var _yt_player={};(function(g){var window=this;var ba,ea,ka,ia,la,qa,ra,wa,caa,daa,Ia,Ja,La,E,Na,Oa,maa,naa,Pa,Qa,Ra,Sa,oaa,Xa,ab,bb,cb,qaa,db,raa,jb,pb,tb,wb,zb,Db,Ab,Fb,saa,Bb,taa,Hb,Jb,Nb,Qb,uaa,Xb,Sb,Yb,Zb,bc,cc,ec,ic,kc,jc,lc,mc,nc,oc,waa,pc,uc,vc,wc,xc,yc,Ac,Bc,Cc,Ec,Fc,Ic,Jc,Hc,Lc,Mc,Eaa,Tc,Faa,Sc,Vc,Wc,Zc,bd,Laa,Maa,ed,ud,yd,zd,Bd,Id,Od,Sd,Ud,Vd,Wd,Oaa,id,Saa,je,ke,ie,ee,ne,pe,me,qe,re,se,te,ue,ve,we,Ae,ze,Be,Ce,Uaa,De,Taa,Ee,Vaa,Fe,Ie,He,Je,Ke,Oe,Le,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ge,Ze,df,ff,gf,aba,kf,lf,nf,of,mf,tf,bba,qf,wf,Df,Cf,dba,
sf,Gf,Hf,If,Jf,eba,Lf,Nf,fba,Of,Pf,gba,Vf,Wf,Xf,$f,bg,cg,dg,fg,hba,jba,kba,lg,ig,jg,Yf,eg,mba,og,mg,ng,qg,lba,pg,iba,tg,wg,nba,oba,pba,qba,zg,Bg,Dg,Eg,Kg,Lg,Mg,Ng,Pg,Rg,Tg,Vg,Wg,Yg,$g,uba,gh,hh,ih,jh,lh,mh,nh,rh,wh,xh,Bh,uh,vba,Lh,Mh,Nh,wba,xba,Ph,Qh,Rh,Sh,Th,Uh,Vh,Wh,Xh,Yh,yba,zba,Aba,$h,ai,bi,ci,di,fi,ji,li,mi,ni,Dba,oi,Eba,pi,ri,qi,si,ti,vi,ui,wi,xi,yi,Fba,zi,Ai,Ci,Di,Ei,Gi,Ii,Fi,Ki,Ji,Li,Mi,Ni,Oi,Pi,Si,Ti,Ui,Zi,bj,cj,Jba,Iba,dj,ej,fj,gj,Lba,Kba,hj,ij,jj,oj,pj,tj,uj,Nba,vj,Oba,wj,xj,yj,zj,Aj,Bj,
Cj,Dj,Ej,Fj,Gj,Hj,Pba,Jj,Uba,Mj,Rba,Sba,Qba,Tba,Nj,Qj,Wba,Pj,Ij,Kj,Xba,Rj,Yba,Zba,$ba,eca,Uj,fca,Vj,Wj,Xj,Zj,ak,gca,ica,ck,hca,jca,dk,kca,lca,bk,ek,mca,pca,oca,qca,fk,gk,hk,rca,ik,jk,kk,sca,mk,lk,nk,uca,ok,pk,qk,rk,vca,wca,tk,vk,uk,wk,xk,yk,Ak,yca,Ek,xca,Fk,Dk,Ck,Bca,Ik,Gk,Bk,Cca,Kk,Jk,zca,Dca,Eca,Lk,Aca,Fca,Gca,Mk,Hca,Nk,Pk,Qk,Ok,Rk,Ica,Jca,Kca,Rca,Sk,Nca,Mca,Lca,Oca,Pca,Qca,Uk,Tk,$k,al,bl,Sca,cl,Tca,dl,Uca,Xk,hl,gl,Vca,jl,kl,ml,$ca,Wca,ql,rl,tl,sl,ul,vl,wl,bda,cda,dda,fda,eda,xl,yl,gda,Al,lda,Bl,
El,zl,Gl,Hl,nda,oda,Il,Kl,Ml,pda,Ol,Ql,Rl,Pl,Sl,Tl,qda,Vl,Zl,em,fm,tda,$l,bm,uda,im,jm,hm,lm,dm,km,rda,om,nm,rm,qm,sm,tm,vda,um,xm,ym,zm,Am,Bm,xda,yda,Dm,zda,Em,Fm,Cm,Ada,Gm,Hm,Im,Jm,Km,Bda,Dda,Om,Pm,Eda,Fda,Lm,Cda,Mm,Rm,Sm,Qm,Hda,Um,Tm,Jda,Wm,Vm,Xm,Ym,$m,an,Zm,cn,Mda,dn,fn,gn,hn,jn,en,kn,ln,mn,pn,qn,tn,wn,rn,yn,An,Bn,Cn,Dn,En,Fn,Gn,Hn,In,Ln,Nn,Mn,On,Pn,Qn,Tn,Nda,Sn,Vn,Un,Wn,Xn,ao,bo,co,eo,Oda,Pda,fo,io,ko,jo,Uda,mo,ho,no,Vda,po,oo,Wda,qo,so,uo,to,vo,wo,xo,Xda,Yda,yo,zo,Ao,Bo,Co,Do,Go,Ho,Io,Jo,Ko,
Lo,Mo,No,Oo,Po,Q,So,Vo,Wo,Zda,R,$o,cea,bp,hp,ip,kp,Zo,gp,ep,iea,jea,kea,lea,lp,mp,np,op,qp,rp,pp,mea,up,vp,wp,xp,yp,zp,Ap,Bp,Dp,Cp,Fp,Gp,nea,oea,Hp,Kp,Ip,Jp,Lp,Mp,qea,rea,Np,Op,sea,Pp,Xp,uea,Zp,$p,aq,bq,cq,wea,dq,jq,kq,eq,lq,mq,Aea,fq,zea,gq,hq,iq,yea,rq,sq,tq,xq,Fea,Gea,yq,Iea,Jea,Aq,Mea,Cq,Hea,Dq,Eq,Fq,Gq,Nea,Hq,Iq,Jq,Oea,Lq,Mq,Nq,Oq,Pea,Pq,Qea,Kq,Qq,Rq,Sq,Rea,Sea,Tea,Uea,Tq,Vea,Wq,$q,cr,dr,tp,sp,Wea,Xea,Yea,er,Zea,fr,$ea,afa,bfa,cfa,dfa,efa,ffa,gfa,hfa,gr,hr,jr,ir,kr,ifa,jfa,kfa,lfa,nr,nfa,pr,
sr,pfa,vr,xr,ur,yr,zr,Ar,Br,Cr,Dr,Er,Fr,Gr,Hr,Kr,Ir,tfa,ufa,Or,xfa,Nr,Mr,Pr,Qr,Rr,Sr,Ur,oq,yfa,ds,es,fs,gs,Vr,Cfa,hs,is,qq,ls,ns,Dea,os,ps,qs,nq,Eea,ms,rs,ts,us,vs,ws,xs,ys,Ffa,Gfa,Efa,Hfa,ks,Ifa,Gs,Kfa,Hs,Tr,Is,Js,Ks,Ls,Lfa,Ms,Zr,js,Fs,Ns,Os,Ps,Es,pq,Yr,Rs,cs,Ss,Ts,Wr,$r,Ds,Dfa,Us,bs,Vs,Ws,Nfa,Xs,Ofa,Ys,Zs,$s,bt,ct,dt,Rfa,et,ft,gt,ht,it,jt,kt,lt,mt,nt,ot,pt,qt,rt,tt,vt,Ufa,Wfa,Yfa,ut,Zfa,$fa,aga,wt,zt,xt,At,Bt,cga,ega,fga,Dt,Et,gga,Mt,Lt,Nt,Ot,hga,Tt,Ut,Wt,Vt,Xt,Yt,Zt,$t,au,iga,fu,bu,eu,iu,ju,ku,
lu,gu,ou,pu,hu,ru,kga,tu,uu,vu,wu,xu,qu,lga,yu,mga,zu,Au,Bu,nga,Cu,Du,oga,Eu,Fu,Gu,Hu,Iu,Ju,pga,Lu,Mu,qga,Ou,Pu,rga,Tu,Uu,Vu,Wu,Xu,Yu,Zu,sga,$u,av,bv,dv,cv,tga,ev,fv,gv,hv,uga,iv,jv,wga,vga,kv,lv,mv,nv,ov,pv,qv,or,rv,tv,uv,vv,wv,xv,yv,zv,Av,Bv,As,Uq,br,zs,Cs,Hv,qr,ar,Gv,Yq,Vq,Xq,Zq,Jv,rr,Fv,Bs,Mv,Nv,Pv,xga,Qv,Rv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,aw,bw,yga,cw,dw,ew,fw,gw,hw,zga,iw,jw,kw,lw,mw,nw,pw,qw,Bga,rw,Cga,Aga,Ega,tw,Fga,vw,ow,Dga,Jga,Iga,Hga,uw,ww,xw,yw,Aw,Bw,Cw,Dw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Mw,Nw,Sw,Lw,
Tw,Uw,Kga,Lga,Xw,Vw,ax,Ww,bx,Zw,cx,$w,Nga,Oga,dx,ex,fx,Pga,ix,jx,hx,kx,Sga,lx,Tga,Uga,mx,nx,ox,qx,Vga,px,tx,rx,Wga,Xga,Yga,ux,vx,wx,xx,yx,zx,Ax,Bx,Cx,Ex,Fx,Dx,Gx,Hx,Ix,Jx,bha,aha,Lx,Kx,Ox,cha,Px,Qx,dha,$ga,Rx,Ux,fha,eha,Vx,Tx,Yx,hha,Zx,iha,$x,Wx,ay,by,cy,kha,lha,dy,ey,mha,fy,Nx,nha,gy,hy,Mx,oha,iy,jy,ky,ly,pha,my,ny,oy,qy,ry,py,sha,qha,ty,wy,yy,vy,uy,sy,zy,By,Cy,Ey,Gy,Dy,Hy,Iy,vha,Ky,Jy,Ly,wha,xha,yha,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,zha,Uy,Bha,$y,Vy,Wy,Xy,gz,az,cz,bz,jz,ez,dz,hz,fz,Dha,Zy,Yy,Eha,kz,Aha,lz,
mz,nz,Gha,oz,rz,sz,uz,tz,vz,wz,xz,Iha,Hha,Jha,zz,Kha,Lha,Az,Bz,yz,Mha,Cz,Dz,Nha,Ez,Oha,Pha,Qha,Rha,Fz,Gz,Hz,Jz,Kz,Lz,Iz,Nz,Sha,Tha,Mz,Oz,Pz,Qz,Rz,Sz,Uha,Tz,Wz,Yz,Xz,Zz,$z,aA,cA,bA,eA,dA,fA,Vha,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,vA,wA,uA,xA,yA,zA,Wha,AA,Xha,DA,EA,BA,CA,GA,KA,HA,IA,FA,JA,Yha,LA,MA,NA,OA,QA,PA,Zha,SA,RA,aia,bia,$ha,TA,cia,dia,eia,fia,UA,hia,iia,jia,zq,XA,YA,ZA,$A,aB,bB,cB,dB,fB,gB,hB,mB,lB,qB,rB,jB,sB,tB,uB,vB,iB,kB,nB,xB,qia,yB,ria,zB,sia,tia,AB,via,BB,CB,DB,EB,FB,wia,GB,xia,yia,HB,zia,
Aia,IB,JB,Bia,Dia,Eia,KB,Fia,MB,OB,Jia,LB,Kia,PB,uia,QB,Mia,Nia,RB,Oia,Pia,TB,WB,Qia,YB,XB,ZB,Ria,Cha,$B,aC,dC,eC,fC,gC,hC,Tia,iC,jC,kC,lC,bC,Via,Wia,oC,Xia,pC,qC,rC,nC,sC,mC,tC,Yia,iz,$ia,Fy,Zia,uC,vC,wC,xC,yC,zC,aja,AC,BC,DC,EC,CC,MC,bja,PC,FC,QC,SC,LC,KC,JC,UC,TC,VC,WC,YC,$C,aD,cja,bD,cD,dD,hD,jD,eD,lD,iD,oD,nD,fD,mD,pD,rD,ZC,kD,qD,tD,sD,gD,XC,RC,HC,vD,dja,zD,AD,BD,CD,eja,FD,GD,KD,PD,QD,SD,TD,UD,VD,WD,YD,$D,bE,aE,cE,XD,ZD,fE,eE,gE,fja,hE,iE,rE,uE,vE,wE,yE,zE,AE,BE,DE,EE,FE,GE,HE,JE,KE,LE,ME,OE,
QE,hja,YE,$E,aF,bF,dF,ija,jja,kja,jF,lja,mja,hF,lF,nF,oF,qF,rF,sF,tF,uF,vF,nja,yF,BF,AF,CF,DF,EF,FF,HF,GF,IF,rja,LF,MF,OF,NF,PF,UF,WF,XF,ZF,sja,$F,aG,bG,uja,iG,jG,kG,mG,rG,wG,uG,yG,xG,zG,yja,AG,OG,PG,NG,ZG,YG,Aja,fH,hH,gH,Bja,Cja,sH,Dja,Eja,uH,tH,vH,Gja,wH,xH,Hja,Ija,zH,Kja,BH,Jja,GH,IH,Mja,JH,LH,QH,Nja,Oja,RH,TH,UH,Pja,YH,$H,Qja,aI,bI,Rja,gI,hI,fI,iI,kI,lI,mI,nI,jI,oI,Sja,rI,sI,Uja,tI,Tja,qI,uI,vI,wI,yI,Vja,xI,zI,AI,BI,CI,EI,FI,yH,GI,HI,II,PI,TI,VI,Wja,WI,Xja,XI,YI,Yja,ZI,bJ,Zja,cJ,$ja,dJ,aka,bka,
cka,dka,aJ,$I,eJ,hJ,iJ,fJ,lJ,kJ,mJ,nJ,oJ,pJ,qJ,rJ,sJ,tJ,uJ,vJ,wJ,xJ,yJ,AJ,CJ,gka,DJ,EJ,FJ,GJ,HJ,IJ,KJ,V,JJ,MJ,LJ,OJ,PJ,QJ,RJ,SJ,hka,TJ,VJ,WJ,XJ,YJ,ika,ZJ,$J,aK,bK,cK,dK,eK,fK,gK,iK,lK,hK,jK,pK,qK,nK,kK,rK,sK,mK,oK,tK,jka,uK,vK,kka,xK,yK,AK,zK,lka,BK,CK,DK,mka,FK,EK,GK,HK,IK,JK,OK,QK,nka,LK,RK,TK,SK,PK,WK,oka,XK,KK,MK,NK,VK,UK,YK,ZK,$K,aL,bL,cL,eL,fL,dL,gL,hL,iL,jL,rka,kL,lL,mL,nL,oL,pL,qL,rL,sL,tL,ska,tka,vL,wL,xL,yL,zL,AL,BL,CL,DL,GL,HL,IL,KL,ML,NL,OL,LL,Eka,PL,QL,RL,SL,Fka,Gka,UL,Hka,WL,VL,YL,ZL,
aM,bM,cM,dM,eM,gM,fM,hM,iM,Ika,jM,kM,lM,mM,nM,Jka,Kka,Oka,Pka,Lka,Mka,Nka,pM,rM,sM,Qka,tM,uM,vM,Ska,Rka,wM,Tka,xM,AM,Vka,BM,CM,Wka,DM,EM,FM,GM,Xka,Yka,HM,yM,Uka,JM,LM,MM,NM,KM,QM,RM,Zka,ala,dla,bla,ela,TM,UM,WM,VM,XM,fla,gla,YM,$M,aN,bN,cN,dN,eN,fN,ZM,gN,hN,hla,kN,lN,jN,oN,nla,wN,vla,vN,uN,mla,pN,DN,EN,FN,KN,JN,LN,MN,NN,ON,PN,QN,RN,TN,VN,jO,kO,mO,nO,oO,pO,qO,sO,tO,uO,dO,iO,gO,zO,Bla,cO,BO,DO,EO,Dla,Ela,Fla,Gla,FO,Hla,VO,WO,XO,YO,aP,cP,bP,dP,fP,ZO,gP,hP,iP,Ila,jP,lP,Kla,oP,wP,xP,Lla,yP,zP,BP,AP,Mla,
Nla,CP,DP,GP,UP,XP,OP,YP,KP,$P,TP,MP,SP,PP,Pla,Qla,bQ,RP,VP,LP,WP,cQ,EP,HP,FP,Wla,Xla,hQ,iQ,dma,jQ,lQ,mQ,pQ,rQ,sQ,vQ,wQ,xQ,nQ,ema,Zla,$la,ama,Yla,AQ,BQ,gma,lO,gQ,bma,DQ,GQ,IQ,JQ,KQ,hma,LQ,MQ,kma,OQ,PQ,QQ,RQ,SQ,TQ,UQ,VQ,WQ,ZQ,lma,$Q,mma,XQ,bR,cR,dR,eR,nma,fR,hR,iR,jR,kR,lR,nR,oR,qR,sR,tR,oma,uR,vR,xR,EQ,zR,CR,BR,DR,ER,FR,GR,HR,qma,IR,AR,JR,KR,rma,MR,LR,NR,OR,PR,QR,RR,UR,VR,TR,SR,WR,XR,YR,ZR,cS,tma,eS,iS,jS,kS,lS,uma,vma,wma,xma,gS,mS,nS,oS,pS,yma,zma,Ama,qS,sS,tS,uS,vS,wS,xS,yS,zS,rS,Bma,Cma,Dma,AS,
BS,CS,DS,ES,FS,GS,IS,JS,KS,LS,HS,MS,NS,OS,PS,QS,RS,SS,TS,US,WS,VS,XS,YS,ZS,$S,aT,Gma,Hma,Ima,Jma,bT,cT,Fma,eT,dT,gT,fT,iT,hT,jT,kT,lT,nT,mT,qT,Kma,tT,uT,vT,pT,wT,xT,oT,yT,zT,AT,BT,sT,rT,CT,DT,Lma,FT,ET,Mma,GT,HT,Nma,Oma,MT,NT,LT,PT,IT,Pma,JT,KT,Qma,OT,Rma,QT,RT,Sma,Tma,TT,ST,Uma,UT,Vma,VT,WT,XT,ZT,Wma,Xma,Yma,$T,aU,eU,fU,gU,iU,jU,mU,lU,$ma,oU,pU,nU,rU,hU,Zma,sU,tU,uU,qU,vU,bU,dU,wU,ana,bna,cna,dna,ena,xU,yU,zU,AU,BU,CU,fna,gna,DU,FU,EU,GU,ina,HU,jna,kna,IU,KU,LU,NU,MU,lna,mna,OU,nna,PU,QU,RU,SU,pna,
ona,TU,qna,UU,YQ,aR,VU,WU,XU,YU,aV,bV,iV,rna,dV,kV,mV,oV,nV,ZU,fV,vV,tV,uV,tna,pV,BV,AV,zV,GV,IV,JV,KV,wV,LV,xV,eV,HV,wna,CV,NV,sV,OV,yV,qV,$U,RV,xna,SV,gV,una,TV,QV,hV,UV,rV,vna,FV,yna,cV,PV,VV,EV,DV,XV,YV,aW,hW,qW,CW,zna,FW,GW,IW,JW,LW,MW,OW,PW,RW,UW,WW,Bna,YW,$W,aX,cX,dX,eX,fX,kX,pX,qX,Cna,rX,sX,tX,uX,vX,wX,AX,Fna,Gna,Dna,Ena,Hna,CX,DX,EX,HX,IX,KX,OX,NX,MX,QX,Ina,RX,Jna,SX,Nna,TX,UX,VX,Ona,Pna,WX,Qna,XX,$X,ZX,YX,aY,bY,cY,dY,Sna,eY,gY,iY,kY,lY,Rna,Una,Vna,Wna,mY,nY,oY,pY,qY,rY,sY,Xna,Yna,tY,uY,
Zna,vY,wY,xY,$na,yY,boa,aoa,coa,AY,doa,CY,BY,goa,eoa,DY,FY,hoa,GY,ioa,HY,IY,joa,koa,loa,MY,NY,OY,moa,PY,RY,noa,JY,QY,LY,KY,VY,WY,ooa,SY,poa,UY,qoa,roa,soa,uoa,toa,zoa,woa,yoa,XY,YY,Aoa,Boa,ZY,$Y,aZ,Coa,bZ,dZ,cZ,eZ,Eoa,Doa,Foa,Goa,Hoa,Ioa,hZ,iZ,jZ,Joa,Koa,kZ,Moa,lZ,Loa,mZ,Noa,nZ,oZ,Ooa,Poa,Roa,Qoa,Soa,pZ,qZ,Toa,Uoa,Voa,Woa,Yoa,sZ,tZ,uZ,rZ,Xoa,vZ,xZ,yX,xX,TY,yZ,zZ,$oa,AZ,BZ,bpa,zX,cpa,FZ,fZ,dpa,DZ,Tna,jY,IZ,wZ,LX,JZ,KZ,LZ,hpa,MZ,ipa,kpa,jpa,lpa,mpa,OZ,SZ,hY,NZ,TZ,npa,UZ,ppa,opa,VZ,XZ,qpa,YZ,rpa,ZZ,
$Z,tpa,upa,spa,a_,wpa,c_,d_,e_,f_,g_,i_,j_,l_,m_,xpa,ypa,k_,n_,p_,o_,q_,zpa,Apa,s_,r_,t_,Bpa,u_,v_,Cpa,w_,x_,Dpa,y_,A_,z_,C_,Epa,G_,Fpa,Ipa,L_,K_,Jpa,O_,P_,Q_,R_,S_,T_,U_,Lpa,Kpa,Mpa,V_,Npa,Opa,W_,Qpa,Y_,Ppa,$_,Rpa,a0,Spa,Z_,b0,c0,Tpa,d0,e0,f0,Upa,Vpa,g0,h0,i0,j0,Wpa,k0,m0,l0,n0,Xpa,o0,p0,q0,Ypa,aqa,r0,Zpa,$pa,s0,cqa,dqa,eqa,u0,v0,iqa,hqa,x0,jqa,kqa,lqa,w0,y0,oqa,mqa,qqa,C0,rqa,A0,D0,z0,E0,B0,nqa,sqa,tqa,pqa,F0,I0,J0,K0,uqa,L0,M0,N0,O0,vqa,P0,wqa,Q0,R0,S0,T0,U0,V0,W0,X0,Y0,Z0,a1,$0,b1,c1,d1,xqa,yqa,
e1,g1,zqa,Bqa,Aqa,h1,j1,B_,Dqa,Cqa,i1,Eqa,t0,Gqa,l1,Iqa,k1,m1,n1,Fqa,o1,p1,q1,Kqa,Jqa,Pqa,u1,v1,CZ,r1,w1,apa,fY,Qqa,Rqa,x1,Sqa,z1,Mqa,Nqa,Tqa,C1,s1,Vqa,G1,Oqa,H1,cW,Xqa,Yqa,B1,A1,J1,$qa,F1,HZ,L1,ara,Uqa,K1,N1,P1,O1,Q1,T1,bra,I1,Zqa,dra,rW,epa,NJ,era,E1,fra,V1,tW,EZ,GZ,gra,M1,hra,jra,W1,kra,Lqa,Wqa,aa,ha,fa,aaa,na,X1,Yw,Da,baa;ba=function(a){return function(){return aa[a].apply(this,arguments)}};
g.ca=function(a,b){return aa[a]=b};
ea=function(){ea=function(){};
fa.Symbol||(fa.Symbol=aaa)};
ka=function(){ea();var a=fa.Symbol.iterator;a||(a=fa.Symbol.iterator=fa.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&ha(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(this)}});
ka=function(){}};
ia=function(a){var b=0;return la(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};
la=function(a){ka();a={next:a};a[fa.Symbol.iterator]=function(){return this};
return a};
g.ma=function(a){ka();var b=a[window.Symbol.iterator];return b?b.call(a):ia(a)};
g.p=function(a,b){a.prototype=na(b.prototype);a.prototype.constructor=a;if(oa)oa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Z=b.prototype};
g.pa=function(a){if(!(a instanceof Array)){a=g.ma(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
qa=function(a,b){if(b){for(var c=fa,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&ha(c,d,{configurable:!0,writable:!0,value:f})}};
ra=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.t=function(a){return void 0!==a};
g.u=function(a){return"string"==typeof a};
g.sa=function(a){return"boolean"==typeof a};
g.ta=function(a){return"number"==typeof a};
g.ua=function(a,b,c){a=a.split(".");c=c||g.v;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.x=function(a,b){for(var c=a.split("."),d=b||g.v,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d};
g.y=function(){};
g.va=function(a){a.dd=void 0;a.getInstance=function(){return a.dd?a.dd:a.dd=new a}};
wa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};
g.xa=function(a){return"array"==wa(a)};
g.ya=function(a){var b=wa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.za=function(a){return"function"==wa(a)};
g.Aa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Fa=function(a){return a[Da]||(a[Da]=++baa)};
caa=function(a,b,c){return a.call.apply(a.bind,arguments)};
daa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};
g.A=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.A=caa:g.A=daa;return g.A.apply(null,arguments)};
g.Ga=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.Ha=function(a,b){for(var c in b)a[c]=b[c]};
Ia=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return null!=b&&d in b?b[d]:a}));
return a};
g.D=function(a,b){function c(){}
c.prototype=b.prototype;a.Z=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.l3=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)}};
Ja=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ja);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
g.Ka=function(a,b){return 0==a.lastIndexOf(b,0)};
La=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
E=function(a){return/^[\s\xa0]*$/.test(a)};
g.Ma=function(a){return(0,window.encodeURIComponent)(String(a))};
Na=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))};
Oa=function(a){if(!eaa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(faa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(gaa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(haa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(iaa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(jaa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(kaa,"&#0;"));return a};
maa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=g.v.document.createElement("div");return a.replace(laa,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})};
naa=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}})};
Pa=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
Qa=function(a,b){return-1!=a.indexOf(b)};
Ra=function(a,b){return Qa(a.toLowerCase(),b.toLowerCase())};
Sa=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};
g.Ua=function(a,b,c){a=g.t(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return Ta("0",Math.max(0,b-c))+a};
g.F=function(a){return null==a?"":String(a)};
oaa=function(a){return Array.prototype.join.call(arguments,"")};
g.Va=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.G)()).toString(36)};
g.Ya=function(a,b){for(var c=0,d=Wa(String(a)).split("."),e=Wa(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=Xa(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||Xa(0==l[2].length,0==m[2].length)||Xa(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
Xa=function(a,b){return a<b?-1:a>b?1:0};
g.$a=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
ab=function(){return"goog_"+paa++};
bb=function(a){var b=Number(a);return 0==b&&E(a)?window.NaN:b};
cb=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};
qaa=function(a){var b=g.u(void 0)?Sa(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};
db=function(a){(0,window.isFinite)(a)&&(a=String(a));return g.u(a)?/^\s*-?0x/i.test(a)?(0,window.parseInt)(a,16):(0,window.parseInt)(a,10):window.NaN};
g.eb=function(a){return a[a.length-1]};
raa=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.gb=function(a,b,c){b=g.fb(a,b,c);return 0>b?null:g.u(a)?a.charAt(b):a[b]};
g.fb=function(a,b,c){for(var d=a.length,e=g.u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
jb=function(a,b){var c=g.ib(a,b,void 0);return 0>c?null:g.u(a)?a.charAt(c):a[c]};
g.ib=function(a,b,c){for(var d=g.u(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.lb=function(a,b){return 0<=(0,g.kb)(a,b)};
g.nb=function(a){return 0==a.length};
pb=function(a){if(!g.xa(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.qb=function(a,b){g.lb(a,b)||a.push(b)};
g.sb=function(a,b){var c=(0,g.kb)(a,b),d;(d=0<=c)&&g.rb(a,c);return d};
g.rb=function(a,b){Array.prototype.splice.call(a,b,1)};
tb=function(a,b){var c=g.fb(a,b,void 0);0<=c&&g.rb(a,c)};
g.ub=function(a){return Array.prototype.concat.apply([],arguments)};
g.vb=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[]};
wb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.ya(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}};
g.yb=function(a,b,c,d){Array.prototype.splice.apply(a,g.xb(arguments,1))};
g.xb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
zb=function(a,b,c){function d(a){return g.Aa(a)?"o"+g.Fa(a):(typeof a).charAt(0)+a}
b=b||a;c=c||d;for(var e={},f=0,k=0;k<a.length;){var l=a[k++],m=c(l);Object.prototype.hasOwnProperty.call(e,m)||(e[m]=!0,b[f++]=l)}b.length=f};
g.Cb=function(a,b,c){return Ab(a,c||Bb,!1,b)};
Db=function(a,b){return Ab(a,b,!0,void 0,void 0)};
Ab=function(a,b,c,d,e){for(var f=0,k=a.length,l;f<k;){var m=f+k>>1,n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0<n?f=m+1:(k=m,l=!n)}return l?f:~f};
g.Eb=function(a,b){a.sort(b||Bb)};
Fb=function(a,b,c){var d=c||Bb;g.Eb(a,function(a,c){return d(b(a),b(c))})};
saa=function(a,b){Fb(a,function(a){return a[b]},void 0)};
g.Gb=function(a,b){if(!g.ya(a)||!g.ya(b)||a.length!=b.length)return!1;for(var c=a.length,d=taa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
Bb=function(a,b){return a>b?1:a<b?-1:0};
taa=function(a,b){return a===b};
Hb=function(a,b,c){c=g.Cb(a,b,c);0>c&&g.yb(a,-(c+1),0,b)};
g.Ib=function(a,b,c){var d={};(0,g.H)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
Jb=function(a){for(var b=[],c=0;c<a;c++)b[c]=0;return b};
g.Kb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(g.xa(d))for(var e=0;e<d.length;e+=8192){var f=g.xb(d,e,e+8192);f=g.Kb.apply(null,f);for(var k=0;k<f.length;k++)b.push(f[k])}else b.push(d)}return b};
Nb=function(a){return Qa(g.Lb,a)};
g.Ob=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Pb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
Qb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.Rb=function(a){var b=0,c;for(c in a)b++;return b};
uaa=function(a,b){return Sb(a,b)};
g.Tb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Ub=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Wb=function(a,b){var c=g.ya(b),d=c?b:arguments;for(c=c?0:1;c<d.length&&(a=a[d[c]],g.t(a));c++);return a};
Xb=function(a,b){return null!==a&&b in a};
Sb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Yb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
Zb=function(a,b){var c=Yb(a,b,void 0);return c&&a[c]};
g.$b=function(a){for(var b in a)return!1;return!0};
bc=function(a,b){b in a&&delete a[b]};
cc=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.dc=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
ec=function(a){var b=wa(a);if("object"==b||"array"==b){if(g.za(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=ec(a[c]);return b}return a};
g.gc=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<fc.length;f++)c=fc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
g.hc=function(a){var b=arguments.length;if(1==b&&g.xa(arguments[0]))return g.hc.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c};
ic=function(a){var b=arguments.length;if(1==b&&g.xa(arguments[0]))return ic.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};
kc=function(){return Nb("Safari")&&!(jc()||Nb("Coast")||Nb("Opera")||Nb("Edge")||Nb("Silk")||Nb("Android"))};
jc=function(){return(Nb("Chrome")||Nb("CriOS"))&&!Nb("Edge")};
lc=function(){return Nb("iPhone")&&!Nb("iPod")&&!Nb("iPad")};
mc=function(){return lc()||Nb("iPad")||Nb("iPod")};
nc=function(a){nc[" "](a);return a};
oc=function(a,b){try{return nc(a[b]),!0}catch(c){}return!1};
waa=function(a,b){var c=vaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
pc=function(){var a=g.v.document;return a?a.documentMode:void 0};
g.rc=function(a){return waa(a,function(){return 0<=g.Ya(qc,a)})};
g.sc=function(a){return Number(xaa)>=a};
uc=function(){this.g="";this.o=tc};
vc=function(a){return a instanceof uc&&a.constructor===uc&&a.o===tc?a.g:"type_error:Const"};
wc=function(a){var b=new uc;b.g=a;return b};
xc=function(a,b){return b?a.replace(yaa,""):a};
yc=function(a,b){for(var c=0,d=0,e=!1,f=xc(a,b).split(zaa),k=0;k<f.length;k++){var l=f[k];Aaa.test(xc(l,void 0))?(c++,d++):Baa.test(l)?e=!0:Caa.test(xc(l,void 0))?d++:Daa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
Ac=function(){this.g="";this.o=zc};
Bc=function(a){if(a instanceof Ac&&a.constructor===Ac&&a.o===zc)return a.g;wa(a);return"type_error:TrustedResourceUrl"};
Cc=function(a){var b=new Ac;b.g=a;return b};
Ec=function(){this.g="";this.o=Dc};
Fc=function(a){if(a instanceof Ec&&a.constructor===Ec&&a.o===Dc)return a.g;wa(a);return"type_error:SafeUrl"};
Ic=function(a){if(a instanceof Ec)return a;a=a.Ag?a.Ze():String(a);Gc.test(a)||(a="about:invalid#zClosurez");return Hc(a)};
Jc=function(a){if(a instanceof Ec)return a;a=a.Ag?a.Ze():String(a);Gc.test(a)||(a="about:invalid#zClosurez");return Hc(a)};
Hc=function(a){var b=new Ec;b.g=a;return b};
Lc=function(){this.g="";this.o=Kc};
Mc=function(a){var b=new Lc;b.g=a;return b};
Eaa=function(a){return a.replace(Nc,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});
a=Ic(d).Ze();return c+b+a+b+e})};
g.Pc=function(){this.g="";this.A=Oc;this.o=null};
g.Rc=function(a){if(a instanceof g.Pc&&a.constructor===g.Pc&&a.A===Oc)return a.g;wa(a);return"type_error:SafeHtml"};
Tc=function(a){if(a instanceof g.Pc)return a;var b=null;a.Wr&&(b=a.ij());a=Oa(a.Ag?a.Ze():String(a));return Sc(a,b)};
Faa=function(a){function b(a){g.xa(a)?(0,g.H)(a,b):(a=Tc(a),d+=g.Rc(a),a=a.ij(),0==c?c=a:0!=a&&c!=a&&(c=null))}
var c=0,d="";(0,g.H)(arguments,b);return Sc(d,c)};
Sc=function(a,b){var c=new g.Pc;c.g=a;c.o=b;return c};
Vc=function(a,b,c){var d=null,e="";if(b)for(B in b){if(!Uc.test(B))throw Error('Invalid attribute name "'+B+'".');var f=b[B];if(null!=f){var k=a;var l=B;var m=f;if(m instanceof uc)m=vc(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.Aa(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Lc)){m="";for(f in k){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var n=k[f];
if(null!=n){if(n instanceof uc)n=vc(n);else{n=String(n);var q=n.replace(Gaa,"$1").replace(Nc,"url");if(Haa.test(q)){for(var r=q=!0,w=0;w<n.length;w++){var z=n.charAt(w);"'"==z&&r?q=!q:'"'==z&&q&&(r=!r)}n=q&&r?Eaa(n):"zClosurez"}else n="zClosurez"}m+=f+":"+n+";"}}k=m?Mc(m):Iaa}k instanceof Lc&&k.constructor===Lc&&k.o===Kc?f=k.g:(wa(k),f="type_error:SafeStyle");m=f}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in Jaa)if(m instanceof
Ac)m=Bc(m);else if(m instanceof Ec)m=Fc(m);else if(g.u(m))m=Ic(m).Ze();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+m+'" given.');}m.Ag&&(m=m.Ze());l=l+'="'+Oa(String(m))+'"';e+=" "+l}}var B="<"+a+e;null!=c?g.xa(c)||(c=[c]):c=[];!0===Kaa[a.toLowerCase()]?B+=">":(d=Faa(c),B+=">"+g.Rc(d)+"</"+a+">",d=d.ij());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Sc(B,d)};
Wc=function(a,b,c){var d={},e;for(e in a)d[e]=a[e];for(e in b)d[e]=b[e];for(e in c){var f=e.toLowerCase();if(f in a)throw Error('Cannot override "'+f+'" attribute, got "'+e+'" with value "'+c[e]+'"');f in b&&delete d[f];d[e]=c[e]}return d};
g.Xc=function(a,b){var c=b instanceof Ec?b:Jc(b);a.href=Fc(c)};
g.Yc=function(a,b){a.src=Bc(b)};
Zc=function(a,b){vc(a);vc(a);return Sc(b,null)};
g.$c=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.ad=function(a,b){var c=a%b;return 0>c*b?c+b:c};
bd=function(a,b,c){return a+c*(b-a)};
Laa=function(a){return cd(arguments,function(a,c){return a+c},0)};
Maa=function(a){return Laa.apply(null,arguments)/arguments.length};
g.dd=function(a,b){this.x=g.t(a)?a:0;this.y=g.t(b)?b:0};
ed=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.fd=function(a,b){return new g.dd(a.x-b.x,a.y-b.y)};
g.gd=function(a,b){this.width=a;this.height=b};
g.hd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
g.ld=function(a){return a?new id(g.jd(a)):kd||(kd=new id)};
g.md=function(a){return g.u(a)?window.document.getElementById(a):a};
g.pd=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.od(window.document,"*",a,b)};
g.I=function(a,b){var c=b||window.document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=window.document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(""+(a?"."+a:"")):g.od(c,"*",a,b)[0]||null}return c||null};
g.od=function(a,b,c,d){a=d||a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))return a.querySelectorAll(e+(c?"."+c:""));if(c&&a.getElementsByClassName){d=a.getElementsByClassName(c);if(e){a={};for(var f=b=0,k;k=d[f];f++)e==k.nodeName&&(a[b++]=k);a.length=b;return a}return d}d=a.getElementsByTagName(e||"*");if(c){a={};for(f=b=0;k=d[f];f++)e=k.className,"function"==typeof e.split&&g.lb(e.split(/\s+/),c)&&(a[b++]=k);a.length=b;return a}return d};
g.rd=function(a,b){g.Ob(b,function(b,d){b&&b.Ag&&(b=b.Ze());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:qd.hasOwnProperty(d)?a.setAttribute(qd[d],b):g.Ka(d,"aria-")||g.Ka(d,"data-")?a.setAttribute(d,b):a[d]=b})};
g.td=function(a){a=a.document;a=g.sd(a)?a.documentElement:a.body;return new g.gd(a.clientWidth,a.clientHeight)};
g.wd=function(a){var b=ud(a);a=a.parentWindow||a.defaultView;return g.vd&&g.rc("10")&&a.pageYOffset!=b.scrollTop?new g.dd(b.scrollLeft,b.scrollTop):new g.dd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
ud=function(a){return a.scrollingElement?a.scrollingElement:!g.xd&&g.sd(a)?a.documentElement:a.body||a.documentElement};
yd=function(a){return a?a.parentWindow||a.defaultView:window};
g.Ad=function(a,b,c){return zd(window.document,arguments)};
zd=function(a,b){var c=String(b[0]),d=b[1];if(!Naa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Oa(d.name),'"');if(d.type){c.push(' type="',Oa(d.type),'"');var e={};g.gc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.u(d)?c.className=d:g.xa(d)?c.className=d.join(" "):g.rd(c,d));2<b.length&&Bd(a,c,b,2);return c};
Bd=function(a,b,c,d){function e(c){c&&b.appendChild(g.u(c)?a.createTextNode(c):c)}
for(;d<c.length;d++){var f=c[d];!g.ya(f)||g.Aa(f)&&0<f.nodeType?e(f):(0,g.H)(Oaa(f)?g.vb(f):f,e)}};
g.Cd=function(a){return window.document.createElement(String(a))};
g.Dd=function(a){return window.document.createTextNode(String(a))};
g.sd=function(a){return"CSS1Compat"==a.compatMode};
g.Ed=function(a,b){a.appendChild(b)};
g.Fd=function(a,b){Bd(g.jd(a),a,arguments,1)};
g.Gd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
g.Hd=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};
Id=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.Jd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.Kd=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};
g.Nd=function(a){return Paa&&void 0!=a.children?a.children:(0,g.Ld)(a.childNodes,function(a){return 1==a.nodeType})};
g.Pd=function(a){return g.t(a.firstElementChild)?a.firstElementChild:Od(a.firstChild)};
Od=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.Qd=function(a){var b;if(Qaa&&!(g.vd&&g.rc("9")&&!g.rc("10")&&g.v.SVGElement&&a instanceof g.v.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Aa(b)&&1==b.nodeType?b:null};
g.Rd=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.jd=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
Sd=function(a){try{return a.contentWindow||(a.contentDocument?yd(a.contentDocument):null)}catch(b){}return null};
g.Td=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else{g.Gd(a);var c=g.jd(a);a.appendChild(c.createTextNode(String(b)))}};
Ud=function(a){if("outerHTML"in a)return a.outerHTML;var b=g.jd(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
g.Xd=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Vd(a)||Wd(a)):Vd(a)&&Wd(a))&&g.vd){var c;!g.za(a.getBoundingClientRect)||g.vd&&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};
Vd=function(a){return g.vd&&!g.rc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Wd=function(a){a=a.tabIndex;return g.ta(a)&&0<=a&&32768>a};
Oaa=function(a){if(a&&"number"==typeof a.length){if(g.Aa(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.za(a))return"function"==typeof a.item}return!1};
g.Zd=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.Yd(a,function(a){return(!e||a.nodeName==e)&&(!c||g.u(a.className)&&g.lb(a.className.split(/\s+/),c))},!0,d)};
g.$d=function(a,b){return g.Zd(a,null,b,void 0)};
g.Yd=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.ae=function(){var a=window.document;try{return a&&a.activeElement}catch(b){}return null};
id=function(a){this.g=a||g.v.document||window.document};
g.be=function(a){a=a.g;return a.parentWindow||a.defaultView};
g.ce=function(a){Raa();return Cc(a)};
g.de=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
Saa=function(a){return(0,g.J)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};
g.he=function(a,b){g.ya(a);ee();for(var c=b?fe:ge,d=[],e=0;e<a.length;e+=3){var f=a[e],k=e+1<a.length,l=k?a[e+1]:0,m=e+2<a.length,n=m?a[e+2]:0,q=f>>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[q],c[f],c[l],c[n])}return d.join("")};
je=function(a){var b=[];ie(a,function(a){b.push(a)});
return b};
ke=function(a){!g.vd||g.rc("10");var b=new window.Uint8Array(Math.ceil(3*a.length/4)),c=0;ie(a,function(a){b[c++]=a});
return b.subarray(0,c)};
ie=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=le[c];if(null!=e)return e;if(!E(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
ee();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))}};
ee=function(){if(!ge){ge={};le={};fe={};for(var a=0;65>a;a++)ge[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),le[ge[a]]=a,fe[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(le["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
ne=function(a,b,c){this.o=null;this.D=this.F=this.g=this.A=this.B=0;this.C=!1;a&&me(this,a,b,c)};
pe=function(a,b,c){if(oe.length){var d=oe.pop();a&&me(d,a,b,c);return d}return new ne(a,b,c)};
me=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?ke(b):new window.Uint8Array(0);a.o=b;a.B=g.t(c)?c:0;a.A=g.t(d)?a.B+d:a.o.length;a.g=a.B};
qe=function(a){var b=a.o;var c=b[a.g+0];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128>c)return a.g+=5,d>>>0;a.g+=10;return d};
re=function(a,b,c){this.g=pe(a,b,c);this.o=this.A=-1;this.B=!1};
se=function(a){var b=a.g;if(b.g==b.A||a.getError())return!1;b=qe(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.B=!0,!1;a.A=b>>>3;a.o=c;return!0};
te=function(a){switch(a.o){case 0:if(0!=a.o)te(a);else{for(a=a.g;a.o[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.o?te(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.o)te(a);else{var b=qe(a.g);a=a.g;a.g+=b}break;case 5:5!=a.o?te(a):(a=a.g,a.g+=4);break;case 3:b=[a.A];do{if(!se(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)}};
ue=function(a){var b=qe(a.g);a=a.g;var c=a.o,d=a.g;b=d+b;for(var e=[],f="";d<b;){var k=c[d++];if(128>k)e.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];e.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];e.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];m=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;m-=65536;e.push((m>>10&1023)+55296,(m&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};
ve=function(a){var b=qe(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};
we=function(){};
Ae=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.xa(e)&&!(xe&&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]||ye):(ze(a),a.A[e]=a.A[e]||ye);d&&d.length&&(0,g.H)(d,g.Ga(Taa,a))};
ze=function(a){var b=a.C+a.B;a.o[b]||(a.A=a.o[b]={})};
Be=function(a,b){if(b<a.C){var c=b+a.B;var d=a.o[c];return d===ye?a.o[c]=[]:d}if(a.A)return d=a.A[b],d===ye?a.A[b]=[]:d};
Ce=function(a,b){if(b<a.C){var c=b+a.B;var d=a.o[c];return d===ye?a.o[c]=[]:d}d=a.A[b];return d===ye?a.A[b]=[]:d};
Uaa=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.u(a))return ke(a);wa(a);return null};
De=function(a,b,c){b<a.C?a.o[b+a.B]=c:(ze(a),a.A[b]=c)};
Taa=function(a,b){var c,d;(0,g.H)(b,function(b){var e=Be(a,b);null!=e&&(c=b,d=e,De(a,b,void 0))});
return c?(De(a,c,d),c):0};
Ee=function(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=Be(a,c);d&&(a.g[c]=new b(d))}return a.g[c]};
Vaa=function(a){Fe(a,Ge,1);var b=a.g[1];b==ye&&(b=a.g[1]=[]);return b};
Fe=function(a,b,c){a.g||(a.g={});if(!a.g[c]){for(var d=Ce(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.g[c]=e}};
Ie=function(a){if(a.g)for(var b in a.g){var c=a.g[b];if(g.xa(c))for(var d=0;d<c.length;d++)c[d]&&He(c[d]);else c&&He(c)}};
He=function(a){Ie(a);return a.o};
Je=function(a){var b;if(g.xa(a)){for(var c=Array(a.length),d=0;d<a.length;d++)null!=(b=a[d])&&(c[d]="object"==typeof b?Je(b):b);return c}if(xe&&a instanceof window.Uint8Array)return new window.Uint8Array(a);c={};for(d in a)null!=(b=a[d])&&(c[d]="object"==typeof b?Je(b):b);return c};
Ke=function(a){Ae(this,a,null,null)};
Oe=function(a){return Ee(a,Le,1)};
Le=function(a){Ae(this,a,null,null)};
Pe=function(a){Ae(this,a,null,null)};
Qe=function(a){Ae(this,a,null,Waa)};
Re=function(a){Ae(this,a,null,Xaa)};
Se=function(a){Ae(this,a,null,null)};
Te=function(a){Ae(this,a,null,null)};
Ue=function(a){Ae(this,a,null,null)};
Ve=function(a){Ae(this,a,null,Yaa)};
We=function(a){Ae(this,a,null,null)};
Xe=function(a){Ae(this,a,null,null)};
Ye=function(a){Ae(this,a,Zaa,null)};
Ge=function(a){Ae(this,a,null,null)};
Ze=function(a){for(var b=[],c=a=yd(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.K=function(){this.kb=this.kb;this.Va=this.Va};
g.L=function(a,b){g.$e(a,g.Ga(g.af,b))};
g.$e=function(a,b){a.kb?g.t(void 0)?b.call(void 0):b():(a.Va||(a.Va=[]),a.Va.push(g.t(void 0)?(0,g.A)(b,void 0):b))};
g.af=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.bf=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.ya(d)?g.bf.apply(null,d):g.af(d)}};
g.cf=function(a,b){this.type=a;this.currentTarget=this.target=b;this.o=!1;this.qC=!0};
df=function(a){a.stopPropagation()};
ff=function(a){return g.xd?"webkit"+a:g.ef?"o"+a.toLowerCase():a.toLowerCase()};
gf=function(a,b){g.cf.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.jf=function(a){return!(!a||!a[g.hf])};
aba=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.Mf=e;this.key=++$aa;this.Rj=this.Sm=!1};
kf=function(a){a.Rj=!0;a.listener=null;a.g=null;a.src=null;a.Mf=null};
lf=function(a){this.src=a;this.listeners={};this.g=0};
nf=function(a,b,c,d,e,f){var k=b.toString();b=a.listeners[k];b||(b=a.listeners[k]=[],a.g++);var l=mf(b,c,e,f);-1<l?(a=b[l],d||(a.Sm=!1)):(a=new aba(c,a.src,k,!!e,f),a.Sm=d,b.push(a));return a};
of=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.sb(a.listeners[c],b);d&&(kf(b),0==a.listeners[c].length&&(delete a.listeners[c],a.g--));return d};
g.pf=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,kf(d[e]);delete a.listeners[c];a.g--}};
mf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Rj&&f.listener==b&&f.capture==!!c&&f.Mf==d)return e}return-1};
g.rf=function(a,b,c,d,e){if(d&&d.once)return qf(a,b,c,d,e);if(g.xa(b)){for(var f=0;f<b.length;f++)g.rf(a,b[f],c,d,e);return null}c=sf(c);return g.jf(a)?a.U(b,c,g.Aa(d)?!!d.capture:!!d,e):tf(a,b,c,!1,d,e)};
tf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Aa(e)?!!e.capture:!!e,l=g.uf(a);l||(a[vf]=l=new lf(a));c=nf(l,b,c,d,k,f);if(c.g)return c;d=bba();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)cba||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(wf(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");xf++;return c};
bba=function(){var a=dba,b=yf?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
if(!c)return c};
return b};
qf=function(a,b,c,d,e){if(g.xa(b)){for(var f=0;f<b.length;f++)qf(a,b[f],c,d,e);return null}c=sf(c);return g.jf(a)?a.rh(b,c,g.Aa(d)?!!d.capture:!!d,e):tf(a,b,c,!0,d,e)};
g.zf=function(a,b,c,d,e){if(g.xa(b))for(var f=0;f<b.length;f++)g.zf(a,b[f],c,d,e);else d=g.Aa(d)?!!d.capture:!!d,c=sf(c),g.jf(a)?a.Ca(b,c,d,e):a&&(a=g.uf(a))&&(b=a.Nk(b,c,d,e))&&g.Af(b)};
g.Af=function(a){if(g.ta(a)||!a||a.Rj)return!1;var b=a.src;if(g.jf(b))return of(b.Be,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(wf(c),d);xf--;(c=g.uf(b))?(of(c,a),0==c.g&&(c.src=null,b[vf]=null)):kf(a);return!0};
wf=function(a){return a in Bf?Bf[a]:Bf[a]="on"+a};
Df=function(a,b,c,d){var e=!0;if(a=g.uf(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Rj&&(f=Cf(f,d),e=e&&!1!==f)}return e};
Cf=function(a,b){var c=a.listener,d=a.Mf||a.src;a.Sm&&g.Af(a);return c.call(d,b)};
dba=function(a,b){if(a.Rj)return!0;if(!yf){var c=b||g.x("window.event"),d=new gf(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 k=a.type,l=c.length-1;!d.o&&0<=l;l--)d.currentTarget=c[l],f=Df(c[l],k,!0,d),e=e&&f;for(l=0;!d.o&&l<c.length;l++)d.currentTarget=c[l],f=Df(c[l],k,!1,d),e=e&&f}return e}return Cf(a,new gf(b,this))};
g.uf=function(a){a=a[vf];return a instanceof lf?a:null};
sf=function(a){if(g.za(a))return a;a[Ef]||(a[Ef]=function(b){return a.handleEvent(b)});
return a[Ef]};
g.Ff=function(){g.K.call(this);this.Be=new lf(this);this.Yc=this;this.Oa=null};
Gf=function(a,b,c,d){b=a.Be.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var k=b[f];if(k&&!k.Rj&&k.capture==c){var l=k.listener,m=k.Mf||k.src;k.Sm&&of(a.Be,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.qC};
Hf=function(a,b,c){this.C=c;this.A=a;this.B=b;this.o=0;this.g=null};
If=function(a,b){a.B(b);a.o<a.C&&(a.o++,b.next=a.g,a.g=b)};
Jf=function(a){return function(){return a}};
eba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
g.Kf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
Lf=function(a){g.v.setTimeout(function(){throw a;},0)};
Nf=function(a,b){var c=a;b&&(c=(0,g.A)(a,b));!g.za(g.v.setImmediate)||g.v.Window&&g.v.Window.prototype&&!Nb("Edge")&&g.v.Window.prototype.setImmediate==g.v.setImmediate?(Mf||(Mf=fba()),Mf(c)):g.v.setImmediate(c)};
fba=function(){var a=g.v.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Nb("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&&!Nb("Trident")&&!Nb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.t(c.next)){c=c.next;var a=c.Aw;c.Aw=null;a()}};
return function(a){d.next={Aw:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT");
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};
window.document.documentElement.appendChild(b)}:function(a){g.v.setTimeout(a,0)}};
Of=function(){this.o=this.g=null};
Pf=function(){this.next=this.scope=this.g=null};
g.Uf=function(a,b){Qf||gba();Rf||(Qf(),Rf=!0);var c=Sf,d=Tf.get();d.set(a,b);c.o?c.o.next=d:c.g=d;c.o=d};
gba=function(){if(-1!=String(g.v.Promise).indexOf("[native code]")){var a=g.v.Promise.resolve(void 0);Qf=function(){a.then(Vf)}}else Qf=function(){Nf(Vf)}};
Vf=function(){for(var a;a=Sf.remove();){try{a.g.call(a.scope)}catch(b){Lf(b)}If(Tf,a)}Rf=!1};
Wf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};
Xf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.Zf=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){Yf(c,2,a)},function(a){Yf(c,3,a)})}catch(d){Yf(this,3,d)}};
$f=function(){this.next=this.context=this.o=this.B=this.g=null;this.A=!1};
bg=function(a,b,c){var d=ag.get();d.B=a;d.o=b;d.context=c;return d};
cg=function(a){if(a instanceof g.Zf)return a;var b=new g.Zf(g.y);Yf(b,2,a);return b};
dg=function(a){return new g.Zf(function(b,c){c(a)})};
fg=function(a,b,c){eg(a,b,c,null)||g.Uf(g.Ga(b,a))};
hba=function(a){return new g.Zf(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],fg(e,b,c)})};
g.gg=function(a){return new g.Zf(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},k=function(a){c(a)},l=0,m;l<a.length;l++)m=a[l],fg(m,g.Ga(f,l),k);
else b(e)})};
jba=function(){var a,b,c=new g.Zf(function(c,e){a=c;b=e});
return new iba(c,a,b)};
kba=function(a,b){var c=bg(b,b,void 0);c.A=!0;ig(a,c)};
g.kg=function(a,b){return jg(a,null,b,void 0)};
lg=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?lg(c,b):(f?(d=f,d.next==c.B&&(c.B=d),d.next=d.next.next):mg(c),ng(c,e,3,b)))}a.A=null}else Yf(a,3,b)};
ig=function(a,b){a.o||2!=a.g&&3!=a.g||og(a);a.B?a.B.next=b:a.o=b;a.B=b};
jg=function(a,b,c,d){var e=bg(null,null,null);e.g=new g.Zf(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 pg?k(b):a(e)}catch(n){k(n)}}:k});
e.g.A=a;ig(a,e);return e.g};
Yf=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,eg(c,a.I,a.J,a)||(a.F=c,a.g=b,a.A=null,og(a),3!=b||c instanceof pg||lba(a,c)))};
eg=function(a,b,c,d){if(a instanceof g.Zf)return ig(a,bg(b||g.y,c||null,d)),!0;if(Xf(a))return a.then(b,c,d),!0;if(g.Aa(a))try{var e=a.then;if(g.za(e))return mba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
mba=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)}};
og=function(a){a.D||(a.D=!0,g.Uf(a.G,a))};
mg=function(a){var b=null;a.o&&(b=a.o,a.o=b.next,b.next=null);a.o||(a.B=null);return b};
ng=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,qg(b,c,d);else try{b.A?b.B.call(b.context):qg(b,c,d)}catch(e){rg.call(null,e)}If(ag,b)};
qg=function(a,b,c){2==b?a.B.call(a.context,c):a.o&&a.o.call(a.context,c)};
lba=function(a,b){a.C=!0;g.Uf(function(){a.C&&rg.call(null,b)})};
pg=function(a){Ja.call(this,a)};
iba=function(a,b,c){this.g=a;this.resolve=b;this.reject=c};
g.sg=function(a,b){g.Ff.call(this);this.o=a||1;this.g=b||g.v;this.A=(0,g.A)(this.AI,this);this.B=(0,g.G)()};
tg=function(a,b){a.o=b;a.Fe&&a.enabled?(a.stop(),a.start()):a.Fe&&a.stop()};
g.ug=function(a,b,c){if(g.za(a))c&&(a=(0,g.A)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.A)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.v.setTimeout(a,b||0)};
g.vg=function(a){g.v.clearTimeout(a)};
wg=function(){return Math.round((0,g.G)()/1E3)};
nba=function(a){var b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:wg()};
oba=function(){this.o=-1};
pba=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.yg=function(a){try{return g.v.JSON.parse(a)}catch(d){var b=d}a=String(a);if(pba(a))try{var c=eval("("+a+")");b&&xg("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.Ag=function(a){var b=[];zg(new qba,a,b);return b.join("")};
qba=function(){};
zg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.xa(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),zg(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Bg(d,c),c.push(":"),zg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Bg(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);}}};
Bg=function(a,b){b.push('"',a.replace(rba,function(a){var b=Cg[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Cg[a]=b);return b}),'"')};
Dg=function(a){this.g=a||{cookie:""}};
Eg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Wa(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.Fg=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.Gg=function(a){return a.match(sba)};
g.Hg=function(a){return a?(0,window.decodeURI)(a):a};
g.Ig=function(a){return g.Hg(g.Gg(a)[3]||null)};
g.Jg=function(a){return Number(g.Gg(a)[4]||null)||null};
Kg=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var k=c[d].substring(0,e);f=c[d].substring(e+1)}else k=c[d];b(k,f?Na(f):"")}};
Lg=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);c=[a.substr(0,d),e,a.substr(c)];d=c[1];c[1]=b?d?d+"&"+b:b:d;return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
Mg=function(a,b,c){if(g.xa(b))for(var d=0;d<b.length;d++)Mg(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.Ma(b)))};
Ng=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)Mg(a[d],a[d+1],c);return c.join("&")};
g.Og=function(a){var b=[],c;for(c in a)Mg(c,a[c],b);return b.join("&")};
Pg=function(a,b){var c=2==arguments.length?Ng(arguments[1],0):Ng(arguments,1);return Lg(a,c)};
g.Qg=function(a,b){var c=g.Og(b);return Lg(a,c)};
Rg=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};
Tg=function(a,b){var c=a.search(Sg),d=Rg(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 Na(a.substr(d,e-d))};
g.Ug=function(a,b){for(var c=a.search(Sg),d=0,e,f=[];0<=(e=Rg(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(tba,"$1")};
Vg=function(a,b,c){a=g.Ug(a,b);c=null!=c?"="+g.Ma(c):"";return Lg(a,b+c)};
Wg=function(){this.g={};return this};
Yg=function(a,b){a.g.eb=cc(a.g,"eb",0)|b};
g.Zg=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
$g=function(a,b,c){b instanceof g.dd?(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.ah=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.bh=function(a){return new g.Zg(a.top,a.left+a.width,a.top+a.height,a.left)};
g.ch=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.dh=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.eh=function(a){return new g.gd(a.width,a.height)};
g.fh=function(a){return new g.dd(a.left,a.top)};
uba=function(){this.g={};this.o=0};
gh=function(a,b){this.C=a;this.A=!0;this.g=b};
hh=function(a,b){gh.call(this,String(a),b);this.B=a;this.g=!!b};
ih=function(a,b){gh.call(this,a,b)};
jh=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 ih("",new g.ah(c,b,Number(a[3])-c,Number(a[2])-b))}return new ih("",new g.ah(0,0,0,0))};
lh=function(){kh||(kh=new uba);return kh};
mh=function(a,b){a.g[b.C]=b};
g.oh=function(a,b,c){if(g.u(b))(b=nh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=nh(c,d);f&&(c.style[f]=e)}};
nh=function(a,b){var c=ph[b];if(!c){var d=cb(b);c=d;void 0===a.style[d]&&(d=(g.xd?"Webkit":g.qh?"Moz":g.vd?"ms":g.ef?"O":null)+qaa(d),void 0!==a.style[d]&&(c=d));ph[b]=c}return c};
rh=function(a,b){var c=a.style[cb(b)];return"undefined"!==typeof c?c:a.style[nh(a,b)]||""};
g.sh=function(a,b){var c=g.jd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.th=function(a,b){return g.sh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.vh=function(a,b,c){if(b instanceof g.dd){var d=b.x;b=b.y}else d=b,b=c;a.style.left=uh(d,!1);a.style.top=uh(b,!1)};
wh=function(a){return new g.dd(a.offsetLeft,a.offsetTop)};
xh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.vd&&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.yh=function(a){if(g.vd&&!g.sc(8))return a.offsetParent;var b=g.jd(a),c=g.th(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.th(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null};
g.Ah=function(a){for(var b=new g.Zg(0,window.Infinity,window.Infinity,0),c=g.ld(a),d=c.g.body,e=c.g.documentElement,f=ud(c.g);a=g.yh(a);)if(!(g.vd&&0==a.clientWidth||g.xd&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.th(a,"overflow")){var k=g.zh(a),l=new g.dd(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.td(g.be(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.zh=function(a){var b=g.jd(a),c=new g.dd(0,0);var d=b?g.jd(b):window.document;d=!g.vd||g.sc(9)||g.sd(g.ld(d).g)?d.documentElement:d.body;if(a==d)return c;a=xh(a);b=g.wd(g.ld(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c};
g.Ch=function(a,b){var c=new g.dd(0,0),d=yd(g.jd(a));if(!oc(d,"parent"))return c;var e=a;do{var f=d==b?g.zh(e):Bh(e);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c};
g.Eh=function(a,b){var c=g.Dh(a),d=g.Dh(b);return new g.dd(c.x-d.x,c.y-d.y)};
Bh=function(a){a=xh(a);return new g.dd(a.left,a.top)};
g.Dh=function(a){if(1==a.nodeType)return Bh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.dd(a.clientX,a.clientY)};
g.Gh=function(a,b,c){if(b instanceof g.gd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Fh(a,b);a.style.height=uh(c,!0)};
uh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.Fh=function(a,b){a.style.width=uh(b,!0)};
g.Hh=function(a){var b=vba;if("none"!=g.th(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};
vba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.xd&&!b&&!c;return g.t(b)&&!d||!a.getBoundingClientRect?new g.gd(b,c):(a=xh(a),new g.gd(a.right-a.left,a.bottom-a.top))};
g.Ih=function(a){var b=g.zh(a);a=g.Hh(a);return new g.ah(b.x,b.y,a.width,a.height)};
g.Jh=function(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};
g.M=function(a,b){a.style.display=b?"":"none"};
g.Kh=function(a){return"none"!=a.style.display};
Lh=function(a){var b=new g.ah(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.ah(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.dh(b,a[d]))return c;return b};
Mh=function(a,b){var c=a.getBoundingClientRect(),d=g.Ch(a,b);return new g.ah(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
Nh=function(a,b,c){if(b&&c){a:{var d=Math.max(b.left,c.left);var e=Math.min(b.left+b.width,c.left+c.width);if(d<=e){var f=Math.max(b.top,c.top),k=Math.min(b.top+b.height,c.top+c.height);if(f<=k){d=new g.ah(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;mh(a,new gh("vp",d));d&&0<d?(e=g.bh(b),f=g.bh(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;mh(a,new hh(512,e));d&&0<d?(e=g.bh(b),f=g.bh(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;mh(a,new hh(1024,
e));d&&0<d?(e=g.bh(b),f=g.bh(c),e=e.left>=f.left&&e.left<f.right):e=!1;mh(a,new hh(2048,e));d&&0<d?(b=g.bh(b),c=g.bh(c),c=b.right<=c.right&&b.right>c.left):c=!1;mh(a,new hh(4096,c))}};
wba=function(a,b){var c=0;g.Wb(yd(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=lh();d.g={};var f=new hh(32,!0);f.A=!1;mh(d,f);f=yd().document;f=f.webkitVisibilityState||f.mozVisibilityState||f.visibilityState||f.msVisibilityState||"";mh(d,new hh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=yd().top;try{var l=!!k.location.href||""===k.location.href}catch(r){l=!1}if(l){var m=Ze(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(r){n="2"}mh(d,
new hh(256,"2"==n));mh(d,new hh(128,"1"==n));m=l=yd().top;"2"==n&&(m=yd());k=Mh(e,m);mh(d,new ih("er",k));try{var q=m.document&&!m.document.body?null:g.td(m||window)}catch(r){q=null}q?(m=g.wd(g.ld(m.document).g),mh(d,new hh(16384,!!m)),q=m?new g.ah(m.x,m.y,q.width,q.height):null):q=null;mh(d,new ih("vi",q));if(q&&"1"==n){n=Ze(e);e=[];for(m=0;m<n.length;m++)(f=Mh(n[m],l))&&e.push(f);e.push(q);q=Lh(e)}Nh(d,k,q);d.o&&(n=wg()-d.o,mh(d,new gh("ts",n)));d.o=wg()}else d=lh(),d.g={},d.o=wg(),mh(d,new hh(32,
!1));this.A=d;this.g=new Wg;this.g.set("ve",4);c&&Yg(this.g,1);g.Wb(yd(),"ima","video","client","crossdomainTag")&&Yg(this.g,4);g.Wb(yd(),"ima","video","client","sdkTag")&&Yg(this.g,8);g.Wb(yd(),"ima","video","client","jsTag")&&Yg(this.g,2);b&&cc(b,"fullscreen",!1)&&Yg(this.g,16);this.o=d=null;if(c&&(c=g.Wb(yd(),"ima","video","client"),c.getEData)){this.o=c.getEData();if(c=g.Wb(yd(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.o.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,
n.lactstamp),c=this.A,d=n.er,n=n.vi,d&&n&&(d=jh(d).getValue(),n=jh(n).getValue(),e=null,cc(c.g,"er",null)&&(e=cc(c.g,"er",null).getValue(),e.top+=d.top,e.left+=d.left,mh(c,new ih("er",e))),cc(c.g,"vi",null)&&(q=cc(c.g,"vi",null).getValue(),q.top+=d.top,q.left+=d.left,l=[],l.push(q),l.push(d),l.push(n),d=Lh(l),Nh(c,e,d),mh(c,new ih("vi",n))));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",wg()-nba(d))};
xba=function(a,b){try{var c=new wba(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 w in r.g){var z=r.g[w];if(z instanceof hh)z.getValue()&&(f|=z.B);else{var B,C=r.g[w];(B=C.A?C.o():"")&&k.push(w+B)}}k.push("eb"+String(f));(q=k.join("_"))&&d.push(q);c.g.set("eb",e);return d.join("_")}catch(N){return"tle;"+Pa(N.name,12)+";"+Pa(N.message,40)}};
g.Oh=function(){var a=window.navigator.userAgent.match(/Chrome\/([0-9]+)/);return a?(0,window.parseInt)(a[1],10):0};
Ph=function(a){return!!window.document.currentScript&&(-1!=window.document.currentScript.src.indexOf("?"+a)||-1!=window.document.currentScript.src.indexOf("&"+a))};
Qh=function(a,b,c){this.type=a;this.label=b;this.ae=c};
Rh=function(a,b){return new Qh(a,1,b)};
Sh=function(a){new Qh(a,2,void 0)};
Th=function(a,b){return new Qh(a,3,b)};
Uh=function(a){return Rh("m",a)};
Vh=function(a){return Th("m",a)};
Wh=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)?Wh(a,b,void 0,d):a:c};
Xh=function(a){try{return!!a&&null!=a.location.href&&oc(a,"foo")}catch(b){return!1}};
Yh=function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
yba=function(a){var b=0;Yh(a,function(){b++});
return b};
zba=function(){var a=g.v;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};
Aba=function(){var a=Zh;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""};
$h=function(a){return a?a.passive&&Bba()?a:a.capture||!1:a};
ai=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,$h(d)):a.attachEvent&&a.attachEvent("on"+b,c)};
bi=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,$h(void 0)):a.detachEvent&&a.detachEvent("on"+b,c)};
ci=function(a){a=a||g.v;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};
di=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);bi(d,"load",e);bi(d,"error",e)};
ai(d,"load",e);ai(d,"error",e)}d.src=b;a.google_image_requests.push(d)};
fi=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?O:b;try{var c=b.history.length}catch(d){c=0}a.u_his=c;if(c=!!O.navigator)c="unknown"!==typeof O.navigator.javaEnabled;a.u_java=c&&!!O.navigator.javaEnabled&&O.navigator.javaEnabled();O.screen&&(a.u_h=O.screen.height,a.u_w=O.screen.width,a.u_ah=O.screen.availHeight,a.u_aw=O.screen.availWidth,a.u_cd=O.screen.colorDepth);O.navigator&&O.navigator.plugins&&(a.u_nplug=O.navigator.plugins.length);O.navigator&&O.navigator.mimeTypes&&(a.u_nmime=
O.navigator.mimeTypes.length)};
ji=function(){if(gi&&!Xh(hi)){var a="."+ii.domain;try{for(;2<a.split(".").length&&!Xh(hi);)ii.domain=a=a.substr(a.indexOf(".")+1),hi=window.parent}catch(b){}Xh(hi)||(hi=window)}return hi};
li=function(){var a=window.event||ki;if(!a)return null;var b;(b=a.which?1<<Cba[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b};
mi=function(a,b,c){b=b||O;a&&null!==b&&b!=b.top&&(b=b.top);try{return b.document&&!b.document.body?new g.gd(-1,-1):(void 0===c?0:c)?(new g.gd(b.innerWidth,b.innerHeight)).round():g.td(b||window).round()}catch(d){return new g.gd(-12245933,-12245933)}};
ni=function(){this.g=!0};
Dba=function(){this.A=this.B=this.g=this.o=this.C=0};
oi=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.line=b.line||-1;this.msg=b.message||"";this.file=b.file||"";this.id=b.id||"jserror";this.meta=c};
Eba=function(a,b){this.g=a;this.o=b};
pi=function(a,b,c){this.url=a;this.Fu=b;this.bz=!!c;this.depth=g.ta(void 0)?void 0:null};
ri=function(a){a=a?a:qi();for(var b=new pi(g.v.location.href,g.v,!1),c=a.length-1,d=c;0<=d;--d){var e=a[d];if(e.url&&!e.bz){b=e;break}}d=null;e=a.length&&a[c].url;0!=b.depth&&e&&(d=a[c]);return new Eba(b,d)};
qi=function(){var a=g.v,b=[],c=null;do{var d=a;if(Xh(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new pi(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);a=0;for(d=b.length-1;a<=d;++a)b[a].depth=d-a;d=g.v;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.bz=!0);return b};
si=function(a,b,c,d,e){this.D=c||4E3;this.A=a||"&";this.F=b||",$";this.B=g.t(d)?d:"trn";this.I=e||null;this.C=!1;this.o={};this.G=0;this.g=[]};
ti=function(a,b){var c={};c[a]=b;return[c]};
vi=function(a,b,c,d,e){var f=[];Yh(a,function(a,l){var k=ui(a,b,c,d,e);k&&f.push(l+"="+k)});
return f.join(b)};
ui=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],k=0;k<a.length;k++)f.push(ui(a[k],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?(0,window.encodeURIComponent)(vi(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))};
wi=function(a,b,c,d){a.g.push(b);a.o[b]=ti(c,d)};
xi=function(a,b,c){var d=a.G++;b=ti(b,c);a.g.push(d);a.o[d]=b};
yi=function(a,b,c,d){b=b+"//"+c+d;var e=Fba(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=vi(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.I||d));return b+f+""};
Fba=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};
zi=function(a,b,c,d){if(Math.random()<(d||a.g))try{if(c instanceof si)var e=c;else e=new si,Yh(c,function(a,b){xi(e,b,a)});
var f=yi(e,a.B,a.o,a.A+b+"&");f&&di(g.v,f)}catch(k){}};
Ai=function(a,b,c,d,e){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=this.label+"_"+this.type+"_"+Math.random();this.slotId=e};
Ci=function(a,b){this.events=[];this.g=b||g.v;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);if(null===Bi){Bi="";try{var d=g.v.top.location.hash;if(d){var e=d.match(/\bdeid=([\d,]+)/);Bi=e?e[1]:""}}catch(f){}}d=Bi;d=d.indexOf&&0<=d.indexOf("1337");this.o=(this.o=null!=c?c:Math.random()<a)||d;c=this.g.performance;this.D=!!(c&&c.mark&&c.clearMarks&&d)};
Di=function(){var a=g.v.performance;return a&&a.now?a.now():(0,g.G)()};
Ei=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};
Gi=function(a,b,c,d,e){try{if(a.g&&a.g.o){var f=a.g.start(b.toString(),3);var k=c();a.g.end(f)}else k=c()}catch(m){c=a.A;try{a.g&&f&&a.g.Mw(f);var l=Fi(m);c=(e||a.C).call(a,b,l,void 0,d)}catch(n){a.o(217,n)}if(!c)throw m;}return k};
Ii=function(a,b,c,d){var e=Hi;return function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return Gi(e,a,function(){return b.apply(c,k)},d,void 0)}};
Fi=function(a){return new Ji(Ki(a),a.fileName,a.lineNumber)};
Ki=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};
Ji=function(a,b,c){oi.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})};
Li=function(a,b){return Gi(Hi,a,b,void 0,Gba)};
Mi=function(a,b,c,d){return Ii(a,b,c,d)};
Ni=function(a,b){Hi.o(a,b,void 0,void 0)};
Oi=function(a,b,c,d){c=Ii(d,c,void 0,void 0);ai(a,b,c,{capture:!1});return c};
Pi=function(){return{visible:1,hidden:2,prerender:3,preview:4}[ii.webkitVisibilityState||ii.mozVisibilityState||ii.visibilityState||""]||0};
Si=function(){var a=O&&O.document;Qi.e=-1;Qi.i=6;Qi.n=7;Qi.t=8;if(!Ri){var b=[];Yh(Qi,function(a,c){b[a+1]=c});
var c=b.join(""),d=a&&a[c];Ri=d&&function(b,c){return d.call(a,b,c)}}return Ri};
Ti=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
Ui=function(a){return(a=a.exec(g.Lb))?a[1]:""};
g.Vi=function(a){return 0<=g.Ya(Hba,a)};
Zi=function(){return g.vd&&9>qc||g.qh||Wi&&g.Xi&&g.Vi("6.0.1")?!1:0<=g.Ya(Yi,"11")};
bj=function(a){a=void 0===a?!1:a;var b=g.$i&&0<=g.Ya(g.aj,9),c=g.Xi&&g.rc(601);return!a&&(b||c)};
cj=function(){var a=g.Ad("DIV");a.style.cssText="position:relative;left:0px;top:0px;width:0;height:0;";return a};
Jba=function(a){return dj(a,function(a,c){return!(!oc(c,"style")||!c.style||"none"!==rh(c,"display"))},function(a){return a},!1)?!0:Iba(a)};
Iba=function(a){var b=!g.vd||g.rc(8);return dj(a,function(a,d){var c=oc(d,"style")&&d.style&&rh(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1,
visible:!1}).hidden};
dj=function(a,b,c,d){if(!a)return d;d=ej(a,b,c,d);if(!d.done)try{var e=g.jd(a),f=e&&yd(e);return dj(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
ej=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&oc(a,"parentElement")?ej(g.Qd(a),b,c,d):{done:e,value:d}};
fj=function(a){return new g.Zg(a.top,a.right,a.bottom,a.left)};
gj=function(a){return null!=a&&0<=a&&1>=a};
Lba=function(){var a=this.g=new Dba,b=(0,g.G)();a.C=b;a=yd();hj(this,a,window.document);b=Kba();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)hj(this,c,c.document);hj(this,a.top,a.top.document)}}catch(d){}};
Kba=function(){var a=window.document.documentElement;try{if(!Xh(yd().top))return"2";var b=[],c=yd(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&0!=b.length?"1":"0"}catch(d){return"2"}};
hj=function(a,b,c){Oi(c,"mousedown",function(){var b=a.g;1E5<b.o||(b.o+=1)},301);
Oi(b,"scroll",function(){var b=a.g;1E5<b.g||(b.g+=1)},302);
Oi(c,"touchmove",function(){var b=a.g;1E5<b.g||(b.g+=1)},303);
Oi(c,"mousemove",function(){var b=a.g;1E5<b.B||(b.B+=1)},304);
Oi(c,"keydown",function(){var b=a.g;1E5<b.A||(b.A+=1)},305)};
ij=function(){this.g=0;this.B=!1;this.o=-1;this.C=0;this.Je=!1};
jj=function(){return(new Date).getTime()-Mba};
oj=function(a){var b=0<=kj?jj()-kj:-1,c=lj?jj()-mj:-1,d=0<=nj?jj()-nj:-1;if(79463068==a)return 500;if(947190538==a){a=[4E3];var 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(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
pj=function(){ij.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.A=-1};
tj=function(a){return gj(a.volume)&&.1<=a.volume};
uj=function(){var a={};this.o=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.cm=[128,128],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.g={};for(var b in this.o)0<this.o[b][1]&&(this.g[b]=0);this.A=0};
Nba=function(a){return vj(a,g.Ub(a.o))};
vj=function(a,b){var c=0,d;for(d in a.g)g.lb(b,d)&&1==a.g[d]&&(c+=a.o[d][1],a.g[d]=2);return c};
Oba=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.o[c][1]}return b};
wj=function(){this.g=[]};
xj=function(a){this.g=this.o=0;this.A=a};
yj=function(){this.kb=[0,0,0,0,0];this.A=[0,0,0,0,0];this.ga=[0,0,0,0,0];this.L=this.Va=0;this.na=this.C=-1;this.Ma=1E3};
zj=function(a,b,c){for(;0<=b&&4>=b;b++)a[b]+=c};
Aj=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};
Bj=function(){yj.call(this);this.sa=this.V=this.aa=this.ba=this.Y=this.o=0;this.D=-1;this.F=this.J=this.I=this.G=this.da=this.pa=this.N=0;this.ea=[0,0,0,0,0];this.B=this.g=-1;this.O=this.ha=0;this.Ma=2E3;this.ra=new xj(32);this.Ha=new xj(32);this.Aa=new xj(32)};
Cj=function(a,b,c){var d=a.sa;lj||c||-1==a.D||(d+=b-a.D);return d};
Dj=function(a,b){this.A=null;this.F=a;this.I=b||1;this.o="u"};
Ej=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.I){case 4:return a.F?(e=Math.floor(.3*c),f=Math.floor(.3*d),[new g.dd(e,f),new g.dd(c-e,f),new g.dd(e,d-f),new g.dd(c-e,d-f)]):[new g.dd(e,0),new g.dd(0,f),new g.dd(e,d-1),new g.dd(c-1,f)];case 3:return[new g.dd(c-1,0),new g.dd(e,f),new g.dd(0,d-1)];default:return[new g.dd(e,f)]}};
Fj=function(a,b){try{var c=b||a.A.getBoundingClientRect()}catch(e){c=new g.Zg(0,0,0,0)}var d=Ej(a,c);(0,g.H)(d,function(a){a.x+=c.left;a.y+=c.top});
return d};
Gj=function(a,b){Dj.call(this,a,b);this.g=[];this.G=!1;this.B=-1;this.C=this.D=0};
Hj=function(a,b,c){this.snapshot=a;this.o=b;this.g=c};
Pba=function(a){if(a.A&&a.G){var b=Fj(a);(0,g.H)(b,function(a,b){this.g[b]&&Ij(this.g[b],a)},a)}};
Jj=function(a){(0,g.H)(a.g,function(a){a.remove()});
a.g=[];a.o="d"};
Uba=function(a){var b=(0,g.G)(),c=a.D?b-a.D:0,d=-1,e=(0,g.J)(a.g,function(a){return Kj(a,b)});
4==a.g.length?d=a.F?Qba(e):Rba(e):3==a.g.length?d=Sba(e):1==a.g.length&&(d=[-1,0,1,2,3,5][Kj(a.g[0],b)+1]);a.C=d==a.B?a.C+c:0;c=new Hj(d,a.B,c);a.B=d;a.D=b;Tba(a,d);Pba(a);return c};
Mj=function(a){var b=Jb(g.Rb(Lj));(0,g.H)(a,function(a){0<=a&&++b[a]});
return b};
Rba=function(a){a=Mj(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};
Sba=function(a){var b=Mj(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};
Qba=function(a){a=Mj(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};
Tba=function(a,b){if(0==b&&Nj(a))a.o="n";else switch(b){case -1:a.o="d";break;case 0:a.o="l";break;case 1:a.o="f";break;case 2:a.o="c";break;case 3:case 4:case 5:case 6:a.o="r"}};
Nj=function(a){return"n"==a.o?!0:"l"==a.o&&3E3<=a.C};
Qj=function(a,b,c,d){this.g=null;this.D=a;this.ya="e"==a?String(c)+"~"+String(d):"";this.o=[];this.A=-1;this.C=0;this.B=Jb(g.Rb(Vba));this.J=Jb(g.Rb(Lj));"e"==this.D&&(Oj[this.ya]=(0,g.A)(this.I,this));g.vd?(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="'+Pj(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=Wba(this,b);a.width=1;a.height=1;a.style.zIndex=-999999;this.g=a};
Wba=function(a,b){function c(a,c,d){var e=b.createElement("param");e.name=c;e.value=d;a.appendChild(e)}
var d=Pj(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="hidden";e.style.opacity=0;return e};
Pj=function(a,b){var c=Pg("//pagead2.googlesyndication.com/osd/hbe.swf","id",a.ya);b&&(c=Pg(c,"delay","1"));return c};
Ij=function(a,b){a.g&&!ed(b,wh(a.g))&&g.vh(a.g,b)};
Kj=function(a,b){if("e"==a.D){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);c=null;try{c=a.g.fc()}catch(f){}var e=c;Xba(a,e,d);c=a.o[a.o.length-1];if(null===e){if(e=d=0,0<a.A||g.ta(c.kp))e=d=2}else null===c.kp||c.timeMs>=d?(d=10<=e?4:0,e=0):e>c.kp?(c=(e-c.kp)/(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.C&&6==c&&(c=7),e=c):e=d=1;6==a.C&&(--a.B[6],4==e||8==e?++a.B[5]:++a.B[7]);++a.B[e];a.A=d;a.C=e}return a.A};
Xba=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({kp:b,timeMs:c})};
Rj=function(a,b){Dj.call(this,a,b);this.g=[];this.D=!1;this.C=0;this.B=-1};
Yba=function(a,b){var c=b.getBoundingClientRect();var d="DIV"==b.tagName||"INS"==b.tagName,e=g.jd(b),f=!0,k=a.g;if(d){var l=cj();c=Ej(a,c);Id(b,l,0);(0,g.H)(c,function(a){var b=new Uj(e);k.push(b);var c;if(c=f)if(b.g){b.g.style.position="absolute";Vj(b,a);a=!0;try{l.appendChild(b.g)}catch(r){a=!1}c=a}else c=!1;f=c})}else c=Fj(a,c),(0,g.H)(c,function(a){var c=new Uj(e);
k.push(c);var d;if(d=f)if(c.g&&b.parentNode){c.g.style.position="fixed";Vj(c,a);a=!0;try{g.Hd(c.g,b)}catch(r){a=!1}d=a}else d=!1;f=d});
f?(a.A=b,a.D=!d&&!1):((0,g.H)(k,function(a){a.remove()}),a.g=[]);
return f};
Zba=function(a){if(a.A&&a.D){var b=Fj(a);(0,g.H)(b,function(a,b){this.g[b]&&Vj(this.g[b],a)},a)}};
$ba=function(a){(0,g.H)(a.g,function(a){a.remove()});
a.g=[]};
eca=function(a){var b=(0,g.G)(),c=a.C?b-a.C:0,d=raa(a.g,function(a){return a.isVisible(b)});
d=4==a.g.length?a.F?aca[d]:bca[d]:3==a.g.length?cca[d]:1==a.g.length?dca[d]:-1;c=new Hj(d,a.B,c);a.B=d;a.C=b;Zba(a);return c};
Uj=function(a){this.g=null;this.A=this.o=0;fca(this,a)};
fca=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=Ii(245,a.B,a,void 0);c.addEventListener("load",Mi(244,function(){c.contentWindow.requestAnimationFrame(d)}))};
Vj=function(a,b){a.g&&!ed(b,wh(a.g))&&g.vh(a.g,b)};
Wj=function(){};
Xj=function(){this.F=!1;this.I=void 0;this.o=!Xh(O.top);var a=qi();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.Ig(a[a.length-1].url)||"":"";this.A=this.G=this.D=this.g=null;this.L=0;this.B=!1;this.C=null;this.J=0;this.Fb="geo";this.Cx=new ni};
Zj=function(a,b,c){this.position=Yj.clone();this.Qc=0;this.Bs=this.Jn();this.ys=-2;this.aU=(0,g.G)();this.aD=-1;this.oh=b;this.bi=-1!=b;this.zp=null;this.opacity=-1;this.mC=c;this.nu=this.Cs=g.y;this.If=this.element=a;this.Ki=this.Vc=null;this.Al=1;this.vu=this.nh=this.zn=!1;this.Nq=1;this.Rl=!0;this.jf=!1;this.tH=Xj.getInstance().L++;this.domain=null;this.ts=0;this.sc=this.dr();this.YC=-1;this.Cr=0;this.Ap=new g.Zg(0,0,0,0);this.Cx=new ni};
ak=function(a,b){return null===a||null===b?Yj.clone():new g.Zg(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left))};
gca=function(a,b,c,d,e){if(a.bi){var f=O.innerWidth,k=O.innerHeight,l=new g.Zg(Math.round(O.mozInnerScreenY),Math.round(O.mozInnerScreenX+f),Math.round(O.mozInnerScreenY+k),Math.round(O.mozInnerScreenX));c=new g.Zg(O.screenY+d,O.screenX+c.width,O.screenY+c.height,O.screenX);e||(d=new g.Zg(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.Qc=f*k);a.mg(l,c,b,e,!0,!0)}};
ica=function(a,b,c){if(a.bi){var d=Si();if(d){c||bk(a,O,!0);if(a.Je()||a.vu){var e=hca(a,d);d=!0}else{e=Math.floor((a.position.left+a.position.right)/2);var f=Math.floor((a.position.top+a.position.bottom)/2),k=g.wd(window.document);e=d(e-k.x,f-k.y)?.5:0;d=!1}a.mg(a.position,e,b,c,!0,d)}}};
ck=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}};
hca=function(a,b){var c=g.wd(window.document),d=a.Nq,e=Math.floor(a.position.left-c.x)+1,f=Math.floor(a.position.top-c.y)+1,k=Math.floor(a.position.right-c.x)-d,l=Math.floor(a.position.bottom-c.y)-d;c=(l-f)*(k-e);if(f>l||e>k)return 0;d=!!b(e,f);var m=!!b(k,l);if(d&&m)return 1;var n=!!b(k,f),q=!!b(e,l);if(d)l=ck(f,l,function(a){return!!b(e,a)}),k=ck(e,k,function(a){return!!b(a,f)});
else if(n)l=ck(f,l,function(a){return!!b(k,a)}),e=ck(k,e,function(a){return!!b(a,f)});
else if(q)f=ck(l,f,function(a){return!!b(e,a)}),k=ck(e,k,function(a){return!!b(a,l)});
else if(m)f=ck(l,f,function(a){return!!b(k,a)}),e=ck(k,e,function(a){return!!b(a,l)});
else{var r=Math.floor((e+k)/2),w=Math.floor((f+l)/2);if(!b(r,w))return 0;f=ck(w,f,function(a){return!!b(r,a)});
l=ck(w,l,function(a){return!!b(r,a)});
e=ck(r,e,function(a){return!!b(a,w)});
k=ck(r,k,function(a){return!!b(a,w)})}return(l-f)*(k-e)/c};
jca=function(a,b,c,d,e){a.bi&&(d||bk(a,O,e),a.mg(a.position,c,b,d,!1,!0))};
dk=function(a,b,c){if(a.bi){var d=c?a.sc.g:a.ts,e;if(e=a.Ap){e=a.Ap;var f=new g.Zg(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=$g(a.Ap.clone(),a.position.left,a.position.top));a.mg(a.position,d,b,c,!0,!0)}};
kca=function(a,b){a.Fb=b.create(O,a.Cx,function(){return a.nu(a)});
a.If||Ni(300,Error("Could not observe; element does not exist."))};
lca=function(a,b,c){if(a.bi&&a.Fb){var d=ji(),e=Xj.getInstance();bk(a,d,e.o);d=a.Fb.o();e=d.o()||d.A();a.mg(a.position,d.g(),b,c,!0,e)}};
bk=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=Yj.clone(),f=new g.dd(0,0);if(a.If){var k=1==a.mC;!c&&k&&Jba(a.If)||(e=a.If.getBoundingClientRect());f=g.Ch(a.If,b)}c=f;var l=c.x,m=c.y;a.position=new g.Zg(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))}catch(n){a.position=Yj.clone()}}a.Qc=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
ek=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
mca=function(a){a.Fb||a.Vc&&Jj(a.Vc)};
pca=function(a,b){var c=!1,d=a.If;b.document&&b.document.body&&12==a.mC&&(d=b.document.body);if(null===d)return!1;Li(152,function(){var e=new b.IntersectionObserver(function(c){try{fk(b,c,a)}catch(k){try{e.unobserve(d),Ni("osd_adblock::nioc",k)}catch(l){}}},nca);
e.observe(d);oca(d);c=!0});
return c};
oca=function(a){if(a&&(a=a.style)){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
qca=function(a,b){var c=!1;Li(151,function(){var d=ci(b).v3(function(c){try{fk(b,c,a)}catch(f){try{d(),Ni("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
fk=function(a,b,c){if(!b||!b.length||0>=b.length)b=null;else{for(var d=b[0],e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e]);b=d}if(d=b)b=fj(d.boundingClientRect),e=fj(d.intersectionRect),c.sc.g=g.$c(d.intersectionRect.width*d.intersectionRect.height/(d.boundingClientRect.width*d.boundingClientRect.height),0,1),c.ts=c.sc.g,bk(c,a,!0,b),a=ak(b,e),c.Ap=0>=c.Qc||a.top>=a.bottom||a.left>=a.right?new g.Zg(0,0,0,0):$g(a,-b.left,-b.top)};
gk=function(a,b,c,d){d&&(a.nu=d);switch(c){case "nio":return pca(a,b);case "aio":return qca(a,b);case "swf":return a.Ql();case "raf":return a.bu();case "geo":case "xde":case "iem":return!0}return!1};
hk=function(a,b,c,d){Zj.call(this,b,c,d);this.aa=0;this.A={};this.Jc=new uj;this.yz={};this.Oc="";this.Hi=null;this.Sj="";this.mD=!1;this.o=[];this.Ma=this.wD=this.xD=this.C=!1;this.wf=void 0;this.B=-1;this.Va=void 0;this.ba=!1;this.L=this.N=0;this.O=1;this.Y=-1;this.ha=this.Aa=!1;this.Nh=this.bb=0;this.pa=!1;this.Oa=this.Ra=-1;this.V=this.I=this.g=0;this.ib=this.da=-1;this.Sa=0;this.Ha=[0,0,0,0,0];this.D=this.ra=this.ea=0;this.F=-1;this.kb=0;this.J=!1;this.ga=null;this.sa=this.vD=!1;this.na=g.y;
this.G=[this.Jn()];this.Za=!1;this.vu=!0;this.Nq=2;b=Xj.getInstance();bk(this,a,b.o);this.Ti={};this.Ti.pause="p";this.Ti.resume="r";this.Ti.skip="s";this.Ti.mute="m";this.Ti.unmute="um";this.Ti.exitfullscreen="ef"};
rca=function(a,b,c){a.vD=!0;a.A={};a.A.firstquartile=!1;a.A.midpoint=!1;a.A.thirdquartile=!1;a.A.complete=!1;a.A.pause=!1;a.A.skip=!1;a.A.viewable_impression=!1;a.aa=0;c||(a.ce().D=b)};
ik=function(a){return g.t(a)?Number(a)?ek(a,3):0:a};
jk=function(a,b){if(-1==a.oh)return 0;var c=b-a.oh||1,d=1E4;g.t(a.B)&&-1!=a.B&&(d=Math.max(d,a.B/3));return c>d?1:c};
kk=function(a,b,c){return 15E3<=b?!0:a.Aa?(void 0===c?0:c)?!0:-1!=a.B?b>=a.B/2:-1!=a.Y?b>=a.Y:!1:!1};
sca=function(a){var b={},c=Xj.getInstance();b.insideIframe=c.o;b.unmeasurable=a.nh;b.position=a.position;b.coverage=a.sc.g;b.documentSize=c.A;b.viewportSize=c.g;return b};
mk=function(a,b){lk(a.o,b,function(){return{nU:0,ho:void 0}});
a.o[b]={viewableArea:ek(a.sc.g,2),instantaneousState:a.Jc.A}};
lk=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
nk=function(a,b){var c=a.yz[b];if(null!=c)return c;g.lb(tca,b)?c=!0:(c=a.A[b],g.t(c)?(a.A[b]=!0,c=!c):c=!1);c=a.Nn(c,c);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=vj(a.Jc,["gdr"]));return c};
uca=function(a){if(a.jf)return 1;var b=O.screen.width*O.screen.height;return 0>=b?-1:Math.min(a.Qc*a.sc.g/b,1)};
ok=function(a,b){this.o=a||0;this.g=b||""};
pk=function(a,b){a.o&&(b[4]=a.o);a.g&&(b[12]=a.g)};
qk=function(a){var b=[];g.Ob(a,function(a,d){var c=(0,window.encodeURIComponent)(d),f=a;g.u(f)&&(f=(0,window.encodeURIComponent)(f));b.push(c+"="+f)});
b.push("24="+(new Date).getTime());return b.join("\n")};
rk=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Xh(a)&&(c=a,b=d);return{Fu:c,level:b}};
vca=function(){this.S={}};
wca=function(a){var b=[],c=[];g.Ob(a,function(a,e){if(!(e in Object.prototype)&&"undefined"!=typeof a){g.xa(a)&&(a=a.join(","));var d=[e,"=",a].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "swf":case "iem":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}}});
return b.concat(c)};
g.sk=function(a,b,c){g.K.call(this);this.B=null!=c?(0,g.A)(a,c):a;this.A=b;this.o=(0,g.A)(this.dS,this);this.g=[]};
tk=function(a){a.ki=g.ug(a.o,a.A);a.B.apply(null,a.g)};
vk=function(){return!uk()&&(Nb("iPod")||Nb("iPhone")||Nb("Android")||Nb("IEMobile"))};
uk=function(){return Nb("iPad")||Nb("Android")&&!Nb("Mobile")||Nb("Silk")};
wk=function(){this.g=this.B=null;this.A=0;this.o=null};
xk=function(){this.g=[];this.A=[];this.done=!1;this.o={uH:0,hw:0,Tt:0,qx:0,Yr:-1};this.L=this.D=this.I=this.F=this.J=null;this.N=!1;this.C=null;this.ya="";this.ln=null;this.G=0;this.B=uk()||vk();this.O=0};
yk=function(){var a=Xj.getInstance().Fb;return"nio"==a||"aio"==a};
Ak=function(){var a=zk;if(!a.N){a.N=!0;var b=g.v.requestAnimationFrame||g.v.webkitRequestAnimationFrame||g.v.mozRequestAnimationFrame||g.v.oRequestAnimationFrame||g.v.msRequestAnimationFrame;if(!a.J&&!yk()){if(b){var c=Mi(136,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.tr.apply(a,[].concat(g.pa(c)))});
var d=function(){b(function(){O.setTimeout(c,0)})}}else d=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.tr.apply(a,[].concat(g.pa(c)))};
a.F=new g.sk(Ii(137,d,void 0,void 0),100);a.J=Oi(O,"scroll",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.F.mj.apply(a.F,[].concat(g.pa(c)))},138)}if(!a.I&&!yk()){if(b){var e=Mi(139,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.pz.apply(a,[].concat(g.pa(c)))});
d=function(){b(function(){O.setTimeout(e,0)})}}else d=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.pz.apply(a,[].concat(g.pa(c)))};
a.D=new g.sk(Ii(140,d,void 0,void 0),100);a.I=Oi(O,"resize",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.D.mj.apply(a.D,[].concat(g.pa(c)))},141)}xca(a,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.qy.apply(a,[].concat(g.pa(c)))});
a.qy()}};
yca=function(a){var b=a.B,c=Xj.getInstance();b&&!c.B&&"exc"!=c.Fb&&(c.g=mi(!0,O,b));b=new wk;switch(c.Fb){case "xde":var d=a.G;Bk(a,!1);a=Xj.getInstance();var e=a.G,f=e.height-d;0>=f&&(f=e.height,d=0);a.g=new g.gd(e.width,f);f=new wk;f.B=a.g;f.g=e;f.A=d;return f;case "geo":a:{c=c.g;b=new wk;b.B=c;if(null!=c&&-1!=c.width&&-1!=c.height&&-12245933!=c.width&&-12245933!=c.height){var k=Xj.getInstance();if(k.B)d=k.C;else try{e=a.B;a=O||O;a=a.top;f=c||mi(!0,a,void 0===e?!1:e);var l=g.wd(g.ld(a.document).g);
if(-1==f.width||-12245933==f.width){var m=f.width;var n=new g.Zg(m,m,m,m)}else n=new g.Zg(l.y,l.x+f.width,l.y+f.height,l.x);d=n}catch(q){a=b;break a}b.o=d}a=b}return a;default:return b}};
Ek=function(a,b,c,d){if(!a.done)if(Ck(a),0==b.length)c||Dk(a);else{a.ln=null;var e=yca(a),f=Xj.getInstance();try{var k=jj();if(null!=Wj.getInstance().g)for(d=0;d<b.length;d++)lca(b[d],k,c);else switch(f.Fb){case "exc":for(d=0;d<b.length;d++)dk(b[d],k,c);break;case "nis":for(e=0;e<b.length;e++)g.t(d)?b[e].tp(d):b[e].oz(k);break;case "gsv":for(e=0;e<b.length;e++)g.t(d)?b[e].hy(d):b[e].nz(k);break;case "aio":case "nio":for(d=0;d<b.length;d++)dk(b[d],k,c);break;case "xde":if(e.g)for(d=0;d<b.length;d++)gca(b[d],
k,e.g,e.A,c);break;case "iem":for(d=0;d<b.length;d++)ica(b[d],k,c);break;case "swf":(0,g.H)(b,function(a){if(c){if(a.Vc){var b=a.Vc;3<=b.B&&(b.B=3);a.sc.g=0}}else if(a.Vc&&"d"!=a.Vc.getStatus()){b=Uba(a.Vc);var d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[b.snapshot+1];a.sc.g=d[b.o+1];a.mg(a.position,e,a.oh+b.g,!1,!0,!1);a.Cg()&&1!=a.Od()&&!a.Rl&&a.Vc&&Jj(a.Vc);(b=2==b.snapshot||Nj(a.Vc))||(b=a.Vc,b="f"==b.o&&3E3<=b.C);b&&(a.nu(a),a.Rl=!1,a.Vc&&Jj(a.Vc))}});
break;case "raf":(0,g.H)(b,function(a){if(c)a.Ki&&(a.Ki.B=3,a.sc.g=0);else if(a.Ki){var b=eca(a.Ki),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[b.snapshot+1];a.sc.g=d[b.o+1];a.mg(a.position,e,a.oh+b.g,!1,!0,!1);a.Cg()&&1!=a.Od()&&!a.Rl&&a.Ki&&$ba(a.Ki)}});
break;case "geo":if(e.o)for(d=0;d<b.length;d++)jca(b[d],k,e.o,c,f.o)}a.o.Tt+=jj()-k;++a.o.qx;zca(a)}finally{c?(0,g.H)(b,function(a){a.sc.g=0}):Dk(a)}}};
xca=function(a,b){var c;ii.mozVisibilityState?c="mozvisibilitychange":ii.webkitVisibilityState?c="webkitvisibilitychange":ii.visibilityState&&(c="visibilitychange");c&&(a.L=a.L||Oi(ii,c,b,142))};
Fk=function(a){if(Aca(a))return!0;var b=Pi();a=1===b;b=0===b;return Xj.getInstance(),a||b};
Dk=function(a){O&&(a.C=O.setTimeout(Mi(143,function(){Ek(a,Gk(a),!1)}),oj(Xj.getInstance().I)))};
Ck=function(a){window.clearTimeout(a.C);a.C=null};
Bca=function(a,b){return null!=b&&(0,g.Hk)(a.g,function(a){return a.element==b})};
Ik=function(a){return g.gb(zk.g,function(b){return b.Oc==a})};
Gk=function(a){return 0==a.g.length?a.A:0==a.A.length?a.g:g.ub(a.A,a.g)};
Bk=function(a,b){var c=a.B,d=Xj.getInstance();d.g=d.B?d.C?(new g.gd(d.C.Gb(),d.C.getHeight())).round():new g.gd(0,0):mi(!0,O,c);if(!b){d.G=O&&O.outerWidth?new g.gd(O.outerWidth,O.outerHeight):new g.gd(-12245933,-12245933);var e=void 0===e?O:e;null!==e&&e!=e.top&&(e=e.top);var f=c=0,k=Xj.getInstance().g;try{var l=e.document,m=l.body,n=l.documentElement;if("CSS1Compat"==l.compatMode&&n.scrollHeight)c=n.scrollHeight!=k.height?n.scrollHeight:n.offsetHeight,f=n.scrollWidth!=k.width?n.scrollWidth:n.offsetWidth;
else{var q=n.scrollHeight,r=n.scrollWidth,w=n.offsetHeight,z=n.offsetWidth;n.clientHeight!=w&&(q=m.scrollHeight,r=m.scrollWidth,w=m.offsetHeight,z=m.offsetWidth);q>k.height?q>w?(c=q,f=r):(c=w,f=z):q<w?(c=q,f=r):(c=w,f=z)}var B=new g.gd(f,c)}catch(C){B=new g.gd(-12245933,-12245933)}d.A=B}};
Cca=function(a,b,c){if(a=Jk(a,"swf",b,c))Xj.getInstance().Fb="swf",Xj.getInstance().Fb="swf",(0,g.H)(b,function(a){a.Vc||c(a)});
return a};
Kk=function(){var a=Jk(O,"raf",Gk(zk));a&&(Xj.getInstance().Fb="raf");return a};
Jk=function(a,b,c,d){var e=!1;(0,g.H)(c,function(c){gk(c,a,b,d)&&(e=!0)});
return e};
zca=function(a){if("osd"==a.ya)for(var b=a.A,c=0;c<b.length;c++){var d=a;if(!d.ln){var e=d,f=d,k=O,l=k.document,m=0<=kj?jj()-kj:-1,n=jj();-1==f.o.Yr&&(m=n);var q={},r=Gk(f);try{if(0<r.length){var w=Xj.getInstance(),z=w.g;z&&(q.bs=[z.width,z.height]);var B=w.G;B&&(q.bos=[B.width,B.height]);var C=w.A;C&&(q.ps=[C.width,C.height]);k.screen&&(q.ss=[k.screen.width,k.screen.height])}else q.url=(0,window.encodeURIComponent)(k.location.href.substring(0,1024)),l.referrer&&(q.referrer=(0,window.encodeURIComponent)(l.referrer.substring(0,
512)));q.tt=m;q.pt=kj;switch(Xj.getInstance().Fb){case "xde":q.xde=1;break;case "iem":q.iem=1;break;case "aio":q.aio=1;break;case "nio":q.nio=1}q.deb=[1,f.o.uH,f.o.hw,f.o.Tt,f.o.qx,f.o.Yr].join("-");q.tvt=Lk(f,n);if(null!==k&&k!=k.top){0<r.length&&(q.iframe_loc=(0,window.encodeURIComponent)(k.location.href.substring(0,512)));var N=mi(!1,k,f.B);q.is=[N.width,N.height]}}catch(da){q.error=1}e.ln=q}b[c].A(g.dc(d.ln),"goog_update_data","u")}};
Dca=function(a){var b=zk,c=[];(0,g.H)(a,function(a){Bca(b,a.element)||(b.g.push(a),c.push(a))})};
Eca=function(a){var b=zk,c=[];(0,g.H)(a,function(a){null==g.gb(b.g,function(b){return b.element==a.element&&b.Sj==a.Sj})&&(b.g.push(a),c.push(a))})};
Lk=function(a,b){var c=a.O;lj&&(c+=b-mj);return c};
Aca=function(a){return(0,g.Hk)(Gk(a),function(a){return a.jf})};
Fca=function(a){var b=[];g.Ob(a,function(a,d){d in Object.prototype||"undefined"==typeof a||(g.xa(a)&&(a=a.join(",")),b.push([d,"=",a].join("")))});
return b.join("&")};
Gca=function(){var a=g.Lb;return a?(0,g.Hk)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return Ra(a,b)})?!0:Ra(a,"Presto")&&Ra(a,"Linux")&&!Ra(a,"X11")&&!Ra(a,"Android")&&!Ra(a,"Mobi"):!1};
Mk=function(){return Ra(g.Lb,"CrKey")||Ra(g.Lb,"PlayStation")||Ra(g.Lb,"Roku")||Gca()||Ra(g.Lb,"Xbox")};
Hca=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("&")};
Nk=function(a){return function(b){return!g.t(b[a])&&g.t(0)?0:b[a]}};
Pk=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.xa(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.t(a)?Ok(c,a):c}}};
Qk=function(a,b){return function(c){c=c[a];if(g.xa(c))return Ok(c,b)}};
Ok=function(a,b){return(0,g.Ld)(a,function(a,d){return g.lb(b,d)})};
Rk=function(){this.A=new ok(0,"");this.I=4;this.g=[];this.o=[];this.G=!1;this.J=this.B=0;this.D=this.C="";this.N=0;this.F=new g.gd(0,0);this.L=new g.Zg(0,0,0,0)};
Ica=function(){var a=0,b=O;try{if(b&&b.Goog_AdSense_getAdAdapterInstance)return b}catch(c){}for(;b&&5>a;){try{if(b.google_osd_static_frame)return b}catch(c){}try{if(b.aswift_0&&b.aswift_0.google_osd_static_frame)return b.aswift_0}catch(c){}a++;b=b!=b.parent?b.parent:null}return null};
Jca=function(a,b,c,d,e,f){d=void 0===d?!1:d;e=void 0===e?"":e;f=void 0===f?!1:f;var k={};pk(b,k);k[0]="goog_request_monitoring";k[6]=a;k[27]=O.document.domain;k[16]=d;e&&e.length&&(k[19]=e);f&&(k[28]=f);try{var l=qk(k);c.postMessage(l,"*")}catch(m){}};
Kca=function(a,b,c,d,e,f){d=void 0===d?!1:d;e=void 0===e?"":e;f=void 0===f?function(){return null}:f;
var k=void 0===k?!1:k;10<a.J?(O.clearInterval(a.B),f()):(++a.J,O.postMessage&&c.ed()?(a=Ica())&&Jca(b,c,a,d,e,k):(O.clearInterval(a.B),f()))};
Rca=function(a){a.A.ed()||Sk(a);Oi(g.v,"message",function(b){if(null!=b&&b.data&&g.u(b.data)){var c=b.data;if(g.u(c)){var d={};c=c.split("\n");for(var e=0;e<c.length;e++){var f=c[e].indexOf("=");if(!(0>=f)){var k=Number(c[e].substr(0,f));f=c[e].substr(f+1);switch(k){case 5:case 8:case 11:case 15:case 16:case 18:case 26:f="true"==f;break;case 4:case 7:case 6:case 14:case 20:case 21:case 22:case 23:case 24:case 25:f=Number(f);break;case 3:case 19:if(g.za(window.decodeURIComponent))try{f=(0,window.decodeURIComponent)(f)}catch(m){throw Error("Error: URI malformed: "+
f);}break;case 17:f=(0,g.J)((0,window.decodeURIComponent)(f).split(","),Number)}d[k]=f}}d=d[0]?d:null}else d=null;if(d&&a.A.match(new ok(d[4],d[12]))&&(O.clearInterval(a.B),a.o.length||a.g.length))switch(c=d[0],e=100*d[25],g.ta(e)&&!(0,window.isNaN)(e)&&Lca(a,e),e=!1,(0,window.isNaN)(d[22])||(0,window.isNaN)(d[23])||(e=!0,a.F=new g.gd(d[22],d[23])),k=d[7],g.ta(k)&&(e=!0,a.N=k,d[9]&&(k=d[9].split("-"),4==k.length&&(a.L=new g.Zg(bb(k[0]),bb(k[3]),bb(k[2]),bb(k[1]))))),e&&Mca(a,a.F,a.L),d[3]&&(a.C=d[3]),
e=!!d[5],k=!!d[11],c){case "goog_acknowledge_monitoring":Nca(a,!!d[8]);break;case "goog_get_mode":d={};pk(a.A,d);d[0]="goog_provide_mode";d[6]=a.I;d[19]=a.D;d[16]=a.G;try{var l=qk(d);b.source.postMessage(l,b.origin)}catch(m){}break;case "goog_image_request":Oca(a,e,k,a.C);case "goog_update_data":b=!!d[15]&&"goog_update_data"==c,e&&Pca(a,b,a.C),k&&Qca(a,a.C)}}},118);
a.B=O.setInterval(Mi(197,function(){Kca(a,a.I,a.A,a.G,a.D,function(){Sk(a)})}),500)};
Sk=function(a){(0,g.H)(a.g,function(a){Xj.getInstance().B=!1;Tk(a)})};
Nca=function(a,b){(0,g.H)(a.g,function(a){var c=Xj.getInstance();b?(c.B=!1,Tk(a)):Ak()})};
Mca=function(a,b,c){(0,g.H)(a.g,function(){var a=Xj.getInstance();a.g=b;a.C=c})};
Lca=function(a,b){(0,g.H)(a.o,function(a){a.g(b)})};
Oca=function(a,b,c,d){(0,g.H)(a.o,function(a){a.o(b,c,d)})};
Pca=function(a,b,c){(0,g.H)(a.o,function(a){a.B(b,c)})};
Qca=function(a,b){(0,g.H)(a.o,function(a){a.A(b)})};
Uk=function(){this.o=this.F=!1;this.I="h";var a={};this.J=(a.start=this.xJ,a.firstquartile=this.lJ,a.midpoint=this.qJ,a.thirdquartile=this.yJ,a.complete=this.hJ,a.pause=this.tJ,a.resume=this.vJ,a.skip=this.wJ,a.viewable_impression=this.AJ,a.mute=this.rJ,a.unmute=this.zJ,a.fullscreen=this.mJ,a.exitfullscreen=this.kJ,a.fully_viewable_audible_half_duration_impression=this.nJ,a.measurable_impression=this.pJ,a.abandon=this.gJ,a.engagedview=this.jJ,a.impression=this.oJ,a.creativeview=this.iJ,a.progress=
this.uJ,a);a={};this.L=(a.overlay_resize=this.sJ,a.abandon=this.zr,a.close=this.zr,a.collapse=this.zr,a.overlay_unmeasurable_impression=function(a){return nk(a,"overlay_unmeasurable_impression")},a.overlay_viewable_immediate_impression=function(a){return nk(a,"overlay_viewable_immediate_impression")},a.overlay_unviewable_impression=function(a){return nk(a,"overlay_unviewable_impression")},a.overlay_viewable_end_of_session_impression=function(a){return nk(a,"overlay_viewable_end_of_session_impression")},
a);
Xj.getInstance().J=3};
Tk=function(a){var b;if(b=null!=O.IntersectionObserver)if(b=Jk(O,"nio",Gk(zk)))Xj.getInstance().Fb="nio";if(b)Ak();else if(bj()&&Kk())Ak();else{if(g.qh&&g.ta(O.screenX)&&g.ta(O.mozInnerScreenX)&&g.ta(O.outerWidth)){b=zk;var c=O.navigator.userAgent;var d=c.indexOf("Firefox/");if(0<=d){d=Math.floor(c.substr(d+8))||-1;var e=c.indexOf("Mac OS X 10."),f=-1;0<=e&&(f=Number(c.substr(e+12,1))||-1);var k=0<f?-1:c.indexOf("Windows NT ");e=-1;0<=k&&(e={"6.0":0,"6.1":1,"6.2":2}[c.substr(k+11,3)]||-1);c=148;5<=
f?c=4<=d?108:3<=d?127:108:0<=e&&(16==d||17==d||18==d)&&(c=[[146,146,146],[148,147,148],[131,130,136]][e][d-16])}else c=null;null!==c&&(b.G=c,Xj.getInstance().Fb="xde");b=!0}else b=!1;b?Ak():(g.vd&&g.rc(8)&&g.za(Si())?(Xj.getInstance().Fb="iem",b=!0):b=!1,b?Ak():Zi()&&Cca(O,zk.g,(0,g.A)(a.ry,a))?Ak():(Ck(zk),Wk="i",zk.done=!0))}};
$k=function(a,b){if(!a.mD){var c=nk(a,"start");c=Xk(c,Yk);var d=Zk||O,e=[];e.push("v=606v");e.push("r="+b);var f=0;"swf"==Xj.getInstance().Fb&&(f=1);e.push("efm="+f);e.push(c);e.push(Hca(d));di(O,("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&")).substring(0,2E3),void 0);a.mD=!0}};
al=function(a,b,c,d){Ek(zk,[a],!Fk(zk),d);mk(a,c);b=nk(a,b);4!=c&&lk(a.G,c,a.Jn);return b};
bl=function(a,b,c){var d=a.ce();d.sa=Cj(d,jj(),!!a.C);Ek(zk,[a],!Fk(zk),c);a.C=!0;return nk(a,b)};
Sca=function(a,b,c){if(!b.vD){"i"!=Wk&&(zk.done=!1);var d=Wj.getInstance();null!=d.g&&kca(b,null!=d.g?d.g:null);gk(b,O,Xj.getInstance().Fb,function(b){return a.ry(b)});
d=g.t(c)?c.opt_nativeTime:void 0;nj=d=g.ta(d)?d:jj();b.bi=!0;var e=Fk(zk);rca(b,d,e);Ek(zk,[b],!e,c)}};
cl=function(a,b){if(g.u(b)){if(1==a)var c=zk.g;else if(2==a)c=zk.A;else return;var d=g.fb(c,function(c){return c.Od()!=a?!1:c.Oc==b});
0<=d&&(mca(c[d]),g.rb(c,d))}};
Tca=function(a,b,c,d){var e=g.gb(zk.g,function(a){return a.element==c});
null!==e&&e.Oc!=b&&(cl(1,e.Oc),e=null);e||(e=dl(a,c),e.Oc=b,e.wf=a.I,d&&(e.Hi=d));return e};
dl=function(a,b){var c=new hk(O,b,-1,7);c.Cs=(0,g.A)(a.Un,a);0==zk.A.length&&(Xj.getInstance().I=79463069);Eca([c]);Ak();return c};
Uca=function(a,b){var c=Yb(el,function(b){return b==a}),d={};
c=(d.sv="606",d.cb="j",d.e=fl[c],d);d=nk(b,a);g.gc(c,d);b.yz[a]=d;return 2==b.Od()?wca(c).join("&"):Xk(c,Yk)};
Xk=function(a,b,c,d,e){var f={};if(g.t(a))if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.za(l)?f[k]=l(a):f[k]=a[l])}else g.gc(f,a);g.t(c)&&g.gc(f,c);a=Fca(f);0<a.length&&g.t(d)&&g.t(e)&&(e=e(a),a+="&"+d+"="+e);return a};
hl=function(a,b){var c={sv:"606",cb:"j"};c.nas=zk.g.length;c.msg=a;if(g.t(b)){var d=gl(b);d&&(c.e=fl[d])}return c};
gl=function(a){var b=a.toLowerCase();return Yb(el,function(a){return a==b})};
Vca=function(a,b){b.I=0;for(var c in il)null==a[c]&&(b.I|=il[c]);jl(a,"currentTime");jl(a,"duration")};
jl=function(a,b){var c=a[b];g.t(c)&&(a[b]=Math.floor(1E3*c))};
kl=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
ml=function(a){return!!(1<<a&ll)};
$ca=function(){try{Wca()}catch(d){}var a="a=1&b="+ll+"&",b=[],c=99;(0,g.H)(Xca,function(a,c){var d=!1;try{d=a(O)}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)(Yca,function(b){var d="false";try{d=b(O)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.H)(Zca,function(b){var d="";try{var f=b(O);d=g.he(g.de(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
Wca=function(){if(!nl){var a=function(){ol=!0;O.document.removeEventListener("webdriver-evaluate",a,!0)};
O.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){pl=!0;O.document.removeEventListener("webdriver-evaluate-response",b,!0)};
O.document.addEventListener("webdriver-evaluate-response",b,!0);nl=!0}};
ql=function(){this.o=64;this.g=Array(4);this.C=Array(this.o);this.B=this.A=0;this.reset()};
rl=function(a,b,c){c||(c=0);var d=Array(16);if(g.u(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^
b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+
(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<<5&4294967295|
k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(k<<20&4294967295|
k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(k<<14&4294967295|
k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^
b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+3873151461&4294967295;
f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649&4294967295;
c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
tl=function(a){var b=a||qi();a=b.length-1;var c=ri(b);b=c.g;var d=c.o;c=[];d?(b&&c.push(sl(a,[d.url,2],0,[b.url,0],b.depth)),c.push(sl(a,[d.url,2],0))):b.url&&(c.push(sl(a,void 0,void 0,[b.url,0],b.depth)),(d=(d=ada.exec(b.url))&&d[0]||"")&&c.push(sl(a,[d,1],b.depth)));c.push(sl(a));return c};
sl=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};
ul=function(){var a=tl();return(0,g.J)(a,function(a){return ui(a)})};
vl=function(){Uk.call(this);this.A=void 0;this.B=this.G=this.C=null;this.g=!1;this.D={};var a=wj.getInstance();g.lb(a.g,509445015)&&"exc"!=Xj.getInstance().Fb&&(this.g=!0,this.G=new Lba)};
wl=function(a,b,c,d){d=new hk(O,null,d,7);d.wf=c;d.Cs=function(b){a.Un(b)};
Dca([d]);d.Oc=b;return d};
bda=function(a,b,c){var d=Ik(b);d||(d=wl(a,b,"m",c.opt_nativeTime||-1));return d};
cda=function(a,b,c){var d=Ik(b);d||(d=wl(a,b,"n",c.opt_nativeTime||-1),d.J=Xj.getInstance().F);return d};
dda=function(a,b){var c=Ik(b);c||(c=wl(a,b,"h",-1));return c};
fda=function(a,b,c){var d=g.gb(zk.g,function(a){return a.element?xl(a.element,c)==b&&a.Sj==c:!1});
null!==d&&d.Oc!=b&&(cl(1,d.Oc),d=void 0);if(d)return d;d=eda(c);if(d=g.gb(d,function(a){return xl(a,c)==b}))return d=dl(a,d),d.wf="as",d.Oc=b,d.Sj=c,d};
eda=function(a){var b=O.document,c=g.Kb((0,g.J)(["embed","object"],function(a){return g.vb(b.getElementsByTagName(a))})),d="metricID"+a;
return c=(0,g.Ld)(c,function(a){if(!a||!g.Aa(a)||1!=a.nodeType||!g.za(a.getBoundingClientRect))return!1;var b=a.getBoundingClientRect();return 0!=b.width&&0!=b.height&&a[d]&&g.za(a[d])?!0:!1})};
xl=function(a,b){var c="metricID"+b;if(!a||!a[c]||!g.za(a[c]))return null;try{var d=a[c]()}catch(e){return null}return d.queryID};
yl=function(a,b,c){var d=Xj.getInstance();switch(b.wf){case "b":var e=g.x("ytads.bulleit.triggerExternalActivityEvent");break;case "h":var f=wj.getInstance();if("exc"==d.Fb)e=g.x("ima.bridge.triggerExternalActivityEvent");else if(b.Hi&&g.lb(f.g,495644004)){var k=a.D[b.Hi];k?e=function(a,b,c){k.o(a,b,c)}:Ni("lidar::missingPlayerCallback",Error())}else e=g.x("ima.common.triggerExternalActivityEvent");
break;case "m":e=g.x("ima.common.triggerExternalActivityEvent");break;case "n":e=g.x("ima.bridge.triggerExternalActivityEvent");break;case "as":var l="triggerExternalActivityEvent"+b.Sj;b.element&&g.za(b.element[l])&&(e=function(a,c,d){b.element[l](d)});
break;default:return b.Nh|=4,!1}if(g.za(e)){a=Uca(c,b);try{return e(b.Oc,a,c),!0}catch(m){b.Nh|=2}}else b.Nh|=1;return!1};
gda=function(a){return g.Pb(g.dc(a||{}),function(a,c){return"qmtos"==c||"qnc"==c||"qmv"==c||"qnv"==c?!1:!0})};
Al=function(a,b,c){var d={};d.viewability=c?Xk(b,Yk):Xk(gda(b),Yk);c=ll=(new Date).getTime();var e=ml(5);c=(ol?!e:e)?c|2:c&-3;e=ml(2);c=(pl?!e:e)?c|8:c&-9;c={s1:(c>>>0).toString(16)};a.C||(a.C=$ca());d.moatInit=a.C;d.moatViewability=Xk(b,hda,c,"h",zl("kArwaWEsTs"));d.integralAdsViewability=Xk(b,ida,{},"h",zl("b96YPMzfnx"));d.doubleVerifyViewability=Xk(b,jda,{},"h",zl("yb8Wev6QDg"));d.googleViewability=Xk(b,kda);return d};
lda=function(a,b,c){a=Xj.getInstance();if(a.F!=b){a.F=b;var d=(0,g.Hk)(zk.g,function(a){return a.sa});
(0,g.H)(zk.g,function(a){b||d||(a.oh=c);a.J=b;a.sa=!1})}};
Bl=function(a,b){var c=wj.getInstance(),d;if(b.Hi&&g.lb(c.g,495644004)){var e=a.D[b.Hi];e?d=function(a,b){e.A(a,b)}:Ni("lidar::missingPlayerCallback",Error())}else d=g.x("ima.common.triggerViewabilityMeasurementUpdate");
g.za(d)&&(c=sca(b),c.nativeVolume=a.A,a.g&&(c.userActivity=a.B),d(b.Oc,c))};
El=function(a){var b=a.B,c={};a.g&&b&&(b.o&&0<b.o&&(c.pnc=b.o),b.g&&0<b.g&&(c.pns=b.g),b.B&&0<b.B&&(c.pnmm=b.B),b.A&&0<b.A&&(c.pnk=b.A),c.ptlt=b.C);return c};
zl=function(a){return function(b){var c=new ql;c.update(b+a);return Saa(c.digest()).slice(-8)}};
Gl=function(a,b,c){var d=vl.getInstance(),e={};g.gc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c||{});if(e.opt_bounds)a=Al(d,hl("ol",a),!1);else{b:{if(gl(a)){if(Fl){e=hl("ue",a);break b}b=d.Mn(b,e);if(!b){e=hl("nf",a);break b}if(!d.F){d.F=!0;try{var f=jj(),k=Xj.getInstance();kj=f;Zk=rk(O).Fu;Bk(zk,!1);var l=Xj.getInstance();O.screen&&(l.D=new g.gd(O.screen.width,O.screen.height));if("nis"!=k.Fb&&"gsv"!=k.Fb)if(O.document.body&&O.document.body.getBoundingClientRect)if(zk.o.hw=0,zk.o.Yr=jj()-f,
Wj.getInstance(),!k.o&&bj()&&Kk())Ak();else if(k.o&&"exc"!=k.Fb)if(k.B){var m=Rk.getInstance();g.lb(m.g,d)||m.g.push(d);Rca(m)}else Tk(d);else Ak();else Fl=!0}catch(q){throw zk.reset(),q;}}"i"==Wk&&(b.nh=!0,d.Vt(b));f=e.opt_fullscreen;g.t(f)&&(b.jf=!!f);Mk()?f=!1:(f=Xj.getInstance().Fb,f=O&&O.g||"nis"===f||"gsv"===f?!1:0===Pi());if(k=f){switch(b.Od()){case 1:$k(b,"pvu");break;case 2:d.Qt(b)}Ck(zk);Wk="pvu";zk.done=!0}f=a.toLowerCase();!k&&g.lb(mda,f)&&(Sca(d,b,e),d.ly(b));(k=b.Ti[f])&&b.Jc.Da(k);
switch(b.Od()){case 1:var n=d.J[f];break;case 2:n=d.L[f]}if(n&&(e=n.call(d,b,e),g.t(e))){n=hl(void 0,f);g.gc(n,e);e=n;break b}}e=void 0}e&&g.gc(e,El(d));a=Al(d,e,"firstquartile"==a||"midpoint"==a||"thirdquartile"==a||"complete"==a||"skip"==a||"abandon"==a?!0:!1)}return a};
Hl=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");c="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+
1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
nda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0}
function b(a){for(var b=k,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],l=e[3],m=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=l^d&(f^l);var q=1518500249}else n=d^f^l,q=1859775393;else 60>c?(n=d&f|l&(d|f),q=2400959708):(n=d^f^l,q=3395469782);n=((a<<5|a>>>27)&4294967295)+n+m+q+b[c]&4294967295;m=l;l=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=
e[2]+f&4294967295;e[3]=e[3]+l&4294967295;e[4]=e[4]+m&4294967295}
function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,k=a.length;e<k;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==n)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,q+=64;for(;d<c;)if(f[n++]=a[d++],q++,64==n)for(n=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,q+=64}
function d(){var a=[],d=8*q;56>n?c(l,56-n):c(l,64-(n-56));for(var k=63;56<=k;k--)f[k]=d&255,d>>>=8;b(f);for(k=d=0;5>k;k++)for(var m=24;0<=m;m-=8)a[d++]=e[k]>>m&255;return a}
for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,q;a();return{reset:a,update:c,digest:d,ZH: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}}};
oda=function(a,b,c){var d=[],e=[];if(1==(g.xa(c)?2:1))return e=[b,a],(0,g.H)(d,function(a){e.push(a)}),Il(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.nb(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.H)(d,function(a){e.push(a)});
a=Il(e.join(" "));a=[c,a];g.nb(k)||a.push(k.join(""));return a.join("_")};
Il=function(a){var b=nda();b.update(a);return b.ZH().toLowerCase()};
g.Jl=function(){var a=[],b=Hl(String(g.v.location.href)),c=g.v.__OVERRIDE_SID;null==c&&(c=(new Dg(window.document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.v.__SAPISID:g.v.__APISID,null==b&&(b=(new Dg(window.document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.v.location.href);return d&&b&&c?[c,oda(Hl(d),b,a||null)].join(" "):null}return null};
Kl=function(){};
Ml=function(a){if(a instanceof Kl)return a;if("function"==typeof a.Xd)return a.Xd(!1);if(g.ya(a)){var b=0,c=new Kl;c.next=function(){for(;;){if(b>=a.length)throw Ll;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.Nl=function(a,b,c){if(g.ya(a))try{(0,g.H)(a,b,c)}catch(d){if(d!==Ll)throw d;}else{a=Ml(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Ll)throw d;}}};
pda=function(a){if(g.ya(a))return g.vb(a);a=Ml(a);var b=[];g.Nl(a,function(a){b.push(a)});
return b};
Ol=function(a,b){this.o={};this.g=[];this.Mh=this.La=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 Ol?(c=a.Db(),d=a.sb()):(c=g.Ub(a),d=g.Tb(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}};
Ql=function(a,b){return Pl(a.o,b)};
Rl=function(a){var b,c;if(a.La!=a.g.length){for(b=c=0;c<a.g.length;){var d=a.g[c];Pl(a.o,d)&&(a.g[b++]=d);c++}a.g.length=b}if(a.La!=a.g.length){var e={};for(b=c=0;c<a.g.length;)d=a.g[c],Pl(e,d)||(a.g[b++]=d,e[d]=1),c++;a.g.length=b}};
Pl=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Sl=function(a){if(a.sb&&"function"==typeof a.sb)return a.sb();if(g.u(a))return a.split("");if(g.ya(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Tb(a)};
Tl=function(a){if(a.Db&&"function"==typeof a.Db)return a.Db();if(!a.sb||"function"!=typeof a.sb){if(g.ya(a)||g.u(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Ub(a)}};
qda=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.ya(a)||g.u(a))(0,g.H)(a,b,void 0);else for(var c=Tl(a),d=Sl(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.Ul=function(a,b){this.o=this.G=this.B="";this.C=null;this.I=this.A="";this.D=!1;var c;a instanceof g.Ul?(this.D=g.t(b)?b:a.D,Vl(this,a.B),this.G=a.G,g.Wl(this,a.o),g.Xl(this,a.C),g.Yl(this,a.A),Zl(this,a.g.clone()),this.I=a.hi()):a&&(c=g.Gg(String(a)))?(this.D=!!b,Vl(this,c[1]||"",!0),this.G=$l(c[2]||""),g.Wl(this,c[3]||"",!0),g.Xl(this,c[4]),g.Yl(this,c[5]||"",!0),Zl(this,c[6]||"",!0),this.I=$l(c[7]||"")):(this.D=!!b,this.g=new g.am(null,0,this.D))};
Vl=function(a,b,c){a.B=c?$l(b,!0):b;a.B&&(a.B=a.B.replace(/:$/,""))};
g.Wl=function(a,b,c){a.o=c?$l(b,!0):b;return a};
g.Xl=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.Yl=function(a,b,c){a.A=c?$l(b,!0):b};
Zl=function(a,b,c){b instanceof g.am?(a.g=b,rda(a.g,a.D)):(c||(b=bm(b,sda)),a.g=new g.am(b,0,a.D));return a};
g.cm=function(a,b,c){a.g.set(b,c);return a};
em=function(a,b,c){g.xa(c)||(c=[String(c)]);dm(a.g,b,c)};
fm=function(a){g.cm(a,"zx",g.Va());return a};
g.gm=function(a){return a instanceof g.Ul?a.clone():new g.Ul(a,void 0)};
tda=function(a,b,c,d){var e=new g.Ul(null,void 0);a&&Vl(e,a);b&&g.Wl(e,b);c&&g.Xl(e,c);d&&g.Yl(e,d);return e};
$l=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
bm=function(a,b,c){return g.u(a)?(a=(0,window.encodeURI)(a).replace(b,uda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
uda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.am=function(a,b,c){this.La=this.g=null;this.o=a||null;this.A=!!c};
im=function(a){a.g||(a.g=new Ol,a.La=0,a.o&&Kg(a.o,function(b,c){hm(a,Na(b),c)}))};
jm=function(a){var b=Tl(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.am(null,0,void 0);a=Sl(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.xa(f)?dm(c,e,f):hm(c,e,f)}return c};
hm=function(a,b,c){im(a);a.o=null;b=km(a,b);var d=a.g.get(b);d||a.g.set(b,d=[]);d.push(c);a.La=a.La+1};
lm=function(a,b){im(a);b=km(a,b);return Ql(a.g,b)};
dm=function(a,b,c){a.remove(b);0<c.length&&(a.o=null,a.g.set(km(a,b),g.vb(c)),a.La=a.La+c.length)};
km=function(a,b){var c=String(b);a.A&&(c=c.toLowerCase());return c};
rda=function(a,b){b&&!a.A&&(im(a),a.o=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),dm(this,c,a))},a));
a.A=b};
g.mm=function(a){g.K.call(this);this.B=a;this.o={}};
om=function(a,b,c,d,e){nm(a,b,c,d,!1,e)};
nm=function(a,b,c,d,e,f){g.xa(c)||(c&&(pm[0]=c.toString()),c=pm);for(var k=0;k<c.length;k++){var l=g.rf(b,c[k],d||a.handleEvent,e||!1,f||a.B||a);if(!l)break;a.o[l.key]=l}return a};
rm=function(a,b,c,d,e){qm(a,b,c,d,!1,e)};
qm=function(a,b,c,d,e,f){if(g.xa(c))for(var k=0;k<c.length;k++)qm(a,b,c[k],d,e,f);else{b=qf(b,c,d||a.handleEvent,e,f||a.B||a);if(!b)return a;a.o[b.key]=b}return a};
sm=function(a){g.Ob(a.o,function(a,c){this.o.hasOwnProperty(c)&&g.Af(a)},a);
a.o={}};
tm=function(a,b,c){g.K.call(this);this.o=a;this.A=b;this.D=c;this.C=0;this.g=new g.mm(this);vda(this)};
vda=function(a){a.D.forEach(function(a,c){this.g.U(c,"mousedown",this.F);this.g.U(c,"mouseup",this.I)},a);
a.g.U(a.A,"mouseover",a.G)};
um=function(){};
g.vm=function(a,b){return a.replace(wda,function(a,d){try{var c=cc(b,d);if(null==c)return a;c=c.toString();if(""==c||!E(g.F(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
xm=function(a,b){var c=[],d="",e="";if(null!=b){d=b;e=[];for(var f=0;d&&25>f;++f){a:{if(d&&d.nodeName&&d.parentElement){var k=d.nodeName.toString().toLowerCase();for(var l=d.parentElement.childNodes,m=0,n=0;n<l.length;++n){var q=l[n];if(q.nodeName&&q.nodeName.toString().toLowerCase()===k){if(d===q){k="."+m;break a}++m}}}k=""}e.push((d.nodeName&&d.nodeName.toString().toLowerCase())+""+k);d=d.parentElement}d=e.join();if(b){e=(e=b.ownerDocument)&&(e.defaultView||e.parentWindow)||null;f=[];if(e)try{var r=
e.parent;for(k=0;r&&r!==e&&25>k;++k){var w=r.frames;for(l=0;l<w.length;++l)if(e===w[l]){f.push(l);break}e=r;r=e.parent}}catch(z){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(r=0;r<wm.length-1;++r)c.push(Tg(a,wm[r])||"");r=Tg(a,"videoad_start_delay");w="";r&&(r=(0,window.parseInt)(r,10),w=0>r?"postroll":0==r?"preroll":"midroll");c.push(w)}else for(r=0;r<wm.length;++r)c.push("");c=c.join(":");r=c.length;if(0==r)c=0;else{w=305419896;for(d=0;d<r;d++)w^=(w<<5)+(w>>2)+c.charCodeAt(d)&4294967295;c=
0<w?w:4294967296+w}return c.toString()};
ym=function(a,b,c){this.g=a;this.o=b;this.A=c};
zm=function(a,b){this.g=a;this.eg=b};
Am=function(a,b){g.cf.call(this,"adError");this.A=a;this.g=b?b:null};
Bm=function(a,b,c){g.cf.call(this,a);this.A=b;this.g=null!=c?c:null};
xda=function(a){this.g=a};
yda=function(){var a=Cm();return Dm(a,"disableExperiments")};
Dm=function(a,b){if(Xb(a.g,b)){var c=a.g[b];if(g.sa(c))return c}return!1};
zda=function(a){if(Xb(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.xa(a)&&(0,g.H)(a,function(a){g.ta(a)&&(b[c++]=a)});
return b}return null};
Em=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
Fm=function(){this.B="always";this.N=4;this.F=1;this.o=this.L=this.C=!1;this.ba=this.J=!0;this.A=this.Y=!1;this.I=!0;this.O=null;this.ib=this.D=this.V=!1;try{this.aa=tl(void 0)[0]}catch(a){}};
Cm=function(){var a=P;if(null==a.O){var b={},c=(new g.Ul(yd().location.href)).g;if(lm(c,"tcnfp"))try{b=g.yg(c.get("tcnfp"))}catch(d){}a.O=new xda(b)}return a.O};
Ada=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}};
Gm=function(a){g.cf.call(this,a);this.F=[];this.D={};this.g=null;this.A=!0};
Hm=function(a,b,c){this.B=b;this.o=c;this.C=a;this.A=!0};
Im=function(){};
Jm=function(a,b,c,d){this.ya=a;this.g=g.$c(c||0,0,1);this.o=null!=d?d:!0};
Km=function(a){this.ya=a;this.o=new Ol;this.fb=this.g=null};
Bda=function(a){var b=Math.random(),c=0,d=a.o.sb();(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}};
Dda=function(){this.o=null!=g.v.G_testRunner;this.A=new Im;this.g=new Ol;P.g()||(Lm(this,"GvnExternalLayer",31061774,.01),Lm(this,"GvnExternalLayer",31061775,.01),Lm(this,"GvnExternalLayer",41351088,.01),Lm(this,"GvnExternalLayer",41351089,.01),Lm(this,"GvnExternalLayer",420706008,.05),Lm(this,"GvnExternalLayer",420706009,.05),Lm(this,"GvnExternalLayer",41351073,.01),Lm(this,"GvnExternalLayer",41351074,.01),Lm(this,"GvnExternalLayer",41351075,.01),Lm(this,"GvnExternalLayer",634360101,0),Lm(this,"GvnExternalLayer",
634360102,0),Lm(this,"GvnExternalLayer",21592080,.1),Lm(this,"GvnExternalLayer",21592081,.1),Lm(this,"GvnExternalLayer",21592082,.01),Lm(this,"GvnExternalLayer",413051059,.05),Lm(this,"GvnExternalLayer",413051060,.05),Lm(this,"GvnExternalLayer",324123E3,.05),Lm(this,"GvnExternalLayer",324123001,.05),Lm(this,"GvnExternalLayer",420706068,.01),Lm(this,"GvnExternalLayer",420706069,.01),Lm(this,"GvnExternalLayer",324123020,.01),Lm(this,"GvnExternalLayer",324123021,.01),Lm(this,"GvnExternalLayer",420706081,
.01),Lm(this,"GvnExternalLayer",420706082,.01),bj(!1)&&(Xh(O.top)?(Lm(this,"ActiveViewExternalLayer",509445010,.01),Lm(this,"ActiveViewExternalLayer",509445011,.01)):(Lm(this,"ActiveViewExternalLayer",509445012,.01),Lm(this,"ActiveViewExternalLayer",509445013,.01))));Cda(this);var a=Cm();a=zda(a);null!=a&&(this.o=!1,Mm(this,a.map(String)))};
Om=function(){Nm||(Nm=new Dda);return Nm};
Pm=function(){return Om().A};
Eda=function(a,b){a.A=b};
Fda=function(){var a=Om();(0,g.H)(a.g.Db(),function(a){g.Ka(a,"FORCED_PUB_EXP_LAYER_")&&this.g.remove(a)},a)};
Lm=function(a,b,c,d){E(g.F(b))||(0,window.isNaN)(c)||0>=c||(c=new Jm(c,0,d),Qm(a,b).o.set(c.getId(),c))};
Cda=function(a){yda()||(0,g.H)(a.g.sb(),function(a){Bda(a)},a)};
Mm=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||E(g.F(a))||(Qm(this,a).g=new Jm(b,0,0,!0))},a)};
Rm=function(a,b){return a.o?!1:(0,g.Hk)(a.g.sb(),function(a){return!!a.g&&a.g.getId()==b})};
Sm=function(a){if(a.o)return"";var b=[];(0,g.H)(a.g.sb(),function(a){(a=a.g)&&a.o&&b.push(a.getId())});
return b.sort().join(",")};
Qm=function(a,b){var c=a.g.get(b);null==c&&(c=new Km(b),a.g.set(b,c));return c};
Hda=function(){var a=[],b=Om();(0,g.H)(Gda,function(c){(c=(c=Qm(b,c))?c.g:null)&&a.push(c.getId())});
return a};
Um=function(a){return null!=a?Tm(Ida,a):!1};
Tm=function(a,b){try{var c=(new g.Ul(b)).o;c=c.replace(/^www./i,"");return(0,g.Hk)(a,function(a){return Jda(a,c)})}catch(d){return!1}};
Jda=function(a,b){if(E(g.F(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b};
Wm=function(a){var b=!1;Vm(a,Kda)?b=!1:Um(a)?b=!0:"https:"==window.location.protocol&&(Vm(a,Lda)||P.g())&&(b=!0);if(b){b=new g.Ul(a);if("https"==b.B)return a;Vl(b,"https");return b.toString()}return a};
Vm=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
Xm=function(a){if(E(g.F(a)))return!1;a=new g.Ul(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};
Ym=function(a){E(g.F(a))||window.open(a,"_blank")};
$m=function(a,b,c){null!=a?(g.cm(a,"label",b),null!=c&&g.cm(a,"value",c.join(";")),a=a.toString()):a="";Zm(a)};
an=function(a,b,c,d){null!=a&&null!=b&&(a=g.vm(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(E(g.F(e)))a=b;else{var f=new g.Ul(b);lm(f.g,"label")?(g.cm(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.vm(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
Zm=function(a,b,c,d){a=an(a,b,c,void 0);try{a=Wm(a);var e=Om(),f=!P.g()||Rm(e,41351089);b=!1;P.g()||!Rm(Om(),634360102)||(b=!0);null!=d&&d?bn.CC(a,f):P.I?bn.ET(a,f,b):bn.yC(a,f,b)}catch(k){}};
cn=function(a,b){null!=a&&(0,g.H)(a,function(a){Zm(a,b)})};
Mda=function(a,b){if(E(g.F(b)))return a;var c=new g.Ul(a),d=c.o;return null!=d&&La(d,".g.doubleclick.net")?(g.cm(c,"ged",b),c.toString()):a};
dn=function(a,b){this.message=a;this.errorCode=b};
fn=function(a,b,c){return en("adLoadError",a,b||null,g.xb(arguments,2))};
gn=function(a,b,c){return en("adPlayError",a,b||null,g.xb(arguments,2))};
hn=function(a,b,c,d,e){var f=a.apply(null,g.ub([c,d],g.xb(arguments,3)));b.dispatchEvent(new Bm("log",null,f))};
jn=function(a,b,c){hn(gn,a,b,c,void 0)};
en=function(a,b,c,d){if(c instanceof Hm)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 Hm(a,b,e);a.bl=c;return a};
kn=function(a,b,c,d){var e=gn.apply(null,g.ub([b,c],g.xb(arguments,3)));a.dispatchEvent(new Am(e))};
ln=function(a,b){g.cf.call(this,"vpaidEventType");this.g=a;this.data=b};
mn=function(){return vk()||uk()};
pn=function(){return nn&&!on||Ra(g.Lb,"iPod")};
qn=function(){return pn()||on};
tn=function(a){return qn()&&rn(sn,a)};
wn=function(a){return g.un&&rn(vn,a)};
rn=function(a,b){if(null==xn[b]){var c=yn(a);c?(c=c.replace(/_/g,"."),xn[b]=0<=g.Ya(c,b)):xn[b]=!1}return xn[b]};
yn=function(a){E(zn)&&(a=a.exec(g.Lb))&&(zn=a[1]);return zn};
An=function(){var a=g.Lb;return a?Ra(a,"Nintendo WiiU"):!1};
Bn=function(){return nn&&!on&&tn(10)&&P.g()||!P.g()&&(nn&&!on&&tn(10),0)?!0:pn()||g.un&&!wn(4)||!P.g()&&Mk()?!1:!0};
Cn=function(){return P.o||qn()&&(nn&&!on&&tn(10),!0)||g.un&&!wn(4)||Mk()?!0:!1};
Dn=function(a){return!(null===a||a.rj()||P.g()||pn()||Mk()||g.un&&!wn(4))};
En=function(){this.reset()};
Fn=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};
Gn=function(a,b,c,d,e,f){g.u(a)?(this.B="y"==a?b:0,this.months="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.B=a||0,this.months=b||0,this.days=c||0,this.g=d||0,this.o=e||0,this.A=f||0)};
g.Jn=function(a,b,c){g.ta(a)?(this.date=Hn(a,b||0,c||1),In(this,c||1)):g.Aa(a)?(this.date=Hn(a.getFullYear(),a.getMonth(),a.getDate()),In(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),In(this,a))};
Hn=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
g.Kn=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.Ua(c,2)+":"+g.Ua(b,2)}return a};
In=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Ln=function(){this.o=this.g=null};
Nn=function(){this.g=Mn();this.L=-1;this.N=this.O=this.C=this.J=this.o=null;this.B=Mn();this.A=null;this.Y=this.F=this.I="";this.G=this.V=this.aa=this.D=null;this.ba=!1;this.ea=0};
Mn=function(){return Math.floor(4503599627370496*Math.random())};
On=function(a){null==a.C&&(a.C=new En);return a.C};
Pn=function(a){if(P.o)return"h.3.0.0";var b="h."+a.Y;null!=a.D&&(b+="/n."+a.D,null!=a.o&&(b+="/"+a.o));return b};
Qn=function(){this.g=.01>Math.random();this.o=Math.floor(4503599627370496*Math.random())};
Tn=function(a,b,c,d){if(a.g||d){c=c||{};c.lid=b;c.sdkv=Pn(Rn);b=Sm(Om());E(g.F(b))||(c.e=b);c=Nda(a,c);var e=new g.Ul("http://pagead2.googlesyndication.com/pagead/gen_204");g.Ob(c,function(a,b){g.cm(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a);
a=Sn();Vl(e,a.B);Zm(e.toString())}};
Nda=function(a,b){b.id="ima_html5";var c=Sn();b.c=a.o;b.domain=c.o;return b};
Sn=function(){var a=yd(),b=window.document;return new g.Ul(a.parent==a?a.location.href:b.referrer)};
Vn=function(){this.kf=Un()};
Un=function(){return P.g()||Rm(Om(),420706082)?15E3:8E3};
Wn=function(){g.Ff.call(this)};
Xn=function(){g.Ff.call(this);this.g=new Ol;this.o=null;this.I=new g.mm(this);g.L(this,this.I);this.C="";this.B=this.J=this.F=this.A=null;this.G=-1};
ao=function(){null!=Yn||(Yn=new Xn);return Yn};
bo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;ao().dispatchEvent(new Bm("measurable_impression",null,c))};
co=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;ao().dispatchEvent(new Bm("viewable_impression",null,c))};
eo=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;ao().dispatchEvent(new Bm("externalActivityEvent",null,d))};
Oda=function(a,b){if(a.o)if(a.B){var c=(0,g.G)()-a.G;b(a.B+"_ct"+c)}else{var d=a.g;c=window.setTimeout(function(){b("timeout");(0,g.H)(d.Db(),function(a){d.get(a)===b&&d.remove(a)})},200);
a.g.set(c,b);var e={};e.osdId=a.C;e.eventId=c;Qn.getInstance().isLoggingEnabled()&&(a.D=(0,g.G)(),e.loggingId=Math.random(),Tn(Qn.getInstance(),43,{step:"sendingMessage",logid:e.loggingId,time:a.D}));a.o.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
Pda=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.Ih(a.A));var f=a.g;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.H)(f.Db(),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({})};
fo=function(){};
io=function(a,b){if(null==a||0>=a.width||0>=a.height)throw gn(go,null,"ad slot size",a.toString());this.o=a;this.g=null!=b?b:new fo;this.C=ho(Qda,this.g.A)?this.g.A:"All";this.B=ho(Rda,this.g.creativeType)?this.g.creativeType:"All";this.F=ho(Sda,this.g.B)?this.g.B:"SelectExactMatch";this.G=ho(Tda,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};
ko=function(a,b){var c=[];(0,g.H)(b,function(a){a.Gy()&&((0,window.isNaN)(a.g.g)||(0,window.isNaN)(a.ar())||a.ar()==a.g.g)&&jo(this,a)?c.push(a):(a=Uda(this,a),null!=a&&a.Gy()&&c.push(a))},a);
return c};
jo=function(a,b){var c;if(c="Flash"!=b.md()||lo){if(c="All"==a.C||a.C==b.g.N)c=b.md(),c=null!=c?"All"==a.B||a.B==c:!0;c&&(c=b.o,c=g.nb(a.A)?!0:null!=c?0<=(0,g.kb)(a.A,c):!1)}if(c){var d=b.Yn();if("IgnoreSize"==a.F||g.hd(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:mo(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};
Uda=function(a,b){var c=b.A;return null!=c?g.gb(c,function(a){return jo(this,a)},a):null};
mo=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.gd(c*a.width,c*a.height)};
ho=function(a,b){return null!=b&&Sb(a,b)};
no=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)};
Vda=function(a){var b={};(0,g.H)(a.split(","),function(a){var c=a.split("=");2==c.length&&(a=Wa(c[0]),c=Wa(c[1]),0<a.length&&(b[a]=c))});
return b};
po=function(a,b){if(a[b])return oo(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return oo(a[d]);return!1};
oo=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Wda=function(){this.g=this.kg=1;this.o=this.B=0;this.A=1};
qo=function(){g.Ff.call(this);this.g=null;this.D=new g.mm(this);g.L(this,this.D);this.o=new Ol;this.F=new Ol;this.B=null;this.A=!1;this.C=null};
so=function(){null!=ro||(ro=new qo);return ro};
uo=function(a){if(null==a)return!1;if(pn()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=to(a);return 0>=b-a.width&&42>=c-a.height};
to=function(a){return g.za(a.getBoundingClientRect)&&g.Rd(g.jd(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
vo=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):P.G)null!=e.opt_fullscreen||(e.opt_fullscreen=uo(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.B&&(P.o&&(e.opt_overlayAdElement=a.B),null!=e.opt_bounds||(e.opt_bounds=to(a.B)));return Li("lidar::handlevast_html5",g.Ga(Gl,b,c,e))||{}}return{}};
wo=function(a,b){var c=[];a.o.forEach(g.Ga(function(a,b,c,k){c==b&&a.push(k)},c,b));
(0,g.H)(c,a.o.remove,a.o)};
xo=function(a){if(g.za(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}};
Xda=function(){if(!(g.v.ima&&g.v.ima.video&&g.v.ima.video.client&&g.v.ima.video.client.tagged)){g.ua("ima.video.client.sdkTag",!0,void 0);var a=g.v.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)}};
Yda=function(a,b,c){if(!P.J)return"";var d=b?a.F.get(b):P.G;a={};null!=c&&(a.fullscreen=c);c="";try{c=xba(function(){return d},a)}catch(e){c="sdktle;"+Pa(e.name,12)+";"+Pa(e.message,40)}return c};
yo=function(a,b){g.cf.call(this,a);this.g=b};
zo=function(a,b){this.I=a;this.G=(0,g.J)(b,function(a){return a.clone()});
this.F="";this.g=null;this.o=this.B=0;this.A=!0;this.D=[];this.C=[]};
Ao=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=[]};
Bo=function(a){a.F="";a.g=null;a.B=0;a.o=0;a.A=!0;a.D=[];a.C=[]};
Co=function(a){g.cf.call(this,a)};
Do=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.Wb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.g=g.Wb(a,"image","bannerImageUrl")}};
g.Eo=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.Fo=function(a,b){var c=a.o(b,void 0);return-1==(0==c?a.g:c)?"rtl":"ltr"};
Go=function(){throw Error("Do not instantiate directly");};
Ho=function(a,b){this.content=String(a);this.wg=null!=b?b:null};
Io=function(){Go.call(this)};
Jo=function(){Go.call(this)};
Ko=function(){Go.call(this)};
Lo=function(){Go.call(this)};
Mo=function(){Go.call(this)};
No=function(){Go.call(this)};
Oo=function(a,b){return null!=a&&a.Ff===b};
Po=function(a){if(null!=a)switch(a.wg){case 1:return 1;case -1:return-1;case 0:return 0}return null};
Q=function(a){return null!=a&&a.Ff===Qo?a:a instanceof g.Pc?Ro(g.Rc(a),a.ij()):Ro(Oa(String(String(a))),Po(a))};
So=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a){return new b(String(a))}};
Vo=function(a,b,c){var d="key_"+a+":"+b,e=To[d];if(void 0===e||0>e)To[d]=0,Uo[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
Wo=function(a,b){var c=Uo["key_"+a+":"+b];c||""==b||(c=Uo["key_"+a+":"]);return c?c:Zda;throw Error('Found no active impl for delegate call to "'+a+":"+b+'" (and not allowemptydefault="true").');};
Zda=function(){return""};
R=function(a){return Oo(a,Qo)?String(String(a.ld()).replace(Xo,"").replace(Yo,"&lt;")).replace($da,Zo):Oa(String(a))};
$o=function(a){return Oo(a,Qo)?String(String(a.ld()).replace(Xo,"").replace(Yo,"&lt;")).replace(aea,Zo):String(a).replace(bea,Zo)};
cea=function(a){return"%"+a.charCodeAt(0).toString(16)};
bp=function(a){a=g.Ma(String(a));ap.lastIndex=0;return ap.test(a)?a.replace(ap,cea):a};
hp=function(a){if(Oo(a,cp)||Oo(a,dp))return ep(a);a instanceof Ec?a=ep(Fc(a)):a instanceof Ac?a=ep(Bc(a)):(a=String(a),a=dea.test(a)?a.replace(fp,gp):"about:invalid#zSoyz");return a};
ip=function(a){if(Oo(a,cp)||Oo(a,dp))return ep(a);a instanceof Ec?a=ep(Fc(a)):a instanceof Ac?a=ep(Bc(a)):(a=String(a),a=eea.test(a)?a.replace(fp,gp):"about:invalid#zSoyz");return a};
kp=function(a){var b=jp[1]||(jp[1]=new g.Eo(1)),c=Po(a);null==c&&(c=yc(a+"",Oo(a,Qo)));return fea(c!=b.g?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
Zo=function(a){return gea[a]};
gp=function(a){return hea[a]};
ep=function(a){return String(a).replace(fp,gp)};
iea=function(a){return'<div class="'+Q("text-container")+" "+(a.image?Q("pyv"):"")+'"><div class="'+Q("text-inner-container")+'">'+(a.image?(a.Kc?'<a class="'+Q("text-image-link")+'" target="_blank" href="'+Q(a.Kc)+'">':'<a class="'+Q("text-image-link")+'" target="_blank">')+'<img src="'+Q(a.image)+'" class="'+Q("text-image")+" "+(a.uD?Q("yt-video-image"):"")+'">'+(a.duration?'<div class="'+Q("text-image-duration")+'">'+Q(a.duration)+"</div>":"")+"</a>":"")+(a.Kc?'<a class="'+Q("text-title")+'" href="'+
Q(a.Kc)+'" target="_blank" dir='+Q(a.dir)+">"+Q(a.title)+"</a>":"")+'<div class="'+Q("text-description")+'" dir='+Q(a.dir)+">"+Q(a.text)+"</div>"+(a.yD&&a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'" class="'+Q("text-ad-channel")+'">'+Q(a.yD)+"</a>":"")+"</div></div>"};
jea=function(a){return'<div class="'+Q("flash-container")+" "+(a.capture?Q("click-capture"):"")+'">'+(a.Kc?'<a class="click-layer" target="_blank" href="'+Q(a.Kc)+'"></a>':"")+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+Q(a.width)+'" height="'+Q(a.height)+'"><param name="movie" value="'+Q(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
bp(a.Kc)+'"><embed width="'+Q(a.width)+'" height="'+Q(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+Q(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+bp(a.Kc)+'"></object></div>'};
kea=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'" style="width:'+Q(a.width)+";height:"+Q(a.height)+';">'+(a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'">':'<a target="_blank">')+'<img src="'+Q(a.url)+'" border="0"></a></div>'};
lea=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'">'+(a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'">':'<a target="_blank">')+'<img src="'+Q(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
lp=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'" style="width:'+Q(a.width)+";height:"+Q(a.height)+';"></div>'};
mp=function(){this.g=new Ol};
np=function(a,b){this.A=a;this.g=b};
op=function(a,b){np.call(this,"progress",a);this.o=b};
qp=function(a,b){(0,g.H)(b,function(a){var b=a.Yb().toLowerCase(),c=pp(this,b);c.push(a);this.g.set(b,c)},a)};
rp=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new op(c,d):new np(b,c);d=pp(a,b);d.push(c);a.g.set(b,d)};
pp=function(a,b){return null!=b?a.g.get(b.toLowerCase(),[]):[]};
mea=function(a,b){var c=pp(a,"progress");(0,g.H)(c,function(a){sp(a.o,b)});
g.Eb(c,function(a,b){return tp(a.o)-tp(b.o)})};
up=function(a,b){return(0,g.J)(pp(a,b),function(a){return a.g})};
vp=function(){this.Va=-1;this.G={};this.kb="";this.vj=new mp};
wp=function(a,b,c){a.kb=b;a.G=c};
xp=function(a,b){var c=[],d=a.Gn();(0,g.H)(d,function(a){a=pp(a.vj,b)||[];c=g.ub(a,c)},a);
return c};
yp=function(a,b,c){var d=c||!1;return g.gb(b.F,function(a){var b=a.g==this.g;return a instanceof this.constructor&&(d||b)},a)};
zp=function(a,b,c,d,e,f,k,l,m,n){this.B=a;this.g=b;(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.wi=e;this.Uf=f;this.D=k;this.C=l;this.o=Wm(g.F(m));this.A=n};
Ap=function(a,b,c,d,e,f){vp.call(this);this.Va=a;this.B=b;this.A=c;this.o=g.vb(d);this.C=null;this.D=e;this.ra=g.vb(f);zb(this.ra,null,function(a){return a.L})};
Bp=function(a){var b=new Ol,c=a.Gn();(0,g.H)(c,function(a){if(a instanceof Ap){var c=a.A;(0,g.H)(c.Db(),function(a){b.set(a,g.ub(c.get(a),b.get(a)||[]))},this)}},a);
return b};
Dp=function(a){return Cp(a,"x-shockwave-flash")};
Cp=function(a,b){var c=g.gb(a.o,function(a){return!E(g.F(a.g))&&-1!=a.g.indexOf(b)&&("VPAID"==a.A||"surveys"==a.A)});
return null!=c?c:null};
Fp=function(a,b,c,d,e){vp.call(this);E(g.F(a))&&(a=ab()+"_ima");this.ya=g.F(a);this.Ha=b;this.N=c;this.pa=d;this.A=e;this.L=[];null!=this.pa?this.aa=Ep[this.pa]||"Other":this.aa=null};
Gp=function(a,b,c){g.K.call(this);this.o=a;this.C=b;this.J=c;this.B=0;this.g={};this.A=new g.mm(this);g.L(this,this.A);nea(this)};
nea=function(a){(0,g.H)(a.J,function(a){this.A.U(a.element,"mousedown",this.F,!0);this.A.U(a.element,"mouseup",g.Ga(this.I,a),!0)},a);
a.A.U(a.C,"mouseenter",a.G)};
oea=function(a,b){g.Ob(a.g,function(a,d){b=Vg(b,d,a)});
return b};
Hp=function(a,b,c,d,e){Fp.call(this,a,b,c,d,e);this.ga=this.B=null;this.Aa=-2;this.o=null;this.da=this.Y=g.y;this.ba=[];this.Ra=[];this.D=!1;this.fb=null};
Kp=function(a,b){a.o=b;null!=a.B&&null!=b&&(Ip(a,a.Y),Jp(a,a.da))};
Ip=function(a,b){null!=a.o&&null!=a.B&&(0,g.H)(a.ba,function(a){this.o.Ca(a,"click",this.Y);!E(g.F(this.gf()))&&this.o.U(a,"click",b)},a);
a.Y=b};
Jp=function(a,b){null!=a.o&&null!=a.B&&(a.o.Ca(a.B,"creativeview",a.da),a.o.U(a.B,"creativeview",b));a.da=b};
Lp=function(a,b){var c=a.ya,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.md()&&(d.style+="width:"+a.Gb()+"px");E(g.F(c))||(d.id=c);return g.Ad("DIV",d,b)};
Mp=function(a){if(!a.D)return null;var b=xp(a,"start");wb(b,xp(a,"creativeview"));if(null!=b&&!g.nb(b)){var c=[];(0,g.H)(b,function(a){if(!E(g.F(a))){var b=g.ld().CI("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:pea});g.oh(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",Wm(a.g));b.setAttribute("id",d);this.Ra.push(d);g.qb(c,b)}},a);
return c}return null};
qea=function(a,b){if(null!=a.B)if(Pm().g("cleanup_text_overlay_spam_signals")){var c=[];(0,g.H)(a.ba,function(a){c.push({element:a,QH:this.Xq(a)})},a);
new Gp(b,a.B,c)}else c=new Ol,(0,g.H)(a.ba,function(a){c.set(a,this.Xq(a))},a),new tm(b,a.B,c)};
rea=function(a){var b=[],c=a.Gn();(0,g.H)(c,function(a){b=g.ub(b,a.L)},a);
return b};
Np=function(a,b,c){var d=c||!1;return g.gb(b.F,function(a){var b=a.g==this.g;return this instanceof a.constructor&&(d||b)},a)};
Op=function(a,b){this.g=null!=a?a:new mp;this.I=null!=b?b:[]};
sea=function(a,b){var c=b.g;(0,g.H)(c.Db(),function(a){qp(this.g,c.get(a))},a)};
Pp=function(a,b){var c=up(a.g,b);return null!=c?c:[]};
g.Qp=function(a){if(a.classList)return a.classList;a=a.className;return g.u(a)&&a.match(/\S+/g)||[]};
g.Rp=function(a,b){return a.classList?a.classList.contains(b):g.lb(g.Qp(a),b)};
g.S=function(a,b){a.classList?a.classList.add(b):g.Rp(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.Sp=function(a,b){if(a.classList)(0,g.H)(b,function(b){g.S(a,b)});
else{var c={};(0,g.H)(g.Qp(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.Tp=function(a,b){a.classList?a.classList.remove(b):g.Rp(a,b)&&(a.className=(0,g.Ld)(g.Qp(a),function(a){return a!=b}).join(" "))};
g.Up=function(a,b){a.classList?(0,g.H)(b,function(b){g.Tp(a,b)}):a.className=(0,g.Ld)(g.Qp(a),function(a){return!g.lb(b,a)}).join(" ")};
g.T=function(a,b,c){c?g.S(a,b):g.Tp(a,b)};
g.Vp=function(a,b,c){g.Rp(a,b)&&(g.Tp(a,b),g.S(a,c))};
g.Wp=function(a,b){var c=!g.Rp(a,b);g.T(a,b,c);return c};
Xp=function(a,b){var c=a(b||tea,void 0,void 0);var d=g.ld().createElement("DIV");c=uea(c);d.innerHTML=c;1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
uea=function(a){if(!g.Aa(a))return String(a);if(a instanceof Go){if(a.Ff===Qo)return a.ld();if(a.Ff===Yp)return Oa(a.ld())}return"zSoyz"};
Zp=function(a,b){Hp.call(this,a,b,"Static","text","")};
$p=function(a){null!=a?Tm(vea,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=Um(a)?wea(a):null:a=null;return a};
aq=function(a,b,c){if(null==a)return null;c=new g.Ul((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Zl(c,d);return c.toString()};
bq=function(a){a=null!=a?a:{};var b=new g.Ul("//www.youtube.com/gen_204");Vl(b,"https");a=jm(a);Zl(b,a);return b.toString()};
cq=function(a){return null===a?!1:"pharma"==(new g.Ul(a)).hi().toLowerCase()};
wea=function(a){if(E(g.F(a)))return null;var b=a.match(/^https?:\/\/[^\/]*youtu\.be\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/video\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/watch\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];a=(new g.Ul(a)).g;return lm(a,"v")?a.get("v").toString():lm(a,"video_id")?a.get("video_id").toString():null};
dq=function(a){return E(g.F(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
jq=function(a,b,c){var d={};a=new eq(a,g.t(b)?b:null,g.t(c)?c:null);fq(d,a);b=a.error;d.ERRORCODE=1E3>b.o?b.o:900;gq(d);hq(d,a);iq(d,a);b=a.error.Rb();d.ERROR_MSG=a.error.Cd();d.IMA_ERROR=b;d.INTERNAL_ID="0";a=-1!=(0,g.kb)(xea,b);d.BLOCKING_ERROR=a?"1":"0";d.YT_ERROR_CODE=3;return d};
kq=function(a,b){var c={},d=new eq(null,a,g.t(b)?b:null);fq(c,d);gq(c);hq(c,d);iq(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.Th&&null!=e.Th.video_start_delay)e=e.Th.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.af();f&&(c.BREAK_TYPE=f);c.SLOT_POS=e.g-1;e=d.g.A;e=null!=e&&null!=e.qc&&null!=e.qc.GET_MIDROLL_POSITION_IN_SEC?e.qc.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)}}yea(c,d);zea(c,d);d=a.Za;for(e=a;null!=e;)d=e.Ma+","+d,e=e.o;c.RWT=d;return c};
eq=function(a,b,c){this.error=a;this.g=b;this.o=c};
lq=function(a,b){null!=b&&(a.VIEWABILITY=b)};
mq=function(a,b,c,d){Aea(c,b)?a[c]=d||"":a[c]=""};
Aea=function(a,b){return(0,g.Hk)(Bea[a],function(a){return null!=b.match(a)})};
fq=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()}}};
zea=function(a,b){a.AD_CPN={toString:function(){return b.o.De()}};
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.ih()?b.o.ih().width.toString():""}};
a.P_H={toString:function(){return null!=b.o&&null!=b.o.ih()?b.o.ih().height.toString():""}}};
gq=function(a){a.SDKV=Pn(Rn);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
hq=function(a,b){if(null!=b.g&&null!=b.g.A&&null!=b.g.A.qc&&P.g()){var c=b.g.A.qc;(0,g.H)(Cea,function(b){b in c&&(a[b]=c[b])})}};
iq=function(a,b){if(null!=b.g){a.AD_ID=Dea(b.g);a.AD_SYS=Eea(b.g);var c=nq(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.o){var a=$p(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=oq(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"}};
yea=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.tj()?"0":Math.round(100*b.o.getVolume()).toString():""}})};
rq=function(a,b,c){var d=null,e=c+b;(0,g.H)(a.F,function(f){if(po(f.G,"rm")){var k=kq(a);pq(a)&&(k.FILLED_OPPORTUNITY=0);cn(a.Y,k);(k=a.A)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof Hp)0==c&&0==b||f instanceof Zp?k=!0:(k=f.hf(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.hf().height+b-f.hf().width,"Flash"!=f.md()||lo)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.md()&&"Javascript"==f.md()?d=f:f.g<d.g&&(d=f)):(d=f,e=k))}});
qq(a,d)};
sq=function(a){var b=null;(0,g.H)(a.F,function(a){a instanceof Ap&&(null===b||a.g<b.g)&&(b=a)});
qq(a,b)};
tq=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};
xq=function(a,b,c){var d=[],e=(0,g.A)(function(a){this.Of()?this.Ee(function(a){d.push(a);e(null)},function(a){301==a.Rb()?c(fn(uq)):e(a)}):0<d.length?b(d):(null==a&&(a=fn(vq)),1012==a.Rb()&&(a=fn(wq)),c(a))},a);
e(null)};
Fea=function(a,b){a.C=b;a.ads=a.Ex(a.B,a.F);a.o=-1};
Gea=function(a,b,c,d){var e=a.D.clone();e.o="";e.g=b.Jb;yq(a,b,e,c,d)};
yq=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 tq?(Hea(a,b,this.C&&b.bb,b.ib),d(a)):a instanceof zq?e(new Hm("adLoadError","Ad source cannot contain playlist response.",2)):e(new Hm("adLoadError","Unknown ad source.",2))},a),e)};
Iea=function(a){var b=0;for(a=a.o;null!=a;)a=a.o,b++;return b};
Jea=function(a,b,c){a.g.Of()?a.g.Ee((0,g.A)(function(a){this.Ko(a,b,(0,g.A)(function(a){this.Of()?this.Ee(b,c):c(a)},this))},a),(0,g.A)(function(a){Aq(this.ads[this.o],a);
this.g=null;P.g()||301!=a.Rb()?this.Of()?this.Ee(b,c):c(a):c(a)},a)):(0==a.g.A&&Aq(a.ads[a.o],fn(Bq)),a.g=null,a.Ee(b,c))};
Aq=function(a,b){if(b.A){1012==b.Rb()&&(b=fn(wq));var c=jq(b,a),d=a.na;P.g()&&303==b.Rb()&&(d=(0,g.Ld)(d,function(a){return!Qa(a,".youtube.com/api/stats/ads")}));
cn(d,c)}};
Mea=function(a,b,c){a.o++;var d=a.ads[a.o];d.ga||d.da?d.da?Gea(a,d,(0,g.A)(function(a){this.g=a;this.Ee(b,c)},a),(0,g.A)(function(a){a=Cq(a);
Aq(d,a);c(a)},a)):Iea(d)>=P.N?(a=fn(Kea,null,String(P.N)),Aq(d,a),c(a)):a.G?a.Lt(d,(0,g.A)(function(a){this.g=a;
this.Ee(b,c)},a),(0,g.A)(function(a){a=Cq(a);
Aq(d,a);c(a)},a)):c(fn(Lea)):a.Ko(d,b,c)};
Cq=function(a){switch(a.Rb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=fn(Bq)}return a};
Hea=function(a,b,c,d){(0,g.H)(a.ads,function(a){a.o=b});
Fea(a,c);a.G=d};
Dq=function(a){Op.call(this);this.o=(0,window.isNaN)(a)?-1:a};
Eq=function(a,b,c,d){tq.call(this,[],a,b,c);this.I=d};
Fq=function(a){var b=a.ads.length-(0>a.o?1:a.o+1);return null!=a.g&&a.g instanceof Eq?b+Fq(a.g):b};
Gq=function(a){g.Ul.call(this,a);this.F=new Ol;a=this.A;var b=a.indexOf(";"),c=null;0<=b?(g.Yl(this,a.substring(0,b)),c=a.substring(b+1)):g.Yl(this,a);Nea(this,c)};
Nea=function(a,b){E(g.F(b))||(0,g.H)(b.split(";"),function(a){var b=a.indexOf("=");if(0<b){var c=Na(a.substring(0,b));a=Na(a.substring(b+1));b=this.F.get(c);null!=b?g.lb(b,a)||b.push(a):b=[g.F(a)];this.F.set(c,b)}},a)};
Hq=function(a,b){if(E(g.F(b)))return null;var c=a.F.get(b);return null!=c?c:null};
Iq=function(a,b,c){E(g.F(b))||(c=g.J(c,g.F),a.F.set(b,c))};
Jq=function(a,b){var c=[g.F(b)];wb(c,Oea(a));return c.join(";")};
Oea=function(a){var b=Hq(a,"ord");null!=b?E(g.F("ord"))||a.F.remove("ord"):b=[g.F((0,g.G)())];var c=[];(0,g.H)(a.F.Db(),function(a){(0,g.H)(this.F.get(a),function(b){wb(c,a+"="+b)})},a);
wb(c,"ord="+b[0]);Iq(a,"ord",b);return c};
Lq=function(a){if(null==a)return!1;a=new g.Ul(a);var b=a.A;return La(a.o,"googleads.g.doubleclick.net")&&Kq("/pagead/(live/)?ads",b)};
Mq=function(a){a=a.g;return null!=a?"bid.g.doubleclick.net"==(new g.Ul(a)).o:!1};
Nq=function(a){if(null==a)return!1;var b=new Gq(a);a=b.o;b=Jq(b,b.A);return!La(a,".g.doubleclick.net")&&La(a,"doubleclick.net")&&Kq("/(ad|pfad)[x|i|j]?/",b)};
Oq=function(a){if(null==a)return!1;a=new g.Ul(a);var b=a.A;return La(a.o,"doubleclick.net")&&Kq("/gampad/(live/)?ads",b)};
Pea=function(a){return Lq(a.g)||Nq(a.g)||Oq(a.g)||Mq(a)};
Pq=function(a){a=a.g;if(null==a)return!1;a=new g.Ul(a);var b=a.A;return La(a.o,"youtube.com")&&Kq("/get_midroll_info",b)};
Qea=function(a){a=a.g;if(null==a)return null;a=(new g.Ul(a)).g;return null!=a.get("ms")?g.F(a.get("ms")):null};
Kq=function(a,b){return E(g.F(b))?!1:(new RegExp(a)).test(b)};
Qq=function(a,b,c,d){this.g=a;this.A=b;this.o=c;this.B=null!=d?d:!1};
Rq=function(a,b){a.g.I=b;(0,g.H)(a.A,function(a){Rq(a,b)},a)};
Sq=function(a){return Ro('<div class="'+R("iv-endcap-background")+'"><div class="'+R("iv-endcap-slot")+'"><div class="'+R("iv-endcap-card")+'"><a class="'+R("iv-endcap-image")+'" href="'+R(hp(a.target))+'" target="_blank"><img src="'+R(ip(a.image))+'"></a><div class="'+R("iv-endcap-text")+'" dir='+$o(a.dir)+'><a href="'+R(hp(a.target))+'" target="_blank"><div class="'+R("iv-endcap-headline")+'">'+Q(a.headline)+'</div><div class="'+R("iv-endcap-description")+'">'+Q(a.description)+'</div></a></div><a class="'+
R("iv-endcap-action")+'" href="'+R(hp(a.target))+'" target="_blank" dir='+$o(a.dir)+">"+(a.action?Q(a.action):'<span class="'+R("iv-endcap-action-icon")+'"></span>')+'</a></div></div><div class="'+R("iv-endcap-bottom")+'"><svg class="'+R("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+R("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10"/><circle class="'+R("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10"/></svg></div></div>')};
Rea=function(){var a=Ia("Next");return Ro(""+a)};
Sea=function(){var a=Ia("Previous");return Ro(""+a)};
Tea=function(a){var b='<div class="'+R("iv-cards-companion")+'"><div class="'+R("iv-cards-attribution")+'"><span class="'+R("yt-badge")+" "+R("yt-badge-ad")+'">'+Tq()+"</span>";if(a.advertiserName&&a.Kc){var c=Ia("Shop products from {$advertiserName}",{advertiserName:Q(a.advertiserName)});b+='<a class="'+R("ad-companion-clickthrough")+'" href="'+R(hp(a.Kc))+'" target="_blank">'+c+"</a>"}b+='<div class="'+R("yt-uix-hovercard")+" "+R("ad-info-container")+'"><span class="'+R("yt-uix-hovercard-target")+
'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+R("yt-uix-hovercard-content")+'"><p>'+Q(a.se)+'</p></div></div></div><div class="'+R("iv-cards-slider")+'"><div class="'+R("iv-cards-slider-body")+'"><ul class="'+R("iv-cards-slider-list")+'">';c=a.cards;for(var d=c.length,e=0;e<d;e++){var f=c[e],k='<li class="'+R("iv-cards-slider-item")+'">';f=Ro('<div class="'+R("iv-cards-slider-unit")+'"><a href="'+R(hp(f.target))+'" target="_blank"><div class="'+
R("iv-cards-slider-image")+'"><span class="'+R("iv-cards-image-helper")+'"></span><img src="'+R(ip(f.image))+'"></div><div class="'+R("yt-ui-ellipsis")+" "+R("yt-ui-ellipsis-4")+" "+R("iv-cards-slider-text")+'">'+Q(f.headline)+'</div><span class="'+R("iv-cards-slider-action")+'">'+Q(f.action)+"</span></a></div>");b+=k+f+"</li>"}b+="</ul></div>"+(a.xT?'<button class="'+R("iv-cards-slider-button")+" "+R("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+R("iv-cards-slider-prev-icon")+
" "+R("yt-uix-tooltip")+" "+R("yt-sprite")+'" data-tooltip-text="'+R(a.aC)+'" title="'+R(a.aC)+'"/></button><button class="'+R("iv-cards-slider-button")+" "+R("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+R("iv-cards-slider-next-icon")+" "+R("yt-uix-tooltip")+" "+R("yt-sprite")+'" data-tooltip-text="'+R(a.QA)+'" title="'+R(a.QA)+'"></span></button>':"")+"</div></div>";return Ro(b)};
Uea=function(a){return Ro('<div class="'+R("iv-website-companion")+'"><div class="'+R("yt-uix-hovercard")+" "+R("ad-info-container")+" "+R("iv-website-companion-ad-info")+'"><span class="'+R("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+R("yt-uix-hovercard-content")+'"><p>'+Q(a.se)+'</p></div></div><a href="'+R(hp(a.target))+'" target="_blank">'+(a.bannerImageUrl?'<img class="'+R("iv-website-companion-banner")+
'" src="'+R(ip(a.bannerImageUrl))+'">':"")+'<div class="'+R("iv-website-companion-block")+'"><div class="'+R("iv-website-companion-icon")+'"><img src="'+R(ip(a.JJ))+'"></div><div class="'+R("iv-website-companion-text")+'"><div class="'+R("iv-website-companion-header")+'">'+Q(a.headline)+'</div><div class="'+R("iv-website-companion-desc")+'"><span class="'+R("yt-badge")+" "+R("yt-badge-ad")+'">'+Tq()+'</span><span class="'+R("iv-website-companion-domain")+'">'+Q(a.descriptionText)+'</span></div></div><div class="'+
R("iv-website-companion-action")+" "+R("yt-uix-button-size-default")+" "+R("yt-uix-button-primary")+'">'+(a.gw?Q(a.gw):'<span class="'+R("iv-website-companion-action-icon")+'"></span>')+'</div></div><a href="'+R(hp(a.target))+'" target="_blank"></div>')};
Tq=function(){var a=Ia("Ad");return Ro(""+a)};
Vea=function(a){var b=Uq(a);if(!b)return{};var c=Vq(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:Wq(b.nd()),merchant:Wq(Xq(c)),image:{thumbnails:[{url:Yq(b).getImageUrl()}]},priceText:Wq(Zq(c)),clickthroughEndpoint:$q(ar(br(a)))}}:{}};
Wq=function(a){return{runs:[{text:a}]}};
$q=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
cr=function(a){return{baseUrl:a}};
dr=function(a,b){this.g=a;this.o=b};
tp=function(a){return a.o?-1:a.g};
sp=function(a,b){a.o&&(a.o=!1,a.g=a.g*b/100)};
Wea=function(a,b,c){b=c||b;a=a||{};return""+Wo("a",a.sn)(a,null,b)};
Xea=function(a){return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+'"><div class="'+Q("videoAdUiAttributionContainer")+" "+Q("videoAdUiAttributionContainer-gvn")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(kp(a.attributionText))+">"+Q(a.attributionText)+'</div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'};
Yea=function(a){return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+'"><div class="'+Q("videoAdUiAttributionContainer")+" "+Q("videoAdUiAttributionContainer-gvn")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(kp(a.attributionText))+">"+Q(a.attributionText)+'</div></div><div class="'+Q("videoAdUiLearnMoreText")+" "+Q("videoAdUiLearnMoreText-gvn")+'">'+Q(a.ph)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+
Q("videoAdUiProgress")+'"></div></div></div>'};
er=function(){return Ro('<div class="'+R("videoAdUiPreSkipContainer")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'"></div><div class="'+R("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
Zea=function(){return Ro('<div class="'+R("videoAdUiPreSkipContainer")+" "+R("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'">You can skip to video in</div><div class="'+R("videoAdUiPreSkipThumbnail")+'"><div class="'+R("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+R("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')};
fr=function(a){a=a||{};return""+Ia("Your video will begin in {$xSeconds}",{xSeconds:Q(a.Lg)})};
$ea=function(a){return Ro('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandPrecapContent")+'"><div class="'+R("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+R("videoAdUiBrandPrecapBrandImage")+'" src="'+R(ip(a.JH))+'"></div><div class="'+R("videoAdUiBrandPrecapTextContainer")+'"><div class="'+R("videoAdUiBrandPrecapBrandName")+'">'+Q(a.LH)+'</div><div class="'+R("videoAdUiBrandPrecapBrandMessage")+'">'+Q(a.KH)+
"</div></div></div></div>")};
afa=function(a){return Ro('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><img class="'+R("videoAdUiBrandPrecapAutoGenImage")+'" src="'+R(ip(a.IH))+'"></div>')};
bfa=function(a){a=a||{};return Ro('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("html5-stop-propagation")+'"><span class="'+R("videoAdUiBrandInteractionPreMessageText")+'">'+Q(a.preMessageText)+'</span><div class="'+R("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+R("videoAdUiBrandInteractionButton")+" "+R("videoAdUiBrandInteractionLikeButton")+'"><div class="'+R("videoAdUiBrandInteractionIcon")+" "+R("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+
R("videoAdUiBrandInteractionMessageBox")+" "+R("videoAdUiLikeMsg")+'"></span></div><div class="'+R("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+R("videoAdUiBrandInteractionButton")+" "+R("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+R("videoAdUiBrandInteractionIcon")+" "+R("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+R("videoAdUiBrandInteractionMessageBox")+" "+R("videoAdUiDislikeMsg")+'"></span></div></div>')};
cfa=function(a){return Ro('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandInteractionPostMessageText")+'">'+Q(a.postMessageText)+"</div></div>")};
dfa=function(a){a=a||{};return Ro('<div class="'+R("videoAdUiReasonToWatchBox")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiReasonToWatchText")+'">'+Q(a.kT)+"</div></div>")};
efa=function(a){a=a||{};return Ro('<div class="'+R("videoAdUiReasonToWatchBox")+" "+R("videoAdUiReasonToWatchDynamicBox")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiReasonToWatchDynamicPrefixText")+'">'+Q(a.jT)+'</div><div class="'+R("videoAdUiReasonToWatchDynamicTopic")+'">'+Q(a.lT)+"</div></div>")};
ffa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+'"><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+'">'+Q(a.eu)+'<div class="'+Q("videoAdUiSkipIcon")+'"></div></button></div>'};
gfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+'"><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+'"><div class="'+Q("videoAdUiSkipButtonExperimentalText")+'">'+Q(a.eu)+'</div><div class="'+Q("videoAdUiSkipIcon")+'"></div></button></div>'};
hfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+" "+Q("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+Q("videoAdUiSkipText")+'">'+Q(a.eu)+'</div><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+" "+Q("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+Q("videoAdUiSkipIconContainer")+'"><div class="'+Q("videoAdUiSkipIcon")+'"></div></div></button></div>'};
gr=function(a){var b="";a=2<=a.Jg&&1<=a.sg?Ia("Ad {$adPosition} of {$totalAds} {$timeLeft}",{adPosition:Q(a.sg),totalAds:Q(a.Jg),timeLeft:Q(a.Hg)}):Ia("Ad {$timeLeft}",{timeLeft:Q(a.Hg)});return b+=a};
hr=function(a){var b="";a=2<=a.Jg&&1<=a.sg?Ia("{$adPosition} of {$totalAds} {$timeLeft}",{adPosition:Q(a.sg),totalAds:Q(a.Jg),timeLeft:Q(a.Hg)}):Ia("{$timeLeft}",{timeLeft:Q(a.Hg)});return b+=a};
jr=function(){var a=ir(),b=Ro("</a>"),c="";a=Ia("Visit Google's {$beginFormat}Ad Settings{$endFormat} to learn more about how ads are targeted or to opt out of personalized ads.",{beginFormat:Q(a),endFormat:Q(b)});c+="<div class='"+R("videoAdUiAdSettingsLongTooltip")+"'>"+a+"</div>";return Ro(c)};
ir=function(){return Ro('<a href="https://www.google.com/settings/ads/onweb" target="_blank">')};
kr=function(a){return Ro("<div class='"+R("videoAdUiPopupBackground")+"'><div class='"+R("videoAdUiPopupCloseIcon")+'\'><svg height="100%" viewBox="0 0 24 24" width="100%"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" fill="#fff"></path></svg></div><div class=\''+R("videoAdUiPopupPositioner")+"'><form class='"+R("videoAdUiPopupFrame")+"'><div class='"+R("videoAdUiPopupHeading")+" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.heading)+"</div><div class='"+
R("videoAdUiPopupText")+"'>"+Q(a.message)+"</div><div class='"+R("videoAdUiPopupButtons")+"'>"+Q(a.buttons)+"</div></form></div></div>")};
ifa=function(a){for(var b="<ul class='"+R("videoAdUiWhyThisAdReasons")+" "+R("videoAdUiHideIfEmpty")+"'>",c=a.targetingReasons,d=c.length,e=0;e<d;e++)b+="<li>"+Q(c[e])+"</li>";b+=(null!=a.learnMore?"<li>"+Q(a.learnMore)+" <a href='https://support.google.com/ads/answer/7029660#match' target='_blank'>Learn more</a></li>":"")+"</ul><div class='"+R("videoAdUiWhyThisAdGenericMessage")+"'>"+Q(a.Tq)+"</div><a class='"+R("videoAdUiWhyThisAdMute")+" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.mute)+"</a><a class='"+
R("videoAdUiWhyThisAdControl")+" "+R("videoAdUiHideIfEmpty")+"' href='https://www.google.com/settings/ads/onweb' target='_blank'>"+Q(a.control)+"</a>";a=""+kr({heading:lr(""+Q(a.heading)),message:lr(b),buttons:lr("<button class='"+R("videoAdUiWhyThisAdCloseButton")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.close)+"</button>")});return Ro(a)};
jfa=function(a){for(var b=""+Q(a.question),c=a.options,d=c.length,e=0;e<d;e++){var f=c[e];b+="<label for='"+R("videoAdUiMuteOption")+R(e)+"'><input type='radio' id='"+R("videoAdUiMuteOption")+R(e)+"' name='"+R("videoAdUiMuteOption")+"' class='"+R("videoAdUiMuteOption")+R(e)+"'/>"+Q(f)+"</label>"}a=""+kr({heading:lr(Q(a.heading)+" <a class='"+R("videoAdUiMuteUndo")+"'>"+Q(a.undo)+"</a>"),message:lr(b),buttons:lr("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+
"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")});return Ro(a)};
kfa=function(a){var b=String(""+a.heading);return Ro(kr({heading:b?new Ho(b,void 0):"",message:lr(""+Q(a.message)),buttons:lr("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")}))};
lfa=function(){return Ro("<div class='"+R("videoAdUiMuteToggleButton")+"'><div class='"+R("videoAdUiMutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9.6314915,5.9285684 L10.6837982,4.9386188 L12.8157457,6.9442323 L14.9476933,4.9386188 L16,5.9285684 L13.8680525,7.9341818 L16,9.9397952 L14.9476933,10.9297447 L12.8157457,8.9241313 L10.6837982,10.9297447 L9.6314915,9.9397952 L11.7634391,7.9341818 L9.6314915,5.9285684 Z" fill="#fff"></path></svg></div><div class=\''+
R("videoAdUiUnmutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9,11.4457379 C10.7427023,10.9390412 12,9.5931906 12,7.9969959 C12,6.4008011 10.7427023,5.0549506 9,4.5492552 L9,11.4457379 Z" fill="#fff"></path><path d="M14.2494529,8 C14.2494529,11.0361747 12.0131291,13.5866817 9,14.3156841 L9,16 C12.9934354,15.2419577 16,11.9484291 16,8 C16,4.0505695 12.9934354,0.7570409 9,0 L9,1.6833146 C12.0131291,2.4123169 14.2494529,4.9638253 14.2494529,8 L14.2494529,8 Z" fill="#fff"></path></svg></div></div>')};
nr=function(a,b,c){Hp.call(this,"1",mfa,"Html",null,"dummy");this.F=0;this.sa=a.length;Kp(this,new g.mm(this));this.O=nfa(a,b);this.Sa=g.I("iv-cards-slider-list",this.O);if(this.V=g.I("iv-cards-slider-prev",this.O))this.o.U(this.V,"click",this.Oa),g.M(this.V,!1);(this.ea=g.I("iv-cards-slider-next",this.O))&&this.o.U(this.ea,"click",this.Ma);a=g.I("ad-companion-clickthrough",this.O);this.o.U(this.O,"click",g.Ga(function(a,b,c){c.target!=a&&cn(b)},a,c))};
nfa=function(a,b){var c=(0,g.J)(a,function(a){var b=Uq(a),c=Vq(b);a=br(a);return{headline:b.nd(),description:or(b,"description"),image:Yq(b).getImageUrl(),action:Zq(c),target:ar(a),merchant:Xq(c)}}),d=3<a.length;
return Xp(Tea,{cards:c,advertiserName:c[0].merchant,QA:Rea(),aC:Sea(),se:jr(),Kc:b,xT:d})};
pr=function(a){a.Sa.style.left=125*-a.F+"px";a.V&&g.M(a.V,0<a.F);a.ea&&g.M(a.ea,a.F<a.sa-3)};
sr=function(a){Hp.call(this,"1",ofa,"Html",null,"website_actions_companion");Kp(this,new g.mm(this));var b=a.g(),c=b&&b.yg(),d=b&&b.Dn();a=br(a);b={headline:b&&b.nd()||"",JJ:c&&c.getImageUrl()||"",bannerImageUrl:d&&d.getImageUrl()||"",gw:a&&qr(a)||"",descriptionText:b&&rr(b)||"",target:a&&ar(a)||"",se:jr()};this.F=Xp(Uea,b)};
pfa=function(){if(!g.vd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
vr=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(tr){var c=ur();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.wr=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(tr){var b=ur();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
xr=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");};
ur=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};
yr=function(a){return fn(qfa,null,a.parentNode.nodeName,a.nodeName)};
zr=function(a){return fn(rfa,null,a.parentNode.nodeName,a.nodeName)};
Ar=function(a){var b=vr(a.tagName,a.namespaceURI),c=g.Pd(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};
Br=function(a,b){return null!=a?(0,g.Ld)(g.Nd(a),function(a){return a.nodeName==b}):[]};
Cr=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
Dr=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=Wa(c);b&&(c=Qa(c,"&")?"document"in g.v?maa(c):naa(c):c);return c};
Er=function(a,b,c,d){if(null!=a){a=g.Nd(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw yr(k);c.call(d,k)}}};
Fr=function(a){a=g.F(a);return E(a)?window.NaN:bb(a)};
Gr=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new Gn(0,0,0,bb(c[0]),bb(c[1]),bb(c[2])),60*(60*(24*c.days+c.g)+c.o)+c.A}return null!=b?b:-1};
Hr=function(a,b){var c=g.F(a);if(!E(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
Kr=function(a,b){if(b)return a;var c=g.F(a);E(c)?c=a:sfa.test(c)&&(Qa(c,"/pagead/adview")||Qa(c,"/pagead/conversion")||Qa(c,"/gampad/live/conversion")?tfa(c):Qa(c,"/pcs/view")&&ufa(c))?(c=Ir(c,"&sdkv="+Pn(Rn)),Rn.ba&&(c=Ir(c,"&ssss=gima"))):c=a;return c};
Ir=function(a,b){var c=a.indexOf("&adurl=");return-1!=c?oaa(a.substr(0,c),b,a.substr(c,a.length)):a+b};
tfa=function(a){a=a||"";return(0,g.Lr)(vfa,function(b){return 0<=Rg(a,0,b,a.search(Sg))})};
ufa=function(a){a=a||"";return(0,g.Lr)(wfa,function(b){return 0<=Rg(a,0,b,a.search(Sg))})};
Or=function(a,b,c){var d=new mp;Er(a,"Tracking",function(a){var e=Cr(a,"event"),k=Kr(Dr(a),b);Mr(k)&&null!=e&&(null!=c&&(k=c(e,k)),"progress"==e?(a=Cr(a,"offset"),a=Nr(a),null!=a&&rp(d,e,k,a)):rp(d,e,k))});
return d};
xfa=function(a){if(E(g.F(a)))return null;a=new g.Ul(a);if("thismessage"!=a.B||"extensions"!=a.o)return null;a=a.A;if(!g.Ka(a,"/"))return null;a=a.substr(1);return E(g.F(a))?null:a};
Nr=function(a){if(E(g.F(a)))return null;var b=a.indexOf("%");if(0<b){if(a=Number(a.substr(0,b)),!(0,window.isNaN)(a)&&0<=a)return new dr(a,!0)}else if(a=Gr(a),0<=a)return new dr(a,!1);return null};
Mr=function(a){if(E(g.F(a)))return!1;try{new g.Ul(a)}catch(b){return!1}return!0};
Pr=function(a,b){Op.call(this);this.o=a;this.A=b};
Qr=function(){};
Rr=function(a,b){Op.call(this,b);this.o=a};
Sr=function(a){Op.call(this);this.o=a};
Ur=function(a,b,c,d,e,f,k,l,m,n,q,r,w,z,B,C,N,da){this.sa=a;this.pa=b;this.V=c;this.Ab=e;this.Oa=(0,window.isNaN)(m)||""==m||0==m?-1:m;this.na=n?g.vb(n):[];this.Y=q?g.vb(q):[];this.F=r?g.vb(r):[];this.ea=[];this.N=[];this.L=null;this.ba=[];this.Ha=!0;this.o=this.g=this.I=null;this.G=new Ol(z);this.da=null!=da;this.bb=(this.ga=null!=B)?C||!1:!1;this.ib=this.HK?N||!1:!1;this.Ib=g.F(B);this.Jb=g.F(da);this.zb=this.A=null;this.C=new Wda;this.aa=new g.gd(0,0);this.J=String(Math.floor(1E9*Math.random()));
this.Sa=this.ha=this.O=this.D=null;this.Za=(0,g.G)();this.Ra=this.Ma=0;this.kb=this.ra=!1;this.B=[];this.Va=null;this.Aa=!1;(0,g.H)(this.F,function(a){a.I=this},this);
Tr(this,w)};
oq=function(a){var b=a.getExtension("AdFormat");if(null!=b&&La(b.o+"_"+b.A+"_"+b.B,"2_4"))return b.o+"_"+b.A+"_"+b.B;b=Vr(a);b=Wr(a,Xr)?"14":po(b,"hideMaster")||po(b,"blockAllAds")?"3":a.Wb()?Yr(a)?"2_3":a.isSkippable()?Zr(a)?"2_1":"2_2":"2":"1";return yfa(a)+"_"+b};
yfa=function(a){if(pq(a))return 4;if(Wr(a,Xr))return 14;if(Wr(a,zfa))return 17;if(Wr(a,Afa))return 15;if($r(a,Bfa)||$r(a,as))return 1;var b=Pm();return b&&b.g("fix_petra_ad_foramt")&&(b=bs(a),null!=b&&(Oq(b)||Nq(b)))?1:cs(a)?2:0};
ds=function(a){return null!=a.pa?a.pa:""};
es=function(a){return null!=a.o?g.ub(es(a.o),a.na):a.na};
fs=function(a){return null!=a.o?g.ub(fs(a.o),a.Y):a.Y};
gs=function(a){return null!=a.o?g.ub(a.N,gs(a.o)):a.N};
Vr=function(a){return null!=a.g?a.g.G:{}};
Cfa=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};
hs=function(a){return null!=a.g?a.g.kb:""};
is=function(a,b){var c=[];(0,g.H)(a.G.sb(),function(a){wb(c,Pp(a,b))});
return c};
qq=function(a,b){a.g=b;a.aa=new g.gd(0,0);if(null!=a.g){a.g instanceof Hp&&(a.aa=a.g.hf());var c=a.o;if(null!=c){var d=yp(a.g,c)||yp(a.g,c,!0);qq(c,d)}}P.g()&&Dfa(a)&&g.nb(gs(a))?P.g()&&P.A?(c=a.B,g.nb(c)?c={}:(d=Uq(c[0])&&Vq(Uq(c[0]))&&Xq(Vq(Uq(c[0])))||"",d=Ia("Shop products from {$advertiserName}",{advertiserName:Q(d)}),d=Ro(""+d),c={shoppingCompanionCarouselRenderer:{shopText:Wq(d.toString()),itemList:{horizontalListRenderer:{items:(0,g.J)(c,Vea),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:Wq(Tq().toString()),clickToAdvSiteEndpoint:$q(js(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.J)(is(a,"companionClick"),cr)}],impressionEndpoints:[{loggingUrls:(0,g.J)(is(a,"companionImpression"),cr)}]}}),a.I=c):Efa(a,a.B):P.g()&&g.nb(gs(a))&&!Pm().g("website_actions_holdback")&&ks(a,a.B)};
ls=function(a){return null!=a.sa?a.sa:""};
ns=function(a){if(null==a.o||ms(a.o.V))return[];var b=[ls(a.o)];wb(b,ns(a.o));return b};
Dea=function(a){var b=ns(a).reverse();b.push(ls(a));return b};
os=function(a){if(null==a.o||ms(a.o.V))return[];var b=a.o.g;null!=b?(b=b.ha,b=null!=b?b:""):b="";b=[b];wb(b,os(a.o));return b};
ps=function(a){if(null==a.o||ms(a.o.V))return[];var b=[ds(a.o)];wb(b,ps(a.o));return b};
qs=function(a){if(a.o){var b=qs(a.o);if(b)return b}return(a=a.getExtension("metrics"))?a.o:null};
nq=function(a){if(a.o){var b=nq(a.o);if(b)return b}return P.g()?(a=a.getExtension("viral"))?a.o:null:(a=a.getExtension("metrics"))?a.A:null};
Eea=function(a){var b=ps(a).reverse();b.push(ds(a));return b};
ms=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
rs=function(a){if(null==a.o)return[a.V];var b=rs(a.o);b.push(a.V);ms(b[0])&&b.shift();return b};
ts=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.be()?a.be():-1};
us=function(a){if(-1!=a.Oa)return a.Oa;a=a.getExtension("pod");return null!=a&&-1!=a.o?a.o:-1};
vs=function(a){a.Aa||(a.Aa=!0,a.Va.J++,null!=a.o&&vs(a.o))};
ws=function(a){if(a.Va instanceof Eq){var b=a.Va;if(0<Fq(b))return b}return null!=a.o?ws(a.o):null};
xs=function(a,b,c,d){a=gs(a);return ko(new io(new g.gd(b,c),d),a)};
ys=function(a){var b=a.A.qj,c=a.A.pj;if(!b||!c)if(a=a.A.g?Tg(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.gd(b,c)};
Ffa=function(a,b){var c=g.gb(a.ba,function(a){return 4==a.Yb()&&zs(a.Xe())});
if(c){var d=c.g();if(!d.yg().getImageUrl()){var e=new As;Bs(e,b.channelIconThumbnailUrl);d.yg=function(){return e}}var f=Pm();
if(!d.nd()||f.g("website_actions_suppress_advertiser_supplied_text"))d.nd=function(){return b.authorName};
f.g("website_actions_suppress_advertiser_supplied_text")&&br(c).setTitle("");c.g=function(){return d}}};
Gfa=function(a){var b=(0,g.Ld)(a,function(a){return zs(a.Xe())});
0==b.length&&0<a.length&&Pm().g("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b};
Efa=function(a,b){var c=(0,g.Ld)(b,function(a){return Cs(a.Xe())});
g.nb(c)&&(c=b);c=new nr(c,js(a),is(a,"companionClick"));c.I=a;c.D=!0;Ds(a,new Qq(c,[],null,!0))};
Hfa=function(a,b){var c=g.gb(a.B,function(a){return 4==a.Yb()&&Cs(a.Xe())});
if(!c)return null;var d=c.g();if(!d.yg().getImageUrl()){var e=new As;Bs(e,b.channelIconThumbnailUrl);d.yg=function(){return e}}var f=Pm();
if(!d.Dn().getImageUrl()){var k=new As;if(f.g("website_actions_use_companion_image_as_banner")){var l=g.gb(gs(a),function(a){return"Image"==a.md()});
Bs(k,l&&l.g.A||b.g)}else Bs(k,b.g);d.Dn=function(){return k}}if(!d.nd()||f.g("website_actions_suppress_advertiser_supplied_text"))d.nd=function(){return b.authorName};
f.g("website_actions_suppress_advertiser_supplied_text")&&br(c).setTitle("");c.g=function(){return d};
return c};
ks=function(a,b){var c=g.gb(b,function(a){return 4==a.Yb()&&Cs(a.Xe())});
if(c){var d=c.g(),e=d&&d.yg().getImageUrl(),f=d&&d.Dn().getImageUrl(),k=d&&d.nd();e&&f&&k&&(P.A?(c=br(c),a.I={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&qr(c)||void 0,descriptionText:d&&rr(d)||void 0,target:c&&ar(c)||void 0}}):(d=new sr(c),d.I=a,d.D=!0,Ds(a,new Qq(d,[],null,!0))))}};
Ifa=function(a){if(!a.A||Es(a)&&!Wr(a,["ADSENSE/ADX"]))return[];var b=ys(a);if(0>=b.width||0>=b.height)return[];var c=new fo;c.creativeType="All";c.A="All";c.B="SelectNearMatch";c.g=40;var d=xs(a,b.width,b.height,c);if(!g.nb(d))return d;c.o="ResizeSmaller";d=(0,g.Ld)(gs(a),function(a){return a.g.al()},a);
return ko(new io(new g.gd(b.width,b.height),c),d)};
Gs=function(a){if(g.nb(a.ba))return!1;var b=Pm();if(15>Fs(a))return!1;var c=Jfa,d=a.ba[0].Yb();if(d==c.Xv){var e=a.ba[0].g();a=e&&e.yg().getImageUrl();e=e&&e.nd();if(!a||!e)return!1}return b.g("enable_ad_video_end_renderers")&&d==c.YG||!b.g("website_actions_holdback")&&!b.g("website_actions_endcap_holdback")&&d==c.Xv};
Kfa=function(a){var b=null,c=0;(0,g.H)(Ifa(a),function(a){var d=ys(this);d=!a.g.al()||a.Gb()<=d.width&&a.getHeight()<=d.height?a.Yn():mo(a.Yn(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a);
return b};
Hs=function(a,b){return b||null==a.o?a.ea:g.ub(a.ea,Hs(a.o))};
Tr=function(a,b){a.ea=b?g.vb(b):[];(0,g.H)(a.ea,function(a){wb(this.N,g.vb(a.g))},a);
(0,g.H)(a.N,function(a){Rq(a,this)},a);
if(P.g()&&(a.Wb()&&(a.N=(0,g.Ld)(a.N,function(a){return 60>=a.getHeight()})),P.A)){var c=a.ea[0];
if((c=c&&c.g[0])&&"Static"===c.g.N){var d=c.g.gf(),e=c.g.L,f=c.Gb(),k=c.getHeight();a.I={imageCompanionRenderer:{url:c.g.A,clickThroughUrl:d,clickTrackingUrls:e,width:f,height:k}}}}};
Is=function(a,b){return(0,g.Hk)(a.F,function(a){return a instanceof Ap&&"linear"==b||a instanceof Hp&&"nonlinear"==b?!0:!1})};
Js=function(a){var b=a.g;return Es(a)&&null!=b&&b instanceof Hp&&(90<a.aa.height||null!=a.A&&a.A.gj)};
Ks=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:Ks(a,b.o)};
Ls=function(a){var b=Ks(a,a.o);if(null!=b){if("skippable"==b.o)return b.A;if("nonskippable"==b.o)return null}b=null;var c=new dr(5,!1),d=Lfa(a);"implicit"==d&&(b=c);var e=a.g;null==b&&null!=e&&e instanceof Ap&&(b=e.D);null!=b||"explicit"!=d||(b=c);return P.g()&&a.Wb()&&null!=b?(b=Pm().g("enable_skip_button_offset_mutation")?b:c,(0,window.isNaN)(a.A.C)?b:new dr(a.A.C,!1)):b};
Lfa=function(a){if(null!=g.gb(a.G.sb(),function(a){return!g.nb(Pp(a,"skip"))}))return"implicit";
var b=a.G.get("DFP");if(b instanceof Rr)switch(b.o){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.g;return P.g()&&null!=a&&(a=a.vj,null!=a&&!g.nb(pp(a,"skip")))?"explicit":"none"};
Ms=function(a){a=bs(a);if(null!=a){var b;(b=Lq(a)||Oq(a)||Nq(a))||(null!=a?(a=(new g.Ul(a)).o,b=La(a,"viral.adsense.net")):b=!1);a=b}else a=!1;return a};
Zr=function(a){if(null!=a.pa&&null!=a.A){var b;(b=P.g())||!(b=Ms(a)||!1)||(b=Es(a)&&!Wr(a,["ADSENSE/ADX"]))||(Wr(a,as)?(b=a.G.get("DFP"),b=null!=b?"InstreamSelect"==b.o:!1):b=!1);a=b||a.o&&a.o.da&&Ms(a.o)?!0:!1}else a=!1;return a};
js=function(a){return null===a.g?null:a.g.gf()};
Fs=function(a){return null!=a.g?a.g.getDuration():-1};
Ns=function(a){return null===a.L?Gs(a)?7:0:10};
Os=function(a){return null===a.g?null:a.g.Tr()};
Ps=function(a){return null===a.g?null:a.g.Sr()};
Es=function(a){return Wr(a,Qs)||Wr(a,["ADSENSE-VIRAL"])};
pq=function(a){return null!=a.o&&pq(a.o)||Wr(a,Mfa)};
Yr=function(a){var b=Os(a);return Wr(a,["402"])||g.u(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
Rs=function(a){return Es(a)&&Zr(a)&&!a.isBumper()&&!E(g.F(a.D))&&null!==Ls(a)&&0<tp(Ls(a))};
cs=function(a){return $r(a,Qs)||$r(a,["402"])};
Ss=function(a){a=a.getExtension("InfoCards");return null!=a?a.o:null};
Ts=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.o:null};
Wr=function(a,b){return null!=a.pa?g.lb(b,a.V):!1};
$r=function(a,b){for(var c=rs(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.lb(b,c[d]))return!0;break}return!1};
Ds=function(a,b){a.N=[b]};
Dfa=function(a){return a.Wb()&&0<a.B.length&&(0,g.Lr)(a.B,function(a){return 1==a.Yb()})};
Us=function(a){return 0<a.B.length&&(0,g.Lr)(a.B,function(a){return 4==a.Yb()})};
bs=function(a){if(null==a.A)return null;var b=a.A.g;null!=b&&La(b,"/PrefetchedAd")&&null!=a.o&&(a=a.o.G.get("LocalRedirect"),b=null!=a?a.bh():null);return b};
Vs=function(a,b){g.Ff.call(this);this.g=a;this.xe=new g.mm(this);g.L(this,this.xe);this.xe.U(b,["companion_impression","companion_click"],this.o)};
Ws=function(){g.Ff.call(this);this.D=this.I=this.L=this.F=!1;this.g=0;this.A=[];this.G=!1;this.O=this.N=window.Infinity;this.o=0;this.C=!1;this.B=new g.mm(this);this.J={}};
Nfa=function(a){Xs(a);!(a.ci instanceof g.Ff)&&"ontouchstart"in window.document.documentElement&&qn()?(a.J={touchstart:(0,g.A)(a.gS,a),touchmove:(0,g.A)(a.QJ,a),touchend:(0,g.A)(a.fS,a)},g.Ob(a.J,function(a,c){this.ci.addEventListener(c,a,!1)},a)):a.B.U(a.ci,"click",a.Hy)};
Xs=function(a){a.B.Ca(a.ci,"click",a.Hy);g.Ob(a.J,function(a,c){this.ci.removeEventListener(c,a,!1)},a);
a.J={}};
Ofa=function(a,b){a.A=[];(0,g.H)(b,function(a){g.qb(this.A,a.identifier)},a)};
Ys=function(a,b){return(0,g.Hk)(b,function(a){return g.lb(this.A,a.identifier)},a)};
Zs=function(a){if(!Pfa.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(Qfa,"#$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]};
$s=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.at=function(){g.Ff.call(this);this.g=0;this.endTime=this.startTime=null};
bt=function(a,b){g.xa(b)||(b=[b]);var c=(0,g.J)(b,function(a){return g.u(a)?a:a.property+" "+a.duration+"s "+a.timing+" "+a.delay+"s"});
g.oh(a,"transition",c.join(","))};
ct=function(a,b,c,d,e){g.at.call(this);this.o=a;this.C=b;this.F=c;this.A=d;this.D=g.xa(e)?e:[e]};
dt=function(a,b){g.Ff.call(this);this.F=b;this.D=a;this.Gi=null;this.B=new g.mm(this);g.L(this,this.B);this.o=new Ws;g.L(this,this.o);var c=Ee(Oe(a.g),Ue,6);this.C=(this.g=null!=Be(c,5)&&!!Be(c,5))||null==Be(c,7)?"#000000FF":Be(c,7);this.A=this.g||null==Be(c,8)?"#FFFFFFFF":Be(c,8);c=this.g?{IH:g.F(Be(c,6))}:{LH:g.F(Be(c,1)),KH:g.F(Be(c,3)),JH:g.F(Be(c,2))};this.He=Rfa(this,c);null!=this.He&&g.M(this.He,!1);b.appendChild(this.He);this.B.U(this.o,"click",this.eK);this.o.Cb(this.He)};
Rfa=function(a,b){if(a.g){var c=Xp(afa,b);var d=g.I("videoAdUiBrandPrecapAutogenImage",c)}else{c=Xp($ea,b);d=g.I("videoAdUiBrandPrecapContent",c);null!=a.C&&(c.style.backgroundColor=$s(Zs(a.C)));if(null!=a.A){var e=g.I("videoAdUiBrandPrecapBrandName",d),f=g.I("videoAdUiBrandPrecapBrandMessage",d);e.style.color=$s(Zs(a.A));f.style.color=$s(Zs(a.A))}d=g.I("videoAdUiBrandPrecapImageContainer",d);d=g.I("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.s3=function(){return!1});
return c};
et=function(a,b){(new ct(a.He,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()};
ft=function(a,b){var c=g.$d(g.Qd(a.F),"html5-video-player");null!=c&&g.T(c,"ytp-ad-display-override",b)};
gt=function(a,b,c,d,e,f){Op.call(this,f);this.A=a;this.C=b;this.D=c;this.B=d;this.o=e};
ht=function(a){return null!=a.o?a.o.length:0};
it=function(a,b,c,d,e,f,k,l,m,n){Op.call(this,e);this.B=a;this.A=b;this.C=c||"";this.D=d||[];this.o=f||null;this.G=k||null;this.L=l||null;this.F=m||null;this.J=n||null};
jt=function(a,b){this.B=a;this.o=b;this.A=this.C=this.D=this.g=null};
kt=function(a){return null!=a.B||null!=a.o};
lt=function(a,b,c){b=g.I(b,a.g);null!=b&&a.C.U(b,"click",c)};
mt=function(a,b,c){null!=a.g&&a.g.parentElement.removeChild(a.g);a.g=Xp(b,c);lt(a,"videoAdUiPopupCloseIcon",a.Zm);a.D.appendChild(a.g);b=g.I("videoAdUiPopupFrame",a.g);null!=b&&g.rf(b,"submit",function(a){a.preventDefault()});
a=g.I("videoAdUiPopupDefaultButton",a.g);null!=a&&a.focus()};
nt=function(a,b){null!=a.A&&a.A.dispatchEvent(b)};
ot=function(){this.attributionText=gr({Hg:"",sg:0,Jg:0});this.ph=""+Ia("Learn More {$suffix}",{suffix:Q("")});this.visitAdvertiserText=""+Ia("Visit Advertiser's Site");this.se=jr();this.skipOffset=null;this.G=this.Ma=this.Oa=this.Ha=this.V=!1;this.L=null;this.ba=6E3;this.F=!0;this.ea=!1;this.ga=this.o=this.da=!0;this.A=!1;this.N=!P.D;this.pa=this.na=this.Va=!1;this.C=!0;this.O=this.Aa=this.sa=this.kb=this.B=!1;this.D={};this.Y=null;this.showContentThumbnail=!0;this.ha=this.I=!1;this.g=null;this.ra=
!1;this.gg=-1};
pt=function(a,b,c,d,e,f){var k=new ot;k.B=a;k.Sa=b;k.skipOffset=c;k.aa=null!=e?e.contentId:null;k.da=e.kU;k.Y=Wea;k.Za=aq(b,null!=c,e.Zi);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.g=e.By;null!=k.g&&null!=Be(k.g,1)&&null!=Be(Oe(k.g),8)&&(k.ha=!0,k.attributionText=hr({Hg:"",sg:0,Jg:0}));k.ra=e.fI;null!=f&&(k.D=f);null==c&&(a=Pm(),d&&a.g("show_countdown_on_bumper")&&(k.Oa=!0,k.V=!0),a.g("show_thumbnail_on_standard")&&(k.V=!0),a.g("log_video_preview_interaction")&&(k.Ha=!0),!d&&
a.g("persist_text_on_preview_button")&&(k.Ma=!0));P.g()&&null!=k.g&&null!=Be(k.g,1)&&(d=Oe(k.g),null!=Be(d,6)&&(d=Ee(d,Ue,6),null!=Be(d,5)&&(Be(d,5)&&null!=Be(d,6)||null!=Be(d,1)&&null!=Be(d,2)&&null!=Be(d,3))&&(k.G=!0,null!=Be(d,4)&&(k.L=Be(d,4)))));return k};
qt=function(a,b,c,d,e){return new ct(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
rt=function(a,b){return qt(a,b,"ease-out",0,1)};
tt=function(a){return qt(a,.5,"ease-in",1,0)};
vt=function(a,b){g.Ff.call(this);this.ea=new g.mm(this);g.L(this,this.ea);this.ba=a;this.aa=b;this.V=!1;this.J=this.A=this.G=null;this.da=0;this.B=[];this.C=[];this.D=[];this.N=0;this.L=!1;var c=a.g;c=this.g=null!=c&&null!=Oe(c)?Ee(Oe(c),Se,3):null;this.ha=null!=c&&null!=Be(c,7)&&1==Be(c,7)?!0:!1;c=this.g;this.O=null!=c&&Be(c,13)?!0:!1;this.F=!1;this.I=this.ba.Ra;if(null==this.g||null==Be(this.g,7))c=null;else{c=Be(this.g,7);var d=Be(this.g,8);c=null!=d&&g.lb(Sfa,c)?d:null}this.J=c;c=Xp(bfa,{preMessageText:this.J||
""});d=g.I("videoAdUiLikeMsg",c);g.Td(d,""+Ia("I like this"));d=g.I("videoAdUiDislikeMsg",c);g.Td(d,""+Ia("I dislike this"));if(null!=this.g){d=Be(this.g,7);var e=null!=d?Tfa[d]:null;null!=e&&(this.Y=d,g.S(c,e))}Ufa(this,c);d=g.I("videoAdUiBrandInteractionLikeButton",c);null!=d&&ut(this,d);d=g.I("videoAdUiBrandInteractionDislikeButton",c);null!=d&&ut(this,d);g.M(c,!1);this.o=c;this.aa.appendChild(this.o)};
Ufa=function(a,b){if(null!=a.g){var c=a.g.Xe();c=null!=c?Vfa[c]:null;null!=c&&(0,g.H)(c,function(a){g.S(b,a)})}};
Wfa=function(a){return null!=a.g&&null!=Be(a.g,8)?Be(a.g,10):null};
Yfa=function(a){if(null==a.g||null==Be(a.g,7))return null;var b=Be(a.g,7);a=Be(a.g,9);return null!=a&&g.lb(Xfa,b)?a:null};
ut=function(a,b){var c=new Ws;a.ea.U(c,"click",a.ga);c.Cb(b)};
Zfa=function(a){if(null!=a.J){var b=Wfa(a);if(null!=b){var c=g.I("videoAdUiBrandInteractionPreMessageText",a.o);if(null!=c){var d=tt(c);g.ug(function(){d.play();g.ug(function(){g.M(c,!1)},500,this)},1E3*b,a)}}}};
$fa=function(a){if(null!=a.g){var b=Yfa(a);if(null!=b){var c=Xp(cfa,{postMessageText:b});a.aa.appendChild(c);g.ug(function(){rt(c,.5).play();var a=tt(c);g.ug(function(){a.play()},3E3,this)},500,a)}}};
aga=function(a){if(a.O&&!a.F&&null!=a.I){var b=wt(a),c;"l"==b?c=a.I.feedbackLike:"d"==b&&(c=a.I.feedbackDislike);null!=c&&(Zm(c),a.F=!0)}};
wt=function(a){return null!=a.A?g.Rp(a.A,"videoAdUiBrandInteractionLikeButton")?"l":g.Rp(a.A,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n"};
zt=function(){g.Ff.call(this);this.g=!1;this.A=this.B=this.o=null;this.C=new g.mm(this);this.o=Xp(lfa);this.B=g.I("videoAdUiUnmutedIcon",this.o);this.A=g.I("videoAdUiMutedIcon",this.o);xt(this);this.C.U(this.o,"click",this.D)};
xt=function(a){a.B&&a.A&&(a.g?(g.oh(a.B,"display","none"),g.oh(a.A,"display","block")):(g.oh(a.B,"display","block"),g.oh(a.A,"display","none")))};
At=function(a,b){g.Ff.call(this);this.D=a;this.F=1;this.C=this.A=this.g=this.o=null;this.B=a.Oa;this.I=new g.mm(this);g.L(this,this.I);this.G=new Ws;g.L(this,this.G);this.L=!a.Ma;this.N=a.Ha;this.J=0;this.o=Xp(er);this.g=g.I("videoAdUiPreSkipButton",this.o);this.A=g.I("videoAdUiPreSkipText",this.g);g.S(this.A,"videoAdUiPreviewText");this.C=g.I("videoAdUiPreSkipThumbnail",this.g);this.B?g.Td(this.A,fr({Lg:""})):g.Td(this.A,""+Ia("Video will play after ad"));var c=dq(this.D.aa)||"";if(this.D.showContentThumbnail&&
!E(g.F(c))){var d=g.Cd("img");d.setAttribute("src",c);g.S(d,"videoAdUiPreSkipThumbnailImage");this.C.appendChild(d)}else this.B?(g.M(this.C,!1),g.S(this.g,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.A,"videoAdUiPreSkipTextOnlyCentered")):g.M(this.g,!1);g.M(this.o,!1);b.appendChild(this.o);this.I.U(this.G,"click",this.O);this.G.Cb(this.C)};
Bt=function(a,b){g.Ff.call(this);this.B=new g.mm(this);g.L(this,this.B);this.I=a;this.A=null;this.F=this.G=0;this.D=this.C=!1;var c=a.g,d;null!=c&&null!=Be(c,1)!=null&&null!=Ee(Oe(c),Ve,7)&&(d=Ee(Oe(c),Ve,7));this.o=d||new Ve;c=this.o;null!=Be(c,7)&&null!=Be(c,8)?(this.A=d=Be(c,8),c={jT:Be(c,7),lT:d},c=Xp(efa,c),cga(this,c)):c=Xp(dfa,{kT:Be(this.o,1)});null!=Be(this.o,6)&&(d=Be(this.o,6),g.S(c,dga[d]));g.M(c,!1);this.g=c;b.appendChild(this.g)};
cga=function(a,b){var c=new Ws;a.B.U(c,"click",(0,g.A)(function(){this.G++},a));
c.Cb(b);c=g.I("videoAdUiReasonToWatchDynamicTopic",b);if(null!=c){var d=new Ws;a.B.U(d,"click",(0,g.A)(function(){this.F++},a));
d.Cb(c)}};
ega=function(a){var b=new ct(a.g,1.25,{right:"-265px"},{right:"0px"},[{property:"right",duration:.25,timing:"ease-in-out",delay:1}]),c=g.I("videoAdUiReasonToWatchText",a.g),d=new ct(c,.25,{opacity:0},{opacity:1},[{property:"opacity",duration:.25,timing:"ease-in-out",delay:0}]);b.play();null!=d&&g.ug(function(){d.play()},1250,a);
a.C=!0;g.M(a.g,!0)};
fga=function(a){(new ct(a.g,.25,{right:"0px"},{right:"-265px"},[{property:"right",duration:.25,timing:"ease-in-out",delay:0}])).play();a.D=!0;g.ug(function(){g.M(this.g,!1)},250,a)};
g.Ct=function(a,b,c){g.K.call(this);this.ya=null;this.A=!1;this.C=a;this.B=c;this.g=b||window;this.o=(0,g.A)(this.BI,this)};
Dt=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
Et=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.Ft=function(a,b,c){g.K.call(this);this.g=a;this.B=b||0;this.o=c;this.A=(0,g.A)(this.ay,this)};
g.Gt=function(a){a.stop();a.ay()};
g.Ht=function(a){a.isActive()&&g.Gt(a)};
g.Jt=function(){g.It||(g.It=new g.Ft(function(){gga()},20));
var a=g.It;a.isActive()||a.start()};
gga=function(){var a=(0,g.G)();g.Ob(g.Kt,function(b){b.IO(a)});
g.$b(g.Kt)||g.Jt()};
Mt=function(a,b){g.Ff.call(this);this.config=a;this.aa=0;this.Y=!1;this.state=0==tp(this.config.skipOffset)?3:1;this.o=this.ba=this.skipButton=this.pa=this.da=this.I=this.D=this.A=null;this.ac=new g.mm(this);this.G=this.B=null;this.V=new Ws;this.ha="";this.na=!1;var c=a.g;c=this.g=null!=c&&null!=Oe(c)?Ee(Oe(c),Qe,1):null;this.ra=null!=c&&Be(c,19)?!0:!1;c=this.g;this.N=null!=c&&Be(c,24)?!0:!1;c=this.g;this.sa=null!=c&&Be(c,23)?!0:!1;c=this.g;this.Aa=null!=c&&Be(c,25)?!0:!1;this.A=Xp(this.ra?Zea:er);
this.D=g.I("videoAdUiPreSkipButton",this.A);this.I=g.I("videoAdUiPreSkipText",this.D);this.da=g.I("videoAdUiPreSkipTextTimeLeft",this.D);this.pa=g.I("videoAdUiPreSkipThumbnail",this.D);this.sa&&g.M(this.I,!1);Pm().g("use_forced_linebreak_preskip_text")&&(this.na=!0,g.S(this.I,"videoAdUiPreSkipTextForcedLineBreak"));Lt(this,0);c=dq(this.config.aa)||"";if(this.config.showContentThumbnail&&!E(g.F(c))){var d=g.Cd("img");d.setAttribute("src",c);g.S(d,"videoAdUiPreSkipThumbnailImage");this.pa.appendChild(d)}else P.g()?
(g.S(this.D,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.I,"videoAdUiPreSkipTextOnlyCentered")):g.S(this.I,"videoAdUiPreSkipTextOnly");d=!P.g()&&P.V;var e=null!=this.g&&null!=Ee(this.g,Ye,3)&&!this.N,f=P.g()&&Pm().g("fixed_padding_skip_button")&&!this.N;this.o=Xp(this.N?hfa:d||e||f?gfa:ffa,{eu:Wa(""+Ia("Skip Ad {$skipSymbol}",{skipSymbol:Q("")}))});this.skipButton=g.I("videoAdUiSkipButton",this.o);e&&(this.ba=g.I("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||P.g()&&Pm().g("use_new_skip_icon")){var k=
g.I("videoAdUiSkipIcon",this.skipButton);null!=k&&g.Vp(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.S(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.I("videoAdUiSkipButtonExperimentalText",this.skipButton),null!=c&&g.S(c,"videoAdUiFixedPaddingSkipButtonText"),g.S(g.I(e?"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.N&&this.config.showContentThumbnail&&!E(g.F(c))&&(d=g.Cd("img"),
d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Aa&&(c=g.I("videoAdUiSkipText",this.o),g.M(c,!1));hga(this);"4.4.4"===(g.un?yn(vn):"")&&(this.D.style.backgroundColor="black",this.skipButton.style.backgroundColor="black");g.M(this.A,!1);b.appendChild(this.A);0==tp(this.config.skipOffset)?this.dispatchEvent("skipshown"):(g.M(this.o,!1),g.Jh(this.o,0));b.appendChild(this.o);Pm().g("move_skip_button_to_top")&&(g.S(this.A,"videoAdUiHighPreSkipContainer"),
g.S(this.o,"videoAdUiHighSkipContainer"));this.ac.U(this.V,"click",this.RT);this.V.Cb(this.skipButton)};
Lt=function(a,b){var c=null!=a.config.skipOffset&&-1!=tp(a.config.skipOffset)?tp(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=no(d));d={sn:a.na?"forcedlinebreak":a.ha,Lg:c,rO:"\n"};a.ra&&null!=a.da?g.Td(a.da,c):(c=a.I,d=d||{},d=""+Wo("b",d.sn)(d,null,void 0),g.Td(c,d))}};
Nt=function(a){return new ct(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
Ot=function(a,b){null!=a.D&&g.M(a.D,b);null!=a.skipButton&&g.M(a.skipButton,b)};
hga=function(a){if(null!=a.g){var b=null!=Ee(a.g,We,1)&&null!=Ee(Ee(a.g,We,1),Xe,1)?Be(Ee(Ee(a.g,We,1),Xe,1),1):null,c=null!=Ee(a.g,We,2)&&null!=Ee(Ee(a.g,We,2),Xe,1)?Be(Ee(Ee(a.g,We,2),Xe,1),1):null;b&&(a.skipButton.style.backgroundColor=$s(Zs(b)),c&&(a.ac.U(g.Qd(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=$s(Zs(c))}),a.ac.U(g.Qd(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=$s(Zs(b))})));
if(null!=Ee(a.g,Ye,3)&&null!=a.ba){var d=Vaa(Ee(a.g,Ye,3));0<d.length&&Be(d[0],1)&&g.Td(a.ba,Be(d[0],1))}}};
Tt=function(a,b){Mt.call(this,a,b);var c=this.g;this.ga=null!=c&&Be(c,8)?!0:!1;this.ea=!1;this.C=this.L=null;c=this.g;var d=Pt;null!=c&&(null!=Be(c,10)&&Be(c,10)||null!=Be(c,9)&&!Be(c,9))&&(d=Qt);this.J=d;c=this.g;d=Rt;null!=c&&(null!=Be(c,12)&&Be(c,12)||null!=Be(c,11)&&!Be(c,11))&&(d=St);this.O=d;this.F=0};
Ut=function(a){null==a.C&&"4.4.4"!=(g.un?yn(vn):"")&&1!=a.F&&(g.af(a.B),a.B=null,a.C=g.ug(function(){qt(this.o,.5,"ease-in",1,.5).play();this.F=1;this.C=null},0,a))};
Wt=function(a,b){if(0!=a.F){if(b){if(null!=a.C||"4.4.4"==(g.un?yn(vn):""))return;a.C=g.ug(function(){qt(this.o,.5,"ease-in",.5,1).play();this.C=null},0,a)}else Vt(a),g.Jh(a.o,1);
a.F=0}};
Vt=function(a){null!=a.C&&(g.vg(a.C),a.C=null)};
Xt=function(a){null!=a.L&&(g.vg(a.L),a.L=null)};
Yt=function(a,b,c){var d=null;switch(c){case Rt:null!=b&&null!=b.skipOffset&&(d=1E3*(a-tp(b.skipOffset)));break;case St:a=g.x("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?db(a):null}return d};
Zt=function(a,b){var c=1E3*a.jx;null!=b&&null!=Be(b,13)&&(c=Be(b,13));return c};
$t=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.I=l;this.J=m;this.g=this.A.vg()};
au=function(a){var b=a.g,c=g.Hh(a.B);c="left"==a.C?"0px":"right"==a.C?c.width-a.A.hf().width+"px":a.C+"px";var d=g.Hh(a.B);a="bottom"==a.D?"0px":"top"==a.D?d.height-a.A.hf().height+"px":d.height-a.A.hf().height-db(a.D)+"px";g.oh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
iga=function(a){g.Kh(a.g)||(g.M(a.g,!0),(0,g.H)(a.J,function(a){Zm(a)}))};
fu=function(a,b,c){this.L=b;this.da=c||0;this.O=40;this.o=1;this.Y=0;this.B=3;this.V=this.A=0;this.ea=!1;this.N=this.G="";this.C="-";this.I="";this.g=1;this.F=!1;this.D=[];this.ba=this.aa=!1;this.J=0;if("number"==typeof a)switch(a){case 1:bu(this,cu.cv);break;case 2:bu(this,cu.DG);break;case 3:bu(this,cu.tG);break;case 4:a=cu.kF;b=["0"];c=du[this.L||cu.mk][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(""));bu(this,a);break;case 5:eu(this,1);break;case 6:eu(this,
2);break;default:throw Error("Unsupported pattern type.");}else bu(this,a)};
bu=function(a,b){b.replace(/ /g,"\u00a0");var c=[0];a.G=gu(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.D.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.ba)throw Error('Multiple exponential symbols in pattern "'+b+'"');a.ba=
!0;a.V=0;c[0]+1<n&&"+"==b.charAt(c[0]+1)&&(c[0]++,a.ea=!0);for(;c[0]+1<n&&"0"==b.charAt(c[0]+1);)c[0]++,a.V++;if(1>f+k||1>a.V)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.B=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.ba&&(a.O=f+a.o,0==a.B&&0==a.o&&(a.o=1));a.D.push(Math.max(0,m));a.aa=0==e||e==l;d=c[0]-d;
a.N=gu(a,b,c);c[0]<b.length&&";"==b.charAt(c[0])?(c[0]++,1!=a.g&&(a.F=!0),a.C=gu(a,b,c),c[0]+=d,a.I=gu(a,b,c)):(a.C+=a.G,a.I+=a.N)};
eu=function(a,b){a.J=b;bu(a,cu.cv);a.A=0;a.B=2;if(0<a.A)throw Error("Can't combine significant digits and minimum fraction digits");a.Y=2};
iu=function(a,b){var c=Math.pow(10,a.B),d=0>=a.Y?Math.round(b*c):Math.round(hu(b*c,a.Y,a.B));if((0,window.isFinite)(d)){var e=Math.floor(d/c);c=Math.floor(d-e*c)}else e=b,c=0;return{intValue:e,rI:c}};
ju=function(a,b,c,d){if(a.A>a.B)throw Error("Min value must be less than max value");d||(d=[]);b=iu(a,b);var e=b.intValue,f=b.rI,k=0<a.A||0<f||!1;b=a.A;k&&(b=a.A);for(var l="",m=e;1E20<m;)l="0"+l,m=Math.round(m/10);l=m+l;var n=cu.dv;m=cu.eq.charCodeAt(0);var q=l.length,r=0;if(0<e||0<c){for(e=q;e<c;e++)d.push(String.fromCharCode(m));if(2<=a.D.length)for(c=1;c<a.D.length;c++)r+=a.D[c];c=q-r;if(0<c){e=a.D;r=q=0;for(var w,z=cu.Qp,B=l.length,C=0;C<B;C++)if(d.push(String.fromCharCode(m+1*Number(l.charAt(C)))),
1<B-C)if(w=e[r],C<c){var N=c-C;(1===w||0<w&&1===N%w)&&d.push(z)}else r<e.length&&(C===c?r+=1:w===C-c-q+1&&(d.push(z),q+=w,r+=1))}else{c=l;l=a.D;e=cu.Qp;w=c.length;z=[];for(q=l.length-1;0<=q&&0<w;q--){r=l[q];for(B=0;B<r&&0<=w-B-1;B++)z.push(String.fromCharCode(m+1*Number(c.charAt(w-B-1))));w-=r;0<w&&z.push(e)}d.push.apply(d,z.reverse())}}else k||d.push(String.fromCharCode(m));(a.aa||k)&&d.push(n);f=String(f);k=f.split("e+");2==k.length&&(f=String(hu((0,window.parseFloat)(k[0]),a.Y,1)),f=f.replace(".",
""),f+=Ta("0",(0,window.parseInt)(k[1],10)-f.length+1));a.B+1>f.length&&(f="1"+Ta("0",a.B-f.length)+f);for(a=f.length;"0"==f.charAt(a-1)&&a>b+1;)a--;for(e=1;e<a;e++)d.push(String.fromCharCode(m+1*Number(f.charAt(e))))};
ku=function(a,b,c){c.push(cu.gv);0>b?(b=-b,c.push(cu.dG)):a.ea&&c.push(cu.uG);b=""+b;for(var d=cu.eq,e=b.length;e<a.V;e++)c.push(d);c.push(b)};
lu=function(a){a=a.charCodeAt(0);if(48<=a&&58>a)return a-48;var b=cu.eq.charCodeAt(0);return b<=a&&a<b+10?a-b:-1};
gu=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||cu.mk;else switch(a.da){case 0:d+=du[a.L||cu.mk][1];break;case 2:k=a.L||cu.mk;var l=du[k];d+=k==l[1]?k:k+" "+l[1];break;case 1:d+=du[a.L||cu.mk][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+=cu.xv;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+=cu.yv;break;default:d+=k}}return d};
ou=function(a,b){var c=1==a.J?mu.av:mu.UE;null==c&&(c=mu.av);if(3>b)return nu;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 nu;c=d.other;return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],TC:c[3],Mq:e+1-(c[2].length-1)}:nu:nu};
pu=function(a){if(!(0,window.isFinite)(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b};
hu=function(a,b,c){if(!a)return a;b=b-pu(a)-1;if(b<-c)return c=Math.pow(10,c),Math.round(a/c)*c;c=Math.pow(10,b);return Math.round(a*c)/c};
ru=function(a,b,c,d){g.Ff.call(this);this.g=a;this.Gc=this.ea=!1;this.na=c;this.fd=d;this.Aa=this.Y=this.F=this.D=this.O=this.Ha=this.aa=this.J=this.Ib=this.sa=this.Ra=this.L=this.o=null;this.Ab=!1;this.Jb=this.Za=this.bb=this.N=this.V=this.I=this.ra=this.pa=this.ha=this.B=this.C=this.zb=this.ga=this.da=this.G=null;this.A=new g.mm(this);this.Ma=[];a=this.g;this.gd=null!=a&&null!=a.g&&null!=Oe(a.g)?Ee(Oe(a.g),Re,2):null;a=this.g;this.Ic=null!=a&&null!=a.g&&null!=Oe(a.g)?Ee(Oe(a.g),Ve,7):null;this.Sa=
!1;this.ba=[];this.ea=!this.g.I&&P.g();this.ib=!P.g()&&P.ib;a="";this.ea?a="redesign2014q4":this.ib&&(a="fixedDirectionality");a={attributionText:this.g.attributionText,ph:this.g.ph,se:this.g.se,sn:a};this.o=Xp(this.g.Y,a);this.g.ra||this.A.U(this.o,"touchmove",this.fK);this.ga=g.I("videoAdUiProgress",this.o);this.zb=g.I("videoAdUiBuffer",this.o);this.L=g.I("videoAdUiAttributionContainer",this.o);this.Ra=g.I("videoAdUiAttributionIconContainer",this.o);this.sa=g.I("videoAdUiAttribution",this.o);this.g.ha&&
(c=this.g.g,null!=Ee(Oe(c),Pe,8)&&(d=Be(Ee(Oe(c),Pe,8),1),null!=d&&(c=g.I("videoAdUiAttributionWithBadge",this.L),d=jga[d],null!=d&&(this.Sa=!0,g.S(c,d),this.sa=g.I("videoAdUiAttributionText",this.o),g.S(b,"videoAdUiInstreamBadgeExperiment")))));this.Ib=g.I("videoAdUiVisitAdvertiserLink",this.o);this.J=g.I("videoAdUiVisitAdvertiserLinkText",this.o);this.aa=g.I("videoAdUiVisitAdvertiserIcon",this.o);this.Ha=g.I("videoAdUiBottomBarMessage",this.o);this.O=g.I("videoAdUiAuthorIcon",this.o);this.D=g.I("videoAdUiAuthorName",
this.o);this.F=g.I("videoAdUiLearnMore",this.o);this.Y=g.I("videoAdUiLearnMoreText",this.o);this.ea?(this.N=g.I("videoAdUiTopButtonShare",this.o),this.bb=g.I("videoAdUiTopButtonShareTooltip",this.o),this.Za=g.I("videoAdUiTopButtonInfo",this.o),this.Jb=g.I("videoAdUiTopButtonWatchLater",this.o)):this.N=g.I("videoAdUiShare",this.o);this.G=g.I("videoAdUiTitle",this.o);this.da=g.I("videoAdUiTopBar",this.o);this.Aa=g.I("videoAdUiBottomBar",this.o);null!=this.O&&this.A.U(this.O,"click",this.EH);null!=this.D&&
(c=new Ws,this.ba.push(c),this.A.U(c,"click",this.FH),c.Cb(this.D));null!=this.F&&(c=new Ws,c.C=!0,this.ba.push(c),this.A.U(c,"click",this.hz),c.Cb(this.F));null!=this.Y&&(c=new Ws,c.C=!0,this.ba.push(c),this.A.U(c,"click",this.hz),c.Cb(this.Y));null!=this.N&&this.A.U(this.N,"click",this.OT);null!=this.G&&(c=new Ws,this.ba.push(c),this.A.U(c,"click",this.bU),c.Cb(this.G));null==this.da||!P.g()&&mn()||this.A.U(this.o,"mouseover",this.KT);null!=this.J&&this.A.U(this.J,"click",this.xp);null!=this.aa&&
this.A.U(this.aa,"click",this.xp);null!=this.L&&null!=this.g.J&&kt(this.g.J)&&(g.S(this.L,"videoAdUiWtaClickable"),this.A.U(this.L,"click",this.PS),this.A.U(this,"why_this_ad_got_it",this.pU));null!=this.g.skipOffset?(this.B=P.g()?new Tt(this.g,this.o):new Mt(this.g,this.o),this.B.Hh(this),this.B.ha=a.sn):!this.g.V||3==this.fd&&3500>this.na||(this.I=new At(this.g,this.o),g.L(this,this.I),this.I.Hh(this));this.g.G&&(this.ha=new dt(this.g,this.o),g.L(this,this.ha),this.ha.Hh(this));a=this.g.g;P.g()&&
null!=a&&null!=Be(a,1)&&null!=Be(Oe(a),3)&&Be(Ee(Oe(a),Se,3),1)&&(this.pa=new vt(this.g,this.o));a=this.g.g;P.g()&&null!=a&&null!=Be(a,1)&&null!=Be(Oe(a),7)?(c=Ee(Oe(a),Ve,7),a=null!=Be(c,1)||null!=Be(c,7)&&null!=Be(c,8),c=Be(c,5),a=a&&c?!0:!1):a=!1;a&&(this.ra=new Bt(this.g,this.o));this.g.Va&&(this.V=new zt,this.V.Hh(this),this.Aa.insertBefore(this.V.o,this.L));400>=((0,window.parseInt)(g.sh(b,"width"),10)||b.width)&&g.S(this.o,"videoAdUi-mobile");this.g.I&&(g.S(this.o,"blazer"),window.settings&&
window.settings.isTablet?(g.S(this.o,"tablet"),a=Pm(),(a.g("mweb_cougar")||a.g("mweb_cougar_ads_backend"))&&!a.g("mweb_ipad_disable_custom_control")&&window.settings.customControls&&g.S(this.o,"customControls")):g.S(this.o,"phone"));a=g.$d(b,"html5-video-player");null!=a&&(this.ea&&g.S(a,"videoAdUiRedesign"),g.T(a,"ytp-video-ad-learn-more-ui",this.g.B));g.M(this.o,!1);b.appendChild(this.o);this.g.B||this.ea||!this.g.da||(this.C=g.Ad("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.o.appendChild(this.C));
qu(this)};
kga=function(a){null!=a.C&&g.M(a.C,!1)};
tu=function(a,b,c){if(null!=a.pa){var d=a.pa,e=null!=a.g.skipOffset;if(!d.L){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.da;g.nb(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.Y&&(f.icon_sty=d.Y);f.conv_enabled=d.O?"t":"f";f.conv_sent=d.F?"t":"f";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=bq(f);e=g.vm(e,d.ba.D);Zm(e);d.L=!0}}null!=a.ra&&(d=a.ra,a=null!=a.g.skipOffset,e={action:"condor-robin"},e.topic=d.A?d.A:Be(d.o,1),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.G,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=bq(e),b=g.vm(b,d.I.D),Zm(b),d.L=!0)};
uu=function(a){a.B&&(a.B.dispose(),a.B=null)};
vu=function(a,b){a.Ma=b;(0,g.H)(b,function(a){a.B=this.o;a.B.appendChild(a.g);au(a);g.M(a.g,!1);var b=a.Cc();if(null!=b){var c=new Ws;c.C=!0;this.ba.push(c);this.A.U(c,"click",(0,g.A)(this.HJ,this,a));c.Cb(b)}},a)};
wu=function(a){null!=a.J&&(g.M(a.J,!0),g.Td(a.J,a.g.visitAdvertiserText));null!=a.aa&&g.M(a.aa,!0)};
xu=function(a,b){if(null!=a.o){var c=g.$d(g.Qd(a.o),"html5-video-player");null!=c&&(g.T(c,"ytp-ad-end-cap",b),g.T(c,"ytp-ad-display-override",b))}};
qu=function(a){var b=a.g.C&&(a.na>a.g.ba||0==a.na),c=b&&a.g.sa,d=b&&a.g.Aa,e=b&&a.g.A,f=b&&a.g.pa;b=b&&a.g.O;var k=a.g.na&&a.g.o,l="0px";var m=a.gd;m=P.g()&&null!=m&&Be(m,1)?!1:!0;var n=a.g;var q=a.Ic;if(P.g()&&null!=q&&null!=Be(q,1)&&Be(q,2)){var r=Be(q,1)||"";Qa(r,"[VC_RAW]")?(q=Be(q,3),n=0<n.gg&&null!=q&&0<q&&n.gg>=q):n=!0}else n=!1;null!=a.G&&(g.M(a.G,b),null!=a.O&&g.M(a.O,c),null!=a.D&&g.M(a.D,d),null!=a.N&&(g.M(a.N,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Za&&g.M(a.Za,!1),null!=a.Jb&&
g.M(a.Jb,!1),null!=a.da&&g.M(a.da,b||c||d||e));null!=a.L&&yu(a);null!=a.ga&&(g.M(a.ga,k),k&&(l=g.sh(a.ga,"height")));null!=a.Aa&&!P.g()&&g.oh(a.Aa,"bottom",l);zu(a);null!=a.Ra&&g.M(a.Ra,a.g.ea);null!=a.Ib&&g.M(a.Ib,m);if(null!=a.Ha&&n){a:if(c=a.g,d=a.Ic,P.g()&&null!=d&&null!=Be(d,1)){d=Be(d,1)||"";if(Qa(d,"[VC_RAW]")){c=(new fu(1)).format(c.gg);if(E(c)){c="";break a}e=new RegExp(Sa("[VC_RAW]"),"g");d=d.replace(e,c.replace(/\$/g,"$$$$"))}c=d}else c="";g.Td(a.Ha,c);g.M(a.Ha,!0)}P.g()||!a.g.N||P.D||
(null!=a.F&&g.M(a.F,!1),null!=a.Y&&g.M(a.Y,!1))};
lga=function(a,b,c,d,e){var f=a.Sa?hr({Hg:"",sg:0,Jg:0}):gr({Hg:"",sg:0,Jg:0});if(a.g.o&&a.g.ga)if(c=no(c-b),b=a.g.I?" \u2022 "+c:a.ea?" \u00b7 "+c:": ("+c+")",a.Sa){if(null==e||2>e)b="\u00a0"+c;f=hr({Hg:b,sg:d,Jg:e})}else f=gr({Hg:b,sg:d,Jg:e});g.Td(a.sa,f);yu(a)};
yu=function(a){g.M(a.L,a.g.F&&(!a.g.o||a.Ab))};
mga=function(a,b){null!=a.ha&&a.ha.show(b)};
zu=function(a){var b=a.g.C&&(a.na>a.g.ba||0==a.na)&&a.g.A?a.g.N?!P.D||a.Gc:!0:!1;null!=a.F&&g.M(a.F,b);null!=a.Y&&g.M(a.Y,P.g()&&a.g.B&&!b)};
Au=function(){g.K.call(this);this.B="";this.fb=null;this.A=new mp;this.o=new Ol;this.D=[];this.I=!1;this.g={};this.G={};this.C=-1;this.F=[]};
Bu=function(a,b,c){c=c||up(a.A,b.type);if(P.o){var d=vo(so(),b.type,a.B);a.J(b.type,c,d)}else Pda(ao(),b.type,a.B,(0,g.A)(a.J,a,b.type,c))};
nga=function(a,b){null!=b&&(0,g.H)(b,function(a){g.lb(this.F,a)||this.F.push(a)},a)};
Cu=function(a,b,c){null!=c.viewability&&lq(a.g,c.viewability);var d;P.o||(d=ao().J||void 0);var e=[];(0,g.H)(b,function(a){var b=this.g;mq(b,a,"MOAT_INIT",c.moatInit);mq(b,a,"MOAT_VIEWABILITY",c.moatViewability);mq(b,a,"IAS_VIEWABILITY",c.integralAdsViewability);mq(b,a,"DV_VIEWABILITY",c.doubleVerifyViewability);mq(b,a,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(an(a,this.g,c,d))},a);
lq(a.g,"na");return e};
Du=function(a,b,c){(0,g.H)(b,function(a){Zm(a,void 0,void 0,c)},a)};
oga=function(a,b){switch(b){case "abandon":return!Ql(a.o,b)&&!Ql(a.o,"skip")&&!Ql(a.o,"instreamAdComplete")&&(Ql(a.o,"impression")||a.I);case "instreamAdComplete":case "complete":return!Ql(a.o,b)&&!Ql(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!Ql(a.o,b)}};
Eu=function(a){g.Ff.call(this);this.ads=a;this.Wc=null;this.xe=new g.mm(this);g.L(this,this.xe);this.ad="normal";this.Ia=this.volume=null;this.Qa=new Vn;this.fe=!1;this.content={};this.Ob=new Au;this.Ja=null;this.fn=!1;ao();this.yp=(0,g.A)(this.zI,this);this.cj=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.kg=a.length;var f=d+1;c.g=f;c.A=f})};
Fu=function(a,b){if(a.Wc=b)a.Ob.B=b.J;if(P.o){var c=so();wo(c,a.yp);b&&c.o.set(b.J,a.yp)}};
Gu=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:Gu(a,b.o)};
Hu=function(a){return(0,g.Hk)(a.ads,function(a){return(0,g.Hk)(this.dh(a),function(a){return!E(g.F($p(a.o)))})},a)};
Iu=function(a){a=a.g;return null!=a&&a instanceof Ap};
Ju=function(a,b){Bu(a.Ob,new g.cf(b));a.ia(b)};
pga=function(a,b){return(0,g.Lr)(g.Ub(b),function(a){return Xb(this.Qa,a)},a)};
Lu=function(a){if(!a.Fc())throw gn(Ku,null,"Ads manager is not correctly configured.");};
Mu=function(a,b){for(var c=b;null!=c;)(0,g.H)(c.G.sb(),a.mT,a),c=c.o};
qga=function(a){if(!g.xa(a))throw gn(Ku,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.ub(g.Tb(Nu),g.Tb(Ep));(0,g.H)(a,function(a){if(!g.lb(b,a))throw gn(Ku,null,"Invalid or unsuppoted mime type "+a);})};
Ou=function(a){var b=a.ka();if(null!=b){var c=b.g;if(c instanceof Ap&&(c=c.ra,null!=c&&!g.nb(c))){var d=window.document.body,e=kq(a.ka());e=pt(!1,null,null,!1,a.Qa,e);e.C=!1;e.F=!1;e.o=!1;b=b.af();a.Ja=new ru(e,d,1E3*a.getDuration(),b);vu(a.Ja,c);a.Ja.show();a.Wa().U(a.Ja,"videoIconClicked",a.bQ)}}};
Pu=function(a,b,c){null!=a.Ja&&0<=c&&0<=b&&a.Ja.update(b,0,c,0,0)};
rga=function(a,b){function c(a,b){for(var c in a)for(var d=c.toLowerCase(),e=0;e<Qu.length;e++){var m=Qu[e];if(d==m)throw Error('Cannot override "'+m+'" '+b+', got "'+c+'" with value "'+a[c]+'"');}}
c(a,"attribute");c(b,"param")};
g.Ru=function(){};
g.Su=function(a){g.Ff.call(this);this.I=a||g.ld();this.ya=null;this.Ie=!1;this.g=null;this.D=void 0;this.F=this.L=this.B=null};
Tu=function(a,b){if(a.Ie)throw Error("Component already rendered");a.g||a.Rn();b?b.insertBefore(a.g,null):a.I.g.body.appendChild(a.g);a.B&&!a.B.Ie||a.ej()};
Uu=function(a,b){a.L&&(0,g.H)(a.L,b,void 0)};
Vu=function(a,b){g.Su.call(this,b);this.J=a;this.A=new g.mm(this);this.o=new Ol};
Wu=function(a){return a.oa()?a.oa().firstChild:null};
Xu=function(a){g.Ff.call(this);this.fb=null;this.D=a;this.o=null;this.B=-1;this.C=!1;this.A=ab()};
Yu=function(){};
Zu=function(a,b,c){this.g=a;this.Cf=c;this.o=b};
sga=function(a,b){this.g=a;this.o=b};
$u=function(a,b,c,d){Hp.call(this,a,b,"Static",c,d);this.zw=!1};
av=function(a,b,c,d){Hp.call(this,a,b,"Html",c,d)};
bv=function(a,b,c,d){Hp.call(this,a,b,"Static",c,d)};
dv=function(a,b,c){if(g.nb(c))return new Hp(a,b,"",null,"");var d=cv(c);c=d.o;var e=d.g;d=d.A;switch(c){case "Html":return new av(a,b,e,d);case "Static":switch(Ep[e]){case "Image":return new bv(a,b,e,d);case "Flash":return new $u(a,b,e,d);case "Text":return new Zp(a,b)}}return new Hp(a,b,c,e,d)};
cv=function(a){var b=g.gb(a,function(a){return"Static"==a.o&&"Flash"==Ep[a.g]}),c=g.gb(a,function(a){return"IFrame"==a.o}),d=g.gb(a,function(a){return"Html"==a.o}),e=g.gb(a,function(a){return"Static"==a.o&&"Image"==Ep[a.g]}),f=g.gb(a,function(a){return"Static"==a.o&&"Text"==Ep[a.g]});
return lo&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
tga=function(a,b,c,d,e,f){var k=cv(f),l=dv(a.id,a.size,[k]);l.D=!0;l.J=a.apiFramework;l.na=b;l.L=c;l.g=d;e&&(l.vj=e);g.sb(f,k);var m=[];(0,g.H)(f,function(f){f=dv(a.id,a.size,[f]);f.D=!0;f.J=a.apiFramework;f.na=b;f.L=c;f.g=d;e&&(f.vj=e);m.push(new Qq(f,[],a.adSlotId))});
return new Qq(l,m,a.adSlotId)};
ev=function(a,b,c){this.o=a;this.g=b;this.A=c};
fv=function(a,b,c){Op.call(this);this.o=a;this.A=b;this.B=c};
gv=function(){this.fb=null};
hv=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};
uga=function(a,b){a.g=b};
iv=function(a,b,c,d,e,f,k,l,m,n,q){Op.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};
jv=function(){};
wga=function(a,b){var c;(0,g.H)(g.Nd(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new hv:null;break;case "params":null!=c&&vga(this,c,a)}},a);
return c};
vga=function(a,b,c){(0,g.H)(g.Nd(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=Hr(c,!1)}},a)};
kv=function(){this.fb=null};
lv=function(){};
mv=function(){};
nv=function(){};
ov=function(a){this.data=a||{}};
pv=function(a,b,c){a=a.data[b];return null!=a?a:c};
qv=function(a,b){return!!pv(a,b,void 0)};
or=function(a,b){return pv(a,b,"")};
rv=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]};
tv=function(a,b){return a.data[b]?a.data[b].length:0};
uv=function(a){this.data=a||{}};
vv=function(a){this.data=a||{}};
wv=function(a){this.data=a||{}};
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||{}};
As=function(a){this.data=a||{}};
Uq=function(a){return new zv(a.data.product_card)};
br=function(a){return new xv(rv(a,"action",0))};
zs=function(a){return qv(a,"show_in_endcap")};
Cs=function(a){return qv(a,"show_in_companion")};
Hv=function(){if(!Cv){var a={};Cv={g:a};a.type=Dv;a.id=Ev;a.link_url=Ev;a.title=Ev;a.image=Uh(Fv());a.event=Vh(Gv());a.target=Ev}return Cv};
qr=function(a){return or(a,"title")};
ar=function(a){return or(a,"target")};
Gv=function(){if(!Iv){var a={};Iv={g:a};a.type=Dv;a.base_url=Ev}return Iv};
Yq=function(a){return new As(a.data.image)};
Vq=function(a){return new Av(rv(a,"offer",0))};
Xq=function(a){return or(a,"merchant")};
Zq=function(a){return or(a,"price")};
Jv=function(a){return new xv(rv(a,"action",0))};
rr=function(a){return or(a,"description")};
Fv=function(){if(!Kv){var a={};Kv={g:a};a.image_url=Ev;a.thumbnail_url=Ev;a.image_height=Lv;a.image_width=Lv}return Kv};
Bs=function(a,b){a.data.image_url=b};
Mv=function(a,b,c){Op.call(this,c);this.o=a;this.A=b||null};
Nv=function(a){this.g=a};
Pv=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]=Ov[b.nodeName][f.nodeName][f.nodeValue];break;case "i":d[f.nodeName]=(0,window.parseInt)(f.nodeValue,10);break;default:d[f.nodeName]=f.nodeValue}}for(e=0;e<b.childNodes.length;e++)if(f=b.childNodes[e],f.nodeType==window.Node.ELEMENT_NODE&&
(k=c.g[f.nodeName],null!=k)){var l=Pv(a,f,k.ae);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
xga=function(a,b){var c=new mp;(0,g.H)(g.Nd(b),function(a){"CustomTracking"==a.nodeName&&null!=g.Nd(a)&&(c=Or(a,!1,(0,g.A)(function(a,b){return Qv(a,b)},this)))},a);
return c};
Qv=function(a,b){return g.vm(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
Rv=function(a,b){Op.call(this);this.A=a;this.o=g.F(b)};
Sv=function(a,b){Op.call(this);this.o=a;this.A=b};
Tv=function(){this.fb=null};
Uv=function(a,b){this.logger=null;this.A=b;this.g={};this.o=[];this.g.CustomTracking=Or;this.g.UI=this.C};
Vv=function(a,b){if(null==b)return null;var c={};(0,g.H)(g.Nd(b),function(a){c[a.nodeName]=null!=this.g[a.nodeName]?this.g[a.nodeName].call(this,a):null},a);
return null==c.UI?null:c};
Wv=function(){Uv.call(this,0,"mute_");this.g.SurveyOptions=this.B};
Xv=function(){Op.call(this);this.o=""};
Yv=function(){this.fb=null};
Zv=function(a,b,c,d){Op.call(this);this.B=a;this.A=b;this.C=c;this.o=d};
$v=function(){this.fb=null};
aw=function(){Op.call(this)};
bw=function(){this.fb=null};
yga=function(a,b){(0,g.H)(g.Nd(b),function(a){a.nodeName==this.g.SG&&Dr(a)},a)};
cw=function(a,b,c,d,e,f){Op.call(this);this.C=a||"";this.D=b||"";this.F=c||"";this.B=d;this.o=e;this.A=f};
dw=function(){this.fb=null};
ew=function(a){Op.call(this);this.o=a};
fw=function(){this.fb=null};
gw=function(){Uv.call(this,0,"why_this_ad_");this.o.push("targeting_reason")};
hw=function(a,b){return null!=a?(0,g.Lr)(b,function(b){return b in a}):!1};
zga=function(a,b){return null!=a?(0,g.Hk)(b,function(b){return b in a}):!1};
iw=function(){};
jw=function(){Op.call(this)};
kw=function(){};
lw=function(){};
mw=function(a){this.B=a;this.logger=null};
nw=function(a){if(null==a)return!1;a=g.Pd(a);return null!=a&&"VAST"==a.nodeName};
pw=function(a,b){var c=[],d=null;try{var e=g.wr(a),f=g.Pd(e);null!=f&&"CompanionAds"==f.nodeName&&(d=ow(mw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
qw=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};
Bga=function(a){var b=[],c=g.Pd(a.B),d=qw(c);Er(c,a.g.zE,function(a){var c=rw(a);if(null==c)throw yr(a);var e=a.getAttribute(this.o.pm);a=Number(a.getAttribute(this.o.Dv));var l=e||null;e=a||0;var m=null,n=null;a=[];for(var q=[],r=[],w=[],z=new Ol,B,C=c.nodeName==this.g.fH,N=C,da=C,Ea=null,Ba=g.Nd(c),Ca=0,Me=Ba.length;Ca<Me;Ca++){var Za=Ba[Ca];switch(Za.nodeName){case this.g.AE:Dr(Za);case this.g.vG:break;case this.g.bH:if(C){if(null!=B)throw zr(Za);B=Dr(Za);Ea=xfa(B);N=Hr(c.getAttribute(this.o.IE),
N);da=Hr(c.getAttribute(this.o.BF),da)}else throw yr(Za);break;case this.g.FE:m=Dr(Za);break;case this.g.GE:n=Dr(Za);break;case this.g.pF:Dr(Za);break;case this.g.QG:Dr(Za);break;case this.g.rm:Za=Dr(Za);Mr(Za)&&a.push(Kr(Za));break;case this.g.ERROR:Za=Dr(Za);q.push(Kr(Za));break;case this.g.hF:w=Aga(this,Za);r=w.creatives;w=w.TH;break;case this.g.xF:var Qc=Za;z=Ea;Za=new Ol;try{var Md=Br(Qc,this.g.EXTENSION);Qc=0;for(var hg=Md.length;Qc<hg;Qc++){var Mb=Md[Qc],ob=Mb.getAttribute(this.o.Wv);null!=
ob?ob=ob.toLowerCase():ob="generic";switch(ob){case "programmatic":var Vb=(new Yv).parse(Mb);break;case "geo":Vb=(new kw).parse(Mb);break;case "pod":Vb=(new iw).parse(Mb);break;case "waterfall":Vb=(new lw).parse(Mb);break;case "dart":Vb=(new lv).parse(Mb);break;case "dfp":ob="DFP";Vb=(new mv).parse(Mb);break;case "adsense":ob="AdSense";Vb=(new kv).parse(Mb);break;case "textad":ob="TextAd";Vb=(new dw).parse(Mb);break;case "templatead":ob="TemplateAd";Vb=(new bw).parse(Mb);break;case "infocards":ob=
"InfoCards";var ei=new Nv(!0);Vb=ei.parse(Mb);break;case "infocardstracking":ob="InfoCardsTracking";ei=new Nv(!1);Vb=ei.parse(Mb);break;case z:case "prefetchedad":ob="LocalRedirect";var Xg=Mb;if(null==Xg)Vb=null;else{var ac=null,qj=Br(Xg,"AdXml");if(1==qj.length){var rj=g.Pd(qj[0]);if(null!=rj)try{ac=Ar(rj)}catch(Ne){ac='<?xml version="1.0" encoding="UTF-8"?>'+xr(rj)}else ac='<?xml version="1.0" encoding="UTF-8"?>'+xr(rj)}var nd=Br(Xg,"VASTAdTagURI");Xg=null;1==nd.length&&(Xg=nd[0].textContent);Vb=
new Rv(ac,Xg)}break;case "viral":ob="viral";Vb=(new fw).parse(Mb);break;case "metrics":ob="metrics";Vb=(new Tv).parse(Mb);break;case "adx":ob="adx";Vb=(new Qr).parse(Mb);break;case "why_this_ad":ob="why_this_ad";Vb=(new gw).parse(Mb);break;case "mute":ob="mute";Vb=(new Wv).parse(Mb);break;case "sodar":Vb=(new $v).parse(Mb);break;case "adformat":ob="AdFormat";Vb=(new gv).parse(Mb);break;default:var sj=new nv;ob="generic";Vb=sj.parse(Mb)}if(null!=Vb){var Vk=Za.get(ob);null!=Vk?"generic"==ob&&(sea(Vk,
Vb.g),Za.set(ob,Vk)):Za.set(ob,Vb)}}}catch(Ne){if(!g.za(Ne.Rb)||1105==Ne.Rb())throw Ne;}z=Za}}c=g.F(l);Md=m;a:if(E(g.F(m)))hg="UNKNOWN";else switch(hg=m.toUpperCase(),hg){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:hg="UNKNOWN"}z.get("programmatic");Mb=z;ob=null;
z=z.get("AdSense");null!=z&&(z=Pp(z,"vast2tracking"),null!=z&&!g.nb(z)&&(ob=z[0]));e=new Ur(c,Md,hg,0,n,0,0,0,e,q,a,r,w,Mb,B,N,da,ob);null!=e&&(e.Ra=d,b.push(e))},a);
return b};
rw=function(a){var b=null;a=g.Nd(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw yr(b);}return b};
Cga=function(a){if(E(g.F(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
Aga=function(a,b){var c=[],d=[];Er(b,a.g.gF,function(a){var b=a.getAttribute(this.o.Dv),e=window.NaN;E(g.F(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.o.BE);b=a.getAttribute(this.o.pm);var l=!1,m=[];a=g.Nd(a);for(var n=0,q=a.length;n<q;n++){var r=a[n];switch(r.nodeName){case this.g.ZG:var w=r,z=Dr(w);z=g.F(z);E(z)&&w.getAttribute(this.o.MF);r.getAttribute(this.o.LF);break;case this.g.LINEAR:if(l)throw zr(r);l=Dga(this,r,(0,window.isNaN)(e)?0:e,b||null);wb(c,l);wb(m,l);l=!0;break;case this.g.WE:if(l)throw zr(r);
l=ow(this,r,(0,window.isNaN)(e)?0:e);wb(d,l);l=!0;break;case this.g.kG:if(l)throw zr(r);l=Ega(this,r,(0,window.isNaN)(e)?0:e,b||null);wb(c,l);wb(m,l);l=!0}}n=0;for(q=m.length;n<q;n++);},a);
return{creatives:c,TH:d}};
Ega=function(a,b,c,d){var e=[],f=new mp;b=g.Nd(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.g.jG:m=Fga(a,m,c,d);null!=m&&e.push(m);break;case a.g.bq:f=Or(m);break;default:throw yr(m);}}0!=e.length||f.isEmpty()||(a=new Hp(null,new g.gd(-1,-1),"",null,""),a.g=c,a.ha=d,e.push(a));(0,g.H)(e,function(a){f&&(a.vj=f)});
return e};
tw=function(a,b){var c={};c.id=b.getAttribute(a.o.pm);c.adSlotId=b.getAttribute(a.o.EE);c.apiFramework=b.getAttribute(a.o.im);var d=bb(b.getAttribute(a.o.Bf)),e=bb(b.getAttribute(a.o.Te));c.size=new g.gd(d,e);d=b.getAttribute(a.o.wF);e=b.getAttribute(a.o.vF);E(g.F(d))||E(g.F(e))||(c.p3=new g.gd(bb(d),bb(e)));return c};
Fga=function(a,b,c,d){var e=tw(a,b);b.getAttribute(a.o.im);b.getAttribute(a.o.CG);b.getAttribute(a.o.WF);var f=b.getAttribute(a.o.fG);f=Gr(f,-1);var k=[];new Ol;var l={},m="",n=null,q=[];b=g.Nd(b);for(var r=0,w=b.length;r<w;r++){var z=b[r];switch(z.nodeName){case a.g.mG:q.push(Dr(z));break;case a.g.lG:n=Dr(z);break;case a.g.Ip:l=uw(z);m=g.F(Dr(z));break;case a.g.qm:case a.g.sm:case a.g.lm:z=vw(a,z);null!=z&&k.push(z);break;default:throw yr(z);}}a=dv(e.id,e.size,k);wp(a,m,l);a.J=e.apiFramework;a.na=
n;a.L=q;a.Aa=f;a.g=c;a.ha=d;return a};
vw=function(a,b){var c=Cr(b,a.o.iF);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.g.sm:d="Static";break a;case a.g.qm:d="IFrame";break a;case a.g.lm:d="Html";break a;default:throw fn(Gga,null,d);}}var e=Dr(b);null!=e||(e="");return new ev(d,c,e)};
ow=function(a,b,c){var d=[],e=Cga(Cr(b,a.o.zG));Er(b,a.g.VE,function(a){var b=tw(this,a);var e=[],f=new mp,n=null,q=[];a=g.Nd(a);for(var r=0,w=a.length;r<w;r++){var z=a[r];switch(z.nodeName){case this.g.YE:q.push(Dr(z));break;case this.g.bq:f=Or(z,!0);break;case this.g.XE:n=Dr(z);break;case this.g.JE:Dr(z);break;case this.g.Ip:Dr(z);break;case this.g.qm:case this.g.sm:case this.g.lm:z=vw(this,z);null!=z&&e.push(z);break;default:throw yr(z);}}b=g.nb(e)?null:tga(b,n,q,c,f,e);null!=b&&d.push(b)},a);
return new sga(d,e)};
Dga=function(a,b,c,d){var e=new mp,f={},k="",l=[],m=null,n=new Ol,q=[],r=[],w=0,z=Nr(Cr(b,a.o.IG));b=g.Nd(b);for(var B=0,C=b.length;B<C;B++){var N=b[B];switch(N.nodeName){case a.g.GF:r=Hga(a,N);break;case a.g.Ip:f=uw(N);k=g.F(Dr(N));break;case a.g.Np:w=Gr(Dr(N),0);break;case a.g.bq:e=Or(N);break;case a.g.aG:q=Iga(a,N);break;case a.g.cH:l=Jga(a,N);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw yr(N);}}(0,g.H)(l,function(a){rp(e,"click",a)});
a=new Ap(w,m,n,q,z,r);wp(a,k,f);a.g=c;a.ha=d;e&&(a.vj=e);return a};
Jga=function(a,b){for(var c=null,d=[],e=new Ol,f=g.Nd(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.g.SE:c=Dr(m);break;case a.g.TE:m=Dr(m);d.push(m);break;case a.g.lF:var n=Cr(m,a.o.pm);null!=n||(n="");var q=e.get(n,[]);q.push(Dr(m));e.set(n,q);break;default:throw yr(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
Iga=function(a,b){for(var c=[],d=Br(b,a.g.ZF),e=0,f=d.length;e<f;e++){var k=d[e],l=Cr(k,a.o.oF),m=Cr(k,a.o.Wv);Cr(k,a.o.dH);var n=bb(k.getAttribute(a.o.Bf)),q=bb(k.getAttribute(a.o.Te)),r=k.getAttribute(a.o.im),w=Dr(k),z=Fr(k.getAttribute(a.o.Yu)),B=Fr(k.getAttribute(a.o.eG));k=Fr(k.getAttribute(a.o.YF));l=new zp(l,m,0,z,B,k,n,q,w,r);c.push(l)}return c};
Hga=function(a,b){var c=[];Er(b,a.g.FF,function(a){var b=a.getAttribute(this.o.wG);var d=Cr(a,this.o.hH),k=Cr(a,this.o.pH),l=bb(a.getAttribute(this.o.Bf)),m=bb(a.getAttribute(this.o.Te)),n=new g.gd(l,m);l=a.getAttribute(this.o.im);m=Nr(Cr(a,this.o.nG));var q=a.getAttribute(this.o.Np);q=Gr(q,-1);var r=[],w=[],z={};a=g.Nd(a);for(var B=0,C=a.length;B<C;B++){var N=a[B];switch(N.nodeName){case this.g.KF:w.push(Dr(N));break;case this.g.HF:z=[];var da=null;N=g.Nd(N);for(var Ea=0,Ba=N.length;Ea<Ba;Ea++){var Ca=
N[Ea];switch(Ca.nodeName){case this.g.IF:da=Dr(Ca);break;case this.g.JF:z.push(Dr(Ca));break;default:throw yr(Ca);}}z={iconClickThrough:da,IJ:z};break;case this.g.qm:case this.g.sm:case this.g.lm:da=vw(this,N);null!=da&&r.push(da);break;default:throw yr(N);}}g.nb(r)?b=null:(a=z,n=dv("icon"+b,n,r),n.J=l,b=new $t(n,b,d,k,q,m,a.iconClickThrough,a.IJ,w));null!=b&&c.push(b)},a);
return c};
uw=function(a){a=Dr(a);return null!=a?Vda(a):{}};
ww=function(a){Eu.call(this,a);this.g=this.fb=null;this.N={};this.A=!0;this.J=this.I=this.F=!1;this.D=this.L=0;this.o=null;this.C=0;this.B=1;this.G=-1;this.V=!1;this.O=2==P.F};
xw=function(a){var b=a.cd("getAdLinear");return g.sa(b)?b:a.A};
yw=function(a){if(!a.A){var b=a.cd("getAdRemainingTime");b=g.ta(b)?b:-2;if(!g.ta(b)||0>b)b=30;g.vg(a.G);a.G=g.ug(a.stop,1E3*b,a)}};
Aw=function(a,b){var c=gn(zw,b,void 0),d=jq(c,a.ka()),e=es(a.ka());cn(e,d);zw.message=c.Cd();kn(a,zw,b);a.stop()};
Bw=function(a){a.V||(a.V=!0,Ju(a,"complete"))};
Cw=function(a){Eu.call(this,a);this.C=this.g=this.fb=null;this.A=!0;this.Y=this.L=this.F=!1;this.V=ab();this.I=this.N=0;this.G=-1;this.o=null;this.D=0;this.B=1;this.J=-1;this.O=!1};
Dw=function(a){var b=a.jd("getAdLinear");return g.sa(b)?b:a.A};
Ew=function(a){if(!a.A){var b=a.jd("getAdRemainingTime");b=g.ta(b)?b:-2;if(!g.ta(b)||0>b)b=30;g.vg(a.J);a.J=g.ug(a.stop,1E3*b,a)}};
Fw=function(a,b,c,d){d=gn(b,c,d);var e=jq(d,a.ka()),f=es(a.ka());cn(f,e);b.message=d.Cd();kn(a,b,c)};
Gw=function(a){a.O||(a.O=!0,Ju(a,"complete"))};
Hw=function(a){Bm.call(this,"adMetadata",a)};
Iw=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
Jw=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"}};
Kw=function(){};
Mw=function(a){var b;(b=a.g)||(b={},Lw(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};
Nw=function(){};
Sw=function(a){return(a=Lw(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};
Lw=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};
Tw=function(a){g.Ff.call(this);this.headers=new Ol;this.O=a||null;this.A=!1;this.N=this.g=null;this.ba=this.J="";this.o=0;this.D="";this.B=this.Y=this.I=this.V=!1;this.C=0;this.F=null;this.aa="";this.L=this.G=!1};
Uw=function(a,b){a.C=Math.max(0,b)};
Kga=function(a){return g.vd&&g.rc(9)&&g.ta(a.timeout)&&g.t(a.ontimeout)};
Lga=function(a){return"content-type"==a.toLowerCase()};
Xw=function(a,b){a.A=!1;a.g&&(a.B=!0,a.g.abort(),a.B=!1);a.D=b;a.o=5;Vw(a);Ww(a)};
Vw=function(a){a.V||(a.V=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
ax=function(a){if(a.A&&"undefined"!=typeof Yw)if(a.N[1]&&4==Zw(a)&&2==a.getStatus())$w(a,"Local request error detected and ignored");else if(a.I&&4==Zw(a))g.ug(a.fy,0,a);else if(a.dispatchEvent("readystatechange"),4==Zw(a)){$w(a,"Request complete");a.A=!1;try{var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=g.Gg(String(a.J))[1]||null;if(!f&&g.v.self&&g.v.self.location){var k=g.v.self.location.protocol;
f=k.substr(0,k.length-1)}e=!Mga.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.o=6;try{var l=2<Zw(a)?a.g.statusText:""}catch(m){l=""}a.D=l+" ["+a.getStatus()+"]";Vw(a)}}finally{Ww(a)}}};
Ww=function(a,b){if(a.g){bx(a);var c=a.g,d=a.N[0]?g.y:null;a.g=null;a.N=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
bx=function(a){a.g&&a.L&&(a.g.ontimeout=null);g.ta(a.F)&&(g.vg(a.F),a.F=null)};
Zw=function(a){return a.g?a.g.readyState:0};
cx=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};
$w=function(a,b){return b+" ["+a.ba+" "+a.J+" "+a.getStatus()+"]"};
Nga=function(a,b,c,d){var e=new g.Ul("https://www.googleapis.com/youtube/v3/videos");g.cm(e,"id",a);g.cm(e,"part","snippet,status,statistics");g.cm(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));dx(new Tw,e,b,c)};
Oga=function(a,b,c,d){var e=new g.Ul("https://www.googleapis.com/youtube/v3/channels");g.cm(e,"id",a);g.cm(e,"part","snippet,statistics,brandingSettings");g.cm(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));dx(new Tw,e,b,c)};
dx=function(a,b,c,d){g.cm(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");Uw(a,2E3);var e=new g.mm(a);e.rh(a,"success",function(a){a=a.target;var b=a.g?g.yg(a.g.responseText):void 0;c(b||{});e.dispose();a.dispose()});
e.rh(a,["error","timeout"],function(a){a=a.target;var b=null;0!=a.o&&(b=Error(Jw(a.o)));d(b);e.dispose();a.dispose()});
a.send(b)};
ex=function(a,b,c,d,e,f,k,l){f=void 0===f?window.Infinity:f;k=void 0===k?!1:k;Ci.call(this,a,l);this.C=0;this.J=f;this.Y=b;this.L=c;this.V=d;this.ba=e;this.aa=!("csi.gstatic.com"!==this.L||!this.g.navigator||!this.g.navigator.sendBeacon);this.F={};this.g.performance&&this.g.performance.now||(this.F.dat=1);this.G={};this.N=!k;this.A=(0,g.A)(this.O,this);this.I=g.Ga(this.g.setTimeout,this.A,1100);this.B=this.g.setTimeout(this.A,1E4);"complete"===this.g.document.readyState?this.g.setTimeout(this.A,0):
ai(this.g,"load",this.I);ai(this.g,"unload",this.A)};
fx=function(a){var b=g.ta(a.value)?Math.round(a.value).toString(36):a.value,c=Math.round(a.duration);return""+a.label+(null!=a.slotId?"_"+a.slotId:"")+("."+b)+(0<c?"_"+c.toString(36):"")};
Pga=function(a,b){a.C++;var c=new si(void 0,"~");xi(c,"puid",a.C.toString(36)+"~"+(0,g.G)().toString(36));Yh(a.F,function(a,b){xi(c,b,a)});
Yh(a.G,function(b,d){xi(c,d,b);delete a.G[d]});
Yh(b,function(a,b){xi(c,b,a)});
var d=yi(c,a.Y,a.L,""+a.V+a.ba+"&");a.aa&&a.g.navigator.sendBeacon(d,null)||di(a.g,d)};
ix=function(){this.g=null;if((Rm(Om(),21592081)||Rm(Om(),21592082))&&!P.g()){this.g=new ex(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(gx)var a=gx;else{(a=ci())?(a=a.master,a=Xh(a)?a:null):a=null;a=a||ji();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?gx=b:a.google_persistent_state_async=gx=new vca}b=ji();var c=ci(b);c?((b=c||ci())?(c=b.pageViewId,g.u(b.clientId)&&(c+=b.clientId.replace(/\D/g,"").substr(0,6)),b=c):b=null,b=
+b):(b=rk(b).Fu,(c=b.google_global_correlator)||(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=Qga[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;hx(this,"c",a);a=Sm(Om());E(g.F(a))||hx(this,"e",a)}this.o="0"};
jx=function(){var a=ix.getInstance();a.g&&(a.g.Ij(),a.g=null)};
hx=function(a,b,c){a.g&&c&&(a.g.F[b]=c)};
kx=function(a){var b=ix.getInstance();if(b.g&&Rga){var c=b.g,d=Di();c.o&&c.Qo(new Ai(a,4,d,0,void 0));Rm(Om(),21592082)&&(a=b.g,!a.B&&a.o&&a.N&&(a.B=a.g.setTimeout(a.A,Math.min(1E3<<a.C,6E4))))}};
Sga=function(a,b){if(b){var c=/iu\=\/(\d+)\//.exec(Na(b)),d=g.F((new g.Ul(b)).g.get("client"));a.o=c&&2==c.length?c[1]:E(d)?"0":d}else a.o="0"};
lx=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=db(b.viewCount),this.gg=(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}};
Tga=function(a){return'<a target="_blank" href="'+Q(a.url)+'" class="'+Q("fullslot-attribution-button")+'">'+Q(a.text)+"</a>"};
Uga=function(a){return'<div class="'+Q("fullslot-autoclose")+'">'+Q(a.GH)+"</div></div>"};
mx=function(a){return""+Ia("Ad will close in {$xSeconds}",{xSeconds:Q(a.Lg)})};
nx=function(a){g.Ff.call(this);this.C=new g.sg(200);g.L(this,this.C);this.A=0;this.o=!1;this.N=a;this.J=new g.mm(this);this.J.U(this.C,"tick",this.kR)};
ox=function(a){a.C.stop();a.o=!1};
qx=function(a,b,c,d,e){nx.call(this,b.g);this.G=b;this.F=c;this.I=this.G.g;this.g=a;this.B=this.D=null;g.S(this.g,Iw(this.F));a=this.g;b=new ot;b.skipOffset=new dr(this.G.B,!1);this.B=new Mt(b,a);d&&d.text&&(d=Xp(Tga,d),this.g.appendChild(d));e?(e=this.g,d=mx({Lg:px(this.I)}),a=Xp(Uga,{GH:d}),g.Td(a,d),e.appendChild(a),e=a):e=null;this.D=e};
Vga=function(a){var b=g.I("videoAdUiSkipButton",a.g);return b?g.Eh(b,a.g):new g.dd(0,0)};
px=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
tx=function(a,b,c,d,e){nx.call(this,d);this.I=a;this.V=b;this.O=e;this.B=new g.mm(this);g.L(this,this.B);this.D=new Ws;g.L(this,this.D);this.L=new Ws;g.L(this,this.L);this.G=new Ws;g.L(this,this.G);(a=rx(c))?(c=a(c),b.appendChild(c),b=g.I("iv-endcap-action",c),this.B.U(this.D,"click",this.F),this.D.Cb(b),b=g.I("iv-endcap-text",c),this.B.U(this.L,"click",this.F),this.L.Cb(b),b=g.I("iv-endcap-image",c),this.B.U(this.G,"click",this.F),this.G.Cb(b),b=c):b=null;this.g=b?g.I("iv-endcap-countdown-inner",
b):null;null!=this.g&&g.oh(this.g,"stroke-dasharray","0 "+sx)};
rx=function(a){switch(a.Yb()){case 1:return Wga;case 4:return Xga}return null};
Wga=function(a){var b=Uq(a);a=0<tv(a,"action")?br(a):null;return Xp(Sq,{headline:b.nd(),description:or(b,"description"),image:Yq(b).getImageUrl(),action:a?qr(a):"",target:a?ar(a)||or(a,"link_url"):""})};
Xga=function(a){var b=a.g();a=0<tv(a,"action")?br(a):null;return Xp(Sq,{headline:b.nd(),description:rr(b),image:b.yg().getImageUrl(),action:a?qr(a):"",target:a?ar(a)||or(a,"link_url"):""})};
Yga=function(){var a="",b=Ia("Your video will play after this ad.");a+='<div class="'+R("videoAdInterstitial")+'"><p>'+b+"</p></div>";return Ro(a)};
ux=function(){g.K.call(this);this.A=Xp(Yga);this.g=0};
vx=function(a){a.g&&(g.vg(a.g),a.o(g.y))};
wx=function(){this.o=this.J=this.Vi=this.g=this.adFormat=null;this.G=this.I=this.F=this.isPharma=this.C=!1;this.timeout=-1;this.B=!1;this.A=this.D=null;this.ak=this.gk=!1};
xx=function(a){g.cf.call(this,a)};
yx=function(a){g.Ff.call(this);this.fb=null;this.B=a;this.N=new Ol;this.J=-1;this.G=this.O=!1;this.F=""};
zx=function(a){this.paused=!1;this.mute=a.tj();this.volume=a.getVolume()};
Ax=function(a,b,c,d){if(!c||null==a.N.get(b)){d&&!a.G&&(b="error");a.N.set(b,!0);a:{c=b;if(a.A&&a.A.g.A){if("click"==c)break a;"videoLearnMoreClicked"==c&&Bu(a.B,new g.cf("click"))}d=Zga[c]||null;null!=d&&null!=a.g&&a.g.Wt(d);Bu(a.B,new g.cf(c))}a.dispatchEvent(b)}};
Bx=function(a){0>a.J||a.O||!a.g.Ak(a.J)&&!a.g.jh()||!a.G||(a.O=!0,Ax(a,"engagedview",!0,!0),a.dispatchEvent(new xx("viewCount")))};
Cx=function(a){Bx(a);if(P.g()){var b=a.B;if(!(Ql(b.o,"skip")||0>b.C)){for(var c=pp(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&&Bu(b,new g.cf("progress"),d)}}Ax(a,"complete",!0,!0)};
Ex=function(a){this.g=new Ol;if(a){a=Sl(a);for(var b=a.length,c=0;c<b;c++)Dx(this,a[c])}};
Fx=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Fa(a):b.substr(0,1)+a};
Dx=function(a,b){a.g.set(Fx(b),b)};
Gx=function(a){Eu.call(this,a);this.g=null;this.D=!1;this.A=new yx(this.Ob);this.fb=null;this.V=this.aa=this.F=!1;this.ba=this.C=1;this.o=null;this.Y=new ux;this.G=new Ex;this.da=!1;this.N=[];this.L=this.J=this.O=!1;this.B=null;this.ea=!mn()&&P.g();this.I=!1;Rm(Om(),324123001)&&(P.V=!0);Rm(Om(),324123021)&&(P.V=!0);if(a=0<a.length?a[0]:null){var b=ix.getInstance();hx(b,"gqid",qs(a));hx(b,"qqid",nq(a))}$ga(this)};
Hx=function(a,b){var c=g.ug(function(){this.G.remove(c);b.call(this)},0,a);
Dx(a.G,c)};
Ix=function(a){a.B&&(g.af(a.B),a.B=null);g.af(a.Ja);a.Ja=null;g.af(a.A);g.af(a.Ob);a.V=!1};
Jx=function(a){a.Tj();a.yb()?a.start():a.stop()};
bha=function(a){if(!a.yb())return!1;var b=a.Ia.Kf();if(null==b)return!1;var c=a.ka(),d;if(d=c.L?c.L.g.al()?c.L.g.Ur():c.L.ld():"")aha(a,b,d);else if(Gs(c)&&(d=c.ba,d=g.nb(d)?null:d[0],null!=d&&g.za(rx(d)))){var e=1==d.Yb();a.g=new tx(a.Fa,b,d,Ns(c),e);a.Wa().U(a.g,"click",(0,g.A)(a.wx,a,null));a.Ja&&xu(a.Ja,!0);a.Ia.td()}null!=a.g&&(a.Wa().U(a.g,"timeUpdate",a.QB),a.Wa().U(a.g,"end",a.hI),a.g.start(),Ju(a,"video_card_endcap_impression"));return null!=a.g};
aha=function(a,b,c){Tn(Qn.getInstance(),34,{evt:"start"},!0);var d=g.Ad("DIV");g.S(d,"controls");var e=g.Ad("DIV");g.S(e,"adDisplay");g.S(e,"endslate");e.innerHTML=c;(c=g.Nd(e)[0])&&g.oh(c,{margin:"0 auto"});(0,g.H)(c.getElementsByTagName("a"),function(a){var b=a.getAttribute("href");b&&this.Wa().U(a,"click",(0,g.A)(this.wx,this,b))},a);
d.appendChild(e);e=new hv;uga(e,Ns(a.ka()));e.B=0;e.A=0;a.g=new qx(d,e,1,{},!0);a.Wa().U(a.g,"skip",a.xx);b.appendChild(a.g.g);a.Ia.td();a.Ja&&(kga(a.Ja),uu(a.Ja))};
Lx=function(a,b){Kx(a);null!=a.Fa&&a.Fa.Lr();a.ia("complete");Ju(a,b);a.Da("instreamAdComplete");Jx(a)};
Kx=function(a){a.g&&(a.g.dispose(),a.g=null);a.Ja&&xu(a.Ja,!1);a.D=!1};
Ox=function(a,b,c){Mx(a)&&c?Nx(a,b).then(a.kw,null,a):(a.kw(),c&&Nx(a,b))};
cha=function(a){null!=a.Fa&&a.Fa.Kr();var b=Pm();b=b.g("use_forced_brand_precap_duration")?b.o("forced_brand_precap_duration_ms"):2E3;mga(a.Ja,b);var c=g.ug(function(){null!=this.Fa&&this.Fa.Lr();this.G.remove(c);this.Y.show(this.Ia.Rk(),this.Qa.wu,(0,g.A)(this.Fa.play,this.Fa))},b,a);
Dx(a.G,c)};
Px=function(a,b,c,d){b=pp(b.g,c);g.nb(b)||(a[d]=b[0].g)};
Qx=function(a,b,c){b=c.getExtension(b);null!=b&&(Px(a,b,"annotation_click","cta_annotation_clicked"),Px(a,b,"annotation_close","cta_annotation_closed"),Px(a,b,"annotation_start","cta_annotation_shown"))};
dha=function(a,b){var c=new wx;c.adFormat=oq(b);Es(b)&&!b.ga&&(c.Vi=ls(b));c.J=a.Qa.contentId;if(a.Ja){var d={};Qx(d,"AdSense",b);Qx(d,"dart",b);Qx(d,"DFP",b);c.o=d;c.F=a.Ja.g.B}b.isSkippable()&&!Zr(b)&&(c.I=!0);d=Pm();c.timeout=d.g("use_variable_load_timeout")?d.o("variable_load_timeout_ms"):a.Qa.kf;var e=b.A;e&&(c.C=e.ip);c.B=a.Qa.Xk;c.g=nq(b);c.D=a.Qa.oj;c.isPharma=cq(a.lj());c.isPharma||(e=b.getExtension("AdSense"),null!=e&&(c.isPharma=e.isPharma()));c.G=d.g("legacy_autoplay_flag");d=is(a.ka(),
"endscreenClick");d=g.nb(d)?null:g.Ag({endscreenClick:d});c.A=d;c.gk=Mx(a);c.ak=a.yb()&&Us(a.ka());return c};
$ga=function(a){var b=0,c=0;(0,g.H)(a.ads,function(a){!Iu(a)||P.g()&&0!=c||(c++,b+=a.getDuration())},a);
var d=1;(0,g.H)(a.ads,function(a){var b=a.C;b.kg=c;Iu(a)&&(b.g=d,b.A=d,d++)},a)};
Rx=function(a){var b=a.o;return b&&b.da&&(b=b.F,!g.nb(b)&&b[0]instanceof Ap)?b[0].gf():js(a)};
Ux=function(a,b){if(!Iu(b))throw gn(Sx);var c=b.g,d=c.C;if(null!=d)return d;var e=null!=b&&!Tx(a)&&(P.g()||a.Ia.Xn()||a.Ia.Er()||mn());d=a.dh(b);e=a.Fa.rC(d,a.Qa.bitrate,a.Qa.mimeTypes||[],e);eha(d,a.Qa.bitrate,e,ds(b));if(null!=e)return c.C=e;try{fha(a,b)}catch(f){}throw gn(gha);};
fha=function(a,b){if(Qn.getInstance().isLoggingEnabled()){var c=new Ex,d=!1;(0,g.H)(a.dh(b),function(a){Dx(c,a.g);"VPAID"==a.A&&(d=!0)},a);
var e=a.Fa.fr();e={aid:ls(b),mt:c.sb().join(","),smt:e.join(","),hvp:d,st:rs(b).join(",")};Tn(Qn.getInstance(),28,e)}};
eha=function(a,b,c,d){if(!P.g())try{var e=(0,g.J)(a,function(a){return a.Uf}),f=(0,g.J)(a,function(a){return a.g});
a={};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.Uf;a.selmt=null===c?"":c.g;a.ic=!1;a.nat=!1;a.iyh=Um(c.o)?"1":"0";a.as=d;Tn(Qn.getInstance(),22,a)}catch(k){}};
Vx=function(a){return a.L?!1:a.Qa.Xk&&(!a.Ia.rj()||a.Ia.rj()&&!1)};
Tx=function(a){return a.Qa.Xk&&Dn(a.Ia)&&!a.L&&!0};
Yx=function(a){try{var b=a.ka();a.o=Ux(a,b);Hx(a,(0,g.A)(Gx.prototype.xs,a,b,a.o.o,a.o.g))}catch(c){(0,g.kb)(a.ads,b)+1<a.ads.length&&(Wx(a,c),a.Tj(),a.yb()?(jn(a,Xx,c),Yx(a)):kn(a,Xx,c))}};
hha=function(a){try{var b=a.Ee();null!==b&&(a.o=Ux(a,b),Hx(a,(0,g.A)(Gx.prototype.xs,a,b,a.o.o,a.o.g,!0)))}catch(c){}};
Zx=function(a,b){b in a.N||(a.N.push(b),a.ia(b))};
iha=function(a){var b=a.ka(),c={};c.pubbr=a.Qa.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.dh(b);var d=b.g;d=d?d.C:null;var e=(0,g.J)(a,function(a){return a.Uf});
a=(0,g.J)(a,function(a){return a.g});
c.brs=e.join(",");c.mts=a.join(",");c.as=ds(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.Uf,c.selmt=d.g,c.iyh=Um(d.o)?"1":"0",c.murl=d.o)}Tn(Qn.getInstance(),45,c)};
$x=function(a,b,c){Wx(a,c);a.Tj();a.yb()?(jn(a,b,c),a.start()):(kn(a,b,c),a.stop())};
Wx=function(a,b){var c=gn(Xx,b);c=jq(c,a.ka(),a.Fa);var d=es(a.ka());cn(d,c)};
ay=function(a){if(P.o||P.g()){var b=Rx(a.ka());null!=b&&Ym(b);a.ia("click")}else a.I&&a.ia("click")};
by=function(a,b){Sb(jha,b)&&om(a.Wa(),a.A,b,a.MB,a)};
cy=function(a){if(!a.O){var b=a.ka(),c=b.D;if(Rs(b)&&!P.g()&&!a.Ia.Xn()&&c){b=a.Fa.getCurrentTime();var d=a.Fa.getDuration(),e=new g.Ul("//s.youtube.com/s");g.cm(e,"ns","yt");g.cm(e,"el","adunit");g.cm(e,"docid",c);g.cm(e,"eurl",window.document.URL);g.cm(e,"len",d.toFixed(2));g.cm(e,"tv","1");g.cm(e,"ps","trueview-instream");g.cm(e,"st",b.toFixed(2));g.cm(e,"et",b.toFixed(2));g.cm(e,"rt",b.toFixed(2));Zm(e.toString());a.O=!0}}};
kha=function(a){var b=a.ka().O;if(null!=b){b=b.videoId;var c=a.Qa.Zi;if(E(g.F(b)))b=null;else{c=new g.Ul((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",b);Zl(c,d);c.I="action=share";b=c.toString()}null!=b&&(Ym(b),a.AC())}};
lha=function(a){a=dy(a)||ey(a);null!=a&&$m(a,"sharebuttondisplayed")};
dy=function(a){a=a.ka().getExtension("AdSense");return null!=a?new g.Ul(a.B):null};
ey=function(a){if(a=a.ka().g)if(a=xp(a,"start"),!g.nb(a))return new g.Ul(a[0].g);return null};
mha=function(a){var b=a.ka(),c=b.O;null!=c&&(b=aq(c.videoId,null!=Ls(b),a.Qa.Zi),null!==b&&(a.Fa.pause(),Ym(b)))};
fy=function(a){Hx(a,function(){this.ia("skip");Jx(this)})};
Nx=function(a,b){return g.kg(nha(a,b).then(a.NT,null,a).then(a.rT,null,a).then(a.LT,null,a).then(a.VH,null,a),g.y)};
nha=function(a,b){return new g.Zf(function(a,d){Nga(b,function(b){b=new lx(b);this.yb()&&this.ka().D==b.videoId?a(b):d()},function(){d()},this)},a)};
gy=function(a){return a.yb()&&null!=a.ka().O&&a.ka().O.isListed};
hy=function(a){var b=a.ka().ha;if(gy(a)&&null!=b){var c=a.Qa.Zi;b=g.F(b.channelId);c=E(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.Ka(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Fa.pause(),Ym(c))}};
Mx=function(a){if(Pm().g("website_actions_holdback"))return!1;a=a.ka();if(!a||!a.D)return!1;var b=g.gb(a.B,function(a){return 4==a.Yb()&&qv(a.Xe(),"show_in_cta")});
return P.g()&&Rs(a)&&null!=b};
oha=function(a,b,c){var d=a.yb()?a.ka().D:null;a=a.ka();if(!a||!d)return b;a=g.gb(a.B,function(a){return 4==a.Yb()&&qv(a.Xe(),"show_in_cta")});
if(!a)return b;d=a.g();var e=br(a);a=Oa(e&&ar(e)||"");if(Pm().g("website_actions_suppress_advertiser_supplied_text")){e=" ";var f=Oa(c.authorName)}else e=Oa(e&&qr(e)||" "),f=Oa(d.nd()||c.authorName);var k=Oa(rr(d)||"");c=Oa(d.yg().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 E(b)?b+'<Extension type="InfoCards">'+c+"</Extension>":b.replace(d,"$1"+c)};
iy=function(a){g.Ff.call(this);this.sessionId=a||ab();this.o=[]};
jy=function(a,b,c,d,e){g.cf.call(this,a);this.Rd=b;this.Vf=c;this.Ey=d;this.A=e};
ky=function(a,b){iy.call(this,b);this.A=a;this.sf=null;this.B=new g.mm(this);this.logger=null;this.B.U(yd(),"message",this.receive)};
ly=function(a){if(null==a||!g.u(a)||!g.Ka(a,"ima://"))return null;a=a.substr(6);try{return g.yg(a)}catch(b){return null}};
pha=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.Ag(e)};
my=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};
ny=function(a,b){g.cf.call(this,"vpaidEvent");this.sessionId=b};
oy=function(a){Eu.call(this,a);this.aa=this.N=this.Tc=!1;this.G=[];this.C=ab();this.fb=this.g=null;this.o=!0;this.J=-1;this.I=new g.sg(500);this.V=this.F=-1;this.B=1;this.ba=this.Y="";this.O=this.L=this.D=!1};
qy=function(a){var b=hs(a.ka());P.g()&&(b=qha(a,b));var c=g.F(js(a.ka())),d=a.ka();if(Iu(d)){var e=d.g,f=Cp(e,"javascript");null!=f&&(e.C=f)}d=Os(d);c={desiredBitrate:a.Qa.bitrate,creativeData:b,viewMode:a.ad,clickThroughUrl:c,adUrl:d,volume:a.B};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Qa.surveyCreativeData&&(c.creativeData=a.Qa.surveyCreativeData);py(a,"initAd",c);(0,g.H)(a.G,function(a){py(this,a.type,a.params)},a);
a.Tc=!0;a.G=[]};
ry=function(a,b,c){c=c||null;a.Tc?py(a,b,c):a.G.push({type:b,params:c})};
py=function(a,b,c){c=c||{};c.session=a.C;c.type=b;sy()?window.parent.postMessage(g.Ag(c),"*"):null!=a.A.contentWindow&&a.A.contentWindow.postMessage(g.Ag(c),"*")};
sha=function(a,b){var c={};b=Wa(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.H)(d,function(a){c[a]=!0});
g.Ob(rha,function(a,b){Pm().g(b)&&(c[a]=!0)},a);
return g.Ub(c).join(" ")};
qha=function(a,b){var c=g.wr(b),d=a.ka().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 xr(c)};
ty=function(a,b,c,d){d=gn(b,c,d);var e=jq(d,a.ka()),f=es(a.ka());cn(f,e);b.message=d.Cd();kn(a,b,c)};
wy=function(a,b){if(g.u(b.type))switch(b.type){case "friendlyReady":qy(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Ia.Qf();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.Da("click");a.ia("click");break;case "AdDurationChange":a.F=b.duration;a.J=b.remainingTime;a.ka().g.Va=a.F;a.ia("durationChange");break;case "AdError":ty(a,
zw,Error(b.message));a.stop();break;case "AdExpandedChange":a.ia("expandedChanged");break;case "AdImpression":var c=a.ka();g.nb(gs(c))||a.zd(c);Ju(a,"impression");a.L=!0;uy(a,51);break;case "AdLinearChange":c=b.isLinear;!a.o&&c?(a.ia("contentPauseRequested"),ry(a,"becameLinear")):!c&&a.o&&(a.ia("contentResumeRequested"),ry(a,"becameNonlinear"),ry(a,"getAdRemainingTime"),ry(a,"getAdDuration"));a.o=c;var d=a.ka();d.ra=!0;d.kb=c;a.ia("linearChanged");break;case "AdLoaded":g.vg(a.V);a.N=!0;d=b.companions;
c=a.ka();g.nb(gs(c))&&(d=pw(d,c.g.g),g.nb(d)||Tr(c,d));vy(a);Ju(a,"loaded");break;case "AdPaused":a.D=!0;Ju(a,"pause");break;case "AdPlaying":a.D=!1;Ju(a,"resume");break;case "AdRemainingTimeChange":a.J=b.remainingTime;c=a.ka().getDuration();d=c-a.Nc();Pu(a,d,c);break;case "AdSkipped":Ju(a,"skip");a.stop();break;case "AdSkippableStateChange":Ju(a,"skippableStateChanged");break;case "AdStarted":a.Da("creativeview");uy(a,52);break;case "AdStopped":a.Da("stop");a.stop();break;case "AdUserAcceptInvitation":a.o?
a.Da("acceptinvitationlinear"):a.Da("acceptinvitation");break;case "AdUserMinimize":a.Da("collapse");break;case "AdUserClose":Ju(a,"userClose");break;case "AdVideoComplete":a.L&&a.O||(c={},c.aic=a.L,c.avc=a.O,uy(a,56,c));Ju(a,"complete");break;case "AdVideoFirstQuartile":Ju(a,"firstquartile");break;case "AdVideoMidpoint":Ju(a,"midpoint");break;case "AdVideoStart":a.Da("start");a.ia("start");a.O=!0;break;case "AdVideoThirdQuartile":Ju(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.B&&
a.ia("volumeChange",{volume:c});0==c&&0!=a.B?(a.Da("mute"),a.ia("mute")):0==a.B&&0!=c&&a.Da("unmute");a.B=c;a.g.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.ia("interaction",c);break;case "Ping":Zm(b.url)}};
yy=function(a,b){sy()||py(a,"wrapperCall",{messageType:b})};
vy=function(a){a.N&&a.aa&&(ry(a,"startAd"),a.I.start(),a.o||(ry(a,"becameNonlinear"),ry(a,"getAdRemainingTime")),ry(a,"getAdDuration"))};
uy=function(a,b,c){try{c=c||{};c.dn=a.Y;c["if"]=sy();c.pid=ix.getInstance().o;var d=os(a.ka()).join();c.xy=d;Tn(Qn.getInstance(),b,c,!0)}catch(e){}};
sy=function(){return 2==P.F};
zy=function(){Eu.call(this,[]);this.fb=null;this.Yd=this.Zd=-1;this.F=!1};
By=function(a,b,c,d){if(a.g){var e=a.g;om(a.Wa(),e,Ay,a.dispatchEvent,a);om(a.Wa(),e,"companionBackfill",a.dispatchEvent,a);om(a.Wa(),e,"adError",a.ZA,a);om(a.Wa(),e,"allAdsCompleted",g.y,a);om(a.Wa(),e,"contentPauseRequested",a.gB,a);om(a.Wa(),e,"contentResumeRequested",a.At,a);om(a.Wa(),e,"userClose",a.Fi,a);om(a.Wa(),e,"autoClose",a.Ei,a);a.g.Gg(a.Jd);a.g.Rc(b,c,d)}};
Cy=function(a){a.g&&(a.g.destroy(),a.g=null);a.Ia&&a.Ia.hide();g.af(a.ac);a.ac=null};
Ey=function(a,b,c){zy.call(this);this.A=c;this.o=null;this.C=this.D=this.B=!1;this.g&&Cy(this);this.g=b;Dy(this,b)};
Gy=function(a,b,c){var d=(0,g.A)(function(a){jn(this,tha,c);try{var b=Fy([a[0]]);if(b)var d=b;else throw Error("Ads manager creation failure, failed to determine ad type.");Dy(this,d);a=d;try{this.g&&Cy(this),this.g=a,By(this,this.Ia,this.content,this.Qa),this.F&&this.g.wj(),this.g.Bb(this.Zd,this.Yd,this.ad),this.g.init(this.ad),this.start()}catch(m){d=m;var e=a.Lb();vs(e);Gy(this,ws(e),Error(d.Cd()))}}catch(m){e=m,kn(this,e.Cd(),e.bl)}},a);
a=(0,g.A)(function(){this.ia("contentResumeRequested");kn(this,uha,c);this.destroy()},a);
null!=b?xq(b,d,a):a(null)};
Dy=function(a,b){a.o&&a.o.dispose();a.o=new g.mm(a);g.L(a,a.o);om(a.o,b,"start",a.CO,a)};
Hy=function(a){Eu.call(this,[]);this.fb=null;this.o=a;this.A=0;this.g=this.o[this.A];this.B=this.D=this.C=null;this.Yd=this.Zd=-1;this.F=!1;vha(this)};
Iy=function(a,b,c,d){if(a.g){a.C=new g.mm(a);var e=a.g,f=a.C;om(f,e,Ay,a.dispatchEvent,a);om(f,e,"start",a.WJ,a);om(f,e,"companionBackfill",a.dispatchEvent,a);om(f,e,"adError",a.BO,a);om(f,e,"allAdsCompleted",g.y,a);om(f,e,"contentPauseRequested",a.Bh,a);om(f,e,"contentResumeRequested",a.ag,a);om(f,e,"userClose",a.Fi,a);om(f,e,"autoClose",a.Ei,a);a.g.Rc(b,c,d)}};
vha=function(a){var b=0,c=a.o.length;(0,g.H)(a.o,function(a){b+=a.We().getDuration()},a);
var d=1;(0,g.H)(a.o,function(a){a=a.We().C;a.kg=c;a.g=d;a.A=d;d++},a)};
Ky=function(a,b,c){a.A+1>=a.o.length?kn(a,Xx,c.bl):(jn(a,Xx,c.bl),Jy(a,b))};
Jy=function(a,b){if(a.g===b)if(Ly(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.Ia.hide(),a.Ia.Wn()):(Iy(a,a.Ia,a.content,a.Qa),a.g.Bb(a.Zd,a.Yd,a.ad),a.g.init(a.ad)),a.start()}catch(c){Ky(a,a.g,c)}else a.ia("contentResumeRequested"),a.destroy()};
Ly=function(a){a.C&&(a.C.dispose(),a.C=null);a.g&&(a.g.destroy(),a.g=null);a.Ia&&a.Ia.hide()};
wha=function(a){return'<div class="'+Q("close-padding")+'"><a class="'+Q("close-button")+'" title="'+Q(a.close)+'" role="button" tabindex="0"></a></div>'};
xha=function(){return'<div class="'+Q("recall-button")+'"></div>'};
yha=function(a){return'<a target="_blank" href="'+Q(a.url)+'" class="'+Q("attribution-button")+'">'+Q(a.text)+"</a>"};
My=function(a,b){this.J=a;this.I=g.Ad("DIV",{"class":"controls"});this.g=g.Ad("DIV",{"class":"adDisplay"});this.Y=b||g.y;this.Mf=new g.mm(this)};
Ny=function(a){var b=g.Ad("DIV",{"class":"ima-container"});bt(b,"opacity 0.4s");a.Mf.U(b,"mouseover",a.FJ);a.Mf.U(b,"mouseout",a.eU);b.appendChild(a.I);a.I.appendChild(a.g);return b};
Oy=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
Py=function(a){Eu.call(this,a);this.containerElement=null;this.J=g.Ad("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.B=!1;this.F=[]};
Qy=function(a,b){var c=rea(b);(0,g.H)(c,function(a){rp(this.Ob.A,"click",a)},a)};
Ry=function(a,b){var c=jq(b,a.ka()),d=es(a.ka());cn(d,c)};
Sy=function(a,b,c,d,e,f,k){g.Ff.call(this);this.o=this.I=0;this.F=a;this.Ac=b;this.ha=c;this.D=null;this.ob=d;this.O=f;this.ba=P.B;this.L=this.C=this.G=this.g=null;this.Yd=this.Zd=-1;this.ea="normal";this.Y=null;this.B=e;this.A=[];this.da=this.N=this.ga=this.V=!1;this.aa=k;this.fb=null;zha(this)};
Ty=function(a,b,c,d){a.Zd=b;a.Yd=c;null!=d&&(a.ea=d);null!=a.g&&a.g.Bb(b,c,d)};
zha=function(a){(0,g.H)(a.F,function(a){Aha(a)})};
Uy=function(a){return a.I<a.F.length&&null!=a.F[a.I]};
Bha=function(a,b){var c;if(c=P.g()&&!g.nb(b)&&0==a.Ac)c=b[0],c=null!=c&&null==Os(c)&&Is(c,"nonlinear");return c?(c=ps(b[0]),"ADSENSE"==(0<c.length?c.pop():ds(b[0])).toUpperCase()):!1};
$y=function(a){!Uy(a)||2<=a.A.length-a.o?a.ga||(Wy(a),a.eg()&&Xy(a,a.o)&&Yy(a,a.o)&&Zy(a,a.o),a.ga=!0,a.dispatchEvent("adBreakInitialized")):Vy(a)};
Vy=function(a){var b=a.F[a.I];om(a.J,a.ob,"adsLoaderSdkAdLoaded",a.XA,a);P.B="on_master_ad";Cha(a.ob,b.o,b)};
Wy=function(a){null==a.Ac||(0,g.Hk)(a.A,function(a){return!a.isBumper()})||(a.A=(0,g.Ld)(a.A,function(a){return!(a.isBumper()&&!a.A)}))};
Xy=function(a,b){if(b<a.A.length){var c=a.A[b];g.nb(c.g)?c=!1:(c=c.g[0],c=null!=c?!po(Vr(c),"rm"):!1)}else c=!1;return c};
gz=function(a){if(Xy(a,a.o)){var b=a.A[a.o];try{a.N?az(a,a.g):a.eg()&&Yy(a,a.o)?(null===a.C&&Zy(a,a.o),bz(a),a.g=a.C,a.G=a.L,a.C=null,a.L=null,a.B.Wn()):(bz(a),a.G=new g.mm(a),a.g=cz(a,b,a.G),az(a,a.g));null!=a.D&&(a.D.dispose(),a.D=null);if(dz(a.g)){var c=a.Lb();if(null==c||!Js(c)){var d=a.g.ka().g;if(null!==d){var e=d.Aa;0>=e&&!a.O.tw||(0>=e&&(e=15),a.D=new g.sg(1E3*e),rm(a.G,a.D,"tick",a.RQ,a))}}}if(dz(a.g))a.dispatchEvent("contentResumeRequested"),a.B.td(),a.g.start(),null!=a.D&&a.D.start();else{var f=
a.g;if(null!=f&&f instanceof Gx)a.B.Qf(),a.g.start();else{var k=a.g;if(null!=k&&k instanceof oy){var l=a.g;a.B.td();l.Wb()?sy()||a.B.Qf():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var m=a.g;if(null!=m&&(m instanceof Cw||m instanceof ww))a.B.td(),a.g.Wb()||a.dispatchEvent("contentResumeRequested"),a.g.start();else{var n;if(!(n=ez(a.g))){var q=a.g;n=null!=q&&q instanceof Ey}if(n)a.g.start();else throw Error("Unknown ads manager type.");}}}}a.eg()&&Xy(a,a.o+1)&&Yy(a,a.o+1)&&1==fz(a)&&
Zy(a,a.o+1)}catch(r){a.o++,gz(a)}Uy(a)&&Vy(a)}else a.dispatchEvent("contentResumeRequested"),hz(a)};
az=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.ea);null!=a.Y&&b.setVolume(a.Y)};
cz=function(a,b,c){b=iz(a.ob.A,b.g);var d=new zm(a.B,a.eg());b.Gg(a.aa);om(c,b,Ay,a.YA,a);om(c,b,"companionBackfill",a.YA,a);om(c,b,"adError",a.zO,a);om(c,b,"allAdsCompleted",g.y,a);om(c,b,"contentPauseRequested",a.Bh,a);om(c,b,"contentResumeRequested",a.ag,a);om(c,b,"userClose",a.Fi,a);om(c,b,"autoClose",a.Ei,a);b.Rc(d,{currentTime:0},a.O);b.Bb(a.Zd,a.Yd,a.ea);return b};
bz=function(a){a.B.hide();null!=a.D&&(a.D.dispose(),a.D=null);null!=a.G&&(a.G.dispose(),a.G=null);null!=a.g&&(a.g.destroy(),a.g=null)};
jz=function(a){null!=a.L&&(a.L.dispose(),a.L=null);null!=a.C&&(a.C.destroy(),a.C=null)};
ez=function(a){return null!=a&&a instanceof Hy};
dz=function(a){return null!=a&&a instanceof Py};
hz=function(a){a.V=!1;a.dispatchEvent("allAdsCompleted")};
fz=function(a){return null===a.g||g.nb(a.g.ads)?0:a.g.ads.length};
Dha=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 f=a.g;-1!=(0,g.kb)(f,c)&&a.isBumper();d+=f.length;b<this.o&&(e+=f.length)},a);
b=c.C;var f=e+b.A;b.kg=d+(a.F.length-a.I);b.g=f;b.B=a.ha;b.o=a.Ac}};
Zy=function(a,b){var c=a.A[b];a.L=new g.mm(a);a.C=cz(a,c,a.L);az(a,a.C)};
Yy=function(a,b){if(0<=b&&b<a.A.length){var c=a.A[b].g[0];return null!=Os(c)||null!=Ps(c)?!1:!0}return!1};
Eha=function(a){this.o=a};
kz=function(a){this.o=a;this.g=this.isBumper=!1;this.A=null;this.nn=!1};
Aha=function(a){if(null!=a.o.g&&(a=g.Gg(a.o.g)[6]||null)){var b=null;Kg(a,function(a,d){if(null==b)switch(a){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
lz=function(){this.g=new Ol};
mz=function(a,b,c){if((0,window.isNaN)(c)||!g.ta(c))throw Error("Incorrect time offset.");var d=[];Ql(a.g,c)&&(d=a.g.get(c,[]));(0,g.H)(b,function(a){null!=a&&g.qb(d,a)});
a.g.set(c,d)};
nz=function(a,b){this.g=a;this.o=b};
Gha=function(a){var b=new lz;(0,g.H)(g.Nd(g.Pd(a.g)),function(a){switch(a.nodeName){case "Preroll":a=oz(this,a);mz(b,a,0);break;case "Midroll":var c=Cr(a,"timeOffset"),e=Gr(c);if(-1==e)throw fn(pz,null,"timeOffset",g.F(c));a=oz(this,a);mz(b,a,e);break;case "Postroll":a=oz(this,a);mz(b,a,-1);break;default:throw fn(qz,null,a.parentNode.nodeName,a.nodeName);}},a);
if(0==b.g.Db().length)throw fn(Fha);return b};
oz=function(a,b){var c=[];(0,g.H)(g.Nd(b),function(a){switch(a.nodeName){case "Ad":var b=g.F(Dr(a));if(!E(b)){a=Cr(a,"bumper");var d=this.o.clone();d.g=b;b=new kz(d);b.isBumper=null!=a;b.g="always"==a;g.qb(c,b)}break;default:throw fn(qz,null,a.parentNode.nodeName,a.nodeName);}},a);
return c};
rz=function(a){g.cf.call(this,a);this.g=this.A=null};
sz=function(){g.Ff.call(this);this.currentTime=0};
uz=function(a,b,c){g.Ff.call(this);c=c||new tz;this.o=a;this.D=c.F;this.I=c.D;this.N=c.C;this.J=c.g;this.L=c.A;this.F=c.o;this.G=c.B;this.C=!1;this.B=null;this.A=!1;this.g=Hha(b)};
tz=function(){this.D=0;this.A=this.g=this.F=this.C=!1;this.B=this.o=5};
vz=function(a){this.g=a.Ac;this.C=g.Fa(a);this.A=this.o=!1;this.BK=5==a.af();this.B=this.fe=!1};
wz=function(a,b){return Bb(a.g,b.g)};
xz=function(a){a.o.start();a.A=!0};
Iha=function(a){if(a.A){var b=g.gb(a.g,function(a){return-1==a.g},a);
null!=b&&yz(a,!0,b)}};
Hha=function(a){var b=[];(0,g.H)(a,g.Ga(function(a,b){a(new vz(b))},g.Ga(function(a,b){Hb(a,b,wz)},b)));
return b};
Jha=function(a,b){for(var c=[],d=0;d<a.g.length;d++){var e=a.g[d];-1!=e.g&&e.g<=b&&g.qb(c,e)}return c};
zz=function(a,b){return jb(a,g.Ga(function(a,b){return b.BK==a},b))};
Kha=function(a){var b=[],c=zz(a,!1);c&&b.push(c);(a=zz(a,!0))&&Hb(b,a,wz);return b};
Lha=function(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(Az(a,d,a.I,b,!0,a.N)&&!a.g[c].o)return d}return null};
Az=function(a,b,c,d,e,f){return-1==b.g?f&&0<a.o.duration&&d>=a.o.duration-c:e&&d>=b.g-c&&d<b.g};
Bz=function(a,b){var c=new rz("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
yz=function(a,b,c){null!=c&&(c.o||(Cz(a,"requestAds",c),c.o=!0),b&&!c.A&&(Cz(a,"playAds",c),c.A=!0))};
Mha=function(a,b){var c;a:{for(c=0;c<a.g.length;c++){var d=a.g[c];if(Az(a,d,-1==d.g?a.G:a.F,b,a.J,a.L)&&d.fe&&!d.B){c=d;break a}}c=null}null==c?a.C&&(a.dispatchEvent(new rz("discardAdNotify")),a.C=!1):a.C||c.A||(Cz(a,"adNotify",c),a.C=!0)};
Cz=function(a,b,c){b=new rz(b);b.A=c.g;b.g=c.C;a.dispatchEvent(b)};
Dz=function(a){sz.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw gn(go,null,"content","currentTime");this.duration="duration"in a&&!(0,window.isNaN)(a.duration)?a.duration:-1;this.o=a;this.g=new g.sg(250);this.A=new g.mm(this);om(this.A,this.g,"tick",this.B,this)};
Nha=function(){};
Ez=function(a,b,c){if(g.nb(a))return null;a=(0,g.Ld)(a,function(a){var b=a.B;return"application/x-mpegurl"==g.F(a.g).toLowerCase()||"application/dash+xml"==g.F(a.g).toLowerCase()||"progressive"==b});
g.nb(c)||(c=(0,g.J)(c,function(a){return a.toLowerCase()}),a=(0,g.Ld)(a,function(a){return g.lb(c,g.F(a.g).toLowerCase())}));
if(!g.ta(b)||0>=b)b=vk()?500:1E3;return Oha(a,b)};
Oha=function(a,b){return Pha(a,b)||Qha(a,b)||Rha(a,b)};
Pha=function(a,b){var c=null;(0,g.H)(a,function(a){var d=a.wi,f=a.Uf;d>b||f<b||!(null==c||c.wi>d)||(c=a)});
return c};
Qha=function(a,b){var c=null;(0,g.H)(a,function(a){var d=a.wi,f=a.Uf;f>b||(null==c||c.Uf<f?c=a:null!=c&&c.Uf==f&&c.wi>d&&(c=a))});
return c};
Rha=function(a,b){var c=null;(0,g.H)(a,function(a){var d=a.wi,f=a.Uf;if(!(d<b))if(null!=c&&c.wi==d&&c.Uf<f)c=a;else if(null==c||c.wi>d)c=a});
return c};
Fz=function(a){this.o=0;this.A=a||100;this.g=[]};
Gz=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};
Hz=function(a){g.Ff.call(this);this.g=a;this.V=new Fz(4);this.A=0;this.O=this.B=this.Tc=this.F=!1;this.L=this.ih();this.J=this.sj();this.Y=Un();this.N=!1};
Jz=function(a){a.Tc=!1;a.B=!1;a.F=!1;a.A=0;a.O=!1;a.V.clear();Iz(a);g.af(a.C)};
Kz=function(a){a.B||(a.B=!0,Iz(a),a.dispatchEvent("start"),g.za(a.g.getAttribute)&&a.g.getAttribute("playsinline"),Bn()||!g.un||wn(3)||pn()&&!tn(4)||a.Mr())};
Lz=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};
Iz=function(a){a.I&&(g.vg(a.I),a.I=null)};
Nz=function(){g.Ff.call(this);this.o=new Mz;this.g=new g.mm(this);var a=Cm();if(a){a:{if(Xb(a.g,"videoElementMockDuration")&&(a=a.g.videoElementMockDuration,g.ta(a)))break a;a=window.NaN}this.duration=a}};
Sha=function(){var a=["video/mp4"],b=["video/ogg"],c=new Nz;c.canPlayType=function(c){return g.lb(a,c)?"probably":g.lb(b,c)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
Tha=function(a){this.startTime=0;this.endTime=a};
Mz=function(){this.length=0;this.g=[]};
Oz=function(a,b,c,d){if(null==a||!g.Rd(g.jd(a),a))throw gn(go,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.Ad("DIV",{style:"display:none;"});this.C.appendChild(this.g);this.F&&(a=Cm(),Dm(a,"useVideoElementMock")?(a=Sha(),b=g.Ad("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Ha(b,a),a.tk=g.Ad("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.bo=g.Ad("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.tk.appendChild(a.bo),b.appendChild(a.tk),a.g.U(a,["loadeddata","playing","pause","ended"],a.uS),a=b):a=g.Ad("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:""+Ia("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%;",P.C||(a+="background-color:#000;"),
a=g.Ad("DIV",{id:this.B,style:a}),this.g.appendChild(a));this.D&&(this.A=g.Ad("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.g.appendChild(this.A))};
Pz=function(a,b,c,d){g.K.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)};
Qz=function(a,b){"null"!=b.origin&&(a.o=a.F=b.origin);a.B=b.source};
Rz=function(a){Pz.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.o="*";this.g={};this.A=[];this.D=!1};
Sz=function(a){a.D=!0;(0,g.H)(a.A,function(a){this.sendMessage(a)},a);
a.A.length=0};
Uha=function(){};
Tz=function(a,b){this.g=a;this.C=new Ex;this.F=(0,g.A)(this.G,this);this.J=Math.floor(2147483646*Math.random())+1;this.o=b||new Rz(this.J);g.L(this,this.o);this.A=new g.mm(this);g.L(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.I,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};
Wz=function(a){g.Ff.call(this);this.O="ima-chromeless-video";var b=null;null!=a&&(g.u(a)?this.O=a:b=a);this.V=new g.mm(this);this.D=null;this.B=!1;this.pa=new g.gd(0,0);this.ha=this.sj();this.J=-1;this.ea=!1;this.F=-1;this.o=this.aa=this.L=null;this.ba="";this.A=!1;this.ga=null!=b;this.ra=this.N=this.da=this.g=null;this.C=void 0;this.I=this.na=null;this.G=this.sa=0;this.ga?(this.A=!0,this.g=b,this.C=2):(a=(0,g.A)(this.WH,this),Uz?a():(Vz.push(a),a=g.Cd("script"),a.src="https://www.youtube.com/iframe_api",
b=window.document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b)))};
Yz=function(a,b,c){null!==b&&(a.ba=b,a.A?Xz(a,b,c):(a.L=b,a.aa=c))};
Xz=function(a,b,c){var d={autoplay:"1"};P.C&&(d.dash=0);null!=a.o&&(null!=a.o.Vi&&(d.agcid=a.o.Vi),null!=a.o.adFormat&&(d.adformat=a.o.adFormat),null!=a.o.g&&(d.ad_query_id=a.o.g),a.o.o&&(d.cta_conversion_urls=a.o.o),a.o.A&&(d.endscreen_ad_tracking_data=a.o.A),a.o.gk&&(d.wait_for_vast_info_cards_xml=1),a.o.ak&&(d.suppress_creator_endscreen=1),a.o.isPharma&&(d.is_pharma=1),d.iv_load_policy=a.o.F?1:3,a.o.C&&(d.noiba=1),a.o.I&&(d.utpsa=1),a.o.G&&(d.autoplay="1"),a.o.D&&g.gc(d,a.o.D));var e=$p(b);null===
e?(c=null===c?"":c,b="url="+(0,window.encodeURIComponent)(b)+"&type="+(0,window.encodeURIComponent)(c),d.url_encoded_third_party_media=b):d.videoId=e;!P.g()&&(d.enabled_engage_types="3,4,5,6");a.B=!1;a.o&&a.o.B?(a.na=d,a.g.preloadVideoByPlayerVars(a.na)):a.g.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};
Zz=function(a){a.V.Ca(a.D,"tick",a.jB);null!=a.D&&(a.D.stop(),a.D=null)};
$z=function(a){null!=a.Aa&&g.vg(a.Aa)};
aA=function(a,b){g.Ff.call(this);this.B=a;this.A=b;this.g={};this.o=new g.mm(this);this.o.U(yd(),"message",this.C);this.fb=null};
cA=function(a,b,c,d){a.g.hasOwnProperty(b)||(c=new ky(b,c),a.o.U(c,a.B,function(a){a=new bA(a.type,a.Rd,a.Vf,a.Ey,a.getOrigin(),b);this.dispatchEvent(a)}),c.sf=d,c.connect(),a.g[b]=c)};
bA=function(a,b,c,d,e,f){jy.call(this,a,b,c,d,e);this.g=f};
eA=function(){var a=g.x("google.ima.gptProxyInstance",yd());if(null!=a)return a;g.mm.call(this);this.A=new aA("gpt",!0);g.L(this,this.A);this.U(this.A,"gpt",this.D);this.fb=this.g=null;dA()||yd().top===yd()||(this.g=new aA("gpt",!1),g.L(this,this.g),this.U(this.g,"gpt",this.C))};
dA=function(){return!!g.x("googletag.cmd",yd())};
fA=function(){var a=g.x("googletag.console",yd());return null!=a?a:null};
Vha=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 gA[n].apply(null,arguments)})};
jA=function(a,b){g.Ff.call(this);this.o=new g.mm(this);this.I=!1;this.J=ab();this.G=new Ol;var c=this.J,d=(zba()?"https:":"http:")+Vha("//imasdk.googleapis.com/js/core/bridge0.0.0_%s.html","en");a:{var e=window;try{do{try{if(0==e.location.href.indexOf(d)||0==e.document.referrer.indexOf(d)){var f=!0;break a}}catch(k){}e=e.parent}while(e!=e.top)}catch(k){}f=!1}f&&(d+="?f="+c);c=g.Ad("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});this.o.rh(c,
"load",this.sI);a.appendChild(c);this.A=c;c=this.G.get("*");null==c&&(c=new ky(this.J,"*"),this.I&&(c.sf=Sd(this.A),c.connect()),this.G.set("*",c));this.F=c;this.D=b;this.g=this.D.o;this.fb=this.B=this.C=null;this.o.U(this.F,"mouse",this.OI);this.o.U(this.F,"touch",this.fJ);null!=this.g&&(this.o.U(this.F,"displayContainer",this.JI),this.o.U(this.F,"videoDisplay",this.cJ),this.o.U(this.F,"preloadVideoDisplay",this.WI),this.o.U(this.g,g.Tb(hA),this.dg),this.o.U(this.g,iA,this.dg));c=yd();d=g.x("google.ima.gptProxyInstance",
c);null==d&&(d=new eA,g.ua("google.ima.gptProxyInstance",d,c))};
kA=function(a,b){var c=g.zh(a.A),d=!!("TouchEvent"in window&&0<window.TouchEvent.length),e=(0,g.J)(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)};
lA=function(a){a=a.playbackOptions;var b=new wx;b.adFormat=a.adFormat;b.Vi=a.adSenseAgcid;b.J=a.contentVideoDocId;b.o=a.ctaAnnotationTrackingEvents;a.showAnnotations&&(b.F=!0);a.viewCountsDisabled&&(b.I=!0);b.timeout=a.loadVideoTimeout;a.ibaDisabled&&(b.C=!0);a.enablePreloading&&(b.B=!0);b.g=a.adQemId;a.isPharma&&(b.isPharma=!0);a.useAutoplayFlag&&(b.G=!0);b.A=a.endscreenAdTracking;a.waitForVastInfoCardsXml&&(b.gk=!0);a.suppressCreatorEndscreen&&(b.ak=!0);return b};
mA=function(a,b,c,d,e){if(!(e||null!=a&&g.Rd(g.jd(a),a)))throw gn(go,null,"containerElement","element");this.D=a;var f=null!=b||null!=d;Rm(Om(),136961005)&&(P.L=!0);e=b?b:null;null!=e&&g.za(e.getAttribute)&&e.getAttribute("playsinline");var k=f;e=!1;P.L?P.o||(Cn()&&f||(k=!1),!k&&P.L&&!P.g()&&mn()&&(P.C=!0),!P.C&&mn()||Mk()||(e=!0)):P.o||Cn()&&f||(!P.C&&mn()||Mk()||(e=!0),k=!1);this.F=k;this.L=e||k&&null!=d;P.o?a=null:(f=g.Ad("DIV",{style:"position:absolute"}),a.insertBefore(f,a.firstChild),a=f);this.A=
a;this.g=this.F||!this.A||P.o||!mn()?null:new Oz(this.A,null,!0);f=a=null;this.F?b?(a=new Hz(b),f=b):d&&(a=new Wz(d)):this.g&&(a=new Hz(this.g.o),f=this.g.o);k=null;f&&P.C&&e&&(k=new Tz(f));this.J=k;this.o=a;this.C=this.B=null;e=g.un&&!wn(4);a=pn()&&mn();this.g&&this.o&&this.A&&!this.F&&!Mk()&&!e&&!a&&this.A&&(this.B=new Oz(this.A,null,!0),this.C=new Hz(this.B.o));this.G=this.o?c||null:null;this.N=null!=this.G;Tn(Qn.getInstance(),8,{enabled:this.F,yt:null!=d,customClick:null!=this.G});null===this.A?
(b=this.D,P.G=b):this.F&&b&&!g.za(b.getBoundingClientRect)&&(b=this.D,P.G=b);this.I=null==this.A||P.o?null:new jA(this.A,this)};
nA=function(a){return a.N&&a.G?a.G:null!=a.g?a.g.A:null};
oA=function(a){this.g=a};
pA=function(a,b){g.cf.call(this,"adsManagerLoaded");this.g=a;this.A=b};
qA=function(a,b,c,d){a.g.Rc(new oA(b),c,d);return a.g};
rA=function(){};
sA=function(){g.Ff.call(this);this.fe=!1;this.impressionUrls=[]};
tA=function(a,b,c){g.cf.call(this,a);this.A=b||null;this.g=c||null};
vA=function(a,b){g.Ff.call(this);this.g=a;this.D=!!b;this.B=uA(this);if(!this.B){var c=g.vd&&!g.rc("7")?"readystatechange":"load";this.o=g.rf(this.g,c,this.C,!1,this);this.A=window.setInterval((0,g.A)(this.C,this),100)}};
wA=function(a){a.A&&(window.clearInterval(a.A),a.A=null)};
uA=function(a){var b=!1;try{if(a.D||!g.vd||g.rc("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};
xA=function(){sA.call(this);this.F=[];this.C=!1;this.A="not_loaded";this.o=null;this.B=0;this.g=this.fb=null;this.G=new id};
yA=function(a){var b=["googletag","googletag.cmd"];return g.gb(a,function(a){return(0,g.Lr)(b,function(b){return null!==g.x(b,a)})})||null};
zA=function(a){return a.fe?(0,g.J)(a.F,function(a){return a.clone()}):[]};
Wha=function(a){a=zA(a);if(null!=a)return(0,g.J)(a,function(a){return a.G})};
AA=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.Ul(b.g),d=Number(b.g.get("pod")||0),e=Number(b.g.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(Rn.g,d,e,c)}catch(f){}};
Xha=function(a,b){var c=BA(a);if(null!==c){AA(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
DA=function(a,b,c){a=CA(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
EA=function(a,b){a.D=b;DA(a,"","");var c=BA(a);null===c||AA(c,null,!1)};
BA=function(a){null==a.g&&FA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.companionAds?a.g.googletag.companionAds():null};
CA=function(a){null==a.g&&FA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.pubads?a.g.googletag.pubads():null};
GA=function(a){a.o&&(a.o.stop(),a.o.Ca("tick",a.vB,!1,a),a.o.dispose(),a.o=null)};
KA=function(a){if("retrieved"!=a.A&&"not_available"!=a.A&&null!==BA(a)){var b=BA(a);if(null!==b&&g.za(b.getDisplayAdsCorrelator))try{var c=g.F(b.getDisplayAdsCorrelator())}catch(f){c=null}else c=null;switch(c){case "not_loaded":case "not_available":a.A=c;break;default:c=Number(c),(0,window.isNaN)(c)?a.A="not_available":(a.D=c,a.A="retrieved")}}(c=HA(a))||(c=IA(a)&&"not_available"==a.A);if(c){if(!a.I&&IA(a)){try{if(null==a.g)var d=[];else{var e=a.g.googleGetCompanionAdSlots();d=(0,g.J)(e,a.FT,a)}}catch(f){d=
[]}a.F=d;a.I=!0}a.fe=!0;GA(a);HA(a)?a.dispatchEvent(new tA("companions_success")):JA(a)}else a.o||(a.B=(0,g.G)()+15E3,a.o=new g.sg(100),a.o.U("tick",a.vB,!1,a),a.o.start())};
HA=function(a){return IA(a)&&"retrieved"==a.A};
IA=function(a){a.C||(FA(a),a.C=null!=a.g&&null!=a.g.googleGetCompanionAdSlots);return a.C};
FA=function(a){var b=g.be(a.G);try{a.g=yA([b,b.top])}catch(c){a.g=null}};
JA=function(a){a.dispatchEvent(new tA("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
Yha=function(a,b,c){var d=new vA(b,!0);d.Sb()?LA(a,c,b):qf(d,"ifload",g.Ga(function(a){LA(this,c,a)},b),!1,a)};
LA=function(a,b,c){a.dispatchEvent(new tA("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.rf(d,"click",(0,g.A)(a.tP,a,b),!1,a)};
MA=function(){g.Ff.call(this);this.A=[]};
NA=function(){return new Ur("empty-ad","GDFP","GDFP",0,"",0,0,0,0,[],[],[],[],new Ol)};
OA=function(a){MA.call(this);this.g=a;this.G=this.fb=null;this.F=!1;this.B=null;this.C=new g.mm;om(this.C,this.g,["companions_success","companion_initialization_failed"],this.OR,this);om(this.C,this.g,"companion_display_error",this.vP,this);om(this.C,this.g,["companion_slot_init","companion_click"],this.rP,this);this.g.fe?this.F=!0:this.g.initialize()};
QA=function(a){var b=a.B;a.B=null;if(null!=a.g)if(g.nb(a.A))PA(a,Error("Companion slots not available."));else if(null!=b){var c=Zha(a,b);a.g.zd(a.A);if(0<c.length&&b.Ha){a=a.g;var d;if(d=0!=c.length)d=rs(b),d="GDFP"==(ms(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].I);b=b.A;c=BA(a);if(null!==c){AA(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else PA(a,Error("Invalid master ad."))};
PA=function(a,b){a.dispatchEvent(new yo("companion_display_error",b))};
Zha=function(a,b){var c=[],d=[];(0,g.H)(a.A,function(a){Bo(a);(0,g.Hk)(a.G,function(d){a:{d=xs(b,d.width,d.height);if(!g.nb(d)&&(d=$ha(d,c),null!=d)){var e=d.o;if(null!=e&&0!=a.I.indexOf(e)){d=!1;break a}e=d.g.L;wb(e,is(b,"companionClick"));var f=is(b,"companionImpression"),k=P.g()&&"Html"==d.g.N&&d.B;c.push(d);if(k)Ao(a,d.Cc(),d.Gb(),d.getHeight(),f);else{k=d.ld();var q=d.Gb(),r=d.getHeight();d="IFrame"!=d.g.N;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=RA(b);a.D=SA(e,c);a.D||(0,g.H)(a.A,function(a){Bo(a)},a);
return d};
SA=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.o?aia(c,b):"any"==a.o?bia(c,b):!0};
RA=function(a){return null==a||null==a.g||(0,window.isNaN)(a.g.g)?null:g.gb(Hs(a,!0),function(a){a=a.g;return g.nb(a)?!1:(0,window.isNaN)(a[0].g.g)?!1:a[0].g.g==a[0].ar()})};
aia=function(a,b){return(0,g.Lr)(a,function(a){return g.lb(b,a)})};
bia=function(a,b){return(0,g.Hk)(a,function(a){return g.lb(b,a)})};
$ha=function(a,b){return g.gb(a,function(a){return!g.lb(b,a)})};
TA=function(a,b){this.B=a;this.o=b;this.g=this.fb=null};
cia=function(a){var b=[],c=Br(a,"vmap:Extensions")[0];if(c){var d;Er(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)});
if(d&&(b=Br(d,"yt:BreakTime"),!g.nb(b)))return(0,g.J)(b,function(a){return Cr(a,"timeOffset")})}return[Cr(a,"timeOffset")]};
dia=function(a,b){return(0,g.J)(b,function(a){var b=new kz(a.o.clone());b.isBumper=a.isBumper;b.g=a.g;return b},a)};
eia=function(a){return(a=g.gb(g.Nd(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.gb(g.Nd(a),function(a){return"VAST"==a.nodeName}):null};
fia=function(a){var b=null,c=!1;a=g.gb(a,g.Ga(UA,"type","youtube"));null!=a&&(a=(0,g.Ld)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName}),g.nb(a)||(a=a[0],a.hasAttribute("break_type")&&(b=Ada(a.getAttribute("break_type"))),Pm().g("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=Hr(c))));
return{breakType:b,nn:c}};
UA=function(a,b,c){return Cr(c,a)==b};
hia=function(a,b){if(null!=a){if(null!=a){var c=g.Pd(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return jx(),new nz(a,b);null!=a?(c=g.Pd(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return jx(),new TA(a,b);if(nw(a)){if(!nw(a))throw fn(qz);c=g.Pd(a);var d=qw(c);if(1>d||4<d)throw fn(gia);c=Br(c,"Ad");if(g.nb(c))throw fn(VA);c=rw(c[0]);if(null==c)throw fn(WA);if(1!=Br(c,"AdSystem").length)throw fn(WA);return new mw(a)}}return null};
iia=function(a){a=(0,g.Ld)(a,function(a){return 0<us(a)});
g.Eb(a,function(a,c){return us(a)-us(c)});
return a};
jia=function(a){return(0,g.Ld)(a,function(a){return-1==us(a)})};
zq=function(a){this.Cf=a};
XA=function(a,b){this.o=a;this.A=b};
YA=function(a,b){"auto"!=a.o.Ui&&"click"!=a.o.Ui||b.set("vpa",a.o.Ui)};
ZA=function(a){E(P.getPlayerType())||(a.set("mpt",P.getPlayerType()),E("")||a.set("mpv",""))};
$A=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.J;null!=c&&b.set("mv",c+"."+(a.o.I||""))};
aB=function(a,b){var c=2,d=O&&O.g?!1:0===Pi();!Mk()&&d&&(c|=2048);b.set("osd",c);-1!=a.A.L&&b.set("frm",a.A.L);c=a.A.aa;null!=c&&b.set("ms",c);b.set("sdr",1)};
bB=function(a){return P.o?"h.3.0.0":null!=a.A?Pn(a.A):null};
cB=function(){this.g=["video"]};
dB=function(a,b){a.set("sz",Math.max(null!=b.qj?b.qj:0,null!=b.ff?b.ff:0)+"x"+Math.max(null!=b.pj?b.pj:0,null!=b.df?b.df:0))};
fB=function(a){var b={};fi(b);for(var c in b)a.set(c,b[c]);a.set("dt",eB)};
gB=function(a){if(a.qc&&a.qc.LACT){var b=a.qc.LACT.toString();if(b)return db(b)}return a.F};
hB=function(a){return P.g()&&a.qc&&a.qc.VIS?a.qc.VIS.toString():null};
mB=function(a,b,c){var d=new Ol;d.set("ad_type",b.adType);lo&&d.set("flash",Yi);dB(d,a);iB(b)&&(d.set("ea","0"),null!=a.ff&&null!=a.df&&d.set("image_size",jB(b,a.ff,a.df,a.gj)));kB(d,c);d.set("lact",gB(a));(b=hB(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.Ep);fB(d);lB(a,d,!0);return d};
lB=function(a,b,c){E(g.F(a.referrer))||(a=a.referrer,c&&(a=g.Ma(a)),nB("ref",a,b))};
qB=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.H)(a,function(a){if(!Sb(kia,a))throw fn(go,null,"ad_type",String(b));});
if(c){var d=[];(0,g.H)(a,function(a){g.lb(oB,a)||d.push(a)});
a=d}c=g.lb(a,"video");var e=g.lb(a,"skippablevideo");!qn()||P.g()||Tn(Qn.getInstance(),53,{playsInline:!1,iOS_version:qn()?yn(sn):"",wv:(Nb("iPad")||Nb("iPhone"))&&!kc()&&!jc()&&!Nb("Coast")&&Nb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=Om();if(!Bn()){d=[];(0,g.H)(a,function(a){"video"==a?(d.push("standardvideo"),!P.g()&&Rm(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)});
if(0==d.length)throw fn(pB,null,"skippablevideo");a=d}return a};
rB=function(a,b){return null!=b?b.split(/[+, ]/):a};
jB=function(a,b,c,d){a.o&&(c=Math.min(c,90));var e=0,f=0;a=!P.g();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.H)(lia,function(a){var l=b-e>=a.width&&c-f>=a.height,n=!d&&!l&&90>=a.height&&b>=a.width&&c>=a.height;(l||n)&&k.push(a.width+"x"+a.height)});
return k.join(",")};
sB=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)};
tB=function(a,b){return null!=b?String(b):null!=a?a:null};
uB=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};
vB=function(a,b,c){return null!=b&&Sb(c,b)?b:a};
iB=function(a){return(0,g.Hk)(oB,function(b){return g.lb(a.g,b)})};
kB=function(a,b){lo?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)))}};
nB=function(a,b,c){null!=b&&c.set(a,b)};
xB=function(a,b,c){XA.call(this,a,b);var d=new cB,e=(new g.Ul(a.g)).g;d.Pr=vB(d.Pr,e.get("cust_age"),mia);d.Gm=vB(d.Gm,e.get("adsafe"),wB);d.g=qB(d.g,e.get("ad_type"));d.adType=d.g.join("_");d.hq=sB(d.hq,e.get("videoad_start_delay"));d.iq=tB(d.iq,e.get("slotname"));d.Or=uB(d.Or,e.get("adtest"))||"on"==e.get("adtest");d.kq=uB(d.kq,e.get("scs"));d.lq=tB(d.lq,e.get("alternate_ad_url"));d.channels=rB(d.channels,e.get("channel"));d.Gq=sB(d.Gq,e.get("cpm"));d.Ck=tB(d.Ck,e.get("description_url"));d.experimentIds=
tB(d.experimentIds,e.get("eid"));d.gender=vB(d.gender,e.get("cust_gender"),nia);d.o=uB(d.o,e.get("overlay"));d.host=tB(d.host,e.get("host"));d.A=rB(d.A,e.get("h_ch"));d.hostTierId=sB(d.hostTierId,e.get("ht_id"));d.isLiveStream=uB(d.isLiveStream,e.get("lsv"));if(null!=this.o.language)var f=this.o.language;else f=g.v.navigator||null,f=Em(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=tB(k,f);var l;null!=f&&!E(g.F(f))&&(l=Em(f));
d.language=tB(d.language,l);d.Py=sB(d.Py,e.get("linearAdSlotWidth"));d.Oy=sB(d.Oy,e.get("linearAdSlotHeight"));d.po=sB(d.po,e.get("max_ad_duration"));d.Ds=sB(d.Ds,e.get("min_ad_duration"));d.qo=sB(d.qo,e.get("sdmax"));d.Ry=sB(d.Ry,e.get("nonLinearAdSlotWidth"));d.Qy=sB(d.Qy,e.get("nonLinearAdSlotHeight"));d.Pj=tB(d.Pj,e.get("client"));d.Mo=tB(d.Mo,e.get("t_pyv"));l=e.get("sdki");d.Wo=sB(d.Wo,g.u(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=sB(d.tagForChildDirectedTreatment,e.get("tfcd"));
d.Jo=tB(d.Jo,e.get("pucrd"));d.targeting=vB(d.targeting,e.get("targeting"),oia);d.Zn=sB(d.Zn,e.get("video_format"));d.Cu=sB(d.Cu,e.get("video_cpm"));d.Qr=tB(d.Qr,e.get("loeid"));d.Ju=tB(d.Ju,e.get("yt_pt"));d.Gu=tB(d.Gu,e.get("ytdevice"));d.Hu=tB(d.Hu,e.get("ytdevicever"));d.Iu=tB(d.Iu,e.get("dbp"));d.B=tB(d.B,e.get("ms"));d.adBlock=sB(d.adBlock,e.get("adBlock"));d.url=tB(d.url,e.get("url"));d.sq=tB(d.sq,e.get("avo"));d.Bu=tB(d.Bu,e.get("v_p"));d.pK=a.D;d.qK=a.B;d.contentTitle=a.contentTitle;d.Cp=
sB(d.Cp,e.get("ad_block"));this.g=d;this.I=b;this.J=c;E(g.F(this.g.experimentIds))||(a=this.g.experimentIds.split(","),Mm(Om(),a))};
qia=function(a){return(0,g.Hk)(pia,function(a){return g.lb(this.g.g,a)},a)};
yB=function(a){return P.g()?1:g.lb(a.g.adType.split("_"),"text")?3:1};
ria=function(a){a=a.g.channels?a.g.channels:[];zb(a);return a.join("+")};
zB=function(a,b){return Math.round(1.1*(a||0)+0*b)};
sia=function(){this.fb=null;this.g=0};
tia=function(a,b,c,d,e,f,k){var l=(0,g.A)(function(a){d(a,Error(Jw(a)))},a),m=(0,g.A)(function(a){6==a?AB(this,b,!1,c,l,e,f):l(a)},a);
AB(a,b,!0,c,m,e,f,k)};
AB=function(a,b,c,d,e,f,k,l){var m=new Tw;m.G=c;Uw(m,uia(f));var n=new g.mm,q=(0,g.A)(function(){n.dispose();m.dispose()},a);
c=(0,g.A)(function(){e(m.o);q()},a);
rm(n,m,"success",function(){try{var a=m.g?m.g.responseXML:null}catch(B){a=null}if(null==a){var b=cx(m);try{a=g.wr(b)}catch(B){a=vr("parsererror")}}d(a);q()},a);
rm(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.Ul(b);var r=b.g.toString();Zl(b,"");b=b.toString()}P.g()&&"POST"!=k&&(l=via(b,k,l),b=l.url,k=l.CT,r=l.content);a.g=(0,g.G)();m.send(Wm(b),k,r)};
via=function(a,b,c){var d=new rA;d.g=a;if(Pq(d)){d=new g.Ul(a);var e=d.g.get("post_data");if(g.t(e)){b="POST";d.g.remove("post_data");a=d.toString();var f=(0,window.decodeURIComponent)(e);g.t(c)&&(c=c.clone(),d=Tg("?"+f,"pat"),null!=d&&(c.g=d),c=new xB(c,Rn,null),c=c.B(c.C()).toString(),f=f+"&cat="+(0,window.encodeURIComponent)(c))}}return{url:a,CT:b,content:f}};
BB=function(a,b){XA.call(this,a,b)};
CB=function(a,b){XA.call(this,a,b)};
DB=function(a){XA.call(this,a,null)};
EB=function(a){XA.call(this,a,null)};
FB=function(a,b){XA.call(this,a,b);P.g()&&(this.A.B=Mn())};
wia=function(a){var b=[];(0,g.H)(a,function(a){0<a.length&&b.push((0,g.J)(a,function(a){return a.width+"x"+a.height}).join("|"))});
return b.join(",")};
GB=function(a,b,c){FB.call(this,a,b);b=Om();this.I=E(g.F(a.A));a=new cB;a.g=qB(a.g,this.o.A);a.adType=a.g.join("_");a.experimentIds=tB(a.experimentIds,this.o.G);this.g=a;this.F=c;E(g.F(this.g.experimentIds))||Mm(b,this.g.experimentIds.split(","))};
xia=function(a){var b=mB(a.o,a.g,a.F);b.set("sdkv",bB(a));b.set("sdki",a.D().toString(16));return b};
yia=function(a,b){var c=xia(a),d=(0,g.J)(c.Db(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
g.cm(b,"afvparams",d.join("&"))};
HB=function(a,b,c){XA.call(this,a,b);Om();this.I=E(g.F(a.A));a=new cB;a.g=qB(a.g,this.o.A);a.adType=a.g.join("_");a.experimentIds=tB(a.experimentIds,this.o.G);this.g=a;this.F=c;E(g.F(this.g.experimentIds))||(a=this.g.experimentIds.split(","),c=Om(),Mm(c,a))};
zia=function(a){var b=mB(a.o,a.g,a.F);b.set("sdkv",bB(a));return b};
Aia=function(a,b){var c=zia(a),d=(0,g.J)(c.Db(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
Iq(b,"afvparams",[g.Ma(d.join("&"))])};
IB=function(a,b){XA.call(this,a,b)};
JB=function(a,b){var c=new g.Ul(g.vm(a.o.g,Bia(a,b)));Vl(c,"https");return c};
Bia=function(a,b){if(null==a.o||null==a.o.qc)return{};var c={},d=a.o.qc;(0,g.H)(Cia,function(a){a in d&&(c[a]=d[a])});
var e=Dia(a,d.DESCRIPTION_URL);e&&(c.AD_BLOCK=e);null!=b&&(c.BISCOTTI_ID=b);return c};
Dia=function(a,b){return null!=b?Fn(On(a.A),b):null};
Eia=function(a,b){if(!Nq(a.g)&&!Oq(a.g)||E(g.F(a.A))||null==a.g||-1==a.g.search("afvbase="))if(Nq(a.g))var c=new CB(a,Rn);else Lq(a.g)?c=new xB(a,Rn,b):Oq(a.g)?c=new FB(a,Rn):Mq(a)?c=new BB(a,Rn):(c=a.g,null!=c?(c=(new g.Ul(c)).o,c=La(c,".fwmrm.net")):c=!1,c=c?new DB(a):Pq(a)?new IB(a,Rn):new EB(a));else c=Nq(a.g)?new HB(a,Rn,b):new GB(a,Rn,b);return c};
KB=function(a,b,c,d,e){this.C=a;this.A=b;this.B=c;this.g=d;this.D=e;this.fb=null};
Fia=function(a,b,c,d){if(b.o instanceof window.Document)var e=b.o;else try{e=g.wr(b.o)}catch(f){d(fn(qz,f));return}null!=e?LB(a,e,b,c,d):d(fn(qz))};
MB=function(a,b,c,d){var e;if(e=null!=b.g){a:{try{Na(b.g)}catch(f){e=!1;break a}e=!0}e=!e}e?d(fn(Gia,null,b.g)):P.J?Oda(ao(),(0,g.A)(a.o,a,b,c,d)):a.o(b,c,d)};
OB=function(a,b,c,d,e,f){b=Mda(b,f);f=c.yu&&Tm(Hia,b)?"POST":"GET";tia(a.A,b,(0,g.A)(function(a){LB(this,a,c,d,e)},a),(0,g.A)(function(a,b){var d=8==a?fn(uq):5==a||6==a?fn(Iia):fn(NB,b);
e(d);d="third_party";Lq(c.g)?d="adsense":Nq(c.g)?d="dart":Oq(c.g)&&(d="xfp");d={rt:d,ec:a};Tn(Qn.getInstance(),18,d,!0)},a),a.D,f,c);
Jia(c)};
Jia=function(a){var b="third_party";Lq(a.g)?b="adsense":Nq(a.g)?b="dart":Oq(a.g)?b="xfp":Mq(a)&&(b="dbm");a={rt:b};Tn(Qn.getInstance(),17,a,!0)};
LB=function(a,b,c,d,e){try{var f=hia(b,c);if(!f)throw fn(qz);var k=f.A();Kia(a,k,c,d)}catch(l){l instanceof Hm?e(l):e(fn(Lia,l))}};
Kia=function(a,b,c,d){var e=b.Cf;if(null!=e)d(new zq(e));else{e=b.o;if(null==e)throw fn(VA);(0,g.H)(e,function(a){a.A=c;var d=Cm();d&&Dm(d,"useCompanionsAsEndSlate")&&(a.L=Kfa(a));d=[];var e=a.getExtension("InfoCards");if(null!=e){e=e.A?e.A:new uv;for(var f=0;f<tv(e,"card");f++)d.push(new vv(rv(e,"card",f)))}a.B=d;a.ba=Gfa(a.B);a.Ma=this.A.g;P.g()&&(a.zb=b.g)},a);
var f=iia(e),k=jia(e),l;0<k.length&&0<=ts(k[0])?l=new Eq(k,c,a,a.C):l=new tq(f,k,c,a);(0,g.H)(e,function(a){a.Va=l});
d(l)}};
PB=function(a){this.g=a+(0,g.G)()};
uia=function(a){var b=(0,g.G)();a=a.g-b;return 0<a?a:0};
QB=function(a,b,c){this.D=b;this.B=c;this.C=null;this.o=new g.mm(this);this.J=a;this.A=this.g=null;this.G=!1;this.fb=null};
Mia=function(a){if(null===a.C)RB(a);else{var b=new g.Ul(a.C.g),c=g.F(b.g.get("vid"));b=g.F(b.g.get("cmsid"));var d=a.B.I,e=a.B.F;a.B.I=c;a.B.F=b;if(E(g.F(c))||E(g.F(b)))RB(a);else if(c==d&&b==e)RB(a);else{var f=a.D.gi();DA(f,c,b);Xha(f,a.C);a.A=new g.sg(100);om(a.o,a.A,"tick",function(){a:{var a=CA(f);if(null!=a)try{var b=!1!==a.isAdRequestFinished();break a}catch(m){b=!0;break a}b=!1}b&&RB(this)},a);
a.A.start()}}};
Nia=function(a){a.g=new g.sg;rm(a.o,a.g,"tick",function(){RB(this)},a);
tg(a.g,a.J);a.g.start()};
RB=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()};
Oia=function(a,b){this.g=a;this.o=b;this.fb=null;P.o&&so().init();a:{try{var c=window.top.location.href}catch(d){c=2;break a}c=null!=c?c==window.document.location.href?0:1:2}Rn.L=c};
Pia=function(a,b,c,d){if(P.g()){var e=b.Dp;e&&Eda(Om(),e)}e=null;null==a.g||P.g()||(e=new QB(1E3,a.g,a.o));var f=Qea(b);null!=f&&Pea(b)&&(a.o.aa=f);f=8E3;!P.g()&&Rm(Om(),41351074)?f=5E3:!P.g()&&Rm(Om(),41351075)&&(f=2E3);(new KB(a.o,new sia,a.g,e,new PB(f))).fetch(b,(0,g.A)(function(a){a instanceof zq?c(a):xq(a,c,d)},a),d)};
g.SB=function(){this.g=[];this.o=[]};
TB=function(a){g.nb(a.g)&&(a.g=a.o,a.g.reverse(),a.o=[])};
g.UB=function(a,b){a.o.push(b)};
g.VB=function(a){TB(a);return a.g.pop()};
WB=function(a){TB(a);return g.eb(a.g)};
Qia=function(a){this.ob=a;this.g=new g.SB;this.Tf=!1;this.fb=null};
YB=function(a,b,c,d){var e=(0,g.A)(function(a){c(a);g.VB(this.g);this.Tf=!1;XB(this)},a),f=(0,g.A)(function(a){d(a);
g.VB(this.g);this.Tf=!1;XB(this)},a);
g.UB(a.g,(0,g.A)(function(){Pia(this.ob,b,e,f)},a));
XB(a)};
XB=function(a){if(!a.Tf){var b=WB(a.g);null!=b&&(a.Tf=!0,b())}};
ZB=function(a,b,c){g.Ff.call(this);this.ob=new Qia(new Oia(b,c));this.A=a;this.o=b;this.g=!0;this.B=c;this.fb=null};
Ria=function(a,b,c){if(a.g){var d=null!=c?c:{};Sga(ix.getInstance(),b.g);YB(a.ob,b,(0,g.A)(function(a){$B(this,a,d)},a),(0,g.A)(function(a){aC(this,a,d)},a))}};
Cha=function(a,b,c){if(!a.g){var d=null!=c?c:{};YB(a.ob,b,(0,g.A)(function(a){$B(this,a,d)},a),(0,g.A)(function(a){aC(this,a,d)},a))}};
$B=function(a,b,c){if(a.g)if(b instanceof zq)b=new bC(b.Cf,a,a.A.Tw),b.Gg(a.o),a.dispatchEvent(new pA(b,c));else try{var d=iz(a.A,b);d.Gg(a.o);a.dispatchEvent(new pA(d,c))}catch(e){aC(a,fn(cC,null),c)}else b instanceof zq?aC(a,fn(Sia,null,"Unsupported ad format."),c):(d=new Gm("adsLoaderSdkAdLoaded"),d.F=b,d.D=c,a.dispatchEvent(d))};
aC=function(a,b,c){a.g?("always"==P.B&&null!=a.o&&a.o.zd(NA()),a.dispatchEvent(new Am(b,c))):(c=new Gm("adsLoaderSdkAdError"),c.g=b,a.dispatchEvent(c))};
dC=function(a,b){this.L=a;this.V=new Ol;this.O=15E3;this.F=g.Ad("SPAN");My.call(this,a[0],b);this.g.appendChild(this.F)};
eC=function(a,b){My.call(this,a[0],b);this.B=a;g.S(this.g,"ima-container-stack")};
fC=function(a){Py.call(this,a);this.C=!1;this.o=this.A=null;this.G=!1};
gC=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.C;b=b.D;a={text:null!=c?c:a.I.C,url:null!=b?b:a.I.D};null==a.text&&(c=Ia("Ads by Google"),c=Ro(""+c),a.text=c);return a};
hC=function(a){return a.yb()&&Js(a.ka())};
Tia=function(a){var b=iC(a);b.rba=a.B;Tn(Qn.getInstance(),37,b)};
iC=function(a){var b=[],c=[];(0,g.H)(a.A,function(a){b.push(a.Gb()+"x"+a.getHeight());c.push(a.md())},a);
var d={};d.pid=ix.getInstance().o;d.fsmode=null!=a.o;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.ad;return d};
jC=function(a,b){if(a.o){a.Sn(new g.cf("close"));var c={};c.pid=ix.getInstance().o;c.evt=b;Tn(Qn.getInstance(),35,c)}};
kC=function(a,b){g.K.call(this);this.B=a;this.g=-1;this.A=b};
lC=function(a,b){kC.call(this,a,b)};
bC=function(a,b,c){Eu.call(this,[]);this.Cf=a;this.Eb=new Ol;this.Qb=this.ub=null;this.Tw=c;this.Ek=new g.SB;this.Kd=null;this.ob=b;this.jq=this.gn=!1;this.si=null;this.kg=0;this.Yd=this.Zd=-1;this.kd=null;this.Kt=0;this.fb=null;this.Dk=!1};
Via=function(a,b){if(null!==a.Ia){var c=1;a.kg=0;var d=new Ex;(0,g.H)(b,function(a){if((0,window.isNaN)(a))throw fn(pz,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.Cf;if((0,window.isNaN)(a)||!g.ta(a))throw Error("Incorrect time offset.");Ql(b.g,a)&&b.g.remove(a)}else if(b=g.ta(a)&&!(0,window.isNaN)(a)?this.Cf.g.get(a,[]):[],!g.nb(b)){this.kg+=b.length;var e=0==a||-1==a?a:c++;b=new Sy(b,a,e,this.ob,this.Ia,this.Qa,this.Jd);if(d.contains(a))throw fn(Uia,null,"Multiple ad breaks cannot share same ad play time.");
this.Eb.set(g.Fa(b),b);Dx(d,a)}},a)}};
Wia=function(a,b){a.si=g.eb(b);(0,g.Hk)(b,function(a){if(-1==a)return this.si=a,!0;this.si=this.si<a?a:this.si;return!1},a)};
oC=function(a,b){a.Dk=!1;a.dj(b);0==b.Ac?a.ag():(-1==b.Ac?(mC(a)||!P.g()&&a.gn)&&nC(a):xz(a.Qb),a.Kd=null)};
Xia=function(a){if(null!=a.Qb){pC(a);var b=a.Wa();om(b,a.Qb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);om(b,a.Qb,"adBreakReady",a.wO,a);om(b,a.Qb,"adNotify",a.Dl,a);om(b,a.Qb,"discardAdNotify",a.Fl,a);om(b,a.ob,"contentComplete",a.xP,a);a.ob.g=!1}};
pC=function(a){null!=a.ac&&(a.ac.dispose(),a.ac=null);a.gn=!1;null!=a.Qb&&a.Qb.Xc()};
qC=function(a){if(null==a.Kd){var b=g.VB(a.Ek);if(null!=b){a.Kd=b;var c=a.Eb.get(a.Kd.g);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.Kd=null,qC(a);else if(null!=a.kd&&a.kd.o(c))a.Kd=null,qC(a);else if("requestAds"==b)a.Dk?(a.Ek.isEmpty()||"playAds"!=WB(a.Ek).type||g.VB(a.Ek),oC(a,c)):0==c.Ac&&a.eg()||rC(a,c);else{if("playAds"==b)if(a.Dk)oC(a,c);else if(null!=a.ub&&a.ub.wb()&&a.dj(a.ub),a.ub=c,a.ub.setVolume(a.volume),Ty(a.ub,a.Zd,a.Yd,a.ad),a.ub.N&&a.Kd.A<a.Kt){c=a.ub;if(c.o<c.A.length){b=
c.A[c.o];bz(c);try{c.G=new g.mm(c),c.g=cz(c,b,c.G)}catch(e){c.o++,gz(c)}}c=a.Qb;b=a.Kt;var d=new vz(a.ub);d.g=b;d.o=!0;Hb(c.g,d,wz);a.ia("contentResumeRequested");a.Kd=null;qC(a)}else a.ub.start()}else a.Kd=null,qC(a)}}};
rC=function(a,b){var c=a.Wa();om(c,b,Ay,a.dispatchEvent,a);om(c,b,"adError",a.Jx,a);om(c,b,"allAdsCompleted",a.SA,a);om(c,b,"contentPauseRequested",a.Bh,a);om(c,b,"contentResumeRequested",a.ag,a);om(c,b,"userClose",a.Fi,a);om(c,b,"autoClose",a.Ei,a);om(c,b,"adBreakInitialized",a.TA,a);b.init(a.Zd,a.Yd,a.ad)};
nC=function(a){if(!a.jq){a.jq=!0;a.ob.g=!0;try{Tn(Qn.getInstance(),44,{cmpl:!0})}catch(b){}a.ia("allAdsCompleted");-1==a.si&&sC(a)}};
sC=function(a){Rm(Om(),420706009)||Rn.clear();null!=a.Jd&&(a=a.Jd.gi(),null!=a&&EA(a,Rn.g))};
mC=function(a){return 0==a.Eb.sb().length};
tC=function(a){return null!=a.ub?a.ub:null!=a.Kd?a.Eb.get(a.Kd.g):null};
Yia=function(){this.Tw=new Nha;this.fb=null};
iz=function(a,b){if(g.nb(b))throw Error("Ads manager creation failure, no ads.");if(Zia(a,b)){var c=$ia(a,b);if(!g.nb(c))return new Hy(c)}c=Fy(b);P.g()||(c=c&&null!=ws(b[0])?new Ey(0,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
$ia=function(a,b){var c=[];(0,g.H)(b,function(a){var b=Fy([a]);b&&a.Wb()&&g.qb(c,b)},a);
return c};
Fy=function(a){var b=a[0];switch(uC(b)){case "overlay":return Es(b)?new fC(a):new Py(a);case "video":return new Gx(a);case "vpaid":return new oy(a);case "flash_vpaid":return 2==P.F?new ww(a):new Cw(a)}return null};
Zia=function(a,b){if(1==b.length)return!1;var c=uC(b[0]);return(0,g.Hk)(b,function(a){a=uC(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)};
uC=function(a){var b=Yr(a)&&P.g();b=0!=P.F||b;return null!=Os(a)&&b?"vpaid":lo&&null!=Ps(a)&&0!=P.F?"flash_vpaid":Es(a)&&null==Os(a)&&Is(a,"nonlinear")?"overlay":Is(a,"linear")?"video":Is(a,"nonlinear")&&null==Os(a)?"overlay":null};
vC=function(a){g.Ff.call(this);this.o=a;a=new OA(new xA);this.g=new ZB(new Yia,a,Rn);this.g.U("adsManagerLoaded",this.dispatchEvent,!1,this);this.g.U("adError",this.dispatchEvent,!1,this);this.g.U("adLoadError",this.dispatchEvent,!1,this)};
wC=function(a,b,c){Fda();var d="",e=ri(),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.Se=xm(b.g,a.o.D);b.gu=a.o.L;Ria(a.g,b,c)};
xC=function(a,b){this.g=a;this.o=b};
yC=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};
zC=function(a,b){if(0==b)return a.g;if(1==b)return a.o;var c=bd(a.g,a.A,b),d=bd(a.A,a.B,b),e=bd(a.B,a.o,b);c=bd(c,d,b);d=bd(d,e,b);return bd(c,d,b)};
aja=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++){f=zC(a,c);var l=(zC(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=zC(a,c);return c};
AC=function(a,b,c,d){this.B=a;this.C=b;this.g=this.A=a;this.D=c||0;this.F=d||2};
BC=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.mm(this);this.o=new g.sg;tg(this.o,250)};
DC=function(a,b,c){a.nj=1;a.hh=fm(b.clone());a.Ii=c;a.D=!0;CC(a,null)};
EC=function(a,b,c,d,e){a.nj=1;a.hh=fm(b.clone());a.Ii=null;a.D=c;e&&(a.sC=!1);CC(a,d)};
CC=function(a,b){a.Ol=(0,g.G)();FC(a);a.Gh=a.hh.clone();em(a.Gh,"t",a.F);a.Zl=0;a.Pc=a.g.Iq(a.g.Sl()?b:null);0<a.sr&&(a.No=new g.sk((0,g.A)(a.AD,a,a.Pc),a.sr));a.B.U(a.Pc,"readystatechange",a.iT);var c=a.li?g.dc(a.li):{};a.Ii?(a.vp="POST",c["Content-Type"]="application/x-www-form-urlencoded",a.Pc.send(a.Gh,a.vp,a.Ii,c)):(a.vp="GET",a.sC&&!g.xd&&(c.Connection="close"),a.Pc.send(a.Gh,a.vp,null,c));a.g.pf(1)};
MC=function(a,b,c){for(var d=!0;!a.Vh&&a.Zl<c.length;){var e=bja(a,c);if(e==GC){4==b&&(a.mi=4,HC(),d=!1);break}else if(e==IC){a.mi=4;HC();d=!1;break}else JC(a,e)}4==b&&0==c.length&&(a.mi=1,HC(),d=!1);a.tf=a.tf&&d;d||(KC(a),LC(a))};
bja=function(a,b){var c=a.Zl,d=b.indexOf("\n",c);if(-1==d)return GC;c=Number(b.substring(c,d));if((0,window.isNaN)(c))return IC;d+=1;if(d+c>b.length)return GC;var e=b.substr(d,c);a.Zl=d+c;return e};
PC=function(a,b){a.Ol=(0,g.G)();FC(a);var c=b?window.location.hostname:"";a.Gh=a.hh.clone();g.cm(a.Gh,"DOMAIN",c);g.cm(a.Gh,"t",a.F);try{a.vf=new window.ActiveXObject("htmlfile")}catch(n){KC(a);a.mi=7;HC();LC(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 NC)k=NC[l];else if(l in OC)k=NC[l]=OC[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=NC[l]=k}e+=k}}d+='<script>document.domain="'+e+'"\x3c/script>'}d+="</body></html>";c=Zc(wc("b/12014412"),d);a.vf.open();a.vf.write(g.Rc(c));a.vf.close();a.vf.parentWindow.m=(0,g.A)(a.lS,a);a.vf.parentWindow.d=(0,g.A)(a.LB,a,!0);a.vf.parentWindow.rpcClose=(0,g.A)(a.LB,a,!1);c=a.vf.createElement("DIV");a.vf.parentWindow.document.body.appendChild(c);d=Ic(a.Gh.toString());d=Oa(Fc(d));d=Zc(wc("b/12014412"),'<iframe src="'+d+'"></iframe>');c.innerHTML=
g.Rc(d);a.g.pf(1)};
FC=function(a){a.Eu=(0,g.G)()+a.C;QC(a,a.C)};
QC=function(a,b){if(null!=a.hk)throw Error("WatchDog timer not null");a.hk=RC((0,g.A)(a.CS,a),b)};
SC=function(a){a.hk&&(g.v.clearTimeout(a.hk),a.hk=null)};
LC=function(a){a.g.by()||a.Vh||a.g.Eo(a)};
KC=function(a){SC(a);g.af(a.No);a.No=null;a.o.stop();sm(a.B);if(a.Pc){var b=a.Pc;a.Pc=null;b.abort();b.dispose()}a.vf&&(a.vf=null)};
JC=function(a,b){try{a.g.EB(a,b),a.g.pf(4)}catch(c){}};
UC=function(a,b,c,d,e){if(0==d)c(!1);else{var f=e||0;d--;TC(a,b,function(e){e?c(!0):g.v.setTimeout(function(){UC(a,b,c,d,f)},f)})}};
TC=function(a,b,c){var d=new window.Image;d.onload=function(){try{VC(d),c(!0)}catch(e){}};
d.onerror=function(){try{VC(d),c(!1)}catch(e){}};
d.onabort=function(){try{VC(d),c(!1)}catch(e){}};
d.ontimeout=function(){try{VC(d),c(!1)}catch(e){}};
g.v.setTimeout(function(){if(d.ontimeout)d.ontimeout()},b);
d.src=a};
VC=function(a){a.onload=null;a.onerror=null;a.onabort=null;a.ontimeout=null};
WC=function(a){this.g=a;this.o=new xC};
YC=function(a){var b=XC(a.g,a.uk,"/mail/images/cleardot.gif");fm(b);UC(b.toString(),5E3,(0,g.A)(a.NH,a),3,2E3);a.pf(1)};
$C=function(a){var b=a.g.J;if(null!=b)HC(),b?(HC(),ZC(a.g,a,!1)):(HC(),ZC(a.g,a,!0));else if(a.oe=new BC(a,0,void 0,void 0,void 0),a.oe.li=a.pr,b=a.g,b=XC(b,b.Sl()?a.Uk:null,a.rr),HC(),!g.vd||g.sc(10))em(b,"TYPE","xmlhttp"),EC(a.oe,b,!1,a.Uk,!1);else{em(b,"TYPE","html");var c=a.oe;a=!!a.Uk;c.nj=3;c.hh=fm(b.clone());PC(c,a)}};
aD=function(a,b,c,d){this.G=a||null;this.g=1;this.o=[];this.B=[];this.C=new xC;this.I=b||null;this.J=null!=c?c:null;this.D=d||!1};
cja=function(a,b){this.g=a;this.map=b;this.context=null};
bD=function(a){g.cf.call(this,"statevent",a)};
cD=function(a,b){g.cf.call(this,"timingevent",a);this.size=b};
dD=function(a){g.cf.call(this,"serverreachability",a)};
hD=function(a){eD(a);if(3==a.g){var b=a.Bl++,c=a.Bn.clone();g.cm(c,"SID",a.A);g.cm(c,"RID",b);g.cm(c,"TYPE","terminate");fD(a,c);b=new BC(a,0,a.A,b,void 0);b.nj=2;b.hh=fm(c.clone());(new window.Image).src=b.hh;b.Ol=(0,g.G)();FC(b)}gD(a)};
jD=function(a){a.iI(1,0);a.Bn=XC(a,null,a.mr);iD(a)};
eD=function(a){a.Yg&&(a.Yg.abort(),a.Yg=null);a.xc&&(a.xc.cancel(),a.xc=null);a.ug&&(g.v.clearTimeout(a.ug),a.ug=null);kD(a);a.Md&&(a.Md.cancel(),a.Md=null);a.ah&&(g.v.clearTimeout(a.ah),a.ah=null)};
lD=function(a,b){if(0==a.g)throw Error("Invalid operation: sending map when state is closed");a.o.push(new cja(a.sO++,b));2!=a.g&&3!=a.g||iD(a)};
iD=function(a){a.Md||a.ah||(a.ah=RC((0,g.A)(a.JB,a),0),a.Jk=0)};
oD=function(a,b){if(1==a.g){if(!b){a.Bl=Math.floor(1E5*Math.random());var c=a.Bl++,d=new BC(a,0,"",c,void 0);d.li=null;var e=mD(a),f=a.Bn.clone();g.cm(f,"RID",c);a.G&&g.cm(f,"CVER",a.G);fD(a,f);DC(d,f,e);a.Md=d;a.g=2}}else 3==a.g&&(b?nD(a,b):0==a.o.length||a.Md||nD(a))};
nD=function(a,b){if(b)if(6<a.Xh){a.o=a.B.concat(a.o);a.B.length=0;var c=a.Bl-1;var d=mD(a)}else c=b.G,d=b.Ii;else c=a.Bl++,d=mD(a);var e=a.Bn.clone();g.cm(e,"SID",a.A);g.cm(e,"RID",c);g.cm(e,"AID",a.Aj);fD(a,e);c=new BC(a,0,a.A,c,a.Jk+1);c.li=null;c.setTimeout(Math.round(1E4)+Math.round(1E4*Math.random()));a.Md=c;DC(c,e,d)};
fD=function(a,b){if(a.od){var c=a.od.Kx(a);c&&g.Ob(c,function(a,c){g.cm(b,c,a)})}};
mD=function(a){var b=Math.min(a.o.length,1E3),c=["count="+b];if(6<a.Xh&&0<b){var d=a.o[0].g;c.push("ofs="+d)}else d=0;for(var e=0;e<b;e++){var f=a.o[e].g,k=a.o[e].map;f=6>=a.Xh?e:f-d;try{g.Ob(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("&")};
pD=function(a){a.xc||a.ug||(a.F=1,a.ug=RC((0,g.A)(a.IB,a),0),a.Yi=0)};
rD=function(a){if(a.xc||a.ug||3<=a.Yi)return!1;a.F++;a.ug=RC((0,g.A)(a.IB,a),qD(a,a.Yi));a.Yi++;return!0};
ZC=function(a,b,c){a.up=c;a.bf=b.zg;a.D||jD(a)};
kD=function(a){null!=a.Zh&&(g.v.clearTimeout(a.Zh),a.Zh=null)};
qD=function(a,b){var c=5E3+Math.floor(1E4*Math.random());a.isActive()||(c*=2);return c*b};
tD=function(a,b){if(2==b||9==b){var c=null;a.od&&(c=null);var d=(0,g.A)(a.XT,a);c||(c=new g.Ul("//www.google.com/images/cleardot.gif"),fm(c));TC(c.toString(),1E4,d)}else HC();sD(a,b)};
sD=function(a,b){a.g=0;a.od&&a.od.Dw(a,b);gD(a);eD(a)};
gD=function(a){a.g=0;a.bf=-1;if(a.od)if(0==a.B.length&&0==a.o.length)a.od.Aq(a);else{var b=g.vb(a.B),c=g.vb(a.o);a.B.length=0;a.o.length=0;a.od.Aq(a,b,c)}};
XC=function(a,b,c){var d=g.gm(c);if(""!=d.o)b&&g.Wl(d,b+"."+d.o),g.Xl(d,d.C);else{var e=window.location;d=tda(e.protocol,b?b+"."+e.hostname:e.hostname,e.port,c)}a.Gk&&g.Ob(a.Gk,function(a,b){g.cm(d,b,a)});
g.cm(d,"VER",a.Xh);fD(a,d);return d};
RC=function(a,b){if(!g.za(a))throw Error("Fn must not be null and must be a function");return g.v.setTimeout(function(){a()},b)};
HC=function(){uD.dispatchEvent(new bD(uD))};
vD=function(){};
g.wD=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.ah(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.xD=function(a){g.K.call(this);this.Qd=1;this.A=[];this.B=0;this.g=[];this.o={};this.C=!!a};
dja=function(a,b,c){g.Uf(function(){a.apply(b,c)})};
g.yD=function(a){this.g=a};
zD=function(a){this.g=a};
AD=function(a){this.data=a};
BD=function(a){return!g.t(a)||a instanceof AD?a:new AD(a)};
CD=function(a){this.g=a};
g.DD=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.G)()||!!b&&b>(0,g.G)()};
g.ED=function(a){this.g=a};
eja=function(){};
FD=function(){};
GD=function(a){this.g=a};
KD=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
PD=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
QD=function(a,b){this.o=a;this.g=b+"::"};
g.RD=function(a){var b=new KD;return b.isAvailable()?a?new QD(b,a):b:null};
SD=function(a,b){this.Qd=a;this.g=b};
TD=function(a){this.g=[];if(a)a:{if(a instanceof TD){var b=a.Db();a=a.sb();if(0>=this.Lc()){for(var c=this.g,d=0;d<b.length;d++)c.push(new SD(b[d],a[d]));break a}}else b=g.Ub(a),a=g.Tb(a);for(d=0;d<b.length;d++)UD(this,b[d],a[d])}};
UD=function(a,b,c){var d=a.g;d.push(new SD(b,c));b=d.length-1;a=a.g;for(c=a[b];0<b;)if(d=b-1>>1,a[d].Qd>c.Qd)a[b]=a[d],b=d;else break;a[b]=c};
VD=function(){TD.call(this)};
WD=function(a,b){this.C=[];this.N=a;this.L=b||null;this.B=this.g=!1;this.A=void 0;this.I=this.O=this.F=!1;this.D=0;this.o=null;this.G=0};
YD=function(a,b,c){a.g=!0;a.A=c;a.B=!b;XD(a)};
$D=function(a){if(a.g){if(!a.I)throw new ZD;a.I=!1}};
bE=function(a,b,c){aE(a,b,null,c)};
aE=function(a,b,c,d){a.C.push([b,c,d]);a.g&&XD(a)};
cE=function(a){return(0,g.Hk)(a.C,function(a){return g.za(a[1])})};
XD=function(a){if(a.D&&a.g&&cE(a)){var b=a.D,c=dE[b];c&&(g.v.clearTimeout(c.ya),delete dE[b]);a.D=0}a.o&&(a.o.G--,delete a.o);b=a.A;for(var 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(Xf(b)||"function"===typeof g.v.Promise&&b instanceof g.v.Promise)d=!0,a.F=!0}catch(m){b=m,a.B=!0,cE(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 WD?(aE(b,l,d),b.O=!0):b.then(l,
d));c&&(b=new eE(b),dE[b.ya]=b,a.D=b.ya)};
ZD=function(){Ja.call(this)};
fE=function(){Ja.call(this)};
eE=function(a){this.ya=g.v.setTimeout((0,g.A)(this.o,this),0);this.g=a};
gE=function(a){Ae(this,a,null,null)};
fja=function(a,b){for(;se(b)&&4!=b.o;)switch(b.A){case 1:var c=ue(b);De(a,1,c);break;case 2:c=ve(b);De(a,2,c);break;default:te(b)}return a};
hE=function(a){Ae(this,a,gja,null)};
iE=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.kE=function(a){iE(g.jE,arguments)};
g.lE=function(a,b){return a in g.jE?g.jE[a]:b};
g.U=function(a,b,c){b=void 0===b?{}:b;a=(a=a in mE?mE[a]:c)||"";c={};for(var d in b)c.Ho=d,a=a.replace(new RegExp("\\$"+c.Ho,"gi"),function(a){return function(){return b[a.Ho]}}(c)),c={Ho:c.Ho};
return a};
g.nE=function(a){iE(mE,arguments)};
g.oE=function(){g.nE({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.qE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-cast-desktop-on"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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"}}]}};
rE=function(){return{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",R:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}};
g.sE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-chevron-back"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},K:[{H:"path",R:{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.tE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-chevron-forward"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},K:[{H:"path",R:{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"}}]}};
uE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-clip-clear"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{H:"path",R:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{H:"path",R:{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"}}]}};
vE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-clip-end"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{H:"path",Pa:!0,R:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
wE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-clip-start"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{H:"path",Pa:!0,R:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.xE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-close"]}:{H:"svg",R:{height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{H:"path",R:{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"}}]}};
yE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-closed-captioning"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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"}}]}};
zE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-forward-five-seconds"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}}]}};
AE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-link"]}:{H:"svg",R:{height:"100%",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",R:{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"}}]}};
BE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-next"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
g.CE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-notifications-active"]}:{H:"svg",R:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},K:[{H:"path",R:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}};
DE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-pause"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
EE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-play"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}}]}};
FE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-prev"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
GE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-replay"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}}]}};
HE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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.IE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-settings"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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"}}]}};
JE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-stop"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
KE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-volume-high"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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"}}]}};
LE=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-volume-low"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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"}}]}};
ME=function(){return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-volume-muted"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}}]}};
OE=function(a){a=a.split("");NE.BV(a,20);NE.MJ(a,13);NE.BV(a,57);NE.MJ(a,28);NE.BV(a,31);NE.Qk(a,3);NE.BV(a,52);NE.Qk(a,3);return a.join("")};
g.PE=function(a,b,c,d,e){var f=g.x("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.lE("ERRORS",[]),f.push([a,b,c,d,e]),g.kE("ERRORS",f))};
QE=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.PE(b)}}:a};
hja=function(){if(!RE)return null;var a=RE();return"open"in a?a:null};
g.SE=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.TE=function(a){window.clearTimeout(a)};
g.UE=function(a,b){g.za(a)&&(a=QE(a));return window.setInterval(a,b)};
g.VE=function(a,b){g.za(a)&&(a=QE(a));return window.setTimeout(a,b)};
g.WE=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=Na(e[0]||"");e=Na(e[1]||"");f in b?g.xa(b[f])?wb(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
g.XE=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.WE(a)};
YE=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=g.XE(e[1]||"");for(var f in b)if(c||!Xb(e,f))e[f]=b[f];return g.Qg(a,e)+d};
g.ZE=function(a,b){return YE(a,b||{},!1)};
$E=function(a){var b=[];g.Ob(a,function(a,d){var c=g.Ma(d),f;g.xa(a)?f=a:f=[a];(0,g.H)(f,function(a){""==a?b.push(c):b.push(c+"="+g.Ma(a))})});
return b.join("&")};
aF=function(){if(!a)var a=window.document.location.href;a=g.Gg(a)[1]||null;return null!==a&&"https"==a};
bF=function(a){if(!b)var b=window.location.href;var c=g.Gg(a)[1]||null,d=g.Ig(a);c&&d?(a=g.Gg(a),b=g.Gg(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.Ig(b)==d&&g.Jg(b)==g.Jg(a):!0;return a};
g.cF=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.XE(1<a.length?a[1]:a[0])):{}};
dF=function(a){a=a.split(",");return a=a.map(function(a){return g.XE(a)})};
g.eF=function(a,b){return YE(a,b||{},!0)};
ija=function(a,b){b=void 0===b?{}:b;var c=bF(a),d;for(d in fF){var e=g.lE(fF[d]),f;if((f=e)&&!(f=c)){var k=a;f=d;var l=g.lE("CORS_HEADER_WHITELIST")||{};f=(k=g.Ig(k))?(l=l[k])?g.lb(l,f):!1:!0}f&&(b[d]=e)}return b};
jja=function(a,b){var c=g.lE("XSRF_FIELD_NAME",void 0),d;b.headers&&(d=b.headers["Content-Type"]);return!b.o3&&(!g.Ig(a)||b.withCredentials||g.Ig(a)==window.document.location.hostname)&&"POST"==b.method&&(!d||"application/x-www-form-urlencoded"==d)&&!(b.Nb&&b.Nb[c])};
g.iF=function(a,b){var c=b.format||"JSON";b.q3&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var d=g.lE("XSRF_FIELD_NAME",void 0),e=g.lE("XSRF_TOKEN",void 0),f=b.Zc;f&&(f[d]&&delete f[d],a=g.eF(a,f));f=b.postBody||"";var k=b.Nb;jja(a,b)&&(k||(k={}),k[d]=e);k&&g.u(f)&&(d=g.XE(f),g.gc(d,k),f=b.XB&&"JSON"==b.XB?JSON.stringify(d):g.Og(d));d=f||k&&!g.$b(k);!gF&&d&&"POST"!=b.method&&(gF=!0,g.PE(Error("AJAX request with postData should use POST")));
var l=!1,m,n=hF(a,function(a){if(!l){l=!0;m&&g.TE(m);var d=g.SE(a),e=null;if(d||400<=a.status&&500>a.status)e=kja(c,a,b.m3);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}e=e||{};var f=b.context||g.v;d?b.Vb&&b.Vb.call(f,a,e):b.onError&&b.onError.call(f,a,e);b.Fd&&b.Fd.call(f,a,e)}},b.method,f,b.headers,b.responseType,b.withCredentials);
b.Gd&&0<b.timeout&&(m=g.VE(function(){l||(l=!0,n.abort(),g.TE(m),b.Gd.call(b.context||g.v,n))},b.timeout));
return n};
kja=function(a,b,c){var d=null;switch(a){case "JSON":a=b.responseText;b=b.getResponseHeader("Content-Type")||"";a&&0<=b.indexOf("json")&&(d=JSON.parse(a));break;case "XML":if(b=(b=b.responseXML)?lja(b):null)d={},(0,g.H)(b.getElementsByTagName("*"),function(a){d[a.tagName]=mja(a)})}c&&jF(d);
return d};
jF=function(a){if(g.Aa(a))for(var b in a)"html_content"==b||La(b,"_html")?a[b]=Zc(wc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):jF(a[b])};
lja=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
mja=function(a){var b="";(0,g.H)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.kF=function(a,b){b.method="POST";b.Nb||(b.Nb={});g.iF(a,b)};
hF=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&QE(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=hja();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=ija(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");m.send(d);return m};
g.mF=function(){return lF("cobalt")};
lF=function(a){var b=g.Lb;return b?0<=b.toLowerCase().indexOf(a):!1};
nF=function(){var a=/Chrome\/(\d+)/.exec(g.Lb);return a?(0,window.parseFloat)(a[1]):window.NaN};
oF=function(){return lF("android")&&lF("chrome")&&!(lF("trident/")||lF("edge/"))};
qF=function(){return g.pF&&lF("crkey")};
rF=function(){return lF("(ps3; leanback shell)")||lF("ps3")&&g.mF()};
sF=function(){return lF("(ps4; leanback shell)")||lF("ps4")&&g.mF()};
tF=function(){var a=/WebKit\/([0-9]+)/.exec(g.Lb);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
uF=function(){return lF("nintendo wiiu")};
vF=function(){return lF("iemobile")||lF("windows phone")&&lF("edge")};
g.wF=function(a,b,c){a&&(c&&!g.mF()?a&&(a=g.Ad("IFRAME",{src:'javascript:"data:text/html,<body><img src=\\"'+a+'\\"></body>"',style:"display:none"}),g.jd(a).body.appendChild(a)):g.lE("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)?hF(a,b):nja(a,b))};
nja=function(a,b){var c=new window.Image,d=""+oja++;xF[d]=c;c.onload=c.onerror=function(){b&&xF[d]&&b();delete xF[d]};
c.src=a};
yF=function(a){try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")||g.wF(a,void 0)}catch(b){g.wF(a,void 0)}};
g.zF=function(a){return g.lE("EXPERIMENT_FLAGS",{})[a]};
BF=function(a,b){var c=g.dc(b);return new g.Zf(function(b,e){c.Vb=function(a){g.SE(a)?b(a):e(new AF("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){e(new AF("Unknown request error","net.unknown",a))};
c.Gd=function(a){e(new AF("Request timed out","net.timeout",a))};
g.iF(a,c)})};
AF=function(a,b,c){Ja.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"};
CF=function(a,b,c,d){function e(d,l,m){return g.kg(d,function(d){return 0>=l||403===d.g.status?dg(new AF("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(BF(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(a){return new g.Zf(function(b){(0,window.setTimeout)(b,a)})}
return e(BF(a,b),c-1,d)};
DF=function(a){this.A=void 0===a?null:a;this.o=0;this.g=null};
EF=function(a){var b=new DF;a=void 0===a?null:a;b.o=2;b.g=void 0===a?null:a;return b};
FF=function(a){var b=new DF;a=void 0===a?null:a;b.o=1;b.g=void 0===a?null:a;return b};
HF=function(a){Ja.call(this,a.message||a.description||a.name);this.isMissing=a instanceof GF;this.isTimeout=a instanceof pja&&a.errorCode==qja.TIMEOUT;this.isCanceled=a instanceof pg};
GF=function(){Ja.call(this,"Biscotti ID is missing from server")};
IF=function(){return g.Wb(window,"settings","experiments","flags","html5_serverside_pagead_id_sets_cookie")||g.lE("EXP_HTML5_SERVERSIDE_PAGEAD_ID_SETS_COOKIE",!1)||g.zF("html5_serverside_pagead_id_sets_cookie")?"//googleads.g.doubleclick.net/pagead/id?exp=nomnom":"//googleads.g.doubleclick.net/pagead/id"};
rja=function(){if("1"===g.Wb(g.lE("PLAYER_CONFIG",{}),"args","privembed"))return dg(Error("Biscotti ID is not available in private embed mode"));JF||(JF=g.kg(BF(IF(),KF).then(LF),function(a){return MF(2,a)}));
return JF};
LF=function(a){a=a.responseText;if(!g.Ka(a,")]}'"))throw new GF;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new GF;a=a.id;NF(a);JF=FF(a);OF(18E5,2);return a};
MF=function(a,b){var c=new HF(b);NF("");JF=EF(c);0<a&&OF(12E4,a-1);throw c;};
OF=function(a,b){g.VE(function(){g.kg(BF(IF(),KF).then(LF,function(a){return MF(b,a)}),g.y)},a)};
NF=function(a){g.ua("yt.ads.biscotti.lastId_",a,void 0)};
PF=function(){try{var a=g.x("yt.ads.biscotti.getId_");return a?a():rja()}catch(b){return dg(b)}};
g.RF=function(a){return QF[a]||(QF[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
g.SF=function(a,b){return a?a.dataset?a.dataset[g.RF(b)]:a.getAttribute("data-"+b):null};
g.TF=function(a,b,c){a&&(a.dataset?a.dataset[g.RF(b)]=String(c):a.setAttribute("data-"+b,c))};
UF=function(a,b){var c;(0,g.Hk)(a,function(a){c=b[a];return!!c});
return c};
WF=function(a,b){if(a in b)return b[a];var c=VF+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
XF=function(){return!!UF(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.YF=function(){var a=UF(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
ZF=function(a){var b;XF()?g.YF()==a&&(b=window.document):b=a;b&&(a=UF(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
sja=function(){var a=window.document;return g.gb(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
$F=function(a){return g.gb(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
aG=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 tja||(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}};
bG=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}};
uja=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 Yb(cG,function(e){return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&e[4]==!!d})};
g.eG=function(a,b,c,d){d=void 0===d?!1:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=uja(a,b,c,d);if(e)return e;e=++dG.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new aG(d);if(!g.Yd(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new aG(b);
b.currentTarget=a;return c.call(a,b)};
k=QE(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);cG[e]=[a,b,c,k,d];return e};
g.fG=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.H)(a,function(a){if(a in cG){var b=cG[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 cG[a]}}))};
g.gG=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
g.hG=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
iG=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.dd(b,c)};
jG=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};
kG=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.gG(a)};
g.lG=function(a){a=a||window.event;return!1===a.returnValue||a.Xy&&a.Xy()};
mG=function(a,b,c){var d;return d=g.eG(a,b,function(){g.fG(d);c.apply(a,arguments)},!1)};
g.nG=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.oG=function(a){this.o=a||window;this.g=[]};
g.pG=function(a){g.fG(a.g);a.g.length=0};
g.qG=function(a){g.K.call(this);this.N=[];this.Ib=a||this};
rG=function(a,b,c,d){for(var e=0;e<c.length;e++)a.P(b,c[e],d)};
g.sG=function(a){for(;a.N.length;){var b=a.N.pop();b.target.removeEventListener(b.name,b.vk)}};
g.tG=function(){g.K.call(this);this.ea=new g.xD;g.L(this,this.ea)};
g.vG=function(a,b,c,d){g.tG.call(this);this.A=!!b;this.D=a;this.I=c||a;this.G=!!d;this.g=new g.qG(this);g.L(this,this.g);this.C=this.F=null;this.B=this.o=!1;b&&(g.xd&&a.setAttribute("draggable","true"),a.style.touchAction="none");uG(this)};
wG=function(a,b,c){a.g.P(a.I,b,c,void 0,!a.A)};
uG=function(a){a.C=null;a.F=null;wG(a,xG("over"),a.Cz);wG(a,"touchstart",a.Hs);a.A&&wG(a,xG("down"),a.kO)};
yG=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};
xG=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
zG=function(a){a=a||{};this.url=a.url||"";this.args=a.args||g.dc(vja);this.assets=a.assets||{};this.attrs=a.attrs||g.dc(wja);this.params=a.params||g.dc(xja);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||{}};
yja=function(a){a instanceof zG||(a=new zG(a));return a};
AG=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.wF(c.data.follow_on_url)}};
g.BG=function(a,b,c){this.o=a;this.B=b;this.A=c;this.g=void 0};
g.GG=function(a,b,c){var d=g.CG();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.DG[e]&&b.apply(c||window,d)};
try{EG[a]?k():g.VE(k,0)}catch(l){g.PE(l)}},c);
g.DG[e]=!0;g.FG[a]||(g.FG[a]=[]);g.FG[a].push(e);return e}return 0};
g.HG=function(a){var b=g.CG();b&&(g.ta(a)?a=[a]:g.u(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.H)(a,function(a){b.unsubscribeByKey(a);delete g.DG[a]}))};
g.CG=function(){return g.x("ytPubsubPubsubInstance")};
g.IG=function(a,b){var c=g.CG();return c?c.publish.apply(c,arguments):!1};
g.JG=function(a,b){var c=g.GG(a,function(a){b.apply(void 0,arguments);g.HG(c)},void 0)};
g.KG=function(a,b){EG[a]=!0;var c=g.CG();c&&c.publish.apply(c,arguments);EG[a]=!1};
g.QG=function(a,b){LG[a.endpoint]=b;if(a.kn){var c=a.kn;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);MG[a.kn.token]=d;c=NG(a.endpoint,a.kn.token)}else c=NG(a.endpoint);c.push(a.WB);d=g.zF("web_logging_max_batch");c.length>=(Number(d||0)||20)?OG():PG()};
OG=function(){g.TE(RG);if(!g.$b(SG)){for(var a in SG){var b=TG[a];if(!b){var c=LG[a];if(!c)continue;b=new c;TG[a]=b}c=void 0;var d=a,e=b,f=zja[d],k=UG[d]||{};UG[d]=k;b=Math.round((0,g.VG)());for(c in SG[d]){var l={context:g.WG(e.g)};l[f]=NG(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;l.requestTimeMs=b;var m=MG[c];if(m)a:{var n=l,q=c;if(m.videoId)var r="VIDEO";else if(m.playlistId)r="PLAYLIST";else break a;n.credentialTransferTokenTargetId=m;n.context=
n.context||{};n.context.user=n.context.user||{};n.context.user.credentialTransferTokens=[{token:q,scope:r}]}delete MG[c];g.XG(e,d,l,{})}c=k;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?(c.averageTimeBetweenDispatchesMs*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs=d;delete SG[a]}g.$b(SG)||PG()}};
PG=function(){g.TE(RG);RG=g.VE(OG,g.lE("LOGGING_BATCH_TIMEOUT",1E4))};
NG=function(a,b){b||(b="");SG[a]=SG[a]||{};SG[a][b]=SG[a][b]||[];return SG[a][b]};
ZG=function(){if(null==g.x("_lact",window)){var a=(0,window.parseInt)(g.lE("LACT"),10);a=(0,window.isFinite)(a)?(0,g.G)()-Math.max(a,0):-1;g.ua("_lact",a,window);g.ua("_fact",a,window);-1==a&&YG();g.eG(window.document,"keydown",YG);g.eG(window.document,"keyup",YG);g.eG(window.document,"mousedown",YG);g.eG(window.document,"mouseup",YG);g.GG("page-mouse",YG);g.GG("page-scroll",YG);g.GG("page-resize",YG)}};
YG=function(){null==g.x("_lact",window)&&(ZG(),g.x("_lact",window));var a=(0,g.G)();g.ua("_lact",a,window);-1==g.x("_fact",window)&&g.ua("_fact",a,window);g.IG("USER_ACTIVE")};
g.$G=function(){var a=g.x("_lact",window);return null==a?-1:Math.max((0,g.G)()-a,0)};
g.bH=function(a,b,c,d){var e=g.aH,f={};f.eventTimeMs=Math.round(c||(0,g.VG)());f[a]=b;f.context={lastActivityMs:String(c?-1:g.$G())};a=g.zF("web_system_health_gel2")&&"systemHealthCaptured"==a?"log_event2":"log_event";g.QG({endpoint:a,WB:f,kn:d},e)};
g.WG=function(a){a={client:{hl:a.es,gl:a.ds,clientName:a.Zr,clientVersion:a.innertubeContextClientVersion}};g.lE("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.lE("DELEGATED_SESSION_ID")});return a};
Aja=function(a,b,c){c.context&&c.context.capabilities&&(c=c.context.capabilities,c.snapshot||c.golden)&&(a="vix");return"/youtubei/"+a+"/"+b};
g.aH=function(a){this.g=a||{apiaryHost:g.lE("APIARY_HOST",void 0),CH:g.lE("APIARY_HOST_FIRSTPARTY",void 0),gapiHintOverride:!!g.lE("GAPI_HINT_OVERRIDE",void 0),gapiHintParams:g.lE("GAPI_HINT_PARAMS",void 0),innertubeApiKey:g.lE("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.lE("INNERTUBE_API_VERSION",void 0),Zr:g.lE("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.lE("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),es:g.lE("INNERTUBE_CONTEXT_HL",void 0),ds:g.lE("INNERTUBE_CONTEXT_GL",
void 0),xhrApiaryHost:g.lE("XHR_APIARY_HOST",void 0)||"",fo:g.lE("INNERTUBE_HOST_OVERRIDE",void 0)||""}};
g.XG=function(a,b,c,d){!g.lE("VISITOR_DATA")&&.01>Math.random()&&g.PE(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");var e={headers:{"Content-Type":"application/json","X-Goog-Visitor-Id":g.lE("VISITOR_DATA","")},Nb:c,XB:"JSON",Gd:d.Gd,Vb:function(a,b){d.Vb&&d.Vb(b)},
onError:function(a,b){if(d.onError)d.onError(b)},
timeout:d.timeout,withCredentials:!0},f=g.Jl();f&&(e.headers.Authorization=f,e.headers["X-Goog-AuthUser"]=g.lE("SESSION_INDEX",0));var k="",l=a.g.fo;l&&(k=l);f&&!k&&(e.headers["x-origin"]=window.location.origin);g.kF(""+k+Aja(a.g.innertubeApiVersion,b,c)+"?alt=json&key="+a.g.innertubeApiKey,e)};
g.cH=function(){return!!g.x("yt.scheduler.instance")};
g.dH=function(a,b,c){(0,window.isNaN)(c)&&(c=void 0);var d=g.x("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),window.NaN):g.VE(a,c||0)};
g.eH=function(a){if(!(0,window.isNaN)(a)){var b=g.x("yt.scheduler.instance.cancelJob");b?b(a):g.TE(a)}};
fH=function(a){var b=g.x("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
hH=function(a,b){var c=Object.keys(a).join("");gH("info_"+c+"_"+b)||(a.clientActionNonce=b,g.bH("latencyActionInfo",a))};
gH=function(a){iH[a]=iH[a]||{count:0};var b=iH[a];b.count++;b.time=(0,g.VG)();jH||(jH=g.dH(Bja,0,5E3));if(10<b.count){if(11==b.count){b=Error("CSI data exceeded logging limit with key: "+a);var c=void 0,d=void 0;c=void 0===c?"ERROR":c;d=void 0===d?!1:d;a={};a.name=g.lE("INNERTUBE_CONTEXT_CLIENT_NAME",1);a.version=g.lE("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);c=void 0===c?"ERROR":c;d=window&&window.yterr||(void 0===d?!1:d)||!1;if(b&&d&&!(5<=kH.value)){d=b.stacktrace;var e=b.columnNumber;var f=g.x("window.location.href");
if(g.u(b))b={message:b,name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var k=!1;try{var l=b.lineNumber||b.line||"Not available"}catch(r){l="Not available",k=!0}try{var m=b.fileName||b.filename||b.sourceURL||g.v.$googDebugFname||f}catch(r){m="Not available",k=!0}b=!k&&b.lineNumber&&b.fileName&&b.stack&&b.message&&b.name?b:{message:b.message||"Not available",name:b.name||"UnknownError",lineNumber:l,fileName:m,stack:b.stack||"Not available"}}d=d||b.stack;l=b.lineNumber.toString();
(0,window.isNaN)(l)||(0,window.isNaN)(e)||(l=l+":"+e);if(!(lH[b.message]||0<=d.indexOf("/YouTubeCenter.js")||0<=d.indexOf("/mytube.js"))){m=b.fileName;l={Zc:{a:"logerror",t:"jserror",type:b.name,msg:b.message.substr(0,1E3),line:l,level:c,"client.name":a.name},Nb:{url:g.lE("PAGE_NAME",window.location.href),file:m},method:"POST"};a.version&&(l["client.version"]=a.version);d&&(l.Nb.stack=d);for(var n in a)l.Nb["client."+n]=a[n];if(n=g.lE("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var q in n)l.Nb[q]=
n[q];g.iF("/error_204",l);lH[b.message]=!0;kH.value++}}}return!0}return!1};
Bja=function(){var a=(0,g.VG)(),b;for(b in iH)6E4<a-iH[b].time&&delete iH[b];jH=0};
g.oH=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.G)()+1E3*d:0;if((d=d?g.mH:nH)&&window.JSON){g.u(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.pH=function(a){if(!nH&&!g.mH||!window.JSON)return null;try{var b=nH.get(a)}catch(c){}if(!g.u(b))try{b=g.mH.get(a)}catch(c){}if(!g.u(b))return null;try{b=JSON.parse(b,void 0)}catch(c){}return b};
g.qH=function(a){try{nH&&nH.remove(a),g.mH&&g.mH.remove(a)}catch(b){}};
g.rH=function(){var a=g.lE("client-screen-nonce",void 0);a||(a=g.lE("EVENT_ID",void 0));return a};
Cja=function(a,b){this.action=a;this.params=b||{}};
sH=function(a){this.app=this.name=this.id="";this.type="REMOTE_CONTROL";this.obfuscatedGaiaId=this.avatar=this.username="";this.A=!1;this.capabilities=new window.Set;this.experiments=new window.Set;this.theme="u";new Ol;this.g=this.o="";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.obfuscatedGaiaId=a.obfuscatedGaiaId||"",this.theme=a.theme||"u",Dja(this,a.capabilities||""),Eja(this,a.experiments||
""),this.o=a.remoteControllerUrl||"",this.g=a.localChannelEncryptionKey||"")};
Dja=function(a,b){a.capabilities.clear();(0,g.Ld)(b.split(","),g.Ga(uaa,Fja)).forEach(function(b){a.capabilities.add(b)})};
Eja=function(a,b){a.experiments.clear();b.split(",").forEach(function(b){a.experiments.add(b)})};
uH=function(a,b){g.K.call(this);this.o=new g.Ft(this.B,0,this);g.L(this,this.o);this.A=this.g=0;if(g.za(a))b&&(a=(0,g.A)(a,b));else if(a&&g.za(a.handleEvent))a=(0,g.A)(a.handleEvent,a);else throw Error("Invalid listener argument");this.C=a;tH(this)};
tH=function(a){a.o.stop();a.g=5E3+2E4*Math.random()};
vH=function(a,b,c){this.L=a;this.D=b;this.A=new g.xD;this.o=new uH(this.zU,this);this.g=this.fb=null;this.J=!1;this.C=null;this.I="";this.G=this.B=0;this.F=[];this.N=c||!1};
Gja=function(a){return{firstTestResults:[""],secondTestResults:!a.g.up,sessionId:a.g.A,arrayId:a.g.Aj}};
wH=function(a,b){a.G=b||0;a.o.stop();a.g&&(3==a.g.g&&oD(a.g),hD(a.g));a.G=0};
xH=function(a){return!!a.g&&3==a.g.g};
Hja=function(a,b){(a.D.loungeIdToken=b)||a.o.stop()};
Ija=function(){var a=yH;zH();AH.push(a);BH(AH)};
g.CH=function(a,b){zH();var c=AH,d=Jja(a,String(b));g.nb(c)?Kja(d):(BH(c),(0,g.H)(c,function(a){a(d)}))};
zH=function(){AH||(AH=g.x("yt.mdx.remote.debug.handlers_")||[],g.ua("yt.mdx.remote.debug.handlers_",AH,void 0))};
Kja=function(a){var b=(DH+1)%50;DH=b;EH[b]=a;FH||(FH=49==b)};
BH=function(a){var b=EH;if(b[0]){var c=DH,d=FH?c:-1;do{d=(d+1)%50;var e=b[d];(0,g.H)(a,function(a){a(e)})}while(d!=c);
EH=Array(50);DH=-1;FH=!1}};
Jja=function(a,b){var c=((0,g.G)()-Lja)/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("")};
GH=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.HH=function(a,b){return!!b&&(a.id==b||a.uuid==b)};
IH=function(a){return{name:a.name,screenId:a.id,loungeToken:a.token,dialId:a.uuid}};
Mja=function(a){return new GH(a)};
JH=function(a){return g.xa(a)?(0,g.J)(a,Mja):[]};
g.KH=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"};
LH=function(a){return g.xa(a)?"["+g.J(a,g.KH).join(",")+"]":"null"};
g.MH=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.NH=function(a,b){return g.gb(a,function(a){return a||b?!a!=!b?!1:a.id==b.id:!0})};
g.OH=function(a,b){return g.gb(a,function(a){return g.HH(a,b)})};
g.PH=function(a){g.tG.call(this);this.F=a;this.g=[]};
QH=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};
Nja=function(a,b){var c=a.g.length!=b.length;a.g=(0,g.Ld)(a.g,function(a){return!!g.NH(b,a)});
for(var d=0,e=b.length;d<e;d++)c=QH(a,b[d])||c;return c};
Oja=function(a,b){var c=a.g.length;a.g=(0,g.Ld)(a.g,function(a){return!(a||b?!a!=!b?0:a.id==b.id:1)});
return a.g.length<c};
RH=function(a,b,c,d){g.tG.call(this);this.F=a;this.D=b;this.B=c;this.C=d;this.A=0;this.g=null;this.o=window.NaN};
TH=function(a,b,c){SH.set(""+a,b,c,"/","youtube.com",!1)};
g.XH=function(){var a=UH(),b=g.VH();g.lb(a,b);g.WH()&&Hb(a,b);a=Pja(a);if(g.nb(a))try{SH.remove("remote_sid","/","youtube.com")}catch(c){}else try{TH("remote_sid",a.join(","),-1)}catch(c){}};
UH=function(){var a=g.pH("yt-remote-connected-devices")||[];g.Eb(a);return a};
Pja=function(a){if(g.nb(a))return[];var b=a[0].indexOf("#"),c=-1==b?a[0]:a[0].substring(0,b);return(0,g.J)(a,function(a,b){return 0==b?a:a.substring(c.length)})};
YH=function(a){g.oH("yt-remote-connected-devices",a,86400)};
g.VH=function(){if(ZH)return ZH;var a=g.pH("yt-remote-device-id");a||(a=g.MH(),g.oH("yt-remote-device-id",a,31536E3));for(var b=UH(),c=1,d=a;g.lb(b,d);)c++,d=a+"#"+c;return ZH=d};
$H=function(){return g.pH("yt-remote-session-browser-channel")};
g.WH=function(){return g.pH("yt-remote-session-screen-id")};
Qja=function(a){5<a.length&&(a=a.slice(a.length-5));var b=(0,g.J)(aI(),function(a){return a.loungeToken}),c=(0,g.J)(a,function(a){return a.loungeToken});
(0,g.Lr)(c,function(a){return!g.lb(b,a)})&&bI();
g.oH("yt-remote-local-screens",a,31536E3)};
aI=function(){return g.pH("yt-remote-local-screens")||[]};
bI=function(){g.oH("yt-remote-lounge-token-expiration",!0,86400)};
Rja=function(a,b){g.oH("yt-remote-session-browser-channel",a);g.oH("yt-remote-session-screen-id",b);var c=UH(),d=g.VH();g.lb(c,d)||c.push(d);YH(c);g.XH()};
g.cI=function(a){a||(g.qH("yt-remote-session-screen-id"),g.qH("yt-remote-session-video-id"));g.XH();a=UH();g.sb(a,g.VH());YH(a)};
g.eI=function(){if(!dI){var a=g.RD();a&&(dI=new g.yD(a))}return dI?!!dI.get("yt-remote-use-staging-server"):!1};
gI=function(a){g.PH.call(this,"LocalScreenService");this.A=a;this.o=window.NaN;fI(this);this.info("Initializing with "+LH(this.g))};
hI=function(a){if(a.g.length){var b=(0,g.J)(a.g,function(a){return a.id}),c=a.A.ji("/pairing/get_lounge_token_batch");
a.A.Ku(c,{screen_ids:b.join(",")},(0,g.A)(a.MI,a),(0,g.A)(a.LI,a))}};
fI=function(a){var b=JH(aI());b=(0,g.Ld)(b,function(a){return!a.uuid});
return Nja(a,b)};
iI=function(a,b){Qja((0,g.J)(a.g,IH));b&&bI()};
kI=function(a,b){g.tG.call(this);this.D=b;var c=g.pH("yt-remote-online-screen-ids")||"";c=c?c.split(","):[];for(var d={},e=this.D(),f=0,k=e.length;f<k;++f){var l=e[f].id;d[l]=g.lb(c,l)}this.g=d;this.C=a;this.A=this.B=window.NaN;this.o=null;jI("Initialized with "+g.Ag(this.g))};
lI=function(a,b,c){var d=a.C.ji("/pairing/get_screen_availability");a.C.Ku(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))};
mI=function(a,b){a:if(g.Rb(b)!=g.Rb(a.g))var c=!1;else{c=g.Ub(b);for(var d=0,e=c.length;d<e;++d)if(!a.g[c[d]]){c=!1;break a}c=!0}c||(jI("Updated online screens: "+g.Ag(a.g)),a.g=b,a.X("screenChange"));Sja(a)};
nI=function(a){(0,window.isNaN)(a.A)||g.TE(a.A);a.A=g.VE((0,g.A)(a.Rt,a),0<a.B&&a.B<(0,g.G)()?2E4:1E4)};
jI=function(a){g.CH("OnlineScreenService",a)};
oI=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};
Sja=function(a){a=g.Ub(g.Pb(a.g,function(a){return a}));
g.Eb(a);a.length?g.oH("yt-remote-online-screen-ids",a.join(","),60):g.qH("yt-remote-online-screen-ids")};
g.pI=function(a){g.PH.call(this,"ScreenService");this.D=a;this.o=this.A=null;this.B=[];this.C={};Tja(this)};
rI=function(a,b,c,d,e,f){a.info("getAutomaticScreenByIds "+c+" / "+b);c||(c=a.C[b]);var k=a.ee();if(k=(c?g.OH(k,c):null)||g.OH(k,b)){k.uuid=b;var l=qI(a,k);lI(a.o,l,function(a){e(a?l:null)})}else c?Uja(a,c,(0,g.A)(function(a){var f=qI(this,new GH({name:d,
screenId:c,loungeToken:a,dialId:b||""}));lI(this.o,f,function(a){e(a?f:null)})},a),f):e(null)};
sI=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};
Uja=function(a,b,c,d){a.info("requestLoungeToken_ for "+b);var e={Nb:{screen_ids:b},method:"POST",context:a,Vb: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.iF(a.D.ji("/pairing/get_lounge_token_batch"),e)};
tI=function(a){a.g=a.A.ee();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: "+LH(a.g))};
Tja=function(a){uI(a);a.A=new gI(a.D);a.A.subscribe("screenChange",(0,g.A)(a.aJ,a));tI(a);a.B=JH(g.pH("yt-remote-automatic-screen-cache")||[]);uI(a);a.info("Initializing automatic screens: "+LH(a.B));a.o=new kI(a.D,(0,g.A)(a.ee,a,!0));a.o.subscribe("screenChange",(0,g.A)(function(){this.X("onlineScreenChange")},a))};
qI=function(a,b){var c=a.get(b.id);c?(c.uuid=b.uuid,b=c):((c=g.OH(a.B,b.uuid))?(c.id=b.id,c.token=b.token,b=c):a.B.push(b),g.oH("yt-remote-automatic-screen-cache",(0,g.J)(a.B,IH)));uI(a);a.C[b.uuid]=b.id;g.oH("yt-remote-device-id-map",a.C,31536E3);return b};
uI=function(a){a.C=g.pH("yt-remote-device-id-map")||{}};
vI=function(a,b,c){g.tG.call(this);this.N=c;this.I=a;this.o=b;this.A=null};
wI=function(a,b){g.CH(a.N,b)};
yI=function(a,b){vI.call(this,a,b,"CastSession");this.g=null;this.B=0;this.D=(0,g.A)(this.IU,this);this.C=(0,g.A)(this.MS,this);this.B=g.VE((0,g.A)(function(){xI(this,null)},this),12E4)};
Vja=function(a){a.info("sendYoutubeMessage_: getMdxSessionStatus "+g.Ag(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(){wI(this,"Failed to send message: getMdxSessionStatus.")},a)):wI(a,"Sending yt message without session: "+g.Ag(b))};
xI=function(a,b){g.TE(a.B);if(b){if(a.info("onConnectedScreenId_: Received screenId: "+b),!a.A||a.A.id!=b){var c=(0,g.A)(a.Fo,a),d=(0,g.A)(a.ke,a);a.Ux(b,c,d,5)}}else a.ke(Error("Waiting for session status timed out."))};
zI=function(a,b){vI.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.LU,this);this.g=g.y};
AI=function(a){a.g=a.I.GD(a.J,a.o.label,a.o.friendlyName,(0,g.A)(function(a){this.g=g.y;this.Fo(a)},a),(0,g.A)(function(a){this.g=g.y;
this.ke(a)},a))};
BI=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.eI()&&(b.env_useStageMdx=1);return g.Og(b)};
CI=function(a,b){vI.call(this,a,b,"ManualSession");this.g=g.VE((0,g.A)(this.Bj,this,null),150)};
g.DI=function(a,b,c){g.tG.call(this);this.o=a;this.D=b||"233637DE";this.F=c||!1;this.g=null;this.C=!1;this.A=[];this.B=(0,g.A)(this.sR,this)};
EI=function(a,b){return b?g.gb(a.A,function(a){return g.HH(b,a.label)},a):null};
FI=function(a){g.CH("Controller",a)};
yH=function(a){window.chrome&&window.chrome.cast&&window.chrome.cast.logMessage&&window.chrome.cast.logMessage(a)};
GI=function(a){return a.C||!!a.A.length||!!a.g};
HI=function(a,b,c){b!=a.g&&(g.af(a.g),(a.g=b)?(c?a.X("yt-remote-cast2-receiver-resumed",b.o):a.X("yt-remote-cast2-receiver-selected",b.o),b.subscribe("sessionScreen",(0,g.A)(a.GB,a,b)),b.A?a.X("yt-remote-cast2-session-change",b.A):c&&a.g.Bj(null)):a.X("yt-remote-cast2-session-change",null))};
II=function(a){var b=a.o.FD(),c=a.g&&a.g.o;a=(0,g.J)(b,function(a){c&&g.HH(a,c.label)&&(c=null);var b=a.uuid?a.uuid:a.id,d=EI(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.JI=function(a){this.index=-1;this.videoId=this.listId="";this.volume=this.g=-1;this.muted=!1;this.audioTrackId=null;this.A=this.G=0;this.o=null;this.hasNext=this.Pf=!1;this.J=this.I=this.B=this.D=0;this.C=window.NaN;this.F=!1;this.reset(a)};
g.KI=function(a){a.audioTrackId=null;a.o=null;a.g=-1;a.Pf=!1;a.hasNext=!1;a.G=0;a.A=(0,g.G)();a.D=0;a.B=0;a.I=0;a.J=0;a.C=window.NaN;a.F=!1};
g.LI=function(a,b){a.G=b;a.A=(0,g.G)()};
g.MI=function(a){switch(a.g){case 1:return((0,g.G)()-a.A)/1E3+a.G;case -1E3:return 0}return a.G};
g.NI=function(a,b,c){var d=a.videoId;a.videoId=b;a.index=c;b!=d&&g.KI(a)};
g.OI=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=ec(a.o);b.hasPrevious=a.Pf;b.hasNext=a.hasNext;b.playerTime=a.G;b.playerTimeAt=a.A;b.seekableStart=a.D;b.seekableEnd=a.B;b.duration=a.I;b.loadedTime=a.J;b.liveIngestionTime=a.C;return b};
PI=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
g.QI=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.RI=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.ya=a.id;this.N=a.is_servable;this.G=a.is_translateable;this.I=a.url||null;this.F=a.vss_id||"";this.g=null;a.translationLanguage&&(this.g=new g.QI(a.translationLanguage))};
g.SI=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("")};
TI=function(a,b){this.id=a;this.Sc=b;this.captionTracks=[];this.Ik=this.Kq=this.g=null;this.yw="UNKNOWN"};
g.UI=function(a,b,c){g.tG.call(this);this.C=window.NaN;this.O=!1;this.J=this.I=this.L=this.N=window.NaN;this.V=[];this.B=this.F=this.A=this.jb=this.g=null;this.ra=a;this.V.push(g.eG(window,"beforeunload",(0,g.A)(this.EI,this)));this.o=[];this.jb=new g.JI;this.ba=b.id;this.g=Wja(this,c);this.g.subscribe("handlerOpened",this.gP,this);this.g.subscribe("handlerClosed",this.dP,this);this.g.subscribe("handlerError",this.eP,this);this.g.subscribe("handlerMessage",this.fP,this);Hja(this.g,b.token);this.subscribe("remoteQueueChange",
function(){var a=this.jb.videoId;g.WH()&&g.oH("yt-remote-session-video-id",a)},this)};
VI=function(a){g.CH("conn",a)};
Wja=function(a,b){return new vH(a.ra.ji("/bc"),b)};
WI=function(a,b){a.X("proxyStateChange",b)};
Xja=function(a){a.C=g.VE((0,g.A)(function(){VI("Connecting timeout");this.D(1)},a),2E4)};
XI=function(a){g.TE(a.C);a.C=window.NaN};
YI=function(a){g.TE(a.N);a.N=window.NaN};
Yja=function(a){ZI(a);a.L=g.VE((0,g.A)(function(){$I(this,"getNowPlaying")},a),2E4)};
ZI=function(a){g.TE(a.L);a.L=window.NaN};
bJ=function(a,b){b&&(XI(a),YI(a));b==(xH(a.g)&&(0,window.isNaN)(a.C))?b&&(WI(a,1),$I(a,"getSubtitlesTrack")):b?(a.Y()&&a.jb.reset(),WI(a,1),$I(a,"getNowPlaying"),aJ(a)):a.D(1)};
Zja=function(a,b){var c=b.params.videoId;delete b.params.videoId;c==a.jb.videoId&&(g.$b(b.params)?a.jb.o=null:a.jb.o=b.params,a.X("remotePlayerChange"))};
cJ=function(a,b){var c=b.params.videoId||b.params.video_id,d=(0,window.parseInt)(b.params.currentIndex,10);a.jb.listId=b.params.listId||a.jb.listId;g.NI(a.jb,c,d);a.X("remoteQueueChange")};
$ja=function(a,b){b.params=b.params||{};cJ(a,b);dJ(a,b);a.X("autoplayDismissed")};
dJ=function(a,b){var c=(0,window.parseInt)(b.params.currentTime||b.params.current_time,10);g.LI(a.jb,(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.jb.g&&(c=-1E3);a.jb.g=c;c=Number(b.params.loadedTime);a.jb.J=(0,window.isNaN)(c)?0:c;c=Number(b.params.duration);a.jb.I=(0,window.isNaN)(c)?0:c;c=a.jb;var d=Number(b.params.liveIngestionTime);c.C=d;c.F=(0,window.isNaN)(d)?!1:!0;c=a.jb;d=Number(b.params.seekableStartTime);var e=Number(b.params.seekableEndTime);
c.D=(0,window.isNaN)(d)?0:d;c.B=(0,window.isNaN)(e)?0:e;1==a.jb.g?Yja(a):ZI(a);a.X("remotePlayerChange")};
aka=function(a,b){if(-1E3!=a.jb.g){var c=1083;switch((0,window.parseInt)(b.params.adState,10)){case 1:c=1081;break;case 2:c=1082}a.jb.g=c;a.X("remotePlayerChange")}};
bka=function(a,b){var c="true"==b.params.muted;a.jb.volume=(0,window.parseInt)(b.params.volume,10);a.jb.muted=c;a.X("remotePlayerChange")};
cka=function(a,b){a.F=b.params.videoId;a.X("nowAutoplaying",(0,window.parseInt)(b.params.timeout,10))};
dka=function(a,b){var c="true"==b.params.hasNext;a.jb.Pf="true"==b.params.hasPrevious;a.jb.hasNext=c;a.X("previousNextChange")};
aJ=function(a){g.TE(a.J);a.J=g.VE((0,g.A)(a.D,a,1),864E5)};
$I=function(a,b,c){c?VI("Sending: action="+b+", params="+g.Ag(c)):VI("Sending: action="+b);a.g.sendMessage(b,c)};
eJ=function(a,b){this.g=a||0;this.spatialAudioType=b||0};
hJ=function(a,b,c,d,e,f,k,l,m,n,q){this.width=a;this.height=b;this.quality=f||fJ(a,b);this.o=g.gJ[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=l)||(a=this.fps,b=this.projectionType,c=g.gJ[this.quality],a=0==c?g.U("YTP_AUTO"):c+(2==b||3==b||4==b?"s":"p")+(55<a?"60":49<a?"50":39<a?"48":""));this.qualityLabel=a;this.g=m||"";this.primaries=n||"";this.A=!1!==q};
iJ=function(a){return"smpte2084"==a.g||"arib-std-b67"==a.g};
fJ=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=jJ[0],f=0;f<jJ.length;f++){var k=jJ[f],l=g.gJ[k];if(c>=Math.floor(16*l/9)*hJ.prototype.B||d>=l*hJ.prototype.B)return e;e=k}return"tiny"};
lJ=function(a,b,c,d,e,f,k,l){this.id=a;this.containerType=0<=b.indexOf("/mp4")?1:0<=b.indexOf("/webm")?2:0<=b.indexOf("/x-flv")?3:0<=b.indexOf("/vtt")?4:0;this.mimeType=b;this.g=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Sc=void 0===e?null:e;this.bd=void 0===f?null:f;this.o=eka[kJ(this)]||""};
kJ=function(a){return a.id.split(";",1)[0]};
mJ=function(a){return"9"==a.o||"("==a.o||"9h"==a.o||"(h"==a.o};
nJ=function(a){return"9h"==a.o||"(h"==a.o};
oJ=function(a){return!(a.audio&&a.video)};
pJ=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")};
qJ=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")};
rJ=function(a,b,c,d,e,f,k){var l=new eJ;b in g.gJ||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.gJ[b],d=Math.round(16*e/9));b=new hJ(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 lJ(c,a,l,b)};
sJ=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.WE(b||"");var c={};(0,g.H)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.B=!!c["9414740"]};
tJ=function(a,b){this.g=a;this.o=!!b;this.A=!1};
uJ=function(a){this.Ce=a};
vJ=function(a,b,c){this.o=a||0;this.g=b||0;this.A=c};
wJ=function(a,b){return a.o==b.o&&a.g==b.g&&a.A==b.A};
xJ=function(a,b,c){return new vJ(g.gJ[a]||0,g.gJ[b]||0,c)};
yJ=function(a){var b=g.gJ.auto;return a.o==b&&a.g==b};
AJ=function(a,b){if(b.A&&yJ(b))return zJ;if(b.A||yJ(a))return b;if(a.A||yJ(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 vJ(c,d,!1)};
g.BJ=function(a){var b=a.g||a.o;return Zb(fka,function(a){return g.gJ[a]==b})||"auto"};
CJ=function(a,b){var c=g.gJ[b];return a.o<=c&&(!a.g||a.g>=c)};
gka=function(){var a=g.pH("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.$c(Math.floor(b),0,100),muted:!!a.muted}};
DJ=function(a){g.oH("yt-player-bandwidth",a,2592E3)};
EJ=function(){return g.pH("yt-player-quality")||"auto"};
FJ=function(a){g.oH("yt-player-watch-later-pending",a)};
GJ=function(){return g.pH("yt-player-performance-cap")||0};
HJ=function(a,b,c){if(g.Aa(a)){b="endSeconds startSeconds mediaContentUrl suggestedQuality videoId two_stage_token".split(" ");c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}};
IJ=function(a,b,c){g.u(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return HJ(a)};
KJ=function(a,b){g.K.call(this);this.app=a;this.g=!0;this.o=null;this.B={};this.C={};this.F={};this.D={};this.A=null;this.G=new window.Set;this.playerType=b;V(this,"cueVideoById",this.Gz);V(this,"loadVideoById",this.BL);V(this,"cueVideoByUrl",this.qL);V(this,"loadVideoByUrl",this.CL);V(this,"playVideo",this.Sd);V(this,"pauseVideo",this.qd);V(this,"stopVideo",this.Yf);V(this,"clearVideo",this.oL);V(this,"getVideoBytesLoaded",this.vL);V(this,"getVideoBytesTotal",this.wL);V(this,"getVideoLoadedFraction",
this.Ls);V(this,"getVideoStartBytes",this.xL);V(this,"cuePlaylist",this.pL);V(this,"loadPlaylist",this.AL);V(this,"nextVideo",this.Ej);V(this,"previousVideo",this.rl);V(this,"playVideoAt",this.Kz);V(this,"setShuffle",this.setShuffle);V(this,"setLoop",this.FL);V(this,"getPlaylist",this.Wf);V(this,"getPlaylistIndex",this.Iz);V(this,"getPlaylistId",this.getPlaylistId);V(this,"loadModule",this.ql);V(this,"unloadModule",this.ro);V(this,"setOption",this.Ed);V(this,"getOption",this.yc);V(this,"getOptions",
this.xi);V(this,"mute",this.mute);V(this,"unMute",this.Zf);V(this,"isMuted",this.Ke);V(this,"setVolume",this.setVolume);V(this,"getVolume",this.getVolume);V(this,"seekTo",this.uc);V(this,"getPlayerState",this.pl);V(this,"getPlaybackRate",this.Uc);V(this,"setPlaybackRate",this.Xf);V(this,"getAvailablePlaybackRates",this.Dj);V(this,"getPlaybackQuality",this.ol);V(this,"setPlaybackQuality",this.sl);V(this,"getAvailableQualityLevels",this.Ks);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.nl);V(this,"getVideoEmbedCode",this.Jz);V(this,"getVideoData",this.fa);V(this,"addCueRange",this.Fz);V(this,"removeCueRange",this.Lz);V(this,"setSize",this.setSize);V(this,"getApiInterface",this.rL);V(this,"destroy",this.destroy);V(this,"showVideoInfo",this.Nz);V(this,"hideVideoInfo",this.yL);V(this,"getMediaReferenceTime",
this.tL);JJ(this,"getInternalApiInterface",this.sL);JJ(this,"getAdState",this.Hz);JJ(this,"isNotServable",this.zL);JJ(this,"getUpdatedConfigurationData",this.uL);JJ(this,"sendAbandonmentPing",this.DL);JJ(this,"setAutonav",this.Mz);JJ(this,"setAutonavState",this.Ms);JJ(this,"startInteractionLogging",this.GL);JJ(this,"channelSubscribed",this.mL);JJ(this,"channelUnsubscribed",this.nL)};
V=function(a,b,c){a.B[b]=(0,g.A)(function(){LJ(this,b);return c.apply(this,arguments)},a)};
JJ=function(a,b,c){a.C[b]=(0,g.A)(function(){LJ(this,b);return c.apply(this,arguments)},a)};
MJ=function(a){a.A||(a.A=g.dc(a.B),a.A.addEventListener=(0,g.A)(a.jI,a),a.A.removeEventListener=(0,g.A)(a.kI,a));return a.A};
LJ=function(a,b){var c=a.app.g;c.tm&&!a.G.has(b)&&(a.G.add(b),c={callerUrl:c.ba,methodName:b},a.app.g.experiments.g("web_player_gel_logging_killswitch")||(a.app.g.experiments.g("web_player_gel_direct")?g.bH("webPlayerApiCalled",c,void 0,void 0):a.za("onLogToGel",{payload_name:"webPlayerApiCalled",payload:c})))};
OJ=function(a,b,c){b=g.$c(Math.floor(b),0,100);(0,window.isFinite)(b)&&NJ(a.app,{volume:b,muted:a.Ke()},c)};
PJ=function(a,b){NJ(a.app,{muted:!0,volume:a.getVolume()},b)};
QJ=function(a,b){NJ(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
RJ=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[VF+"VisibilityState"])return"";a=VF+"visibilitychange"}return a};
SJ=function(){var a=WF("visibilityState",window.document);return!(!a||"visible"==a)};
hka=function(a){var b=RJ();b&&window.document.addEventListener(b,a,!1)};
TJ=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.va=a;this.sourceURL=e;this.startTime=b;this.o=k||0;this.range=f||null;this.g=l||!1};
g.UJ=function(){this.segments=[]};
VJ=function(a,b){if(b>a.Dc())a.segments=[];else{var c=g.fb(a.segments,function(a){return a.va>=b},a);
0<c&&a.segments.splice(0,c)}};
WJ=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};
XJ=function(a){var b=a.data.getInt32(a.offset+a.o);a.o+=4;return b};
YJ=function(a){var b=a.data.getUint32(a.offset+a.o);a.o+=4;return b};
ika=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};
ZJ=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.o);b.push(c);a.o++}while(0!=c);b.pop()};
$J=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0};
aK=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
bK=function(a,b){for(var c=0;c+4<=b.size;)aK(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
cK=function(a,b,c){for(var d=8,e=g.ma(c),f=e.next();!f.done;f=e.next())d+=f.value.size;aK(a,d);aK(a,b);b=g.ma(c);for(f=b.next();!f.done;f=b.next())bK(a,f.value)};
dK=function(a,b,c){this.Qe=a;this.durationSecs=b;this.context=c};
eK=function(a,b){this.g=a;this.B=void 0===b?null:b;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.C=(((0,window.parseInt)(this.g["First-Frame-Time-Us"],10)||0)+((0,window.parseInt)(this.g["First-Frame-Uncertainty-Us"],10)||0))/1E6;this.G=((0,window.parseInt)(this.g["Target-Duration-Us"],10)||0)/1E6;this.F="T"==this.g["Overlayed-With-Slate"];this.A="T"==this.g["Stream-Finished"];this.D="T"==this.g.Streamable};
fK=function(a,b,c){this.g=a||0;this.yaw=b||0;this.o=c;c.getUint32(4)};
gK=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};
iK=function(a,b){var c=hK(a.data,a.g,1952868452),d=hK(a.data,a.g,1953658222),e=XJ(c);XJ(c);e&2&&XJ(c);c=e&8?XJ(c):0;var f=XJ(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var q=YJ(d);k&&XJ(d);e&&XJ(d);for(var r=k=0;r<q;r++){var w=l?XJ(d):c;m&&XJ(d);e&&0==r||!n||XJ(d);f&&XJ(d);k+=w}return k/b};
lK=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=jK(a,1836476516))?kK(a):window.NaN};
hK=function(a,b,c){for(;mK(a,b);){var d=nK(a,b);if(d.type==c)return d;b+=d.size}return null};
jK=function(a,b){for(var c=0;mK(a,c);){var d=nK(a,c);if(d.type==b)return d;c=oK(d.type)?c+8:c+d.size}return null};
pK=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)};
qK=function(a){if(a.data.getUint8(a.g)){var b=a.data;a=a.g+4;return 4294967296*b.getUint32(a)+b.getUint32(a+4)}return a.data.getUint32(a.g+4)};
nK=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new WJ(a,b,c,d)};
kK=function(a){var b=a.data.getUint8(a.g)?20:12;return a.data.getUint32(a.g+b)};
rK=function(a){return a.data.getUint32(a.g+8)};
sK=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))};
mK=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};
oK=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
tK=function(a,b){for(var c=[],d=b.g,e=b.offset+b.size;d<e&&mK(a,d);){var f=nK(a,d);c.push(f);d+=f.size}return c};
jka=function(a){var b=jK(a,1937011556);if(!b)return null;b=hK(a,b.g+8,1635148593);if(!b)return null;var c=hK(a,b.g+78,1936995172),d=hK(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){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}c=null;if(d=hK(a,d.g,1886547818)){var e=hK(a,d.g,1886546020),f=hK(a,d.g,2037673328);if(!f&&(f=hK(a,d.g,1836279920),!f))return null;e&&(XJ(e),c=XJ(e)/65536,XJ(e));a=new window.DataView(f.data.buffer,
f.g,f.size-8);return new fK(b,c,a)}return null};
uK=function(a){return(a=hK(a,0,1836019558))?a.offset+a.size:null};
vK=function(a,b){for(var c=hK(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=hK(a,c.offset+c.size,b)}};
kka=function(a,b,c,d){d=void 0===d?!1:d;var e=hK(a,0,1836019558);if(!e)return null;var f=hK(a,e.g,1835427940),k=hK(a,e.g,1953653094),l=hK(a,e.g,1886614376);if(!f||!k)return null;var m=hK(a,k.g,1952868452),n=hK(a,k.g,1953658222),q=hK(a,k.g,1952867444);if(!m||!n||!q)return null;var r=hK(a,k.g,1935763823),w=hK(a,k.g,1935763834);if(r){var z=XJ(r);var B=XJ(r);if(0!=z||1!=B)return null;z=XJ(r)}B=hK(a,k.g,1935828848);k=hK(a,k.g,1936158820);var C=XJ(m),N=XJ(m),da=C&2,Ea=C&1?ika(m):0,Ba=da?XJ(m):0,Ca=C&8?
XJ(m):0,Me=C&16?XJ(m):0,Za=C&32?XJ(m):0;C=XJ(n);var Qc=C&1,Md=C&4,hg=C&256;m=C&512;var Mb=C&1024,ob=C&2048;C=XJ(n);var Vb=Qc?XJ(n):0,ei=Md?XJ(n):0;Qc=[];for(var Xg=[],ac=[],qj=[],rj=0,nd=0,sj=0;sj<C;sj++){var Vk=hg?XJ(n):Ca;m&&Qc.push(XJ(n));var Ne=Za;Md&&0==sj?Ne=ei:Mb&&(Ne=XJ(n));Xg.push(Ne);Ne=ob?XJ(n):0;0==sj&&(rj=Ne);ac.push(nd+Ne);qj.push(sj);nd+=Vk}1<=Math.abs(nd-b)&&c({flaw:"segDurMismatch",dts:nd.toFixed(),seg:b.toFixed()});g.Eb(qj,function(a,b){return ac[a]-ac[b]});
c=[];for(nd=0;nd<C;nd++)c[qj[nd]]=nd;nd=da?4:0;Za=16*C;Md=68+nd+q.size+Za+(r?r.size:0)+(w?w.size:0)+(B?B.size:0)+(k?k.size:0)+(l?l.size:0);n=Md-e.size;Ca=new $J(Md+(d?0:e.offset));!d&&e.offset&&Ca.hn(a,0,e.offset);aK(Ca,Md);aK(Ca,1836019558);bK(Ca,f);aK(Ca,Md-24-(l?l.size:0));aK(Ca,1953653094);aK(Ca,16+nd);aK(Ca,1952868452);aK(Ca,131072|(da?2:0));aK(Ca,N);da&&aK(Ca,Ba);bK(Ca,q);aK(Ca,20+Za);aK(Ca,1953658222);aK(Ca,16781057);aK(Ca,C);aK(Ca,Ea+Vb+n);for(a=nd=0;a<C;a++)e=c[a],d=Math.round(b*e/C),e=Math.round(b*
(e+1)/C)-d,d=d-nd+rj,aK(Ca,e),aK(Ca,m?Qc[a]:Me),aK(Ca,Xg[a]),aK(Ca,d),nd+=e;r&&(aK(Ca,r.size),aK(Ca,1935763823),aK(Ca,0),aK(Ca,1),aK(Ca,z+n));w&&bK(Ca,w);B&&bK(Ca,B);k&&bK(Ca,k);l&&bK(Ca,l);return Ca.data.buffer};
g.wK=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
xK=function(a){a=a.split("-");return 2==a.length&&(a=new g.wK((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};
yK=function(a,b){return new g.wK(a,a+b-1)};
AK=function(a,b,c,d,e,f,k,l,m){this.ma=b;this.range=c;this.type=a;this.va=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.Ua=k||0;this.gb=0<=l?l:this.range?this.range.length:window.NaN;this.B=!!m;this.range?(this.g=this.Ua+this.gb==this.range.length,this.A=this.startTime+this.duration*this.Ua/this.range.length,this.C=this.duration*this.gb/this.range.length,this.o=this.A+this.C):(this.g=0!=this.gb,zK(this))};
zK=function(a){a.A=a.startTime;a.C=a.duration;a.o=a.A+a.C};
lka=function(a,b,c){var d=!(!b||b.ma!=a.ma||b.type!=a.type||b.va!=a.va);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.Ua+b.gb==a.Ua+a.gb:d};
BK=function(a){return 1==a.type||2==a.type};
CK=function(a,b,c){return c||a.ma==b.ma?a.range&&b.range?a.range.start+a.Ua+a.gb==b.range.start+b.Ua:a.va==b.va?a.Ua+a.gb==b.Ua:a.va+1==b.va&&0==b.Ua&&a.g:!1};
DK=function(a,b){return CK(a,b)||1E-6>=Math.abs(a.o-b.A)||a.va+1==b.va&&0==b.Ua&&a.g?!0:!1};
mka=function(a){1==a.length||(0,g.Lr)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.wK(a[0].range.start+a[0].Ua,b.range.start+b.Ua+b.gb-1)};
FK=function(a){var b="";g.Ob(EK(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
EK=function(a){var b={};b.itag=kJ(a.ma.info);b.seg=a.va;a.range&&(b.range=""+(a.range.start+a.Ua)+"-"+(a.range.start+a.Ua+a.gb-1));b.time=""+a.A.toFixed(1)+"-"+(a.A+a.C).toFixed(1);b.off=a.Ua;return b};
GK=function(a,b,c,d){a=new AK(a.type,a.ma,a.range,a.va,a.startTime,a.duration,b,c,d&&a.B);a.g=d;return a};
HK=function(a,b){a.va=b.va;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,zK(a)};
IK=function(a,b){this.o=a;this.g=0;this.A=b||0};
JK=function(a){return a.g>=a.o.byteLength};
OK=function(a,b,c){var d=new IK(c);if(!KK(d,a))return!1;d=LK(d);if(MK(d,b)){for(a=0;b;)b>>>=8,a++;b=d.A+d.g-a;a=NK(d,!0)+a-1;var e;e||(e=Math.ceil(Math.log(a+2)/Math.log(2)/7));var f=1<<8-e;for(d=[];d.length<e-1;)d.unshift(a%256),a=Math.floor(a/256);d.unshift(a|f);c.setUint8(b,236);for(e=0;e<d.length;e++)c.setUint8(b+1+e,d[e]);return!0}return!1};
QK=function(a){PK(new IK(a));OK([408125543,374648427,174,224],30320,a)&&OK([408125543,374648427,174,224],21432,a)};
nka=function(a){var b=new IK(a);PK(b);if(KK(b,[408125543,374648427,174,224]))b=LK(b);else return null;for(var c=a=null;!JK(b);){var d=NK(b,!1);if(21432==d)switch(RK(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=LK(b):SK(b)}if(!c)return null;for(b=null;!JK(c);)switch(NK(c,!1)){case 30321:if(3!=RK(c))return null;break;case 30324:TK(c);break;case 30323:b=TK(c);break;case 30325:TK(c);break;case 30322:var e=NK(c,!0);e=UK(c,e);e=new window.DataView(e.buffer,e.byteOffset,
e.byteLength);break;default:SK(c)}return e?new fK(a,b,e):null};
LK=function(a){var b=NK(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 IK(c,a.A+a.g);a.g+=b;return c};
RK=function(a){for(var b=NK(a,!0),c=VK(a),d=1;d<b;d++)c=256*c+VK(a);return c};
TK=function(a){var b=NK(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};
SK=function(a){var b=NK(a,!0);a.g+=b};
PK=function(a){var b=a.g;a.g=0;var c=!1;MK(a,440786851)&&(a.g=0,MK(a,408125543)&&(c=!0));a.g=b;return c};
WK=function(a){var b=a.g;a.g=0;var c=1E6;KK(a,[408125543,357149030,2807729])&&(c=RK(a));a.g=b;return c};
oka=function(a,b){var c=a.g;a.g=0;if(!XK(a)||!MK(a,160))return a.g=c,window.NaN;NK(a,!0);var d=a.g;if(!MK(a,161))return a.g=c,window.NaN;NK(a,!0);VK(a);var e=VK(a)<<8|VK(a);a.g=d;if(!MK(a,155))return a.g=c,window.NaN;d=RK(a);a.g=c;return(e+d)*b/1E9};
XK=function(a){if(PK(a)){if(!MK(a,408125543))return!1;NK(a,!0)}if(!MK(a,524531317))return!1;NK(a,!0);return!0};
KK=function(a,b){for(var c=0;c<b.length;c++){if(!MK(a,b[c]))return!1;c!=b.length-1&&NK(a,!0)}return!0};
MK=function(a,b){if(JK(a))return!1;for(;NK(a,!1)!=b;)if(SK(a),JK(a))return!1;return!0};
NK=function(a,b){var c=VK(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+VK(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+VK(a),d*=128;return b?c-d:c};
VK=function(a){return a.o.getUint8(a.g++)};
UK=function(a,b){var c=new window.Uint8Array(a.o.buffer,a.o.byteOffset+a.g,b);a.g+=b;return c};
YK=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.o=null;this.A=d;this.je=e};
ZK=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)};
$K=function(a,b){b=Math.min(b,a.info.gb);var c=new AK(a.info.type,a.info.ma,a.info.range,a.info.va,a.info.startTime,a.info.duration,a.info.Ua,b,!1),d=yK(a.range.start,b);c=new YK(c,a.g,d,a.A,a.je);var e=new AK(a.info.type,a.info.ma,a.info.range,a.info.va,a.info.startTime,a.info.duration,a.info.Ua+b,a.info.gb-b,a.info.B);d=new g.wK(d.end+1,a.range.end);d=new YK(e,a.g,d,a.A,!1);return[c,d]};
aL=function(a,b){if(1==a.info.ma.info.containerType){for(var c=a.info.ma.g,d=new window.DataView(a.g),e=window.NaN,f=window.NaN,k=0;mK(d,k);){var l=nK(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=rK(l):1836476516==l.type&&(e=kK(l)));if(1952867444==l.type){!e&&c&&(e=lK(c));var m=qK(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);pK(l,m+f)}k=oK(l.type)?k+8:k+l.size}return!0}c=new IK(new window.DataView(a.g));e=a.je?c:new IK(new window.DataView(a.info.ma.g.buffer));d=b;f=WK(e);e=c.g;c.g=0;if(XK(c)&&
MK(c,231))if(k=NK(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};
bL=function(a){var b;if(1==a.info.ma.info.containerType){for(var c=b=0,d=new window.DataView(a.g);mK(d,b);){var e=nK(d,b);if(1936286840==e.type){var f=rK(e),k=sK(e);c+=k/f}b=oK(e.type)?b+8:b+e.size}b=c||window.NaN;if(!(0<=b))a:{b=a.info.ma.g;c=0;d=new window.DataView(a.g);for(e=0;mK(d,c);){f=nK(d,c);if(1836476516==f.type)var l=kK(f);else if(1836019558==f.type){!l&&b&&(l=lK(b));if(!l){b=window.NaN;break a}k=hK(f.data,f.g,1953653094);e+=iK(k,l)}c=oK(f.type)?c+8:c+f.size}b=e||window.NaN}}else l=new IK(new window.DataView(a.g)),
b=a.je?l:new IK(new window.DataView(a.info.ma.g.buffer)),b=oka(l,WK(b));return b||a.info.C};
cL=function(a){return 1==a.info.ma.info.containerType?a.o?a.o.F&&!!hK(new window.DataView(a.g),0,1718909296):!1:PK(new IK(new window.DataView(a.g)))};
eL=function(a){var b=dL();try{if(b.canPlayType){a=a?pka:qka;for(var c=0;c<a.length;c++)if(b.canPlayType(a[c]))return null}return"fmt.noneavailable"}catch(d){return"html5.missingapi"}};
fL=function(){var a=dL();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
dL=function(){var a=g.x("yt.player.utils.videoElement_");a||(a=g.Cd("VIDEO"),g.ua("yt.player.utils.videoElement_",a,void 0));return a};
gL=function(a){a=g.Ad("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==g.sh(a,"display");g.Jd(a);return b};
hL=function(){this.length=1};
iL=function(){this.buffered=new hL};
jL=function(a,b){this.o=a;this.A=b;this.B=0;Object.defineProperty(this,"timestampOffset",{get:this.sU,set:this.wU});Object.defineProperty(this,"buffered",{get:this.qU})};
rka=function(){this.length=0};
kL=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.o=window.NaN;this.A=0;Object.defineProperty(this,"duration",{get:this.rU,set:this.vU});Object.defineProperty(this,"readyState",{get:this.tU});this.g.addEventListener("webkitsourceclose",(0,g.A)(this.uU,this),!0)};
lL=function(a){return window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new kL(a)};
mL=function(a,b){g.K.call(this);this.F=new g.qG(this);g.L(this,this.F);this.o=this.g=null;this.A=a;var c=this.A;c=c.fN?c.g.webkitMediaSourceURL:window.URL.createObjectURL(c);this.C=new tJ(c,!0);this.G=this.D=this.B=null;this.I=b;rG(this.F,this.A,["sourceopen","webkitsourceopen"],this.L);rG(this.F,this.A,["sourceclose","webkitsourceclose"],this.J)};
nL=function(a){a.G||(a.G=new window.Promise((0,g.A)(function(a){this.B=a},a)));
return a.G};
oL=function(a){try{return"open"==a.A.readyState}catch(b){return!1}};
pL=function(a){try{return"closed"==a.A.readyState}catch(b){return!0}};
qL=function(a){return!!(a.g&&a.g.updating||a.o&&a.o.updating)};
rL=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
sL=function(a){return a.g?!!a.g.appendBuffer:rL()};
tL=function(a){if(/opus/.test(a)&&(g.pF&&!g.Vi("38")||qF()))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!sF())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!dL().canPlayType(a)};
g.uL=function(){this.Qh=this.Ph=!1;this.Mg=2;this.B=20971520;this.C=8388608;this.o=window.NaN;this.ba=3145728;this.G=62914560;this.aa=10485760;this.Ng=this.Ma=0;this.D=window.NaN;this.tm=this.Yc=2;this.ib=65536;this.rk=25;this.J=2097152;this.qk=1048576;this.N=!1;this.da=1800;this.Ha=5;this.Oa=10;this.pa=.4;this.L=30;this.Jb=1;this.g=1.15;this.A=1.05;this.Og=8;this.rs=!1;this.Sg=!0;var a;!(a=lF("xboxone"))&&(a=tF())&&(a=/WebKit\/([0-9]+)/.exec(g.Lb),a=!(a&&602<=(0,window.parseInt)(a[1],10)));this.Sq=
a||oF();this.sa=15;this.Ab=!1;this.Dr=this.zb=this.ym=!0;this.Pg=this.F=!1;this.xm=.8;this.Za=this.nk=!1;this.pk=!0;this.Va=this.pg=!1;this.qg=25;this.Dm=!0;this.qs=this.bb=!1;this.I=6;this.yf=this.Y=!1;this.Pm=this.Ic=this.Gc=0;this.Rh=this.un=!1;this.V=0;this.ga=!1;this.Aa=this.ea=0;this.gd=this.Rg=this.fd=!1;this.Ra=0;this.zf=this.re=!1;this.Sa=0;this.ra=this.ha=!1;this.Cm=.5;this.Ib=2;this.Am=.8;this.Bm=.2;this.zm=this.na=this.Af=this.Qg=this.Id=!1;this.O=0;this.kb=1};
ska=function(a,b){1080<b.video.o&&!a.Ph&&(a.B=36700160,a.C=5242880,a.ba=10485760,a.J=4194304,a.Ph=!0);2160<b.video.o&&!a.Qh&&(a.B=104857600,a.D=13107200,a.Qh=!0);a.qk=Math.min(a.J,5*b.g)};
tka=function(){this.g=this.uf=this.o=this.A=0};
vL=function(a,b){a[b]||(a[b]=new tka);return a[b]};
wL=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.PE(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b),"WARNING",void 0,void 0,void 0);return a};
xL=function(a){var b=void 0===b?!1:b;return wL(uka.test(a),a,b,"Nielsen OCR URL")};
yL=function(a){var b=void 0===b?!1:b;return wL(vka.test(a),a,b,"Active View 3rd Party Integration URL")};
zL=function(a){var b=void 0===b?!1:b;return wL(wka.test(a),a,b,"Google/YouTube Brand Lift URL")};
AL=function(a){return(a=xka.exec(a))?a[0]:""};
BL=function(a){var b=void 0===b?!1:b;a="https://"+a+"/";return wL(yka.test(a),a,b,"Apiary Host URL")};
CL=function(a,b){b=void 0===b?!1:b;return wL(zka.test(a),a,b,"Captions URL")};
DL=function(a){var b=void 0===b?!1:b;return wL(Aka.test(a),a,b,"Trusted Ad Domain URL")};
g.EL=function(a){var b=void 0===b?!1:b;return wL(Bka.test(a),a,b,"Trusted Image URL")};
g.FL=function(a){var b=void 0===b?!1:b;return wL(Cka.test(a),a,b,"Trusted Promoted Video Domain URL")};
GL=function(a){var b=void 0===b?!1:b;return wL(Dka.test(a),a,b,"Trusted Stream URL")};
HL=function(a){a=new g.Ul(a);Vl(a,window.document.location.protocol);g.Wl(a,window.document.location.hostname);window.document.location.port&&g.Xl(a,window.document.location.port);return a.toString()};
IL=function(a){a=new g.Ul(a);Vl(a,window.document.location.protocol);return a.toString()};
g.JL=function(a){this.B=a;this.C=this.o=this.D="";this.g={};this.A=""};
KL=function(a){a.A||(a.A=Eka(a));return a.A};
ML=function(a){LL(a);return a.C};
NL=function(a){LL(a);return Qb(a.g,function(a){return null!==a})};
OL=function(a,b){LL(a);if("/videoplayback"!=a.o){var c=a.clone();c.set("playerfallback",""+b);return c}var d=KL(a),e=new g.Ul(d);c=e.o.match("\\.a1\\.googlevideo\\.com$");e.o.match("\\.googlevideo\\.com$")?(g.Wl(e,"redirector.googlevideo.com"),d=e.toString()):e.o.match("r[1-9].*\\.c\\.youtube\\.com$")?(g.Wl(e,"www.youtube.com"),d=e.toString()):d=HL(d);d=new g.JL(d);b&&d.set("cmo=pf",""+b);c&&d.set("cmo=td","a1.googlevideo.com");return d};
LL=function(a){if(a.B){if(!GL(a.B))throw Error("Untrusted URL: "+a.B);var b=g.gm(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=PL(c);g.Ha(a.g,QL(b.Tx()));g.Ha(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.o+="/file/index.m3u8");a.B="";a.A=""}};
Eka=function(a){LL(a);var b=a.D+(a.D?"://":"//")+a.C+a.o;if(NL(a)){var c=[];g.Ob(a.g,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
PL=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&RL(c,a[b],a[b+1]);return c};
QL=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?RL(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
RL=function(a,b,c){if("cmo"==b){var d;0<=(d=c.indexOf("="))?(b="cmo="+c.substr(0,d),c=c.substr(d+1)):0<=(d=c.indexOf("%3D"))&&(b="cmo="+c.substr(0,d),c=c.substr(d+3))}a[b]=c};
SL=function(a){this.g=a;this.o={};this.A=""};
Fka=function(a,b){var c=b.indexOf("?");if(0<c){var d=QL(b.substr(c+1));g.Ob(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}c=PL(b);g.Ob(c,function(a,b){this.set(b,a)},a)};
g.TL=function(a){a.A||(a.A=Gka(a));return a.A};
Gka=function(a){var b=KL(a.g),c=[];g.Ob(a.o,function(a,b){c.push(b+"="+a)});
if(!c.length)return b;var d=c.join("&");a=NL(a.g)?"&":"?";return b+a+d};
UL=function(a,b){var c=new g.JL(b),d=c.get("req_id");d&&a.set("req_id",d);g.Ob(a.o,function(a,b){c.set(b,null)});
return c};
Hka=function(a){this.B=a.clone();this.A=a;this.o=null;this.C=this.g=0};
WL=function(a,b){var c=vL(b,ML(a.A));if(2<=c.uf||1<=c.g){var d=VL(a);d=vL(b,ML(d));if(d.uf+d.g<=c.uf+c.g)return!0}return!1};
g.XL=function(a,b){var c=b?VL(a):a.A;return new SL(c)};
VL=function(a){a.o||(a.o=OL(a.B,1));return a.o};
YL=function(a){return 1<a.g?a.C+1E3*Math.pow(1.6,a.g-1)<(0,g.VG)():!0};
ZL=function(a,b){this.o=a[0].ma.A;this.B=b||"";this.g=a;this.range=this.g[0].range&&0<this.g[0].gb?mka(this.g):null;this.A=window.NaN;this.C=this.requestId=null};
g.$L=function(a,b,c){/http[s]?:\/\//.test(a.B)?b=new SL(new g.JL(a.B)):(b=null===a.C?WL(a.o,b):a.C,b=g.XL(a.o,b),a.B&&Fka(b,a.B));(c=c||a.range)&&b.set("range",c.toString());a.requestId&&b.set("req_id",a.requestId);(0,window.isNaN)(a.A)||b.set("headm",a.A.toString());return b};
aM=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.C*a.ma.info.g)};
bM=function(a,b,c){this.index=null;this.info=b;this.initRange=c||null;this.g=null;this.C=this.F=!1;this.A=new Hka(a);this.D=null};
cM=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.D&&(1==a.info.containerType?a.D=jka(b):2==a.info.containerType&&(a.D=nka(b)))};
dM=function(a,b,c,d,e,f){f=void 0===f?0:f;bM.call(this,a,b,d);this.index=e||new g.UJ;this.o=f;this.I=c;this.G=!0;if(this.B=!c)this.F=!0};
eM=function(a,b,c){this.segments=[];this.o=a;this.A=void 0===b?0:b;this.g=void 0===c?!1:c};
gM=function(a,b,c){b=fM(a,b);return 0<=b&&(c||!a.segments[b].g)};
fM=function(a,b){return g.Cb(a.segments,{va:b},function(a,b){return a.va-b.va})};
hM=function(a,b,c){return new TJ(b,c.startTime-(c.va-b)*a.o,a.o,0,"sq/"+b,void 0,void 0,!0)};
iM=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?14400:e;dM.call(this,a,b,"",void 0,void 0,c);this.index=new eM(c||0,e,d)};
Ika=function(a,b,c,d,e){this.va=a;this.Qe=b;this.durationSecs=c;this.g=d||window.NaN;this.o=e||window.NaN};
jM=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2})\:(\d{2})\:(\d{2})\.(\d{3})$/)?a+"Z":a};
kM=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""};
lM=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};
mM=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)};
nM=function(){this.g=[];this.o=null;this.C=0;this.B=[];this.A=!1;this.D=""};
Jka=function(a){var b=a.B;a.B=[];return b};
Kka=function(){this.B=[];this.g=null;this.o={};this.A={}};
Oka=function(a,b,c){var d=[];b=g.ma(b.getElementsByTagName("SegmentTimeline"));for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=Lka(a):"AdaptationSet"==f.nodeName?k=Mka(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Nka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);wb(d,Jka(k))}Fb(d,function(a){return a.Qe});
wb(a.B,d)};
Pka=function(a){a.g&&(a.g.g=[]);g.Ob(a.o,function(a){a.g=[]});
g.Ob(a.A,function(a){a.g=[]})};
Lka=function(a){a.g||(a.g=new nM);return a.g};
Mka=function(a,b){a.o[b]||(a.o[b]=new nM);return a.o[b]};
Nka=function(a,b){a.A[b]||(a.A[b]=new nM);return a.A[b]};
g.oM=function(){this.La=0;this.g=new window.Float64Array(128);this.o=new window.Float64Array(128);this.B=1;this.A=!1};
pM=function(a){if(a.g.length<a.La+1){var b=2*a.g.length;b+=2;var 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.La+1;b++)a.g[b]=c[b],a.o[b]=d[b]}};
g.qM=function(a,b,c,d,e,f){bM.call(this,a,b,c||void 0);this.indexRange=d;this.B=null;this.index=new g.oM;this.o=e;this.lastModified=f};
rM=function(a,b,c,d){for(var e=[];b<=a.index.Dc();b++){var f=a.index,k=b;f=yK(f.uo(k),k+1<f.La||f.A?f.g[k+1]-f.g[k]:-1);k=a.index.lf(b);var l=a.index.getDuration(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new AK(3,a,f,b,k,l,m,n,b==a.index.Dc()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new ZL(e)};
sM=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?sM(a,d,c):b})};
Qka=function(a,b){return sM(function(a,b){return CF(a,b,4,1E3)},a,b)};
tM=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.tG.call(this);this.V=this.duration=0;this.isLive=this.B=!1;this.J=(0,g.VG)();this.D=window.Infinity;this.g={};this.Y=a||"";this.F=this.N=0;this.C=null;this.na=!!b&&b.g("html5_live_nonzero_first_segment_start_time");this.o=!1;this.L=[];this.pa=!!b&&b.g("html5_live_self_init_segments");this.A=null;this.ra=c;this.ha=!b||!b.g("html5_manifest_without_credentials");this.G=0;this.O=!!b&&b.g("disable_html5_manifest_namespace_redux");
this.aa="";this.I=window.NaN;this.ga=b&&b.g("disable_html5_duration_caching")?window.Infinity:10;this.ba=!!b&&b.o("html5_stale_dash_manifest_retry_factor")||1;this.da=!!b&&b.g("legacy_html5_floor_duration")};
uM=function(a){return Qb(a.g,function(a){return!!a.info.bd})};
vM=function(a,b,c,d,e){c=void 0===c?0:c;return(void 0===d?0:d)?Rka(a,b,e):Ska(a,b,c)};
Ska=function(a,b,c){c=void 0===c?0:c;var d=new tM;d.duration=c||0;(0,g.H)(a,function(a){var c=wM(a,b,d.duration),e=xK(a.init),l=xK(a.index),m=(0,window.parseInt)(a.clen,10),n=xM(a.url,c,a.s);a=(0,window.parseInt)(a.lmt,10);n&&(c=new g.qM(n,c,e,l,m,a),d.g[c.info.id]=c)});
return d};
Rka=function(a,b,c){var d=new tM("",null,!0);(0,g.H)(a,function(a){var e=wM(a,b),k=xM(a.url,e,a.s),l=(0,window.parseInt)(a.target_duration_sec,10);a=(0,window.parseInt)(a.max_dvr_duration_sec,10)||14400;k&&(e=new iM(k,e,l,c&&c.g("html5_manifestless_always"),a),d.g[e.info.id]=e)});
d.B=!0;d.o=!0;d.isLive=!0;return d};
wM=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=Tka(a),k=null;qJ(d)&&(k=(a.size||"640x360").split("x"),k=new hJ(+k[0],+k[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled),d=Uka(d,k));var l=null,m=null;if(pJ(d)){l=0;if("258"==e||"261"==e)l=6;l=new eJ(l,+a.spatial_audio_type);a.name&&(m=new PI(a.name,a.audio_track_id,"1"==a.isDefault))}e=(0,window.parseInt)(a.bitrate,10)/8;var 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 lJ(f,d,l,k,m,q,e,c)};
Tka=function(a){var b=a.itag;a.xtags&&(b=a.itag+";"+a.xtags);return b};
xM=function(a,b,c){c=void 0===c?"":c;var d=new g.JL(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");d.set("keepalive","yes");d.set("ratebypass","yes");d.set("mime",(0,window.encodeURIComponent)(b.mimeType.split(";")[0]));c&&d.set("signature",OE(c));return d};
AM=function(a,b){var c=kM(b,"id");c=c.replace(":",";");"captions"==c&&(c=kM(b,"lang"));var d=kM(b,"mimeType"),e=kM(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=(0,window.parseInt)(kM(b,"bandwidth"),10)/8;var f=(0,window.parseInt)(lM(b,"BaseURL").getAttribute(yM(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(qJ(d)){k=(0,window.parseInt)(kM(b,"width"),10);var l=(0,window.parseInt)(kM(b,"height"),10),m=(0,window.parseInt)(kM(b,"frameRate"),10),n=Vka(kM(b,yM(a,"projectionType")));a:switch(kM(b,
yM(a,"stereoLayout"))){case "layout_left_right":var q=1;break a;case "layout_top_bottom":q=2;break a;default:q=0}k=new hJ(k,l,m,n,q)}m=l=null;if(pJ(d)){kM(b,"audioSamplingRate");l=(0,window.parseInt)(kM(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10);var r;m=kM(b,yM(a,"spatialAudioType"));"spatial_audio_type_ambisonics_5_1"==m?r=1:"spatial_audio_type_ambisonics_quad"==m&&(r=2);l=new eJ(l,r);r=kM(b,"lang")||"und";(m=lM(b,"Role"))?(q=kM(m,"value")||"",Xb(zM,q)?(m=r+"."+zM[q],n="main"==
q,r=kM(b,yM(a,"langName"))||r+" - "+q,m=new PI(r,m,n)):m=null):m=null}n=null;if(r=lM(b,"ContentProtection"))if(g.mF())if((n=r.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==n.value)for(n={},r=r.firstChild;null!=r;r=r.nextSibling)"yt:SystemURL"==r.nodeName&&(n[r.attributes.type.value]=r.textContent.trim());else n=null;else if((n=r.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==n.textContent)for(n={},r=r.firstChild;null!=r;r=r.nextSibling)"SystemURL"==r.localName&&"http://youtube.com/yt/2012/10/10"==
r.namespaceURI&&(n[r.attributes.type.textContent]=r.textContent.trim());else n=null;return new lJ(c,d,l,k,m,n,e,f)};
Vka=function(a){switch(a){case "equirectangular":return 2;case "equirectangular_threed_top_bottom":return 3;case "mesh":return 4;case "rectangular":return 1;default:return 0}};
BM=function(a,b){b=void 0===b?"":b;a.F=1;a.J=(0,g.VG)();return g.kg(Qka(b||a.Y,{format:"RAW",method:"GET",withCredentials:a.ha}).then((0,g.A)(a.HI,a)),(0,g.A)(a.KI,a))};
CM=function(a,b){var c=new tM,d;for(d in a)c[d]=ec(a[d]);var e={},f=!1;g.Ob(a.g,function(a,c){if(a){var d=b(a,c);d?(e[c]=d,f=!0):e[c]=a}});
c.g=e;return f?c:null};
Wka=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=xK(a):d=d+"?range="+a));return new TJ(b.va,b.Qe,b.durationSecs,b.g,d,e,b.o)};
DM=function(a){return a.isLive&&(0,g.VG)()-a.J>=a.D};
EM=function(a,b){var c=b||1<=a.ba?a.D:a.D*a.ba*(1+Math.random());(0,window.isFinite)(c)&&(DM(a)?a.Vz():(c=Math.max(0,a.J+c-(0,g.VG)()),a.A||(a.A=new g.Ft(a.Vz,c,a),g.L(a,a.A)),a.A.start(c)))};
FM=function(a){if(!(0,window.isNaN)(a.I))return a.I;var b=a.g,c;for(c in b){var d=b[c].index;if(d&&d.Sb()){b=0;for(c=d.xg();c<=d.Dc();c++)b+=d.getDuration(c);b/=d.jj();b=.5*Math.round(b/.5);d.jj()>a.ga&&(a.I=b);return b}if(a.isLive&&(d=b[c],d.o))return d.o}return window.NaN};
GM=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d&&d.Sb()){var e=d.gh(b),f=d.Qs(e);if(f)return f+b-d.lf(e)}}return window.NaN};
Xka=function(a,b){g.Ob(a.g,function(a){g.Ob(b,function(b,c){var d=a.A;d.A.set(c,b);d.B.set(c,b);d.o&&d.o.set(c,b)})})};
Yka=function(a,b,c){var d=!1,e;for(e in a.g)if(!!a.g[e].info.video==c){var f=a.g[e].index;gM(f,b.va)||(f.Tz(b),d=!0)}return d};
HM=function(a,b,c){for(var d in a.g)if(!!a.g[d].info.video==c){var e=a.g[d].index,f=fM(e,b);0<=f&&e.segments.splice(f,1)}};
yM=function(a,b){return a.O?"yt:"+b:a.aa+":"+b};
Uka=function(a,b){if('video/webm; codecs="vp9.2"'!=a)return a;null===IM&&(IM=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"'));IM&&(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};
JM=function(a,b,c,d){this.g=a;this.o=b;this.C=c;this.B={};this.A=null;this.fairPlayCert="";this.D=!!d&&d.g("edge_nonprefixed_eme")};
LM=function(a){return a.D?!1:!a.A&&!!KM()&&"com.microsoft.playready"==a.o};
MM=function(a){return"com.microsoft.playready"==a.o};
NM=function(a){return!a.A&&!!KM()&&"com.apple.fps.1_0"==a.o};
KM=function(){var a=window.MSMediaKeys;tF()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
QM=function(a){return window.navigator.requestMediaKeySystemAccess?g.pF?g.Vi("45"):OM||g.vd?a.g("edge_nonprefixed_eme"):g.PM?g.Vi("47"):!a.g("html5_no_nonprefixed_eme_for_other"):!1};
RM=function(a,b){g.K.call(this);this.A=[];this.o={};this.g={};this.B=null;this.C=b;Zka(this,a)};
Zka=function(a,b){for(var c in b)for(var d=g.ma(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.bd)return;for(var f in e.bd){if(!SM[f])return;for(var k=g.ma(SM[f]),l=k.next();!l.done;l=k.next())l=l.value,a.o[l]=a.o[l]||new JM(f,l,e.bd[f],a.C),a.g[f]=a.g[f]||{},a.g[f][e.mimeType]=!0}}a.A=$ka.filter(function(b){return!!a.o[b]})};
ala=function(a,b){function c(a){b.B[a.contentType]=!0}
if(MM(b)){var d=dL(),e;for(e in a.g[b.g])b.B[e]=!!d.canPlayType(e)}else d=b.A.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
dla=function(a){if(KM()&&g.Xi)a.B(new JM("fairplay","com.apple.fps.1_0","",a.C));else{var b=bla(),c=g.gb(a.A,function(c){var d=a.o[c],f=!1,k=!1,l;for(l in a.g[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.o[c]:null;a.A=[];a.B(c)}};
bla=function(){var a=KM();if(a)return function(b,d){return a.isTypeSupported(d,b)};
var b=dL();return b&&(b.addKey||b.webkitAddKey)?(0,g.A)(b.canPlayType,b):function(){return!1}};
ela=function(){this.g=8192;this.o=17;this.B=13E4;this.D=.5;this.C=!1;this.A=0;this.F=!1};
TM=function(a){this.C=Math.exp(Math.log(.5)/a);this.A=this.B=0};
UM=function(a,b,c){this.I=0;this.F=a;this.C=b||.5;this.D=c||0;this.G="index";this.A=0;this.B=[]};
WM=function(a,b){VM(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};
VM=function(a,b){a.G!=b&&(a.G=b,saa(a.B,b))};
XM=function(a){this.B=a;this.A=[]};
fla=function(){this.A=0;this.o=this.G=this.C=this.D=window.NaN;this.F=0;this.J=this.L=this.B=this.I=window.NaN;this.g=""};
gla=function(a){this.policy=a;this.G=this.I=0;this.A=-1;this.D=(0,g.VG)();this.C=new UM(4,.6);this.F=new TM(4);this.o=this.policy.C?new TM(this.policy.o):new UM(this.policy.o,.5,.4);this.B=new XM(this.policy.o);this.g=new UM(30,.5);a=g.pH("yt-player-bandwidth")||{};this.o.g(this.policy.D,0<a.byterate?a.byterate:this.policy.B);0<a.delay&&this.C.g(1,Math.min(+a.delay,2));0<a.stall?this.F.g(1,+a.stall):0<a.tailDelay&&this.F.g(1,+a.tailDelay);this.A=(0,g.VG)()};
YM=function(a,b,c){b=Math.max(b,.05);a.o.g(b,c/b);a.D=(0,g.VG)()};
$M=function(a,b,c){b=Math.max(b,a.policy.g);a.F.g(1,c/b);ZM(a)};
aN=function(a){a=a.C.o();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
bN=function(a,b,c){(0,window.isNaN)(c)||(a.G+=c);(0,window.isNaN)(b)||(a.I+=b)};
cN=function(a){return a.F.o()||0};
dN=function(a){a=a.o.o();return 0<a?a:1};
eN=function(a){var b=dN(a);a=a.B.o();a=0<a?a:1;return a>2*b?(b+a)/2:b};
fN=function(a){var b={};b.delay=aN(a);b.stall=cN(a);b.byterate=dN(a);return b};
ZM=function(a){-1<a.A&&3E4<(0,g.VG)()-a.A&&(DJ(fN(a)),a.A=(0,g.VG)())};
gN=function(a){return 4E3<=(0,g.VG)()-a.D};
hN=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.Sc&&!d[a.id]){var b=new TI(a.id,a.Sc);d[a.id]=b;this.audioTracks.push(b)}},this))}};
hla=function(a,b,c,d){this.o=a;this.g=b;this.D=c;this.F=void 0===d?!1:d;this.B={};this.C=!!g.x("cast.receiver.platform.canDisplayType");this.A=!this.C&&g.x("cast.receiver.platform.getValue")&&window.cast.receiver.platform.getValue("max-video-resolution-vpx")||null};
kN=function(a,b,c){if(2.2!=iN&&eL(a.g)||c)return EF();var d={};a=dL();b=g.ma(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,kJ(c.Ce)in ila||"5"==kJ(c.Ce)?0:jN(a,c.Ce.mimeType)){var e=c.Ce.video.quality;d[e]&&2!=d[e].Ce.containerType||(d[e]=c)}var f=[];d.auto&&f.push(d.auto);(0,g.H)(jJ,function(a){(a=d[a])&&f.push(a)});
return FF(f)};
lN=function(){var a=oF()&&!g.Vi(29),b=lF("google tv")&&lF("chrome")&&!g.Vi(30);return a||b?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
jN=function(a,b){var c=a.canPlayType(b);mN?c=c||jla[b]:2.2==iN?c=c||kla[b]:oF()&&(c=c||lla[b]);return!!c};
g.nN=function(){return!(!jN(dL(),"application/x-mpegURL")&&!lN())};
oN=function(a,b){var c={},d;for(d in b.g){var e=b.g[d],f=kJ(e.info);("304"!=f&&"266"!=f||b.B)&&mla(a,e.info)&&(c[e.info.o]=c[e.info.o]||[],c[e.info.o].push(e.info))}return c};
nla=function(a,b,c){var d={},e;g.Ob(b,function(b,k){var f=b.filter(function(b){return b.bd?c&&b.bd[c.g]&&c.B[b.mimeType]?"261"!=kJ(b)||pN(a,qN)?"("!=b.o||pN(a,rN)||a.F?!0:!1:(e||(e=dL()),!1):!1:!0});
f.length&&(d[k]=f)});
return d};
wN=function(a,b,c,d,e){function f(a){return!!k[a]}
var k=oN(a,b);uM(b)&&(k=nla(a,k,c));var l=a.o.g("html5_disable_vp9_hdr_enc")?ola:pla;a.g?!lF("windows nt 5.1")||g.PM&&!a.o.g("html5_prefer_h264_on_xp")?(b.lh()||b.mh()||b.Nf())&&sN&&6>=iN&&(l=tN):l=tN:l=qla;c=rla;d&&(a.g&&(l=tN),c=sla);if(rF()||sF()||pN(a,qN))c=tla;(b.lh()||b.mh()||b.Nf())&&e&&(c=ula.concat(c));b=g.gb(l,f);d=g.gb(c,f);if(!b||!d)return EF();"9"==b&&k.h&&(e=function(a,b){return Math.max(a,b.video.height)},c=cd(k["9"],e,0),cd(k.h,e,0)>1.5*c&&(b="h"),a.o.g("html5_vp9_live_whitelist"));
e=k[b];c=k[d];e=uN(a,e);vN(e,c);return FF(new hN(e,c,vla(a,k,b,d)))};
vla=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=uN(a,e),vN(e,b),new hN(e,b)):null};
vN=function(a,b){g.Eb(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.g-a.g});
g.Eb(b,function(a,b){return b.g-a.g})};
uN=function(a,b){var c=(0,g.Hk)(b,function(a){return 32<a.video.fps});
c&&(b=a.D||pN(a,xN)?(0,g.Ld)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.Ld)(b,function(a){return!(32<a.video.fps)}));
c&&rF()&&(b=(0,g.Ld)(b,function(a){return"299"!=kJ(a)}));
return b};
mla=function(a,b){if("0"==kJ(b)&&!a.g)return!0;var c=b.mimeType;if(b.video&&(iJ(b.video)||"bt2020"==b.video.primaries)&&48!=window.screen.pixelDepth&&!pN(a,yN)||"338"==kJ(b)&&!(a.o.g("html5_chrome_ambisonics_opus")&&g.pF&&g.Vi(53)))return!1;var d={};b.video&&(b.video.width&&(d[zN.name]=b.video.width),b.video.height&&(d[AN.name]=b.video.height),b.video.fps&&(d[xN.name]=b.video.fps),b.video.g&&(d[yN.name]=b.video.g),b.g&&(d[BN.name]=8*b.g),"("==b.o&&(d[rN.name]="subsample"));b.audio&&b.audio.g&&(d[qN.name]=
b.audio.g);for(var e in CN){var f=CN[e];if(d[f.name]&&!(f==yN&&0<b.mimeType.indexOf("vp09.02")))if(pN(a,f))if(a.A){if(a.A[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(nJ(b)&&f==yN)return!1}!a.o.g("disable_html5_cast_hdcp_filter2")&&a.C&&b.video&&1080<b.video.o&&b.bd&&(c+="; hdcp=2.2");return DN(a,c)};
pN=function(a,b){if(!(b.name in a.B)){var c=a.B,d=b.name;if(a.A)var e=!!a.A[b.name];else b.video?(e='video/webm; codecs="vp9"',DN(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',DN(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=DN(a,e+"; "+b.name+"="+b.valid)&&!DN(a,e+"; "+b.name+"="+b.pi);c[d]=e}return a.B[b.name]};
DN=function(a,b){return a.C?window.cast.receiver.platform.canDisplayType(b):tL(b)};
EN=function(){g.tG.call(this);this.Ka={}};
FN=function(a,b,c){if(!a.Ka[b]&&(c.Wh||c.ek)){var d=a.Ka,e=c;Object.isFrozen&&!Object.isFrozen(c)&&(e=Object.create(c),Object.freeze(e));d[b]=e;a.X("vast_info_card_add",b)}};
KN=function(a,b,c){var d;(d=a.adformat)||(d=(a=a.attrib)&&Xb(GN,a)&&Xb(HN,a)?HN[a]+"_"+GN[a]:void 0);a=d;if(!a)return null;d=a.match(IN);if(!d||5!=d.length)return null;d=JN(a);return b||c||d?a:null};
JN=function(a){a=a.match(IN);var b=(0,window.parseInt)(a[3],10),c=[7,8,10,5,6];return!(1==(0,window.parseInt)(a[1],10)&&8==b)&&0<=c.indexOf(b)};
LN=function(a){return a.docid||a.video_id||a.videoId||a.id};
MN=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(wla);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
NN=function(a,b){return void 0==b?a:"1"==b?!0:!1};
ON=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
PN=function(a,b){return void 0==b?a:Number(b)};
QN=function(a,b){var c=g.gJ.auto,d=b?g.gJ[b]:void 0;return d>g.gJ.medium?new vJ(d,c,!1):d>=c?new vJ(c,d,!1):a};
RN=function(a,b){return void 0==b?a:b.toString()};
TN=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new window.Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];return a}catch(e){}a=Array(16);for(b=0;16>b;b++){c=(0,g.G)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(SN)for(b=1,c=0;c<SN.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^SN.charCodeAt(c),b++;return a};
g.UN=function(){return(0,g.J)(TN(),function(a){return(a&15).toString(16)}).join("")};
VN=function(){for(var a=TN(),b=[],c=0;c<a.length;c++)b.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a[c]&63));return b.join("")};
jO=function(a){g.K.call(this);a=g.dc(a);this.D="detailpage";this.na=null;this.da=!1;this.N={};this.ym=RN("",a.csp_nonce);this.experiments=new sJ(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(f){b=""}this.Ib=b;this.ba=(this.A=xla.test(this.Ib))?RN("",a.loaderUrl):this.Ib;this.Hb=yla.test(this.ba);this.un=DL(this.ba);this.V=this.A&&this.experiments.g("enable_cards_button_title")&&this.experiments.g("enable_share_button_title")&&
this.experiments.g("enable_watch_later_button_title");this.ga=(this.wT=(this.Qh=NN(!1,a.ssl_stream))||NN(!1,a.ssl))?"https":"http";this.baseYtUrl=AL(a.BASE_YT_URL)||AL(this.Ib)||this.ga+"://www.youtube.com/";"adunit"==a.el?this.D=this.un?"adunit":"embedded":"embedded"==a.el||this.Hb?this.D=ON(this.D,a.el,zla):a.el&&(this.D="embedded");this.Y=this.D;ZG();b=null;var c=a.ps,d=g.lb(WN,c);!c||d&&!this.Hb||(b=c);this.g=b;this.I=(this.tc=g.lb(WN,this.g))&&"play"!=this.g&&"jamboard"!=this.g;this.Qg=!this.I;
b={};this.o=(b.c=a.c||"web",b.cver=a.cver||"html5",b.cplayer="UNIPLAYER",b);this.Ra=!(!dL().defaultPlaybackRate||g.ef&&!XN("chrome")||YN||ZN||XN("android")||XN("silk"));this.isMobile=NN("blazer"==this.g,a.is_html5_mobile_device);this.Pm=this.experiments.g("uniplayer_dbp")&&this.isMobile&&(!(this.A&&this.experiments.g("disallow_background_check_for_embed"))||oF()&&g.Vi(54));this.ha="3"==this.B||this.isMobile||NN(!1,a.use_media_volume);this.J=fL();this.rs=$N;(YN||ZN||g.Xi)&&"blazer"!=this.g&&g.aO(this);
this.zf=(g.bO(this)||"TV_UNPLUGGED_CAST"==this.o.c||"TVHTML5_UNPLUGGED"==this.o.c)&&this.experiments.g("use_rawcc_captions");this.F=NN(!1,a.is_dni);this.Ab=RN("#cc181e",a.dni_color);this.gd=NN("adunit"!=this.Y&&!cO(this)&&!this.tc,this.experiments.g("embed_show_infobar")&&!this.F||a.showinfo);this.Sg=NN(!1,a.playsinline);b=this.isMobile&&sN&&2.3>=iN;c=this.isMobile;c=dO(this)||!b&&NN(c,a.use_native_controls)?"3":"1";this.B="0"!=a.controls?c:"0";this.useTabletControls=this.isMobile;this.color=ON("red",
a.color,Ala);this.Sq="3"==this.B||NN(!1,a.modestbranding)&&"red"==this.color;this.pa=0==this.ba.indexOf(this.baseYtUrl);this.nk=(c=!this.pa&&!cO(this)&&!this.I&&!this.tc)&&(this.F||!this.Sq)&&"1"==this.B;this.pk=g.eO(this)&&c&&!this.gd&&!this.nk;this.gT=this.Dr=b;this.Af=!ZN||g.rc(601)?!0:!1;this.Cm=this.A||!1;this.ra=cO(this)?"":(this.ba||a.post_message_origin||"").substring(0,128);this.widgetReferrer=RN("",a.widget_referrer);this.Jb=(!this.Hb||NN(!0,a.enablecastapi))&&"1"==this.B&&!this.isMobile&&
(cO(this)||g.eO(this)||g.fO(this));this.Ha=NN(!1,a.enableunplugged);this.zm=(this.aa=NN(!1,a.autoplay))||cO(this);this.pg=!this.isMobile&&!uF()&&!lF("nintendo 3ds")||NN(!1,a.autoplayoverride);b=!1;this.J&&!dO(this)&&this.experiments.g("mweb_muted_autoplay")?g.$i&&g.rc(602)?b=!0:g.un&&g.pF&&4.4<=iN&&(b=g.un&&lF("version/")?57<=nF():53<=nF()):b=!1;this.yf=b;b=(cO(this)||"adunit"==this.Y)&&("blazer"==this.g||"mweb-polymer"==this.g);this.Ic=!NN(!0,a.fs);this.Aa=!this.Ic&&(b||XF());this.xm=this.experiments.g("uniplayer_block_pip")&&
oF()&&g.Vi(58);this.Id=NN(!1,a.force_rel)||NN(!this.tc,a.rel);this.sa=g.fO(this);this.fd="blazer"==this.g||"mweb-polymer"==this.g;switch(this.g){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 "chat":b="hc";break;case "picasaweb":b="pw";break;default:b="yt"}this.ib=b;this.Bc=RN("",a.authuser);this.fT=(this.experiments.g("embed_show_watchlater_login")&&this.A||!!this.Bc)&&NN(!this.I,
a.showwatchlater);this.Ng=NN(!1,a.disablekb);this.Og=RN("",a.ecver);this.Bm=this.experiments.g("mweb_autonav")&&gO();this.loop=NN(!1,a.loop);this.pageId=RN("",a.pageid);this.qs=QN(zJ,a.vq);this.tO=NN(!0,a.canplaylive);this.Am=NN(this.tc,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.gd(b,c))):b=null;this.rk=b;this.mute=NN(!1,a.mute);this.storeUserVolume=
!this.mute&&NN("0"!=this.B,a.store_user_volume);this.Ug="3"==this.B?3:ON(void 0,a.iv_load_policy,hO);this.Wg=RN("",a.cc_lang_pref);b=ON(2,a.cc_load_policy,hO);"3"==this.B&&2==b&&(b=3);this.Xg=b;this.Oa=void 0==a.content_v?void 0:a.content_v.toString();this.Dm=void 0==a.framer?void 0:a.framer.toString();this.Sa=RN("en_US",a.hl);this.region=RN("US",a.cr);this.hostLanguage=RN("en",a.host_language);this.Ma=NN(!1,a.privembed);this.tm=!this.Ma&&Math.random()<this.experiments.o("web_player_api_logging_fraction");
b=!this.experiments.g("web_player_interaction_logging_killswitch");this.ea=!this.Ma&&b;this.Rg="";this.Gc=new window.Set;this.C=NN(!0,a.deviceHasDisplay);this.Bg=PN(this.Bg,a.ismb);this.lg(a);this.N=a;this.G=new EN;g.L(this,this.G);this.O=this.isMobile;b=a;b.innertube_api_key&&b.innertube_api_version&&this.o.c&&b.innertube_context_client_version&&this.hostLanguage&&this.region||this.experiments.g("disable_innertube_config_reporting")||g.PE(Error("MISSING_INNERTUBE_CONFIG,api_key="+b.innertube_api_key+
",api_version="+b.innertube_api_version+",interface="+this.o.c+",context_client_version="+b.innertube_context_client_version+",host_language="+this.hostLanguage+",region="+this.region));c=RN("",b.apiary_host);d=RN("",b.apiary_host_firstparty);var e=RN("",b.xhr_apiary_host);this.experiments.g("disable_html5_apiary_url_validation")||(BL(c)||(c=""),BL(d)||(d=""),BL(e)||(e=""));this.Pg={apiaryHost:c,CH:d,gapiHintOverride:NN(!1,b.gapi_hint_override),gapiHintParams:RN("",b.gapi_hint_params),innertubeApiKey:RN("",
b.innertube_api_key),innertubeApiVersion:RN("",b.innertube_api_version),Zr:this.o.c,innertubeContextClientVersion:RN("",b.innertube_context_client_version),es:this.hostLanguage,ds:this.region,fo:"",xhrApiaryHost:e};this.Rh=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.L=new hla(this.experiments,this.C,"web"==this.o.c.toLowerCase().substr(0,3)||rF()||sF()||iO(this),g.pF&&56<=nF()||iO(this));b=new ela;g.aO(this)&&(b.C=!0,b.D=.1);this.experiments.g("html5_ewma_bandwidth_estimator")&&(b.C=
!0);this.experiments.g("html5_elbow_tracking_tweaks")&&(b.F=!0,b.g=2048);this.Bg&&(b.B=this.Bg/8);b.o=this.experiments.o("html5_bandwidth_window_size")||b.o;this.schedule=new gla(b);this.enableSafetyMode=NN(!1,a.enable_safety_mode);this.qg=cO(this)&&"blazer"!=this.g&&"mweb-polymer"!=this.g;this.Za=NN(!1,a.send_visitor_id_header)||this.experiments.B;this.Vg=!1;this.Ph=zJ};
kO=function(a,b){a.Mg=b.get("d",a.Mg);a.re=b.get("f",a.re)};
mO=function(a,b,c){return b.Eh&&(a.experiments.g("legacy_autoplay_flag")||"detailpage"!=lO(b,a)||b.jo||c&&!a.experiments.g("html5_player_autonav_logging"))};
nO=function(a){return a.experiments.g("king_crimson_player_redux")&&!a.tc&&oF()&&g.Vi(55)&&!a.isAd()};
oO=function(a){var b=g.Ig(a.baseYtUrl);(a=g.Jg(a.baseYtUrl))&&(b+=":"+a);return"www.youtube-nocookie.com"==b?"www.youtube.com":b};
pO=function(a){return"gaming"==a.g?"gaming.youtube.com":oO(a)};
qO=function(a,b,c){return a.ga+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
g.rO=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId};
sO=function(){return g.$G()};
tO=function(){return!0};
uO=function(a){return cO(a)&&"gaming"!=a.g&&!g.bO(a)};
dO=function(a){return ZN&&!a.Sg||uF()||lF("nintendo 3ds")?!0:!1};
g.aO=function(a){return qF()||"TV"==a.o.cplatform};
iO=function(a){return"CHROMECAST ULTRA/STEAK"==a.o.cmodel||"CHROMECAST/STEAK"==a.o.cmodel};
g.vO=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
g.bO=function(a){return"WEB_UNPLUGGED"==a.o.c};
gO=function(){g.x("yt.mobile.isMobilePersistentUniplayer");return!1};
g.wO=function(a){return a.C&&g.pF&&!mN&&"3"!==a.B?g.un?a.A&&g.rc(51):!0:!1};
g.xO=function(a){return a.C&&g.PM&&!mN&&"3"!==a.B?g.un?a.A&&g.rc(48):g.rc(38):!1};
zO=function(a){return g.wO(a)||g.xO(a)||(a.C&&g.ef&&!mN&&"3"!==a.B?g.un?a.A&&g.rc(37):g.rc(27):!1)||a.C&&g.yO&&!vF()&&g.rc(11)||a.C&&g.Xi&&a.experiments.g("safari_enable_spherical")};
Bla=function(a){return a.experiments.g("disable_html5_ambisonic_audio")||!(zO(a)||a.experiments.g("html5_enable_spherical")||a.experiments.g("html5_enable_spherical3d"))||g.eO(a)&&sN||g.PM&&(!g.rc(47)||!g.rc(52)&&g.rc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1};
cO=function(a){return"detailpage"==a.Y};
g.eO=function(a){return"embedded"==a.Y};
g.AO=function(a){return"leanback"==a.Y};
g.fO=function(a){return"profilepage"==a.Y};
BO=function(a){return lF("smart-tv")&&lF("samsung")&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(a.o.cmodel)};
g.CO=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
DO=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
EO=function(a){if(a){var b=[],c;for(c in a)Cla.has(c)||b.push(c);b.length&&.01>Math.random()&&g.PE(Error("Unknown house brand player vars: "+b),"WARNING")}};
Dla=function(a,b){this.o=a;this.g=b;this.A=0};
Ela=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)};
Fla=function(a,b,c,d,e,f,k,l,m){this.itag=a;this.url=b;this.Qw=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.g=m||""};
Gla=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c];var f=e.type.match(/codecs="([^"]*)"/);e=new Fla(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};
FO=function(a,b){this.Ce=a;this.B=b;this.o=null};
Hla=function(a,b,c){if(!mN&&!tF())return EF();b=Gla(b);if(!b)return EF();var d={};d=(d.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",d);var e=[],f=[],k=[],l;for(l in b){var m=b[l];if(m.width){var n=b[m.audioItag];if(n){e.push(m);var q="fairplay"==m.g?d:null;k.push(VO([n],[m],m.itag,m.width,m.height,m.fps,void 0,void 0,q))}}else f.push(m)}q=k.reduce(function(a,b){return!!b.Ce.bd&&a},!0)?d:null;
k.push(VO(f,e,"93",0,0,0,"auto",c,q));return kN(a.L,k,nO(a))};
VO=function(a,b,c,d,e,f,k,l,m){var n=new eJ;d=new hJ(d,e,f,null,void 0,k);c=new lJ(c,"application/x-mpegURL",n,d,void 0,m);a=new Dla(a,b);a.A=l?l:1369843;return new FO(c,a)};
WO=function(a,b){this.Ce=a;this.o=b};
XO=function(a,b,c){var d=[];b=g.ma(b);for(var e=b.next();!e.done;e=b.next()){var f=e.value;if(f.url){e=new g.JL(f.url);f.sig?e.set("signature",f.sig):f.s&&e.set("signature",OE(f.s));for(var k in c)e.set(k,c[k]);f=rJ(f.type,f.quality,f.itag,f.width,f.height,!!f.isAccelerated,!!f.isAcceleratedUiEnabled);d.push(new WO(f,e))}}return kN(a.L,d,nO(a))};
YO=function(a){g.tG.call(this);this.B=new VD;this.o=null;this.G={};this.F=a||""};
aP=function(a,b,c){for(c=ZO(a,c);0<=c;){var d=a.g[c];if(d.Sb(Math.floor(b/(d.columns*d.rows)))&&(d=g.$O(d,b)))return d;c--}return g.$O(a.g[0],b)};
cP=function(a,b,c){c=ZO(a,c);for(var d,e;0<=c;c--)if(d=a.g[c],e=Math.floor(b/(d.columns*d.rows)),!d.Sb(e)){d=a;var f=c,k=f+"-"+e;d.G[k]||(d.G[k]=!0,UD(d.B,f,{iz:f,JA:e}))}bP(a)};
bP=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=dP(a.g[b.iz],b.JA);c.onload=(0,g.A)(a.J,a,b.iz,b.JA);a.o=c}};
g.eP=function(a,b,c,d){this.Tc={};this.L=a;this.I=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.A=(0,window.parseInt)(a[5],10);this.B=a[6];this.C=a[7];this.J=d};
dP=function(a,b){var c=a.I;c=c.replace("$N",a.B);c=c.replace("$L",a.L.toString());c=c.replace("$M",b.toString());a.C&&(c=g.Qg(c,{sigh:a.C}));return IL(c)};
g.$O=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);var k=a.Hp()+1-d*c;if(k<a.columns){var l=k;d=1}else l=a.columns,d=k<d?Math.ceil(k/a.columns):a.rows;return{url:dP(a,c),Rw:f,columns:l,Hc:e,rows:d,lt:a.F*l,kt:a.D*d}};
fP=function(a,b,c){YO.call(this,c);this.g=this.A(a,b);this.C={};1<this.g.length&&this.g[0].isDefault()&&this.g.splice(0,1)};
ZO=function(a,b){var c=a.C[b];if(c)return c;c=a.g.length;for(var d=0;d<c;d++)if(a.g[d].Gb()>=b)return a.C[b]=d;a.C[b]=c-1;return c-1};
gP=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.eP.call(this,a,b,c,0);this.g=null;this.G=d?3:0};
hP=function(a,b){this.L=b;fP.call(this,a,0)};
iP=function(a,b){this.Ce=a;this.o=b};
Ila=function(a){var b=[];(0,g.H)(a,function(a){if(a.url){var c=rJ(a.type,"medium","0");b.push(new iP(c,a.url))}});
return b};
jP=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a};
lP=function(a,b){var c={},d;for(d in kP){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.EL(e)&&(c[kP[d]]=e)}return c};
Kla=function(a){var b={};if(!a||!a.thumbnails)return b;var c=null;a=g.ma(a.thumbnails);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=jP(d);if(g.EL(e)){var f=Jla[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=jP(c));return b};
g.mP=function(a,b){this.version=a;this.args=b};
g.nP=function(a,b){this.topic=a;this.g=b};
g.pP=function(a,b){var c=oP();c&&c.publish.call(c,a.toString(),a,b)};
g.tP=function(a,b,c){var d=oP();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.x("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(qP[e])try{if(k&&a instanceof g.nP&&a!=d)try{var f=a.g,l=k;if(!l.args||!l.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!f.Mh){var q=new f;f.Mh=q.version}var r=f.Mh}catch(w){}if(!r||l.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.vb(l.args))}catch(w){throw w.message="yt.pubsub2.Data.deserialize(): "+w.message,w;}}catch(w){throw w.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+w.message,w;}b.call(c||window,k)}catch(w){g.PE(w)}},rP[a.toString()]?g.cH()?g.dH(f,1,void 0):g.VE(f,0):f())});
qP[e]=!0;sP[a.toString()]||(sP[a.toString()]=[]);sP[a.toString()].push(e);return e};
g.uP=function(a){var b=oP();b&&(g.ta(a)&&(a=[a]),(0,g.H)(a,function(a){b.unsubscribeByKey(a);delete qP[a]}))};
oP=function(){return g.x("ytPubsub2Pubsub2Instance")};
wP=function(a,b){var c=g.tP(vP,function(d){a.apply(b,arguments);g.uP(c)},b);
return c};
xP=function(){var a=g.lE("TIMING_TICK_EXPIRATION");a||(a={},g.kE("TIMING_TICK_EXPIRATION",a));return a};
Lla=function(){var a=xP(),b;for(b in a)g.eH(a[b]);g.kE("TIMING_TICK_EXPIRATION",{})};
yP=function(a,b){g.mP.call(this,1,arguments)};
zP=function(a,b){g.mP.call(this,1,arguments);this.g=a};
BP=function(a){this.g=a||window;this.I=this.A=0;if(this.g.performance&&this.g.performance.timing&&this.g.performance.getEntriesByType){a=g.td(this.g||window);this.G=new g.ah(0,0,a.width,a.height);var b;a=[];for(var c=this.g.document.getElementsByTagName("*"),d=0,e=c.length;d<e;d++){var f=c[d];if("IMG"==f.tagName||"IFRAME"==f.tagName)if(b=AP(this,f,f.src)){if("IFRAME"==f.tagName){try{var k=(new BP(f.contentWindow)).A}catch(l){k=0}0<k&&(b.timing=k)}a.push(b)}(b=this.g.getComputedStyle(f)["background-image"])&&
(b=BP.g.exec(b))&&1<b.length&&(b=AP(this,f,b[1]))&&a.push(b)}this.o=a;this.C=this.g.performance.getEntriesByType("resource");this.F=this.g.performance.getEntriesByType("mark");k={};a=0;for(c=this.C.length;a<c;a++)d=this.C[a],k[d.name]=d.responseEnd;a=0;for(c=this.F.length;a<c;a++)d=this.F[a],"mark_iframe_loaded: "==d.name.slice(0,20)&&(k[d.name.slice(20)]=d.startTime);a=0;for(c=this.o.length;a<c;a++)d=this.o[a],d.timing||(d.timing=k[d.url]||0);this.D=Mla(this);this.B=Nla(this);f=k=0;if(this.B.length)for(c=
a=0,d=this.B.length;c<d;c++)e=this.B[c],f=e.timing-f,0<f&&1>a&&(k+=(1-a)*f),f=e.timing,a=e.progress;this.A=Math.round(k||this.D);this.I=f}};
AP=function(a,b,c){return c&&b.getBoundingClientRect&&(b=b.getBoundingClientRect(),b=new g.ah(b.left,b.top,b.width,b.height),g.dh(b,a.G))?new CP(b,c):null};
Mla=function(a){var b=a.g,c=b.performance.timing.navigationStart;if("msFirstPaint"in b.performance.timing)var d=b.performance.timing.g-c;else if("chrome"in b&&"loadTimes"in b.chrome){var e=b.chrome.loadTimes(),f=e.firstPaintTime;if(0<f){var k=e.startLoadTime;"requestTime"in e&&(k=e.requestTime);f>=k&&(d=1E3*(f-k))}}if(void 0===d||0>d||12E4<d){d=b.performance.timing.responseStart-c;var l={};b=b.document.getElementsByTagName("head")[0].children;c=0;for(e=b.length;c<e;c++)f=b[c],"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===d||a>d)d=a})}return Math.max(d,0)||0};
Nla=function(a){var b={0:0},c=0;var d=a.D;for(var 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.eh(k.region).Qc();b[l]+=k;c+=k}e=g.eh(a.G).Qc();0<e&&(e=.1*Math.max(e-c,0),d in b||(b[d]=0),b[d]+=e,c+=e);a=[];if(c){for(var m in b)d=new DP((0,window.parseFloat)(m),b[m]),a.push(d);a.sort(function(a,b){return a.timing-b.timing});
e=b=0;for(f=a.length;e<f;e++)d=a[e],b+=d.Qc,d.progress=b/c}return a};
CP=function(a,b){this.region=a;this.url=b};
DP=function(a,b){this.Qc=b;this.timing=a};
GP=function(a){EP(a);Ola();FP(!1,a);a||(g.lE("TIMING_ACTION")&&g.kE("PREVIOUS_ACTION",g.lE("TIMING_ACTION")),g.kE("TIMING_ACTION",""))};
UP=function(a,b){a:if(!HP(a)){if(!g.zF("send_empty_timing")){var c=g.lE("CSI_SERVICE_NAME","youtube");if(!g.lE((a||"")+"TIMING_ACTION",void 0)||!c)break a}g.IP("aa",void 0,a);g.JP("ap",1,a);g.JP("yt_fss","c",a);if(g.zF("enable_csi_abandonment_info")&&!a&&!KP("yt_lt")){c=g.lE("TIMING_INFO",{});for(var d in c)g.JP(d,c[d]);g.JP("is_nav",1);(d=g.rH())&&g.JP("csn",d);(d=g.lE("PREVIOUS_ACTION",void 0))&&g.JP("pa",d);c=LP();c.p=g.lE("CLIENT_PROTOCOL")||"unknown";c.t=g.lE("CLIENT_TRANSPORT")||"unknown";window.navigator&&
window.navigator.sendBeacon&&g.JP("ba",1);g.JP("yt_vis",MP());if("cold"==c.yt_lt){d=NP.timing||{};g.zF("cold_load_nav_start_web")&&d.navigationStart&&(g.IP("srt",d.responseStart),1!=c.prerender&&OP("n",d.navigationStart));b:if(d.msFirstPaint)c=Math.max(0,d.msFirstPaint);else{if(c=window.chrome)if(c=c.loadTimes,g.za(c)){c=c();var 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.IP("fpt",c);g.IP("nreqs",d.requestStart,void 0);g.IP("nress",d.responseStart,void 0);g.IP("nrese",d.responseEnd,void 0);0<d.redirectEnd-d.redirectStart&&(g.IP("nrs",d.redirectStart,void 0),g.IP("nre",d.redirectEnd,void 0));0<d.domainLookupEnd-d.domainLookupStart&&(g.IP("ndnss",d.domainLookupStart,void 0),g.IP("ndnse",d.domainLookupEnd,void 0));0<d.connectEnd-d.connectStart&&(g.IP("ntcps",d.connectStart,void 0),g.IP("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=d.navigationStart&&
0<d.connectEnd-d.secureConnectionStart&&(g.IP("nstcps",d.secureConnectionStart,void 0),g.IP("ntcpe",d.connectEnd,void 0));NP.getEntriesByType&&Pla();d=g.lE("SPEEDINDEX_FOR_ACTIONS",void 0);c=g.lE("TIMING_ACTION",void 0);d&&-1<d.indexOf(c)&&(d=(0,g.VG)(),c=new BP,e=(0,g.VG)(),0<c.A&&(g.JP("si",c.A),g.IP("vsc",PP(c.I)),g.IP("sics",d),g.IP("sice",e)));d=[];if(window.document.querySelector&&NP&&NP.getEntriesByName)for(var f in QP)c=QP[f],Qla(f,c)&&d.push(c);d.length&&g.JP("rc",d.join(","))}g.zF("csi_on_gel")&&
(f={},f.actionType=Rla[g.lE("TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN",d=RP(),hH(f,d))}SP(a)}GP(a);g.kE(a+"TIMING_AFT_KEYS",b);g.kE(a+"TIMING_ACTION",a);OP("c",void 0,a);g.ua("ytglobal.timing"+(a||"")+"ready_",!0,void 0);TP(a)};
g.IP=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;NP.mark&&(g.Ka(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),NP.mark(d))}d=VP(c);var e=b||(0,g.VG)();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;d=xP();if(e=d[a])g.eH(e),d[a]=0;WP(c)["tick_"+a]=b;c||b||(0,g.VG)();g.zF("csi_on_gel")?(d=RP(c),"_start"==a?gH("baseline_"+d)||g.bH("latencyActionBaselined",{clientActionNonce:d},b):gH("tick_"+a+"_"+d)||g.bH("latencyActionTicked",{tickName:a,clientActionNonce:d},b),a=!0):a=!1;a||TP(c)};
XP=function(a){var b="above_the_fold";NP&&NP.measure&&(g.Ka(b,"measure_")||(b="measure_"+b),a?NP.measure(b,a):NP.measure(b))};
OP=function(a,b,c){g.JP("yt_sts",a,c);g.IP("_start",b,c)};
YP=function(a,b){var c=VP(b);return a in c};
g.JP=function(a,b,c){var d=LP(c)[a]=b;WP(c)["info_"+a]=d;if(g.zF("csi_on_gel"))if(a in ZP){b={};a=ZP[a].split(".");g.lb(Sla,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=RP(c);hH(b,c)}else g.lb(Tla,a)||g.PE(Error("Unknown label "+a+" logged with GEL CSI."))};
KP=function(a){var b=LP(void 0);return a in b};
$P=function(a){var b=VP(a);if(b.aft)return b.aft;a=g.lE((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};
TP=function(a){if(!HP(a)){var b=g.lE((a||"")+"TIMING_ACTION",void 0),c=VP(a);if(g.x("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=$P(a)))if(g.zF("tighter_critical_section")&&!aQ&&(g.pP(Ula,new yP(Math.round(b-c._start),a)),aQ=!0),a)SP(a);else{b=!0;var d=g.lE("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&SP(a)}}};
MP=function(){switch(WF("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
SP=function(a){Lla();if(!g.zF("csi_on_gel")){var b=VP(a),c=LP(a),d=b._start,e;for(e in b)if(g.Ka(e,"_")&&g.xa(b[e])){var f=e.slice(1);if(f in Vla){var k=(0,g.J)(b[e],function(a){return Math.round(a-d)});
c["all_"+f]=k.join()}delete b[e]}f=!!c.ap;if(k=g.x("ytglobal.timingReportbuilder_")){if(k=k(b,c,a))bQ(k,f),GP(a)}else{var l=g.lE("CSI_SERVICE_NAME","youtube");k={v:2,s:l,action:g.lE((a||"")+"TIMING_ACTION",void 0)};var m=c.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var n=window.location.protocol+g.x("ytplayer.config.assets.js");(n=NP.getEntriesByName?NP.getEntriesByName(n)[0]:null)?c.h5jse=Math.round(c.h5jse-n.responseEnd):delete c.h5jse}b.aft=$P(a);Wla(a)&&"youtube"==l&&(g.JP("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.VG)();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.x("ytdebug.logTiming"))&&b(k,c);bQ(k,f,a);g.pP(vP,new zP(c.aft+(m||0),a))}}};
PP=function(a){return Math.round(NP.timing.navigationStart+a)};
Pla=function(){var a=window.location.protocol,b=NP.getEntriesByType("resource"),c=g.gb(b,function(b){return 0==b.name.indexOf(a+"//fonts.googleapis.com/css?family=")});
b=(0,g.Ld)(b,function(b){return 0==b.name.indexOf(a+"//fonts.gstatic.com/s/")});
b=cd(b,function(a,b){return b.duration>a.duration?b:a},{duration:0});
c&&0<c.startTime&&0<c.responseEnd&&(g.IP("wfcs",PP(c.startTime)),g.IP("wfce",PP(c.responseEnd)));b&&0<b.startTime&&0<b.responseEnd&&(g.IP("wffs",PP(b.startTime)),g.IP("wffe",PP(b.responseEnd)))};
Qla=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=NP.getEntriesByName(d))&&c[0]&&(c=c[0],d=window.performance.timing.navigationStart,g.IP("rsf_"+b,d+Math.round(c.fetchStart)),g.IP("rse_"+b,d+Math.round(c.responseEnd)),void 0!==c.transferSize&&(KP("rc")||g.JP("rc",""),0===c.transferSize))?!0:!1:!1};
bQ=function(a,b,c){if(g.zF("debug_csi_data")){var d=g.x("yt.timing.csiData");d||(d=[],g.ua("yt.timing.csiData",d,void 0));d.push({page:window.location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?yF(a):g.wF(a);FP(!0,c)};
RP=function(a){var b=cQ(a).nonce;b||(b=VN(),cQ(a).nonce=b);return b};
VP=function(a){return cQ(a).tick};
LP=function(a){return cQ(a).info};
WP=function(a){a=cQ(a);"gel"in a||(a.gel={});return a.gel};
cQ=function(a){return g.x("ytcsi."+(a||"")+"data_")||EP(a)};
EP=function(a){var b={tick:{},info:{}};g.ua("ytcsi."+(a||"")+"data_",b,void 0);return b};
HP=function(a){return!!g.x("yt.timing."+(a||"")+"pingSent_")};
FP=function(a,b){g.ua("yt.timing."+(b||"")+"pingSent_",a,void 0)};
Wla=function(a){var b=VP(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==LP(a).yt_pvis};
Xla=function(a){var b=null,c=a.text;a.bold&&(b=g.Ad("B",null,b||c));a.italics&&(b=g.Ad("I",null,b||c));a.strikethrough&&(b=g.Ad("STRIKE",null,b||c));a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint&&(a=a.navigationEndpoint.urlEndpoint,b=g.Ad("A",{href:a.url},b||c),"TARGET_NEW_WINDOW"==a.target&&(b.target="_blank"));return b||g.Ad("SPAN",null,c)};
g.dQ=function(a){if(a.simpleText)return a.simpleText;if(a.simpleText)a=window.document.createTextNode(a.simpleText);else{var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(Xla(d))}a=1==b.length?b[0]:g.Ad("SPAN",null,b)}b=g.Cd("div");b.appendChild(a);return b.textContent};
g.eQ=function(a){g.tG.call(this);this.adModule=!1;this.adaptiveFormats="";this.bd=null;this.allowEmbed=!0;this.tg=this.backgroundable=!1;this.Df="";this.Mm=this.Jm=this.Im=!1;this.relativeLoudness=window.NaN;this.Lm=1;this.watchAjaxToken=this.Kh=null;this.author="";this.Gf=0;this.lx=this.Um=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.cu=this.channelPath=this.Vm="";this.contentCheckOk=!1;this.Hf=0;this.vx=this.enableCardioBeforePlayback=this.enableCardio=!1;this.endSeconds=0;this.wy=this.sh=
!1;this.Bg=this.xj=0;this.jo=!1;this.SB=0;this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.Ba=this.il=this.isListed=this.hs=this.Eh=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=!1;this.mdxControlMode=null;this.isPharma=!1;this.Ji=0;this.Pt="";this.ms=this.dz=this.Rf=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.ws=null;this.ll=this.lengthSeconds=0;this.playerParams=null;this.paygated=!1;this.ne=[];this.profilePicture=void 0;this.racyCheckOk=
!1;this.rootVeType=0;this.autonavState=1;this.Pl=zJ;this.Zg=!1;this.Vy=this.startSeconds=0;this.spacecastModule=!1;this.Em=null;this.Ul=zJ;this.ck=null;this.hlsFormats=this.Lh=this.title="";this.Kb=this.Nj=this.fg=null;this.Xl="vvt";this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;this.Io=this.zj=this.Bk=!1;this.kr="";this.Uo=this.St=this.Xx=0;this.Yy=!1;this.NC=!0;this.dk={};this.Ar=!1;this.captionTracks=[];this.wk=[];this.xq=0;this.captionTranslationLanguages=[];this.xk=!1;
this.mn=new TI("und",new PI("Default","und",!0));this.us=0;this.Wj=this.lC=!1;this.Sf=null;this.Uh=[];this.uy=!1;this.Ni={};this.uC=new g.Ft(this.vC,5E3,this);g.L(this,this.uC);this.jr=0;this.Yx=!0;this.Ri=this.xb=null;this.partialSpherical=this.kh=!1;this.Xb={};this.keywords={};this.ye={};this.setData(a)};
hQ=function(a,b,c){b=b||{};var d={};if(!c)d=a.xb||{};else if(b.player_response)for(d=g.yg(b.player_response)||{},a.xb||(a.xb={}),c=0;c<fQ.length;c++){var e=fQ[c];e in d&&(a.xb[e]=d[e])}(c=gQ(d))?(a.Df=IL(c.invideoUrl),a.Im=!!c.adsOnly,a.Jm=!!c.allowInPlaceSwitch):(b.iv_invideo_url&&(a.Df=IL(b.iv_invideo_url)),a.Im=NN(a.Im,b.iv_ads_only),a.Jm=NN(a.Jm,b.iv_allow_in_place_switch));b.cta_conversion_urls&&(a.pw=b.cta_conversion_urls);a.isPharma=NN(a.isPharma,b.is_pharma);a.author=RN(a.author,b.author);
a.Um=NN(a.Um,b.cc_asr);c=b.ttsurl;CL(c)?a.Vm=c:c&&(c=HL(c),CL(c,!0)&&(a.Vm=c));d.captions&&d.captions.playerCaptionsTracklistRenderer?Yla(a,d.captions.playerCaptionsTracklistRenderer):(a.Ar=void 0!=b.caption_tracks,b.caption_tracks&&b.caption_audio_tracks&&(Zla(a,b.caption_tracks),$la(a,b.caption_audio_tracks),b.default_audio_track_index&&(a.xq=(0,window.parseInt)(b.default_audio_track_index,10)||0),b.caption_translation_languages&&ama(a,b.caption_translation_languages)),a.xk=NN(a.xk,b.cc_contribute));
a.channelPath=RN(a.channelPath,b.channel_path);a.cu=RN(a.cu,b.short_subscriber_count_text);a.clientPlaybackNonce=RN(a.clientPlaybackNonce,b.cpn);a.subscribed=NN(a.subscribed,b.subscribed);a.gg=PN(a.gg,b.view_count);a.shortViewCount=RN(a.shortViewCount,b.short_view_count_text);a.title=RN(a.title,b.title);a.ypcPreview=RN(a.ypcPreview,b.ypc_preview);a.ypcOrigin=RN(a.ypcOrigin,b.ypc_origin);a.paygated=NN(a.paygated,b.paygated);a.requiresPurchase=NN(a.requiresPurchase,b.requires_purchase);b.keywords&&
(a.keywords=bma(b.keywords));b.rvs&&(a.jg=dF(b.rvs));a.contentCheckOk=NN(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=NN(a.racyCheckOk,"1"==b.rco);a.oauthToken=RN(a.oauthToken,b.oauth_token);a.visitorData=RN(a.visitorData,b.visitor_data);b.session_data&&(a.Vd=g.WE(b.session_data));b.endscreen_autoplay_session_data&&(a.zx=g.WE(b.endscreen_autoplay_session_data));a.yx=RN(a.yx,b.endscreen_ad_tracking_data);a.gk=NN(a.gk,b.wait_for_vast_info_cards_xml);a.ak=NN(a.ak,b.suppress_creator_endscreen);a.fi=RN(a.fi,
b.wpid);a.ju=RN(a.ju,b.tracking_list||b.tv_list);(0,g.H)(cma,function(a){a in b&&(this.Xb[a]=b[a])},a)};
iQ=function(a){return!(!a.tb||!a.tb.videoInfos.length)};
dma=function(a){return a.o&&tL('video/webm; codecs="vp9"')&&Qb(a.g,function(a){return mJ(a.info)})};
jQ=function(a){return!lN()||a.lx?!0:!1};
g.kQ=function(a){if(!a.Ri)return null;var b=g.t(a.Ri.latitudeE7)&&g.t(a.Ri.longitudeE7)?a.Ri.latitudeE7+","+a.Ri.longitudeE7:",";return b+=","+(a.Ri.clientPermissionState||0)};
lQ=function(a){a.la()||(a.sh=!1,a.X("dataloaded",a.Xb))};
mQ=function(a,b,c){c&&a.ua&&a.ua.dispose();a.ua=b;g.L(a,b);(a.mh()||a.lh()||a.ri()||a.Nf())&&a.ne.push("webgl");a.ua.isLive||(a.Ba=!1)};
g.oQ=function(a,b,c){if(a.la())return EF();a.tb=null;a.fg=null;a.Nj=null;var d=b.o,e=d.c;d=d.cmodel;a.kh=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(e)||/FUGU/.test(d);a:{if(!c&&!jQ(a)&&(e=!1,a.spacecastAdaptiveFormats?(mQ(a,vM(nQ(a,a.spacecastAdaptiveFormats),a.bd,a.lengthSeconds,void 0),!0),e=!0):a.ua&&a.gp&&(d=CM(a.ua,a.gp))&&(mQ(a,d,!0),e=!0),e)){e=wN(b.L,a.ua,a.Sf,!0,!1).then(a.au,void 0,a).then(a.Fx,void 0,a);break a}e=EF()}return e.then(void 0,(0,g.A)(a.VK,
a,b)).then(void 0,(0,g.A)(a.SK,a,b,c)).then(void 0,(0,g.A)(a.TK,a,b)).then(void 0,(0,g.A)(a.WK,a,b)).then(void 0,(0,g.A)(a.UK,a,b))};
pQ=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.o.c,cver:b.o.cver};a.Il&&(c.ptk=a.Il,c.oid=a.UB,c.ptchn=a.TB,c.pltype=a.VB);return c};
g.qQ=function(a){return a.Na&&a.Na.bd||null};
rQ=function(a){var b=a.xb&&a.xb.paidContentOverlay&&a.xb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.dQ(b.text):a.RS};
sQ=function(a){var b=a.xb&&a.xb.paidContentOverlay&&a.xb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?(a=b.durationMs,g.u(a)?bb(a):a):a.SB};
g.tQ=function(a,b){return g.u(a.keywords[b])?a.keywords[b]:null};
g.uQ=function(a){if(!a.Kb)if(a.xb&&a.xb.storyboards){var b=a.xb.storyboards;b.playerStoryboardSpecRenderer?a.Kb=new fP(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds):b.playerLiveStoryboardSpecRenderer&&a.ua&&(a.Kb=new hP(b.playerLiveStoryboardSpecRenderer.spec,a.ua))}else a.Xb.storyboard_spec?a.Kb=new fP(a.Xb.storyboard_spec,a.lengthSeconds):a.Xb.live_storyboard_spec&&a.ua&&(a.Kb=new hP(a.Xb.live_storyboard_spec,a.ua));return a.Kb};
vQ=function(a,b){if(a.ua&&a.Ba&&a.Na){var c=a.ua.g[a.Na.id];if(!c||!c.index)return null;var d=c.index.gh(b);c=c.index.lf(d);return{sequence:d,elapsed:Math.floor(1E3*(b-c))}}return null};
wQ=function(a){return!!(a.ze||a.adaptiveFormats||a.Lh||a.ck||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
xQ=function(a){var b=g.lb(a.ne,"ypc");a.ypcPreview&&(b=!1);return a.ed()&&!a.sh&&(wQ(a)||g.lb(a.ne,"fresca")||g.lb(a.ne,"heartbeat")||b)};
nQ=function(a,b,c){b=dF(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};
ema=function(a){a=dF(a);var b={};(0,g.H)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
Zla=function(a,b){for(var c=dF(b),d=0;d<c.length;d++){var e=c[d],f=e.u;CL(f)&&a.captionTracks.push(new g.RI({is_translateable:NN(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
$la=function(a,b){var c=dF(b);a.wk=[];(0,g.H)(c,function(a){var b={};g.t(a.aid)&&(b.audioTrackId=a.aid);a.i&&(b.captionTrackIndices=(0,g.J)(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=fma[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.wk.push(b)},a)};
ama=function(a,b){for(var c=dF(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.QI({languageCode:e.lc,languageName:e.n}))}};
Yla=function(a,b){a.Ar=!0;a.captionTracks=[];b.captionTracks&&(0,g.H)(b.captionTracks,function(a){var b=a.baseUrl;CL(b,!0)&&(a=new g.RI({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.dQ(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.wk=b.audioTracks||[];a.xq=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.J)(b.translationLanguages,function(a){return new g.QI({languageCode:a.languageCode,languageName:g.dQ(a.languageName)})}):[];
a.xk=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
g.yQ=function(a,b){return!!a.Xb[b]};
g.zQ=function(a){return a.Ba&&!a.tg};
AQ=function(a){return a.Ba&&a.tg};
BQ=function(a){var b=g.dc(a.Xb);!a.Ba&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
gma=function(a){a.tb=a.tb.o};
g.CQ=function(a){if(a.ak)return null;var b=a.Xb.iv_endscreen_url;b||(b=a.xb&&a.xb.endscreen&&a.xb.endscreen.endscreenUrlRenderer&&a.xb.endscreen.endscreenUrlRenderer.url);return b};
lO=function(a,b){if(b.experiments.g("html5_el_migration")){var c=a.adFormat?"adunit":b.Y;c!=b.D&&g.PE(Error("EL mismatch: "+c+" vs "+b.D))}return b.D};
gQ=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
bma=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};
DQ=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.o=d};
GQ=function(a){this.g=a;this.o=0;this.C=-1;this.L=this.g.Bd().volume;this.I=this.g.Bd().muted;this.D=window.NaN;this.B=0;this.qb=[];this.A=EQ(this.g);this.J=g.FQ(this.g);this.F=this.G=0};
g.HQ=function(a){a.A.startTime=a.B;a.A.endTime=a.o;a.qb.length&&g.eb(a.qb).isEmpty()?a.qb[a.qb.length-1]=a.A:a.qb.length&&a.A.isEmpty()||a.qb.push(a.A);var b=g.FQ(a.g),c=a.g.g.experiments.o("html5_min_vss_watchtime_to_cut_secs_redux");if(c){var d=b-a.J;var e=a.A;e=(e.endTime-e.startTime)/e.playbackRate;var f=a.g.g.experiments.o("html5_max_vss_watchtime_ratio");e>c&&e>d*f&&(c=g.dc(a.A),a.A.endTime=a.A.startTime+.001,c.startTime=c.endTime-.001,a.qb.push(c))}a.G+=a.o-a.B;a.A=EQ(a.g);a.B=a.o;a.J=b};
IQ=function(a){return a.G+a.g.o()-a.B};
JQ=function(a){a.qb.length&&a.o==a.B||g.HQ(a);var b=a.qb;a.qb=[];return b};
KQ=function(a,b,c){c-=a.D;return b==a.o&&.5<c};
hma=function(a,b){if(!a.g.g.experiments.g("segment_volume_reporting"))return!1;var c=a.g.Bd().volume,d=c!=a.L,e=a.g.Bd().muted;if(e!=a.I)return a.I=e,!0;!d||0<=a.C||(a.L=c,a.C=b);c=b-a.C;return 0<=a.C&&2<c?(a.C=-1,!0):!1};
LQ=function(a,b){this.g=b;this.A=!1;this.videoData=a};
MQ=function(a,b,c){LQ.call(this,b,c);this.B=a};
g.NQ=function(a){return(a=jma[a.toString()])?a:"YTP_ERROR_LICENSE"};
kma=function(){this.C=this.g=window.NaN;this.A=this.B=this.o=!1};
OQ=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};
PQ=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};
QQ=function(a,b){var c=PQ(a,b);return 0<=c?a.end(c):window.NaN};
RQ=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
SQ=function(){var a=[],b=[];return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
TQ=function(a,b){var c=QQ(a,b);return 0<=c?c-b:0};
UQ=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};
VQ=function(){};
WQ=function(){g.K.call(this);this.A=this.o=null;this.F=this.D=!1;this.C=new g.Ff;g.L(this,this.C)};
ZQ=function(a,b){var c="";b&&(XQ(a,b),c=b.g);a.Nd()&&""==c||(c&&a.Nd()!=c&&(YQ(a,c),a.A&&(a.A.dispose(),a.A=null)),b&&b.o||a.load(),a.F||(a.addEventListener("volumechange",a.Lw),a.F=!0))};
lma=function(a,b){var c=lL(a.g);return new mL(c,b)};
$Q=function(a,b){if(!a.A||a.A.la()){var c=new mL(lL(a.g),b);nL(c);ZQ(a,c.C);a.A=c}};
mma=function(a,b){$Q(a,b);var c=a.A;a.A=null;return c};
XQ=function(a,b){a.o&&null!=b&&b.g==a.o.g||(a.o&&a.o.dispose(),a.o=b)};
bR=function(a){return TQ(aR(a),a.getCurrentTime())};
cR=function(a){var b=aR(a);return 0<RQ(b)&&a.getDuration()?QQ(b,a.getCurrentTime()):0};
dR=function(a){var b=a.getDuration();return window.Infinity==b?1:b?cR(a)/b:0};
eR=function(a){return{vct:a.getCurrentTime().toFixed(3),vd:a.getDuration().toFixed(3),vpl:UQ(a.g.played||SQ()),vbu:UQ(aR(a)),vpa:a.g.paused,vsk:a.g.seeking,ven:a.g.ended,vpr:a.Uc(),vrs:a.g.readyState,vns:a.g.networkState,vec:a.Rb(),vvol:a.getVolume()}};
nma=function(a){a=a.Rb();switch(a){case 1:return"aborted";case 2:return"network";case 3:return"decode";case 4:return"unsupported";case 5:return"encrypted";default:return a.toString()}};
fR=function(a,b,c){g.cf.call(this,b,a);this.g=c||null};
g.gR=function(a,b){this.o=a||64;this.g=b||null};
hR=function(a,b){return OQ(a,b.getCurrentTime(),(0,g.VG)(),bR(b))};
iR=function(a,b,c){return b==a.o&&c==a.g||b&128&&!c||b&2&&b&16?a:new g.gR(b,c)};
jR=function(a,b){return iR(a,a.o|b)};
kR=function(a,b){return iR(a,a.o&~b)};
lR=function(a){return iR(a,(a.o|4)&-9)};
g.W=function(a,b){return!!(a.o&b)};
g.mR=function(a,b){return b.o==a.o&&b.g==a.g};
nR=function(a){return g.W(a,8)&&!g.W(a,2)};
oR=function(a){return g.W(a,64)&&!g.W(a,8)&&!g.W(a,4)};
g.pR=function(a){return g.W(a,1)&&!g.W(a,2)};
qR=function(a){return g.W(a,128)?-1:g.W(a,2)?0:g.W(a,64)?-1:g.W(a,1)&&!g.W(a,32)?3:g.W(a,8)?1:g.W(a,4)?2:-1};
g.rR=function(a,b){this.state=a;this.g=b};
sR=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};
tR=function(){this.endTime=this.startTime=-1;this.yq="-";this.playbackRate=1;this.visibilityState=0;this.qq="";this.volume=this.connectionType=this.Vg=0;this.muted=!1};
oma=function(a,b,c,d,e,f,k,l,m,n,q,r,w){this.videoData=a;this.g=b;this.Bd=c;this.D=d;this.o=e;this.B=f;this.N=k;this.J=l;this.L=m;this.F=n;this.C=q;this.G=r||function(){};
this.A=null;this.I=w||function(){}};
g.FQ=function(a){return uR(a)()};
uR=function(a){if(!a.A){var b=g.Ga(function(a){var b=(0,g.VG)();a&&631152E6>=b&&(g.PE(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.Ga(function(a){return Math.round(b()-a)/1E3},b());
a.I()}return a.A};
vR=function(a){var b=a.Bd();g.Ha(b,a.videoData.Bd());return b};
xR=function(){return window.navigator.connection&&window.navigator.connection.type?wR[window.navigator.connection.type]||wR.other:0};
EQ=function(a){var b=new tR;b.yq=a.Bd().cc||"-";b.playbackRate=a.L();var c=a.C();0!=c&&(b.visibilityState=c);a.g.Vg&&(b.Vg=1);c=a.J();c.Sc&&c.Sc.id&&"und"!=c.Sc.id&&(b.qq=c.Sc.id);b.connectionType=xR();b.volume=a.Bd().volume;b.muted=a.Bd().muted;return b};
zR=function(a){g.K.call(this);var b=this;this.g=a;this.o={};this.pa=1;this.Y=window.NaN;this.A="N";this.D=this.aa=this.B=0;this.L=this.da="";this.ba=0;this.ga=-1;this.J=this.N=0;this.V=this.I=!1;this.ha=[];this.F=null;this.G=!1;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(function(a){b.F=a});
this.O=(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.yR(this,0,"vps",["N"])};
g.yR=function(a,b,c,d){var e=a.o[c];e||(e=[],a.o[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
CR=function(a,b){b=0<=b?b:g.FQ(a.g);var c=a.g.B();if(!(0,window.isNaN)(a.ea)&&!(0,window.isNaN)(c.C)){var d=c.C-a.ea;0<d&&g.yR(a,b,"bwm",[d,(c.G-a.ra).toFixed(3)])}a.ea=c.C;a.ra=c.G;(0,window.isNaN)(c.o)||g.yR(a,b,"bwe",[c.o.toFixed(0)]);a.g.videoData.kh&&c.g&&AR(a,"bwinfo",c.g);a.F&&g.yR(a,b,"bat",[a.F.level,a.F.charging?"1":"0"]);d=a.g.C();a.ga!=d&&(g.yR(a,b,"vis",[d]),a.ga=d);g.yR(a,b,"cmt",[a.g.o().toFixed(3)]);(d=xR())&&d!=a.ba&&(g.yR(a,b,"conn",[d]),a.ba=d);BR(a,b,c);d=b;0<c.F&&!a.g.g.experiments.g("html5_new_e2e_latency_tracking")&&
g.yR(a,d,"e2el",[c.F,c.I.toFixed(3),c.B.toFixed(3),c.L.toFixed(3),c.J.toFixed(3)]);null!==a.g.videoData.Em&&(a.o.acc=[a.g.videoData.Em.join(":")])};
BR=function(a,b,c){if(!(0,window.isNaN)(c.A)){var d=c.A;c.D<d&&(d=c.D);g.yR(a,b,"bh",[d.toFixed(3)])}};
DR=function(a){var b={event:"streamingstats"};if(a.g.videoData.Na){b.fmt=kJ(a.g.videoData.Na);var c=a.g.videoData.yd;c&&kJ(c)!=b.fmt&&(b.afmt=kJ(c))}b.cpn=a.g.videoData.clientPlaybackNonce;b.ei=a.g.videoData.eventId;b.el=lO(a.g.videoData,a.g.g);b.docid=a.g.videoData.videoId;b.ns=a.g.g.ib;b.fexp=a.g.g.experiments.experimentIds.toString();b.cl=a.g.g.bb;a.g.videoData.adFormat&&(b.adformat=a.g.videoData.adFormat);a.g.videoData.Ba&&(b.live=a.g.videoData.tg?"dvr":"live");b.seq=a.pa++;return b};
ER=function(a,b){a.g.g.experiments.g("html5_ajax_qoe_retry")?g.kg(CF(b,{},3,500),g.y):a.g.g.experiments.g("html5_beacon")?yF(b):g.wF(b)};
FR=function(a){var b=0,c;for(c in a.o)b+=c.length+cd(a.o[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.Ft(a.C,0,a)).start()};
GR=function(a,b,c,d){var e=a.g.o();c=[c,e.toFixed(3)];d&&c.push(d);g.yR(a,b,"error",c)};
HR=function(a,b){g.yR(a,g.FQ(a.g),"lra",[b]);AR(a,"live-readahead-seconds",b.toString())};
qma=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=pma[qR(a)];"B"==b&&g.W(a,4)&&(b="PB");return b};
IR=function(a,b){var c=a.o.cat||[];c.push(b);a.o.cat=c};
AR=function(a,b,c,d){var e=a.o.ctmp||[],f=-1!=a.ha.indexOf(b);f||a.ha.push(b);d&&f||(d||(c="t."+g.FQ(a.g).toFixed(3)+";"+c),e.push(b+":"+c),a.o.ctmp=e,FR(a))};
JR=function(a,b,c,d){this.L=b;this.segments=[];this.experimentIds=[];this.Rf=this.Ma=this.N=this.ra=this.Aa=this.ba=this.autoplay=this.autonav=!1;this.ga="yt";this.Kh=this.o=this.D=null;this.aa=!1;this.C="watchtime"==c;this.B="playback"==c;this.J="delayplay"==c;this.I="atr"==c;this.Ha="engage"==c;this.Wj=!1;this.na=this.I?"/api/stats/"+c:"//"+b.UT+"/api/stats/"+c;d&&(this.N=d.fs,d.rtn&&(this.o=d.rtn),this.C?(this.Ib=d.state,0<d.rti&&(this.D=d.rti)):(this.Oa=d.mos,this.Sa=d.volume,d.at&&(this.adType=
d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.Va=d.inview),d.size&&(this.ha=d.size),d.ctt&&(this.G=d.ctt),d.cttype&&(this.Y=d.cttype),d.mdx_environment&&(this.mdxEnvironment=d.mdx_environment));b.experiments.g("legacy_autoplay_flag")&&(this.autoplay=b.aa);this.ib=b.Oa;this.zb=g.dc(b.o);this.ba=b.F;this.sa=b.ra;this.experimentIds=b.experiments.experimentIds;this.pa=b.Sa;this.ga=b.ib;this.region=b.region;this.Jb=b.bb?b.bb.toString():"";this.userAge=b.userAge;this.userGender=b.userGender;
this.bb=g.$G();this.Wj=b.Za;this.F=a.oauthToken||this.F;this.adFormat=a.adFormat;this.autoplay=mO(this.L,a,this.N);this.autonav=a.jo||this.autonav;this.Kh=a.Kh;this.clientPlaybackNonce=a.clientPlaybackNonce;a.vssCredentialsToken&&(this.G=a.vssCredentialsToken,this.Y=a.Xl);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.Gf=a.Gf;this.Hf=a.Hf;a.Na&&(this.kb=kJ(a.Na),a.yd&&kJ(a.yd)!=this.kb&&(this.V=kJ(a.yd)));this.Rf=a.Rf;this.xj=a.xj;a.Ba&&(this.Ra=a.tg?"dvr":"live");this.ll=a.ll;this.Dh=
a.Dh;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.ju||a.playlistId;this.Ro=a.Ro;this.ig=a.ig;this.qf=a.qf;this.fp=a.fp;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Gt=a.Gt;this.referrer=a.referrer;this.Fh=a.Nt||a.Fh;this.fk=a.fk;this.np=a.np;this.fi=a.fi;this.Ab=lO(a,b)};
KR=function(a,b){if(a.I)return null;var c=a.F&&aF(),d=a.Wj&&!!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,Fd:b}};
rma=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.Qg(a,b);c?g.iF(a,c):g.wF(a)};
MR=function(a){var b={ns:a.ga,el:a.Ab,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.Gf),plid:a.playbackId,ei:a.eventId,fmt:a.kb,fs:a.N?"1":"0",rt:a.g(a.Za),of:a.Gt,adformat:a.adFormat,content_v:a.ib,euri:a.sa,lact:a.bb,live:a.Ra,cl:a.Jb,mos:a.Oa,osid:a.osid,state:a.Ib,vm:a.videoMetadata,volume:a.Sa};a.subscribed&&(b.subscribed="1");g.Ha(b,a.zb);a.autonav&&(b.autonav="1");if(a.L.experiments.g("legacy_autoplay_flag"))a.autoplay&&(b.autoplay="1");else if(a.autoplay||a.Rf)b.autoplay=
"1";a.ba&&(b.dni="1");a.ra&&(b["final"]="1");a.Rf&&(b.splay="1");a.Hf&&(b.delay=a.Hf);a.pa&&(b.hl=a.pa);a.region&&(b.cr=a.region);g.t(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.t(a.da)&&(b.len=a.g(a.da));!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.ig&&(b.ctrl=a.ig);a.qf&&(b.ytr=a.qf);a.fp&&(b.ssrt="1");a.V&&(b.afmt=a.V);a.ea&&(b.lio=a.g(a.ea));a.C?(b.idpj=a.xj,b.ldpj=a.ll,
null!=a.D&&(b.rti=a.g(a.D))):g.t(a.adType)&&(b.at=a.adType);(a.B||a.J)&&a.Kh&&(b.tst=a.Kh);a.ha&&(a.B||a.J)&&(b.size=a.ha);null!=a.Va&&(a.B||a.J)&&(b.inview=a.g(a.Va));a.C&&(a.L.experiments.g("segment_volume_reporting")&&(b.volume=LR(a,(0,g.J)(a.segments,function(a){return a.volume})),b.muted=LR(a,(0,g.J)(a.segments,function(a){return a.muted}))),b.st=LR(a,(0,g.J)(a.segments,function(a){return a.startTime})),b.et=LR(a,(0,g.J)(a.segments,function(a){return a.endTime})),(0,g.Hk)(a.segments,function(a){return 1!=
a.playbackRate})&&(b.rate=LR(a,(0,g.J)(a.segments,function(a){return a.playbackRate}))));
(0,g.Hk)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=LR(a,(0,g.J)(a.segments,function(a){return a.visibilityState})));
(0,g.Hk)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=LR(a,(0,g.J)(a.segments,function(a){return a.connectionType})));
(0,g.Hk)(a.segments,function(a){return 0!=a.Vg})&&(b.blo=LR(a,(0,g.J)(a.segments,function(a){return a.Vg})));
(0,g.Hk)(a.segments,function(a){return"-"!=a.yq})&&(b.cc=(0,g.J)(a.segments,function(a){return a.yq}).join(","));
if((0,g.Hk)(a.segments,function(a){return!!a.qq})){var c="au";
a.B&&(c="au_d");b[c]=(0,g.J)(a.segments,function(a){return a.qq}).join(",")}aF()&&a.G&&(b.ctt=a.G,b.cttype=a.Y,b.mdx_environment=a.mdxEnvironment);
a.Ha&&(b.etype=g.t(a.A)?a.A:0);a.fk&&(b.uoo=a.fk);a.np&&(b.upt=a.np);a.fi&&(b.wpid=a.fi);return b};
LR=function(a,b){return(0,g.J)(b,a.g).join(",")};
NR=function(a){g.K.call(this);this.g=a;this.o=new zR(a);g.L(this,this.o);this.A=new GQ(a);this.D="paused";this.F=window.NaN;this.I=[10,10,10,40];this.J=this.G=0;this.V=this.O=this.ba=this.Y=this.N=this.L=this.B=!1;this.C=window.NaN;this.aa=new MQ(this.A,this.g.videoData,this.g.g)};
OR=function(a,b,c){var d=g.FQ(a.g);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.I[a.G];a.G+1<a.I.length&&a.G++;c+=e;d=1E3*(c-d);a.F=g.VE((0,g.A)(a.EP,a,c,b),d);return c};
PR=function(a,b){var c=vR(a.g);g.Ha(c,{state:a.D});c=new JR(a.g.videoData,a.g.g,b,c);c.Gf=a.g.o();a.g.videoData.Ba||(c.da=a.g.D());if(a.g.videoData.ua){var d=GM(a.g.videoData.ua,c.Gf);d&&(c.ea=d-c.Gf)}c.Za=g.FQ(a.g);c.segments=[EQ(a.g)];return c};
QR=function(a,b){var c=PR(a,"watchtime");c.segments=b;c.Gf=a.A.o;return c};
RR=function(a){a.A.update();return QR(a,JQ(a.A))};
UR=function(a){a.g.videoData.remarketingUrl&&!a.Y&&(SR(a,a.g.videoData.remarketingUrl),a.Y=!0);a.g.videoData.youtubeRemarketingUrl&&!a.ba&&(SR(a,a.g.videoData.youtubeRemarketingUrl),a.ba=!0);a.g.videoData.googleRemarketingUrl&&!a.O&&(SR(a,a.g.videoData.googleRemarketingUrl),a.O=!0);a.g.videoData.ppvRemarketingUrl&&!a.V&&(SR(a,a.g.videoData.ppvRemarketingUrl),a.V=!0);TR(a)};
VR=function(a){a.C=g.UE((0,g.A)(a.Yo,a,"heartbeat"),3E4)};
TR=function(a){a.g.videoData.ye.eventLabel=lO(a.g.videoData,a.g.g);a.g.videoData.ye.playerStyle=a.g.g.g;a.g.videoData.Lo&&(a.g.videoData.ye.feature="pyv");a.g.videoData.ye.vid=a.g.videoData.videoId;var b=a.g.videoData.ye,c=a.g.videoData;a=!("adunit"!=lO(c,a.g.g)&&!c.Lo);b.isAd=a};
SR=function(a,b,c){a.g.g.Za&&a.g.videoData.visitorData&&bF(b)?g.iF(b,{Fd:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.wF(b,c)};
WR=function(a,b){KJ.call(this,a,b);this.g=!1;V(this,"getPresentingPlayerType",this.Ya);V(this,"addInfoCardXml",this.HL);V(this,"cueVideoByPlayerVars",this.JL);V(this,"loadVideoByPlayerVars",this.so);V(this,"preloadVideoByPlayerVars",this.Qz);V(this,"seekBy",this.he);V(this,"updatePlaylist",this.dM);V(this,"updateLastActiveTime",this.cM);V(this,"updateVideoData",this.eM);V(this,"getPlayerResponse",this.getPlayerResponse);V(this,"getStoryboardFormat",this.getStoryboardFormat);V(this,"getProgressState",
this.vh);V(this,"getHousebrandProperties",this.ML);V(this,"setPlaybackQualityRange",this.Rz);V(this,"getCurrentPlaylistSequence",this.LL);V(this,"canPlayType",this.IL);V(this,"sendVideoStatsEngageEvent",this.zi);V(this,"setCardsVisible",this.ul);V(this,"handleGlobalKeyDown",this.PL);V(this,"getAudioTrack",this.uh);V(this,"setAudioTrack",this.Ps);V(this,"getAvailableAudioTracks",this.Ns);V(this,"getMaxPlaybackQuality",this.NL);V(this,"setSizeStyle",this.YL);V(this,"forceFrescaUpdate",this.KL);V(this,
"setAutonav",this.Mz);V(this,"setAutonavState",this.Ms);V(this,"showControls",this.bM);V(this,"hideControls",this.QL);V(this,"getVisibilityState",this.wh);V(this,"shouldSendVisibilityState",this.aM);V(this,"getVideoContentRect",this.Pz);V(this,"setSafetyMode",this.XL);V(this,"setFauxFullscreen",this.UL);V(this,"cancelPlayback",this.wq);V(this,"getVideoStats",this.Zx);V(this,"updateSubtitlesUserSettings",this.to);V(this,"getSubtitlesUserSettings",this.yi);V(this,"resetSubtitlesUserSettings",this.Os);
V(this,"isFastLoad",this.RL);V(this,"isPeggedToLive",this.isPeggedToLive);V(this,"setMinimized",this.WL);V(this,"getSphericalConfig",this.OL);V(this,"setSphericalConfig",this.ZL);V(this,"setBlackout",this.TL);V(this,"onAdUxClicked",this.SL);V(this,"getPlayerSize",this.Oz);V(this,"setGlobalCrop",this.VL);V(this,"wakeUpControls",this.oU);V(this,"isMutedByMutedAutoplay",this.EK)};
XR=function(a,b){WR.call(this,a,b)};
YR=function(a,b,c){this.A=a;this.g=void 0===b?"":b;this.B=c||null;this.C=!1};
ZR=function(a,b){var c=a.A,d=g.eO(c)&&(c.aa&&c.pg||c.experiments.g("html5_playlist_preload"));if(c.fd&&(cO(c)||g.AO(c)||d)&&!a.C){a.C=!0;a.A.experiments.g("html5_skip_default_csi_configs")||(g.lE("TIMING_ACTION")||g.kE("TIMING_ACTION",a.A.csiPageType),a.A.zb&&g.kE("CSI_SERVICE_NAME",a.A.zb));if(a.B){c=a.B.ba;for(var e in c)g.IP(e,c[e],a.g);e=a.B.Y;for(var f in e)g.JP(f,e[f],a.g);f=a.B;f.ba={};f.Y={}}g.JP("yt_pvis",MP(),a.g);g.JP("yt_pt","html5",a.g);b&&!YP("pbs",a.g)&&a.o("pbs",b);f=a.A;cO(f)&&"blazer"!=
f.g||!YP("_start",a.g)||SP(a.g)}};
g.bS=function(a,b,c){this.start=a;this.end=b;this.A=sma++;a=c||{};this.ya=a.id||"";this.B=a.priority||g.$R.km;this.active=!0;this.visible=a.visible||!1;this.style=a.style||g.aS.kk;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};
cS=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
tma=function(a){switch(a.style){case g.aS.Oh:return 8;case g.aS.kk:return 6;case g.aS.Uv:return Number.POSITIVE_INFINITY;default:return 0}};
g.dS=function(a,b){return a.start-b.start||a.B-b.B||a.A-b.A};
eS=function(a,b){this.type=a||"";this.id=b||""};
g.fS=function(a){return new eS(a.substr(0,2),a.substr(2))};
g.hS=function(a){g.tG.call(this);this.startSeconds=0;this.PC=!1;this.hc=0;this.title="";this.qh=0;this.Ka=[];this.Tf=this.Tc=!1;this.Vd=this.zx=this.Ml=null;this.views=0;this.yH=0!=a.fetch;this.Ud=[];this.hc=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.pO="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.dk={};a.video_id&&(this.Ka[this.hc]=a);a.api&&("string"==typeof a.api&&
16==a.api.length?a.list="PL"+a.api:a.playlist=a.api);this.mo=0;if(a.list)switch(a.listType){case "user_uploads":uma(this,a.list);break;case "user_favorites":vma(this,a.list);break;case "search":wma(this,a.list);break;default:a.playlist_length&&(this.qh=a.playlist_length),this.listId=g.fS(a.list),a.video?(this.Ka=a.video.slice(0),this.Tc=!0):xma(this)}else if(a.playlist){var b=a.playlist.toString().split(",");0<this.hc&&(this.Ka=[]);(0,g.H)(b,function(a){a&&this.Ka.push({video_id:a})},this);
this.qh=this.Ka.length;b=(0,g.J)(this.Ka,function(a){return a.video_id});
gS(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:b.join(",")});this.Tc=!0}this.setShuffle(!!a.shuffle);a.suggestedQuality&&(this.quality=a.suggestedQuality);this.dk=lP(a,"playlist_");this.XC=a.thumbnail_ids?a.thumbnail_ids.split(","):[]};
iS=function(a){return!!(a.playlist||a.list||a.api)};
jS=function(a){var b=a.hc+1;return b>=a.qh?0:b};
kS=function(a){var b=a.hc-1;return 0>b?a.qh-1:b};
lS=function(a,b){a.hc=g.$c(b,0,a.qh-1);a.startSeconds=0};
uma=function(a,b){a.Tf||(a.listId=new eS("UU","PLAYER_"+b),gS(a,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}))};
vma=function(a,b){a.Tf||(a.listId=new eS("FL","PLAYER_"+b),gS(a,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}))};
wma=function(a,b){if(!a.Tf){a.listId=new eS("SR",b);var c={search_query:b};a.pO&&(c.mob="1");gS(a,"/search_ajax?style=json&embeddable=1",c)}};
xma=function(a){if(!a.Tf){var b={list:a.listId},c=a.dc();c&&c.videoId&&(b.v=c.videoId);gS(a,"/list_ajax?style=json&action_get_list=1",b)}};
gS=function(a,b,c){a.yH&&g.iF(g.Qg(b,c),{format:"JSON",Vb:(0,g.A)(function(a,b){mS(this,b)},a),
onError:(0,g.A)(function(){this.X("error")},a)})};
mS=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.Ka=[];(0,g.H)(b.video,function(a){a&&(a.video_id=a.encrypted_id,this.Ka.push(a))},a);
a.qh=a.Ka.length;b.index?a.hc=b.index:a.Hk(c);a.setShuffle(!1);a.Tf=!1;a.Tc=!0;a.mo++;a.Ml&&a.Ml()}};
nS=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
oS=function(a){this.g=window.Float32Array?new window.Float32Array(a):Array(a);this.o=a-1};
pS=function(a,b){a.o=(a.o+1)%a.g.length;a.g[a.o]=b};
yma=function(){this.D=new oS(50);this.o=null;this.C=this.B=0;this.g=[];this.A=null};
zma=function(a,b){0!=a.g.length&&(b.F=a.g.length,b.I=cd(a.g,function(a,b){return a+b},0),b.B=g.eb(a.g),b.L=Math.min.apply(Math,a.g),b.J=Math.max.apply(Math,a.g),a.g=[])};
Ama=function(a,b){var c=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.il&&c--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||c++;this.g=Math.max(0,c);this.o=[];this.B=0;this.A=a;this.C="ULTRALOW"!=this.A.latencyClass&&(!b.g("html5_treat_latency_low_like_ultra_low")||!this.A.isLowLatencyLiveStream)};
qS=function(a){return(a.A.ua?FM(a.A.ua)||5:5)*a.g};
sS=function(a){this.g=new rS(0,0,null);this.B=8;this.D=[];this.A=[];this.C=this.G=window.NaN;this.J=this.o=this.I=0;this.F=window.NaN;this.N=0;this.L=void 0===a?!0:a};
tS=function(a){return{startTime:a.F/a.o,duration:a.J/a.o}};
uS=function(a){return!(0,window.isNaN)(a.C)&&a.o?a.C/a.o:a.N};
vS=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new rS(b,d,a.g);return 8};
wS=function(a){a.o&&!(0,window.isNaN)(a.G)&&(a.C=Math.floor(a.G*a.o),a.G=window.NaN)};
xS=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};
yS=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.D.push(b.getUint8(d));0<c&&a.A.push(new window.DataView(b.buffer,b.byteOffset,c))};
zS=function(a,b,c){return new WJ(b,c,a.g.size,a.g.type,!0)};
rS=function(a,b,c){this.type=a;this.size=b;this.g=c;this.offset=this.version=0};
Bma=function(a,b){this.o=a;this.D=this.C=!1;this.length=b?b:0;this.g=0;this.A=[];this.B=null;this.length?1!=this.o.length||this.o[0].gb||(this.o[0].gb=this.length):1==this.o.length||(0,g.Lr)(this.o,function(a){return!!a.range})};
Cma=function(a){var b=a.length-a.g;(0,g.H)(a.A,function(a){b+=a.range.length});
return b};
Dma=function(a,b,c,d,e){this.g=a;this.aa=b;this.ga=c;this.da=e;this.V=this.o=window.NaN;this.ea=0;this.J=this.L=this.A=this.D=window.NaN;this.ba=this.Y=this.B=!1;this.C=0;this.G=fN(this.g);this.O=this.N=window.NaN;this.I=d;this.F=null};
AS=function(a){return{rt:(((0,g.G)()-a.o)/1E3).toFixed(2),lb:a.A,pt:a.N.toFixed(2),pb:a.aa,stall:a.C.toFixed(2),elbowTime:((a.V-a.o)/1E3).toFixed(2),elbowBytes:a.ea}};
BS=function(a,b,c){var d=(b-a.D)/1E3,e=c-a.A;if(a.B)!a.I&&0<e&&(.2<d||1024>e?(a.C+=d,.2<d&&YM(a.g,.05,e)):YM(a.g,d,e),a.ba=!0);else if(c>=a.g.policy.g){if(!a.I){var f=a.g;f.C.g(1,(b-a.o)/1E3);ZM(f)}a.V=b;a.ea=c;a.B=!0}bN(a.g,d,e);a.D=b;a.A=c};
CS=function(a,b,c){c=Math.round(c/1024);if(a.F){var d=b-a.L,e=c-a.J;d=Math.min(d,4095);e=Math.min(e,4095);a.F.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(d>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(d&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(e>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(e&63))}a.L=b;a.J=c};
DS=function(a){return a.A>=a.g.policy.g};
ES=function(a){return Math.max(0,((0,g.G)()-a.L)/1E3)};
FS=function(a){var b=a.aa-a.A;b=1E3*(b*a.G.stall+b/a.G.byterate);var c=(0,g.G)();b=DS(a)?b+c:b+Math.max(c,a.o+1E3*a.G.delay);a.O=b};
GS=function(a,b,c,d,e,f){this.status=0;this.G=this.response=null;this.L=d;this.D=c;this.V=e;this.N=f;this.o=[];this.B=null;this.A=this.g=0;this.ya=Ema++;this.O=window.NaN;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(QE((0,g.A)(this.hT,this)),QE((0,g.A)(this.vo,this)));(0,g.G)();this.J=this.I=this.F=!1;b()};
IS=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(HS(a))};
JS=function(a,b){if(b.length+a.g>HS(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};
KS=function(a){a.C.read().then(QE((0,g.A)(a.hP,a)),QE((0,g.A)(a.qR,a)));var b=(0,g.G)();a.O=b};
LS=function(a){return a.En()?!1:a.N.na||a.N.zm&&(a=a.xh("content-type"))&&("audio/mp4"==a||"video/mp4"==a)?!0:!1};
HS=function(a){a=a.En()||0;return Math.max(16384,.125*a)};
MS=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.iM,this);this.B=d;this.D=c;this.C=e;a=QE((0,g.A)(this.gM,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",QE((0,g.A)(this.hM,this)),!1)};
NS=function(a,b,c,d){this.D=a;this.info=b;this.timing=c;this.V=d;this.state=1;this.g=null;this.N=this.J=0;this.L=new g.Ft(this.qT,a.da,this);this.C=this.A=this.G=null;this.B=0;this.F=this.o=null;this.I=0;this.O=!1};
OS=function(a){return a.A?ML(a.A.g):""};
PS=function(a){var b=AS(a.timing);b.shost=OS(a);b.rn=a.J.toString();a.B&&(b.rc=a.B.toString());b.itag=""+kJ(a.info.g[0].ma.info);b.ml=""+ +a.info.g[0].ma.Dd();410!=a.B&&500!=a.B&&503!=a.B||(b.fmt_unav="true");return b};
QS=function(a){OS(a);return vL(a.V,OS(a))};
RS=function(a){if(1==a.state)return!0;a=QS(a);return 100>a.uf&&6>a.g};
SS=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.B&&(c.B=!1)}a.G&&a.G(a)};
TS=function(a){return(0,g.Lr)(a.info.g,function(a){return 3==a.type})};
US=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.B&&(a.B=!1)};
WS=function(a){var b=a.g.xh("content-type"),c=a.g.En();b=!VS(a)||!b||-1!=b.indexOf("text/plain");c=a.D.na?!!c&&2048>=c:!c||2048>=c;(c=b&&c)&&VS(a)&&LS(a.g);return c};
VS=function(a){return a.g?a.g.UC():!1};
XS=function(a){return 2<=a.state&&!!a.o&&!!a.o.A.length};
YS=function(a,b){if(b||VS(a)&&!WS(a)){if(!a.o){var c;VS(a)||(c=a.g.Uq());a.o=new Bma(a.info.g,c)}for(;a.g.ls();){c=a.o;for(var d=a.g.MC(),e=b&&!a.g.ls(),f=0,k=0,l=g.ma(c.o),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.gb<=c.g)f+=m.gb;else{var n=c,q=m;if(1==q.type){n.C=!0;var r=!1}else 3==q.type||4==q.type?(q=n.C&&!n.D,n.D=!0,r=q):r=!1;n=c;var w=c.g-f,z=k;q=d;r=r||m.ma.Wz();var B=q.length-z;m.range&&(B=Math.min(m.gb-w,B));w=GK(m,m.Ua+w,B,m.range?m.Ua+w+B==m.range.length:!!e);var C=yK(q.byteOffset,
q.length);z=yK(q.byteOffset+z,B);n.A.push(new YK(w,q.buffer,z,C,r));n=B;c.g+=n;k+=n;f+=m.gb;if(k==d.length)break}}}};
ZS=function(a,b){g.tG.call(this);this.D=0;this.A=a;this.g=[];this.B=null;this.L=b;this.F=this.G=window.NaN;this.O=null;this.Y=(0,g.A)(function(a){this.A.pk&&(this.X("timestamprewrite",a),this.A.pk=!1)},this);
this.V=this.J=this.C=this.o=null;this.N=!1;this.I=null;this.A.Va&&(this.o=new sS(this.A.zb))};
$S=function(a){return a.g.length?a.g[0]:null};
aT=function(a){return a.g.length?a.g[a.g.length-1]:null};
Gma=function(a,b,c){b=Fma(a,b,c);(0,g.H)(b,function(b){a.g.push(b)})};
Hma=function(a){return(0,g.Hk)(a.g,function(a){return a.info.g})};
Ima=function(a,b){if(b){var c=g.fb(a.g,function(a){return a.info.g});
-1!=c&&(a.g=g.xb(a.g,0,c+1))}else a.g=[]};
Jma=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.B&&(b+=a.B.A.length);return b};
bT=function(a){return(0,g.J)(a.g,function(a){return a.info})};
cT=function(a){return a.o?uS(a.o):a.G||0};
Fma=function(a,b,c){if(!c.verify()||c.info.ma.ks()){var d=EK(c.info);d.verification="1";a.X("error",d||{})}c.je&&c.info.ma.info.video&&cM(c.info.ma,ZK(c));c.info.g&&(a.V=c.info);if(!a.L.we()){if(2==c.info.ma.info.containerType){var e=ZK(c);c.je&&c.info.ma.info.video&&QK(e);a.A.un&&0==c.info.Ua&&OK([408125543],307544935,e)}if(a.C){var f=c.info,k=a.C;f.va=k.o;f.B=k.A}var l=c;!a.J||(a.A.gd?CK(a.J,l.info,!0):DK(a.J,l.info))||(a.o&&a.o.reset(),a.G=window.NaN,a.D=0);a.J=l.info;if(a.o){var m;if(!(m=!(0,window.isNaN)(a.F))){var n=
a.o;m=!(!(0,window.isNaN)(n.C)||!(0,window.isNaN)(n.G))}if(m){var q=a.o;q.G=(0,window.isNaN)(a.F)?(0,window.isNaN)(a.G)?l.info.startTime:a.G:a.F;wS(q);a.F=window.NaN}var r=ZK(l);a.o.process(r);if((0,window.isNaN)(a.o.F))var w=null;else{var z=a.o;if(z.A.length)if(1==z.A.length){var B=z.A[0];z.A.length=0;var C=B}else{for(var N=0,da=g.ma(z.A),Ea=da.next();!Ea.done;Ea=da.next())N+=Ea.value.byteLength;var Ba=new window.Uint8Array(N),Ca=0,Me=g.ma(z.A);for(Ea=Me.next();!Ea.done;Ea=Me.next()){var Za=Ea.value;
Ba.set(new window.Uint8Array(Za.buffer,Za.byteOffset,Za.byteLength),Ca);Ca+=Za.byteLength}z.A.length=0;C=new window.DataView(Ba.buffer)}else C=null;var Qc=C;if(Qc){var Md=yK(Qc.byteOffset,Qc.byteLength),hg=GK(l.info,l.info.Ua+l.info.gb-a.o.D.length-Qc.byteLength,Qc.byteLength,l.info.g);w=new YK(hg,Qc.buffer,Md,Md,l.je)}else w=null}}else{var Mb=(0,window.isNaN)(a.F)?(0,window.isNaN)(a.G)?l.info.startTime:a.G:a.F;a.F=window.NaN;if(a.A.zb&&!aL(l,Mb)){var ob=EK(l.info);ob.smst=1;a.X("error",ob||{})}else a.G=
Mb+bL(l);w=l}var Vb=w;if(!Vb)return[];c=Vb;if(dT(a,c)){var ei=c;if(1==ei.info.ma.info.containerType){var Xg=ZK(ei),ac=hK(Xg,0,1701671783);if(ac){0==ac.data.getUint32(ac.g)&&ac.skip(4);ZJ(ac);ZJ(ac);YJ(ac);YJ(ac);YJ(ac);YJ(ac);var qj=new window.Uint8Array(new window.ArrayBuffer(ac.size-ac.o)),rj=new window.Uint8Array(ac.data.buffer,ac.offset+ac.o,ac.size-ac.o);qj.set(rj);ac.o=ac.size;var nd=ac.offset,sj=String.fromCharCode.apply(String,new window.Uint8Array(qj.buffer)),Vk=gK(sj);var Ne=Vk?new eK(Vk,
nd):null}else Ne=null}else{var mr=new IK(ZK(ei)),ira=mr.g;mr.g=0;var Y8=null;if(KK(mr,[408125543,307544935,29555,26568,17543])){var Hta=NK(mr,!0);var Ita=String.fromCharCode.apply(String,UK(mr,Hta));var Z8=gK(Ita);Y8=Z8?new eK(Z8):null}mr.g=ira;Ne=Y8}ei.o=Ne;if(c.o){a.C=c.o;a.N=!!a.o;var $8=c.info,a9=a.C;$8.va=a9.o;$8.B=a9.A;var b9=a.J,c9=a.C;b9.va=c9.o;b9.B=c9.A}}a.A.nk&&dT(a,c)&&vK(ZK(c),1701671783);var Sj=c;if(a.C){if(Sj.info.g){a.N=!1;a.I=null;var Jr=a.C;if(a.o){var d9=tS(a.o),e9=a.o;e9.F=window.NaN;
e9.J=0;var GO=d9.startTime;var f9=d9.duration}else{if(1==Sj.info.ma.info.containerType){for(var g9=Sj.info.ma.g,HO=window.NaN,Ow=window.NaN,Pw=0,h9=new window.DataView(Sj.g);mK(h9,Pw);){var Cl=nK(h9,Pw);1936286840==Cl.type?Ow=rK(Cl):1836476516==Cl.type?Ow=kK(Cl):1952867444==Cl.type&&(0,window.isNaN)(HO)&&(HO=qK(Cl));Pw=oK(Cl.type)?Pw+8:Pw+Cl.size}!Ow&&g9&&(Ow=lK(g9));var HD=HO/Ow}else{var Tj=new IK(ZK(Sj));var Jta=Sj.je?Tj:new IK(new window.DataView(Sj.info.ma.g.buffer));var Kta=WK(Jta),IO=Tj.g;Tj.g=
0;if(XK(Tj))if(MK(Tj,231)){var Lta=RK(Tj)*Kta/1E9;Tj.g=IO;HD=Lta}else Tj.g=IO,HD=window.NaN;else Tj.g=IO,HD=window.NaN}GO=HD||Sj.info.A;f9=bL(Sj)}var j9=eT(Jr,GO,f9,!1);a.X("segmentinfo",j9);var ID=Jr.g["Cuepoint-Type"]?new dK((0,window.parseFloat)(Jr.g["Cuepoint-Playhead-Time-Sec"])||0,(0,window.parseFloat)(Jr.g["Cuepoint-Total-Duration-Sec"])||0,Jr.g["Cuepoint-Context"]):null;ID&&(ID.Qe+=GO,a.X("cuepoint",ID,Jr.o));var k9=j9}else{if(a.N&&!(0,window.isNaN)(a.o.F)){var JO=eT(a.C,tS(a.o).startTime,
a.C.G,!0);a.I=JO;a.X("placeholderinfo",JO);a.N=!1;var l9=JO}else l9=null;k9=l9}var m9=k9}else m9=null;var KO=m9,n9=c;if(a.A.Af)if(KO){HK(n9.info,KO);for(var o9=g.ma(b.info.g),LO=o9.next();!LO.done;LO=o9.next())HK(LO.value,KO)}else a.I&&HK(n9.info,a.I);c.info.g&&(a.C=null)}var Qw=c;if(a.A.ym&&!a.L.we()&&(0==Qw.info.Ua||a.B)&&1==Qw.info.ma.info.containerType&&3==Qw.info.type&&!cL(Qw)&&Qw.info.duration&&!a.A.Va){var p9=c;a.D+=1E3*(bL(p9)-p9.info.duration);if(a.O&&Math.abs(a.D-a.O.D)>=a.A.qg){var Zn=
c,MO=(a.O.D-a.D)/1E3,q9=bL(Zn)+MO,Mta=new window.DataView(Zn.g),r9=jK(Mta,1936286840);var NO=r9?rK(r9):window.NaN;if((0,window.isNaN)(NO)){var s9=Zn.info.ma.g,Nta=new window.DataView(Zn.g),t9=jK(Nta,1836476516);NO=t9?kK(t9):s9?lK(s9):window.NaN}var JD=fT(a,Zn,q9*NO);if(JD&&JD.length){var OO=EK(Zn.info);OO.fds=q9.toFixed(3);OO.com=a.D.toFixed(3);a.X("timestamprewrite",OO);a.G+=MO;a.D+=1E3*MO}return JD?JD:gT(a,Zn)}}if(!a.L.we()&&a.L.info.bd&&a.A.Qg){var LD=c,Dl=hT(a,LD);if(Dl){var PO=hK(Dl,0,1718909296),
QO=hK(Dl,0,1836019574),MD=hK(Dl,0,1701671783),RO=hK(Dl,0,1836019558);if(PO&&QO&&RO){for(var w9=tK(Dl,QO),SO=tK(Dl,RO),x9=QO.size,y9=g.ma(SO),$n=y9.next();!$n.done;$n=y9.next()){var TO=$n.value;1886614376==TO.type&&(w9.push(TO),x9+=TO.size)}var z9=PO.size+x9+RO.size;MD&&(z9+=MD.size);var Rw=new $J(z9);bK(Rw,PO);cK(Rw,1836019574,w9);MD&&bK(Rw,MD);var A9=g.ma(SO);for($n=A9.next();!$n.done;$n=A9.next()){var ND=$n.value;1886614376==ND.type&&(ND.type=1936419184,ND.data.setUint32(ND.offset+4,1936419184))}cK(Rw,
1836019558,SO);var B9=Rw.data.buffer}else B9=null;var C9=B9;var UO=C9?iT(a,Dl,C9,LD):gT(a,LD)}else UO=gT(a,LD)}else{if(a.A.Ab&&a.L.we()&&(0==c.info.Ua||a.B)&&1==c.info.ma.info.containerType){var OD=c,Ota=OD.info.ma.index.Yq(OD.info.va),E9=fT(a,OD,Ota);var F9=E9?E9:gT(a,OD)}else F9=[c];UO=F9}return UO};
eT=function(a,b,c,d){return new TJ(a.o,b,c,a.ingestionTime,"sq/"+a.o,void 0,void 0,d)};
dT=function(a,b){return!a.L.we()&&3==b.info.type&&0==b.info.Ua&&(1==b.info.ma.info.containerType||2==b.info.ma.info.containerType)};
gT=function(a,b){if(a.B&&a.B!=b){var c=[a.B,b];a.B=null;return c}return[]};
fT=function(a,b,c){var d=hT(a,b);return d?(c=kka(d,c,a.Y,a.A.fd))?iT(a,d,c,b):null:null};
iT=function(a,b,c,d){b=uK(b);a.B&&(b-=a.B.range.length,a.B=null);a=$K(d,b);a[0].g=c;a[0].range=yK(0,c.byteLength);a[0].A=yK(0,c.byteLength);d=a[0];c=new window.DataView(c);c=!!hK(c,0,1836019574);d.je=c;return a};
hT=function(a,b){if(a.B){var c=a.B,d=new window.Uint8Array(c.range.length+b.range.length);d.set(new window.Uint8Array(c.g,c.range.start,c.range.length));d.set(new window.Uint8Array(b.g,b.range.start,b.range.length),c.range.length);c=new window.DataView(d.buffer);uK(c);return c}c=ZK(b);if((d=uK(c))&&d<c.byteLength)return c;a.B=b;return null};
jT=function(){this.g=this.o=!1};
kT=function(a,b){this.ba=a;this.Ta=b;this.A=[];this.o=new ZS(a,b);this.B=this.g=null;this.O=0;this.L=b.info.g;this.I=this.G=!1;this.F=new jT;this.N=0;this.D=b.pd();this.C=-1;this.J=0};
lT=function(a,b){a.A.push(b);a.g=g.eb(b.info.g)};
nT=function(a,b){for(;a.A.length&&6==a.A[0].state;){var c=a.A.shift();mT(a,c);var d=c.timing;a.O=(d.D-d.o)/1E3;a.G||(c=c.info,a.J=Math.max(a.J,Math.max(0,c.g[c.g.length-1].o-b)))}a.A.length&&XS(a.A[0])&&!BK(a.A[0].info.g[0])&&mT(a,a.A[0])};
mT=function(a,b){if(XS(b)){b.O=!0;var c=b.o,d=c.A;c.A=[];c.B=g.eb(d).info;(0,g.H)(d,(0,g.A)(a.Y,a,b))}};
qT=function(a,b){a.Ta.Dd();a.J=0;var c=oT(a,b);if(0<=c)return c;a.g=a.Ta.fh(b).g[0];pT(a)&&(a.B=null);a.N=0;return a.g.startTime};
Kma=function(a,b){var c=a.o.g.length?aT(a.o).info:a.B;if(b&&c&&!c.g){var d=c.va;c=[];for(var e=g.ma(a.A),f=e.next();!f.done;f=e.next())f=f.value,(0,g.Hk)(f.info.g,function(a){return a.va==d})?c.push(f):rT(a,f);
a.A=c;a.g=a.A.length?g.eb(g.eb(a.A).info.g):null}else sT(a)};
tT=function(a){var b=0;(0,g.H)(a.A,function(a){var c=b;a=a.o&&a.o.length?Cma(a.o):aM(a.info);b=c+a},a);
return b+=Jma(a.o)};
uT=function(a,b){var c=!!a.Ta.info.video&&!!a.B&&!a.B.g,d=1<=b&&c;Ima(a.o,d);a.G=d;Kma(a,2<=b&&c)};
vT=function(a){a.F.o||a.F.start();uT(a,0);pT(a)&&(a.B=null)};
pT=function(a){return!!a.B&&a.B.B};
wT=function(a){var b=[];a.B&&b.push(a.B);b=g.ub(b,bT(a.o));(0,g.H)(a.A,function(a){(0,g.H)(a.info.g,function(c){a.O&&(b=(0,g.Ld)(b,function(a){return!(a.ma!=c.ma?0:a.range&&c.range?a.range.start+a.Ua>=c.range.start+c.Ua&&a.range.start+a.Ua+a.gb<=c.range.start+c.Ua+c.gb:a.va==c.va&&a.Ua>=c.Ua&&(a.Ua+a.gb<=c.Ua+c.gb||c.g))}));
3!=c.type&&4!=c.type||b.push(c)})});
a.g&&!lka(a.g,g.eb(b),a.g.ma.we())&&b.push(a.g);return b};
xT=function(a){if(!a.g||!a.g.gb)return!1;var b=wT(a);if(!b.length)return!1;for(var c=1;c<b.length;c++){var d=1E-6>=Math.abs(b[c].A-b[c-1].o),e=b[c].A==b[c-1].A&&b[c].o==b[c-1].o&&b[c].va==b[c-1].va&&b[c].ma==b[c-1].ma&&b[c-1].Ua+b[c-1].gb==b[c].Ua;if(!(a.ba.Id?d||e:DK(b[c-1],b[c])))return!1}return!0};
oT=function(a,b){if(xT(a)){a:{var c=wT(a);c=g.ma(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.A<=b&&d.startTime+d.duration>=b){c=d;break a}c=null}if(c)return c.startTime}return window.NaN};
yT=function(a){return(0,g.Hk)(a.A,function(a){return 4<=a.state})};
zT=function(a){return!(!a.g||!a.Ta.Dd()||a.g.ma==a.Ta)};
AT=function(a){return zT(a)&&a.g.ma.info.g<a.Ta.info.g};
BT=function(a,b,c){return(a=aT(a.o)?aT(a.o).info:a.B)&&!a.B?a.o>b&&a.o<b+c:!1};
sT=function(a){(0,g.H)(a.A,function(a){rT(this,a)},a);
a.A=[];a.g=null};
rT=function(a,b){if(b.O){var c=a.o,d=b.info;c.N=!1;c.I&&(c.X("placeholderrollback",c.I),c.I=null);if(c.o){var e=window.NaN;(0,window.isNaN)(c.F)&&(e=d.g[0].range?d.g[0].A:tS(c.o).startTime);c.o.reset();c.J=c.V;(0,window.isNaN)(e)||(d=c.o,d.G=e,wS(d))}c.C=null}b.dispose()};
CT=function(a){return!!a.g&&-1!=a.g.va&&a.g.va<a.Ta.index.xg()};
DT=function(a){if(a.g){var b=aT(a.o);b&&3==b.info.type&&-1==a.g.va&&(a.g.va=b.info.va)}};
Lma=function(a,b){this.o=a;this.g=b;this.A=1};
FT=function(a,b,c,d,e){e=void 0===e?!1:e;d/=a.A;var f=cN(a.o)+1/eN(a.o);var k=Math.max(.9*(d-3),aN(a.o)+a.o.policy.g*f);c=k/f*a.g.xm/(b+c);c=Math.min(c,d);a.g.O&&e&&(c=Math.max(c,a.g.O));return ET(a,c,b)};
ET=function(a,b,c){b=Math.max(a.g.tm,Math.min(a.g.rk,b));return Math.min(a.g.J,Math.max(a.g.ib,Math.ceil(b*c)))};
Mma=function(a,b){return ET(a,b.video?2:a.g.Yc,b.g)};
GT=function(a){var b=eN(a.o),c=a.g.qk;if(a.g.pg)return b;var d=1E-9+aN(a.o)+c*cN(a.o);b*=Math.min(1,c/(b*d));a.g.Gc&&(c=((WM(a.o.g,.98)||0)-a.g.Ic)/(a.g.Pm-a.g.Ic),c=Math.max(0,Math.min(1,c)),b*=1-a.g.Gc*c);return b};
HT=function(a){return GT(a)/a.A};
Nma=function(a,b,c,d){this.ea=a;this.C=b;this.G=c;this.J=d;this.o=this.N=this.D=null;this.F="i";this.O=-1;this.g=this.B=null;this.A=[];this.ba={};this.V=this.Y=0;this.da=null;this.L=this.I=!1;this.aa=0};
Oma=function(a,b,c){"m"==c&&a.D.isLocked()&&!b.isLocked()&&(c="a");a.I=a.I||!1;if("m"==c&&b.isLocked())return a.F=c,IT(a,b),a.Y=a.A.length-1,JT(a),KT(a),a.L|=a.o!=a.g,a.o=a.g,new nS(a.B,a.o,c);var d=wJ(a.D,b);if("m"==a.F&&a.D.isLocked()&&d)return null;"r"!=c||d||(a.O=-1);IT(a,b);KT(a);if("r"==c&&a.g==a.o){if(d)return null;a.o=a.g;return new nS(a.B,a.g,c)}a.F=c;LT(a);return null};
MT=function(a){return!!a.V&&1E4>=(0,g.VG)()-a.V};
NT=function(a){return a.D.isLocked()};
LT=function(a){a.o&&a.g&&OT(a,a.o.info)<OT(a,a.g.info)&&(a.I|="r"==a.F,a.I=a.C.re?a.I|("v"==a.F&&a.g.info.video.width>a.o.info.video.width):a.I|a.g.info.video.width>1.6*a.o.info.video.width)};
PT=function(a){var b=a.F;a.F="a";a.O=(0,g.VG)();a.I=!1;return new nS(a.N,a.o,b)};
IT=function(a,b){a.D=b;var c=a.J.videoInfos;if(!NT(a)&&(c=(0,g.Ld)(c,function(a){return a.g>this.C.D||4<this.G.g[a.id].A.g?!1:!0},a),MT(a))){c=(0,g.Ld)(c,function(a){return a.id!=this.da.id},a);
var d=(0,g.Ld)(c,function(a){a=kJ(a);return"140"==a||"134"==a||"243"==a});
d.length&&(c=d)}c.length||(c=a.J.videoInfos);d=(0,g.Ld)(c,b.B,b);d.length||(d=[c[0]]);d.sort((0,g.A)(function(a,b){return OT(this,a)-OT(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.rb(d,c),c--):OT(a,e)*a.C.g>OT(a,f)&&(g.rb(d,c-1),c--)}c=d[d.length-1];a.A=d;ska(a.C,c)};
Pma=function(a,b){if(b)a.B=a.G.g[b];else{var c=g.gb(a.J.g,function(a){return!!a.Sc&&a.Sc.isDefault});
c=c||a.J.g[0];a.B=a.G.g[c.id]}JT(a)};
JT=function(a){if(!a.B.info.Sc&&(a.B=a.G.g[a.J.g[0].id],1<a.J.g.length)){if(a.D.isLocked())var b=240>a.D.g;else{for(b=0;b+1<a.A.length&&"tiny"==a.A[b].video.quality;)b++;var c=HT(a.ea)/a.C.g;b=OT(a,a.B.info)+OT(a,a.A[b])>c}b&&(a.B=a.G.g[a.J.g[1].id])}};
KT=function(a){if(NT(a))a.g=a.G.g[a.A[a.A.length-1].id];else{for(var b=Math.min(a.Y,a.A.length-1),c=HT(a.ea),d=OT(a,a.B.info),e=c/a.C.A-d;0<b&&!(OT(a,a.A[b])<=e);b--);for(c=c/a.C.g-d;b<a.A.length-1&&!(OT(a,a.A[b+1])>=c);b++);a.g=a.G.g[a.A[b].id];a.Y=b;LT(a)}};
Qma=function(a){var b=a.C.A,c=HT(a.ea)/b-OT(a,a.B.info);b=g.ib(a.A,function(a){return OT(this,a)<c},a);
0>b&&(b=0);a.Y=b;a.g=a.G.g[a.A[b].id]};
OT=function(a,b){if(!a.C.V)return b.g;if(!a.ba[b.id]){var c=a.G.g[b.id].index.Rx(a.aa,a.C.V);c=b.A&&a.o&&a.o.index.Sb()?c||b.A:c||b.g;a.ba[b.id]=c}return a.ba[b.id]};
Rma=function(){this.g=this.o=0;this.A=[]};
QT=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
RT=function(a,b,c,d){this.o=a;this.D=b;this.C=d;this.B=c;this.g=0};
Sma=function(a,b){this.o=a;this.I=b;this.F=this.D=this.G=this.g=null;this.B=this.A=window.NaN;this.C=!1};
Tma=function(a,b,c){var d=(0,g.G)()/1E3-a.B<a.o.Ib;if(d&&!a.g.la()&&!(5<=a.g.state)&&ES(a.g.timing)<a.A)return window.NaN;var e=ST(a,a.D,a.F);if((0,window.isNaN)(e))return TT(a),window.NaN;if($S(b.o)==a.G||(0,window.isNaN)(c)||c<e)return d?a.C=!0:TT(a),window.NaN;TT(a);return e};
TT=function(a){a.g=null;a.G=null;a.D=null;a.F=null;a.A=window.NaN;a.B=window.NaN;a.C=!1};
ST=function(a,b,c){b=(0,g.G)()/1E3-(a.I.o()||0)-b.C-a.o.Cm;if(0>=b)return window.NaN;var d=c.ma.index;if(!gM(d,c.va,!0))return window.NaN;var e=d.getDuration(c.va);c=d.lf(c.va);a=Math.min(c+b,c+e-a.o.Bm);return a<=c?window.NaN:a};
Uma=function(){this.g=[];this.o=g.dS};
UT=function(a,b){for(var c=[],d=g.ma(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
Vma=function(a){return a.g.slice(VT(a,0x7ffffffffffff),a.g.length)};
VT=function(a,b){var c=Db(a.g,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
WT=function(a,b){for(var c=void 0,d=g.ma(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};
XT=function(a,b,c,d){g.K.call(this);this.B=window.NaN;this.I=!1;this.G=null;this.J=this.L=this.C=!1;this.ba=a;this.Y=b;this.N=c;this.V=d;this.O=new g.Ft(this.A,250,this);g.L(this,this.O);this.F=new g.Ft(this.A,0,this);g.L(this,this.F);this.o=[];this.g=new Uma};
ZT=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.ma(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):Hb(c.g,e,c.o);a.B=window.NaN;a.A()};
Wma=function(a,b){var c=(0,g.Ld)(a.g.g,function(a){return a.namespace==b});
a.D.apply(a,c);return c};
Xma=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};
Yma=function(a,b){var c=[];if(!b.length)return c;b.sort(g.dS);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};
$T=function(a,b,c,d,e){g.tG.call(this);this.N=a;this.B=b;this.D=c;this.Za=e||null;this.g=this.A=null;this.G=new Lma(a,b);this.o=null;this.F=new Nma(this.G,b,this.D,d);this.V=new g.Ft(this.ie,0,this);g.L(this,this.V);this.ga=new g.Ft(this.ie,1E3,this);g.L(this,this.ga);this.bb=new g.Ft(this.ie,void 0,this);g.L(this,this.bb);this.Oa=new g.Ft(this.ie,1E4,this);g.L(this,this.Oa);this.C=window.NaN;this.O=!1;this.J=window.NaN;this.Sa=0;this.Y=this.I=!1;this.ib={};this.da="";this.na=this.pa=0;this.Ra=b.Pg?
new Rma:null;this.Ha=new TM(5);this.sa=!1;this.Ma={};this.Aa="";this.ra=window.NaN;this.ba=!1;a=this.B;this.L=a.ra&&this.D.o?new Sma(a,this.Ha):null};
aU=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.C;var c=a.g;var d=a.F;if(d.C.V){var e=d.g&&d.g.index.gh(b)||0;d.aa!=e&&(d.ba={},d.aa=e,IT(d,d.D))}!NT(d)&&-1<d.O&&(0,g.VG)()-d.O<1E3*d.C.Og||(d.V&&!MT(d)&&(d.V=0,IT(d,d.D)),JT(d),KT(d),d.L|=d.g!=d.o);d.g.index.Sb()||(d.aa=-1);d=d.g;c.Ta!=d&&(c.Ta=d);c=a.A;d=a.F.B;c.Ta!=d&&(c.Ta=d)};
g.cU=function(a,b){var c=a.g.Ta.info.mimeType;b.g=b.A.addSourceBuffer(a.A.Ta.info.mimeType);b.I?b.o=b.A.addSourceBuffer(c):b.o=new iL;a.o=b;a.A.I=!1;a.g.I=!1;a.A.B=null;a.g.B=null;a.resume();sL(b)&&(b.g.addEventListener("updateend",(0,g.A)(a.ie,a),!1),b.o.addEventListener("updateend",(0,g.A)(a.ie,a),!1),b.g.addEventListener("error",(0,g.A)(a.Bo,a,!0),!1),b.o.addEventListener("error",(0,g.A)(a.Bo,a,!1),!1));bU(a,"msa");g.IP("msa",void 0,"video_to_ad");NP.measure&&NP.getEntriesByName("mark_vta").length&&
NP.measure("measure_vta_to_msa","mark_vta");a.ha&&a.aa&&(c=g.x("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.ie()};
eU=function(a){a.o&&a.o.g&&a.o.g.removeEventListener&&(a.o.g.removeEventListener("updateend",(0,g.A)(a.ie,a),!1),a.o.o.removeEventListener("updateend",(0,g.A)(a.ie,a),!1),a.o.g.removeEventListener("error",(0,g.A)(a.Bo,a,!0),!1),a.o.o.removeEventListener("error",(0,g.A)(a.Bo,a,!1),!1));a.o=null;a.I=!0;dU(a)};
fU=function(a){a.o&&pL(a.o)&&eU(a)};
gU=function(a,b,c){if(!b.F.o||!c.remove)return!1;if(c.updating)return!0;if(!b.F.g&&c.buffered.length)return a=c.buffered.end(c.buffered.length-1),c.remove(0,a),b.F.g=!0;b.F.reset();a.X("seekelementrequired");return!1};
iU=function(a,b,c){if(a.I&&!gN(a.N))return!1;if(a.D.o){if(1<a.B.kb&&0<b.A.length&&b.g&&-1==b.g.va||b.A.length>=a.B.kb&&!a.B.ga)return!1;if(b.D)return!(0,window.isNaN)(a.ra)}if(!(b.g||a.D.o&&a.B.ga&&b.D)){if(!b.Ta.Dd())return!1;qT(b,a.C)}var d=b.A.length+c.A.length;(yT(b)||yT(c)||a.D.isLive&&(!a.B.ga||!b.A.length))&&--d;if(d+1>=a.B.Mg)return!1;d=b.g;if(!d)return!0;if(!YL(d.ma.A))return!1;4==d.type&&d.ma.Dd()&&(b.g=g.eb(d.ma.To(d)),d=b.g);!d.B&&!d.ma.Bi(d)||d.ma.info.audio&&4==d.type?a=!1:AT(b)&&!a.B.N?
a=!0:(!(c=d.B||tT(b)+tT(c)>a.B.ba||!!(c.g&&!c.g.B&&c.g.o<d.o)&&(!a.D.o||c.g.o&&d.o))&&(c=3==d.type)&&(d=d.o,b=hU(a,b,!0),!NT(a.F)&&0<a.B.L&&(c=((0,g.VG)()-a.Sa)/1E3,b=Math.min(b,a.B.L+a.B.Jb*c)),b=a.C+b,a.B.Ra?(c=Math.min(b,Zma(a)+a.B.Ra),c!=b&&a.th("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a};
jU=function(a,b,c){if((!a.o||oL(a.o)||sL(a.o))&&!a.O&&a.F.I){var d=a.C;a=a.G;c=FT(a,b.Ta.info.g,c.Ta.info.g,0);var e=aN(a.o)+c*cN(a.o)+c/eN(a.o);d+=Math.max(e,e+a.g.Oa-c/b.Ta.info.g);a:{if(b.A.length){if(b.A[0].info.g[0].startTime<=d)break a;sT(b)}a=b.o;for(c=a.g.length-1;0<=c;c--)a.g[c].info.startTime>d&&a.g.pop();b.A.length?b.g=g.eb(g.eb(b.A).info.g):b.o.g.length?b.g=aT(b.o).info:b.g=b.B;b.g&&d<b.g.startTime&&(b.N=0,b.g=b.Ta.fh(d,!0).g[0])}}};
mU=function(a,b,c){iU(a,b,c);var d=b.g;if(b.D)a.sa=!0,d=b.Ta.fh(window.Infinity),d.A=a.ra;else if(b.g.ma.Dd()){!AT(b)||a.B.N||a.D.o||(jU(a,b,c),b.g||qT(b,a.C));d=b.g;var e=d.o-a.C,f=!d.range||0==d.gb&&0==d.Ua?0:d.range.length-(d.Ua+d.gb);if(zT(b)){var k=Math.min(a.B.sa,.5*hU(a,b,!0));k=AT(b)||e<=k}else k=!1;k&&0==f&&(a.D.o?d.ma=b.Ta:(f=d.startTime+kU,d.gb&&(f+=d.duration),qT(b,f),d=b.g));d.ma.we()?(f=a.F,c=FT(a.G,d.ma.info.g,c.Ta.info.g,e,0<f.A.length&&0==f.Y&&a.Y),e=zT(b),c=d.ma.Ai(d,c),c.range&&
1<c.g.length&&(e||c.o.g?c=d.ma.Ai(d,c.g[0].gb):(e=c.g[c.g.length-1],f=e.gb/c.range.length,!e.g&&f<a.B.pa&&(c=d.ma.Ai(d,c.range.length-e.gb)))),d=c):d=d.ma.vl(d)}else d.ma.we()?(c=FT(a.G,b.Ta.info.g,c.Ta.info.g,0),d=d.ma.Ai(d,c)):d=d.ma.vl(d);lT(b,lU(a,d))};
lU=function(a,b){if(3==b.g[b.g.length-1].type){a:{var c=a.F;var d=b.g[0].ma;if(d.info.video){if(c.o!=d){c.o=d;c=PT(c);break a}}else c.N=d;c=null}c&&a.X("videoformatchange",c)}c=aM(b);d=a.N;var e=a.G,f=Math.min(2.5,aN(e.o));e=GT(e);c=new Dma(d,c,c-f*e,a.B.Dm&&a.sa,BK(b.g[0]));a.B.yf&&(c.F=[]);c=new NS(a.B,b,c,a.Ma);d=(0,g.A)(a.CR,a);c.G=d;c.start(Math.max(0,b.g[0].A-a.C));b.g[0].ma.info.video&&(d=OS(c))&&(a.Aa=d.substr(0,d.indexOf(".")));return c};
$ma=function(a){if(a.D.B)return!1;var b;if(b=a.O){if(b=0<a.B.ea){b=a.G;var c=a.g,d=a.A,e=a.B.ea;if(0==c.A.length&&0==d.A.length)b=!0;else{var f=0,k=bT(c.o).concat(bT(d.o));k=g.ma(k);for(var l=k.next();!l.done;l=k.next())f+=l.value.gb;c=c.Ta.info.g+d.Ta.info.g;f/=c;b=f>e?!0:c*(e-f)/HT(b)<e}b=!b}b||(b=a.g,b=0<b.A.length&&1==b.o.g.length&&$S(b.o).info.C<b.O)}if(b)return!0;if(!a.Y||!a.B.I||10>a.C||360<a.g.Ta.info.video.o)return!1;b=BT(a.g,a.C,a.B.I)||BT(a.A,a.C,a.B.I);return(0<a.g.A.length||0<a.A.A.length||
iU(a,a.g,a.A)||iU(a,a.A,a.g))&&b};
oU=function(a,b,c,d){if(c.updating)return!0;var e=$S(b.o);if(!e)return!1;!b.B||b.B.g||CK(b.B,e.info)||(b.B=null,oL(a.o)&&c.abort(),c.g=null);var f=a.D.isLive&&cL(e);a.B.Za&&a.D.B&&0==e.info.Ua&&1==e.info.ma.info.containerType&&(null==c.g?null!=b.B&&b.B.ma==e.info.ma:c.g==e.info.ma.g)&&(vK(ZK(e),1836019574),vK(ZK(e),1718909296),e.je=!1);if(!a.D.B||0==e.info.Ua)if(f||a.D.o||e.je)c.g=null;else if(e.info.ma.Dd(),f=e.info.ma.g,null==f||c.g==f?f=!1:(nU(a,c,f),c.g=f,a.X("initsegment",c.g),f=c.updating),
f)return!0;f=hU(a,b,!1);f=a.C+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.L)a:if(a.L.g&&b.Ta.info.audio){if((f=$S(b.o))&&(f=f.o)&&null!=f.B){f=f.B-1;break a}f=-1}else f=window.Infinity;else f=window.Infinity;if(b.G)d=$S(b.o).range;else{var k=b.o;if(!k.g.length||k.g[0].info.A>=d)d=null;else{var l=k.g[0].je?0:k.g[0].range.start;if(l>f)d=null;else{var m;for(m=1;m<k.g.length;m++){var n=k.g[m].range.start>f,q=k.g[m].g!=k.g[m-1].g;if(k.g[m].info.A>d||n||q||k.A.Ab)break}m--;d=new g.wK(l,Math.min(k.g[m].range.end,
f))}}}if(!d)return!1;f=new window.Uint8Array(e.g,d.start,d.length);if(a.Ra&&e.info.ma.info.video&&1==e.info.ma.info.containerType&&(k=a.Ra,0==e.info.Ua&&(k.o=0,k.g=0,k.A.length=0),!((0,window.isNaN)(k.o)||8>f.length))){l=new window.DataView(f.buffer,f.byteOffset);for(m=!1;!m;)if(k.o==k.g)a:if(m=k,n=f.length,m.o+7>=n){for(q=m.o;q<n;q++)m.A.push(l.getUint8(q));m=!0}else{if(0<m.A.length){for(q=0;8>m.A.length;q++)m.A.push(l.getUint8(q));var r=QT(m.A,0);q=QT(m.A,4);m.A.length=0}else r=l.getUint32(m.g),
q=l.getUint32(m.g+4);if(1836019558==q||1836019574==q||1718909296==q||1936286840==q)m.o+=r,m.g=m.o;else if(1835295092==q)m.o+=r,m.g+=8;else{m.o=window.NaN;m=!0;break a}m=m.g>=n}else a:if(m=k,n=f.length,m.g+5>=n){for(q=m.g;q<n;q++)m.A.push(l.getUint8(q));m=!0}else{if(0<m.A.length){for(q=0;6>m.A.length;q++)m.A.push(l.getUint8(q));q=QT(m.A,0);12==q&&6==m.A[4]&&45==m.A[5]&&l.setUint8(m.g+5,63);m.g+=q+4;m.A.length=0}for(;m.g<m.o&&m.g+5<n;){q=l.getUint32(m.g);if(0>=q){m.o=window.NaN;m=!0;break a}12==q&&
6==l.getUint8(m.g+4)&&45==l.getUint8(m.g+5)&&l.setUint8(m.g+5,63);m.g+=q+4}m=m.g>=n}(0,window.isNaN)(k.o)||(k.o-=f.length,k.g-=f.length)}k=!1;3!=e.info.type||1!=e.info.ma.info.containerType&&2!=e.info.ma.info.containerType||(k=1==e.info.ma.info.containerType&&a.B.Sq&&!b.I&&0==e.info.Ua&&0<e.info.startTime)&&aL(e,0);f=nU(a,c,f);if(0!=f){if(2!=f)if(e.info.ma.info.video?(l=a.B,l.B=Math.floor(.8*l.B),l.G=Math.floor(.8*l.G)):(l=a.B,l.C=Math.floor(.8*l.C),l.aa=Math.floor(.8*l.aa)),l.o=Math.floor(.8*l.o),
1==f&&c.remove&&!c.updating){f=!1;l=c.buffered.length;for(m=0;!f&&m<l;m++)c.buffered.start(m)>e.info.o&&(c.remove(c.buffered.start(m),c.buffered.end(l-1)),f=!0);f||c.remove(0,e.info.startTime-5)}else vT(b);f=!1}else f=!0;if(!f)return!1;b.I=!0;if(k)aL(e,e.info.startTime),c.abort(),c.g=null;else{f=b.o;for(k=[];f.g.length&&(f.g[0].range.end>d.end?(m=$K(f.g[0],d.end-f.g[0].range.start+1),l=m[0],f.g[0]=m[1]):l=f.g.shift(),k.push(l),l.range.end!=d.end););k.length&&(0,g.H)(k,b.aa,b)}e.je&&e.info.ma.g&&(c.g=
e.info.ma.g,a.X("initsegment",c.g));return!0};
pU=function(a,b,c){Yka(a.D,b,c)&&a.B.ha&&a.ba&&c&&(a.ba=!1,g.Uf(function(){a.la()||a.X("seekplayerrequired",b.startTime+.1,!0)}))};
nU=function(a,b,c){try{sL(a.o)?b.appendBuffer(c):b.append(c)}catch(d){if(11==d.code)return qU(a,!1,"html5.invalidstate",{updating:""+ +b.updating,mrs:a.o.A.readyState}),2;if(22!=d.code&&0!=d.message.indexOf("Not enough storage"))return g.PE(d),4;a.B.zf&&a.th("quex","br."+UQ(b.buffered).replace(/,/g,"_"));return 1}return pL(a.o)?3:0};
rU=function(a,b){b.o.subscribe("error",a.xQ,a);b.o.subscribe("timestamprewrite",a.BQ,a);var c=(0,g.A)(a.yQ,a,b);b.o.subscribe("placeholderinfo",c,void 0);c=(0,g.A)(a.zQ,a,b);b.o.subscribe("placeholderrollback",c,void 0);c=(0,g.A)(a.AQ,a,b);b.o.subscribe("segmentinfo",c,void 0);b==a.g&&b.o.subscribe("cuepoint",a.wQ,a)};
hU=function(a,b,c){if(a.I)return 1;var d=b.Ta.info.audio?a.B.C:a.B.B;!a.B.N&&NT(a.F)&&(d=Math.max(d,b.Ta.info.audio?a.B.aa:a.B.G));c&&(d+=a.B.ba);c=NT(a.F)?b.g?b.g.ma.info.g:b.Ta.info.g:b.L;d/=c;0<a.B.Ma&&a.o&&oL(a.o)&&(b=b.Ta.info.video?a.o.o:a.o.g)&&!b.updating&&(c=PQ(b.buffered,a.C),0<=c&&(b=a.C-b.buffered.start(c),d+=Math.max(0,Math.min(b-a.B.Ma,a.B.Ng))));0<a.B.o&&(d=Math.min(d,a.B.o));a.B.Aa&&!NT(a.F)&&(b=a.F,b=OT(b,g.eb(b.A))+OT(b,b.J.g[0]),c=a.B.Aa*(b/GT(a.G)),c<d&&25>c&&a.th("bwcapped","1",
!0),c=Math.max(c,25,2.5*a.B.J/b),d=Math.min(d,c));return d};
Zma=function(a){if(!a.Za)return window.Infinity;var b=(0,g.Ld)(a.Za.g.g,function(a){return"ad"==a.namespace});
b=g.ma(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.C)return c.start/1E3;return window.Infinity};
sU=function(a,b,c){var d=(0,g.A)(a.X,a,"error");a=a.B.bb?(0,g.A)(a.th,a,"pathprobe"):null;(new RT(b,c,a,d)).send()};
tU=function(a,b,c,d){if(b.Ta.Dd())if(d){var e=QQ(d.buffered,c),f=window.NaN,k=b.B;k&&(f=QQ(d.buffered,k.ma.index.lf(k.va)));if(e==f&&xT(b))return c;d=oT(b,c);if(0<=d)return d;uT(b,b.Ta.we()?1:2);b.Ta.info.video&&b.B&&!b.B.g&&!Hma(b.o)&&b.Ta.we()&&(d=b.B,b.o.g.length&&(d=aT(b.o).info),d=b.g||d,d=d.ma.Ai(d,d.range.length-(d.gb+d.Ua)),lT(b,lU(a,d)));if((0,window.isNaN)(e))return qT(b,c);qT(b,e+kU)}else qT(b,c);else 0!=c&&sT(b);return c};
uU=function(a,b,c){b.Ta.Dd()||b.Ta.F||!YL(b.Ta.A)||(c=b.Ta.In(c?Mma(a.G,b.Ta.info):0),(0,g.H)(c,function(a){if("f"!=a.g[0].ma.info.o){var c=lU(this,a);!BK(a.g[a.g.length-1])&&lT(b,c)}},a),b.Ta.F=!0)};
qU=function(a,b,c,d){a.la()||(a.X("error",new g.CO(c,b,d)),b&&a.dispose())};
vU=function(a){var b={lct:a.C.toFixed(3),lsk:a.O,lmf:NT(a.F),lbw:dN(a.N).toFixed(3),lhd:aN(a.N).toFixed(3),lst:(1E9*cN(a.N)).toFixed(3),laa:a.A.B?FK(a.A.B):"",lva:a.g.B?FK(a.g.B):"",lar:a.A.g?FK(a.A.g):"",lvr:a.g.g?FK(a.g.g):"",lvh:a.Aa};a.o&&!pL(a.o)&&(b.lab=UQ(a.o.g.buffered),b.lvb=UQ(a.o.o.buffered));return b};
bU=function(a,b,c){a.ib[b]=c?window.performance.timing.navigationStart+c:(0,g.VG)()};
dU=function(a){a.A&&uT(a.A,0);a.g&&uT(a.g,0)};
wU=function(a,b,c){if(!b||!c)return!0;c=-1!=PQ(c.buffered,a);var d=aT(b.o)?aT(b.o).info.o>=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)};
ana=function(a,b){var c=new g.uL;c.Jb=a.experiments.o("html5_throttle_rate")||c.Jb;a.experiments.g("html5_streaming_xhr")&&(c.F=!0);a.experiments.g("html5_streaming_debug")&&(c.F=!0,c.Va=!0);c.rs=a.experiments.g("html5_use_long_term_bandwidth_estimator");c.I=a.experiments.o("html5_min_buffer_to_resume");c.Gc=a.experiments.o("html5_variability_discount");c.Ic=a.experiments.o("html5_variability_no_discount_thresh");c.Pm=a.experiments.o("html5_variability_full_discount_thresh");a.experiments.o("html5_max_av_sync_drift")&&
(c.qg=a.experiments.o("html5_max_av_sync_drift"));var d=a.schedule;d.o.o()==d.policy.B?c.L=10:c.L=a.experiments.o("html5_throttle_burst_secs")||c.L;a.experiments.o("html5_min_secs_between_format_selections")&&(c.Og=a.experiments.o("html5_min_secs_between_format_selections"));c.V=a.experiments.o("html5_local_max_byterate_lookahead");c.ga=a.experiments.g("html5_stop_overlapping_requests");c.Ma=a.experiments.o("html5_min_readbehind_secs");c.Ng=a.experiments.o("html5_min_readbehind_cap_secs");c.ea=a.experiments.o("html5_min_startup_smooth_target")||
c.ea;c.Aa=a.experiments.o("html5_max_readahead_bandwidth_cap");c.fd=a.experiments.g("disable_html5_copy_pre_moof");c.Rg=a.experiments.g("html5_disable_audio_append_cap");c.gd=a.experiments.g("html5_disable_non_contiguous");c.Ra=a.experiments.o("html5_post_interrupt_readahead");c.re=a.experiments.g("html5_disable_urgent_upgrade_for_quality");c.zf=a.experiments.g("html5_log_quota_exceeded");c.Ha=a.experiments.o("html5_repredict_misses")||c.Ha;c.Cm=a.experiments.o("html5_subsegment_readahead_target_buffer_health_secs");
c.Ib=a.experiments.o("html5_subsegment_readahead_timeout_secs");c.Am=a.experiments.o("html5_subsegment_readahead_progress_timeout_fraction");c.Bm=a.experiments.o("html5_subsegment_readahead_tail_margin_secs");c.Id=a.experiments.g("disable_html5_new_contiguity_logic");c.na=a.experiments.g("html5_assume_alrs_have_content_length");c.Sa=a.experiments.o("html5_fallback_probe_ms");c.zm=a.experiments.g("html5_streaming_xhr_optimize_lengthless_mp4");c.ib=1024*a.experiments.o("html5_min_request_size_kb")||
c.ib;c.O=a.experiments.o("html5_hopeless_mode_request_size_secs");c.pa=a.experiments.o("html5_capstone_avoidance_tolerance")||c.pa;if(tF()||a.experiments.g("dash_html5_safari8_workarounds"))c.Ab=!0;if(lF("trident/")||lF("edge/"))c.o=240;g.qh&&(c.G=41943040);g.aO(a)||!rL()?(c.B=8388608,c.C=524288,c.Yc=5,c.ba=2097152,c.J=1048576,c.tm=1.5,c.rk=15,c.N=!rL(),c.Sg=!1,c.D=4587520,rF()&&(c.D=786432),c.g*=1.1,c.A*=1.1,c.Za=!0,c.G=c.B,c.aa=c.C):a.isMobile&&(c.g*=1.3,c.A*=1.3);qF()&&(d="CHROMECAST/ANCHOVY"==
a.o.cmodel,c.B=20971520,c.C=1572864,d&&(c.D=812500,c.da=1E3));(d=BO(a))||(d=lF("smart-tv")&&lF("samsung")&&/(J\d{3}|JS\d{3}|JU\d{3})/.test(a.o.cmodel));d&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&(c.Qg=!0);c.Dr=a.C;c.Pg=!a.experiments.g("disable_fpa_sei_removal")&&lF("windows nt")&&(b.ri()||b.Nf());d="ULTRALOW"==b.latencyClass||a.experiments.g("html5_treat_latency_low_like_ultra_low")&&b.isLowLatencyLiveStream;b.pd()&&(a.experiments.g("disable_html5_manifestless_delay")||(c.pg=!0),c.ym=
!1,a.experiments.g("html5_manifestless_always")&&(c.zb=!1,c.ha=!0),!a.experiments.g("html5_pipeline_manifestless")||"ULTRALOW"!=b.latencyClass&&"LOW"!=b.latencyClass||(c.kb=2,c.Mg=4));a.isAd()&&(c.I=0,c.O=0);(a.experiments.g("html5_streaming_response_mediastream_rewrite_v2")||a.experiments.g("html5_ultra_low_latency_streaming_responses")&&d)&&b.tb&&b.tb.videoInfos.length&&1==b.tb.videoInfos[0].containerType&&b.pd()&&!g.mF()&&(c.F=!0,c.Va=!0);c.ra=a.experiments.g("html5_enable_subsegment_readahead_v3")||
a.experiments.g("html5_ultra_low_latency_subsegment_readahead")&&d;c.Af=(a.experiments.g("html5_manifestless_accurate_sliceinfo")||c.ra)&&b.pd();/^re/.test(b.clientPlaybackNonce)&&(c.Rh=!0,c.bb=!0);c.Y=b.kh&&!a.experiments.g("disable_rqs");c.yf=c.Y&&/^rq[a-f]/.test(b.clientPlaybackNonce);/^pp/.test(b.clientPlaybackNonce)&&(c.qs=!0,c.bb=!0);BO(a)&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&b.ua&&uM(b.ua)&&(c.Za=!1);a.schedule.policy.A=b.pd()?.5:0;if(d=a.experiments.o("html5_deadzone_multiplier"))c.g*=
d,c.A*=d;if(d=a.experiments.o("html5_request_sizing_multiplier"))c.xm=d;a.experiments.g("html5_strip_emsg")&&(c.nk=!0);a.experiments.g("html5_do_not_void_tags")&&(c.un=!1);c.o=a.experiments.o("html5_max_buffer_duration")||c.o;c.sa=a.experiments.o("html5_max_buffer_health_for_downgrade")||c.sa;c.Oa=a.experiments.o("html5_min_upgrade_health")||c.Oa;a.experiments.g("disable_html5_streaming_response_timing")&&(c.Dm=!1);pN(a.L,BN)&&(c.D=window.NaN);return c};
bna=function(a,b,c){this.url=a;this.interval=b;this.g=c};
cna=function(a,b){this.message=a;this.number=b;this.g=new AC(5E3,2E4,.2)};
dna=function(a,b,c,d){this.statusCode=a;this.statusMessage=b;this.headers=c;this.message=d};
ena=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=db(e[1]);e=e[2];b=gK(b.slice(d+2));return null==b?null:new dna(f,e,b,a.subarray(c+4))};
xU=function(a,b,c,d,e){g.K.call(this);this.C=a;this.L=b;this.G=c;this.g=d;this.o=e;this.sessionId="";this.A=this.J=this.I=this.D=this.F=null;this.B=new g.qG(this);g.L(this,this.B);this.g?(this.B.P(this.g,"message",this.nM),this.B.P(this.g,"keystatuseschange",this.oM)):this.o&&(rG(this.B,this.o,["mskeymessage","webkitkeymessage"],this.yB),rG(this.B,this.o,["mskeyerror","webkitkeyerror"],this.xB),rG(this.B,this.o,["mskeyadded","webkitkeyadded"],this.wB))};
yU=function(a){return!(!a.g||!a.g.keyStatuses)};
zU=function(a){return g.he(a,!0).replace(/[\.]{1,2}$/,"")};
AU=function(a,b){this.g=a;this.contentType=(void 0===b?"":b)||null;this.o=this.C=window.NaN;this.A=!1;this.B=[]};
BU=function(a,b){g.K.call(this);this.o=a;this.g=b;this.F={};this.B=null;this.C=new g.qG(this);g.L(this,this.C);this.A=this.D=null};
CU=function(a){if(a.g.A)return a.g.A.createMediaKeys().then(QE(function(b){a.la()||(a.D=b,a.o.setMediaKeys(b))}));
LM(a.g)?a.A=new (KM())(a.g.o):NM(a.g)?(a.A=new (KM())(a.g.o),a.o.webkitSetMediaKeys(a.A)):fna(a);return null};
fna=function(a){rG(a.C,a.o,["keymessage","webkitkeymessage"],a.J);rG(a.C,a.o,["keyerror","webkitkeyerror"],a.I);rG(a.C,a.o,["keyadded","webkitkeyadded"],a.G)};
gna=function(a,b){var c=b.g;if(a.g.A){var d=a.D.createSession();c=d.generateRequest(b.contentType,c);d=new xU(null,null,null,d,null);c.then(null,QE((0,g.A)(d.bB,d,"t.g")));return d}if(LM(a.g)){d=new window.Uint8Array(270);for(var 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 xU(null,null,null,null,c)}if(NM(a.g)){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="";for(var f=0;f<d.length;f+=2)e+=String.fromCharCode((0,window.parseInt)(d.substr(f,2),16));f=a.g.fairPlayCert;d=new window.Uint8Array(new window.ArrayBuffer(f.length));for(var k=0;k<f.length;k++)d[k]=f.charCodeAt(k);f=new window.ArrayBuffer(2*e.length);k=new window.Uint16Array(f);for(var 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 xU(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 xU(a.o,a.g,c,null,null);return a.B};
DU=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};
FU=function(a,b,c,d,e,f,k){f=void 0===f?!1:f;k=void 0===k?!1:k;g.K.call(this);this.A=a;this.o=d;this.o.subscribe("oauthtoken",this.Yz,this);this.G={session_id:e};this.V=!!f;this.Y=!!k;this.N=0;a=this.A.C;NM(this.A)&&(a=c.g.subarray(4),a=String.fromCharCode.apply(null,new window.Uint16Array(a.buffer,a.byteOffset,a.byteLength/2)).replace("skd://","https://"));EU(this,a);this.D=this.I=!1;g.IP("drm_gk_s");try{var l=gna(b,c)}catch(m){b="t.g",m instanceof window.DOMException&&(b+=";c."+m.code),this.o.X("licenseerror",
"drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),l=null}if(this.B=l)b=this.B,l=this.kM,a=this.jM,d=this.mM,b.F=this.lM,b.D=l,b.I=a,b.J=d,b.A=this,g.L(this,this.B);this.ba=c.B;this.F=[];this.g={};this.J=window.NaN;this.C=c.C||window.NaN};
EU=function(a,b){var c=b,d=void 0;d=void 0===d?!1:d;if(wL(hna.test(c),c,d,"Drm Licensor URL")){for(var e in a.G)b=Vg(b,e,a.G[e]);a.O=b}else GU(a,"drm.net",!0,"t.x")};
GU=function(a,b,c,d,e){a.la()||a.o.X("licenseerror",b,c,d,e);c&&a.dispose()};
ina=function(a){if(!a)return{};var b={};(0,g.H)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]={type:a[0],status:"unknown"})});
return b};
HU=function(a){var b=a[0];a[0]=a[3];a[3]=b;b=a[1];a[1]=a[2];a[2]=b;b=a[4];a[4]=a[5];a[5]=b;b=a[6];a[6]=a[7];a[7]=b};
jna=function(a){var b={requestedKeyIds:a.ba,cryptoPeriodIndex:a.C};a.B&&(b.keyStatuses=a.g);return b};
kna=function(a){if(!yU(a.B))return a.F.join("%2C");var b=[],c;for(c in a.g)b.push.apply(b,[c,a.g[c].type,a.g[c].status]);return b.join("%2C")};
IU=function(){this.keys=[];this.values=[]};
KU=function(a,b,c,d,e){e=void 0===e?"":e;g.tG.call(this);a&&(a.addKey||a.webkitAddKey)||KM()||QM(c);this.L=c;this.I=a;this.g=b;this.subscribe("newlicense",this.PQ,this);this.subscribe("newsession",this.QQ,this);this.subscribe("sessionready",this.PR,this);this.subscribe("keystatuseschange",this.pM,this);this.da=e||g.UN();this.Y=null;this.A=new IU;this.B=this.D=null;this.o=[];this.F="fairplay"==this.g.g?zJ:JU;this.N=new BU(a,b);g.L(this,this.N);this.C=null;LM(b)&&(this.C=new BU(a,b),g.L(this,this.C));
this.ba=2;this.J=new g.qG(this);g.L(this,this.J);this.O=!1;this.V=null;this.G=!1;a=this.I;this.g.A?this.J.P(a,"encrypted",this.LP):rG(this.J,a,LM(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.MQ);(a=CU(this.N))?a.then(QE((0,g.A)(this.uQ,this)),QE((0,g.A)(this.RO,this))):this.G=!0;this.C&&CU(this.C);this.aa=d};
LU=function(a,b){a.Y=b;a.X("oauthtoken",b)};
NU=function(a,b,c){a.la()||LM(a.g)==c||a.O&&a.aa||(a.O=!0,a.o.push(b),1<a.o.length||a.G&&MU(a))};
MU=function(a){for(;a.o.length;){var b=a.o[0];if(g.Gb(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){a:{var c=b.g;try{for(var d=0,e=new window.DataView(c.buffer);d<e.byteLength-8;){var f=e.getUint32(d);if(1>=f)break;if(1886614376==e.getUint32(d+4)){var k=32;if(0<e.getUint8(d+8)){var l=e.getUint32(d+28);k+=16*l+4}var m=e.getUint32(d+k-4);try{var n=new re(c.subarray(d+k,d+k+m)),q=new hE;for(k=n;se(k)&&4!=k.o;)switch(k.A){case 1:var r=
k.g;b:{for(var w,z,B=r,C=0,N=0;4>N;N++)if(z=B.o[B.g++],C|=(z&127)<<7*N,128>z){B.F=C>>>0;B.D=0;break b}z=B.o[B.g++];C|=(z&127)<<28;w=0|(z&127)>>4;if(128>z)B.F=C>>>0,B.D=w>>>0;else{for(N=0;5>N;N++)if(z=B.o[B.g++],w|=(z&127)<<7*N+3,128>z){B.F=C>>>0;B.D=w>>>0;break b}B.C=!0}}var da=r.F,Ea=r.D;if(B=Ea&2147483648)da=~da+1>>>0,Ea=~Ea>>>0,0==da&&(Ea=Ea+1>>>0);C=4294967296*Ea+da;var Ba=B?-C:C;De(q,1,Ba);break;case 2:B=Ba=ve(k);Ce(q,2).push(B);break;case 3:Ba=ue(k);De(q,3,Ba);break;case 4:Ba=ve(k);De(q,4,Ba);
break;case 5:Ba=ue(k);De(q,5,Ba);break;case 6:Ba=ue(k);De(q,6,Ba);break;case 7:Ba=qe(k.g);De(q,7,Ba);break;case 8:Ba=ve(k);De(q,8,Ba);break;case 9:Ba=qe(k.g);De(q,9,Ba);break;case 10:Ba=qe(k.g);De(q,10,Ba);break;case 11:Ba=new gE;B=k;C=Ba;N=fja;var Ca=B.g.A,Me=qe(B.g),Za=B.g.g+Me;B.g.A=Za;N(C,B);B.g.g=Za;B.g.A=Ca;B=q;C=Ba;N=gE;Fe(B,N,11);var Qc=B.g[11];Qc||(Qc=B.g[11]=[]);var Md=C?C:new N,hg=Ce(B,11);Qc.push(Md);hg.push(He(Md));break;default:te(k)}var Mb=q;if(null!=Mb){var ob=Mb;break a}}catch(Vb){}}d+=
f}ob=null}catch(Vb){ob=null}}if(null!=ob)for(c=Be(ob,7),null!=c&&(b.C=c),c=Be(ob,10),null!=c&&0<c&&(b.o=c),c=Ce(ob,2),c=!c.length||c[0]instanceof window.Uint8Array?c:(0,g.J)(c,Uaa),c=g.ma(c),d=c.next();!d.done;d=c.next())b.B.push(zU(d.value));a:{c=a;if(!(c.L.g("disable_license_delay")||"widevine"!=c.g.g||b.A||(0,window.isNaN)(b.C)))for(c=g.ma(c.A.values),d=c.next();!d.done;d=c.next())if(1>=Math.abs(d.value.C-b.C)){c=!0;break a}c=!1}if(c){lna(a,b);a.o.shift();continue}}break}}a.o.length&&(b=a.o[0],
a.A.get(b.g),ob=new FU(a.g,a.N,b,a,a.da,a.L.g("html5_use_drm_retry"),a.L.g("html5_enable_ms_playready_hd")),ob.Yz(a.Y),a.A.set(b.g,ob))};
lna=function(a,b){a.B&&a.B.dispose();a.D=b.g;a.B=new g.Ft(function(){a.D=null;a.B=null;b.A=!0;a.o.push(b);1<a.o.length||MU(a)},mna(b.o));
a.B.start()};
mna=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
OU=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.sk?this.o=g.XE(this.g.sk):this.o=[]};
nna=function(a,b){this.g=a;this.o=b};
PU=function(a,b){var c=AJ(AJ(a.g.qs,b.Pl),b.Ul);"auto"!=EJ()||(c=a.g.experiments.g("html5_restore_performance_cap")?AJ(c,new vJ(0,GJ(),!1)):AJ(c,a.g.Ph));return c};
QU=function(a,b){var c=EJ();if("auto"!=c)var d=xJ("auto",c,!1);else if(g.aO(a.g)&&pN(a.g.L,AN))d=zJ;else{var e;c=!!b.tb.g;dO(a.g)&&(e=window.screen&&window.screen.width?new g.gd(window.screen.width,window.screen.height):null);e||(e=a.g.rk?a.g.rk.clone():a.o.Xa());(ZN||Wi||c)&&e.scale(g.vO());c=b.tb.videoInfos;if(c.length){var f=.85,k=3==c[0].video.projectionType,l=4==c[0].video.projectionType;2!=c[0].video.projectionType&&!l||sN?k&&!sN&&(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=xJ("auto",d.quality,!1)}else d=zJ;e=d.g;qF()&&(e=Math.max(e,g.gJ.hd1080));(lF("armv7")||lF("android"))&&!g.aO(a.g)&&mJ(b.tb.videoInfos[0])&&(e=Math.min(e,g.gJ.large));e=Math.max(e,g.gJ.medium);a.g.experiments.o("html5_default_quality_cap")&&(e=Math.min(e,a.g.experiments.o("html5_default_quality_cap")));d.g!=e&&(d=new vJ(d.o,e,d.A))}return d};
RU=function(){var a=this;this.o=this.g=null;this.dC=new g.Zf(function(b,c){a.g=b;a.o=c})};
SU=function(a,b){a=void 0===a?null:a;b=void 0===b?null:b;g.tG.call(this);this.B=new g.qG;this.o=a;this.D=b;this.C=window.NaN;this.A=this.g=null};
pna=function(a,b){ona(a,b);a.A=a.D.seek(b);return g.gg([a.g.dC,a.A]).then(function(a){return a[0]})};
ona=function(a,b){a.g||(a.o.g.currentTime=b,a.g=new RU)};
TU=function(a){if(a.o)for(var b=g.ma(["seeking","seeked"]),c=b.next();!c.done;c=b.next())a.B.P(a.o,c.value,function(b){return qna(a,b)})};
qna=function(a,b){switch(b.type){case "seeking":if(a.g)break;a.X("seekstart");a.g=new RU;a.g.then(function(b){return pna(a,b).then(function(){a.X("seekend");a.C=window.NaN;a.g=null;a.A=null})});
break;case "seeked":a.g.resolve(a.o.getCurrentTime())}};
UU=function(a){WQ.call(this);this.g=a;this.B={}};
YQ=function(a,b){var c=a.Uc();a.g.src=b;a.Xf(c)};
aR=function(a){return a.g.buffered||SQ()};
VU=function(a,b,c){g.oh(a.g,b,c)};
WU=function(){g.K.call(this);this.A={};this.g={};this.o=new g.Ft(this.vT,500,this);g.L(this,this.o)};
XU=function(a,b){return a.g[b]?a.g[b].g.sb():[]};
YU=function(a){this.A=a;this.g=new oS(100);this.o=window.NaN};
aV=function(a,b,c,d,e,f){g.tG.call(this);var k=this;this.bb=new kma;this.I=c;this.ib=d;this.Og=f;c=(0,g.A)(function(b,c){"crn_endcr"!=b||!a.experiments.g("use_legacy_ended_cue_range_behavior")&&g.W(this.A,32)||ZU(this);e(b,c)},this);
this.F=new XT((0,g.A)(this.getCurrentTime,this),(0,g.A)(this.Ez,this),(0,g.A)(this.jL,this),c);g.L(this,this.F);this.pa=window.NaN;this.aa=this.G=null;this.C=a;this.ra=new nna(a,this.ib);this.sa=!1;this.Pg=!0;this.J=this.B=null;this.da=[];this.Ha=new jT;this.V=new jT;this.qg=this.re=this.Qg=this.Oa=!1;this.zb=window.NaN;this.A=new g.gR;this.Ab=[];this.pg=b;this.ha=null;this.Y=window.NaN;this.na=new g.qG;g.L(this,this.na);this.g=new g.eQ;this.o=null;this.ga=window.NaN;this.D=null;this.zf=this.Ra=!1;
this.Sa=window.NaN;this.Ma=this.fd=this.Ib=this.Za=!1;this.Jb=this.gd=window.NaN;this.Ph=a.experiments.g("html5_force_play_on_suspend_event");this.Qh=a.experiments.g("html5_force_play_on_suspend_event_limited");this.L=null;this.Rh=this.C.experiments.g("html5_playing_event_buffer_underrun");this.ba=new WU;g.L(this,this.ba);this.ba.Cb("bufferhealth",(0,g.A)(this.Lx,this));this.ba.Cb("bandwidth",(0,g.A)(this.tI,this));this.ba.Cb("networkactivity",(0,g.A)(this.vI,this),!0);this.ba.Cb("livelatency",(0,g.A)(this.Qx,
this));this.ba.start();this.Af=!1;this.Gc=!0;this.Id=this.Yc=!1;this.Aa=1;this.O=null;this.Mg=(0,g.A)(this.AS,this);hka(this.Mg);this.Sg=new g.Ft(this.Mt,0,this);g.L(this,this.Sg);this.Rg=this.Ng=this.yf=0;this.N=null;a.experiments.g("html5_new_seeking")&&(this.N=new SU,this.N.subscribe("seekstart",function(){return $U(k)}),this.N.subscribe("seekend",function(){return k.Qq()}))};
bV=function(a){g.cH()?g.eH(a.Sa):g.TE(a.Sa)};
iV=function(a,b,c,d){d=void 0===d?!0:d;a.da.length=0;a.Ha.reset();a.V.reset();a.pa=window.NaN;a.Y=window.NaN;a.Ra=!1;a.Yc=!1;a.o&&a.o.Yf();cV(a);dV(a);eV(a);bV(a);a.ba.clear();a.Sg.stop();a.L=null;a.O=null;g.af(a.g);if(2==a.pg||DL(a.C.ba))b.dz=!0;var e=KN(b.Xb,a.C.A,a.C.Hb);e&&(b.adFormat=e);a.C.da&&(b.autonavState=a.g.autonavState);a.Gc=d;a.g=b;a.g.subscribe("dataupdated",a.tS,a);a.g.subscribe("dataloaded",a.Kw,a);a.g.subscribe("dataloaderror",a.Cj,a);a.g.subscribe("onStatusFail",a.sS,a);b.endSeconds&&
b.endSeconds>b.startSeconds&&fV(a,b.endSeconds);rna(a,c);a.Za=!1;gV(a,"newdata");hV(a,new g.gR)};
rna=function(a,b){dV(a);if(!a.g.ck){var c=new oma(a.g,a.C,b,(0,g.A)(a.getDuration,a),(0,g.A)(a.getCurrentTime,a),(0,g.A)(a.wI,a),(0,g.A)(a.ib.Xa,a.ib),(0,g.A)(a.Js,a),(0,g.A)(a.Ez,a),(0,g.A)(a.ir,a),a.Og,(0,g.A)(a.II,a),(0,g.A)(function(){this.I.o("qoes")},a));
a.D=new NR(c)}};
dV=function(a){if(a.D){var b=a.D;if(!b.la()&&b.B){b.D="paused";var c=RR(b);c.ra=!0;c.send();c=b.o;"PL"==c.A&&(c.A="N");var d=g.FQ(c.g);g.yR(c,d,"vps",[c.A]);c.C(d);g.TE(b.C);b.dispose()}g.af(a.D);a.D=null}};
kV=function(a){if(a.g.ed())return!0;g.jV(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
mV=function(a,b){a.Oa=void 0===b?!1:b;if(kV(a)&&!a.Ha.o){a.Ha.start();if(a.D){var c=a.D.o;c.g.g.experiments.g("html5_qoe_unstarted_in_initialization")?g.FQ(c.g):g.yR(c,g.FQ(c.g),"vps",["N"]);c.g.videoData.Io?IR(c,"prefetch"):(c.o.user_intent=["0"],c.G=!0);c.g.videoData.Ji&&(AR(c,"reload",c.g.videoData.Pt),AR(c,"reloadcount",c.g.videoData.Ji.toString()));c.g.videoData.il&&IR(c,"monitor");c.g.videoData.Ba&&IR(c,"live");c.g.videoData.kh&&IR(c,"rqs");c.g.videoData.ig&&AR(c,"ctrl",c.g.videoData.ig,!0);
c.g.videoData.qf&&AR(c,"ytp",c.g.videoData.qf,!0);if(c.g.videoData.hC){var d=c.g.videoData.hC.replace(/,/g,".");AR(c,"ytrexp",d,!0)}if(!c.g.g.experiments.g("html5_disable_gpu_reporting")){var e=c.g.videoData;d=c.g.g.experiments.g("enable_white_noise");var f=e.ri()||e.lh()||e.mh()||e.Nf();e=0==e.clientPlaybackNonce.indexOf("gp");(d||f||e)&&(d=lV())&&(c.o.gpu=[d])}c.Y=g.UE((0,g.A)(c.C,c),1E4)}a.Kw()}};
oV=function(a){a.o&&ZQ(a.o);mV(a);kV(a)&&!g.W(a.A,128)&&(a.V.o||(a.V.start(),hV(a,jR(jR(a.A,8),1))),nV(a))};
nV=function(a){if(!a.V.g&&a.Ha.g&&!g.W(a.A,128)&&!a.da.length){if(!a.F.C){var b=a.F;b.C=!0;b.A()}if(!pV(a)){a.B&&(b=a.B,a.Qg=!!b.aa&&!!b.ha);a.V.g||(a.V.g=!0);a.g.Ba&&(qV(a,window.Infinity,!0),rV(a,!0),SJ()&&(a.zf=!0));if(a.D&&(b=a.D,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.Yo("connected"),VR(b)),b.g.videoData.Ba)){b=b.o;var c=b.g.videoData.ua;b.g.videoData.pd()&&IR(b,"manifestless");c&&FM(c)&&IR(b,"live-segment-"+FM(c).toFixed(1))}a.X("playbackready",a);YP("pbr",a.I.g)||
(a.I.o("pbr"),g.IP("pbr",void 0,"video_to_ad"))}}};
ZU=function(a,b){b=void 0===b?!0:b;sV(a);var c=b?new g.gR(14):new g.gR;hV(a,c)};
fV=function(a,b){a.aa&&(a.F.D(a.aa),a.aa=null);a.aa=new g.bS(1E3*b,0x7ffffffffffff);a.aa.namespace="endcr";ZT(a.F,[a.aa])};
vV=function(a,b,c,d){a.g.Na=c;a.g.yd=d||c;if(a.D){var e=tV(a);e=new DQ(a.g,c,b,e?kJ(e):"");d&&"i"==b&&uV(a,b,d);d=a.D.o;c=g.FQ(d.g);g.yR(d,c,"vfs",[e.g.id,e.o,d.da,"b"==e.reason?"a":e.reason]);d.da=e.g.id;e=d.g.N();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=g.vO();1<f&&e.push(f);g.yR(d,c,"view",e)}g.yR(d,c,"vps",[d.A]);d.C(c);a.C.experiments.g("html5_report_performance_cap")&&"i"==b&&(d=GJ())&&a.xd("perfCap",""+d)}a.yf=0;a.X("internalvideoformatchange",a.g,"m"==b)};
tV=function(a){if(!a.g.tb)return null;var b=AJ(AJ(QU(a.ra,a.g),wV(a)),xV(a));return g.gb(a.g.tb.videoInfos,(0,g.A)(b.B,b))};
uV=function(a,b,c){a.g.yd=c;if(a.D){var d=a.D.o;c=new DQ(a.g,c,b,"");var e=g.FQ(d.g);c.g.id!=d.L&&(g.yR(d,e,"afs",[c.g.id,d.L,c.reason]),d.L=c.g.id)}"i"!=b&&a.X("internalaudioformatchange",a.g,"m"==b)};
g.jV=function(a,b,c,d){var e,f;Sb(sna,c)?e=c:c?f=c:e="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:f||g.U(e),messageKey:e};hV(a,iR(a.A,128,b));bV(a);eV(a);yV(a)};
tna=function(a,b){a.da=a.da.filter(function(a){return b!=a});
a.V.o&&nV(a)};
pV=function(a){var b;(b=!!a.da.length)||(a=a.F.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
BV=function(a,b){a.o&&zV(a);if(!a.A.isError()){var c=kR(a.A,512);a.C.experiments.g("html5_su_to_b")&&g.W(c,8)&&jR(c,1);hV(a,c)}a.o=b;a.o.g.loop=a.Id;a.o.Xf(a.Aa);una(a);AV(a);if(a.N){c=a.N;var d=a.o;g.sG(c.B);c.o=d;TU(c)}};
AV=function(a){if(a.C.experiments.g("html5_prewarm_mse")&&lN())try{$Q(a.o,a.C.C)}catch(b){}};
zV=function(a){a.J&&(a.J.dispose(),a.J=null);a.B&&(a.B.V.gc(),a.B.I=!0);a.o&&(!a.V.o||a.A.isError()||g.W(a.A,2)||hV(a,jR(a.A,512)),cV(a),g.sG(a.na),a.o.Yf(),a.o=null,a.N&&(a=a.N,g.sG(a.B),a.o=null,TU(a)))};
GV=function(a){if(!g.W(a.A,128))if(a.Af)a.Af=!1,CV(a);else if(oV(a),g.W(a.A,64)&&hV(a,jR(a.A,8)),a.V.g&&a.o)if(a.g.tb){if(a.g.Ba){var b=DV(a),c=g.zQ(a.g)&&g.W(a.A,4);if(b||c)!c&&a.C.experiments.g("html5_live_pin_to_tail")?qV(a,a.Mc(),!0):qV(a,window.Infinity,!0);EV(a)?rV(a,!0):a.isPeggedToLive()&&qV(a,window.Infinity,!0)}FV(a)?vna(a):a.Kl()}else b=a.g.Ba&&!g.nN()?"html5.unsupportedlive":a.g.bd?"fmt.unplayable":"fmt.noneavailable",g.jV(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")};
IV=function(a){cV(a);eV(a);HV(a)};
JV=function(a){if(a.g.tb){var b=wV(a);b=b||zJ;a=(0,g.Ld)(a.g.tb.videoInfos,(0,g.A)(b.B,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].video;c[e.quality]||(b.push(e),c[e.quality]=!0)}a=b}else a=[];return a};
KV=function(a){return AJ(AJ(AJ(PU(a.ra,a.g),QU(a.ra,a.g)),wV(a)),xV(a))};
wV=function(a){return a.G?a.G.F:iQ(a.g)&&a.g.tb.g&&uM(a.g.ua)?JU:zJ};
LV=function(a,b,c){if(!a.la()&&!g.W(a.A,128)&&(c&&(a.g.Ul=c),iQ(a.g))){"m"==b&&c&&yJ(c)&&(b="a");c=KV(a);if(a.g.tb.g){if(a.B&&"i"!=b){var d=a.B;if(!d.la()&&d.g){(c=Oma(d.F,c,b))&&d.X("videoformatchange",c);aU(d);if(NT(d.F)&&"m"==b&&d.F.L||"b"==b)vT(d.g),vT(d.A);AT(d.g)&&jU(d,d.g,d.A);d.V.gc()}}}else{d=a.g;a:{var e=a.g.Nj;if(c.g){for(var f=g.ma(e),k=f.next();!k.done;k=f.next()){k=k.value;var l=k.Ce,m=g.gJ[l.video.quality];if((!c.A||"auto"!=l.video.quality)&&m<=c.g){c=k;break a}}c=e[e.length-1]}else c=
e[0]}d.fg=c;vV(a,b,a.g.fg.Ce)}a.A.wb()&&GV(a)}};
g.MV=function(a){Xka(a.g.ua,{cpn:a.g.clientPlaybackNonce,c:a.C.o.c,cver:a.C.o.cver});var b=ana(a.C,a.g);a.C.schedule.policy.A=a.g.pd()?.5:0;a.B=new $T(a.C.schedule,b,a.g.ua,a.g.tb,a.F);a.B.subscribe("initsegment",a.dQ,a);a.B.subscribe("videoformatchange",a.nQ,a);a.B.subscribe("audioformatchange",a.mQ,a);a.B.subscribe("error",a.Cj,a);a.B.subscribe("ctmp",a.xd,a);a.B.subscribe("seekelementrequired",a.zT,a);a.B.subscribe("seekplayerrequired",(0,g.A)(function(a,b){qV(this,a,!0,void 0,b)},a));
b=g.lb(a.da,"spacecast")||a.Oa;var c=a.Js();c=c.Sc.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,KV(a),b,c);a.g.probeUrl&&(a.B.da=a.g.probeUrl);if(a.da.length||a.Oa)a.B.I=!0;a.N&&(a.N.D=a.B)};
xV=function(a){var b=a.C.experiments.o("html5_background_quality_cap");a=a.C.experiments.o("html5_background_cap_idle_secs");return!b||"auto"!=EJ()||g.$G()/1E3<a?zJ:SJ()?new vJ(0,b,!1):zJ};
eV=function(a){a.B&&(a.B.dispose(),a.B=null);a.J&&(a.J.dispose(),a.J=null)};
HV=function(a){if(a.J)return a.J.C;a.B?a.B.seek(a.getCurrentTime()):g.MV(a);try{a.C.experiments.g("html5_prewarm_mse")?a.J=mma(a.o,a.C.C):a.J=lma(a.o,a.C.C)}catch(d){return d.message="window.URL object overwritten by external code",window.setTimeout(function(){throw d;},0),g.jV(a,a.g.bd?"drm.unavailable":"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1"),null}var b=(0,g.A)(a.vQ,a),c=(0,g.A)(function(a){g.jV(this,"fmt.unplayable",void 0,"msi.1;ename."+a.name)},a);
a.C.experiments.g("html5_prewarm_mse")?nL(a.J).then(b).then(void 0,c):(a.J.B=b,a.J.D=c);return a.J.C};
wna=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
CV=function(a){!a.g.Zg&&a.g.Ji||a.Ib||(a.Ib=!0,a.X("signatureexpired"))};
NV=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
sV=function(a,b){b=void 0===b?!1:b;if(g.W(a.A,64)&&!b)if(g.W(a.A,8))hV(a,lR(a.A));else return;a.o&&(g.W(a.A,128)||(b?hV(a,jR(a.A,256)):hV(a,lR(a.A))),a.o&&a.o.pause())};
OV=function(a){var b=a.C.experiments.g("disable_html5_stopvideo_cancel_requests");sV(a,b);a.B&&(a.B.I=!0,b||dU(a.B))};
yV=function(a,b){b=void 0===b?!1:b;a.o&&(a.o.pause(),cV(a),eV(a),a.g&&(a.g.startSeconds=a.getCurrentTime()),a.Y=window.NaN,a.o.Yf(),AV(a),g.W(a.A,128)||(b?hV(a,lR(a.A)):hV(a,iR(a.A))),a.C.G.remove(a.g.videoId))};
qV=function(a,b,c,d,e){c=void 0===c?!1:c;e=void 0===e?!1:e;if(a.o&&a.V.g){if(b&&!(0,window.isFinite)(b)&&a.O&&a.B){if(a.C.experiments.g("html5_use_adaptive_live_readahead")&&(a.g.isLowLatencyLiveStream||"LOW"==a.g.latencyClass||"ULTRALOW"==a.g.latencyClass)){var f=a.O;if(f.o.length){var k=f.g;1<Math.min.apply(null,f.o)?f.g=Math.max(f.g-1,1):f.C&&(f.g=Math.min(f.g+1,8));if(k=k!=f.g)f.o=[],f.B=0;f=k}else f=!1;f&&a.D&&(f=qS(a.O),HR(a.D.o,f))}a.B.ra=Math.max(0,a.O.g-1)}if(b&&!(0,window.isFinite)(b)&&
a.g.Zg&&a.g.pd()&&a.B){var l=a.B;dU(l);f=Math.max(cT(l.g.o),cT(l.A.o));k=l.g;k.D=!0;k.C=-1;qT(k,window.Infinity);k.o.F=f;k=l.A;k.D=!0;k.C=-1;qT(k,window.Infinity);k.o.F=f;k=l.D;for(var m in k.g)VJ(k.g[m].index,window.Infinity);l.B.ha&&(l.ba=!0);l.V.gc();l=f+.1}l||(l=g.$c(b||0,a.Mc(),PV(a,!1,e)));b=l;m=a.g.Ba&&!g.W(a.A,4)&&EV(a,b);rV(a,m);a.g.startSeconds=b;a.Y=b;m=a.bb;m.g=b;m.o=!0;c?a.Qq():($U(a,d),QV(a));a.aa&&b>a.g.endSeconds&&(a.F.D(a.aa),a.aa=null);b<PV(a,!1)&&hV(a,kR(a.A,2));a.X("seekto",a,
b)}else a.g.startSeconds=b||0};
$U=function(a,b){g.W(a.A,32)||(hV(a,jR(a.A,32)),g.W(a.A,8)&&sV(a,!0),a.X("beginseeking",a));b&&(a.ha||(a.ha=new g.Ft(a.Qq,b,a)),a.ha.start())};
RV=function(a){return a.g.Ba&&a.g.ua?GM(a.g.ua,a.getCurrentTime()):window.NaN};
xna=function(a){if(!a.o)return 0;if(g.zQ(a.g))return 1;if(AQ(a.g)){if(a.isPeggedToLive())return 1;var b=a.o,c=aR(b);b=(0<RQ(c)&&b.getDuration()?c.end(c.length-1):0)-a.Mc();a=PV(a,!0)-a.Mc();return Math.max(0,Math.min(1,b/a))}return dR(a.o)};
SV=function(a,b){var c={};if(void 0===b?0:b){a.D?g.Ha(c,MR(PR(a.D,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.o&&g.Ha(c,eR(a.o));a.B&&g.Ha(c,vU(a.B));if(a.G){var d=a.G,e=d.g;e={systemInfo:{flavor:e.g,keySystem:e.o},sessions:[]};d=g.ma(d.A.values);for(var f=d.next();!f.done;f=d.next())e.sessions.push(jna(f.value));c.drm=e}c.state=a.A.o.toString(16);g.W(a.A,128)&&(c.debug_error=a.A.g);pV(a)&&(c.prerolls=a.da.join(","));a.g.Bg&&(c.ismb=a.g.Bg);"UNKNOWN"!=a.g.latencyClass&&(c.latency_class=a.g.latencyClass);
a.g.isLowLatencyLiveStream&&(c.lowlatency="1");a.g.Ba&&(a.g.ua&&FM(a.g.ua)&&(c.segduration=FM(a.g.ua)),a.L&&(e=a.L.D,c.lat=e.g[e.o]||0));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=tV(a))c.optimal_format=e.video.qualityLabel;c.user_qual=EJ()}c.debug_videoId=a.g.videoId;return c};
gV=function(a,b){a.X("internalvideodatachange",void 0===b?"dataupdated":b,a,a.g)};
una=function(a){(0,g.H)("loadstart loadeddata loadedmetadata play playing pause ended suspend progress seeking seeked timeupdate durationchange ratechange error waiting abort resize".split(" "),function(a){this.na.P(this.o,a,this.lL,this)},a);
a.C.Rh&&(a.na.P(a.o,"webkitplaybacktargetavailabilitychanged",a.FO,a),a.na.P(a.o,"webkitcurrentplaybacktargetiswirelesschanged",a.GO,a))};
TV=function(a){var b=a.getCurrentTime(),c=a.g;!YP("pbs",a.I.g)&&NP.measure&&NP.getEntriesByName&&(NP.getEntriesByName("mark_nr")[0]?XP("mark_nr"):XP());c.videoId&&a.I.info("docid",c.videoId);c.eventId&&a.I.info("ei",c.eventId);c.clientPlaybackNonce&&a.I.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.I.info("start",c.startSeconds.toString());a.o&&a.o.g.paused&&a.I.info("paused",1);c.Na?a.I.info("fmt",kJ(c.Na)):a.I.info("fmt","-1");c.Io&&a.I.info("yt_pre",a.Qg?"2":"1");a.C.da&&a.I.info("yt_fs",
"1");a.I.info("cmt",b.toFixed(3));if(a.B){b=a.B;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.ha),c.length&&(c=c[0],bU(b,"vri",c.fetchStart),bU(b,"vdns",c.domainLookupEnd),bU(b,"vreq",c.requestStart),bU(b,"fvb",c.responseStart),bU(b,"vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.aa),c.length&&(c=c[0],bU(b,"ari",c.fetchStart),bU(b,"adns",c.domainLookupEnd),bU(b,"areq",c.requestStart),bU(b,"avb",c.responseStart),bU(b,"arc",c.responseEnd)));
b=b.ib;for(var d in b)a.I.o(d,b[d])}};
QV=function(a,b){b=void 0===b?!1:b;if(a.o&&a.g){var c=a.getCurrentTime();if(DV(a)&&a.A.wb())a.C.experiments.g("html5_live_pin_to_tail")?qV(a,a.Mc(),!0):qV(a,window.Infinity,!0);else{if(a.isPeggedToLive()){if(!EV(a,c)){if(a.A.wb()&&(a.g.il||g.zQ(a.g))){qV(a,window.Infinity,!0);return}a.g.Ba&&rV(a,!1)}if(a.C.experiments.g("html5_use_adaptive_live_readahead")&&a.O){var d=a.O,e=a.Lx();d.B++;3>d.B||(d.o.push(e),50<d.o.length&&d.o.shift())}}else a.g.Ba&&EV(a,c)&&rV(a,!0);if(a.B&&(d=a.B,d.o)){d.C!=c&&d.resume();
if(d.O&&!pL(d.o)){e=d.C<=c&&c<d.C+10;var f=0<=PQ(d.o.o.buffered,d.C+kU);e&&f&&(d.O=!1)}d.O||(d.C=c);d.ga.gc()}5<c&&(a.g.startSeconds=c);(d=g.cH())?g.eH(a.Sa):g.TE(a.Sa);!g.pR(a.A)&&a.o.g.paused||g.W(a.A,128)||(e=(0,g.A)(a.YI,a),a.Sa=0==(a.o.g.played||SQ()).length?d?g.dH(e,1,100):g.VE(e,100):d?g.dH(e,1,500):g.VE(e,500));a.g.Gf=c;!b&&a.A.wb()&&a.D&&(c=a.D,c.A.update(),c.g.videoData.Sb()&&c.g.videoData.Hf&&!c.N&&IQ(c.A)>=c.g.videoData.Hf&&(c.B&&c.g.videoData.Hf&&(d=PR(c,"delayplay"),d.Aa=!0,d.send(),
c.N=!0),UR(c)),d=c.aa,d.A||!d.g.Qg||d.g.Ma||!d.videoData.lengthSeconds?d=!1:(e=Math.min(.8*d.videoData.lengthSeconds,180),d=IQ(d.B)>=e),d&&c.aa.send(),a.C.experiments.g("html5_new_e2e_latency_tracking")&&a.isPeggedToLive()&&(0,g.G)()>a.Rg+6283&&(c=a.D.o,e=c.g.B(),d=g.FQ(c.g),BR(c,d,e),e=e.B,(0,window.isNaN)(e)||g.yR(c,d,"e2el",[e.toFixed(3)]),a.Rg=(0,g.G)()));a.X("progresssync",a,b)}}};
hV=function(a,b){if(!g.mR(a.A,b)){var c=new g.rR(b,a.A);a.A=b;var d=!a.Ab.length;a.Ab.push(c);if(0<sR(c,1)&&!g.W(c.g,16)&&g.W(a.A,8)&&!g.W(a.A,64)&&a.B){a.B.Y=!0;a.g.kh&&a.o&&a.xd("rbinfo","rs."+a.o.g.readyState+";lact."+g.$G());var e=a.C.experiments.o("html5_nnr_downgrade_count");if(e&&a.o&&5<=bR(a.o)){a.yf++;var f=a.g.Na.video.o;a.yf==e&&360<f&&(e=a.ra,e.g.Ph=new vJ(0,f-1,!1),e.g.experiments.g("html5_report_performance_cap")&&g.oH("yt-player-performance-cap",f-1,2592E3),LV(a,"b"),a.C.experiments.g("html5_report_performance_cap")&&
a.xd("perfDowngrade",""+f))}}0>sR(c,8)&&(g.TE(a.ga),a.ga=window.NaN,rV(a,!1));0<sR(c,8)&&!a.g.Zg&&(0,window.isNaN)(a.ga)&&(a.ga=g.VE((0,g.A)(a.pB,a),15E3));0<sR(c,32)&&rV(a,!1);g.W(c.state,2)&&AQ(a.g)&&(f=a.getCurrentTime(),a.g.lengthSeconds!=f&&(a.g.lengthSeconds=f,gV(a)),QV(a,!0));0<sR(c,2)&&a.Ut();a.C.experiments.g("html5_suspend_manifest_on_pause")&&a.g.ua&&a.g.Ba&&(0>sR(c,8)?(f=a.g.ua,f.A&&f.A.stop()):0<sR(c,8)&&a.g.ua.resume());0<sR(c,1)&&(a.Jb=g.VE((0,g.A)(a.sT,a),5E3));if(a.D&&(f=a.D,!f.la())){g.W(c.state,
2)?(f.D="paused",0<sR(c,2)&&f.B&&RR(f).send()):g.W(c.state,8)?(f.D="playing",f.B&&(0,window.isNaN)(f.F)&&OR(f,!1)):f.D="paused";e=f.o;var k=c.state,l=g.FQ(e.g),m=qma(c.state);if(m!=e.A){if(!(l<e.B)){if("PL"==e.A)e.J+=l-e.B;else if("B"==e.A&&e.I&&(e.I=!1,e.N+=l-e.B,!e.V&&10<=e.N&&180>=e.J)){e.g.G();if(!e.la()&&!e.O){var n=DR(e);n.qoealert="1";n=g.Qg(e.g.g.qk,n);ER(e,n)}e.V=!0}"B"!=m||"PL"!=e.A&&"PB"!=e.A||(e.I=!0);e.B=l}"B"==m&&"PL"==e.A||e.g.videoData.kh?CR(e,l):g.yR(e,l,"cmt",[e.g.o().toFixed(3)]);
g.yR(e,l,"vps",[m]);e.A=m;e.B=l}g.W(k,128)&&GR(e,l,k.g.errorCode,k.g.errorDetail);(g.W(k,2)||g.W(k,128))&&e.C(l);g.W(k,8)&&e.g.videoData.Io&&!e.G&&(e.o.user_intent=[g.FQ(e.g).toString()],e.G=!0);FR(e);f.C&&g.W(c.state,128)&&(f.Yo("error-100"),g.TE(f.C))}if(d)try{for(var q=g.ma(a.Ab),r=q.next();!r.done;r=q.next()){var w=r.value,z=a.F;c=w;if(z.C&&!z.I&&(z.A(),g.W(c.g,16))){c=z;var B=WT(c.g,Math.max(c.B-2E3,0));null!=B&&0x7ffffffffffff>B&&c.F.start()}a.X("statechange",w)}}finally{a.Ab.length=0}}};
UV=function(a){g.W(a.A,2)||g.W(a.A,32)||(a.Y=window.NaN)};
rV=function(a,b){a.g.Ba&&a.sa!=b&&(a.sa=b)};
vna=function(a){a.C.rs?g.VE((0,g.A)(function(){this.Kl()},a),0):a.Kl()};
FV=function(a){if(!a.o||!a.g.tb)return!1;if(a.g.tb.g){var b=HV(a);a.B.resume()}else eV(a),b=a.g.fg.g();var c=a.o.o;return c&&null!=b&&b.g==c.g?!1:(a.I.o("vta"),g.IP("vta",void 0,"video_to_ad"),ZQ(a.o,b),yna(a),a.J&&fH(4),g.TE(a.ga),!a.g.Zg&&nR(a.A)&&(a.ga=g.VE((0,g.A)(a.pB,a),15E3)),!0)};
yna=function(a){if(g.qQ(a.g)&&a.o){var b=a.g.Sf;if(b){if(a.G)if("fairplay"==b.g)cV(a);else return;var c=a.o.oa();a.G=new KU(c,b,a.C.experiments,"widevine"==b.g&&!a.g.Ba&&!a.g.gs,a.g.drmSessionId);a.G.subscribe("newsession",a.OQ,a);a.G.subscribe("licenseerror",a.hQ,a);a.G.subscribe("qualitychange",a.iQ,a);a.G.subscribe("heartbeatparams",a.kL,a);a.G.subscribe("keystatuseschange",(0,g.A)(function(a){this.xd("keystatuses",kna(a))},a));
LU(a.G,a.g.oauthToken)}else g.jV(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1")}};
cV=function(a){a.G&&(a.G.dispose(),a.G=null)};
PV=function(a,b,c){c=void 0===c?!1:c;if(!a.o)return 0;if(!a.g.Ba)return a.g.Ok();if(b&&(a.isPeggedToLive()||g.zQ(a.g)))return a.getCurrentTime();if(a.g.tb&&a.g.tb.g){b=a.Mc();var d=a.g.Ok();a.O&&!c&&(d-=qS(a.O));return Math.max(d,b)||0}a=a.o.g.seekable||SQ();return(1>a.length?window.NaN:a.end(a.length-1))||0};
VV=function(a,b){a.Aa=b;a.o&&a.o.Xf(b)};
EV=function(a,b){void 0==b&&(b=a.getCurrentTime());var c=b,d=PV(a,!1);if(a.g.ua){var e=a.C.experiments.o("html5_allowable_liveness_drift_chunks")||2;0<e&&!a.sa&&e--;var f=FM(a.g.ua);e=(0,window.isNaN)(f)?e:e*f}else e=window.NaN;return c>=d-e};
g.WV=function(a,b){a.Pg=b;if(a.g.ua)if(b)a.g.ua.resume();else{var c=a.g.ua;c.A&&c.A.stop()}a.D&&(c=a.D.o,g.yR(c,g.FQ(c.g),"stream",[b?"A":"I"]))};
DV=function(a){return a.getCurrentTime()<a.Mc()-15};
XV=function(a,b){a.C.experiments.g("html5_log_rebuffer_reason")&&a.xd("bufreason","r."+b+";lact."+g.$G())};
YV=function(a,b){WR.call(this,a,b)};
g.ZV=function(a){return a.app.B};
g.$V=function(a){a=g.ZV(a).I;return!!a&&a.Zz()};
aW=function(a){var b=g.ZV(a);a=g.X(a);var c=b.I;return c&&c.aA()?!a.experiments.g("mweb_autonav")||c.isAvailable:g.yQ(b.T.fa(),"ypc_module")};
g.bW=function(a,b){3==a.Ya()?a.X("mdxautoplaycancel"):a.X("autonavcancel",b)};
g.X=function(a){return a.app.g};
g.fW=function(a){var b=a.app;a=a.playerType;return 3==cW(b)?g.dW(b.B).F:g.eW(b,a).A};
g.gW=function(a){return a.app.G};
hW=function(a){var b=g.dW(g.ZV(a));return a.app.Y&&!a.isFullscreen()||3==a.Ya()&&b.hasNext()&&b.Pf()||!!a.Wf()};
g.iW=function(a){if(XF())if(a.isFullscreen())ZF(a.getRootNode());else{a=a.getRootNode();var b=UF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.za("onFullscreenToggled",a.isFullscreen())};
g.jW=function(a){var b={};a=JV(g.eW(a.app));a=g.ma(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.kW=function(a){return(a=g.eW(a.app))?g.BJ(PU(a.ra,a.g)):"unknown"};
g.lW=function(a){return(a=g.ZV(a).B)?a.cA():{}};
g.nW=function(a,b){g.X(a).experiments.g("ui_logging")&&g.mW(a,"controlclicked",{controlClicked:b})};
g.mW=function(a,b,c,d){var e=g.eW(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.oW=function(a){a=g.ZV(a).A;return!!a&&a.dm()};
g.pW=function(a){a=g.ZV(a).A;return!!a&&a.JD()};
qW=function(a){a=g.ZV(a).L;return!!a&&a.uM()};
g.sW=function(a,b,c){rW(a.app,b,c||a.playerType)};
g.uW=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.eW(d,a))c.F.D.apply(c.F,b),a&&cW(d)!=a||tW(d,"cuerangesremoved",b)};
g.vW=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.eW(d,a))b=Wma(c.F,b),a&&cW(d)!=a||tW(d,"cuerangesremoved",b)};
g.wW=function(a,b){var c=g.eW(a.app,a.playerType);c&&tna(c,b)};
g.xW=function(a){a=a.fa().Na;return!!a&&!oJ(a)&&"application/x-mpegURL"!=a.mimeType};
g.yW=function(a){a=a.fa();return!!(a.adaptiveFormats||a.hlsFormats||a.ze)};
g.zW=function(a,b,c){a=g.gW(a).element;var d=Db(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1});
0>d&&(d=-(d+1));Id(a,b,d);b.setAttribute("data-layer",c)};
g.AW=function(a){var b=g.X(a);if(!b.qg)return!1;var c=a.fa();if(!c||3==a.Ya())return!1;b=c.Ba&&(!b.experiments.g("allow_live_autoplay")||c.isLiveDefaultBroadcast);return!c.ypcPreview&&!b&&!g.lb(c.ne,"ypc")&&!a.Wf()};
CW=function(a,b,c,d){if(g.X(a).ea){a=a.app.aa;g.lb(a.g,b);g.qb(a.g,b);var e=String(a.G++);b.setAttribute("data-visual-id",e);g.BW(a,"onLogClientVeCreated",{id:e,ve_type:d});g.$e(c,(0,g.A)(a.F,a,b))}};
g.DW=function(a,b){g.X(a).ea&&a.app.aa.click(b)};
g.EW=function(a,b,c){if(g.X(a).ea){a=a.app.aa;var d=b.getAttribute("data-visual-id");g.lb(a.g,b);c?g.qb(a.o,d):g.sb(a.o,d);c&&!g.lb(a.A,d)&&(g.BW(a,"onLogVesShown",{ids:[d]}),g.qb(a.A,d))}};
zna=function(){a:{try{var a=window.top.location.href}catch(b){a=2;break a}a=null!=a?a==window.document.location.href?0:1:2}a={dt:eB,flash:Yi||"0",frm:a};fi(a);return a};
FW=function(){return"ytp-id-"+Ana++};
g.HW=function(a){g.K.call(this);this.wa={};this.Ha={};this.element=GW(this,a)};
GW=function(a,b,c){c=c||"svg"==b.H;var d=c?window.document.createElementNS("http://www.w3.org/2000/svg",b.H):g.Cd(b.H);var e=b.M;if(e){if(e=IW(a,d,"class",e))JW(a,d,"class",e),a.wa[e]=d}else{var f=b.ca;if(f){for(e=0;e<f.length;e++)a.wa[f[e]]=d;JW(a,d,"class",f.join(" "))}}if(f=b.K){var k=0;for(e=0;e<f.length;e++){var l=f[e];if(l)if(g.u(l))l=IW(a,d,"child",l),null!=l&&d.appendChild(g.Dd(l));else if(l.element)d.appendChild(l.element);else{var m=l;l=GW(a,m,c);d.appendChild(l);m.Pa&&(m=FW(),l.id=m,l=
window.document.createElementNS("http://www.w3.org/2000/svg","use"),l.setAttribute("class","ytp-svg-shadow"),l.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),Id(d,l,k++))}}}if(b=b.R)for(var n in b)c=b[n],null!=c&&JW(a,d,n,g.u(c)?IW(a,d,n,c):c);return d};
IW=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Ha[d]=[b,c],null):d};
JW=function(a,b,c,d){if("child"==c){g.Gd(b);if(!g.xa(d)||g.Aa(d)&&g.u(d.H))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(g.Aa(f)&&g.u(f.H))c.push(GW(a,f));else if(f.element)c.push(f.element);else if(g.u(f)&&-1!=f.indexOf("\n")){f=f.split("\n");for(var k=0;k<f.length;k++)0<k&&c.push(g.Cd("BR")),c.push(g.Dd(f[k]))}else c.push(g.Dd(f));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())};
g.KW=function(a,b){a&&(a.style.display=b)};
LW=function(a,b){var c=WF("requestAnimationFrame",window);return g.VE(function(){c?c.call(window,a):a()},b||0)};
MW=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
g.Y=function(a){g.HW.call(this,a);this.g=!0;this.ba=[]};
g.NW=function(a,b){b?a.show():a.hide()};
OW=function(a){if(a){a=a.itct||a.ved;var b=g.x("yt.logging.screen.storeParentElement");a&&b&&b(new g.BG(a))}};
PW=function(a,b){var c=g.lE("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.Ig(window.location.href);d&&c.push(d);d=g.Ig(a);if(g.lb(c,d)||!d&&g.Ka(a,"/"))if(g.zF("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.Xc(c,a),a=c.href),a&&(c=g.Gg(a),c=g.Fg(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.rH();if(e){var e=(0,window.parseInt)(e,10);(0,window.isFinite)(e)&&0<e&&(c="ST-"+g.$a(c).toString(36),d=b?g.Og(b):"",TH(c,d,e||5),
OW(b))}else e="ST-"+g.$a(c).toString(36),c=b?g.Og(b):"",TH(e,c,5),OW(b)}};
g.QW=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;d=d.location;a=g.Qg(a,b)+c;a=a instanceof Ec?a:Jc(a);d.href=Fc(a)};
RW=function(a){(window.ytspf||{}).enabled?window.spf.navigate(a):g.QW(a)};
g.SW=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.lE("EVENT_ID");d&&(b.ei||(b.ei=d));b&&PW(a,b);if(c)return!1;RW(a);return!0};
g.TW=function(a,b,c){c&&PW(a,c);window.open(a,b||g.$a(a).toString(36))};
UW=function(){g.tG.call(this);this.g=new window.Map};
WW=function(){null==VW&&(VW=new UW,vl.getInstance().I="b");return VW};
Bna=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"f";case "measurable_impression":return"b";case "overlay_unmeasurable_impression":return"g";case "overlay_unviewable_impression":return"h";case "overlay_viewable_end_of_session_impression":return"i";case "overlay_viewable_immediate_impression":return"j";case "viewable_impression":return"n";default:return null}};
YW=function(a){XW=a&&a.data};
$W=function(a){ZW=a&&a.data};
aX=function(){XW=null};
g.bX=function(a){g.tG.call(this);this.g=a;this.loaded=!1};
cX=function(a){g.bX.call(this,a);this.ae="";this.J=new g.qG(this);g.L(this,this.J);this.C=!1};
dX=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.ae;g.sW(a.g,b,c)};
eX=function(a){g.wW(a.g,a.ae)};
fX=function(a,b,c){var d={},e;for(e in b)d[a.ae+"_"+e]=b[e];b={};for(var f in c)b[a.ae+"_"+f]=c[f];a=g.ZV(a.g);g.Ha(a.ba,d||null);g.Ha(a.Y,b||null)};
g.gX=function(a){g.Y.call(this,a);this.Y=new g.tG;g.L(this,this.Y)};
g.hX=function(a){var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";0<c&&(f+=c+":",10>d&&(f+="0"));if(0<c||0<d)f+=d+":",10>e&&(f+="0");f+=e+":";10>b&&(f+="0");f+=b;return 0<=a?f:"-"+f};
g.iX=function(a){return(!g.ta(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
g.jX=function(a,b,c,d){g.K.call(this);this.o=a;c||a.hide();this.B=null==d?b:d;this.g=null;this.A=new g.Ft(this.rp,0,this);g.L(this,this.A)};
kX=function(a,b){var c=a.o.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
g.nX=function(a,b){lX[mX+a]=b};
pX=function(a,b){this.g=a;this.o=g.ta(b)?b:null;if(g.lb(oX,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");};
qX=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}};
Cna=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};
rX=function(a){this.o=a};
sX=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
tX=function(a,b){if(a){var c="getErrorCode"in a?a.Rb():null;c?b.error_code=c:(c="getMessage"in a&&g.za(a.getMessage)?a.Cd():a.message,c=Pa(c||"",50),b.error_message=c)}};
uX=function(a,b){if(a){var c=ns(a).reverse();b.ad_id=g.ub(c,ls(a)).join(",");c=ps(a).reverse();b.ad_sys=g.ub(c,ds(a)).join(",");c=nq(a);null!=c&&(b.aqi=c)}};
vX=function(a,b){if(a[b])return sX(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return sX(a[d]);return!1};
wX=function(a,b,c){var d=new Vn;d.Zi=b.baseYtUrl;d.contentId=c.videoId;d.wu=!dO(b);d.zu=!0;d.sD=!0;d.tD=a.N;d.showContentThumbnail=a.showContentThumbnail;d.oj={};c.ig&&(d.oj.ctrl=c.ig);c.qf&&(d.oj.ytr=c.qf);c.cn&&(d.oj.ytrcc=c.cn);c.isMdxPlayback&&(d.oj.mdx="1");a.B?(d.mq=!0,d.kx=!0,d.showContentThumbnail=!1,d.uu=!0,d.xu=!0,d.zu=!1):a.C&&(d.mq=!0);ZN&&a.bb&&b.experiments.g("enable_skippables_on_iphone_embeds")&&(d.Cy=!1);d.By=a.J;return d};
AX=function(a){var b=new rA;b.C=a.o.Aa;var c=a.app.G.Xa();b.qj=c.width;b.pj=c.height;b.ff=c.width;b.df=100;b.tx=tO(xX(a));c=new Im;c.g=(0,g.A)(xX(a).experiments.g,xX(a).experiments);c.o=(0,g.A)(xX(a).experiments.o,xX(a).experiments);c.A=(0,g.A)(xX(a).experiments.A,xX(a).experiments);b.Dp=c;if(c=b.tx?sO(xX(a)):-1)b.F=c;a.o.tagForChildDirected&&(b.ip=!0);c=yX(a);b.qc={CA_TYPE:lo?"flash":"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,EID:c.eventId,LACT:Dna(a),VIS:Ena(a)};c=zX(a);null!=c&&(b.qc.P_H=
c.height,b.qc.P_W=c.width);g.Ob(zna(),function(a,c){b.qc[c.toUpperCase()]=a});
tO(xX(a))||(b.qc.LACT="-1");b.language=xX(a).Sa;var d=0;b.Qm=function(){var b=new rX(a),c=Fna(xX(a).experiments);if(0==d)if(a.pe("a_bid_s"),Xf(c)){var k=(0,g.A)(a.pe,a,"a_bid_f");c.then(k,k)}else a.pe("a_bid_f");Gna(c,xX(a).experiments,b,d);d++;return c};
return b};
Fna=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;PF().then(function(a){e=a},function(a){c&&a.isTimeout?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":BX;if((0,window.isNaN)(k))return a=g.kg(PF(),b),g.kg(a,g.y),a;var l;a=new g.Zf(function(a,b){l=new g.Ft(function(){c?a("NO_BID"):b(BX)},k);
l.start()});
a=g.kg(hba([PF(),a]),b);kba(g.kg(a,g.y),function(){l.dispose()});
return a};
Gna=function(a,b,c,d){function e(a){a==BX||a.isTimeout?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");Xf(a)?a.then(null,e):a instanceof Error&&e(a)}};
Dna=function(a){return{toString:function(){return null==a||a.la()?a=null:sO(xX(a)).toString()}}};
Ena=function(a){return{toString:function(){return null==a||a.la()?a=null:a.g.wh().toString()}}};
Hna=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=a.kd?a.kd.g:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.G)()-b).toString()}}};
CX=function(a,b,c,d){this.o=this.B="";this.A=a;this.F=b;this.g=c;this.D=d};
DX=function(a){var b={};b.l_ns=a.F;b.l_state=a.D;b.break_type=a.A.g;b.sst=qX(a.A);b.sidx=0;a.B&&(b.at=a.B);a.o&&(b.ad_id=a.o);return b};
EX=function(){g.K.call(this);this.o=new g.Ft((0,g.A)(this.D,this),1E3);g.L(this,this.o);this.B=this.A=0;this.g=jba();this.C=!1};
HX=function(){var a=g.x("yt.www.watch.ads.loadAfc");g.za(a)?(a(),FX=!0):GX=!0};
IX=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"};
KX=function(){var a=g.x("window.google_show_companion_ad");var b=g.x("yt.www.watch.ads.getGlobals");g.za(a)&&g.za(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():JX=!0};
OX=function(a){if(P.A){if(!a)return dg();LX(a,{afvMpu:{}});return cg()}a&&xX(a);KX();MX();return NX()};
NX=function(){PX||(PX=new EX);var a=PX;a.C||(a.o.start(),a.C=!0);return a.g.g};
MX=function(){PX&&(PX.dispose(),PX=null)};
QX=function(){var a=g.x("yt.www.watch.ads.setCompanion");a&&a()};
Ina=function(a){var b=g.x("yt.www.watch.ads.showForcedMpu");b&&b(a)};
RX=function(a,b,c,d){g.tG.call(this);this.g=a;this.o=d;this.videoData=null;this.adType=c;this.adSystem=b};
Jna=function(a,b,c){this.g=a;this.o=b;this.A=c||0};
SX=function(a){var b=[];(0,g.H)(a.split("_"),function(a,b){this[b]=bb(a)},b);
return new Jna(Sb(Kna,b[0])?b[0]:0,Sb(Lna,b[1])?b[1]:0,Sb(Mna,b[2])?b[2]:0)};
Nna=function(){this.clickThroughUrl="";this.isSkippable=this.isBumper=!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};
TX=function(a){var b={H:"div",M:"video-ads",K:[{H:"div",M:"video-ad-status-bar",K:[{H:"div",M:"video-ad-label",K:[g.U("YTP_ADVERTISEMENT")]}]},{H:"div",M:"ad-container"}]};g.Y.call(this,b);this.B=a;this.A=this.o=null};
UX=function(a){a.o||(a.o=a.wa["ad-container"],g.X(a.B).Af&&(ZN&&!(0<=g.Ya(g.aj,"10.0"))&&g.X(a.B).experiments.g("disable_mweb_iphone_ad_click_handling_functionality")||g.S(a.o,"ad-container-single-media-element-annotations")));return a.o};
VX=function(a){if(!a.A){var b=g.Cd("div");g.Sp(b,["video-click-tracking","ad-video"]);UX(a).appendChild(b);a.A=b}return a.A};
Ona=function(a){this.g=a};
Pna=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};
WX=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}};
Qna=function(a,b){this.C=null;this.A=window.NaN;this.o=null;this.g=a;this.B=b};
XX=function(a,b,c){a.g.X("AD_LOGGING_EVENT",b,c)};
$X=function(a,b,c){YX(a);var d=ZX(a);c&&g.Ha(d,c);d.ad_error=b;XX(a,7,d)};
ZX=function(a){var b={},c=a.g.videoData,d=a.g.Cn(),e=a.g.fm();uX(a.g.Lb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.Ig(e),b.ad_dom=c,(c=a.B.o)&&c.C&&(b.ad_v_url=e.substr(0,512)));e=a.g;(e=e.o?e.o.De():null)&&(b.ad_cpn=e);b.format=a.g.xf();b.at=a.g.ii();b.ad_mt=Math.round(1E3*Math.max(Rna(a.g),0));return b};
YX=function(a){a.C||(a.C="InstreamAdDisplay ("+a.g.xf()+")")};
aY=function(a,b){g.K.call(this);this.B=Math.max(0,a);this.A=this.o=0;this.C=b;this.g=window.NaN};
bY=function(a,b){this.o=a;this.g=b};
cY=function(a,b){return a.o+b*a.getLength()};
dY=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.o)/a.getLength();return g.$c(a,0,1)};
Sna=function(){this.o=this.position=this.B=this.g=this.C=this.A=this.width=window.NaN};
eY=function(a,b,c,d,e){var f=b.kt/b.rows,k=Math.min(c/(b.lt/b.columns),d/f),l=b.lt*k,m=b.kt*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,q=m/b.rows,r=-b.Rw*n,w=-b.Hc*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 "+w+"px/"+l+"px "+m+"px";if(e)return new g.gd(n,
q)};
gY=function(a,b,c,d,e,f,k,l){RX.call(this,b,a,2,c);this.L=!1;this.F=this.V=this.N=null;this.g.subscribe("control_toggle_play_pause",this.YD,this);this.g.subscribe("control_play",this.It,this);this.g.subscribe("control_pause",this.Ht,this);this.C=new Qna(this,this.g);this.A=new g.oG(this);this.B=fY(b.g.app,2);this.B.subscribe("statechange",this.WD,this);this.B.subscribe("internalAbandon",this.RA,this);this.B.subscribe("internalvideodatachange",this.XD,this);this.D=this.G=!1;this.Y=d;this.da=e;this.O=
!!f;this.ba=!!k;this.J=l;this.I=new aY(15E3,(0,g.A)(this.abort,this));this.aa=b.o.N&&"3"==xX(b).B};
iY=function(a,b){if(!a.la()&&a.aa){var c=a.g.app.G;dO(c.app.g);c.F=!b;hY(c)}};
kY=function(a){UP("ad_to_video",["pbresume"]);a.J&&g.JP("yt_abt",a.J,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&g.JP("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&g.JP("ad_docid",a.videoData.videoId,"ad_to_video");g.IP("adc",void 0,"ad_to_video");yV(fY(a.g.g.app,2));jY(a.g,0);Tna(a.g,0);a.X("adEnd",a);iY(a,!0)};
lY=function(a,b){xX(a.g).experiments.g("html5_ad_error_releases")?yV(a.B):ZU(a.B);jY(a.g,0);a.X("adError",b)};
Rna=function(a){return a.B?a.B.getCurrentTime():0};
Una=function(a){a=a.Lb();return a?(a=a.G.get("why_this_ad"))?{menuTitle:a.B,closeButton:a.A,targetingReasonHeader:a.C,targetingReasons:g.vb(a.D),adSettingsLink:g.vb(a.o),controlText:a.G,continueButton:a.F,cancelButton:a.J}:null:null};
Vna=function(a){a=a.Lb();if(!a)return null;a=a.G.get("mute");if(!a)return null;for(var b=ht(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}};
Wna=function(a,b){this.g=a;this.C=b;this.g.xf();this.o=this.B=0;this.A=null};
mY=function(a,b,c){a.g.X("AD_LOGGING_EVENT",b,c)};
nY=function(a){var b={};uX(a.g.Lb(),b);a.B&&a.o&&(b.ot=a.o-a.B);var c=a.C.isFullscreen()?2:a.C.app.na?1:0;b.ad_ps=c;b.format=a.g.xf();b.at=a.g.ii();return b};
oY=function(a,b,c,d){RX.call(this,b,a,1,c);this.A=null;this.D=!1;this.G=null;this.C=new Wna(this,b);this.B=new g.oG(this);this.F=!!d};
pY=function(a,b){var c=a.g.getRootNode();g.T(c,"ytp-ad-overlay-open",b);g.T(c,"ytp-ad-overlay-closed",!b)};
qY=function(a,b,c,d){g.K.call(this);this.I=null;this.G=a;this.o=b.Pb;this.C=b;this.slotId=b.getId();this.g=c;this.D=d;this.A=new CX(this.o,this.G,c,d);this.ob=null;this.L=new g.mm(this);this.B=new g.mm(this);this.J=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
rY=function(a,b){a.I=b;var c=b.xf();a.A.B=c};
sY=function(a,b){var c=g.x("yt.www.watch.ads.setAdId");c&&c(b);a.A.o=b};
Xna=function(a){OX(a.g).then(function(){this.A.C()},g.y,a)};
Yna=function(a){this.g=a};
tY=function(a){RX.call(this,a,2,3,null)};
uY=function(a,b,c){qY.call(this,2,a,b,c);this.F=new Yna(this.g.o);IX()};
Zna=function(a,b){this.g=a?a:"";this.hc=b};
vY=function(a,b,c,d){oY.call(this,1,a,b,d);this.I=c};
wY=function(a,b,c){qY.call(this,1,a,b,c);this.F=new Zna(this.g.o.adTag,this.slotId,xX(this.g).experiments)};
xY=function(a,b){var c=b.o;this.F=c.forceAdUrl;var d=0;c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);qY.call(this,2,a,b,d)};
$na=function(a){a=Uq(a);var b=Vq(a);return{plaShelfItemRenderer:{headline:yY(a.nd()),merchant:yY(Xq(b)),image:{thumbnails:[{url:Yq(a).getImageUrl()}]},priceText:yY(Zq(b)),reviewText:yY(or(b,"review_text")),rating:pv(b,"rating",0),clickthroughEndpoint:{webNavigationEndpointData:{url:ar(Jv(b))},urlEndpoint:{url:ar(Jv(b)),target:"TARGET_NEW_WINDOW"}}}}};
yY=function(a){return{runs:[{text:a}]}};
boa=function(){zY||(zY=aoa()?cg():new g.Zf(function(a){g.JG("watchAdsInit",a)}));
return zY};
aoa=function(){var a=g.x("yt.www.watch.ads.promotionShelfShow");return g.za(a)};
coa=function(a){var b=g.x("yt.www.watch.ads.promotionShelfClear");b&&b();b=g.x("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)};
AY=function(){this.B=new g.Y({H:"button",ca:["ad-carousel-nav-button","ad-carousel-nav-prev"],R:{type:"button",onclick:"return false;"},K:[{H:"span",ca:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],R:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.L(this,this.B);this.B.U("click",this.F,this);this.A=new g.Y({H:"button",ca:["ad-carousel-nav-button","ad-carousel-nav-next"],R:{type:"button",onclick:"return false;"},K:[{H:"span",ca:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],R:{"data-tooltip-text":"Next",
title:"Next"}}]});g.L(this,this.A);this.A.U("click",this.D,this);g.Y.call(this,{H:"div",M:"ad-carousel",K:[{H:"div",M:"ad-carousel-clip",K:[{H:"ul",ca:["ad-carousel-list","ad-carousel-list-animation"],K:["{{items}}"]}]},this.B,this.A]});this.C=this.wa["ad-carousel-list"];this.o=0;this.Ka=[]};
doa=function(a,b){a.clear();a.Ka=(0,g.J)(b,function(a){var b=new g.Y({H:"li",M:"ad-carousel-listitem",K:[{H:"div",M:"ad-carousel-item",K:[a]}]});g.L(b,a);return b});
a.Ea("items",a.Ka)};
CY=function(a){a.C&&g.oh(a.C,"left",(2>a.Ka.length?0:-a.o*a.Ka[1].element.clientWidth)+"px");g.NW(a.B,0<a.o);g.NW(a.A,a.o<a.Ka.length-BY(a))};
BY=function(a){return 2>a.Ka.length?1:Math.round((a.element.clientWidth-a.Ka[0].element.clientWidth)/a.Ka[1].element.clientWidth)+1};
goa=function(a){var b=Uq(a),c=Vq(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");var e={href:ar(Jv(c)),target:"_blank"},f={H:"div",ca:["iv-btp-card-image","yt-uix-hovercard-anchor"],K:[{H:"span"},{H:"div",M:"iv-btp-card-image-aligned",K:[{H:"img",R:{src:Yq(b).getImageUrl()}}]}]},k={H:"div",M:"iv-btp-card-info",K:[{H:"span",M:"iv-btp-card-action",K:[Zq(c)]},DY(a)]};var l=Uq(a);var m=Vq(l);l={H:"div",ca:["yt-uix-hovercard-content","iv-btp-hovercard"],K:[{H:"div",M:"iv-btp-hovercard-text-box",
K:[{H:"a",R:{href:ar(Jv(m)),target:"_blank"},K:[{H:"div",ca:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],K:[l.nd()]}]},{H:"div",M:"iv-btp-hovercard-info",K:[{H:"span",M:"iv-btp-hovercard-action",K:[Zq(m)]},DY(a)]},eoa(a)]}]};d={H:"div",ca:d,R:{"data-position":"bottomright","data-orientation":"vertical"},K:[f,k,l]};b={H:"div",M:"iv-btp-large-card",K:[{H:"div",M:"iv-btp-card-image",K:[{H:"span"},{H:"div",M:"iv-btp-card-image-aligned",K:[{H:"img",R:{src:Yq(b).getImageUrl()}}]}]},
{H:"div",M:"iv-btp-card-info",K:[{H:"div",M:"iv-btp-card-text-box",K:[{H:"div",M:"iv-btp-card-text-valign",K:[{H:"div",ca:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],K:[b.nd()]}]}]},{H:"span",M:"iv-btp-card-action",K:[Zq(c)]},DY(a),eoa(a)]}]};c=[];a=Vq(Uq(a));f=g.hc(g.foa.Vv,g.EY.EG);for(k=0;k<tv(a,"event");k++)l=new yv(rv(a,"event",k)),7==l.Yb()&&(l=g.vm(or(l,"base_url"),f),c.push({H:"img",R:{src:l}}));g.gX.call(this,{H:"div",M:"iv-btp-card",K:[{H:"a",M:"iv-btp-card-content",R:e,
K:[{H:"div",K:[d,b,{H:"div",M:"iv-btp-impressions",K:c}]}]}]})};
eoa=function(a){a=Vq(Uq(a));return.01>pv(a,"rating",0)?{H:"div"}:{H:"div",M:"iv-btp-card-review",K:[{H:"div",M:"iv-btp-card-rating",K:[{H:"span",M:"iv-btp-card-rating-bg",K:[{H:"span",M:"iv-btp-card-rating-fg",R:{style:"width: "+Math.floor(100*pv(a,"rating",0)/5)+"%;"}}]}]},{H:"span",M:"iv-btp-card-reviews",K:[or(a,"review_text")]}]}};
DY=function(a){return{H:"div",M:"iv-btp-card-merchant",K:[{H:"span",M:"iv-btp-card-merchant-text",K:[Xq(Vq(Uq(a)))]}]}};
FY=function(){this.o=new AY;this.C=new g.qG(this);g.L(this,this.C);this.D=new g.Ft(this.ou,200,this);g.L(this,this.D);var a={H:"div",M:"iv-btp-companion",K:[{H:"div",M:"iv-btp-block-clicks"},{H:"div",M:"iv-btp-attribution",K:[{H:"span",M:"iv-btp-title",K:["{{title}}"]},{H:"div",ca:["yt-uix-hovercard","ad-info-container"],K:[{H:"span",M:"iv-btp-sponsored",K:[g.U("YTP_SPONSORED"),{H:"span",M:"yt-uix-hovercard-target",R:{"data-position":"topright","data-orientation":"horizontal"},K:[{H:"span",M:"ad-info-icon"}]}]},
{H:"div",M:"yt-uix-hovercard-content",K:[{H:"span",M:"ytp-ad_settings",K:[g.U("YTP_SPONSORED_PRODUCT_INFO")]}]}]}]},this.o]};g.gX.call(this,a);this.B=this.wa["iv-btp-block-clicks"];this.A=new g.Ft(g.Ga(function(a){g.M(a,!1)},this.B),1E3);
g.L(this,this.A);this.C.P(window,"resize",this.SI)};
hoa=function(a,b){a.clear();g.M(a.B,!0);var c=(0,g.J)(b,g.Ga(function(a){return new goa(a)}));
a.Ea("title",0<b.length?or(b[0],"teaser_text"):"");doa(a.o,c);a.ou()};
GY=function(a,b){RX.call(this,a,14,14,b);this.A=new FY(xX(this.g).experiments);g.L(this,this.A)};
ioa=function(a){return(0,g.Ld)(a.o.Lb().B,function(a){return qv(a.Xe(),"show_in_promotion_shelf")})};
HY=function(a,b,c){qY.call(this,14,a,b,c)};
IY=function(a,b,c){qY.call(this,14,a,b,c)};
joa=function(a,b,c,d,e){this.B=a;this.o=b;this.g=c;this.F=xX(this.B);this.C=d;this.D=yX(this.B).lengthSeconds;this.G=e;this.A="html5";g.eO(this.F)?this.A="html5_embed":ZN||YN?this.A="html5_ios":XN("android")?this.A="html5_android":vF()?this.A="html5_wp":rF()?this.A="html5_ps3":g.AO(this.F)?(a=(g.Wb(window,"environment","brand")||"").toLowerCase(),b=(g.Wb(window,"environment","model")||"").toLowerCase(),this.A="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):uF()?this.A="html5_wii":
this.A="html5_desktop"};
koa=function(a){return JY(a.o)?"preroll":KY(a.o)?"postroll":"midroll"};
loa=function(a){return(a=a.B.A)?(0,g.Hk)(a.Eb,function(a){return LY(a)||KY(a)}):!1};
MY=function(a,b){oY.call(this,4,a,b)};
NY=function(a,b,c){qY.call(this,4,a,b,c);var d=this.g.o;this.F=g.F(d.Ra);var e=yX(this.g)&&yX(this.g).spacecastModule;this.N=new joa(b,a,d,c,!!e)};
OY=function(a,b){this.o=a;this.g=b};
moa=function(a){return 0<(a.g&3)};
PY=function(a,b,c,d,e){g.tG.call(this);this.F=!0;this.o=!1;this.isVisible=!0;this.B="unloaded";this.G=!1;this.ya=b;this.A=a;this.Pb=c;this.D=d;this.C=this.g=null;this.I=!!e};
RY=function(a){return JY(a)?a.Sb()&&QY(a)?-0x8000000000000:0:g.ta(a.Pb.o)?1E3*qX(a.Pb):0x8000000000000};
noa=function(a){var b=!xX(a.A).experiments.g("disable_fetching_previous_nonadjacent_midrolls");return JY(a)||b&&a.A.g&&1E3*a.A.g.getCurrentTime()>=RY(a)?!1:(0,g.Lr)(a.D,function(a){switch(a.Yb()){case 1:case 2:case 5:return!0;default:return!1}})};
JY=function(a){return 1==a.Pb.g};
QY=function(a){if(!a.Sb())throw Error("Preroll status is undefined before ad load.");return JY(a)&&a.o};
LY=function(a){return 2==a.Pb.g};
KY=function(a){return 3==a.Pb.g};
VY=function(a){a.B="loading";JY(a)&&!(0,g.Hk)(a.D,moa)&&eX(a.A);if(a.I)a.B="loaded",a.o=!0,SY(a);else{var b=a.D.shift();b?(JY(a)&&a.A.pe("nl"),b=b.create(a,a.A),g.L(a,b),b.load()):a.A.o.F&&5!=a.Pb.g?ooa(a,new tY(a.A),a.Pb):(TY(a.A,2,UY(a,{})),poa(a,!1),a.B="error",SY(a))}};
WY=function(a){a.g&&(a.g.unsubscribe("adEnd",a.VA,a),a.g.unsubscribe("adError",a.ND,a),a.g.unsubscribe("AD_LOGGING_EVENT",a.PD,a),a.g.unsubscribe("select",a.MD,a),a.g.unsubscribe("adCompanionInitialized",a.OD,a))};
ooa=function(a,b,c){a.g=b;a.Pb=c;g.L(a,a.g);0==a.ya&&(b=a.g.ii(),a.A.Y.at=b);a.g instanceof gY?a.o=!0:a.g instanceof tY?a.isVisible=!1:a.g instanceof MY?a.isVisible=!1:a.g instanceof vY&&(a.isVisible=!1);a.B="loaded";SY(a)};
SY=function(a){a.X("adBreakComplete",a)};
poa=function(a,b){a.C&&(a.C.Vj({FILLED_OPPORTUNITY:b?1:0}),a.C.dispose(),a.C=null)};
UY=function(a,b){b.break_type=a.Pb.g;b.sst=qX(a.Pb);b.sidx=0;return b};
qoa=function(a){var b=0;a.V&&(b|=1);a.O&&(b|=2);var c=0;a.I&&a.L&&(c=4);a=new Ol;a.set(3,b);a.set(4,c);return a};
roa=function(a,b){var c=[];if(a.aa)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new OY(8,16):new OY(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.ga&&c.push(new OY(7,16)),c;if(a.ea){var d=0;if(a.o||a.D)d|=1;a.da&&(d|=4);a.F&&(d|=8);c.push(new OY(5,d))}a.ba&&(d=0,a.o&&(d|=1),a.D&&(d|=2),a.da&&a.I&&(d|=4),a.F&&a.I&&(d|=8),d&&c.push(new OY(2,d)));d=qoa(a);var e=d.get(3);e&&c.push(new OY(1,e));!a.independentBreakOffsets&&a.ga&&c.push(new OY(7,16));(d=d.get(4))&&c.push(new OY(1,d));return c};
soa=function(a){this.g=a};
uoa=function(a){var b=[];(0,g.H)(toa(a),function(a,d){var c=this.g;var f=roa(this.g.o,a.g);c=new PY(c,d,a,f);b.push(c)},a);
return b};
toa=function(a){var b=a.g.o;a=[];if(b.Va)for(var c=b.Va.split(","),d=0;d<c.length;d++){var e=bb(c[d]);e=0>e?new pX(3):0<e?new pX(2,e):new pX(1);a.push(e)}else a=voa;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new pX(5,bb(b[d])));g.Eb(a,Cna);return a};
zoa=function(a,b){this.G=a;this.B=this.G.isMobile;this.C=g.AO(this.G);this.A=this.B||this.C;this.bb=g.eO(this.G);this.N=!this.C&&!dO(a);this.o=sX(b.instream);this.isLiveStream=1==b.livestream;this.D=sX(b.trueview);this.Y=sX(b.aftv);this.Va=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.Ha=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Ib=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.Ma=woa(this.afvAdTag);this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.kb=
(0,window.parseInt)(b.ad_age,10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.o||this.D)&&!this.G.ha;this.Oa=b.cid;this.sa=LN(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.Aa=(0,window.parseInt)(b.forced_skip_offset,10);this.forceAdType=b.force_ad_type;this.forceAdUrl=b.force_ad_url;this.Ra=b.freewheel_ad_tag;this.gender=Zb(xoa,function(a){return a==b.ad_gender});
this.na=b.dbp;this.L=sX(b.afv)&&!this.A;this.O=this.Y&&this.D;this.V=this.Y&&this.o&&!sX(b.no_afv_instream);this.ba=sX(b.dclk);sX(b.gpt_migration);this.aa=sX(b.forced_ad);this.ea=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Jb=!!b.fqsf;this.da=sX(b.invideo)&&!this.A;this.F=sX(b.mpu)&&!this.A;g.lb(this.Ma,"yt_mabv");this.ga=!!b.pla;this.ib=sX(b.shortform);this.I=sX(b.sffb);this.pa=b.ad_language_iso639_2;this.g=this.A||!this.G.experiments.g("disable_client_side_midroll_freq_capping")?(0,window.parseInt)(b.midroll_freqcap,
10):-1;(0,window.isNaN)(this.g)&&(this.g=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.zb=b.pla_ad_tag;this.tagForChildDirected=sX(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData;this.Za=this.Y&&this.I&&!this.L;this.Sa=this.L||this.Za;this.Ab=(0,window.parseInt)(b.ad_device,10);this.ra=b.tpas_video_id;this.ha=b.tpas_partner_id;this.vmap=b.vmap;this.tc=this.G.tc;this.showContentThumbnail=
!0;g.sa(b.show_content_thumbnail)&&(this.showContentThumbnail=b.show_content_thumbnail);this.J=yoa(b.serialized_ad_ux_config)};
woa=function(a){if(!a||E(g.F(a)))return[];a=g.Gg(a)[6]||null;if(!a)return[];var b=null;Kg(a,function(a,d){b||"channel"!=a||(b=d)});
return b?b.split("+"):[]};
yoa=function(a){if(a)try{var b=g.yg(a);return new Ke(b)}catch(c){}return null};
XY=function(a,b){g.K.call(this);this.C=a;this.xe=new g.mm(this);g.L(this,this.xe);this.o=null;this.g=!1;this.xe.U(b,"companionImpression",this.B);this.xe.U(b,"companionClick",this.A)};
YY=function(a){g.K.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.SC()};
Aoa=function(a,b){a.C[b]&&(g.uW(a.g.g,[a.C[b]],void 0),delete a.C[b])};
Boa=function(a,b,c,d){0>=c||((0,window.isNaN)(a.o)||g.TE(a.o),c=(0,g.G)()+c,a.o=0==d?LW((0,g.A)(a.bE,a,b,c,100),0):LW((0,g.A)(a.aE,a,b,c,100),0))};
ZY=function(a,b,c){xX(a.g);a=yX(a.g).Lm;b.setVolume(c*a)};
$Y=function(a){YY.call(this,a)};
aZ=function(a,b,c){g.K.call(this);this.g=a;this.D=b;this.B=c;this.o=-1;this.C=window.NaN;this.B&&0<this.g.o.g&&this.g.subscribe("endseeking",this.A,this)};
Coa=function(a,b){bZ(a);0<b&&(a.C=g.VE((0,g.A)(a.A,a),1E3*b))};
bZ=function(a){g.TE(a.C);a.C=window.NaN};
dZ=function(a,b){if(!a.B||!LY(b)&&!KY(b))return!1;var c=a.g.o.g;if(0>=c||0>=a.o)return!1;var d=(0,g.G)()/1E3,e=cZ(a,b)-a.g.g.getCurrentTime();0<e&&(d+=e);return d-a.o<=c};
cZ=function(a,b){return KY(b)?a.g.g.fa().lengthSeconds:qX(b.Pb)};
eZ=function(a,b){g.K.call(this);this.J=this.g=null;this.N=[];this.O=window.NaN;this.Eb=b;this.G=[];this.A={};this.D={};this.o=a;var c=a.o,d=!c.isLiveStream&&(0,g.Hk)(this.Eb,function(a){return LY(a)||KY(a)});
this.C=new aZ(this.o,this,d);this.B=c.applyFadeOnMidrolls?new YY(a):new $Y(a);this.aa=(0,g.Hk)(this.Eb,function(a){return JY(a)})};
Eoa=function(a){a.G.length||(a.G=(0,g.Ld)(a.Eb,function(a){return"unloaded"==a.B}),0==a.G.length?eX(a.o):(a.aa||eX(a.o),Doa(a)))};
Doa=function(a){if(a.G.length){var b=a.G.shift();b.subscribe("adBreakComplete",a.Jj,a);b.subscribe("adCompanionInitialized",a.zt,a);VY(b)}};
Foa=function(a,b){function c(a){return a&&5!=a.Pb.g}
var d=(0,g.kb)(a.Eb,b),e=g.xb(a.Eb,0,d);d=g.xb(a.Eb,d+1);return{previous:g.gb(e,c),next:g.gb(d,c)}};
Goa=function(a,b,c){var d=RY(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=qX(b.Pb)?g.$R.lk:g.$R.CE;e.id=String(b.getId());e.visible=b.isVisible;d=a.B.LC(b,d);c=a.B.KC(b,c);c=new g.bS(d,c,e);a.D[b.getId()]=c;dX(a.o,[c]);a.B.iw(b)}};
Hoa=function(a,b){var c=b.getId();a.D[c]&&(Aoa(a.B,c),g.uW(a.o.g,[a.D[c]],void 0),delete a.D[c])};
Ioa=function(a,b){if(g.t(b)){var c=a.hj(b);if(c)if(a.g==c&&!c.o&&c.isVisible)c.show();else{if(a.g){if(5==c.Pb.g){a.g.o?a.N.push(b):c.show();return}a.ai(a.g)}if(dZ(a.C,c))a.g=null,c=a.D[c.getId()],c.visible||(c.visible=!0,dX(a.o,[c],1));else{5!=c.Pb.g&&(a.g=c);c.subscribe("adBreakComplete",a.Cl,a);c.subscribe("adCompanionInitialized",a.zt,a);if(c.o){1!=c.Pb.g&&UP("video_to_ad",["apbs"]);var d=a.o;d.L=!0;d.B||fZ(d);d=a.C.o;d={tfla:0<d?Math.floor((0,g.G)()/1E3-d):0};a.o.cj.g(gZ,"show_instream_ads",d)}a.B.cE(c);
c.show()}}}};
hZ=function(a,b,c){eZ.call(this,a,b);this.I=[];this.L=[];this.F=[];this.ba=c;this.Y=window.NaN;this.V=a.o.g;var d=!xX(a).experiments.g("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.g.getCurrentTime();d=d?null:jb(b,function(b){return a.g&&e>=RY(b)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(noa(f)&&f!=d){var k=new PY(f.A,f.ya,f.Pb,f.D,!0);b[c]=k;this.I.push(f)}}this.aa||this.Mj()};
iZ=function(a){g.TE(a.Y);a.Y=window.NaN};
jZ=function(a,b){eZ.call(this,a,b);this.Y=a;this.ba=!0;this.I=[];this.ga=1;this.L=0};
Joa=function(a){if(null==a.g&&0<a.I.length){var b=a.I[0];b.isVisible?(a.ba=a.F.isPeggedToLive(),a.da=Math.ceil((0,g.G)()/1E3),b.subscribe("adBreakComplete",a.V,a),a.g=b,b.show()):a.V()}else null!=a.g&&a.L++};
Koa=function(a,b){this.I=a;this.D=b;this.G=(0,g.G)();this.C=0;this.g=a.o;this.B={};this.F=new Ona(a);var c=[];this.g.ea&&this.g.o&&c.push("4_2");this.g.ba&&(this.g.o&&c.push("1_2"),this.g.D&&c.push("1_2_1"),this.g.da&&c.push("1_1"),this.g.F&&c.push("1_3"));this.g.O&&c.push("2_2_1");this.g.V&&c.push("2_2");this.g.L&&c.push("2_1");this.g.Sa&&c.push("2_3");this.g.ga&&c.push("14_14");this.o=c.join(",");this.A="";this.B.allowed=this.o;(c=this.g.excludedAds)&&(this.B.ex_ads=c)};
kZ=function(a,b,c){g.K.call(this);this.o=a;this.B=b;this.kd=c;this.C=this.D=-1;this.g=Loa(this.B.Ve());a=this.B.Ve();a.length&&(a=a[a.length-1],-1==a&&dX(this.o,[this.g[a]]));0<this.o.o.g&&this.o.subscribe("endseeking",this.A,this)};
Moa=function(a,b){lZ(a);0<b&&(a.C=g.VE((0,g.A)(a.A,a),1E3*b))};
lZ=function(a){-1!=a.C&&(g.TE(a.C),a.C=-1)};
Loa=function(a){if(!a.length)return{};for(var b={},c=0;c<a.length-1;c++){var d=a[c];var e=a[c+1];e=-1==e?0x8000000000000:1E3*e;b[d]=new g.bS(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.bS(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
mZ=function(){g.K.call(this)};
Noa=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};
nZ=function(a){g.K.call(this);this.g=a;this.o=null;this.A={};this.C={};a=a.o;this.D=a.fadeInDurationMilliseconds;this.I=a.fadeInStartMilliseconds;this.J=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.L=1E3*this.g.g.fa().lengthSeconds;this.F=this.B+this.J;this.G=new g.qG(this);g.L(this,this.G);this.G.P(this.g.g,"applicationplayerstatechange",this.mE)};
oZ=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.L};
Ooa=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Hk)(a.split(","),function(a){a=Wa(a);return"linear"==a})};
Poa=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=(0,window.parseFloat)(g.Ua(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.Ua(d%60,2,b);c=b=e||c?e+":"+g.Ua(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c};
Roa=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.Hk)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=Qoa(this,a);
!d&&f&&(this.A[f]=a)},a));
return 0<g.Rb(a.A)};
Qoa=function(a,b){var c=1E3*Math.round((b+a.F)/1E3),d=b+a.B,e=b+a.I;return oZ(a,b)&&oZ(a,c)&&oZ(a,d)&&oZ(a,e)?c:null};
Soa=function(a,b,c,d){0>=c||(d=0==d?a.lE:a.kE,c=(0,g.G)()+c,a.o=LW((0,g.A)(d,a,b,c,100),0))};
pZ=function(a,b,c){a=yX(a.g).Lm;b.setVolume(c*a)};
qZ=function(a){g.K.call(this);this.kd=this.A=this.B=this.F=this.o=null;this.L=this.I=!1;this.g=a;this.G=this.ob=null;this.N={};this.O=new g.mm(this);this.C=new g.mm(this);this.J=new g.qG(this);g.L(this,this.J);this.D=null};
Toa=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.H)(a.getElementsByTagName("VASTAdTagURI"),function(a){if("end"==b){var d="post";var f=-1;var k="postroll"}else d="mid",f=Noa(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};
Uoa=function(a,b){var c=g.wr(b);if(!c)return null;var d=g.Pd(c);if(!d)return c;var e=g.gb(g.Nd(d),function(a){return"#1"==a.getAttribute("timeOffset")});
if(e){var f=g.gb(g.Nd(e),function(a){return"vmap:Extensions"==a.tagName}),k=f?g.Nd(f):[];
k=g.gb(k,function(a){return"YTBreakTime"==a.getAttribute("type")});
f=(f=f.removeChild(k))?g.Nd(f):[];var l=e,m=1;(0,g.H)(f,function(a){a=a.getAttribute("timeOffset");a=Toa(e,a,m);m++;d.insertBefore(a,l.nextSibling);l=a});
d.removeChild(e)}a.D.cC(d)||(g.af(a.D),a.D=new mZ);return c};
Voa=function(a){var b=wX(a.g.o,xX(a.g),yX(a.g));b.aI=!0;b.tw=!1;b.YB=10;b.Jt=a.D.Sx();return b};
Woa=function(a,b){var c=a.kd?a.kd.g:0;c={tfla:0<c?Math.floor((0,g.G)()/1E3-c):0};a.g.cj.g(gZ,b,c)};
Yoa=function(a,b){if(b){IX();var c=OX(a.g),d=tC(a.o);if(d){var e=d.af();d=g.lb(oX,e)?new pX(e,d.Ac):new pX(e);e=SX(oq(b));d=new CX(d,e.g,a.g,14==e.o?16:4);c.then(d.C,g.y,d)}}else a.g.o.F&&(a.B=new tY(a.g),Xoa(a,a.B),a.B.show())};
sZ=function(a,b){b&&"adLoadError"==b.Yb()&&(xX(a.g).experiments.g("enable_no_ads_ping_for_mpu_disable")&&!a.g.o.F&&a.jE(tC(a.o),0,2,{}),rZ(a))};
tZ=function(a){a.B&&(a.B.dispose(),a.B=null)};
uZ=function(a){var b=ps(a);a=0<b.length?b.pop():ds(a);a=Zoa[a.toUpperCase()];return null!=a?a:0};
rZ=function(a){a.I||(eX(a.g),a.I=!0)};
Xoa=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.A)(a.jE,a,tC(a.o),b.adType))};
vZ=function(a){g.Y.call(this,{H:"div",M:"ytp-ad-notification-container",K:["{{content}}"]});this.T=a;this.o=null;this.C=-1;this.A=new g.jX(this,250,!1,150);g.L(this,this.A);this.P(this.T,"adnotify",this.Dl);this.P(this.T,"discardadnotify",this.Fl)};
xZ=function(a,b){cX.call(this,b);this.ae="ad";this.app=a;this.o=this.A=this.D=null;this.L=this.V=!1;this.B=this.ob=null;P.o=!0;P.J=!1;P.ba=!1;P.Y=!0;var c=P,d=!g.mF();c.I=d;P.F=0;c=a.g.experiments.o("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(P.N=c);wZ(this)&&(P.A=!0);this.G=null;this.ba={};this.Y={at:"0"};c=g.X(this.g).experiments;if(c.g("enable_midroll_notify")||c.g("enable_postroll_notify"))c=new vZ(this.g),g.L(this,c),g.zW(this.g,c.element,4);this.F=new TX(this.g);g.zW(this.g,this.F.element,
4);this.N=this.aa=null;this.O=-1;this.cj=new rX(this);this.I=new g.qG(this);g.L(this,this.I)};
yX=function(a){return a.app.A.g};
xX=function(a){return a.app.g};
TY=function(a,b,c){if(a.D){a=a.D;c=c||{};var d=((0,g.G)()-a.G)/1E3;c.art=d;d=xX(a.I);d.Fh&&(c.feature=d.re);c.ad_flags=a.g.adFlags;(d=a.g.Oa)&&(c.cid=d);c.mt=a.D.getCurrentTime();(d=g.$G())&&(c.lact=d);(d=a.D.getDuration())&&(c.len=d);a.g.Jb&&(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?WX(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);xX(b.g).experiments.g("fix_api_stats_ads_companion_backfill_break_type")&&(a=cc(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.g.o.Ab;e.ns=1;e.sdkv="h.3.0";e.ver="2.0";for(var k in c){f=e;a=k;d=c[k];var l=c;switch(a){case "trsp":f.slot_pos=d;break;case "break_type":g.lb(oX,bb(d))&&(f.m_pos=l.sst);case "format":case "ad_id":case "ad_v":case "ad_cpn":case "ad_mt":case "aqi":case "ad_sys":f[a]=d;break;case "ad_len":f[a]=Math.round(1E3*
d);break;case "ad_error":f.error_code=Pna(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=WX(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=fY(b.g.g.app,2);k=yX(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*qX(a.g.Pb):0):e.mt=Math.round(1E3*f.getCurrentTime());xX(b.g);e.ei=k.eventId;e.lact=g.$G();e.vol=Math.round(b.g.app.J.getVolume());
e.vis=b.g.g.wh();a=zX(b.g);e.p_w=a.width;e.p_h=a.height;e.rt=(0,g.G)();if(f=(f=f.o?f.o.oa():null)&&g.jd(f)===window.document?g.Ah(f):null)e.pv_h=f.getHeight(),e.pv_w=f.Gb();2==(c&&c.ad_event?WX(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);c=jm(e);k=xX(b.g).baseYtUrl+"api/stats/ads";k=new g.Ul(k);Zl(k,c);g.wF(k.toString())}}};
yZ=function(a,b,c){c=c||{};c.ad_error=b;TY(a,7,c)};
zZ=function(a,b,c){a.app.J.za(b,c)};
$oa=function(a){if(!a.V||a.app.g.experiments.g("enable_html5_midroll_tsla_update")){var b=xX(a).baseYtUrl;g.wF(b+"mac_204?action_fcts=1");a.V=!a.app.g.experiments.g("enable_html5_midroll_tsla_update")}};
AZ=function(a){return a.A instanceof jZ?a.A:null};
BZ=function(a){return g.eW(a.app).o};
bpa=function(a){var b=g.Rd(UX(a.F),g.ae()),c=a.g;if(2==cW(c.app)){c=c.app;var d=g.eW(c,2);d&&(d!=c.A?CZ(c,c.A):apa(c))}c=g.X(a.g);"3"!=c.B||dO(c)||(c=g.gW(a.g),dO(c.app.g),c.F=!1,hY(c));b&&a.g.getRootNode().focus()};
zX=function(a){return a.o.C?(a=a.app.G.Xa(),new g.ah(0,0,a.width,a.height)):g.Ih(a.getRootNode())};
cpa=function(a,b){a.pe("bd");var c=a.o;var d=c.midrollPrefetchSize;c=c.isLiveStream?new jZ(a,b):0<d?new hZ(a,b,d):new eZ(a,b);a.A=c;Eoa(a.A)};
FZ=function(a){DZ(a);var b=a.app;g.VE(function(){EZ(b)},0)};
fZ=function(a){var b=a.app;g.VE(function(){GZ(b)},0)};
dpa=function(a,b){var c=a.app;g.VE(function(){HZ(c,b)},0)};
DZ=function(a){a.L=!1;var b=g.eW(a.app,2);b&&a.app.g.G.remove(b.g.videoId)};
Tna=function(a,b){switch(b){case 1:a.O=1;zZ(a,"onAdStart");break;case 0:a.O=0,zZ(a,"onAdEnd")}};
jY=function(a,b,c){c&&zZ(a,"onAdInfoChange",c);a=a.app;1==b&&(a.I.o("vr"),a.ha||(a.ha=wP(a.hB,a)),TV(a.F),ZR(a.I,epa(a)));c=a.g;(g.AO(c)&&c.Hb||g.bO(c))&&a.o.za("onAdStateChange",b)};
IZ=function(a){return!!(a.o.I&&a.A&&1<a.A.Eb.length)};
wZ=function(a){a=a.app.g;return"web"==a.o.c.toLowerCase().substr(0,3)&&!g.bO(a)&&"desktop-polymer"==a.g};
LX=function(a,b){b.contentVideoId||(b.contentVideoId=yX(a).videoId);zZ(a,"updatekevlarcompanion",b)};
JZ=function(a,b,c){g.K.call(this);this.da=b;this.ea=c;this.D=this.L=this.G=this.A=this.N=this.V=this.O=this.B=this.I=this.g=null;this.Y={};this.ba={};this.aa=null;this.T=a;this.F=this.C=this.J=this.o=null};
g.fpa=function(a){var b=g.X(a.T);if(g.AO(b)||b.tc||!b.Id&&!b.sa)return!1;var c=a.T.Ya();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.T.fa();return b.Bm&&!a.jg?!1:!!a&&!a.Ba};
g.gpa=function(a){var b=a.T.fa(),c=g.X(a.T).experiments,d=g.mF()&&(lF("ps4 vr")||lF("ps4 pro vr")),e=d&&c.g("enable_spherical_ps4");d=d&&c.g("enable_mesh_ps4");var f=c.g("enable_mesh_cobalt"),k=c.g("enable_spherical_kabuki")||b.vx;a=zO(g.X(a.T));return b.Nf()?d||f||k||a||c.g("html5_enable_spherical"):b.lh()?a||e||k||c.g("html5_enable_spherical"):b.mh()?a||e||c.g("html5_enable_spherical3d"):b.ri()?a||c.g("html5_enable_anaglyph3d"):a&&(c.g("enable_webgl_noop")||c.g("enable_white_noise"))};
KZ=function(a,b,c,d){try{if(d){var e=lX[mX+b];if(e)return new e(a.T);"creatorendscreen"==b?hpa(a,"annotations_module",c):hpa(a,b,c)}else g.wW(a.T,b)}catch(f){g.wW(a.T,b),g.PE(f)}return null};
LZ=function(a,b){a.g&&(b||a.g.sd())&&(g.af(a.g),a.g=null);a.I&&(b||a.I.sd())&&(g.af(a.I),a.I=null);a.B&&(b||a.B.sd())&&(g.af(a.B),a.B=null);a.O&&(b||a.O.sd())&&(g.af(a.O),a.O=null);a.V&&(b||a.V.sd())&&(g.af(a.V),a.V=null);a.N&&(b||a.N.sd())&&(g.af(a.N),a.N=null);a.A&&(b||a.A.sd())&&(g.af(a.A),a.A=null);a.G&&(b||a.G.sd())&&(g.af(a.G),a.G=null);a.L&&(b||a.L.sd())&&(g.af(a.L),a.L=null);a.D&&(b||a.D.sd())&&(g.af(a.D),a.D=null);a.J&&(b||a.J.sd())&&(g.af(a.J),a.J=null);a.C&&(b||a.C.sd())&&(g.af(a.C),a.C=
null);a.o&&(b||a.o.sd())&&(g.af(a.o),a.o=null)};
g.dW=function(a){return g.X(a.T).Jb?a.J:null};
hpa=function(a,b,c){if(a.da){for(var d=a.da+b+".js",e=window.document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];m.src==d&&(k=m)}k||(k=g.Cd("SCRIPT"),f=!0);var n=(0,g.A)(function(){this.la()||c.call(this)},a),q=(0,g.A)(function(){this.la()||g.wW(this.T,b)},a);
k.onload=g.Ga(function(a){Nf(n);a&&a()},k.onload);
k.onerror=g.Ga(function(a){Nf(q);a&&a()},k.onerror);
k.onreadystatechange=g.Ga(function(a){switch(k.readyState){case "loaded":case "complete":Nf(n,this)}a&&a()},k.onreadystatechange);
f&&((e=g.X(a.T).ym)&&k.setAttribute("nonce",e),g.Yc(k,g.ce(d)),d=window.document.getElementsByTagName("HEAD")[0]||window.document.body,d.insertBefore(k,d.firstChild),g.$e(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.nX(b,null);"annotations_module"==b&&g.nX("creatorendscreen",null)}))}};
MZ=function(a){var b=a.g,c=["html5-video-player"];b.F&&c.push("ytp-dni");g.Y.call(this,{H:"div",ca:c,R:{tabindex:-1,id:a.da.attrs.id},K:[{H:"div",M:"html5-video-container",R:{"data-layer":0}}]});g.TF(this.element,"version",a.da.assets.js);this.app=a;this.containerElement=this.wa["html5-video-container"];this.V=!!this.containerElement;this.B=new g.ah(0,0,0,0);this.o=null;this.D=new g.ah(0,0,0,0);this.I=this.N=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(){};
uO(b)&&"blazer"!=b.g&&"mweb-polymer"!=b.g&&window.matchMedia&&(this.O="desktop-polymer"==b.g?[{query:window.matchMedia("(max-width: 656px)"),size:new g.gd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.gd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.gd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.gd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.gd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.gd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.gd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.gd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.gd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.gd(640,360)}]);this.A=null;g.nE({YTP_ADVERTISEMENT:"Advertisement",YTP_AD_BADGE:"Ad",YTP_AD_NOTIFICATION:"Ad in $X_SECONDSs",YTP_AD_POD_POSITION:"$AD_INDEX of $ADS_COUNT",
YTP_AD_PREVIEW_NONSKIPPABLE:"Video will play after ad",YTP_AD_PREVIEW_NONSKIPPABLE_COUNTDOWN:"Your video will begin in $TIME_REMAINING",YTP_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 $TIME_REMAINING",YTP_CARDS_BUTTON_ARIA_LABEL:"Show cards",YTP_CARDS_BUTTON_INFO:"Info",YTP_CARDS_BUTTON_SHOPPING:"Shopping",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_SUBSCRIBED:"Subscribed",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_TAP_TO_UNMUTE_SHORT:"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_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_NO_AVAILABLE_FORMATS_FALLBACK:"This video format is not supported.",
YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK:"Your browser does not currently recognize any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK",YTP_HTML5_FLASH_DEPRECATED:"Flash videos are no longer supported. For the best experience, please upgrade your browser to the latest version. $BEGIN_LINKLEARN MORE$END_LINK",YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED:"The device in the cast session doesn't match the requested one.",
YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED:"The video in the cast session doesn't match the requested one.",YTP_ERROR_CAST_TOKEN_EXPIRED:"Cast session was expired. Please refresh.",YTP_ERROR_CAST_TOKEN_FAILED:"Cast session not available. Please refresh or try again later.",YTP_ERROR_CAST_TOKEN_MALFORMED:"Invalid cast session. Please refresh or try again later.",YTP_ERROR_GEO_FAILURE:"This video isn't available in your country.",YTP_ERROR_INVALID_DRM_MESSAGE:"The DRM system specific message is invalid.",
YTP_ERROR_RENTAL_EXPIRED:"This video's rental has expired.",YTP_ERROR_RETRYABLE_ERROR:"There was a temporary server error. Please try again later.",YTP_ERROR_SERVER_ERROR:"There was an internal server error. Please try again later.",YTP_ERROR_STREAMING_NOT_ALLOWED:"Playback not allowed because this video is pinned on another device.",YTP_ERROR_UNSUPPORTED_DEVICE:"Playback isn't supported on this device.",YTP_ERROR_VIDEO_FORBIDDEN:"Access to this video is forbidden.",YTP_ERROR_VIDEO_UNAVAILABLE:"Video unavailable",
YTP_ERROR_FORMAT_UNAVALIABLE:"This video isn't avaliable at the selected quality. Please try again later.",YTP_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."});ipa(this);this.P(a.o,"mutedautoplaychange",this.uV)};
ipa=function(a){var b=a.app.o,c=(0,g.A)(a.BJ,a),d=(0,g.A)(a.tV,a),e=(0,g.A)(a.sV,a),f=(0,g.A)(a.XI,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.$e(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
kpa=function(a,b){a.o=b;a.F=!1;if(!a.o.parentNode)try{Id(a.containerElement,a.o,0)}catch(c){throw Error("videoElement_: "+!!a.o+", containerElement: "+!!a.containerElement+", containerElement.childNodes: "+!(!a.containerElement||!a.containerElement.childNodes)+", containerInitiallyTruthy: "+a.V+", isDisposed: "+a.la());}a.A&&(a.A.disconnect(),a.A=null);!a.app.g.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.ah(0,0,0,0),NZ(this))}},a)),a.A.observe(a.o,{attributes:!0}));
a.D=new g.ah(0,0,0,0);NZ(a);hY(a);jpa(a)};
jpa=function(a){g.S(a.o,"video-stream");g.S(a.o,"html5-main-video");var b=a.app.g;b.Ic&&a.o.setAttribute("data-no-fullscreen",!0);b.Sg&&(a.o.setAttribute("webkit-playsinline",""),a.o.setAttribute("playsinline",""));b.Dr&&a.o&&a.P(a.o,"click",a.o.play,a.o)};
lpa=function(a,b){if(a.o){var c=a.app.g;mN&&(a.o.setAttribute("x-webkit-airplay","allow"),b.title?a.o.setAttribute("title",b.title):a.o.removeAttribute("title"));a.o.setAttribute("controlslist","nodownload");c.gT&&b.videoId&&(a.o.poster=b.bc(c,"default.jpg"))}c=g.tQ(b,"yt:bgcolor");a.containerElement.style.backgroundColor=c?c:"";a.L=MN(g.tQ(b,"yt:stretch"));a.N=MN(g.tQ(b,"yt:crop"),!0);a.app.g.experiments.g("use_legacy_crop_resize")||a.og()};
g.PZ=function(a){var b=a.app.g.experiments.g("html5_aspect_from_adaptive_format");if(b){var c=g.eW(a.app);if((c=c?c.g:null)&&c.tb&&c.tb.g)return b=c.tb.videoInfos[0],OZ(b.video.width,b.video.height)}return(a=a.o)?OZ(a.videoWidth,a.videoHeight):b?16/9:window.NaN};
g.QZ=function(a,b){var c=a.Xa(),d=mpa(a,c,g.PZ(a),b);return new g.ah((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
mpa=function(a,b,c,d){(0,window.isNaN)(a.L)||(c=a.L);var e=c;(0,window.isNaN)(a.I)?(0,window.isNaN)(a.N)||(e=a.N):e=a.I;a=OZ(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};
OZ=function(a,b){return 1>Math.abs(RZ*b-a)||1>Math.abs(RZ/a-b)?RZ:a/b};
SZ=function(a){return 1==a.app.O?!1:(a=g.fW(a.app.o))&&!g.W(a,2)&&!oR(a)};
hY=function(a){var b="3"==a.app.g.B&&!a.F&&SZ(a)&&!a.app.ga;a.o.controls=b;a.o.tabIndex=b?0:-1};
NZ=function(a){var b=g.PZ(a),c=a.Xa(),d=1,e=!1,f=mpa(a,c,b),k=vF();if(SZ(a)){var l=(0,window.isNaN)(b)||OM;mN&&!g.rc(601)?b=f.aspectRatio:l=l||"3"==a.app.g.B;l?l=new g.ah(0,0,c.width,c.height):(d=f.aspectRatio/b,l=new g.ah((c.width-f.width/d)/2,(c.height-f.height)/2,f.width/d,f.height),1==d&&g.Xi&&(b=l.width-c.height*b,0<b&&(l.width+=b,l.height+=b)));k&&(a.o.style.display="");a.J=!0}else b=-c.height,mN?b*=window.devicePixelRatio:g.yO&&(b-=window.screen.height),l=new g.ah(0,b,c.width,c.height),k&&
(a.o.style.display="none"),a.J=!1;g.ch(a.D,l)||(a.D=l,g.bO(a.app.g)?(a.o.style.setProperty("width",l.width+"px","important"),a.o.style.setProperty("height",l.height+"px","important")):g.Gh(a.o,g.eh(l)),g.vh(a.o,g.fh(l)),e=!0);c=new g.ah((c.width-f.width)/2,(c.height-f.height)/2,f.width,f.height);g.ch(a.B,c)||(a.B=c,e=!0);g.oh(a.o,"transform",1==d?"":"scaleX("+d+")");return e};
TZ=function(a,b,c,d){g.tG.call(this);this.A=a;this.V=(0,g.A)(b,null);this.o=0;this.F=!1;this.C=new g.dd(window.NaN,window.NaN);this.g=new g.qG(this);g.L(this,this.g);b=d?4E3:3E3;this.I=new g.Ft(g.Ga(this.kc,1,!1),b,this);g.L(this,this.I);this.J=new g.Ft(g.Ga(this.kc,2,!1),b,this);g.L(this,this.J);this.N=new g.Ft(g.Ga(this.kc,512,!1),0,this);g.L(this,this.N);this.O=c&&0<c.Uh.length?5E3:3E3;d||(this.B=this.g.P(a,"mouseover",this.Uu),this.g.P(a,"mousemove",this.pV),this.g.P(a,"mouseleave",this.lO));
g.qh?this.g.P(a,"keypress",this.JK):this.g.P(a,"focusin",this.lI);this.D=this.g.P(a,"mousedown",this.pE);this.G=this.g.P(a,"touchstart",this.rE,void 0,!0);this.Y=null;this.kc(640,!0)};
npa=function(a){a.kc(4,!1);a.L&&(a.g.Ca(a.L),a.L=null,a.B=a.g.P(a.A,"mouseover",a.Uu));a.B&&(a.g.Ca(a.B),a.B=a.g.P(a.A,"mouseover",a.Uu))};
UZ=function(a,b){g.Y.call(this,{H:"canvas",M:"ytp-tv-static"});this.A=this.element.getContext("2d");this.height=this.width=window.NaN;this.J=null;this.G=this.I=this.C=this.B=0;this.D=-75;this.o=new g.Ct(this.L,void 0,this);g.L(this,this.o);this.F=new g.Ft(this.o.Sk,75,this.o);g.L(this,this.F);opa(this,a,b)};
ppa=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};
opa=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.Cd("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.J=d;a.I=ppa(b);a.G=ppa(c/10);a.A.scale(1.5,1.5);a.A.fillStyle="rgba(255, 255, 255, 0.02)"}};
VZ=function(){return{H:"div",M:"ytp-spinner-dots",K:[{H:"div",ca:["ytp-spinner-dot","ytp-spinner-dot-0"]},{H:"div",ca:["ytp-spinner-dot","ytp-spinner-dot-1"]},{H:"div",ca:["ytp-spinner-dot","ytp-spinner-dot-2"]},{H:"div",ca:["ytp-spinner-dot","ytp-spinner-dot-3"]},{H:"div",ca:["ytp-spinner-dot","ytp-spinner-dot-4"]},{H:"div",ca:["ytp-spinner-dot","ytp-spinner-dot-5"]},{H:"div",ca:["ytp-spinner-dot","ytp-spinner-dot-6"]},{H:"div",ca:["ytp-spinner-dot","ytp-spinner-dot-7"]}]}};
g.WZ=function(a,b,c,d){if((void 0===c||!c)&&g.iX(a))return g.nG(a),!0;b.qd();a=a.currentTarget.getAttribute("href");g.SW(a,d,!0);return!1};
XZ=function(a,b,c){if(uO(g.X(b))&&2!=b.Ya()){if(g.iX(c))return b.isFullscreen()&&g.iW(b),g.nG(c),!0}else{var d=g.iX(c);d&&b.qd();g.SW(a,void 0,!0);d&&(g.TW(a),g.nG(c))}return!1};
qpa=function(a){var b=!g.X(a).Ic&&3!=a.Ya();return a.isFullscreen()||b};
YZ=function(a){g.Y.call(this,{H:"div",ca:["ytp-error"],R:{role:"alert"},K:[{H:"div",M:"ytp-error-content",K:[{H:"div",M:"ytp-error-content-wrap",K:["{{content}}"]}]}]});this.o=a;this.B=[];try{this.A=new UZ(1,1),g.L(this,this.A),this.A.Ga(this.element,0)}catch(b){}rpa(this,g.gW(this.o).Xa())};
rpa=function(a,b){ZZ(a,function(a){opa(a,b.width,b.height)})};
ZZ=function(a,b){if(a.A)try{b.call(a,a.A)}catch(c){a.A.dispose(),a.A=null}};
$Z=function(a,b,c,d,e,f){e||(e=g.X(a.o).A);a=d?{CPN:a.o.fa().clientPlaybackNonce}:null;b=g.U(b,a).split(/\$(BEGIN|END)_LINK/);a=[];f&&(f=g.U(f,null))&&a.push({H:"h2",K:[f]});a.push(b[0]);a.push({H:"br"});a.push({H:"a",R:{href:c,target:e?"_blank":null},K:[b[2]]});a.push(b[4]);return{H:"span",K:a}};
tpa=function(a,b,c){spa("add_to_watch_later_list",a,b,c)};
upa=function(a,b,c){spa("delete_from_watch_later_list",a,b,c)};
spa=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.Bc||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.t3||null,add_to_playlists:b.j3||null,plid:g.lE("PLAYBACK_ID")||null};g.iF(a,{method:"POST",Zc:c,Nb:e,context:b.context,onError:b.onError,Vb:function(a,c){var d=c.result;d&&d.actions&&AG(d.actions);
b.Vb.call(this,a,c)},
Fd:b.Fd,withCredentials:!!d})};
a_=function(){this.g=[];this.o=[];this.A=[]};
wpa=function(a,b,c){c=g.Cd(c?"AUDIO":"VIDEO");g.Ha(c,vpa);g.eG(c,"loadeddata",(0,g.A)(c.o,c));ZN&&6<=b_&&g.eG(c,"webkitbeginfullscreen",(0,g.A)(c.play,c));a.o.push(c);b?a.A.push(c):c_(a,c);return c};
c_=function(a,b){g.lb(a.o,b)&&!g.lb(a.g,b)&&(b.src||b.load(),g.sb(a.A,b)||a.g.push(b))};
d_=function(){g.Y.call(this,{H:"div",M:"ytp-sparkline"})};
e_=function(a,b){for(var c=Math.max.apply(Math,b)||1,d=0;d<b.length;d++){if(d<a.element.children.length)var e=a.element.children[d];else e=g.Cd("SPAN"),a.element.appendChild(e);e.style.width=100/b.length+"%";e.style.height=b[d]/c*100+"%"}for(;a.element.children.length>b.length;)g.Jd(a.element.lastChild)};
f_=function(a){var b={H:"button",ca:["html5-video-info-panel-close","ytp-button"],R:{title:"close"},K:["[x]"]};g.Y.call(this,{H:"div",M:"html5-video-info-panel",K:[b,{H:"div",M:"html5-video-info-panel-content",K:[{H:"div",K:[{H:"div",K:["Video ID:"]},{H:"span",K:["{{video_id}}"]}]},{H:"div",K:[{H:"div",K:["Dimensions:"]},{H:"span",K:["{{dimensions}}"]}]},{H:"div",K:[{H:"div",K:["Resolution:"]},{H:"span",K:["{{resolution}}"]}]},{H:"div",K:[{H:"div",K:["Optimal Resolution:"]},{H:"span",K:["{{optimal_resolution}}"]}]},
{H:"div",K:[{H:"div",K:["Volume:"]},{H:"span",K:["{{volume}}"]}]},{H:"div",K:[{H:"div",K:["Relative Loudness:"]},{H:"span",K:["{{relative_loudness}}"]}]},{H:"div",K:[{H:"div",K:["Stream Host:"]},{H:"span",K:["{{stream_host}}"]}]},{H:"div",K:[{H:"div",K:["Stream Type:"]},{H:"span",K:["{{stream_type}}"]}]},{H:"div",R:{style:"{{cpn_style}}"},K:[{H:"div",K:["CPN:"]},{H:"span",R:{style:"font-family:monospace"},K:["{{cpn}}"]}]},{H:"div",K:[{H:"div",K:["Mime Type:"]},{H:"span",K:["{{mime}}"]}]},{H:"div",
K:[{H:"div",K:["DASH:"]},{H:"span",K:["{{dash}}"]}]},{H:"div",R:{style:"{{shader_info_style}}"},K:[{H:"div",K:["Shader Info:"]},{H:"span",K:["{{shader_info}}"]}]},{H:"div",R:{style:"{{color_style}}"},K:[{H:"div",K:["Color:"]},{H:"span",K:["{{color}}"]}]},{H:"div",R:{style:"{{drm_style}}"},K:[{H:"div",K:["Protected:"]},{H:"span",K:["{{drm}}"]}]},{H:"div",K:[{H:"div",K:["Connection Speed:"]},{H:"span",K:[{H:"span",K:["{{bandwidth_sparkline}}"]},{H:"span",K:["{{bandwidth_kbps}}"]}]}]},{H:"div",K:[{H:"div",
K:["Buffer Health:"]},{H:"span",K:[{H:"span",K:["{{buffer_health_sparkline}}"]},{H:"span",K:["{{buffer_health_seconds}}"]}]}]},{H:"div",K:[{H:"div",K:["Network Activity:"]},{H:"span",K:[{H:"span",K:["{{network_activity_sparkline}}"]},{H:"span",K:["{{network_activity_bytes}}"]}]}]},{H:"div",R:{style:"{{live_latency_style}}"},K:[{H:"div",K:["Live Latency:"]},{H:"span",K:[{H:"span",K:["{{live_latency_sparkline}}"]},{H:"span",K:["{{live_latency_message}}"]}]}]},{H:"div",K:[{H:"div",K:["Dropped Frames:"]},
{H:"span",K:["{{dropped_frames}}"]}]},{H:"div",R:{style:"{{sequence_number_style}}"},K:[{H:"div",K:["Sequence Number:"]},{H:"span",K:["{{sequence_number}}"]}]}]}]});b&&this.P(this.wa["html5-video-info-panel-close"],"click",this.hide);this.A=new d_;g.L(this,this.A);this.Ea("bandwidth_sparkline",this.A);this.C=new d_;g.L(this,this.C);this.Ea("live_latency_sparkline",this.C);this.B=new d_;g.L(this,this.B);this.Ea("buffer_health_sparkline",this.B);this.D=new d_;g.L(this,this.D);this.Ea("network_activity_sparkline",
this.D);this.F=new g.Ft(this.G,500,this);g.L(this,this.F);this.o=a};
g_=function(a,b){g.K.call(this);this.A=a||window.NaN;this.g=b||null;this.o=[]};
g.h_=function(a){return iS(a)?(a.fetch=0,new g.hS(a)):new g.eQ(a)};
i_=function(a){g.K.call(this);this.g=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.o=window.IntersectionObserver?new window.IntersectionObserver((0,g.A)(this.A,this),b):null)&&this.o.observe(a)};
j_=function(a){g.Y.call(this,{H:"div",M:"ytp-bezel",R:{role:"status","aria-label":"{{label}}"},K:[{H:"div",M:"ytp-bezel-icon",K:["{{icon}}"]}]});this.A=new g.Ft(this.show,10,this);g.L(this,this.A);this.o=new g.Ft(this.hide,500,this);g.L(this,this.o);this.T=a;this.hide()};
l_=function(a,b){if(b)g.W(g.fW(a.T),64)||k_(a,EE(),g.U("YTP_PLAY"));else{var c=a.T.fa();c.Ba&&!c.tg?k_(a,JE(),g.U("YTP_STOP")):k_(a,DE(),g.U("YTP_PAUSE"))}};
m_=function(a,b,c){0>=b?(c=ME(),b=g.U("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?LE():KE(),b=Math.floor(b)+"% "+g.U("YTP_SCREENREADER_VOLUME_SETTING"));k_(a,c,b)};
xpa=function(a,b,c){c=c?g.pE?{H:"div",ca:["ytp-icon","ytp-icon-fast-rewind"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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.pE?{H:"div",ca:["ytp-icon","ytp-icon-fast-forward"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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});k_(a,c,b)};
ypa=function(a){k_(a,FE(),g.U("YTP_PREVIOUS"))};
k_=function(a,b,c){a.Ea("label",void 0===c?"":c);a.Ea("icon",b);g.Ht(a.o);a.A.start()};
n_=function(a){var b=g.X(a),c=["ytp-large-play-button","ytp-button"],d=b.experiments.A("large_play_button_src"),e=b.experiments.A("large_play_button_hover_src");if(b.F&&b.Ab)var f=[{H:"div",M:"ytp-large-play-button-circle",R:{style:"background-color: "+b.Ab}},g.pE?{H:"div",ca:["ytp-icon","ytp-icon-dni-large-play-button"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},K:[{H:"path",R:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}];else if(d&&e&&
!b.tc){var k=b.O?e:d;c.push("ytp-red2")}else b.O&&!b.tc?f=[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-large-play-button-hover"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{H:"path",M:"ytp-large-play-button-bg",R:{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"}},{H:"path",R:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}},{H:"path",R:{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"}}]}]:(b.isMobile&&c.push("ytp-touch-device"),f=[b.tc?g.pE?{H:"div",ca:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},K:[{H:"path",M:"ytp-large-play-button-bg",R:{"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"}},{H:"path",R:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.pE?{H:"div",ca:["ytp-icon","ytp-icon-large-play-button"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{H:"path",M:"ytp-large-play-button-bg",R:{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"}},{H:"path",R:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}},{H:"path",R:{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.Y.call(this,{H:"div",M:"ytp-cued-thumbnail-overlay",K:[{H:"div",M:"ytp-cued-thumbnail-overlay-image"},{H:"button",ca:c,R:k?{style:"background: no-repeat center/100% url("+k+");"}:null,K:f}]});k&&(this.U("mouseover",function(){this.jl.style.backgroundImage="url("+e+")"}),this.U("mouseout",
function(){this.jl.style.backgroundImage="url("+d+")"}));
this.C=new g.qG(this);g.L(this,this.C);this.o=a;this.D=this.wa["ytp-cued-thumbnail-overlay-image"];this.jl=this.wa["ytp-large-play-button"];this.B=new g.jX(this,250);g.L(this,this.B);this.A=new g.Ft(this.sA,0,this);g.L(this,this.A);this.sA();this.P(a,"presentingplayerstatechange",this.oN);this.P(a,"ypcStateChanged",this.NS);cO(g.X(a))&&this.P(a,"videoplayerreset",this.nN)};
p_=function(a,b){g.qG.call(this);this.T=a;this.A=b;this.o=new window.Set;this.g=window.navigator.mediaSession;o_(this,"play",function(){l_(b,!0);a.Sd()});
o_(this,"pause",function(){l_(b,!1);a.qd()});
o_(this,"seekbackward",function(){k_(b,HE());a.he(-5*a.Uc())});
o_(this,"seekforward",function(){k_(b,zE());a.he(5*a.Uc())});
this.P(a,"videodatachange",this.C);this.P(a,"presentingplayerstatechange",this.B);this.C()};
o_=function(a,b,c){a.g.setActionHandler(b,c?(0,g.A)(c,a):null);a.o.add(b)};
q_=function(a){g.Y.call(this,{H:"div",M:"ytp-paid-content-overlay",R:{"aria-live":"assertive","aria-atomic":"true"}});this.I=new g.Y({H:"div",ca:["ytp-button","ytp-paid-content-overlay-text"]});g.L(this,this.I);this.I.Ga(this.element);this.T=a;this.A=null;this.F=!1;this.C=new g.jX(this.I,250,!1,100);g.L(this,this.C);this.D=this.o=null;this.B={};this.G=0;this.P(a,"videodatachange",this.N);this.P(a,"presentingplayerstatechange",this.L)};
zpa=function(a,b){var c=rQ(b),d=sQ(b);a.o?b.videoId&&b.videoId!=a.A&&(g.Ht(a.o),a.A=b.videoId,c=a.B[b.videoId]||0,a.F=!!d&&3E3>c):c&&d&&(a.o=new g.Ft(a.J,d,a),g.L(a,a.o),g.Td(g.I("ytp-paid-content-overlay-text",a.element),c))};
Apa=function(a,b){a.o&&g.W(b,8)&&a.F&&(a.F=!1,a.C.show(),a.G=(0,g.G)(),a.o.start())};
s_=function(a){g.Y.call(this,{H:"div",M:"ytp-spinner",K:[VZ(),{H:"div",M:"ytp-spinner-message",K:[g.U("YTP_PLAYBACK_STALLED_AT_START")]}]});this.B=this.wa["ytp-spinner-message"];this.A=a;this.o=new g.Ft(this.show,500,this);g.L(this,this.o);this.P(a,"presentingplayerstatechange",this.C);this.P(a,"onFrescaStateChange",this.D);this.P(a,"playbackstalledatstart",this.F);r_(this,g.fW(a))};
r_=function(a,b){if(g.W(b,128))var c=0;else!(c=g.W(b,16))&&(c=g.W(b,1))&&(c=g.ZV(a.A).D,c=!(c&&c.loaded));c?a.o.start():a.hide()};
t_=function(a,b,c,d){d=void 0===d?!1:d;g.gX.call(this,b);this.T=a;this.aa=d;this.J=null;this.I=new g.qG(this);g.L(this,this.I);this.L=new g.jX(this,c,!0);g.L(this,this.L);this.C=null};
Bpa=function(a){a.C&&(window.document.activeElement&&g.Rd(a.element,window.document.activeElement)&&(g.Xd(a.C),a.C.focus()),a.C.removeAttribute("aria-expanded"),a.C=null);g.sG(a.I);a.J=null};
u_=function(a){return a.g&&3!=a.L.g};
v_=function(a){var b=g.X(a).experiments.A("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({H:"div",ca:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));t_.call(this,a,{H:"button",ca:["ytp-unmute","ytp-popup","ytp-button"].concat(c),K:[{H:"div",M:"ytp-unmute-inner",K:[{H:"div",ca:["ytp-unmute-icon"],K:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-volume-muted-dark"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}}]}]},
{H:"div",ca:["ytp-unmute-text"],K:[g.U("YTP_TAP_TO_UNMUTE")]}].concat(d)}]},100);this.o=a;this.B=this.A=!1;this.P(a,"mutedautoplaychange",this.D,this);this.U("click",this.onClick,this);a=a.app.ga;g.NW(this,a);a&&Cpa(this)};
Cpa=function(a){a.B||(a.B=!0,g.mW(a.o,"mutedAutoplayImpression",{}))};
w_=function(a){g.qG.call(this);g.oE();var b=g.X(a),c=g.gW(a);this.g=a;this.Ab=!1;this.L=null;this.sa=!1;var d=new n_(a);g.L(this,d);g.zW(a,d.element,4);var e=new s_(a);g.L(this,e);g.zW(a,e.element,4);this.D=new j_(a);g.L(this,this.D);g.zW(a,this.D.element,4);var f=a.fa();this.B=new TZ(c,(0,g.A)(this.gN,this),f,b.useTabletControls);g.L(this,this.B);this.B.subscribe("autohideupdate",this.wt,this);var k=new q_(a);g.L(this,k);g.zW(a,k.element,4);this.Y=new v_(a);g.L(this,this.Y);g.zW(this.g,this.Y.element,
2);this.bb=!1;this.P(a,"mutedautoplaychange",this.hN);this.da=new g.Ft(this.pA,200,this);g.L(this,this.da);this.Aa=f.videoId;this.F=null;this.J=!1;this.Za=null;this.na=[];f=a.getRootNode();f.setAttribute("aria-label",g.U("YTP_PLAYER_NORMAL"));switch(b.color){case "white":g.S(f,"ytp-color-white")}!g.X(a).experiments.g("disable_mediasession2")&&"mediaSession"in window.navigator&&!window.navigator.mediaSession.metadata&&window.navigator.mediaSession.setActionHandler&&(f=new p_(a,this.D),g.L(this,f));
this.P(a,"appresize",this.Bb);this.P(a,"presentingplayerstatechange",this.lR);this.P(a,"videodatachange",this.oA);this.P(a,"videoplayerreset",this.hR);this.P(a,"autonavvisibility",this.Si,this);this.P(a,"minimized",this.Kg,this);this.P(a,"onFrescaStateChange",this.Kg,this);this.P(c,"click",this.GR,this);this.P(c,"dblclick",this.HR,this);b.Aa&&(this.P(c,"gesturechange",this.IR,this),this.P(c,"gestureend",this.JR,this));this.ib=[c.containerElement,e.element,d.element,this.D.element]};
x_=function(a,b){if(!b)return!1;var c=a.g.app.D.oa();if(c&&g.Rd(c,b))return c.controls;for(c=0;c<a.ib.length;c++)if(g.Rd(a.ib[c],b))return!1;return g.Rp(b,"ytp-player-content")||g.Rp(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0};
Dpa=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.iW(a.g):c>1+b&&g.iW(a.g)};
y_=function(a){g.gX.call(this,{H:"div",M:"ytp-ad-persistent-progress-bar-container",K:[{H:"div",M:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.D=this.wa["ytp-ad-persistent-progress-bar"];this.o=null;this.P(a,"presentingplayerstatechange",this.C);this.hide();this.C()};
A_=function(a,b,c){var d={"aria-label":g.U("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"iv-drawer","aria-haspopup":!0,"data-tooltip-opaque":g.X(a).V},e={H:"span",M:"ytp-cards-button-icon-default",K:[{H:"div",M:"ytp-cards-button-icon",K:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-info-card"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}}]}]},
{H:"div",M:"ytp-cards-button-title",K:[g.U("YTP_CARDS_BUTTON_INFO")]}]};d={H:"button",ca:["ytp-button","ytp-cards-button"],R:d,K:[e,{H:"span",M:"ytp-cards-button-icon-shopping",K:[{H:"div",M:"ytp-cards-button-icon",K:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-shopping-card"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",M:"ytp-svg-shadow",R:{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"}},{H:"path",M:"ytp-svg-fill",R:{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"}},{H:"path",M:"ytp-svg-shadow-fill",R:{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"}}]}]},{H:"div",
M:"ytp-cards-button-title",K:[g.U("YTP_CARDS_BUTTON_SHOPPING")]}]}]};g.Y.call(this,d);this.T=a;this.B=b;this.C=c;this.o=null;this.A=new g.jX(this,250,!0,100);g.L(this,this.A);a=g.X(this.T);b=g.gW(this.T).Xa().width;b=a.A&&480<b;a.V&&g.T(this.C,"ytp-show-cards-title",b);this.hide();this.U("click",this.D);this.U("mouseover",this.F);z_(this,!0)};
z_=function(a,b){b?a.o=B_(a.B.o,a.element):(a.o(),a.o=null)};
C_=function(a,b){g.Y.call(this,{H:"div",M:"ytp-cards-teaser",K:[{H:"div",M:"ytp-cards-teaser-box"},{H:"div",M:"ytp-cards-teaser-text",K:[{H:"span",M:"ytp-cards-teaser-label",K:["{{text}}"]}]}]});this.T=a;this.C=new g.jX(this,250,!1,250);g.L(this,this.C);this.F=b;this.o=null;this.I=new g.Ft(this.LQ,300,this);this.G=new g.Ft(this.JQ,2E3,this);this.J=new g.Eo(null);this.D=[];this.B=this.A=null;this.P(b.element,"mouseover",this.qA);this.P(b.element,"mouseout",this.Ch);this.P(a,"cardsteasershow",this.cS);
this.P(a,"cardsteaserhide",this.yl);this.P(a,"cardstatechange",this.oD);this.P(a,"presentingplayerstatechange",this.oD);this.U("click",this.jN);this.U("mouseenter",this.iN)};
Epa=function(a,b){a.Ea("text",b.teaserText);a.element.setAttribute("dir",g.Fo(a.J,b.teaserText));a.C.show();a.A=new g.Ft(function(){g.S(this.T.getRootNode(),"ytp-cards-teaser-shown")},0,a);
a.A.start();z_(a.F,!1);a.o=new g.Ft(a.yl,580+b.durationMs,a);a.o.start();a.D.push(a.U("mouseover",a.qA,a));a.D.push(a.U("mouseout",a.Ch,a))};
g.E_=function(a,b,c,d){g.gX.call(this,a);this.priority=b;c&&g.D_(this,c);d&&this.Zb(d)};
g.F_=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{H:c?"a":"div",ca:b,R:a,K:[{H:"div",M:"ytp-menuitem-label",K:["{{label}}"]},{H:"div",M:"ytp-menuitem-content",K:["{{content}}"]}]}};
g.D_=function(a,b){a.Ea("label",b)};
G_=function(a,b,c,d,e){var f={H:"div",M:"ytp-panel"};if(c){var k="ytp-panel-title";var l={H:"div",M:"ytp-panel-header",K:[{H:"button",ca:["ytp-button",k],K:[c]}]};if(e){var m="ytp-panel-options";l.K.push({H:"button",ca:["ytp-button",m],K:[d]})}f.K=[l]}g.gX.call(this,f);this.O=b;b.Ga(this.element);this.ea=!1;c&&(this.P(this.wa[k],"click",this.ga),this.ea=!0,e&&this.P(this.wa[m],"click",e));b.subscribe("size-change",this.da,this);this.P(a,"fullscreentoggled",this.da)};
g.H_=function(a,b,c,d,e){b=new g.gX({H:"div",M:"ytp-panel-menu",R:{role:"menu",id:void 0===b?null:b}});G_.call(this,a,b,c,d,e);this.F=b;g.L(this,this.F);this.Ka=[]};
g.I_=function(a,b,c){if(void 0===c?0:c)a.Ka.push(b),a.F.element.appendChild(b.element);else{c=g.Cb(a.Ka,b,Fpa);if(0<=c)return;c=~c;g.yb(a.Ka,c,0,b);Id(a.F.element,b.element,c)}b.subscribe("size-change",a.V,a);a.F.X("size-change")};
g.Gpa=function(a,b){b.unsubscribe("size-change",a.V,a);a.la()||(g.sb(a.Ka,b),a.F.element.removeChild(b.element),a.F.X("size-change"))};
g.Hpa=function(a){for(var b=g.ma(a.Ka),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.V,a);a.Ka=[];g.Gd(a.F.element);a.F.X("size-change")};
Fpa=function(a,b){return b.priority-a.priority};
g.J_=function(a,b){t_.call(this,a,{H:"div",ca:["ytp-popup",b||null]},100,!0);this.o=[];this.size=new g.gd(0,0);this.D=this.F=null;this.N=this.O=0;this.U("keydown",this.AN)};
Ipa=function(a){g.Gh(a.element,a.O||"100%",a.N||"100%");var b=K_(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.O.element.style.height="";var c=g.Hh(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.ea&&(d=g.Hh(b.wa["ytp-panel-header"]).height);b.O.element.style.height=c.height-d+"px";a.size=c};
g.M_=function(a,b){var c=a.o[a.o.length-1];a.o.push(b);L_(a,c,b)};
g.N_=function(a){var b=a.o.pop(),c=a.o[0];a.o=[c];L_(a,b,c,!0)};
L_=function(a,b,c,d){Jpa(a);K_(a);g.Rp(c.element,"ytp-panel-animate-back")||g.Rp(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Vl,a),b.unsubscribe("back",a.Pe,a));c.subscribe("size-change",a.Vl,a);c.subscribe("back",a.Pe,a);if(a.g){g.S(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.Ga(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;Ipa(a);g.Gh(a.element,e);a.F=new g.Ft(g.Ga(a.ST,b,c,d),20,a);a.F.start()}else c.Ga(a.element),
b&&b.detach()};
K_=function(a){return a.o[a.o.length-1]};
Jpa=function(a){a.F&&g.Gt(a.F);a.D&&g.Gt(a.D)};
O_=function(a){var b=g.F_({"aria-haspopup":!0});g.E_.call(this,b,a);this.U("keydown",this.o)};
P_=function(a,b){a.element.setAttribute("aria-haspopup",b)};
Q_=function(a,b){var c=g.F_({role:"menuitemcheckbox","aria-checked":!1});g.E_.call(this,c,b,a,{H:"div",M:"ytp-menuitem-toggle-checkbox"});this.o=!1;this.U("click",this.I)};
R_=function(a,b){a.o=b;a.element.setAttribute("aria-checked",a.o)};
S_=function(a,b,c){var d={};b&&(d.v=b);c&&(d.list=c);a={name:a,locale:void 0,feature:void 0};for(var e in d)a[e]=d[e];d=g.Qg("/sharing_services",a);g.wF(d)};
T_=function(a,b,c){g.H_.call(this,a);this.T=a;this.L=b;this.J=c;this.B=new O_(8);g.L(this,this.B);g.I_(this,this.B,!0);this.B.U("click",this.YP,this);CW(a,this.B.element,this.B,28659);this.A=new O_(7);g.L(this,this.A);g.I_(this,this.A,!0);this.A.U("click",this.XP,this);CW(a,this.A.element,this.A,28660);this.o=new O_(6);g.L(this,this.o);g.I_(this,this.o,!0);this.o.U("click",this.VP,this);CW(a,this.o.element,this.o,28658);this.D=new Q_(g.U("YTP_LOOP"),5);g.L(this,this.D);g.I_(this,this.D,!0);this.D.U("click",
this.qQ,this);CW(a,this.D.element,this.D,28661);this.N=new g.E_(g.F_({href:"{{href}}",target:"_blank"},void 0,!0),4,g.U("YTP_TROUBLESHOOT_ISSUE"));g.L(this,this.N);g.I_(this,this.N,!0);this.N.U("click",this.zR,this);this.I=new O_(3);g.L(this,this.I);g.I_(this,this.I,!0);this.I.U("click",this.UP,this);b=new g.E_(g.F_(),2,g.U("YTP_SHOW_VIDEO_INFO"));g.L(this,b);g.I_(this,b,!0);b.U("click",this.TR,this);this.G=new g.gX({H:"div",ca:["ytp-copytext","ytp-no-contextmenu"],R:{draggable:!1,tabindex:1},K:["{{text}}"]});
g.L(this,this.G);this.G.U("click",this.AP,this);this.aa=new G_(a,this.G);g.L(this,this.aa);this.C=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.pF&&g.rc(43)&&(b=!0);g.PM&&!g.rc(41)&&(b=!1);b&&(this.C=new g.Y({H:"textarea",M:"ytp-html5-clipboard"}),g.L(this,this.C),this.C.Ga(this.element));this.P(a,"loopchange",this.pQ);this.P(a,"videodatachange",this.lN);Kpa(this);Lpa(this,this.T.fa())};
U_=function(a,b){if(a.C){a.C.element.value=b;a.C.element.select();try{var c=window.document.execCommand("copy")}catch(d){}}c?a.J.Ub():(a.G.Zb(b,"text"),g.M_(a.J,a.aa),MW(a.G.element),a.C&&(a.C=null,Kpa(a)));return c};
Lpa=function(a,b){var c=g.X(a.T),d=2!=a.T.Ya()||b.isListed;d=!c.I&&!!b.videoId&&d;"play"!=c.g?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.Na&&(c.fmt=kJ(b.Na)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.Dh&&(c.partnerid=b.Dh),c=g.Qg("//support.google.com/googleplay/",c));g.NW(a.o,d&&b.allowEmbed);g.NW(a.B,d);g.NW(a.A,d&&!b.Ba);a.N.Zb(c,"href")};
Kpa=function(a){var b=!!a.C;g.D_(a.I,g.U(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));P_(a.I,!b);g.D_(a.o,g.U(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));P_(a.o,!b);g.D_(a.B,g.U(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));P_(a.B,!b);g.D_(a.A,g.U(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));P_(a.A,!b)};
Mpa=function(a,b){g.EW(a.T,a.o.element,b);g.EW(a.T,a.B.element,b);g.EW(a.T,a.A.element,b);g.EW(a.T,a.D.element,b)};
V_=function(a,b){g.J_.call(this,a);this.A=a;this.V=b;this.B=new g.qG(this);g.L(this,this.B);this.G=null;CW(a,this.element,this,28656);g.S(this.element,"ytp-contextmenu");g.X(a).F&&g.S(this.element,"ytp-dni");Npa(this);this.hide()};
Npa=function(a){g.sG(a.B);"gvn"!=g.X(a.A).g&&a.B.P(g.gW(a.A),"contextmenu",a.zP)};
Opa=function(a){a.A.isFullscreen()?g.zW(a.A,a.element,9):a.Ga(window.document.body)};
W_=function(a,b,c,d,e,f){g.qG.call(this);this.g=a;this.F=c;this.C=d;this.o=e;this.D=f;this.B=new g.Ft(g.Ga(this.uA,!1),1E3,this);g.L(this,this.B);this.A="";a=g.Ga(this.Zt,!1);this.P(b,"mousedown",a);this.P(c.element,"mousedown",a);this.P(b,"keydown",this.my);this.P(c.element,"keydown",this.my);this.P(b,"keyup",this.oy);this.P(c.element,"keyup",this.oy)};
Qpa=function(a,b,c){var d=!1,e=g.X(a.g);if(!e.Ng){switch(b){case 80:c&&(ypa(a.o),a.g.rl(),d=!0);break;case 78:c&&(k_(a.o,BE(),g.U("YTP_NEXT")),a.g.Ej(),d=!0);break;case 74:a.g.Pd()&&(k_(a.o,g.pE?{H:"div",ca:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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.he(-10*a.g.Uc()),d=!0);break;case 76:a.g.Pd()&&(k_(a.o,g.pE?{H:"div",ca:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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.he(10*a.g.Uc()),d=!0);break;case 77:a.g.Ke()?(a.g.Zf(),m_(a.o,a.g.getVolume(),!1)):(a.g.mute(),m_(a.o,0,!0));d=!0;break;case 75:d=!nR(g.fW(a.g));l_(a.o,d);d?a.g.Sd():a.g.qd();d=!0;break;case 190:if(c){if(e.Ra)for(b=a.g.Dj(),c=a.g.Uc(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.g.Xf(d,!0),xpa(a.o,d,!1),d=!0)}else a.g.Pd()&&(Ppa(a,1),d=!0);break;case 188:if(c){if(e.Ra)for(b=a.g.Dj(),c=a.g.Uc(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.g.Xf(d,!0),xpa(a.o,d,!0),d=!0)}else a.g.Pd()&&(Ppa(a,-1),d=!0);
break;case 70:qpa(a.g)&&(g.iW(a.g),d=!0)}d&&a.C.kc(2,!0)}return d};
Y_=function(a,b,c,d){if(g.ZV(a.g).g){for(var e=a.g.yi(),f,k=0;k<g.X_.length;k++){var l=g.X_[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return!1}else if(m==f.length-1)return!1;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.g.to(d);a.uA(!0);a.B.start();return!0}return!1};
Ppa=function(a,b){a.g.Pd();if(g.W(g.fW(a.g),4)){var c=a.g.fa().Na;c&&(c=c.video)&&a.g.he(b/(c.fps||30))}};
$_=function(a,b){g.Y.call(this,{H:"div",M:"ytp-pause-overlay",K:[{H:"div",M:"ytp-suggestions"}]});this.o=a;this.aa=b;this.B=new g.qG(this);g.L(this,this.B);this.I=new g.jX(this,250,!1,100);g.L(this,this.I);var c=g.X(a);this.D=[];this.A=[];this.F=0;this.ea=c.A&&!c.F;this.V=!1;this.N=new g.Y({H:"button",ca:["ytp-button","ytp-previous"],R:{"aria-label":g.U("YTP_PREVIOUS")},K:[g.sE()]});g.L(this,this.N);this.N.Ga(this.element);this.N.U("click",this.CN,this);c=g.pF||g.ef?{style:"will-change: opacity"}:
null;this.Y=new Z_((0,g.A)(this.pD,this));g.L(this,this.Y);this.O=this.C=0;this.L=this.wa["ytp-suggestions"];for(var d=0;16>d;d++){var e=new g.Y({H:"a",M:"ytp-suggestion-link",R:{href:"{{link}}",target:"_blank"},K:[{H:"div",M:"ytp-suggestion-image"},{H:"div",M:"ytp-suggestion-overlay",R:c,K:[{H:"div",M:"ytp-suggestion-title",K:["{{title}}"]},{H:"div",M:"ytp-suggestion-author",K:["{{author_and_views}}"]},{H:"div",M:"ytp-suggestion-duration",K:["{{duration}}"]}]}]});g.L(this,e);e.Ga(this.L);var f=e.wa["ytp-suggestion-link"];
g.oh(f,"transitionDelay",d/20+"s");this.B.P(f,"click",g.Ga(this.nP,d));this.D.push(e)}this.J=new g.Y({H:"button",ca:["ytp-button","ytp-next"],R:{"aria-label":g.U("YTP_NEXT")},K:[g.tE()]});g.L(this,this.J);this.J.Ga(this.element);this.J.U("click",this.BN,this);c={"aria-label":g.U("YTP_CLOSE")};c=new g.Y({H:"button",ca:["ytp-button","ytp-collapse"],R:c,K:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-small-close"]}:{H:"svg",R:{height:"100%",viewBox:"0 0 16 16",width:"100%"},K:[{H:"path",R:{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.L(this,c);c.Ga(this.element);c.U("click",this.jP,this);this.G=new g.Y({H:"button",ca:["ytp-button","ytp-expand"],K:[g.U("YTP_MORE_VIDEOS")]});g.L(this,this.G);this.G.Ga(this.element);this.G.U("click",this.lP,this);this.B.P(this.o,"appresize",this.Ws);this.B.P(this.o,"fullscreentoggled",this.DN);this.B.P(this.o,"presentingplayerstatechange",this.EN);this.B.P(this.o,"videodatachange",this.FN);this.Ws(g.gW(this.o).Xa())};
Rpa=function(a,b){var c=g.$c(b,a.F-a.A.length*(a.O+8),0);a.Y.start(a.C,c,1E3);a.C=c;a0(a)};
a0=function(a){var b=a.C,c=a.F-a.A.length*(a.O+8);g.T(a.element,"ytp-scroll-min",0<=b);g.T(a.element,"ytp-scroll-max",b<=c)};
Spa=function(a){for(var b=g.X(a.o),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.hX(d.lengthSeconds):0,link:d.On(b),title:d.title});e=e.wa["ytp-suggestion-image"];d=d.bc(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c<a.D.length;c++)a.D[c].element.style.display="none";a0(a)};
Z_=function(a){g.K.call(this);this.C=a;this.B=new yC(0,0,.4,0,.2,1,1,1);this.o=new g.Ct(this.A,window,this);g.L(this,this.o)};
b0=function(a,b,c){var d=b.dc(c),e=g.X(a),f=d.bc(e,"default.jpg");g.Y.call(this,{H:"a",ca:["ytp-video-menu-item","ytp-button"],R:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},K:[{H:"div",M:"ytp-video-menu-item-index",K:[""+(c+1)]},{H:"div",M:"ytp-video-menu-item-now-playing",K:["\u25b6"]},{H:"div",M:"ytp-video-menu-item-thumbnail",R:{style:f?"background-image: url("+f+");":null}},{H:"div",M:"ytp-video-menu-item-title",K:[d.title]},{H:"div",
M:"ytp-video-menu-item-author",K:[d.author]}]});this.o=a;this.hc=c;this.U("click",this.A)};
c0=function(a){t_.call(this,a,{H:"div",M:"ytp-playlist-menu",R:{role:"dialog",id:FW()},K:[{H:"div",M:"ytp-playlist-menu-header",K:[{H:"div",M:"ytp-playlist-menu-title",K:[{H:"a",M:"ytp-playlist-menu-title-name",R:{href:"{{playlisturl}}"},K:["{{title}}"]},{H:"button",ca:["ytp-playlist-menu-close","ytp-button"],R:{"aria-label":g.U("YTP_CLOSE")},K:[g.xE()]}]},{H:"div",M:"ytp-playlist-menu-subtitle",K:["{{subtitle}}"]}]},{H:"div",M:"ytp-playlist-menu-items",R:{role:"menu"}}]},250);this.P(this.wa["ytp-playlist-menu-close"],
"click",this.Ub);this.P(this.wa["ytp-playlist-menu-title-name"],"click",this.eS);this.A=a;this.B=this.G=this.o=null;this.Ka=this.wa["ytp-playlist-menu-items"];this.F=new g.qG(this);g.L(this,this.F);this.D=[];this.hide()};
Tpa=function(a,b){if(a.o!=b)if(a.o&&a.o.unsubscribe("shuffle",a.So,a),a.o=b,a.G=null,b){b.subscribe("shuffle",a.So,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.be()+1,PLAYLIST_LENGTH:b.getLength()}),playlisturl:a.A.getVideoUrl(!0)});a.So()}else a.g&&a.hide();else a.o&&a.So()};
d0=function(a,b,c){var d={title:"{{title}}","aria-owns":c.element.id,"aria-haspopup":!0,"aria-label":g.U("YTP_PLAYLIST")};g.Y.call(this,{H:"button",ca:["ytp-playlist-menu-button","ytp-button"],R:d,K:[{H:"div",M:"ytp-playlist-menu-button-icon",K:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-playlist"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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"}}]}]},{H:"div",M:"ytp-playlist-menu-button-text",K:["{{text}}"]}]});this.B=a;this.o=null;this.C=b.o;this.P(a,"videodatachange",this.D);this.P(a,"onPlaylistUpdate",this.D);this.P(a,"presentingplayerstatechange",this.A);this.P(a,"appresize",this.A);this.hide();this.D();g.$e(this,B_(this.C,this.element));this.U("click",(0,g.A)(c.Jh,c,this.element,!1))};
e0=function(a,b){g.Y.call(this,{H:"button",ca:["ytp-replay-button","ytp-button"],R:{title:g.U("YTP_REPLAY")},K:[GE()]});this.o=a;this.P(a,"presentingplayerstatechange",this.B);this.U("click",this.A,this);var c=g.fW(a);g.NW(this,g.W(c,2));B_(b.o,this.element)};
f0=function(a,b){var c=FW();c={H:"div",M:"ytp-share-panel",R:{id:FW(),role:"dialog","aria-labelledby":c},K:[{H:"button",ca:["ytp-share-panel-close","ytp-button"],R:{title:g.U("YTP_CLOSE")},K:[g.xE()]},{H:"div",M:"ytp-share-panel-inner-content",K:[{H:"div",M:"ytp-share-panel-title",R:{id:c},K:[g.U("YTP_SHARE")]},{H:"a",ca:["ytp-share-panel-link","ytp-no-contextmenu"],R:{href:"{{link}}",target:"_blank",title:g.U("YTP_SHARE_LINK"),"aria-label":g.U("YTP_SHARE_LINK")},K:["{{linkText}}"]},{H:"label",M:"ytp-share-panel-include-playlist",
K:[{H:"input",M:"ytp-share-panel-include-playlist-checkbox",R:{type:"checkbox",checked:!0}},g.U("YTP_SHARE_WITH_PLAYLIST_2")]},{H:"div",M:"ytp-share-panel-loading-spinner",K:[VZ()]},{H:"div",M:"ytp-share-panel-service-buttons",K:["{{buttons}}"]},{H:"div",M:"ytp-share-panel-error",K:[g.U("YTP_SHARE_PANEL_ERROR")]}]}]};t_.call(this,a,c,250);this.o=a;this.A=b.o;this.B=[];this.N=this.wa["ytp-share-panel-inner-content"];this.F=this.wa["ytp-share-panel-close"];this.P(this.F,"click",this.Ub);g.$e(this,B_(this.A,
this.F));this.G=this.wa["ytp-share-panel-include-playlist-checkbox"];this.P(this.G,"click",this.AA);this.D=this.wa["ytp-share-panel-link"];g.$e(this,B_(this.A,this.D));this.U("click",this.aR);this.P(a,"videoplayerreset",this.hide);this.P(a,"fullscreentoggled",this.VN);this.hide()};
Upa=function(a){switch(a){case "facebook":return g.pE?{H:"div",ca:["ytp-icon","ytp-icon-share-facebook"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{H:"rect",R:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{H:"path",R:{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.pE?{H:"div",ca:["ytp-icon","ytp-icon-share-googleplus"]}:{H:"svg",R:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},K:[{H:"rect",R:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{H:"path",R:{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.pE?{H:"div",ca:["ytp-icon","ytp-icon-share-twitter"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{H:"rect",R:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{H:"path",R:{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}};
Vpa=function(a){for(var b=g.ma(a.B),c=b.next();!c.done;c=b.next())c=c.value,c.detach(),g.af(c);a.B=[]};
g0=function(a,b,c,d){g.Y.call(this,{H:"button",ca:["ytp-button","ytp-share-button"],R:{title:g.U("YTP_SHARE"),"aria-haspopup":!0,"aria-owns":c.element.id,"data-tooltip-opaque":g.X(a).V},K:[{H:"div",M:"ytp-share-icon",K:["{{icon}}"]},{H:"div",M:"ytp-share-title",K:["{{share}}"]}]});this.o=a;this.A=d;this.G=c;CW(a,this.element,this,28664);this.U("click",this.F);this.P(a,"videodatachange",this.C);this.P(a,"appresize",this.C);this.C();g.$e(this,B_(b.o,this.element))};
h0=function(a,b){g.Y.call(this,{H:"button",ca:["ytp-airplay-button","ytp-button"],R:{title:g.U("YTP_AIRPLAY")},K:["{{icon}}"]});this.o=a;this.U("click",this.B);this.P(a,"airplayactivechange",this.A);this.P(a,"airplayavailabilitychange",this.A);this.A();g.$e(this,B_(b.o,this.element))};
i0=function(a,b){g.gX.call(this,{H:"div",M:"ytp-storyboard",K:[{H:"div",M:"ytp-storyboard-filmstrip",K:[{H:"div",M:"ytp-storyboard-thumbnail"}]},{H:"div",M:"ytp-storyboard-lens",K:[{H:"div",M:"ytp-storyboard-lens-thumbnail"},{H:"div",M:"ytp-storyboard-lens-timestamp-wrapper",K:[{H:"span",M:"ytp-storyboard-lens-timestamp"}]}]}]});this.o=a;this.aa=b.o;this.N=new g.sk(this.qN,250,this);g.L(this,this.N);this.I=g.gW(a).Xa().width;this.A=this.wa["ytp-storyboard-filmstrip"];this.ea=this.wa["ytp-storyboard-lens"];
this.da=this.wa["ytp-storyboard-lens-thumbnail"];this.ga=this.wa["ytp-storyboard-lens-timestamp"];this.V=this.wa["ytp-storyboard-thumbnail"];g.Jd(this.V);this.J=0;this.O=!1;this.L=this.C=this.B=window.NaN;this.Kb=this.D=null;this.F=new g.qG(this);g.L(this,this.F);this.G=new g.jX(this,100);g.L(this,this.G);this.P(this.o,"appresize",this.pN);this.P(this.o,"presentingplayerstatechange",this.rN)};
j0=function(a,b){var c=!!a.Kb;c&&a.Kb.unsubscribe("l",a.sp,a);a.Kb=b&&g.uQ(b);a.O=!!b&&b.Ba;a.Kb?(c||(a.F.P(a.o,"videodatachange",a.sN),a.F.P(a.o,"progresssync",a.yo),a.F.P(a.o,"videoplayerreset",a.yo)),a.Kb.subscribe("l",a.sp,a),a.L=window.NaN,a.B=window.NaN,a.C=window.NaN,a.yo(),a.G.show(200)):(c&&g.sG(a.F),a.N.stop(),g.eH(a.J),a.G.hide(),a.G.stop())};
Wpa=function(a,b,c,d){var e=a.V.cloneNode(!1);a=aP(a.Kb,b,c);eY(e,a,c,d);return e};
k0=function(a){g.Y.call(this,{H:"div",M:"ytp-storyboard-framepreview",K:[{H:"div",M:"ytp-storyboard-framepreview-img"}]});this.D=this.wa["ytp-storyboard-framepreview-img"];this.o=a;this.Kb=null;this.C=window.NaN;this.A=new g.qG(this);g.L(this,this.A);this.B=new g.jX(this,100);g.L(this,this.B);this.P(this.o,"presentingplayerstatechange",this.vN)};
m0=function(a,b){var c=!!a.Kb;a.Kb=b&&g.uQ(b);a.Kb?(c||(a.A.P(a.o,"videodatachange",a.xN),a.A.P(a.o,"progresssync",a.wN),a.A.P(a.o,"appresize",a.uN)),a.C=window.NaN,l0(a),a.B.show(200)):(c&&g.sG(a.A),a.B.hide(),a.B.stop())};
l0=function(a){var b=a.o.getCurrentTime(),c=g.gW(a.o).Xa(),d=ZO(a.Kb,c.width);b=a.Kb.g[d].hm(b);b!=a.C&&(a.C=b,cP(a.Kb,b,c.width),b=aP(a.Kb,b,c.width),eY(a.D,b,c.width,c.height))};
n0=function(a,b){g.Y.call(this,{H:"button",ca:["ytp-fullscreen-button","ytp-button"],R:{title:"{{title}}"},K:["{{icon}}"]});this.A=a;this.D=b;this.o=null;this.B=B_(b.o,this.element);this.C=new g.Ft(this.OH,2E3,this);g.L(this,this.C);this.P(a,"fullscreentoggled",this.GC);this.P(a,"presentingplayerstatechange",this.tA);this.U("click",this.yN);if(XF()){var c=g.gW(this.A);this.P(c,sja(),this.mB);this.P(c,$F(window.document),this.zN)}g.X(a).Aa||Xpa(this);this.tA();this.GC(a.isFullscreen())};
Xpa=function(a){if(!a.o){var b=g.U(null!=UF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.o=new t_(a.A,{H:"div",ca:["ytp-popup","ytp-generic-popup"],R:{role:"alert",tabindex:0},K:[b[0],{H:"a",R:{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"},K:[b[2]]},b[4]]},100,!0);a.o.hide();g.L(a,a.o);a.o.subscribe("show",
(0,g.A)(a.D.Pq,a.D,a.o));g.zW(a.A,a.o.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.B();a.B=null}};
o0=function(a){var b={H:"div",M:"ytp-multicam-menu",R:{role:"dialog"},K:[{H:"div",M:"ytp-multicam-menu-header",K:[{H:"div",M:"ytp-multicam-menu-title",K:[g.U("YTP_SWITCH_CAMERA"),{H:"button",ca:["ytp-multicam-menu-close","ytp-button"],R:{"aria-label":g.U("YTP_CLOSE")},K:[g.xE()]}]}]},{H:"div",M:"ytp-multicam-menu-items"}]};t_.call(this,a,b,250);this.B=new g.qG(this);g.L(this,this.B);this.P(this.wa["ytp-multicam-menu-close"],"click",this.Ub);this.o=a;this.Ka=this.wa["ytp-multicam-menu-items"];this.A=
[];this.hide()};
p0=function(a,b,c){g.Y.call(this,{H:"button",ca:["ytp-multicam-button","ytp-button"],R:{title:g.U("YTP_SWITCH_CAMERA"),"aria-haspopup":!0,"data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},K:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-switch-camera"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z",
fill:"#fff"}}]}]});this.o=a;this.C=!1;this.A=b.o;this.D=new g.Ft(this.G,400,this);g.L(this,this.D);this.U("click",(0,g.A)(c.Jh,c,this.element,!1));this.P(a,"presentingplayerstatechange",g.Ga(this.B,!1));this.P(a,"videodatachange",this.F);this.B(!0);g.$e(this,B_(this.A,this.element))};
q0=function(){g.K.call(this);this.C=null;this.B=this.g=0;this.A=new g.Ct(this.o,null,this);g.L(this,this.A)};
Ypa=function(a,b){if("path"==b.H)return b.R.d;if(b.K)for(var c=0;c<b.K.length;c++){var d=b.K[c];if(d&&!g.u(d)&&(d=Ypa(a,d)))return d}};
aqa=function(a,b,c){c=Ypa(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=FW();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=Zpa(e),m=Zpa(c);r0(a,function(a){d.setAttribute("d",$pa(l,m,a))},200)};
r0=function(a,b,c){a.C=b;a.B=(0,g.VG)();a.g=c;a.o()};
Zpa=function(a){var b=[];a=a.match(bqa);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};
$pa=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.ta(f)?d+(f+(b[e]-f)*c):d+f}return d};
s0=function(a,b){var c=g.X(a);g.Y.call(this,{H:"button",ca:["ytp-mute-button","ytp-button"],R:c.J?{title:"{{title}}"}:{"aria-disabled":!0,"aria-haspopup":!0},K:["{{icon}}"]});this.Ea("icon",ME());this.o=a;this.ea=b.o;this.I=this.L=this.J=this.O=window.NaN;this.F=[];this.D=[];this.G=this.B=!1;g.X(this.o).O||(this.A=new g.HW({H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"defs",K:[{H:"clipPath",R:{id:"ytp-svg-volume-animation-mask"},K:[{H:"path",R:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{H:"path",R:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{H:"path",M:"ytp-svg-volume-animation-mover",R:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{H:"clipPath",R:{id:"ytp-svg-volume-animation-slash-mask"},K:[{H:"path",M:"ytp-svg-volume-animation-mover",R:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{H:"path",Pa:!0,ca:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],R:{"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"}},{H:"path",Pa:!0,ca:["ytp-svg-fill","ytp-svg-volume-animation-hider"],R:{"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.L(this,this.A),this.V=this.A.wa["ytp-svg-volume-animation-speaker"],this.ha=this.V.getAttribute("d"),this.F=g.pd("ytp-svg-volume-animation-mover",this.A.element),this.D=g.pd("ytp-svg-volume-animation-hider",this.A.element));this.C=null;this.Y=new q0;g.L(this,this.Y);this.N=new q0;g.L(this,this.N);
this.U("click",this.ga);this.P(a,"appresize",this.wd);this.P(a,"onVolumeChange",this.da);var d=null;c.J?g.$e(this,B_(b.o,this.element)):(c=g.U("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new t_(a,{H:"span",ca:["ytp-popup","ytp-generic-popup"],R:{tabindex:0},K:[c[0],{H:"a",R:{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"},K:[c[2]]},c[4]]},100,!0),g.L(this,d),d.hide(),d.subscribe("show",(0,g.A)(b.Pq,b,d)),g.zW(a,d.element,4));this.aa=d;CW(a,this.element,this,
28662);this.wd(g.gW(a).Xa());cqa(this,a.getVolume(),a.Ke())};
cqa=function(a,b,c){var d=c?0:b/100,e=g.X(a.o);if(e.O)d=0==d?ME():0<d&&.5>d?LE():KE(),d!=a.C&&(a.Ea("icon",d),a.C=d);else{b=0==d?1:50<b?1:0;if(a.J!=b){var f=a.O;(0,window.isNaN)(f)?dqa(a,b):r0(a.Y,(0,g.A)(function(a){dqa(this,f+(this.J-f)*a)},a),250);
a.J=b}d=0==d?1:0;if(a.I!=d){var k=a.L;(0,window.isNaN)(k)?eqa(a,d):r0(a.N,(0,g.A)(function(a){eqa(this,k+(this.I-k)*a)},a),250);
a.I=d}}e.J&&(a.Ea("title",c?g.U("YTP_UNMUTE"):g.U("YTP_MUTE")),t0(a.ea))};
dqa=function(a,b){a.O=b;var c=a.ha;b&&(c+=$pa(fqa,gqa,b));a.V.setAttribute("d",c)};
eqa=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=ME():e=a.A;for(c=0;c<a.D.length;c++)a.D[c].style.display=0==b?"none":"";e!=a.C&&(a.Ea("icon",e),a.C=e)};
u0=function(a,b){g.Y.call(this,{H:"button",ca:["ytp-pip-button","ytp-button"],R:{title:g.U("YTP_PIP")},K:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-pip"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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.o=a;this.U("click",this.A);g.$e(this,B_(b.o,this.element))};
v0=function(a,b){g.Y.call(this,{H:"button",ca:["ytp-play-button","ytp-button"],R:{title:"{{title}}","aria-label":"{{label}}"},K:["{{icon}}"]});this.o=a;this.A=null;this.C=b.o;this.B=null;this.D=new q0;g.L(this,this.D);this.P(a,"fullscreentoggled",this.F);this.P(a,"presentingplayerstatechange",this.G);this.P(a,"videodatachange",this.F);hqa(this,g.fW(a));this.U("click",this.I,this)};
iqa=function(a){switch(a){case 1:return EE();case 2:return DE();case 3:return GE();case 4:return JE();default:return null}};
hqa=function(a,b){var c=g.zQ(a.o.fa()),d=!1;if(nR(b))var e=c?4:2;else g.W(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.A!=e){switch(e){case 2:var 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==e?(a.B||(a.B=B_(a.C,a.element)),a.update({title:f,label:null,icon:iqa(e)})):(a.B&&(a.B(),a.B=null),a.update({title:null,label:f}),(c=iqa(e))&&a.A&&3!=a.A&&!g.X(a.o).O?aqa(a.D,a.element,c):a.Ea("icon",c));t0(a.C);a.A=e}};
x0=function(a,b,c){if(c){var d="ytp-next-button";var e=BE()}else d="ytp-prev-button",e=FE();g.Y.call(this,{H:"a",ca:[d,"ytp-button"],R:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},K:[e]});this.o=a;this.L=b.o;this.B=c;this.A=this.F=null;this.J=!1;this.G=this.I=this.C=null;this.D=!1;this.P(a,"fullscreentoggled",this.Gj);this.P(a,"videodatachange",
this.Gj);this.P(a,"onPlaylistUpdate",this.Gj);this.B||this.P(a,"appresize",this.wd);this.P(a,"mdxpreviousnextchange",function(){w0(this);this.wd()});
this.Gj()};
jqa=function(a){a.A&&a.A.unsubscribe("shuffle",a.Gj,a)};
kqa=function(a){return!!a.A&&!a.B&&!!a.F&&!a.F.Ba&&3<=a.o.getCurrentTime()&&2!=a.o.Ya()};
lqa=function(a){var b=g.dW(g.ZV(a.o));return b?a.B?b.hasNext():b.Pf():!1};
w0=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.X(a.o),d=hW(a.o),e=a.B&&g.AW(a.o),f=lqa(a);if(a.D)b.title=g.U("YTP_REPLAY");else if(d){var k=null;a.A&&(k=a.A.dc(a.B?jS(a.A):kS(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.hX(k.lengthSeconds):null;b.preview=k.bc(c,"mqdefault.jpg")}b.title=g.U(a.B?"YTP_NEXT":"YTP_PREVIOUS")}else e&&(a.F.jg&&a.F.jg.length&&(k=g.h_(a.F.jg[0]),
b.url=k.On(c),b.text=k.title,b.duration=k instanceof g.eQ?g.hX(k.lengthSeconds):null,b.preview=k.bc(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=B_(a.L,a.element),a.I=a.U("click",a.HN,a)):a.C&&(a.C(),a.C=null,a.Ca(a.I),a.I=null);t0(a.L)};
y0=function(a,b){g.gX.call(this,{H:"div",M:"ytp-progress-bar-container",R:{"aria-disabled":!0},K:[{H:"div",ca:["ytp-progress-bar",g.X(a).isMobile?"ytp-mobile":""],R:{tabindex:0,role:"slider","aria-label":g.U("YTP_SEEK_SLIDER"),"aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},K:[{H:"div",M:"ytp-progress-bar-padding"},{H:"div",M:"ytp-progress-list",K:[{H:"div",ca:["ytp-play-progress","ytp-swatch-background-color"]},{H:"div",
M:"ytp-load-progress"},{H:"div",M:"ytp-hover-progress"},{H:"div",M:"ytp-clip-start-exclude"},{H:"div",M:"ytp-clip-end-exclude"},{H:"div",M:"ytp-ad-progress-list"},{H:"div",M:"ytp-marker-crenellation-list"},{H:"div",M:"ytp-marker-progress-list"}]},{H:"div",M:"ytp-scrubber-container",K:[{H:"div",ca:["ytp-scrubber-button","ytp-swatch-background-color"],K:[{H:"div",M:"ytp-scrubber-pull-indicator"}]}]}]},{H:"div",M:"ytp-bound-time-left",K:["{{boundTimeLeft}}"]},{H:"div",M:"ytp-bound-time-right",K:["{{boundTimeRight}}"]},
{H:"div",M:"ytp-clip-start",R:{title:g.U("YTP_WATCH_ALL")},K:["{{clipstarticon}}"]},{H:"div",M:"ytp-clip-end",R:{title:g.U("YTP_WATCH_ALL")},K:["{{clipendicon}}"]}]});this.Ea("clipstarticon",wE());this.Ea("clipendicon",vE());this.A=a;this.Aa=b.o;this.Ma=!1;this.D=this.Jb=0;this.V=1;this.Ib=this.G=0;this.B=null;this.bb=!1;this.J=this.ha=0;this.Gc=this.wa["ytp-ad-progress-list"];this.Ic=this.wa["ytp-marker-progress-list"];this.Za=this.wa["ytp-marker-crenellation-list"];this.O={};this.ga={};this.L=window.Infinity;
var c=b.o;this.aa=this.wa["ytp-clip-end"];g.$e(this,B_(c,this.aa));this.na=new g.vG(this.aa,!0);g.L(this,this.na);this.na.subscribe("hoverstart",this.xA,this);this.na.subscribe("hoverend",this.wA,this);this.P(this.aa,"click",this.zo);this.Sa=this.wa["ytp-clip-end-exclude"];this.Yc=this.wa["ytp-clip-start-exclude"];this.N=0;this.ea=this.wa["ytp-clip-start"];g.$e(this,B_(c,this.ea));this.pa=new g.vG(this.ea,!0);g.L(this,this.pa);this.pa.subscribe("hoverstart",this.xA,this);this.pa.subscribe("hoverend",
this.wA,this);this.P(this.ea,"click",this.zo);this.zb=this.wa["ytp-load-progress"];this.da=0;this.fd=this.wa["ytp-play-progress"];this.Oa=this.wa["ytp-hover-progress"];this.F=0;this.Ab=this.wa["ytp-progress-bar"];this.C=null;this.gd=this.wa["ytp-scrubber-button"];this.Id=this.wa["ytp-scrubber-container"];this.ra=new g.dd;this.ib=new Sna;this.o=new bY(0,0);this.I=this.sa=!1;this.Ra=null;this.P(a,"presentingplayerstatechange",this.JN);this.P(a,"videodatachange",this.vA);this.P(a,"videoplayerreset",
this.VI);this.P(a,"cuerangesadded",this.yA);this.P(a,"cuerangesremoved",this.RN);this.P(a,"cuerangemarkersupdated",this.yA);this.P(a,"onPlaybackQualityChange",this.KN);mqa(this,a.fa(),!0)};
oqa=function(a){if(a.D){var b=a.A.vh(),c=new bY(b.seekableStart,b.seekableEnd),d=dY(c,b.loaded,0);b=dY(c,b.current,0);var e=a.o.o!=c.o||a.o.g!=c.g;a.o=c;z0(a,b,d);e&&A0(a);nqa(a)}};
mqa=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.ed();a.sa=d&&b.tg;pqa(a,a.A.Pd());c&&(d?(c=b.clipEnd,a.N=b.clipStart,a.L=c,B0(a),z0(a,a.F,a.da)):a.zo(),b=a.Aa,1==b.o&&b.cf());oqa(a)};
qqa=function(a){return!!a&&a.ed()&&!!a.Na&&a.Na.video.isAccelerated&&a.Na.video.A};
C0=function(a,b){a.bb=b;g.T(a.zb,"ytp-fast-load",b)};
rqa=function(a,b,c,d){b=g.$c(b,0,a.I?60:40);a.G=b;var e=a.V,f=Math.max(a.o.getLength()/a.D,1);a.V=b/(a.I?60:40)*(f-1)+1;b=a.D*a.V;a.J=g.$c(d*b-c,0,b-a.D);e!=a.V&&A0(a)};
A0=function(a){var b=D0(a),c=-b.A/b.g,d=(-b.A+b.width)/b.g,e=g.Nd(a.Za),f=0;if(a.G>.2*(a.I?60:40)){var k=c*(a.o.getLength()/60),l=d*(a.o.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.Cd("DIV"),a.Za.appendChild(m));f++;m.className=0==k%60?"ytp-60m-progress":0==k%30?"ytp-30m-progress":0==k%15?"ytp-15m-progress":"ytp-1m-progress";var n=(60*k/a.o.getLength()-c)*b.g;m.style.left=n+"px"}}b=a.sa?a.o.g:0;a.update({boundTimeLeft:g.hX(cY(a.o,c)-b),boundTimeRight:g.hX(cY(a.o,d)-b)});for(c=e.length-
1;c>=f;c--)g.Jd(e[c]);a.element.style.height=a.G+(a.I?8:5)+"px";a.X("height-change",a.G);a.gd.style.height=a.G+(a.I?20:13)+"px";for(var q in a.O)sqa(a,a.O[q],a.ga[q]);B0(a);z0(a,a.F,a.da)};
D0=function(a){var b=a.ra.x,c=a.D*a.V;b=g.$c(b,0,a.D);a.ib.update(b,a.D,-a.J,-(c-a.J-a.D));return a.ib};
z0=function(a,b,c){a.F=b;a.da=c;var d=D0(a),e=a.o.g,f=cY(a.o,a.F);a.update({ariamin:Math.floor(a.o.o),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.U("YTP_PROGRESS_LABEL_2",{PLAY_PROGRESS:g.hX(f),DURATION:g.hX(e)})});e=dY(a.o,a.N,0);var k=dY(a.o,a.L,1);f=g.$c(b,e,k);c=a.bb?1:g.$c(c,e,k);g.oh(a.Id,"transform","translateX("+(b*d.g+d.A)+"px)");E0(a,a.fd,d,e,f);E0(a,a.zb,d,e,c)};
E0=function(a,b,c,d,e,f){b.style.left=Math.max(d*c.g+c.A,0)+"px";d=g.$c((e-d)*c.g+c.A,0,c.width);(void 0===f?0:f)||g.X(a.A).isMobile?b.style.width=d+"px":g.oh(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
B0=function(a){var b=a.N>a.o.o,c=0<a.o.g&&a.L<a.o.g;g.T(a.element,"ytp-clip-start-enabled",b);g.T(a.element,"ytp-clip-end-enabled",c);b=b?dY(a.o,a.N,0):0;c=c?dY(a.o,a.L,1):1;a.ea.style.left=Math.round(1E3*b)/10+"%";a.aa.style.left=Math.round(1E3*c)/10+"%";a.Yc.style.width=Math.round(1E3*b)/10+"%";a.Sa.style.left=Math.round(1E3*c)/10+"%";a.Sa.style.width=Math.round(1E3*(1-c))/10+"%"};
nqa=function(a){var b=D0(a);E0(a,a.Oa,b,a.F,b.o);g.T(a.Oa,"ytp-hover-progress-light",b.o>a.F)};
sqa=function(a,b,c){var d=D0(a),e=dY(a.o,b.start/1E3,0),f=tma(b)/d.width;switch(b.style){case g.aS.Oh:var k=e+f/2;e-=f/2;break;default:k=dY(a.o,b.end/1E3,1),f!=Number.POSITIVE_INFINITY&&(e=g.$c(e,0,k-f)),k=Math.min(k,e+f),b.color&&(c.style.background=b.color)}E0(a,c,d,e,k,!0);c.className=b.style};
tqa=function(a,b){var c=b.getId();a.O[c]==b&&(g.Jd(a.ga[c]),delete a.O[c],delete a.ga[c])};
pqa=function(a,b){b?a.C||(a.element.removeAttribute("aria-disabled"),a.C=new g.vG(a.Ab,!0),a.C.subscribe("hovermove",a.ON,a),a.C.subscribe("hoverend",a.NN,a),a.C.subscribe("dragstart",a.MN,a),a.C.subscribe("dragmove",a.QN,a),a.C.subscribe("dragend",a.PN,a),a.Ra=a.U("keydown",a.LN)):a.C&&(a.element.setAttribute("aria-disabled",!0),a.Ca(a.Ra),a.C.cancel(),a.C.dispose(),a.C=null)};
F0=function(a,b){Q_.call(this,g.U("YTP_ANNOTATIONS"),5);this.B=b;this.T=a;this.A=!1;this.P(a,"videodatachange",this.C);this.P(a,"onApiChange",this.C);this.subscribe("select",this.D,this);this.C()};
g.G0=function(a,b,c,d,e,f){var k=g.F_({"aria-haspopup":!0});g.E_.call(this,k,b,a);this.A=d;this.G=!1;this.D=null;this.o={};this.C=new g.H_(c,void 0,a,e,f);g.L(this,this.C);this.U("keydown",this.TN);this.U("click",this.open)};
g.H0=function(a,b){g.Hpa(a.C);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.o[f],l=f==a.D;l&&(d=!0);k&&k.priority==-e?(l=a,g.D_(l.o[f],l.mf(f,!0)),delete a.o[f]):(k=new g.E_({H:"div",ca:["ytp-menuitem"],R:{tabindex:0,role:"menuitemradio","aria-checked":l?!0:null},K:[{H:"div",ca:["ytp-menuitem-label"],K:["{{label}}"]}]},-e,a.mf(f,!0)),k.U("click",(0,g.A)(a.UN,a,f)));c[f]=k;g.I_(a.C,k,!0)}d||(a.D=null);for(var m in a.o)a.o[m].dispose();a.o=c};
I0=function(a,b){g.G0.call(this,g.U("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.T=a;this.I=new g.Y({H:"div",K:[{H:"span",K:[g.U("YTP_AUDIO_TRACK_TITLE")]},{H:"span",M:"ytp-menuitem-label-count",K:["{{content}}"]}]});g.D_(this,this.I);this.J={};this.P(a,"videodatachange",this.F);this.P(a,"onPlaybackAudioChange",this.F);this.F()};
J0=function(a,b){Q_.call(this,g.U("YTP_AUTOPLAY"),6);this.D=b;this.T=a;this.B=!1;this.A=[];this.P(a,"presentingplayerstatechange",this.C);this.subscribe("select",this.G,this);this.C()};
K0=function(a,b){g.G0.call(this,g.U("YTP_QUALITY_TITLE"),1,a,b);g.S(this.C.element,"ytp-quality-menu");this.T=a;this.I={};this.F="unknown";this.P(a,"videodatachange",this.B);this.P(a,"videoplayerreset",this.B);this.P(a,"onPlaybackQualityChange",this.J);this.B()};
uqa=function(a,b,c){a=a.I[b];var d=g.gJ[b];d=a?a.qualityLabel:d?d+"p":g.U("YTP_AUTO");c={H:"span",ca:c,K:[]};a&&a.isAccelerated&&a.A&&c.K.push({H:"div",M:"ytp-menuitem-badge-container",K:[{H:"svg",R:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},K:[{H:"path",R:{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"}},{H:"path",R:{d:"M 24,44 44,24 24,4 17.33,10.67 30.65,23.95 17.3,37.3 z M 10.6,30.64 17.29,23.95 10.69,17.36 4,24.05 z",
fill:"#fff"}}]}]});c.K.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.K.push(" "),c.K.push({H:"sup",M:"ytp-swatch-color",K:[e]}));return c};
L0=function(a,b,c){g.Y.call(this,{H:"button",ca:["ytp-button","ytp-settings-button"],R:{"aria-haspopup":!0,"aria-owns":FW(),title:g.U("YTP_SETTINGS")},K:[g.IE()]});this.A=c;this.T=a;this.B=!0;this.U("click",this.C);this.P(a,"onPlaybackQualityChange",this.o);this.P(a,"videodatachange",this.o);this.P(a,"webglsettingschanged",this.o);this.P(a,"appresize",this.wd);g.$e(this,B_(b.o,this.element));this.o();this.wd(g.gW(a).Xa())};
M0=function(a,b){a.B=!!b;a.wd(g.gW(a.T).Xa())};
N0=function(a,b){g.G0.call(this,g.U("YTP_SPEED_TITLE"),4,a,b);this.T=a;this.B=null;this.P(a,"presentingplayerstatechange",this.BA);this.BA()};
O0=function(a,b,c,d){var e=g.U("YTP_VIDEO_SUBTITLES_OVERRIDE"),f=new g.H_(b,void 0,e);g.G0.call(this,vqa(d),a,b,c,e,function(){return g.M_(c,f)});
g.S(this.element,"ytp-subtitles-options-menu-item");this.J=d.option.toString();this.L=g.Ib(d.options,this.FA,this);this.I=f;g.L(this,this.I);a=new g.E_({H:"div",M:"ytp-menuitemtitle",K:[g.U("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")]},0);g.L(this,a);g.I_(this.I,a,!0);this.F=new g.E_({H:"div",M:"ytp-menuitem",R:{role:"menuitemradio",tabindex:0},K:[{H:"div",M:"ytp-menuitem-label",K:[g.U("YTP_ON")]}]},-1);g.L(this,this.F);g.I_(this.I,this.F,!0);this.P(this.F.element,"click",g.Ga(this.GA,!0));this.B=new g.E_({H:"div",
M:"ytp-menuitem",R:{role:"menuitemradio",tabindex:0},K:[{H:"div",M:"ytp-menuitem-label",K:[g.U("YTP_OFF")]}]},-2);g.L(this,this.B);g.I_(this.I,this.B,!0);this.P(this.B.element,"click",g.Ga(this.GA,!1));g.H0(this,(0,g.J)(d.options,this.FA))};
vqa=function(a){return(a.message?g.U(a.message):a.text)||""};
P0=function(a,b){g.H_.call(this,a,void 0,g.U("YTP_OPTIONS"));this.o={};for(var c=0;c<g.X_.length;c++){var d=g.X_[c],e=new O0(-c,a,b,d);g.L(this,e);e.subscribe("settingChange",this.A,this);this.o[d.option.toString()]=e;g.I_(this,e,!0)}c=new g.E_(g.F_(),-g.X_.length,g.U("YTP_RESET"));g.L(this,c);c.U("click",(0,g.A)(this.A,this,"reset",!0));g.I_(this,c,!0)};
wqa=function(a,b){for(var c in b){var d=a.o[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.o[e]&&(d.nf(e),d.F.element.setAttribute("aria-checked",!f),d.B.element.setAttribute("aria-checked",f))}}};
Q0=function(a,b){g.G0.call(this,g.U("YTP_AUTO_TRANSLATE"),0,a,b);this.B={}};
R0=function(a,b){var c=new P0(a,b);g.G0.call(this,g.U("YTP_SUBTITLES"),3,a,b,g.U("YTP_OPTIONS"),function(){return g.M_(b,c)});
this.T=a;this.B={};this.L=new g.Ft(g.Ga(this.EA,!1),3E3,this);g.L(this,this.L);this.I=new g.Y({H:"div",K:[{H:"span",K:[g.U("YTP_SUBTITLES")]},{H:"span",M:"ytp-menuitem-label-count",K:["{{content}}"]}]});g.L(this,this.I);g.D_(this,this.I);this.F=new Q0(a,b);g.L(this,this.F);this.F.subscribe("select",this.dO,this);this.J=c;g.L(this,this.J);this.J.subscribe("settingChange",this.cO,this);this.P(a,"videodatachange",this.zl);this.P(a,"onApiChange",this.zl);this.P(a,"onCaptionsTrackListChanged",this.zl);
this.P(a,"captionschanged",this.zl);this.zl()};
S0=function(a){g.J_.call(this,a,"ytp-settings-menu");this.A=a;this.B=new g.H_(a);g.L(this,this.B);this.G=null;this.V=!1;this.hide();g.M_(this,this.B)};
T0=function(a){if(!a.V){a.V=!0;var b=new K0(a.A,a);g.L(a,b);b=new R0(a.A,a);g.L(a,b);b=new F0(a.A,a);g.L(a,b);g.X(a.A).Ra&&(b=new N0(a.A,a),g.L(a,b));g.X(a.A).qg&&(b=new J0(a.A,a),g.L(a,b));b=new I0(a.A,a);g.L(a,b);M0(a.G,a.B.Ka.length)}};
U0=function(a,b){T0(a);g.I_(a.B,b);M0(a.G,a.B.Ka.length)};
V0=function(a,b){a.g&&1>=a.B.Ka.length&&a.hide();g.Gpa(a.B,b);M0(a.G,a.B.Ka.length)};
W0=function(a,b,c){g.Y.call(this,{H:"button",M:"ytp-button",R:{title:g.U("YTP_MDX_TOOLTIP"),"aria-haspopup":!0},K:["{{icon}}"]});this.T=a;this.B=c;this.A=null;this.P(a,"onMdxReceiversChange",this.o);this.P(a,"presentingplayerstatechange",this.o);this.P(a,"appresize",this.o);this.o();this.U("click",this.C,this);g.$e(this,B_(b.o,this.element))};
X0=function(a,b){g.Y.call(this,{H:"button",ca:["ytp-size-button","ytp-button"],R:{title:"{{title}}"},K:["{{icon}}"]});this.o=a;this.C=b.o;this.B=null;this.D=new q0;g.L(this,this.D);this.P(a,"sizestylechange",this.A);this.P(a,"fullscreentoggled",this.A);this.P(a,"presentingplayerstatechange",this.A);this.A();this.U("click",this.F);g.$e(this,B_(this.C,this.element))};
Y0=function(a,b){g.Y.call(this,{H:"button",ca:["ytp-subtitles-button","ytp-button"],R:{"aria-pressed":"{{pressed}}",title:g.U("YTP_SUBTITLES_TOOLTIP")},K:[yE()]});this.A=a;this.P(a,"videodatachange",this.o);this.P(a,"appresize",this.o);this.P(a,"onApiChange",this.o);this.P(a,"onCaptionsTrackListChanged",this.o);this.P(a,"captionschanged",this.o);this.o();this.U("click",this.B);g.$e(this,B_(b.o,this.element))};
Z0=function(a,b){g.Y.call(this,{H:"div",ca:["ytp-time-display","notranslate"],K:[{H:"span",M:"ytp-time-current",K:["{{currenttime}}"]},{H:"span",M:"ytp-time-separator",K:[" / "]},{H:"span",M:"ytp-time-duration",K:["{{duration}}"]}]});this.D=new g.Y({H:"button",ca:["ytp-live-badge","ytp-button"],R:{disabled:!0},K:[g.U("YTP_LIVE")]});g.L(this,this.D);this.D.Ga(this.element);this.o=a;this.J=b.o;this.A=null;this.F=this.B=!1;this.I=this.G=null;this.U("click",this.L);this.P(a,"presentingplayerstatechange",
this.C);this.P(a,"appresize",this.C);this.P(a,"videodatachange",this.N);var c=a.fa();c&&(this.B=c.Ba,g.T(this.element,"ytp-live",this.B));this.C()};
a1=function(a,b,c){g.Y.call(this,{H:"div",M:"ytp-volume-panel",R:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:0},K:[{H:"div",M:"ytp-volume-slider",K:[{H:"div",M:"ytp-volume-slider-handle"}]}]});this.o=a;this.F=b;this.N=c;this.J=!1;this.G=b.ge();this.V=this.C=0;this.O=this.wa["ytp-volume-slider"];this.Y=this.wa["ytp-volume-slider-handle"];this.I=new g.vG(this.O,!0);g.L(this,this.I);this.I.subscribe("dragstart",this.YR,
this);this.I.subscribe("dragmove",this.XR,this);this.I.subscribe("dragend",this.WR,this);this.L=null;this.A=this.B=this.D=!1;this.P(a,"onVolumeChange",this.gO);this.P(a,"appresize",this.wd);this.P(a,"fullscreentoggled",this.eO);this.P(a,"onShowControls",this.Jw);this.P(a,"onHideControls",this.Jw);this.P(this.element,"keydown",this.ZR);this.P(this.element,"focus",g.Ga(this.IA,!0));this.P(this.element,"blur",g.Ga(this.IA,!1));this.wd(g.gW(a).Xa());$0(this,a.getVolume(),a.Ke())};
$0=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.Ea("valuenow",d);a.Ea("valuetext",e);a.Y.style.left=(a.G?60:40)*c+"px";a.C=b};
b1=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.P(a.element,"wheel",a.fO):(a.Ca(a.L),a.L=null),g.T(a.N,"ytp-volume-slider-active",b))};
c1=function(a,b){var c=g.X(a),d=pO(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"],f="gaming"==c.g;f&&e.push("ytp-youtube-gaming-button");(c=c.experiments.A(f?"logo_gaming_src":"logo_src"))&&e.push("ytp-red2");g.Y.call(this,{H:"a",ca:e,R:{href:"{{url}}",target:"_blank",title:g.U("YTP_URL_NAVIGATE_TO",{WEBSITE:d}),"data-sessionlink":"feature=player-button",style:c?"background: no-repeat center/100% url("+c+")":null},K:c?null:[f?g.pE?{H:"div",
ca:["ytp-icon","ytp-icon-logo-gaming"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 98 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}},
{H:"path",ca:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],R:{d:"M23,12 L43,12 L43,24 L23,24 Z",fill:"none"}},{H:"path",Pa:!0,ca:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],R:{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"}},{H:"g",Pa:!0,M:"ytp-svg-fill",K:[{H:"path",R:{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"}},
{H:"path",R:{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"}},
{H:"path",R:{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"}},
{H:"path",R:{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"}},
{H:"path",R:{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"}},
{H:"path",R:{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.pE?{H:"div",ca:["ytp-icon","ytp-icon-logo"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 51 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}},
{H:"path",ca:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],R:{d:"M23,12 L43,12 L43,24 L23,24 Z",fill:"none"}},{H:"path",Pa:!0,ca:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],R:{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.o=a;CW(a,this.element,this,28666);this.U("click",this.D);this.P(a,"videodatachange",this.C);this.C();g.$e(this,B_(b.o,this.element))};
d1=function(a,b,c){g.qG.call(this);var d=g.X(a);this.T=a;this.A=b;this.Y=window.NaN;this.V=null;this.L=c;this.L.subscribe("autohideupdate",this.DA,this);c=!oR(g.fW(a));var e=new g.Y({H:"div",M:"ytp-gradient-bottom"});g.L(this,e);g.zW(a,e.element,8);this.J=new g.jX(e,250,c,100);g.L(this,this.J);this.o=new g.Y({H:"div",M:"ytp-chrome-bottom",K:[{H:"div",M:"ytp-chrome-controls"}]});g.L(this,this.o);g.zW(a,this.o.element,8);this.I=new g.jX(this.o,250,c,100);g.L(this,this.I);c=this.o.element.children[0];
d.F&&(c.style.background=d.Ab);this.g=new S0(a);g.L(this,this.g);g.zW(a,this.g.element,6);this.g.subscribe("show",this.jU,this);this.g.subscribe("show",(0,g.A)(b.JT,b,this.g));this.B=new y0(a,b);g.L(this,this.B);this.B.Ga(this.o.element,0);e=new i0(a,b);g.L(this,e);g.zW(a,e.element,4);this.B.subscribe("height-change",e.tN,e);e=new k0(a);g.L(this,e);g.zW(a,e.element,4);e=new g.HW({H:"div",M:"ytp-left-controls"});g.L(this,e);e.Ga(c);var f=new x0(a,b,!1);g.L(this,f);f.Ga(e.element);f=new v0(a,b);g.L(this,
f);f.Ga(e.element);f=new x0(a,b,!0);g.L(this,f);f.Ga(e.element);var k=new g.Y({H:"span"});g.L(this,k);k.Ga(e.element);if(!d.ha&&(this.C=new s0(a,b),g.L(this,this.C),this.C.Ga(k.element),d.J)){f=new a1(a,b,this.o.element);g.L(this,f);f.Ga(k.element);k=new g.vG(k.element);g.L(this,k);var l=(0,g.A)(f.HC,f,!0);k.subscribe("hoverstart",l);k=new g.vG(e.element);g.L(this,k);f=(0,g.A)(f.HC,f,!1);k.subscribe("hoverend",f)}this.O=new Z0(a,b);g.L(this,this.O);this.O.Ga(e.element);e=new g.HW({H:"div",M:"ytp-right-controls"});
g.L(this,e);e.Ga(c);c=new Y0(a,b);g.L(this,c);c.Ga(e.element);c=new L0(a,b,this.g);g.L(this,c);f=this.g;f.G=c;f.element.id=c.element.getAttribute("aria-owns");c.Ga(e.element);c=new o0(a);g.L(this,c);g.zW(a,c.element,5);c.subscribe("show",(0,g.A)(b.Oq,b,c));c=new p0(a,b,c);g.L(this,c);c.Ga(e.element);d.nk&&(this.D=new c1(a,b),g.L(this,this.D),this.D.Ga(e.element));c=new X0(a,b);g.L(this,c);c.Ga(e.element);d.Jb&&(c=new W0(a,b,this.g),g.L(this,c),c.Ga(e.element));d.Rh&&(d=new h0(a,b),g.L(this,d),d.Ga(e.element));
d=dL();d.webkitSetPresentationMode&&g.za(d.webkitSupportsPresentationMode)&&d.webkitSupportsPresentationMode("picture-in-picture")&&(d=new u0(a,b),g.L(this,d),d.Ga(e.element));this.ba=new n0(a,b);g.L(this,this.ba);this.ba.Ga(e.element);this.F=new g.Ct(this.aQ,null,this);g.L(this,this.F);this.G=null;this.P(a,"appresize",this.ht);this.P(a,"fullscreentoggled",this.ht);this.P(a,"presentingplayerstatechange",this.ru);this.ht()};
xqa=function(a,b){if(oR(g.fW(a.T))||b){if(b){a.I.hide();a.J.hide();if(a.C){var c=a.C;c.G=!1;g.EW(c.o,c.element,c.B&&!1)}a.D&&(c=a.D,c.B=!1,g.EW(c.o,c.element,c.A&&!1));a.A.o.bj(a.oa())}}else b||(a.I.show(),a.J.show(),a.C&&(c=a.C,c.G=!0,g.EW(c.o,c.element,c.B&&!0)),a.D&&(c=a.D,c.B=!0,g.EW(c.o,c.element,c.A&&!0)),a.DA())};
yqa=function(a){var b=g.gW(a.T).Xa().width;return Math.max(b-2*e1(a),100)};
e1=function(a){var b=a.A.ge();return 12*(g.X(a.T).F?0:b?2:1)};
g.f1=function(a,b,c,d,e,f,k,l,m,n,q,r){f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;if(q){c=g.X(r);q={href:q,"aria-label":a,tabindex:"-1"};if(g.eO(c)||g.fO(c))q.target="_blank";g.Y.call(this,{H:"div",ca:["ytp-button","ytp-sb"],K:[{H:"a",M:"ytp-sb-subscribe",R:q,K:[{H:"div",M:"ytp-sb-text",K:[{H:"div",M:"ytp-sb-icon"},a]},b?{H:"div",M:"ytp-sb-count",K:[b]}:""]}]});f&&g.S(this.element,"ytp-sb-classic")}else{g.Y.call(this,
{H:"div",ca:["ytp-button","ytp-sb"],K:[{H:"div",M:"ytp-sb-subscribe",R:{tabindex:"-1","aria-label":a},K:[{H:"div",M:"ytp-sb-text",K:[{H:"div",M:"ytp-sb-icon"},a]},b?{H:"div",M:"ytp-sb-count",K:[b]}:""]},{H:"div",M:"ytp-sb-unsubscribe",R:{tabindex:"-1","aria-label":c},K:[{H:"div",M:"ytp-sb-text",K:[{H:"div",M:"ytp-sb-icon"},c]},d?{H:"div",M:"ytp-sb-count",K:[d]}:""]}]});var w=this;this.o=k;this.T=r;var z=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");a=g.X(r);var C=null;"gaming"==a.g&&(C="gaming_channels");if(m){var N=a.baseYtUrl+"subscription_ajax";var da=function(){return{method:"POST",Zc:{action_create_subscription_to_channel:1,c:w.o},Nb:{feature:m,silo_name:C},withCredentials:!0}};
var Ea=function(){return{method:"POST",Zc:{action_remove_subscriptions:1},Nb:{c:w.o,silo_name:C,feature:m},withCredentials:!0}}}else if(n)N="/subscription_service",da=function(){return{method:"POST",
Zc:{action_subscribe:1},Nb:{channel_ids:w.o,itct:n}}},Ea=function(){return{method:"POST",
Zc:{action_unsubscribe:1},Nb:{channel_ids:w.o,itct:n}}};
else return;var Ba=function(){g.iF(N,da());r.za("SUBSCRIBE");B.focus();B.removeAttribute("aria-hidden");z.setAttribute("aria-hidden",!0)},Ca=function(){g.iF(N,Ea());
r.za("UNSUBSCRIBE");z.focus();z.removeAttribute("aria-hidden");B.setAttribute("aria-hidden",!0)};
this.P(z,"click",Ba);this.P(B,"click",Ca);this.P(z,"keypress",function(a){13==a.keyCode&&Ba()});
this.P(B,"keypress",function(a){13==a.keyCode&&Ca()});
var Me=(0,g.A)(this.A,this),Za=(0,g.A)(this.B,this);r.addEventListener("SUBSCRIBE",Me);r.addEventListener("UNSUBSCRIBE",Za);g.$e(this,function(){r.removeEventListener("SUBSCRIBE",Me);r.removeEventListener("UNSUBSCRIBE",Za)})}else g.S(z,"ytp-sb-disabled"),g.S(B,"ytp-sb-disabled")}};
g1=function(a){var b=new g.Y({H:"a",M:"ytp-title-channel-logo",R:{href:"{{channelLink}}",target:"_blank"}});g.Y.call(this,{H:"div",M:"ytp-title",K:[{H:"div",M:"ytp-title-channel",K:[b,{H:"div",M:"ytp-title-channel-popup",K:[{H:"div",M:"ytp-title-channel-heading",K:[{H:"h2",M:"ytp-title-channel-text",K:[{H:"a",R:{href:"{{popupChannelLink}}",target:"_blank"},K:["{{popupChannelName}}"]}]},{H:"h3",M:"ytp-title-channel-subtext",K:["{{subscriberCount}}"]}]}]}]},{H:"div",M:"ytp-title-text",K:[{H:"a",ca:["ytp-title-link",
"yt-uix-sessionlink"],R:{target:"_blank",href:"{{url}}","data-sessionlink":"feature=player-title"},K:["{{title}}"]},{H:"div",M:"ytp-title-subtext",K:[{H:"a",M:"ytp-title-channel-name",R:{href:"{{channelLink}}",target:"_blank"},K:["{{channelName}}"]},{H:"span",M:"ytp-title-view-count",K:["{{viewCount}}"]}]}]}]});g.L(this,b);this.o=a;this.A=null;this.V=this.wa["ytp-title-link"];this.F=this.wa["ytp-title-channel"];this.D=b;this.J=this.wa["ytp-title-channel-popup"];this.B=null;this.C=!1;this.N=this.O=
this.L=null;CW(a,this.element,this,23851);CW(a,b.element,this,36925);this.P(a,"videodatachange",this.G);this.P(a,"videoplayerreset",this.G);g.X(a).experiments.g("embed_author_metadata")&&zqa(this);this.G()};
zqa=function(a){var b=new g.Y({H:"div",M:"ytp-title-beacon"});g.L(a,b);b.Ga(a.F,0);b=a.o.fa();var c=new g.f1(g.U("YTP_SUBSCRIBE"),null,g.U("YTP_SUBSCRIBED"),null,!0,!1,b.Wl,!1,"embed_title",null,null,a.o);a.B=c;g.L(a,c);c.Ga(a.J);CW(a.o,c.element,a,36926);b={H:"div",M:"ytp-title-notifications-on",K:[g.CE()]};var d=new g.Y({H:"button",ca:["ytp-button","ytp-title-notifications"],K:[b,{H:"div",M:"ytp-title-notifications-off",K:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-notifications-inactive"]}:{H:"svg",
R:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},K:[{H:"path",R:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});g.L(a,d);d.Ga(a.J);CW(a.o,d.element,a,36927);a.P(a.o,"SUBSCRIBE",function(){g.S(a.element,"ytp-subscribed")});
a.P(a.o,"UNSUBSCRIBE",function(){a.C=!1;g.Tp(a.element,"ytp-subscribed");g.Tp(a.element,"ytp-notifications-enabled")});
a.P(a.F,"mouseenter",function(){a.I.stop();var b=a.o.getRootNode();g.S(b,"ytp-title-channel-expanded");g.Tp(b,"ytp-title-channel-collapsed");g.EW(a.o,c.element,!0);g.EW(a.o,d.element,!0)});
a.P(a.F,"mouseleave",function(){a.I.start();g.EW(a.o,c.element,!1);g.EW(a.o,d.element,!1)});
a.P(c.element,"click",function(){g.DW(a.o,c.element)});
a.P(d.element,"click",function(){g.DW(a.o,d.element);g.iF("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Nb:{channel_id:a.N,receive_all_updates:!a.C}});a.C=!a.C;g.T(a.element,"ytp-notifications-enabled",a.C)});
a.I=new g.Ft(function(){var b=a.o.getRootNode();g.Tp(b,"ytp-title-channel-expanded");g.S(b,"ytp-title-channel-collapsed")},1E3);
g.L(a,a.I)};
Bqa=function(a){var b=a.o.fa(),c=b.videoId&&(2==a.o.Ya()||g.X(a.o).experiments.g("embed_author_metadata")),d=a.o.getRootNode();c&&b.videoId==a.L?(g.S(d,"ytp-title-extra-info"),g.EW(a.o,a.D.element,!0)):(g.Tp(d,"ytp-title-extra-info"),g.EW(a.o,a.D.element,!1),c&&(b.author&&b.channelPath&&b.profilePicture?Aqa(a,b.videoId,b.Wl,b.author,b.channelPath,b.profilePicture,b.cu):b.videoId!=a.O&&(c=g.X(a.o),d={video_id:b.videoId,html5:1,page_subscribe:0},c.Bc&&(d.authuser=c.Bc),c.pageId&&(d.pageid=c.pageId),
c=g.Qg(c.baseYtUrl+"get_video_metadata",d),g.iF(c,{method:"GET",Vb:(0,g.A)(a.aa,a,b.videoId),withCredentials:!0}),a.O=b.videoId)))};
Aqa=function(a,b,c,d,e,f,k){e=g.X(a.o).ga+"://"+oO(g.X(a.o))+e;a.D.element.style.backgroundImage="url("+f+")";a.B&&(a.B.o=c);a.D.Ea("channelLink",e);a.Ea("channelLink",e);a.Ea("channelName",d);a.Ea("popupChannelLink",e);a.Ea("popupChannelName",d);a.Ea("subscriberCount",k);a.N=c;a.L=b;Bqa(a)};
h1=function(a,b){var c=g.gW(a).Xa();g.Y.call(this,{H:"div",K:[{H:"div",M:"ytp-tooltip-bg",K:[{H:"div",M:"ytp-tooltip-duration",K:["{{duration}}"]}]},{H:"div",M:"ytp-tooltip-text-wrapper",K:[{H:"div",M:"ytp-tooltip-image"},{H:"div",M:"ytp-tooltip-title",K:["{{title}}"]},{H:"span",M:"ytp-tooltip-text",K:["{{text}}"]}]}]});this.N=a;this.ha=b;this.ea=g.X(a).isMobile;this.G=this.wa["ytp-tooltip-bg"];this.na=this.wa["ytp-tooltip-image"];this.ga=(0,g.A)(this.IQ,this);this.O=(0,g.A)(this.KQ,this);this.V=
(0,g.A)(this.cf,this);this.A=null;this.I=new g.jX(this,100);g.L(this,this.I);this.o=null;this.L=!1;this.B=null;this.C=window.NaN;this.F="";this.da=c.width;this.J=!0;this.D=1;this.Y=new g.Ft(this.OK,250,this);g.L(this,this.Y);this.aa=new g.Ft(this.cf,5E3,this);g.L(this,this.aa)};
j1=function(a,b){if(null!=a.o)if(b)switch(a.o){case 3:case 2:i1(a);a.I.show();break;default:a.I.show()}else a.I.hide();a.J=b};
B_=function(a,b){if(a.ea)return g.y;b.addEventListener("mouseover",a.O);return(0,g.A)(function(){this.A==b&&this.cf();b.removeEventListener("mouseover",this.O)},a)};
Dqa=function(a,b,c){if(a.o)if(3==a.o)a.cf();else return;Cqa(a,b,3,c)};
Cqa=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(d=b.getAttribute("data-tooltip-image"))a.na.style.backgroundImage="url("+d+")";g.T(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.T(a.element,"ytp-tooltip-opaque",!!b);a.o=c;a.N.addEventListener("appresize",a.V);a.J&&(i1(a),a.I.show(0))};
i1=function(a){var b=a.A.getAttribute("data-tooltip-text");if(b&&!a.L){a.Ea("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.Sp(a.element,["ytp-text-detail","ytp-preview"]);g.T(a.element,"ytp-has-duration",
!!c)}else a.Ea("text",a.F),g.Up(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.o?a.element.setAttribute("role","status"):a.element.removeAttribute("role");Eqa(a,!!b)};
Eqa=function(a,b,c){a.element.style.maxWidth=b?"":Math.min(a.da,300*a.D)+"px";Fqa(a.ha,a.element,a.A,c,1==a.o);a.element.style.top?g.S(a.element,"ytp-bottom"):a.element.style.bottom&&g.S(a.element,"ytp-top");3==a.o&&a.aa.start()};
t0=function(a){a.A&&!a.L&&a.A.hasAttribute("title")&&(a.F=a.A.getAttribute("title"),a.A.removeAttribute("title"),a.J&&i1(a))};
Gqa=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=aP(a.B,a.C,c);eY(a.G,e,c,d,!0);a.Y.start()}};
g.Hqa=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=Pg(f,"mode",b));b=Pg("/signin?context=popup","next",f);c&&(b=Pg(b,"feature",c));if(c=window.open(b,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes",!0))b=g.GG("LOGGED_IN",function(b){g.HG(g.lE("LOGGED_IN_PUBSUB_KEY",void 0));g.kE("LOGGED_IN",!0);a(b)}),g.kE("LOGGED_IN_PUBSUB_KEY",b),c.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
l1=function(a,b,c){g.Y.call(this,{H:"button",ca:["ytp-watch-later-button","ytp-button"],R:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":g.X(a).V},K:[{H:"div",M:"ytp-watch-later-icon",K:["{{icon}}"]},{H:"div",M:"ytp-watch-later-title",K:["{{watch_later}}"]}]});this.o=a;this.F=b.o;this.G=c;this.D=null;this.B=this.A=!1;CW(a,this.element,this,28665);this.U("click",this.hO,this);this.P(a,"videoplayerreset",this.iO);this.P(a,"appresize",this.wd);this.wd(g.gW(a).Xa());a=g.X(this.o);
c=g.pH("yt-player-watch-later-pending");a.experiments.g("embed_show_watchlater_login")&&a.A&&c?(FJ(),Iqa(this,c.videoId)):k1(this,2);g.$e(this,B_(b.o,this.element))};
Iqa=function(a,b){if(!a.B){a.B=!0;k1(a,3);var c=g.X(a.o);(a.A?upa:tpa)({videoIds:b,Bc:c.Bc,pageId:c.pageId,onError:a.ES,Vb:a.A?a.FS:a.DS,context:a},c.baseYtUrl,!0)}};
k1=function(a,b,c){if(b!=a.D){switch(b){case 3:var d=VZ();break;case 1:d=rE();break;case 2:d=g.pE?{H:"div",ca:["ytp-icon","ytp-icon-watch-later"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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.pE?{H:"div",ca:["ytp-icon","ytp-icon-alert"]}:
{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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.Ea("icon",d);a.D=b}b=g.X(a.o);c?a.update({title:c,image:null}):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_2"),image:null});t0(a.F)};
m1=function(a){var b=g.X(a),c=b.experiments.A("watermark_src");g.Y.call(this,{H:"a",ca:["ytp-watermark","yt-uix-sessionlink",c?"ytp-exp":null],R:{target:"_blank",href:"{{url}}","aria-label":g.U("YTP_URL_NAVIGATE_TO",{WEBSITE:pO(b)}),"data-sessionlink":"feature=player-watermark",style:c?"background: no-repeat center/100% url("+c+");width:110px;height:26px":null},K:c?null:[g.pE?{H:"div",ca:["ytp-icon","ytp-icon-watermark"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 77 34",width:"100%"},K:[{H:"path",
Pa:!0,M:"ytp-svg-fill",R:{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"}},
{H:"path",ca:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],R:{d:"m 34,5.07 40,0 0,24 -40,0 z",fill:"none"}},{H:"path",Pa:!0,ca:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],R:{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.o=null;this.P(a,"videodatachange",this.B);this.P(a,"presentingplayerstatechange",this.D);a=g.fW(a);g.NW(this,!g.W(a,2));this.B()};
n1=function(a){w_.call(this,a);var b=g.X(a),c=g.gW(a);this.ra=48;this.pa=69;b.V&&(this.ra=42,this.pa=63);var d=g.X(this.g),e=d.O;if(gL("ytp-normal-css-loaded")){var f=gL("ytp-sprite-mode-css-loaded");e!=f&&g.PE(Error("Player sprite mode mismatch. playerInSpriteMode: "+e+", spriteModeCssServed: "+f+", isMobile: "+d.isMobile),"WARNING")}this.O=null;this.G=[];d=new g.Y({H:"div",M:"ytp-gradient-top"});g.L(this,d);g.zW(a,d.element,1);this.Sa=new g.jX(d,250,!0,100);g.L(this,this.Sa);this.C=new g.Y({H:"div",
M:"ytp-chrome-top"});g.L(this,this.C);g.zW(a,this.C.element,1);this.Ra=new g.jX(this.C,250,!0,100);g.L(this,this.Ra);this.ga=[];this.o=new h1(a,this);g.L(this,this.o);g.zW(a,this.o.element,4);!b.experiments.g("related_on_pause_killswitch")&&b.A&&b.Id&&(this.zb=new $_(a,this),g.L(this,this.zb),g.zW(a,this.zb.element,4));d=new c0(a);g.L(this,d);g.zW(a,d.element,5);d.subscribe("show",(0,g.A)(this.Oq,this,d));this.ga.push(d);d=new d0(a,this,d);g.L(this,d);d.Ga(this.C.element);this.Ma=new g1(a);g.L(this,
this.Ma);this.Ma.Ga(this.C.element);d=new g.HW({H:"div",M:"ytp-chrome-top-buttons"});g.L(this,d);d.Ga(this.C.element);b.experiments.g("embed_show_top_buttons")&&b.A&&g.S(this.C.element,"ytp-chrome-top-show-buttons");b.experiments.A("logo_src")&&g.S(this.g.getRootNode(),"ytp-red2");b.fT&&(this.ha=new l1(a,this,this.C.element),g.L(this,this.ha),this.ha.Ga(d.element));e=new f0(a,this);g.L(this,e);g.zW(a,e.element,5);e.subscribe("show",(0,g.A)(this.Oq,this,e));this.ga.push(e);this.Oa=new g0(a,this,e,
this.C.element);g.L(this,this.Oa);this.Oa.Ga(d.element);this.V=new A_(a,this,this.C.element);g.L(this,this.V);this.V.Ga(d.element);e=new C_(a,this.V);g.L(this,e);e.Ga(d.element);(this.A="1"==b.B?new d1(a,this,this.B):null)&&g.L(this,this.A);"3"==b.B&&(d=new e0(a,this),g.L(this,d),g.zW(a,d.element,8));this.I=new V_(a,this);g.L(this,this.I);this.I.subscribe("show",this.rA,this);this.Ha=!1;b.pk&&(d=new m1(a),g.L(this,d),g.zW(a,d.element,7));d=new y_(a);g.L(this,d);g.zW(a,d.element,4);this.aa=new g.Y({H:"div",
R:{tabindex:0}});this.aa.U("focus",this.mI,this);g.L(this,this.aa);this.ba=new g.Y({H:"div",R:{tabindex:0}});this.ba.U("focus",this.nI,this);g.L(this,this.ba);(this.ea=b.useTabletControls?null:new W_(a,c,this.I,this.B,this.D,(0,g.A)(this.qn,this)))&&g.L(this,this.ea);this.P(a,"fullscreentoggled",this.kN);this.P(a,"offlineslatestatechange",this.UQ,this);this.P(a,"cardstatechange",this.Kg,this)};
Fqa=function(a,b,c,d,e){b.style.left="";b.style.top="";b.style.bottom="";var f=g.Hh(b);e=e||a.A&&g.Rd(a.A.oa(),c);if(null==d||!e){var k=g.Hh(c);var l=g.Eh(c,a.g.getRootNode())}d=(null==d?l.x+k.width/2:d)-f.width/2;e?(k=e1(a.A),l=yqa(a.A),c=g.gW(a.g).Xa().height,d=g.$c(d,k,k+l-f.width),f=c-(a.A.A.ge()?72:50)-f.height):g.Rd(a.C.element,c)?(k=g.gW(a.g).Xa().width,d=g.$c(d,12,k-f.width-12),f=a.ge()?a.pa:a.ra,"gvn"==g.X(a.g).g&&(f+=20)):(a=g.gW(a.g).Xa(),d=g.$c(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"};
o1=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=g.sh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=o1(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};
p1=function(a){this.I=a;this.D=null;this.g=[];this.A=[];this.C=[];this.G=1;this.o=[];this.B=!1};
g.BW=function(a,b,c){a.B?a.C.push({type:b,data:c}):a.I.X(b,c)};
q1=function(a,b){g.K.call(this);var c=this;this.da=yja(b);var d=this.da.args||{};this.g=new jO(d);g.L(this,this.g);!this.g.experiments.g("legacy_autoplay_flag")&&cO(this.g)&&(d.autoplay="1");this.re=NN(cO(this.g)&&"blazer"!=this.g.g,d.enablesizebutton);this.na=NN(!1,d.player_wide);this.Gc=!1;this.Y=this.g.Hb&&NN(!1,d.external_list);this.Aa=(this.fd=this.g.Hb&&NN(!1,d.external_play_video))&&this.g.experiments.g("player_unified_fullscreen_transitions");this.L=new g.qG(this);g.L(this,this.L);xg=function(a,
b){g.PE(b,"WARNING")};
this.ra=null;this.V=new g.xD;this.ba=new g.xD;this.aa=new p1(this.ba);this.aa.pause();this.o=new YV(this);g.L(this,this.o);this.J=new YV(this,1);g.L(this,this.J);this.G=new MZ(this);g.L(this,this.G);this.O=1;this.Sa={};this.N=this.g.storeUserVolume?gka():{volume:100,muted:this.g.mute};this.T=this.g.Hb?new WR(this,1):new KJ(this,1);g.L(this,this.T);this.D=null;this.Ra={};d={};this.zb=(d.internalAbandon=this.NO,d.internalvideodatachange=this.MO,d.playbackready=this.OO,d.playbackstarted=this.PO,d.statechange=
this.QO,d.signatureexpired=this.UR,d);this.B=Jqa(this);g.L(this,this.B);this.I=new YR(this.g,"",this.B);this.A=Kqa(this);d={};this.Id=(d.airplayactivechange=this.DO,d.airplayavailabilitychange=this.EO,d.beginseeking=this.YO,d.endseeking=this.MP,d.internalAbandon=this.eQ,d.internalaudioformatchange=this.SO,d.internalvideodatachange=this.Is,d.internalvideoformatchange=this.vS,d.liveviewshift=this.kQ,d.playbackstalledatstart=this.aS,d.progresssync=this.fL,d.seekto=this.gL,d.onLoadProgress=this.lQ,d.onVideoProgress=
this.iL,d.playbackready=this.fR,d.statechange=this.PB,d.connectionissue=this.wP,d.newelementrequired=this.NQ,d.heartbeatparams=this.dL,d.videoelementevent=this.hL,d);this.F=null;this.pa=new g_(10,function(a){a!=g.eW(c,a.getPlayerType())&&a.dispose()});
g.L(this,this.pa);this.Ab=this.Ib=-1;this.bb=new g.Ft(this.G.og,16,this.G);g.L(this,this.bb);this.ib=!1;this.ea=!0;this.sa=this.Oa=this.C=null;this.Jb=!1;this.Ic=this.gd=null;this.Za=this.ha=0;this.ga=this.Ma=!1;this.Ha=null;this.L.P(this.o,"crn_appapi",this.KO);this.L.P(this.o,"crx_appapi",this.LO);this.L.P(this.o,"crn_appad",this.aB);this.L.P(this.o,"crx_appad",this.aB);this.L.P(this.o,"presentingplayerstatechange",this.eL);this.L.P(this.o,"resize",this.DR);this.G.Ga(g.md(a));this.L.P(this.o,"offlineslatestatechange",
this.TQ);this.Yc=Lqa(this,this.G.element);g.L(this,this.Yc);g.pE=this.g.O;Mqa(this);this.I.o("fs");Nqa(this);this.Ha=new n1(this.o);this.B.F=this.Ha;this.Ha.init();g.nW(this.J,"init")};
Kqa=function(a){var b=new aV(a.g,1,a.I,a.G,(0,g.A)(a.V.X,a.V),(0,g.A)(a.o.wh,a.o));VV(b,a.g.A?1:Oqa(a,g.pH("yt-player-playback-rate")||1));r1(a,b,a.zb);return b};
Jqa=function(a){var b="",c=a.da.assets.js||"";0==c.indexOf("//")&&(c=a.g.ga+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");b=new JZ(a.o,b,a);c={};a=(c.loaded=(0,g.A)(a.FQ,a),c.unloaded=(0,g.A)(a.GQ,a),c.destroyed=(0,g.A)(a.vt,a),c);b.aa=a;return b};
Pqa=function(a,b){a.ra||(a.ra=new f_(a),g.L(a,a.ra),g.zW(a.o,a.ra.element,4));var c=a.ra.g;g.NW(a.ra,b);s1(a)&&c!=b&&g.dW(a.B).CM()};
u1=function(a){var b=t1.getTag(!0,!a.g.C);a.D=new UU(b);a.F&&BV(a.F,a.D);try{if(a.g.ha)a.sa&&a.L.Ca(a.sa),a.sa=a.L.P(a.D,"volumechange",a.CQ);else{a.D.setVolume(a.N.volume/100);var c=a.D,d=a.N.muted;fL();c.g.muted=d}}catch(e){b="setvolume.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_"));g.jV(a.A,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b);return}kpa(a.G,b);try{ZQ(a.D)}catch(e){b="activate.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_")),g.jV(a.A,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",
b)}};
v1=function(a){if(a.D){a.sa&&(a.L.Ca(a.sa),a.sa=null);a.F&&zV(a.F);var b=a.G;b.o&&(g.Jd(b.o),b.o=null);t1.releaseTag(a.D.oa());a.D=null}};
CZ=function(a,b){if(a.F!=b){var c=null;a.F&&(c=a.F.A,LZ(a.B),tW(a,"cuerangesremoved",a.F.F.g.g||[]),apa(a));w1(a,b);a.F=b;a.D&&BV(b,a.D);r1(a,b,a.Id);a.Is("newdata",b,b.g);a.g.experiments.g("disable_new_presenting_state_change")||!c||g.mR(c,b.A)||a.PB(new g.rR(b.A,c));b.Ha.g&&a.Is("dataloaded",b,b.g);b.g.Na&&a.o.za("onPlaybackQualityChange",b.g.Na.video.quality);tW(a,"cuerangesadded",a.F.F.g.g||[]);nR(b.A)&&GV(b)}};
r1=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)};
w1=function(a,b){if(b!=a.A){var c=b.getPlayerType();a.Ra[c]=b}};
apa=function(a){if(a.D){var b=a.B.B;b&&b.az(a.D)&&(v1(a),u1(a))}zV(a.F);b=a.F;var c=a.Id;for(d in c)b.unsubscribe(d,c[d],a);var d=a.F;d!=a.A&&(b=d.getPlayerType(),a.Ra[b]==d&&delete a.Ra[b]);a.F=null};
g.eW=function(a,b){return b?1==b?a.A:a.Ra[b]||null:a.F};
fY=function(a,b){var c=g.eW(a,b);c||(c=Qqa(a,b),w1(a,c));return c};
Qqa=function(a,b){if(2==b){var c=g.dc(a.g.N);a.g.experiments.g("legacy_autoplay_flag")&&(c.autoplay="1");var d=x1(a);c.eventid=d.eventId;c.content_v=d.videoId;c=new jO(c);c.D="adunit";c=new aV(c,2,new YR(c,""),a.G,(0,g.A)(a.V.X,a.V),(0,g.A)(a.o.wh,a.o))}else c=new aV(a.g,b,a.I,a.G,(0,g.A)(a.V.X,a.V),(0,g.A)(a.o.wh,a.o));return c};
Rqa=function(a){var b=a.B;if(!b.o)try{b.T.fa(1).adModule?(b.o=new xZ(b.ea,b.ea.J),b.o.create()):g.wW(b.T,"ad")}catch(c){g.wW(b.T,"ad"),g.PE(c)}b.ax();b.Ww();b.fx();b.hx();b.gx();b.Zw();b.Uw();b.Vw();b.Yw();b.Xw();b.Hq();b.bx();a.o.X("videoready",x1(a))};
x1=function(a){return a.F.g};
Sqa=function(a,b){var c=g.eW(a,b);return(c=c?c.o:null)?dR(c):0};
g.y1=function(a,b,c){(a=g.eW(a,void 0===c?1:c))&&ZU(a,b)};
z1=function(a){var b=a.A.g;return a.g.experiments.g("legacy_autoplay_flag")?a.g.zm:b.Eh};
Mqa=function(a){var b=new g.eQ(a.da.args);g.WH()&&b.ne.push("remote");b.ed()&&(iV(a.A,b,(0,g.A)(a.Bd,a)),z1(a)&&(a.g.pg||a.g.yf)&&mV(a.A))};
Nqa=function(a){var b=a.G,c=b.app.g;c.Af||b.Vu("tag-pool-enabled");c.tc&&b.Vu("house-brand");"gvn"==c.g&&(b.Vu("ytp-gvn"),b.element.style.backgroundColor="transparent");c.pa&&(b.G=g.GG("yt-dom-content-change",b.og,b));b.P(window,"resize",b.og,b);b=a.T;b.o=a.G.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=$F(a.G.element))&&a.L.P(a.G,d,a.TP);a.L.P(window,"resize",a.ER);b=a.da.args;u1(a);d=a.A.g;a.o.za("onVolumeChange",a.N);if(b&&iS(b))if((c=uO(a.g))&&!a.Y&&(b.fetch=0),A1(a,b),
c&&!a.Y)B1(a);else if(!d.ed())a.C.onReady((0,g.A)(a.Et,a));CZ(a,a.A);g.W(a.A.A,128)||(b=eL(a.g.C),"fmt.noneavailable"==b?g.jV(a.A,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==b?g.jV(a.A,b,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.ed()&&z1(a)&&(a.g.pg||a.g.yf)?C1(a):g.AO(a.g)||Tqa(a))};
Tqa=function(a){a.o.X("initializingmode");g.D1(a,2);a.B.Hq()};
C1=function(a){if(g.W(a.A.A,128))return!1;z1(a)&&a.g.yf&&(t1.hasTags(void 0)&&a.ga?(NJ(a,{muted:!1,volume:a.N.volume},!1),E1(a,!1)):t1.hasTags(void 0)||a.N.muted||(NJ(a,{muted:!0,volume:a.N.volume},!1),E1(a,!0)));Uqa(a,1,a.A.g.videoId);a.o.X("initializingmode");CZ(a,a.A);g.D1(a,3);var b=a.B.B;if(!a.g.Af||gO()&&!a.Jb||b&&b.az(a.D)&&a.Jb)v1(a),u1(a),BV(a.A,a.D);oV(a.A);if(g.W(a.A.A,128))return!1;F1(a,3);return a.Jb=!0};
s1=function(a){a=g.dW(a.B);return!!a&&a.loaded};
Vqa=function(a,b){if(a.F==a.A&&a.F.Id!=b){var c=a.F;c.Id=b;c.o&&(c.o.g.loop=b);a.o.X("loopchange",b)}};
G1=function(a,b,c){(0,window.isNaN)(b)||(b=Oqa(a,b),a.A.Aa!=b&&(VV(a.A,b),c&&!a.g.A&&g.oH("yt-player-playback-rate",b),a.o.za("onPlaybackRateChange",b)))};
Oqa=function(a,b){var c=1;c=a.o.Dj();return c=1>b?g.gb(c,function(a){return a>=b}):jb(c,function(a){return a<=b})};
H1=function(a,b){var c=SV(a.A,b);a.F&&a.F!=a.A&&(c=Wqa(c,SV(a.F,b),"ad_"));if(b&&a.D){c["0sz"]=0==g.Hh(a.D.g).Qc();c.op=rh(a.D.g,"opacity");var d=wh(a.D.g).y+g.Hh(a.D.g).height;c.yof=0>=d;c.dis=rh(a.D.g,"display")}(d=b?lV():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.J.ol();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.B.D)&&(c=Wqa(c,d.LD(),"fresca_"));return JSON.stringify(c,null,2)};
cW=function(a){return 1==a.O?1:s1(a)?3:g.eW(a).getPlayerType()};
Xqa=function(a,b){return 3==cW(a)?qR(g.dW(a.B).F):2==b?a.Ab:a.Ib};
Yqa=function(a){var b=a.B.o;b&&b.C&&b.destroy();Vqa(a,!1);a.Sa={};a=a.I;b=a.B;b.ba={};b.Y={};a.C=!1};
B1=function(a){var b=Zqa();if(b)if(b.list){if(a.C&&a.C.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.o.isFullscreen()&&((c=c[a.C.be()])&&c.encrypted_id!=a.C.dc().videoId||(b.index=a.C.be()));mS(a.C,b);a.Oa&&I1(a,a.Oa)}else a.Oa=null}else a.Ym()};
A1=function(a,b){a.C&&(a.C.unsubscribe("error",a.Ym,a),g.af(a.C),a.C=null);b&&(a.Y&&(b.fetch=0),a.C=new g.hS(b),a.C.subscribe("error",a.Ym,a))};
J1=function(a,b,c,d){b in a.Sa||(c=new g.bS(c,d,{id:b,priority:g.$R.DE}),c.namespace="appad",ZT(a.A.F,[c]),a.Sa[b]=c)};
$qa=function(a,b,c){c={label:c};a.g.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.eF(b,c)};
g.D1=function(a,b){b!=a.O&&(2==b&&(F1(a,-1),F1(a,5)),a.O=b,a.o.X("appstatechange",b))};
F1=function(a,b){a.F&&2==a.F.getPlayerType()?a.Ab!=b&&(a.Ab=b,a.o.za("onAdStateChange",b)):a.Ib!=b&&(a.Ib=b,a.o.za("onStateChange",b))};
HZ=function(a,b,c,d,e){c=0!=c;if(e=g.eW(a,e))2==a.O&&C1(a),qV(e,b,c,d)};
L1=function(a,b,c,d,e){a.g.tc&&EO(b);!a.g.experiments.g("legacy_autoplay_flag")&&cO(a.g)&&(b.autoplay="1");var f=new g.eQ(b);d||(b&&iS(b)?(uO(a.g)&&!a.Y&&(b.fetch=0),A1(a,b)):a.C&&A1(a,null),a.Y=NN(!1,b.external_list),uO(a.g)&&!a.Y&&B1(a));return K1(a,f,c,e)};
ara=function(a,b,c,d){a.pa.get(c+b.videoId)||(b.Io=!0,d?(d=g.eW(a,c),M1(a,c)):d=Qqa(a,c),iV(d,b,(0,g.A)(a.Bd,a)),mV(d,!0),a.pa.set(c+b.videoId,d))};
Uqa=function(a,b,c){var d=b+c;if(c=a.pa.get(d)){a.pa.remove(d);if(c==g.eW(a,b))return c;if(1==c.getPlayerType()){c.g.autonavState=a.A.g.autonavState;b=a.A;d=a.zb;for(var e in d)b.unsubscribe(e,d[e],a);e=a.A.Aa;a.A.dispose();a.A=c;VV(a.A,e);r1(a,c,a.zb);Yqa(a)}else(e=g.eW(a,b))&&e.dispose();a.F.getPlayerType()==c.getPlayerType()?CZ(a,c):w1(a,c)}return c};
K1=function(a,b,c,d){YP("_start",a.I.g)||(OP("p",void 0,a.I.g),a.I.info("srt",0));var e=Uqa(a,c||a.F.getPlayerType(),b.videoId);if(!e){e=g.eW(a,c);if(!e)return!1;a.bb.stop();M1(a,c);iV(e,b,(0,g.A)(a.Bd,a),d)}if(!kV(e))return!1;a.ib&&(e.Ib=!1,a.ib=!1);if(e==a.A)return g.D1(a,1),C1(a);oV(e);return!0};
N1=function(a,b,c){c=g.eW(a,c);b&&c==a.A&&(c.g.Rf=!0)};
P1=function(a,b,c){a.g.tc&&EO(b);if(b&&iS(b))if(a.ea=!0,A1(a,b),(b=a.C.dc())&&b.ed())O1(a,b,c);else a.C.onReady((0,g.A)(a.Et,a));else c||(c=cW(a)),1==c&&a.Ym(),O1(a,new g.eQ(b),c)};
O1=function(a,b,c){var d=g.eW(a,c);d&&(M1(a,c),iV(d,b,(0,g.A)(a.Bd,a)),d.C.lg(b.Xb),d==a.A&&(g.D1(a,1),Tqa(a)))};
g.R1=function(a,b,c,d,e,f){if(!b&&!d)throw Error("Playback source is invalid");a.o.isFullscreen()&&!a.Aa||!cO(a.g)?(c=a.I,f=c.B,f.ba={},f.Y={},c.C=!1,a.I.reset(),b={video_id:b},e&&(b.autoplay="1"),a.g.experiments.g("html5_player_autonav_logging")&&e&&(b.autonav="1"),d?(b.list=d,a.ea=!1,Q1(a,b,void 0,void 0,void 0)):L1(a,b,1)):(c=c||{},c.lact=g.$G(),c.vis=a.o.wh(),a.fd||"gaming"==a.g.g?a.o.za("onPlayVideo",{videoId:b,sessionData:c,listId:d}):(d=f&&x1(a).isLiveDestination?a.g.ba:a.g.getVideoUrl(b,d),
e=g.x("yt.player.exports.navigate"),a.g.experiments.g("legacy_navigate_with_player")?(e(d,c,!0),RW(d)):e(d,c)))};
Q1=function(a,b,c,d,e){if(g.Aa(b)&&!g.xa(b)){c="playlist list listType index startSeconds suggestedQuality".split(" ");d={};for(e=0;e<c.length;e++){var f=c[e];b[f]&&(d[f]=b[f])}b=d}else c={index:c,startSeconds:d,suggestedQuality:e},g.u(b)&&16==b.length?c.list="PL"+b:c.playlist=b,b=c;A1(a,b);a.C.onReady((0,g.A)(a.Et,a))};
g.S1=function(a){if(a.o.app.ga)return!1;if(3==cW(a))return!0;uO(a.g)&&!a.Y&&B1(a);return!(!a.C||!a.C.hasNext())};
T1=function(a,b,c){var d=g.eW(a,1).g.jg;g.AW(a.o)&&d?(d=g.J(d,g.h_),b=d[0],d=c?b.zx:b.Vd,g.R1(a,b.dc().videoId,d,b.getPlaylistId(),c)):!a.Y||a.o.isFullscreen()&&!a.Aa?3==cW(a)?g.dW(a.B).AM():a.C&&(uO(a.g)&&!a.o.isFullscreen()?I1(a,"yt.www.watch.lists.next"):(a.C.hasNext(b)&&lS(a.C,jS(a.C)),a.C.Tc?(b=c&&a.g.experiments.g("html5_player_autonav_logging"),K1(a,a.C.dc(void 0,c,b),1)):a.ea=!1)):a.o.za("onPlaylistNext")};
bra=function(a,b){!a.Y||a.o.isFullscreen()&&!a.Aa?3==cW(a)?g.dW(a.B).BM():a.C&&(uO(a.g)&&!a.o.isFullscreen()?I1(a,"yt.www.watch.lists.prev"):(a.C.Pf(b)&&lS(a.C,kS(a.C)),a.C.Tc?K1(a,a.C.dc(),1):a.ea=!1)):a.o.za("onPlaylistPrevious")};
I1=function(a,b){var c=g.x(b);if(c){var d=Zqa();d&&d.list&&c();a.Oa=null}else a.Oa=b};
Zqa=function(){var a=g.x("yt.www.watch.lists.getState");return a?a():null};
dra=function(a,b,c,d,e,f){b={id:b};f==cra.Oh?(b.style=g.aS.Oh,b.visible=!0):(0,window.isNaN)(e)||(f==cra.kk?b.style=g.aS.kk:(b.style=g.aS.Uv,b.color=e),b.visible=!0);c=new g.bS(1E3*c,1E3*d,b);c.namespace="appapi";rW(a,[c],1);return!0};
rW=function(a,b,c){var d=g.eW(a,c);d&&(ZT(d.F,b),c&&cW(a)!=c||tW(a,"cuerangesadded",b))};
epa=function(a){var b=(0,g.VG)(),c=a.getCurrentTime();a=x1(a);return b-Math.max(1E3*(c-a.startSeconds),0)};
NJ=function(a,b,c){a.g.J&&(a.N=b,b.muted||E1(a,!1),c&&a.g.storeUserVolume&&!a.g.ha&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.oH("yt-player-volume",c),g.oH("yt-player-volume",c,2592E3))),era(a),c=g.pF&&!a.D.Nd(),!a.g.ha||c)&&(b=g.dc(b),a.g.storeUserVolume||(b.unstorable=!0),a.o.za("onVolumeChange",b))};
era=function(a){var b=x1(a);b.Mm||(a.D.setVolume(a.N.volume*(a.g.ha?1:b.Lm)/100),b=a.D,a=a.N.muted,fL(),b.g.muted=a)};
E1=function(a,b){b!=a.ga&&(a.ga=b,a.o.X("mutedautoplaychange",b))};
fra=function(a,b){var c=window.screen&&window.screen.orientation;if(a.g.experiments.g("lock_fullscreen2")&&c&&c.lock&&(!g.pF||!g.U1))if(b){var d=0==c.type.indexOf("portrait"),e=g.PZ(a.G),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Ma||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.y);a.Ma=!0}}else a.Ma&&(a.Ma=!1,c.unlock())};
V1=function(a,b){var c=!!b,d=!!a.Za!=c;a.Za=b;a.g.experiments.g("legacy_player_fullscreen_order")?d&&(a.I.o("fsc"),a.g.da=c,a.G.og()):(a.g.da=c,a.G.og(),d&&a.I.o("fsc"));d&&(a.o.X("fullscreentoggled",c),d=a.A.g,c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.J.getPlaylistId()&&(c.listId=a.J.getPlaylistId()),a.o.za("onFullscreenChange",c))};
tW=function(a,b,c){a.o.X(b,c);var d=g.aO(a.g)||g.bO(a.g);if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.o.za(e,c)}};
EZ=function(a,b){var c=g.eW(a,b);c&&(2==a.O?C1(a):!a.g.experiments.g("disable_reload_on_error")&&c.A.isError()?W1(a,"user"):g.W(c.A,2)?HZ(a,0):GV(c))};
GZ=function(a,b){var c=g.eW(a,b);c&&sV(c)};
gra=function(a){var b=a.A.g;b=new g.eQ({video_id:b.videoId,oauth_token:b.oauthToken});O1(a,b,1)};
M1=function(a,b){g.uP(a.ha);a.ha=0;var c=g.eW(a,b);if(c&&1!=a.O&&2!=a.O){LZ(a.B);if(1==b){var d=a.B.o;d&&d.C&&d.destroy()}yV(c);tW(a,"cuerangesremoved",a.F.F.g.g||[]);c.F.reset()}};
hra=function(a,b,c,d,e){c=0!=c;var f=g.eW(a,e);if(!f||2!=f.getPlayerType()&&!g.zQ(f.g))3==cW(a)?g.dW(a.B).wl("control_seek",b,c):HZ(a,b,c,d,e)};
jra=function(a,b,c){a.re=b;a.na=c;a.o.X("sizestylechange",b,c);a.G.og()};
W1=function(a,b,c){if(!a.ib){c&&(v1(a),u1(a));a.ib=!0;c=g.eW(a);c.Ib=!0;c.xd("reloading","reason."+b);c=x1(a);var d={};d.video_id=c.videoId;c.Ba||(d.start=g.eW(a).getCurrentTime(),d.resume="1");c.ng&&(d.vvt=c.ng);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.Xl);c.oauthToken&&(d.oauth_token=c.oauthToken);d.autoplay=1;d.reload_count=c.Ji+1;d.reload_reason=b;c.fk&&(d.unplugged_partner_opt_out=c.fk);L1(a,d)}};
kra=function(a){var b=x1(a).Mm,c=a.g.Vg;b||c?(a=a.D,a.D=!0,fL(),a.g.muted=!0):(a.D.D=!1,NJ(a,a.N))};
Lqa=function(a,b){return a.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&a.g.A?new i_(b):null};
Wqa=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
aa=[];ha="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
fa="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;aaa=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();
na="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
if("function"==typeof Object.setPrototypeOf)X1=Object.setPrototypeOf;else{var Y1;a:{var lra={hd:!0},mra={};try{mra.__proto__=lra;Y1=mra.hd;break a}catch(a){}Y1=!1}X1=Y1?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var oa=X1;
qa("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}});
qa("WeakMap",function(a){function b(a){this.ya=(f+=Math.random()+1).toString();if(a){ea();ka();a=g.ma(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}
function c(a){ra(a,e)||ha(a,e,{value:{}})}
function d(a){var b=Object[a];b&&(Object[a]=function(a){c(a);return b(a)})}
if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(n){return!1}}())return a;
var e="$jscomp_hidden_"+Math.random().toString().substring(2);d("freeze");d("preventExtensions");d("seal");var f=0;b.prototype.set=function(a,b){c(a);if(!ra(a,e))throw Error("WeakMap key fail: "+a);a[e][this.ya]=b;return this};
b.prototype.get=function(a){return ra(a,e)?a[e][this.ya]:void 0};
b.prototype.has=function(a){return ra(a,e)&&ra(a[e],this.ya)};
b.prototype["delete"]=function(a){return ra(a,e)&&ra(a[e],this.ya)?delete a[e][this.ya]:!1};
return b});
qa("Map",function(a){function b(){var a={};return a.previous=a.next=a.head=a}
function c(a,b){var c=a.g;return la(function(){if(c){for(;c.head!=a.g;)c=c.previous;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})}
function d(a,b){var c=b&&typeof b;"object"==c||"function"==c?f.has(b)?c=f.get(b):(c=""+ ++k,f.set(b,c)):c="p_"+b;var d=a.o[c];if(d&&ra(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,Ad:l}}return{id:c,list:d,index:-1,Ad:void 0}}
function e(a){this.o={};this.g=b();this.size=0;if(a){a=g.ma(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.ma([[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;
ea();ka();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.Ad?c.Ad.value=b:(c.Ad={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.Ad),this.g.previous.next=c.Ad,this.g.previous=c.Ad,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.Ad&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.o[a.id],a.Ad.previous.next=a.Ad.next,a.Ad.next.previous=a.Ad.previous,a.Ad.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).Ad};
e.prototype.get=function(a){return(a=d(this,a).Ad)&&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});
qa("Set",function(a){function b(a){this.g=new window.Map;if(a){a=g.ma(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.ma([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;
ea();ka();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});
qa("Array.from",function(a){return a?a:function(a,c,d){ka();c=null!=c?c:function(a){return a};
var b=[],f=a[window.Symbol.iterator];if("function"==typeof f)for(a=f.call(a);!(f=a.next()).done;)b.push(c.call(d,f.value));else{f=a.length;for(var k=0;k<f;k++)b.push(c.call(d,a[k]))}return b}});
qa("Promise",function(a){function b(a){this.g=0;this.A=void 0;this.o=[];var b=this.B();try{a(b.resolve,b.reject)}catch(m){b.reject(m)}}
function c(){this.g=null}
function d(a){return a instanceof b?a:new b(function(b){b(a)})}
if(a)return a;c.prototype.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 e=fa.setTimeout;c.prototype.A=function(a){e(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(n){this.C(n)}}}this.g=null};
c.prototype.C=function(a){this.A(function(){throw a;})};
b.prototype.B=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.J),reject:a(this.C)}};
b.prototype.J=function(a){if(a===this)this.C(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.L(a);else{a:switch(typeof a){case "object":var c=null!=a;break a;case "function":c=!0;break a;default:c=!1}c?this.I(a):this.D(a)}};
b.prototype.I=function(a){var b=void 0;try{b=a.then}catch(m){this.C(m);return}"function"==typeof b?this.N(b,a):this.D(a)};
b.prototype.C=function(a){this.F(2,a)};
b.prototype.D=function(a){this.F(1,a)};
b.prototype.F=function(a,b){if(0!=this.g)throw Error("Cannot settle("+a+", "+b|"): Promise already settled in state"+this.g);this.g=a;this.A=b;this.G()};
b.prototype.G=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 f=new c;b.prototype.L=function(a){var b=this.B();a.Tm(b.resolve,b.reject)};
b.prototype.N=function(a,b){var c=this.B();try{a.call(b,c.resolve,c.reject)}catch(n){c.reject(n)}};
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(C){f(C)}}:b}
var e,f,k=new b(function(a,b){e=a;f=b});
this.Tm(d(a,e),d(c,f));return k};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.Tm=function(a,b){function c(){switch(d.g){case 1:a(d.A);break;case 2:b(d.A);break;default:throw Error("Unexpected state: "+d.g);}}
var d=this;null==this.o?f.o(c):this.o.push(function(){f.o(c)})};
b.resolve=d;b.reject=function(a){return new b(function(b,c){c(a)})};
b.race=function(a){return new b(function(b,c){for(var e=g.ma(a),f=e.next();!f.done;f=e.next())d(f.value).Tm(b,c)})};
b.all=function(a){var c=g.ma(a),e=c.next();return e.done?d([]):new b(function(a,b){function f(b){return function(c){k[b]=c;l--;0==l&&a(k)}}
var k=[],l=0;do k.push(void 0),l++,d(e.value).Tm(f(k.length-1),b),e=c.next();while(!e.done)})};
return b});
var nra=function(){function a(){function a(){}
window.Reflect.construct(a,[],function(){});
return new a instanceof a}
if("undefined"!=typeof window.Reflect&&window.Reflect.construct){if(a())return window.Reflect.construct;var b=window.Reflect.construct;return function(a,d,e){a=b(a,d);e&&window.Reflect.setPrototypeOf(a,e.prototype);return a}}return function(a,b,e){void 0===e&&(e=a);
e=na(e.prototype||Object.prototype);return Function.prototype.apply.call(a,e,b)||e}}();
qa("Reflect.construct",function(){return nra});
qa("Math.log2",function(a){return a?a:function(a){return Math.log(a)/Math.LN2}});
Yw=Yw||{};g.v=this;Da="closure_uid_"+(1E9*Math.random()>>>0);baa=0;g.G=Date.now||function(){return+new Date};g.D(Ja,Error);Ja.prototype.name="CustomError";var kd;var Wa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},faa=/&/g,gaa=/</g,haa=/>/g,iaa=/"/g,jaa=/'/g,kaa=/\x00/g,eaa=/[\x00&<>"']/,laa=/&([^;\s<&]+);?/g,OC={"\x00":"\\0",
"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},NC={"'":"\\'"},Ta=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},paa=2147483648*Math.random()|0;var ora,cd;g.kb=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.u(a))return g.u(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};
ora=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.u(a))return g.u(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.u(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.Ld=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.u(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.J=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.u(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
cd=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.Hk=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.u(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.Lr=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.u(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 pra=g.v.navigator;if(pra){var qra=pra.userAgent;if(qra){g.Lb=qra;break a}}g.Lb=""};var fc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");nc[" "]=g.y;var OM,Wi,nn,on,rra,Z1;g.ef=Nb("Opera");g.vd=Nb("Trident")||Nb("MSIE");OM=Nb("Edge");g.yO=OM||g.vd;g.qh=Nb("Gecko")&&!(Ra(g.Lb,"WebKit")&&!Nb("Edge"))&&!(Nb("Trident")||Nb("MSIE"))&&!Nb("Edge");g.xd=Ra(g.Lb,"WebKit")&&!Nb("Edge");Wi=Nb("Macintosh");g.U1=Nb("Windows");g.un=Nb("Android");nn=lc();on=Nb("iPad");rra=Nb("iPod");g.$i=mc();
a:{var $1="",a2=function(){var a=g.Lb;if(g.qh)return/rv\:([^\);]+)(\)|;)/.exec(a);if(OM)return/Edge\/([\d\.]+)/.exec(a);if(g.vd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.xd)return/WebKit\/(\S+)/.exec(a);if(g.ef)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
a2&&($1=a2?a2[1]:"");if(g.vd){var b2=pc();if(null!=b2&&b2>(0,window.parseFloat)($1)){Z1=String(b2);break a}}Z1=$1}var qc=Z1,vaa={},sra;var tra=g.v.document;sra=tra&&g.vd?pc()||("CSS1Compat"==tra.compatMode?(0,window.parseInt)(qc,10):5):void 0;var xaa=sra;var Naa,Paa,Qaa;Naa=!g.vd||g.sc(9);Paa=!g.qh&&!g.vd||g.vd&&g.sc(9)||g.qh&&g.rc("1.9.1");g.ura=g.vd&&!g.rc("9");Qaa=g.vd||g.ef||g.xd;var Kaa={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};uc.prototype.Ag=!0;uc.prototype.Ze=function(){return this.g};
uc.prototype.toString=function(){return"Const{"+this.g+"}"};
var tc={};wc("");var yaa=/<[^>]*>|&[^;]+;/g,vra=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Caa=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Aaa=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]"),Baa=/^http:\/\/.*/,zaa=/\s+/,Daa=/[\d\u06f0-\u06f9]/;Ac.prototype.Ag=!0;Ac.prototype.Ze=function(){return this.g};
Ac.prototype.Wr=!0;Ac.prototype.ij=function(){return 1};
var zc={};Ec.prototype.Ag=!0;Ec.prototype.Ze=function(){return this.g};
Ec.prototype.Wr=!0;Ec.prototype.ij=function(){return 1};
var Gc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Dc={};Hc("about:blank");Lc.prototype.Ag=!0;var Kc={};Lc.prototype.Ze=function(){return this.g};
var Iaa=Mc(""),Haa=/^[-,."'%_!# a-zA-Z0-9]+$/,Nc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Gaa=RegExp("\\b(hsl|hsla|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-0-9a-z.%, ]+\\)","g");g.Pc.prototype.Wr=!0;g.Pc.prototype.ij=function(){return this.o};
g.Pc.prototype.Ag=!0;g.Pc.prototype.Ze=function(){return this.g};
var Uc=/^[a-zA-Z0-9-]+$/,Jaa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},wra={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Oc={};Sc("<!DOCTYPE html>",0);Sc("",0);Sc("<br>",0);g.h=g.dd.prototype;g.h.clone=function(){return new g.dd(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.gd.prototype;g.h.clone=function(){return new g.gd(this.width,this.height)};
g.h.Qc=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.Qc()};
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 qd={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};g.h=id.prototype;g.h.oa=function(a){return g.u(a)?this.g.getElementById(a):a};
g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};
g.h.CI=function(a,b,c){return zd(this.g,arguments)};
g.h.createElement=function(a){return this.g.createElement(String(a))};
g.h.appendChild=g.Ed;g.h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
g.h.removeNode=g.Jd;g.h.contains=g.Rd;var Raa=g.y;var ZN,YN,$N;g.PM=Nb("Firefox");ZN=lc()||Nb("iPod");YN=Nb("iPad");$N=Nb("Android")&&!(jc()||Nb("Firefox")||Nb("Opera")||Nb("Silk"));g.pF=jc();g.Xi=kc()&&!mc();var ge=null,le=null,fe=null;var oe=[];ne.prototype.clone=function(){return pe(this.o,this.B,this.A-this.B)};
ne.prototype.clear=function(){this.o=null;this.g=this.A=this.B=0;this.C=!1};
ne.prototype.reset=function(){this.g=this.B};
ne.prototype.getError=function(){return this.C||0>this.g||this.g>this.A};re.prototype.getError=function(){return this.B||this.g.getError()};
re.prototype.reset=function(){this.g.reset();this.o=this.A=-1};var xe="function"==typeof window.Uint8Array,ye=[];we.prototype.toString=function(){Ie(this);return this.o.toString()};
we.prototype.getExtension=function(a){if(this.A){this.g||(this.g={});var b=a.A;if(a.B){if(a.o())return this.g[b]||(this.g[b]=(0,g.J)(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]}};
we.prototype.clone=function(){return new this.constructor(Je(He(this)))};g.D(Ke,we);g.D(Le,we);g.D(Pe,we);g.D(Qe,we);var Waa=[[9,10],[11,12],[18,19,20,21]];g.D(Re,we);var Xaa=[[2,3]];g.D(Se,we);Se.prototype.Xe=function(){return Be(this,14)};
g.D(Te,we);g.D(Ue,we);g.D(Ve,we);var Yaa=[[2,4,5]];g.D(We,we);g.D(Xe,we);g.D(Ye,we);var Zaa=[1];g.D(Ge,we);window.console&&"function"===typeof window.console.log&&(0,g.A)(window.console.log,window.console);var yf=!g.vd||g.sc(9),xra=g.vd&&!g.rc("9");!g.xd||g.rc("528");g.qh&&g.rc("1.9b")||g.vd&&g.rc("8")||g.ef&&g.rc("9.5")||g.xd&&g.rc("528");g.qh&&!g.rc("8")||g.vd&&g.rc("9");var cba=function(){if(!g.v.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.v.addEventListener("test",g.y,b);g.v.removeEventListener("test",g.y,b);return a}();g.K.prototype.kb=!1;g.K.prototype.la=function(){return this.kb};
g.K.prototype.dispose=function(){this.kb||(this.kb=!0,this.W())};
g.K.prototype.W=function(){if(this.Va)for(;this.Va.length;)this.Va.shift()()};g.cf.prototype.stopPropagation=function(){this.o=!0};
g.cf.prototype.preventDefault=function(){this.qC=!1};var yra={Lp:"click",F0:"rightclick",EX:"dblclick",ZZ:"mousedown",f_:"mouseup",e_:"mouseover",d_:"mouseout",c_:"mousemove",a_:"mouseenter",b_:"mouseleave",L0:"selectionchange",M0:"selectstart",X2:"wheel",vZ:"keypress",uZ:"keydown",wZ:"keyup",NW:"blur",AF:"focus",FX:"deactivate",CY:g.vd?"focusin":"DOMFocusIn",DY:g.vd?"focusout":"DOMFocusOut",fX:"change",v0:"reset",K0:"select",z1:"submit",eZ:"input",m0:"propertychange",jY:"dragstart",eY:"drag",gY:"dragenter",iY:"dragover",hY:"dragleave",lY:"drop",fY:"dragend",
S1:"touchstart",R1:"touchmove",Q1:"touchend",P1:"touchcancel",KW:"beforeunload",rX:"consolemessage",uX:"contextmenu",RX:"devicemotion",SX:"deviceorientation",YX:"DOMContentLoaded",ERROR:"error",RY:"help",LOAD:"load",QZ:"losecapture",N_:"orientationchange",r0:"readystatechange",w0:"resize",H0:"scroll",r2:"unload",UW:"canplay",VW:"canplaythrough",mY:"durationchange",qY:"emptied",ENDED:"ended",FZ:"loadeddata",GZ:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",q0:"ratechange",I0:"seeked",
J0:"seeking",j1:"stalled",A1:"suspend",G1:"timeupdate",P2:"volumechange",T2:"waiting",h1:"sourceopen",g1:"sourceended",f1:"sourceclosed",yV:"abort",UPDATE:"update",A2:"updatestart",w2:"updateend",LY:"hashchange",Q_:"pagehide",R_:"pageshow",f0:"popstate",wX:"copy",T_:"paste",BX:"cut",FW:"beforecopy",GW:"beforecut",IW:"beforepaste",K_:"online",H_:"offline",MESSAGE:"message",qX:"connect",gZ:"install",zV:"activate",BY:"fetch",EY:"foreignfetch",XZ:"messageerror",m1:"statechange",z2:"updatefound",vX:"controllerchange",
uW:ff("AnimationStart"),sW:ff("AnimationEnd"),tW:ff("AnimationIteration"),V1:ff("TransitionEnd"),Y_:"pointerdown",e0:"pointerup",X_:"pointercancel",b0:"pointermove",d0:"pointerover",c0:"pointerout",Z_:"pointerenter",a0:"pointerleave",JY:"gotpointercapture",RZ:"lostpointercapture",j_:"MSGestureChange",k_:"MSGestureEnd",l_:"MSGestureHold",m_:"MSGestureStart",n_:"MSGestureTap",o_:"MSGotPointerCapture",p_:"MSInertiaStart",q_:"MSLostPointerCapture",r_:"MSPointerCancel",s_:"MSPointerDown",t_:"MSPointerEnter",
u_:"MSPointerHover",v_:"MSPointerLeave",w_:"MSPointerMove",x_:"MSPointerOut",y_:"MSPointerOver",z_:"MSPointerUp",TEXT:"text",D1:g.vd?"textinput":"textInput",oX:"compositionstart",pX:"compositionupdate",nX:"compositionend",HW:"beforeinput",yY:"exit",DZ:"loadabort",EZ:"loadcommit",HZ:"loadredirect",IZ:"loadstart",JZ:"loadstop",A0:"responsive",Z0:"sizechanged",t2:"unresponsive",O2:"visibilitychange",r1:"storage",dY:"DOMSubtreeModified",ZX:"DOMNodeInserted",bY:"DOMNodeRemoved",cY:"DOMNodeRemovedFromDocument",
aY:"DOMNodeInsertedIntoDocument",WX:"DOMAttrModified",XX:"DOMCharacterDataModified",JW:"beforeprint",iW:"afterprint"};g.D(gf,g.cf);
gf.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.qh&&(oc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.B=g.xd||void 0!==a.offsetX?a.offsetX:a.layerX,this.C=g.xd||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()};
gf.prototype.stopPropagation=function(){gf.Z.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
gf.prototype.preventDefault=function(){gf.Z.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,xra)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var $aa;g.hf="closure_listenable_"+(1E6*Math.random()|0);$aa=0;lf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=mf(e,b,c,d);return-1<b?(kf(e[b]),g.rb(e,b),0==e.length&&(delete this.listeners[a],this.g--),!0):!1};
lf.prototype.Nk=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=mf(a,b,c,d));return-1<e?a[e]:null};
lf.prototype.hasListener=function(a,b){var c=g.t(a),d=c?a.toString():"",e=g.t(b);return Qb(this.listeners,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};var vf="closure_lm_"+(1E6*Math.random()|0),Bf={},xf=0,Ef="__closure_events_fn_"+(1E9*Math.random()>>>0);g.D(g.Ff,g.K);g.Ff.prototype[g.hf]=!0;g.h=g.Ff.prototype;g.h.Hh=function(a){this.Oa=a};
g.h.addEventListener=function(a,b,c,d){g.rf(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.zf(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.Oa;if(b){var c=[];for(var d=1;b;b=b.Oa)c.push(b),++d}b=this.Yc;d=a.type||a;if(g.u(a))a=new g.cf(a,b);else if(a instanceof g.cf)a.target=a.target||b;else{var e=a;a=new g.cf(d,b);g.gc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.o&&0<=f;f--){var k=a.currentTarget=c[f];e=Gf(k,d,!0,a)&&e}a.o||(k=a.currentTarget=b,e=Gf(k,d,!0,a)&&e,a.o||(e=Gf(k,d,!1,a)&&e));if(c)for(f=0;!a.o&&f<c.length;f++)k=a.currentTarget=c[f],e=Gf(k,d,!1,a)&&e;return e};
g.h.W=function(){g.Ff.Z.W.call(this);this.Be&&g.pf(this.Be);this.Oa=null};
g.h.U=function(a,b,c,d){return nf(this.Be,String(a),b,!1,c,d)};
g.h.rh=function(a,b,c,d){return nf(this.Be,String(a),b,!0,c,d)};
g.h.Ca=function(a,b,c,d){return this.Be.remove(String(a),b,c,d)};
g.h.Nk=function(a,b,c,d){return this.Be.Nk(String(a),b,c,d)};
g.h.hasListener=function(a,b){return this.Be.hasListener(g.t(a)?String(a):void 0,b)};Hf.prototype.get=function(){if(0<this.o){this.o--;var a=this.g;this.g=a.next;a.next=null}else a=this.A();return a};var Mf;var Tf=new Hf(function(){return new Pf},function(a){a.reset()},100);
Of.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};
Pf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
Pf.prototype.reset=function(){this.next=this.scope=this.g=null};var Qf,Rf=!1,Sf=new Of;$f.prototype.reset=function(){this.context=this.o=this.B=this.g=null;this.A=!1};
var ag=new Hf(function(){return new $f},function(a){a.reset()},100);
g.Zf.prototype.then=function(a,b,c){return jg(this,g.za(a)?a:null,g.za(b)?b:null,c)};
Wf(g.Zf);g.Zf.prototype.cancel=function(a){0==this.g&&g.Uf(function(){var b=new pg(a);lg(this,b)},this)};
g.Zf.prototype.I=function(a){this.g=0;Yf(this,2,a)};
g.Zf.prototype.J=function(a){this.g=0;Yf(this,3,a)};
g.Zf.prototype.G=function(){for(var a;a=mg(this);)ng(this,a,this.g,this.F);this.D=!1};
var rg=Lf;g.D(pg,Ja);pg.prototype.name="cancel";g.D(g.sg,g.Ff);g.h=g.sg.prototype;g.h.enabled=!1;g.h.Fe=null;g.h.AI=function(){if(this.enabled){var a=(0,g.G)()-this.B;0<a&&a<.8*this.o?this.Fe=this.g.setTimeout(this.A,this.o-a):(this.Fe&&(this.g.clearTimeout(this.Fe),this.Fe=null),this.dispatchEvent("tick"),this.enabled&&(this.Fe=this.g.setTimeout(this.A,this.o),this.B=(0,g.G)()))}};
g.h.start=function(){this.enabled=!0;this.Fe||(this.Fe=this.g.setTimeout(this.A,this.o),this.B=(0,g.G)())};
g.h.stop=function(){this.enabled=!1;this.Fe&&(this.g.clearTimeout(this.Fe),this.Fe=null)};
g.h.W=function(){g.sg.Z.W.call(this);this.stop();delete this.g};var xg=g.y,Cg={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},rba=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;var zra={};g.h=Dg.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=Wa(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.Db=function(){return Eg(this).keys};
g.h.sb=function(){return Eg(this).values};
g.h.isEmpty=function(){return!this.g.cookie};
g.h.Lc=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=Eg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var SH=new Dg("undefined"==typeof window.document?null:window.document);SH.o=3950;var sba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Sg=/#|$/,tba=/[?&]($|#)/;Wg.prototype.remove=function(a){bc(this.g,a)};
Wg.prototype.set=function(a,b){this.g[a]=b};
Wg.prototype.get=function(a){return cc(this.g,a,null)};g.h=g.Zg.prototype;g.h.Gb=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.Zg(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.Zg?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.h.expand=function(a,b,c,d){g.Aa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.h.scale=function(a,b){var c=g.ta(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.ah.prototype;g.h.clone=function(){return new g.ah(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.dd?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 kh=null;gh.prototype.getValue=function(){return this.g};
gh.prototype.o=function(){return String(this.g)};
g.D(hh,gh);hh.prototype.o=function(){return this.g?"1":"0"};
g.D(ih,gh);ih.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 ph={};new g.sg(200);var Cra;g.Ara=Ph("loadGamesSDK")?"/cast_game_sender.js":"/cast_sender.js";g.Bra=Ph("loadCastFramework")||Ph("loadCastApplicationFramework");g.c2=["boadgeojelhgndaghljhdicfkmllpafd","dliochdbjfkdbacpmhlcpmleaejidimm","enhhojjnijigcajfphajepfemndkmdlo","fmfcbgogabcbclcofgocippekhfcmgfj"];Cra=["pkedcjkdefgpdelpbcmbmeomcjbeemfm","fjhoaacokmgbjemoflkofnenfaiekifl"];g.Dra=50<=g.Oh()?Cra.concat(g.c2):g.c2.concat(Cra);Rh("d");Sh("d");Th("d");var d2=Rh("f");Sh("f");Th("f");var Lv=Rh("i");Sh("i");Th("i");Rh("j");Sh("j");Th("j",void 0);Th("j",void 0);Rh("u");Sh("u");Th("u");Rh("v");Sh("v");Th("v",void 0);Th("v",void 0);var e2=Rh("b");Sh("b");Th("b");var Dv=Rh("e");Sh("e");Th("e");var Ev=Rh("s");Sh("s");Th("s");Rh("B");Sh("B");Th("B");Rh("x");Sh("x");Th("x");Rh("y");Sh("y");Th("y");Rh("g");Sh("g");Th("g");Rh("h");Sh("h");Th("h");Rh("n");Sh("n");Th("n");Rh("o");Sh("o");Th("o",void 0);Th("o",void 0);var ii=window.document,O=window;var ada=/https?:\/\/[^\/]+/;var Bba=g.Kf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.v.addEventListener("test",null,b)}catch(c){}return a});var gi=!!window.google_async_iframe_id,hi=gi&&window.parent||window;var Cba=[0,2,1],ki=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){ki=a},!0);
window.mb=function(a){if(a){var b=li();b&&(window.css?(0,window.css)(a.id,"mb",b,void 0,void 0):a&&(a.href=Wh(a.href,"mb",b,void 0)))}};ni.prototype.enable=function(){this.g=!0};
ni.prototype.isEnabled=function(){return this.g};
ni.prototype.reset=function(){this.g=!0};var Bi=null;var Rga={q2:0,D_:1,y0:2,xY:3,I1:4,HY:5,PZ:6,z0:7,EW:8,KY:9,MW:10};g.h=Ci.prototype;g.h.Ij=function(){this.events!=this.g.google_js_reporting_queue&&(this.events.length=0,this.D&&(0,g.H)(this.events,this.Mw,this));this.o=!1};
g.h.Qo=function(a){this.o&&this.events.push(a)};
g.h.Mw=function(a){if(a&&this.D){var b=this.g.performance;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 Ai(a,b,Di());this.D&&this.g.performance.mark("goog_"+c.uniqueId+"_start");return c};
g.h.end=function(a){this.o&&g.ta(a.value)&&(a.duration=Di()-a.value,this.D&&this.g.performance.mark("goog_"+a.uniqueId+"_end"),this.Qo(a))};Ei.prototype.o=function(a,b,c,d,e){e=e||this.D;try{var f=new si;f.C=!0;wi(f,1,"context",a);b.error&&b.meta&&b.id||(b=Fi(b));b.msg&&wi(f,2,"msg",b.msg.substring(0,512));b.file&&wi(f,3,"file",b.file);0<b.line&&wi(f,4,"line",b.line);var k=b.meta||{};if(d)try{d(k)}catch(m){}b=[k];f.g.push(5);f.o[5]=b;var l=ri();l.o&&wi(f,6,"top",l.o.url||"");wi(f,7,"url",l.g.url||"");zi(this.B,e,f,c)}catch(m){try{zi(this.B,e,{context:"ecmserr",rctx:a,msg:Ki(m),url:l.g.url},c)}catch(n){}}return this.A};
g.p(Ji,oi);var Hi,f2=ji(),g2=new Ci(1,f2);Hi=new Ei(new function(){var a=void 0===a?O:a;this.B="http:"===a.location.protocol?"http:":"https:";this.o="pagead2.googlesyndication.com";this.A="/pagead/gen_204?id=";this.g=.01},"jserror",!0,g2);
"complete"==f2.document.readyState?f2.google_measure_js_timing||g2.Ij():g2.o&&ai(f2,"load",function(){f2.google_measure_js_timing||g2.Ij()});
var Gba=Hi.o;if(ii&&ii.URL){var Zh=ii.URL,Era=!(Zh&&0<Aba().length);Hi.A=Era};var Qi={},Ri=null;Qi.le=0;Qi.nt=2;Qi.Fr=3;Qi.Po=5;Qi.me=1;Qi.om=4;var h2=!1,i2="";
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(h2=!0,a.description)){i2=Ti(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){h2=!0;i2="2.0.0.11";return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],h2=!(!a||!a.enabledPlugin))){i2=Ti(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");h2=
!0;i2=Ti(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");h2=!0;i2="6.0.21";return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),h2=!0,i2=Ti(b.GetVariable("$version"))}catch(c){}})();
var lo=h2,Yi=i2;g.aj=function(){if(g.U1){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Lb))?a[1]:"0"}return Wi?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Lb))?a[0].replace(/_/g,"."):"10"):g.un?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Lb))?a[1]:""):nn||on||rra?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Lb))?a[1].replace(/_/g,"."):""):""}();var Hba=function(){if(g.PM)return Ui(/Firefox\/([0-9.]+)/);if(g.vd||OM||g.ef)return qc;if(g.pF)return mc()?Ui(/CriOS\/([0-9.]+)/):Ui(/Chrome\/([0-9.]+)/);if(g.Xi&&!mc())return Ui(/Version\/([0-9.]+)/);if(ZN||YN){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Lb);if(a)return a[1]+"."+a[2]}else if($N)return(a=Ui(/Android\s+([0-9.]+)/))?a:Ui(/Version\/([0-9.]+)/);return""}();var il={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},el={Mv:"start",hv:"firstquartile",rv:"midpoint",Sv:"thirdquartile",bv:"complete",cG:"metric",PAUSE:"pause",AG:"resume",Gv:"skip",aw:"viewable_impression",gG:"mute",aH:"unmute",jv:"fullscreen",uF:"exitfullscreen",kv:"fully_viewable_audible_half_duration_impression",qv:"measurable_impression",yE:"abandon",ev:"engagedview",rm:"impression",jF:"creativeview",Sp:"loaded",k0:"progress",CLOSE:"close",iX:"collapse",oG:"overlay_resize",
pG:"overlay_unmeasurable_impression",qG:"overlay_unviewable_impression",sG:"overlay_viewable_immediate_impression",rG:"overlay_viewable_end_of_session_impression"},mda="start firstquartile midpoint thirdquartile resume loaded".split(" "),tca=["abandon"],fl={UNKNOWN:-1,Mv:0,hv:1,rv:2,Sv:3,bv:4,cG:5,PAUSE:6,AG:7,Gv:8,aw:9,gG:10,aH:11,jv:12,uF:13,kv:14,qv:15,yE:16,ev:17,rm:18,jF:19,Sp:20};ij.prototype.isVisible=function(){return this.Je?.3<=this.g:.5<=this.g};var Mba=(new Date).getTime(),mj=-1,kj=-1,Fra,nj=-1,lj=!1;g.p(pj,ij);uj.prototype.Da=function(a){var b=this.o[a],c=b[1];this.A+=b[0];0<c&&0==this.g[a]&&(this.g[a]=1)};g.va(wj);xj.prototype.getValue=function(){return this.o};
xj.prototype.update=function(a,b){a>=this.A||(this.g&1<<a&&!b?this.o&=~(1<<a):this.g&1<<a||!b||(this.o|=1<<a),this.g|=1<<a)};yj.prototype.update=function(a,b,c,d,e,f){e=Aj(c.g);var k=Aj(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.na=Math.max(this.na,b.g));-1!=e&&(this.kb[e]+=a);zj(this.ga,e,a);f=this.A;k=this.ga;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.ga;k=Aj(b.g);for(l=0;4>=l;++l)if(l<k||b.B||-1==k)f[l]=0;if(d||c.Je!=b.Je?c.isVisible()&&b.isVisible():c.isVisible())this.L+=a,this.Va=Math.max(this.Va,this.L);b.isVisible()||(this.L=0);
return e};
yj.prototype.Cg=function(){return this.Va>=this.Ma};g.p(Bj,yj);
Bj.prototype.update=function(a,b,c,d,e,f){if(b.paused)return-1;d=yj.prototype.update.call(this,a,b,c,d,e,f);e=Aj(e);e=-1!=d&&d<=e;f=tj(b)&&tj(c);gj(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.aa+=a);this.o+=a;this.Y+=a;c.fullscreen&&(this.ha+=a,this.O+=a);0==d&&(this.V+=a);f&&(this.da+=a,this.G+=a,zj(this.ea,d,a),0==d&&(this.F+=a),e?(this.I+=a,this.J+=a):this.N+=a,this.pa=Math.max(this.N,this.pa));if(e||!tj(b))this.N=0;a=Math.floor(b.A/
1E3);this.ra.update(a,b.isVisible());this.Ha.update(a,1<=b.g);this.Aa.update(a,tj(b));return d};Dj.prototype.getStatus=function(){return this.o};
g.D(Gj,Dj);Gj.prototype.Ql=function(a,b){if(!(a&&a.getBoundingClientRect&&0<=g.Ya(Yi,"11")&&b)||g.vd&&9>qc||0<this.g.length)return!1;try{var c=a.getBoundingClientRect()}catch(m){return!1}var d="DIV"==a.tagName||"INS"==a.tagName,e=g.jd(a),f=[];if(d){var k=cj();c=Ej(this,c);(0,g.H)(c,function(a,c){var d=new Qj("e",e,b,String(c));this.g.push(d);f.push((0,g.A)(d.G,d,k,a))},this);
Id(a,k,0)}else c=Fj(this,c),(0,g.H)(c,function(c,d){var k=new Qj("e",e,b,String(d));this.g.push(k);f.push((0,g.A)(k.F,k,a,c))},this);
var l=!0;(0,g.H)(f,function(a){l=l&&a()});
l?(this.o="l",this.A=a,this.G=!d):((0,g.H)(this.g,function(a){a.remove()}),this.g=[]);
return l};
var Lj={p2:-1,LOADING:0,CF:1,fF:2,tZ:3,VISIBLE:4},Vba={LOADING:0,CF:1,fF:2,M1:3,I_:4,X1:5,Y1:6,W1:7,L_:8,L1:9},Oj={};Qj.prototype.G=function(a,b){if(!this.g)return!1;this.g.style.position="absolute";Ij(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";Ij(this,b);var c=!0;try{g.Hd(this.g,a)}catch(d){c=!1}return c};
Qj.prototype.remove=function(){if(this.g)try{g.Jd(this.g)}catch(a){}this.g=null};
Qj.prototype.I=function(a){this.A=a?3:4};
g.ua("gteh",Mi(145,function(a,b){var c=Oj[a];g.za(c)&&c(b)}),void 0);
g.D(Rj,Dj);var aca=[3,7,8,5,5],bca=[3,4,4,5,6],cca=[3,4,5,6],dca=[3,5];Uj.prototype.B=function(a){this.g&&this.g.contentWindow&&(this.g.contentWindow.requestAnimationFrame(Ii(245,this.B,this,void 0)),this.o||(this.o=(0,g.G)()-a),this.A=a)};
Uj.prototype.isVisible=function(a){return 50>a-this.o-this.A};
Uj.prototype.remove=function(){try{g.Jd(this.g)}catch(a){}this.g=null};g.va(Wj);g.va(Xj);var Yj=new g.Zg(0,0,0,0),nca={threshold:[0,.3,.5,.75,1]};g.h=Zj.prototype;g.h.Jn=function(){return new yj};
g.h.ce=function(){return this.Bs};
g.h.oz=function(){};
g.h.nz=function(){};
g.h.hy=function(){};
g.h.tp=function(){};
g.h.mg=function(a,b,c,d,e,f,k){k=void 0===k?{}:k;var l=this.Wx(c,k);k=this.uq(a,b,d,k);g.ta(b)||(this.zp=new g.gd(b.right-b.left,b.bottom-b.top));e=e&&this.sc.g>=(this.Je()?.3:.5);this.qu(l,k,e,f);this.oh=c;0<k.g&&-1===this.YC&&(this.YC=c);-1==this.aD&&this.Cg()&&(this.aD=c);if(-2==this.ys)try{a:{var m=g.ta(b)?null:b;if(a&&a!=Yj&&0!=this.Qc){if(!m){if(!this.zp){var n=-1;break a}m=new g.Zg(0,this.zp.width,this.zp.height,0)}n=m.Gb&&0<m.Gb()&&m.getHeight&&0<m.getHeight()?this.yk(a,m):-1}else n=-1}this.ys=
n}catch(q){Ni(207,q)}this.sc=k;d&&(this.sc.g=0);this.Cs(this)};
g.h.qu=function(a,b,c,d){this.ce().update(a,b,this.sc,c,this.Je()?.3:.5,d)};
g.h.dr=function(){return new ij};
g.h.uq=function(a,b,c){var d=this.dr();d.B=c;c=Pi();d.o=0==c?-1:1==c?0:1;if(g.ta(b))d.g=this.yk(b);else{var e=b;d.g=this.yk(a,e)}(a=e||null)?(a=(a.bottom-a.top)*(a.right-a.left),a=0<a?Math.min(this.Qc*d.g/a,1):0):a=0;d.C=a;d.Je=this.Je();return d};
g.h.Wx=function(a){if(-1==this.oh)return 0;a=a-this.oh||1;return 1E4<a?1:a};
g.h.yk=function(a,b){if(g.ta(a))return a;if(b){var c=ak(a,b);return 0>=this.Qc||0>=c.Gb()||0>=c.getHeight()?0:(c.bottom-c.top)*(c.right-c.left)/this.Qc}return 0};
g.h.Je=function(){return!1};
g.h.Ql=function(a){a=void 0===a?1:a;if(this.Vc)return!0;if(this.zn)return!1;var b=this.Je();this.Al=b?4:a;if(!this.If||!Zi())return this.zn=!0,!1;a=new Gj(b,this.Al);(b=a.Ql(this.If,String(this.tH)))?this.Vc=a:this.zn=!0;return b};
g.h.Od=function(){return 0};
g.h.Cg=function(){return this.Bs.Cg()};
g.h.bu=function(a){a=void 0===a?1:a;if(!this.If)return!1;var b=this.Je();b&&(a=4);b=new Rj(b,a);var c=Yba(b,this.If);c&&(this.Al=a,this.Ki=b);return c};var Gra=new g.Zg(0,0,0,0);g.p(hk,Zj);g.h=hk.prototype;g.h.bu=function(a){a=void 0===a?3:a;var b=wj.getInstance(),c=g.lb(b.g,509445013);b=g.lb(b.g,509445011);return c||b?(this.Za=!0,Zj.prototype.bu.call(this,a)):!1};
g.h.Ql=function(a){return Zj.prototype.Ql.call(this,void 0===a?3:a)};
g.h.oz=function(a){var b=this,c=a-this.Ra;this.pa&&1E3>=c||(c=g.x("ima.bridge.getNativeViewability"),g.za(c)&&(c(this.Oc,function(a){b.pa=!1;b.J&&(b.sa=!0);g.$b(a)&&b.kb++;b.tp(a)}),this.pa=!0,this.Ra=a))};
g.h.nz=function(a){var b=Xj.getInstance();a-this.Oa>oj(b.I)&&(a=g.x("ima.admob.getViewability"),g.za(a)&&a(this.Oc))};
g.h.hy=function(a){this.Oa=jj();this.tp(a)};
g.h.tp=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume,f=a.opt_nativeViewAttached;a=a.opt_nativeViewHidden;void 0!==f&&(this.ga=!!f);b=new g.Zg(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?Gra.clone():new g.Zg(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;"n"==this.wf&&(f={volume:e});e=f;e=void 0===e?{}:e;this.Qc=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.mg(b,c,d,!1,!0,!0,e)};
g.h.mg=function(a,b,c,d,e,f,k){k=void 0===k?{}:k;var l=this.na(this)||{};g.gc(l,k);this.B=l.duration||this.B;this.Va=l.isVpaid||this.Va;this.ba=f;Zj.prototype.mg.call(this,a,b,c,d,e,f,l)};
g.h.qu=function(a,b,c,d){Zj.prototype.qu.call(this,a,b,c,d);this.G[this.G.length-1].update(a,b,this.sc,c,this.Je()?.3:.5,d);this.ha=tj(this.sc)&&tj(b);-1==this.Y&&this.Aa&&(this.Y=this.ce().o);this.Jc.A=0;a=this.sc;b=this.Cg();.5<=a.g&&this.Jc.Da("vs");b&&this.Jc.Da("vw");gj(a.volume)&&this.Jc.Da("am");this.ha&&this.Jc.Da("a");this.jf&&this.Jc.Da("f");-1!=a.o&&(this.Jc.Da("bm"),1==a.o&&this.Jc.Da("b"));this.ha&&b&&this.Jc.Da("avw");this.ba&&this.Jc.Da("cm");this.ba&&0<a.g&&this.Jc.Da("pv");kk(this,
this.ce().o,!0)&&this.Jc.Da("gdr");2E3<=this.ce().A[0]&&this.Jc.Da("pmx")};
g.h.Jn=function(){return new Bj};
g.h.ce=function(){return this.Bs};
g.h.dr=function(){return new pj};
g.h.uq=function(a,b,c,d){a=Zj.prototype.uq.call(this,a,b,c,d);a.fullscreen=this.jf;a.paused=this.C;a.volume=d.volume;gj(a.volume)||(this.bb++,b=this.sc,gj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.A=g.t(d)&&0<=d?d:-1;return a};
g.h.Wx=function(a,b){var c=g.t(b.currentTime)?b.currentTime:this.N,d=jk(this,a),e=c-this.N,f=b.isYouTube,k=g.t(b.isPlaying)?b.isPlaying:!0,l=0;2!=this.O?(0<=e?(this.L+=d,this.D+=Math.max(d-e,0),l=Math.min(e,this.L)):this.ra+=Math.abs(e),0!=e&&(this.L=0),-1==this.F&&0<e&&(this.F=0<=nj?jj()-nj:-1)):(k||this.C||(this.D+=d),-1==this.F&&k&&(this.F=0<=nj?jj()-nj:-1));this.N=c;if(f){if(1==this.O)return l;if(2==this.O)return k?d:0}return jk(this,a)};
g.h.yk=function(a,b){return this.J?0:this.jf?1:Zj.prototype.yk.call(this,a,b)};
g.h.Od=function(){return 1};
g.h.Nn=function(a,b){if(this.nh)return{"if":0};var c=this.position.clone();c.round();var d=(0,g.J)(this.o,function(a){return 100*a.nU|0}),e=Xj.getInstance(),f=this.ce(),k={};
this.Za&&(k.avms="raf");k["if"]=e.o?1:void 0;k.sdk=this.wf?this.wf:void 0;k.t=this.aU;k.p=[c.top,c.left,c.bottom,c.right];k.tos=f.kb;k.mtos=f.A;k.ps=void 0;k.pt=d;k.vht=Cj(f,jj(),!!this.C);k.mut=f.pa;k.a=ik(this.sc.volume);k.mv=ik(f.B);k.fs=this.jf?1:0;k.ft=f.ha;k.at=f.da;k.as=.1<=f.g?1:0;k.atos=f.ea;k.uac=this.bb;k.vpt=f.o;"nio"==e.Fb&&(k.nio=1,k.avms="nio");k.gmm="4";k.gdr=kk(this,f.o,!0)?1:0;this.vu&&(k.efpf=this.Nq);this.Vc&&(k.swf=this.Vc.getStatus(),k.px=this.Al,k.avms="swf");0<this.kb&&(k.nnut=
this.kb);k.tcm=this.O;k.nmt=this.ra;k.bt=this.D;k.pst=this.F;k.vpaid=this.Va;k.dur=this.B;k.vmtime=this.N;k.is=this.Jc.A;1<=this.o.length&&(k.i0=this.o[0].ho);2<=this.o.length&&(k.i1=this.o[1].ho);3<=this.o.length&&(k.i2=this.o[2].ho);4<=this.o.length&&(k.i3=this.o[3].ho);k.cs=Oba(this.Jc);a&&(k.ic=Nba(this.Jc),k.dvpt=f.Y,k.dvs=f.aa,k.dfvs=f.V,k.davs=f.J,k.dafvs=f.F,b&&(f.Y=0,f.aa=0,f.V=0,f.J=0,f.F=0),this.Cg()&&(k.dtos=f.ba,k.dav=f.I,k.dtoss=this.aa+1,b&&(f.ba=0,f.I=0,this.aa++)),k.dat=f.G,k.dft=
f.O,b&&(f.G=0,f.O=0));e.A&&(k.ps=[e.A.width,e.A.height]);e.g&&(k.bs=[e.g.width,e.g.height]);e.D&&(k.scs=[e.D.width,e.D.height]);k.dom=e.domain;this.zn&&(k.fmf="1",k.px=this.Al);this.Nh&&(k.vds=this.Nh);this.g&&(k.vmer=this.g);this.I&&(k.vmmk=this.I);this.V&&(k.vmiec=this.V);this.Fb&&(k.avms=this.Fb.A(),g.gc(k,this.Fb.g()));"exc"==e.Fb&&(k.femt=this.da,k.femvt=this.ib,k.emc=this.Sa,k.emb=this.Ha,k.emuc=this.ea,k.avms="exc");Fk(zk)?(k.c=ek(this.sc.g,2),k.ss=ek(uca(this),2)):k.tth=jj()-Fra;k.mc=ek(f.na,
2);k.nc=ek(f.C,2);k.mv=ik(f.B);k.nv=ik(f.g);k.lte=ek(this.ys,2);c=this.G[this.G.length-1];k.qmtos=c.A;k.qnc=ek(c.C,2);k.qmv=ik(c.B);k.qnv=ik(c.g);k.qas=.1<=c.g?1:0;k.qi=this.Oc;null!==this.ga&&(k.nvat=this.ga?1:0);k.avms||(k.avms="geo");k.psm=f.ra.g;k.psv=f.ra.getValue();k.psfv=f.Ha.getValue();k.psa=f.Aa.getValue();return k};ok.prototype.ed=function(){return!!this.o||!!this.g};
ok.prototype.match=function(a){return this.ed()&&a.ed()?this.g||a.g?this.g==a.g:this.o||a.o?this.o==a.o:!1:!1};
ok.prototype.toString=function(){var a=""+this.o;this.g&&(a+="-"+this.g);return a};var gx=null,j2={},Qga=(j2[8]="google_prev_ad_formats_by_region",j2[9]="google_prev_ad_slotnames_by_region",j2);g.Hra=!g.vd&&!kc();g.D(g.sk,g.K);g.h=g.sk.prototype;g.h.Yj=!1;g.h.Jl=0;g.h.ki=null;g.h.mj=function(a){this.g=arguments;this.ki||this.Jl?this.Yj=!0:tk(this)};
g.h.stop=function(){this.ki&&(g.vg(this.ki),this.ki=null,this.Yj=!1,this.g=[])};
g.h.pause=function(){this.Jl++};
g.h.resume=function(){this.Jl--;this.Jl||!this.Yj||this.ki||(this.Yj=!1,tk(this))};
g.h.W=function(){g.sk.Z.W.call(this);this.stop()};
g.h.dS=function(){this.ki=null;this.Yj&&!this.Jl&&(this.Yj=!1,tk(this))};g.h=xk.prototype;g.h.pz=function(){Bk(this,!1);this.tr()};
g.h.tr=function(){Ek(this,Gk(this),!1)};
g.h.qy=function(){var a=Fk(this),b=jj();a?(lj||(mj=b,(0,g.H)(this.g,function(a){var c=a.ce();c.sa=Cj(c,b,!!a.C)})),lj=!0,Bk(this,!0)):(this.O=Lk(this,b),lj=!1,Fra=b,(0,g.H)(this.g,function(a){a.bi&&(a.ce().D=b)}));
Ek(this,Gk(this),!a)};
g.h.reset=function(){this.g=[];this.A=[]};
g.h.getId=function(){return this.ya};
g.va(xk);var zk=xk.getInstance();var Zk=null,Wk="",Fl=!1;var Yk={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",pt:"pt",vht:"vht",mut:"mut",a:"a",ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",
i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:"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",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnc:"pnc",pns:"pns",pnmm:"pnmm",pnk:"pnk",ptlt:"ptlt"},hda={c:Nk("c"),at:"at",atos:Qk("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:Pk(),j:"dom",mtos:Qk("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Nk("ss"),vsv:Jf("w2"),t:"t"},kda={atos:"atos",avt:Qk("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Nk("ss"),t:"t"},ida={a:"a",tos:Pk(),at:"at",c:Nk("c"),mtos:Qk("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Jf("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},jda={tos:Pk(),at:"at",c:Nk("c"),mtos:Qk("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Jf("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",qmpt:Qk("qmtos",
[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.ta(d))return(0,g.J)(b,function(a){return 0<d&&d>=a?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.va(Rk);g.h=Uk.prototype;g.h.Mn=function(){};
g.h.ry=function(a){if(a){a.nh=!0;switch(a.Od()){case 1:$k(a,"fp");break;case 2:this.Qt(a)}this.Vt(a)}};
g.h.xJ=function(a){mk(a,0);return nk(a,"start")};
g.h.uJ=function(a,b){Ek(zk,[a],!Fk(zk),b);return nk(a,"progress")};
g.h.lJ=function(a,b){return al(a,"firstquartile",1,b)};
g.h.qJ=function(a,b){a.Aa=!0;return al(a,"midpoint",2,b)};
g.h.yJ=function(a,b){return al(a,"thirdquartile",3,b)};
g.h.hJ=function(a,b){var c=al(a,"complete",4,b);a.jf=!1;cl(1,a.Oc);return c};
g.h.tJ=function(a,b){return bl(a,"pause",b)};
g.h.gJ=function(a,b){return bl(a,"abandon",b)};
g.h.vJ=function(a,b){var c=Fk(zk);a.C&&!c&&(a.ce().D=jj());Ek(zk,[a],!c,b);a.C=!1;return nk(a,"resume")};
g.h.AJ=function(a){return nk(a,"viewable_impression")};
g.h.wJ=function(a,b){var c=!Fk(zk);Ek(zk,[a],c,b);c=nk(a,"skip");a.jf=!1;cl(1,a.Oc);return c};
g.h.rJ=function(a,b){Ek(zk,[a],!Fk(zk),b);return nk(a,"mute")};
g.h.zJ=function(a,b){Ek(zk,[a],!Fk(zk),b);return nk(a,"unmute")};
g.h.mJ=function(a,b){a.jf=!0;Ek(zk,[a],!Fk(zk),b);return nk(a,"fullscreen")};
g.h.kJ=function(a,b){a.jf=!1;Ek(zk,[a],!Fk(zk),b);return nk(a,"exitfullscreen")};
g.h.nJ=function(a){return nk(a,"fully_viewable_audible_half_duration_impression")};
g.h.pJ=function(a){return nk(a,"measurable_impression")};
g.h.jJ=function(a){return nk(a,"engagedview")};
g.h.oJ=function(a){return nk(a,"impression")};
g.h.iJ=function(a){return nk(a,"creativeview")};
g.h.sJ=function(a,b){Ek(zk,[a],!Fk(zk),b);return a.o()};
g.h.zr=function(a,b){Ek(zk,[a],!Fk(zk),b);this.iC(a);cl(2,a.Oc);return a.o()};
g.h.Un=function(a){a.Cg()&&!a.xD&&this.jC(a);1==a.Od()&&this.Hw(a)};
g.h.Nn=function(a,b){if(Fl)return hl("ue");var c=this.Mn(a,b);if(!c)return hl("nf");var d=hl();g.gc(d,c.Nn(!0,!1));return d};
g.h.ly=function(){};
g.h.Qt=function(){};
g.h.jC=function(){};
g.h.Hw=function(){};
g.h.iC=function(){};
g.h.zz=function(){};
g.h.Vt=function(){};var ll=(new Date).getTime(),nl=!1,ol=!1,pl=!1,Xca=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return ml(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 ml(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 ml(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 ml(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 ml(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return ol},
function(){return pl},
function(){return ml(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 ml(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]||kl(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 kl(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 ml(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 kl(a.CSS.supports)},
function(){return kl(window.Intl.Collator)},
function(a){return kl(a.document.createElement("dialog").show)},
function(){return ml(8)},
function(a){return kl(a.document.createElement("div").animate([{transform:"scale(1)",eI:"ease-in"},{transform:"scale(1.3)",eI:"ease-in"}],{duration:1300,r3:1}).reverse)},
function(a){return kl(a.document.createElement("div").animate)},
function(a){return kl(a.document.documentElement.webkitRequestFullScreen)},
function(a){return kl(a.navigator.getBattery)},
function(a){return kl(a.navigator.permissions.query)},
function(){return!1},
function(){return ml(9)},
function(){return kl(window.webkitRequestAnimationFrame)},
function(a){return kl(a.BroadcastChannel.call)},
function(a){return kl(a.FontFace)},
function(a){return kl(a.Gamepad)},
function(){return ml(10)},
function(a){return kl(a.MutationEvent)},
function(a){return kl(a.MutationObserver)},
function(a){return kl(a.crypto.getRandomValues)},
function(a){return kl(a.document.body.createShadowRoot)},
function(a){return kl(a.document.body.webkitCreateShadowRoot)},
function(a){return kl(a.fetch)},
function(){return ml(11)},
function(a){return kl(a.navigator.serviceWorker.register)},
function(a){return kl(a.navigator.webkitGetGamepads)},
function(a){return kl(a.speechSynthesis.speak)},
function(a){return kl(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return ml(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 ml(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 ml(14)},
function(a){return"undefined"==typeof a.navigator.x3},
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")}],Yca=[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}],Zca=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.D(ql,oba);ql.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.B=this.A=0};
ql.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;)rl(this,a,f),f+=this.o;if(g.u(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.o){rl(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.o){rl(this,d);e=0;break}}this.A=e;this.B+=b};
ql.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;var c=8*this.B;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};g.p(vl,Uk);g.h=vl.prototype;g.h.Mn=function(a,b){var c=this;switch(Xj.getInstance().Fb){case "nis":var d=cda(this,a,b);break;case "gsv":d=bda(this,a,b);break;case "exc":d=dda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=Tca(this,a,b.opt_adElement,b.opt_osdId):(d=fda(this,a,b.opt_sdkID||""))||(d=Ik(a)||void 0)}d&&1==d.Od()&&d.na==g.y&&(d.na=function(a){return c.zz(a)});
return d};
g.h.zz=function(a){var b=Xj.getInstance();a.g=0;a.V=0;if("as"==a.wf)if(b="getVideoMetadata"+a.Sj,g.za(a.element[b]))try{var c=a.element[b]()}catch(k){a.g|=4}else a.g|=2;else if("h"==a.wf||"n"==a.wf){var d=wj.getInstance();if("exc"==b.Fb||"nis"==b.Fb)var e=g.x("ima.bridge.getVideoMetadata");else if(a.Hi&&g.lb(d.g,495644004)){var f=this.D[a.Hi];f?e=function(a){f.g(a)}:Ni("lidar::missingPlayerCallback",Error())}else e=g.x("ima.common.getVideoMetadata");
if(g.za(e))try{c=e(a.Oc)}catch(k){a.g|=4}else a.g|=2}else if("b"==a.wf)if(b=g.x("ytads.bulleit.getVideoMetadata"),g.za(b))try{c=b(a.Oc)}catch(k){a.g|=4}else a.g|=2;else a.g|=1;a.g||(g.t(c)?null===c?a.g|=16:g.$b(c)?a.g|=32:null!=c.errorCode&&(a.V=c.errorCode,a.g|=64):a.g|=8);null!=c||(c={});Vca(c,a);gj(c.volume)&&gj(this.A)&&(c.volume*=this.A);return c};
g.h.jC=function(a){if(1==a.Od())var b="viewable_impression";else if(2==a.Od())b="overlay_viewable_immediate_impression";else return;yl(this,a,b)&&(a.xD=!0)};
g.h.Hw=function(a){kk(a,a.ce().ea[0])&&!a.Ma&&yl(this,a,"fully_viewable_audible_half_duration_impression")&&(a.Ma=!0)};
g.h.ly=function(a){a.wD||a.nh||this.o||!yl(this,a,"measurable_impression")||(a.wD=!0)};
g.h.Qt=function(a){!a.g&&a.nh&&yl(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)};
g.h.iC=function(a){a.Rl&&(a.Cg()?yl(this,a,"overlay_viewable_end_of_session_impression"):yl(this,a,"overlay_unviewable_impression"),a.Rl=!1)};
g.h.Un=function(a){this.g&&(this.B=this.G.g);this.o&&1==a.Od()?Bl(this,a):Uk.prototype.Un.call(this,a)};
g.h.Vt=function(a){this.o&&1==a.Od()&&Bl(this,a)};
g.va(vl);g.ua("Goog_AdSense_Lidar_sendVastEvent",Mi(193,Gl,void 0,function(){return{v:"606","if":Xj.getInstance().o?"1":"0",nas:String(zk.g.length)}}),void 0);
g.ua("Goog_AdSense_Lidar_getViewability",Ii(194,function(a,b){var c=vl.getInstance();var d={};g.gc(d,{opt_adElement:void 0,opt_fullscreen:void 0},b||{});d.opt_bounds?c=Al(c,hl("ol"),!1):(d=c.Nn(a,d),g.gc(d,El(c)),c=Al(c,d,!0));return c},void 0,void 0),void 0);
g.ua("Goog_AdSense_Lidar_getUrlSignalsArray",Mi(195,function(){return ul()}),void 0);
g.ua("Goog_AdSense_Lidar_getUrlSignalsList",Mi(196,function(){return g.Ag(ul())}),void 0);var eB=(new Date).getTime();var Ll="StopIteration"in g.v?g.v.StopIteration:{message:"StopIteration",stack:""};Kl.prototype.next=function(){throw Ll;};
Kl.prototype.Xd=function(){return this};g.h=Ol.prototype;g.h.Lc=function(){return this.La};
g.h.sb=function(){Rl(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.o[this.g[b]]);return a};
g.h.Db=function(){Rl(this);return this.g.concat()};
g.h.isEmpty=function(){return 0==this.La};
g.h.clear=function(){this.o={};this.Mh=this.La=this.g.length=0};
g.h.remove=function(a){return Pl(this.o,a)?(delete this.o[a],this.La--,this.Mh++,this.g.length>2*this.La&&Rl(this),!0):!1};
g.h.get=function(a,b){return Pl(this.o,a)?this.o[a]:b};
g.h.set=function(a,b){Pl(this.o,a)||(this.La++,this.g.push(a),this.Mh++);this.o[a]=b};
g.h.forEach=function(a,b){for(var c=this.Db(),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 Ol(this)};
g.h.Xd=function(a){Rl(this);var b=0,c=this.Mh,d=this,e=new Kl;e.next=function(){if(c!=d.Mh)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw Ll;var e=d.g[b++];return a?e:d.o[e]};
return e};g.h=g.Ul.prototype;g.h.toString=function(){var a=[],b=this.B;b&&a.push(bm(b,Ira,!0),":");var c=this.o;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(bm(b,Ira,!0),"@"),a.push(g.Ma(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(bm(c,"/"==c.charAt(0)?Jra:Kra,!0));(c=this.g.toString())&&a.push("?",c);(c=this.hi())&&a.push("#",bm(c,Lra));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.B;c?Vl(b,a.B):c=!!a.G;c?b.G=a.G:c=!!a.o;c?g.Wl(b,a.o):c=null!=a.C;var d=a.A;if(c)g.Xl(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(Qa(e,"./")||Qa(e,"/.")){d=g.Ka(e,"/");e=e.split("/");for(var f=[],k=0;k<e.length;){var l=e[k++];"."==l?d&&k==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&k==e.length&&
f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?g.Yl(b,d):c=""!==a.g.toString();c?Zl(b,a.g.clone()):c=!!a.I;c&&(b.I=a.hi());return b};
g.h.clone=function(){return new g.Ul(this)};
g.h.Tx=function(){return this.g.toString()};
g.h.hi=function(){return this.I};
var Ira=/[#\/\?@]/g,Kra=/[\#\?:]/g,Jra=/[\#\?]/g,sda=/[\#\?@]/g,Lra=/#/g;g.h=g.am.prototype;g.h.Lc=function(){im(this);return this.La};
g.h.remove=function(a){im(this);a=km(this,a);return Ql(this.g,a)?(this.o=null,this.La=this.La-this.g.get(a).length,this.g.remove(a)):!1};
g.h.clear=function(){this.g=this.o=null;this.La=0};
g.h.isEmpty=function(){im(this);return 0==this.La};
g.h.forEach=function(a,b){im(this);this.g.forEach(function(c,d){(0,g.H)(c,function(c){a.call(b,c,d,this)},this)},this)};
g.h.Db=function(){im(this);for(var a=this.g.sb(),b=this.g.Db(),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.sb=function(a){im(this);var b=[];if(g.u(a))lm(this,a)&&(b=g.ub(b,this.g.get(km(this,a))));else{a=this.g.sb();for(var c=0;c<a.length;c++)b=g.ub(b,a[c])}return b};
g.h.set=function(a,b){im(this);this.o=null;a=km(this,a);lm(this,a)&&(this.La=this.La-this.g.get(a).length);this.g.set(a,[b]);this.La=this.La+1;return this};
g.h.get=function(a,b){var c=a?this.sb(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.Db(),c=0;c<b.length;c++){var d=b[c],e=g.Ma(d);d=this.sb(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.Ma(d[f]));a.push(k)}}return this.o=a.join("&")};
g.h.clone=function(){var a=new g.am;a.o=this.o;this.g&&(a.g=this.g.clone(),a.La=this.La);return a};var bn={NF:5E3,OF:15E3,Cv:"://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(" "),yG:/\bocr\b/,Fq:0,Eg:{},ET:function(a,b,c){a&&(bn.FK(a)?bn.CC(a,b):bn.yC(a,b,c))},
FK:function(a){if(E(g.F(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.Ul(a)}catch(c){return null!=g.gb(bn.Cv,function(b){return 0<a.search(b)})}return b.hi().match(bn.yG)?!0:null!=g.gb(bn.Cv,function(b){return null!=a.match(b)})},
CC:function(a,b){if(a&&(a=bn.uI(a),!E(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?bn.Zy(function(b){bn.wC(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):bn.wC(c)}},
wC:function(a){var b=g.Ad("IFRAME",{src:a,style:"display:none"});a=g.jd(b).body;var c=g.ug(function(){g.Af(d);g.Jd(b)},bn.OF);
var d=qf(b,["load","error"],function(){g.ug(function(){g.vg(c);g.Jd(b)},bn.NF)});
a.appendChild(b)},
Zy:function(a,b){var c=bn.Eg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(b,c){delete bn.Eg[c];d||(d=!0,null!=bn.Eg.imageLoadingEnabled||(bn.Eg.imageLoadingEnabled=b),a(b))};
b?b(c):bn.PK(c)}},
PK:function(a){var b=new window.Image,c=""+bn.Fq++;bn.Eg[c]=b;b.onload=function(){(0,window.clearTimeout)(d);a(!0,c)};
var d=(0,window.setTimeout)(function(){a(!1,c)},300);
b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},
DT:function(a){if(a){var b=g.Cd("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+bn.Fq++;bn.Eg[c]=b;b.onload=b.onerror=function(){delete bn.Eg[c]};
window.document.body.appendChild(b)}},
xC:function(a){if(a){var b=new window.Image,c=""+bn.Fq++;bn.Eg[c]=b;b.onload=b.onerror=function(){delete bn.Eg[c]};
b.src=a}},
yC:function(a,b,c){if(a){if(c)try{if(g.v.navigator&&g.v.navigator.sendBeacon&&g.v.navigator.sendBeacon(a,""))return}catch(d){}b?bn.Zy(function(b){b?bn.xC(a):bn.DT(a)}):bn.xC(a)}},
uI:function(a){a=Fc(Ic(a));if("about:invalid#zClosurez"===a)return"";a=g.Rc(Tc(a));return g.Ma(g.Ag(a))}};g.D(g.mm,g.K);var pm=[];g.h=g.mm.prototype;g.h.U=function(a,b,c,d){return nm(this,a,b,c,d)};
g.h.rh=function(a,b,c,d){return qm(this,a,b,c,d)};
g.h.Ca=function(a,b,c,d,e){if(g.xa(b))for(var f=0;f<b.length;f++)this.Ca(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Aa(d)?!!d.capture:!!d,e=e||this.B||this,c=sf(c),d=!!d,b=g.jf(a)?a.Nk(b,c,d,e):a?(a=g.uf(a))?a.Nk(b,c,d,e):null:null,b&&(g.Af(b),delete this.o[b.key]);return this};
g.h.W=function(){g.mm.Z.W.call(this);sm(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.D(tm,g.K);tm.prototype.F=function(){this.B=(0,g.G)()};
tm.prototype.I=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.zh(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("&"))};
tm.prototype.G=function(){this.C++};
tm.prototype.W=function(){tm.Z.W.call(this);this.g.dispose()};var wda=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var wm="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");ym.prototype.isBumper=function(){return this.o};g.h=zm.prototype;g.h.Wq=function(){return this.g.Wq()};
g.h.Rk=function(){return this.g.Rk()};
g.h.Kf=function(){return this.g.Kf()};
g.h.Yk=function(a){return this.eg?this.g.Vn():this.g.Yk(a)};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.Jq=function(){return this.g.Jq()};
g.h.rj=function(){return this.g.rj()};
g.h.Er=function(){return this.g.Er()};
g.h.Xn=function(){return this.g.Xn()};
g.h.hide=g.y;g.h.Qf=g.y;g.h.td=g.y;g.h.Vn=function(){return this.g.Vn()};
g.h.Wn=g.y;g.D(Am,g.cf);Am.prototype.getError=function(){return this.A};var Ay="adMetadata callFlashVpaidMethod adCanPlay click companionBackfill companionInitialized complete destroyInsecureFlashVpaid durationChange firstquartile impression interaction initInsecureFlashVpaid youtubeKevlarCompanionShow loaded log mediaUrlPinged midpoint mute pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged videoClicked volumeChange vpaidEvent youTubeChannelMetadata".split(" "),k2="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent feedbackDislike feedbackLike 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(" "),
Mra="acceptinvitation click close collapse creativeview expand progress".split(" "),l2="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),m2={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.D(Bm,g.cf);Bm.prototype.Mb=function(){return this.A};
var jha={CV:"adCanPlay",FV:"adNotify",sX:"contentPauseRequested",tX:"contentResumeRequested",Lp:"click",VX:"discardAdNotify",J2:"videoClicked",L2:"videoIconClicked",ev:"engagedview",zY:"expandedChanged",l1:"start",rm:"impression",qv:"measurable_impression",aw:"viewable_impression",kv:"fully_viewable_audible_half_duration_impression",oG:"overlay_resize",pG:"overlay_unmeasurable_impression",qG:"overlay_unviewable_impression",sG:"overlay_viewable_immediate_impression",rG:"overlay_viewable_end_of_session_impression",
AY:"externalActivityEvent",PAUSED:"pause",B0:"resume",hv:"firstquartile",rv:"midpoint",Sv:"thirdquartile",bv:"complete",nY:"durationChange",zW:"autoClose",C2:"userClose",D2:"userRecall",g0:"prefetched",Sp:"loaded",qW:"allAdsCompleted",Gv:"skip",JG:"skipshown",CZ:"linearChanged",c1:"skippableStateChanged",EV:"adMetadata",AV:"adBreakReady",NZ:"log",VOLUME_CHANGED:"volumeChange",R2:"mute",nZ:"interaction",jX:"companionBackfill",f3:"youTubeVideoMetadata",d3:"youTubeChannelMetadata",B2:"urlNavigationRequested",
U1:"trackingUrlPinged",F2:"video_card_endcap_action",G2:"video_card_endcap_collapse",H2:"video_card_endcap_dismiss",I2:"video_card_endcap_impression",c3:"why_this_ad_url",b3:"why_this_ad_got_it",B_:"MUTE_AD",mX:"companionInitialized",lX:"companionImpression",kX:"companionClick",WZ:"mediaUrlPinged",e3:"youtubeKevlarCompanionShow"};Fm.prototype.g=function(){return this.Y};
Fm.prototype.getPlayerType=function(){return""};
var P=new Fm;var Nra={NORMAL:"normal",jv:"fullscreen"};var Qs=["ADSENSE","ADSENSE/ADX"],Bfa=["DART","DART_DFA","DART_DFP"],Mfa=["FREEWHEEL","YT:FREEWHEEL"],Xr=["SHOPPING","YT:SHOPPING"],as=["GDFP"],Afa=["VIRAL","ADSENSE-VIRAL"],zfa=["VIRAL-RESERVE"],Ep={"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","application/javascript":"Javascript","text/javascript":"Javascript","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"},Nu={DX:"application/dash+xml",g_:"video/mp4",
i_:"video/mpeg",TZ:"application/x-mpegURL",J_:"video/ogg",E1:"video/3gpp",U2:"video/webm",MP3:"audio/mpeg",h_:"audio/mp4"};g.D(Gm,g.cf);g.D(Hm,Error);Hm.prototype.Cd=function(){return this.B};
Hm.prototype.Rb=function(){return this.o};
Hm.prototype.Yb=function(){return this.C};
Hm.prototype.toString=function(){return"AdError "+this.Rb()+": "+this.Cd()+(null!=this.bl?" Caused by: "+this.bl:"")};Im.prototype.g=function(){return!1};
Im.prototype.o=function(){return window.NaN};
Im.prototype.A=function(){return""};Jm.prototype.getId=function(){return this.ya};Km.prototype.getId=function(){return this.ya};var Gda=["ActiveViewExternalLayer"],Nm=null;var vea=["*.googlesyndication.com","gcdn.2mdn.net"],Ida=["*.youtu.be","*.youtube.com"],Lda="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(" "),Kda=["c.googlesyndication.com"],
Hia=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];dn.prototype.Rb=function(){return this.errorCode};
dn.prototype.Cd=function(){return this.message};
var Sia=new dn("Unable to request ads from server. Cause: {0}.",1005),Iia=new dn("Unable to request ads from server due to network error.",1012),pz=new dn("Cannot parse the {0} value for the adslist response: {1}.",900),Ku=new dn("Invalid usage of the API. Cause: {0}",900),tha=new dn("Asset fallback ad replacement.",1021),uha=new dn("Asset fallback no ad replacement.",1021),n2=new dn("Unable to display one or more required companions.",602),NB=new dn("There was a problem requesting ads from the server.",
1005),Ora=new dn("There was a problem requesting the biscotti ID.",1005),Gia=new dn("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),pB=new dn("The provided ad type: {0} is not supported.",1005),go=new dn("The provided {0} information: {1} is invalid.",1101),Pra=new dn("The provided skip offset was invalid.",1105),Qra=new dn("The extension contained is neither skippable nor nonskippable.",1105),vq=new dn("The response does not contain any valid ads.",1009),Rra=new dn("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),Fha=new dn("The ad playlist response was malformed or empty.",1010),qz=new dn("The ad response was not understood and cannot be parsed.",1010),Lia=new dn("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),Uia=new dn("The ad response contains unexpected element. Cause {0}.",1010),cC=new dn("No assets were found in the VAST ad response.",200),rfa=new dn("Duplicate node in <{0}>: {1}",101),VA=new dn("The VAST response document is empty.",1009),
gha=new dn("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),uq=new dn("Ad request reached a timeout.",301),WA=new dn("VAST response was malformed and could not be parsed.",100),o2=new dn("VAST media file loading reached a timeout of {0} seconds.",402),wq=new dn("Ad request could not be completed due to a network error.",301),Sra=new dn("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),Kea=new dn("The maximum number of VAST wrappers ({0}) has been reached.",302),Tra=new dn("VAST media file duration differs from the VAST response duration by {0} seconds.",202),Sx=new dn("Video player received an ad with unexpected or incompatible linearity",201),qfa=new dn("Unknown node in <{0}>: {1}",101),Gga=new dn("Invalid VAST resource type: {0}",101),gia=new dn("Invalid VAST version",102),Lea=new dn("No additional VAST wrappers allowed.",300),Bq=new dn("No Ads VAST response after one or more Wrappers",
303),Xx=new dn("There was an error playing the video ad.",400),Ura=new dn("VMAP unsupported node in <{0}>: {1}",1010),zw=new dn("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);g.D(ln,g.cf);var iA="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var xn={},zn="",sn=/OS (\S+) like/,Vra=/OS X (\S+)\)/,vn=/Android ([\d\.]+)/;En.prototype.reset=function(){this.g=0;this.o=null};var Wra;
Wra={tF:["BC","AD"],sF:["Before Christ","Anno Domini"],iG:"JFMAMJJASOND".split(""),MG:"JFMAMJJASOND".split(""),vv:"January February March April May June July August September October November December".split(" "),Iv:"January February March April May June July August September October November December".split(" "),Ev:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Jv:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),bw:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Lv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Fv:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Kv:"Sun Mon Tue Wed Thu Fri Sat".split(" "),C_:"SMTWTFS".split(""),NG:"SMTWTFS".split(""),FG:["Q1","Q2","Q3","Q4"],xG:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Xu:["AM","PM"],Mp:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Tv:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],nF:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Op:6,eH:[5,6],Pp:5};g.p2=Wra;g.p2=Wra;Gn.prototype.clone=function(){return new Gn(this.B,this.months,this.days,this.g,this.o,this.A)};
Gn.prototype.times=function(a){return new Gn(this.B*a,this.months*a,this.days*a,this.g*a,this.o*a,this.A*a)};
g.h=g.Jn.prototype;g.h.wn=g.p2.Op;g.h.yn=g.p2.Pp;g.h.clone=function(){var a=new g.Jn(this.date);a.wn=this.wn;a.yn=this.yn;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.Pn=function(a,b){return[this.getFullYear(),g.Ua(this.getMonth()+1,2),g.Ua(this.getDate(),2)].join(a?"-":"")+(b?g.Kn(this):"")};
g.h.toString=function(){return this.Pn()};
g.h.valueOf=function(){return this.date.valueOf()};Ln.prototype.reset=function(){this.o=this.g=null};var Rn=new Nn;Nn.prototype.clear=function(){this.g=Mn();this.C=this.J=this.o=null;this.B=Mn();this.A=null;this.Y=this.F=this.I="";this.G=this.V=this.D=null;this.ba=!1};g.va(Qn);Qn.prototype.isLoggingEnabled=function(){return this.g};g.h=Vn.prototype;g.h.zH=!1;g.h.mw=!1;g.h.rw=!0;g.h.Zi=null;g.h.bitrate=-1;g.h.contentId=null;g.h.kx=!1;g.h.Xk=!1;g.h.mimeTypes=null;g.h.surveyCreativeData=null;g.h.kU=!0;g.h.xu=!1;g.h.lU=!1;g.h.zu=!1;g.h.Au=!1;g.h.sD=!1;g.h.tD=!0;g.h.fI=!1;g.h.mU=!0;g.h.Cy=!0;g.h.mq=!1;g.h.aI=!1;g.h.xU=0;g.h.showContentThumbnail=!0;g.h.uu=!1;g.h.wu=!1;g.h.oj=null;g.h.kf=8E3;g.h.tw=!0;g.h.YB=0;g.h.Jt=-1;g.h.By=null;g.h.gg=-1;g.h.shortViewCount=null;g.D(Wn,g.Ff);var hA={LW:"beginFullscreen",Lp:"click",rY:"end",sY:"endFullscreen",ERROR:"error",Sp:"loaded",VZ:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",b1:"skip",JG:"skipShown",S0:"shareClicked",Mv:"start",H1:"timeUpdate",XW:"cardsStateChange",F1:"timedMetadata",Q2:"volumeChange"};g.h=Wn.prototype;g.h.Jy=function(){return!1};
g.h.wb=function(){return!0};
g.h.Wt=g.y;g.h.Ly=g.y;g.h.Ir=g.y;g.h.De=function(){return null};
g.h.Lr=g.y;g.h.Kr=g.y;g.D(Xn,g.Ff);var Yn=null;Xn.prototype.Xj=function(a){this.A=a};
Xn.prototype.destroy=function(){this.I.Ca(this.o,"activityMonitor",this.L);this.o=null};
Xn.prototype.L=function(a){var b=a.Vf;switch(a.Rd){case "appStateChanged":lda(vl.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":eo(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":bo(b.queryId,b.viewabilityString);break;case "pageSignals":this.J=b.pageSignals;break;case "viewableImpression":co(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;ao().B=b;ao().G=(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=vl.getInstance(),e=b.queryId;b=b.viewabilityData;a=Xj.getInstance();if("exc"==a.Fb){d.A=b.nativeVolume;c=b.coverage||0;var f=b.unmeasurable;d.g&&null!=b.userActivity&&(d.B=b.userActivity);d=d.Mn(e,{});-1==d.da&&(d.da=jj(),d.ib=d.ce().o);d.ea+=f?1:0;d.Sa++;d.Ha[Aj(c)]++;e=b.insideIframe;g.t(e)&&0==e&&(a.o=!1);d.nh=f||d.nh;b.position&&bk(d,O,a.o,new g.Zg(b.position.top,b.position.right,b.position.bottom,
b.position.left));b.documentSize&&(a.A=new g.gd(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new g.gd(b.viewportSize.width,b.viewportSize.height));d.sc.g=g.$c(c,0,1);d.ts=d.sc.g}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.g.get(a),Qn.getInstance().isLoggingEnabled()&&(f=-1,this.D&&(f=(0,g.G)()-this.D),d=!1,c||(d=!0),Xb(b,"loggingId")&&Tn(Qn.getInstance(),43,{step:"receivedResponse",time:(0,g.G)(),timeout:d,logid:b.loggingId,timediff:f})),c&&(this.g.remove(a),
c(b.engagementString))}};
g.ua("ima.bridge.getNativeViewability",function(a,b){ao();b({})},void 0);
g.ua("ima.bridge.getVideoMetadata",function(){var a=ao().F;return g.za(a)?a():{}},void 0);
g.ua("ima.bridge.triggerViewEvent",co,void 0);g.ua("ima.bridge.triggerMeasurableEvent",bo,void 0);g.ua("ima.bridge.triggerExternalActivityEvent",eo,void 0);var Rda={PF:"Image",zF:"Flash",ALL:"All"},Qda={XY:"Html",bZ:"IFrame",n1:"Static",ALL:"All"},Sda={cZ:"IgnoreSize",N0:"SelectExactMatch",O0:"SelectNearMatch"},Tda={UX:"DisallowResize",x0:"ResizeSmaller"};g.D(qo,g.Ff);var ro=null;g.h=qo.prototype;g.h.destroy=function(){this.D.Ca(this.g,"activityMonitor",this.Fy);this.A=!1;this.o.clear()};
g.h.W=function(){this.destroy();qo.Z.W.call(this)};
g.h.init=function(a){if(!this.A){if(this.g=a||null)this.D.U(this.g,"activityMonitor",this.Fy),xo(this);P.J&&Xda();a=Hda();(0,g.H)(a,function(a){var b=wj.getInstance();g.qb(b.g,a)});
P.o||P.g()||(vl.getInstance().o=!0);this.C=(g.za(null),null);this.A=!0}};
g.h.Xj=function(a){this.B=a};
g.h.Fy=function(a){var b=a.Vf,c=b.queryId,d={};d.eventId=b.eventId;switch(a.Rd){case "getPageSignals":xo(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=vo(this,e,c,a,f);this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Xb(b,"isFullscreen")&&(c=b.isFullscreen),Xb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,Tn(Qn.getInstance(),
43,{step:"beforeLookup",logid:b,time:(0,g.G)()},!0)),d.engagementString=Yda(this,a,c),this.g.send("activityMonitor","engagement",d)}};
g.ua("ima.common.getVideoMetadata",function(a){a=so().o.get(a);return g.za(a)?a():{}},void 0);
g.ua("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=so().g;d?d.send("activityMonitor","viewableImpression",c):so().dispatchEvent(new Bm("viewable_impression",null,c))},void 0);
g.ua("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=so().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.ua("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=so().g;d?d.send("activityMonitor","measurableImpression",c):so().dispatchEvent(new Bm("measurable_impression",null,c))},void 0);
g.ua("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=so().g)?a.send("activityMonitor","externalActivityEvent",d):so().dispatchEvent(new Bm("externalActivityEvent",null,d))},void 0);
so();g.D(yo,g.cf);yo.prototype.getError=function(){return this.g};zo.prototype.ld=function(){return this.F};
zo.prototype.Cc=function(){return this.g};
zo.prototype.clone=function(){var a=new zo(this.I,this.G);if(null!=this.g)Ao(a,this.Cc(),this.B,this.o,this.D);else{var b=this.ld(),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.D(Co,g.cf);Do.prototype.videoCount=0;g.vd&&g.rc(8);g.Eo.prototype.o=yc;var Qo={},cp={},dp={},Yp={};Go.prototype.wg=null;Go.prototype.ld=function(){return this.content};
Go.prototype.toString=function(){return this.content};
g.D(Ho,Go);Ho.prototype.Ff=Yp;g.D(Io,Go);Io.prototype.Ff=Qo;g.D(Jo,Go);Jo.prototype.Ff={};Jo.prototype.wg=1;g.D(Ko,Go);Ko.prototype.Ff=cp;Ko.prototype.wg=1;g.D(Lo,Go);Lo.prototype.Ff=dp;Lo.prototype.wg=1;g.D(Mo,Go);Mo.prototype.Ff={};Mo.prototype.wg=1;g.D(No,Go);No.prototype.Ff={};No.prototype.wg=1;var Ro=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.wg=d);return c}}(Io);
So(Jo);So(Ko);So(Lo);var fea=So(Mo);So(No);var To={},Uo={},lr=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.wg=d);return c}}(Io),ap=/['()]/g,jp={},gea={"\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;"},hea={"\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"},$da=/[\x00\x22\x27\x3c\x3e]/g,bea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,aea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,fp=/[\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,
dea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,eea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Xo=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Yo=/</g;np.prototype.Yb=function(){return this.A};
g.D(op,np);mp.prototype.isEmpty=function(){return this.g.isEmpty()};g.h=vp.prototype;g.h.getDuration=function(){return this.Va};
g.h.Tr=function(){return null};
g.h.Sr=function(){return null};
g.h.Rr=function(){return null};
g.h.Mb=function(){return this.I};
g.h.Gn=function(){for(var a=[this],b=this.I.o;b;){var c=yp(this,b)||yp(this,b,!0);null!=c&&a.push(c);b=b.o}return a};zp.prototype.Gb=function(){return this.D};
zp.prototype.getHeight=function(){return this.C};g.D(Ap,vp);g.h=Ap.prototype;g.h.gf=function(){return this.B};
g.h.dh=function(){return this.o};
g.h.eh=function(){return null!=this.C?this.C.o:null};
g.h.Tr=function(){var a=Cp(this,"javascript");return null!=a?a.o:null};
g.h.Sr=function(){var a=Dp(this);return null!=a?a.o:null};
g.h.Rr=function(){return null!=this.C?this.C.A:1==this.o.length?this.o[0].A:null};g.D(Fp,vp);g.h=Fp.prototype;g.h.ld=function(){return Ud(this.Cc())};
g.h.al=function(){return!1};
g.h.Ur=function(){return this.al()?Ud(this.Cc(!0)):""};
g.h.md=function(){return this.aa};
g.h.hf=function(){return this.Ha};
g.h.Gb=function(){return this.hf().width};
g.h.getHeight=function(){return this.hf().height};
g.h.eh=function(){return this.A};
g.h.Tr=function(){return"VPAID"==this.J&&"Javascript"==this.aa?this.A:null};
g.h.Sr=function(){return"VPAID"==this.J&&"Flash"==this.aa?this.A:null};
g.h.Rr=function(){return this.J};
g.h.gf=function(){return this.na};g.D(Gp,g.K);Gp.prototype.F=function(){this.D=(0,g.G)()};
Gp.prototype.I=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.QH);if(8==(this.o&8)){var d=g.zh(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=li())&&(this.g.mb=d);"A"==c.tagName.toUpperCase()&&g.Xc(c,oea(this,c.href))};
Gp.prototype.G=function(){this.B++};var Xra=g.vd?Cc(vc(wc('javascript:""'))):Cc(vc(wc("about:blank"))),pea=Bc(Xra),Yra=g.vd?Cc(vc(wc('javascript:""'))):Cc(vc(wc("javascript:undefined")));Bc(Yra);g.D(Hp,Fp);g.h=Hp.prototype;g.h.Wi=function(a){null==this.o||E(g.F(this.gf()))||(this.o.U(a,"click",this.Y),this.ba.push(a))};
g.h.Cc=function(a){a?(null==this.ga&&(this.ga=this.vg(a),g.Fd(this.ga,Mp(this))),a=this.ga):(null==this.B&&(this.B=this.vg(),g.Fd(this.B,Mp(this))),a=this.B);null!=this.o&&this.o.U(a,"creativeview",this.da);return a};
g.h.vg=function(){var a=g.F(this.A);E(g.F(this.gf()))||(a=new g.Ul(a),g.cm(a,"clickTAG",g.Ma(this.gf())),a=a.toString());var b=g.Ad("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.md()&&(b.width=this.Gb());b.setAttribute("src",Wm(a));this.Wi(b);return Lp(this,b)};
g.h.Xq=function(){Pm().g("cleanup_text_overlay_spam_signals");return 2};
g.h.Gn=function(){for(var a=[this],b=this.Mb().o;b;){var c=this.D?yp(this,b)||yp(this,b,!0):Np(this,b)||Np(this,b,!0);null!=c&&a.push(c);b=b.o}return a};var tea={};g.D(Zp,Hp);g.h=Zp.prototype;g.h.hf=function(){return new g.gd(this.Gb(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.Gb=function(){return null!=this.F?g.Ih(this.F).width:0};
g.h.Xq=function(a){return Pm().g("cleanup_text_overlay_spam_signals")?g.Rp(a,"text-image-link")?9:g.Rp(a,"text-ad-channel")?1:0:g.Rp(a,"text-image")?9:g.Rp(a,"text-ad-channel")?1:0};
g.h.vg=function(){var a=this.Mb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.C,e="rtl";null!=d&&(e=vra.test(xc(d,void 0))?"rtl":"ltr");d={title:d,text:c.D+" "+c.F,dir:e,Kc:this.gf()};if(e=c.getImageUrl())d.image=Wm(e),d.uD=!0,P.g()&&(d.uD=0==c.o||0==c.A),a=g.gb(a.F,function(a){return a instanceof Ap}),null!=a&&(d.duration=no(a.getDuration()));
b.A&&(d.yD=b.A);this.F=Xp(iea,d);(0,g.H)(this.F.getElementsByTagName("a"),this.Wi,this);this.F.id=this.ya;this.F.style.height=this.getHeight()+"px";return this.F};var xea=[202,1009],Cea="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),Bea={MOAT_INIT:["://yts\\.moatads\\.com","://yts-testing\\.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=tq.prototype;g.h.Of=function(){return null!=this.g&&this.g.Of()?!0:0<this.ads.length&&this.o<this.ads.length-1};
g.h.Ee=function(a,b){null!=this.g?Jea(this,a,b):this.Of()?Mea(this,a,(0,g.A)(function(c){!this.Of()||!P.g()&&301==c.Rb()?b(c):this.Ee(a,b)},this)):b(new Hm("adLoadError","The ad source contains no more ads.",1005))};
g.h.Ex=function(a,b){return this.C?0<a.length?a:b:g.xb(b,0,1)};
g.h.Ko=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.D;d=e.ff||0;e=e.df||0;Es(a)&&!a.ga?Is(a,"nonlinear")?rq(a,d,e):sq(a):Is(a,"linear")?sq(a):Is(a,"nonlinear")&&rq(a,d,e);d=null!=a.g}d?(this.A++,b(a)):(b=g.nb(a.F)?fn(WA):a.Wb()?fn(cC):fn(Sra),d=jq(b,a),po(Cfa(a),"rm")?b.A=!1:cn(a.na,d),c(b))};
g.h.Lt=function(a,b,c){var d=this.D.clone();d.o="";d.g=a.Ib;d.Se=xm(d.g,d.containerElement);yq(this,a,d,b,c)};g.D(Dq,Op);Dq.prototype.be=function(){return this.o};g.D(Eq,tq);Eq.prototype.Of=function(){if(null!=this.g&&this.g.Of())return!0;var a=0==this.A||this.A==this.J;return 0<this.ads.length&&a&&this.o<this.ads.length-1};
Eq.prototype.Ex=function(a,b){return b};
Eq.prototype.Ko=function(a,b,c){var d=null==this.g?ts(a):ts(this.ads[this.o]);this.I.A=d;Eq.Z.Ko.call(this,a,b,c)};
Eq.prototype.Lt=function(a,b,c){this.I.A=-1;Eq.Z.Lt.call(this,a,b,c)};g.D(Gq,g.Ul);Gq.prototype.toString=function(){return Jq(this,Gq.Z.toString.call(this))};
Gq.prototype.Tx=function(){return""};
Gq.prototype.hi=function(){return""};
Gq.prototype.clone=function(){return new Gq(this.toString())};g.h=Qq.prototype;g.h.ld=function(){return this.g.ld()};
g.h.Cc=function(){return this.g.Cc()};
g.h.md=function(){return this.g.md()};
g.h.Gb=function(){return this.g.Gb()};
g.h.getHeight=function(){return this.g.getHeight()};
g.h.Gy=function(){return!E(g.F(this.g.A))};
g.h.ar=function(){var a=this.g.Mb().g;return null!=a?a.g:window.NaN};
g.h.Yn=function(){return this.g.hf()};
g.h.Mb=function(){return this.g.Mb()};Vo("a","",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiLearnMore")+'">'+Q(a.ph)+'</div><div class="'+Q("videoAdUiShare")+'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+Q("videoAdUiLearnMoreText")+
'">'+Q(a.ph)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(kp(a.attributionText))+">"+Q(a.attributionText)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+
'" '+Q(kp(a.se))+">"+Q(a.se)+'</div></div></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
Vo("a","fixedDirectionality",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiLearnMore")+'">'+Q(a.ph)+'</div><div class="'+Q("videoAdUiShare")+'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+
Q("videoAdUiLearnMoreText")+'">'+Q(a.ph)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'">'+Q(a.attributionText)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+
'">'+Q(a.se)+'</div></div></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
Vo("a","redesign2014q4",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTopButtons")+'"><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonInfo")+'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+'">'+Q(a.infoText)+'</div></div></div><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonShare")+
'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+" "+Q("videoAdUiTopButtonShareTooltip")+'">'+Q(a.u3)+'</div></div></div><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonWatchLater")+'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+'">'+Q(a.w3)+'</div></div></div></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+
'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+Q("videoAdUiBottomBarText")+'"><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttributionWithBadge")+'"><div class="'+Q("videoAdUiAttributionBadge")+" "+Q("yt-badge")+" "+Q("yt-badge-ad")+'">Ad</div><div class="'+Q("videoAdUiAttributionText")+'" '+Q(kp(a.attributionText))+">"+Q(a.attributionText)+'</div></div><div class="'+Q("videoAdUiAttribution")+'" '+Q(kp(a.attributionText))+">"+Q(a.attributionText)+
'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+'" '+Q(kp(a.se))+">"+Q(a.se)+'</div></div></div></div><div class="'+Q("videoAdUiVisitAdvertiserLink")+'"><div class="'+Q("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+Q("videoAdUiVisitAdvertiserIcon")+
'"></div></div></div><div class="'+Q("videoAdUiBottomBarMessage")+'"></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
Vo("b","",function(a){a=a||{};return""+Ia("You can skip this ad in {$xSeconds}",{xSeconds:Q(a.Lg)})});
Vo("b","redesign2014q4",function(a){a=a||{};return""+Ia("You can skip to video in {$xSeconds}",{xSeconds:Q(a.Lg)})});
Vo("b","forcedlinebreak",function(a){a=a||{};return""+Ia("You can skip to{$newline}video in {$xSeconds}",{newline:Q(a.rO),xSeconds:Q(a.Lg)})});g.D(nr,Hp);var mfa=new g.gd(300,250);nr.prototype.Oa=function(){this.F=Math.max(0,this.F-1);pr(this)};
nr.prototype.Ma=function(){this.F=Math.min(this.sa-3,this.F+1);pr(this)};
nr.prototype.vg=function(){return this.O};g.D(sr,Hp);var ofa=new g.gd(300,250);sr.prototype.vg=function(){return this.F};var tr=g.vd&&pfa();var sfa=/(doubleclick.net|googleadservices.com)/,vfa=["ai","sigh"],wfa=["xai","sig"];g.D(Pr,Op);Qr.prototype.parse=function(a){a=g.Pd(a);var b=Dr(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw fn(Qra);a=a.getAttribute("offset");a=Nr(a);if("skippable"==c&&null==a)throw fn(Pra);return new Pr(c,a)};g.D(Rr,Op);g.D(Sr,Op);g.h=Ur.prototype;g.h.md=function(){if(null!=Os(this))return"application/javascript";if(null!=Ps(this))return"application/x-shockwave-flash";var a=this.g,b="";if(null===a)return b;if(a instanceof Ap)a=a.C,null===a||(b=g.F(a.g));else if(a instanceof Hp)switch(a.N){case "IFrame":case "Html":case "Static":b=g.F(a.pa)}return b};
g.h.getExtension=function(a){return this.G.get(a)};
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()};
g.h.Wb=function(){return this.ra?this.kb:Js(this)?!0:Es(this)?"video"==this.Ab:Is(this,"linear")};
g.h.isSkippable=function(){return null!=Ls(this)};
g.h.HK=function(){return this.ga};
g.h.getDuration=function(){return Fs(this)+Ns(this)};
g.h.eh=function(){var a=null,b=this.g;null!=b&&(a=b.eh(),E(g.F(a))&&(a=null));return a};
g.h.Gb=function(){return this.Wb()?0:this.aa.width};
g.h.getHeight=function(){return this.Wb()?0:this.aa.height};
g.h.af=function(){return this.Sa};
g.h.toString=function(){return"Ad: "+this.sa};g.D(Vs,g.Ff);Vs.prototype.o=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new Bm("companionImpression",this.g));break;case "companion_click":this.dispatchEvent(new Bm("companionClick",this.g))}};g.D(Ws,g.Ff);g.h=Ws.prototype;g.h.Cb=function(a){null==a||this.F||(this.ci=a,Nfa(this),this.F=!0)};
g.h.Xc=function(){null!=this.ci&&this.F&&(Xs(this),this.D=this.I=this.F=!1,this.g=0,this.A=[],this.G=!1)};
g.h.gS=function(a){this.I=!0;this.g=a.touches.length;this.o&&(window.clearTimeout(this.o),this.o=0,this.L=!0);(this.G=Ys(this,a.touches)||1!=a.touches.length)?this.O=this.N=window.Infinity:(this.N=a.touches[0].clientX,this.O=a.touches[0].clientY);Ofa(this,a.touches)};
g.h.QJ=function(a){this.g=a.touches.length;if(!tn(8)||Math.pow(a.changedTouches[0].clientX-this.N,2)+Math.pow(a.changedTouches[0].clientY-this.O,2)>Math.pow(5,2))this.D=!0};
g.h.fS=function(a){this.C?this.Lq():(!this.I||1!=this.g||this.D||this.L||this.G||!Ys(this,a.changedTouches)||(this.o=window.setTimeout((0,g.A)(this.Lq,this),300)),this.g=a.touches.length,0==this.g&&(this.D=this.I=!1,this.A=[]),this.L=!1)};
g.h.Hy=function(){this.Lq()};
g.h.Lq=function(){this.o=0;this.dispatchEvent(new g.cf("click"))};
g.h.W=function(){this.Xc();this.B.dispose();this.B=null;Ws.Z.W.call(this)};var Qfa=/#(.)(.)(.)(.)/,Pfa=/^#(?:[0-9a-f]{4}){1,2}$/i;g.D(g.at,g.Ff);g.h=g.at.prototype;g.h.wb=function(){return 1==this.g};
g.h.Co=function(){this.Ae("begin")};
g.h.Gl=function(){this.Ae("end")};
g.h.Fd=function(){this.Ae("finish")};
g.h.Ae=function(a){this.dispatchEvent(a)};var Zra=g.Kf(function(){if(g.vd)return g.rc("10.0");var a=g.Cd("DIV"),b=g.xd?"-webkit":g.qh?"-moz":g.vd?"-ms":g.ef?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Uc.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in wra)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Vc("div",b,void 0);a.innerHTML=g.Rc(b);return""!=rh(a.firstChild,"transition")});g.D(ct,g.at);g.h=ct.prototype;g.h.play=function(){if(this.wb())return!1;this.Co();this.Ae("play");this.startTime=(0,g.G)();this.g=1;if(Zra())return g.oh(this.o,this.F),this.B=g.ug(this.VS,void 0,this),!0;this.fu(!1);return!1};
g.h.VS=function(){g.Hh(this.o);bt(this.o,this.D);g.oh(this.o,this.A);this.B=g.ug((0,g.A)(this.fu,this,!1),1E3*this.C)};
g.h.stop=function(){this.wb()&&this.fu(!0)};
g.h.fu=function(a){g.oh(this.o,"transition","");g.vg(this.B);g.oh(this.o,this.A);this.endTime=(0,g.G)();this.g=0;a?this.Ae("stop"):this.Fd();this.Gl()};
g.h.W=function(){this.stop();ct.Z.W.call(this)};
g.h.pause=function(){};g.D(dt,g.Ff);g.h=dt.prototype;g.h.W=function(){null!=this.Gi&&(g.vg(this.Gi),this.Gi=null);null!=this.He&&(g.Jd(this.He),this.He=null);dt.Z.W.call(this)};
g.h.BH=function(){this.Gi=null;et(this,!1);this.Gi=g.ug((0,g.A)(function(){this.Gi=null;ft(this,!1);null!=this.He&&g.M(this.He,!1);this.kl("complete")},this),200)};
g.h.show=function(a){this.kl("impression");et(this,!0);ft(this,!0);null!=this.He&&g.M(this.He,!0);this.Gi=g.ug(this.BH,a,this)};
g.h.eK=function(a){P.g()||a.stopPropagation()};
g.h.kl=function(a){a=bq({action:"condor-brand-precap",event:a,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_cpn:"[AD_CPN]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]"});a=g.vm(a,this.D.D);Zm(a)};g.D(gt,Op);g.D(it,Op);g.h=jt.prototype;
g.h.RB=function(){var a={heading:"",targetingReasons:[],learnMore:"",Tq:"",control:"",mute:""};if(null!=this.B){a.heading=this.B.C;var b=this.B.o;if(b&&3==b.length){var c=b[1],d=b[2];b=Ro(Q(b[0])+ir()+Q(c)+Ro("</a>")+Q(d));a.Tq=b}a.targetingReasons=g.vb(this.B.D);a.learnMore=this.B.L;a.close=this.B.A}else a.Tq=jr(),b=Ia("Got It"),a.close=""+b;null!=this.o&&(a.mute=this.o.B);mt(this,ifa,a);lt(this,"videoAdUiWhyThisAdCloseButton",this.Zm);lt(this,"videoAdUiWhyThisAdControl",this.rx);lt(this,"videoAdUiWhyThisAdMute",
this.OS);a=this.rx;b=g.I("videoAdUiWhyThisAdGenericMessage",this.g);null!=b&&(b=b.getElementsByTagName("A")[0],null!=b&&this.C.U(b,"click",a))};
g.h.Zm=function(){null!=this.C&&(this.C.dispose(),this.C=null);kt(this)&&null!=this.g&&(null!=this.A&&(nt(this,"why_this_ad_got_it"),this.A.dispose(),this.A=null),this.g.parentElement.removeChild(this.g),this.g=null)};
g.h.rx=function(){nt(this,"why_this_ad_settings_url")};
g.h.OS=function(){if(null!=this.o){nt(this,"mute_interaction_url");var a=ht(this.o);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};mt(this,kfa,b);lt(this,"videoAdUiMuteCancel",this.RB);lt(this,"videoAdUiMuteConfirm",this.UH)}else{nt(this,"mute_url");b={heading:this.o.A,undo:this.o.D,question:this.o.C,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.o?(c=pp(this.o.g,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.o.o[c].label);
mt(this,jfa,b);lt(this,"videoAdUiMuteUndo",this.dU);lt(this,"videoAdUiMuteConfirm",this.TT);lt(this,"videoAdUiMuteCancel",this.Dq)}}};
g.h.UH=function(){nt(this,"mute_url");this.Dq()};
g.h.dU=function(){nt(this,"mute_undo_url");this.Zm()};
g.h.TT=function(){if(null!=this.o){for(var a=ht(this.o),b=!1,c=0;c<a;c++){var d=g.I("videoAdUiMuteOption"+c,this.g);if(null!=d&&d.checked){b=!0;Zm(this.o.o[c].url);break}}if(!b)return}this.Dq()};
g.h.Dq=function(){nt(this,"MUTE_AD");this.Zm()};g.D(vt,g.Ff);var Tfa={1:"videoAdUiBrandInteractionHorizontalRect"},Sfa=[1],Xfa=[1],Vfa={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};vt.prototype.update=function(a){this.V||(this.G=rt(this.o,.5),g.L(this,this.G),this.G.play(),g.M(this.o,!0),this.V=!0,Zfa(this));this.N=a};
vt.prototype.ga=function(a){P.g()||a.stopPropagation();var b=a.target.ci;null!=b&&(this.da++,a=(0,g.G)(),g.Wp(b,"selected")?(g.S(this.o,"optionSelected"),null!=this.A&&g.Tp(this.A,"selected"),this.A=b):(g.Tp(this.o,"optionSelected"),this.A=null),aga(this),this.ha&&(tt(this.o).play(),g.ug(function(){g.M(this.o,!1)},500,this)),$fa(this),b=wt(this),this.B.push(b),this.C.push(a.toString()),this.D.push(this.N.toString()))};
vt.prototype.W=function(){null!=this.o&&(g.Jd(this.o),this.o=null);this.A=null;vt.Z.W.call(this)};g.D(zt,g.Ff);zt.prototype.D=function(){this.g?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
zt.prototype.W=function(){this.C.dispose();this.C=null;zt.Z.W.call(this)};g.D(At,g.Ff);At.prototype.W=function(){null!=this.o&&(g.Jd(this.o),this.o=null);At.Z.W.call(this)};
At.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.F=1;else if(1==this.F)rt(this.o,.5).play(),g.M(this.o,!0),this.F=2,this.kl("i");else if(this.B){var c=Math.round(b-a);0>c||g.Td(this.A,fr({Lg:c}))}else this.L&&5<a&&(this.L=!1,g.M(this.A,!1))};
At.prototype.O=function(){g.Kh(this.A)||g.M(this.A,!0);this.J++;this.kl("c")};
At.prototype.kl=function(a){this.N&&(a=bq({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.vm(a,this.D.D),Zm(a))};g.D(Bt,g.Ff);var dga={1:"videoAdUiReasonToWatchBoxWhiteTheme"};Bt.prototype.update=function(a){this.C||ega(this);!this.D&&10<=a&&fga(this)};
Bt.prototype.W=function(){null!=this.g&&(g.Jd(this.g),this.g=null);Bt.Z.W.call(this)};g.D(g.Ct,g.K);g.h=g.Ct.prototype;g.h.start=function(){this.stop();this.A=!1;var a=Dt(this),b=Et(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.ya=g.rf(this.g,"MozBeforePaint",this.o),this.g.mozRequestAnimationFrame(null),this.A=!0):this.ya=a&&b?a.call(this.g,this.o):this.g.setTimeout(eba(this.o),20)};
g.h.Sk=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=Dt(this),b=Et(this);a&&!b&&this.g.mozRequestAnimationFrame?g.Af(this.ya):a&&b?b.call(this.g,this.ya):this.g.clearTimeout(this.ya)}this.ya=null};
g.h.isActive=function(){return null!=this.ya};
g.h.BI=function(){this.A&&this.ya&&g.Af(this.ya);this.ya=null;this.C.call(this.B,(0,g.G)())};
g.h.W=function(){this.stop();g.Ct.Z.W.call(this)};g.D(g.Ft,g.K);g.h=g.Ft.prototype;g.h.ya=0;g.h.W=function(){g.Ft.Z.W.call(this);this.stop();delete this.g;delete this.o};
g.h.start=function(a){this.stop();this.ya=g.ug(this.A,g.t(a)?a:this.B)};
g.h.gc=function(a){this.isActive()||this.start(a)};
g.h.stop=function(){this.isActive()&&g.vg(this.ya);this.ya=0};
g.h.isActive=function(){return 0!=this.ya};
g.h.ay=function(){this.ya=0;this.g&&this.g.call(this.o)};g.Kt={};g.It=null;g.D(Mt,g.Ff);g.h=Mt.prototype;g.h.W=function(){g.af(this.B);this.B=null;g.af(this.G);this.G=null;null!=this.A&&(g.Jd(this.A),this.A=null);null!=this.skipButton&&(this.skipButton=null);null!=this.o&&(g.Jd(this.o),this.o=null);this.V.dispose();this.V=null;this.ac.dispose();this.ac=null;Mt.Z.W.call(this)};
g.h.update=function(a,b){this.aa=b;this.Cq(a);2==this.state&&Lt(this,a)};
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.Y?!1:(this.Y=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};
g.h.Cq=function(a){if(!(0>=this.aa||null==this.config.skipOffset||0>tp(this.config.skipOffset))){var b=tp(this.config.skipOffset);b>=this.aa||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(Lt(this,0),rt(this.A,.5).play(),g.M(this.A,!0)),this.state=2):(3!=this.state&&this.ow(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.ow=function(){g.M(this.o,!0);this.G=Nt(this.A);this.G.play();this.B=rt(this.o,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.RT=function(a){P.g()||a.stopPropagation();3!=this.state||this.Y||(this.Y=!0,this.dispatchEvent("skip"))};g.D(Tt,Mt);var Pt={Bx:0,Ax:1},Qt={Bx:1,Ax:0},Rt={jx:15},St={jx:300};g.h=Tt.prototype;g.h.W=function(){Tt.Z.W.call(this);Vt(this);Xt(this)};
g.h.Cq=function(a){Tt.Z.Cq.call(this,a);if(3==this.state&&!this.ga&&!this.ea){var b=Zt(this.O,this.g);if(a=Yt(a,this.config,this.O))if(this.F==this.J.Bx&&a>=b)switch(this.J){case Pt:Ut(this);break;case Qt:Wt(this,!0)}else if(this.F==this.J.Ax&&a<b)switch(this.J){case Qt:Ut(this);break;case Pt:Wt(this,!0)}}};
g.h.ow=function(){g.M(this.o,!0);this.G=Nt(this.A);this.G.play();if(this.ga)var a=!1;else{a=Zt(this.O,this.g);var b=Yt(tp(this.config.skipOffset),this.config,this.O);if(null!=b){var c=!1;switch(this.J){case Qt:c=b<a;break;case Pt:c=b>=a}a=c}else a=!1}a?(this.F=1,this.B=qt(this.o,.5,"ease-in",0,.5)):this.B=rt(this.o,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus();this.ga||(this.ac.U(g.Qd(this.o),"mouseover",this.nO),this.ac.U(g.Qd(this.o),"mouseout",this.mO))};
g.h.nO=function(){Xt(this);0!=this.F&&Wt(this,!1);this.ea=!0};
g.h.mO=function(){Xt(this);this.L=g.ug(function(){this.ea=!1;this.L=null},5E3,this)};$t.prototype.getDuration=function(){return this.o};
$t.prototype.Cc=function(){return this.g};
$t.prototype.update=function(a,b){var c=null!=this.F?tp(this.F):0;this.o=0<=this.o?this.o:b;c<=a&&c+this.o>=a?iga(this):g.M(this.g,!1)};var $ra={av:{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"}},UE:{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"}}},mu=$ra;mu=$ra;var du={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 asa={dv:".",Qp:",",xv:"%",eq:"0",uG:"+",dG:"-",gv:"E",yv:"\u2030",Rp:"\u221e",hG:"NaN",cv:"#,##0.###",DG:"#E0",tG:"#,##0%",kF:"\u00a4#,##0.00",mk:"USD"},cu=asa;cu=asa;fu.prototype.parse=function(a,b){var c=b||[0];if(0!=this.J)throw Error("Parsing of compact numbers is unimplemented");a=a.replace(/ /g,"\u00a0");var d=a.indexOf(this.G,c[0])==c[0],e=a.indexOf(this.C,c[0])==c[0];d&&e&&(this.G.length>this.C.length?e=!1:this.G.length<this.C.length&&(d=!1));d?c[0]+=this.G.length:e&&(c[0]+=this.C.length);if(a.indexOf(cu.Rp,c[0])==c[0]){c[0]+=cu.Rp.length;var f=window.Infinity}else{f=a;var k=!1,l=!1,m=!1,n=-1,q=1,r=cu.dv,w=cu.Qp,z=cu.gv;if(0!=this.J)throw Error("Parsing of compact style numbers is not implemented");
for(var B="";c[0]<f.length;c[0]++){var C=f.charAt(c[0]),N=lu(C);if(0<=N&&9>=N)B+=N,m=!0;else if(C==r.charAt(0)){if(k||l)break;B+=".";k=!0}else if(C==w.charAt(0)&&("\u00a0"!=w.charAt(0)||c[0]+1<f.length&&0<=lu(f.charAt(c[0]+1)))){if(k||l)break}else if(C==z.charAt(0)){if(l)break;B+="E";l=!0;n=c[0]}else if("+"==C||"-"==C){if(m&&n!=c[0]-1)break;B+=C}else if(1==this.g&&C==cu.xv.charAt(0)){if(1!=q)break;q=100;if(m){c[0]++;break}}else if(1==this.g&&C==cu.yv.charAt(0)){if(1!=q)break;q=1E3;if(m){c[0]++;break}}else break}1!=
this.g&&(q=this.g);f=(0,window.parseFloat)(B)/q}if(d){if(a.indexOf(this.N,c[0])!=c[0])return window.NaN;c[0]+=this.N.length}else if(e){if(a.indexOf(this.I,c[0])!=c[0])return window.NaN;c[0]+=this.I.length}return e?-f:f};
fu.prototype.format=function(a){if((0,window.isNaN)(a))return cu.hG;var b=[];var c=a;if(0==this.J)c=nu;else{c=Math.abs(c);var d=ou(this,1>=c?0:pu(c)).Mq;c=ou(this,d+pu(iu(this,c/Math.pow(10,d)).intValue))}a/=Math.pow(10,c.Mq);b.push(c.prefix);d=0>a||0==a&&0>1/a;b.push(d?this.C:this.G);if((0,window.isFinite)(a))if(a=a*(d?-1:1)*this.g,this.ba){var e=a;if(0==e)ju(this,e,this.o,b),ku(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.O&&this.O>this.o){for(;0!=a%this.O;)e*=10,a--;f=1}else 1>this.o?(a++,e/=10):(a-=this.o-1,e*=Math.pow(10,this.o-1));ju(this,e,f,b);ku(this,a,b)}}else ju(this,a,this.o,b);else b.push(cu.Rp);b.push(d?this.I:this.N);b.push(c.TC);return b.join("")};
var nu={prefix:"",TC:"",Mq:0};g.D(ru,g.Ff);var jga={1:"videoAdUiAttributionYellowBadge",2:"videoAdUiAttributionGreyBadgeYellowText",3:"videoAdUiAttributionWhiteBadgeYellowText",4:"videoAdUiAttributionGreenBadge",5:"videoAdUiAttributionPurpleBadge",6:"videoAdUiAttributionWhiteBadgeGreyText"};g.h=ru.prototype;g.h.show=function(){null!=this.o&&g.M(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.W=function(){null!=this.o&&(g.Jd(this.o),this.o=null);uu(this);(0,g.H)(this.ba,function(a){a.Xc()});
this.ba=[];this.C=null;this.A.dispose();this.A=null;this.Ab=!1;ru.Z.W.call(this)};
g.h.update=function(a,b,c,d,e){this.Ab=!0;null!=this.o&&(null!=this.sa&&lga(this,a,c,d,e),null!=this.ga&&g.Fh(this.ga,a/c*100+"%"),null!=this.zb&&g.Fh(this.zb,b/c*100+"%"),0<c&&null!=this.g.skipOffset&&null!=this.B&&(sp(this.g.skipOffset,c),this.B.update(a,c)),0<c&&null!=this.pa&&this.pa.update(a),0<c&&null!=this.ra&&this.ra.update(a),0<c&&null!=this.I&&this.I.update(a,c),this.g.O&&0<c&&5>c-a&&g.S(this.da,"videoAdUiTopBarNoFade"),(0,g.H)(this.Ma,function(b){b.update(a,c)},this))};
g.h.EH=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.FH=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.HJ=function(a){var b=a.G;a=a.I;E(g.F(b))||this.dispatchEvent(new Bm("videoIconClicked",null,{clickThroughUrl:b}));(0,g.H)(a,function(a){Zm(a)})};
g.h.hz=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.OT=function(){this.dispatchEvent("videoShareClicked")};
g.h.bU=function(){this.dispatchEvent("videoTitleClicked")};
g.h.fK=function(a){a.preventDefault()};
g.h.xp=function(){this.dispatchEvent("click")};
g.h.Bb=function(){null!=this.Ma&&(0,g.H)(this.Ma,function(a){au(a)},this)};
g.h.KT=function(){g.S(this.da,"videoAdUiTopBarTransitions")};
g.h.PS=function(){var a=g.$d(this.o,"html5-video-player");if(null!=a){var b=this.g.J;null!=a&&(b.C=new g.mm(b),b.A=new g.Ff,b.A.Hh(this),b.D=a,b.RB(),nt(b,"why_this_ad_url"));null!=this.B&&Ot(this.B,!1);null!=this.I&&(a=this.I,null!=a.g&&g.M(a.g,!1))}};
g.h.pU=function(){null!=this.B&&Ot(this.B,!0);if(null!=this.I){var a=this.I;null!=a.g&&g.M(a.g,!0)}};g.D(Au,g.K);Au.prototype.J=function(a,b,c){c=g.dc(c||{});if("timeout"==(c.viewability||"")){var d=this.G[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.I&&null!=this.D&&0<this.D.length){d=P.I&&g.lb(this.F,"impression");var e=Cu(this,this.D,c);Du(this,e,d);this.I=!0}oga(this,a)&&0<b.length&&(d=P.I&&g.lb(this.F,a),b=Cu(this,b,c),Du(this,b,d),this.o.set(a,!0))};g.D(Eu,g.Ff);g.h=Eu.prototype;g.h.Mk=function(){if(this.yb()){var a=Ss(this.Wc);if(null!=a)return a}return""};
g.h.Lk=function(){if(this.yb()){var a=Ts(this.Wc);if(null!=a)return a}return""};
g.h.We=function(){return g.nb(this.ads)?null:this.ads[0]};
g.h.ka=function(){if(this.yb()){if(this.Wc.isSkippable()&&!Bn())throw gn(pB,null,"skippablevideo");if(null!=Os(this.Wc)&&Gu(this,this.Wc.o))throw gn(pB,null,"vpaidWithSkippabilityOverride");return this.Wc}throw gn(Ku,null,"An ad has not been selected.\n"+Error().stack);};
g.h.yb=function(){return null!==this.Wc};
g.h.Tj=function(){var a=(0,g.kb)(this.ads,this.Wc);-1!=a&&++a<this.ads.length?Fu(this,this.ads[a]):Fu(this,null)};
g.h.Wk=function(){var a=(0,g.kb)(this.ads,this.Wc);return-1==a?!1:a+1<this.ads.length};
g.h.Ee=function(){if(!this.Wk())return null;var a=(0,g.kb)(this.ads,this.Wc)+1;return this.ads[a]};
g.h.dh=function(a){var b=a.o;if(b&&b.da&&(b=b.F,!g.nb(b)&&b[0]instanceof Ap))return b[0].dh();b=a.g;return Iu(a)?b.dh():[]};
g.h.Xo=function(){if(!this.yb()){if(g.nb(this.ads))throw gn(cC);Fu(this,this.ads[0]);if(null==this.Wc.g)throw fn(cC);}};
g.h.ia=function(a,b){var c=this.yb()?this.ka():null;this.dispatchEvent(new Bm(a,c,b))};
g.h.Gg=function(a){this.Jd=a};
g.h.Wa=function(){null==this.ac&&(this.ac=new g.mm(this));return this.ac};
g.h.sP=function(){};
g.h.xt=function(){};
g.h.zd=function(a){if(null!=this.Jd){sm(this.xe);this.xe.rh(this.Jd,"companion_display_error",function(){});
var b=this.Jd.zd(a);null!=b&&(this.xe.U(b,"companion_impression",this.sP),this.xe.U(b,"companion_click",this.xt),P.g()&&(a=new Vs(a,b),this.ia("companionInitialized",a)));if(!this.Jd.qw())throw gn(n2);}};
g.h.destroy=function(){this.dispose()};
g.h.W=function(){this.yb()&&(qq(this.Wc,null),this.Wc=null);g.af(this.ac);this.Jd=this.ac=null;this.fn=!1;P.o?wo(so(),this.yp):ao().F=null;this.Ja&&(g.af(this.Ja),this.Ja=null);Eu.Z.W.call(this)};
g.h.Ve=function(){return[]};
g.h.Lb=function(){return this.ads[0]};
g.h.wj=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){d=window;c=d.document;var k={};a&&(k._scs_=a);k._bgu_=f;k._bgp_=e;k._li_="v_h.0.0.0";(a=d.GoogleTyFxhY)&&"function"==typeof a.push||(a=d.GoogleTyFxhY=[]);a.push(k);a=
g.ld(c).createElement("SCRIPT");a.type="text/javascript";a.async=!0;g.Yc(a,g.ce(b));c.getElementsByTagName("head")[0].appendChild(a)}}})};
g.h.init=function(a){Lu(this);this.zc(a);this.fe=!0;this.Kj();P.o||(ao().F=this.yp)};
g.h.Kj=function(){this.ia("loaded")};
g.h.Vj=function(a){this.yb()&&P.g()&&cn(fs(this.ka()),a)};
g.h.BC=g.y;g.h.Rc=function(a,b,c){if(!this.fn){if(null==a)throw gn(go,null,"displayContainer");null!=c&&this.Re(c);this.content=b;this.Ia=a;this.Xo();this.Fa=this.Ia.Yk(Hu(this));this.fn=!0}};
g.h.Fg=function(a){a=po(Vr(a),"rm")?a.Y:fs(a);(0,g.H)(a,function(a){g.qb(this.Ob.D,a)},this)};
g.h.hg=function(a,b){(0,g.H)(b,function(b){b=xp(a,b);qp(this.Ob.A,b)},this)};
g.h.Qj=function(a){if(a instanceof Ap){var b=Bp(a);(0,g.H)(b.Db(),function(a){var c=b.get(a);(0,g.H)(c,function(b){rp(this.Ob.A,a,b)},this)},this)}};
g.h.Da=function(a){Bu(this.Ob,new g.cf(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Nc=function(){return-1};
g.h.wb=function(){return null!=this.Fa?this.Fa.wb():!1};
g.h.Bb=function(a,b,c){this.zc(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.Re=function(a){if(null==a||!pga(this,a))throw gn(go,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Qa;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.mimeTypes&&(a.mimeTypes=[]);qga(a.mimeTypes);if(!g.ta(a.kf)||0>=a.kf)a.kf=Un();g.gc(b,a)};
g.h.start=function(){Lu(this);if(!this.fe)throw fn(Ku,null,"Must call init before start.");};
g.h.stop=function(){this.destroy()};
g.h.getVolume=function(){return null!=this.volume?this.volume:0};
g.h.setVolume=function(a){((0,window.isNaN)(a)||0>a||1<a)&&kn(this,go,null,"volume",String(a));this.volume=a};
g.h.expand=function(){Lu(this);this.zc("fullscreen")};
g.h.collapse=function(){Lu(this);this.zc("normal")};
g.h.zc=function(a){if(!Sb(Nra,a))throw gn(go,null,"view mode",a);this.ad=a};
g.h.Fc=function(){return this.fn};
g.h.hasListeners=function(a){return(0,g.Lr)(a,function(a){if(g.jf(this))a=this.hasListener(a,void 0);else{var b=g.uf(this);a=!!b&&b.hasListener(a,void 0)}return a},this)};
g.h.eh=function(){return null};
g.h.lj=function(){return null};
g.h.FC=function(){return null};
g.h.De=function(){return null};
g.h.rf=function(){this.Da("abandon")};
g.h.zI=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.wb(),isVpaid:this.yb()&&null!=Os(this.ka()),isYouTube:P.g(),volume:this.getVolume()}};
g.h.yj=function(a){do if(Es(a))return!1;while(a=a.o);return!0};
g.h.fl=function(){for(var a=0;a<this.ads.length;++a)if(!this.yj(this.ads[a]))return!1;return mn()};
g.h.mT=function(a){var b=g.ub(k2,g.Tb(m2));zb(b);(0,g.H)(b,function(b){var c=pp(a.g,b);g.nb(c)||this.Ot(b,c)},this);
nga(this.Ob,a.I)};
g.h.Ot=function(a,b){(0,g.H)(b,function(a){rp(this.Ob.A,a.Yb(),a.g)},this)};
g.h.bQ=function(a){this.Qa.kx||(a=a.g,null!=a&&(a=a.clickThroughUrl,null!=a&&(Ym(a),this.pause())))};
g.h.Lj=function(a){var b=a.type;if(g.lb(l2,b)){if("externalActivityEvent"==b&&(b=a.g.eventName,!m2[b]))return;Ju(this,b)}};var Qu=["classid","data","movie","type","typemustmatch"];g.va(g.Ru);g.Ru.prototype.g=0;g.D(g.Su,g.Ff);g.h=g.Su.prototype;g.h.LJ=g.Ru.getInstance();g.h.getId=function(){return this.ya||(this.ya=":"+(this.LJ.g++).toString(36))};
g.h.oa=function(){return this.g};
g.h.Hh=function(a){if(this.B&&this.B!=a)throw Error("Method not supported");g.Su.Z.Hh.call(this,a)};
g.h.Rn=function(){this.g=this.I.createElement("DIV")};
g.h.ej=function(){this.Ie=!0;Uu(this,function(a){!a.Ie&&a.oa()&&a.ej()})};
g.h.Fk=function(){Uu(this,function(a){a.Ie&&a.Fk()});
this.D&&sm(this.D);this.Ie=!1};
g.h.W=function(){this.Ie&&this.Fk();this.D&&(this.D.dispose(),delete this.D);Uu(this,function(a){a.dispose()});
this.g&&g.Jd(this.g);this.B=this.g=this.F=this.L=null;g.Su.Z.W.call(this)};
g.h.Cc=function(){return this.g};
g.h.removeChild=function(a,b){if(a){var c=g.u(a)?a:a.getId();a=this.F&&c?cc(this.F,c)||null:null;if(c&&a){bc(this.F,c);g.sb(this.L,a);b&&(a.Fk(),a.g&&g.Jd(a.g));c=a;if(null==c)throw Error("Unable to set parent component");c.B=null;g.Su.Z.Hh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.D(Vu,g.Su);g.h=Vu.prototype;g.h.fb=null;g.h.Bp="window";g.h.Hm="sameDomain";g.h.setSize=function(a,b){this.G=g.u(a)?a:Math.round(a)+"px";this.C=g.u(b)?b:Math.round(b)+"px";this.oa()&&g.Gh(Wu(this),this.G,this.C);return this};
g.h.ej=function(){Vu.Z.ej.call(this);for(var a=this.oa(),b=this.o.Db(),c=this.o.sb(),d=[],e=0;e<b.length;e++){var f=g.Ma(b[e]),k=g.Ma(c[e]);d.push(f+"="+k)}b=d.join("&");if(g.vd&&!g.sc(11)){d=this.J;c={allowFullScreen:"true",AllowScriptAccess:this.Hm,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.Bp};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};rga(b,c);e={allownetworking:"none",allowscriptaccess:"never",movie:d};
d={};for(l in e)d[l]=e[l];for(l in c)f=l.toLowerCase(),f in e&&delete d[f],d[l]=c[l];c=[];for(l in d)c.push(Vc("param",{name:l,value:d[l]}));var l=Wc({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=Vc("object",l,c)}else l={AllowScriptAccess:this.Hm,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.Bp},l=Wc({src:this.J,type:"application/x-shockwave-flash",
pluginspage:"https://www.macromedia.com/go/getflashplayer"},{allownetworking:"none",allowscriptaccess:"never"},l),l=Vc("embed",l);a.innerHTML=g.Rc(l);this.G&&this.C&&this.setSize(this.G,this.C);this.A.U(this.oa(),g.Tb(yra),df)};
g.h.Rn=function(){if(null!=this.N&&!(0<=g.Ya(Yi,this.N)))throw Error("Method not supported");var a=this.I.createElement("DIV");a.className="goog-ui-media-flash";this.g=a};
g.h.W=function(){Vu.Z.W.call(this);this.o=null;this.A.dispose();this.A=null};
g.h.Sb=function(){return this.Ie&&this.oa()?g.yO&&Wu(this).readyState&&"complete"==Wu(this).readyState||Wu(this).readyState&&4==Wu(this).readyState||"PercentLoaded"in Wu(this)&&100==Wu(this).PercentLoaded()?!0:!1:!1};g.D(Xu,g.Ff);var bsa=Cc(vc(wc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Cc(vc(wc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=Xu.prototype;g.h.dispose=function(){this.g&&(this.g.dispose(),this.o=null);window[this.A]&&delete window[this.A];g.vg(this.B)};
g.h.load=function(a,b,c,d){window[this.A]=(0,g.A)(this.OJ,this);this.g=new Vu(bsa);this.g.setSize(b,c);this.g.Hm="always";this.g.Bp="transparent";this.g.o.set("vpaid",a);this.g.o.set("vpaidEventHandler",this.A);Tu(this.g,this.D);this.o=Wu(this.g);this.B=g.ug(this.PJ,d,this)};
g.h.NJ=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.OJ=function(a,b){"AdLoaded"==a&&(g.vg(this.B),this.C=!0);this.dispatchEvent(new ln(a,b||null))};
g.h.PJ=function(){this.dispatchEvent("loadError")};g.D($u,Hp);$u.prototype.vg=function(){var a=this.Rr();a=null!=a&&"clicktag"==a.toLowerCase();a={url:Wm(g.F(this.A)),width:this.Gb(),height:this.getHeight(),Kc:this.gf(),capture:this.zw||!a};var b=P.g()&&po(this.G,"hideMaster")?lp:jea;a=Xp(b,a);a.style.width=this.Gb()+"px";a.style.height=this.getHeight()+"px";a.id=this.ya;(0,g.H)(a.getElementsByTagName("object"),this.Wi,this);(0,g.H)(a.getElementsByTagName("a"),this.Wi,this);return a};g.D(av,Hp);av.prototype.vg=function(){var a=g.Ad("DIV");a.innerHTML=this.A;this.Wi(a);return Lp(this,a)};g.D(bv,Hp);bv.prototype.ld=function(){var a=bv.Z.ld.call(this);this.D&&(a=a.replace('src=""','src="'+Wm(g.F(this.A))+'"'));return a};
bv.prototype.Ur=function(){var a=bv.Z.Ur.call(this);this.D&&(a=a.replace('src=""','src="'+Wm(g.F(this.A))+'"'));return a};
bv.prototype.vg=function(a){var b="";this.D||(b=Wm(g.F(this.A)));b={id:this.ya,url:b,Kc:this.gf(),width:this.Gb()+"px",height:this.getHeight()+"px"};a=P.g()&&po(this.G,"hideMaster")?lp:a?lea:kea;a=Xp(a,b);(0,g.H)(a.getElementsByTagName("a"),this.Wi,this);return a};
bv.prototype.al=function(){return!0};ev.prototype.md=function(){return null!=this.g?Ep[this.g]||"Other":null};g.D(fv,Op);gv.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case "AdFormat":b=a.getAttribute("ad_system"),c=a.getAttribute("ad_type"),d=a.getAttribute("instream_type")}},this);
return null!=b&&null!=c&&null!=d?new fv(b,c,d):null};g.D(iv,Op);iv.prototype.isPharma=function(){return this.F};jv.prototype.parse=function(a){var b;Er(a,"config",function(a){null!=b||(b=wga(this,a))},this);
return b};kv.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.Nd(a),function(a){switch(a.nodeName){case "AttributionText":c=Dr(a);break;case "AttributionUrl":d=Dr(a);break;case "ConversionUrl":f=Dr(a);break;case "CustomTracking":null!=g.Nd(a)&&(e=Or(a));break;case "is_pharma":a=Cr(a,"bool");n=Hr(g.F(a));break;case "CheckedEvents":a=g.Nd(a);b=(0,g.J)(a,function(a){return Cr(a,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":Dr(a);break;case "VisibleUrl":k=Dr(a);break;case "UI":l=(new jv).parse(a);break;case "ShowYouTubeAnnotations":var q=Dr(a);m=Hr(g.F(q),!1);case "QueryId":Dr(a)}},this);
null!=l||(l=new hv);return new iv(c,d,f,0,k,l,m,0,n,e,b)};lv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Nd(a)&&(b=Or(a))}});
a=null;null!=b&&0<pp(b,"skip").length&&(a="Generic");return new Rr(a,b)};mv.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case "SkippableAdType":b=Dr(a);break;case "CustomTracking":null!=g.Nd(a)&&(c=Or(a))}});
return new Rr(b,c)};nv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Nd(a)&&(b=Or(a))}},this);
return new Op(b)};var q2;g.D(uv,ov);var r2;g.D(vv,ov);var s2,t2;g.D(wv,ov);var Cv;g.D(xv,ov);var Iv;g.D(yv,ov);var u2;g.D(zv,ov);var v2;g.D(Av,ov);var w2,x2;g.D(Bv,ov);var y2,z2,A2,B2,Kv;g.D(As,ov);var C2,D2,E2,F2,Jfa={XG:0,YG:1,a2:2,m2:3,Xv:4,j2:5,l2:6,e2:7},G2={XG:0,g2:1,d2:2,b2:3,c2:4,f2:5,Z1:6,h2:7,WG:8,TG:9,UG:10,VG:11};vv.prototype.Yb=function(){return pv(this,"type",0)};
vv.prototype.g=function(){return new Bv(this.data.website_card)};
vv.prototype.Xe=function(){return new wv(this.data.placement)};
xv.prototype.Yb=function(){return pv(this,"type",0)};
xv.prototype.getId=function(){return or(this,"id")};
xv.prototype.setTitle=function(a){this.data.title=a};
yv.prototype.Yb=function(){return pv(this,"type",0)};
zv.prototype.nd=function(){return or(this,"headline")};
zv.prototype.setDescription=function(a){this.data.description=a};
Av.prototype.setDescription=function(a){this.data.description=a};
Bv.prototype.nd=function(){return or(this,"headline")};
Bv.prototype.setDescription=function(a){this.data.description=a};
Bv.prototype.yg=function(){return new As(this.data.icon)};
Bv.prototype.Dn=function(){return new As(this.data.banner_image)};
As.prototype.getImageUrl=function(){return or(this,"image_url")};var Ov;
Ov={action:{type:{TYPE_APPLICATION_STORE:4,TYPE_ATTRIBUTION:5,TYPE_CALL_PROMPT:22,TYPE_CHANNEL:2,TYPE_COLLAPSE:17,TYPE_ENGAGEMENT_PANEL:20,TYPE_EXTERNAL:16,TYPE_FUNDRAISING:10,TYPE_GOOGLE_MAP_DIRECTIONS:23,TYPE_GOOGLE_MAP_PLACES:24,TYPE_HEADLINE:1,TYPE_HELPOUTS:15,TYPE_INLINE_APPLICATION_STORE:19,TYPE_INTERNAL:13,TYPE_IRDB:8,TYPE_LETTERMAN:14,TYPE_MERCH:9,TYPE_NONE:0,TYPE_PLAYLIST:7,TYPE_RESPONSE:12,TYPE_RESULTS:11,TYPE_SLAP:21,TYPE_SUBMIT_USER_INFO:25,TYPE_SUBSCRIPTION:6,TYPE_VIDEO:3,TYPE_VOTE:18}},ad_card:{attribution_position:{POSITION_BOTTOM_LEFT:0,
POSITION_BOTTOM_RIGHT:3,POSITION_TOP_LEFT:1,POSITION_TOP_RIGHT:2}},card:{prominence:{PROMINENCE_FEATURE:2,PROMINENCE_HIGHLIGHT:1,PROMINENCE_NONE:0},type:{TYPE_APP:2,TYPE_FORMFILL:7,TYPE_LOCATION:5,TYPE_NONE:0,TYPE_PRODUCT:1,TYPE_STORE_VISITS:6,TYPE_VOTE:3,TYPE_WEBSITE:4}},event:{type:{TYPE_ACTION:6,TYPE_ACTION_ENDCAP:9,TYPE_COLLAPSE:3,TYPE_COLLAPSE_ENDCAP:10,TYPE_DISMISS:4,TYPE_DISMISS_ENDCAP:11,TYPE_EXPAND:2,TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,
TYPE_NONE:0}},open_hours:{day_of_week:{DAY_FRIDAY:6,DAY_MONDAY:2,DAY_SATURDAY:7,DAY_SUNDAY:1,DAY_THURSDAY:5,DAY_TUESDAY:3,DAY_UNKNOWN:0,DAY_WEDNESDAY:4}}};g.D(Mv,Op);Nv.prototype.parse=function(a){var b=xr(a);if(E(g.F(b)))return null;if(this.g){var c=Pv;if(!q2){var d={};q2={g:d};if(!r2){var e={};r2={g:e};e.type=Dv;if(!s2){var f={};s2={g:f};f.major_version=Lv;f.minor_version=Lv}e.version=Uh(s2);e.priority=Lv;e.start_time_ms=Rh("j");e.end_time_ms=Rh("j");e.action=Vh(Hv());e.event=Vh(Gv());z2||(f={},z2={g:f},f.headline=Ev,f.description=Ev,f.attribution_icon_url=Ev,f.skippable_seconds=Lv,f.attribution_position=Dv);e.ad_card=Uh(z2);if(!u2){f={};u2={g:f};f.headline=
Ev;f.image=Uh(Fv());f.description=Ev;f.rating=d2;f.review_text=Ev;if(!v2){var k={};v2={g:k};k.merchant=Ev;k.price=Ev;k.shipping=Ev;k.shipping_tax=Ev;k.condition=Ev;k.unit_price=Ev;k.energy_label=Ev;k.description=Ev;k.rating=d2;k.review_text=Ev;k.action=Vh(Hv());k.event=Vh(Gv())}f.offer=Vh(v2)}e.product_card=Uh(u2);w2||(f={},w2={g:f},f.app_id=Ev,f.app_name=Ev,f.icon=Uh(Fv()),f.price=Ev,f.rating_image=Ev,f.review_count=Lv,f.app_store_logo=Uh(Fv()),f.button_text=Ev,f.screenshots=Vh(Fv()),f.rating=d2,
f.back_button_text=Ev,f.screenshots_text=Ev,f.cover_photo=Uh(Fv()));e.app_card=Uh(w2);x2||(f={},x2={g:f},f.headline=Ev,f.description=Ev,f.icon=Uh(Fv()),f.banner_image=Uh(Fv()));e.website_card=Uh(x2);y2||(f={},y2={g:f},f.invitation_headline=Ev,f.invitation_description=Ev,f.icon=Uh(Fv()),f.invitation_cta=Ev,f.form_headline=Ev,f.advertiser_name=Ev,f.email_key=Ev,f.email_value=Ev);e.formfill_card=Uh(y2);e.prominence=Dv;A2||(f={},A2={g:f},f.call_to_action_text=Ev);e.social_card=Uh(A2);B2||(f={},B2={g:f},
f.vote_line_1=Ev,f.vote_line_2=Ev,f.confirm_line_1=Ev,f.confirm_line_2=Ev);e.vote_card=Uh(B2);e.sponsored=e2;e.teaser_text=Ev;t2||(f={},t2={g:f},f.hide_in_drawer=e2,f.show_in_endcap=e2,f.show_in_companion=e2,f.show_in_cta=e2,f.override_clickthrough=e2,f.show_in_promotion_shelf=e2);e.placement=Uh(t2);C2||(f={},C2={g:f},f.latitude_e6=Lv,f.longitude_e6=Lv,f.address=Ev,f.image=Uh(Fv()),f.headline=Ev);e.location_card=Uh(C2);D2||(f={},D2={g:f},f.icon=Uh(Fv()),f.display_name=Ev,f.latitude_e7=Lv,f.longitude_e7=
Lv,F2||(k={},F2={g:k},k.display_address=Ev,k.city_province=Ev),f.address=Uh(F2),f.display_phone_number=Ev,E2||(k={},E2={g:k},k.day_of_week=Dv,k.display_day_of_week=Ev,k.display_hours=Ev),f.open_hours=Vh(E2),f.images=Vh(Fv()),f.distance_to_user_meters=Lv,f.average_rating=Lv,f.num_reviews=Lv);e.merchant_location=Uh(D2)}d.card=Vh(r2);d.event=Vh(Gv())}a=c(this,a,q2);a=c=new uv(a);d=new mp;for(e=0;e<tv(a,"card");e++)if(f=new vv(rv(a,"card",e)),zs(f.Xe()))for(k=0;k<tv(f,"event");k++){var l=new yv(rv(f,
"event",k)),m=null;switch(l.Yb()){case G2.TG:m="video_card_endcap_action";break;case G2.UG:m="video_card_endcap_collapse";break;case G2.VG:m="video_card_endcap_dismiss";break;case G2.WG:m="video_card_endcap_impression"}m&&rp(d,m,Qv(m,or(l,"base_url")))}a=d}else a=xga(this,a);return new Mv(b,c,a)};g.D(Rv,Op);Rv.prototype.bh=function(){return this.o};g.D(Sv,Op);Tv.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case "FeEventId":b=Dr(a);break;case "AdEventId":c=Dr(a)}},this);
return new Sv(b,c)};Uv.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.Nd(a),function(a){"config"!=a.nodeName||(0,g.H)(g.Nd(a),function(a){"params"!=a.nodeName||(0,g.H)(g.Nd(a),function(a){var d=this.A?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=Dr(a));null!=a.getAttribute("learn_more")&&(e+="|");g.lb(this.o,d)?b[d].push(e):b[d]=e},this)},this)},this);
return b};g.D(Wv,Uv);Wv.prototype.parse=function(a){if(null==a)return null;a=Vv(this,a);var b=a.UI;return new gt(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
Wv.prototype.B=function(a){var b=[],c=0;(0,g.H)(g.Nd(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case "DisplayName":d=Dr(a);break;case "URL":f=Dr(a)}},this);
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this);
return b};g.D(Xv,Op);Yv.prototype.parse=function(a){if(null==a)return null;var b=new Xv;(0,g.H)(g.Nd(a),function(a){if("DealId"!=a.nodeName)return null;a=Dr(a);a=g.F(a);E(a)||(b.o=a)},this);
return b};g.D(Zv,Op);$v.prototype.g={LG:"Siub",KG:"Scs",NE:"Bgub",ME:"Bgp"};$v.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case this.g.LG:b=Dr(a);break;case this.g.KG:c=Dr(a);break;case this.g.NE:d=Dr(a);break;case this.g.ME:e=Dr(a)}},this);
return b&&c&&d&&e?new Zv(b,c,d,e):null};g.D(aw,Op);bw.prototype.g={RG:"TEMPLATE_PARAMETERS",SG:"TEMPLATE_URL"};bw.prototype.parse=function(a){if(null==a)return null;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case this.g.RG:yga(this,a)}},this);
return new aw};g.D(cw,Op);cw.prototype.getImageUrl=function(){return this.B};dw.prototype.g={RF:"Line1",SF:"Line2",TF:"Line3",QF:"ImageUrl"};dw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case this.g.RF:b=Dr(a,!0);break;case this.g.SF:c=Dr(a,!0);break;case this.g.TF:d=Dr(a,!0);break;case this.g.QF:e=Dr(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 cw(b,c,d,e,f,k)};g.D(ew,Op);fw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.H)(g.Nd(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),E(g.F(a))||(b=a)}},this);
return new ew(b)};g.D(gw,Uv);var csa=["menu","got_it"],dsa=[["generic_message_left","generic_message_hypertext","generic_message_right"]];gw.prototype.parse=function(a){if(null==a)return null;a=Vv(this,a);var b=a.UI;if(!hw(b,csa))return null;var c,d=!0,e=!1;(0,g.H)(dsa,function(a){zga(b,a)&&(hw(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 it(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};iw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?bb(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new Sr(a)};g.D(jw,Op);kw.prototype.parse=function(a){return null!=a?new jw:null};lw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?bb(a):window.NaN;return new Dq(a)};g.D(mw,Yu);
mw.prototype.g={zE:"Ad",Ip:"AdParameters",FE:"AdSystem",GE:"AdTitle",AE:"Advertiser",JE:"AltText",SE:"ClickThrough",TE:"ClickTracking",VE:"Companion",WE:"CompanionAds",XE:"CompanionClickThrough",YE:"CompanionClickTracking",gF:"Creative",xX:"CreativeExtensions",hF:"Creatives",lF:"CustomClick",pF:"Description",Np:"Duration",ERROR:"Error",EXTENSION:"Extension",xF:"Extensions",lm:"HTMLResource",FF:"Icon",GF:"Icons",HF:"IconClicks",IF:"IconClickThrough",JF:"IconClickTracking",KF:"IconViewTracking",qm:"IFrameResource",
rm:"Impression",dZ:"InLine",LINEAR:"Linear",ZF:"MediaFile",aG:"MediaFiles",jG:"NonLinear",kG:"NonLinearAds",lG:"NonLinearClickThrough",mG:"NonLinearClickTracking",vG:"Pricing",sm:"StaticResource",QG:"Survey",T1:"Tracking",bq:"TrackingEvents",ZG:"UniversalAdId",E2:"VAST",bH:"VASTAdTagURI",cH:"VideoClicks",fH:"Wrapper"};
mw.prototype.o={BE:"adId",EE:"adSlotID",IE:"allowMultipleAds",im:"apiFramework",Yu:"bitrate",iF:"creativeType",oF:"delivery",Np:"duration",wY:"event",BF:"followAdditionalWrappers",vF:"expandedHeight",wF:"expandedWidth",Te:"height",pm:"id",LF:"idRegistry",MF:"idValue",WF:"maintainAspectRatio",YF:"maxBitrate",eG:"minBitrate",fG:"minSuggestedDuration",nG:"offset",wG:"program",zG:"required",CG:"scalable",Dv:"sequence",IG:"skipoffset",Wv:"type",VERSION:"version",dH:"codec",Bf:"width",hH:"xPosition",pH:"yPosition"};
mw.prototype.A=function(){return new Zu(this.B,Bga(this),null)};g.D(ww,Eu);g.h=ww.prototype;g.h.W=function(){this.F=!1;null===this.g?this.O&&this.dispatchEvent(new Bm("destroyInsecureFlashVpaid",this.ka())):this.g.dispose();this.A&&this.ia("contentResumeRequested");this.ia("allAdsCompleted");ww.Z.W.call(this)};
g.h.Nc=function(){var a=this.cd("getAdRemainingTime");return g.ta(a)?a:-1};
g.h.getVolume=function(){var a=this.cd("getAdVolume");return g.ta(a)?a:-1};
g.h.Rc=function(a,b,c){ww.Z.Rc.call(this,a,b,c);this.A=this.ka().g instanceof Ap};
g.h.init=function(a){ww.Z.init.call(this,a);a=this.ka();var b=Ps(a);b=g.F(b);if(E(b))Aw(this,Error("Flash VPAID ad url is empty."));else{if(Iu(a)){var c=a.g,d=Dp(c);null!=d&&(c.C=d)}this.Wa().U(ao(),l2,this.Lj);this.O?this.dispatchEvent(new Bm("initInsecureFlashVpaid",a,{url:g.F(b)})):null===this.Ia.Kf()?Aw(this,Error("Container must be provided for flash VPAID.")):(this.Ia.td(),null===this.g&&(this.g=new Xu(this.Ia.Kf())),this.Wa().U(this.g,"loadError",this.SP),this.Wa().U(this.g,"vpaidEventType",
this.cg),this.g.load(b,this.L,this.D,this.Qa.kf))}};
g.h.start=function(){if(this.F){ww.Z.start.call(this);var a=this.ka();this.Ob.B=a.J;var b=kq(a);this.Ob.g=b;if(b=a.g)this.Fg(a),this.hg(b,k2),this.Qj(b),Mu(this,a);this.Ia.td();Ou(this);this.Da("show_ad");this.setVolume(this.B);this.o=new g.sg(250);this.Wa().U(this.o,"tick",this.SJ);this.A?this.ia("contentPauseRequested"):(this.ia("contentResumeRequested"),yw(this));this.o.start();this.cd("startAd")}else this.I=!0};
g.h.stop=function(){this.J||(this.cd("stopAd"),this.Ia.hide(),null!=this.o&&(this.o.stop(),this.o=null),ww.Z.stop.call(this),this.J=!0)};
g.h.Bb=function(a,b,c){ww.Z.Bb.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.cd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.o&&this.o.stop();this.cd("pauseAd")};
g.h.resume=function(){null!=this.o&&this.o.start();this.cd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.N.getAdVolume=a;this.cd("setAdVolume",a)};
g.h.expand=function(){this.cd("expandAd")};
g.h.collapse=function(){this.cd("collapseAd")};
g.h.Kj=g.y;g.h.Wb=function(){return xw(this)};
g.h.skip=function(){this.cd("skipAd")};
g.h.getDuration=function(){var a=this.cd("getAdDuration");if(g.ta(a))return a;a=this.Nc();return 0<=a?this.C/1E3+a:-2};
g.h.SJ=function(){this.C+=250;var a=this.getDuration(),b=a-this.Nc();Pu(this,b,a)};
g.h.cd=function(a){if(this.J)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.O?(c=b.shift(),this.dispatchEvent(new Bm("callFlashVpaidMethod",this.yb()?this.ka():null,{methodName:c,args:b})),this.N[c]):null===this.g?null:this.g.NJ.apply(this.g,b)};
g.h.SP=function(){Aw(this,Error("Flash VPAID loader failed to load."))};
g.h.getCurrentTime=function(){return this.C/1E3};
g.h.cg=function(a){var b=a.data;switch(a.g){case "flashVpaidMethodResults":b&&(this.N[b.methodName]=b.result);break;case "flashReady":this.cd("handshakeVersion","2.0");b=hs(this.ka());this.cd("initAd",this.L,this.D,this.ad,this.Qa.bitrate,b);break;case "AdLoaded":this.F=!0;b=this.cd("getAdCompanions");a=g.u(b)?b:"";b=this.ka();g.nb(gs(b))&&(a=pw(a,b.g.g),g.nb(a)||Tr(b,a));Ju(this,"loaded");this.I&&(this.I=!1,this.start());break;case "AdStarted":this.Da("impression");this.Da("creativeview");this.ia("start");
break;case "AdVideoStart":this.Da("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.F(js(this.ka()))),b&&Ym(b));this.Da("click");this.ia("click");break;case "AdDurationChange":this.ia("durationChange");break;case "AdRemainingTimeChange":this.ia("durationChange");yw(this);break;case "AdError":a="AdError";b&&(a=b.message);Aw(this,Error(a));break;case "AdExpandedChange":this.ia("expandedChanged");break;case "AdImpression":b=this.ka();g.nb(gs(b))||this.zd(b);this.ia("impression");
break;case "AdLinearChange":b=xw(this);!this.A&&b?(this.ia("contentPauseRequested"),g.vg(this.G)):this.A&&!b&&(this.ia("contentResumeRequested"),yw(this));this.A=b;a=this.Wc;a.ra=!0;a.kb=b;this.ia("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.B&&(this.ia("volumeChange"),0==b&&0!=this.B?(this.Da("mute"),this.ia("mute")):0==this.B&&0!=b&&this.Da("unmute"),this.B=b);break;case "AdPaused":Ju(this,"pause");break;case "AdUserClose":Ju(this,"userClose");break;case "AdUserMinimize":this.Da("collapse");
break;case "AdVideoFirstQuartile":Ju(this,"firstquartile");break;case "AdVideoMidpoint":Ju(this,"midpoint");break;case "AdVideoThirdQuartile":Ju(this,"thirdquartile");break;case "AdVideoComplete":Bw(this);break;case "AdUserAcceptInvitation":this.A?this.Da("acceptinvitationlinear"):this.Da("acceptinvitation");break;case "AdStopped":Bw(this);this.Da("stop");this.stop();break;case "AdSkipped":Ju(this,"skip");break;case "AdSkippableStateChange":Ju(this,"skippableStateChanged");break;case "AdPlaying":Ju(this,
"resume");break;case "AdLog":this.ia("log")}};g.D(Cw,Eu);var esa=Cc(vc(wc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Cc(vc(wc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=Cw.prototype;g.h.W=function(){this.F=!1;this.g&&(this.g.dispose(),this.C=null);g.vg(this.G);this.A&&this.ia("contentResumeRequested");this.ia("allAdsCompleted");Cw.Z.W.call(this)};
g.h.Nc=function(){var a=this.jd("getAdRemainingTime");return g.ta(a)?a:-1};
g.h.getVolume=function(){var a=this.jd("getAdVolume");return g.ta(a)?a:-1};
g.h.Rc=function(a,b,c){Cw.Z.Rc.call(this,a,b,c);this.A=this.ka().g instanceof Ap};
g.h.init=function(a){Cw.Z.init.call(this,a);window[this.V]=(0,g.A)(this.TJ,this);this.Wa().U(ao(),l2,this.Lj);this.g=new Vu(esa);this.g.setSize(this.N,this.I);this.g.Hm="always";var b=this.ka();a=Ps(b);a=g.F(a);if(E(a))Fw(this,zw,Error("Flash VPAID ad url is empty.")),this.stop();else{if(Iu(b)){b=b.g;var c=Dp(b);null!=c&&(b.C=c)}this.g.o.set("vpaid",a);this.g.Bp="transparent";this.g.o.set("vpaidEventHandler",this.V);this.Ia.td();Tu(this.g,this.Ia.Kf());this.C=Wu(this.g);this.G=g.ug(this.VJ,this.Qa.kf,
this)}};
g.h.start=function(){if(this.F){Cw.Z.start.call(this);var a=this.ka();this.Ob.B=a.J;var b=kq(a);this.Ob.g=b;if(b=a.g)this.Fg(a),this.hg(b,k2),this.Qj(b),Mu(this,a);this.Ia.td();Ou(this);this.Da("show_ad");this.setVolume(this.B);this.o=new g.sg(250);this.Wa().U(this.o,"tick",this.UJ);this.A?this.ia("contentPauseRequested"):(this.ia("contentResumeRequested"),Ew(this));this.o.start();this.jd("startAd")}else this.L=!0};
g.h.stop=function(){this.Y||(this.Y=!0,this.jd("stopAd"),this.Ia.hide(),null!=this.o&&(this.o.stop(),this.o=null),Cw.Z.stop.call(this))};
g.h.Bb=function(a,b,c){Cw.Z.Bb.call(this,a,b,c);this.N=a;this.I=b;null!=this.g&&this.g.setSize(a,b);this.jd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.o&&this.o.stop();this.jd("pauseAd")};
g.h.resume=function(){null!=this.o&&this.o.start();this.jd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.jd("setAdVolume",a)};
g.h.expand=function(){this.jd("expandAd")};
g.h.collapse=function(){this.jd("collapseAd")};
g.h.Kj=function(){};
g.h.Wb=function(){return Dw(this)};
g.h.skip=function(){this.jd("skipAd")};
g.h.getDuration=function(){var a=this.jd("getAdDuration");if(g.ta(a))return a;a=this.Nc();return 0<=a?this.D/1E3+a:-2};
g.h.UJ=function(){this.D+=250;var a=this.getDuration(),b=a-this.Nc();Pu(this,b,a)};
g.h.jd=function(a){if(!this.g||!this.C)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);c=b.shift();var 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.VJ=function(){Fw(this,o2,null,(this.Qa.kf/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.D/1E3};
g.h.TJ=function(a,b){switch(a){case "flashReady":this.jd("handshakeVersion","2.0");var c=hs(this.ka());this.C.initAd(this.N,this.I,this.ad,this.Qa.bitrate,c);break;case "AdLoaded":g.vg(this.G);this.F=!0;c=this.jd("getAdCompanions");var d=g.u(c)?c:"";c=this.ka();g.nb(gs(c))&&(d=pw(d,c.g.g),g.nb(d)||Tr(c,d));Ju(this,"loaded");this.L&&(this.L=!1,this.start());break;case "AdStarted":this.Da("impression");this.Da("creativeview");this.ia("start");break;case "AdVideoStart":this.Da("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.F(js(this.ka()))),null!=c&&Ym(c));this.Da("click");this.ia("click");break;case "AdDurationChange":this.ia("durationChange");break;case "AdRemainingTimeChange":this.ia("durationChange");Ew(this);break;case "AdError":c="AdError";b&&(c=b.message);Fw(this,zw,Error(c));this.stop();break;case "AdExpandedChange":this.ia("expandedChanged");break;case "AdImpression":c=this.ka();g.nb(gs(c))||this.zd(c);this.ia("impression");break;case "AdLinearChange":c=Dw(this);!this.A&&c?
(this.ia("contentPauseRequested"),g.vg(this.J)):this.A&&!c&&(this.ia("contentResumeRequested"),Ew(this));this.A=c;d=this.Wc;d.ra=!0;d.kb=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.Da("mute"),this.ia("mute")):0==this.B&&0!=c&&this.Da("unmute"),this.B=c);break;case "AdPaused":Ju(this,"pause");break;case "AdUserClose":Ju(this,"userClose");break;case "AdUserMinimize":this.Da("collapse");break;case "AdVideoFirstQuartile":Ju(this,
"firstquartile");break;case "AdVideoMidpoint":Ju(this,"midpoint");break;case "AdVideoThirdQuartile":Ju(this,"thirdquartile");break;case "AdVideoComplete":Gw(this);break;case "AdUserAcceptInvitation":this.A?this.Da("acceptinvitationlinear"):this.Da("acceptinvitation");break;case "AdStopped":Gw(this);this.Da("stop");this.stop();break;case "AdSkipped":Ju(this,"skip");break;case "AdSkippableStateChange":Ju(this,"skippableStateChanged");break;case "AdPlaying":Ju(this,"resume");break;case "AdLog":this.ia("log")}};g.D(Hw,Bm);Kw.prototype.g=null;var H2;g.D(Nw,Kw);H2=new Nw;g.D(Tw,g.Ff);Tw.prototype.fb=null;var Mga=/^https?$/i,fsa=["POST","PUT"];g.h=Tw.prototype;
g.h.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.J+"; newUri="+a);b=b?b.toUpperCase():"GET";this.J=a;this.D="";this.o=0;this.ba=b;this.V=!1;this.A=!0;this.g=this.O?Sw(this.O):Sw(H2);this.N=this.O?Mw(this.O):Mw(H2);this.g.onreadystatechange=(0,g.A)(this.fy,this);try{um($w(this,"Opening Xhr")),this.Y=!0,this.g.open(b,String(a),!0),this.Y=!1}catch(f){um($w(this,"Error opening Xhr: "+f.message));Xw(this,f);return}a=c||"";var e=this.headers.clone();
d&&qda(d,function(a,b){e.set(b,a)});
d=g.gb(e.Db(),Lga);c=g.v.FormData&&a instanceof g.v.FormData;!g.lb(fsa,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.aa&&(this.g.responseType=this.aa);"withCredentials"in this.g&&this.g.withCredentials!==this.G&&(this.g.withCredentials=this.G);try{bx(this),0<this.C&&(this.L=Kga(this.g),um($w(this,"Will abort after "+this.C+"ms if incomplete, xhr2 "+this.L)),this.L?(this.g.timeout=this.C,this.g.ontimeout=(0,g.A)(this.gy,this)):this.F=g.ug(this.gy,this.C,this)),um($w(this,"Sending request")),this.I=!0,this.g.send(a),this.I=!1}catch(f){um($w(this,"Send error: "+f.message)),Xw(this,f)}};
g.h.gy=function(){"undefined"!=typeof Yw&&this.g&&(this.D="Timed out after "+this.C+"ms, aborting",this.o=8,$w(this,this.D),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.g&&this.A&&($w(this,"Aborting"),this.A=!1,this.B=!0,this.g.abort(),this.B=!1,this.o=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ww(this))};
g.h.W=function(){this.g&&(this.A&&(this.A=!1,this.B=!0,this.g.abort(),this.B=!1),Ww(this,!0));Tw.Z.W.call(this)};
g.h.fy=function(){this.la()||(this.Y||this.I||this.B?ax(this):this.rR())};
g.h.rR=function(){ax(this)};
g.h.isActive=function(){return!!this.g};
g.h.getStatus=function(){try{return 2<Zw(this)?this.g.status:-1}catch(a){return-1}};g.p(ex,Ci);ex.prototype.O=function(){if(this.o&&this.N){if(0<this.events.length||0<yba(this.G)){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(fx(b)):a[c]=[fx(b)]});
Pga(this,a);this.C===this.J&&this.Ij()}this.events.length=0;this.g.clearTimeout(this.B);this.B=0}};
ex.prototype.Qo=function(a){this.C<this.J&&(Ci.prototype.Qo.call(this,a),200<=this.events.length&&this.O())};
ex.prototype.Ij=function(){Ci.prototype.Ij.call(this);this.g.clearTimeout(this.B);this.B=0;bi(this.g,"unload",this.A);bi(this.g,"load",this.I)};ix.prototype.isLoggingEnabled=function(){return!!this.g};
g.va(ix);lx.prototype.isListed=!0;lx.prototype.gg=-1;g.D(nx,g.Ff);g.h=nx.prototype;g.h.start=function(){this.Hr();this.A=0;ox(this);this.o=!0;this.C.start()};
g.h.play=function(){this.o||(ox(this),this.o=!0,this.C.start())};
g.h.pause=function(){this.o&&ox(this)};
g.h.stop=function(){this.o&&ox(this);this.dispatchEvent("end")};
g.h.Hr=function(){};
g.h.kR=function(){this.A+=.2;this.Gr(this.A,this.N);this.dispatchEvent("timeUpdate");0>=this.N-this.A&&this.stop()};
g.h.Gr=g.y;g.h.W=function(){this.o=!1;this.J.dispose();nx.Z.W.call(this)};g.D(qx,nx);g.h=qx.prototype;g.h.start=function(){this.Hr();this.B.update(0,this.I);rt(this.g,this.G.A).play();this.J.U(this.B,"skip",this.wH);qx.Z.start.call(this)};
g.h.Hr=function(){var a=g.Hh(this.g);if(1==this.F){var b=400>=(0,window.parseInt)(g.sh(this.g,"width"),10)||400>=a.width;g.T(this.g,"videoAdUi-mobile",b)}else if(2==this.F){var c=g.Pd(this.g),d=g.Hh(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.wH=function(){this.pause();this.dispatchEvent("skip")};
g.h.Gr=function(a,b){this.B.update(a,b);if(this.D){var c=mx({Lg:px(b-a)});g.Td(this.D,c)}};
g.h.W=function(){this.B&&this.B.dispose();g.Gd(this.g);qx.Z.W.call(this)};g.D(tx,nx);var sx=Math.ceil(10*3.14);tx.prototype.F=function(a){P.g()||a.stopPropagation();this.dispatchEvent("click")};
tx.prototype.start=function(){tx.Z.start.call(this);null==this.g?this.stop():this.I&&(this.O&&780<=g.Hh(this.V).width&&this.I.Ly(!0),this.I.Kr())};
tx.prototype.Gr=function(a,b){var c=a/b*sx+" "+sx;null!=this.g&&g.oh(this.g,"stroke-dasharray",c)};g.D(ux,g.K);ux.prototype.show=function(a,b,c){vx(this);var d=ZN&&a&&!0,e=Pm();if(e.g("mweb_disable_iphone_interstitial_for_ios_10")||e.g("mweb_disable_iphone_interstitial_for_ios_10_ads_backend"))d=d&&(!tn(10)||!b);d?(a.appendChild(this.A),this.g=g.ug((0,g.A)(this.o,this,c),2E3)):c()};
ux.prototype.o=function(a){this.g=0;g.Jd(this.A);a()};
ux.prototype.W=function(){vx(this);ux.Z.W.call(this)};g.D(xx,g.cf);g.D(yx,g.Ff);zx.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var Zga={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=yx.prototype;g.h.W=function(){this.Xc();yx.Z.W.call(this)};
g.h.Xc=function(){null!=this.o&&this.o.dispose();null!=this.g&&this.g.Xc();null!=this.D&&this.D.dispose();this.D=null;null!=this.I&&this.I.dispose();this.I=null;this.N.clear();this.J=-1;this.F="";this.G=this.O=!1};
g.h.Cb=function(a,b,c,d){this.Xc();this.B.B=a.J;this.g=b;this.A=d||null;this.g.Cb();this.C=new zx(this.g);this.L=c||null;this.o=new g.mm(this);this.F=a.J;a=P.o?so():ao();this.o.U(a,"externalActivityEvent",this.QP);this.o.U(a,"measurable_impression",this.tQ);this.o.U(a,"viewable_impression",this.zS);this.o.U(this.g,"timeUpdate",this.yK);this.o.U(this.g,"volumeChange",this.zK);this.o.U(this.g,"pause",this.vK);this.o.U(this.g,"play",this.wK);this.o.U(this.g,"end",this.NP);this.o.U(this.g,"beginFullscreen",
this.tK);this.o.U(this.g,"endFullscreen",this.PP);this.o.U(this.g,"skip",this.Ty);this.o.U(this.g,"skipShown",this.HB);this.o.U(this.g,"start",this.xK);this.o.U(this.g,"error",this.sK);this.o.U(this.g,"mediaLoadTimeout",this.uK);null!=this.A&&(this.o.U(this.A,"videoIconClicked",(0,g.A)(function(a){this.dispatchEvent(a)},this)),this.o.U(this.A,"urlNavigationRequested",(0,g.A)(function(a){this.dispatchEvent(a)},this)),this.o.U(this.A,"videoShareShown",this.yS),this.o.U(this.A,"skipshown",this.HB),this.o.U(this.A,
"skip",this.Ty),this.o.U(this.A,"PUBLISHER_INVOKED_SKIP",this.oR),this.o.U(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.qI))};
g.h.tQ=function(a){var b=a.g;this.B.G.measurable_impression=null!=b?b.viewabilityString:null;a.g.queryId==this.F&&Ax(this,"measurable_impression",!0,!1)};
g.h.zS=function(a){a=a.g;a.queryId==this.F&&(this.B.G.viewable_impression=null!=a?a.viewabilityString:null,Ax(this,"viewable_impression",!0,!0))};
g.h.QP=function(a){a=a.g;var b=m2[a.eventName];b&&a.queryId==this.F&&(this.B.G[b]=null!=a?a.viewabilityString:null,Ax(this,b,!0,!0))};
g.h.yK=function(){if(this.G){var a=this.g.getDuration();if(-1!=a){this.g.Ak(.25*a)&&Ax(this,"firstquartile",!0,!0);this.g.Ak(.5*a)&&Ax(this,"midpoint",!0,!0);this.g.Ak(.75*a)&&Ax(this,"thirdquartile",!0,!0);var b=this.B,c=this.g.getCurrentTime();if(!Ql(b.o,"skip")){0>b.C&&(mea(b.A,a),b.C=0);a=pp(b.A,"progress");for(var d=[],e=b.C;e<a.length;e++){var f=a[e];if(tp(f.o)>c)break;b.C=e+1;d.push(f.g)}0<d.length&&Bu(b,new g.cf("progress"),d)}}Bx(this)}};
g.h.xK=function(){this.G=!0;Ax(this,"impression",!0,!0);Ax(this,"creativeview",!0,!0);null!=this.L||null!=this.A||this.o.U(this.g,"click",this.Vr);null!=this.L&&(this.D=new Ws,this.o.U(this.D,"click",this.Vr,!1),this.D.Cb(this.L));null!=this.A&&(this.I=new Ws,this.o.U(this.I,"click",this.Vr,!1),this.I.Cb(this.A));Ax(this,"start",!0,!0);(this.g.tj()||0==this.g.getVolume())&&Ax(this,"mute",!1,!1)};
g.h.zK=function(){var a=this.g.tj(),b=this.g.getVolume(),c=this.C;c.mute&&!a||!a&&0==c.volume&&0<b?Ax(this,"unmute",!1,!1):this.C.muted(a,b)&&Ax(this,"mute",!1,!1);this.C.mute=a;this.C.volume=b};
g.h.vK=function(){this.g.jh()?Cx(this):this.g.oi()&&!this.g.Ky()&&(this.C.paused=!0,Ax(this,"pause",!1,!1))};
g.h.wK=function(){this.C.paused&&(this.C.paused=!1,Ax(this,"resume",!1,!1))};
g.h.NP=function(){Cx(this)};
g.h.Vr=function(){Ax(this,"click",!1,!1)};
g.h.sK=function(){Ax(this,"error",!1,!1)};
g.h.uK=function(){Ax(this,"mediaLoadTimeout",!1,!1)};
g.h.HB=function(){Ax(this,"skipshown",!0,!1)};
g.h.qI=function(a){Ax(this,a.type,!1,!1)};
g.h.yS=function(){Ax(this,"videoShareShown",!0,!1)};
g.h.Ty=function(){Ax(this,"skip",!0,!1)};
g.h.oR=function(){Ax(this,"skip",!0,!1)};
g.h.tK=function(){Ax(this,"fullscreen",!1,!1)};
g.h.PP=function(){Ax(this,"exitfullscreen",!1,!1)};g.h=Ex.prototype;g.h.Lc=function(){return this.g.Lc()};
g.h.remove=function(a){return this.g.remove(Fx(a))};
g.h.clear=function(){this.g.clear()};
g.h.isEmpty=function(){return this.g.isEmpty()};
g.h.contains=function(a){return Ql(this.g,Fx(a))};
g.h.sb=function(){return this.g.sb()};
g.h.clone=function(){return new Ex(this)};
g.h.Xd=function(){return this.g.Xd(!1)};g.D(Gx,Eu);g.h=Gx.prototype;g.h.W=function(){Kx(this);this.Y.dispose();Ix(this);g.H(this.G.sb(),g.vg);var a=!1;null!=this.Ia&&(a=this.Ia.rj(),this.Ia.hide(),this.Ia=null);this.F&&(this.F=!1,this.Fa.oi()||this.Fa.jh()||this.Fa.pause(),qn()&&!a&&(this.Fa.uj(.001),this.Fa.load("","")),pn()&&this.Fa.sj()&&!a&&this.Fa.Jr(),this.ia("contentResumeRequested"),this.ia("allAdsCompleted"));null!=this.Fa&&this.Fa.unload();Gx.Z.W.call(this)};
g.h.muteAd=function(){P.g()&&(this.Da("mute_interaction_url"),this.Da("mute_url"),this.ia("MUTE_AD"),Hx(this,function(){Jx(this)}))};
g.h.whyThisAdClicked=function(){P.g()&&this.Da("why_this_ad_url")};
g.h.whyThisAdClosed=function(){P.g()&&this.Da("why_this_ad_got_it")};
g.h.Tj=function(){Ix(this);Gx.Z.Tj.call(this);this.yb()&&(this.Ob=new Au,this.A=new yx(this.Ob),this.O=!1,this.ia("loaded"))};
g.h.xt=function(a){Gx.Z.xt.call(this,a);null!=this.Fa&&this.Fa.Wt(1)};
g.h.wx=function(a,b){b.preventDefault();this.D||(this.D=!0,Ju(this,"video_card_endcap_action"));a&&(this.g.pause(),Ym(a))};
g.h.xx=function(){Hx(this,function(){Lx(this,"video_card_endcap_dismiss")})};
g.h.hI=function(){Lx(this,"video_card_endcap_collapse")};
g.h.xs=function(a,b,c,d){var e=$p(b);e&&(a.D=e);var f=a.getExtension("AdSense");null!=f&&null!=f.o&&f.o.o&&this.setVolume(0);if(this.Qa.tD){e=a.getExtension("AdSense");(f=this.ea)||(f=null===b?!1:"modules"==(new g.Ul(b)).hi().toLowerCase()||cq(b));var k=f||null!=e&&e.G;e=a.isBumper()?null:Ls(a);if((P.g()||Mk()?0:mn()&&(!this.fl()||null==this.Ia||!this.Ia.Jq())||Rs(a)||this.Qa.Au)||!P.g()&&k)this.Qa.xu=!0,this.Qa.Au=!0;f=kq(a,this.Fa);if(P.g()||this.Qa.Au){var l=E(g.F(js(a)))?!1:this.Qa.xu,m=a.D,n=
a.isBumper(),q=this.Qa,r=P.g()||!1,w=P.g();this.yj(a);var z=is(a,"feedbackLike"),B=is(a,"feedbackDislike");z=1!=z.length||1!=B.length?null:{feedbackLike:z[0],feedbackDislike:B[0]};e=pt(k,m,e,n,q,f);e.A=l;e.Va=q.lU;e.na=r;e.ga=!0;e.ea=w;e.I=q.uu;e.pa=q.zu;e.kb=q.mU;e.C=q.Cy;e.ba=0;q.uu&&(e.ph=""+Ia("Visit Advertiser"));e.Ra=z}else cs(a)?(l=a.D,q=a.isBumper(),!E(g.F(l))&&null!==e&&0<tp(e)&&(k=!0),e=pt(k,l,e,q,this.Qa,f),e.Y=k?Yea:Xea):(l=a.isBumper(),e=pt(k,a.D,e,l,this.Qa,f),e.C=!1,e.F=!1,e.o=!1);
Rm(Om(),420706069)&&(P.D=!0);!P.g()&&P.D&&(e.N=!0);f=e;k=this.Ia.Rk();null===k?k=window.document.body:g.Gd(k);l=this.ka();q=1E3*l.getDuration();r=l.getExtension("why_this_ad");w=l.getExtension("mute");f.J=new jt(r,w);kt(f.J)&&(w=null!=r?r.B:void 0,r="<span class='"+R("videoAdUiAdSettingsShortTooltip")+"'>",w?r+=Q(w):(w=Ia("Click for Ad Settings"),r+=w),r=Ro(r+"</span>"),f.se=r);this.Ja=new ru(f,k,q,l.af());k=l.D;null!=k&&Ox(this,k,f.kb);f=this.Ja;f.V&&(f=f.V,k=0==this.C,f.g!=k&&(f.g=k,xt(f)));this.ea&&
(k=a.getExtension("AdSense"),null!=k?(f=this.Ja,k=g.F(k.A),null!=f.J&&(g.M(f.J,!0),k=new g.Ul(k),k=Pa((k.o+k.A).replace(/^www\./i,""),35),E(g.F(k))?wu(f):g.Td(f.J,k)),null!=f.aa&&g.M(f.aa,!0)):wu(this.Ja));f=[];e.F&&f.push("adAttribution");e.o&&f.push("countdown")}else e&&Ox(this,e,this.Qa.mq);if(d=d?this.Ia.Vn():this.Fa)Tx(this)?(d.Cb(),this.Wa().U(d,"error",this.zB),this.Wa().U(d,"loaded",g.y)):this.hp(a),d.Zo(dha(this,a)),d.load(b,c)};
g.h.kw=function(a){var b=this.yb()?this.ka().D:null;if(b){var c=this.Mk();Mx(this)&&a&&(c=oha(this,c,a));a=this.Lk();c||a||!Mx(this)||(c=" ");(c||a)&&this.Fa.Ir(b,c||null,a||null)}};
g.h.US=function(a,b,c){null!==a.L&&Tn(Qn.getInstance(),34,{evt:"filled"},!0);this.aa||(this.aa=!0,this.ia("contentPauseRequested"));Vx(this)&&!this.J||Tx(this)||this.xs(a,b,c);this.F=!0;this.setVolume(this.C);this.Ja&&(E(g.F(Rx(a)))?(b=this.Ja,null!=b.C&&(b.A.Ca(b.C,"click",b.xp),g.oh(b.C,"cursor","default"))):(b=this.Ja,null!=b.C&&(b.A.U(b.C,"click",b.xp),null!=b.F&&!g.Kh(b.F)&&g.oh(b.C,"cursor","pointer"))),b=a.g.ra,g.nb(b)||vu(this.Ja,b),this.Ja.show());Tx(this)&&(b=this.Ia instanceof zm?this.Ia.g:
this.Ia,this.J&&(b.hide(),b.Wn(),this.Fa=b.Yk(Hu(this))),this.hp(a),this.Ia instanceof zm&&b.Qf());this.L=!1;this.Da("show_ad");this.Ia.Qf();if(!P.A)try{this.zd(a)}catch(d){$x(this,n2,d);return}kx("pi");if(b=null!=this.Ja)b=this.Ja,b=mn()?!1:null!=b.g.L?b.g.G&&b.g.L==ls(a):b.g.G;b?cha(this):this.Y.show(this.Ia.Rk(),this.Qa.wu,(0,g.A)(this.Fa.play,this.Fa))};
g.h.hp=function(a){this.A.Cb(a,this.Fa,this.Ia.Wq(),this.Ja);this.Wa().U(this.A,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start".split(" "),this.MB);this.Wa().U(this.Fa,"loaded",this.wS);this.Wa().U(this.Fa,"cardsStateChange",this.ZJ);this.Wa().U(this.Fa,"timeUpdate",this.QB);this.Wa().U(this.Fa,"volumeChange",this.cK);this.Wa().U(this.Fa,
"shareClicked",this.AC);this.Fg(a);var b=kq(a,this.Fa);this.Ob.g=b;b=a.g;null!=b&&b instanceof Ap&&(this.hg(b,k2),this.Qj(b),b=this.Wa(),om(b,this.A,"error",this.aK,this),om(b,this.A,"mediaLoadTimeout",this.bK,this));Mu(this,a);a.isSkippable()&&(this.A.J=30)};
g.h.Kj=function(){Vx(this)&&Yx(this);this.ia("loaded");this.dispatchEvent(new Hw(this.ka()))};
g.h.skip=function(){this.yb()&&this.ka().isSkippable()&&(null!=this.Ja?this.Ja.skip():(this.Da("skip"),fy(this)))};
g.h.BC=function(){Ju(this,"skipshown")};
g.h.start=function(){Gx.Z.start.call(this);this.N=[];try{var a=this.ka();this.o=Ux(this,a);kx("am");Hx(this,(0,g.A)(Gx.prototype.US,this,a,this.o.o,this.o.g))}catch(b){Wx(this,b),this.Tj(),this.yb()?(jn(this,Xx,b),this.start()):(this.F?jn(this,Xx,b):(null!=this.Jd&&this.Jd.zd(NA()),kn(this,Xx,b)),this.stop())}};
g.h.getVolume=function(){Lu(this);return this.Fa.tj()?0:this.Fa.getVolume()};
g.h.setVolume=function(a){Lu(this);this.F?this.Fa.setVolume(a):this.C=a};
g.h.pause=function(){Lu(this);this.g?this.g.pause():this.Fa.pause()};
g.h.resume=function(){Lu(this);this.g?this.g.play():this.Fa.play()};
g.h.getCurrentTime=function(){Lu(this);var a=this.g?this.g.A:0;return this.Fa.getCurrentTime()+a};
g.h.getDuration=function(){Lu(this);var a=this.yb()?Ns(this.ka()):0;return this.Fa.getDuration()+a};
g.h.Nc=function(){Lu(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.De=function(){return this.Fa.De()};
g.h.aK=function(){Vx(this)&&!this.J&&this.zB();$x(this,Xx,gn(Xx,this.Fa.getError()))};
g.h.zB=function(){this.L=!0};
g.h.bK=function(){iha(this);$x(this,o2,gn(o2,null,(this.Qa.kf/1E3).toString()))};
g.h.Ot=function(a,b){Gx.Z.Ot.call(this,a,b);by(this,a)};
g.h.MB=function(a){switch(a.type){case "start":kx("ff");this.ia("start");P.g()&&P.A&&this.ka()&&this.ka().I&&this.ia("youtubeKevlarCompanionShow");this.wj();this.I=!0;this.Ja&&(P.D&&!P.g()&&(this.Ja.Gc=!0),zu(this.Ja));break;case "impression":this.ia("impression");this.J=!0;Tx(this)&&hha(this);break;case "viewable_impression":this.ia("viewable_impression");break;case "why_this_ad_url":this.da=this.Fa.oi();Zx(this,"why_this_ad_url");this.pause();break;case "pause":this.ia("pause");break;case "why_this_ad_got_it":Zx(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.Ja&&tu(this.Ja,"complete",this.getCurrentTime(),Fs(this.ka()));bha(this)||(this.ia("complete"),this.Da("instreamAdComplete"),Jx(this));break;case "click":this.Ja&&this.Ja.g.A?this.Fa.oi()?this.resume():this.pause():ay(this);break;case "engagedview":cy(this);
this.ia("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);break;case "videoAuthorIconClicked":hy(this);break;case "videoAuthorClicked":hy(this);break;case "videoClicked":this.ia("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.g&&!this.D&&(this.D=!0,Ju(this,"video_card_endcap_action"));!P.g()&&cy(this);ay(this);this.Fa.pause();break;case "videoShareClicked":kha(this);break;case "videoShareShown":lha(this);break;case "videoTitleClicked":mha(this);
break;case "videoMuteClicked":this.ba=this.C;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.ba);break;case "skipshown":this.ia("skippableStateChanged");break;case "skip":this.Ja&&tu(this.Ja,"skip",this.getCurrentTime(),Fs(this.ka()));this.g?this.xx():fy(this);break;case "MUTE_AD":this.ia("MUTE_AD"),Hx(this,function(){Jx(this)})}};
g.h.rf=function(){Gx.Z.rf.call(this);this.Ja&&tu(this.Ja,"abandon",this.getCurrentTime(),Fs(this.ka()));this.B&&(g.af(this.B),this.B=null)};
g.h.AC=function(){var a=dy(this)||ey(this);null!=a&&$m(a,"sharebuttonclicked")};
g.h.Fg=function(a){Gx.Z.Fg.call(this,a);by(this,"impression")};
g.h.hg=function(a,b){Gx.Z.hg.call(this,a,b);(0,g.H)(b,function(a){by(this,a)},this)};
g.h.Qj=function(a){Gx.Z.Qj.call(this,a);a instanceof Ap&&(a=Bp(a),(0,g.H)(a.Db(),function(a){by(this,a)},this))};
g.h.lj=function(){if(!this.yb())return null;try{var a=this.ka();if(null==a)return null;var b=Ux(this,a);return null!=b?b.o:null}catch(c){return null}};
g.h.eh=function(){if(!this.yb())return null;var a=this.ka();if(!Iu(a))throw gn(Sx);a=a.g.dh();return g.nb(a)?null:a[0].o};
g.h.wS=function(){this.ia("adCanPlay")};
g.h.ZJ=function(){var a=this.Ja;null!=a.o&&g.T(a.o,"ytp-iv-drawer-open",this.Fa.Jy())};
g.h.QB=function(){var a=this.getDuration();Lu(this);var b=this.g?this.getDuration():this.Fa.Mx();var c=this.getCurrentTime(),d=0,e=0;this.yb()&&(e=this.ka(),d=e.C.g,e=e.C.kg);if(null!=this.Ja&&0<=a&&0<=c){if(!this.V&&3==this.ka().Ra){var f=this.Fa.getDuration(),k=Fs(this.ka());f=Math.abs(f-k);2<f&&(f=gn(Tra,null,Number(f).toFixed(2)),f=jq(f,this.ka(),this.Fa),k=es(this.ka()),cn(k,f));this.V=!0}this.Ja.update(c,b,a,d,e)}};
g.h.cK=function(){var a=this.Fa.getVolume();if(a!=this.C&&(this.C=a,this.ia("volumeChange",{volume:a}),0==a&&this.ia("mute"),this.Ja)){var b=this.Ja;b.V&&(b=b.V,a=0==a,b.g!=a&&(b.g=a,xt(b)))}};
g.h.rT=function(a){var b=this.yb()&&Us(this.ka());return!a||E(g.F(a.channelId))||!a.isListed&&!b?dg():new g.Zf(function(b,d){Oga(a.channelId,function(a){a=new Do(a);b(a)},function(){d()},this)},this)};
g.h.VH=function(a){var b=Pm(),c=this.ka();if((g.nb(gs(c))||!gs(c)[0].B)&&!b.g("website_actions_holdback")&&P.g()&&Rs(c)){var d=Hfa(c,a);if(d)if(ks(c,[d]),P.A)this.I&&c.I&&this.ia("youtubeKevlarCompanionShow");else try{this.zd(c)}catch(n){$x(this,n2,n)}}if(d=this.Ja){d=this.ka();var e=d.O;d=P.g()&&g.nb(gs(d))&&null!=d.ha&&null!=e&&e.isListed}P.A&&(d=d&&!c.I);if(d){this.Wa().U(window,"message",this.YJ);d=this.ka();e=d.ha.channelId;var f=oq(d),k=this.Qa.contentId,l=this.Qa.Zi;l=new g.Ul((null!=l?l:"//www.youtube.com/")+
"ad_companion");var m=l.g;m.set("adformat",f);m.set("p",e);m.set("render","video_wall_companion");k&&m.set("content",k);e=new Hp("1",new g.gd(300,250),"IFrame",null,l.toString());e.I=d;e.D=!0;d=new Qq(e,[],null,!0);P.A?(P.g()&&P.A&&"IFrame"===d.g.N&&(e=d.Yn(),c.I={iframeCompanionRenderer:{width:e.width,height:e.height,url:d.g.A}}),this.I&&c.I&&this.ia("youtubeKevlarCompanionShow")):(Ds(c,d),this.zd(c))}Gs(c)||b.g("website_actions_holdback")||b.g("website_actions_endcap_holdback")||!Rs(c)||Ffa(c,a);
return a};
g.h.YJ=function(a){var b=a.g;if("companion-setup-complete"==b.data){a=this.ka();var c=(0,window.encodeURIComponent)(g.F(js(a)))+","+(0,window.encodeURIComponent)((dy(this)||ey(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";b.width=370;b.height=null!=js(a)?210:185}else"pause-video"==b.data&&this.pause()};
g.h.NT=function(a){if(null!=this.Ja&&a.isListed){var b=this.Ja,c=a.title;b.g.O=!E(g.F(c));b.g.title=c;null!=b.G&&g.Td(b.G,b.g.title);qu(b);b=this.Ja;null!=b.bb?g.Td(b.bb,""+Ia("Share")):null!=b.N&&g.Td(b.N,""+Ia("Share"));b=this.Ja;c=a.gg;null!=c&&(b.g.gg=c);qu(b)}this.yb()&&(this.ka().O=a,this.ia("youTubeVideoMetadata"));return a};
g.h.LT=function(a){if(null!=this.Ja&&gy(this)){var b=this.Ja,c=a.authorName;b.g.Aa=!E(g.F(c));b.g.authorName=c;null!=b.D&&(c=Ia("by {$userDisplayName}",{userDisplayName:""+b.g.authorName}),g.Td(b.D,(new Ho(""+c,void 0)).ld()));qu(b);b=this.Ja;c=a.channelIconThumbnailUrl;b.g.sa=!E(g.F(c));if(null!=b.O){var d=g.Cd("img");d.setAttribute("src",c);g.S(d,"videoAdUiAuthorIconImage");b.O.appendChild(d);null!=b.G&&g.S(b.G,"videoAdUiTitleWithAuthorIcon");null!=b.D&&g.S(b.D,"videoAdUiAuthorNameWithAuthorIcon")}qu(b)}this.yb()&&
(this.ka().ha=a,this.ia("youTubeChannelMetadata"));return a};
g.h.Bb=function(a,b,c){Gx.Z.Bb.call(this,a,b,c);null!=this.Ja&&this.Ja.Bb()};g.D(iy,g.Ff);iy.prototype.g=!1;iy.prototype.connect=function(){for(this.g=!0;!g.nb(this.o);){var a=this.o.shift();this.sendMessage(a.name,a.type,a.data)}};
iy.prototype.isConnected=function(){return this.g};
iy.prototype.send=function(a,b,c){this.g?this.sendMessage(a,b,c):this.o.push({name:a,type:b,data:c})};
g.D(jy,g.cf);jy.prototype.getOrigin=function(){return this.A};
jy.prototype.toString=function(){return""};g.D(ky,iy);ky.prototype.sendMessage=function(a,b,c){null!=this.sf&&null!=this.sf.postMessage&&this.sf.postMessage(pha(this,a,b,c),"*");null!=this.sf&&null==this.sf.postMessage&&Tn(Qn.getInstance(),11)};
ky.prototype.W=function(){this.B.dispose();ky.Z.W.call(this)};
ky.prototype.receive=function(a){a=a.g;var b=ly(a.data);if(my(this,b)){if(null==this.sf)this.sf=a.source,this.isConnected()||this.connect();else if(this.sf!=a.source)return;my(this,b)&&this.dispatchEvent(new jy(b.name,b.type,b.data||{},b.sid,a.origin))}};g.D(ny,g.cf);g.D(oy,Eu);g.h=oy.prototype;
g.h.init=function(a){oy.Z.init.call(this,a);this.V=g.ug(this.dK,this.Qa.kf,this);this.Wa().U(window,"message",this.BS);this.Wa().U(this.I,"tick",this.YS);a=P.o?so():ao();this.Wa().U(a,l2,this.Lj);if(sy())this.dispatchEvent(new ny(0,this.C));else{a=Os(this.ka());if(/\.html(\?.*)?$/.test(a)){if(a.match("//s0.2mdn.net/instream/html5/survey/survey.html")){var b="en".replace("-","_");a=a.replace(".html","_"+b+".html");null!=this.Qa.contentId&&(a=Vg(a,"v",this.Qa.contentId));P.g()&&(b=Tg(a,"st"),b=sha(this,
b?b+" yt":"yt"),a=Vg(a,"st",b))}a=g.F(a)}else{b=new g.Ul(a);var c=new g.Ul("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.B&&Vl(c,"https");this.Y=b.o;a=Zl(c,a||"",void 0).toString()}this.A=g.Ad("IFRAME",{src:Wm(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.Wa().U(this.A,"load",this.XH);this.Ia.Kf().appendChild(this.A)}};
g.h.Rc=function(a,b,c){oy.Z.Rc.call(this,a,b,c);this.o=this.ka().g instanceof Ap;this.g=a.Yk(!1);sy()||(this.Wa().U(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.yR),this.Wa().U(this.g,iA,this.qP))};
g.h.stop=function(){this.I.stop();this.Ia.hide();oy.Z.stop.call(this)};
g.h.Wb=function(){return 1==this.o};
g.h.start=function(){oy.Z.start.call(this);if(!P.g()){var a={};a.pid=ix.getInstance().o;a.dn=this.Y;a["if"]=sy();Tn(Qn.getInstance(),29,a,!0)}a=this.ka();this.Ob.B=a.J;var b=kq(a,this.g);this.Ob.g=b;if(b=a.g)this.Fg(a),this.hg(b,k2),this.Qj(b),Mu(this,a);this.g.Cb();this.Da("show_ad");this.Ia.td();Ou(this);null!=this.A&&(this.A.style.display="block");this.g.setVolume(this.B);this.aa=!0;this.o&&this.ia("contentPauseRequested");vy(this)};
g.h.Bb=function(a,b,c){oy.Z.Bb.call(this,a,b,c);ry(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.D||ry(this,"pauseAd")};
g.h.resume=function(){this.D&&(ry(this,"resumeAd"),yy(this,"play"))};
g.h.setVolume=function(a){this.B=a;oy.Z.setVolume.call(this,a);ry(this,"setAdVolume",{value:a})};
g.h.W=function(){sy()&&this.dispatchEvent(new ny(0,this.C));g.Jd(this.A);this.o&&(!this.N||this.g.oi()||this.g.jh()||this.g.pause(),this.ia("contentResumeRequested"));this.ia("allAdsCompleted");this.Tc=!1;this.G=[];g.vg(this.V);this.I.dispose();oy.Z.W.call(this)};
g.h.Kj=function(){};
g.h.XH=function(){if(!sy()){var a=this.g.fr();g.nb(a)&&(a=this.Qa.mimeTypes);ry(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}qy(this)};
var rha={use_fast_fade_in_0s:"ffi-0",use_fast_fade_in_1s:"ffi-1",use_new_style:"new",hide_preskip:"nps",use_sound:"snd",hide_progress_bar:"npb",use_survey_skip_in_2s:"skip-2",use_survey_skip_in_3s:"skip-3",use_survey_skip_in_10s:"skip-10",use_survey_skip_in_15s:"skip-15",use_survey_skip_in_20s:"skip-20",use_survey_length_15s:"time-15",use_survey_length_45s:"time-45",use_survey_skip_in_0s:"sec-0",use_survey_length_unlimited:"time-ul",hide_advertisement_text:"nat",use_skip_survey_text:"skip_survey",
show_interstitial_white:"intr-white",show_interstitial_blue:"intr-blue",show_interstitial_for_3s:"intr-time-3",show_interstitial_for_5s:"intr-time-5",show_interstitial_close_icon:"intr-close-icon",set_interstitial_survey_text:"intr-txt-survey",set_interstitial_question_text:"intr-txt-question",set_interstitial_start_button:"intr-start-button"};g.h=oy.prototype;
g.h.BS=function(a){a=a.g;if(sy()){if(a=ly(a.data),null!=a){try{var b=g.yg(a.data)}catch(c){return}null!=b&&b.session==this.C&&wy(this,b)}}else if(a.source==this.A.contentWindow){try{b=g.yg(a.data)}catch(c){return}b.session==this.C&&wy(this,b)}};
g.h.dK=function(){ty(this,o2,null,(this.Qa.kf/1E3).toString());this.stop()};
g.h.yR=function(a){switch(a.type){case "timeUpdate":a=this.g.getDuration();var b=this.g.getCurrentTime();py(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":yy(this,"ended");break;case "loaded":yy(this,"loadstart");break;case "mediaLoadTimeout":yy(this,"stalled");break;case "play":yy(this,"playing");break;default:yy(this,a.type)}};
g.h.qP=function(a){a=a.type;"loadedmetadata"==a?(a=this.g.getDuration(),py(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):yy(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Nc()?-1:this.getDuration()-this.Nc()};
g.h.getDuration=function(){return this.F};
g.h.Nc=function(){return this.J};
g.h.wb=function(){return!this.D};
g.h.YS=function(){ry(this,"getAdRemainingTime")};g.D(zy,Eu);g.h=zy.prototype;g.h.Mk=function(){return this.Fc()?this.g.Mk():""};
g.h.Lk=function(){return this.Fc()?this.g.Lk():""};
g.h.We=function(){return this.Fc()?this.g.We():null};
g.h.ka=function(){if(this.g)return this.g.We();throw gn(Ku,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.yb=function(){return null!=this.g&&null!=this.g.We()};
g.h.Wk=function(){return!1};
g.h.Ee=function(){return null};
g.h.Xo=function(){this.yb()&&(this.ads=[this.ka()],this.Wc=this.ka())};
g.h.destroy=function(){this.g&&(this.g.destroy(),this.g=null);zy.Z.destroy.call(this)};
g.h.Lb=function(){return this.g?this.g.Lb():null};
g.h.wj=function(){this.F=!0;this.g&&this.g.wj()};
g.h.init=function(a){this.zc(a);this.Fc()&&this.g.init(a)};
g.h.Rc=function(a,b,c){a&&a instanceof zm&&(a=a.g);zy.Z.Rc.call(this,a,b,c);By(this,a,b,c)};
g.h.W=function(){this.ia("allAdsCompleted");Cy(this);zy.Z.W.call(this)};
g.h.getCurrentTime=function(){return this.Fc()?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.Fc()?this.g.getDuration():-1};
g.h.Nc=function(){return this.Fc()?this.g.Nc():-1};
g.h.Bb=function(a,b,c){this.Zd=a;this.Yd=b;this.zc(c);this.Fc()&&this.g.Bb(a,b,c)};
g.h.pause=function(){this.Fc()&&this.g.pause()};
g.h.resume=function(){this.Fc()&&this.g.resume()};
g.h.skip=function(){this.Fc()&&this.g.skip()};
g.h.muteAd=function(){this.Fc()&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.Fc()&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Fc()&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.Fc()){var a=this.g,b=this.Ia;a&&b&&(null!=a&&a instanceof Gx?b.Qf():null!=a&&a instanceof oy?(b.td(),b.Qf()):null!=a&&(a instanceof Cw||a instanceof ww)&&b.td());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.stop=function(){this.Lb()&&this.Lb().Wb()&&this.ia("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Fc()?this.g.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;zy.Z.setVolume.call(this,a);this.Fc()&&this.g.setVolume(a)};
g.h.zc=function(a){zy.Z.zc.call(this,a);this.g&&this.g.zc(a)};
g.h.De=function(){return this.g?this.g.De():null};
g.h.rf=function(){this.g&&this.g.rf()};
g.h.yj=function(a){return this.g?this.g.yj(a):!1};
g.h.fl=function(){return this.g?this.g.fl():!1};
g.h.lj=function(){return this.g?this.g.lj():null};
g.h.ZA=function(a){this.dispatchEvent(a)};
g.h.gB=function(a){this.dispatchEvent(a)};
g.h.At=function(a){this.dispatchEvent(a)};
g.h.Gg=function(a){zy.Z.Gg.call(this,a);this.g&&this.g.Gg(a)};
g.h.Fi=function(){this.ia("userClose")};
g.h.Ei=function(){this.ia("autoClose")};
g.h.cg=function(a){this.g&&this.g instanceof ww&&this.g.cg(a)};
g.h.Fc=function(){return null!=this.g&&this.g.Fc()};g.D(Ey,zy);g.h=Ey.prototype;g.h.Lb=function(){return this.A};
g.h.dispatchEvent=function(a){if(a instanceof Bm){if("loaded"==a.type&&this.C)return a.stopPropagation(),!1;"loaded"==a.type&&(this.C=!0)}return Ey.Z.dispatchEvent.call(this,a)};
g.h.Wk=function(){return null!=ws(this.A)&&ws(this.A).Of()};
g.h.ZA=function(a){if(this.B)this.dispatchEvent(a);else{var b=a.getError()||gn(Xx);a=a.target.Lb();vs(a);Gy(this,ws(a),Error(b.Cd()))}};
g.h.At=function(a){this.B&&(Ey.Z.At.call(this,a),this.destroy())};
g.h.gB=function(a){this.D||(this.D=!0,this.dispatchEvent(a))};
g.h.CO=function(){this.o&&this.o.dispose();this.B=!0};g.D(Hy,Eu);g.h=Hy.prototype;g.h.Mk=function(){return this.g?this.g.Mk():""};
g.h.Lk=function(){return this.g?this.g.Lk():""};
g.h.We=function(){return this.g?this.g.We():null};
g.h.ka=function(){if(this.g)return this.g.We();throw gn(Ku,null,"Current ads manager not available.\n"+Error().stack);};
g.h.yb=function(){return null!=this.g&&null!=this.g.We()};
g.h.Wk=function(){return this.A+1<this.o.length};
g.h.Ee=function(){return this.Wk()?this.o[this.A+1].We():null};
g.h.Xo=function(){this.yb()&&(this.ads=[this.ka()],this.Wc=this.ka())};
g.h.Wa=function(){};
g.h.destroy=function(){this.g&&this.g.destroy();Hy.Z.destroy.call(this)};
g.h.Lb=function(){return this.g?this.g.Lb():null};
g.h.wj=function(){this.g&&this.g.wj()};
g.h.init=function(a){this.zc(a);this.g&&this.g.init(a)};
g.h.Rc=function(a,b,c){a&&a instanceof zm&&(a=a.g);Hy.Z.Rc.call(this,a,b,c);Iy(this,a,b,c)};
g.h.W=function(){(0,g.H)(this.o,function(a){a!==this.g&&a.destroy()},this);
Ly(this);this.D&&(this.D.dispose(),this.D=null);this.B&&(this.B.destroy(),this.B=null);this.ia("allAdsCompleted");Hy.Z.W.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.Nc=function(){return this.g?this.g.Nc():-1};
g.h.Bb=function(a,b,c){this.Zd=a;this.Yd=b;this.zc(c);this.g&&this.g.Bb(a,b,c)};
g.h.pause=function(){this.g&&this.g.pause()};
g.h.resume=function(){this.g&&this.g.resume()};
g.h.skip=function(){this.g&&this.g.skip()};
g.h.muteAd=function(){this.g&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.g&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.g&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.g){var a=this.g,b=this.Ia;a&&b&&(null!=a&&a instanceof Gx?b.Qf():null!=a&&a instanceof oy?(b.td(),b.Qf()):null!=a&&(a instanceof Cw||a instanceof ww)&&b.td());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.Re=function(a){Hy.Z.Re.call(this,a);null!=this.g&&this.g.Re(a);null!=this.B&&this.B.Re(a);(0,g.H)(this.o,function(b){b.Re(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;Hy.Z.setVolume.call(this,a);this.g&&this.g.setVolume(a)};
g.h.zc=function(a){Hy.Z.zc.call(this,a);this.g&&this.g.zc(a)};
g.h.De=function(){return this.g?this.g.De():null};
g.h.rf=function(){this.g&&this.g.rf()};
g.h.yj=function(a){return this.g?this.g.yj(a):!1};
g.h.fl=function(){return this.g?this.g.fl():!1};
g.h.lj=function(){return this.g?this.g.lj():null};
g.h.BO=function(a){var b=a.getError()||gn(Xx);Ky(this,a.target,b)};
g.h.Bh=function(){this.F||(this.ia("contentPauseRequested"),this.F=!0)};
g.h.ag=function(a){Jy(this,a.target)};
g.h.WJ=function(){};
g.h.Gg=function(a){(0,g.H)(this.o,function(b){b.Gg(a)},this)};
g.h.Fi=function(){this.ia("userClose")};
g.h.Ei=function(){this.ia("autoClose")};
g.h.cg=function(a){this.g&&this.g instanceof ww&&this.g.cg(a)};g.D(My,g.K);g.h=My.prototype;g.h.Zk=!1;g.h.Cr=1E3;g.h.qz=30;g.h.rz=45E3;g.h.gC=15E3;g.h.zD=!1;g.h.Eq=function(){var a=Ny(this);this.g.appendChild(this.J);Oy(this.J);this.play();return a};
g.h.oa=function(){null==this.N&&(this.N=this.Eq());return this.N};
g.h.play=function(){null==this.o&&(this.o=g.ug(function(){this.Zk||(this.hide(),this.zD=!0);this.o=null},this.zD?this.gC:this.rz,this))};
g.h.stop=function(){null!=this.o&&(g.vg(this.o),this.o=null)};
g.h.show=function(){g.Jh(this.oa(),1);null!=this.A&&(g.vg(this.A),this.A=null)};
g.h.hide=function(){g.Jh(this.oa(),this.qz/100);null==this.A&&(this.A=g.ug(function(){this.Y();this.A=null},400,this))};
g.h.FJ=function(){this.show();this.Zk=!0;this.D=g.ug(function(){this.Zk&&this.stop();this.D=null},this.Cr,this)};
g.h.eU=function(){null!=this.D&&(g.vg(this.D),this.D=null);this.Zk&&this.play();this.Zk=!1};
g.h.W=function(){My.Z.W.call(this);this.stop();g.af(this.Mf)};g.D(Py,Eu);g.h=Py.prototype;g.h.start=function(){Py.Z.start.call(this);this.Ia.td();this.containerElement=this.Ia.Kf();if(null!=this.containerElement){this.Da("show_ad");g.Gd(this.containerElement);var a=this.xw(),b=this.yb()?this.ka().g.Cc():a,c;P.o?c=so():c=ao();c.Xj(b);this.containerElement.appendChild(a);this.Wm();(0,g.H)(this.F,function(a){a()});
pb(this.F);this.B=!0}};
g.h.init=function(a){Py.Z.init.call(this,a);var b;P.o?b=so():b=ao();this.Wa().U(b,l2,this.Lj)};
g.h.expand=function(){null!=this.g&&this.g.show();this.Da("expand")};
g.h.collapse=function(){null!=this.g&&this.g.hide();this.Da("collapse")};
g.h.Bb=function(a,b,c){Py.Z.Bb.call(this,a,b,c);this.Wm();this.B&&this.Da("overlay_resize")};
g.h.W=function(){g.af(this.g);this.Ia=this.g=null;this.B=!1;P.o?so().Xj(null):ao().Xj(null);null!=this.containerElement&&(g.Gd(this.containerElement),this.containerElement=null);Py.Z.W.call(this)};
g.h.xw=function(){var a=this.ka().g;if(null==a)throw a=gn(cC),Ry(this,a),a;var b=this.ka();Kp(a,this.Wa());Ip(a,this.XJ);a.D||Jp(a,g.Ga(this.wr,b,a));try{this.zd(b)}catch(d){throw Ry(this,d),d;}this.Fg(b);var c=kq(b,this.Fa);this.Ob.g=c;b.g&&(this.Fg(b),c=b.g)&&(this.hg(c,Mra),Mu(this,b));this.hg(a,["start"]);Qy(this,a);return this.Km([a.Cc()])};
g.h.Iy=function(a,b){return new My(a[0],b)};
g.h.Km=function(a){null!=this.g&&this.g.stop();this.g=this.Iy(a,(0,g.A)(this.tn,this));a=this.g.oa();g.T(a,"autoalign",this.Qa.rw);P.g()&&g.T(a,"viewmode-fullscreen","fullscreen"==this.ad);a.appendChild(this.J);this.Wa().U(a,"click",df);(this.yb()&&Es(this.ka())||this.Qa.sD)&&this.oq(this.g.g);return a};
g.h.oq=function(a){var b=this.Wa();this.D=Xp(xha);b.U(this.D,"click",this.ZI);var c=Ia("Close");c=Xp(wha,{close:""+c});b.U(c,"click",this.Sn);g.S(a,"extra-padding");null!=this.L&&728<=this.L.Gb()&&g.S(a,"wide-overlay-ad");a.appendChild(c)};
g.h.Wm=function(a,b){if(null!=this.g){var c=a?a:0,d=b?b:0,e=g.Hh(this.Ia.Kf());var f=P.g()?g.Hh(g.Pd(this.g.g)):g.Hh(this.g.g);if(f.width+c>e.width||f.height+d>e.height)throw c=gn(Rra,null),Ry(this,c),d={},this.ads[0].A&&(d.pid=ix.getInstance().o),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.ka().g.md(),d.vm=this.ad,Tn(Qn.getInstance(),38,d,!0),this.stop(),c;}};
g.h.XJ=function(a){Ju(this,"click");df(a)};
g.h.Sn=function(){this.Da("close");this.tn(!0)};
g.h.wr=function(a,b){Jp(b,g.y);this.B?this.Nl(a,b):this.F.push((0,g.A)(this.Nl,this,a,b))};
g.h.Nl=function(a){a=kq(a,this.Fa);this.Ob.g=a;Ju(this,"impression");this.Da("creativeview");Ju(this,"start")};
g.h.tn=function(a){null!=this.g&&(this.g.stop(),null!=this.D&&g.Kd(this.D,this.g.g),a?this.ia("userClose"):this.ia("autoClose"))};
g.h.ZI=function(a){df(a);this.g.show();this.g.play();g.Kd(this.g.g,this.D);g.ug(function(){g.M(this.J,!1)},500,this);
g.M(this.J,!0);this.ia("userRecall")};
g.h.Lj=function(a){this.yb()&&this.ka().J==a.g.queryId&&Py.Z.Lj.call(this,a)};g.D(Sy,g.Ff);g.h=Sy.prototype;g.h.init=function(a,b,c){Ty(this,a,b,c);null==this.J&&(this.J=new g.mm(this),om(this.J,this.ob,"adsLoaderSdkAdError",this.yO,this));$y(this)};
g.h.start=function(){this.V=!0;Wy(this);0<this.A.length?gz(this):("always"==P.B&&(null!=this.aa&&this.aa.zd(NA()),P.g()&&5!=this.af()&&this.dispatchEvent(new Bm("companionBackfill",null))),hn(fn,this,vq,void 0,void 0),0==this.Ac&&this.dispatchEvent("contentResumeRequested"),hz(this))};
g.h.destroy=function(){null!=this.J&&(this.J.dispose(),this.J=null);bz(this);jz(this);P.B=this.ba;this.V=!1};
g.h.Lb=function(){return this.o<this.A.length?this.A[this.o].g[0]:null};
g.h.wb=function(){return this.V};
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.rf=function(){null!=this.g&&this.g.rf()};
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.Nc=function(){return null!=this.g?this.g.Nc():-1};
g.h.setVolume=function(a){null!=a&&(this.Y=a,null!=this.g&&this.g.setVolume(this.Y))};
g.h.Re=function(a){this.O=a;null!=this.g&&this.g.Re(a);null!=this.C&&this.C.Re(a)};
g.h.XA=function(a){P.B=this.ba;var b=a.F;g.nb(b)?this.I++:(a=a.D,(0,g.H)(b,g.Ga(function(a,b){null!=a.A&&(b.Sa=a.A);a.isBumper&&(b.Ha=!1)},a)),this.N=Bha(this,b),g.qb(this.A,new ym(b,a.isBumper,a.g)),this.I++,this.J.Ca(this.ob,"adsLoaderSdkAdLoaded",this.XA,!1,this));
$y(this)};
g.h.yO=function(a){a=a.g;P.B=this.ba;a.Cd();hn(fn,this,vq,void 0,void 0);this.I++;if(!Uy(this)||2<=this.A.length-this.o)a=fn(vq),this.dispatchEvent(new Am(a));$y(this)};
g.h.RQ=function(){bz(this);jz(this);hz(this)};
g.h.zO=function(a){a=a.getError().Rb();try{var b={};b.ec=a;Tn(Qn.getInstance(),44,b)}catch(c){}this.o++;gz(this)};
g.h.Fi=function(){this.dispatchEvent("userClose")};
g.h.Ei=function(){this.dispatchEvent("autoClose")};
g.h.ag=function(){this.o++;gz(this)};
g.h.Bh=function(){this.da||(this.dispatchEvent("contentPauseRequested"),this.da=!0)};
g.h.af=function(){return g.nb(this.F)?null:this.F[0].A};
g.h.cg=function(a){this.g instanceof ww?this.g.cg(a):ez(this.g)&&this.g.cg(a)};
g.h.YA=function(a){switch(a.type){case "impression":try{Tn(Qn.getInstance(),44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.eg()&&Xy(this,this.o+1)&&1<fz(this))b=a.Mb(),b=null===b||null===this.g||g.nb(this.g.ads)?!1:this.g.ads[this.g.ads.length-1]===b;b&&Zy(this,this.o+1)}"vpaidEvent"!=a.type&&Dha(this,a.type,a.Mb());this.dispatchEvent(a)};
g.h.eg=function(){return null===this.B?!1:Dn(this.B)&&this.O.Xk};g.D(kz,Eha);g.D(nz,Yu);nz.prototype.A=function(){return new Zu(this.g,null,Gha(this))};g.D(rz,g.cf);rz.prototype.setDescription=function(){};g.D(sz,g.Ff);g.D(uz,g.Ff);g.h=uz.prototype;g.h.Cb=function(){this.A||(null==this.B&&(this.B=new g.mm(this)),this.B.U(this.o,"currentTimeUpdate",this.Dy,!1),this.B.U(this.o,"contentWrapperError",this.dR,!1));this.o.start();this.A=!0};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.Xc=function(){null!=this.B&&(this.B.dispose(),this.B=null);this.o.stop();this.A=!1};
g.h.Dy=function(){if(this.A){var a=this.o.currentTime;if((0,window.isNaN)(a)||0>a)Bz(this,"The currentTime is not a valid time value:"+a);else{var b=Jha(this,a);this.D?(0,g.H)(b,function(a){yz(this,!0,a)},this):(0,g.H)(Kha(b),function(a){yz(this,!0,a)},this);
yz(this,!1,Lha(this,a));Mha(this,a)}}};
g.h.dR=function(){Bz(this,"There was an error while tracking the content:The content current time is invalid.")};g.D(Dz,sz);Dz.prototype.start=function(){this.g.start()};
Dz.prototype.stop=function(){this.g.stop()};
Dz.prototype.W=function(){Dz.Z.W.call(this);this.A.dispose();this.g.dispose()};
Dz.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.cf("currentTimeUpdate"))}else this.dispatchEvent(new g.cf("contentWrapperError")),this.stop()};g.h=Fz.prototype;g.h.get=function(a){a=Gz(this,a);return this.g[a]};
g.h.set=function(a,b){a=Gz(this,a);this.g[a]=b};
g.h.Lc=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.sb=function(){var a=this.Lc(),b=this.Lc(),c=[];for(a=this.Lc()-a;a<b;a++)c.push(this.get(a));return c};
g.h.Db=function(){for(var a=[],b=this.Lc(),c=0;c<b;c++)a[c]=c;return a};g.D(Hz,Wn);g.h=Hz.prototype;g.h.rC=function(a,b,c,d){if(d&&(d=g.gb(a,function(a){return null!==$p(a.o)}),null!==d))return d;
a=(0,g.Ld)(a,function(a){var b=a.g;E(g.F(a.o))||"progressive"!=a.B&&"application/x-mpegurl"!=g.F(b).toLowerCase()?a=!1:(b=g.F(b).toLowerCase(),a=E(b)||wn(2.3)&&Qa(b,"application/ogg")?!1:g.un&&(Qa(b,"video/mp4")||Qa(b,"video/3gpp"))||qn()&&(Qa(b,"application/x-mpegurl")||Qa(b,"application/vnd.apple.mpegurl"))?!0:!E(this.g.canPlayType(b)));return a},this);
return Ez(a,b,c)};
g.h.fr=function(){return(0,g.Ld)(g.Tb(Nu),function(a){return!E(this.g.canPlayType(a))},this)};
g.h.Zo=function(a){this.Y=0<a.timeout?a.timeout:Un()};
g.h.load=function(a){Jz(this);a&&(this.g.src=a);this.g.load()};
g.h.unload=function(){Jz(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.N=!1;this.g.play();this.I||(this.I=g.ug(this.PH,this.Y,this))};
g.h.pause=function(){this.N=!0;this.g.pause();Iz(this)};
g.h.oi=function(){return this.g.paused?qn()||g.pF?this.g.currentTime<this.g.duration:!0:!1};
g.h.tj=function(){return this.g.muted};
g.h.Jr=function(){pn()&&this.g.webkitDisplayingFullscreen&&this.g.webkitExitFullscreen()};
g.h.sj=function(){return uo(this.g)};
g.h.Ak=function(a){var b;a:{for(b=this.V.sb();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.uj=function(a){this.g.currentTime=a};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.Mx=function(){return Lz(this)};
g.h.getDuration=function(){return(0,window.isNaN)(this.g.duration)?-1:this.g.duration};
g.h.jh=function(){return this.g.ended};
g.h.ih=function(){return new g.gd(this.g.offsetWidth,this.g.offsetHeight)};
g.h.Ky=function(){return this.g.seeking};
g.h.W=function(){this.Xc();Hz.Z.W.call(this)};
g.h.getError=function(){return null};
g.h.Cb=function(){this.Xc();this.o=new g.mm(this);this.o.U(this.g,iA,this.bR);this.o.U(this.g,"canplay",this.ZO);this.o.U(this.g,"ended",this.hK);this.o.U(this.g,"webkitbeginfullscreen",this.Mr);this.o.U(this.g,"webkitendfullscreen",this.Ny);this.o.U(this.g,"pause",this.kK);this.o.U(this.g,"playing",this.jR);this.o.U(this.g,"timeupdate",this.lK);this.o.U(this.g,"volumechange",this.mK);this.o.U(this.g,"error",this.My);this.o.U(this.g,$N||qn()&&!tn(8)?"loadeddata":"canplay",this.jK);this.D=new Ws;this.o.U(this.D,
"click",this.gK);this.D.Cb(this.g);this.G=new g.sg(1E3);this.o.U(this.G,"tick",this.iK);this.G.start()};
g.h.Xc=function(){null!=this.D&&(this.D.Xc(),this.D=null);null!=this.G&&this.G.dispose();null!=this.o&&(this.o.dispose(),this.o=null);Jz(this)};
g.h.bR=function(a){this.dispatchEvent(a.type)};
g.h.ZO=function(){var a;if(a=g.Xi)a=g.Lb,a=!(a&&(Ra(a,"SMART-TV")||Ra(a,"SmartTV")));a&&!this.O&&(this.uj(.001),this.O=!0)};
g.h.jK=function(){this.Tc||(this.Tc=!0,this.dispatchEvent("loaded"))};
g.h.jR=function(){this.dispatchEvent("play");qn()||$N||Kz(this)};
g.h.lK=function(){if(!this.B&&(qn()||$N)){if(0>=this.getCurrentTime())return;if($N&&this.jh()&&1==this.getDuration()){this.My();return}Kz(this)}if(qn()||An()){if(1.5<this.getCurrentTime()-this.A){this.F=!0;this.uj(this.A);return}this.F=!1;this.getCurrentTime()>this.A&&(this.A=this.getCurrentTime())}var a=this.V;a.g[a.o]=this.g.currentTime;a.o=(a.o+1)%a.A;this.dispatchEvent("timeUpdate")};
g.h.mK=function(){this.dispatchEvent("volumeChange")};
g.h.kK=function(){if(this.B&&qn()&&!this.N&&(2>Lz(this)-this.g.currentTime||this.F)){this.C=new g.sg(250);this.o.U(this.C,"tick",this.VO);this.C.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.hK=function(){var a=!0;if(qn()||An())a=this.A>=this.g.duration-1.5;!this.F&&a&&this.dispatchEvent("end")};
g.h.Mr=function(){this.dispatchEvent("beginFullscreen")};
g.h.Ny=function(){this.dispatchEvent("endFullscreen")};
g.h.My=function(){Iz(this);this.dispatchEvent("error")};
g.h.gK=function(){this.dispatchEvent("click")};
g.h.iK=function(){var a=this.ih(),b=this.sj();if(a.width!=this.L.width||a.height!=this.L.height)!this.J&&b?this.Mr():this.J&&!b&&this.Ny(),this.L=a,this.J=b};
g.h.PH=function(){if(!this.B){try{Tn(Qn.getInstance(),16)}catch(a){}Jz(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.VO=function(){if(this.jh()||!this.oi())g.af(this.C);else{var a=this.g.duration-this.g.currentTime,b=Lz(this)-this.g.currentTime;0<b&&(2<=b||2>a)&&(g.af(this.C),this.play())}};g.D(Nz,g.Ff);var gsa=new Ol;Mz.prototype.start=function(a){return this.g[a].startTime};
Mz.prototype.end=function(a){return this.g[a].endTime};
g.h=Nz.prototype;g.h.ao=0;g.h.currentTime=0;g.h.duration=window.NaN;g.h.paused=!0;g.h.Sy=!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.rK=1;g.h.playbackRate=0;g.h.Ig=null;g.h.no=0;g.h.XS=4;g.h.tk=null;g.h.bo=null;
g.h.play=function(){this.Sy&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.ao=this.XS,2>=this.ao?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.Ig||this.Ig.la())this.Ig=new g.sg(10),this.Ig.U("tick",(0,g.A)(this.ZC,this));this.no=(0,g.G)();this.Ig.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.Ig.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.ao=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 Tha(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.rK};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.ZC();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&&gsa.set(a,b)};
g.h.getAttribute=function(a){return gsa.get(a)};
g.h.ZC=function(){var a=(0,g.G)()-this.no,b=this.currentTime+a/1E3;this.no+=a;2<this.ao&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.Sy=this.paused=!0,this.Ig.stop(),this.dispatchEvent("ended"))};
g.h.W=function(){this.Ig&&this.Ig.dispose();this.g.dispose()};
g.h.uS=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.bo&&(this.bo.innerText=b);c&&this.tk&&(this.tk.style.backgroundColor=c)};g.D(Oz,g.K);Oz.prototype.initialize=function(){this.o&&mn()&&this.o.load()};
Oz.prototype.W=function(){g.Jd(this.g);Oz.Z.W.call(this)};
Oz.prototype.show=function(){var a=this.g;null!=a&&(a.style.display="block")};
Oz.prototype.hide=function(){var a=this.g;null!=a&&(a.style.display="none")};g.D(Pz,g.K);Pz.prototype.G=function(a){if(!("*"!=this.o&&a.origin!=this.o||this.B&&a.source!=this.B)&&g.u(a.data)){try{var b=g.yg(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":Qz(this,a);Sz(this);this.sendMessage({event:"ack"});break;case "ack":Qz(this,a);Sz(this);break;case "command":a=b.func,a in this.g&&this.g[a].apply(null,b.args)}}};
Pz.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.Ag(a);c.postMessage(d,this.F)}catch(e){}}};
Pz.prototype.W=function(){window.removeEventListener("message",this.C);Pz.Z.W.call(this)};g.D(Rz,Pz);Rz.prototype.I=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.D(Tz,g.K);Tz.prototype.G=function(a){a=a.type;var b=new Uha;b.duration=this.g.duration;b.currentTime=this.g.currentTime;b.o=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.I("notify",a,b)};
Tz.prototype.D=function(a){Dx(this.C,a);this.A.U(this.g,a,this.F)};
Tz.prototype.I=function(a){this.C.remove(a);this.A.Ca(this.g,a)};
Tz.prototype.B=function(a,b){this.g[a]=b};g.D(Wz,Wn);var hsa=["video/mp4","video/webm"],isa={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},Vz=[],Uz=!1;g.h=Wz.prototype;g.h.rC=function(a,b,c){var d=g.gb(a,function(a){return null!==$p(a.o)});
if(null!==d)return d;a=(0,g.Ld)(a,function(a){a=g.F(a.g);return this.A?this.g.canPlayType(a):g.lb(hsa,a)},this);
g.nb(c)||(d=Ez(a,b,c));return null!=d?d:Ez(a,b,[])};
g.h.Zo=function(a){this.o=a};
g.h.load=function(a,b){Yz(this,a,b)};
g.h.unload=function(){Yz(this,"","")};
g.h.getVideoUrl=function(){return this.ba};
g.h.setVolume=function(a){this.ga?this.dispatchEvent("volumeChange"):this.A?(a=g.$c(100*a,0,100),this.g.setVolume(a),this.F=-1,this.dispatchEvent("volumeChange")):this.F=a};
g.h.getVolume=function(){return this.A?this.g.getVolume()/100:this.F};
g.h.play=function(){if(!E(g.F(this.ba))){if(!this.B){$z(this);var a=Un();null!=this.o&&0<this.o.timeout&&(a=this.o.timeout);this.Aa=g.ug(this.eR,a,this)}this.A?(this.ea=!1,!this.B&&this.o&&this.o.B?this.g.loadVideoByPlayerVars(this.na):this.g.playVideo()):this.ea=!0}};
g.h.pause=function(){this.A&&this.B&&this.g.pauseVideo()};
g.h.oi=function(){return this.A?2==this.g.getPlayerState(this.C):!1};
g.h.tj=function(){return this.A?this.g.isMuted():0==this.getVolume()};
g.h.Jr=function(){};
g.h.sj=function(){var a=P.o?P.G:window.document.getElementById(this.O);return a?uo(a):!1};
g.h.Ak=function(a){return this.A?this.g.getCurrentTime(this.C)>=a:!1};
g.h.uj=function(a){this.A?this.g.seekTo(a,!1):this.J=a};
g.h.getCurrentTime=function(a){return this.A?this.g.getCurrentTime(a||this.C):-1};
g.h.Mx=function(){return this.A&&this.B?this.g.getVideoLoadedFraction(this.C)*this.g.getDuration(this.C):0};
g.h.getDuration=function(){return this.A&&this.B?this.g.getDuration(this.C):-1};
g.h.getError=function(){return null};
g.h.fr=function(){return g.Tb(Nu)};
g.h.jh=function(){return this.A?0==this.g.getPlayerState(this.C):!1};
g.h.ih=function(){var a=P.o?P.G:window.document.getElementById(this.O);return a?new g.gd(a.offsetWidth,a.offsetHeight):new g.gd(0,0)};
g.h.Ky=function(){return!1};
g.h.Jy=function(){return 1==this.sa};
g.h.wb=function(){return this.A?1==this.g.getPlayerState(this.C):!1};
g.h.oK=function(){var a=this.ih(),b=this.sj();if(a.width!=this.pa.width||a.height!=this.pa.height)!this.ha&&b?this.dispatchEvent("beginFullscreen"):this.ha&&!b&&this.dispatchEvent("endFullscreen"),this.pa=a,this.ha=b};
g.h.Cb=function(){this.da=(0,g.A)(this.tB,this);this.N=(0,g.A)(this.Nr,this);this.ra=(0,g.A)(this.uB,this);this.Ha=(0,g.A)(this.RR,this);this.ga&&(this.g.addEventListener("onAdStateChange",this.N),this.g.addEventListener("onReady",this.da),this.g.addEventListener("onStateChange",this.N),this.g.addEventListener("onVolumeChange",this.ra),this.g.addEventListener("onSharePanelOpened",this.Ha));this.Y=new g.sg(1E3);this.V.U(this.Y,"tick",this.oK);this.Y.start()};
g.h.Xc=function(){this.ga&&(this.g.removeEventListener("onAdStateChange",this.N),this.g.removeEventListener("onReady",this.da),this.g.removeEventListener("onStateChange",this.N),this.g.removeEventListener("onVolumeChange",this.ra),this.g.removeEventListener("onSharePanelOpened",this.Ha));null!=this.Y&&this.Y.dispose()};
g.h.WH=function(){var a=g.dc(isa);P.C&&(a.ps="gvn",a.remoteve=Rn.ea,a.remotevewin="discover");var b=this.O;a={playerVars:a,events:{cardstatechange:(0,g.A)(this.nK,this),onError:(0,g.A)(this.gR,this),onReady:(0,g.A)(this.tB,this),onAdStateChange:(0,g.A)(this.Nr,this),onStateChange:(0,g.A)(this.Nr,this),onVolumeChange:(0,g.A)(this.uB,this)}};var c=g.x("YT");this.g=null!=c&&null!=c.Player?new c.Player(b,a):null};
g.h.gR=function(){this.dispatchEvent("error")};
g.h.tB=function(){this.A=!0;this.I&&this.Ir(this.I.videoId,this.I.Wh,this.I.ek);-1!=this.F&&(this.setVolume(this.F),this.F=-1);null!=this.L&&(Xz(this,this.L,this.aa),this.aa=this.L=null);-1!=this.J&&(this.uj(this.J),this.J=-1);this.ea&&this.play()};
g.h.nK=function(a){this.sa=a.data;this.dispatchEvent("cardsStateChange")};
g.h.Nr=function(a){switch(a.data){case 0:this.B?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.B||($z(this),this.B=!0,this.G=0,this.dispatchEvent("start"));this.dispatchEvent("play");Zz(this);this.D=new g.sg(100);this.V.U(this.D,"tick",this.jB);this.D.start();break;case 2:this.dispatchEvent("pause"),Zz(this)}};
g.h.uB=function(){this.dispatchEvent("volumeChange")};
g.h.RR=function(){this.dispatchEvent("shareClicked")};
g.h.jB=function(){var a=Pm();if(a.g("seek_back_for_all")||a.g("seek_back_for_all_no_leanback")&&!Mk()||a.g("seek_back_for_safari")&&Wi&&rn(Vra,10)&&Ra(g.Lb,"Safari")||ZN||An()){if(1.5<this.getCurrentTime()-this.G){this.A&&this.g.seekTo(this.G,!0);return}this.getCurrentTime()>this.G&&(this.G=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.eR=function(){this.dispatchEvent("mediaLoadTimeout")};
g.h.Ir=function(a,b,c){if(b||c)this.A?this.g.addInfoCardXml(a,b,c):this.I={videoId:a,Wh:b,ek:c}};
g.h.De=function(){if(!this.A)return null;var a=this.g.getVideoData();return a?a.cpn:null};
g.h.Wt=function(a){this.A&&$p(this.getVideoUrl())&&this.g.sendVideoStatsEngageEvent(a)};
g.h.Ly=function(a){this.A&&this.g.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.Lr=function(){this.A&&this.g.showControls()};
g.h.Kr=function(){this.A&&this.g.hideControls()};
g.h.W=function(){Zz(this);$z(this);this.Xc();this.A=!1;this.V.dispose();this.J=-1;this.aa=null;this.ea=!1;this.L=null;this.F=-1;this.da=this.g=this.o=null;this.B=!1;this.ba="";Wz.Z.W.call(this)};
g.ua("onYouTubeIframeAPIReady",function(){Uz=!0;(0,g.H)(Vz,function(a){a()});
pb(Vz)},window);g.D(aA,g.Ff);aA.prototype.send=function(a){var b=a.g;this.g.hasOwnProperty(b)&&this.g[b].send(a.type,a.Rd,a.Vf)};
aA.prototype.W=function(){this.o.dispose();for(var a in this.g)g.af(this.g[a]);aA.Z.W.call(this)};
aA.prototype.C=function(a){a=a.g;var b=ly(a.data);if(null!=b){var c=b.channel;if(this.A&&!this.g.hasOwnProperty(c)){var d=b.sid;cA(this,c,d,a.source);this.dispatchEvent(new bA(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.D(bA,jy);g.D(eA,g.mm);
eA.prototype.D=function(a){var b=a.getOrigin(),c=g.Gg("//imasdk.googleapis.com");b=g.Gg(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.g)cA(this.g,a.g,a.Ey,yd().parent),null!=this.g&&this.g.send(a);else if(c=a.Vf,null!=c&&g.t(c.scope)){b=c.scope;c=c.args;var d;if("proxy"==b)c=a.Rd,"isGptPresent"==c?d=dA():"isConsolePresent"==c&&(d=null!=fA());else if(dA())if("pubads"==b||"companionAds"==b){d=a.Rd;var e=yd().googletag;if(null!=e&&null!=e[b]&&(e=e[b](),null!=e&&(d=e[d],null!=d)))try{var f=d.apply(e,c)}catch(k){}d=
f}else if("console"==b){if(e=a.Rd,f=fA(),null!=f&&(e=f[e],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){f=a.Rd;d=yd();if(g.lb(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],f)&&(f=d[f],null!=f))try{e=f.apply(d,c)}catch(k){}d=e}g.t(d)&&(a.Vf.returnValue=d,this.A.send(a))}};
eA.prototype.C=function(a){this.A.send(a)};var gA={s:function(a,b,c){return(0,window.isNaN)(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+Ta(" ",Number(c)-a.length):Ta(" ",Number(c)-a.length)+a},
f:function(a,b,c,d,e){d=a.toString();(0,window.isNaN)(e)||""==e||(d=(0,window.parseFloat)(a).toFixed(e));var f=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if((0,window.isNaN)(c)||d.length>=Number(c))return d;d=(0,window.isNaN)(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+Ta(" ",a):f+Ta(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return gA.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)}};
gA.i=gA.d;gA.u=gA.d;g.D(jA,g.Ff);g.h=jA.prototype;g.h.W=function(){this.o.dispose();null!==this.B&&(this.B.dispose(),this.B=null);g.Nl(this.G.Xd(!1),function(a){a.dispose()});
this.G.clear();g.Jd(this.A);jA.Z.W.call(this)};
g.h.OI=function(a){var b=a.Vf,c=g.zh(this.A),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.Rd,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,null);if(!g.Xi||qn()||0==window.document.webkitIsFullScreen)this.A.blur(),window.focus();this.A.dispatchEvent(d)};
g.h.fJ=function(a){var b=a.Vf,c=g.zh(this.A);if("TouchEvent"in window&&0<window.TouchEvent.length){var d={bubbles:!0,cancelable:!0,view:window,detail:b.detail,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,metaKey:b.metaKey,touches:kA(this,b.touches),targetTouches:kA(this,b.targetTouches),changedTouches:kA(this,b.changedTouches)};d=new window.TouchEvent(a.Rd,d);this.A.dispatchEvent(d)}else d=window.document.createEvent("TouchEvent"),d.initTouchEvent(a.Rd,!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,kA(this,b.touches),kA(this,b.targetTouches),kA(this,b.changedTouches),b.scale,b.rotation),this.A.dispatchEvent(d)};
g.h.cJ=function(a){if(null!=this.g){var b=a.Vf;switch(a.Rd){case "startTracking":this.g.Cb();break;case "stopTracking":this.g.Xc();break;case "exitFullscreen":this.g.Jr();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.uj(b.currentTime);break;case "setPlaybackOptions":this.g.Zo(lA(b));break;case "setVolume":this.g.setVolume(b.volume)}}};
g.h.WI=function(a){if(null!=this.C){var b=a.Vf;switch(a.Rd){case "startTracking":this.C.Cb();break;case "stopTracking":this.C.Xc();break;case "setPlaybackOptions":this.C.Zo(lA(b));break;case "load":this.C.load(b.videoUrl,b.mimeType)}}};
g.h.dg=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.jh();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.JI=function(a){switch(a.Rd){case "showVideo":null!=this.B?this.B.Xc():(this.B=new Ws,this.o.U(this.B,"click",this.rS));this.B.Cb(nA(this.D));a=this.D;null!=a.g&&a.g.show();break;case "hide":null!==this.B&&(this.B.dispose(),this.B=null);this.D.hide();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.Ca(this.g,g.Tb(hA),this.dg);this.o.Ca(this.g,iA,this.dg);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 Hz){b=a.J;var c=a.o.g;sm(b.A);b.g=c;(0,g.H)(b.C.sb(),b.D,b)}null!=a.I&&(b=a.I,a=a.o,null!=b.g&&(b.o.Ca(b.g,g.Tb(hA),b.dg),b.o.Ca(b.g,iA,b.dg)),b.g=a,b.o.U(b.g,g.Tb(hA),b.dg),b.o.U(b.g,iA,b.dg))}this.g=this.D.o;this.C=this.D.C;this.o.U(this.g,g.Tb(hA),this.dg);this.o.U(this.g,iA,this.dg)}}};
g.h.rS=function(){this.F.send("displayContainer","videoClick")};
g.h.sI=function(){g.Nl(this.G.Xd(!1),function(a){a.sf=Sd(this.A);a.connect()},this);
this.I=!0};mA.prototype.initialize=function(){null!=this.g&&this.g.initialize();null!=this.B&&this.B.initialize()};
mA.prototype.destroy=function(){g.af(this.g);g.af(this.B);g.af(this.I);g.af(this.o);g.af(this.C);g.af(this.J);g.Jd(this.A)};
mA.prototype.hide=function(){null!=this.g&&this.g.hide()};
mA.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.I&&(c=this.I,c.A.width=-1==a?"100%":a,c.A.height=-1==b?"100%":b)};g.h=oA.prototype;g.h.Wq=function(){return nA(this.g)};
g.h.Rk=function(){return this.g.D};
g.h.Kf=function(){return this.g.D};
g.h.Yk=function(){var a=this.g.o;return null!=a?a:new Wz};
g.h.Qf=function(){var a=this.g;null!=a.g&&a.g.show()};
g.h.td=function(){};
g.h.Jq=function(){return null!=this.g.G};
g.h.rj=function(){return this.g.F};
g.h.Er=function(){return!1};
g.h.Xn=function(){return this.g.L};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.hide=function(){};
g.h.Vn=function(){return null};
g.h.Wn=function(){};g.D(pA,g.cf);g.h=rA.prototype;
g.h.clone=function(){var a=new rA;"auto"==this.Ui?a.Ui="auto":"click"==this.Ui&&(a.Ui="click");a.g=this.g;a.Th=g.dc(this.Th);a.o=this.o;a.Qm=this.Qm;a.D=this.D;a.B=this.B?g.vb(this.B):null;a.contentTitle=this.contentTitle;a.qc=g.dc(this.qc);a.C=this.C;a.location=this.location;a.referrer=this.referrer;a.F=this.F;a.language=this.language;a.qj=this.qj;a.pj=this.pj;a.ff=this.ff;a.df=this.df;a.Se=this.Se;a.ip=this.ip;a.yu=this.yu;a.gu=this.gu;a.A=this.A;a.Ep=this.Ep;a.containerElement=this.containerElement;
a.afcRmFallback=this.afcRmFallback;a.J=this.J;a.I=this.I;a.gj=this.gj;a.Dp=this.Dp;a.jz=this.jz;a.Wy=this.Wy;a.fq=this.fq?this.fq.clone():null;return a};
g.h.Th=null;g.h.Qm=null;g.h.qc=null;g.h.Ui="unknown";g.h.jz=0;g.h.qj=0;g.h.pj=0;g.h.ff=0;g.h.df=0;g.h.gj=!1;g.h.Se=null;g.h.ip=!1;g.h.yu=!1;g.h.gu=!0;g.h.Dp=new Im;g.h.Ep=0;g.h.tx=!0;g.h.containerElement=null;g.h.afcRmFallback=!1;g.h.Wy=!0;g.h.fq=null;g.D(sA,g.Ff);g.D(tA,g.cf);tA.prototype.getError=function(){return this.A};g.D(vA,g.Ff);vA.prototype.o=null;vA.prototype.Sb=function(){return this.B};
vA.prototype.W=function(){delete this.g;wA(this);g.Af(this.o);vA.Z.W.call(this)};
vA.prototype.C=function(){uA(this)&&(wA(this),g.Af(this.o),this.o=null,this.B=!0,this.dispatchEvent("ifload"))};g.D(xA,sA);g.va(xA);g.h=xA.prototype;g.h.W=function(){this.o&&this.o.dispose();xA.Z.W.call(this)};
g.h.initialize=function(){if(!this.fe){var a=g.be(new id);try{g.x("googletag");yA([a,a.top]);var b=!0}catch(c){b=!1}b?KA(this):(this.fe=!0,this.A="not_available")}};
g.h.zd=function(a){try{this.g.googleSetCompanionAdContents((0,g.J)(a,this.xH,this)),this.Vj()}catch(b){this.dispatchEvent(new tA("companion_display_error",b))}};
g.h.vB=function(){0<this.B&&(0,g.G)()>=this.B?(this.fe=!0,GA(this),JA(this)):KA(this)};
g.h.FT=function(a){var b=(0,g.J)(a.adSizes,function(a){return new g.gd(a.adWidth,a.adHeight)});
return new zo(a.slotId,b)};
g.h.xH=function(a){var b={};b.slotId=a.I;b.adContent=a.ld();b.adWidth=a.B;b.adHeight=a.o;b.friendlyIframeRendering=a.A;null==a.g&&g.nb(a.C)||(b.onAdContentSet=(0,g.A)(this.uP,this,a));return b};
g.h.uP=function(a,b){if(null!=a.g){var c=g.Pd(b);c||(c=g.Cd("div"),b.appendChild(c));var d=a.Cc();c.appendChild(d);LA(this,a,c)}else c=a.A?b.querySelector("iframe"):(c=g.Pd(b))?g.Pd(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&Yha(this,c,a)};
g.h.tP=function(a){this.dispatchEvent(new tA("companion_click",null,a))};
g.h.Vj=function(a){cn(this.impressionUrls,a)};g.D(MA,g.Ff);MA.prototype.qw=function(){return!0};
MA.prototype.gi=function(){return null};g.D(OA,MA);g.h=OA.prototype;g.h.W=function(){this.destroy();OA.Z.W.call(this)};
g.h.destroy=function(){null!=this.C&&this.C.dispose();this.B=null;(0,g.H)(this.A,function(a){Bo(a)},this);
this.o=null};
g.h.zd=function(a){g.af(this.o);this.o=new g.Ff;this.B=a;this.D=!0;this.F?QA(this):(this.D=SA(RA(a),[]),this.D||(this.o=this.B=null));return this.o};
g.h.qw=function(){return this.D};
g.h.OR=function(){null!=this.G&&(this.G.stop(),this.G.dispose(),this.G=null);if(null!=this.g){var a=zA(this.g);null!=a&&(this.A=a)}this.F=!0;null!=this.B&&QA(this);this.dispatchEvent(new g.cf("initialized"))};
g.h.vP=function(a){PA(this,a.getError())};
g.h.rP=function(a){if(null!=a.g){var b=a.g;"companion_slot_init"==a.type?(cn(b.D),Nf(function(){null!=this.o&&this.o.dispatchEvent(new Co("companion_impression"))},this)):"companion_click"==a.type&&(cn(b.C),null!=this.o&&this.o.dispatchEvent(new Co("companion_click")))}};
g.h.gi=function(){return this.g};g.D(TA,Yu);
TA.prototype.A=function(){if(null===this.g){for(var a=this.B,b=new lz,c=g.Nd(g.Pd(this.B)),d=0,e=c.length;d<e;d++){var f=c[d];if("vmap:AdBreak"==f.nodeName){var k=f;var l=[];for(var m="",n=null,q=!1,r=!1,w=null,z=!1,B=g.Nd(k),C=0,N=B.length;C<N;C++){var da=B[C];switch(da.nodeName){case "vmap:AdSource":if(!n&&(n=eia(da),!n)){m=Br(da,"vmap:AdTagURI");var Ea="";m.length&&(Ea=g.F(Dr(m[0])));if(E(Ea))throw fn(Ura,null,da.parentNode.nodeName,da.nodeName);m=Ea}break;case "vmap:Extensions":w=Br(da,"vmap:Extension"),
z=g.gb(w,g.Ga(UA,"type","bumper")),null!=z&&(q=!0,r=Cr(z,"suppress_bumper"),r=null!=r?"true"==r:!0),z=fia(w),w=z.breakType,z=z.nn}}B=null;if(n){B=n;n=null;try{n=Ar(B)}catch(Ba){n=xr(B)}B=this.o.clone();B.o=n;B.g=""}else E(m)||(n=m,B=this.o.clone(),B.o="",B.g=n);B&&(P.g()&&(n=B,k=Cr(k,"timeOffset"),C=Gr(k),n.Ep="start"==k||0==C?0:"end"==k||-1==C?-1:1E3*C),k=new kz(B),k.isBumper=q,k.g=q&&!r,k.A=w,k.nn=z,g.qb(l,k));f=cia(f);q=0;for(r=f.length;q<r;q++)if(k=f[q],w=Gr(k),0<q&&(l=dia(this,l)),"start"==k||
0==w)mz(b,l,0);else if("end"==k)mz(b,l,-1);else{if(-1==w)throw fn(pz,null,"timeOffset",g.F(k));mz(b,l,w)}}}if(0==b.g.Db().length)throw fn(vq);this.g=new Zu(a,null,b)}return this.g};XA.prototype.G=function(){var a=this.B(this.C());return Xf(a)?a.then(function(a){return a.toString()}):a instanceof Error?a:a.toString()};
XA.prototype.D=function(){var a=1;Bn()&&(a+=4);if(!P.g()){var b=15360;P.ba&&(b+=8);a+=b}return a};var wB={n2:"ultrahigh",TY:"high",bG:"medium"},mia={jW:1E3,kW:1001,lW:1002,mW:1003,nW:1004,oW:1005,pW:1006},nia={XF:1,yF:2},oia={bF:"content",X0:"site",Y0:"site_content"};g.h=cB.prototype;g.h.Gm="high";g.h.Or=!1;g.h.hq=1;g.h.iq=null;g.h.adType="video";g.h.adBlock=1;g.h.Pr=null;g.h.kq=!0;g.h.lq=null;g.h.Gq=null;g.h.Ck=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.Py=null;g.h.Oy=null;g.h.po=1E5;g.h.qo=null;g.h.Ry=null;g.h.Qy=null;
g.h.Ds=0;g.h.Pj=null;g.h.Mo=null;g.h.Wo=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.Jo=null;g.h.url=null;g.h.Zn=null;g.h.Cu=null;g.h.Qr=null;g.h.Ju=null;g.h.Gu=null;g.h.Hu=null;g.h.Iu=null;g.h.sq=null;g.h.Bu=null;g.h.Cp=null;g.h.pK=null;g.h.qK=null;g.h.contentTitle=null;var kia={SW:"bumpervideo",zF:"flash",PF:"image",d1:"skippablevideo",k1:"standardvideo",o1:"staticimage",TEXT:"text",VIDEO:"video"},oB=["flash","image","staticimage"],lia=[new g.gd(200,200),new g.gd(250,250),new g.gd(300,250),new g.gd(336,280),new g.gd(450,50),new g.gd(468,60),new g.gd(480,70),new g.gd(728,90)];g.D(xB,XA);var pia=["bumpervideo","skippablevideo","standardvideo","video"];xB.prototype.F={HE:"allow",fv:"exclude",u0:"require"};xB.prototype.D=function(){var a=xB.Z.D.call(this);P.g()&&this.g.Wo&&(a|=this.g.Wo);return a};
xB.prototype.B=function(a){var b=new g.Ul(this.o.g),c=new g.Ul("//"+b.o+b.A);b=a.Db();(0,g.H)(b,function(b){g.cm(c,b,a.get(b))});
Vl(c,"https");return c};
xB.prototype.C=function(){var a=new Ol;a.set("sdkv",bB(this));a.set("sdki",this.D().toString(16));a.set("video_product_type",null!=this.g.Pj?P.g()?5:g.Ka(this.g.Pj,"ca-games-")?4:g.Ka(this.g.Pj,"ca-video-")?0:-1:-1);a.set("correlator",this.I.g);a.set("client",this.g.Pj);P.g()&&!E(g.F(this.g.url))?a.set("url",this.g.url):a.set("url",this.o.location?this.o.location:this.o.referrer);null!=this.o.Se&&a.set("adk",this.o.Se);a.set("num_ads",yB(this));a.set("channel",ria(this));a.set("output","xml_vast3");
this.g.Or&&a.set("adtest","on");lo&&a.set("flash",Yi);nB("alternate_ad_url",this.g.lq,a);nB("cpm",this.g.Gq,a);dB(a,this.o);P.g()||Sb(wB,this.g.Gm)&&a.set("adsafe",this.g.Gm);this.g.host&&(a.set("host",this.g.host),nB("ht_id",this.g.hostTierId,a),null!=this.g.A&&nB("h_ch",this.g.A.join("+"),a));nB("hl",this.g.language,a);nB("cust_age",this.g.Pr,a);nB("cust_gender",this.g.gender,a);-1!=this.g.tagForChildDirectedTreatment&&nB("tfcd",this.g.tagForChildDirectedTreatment,a);null!=this.g.Jo&&nB("pucrd",
this.g.Jo,a);nB("slotname",this.g.iq,a);if(iB(this.g)&&(a.set("ea","0"),null!=this.o.ff&&null!=this.o.df)){var b=jB(this.g,this.o.ff,this.o.df,this.o.gj);a.set("image_size",b);E(b)&&(this.g.g=qB(this.g.g,this.g.adType,!0),this.g.adType=this.g.g.join("_"))}a.set("ad_type",this.g.adType);b=Sm(Om());E(g.F(b))||a.set("eid",b);fB(a);b=this.I;var c=this.g,d=this.g.Ck;if(null!=d){var e=On(b);c=null!=c.Cp?c.Cp:Fn(e,d);1!=c&&a.set("ad_block",c);null==b.N&&(b.N=new Ln);c=b.N;var f=d!=b.O;(e=0==e.g%100||f)||
(e=36E5<(null===c.g?0:(new g.Jn).getTime()-c.g));e&&c.reset();b.O=d;b=c.o;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.g.hq;a.set("videoad_start_delay",null!=b?b:1);$A(this,a);aB(this,a);YA(this,a);qia(this)&&a.set("video_format",null!=this.g.Zn&&P.g()?this.g.Zn:g.pF&&g.Vi(6)||g.PM&&g.Vi(4)||wn(2.3)?43:18);b=null!=this.g.Mo?this.g.Mo:g.lb(this.g.adType.split("_"),"text")?P.g()&&Pm().g("exclude_pyv_overlays_on_desktop_watch")?this.F.fv:this.F.HE:this.F.fv;a.set("t_pyv",b);nB("min_ad_duration",
this.g.Ds,a);0<this.g.po&&a.set("max_ad_duration",zB(this.g.po,yB(this)));0<this.g.qo&&a.set("sdmax",zB(this.g.qo,yB(this)));kB(a,this.J);P.g()&&(b=$p(this.g.Ck),null!=b&&a.set("video_doc_id","yt_"+b));nB("description_url",this.g.Ck,a);P.g()&&(nB("lact",gB(this.o),a),nB("loeid",this.g.Qr,a),nB("lsv",this.g.isLiveStream,a),this.g.kq||nB("scs","false",a),nB("targeting",this.g.targeting,a),nB("video_cpm",this.g.Cu,a),nB("yt_pt",this.g.Ju,a),nB("ytdevice",this.g.Gu,a),nB("ytdevicever",this.g.Hu,a),nB("yt_vis",
hB(this.o),a),nB("dbp",this.g.Iu,a),nB("avo",this.g.sq,a),nB("v_p",this.g.Bu,a));null!=a.get("ms")||nB("ms",this.g.B,a);nB("vid_kw",this.o.B?this.o.B.join(","):null,a);nB("vid_d",this.o.D,a);nB("vid_t",this.o.contentTitle,a);ZA(a);lB(this.o,a,!1);null!=this.o.Th&&nB("loc",this.o.Th.page_location,a);return a};g.D(BB,XA);BB.prototype.B=function(a){var b=new g.Ul(this.o.g);(0,g.H)(a.Db(),function(c){E(a.get(c))?b.g.remove(c):g.cm(b,c,a.get(c))});
Vl(b,"https");return b};
BB.prototype.C=function(){var a=new Ol;a.set("sdkv",bB(this));aB(this,a);YA(this,a);ZA(a);null!=this.o.Se&&a.set("adk",this.o.Se);return a};g.D(CB,XA);CB.prototype.C=function(){return new Ol};
CB.prototype.B=function(){var a=new Gq(this.o.g),b=bB(this);b&&Iq(a,"dc_sdkv",[b]);(b=this.D().toString(16))&&Iq(a,"dc_sdki",[b]);(b=this.A.J)&&Iq(a,"dc_submodel",[b]);null!=this.o.Se&&Iq(a,"dc_adk",[this.o.Se]);b=Sm(Om());E(g.F(b))||Iq(a,"dc_eid",[b]);b=P.aa;null!=b&&Iq(a,"dc_rfl",[ui(b)]);b=new Ol;$A(this,b);aB(this,b);YA(this,b);ZA(b);Ql(b,"js")&&Iq(a,"dc_js",[b.get("js")]);Ql(b,"msid")&&Iq(a,"dc_msid",[b.get("msid")]);Ql(b,"frm")&&Iq(a,"dc_frm",[b.get("frm")]);Ql(b,"osd")&&Iq(a,"dc_osd",[b.get("osd")]);
Ql(b,"sdr")&&Iq(a,"dc_sdr",[b.get("sdr")]);Iq(a,"dcmt",["text/xml"]);Ql(b,"vpa")&&Iq(a,"vpa",[b.get("vpa")]);Ql(b,"mpt")&&Iq(a,"mpt",[b.get("mpt")]);Ql(b,"mpv")&&Iq(a,"mpv",[b.get("mpv")]);b=Hq(a,"dc_output");null!=b&&(g.lb(b,"vast")||g.lb(b,"xml_vast2"))&&Iq(a,"dc_output",["xml_vast3"]);Vl(a,"https");return a};g.D(DB,XA);DB.prototype.B=function(a){a=new g.Ul(a.get("adTagUrl"));Vl(a,"https");return a};
DB.prototype.G=function(){var a=g.F(this.C().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
DB.prototype.C=function(){var a=new Ol;a.set("adTagUrl",this.o.g);a.set("adsResponse",this.o.o);return a};g.D(EB,XA);EB.prototype.B=function(a){return new g.Ul(a.get("adTagUrl"))};
EB.prototype.C=function(){var a=new Ol;a.set("adTagUrl",this.o.g);a.set("adsResponse",this.o.o);return a};g.D(FB,XA);FB.prototype.B=function(a){var b=new g.Ul(this.o.g);(0,g.H)(a.Db(),function(c){E(a.get(c))?b.g.remove(c):g.cm(b,c,a.get(c))});
Vl(b,"https");return b};
FB.prototype.C=function(){var a=new Ol,b=Sm(Om());E(g.F(b))||a.set("eid",b);a.set("sdkv",bB(this));a.set("sdki",this.D().toString(16));a.set("correlator",this.A.B);a.set("scor",this.A.g);null!=this.o.Se&&a.set("adk",this.o.Se);$A(this,a);aB(this,a);YA(this,a);ZA(a);b=(new g.Ul(this.o.g)).g;var c=new cB;c.o=uB(c.o,b.get("overlay"));a.set("afvsz",jB(c,this.o.ff,this.o.df,this.o.gj));b=this.A.A;null!=b&&(this.A.A=null,a.set("fbidx",b));b=this.A.V;null!=b&&a.set("ppid",b);b="null";c=this.A.o;null!=c?
b=c:Xm(this.o.location)?b=this.o.location:Xm(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||P.g()||(b=wia(b),a.set("ciu_szs",b));b=(new g.Ul(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.D(GB,FB);GB.prototype.B=function(a){a=GB.Z.B.call(this,a);this.I||yia(this,a);return a};g.D(HB,CB);HB.prototype.B=function(a){a=HB.Z.B.call(this,a);this.I||Aia(this,a);return a};g.D(IB,XA);var Cia="CA_TYPE CPN DT FLASH FRM LACT MT P_H P_W TSLA U_AH U_AW U_CD U_H U_HIS U_JAVA U_NMIME U_NPLUG U_TZ U_W VIS".split(" ");IB.prototype.B=function(){if(!/\[BISCOTTI_ID\]/.test(this.o.g))return JB(this);var a=this.o.Qm();return Xf(a)?a.then(function(a){return JB(this,a)},function(a){throw fn(Ora,a);
},this):a instanceof Error?fn(Ora,a):JB(this,a)};
IB.prototype.C=function(){return new Ol};KB.prototype.fetch=function(a,b,c){null!=a.o&&(g.u(a.o)&&!E(a.o)||a.o instanceof window.Document)?Fia(this,a,b,c):Oq(a.g)&&null!=this.g&&!this.g.G?this.g.start(a,(0,g.A)(function(){MB(this,a,b,c)},this)):MB(this,a,b,c)};
KB.prototype.o=function(a,b,c,d){var e=Eia(a,this.B).G();Xf(e)?e.then(function(e){OB(this,e,a,b,c,d)},function(a){a instanceof Hm?c(a):c(fn(NB,a))},this):e instanceof Hm?c(e):e instanceof Error?c(fn(NB,e)):OB(this,e,a,b,c,d)};PB.prototype.reset=function(a){this.g=a+(0,g.G)()};QB.prototype.start=function(a,b){this.C=a;this.F=b;Nia(this);this.D.F?this.I():rm(this.o,this.D,"initialized",this.I,this)};
QB.prototype.I=function(){var a=this.D.gi();var b=a.fe&&"retrieved"==a.A?a.D:void 0;a=Wha(a);null!=b&&(this.B.B=b);null!=a&&(this.B.G=a);Mia(this)};g.h=g.SB.prototype;g.h.Lc=function(){return this.g.length+this.o.length};
g.h.isEmpty=function(){return g.nb(this.g)&&g.nb(this.o)};
g.h.clear=function(){this.g=[];this.o=[]};
g.h.contains=function(a){return g.lb(this.g,a)||g.lb(this.o,a)};
g.h.remove=function(a){var b=this.g;var c=ora(b,a);0<=c?(g.rb(b,c),b=!0):b=!1;return b||g.sb(this.o,a)};
g.h.sb=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);var c=this.o.length;for(b=0;b<c;++b)a.push(this.o[b]);return a};g.D(ZB,g.Ff);g.D(dC,My);g.h=dC.prototype;g.h.Eq=function(){var a=Ny(this);g.S(a,"ima-container-rotator");this.G=g.Ad("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.Ad("DIV",{id:ab(),"class":"ima-container-selector"});e.style.top=b+"px";this.Mf.U(e,"click",function(a){this.Uj(a.target)});
this.V.set(e.id,a);this.F.appendChild(e)},this);
this.Uj(g.Pd(this.F));this.play();return a};
g.h.play=function(){null==this.B&&(this.B=new g.sg(this.O),this.Mf.U(this.B,"tick",this.uT));dC.Z.play.call(this);this.B.start()};
g.h.stop=function(){null!=this.B&&this.B.stop();dC.Z.stop.call(this)};
g.h.uT=function(){var a=this.C;this.Uj((g.t(a.nextElementSibling)?a.nextElementSibling:Od(a.nextSibling))||g.Pd(this.C.parentNode))};
g.h.Uj=function(a){this.C&&g.Tp(this.C,"ima-container-active");g.S(a,"ima-container-active");var b=this.V.get(a.id);g.Kd(b,this.G);this.C=a;this.G=b;Oy(b)};g.D(eC,My);eC.prototype.hide=g.y;eC.prototype.Eq=function(){var a=Ny(this);(0,g.H)(this.B,function(a){g.S(a,"ima-container-highlight");this.g.appendChild(a);Oy(a)},this);
this.play();return a};g.D(fC,Py);g.h=fC.prototype;g.h.Iy=function(a,b){if(this.C||null==b)b=g.y;if(P.g()&&this.C)var c=new My(a[0],b);else 1<a.length?hC(this)||"fullscreen"==this.ad&&P.g()?c=new eC(a):(c=new dC(a),c.O=15E3):c=new My(a[0],b);c.Cr=100;this.C&&(c.qz=30);c.rz=45E3;c.gC=6E3;g.T(c.g,"scalable",this.C);g.T(c.oa(),"yt-text-overlay",P.g()&&this.C);return c};
g.h.AT=function(a){var b=a.g;null!=b?(null==this.I&&(this.I=a.getExtension("AdSense").o),Jp(b,g.Ga(this.wr,a,b)),Ip(b,g.Ga(this.FI,a,b)),"Text"==b.md()&&(this.C=!0),this.A.push(b)):(b=fn(cC),b=jq(b,a),cn(es(a),b))};
g.h.Rc=function(a,b,c){fC.Z.Rc.call(this,a,b,c);this.Qa.rw=!0;a=this.ka();g.nb(gs(a))?P.g()&&this.ia("companionBackfill"):this.zd(a)};
g.h.xw=function(){null==this.A&&(this.A=[],(0,g.H)(this.ads,this.AT,this));if(0==this.A.length)throw gn(cC);var a=[];(0,g.H)(this.A,function(b){Kp(b,this.Wa());"Flash"!=b.md()||b.Mb().getExtension("TemplateAd")||(b.zw=!0);a.push(b.Cc());qea(b,this.I.F)},this);
if(0==a.length)throw gn(cC);Tia(this);return this.Km(a)};
g.h.start=function(){fC.Z.start.call(this);!this.G&&hC(this)&&(this.G=!0,this.ia("contentPauseRequested"));null!=this.o&&this.o.start();if(this.B){var a=iC(this);Tn(Qn.getInstance(),33,a)}};
g.h.Sn=function(a){fC.Z.Sn.call(this,a);(0,g.H)(this.A,function(a){var b=kq(a.Mb(),this.Fa);this.Ob.g=b;this.hg(a,["close"]);this.Da("close");this.Ob=new Au},this)};
g.h.tn=function(a){fC.Z.tn.call(this,a);hC(this)&&(null!=this.containerElement&&g.Gd(this.containerElement),P.o?so().Xj(null):ao().Xj(null),this.G&&(this.G=!1,this.ia("contentResumeRequested")))};
g.h.Km=function(a){a=fC.Z.Km.call(this,a);if(hC(this)){var b=Iw(2);g.S(this.g.g,b);g.S(a,b)}return a};
g.h.oq=function(a){if(hC(this)){var b=g.Qd(a);b&&((a=g.Nd(a)[0])&&g.oh(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").o||new hv,this.o=new qx(b,a,2,gC(this),!0),this.Wa().U(this.o,"skip",this.dJ),this.Wa().U(this.o,"end",this.RJ))}else fC.Z.oq.call(this,a),b=Xp(yha,gC(this)),a.appendChild(b)};
g.h.wr=function(a,b){this.B?this.Nl(a,b):this.F.push((0,g.A)(this.Nl,this,a,b));Jp(b,g.y);this.ia("impression")};
g.h.Nl=function(a,b){var c=kq(a,this.Fa);this.Ob.g=c;this.Fg(a);this.hg(b,["creativeview"]);this.Da("impression");this.Da("creativeview");Ju(this,"start");this.Ob=new Au};
g.h.FI=function(a,b,c){a=a.getExtension("AdSense");a=new g.Ul(a.B);var d=b.Gb();(0,window.isNaN)(d)&&(d=g.Hh(b.Cc()).width);var e=b.getHeight();(0,window.isNaN)(e)&&(e=g.Hh(b.Cc()).height);var f=g.Dh(c),k=c instanceof gf;b=k&&g.t(c.B)?c.B:f.x;c=k&&g.t(c.C)?c.C:f.y;f=Om();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.ad,"sdkv=h.0.0.0","eids="+Sm(f)];P.g()||(d=g.Hh(this.Ia.Kf()),e=this.o?Vga(this.o):new g.dd(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,"sy="+e.y]));$m(a,"elementclick",
c);(0,g.H)(this.A,function(a){var b=kq(a.Mb(),this.Fa);this.Ob.g=b;Qy(this,a);this.Da("click");this.Ob=new Au},this);
this.ia("click")};
g.h.zc=function(a){this.ad!=a&&(fC.Z.zc.call(this,a),this.ia("expandedChanged"))};
g.h.Wm=function(){fC.Z.Wm.call(this,this.o?15:0,this.o?65:0)};
g.h.dJ=function(){jC(this,"skip")};
g.h.RJ=function(){jC(this,"close")};g.D(kC,g.K);kC.prototype.o=function(a){if(0==a.Ac||Pm().g("disable_freqcap_for_hummingbird")&&(g.nb(a.F)?0:a.F[0].nn)||0>=this.A||0>=this.g)return!1;var b=(0,g.G)()/1E3;a=a.Ac-this.B.currentTime;0<a&&(b+=a);return b-this.g<=this.A};g.D(lC,kC);lC.prototype.o=function(a){return 5==a.af()?!1:lC.Z.o.call(this,a)};g.D(bC,Eu);g.h=bC.prototype;
g.h.Rc=function(a,b,c){null!=this.Qb&&(this.Qb.Xc(),this.Qb.dispose(),this.Qb=null);bC.Z.Rc.call(this,a,b,c);a=this.Cf.g.Db();b=new Dz(b);var d=4;c&&0<=c.Jt&&(d=c.Jt);var e=new tz,f=Pm(),k=f.o("sdk_ad_prefetch_time_seconds");0<=k&&(d=k);e.D=d;e.C=f.g("enable_prefetch_for_postrolls");e.g=f.g("enable_midroll_notify");e.A=f.g("enable_postroll_notify");e.o=f.o("midroll_notify_time_seconds");e.B=f.o("postroll_notify_time_seconds");this.Kt=null!=c?c.YB:0;Via(this,a);this.Qb=new uz(b,this.Eb.sb(),e);a=this.Cf.g.Db();
Wia(this,a);Xia(this);c=g.gb(this.Eb.sb(),function(a){return 0==a.Ac});
null!=c&&this.eg()&&rC(this,c);try{c={cfg:!0},c.ads=this.kg,Tn(Qn.getInstance(),44,c)}catch(l){}};
g.h.init=function(a){bC.Z.init.call(this,a);this.hp()};
g.h.Kj=function(){this.Ve();this.dispatchEvent(new Hw(null))};
g.h.destroy=function(){this.dispose()};
g.h.W=function(){this.ob.g=!0;if(0<this.Eb.Lc()){var a=this.Eb.sb();(0,g.H)(a,this.dj,this);this.Eb.clear()}pC(this);sC(this);null!=this.Ia&&(this.Ia.hide(),this.Ia=null);bC.Z.W.call(this)};
g.h.start=function(){bC.Z.start.call(this)};
g.h.stop=function(){null!=this.ub&&(this.dj(this.ub),this.ag())};
g.h.Bb=function(a,b,c){bC.Z.Bb.call(this,a,b,c);this.Zd=a;this.Yd=b;this.ad=c;null!=this.ub&&Ty(this.ub,this.Zd,this.Yd,this.ad)};
g.h.pause=function(){null!=this.ub&&this.ub.pause()};
g.h.resume=function(){null!=this.ub&&this.ub.resume()};
g.h.skip=function(){null!=this.ub&&this.ub.skip()};
g.h.rf=function(){null!=this.ub&&this.ub.rf()};
g.h.setVolume=function(a){bC.Z.setVolume.call(this,a);null!=this.ub&&this.ub.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.ub?this.ub.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.ub?this.ub.getDuration():-1};
g.h.Nc=function(){return null!=this.ub?this.ub.Nc():-1};
g.h.Ve=function(){var a=g.vb(this.Cf.g.Db());(0,g.H)(this.Eb.sb(),g.Ga(function(a,c){5==c.af()&&g.sb(a,c.Ac)},a));
return a};
g.h.Lb=function(){return null!=this.ub?this.ub.Lb():null};
g.h.Xo=function(){};
g.h.Re=function(a){bC.Z.Re.call(this,a);null!=this.Eb&&(0,g.H)(this.Eb.sb(),function(b){b.Re(a)})};
g.h.hp=function(){this.Qb.Cb();this.Qb.Dy();var a=g.ta(0)&&!(0,window.isNaN)(0)?this.Cf.g.get(0,[]):[];g.nb(a)&&this.ia("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":oC(this,this.Eb.get(a.g));break;default:g.UB(this.Ek,a),qC(this)}};
g.h.Fi=function(){this.ia("userClose")};
g.h.Ei=function(){this.ia("autoClose")};
g.h.dj=function(a){a.destroy();this.Eb.remove(g.Fa(a));this.ub=null;null!=this.ac&&(this.ac.Ca(a,Ay,this.dispatchEvent,!1,this),this.ac.Ca(a,"adError",this.Jx,!1,this),this.ac.Ca(a,"allAdsCompleted",this.SA,!1,this),this.ac.Ca(a,"contentPauseRequested",this.Bh,!1,this),this.ac.Ca(a,"contentResumeRequested",this.ag,!1,this),this.ac.Ca(a,"adBreakInitialized",this.TA,!1,this))};
g.h.xP=function(a){this.gn=!0;-1==this.si?a.A=!1:P.g()&&!mC(this)||nC(this);Iha(this.Qb)};
g.h.Dl=function(a){if(null!=a.A){var b={};b.adBreakTime=a.A;this.dispatchEvent(new Bm("adNotify",null,b))}};
g.h.Fl=function(){this.dispatchEvent(new Bm("discardAdNotify",null))};
g.h.wO=function(a){var b=a.A,c=0==b,d=-1==b;this.Dk?(c?this.ia("contentResumeRequested"):!d||P.g()&&!mC(this)||nC(this),this.Dk=!1):(d?g.ug(function(){var b=this.Eb.get(a.g);b&&this.dj(b);P.g()&&!mC(this)||nC(this)},500,this):c&&g.ug(function(){this.ia("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new Bm("adBreakReady",null,c)))};
g.h.Jx=function(a){var b=a.getError(),c=b.Rb();try{var d={};d.ec=c;Tn(Qn.getInstance(),44,d)}catch(e){}if(P.g()&&b&&"adLoadError"==b.Yb()&&(this.dispatchEvent(a),null!=this.Qb))for(b=this.Qb,a=a.target.Ac,c=0;c<b.g.length;c++)b.g[c].g==a&&(b.g[c].B=!0)};
g.h.SA=function(a){this.dj(a.target);(mC(this)||!P.g()&&this.gn)&&nC(this);this.Kd=null;qC(this)};
g.h.Bh=function(){var a=this.Qb;a.o.stop();a.A=!1;this.ia("contentPauseRequested")};
g.h.ag=function(){this.ia("contentResumeRequested");this.jq||xz(this.Qb);this.Kd=null};
g.h.TA=function(a){this.Kd=null;var b=a.target;a={};a.adBreakTime=b.Ac;this.dispatchEvent(new Bm("prefetched",b.Lb(),a));if(null!=this.Qb){a=this.Qb;b=b.Ac;for(var c=0;c<a.g.length;c++)a.g[c].g==b&&(a.g[c].fe=!0)}qC(this)};
g.h.ia=function(a){var b=null;null!=this.ub&&(b=this.ub.Lb());this.dispatchEvent(new Bm(a,b))};
g.h.hj=function(a){return g.gb(this.Eb.sb(),g.Ga(function(a,c){return c.Ac==a},a))};
g.h.FC=function(a,b){P.g()?this.kd=new lC(a,b):this.kd=new kC(a,b);return this.kd};
g.h.De=function(){return P.g()&&null!=tC(this)&&null!=tC(this).g?tC(this).g.De():null};
g.h.cg=function(a){null!=tC(this)&&tC(this).cg(a)};
g.h.eg=function(){return null===this.Ia?!1:this.Qa.Xk&&Dn(this.Ia)};g.D(vC,g.Ff);vC.prototype.W=function(){null!=this.g&&(this.g.Ca("adsManagerLoaded",this.dispatchEvent),this.g.Ca("adError",this.dispatchEvent),this.g.Ca("adLoadError",this.dispatchEvent),this.g=null);vC.Z.W.call(this)};ic("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!g.v.requestAnimationFrame;++b)g.v.requestAnimationFrame=g.v[c+"RequestAnimationFrame"],g.v.cancelAnimationFrame=g.v[c+"CancelAnimationFrame"]||g.v[c+"CancelRequestAnimationFrame"];if(!g.v.requestAnimationFrame){var d=0;g.v.requestAnimationFrame=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-d));d=b+c;return g.v.setTimeout(function(){a(b+c)},c)};
g.v.cancelAnimationFrame||(g.v.cancelAnimationFrame=function(a){(0,window.clearTimeout)(a)})}})();xC.prototype.stringify=function(a){return g.v.JSON.stringify(a,this.g)};
xC.prototype.parse=function(a){return g.v.JSON.parse(a,this.o)};yC.prototype.clone=function(){return new yC(this.g,this.F,this.A,this.C,this.B,this.D,this.o,this.G)};AC.prototype.o=0;AC.prototype.reset=function(){this.g=this.A=this.B;this.o=0};
AC.prototype.getValue=function(){return this.A};g.h=BC.prototype;g.h.li=null;g.h.tf=!1;g.h.hk=null;g.h.Eu=null;g.h.Ol=null;g.h.nj=null;g.h.hh=null;g.h.Gh=null;g.h.Ii=null;g.h.Pc=null;g.h.Zl=0;g.h.vf=null;g.h.vp=null;g.h.mi=null;g.h.Vk=-1;g.h.sC=!0;g.h.Vh=!1;g.h.sr=0;g.h.No=null;var IC={},GC={};g.h=BC.prototype;g.h.setTimeout=function(a){this.C=a};
g.h.iT=function(a){a=a.target;var b=this.No;b&&3==Zw(a)?b.mj():this.AD(a)};
g.h.AD=function(a){try{if(a==this.Pc)a:{var b=Zw(this.Pc),c=this.Pc.o,d=this.Pc.getStatus();if(g.vd&&!g.sc(10)||g.xd&&!g.rc("420+")){if(4>b)break a}else if(3>b||3==b&&!g.ef&&!cx(this.Pc))break a;this.Vh||4!=b||7==c||(8==c||0>=d?this.g.pf(3):this.g.pf(2));SC(this);var e=this.Pc.getStatus();this.Vk=e;var f=cx(this.Pc);(this.tf=200==e)?(4==b&&KC(this),this.D?(MC(this,b,f),g.ef&&this.tf&&3==b&&(this.B.U(this.o,"tick",this.ZS),this.o.start())):JC(this,f),this.tf&&!this.Vh&&(4==b?this.g.Eo(this):(this.tf=
!1,FC(this)))):(this.mi=400==e&&0<f.indexOf("Unknown SID")?3:0,HC(),KC(this),LC(this))}}catch(k){this.Pc&&cx(this.Pc)}finally{}};
g.h.ZS=function(){var a=Zw(this.Pc),b=cx(this.Pc);this.Zl<b.length&&(SC(this),MC(this,a,b),this.tf&&4!=a&&FC(this))};
g.h.lS=function(a){RC((0,g.A)(this.kS,this,a),0)};
g.h.kS=function(a){this.Vh||(SC(this),JC(this,a),FC(this))};
g.h.LB=function(a){RC((0,g.A)(this.jS,this,a),0)};
g.h.jS=function(a){this.Vh||(KC(this),this.tf=a,this.g.Eo(this),this.g.pf(4))};
g.h.cancel=function(){this.Vh=!0;KC(this)};
g.h.CS=function(){this.hk=null;var a=(0,g.G)();0<=a-this.Eu?(2!=this.nj&&this.g.pf(3),KC(this),this.mi=2,HC(),LC(this)):QC(this,this.Eu-a)};g.h=WC.prototype;g.h.pr=null;g.h.oe=null;g.h.Oo=!1;g.h.ey=null;g.h.xn=null;g.h.qr=null;g.h.rr=null;g.h.Ge=null;g.h.zg=-1;g.h.Uk=null;g.h.uk=null;g.h.connect=function(a){this.rr=a;a=XC(this.g,null,this.rr);HC();this.ey=(0,g.G)();var b=this.g.I;null!=b?(this.Uk=b[0],(this.uk=b[1])?(this.Ge=1,YC(this)):(this.Ge=2,$C(this))):(em(a,"MODE","init"),this.oe=new BC(this,0,void 0,void 0,void 0),this.oe.li=this.pr,EC(this.oe,a,!1,null,!0),this.Ge=0)};
g.h.NH=function(a){if(a)this.Ge=2,$C(this);else{HC();var b=this.g;b.bf=b.Yg.zg;tD(b,9)}a&&this.pf(2)};
g.h.Iq=function(a){return this.g.Iq(a)};
g.h.abort=function(){this.oe&&(this.oe.cancel(),this.oe=null);this.zg=-1};
g.h.by=function(){return!1};
g.h.EB=function(a,b){this.zg=a.Vk;if(0==this.Ge)if(b){try{var c=this.o.parse(b)}catch(d){c=this.g;c.bf=this.zg;tD(c,2);return}this.Uk=c[0];this.uk=c[1]}else c=this.g,c.bf=this.zg,tD(c,2);else if(2==this.Ge)if(this.Oo)HC(),this.qr=(0,g.G)();else if("11111"==b){if(HC(),this.Oo=!0,this.xn=(0,g.G)(),c=this.xn-this.ey,!g.vd||g.sc(10)||500>c)this.zg=200,this.oe.cancel(),HC(),ZC(this.g,this,!0)}else HC(),this.xn=this.qr=(0,g.G)(),this.Oo=!1};
g.h.Eo=function(){this.zg=this.oe.Vk;if(this.oe.tf)0==this.Ge?this.uk?(this.Ge=1,YC(this)):(this.Ge=2,$C(this)):2==this.Ge&&((!g.vd||g.sc(10)?!this.Oo:200>this.qr-this.xn)?(HC(),ZC(this.g,this,!1)):(HC(),ZC(this.g,this,!0)));else{0==this.Ge?HC():2==this.Ge&&HC();var a=this.g;a.bf=this.zg;tD(a,2)}};
g.h.Sl=function(){return this.g.Sl()};
g.h.isActive=function(){return this.g.isActive()};
g.h.pf=function(a){this.g.pf(a)};g.h=aD.prototype;g.h.Gk=null;g.h.Md=null;g.h.xc=null;g.h.mr=null;g.h.Bn=null;g.h.uw=null;g.h.Qn=null;g.h.Bl=0;g.h.sO=0;g.h.od=null;g.h.ah=null;g.h.ug=null;g.h.Zh=null;g.h.Yg=null;g.h.up=null;g.h.Aj=-1;g.h.gz=-1;g.h.bf=-1;g.h.Jk=0;g.h.Yi=0;g.h.Xh=8;var uD=new g.Ff;g.D(bD,g.cf);g.D(cD,g.cf);g.D(dD,g.cf);g.h=aD.prototype;g.h.connect=function(a,b,c,d,e){HC();this.mr=b;this.Gk=c||{};d&&g.t(e)&&(this.Gk.OSID=d,this.Gk.OAID=e);this.D?(RC((0,g.A)(this.Sw,this,a),100),jD(this)):this.Sw(a)};
g.h.Sw=function(a){this.Yg=new WC(this);this.Yg.pr=null;this.Yg.o=this.C;this.Yg.connect(a)};
g.h.by=function(){return 0==this.g};
g.h.JB=function(a){this.ah=null;oD(this,a)};
g.h.IB=function(){this.ug=null;this.xc=new BC(this,0,this.A,"rpc",this.F);this.xc.li=null;this.xc.sr=0;var a=this.uw.clone();g.cm(a,"RID","rpc");g.cm(a,"SID",this.A);g.cm(a,"CI",this.up?"0":"1");g.cm(a,"AID",this.Aj);fD(this,a);if(!g.vd||g.sc(10))g.cm(a,"TYPE","xmlhttp"),EC(this.xc,a,!0,this.Qn,!1);else{g.cm(a,"TYPE","html");var b=this.xc,c=!!this.Qn;b.nj=3;b.hh=fm(a.clone());PC(b,c)}};
g.h.EB=function(a,b){if(0!=this.g&&(this.xc==a||this.Md==a))if(this.bf=a.Vk,this.Md==a&&3==this.g)if(7<this.Xh){try{var c=this.C.parse(b)}catch(f){c=null}if(g.xa(c)&&3==c.length)if(0==c[0])a:{if(!this.ug){if(this.xc)if(this.xc.Ol+3E3<this.Md.Ol)kD(this),this.xc.cancel(),this.xc=null;else break a;rD(this);HC()}}else this.gz=c[1],0<this.gz-this.Aj&&37500>c[2]&&this.up&&0==this.Yi&&!this.Zh&&(this.Zh=RC((0,g.A)(this.WO,this),6E3));else tD(this,11)}else b!=zra.CX.g&&tD(this,11);else if(this.xc==a&&kD(this),
!E(b)){c=this.C.parse(b);g.xa(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.Qn=e[2],e=e[3],null!=e?this.Xh=e:this.Xh=6,this.g=3,this.od&&this.od.Fw(this),this.uw=XC(this,this.Sl()?this.Qn:null,this.mr),pD(this)):"stop"==e[0]&&tD(this,7):3==this.g&&("stop"==e[0]?tD(this,7):"noop"!=e[0]&&this.od&&this.od.Ew(this,e),this.Yi=0)}}};
g.h.WO=function(){null!=this.Zh&&(this.Zh=null,this.xc.cancel(),this.xc=null,rD(this),HC())};
g.h.Eo=function(a){if(this.xc==a){kD(this);this.xc=null;var b=2}else if(this.Md==a)this.Md=null,b=1;else return;this.bf=a.Vk;if(0!=this.g)if(a.tf)1==b?((0,g.G)(),uD.dispatchEvent(new cD(uD,a.Ii?a.Ii.length:0)),iD(this),this.B.length=0):pD(this);else{var c=a.mi,d;if(!(d=3==c||7==c||0==c&&0<this.bf)){if(d=1==b)this.Md||this.ah||1==this.g||2<=this.Jk?d=!1:(this.ah=RC((0,g.A)(this.JB,this,a),qD(this,this.Jk)),this.Jk++,d=!0);d=!(d||2==b&&rD(this))}if(d)switch(c){case 1:tD(this,5);break;case 4:tD(this,
10);break;case 3:tD(this,6);break;case 7:tD(this,12);break;default:tD(this,2)}}};
g.h.iI=function(a){if(!g.lb(arguments,this.g))throw Error("Unexpected channel state: "+this.g);};
g.h.XT=function(a){a?HC():(HC(),sD(this,8))};
g.h.Iq=function(a){if(a)throw Error("Can't create secondary domain capable XhrIo object.");a=new Tw;a.G=!1;return a};
g.h.isActive=function(){return!!this.od&&this.od.isActive(this)};
g.h.pf=function(){uD.dispatchEvent(new dD(uD))};
g.h.Sl=function(){return!(!g.vd||g.sc(10))};
g.h=vD.prototype;g.h.Fw=function(){};
g.h.Ew=function(){};
g.h.Dw=function(){};
g.h.Aq=function(){};
g.h.Kx=function(){return{}};
g.h.isActive=function(){return!0};g.D(g.xD,g.K);g.h=g.xD.prototype;g.h.subscribe=function(a,b,c){var d=this.o[a];d||(d=this.o[a]=[]);var e=this.Qd;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.Qd=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.gb(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.Wd(a)}return!1};
g.h.Wd=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.sb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
g.h.X=function(a){var b=this.o[a];if(b){for(var c=Array(arguments.length-1),d=1,e=arguments.length;d<e;d++)c[d-1]=arguments[d];if(this.C)for(d=0;d<b.length;d++){var f=b[d];dja(this.g[f+1],this.g[f+2],c)}else{this.B++;try{for(d=0,e=b.length;d<e;d++)f=b[d],this.g[f+1].apply(this.g[f+2],c)}finally{if(this.B--,0<this.A.length&&0==this.B)for(;f=this.A.pop();)this.Wd(f)}}return 0!=d}return!1};
g.h.clear=function(a){if(a){var b=this.o[a];b&&((0,g.H)(b,this.Wd,this),delete this.o[a])}else this.g.length=0,this.o={}};
g.h.Lc=function(a){if(a){var b=this.o[a];return b?b.length:0}a=0;for(b in this.o)a+=this.Lc(b);return a};
g.h.W=function(){g.xD.Z.W.call(this);this.clear();this.A.length=0};g.yD.prototype.set=function(a,b){g.t(b)?this.g.set(a,g.Ag(b)):this.g.remove(a)};
g.yD.prototype.get=function(a){try{var b=this.g.get(a)}catch(c){return}if(null!==b)try{return g.yg(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.yD.prototype.remove=function(a){this.g.remove(a)};g.D(zD,g.yD);zD.prototype.set=function(a,b){zD.Z.set.call(this,a,BD(b))};
zD.prototype.o=function(a){a=zD.Z.get.call(this,a);if(!g.t(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
zD.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.D(CD,zD);CD.prototype.set=function(a,b,c){if(b=BD(b)){if(c){if(c<(0,g.G)()){CD.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.G)()}CD.Z.set.call(this,a,b)};
CD.prototype.o=function(a,b){var c=CD.Z.o.call(this,a);if(c)if(!b&&g.DD(c))CD.prototype.remove.call(this,a);else return c};g.D(g.ED,CD);g.D(FD,eja);FD.prototype.Lc=function(){var a=0;g.Nl(this.Xd(!0),function(){a++});
return a};
FD.prototype.clear=function(){var a=pda(this.Xd(!0)),b=this;(0,g.H)(a,function(a){b.remove(a)})};g.D(GD,FD);g.h=GD.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.u(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeItem(a)};
g.h.Lc=function(){return this.g.length};
g.h.Xd=function(a){var b=0,c=this.g,d=new Kl;d.next=function(){if(b>=c.length)throw Ll;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!g.u(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.D(KD,GD);g.D(PD,GD);g.D(QD,FD);QD.prototype.set=function(a,b){this.o.set(this.g+a,b)};
QD.prototype.get=function(a){return this.o.get(this.g+a)};
QD.prototype.remove=function(a){this.o.remove(this.g+a)};
QD.prototype.Xd=function(a){var b=this.o.Xd(!0),c=this,d=new Kl;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};SD.prototype.getValue=function(){return this.g};
SD.prototype.clone=function(){return new SD(this.Qd,this.g)};g.h=TD.prototype;g.h.remove=function(){var a=this.g,b=a.length,c=a[0];if(!(0>=b)){if(1==b)pb(a);else{a[0]=a.pop();a=0;b=this.g;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2;f=k<d&&b[k].Qd<b[f].Qd?k:f;if(b[f].Qd>e.Qd)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.sb=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.Db=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Qd);return b};
g.h.clone=function(){return new TD(this)};
g.h.Lc=function(){return this.g.length};
g.h.isEmpty=function(){return g.nb(this.g)};
g.h.clear=function(){pb(this.g)};g.D(VD,TD);/*
 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.
*/
WD.prototype.cancel=function(a){if(this.g)this.A instanceof WD&&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.N?this.N.call(this.L,this):this.I=!0;this.g||(a=new fE,$D(this),YD(this,!1,a))}};
WD.prototype.J=function(a,b){this.F=!1;YD(this,a,b)};
WD.prototype.vk=function(a){$D(this);YD(this,!0,a)};
WD.prototype.then=function(a,b,c){var d,e,f=new g.Zf(function(a,b){d=a;e=b});
aE(this,d,function(a){a instanceof fE?f.cancel():e(a)});
return f.then(a,b,c)};
Wf(WD);WD.prototype.isError=function(a){return a instanceof Error};
g.D(ZD,Ja);ZD.prototype.message="Deferred has already fired";ZD.prototype.name="AlreadyCalledError";g.D(fE,Ja);fE.prototype.message="Deferred was canceled";fE.prototype.name="CanceledError";eE.prototype.o=function(){delete dE[this.ya];throw this.g;};
var dE={};g.D(gE,we);g.D(hE,we);var gja=[2,11];var Kna={KV:0,IV:1,GV:2,JX:3,JV:4,OX:5,NX:6,LX:7,KX:8,HX:9,IX:10,MX:11,GX:12,LV:13,MV:14,HV:15,NV:16,OV:17},Lna={cW:0,aW:1,ZV:2,bW:3,YV:4,TV:5,WV:6,XV:7,VV:8,SV:9,gW:10,RV:11,UV:12,QV:13,eW:14,PV:15,fW:16,dW:17},Mna={jZ:0,kZ:1,mZ:2,lZ:3,hZ:4,iZ:5,PX:6};g.VG=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.jE=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.ua("yt.config_",g.jE,void 0);var mE=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.ua("yt.msgs_",mE,void 0);Ia=function(a,b){b=void 0===b?{}:b;var c=a in mE?mE[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.pE=void 0;var NE={Qk:function(a,b){a.splice(0,b)},
BV:function(a){a.reverse()},
MJ:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b]=c}};var vka=/^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\/)/,yka=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|googleapis\.com|prod\.google\.com|staging\-www\.sandbox\.googleapis\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,xka=/^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\/)/,
wka=/^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)/,zka=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubeeducation\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,hna=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|prod\.google\.com|youtube\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
xla=/^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(\/+|\?|#|$)/,Bka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/,
uka=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,Cka=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion)))/,Dka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(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|plus\.google\.com|mail\.google\.com|ed\.video\.google\.com|vp\.video\.l\.google\.com|youtube\.com|youtubeeducation\.com|xfx7\.com|yt\.akamaized\.net|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
Aka=/^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)/,
yla=/^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|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|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|24e12c4a-a-95274a9c-s-sites\.googlegroups\.com\/a\/google\.com\/flash-api-test-harness\/apiharness\.swf|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|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 RE=g.t(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.t(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var fF={"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"},gF=!1;var mN=ZN||YN,XN=lF;var xF={},oja=0;var qja={DW:"net.badstatus",D0:"net.retryexhausted",TIMEOUT:"net.timeout",UNKNOWN:"net.unknown"};g.p(AF,Ja);var pja=AF;DF.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),Xf(a)?a:FF(a)):2===this.o&&b?(a=b.call(c,this.g),Xf(a)?a:EF(a)):this};
DF.prototype.getValue=function(){return this.g};
Wf(DF);g.p(HF,Ja);HF.prototype.name="BiscottiError";g.p(GF,Ja);GF.prototype.name="BiscottiMissingError";var KF={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},JF=null;var QF={};var jsa,VF;jsa=0;VF=g.xd?"webkit":g.qh?"moz":g.vd?"ms":g.ef?"o":"";g.ksa=g.x("ytDomDomGetNextId")||function(){return++jsa};
g.ua("ytDomDomGetNextId",g.ksa,void 0);var tja={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};aG.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
aG.prototype.Xy=function(){return this.event?!1===this.event.returnValue:!1};
aG.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
aG.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var cG=g.x("ytEventsEventsListeners")||{};g.ua("ytEventsEventsListeners",cG,void 0);var dG=g.x("ytEventsEventsCounter")||{count:0};g.ua("ytEventsEventsCounter",dG,void 0);var lsa=g.Kf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.oG.prototype.U=function(a,b,c,d){c=(0,g.A)(c,d||this.o);a=g.eG(a,b,c);this.g.push(a);return a};
g.oG.prototype.rh=function(a,b,c,d){c=(0,g.A)(c,d||this.o);a=mG(a,b,c);this.g.push(a);return a};
g.oG.prototype.Ca=function(a){g.fG(a);g.sb(this.g,a)};g.p(g.qG,g.K);g.qG.prototype.P=function(a,b,c,d,e){c=QE((0,g.A)(c,d||this.Ib));c={target:a,name:b,vk:c};var f;e&&lsa()&&(f={passive:!0});a.addEventListener(b,c.vk,f);this.N.push(c);return c};
g.qG.prototype.Ca=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.vk);break}};
g.qG.prototype.W=function(){g.sG(this);g.K.prototype.W.call(this)};g.D(g.tG,g.K);g.tG.prototype.subscribe=function(a,b,c){return this.la()?0:this.ea.subscribe(a,b,c)};
g.tG.prototype.unsubscribe=function(a,b,c){return this.la()?!1:this.ea.unsubscribe(a,b,c)};
g.tG.prototype.Wd=function(a){return this.la()?!1:this.ea.Wd(a)};
g.tG.prototype.X=function(a,b){return this.la()?!1:this.ea.X.apply(this.ea,arguments)};g.p(g.vG,g.tG);g.h=g.vG.prototype;g.h.cancel=function(){this.B&&(this.B=!1,this.X("dragend",0,0,null));this.o&&(this.o=!1,this.X("hoverend",0,0,null),g.sG(this.g),uG(this))};
g.h.Cz=function(a){g.sG(this.g);wG(this,xG("move"),this.Az);wG(this,xG("out"),this.Bz);wG(this,"touchstart",this.Hs);this.A&&wG(this,xG("down"),this.Gs);var b=g.gG(a);a=iG(a);this.o=!0;this.X("hoverstart",a.x,a.y,b);this.X("hovermove",a.x,a.y,b)};
g.h.Az=function(a){var b=g.gG(a);a=iG(a);if(this.C){var c=this.C;this.C=null;if(jG(c)==b&&ed(iG(c),a))return}this.X("hovermove",a.x,a.y,b)};
g.h.Bz=function(a){var b=iG(a),c=jG(a);c&&g.Rd(this.D,c)?(this.C=a,this.X("hovermove",b.x,b.y,c)):(g.sG(this.g),uG(this),this.o=!1,this.X("hoverend",b.x,b.y,c))};
g.h.kO=function(a){this.Cz(a);this.Gs(a)};
g.h.Gs=function(a){if(!g.ta(a.button)||0==a.button){g.sG(this.g);this.g.P(window.document,xG("move"),this.jO);this.g.P(window.document,xG("up"),this.bL);var b=g.gG(a);if(g.xd)wG(this,"dragstart",this.cI);else if(g.nG(a),(g.yO||g.qh)&&b)a:{for(var c=b;c;){if(g.Xd(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.B=!0;a=iG(a);this.X("dragstart",a.x,a.y,b);this.X("dragmove",a.x,a.y,b)}};
g.h.cI=function(a){g.nG(a)};
g.h.jO=function(a){var b=g.gG(a);b==window.document&&(b=null);a=iG(a);this.X("hovermove",a.x,a.y,b);this.X("dragmove",a.x,a.y,b)};
g.h.bL=function(a){g.sG(this.g);this.B=!1;var b=kG(a),c=g.gG(a);a=iG(a);b&&g.Rd(this.D,b)?(wG(this,xG("move"),this.Az),wG(this,xG("out"),this.Bz),wG(this,xG("down"),this.Gs),wG(this,"touchstart",this.Hs),this.X("dragend",a.x,a.y,c)):(uG(this),this.o=!1,this.X("dragend",a.x,a.y,c),this.X("hoverend",a.x,a.y,c))};
g.h.Hs=function(a){var b=a.changedTouches[0];b&&(g.sG(this.g),wG(this,"touchmove",this.cL),wG(this,"touchend",this.Dz),wG(this,"touchcancel",this.Dz),this.F=b.identifier,a=g.gG(a),this.o||(this.o=!0,this.X("hoverstart",b.pageX,b.pageY,a)),this.X("hovermove",b.pageX,b.pageY,a),this.A&&(this.B=!0,this.X("dragstart",b.pageX,b.pageY,a),this.X("dragmove",b.pageX,b.pageY,a)))};
g.h.cL=function(a){var b=yG(this,a);b&&(this.A&&g.nG(a),a=g.gG(a),this.X("hovermove",b.pageX,b.pageY,a),this.A&&this.X("dragmove",b.pageX,b.pageY,a))};
g.h.Dz=function(a){var b=yG(this,a);if(b){g.sG(this.g);uG(this);this.o=!1;var c=g.gG(a);this.A&&(this.G||g.nG(a),this.B=!1,this.X("dragend",b.pageX,b.pageY,c));this.X("hoverend",b.pageX,b.pageY,c)}};
g.h.W=function(){this.A&&(g.xd&&this.D.removeAttribute("draggable"),this.D.style.touchAction="");g.sG(this.g);g.tG.prototype.W.call(this)};var vja={enablejsapi:1},wja={},xja={allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"};zG.prototype.clone=function(){var a=new zG,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==wa(c)?a[b]=g.dc(c):a[b]=c}return a};var kH={value:0},lH={};var Fja={yW:"atp",a1:"ska",p0:"que",A_:"mus",W0:"sus"};var msa=g.x("ytPubsubPubsubInstance")||new g.xD;g.xD.prototype.subscribe=g.xD.prototype.subscribe;g.xD.prototype.unsubscribeByKey=g.xD.prototype.Wd;g.xD.prototype.publish=g.xD.prototype.X;g.xD.prototype.clear=g.xD.prototype.clear;g.ua("ytPubsubPubsubInstance",msa,void 0);g.DG=g.x("ytPubsubPubsubSubscribedKeys")||{};g.ua("ytPubsubPubsubSubscribedKeys",g.DG,void 0);g.FG=g.x("ytPubsubPubsubTopicToKeys")||{};g.ua("ytPubsubPubsubTopicToKeys",g.FG,void 0);var EG=g.x("ytPubsubPubsubIsSynchronous")||{};
g.ua("ytPubsubPubsubIsSynchronous",EG,void 0);var zja={log_event:"events",log_event2:"events",log_interaction:"interactions"},I2=Object.create(null);I2.log_event="GENERIC_EVENT_LOGGING";I2.log_event2="GENERIC_EVENT_LOGGING";I2.log_interaction="INTERACTION_LOGGING";var TG={},LG={},RG=0,SG=g.x("ytLoggingTransportLogPayloadsQueue_")||{};g.ua("ytLoggingTransportLogPayloadsQueue_",SG,void 0);var MG=g.x("ytLoggingTransportTokensToCttTargetIds_")||{};g.ua("ytLoggingTransportTokensToCttTargetIds_",MG,void 0);
var UG=g.x("ytLoggingTransportDispatchedStats_")||{};g.ua("ytLoggingTransportDispatchedStats_",UG,void 0);var nsa=g.x("ytLoggingTransportCapturedTime_")||{};g.ua("ytytLoggingTransportCapturedTime_",nsa,void 0);var osa=YG;var iH=g.x("ytLoggingLatencyUsageStats_")||{};g.ua("ytLoggingLatencyUsageStats_",iH,void 0);var jH=0;var psa;psa=new KD;g.mH=psa.isAvailable()?new g.ED(psa):null;var nH,qsa=new PD;nH=qsa.isAvailable()?new g.ED(qsa):null;sH.prototype.hn=function(){var a=new sH({id:this.id,name:this.name,app:this.app,type:this.type,user:this.username,userAvatarUri:this.avatar,obfuscatedGaiaId:this.obfuscatedGaiaId,theme:this.theme,capabilities:Array.from(this.capabilities.values()).join(","),experiments:Array.from(this.experiments.values()).join(",")});a.A=this.A;a.o=this.o;a.g=this.g;return a};g.D(uH,g.K);uH.prototype.B=function(){500<this.g&&24E4>2*this.g&&(this.g*=2);this.C();this.A&&this.start()};
uH.prototype.start=function(){this.o.gc(this.g);this.A=(0,g.G)()+this.g};
uH.prototype.stop=function(){this.o.stop();this.A=0};
uH.prototype.isActive=function(){return this.o.isActive()};g.D(vH,vD);g.h=vH.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.Wd=function(a){return this.A.Wd(a)};
g.h.X=function(a,b){return this.A.X.apply(this.A,arguments)};
g.h.dispose=function(){this.J||(this.J=!0,g.af(this.A),wH(this),g.af(this.o),this.o=null)};
g.h.la=function(){return this.J};
g.h.connect=function(a,b,c){if(!this.g||2!=this.g.g){this.I="";this.o.stop();this.C=a||null;this.B=b||0;a=this.L+"/test";b=this.L+"/bind";var d=new aD("1",c?c.firstTestResults:null,c?c.secondTestResults:null,this.N),e=this.g;e&&(e.od=null);d.od=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.gc(c,b);this.o.isActive()||2==(this.g?this.g.g:0)?this.F.push(c):xH(this)&&lD(this.g,c)};
g.h.Fw=function(){tH(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)lD(this.g,a[b])}this.X("handlerOpened")};
g.h.Dw=function(a,b){var c=2==b&&401==this.g.bf;if(4!=b&&!c){if(6==b||410==this.g.bf)c=this.o,c.o.stop(),c.g=500;this.o.start()}this.X("handlerError",b)};
g.h.Aq=function(a,b,c){if(!this.o.isActive())this.X("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.Kx=function(){var a={v:2};this.I&&(a.gsessionid=this.I);0!=this.B&&(a.ui=""+this.B);0!=this.G&&(a.ui=""+this.G);this.C&&g.gc(a,this.C);return a};
g.h.Ew=function(a,b){"S"==b[0]?this.I=b[1]:"gracefulReconnect"==b[0]?(tH(this.o),this.o.start(),hD(this.g)):this.X("handlerMessage",new Cja(b[0],b[1]))};
g.h.zU=function(){this.o.isActive();var a=this.g,b=0;a.xc&&b++;a.Md&&b++;0!=b?this.o.start():this.connect(this.C,this.B)};var Lja=(0,g.G)(),AH=null,EH=Array(50),DH=-1,FH=!1;g.D(g.PH,g.tG);g.PH.prototype.ee=function(){return this.g};
g.PH.prototype.contains=function(a){return!!g.NH(this.g,a)};
g.PH.prototype.get=function(a){return a?g.OH(this.g,a):null};
g.PH.prototype.info=function(a){g.CH(this.F,a)};g.D(RH,g.tG);var rsa=[2E3,2E3,1E3,1E3,1E3,2E3,2E3,5E3,5E3,1E4];g.h=RH.prototype;g.h.start=function(){!this.g&&(0,window.isNaN)(this.o)&&this.ED()};
g.h.stop=function(){this.g&&(this.g.abort(),this.g=null);(0,window.isNaN)(this.o)||(g.TE(this.o),this.o=window.NaN)};
g.h.W=function(){this.stop();RH.Z.W.call(this)};
g.h.ED=function(){this.o=window.NaN;this.g=g.iF(this.F.ji("/pairing/get_screen"),{method:"POST",Nb:{pairing_code:this.D},timeout:5E3,Vb:(0,g.A)(this.EU,this),onError:(0,g.A)(this.DU,this),Gd:(0,g.A)(this.FU,this)})};
g.h.EU=function(a,b){this.g=null;var c=b.screen||{};c.dialId=this.B;c.name=this.C;this.X("pairingComplete",new GH(c))};
g.h.DU=function(a){this.g=null;a.status&&404==a.status?this.A>=rsa.length?this.X("pairingFailed",Error("DIAL polling timed out")):(a=rsa[this.A],this.o=g.VE((0,g.A)(this.ED,this),a),this.A++):this.X("pairingFailed",Error("Server error "+a.status))};
g.h.FU=function(){this.g=null;this.X("pairingFailed",Error("Server not responding"))};var dI,ZH="";g.D(gI,g.PH);g.h=gI.prototype;g.h.start=function(){fI(this)&&this.X("screenChange");!g.pH("yt-remote-lounge-token-expiration")&&hI(this);g.TE(this.o);this.o=g.VE((0,g.A)(this.start,this),1E4)};
g.h.Fp=function(a,b){fI(this);QH(this,a);iI(this,!1);this.X("screenChange");b(a);a.token||hI(this)};
g.h.remove=function(a,b){var c=fI(this);Oja(this,a)&&(iI(this,!1),c=!0);b(a);c&&this.X("screenChange")};
g.h.qp=function(a,b,c,d){var e=fI(this),f=this.get(a.id);f?(f.name!=b&&(f.name=b,iI(this,!1),e=!0),c(a)):d(Error("no such local screen."));e&&this.X("screenChange")};
g.h.W=function(){g.TE(this.o);gI.Z.W.call(this)};
g.h.MI=function(a){fI(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)}iI(this,!b);b&&g.CH(this.F,"Missed "+b+" lounge tokens.")};
g.h.LI=function(a){g.CH(this.F,"Requesting lounge tokens failed: "+a)};g.D(kI,g.tG);g.h=kI.prototype;g.h.start=function(){var a=(0,window.parseInt)(g.pH("yt-remote-fast-check-period")||"0",10);(this.B=(0,g.G)()-144E5<a?0:a)?nI(this):(this.B=(0,g.G)()+3E5,g.oH("yt-remote-fast-check-period",this.B),this.Rt())};
g.h.isEmpty=function(){return g.$b(this.g)};
g.h.update=function(){jI("Updating availability on schedule.");var a=this.D(),b=g.Pb(this.g,function(b,d){return b&&!!g.OH(a,d)},this);
mI(this,b)};
g.h.W=function(){g.TE(this.A);this.A=window.NaN;this.o&&(this.o.abort(),this.o=null);kI.Z.W.call(this)};
g.h.Rt=function(){g.TE(this.A);this.A=window.NaN;this.o&&this.o.abort();var a=oI(this);if(g.Rb(a)){var b=this.C.ji("/pairing/get_screen_availability");this.o=this.C.Ku(b,{lounge_token:g.Ub(a).join(",")},(0,g.A)(this.MR,this,a),(0,g.A)(this.LR,this))}else mI(this,{}),nI(this)};
g.h.MR=function(a,b){this.o=null;var c=g.Ub(oI(this));if(g.Gb(c,g.Ub(a))){c=b.screens||[];for(var d={},e=0,f=c.length;e<f;++e)d[a[c[e].loungeToken]]="online"==c[e].status;mI(this,d);nI(this)}else this.jc("Changing Screen set during request."),this.Rt()};
g.h.LR=function(a){this.jc("Screen availability failed: "+a);this.o=null;nI(this)};
g.h.jc=function(a){g.CH("OnlineScreenService",a)};g.D(g.pI,g.PH);g.h=g.pI.prototype;g.h.start=function(){this.A.start();this.o.start();this.g.length&&(this.X("screenChange"),this.o.isEmpty()||this.X("onlineScreenChange"))};
g.h.Fp=function(a,b,c){this.A.Fp(a,b,c)};
g.h.remove=function(a,b,c){this.A.remove(a,b,c);this.o.update()};
g.h.qp=function(a,b,c,d){this.A.contains(a)?this.A.qp(a,b,c,d):(a="Updating name of unknown screen: "+a.name,g.CH(this.F,a),d(Error(a)))};
g.h.ee=function(a){return a?this.g:g.ub(this.g,(0,g.Ld)(this.B,function(a){return!this.contains(a)},this))};
g.h.FD=function(){return(0,g.Ld)(this.ee(!0),function(a){return!!this.o.g[a.id]},this)};
g.h.GD=function(a,b,c,d,e){this.info("getDialScreenByPairingCode "+a+" / "+b);var f=new RH(this.D,a,b,c);f.subscribe("pairingComplete",(0,g.A)(function(a){g.af(f);d(qI(this,a))},this));
f.subscribe("pairingFailed",function(a){g.af(f);e(a)});
f.start();return(0,g.A)(f.stop,f)};
g.h.HU=function(a,b,c,d){g.iF(this.D.ji("/pairing/get_screen"),{method:"POST",Nb:{pairing_code:a},timeout:5E3,Vb:(0,g.A)(function(a,d){var e=new GH(d.screen||{});if(!e.name||sI(this,e.name)){a:{var f=e.name;for(var m=2,n=b(f,m);sI(this,n);){m++;if(20<m)break a;n=b(f,m)}f=n}e.name=f}c(qI(this,e))},this),
onError:(0,g.A)(function(a){d(Error("pairing request failed: "+a.status))},this),
Gd:(0,g.A)(function(){d(Error("pairing request timed out."))},this)})};
g.h.W=function(){g.af(this.A);g.af(this.o);g.pI.Z.W.call(this)};
g.h.aJ=function(){tI(this);this.X("screenChange");this.o.update()};
g.pI.prototype.dispose=g.pI.prototype.dispose;g.D(vI,g.tG);g.h=vI.prototype;g.h.Fo=function(a){this.A=a;this.X("sessionScreen",this.A)};
g.h.ke=function(a){this.la()||(a&&wI(this,""+a),this.A=null,this.X("sessionScreen",null))};
g.h.info=function(a){g.CH(this.N,a)};
g.h.ID=function(){return null};
g.h.Yt=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(){wI(this,"Failed to update receiver status for: "+b.friendlyName)},this))};
g.h.W=function(){this.Yt("");vI.Z.W.call(this)};g.D(yI,vI);g.h=yI.prototype;g.h.Xt=function(a){if(this.g){if(this.g==a)return;wI(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);Vja(this)};
g.h.Bj=function(a){this.info("launchWithParams no-op for Cast: "+g.Ag(a))};
g.h.stop=function(){this.g?this.g.stop((0,g.A)(function(){this.ke()},this),(0,g.A)(function(){this.ke(Error("Failed to stop receiver app."))},this)):this.ke(Error("Stopping cast device witout session."))};
g.h.Yt=g.y;g.h.W=function(){this.info("disposeInternal");g.TE(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;yI.Z.W.call(this)};
g.h.MS=function(a,b){if(!this.la())if(b){a:{var c;if(g.v.JSON)try{var d=c=g.v.JSON.parse(b);break a}catch(e){}d=c=g.yg(b)}if(d)switch(c=""+d.type,d=d.data||{},this.info("onYoutubeMessage_: "+c+" "+g.Ag(d)),c){case "mdxSessionStatus":xI(this,d.screenId);break;default:wI(this,"Unknown youtube message: "+c)}else wI(this,"Unable to parse message.")}else wI(this,"No data in message.")};
g.h.Ux=function(a,b,c,d){rI(this.I,this.o.label,a,this.o.friendlyName,(0,g.A)(function(e){e?b(e):0<=d?(wI(this,"Screen "+a+" appears to be offline. "+d+" retries left."),g.VE((0,g.A)(this.Ux,this,a,b,c,d-1),300)):c(Error("Unable to fetch screen."))},this),c)};
g.h.ID=function(){return this.g};
g.h.IU=function(a){this.la()||a||(wI(this,"Cast session died."),this.ke())};g.D(zI,vI);g.h=zI.prototype;g.h.Xt=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.TE(this.D);this.B?this.B.stop((0,g.A)(this.ke,this,null),(0,g.A)(this.ke,this,"Failed to stop DIAL device.")):this.ke()};
g.h.W=function(){this.g();this.g=g.y;g.TE(this.D);this.B&&this.B.removeUpdateListener(this.L);this.B=null;zI.Z.W.call(this)};
g.h.LU=function(a){this.la()||a||(wI(this,"DIAL session died."),this.g(),this.g=g.y,this.ke())};
g.h.Xr=function(a){this.J=g.MH();if(this.C){var b=new window.chrome.cast.DialLaunchResponse(!0,BI(this));a(b);AI(this)}else this.F=(0,g.A)(function(){g.TE(this.D);this.F=g.y;this.D=window.NaN;var b=new window.chrome.cast.DialLaunchResponse(!0,BI(this));a(b);AI(this)},this),this.D=g.VE((0,g.A)(function(){this.F()},this),100)};
g.h.CK=function(a,b){rI(this.I,this.G.receiver.label,a,this.o.friendlyName,(0,g.A)(function(a){a&&a.token?(this.Fo(a),b(new window.chrome.cast.DialLaunchResponse(!1))):this.Xr(b)},this),(0,g.A)(function(a){wI(this,"Failed to get DIAL screen: "+a);
this.Xr(b)},this))};g.D(CI,vI);CI.prototype.stop=function(){this.ke()};
CI.prototype.Xt=g.y;CI.prototype.Bj=function(){g.TE(this.g);this.g=window.NaN;var a=g.OH(this.I.ee(),this.o.label);a?this.Fo(a):this.ke(Error("No such screen"))};
CI.prototype.W=function(){g.TE(this.g);this.g=window.NaN;CI.Z.W.call(this)};g.D(g.DI,g.tG);g.h=g.DI.prototype;
g.h.init=function(a,b){window.chrome.cast.timeout.requestSession=3E4;var c=new window.chrome.cast.SessionRequest(this.D);this.F||(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.FB,this),(0,g.A)(this.wR,this),d,e);c.customDialLaunchCallback=(0,g.A)(this.GP,this);window.chrome.cast.initialize(c,
(0,g.A)(function(){this.la()||(window.chrome.cast.addReceiverActionListener(this.B),Ija(),this.o.subscribe("onlineScreenChange",(0,g.A)(this.HD,this)),this.A=II(this),window.chrome.cast.setCustomReceivers(this.A,g.y,(0,g.A)(function(a){this.jc("Failed to set initial custom receivers: "+g.Ag(a))},this)),this.X("yt-remote-cast2-availability-change",GI(this)),b(!0))},this),(0,g.A)(function(a){this.jc("Failed to initialize API: "+g.Ag(a));
b(!1)},this))};
g.h.HT=function(a,b){FI("Setting connected screen ID: "+a+" -> "+b);if(this.g){var c=this.g.A;if(!a||c&&c.id!=a)FI("Unsetting old screen status: "+this.g.o.friendlyName),HI(this,null)}if(a&&b){if(!this.g){c=g.OH(this.o.ee(),a);if(!c){FI("setConnectedScreenStatus: Unknown screen.");return}var d=EI(this,c);d||(FI("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.Ag(a))},this)));
FI("setConnectedScreenStatus: new active receiver: "+d.friendlyName);HI(this,new CI(this.o,d),!0)}this.g.Yt(b)}else FI("setConnectedScreenStatus: no screen.")};
g.h.IT=function(a){this.la()?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.KU=function(){this.la()?this.jc("Stopping session on disposed cast v2"):this.g?(this.g.stop(),HI(this,null)):FI("Stopping non-existing session")};
g.h.requestSession=function(){window.chrome.cast.requestSession((0,g.A)(this.FB,this),(0,g.A)(this.QR,this))};
g.h.W=function(){this.o.unsubscribe("onlineScreenChange",(0,g.A)(this.HD,this));window.chrome&&window.chrome.cast&&window.chrome.cast.removeReceiverActionListener(this.B);var a=yH,b=g.x("yt.mdx.remote.debug.handlers_");g.sb(b||[],a);g.af(this.g);g.DI.Z.W.call(this)};
g.h.jc=function(a){g.CH("Controller",a)};
g.h.GB=function(a,b){this.g==a&&(b||HI(this,null),this.X("yt-remote-cast2-session-change",b))};
g.h.sR=function(a,b){if(!this.la())if(a)switch(a.friendlyName=window.chrome.cast.unescape(a.friendlyName),FI("onReceiverAction_ "+a.label+" / "+a.friendlyName+"-- "+b),b){case window.chrome.cast.ReceiverAction.CAST:if(this.g)if(this.g.o.label!=a.label)FI("onReceiverAction_: Stopping active receiver: "+this.g.o.friendlyName),this.g.stop();else{FI("onReceiverAction_: Casting to active receiver.");this.g.A&&this.X("yt-remote-cast2-session-change",this.g.A);break}switch(a.receiverType){case window.chrome.cast.ReceiverType.CUSTOM:HI(this,
new CI(this.o,a));break;case window.chrome.cast.ReceiverType.DIAL:HI(this,new zI(this.o,a));break;case window.chrome.cast.ReceiverType.CAST:HI(this,new yI(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.GP=function(a){if(this.la())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 FI("Reselecting dial screen."),
this.X("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);HI(this,new zI(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.CK,b,(b.G.extraData||{}).screenId||null)):new window.Promise((0,g.A)(b.Xr,b))};
g.h.FB=function(a){if(!this.la()){FI("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)FI("Got resumed cast session before resumed mdx connection."),b.friendlyName=window.chrome.cast.unescape(b.friendlyName),HI(this,new yI(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.OH(this.o.ee(),c.label);
d&&g.HH(d,b.label)&&c.receiverType!=window.chrome.cast.ReceiverType.CAST&&b.receiverType==window.chrome.cast.ReceiverType.CAST&&(FI("onSessionEstablished_: manual to cast session change "+b.friendlyName),g.af(this.g),this.g=new yI(this.o,b),this.g.subscribe("sessionScreen",(0,g.A)(this.GB,this,this.g)),this.g.Bj(null));this.g.Xt(a)}}};
g.h.JU=function(){return this.g?this.g.ID():null};
g.h.QR=function(a){this.la()||(this.jc("Failed to estabilish a session: "+g.Ag(a)),a.code!=window.chrome.cast.ErrorCode.CANCEL&&HI(this,null))};
g.h.wR=function(a){FI("Receiver availability updated: "+a);if(!this.la()){var b=GI(this);this.C=a==window.chrome.cast.ReceiverAvailability.AVAILABLE;GI(this)!=b&&this.X("yt-remote-cast2-availability-change",GI(this))}};
g.h.HD=function(){this.la()||(this.A=II(this),FI("Updating custom receivers: "+g.Ag(this.A)),window.chrome.cast.setCustomReceivers(this.A,g.y,(0,g.A)(function(){this.jc("Failed to set custom receivers.")},this)),this.X("yt-remote-cast2-availability-change",GI(this)))};
g.DI.prototype.setLaunchParams=g.DI.prototype.IT;g.DI.prototype.setConnectedScreenStatus=g.DI.prototype.HT;g.DI.prototype.stopSession=g.DI.prototype.KU;g.DI.prototype.getCastSession=g.DI.prototype.JU;g.DI.prototype.requestSession=g.DI.prototype.requestSession;g.DI.prototype.init=g.DI.prototype.init;g.DI.prototype.dispose=g.DI.prototype.dispose;g.JI.prototype.reset=function(a){this.listId="";this.index=-1;this.videoId="";g.KI(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.Pf=a.hasPrevious,this.hasNext=a.hasNext,this.G=a.playerTime,this.A=a.playerTimeAt,this.D=a.seekableStart,this.B=a.seekableEnd,this.I=a.duration,this.J=a.loadedTime,this.C=a.liveIngestionTime,this.F=
!(0,window.isNaN)(this.C))};
g.JI.prototype.wb=function(){return 1==this.g};
g.JI.prototype.getDuration=function(){return this.F?this.I+((0,g.G)()-this.A)/1E3:this.I};
g.JI.prototype.clone=function(){return new g.JI(g.OI(this))};PI.prototype.o=function(){return this.name};
PI.prototype.getId=function(){return this.id};
PI.prototype.g=function(){return this.isDefault};
PI.prototype.toString=function(){return this.name};
PI.prototype.getName=PI.prototype.o;PI.prototype.getId=PI.prototype.getId;PI.prototype.getIsDefault=PI.prototype.g;g.QI.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.g+"_"+this.id+"_"+this.isDefault};g.RI.prototype.toString=function(){return this.o+": "+g.SI(this)+" - "+this.F};
g.RI.prototype.J=ba(0);g.RI.prototype.ed=function(){return!(!this.o||this.g&&!this.g.languageCode)};TI.prototype.o=function(){return this.Sc};
TI.prototype.toString=function(){return this.Sc.name};
TI.prototype.getLanguageInfo=TI.prototype.o;g.D(g.UI,g.tG);g.h=g.UI.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.jb.listId=c);this.jb.videoId=d;this.jb.index=e||0;this.jb.state=3;g.LI(this.jb,f);this.B="UNSUPPORTED";VI("Connecting with setPlaylist and params: "+g.Ag(k));this.g.connect({method:"setPlaylist",params:g.Ag(k)},a,$H())}else VI("Connecting without params"),this.g.connect({},a,$H());Xja(this)};
g.h.dispose=function(){this.la()||(this.X("beforeDispose"),WI(this,3));g.UI.Z.dispose.call(this)};
g.h.W=function(){XI(this);ZI(this);YI(this);g.TE(this.I);this.I=window.NaN;g.TE(this.J);this.J=window.NaN;this.A=null;g.fG(this.V);this.V.length=0;this.g.dispose();g.UI.Z.W.call(this);this.B=this.F=this.o=this.jb=this.g=null};
g.h.EI=function(){this.D(2)};
g.h.gP=function(){VI("Channel opened");this.O&&(this.O=!1,YI(this),this.N=g.VE((0,g.A)(function(){VI("Timing out waiting for a screen.");this.D(1)},this),15E3));
Rja(Gja(this.g),this.ba)};
g.h.dP=function(){VI("Channel closed");(0,window.isNaN)(this.C)?g.cI(!0):g.cI();this.dispose()};
g.h.eP=function(a){g.cI();(0,window.isNaN)(this.G())?(VI("Channel error: "+a+" without reconnection"),this.dispose()):(this.O=!0,VI("Channel error: "+a+" with reconnection in "+this.G()+" ms"),WI(this,2))};
g.h.fP=function(a){a.params?VI("Received: action="+a.action+", params="+g.Ag(a.params)):VI("Received: action="+a.action+" {}");switch(a.action){case "loungeStatus":a=g.yg(a.params.devices);this.o=(0,g.J)(a,function(a){return new sH(a)});
a=!!g.gb(this.o,function(a){return"LOUNGE_SCREEN"==a.type});
bJ(this,a);break;case "loungeScreenDisconnected":tb(this.o,function(a){return"LOUNGE_SCREEN"==a.type});
bJ(this,!1);break;case "remoteConnected":var b=new sH(g.yg(a.params.device));g.gb(this.o,function(a){return b?a.id==b.id:!1})||g.qb(this.o,b);
break;case "remoteDisconnected":b=new sH(g.yg(a.params.device));tb(this.o,function(a){return b?a.id==b.id:!1});
break;case "gracefulDisconnect":break;case "playlistModified":cJ(this,a);break;case "nowPlaying":$ja(this,a);break;case "onStateChange":dJ(this,a);break;case "onAdStateChange":aka(this,a);break;case "onVolumeChanged":bka(this,a);break;case "onSubtitlesTrackChanged":Zja(this,a);break;case "nowAutoplaying":cka(this,a);break;case "autoplayDismissed":this.X("autoplayDismissed");break;case "autoplayUpNext":this.F=a.params.videoId||null;this.X("autoplayUpNext",this.F);break;case "onAutoplayModeChanged":this.B=
a.params.autoplayMode;this.X("autoplayModeChange",this.B);"DISABLED"==this.B&&this.X("autoplayDismissed");break;case "onHasPreviousNextChanged":dka(this,a);break;default:VI("Unrecognized action: "+a.action)}};
g.h.tT=function(){if(this.A){var a=this.A;this.A=null;this.jb.videoId!=a&&$I(this,"getNowPlaying")}};
g.UI.prototype.subscribe=g.UI.prototype.subscribe;g.UI.prototype.unsubscribeByKey=g.UI.prototype.Wd;g.UI.prototype.ha=function(){var a=3;this.la()||(a=0,(0,window.isNaN)(this.G())?xH(this.g)&&(0,window.isNaN)(this.C)&&(a=1):a=2);return a};
g.UI.prototype.getProxyState=g.UI.prototype.ha;g.UI.prototype.D=function(a){VI("Disconnecting with "+a);XI(this);this.X("beforeDisconnect",a);1==a&&g.cI();wH(this.g,a);this.dispose()};
g.UI.prototype.disconnect=g.UI.prototype.D;g.UI.prototype.ga=function(){var a=this.jb;this.A&&(a=this.jb.clone(),g.NI(a,this.A,a.index));return g.OI(a)};
g.UI.prototype.getPlayerContextData=g.UI.prototype.ga;
g.UI.prototype.pa=function(a){var b=new g.JI(a);b.videoId&&b.videoId!=this.jb.videoId&&(this.A=b.videoId,g.TE(this.I),this.I=g.VE((0,g.A)(this.tT,this),5E3));var c=[];this.jb.listId==b.listId&&this.jb.videoId==b.videoId&&this.jb.index==b.index||c.push("remoteQueueChange");this.jb.g==b.g&&this.jb.volume==b.volume&&this.jb.muted==b.muted&&g.MI(this.jb)==g.MI(b)&&g.Ag(this.jb.o)==g.Ag(b.o)||c.push("remotePlayerChange");this.jb.reset(a);(0,g.H)(c,function(a){this.X(a)},this)};
g.UI.prototype.setPlayerContextData=g.UI.prototype.pa;g.UI.prototype.Y=function(){var a=this.g.D.id,b=g.gb(this.o,function(b){return"REMOTE_CONTROL"==b.type&&b.id!=a});
return b?b.id:""};
g.UI.prototype.getOtherConnectedRemoteId=g.UI.prototype.Y;g.UI.prototype.G=function(){var a=this.g;return a.o.isActive()?a.o.A-(0,g.G)():window.NaN};
g.UI.prototype.getReconnectTimeout=g.UI.prototype.G;g.UI.prototype.aa=function(){return this.B||"UNSUPPORTED"};
g.UI.prototype.getAutoplayMode=g.UI.prototype.aa;g.UI.prototype.da=function(){return this.F||""};
g.UI.prototype.getAutoplayVideoId=g.UI.prototype.da;g.UI.prototype.sa=function(){if(!(0,window.isNaN)(this.G())){var a=this.g.o;g.Gt(a.o);a.start()}};
g.UI.prototype.reconnect=g.UI.prototype.sa;g.UI.prototype.na=function(a,b){$I(this,a,b);aJ(this)};
g.UI.prototype.sendMessage=g.UI.prototype.na;g.pI.prototype.$_st=g.pI.prototype.start;g.pI.prototype.$_gspc=g.pI.prototype.HU;g.pI.prototype.$_gsppc=g.pI.prototype.GD;g.pI.prototype.$_c=g.pI.prototype.contains;g.pI.prototype.$_g=g.pI.prototype.get;g.pI.prototype.$_a=g.pI.prototype.Fp;g.pI.prototype.$_un=g.pI.prototype.qp;g.pI.prototype.$_r=g.pI.prototype.remove;g.pI.prototype.$_gs=g.pI.prototype.ee;g.pI.prototype.$_gos=g.pI.prototype.FD;g.pI.prototype.$_s=g.pI.prototype.subscribe;g.pI.prototype.$_ubk=g.pI.prototype.Wd;var RZ=16/9,ssa=[.25,.5,.75,1,1.25,1.5,2];var eka={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",376:"H",377:"H",149:"A",261:"M",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",271:"9",313:"9",272:"9",302:"9",303:"9",308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h",336:"9h",337:"9h",171:"v",338:"so",250:"o",251:"o",194:"*",195:"*",220:"*",221:"*",
196:"*",197:"*",198:"V",279:"(",280:"(",273:"(",274:"(",275:"(",276:"(",314:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h"};var zN={name:"width",video:!0,valid:640,pi:99999},AN={name:"height",video:!0,valid:360,pi:99999},xN={name:"framerate",video:!0,valid:30,pi:9999},BN={name:"bitrate",video:!0,valid:3E5,pi:2E9},yN={name:"eotf",video:!0,valid:"bt709",pi:"catavision"},qN={name:"channels",video:!1,valid:2,pi:99},rN={name:"cryptoblockformat",video:!0,valid:"subsample",pi:"invalidformat"},CN={Bf:zN,Te:AN,GY:xN,Yu:BN,tY:yN,gX:qN,yX:rN};var fka={xW:"auto",J1:"tiny",BZ:"light",e1:"small",bG:"medium",yZ:"large",QY:"hd720",MY:"hd1080",NY:"hd1440",OY:"hd2160",PY:"hd2880",VY:"highres",UNKNOWN:"unknown"};var J2;J2={};g.gJ=(J2.auto=0,J2.tiny=144,J2.light=144,J2.small=240,J2.medium=360,J2.large=480,J2.hd720=720,J2.hd1080=1080,J2.hd1440=1440,J2.hd2160=2160,J2.hd2880=2880,J2.highres=4320,J2);var jJ="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");hJ.prototype.B=1.3;sJ.prototype.g=function(a){return"true"==this.flags[a]};
sJ.prototype.o=function(a){return(0,window.parseFloat)(this.flags[a])||0};
sJ.prototype.A=function(a){return this.flags[a]?this.flags[a].toString():""};tJ.prototype.dispose=function(){if(!this.A){if(this.o)try{window.URL.revokeObjectURL(this.g)}catch(a){}this.A=!0}};
tJ.prototype.la=function(){return this.A};var ila={52:!0,53:!0,54:!0,55:!0,60:!0,79:!0,87:!0};uJ.prototype.g=function(){return null};
uJ.prototype.A=function(){return!1};vJ.prototype.isLocked=function(){return this.A&&!!this.o&&this.o==this.g};
vJ.prototype.B=function(a){return a.video?CJ(this,a.video.quality):!1};
var JU=xJ("auto","large",!1),zJ=xJ("auto","auto",!1);xJ("small","auto",!1);var K2={},tsa=(K2["api.invalidparam"]=2,K2.auth=150,K2["drm.auth"]=150,K2["heartbeat.net"]=150,K2["heartbeat.servererror"]=150,K2["heartbeat.stop"]=150,K2["html5.unsupportedads"]=5,K2["fmt.noneavailable"]=5,K2["fmt.decode"]=5,K2["fmt.unplayable"]=5,K2["html5.missingapi"]=5,K2["html5.unsupportedlive"]=5,K2["drm.unavailable"]=5,K2);g.p(KJ,g.K);g.h=KJ.prototype;g.h.rL=function(){return g.Ub(this.B)};
g.h.sL=function(){return g.Ub(this.C)};
g.h.oa=function(){return this.o};
g.h.addEventListener=function(a,b){if(g.u(b)){var c=function(){g.x(b).apply(window,arguments)};
this.F[b]=c}else c=b;this.app.ba.subscribe(a,c)};
g.h.jI=function(a,b){var c=this,d=g.u(b)?a+b:a+g.Fa(b);if(!this.D[d]){var e;g.u(b)?e=function(){g.x(b).apply(window,arguments)}:e=b;
var f=function(a){e({target:c.A,data:a})};
this.D[d]=f;this.app.ba.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.u(b)){var c=this.F[b];bc(this.F,b);b=c}this.app.ba.unsubscribe(a,b)};
g.h.kI=function(a,b){var c=g.u(b)?a+b:a+g.Fa(b),d=this.D[c];d&&(this.app.ba.unsubscribe(a,d),bc(this.D,c))};
g.h.pl=function(){return Xqa(this.app)};
g.h.uc=function(a,b){this.g&&N1(this.app,!0,this.playerType);hra(this.app,a,b,void 0,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.tL=function(){var a=g.eW(this.app,this.playerType);if(!a)return 0;a=RV(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.N.volume};
g.h.setVolume=function(a){OJ(this,a)};
g.h.Ke=function(){return this.app.N.muted};
g.h.mute=function(){PJ(this)};
g.h.Zf=function(){QJ(this)};
g.h.Sd=function(){this.g&&N1(this.app,!0,this.playerType);var a=cW(this.app);2==a?(a=this.app.B.o)&&a.X("control_play"):3==a?g.dW(this.app.B).wl("control_play"):EZ(this.app,this.playerType)};
g.h.qd=function(){var a=cW(this.app);2==a?(a=this.app.B.o)&&a.X("control_pause"):3==a?g.dW(this.app.B).wl("control_pause"):GZ(this.app,this.playerType)};
g.h.Yf=function(){var a=this.app;a.g.pa&&(a.o.isFullscreen()&&!a.g.experiments.g("player_external_control_on_classic_desktop")&&g.iW(a.o),a.o.X("pageTransition"));gra(a)};
g.h.oL=function(){};
g.h.Uc=function(){return g.eW(this.app,1).Aa};
g.h.Xf=function(a){G1(this.app,a)};
g.h.Dj=function(){return this.app.g.Ra?ssa:[1]};
g.h.ol=function(){var a=g.eW(this.app,this.playerType);if(a){var b="unknown";a.g.Na&&(b=a.g.Na.video.quality,!a.C.experiments.g("disable_video_quality_from_size")&&"auto"==b&&a.o&&(a=a.o?a.o.oa():null)&&0<a.videoHeight&&(b=fJ(a.videoWidth,a.videoHeight)))}else b="unknown";return b};
g.h.sl=function(a){if(!this.app.g.isMobile){var b=g.eW(this.app,this.playerType);b&&(a=xJ(a,a,!0),LV(b,"p",a))}};
g.h.Ks=function(){var a=g.eW(this.app,this.playerType);return a?(a=(0,g.J)(JV(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.vL=function(){return this.Ls()};
g.h.wL=function(){return 1};
g.h.Ls=function(){return Sqa(this.app)};
g.h.xL=function(){return 0};
g.h.setSize=function(){this.app.G.og()};
g.h.Mz=function(a){this.Ms(a?2:1)};
g.h.Ms=function(a){this.app.A.g.autonavState=a;this.X("autonavchange",a)};
g.h.mL=function(){this.za("SUBSCRIBE")};
g.h.nL=function(){this.za("UNSUBSCRIBE")};
g.h.ql=function(a){"captions"==a&&(a=this.app.B.g)&&!a.loaded&&a.load()};
g.h.ro=function(a){"captions"==a&&(a=this.app.B.g)&&a.loaded&&a.fU()};
g.h.BL=function(a,b,c){a=HJ(a,b,c);a=L1(this.app,a,this.playerType);this.g&&N1(this.app,a,this.playerType)};
g.h.Gz=function(a,b,c){a=HJ(a,b,c);P1(this.app,a,this.playerType)};
g.h.CL=function(a,b,c){a=IJ(a,b,c);b=L1(this.app,a,this.playerType);this.g&&N1(this.app,b,this.playerType);b=this.app;(a=(new g.Ul(a.mediaContentUrl)).g)&&kO(b.g,a)};
g.h.qL=function(a,b,c){b=IJ(a,b,c);P1(this.app,b,this.playerType);a=this.app;(b=(new g.Ul(b.mediaContentUrl)).g)&&kO(a.g,b)};
g.h.getVideoUrl=function(){var a=this.app.g;if(a.I)return"";var b=this.app.A.g,c=void 0;b.Ba||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.nl=function(){return H1(this.app)};
g.h.Jz=function(){var a=this.app.g;if(a.I)var b="";else{var c=this.app.A.g.videoId;b=this.app.G.Xa();var d=this.getPlaylistId()||void 0;c="https://"+pO(a)+"/embed/"+c;d&&(c=g.Qg(c,{list:d}));d=!a.experiments.g("enable_responsive_embed_snippet");a.experiments.g("embed_snippet_includes_version")&&(c=g.Qg(c,{ecver:d?"1":"2"}));a=b.width;b=b.height;d?(d=Oa(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="'+Oa(c)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+d+'" height="360" frameborder="0" allowfullscreen></iframe></div>')}return b};
g.h.Fz=function(a,b,c){return dra(this.app,a,b,c)};
g.h.Lz=function(a){a:{for(var b=this.app,c=b.A.F.g.g||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.A.F.D(e);tW(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.AL=function(a,b,c,d){var e=this.app;e.ea=!1;Q1(e,a,b,c,d);this.g&&N1(this.app,!0,this.playerType)};
g.h.pL=function(a,b,c,d){var e=this.app;e.ea=!0;Q1(e,a,b,c,d)};
g.h.Ej=function(){T1(this.app);this.g&&N1(this.app,!0,this.playerType)};
g.h.rl=function(){bra(this.app);this.g&&N1(this.app,!0,this.playerType)};
g.h.Kz=function(a){var b=this.app;!b.Y||b.o.isFullscreen()&&!b.Aa?b.C&&(b.C.Tc?K1(b,b.C.dc(a),1):b.ea=!1,lS(b.C,a)):b.o.za("onPlaylistIndex",a);this.g&&N1(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.C;b&&b.setShuffle(a)};
g.h.FL=function(a){var b=this.app.C;b&&(b.loop=a)};
g.h.Wf=function(){var a=this.app.C;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.Iz=function(){var a=this.app.C;return a?a.be():-1};
g.h.getPlaylistId=function(){var a=this.app.C;return a&&a.listId?a.listId.toString():null};
g.h.Ed=function(a,b,c){if(!b)return null;var d=this.app.B;return"captions"==a?(a=d.g)&&a.Rs(b,c):null};
g.h.yc=function(a,b,c){return this.Ed(a,b,c)};
g.h.xi=function(a){var b=this.app.B;return"captions"==a?(b=b.g)&&b.DM():a?null:(a=[],b.g&&a.push("captions"),a)};
g.h.fa=function(){var a={},b=g.eW(this.app,this.playerType);if(b&&(b=b.g,a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Na)){a.video_quality=b.Na.video.quality;b=b.Na.video;var c=[];32<b.fps&&c.push("hfr");iJ(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.Nz=function(){Pqa(this.app,!0)};
g.h.yL=function(){Pqa(this.app,!1)};
g.h.Hz=function(){var a=this.app.B.o;return a?a.Qu():-1};
g.h.zL=function(a){if(a!=this.app.da.args.video_id)return!1;a=(a=g.eW(this.app,1))?a.A:null;return!(!a||!g.W(a,128)||5!=tsa[a.g.errorCode])};
g.h.uL=function(){var a=this.app.da.clone();g.Ha(a.args,BQ(this.app.A.g));return a};
g.h.GL=function(){this.app.g.ea&&this.app.aa.resume()};
g.h.destroy=function(){this.app.dispose()};
g.h.DL=function(){var a=g.eW(this.app);a&&!g.W(a.A,128)&&(a.X("internalAbandon"),dV(a),bV(a))};
g.h.X=function(a,b){for(var c=1;c<arguments.length;++c);this.app.g.Hb&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.ba.X.apply(this.app.ba,arguments);this.app.V.X.apply(this.app.V,arguments)};
g.h.za=function(a,b){this.app.ba.X.apply(this.app.ba,arguments);this.app.V.X.apply(this.app.V,arguments)};
g.h.W=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;g.K.prototype.W.call(this)};var cra;g.$R={nH:0,DE:1,lk:2,CE:3,g3:4,rF:6,km:7};g.aS={kk:"ytp-ad-progress",jk:"ytp-ad-fadeout",Oh:"ytp-chapter-marker",Uv:"ytp-time-marker"};cra={kk:"ad",Oh:"chapter"};var L2={UNKNOWN:"UNKNOWN",kH:"YOUTUBE_DRAWER_MANUAL_OPEN",jH:"YOUTUBE_DRAWER_AUTO_OPEN",lH:"YOUTUBE_SHELF_SHOW"};g.foa={Vv:"TRIGGER_TYPE"};g.EY={Zv:L2.kH,jm:L2.jH,EG:L2.lH};g.M2={NONE:0,RAISED:1,DEPRESSED:2,Yv:3,DROP_SHADOW:4};g.N2={cq:"#fff",iH:"#ff0",DF:"#0f0",mF:"#0ff",LE:"#00f",VF:"#f0f",Bv:"#f00",Kp:"#080808"};g.O2={km:0,uv:1,Av:2,tv:3,Wp:4,CASUAL:5,CURSIVE:6,Zp:7};g.h=g.UJ.prototype;g.h.Tz=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.di(a))?a.duration:0};
g.h.Yq=function(a){return this.getDuration(a)};
g.h.xg=function(){return this.segments.length?this.segments[0].va:-1};
g.h.Qs=function(a){return(a=this.di(a))?a.ingestionTime:window.NaN};
g.h.Dc=function(){return this.segments.length?this.segments[this.segments.length-1].va:-1};
g.h.Hn=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:window.NaN};
g.h.Mc=function(){return this.segments[0].startTime};
g.h.jj=function(){return this.segments.length};
g.h.uo=function(){return 0};
g.h.gh=function(a){return(a=this.vn(a))?a.va:-1};
g.h.Vx=function(a){return(a=this.di(a))?a.sourceURL:""};
g.h.lf=function(a){return(a=this.di(a))?a.startTime:0};
g.h.Kn=ba(2);g.h.Sb=function(){return 0<this.segments.length};
g.h.di=function(a){a=g.Cb(this.segments,new TJ(a,0,0,0,""),function(a,c){return a.va-c.va});
return 0<=a?this.segments[a]:null};
g.h.vn=function(a){a=g.Cb(this.segments,{startTime:a},function(a,c){return a.startTime-c.startTime});
return 0<=a?this.segments[a]:this.segments[Math.max(0,-a-2)]};
g.h.Rx=function(){return 0};WJ.prototype.skip=function(a){this.o+=a};$J.prototype.hn=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 usa=kK;g.wK.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};YK.prototype.verify=function(){if(this.info.gb!=this.range.length)return!1;if(1==this.info.ma.info.containerType){if(8>this.info.gb||4==this.info.type)return!0;var a=ZK(this),b=a.getUint32(0,!1);a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.gb&&1936286840==a;if(3==this.info.type&&0==this.info.Ua)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a}else if(2==this.info.ma.info.containerType){if(4>this.info.gb||4==this.info.type)return!0;b=ZK(this).getUint32(0,
!1);if(3==this.info.type&&0==this.info.Ua)return 524531317==b||440786851==b}return!0};var vsa={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},P2;var Q2=g.Lb;Q2=Q2.toLowerCase();if(Qa(Q2,"android")){var wsa=Q2.match(/android\D*(\d\.\d)[^\;|\)]*[\;\)]/);if(wsa)P2=(0,window.parseFloat)(wsa[1]);else{var xsa=Q2.match("("+g.Ub(vsa).join("|")+")");P2=xsa?vsa[xsa[0]]:0}}else P2=void 0;var iN=P2,sN=0<=iN;var pka=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],qka=['audio/mp4; codecs="mp4a.40.2"'];hL.prototype.start=function(){return 0};
hL.prototype.end=function(){return window.Infinity};g.h=iL.prototype;g.h.addEventListener=function(){};
g.h.removeEventListener=function(){};
g.h.dispatchEvent=function(){return!1};
g.h.abort=function(){};
g.h.remove=function(){};
g.h.appendBuffer=function(){};g.h=jL.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.A,a)};
g.h.abort=function(){this.o.webkitSourceAbort(this.A)};
g.h.qU=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new rka:this.o.webkitSourceBuffered(this.A)};
g.h.sU=function(){return this.B};
g.h.wU=function(a){this.B=a;this.o.webkitSourceTimestampOffset(this.A,a)};g.h=kL.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.fN=function(){return this.g.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.A++).toString();this.g.webkitSourceAddId(b,a);a=new jL(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.tU=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.uU=function(){pb(this.sourceBuffers)};
g.h.rU=function(){return this.o};
g.h.vU=function(a){this.o=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};g.p(mL,g.K);mL.prototype.L=function(){if(!this.la()&&oL(this))try{this.B&&(this.B(this),this.B=null)}catch(a){this.D&&this.D(a)}};
mL.prototype.J=function(){this.dispose()};g.JL.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.A="")};
g.JL.prototype.get=function(a){LL(this);return this.g[a]||null};
g.JL.prototype.clone=function(){var a=new g.JL(this.B);a.D=this.D;a.o=this.o;a.C=this.C;a.g=g.dc(this.g);a.A=this.A;return a};SL.prototype.set=function(a,b){this.g.get(a);this.o[a]=b;this.A=""};
SL.prototype.get=function(a){return this.o[a]||this.g.get(a)};var ysa=0;g.h=bM.prototype;g.h.we=function(){};
g.h.pd=function(){};
g.h.ks=function(){return!1};
g.h.Dd=function(){return!!this.g&&!!this.index&&this.index.Sb()};
g.h.Bi=function(){};
g.h.Wz=function(){return!1};
g.h.In=function(){};
g.h.Ai=function(){};
g.h.vl=function(){};
g.h.fh=function(){};
g.h.xr=function(){};
g.h.Xz=function(a){return[a]};
g.h.To=function(a){return[a]};g.p(dM,bM);g.h=dM.prototype;g.h.we=function(){return!1};
g.h.pd=function(){return!1};
g.h.Wz=function(){return this.B};
g.h.In=function(){if(this.B)return[];var a=new AK(1,this,this.initRange);return[new ZL([a],this.I)]};
g.h.Ai=function(){};
g.h.vl=function(a){this.Bi(a);return this.jn(a.g?a.va+1:a.va,!1)};
g.h.fh=function(a,b){b=void 0===b?!1:b;var c=this.index.gh(a);b&&(c=Math.min(this.index.Dc(),c+1));return this.jn(c,!0)};
g.h.xr=function(a){this.g=new window.Uint8Array(ZK(a).buffer)};
g.h.ks=function(){return!1};
g.h.Bi=function(a){return 0==a.gb?!0:this.index.Dc()>a.va&&this.index.xg()<=a.va+1};
g.h.update=function(a,b,c){var d=this.index;if(0!=a.length)if(a=g.vb(a),0==d.segments.length)d.segments=a;else{var e=d.segments.length?g.eb(d.segments).endTime:0,f=a[0].va-d.Dc();1<f&&pb(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])}}VJ(this.index,c);this.G=b};
g.h.Dd=function(){return this.B?!0:bM.prototype.Dd.call(this)};
g.h.jn=function(a,b){var c=this.index.Vx(a),d=this.index.lf(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;d=new AK(3,this,null,a,d,e,0,f,a==this.index.Dc()&&!this.G&&0<f);return new ZL([d],c)};g.p(eM,g.UJ);g.h=eM.prototype;g.h.xg=function(){return this.g?this.segments.length?this.vn(this.Mc()).va:-1:g.UJ.prototype.xg.call(this)};
g.h.Mc=function(){return this.g?this.segments.length?Math.max(g.eb(this.segments).endTime-this.A,0):0:g.UJ.prototype.Mc.call(this)};
g.h.jj=function(){return this.g?this.segments.length?this.Dc()-this.xg()+1:0:g.UJ.prototype.jj.call(this)};
g.h.Tz=function(a){var b=fM(this,a.va);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.vn=function(a){if(!this.g)return g.UJ.prototype.vn.call(this,a);if(!this.segments.length)return null;var b=g.Cb(this.segments,{startTime:a},function(a,b){return a.startTime-b.startTime}),c=this.segments[0<=b?b:Math.max(-(b+2),0)];
return c.startTime+c.duration>a&&c.startTime<=a?c:-1==b?hM(this,c.va-Math.ceil((c.startTime-a)/this.o),c):hM(this,c.va+Math.ceil((a-c.endTime)/this.o),c)};
g.h.di=function(a){if(!this.g)return g.UJ.prototype.di.call(this,a);if(!this.segments.length)return null;var b=fM(this,a);return 0<=b?this.segments[b]:hM(this,a,this.segments[Math.max(-(b+2),0)])};g.p(iM,dM);g.h=iM.prototype;g.h.pd=function(){return!0};
g.h.Dd=function(){return!0};
g.h.Bi=function(){return!0};
g.h.In=function(){return[]};
g.h.fh=function(a,b){if(g.ta(a)&&!(0,window.isFinite)(a)){var c=new AK(3,this,null,-1,void 0,this.o,void 0,this.o*this.info.g);return new ZL([c],"")}return dM.prototype.fh.call(this,a,b)};
g.h.jn=function(a,b){if(gM(this.index,a))return dM.prototype.jn.call(this,a,b);var c=this.index.lf(a);c=new AK(3,this,null,a,c,void 0,void 0,b?0:this.o*this.info.g);return new ZL([c],0<=a?"sq/"+a:"")};nM.prototype.update=function(a,b){var c=void 0;this.o&&(c=this.o);var d=new nM,e=a.getElementsByTagName("S");if(e.length){var f=+kM(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+kM(a,"startNumber")||0;var m=k;var n=+kM(a,"presentationTimeOffset")||0;m=c?c.Qe+c.durationSecs:b?m-n/f:0;n=Date.parse(jM(kM(a,"yt:segmentIngestTime")))/1E3;d.A="SegmentTemplate"==a.parentNode.tagName;d.A&&(d.D=kM(a,"media"));var q=c?l-c.va:1;d.C=0<q?0:-q+1;e=g.ma(e);for(q=e.next();!q.done;q=e.next()){q=q.value;for(var r=
+q.getAttribute("d")/f,w=(+q.getAttribute("yt:sid")||0)/f,z=+q.getAttribute("r")||0,B=0;B<=z;B++)if(c&&l<=c.va)l++;else{var C=new Ika(l,m,r,n+w,k);d.g.push(C);var N=C.Qe,da=q.getAttribute("yt:cuepointTimeOffset");C=q.getAttribute("yt:cuepointDuration");da&&C?(N=+da/f+N,C=+C/f,da=q.getAttribute("yt:cuepointContext")||null,C=new dK(N,C,da)):C=null;C&&d.B.push(C);l++;m+=r;k+=r;n+=r+w}}d.g.length&&(d.o=g.eb(d.g))}this.C=d.C;this.o=d.o||this.o;wb(this.g,d.g);wb(this.B,d.B);this.A=d.A;this.D=d.D};
nM.prototype.eh=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.oM.prototype;g.h.uo=function(a){return this.g[a]};
g.h.lf=function(a){return this.o[a]/this.B};
g.h.Kn=ba(1);g.h.Qs=function(){return window.NaN};
g.h.getDuration=function(a){a=this.Yq(a);return 0<=a?a/this.B:-1};
g.h.Yq=function(a){return a+1<this.La||this.A?this.o[a+1]-this.o[a]:-1};
g.h.xg=function(){return 0};
g.h.Dc=function(){return this.La-1};
g.h.Hn=function(){return this.A?this.o[this.La]/this.B:window.NaN};
g.h.Mc=function(){return 0};
g.h.jj=function(){return this.La};
g.h.Vx=function(){return""};
g.h.gh=function(a){a=g.Cb(this.o.subarray(0,this.La),a*this.B);return 0<=a?a:Math.max(0,-a-2)};
g.h.Sb=function(){return 0<=this.Dc()};
g.h.Rx=function(a,b){if(a>=this.Dc())return 0;for(var c=0,d=this.lf(a)+b,e=a;e<this.Dc()&&d>this.lf(e);e++)c=Math.max(c,(e+1<this.La||this.A?this.g[e+1]-this.g[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){pM(this);this.A=!0;this.o[this.La]=b;this.g[this.La]=a};g.p(g.qM,bM);g.h=g.qM.prototype;g.h.In=function(a){var b=new AK(1,this,this.initRange),c=new AK(2,this,this.indexRange),d=[],e=[b];CK(b,c)?e.push(c):(d.push(new ZL([c])),a=0);(0,window.isNaN)(this.o)&&(a=0);b=e[e.length-1];a=Math.min(a,this.o-(b.range.end-e[0].range.start+1));0<a&&(a=yK(b.range.end+1,a),e.push(new AK(4,this,a)));d.push(new ZL(e));return d};
g.h.xr=function(a){if(1==a.info.type){if(this.g)return;if(a.g.slice)var b=new window.Uint8Array(a.g.slice(a.range.start,a.range.end+1));else b=new window.Uint8Array(a.g,a.range.start,a.range.end+1),b=new window.Uint8Array(b);this.g=b}else if(2==a.info.type){if(this.B||0<=this.index.Dc())return;if(1==this.info.containerType){b=this.index;var c=ZK(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.La++;pM(l);l.g[l.La]=l.g[l.La-1]+f;l.o[l.La]=l.o[l.La-1]+k}}else this.B=ZK(a)}if(2==this.info.containerType&&this.g&&this.B){a=new window.DataView(this.g.buffer);b=this.index;k=this.B;c=this.indexRange.end;a=new IK(a);if(MK(a,440786851)&&(SK(a),
MK(a,408125543)&&(e=a,f=e.g,d=NK(e,!0),e.g=f,a=LK(a),e=a.A+a.g,MK(a,357149030)))){a=LK(a);l=1E6;var m=1E9;for(f=0;!JK(a);){var n=NK(a,!1);2807729==n?l=RK(a):2807730==n?m=RK(a):17545==n?f=TK(a):SK(a)}b.B=m/l;a=new IK(k);if(MK(a,475249515)){a=LK(a);k=!0;for(l=!1;MK(a,187);){m=LK(a);if(MK(m,179))if(n=RK(m),MK(m,183)){m=LK(m);for(var q=e;MK(m,241);)q=RK(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];pM(m);m.g[m.La]=n;m.o[m.La]=q;m.La++}b.cap(d+e,f)}}this.B=
null}};
g.h.Xz=function(a){for(var b=this.To(a.info),c=[],d=a.je,e=0;e<b.length;e++){var f=yK(b[e].range.start+b[e].Ua-a.info.range.start+a.range.start,b[e].gb);c.push(new YK(b[e],a.g,f,a.A,d));d=!1}return c};
g.h.To=function(a){for(var b=0;b<this.index.Dc()&&a.range.start>=this.index.uo(b+1);)b++;return rM(this,b,a.range.start,a.range.length).g};
g.h.Bi=function(a){return this.Dd()?!0:(0,window.isNaN)(this.o)?!1:a.range.end+1<this.o};
g.h.Ai=function(a,b){this.Bi(a);if(!this.Dd()){var c=yK(a.range.end+1,b);c.end+1>this.o&&(c=new g.wK(c.start,this.o-1));c=[new AK(4,a.ma,c)];return new ZL(c)}4==a.type&&(c=this.To(a),a=c[c.length-1]);c=0;var d=a.range.start+a.Ua+a.gb;3==a.type&&(c=a.va,d==a.range.end+1&&(c+=1));return rM(this,c,d,b)};
g.h.vl=function(){return null};
g.h.fh=function(a,b){var c=this.index.gh(a);b&&(c=Math.min(this.index.Dc(),c+1));return rM(this,c,this.index.uo(c),0)};
g.h.ks=function(){var a;if(a=this.Dd()&&!(0,window.isNaN)(this.o))a=this.index,a=(a.A?a.g[a.La]:-1)!=this.o;return a};
g.h.we=function(){return!0};
g.h.pd=function(){return!1};g.p(tM,g.tG);g.h=tM.prototype;g.h.lh=function(){return Qb(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.mh=function(){return Qb(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.Nf=function(){return Qb(this.g,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.ri=function(){return Qb(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.SS=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.B=!0;this.C||(this.C=new Kka);Oka(this.C,a,this.na);this.X("refresh");for(a=0;a<b.length;a++){var c=AM(this,b[a]),d=this.isLive&&1==c.containerType&&this.pa;if(!this.g[c.id]){var e=xM(lM(b[a],"BaseURL").textContent,c),f=lM(b[a],"Initialization"),k=kM(f,"sourceURL");f=xK(kM(f,"range"));d&&(k="",f=void 0);this.g[c.id]=new dM(e,
c,k,null===f?void 0:f)}c=this.g[c.id];e=kM(b[a],"id","AdaptationSet");e=""!=e?e:kM(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.ma(k),f=k.next();!f.done;f=k.next()){f=f.value;var l=e.eh(c.info.id,8*c.info.g,f.va,f.Qe);d.push(new TJ(f.va,f.Qe,f.durationSecs,f.g,l,null,f.o))}else{e=g.xb(lM(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.C);f=[];for(l=0;l<e.length;l++)f.push(Wka(e[l],k[l],d));d=f}c.update(d,this.isLive,this.V)}Pka(this.C);
return!0}this.duration=mM(kM(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=AM(this,k);e=lM(k,"BaseURL");d=xM(e.textContent,c);f=lM(k,"SegmentBase");k=xK(f.attributes.indexRange.value);f=xK(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=(0,window.parseInt)(e.getAttribute(yM(this,"contentLength")),10);c=new g.qM(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.Ve=function(a){return this.C?g.xb(this.C.B,a):this.L.length?g.xb(this.L,a):[]};
g.h.HI=function(a){if(this.la())return this;this.N=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.D=1E3*mM(kM(a,"minimumUpdatePeriod"))||window.Infinity;if(!this.O){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.aa=b}this.isLive=window.Infinity>this.D&&this.ra;this.V=(0,window.parseInt)(kM(a,yM(this,"earliestMediaSequence")),
10)||0;if(b=Date.parse(jM(kM(a,yM(this,"mpdResponseTime")))))this.G=((0,g.G)()-b)/1E3;a=this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length?!1:(0,g.Lr)(a.getElementsByTagName("Period"),this.SS,this);this.F=2;this.X("loaded");EM(this,a);return this};
g.h.KI=function(a){this.N=a.g.status;this.F=3;this.X("loaderror");return dg(a.g)};
g.h.Vz=function(){if(1!=this.F&&!this.la()){var a=this.Y;a:{var b=this.g;for(var c in b){var d=b[c].index;if(d&&d.Sb()){b=d.Dc()+1;break a}}b=0}a=g.Qg(a,{start_seq:b.toString()});BM(this,a)}};
g.h.resume=function(){EM(this,!0)};
g.h.Ok=function(){var a=this.g,b=window.NaN,c;for(c in a){var d=a[c].index;d&&d.Sb()&&((0,window.isNaN)(b)||d.Hn()<b)&&(b=d.Hn())}return this.da?Math.floor(b):b};
g.h.Mc=function(){var a=this.g,b;for(b in a){var c=a[b].index;if(c&&c.Sb())return c.Mc()}return 0};
g.h.fM=function(){return this.G};
var IM=null,zM={commentary:1,alternate:2,dub:3,main:4};var R2={},SM=(R2.playready=["com.youtube.playready","com.microsoft.playready"],R2.widevine=["com.widevine.alpha"],R2),$ka=g.ub(SM.widevine,SM.playready);g.p(RM,g.K);
RM.prototype.D=function(){if(!this.la())if(0==this.A.length)this.B(null);else{var a=this.A.shift(),b=this.o[a],c={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};MM(b)&&(c.initDataTypes=["keyids","cenc"]);for(var d in this.g[b.g]){var e=0==d.indexOf("audio/"),f=e?c.audioCapabilities:c.videoCapabilities;this.C.g("html5_widevine_robustness_strings")&&"widevine"==b.g?e?f.push({contentType:d,robustness:"SW_SECURE_CRYPTO"}):(f.push({contentType:d,robustness:"HW_DECODE_ALL"}),f.push({contentType:d,
robustness:"SW_SECURE_DECODE"})):f.push({contentType:d})}window.navigator.requestMediaKeySystemAccess(a,[c]).then(QE((0,g.A)(this.F,this,b)),QE((0,g.A)(this.D,this)))}};
RM.prototype.F=function(a,b){this.la()||(a.A=b,ala(this,a),this.B(a))};var Ala={Bv:"red",cq:"white"};TM.prototype.g=function(a,b){var c=Math.pow(this.C,a);this.A=b*(1-c)+c*this.A;this.B+=a};
TM.prototype.o=function(){return this.A/(1-Math.pow(this.C,this.B))};UM.prototype.g=function(a,b){VM(this,"index");this.B.push({index:this.I++,weight:a,value:b});this.A+=a;for(VM(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)}};
UM.prototype.o=function(){return this.D?(WM(this,this.C-this.D)+WM(this,this.C)+WM(this,this.C+this.D))/3:WM(this,this.C)};XM.prototype.g=function(a,b){this.A.push(b);this.A.length>this.B&&this.A.shift()};
XM.prototype.o=function(){return Maa.apply(null,this.A)};var zla={hW:"adunit",QX:"detailpage",oY:"editpage",pY:"embedded",zZ:"leanback",h0:"previewpage",j0:"profilepage",s2:"unplugged"};var pla="9h 9 h 8 (h ( H *".split(" "),ola="9h 9 h 8 ( H *".split(" "),tN="h98H(*".split(""),rla="oMavAV".split(""),ula=["so","sa"],tla="moMavAV".split(""),sla="aoMvAV".split(""),qla=["f"],kla={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},lla={"application/x-mpegURL":"maybe"},jla={"application/x-mpegURL":"maybe"};var hO={KZ:1,LZ:2,MZ:3};g.D(EN,g.tG);EN.prototype.remove=function(a){var b=this.get(a);delete this.Ka[a];return b};
EN.prototype.get=function(a){return this.Ka[a]||null};
EN.prototype.isEmpty=function(){return g.$b(this.Ka)};var GN={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},HN={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},IN=/^(\d*)_((\d*)_?(\d*))$/;var wla=/^([0-9\.]+)\:([0-9\.]+)$/;var SN=(0,g.G)().toString();var WN="blogger books docs google-live play chat picasaweb gmail jamboard".split(" ");g.p(jO,g.K);
jO.prototype.lg=function(a){var b=KN(a,this.A,this.Hb),c=!0;b&&(this.N.adformat=a.adformat,JN(b)||(this.na="adunit"==this.D?this.na:this.D,this.D="adunit",c=!1));c&&this.na&&(this.D=this.na,this.na=null);if(b=a.video_id&&a.video_id!=this.Rg)this.Rg=a.video_id;if(a.adpings||b)this.gq=a.adpings?g.XE(a.adpings):null;var d;this.Qg?d=a.videostats_playback_base_url&&a.videostats_playback_base_url.split("/")[2]||"s.youtube.com":d="video.google.com";this.qk="//"+d+"/api/stats/qoe";this.experiments.g("www_for_videostats")&&
"s.youtube.com"==d&&(d="www.youtube.com");this.UT=d;if(a.feature||b)this.Fh=d=a.feature,this.N.feature=d;if(a.referrer||b)this.referrer=d=a.referrer,this.N.referrer=d;for(var e in zsa)d=zsa[e],b=a[d],void 0!=b&&(this.o[d]=b);!this.bb&&a.cl&&(this.bb=+a.cl);this.userAge=PN(this.userAge,a.user_age);this.userDisplayImage=RN(this.userDisplayImage,a.user_display_image);g.EL(this.userDisplayImage)||(this.userDisplayImage="");this.userDisplayName=RN(this.userDisplayName,a.user_display_name);this.userGender=
RN(this.userGender,a.user_gender);this.Yc=RN(this.Yc,a.eventid);this.csiPageType=RN(this.csiPageType,a.csi_page_type);this.zb=RN(this.zb,a.csi_service_name);this.fd=NN(this.fd,a.enablecsi);a.enabled_engage_types&&(this.Gc=new window.Set(a.enabled_engage_types.split(",")))};
jO.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=pO(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.bO(this)?(d="https://"+c+"/fire",b.v=a):(d=this.ga+"://"+c+"/watch",b.v=a,mN&&(a=g.x("yt.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.Qg(d,b)};
jO.prototype.isAd=function(){return"adunit"==this.D};
var zsa={OW:"cbrand",PW:"cbr",QW:"cbrver",oZ:"c",rZ:"cver",qZ:"ctheme",pZ:"cplayer",YZ:"cmodel",E_:"cnetwork",O_:"cos",P_:"cosver",U_:"cplatform"};var Cla=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.p(FO,uJ);
FO.prototype.g=function(){if(!this.o||this.o.la()){var a=this.B;Ela(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.Qw+","+f.Qw)+'",RESOLUTION='+(k.width+"x"+k.height)+',AUDIO="'+f.itag.toString()+
'",CLOSED-CAPTIONS=NONE');b.push(k.url)}a="data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n"));this.o=new tJ(a)}return this.o};var Asa={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",SZ:"LOW",o2:"ULTRALOW"};g.p(WO,uJ);WO.prototype.g=function(){return new tJ(KL(this.o))};
WO.prototype.A=function(){this.o=OL(this.o,1);return!0};g.D(YO,g.tG);YO.prototype.J=function(a,b){this.o=this.o.onload=null;var c=this.g[a];c.Tc[b]=!0;bP(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.Zq()-1);e=[e,c];this.X("l",e[0],e[1])};
YO.prototype.W=function(){this.o&&(this.o=this.o.onload=null);YO.Z.W.call(this)};g.h=g.eP.prototype;g.h.Gb=function(){return this.F};
g.h.getHeight=function(){return this.D};
g.h.Px=ba(3);g.h.Zq=function(){return this.o};
g.h.isDefault=function(){return-1!=this.B.indexOf("default")};
g.h.Sb=function(a){return!!this.Tc[a]};
g.h.hm=function(a){var b=this.Zq()-1;return g.$c(0==this.A?Math.round(a*this.o/this.J):Math.round(1E3*a/this.A),0,b)};
g.h.Hp=function(){return this.o-1};
g.h.nE=function(){return this.o?0:-1};
g.h.oE=function(){};g.D(fP,YO);fP.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};
fP.prototype.D=function(a,b,c,d){return new g.eP(a,b,c,d)};
fP.prototype.I=function(){};g.D(gP,g.eP);g.h=gP.prototype;g.h.Zq=function(){return this.g?this.g.jj():-1};
g.h.hm=function(a){var b=this.rows*this.columns*this.G,c=-1,d=-1,e=this.g;e&&(c=e.Dc(),d=e.gh(a));return d>c-b?-1:d};
g.h.Hp=function(){return this.g?this.g.Dc():-1};
g.h.nE=function(){return this.g?this.g.xg():-1};
g.h.oE=function(a){this.g=a?a.index:null};g.D(hP,fP);hP.prototype.A=function(a,b){return hP.Z.A.call(this,"$N|"+a,b)};
hP.prototype.D=function(a,b,c){return new gP(a,b,c,this.L.isLive)};
hP.prototype.I=function(a){for(var b=0;b<this.g.length;b++)this.g[b].oE(a)};g.p(iP,uJ);iP.prototype.g=function(){return new tJ(this.o)};var kP={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},Jla={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};g.nP.prototype.toString=function(){return this.topic};var Bsa=g.x("ytPubsub2Pubsub2Instance")||new g.xD;g.xD.prototype.subscribe=g.xD.prototype.subscribe;g.xD.prototype.unsubscribeByKey=g.xD.prototype.Wd;g.xD.prototype.publish=g.xD.prototype.X;g.xD.prototype.clear=g.xD.prototype.clear;g.ua("ytPubsub2Pubsub2Instance",Bsa,void 0);var qP=g.x("ytPubsub2Pubsub2SubscribedKeys")||{};g.ua("ytPubsub2Pubsub2SubscribedKeys",qP,void 0);var sP=g.x("ytPubsub2Pubsub2TopicToKeys")||{};g.ua("ytPubsub2Pubsub2TopicToKeys",sP,void 0);
var rP=g.x("ytPubsub2Pubsub2IsAsync")||{};g.ua("ytPubsub2Pubsub2IsAsync",rP,void 0);g.ua("ytPubsub2Pubsub2SkipSubKey",null,void 0);g.p(yP,g.mP);g.p(zP,g.mP);var Ula=new g.nP("aft-recorded",yP),vP=new g.nP("timing-sent",zP);var NP=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};CP.prototype.toString=function(){return this.region.toString()+": "+this.timing+" => "+this.url};
DP.prototype.toString=function(){return["progress",this.progress,"timing",this.timing,"area",this.Qc].join(": ")};
BP.o=.1;BP.g=/url\(["']?(http[^'"\)]+)['"]?\)/i;BP.A="mark_iframe_loaded: ";BP.B=20;var Vla={vc:!0},QP={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'link[rel="import"][name="desktop_polymer_selective_initialization_home"]':"dpsihh",'link[rel="import"][name="desktop_polymer_selective_initialization_watch"]':"dpsiwh",'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",'script[name="mobile_blazer_core_mod"]':"mbcj",'link[rel="stylesheet"][name="mobile_blazer_css"]':"mbc",'script[name="mobile_blazer_logged_in_users_mod"]':"mbliuj",'script[name="mobile_blazer_logged_out_users_mod"]':"mblouj","#player_css":"mbpc",'script[name="mobile_blazer_desktopplayer_mod"]':"mbpj",
'link[rel="stylesheet"][name="mobile_blazer_tablet_css"]':"mbtc",'script[name="mobile_blazer_watch_mod"]':"mbwj"},ZP={ad_allowed:"adTypesAllowed",ad_at:"adType",ad_cpn:"adClientPlaybackNonce",ad_docid:"adVideoId",yt_ad_an:"adNetworks",p:"httpProtocol",t:"transportProtocol",cpn:"clientPlaybackNonce",csn:"clientScreenNonce",docid:"videoId",is_nav:"isNavigation",yt_lt:"loadType",yt_ad:"isMonetized",nr:"webInfo.navigationReason",ncnp:"webInfo.nonPreloadedNodeCount",plid:"videoId",paused:"playerInfo.isPausedOnLoad",
fmt:"playerInfo.itag",yt_pl:"watchInfo.isPlaylist",yt_ad_pr:"prerollAllowed",yt_red:"isRedSubscriber",st:"serverTimeMs",vph:"viewportHeight",vpw:"viewportWidth",yt_vis:"isVisible"},Tla="ap c cver ei srt yt_fss yt_li ba vpil vpni yt_eil pa GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt pc prerender psc rc start yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" "),Rla={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",browse:"LATENCY_ACTION_BROWSE",
channels:"LATENCY_ACTION_CHANNELS","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",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","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS","video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS","video.edit":"LATENCY_ACTION_CREATOR_VIDEO_EDIT","video.translations":"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS","video.video_editor":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR"},Sla="isNavigation isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber isVisible watchInfo.isPlaylist".split(" "),aQ=!1,Ola=(0,g.A)(NP.clearResourceTimings||
NP.webkitClearResourceTimings||NP.mozClearResourceTimings||NP.msClearResourceTimings||NP.oClearResourceTimings||g.y,NP);var S2;var Csa=g.Lb,Dsa=Csa.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!Dsa||2>Dsa.length)S2=void 0;else{var T2=Csa.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);S2=T2&&6==T2.length?Number(T2[5].replace("_",".")):0}var b_=S2,U2=0<=b_;U2&&0<=g.Lb.search("Safari")&&g.Lb.search("Version");var fma={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},V2={},Esa=(V2.ALWAYS=1,V2.BY_REQUEST=3,V2),cma,fQ;g.p(g.eQ,g.tG);g.h=g.eQ.prototype;g.h.lg=function(a,b){b?(this.setData(a),xQ(this)&&lQ(this)):(hQ(this,a,!0),this.X("dataupdated"))};
g.h.setData=function(a){a=a||{};a.player_response&&(this.xb=g.yg(a.player_response));this.tg="1"!=a.hlsdvr?!1:lN()?!0:YN&&5>b_?!1:!0;this.vH=a.ad_query_id;this.adSafetyReason=a.encoded_ad_safety_reason;this.Vi=a.agcid;this.Mm="1"==a.infringe||"1"==a.muted;this.authKey=a.authkey;this.Bc=a.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||VN());this.enableCardio=NN(this.enableCardio,a.enable_cardio);this.enableCardioBeforePlayback=NN(this.enableCardioBeforePlayback,a.enable_cardio_before_playback);
this.endSeconds=PN(this.endSeconds,a.end||a.endSeconds);this.eo=RN(this.eo,a.itct);this.hs=NN(this.hs,a.noiba);this.il="1"==a.livemonitor;this.Ba="1"==a.live_playback||!!a.fresca_preroll||!!a.heartbeat_preroll;this.isLiveDestination=NN(this.isLiveDestination,a.is_live_destination);this.isLiveDefaultBroadcast="1"==a.live_default_broadcast;this.isLowLatencyLiveStream="1"==a.is_low_latency_live_stream;a.latency_class&&(this.latencyClass=ON("UNKNOWN",a.latency_class,Asa));this.isMdxPlayback=NN(this.isMdxPlayback,
a.mdx);a.mdx_control_mode&&(this.mdxControlMode=bb(a.mdx_control_mode));this.Ji=PN(this.Ji,a.reload_count);this.Pt=RN(this.Pt,a.reload_reason);this.NC=NN(this.NC,a.show_content_thumbnail);this.ms=NN(this.ms,a.utpsa);this.cycToken=a.cyc;this.bD=a.tkn;this.dk="1"==a.innertube_thumbnail&&this.xb.videoDetails.thumbnail?Kla(this.xb.videoDetails.thumbnail):lP(a);this.ng=RN(this.ng,a.vvt);this.mdxEnvironment=RN(this.mdxEnvironment,a.mdx_environment);this.uO=a.osig;this.TB=a.ptchn;this.UB=a.oid;this.Il=a.ptk;
this.VB=a.pltype;this.playbackId=a.plid;this.eventId=a.eventid;this.osid=a.osid;this.videoMetadata=a.vm;this.Gt=a.of;this.np=a.upt;this.playlistId=RN(this.playlistId,a.list);this.eC=a.pyv_view_beacon_url;this.cT=a.pyv_quartile25_beacon_url;this.dT=a.pyv_quartile50_beacon_url;this.eT=a.pyv_quartile75_beacon_url;this.bT=a.pyv_quartile100_beacon_url;a.remarketing_url&&(this.remarketingUrl=a.remarketing_url);this.xb&&this.xb.Ll&&this.xb.Ll.yU&&(this.youtubeRemarketingUrl=this.xb.Ll.yU.HH);this.xb&&this.xb.Ll&&
this.xb.Ll.DI&&(this.googleRemarketingUrl=this.xb.Ll.DI.HH);a.ppv_remarketing_url&&(this.ppvRemarketingUrl=a.ppv_remarketing_url);this.Ro=a.sdetail;!this.Nt&&a.session_data&&(this.Nt=g.WE(a.session_data).feature);this.isFling=1==PN(this.isFling?1:0,a.is_fling);this.vnd=PN(this.vnd,a.vnd);this.Rq=RN(this.Rq,a.force_ads_url);this.ig=RN(this.ig,a.ctrl);this.qf=RN(this.qf,a.ytr);this.cn=a.ytrcc;this.hC=a.ytrexp;this.Pl=QN(this.Pl,a.vq);this.Ul=QN(this.Ul,a.suggestedQuality);this.fp=NN(this.fp,a.ssrt);
this.videoId=LN(a)||this.videoId;this.vssCredentialsToken=RN(this.vssCredentialsToken,a.vss_credentials_token);this.Xl=RN(this.Xl,a.vss_credentials_token_type);this.ypcGid=RN(this.ypcGid,a.ypc_gid);this.heartbeatToken=RN(this.heartbeatToken,a.heartbeat_token);this.heartbeatInterval=PN(this.heartbeatInterval,a.heartbeat_interval);this.heartbeatRetries=PN(this.heartbeatRetries,a.heartbeat_retries);this.heartbeatSoftFail=NN(this.heartbeatSoftFail,a.heartbeat_soft_fail);this.gs=NN(this.gs,a.ithb);if(a.ad3_module||
a.ad_module)"1"==a.allow_html5_ads?(this.adModule=!0,"1"==a.ad_preroll&&this.ne.push("ad")):"1"!=a.supported_without_ads&&(this.wy=!0);a.adaptive_fmts&&(this.adaptiveFormats=a.adaptive_fmts);this.xb&&this.xb.attestation&&this.xb.attestation.playerAttestationRenderer?this.sk=this.xb.attestation.playerAttestationRenderer.challenge:void 0!=a.atc&&(this.sk=a.atc);a.license_info&&(this.bd=ema(a.license_info));a.allow_embed&&(this.allowEmbed="1"==a.allow_embed);a.backgroundable&&(this.backgroundable="1"==
a.backgroundable);a.autonav&&(this.jo="1"==a.autonav);a.autoplay&&(this.Eh="1"==a.autoplay);if(a.iv_load_policy)this.Ug=ON(this.Ug,a.iv_load_policy,hO);else{var b=gQ(this.xb);b&&b.loadPolicy&&(this.Ug=Esa[b.loadPolicy])}a.cc_lang_pref&&(this.Wg=RN(a.cc_lang_pref,this.Wg));a.cc_load_policy&&(this.Xg=ON(this.Xg,a.cc_load_policy,hO));"0"==a.dash&&(this.lx=!0);if(a.dashmpd){this.ze=g.Qg(a.dashmpd,{cpn:this.clientPlaybackNonce});b=/\/s\/([0-9A-F.]+)/;var c=b.exec(this.ze);c&&(c=OE(c[1]),this.ze=this.ze.replace(b,
"/signature/"+c))}a.delay&&(this.Hf=bb(a.delay));a.drm_session_id&&(this.drmSessionId=a.drm_session_id);void 0!=a.end&&(this.clipEnd=a.end);a.fair_play_cert&&window.atob&&(this.fairPlayCert=(0,window.atob)(a.fair_play_cert));a.fmt_list&&(this.fmtList=a.fmt_list);a.fresca_preroll&&this.ne.push("fresca");a.heartbeat_preroll&&this.ne.push("heartbeat");a.idpj&&(this.xj=bb(a.idpj));a.ismb&&(this.Bg=bb(a.ismb));a.is_listed&&(this.isListed=NN(this.isListed,a.is_listed));a.paid_content_overlay_duration_ms&&
(this.SB=bb(a.paid_content_overlay_duration_ms));a.paid_content_overlay_text&&(this.RS=a.paid_content_overlay_text);a.url_encoded_fmt_stream_map&&(this.Lh=a.url_encoded_fmt_stream_map);a.hls_formats&&(this.hlsFormats=a.hls_formats);a.hlsvp&&(this.hlsvp=a.hlsvp);a.length_seconds&&(this.lengthSeconds=bb(a.length_seconds));a.live_chunk_readahead&&(this.liveChunkReadahead=PN(this.liveChunkReadahead,a.live_chunk_readahead));a.live_start_walltime&&(this.liveStartWalltime=bb(a.live_start_walltime));a.live_manifest_duration&&
(this.ws=bb(a.live_manifest_duration));a.ldpj&&(this.ll=bb(a.ldpj));a.player_params&&(this.playerParams=a.player_params);a.relative_loudness&&(this.relativeLoudness=bb(a.relative_loudness),(0,window.isFinite)(this.relativeLoudness)&&(this.Lm=Math.min(1,Math.pow(10,-this.relativeLoudness/20))));a.partnerid&&(this.Dh=bb(a.partnerid));a.probe_url&&(this.probeUrl=IL(g.Qg(a.probe_url,{cpn:this.clientPlaybackNonce})));a.profile_picture&&(this.profilePicture=RN(a.profile_picture,this.profilePicture));a.pyv_billable_url&&
g.FL(a.pyv_billable_url)&&(this.Lo=a.pyv_billable_url);a.pyv_conv_url&&g.FL(a.pyv_conv_url)&&(this.Oj=a.pyv_conv_url);a.video_masthead_ad_quartile_urls&&(b=a.video_masthead_ad_quartile_urls,this.Es=b.quartile_0_url,this.vz=b.quartile_25_url,this.wz=b.quartile_50_url,this.xz=b.quartile_75_url,this.uz=b.quartile_100_url);"1"==a.spacecast_playback&&(this.ne.push("spacecast"),this.spacecastModule=!0,this.Ni.WS=!0);a.spacecast_addrs&&(this.spacecastModule=!0,b={},b.addresses=a.spacecast_addrs.split(","),
b.probe=!0,a.spacecast_query_params&&(b.applianceQueryParams=a.spacecast_query_params),this.Ni.init=b);0<this.startSeconds||(this.Vy=this.startSeconds=PN(this.startSeconds,a.start||a.startSeconds));void 0==a.start||"1"==a.resume||this.Ba||(this.clipStart=a.start);a.two_stage_token&&(this.Kh=a.two_stage_token);a.url_encoded_third_party_media&&(this.ck=dF(a.url_encoded_third_party_media));a.watch_ajax_token&&(this.watchAjaxToken=a.watch_ajax_token);a.ypc_module&&this.ne.push("ypc");a.ypc_clickwrap_module&&
this.ne.push("ypc_clickwrap");this.Wl=RN(this.Wl,a.ucid);(0,g.H)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(b){a[b]&&(this.ye[b]=a[b])},this);
this.ye.focEnabled=NN(this.ye.focEnabled,a.focEnabled);this.ye.rmktEnabled=NN(this.ye.rmktEnabled,a.rmktEnabled);this.Xb=a;hQ(this,a,!1);jQ(this)||(this.adaptiveFormats&&!this.Ba?(mQ(this,vM(nQ(this,this.adaptiveFormats),this.bd,this.lengthSeconds,void 0)),uM(this.ua)&&(this.zj=!0)):this.ze&&(this.Bk=!0));a.adpings&&(this.gq=a.adpings?g.XE(a.adpings):null);a.feature&&(this.Fh=a.feature);a.referrer&&(this.referrer=a.referrer);a.multifeed_metadata_list&&(this.Uh=dF(a.multifeed_metadata_list));this.clientScreenNonce=
RN(this.clientScreenNonce,a.csn);this.rootVeType=PN(this.rootVeType,a.root_ve_type);a.unplugged_location_info&&(this.Ri=a.unplugged_location_info);a.unplugged_partner_opt_out&&(this.fk=RN("",a.unplugged_partner_opt_out));a.partial_spherical&&(this.partialSpherical="1"==a.partial_spherical);a.fflags&&(b=g.WE(a.fflags),b.enable_spherical_kabuki&&(this.vx="true"==b.enable_spherical_kabuki));this.dl=RN(this.dl,a.internal_ip_override);this.innertubez=RN(this.innertubez,a.innertubez)};
g.h.Pd=function(){return!this.Ba||this.tg};
g.h.KK=function(a){(this.Sf=a)&&"fairplay"==this.Sf.g&&(this.Sf.fairPlayCert=this.fairPlayCert);lQ(this)};
g.h.pd=function(){return!(!this.ua||!this.ua.o)};
g.h.CP=function(a){if(!this.la()){if(this.gp){var b=CM(a,this.gp);b&&(a=b)}mQ(this,a);this.Ba&&this.ua.subscribe("refresh",this.kB,this);g.IP("mrc");uM(this.ua)&&(this.zj=!0);lQ(this)}};
g.h.BP=function(a){this.la()||(this.sh=!1,this.X("dataloaderror",new g.CO("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.kB=function(){this.la()||(this.ua.isLive||this.ua.unsubscribe("refresh",this.kB,this),this.Iw())};
g.h.Iw=function(){var a=this.ua.Ve(this.us);0<a.length&&(this.X("cuepointupdated",a),this.us+=a.length)};
g.h.VK=function(a){if(this.spacecastFormatMap){var b=nQ(this,this.spacecastFormatMap);return XO(a,b,pQ(this,a)).then(this.cp,void 0,this).then(this.Fx,void 0,this)}return EF()};
g.h.SK=function(a,b){var c=b||jQ(this);if(this.ua&&!c){if(!a.C){c=this.ua;var d=this.Ba;if(!c.g["0"]){var e=new hJ(0,0,0,void 0,void 0,"auto");e=new lJ("0","",void 0,e);c.g["0"]=d?new dM(new g.JL("http://www.youtube.com/videoplayback"),e,"fake"):new g.qM(new g.JL("http://www.youtube.com/videoplayback"),e,new g.wK(0,0),new g.wK(0,0),0,window.NaN)}}return wN(a.L,this.ua,this.Sf,!1,Bla(a)).then(this.au,void 0,this)}return EF()};
g.h.TK=function(a){if(this.hlsFormats){var b=nQ(this,this.hlsFormats);return Hla(a,b,this.Bg).then(this.cp,void 0,this)}return EF()};
g.h.WK=function(a){if(this.ck&&this.dz){var b=Ila(this.ck);a=kN(a.L,b,nO(a)).then(this.cp,void 0,this)}else a=EF();return a};
g.h.UK=function(a){var b=nQ(this,this.Lh,this.fmtList);if(this.hlsvp){var c=this.hlsvp,d=this.Bg,e={cpn:this.clientPlaybackNonce};-1==c.indexOf("/ibw/")&&(e.ibw=d?String(d):"1369843");c={url:g.Qg(c,e),type:"application/x-mpegURL",quality:"auto",itag:"93"};b.push(c)}return XO(a,b,pQ(this,a)).then(this.cp,void 0,this)};
g.h.au=function(a){this.tb=a;this.kh=this.kh||/^r/.test(this.clientPlaybackNonce)&&!!this.tb.videoInfos.length&&1080<this.tb.videoInfos[0].video.o;a=this.tb?this.tb.audioTracks:[];a=a.concat(this.mn);for(var b=0;b<this.wk.length;b++)for(var c=this.wk[b],d=0;d<a.length;d++){var e=a[d],f=e.Sc.id==c.audioTrackId;if(e.Sc.isDefault&&b==this.xq||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.Kq=this.captionTracks[c.defaultCaptionTrackIndex]);g.t(c.forcedCaptionTrackIndex)&&(e.Ik=this.captionTracks[c.forcedCaptionTrackIndex]);e.yw=c.visibility||"UNKNOWN"}}};
g.h.cp=function(a){this.Nj=a;this.au(new hN((0,g.J)(this.Nj,function(a){return a.Ce})))};
g.h.Fx=function(){var a=cd(this.tb.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.Ul=this.Pl=a=xJ(a.quality,a.quality,!0))};
g.h.Bd=function(){var a={};this.Na&&(a.fmt=kJ(this.Na),this.yd&&kJ(this.yd)!=kJ(this.Na)&&(a.afmt=kJ(this.yd)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Mm&&(a.infringe=1);this.Rf&&(a.splay=1);this.Ba&&(a.live=this.tg?"dvr":"live");this.Eh&&(a.autoplay=1);this.Ro&&(a.sdetail=this.Ro);this.Dh&&(a.partnerid=this.Dh);this.osid&&(a.osid=this.osid);return a};
g.h.getStoryboardFormat=function(){if(this.xb&&this.xb.storyboards){var a=this.xb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.Xb.storyboard_spec||this.Xb.live_storyboard_spec};
g.h.Ok=function(){return this.ua&&!(0,window.isNaN)(this.ua.Ok())?this.ua.Ok():this.lengthSeconds};
g.h.Mc=function(){return this.ua&&!(0,window.isNaN)(this.ua.Mc())?this.ua.Mc():0};
g.h.ed=function(){return!this.la()&&!(!this.videoId&&!this.ck)};
g.h.Sb=function(){return xQ(this)&&!this.Bk&&!this.zj};
g.h.vC=function(){var a={format:"RAW",method:"GET",withCredentials:this.lC};this.Wj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.jr&&(a.timeout=this.jr);var b=this.kr;0<this.Uo&&(b=g.ZE(b,{playerretry:this.Uo}));this.Yx?sM(BF,b,a).then(QE(this.nB),QE(this.WP),this):(a.context=this,a.Vb=this.nB,a.onError=this.vr,g.iF(b,a));g.IP("vir");g.IP("vir",void 0,"video_to_ad");this.Xx=(0,g.VG)()};
g.h.bc=function(a,b){if(30==this.Dh){var c=this.dk["default.jpg"];return c?c:this.videoId?g.Qg("//docs.google.com/vt",{id:this.videoId,authuser:this.Bc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif"}b||(b="hqdefault.jpg");return(c=this.dk[b])||a.I||"pop1.jpg"==b||"pop2.jpg"==b||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b?c:qO(a,this.videoId,b)};
g.h.nB=function(a){if(!this.la()){var b=a.responseText;if(b){this.sh=!1;var c=g.XE(b);this.Yy&&EO(c);"fail"==c.status?this.X("onStatusFail",c):(g.IP("virc"),g.IP("virc",void 0,"video_to_ad"),(0,g.H)(g.Fsa,function(a){a in this.Xb&&(c[a]=this.Xb[a])},this),this.setData(c),xQ(this)?lQ(this):this.X("dataloaderror",new g.CO("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.vr(a)}};
g.h.WP=function(a){this.vr(a.g)};
g.h.vr=function(a){if(!this.la()){var b=a?a.status:-1;a=this.Uo>=this.St||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=(((0,g.VG)()-this.Xx)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.St?(c="manifest.net.retryexhausted",b.urllen=String(this.kr.length)):a||(this.Uo++,this.uC.start());this.X("dataloaderror",new g.CO(c,a,b))}};
g.h.getPlayerResponse=function(){return this.xb};
g.h.getPlaylistId=function(){return null};
g.h.dc=function(){return this};
g.h.On=function(a){return a.getVideoUrl(this.videoId)};
g.h.lh=function(){return!!this.ua&&this.ua.lh()};
g.h.mh=function(){return!!this.ua&&this.ua.mh()};
g.h.Nf=function(){return!!this.ua&&this.ua.Nf()};
g.h.ri=function(){return!!this.ua&&this.ua.ri()};
g.Fsa="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(" ");cma="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(" ");
fQ=["annotations","captions","storyboard"];GQ.prototype.update=function(){var a=this.g.o()||0,b=g.FQ(this.g);if(a!=this.o||KQ(this,a,b)){if(a<this.o||a-this.o>b-this.D+2||KQ(this,a,b)||hma(this,b))g.HQ(this),this.B=a;this.D=b;this.o=a}};LQ.prototype.o=function(){return{ps:this.g.g,el:lO(this.videoData,this.g)}};
LQ.prototype.send=function(){if(!this.A){var a=this.o();a=g.Qg(this.g.baseYtUrl+"set_awesome",a);this.g.Za&&this.videoData.visitorData&&bF(a)?g.iF(a,{headers:{"X-Goog-Visitor-Id":this.videoData.visitorData}}):g.wF(a);this.A=!0}};g.D(MQ,LQ);
MQ.prototype.o=function(){var a=MQ.Z.o.call(this);g.Ha(a,this.g.o);g.Ha(a,{html5:"1",video_id:this.videoData.videoId,eurl:this.g.ra,framer:this.g.Dm,list:this.videoData.ju||this.videoData.playlistId,w:g.$c(this.videoData.Gf/this.videoData.lengthSeconds,0,1),l:this.videoData.lengthSeconds,plid:this.videoData.playbackId,ei:this.videoData.eventId,access_token:this.videoData.oauthToken,tpmt:IQ(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.aa:this.videoData.Eh)a.autoplay="1";this.g.Bc&&(a.authuser=this.g.Bc);this.g.pageId&&(a.pageid=this.g.pageId);this.videoData.Rf&&(a.splay="1");this.videoData.subscribed&&(a.subscribed=this.videoData.subscribed);g.Ha(a,MQ.Z.o.call(this));g.Ha(a,this.g.o);return a};var sna={rW:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",vW:"ERROR_AUTHENTICATION_MALFORMED",wW:"ERROR_AUTHENTICATION_MISSING",BW:"ERROR_BAD_REQUEST",TW:"YTP_ERROR_CANNOT_ACTIVATE_RENTAL",dX:"ERROR_CGI_PARAMS_MALFORMED",eX:"ERROR_CGI_PARAMS_MISSING",TX:"YTP_DEVICE_FALLBACK",uY:"YTP_ERROR_LICENSE",vY:"YTP_ERROR_VIDEO_UNAVAILABLE",FY:"YTP_ERROR_FORMAT_UNAVALIABLE",IY:"YTP_ERROR_GEO_FAILURE",YY:"YTP_ERROR_GENERIC_WITHOUT_LINK",ZY:"YTP_HTML5_FLASH_DEPRECATED",
aZ:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",sZ:"YTP_ERROR_INVALID_DRM_MESSAGE",AZ:"LEARN_MORE",G_:"YTP_ERROR_NOT_SIGNED_IN",n0:"YTP_ERROR_PURCHASE_NOT_FOUND",o0:"YTP_ERROR_PURCHASE_REFUNDED",t0:"YTP_ERROR_RENTAL_EXPIRED",YW:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",ZW:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",bX:"YTP_ERROR_CAST_TOKEN_FAILED",aX:"YTP_ERROR_CAST_TOKEN_EXPIRED",cX:"YTP_ERROR_CAST_TOKEN_MALFORMED",P0:"YTP_ERROR_SERVER_ERROR",q1:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",w1:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",
t1:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",u1:"YTP_ERROR_STREAMING_NOT_ALLOWED",v1:"YTP_ERROR_STREAMING_UNAVAILABLE",C0:"YTP_ERROR_RETRYABLE_ERROR",O1:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",N1:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",u2:"YTP_ERROR_UNSUPPORTED_DEVICE",v2:"YTP_ERROR_UNUSUAL_ACTIVITY",K2:"YTP_ERROR_VIDEO_FORBIDDEN",M2:"YTP_ERROR_VIDEO_NOT_FOUND"},jma={300:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",303:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",
304:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",305:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"YTP_ERROR_VIDEO_NOT_FOUND",401:"YTP_ERROR_GEO_FAILURE",402:"YTP_ERROR_STREAMING_NOT_ALLOWED",403:"YTP_ERROR_UNSUPPORTED_DEVICE",405:"YTP_ERROR_VIDEO_FORBIDDEN",500:"YTP_ERROR_PURCHASE_NOT_FOUND",501:"YTP_ERROR_RENTAL_EXPIRED",502:"YTP_ERROR_PURCHASE_REFUNDED",5E3:"ERROR_BAD_REQUEST",5001:"ERROR_CGI_PARAMS_MISSING",5002:"ERROR_CGI_PARAMS_MALFORMED",5100:"ERROR_AUTHENTICATION_MISSING",5101:"ERROR_AUTHENTICATION_MALFORMED",
5102:"ERROR_AUTHENTICATION_EXPIRED",5200:"YTP_ERROR_CAST_TOKEN_MALFORMED",5201:"YTP_ERROR_CAST_TOKEN_EXPIRED",5202:"YTP_ERROR_CAST_TOKEN_FAILED",5203:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",5204:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",6E3:"YTP_ERROR_INVALID_DRM_MESSAGE",7E3:"YTP_ERROR_SERVER_ERROR",8E3:"YTP_ERROR_RETRYABLE_ERROR"};var Gsa=U2&&4>b_?.1:0,vpa=new VQ;VQ.prototype.g=null;VQ.prototype.getDuration=function(){return this.duration||0};
VQ.prototype.getCurrentTime=function(){return this.currentTime||0};
VQ.prototype.o=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.D(WQ,g.K);g.h=WQ.prototype;g.h.Sd=function(){this.g.ended&&this.uc(0);!this.Nd()&&this.o&&(g.PE(Error("playVideo without src")),YQ(this,this.o.g),this.o.o||this.load());this.play();U2&&7<=b_&&mG(this,"playing",(0,g.A)(function(){g.VE((0,g.A)(this.Ix,this,this.getCurrentTime(),0),500)},this))};
g.h.Ix=function(a,b){this.g.paused||this.getCurrentTime()>a||10<b||(this.play(),g.VE((0,g.A)(this.Ix,this,this.getCurrentTime(),b+1),500))};
g.h.uc=function(a){0<this.g.readyState&&(U2&&4>b_&&(a=Math.max(.1,a)),this.g.currentTime=a)};
g.h.Yf=function(){!this.A&&this.Nd()&&(mN&&0<this.getCurrentTime()&&this.uc(0),this.g.removeAttribute("src"),this.load(),XQ(this,null))};
g.h.addEventListener=function(a,b){this.C.U(a,b,!1,this);if(!this.B[a]){var c=(0,g.A)(this.vV,this);this.g.addEventListener(a,c);this.B[a]=c}};
g.h.removeEventListener=function(a,b){this.C.Ca(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.C.dispatchEvent(a)};
g.h.Lw=function(){this.D&&!this.g.muted&&(fL(),this.g.muted=!0)};
g.h.W=function(){this.F&&this.removeEventListener("volumechange",this.Lw);WQ.Z.W.call(this)};g.p(fR,g.cf);fR.prototype.preventDefault=function(){g.cf.prototype.preventDefault.call(this);this.g&&this.g.preventDefault()};
fR.prototype.stopPropagation=function(){g.cf.prototype.stopPropagation.call(this);this.g&&this.g.stopPropagation()};var lV=g.Kf(function(){var a="";try{var b=g.Cd("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.gR.prototype.wb=function(){return g.W(this,8)&&!g.W(this,64)&&!g.W(this,2)};
g.gR.prototype.isError=function(){return g.W(this,128)};tR.prototype.isEmpty=function(){return this.endTime==this.startTime};var wR={other:1,none:2,wifi:3,cellular:7};g.p(zR,g.K);
zR.prototype.C=function(a){if(!this.la()&&(a=0<=a?a:g.FQ(this.g),"PL"==this.A&&(!g.$b(this.o)||a>=this.B+30)&&(g.yR(this,a,"vps",[this.A]),this.B=a),!g.$b(this.o)&&!this.O)){CR(this,a);var b=a,c=this.g.F(),d=c.droppedVideoFrames,e=d-this.aa;if(d>c.totalVideoFrames||5E3<e)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else 0<e&&g.yR(this,b,"df",[e]);this.aa=d;!this.g.g.experiments.g("disable_webgl_reporting")&&0<this.D&&(g.yR(this,a,"glf",[this.D]),this.D=0);a=DR(this);g.gc(a,
this.g.g.o);a=g.Qg(this.g.g.qk,a);for(var f in this.o)null==this.o[f]?g.PE(Error("Stats report key has invalid value: "+f),"WARNING"):a+="&"+f+"="+this.o[f].join(",");ER(this,a);this.o={}}};
zR.prototype.na=function(){this.g.videoData.Sf&&IR(this,"drm-"+this.g.videoData.Sf.g)};
zR.prototype.onError=function(a,b){var c=g.FQ(this.g);GR(this,c,a,b);CR(this,c);FR(this)};
zR.prototype.W=function(){g.K.prototype.W.call(this);window.clearInterval(this.Y)};
var W2={},pma=(W2[5]="N",W2[-1]="N",W2[3]="B",W2[0]="EN",W2[2]="PA",W2[1]="PL",W2);JR.prototype.send=function(a){if(!this.aa){var b=MR(this);b=g.Qg(this.na,b);if(this.I)this.O&&(a={method:"POST",Nb:{atr:this.O}},this.Wj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.iF(b,a));else{var c=KR(this,a);c?g.iF(b,c):g.wF(b,a)}this.aa=!0}};
JR.prototype.g=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.D(NR,g.K);g.h=NR.prototype;g.h.EP=function(a,b){if(!this.la()){this.F=window.NaN;this.A.update();var c=JQ(this.A),d=QR(this,c);b&&(d.D=a);var e=400<this.J;!(1<c.length)&&c[0].isEmpty()||e||(d.o=OR(this,!0,a));d.send();this.J++}};
g.h.onError=function(a,b){if(!this.la())this.o.onError(a,b)};
g.h.Yo=function(a){var b=this.g.g,c=this.g.videoData,d={ns:b.ib,el:lO(c,b),eurl:b.ra,fmt:c.Na?kJ(c.Na):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.g,noflv:1,st:this.g.o(),video_id:c.videoId,metric:a};if(b.experiments.g("legacy_autoplay_flag")?b.aa:c.Eh)d.autoplay="1";"heartbeat"==a&&(d.tpmt=IQ(this.A));g.Ha(d,b.o);a="//www.youtube.com";b.experiments.g("nocookie_domain_live_204")&&!g.bO(b)&&"gaming"!=b.g&&(a=b.baseYtUrl);SR(this,g.Qg(a+"/live_204",d))};
g.h.fb=function(){};
g.h.W=function(){NR.Z.W.call(this);g.TE(this.F);this.F=window.NaN;var a=this.A;window.clearInterval(a.F);a.F=window.NaN};g.p(WR,KJ);g.h=WR.prototype;g.h.Ya=function(){return cW(this.app)};
g.h.Fz=function(a,b,c,d,e){return dra(this.app,a,b,c,d,e)};
g.h.HL=function(a,b,c){FN(this.app.g.G,a,{Wh:b,ek:c})};
g.h.JL=function(a,b){P1(this.app,a,b||this.playerType)};
g.h.pl=function(a){return Xqa(this.app,a)};
g.h.so=function(a,b,c,d){L1(this.app,a,c||this.playerType,b,d)};
g.h.Qz=function(a,b,c){var d=this.app;b=b||this.playerType||1;c=c||!1;d.pa.get(b+LN(a))||(a=new g.eQ(a),ara(d,a,b,c))};
g.h.Ej=function(a,b){T1(this.app,a,b)};
g.h.rl=function(a){bra(this.app,a)};
g.h.he=function(a,b,c){hra(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.dM=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.C)?this.isFullscreen()&&((c=c[b.be()])&&c.encrypted_id!=b.dc().videoId||(a.index=b.be())):A1(this.app,{list:a.list,index:a.index,playlist_length:c.length});mS(this.app.C,a);this.za("onPlaylistUpdate")}}else a=this.app,B1(a),a.o.za("onPlaylistUpdate")};
g.h.cM=function(){osa()};
g.h.eM=function(a,b){var c=g.eW(this.app,this.playerType||1);c&&c.g.lg(a,b)};
g.h.getPlayerResponse=function(){var a=g.eW(this.app,this.playerType);return a?a.g.getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return x1(this.app).getStoryboardFormat()};
g.h.ML=function(){var a=this.app.g;return{tc:a.tc,Hb:a.Hb}};
g.h.fa=function(){var a=KJ.prototype.fa.call(this),b=g.eW(this.app,this.playerType);b&&(b=b.g,a.backgroundable=b.backgroundable,a.cpn=b.clientPlaybackNonce,a.isLive=b.Ba,a.itct=b.eo,a.paidContentOverlayText=rQ(b),a.paidContentOverlayDurationMs=sQ(b));return a};
g.h.getCurrentTime=function(a){return a?this.app.getCurrentTime(a):KJ.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a){return a?this.app.getDuration(a):KJ.prototype.getDuration.call(this)};
g.h.vh=function(){if(3==this.Ya())return g.dW(this.app.B).zM();var a=x1(this.app),b=g.eW(this.app),c=this.app.Pd(),d=a.clipEnd;a=a.clipStart;var e=this.getCurrentTime(),f=this.getDuration(),k=RV(b),l=b.isPeggedToLive(),m=g.eW(this.app,void 0);if(m){var n=window.NaN;m.o&&(n=cR(m.o));m=0<=n?n:m.getCurrentTime()}else m=0;return{allowSeeking:c,clipEnd:d,clipStart:a,current:e,displayedStart:-1,duration:f,ingestionTime:k,isPeggedToLive:l,loaded:m,seekableEnd:PV(b,!0),seekableStart:b.Mc()}};
g.h.Ls=function(a){return Sqa(this.app,a)};
g.h.IL=function(a){return!!dL().canPlayType(a)};
g.h.Rz=function(a,b){var c=g.eW(this.app,this.playerType);if(c){b=b||a;var d=xJ(a,b,!0);g.oH("yt-player-quality",b,2592E3);LV(c,"m",d)}};
g.h.LL=function(){return vQ(x1(this.app),this.app.getCurrentTime())};
g.h.zi=function(a){var b=this.app,c=g.eW(b,this.playerType);c&&b.g.Gc.has(a.toString())&&c.D&&(b=PR(c.D,"engage"),b.A=a,b.send(void 0))};
g.h.ul=function(a,b,c){var d=this.app.B.A;d&&d.dm()&&d.Ou(a,b,c)};
g.h.PL=function(a,b){var c=this.app.B.F;c&&c.ea&&Qpa(c.ea,a,b)};
g.h.uh=function(){var a=g.eW(this.app,this.playerType);return a?a.Js():x1(this.app).mn};
g.h.Ps=function(a){3==this.Ya()&&g.dW(this.app.B).wl("control_set_audio_track",a);var b=g.eW(this.app,this.playerType),c;if(c=b)if(c=!b.la()&&!g.W(b.A,128)&&!!b.g.tb.g){c=b.B;if(c.la())a=!0;else{var d=c.F;a=a.id;d.F="m";d.B=d.G.g[a];d.N=d.B;c.X("audioformatchange",new nS(d.N,d.o,d.F));c.o&&!c.o.g.remove?a=!1:(aU(c),vT(c.g),vT(c.A),c.V.gc(),a=!0)}c=!a}c&&(IV(b),GV(b))};
g.h.Ns=function(){var a=g.eW(this.app,this.playerType);return a.g.tb?a.g.tb.audioTracks:[]};
g.h.NL=function(){var a=g.eW(this.app,this.playerType);return a&&a.g.Na?g.BJ(QU(a.ra,a.g)):"unknown"};
g.h.YL=function(a,b){jra(this.app,a,b)};
g.h.KL=function(){var a=this.app.B.D;a&&a.pI()};
g.h.bM=function(){var a=this.app.B.F;a&&(a.sa=!1,a.Kg())};
g.h.QL=function(){var a=this.app.B.F;a&&(a.sa=!0,a.Kg())};
g.h.wh=function(){var a=this.isFullscreen()||dO(this.app.g),b=this.app.Gc;return this.tl()?4:SJ()?3:a?2:b?1:0};
g.h.isFullscreen=function(){return this.app.g.da};
g.h.tl=function(){var a=g.eW(this.app,this.playerType);return!!a&&a.Ma};
g.h.aM=function(){return!0};
g.h.Pz=function(a){a=g.QZ(this.app.G,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.XL=function(a){this.app.g.enableSafetyMode=a};
g.h.UL=function(a){XF();V1(this.app,a?2:0)};
g.h.wq=function(){var a=this.app.B.o;a&&a.C&&a.destroy();(a=g.eW(this.app))&&OV(a);(a=this.app.B.I)&&a.DK()&&g.bW(this.app.J,!0)};
g.h.Yf=function(){var a=this.app.g;!a.experiments.g("disable_new_pause_state3")&&uO(a)&&"blazer"!=a.g?this.wq():KJ.prototype.Yf.call(this)};
g.h.Zx=function(){return SV(g.eW(this.app,this.playerType),!0)};
g.h.to=function(a){this.app.B.g.tu(a,!0)};
g.h.yi=function(){var a=this.app.B.g;return a?a.gr():null};
g.h.Os=function(){this.app.B.g.oC()};
g.h.RL=function(){var a=g.eW(this.app,this.playerType);if(!a)return!1;a=a.g;return!!a&&a.ed()&&!!a.Na&&a.Na.video.isAccelerated&&a.Na.video.A};
g.h.isPeggedToLive=function(){return this.app.isPeggedToLive()};
g.h.WL=function(a){var b=this.app;b.Gc=a;b.o.X("minimized")};
g.h.nl=function(a){return H1(this.app,a)};
g.h.OL=function(){var a=this.app.B.B;if(!a)return{};a=a.cA();return"Spherical"!=a.shader&&"Spherical3D"!=a.shader?{}:{yaw:g.ad(180*(a.yaw||0)/Math.PI,360),pitch:180*(a.pitch||0)/Math.PI}};
g.h.ZL=function(a){var b=this.app.B.B;if(b){var c={shader:"Spherical"};g.ta(a.yaw)&&!(0,window.isNaN)(a.yaw)&&(c.yaw=g.ad(a.yaw,360)*Math.PI/180);g.ta(a.pitch)&&!(0,window.isNaN)(a.pitch)&&(c.pitch=g.$c(a.pitch,-90,90)*Math.PI/180);b.dA(c)}};
g.h.TL=function(a){var b=this.app;b.g.Vg=a;b.F&&(a=b.F,a.D&&g.HQ(a.D.A),b.g.J&&kra(b))};
g.h.SL=function(){};
g.h.setVolume=function(a,b){OJ(this,a,b)};
g.h.mute=function(a){PJ(this,a)};
g.h.Zf=function(a){QJ(this,a)};
g.h.EK=function(){return this.app.ga};
g.h.ql=function(a){if("annotations_module"==a){var b=this.app.B.A;b&&!b.loaded&&b.load()}KJ.prototype.ql.call(this,a)};
g.h.ro=function(a){if("annotations_module"==a){var b=this.app.B.A;b&&b.loaded&&b.unload()}KJ.prototype.ro.call(this,a)};
g.h.Ed=function(a,b,c){if(!b)return null;var d=this.app.B;switch(a){case "ad":return(c=d.o)&&c.TD&&c.TD(b);case "remote":return(a=g.dW(d))&&a.yM(b,c);case "unplugged":return(a=g.X(d.T).Ha?d.C:null)&&a.C(b,c);case "spacecast":return(c=d.N)&&c.C(b);case "annotations_module":return(a=d.A)&&a.MU(b,c);case "creatorendscreen":return(a=d.G)&&a.Y(b,c)}return KJ.prototype.Ed.call(this,a,b,c)};
g.h.xi=function(a){var b=this.app.B;switch(a){case "ad":return(b=b.o)&&b.XU&&"addata adstate breakscount displaystate getContentVideoData loadedadbreaks midrollfreqcap".split(" ");case "remote":return g.dW(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.A)&&b.NU();case "unplugged":return(g.X(b.T).Ha?b.C:null)&&"settingsMenuShown hideSettingsMenu showSettingsMenu getStoryboardFrameData getStoryboardFrameIndex getStoryboardFrameIntervalSeconds getStoryboardMaxFrameIndex".split(" ")}return a?
KJ.prototype.xi.call(this,a):(a=KJ.prototype.xi.call(this),b.o&&a.push("ad"),g.dW(b)&&a.push("remote"),b.A&&a.push("annotations_module"),b.G&&a.push("creatorendscreen"),g.X(b.T).Ha&&b.C&&a.push("unplugged"),a)};
g.h.Oz=function(){var a=this.app.G.Xa();return{width:a.width,height:a.height}};
g.h.VL=function(a){var b=this.app.G;b.I=MN(a,!0);b.og()};
g.h.oU=function(){var a=this.app.B.F;a&&a.B.kc(2,!0)};g.p(XR,WR);g.h=XR.prototype;g.h.Sd=function(){N1(this.app,!0,this.playerType);EZ(this.app,this.playerType)};
g.h.qd=function(){GZ(this.app,this.playerType)};
g.h.he=function(a,b,c){N1(this.app,!0,this.playerType);var d=this.app,e=this.playerType;HZ(d,d.getCurrentTime()+a,b,c,e)};
g.h.uc=function(a,b){N1(this.app,!0,this.playerType);HZ(this.app,a,b,void 0,this.playerType)};
g.h.Yf=function(){gra(this.app)};YR.prototype.reset=function(){GP(this.g)};
YR.prototype.o=function(a,b){g.IP(a,b,this.g)};
YR.prototype.info=function(a,b){g.JP(a,b,this.g)};g.bS.prototype.getId=function(){return this.ya};
g.bS.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.ya+"}["+cS(this.start)+", "+cS(this.end)+"]"};
g.bS.prototype.contains=function(a,b){return a>=this.start&&(a<this.end||a==this.end&&this.start==this.end)&&(null==b||a<b&&b<=this.end)};
var sma=1;g.bS.prototype.getId=g.bS.prototype.getId;eS.prototype.toString=function(){return this.type+this.id};g.D(g.hS,g.tG);g.h=g.hS.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.hc+1<this.qh};
g.h.Pf=function(a){return this.loop||!!a||0<=this.hc-1};
g.h.dc=function(a,b,c){a=void 0!=a?a:this.hc;a=this.Ka&&a in this.Ka?this.Ka[this.Ud[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.eQ(a),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.PC=a;a=this.Ud&&null!=this.Ud[this.hc]?this.Ud[this.hc]:this.hc;this.Ud=[];for(var b=0;b<this.Ka.length;b++)this.Ud.push(b);this.hc=a;this.mo++;if(this.PC){a=this.Ud[this.hc];for(b=1;b<this.Ud.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.Ud[b];this.Ud[b]=this.Ud[c];this.Ud[c]=d}for(b=0;b<this.Ud.length;b++)this.Ud[b]==a&&(this.hc=b);this.mo++}this.X("shuffle")};
g.h.bc=function(a,b){b=b||"hqdefault.jpg";var c=this.dk[b];if(c||a.I||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b)return c;if(this.XC.length)return qO(a,this.XC[0],b)};
g.h.be=function(){return this.hc};
g.h.getLength=function(){return this.qh};
g.h.Hk=function(a){if(a&&(a=a.videoId,!this.Ka[this.hc]||this.Ka[this.hc].video_id!=a))for(var b=0;b<this.Ka.length;b++)if(this.Ka[b].video_id==a){this.hc=b;break}};
g.h.onReady=function(a){this.Ml=a;this.Tc&&g.VE(this.Ml,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.On=function(a){return a.getVideoUrl(this.dc().videoId,this.getPlaylistId())};
g.h.W=function(){this.Ml=null;g.bf(this.Ka);g.hS.Z.W.call(this)};oS.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)};
oS.prototype.sb=function(){var a=[];this.forEach((0,g.A)(a.push,a));return a};
oS.prototype.clear=function(){for(var a=this.g.length,b=0;b<a;b++)this.g[b]=0;this.o=this.g.length-1};sS.prototype.reset=function(){this.N=uS(this);this.F=window.NaN;this.J=0;this.g=new rS(0,0,null);this.B=8;this.D=[];this.A=[];this.C=this.G=window.NaN;this.o=this.I=0};
sS.prototype.process=function(a){if(this.D.length){if(xS(this)&&this.D.length+a.byteLength<this.B){yS(this,a,0);return}var b=this.D.length,c=new window.Uint8Array(b+a.byteLength);c.set(this.D,0);c.set(new window.Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.D=[];a=new window.DataView(c.buffer)}for(b=0;b<a.byteLength;){c=a.byteLength-b;var d=window.NaN;if(xS(this)){if(c<this.B){yS(this,a,b);return}switch(this.g.type){case 0:case 1836019574:case 1836019558:d=vS(this,a,b);break;case 1953653094:c=
a;d=b;this.I||(this.I=iK(zS(this,c,d),this.o));d=vS(this,c,d);break;case 1836476516:this.o=usa(zS(this,a,b));wS(this);d=this.g.size-8;break;case 1952867444:(0,window.isNaN)(this.C)||(c=zS(this,a,b),d=this.L?this.C:qK(c),this.L&&pK(c,d),(0,window.isNaN)(this.F)&&(this.F=d),this.C+=this.I,this.J+=this.I);d=this.g.size-8;break;case 1936286840:c=zS(this,a,b),d=sK(c),this.o=rK(c),wS(this),this.I=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}}}0<a.byteLength&&this.A.push(a)};var Ema=0;g.h=GS.prototype;g.h.hT=function(a){this.status=a.status;a.ok?(this.C=a.body.getReader(),this.D?(this.G=a.headers,this.V(),this.B=new window.Uint8Array(HS(this)),KS(this)):this.C.cancel("Cancelling")):this.vo()};
g.h.hP=function(a){if(this.D)if((0,g.G)(),a.done)this.C=null,this.vo();else{a=a.value;this.D({timeStamp:(0,g.G)(),loaded:this.A});this.A+=a.length;var b=a.length>=(LS(this)?1:Math.max(HS(this)/2,16384)),c=a.length+this.g>HS(this);this.J?((b||c)&&0!==this.g&&IS(this),b?this.o.push(a):JS(this,a)):(JS(this,a),this.A>=(LS(this)?1:16384)&&IS(this));KS(this)}};
g.h.vo=function(){this.D&&(this.F=!0,this.L())};
g.h.qR=function(){this.I=!0;this.vo()};
g.h.xh=function(a){return this.G.get(a)};
g.h.vy=function(){return!!this.G};
g.h.Uq=function(){return this.A};
g.h.En=function(){return+this.xh("content-length")};
g.h.ty=function(){return 200<=this.status&&300>this.status&&!!this.A};
g.h.ls=function(){return!!this.o.length||this.F&&0<this.g};
g.h.MC=function(){this.o.length||IS(this);return this.o.shift()};
g.h.Sz=function(){this.o.length||IS(this);return this.o[0]};
g.h.abort=function(){this.C&&this.C.cancel("Cancelling");this.L=this.D=null};
g.h.UC=function(){return!0};
g.h.fC=function(){return this.I};g.h=MS.prototype;g.h.gM=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.iM=function(){2==this.g.readyState&&this.C()};
g.h.hM=function(a){this.o||(this.status=this.g.status,this.D(a))};
g.h.vy=function(){return 2<=this.g.readyState};
g.h.xh=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.PE(b),""}};
g.h.En=function(){return+this.xh("content-length")};
g.h.Uq=function(){return this.response.byteLength};
g.h.ty=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.ls=function(){return this.A&&!!this.response&&!!this.response.byteLength};
g.h.MC=function(){var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.Sz=function(){return new window.Uint8Array(this.response)};
g.h.abort=function(){this.o=!0;this.g.abort()};
g.h.UC=function(){return!1};
g.h.fC=function(){return!1};g.h=NS.prototype;g.h.Rb=function(){return this.C};
g.h.start=function(a){SS(this,2);this.J=ysa++;if(this.o){var b=this.info,c=this.o.g,d=this.o.length;this.F=b.range?new g.wK(b.range.start+c,b.range.end):yK(c,d);this.A=g.$L(this.info,this.V,this.F)}else this.F=this.info.range,this.A=g.$L(this.info,this.V);this.A.set("rn",this.J.toString());0<=a&&this.A.set("rbuf",(1E3*a).toFixed().toString());a=g.TL(this.A);try{var e=(0,g.A)(this.IS,this),f=(0,g.A)(this.LS,this),k=(0,g.A)(this.KS,this),l=(0,g.A)(this.JS,this);this.g=this.D.F&&"function"==typeof window.fetch&&
window.ReadableStream&&TS(this)?new GS(a,f,k,e,l,this.D):new MS(a,f,k,e,l)}catch(m){this.C="net.ssl";SS(this,7);return}0<this.D.da&&this.L.start()};
g.h.LS=function(){this.N=0;this.info.o.C=(0,g.VG)();var a=QS(this);a.A=(0,g.VG)();a.o+=1;a=this.timing;a.o=(0,g.G)();a.D=a.o;a.A=0;a.L=a.o;a.J=0;a.F&&(a.F=[]);a.Y=!1;a.ba=!1;a.C=0;a.G=fN(a.g);FS(a);a.N=(a.O-a.o)/1E3};
g.h.KS=function(a){if(!this.la()){this.B=this.g.status;YS(this,!1);var b=this.timing,c=a.timeStamp;a=a.loaded;c=c>b.o&&4E12>c?c:(0,g.G)();CS(b,c,a);50>c-b.D&&(DS(b)||!b.g.policy.F)||BS(b,c,a);b=this.timing;b.A>b.ga&&b.A>b.g.policy.g&&4>this.state?SS(this,4):VS(this)&&XS(this)&&SS(this,Math.max(3,this.state))}};
g.h.JS=function(){if(!this.la()&&!this.I&&this.g.vy()&&this.g.xh("X-Walltime-Ms")){var a=(0,window.parseInt)(this.g.xh("X-Walltime-Ms"),10);this.I=((0,g.G)()-a)/1E3}};
g.h.IS=function(){var a=this.g;if(!this.la()&&a){this.L.stop();this.B=a.status;var b=!1;if(400<=a.status)b=!0,this.C="net.badstatus";else if(a.ty()){var c="";WS(this)&&(c=a.Sz(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=GL(c)?c:""));if(c){a=QS(this);(0,g.VG)();a.o=0;a.uf=0;a.g=0;a=this.info;var d=this.A,e=a.o;d.g===e.A&&(e.A=UL(d,c));d.g===e.o&&(e.o=UL(d,c));a.requestId=d.get("req_id");SS(this,5)}else if(c=a.Uq(),(d=!!this.F&&this.F.length)&&d!=c||a.fC())b=!0,this.C="net.closed";
else{YS(this,!0);e=TS(this)?this.g.xh("X-Bandwidth-Est"):0;a=this.timing;d=(0,g.G)();e=e?(0,window.parseInt)(e,10):0;if(!a.Y){a.Y=!0;d=d>a.o&&4E12>d?d:(0,g.G)();CS(a,d,c);BS(a,d,c);a.I&&e?YM(a.g,a.A/e,a.A):(e=(d-a.o)/1E3,(e<=a.g.policy.A||!a.g.policy.A)&&!a.ba&&DS(a)&&YM(a.g,e,c),DS(a)&&$M(a.g,c,a.C));c=a.g;d=(d-a.o)/1E3;e=a.N;var f=a.da;c.B.g(d,a.A/d);c.D=(0,g.VG)();f||c.g.g(1,d-e);a.B&&(a.B=!1)}a=QS(this);(0,g.VG)();a.o=0;a.uf=0;a.g=0;this.info.o.g=0;SS(this,6)}}else b=!0,this.C="net.connect";b&&
(RS(this),(0,g.G)(),"net.connect"==this.C?(b=QS(this),b.uf+=1):(b=QS(this),b.g+=1),this.info.o.g++,SS(this,7))}};
g.h.qT=function(){if(!this.la()){var a=(0,g.G)(),b=!1;if(DS(this.timing)){var c=this.timing.O;FS(this.timing);this.timing.O-c>=.8*this.D.da?(this.N++,b=this.N>=this.D.Ha):this.N=0}else b=this.timing,b=5E3<a-(b.o+1E3*b.G.delay);if(b){b=this.timing;a=a>b.o&&4E12>a?a:(0,g.G)();CS(b,a,1024*b.J);c=(a-b.o)/1E3;if(!b.I)if(DS(b))b.C+=(a-b.D)/1E3,$M(b.g,b.aa,b.C);else{var d=b.g;d.C.g(1,c);ZM(d);b.V=a}d=b.g;var e=b.N,f=b.da;d.B.g(c,b.A/c);d.D=(0,g.VG)();f||d.g.g(1,c-e);bN(b.g,(a-b.D)/1E3,0);b=QS(this);b.uf+=
1;this.info.o.g+=1;US(this);this.C="net.timeout";SS(this,7)}else this.L.start()}};
g.h.la=function(){return-1==this.state};
g.h.dispose=function(){BK(this.info.g[0])&&6!=this.state&&(this.info.g[0].ma.F=!1);SS(this,-1);this.G=null;this.L.dispose();US(this)};
NS.DEBUG=!1;g.p(ZS,g.tG);jT.prototype.start=function(){this.o=!0};
jT.prototype.reset=function(){this.g=this.o=!1};kT.prototype.Y=function(a,b){switch(b.info.type){case 1:case 2:this.V(b);break;case 4:var c=b.info.ma.Xz(b),d=b.info,e=this.g;e&&e.ma==d.ma&&e.type==d.type&&(d.range&&e.range?e.range.start==d.range.start&&e.range.end==d.range.end:e.range==d.range)&&e.va==d.va&&e.Ua==d.Ua&&e.gb==d.gb&&(this.g=g.eb(c).info);(0,g.H)(c,(0,g.A)(this.Y,this,a));break;case 3:Gma(this.o,a,b)}};
kT.prototype.V=function(a){if(1==a.info.type){var b=ZK(a);mJ(a.info.ma.info)&&!nJ(a.info.ma.info)&&(PK(new IK(b)),OK([408125543,374648427,174,224],21936,b));a.info.ma.info.video&&cM(a.info.ma,b);2==a.info.ma.info.containerType&&a.info.ma.info.video&&QK(b)}a.info.ma.xr(a)};
kT.prototype.aa=function(a){this.B=a=a.info;this.G&&this.B.g&&(this.G=!1);a.ma.info.g>=this.L&&(this.L=a.ma.info.g)};
kT.prototype.getDuration=function(){return this.Ta.index.Hn()};RT.prototype.send=function(){g.iF(this.o,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Fd:this.A,Gd:this.A,context:this});this.g=(0,g.VG)()};
RT.prototype.A=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:(((0,g.VG)()-this.g)/1E3).toFixed(3),shost:g.Ig(this.o),trigger:this.D};204==a.status||a.response?this.B&&this.B(DO(b)):this.C(new g.CO("pathprobe.net",!1,b))};var Hsa=1024/48E3;g.D(XT,g.K);XT.prototype.D=function(a){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.sb(this.o,c);var d=this.g,e=d.g;c=g.Cb(e,c,d.o);0<=c&&g.rb(e,c)}}this.A()};
XT.prototype.reset=function(){this.C=this.I=!1;this.F.stop();this.g.g=[];this.o=[];this.A();this.G=null};
XT.prototype.A=function(){this.J=!0;if(!this.L){for(var a=3;this.J&&a;){this.J=!1;this.L=!0;if(this.C&&!this.I){this.F.stop();var b=this.N();g.W(b,32)&&this.O.start();for(var c=g.W(this.N(),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(Yma(this,f));if(d)b=UT(this.g,0x7ffffffffffff),b=b.concat(Vma(this.g));else if(this.B<=c&&b.wb()&&!g.W(b,16)&&!g.W(b,32)){b=this.g;d=c;f=[];for(k=
VT(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=UT(this.g,c);e=e.concat(Xma(this,b));this.B=c;!this.I&&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.X("onEnter",d),this.V("crn_"+d.namespace,d)):(d.g&&d.g.X("onExit",d),this.V("crx_"+d.namespace,d))}this.L=!1;a--}this.N().wb()&&(a=WT(this.g,this.B),null!=a&&0x7ffffffffffff>a&&(a=(a-this.B)/this.Y(),this.F.start(a)))}};
XT.prototype.W=function(){this.G=this.g=this.o=null;XT.Z.W.call(this)};g.p($T,g.tG);g.h=$T.prototype;g.h.initialize=function(a,b,c,d){a=a||0;var e=this.F;d=d&&d.id;e.F="i";"auto"!=EJ()&&(e.F="s");IT(e,b);Pma(e,d);e.N=e.B;Qma(e);e.o=e.g;b=PT(e);this.A=new kT(this.B,b.audio);this.g=new kT(this.B,b.video);rU(this,this.A);rU(this,this.g);this.g.o.O=this.A.o;this.X("videoformatchange",b);this.ba=this.g.D;this.B.F&&this.th("streaming","1",!0);this.C=a;c?(this.I=!0,this.ga.gc()):(a=0==this.C,uU(this,this.g,a),uU(this,this.A,a),this.seek(this.C),bU(this,"gv"))};
g.h.resume=function(){if(this.I||this.Y)this.Y=this.I=!1};
g.h.CR=function(a){if(!this.la()&&3<=a.state){var b=a.info.g[0].ma,c=!this.ha&&b.info.video,d=!this.aa&&b.info.audio,e=Math.max(0,a.info.g[0].A-this.C);if(this.B.Y&&5<=a.state){var f=AS(a.timing),k=a.timing;f={rn:a.J.toString(),rt:f.rt,pt:f.pt,stall:f.stall,elt:f.elbowTime,elb:f.elbowBytes,rqd:k.F?k.F.join(""):""};k=f.rqd;delete f.rqd;if(k)for(var l=0;256*l<k.length;l++)this.th("rqd",DO({rn:f.rn,ix:l,d:k.substring(256*l,256*(l+1))}));this.th("rqs",DO(f))}if(5<=a.state&&5==a.info.g[0].type)a.dispose();
else{if(5==a.state)c?bU(this,"vrr"):d&&bU(this,"arr"),a.start(e);else if(6==a.state||this.B.F&&3<=a.state&&!(5<=a.state)){c?(this.ha=a.A?g.TL(a.A):"",fH(4)):d&&(this.aa=a.A?g.TL(a.A):"");b=b.info.video?this.g:this.A;this.D.o&&(b.D=!1,a.I&&this.Ha.g(1,a.I));if(c=BK(a.info.g[0]))c=a.info,c=!!BK(c.g[c.g.length-1]);c&&(0,g.H)(a.o.A,b.V,b);this.ie()}else if(4==a.state)this.ie(),c&&fH(4);else if(7==a.state&&RS(a)){d=(b.info.video&&1<b.A.g||410==a.B||500==a.B||503==a.B)&&!MT(this.F);e=PS(a);c=b.info.video?
this.g:this.A;d&&(e.stun="1");qU(this,!1,a.Rb(),e);if(this.la())return;d&&(d=this.F,b=b.info,MT(d),d.da=b,d.V=(0,g.VG)(),d.O=-1,IT(d,d.D));for(b=0;b<c.A.length&&a!==c.A[b];b++);if(b==c.A.length)rT(c,a);else{for(;b<c.A.length;)rT(c,c.A.pop());3==a.info.g[0].type?(a.o&&a.o.B?(b=a.o.B,b=new AK(b.type,b.ma,b.range,b.va,b.startTime+b.duration,0,b.Ua+b.gb,0,!1)):(b=a.info.g[0],b=new AK(b.type,b.ma,b.range,b.va,b.startTime,0,b.Ua,0,!1)),c.g=b):c.g=null}this.ie()}else BK(a.info.g[0])?(b.C=!0,this.ie()):qU(this,
!0,"net.retryexhausted",PS(a));this.B.Sa&&5<=a.state&&RS(a)&&WL(a.info.o,this.Ma)&&(b=vL(this.Ma,ML(a.info.o.A)),c=this.B.Sa*Math.pow(1.6,b.o),b.g||b.A+c>(0,g.VG)()||(a=a.info,a.range?(b=yK(a.range.start,Math.min(4096,a.range.length)),a=new AK(5,a.g[0].ma,b),a=new ZL([a]),a.C=!1):a=null,a&&lU(this,a)))}}};
g.h.ie=function(){fU(this);if(this.o&&oL(this.o)&&!qL(this.o))if(this.D.isLive)(0,window.isNaN)(this.J)?(this.J=this.C+3600,this.o.A.duration=this.J):this.J<=this.C+1800&&(this.J=Math.max(this.J+1800,this.C+3600),this.o.A.duration=this.J);else{var a=Math.max(this.A.getDuration(),this.g.getDuration());(!(0,window.isFinite)(this.J)||this.J!=a)&&0<a&&(this.J=this.o.A.duration=a)}if(!this.la())if(DM(this.D)&&3==this.D.F)qU(this,!0,"manifest.net.retryexhausted",{rc:this.D.N.toString()});else if(this.D.isLive&&
(CT(this.g)||CT(this.A)))this.X("seekplayerrequired",window.Infinity);else if(fU(this),nT(this.g,this.C),!this.la()&&(nT(this.A,this.C),!this.la())){if(this.D.o){DT(this.g);DT(this.A);var b=-1!=this.g.C;a=-1!=this.A.C;if(!b||!a)if(b=!b&&$S(this.g.o),a=!a&&$S(this.A.o),b||a){a=b?this.g:this.A;b=b?this.A:this.g;var c=$S(a.o).info.va;if(-1!=b.C&&b.C!=c){HM(this.D,c,a==this.g);var d=b.C;uT(a,0);qT(a,window.Infinity);a.g.va=d-1;qU(this,!1,"qoe.avsync",{start:"1",target:b.C,actual:c})}else a.C=c}(a=$S(this.g.o))&&
a.o&&(this.sa=$S(this.g.o).o.D)}if(this.o&&!gU(this,this.A,this.o.g)&&!gU(this,this.g,this.o.o)&&!$ma(this)){if(this.L){a=!!this.L.g;b=this.L;var e=this.A;c=RQ(this.o.o.buffered);if(b.g)b=Tma(b,e,c);else{if((c=$S(e.o))&&(d=c.o)&&d.D&&d.C&&(e=e.A.length?e.A[0]:null)&&3<=e.state&&7!=e.state&&VS(e)&&0==e.info.A&&ST(b,d,c.info)){var f=b.o.Am*Hsa;b.g=e;b.G=c;b.D=d;b.F=c.info;b.A=f;b.B=(0,g.G)()/1E3}b=window.NaN}c=!!this.L.g;a!=c&&this.th("ssr",c?"start":"stop."+b);b&&this.X("seekplayerrequired",b,!0)}(a=
oU(this,this.g,this.o.o,null))&&!this.pa&&(this.pa=(0,g.G)(),bU(this,"vda"),g.IP("vda",void 0,"video_to_ad"),this.na&&fH(4));if(!pL(this.o)){b=QQ(this.o.o.buffered,this.C+kU);if(!(0,window.isNaN)(b)||pT(this.g)||!this.o.g.buffered.length){if(pT(this.g)||this.B.Rg)b=window.NaN;b=oU(this,this.A,this.o.g,b);a=a||b;b&&!this.na&&(this.na=(0,g.G)(),bU(this,"ada"),g.IP("ada",void 0,"video_to_ad"),this.pa&&fH(4))}pT(this.g)&&pT(this.A)&&oL(this.o)&&!qL(this.o)&&(b=this.o,oL(b)&&b.A.endOfStream(),b=this.N,
DJ(fN(b)),b.A=(0,g.VG)());a&&!sL(this.o)&&this.V.gc()}}aU(this);uU(this,this.g,!1);uU(this,this.A,!1);this.g.Ta.C||this.A.Ta.C?qU(this,!0,"net.retryexhausted",{metadata:"1",video:this.g.Ta.C?"1":"0",audio:this.A.Ta.C?"1":"0"}):(iU(this,this.g,this.A)&&mU(this,this.g,this.A),iU(this,this.A,this.g)&&mU(this,this.A,this.g),this.B.Sg&&this.da&&!this.I&&gN(this.N)&&(sU(this,this.da,"cms"),this.da="",this.B.Rh&&(a=KL(OL(this.A.Ta.A.B,0)),sU(this,a,"redir"),sU(this,a.replace("redirector.googlevideo.com",
"www.youtube.com"),"www-redir"))),this.D.B&&this.ga.gc(),this.L&&(a=this.L,a.g?(b=0,a.g.la()||5<=a.g.state||(b=1E3*(a.A-ES(a.g.timing))),a=0<b?b+1:a.C?Math.max(0,1E3*(a.B+a.o.Ib)-(0,g.G)()):0):a=window.NaN,(0,window.isNaN)(a)||this.bb.gc(a)),this.Oa.gc())}};
g.h.Bo=function(a){a=(a=a?this.A:this.g)&&a.B;qU(this,!0,"fmt.unplayable",a?EK(a):void 0)};
g.h.xQ=function(a){qU(this,!0,"fmt.unparseable",a)};
g.h.BQ=function(a){qU(this,!1,"qoe.avsync",a)};
g.h.yQ=function(a,b){this.D.o&&pU(this,b,a==this.g)};
g.h.zQ=function(a,b){this.D.o&&HM(this.D,b.va,a==this.g)};
g.h.AQ=function(a,b){this.D.o&&pU(this,b,a==this.g)};
g.h.wQ=function(a,b){if(this.g.Ta.index.Dc()<=b){var c=this.D;c.L.push(a);c.X("cuepointsadded")}};
g.h.seek=function(a){if(this.la())return dg();if(this.g.D||this.A.D)return cg();fU(this);this.Sa=(0,g.VG)();aU(this,a);var b=this.g.g,c=tU(this,this.g,a,this.o&&this.o.o),d=tU(this,this.A,c,this.o&&this.o.g);this.C=Math.max(a,c,d);this.O=!0;this.D.o&&this.B.ha&&(c=this.g.g.va,gM(this.g.Ta.index,c)||b&&b.va==c||(this.ba=!0));this.V.gc();return cg(a)};
g.h.W=function(){eU(this);this.A&&(sT(this.A),sT(this.g));g.tG.prototype.W.call(this)};
g.h.Uz=function(){return this.Ha.o()||0};
g.h.th=function(a,b,c){this.X("ctmp",a,b,void 0===c?!1:c)};
var kU=2/24;g.p(xU,g.K);g.h=xU.prototype;g.h.nM=function(a){this.F.call(this.A,new window.Uint8Array(a.message))};
g.h.oM=function(){this.J.call(this.A,this.g.keyStatuses)};
g.h.bB=function(a,b){g.PE(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.D.call(this.A,c)};
g.h.yB=function(a){this.F.call(this.A,a.message)};
g.h.xB=function(a){if(this.o){var b=this.o.error.code;a=this.o.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.D.call(this.A,";c."+b+";sc."+a)};
g.h.wB=function(){this.I.call(this.A)};
g.h.update=function(a){if(this.g)return this.g.update(a).then(null,QE((0,g.A)(this.bB,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 FF()};
g.h.W=function(){this.g&&this.g.close();this.C=null;g.K.prototype.W.call(this)};g.p(BU,g.K);BU.prototype.J=function(a){var b=DU(this,a);b&&b.yB(a)};
BU.prototype.I=function(a){var b=DU(this,a);b&&b.xB(a)};
BU.prototype.G=function(a){(a=DU(this,a))&&a.wB()};
BU.prototype.W=function(){this.o=null;g.K.prototype.W.call(this)};g.p(FU,g.K);g.h=FU.prototype;g.h.Yz=function(a){this.L=a};
g.h.lM=function(a){if(!this.la()){this.I||(g.IP("drm_gk_f"),this.I=!0,this.o.X("newsession",this));if(MM(this.A)){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new window.DOMParser).parseFromString(b,"text/xml").querySelector("Challenge");a=new window.Uint8Array(je(a.childNodes[0].data))}if(NM(this.A))for(b=g.he(a),a=new window.Uint8Array(new window.ArrayBuffer(b.length)),c=0;c<b.length;c++)a[c]=b.charCodeAt(c);a=new cna(a,++this.N);this.zC(a)}};
g.h.jM=function(){this.la()||this.D||(this.o.X("sessionready"),this.D=!0)};
g.h.mM=function(a){var b=this;this.la()||(a.forEach(function(a,d){var c=MM(b.A)?d:a,f=new window.Uint8Array(MM(b.A)?a:d);MM(b.A)&&HU(f);var k=zU(f);HU(f);f=zU(f);b.g[k]?b.g[k].status=c:b.g[f]?b.g[f].status=c:b.g[k]={type:"",status:c}}),this.o.X("keystatuseschange",this))};
g.h.zC=function(a){g.IP("drm_net_s");a={format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,Vb:(0,g.A)(this.jQ,this,a),onError:(0,g.A)(this.oB,this,a)};var b=this.O;this.L&&(b=Vg(b,"access_token",this.L));g.iF(b,a)};
g.h.jQ=function(a,b){if(!this.la())if(0!=b.status&&b.response){g.IP("drm_net_r");var c=new window.Uint8Array(b.response);if(c=ena(c))if(0!=c.statusCode)GU(this,"drm.auth",!0,"t.f;c."+c.statusCode,g.NQ(c.statusCode));else{g.IP("drm_kr_s");var d=null,e=c.headers["Heartbeat-Url"];e&&(d=new bna(e,(0,window.parseInt)(c.headers["Heartbeat-Interval-Secs"],10)||60,(0,window.parseInt)(c.headers["Heartbeat-Num-Retries"],10)||4));d&&this.o.X("newlicense",d);!(d=c.headers["Authorized-Format-Types"])||MM(this.A)&&
!this.Y||(this.F=d.split(","),yU(this.B)||this.o.X("keystatuseschange",this));c.headers["Key-Ids"]&&(this.g=ina(c.headers["Key-Ids"]));NM(this.A)&&(c.message=new window.Uint8Array(je(String.fromCharCode.apply(null,c.message))));this.B.update(c.message).then(function(){g.IP("drm_kr_f")});
this.D&&(this.J=(0,g.VG)())}else GU(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")}else this.oB(a,b)};
g.h.kM=function(a){this.la()||GU(this,"drm.keyerror",!0,"t.s"+a)};
g.h.oB=function(a,b){var c=!1;if(3<=a.g.o||this.V&&36E4<(0,g.VG)()-this.J){var d="drm.net.retryexhausted";c=!0}else d=b.status?"drm.net.badstatus":"drm.net.connect";GU(this,d,c,"t.r;c."+b.status);if(this.V&&this.D?0:!c&&this.N==a.number)d=a.g.getValue(),d=new g.Ft((0,g.A)(this.zC,this,a),d),g.L(this,d),d.start(),d=a.g,d.g=Math.min(d.C,d.g*d.F),d.A=Math.min(d.C,d.g+(d.D?Math.round(d.D*(Math.random()-.5)*2*d.g):0)),d.o++};
g.h.W=function(){this.o=null;g.K.prototype.W.call(this)};IU.prototype.get=function(a){a=this.Hk(a);return-1!=a?this.values[a]:null};
IU.prototype.remove=function(a){a=this.Hk(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
IU.prototype.set=function(a,b){var c=this.Hk(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
IU.prototype.Hk=function(a){return g.ib(this.keys,function(b){return g.Gb(a,b)})};g.p(KU,g.tG);g.h=KU.prototype;g.h.LP=function(a){a=new AU(new window.Uint8Array(a.initData),a.initDataType);NU(this,a,!0)};
g.h.MQ=function(a){NU(this,new AU(a.initData,a.contentType),!0)};
g.h.uQ=function(){this.la()||(this.G=!0,MU(this))};
g.h.RO=function(a){if(!this.la()){g.PE(a);var b="t.a";a instanceof window.DOMException&&(b+=";n."+a.name+";m."+a.message);this.X("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.PQ=function(a){this.la()||!a||this.V||(this.V=a,this.X("heartbeatparams",a))};
g.h.QQ=function(){this.la()||(this.o.shift(),MU(this))};
g.h.PR=function(){if(LM(this.g)&&(this.ba--,0==this.ba)){var a=this.C;a.o.msSetMediaKeys(a.A)}};
g.h.pM=function(a){if(!this.la()){var b=[];if(yU(a.B))for(var c in a.g)"usable"==a.g[c].status&&b.push(a.g[c].type);else b=a.F;a=b;a=g.lb(a,"UHD2")?"highres":g.lb(a,"UHD1")?"hd2160":g.lb(a,"HD")?"hd1080":g.lb(a,"HD720")?"hd720":"large";CJ(this.F,a)||(this.F=xJ("auto",a,!1),this.X("qualitychange"))}};
g.h.W=function(){this.g.A&&this.I.setMediaKeys(null);this.I=null;this.o=[];for(var a=g.ma(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.tG.prototype.W.call(this)};OU.prototype.C=function(){var a=g.x("yt.abuse.botguardInitialized");return a&&a()?(a=g.x("yt.abuse.invokeBotguard")())?"r1a="+a:null:null};
OU.prototype.D=function(a){return"r3a="+Math.floor(this.g.lengthSeconds%bb(a.c3a))};
OU.prototype.B=function(a){a=bb(a.c);var b=g.x("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};RU.prototype.then=function(a,b){return this.dC.then(a,b)};
RU.prototype.resolve=function(a){this.g(a)};
RU.prototype.reject=function(a){this.o(a)};
g.p(SU,g.tG);SU.prototype.getCurrentTime=function(){return(0,window.isNaN)(this.C)?this.o?this.o.getCurrentTime():window.NaN:this.C};g.D(UU,WQ);g.h=UU.prototype;g.h.oa=function(){return this.g};
g.h.Nd=function(){return this.g.src};
g.h.Uc=function(){try{return 0<=this.g.playbackRate?this.g.playbackRate:1}catch(a){return 1}};
g.h.Xf=function(a){this.Uc()!=a&&(this.g.playbackRate=a);return a};
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.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.PE(a)})};
g.h.Rb=function(){return this.g.error?this.g.error.code:null};
g.h.tl=function(){return!!this.g.webkitCurrentPlaybackTargetIsWireless};
g.h.setSize=function(a){return g.Gh(this.g,a)};
g.h.getVolume=function(){return this.g.volume};
g.h.setVolume=function(a){fL();this.g.volume=a};
g.h.vV=function(a){this.dispatchEvent(new fR(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.W=function(){for(var a in this.B)this.g.removeEventListener(a,this.B[a]);UU.Z.W.call(this)};g.D(WU,g.K);g.h=WU.prototype;g.h.start=function(){this.o.start()};
g.h.stop=function(){this.o.stop()};
g.h.Cb=function(a,b,c){this.A[a]=b;this.g[a]=new YU(!!c)};
g.h.clear=function(){for(var a in this.g)this.g[a].clear()};
g.h.vT=function(){for(var a in this.A)this.g[a].update(this.A[a]());this.o.start()};
YU.prototype.update=function(a){this.A?(pS(this.g,a-this.o||0),this.o=a):pS(this.g,a)};
YU.prototype.clear=function(){this.g.clear();this.o=0};g.p(aV,g.tG);g.h=aV.prototype;g.h.W=function(){g.TE(this.ga);window.clearInterval(this.zb);g.TE(this.Jb);var a=RJ();a&&window.document.removeEventListener(a,this.Mg,!1);dV(this);eV(this);bV(this);zV(this);g.bf(this.ha,this.g);this.aa=null;this.Za=!1};
g.h.Kw=function(){if(this.g.Sb())g.W(this.A,128)||(this.g.Sb(),this.Gc=this.Ha.g=!0,4!=this.pg&&(this.da=g.vb(this.g.ne)),g.oQ(this.g,this.C,this.Ma).then(this.Gx,this.Gx,this),this.xd("loudness",""+this.g.relativeLoudness.toFixed(3),!0));else{var a=this.g;if(a.Ba&&a.adaptiveFormats&&!a.uy&&(g.zQ(a)||this.C.experiments.g("html5_manifestless_always"))){a=this.g;var b=this.C.experiments;if(!jQ(a)){a.uy=!0;var c=vM(nQ(a,a.adaptiveFormats),a.bd,a.lengthSeconds,!0,b);!b.g("html5_manifestless_vp9")&&dma(c)||
a.Ar?c.dispose():(a.Bk=!1,mQ(a,c),c.subscribe("cuepointsadded",a.Iw,a),uM(a.ua)&&(a.zj=!0));lQ(a)}}else if(this.g.Bk)a=this.g,b=this.C.experiments,a.sh=!0,a.Bk=!1,GL(a.ze)||g.PE(Error("DASH MPD Origin invalid: "+a.ze),"WARNING"),c=a.ze,c=g.Qg(c,{mpd_version:b.o("dash_manifest_version")||4}),a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||!b.g("html5_live_disable_dg_pacing")||(c=g.Qg(c,{pacing:0})),BM(new tM(c,b,a.Ba),c).then(a.CP,a.BP,a),g.IP("mrs");else if(this.g.zj)this.D&&(a=this.D.o,IR(a,
"protected"),a.g.videoData.Sf?a.na():a.g.videoData.subscribe("dataloaded",a.na,a)),a=this.g,b=this.C.L,c=this.C.experiments,uM(a.ua),b=new RM(oN(b,a.ua),c),g.L(a,b),a.zj=!1,a.sh=!0,a=(0,g.A)(a.KK,a),b.B=a,QM(b.C)?b.D():dla(b);else if(!this.g.sh&&this.Gc){a:{b=this.C;a=this.g;var d=this.ib.Xa(),e=this.Og(),f=this.C.da;switch(a.Dh){case 38:b=a.videoId.indexOf(":");a=g.Qg("//play.google.com/books/volumes/"+a.videoId.slice(0,b)+"/content/media",{aid:a.videoId.slice(b+1),sig:a.uO});break a;case 30:a=g.Qg("https://docs.google.com/get_video_info",
{docid:a.videoId,authuser:a.Bc,authkey:a.authKey,eurl:b.ra});break a;case 33:a=g.Qg("//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.ra,ps:b.g,el:lO(a,b),hl:b.Sa,list:a.playlistId,agcid:a.Vi,aqi:a.vH,sts:17364,lact:g.$G()},g.Ha(c,b.o),b.Og&&(c.ecver=b.Og),b.forcedExperiments&&(c.forced_experiments=b.forcedExperiments),a.ng?(c.vvt=a.ng,a.mdxEnvironment&&(c.mdx_environment=a.mdxEnvironment)):a.oauthToken&&
(c.access_token=a.oauthToken),a.adFormat&&(c.adformat=a.adFormat),b.Wg&&(c.cc_lang_pref=b.Wg),b.Xg&&2!=b.Xg&&(c.cc_load_policy=b.Xg),b.mute&&(c.mute=b.mute),a.Ug&&2!=b.Ug&&(c.iv_load_policy=a.Ug),a.eo&&(c.itct=a.eo),mO(b,a,f)&&(c.autoplay="1"),a.jo&&(c.autonav="1"),a.hs&&(c.noiba="1"),a.isMdxPlayback&&(c.mdx="1",c.ytr=a.qf),a.mdxControlMode&&(c.mdx_control_mode=a.mdxControlMode),a.cn&&(c.ytrcc=a.cn),a.ms&&(c.utpsa="1"),a.isFling&&(c.is_fling="1"),a.vnd&&(c.vnd=a.vnd),a.Rq&&(c.force_ad_param_ad_type=
"video_ad",c.force_ad_param_url=a.Rq,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.Rf&&(c.splay="1"),a.ypcPreview&&(c.ypc_preview="1"),b.Oa&&(c.content_v=b.Oa),a.il&&(c.livemonitor=1),b.Bc&&(c.authuser=b.Bc),b.pageId&&(c.pageid=b.pageId),b.Yc&&(c.ei=b.Yc),b.Qh&&(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.ws&&(c.live_manifest_duration=a.ws),b.Hb&&a.playerParams&&(c.player_params=a.playerParams),b.Hb&&a.cycToken&&(c.cyc=a.cycToken),b.Hb&&a.bD&&(c.tkn=a.bD),0!=e&&(c.vis=e),b.enableSafetyMode&&(c.enable_safety_mode="1"),b.widgetReferrer&&(c.widget_referrer=b.widgetReferrer.substring(0,128)),(d=b.N.embedding_app)&&(c.embedding_app=d),(d=b.N.developer_api_key)&&(c.developer_api_key=d),(d=g.kQ(a))&&(c.uloc=d),a.dl&&(c.internalipoverride=a.dl),a.innertubez&&(c.innertubez=a.innertubez),
b.Hb&&a.fi&&(c.wpid=a.fi),a=g.Qg(b.baseYtUrl+"get_video_info",c)}}b=2;this.C.isAd()&&(b=0);c=this.g;d=this.C.Za;e=this.C.experiments;f=this.C.tc;c.la()||(c.kr=a,c.St=b,c.Wj=!!d,c.Yy=!!f,e&&(c.lC=!e.g("disable_gvi_cors"),c.jr=e.o("html5_get_video_info_timeout_ms")||0,c.Yx=e.g("html5_get_video_info_promiseajax")),c.sh=!0,c.vC())}}};
g.h.Gx=function(){if(iQ(this.g)){if(this.g.Ba){this.L=new yma;this.O=new Ama(this.g,this.C.experiments);if(this.D){var a=qS(this.O);HR(this.D.o,a)}qV(this,PV(this,!1),!0)}this.g.tb.g&&g.MV(this);LV(this,"i");this.L&&(this.g.pd()?(a=(0,g.A)(this.B.Uz,this.B),this.L.A=a):this.g.ua&&(a=(0,g.A)(this.g.ua.fM,this.g.ua),this.L.A=a))}this.Oa&&FV(this);a=this.g;a.endSeconds&&a.endSeconds>a.startSeconds&&fV(this,a.endSeconds);gV(this,"dataloaded");this.V.o?nV(this):this.Oa&&hV(this,jR(jR(this.A,512),1))};
g.h.logEvent=function(a,b){if(this.D){var c=this.D,d={};d.rt=g.FQ(c.g).toFixed(3);g.Ha(d,vR(c.g));var e=c.g.g,f=c.g.videoData,k=f.Nt||e.Fh;k={ns:e.ib,html5:"1",el:lO(f,e),ps:e.g,fexp:e.experiments.experimentIds.join(",")||void 0,feature:k||void 0,ctrl:f.ig||void 0,ytr:f.qf||void 0,list:f.playlistId,d:e.Mg,f:e.re};if(e.experiments.g("legacy_autoplay_flag")?e.aa:f.Eh)k.autoplay="1";f.subscribed&&(k.subscribed=f.subscribed);g.Ha(d,k);delete d.fexp;g.Ha(d,a);d=g.eF(c.g.g.baseYtUrl+"player_204",d);SR(c,
d,b)}};
g.h.isPeggedToLive=function(){return this.sa&&this.Pg};
g.h.jL=function(){return this.A};
g.h.getPlayerType=function(){return this.pg};
g.h.Js=function(){var a=this.g,b=a.yd;if(!b)return a.mn;var c=g.gb(this.g.tb?this.g.tb.audioTracks:[],function(a){return a.id==b.id});
return c?c:a.mn};
g.h.AS=function(){this.C.experiments.o("html5_background_quality_cap")&&this.B&&LV(this,"v");this.C.Pm&&!this.g.backgroundable&&this.o&&(SJ()&&this.o.o?(this.xd("bgmobile","suspend"),yV(this,!0)):FV(this)&&this.xd("bgmobile","resume"))};
g.h.vQ=function(a){if(this.qg)this.re=!0;else{var b=this.getDuration();!b&&this.g.pd()&&(b=3600);a.A.duration=b;g.cU(this.B,a)}};
g.h.dQ=function(a){if(this.G){var b=this.G;if(LM(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){k=a.subarray(e,e+f);var 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&&NU(b,new AU(a),!1)}}};
g.h.nQ=function(a){vV(this,a.reason,a.video.info,a.audio.info);var b=g.uQ(this.g);b&&b.I(a.video);this.L&&(this.L.o=a.audio.index)};
g.h.mQ=function(a){uV(this,a.reason,a.audio.info)};
g.h.Cj=function(a){if("html5.invalidstate"==a.errorCode&&this.o){var b=this.o.Rb();a.details.merr=b?b.toString():"0"}b=/^pp/.test(this.g.clientPlaybackNonce);wna(a)?g.W(this.A,4)?(this.Af=!0,eV(this)):CV(this):NV(a)&&this.g.tb.o?(this.xd("highrepfallback","1",!0),gma(this.g),IV(this),GV(this)):a.g?(b=this.B?this.B.F.D:null,b=NV(a)&&b&&b.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,g.jV(this,a.errorCode,b,DO(a.details))):this.D&&(this.D.onError(a.errorCode,DO(a.details)),b&&"manifest.net.connect"==
a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.g.clientPlaybackNonce+"&t="+(0,g.VG)(),(new RT(a,"manifest",(0,g.A)(function(a){this.xd("pathprobe",a)},this),(0,g.A)(function(a){this.onError(a.errorCode,DO(a.details))},this.D))).send()))};
g.h.Qq=function(){if(!(0,window.isNaN)(this.Y)&&this.o){var a=this.getDuration(),b=this.C.experiments.g("legacy_html5_seek_end")?Math.floor(a):PV(this,!1);!this.g.Ba&&this.Y>=b?(this.Y=a,this.X("endseeking",this),sV(this,!0),ZU(this)):(this.B&&this.B.seek(this.Y),(!this.g.Ba||1<=this.o.g.readyState)&&this.o.uc(this.Y),this.B&&!g.W(this.A,2)&&hV(this,jR(this.A,16)))}this.ha&&(this.ha.dispose(),this.ha=null);g.W(this.A,32)&&(hV(this,jR(kR(this.A,32),16)),this.X("endseeking",this))};
g.h.getCurrentTime=function(){if(this.N&&!(0,window.isNaN)(this.N.getCurrentTime()))return this.N.getCurrentTime();if(!(0,window.isNaN)(this.Y))return this.Y;var a=0;this.o&&1<=this.o.g.readyState?a=this.o.getCurrentTime():this.g&&(a=this.g.Gf||this.g.startSeconds||0);return a};
g.h.getDuration=function(){return this.g.lengthSeconds?this.g.lengthSeconds:PV(this,!1)?PV(this,!1):0};
g.h.wI=function(){var a=new fla;if(this.B){var b=this.C.schedule;a.C=b.G;a.G=b.I;a.o=eN(b);a.g="d."+aN(b).toFixed(2)+";st."+(1E9*cN(b)).toFixed(2)+";bw."+b.o.o().toFixed(0)+";abw."+b.B.o().toFixed(0)+";v50."+WM(b.g,.5).toFixed(2)+";v92."+WM(b.g,.92).toFixed(2)+";v96."+WM(b.g,.96).toFixed(2)+";v98."+WM(b.g,.98).toFixed(2);b=this.B;if(b.o&&!pL(b.o)&&(a.A=pT(b.g)?b.g.B.o:TQ(b.o.o.buffered,b.C),a.D=pT(b.A)?b.A.B.o:TQ(b.o.g.buffered,b.C),b.B.Y)){var c=tT(b.g),d=tT(b.A),e=UQ(b.o.o.buffered),f=UQ(b.o.g.buffered);
a.g=(a.g||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.o=GT(b.G)}else this.o&&(a.A=bR(this.o));this.C.experiments.g("html5_new_e2e_latency_tracking")?a.B=this.Qx():this.L&&zma(this.L,a);return a};
g.h.tS=function(){this.G&&LU(this.G,this.g.oauthToken);gV(this)};
g.h.sS=function(a){g.jV(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode)};
g.h.lL=function(a){var b=a.target.Nd();if(this.o&&this.o.Nd()&&this.o.Nd()==b){var c=!1;switch(a.type){case "error":if(!this.Yc&&0<this.o.Rb()){this.Yc=!0;if(a=this.C.experiments.g("html5_progressive_signature_reload"))a=this.g,a=a.fg?+g.cF(a.fg.g().g).expire<Date.now()/1E3+1800:!1;this.D&&(c={e:nma(this.o)},this.J&&(c.msopened=""+ +!!this.J.g),a&&(c.stale="1"),this.D.onError("qoe.restart",DO(c)));if(a){CV(this);return}if(XN("philips"))try{window.close()}catch(n){}this.Mt();return}break;case "durationchange":var d=
this.o.getDuration();(!this.J||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.g.lengthSeconds!=d&&(this.g.lengthSeconds=d,gV(this));break;case "ratechange":this.B&&(this.B.G.A=Math.max(1,this.o.Uc()));d=this.F;d.C=!0;d.A();break;case "loadedmetadata":this.g.startSeconds&&(0<(this.o.g.seekable||SQ()).length?this.o.g.currentTime=this.g.startSeconds:(this.pa=this.g.startSeconds,sV(this,!0)));case "loadstart":window.clearInterval(this.zb);this.Bq()||(this.zb=g.UE((0,g.A)(this.Bq,this),100));break;case "progress":this.pa&&
this.o&&(d=this.o.g.seekable||SQ(),d.length&&d.end(0)>this.pa&&(this.o.g.currentTime=this.pa,this.pa=window.NaN,this.Ic=this.na.P(this.o,"canplay",this.DP,this)));case "suspend":QV(this);this.X("onLoadProgress",this,xna(this));g.W(this.A,8)&&(this.Ph?c=!0:this.Qh&&((0,window.isNaN)(this.gd)||this.gd+1<this.o.getCurrentTime())&&(c=!0,this.gd=this.o.getCurrentTime()));break;case "seeked":UV(this);break;case "seeking":d=this.C.experiments.g("disable_html5_videoplayer_seeking_time")?this.o.getCurrentTime():
this.getCurrentTime();this.B&&this.B.seek(d);var e=this.bb;e.g=d;e.o=!0;break;case "playing":this.I.o("plev");g.IP("plev",void 0,"video_to_ad");this.zf&&(this.zf=!1,EV(this)||qV(this,window.Infinity,!0));g.TE(this.Jb);this.Jb=window.NaN;break;case "timeupdate":d=this.o&&!this.o.getCurrentTime();e=this.o&&0==this.o.g.readyState;if(d&&(!this.Ra||e))return;this.Ra=this.Ra||!!this.o.getCurrentTime();this.Bq();UV(this);QV(this);if(!this.o||this.o.Nd()!=b)return;this.X("onVideoProgress",this,this.o.getCurrentTime());
this.L&&this.sa&&(d=this.L,e=this.o.getCurrentTime(),!d.o||e>=d.B&&e<d.C||(e=d.o.gh(e),-1!=e&&(d.B=d.o.lf(e),d.C=d.B+d.o.getDuration(e),e=(0,g.G)()/1E3-d.o.Qs(e),d.A&&(e-=d.A()),pS(d.D,e),d.g.push(e))));break;case "waiting":if(0<(this.o.g.played||SQ()).length&&0==aR(this.o).length&&0<this.o.getCurrentTime()&&5>this.o.getCurrentTime()&&this.B)return;break;case "resize":this.g.Na&&"auto"==this.g.Na.video.quality&&this.X("internalvideoformatchange",this.g,!1)}if(this.o&&this.o.Nd()==b){this.X("videoelementevent",
a);a:{b=this.A;var f=this.bb,k=this.Rh,l=this.C.experiments.g("html5_timeupdate_readystate_check");if(!g.W(b,128)){d=b.o;e=b.g;var 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.Nd()&&(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)&&hR(f,m)&&(d|=1);else if("error"==a.type){b:{if(2==m.Rb())f="progressive.net.retryexhausted";else if(3==m.Rb())f="fmt.decode";else if(4==m.Rb())f="fmt.unplayable";else if(5==m.Rb())f="drm.unavailable";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."+lV());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)nR(b)&&hR(f,m)&&(d|=1);else if("seeked"==a.type)d&=-17;else if("seeking"==a.type)d|=16,0>=bR(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)||(hR(f,m)?d|=1:l&&!k&&f.A||(d&=-2)),1<m.g.readyState&&0<m.getCurrentTime()&&(d&=-65);else break a;b=iR(b,d,e)}}!g.W(this.A,1)&&g.W(b,1)&&XV(this,"evt_"+a.type);hV(this,b);c&&this.o.play()}}};
g.h.FO=function(a){a="available"==a.g.availability;a!=this.fd&&(this.fd=a,this.X("airplayavailabilitychange"))};
g.h.GO=function(){var a=this.o.tl();a!=this.Ma&&(this.Ma=a)&&(g.oQ(this.g,this.C,this.Ma),LV(this,"m"));this.X("airplayactivechange")};
g.h.Bq=function(){var a=this.o;a&&this.Ra&&!this.g.Zg&&!YP("vfp",this.I.g)&&2<=a.g.readyState&&!a.g.ended&&0<RQ(aR(a))&&this.I.o("vfp");if((a=this.o)&&!this.g.Zg&&0<a.getDuration()&&(!YP("pbp",this.I.g)&&a.g.paused&&2<=a.g.readyState&&0<RQ(aR(a))&&this.I.o("pbp"),0<a.getCurrentTime())){window.clearInterval(this.zb);g.TE(this.ga);this.ga=window.NaN;this.g.Zg=!0;TV(this);if(this.D){a=this.D;if(!a.B){var b=PR(a,"playback");a.I=[10+a.g.videoData.xj,10,10,40+a.g.videoData.ll-a.g.videoData.xj,40];var c=
a.A;window.clearInterval(c.F);c.F=window.NaN;c.F=g.UE((0,g.A)(c.update,c),100);c.D=g.FQ(c.g);c.A=EQ(c.g);b.o=OR(a,!0);b.Ma=!0;b.send();a.g.videoData.Il&&(b=a.g.g,c=a.g.videoData,b=g.Qg(b.baseYtUrl+"ptracking",{html5:"1",video_id:c.videoId,cpn:c.clientPlaybackNonce,plid:c.playbackId,ei:c.eventId,ptk:c.Il,oid:c.UB,ptchn:c.TB,pltype:c.VB,content_v:b.Oa}),SR(a,b));a.g.videoData.enableCardio&&(a.Yo("playback"),a.C||VR(a));a.g.videoData.Hf||UR(a);a.B=!0;a=a.A;a.o=a.g.o();a.D=g.FQ(a.g);!(0==a.B&&5>a.o)&&
2<a.o-a.B&&(a.B=a.o)}g.VE((0,g.A)(this.Ut,this),4500)}this.X("playbackstarted");g.cH()&&((a=g.x("yt.scheduler.instance.clearPriorityThreshold"))?a():fH(0));return!0}return!1};
g.h.DP=function(){this.Ic&&(this.na.Ca(this.Ic),delete this.Ic,this.Kl())};
g.h.YI=function(){if(this.o){var a=this.getCurrentTime();if(g.W(this.A,8)&&OQ(this.bb,a,(0,g.VG)(),bR(this.o))){var b=this.getDuration();!this.g.Ba&&b&&1.1>Math.abs(b-a)?this.o.g.loop?qV(this,0,!0):ZU(this):(g.pR(this.A)||XV(this,"progress_fix"),hV(this,jR(this.A,1)))}else g.W(this.A,4)&&g.pR(this.A)&&5<bR(this.o)&&hV(this,kR(this.A,1));QV(this)}};
g.h.tI=function(){return this.B?GT(this.B.G):eN(this.C.schedule)};
g.h.Lx=function(){return this.o?bR(this.o):0};
g.h.vI=function(){return this.C.schedule.G};
g.h.Qx=function(){if(!(this.g.Ba&&this.g.ua&&this.B&&this.sa))return window.NaN;var a=this.g.pd()?this.B.Uz():this.g.ua.G;return(0,g.G)()/1E3-RV(this)-a};
g.h.sT=function(){var a;if(a=g.W(this.A,1)&&this.B){a=this.B;var b=this.getCurrentTime();a=!(!a.o||pL(a.o)||qL(a.o)||wU(b,a.g,a.o.o)&&wU(b,a.A,a.o.g))}a&&(a=vU(this.B),this.xd("reseek",DO({cur:a.lct,vb:a.lvb,ab:a.lab})),qV(this,this.getCurrentTime(),!0))};
g.h.II=function(){this.g.Ba||this.X("connectionissue")};
g.h.zT=function(){this.o.uc(this.o.getCurrentTime()+.1)};
g.h.Kl=function(){var a=this.C.experiments.o("html5_source_buffer_required_for_play");if(a&&this.B){var b=this.B;if(b.A&&b.g&&b.o&&b.o.o&&b.o.g)if(0!=b.g.A.length||0!=b.A.A.length||iU(b,b.g,b.A)||iU(b,b.A,b.g)){var c=0;for(var d=b.o.o.buffered,e=0;e<d.length;e++)c+=d.end(e)-d.start(e);e=0;d=b.o.g.buffered;for(b=0;b<d.length;b++)e+=d.end(b)-d.start(b);c=Math.min(c,e)}else c=window.Infinity;else c=0;if(c<a){this.xd("pvmedelay","bl."+c+";br."+a);a=(0,g.A)(this.Kl,this);g.dH(a,1,100);return}}this.o.Sd()};
g.h.OQ=function(a){var b={};g.Ha(b,this.C.o);b.cpn=this.g.clientPlaybackNonce;this.g.ng&&(b.vvt=this.g.ng,this.g.mdxEnvironment&&(b.mdx_environment=this.g.mdxEnvironment));this.C.Bc&&(b.authuser=this.C.Bc);this.C.pageId&&(b.pageid=this.C.pageId);g.gc(a.G,b);EU(a,a.O)};
g.h.hQ=function(a,b,c,d){d=void 0===d?"YTP_ERROR_LICENSE":d;c=c.substr(0,256);"drm.keyerror"==a&&1<this.G.A.keys.length&&96>this.Ng&&!this.C.experiments.g("html5_disable_drm_reload")&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.jV(this,a,d,c);else if(this.D)this.D.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.Ng++,this.Mt())};
g.h.iQ=function(){LV(this,"r");gV(this)};
g.h.kL=function(a){this.X("heartbeatparams",a)};
g.h.pB=function(){if(!this.g.Zg&&this.o){var a="0";0<this.o.g.readyState&&5<=bR(this.o)&&this.g.tb.g&&(hV(this,jR(this.A,1)),XV(this,"load_soft_timeout"),this.X("playbackstalledatstart"),a="1");this.D&&(a={preroll:""+ +pV(this),restartmsg:a},this.B&&g.Ha(a,vU(this.B)),this.o&&g.Ha(a,eR(this.o)),this.D.onError("qoe.start15s",DO(a)));this.X("loadsofttimeout")}};
g.h.Ut=function(){if(!this.Za){var a=new OU(this.g);if("c1a"in a.o){var b=g.x("yt.abuse.botguardInitialized");b=!(b&&b())}else b=!1;if(b)g.VE((0,g.A)(this.Ut,this),4500);else{if(a.g&&a.g.sk){b=[a.g.sk];for(var c in a.A)if(a.o[c]&&a.A[c]){var d=a.A[c](a.o);d&&b.push(d)}a=b.join("&")}else a=null;a&&this.D&&(c=this.D,c.L||(b=PR(c,"atr"),b.O=a,b.send(),c.L=!0),this.Za=!0)}}};
g.h.Mc=function(){return this.g.Mc()};
g.h.Ez=function(){return this.Aa};
g.h.ir=function(){if(this.o)a:{var 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.Mt=function(){this.o&&(this.J?IV(this):(this.g.fg&&this.g.fg.A(this.C.experiments),this.o.Yf()),GV(this))};
g.h.xd=function(a,b,c){if(this.D){var d=this.D;d.la()||AR(d.o,a,b,void 0===c?!1:c)}};g.p(YV,WR);g.h=YV.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.gW(this).element};
g.h.Wf=function(){return this.app.C};
g.h.fa=function(a){return(a=g.eW(this.app,a||this.playerType))&&a.g};
g.h.Sd=function(a){3==this.Ya()?g.dW(this.app.B).wl("control_play"):EZ(this.app,a)};
g.h.Yf=function(a){OV(g.eW(this.app,a))};
g.h.addEventListener=function(a,b){this.app.V.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.V.unsubscribe(a,b)};
g.h.sl=function(a){this.Rz(a,a)};
g.h.nl=function(a){return H1(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.Ya(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.fa(e);if(!d)return"";var k;a||d.Ba||(k=Math.floor(this.getCurrentTime(e)));return this.app.g.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.ul=function(a,b,c){var d=g.ZV(this).A;d&&d.Ou(a,b,c)};
g.h.Pd=function(){var a=g.eW(this.app,1);if(!a)return!1;var b=a.g;return b.ed()&&!g.zQ(b)&&2!=this.Ya()&&(!pV(a)||3==this.Ya())};
g.h.zi=function(a,b){var c=this.app,d=g.eW(c,this.playerType);d&&c.g.Gc.has(a.toString())?d.D?(c=PR(d.D,"engage"),c.A=a,c.send(b)):b&&b():b&&b()};
g.h.Xf=function(a,b){G1(this.app,a,b)};
g.h.setVolume=function(a){a=g.$c(a,0,100);NJ(this.app,{volume:a,muted:this.Ke()},!0)};
g.h.mute=function(){NJ(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.Zf=function(){NJ(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};var Ana=1;g.D(g.HW,g.K);g.h=g.HW.prototype;g.h.Ga=function(a,b){g.t(b)?Id(a,this.element,b):a.appendChild(this.element)};
g.h.detach=function(){g.Jd(this.element)};
g.h.update=function(a){for(var b in a)this.Ea(b,a[b])};
g.h.Ea=function(a,b){var c=this.Ha["{{"+a+"}}"];c&&JW(this,c[0],c[1],b)};
g.h.W=function(){this.wa={};this.Ha={};this.detach();g.HW.Z.W.call(this)};g.D(g.Y,g.HW);g.h=g.Y.prototype;g.h.Zb=function(a,b){this.Ea(b||"content",a)};
g.h.show=function(){this.g||(g.KW(this.element,""),this.g=!0)};
g.h.hide=function(){this.g&&(g.KW(this.element,"none"),this.g=!1)};
g.h.U=function(a,b,c){return this.P(this.element,a,b,c)};
g.h.P=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.Ca=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.Xd(this.element);this.element.focus()};
g.h.W=function(){for(;this.ba.length;){var a=this.ba.pop();a.target.removeEventListener(a.type,a.listener)}g.Y.Z.W.call(this)};g.p(UW,g.tG);UW.prototype.dispose=function(){this.g.clear();g.tG.prototype.dispose.call(this)};
var VW=null;g.ua("ytads.bulleit.getVideoMetadata",function(a){a=WW().g.get(a);return null!=a?a.g():{}},void 0);
g.ua("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=WW();c=Bna(c);null!=c&&d.X(c,{queryId:a,viewabilityString:b})},void 0);var XW=null,ZW=null;g.ua("yt.www.ads.eventcache.getLastCompanionData",function(){return XW},void 0);
g.ua("yt.www.ads.eventcache.getLastPlaShelfData",function(){return ZW},void 0);g.D(g.bX,g.tG);g.h=g.bX.prototype;g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.sd=function(){return!0};
g.h.W=function(){this.loaded&&this.unload();g.bX.Z.W.call(this)};
g.h.LD=function(){return{}};g.D(cX,g.bX);g.h=cX.prototype;g.h.Qu=function(){return-1};
g.h.create=function(){this.C||(g.S(this.g.getRootNode(),this.ae+"-created"),this.J.P(this.g,"crn_"+this.ae,this.Bt),this.J.P(this.g,"crx_"+this.ae,this.Ct),this.C=!0)};
g.h.destroy=function(){g.Tp(this.g.getRootNode(),this.ae+"-created");g.sG(this.J);this.C=!1;this.X("destroyed",this.ae)};
g.h.Bt=function(){};
g.h.Ct=function(){};
g.h.Ru=function(){return null};
g.h.W=function(){this.C&&this.destroy();cX.Z.W.call(this)};g.D(g.gX,g.Y);g.gX.prototype.subscribe=function(a,b,c){return this.Y.subscribe(a,b,c)};
g.gX.prototype.unsubscribe=function(a,b,c){return this.Y.unsubscribe(a,b,c)};
g.gX.prototype.Wd=function(a){return this.Y.Wd(a)};
g.gX.prototype.X=function(a,b){return this.Y.X.apply(this.Y,arguments)};g.D(g.jX,g.K);g.h=g.jX.prototype;g.h.show=function(a){1!=this.g&&2!=this.g&&(3==this.g&&this.rp(),4==this.g?(this.o.show(),this.g=null,this.A.stop()):this.o.g||(kX(this,!0),this.g=1,a?this.A.start(a):this.rp()))};
g.h.hide=function(){3!=this.g&&(1==this.g||2==this.g?(this.o.hide(),this.g=null,this.A.stop()):this.o.g&&(kX(this,!0),this.g=3,this.A.start(this.B)))};
g.h.rp=function(){switch(this.g){case 1:this.o.show();this.g=2;this.A.start(10);break;case 2:kX(this,!1);this.g=null;break;case 3:this.o.hide();kX(this,!1);this.g=4;this.A.start(0);break;case 4:this.g=null}};
g.h.stop=function(){for(;null!=this.g&&4!=this.g;)this.A.stop(),this.rp()};
g.h.W=function(){this.o.la()||this.o.element.removeAttribute("aria-hidden");g.jX.Z.W.call(this)};var mX=(1E9*Math.random()>>>0).toString(),lX={};var oX=[2,5];var gZ=["vmap_enabled_ads_backend"];rX.prototype.g=function(a,b,c){a=a||gZ;(0,g.Hk)(a,function(a){return xX(this.o).experiments.g(a)},this)&&(a=c||{},a.cdp=1,a["var"]=b,a.sdkv="h.3.0",g.mW(this.o.g,"ad",a))};var BX=Error("Timed out while waiting for Biscotti ID");CX.prototype.C=function(){var a=DX(this);a.format="2_3";a.at="2_3";a.trsp="1";TY(this.g,3,a)};g.D(EX,g.K);EX.prototype.W=function(){this.g.reject();EX.Z.W.call(this)};
EX.prototype.D=function(){this.A++;var a=g.x("yt.www.watch.ads.isAfcAdVisible");a&&g.za(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 PX,GX=!1,JX=!1,FX=!1;g.GG("showCompanionAdLoaded",function(){JX&&(KX(),JX=!1)});
g.GG("watchAdsInit",function(){GX&&(GX=!1,HX())});g.D(RX,g.tG);RX.prototype.xf=function(){return this.adSystem+"_"+this.adType};
RX.prototype.ii=function(){return this.xf()};
RX.prototype.Lb=function(){return this.o?this.o.Lb():null};
RX.prototype.abort=g.y;g.D(TX,g.Y);TX.prototype.W=function(){TX.Z.W.call(this);g.Gd(UX(this));g.Gd(VX(this));this.A=this.o=null;delete this.B};g.D(aY,g.K);aY.prototype.start=function(){!this.la()&&(0,window.isNaN)(this.g)&&(this.A=(0,g.G)(),this.g=g.ug(this.C,this.B-this.o,this))};
aY.prototype.stop=function(){(0,window.isNaN)(this.g)||(this.A=this.o=0,g.vg(this.g),this.g=window.NaN)};
aY.prototype.pause=function(){(0,window.isNaN)(this.g)||(this.o=(0,g.G)()-this.A,g.vg(this.g),this.g=window.NaN)};
aY.prototype.W=function(){(0,window.isNaN)(this.g)||g.vg(this.g);aY.Z.W.call(this)};bY.prototype.getLength=function(){return this.g-this.o};Sna.prototype.update=function(a,b,c,d){this.width=b;this.A=c;this.C=d;this.g=b-c-d;this.position=g.$c(a,c,c+this.g);this.B=this.position-c;this.o=this.B/this.g};g.D(gY,RX);gY.g=15;g.h=gY.prototype;g.h.abort=function(){$X(this.C,13);this.O||this.o.destroy();this.D=this.G=!1;kY(this)};
g.h.xf=function(){var a=this.Lb();var b=oq(a);if(4==SX(b).A)return b;if(Yr(a))a=3;else if(a.isSkippable())a=Zr(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.ii=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){QX();wZ(this.g)&&LX(this.g,{});var a=this.g.g.app;CZ(a,fY(a,2));this.C.A=(0,g.VG)();this.F=this.g.getRootNode();this.B.subscribe("progresssync",this.WA,this);this.g.o.N&&g.Jd(g.I("video-ad-status-bar",this.F));g.Sp(this.F,["ad-showing","ad-interrupting"]);this.g.subscribe("resize",this.Su,this);try{this.A.U(this.o,"adError",this.ZU),this.A.U(this.o,"click",this.YU),this.A.U(this.o,"complete",this.bV),this.A.U(this.o,"engagedview",this.OP),this.A.U(this.o,"pause",this.UD),this.A.U(this.o,
"start",this.VD),this.A.U(this.o,"skip",this.dV),this.A.U(this.o,"MUTE_AD",this.abort),this.A.U(this.o,"skippableStateChanged",this.VR),this.A.U(this.o,"youTubeChannelMetadata",this.DQ),this.A.U(this.o,"companionInitialized",this.aV),wZ(this.g)&&this.A.U(this.o,"youtubeKevlarCompanionShow",this.fQ),this.A.U(UX(this.g.F),"mouseup",this.cV),this.Su(),this.O||this.o.start()}catch(b){lY(this,b)}this.g.o.B&&xX(this.g).experiments.g("ad_info_icon_in_card")&&zZ(this.g,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.XD=function(a,b,c){if("newdata"==a&&this.videoData!=c){a=new Nna;a.isSkippable=this.Y;a.isBumper=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.wF;a.skipShown=(0,g.A)(this.o.BC,this.o);if(b=this.Lb()){a.clickThroughUrl=js(b)||"";var d;(d=this.g.o.Aa)||(d=c.lengthSeconds,(b=Ls(b))?(sp(b,d),d=tp(b)):d=null);a.skipTime=d||0;a.adSystem=
this.adSystem;if(b=Una(this))a.whyThisAdInfo=b;if(d=Vna(this))a.muteAdInfo=d;var e=xX(this.g);this.g.o.B&&e.experiments.g("ad_info_icon_in_card")&&(e={showAdInfoIcon:!0},e.whyThisAdInfo=b,e.muteAdInfo=d,zZ(this.g,"onAdMetadataAvailable",e))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.fm()||"");c.spacecastModule=this.ba;jY(this.g,-1,a)}this.videoData=c};
g.h.WD=function(a){a=a.state;g.W(a,1)||this.I.pause();g.W(a,128)?lY(this,Error(a.g.message||"Video player error.")):g.W(a,1)&&this.I.start()};
g.h.VD=function(){this.L=!0;this.D=!1;if(!this.G){this.G=!0;var a=this.C;YX(a);var b=ZX(a);if((0,window.isNaN)(a.A))YX(a);else{var c=(0,g.VG)()-a.A;b.ad_stl=c}XX(a,4,b);Tna(this.g,1);iY(this,!1);this.J&&1!=this.J&&g.JP("yt_abt",this.J,"video_to_ad");this.videoData&&this.videoData.clientPlaybackNonce&&g.JP("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad");this.videoData&&this.videoData.videoId&&g.JP("ad_docid",this.videoData.videoId,"video_to_ad");g.JP("cpn",yX(this.g).clientPlaybackNonce,
"video_to_ad");g.IP("apbs",void 0,"video_to_ad");(a=g.U("ADS_INSTREAM_FIRST_PLAY"))&&zZ(this.g,"onAdAnnounce",a)}jY(this.g,1);this.X("adPlay",this)};
g.h.UD=function(){this.L&&(this.L=!1,jY(this.g,2))};
g.h.bV=function(){if(!this.D){var a=this.C;YX(a);var b=ZX(a),c=a.g.Kk();c?b.ad_fmt=c:YX(a);XX(a,5,b);xX(this.g).Hb&&zZ(this.g,"onAdComplete");kY(this);this.D=this.G=!1}};
g.h.OP=function(){var a=this.C;a.g.X("AD_LOGGING_EVENT",777,ZX(a))};
g.h.dV=function(){this.D=!0;var a=this.C,b=ZX(a),c=a.g.Kk();c?b.ad_fmt=c:YX(a);XX(a,14,b);xX(this.g).Hb&&zZ(this.g,"onAdSkip");kY(this)};
g.h.VR=function(){xX(this.g).experiments.g("html5_ad_no_buffer_abort_after_skippable")&&this.I.dispose();var a=g.U("ADS_INSTREAM_SKIPPABLE");a&&zZ(this.g,"onAdAnnounce",a)};
g.h.DQ=function(){var a;if(!this.la()&&(a=this.g.o)){var b=this.Lb();if(b){var c=b.O;b=b.ha;var d=xX(this.g),e=Una(this),f=Vna(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.B&&d.experiments.g("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,zZ(this.g,"onAdMetadataAvailable",a)):a.B&&d.experiments.g("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},a.whyThisAdInfo=
e,a.muteAdInfo=f,zZ(this.g,"onAdMetadataAvailable",a))}}};
g.h.aV=function(a){a=a.event;var b=a.g;b&&b instanceof g.Ff&&this.X("adCompanionInitialized",a.Mb(),b)};
g.h.fQ=function(a){wZ(this.g)&&(a=(a=a.event.Mb())&&a.I)&&LX(this.g,a)};
g.h.ZU=function(a){var b={};try{b.error_code=a.event.getError().Rb()}catch(c){b.error_code=900,b.error_message=c.toString()}$X(this.C,32,b);lY(this,a.event.getError())};
g.h.YU=function(){var a=this.C;YX(a);var b=ZX(a);if(a.o){var c=zX(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}XX(a,15,b);this.o.pause();this.X("select")};
g.h.WA=function(){};
g.h.RA=function(){this.o.rf();if(this.G&&!this.D){var a=this.C;a.g.X("AD_LOGGING_EVENT",19,ZX(a))}iY(this,!0)};
g.h.W=function(){this.g.unsubscribe("control_toggle_play_pause",this.YD,this);this.g.unsubscribe("control_play",this.It,this);this.g.unsubscribe("control_pause",this.Ht,this);this.g.unsubscribe("resize",this.Su,this);g.pG(this.A);this.B.unsubscribe("statechange",this.WD,this);this.B.unsubscribe("internalAbandon",this.RA,this);this.B.unsubscribe("internalvideodatachange",this.XD,this);this.B.unsubscribe("progresssync",this.WA,this);this.O||this.o.destroy();this.N&&(g.Gd(this.N),this.N=null);this.V&&
(g.Jd(this.V),this.V=null);this.F&&(g.Up(this.F,["ad-showing","ad-interrupting"]),this.F=null);this.D=!1;bpa(this.g);this.I.dispose();this.I=null;gY.Z.W.call(this)};
g.h.Cn=function(){return this.B.getDuration()};
g.h.Kk=function(){return this.videoData&&this.videoData.Na?this.videoData.Na.mimeType:null};
g.h.fm=function(){return this.videoData&&this.videoData.fg?this.videoData.fg.g().g:null};
g.h.YD=function(){this.L?this.Ht():this.It()};
g.h.It=function(){this.o.resume();this.VD()};
g.h.Ht=function(){this.o.pause();this.UD()};
g.h.Su=function(){g.Gh(UX(this.g.F),this.g.app.G.Xa())};
g.h.cV=function(a){g.t(a.g)||bG(a);var b=a.g;g.t(a.o)||bG(a);this.C.o=new g.dd(b,a.o)};g.D(oY,RX);g.h=oY.prototype;g.h.Cn=function(){};
g.h.Kk=function(){};
g.h.fm=function(){};
g.h.show=function(){if(!this.D||!IZ(this.g)){var a=this.g.getRootNode();g.S(a,"ad-showing");this.A=UX(this.g.F);a=this.o.Lb().getHeight();this.A.style.height=uh(a,!0);g.S(this.A,"ad-overlay");this.B.U(this.A,"mouseup",this.gV);try{this.B.U(this.o,"autoClose",this.UO),this.B.U(this.o,"userClose",this.pS),this.B.U(this.o,"userRecall",this.qS),this.B.U(this.o,"click",this.fV),this.B.U(this.o,"impression",this.cQ),this.B.U(this.o,"adError",this.eV),this.zc("normal"),this.F||this.o.start(),this.Tu(),this.g.subscribe("resize",
this.Gp,this),this.g.subscribe("presentingplayerstatechange",this.ZD,this),this.X("adEnd",this)}catch(b){this.X("adError",b)}}};
g.h.W=function(){var a=this.g.getRootNode();g.Up(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.pG(this.B);this.g.unsubscribe("resize",this.Gp,this);this.g.unsubscribe("presentingplayerstatechange",this.ZD,this);g.Tp(a,"ad-showing");this.o&&(this.F||this.o.destroy(),this.o=null);this.A&&g.Tp(this.A,"ad-overlay");this.A=null;this.D=!1;oY.Z.W.call(this)};
g.h.pS=function(){this.A&&this.o&&this.o.Lb()&&(this.A.style.height=uh(0,!0));this.D=!0;var a=this.C;a.o=(0,g.G)();var b=nY(a);mY(a,6,b);pY(this,!1)};
g.h.UO=function(){pY(this,!1)};
g.h.qS=function(){pY(this,!0)};
g.h.fV=function(){fZ(this.g);var a=this.C;a.o=(0,g.G)();var b=nY(a);if(a.A){var c=zX(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}mY(a,100,b)};
g.h.cQ=function(){var a=g.U("ADS_OVERLAY_IMPRESSION");a&&zZ(this.g,"onAdAnnounce",a);pY(this,!0)};
g.h.gV=function(a){this.C.A=a.target==a.currentTarget?null:new g.dd(a.pageX,a.pageY)};
g.h.eV=function(a){this.X("adError",a.event.getError())};
g.h.ZD=function(a){g.W(a.state,16)&&this.zc("normal")};
g.h.zc=function(a){this.G!=a&&(this.G=a)};
g.h.Gp=function(){};
g.h.Tu=function(){var a=this.C;a.B=(0,g.G)();var b=nY(a);mY(a,3,b)};g.D(qY,g.K);qY.o="rm";qY.g=10;qY.C=200;qY.A=200;qY.B=190;g.h=qY.prototype;
g.h.load=function(){var a=this.g.app.G.Xa();if(this.g.o.A)var b=!1;else b=0<(this.D&3)?190:200,b=200>a.width||a.height<b;if(b){b=this.A;var c=DX(b);c.ck_wh=a.width+"x"+a.height;yZ(b.g,14,c);QX();VY(this.C)}else if(this.ob=this.g.ob)a=this.A,TY(a.g,9,DX(a)),a=AX(this.g),(b=this.g.o.serverPrefetchedVast)&&0<(this.D&3)?(a.o=b,this.g.o.serverPrefetchedVast=void 0):a.g=this.bh(),this.ob.U("adsManagerLoaded",this.RD,!1,this),this.ob.U("adError",this.QD,!1,this),this.kC(this.ob,a)};
g.h.Vq=function(){var a=wX(this.g.o,xX(this.g),yX(this.g));a.surveyCreativeData=this.g.o.surveyCreativeData;a.xU=this.G;return a};
g.h.RD=function(a){if(a.A===this){g.IP("aml");g.IP("aml",void 0,"video_to_ad");try{var b=this.Vq();var c=a.g}catch(d){this.Ah(d);return}this.B.U(c,"companionBackfill",(0,g.A)(this.WU,this,c));this.B.U(c,"loaded",(0,g.A)(this.VU,this,c));this.B.U(c,"adError",(0,g.A)(this.UU,this,c));this.B.U(c,"allAdsCompleted",g.y);this.B.U(c,"contentPauseRequested",g.y);this.B.U(c,"contentResumeRequested",g.y);c=qA(a,this.g.G,{},b);try{c.init("normal")}catch(d){c.destroy(),this.Ah(d)}}};
g.h.VU=function(a,b){sm(this.B);var c=b.Mb(),d=c.Wb(),e=this.A,f=DX(e);f.ad_man=d?"instream":"overlay";TY(e.g,12,f);e=a.eh();switch(d?this.Tn(a,c,e):this.ni(a,c)){case 0:ooa(this.C,this.I,this.o);break;case 1:a.destroy();VY(this.C);break;case 2:c=this.A;yZ(c.g,21,DX(c));a.destroy();VY(this.C);break;case 3:VY(this.C);break;default:a.destroy()}};
g.h.UU=function(a,b){sm(this.B);a.destroy();this.Ah(b.getError())};
g.h.QD=function(a){var b=a.getError();"adLoadError"==b.Yb()&&a.g===this&&this.Ah(b)};
g.h.WU=function(){Xna(this)};
g.h.Tn=function(a,b,c){var d=yX(this.g)&&yX(this.g).spacecastModule;if(d&&c&&!this.J.test(c))return 3;sY(this,ls(b));rY(this,new gY(this.G,this.g,a,b.isSkippable(),b.isBumper(),void 0,d,this.o.g));return 0};
g.h.ni=function(a,b){sY(this,ls(b));rY(this,new oY(this.G,this.g,a));return 0};
g.h.Ah=function(a){if(a){var b=this.A,c=DX(b);a&&tX(a,c);yZ(b.g,32,c);VY(this.C)}};
g.h.W=function(){this.ob&&(this.ob.Ca("adsManagerLoaded",this.RD,!1,this),this.ob.Ca("adError",this.QD,!1,this));sm(this.L);sm(this.B);qY.Z.W.call(this)};
g.h.kC=function(a,b){try{wC(a,b,this),g.IP("ar"),g.IP("ar",void 0,"video_to_ad")}catch(c){this.Ah(c)}};g.D(tY,RX);g.h=tY.prototype;g.h.Cn=function(){};
g.h.Kk=function(){};
g.h.fm=function(){};
g.h.show=function(){wZ(this.g)?LX(this.g,{afcMpu:{logImpression:this.SD.bind(this),logNoAd:this.yr.bind(this)}}):FX?this.yr():(xX(this.g),HX(),MX(),NX().then((0,g.A)(this.SD,this),(0,g.A)(this.yr,this)))};
g.h.SD=function(){var a={};a.at=this.ii();a.format=this.xf();this.X("AD_LOGGING_EVENT",3,a);this.X("adEnd",this)};
g.h.yr=function(){var a={};a.at=this.ii();this.X("AD_LOGGING_EVENT",2,a);this.X("adEnd",this)};g.D(uY,qY);uY.prototype.Vq=function(){var a=uY.Z.Vq.call(this);a.mw=0==this.slotId;a.zH=IZ(this.g)?a.mw:!0;return a};
uY.prototype.bh=function(){var a=qX(this.o);var b=this.F;(b=4==this.D&&b.g.afvInvideoAdTag?b.g.afvInvideoAdTag:b.g.afvAdTag)?(g.Ka(b,"http:")&&(b=b.substr(5)),a=g.eF(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
uY.prototype.ni=function(a,b){if(this.g.o.A)return 1;if(1==this.o.g){var c=new pX(2,10);this.o=c;this.A.A=c;TY(this.g,1)}return uY.Z.ni.call(this,a,b)};g.D(vY,oY);vY.prototype.Gp=function(){};
vY.prototype.xf=function(){return"1_3"};
vY.prototype.Tu=function(){1==this.I?this.X("AD_LOGGING_EVENT",2,{}):vY.Z.Tu.call(this)};g.D(wY,qY);wY.prototype.bh=function(){var a=this.F,b=qX(this.o);if(0<(this.D&3)){var c="mid,"+a.hc;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");a=new g.Ul(a.g);b=a.g;var e=b.get("scp","");e=(e?e+"&":"").replace(RegExp("&?pos=[^&]*","g"),"");b.set("scp",e+("pos="+c));b.set("vpos",d);c=a.toString()}else c=a.g;return c};
wY.prototype.ni=function(a,b){sY(this,ls(b));var c=Vr(b);if(vX(c,"rm"))return 1==this.D||IZ(this.g)||QX(),a.Vj(),2;if(vX(c,"blockAllAds"))return a.Vj(),rY(this,new vY(this.g,a,1)),0;if(vX(c,"hideMaster"))return rY(this,new vY(this.g,a,0)),0;if(this.g.o.A)return 1;rY(this,new oY(this.G,this.g,a));return 0};g.D(xY,qY);xY.o="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";xY.A="43";xY.g=function(a){var b=new WD;g.iF(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,Gd:function(){var c=Error(a+" timed out");$D(b);YD(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);$D(b);YD(b,!1,c)},
Vb:function(a){b.vk(a)}});
return b};
xY.prototype.bh=function(){return""};
xY.prototype.kC=function(a,b){var c=this.D;c&1||c&4||c&8?this.F?c&8?Ina(this.F):("goo.gl"==g.Ig(this.F)?(c=xY.g("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.F),bE(c,function(a){a=g.yg(a.responseText);if(!a)throw Error("Invalid expanded forced ad URL.");if(!a.longUrl)throw Error("Missing forced ad URL information.");a=new g.Ul(a.longUrl);g.cm(a,"video_format","43");return xY.g(a.toString())},this)):c=xY.g(this.F),bE(c,function(c){b.o=c.responseText;
wC(a,b,this)},this),aE(c,null,this.Ah,this)):this.Ah(Error("Invalid empty URL")):this.Ah(Error("Invalid request type: "+c))};var zY=null;g.D(AY,g.Y);AY.prototype.clear=function(){for(var a=0;a<this.Ka.length;a++)this.Ka[a].detach(),g.af(this.Ka[a]);this.Ka=[]};
AY.prototype.F=function(a){g.nG(a);this.o=Math.max(0,this.o-BY(this));CY(this)};
AY.prototype.D=function(a){g.nG(a);this.o=Math.min(this.Ka.length-1,this.o+BY(this));CY(this)};g.D(goa,g.gX);g.D(FY,g.gX);g.h=FY.prototype;g.h.W=function(){FY.Z.W.call(this);this.clear()};
g.h.clear=function(){this.o.clear();this.A.stop()};
g.h.start=function(){this.A.start();this.ou()};
g.h.ou=function(){CY(this.o)};
g.h.SI=function(){this.D.start()};g.D(GY,RX);GY.prototype.Cn=function(){};
GY.prototype.Kk=function(){};
GY.prototype.fm=function(){};
GY.prototype.show=function(){var a=yX(this.g).videoId;if(a){var b=this.o.Lb();FN(xX(this.g).G,a,{Wh:Ss(b)||null,ek:Ts(b)||null});wZ(this.g)?(a=ioa(this),g.nb(a)||(a={shopText:yY(or(a[0],"teaser_text")),sponsoredText:yY(g.U("YTP_SPONSORED")),adInfoText:yY(g.U("YTP_SPONSORED_PRODUCT_INFO")),itemList:{horizontalListRenderer:{items:(0,g.J)(a,$na),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"}}}}}}},zZ(this.g,"onPlaShelfInfoCardsReady",a))):(a=ioa(this),g.nb(a)||(hoa(this.A,a),a=this.A.element,boa().then(g.Ga(coa,a)).then(this.A.start,null,this.A)));a={};a.format=this.xf();a.at=this.ii();uX(b,a);this.X("AD_LOGGING_EVENT",3,a)}};g.D(HY,qY);HY.prototype.bh=function(){return this.g.o.zb||""};
HY.prototype.ni=function(a,b){sY(this,ls(b));rY(this,new GY(this.g,a));5!=this.o.g&&Xna(this);return 0};
HY.prototype.Tn=function(){return 1};g.D(IY,HY);IY.prototype.bh=function(){return this.g.o.forceAdUrl||""};g.D(MY,oY);MY.prototype.Gp=function(){};
MY.prototype.xf=function(){return"4_3"};g.D(NY,qY);
NY.prototype.bh=function(){if(E(this.F)||0!=qX(this.o)){var a=this.N;if(a.g.ha&&a.g.ra){var b={};var c="youtube_watch_"+a.A;b.nw="10613";b.asnw=a.g.ha;b.ssnw=a.g.ha;b.caid=a.g.ra;b.vdur=a.D;b.csid=c;b.resp="vast2";b.metr="121";c={};(0,window.isNaN)(a.g.kb)||(c._fw_d_001=a.g.kb);a.g.gender&&(c._fw_d_002=a.g.gender);a.g.pa&&(c["_fwu:10613:lang"]=a.g.pa);a.g.na&&(c._fw_dbp=a.g.na);a.g.sa&&(c._fw_distributorvideoassetid=a.g.sa);c._fw_yt_type=loa(a)?"long":"short";b.prof=loa(a)?"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";
b.crtp="youtube";b.flag=JY(a.o)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.C&1&&!a.G){var e={};d=koa(a);if(LY(a.o)){if(LY(a.o)){var f=0;var k=a.B.A;if(k){k=k.Eb;for(var l=0;l<k.length&&(LY(k[l])&&f++,k[l].getId()!=a.o.getId());l++);}}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";a.g.D&&!a.g.o?d=";linear-skippable":!a.g.D&&a.g.o&&(d=";video");e.slau=koa(a)+d;e.tpos=KY(a.o)?a.D.toString():qX(a.o.Pb).toString();d=$E(e)+";";e={slid:"page_display1",w:"300",h:"60",ptgt:"s",slau:"display",
flag:"+cmpn"};d+=$E(e)+";"}a.C&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=JY(a.o)?"10":KY(a.o)?a.D.toString():qX(a.o.Pb).toString(),d+=$E(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=$E(e)+";");a.C&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=$E(e)+";");a=d.substr(0,d.length-1);b="//2975c.v.fwmrm.net/ad/g/1?"+$E(b)+";"+$E(c)+";"+a}else b=""}else b=this.F;return b};
NY.prototype.Tn=function(a,b){return NY.Z.Tn.call(this,a,b,null)};
NY.prototype.ni=function(a,b){var c=Vr(b);if(vX(c,"rm"))return this.C.C=g.dc(a),2;if(this.g.o.A)return 1;if(vX(c,"hideMaster")){if(a.Jd&&a.Jd.gi()){c=a.Jd.gi();var d=a.Lb();if(P.g()){var e=d.Y;d.Y=[];d=e}else d=[];c.impressionUrls=d}rY(this,new MY(this.g,a));return 0}return NY.Z.ni.call(this,a,b)};OY.prototype.Yb=function(){return this.o};
OY.prototype.create=function(a,b){switch(this.o){case 1:return new uY(a,b,this.g);case 2:return new wY(a,b,this.g);case 5:return new NY(a,b,this.g);case 4:return new xY(a,b);case 7:return new HY(a,b,this.g);case 8:return new IY(a,b,this.g);default:return null}};g.D(PY,g.tG);g.h=PY.prototype;g.h.Sb=function(){return"loaded"==this.B||"error"==this.B};
g.h.getId=function(){return this.ya};
g.h.show=function(){this.G?this.g instanceof oY&&this.g.zc("normal"):(this.G=!0,this.g instanceof gY&&this.A.pe("bs"),this.g.subscribe("adEnd",this.VA,this),this.g.subscribe("adError",this.ND,this),this.g.subscribe("AD_LOGGING_EVENT",this.PD,this),this.g.subscribe("select",this.MD,this),this.g.subscribe("adCompanionInitialized",this.OD,this),this.g.show(),poa(this,!0))};
g.h.VA=function(){this.o&&(WY(this),$oa(this.A));SY(this)};
g.h.ND=function(a){if(a){var b={};tX(a,b);UY(this,b);yZ(this.A,32,b)}WY(this);SY(this)};
g.h.PD=function(a,b){UY(this,b);TY(this.A,a,b)};
g.h.MD=function(){this.F=!1};
g.h.OD=function(a,b){this.X("adCompanionInitialized",a,b)};
g.h.W=function(){WY(this);this.g=null;null!=this.C&&(this.C.dispose(),this.C=null);PY.Z.W.call(this)};var voa=[new pX(1)];var xoa={XF:"m",yF:"f"};g.D(XY,g.K);XY.prototype.B=function(a){a=null!=a.Mb()?a.Mb().D:null;if(null!=a){var b=fY(this.C.g.app,2);b&&b.g.videoId==a?b.D?(b=b.D,a=PR(b,"engage"),a.A=1,b=uR(b.g),a=g.Ga(rma,a.na,MR(a),KR(a),b)):a=null:a=null;this.o=a}};
XY.prototype.A=function(){this.g&&this.o&&this.o()};g.D(YY,g.K);g.h=YY.prototype;g.h.SC=function(){this.g.subscribe("beginseeking",this.Xm,this)};
g.h.LC=function(a,b){return a.o&&LY(a)?b+this.B+this.A:b};
g.h.KC=function(a,b){return!a.o||KY(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.B+this.A};
g.h.iw=function(a){if(a.o&&LY(a)&&!(0>=this.A)){var b={priority:g.$R.lk,id:String(a.getId()),style:g.aS.jk},c=RY(a)+this.B;b=new g.bS(c,c+this.A-1,b);this.C[a.getId()]=b;dX(this.g,[b])}};
g.h.cE=function(a){a.o&&LY(a)&&(Aoa(this,a.getId()),this.Xm())};
g.h.Xm=function(){(0,window.isNaN)(this.o)||(g.TE(this.o),this.o=window.NaN);var a=BZ(this.g);ZY(this,a,this.g.app.J.getVolume()/100);VU(a,"transition","");VU(a,"opacity","1")};
g.h.dE=function(a){var b=RY(a)+this.B+this.A;b=50>=1E3*this.g.getCurrentTime(1)-b;a.o&&LY(a)&&b&&(a=.001*(RY(a)+this.F),dpa(this.g,a),0>=this.D||(a=BZ(this.g),VU(a,"opacity","0"),ZY(this,a,0),g.VE((0,g.A)(this.hV,this),0)))};
g.h.hV=function(){var a=BZ(this.g);VU(a,"transition","opacity "+String(this.D)+"ms linear");VU(a,"opacity","1");Boa(this,a,this.D,1)};
g.h.bE=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);ZY(this,a,d);this.o=0<d?LW((0,g.A)(this.bE,this,a,b,c),c):window.NaN}};
g.h.aE=function(a,b,c){if(!(0,window.isNaN)(this.o)){var d=Math.max(1,b-(0,g.G)()),e=this.g.app.J.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);ZY(this,a,d);this.o=d<e?LW((0,g.A)(this.aE,this,a,b,c),c):window.NaN}};
g.h.W=function(){this.Xm();this.g.unsubscribe("beginseeking",this.Xm,this);YY.Z.W.call(this)};g.D($Y,YY);g.h=$Y.prototype;g.h.SC=g.y;g.h.LC=function(a,b){return b};
g.h.KC=function(a,b){return b};
g.h.iw=g.y;g.h.cE=g.y;g.h.dE=g.y;g.h.W=g.y;g.D(aZ,g.K);aZ.prototype.A=function(){if(this.B){var a=this.g.o;if(null!=a&&(a=a.g,!(0>=a))){var b=this.g.g.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Ob(this.D.A,function(a){a.Sb();if(a.isVisible&&!(0>=cZ(this,a))){var f=a.getId();f=this.D.D[f];if(cZ(this,a)>b){var k=!dZ(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=cZ(this,a)-b,f<e&&(e=f,d=a))}else f.visible||(f.visible=!0,c.push(f))}},this);
0<c.length&&dX(this.g,c,1);if(d){var f=0;0<this.o&&(f=(0,g.G)()/1E3-this.o);Coa(this,a-f-e+2)}else bZ(this)}}};
aZ.prototype.W=function(){bZ(this);this.g.unsubscribe("endseeking",this.A,this);aZ.Z.W.call(this)};g.D(eZ,g.K);g.h=eZ.prototype;g.h.Jj=function(a){a.unsubscribe("adBreakComplete",this.Jj,this);a.unsubscribe("adCompanionInitialized",this.zt,this);this.O=g.VE((0,g.A)(this.vO,this,a),0)};
g.h.zt=function(a,b){g.af(this.J);this.J=new XY(this.o,b)};
g.h.vO=function(a){var b=Foa(this,a),c=b.previous;b=b.next;this.O=window.NaN;var d=!1;switch(a.Pb.g){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.ta(b.Pb.o)?RY(b)-1:0x7ffffffffffff}0==a.ya&&(this.o.pe("bl"),QY(a)||this.o.pe("fb"));"loaded"!=a.B||0==a.ya&&QY(a)&&b&&1E3*this.o.g.getCurrentTime()>=RY(b)?(c&&c.Sb()&&!d&&(b=e,e=RY(c),e>b&&(b=e),Hoa(this,c),Goa(this,c,b)),this.ai(a)):(this.A[a.getId()]=a,Goa(this,a,e),eX(this.o));g.Rb(this.A)==this.Eb.length&&this.C.A();
Doa(this)};
g.h.ai=function(a){a.unsubscribe("adBreakComplete",this.Jj,this);a.unsubscribe("adBreakComplete",this.Cl,this);this.g&&a==this.g&&(this.g=null,null!=this.J&&a.o&&(this.J.g=!0));Hoa(this,a);g.sb(this.Eb,a);delete this.A[a.getId()];g.af(a)};
g.h.hj=function(a){return this.A[a]};
g.h.Cl=function(a){a.unsubscribe("adBreakComplete",this.Cl,this);if(a.o){!KY(a)&&a.F?(FZ(this.o),this.B.dE(a)):QY(a)&&!a.F?FZ(this.o):DZ(this.o);this.ai(a);a=this.C.o;a={tfla:0<a?Math.floor((0,g.G)()/1E3-a):0};this.o.cj.g(gZ,"set_previous_ad_end_time",a);a=this.C;if(a.B){var b=a.g.o;b&&0<b.g&&(a.o=(0,g.G)()/1E3,a.A())}for(;!g.nb(this.N);)Ioa(this,this.N.shift())}else a.isVisible||this.ai(a)};
g.h.W=function(){g.TE(this.O);g.af(this.B);g.af(this.C);(0,g.H)(this.Eb,this.ai,this);g.af(this.J);eZ.Z.W.call(this)};g.D(hZ,eZ);g.h=hZ.prototype;g.h.hj=function(a){a=hZ.Z.hj.call(this,a);if(!a)return null;if(!a.I)return a;var b=null;if(this.F.length){var c=b=this.F.shift();c.Pb=a.Pb;c.ya=a.getId()}b&&"loaded"==b.B?(a.unsubscribe("adBreakComplete",this.Jj,this),this.A[a.getId()]=b,this.Eb[this.Eb.indexOf(a)]=b,g.af(a)):(this.Mj(),b&&(g.af(b),b=null,this.ai(a)));b&&!b.o&&this.Mj();return b};
g.h.Jj=function(a){!JY(a)&&(2!=a.Pb.g||10!=qX(a.Pb))||"loaded"==a.B&&a.o||this.Mj();hZ.Z.Jj.call(this,a)};
g.h.Cl=function(a){a.o&&10<this.V?(iZ(this),this.Y=g.VE((0,g.A)(this.Mj,this),1E3*(this.V-10))):this.Mj();hZ.Z.Cl.call(this,a)};
g.h.Mj=function(){if(!this.la())for(iZ(this);this.I.length&&this.L.length+this.F.length<this.ba;){var a=this.I.shift();a.subscribe("adBreakComplete",this.UA,this);this.L.push(a);VY(a)}};
g.h.UA=function(a){a.unsubscribe("adBreakComplete",this.UA,this);g.sb(this.L,a);this.F.push(a)};
g.h.W=function(){iZ(this);g.H(this.L,g.af);g.H(this.F,g.af);g.H(this.I,g.af);hZ.Z.W.call(this)};g.D(jZ,eZ);jZ.prototype.ea=function(a){"loaded"==a.B&&this.I.push(a);a.unsubscribe("adBreakComplete",this.ea,this)};
jZ.prototype.V=function(){if(null!=this.g&&0<this.I.length){var a=this.I.shift();delete this.A[qX(a.Pb)];var b=Math.floor((0,g.G)()/1E3)-this.da;this.da=null;a.unsubscribe("adBreakComplete",this.V,this);this.ai(a);this.g=null}0<this.L?(this.L--,Joa(this)):(FZ(this.Y),(0,window.isFinite)(b)&&(this.ba?qV(this.F,window.Infinity,!0):qV(this.F,this.F.getCurrentTime()+b,!0)))};g.D(kZ,g.K);kZ.prototype.F=function(){this.g||(this.g=Loa(this.B.Ve()));dX(this.o,g.Tb(this.g),1)};
kZ.prototype.A=function(){if(this.g){var a=this.o.g.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.H)(this.B.Ve(),function(e){var f=this.g[e];if(f){var k=this.B.hj(e);k&&k.Ac>a?(e=!this.kd.o(k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.Ac-a,f<d&&(d=f,c=k))):!k||k.wb()?(g.uW(this.o.g,[f],void 0),delete this.g[e]):!f.visible&&k&&(f.visible=!0,b.push(f))}},this);
0<b.length&&dX(this.o,b,1);var e=this.o.o;if(null!=e&&(e=e.g,0>=e))if(c){var f=0;0<this.D&&(f=(0,g.G)()/1E3-this.D);Moa(this,e-f-d+2)}else lZ(this)}};
kZ.prototype.W=function(){this.o.unsubscribe("endseeking",this.A,this);lZ(this);kZ.Z.W.call(this)};g.D(mZ,g.K);g.h=mZ.prototype;g.h.Sx=function(){return 4};
g.h.lp=function(a){return a};
g.h.cC=function(){return!1};
g.h.jw=g.y;g.h.gm=g.y;g.h.eE=g.y;g.h.fE=g.y;g.h.gE=g.y;g.D(nZ,g.K);g.h=nZ.prototype;g.h.Sx=function(){return 4-this.B/1E3};
g.h.lp=function(a){return Xb(this.A,1E3*a)?this.A[1E3*a]/1E3:a};
g.h.cC=function(a){var b=!1,c={};(0,g.H)(g.Nd(a),(0,g.A)(function(a){var d;if(d=(d=a.getAttribute("timeOffset"))?Noa(d):null)b=b||Ooa(a),c[d]=a},this));
if(!b||0==g.Rb(c))return!1;a=(0,g.J)(g.Ub(c),function(a){return(0,window.parseInt)(a,10)});
if(!Roa(this,a))return!1;g.Ob(c,(0,g.A)(function(a,b){var c=(0,window.parseInt)(Yb(this.A,function(a){return a==b}),10);
c&&a.setAttribute("timeOffset",Poa(c))},this));
return!0};
g.h.jw=function(a){if(!(0>=this.J)){var b=[];(0,g.H)(a,(0,g.A)(function(a){if(Xb(this.A,1E3*a)){var c=new g.bS(1E3*this.lp(a)+this.B,1E3*a+500,{priority:g.$R.lk,id:String(a),style:g.aS.jk});this.C[a]=c;b.push(c)}},this));
dX(this.g,b)}};
g.h.eE=function(a){if(Xb(this.A,1E3*a)){var b=BZ(this.g);null!==b&&(a=Math.max(0,1E3*a-1E3*this.g.getCurrentTime(1)),VU(b,"transition","opacity "+String(a)+"ms linear"),VU(b,"opacity","0"),Soa(this,b,a,0))}};
g.h.fE=function(a){oZ(this,1E3*a)&&(this.C[a]&&(g.uW(this.g.g,[this.C[a]],void 0),delete this.C[a]),this.gm())};
g.h.mE=function(){g.W(g.fW(this.g.g),4)&&this.gm()};
g.h.gm=function(){var a=BZ(this.g);null!==a&&(null!=this.o&&(g.TE(this.o),this.o=null),pZ(this,a,this.g.app.J.getVolume()/100),VU(a,"transition",""),VU(a,"opacity","1"))};
g.h.gE=function(a){if(Xb(this.A,1E3*a)){var b=1E3*a;200>=1E3*this.g.getCurrentTime(1)-b&&(dpa(this.g,this.lp(a)+this.I/1E3),0>=this.D||(a=BZ(this.g),null!==a&&(VU(a,"opacity","0"),pZ(this,a,0),null!=this.o&&g.TE(this.o),this.o=LW((0,g.A)(this.oV,this),0))))}};
g.h.oV=function(){var a=BZ(this.g);null!==a&&(VU(a,"transition","opacity "+String(this.D)+"ms linear"),VU(a,"opacity","1"),Soa(this,a,this.D,1))};
g.h.lE=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);pZ(this,a,d);0<d?this.o=LW((0,g.A)(this.lE,this,a,b,c),c):this.o=null}};
g.h.kE=function(a,b,c){if(null!==this.o){var d=Math.max(1,b-(0,g.G)()),e=this.g.app.J.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);pZ(this,a,d);d<e?this.o=LW((0,g.A)(this.kE,this,a,b,c),c):this.o=null}};
g.h.W=function(){this.gm();this.g.unsubscribe("applicationplayerstatechange",this.mE,this);nZ.Z.W.call(this)};g.D(qZ,g.K);var Zoa={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=qZ.prototype;
g.h.load=function(a){if(this.ob=this.g.ob){var b=this.g.o;this.D=b.applyFadeOnMidrolls?new nZ(this.g):new mZ;var c=AX(this.g);c.o=Uoa(this,a);if(c.o){c.containerElement=this.g.G.D;c.qc.TSLA=Hna(this);c.qc.GET_MIDROLL_POSITION_IN_SEC=(0,g.A)(this.D.lp,this.D);c.qc.DESCRIPTION_URL="http://www.youtube.com/video/"+yX(this.g).videoId;if(a=qoa(b).get(3)){var d="";a&2&&a&1?d="video":a&2?d="skippablevideo":a&1&&(d="standardvideo");a&4&&(d&&(d+="_"),d+="text_image_flash");c.A=d;if(b=b.Ha)c.G=b}this.ob.U("adsManagerLoaded",
this.iE,!1,this);this.ob.U("adError",this.hE,!1,this);wC(this.ob,c,this);this.g.pe("bd")}}};
g.h.iE=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.fa().lengthSeconds},this),
enumerable:!0});try{var c=Voa(this);this.o=qA(a,this.g.G,b,c)}catch(d){sZ(this,d);return}if(this.kd=this.o.FC(b,this.g.o.g)){this.D.jw(this.o.Ve());this.F=new kZ(this.g,this.o,this.kd);g.L(this,this.F);g.VE((0,g.A)(this.F.F,this.F),0);g.lb(this.o.Ve(),0)||rZ(this);this.C.U(this.o,"companionBackfill",(0,g.A)(this.lV,this));this.C.U(this.o,"prefetched",(0,g.A)(this.AO,this));this.C.U(this.o,"loaded",(0,g.A)(this.jV,this));this.C.U(this.o,"adError",(0,g.A)(this.iV,this),!1);this.C.U(this.o,"start",(0,g.A)(this.kV,
this));this.C.U(this.o,"complete",(0,g.A)(this.xO,this));this.C.U(this.o,"adNotify",(0,g.A)(this.Dl,this));this.C.U(this.o,"discardAdNotify",(0,g.A)(this.Fl,this));this.C.U(this.o,"companionInitialized",(0,g.A)(this.mV,this));this.C.U(this.o,"contentPauseRequested",(0,g.A)(this.Bh,this));this.C.U(this.o,"contentResumeRequested",(0,g.A)(this.ag,this));this.C.U(this.o,"allAdsCompleted",g.y);this.J.P(this.g.g,"applicationplayerstatechange",this.nV);try{this.o.init("normal"),this.o.start()}catch(d){this.g.cj.g(gZ,
"vmap_ads_manager_init_exception",void 0),this.o.destroy(),this.o=null,sZ(this,d)}}}};
g.h.nV=function(){if(g.W(g.fW(this.g.g),16)||g.W(g.fW(this.g.g),32)){var a=this.o;null!=a.Qb&&(a=a.Qb,a.o.stop(),a.A=!1)}else a=this.o,null!=a.Qb&&xz(a.Qb)};
g.h.mV=function(a){if(a=a.g)g.af(this.G),this.G=new XY(this.g,a)};
g.h.Bh=function(a){tZ(this);if((this.A=a.Mb())&&this.A.Wb()){a=uZ(this.A);var b=this.A.C.o;b=0==b?1:0<b?2:-1==b?3:0;this.B=new gY(a,this.g,this.o,this.A.isSkippable(),this.A.isBumper(),!0,void 0,b);Xoa(this,this.B);1!=b&&UP("video_to_ad",["apbs"]);a=this.g;a.L=!0;a.B||fZ(a);this.D.fE(this.A.C.o);this.B.show();Woa(this,"show_instream_ads")}};
g.h.ag=function(a){rZ(this);this.g.getCurrentTime(1)<this.g.g.fa().lengthSeconds&&(FZ(this.g),this.A&&this.A.Wb()&&(this.D.gE(this.A.C.o),null!=this.G&&(this.G.g=!0)));a=a.Mb();var b=tC(this.o);b&&b.N&&b.wb()?this.A=null:!a&&this.B instanceof tY||tZ(this);var c=!0;if(a&&a!==this.A&&!a.Wb()){if(b&&b.N&&!b.wb()){b=this.F;null!=b.g[0]&&(c=b.g[0],delete b.g[0],b.g[0]=new g.bS(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,dX(b.o,[c,b.g[0]],1),dX(b.o,[b.g[0]]));this.A=a;return}c=Vr(a);b=uZ(a);vX(c,"blockAllAds")?
(this.o.Vj(),this.B=new vY(this.g,this.o,1,!0),c=!1):vX(c,"hideMaster")&&14!=b?(this.B=new vY(this.g,this.o,0,!0),c=!1):(c=this.o,14==b?(this.B=new GY(this.g,c),5!=tC(this.o).af()&&Yoa(this,a)):this.B=new oY(b,this.g,c,!0),this.B.show(),c=!0)}this.A&&this.A.Wb()&&$oa(this.g);this.A&&this.A.Wb()?(Woa(this,"set_previous_ad_end_time"),b=this.kd,0<b.A&&(b.g=(0,g.G)()/1E3),b=this.F,b.D=(0,g.G)()/1E3,b.A()):a&&a!==this.A&&!a.Wb()&&c&&(b=this.F,b.D=(0,g.G)()/1E3,b.A());this.F.F();this.A=a};
g.h.kV=function(a){(a=a.Mb())&&this.B&&(a=uZ(a),this.B.adSystem=a)};
g.h.xO=function(a){a.Mb().Wb()||this.A!==a.Mb()||(tZ(this),this.A=null)};
g.h.Dl=function(a){null!=a.g&&(a=a.g.adBreakTime,null!=a&&this.g.g.X("adnotify",a))};
g.h.Fl=function(){this.g.g.X("discardadnotify")};
g.h.AO=function(a){var b=a.Mb();if(null!=b){var c=a.g.adBreakTime;this.N[c]=b;this.L||(this.g.pe("bl"),0==c&&a.Mb().Wb()||this.g.pe("fb"),this.L=!0)}};
g.h.jV=function(a){null!=a.Mb()&&(a.Mb().Wb()&&this.g.pe("bs"),a.Mb().C.B||a.Mb().Wb()||rZ(this))};
g.h.iV=function(a){sZ(this,a.getError())};
g.h.hE=function(a){var b=a.getError();"adLoadError"==b.Yb()&&a.g===this&&sZ(this,b)};
g.h.lV=function(a){Yoa(this,a&&a.Mb())};
g.h.W=function(){tZ(this);this.ob&&(this.ob.Ca("adsManagerLoaded",this.iE,!1,this),this.ob.Ca("adError",this.hE,!1,this));sm(this.O);sm(this.C);g.sG(this.J);this.I=!1;this.o&&(this.o.destroy(),this.o=null);g.af(this.D);g.af(this.G);qZ.Z.W.call(this)};
g.h.jE=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.af(),d.sst=a.Ac,d.sidx=0),TY(this.g,c,d)};g.p(vZ,g.Y);vZ.prototype.Dl=function(a){this.C=-1==a?this.T.getDuration():a;this.o||(this.o=this.P(this.T,"progresssync",this.B));this.B();this.A.show()};
vZ.prototype.Fl=function(){this.o&&(this.Ca(this.o),this.o=null);this.A.hide()};
vZ.prototype.B=function(){var a=this.T.getCurrentTime();a=Math.ceil(this.C-a);0<a?this.Zb(g.U("YTP_AD_NOTIFICATION",{X_SECONDS:a})):this.A.hide()};g.D(xZ,cX);xZ.A=10;xZ.o=1E3;xZ.g="livead";g.h=xZ.prototype;
g.h.create=function(){xZ.Z.create.call(this);this.I.P(this.g,"beginseeking",(0,g.A)(this.X,this,"beginseeking"));this.I.P(this.g,"endseeking",(0,g.A)(this.X,this,"endseeking"));this.I.P(this.g,"resize",(0,g.A)(this.X,this,"resize"));this.I.P(this.g,"presentingplayerstatechange",(0,g.A)(this.X,this,"presentingplayerstatechange"));this.I.P(this.g,"webglsettingschanged",(0,g.A)(this.X,this,"webglsettingschanged"));if(wZ(this)){var a=MJ(this.app.T);a.addEventListener("updatekevlarcompanion",YW);a.addEventListener("onPlaShelfInfoCardsReady",
$W);window.addEventListener("yt-navigate-start",aX)}this.pe("i");a=this.g.fa().Xb||{};this.o=new zoa(xX(this),a);this.D=new Koa(this,this.g);this.V=!1;if(this.ob)this.ob.g.B.B=Mn();else{a=this.o.N?void 0:VX(this.F);var b=new XR(this.app,2);this.G=new mA(UX(this.F),void 0,a,MJ(b),!0);this.G.setSize(-1,-1);this.ob=new vC(this.G)}if(this.o.vmap&&!this.o.aa){this.B=new qZ(this);try{this.B.load(this.o.vmap)}catch(c){g.PE(c),this.cj.g(gZ,"vmap_load_exception",{err_msg:c.toString()}),this.B.dispose(),this.B=
null,cpa(this,uoa(new soa(this)))}}else cpa(this,uoa(new soa(this)));this.D&&(this.N=this.app.A.g,this.N.subscribe("cuepointupdated",this.iB,this),a=AZ(this),null!=a&&(a.F=g.eW(this.app)),a={},a.allowed=this.D.o,fX(this,{},a))};
g.h.destroy=function(){this.L&&DZ(this);this.app.g.experiments.g("disable_new_pause_state3")||g.vW(this.g,this.ae,void 0);bpa(this);g.bf(this.A,this.aa,this.B);this.aa=this.A=null;this.N.unsubscribe("cuepointupdated",this.iB,this);this.D=this.o=this.B=this.N=null;JX=GX=FX=!1;MX();this.C&&xZ.Z.destroy.call(this);if(wZ(this)){var a=MJ(this.app.T);a.removeEventListener("updatekevlarcompanion",YW);a.removeEventListener("onPlaShelfInfoCardsReady",$W);window.removeEventListener("yt-navigate-start",aX);
XW=null}};
g.h.isFullscreen=function(){return this.g.isFullscreen()||this.o.C};
g.h.Ru=function(){if(this.D){var a=this.D;var b={allowed:a.o};a.g.excludedAds&&(b.ex_ad=a.g.excludedAds);a.A&&(b.at=a.A);a=b}else a=xZ.Z.Ru.call(this);return a};
g.h.getRootNode=function(){return this.g.getRootNode()};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.Qu=function(){return this.O};
g.h.Bt=function(a){xZ.Z.Bt.call(this,a);var b=(0,window.parseInt)(a.getId(),10);if(this.A&&!(0,window.isNaN)(b))if(a.style==g.aS.jk){var c=this.A,d=c.hj(b);if(d&&!dZ(c.C,d)&&(c=c.B,d.o)){var e=BZ(c.g);d=Math.max(0,RY(d)+c.B+c.A-1E3*c.g.getCurrentTime(1));VU(e,"transition","opacity "+String(d)+"ms linear");VU(e,"opacity","0");Boa(c,e,d,0)}}else Ioa(this.A,b);this.B&&!(0,window.isNaN)(b)&&(a.style==g.aS.jk?(d=this.B,(c=d.N[b])&&c.Wb()&&d.D.eE(b)):0>b&&(b=this.ob.g,d=new Gm("contentComplete"),b.dispatchEvent(d),
d.A&&(Rm(Om(),420706009)||b.B.clear(),null!=b.o&&(d=b.o.gi(),null!=d&&EA(d,b.B.g)))));if("livead"===a.getId()&&null!=AZ(this)){b=AZ(this);for(a=Math.floor(a.start/1E3);g.t(b.A[a]);)a++;d=b.ga++;c=0==a?new pX(1):new pX(2,a);e=b.Y;var f=roa(b.Y.o,c.g);d=new PY(e,d,c,f,!1);b.A[a]=d;d.subscribe("adBreakComplete",b.ea,b);VY(d)}};
g.h.Ct=function(a){xZ.Z.Ct.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 oY&&b.g.zc("fullscreen"));this.B&&a.style==g.aS.jk&&this.B.D.gm();"livead"===a.getId()&&null!=AZ(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.uW(this.g,[a],1),Joa(AZ(this)))};
g.h.pe=function(a){var b=a;"nl"==a&&(a=this.D,a.C++,b=a.C.toString());this.ba[b]=(0,g.G)();"bs"!=b&&"fb"!=b||fX(this,this.ba,this.Y)};
g.h.iB=function(a){var b=AZ(this);if(null!=b&&null!=b.F){var c=AZ(this).F.getCurrentTime();(0,g.H)(a,function(a){0!=c&&a.Qe>c&&(a=new g.bS(1E3*Math.floor(c+Math.random()*Math.max(a.Qe-10-c,0)),1E3*a.Qe,{id:"livead",priority:g.$R.lk}),dX(this,[a],1))},this)}};
g.h.TD=function(a){switch(a){case "addata":var b=this.o;return{adTag:b.adTag,adTest:b.Ib,forceAdType:b.forceAdType,isAfvSkippableInstreamEnabled:b.O,isAfvStandardInstreamEnabled:b.V,isBlazer:b.B,isDoubleClickEnabled:b.ba,isForcedAd:b.aa,isFreeWheelEnabled:b.ea,isHouseBrandPlayer:b.tc,isLeanback:b.C,isShortform:b.ib,tagForChildDirected:b.tagForChildDirected};case "adstate":return this.Qu();case "midrollfreqcap":if(this.B)return b=this.o.g,null!=b?b:0;b=this.A instanceof hZ?this.A:null;return null!=
b?b.V:0;case "breakscount":return this.B?(b=this.B,b=null!=b.o?b.o.Ve().length:0):b=this.A?this.A.Eb.length:0,b;case "displaystate":return b=null,this.A&&this.A.g&&(b=this.A.g.g),{adFormat:b instanceof RX?b.adType:!1,adSkipped:b instanceof gY?b.D:!1,hasVideoStarted:b instanceof gY?b.G:!1,skippable:b instanceof gY?b.Y:!1};case "getContentVideoData":return b=yX(this),{adModule:b.adModule,partnerTrackingToken:b.Il,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.XU=function(){return"addata adstate breakscount displaystate getContentVideoData loadedadbreaks midrollfreqcap".split(" ")};
g.h.sd=function(){return!1};g.D(JZ,g.K);g.h=JZ.prototype;g.h.ax=function(){if(!this.g){var a=this.ax;if("lb3"==g.X(this.T).g)var b=!1;else b=this.T.fa(),b=b.Vm||b.captionTracks.length||b.Ba&&b.ua&&null!=b.ua.g.en?!0:!1;(a=KZ(this,"captions",a,b))&&!this.g&&(this.g=a,a.bA()&&a.load(),this.T.za("onApiChange"))}};
g.h.Ww=function(){this.I=this.I||KZ(this,"endscreen",this.Ww,g.fpa(this))};
g.h.fx=function(){this.B||(this.B=KZ(this,"webgl",this.fx,g.gpa(this)));this.B&&!this.B.loaded&&this.B.load()};
g.h.hx=function(){this.O=this.O||KZ(this,"ypc",this.hx,g.yQ(this.T.fa(),"ypc_module"))};
g.h.gx=function(){this.V=this.V||KZ(this,"ypc_clickwrap",this.gx,g.yQ(this.T.fa(),"ypc_clickwrap_module"))};
g.h.Zw=function(){this.N=this.N||KZ(this,"spacecast",this.Zw,this.T.fa().spacecastModule)};
g.h.Yw=function(){this.L=this.L||KZ(this,"heartbeat",this.Yw,g.yQ(this.T.fa(),"ypc_license_checker_module"))};
g.h.Uw=function(){if(!this.A){var a=this.Uw;var b=g.X(this.T);if("3"==b.B)b=!1;else if(b.G.isEmpty()&&"annotation-editor"!=b.g&&"live-dashboard"!=b.g){var c=this.T.fa();b=b.experiments.g("disable_new_iv_module_create_logic")?g.yQ(c,"iv3_module"):!!c.Df}else b=!0;if(this.A=KZ(this,"annotations_module",a,b)){a=this.A;for(var d in this.aa)a.subscribe(d,this.aa[d]);this.T.za("onApiChange")}}};
g.h.Xw=function(){this.D=this.D||KZ(this,"fresca",this.Xw,g.yQ(this.T.fa(),"fresca_module"))};
g.h.Hq=function(){this.J||(this.J=KZ(this,"remote",this.Hq,g.X(this.T).Jb))&&this.J.create()};
g.h.bx=function(){this.C||(this.C=KZ(this,"unplugged",this.bx,g.X(this.T).Ha))&&this.C.init()};
g.h.Vw=function(){if(!this.G){var a=this.Vw;var b=g.X(this.T);"3"==b.B?b=!1:"creator-endscreen-editor"==b.g?b=!0:(b=this.T.fa(),b=!!b&&!!g.CQ(b));(this.G=KZ(this,"creatorendscreen",a,b))&&this.T.za("onApiChange")}};
g.h.W=function(){JZ.Z.W.call(this);LZ(this,!0)};g.D(MZ,g.Y);MZ.B="(max-width: 656px)";MZ.A="(min-width: 657px)";MZ.o="(min-width: 1294px) and (min-height: 630px)";MZ.g="(min-width: 1720px) and (min-height: 980px)";g.h=MZ.prototype;g.h.BJ=function(){this.D=new g.ah(0,0,0,0);this.B=new g.ah(0,0,0,0)};
g.h.Vu=function(a){g.Sp(this.element,arguments)};
g.h.og=function(){if(this.o){var a=this.Xa();if(!a.isEmpty()){var b=!g.hd(a,g.eh(this.B)),c=NZ(this);b&&(this.B.width=a.width,this.B.height=a.height);a=this.app.g;(c||b||a.pa)&&this.app.o.X("resize",this.Xa())}}};
g.h.sV=function(a,b){lpa(this,b)};
g.h.tV=function(a){a.g&&lpa(this,a.g)};
g.h.Xa=function(){var a=this.app.g,b=this.app.g.experiments.g("legacy_cougar_fullscreen_optimization")?g.YF()==this.element:this.app.J.isFullscreen();if(b&&oF())return new g.gd(window.outerWidth,window.outerHeight);if(b||a.Cm){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.C&&this.C.media==a||(this.C=window.matchMedia(a));var c=this.C&&this.C.matches}if(c)return new g.gd(window.innerWidth,window.innerHeight)}else if(this.O&&!this.app.na)for(a=
0;a<this.O.length;a++)if(b=this.O[a],b.query.matches)return new g.gd(b.size.width,b.size.height);return new g.gd(this.element.clientWidth,this.element.clientHeight)};
g.h.XI=function(){this.o&&hY(this);(this.app.g.experiments.g("player_state_change_resize_killswitch")||SZ(this)!=this.J)&&this.og()};
g.h.uV=function(){hY(this)};
g.h.W=function(){this.A&&(this.A.disconnect(),this.A=null);this.G&&g.HG(this.G);this.o=null;MZ.Z.W.call(this)};g.D(TZ,g.tG);g.h=TZ.prototype;g.h.pV=function(a){a=iG(a);if(!ed(a,this.C)){var b=2;this.F&&(b|=8);this.C=a;this.kc(b,!0)}};
g.h.lO=function(){this.F&&this.kc(8,!0);this.kc(2,!1)};
g.h.Uu=function(a){var b=iG(a);ed(b,this.C)||(this.C=b,(a=g.gG(a))&&this.V(a)&&(this.kc(4,!0),this.g.Ca(this.B),this.B=this.g.P(this.A,"mouseover",this.qE),this.L=this.g.P(this.A,"mouseout",this.qE)))};
g.h.qE=function(a){a=jG(a);a&&this.V(a)||(this.C=new g.dd(window.NaN,window.NaN),npa(this))};
g.h.JK=function(){this.kc(1,!0)};
g.h.lI=function(a){a=g.gG(a);a instanceof window.Element&&!(0<a.tabIndex)||this.kc(1,!0)};
g.h.pE=function(){this.F=!0;this.g.Ca(this.D);this.D=this.g.P(window.document,"mouseup",this.qV)};
g.h.qV=function(){this.F=!1;this.kc(8,!1);this.g.Ca(this.D);this.D=this.g.P(this.A,"mousedown",this.pE)};
g.h.rE=function(a){if(a=a.changedTouches[0])this.Y=a.identifier,this.g.Ca(this.G),this.G=this.g.P(this.A,"touchend",this.rV,void 0,!0),this.kc(1024,!0)};
g.h.rV=function(a){for(var b,c=0;c<a.changedTouches.length;c++){var d=a.changedTouches[c];if(d.identifier==this.Y){b=d;break}}b&&(this.g.Ca(this.G),this.G=this.g.P(this.A,"touchstart",this.rE,void 0,!0),this.kc(1024,!1))};
g.h.kc=function(a,b){var c=!this.o;b?(this.o|=a,a&1&&this.I.start(),a&2&&this.J.start()):(this.o&=~a,a&1&&this.I.stop(),a&2&&this.J.stop(),a&512&&this.N.stop());this.o&512&&!(this.o&128)&&this.N.gc(this.O);var d=!this.o;c!=d&&this.X("autohideupdate",d)};g.D(UZ,g.Y);UZ.prototype.show=function(){UZ.Z.show.call(this);this.L()};
UZ.prototype.L=function(){var a=1-1/1.5;this.B=(this.B+this.I)%(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.o.isActive()||this.F.gc()};
UZ.prototype.hide=function(){this.o.stop();this.F.stop();UZ.Z.hide.call(this)};g.D(YZ,g.Y);var Isa=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;YZ.prototype.show=function(){YZ.Z.show.call(this);ZZ(this,function(a){a.show()})};
YZ.prototype.hide=function(){YZ.Z.hide.call(this);ZZ(this,function(a){a.hide()})};
YZ.prototype.C=function(a){if(g.WZ(a,this.o,!uO(g.X(this.o)))){a={as3:!1,html5:!0,player:!0,cpn:this.o.fa().clientPlaybackNonce};var b=this.o;b.za("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&g.iW(b)}};g.va(a_);var t1=g.x("yt.player.utils.VideoTagPool.instance")||a_.getInstance();g.ua("yt.player.utils.VideoTagPool.instance",t1,void 0);g.h=a_.prototype;g.h.Dx=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)wpa(this)}};
g.h.yI=function(a,b){if(this.g.length)return this.g.pop();var c=wpa(this,a,b);a||g.sb(this.g,c);return c};
g.h.nT=function(a){if(a&&g.lb(this.o,a)){a.src&&(mN&&0<a.readyState&&(a.currentTime=Math.max(Gsa,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.o&&(a.g&&a.g.dispose(),a.g=null));for(var b in cG)cG[b][0]==a&&g.fG(b);g.sb(this.o,a);g.sb(this.A,a)}};
g.h.CJ=function(a){return this.g.length>=(a||1)};
g.h.sH=function(){for(var a=this.A.length-1;0<=a;a--)c_(this,this.A[a]);this.g.length==this.o.length&&4<=this.g.length||(4>this.o.length?this.Dx(4):(this.g=[],(0,g.H)(this.o,function(a){c_(this,a)},this)))};
a_.prototype.fillPool=a_.prototype.Dx;a_.prototype.getTag=a_.prototype.yI;a_.prototype.releaseTag=a_.prototype.nT;a_.prototype.hasTags=a_.prototype.CJ;a_.prototype.activateTags=a_.prototype.sH;g.D(d_,g.Y);g.D(f_,g.Y);f_.prototype.show=function(){f_.Z.show.call(this);this.G()};
f_.prototype.hide=function(){f_.Z.hide.call(this);this.F.stop()};
f_.prototype.G=function(){var a=g.eW(this.o),b=x1(this.o),c=this.o.o,d=c.app.D.oa(),e=this.o.g,f=a.ir(),k=XU(a.ba,"bandwidth"),l=8*g.eb(k)/1024,m=XU(a.ba,"networkactivity"),n=g.eb(m)/1024,q=b.Ba,r=XU(a.ba,"livelatency"),w=g.eb(r),z=XU(a.ba,"bufferhealth"),B=g.eb(z);if(120<w||0>w)w="Uncertain";else{if(b.latencyClass&&"UNKNOWN"!=b.latencyClass)switch(b.latencyClass){case "NORMAL":var C="Optimized for Normal Latency";break;case "LOW":C="Optimized for Low Latency";break;case "ULTRALOW":C="Optimized for Ultra Low Latency";
break;default:C="Unknown Latency Setting"}else C=b.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";w=w.toFixed(1)+" s, "+C}a.G?(C=a.G.g,C=C.g+" / "+C.o,wJ(JU,wV(a))&&(C+=", SD only")):C="";var N=g.vO(),da=vQ(b,a.getCurrentTime());da=da?da.sequence:window.NaN;c=g.lW(c).infopanel;var Ea=b.videoId,Ba=b.clientPlaybackNonce,Ca=b.clientPlaybackNonce?"":"display:none";f=f.totalVideoFrames?""+(f.droppedVideoFrames||0)+"/"+f.totalVideoFrames:"-";var Me=a.B?a.B.Aa:"",Za;
a:{if(b.Lh&&(Za=b.Lh.match(/url=(https?)/))&&2==Za.length){Za=Za[1];break a}Za=""}d={video_id:Ea,cpn:Ba,cpn_style:Ca,mime:"",dash:"no",dropped_frames:f,stream_host:Me,stream_type:Za||e.ga,dimensions:d.clientWidth+" x "+d.clientHeight+(1<N?" * "+N:""),resolution:d.videoWidth+" x "+d.videoHeight,volume:Math.round(this.o.J.getVolume())+"%",relative_loudness:b.relativeLoudness.toFixed(1)+" db",bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:B.toFixed(1)+" s",live_latency_style:q?"":"display:none",
live_latency_message:w,drm_style:C?"":"display:none",drm:C,sequence_number:da,sequence_number_style:"display:none",network_activity_bytes:n.toFixed(0)+" KB",shader_info:c,shader_info_style:c?"":"display:none"};b.Na&&(e=oJ(b.Na)?"yes":"no",e+=" ("+kJ(b.Na),b.yd&&oJ(b.Na)&&(e+="/"+kJ(b.yd)),e+=")",b.pd()&&(e+=" Manifestless"),d.dash=e,d.mime=b.Na.mimeType,e=b.Na.video.fps,1<e&&(d.resolution+="@"+e),b.Na.video.g||b.Na.video.primaries?(e=b.Na.video.g||"unknown","smpte2084"==e?e+=" (PQ)":"arib-std-b67"==
e&&(e+=" (HLG)"),d.color=e+" / "+(b.Na.video.primaries||"unknown"),d.color_style=""):d.color_style="display:none");(a=tV(a))&&a.video&&(d.optimal_resolution=a.video.width+" x "+a.video.height,1<a.video.fps&&(d.optimal_resolution+="@"+a.video.fps));e_(this.A,k);e_(this.D,m);e_(this.C,r);e_(this.B,z);this.update(d);this.F.start()};g.D(g_,g.K);g_.prototype.get=function(a){var b=g.gb(this.o,function(b){return b[0]==a});
return b?b[1]:null};
g_.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])}};
g_.prototype.remove=function(a,b){if(b&&this.g){var c=this.get(a);if(c)this.g(c);else return}tb(this.o,function(b){return b[0]==a})};
g_.prototype.W=function(){this.g&&(0,g.H)(this.o,function(a){this.g(a[1])},this)};g.p(i_,g.K);i_.prototype.A=function(a){this.g=a[a.length-1].intersectionRatio};
i_.prototype.W=function(){g.K.prototype.W.call(this);this.g=null;this.o&&this.o.disconnect()};g.p(j_,g.Y);j_.prototype.show=function(){g.Y.prototype.show.call(this);this.o.gc()};
j_.prototype.hide=function(){this.A.stop();g.Y.prototype.hide.call(this)};g.p(n_,g.Y);g.h=n_.prototype;g.h.show=function(){this.g||(this.C.P(this.o,"videodatachange",this.A.gc,this.A),this.C.P(this.o,"videoplayerreset",this.A.gc,this.A));g.Y.prototype.show.call(this)};
g.h.hide=function(){this.C&&g.sG(this.C);g.Y.prototype.hide.call(this)};
g.h.oN=function(a){var b=g.X(this.o);b.experiments.g("disable_new_pause_state3")&&uO(b)&&(a=oR(a.state)&&!oR(a.g)||hW(this.o)&&g.W(a.state,2),g.oh(this.element,"transition-delay",a?"2s":""));this.A.gc()};
g.h.NS=function(){this.A.gc()};
g.h.nN=function(){this.B.stop();this.hide();this.A.gc()};
g.h.sA=function(){var a=g.fW(this.o);if(3==this.o.Ya()&&(a.wb()||g.W(a,4)))var b=!0;else(b=g.ZV(this.o).O)&&b.QT()?b=!0:(b=g.X(this.o),b=g.W(a,2)&&aW(this.o)&&b.sa?!0:!1);b?(b=!0,window.document.activeElement==this.jl&&this.o.getRootNode().focus(),this.jl.style.display="none"):(this.jl.style.display="",oR(a)?b=!0:(b=!g.X(this.o).experiments.g("disable_new_pause_state3"),b=!g.W(a,2)||aW(this.o)||b&&g.S1(this.o.app)?!1:!0));b?(this.B.show(),this.iU(this.o.Wf(),this.o.fa())):(this.B.hide(),g.W(a,1)||
this.B.stop())};
g.h.iU=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c=g.X(this.o);b=g.ma(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,!(!d||d instanceof g.eQ&&!d.videoId)){var e=g.gW(this.o).Xa();var f=g.vO(),k=e.width*f;f*=e.height;if(1280<k||720<f)if(e=d.bc(c,"maxresdefault.jpg"))break;if(c.experiments.g("enable_popular_thumbnail_size_serving_for_embeds")){if(854<k||480<f)if(e=d.bc(c,"hq720.jpg")||d.bc(c,"maxresdefault.jpg"))break;if(640<k||360<f)if(e=d.bc(c,"pop2.jpg"))break;
if(560<k||315<f)if(e=d.bc(c,"sddefault.jpg"))break;if(480<k||270<f)if(e=d.bc(c,"pop1.jpg"))break}if(640<k||480<f)if(e=d.bc(c,"maxresdefault.jpg"))break;if(c.experiments.g("enable_embed_quality_improvement")){if(480<k||360<f)if(e=d.bc(c,"sddefault.jpg"))break;if(320<k||180<f)if(e=d.bc(c,"hqdefault.jpg"))break;if(120<k||90<f)if(e=d.bc(c,"mqdefault.jpg"))break}if(320<k||180<f)if(e=d.bc(c,"sddefault.jpg")||d.bc(c,"hqdefault.jpg")||d.bc(c,"mqdefault.jpg"))break;if(e=d.bc(c,"default.jpg"))break}this.D.style.backgroundImage=
e?"url("+e+")":""};g.p(p_,g.qG);p_.prototype.C=function(){this.B();var a=g.X(this.T),b=this.T.fa(),c=[];a.I||c.push({src:b.bc(a,"mqdefault.jpg"),sizes:"320x180"});this.g.metadata=new window.MediaMetadata({title:b.title,artist:b.author,artwork:c});a=hW(this.T);this.o.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.A)(function(){k_(this.A,BE(),g.U("YTP_NEXT"));this.T.Ej()},this),c=(0,g.A)(function(){ypa(this.A);
this.T.rl()},this)),o_(this,"nexttrack",b),o_(this,"previoustrack",c))};
p_.prototype.B=function(){var a=g.fW(this.T);a=a.isError()?"none":nR(a)?"playing":"paused";this.g.playbackState=a};
p_.prototype.W=function(){this.g.playbackState="none";this.g.metadata=null;for(var a=g.ma(this.o),b=a.next();!b.done;b=a.next())o_(this,b.value,null);g.qG.prototype.W.call(this)};g.p(q_,g.Y);q_.prototype.N=function(a,b){zpa(this,b);this.D&&Apa(this,this.D)};
q_.prototype.L=function(a){var b=this.T.fa();this.A!=b.videoId&&zpa(this,b);this.o&&Apa(this,a.state);this.D=a.state};
q_.prototype.J=function(){this.C.hide();this.A&&(this.B[this.A]=(this.B[this.A]||0)+((0,g.G)()-this.G));this.G=0};g.p(s_,g.Y);s_.prototype.hide=function(){this.o.stop();this.B.style.display="none";g.Y.prototype.hide.call(this)};
s_.prototype.C=function(a){r_(this,a.state)};
s_.prototype.D=function(){r_(this,g.fW(this.A))};
s_.prototype.F=function(){this.B.style.display="block"};g.p(t_,g.gX);g.h=t_.prototype;g.h.show=function(){var a=u_(this);g.gX.prototype.show.call(this);this.aa&&(this.I.P(window,"blur",this.Ub),this.I.P(window.document,"click",this.IN));a||this.X("show",!0)};
g.h.hide=function(){var a=u_(this);g.gX.prototype.hide.call(this);Bpa(this);a&&this.X("show",!1)};
g.h.Le=function(a,b){this.C=a;this.L.show();b?(this.J||(this.J=this.I.P(this.T,"appresize",this.lw)),this.lw()):this.J&&(this.I.Ca(this.J),this.J=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.Rd(a,window.document.activeElement)&&this.focus())};
g.h.lw=function(){Fqa(g.ZV(this.T).F,this.element,this.C)};
g.h.Ub=function(){var a=u_(this);Bpa(this);this.L.hide();a&&this.X("show",!1)};
g.h.Jh=function(a,b){u_(this)?this.Ub():this.Le(a,b)};
g.h.IN=function(a){var b=kG(a);b&&(g.Rd(this.element,b)||this.C&&g.Rd(this.C,b)||!g.iX(a))||this.Ub()};g.p(v_,t_);v_.prototype.D=function(a){a?(Cpa(this),this.Le()):this.Ub()};
v_.prototype.onClick=function(){this.A||(this.A=!0,g.mW(this.o,"mutedAutoplayClick",{videoPlayedSeconds:this.o.getCurrentTime()-this.o.fa().Vy}));this.o.Zf()};g.p(w_,g.qG);g.h=w_.prototype;g.h.init=function(){var a=g.fW(this.g);this.bp(a);this.Si();this.Bb()};
g.h.oA=function(a,b){if(this.Aa!=b.videoId){this.Aa=b.videoId;var c=this.B;c.O=b&&0<b.Uh.length?5E3:3E3;c.kc(512,!0);this.Si()}};
g.h.hR=function(){this.oA(0,this.g.fa())};
g.h.Zj=function(){var a=g.oW(this.g)&&g.pW(this.g);(a=this.sa||a)||(a=g.ZV(this.g).D,a=!!a&&a.sM());return a||this.bb||this.g.app.Gc};
g.h.Kg=function(){var a=!this.Zj();g.T(this.g.getRootNode(),"ytp-menu-shown",!a)};
g.h.gN=function(a){if(!g.Rd(this.g.getRootNode(),a))return!1;for(;a&&!g.Xd(a);)a=a==this.g.getRootNode()?null:g.Qd(a);return!!a};
g.h.wt=function(a){var b=this.g.getRootNode();g.T(b,"ytp-autohide",a);a&&(this.J=!1,g.Tp(b,"ytp-touch-mode"));b=this.g;a=!a;b.za("onVideoAreaChange");b.za(a?"onShowControls":"onHideControls")};
g.h.KR=function(a){if(oR(g.fW(this.g))&&!g.X(this.g).Ma){var b=this.g.fa();b.videoId&&this.g.Qz(BQ(b))}this.B.o||x_(this,kG(a))||u_(this.Y)||(g.fW(this.g),g.nG(a));this.J=!0;g.S(this.g.getRootNode(),"ytp-touch-mode");this.B.kc(2,!0)};
g.h.GR=function(a){g.iX(a)&&u_(this.Y)?(this.Y.onClick(),2==this.g.Ya()&&this.g.Sd()):x_(this,kG(a))||(this.B.kc(2,!0),g.iX(a)&&(this.qn()?g.nG(a):(a=g.fW(this.g),g.W(a,2)&&aW(this.g)||l_(this.D,!nR(a)),g.X(this.g).Aa&&!oR(a)?this.da.isActive()?(this.D.hide(),this.da.stop()):this.da.start():this.pA())))};
g.h.pA=function(){var a=g.fW(this.g);g.W(a,2)&&aW(this.g)||(nR(a)?this.g.qd():this.g.Sd())};
g.h.HR=function(a){x_(this,kG(a))||3!=this.g.Ya()&&g.iW(this.g)};
g.h.IR=function(a){Dpa(this,.3,a.scale);g.nG(a)};
g.h.JR=function(a){Dpa(this,.1,a.scale)};
g.h.Bb=function(){var a=this.ge(),b=g.gW(this.g).Xa(),c=this.g.isFullscreen(),d=this.g.getRootNode();g.X(this.g).experiments.g("autohide_resize_killswitch")||g.pF&&npa(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.F&&rpa(this.F,b)};
g.h.lR=function(a){this.bp(a.state);this.Si()};
g.h.Si=function(){var a=2==this.g.Ya(),b=!0;if(a){b=g.ZV(this.g).o;var c;if(c=x1(b.app).isListed)b=b.o,c=null!=b.J&&null!=Be(b.J,1)&&null!=Be(Oe(b.J),4)&&Be(Ee(Oe(b.J),Te,4),1)?!1:!0;b=c}c=g.X(this.g);var d=c.experiments.g("embed_show_infobar_on_playback")&&c.A&&!c.F&&5==this.g.app.O;a=!!this.Aa&&!g.$V(this.g)&&(a?b:c.gd||this.g.isFullscreen()||d);this.L!=a&&(this.L=a,g.T(this.g.getRootNode(),"ytp-hide-info-bar",!a))};
g.h.bp=function(a){var b=oR(a);b!=this.Jb&&(this.Jb=b,this.Za&&this.Ca(this.Za),this.Za=this.P(g.gW(this.g),"touchstart",this.KR,void 0,b));this.B.kc(128,!(a.wb()&&!g.W(a,32)||qW(this.g)));var c=3==this.g.Ya();this.B.kc(256,c);c=this.g.getRootNode();if(g.W(a,2))var d=["ended-mode"];else d=[],g.W(a,8)?d.push("playing-mode"):g.W(a,4)&&d.push("paused-mode"),g.W(a,1)&&!g.W(a,32)&&d.push("buffering-mode"),g.W(a,32)&&d.push("seeking-mode"),g.W(a,64)&&d.push("unstarted-mode");g.Gb(this.na,d)||(g.Up(c,this.na),
this.na=d,g.Sp(c,d));d=g.X(this.g);var e=g.W(a,2);g.T(c,"ytp-hide-controls",("3"==d.B?!e:"1"!=d.B)||b);g.T(c,"ytp-native-controls","3"==d.B&&!b&&!e);if(g.W(a,128)){this.F||(this.F=new YZ(this.g),g.L(this,this.F),g.zW(this.g,this.F.element,4));b=this.F;a=a.g;for(c=0;c<b.B.length;c++)b.Ca(b.B[c]);b.B=[];c=a.messageKey;d=g.X(b.o);"play"!=d.g||"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=c&&"YTP_ERROR_UNSUPPORTED_DEVICE"!=c||(c="YTP_HTML5_FLASH_DEPRECATED");if("YTP_ERROR_GENERIC_WITHOUT_LINK"!=c||d.tc)if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=
c||d.tc)if("YTP_HTML5_FLASH_DEPRECATED"==c)b.Zb($Z(b,c,"//support.google.com/googleplay/answer/2844198#movies",!1,!0,"YTP_ERROR_VIDEO_UNAVAILABLE"));else{a=a.message.split(Isa);c=[];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({H:"br"}),c.push(e[f]);d<a.length&&c.push({H:"a",R:{href:a[d],target:a[d+1]},K:[a[d+2]]})}b.Zb({H:"span",K:c})}else b.Zb($Z(b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//"+oO(d)+"/html5"));else if(b.Zb($Z(b,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN",
"//support.google.com/youtube/?p=player_error1",!0)),d.pa&&!d.A)for(a=(0,g.A)(b.C,b),d=b.element.getElementsByTagName("a"),e=0;e<d.length;e++)c=b.P(d[e],"click",a),b.B.push(c);this.F.show()}else this.F&&(this.F.dispose(),this.F=null)};
g.h.qn=function(){return g.oW(this.g)&&g.pW(this.g)?(this.g.ul(!1,!1),!0):g.$V(this.g)?(g.bW(this.g,!0),!0):!1};
g.h.hN=function(a){this.bb=a;this.Kg()};
g.h.ge=function(){return!1};g.D(y_,g.gX);y_.prototype.B=function(){var a=this.A.vh();a=dY(new bY(a.seekableStart,a.seekableEnd),a.current,0);this.D.style.width=100*a+"%"};
y_.prototype.C=function(){g.bO(g.X(this.A))||(2==this.A.Ya()?this.o||(this.show(),this.o=this.P(this.A,"progresssync",this.B),this.B()):this.o&&(this.hide(),this.Ca(this.o),this.o=null))};g.p(A_,g.Y);A_.prototype.W=function(){this.o&&this.o();g.Y.prototype.W.call(this)};
A_.prototype.F=function(){g.IG("iv-button-mouseover")};
A_.prototype.D=function(a){g.oW(this.T);var b=g.Rp(this.T.getRootNode(),"ytp-cards-teaser-shown");g.IG("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.T.ul(!g.pW(this.T),a,g.EY.Zv)};g.p(C_,g.Y);g.h=C_.prototype;g.h.oD=function(){g.oW(this.T)&&g.pW(this.T)&&this.g&&3!=this.C.g&&this.yl()};
g.h.jN=function(){this.yl();g.IG("iv-teaser-clicked",!!this.o);this.T.ul(!0,!1,g.EY.Zv)};
g.h.iN=function(){g.IG("iv-teaser-mouseover");this.o&&this.o.stop()};
g.h.cS=function(a){this.o||!a||g.pW(this.T)||this.A&&this.A.isActive()||(Epa(this,a),g.IG("iv-teaser-shown"))};
g.h.qA=function(){this.G.stop();this.o&&this.o.isActive()&&this.I.start()};
g.h.Ch=function(){this.I.stop();this.o&&!this.o.isActive()&&this.G.start()};
g.h.LQ=function(){this.o&&this.o.stop()};
g.h.JQ=function(){this.yl()};
g.h.yl=function(){!this.o||this.B&&this.B.isActive()||(this.C.hide(),g.Tp(this.T.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.Ft(function(){for(var a=g.ma(this.D),b=a.next();!b.done;b=a.next())this.Ca(b.value);this.D=[];this.o&&(this.o.dispose(),this.o=null);z_(this.F,!0)},330,this),this.B.start())};
g.h.W=function(){var a=this.T.getRootNode();a&&g.Tp(a,"ytp-cards-teaser-shown");g.bf(this.A,this.B,this.o);g.Y.prototype.W.call(this)};g.p(g.E_,g.gX);g.E_.prototype.Ea=function(a,b){g.gX.prototype.Ea.call(this,a,b);this.X("size-change")};g.p(G_,g.gX);G_.prototype.da=function(){this.X("size-change")};
G_.prototype.focus=function(){this.O.focus()};
G_.prototype.ga=function(){this.X("back")};g.p(g.H_,G_);g.H_.prototype.V=function(){this.F.X("size-change")};
g.H_.prototype.focus=function(){for(var a=0,b=0;b<this.Ka.length;b++)if("true"==this.Ka[b].element.getAttribute("aria-checked")){a=b;break}this.Ka[a].focus()};g.p(g.J_,t_);g.h=g.J_.prototype;g.h.show=function(){t_.prototype.show.call(this);this.Vl()};
g.h.hide=function(){t_.prototype.hide.call(this);1<this.o.length&&g.N_(this)};
g.h.Vl=function(){Jpa(this);this.g&&(Ipa(this),g.Gh(this.element,this.size))};
g.h.Pe=function(){var a=this.o.pop(),b=K_(this);L_(this,a,b,!0)};
g.h.ST=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.Tp(b.element,"ytp-panel-animate-back")):(g.S(a.element,"ytp-panel-animate-back"),g.Tp(b.element,"ytp-panel-animate-forward"));g.Gh(this.element,this.size);this.D=new g.Ft(g.Ga(this.HO,a,b),250,this);this.D.start()};
g.h.HO=function(a){g.Tp(this.element,"ytp-popup-animating");a.detach();g.Up(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.D.dispose();this.D=null};
g.h.AN=function(a){if(!g.lG(a))switch(g.hG(a)){case 27:this.Ub();g.nG(a);break;case 37:1<this.o.length&&this.Pe();g.nG(a);break;case 39:g.nG(a)}};
g.h.focus=function(){K_(this).focus()};
g.h.W=function(){t_.prototype.W.call(this);this.F&&this.F.dispose();this.D&&this.D.dispose()};g.p(O_,g.E_);O_.prototype.o=function(a){g.lG(a)||39!=g.hG(a)||(this.element.click(),g.nG(a))};g.p(Q_,g.E_);Q_.prototype.I=function(){R_(this,!this.o);this.X("select",this.o)};
Q_.prototype.getValue=function(){return this.o};g.p(T_,g.H_);g.h=T_.prototype;g.h.AP=function(){MW(this.G.element)};
g.h.UP=function(){U_(this,this.T.nl(!0))&&k_(this.L.D,rE())};
g.h.VP=function(){U_(this,this.T.Jz())&&k_(this.L.D,g.pE?{H:"div",ca:["ytp-icon","ytp-icon-code"]}:{H:"svg",R:{height:"100%",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",R:{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.DW(this.T,this.o.element);S_("EMBED",this.T.fa().videoId,this.T.getPlaylistId()||void 0)};
g.h.YP=function(){U_(this,this.T.getVideoUrl(!0,!0))&&k_(this.L.D,AE());g.DW(this.T,this.B.element);S_("COPY_PASTE",this.T.fa().videoId,this.T.getPlaylistId()||void 0)};
g.h.XP=function(){U_(this,this.T.getVideoUrl(!1,!0))&&k_(this.L.D,AE());g.DW(this.T,this.A.element);S_("COPY_PASTE",this.T.fa().videoId,this.T.getPlaylistId()||void 0)};
g.h.pQ=function(a){R_(this.D,a)};
g.h.qQ=function(){var a=this.D.getValue();Vqa(this.T.app,a);this.J.Ub();g.DW(this.T,this.D.element)};
g.h.zR=function(a){var b=g.eW(this.T.app);b&&b.Cj(new g.CO("feedback",!1,{gpu:lV()}));if(g.WZ(a,this.T,!uO(g.X(this.T)))){a=this.T;b=b={as3:!1,html5:!0,player:!0};var c=a.Zx();c.debug_error&&(b.player_error=c.debug_error.errorCode,b.player_error_details=c.debug_error.errorDetail);b.debug_text=a.nl(!0);a.za("onFeedbackStartRequest",b);a.isFullscreen()&&g.iW(a)}this.J.Ub()};
g.h.TR=function(){this.T.Nz();this.J.Ub()};
g.h.lN=function(a,b){Lpa(this,b)};g.p(V_,g.J_);g.h=V_.prototype;g.h.show=function(){this.G||(this.G=new T_(this.A,this.V,this),g.L(this,this.G),g.M_(this,this.G));g.J_.prototype.show.call(this);g.EW(this.A,this.element,!0);Mpa(this.G,!0)};
g.h.hide=function(){Npa(this);g.J_.prototype.hide.call(this);g.EW(this.A,this.element,!1);this.G&&Mpa(this.G,!1)};
g.h.zP=function(a){var b=kG(a);this.g||b&&(g.Zd(b,"a")||g.$d(b,"ytp-no-contextmenu"))||(g.nG(a),Opa(this),this.element.style.left="",this.element.style.top="",a=iG(a),a.x++,a.y++,this.Le(),b=g.Ah(window.document.body),a=g.wD(a,this.size,0,void 0,b,5),g.vh(this.element,g.fh(a.rect)),g.sG(this.B),this.B.P(window.document,"contextmenu",this.IP),this.B.P(this.A,"fullscreentoggled",this.mN),this.B.P(this.A,"pageTransition",this.XQ))};
g.h.IP=function(a){g.lG(a)||g.Rd(this.element,kG(a))||this.Ub()};
g.h.mN=function(){this.Ub();Opa(this)};
g.h.XQ=function(){this.Ub()};var X2,Jsa;X2=[{option:g.N2.cq,message:"YTP_COLOR_WHITE"},{option:g.N2.iH,message:"YTP_COLOR_YELLOW"},{option:g.N2.DF,message:"YTP_COLOR_GREEN"},{option:g.N2.mF,message:"YTP_COLOR_CYAN"},{option:g.N2.LE,message:"YTP_COLOR_BLUE"},{option:g.N2.VF,message:"YTP_COLOR_MAGENTA"},{option:g.N2.Bv,message:"YTP_COLOR_RED"},{option:g.N2.Kp,message:"YTP_COLOR_BLACK"}];Jsa=[{option:0,text:"0%"},{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}];
g.X_=[{option:"fontFamily",message:"YTP_FONT_FAMILY",options:[{option:g.O2.uv,message:"YTP_FONT_FAMILY_MONO_SERIF"},{option:g.O2.Av,message:"YTP_FONT_FAMILY_PROP_SERIF"},{option:g.O2.tv,message:"YTP_FONT_FAMILY_MONO_SANS"},{option:g.O2.Wp,message:"YTP_FONT_FAMILY_PROP_SANS"},{option:g.O2.CASUAL,message:"YTP_FONT_FAMILY_CASUAL"},{option:g.O2.CURSIVE,message:"YTP_FONT_FAMILY_CURSIVE"},{option:g.O2.Zp,message:"YTP_FONT_FAMILY_SMALL_CAPS"}]},{option:"color",message:"YTP_FONT_COLOR",options:X2},{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:X2},{option:"backgroundOpacity",message:"YTP_BACKGROUND_OPACITY",options:Jsa},{option:"windowColor",message:"YTP_WINDOW_COLOR",options:X2},{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:Jsa},{option:"charEdgeStyle",message:"YTP_CHAR_EDGE_STYLE",
options:[{option:g.M2.NONE,message:"YTP_EDGE_STYLE_NONE"},{option:g.M2.DROP_SHADOW,message:"YTP_EDGE_STYLE_DROP_SHADOW"},{option:g.M2.RAISED,message:"YTP_EDGE_STYLE_RAISED"},{option:g.M2.DEPRESSED,message:"YTP_EDGE_STYLE_DEPRESSED"},{option:g.M2.Yv,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(W_,g.qG);g.h=W_.prototype;
g.h.my=function(a){var b=!1,c=g.hG(a),d=kG(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.X(this.g);g.lG(a)?(e=!1,k=!0):l.Ng&&(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.ZV(this.g).B)&&e&&!f&&d.A&&d.A.g)switch(c){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=d.A.iy(c)}l.tc||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.A+=f,0=="awesome".indexOf(this.A)?(f=!0,7==this.A.length&&g.Wp(this.g.getRootNode(),
"ytp-color-party")):(this.A=f,f=0=="awesome".indexOf(this.A)));if(e&&!f){switch(c){case 32:k=!nR(g.fW(this.g));l_(this.o,k);k?this.g.Sd():this.g.qd();k=f=!0;break;case 37:this.g.Pd()&&(k_(this.o,HE()),this.g.he(-5*this.g.Uc()),k=f=!0);break;case 39:this.g.Pd()&&(k_(this.o,zE()),this.g.he(5*this.g.Uc()),k=f=!0);break;case 38:k=Math.min(this.g.getVolume()+5,100);m_(this.o,k,!1);this.g.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.g.getVolume()-5,0);m_(this.o,k,!0);this.g.setVolume(k);k=f=!0;break;
case 27:this.D()&&(k=f=!0);break;case 36:this.g.uc(0);k=f=!0;break;case 35:this.g.uc(window.Infinity),k=f=!0}if("3"!=l.B)switch(c){case 67:g.ZV(this.g).g&&(k=this.g.yc("captions","track"),(f=g.ZV(this.g).g)&&f.cD(),f=this.o,k=k&&k.displayName?g.U("YTP_SUBTITLES_OFF"):g.U("YTP_SUBTITLES_ON"),k_(f,yE(),k),k=f=!0);break;case 79:Y_(this,"textOpacity")&&(f=!0);break;case 87:Y_(this,"windowOpacity")&&(f=!0);break;case 187:Y_(this,"fontSizeIncrement",!1,!0)&&(f=!0);break;case 189:Y_(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.vh(),this.g.uc(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.Zt(!0);(b||k)&&this.C.kc(2,!0);(f||e&&Qpa(this,c,a.shiftKey))&&g.nG(a);l.Hb&&(a={keyCode:g.hG(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.lG(a),fullscreen:this.g.isFullscreen()},this.g.za("onKeyPress",a))};
g.h.oy=function(a){a=g.hG(a);var b=g.ZV(this.g).B;b&&b.A&&b.A.g&&b.A.ky(a);9==a&&this.Zt(!0)};
g.h.Zt=function(a){g.T(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.T(this.F.element,"ytp-probably-keyboard-focus",a)};
g.h.uA=function(a){g.ZV(this.g).g&&this.g.Ed("captions","sampleSubtitles",a)};
g.h.W=function(){g.Ht(this.B);g.qG.prototype.W.call(this)};g.p($_,g.Y);g.h=$_.prototype;g.h.hide=function(){g.Tp(this.o.getRootNode(),"ytp-expand-pause-overlay");g.Y.prototype.hide.call(this)};
g.h.jP=function(){this.V=!0;g.Tp(this.o.getRootNode(),"ytp-expand-pause-overlay");this.G.focus()};
g.h.lP=function(){this.V=!1;g.S(this.o.getRootNode(),"ytp-expand-pause-overlay")};
g.h.BN=function(){Rpa(this,this.C-this.F)};
g.h.CN=function(){Rpa(this,this.C+this.F)};
g.h.nP=function(a,b){if(g.WZ(b,this.o,this.ea)){var c=this.A[a],d=c.dc().videoId,e=c.getPlaylistId();g.R1(this.o.app,d,c.Vd,e,void 0,void 0)}};
g.h.DN=function(){this.Ws(g.gW(this.o).Xa())};
g.h.EN=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.V||(g.S(this.o.getRootNode(),"ytp-expand-pause-overlay"),a0(this)),this.I.show()):this.I.hide())};
g.h.Ws=function(a){var b=16/9,c=this.aa.ge();a=a.width-(c?136:68);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.D.length;d++){var e=this.D[d].wa["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.L.style.height=b+"px";this.O=c;this.F=a;this.C=0;this.pD(0);a0(this)};
g.h.FN=function(){var a=this.o.fa();a.jg?(a=(0,g.Ld)(a.jg,function(a){return a&&!a.list}),this.A=(0,g.J)(a,function(a){return g.h_(a)})):this.A.length=0;
Spa(this)};
g.h.pD=function(a){this.L.scrollLeft=-a};
g.p(Z_,g.K);Z_.prototype.start=function(a,b,c){this.g=a;this.G=b;this.D=c;this.F=(0,g.VG)();this.A()};
Z_.prototype.A=function(){var a=(0,g.VG)()-this.F,b=this.B;a=aja(b,a/this.D);if(0==a)b=b.F;else if(1==a)b=b.G;else{var c=bd(b.F,b.C,a),d=bd(b.C,b.D,a);b=bd(b.D,b.G,a);c=bd(c,d,a);d=bd(d,b,a);b=bd(c,d,a)}b=g.$c(b,0,1);this.C((this.G-this.g)*b+this.g);1>b&&this.o.start()};g.p(b0,g.Y);b0.prototype.A=function(a){g.WZ(a,this.o)&&this.o.Kz(this.hc)};g.p(c0,t_);g.h=c0.prototype;g.h.show=function(){t_.prototype.show.call(this);this.F.P(this.A,"videodatachange",this.Xs);this.F.P(this.A,"onPlaylistUpdate",this.Xs);this.Xs()};
g.h.hide=function(){t_.prototype.hide.call(this);g.sG(this.F);Tpa(this,null)};
g.h.Xs=function(){Tpa(this,this.A.Wf())};
g.h.So=function(){var a=this.o.mo;if(a==this.G)this.B.element.setAttribute("aria-checked",!1),this.B=this.D[this.o.be()];else{for(var b=g.ma(this.D),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.o.getLength();this.D=[];for(c=0;c<b;c++){var d=new b0(this.A,this.o,c);this.D.push(d);d.Ga(this.Ka)}this.B=this.D[this.o.be()];this.G=a}this.B.element.setAttribute("aria-checked",!0)};
g.h.eS=function(a){var b=this.A.getVideoUrl(!0);XZ(b,this.A,a)};
g.h.focus=function(){this.B.focus()};
g.h.W=function(){this.hide();t_.prototype.W.call(this)};g.p(d0,g.Y);d0.prototype.A=function(){g.T(this.element,"ytp-playlist-menu-button-tiny",400>g.gW(this.B).Xa().width);this.o&&2!=this.B.Ya()?(this.update({text:g.U("YTP_PLAYLIST_POSITION",{CURRENT_POSITION:this.o.be()+1,PLAYLIST_LENGTH:this.o.getLength()}),title:g.U("YTP_PLAYLIST_NAME",{PLAYLIST_NAME:this.o.title})}),this.g||(this.show(),t0(this.C))):this.g&&(this.hide(),t0(this.C))};
d0.prototype.D=function(){this.o&&this.o.unsubscribe("shuffle",this.A,this);(this.o=this.B.Wf())&&this.o.subscribe("shuffle",this.A,this);this.A()};g.p(e0,g.Y);e0.prototype.B=function(a){g.NW(this,g.W(a.state,2))};
e0.prototype.A=function(){g.fW(this.o);this.o.Sd()};g.p(f0,t_);g.h=f0.prototype;g.h.aR=function(a){a=kG(a);g.Rd(this.N,a)||g.Rd(this.F,a)||this.Jh()};
g.h.Ub=function(){t_.prototype.Ub.call(this);this.A.bj(this.element)};
g.h.show=function(){var a=this.g;t_.prototype.show.call(this);this.AA();a||this.o.za("onSharePanelOpened")};
g.h.AA=function(){g.S(this.element,"ytp-share-panel-loading");g.Tp(this.element,"ytp-share-panel-fail");var a=this.o.fa(),b=this.o.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.X(this.o);e.Bc&&(d.authuser=e.Bc);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.iF(g.X(this.o).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.A)(this.zA,this),Vb:(0,g.A)(function(a,b){if(b){if(b.actions&&
AG(b.actions),!this.la()){g.Tp(this.element,"ytp-share-panel-loading");Vpa(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=Upa(f.img);k&&(k=new g.Y({H:"a",ca:["ytp-share-panel-service-button","ytp-button"],R:{href:f.url,target:"_blank",title:f.sname},K:[k]}),k.U("click",g.Ga(this.NR,f.url)),g.$e(k,B_(this.A,k.element)),this.B.push(k),d++)}c=new g.Y({H:"a",ca:["ytp-share-panel-service-button","ytp-button"],K:[{H:"span",M:"ytp-share-panel-service-button-more",K:[g.pE?{H:"div",ca:["ytp-icon",
"ytp-icon-share-more"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{H:"rect",R:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{H:"path",R:{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"}}]}]}],R:{href:b.more,target:"_blank",title:g.U("YTP_MORE")}});c.U("click",(0,g.A)(this.HQ,this,b.more));g.$e(c,B_(this.A,c.element));this.B.push(c);this.Ea("buttons",this.B)}}else this.zA()},this),
Zc:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.Ea("link",a);this.Ea("linkText",a);MW(this.D)};
g.h.zA=function(){g.Tp(this.element,"ytp-share-panel-loading");g.S(this.element,"ytp-share-panel-fail")};
g.h.NR=function(a,b){if(g.iX(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={});c=window;var e=a instanceof Ec?a:Ic("undefined"!=typeof a.href?a.href:String(a));var f=d.target||a.target,k=[];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))}var l=k.join(",");mc()&&c.navigator&&c.navigator.standalone&&f&&
"_self"!=f?(l=c.document.createElement("A"),g.Xc(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=Fc(e),c&&(g.yO&&Qa(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,e=Zc(wc("b/12014412, meta tag with sanitized URL"),'<META HTTP-EQUIV="refresh" content="0; url='+Oa(e)+'">'),c.document.write(g.Rc(e)),c.document.close())):c=
c.open(Fc(e),f,l);c&&(c.opener||(c.opener=window),c.focus());g.nG(b)}};
g.h.HQ=function(a,b){XZ(a,this.o,b)&&this.o.za("SHARE_CLICKED")};
g.h.VN=function(a){!a&&u_(this)&&this.Jh()};
g.h.focus=function(){this.D.focus()};
g.h.W=function(){t_.prototype.W.call(this);Vpa(this)};g.p(g0,g.Y);g0.prototype.F=function(){this.G.Jh(this.element,!1);g.DW(this.o,this.element)};
g0.prototype.C=function(){var a=g.X(this.o);this.Ea("icon",a.experiments.g("embed_new_share_icon")&&a.A?g.pE?{H:"div",ca:["ytp-icon","ytp-icon-ios-share"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"-6 -6 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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.pE?{H:"div",ca:["ytp-icon","ytp-icon-sharrow"]}:{H:"svg",
R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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"}}]});a=a.Am&&2!=this.o.Ya();var b=g.gW(this.o).Xa().width;this.B=!!this.o.fa().videoId&&300<=b&&!a;g.T(this.A,"ytp-share-button-visible",this.B);a=480<b;g.X(this.o).V&&(g.T(this.A,"ytp-show-share-title",
a),this.Ea("share",a?g.U("YTP_SHARE"):""));g.EW(this.o,this.element,this.B&&this.D)};
g0.prototype.W=function(){g.Y.prototype.W.call(this);g.Tp(this.A,"ytp-share-button-visible")};g.p(h0,g.Y);h0.prototype.B=function(){var a=g.eW(this.o.app);a&&a.o.g.webkitShowPlaybackTargetPicker()};
h0.prototype.A=function(){var a=g.eW(this.o.app);g.NW(this,!!a&&a.fd);this.Ea("icon",this.o.tl()?g.pE?{H:"div",ca:["ytp-icon","ytp-icon-airplay-on"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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.pE?{H:"div",ca:["ytp-icon","ytp-icon-airplay-off"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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(i0,g.gX);g.h=i0.prototype;g.h.rN=function(a){g.W(a.state,32)?j0(this,this.o.fa()):this.G.hide()};
g.h.yo=function(){var a=this.o.vh(),b=a.current,c=ZO(this.Kb,141);b=this.Kb.g[c].hm(b);b!=this.L&&(c=aP(this.Kb,b,141),this.D=eY(this.da,c,141,141,!0),g.vh(this.ea,(this.I-this.D.width)/2),this.L=b);g.Td(this.ga,g.hX(this.O?a.current-a.seekableEnd:a.current));g.eH(this.J);a=(0,g.A)(this.sp,this);this.J=g.dH(a,1,void 0);this.N.mj()};
g.h.sN=function(a,b){j0(this,b)};
g.h.sp=function(){g.M(this.A,!1);g.eH(this.J);var a=Math.round(.5*this.D.width),b=Math.round(.5*this.D.height),c=this.o.vh(),d=c.current/(c.seekableEnd-c.seekableStart);c=this.Kb.g[0].nE();var e=this.Kb.g[0].Hp();d=a*(e-c+1)*d-this.I/2;var f=Math.floor(d/a)+c;e=Math.min(f+Math.min(20,Math.ceil(this.I/a)),e);f=Math.max(f,c);var k;if(this.C>=f&&this.B<=e){for(k=this.C;k>e;k--)g.Jd(this.A.children[k-this.B]);for(k=f-1;k>=this.B;k--)g.Jd(this.A.children[k-this.B]);for(k=this.B-1;k>=f;k--)this.A.insertBefore(Wpa(this,
k,a,b),this.A.firstChild);k=this.C+1}else g.Gd(this.A),k=f;for(;k<=e;k++){var l=Wpa(this,k,a,b);this.A.appendChild(l)}for(k=f;k<=e;k++)g.oh(this.A.children[k-f],"transform","translatex("+(-d+(k-c)*a)+"px)");this.B=f;this.C=e;g.M(this.A,!0)};
g.h.qN=function(){for(var a=this.B;a<=this.C;a++)cP(this.Kb,a,this.D.width)};
g.h.pN=function(){var a=g.gW(this.o).Xa();this.I!=a.width&&(this.I=a.width,this.Kb&&(this.yo(),this.sp()))};
g.h.tN=function(a){this.element.style.g=a+"px"};
g.h.show=function(){g.gX.prototype.show.call(this);j1(this.aa,!1)};
g.h.hide=function(){this.Kb&&j0(this,null);g.gX.prototype.hide.call(this);j1(this.aa,!0)};
g.h.W=function(){j0(this,null);g.gX.prototype.W.call(this)};
i0.g=200;g.p(k0,g.Y);g.h=k0.prototype;g.h.vN=function(a){g.W(a.state,32)?m0(this,this.o.fa()):this.g&&(g.W(a.state,16)||g.W(a.state,1))||this.B.hide()};
g.h.xN=function(a,b){m0(this,b)};
g.h.wN=function(){var a=g.fW(this.o);(g.W(a,32)||g.W(a,16))&&l0(this)};
g.h.uN=function(){this.C=window.NaN;l0(this)};
g.h.hide=function(){this.Kb&&m0(this,null);g.Y.prototype.hide.call(this)};g.p(n0,g.Y);g.h=n0.prototype;g.h.yN=function(){g.X(this.A).Aa?(g.nW(this.A,this.A.isFullscreen()?"fullscreen_exit":"fullscreen_enter"),g.iW(this.A)):this.o.Jh(this.element,!0)};
g.h.mB=function(){Xpa(this);this.o.Le(this.element,!0)};
g.h.zN=function(){g.YF()==this.A.getRootNode()?this.C.start():(this.C.stop(),this.o&&this.o.hide())};
g.h.OH=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.mB()}};
g.h.tA=function(){g.NW(this,qpa(this.A))};
g.h.GC=function(a){if(a){var b=g.pE?{H:"div",ca:["ytp-icon","ytp-icon-full-screen-close"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"g",M:"ytp-fullscreen-button-corner-2",K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{H:"g",M:"ytp-fullscreen-button-corner-3",K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{H:"g",M:"ytp-fullscreen-button-corner-0",K:[{H:"path",Pa:!0,M:"ytp-svg-fill",
R:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{H:"g",M:"ytp-fullscreen-button-corner-1",K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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()}else b=g.pE?{H:"div",ca:["ytp-icon","ytp-icon-full-screen"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"g",M:"ytp-fullscreen-button-corner-0",K:[{H:"path",Pa:!0,M:"ytp-svg-fill",
R:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{H:"g",M:"ytp-fullscreen-button-corner-1",K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{H:"g",M:"ytp-fullscreen-button-corner-2",K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{H:"g",M:"ytp-fullscreen-button-corner-3",K:[{H:"path",Pa:!0,M:"ytp-svg-fill",R:{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.Ea("icon",
b);this.Ea("title",this.o?null:a);t0(this.D.o)};
g.h.W=function(){this.o||(this.B(),this.B=null);g.Y.prototype.W.call(this)};g.p(o0,t_);g.h=o0.prototype;g.h.show=function(){var a=this.g;t_.prototype.show.call(this);a||(this.B.P(this.o,"presentingplayerstatechange",this.Vs),this.B.P(this.o,"videodatachange",this.Vs),this.Vs())};
g.h.hide=function(){this.B&&(g.sG(this.B),t_.prototype.hide.call(this))};
g.h.Vs=function(){var a=this.o.fa(),b=a.Uh,c;for(c=0;c<b.length;c++){var d=this.A[c];d||(d=new g.Y({H:"button",ca:["ytp-multicam-menu-item","ytp-button"],R:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},K:[{H:"div",M:"ytp-multicam-menu-item-title",K:["{{cameraName}}"]}]}),d.U("click",g.Ga(this.mP,c),this),d.Ga(this.Ka),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=qO(g.X(this.o),f,"default.jpg"));d.element.style.backgroundImage=k?
"url("+k+")":""}d.update({cameraName:e.title,videoId:f,selected:f==a.videoId?!0:null})}for(;c<this.A.length;)this.A.pop().dispose();c=g.fW(this.o);a=b.length||!a.Sb();nR(c)||g.W(c,4)||a||!u_(this)||this.Jh()};
g.h.mP=function(a){this.o.fa();var b=this.o,c=this.o.fa().Uh[a];a=g.eW(b.app,1).g;var d=b.getCurrentTime();if(c.id==a.videoId)g.eW(b.app)!=g.eW(b.app,1)&&(c=b.app,CZ(c,fY(c,1)),a.Ba||b.uc(d));else{var e=b.app;CZ(e,fY(e,4));L1(b.app,{videoId:c.id,title:a.title,start:a.Ba?null:d,multifeed_metadata_list:a.Xb.multifeed_metadata_list},4)}};
g.h.focus=function(){for(var a=this.o.fa(),b=a.Uh,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.A[c].focus();break}};
g.h.W=function(){g.bf(this.A);t_.prototype.W.call(this)};g.p(p0,g.Y);p0.prototype.F=function(a){this.B("newdata"==a)};
p0.prototype.B=function(a){var b=this.o.fa(),c=b.Uh,d=g.fW(this.o);d=(nR(d)||g.W(d,4))&&0<c.length;g.NW(this,d);a&&(this.C=!0);if(d){this.C&&this.D.gc();a=null;d="";for(var 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.bc(g.X(this.o),"default.jpg")});t0(this.A)}else this.D.stop()};
p0.prototype.G=function(){Dqa(this.A,this.element,g.U("YTP_MORE_CAMERAS_AVAILABLE"));this.C=!1};g.p(q0,g.K);q0.prototype.o=function(){var a=(0,g.VG)()-this.B;a=a<this.g?a/this.g:1;this.C(zC(Ksa,a));1>a&&this.A.start()};
var Ksa=new yC(0,0,.4,0,.2,1,1,1),bqa=/[0-9.-]+|[^0-9.-]+/g;g.p(s0,g.Y);s0.prototype.wd=function(a){this.B=300<=a.width;g.NW(this,this.B);g.EW(this.o,this.element,this.B&&this.G)};
s0.prototype.ga=function(){g.X(this.o).J?this.o.Ke()?(g.nW(this.o,"unmute"),this.o.Zf()):(g.nW(this.o,"mute"),this.o.mute()):this.aa.Jh(this.element,!0);g.DW(this.o,this.element)};
s0.prototype.da=function(a){cqa(this,a.volume,a.muted)};
var fqa=["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"],gqa=["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(u0,g.Y);u0.prototype.A=function(){var a=g.eW(this.o.app);a&&(a=a.o,a.g.webkitSetPresentationMode("picture-in-picture"==a.g.webkitPresentationMode?"inline":"picture-in-picture"))};g.p(v0,g.Y);v0.prototype.G=function(a){hqa(this,a.state)};
v0.prototype.F=function(){g.T(this.element,"ytp-play-button-playlist",hW(this.o))};
v0.prototype.I=function(){2==this.A?g.nW(this.o,"pause"):3==this.A?g.nW(this.o,"replay"):1==this.A?g.nW(this.o,"play"):4==this.A&&g.nW(this.o,"stop");nR(g.fW(this.o))?this.o.qd():this.o.Sd()};
v0.prototype.W=function(){this.B&&this.B();g.Y.prototype.W.call(this)};g.p(x0,g.Y);g.h=x0.prototype;g.h.Gj=function(){jqa(this);this.G&&(this.Ca(this.G),this.G=null);this.F=this.o.fa(1);if(this.A=this.o.Wf())this.A.subscribe("shuffle",this.Gj,this),this.G=this.P(this.o,"progresssync",this.GN);this.D=kqa(this);w0(this);this.wd(g.gW(this.o).Xa())};
g.h.wd=function(a){a=void 0===a?g.gW(this.o).Xa():a;var b=hW(this.o)||this.B&&g.AW(this.o)||lqa(this);g.NW(this,b&&(this.B||400<=a.width))};
g.h.HN=function(a){g.nW(this.o,this.B?"next":"previous");var b=!0;this.J?b=g.WZ(a,this.o):g.nG(a);b&&(this.B?this.o.Ej(!0):this.D?this.o.uc(0):this.o.rl(!0))};
g.h.GN=function(){var a=kqa(this);a!=this.D&&(this.D=a,w0(this))};
g.h.W=function(){this.C&&(this.C(),this.C=null);jqa(this);g.Y.prototype.W.call(this)};g.p(y0,g.gX);g.h=y0.prototype;g.h.LN=function(a){if(!g.lG(a)){var b=!1;switch(g.hG(a)){case 36:this.A.uc(0);b=!0;break;case 35:this.A.uc(window.Infinity);b=!0;break;case 34:this.A.he(-60);b=!0;break;case 33:this.A.he(60);b=!0;break;case 38:this.A.he(5);b=!0;break;case 40:this.A.he(-5),b=!0}b&&g.nG(a)}};
g.h.vA=function(a,b){mqa(this,b,"newdata"==a)};
g.h.VI=function(){this.vA("newdata",this.A.fa())};
g.h.KN=function(){qqa(this.A.fa())?g.fW(this.A).wb()&&C0(this,!0):C0(this,!1)};
g.h.JN=function(a){0<sR(a,64)||!qqa(this.A.fa())?C0(this,!1):nR(a.state)&&0>sR(a,64)&&C0(this,!0);this.C&&!g.W(a.state,32)&&3!=this.A.Ya()&&this.C.cancel()};
g.h.ON=function(a,b,c){var d=g.zh(this.element),e=D0(this).g,f=c?c.getAttribute("data-tooltip"):void 0;f&&(a=dY(this.o,Number(c.getAttribute("data-position")),0)*e+g.zh(this.Ab).x);this.ra.x=a-d.x;this.ra.y=b-d.y;c=D0(this);a=cY(this.o,c.o);d=f||g.hX(this.sa?a-this.o.g:a);b=this.Aa;c=c.position+this.Jb;f=!!f;b.ea||(3==b.o&&b.cf(),1!=b.o&&(b.element.className="ytp-tooltip ytp-bottom",b.o=1,b.J&&b.I.show(),b.B=g.uQ(b.N.fa()),b.B&&b.B.subscribe("l",b.HA,b)),b.update({text:d,title:""}),g.T(b.element,
"ytp-text-detail",!!f),d=-1,b.B&&(d=ZO(b.B,160*b.D),d=b.B.g[d].hm(a)),Gqa(b,d),Eqa(b,!!f,c));g.T(this.A.getRootNode(),"ytp-progress-bar-hover",!g.W(g.fW(this.A),64));nqa(this)};
g.h.NN=function(){var a=this.Aa;1==a.o&&a.cf();g.Tp(this.A.getRootNode(),"ytp-progress-bar-hover")};
g.h.MN=function(a,b){this.B&&(this.B.dispose(),this.B=null);this.Ib=b;this.A.uc(cY(this.o,D0(this).o),!1);g.S(this.element,"ytp-drag");(this.Ma=nR(g.fW(this.A)))&&this.A.qd()};
g.h.PN=function(){this.ha=0;g.Tp(this.element,"ytp-pull-ui");g.Tp(this.element,"ytp-pulling");this.B&&(this.B.dispose(),this.B=null);0<this.G&&(this.B=new g.Ct((0,g.A)(this.AH,this,(0,g.VG)(),this.G,D0(this).position)),this.B.start());if(g.W(g.fW(this.A),32)||3==this.A.Ya())this.A.uc(cY(this.o,D0(this).o)),g.Tp(this.element,"ytp-drag"),this.Ma&&!g.W(g.fW(this.A),2)&&this.A.Sd()};
g.h.AH=function(a,b,c){a=1-Math.pow(1-((0,g.VG)()-a)/200,3);c+=a*(this.F*this.D-c);if(0>a||1<a)a=1;rqa(this,(1-a)*b,c,this.F);1>a&&this.B.start()};
g.h.QN=function(a,b){var c=!1,d=!1,e=D0(this);3600<=this.o.getLength()&&(rqa(this,this.Ib-b-10,e.position,e.o),d=!0,c=this.G>.1*(this.I?60:40),e=D0(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);this.ha!=c&&(this.ha=c,this.B&&(this.B.dispose(),this.B=null),c&&(this.B=new g.Ct((0,g.A)(this.SN,this,(0,g.VG)(),this.J)),this.B.start()));this.A.uc(cY(this.o,e.o),!1)};
g.h.SN=function(a,b){var c=this.D*(this.V-1);this.J=g.$c(b+this.ha*((0,g.VG)()-a)*.3,0,c);A0(this);this.A.uc(cY(this.o,D0(this).o),!1);0<this.J&&this.J<c&&this.B.start()};
g.h.xA=function(){this.Ea("clipstarticon",uE());this.Ea("clipendicon",uE());g.S(this.element,"ytp-clip-hover")};
g.h.wA=function(){this.Ea("clipstarticon",wE());this.Ea("clipendicon",vE());g.Tp(this.element,"ytp-clip-hover")};
g.h.zo=function(){this.N=0;this.L=window.Infinity;B0(this);z0(this,this.F,this.da)};
g.h.yA=function(a){a=g.ma(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.O[c]){var d=g.Cd("DIV");b.tooltip&&(d.setAttribute("data-tooltip",b.tooltip),d.setAttribute("data-position",b.start/1E3));this.O[c]=b;this.ga[c]=d;sqa(this,b,d);b.style==g.aS.Oh?this.Ic.appendChild(d):this.Gc.appendChild(d)}}else tqa(this,b)};
g.h.RN=function(a){a=g.ma(a);for(var b=a.next();!b.done;b=a.next())tqa(this,b.value)};
g.h.W=function(){pqa(this,!1);g.gX.prototype.W.call(this)};g.p(F0,Q_);F0.prototype.C=function(){g.ZV(this.T).A&&3!=this.T.Ya()?this.A||(U0(this.B,this),this.A=!0):this.A&&(V0(this.B,this),this.A=!1);var a=g.ZV(this.T).A;R_(this,!!a&&a.loaded)};
F0.prototype.D=function(a){a?this.T.ql("annotations_module"):this.T.ro("annotations_module")};
F0.prototype.W=function(){this.A&&V0(this.B,this);Q_.prototype.W.call(this)};g.p(g.G0,g.E_);g.h=g.G0.prototype;g.h.open=function(){g.M_(this.A,this.C)};
g.h.nf=function(a){if(this.D){var b=this.o[this.D];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked")}this.o[a].element.setAttribute("aria-checked",!0);this.Zb(this.mf(a));this.D=a};
g.h.enable=function(a){this.G?a||(this.G=!1,this.Hj(!1)):a&&(this.G=!0,this.Hj(!0))};
g.h.Hj=function(a){a?U0(this.A,this):V0(this.A,this)};
g.h.rd=function(a){this.X("select",a)};
g.h.UN=function(a){"true"!=this.o[a].element.getAttribute("aria-disabled")&&this.rd(a)};
g.h.mf=function(a){return a.toString()};
g.h.TN=function(a){g.lG(a)||39!=g.hG(a)||(this.open(),g.nG(a))};
g.h.W=function(){this.G&&V0(this.A,this);g.E_.prototype.W.call(this);for(var a in this.o)this.o[a].dispose()};g.p(I0,g.G0);I0.prototype.F=function(){var a=this.T.Ns();1<a.length?(g.H0(this,(0,g.J)(a,this.B)),this.J=g.Ib(a,this.B,this),this.I.Zb(a.length?" ("+a.length+")":""),this.X("size-change"),this.nf(this.B(this.T.uh())),this.enable(!0)):this.enable(!1)};
I0.prototype.rd=function(a){g.G0.prototype.rd.call(this,a);this.T.Ps(this.J[a]);this.A.Pe()};
I0.prototype.B=function(a){return a.toString()};g.p(J0,Q_);J0.prototype.C=function(){var a=this.T.Ya();if(2!=a&&3!=a&&g.AW(this.T))this.B||(U0(this.D,this),this.B=!0,this.A.push(this.P(this.T,"videodatachange",this.C)),this.A.push(this.P(this.T,"videoplayerreset",this.C)),this.A.push(this.P(this.T,"onPlaylistUpdate",this.C)),this.A.push(this.P(this.T,"autonavchange",this.F)),this.F(this.T.fa().autonavState));else if(this.B){V0(this.D,this);this.B=!1;a=g.ma(this.A);for(var b=a.next();!b.done;b=a.next())this.Ca(b.value)}};
J0.prototype.F=function(a){R_(this,1!=a)};
J0.prototype.G=function(a){this.T.app.o.za("onAutonavChangeRequest",1!=(a?2:1))};
J0.prototype.W=function(){this.B&&V0(this.D,this);Q_.prototype.W.call(this)};g.p(K0,g.G0);K0.prototype.B=function(){var a=this.T.Ya();if(2!=a&&3!=a&&(this.I=g.jW(this.T),a=this.T.Ks(),g.xW(this.T)&&g.yW(this.T)&&a.unshift("missing-qualities"),g.H0(this,a),a.length)){this.J();this.enable(!0);return}this.enable(!1)};
K0.prototype.J=function(){var a=g.kW(this.T);this.o[a]&&(this.F=this.T.ol(),this.nf(a),"auto"==a&&this.Zb(this.mf(a)))};
K0.prototype.rd=function(a){"missing-qualities"!=a&&(g.G0.prototype.rd.call(this,a),this.T.sl(a),this.A.Ub())};
K0.prototype.mf=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{H:"a",R:{href:"https://support.google.com/youtube/?p=missing_quality",target:"_blank"},K:[g.U("YTP_MISSING_FORMATS")]};var c={H:"div",K:[uqa(this,a)]},d=g.kW(this.T);b||"auto"!=d||"auto"!=a||(c.K.push(" "),c.K.push(uqa(this,this.F,["ytp-menu-label-secondary"])));return c};g.p(L0,g.Y);L0.prototype.wd=function(a){g.NW(this,this.B&&400<=a.width)};
L0.prototype.C=function(){g.nW(this.T,"settings");if(this.A.g)this.A.Ub();else{var a=g.ZV(this.T).g;a&&!a.loaded&&(a.Rs("tracklist",{includeAsr:!0}).length||a.load());this.A.Le(this.element)}};
L0.prototype.o=function(){var a=this.T.Ya(),b=2!=a&&3!=a,c=g.lW(this.T),d=b&&!!g.ZV(this.T).B;a=d&&1==c.displayMode;c=d&&2==c.displayMode;b=(d=a||c)||!b?null:this.T.ol();g.T(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.T(this.element,"ytp-4k-quality-badge","hd2160"==b);g.T(this.element,"ytp-5k-quality-badge","hd2880"==b);g.T(this.element,"ytp-8k-quality-badge","highres"==b);g.T(this.element,"ytp-3d-badge-grey",d&&a);g.T(this.element,"ytp-3d-badge",d&&c)};g.p(N0,g.G0);g.h=N0.prototype;g.h.Ys=function(a){return a.toString()};
g.h.mf=function(a){return"1"==a?g.U("YTP_NORMAL_SPEED"):a.toString()};
g.h.BA=function(){var a=this.T.Ya();this.enable(2!=a&&3!=a)};
g.h.Hj=function(a){g.G0.prototype.Hj.call(this,a);a?(this.B=this.P(this.T,"onPlaybackRateChange",this.WN),g.H0(this,(0,g.J)(this.T.Dj(),this.Ys)),this.nf(this.Ys(this.T.Uc()))):(this.Ca(this.B),this.B=null)};
g.h.WN=function(a){this.nf(this.Ys(a))};
g.h.rd=function(a){g.G0.prototype.rd.call(this,a);this.T.Xf((0,window.parseFloat)(a),!0);this.A.Pe()};g.p(O0,g.G0);g.h=O0.prototype;g.h.nf=function(a){g.G0.prototype.nf.call(this,a)};
g.h.FA=function(a){return a.option.toString()};
g.h.mf=function(a){return vqa(this.L[a])};
g.h.rd=function(a){g.G0.prototype.rd.call(this,a);this.X("settingChange",this.J,this.L[a].option)};
g.h.GA=function(a){this.X("settingChange",this.J+"Override",!a);this.A.Pe()};g.p(P0,g.H_);P0.prototype.A=function(a,b){this.X("settingChange",a,b)};g.p(Q0,g.G0);Q0.prototype.F=function(a){return a.languageCode};
Q0.prototype.mf=function(a){return this.B[a].languageName||""};
Q0.prototype.rd=function(a){this.X("select",a);g.N_(this.A)};g.p(R0,g.G0);g.h=R0.prototype;g.h.jt=function(a){return g.$b(a)?"__off__":a.displayName};
g.h.mf=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.rd=function(a){"__translate__"==a?this.F.open():"__contribute__"==a?(this.T.qd(),this.T.isFullscreen()&&g.iW(this.T),a=g.rO(g.X(this.T),this.T.fa()),g.TW(a)):(this.T.Ed("captions","track","__off__"==a?{}:this.B[a]),g.G0.prototype.rd.call(this,a),this.A.Pe())};
g.h.zl=function(){var a=-1!=this.T.xi().indexOf("captions"),b=this.T.fa().xk;if(a||b){if(a){var c=this.T.yc("captions","track");var d=this.T.yc("captions","tracklist",{includeAsr:!0});var e=this.T.yc("captions","translationLanguages");this.B=g.Ib(d,this.jt,this);var f=(0,g.J)(d,this.jt);if(e.length){var k=this.F;var l=e;k.B=g.Ib(l,k.F,k);g.H0(k,(0,g.J)(l,k.F));f.push("__translate__")}k=this.jt(c)}else this.B={},f=[],k="__off__";f.unshift("__off__");this.B.__off__={};b&&f.unshift("__contribute__");
this.B[k]||(this.B[k]=c,f.push(k));g.H0(this,f);this.nf(k);a?(wqa(this.J,this.T.yi()),this.I.Zb(d.length?" ("+d.length+")":""),this.X("size-change"),a&&e.length&&this.o.__translate__.element.setAttribute("aria-disabled",!!g.$b(c))):(this.I.Zb(""),this.X("size-change"));this.enable(!0)}else this.enable(!1)};
g.h.EA=function(a){this.T.Ed("captions","sampleSubtitles",a)};
g.h.dO=function(a){var b=this.T.yc("captions","track");b=g.dc(b);b.translationLanguage=this.F.B[a];this.T.Ed("captions","track",b)};
g.h.cO=function(a,b){if("reset"==a)this.T.Os();else{var c={};c[a]=b;this.T.to(c)}this.EA(!0);this.L.start();wqa(this.J,this.T.yi())};
g.h.W=function(){g.Ht(this.L);g.G0.prototype.W.call(this)};g.p(S0,g.J_);S0.prototype.Le=function(a){T0(this);0<this.B.Ka.length&&g.J_.prototype.Le.call(this,a)};
S0.prototype.show=function(){g.J_.prototype.show.call(this);g.S(this.A.getRootNode(),"ytp-settings-shown")};
S0.prototype.hide=function(){g.J_.prototype.hide.call(this);g.Tp(this.A.getRootNode(),"ytp-settings-shown")};g.p(W0,g.Y);
W0.prototype.o=function(){var a=!1;-1!=this.T.xi().indexOf("remote")&&(a=1<this.T.yc("remote","receivers").length);g.NW(this,a&&400<=g.gW(this.T).Xa().width);var b=1;a&&this.T.yc("remote","casting")&&(b=2);if(this.A!=b){this.A=b;switch(b){case 1:this.Ea("icon",g.pE?{H:"div",ca:["ytp-icon","ytp-icon-cast-desktop-off"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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.Ea("icon",g.qE())}g.T(this.element,"ytp-remote-button-active",!!this.T.yc("remote","casting"))}};
W0.prototype.C=function(){g.nW(this.T,"remote");if(this.T.yc("remote","quickCast"))this.T.Ed("remote","quickCast",!0);else{var a=this.B,b=this.element;if(u_(a))a.Ub();else{T0(a);a:{var c=g.ma(a.B.Ka);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.Le(b));a.Le(b)}}};g.p(X0,g.Y);X0.prototype.F=function(){g.nW(this.o,this.o.app.na?"size_small":"size_large");var a=this.o.app,b=!a.na;a.g.experiments.g("player_legacy_set_size_style")&&jra(a,!0,b);a.o.za("SIZE_CLICKED",b)};
X0.prototype.A=function(){g.NW(this,this.o.app.re&&!this.o.isFullscreen()&&3!=this.o.Ya());if(this.g){var a=this.o.app.na;if(this.B!=a){var b=a?g.pE?{H:"div",ca:["ytp-icon","ytp-icon-default-view"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{H:"path",Pa:!0,R:{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.pE?{H:"div",ca:["ytp-icon","ytp-icon-theater-mode"]}:{H:"svg",R:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},K:[{H:"path",Pa:!0,R:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};g.X(this.o).O||null==this.B?this.Ea("icon",b):aqa(this.D,this.element,b);a=(this.B=a)?g.U("YTP_DEFAULT_VIEW"):g.U("YTP_THEATER_MODE");this.Ea("title",a);t0(this.C)}}};g.p(Y0,g.Y);Y0.prototype.B=function(){g.nW(this.A,"subtitles");var a=g.ZV(this.A).g;a&&a.cD()};
Y0.prototype.o=function(){var a=!!g.ZV(this.A).g;g.NW(this,a&&300<=g.gW(this.A).Xa().width);a&&this.Ea("pressed",!!this.A.yc("captions","track").displayName)};g.p(Z0,g.Y);
Z0.prototype.C=function(){var a=g.gW(this.o).Xa().width,b=350<=a&&(!this.B||!g.W(g.fW(this.o),64));g.NW(this,b);g.T(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.o.vh();b&&(b=g.hX(a.current),this.G!=b&&(this.Ea("currenttime",b),this.G=b),b=g.hX(a.duration),this.I!=b&&(this.Ea("duration",b),this.I=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=
B_(this.J,this.D.element))))};
Z0.prototype.N=function(a,b){this.B=b.Ba;g.T(this.element,"ytp-live",this.B);this.C()};
Z0.prototype.L=function(a){a.target==this.D.element?(g.nW(this.o,"live"),this.o.uc(window.Infinity),this.o.Sd()):g.nW(this.o,"time")};
Z0.prototype.W=function(){this.A&&this.A();g.Y.prototype.W.call(this)};g.p(a1,g.Y);g.h=a1.prototype;g.h.eO=function(){var a=this.F.ge();this.G!=a&&(this.G=a,$0(this,this.o.getVolume(),this.o.Ke()))};
g.h.wd=function(a){g.NW(this,350<=a.width)};
g.h.ZR=function(a){if(!g.lG(a)){var b=g.hG(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.$c(c,0,100),0==c?this.o.mute():(this.o.Ke()&&this.o.Zf(),this.o.setVolume(c)),g.nG(a))}};
g.h.fO=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.o.setVolume(this.C+(0>b?-10:10)):this.o.setVolume(this.C+g.$c(b/10,-10,10));g.nG(a)};
g.h.YR=function(){g.nW(this.o,"volume");b1(this,this.B,!0,this.A,this.F.J);this.V=this.C;this.o.Ke()&&this.o.Zf()};
g.h.XR=function(a){a-=g.zh(this.O).x;this.o.setVolume(100*g.$c(a/(this.G?78:52),0,1))};
g.h.WR=function(){b1(this,this.B,!1,this.A,this.F.J);0==this.C&&(this.o.mute(),this.o.setVolume(this.V))};
g.h.gO=function(a){$0(this,a.volume,a.muted)};
g.h.Jw=function(){b1(this,this.B,this.D,this.A,this.F.J)};
g.h.IA=function(a){b1(this,this.B,this.D,a,this.F.J)};
g.h.HC=function(a){g.T(this.element,"ytp-volume-control-hover",a);b1(this,a,this.D,this.A,this.F.J)};
g.h.W=function(){g.Y.prototype.W.call(this);g.Tp(this.N,"ytp-volume-slider-active")};g.p(c1,g.Y);c1.prototype.C=function(){this.A=!!this.o.fa().videoId;g.NW(this,this.A);g.EW(this.o,this.element,this.A&&this.B);if(this.A){var a=this.o.getVideoUrl(!0,!1,!1,!0);this.Ea("url",a)}};
c1.prototype.D=function(a){g.nW(this.o,"youtube");var b=this.o.getVideoUrl(!g.iX(a),!1,!0,!0);XZ(b,this.o,a);g.DW(this.o,this.element)};g.p(d1,g.qG);g.h=d1.prototype;g.h.gt=function(){var a=this.B;oqa(a);var b=a.A.getCurrentTime();(b<a.N||b>a.L)&&a.zo();this.O.C()};
g.h.DA=function(){this.ru();!this.L.o||this.gt()};
g.h.aQ=function(){this.gt();this.F.start()};
g.h.ru=function(){var a;if(a=!g.X(this.T).isMobile){a=this.B;var b=2*a.D*g.vO();a=300>1E3*a.o.getLength()/a.A.Uc()/b}a=a&&g.fW(this.T).wb()&&!!window.requestAnimationFrame;b=!a;this.L.o||(a=b=!1);b?this.G||(this.G=this.P(this.T,"progresssync",this.gt)):this.G&&(this.Ca(this.G),this.G=null);a?this.F.isActive()||this.F.start():this.F.stop()};
g.h.jU=function(a){j1(this.A.o,!a)};
g.h.ht=function(){var a=this.A.ge(),b=g.gW(this.T).Xa(),c=e1(this),d=Math.max(b.width-2*c,100);if(this.Y!=b.width||this.V!=a){this.Y=b.width;this.V=a;var e=yqa(this);this.o.element.style.width=e+"px";this.o.element.style.left=c+"px";var f=this.B;f.Jb=c;f.D=e;f.I=a;A0(f);this.A.o.da=e}c=this.g;b=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.ge()?72:50))));c.O=Math.min(570*(a?1.5:1),d);c.N=b;c.Vl();this.ru()};
g.h.oa=function(){return this.o.element};g.p(g.f1,g.Y);g.f1.prototype.A=function(){g.S(this.element,"ytp-sb-subscribed")};
g.f1.prototype.B=function(){g.Tp(this.element,"ytp-sb-subscribed")};g.p(g1,g.Y);g1.prototype.Y=function(a){g.nW(this.o,"title");g.DW(this.o,this.element);var b=this.o.getVideoUrl(!g.iX(a),!1,!0);XZ(b,this.o,a)};
g1.prototype.aa=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.EL(b)&&Aqa(this,a,f,c,e,b,d)}};
g1.prototype.G=function(){Bqa(this);var a=this.o.fa();this.Ea("title",a.title);this.B&&(this.B.o=a.Wl);var b=g.X(this.o);if(b.experiments.g("embed_view_count")){var c=a.shortViewCount;g.T(this.o.getRootNode(),"ytp-show-title-view-count",!!c);this.Ea("viewCount",c)}!b.I&&a.videoId?(this.Ea("url",this.o.getVideoUrl(!0)),this.A||(this.A=this.P(this.V,"click",this.Y))):this.A&&(this.Ea("url",null),this.Ca(this.A),this.A=null)};g.p(h1,g.Y);g.h=h1.prototype;g.h.KQ=function(a){3==this.o&&this.cf();a=a.currentTarget;this.o||(a.removeEventListener("mouseover",this.O),a.addEventListener("mouseout",this.ga),Cqa(this,a,2))};
g.h.IQ=function(a){(a=jG(a))&&g.Rd(this.A,a)||this.cf()};
g.h.HA=function(a,b){if(a<=this.C&&this.C<=b){var c=this.C;this.C=window.NaN;Gqa(this,c)}};
g.h.OK=function(){cP(this.B,this.C,160*this.D)};
g.h.cf=function(){switch(this.o){case 2:this.A.removeEventListener("mouseout",this.ga),this.A.addEventListener("mouseover",this.O);case 3:3==this.o&&this.aa.stop();this.N.removeEventListener("appresize",this.V);this.L||this.A.setAttribute("title",this.F);this.F="";this.A=null;break;case 1:this.B&&(this.B.unsubscribe("l",this.HA,this),this.B=null),this.N.removeEventListener("videoready",this.V),this.Y.stop()}this.o=null;this.J&&this.I.hide()};
g.h.bj=function(){if(this.A)for(var a=0;a<arguments.length;a++)g.Rd(arguments[a],this.A)&&this.cf()};
g.h.W=function(){null!=this.o&&this.cf();g.Y.prototype.W.call(this)};g.ua("yt.pubsub.publish",g.IG,void 0);g.p(l1,g.Y);g.h=l1.prototype;g.h.wd=function(a){this.C=300<=a.width;g.NW(this,this.C);a=480<a.width;g.X(this.o).V&&(g.T(this.G,"ytp-show-watch-later-title",a),this.Ea("watch_later",a?g.U("YTP_WATCH_LATER_2"):""));g.EW(this.o,this.element,this.C&&this.I)};
g.h.DS=function(){this.A=!0;this.B=!1;k1(this,1);g.X(this.o).isMobile&&Dqa(this.F,this.element);g.X(this.o).Hb&&this.o.za("WATCH_LATER_VIDEO_ADDED")};
g.h.hO=function(){g.nW(this.o,"watchlater");g.DW(this.o,this.element);var a=this.o.fa().videoId;g.X(this.o).Bc?Iqa(this,a):g.Hqa(function(){FJ({videoId:a});window.location.reload()},null,"wl_button",800,600)};
g.h.ES=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);k1(this,4,c);g.X(this.o).Hb&&this.o.za("WATCH_LATER_ERROR",c)};
g.h.FS=function(){this.B=this.A=!1;k1(this,2);g.X(this.o).Hb&&this.o.za("WATCH_LATER_VIDEO_REMOVED")};
g.h.iO=function(){this.B=this.A=!1;k1(this,2)};g.p(m1,g.Y);m1.prototype.D=function(a){g.NW(this,!g.W(a.state,2))};
m1.prototype.B=function(){if(this.A.fa().videoId){var a=this.A.getVideoUrl(!0,!1,!1,!0);this.Ea("url",a);this.o||(this.o=this.U("click",this.C))}else this.o&&(this.Ea("url",null),this.Ca(this.o),this.o=null)};
m1.prototype.C=function(a){var b=this.A.getVideoUrl(!g.iX(a),!1,!0,!0);XZ(b,this.A,a)};g.p(n1,w_);g.h=n1.prototype;g.h.Oq=function(a,b){b?this.O=a:this.O=null;this.Kg()};
g.h.Pq=function(a,b){if(b)this.G.push(a);else for(var c=this.G.length;0<=c;c--)if(this.G[c]==a){this.G.splice(c,1);break}this.B.kc(64,0<this.G.length)};
g.h.Zj=function(){g.oW(this.g)&&g.pW(this.g);return!!this.O||w_.prototype.Zj.call(this)};
g.h.Kg=function(){var a=!this.Zj(),b=a&&g.oW(this.g)&&!g.W(g.fW(this.g),2);a?(this.Ra.show(),this.Sa.show()):(this.Ra.hide(),this.Sa.hide(),this.o.bj(this.C.element));b?this.V.A.show():this.V.A.hide();this.A&&xqa(this.A,!a);w_.prototype.Kg.call(this)};
g.h.wt=function(a){a&&(this.o.bj(this.C.element),this.A&&this.o.bj(this.A.oa()));w_.prototype.wt.call(this,a)};
g.h.kN=function(a){var b=this.g.getRootNode();a?b.parentElement?(b.setAttribute("aria-label",g.U("YTP_PLAYER_FULLSCREEN")),b.parentElement.insertBefore(this.aa.element,b),b.parentElement.insertBefore(this.ba.element,b.nextSibling)):g.PE(Error("Player not in DOM.")):(b.setAttribute("aria-label",g.U("YTP_PLAYER_NORMAL")),this.aa.detach(),this.ba.detach());this.Bb();this.Si()};
g.h.ge=function(){return this.g.isFullscreen()||!1};
g.h.Bb=function(){var a=this.ge();this.o.D=a?1.5:1;g.T(this.I.element,"ytp-big-mode",a);w_.prototype.Bb.call(this)};
g.h.Si=function(){w_.prototype.Si.call(this);g.EW(this.g,this.Ma.element,!!this.L);var a=this.Oa,b=!!this.L;a.D=b;g.EW(a.o,a.element,a.B&&b);this.ha&&(a=this.ha,b=!!this.L,a.I=b,g.EW(a.o,a.element,a.C&&b));if(!this.L)for(this.o.bj(this.C.element),a=0;a<this.ga.length;a++)b=this.ga[a],u_(b)&&b.Ub()};
g.h.bp=function(a){this.A&&xqa(this.A,this.Zj());w_.prototype.bp.call(this,a)};
g.h.UQ=function(){qW(this.g)&&this.B.kc(128,!1)};
g.h.qn=function(){return this.I.g?(this.I.Ub(),!0):this.G.length?(this.G[this.G.length-1].Ub(),!0):this.O?(this.O.Ub(),!0):w_.prototype.qn.call(this)};
g.h.JT=function(a,b){this.Ab=b;this.Pq(a,b);this.rA()};
g.h.rA=function(){var a=this.Ab||u_(this.I);this.Ha!=a&&(this.Ha=a,this.g.za("onAutonavPauseRequest",this.Ha))};
g.h.mI=function(){o1(this,this.g.getRootNode(),!0).focus()};
g.h.nI=function(){o1(this,this.g.getRootNode(),!1).focus()};p1.prototype.click=function(a){var b=a.getAttribute("data-visual-id");g.lb(this.g,a);g.lb(this.o,b);g.BW(this,"onLogVeClicked",{id:b})};
p1.prototype.F=function(a){g.lb(this.g,a);var b=a.getAttribute("data-visual-id");g.sb(this.g,a);g.sb(this.A,b);g.sb(this.o,b);a.removeAttribute("data-visual-id")};
p1.prototype.pause=function(){this.B=!0};
p1.prototype.resume=function(){this.B=!1;for(var a=g.ma(this.C),b=a.next();!b.done;b=a.next())b=b.value,g.BW(this,b.type,b.data);this.C.length=0};g.p(q1,g.K);g.h=q1.prototype;g.h.OO=function(){s1(this)||g.D1(this,5)};
g.h.fR=function(a){s1(this)||(era(this),nR(a.A)&&EZ(this))};
g.h.Bd=function(){var a=this.F?this.F.ir():{},b=this.B,c={};b.g&&g.Ha(c,b.g.EM());g.Ha(a,c);(b=this.B.o)&&g.Ha(a,b.Ru());a.fs=this.o.isFullscreen();a.volume=Math.round(this.J.getVolume());a.mos=this.J.Ke()?1:0;this.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&this.g.A&&(this.Yc&&(b=this.Yc,b=null==b.g?null:Math.round(100*b.g)/100,null!=b&&(a.inview=b)),b=this.G.Xa(),0<b.height&&0<b.width&&(b=[Math.round(b.height),Math.round(b.width)],c=g.vO(),1<c&&b.push(c),a.size=b.join(":")));
this.g.experiments.g("html5_copy_ctt_to_ad_playbacks")&&(b=this.A.g,a.ctt=b.vssCredentialsToken,a.cttype=b.Xl,a.mdx_environment=b.mdxEnvironment);return a};
g.h.getCurrentTime=function(a){return 3==cW(this)?g.dW(this.B).getCurrentTime():(a=g.eW(this,a))?a.getCurrentTime():0};
g.h.getDuration=function(a){return(a=g.eW(this,a))?a.getDuration():0};
g.h.hL=function(a){switch(a.type){case "loadedmetadata":YP("fvb",this.I.g)||this.I.o("fvb");g.IP("fvb",void 0,"video_to_ad");this.bb.start();break;case "loadstart":YP("gv",this.I.g)||this.I.o("gv");g.IP("gv",void 0,"video_to_ad");break;case "progress":case "timeupdate":!YP("l2s",this.I.g)&&2<=RQ(aR(a.target))&&this.I.o("l2s");break;case "playing":g.yO&&this.bb.start();var b=this.B.B;a="none"==rh(this.D.g,"display")||0==g.Hh(this.D.g).Qc();b=!SZ(this.G)||b||!this.g.C||this.g.Vg;a&&!b&&(this.F.xd("hidden",
"1",!0),x1(this).Ji||W1(this,"hidden",!0))}};
g.h.lQ=function(a,b){this.o.za("onLoadProgress",b)};
g.h.aS=function(){this.o.X("playbackstalledatstart")};
g.h.iL=function(a,b){this.o.za("onVideoProgress",b)};
g.h.fL=function(){this.J.X("progresssync")};
g.h.QO=function(a){!this.g.experiments.g("disable_live_head_slowdown")&&0<sR(a,1)&&!g.W(a.state,64)&&this.A.g.Ba&&EV(this.A)&&1<this.o.Uc()&&G1(this,1,!0);var b;if(b=0<sR(a,2))this.C&&(g.eO(this.g)||this.o.isFullscreen()&&!this.Aa)&&g.S1(this)?(T1(this,!1,!this.g.experiments.g("legacy_autoplay_flag")||this.g.experiments.g("html5_player_autonav_logging")),b=!0):b=!1,b=!b;b&&(b=this.A.o)&&ZF(b.g);g.W(a.state,128)&&(b=a.state,M1(this),b=b.g,this.o.za("onError",tsa[b.errorCode]||5),this.o.za("onDetailedError",
b));a.state.wb()&&!g.pR(a.state)&&(b=x1(this),g.JP("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&g.JP("docid",b.videoId,"ad_to_video"),b.playbackId&&g.JP("plid",b.playbackId,"ad_to_video"),g.IP("pbresume",void 0,"ad_to_video"));this.o.X("applicationplayerstatechange",a)};
g.h.PB=function(a){3!=cW(this)&&(!g.W(a.state,32)&&0>sR(a,16)&&(!g.W(a.state,8)||g.W(a.state,64)||this.D.g.ended||g.W(a.state,2)||EZ(this)),this.o.X("presentingplayerstatechange",a))};
g.h.eL=function(a){0<sR(a,4)&&this.o.app.ga&&(E1(this,!1),this.o.Zf());F1(this,qR(a.state))};
g.h.MO=function(a){"newdata"==a&&Yqa(this)};
g.h.SO=function(){this.o.za("onPlaybackAudioChange",this.o.uh().Sc.name)};
g.h.vS=function(a){a==this.F.g&&this.o.za("onPlaybackQualityChange",a.Na.video.quality)};
g.h.Is=function(a,b,c){if("newdata"==a)LZ(this.B),this.o.X("videoplayerreset",b);else{if(!this.D)return;if("dataloaded"==a)if(b.C.lg(c.Xb),this.F==this.A){if(this.g.experiments.g("disable_sap_error_check")||!this.A.A.isError()){var d=s1(this);if(d||!this.A.g.wy||this.g.isMobile){var e=this.A.g;!wQ(e)||d||iQ(this.A.g)?(e.Sb(),d&&g.D1(this,6),Rqa(this),d||(e=this.B.o)&&!e.C&&this.B.T.fa(1).adModule&&this.B.o.create()):(d=e.Ba&&!g.nN()?"html5.unsupportedlive":"fmt.noneavailable",g.jV(this.A,d,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
"nosupported.1;f18."+ +(0<=e.Lh.indexOf("itag=18"))+";f43."+ +(0<=e.Lh.indexOf("itag=43"))))}else g.jV(this.A,"html5.unsupportedads","YTP_DEVICE_FALLBACK",void 0)}}else Rqa(this);1==b.getPlayerType()&&(this.g.J&&kra(this),x1(this).Ba&&!this.g.tO&&g.jV(this.A,"html5.unsupportedlive","YTP_DEVICE_FALLBACK",void 0),c.Sb()&&(c.Lo||c.Es||c.ye.focEnabled||c.ye.rmktEnabled||x1(this).gq)&&(e=x1(this),J1(this,"part2viewed",1,0x8000000000000),J1(this,"engagedview",Math.max(1,1E3*e.Hf),0x8000000000000),e.Ba||
(e=1E3*e.lengthSeconds,J1(this,"videoplaytime25",.25*e,e),J1(this,"videoplaytime50",.5*e,e),J1(this,"videoplaytime75",.75*e,e),J1(this,"videoplaytime100",e,0x8000000000000),J1(this,"conversionview",e,0x8000000000000))));this.o.X("videodatachange",a,c,b.getPlayerType())}this.g.Hb&&this.o.za("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;!this.g.experiments.g("player_change_screen_killswitch")&&a&&c&&(b=this.aa,a!=b.D&&(b.D=a,g.BW(b,"onScreenChanged",
{csn:a,root_ve_type:c}),b.o.length&&g.BW(b,"onLogVesShown",{ids:b.o}),b.A=g.vb(b.o)))};
g.h.Ym=function(){A1(this,null);this.o.za("onPlaylistUpdate")};
g.h.aB=function(a){var b=a.getId(),c=this.A.g;if("part2viewed"==b)c.eC&&g.wF(c.eC),c.Es&&g.wF(c.Es);else if("conversionview"==b){var d=this.A;d.D&&TR(d.D)}else"engagedview"==b&&g.wF(c.Lo);c.Oj&&(d=$qa(this,c.Oj,a.getId()),g.wF(d));switch(b){case "videoplaytime25":c.vz&&g.wF(c.vz);g.wF(c.cT);break;case "videoplaytime50":c.wz&&g.wF(c.wz);g.wF(c.dT);break;case "videoplaytime75":c.xz&&g.wF(c.xz);g.wF(c.eT);break;case "videoplaytime100":c.uz&&g.wF(c.uz),g.wF(c.bT)}(b=x1(this).gq)&&b[a.getId()]&&(c=b[a.getId()],
g.wF(c,void 0,yL(c)||zL(c)||xL(c)),b=b[a.getId()+"gaia"],g.wF(b,void 0,yL(b)||zL(b)||xL(b)));this.A.F.D(a)};
g.h.isPeggedToLive=function(){return this.A.isPeggedToLive()};
g.h.gL=function(a,b){var c=a.g;if(1==this.O||2==this.O)c.startSeconds=b;2==this.O?C1(this):this.o.X("seekto",b)};
g.h.DO=function(){this.o.X("airplayactivechange")};
g.h.EO=function(){this.o.X("airplayavailabilitychange")};
g.h.YO=function(){this.o.X("beginseeking")};
g.h.MP=function(){this.o.X("endseeking")};
g.h.Et=function(){var a=this.C.dc(),b=x1(this);b.Eh||!this.ea?(b=b.Rf,a=K1(this,a),b&&N1(this,a)):a&&O1(this,a);this.o.za("onPlaylistUpdate")};
g.h.KO=function(a){this.o.za("onCueRangeEnter",a.getId())};
g.h.LO=function(a){this.o.za("onCueRangeExit",a.getId())};
g.h.PO=function(){this.ha||(this.ha=wP(this.hB,this));ZR(this.I,epa(this));if(this.g.experiments.g("html5_playlist_preload")&&g.S1(this)){var a=this.C.dc(jS(this.C));a&&ara(this,a,1,!1)}};
g.h.NO=function(){var a=this.A.g,b=this.A.F.g.g||[],c=this.Sa.videoplaytime100;this.g.experiments.g("send_pyv_ad_mt_and_abandon_pings")&&a.Oj&&0<=b.indexOf(c)&&(a=$qa(this,a.Oj,"video_abandon"),g.wF(a))};
g.h.eQ=function(){this.J.X("internalAbandon")};
g.h.hB=function(a){a=a.g;if(!(0,window.isNaN)(a)&&0<a&&this.A){var b=this.A;b.D&&0<a&&(b.D.o.o.aft=[a])}};
g.h.FQ=function(){this.vt()};
g.h.GQ=function(){this.vt()};
g.h.vt=function(){this.g.Hb&&this.F?this.o.za("onApiChange",this.F.getPlayerType()):this.o.za("onApiChange")};
g.h.CQ=function(){var a={volume:g.$c(Math.floor(100*this.D.getVolume()),0,100),muted:this.D.g.muted};a.muted||E1(this,!1);this.N=g.dc(a);this.o.za("onVolumeChange",a)};
g.h.TP=function(){var a=g.YF();V1(this,a==this.G.element?1:0);fra(this,!!a&&g.Rd(this.G.element,a))};
g.h.ER=function(){2!=this.Za&&V1(this,g.YF()==this.G.element?1:0);this.g.xm&&x1(this)&&!x1(this).backgroundable&&this.D&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&ZF(this.D.g)};
g.h.kQ=function(a){3!=cW(this)&&this.o.X("liveviewshift",a)};
g.h.DR=function(a){var b=g.QZ(this.G);g.ch(this.gd,b)||(this.gd=b,this.F&&LV(this.F,"r"),!this.g.experiments.g("disable_app_resize")&&this.A&&this.A!=this.F&&LV(this.A,"r"),1==this.Za&&this.Ma&&fra(this,!0));this.Ic&&g.hd(this.Ic,a)||(this.o.X("appresize",a),this.Ic=a)};
g.h.Pd=function(){return this.J.Pd()};
g.h.UR=function(){W1(this,"signature")};
g.h.NQ=function(){v1(this);u1(this)};
g.h.wP=function(){this.o.za("CONNECTION_ISSUE")};
g.h.dL=function(a){this.o.X("heartbeatparams",a)};
g.h.TQ=function(){var a=g.eW(this);a&&g.WV(a,!qW(this.o))};
g.h.W=function(){this.A.dispose();v1(this);g.bf(g.Tb(this.Ra),this.C);g.uP(this.ha);this.ha=0;this.Ha&&this.Ha.dispose();g.K.prototype.W.call(this)};
var Y2={};g.ua("yt.player.Application.create",function(a,b){try{var c=g.u(a)?a:"player"+g.Fa(a);if(Y2[c]){try{Y2[c].dispose()}catch(e){g.PE(e)}Y2[c]=null}var d=new q1(a,b);g.$e(d,function(){Y2[c]=null});
return Y2[c]=d}catch(e){throw g.PE(e),e.stack;}},void 0);
var Lsa=g.x("ytcsi.tick");Lsa&&Lsa("pe");})(_yt_player);
