var _yt_player={};(function(g){var window=this;var ba,da,ia,ha,ka,qa,ra,sa,xa,caa,daa,Ha,Ia,Ka,Oa,Sa,Za,cb,gb,db,eaa,eb,faa,gaa,ob,qb,sb,oaa,paa,tb,ub,zb,Cb,Db,Eb,saa,Hb,Jb,Mb,Ub,Wb,Xb,$b,ac,gc,ic,hc,kc,mc,nc,oc,uaa,pc,vc,wc,yc,zc,Bc,Cc,Ec,Gc,Lc,Jc,Nc,Oc,Qc,Eaa,Vc,Faa,Uc,Xc,Yc,ed,id,xd,Bd,Cd,Dd,Jd,Nd,Sd,Ud,Vd,Wd,Laa,md,Paa,me,ne,le,ge,qe,se,pe,te,ue,ve,we,xe,ye,ze,Ae,He,Ee,Fe,Ie,Qaa,Ge,Je,Raa,Ke,Ne,Me,Oe,Pe,Re,Qe,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,Le,af,ff,hf,jf,Xaa,mf,nf,of,qf,uf,Yaa,rf,xf,Ef,Df,$aa,tf,Hf,If,Jf,Kf,aba,Mf,Of,bba,Pf,Qf,cba,Vf,Xf,Yf,ag,
cg,dg,eg,gg,hg,eba,kg,ng,jg,lg,Zf,fg,gba,qg,og,pg,sg,fba,rg,dba,xg,yg,hba,iba,jba,kba,lba,Ag,Cg,Eg,Fg,Mg,Ng,Og,Pg,Qg,Rg,Tg,Vg,Xg,Zg,pba,$g,ah,ch,dh,qba,kh,lh,mh,nh,ph,qh,rh,vh,wh,Ah,Bh,Fh,yh,rba,Qh,Th,Vh,Wh,Xh,sba,tba,Yh,vba,Zh,$h,xba,yba,zba,bi,ci,di,ei,fi,hi,li,ni,oi,pi,qi,ri,si,Cba,ti,ui,vi,wi,Dba,Eba,Fba,xi,yi,Bi,zi,Hba,Ai,Ci,Di,Fi,Ei,Ji,Iba,Ki,Li,Mi,Ni,Pi,Ri,Ui,Xi,Wi,Vi,Yi,$i,aj,bj,cj,dj,ej,fj,Kba,gj,hj,Lba,Mba,ij,jj,kj,lj,mj,nj,sj,uj,vj,xj,wj,yj,Aj,Bj,Cj,Dj,$ba,Fj,zj,Gj,Hj,Ij,Lj,Mj,Nj,Pj,Rj,
Sj,Tj,Uj,Vj,Oj,Qj,aca,Wj,Xj,Yj,Zj,bca,ak,cca,dca,eca,jca,bk,kca,ck,dk,ek,fk,hk,gk,lca,mca,ik,nca,oca,jk,kk,pca,lk,nk,pk,qca,rca,qk,tk,uca,vk,tca,vca,wk,wca,xca,uk,xk,yca,Bca,Aca,Cca,yk,zk,Ak,Ck,Dca,Hk,Ik,Eca,Jk,Fca,Kk,Lk,Mk,Gca,Nk,Hca,Ok,Pk,Qk,Ica,Rk,Tk,Uk,Jca,Vk,Wk,Xk,Kca,Zk,Yk,Lca,al,$k,cl,bl,Oca,Qca,Pca,el,Rca,Sca,Tca,Vca,Uca,fl,Wca,hl,il,jl,kl,ml,Yca,ol,Xca,pl,$ca,ql,rl,nl,ada,tl,sl,bda,cda,Zca,dda,ul,eda,wl,yl,zl,Al,xl,Dl,Bl,Fl,gda,hda,Gl,Hl,Il,ida,Jl,mda,jda,lda,Kl,Ll,Ml,Nl,Ol,nda,oda,pda,qda,
rda,sda,tda,uda,vda,wda,Pl,Ql,xda,yda,Ul,Vl,Sl,Xl,Yl,zda,Ada,Cda,Bda,Dda,$l,Eda,Gda,Hda,bm,cm,fm,hm,Mda,Ida,lm,mm,nm,om,pm,Sk,Nda,qm,rm,sm,Oda,um,vm,wm,Pda,Qda,Rda,Sda,Tda,xm,Wda,zm,ym,Am,Bm,Cm,Xda,Yda,Dm,Hm,Im,Gm,Jm,Km,Zda,Qm,Rm,Tm,bea,Wm,Ym,$m,Zm,$da,cn,bn,fn,en,hn,cea,jn,mn,nn,on,pn,qn,eea,fea,sn,gea,tn,un,rn,hea,vn,wn,xn,yn,zn,iea,kea,Dn,En,lea,mea,An,jea,Bn,Gn,Hn,Fn,oea,Jn,In,qea,Ln,Kn,Mn,Nn,Qn,Rn,Pn,Tn,tea,Un,Wn,Xn,Yn,Zn,Vn,$n,ao,bo,eo,ho,io,lo,oo,jo,qo,so,to,uo,vo,wo,xo,yo,zo,Ao,Eo,Go,Fo,Ho,
Io,Jo,Mo,vea,Lo,No,Oo,Po,Ro,So,To,Uo,wea,xea,Vo,Wo,Zo,bp,ap,Cea,dp,Yo,ep,Dea,gp,fp,Eea,hp,jp,Fea,lp,kp,mp,np,op,Gea,pp,qp,rp,sp,tp,up,xp,yp,zp,Ap,Bp,Cp,P,Hp,Ip,Hea,Q,Mp,Lea,Op,Up,Vp,Xp,Lp,Tp,Rp,Rea,Sea,Tea,Uea,Yp,Zp,$p,aq,cq,dq,bq,Vea,gq,hq,iq,jq,Wea,kq,lq,mq,nq,pq,oq,rq,sq,Xea,Yea,tq,wq,uq,vq,xq,yq,$ea,afa,zq,Aq,bfa,Bq,Jq,dfa,Lq,Mq,Nq,Oq,ffa,Pq,Vq,Wq,Qq,Xq,Yq,jfa,Rq,ifa,Sq,Tq,Uq,hfa,er,fr,gr,kr,mfa,nfa,lr,pfa,qfa,nr,tfa,pr,ofa,qr,rr,sr,tr,ufa,ur,vr,wr,vfa,yr,zr,Ar,Br,wfa,Dr,Cr,xfa,xr,Er,$o,Fr,Gr,
yfa,zfa,Afa,Bfa,Hr,Cfa,Kr,Or,Rr,Sr,fq,eq,Dfa,Efa,Ffa,Tr,Gfa,Ur,Hfa,Ifa,Jfa,Kfa,Lfa,Mfa,Nfa,Vr,Xr,Wr,Yr,Ofa,Pfa,Qfa,Rfa,$r,Tfa,bs,es,Vfa,hs,ks,gs,ls,ms,ns,os,ps,qs,rs,ts,us,vs,ys,Yfa,xs,ws,zs,As,Bs,Cs,Es,br,Zfa,Ms,Ns,Os,Ps,Fs,ega,Qs,Rs,Ss,Ts,dr,Ws,Ys,Zq,Zs,$s,at,ar,$q,Xs,bt,ct,dt,et,ft,gt,ht,hga,iga,gga,jga,Vs,kga,ot,mga,pt,Ds,qt,rt,tt,ut,nga,Js,Us,nt,vt,wt,xt,mt,cr,Is,At,Ls,Bt,Ct,Gs,Ks,lt,fga,Dt,Et,Ft,pga,Gt,qga,Ht,It,Jt,Lt,Mt,Nt,tga,Ot,Pt,Qt,Rt,St,Tt,Ut,Vt,Xt,Yt,Zt,Wt,$t,au,bu,cu,du,fu,wga,yga,Aga,
eu,Bga,Cga,Dga,hu,gu,iu,ku,lu,ru,qu,tu,uu,Ega,zu,Au,Cu,Bu,Du,Eu,Fu,Gu,Hu,Fga,Ku,Gga,Lu,Mu,Nu,Ou,Ju,Iu,Hga,Pu,Qu,Ru,Iga,Su,Tu,Jga,Uu,Vu,Wu,Xu,Yu,Zu,Kga,av,bv,Lga,dv,ev,Mga,iv,jv,kv,lv,mv,nv,ov,Nga,pv,qv,rv,uv,tv,Oga,vv,wv,xv,yv,Pga,zv,Av,Rga,Qga,Cv,Dv,Ev,Fv,Gv,Hv,Iv,Jv,Kv,Lv,Mv,Nv,Ov,Pv,Qv,Rv,as,Sv,Sga,Uv,Vv,Wv,Xv,Yv,Tv,Zv,$v,aw,jt,Ir,Qr,it,kt,gw,cs,Pr,fw,Mr,Jr,Lr,Nr,iw,ds,ew,lw,mw,ow,Tga,pw,qw,rw,tw,uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Dw,Ew,Uga,Fw,Gw,Hw,Iw,Jw,Kw,Vga,Lw,Mw,Nw,Ow,Pw,Qw,Sw,Tw,Xga,Uw,Yga,Wga,
$ga,Vw,aha,Xw,Rw,Zga,eha,dha,cha,Ww,Yw,Zw,$w,bx,cx,dx,ex,fx,gx,hx,ix,jx,kx,ox,qx,rx,sx,px,ux,fha,gha,xx,vx,Bx,wx,Cx,Ax,iha,jha,Ex,Fx,Jx,Gx,Ix,Hx,Mx,Nx,Lx,Ox,mha,Px,nha,oha,Qx,Rx,Sx,Ux,pha,Tx,Xx,Vx,qha,rha,sha,Yx,Zx,$x,ay,by,cy,dy,ey,fy,gy,hy,iy,jy,ky,ly,my,wha,vha,oy,ny,xha,ry,yha,sy,ty,zha,uy,uha,vy,zy,Bha,Aha,Ay,yy,Dy,Dha,Ey,Eha,Fy,By,Gy,Hy,Iy,Gha,Hha,Jy,Ky,Iha,Ly,qy,Jha,My,Ny,py,Kha,Oy,Py,Qy,Ry,Lha,Sy,Ty,Uy,Wy,Xy,Vy,Pha,Mha,Nha,Zy,bz,cz,az,$y,Yy,dz,fz,gz,iz,kz,hz,lz,mz,Sha,oz,nz,pz,Tha,Uha,qz,
rz,sz,tz,uz,vz,wz,xz,yz,Wha,zz,Yha,Fz,Az,Bz,Cz,Mz,Gz,Iz,Hz,Pz,Kz,Jz,Nz,Lz,$ha,Ez,Dz,Qz,aia,Rz,Xha,Sz,Tz,Uz,cia,Vz,Yz,Zz,aA,$z,bA,cA,dA,eia,dia,fia,fA,gia,hia,gA,hA,eA,iia,iA,jA,jia,kA,kia,lia,mia,nia,lA,mA,nA,pA,qA,rA,oA,tA,oia,pia,sA,uA,vA,wA,xA,yA,qia,zA,CA,EA,DA,FA,GA,HA,JA,IA,LA,KA,MA,ria,QA,RA,SA,TA,UA,VA,WA,XA,YA,ZA,$A,bB,cB,aB,dB,eB,fB,sia,gB,tia,jB,kB,hB,iB,mB,qB,nB,oB,lB,pB,uia,rB,sB,tB,uB,wB,vB,via,yB,xB,xia,yia,wia,zB,zia,Aia,Bia,Cia,AB,Eia,Fia,Gia,mr,Hia,Iia,DB,Kia,EB,FB,GB,HB,IB,JB,KB,
LB,NB,OB,PB,VB,UB,ZB,$B,SB,aC,bC,cC,dC,RB,TB,WB,fC,Ria,gC,Sia,hC,iC,jC,kC,lC,mC,Tia,nC,Uia,Via,oC,Wia,Xia,pC,qC,Yia,$ia,aja,rC,bja,tC,vC,fja,sC,gja,wC,Jia,xC,ija,jja,yC,kja,lja,AC,DC,mja,FC,EC,GC,nja,Zha,HC,IC,LC,MC,NC,OC,PC,pja,QC,RC,SC,TC,JC,rja,sja,WC,tja,XC,YC,ZC,VC,$C,UC,aD,uja,Oz,wja,jz,vja,bD,cD,dD,eD,fD,xja,gD,yja,kD,lD,mD,nD,zja,qD,rD,sD,tD,vD,wD,xD,yD,zD,BD,CD,DD,ED,Bja,FD,Eja,JD,KD,Fja,MD,ND,PD,RD,TD,SD,UD,OD,QD,XD,WD,YD,ZD,Hja,$D,Ija,eE,fE,Jja,mE,oE,uE,BE,CE,Kja,Lja,EE,FE,Mja,JE,Nja,Oja,
HE,OE,QE,RE,SE,TE,UE,VE,WE,NE,XE,ME,ZE,$E,Pja,cF,bF,eF,fF,gF,iF,hF,Rja,lF,mF,oF,nF,pF,qF,Sja,rF,xF,yF,BF,CF,Tja,zF,DF,EF,FF,GF,Vja,Wja,NF,OF,PF,UF,XF,ZF,dG,bG,fG,eG,hG,Zja,uG,vG,sG,bka,FG,DG,IG,LG,KG,JG,cka,TG,VG,UG,dka,aH,bH,eka,mH,nH,oH,pH,rH,qH,sH,tH,uH,vH,wH,xH,AH,BH,CH,DH,EH,HH,IH,RH,PH,SH,QH,TH,VH,WH,XH,ZH,cI,dI,oka,gI,hI,iI,eI,lI,kI,mI,nI,pI,qI,sI,tI,uI,qka,vI,wI,xI,yI,zI,AI,BI,CI,DI,EI,FI,GI,rka,HI,II,JI,KI,ska,LI,MI,NI,OI,PI,RI,tka,UI,xka,eJ,VI,dJ,yka,gJ,hJ,iJ,jJ,kJ,lJ,nJ,oJ,pJ,qJ,sJ,tJ,
uJ,vJ,Aka,wJ,xJ,yJ,zJ,AJ,BJ,CJ,DJ,EJ,Bka,GJ,JJ,Cka,FJ,NJ,OJ,LJ,IJ,PJ,QJ,KJ,MJ,RJ,SJ,TJ,Dka,VJ,WJ,YJ,XJ,Eka,ZJ,$J,aK,Fka,cK,bK,dK,eK,fK,gK,hK,mK,oK,Gka,jK,pK,rK,qK,nK,uK,Hka,vK,iK,kK,lK,tK,sK,wK,xK,yK,zK,AK,BK,CK,Ika,Jka,EK,HK,IK,KK,GK,Kka,LK,MK,NK,OK,Lka,Mka,PK,Nka,RK,QK,TK,VK,WK,XK,ZK,Oka,$K,aL,bL,cL,eL,fL,dL,gL,hL,Pka,iL,jL,kL,lL,mL,Qka,Rka,Vka,Wka,Ska,Tka,Uka,oL,qL,Xka,rL,uL,vL,wL,Yka,yL,$ka,Zka,zL,ala,AL,DL,dla,ela,EL,FL,fla,GL,HL,gla,IL,JL,hla,ila,KL,BL,bla,jla,NL,PL,QL,SL,TL,OL,VL,WL,XL,kla,
bM,rla,aM,$L,cM,sla,eM,ula,wla,vla,xla,yla,fM,hM,gM,iM,zla,kM,lM,mM,nM,oM,pM,jM,qM,rM,sM,tM,uM,vM,wM,xM,zM,AM,BM,RM,SM,TM,UM,VM,Gla,WM,YM,JM,PM,bN,Hla,IM,HM,dN,NM,fN,Ila,gN,Jla,hN,Kla,Lla,iN,Mla,jN,kN,lN,mN,Nla,nN,qN,sN,uN,tN,vN,rN,wN,xN,Pla,zN,Rla,AN,LN,DN,Sla,NN,Tla,ON,PN,SN,XN,bO,cO,UN,eO,fO,dO,iO,jO,WN,nO,TN,VN,pO,Yla,Zla,aO,YN,gO,ZN,qO,QN,kO,RN,ama,$N,mO,rO,cma,xO,yO,kma,zO,AO,CO,EO,lma,HO,JO,KO,NO,OO,GO,mma,ema,fma,gma,dma,RO,SO,DO,oma,UO,VO,WO,XO,YO,ZO,wO,hma,$O,aP,cP,eP,fP,gP,pma,hP,jP,lP,
bP,nP,oP,pP,sP,tP,rma,qP,vP,wP,xP,yP,zP,AP,sma,BP,CP,uma,FP,HP,IP,JP,KP,GP,OP,tma,SP,UP,XP,WP,YP,ZP,wma,$P,VP,aQ,bQ,xma,dQ,cQ,fQ,wQ,xQ,yQ,zQ,CQ,DQ,BQ,AQ,EQ,FQ,GQ,HQ,KQ,MQ,zma,RQ,SQ,TQ,UQ,Ama,Bma,PQ,VQ,WQ,XQ,YQ,Cma,ZQ,$Q,bR,dR,fR,eR,gR,hR,iR,cR,aR,Dma,kR,lR,mR,nR,oR,pR,qR,rR,sR,jR,Ema,Fma,Gma,tR,Hma,Ima,Jma,Kma,Lma,uR,vR,zR,yR,AR,wR,BR,CR,DR,xR,ER,FR,KR,IR,JR,LR,NR,GR,MR,HR,OR,PR,Nma,QR,RR,SR,UR,VR,TR,XR,YR,WR,$R,Oma,ZR,aS,bS,Pma,cS,Qma,dS,eS,fS,gS,Sma,Tma,hS,iS,jS,Rma,kS,mS,lS,oS,nS,pS,qS,sS,rS,vS,
wS,yS,zS,uS,AS,BS,tS,CS,DS,ES,FS,xS,GS,Uma,Vma,Wma,Xma,IS,Yma,Zma,HS,JS,$ma,bna,dna,NS,OS,PS,ana,cna,KS,ena,LS,MS,fna,QS,gna,hna,ina,RS,SS,jna,kna,lna,ona,nna,mna,US,TS,pna,qna,sna,rna,tna,VS,WS,XS,una,vna,wna,YS,$S,aT,bT,yna,dT,fT,Ana,Bna,gT,Cna,Dna,Gna,Ena,Hna,Kna,Jna,Lna,Fna,jT,Ina,Mna,eT,zna,Ona,Nna,Pna,ZS,kT,iT,lT,cT,Qna,Rna,Sna,Tna,Una,Vna,Wna,Xna,mT,nT,oT,Zna,Yna,$na,pT,qT,aoa,coa,doa,sT,rT,eoa,foa,goa,hoa,ioa,joa,koa,loa,tT,uT,vT,ooa,noa,xT,wT,qoa,roa,poa,soa,toa,yT,uoa,woa,xoa,yoa,AT,BT,
rP,uP,PP,CT,DT,Aoa,FT,zoa,Boa,Coa,Doa,GT,Eoa,ET,Foa,HT,Hoa,Ioa,Goa,IT,JT,KT,LT,MT,NT,PT,QT,XT,Ooa,ST,$T,aU,UT,bU,dU,cU,OT,Noa,Poa,iU,hU,Roa,eU,mU,Toa,lU,rU,Uoa,Voa,jU,sU,Woa,Joa,TT,nU,vU,apa,oU,cpa,dpa,epa,bpa,gU,xU,fU,fpa,Xoa,Zoa,Yoa,$oa,zU,hpa,AU,VT,Soa,ipa,yU,WT,jpa,BU,qU,RT,gpa,tU,CU,pU,wU,DU,EU,HU,OU,XU,gV,opa,ppa,nV,rpa,qpa,qV,pV,spa,rV,tpa,sV,upa,vpa,wpa,ypa,zpa,Bpa,Cpa,Dpa,Epa,Fpa,Gpa,Hpa,zV,Jpa,Kpa,Lpa,Mpa,Npa,Ppa,Qpa,Rpa,BV,DV,GV,HV,IV,JV,KV,Spa,MV,LV,NV,PV,QV,Upa,RV,SV,Vpa,TV,UV,Wpa,cqa,
Zpa,$pa,bqa,aqa,Xpa,Ypa,dqa,YV,ZV,$V,eqa,fqa,gqa,iqa,hqa,eW,gW,jqa,hW,kqa,oqa,pqa,iW,jW,qqa,rqa,lW,uqa,kW,mW,tqa,nW,sqa,vqa,wqa,oW,xqa,pW,yqa,rW,qW,sW,uW,wW,yW,zW,zqa,Bqa,Cqa,Dqa,AW,BW,CW,DW,EW,FW,GW,Eqa,Fqa,HW,IW,Gqa,JW,KW,LW,Hqa,Iqa,Mqa,Kqa,Jqa,NW,Lqa,OW,Oqa,Nqa,PW,Pqa,QW,RW,Qqa,Rqa,Sqa,VW,WW,XW,Tqa,YW,$W,Uqa,SW,ZW,UW,TW,eX,fX,Vqa,bX,Wqa,dX,Xqa,Yqa,Zqa,ara,$qa,fra,cra,era,gX,gra,iX,jX,kX,lX,mX,hra,ira,nX,oX,pX,jra,qX,sX,rX,tX,lra,kra,mra,nra,ora,pra,xX,yX,zX,qra,rra,AX,tra,BX,sra,CX,ura,DX,EX,vra,
wra,yra,xra,zra,FX,GX,Ara,Bra,Cra,Dra,Fra,IX,JX,KX,HX,Era,LX,uX,aX,Hra,MX,NX,PX,WV,VV,cX,RX,SX,Ira,TX,UX,Kra,XV,Lra,WX,vX,Mra,ZX,Aqa,xW,$X,OX,dW,Pra,Ora,aY,Rra,cY,dY,Sra,eY,Tra,hY,iY,Ura,Vra,gY,jY,lY,mY,Wra,Xra,Zra,nY,Yra,oY,asa,$ra,pY,bsa,csa,qY,rY,tY,sY,uY,dsa,esa,wY,fsa,vY,xY,gsa,yY,zY,isa,hsa,AY,CY,DY,jsa,ksa,FY,EY,HY,lsa,IY,msa,psa,NY,MY,qsa,QY,RY,SY,TY,UY,VY,WY,ssa,rsa,tsa,XY,usa,vsa,YY,xsa,$Y,wsa,aZ,ysa,bZ,zsa,cZ,dZ,Asa,eZ,fZ,gZ,Bsa,Csa,hZ,iZ,jZ,kZ,Dsa,lZ,mZ,nZ,Esa,oZ,qZ,pZ,rZ,Fsa,sZ,tZ,uZ,
vZ,Gsa,Jsa,wZ,Hsa,Isa,xZ,Lsa,Msa,Nsa,zZ,Rsa,Qsa,Ssa,Tsa,Usa,BZ,Vsa,Xsa,Wsa,ata,HZ,bta,IZ,EZ,dta,KZ,GZ,JZ,Zsa,cta,eta,$sa,LZ,OZ,PZ,QZ,fta,RZ,SZ,TZ,UZ,gta,VZ,hta,WZ,XZ,YZ,ZZ,$Z,a_,ita,b_,c_,d_,g_,f_,h_,i_,j_,jta,kta,k_,lta,m_,nta,ota,p_,GY,qta,pta,o_,rta,yZ,sta,uta,vta,tta,r_,wta,q_,s_,t_,u_,x_,w_,y_,yta,A_,B_,C_,zta,Ata,Bta,Cta,D_,H_,vW,Dta,I_,J_,K_,L_,Eta,M_,Gta,Fta,Mta,Q_,R_,S_,N_,U_,Nta,tW,Ota,Pta,V_,QX,Qta,W_,Jta,Kta,Tta,Z_,O_,Vta,c0,Lta,d0,e0,Yta,Y_,X_,g0,$ta,b0,YX,i0,Uta,h0,k0,m0,l0,n0,q0,aua,
f0,Zta,bua,YU,Nra,UH,cua,a0,dua,s0,$U,VX,XX,eua,j0,fua,t0,gua,hua,Ita,Xta,Wta,aa,fa,ea,aaa,ma,u0,yx,Jaa,$c,Ca,baa;ba=function(a){return function(){return aa[a].apply(this,arguments)}};
g.ca=function(a,b){return aa[a]=b};
da=function(){da=function(){};
ea.Symbol||(ea.Symbol=aaa)};
ia=function(){da();var a=ea.Symbol.iterator;a||(a=ea.Symbol.iterator=ea.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&fa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(this)}});
ia=function(){}};
ha=function(a){var b=0;return ka(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};
ka=function(a){ia();a={next:a};a[ea.Symbol.iterator]=function(){return this};
return a};
g.la=function(a){ia();var b=a[window.Symbol.iterator];return b?b.call(a):ha(a)};
g.p=function(a,b){a.prototype=ma(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.aa=b.prototype};
g.pa=function(a){if(!(a instanceof Array)){a=g.la(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=ea,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&fa(c,d,{configurable:!0,writable:!0,value:f})}};
ra=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
sa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.t=function(a){return void 0!==a};
g.v=function(a){return"string"==typeof a};
g.ta=function(a){return"boolean"==typeof a};
g.ua=function(a){return"number"==typeof a};
g.va=function(a,b,c){a=a.split(".");c=c||g.w;a[0]in c||"undefined"==typeof 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.w,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d};
g.y=function(){};
g.wa=function(a){a.Zc=void 0;a.getInstance=function(){return a.Zc?a.Zc:a.Zc=new a}};
xa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};
g.ya=function(a){return"array"==xa(a)};
g.za=function(a){var b=xa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.Aa=function(a){return"function"==xa(a)};
g.Ba=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Da=function(a){return a[Ca]||(a[Ca]=++baa)};
caa=function(a,b,c){return a.call.apply(a.bind,arguments)};
daa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};
g.z=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.z=caa:g.z=daa;return g.z.apply(null,arguments)};
g.Ea=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};
g.Fa=function(a,b){for(var c in b)a[c]=b[c]};
Ha=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return null!=b&&d in b?b[d]:a}));
return a};
g.A=function(a,b){function c(){}
c.prototype=b.prototype;a.aa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.s3=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)}};
Ia=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ia);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
g.Ja=function(a){return a[a.length-1]};
Ka=function(a,b){var c=0;(0,g.B)(a,function(a,e,f){b.call(void 0,a,e,f)&&++c},void 0);
return c};
g.Ma=function(a,b,c){b=g.La(a,b,c);return 0>b?null:g.v(a)?a.charAt(b):a[b]};
g.La=function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
Oa=function(a,b){var c=g.Na(a,b,void 0);return 0>c?null:g.v(a)?a.charAt(c):a[c]};
g.Na=function(a,b,c){for(var d=g.v(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.Qa=function(a,b){return 0<=(0,g.Pa)(a,b)};
g.Ra=function(a){return 0==a.length};
Sa=function(a){if(!g.ya(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.Ta=function(a,b){g.Qa(a,b)||a.push(b)};
g.Va=function(a,b){var c=(0,g.Pa)(a,b),d;(d=0<=c)&&g.Ua(a,c);return d};
g.Ua=function(a,b){Array.prototype.splice.call(a,b,1)};
g.Wa=function(a,b){var c=g.La(a,b,void 0);0<=c&&g.Ua(a,c)};
g.Xa=function(a){return Array.prototype.concat.apply([],arguments)};
g.Ya=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[]};
Za=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.za(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}};
g.bb=function(a,b,c,d){Array.prototype.splice.apply(a,g.ab(arguments,1))};
g.ab=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
cb=function(a,b,c){function d(a){return g.Ba(a)?"o"+g.Da(a):(typeof a).charAt(0)+a}
b=b||a;c=c||d;for(var e={},f=0,k=0;k<a.length;){var l=a[k++],m=c(l);Object.prototype.hasOwnProperty.call(e,m)||(e[m]=!0,b[f++]=l)}b.length=f};
g.fb=function(a,b,c){return db(a,c||eb,!1,b)};
gb=function(a,b){return db(a,b,!0,void 0,void 0)};
db=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.ib=function(a,b){a.sort(b||eb)};
eaa=function(a,b){var c=eb;g.ib(a,function(a,e){return c(b(a),b(e))})};
g.jb=function(a,b){if(!g.za(a)||!g.za(b)||a.length!=b.length)return!1;for(var c=a.length,d=faa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
eb=function(a,b){return a>b?1:a<b?-1:0};
faa=function(a,b){return a===b};
g.kb=function(a,b,c){c=g.fb(a,b,c);0>c&&g.bb(a,-(c+1),0,b)};
g.lb=function(a,b,c){var d={};(0,g.B)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
gaa=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
g.nb=function(a,b){return 0==a.lastIndexOf(b,0)};
ob=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
g.D=function(a){return/^[\s\xa0]*$/.test(a)};
g.pb=function(a){return(0,window.encodeURIComponent)(String(a))};
qb=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))};
g.rb=function(a){if(!haa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(iaa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(jaa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(kaa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(laa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(maa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(naa,"&#0;"));return a};
sb=function(a){return-1!=a.indexOf("&")?"document"in g.w?oaa(a):paa(a):a};
oaa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=g.w.document.createElement("div");return a.replace(qaa,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})};
paa=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}})};
tb=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
ub=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
g.wb=function(a,b,c){a=g.t(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return vb("0",Math.max(0,b-c))+a};
g.E=function(a){return null==a?"":String(a)};
g.xb=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.F)()).toString(36)};
g.Ab=function(a,b){for(var c=0,d=yb(String(a)).split("."),e=yb(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=zb(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||zb(0==l[2].length,0==m[2].length)||zb(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
zb=function(a,b){return a<b?-1:a>b?1:0};
g.Bb=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Cb=function(){return"goog_"+raa++};
Db=function(a){var b=Number(a);return 0==b&&g.D(a)?window.NaN:b};
Eb=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};
g.Fb=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
saa=function(a){var b=g.v(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};
Hb=function(a){(0,window.isFinite)(a)&&(a=String(a));return g.v(a)?/^\s*-?0x/i.test(a)?(0,window.parseInt)(a,16):(0,window.parseInt)(a,10):window.NaN};
Jb=function(a){return-1!=g.Ib.indexOf(a)};
g.Kb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Lb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
Mb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.Ob=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
g.Pb=function(a){var b=0,c;for(c in a)b++;return b};
g.Qb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Rb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Tb=function(a,b){var c=g.za(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
Ub=function(a,b){return null!==a&&b in a};
g.Vb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Wb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
Xb=function(a,b){var c=Wb(a,b,void 0);return c&&a[c]};
g.Yb=function(a){for(var b in a)return!1;return!0};
g.Zb=function(a){for(var b in a)delete a[b]};
$b=function(a,b){b in a&&delete a[b]};
ac=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.bc=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0};
g.cc=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
g.dc=function(a){var b=xa(a);if("object"==b||"array"==b){if(g.Aa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.dc(a[c]);return b}return a};
g.fc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<ec.length;f++)c=ec[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
gc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
ic=function(){return Jb("Safari")&&!(hc()||Jb("Coast")||Jb("Opera")||Jb("Edge")||Jb("Silk")||Jb("Android"))};
hc=function(){return(Jb("Chrome")||Jb("CriOS"))&&!Jb("Edge")};
g.jc=function(){return Jb("Android")&&!(hc()||Jb("Firefox")||Jb("Opera")||Jb("Silk"))};
kc=function(){return Jb("iPhone")&&!Jb("iPod")&&!Jb("iPad")};
mc=function(){return kc()||Jb("iPad")||Jb("iPod")};
nc=function(a){nc[" "](a);return a};
oc=function(a,b){try{return nc(a[b]),!0}catch(c){}return!1};
uaa=function(a,b){var c=taa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
pc=function(){var a=g.w.document;return a?a.documentMode:void 0};
g.sc=function(a){return uaa(a,function(){return 0<=g.Ab(rc,a)})};
g.tc=function(a){return Number(vaa)>=a};
vc=function(){this.g="";this.l=uc};
wc=function(a){return a instanceof vc&&a.constructor===vc&&a.l===uc?a.g:"type_error:Const"};
g.xc=function(a){var b=new vc;b.g=a;return b};
yc=function(a,b){return b?a.replace(waa,""):a};
zc=function(a,b){for(var c=0,d=0,e=!1,f=yc(a,b).split(xaa),k=0;k<f.length;k++){var l=f[k];yaa.test(yc(l,void 0))?(c++,d++):zaa.test(l)?e=!0:Aaa.test(yc(l,void 0))?d++:Baa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
Bc=function(){this.l="";this.o=Ac};
Cc=function(a){if(a instanceof Bc&&a.constructor===Bc&&a.o===Ac)return a.l;xa(a);return"type_error:TrustedResourceUrl"};
Ec=function(a){var b=new Bc;b.l=a;return b};
Gc=function(){this.l="";this.o=Fc};
g.Hc=function(a){if(a instanceof Gc&&a.constructor===Gc&&a.o===Fc)return a.l;xa(a);return"type_error:SafeUrl"};
g.Kc=function(a){if(a instanceof Gc)return a;a=a.rg?a.Fe():String(a);Ic.test(a)||(a="about:invalid#zClosurez");return Jc(a)};
Lc=function(a){if(a instanceof Gc)return a;a=a.rg?a.Fe():String(a);Ic.test(a)||(a="about:invalid#zClosurez");return Jc(a)};
Jc=function(a){var b=new Gc;b.l=a;return b};
Nc=function(){this.g="";this.l=Mc};
Oc=function(a){var b=new Nc;b.g=a;return b};
Qc=function(a){if(a instanceof Gc)return'url("'+g.Hc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof vc)a=wc(a);else{a=String(a);var b=a.replace(Caa,"$1").replace(Pc,"url");if(Daa.test(b)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}a=b&&c?Eaa(a):"zClosurez"}else a="zClosurez"}return a};
Eaa=function(a){return a.replace(Pc,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});
a=g.Kc(d).Fe();return c+b+a+b+e})};
g.Sc=function(){this.l="";this.A=Rc;this.o=null};
g.Tc=function(a){if(a instanceof g.Sc&&a.constructor===g.Sc&&a.A===Rc)return a.l;xa(a);return"type_error:SafeHtml"};
Vc=function(a){if(a instanceof g.Sc)return a;var b=null;a.Rr&&(b=a.g());a=g.rb(a.rg?a.Fe():String(a));return Uc(a,b)};
Faa=function(a){function b(a){g.ya(a)?(0,g.B)(a,b):(a=Vc(a),d+=g.Tc(a),a=a.g(),0==c?c=a:0!=a&&c!=a&&(c=null))}
var c=0,d="";(0,g.B)(arguments,b);return Uc(d,c)};
Uc=function(a,b){var c=new g.Sc;c.l=a;c.o=b;return c};
Xc=function(a,b,c){var d=null,e="";if(b)for(q in b){if(!Wc.test(q))throw Error('Invalid attribute name "'+q+'".');var f=b[q];if(null!=f){var k=a;var l=q;var m=f;if(m instanceof vc)m=wc(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.Ba(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Nc)){m="";for(f in k){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var n=k[f];
null!=n&&(n=g.ya(n)?(0,g.G)(n,Qc).join(" "):Qc(n),m+=f+":"+n+";")}k=m?Oc(m):Gaa}k instanceof Nc&&k.constructor===Nc&&k.l===Mc?f=k.g:(xa(k),f="type_error:SafeStyle");m=f}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in Haa)if(m instanceof Bc)m=Cc(m);else if(m instanceof Gc)m=g.Hc(m);else if(g.v(m))m=g.Kc(m).Fe();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+
m+'" given.');}m.rg&&(m=m.Fe());l=l+'="'+g.rb(String(m))+'"';e+=" "+l}}var q="<"+a+e;null!=c?g.ya(c)||(c=[c]):c=[];!0===Iaa[a.toLowerCase()]?q+=">":(d=Faa(c),q+=">"+g.Tc(d)+"</"+a+">",d=d.g());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Uc(q,d)};
Yc=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.Zc=function(a,b){var c=b instanceof Gc?b:Lc(b);a.href=g.Hc(c)};
g.ad=function(a,b){a.src=Cc(b);var c;if(null===$c){a:{if((c=g.w.document.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Jaa.test(c))break a;c=null}$c=c||""}if(c=$c)a.nonce=c};
g.bd=function(a,b){wc(a);wc(a);return Uc(b,null)};
g.cd=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.dd=function(a,b){var c=a%b;return 0>c*b?c+b:c};
ed=function(a,b,c){return a+c*(b-a)};
g.fd=function(a){return a*Math.PI/180};
g.gd=function(a,b){this.x=g.t(a)?a:0;this.y=g.t(b)?b:0};
id=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.jd=function(a,b){return new g.gd(a.x-b.x,a.y-b.y)};
g.kd=function(a,b){this.width=a;this.height=b};
g.ld=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
g.pd=function(a){return a?new md(g.nd(a)):od||(od=new md)};
g.qd=function(a){return g.v(a)?window.document.getElementById(a):a};
g.sd=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.rd(window.document,"*",a,b)};
g.H=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.rd(c,"*",a,b)[0]||null}return c||null};
g.rd=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,k;k=a[f];f++)b==k.nodeName&&(d[e++]=k);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;k=a[f];f++)b=k.className,"function"==typeof b.split&&g.Qa(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a};
g.ud=function(a,b){g.Kb(b,function(b,d){b&&b.rg&&(b=b.Fe());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:td.hasOwnProperty(d)?a.setAttribute(td[d],b):g.nb(d,"aria-")||g.nb(d,"data-")?a.setAttribute(d,b):a[d]=b})};
g.wd=function(a){a=a.document;a=g.vd(a)?a.documentElement:a.body;return new g.kd(a.clientWidth,a.clientHeight)};
g.zd=function(a){var b=xd(a);a=a.parentWindow||a.defaultView;return g.yd&&g.sc("10")&&a.pageYOffset!=b.scrollTop?new g.gd(b.scrollLeft,b.scrollTop):new g.gd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
xd=function(a){return a.scrollingElement?a.scrollingElement:!g.Ad&&g.vd(a)?a.documentElement:a.body||a.documentElement};
Bd=function(a){return a?a.parentWindow||a.defaultView:window};
g.J=function(a,b,c){return Cd(window.document,arguments)};
Cd=function(a,b){var c=String(b[0]),d=b[1];if(!Kaa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',g.rb(d.name),'"');if(d.type){c.push(' type="',g.rb(d.type),'"');var e={};g.fc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.v(d)?c.className=d:g.ya(d)?c.className=d.join(" "):g.ud(c,d));2<b.length&&Dd(a,c,b,2);return c};
Dd=function(a,b,c,d){function e(c){c&&b.appendChild(g.v(c)?a.createTextNode(c):c)}
for(;d<c.length;d++){var f=c[d];!g.za(f)||g.Ba(f)&&0<f.nodeType?e(f):(0,g.B)(Laa(f)?g.Ya(f):f,e)}};
g.Ed=function(a){return window.document.createElement(String(a))};
g.Fd=function(a){return window.document.createTextNode(String(a))};
g.vd=function(a){return"CSS1Compat"==a.compatMode};
g.Gd=function(a,b){a.appendChild(b)};
g.Hd=function(a,b){Dd(g.nd(a),a,arguments,1)};
g.Id=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
Jd=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.Kd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.Md=function(a){return Maa&&void 0!=a.children?a.children:(0,g.Ld)(a.childNodes,function(a){return 1==a.nodeType})};
g.Od=function(a){return g.t(a.firstElementChild)?a.firstElementChild:Nd(a.firstChild)};
Nd=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.Pd=function(a){var b;if(Naa&&!(g.yd&&g.sc("9")&&!g.sc("10")&&g.w.SVGElement&&a instanceof g.w.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Ba(b)&&1==b.nodeType?b:null};
g.Qd=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.nd=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
Sd=function(a){try{return a.contentWindow||(a.contentDocument?Bd(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.Id(a);var c=g.nd(a);a.appendChild(c.createTextNode(String(b)))}};
Ud=function(a){if("outerHTML"in a)return a.outerHTML;var b=g.nd(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
g.Yd=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.yd){var c;!g.Aa(a.getBoundingClientRect)||g.yd&&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.yd&&!g.sc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Wd=function(a){a=a.tabIndex;return g.ua(a)&&0<=a&&32768>a};
Laa=function(a){if(a&&"number"==typeof a.length){if(g.Ba(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Aa(a))return"function"==typeof a.item}return!1};
g.$d=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.Zd(a,function(a){return(!e||a.nodeName==e)&&(!c||g.v(a.className)&&g.Qa(a.className.split(/\s+/),c))},!0,d)};
g.ae=function(a,b){return g.$d(a,null,b,void 0)};
g.Zd=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.be=function(){var a=window.document;try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}};
md=function(a){this.g=a||g.w.document||window.document};
g.ce=function(a){a=a.g;return a.parentWindow||a.defaultView};
g.de=function(a){Oaa();return Ec(a)};
g.ee=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
g.fe=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192){var d=g.ab(a,c,c+8192);b+=String.fromCharCode.apply(null,d)}return b};
Paa=function(a){return(0,g.G)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};
g.ke=function(a,b){g.za(a);ge();for(var c=b?he:je,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("")};
me=function(a){var b=[];le(a,function(a){b.push(a)});
return b};
ne=function(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var d=new window.Uint8Array(Math.ceil(3*b/4)-c),e=0;le(a,function(a){d[e++]=a});
return d.subarray(0,e)};
le=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=oe[c];if(null!=e)return e;if(!g.D(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
ge();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))}};
ge=function(){if(!je){je={};oe={};he={};for(var a=0;65>a;a++)je[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),oe[je[a]]=a,he[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(oe["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
qe=function(a,b,c){this.l=null;this.C=this.D=this.g=this.o=this.A=0;this.B=!1;a&&pe(this,a,b,c)};
se=function(a,b,c){if(re.length){var d=re.pop();a&&pe(d,a,b,c);return d}return new qe(a,b,c)};
pe=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?ne(b):new window.Uint8Array(0);a.l=b;a.A=g.t(c)?c:0;a.o=g.t(d)?a.A+d:a.l.length;a.g=a.A};
te=function(a){var b=a.l;var c=b[a.g+0];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128>c)return a.g+=5,d>>>0;a.g+=5;128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&a.g++;return d};
ue=function(a){this.g=se(a,void 0,void 0);this.l=this.o=-1;this.A=!1};
ve=function(a){var b=a.g;if(b.g==b.o||a.getError())return!1;b=te(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.A=!0,!1;a.o=b>>>3;a.l=c;return!0};
we=function(a){switch(a.l){case 0:if(0!=a.l)we(a);else{for(a=a.g;a.l[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.l?we(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.l)we(a);else{var b=te(a.g);a=a.g;a.g+=b}break;case 5:5!=a.l?we(a):(a=a.g,a.g+=4);break;case 3:b=[a.o];do{if(!ve(a)){a.A=!0;break}if(3==a.l)b.push(a.o);else if(4==a.l&&a.o!=b.pop()){a.A=!0;break}}while(0<b.length)}};
xe=function(a){a=a.g;a:{for(var b,c=0,d,e=0;4>e;e++)if(b=a.l[a.g++],c|=(b&127)<<7*e,128>b){a.D=c>>>0;a.C=0;break a}b=a.l[a.g++];c|=(b&127)<<28;d=0|(b&127)>>4;if(128>b)a.D=c>>>0,a.C=d>>>0;else{for(e=0;5>e;e++)if(b=a.l[a.g++],d|=(b&127)<<7*e+3,128>b){a.D=c>>>0;a.C=d>>>0;break a}a.B=!0}}b=a.D;c=a.C;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+b;return a?-b:b};
ye=function(a){var b=te(a.g);a=a.g;var c=a.l,d=a.g;b=d+b;for(var e=[],f="";d<b;){var k=c[d++];if(128>k)e.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];e.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];e.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;e.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=e.length&&(f+=String.fromCharCode.apply(null,e),e.length=0)}f+=g.fe(e);a.g=d;return f};
ze=function(a){var b=te(a.g);a=a.g;if(0>b||a.g+b>a.l.length)a.B=!0,b=new window.Uint8Array(0);else{var c=a.l.subarray(a.g,a.g+b);a.g+=b;b=c}return b};
Ae=function(){};
He=function(a,b,c,d){a.g=null;b||(b=[]);a.D=void 0;a.A=-1;a.l=b;a:{if(a.l.length){b=a.l.length-1;var e=a.l[b];if(e&&"object"==typeof e&&!g.ya(e)&&!(Be&&e instanceof window.Uint8Array)){a.B=b-a.A;a.o=e;break a}}a.B=Number.MAX_VALUE}a.C={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.B?(e+=a.A,a.l[e]=a.l[e]||De):(Ee(a),a.o[e]=a.o[e]||De);if(d&&d.length)for(b=0;b<d.length;b++){e=c=void 0;for(var f=a,k=d[b],l=0;l<k.length;l++){var m=k[l],n=Fe(f,m);null!=n&&(e=m,c=n,Ge(f,m,void 0))}e&&Ge(f,e,c)}};
Ee=function(a){var b=a.B+a.A;a.l[b]||(a.o=a.l[b]={})};
Fe=function(a,b){if(b<a.B){var c=b+a.A,d=a.l[c];return d===De?a.l[c]=[]:d}if(a.o)return d=a.o[b],d===De?a.o[b]=[]:d};
Ie=function(a,b){if(b<a.B){var c=b+a.A,d=a.l[c];return d===De?a.l[c]=[]:d}d=a.o[b];return d===De?a.o[b]=[]:d};
Qaa=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.v(a))return ne(a);xa(a);return null};
Ge=function(a,b,c){b<a.B?a.l[b+a.A]=c:(Ee(a),a.o[b]=c)};
Je=function(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=Fe(a,c);d&&(a.g[c]=new b(d))}return a.g[c]};
Raa=function(a){Ke(a,Le,1);var b=a.g[1];b==De&&(b=a.g[1]=[]);return b};
Ke=function(a,b,c){a.g||(a.g={});if(!a.g[c]){for(var d=Ie(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.g[c]=e}};
Ne=function(a){if(a.g)for(var b in a.g){var c=a.g[b];if(g.ya(c))for(var d=0;d<c.length;d++)c[d]&&Me(c[d]);else c&&Me(c)}};
Me=function(a){Ne(a);return a.l};
Oe=function(a){if(g.ya(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?Oe(d):d)}return b}if(Be&&a instanceof window.Uint8Array)return new window.Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?Oe(d):d);return b};
Pe=function(a){He(this,a,null,null)};
Re=function(a){return Je(a,Qe,1)};
Qe=function(a){He(this,a,null,null)};
Se=function(a){He(this,a,null,Saa)};
Te=function(a){He(this,a,null,Taa)};
Ue=function(a){He(this,a,null,Uaa)};
Ve=function(a){He(this,a,null,null)};
We=function(a){He(this,a,null,null)};
Xe=function(a){He(this,a,null,null)};
Ye=function(a){He(this,a,null,null)};
Ze=function(a){He(this,a,null,null)};
$e=function(a){He(this,a,Vaa,null)};
Le=function(a){He(this,a,null,null)};
af=function(a){for(var b=[],c=a=Bd(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.K=function(){this.Cb=this.Cb;this.Ya=this.Ya};
g.L=function(a,b){g.bf(a,g.Ea(g.cf,b))};
g.bf=function(a,b){a.Cb?g.t(void 0)?b.call(void 0):b():(a.Ya||(a.Ya=[]),a.Ya.push(g.t(void 0)?(0,g.z)(b,void 0):b))};
g.cf=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.df=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.za(d)?g.df.apply(null,d):g.cf(d)}};
g.ef=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.yi=!1;this.EC=!0};
ff=function(a){a.stopPropagation()};
hf=function(a){return g.Ad?"webkit"+a:g.gf?"o"+a.toLowerCase():a.toLowerCase()};
jf=function(a,b){g.ef.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.g=null;a&&this.init(a,b)};
g.lf=function(a){return!(!a||!a[g.kf])};
Xaa=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.Kf=e;this.key=++Waa;this.Rj=this.Lm=!1};
mf=function(a){a.Rj=!0;a.listener=null;a.g=null;a.src=null;a.Kf=null};
nf=function(a){this.src=a;this.listeners={};this.g=0};
of=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.Va(a.listeners[c],b);d&&(mf(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,mf(d[e]);delete a.listeners[c];a.g--}};
qf=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.Kf==d)return e}return-1};
g.sf=function(a,b,c,d,e){if(d&&d.once)return rf(a,b,c,d,e);if(g.ya(b)){for(var f=0;f<b.length;f++)g.sf(a,b[f],c,d,e);return null}c=tf(c);return g.lf(a)?a.U(b,c,g.Ba(d)?!!d.capture:!!d,e):uf(a,b,c,!1,d,e)};
uf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Ba(e)?!!e.capture:!!e,l=g.vf(a);l||(a[wf]=l=new nf(a));c=l.add(b,c,d,k,f);if(c.g)return c;d=Yaa();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)Zaa||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(xf(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");yf++;return c};
Yaa=function(){var a=$aa,b=zf?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};
rf=function(a,b,c,d,e){if(g.ya(b)){for(var f=0;f<b.length;f++)rf(a,b[f],c,d,e);return null}c=tf(c);return g.lf(a)?a.hh(b,c,g.Ba(d)?!!d.capture:!!d,e):uf(a,b,c,!0,d,e)};
g.Af=function(a,b,c,d,e){if(g.ya(b))for(var f=0;f<b.length;f++)g.Af(a,b[f],c,d,e);else d=g.Ba(d)?!!d.capture:!!d,c=tf(c),g.lf(a)?a.Aa(b,c,d,e):a&&(a=g.vf(a))&&(b=a.Jk(b,c,d,e))&&g.Bf(b)};
g.Bf=function(a){if(g.ua(a)||!a||a.Rj)return!1;var b=a.src;if(g.lf(b))return of(b.ze,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(xf(c),d):b.addListener&&b.removeListener&&b.removeListener(d);yf--;(c=g.vf(b))?(of(c,a),0==c.g&&(c.src=null,b[wf]=null)):mf(a);return!0};
xf=function(a){return a in Cf?Cf[a]:Cf[a]="on"+a};
Ef=function(a,b,c,d){var e=!0;if(a=g.vf(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=Df(f,d),e=e&&!1!==f)}return e};
Df=function(a,b){var c=a.listener,d=a.Kf||a.src;a.Lm&&g.Bf(a);return c.call(d,b)};
$aa=function(a,b){if(a.Rj)return!0;if(!zf){var c=b||g.x("window.event"),d=new jf(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var k=c.length-1;!d.yi&&0<=k;k--){d.currentTarget=c[k];var l=Ef(c[k],f,!0,d);e=e&&l}for(k=0;!d.yi&&k<c.length;k++)d.currentTarget=c[k],l=Ef(c[k],f,!1,d),e=e&&l}return e}return Df(a,new jf(b,
this))};
g.vf=function(a){a=a[wf];return a instanceof nf?a:null};
tf=function(a){if(g.Aa(a))return a;a[Ff]||(a[Ff]=function(b){return a.handleEvent(b)});
return a[Ff]};
g.Gf=function(){g.K.call(this);this.ze=new nf(this);this.Jb=this;this.ya=null};
Hf=function(a,b,c,d){b=a.ze.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.Kf||k.src;k.Lm&&of(a.ze,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.EC};
If=function(a,b){this.o=a;this.A=b;this.l=0;this.g=null};
Jf=function(a,b){a.A(b);100>a.l&&(a.l++,b.next=a.g,a.g=b)};
Kf=function(a){return function(){return a}};
aba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
g.Lf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
Mf=function(a){g.w.setTimeout(function(){throw a;},0)};
Of=function(a,b){var c=a;b&&(c=(0,g.z)(a,b));!g.Aa(g.w.setImmediate)||g.w.Window&&g.w.Window.prototype&&!Jb("Edge")&&g.w.Window.prototype.setImmediate==g.w.setImmediate?(Nf||(Nf=bba()),Nf(c)):g.w.setImmediate(c)};
bba=function(){var a=g.w.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Jb("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.z)(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&&!Jb("Trident")&&!Jb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.t(c.next)){c=c.next;var a=c.yw;c.yw=null;a()}};
return function(a){d.next={yw: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.w.setTimeout(a,0)}};
Pf=function(){this.l=this.g=null};
Qf=function(){this.next=this.scope=this.g=null};
g.Uf=function(a,b){Rf||cba();Sf||(Rf(),Sf=!0);Tf.add(a,b)};
cba=function(){if(g.w.Promise&&g.w.Promise.resolve){var a=g.w.Promise.resolve(void 0);Rf=function(){a.then(Vf)}}else Rf=function(){Of(Vf)}};
Vf=function(){for(var a;a=Tf.remove();){try{a.g.call(a.scope)}catch(b){Mf(b)}Jf(Wf,a)}Sf=!1};
Xf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};
Yf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.$f=function(a,b){this.g=0;this.D=void 0;this.A=this.l=this.o=null;this.B=this.C=!1;if(a!=g.y)try{var c=this;a.call(b,function(a){Zf(c,2,a)},function(a){Zf(c,3,a)})}catch(d){Zf(this,3,d)}};
ag=function(){this.next=this.context=this.onRejected=this.o=this.g=null;this.l=!1};
cg=function(a,b,c){var d=bg.get();d.o=a;d.onRejected=b;d.context=c;return d};
dg=function(a){if(a instanceof g.$f)return a;var b=new g.$f(g.y);Zf(b,2,a);return b};
eg=function(a){return new g.$f(function(b,c){c(a)})};
gg=function(a,b,c){fg(a,b,c,null)||g.Uf(g.Ea(b,a))};
hg=function(a){return new g.$f(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],gg(e,b,c)})};
g.ig=function(a){return new g.$f(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],gg(m,g.Ea(f,l),k);
else b(e)})};
eba=function(){var a,b,c=new g.$f(function(c,e){a=c;b=e});
return new dba(c,a,b)};
kg=function(a,b){var c=cg(b,b,void 0);c.l=!0;jg(a,c);return a};
g.mg=function(a,b){return lg(a,null,b,void 0)};
ng=function(a,b){if(0==a.g)if(a.o){var c=a.o;if(c.l){for(var d=0,e=null,f=null,k=c.l;k&&(k.l||(d++,k.g==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.g&&1==d?ng(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):og(c),pg(c,e,3,b)))}a.o=null}else Zf(a,3,b)};
jg=function(a,b){a.l||2!=a.g&&3!=a.g||qg(a);a.A?a.A.next=b:a.l=b;a.A=b};
lg=function(a,b,c,d){var e=cg(null,null,null);e.g=new g.$f(function(a,k){e.o=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){k(n)}}:a;
e.onRejected=c?function(b){try{var e=c.call(d,b);!g.t(e)&&b instanceof rg?k(b):a(e)}catch(n){k(n)}}:k});
e.g.o=a;jg(a,e);return e.g};
Zf=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,fg(c,a.H,a.I,a)||(a.D=c,a.g=b,a.o=null,qg(a),3!=b||c instanceof rg||fba(a,c)))};
fg=function(a,b,c,d){if(a instanceof g.$f)return jg(a,cg(b||g.y,c||null,d)),!0;if(Yf(a))return a.then(b,c,d),!0;if(g.Ba(a))try{var e=a.then;if(g.Aa(e))return gba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
gba=function(a,b,c,d,e){function f(a){l||(l=!0,d.call(e,a))}
function k(a){l||(l=!0,c.call(e,a))}
var l=!1;try{b.call(a,k,f)}catch(m){f(m)}};
qg=function(a){a.C||(a.C=!0,g.Uf(a.F,a))};
og=function(a){var b=null;a.l&&(b=a.l,a.l=b.next,b.next=null);a.l||(a.A=null);return b};
pg=function(a,b,c,d){if(3==c&&b.onRejected&&!b.l)for(;a&&a.B;a=a.o)a.B=!1;if(b.g)b.g.o=null,sg(b,c,d);else try{b.l?b.o.call(b.context):sg(b,c,d)}catch(e){tg.call(null,e)}Jf(bg,b)};
sg=function(a,b,c){2==b?a.o.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
fba=function(a,b){a.B=!0;g.Uf(function(){a.B&&tg.call(null,b)})};
rg=function(a){Ia.call(this,a)};
dba=function(a,b,c){this.g=a;this.resolve=b;this.reject=c};
g.ug=function(a,b){g.Gf.call(this);this.ad=a||1;this.dk=b||g.w;this.gq=(0,g.z)(this.Tc,this);this.ms=(0,g.F)()};
g.vg=function(a,b,c){if(g.Aa(a))c&&(a=(0,g.z)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.z)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.w.setTimeout(a,b||0)};
g.wg=function(a){g.w.clearTimeout(a)};
xg=function(a,b){var c=null;return g.mg(new g.$f(function(d,e){c=g.vg(function(){d(b)},a);
-1==c&&e(Error("Failed to schedule timer."))}),function(a){g.wg(c);
throw a;})};
yg=function(){return Math.round((0,g.F)()/1E3)};
hba=function(a){var b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:yg()};
iba=function(){this.l=-1};
jba=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))};
kba=function(a){try{return g.w.JSON.parse(a)}catch(d){var b=d}a=String(a);if(jba(a))try{var c=eval("("+a+")");b&&zg("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.Bg=function(a){var b=[];Ag(new lba,a,b);return b.join("")};
lba=function(){};
Ag=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.ya(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Ag(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),Cg(d,c),c.push(":"),Ag(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Cg(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);}}};
Cg=function(a,b){b.push('"',a.replace(mba,function(a){var b=Dg[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Dg[a]=b);return b}),'"')};
Eg=function(a){this.g=a||{cookie:""}};
Fg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=yb(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.Gg=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.Hg=function(a){return a.match(nba)};
g.Ig=function(a){return a?(0,window.decodeURI)(a):a};
g.Jg=function(a){return g.Ig(g.Hg(a)[3]||null)};
g.Kg=function(a){return Number(g.Hg(a)[4]||null)||null};
Mg=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?qb(f):"")}};
Ng=function(a){var b=a.indexOf("#");0>b&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]};
Og=function(a,b){return b?a?a+"&"+b:b:a};
Pg=function(a,b){if(!b)return a;var c=Ng(a);c[1]=Og(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
Qg=function(a,b,c){if(g.ya(b))for(var d=0;d<b.length;d++)Qg(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.pb(b)))};
Rg=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)Qg(a[d],a[d+1],c);return c.join("&")};
g.Sg=function(a){var b=[],c;for(c in a)Qg(c,a[c],b);return b.join("&")};
Tg=function(a,b){var c=2==arguments.length?Rg(arguments[1],0):Rg(arguments,1);return Pg(a,c)};
g.Ug=function(a,b){var c=g.Sg(b);return Pg(a,c)};
Vg=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};
Xg=function(a,b){var c=a.search(Wg),d=Vg(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 qb(a.substr(d,e-d))};
g.Yg=function(a,b){for(var c=a.search(Wg),d=0,e,f=[];0<=(e=Vg(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.substr(d));return f.join("").replace(oba,"$1")};
Zg=function(a,b,c){a=g.Yg(a,b);c=null!=c?"="+g.pb(c):"";return Pg(a,b+c)};
pba=function(a,b){var c=Ng(a),d=c[1],e=[];d&&(0,g.B)(d.split("&"),function(a){var c=a.indexOf("=");b.hasOwnProperty(0<=c?a.substr(0,c):a)||e.push(a)});
c[1]=Og(e.join("&"),g.Sg(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
$g=function(){this.g={};return this};
ah=function(a,b){a.g.eb=ac(a.g,"eb",0)|b};
g.bh=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
ch=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};
dh=function(a,b,c){b instanceof g.gd?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.ua(c)&&(a.top+=c,a.bottom+=c));return a};
g.eh=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.fh=function(a){return new g.bh(a.top,a.left+a.width,a.top+a.height,a.left)};
g.gh=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.hh=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.ih=function(a){return new g.kd(a.width,a.height)};
g.jh=function(a){return new g.gd(a.left,a.top)};
qba=function(){this.g={};this.l=0};
kh=function(a,b){this.B=a;this.o=!0;this.g=b};
lh=function(a,b){kh.call(this,String(a),b);this.A=a;this.g=!!b};
mh=function(a,b){kh.call(this,a,b)};
nh=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 mh("",new g.eh(c,b,Number(a[3])-c,Number(a[2])-b))}return new mh("",new g.eh(0,0,0,0))};
ph=function(){oh||(oh=new qba);return oh};
qh=function(a,b){a.g[b.B]=b};
g.sh=function(a,b,c){if(g.v(b))(b=rh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=rh(c,d);f&&(c.style[f]=e)}};
rh=function(a,b){var c=th[b];if(!c){var d=Eb(b);c=d;void 0===a.style[d]&&(d=(g.Ad?"Webkit":g.uh?"Moz":g.yd?"ms":g.gf?"O":null)+saa(d),void 0!==a.style[d]&&(c=d));th[b]=c}return c};
vh=function(a,b){var c=a.style[Eb(b)];return"undefined"!==typeof c?c:a.style[rh(a,b)]||""};
wh=function(a,b){var c=g.nd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.xh=function(a,b){return wh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.zh=function(a,b,c){if(b instanceof g.gd){var d=b.x;b=b.y}else d=b,b=c;a.style.left=yh(d,!1);a.style.top=yh(b,!1)};
Ah=function(a){return new g.gd(a.offsetLeft,a.offsetTop)};
Bh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.yd&&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.Ch=function(a){if(g.yd&&!g.tc(8))return a.offsetParent;var b=g.nd(a),c=g.xh(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.xh(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.Eh=function(a){for(var b=new g.bh(0,window.Infinity,window.Infinity,0),c=g.pd(a),d=c.g.body,e=c.g.documentElement,f=xd(c.g);a=g.Ch(a);)if(!(g.yd&&0==a.clientWidth||g.Ad&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.xh(a,"overflow")){var k=g.Dh(a),l=new g.gd(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.wd(g.ce(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.Dh=function(a){var b=g.nd(a),c=new g.gd(0,0);var d=b?g.nd(b):window.document;d=!g.yd||g.tc(9)||g.vd(g.pd(d).g)?d.documentElement:d.body;if(a==d)return c;a=Bh(a);b=g.zd(g.pd(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c};
g.Gh=function(a,b){var c=new g.gd(0,0),d=Bd(g.nd(a));if(!oc(d,"parent"))return c;var e=a;do{var f=d==b?g.Dh(e):Fh(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.Ih=function(a,b){var c=g.Hh(a),d=g.Hh(b);return new g.gd(c.x-d.x,c.y-d.y)};
Fh=function(a){a=Bh(a);return new g.gd(a.left,a.top)};
g.Hh=function(a){if(1==a.nodeType)return Fh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.gd(a.clientX,a.clientY)};
g.Kh=function(a,b,c){if(b instanceof g.kd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Jh(a,b);a.style.height=yh(c,!0)};
yh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.Jh=function(a,b){a.style.width=yh(b,!0)};
g.Lh=function(a){var b=rba;if("none"!=g.xh(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};
rba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Ad&&!b&&!c;return g.t(b)&&!d||!a.getBoundingClientRect?new g.kd(b,c):(a=Bh(a),new g.kd(a.right-a.left,a.bottom-a.top))};
g.Mh=function(a){var b=g.Dh(a);a=g.Lh(a);return new g.eh(b.x,b.y,a.width,a.height)};
g.Nh=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.Oh=function(a){return"none"!=a.style.display};
g.Ph=function(a,b,c,d){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};
Qh=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?g.Ph(a,c,"left","pixelLeft"):0};
g.Rh=function(a){if(g.yd){var b=Qh(a,"paddingLeft"),c=Qh(a,"paddingRight"),d=Qh(a,"paddingTop");a=Qh(a,"paddingBottom");return new g.bh(d,c,a,b)}b=wh(a,"paddingLeft");c=wh(a,"paddingRight");d=wh(a,"paddingTop");a=wh(a,"paddingBottom");return new g.bh((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
Th=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Sh?Sh[c]:g.Ph(a,c,"left","pixelLeft")};
g.Uh=function(a){if(g.yd&&!g.tc(9)){var b=Th(a,"borderLeft"),c=Th(a,"borderRight"),d=Th(a,"borderTop");a=Th(a,"borderBottom");return new g.bh(d,c,a,b)}b=wh(a,"borderLeftWidth");c=wh(a,"borderRightWidth");d=wh(a,"borderTopWidth");a=wh(a,"borderBottomWidth");return new g.bh((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
Vh=function(a){var b=new g.eh(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.eh(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.hh(b,a[d]))return c;return b};
Wh=function(a,b){var c=a.getBoundingClientRect(),d=g.Gh(a,b);return new g.eh(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
Xh=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.eh(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;qh(a,new kh("vp",d));d&&0<d?(e=g.fh(b),f=g.fh(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;qh(a,new lh(512,e));d&&0<d?(e=g.fh(b),f=g.fh(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;qh(a,new lh(1024,
e));d&&0<d?(e=g.fh(b),f=g.fh(c),e=e.left>=f.left&&e.left<f.right):e=!1;qh(a,new lh(2048,e));d&&0<d?(b=g.fh(b),c=g.fh(c),c=b.right<=c.right&&b.right>c.left):c=!1;qh(a,new lh(4096,c))}};
sba=function(a,b){var c=0;g.Tb(Bd(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=ph();d.g={};var f=new lh(32,!0);f.o=!1;qh(d,f);f=Bd().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";qh(d,new lh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=Bd().top;try{var l=!!k.location.href||""===k.location.href}catch(r){l=!1}if(l){var m=af(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(r){n="2"}qh(d,
new lh(256,"2"==n));qh(d,new lh(128,"1"==n));m=l=Bd().top;"2"==n&&(m=Bd());k=Wh(e,m);qh(d,new mh("er",k));try{var q=m.document&&!m.document.body?null:g.wd(m||window)}catch(r){q=null}q?(m=g.zd(g.pd(m.document).g),qh(d,new lh(16384,!!m)),q=m?new g.eh(m.x,m.y,q.width,q.height):null):q=null;qh(d,new mh("vi",q));if(q&&"1"==n){n=af(e);e=[];for(m=0;m<n.length;m++)(f=Wh(n[m],l))&&e.push(f);e.push(q);q=Vh(e)}Xh(d,k,q);d.l&&(n=yg()-d.l,qh(d,new kh("ts",n)));d.l=yg()}else d=ph(),d.g={},d.l=yg(),qh(d,new lh(32,
!1));this.o=d;this.g=new $g;this.g.set("ve",4);c&&ah(this.g,1);g.Tb(Bd(),"ima","video","client","crossdomainTag")&&ah(this.g,4);g.Tb(Bd(),"ima","video","client","sdkTag")&&ah(this.g,8);g.Tb(Bd(),"ima","video","client","jsTag")&&ah(this.g,2);b&&ac(b,"fullscreen",!1)&&ah(this.g,16);this.l=d=null;if(c&&(c=g.Tb(Bd(),"ima","video","client"),c.getEData)){this.l=c.getEData();if(c=g.Tb(Bd(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.l.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,
n.lactstamp),c=this.o,d=n.er,n=n.vi,d&&n&&(d=nh(d).getValue(),n=nh(n).getValue(),e=null,ac(c.g,"er",null)&&(e=ac(c.g,"er",null).getValue(),e.top+=d.top,e.left+=d.left,qh(c,new mh("er",e))),ac(c.g,"vi",null)&&(q=ac(c.g,"vi",null).getValue(),q.top+=d.top,q.left+=d.left,l=[],l.push(q),l.push(d),l.push(n),d=Vh(l),Xh(c,e,d),qh(c,new mh("vi",n))));a:{if(this.l){if(this.l.getTagLoadTimestamp){d=this.l.getTagLoadTimestamp();break a}if(this.l.getTimeSinceTagLoadSeconds){d=this.l.getTimeSinceTagLoadSeconds();
break a}}d=null}}this.g.set("td",yg()-hba(d))};
tba=function(a,b){try{var c=new sba(a,b),d=[],e=Number(c.g.get("eb"));c.g.remove("eb");var f,k=c.g,l=[],m;for(m in k.g)l.push(m+k.g[m]);(f=l.join("_"))&&d.push(f);if(c.l){var n=c.l.serialize();n&&d.push(n)}var q,r=c.o;f=e;k=[];f||(f=0);for(var u in r.g){var C=r.g[u];if(C instanceof lh)C.getValue()&&(f|=C.A);else{var I,N=r.g[u];(I=N.o?N.l():"")&&k.push(u+I)}}k.push("eb"+String(f));(q=k.join("_"))&&d.push(q);c.g.set("eb",e);return d.join("_")}catch(Z){return"tle;"+tb(Z.name,12)+";"+tb(Z.message,40)}};
Yh=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)?Yh(a,b,void 0,d):a:c};
vba=function(){var a=g.w.document.querySelector("script[nonce]");if(a&&(a=a.nonce||a.getAttribute("nonce"))&&uba.test(a))return a};
Zh=function(a){try{return!!a&&null!=a.location.href&&oc(a,"foo")}catch(b){return!1}};
$h=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
xba=function(a){return(a=wba.exec(a))&&a[0]||""};
yba=function(){var a=g.w;try{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "file:":return!1;case "http:":return!1}}catch(c){}return!0};
zba=function(){var a=ai;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""};
bi=function(a){return a?a.passive&&Aba()?a:a.capture||!1:a};
ci=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,bi(d)):a.attachEvent&&a.attachEvent("on"+b,c)};
di=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,bi(void 0)):a.detachEvent&&a.detachEvent("on"+b,c)};
ei=function(a){a=void 0===a?g.w:a;var b=a.context;if(!b)try{b=a.parent.context}catch(c){}try{if(b&&b.pageViewId&&b.canonicalUrl)return b}catch(c){}return null};
fi=function(a,b){var c=!1,d=!1;d=void 0===d?!1:d;c=void 0===c?!1:c;a.google_image_requests||(a.google_image_requests=[]);var e=a.document.createElement("img");if(c){var f=function(){c&&g.Va(a.google_image_requests,e);di(e,"load",f);di(e,"error",f)};
ci(e,"load",f);ci(e,"error",f)}d&&(e.referrerPolicy="no-referrer");e.src=b;a.google_image_requests.push(e)};
hi=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?gi:b;try{var c=b.history.length}catch(d){c=0}a.u_his=c;if(c=!!gi.navigator)c="unknown"!==typeof gi.navigator.javaEnabled;a.u_java=c&&!!gi.navigator.javaEnabled&&gi.navigator.javaEnabled();gi.screen&&(a.u_h=gi.screen.height,a.u_w=gi.screen.width,a.u_ah=gi.screen.availHeight,a.u_aw=gi.screen.availWidth,a.u_cd=gi.screen.colorDepth);gi.navigator&&gi.navigator.plugins&&(a.u_nplug=gi.navigator.plugins.length);gi.navigator&&gi.navigator.mimeTypes&&
(a.u_nmime=gi.navigator.mimeTypes.length)};
li=function(){if(ii&&!Zh(ji)){var a="."+ki.domain;try{for(;2<a.split(".").length&&!Zh(ji);)ki.domain=a=a.substr(a.indexOf(".")+1),ji=window.parent}catch(b){}Zh(ji)||(ji=window)}return ji};
ni=function(){var a=window.event||mi;if(!a)return null;var b;(b=a.which?1<<Bba[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b};
oi=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.kd(b.innerWidth,b.innerHeight)).round():g.wd(b||window).round()}catch(d){return new g.kd(-12245933,-12245933)}};
pi=function(){this.g=0;this.l=!1;this.o=-1;this.tg=!1};
qi=function(a){this.A=a;this.g=null;this.o=!1;this.l=null};
ri=function(a){a.o=!0;return a};
si=function(a,b){a.l=void 0===b?null:b};
Cba=function(a,b){a.l&&(0,g.B)(b,function(b){b=a.l[b];void 0!==b&&null===a.g&&g.Vb(a.A,b)&&(a.g=b)})};
ti=function(){this.g={};this.l=!0;this.o={}};
ui=function(a,b,c){a.g[b]||(a.g[b]=new qi(c));return a.g[b]};
vi=function(a,b,c){(a=a.g[b])&&null===a.g&&g.Vb(a.A,c)&&(a.g=c)};
wi=function(a,b){if(Ub(a.o,b))return a.o[b];var c=a.g[b];if(c)return c.getValue()};
Dba=function(a){var b={},c;for(c in a.g)if(a.g.hasOwnProperty(c)){if(void 0!==a.o[c])var d=String(a.o[c]);else d=a.g[c],d=d.o&&null!==d.g?String(d.g):"";0<d.length&&(b[c]=d)}return b};
Eba=function(a){a=Dba(a);var b=[];g.Kb(a,function(a,d){d in Object.prototype||"undefined"!=typeof a&&b.push([d,":",a].join(""))});
return b};
Fba=function(a,b){a.l&&(0,g.B)(g.Qb(a.g),function(a){return Cba(a,b)})};
xi=function(a,b){this.l=(void 0===a?0:a)||0;this.g=(void 0===b?"":b)||""};
yi=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};
Bi=function(a){a=a||zi();for(var b=new Ai(g.w.location.href,g.w,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Gba.test(f.url)&&(c=f);if(f.url&&!f.es){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Hba(b,e,c)};
zi=function(){var a=g.w,b=[],c=null;do{var d=a;if(Zh(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Ai(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=g.w;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.es=!0);return b};
Hba=function(a,b,c){this.g=a;this.l=b;this.o=c};
Ai=function(a,b,c){this.url=a;this.fd=b;this.es=!!c;this.depth=g.ua(void 0)?void 0:null};
Ci=function(){this.o="&";this.A=g.t(void 0)?void 0:"trn";this.B=!1;this.l={};this.C=0;this.g=[]};
Di=function(a,b){var c={};c[a]=b;return[c]};
Fi=function(a,b,c,d,e){var f=[];$h(a,function(a,l){var k=Ei(a,b,c,d,e);k&&f.push(l+"="+k)});
return f.join(b)};
Ei=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(Ei(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)(Fi(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))};
Ji=function(a,b,c,d){a.g.push(b);a.l[b]=Di(c,d)};
Iba=function(a){if(!a.A)return 4E3;var b=1,c;for(c in a.l)b=c.length>b?c.length:b;return 4E3-a.A.length-b-a.o.length-1};
Ki=function(a,b,c,d){if(Math.random()<(d||a.g))try{if(c instanceof Ci)var e=c;else e=new Ci,$h(c,function(a,b){var c=e,d=c.C++,f=Di(b,a);c.g.push(d);c.l[d]=f});
var f=e.Oa(a.A,a.l,a.o+b+"&","");f&&fi(g.w,f)}catch(k){}};
Li=function(){var a=g.w.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.F)()};
Mi=function(){var a=void 0===a?g.w:a;return(a=a.performance)&&a.now?a.now():null};
Ni=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};
Pi=function(a,b){this.events=[];this.g=b||g.w;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.l=Oi()||(null!=c?c:Math.random()<a)};
Ri=function(a){a&&Qi&&Oi()&&(Qi.clearMarks("goog_"+a.uniqueId+"_start"),Qi.clearMarks("goog_"+a.uniqueId+"_end"))};
Ui=function(){var a=Si;this.A=Ti;this.o=!0;this.D=this.g;this.va=void 0===a?null:a};
Xi=function(a){return new Vi(Wi(a),a.fileName,a.lineNumber)};
Wi=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};
Vi=function(a,b,c){yi.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})};
Yi=function(){this.va=null;this.o=!1};
$i=function(a,b){return Zi.l(a,b,void 0,Jba)};
aj=function(a,b,c,d){return Zi.B(a,b,c,d,void 0)};
bj=function(a,b){Zi.g(a,b,void 0,void 0)};
cj=function(a,b,c,d){var e=void 0===e?!1:e;c=aj(d,c);ci(a,b,c,{capture:e});return c};
dj=function(a,b){a&&(a.l&&(b[4]=a.l),a.g&&(b[12]=a.g))};
ej=function(a){var b=[];g.Kb(a,function(a,d){var c=(0,window.encodeURIComponent)(d),f=a;g.v(f)&&(f=(0,window.encodeURIComponent)(f));b.push(c+"="+f)});
b.push("24="+(0,g.F)());return b.join("\n")};
fj=function(){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[ki.visibilityState||ki.webkitVisibilityState||ki.mozVisibilityState||""]||0};
Kba=function(){var a=g.J("DIV");a.style.cssText="position:relative;left:0px;top:0px;width:0;height:0;";return a};
gj=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")?gj(g.Pd(a),b,c,d):{done:e,value:d}};
hj=function(a,b,c,d){if(!a)return d;d=gj(a,b,c,d);if(!d.done)try{var e=g.nd(a),f=e&&Bd(e);return hj(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
Lba=function(a){var b=!g.yd||g.sc(8);return hj(a,function(a,d){var c=oc(d,"style")&&d.style&&vh(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1,
visible:!1}).hidden};
Mba=function(a){return hj(a,function(a,c){return!(!oc(c,"style")||!c.style||"none"!==vh(c,"display"))},function(a){return a},!1)?!0:Lba(a)};
ij=function(a){return new g.bh(a.top,a.right,a.bottom,a.left)};
jj=function(a){return null!=a&&0<=a&&1>=a};
kj=function(a,b){b=void 0===b?gi:b;null!==b&&b!=b.top&&(b=b.top);var c=0,d=0;try{var e=b.document,f=e.body,k=e.documentElement;if("CSS1Compat"==e.compatMode&&k.scrollHeight)c=k.scrollHeight!=a.height?k.scrollHeight:k.offsetHeight,d=k.scrollWidth!=a.width?k.scrollWidth:k.offsetWidth;else{var l=k.scrollHeight,m=k.scrollWidth,n=k.offsetHeight,q=k.offsetWidth;k.clientHeight!=n&&(l=f.scrollHeight,m=f.scrollWidth,n=f.offsetHeight,q=f.offsetWidth);l>a.height?l>n?(c=l,d=m):(c=n,d=q):l<n?(c=l,d=m):(c=n,d=
q)}return new g.kd(d,c)}catch(r){return new g.kd(-12245933,-12245933)}};
lj=function(a,b,c,d,e){this.time=a;this.l=b;this.o=c;this.volume=null;this.A=d;this.g=null;this.B=e};
mj=function(a,b,c,d,e,f,k){this.D=a;this.B=b;this.g=c;this.o=d;this.A=e;this.l=f;this.C=k};
nj=function(){return(0,g.F)()-Nba};
sj=function(a){var b=0<=oj?nj()-oj:-1,c=pj?nj()-qj:-1,d=0<=rj?nj()-rj:-1;if(79463068==a)return 500;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
uj=function(){this.D=!1;this.F=void 0;this.g=!Zh(gi.top);var a=zi();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.Jg(a[a.length-1].url)||"":"";this.A=this.K=this.C=this.o=null;this.L=0;this.l=!1;this.B=null;this.H=0;this.wb="geo";this.rb=new ti;si(ri(ui(this.rb,"nio_mode",Oba)),Pba);ui(this.rb,"omid",tj);ui(this.rb,"mraid_race",tj);ri(ui(this.rb,"osd",tj));si(ri(ui(this.rb,"rafv",tj)),Qba);si(ri(ui(this.rb,"rafx",tj)),Rba);si(ri(ui(this.rb,"umt",tj)),Sba);si(ri(ui(this.rb,
"gmpd",tj)),Tba);si(ri(ui(this.rb,"sel",tj)),Uba);si(ri(ui(this.rb,"spna",tj)),Vba);si(ri(ui(this.rb,"ujs",tj)),Wba);si(ri(ui(this.rb,"cll",Xba)),Yba);ri(ui(this.rb,"inapp",Zba));this.I=-1};
vj=function(a){this.l=a;this.o=0;this.g=null};
xj=function(){return!wj()&&(Jb("iPod")||Jb("iPhone")||Jb("Android")||Jb("IEMobile"))};
wj=function(){return Jb("iPad")||Jb("Android")&&!Jb("Mobile")||Jb("Silk")};
yj=function(a,b,c){this.fd=a;this.name=b;this.A=[];this.I=!1;this.g=new lj(-1,new g.kd(0,0),new g.kd(0,0),!0,this);this.l=this;this.F=this.B=c;this.Z=wj()||xj();this.D=!1;this.W=null;this.K=this.R=!1;this.Y="uk";this.X=!1};
Aj=function(a,b){a.K||(a.K=!0,a.Y=b,a.F=0,a.cp(),a.l==a&&(a.B=0,zj(a)))};
Bj=function(a,b){g.Qa(a.A,b)||(a.A.push(b),b.Xh(a.l),b.Xg(a.g),b.Ag()&&(a.D=!0))};
Cj=function(a,b){g.Va(a.A,b);a.D&&b.Ag()&&$ba(a)};
Dj=function(a){var b=nj(),c=oi(!0,a.fd,a.Z),d=oi(!1,a.fd,a.Z);a.W||(a.W=kj(c,a.fd));var e=fj();var f=1===e;e=0===e;f=(uj.getInstance(),f||e);return new lj(b,c,d,f,a)};
$ba=function(a){a.D=a.A.length?(0,g.Ej)(a.A,function(a){return a.Ag()}):!1};
Fj=function(a){var b=g.Ya(a.A);(0,g.B)(b,function(b){b.Xg(a.g)})};
zj=function(a){var b=g.Ya(a.A);(0,g.B)(b,function(b){b.Xh(a.l)});
a.l!=a||Fj(a)};
Gj=function(a,b){var c;if(!(c=a.R)){c=a.g;var d=a.D;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.A==b.A&&ch(c.g,b.g)&&g.ld(c.o,b.o)&&g.ld(c.l,b.l))}a.g=b;c&&Fj(a)};
Hj=function(a,b,c,d){this.element=a;this.A=this.g=b;this.rb=c;this.H=d;this.F=!1;this.o=new mj(b.g,this.element,new g.bh(0,0,0,0),null,this.Ik(),0,0)};
Ij=function(a){this.B=!1;this.g=a};
Lj=function(a){Jj.e=-1;Jj.i=6;Jj.n=7;Jj.t=8;if(!Kj){var b=[];$h(Jj,function(a,c){b[a+1]=c});
var c=b.join(""),d=a&&a[c];Kj=d&&function(b,c){return d.call(a,b,c)}}return Kj};
Mj=function(){this.l=this.o=this.A=this.g=0};
Nj=function(){this.l=[1,.75,.5,.3,0];this.g=(0,g.G)(this.l,function(){return new Mj})};
Pj=function(a,b){return Oj(a,function(a){return a.g},void 0===b?!0:b)};
Rj=function(a,b){return Qj(a,b,function(a){return a.g})};
Sj=function(a){return Oj(a,function(a){return a.o},!0)};
Tj=function(a,b){return Qj(a,b,function(a){return a.o})};
Uj=function(a,b){return Qj(a,b,function(a){return a.l})};
Vj=function(a){(0,g.B)(a.g,function(a){a.l=0})};
Oj=function(a,b,c){a=(0,g.G)(a.g,function(a){return b(a)});
return c?a:aca(a)};
Qj=function(a,b,c){var d=g.Na(a.l,function(a){return b<=a});
return-1==d?0:c(a.g[d])};
aca=function(a){return(0,g.G)(a,function(a,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
Wj=function(){this.g=new Nj;this.W=new Mj;this.L=this.D=-1;this.Z=1E3};
Xj=function(a,b){this.l=null;this.C=a;this.D=b||1};
Yj=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.D){case 4:return a.C?(e=Math.floor(.3*c),f=Math.floor(.3*d),[new g.gd(e,f),new g.gd(c-e,f),new g.gd(e,d-f),new g.gd(c-e,d-f)]):[new g.gd(e,0),new g.gd(0,f),new g.gd(e,d-1),new g.gd(c-1,f)];case 3:return[new g.gd(c-1,0),new g.gd(e,f),new g.gd(0,d-1)];default:return[new g.gd(e,f)]}};
Zj=function(a,b){if(void 0===b)try{b=a.l.getBoundingClientRect()}catch(d){b=new g.bh(0,0,0,0)}var c=Yj(a,b);(0,g.B)(c,function(a){a.x+=b.left;a.y+=b.top});
return c};
bca=function(a,b,c){this.snapshot=a;this.l=b;this.g=c};
ak=function(a,b){Xj.call(this,a,b);this.g=[];this.B=!1;this.A=0;this.o=-1};
cca=function(a,b){var c=b.getBoundingClientRect(),d="DIV"==b.tagName||"INS"==b.tagName,e=g.nd(b),f=!0,k=a.g;if(d){var l=Kba();c=Yj(a,c);Jd(b,l,0);(0,g.B)(c,function(a){var b=new bk(e);k.push(b);var c;if(c=f)if(b.g){b.g.style.position="absolute";ck(b,a);a=!0;try{l.appendChild(b.g)}catch(r){a=!1}c=a}else c=!1;f=c})}else c=Zj(a,c),(0,g.B)(c,function(a){var c=new bk(e);
k.push(c);var d;if(d=f)if(c.g&&b.parentNode){c.g.style.position="fixed";ck(c,a);a=!0;try{b.parentNode&&b.parentNode.insertBefore(c.g,b.nextSibling)}catch(r){a=!1}d=a}else d=!1;f=d});
f?(a.l=b,a.B=!d&&!1):((0,g.B)(k,function(a){a.remove()}),a.g=[]);
return f};
dca=function(a){if(a.l&&a.B){var b=Zj(a);(0,g.B)(b,function(a,b){this.g[b]&&ck(this.g[b],a)},a)}};
eca=function(a){(0,g.B)(a.g,function(a){a.remove()});
a.g=[]};
jca=function(a){var b=(0,g.F)(),c=a.A?b-a.A:0,d=Ka(a.g,function(a){return a.isVisible(b)});
d=4==a.g.length?a.C?fca[d]:gca[d]:3==a.g.length?hca[d]:1==a.g.length?ica[d]:-1;c=new bca(d,a.o,c);a.o=d;a.A=b;dca(a);return c};
bk=function(a){this.g=null;this.o=this.l=0;kca(this,a)};
kca=function(a,b){var c=(new md(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=aj(245,a.A,a);c.addEventListener("load",aj(244,function(){c.contentWindow.requestAnimationFrame(d)}))};
ck=function(a,b){a.g&&!id(b,Ah(a.g))&&g.zh(a.g,b)};
dk=function(a,b,c,d){Hj.call(this,a,b,c,d);this.l=new g.bh(0,0,0,0)};
ek=function(a,b,c,d){return 0>=a.Ab()||0>=a.getHeight()?!0:c&&d?$i(208,function(){return lca(a,b,c)}):!1};
fk=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new g.bh(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left)):new g.bh(0,0,0,0)};
hk=function(a,b){var c=gk(a),d=gk(b);return 0===d?0:c/d};
gk=function(a){return Math.max(a.getHeight()*a.Ab(),0)};
lca=function(a,b,c){if(!a||!b)return!1;b=dh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=li();Zh(d.top)&&d.top&&d.top.document&&(d=d.top);d=Lj(d&&d.document);if(!d)return!1;a=d(a,b);if(!a)return!1;b=(b=(b=g.nd(c))&&b.defaultView&&b.defaultView.frameElement)&&mca(b,a);d=a===c;a=!d&&a&&g.Zd(a,function(a){return a===c});
return!(b||d||a)};
mca=function(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{if(a=g.Pd(a)||a){var d=g.nd(a),e=d&&Bd(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
ik=function(a,b,c){this.l=void 0===c?0:c;this.oc=a;this.g=null==b?"":b};
nca=function(a){switch(Math.trunc(a.l)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}};
oca=function(a,b){return new ik(a.oc,a.g,a.l+b)};
jk=function(a,b){return a.l<b.l?!0:a.l>b.l?!1:a.oc<b.oc?!0:a.oc>b.oc?!1:typeof a.g<typeof b.g?!0:typeof a.g>typeof b.g?!1:a.g<b.g};
kk=function(){this.o=0;this.g=[];this.l=!1};
pca=function(a,b){(0,g.B)(b.g,function(b){a.add(b.oc,b.g,nca(b))})};
lk=function(a,b){var c=void 0===c?0:c;var d=void 0===d?!0:d;$h(b,function(b,f){d&&void 0===b||a.add(f,b,c)});
return a};
nk=function(a){a.l&&(g.ib(a.g,function(a,c){return jk(c,a)?1:jk(a,c)?-1:0}),a.l=!1);
return mk(a.g,function(a,c){var b="boolean"===typeof c.g;b=""+(b&&!c.g?"":c.oc)+(b||""===c.g?"":"="+c.g);return""+a+(""!=a&&""!=b?"&":"")+b},"")};
pk=function(a){this.g=new kk;void 0!==a&&pca(this.g,a);this.g.add("avv",ok,-16)};
qca=function(a){$h(a,function(b,c){b instanceof Array&&(a[c]=b.join(","))});
return a};
rca=function(a){var b=[],c=[];g.Kb(a,function(a,e){if(!(e in Object.prototype)&&"undefined"!=typeof a){g.ya(a)&&(a=a.join(","));var d=[e,"=",a].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "iem":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}}});
return b.concat(c)};
qk=function(a){a=a.toString();a=a.substring(0,2E3);var b=li()||gi;fi(b,a)};
tk=function(a,b,c){this.position=rk.clone();this.Ue=0;this.ws=this.An();this.rs=-2;this.HU=(0,g.F)();this.vD=-1;this.ji=b;this.Xi=-1!=b;this.Sl=this.VA=null;this.opacity=-1;this.eu=c;this.GD=this.xs=g.y;this.ng=this.element=a;this.Ai=null;this.Eu=this.bh=!1;this.Hq=1;this.ou=!0;this.Of=!1;uj.getInstance().L++;this.domain=null;this.ks=0;this.tc=this.Tq();this.tD=-1;this.yr=0;this.Cp=new g.bh(0,0,0,0);a=this.rb=new ti;ui(a,"od",sca);ri(ui(a,"opac",tj));ui(a,"ud",tj);ri(ui(a,"mkm",tj));ri(ui(a,"xza",
tj));ui(a,"lom",tj);ri(ui(a,"mraid_race",tj));if(a=this.element&&this.element.getAttribute)a=this.element,a=/-[a-z]/.test("googleAvInapp")?!1:g.sk&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+g.Fb("googleAvInapp")):!!a.getAttribute("data-"+g.Fb("googleAvInapp"));a&&vi(uj.getInstance().rb,"inapp",1);1==this.eu?vi(this.rb,"od",1):vi(this.rb,"od",0)};
uca=function(a,b,c){if(a.Xi){var d=Lj(gi&&gi.document);if(d){c||uk(a,gi,!0);if(a.tg()||a.Eu){var e=tca(a,d);d=!0}else e=g.zd(window.document),e=d(Math.floor((a.position.left+a.position.right)/2)-e.x,Math.floor((a.position.top+a.position.bottom)/2)-e.y)?.5:0,d=!1;a.Ah(a.position,e,b,c,!0,d)}}};
vk=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}};
tca=function(a,b){var c=g.zd(window.document),d=a.Hq,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=vk(f,l,function(a){return!!b(e,a)}),k=vk(e,k,function(a){return!!b(a,f)});
else if(n)l=vk(f,l,function(a){return!!b(k,a)}),e=vk(k,e,function(a){return!!b(a,f)});
else if(q)f=vk(l,f,function(a){return!!b(e,a)}),k=vk(e,k,function(a){return!!b(a,l)});
else if(m)f=vk(l,f,function(a){return!!b(k,a)}),e=vk(k,e,function(a){return!!b(a,l)});
else{var r=Math.floor((e+k)/2),u=Math.floor((f+l)/2);if(!b(r,u))return 0;f=vk(u,f,function(a){return!!b(r,a)});
l=vk(u,l,function(a){return!!b(r,a)});
e=vk(r,e,function(a){return!!b(a,u)});
k=vk(r,k,function(a){return!!b(a,u)})}return(l-f)*(k-e)/c};
vca=function(a,b,c,d,e){a.Xi&&(d||uk(a,gi,e),a.Ah(a.position,c,b,d,!1,!0))};
wk=function(a,b,c){if(a.Xi){var d=c?a.tc.g:a.ks;a.Cp&&!ch(a.Cp,new g.bh(0,0,0,0))&&(d=dh(a.Cp.clone(),a.position.left,a.position.top));a.Ah(a.position,d,b,c,!0,!0)}};
wca=function(a,b){var c=b.create(a.ng,a.rb,a);null!=c&&c.xz();c&&(a.wb=c)};
xca=function(a,b,c){if(a.Xi&&a.wb){var d=li(),e=uj.getInstance();uk(a,d,e.g);a.wb.jq();d=a.wb.o;e=d.D.g;var f=!(!d.A&&!e);if(null!=d.o&&e){var k=d.g;a.VA=new g.gd(k.left-e.left,k.top-e.top);a.Sl=new g.kd(e.right-e.left,e.bottom-e.top)}a.Ah(a.position,d.l,b,c,!0,f)}};
uk=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=rk.clone(),f=new g.gd(0,0);if(a.ng){var k=1==a.eu;!c&&k&&Mba(a.ng)||(e=a.ng.getBoundingClientRect());f=g.Gh(a.ng,b)}c=f;var l=c.x,m=c.y;a.position=new g.bh(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))}catch(n){a.position=rk.clone()}}a.Ue=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
xk=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
yca=function(a){a.wb&&a.wb.Bs()};
Bca=function(a,b){var c=!1,d=a.ng;b.document&&b.document.body&&12==a.eu&&(d=b.document.body);if(null===d)return!1;$i(152,function(){var e=new b.IntersectionObserver(function(c){try{yk(b,c,a)}catch(k){try{e.unobserve(d),bj("osd_adblock::nioc",k)}catch(l){}}},zca);
e.observe(d);Aca(d);c=!0});
return c};
Aca=function(a){if(a&&(a=a.style)){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
Cca=function(a,b){var c=!1;$i(151,function(){var d=ei(b).observeIntersection(function(c){try{yk(b,c,a)}catch(f){try{d(),bj("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
yk=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=ij(d.boundingClientRect),e=ij(d.intersectionRect),c.tc.g=g.cd(d.intersectionRect.width*d.intersectionRect.height/(d.boundingClientRect.width*d.boundingClientRect.height),0,1),c.ks=c.tc.g,uk(c,a,!0,b),a=fk(b,e),c.Cp=0>=c.Ue||a.top>=a.bottom||a.left>=a.right?new g.bh(0,0,0,0):dh(a,-b.left,-b.top)};
zk=function(a,b,c,d){if(d=void 0===d?g.y:d)a.GD=d;switch(c){case "nio":return Bca(a,b);case "aio":return Cca(a,b);case "raf":return a.mu();case "geo":case "iem":return!0}return!1};
Ak=function(){};
Ck=function(a){if(a instanceof Ak)return a;if("function"==typeof a.Nd)return a.Nd(!1);if(g.za(a)){var b=0,c=new Ak;c.next=function(){for(;;){if(b>=a.length)throw Bk;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.Dk=function(a,b,c){if(g.za(a))try{(0,g.B)(a,b,c)}catch(d){if(d!==Bk)throw d;}else{a=Ck(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Bk)throw d;}}};
Dca=function(a){if(g.za(a))return g.Ya(a);a=Ck(a);var b=[];g.Dk(a,function(a){b.push(a)});
return b};
Hk=function(){var a=g.Ek&&g.sc(601);return g.Fk&&0<=g.Ab(g.Gk,9)||a};
Ik=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Zh(a)&&(c=a,b=d);return{fd:c,level:b}};
Eca=function(){this.S={}};
Jk=function(){this.A=this.g=this.o=this.l=this.B=0};
Fca=function(a){var b={};var c=(0,g.F)()-a.B;b=(b.ptlt=c,b);(c=a.l)&&(b.pnk=c);(c=a.o)&&(b.pnc=c);(c=a.A)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b};
Kk=function(){pi.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.A=-1};
Lk=function(a){return jj(a.volume)&&.1<=a.volume};
Mk=function(){var a={};this.l=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.cm=[128,128],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.g={};for(var b in this.l)0<this.l[b][1]&&(this.g[b]=0);this.o=0};
Gca=function(a){return Nk(a,g.Rb(a.l))};
Nk=function(a,b){var c=0,d;for(d in a.g)g.Qa(b,d)&&1==a.g[d]&&(c+=a.l[d][1],a.g[d]=2);return c};
Hca=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.l[c][1]}return b};
Ok=function(){this.g=this.l=0};
Pk=function(){Wj.call(this);this.l=new Mj;this.R=this.H=this.K=0;this.F=-1;this.ca=new Mj;this.B=new Mj;this.o=new Nj;this.C=this.A=-1;this.I=new Mj;this.Z=2E3;this.N=new Ok;this.X=new Ok;this.Y=new Ok};
Qk=function(a,b,c){var d=a.R;pj||c||-1==a.F||(d+=b-a.F);return d};
Ica=function(){this.g=!1};
Rk=function(a,b){this.g=!1;this.B=a;this.D=b;this.l=0};
Tk=function(a,b){if(a.A(b)){var c=Sk(a.D,a.B,b);a.l|=c;return 0==c}return!1};
Uk=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;tk.call(this,b,c,d);this.X=0;this.B={};this.Fc=new Mk;this.uz={};this.td="";this.rh=null;this.ib=!1;this.o=[];this.jl=e;this.D=f;this.C=void 0;this.A=-1;this.Ya=this.I=void 0;this.Z=!1;this.K=this.L=0;this.W=-1;this.fa=this.Ca=!1;this.ik=this.Xa=0;this.ma=!1;this.Na=this.Pa=-1;this.R=this.F=this.g=0;this.qb=this.da=-1;this.Ta=0;this.Ma=new Nj;this.Y=this.oa=this.ca=0;this.Cb=-1;this.ya=0;this.H=!1;this.ea=null;this.Dc=0;this.za=!1;this.ia=
g.y;this.N=[this.An()];this.Eu=!0;this.Hq=2;b=uj.getInstance();uk(this,a,b.g);this.Hi={};this.Hi.pause="p";this.Hi.resume="r";this.Hi.skip="s";this.Hi.mute="m";this.Hi.unmute="um";this.Hi.exitfullscreen="ef";this.l=null};
Jca=function(a,b,c){a.Dc=1;a.B={};a.B.firstquartile=!1;a.B.midpoint=!1;a.B.thirdquartile=!1;a.B.complete=!1;a.B.pause=!1;a.B.skip=!1;a.B.viewable_impression=!1;a.X=0;c||(a.Dd().F=b)};
Vk=function(a){return g.t(a)?Number(a)?xk(a,3):0:a};
Wk=function(a,b){var c;null!=b&&b<a.N.length?c=b:c=a.N.length-1;return a.N[c]};
Xk=function(a){var b=!!wi(uj.getInstance().rb,"umt");return(!a.I||0<a.A)&&(b||a.Ya)?1:0};
Kca=function(a,b){(0,g.Ej)(a.D,function(a){return a.o()&&a.getId()==b.getId()})||a.D.push(b)};
Zk=function(a,b,c){return 15E3<=b?!0:a.Ca?(void 0===c?0:c)?!0:Yk(a.A)?b>=a.A/2:Yk(a.W)?b>=a.W:!1:!1};
Yk=function(a){return 1==wi(uj.getInstance().rb,"gmpd")?0<a:-1!=a};
Lca=function(a){var b={},c=uj.getInstance();b.insideIframe=c.g;b.unmeasurable=a.bh;b.position=a.position;b.exposure=a.tc.g;b.documentSize=c.A;b.viewportSize=c.o;null!=a.l&&(b.presenceData=a.l);return b};
al=function(a,b){$k(a.o,b,function(){return{cV:0,Rn:void 0}});
a.o[b]={viewableArea:xk(a.tc.g,2),instantaneousState:a.Fc.o}};
$k=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
cl=function(a,b,c){var d=a.uz[b];if(null!=d)return d;g.Qa(Mca,b)?d=!0:(d=a.B[b],g.t(d)?(a.B[b]=!0,d=!d):d=!1);c=bl(a,d,d,c,Nca[b]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Nk(a.Fc,["gdr"]));return c};
bl=function(a,b,c,d,e){if(a.bh)return{"if":0};var f=a.position.clone();f.round();var k=(0,g.G)(a.o,function(a){return 100*a.cV|0}),l=uj.getInstance(),m=a.Dd(),n={};
n["if"]=l.g?1:void 0;n.sdk=a.C?a.C:void 0;n.t=a.HU;n.p=[f.top,f.left,f.bottom,f.right];n.tos=Pj(m.g,!1);n.mtos=Sj(m.g);n.mcvt=m.W.o;n.ps=void 0;n.pt=k;f=Qk(m,nj(),2==a.Dc);n.vht=f;n.mut=m.ca.o;n.a=Vk(a.tc.volume);n.mv=Vk(m.C);n.fs=a.Of?1:0;n.ft=m.I.g;n.at=m.B.g;n.as=.1<=m.A?1:0;n.atos=Pj(m.o);n.amtos=Sj(m.o);n.uac=a.Xa;n.vpt=m.l.g;"nio"==l.wb&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=Zk(a,m.l.g,!0)?1:0;a.Eu&&(n.efpf=a.Hq);0<a.ya&&(n.nnut=a.ya);n.tcm=Xk(a);n.nmt=a.oa;n.bt=a.Y;n.pst=a.Cb;n.vpaid=a.I;
n.dur=a.A;n.vmtime=a.L;n.is=a.Fc.o;1<=a.o.length&&(n.i0=a.o[0].Rn);2<=a.o.length&&(n.i1=a.o[1].Rn);3<=a.o.length&&(n.i2=a.o[2].Rn);4<=a.o.length&&(n.i3=a.o[3].Rn);n.cs=Hca(a.Fc);b&&(n.ic=Gca(a.Fc),n.dvpt=m.l.l,n.dvs=Uj(m.g,.5),n.dfvs=Uj(m.g,1),n.davs=Uj(m.o,.5),n.dafvs=Uj(m.o,1),c&&(m.l.l=0,Vj(m.g),Vj(m.o)),a.eh()&&(n.dtos=m.K,n.dav=m.H,n.dtoss=a.X+1,c&&(m.K=0,m.H=0,a.X++)),n.dat=m.B.l,n.dft=m.I.l,c&&(m.B.l=0,m.I.l=0));l.A&&(n.ps=[l.A.width,l.A.height]);l.o&&(n.bs=[l.o.width,l.o.height]);l.C&&(n.scs=
[l.C.width,l.C.height]);n.dom=l.domain;a.ik&&(n.vds=a.ik);if(0<a.D.length||a.jl)b=g.Ya(a.D),a.jl&&b.push(a.jl),n.pings=(0,g.G)(b,function(a){return a.toString()});
n.ces=(0,g.G)((0,g.Ld)(a.D,function(a){return a.o()}),function(a){return a.getId()});
a.g&&(n.vmer=a.g);a.F&&(n.vmmk=a.F);a.R&&(n.vmiec=a.R);n.avms=a.wb?a.wb.Ke():uj.getInstance().wb;a.wb&&g.fc(n,a.wb.Gf());"exc"==l.wb&&(n.femt=a.da,n.femvt=a.qb,n.emc=a.Ta,n.emb=Pj(a.Ma,!1),n.emuc=a.ca,n.avms="exc");d?(n.c=xk(a.tc.g,2),n.ss=xk(Oca(a),2)):n.tth=nj()-dl;n.mc=xk(m.L,2);n.nc=xk(m.D,2);n.mv=Vk(m.C);n.nv=Vk(m.A);n.lte=xk(a.rs,2);d=Wk(a,e);Sj(m.g);n.qmtos=Sj(d.g);n.qnc=xk(d.D,2);n.qmv=Vk(d.C);n.qnv=Vk(d.A);n.qas=.1<=d.A?1:0;n.qi=a.td;null!==a.ea&&(n.nvat=a.ea?1:0);n.avms||(n.avms="geo");
n.psm=m.N.g;n.psv=m.N.getValue();n.psfv=m.X.getValue();n.psa=m.Y.getValue();l=Eba(l.rb);l.length&&(n.veid=l);a.l&&g.fc(n,Fca(a.l));return n};
Oca=function(a){if(a.Of)return 1;var b=gi.screen.width*gi.screen.height;return 0>=b?-1:Math.min(a.Ue*a.tc.g/b,1)};
Qca=function(){this.g={};var a=Bd();el(this,a,window.document);var b=Pca();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)el(this,c,c.document);el(this,a.top,a.top.document)}}catch(d){}};
Pca=function(){var a=window.document.documentElement;try{if(!Zh(Bd().top))return"2";var b=[],c=Bd(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"}};
el=function(a,b,c){cj(c,"mousedown",function(){return Rca(a)},301);
cj(b,"scroll",function(){return Sca(a)},302);
cj(c,"touchmove",function(){return Tca(a)},303);
cj(c,"mousemove",function(){return Uca(a)},304);
cj(c,"keydown",function(){return Vca(a)},305)};
Rca=function(a){g.Kb(a.g,function(a){1E5<a.o||++a.o})};
Sca=function(a){g.Kb(a.g,function(a){1E5<a.g||++a.g})};
Tca=function(a){g.Kb(a.g,function(a){1E5<a.g||++a.g})};
Vca=function(a){g.Kb(a.g,function(a){1E5<a.l||++a.l})};
Uca=function(a){g.Kb(a.g,function(a){1E5<a.A||++a.A})};
fl=function(){this.g=this.l=null};
Wca=function(a,b){function c(c,e){a.g=null;b(c,e)}
if(null==a.l)return!1;a.g=g.Ma(a.l,function(a){return null!=a&&a.Di()&&a.init(c)});
return null!=a.g};
g.gl=function(a,b,c){g.K.call(this);this.o=null!=c?(0,g.z)(a,c):a;this.ad=b;this.l=(0,g.z)(this.rI,this);this.g=[]};
hl=function(a){a.va=g.vg(a.l,a.ad);a.o.apply(null,a.g)};
il=function(){this.g=this.l=null};
jl=function(){this.g=[];this.l=[];this.done=!1;this.o={q3:0,lH:0,HC:0,PH:0,jK:-1};this.H=this.B=this.D=this.C=this.F=null;this.K=!1;this.L=null;this.I=wj()||xj();this.A=new vj(this)};
kl=function(){var a=uj.getInstance().wb;return"nio"==a||"aio"==a};
ml=function(){var a=ll;if(!a.K){a.K=!0;var b=g.w.requestAnimationFrame||g.w.webkitRequestAnimationFrame||g.w.mozRequestAnimationFrame||g.w.oRequestAnimationFrame||g.w.msRequestAnimationFrame;if(!a.F&&!kl()){if(b){var c=aj(136,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.lr.apply(a,g.pa(c))});
var d=function(){b(function(){gi.setTimeout(c,0)})}}else d=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.lr.apply(a,g.pa(c))};
d=aj(137,d);a.C=new g.gl(d,100);a.F=cj(gi,"scroll",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];null!==a.C&&a.C.mj.apply(a.C,g.pa(c))},138)}if(!a.D&&!kl()){if(b){var e=aj(139,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.lz.apply(a,g.pa(c))});
d=function(){b(function(){gi.setTimeout(e,0)})}}else d=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.lz.apply(a,g.pa(c))};
d=aj(140,d);a.B=new g.gl(d,100);a.D=cj(gi,"resize",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];null!==a.B&&a.B.mj.apply(a.B,g.pa(c))},141)}Xca(a,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.ky.apply(a,g.pa(c))});
a.ky()}};
Yca=function(a){var b=uj.getInstance();b.l||"exc"==b.wb||nl(a,!0);var c=new il;switch(b.wb){case "geo":a:{b=b.o;c=new il;c.l=b;if(null!=b&&-12245933!=b.width&&-12245933!=b.height){var d=uj.getInstance();if(d.l)var e=d.B;else try{d=gi;var f=a.I;d=d.top;var k=b||oi(!0,d,void 0===f?!1:f),l=g.zd(g.pd(d.document).g);if(-12245933==k.width){var m=k.width;var n=new g.bh(m,m,m,m)}else n=new g.bh(l.y,l.x+k.width,l.y+k.height,l.x);e=n}catch(q){a=c;break a}c.g=e}a=c}return a;default:return c}};
ol=function(a,b,c,d){if(!a.done){a.A.cancel();var e=uj.getInstance(),f=!!wi(e.rb,"spna");if(0==b.length)f||c||a.A.schedule();else{a.L=null;f=Yca(a);try{var k=nj();uj.getInstance().I=k;if(null!=fl.getInstance().g)for(d=0;d<b.length;d++)xca(b[d],k,c);else switch(e.wb){case "exc":for(d=0;d<b.length;d++)wk(b[d],k,c);break;case "nis":for(e=0;e<b.length;e++)g.t(d)?b[e].up(d):b[e].kz(k);break;case "gsv":for(e=0;e<b.length;e++)g.t(d)?b[e].ey(d):b[e].jz(k);break;case "aio":case "nio":for(d=0;d<b.length;d++)wk(b[d],
k,c);break;case "iem":for(d=0;d<b.length;d++)uca(b[d],k,c);break;case "raf":(0,g.B)(b,function(a){if(c)a.Ai&&(a.Ai.o=3,a.tc.g=0);else if(a.Ai){var b=jca(a.Ai),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[b.snapshot+1];a.tc.g=d[b.l+1];a.Ah(a.position,e,a.ji+b.g,!1,!0,!1);a.eh()&&1!=a.Ge()&&!a.ou&&a.Ai&&eca(a.Ai)}});
break;case "geo":if(f.g)for(d=0;d<b.length;d++)vca(b[d],k,f.g,c,e.g)}for(d=0;d<b.length;d++);a.o.HC+=nj()-k;++a.o.PH}finally{c?(0,g.B)(b,function(a){a.tc.g=0}):a.A.schedule()}}}};
Xca=function(a,b){var c;ki.visibilityState?c="visibilitychange":ki.mozVisibilityState?c="mozvisibilitychange":ki.webkitVisibilityState&&(c="webkitvisibilitychange");c&&(a.H=a.H||cj(ki,c,b,142))};
pl=function(a){if(Zca(a))return!0;var b=fj();a=1===b;b=0===b;return uj.getInstance(),a||b};
$ca=function(a,b){return null!=b&&(0,g.Ej)(a.g,function(a){return a.element==b})};
ql=function(a){return g.Ma(ll.g,function(b){return b.td==a})};
rl=function(a){return 0==a.g.length?a.l:0==a.l.length?a.g:g.Xa(a.l,a.g)};
nl=function(a,b){var c=a.I,d=uj.getInstance(),e,f=fl.getInstance();null!=f.g&&(e=f.g.g);d.o=e?e.g.l:d.l?d.B?(new g.kd(d.B.Ab(),d.B.getHeight())).round():new g.kd(0,0):oi(!0,gi,c);b||(d.K=gi&&gi.outerWidth?new g.kd(gi.outerWidth,gi.outerHeight):new g.kd(-12245933,-12245933),d.A=kj(d.o))};
ada=function(){var a=uj.getInstance();gi.screen&&(a.C=new g.kd(gi.screen.width,gi.screen.height))};
tl=function(a,b){var c=sl(b,"raf",rl(a));c&&(uj.getInstance().wb="raf");return c};
sl=function(a,b,c){var d=void 0===d?g.y:d;var e=!1;(0,g.B)(c,function(c){zk(c,a,b,d)&&(e=!0)});
return e};
bda=function(a){var b=ll,c=[];(0,g.B)(a,function(a){$ca(b,a.element)||(b.g.push(a),c.push(a))})};
cda=function(a){var b=ll,c=[];(0,g.B)(a,function(a){null==g.Ma(b.g,function(b){return b.element==a.element&&!0})&&(b.g.push(a),c.push(a))})};
Zca=function(a){return(0,g.Ej)(rl(a),function(a){return a.Of})};
dda=function(){var a=g.Ib;return a?(0,g.Ej)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return ub(a,b)})?!0:ub(a,"Presto")&&ub(a,"Linux")&&!ub(a,"X11")&&!ub(a,"Android")&&!ub(a,"Mobi"):!1};
ul=function(){return ub(g.Ib,"CrKey")||ub(g.Ib,"PlayStation")||ub(g.Ib,"Roku")||dda()||ub(g.Ib,"Xbox")};
eda=function(a){if(!a)return"";var b=[];b.push("url="+(0,window.encodeURIComponent)(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+(0,window.encodeURIComponent)(a.document.referrer.substring(0,512)));return b.join("&")};
wl=function(a){return function(b){return!g.t(b[a])&&g.t(0)?0:b[a]}};
yl=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.ya(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.t(a)?xl(c,a):c}}};
zl=function(a,b){return function(c){c=c[a];if(g.ya(c))return xl(c,b)}};
Al=function(a){var b=fda;return function(c){return b(c)?c[a]:void 0}};
xl=function(a,b){return(0,g.Ld)(a,function(a,d){return g.Qa(b,d)})};
Dl=function(a,b){var c={sv:"651",cb:"j"};c.nas=ll.g.length;c.msg=a;if(g.t(b)){var d=Bl(b);d&&(c.e=Cl[d])}return c};
Bl=function(a){var b=a.toLowerCase();return Wb(El,function(a){return a==b})};
Fl=function(a,b){Rk.call(this,a,b)};
gda=function(){this.l=this.A=this.C=this.B=this.o=this.g=""};
hda=function(){};
Gl=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.Aa(l)?f[k]=l(a):f[k]=a[l])}else g.fc(f,a);g.t(c)&&g.fc(f,c);a=nk(lk(new kk,qca(f)));0<a.length&&g.t(d)&&g.t(e)&&(e=e(a),a+="&"+d+"="+e);return a};
Hl=function(){};
Il=function(a){a=ida(a);Ij.call(this,a.length?a[a.length-1]:null);this.o=a;this.A=g.y;this.l=null};
ida=function(a){if(!a.length)return[];a=(0,g.Ld)(a,function(a){return null!=a&&a.Di()});
for(var b=1;b<a.length;b++)Bj(a[b-1],a[b]);return a};
Jl=function(a,b,c,d){Hj.call(this,a,b,c,d);this.D=this.C=this.l=null;this.B=0};
mda=function(a){if(!a.element)return!1;var b=a.element;a.l=new a.g.fd.IntersectionObserver(function(b){try{if(b.length){a.C||(a.C=nj());var c=jda(b),e=ij(c.boundingClientRect),f=dh(ij(c.intersectionRect),-e.left,-e.top),k=c.boundingClientRect.width*c.boundingClientRect.height,l=c.intersectionRect.width*c.intersectionRect.height;var m=k?l/k:0;b=0;var n=c.intersectionRect.width*c.intersectionRect.height,q=a.g.g.g;q&&(b=(q.bottom-q.top)*(q.right-q.left));a.o=new mj(a.g.g,a.element,e,f,a.Ik(),m,b?n/b:
0);if(2>a.B){a.B+=1;try{var r=new kk,u=a.element.getBoundingClientRect(),C=Dj(a.g).o,I=Math.min(u.left,0),N=Math.min(u.top,0),Z=u.left-I,V=u.top-N;e={};var Ga=(e.id="av-js",e.type="iobs-geom",e.iobsRectX=c.boundingClientRect.left,e.iobsRectY=c.boundingClientRect.top,e.iobsRectWidth=c.boundingClientRect.width,e.iobsRectHeight=c.boundingClientRect.height,e.geoRectX=u.left,e.geoRectY=u.top,e.geoRectWidth=u.width,e.geoRectHeight=u.height,e.iobsInterRectX=c.intersectionRect.left,e.iobsInterRectY=c.intersectionRect.top,
e.iobsInterRectWidth=c.intersectionRect.width,e.iobsInterRectHeight=c.intersectionRect.height,e.geoInterRectWidth=Math.max(0,Math.min(C.width-Z,u.width+I)),e.geoInterRectHeight=Math.max(0,Math.min(C.height-V,u.height+N)),e.geoInterRectX=Z,e.geoInterRectY=V,e);lk(r,Ga);var oa=new pk(r);qk(oa)}catch(qc){}}}}catch(qc){a.Bs(),bj(299,qc)}},kda);
a.l.observe(b);lda(b);return!0};
jda=function(a){return mk(a,function(a,c){return a.time>c.time?a:c},a[0])};
lda=function(a){if(a=a.style){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
Kl=function(a){Ij.call(this,new yj(a,"nio",2))};
Ll=function(){yj.call(this,gi,"na",1);this.C=new xi(0,"");this.da=4;this.o=[];this.fa=[];this.H=0;this.ca=!1;this.ea=this.L=0;this.N="";this.R=!0};
Ml=function(a){var b=0;a=a.fd;try{if(a&&a.Goog_AdSense_getAdAdapterInstance)return a}catch(c){}for(;a&&5>b;){try{if(a.google_osd_static_frame)return a.google_osd_static_frame}catch(c){}try{if(a.aswift_0&&a.aswift_0.google_osd_static_frame)return a.aswift_0.google_osd_static_frame}catch(c){}b++;a=a!=a.parent?a.parent:null}return null};
Nl=function(a){a.fd.clearInterval(a.L);a.L=0};
Ol=function(a,b){var c=Ml(a),d=!c;d&&(c=a.fd.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.fd.postMessage(b,"*")}catch(e){}};
nda=function(a,b){(0,g.B)(a.o,function(a){a.B(b)})};
oda=function(a,b){(0,g.B)(a.o,function(a){a.A(b)})};
pda=function(a,b){(0,g.B)(a.o,function(a){a.o(b)})};
qda=function(a,b){(0,g.B)(a.o,function(a){a.H(b)})};
rda=function(a,b){(0,g.B)(a.o,function(a){a.l(b)})};
sda=function(a,b,c){(0,g.B)(a.o,function(a){a.C(b,c)})};
tda=function(a){(0,g.B)(a.o,function(a){a.g()})};
uda=function(a,b){(0,g.B)(a.o,function(a){a.F(b)})};
vda=function(a){(0,g.B)(a.o,function(a){a.D()})};
wda=function(a,b){(0,g.B)(a.fa,function(a){a(b)})};
Pl=function(){this.A=this.H=!1;this.o=null;this.l=new Hl;this.g=null;var a={};this.I=(a.start=this.iJ,a.firstquartile=this.dJ,a.midpoint=this.fJ,a.thirdquartile=this.jJ,a.complete=this.bJ,a.pause=this.St,a.resume=this.DC,a.skip=this.hJ,a.viewable_impression=this.Ug,a.mute=this.gk,a.unmute=this.gk,a.fullscreen=this.eJ,a.exitfullscreen=this.cJ,a.fully_viewable_audible_half_duration_impression=this.Ug,a.measurable_impression=this.Ug,a.abandon=this.St,a.engagedview=this.Ug,a.impression=this.Ug,a.creativeview=
this.Ug,a.progress=this.gk,a.custom_metric_viewable=this.Ug,a.bufferstart=this.St,a.bufferfinish=this.DC,a);a={};this.K=(a.overlay_resize=this.gJ,a.abandon=this.ur,a.close=this.ur,a.collapse=this.ur,a.overlay_unmeasurable_impression=function(a){return cl(a,"overlay_unmeasurable_impression",pl(ll))},a.overlay_viewable_immediate_impression=function(a){return cl(a,"overlay_viewable_immediate_impression",pl(ll))},a.overlay_unviewable_impression=function(a){return cl(a,"overlay_unviewable_impression",
pl(ll))},a.overlay_viewable_end_of_session_impression=function(a){return cl(a,"overlay_viewable_end_of_session_impression",pl(ll))},a);
uj.getInstance().H=3};
Ql=function(a,b,c,d){b=a.Lo(null,d,!0,b);b.C=c;b.xs=function(b){a.rr(b)};
bda([b]);return b};
xda=function(){var a=[],b=uj.getInstance();wi(b.rb,"osd")&&b.g&&b.l&&"exc"!=b.wb&&(uj.getInstance().l=!1,a.push(Ll.getInstance()));return[new Kl(gi),new Il(a)]};
yda=function(a){if(!a.H){a.H=!0;try{var b=nj(),c=uj.getInstance();oj=b;Rl=Ik(gi).fd;nl(ll,!1);ada();if("nis"!=c.wb&&"gsv"!=c.wb)if(gi.document.body&&gi.document.body.getBoundingClientRect){ll.o.lH=0;ll.o.jK=nj()-b;var d=xda(),e=fl.getInstance();e.l=d;if(Wca(e,function(){c.l=!1;Sl()}))ll.done||(ml(),Bj(e.g.g,a));
else if(!c.g&&Hk()&&tl(ll,gi))ml();else if(c.g&&"exc"!=c.wb){var f=!!wi(c.rb,"osd");if(c.l&&!f){var k=Ll.getInstance();k.initialize();Bj(k,a)}else Sl()}else ml()}else Tl=!0}catch(l){throw ll.reset(),l;}}};
Ul=function(a){var b=uj.getInstance();if(null==a.o)switch(b.wb){case "nis":a.o="n";break;case "gsv":a.o="m";break;default:a.o="h"}return a.o};
Vl=function(a,b,c){if(null==a.g)return b.ik|=4,!1;a=Sk(a.g,c,b);b.ik|=a;return 0==a};
Sl=function(){a:{var a=ll;if(void 0===b){var b=uj.getInstance().rb;var c=[];0===(wi(b,"nio_mode")||0)&&c.push(a.KU);c.push(a.LU,a.JU);b=c}b=g.la(b);for(c=b.next();!c.done;c=b.next())if(c.value.call(a,gi)){a=!0;break a}a=!1}a?ml():(ll.A.cancel(),Wl="i",ll.done=!0)};
Xl=function(a,b,c){if(!b.ib){var d=cl(b,"start",pl(ll));a=a.l.g(d).g;d=Rl||gi;var e=[];e.push("v=651v");e.push("r="+c);e.push(a);e.push(eda(d));qk("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&"));b.ib=!0}};
Yl=function(a,b,c,d){ol(ll,[a],!pl(ll),d);al(a,c);4!=c&&$k(a.N,c,a.An);return cl(a,b,pl(ll))};
zda=function(a,b,c){if(0==b.Dc){"i"!=Wl&&(ll.done=!1);var d=fl.getInstance();null!=d.g&&wca(b,d.g);zk(b,gi,uj.getInstance().wb,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.aJ.apply(a,g.pa(c))});
d=g.t(c)?c.opt_nativeTime:void 0;rj=d=g.ua(d)?d:nj();b.Xi=!0;var e=pl(ll);Jca(b,d,e);ol(ll,[b],!e,c)}};
Ada=function(a,b){if(g.v(b)){if(1==a)var c=ll.g;else if(2==a)c=ll.l;else return;var d=g.La(c,function(c){return c.Ge()!=a?!1:c.td==b});
0<=d&&(yca(c[d]),g.Ua(c,d))}};
Cda=function(a,b,c,d){var e=g.Ma(ll.g,function(a){return a.element==c});
null!==e&&e.td!=b&&(a.an(e),e=null);e||(e=Bda(a,c,b),e.C=Ul(a),d&&(e.rh=d));return e};
Bda=function(a,b,c){b=a.Lo(b,nj(),!1,c);b.xs=(0,g.z)(a.rr,a);0==ll.l.length&&(uj.getInstance().F=79463069);cda([b]);ml();return b};
Dda=function(a,b){b.F=0;for(var c in Zl)null==a[c]&&(b.F|=Zl[c]);$l(a,"currentTime");$l(a,"duration")};
$l=function(a,b){var c=a[b];g.t(c)&&(a[b]=Math.floor(1E3*c))};
Eda=function(){this.g=void 0;this.l=!1;this.o=0;this.A=-1;this.B="tos"};
Gda=function(a){try{var b=a.split(",");return b.length>g.Rb(Fda).length?null:mk(b,function(a,b){var c=b.toLowerCase().split("=");if(2!=c.length||!g.t(am[c[0]])||!am[c[0]](c[1]))throw Error("Entry ("+c[0]+", "+c[1]+") is invalid.");a[c[0]]=c[1];return a},{})}catch(c){return null}};
Hda=function(a,b){if(void 0==a.g)return 0;switch(a.B){case "mtos":return a.l?Tj(b.o,a.g):Tj(b.g,a.g);case "tos":return a.l?Rj(b.o,a.g):Rj(b.g,a.g)}return 0};
bm=function(a,b,c,d){Rk.call(this,b,d);this.Ba=a;this.C=c};
cm=function(a){Rk.call(this,"fully_viewable_audible_half_duration_impression",a)};
fm=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
hm=function(a){return!!(1<<a&gm)};
Mda=function(){try{Ida()}catch(d){}var a="a=1&b="+gm+"&",b=[],c=99;(0,g.B)(Jda,function(a,c){var d=!1;try{d=a(gi)}catch(k){}b[c/32>>>0]|=d<<c%32});
(0,g.B)(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"});
c=105;(0,g.B)(Kda,function(b){var d="false";try{d=b(gi)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.B)(Lda,function(b){var d="";try{var f=b(gi);d=g.ke(g.ee(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
Ida=function(){if(!im){var a=function(){jm=!0;gi.document.removeEventListener("webdriver-evaluate",a,!0)};
gi.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){km=!0;gi.document.removeEventListener("webdriver-evaluate-response",b,!0)};
gi.document.addEventListener("webdriver-evaluate-response",b,!0);im=!0}};
lm=function(){this.l=64;this.g=Array(4);this.B=Array(this.l);this.A=this.o=0;this.reset()};
mm=function(a,b,c){c||(c=0);var d=Array(16);if(g.v(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};
nm=function(){this.l=null};
om=function(a){return function(b){var c=new lm;c.update(b+a);return Paa(c.digest()).slice(-8)}};
pm=function(a,b){this.l=a;this.o=b};
Sk=function(a,b,c){var d=a.g(c);if(g.Aa(d)){var e={};e=(e.sv="651",e.cb="j",e.e=Nda(b),e);var f=cl(c,b,pl(ll));g.fc(e,f);c.uz[b]=f;a=2==c.Ge()?rca(e).join("&"):a.o.g(e).g;try{return d(c.td,a,b),0}catch(k){return 2}}else return 1};
Nda=function(a){var b=Wb(El,function(b){return b==a});
return Cl[b]};
qm=function(a,b,c){pm.call(this,a,b);this.A=c};
rm=function(a,b){this.g=a;this.depth=b};
sm=function(a){function b(a,b){return null==a?b:a}
a=a||zi();var c=Math.max(a.length-1,0),d=Bi(a);a=d.g;var e=d.l,f=d.o,k=[];f&&k.push(new rm([f.url,f.es?2:0],b(f.depth,1)));e&&e!=f&&k.push(new rm([e.url,2],0));a.url&&a!=f&&k.push(new rm([a.url,0],b(a.depth,c)));d=(0,g.G)(k,function(a,b){return k.slice(0,k.length-b)});
!a.url||(f||e)&&a!=f||(e=xba(a.url))&&d.push([new rm([e,1],b(a.depth,c))]);d.push([]);return(0,g.G)(d,function(a){return Oda(c,a)})};
Oda=function(a,b){(0,g.tm)(b,function(a){return 0<=a.depth});
var c=mk(b,function(a,b){return Math.max(a,b.depth)},-1),d=gaa(c+2);
d[0]=a;(0,g.B)(b,function(a){return d[a.depth+1]=a.g});
return d};
um=function(){var a=sm();return(0,g.G)(a,function(a){return Ei(a)})};
vm=function(){Pl.call(this);this.B=void 0;this.F=null;this.C=!1;this.D={};this.l=new nm};
wm=function(){var a=vm.getInstance(),b="h"==Ul(a)||"b"==Ul(a),c="exc"!=uj.getInstance().wb;b&&c&&(a.C=!0,a.F=new Qca)};
Pda=function(a,b,c){var d=c.opt_configurable_tracking_events;if(null!=a.g&&g.ya(d)){var e=a.g;(0,g.B)(d,function(a){if(!(1<Ka(d,function(b){return b.id==a.id||b.event==a.event}))){var c=(0,g.G)(a.u3,function(a){var b=Gda(a);
if(null==b)a=null;else if(a=new Eda,null!=b.visible&&(a.g=b.visible/100),null!=b.audible&&(a.l=1==b.audible),null!=b.time){var c="mtos"==b.timetype?"mtos":"tos",d=ob(b.time,"%")?"%":"ms";b=(0,window.parseInt)(b.time,10);"%"==d&&(b/=100);"ms"==d?(a.o=b,a.A=-1):(a.o=-1,a.A=b);a.B=void 0===c?"tos":c}return a});
(0,g.Ej)(c,function(a){return null==a})||Kca(b,new bm(a.id,a.event,c,e))}})}};
Qda=function(a,b,c){var d=ql(b);d||(d=c.opt_nativeTime||-1,d=Ql(a,b,Ul(a),d),c.opt_osdId&&(d.rh=c.opt_osdId));return d};
Rda=function(a,b,c){var d=ql(b);d||(d=Ql(a,b,"n",c.opt_nativeTime||-1),d.H=uj.getInstance().D);return d};
Sda=function(a,b){var c=ql(b);c||(c=Ql(a,b,"h",-1));return c};
Tda=function(a){var b=uj.getInstance();switch(Ul(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.wb)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
xm=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.fc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.l.g(Dl("ol",d));if(g.t(d))if(c=Bl(d),g.t(c))if(Tl)b=Dl("ue",d);else if(b=a.Cn(b,e)){b:{yda(a);"i"==Wl&&(b.bh=!0,a.hu(b));c=e.opt_fullscreen;g.t(c)&&(b.Of=!!c);ul()?c=!1:(c=uj.getInstance().wb,c=gi&&gi.g||"nis"===c||"gsv"===c?!1:0===fj());var f=c;if(f){switch(b.Ge()){case 1:Xl(a,b,"pv");break;case 2:a.cu(b)}ll.A.cancel();Wl="pv";ll.done=!0}c=d.toLowerCase();!f&&g.Qa(Uda,c)&&
zda(a,b,e);0!=b.Dc&&g.Qa(Vda,c)&&!b.bh&&!a.A&&b.jl&&(f=b.jl,f.g||(f.g=Tk(f,b)));(f=b.Hi[c])&&b.Fc.xa(f);switch(b.Ge()){case 1:var k=a.I[c];break;case 2:k=a.K[c]}if(k&&(d=k.call(a,b,e,d),g.t(d))){e=Dl(void 0,c);g.fc(e,d);d=e;break b}d=void 0}3==b.Dc&&a.an(b);b=d}else b=Dl("nf",d);else b=void 0;else Tl?b=Dl("ue"):(b=a.Cn(b,e))?(d=Dl(),g.fc(d,bl(b,!0,!1,!1)),b=d):b=Dl("nf");return a.l.g(b)};
Wda=function(a,b,c){a=uj.getInstance();if(a.D!=b){a.D=b;var d=(0,g.Ej)(ll.g,function(a){return a.za});
(0,g.B)(ll.g,function(a){b||d||(a.ji=c);a.H=b;a.za=!1})}};
zm=function(a,b){var c;if(b.rh&&ym(a)){var d=a.D[b.rh];d?c=function(a,b){d.o(a,b)}:null!==d&&bj("lidar::missingPlayerCallback",Error())}else c=g.x("ima.common.triggerViewabilityMeasurementUpdate");
if(g.Aa(c)){var e=Lca(b);e.nativeVolume=a.B;c(b.td,e)}};
ym=function(a){return"exc"==uj.getInstance().wb||"h"!=Ul(a)&&Ul(a),!1};
Am=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.o,b.moatInit=a.B,b.moatViewability=a.C,b.integralAdsViewability=a.A,b.doubleVerifyViewability=a.l,b};
Bm=function(a,b,c){c=void 0===c?{}:c;a=xm(vm.getInstance(),b,c,a);return Am(a)};
Cm=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c="";var d=b.indexOf(":");if(-1!=d){var e=
b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
Xda=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,MH: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}}};
Yda=function(a,b,c){var d=[],e=[];if(1==(g.ya(c)?2:1))return e=[b,a],(0,g.B)(d,function(a){e.push(a)}),Dm(e.join(" "));
var f=[],k=[];(0,g.B)(c,function(a){k.push(a.key);f.push(a.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.Ra(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.B)(d,function(a){e.push(a)});
a=Dm(e.join(" "));a=[c,a];g.Ra(k)||a.push(k.join(""));return a.join("_")};
Dm=function(a){var b=Xda();b.update(a);return b.MH().toLowerCase()};
g.Em=function(){var a=[],b=Cm(String(g.w.location.href)),c=g.w.__OVERRIDE_SID;null==c&&(c=(new Eg(window.document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.w.__SAPISID:g.w.__APISID,null==b&&(b=(new Eg(window.document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.w.location.href);return d&&b&&c?[c,Yda(Cm(d),b,a||null)].join(" "):null}return null};
g.Fm=function(a,b){this.l={};this.g=[];this.Bh=this.Fa=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof g.Fm)for(c=a.zb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
Hm=function(a,b){return Gm(a.l,b)};
Im=function(a){if(a.Fa!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Gm(a.l,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.Fa!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],Gm(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};
Gm=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Jm=function(a){if(a.sb&&"function"==typeof a.sb)return a.sb();if(g.v(a))return a.split("");if(g.za(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Qb(a)};
Km=function(a){if(a.zb&&"function"==typeof a.zb)return a.zb();if(!a.sb||"function"!=typeof a.sb){if(g.za(a)||g.v(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Rb(a)}};
Zda=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.za(a)||g.v(a))(0,g.B)(a,b,void 0);else for(var c=Km(a),d=Jm(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.Lm=function(a,b){this.l=this.F=this.A="";this.B=null;this.H=this.o="";this.C=!1;var c;a instanceof g.Lm?(this.C=g.t(b)?b:a.C,g.Mm(this,a.A),this.F=a.F,g.Nm(this,a.l),g.Om(this,a.B),g.Pm(this,a.o),Qm(this,a.g.clone()),this.H=a.Th()):a&&(c=g.Hg(String(a)))?(this.C=!!b,g.Mm(this,c[1]||"",!0),this.F=Rm(c[2]||""),g.Nm(this,c[3]||"",!0),g.Om(this,c[4]),g.Pm(this,c[5]||"",!0),Qm(this,c[6]||"",!0),this.H=Rm(c[7]||"")):(this.C=!!b,this.g=new g.Sm(null,this.C))};
g.Mm=function(a,b,c){a.A=c?Rm(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))};
g.Nm=function(a,b,c){a.l=c?Rm(b,!0):b;return a};
g.Om=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.B=b}else a.B=null;return a};
g.Pm=function(a,b,c){a.o=c?Rm(b,!0):b};
Qm=function(a,b,c){b instanceof g.Sm?(a.g=b,$da(a.g,a.C)):(c||(b=Tm(b,aea)),a.g=new g.Sm(b,a.C));return a};
g.Um=function(a,b,c){a.g.set(b,c);return a};
g.Vm=function(a){return a instanceof g.Lm?a.clone():new g.Lm(a,void 0)};
Rm=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
Tm=function(a,b,c){return g.v(a)?(a=(0,window.encodeURI)(a).replace(b,bea),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
bea=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.Sm=function(a,b){this.Fa=this.g=null;this.l=a||null;this.o=!!b};
Wm=function(a){a.g||(a.g=new g.Fm,a.Fa=0,a.l&&Mg(a.l,function(b,c){a.add(qb(b),c)}))};
Ym=function(a){var b=Km(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.Sm(null,void 0);a=Jm(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.ya(f)?g.Xm(c,e,f):c.add(e,f)}return c};
$m=function(a,b){Wm(a);b=Zm(a,b);return Hm(a.g,b)};
g.Xm=function(a,b,c){a.remove(b);0<c.length&&(a.l=null,a.g.set(Zm(a,b),g.Ya(c)),a.Fa=a.Fa+c.length)};
Zm=function(a,b){var c=String(b);a.o&&(c=c.toLowerCase());return c};
$da=function(a,b){b&&!a.o&&(Wm(a),a.l=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),g.Xm(this,c,a))},a));
a.o=b};
g.an=function(a){g.K.call(this);this.A=a;this.l={}};
cn=function(a,b,c,d,e){bn(a,b,c,d,!1,e)};
bn=function(a,b,c,d,e,f){g.ya(c)||(c&&(dn[0]=c.toString()),c=dn);for(var k=0;k<c.length;k++){var l=g.sf(b,c[k],d||a.handleEvent,e||!1,f||a.A||a);if(!l)break;a.l[l.key]=l}return a};
fn=function(a,b,c,d,e){en(a,b,c,d,!1,e)};
en=function(a,b,c,d,e,f){if(g.ya(c))for(var k=0;k<c.length;k++)en(a,b,c[k],d,e,f);else{b=rf(b,c,d||a.handleEvent,e,f||a.A||a);if(!b)return a;a.l[b.key]=b}return a};
g.gn=function(a){g.Kb(a.l,function(a,c){this.l.hasOwnProperty(c)&&g.Bf(a)},a);
a.l={}};
hn=function(a,b,c){g.K.call(this);this.l=a;this.o=b;this.C=c;this.B=0;this.g=new g.an(this);cea(this)};
cea=function(a){a.C.forEach(function(a,c){this.g.U(c,"mousedown",this.D);this.g.U(c,"mouseup",this.H)},a);
a.g.U(a.o,"mouseover",a.F)};
jn=function(){};
g.kn=function(a,b){return a.replace(dea,function(a,d){try{var c=ac(b,d);if(null==c)return a;c=c.toString();if(""==c||!g.D(g.E(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
mn=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 u=r.frames;for(l=0;l<u.length;++l)if(e===u[l]){f.push(l);break}e=r;r=e.parent}}catch(C){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(r=0;r<ln.length-1;++r)c.push(Xg(a,ln[r])||"");r=Xg(a,"videoad_start_delay");u="";r&&(r=(0,window.parseInt)(r,10),u=0>r?"postroll":0==r?"preroll":"midroll");c.push(u)}else for(r=0;r<ln.length;++r)c.push("");c=c.join(":");r=c.length;if(0==r)c=0;else{u=305419896;for(d=0;d<r;d++)u^=(u<<5)+(u>>2)+c.charCodeAt(d)&4294967295;c=
0<u?u:4294967296+u}return c.toString()};
nn=function(a,b,c){this.g=a;this.l=b;this.o=c};
on=function(a,b){this.g=a;this.dg=b};
pn=function(a,b){g.ef.call(this,"adError");this.l=a;this.g=b?b:null};
qn=function(a,b,c){g.ef.call(this,a);this.l=b;this.g=null!=c?c:null};
eea=function(a){this.g=a};
fea=function(){var a=rn();return sn(a,"disableExperiments")};
sn=function(a,b){if(Ub(a.g,b)){var c=a.g[b];if(g.ta(c))return c}return!1};
gea=function(a){if(Ub(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.ya(a)&&(0,g.B)(a,function(a){g.ua(a)&&(b[c++]=a)});
return b}return null};
tn=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
un=function(){this.A="always";this.L=4;this.D=1;this.l=this.K=this.B=!1;this.Y=this.I=!0;this.o=this.W=!1;this.H=!0;this.N=null;this.Pa=this.C=this.R=!1;try{this.X=sm(void 0)[0]}catch(a){}};
rn=function(){var a=O;if(null==a.N){var b={},c=(new g.Lm(Bd().location.href)).g;if($m(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.N=new eea(b)}return a.N};
hea=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}};
vn=function(a){g.ef.call(this,a);this.A=[];this.o={};this.g=null;this.l=!0};
wn=function(a,b,c){this.A=b;this.l=c;this.B=a;this.o=!0};
xn=function(){};
yn=function(a,b,c){this.Ba=a;this.g=g.cd(b||0,0,1);this.l=null!=c?c:!0};
zn=function(a){this.Ba=a;this.l=new g.Fm;this.Ua=this.g=null};
iea=function(a){var b=Math.random(),c=0,d=a.l.sb();(0,g.B)(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}};
kea=function(){this.l=null!=g.w.G_testRunner;this.o=new xn;this.g=new g.Fm;O.g()||(An(this,"GvnExternalLayer",31061774,.01),An(this,"GvnExternalLayer",31061775,.01),An(this,"GvnExternalLayer",41351088,.01),An(this,"GvnExternalLayer",41351089,.01),An(this,"GvnExternalLayer",420706008,.05),An(this,"GvnExternalLayer",420706009,.05),An(this,"GvnExternalLayer",41351073,.01),An(this,"GvnExternalLayer",41351074,.01),An(this,"GvnExternalLayer",41351075,.01),An(this,"GvnExternalLayer",634360101,0),An(this,
"GvnExternalLayer",634360102,0),An(this,"GvnExternalLayer",21592080,.1),An(this,"GvnExternalLayer",21592081,.1),An(this,"GvnExternalLayer",413051059,.05),An(this,"GvnExternalLayer",413051060,.05),An(this,"GvnExternalLayer",324123E3,.05),An(this,"GvnExternalLayer",324123001,.05),An(this,"GvnExternalLayer",420706068,.01),An(this,"GvnExternalLayer",420706069,.01),An(this,"GvnExternalLayer",324123020,.01),An(this,"GvnExternalLayer",324123021,.01),An(this,"ActiveViewExternalLayer",509445016,.01),An(this,
"ActiveViewExternalLayer",509445017,.01));An(this,"ActiveViewExternalLayer",953563515,.01);An(this,"ActiveViewExternalLayer",953563516,.01);An(this,"ActiveViewExternalLayer",953563517,.01);jea(this);var a=rn();a=gea(a);null!=a&&(this.l=!1,Bn(this,a.map(String)))};
Dn=function(){Cn||(Cn=new kea);return Cn};
En=function(){return Dn().o};
lea=function(a,b){a.o=b};
mea=function(){var a=Dn();(0,g.B)(a.g.zb(),function(a){g.nb(a,"FORCED_PUB_EXP_LAYER_")&&this.g.remove(a)},a)};
An=function(a,b,c,d){g.D(g.E(b))||(0,window.isNaN)(c)||0>=c||(c=new yn(c,d),Fn(a,b).l.set(c.getId(),c))};
jea=function(a){fea()||(0,g.B)(a.g.sb(),function(a){iea(a)},a)};
Bn=function(a,b){(0,g.B)(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||g.D(g.E(a))||(Fn(this,a).g=new yn(b,0,!0))},a)};
Gn=function(a,b){return a.l?!1:(0,g.Ej)(a.g.sb(),function(a){return!!a.g&&a.g.getId()==b})};
Hn=function(a){if(a.l)return"";var b=[];(0,g.B)(a.g.sb(),function(a){(a=a.g)&&a.l&&b.push(a.getId())});
return b.sort().join(",")};
Fn=function(a,b){var c=a.g.get(b);null==c&&(c=new zn(b),a.g.set(b,c));return c};
oea=function(a){var b=[];(0,g.B)(nea,function(c){(c=(c=Fn(a,c))?c.g:null)&&b.push(c.getId())});
return b};
Jn=function(a){return null!=a?In(pea,a):!1};
In=function(a,b){try{var c=(new g.Lm(b)).l;c=c.replace(/^www./i,"");return(0,g.Ej)(a,function(a){return qea(a,c)})}catch(d){return!1}};
qea=function(a,b){if(g.D(g.E(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b};
Ln=function(a){var b=!1;Kn(a,rea)?b=!1:Jn(a)?b=!0:"https:"==window.location.protocol&&(Kn(a,sea)||O.g())&&(b=!0);if(b){b=new g.Lm(a);if("https"==b.A)return a;g.Mm(b,"https");return b.toString()}return a};
Kn=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
Mn=function(a){if(g.D(g.E(a)))return!1;a=new g.Lm(a);if(!a.A||"http"!=a.A&&"https"!=a.A)return!1;a=a.l;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0};
Nn=function(a){g.D(g.E(a))||window.open(a,"_blank")};
Qn=function(a,b,c){null!=a?(g.Um(a,"label",b),null!=c&&g.Um(a,"value",c.join(";")),a=a.toString()):a="";Pn(a)};
Rn=function(a,b,c,d){null!=a&&null!=b&&(a=g.kn(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.D(g.E(e)))a=b;else{var f=new g.Lm(b);$m(f.g,"label")?(g.Um(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.kn(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
Pn=function(a,b,c,d){a=Rn(a,b,c,void 0);try{a=Ln(a);var e=Dn(),f=!O.g()||Gn(e,41351089);b=!1;O.g()||!Gn(Dn(),634360102)||(b=!0);null!=d&&d?Sn.TC(a,f):O.H?Sn.lU(a,f,b):Sn.PC(a,f,b)}catch(k){}};
Tn=function(a,b){null!=a&&(0,g.B)(a,function(a){Pn(a,b)})};
tea=function(a,b){if(g.D(g.E(b)))return a;var c=new g.Lm(a),d=c.l;return null!=d&&ob(d,".g.doubleclick.net")?(g.Um(c,"ged",b),c.toString()):a};
Un=function(a,b){this.message=a;this.errorCode=b};
Wn=function(a,b,c){return Vn("adLoadError",a,b||null,g.ab(arguments,2))};
Xn=function(a,b,c){return Vn("adPlayError",a,b||null,g.ab(arguments,2))};
Yn=function(a,b,c,d,e){var f=a.apply(null,g.Xa([c,d],g.ab(arguments,3)));b.dispatchEvent(new qn("log",null,f))};
Zn=function(a,b,c){Yn(Xn,a,b,c,void 0)};
Vn=function(a,b,c,d){if(c instanceof wn)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 wn(a,b,e);a.al=c;return a};
$n=function(a,b,c,d){var e=Xn.apply(null,g.Xa([b,c],g.ab(arguments,3)));a.dispatchEvent(new pn(e))};
ao=function(a,b){g.ef.call(this,"vpaidEventType");this.g=a;this.data=b};
bo=function(a){return(a=a.exec(g.Ib))?a[1]:""};
g.co=function(a){return 0<=g.Ab(uea,a)};
eo=function(){return xj()||wj()};
ho=function(){return fo&&!go||ub(g.Ib,"iPod")};
io=function(){return ho()||go};
lo=function(a){return io()&&jo(ko,a)};
oo=function(a){return g.mo&&jo(no,a)};
jo=function(a,b){if(null==po[b]){var c=qo(a);c?(c=c.replace(/_/g,"."),po[b]=0<=g.Ab(c,b)):po[b]=!1}return po[b]};
qo=function(a){g.D(ro)&&(a=a.exec(g.Ib))&&(ro=a[1]);return ro};
so=function(){var a=g.Ib;return a?ub(a,"Nintendo WiiU"):!1};
to=function(){return fo&&!go&&lo(10)&&O.g()||!O.g()&&(fo&&!go&&lo(10),0)?!0:ho()||g.mo&&!oo(4)||!O.g()&&ul()?!1:!0};
uo=function(){var a;(a=O.l||!1)||(a=!1);return a||io()&&(fo&&!go&&lo(10),!0)||g.mo&&!oo(4)||ul()?!0:!1};
vo=function(a){return!(null===a||a.rj()||O.g()||ho()||ul()||g.mo&&!oo(4))};
wo=function(){this.reset()};
xo=function(a,b){null!=b&&a.l!=b?(a.g=1,a.l=b):a.g=null!=b?a.g+1:1;return a.g};
yo=function(a,b,c,d,e,f){g.v(a)?(this.g="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.g=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};
g.Do=function(a,b,c){g.ua(a)?(this.date=zo(a,b||0,c||1),Ao(this,c||1)):g.Ba(a)?(this.date=zo(a.getFullYear(),a.getMonth(),a.getDate()),Ao(this,a.getDate())):(this.date=new Date((0,g.F)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),Ao(this,a))};
zo=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
Ao=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Eo=function(){this.l=this.g=null};
Go=function(){this.g=Fo();this.K=-1;this.L=this.N=this.B=this.I=this.l=null;this.A=Fo();this.o=null;this.W=this.D=this.H="";this.F=this.R=this.Y=this.C=null;this.X=0};
Fo=function(){return Math.floor(4503599627370496*Math.random())};
Ho=function(a){null==a.B&&(a.B=new wo);return a.B};
Io=function(a){if(O.l)return"h.3.0.0";var b="h."+a.W;null!=a.C&&(b+="/n."+a.C,null!=a.l&&(b+="/"+a.l));return b};
Jo=function(){this.g=.01>Math.random();this.l=Math.floor(4503599627370496*Math.random())};
Mo=function(a,b,c,d){if(a.g||d){c=c||{};c.lid=b;c.sdkv=Io(Ko);b=Hn(Dn());g.D(g.E(b))||(c.e=b);c=vea(a,c);var e=new g.Lm("http://pagead2.googlesyndication.com/pagead/gen_204");g.Kb(c,function(a,b){g.Um(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a);
a=Lo();g.Mm(e,a.A);Pn(e.toString())}};
vea=function(a,b){b.id="ima_html5";var c=Lo();b.c=a.l;b.domain=c.l;return b};
Lo=function(){var a=Bd(),b=window.document;return new g.Lm(a.parent==a?a.location.href:b.referrer)};
No=function(){this.gf=15E3};
Oo=function(){g.Gf.call(this)};
Po=function(){g.Gf.call(this);this.g=new g.Fm;this.l=null;this.H=new g.an(this);g.L(this,this.H);this.B="";this.A=this.I=this.D=this.o=null;this.F=-1};
Ro=function(){null!=Qo||(Qo=new Po);return Qo};
So=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Ro().dispatchEvent(new qn("measurable_impression",null,c))};
To=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Ro().dispatchEvent(new qn("viewable_impression",null,c))};
Uo=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;Ro().dispatchEvent(new qn("externalActivityEvent",null,d))};
wea=function(a,b){if(a.l)if(a.A){var c=(0,g.F)()-a.F;b(a.A+"_ct"+c)}else{var d=a.g;c=window.setTimeout(function(){b("timeout");(0,g.B)(d.zb(),function(a){d.get(a)===b&&d.remove(a)})},200);
a.g.set(c,b);var e={};e.osdId=a.B;e.eventId=c;Jo.getInstance().isLoggingEnabled()&&(a.C=(0,g.F)(),e.loggingId=Math.random(),Mo(Jo.getInstance(),43,{step:"sendingMessage",logid:e.loggingId,time:a.C}));a.l.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
xea=function(a,b,c,d){if(a.l){var e={};e.queryId=c;e.vastEvent=b;a.B&&(e.osdId=a.B);e.isOverlay=null!=a.o;a.o&&(e.overlayBounds=g.Mh(a.o));var f=a.g;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.B)(f.zb(),function(a){f.get(a)===d&&f.remove(a)})},200);
a.g.set(b,d);e.eventId=b;a.l.send("activityMonitor","reportVastEvent",e)}else d({})};
Vo=function(){};
Wo=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
Zo=function(a,b){if(null==a||0>=a.width||0>=a.height)throw Xn(Xo,null,"ad slot size",a.toString());this.l=a;this.g=null!=b?b:new Vo;this.B=Yo(yea,this.g.o)?this.g.o:"All";this.A=Yo(zea,this.g.creativeType)?this.g.creativeType:"All";this.D=Yo(Aea,this.g.A)?this.g.A:"SelectExactMatch";this.F=Yo(Bea,this.g.l)?this.g.l:"DisallowResize";this.o=null!=this.g.B?this.g.B:[];this.C=g.ua(this.g.g)&&0<this.g.g&&100>=this.g.g?this.g.g:90};
bp=function(a,b){var c=[];(0,g.B)(b,function(a){!g.D(g.E(a.g.l))&&((0,window.isNaN)(a.g.g)||(0,window.isNaN)($o(a))||$o(a)==a.g.g)&&ap(this,a)?c.push(a):(a=Cea(this,a),null!=a&&!g.D(g.E(a.g.l))&&c.push(a))},a);
return c};
ap=function(a,b){var c;if(c="Flash"!=b.ld()||cp){if(c="All"==a.B||a.B==b.g.L)c=b.ld(),c=null!=c?"All"==a.A||a.A==c:!0;c&&(c=b.o,c=g.Ra(a.o)?!0:null!=c?0<=(0,g.Pa)(a.o,c):!1)}if(c){var d=b.g.Vd();if("IgnoreSize"==a.D||g.ld(a.l,d))c=!0;else if(c="SelectNearMatch"==a.D)"ResizeSmaller"==a.F?(d=d.width<=a.l.width&&d.height<=a.l.height?d:dp(d,a.l),c=d.width,d=d.height):(c=d.width,d=d.height),c=c>a.l.width||d>a.l.height||c<a.C/100*a.l.width||d<a.C/100*a.l.height?!1:!0}else c=!1;return c};
Cea=function(a,b){var c=b.l;return null!=c?g.Ma(c,function(a){return ap(this,a)},a):null};
dp=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.kd(c*a.width,c*a.height)};
Yo=function(a,b){return null!=b&&g.Vb(a,b)};
ep=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)};
Dea=function(a){var b={};(0,g.B)(a.split(","),function(a){var c=a.split("=");2==c.length&&(a=yb(c[0]),c=yb(c[1]),0<a.length&&(b[a]=c))});
return b};
gp=function(a,b){if(a[b])return fp(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return fp(a[d]);return!1};
fp=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Eea=function(){this.g=this.Qe=1;this.l=this.A=0;this.o=1};
hp=function(){g.Gf.call(this);this.g=null;this.C=new g.an(this);g.L(this,this.C);this.l=new g.Fm;this.D=new g.Fm;this.A=null;this.o=!1;this.B=null};
jp=function(){null!=ip||(ip=new hp);return ip};
Fea=function(){jp();var a=Dn(),b=uj.getInstance().rb;a=oea(a);En().g("enable_active_view_presence_data_collection")&&a.push(509445017);Fba(b,a)};
lp=function(a){if(null==a)return!1;if(ho()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=kp(a);return 0>=b-a.width&&42>=c-a.height};
kp=function(a){return g.Aa(a.getBoundingClientRect)&&g.Qd(g.nd(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
mp=function(a,b,c,d,e){if(a.o){if(a.B)return a.B(b,c,e);e=e||{};if(d=d?a.D.get(d):O.F)null!=e.opt_fullscreen||(e.opt_fullscreen=lp(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.A&&(O.l&&(e.opt_overlayAdElement=a.A),null!=e.opt_bounds||(e.opt_bounds=kp(a.A)));return $i("lidar::handlevast_html5",g.Ea(Bm,b,c,e))||{}}return{}};
np=function(a,b){var c=[];a.l.forEach(g.Ea(function(a,b,c,k){c==b&&a.push(k)},c,b));
(0,g.B)(c,a.l.remove,a.l)};
op=function(a){if(g.Aa(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}};
Gea=function(a,b,c){if(!O.I)return"";var d=b?a.D.get(b):O.F;a={};null!=c&&(a.fullscreen=c);c="";try{c=tba(function(){return d},a)}catch(e){c="sdktle;"+tb(e.name,12)+";"+tb(e.message,40)}return c};
pp=function(a,b){g.ef.call(this,a);this.g=b};
qp=function(a,b){this.H=a;this.F=(0,g.G)(b,function(a){return a.clone()});
this.D="";this.A=null;this.g=this.o=0;this.l=!0;this.B=[];this.C=[]};
rp=function(a,b,c,d,e){a.D="<div></div>";a.A=b;a.o=c;a.g=d;a.l=!1;a.B=e||[];a.C=[]};
sp=function(a){a.D="";a.A=null;a.o=0;a.g=0;a.l=!0;a.B=[];a.C=[]};
tp=function(a){g.ef.call(this,a)};
up=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.Tb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.g=g.Tb(a,"image","bannerImageUrl")}};
g.vp=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.wp=function(a,b){var c=a.l(b,void 0);return-1==(0==c?a.g:c)?"rtl":"ltr"};
xp=function(){throw Error("Do not instantiate directly");};
yp=function(a,b){this.content=String(a);this.xk=null!=b?b:null};
zp=function(){xp.call(this)};
Ap=function(){xp.call(this)};
Bp=function(a,b){return null!=a&&a.Ti===b};
Cp=function(a){if(null!=a)switch(a.xk){case 1:return 1;case -1:return-1;case 0:return 0}return null};
P=function(a){return null!=a&&a.Ti===Dp?a:a instanceof g.Sc?Ep(g.Tc(a),a.g()):Ep(g.rb(String(String(a))),Cp(a))};
Hp=function(a,b,c){var d="key_"+a+":"+b,e=Fp[d];if(void 0===e||0>e)Fp[d]=0,Gp[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
Ip=function(a,b){var c=Gp["key_"+a+":"+b];c||""==b||(c=Gp["key_"+a+":"]);return c?c:Hea;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');};
Hea=function(){return""};
Q=function(a){return Bp(a,Dp)?String(String(a.kd()).replace(Jp,"").replace(Kp,"&lt;")).replace(Iea,Lp):g.rb(String(a))};
Mp=function(a){return Bp(a,Dp)?String(String(a.kd()).replace(Jp,"").replace(Kp,"&lt;")).replace(Jea,Lp):String(a).replace(Kea,Lp)};
Lea=function(a){return"%"+a.charCodeAt(0).toString(16)};
Op=function(a){a=g.pb(String(a));Np.lastIndex=0;return Np.test(a)?a.replace(Np,Lea):a};
Up=function(a){if(Bp(a,Pp)||Bp(a,Qp))return Rp(a);a instanceof Gc?a=Rp(g.Hc(a)):a instanceof Bc?a=Rp(Cc(a)):(a=String(a),a=Mea.test(a)?a.replace(Sp,Tp):"about:invalid#zSoyz");return a};
Vp=function(a){if(Bp(a,Pp)||Bp(a,Qp))return Rp(a);a instanceof Gc?a=Rp(g.Hc(a)):a instanceof Bc?a=Rp(Cc(a)):(a=String(a),a=Nea.test(a)?a.replace(Sp,Tp):"about:invalid#zSoyz");return a};
Xp=function(a){var b=Wp[1]||(Wp[1]=new g.vp(1)),c=Cp(a);null==c&&(c=zc(a+"",Bp(a,Dp)));return Oea(c!=b.g?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
Lp=function(a){return Pea[a]};
Tp=function(a){return Qea[a]};
Rp=function(a){return String(a).replace(Sp,Tp)};
Rea=function(a){return'<div class="'+P("text-container")+" "+(a.image?P("pyv"):"")+'"><div class="'+P("text-inner-container")+'">'+(a.image?(a.Gc?'<a class="'+P("text-image-link")+'" target="_blank" href="'+P(a.Gc)+'">':'<a class="'+P("text-image-link")+'" target="_blank">')+'<img src="'+P(a.image)+'" class="'+P("text-image")+" "+(a.PD?P("yt-video-image"):"")+'">'+(a.duration?'<div class="'+P("text-image-duration")+'">'+P(a.duration)+"</div>":"")+"</a>":"")+(a.Gc?'<a class="'+P("text-title")+'" href="'+
P(a.Gc)+'" target="_blank" dir='+P(a.dir)+">"+P(a.title)+"</a>":"")+'<div class="'+P("text-description")+'" dir='+P(a.dir)+">"+P(a.text)+"</div>"+(a.RD&&a.Gc?'<a target="_blank" href="'+P(a.Gc)+'" class="'+P("text-ad-channel")+'">'+P(a.RD)+"</a>":"")+"</div></div>"};
Sea=function(a){return'<div class="'+P("flash-container")+" "+(a.capture?P("click-capture"):"")+'">'+(a.Gc?'<a class="click-layer" target="_blank" href="'+P(a.Gc)+'"></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="'+P(a.width)+'" height="'+P(a.height)+'"><param name="movie" value="'+P(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
Op(a.Gc)+'"><embed width="'+P(a.width)+'" height="'+P(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+P(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+Op(a.Gc)+'"></object></div>'};
Tea=function(a){return'<div class="'+P("image-container")+'" id="'+P(a.id)+'" style="width:'+P(a.width)+";height:"+P(a.height)+';">'+(a.Gc?'<a target="_blank" href="'+P(a.Gc)+'">':'<a target="_blank">')+'<img src="'+P(a.url)+'" border="0"></a></div>'};
Uea=function(a){return'<div class="'+P("image-container")+'" id="'+P(a.id)+'">'+(a.Gc?'<a target="_blank" href="'+P(a.Gc)+'">':'<a target="_blank">')+'<img src="'+P(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
Yp=function(a){return'<div class="'+P("image-container")+'" id="'+P(a.id)+'" style="width:'+P(a.width)+";height:"+P(a.height)+';"></div>'};
Zp=function(){this.g=new g.Fm};
$p=function(a,b){this.l=a;this.o=b};
aq=function(a,b){$p.call(this,"progress",a);this.g=b};
cq=function(a,b){(0,g.B)(b,function(a){var b=a.Sb().toLowerCase(),c=bq(this,b);c.push(a);this.g.set(b,c)},a)};
dq=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new aq(c,d):new $p(b,c);d=bq(a,b);d.push(c);a.g.set(b,d)};
bq=function(a,b){return null!=b?a.g.get(b.toLowerCase(),[]):[]};
Vea=function(a,b){var c=bq(a,"progress");(0,g.B)(c,function(a){eq(a.g,b)});
g.ib(c,function(a,b){return fq(a.g)-fq(b.g)})};
gq=function(a,b){return(0,g.G)(bq(a,b),function(a){return a.Oa()})};
hq=function(){this.fa=-1;this.F={};this.oa="";this.uj=new Zp};
iq=function(a,b,c){a.oa=b;a.F=c};
jq=function(a,b){var c=[],d=a.zn();(0,g.B)(d,function(a){a=bq(a.uj,b)||[];c=g.Xa(a,c)},a);
return c};
Wea=function(a){a=jq(a,"feedbackShown");return(0,g.G)(a||[],function(a){return a.Oa()})};
kq=function(a,b,c){var d=c||!1;return g.Ma(b.D,function(a){var b=a.g==this.g;return a instanceof this.constructor&&(d||b)},a)};
lq=function(a,b,c,d,e,f,k,l,m){this.o=a;this.g=b;(0,window.isNaN)(c)&&(0,window.isNaN)(d)&&(0,window.isNaN)(e)?e=d=0:(0,window.isNaN)(d)&&!(0,window.isNaN)(e)?d=e:!(0,window.isNaN)(d)&&(0,window.isNaN)(e)?e=d:!(0,window.isNaN)(c)&&(0,window.isNaN)(d)&&(0,window.isNaN)(e)&&(d=e=c);this.ki=d;this.Tf=e;this.C=f;this.A=k;this.B=Ln(g.E(l));this.l=m};
mq=function(a,b,c,d,e,f){hq.call(this);this.fa=a;this.A=b;this.o=c;this.l=g.Ya(d);this.B=null;this.C=e;this.ma=g.Ya(f);cb(this.ma,null,function(a){return a.K})};
nq=function(a){var b=new g.Fm,c=a.zn();(0,g.B)(c,function(a){if(a instanceof mq){var c=a.o;(0,g.B)(c.zb(),function(a){b.set(a,g.Xa(c.get(a),b.get(a)||[]))},this)}},a);
return b};
pq=function(a){return oq(a,"x-shockwave-flash")};
oq=function(a,b){var c=g.Ma(a.l,function(a){return!g.D(g.E(a.g))&&-1!=a.g.indexOf(b)&&("VPAID"==a.l||"surveys"==a.l)});
return null!=c?c:null};
rq=function(a,b,c,d,e){hq.call(this);g.D(g.E(a))&&(a=Cb()+"_ima");this.Ba=g.E(a);this.za=b;this.L=c;this.Ya=d;this.l=e;this.K=[];null!=this.Ya?this.X=qq[this.Ya]||"Other":this.X=null};
sq=function(a,b,c){g.K.call(this);this.l=a;this.B=b;this.I=c;this.A=0;this.g={};this.o=new g.an(this);g.L(this,this.o);Xea(this)};
Xea=function(a){(0,g.B)(a.I,function(a){this.o.U(a.element,"mousedown",this.D,!0);this.o.U(a.element,"mouseup",g.Ea(this.H,a),!0)},a);
a.o.U(a.B,"mouseenter",a.F)};
Yea=function(a,b){g.Kb(a.g,function(a,d){b=Zg(b,d,a)});
return b};
tq=function(a,b,c,d,e){rq.call(this,a,b,c,d,e);this.da=this.A=null;this.Cb=-2;this.o=null;this.ca=this.W=g.y;this.Y=[];this.Na=[];this.C=!1;this.Ua=null};
wq=function(a,b){a.o=b;null!=a.A&&null!=b&&(uq(a,a.W),vq(a,a.ca))};
uq=function(a,b){null!=a.o&&null!=a.A&&(0,g.B)(a.Y,function(a){this.o.Aa(a,"click",this.W);!g.D(g.E(this.df()))&&this.o.U(a,"click",b)},a);
a.W=b};
vq=function(a,b){null!=a.o&&null!=a.A&&(a.o.Aa(a.A,"creativeview",a.ca),a.o.U(a.A,"creativeview",b));a.ca=b};
xq=function(a,b){var c=a.Ba,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.ld()&&(d.style+="width:"+a.Ab()+"px");g.D(g.E(c))||(d.id=c);return g.J("DIV",d,b)};
yq=function(a){if(!a.C)return null;var b=jq(a,"start");Za(b,jq(a,"creativeview"));if(null!=b&&!g.Ra(b)){var c=[];(0,g.B)(b,function(a){if(!g.D(g.E(a))){var b=g.pd().sI("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:Zea});g.sh(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",Ln(a.Oa()));b.setAttribute("id",d);this.Na.push(d);g.Ta(c,b)}},a);
return c}return null};
$ea=function(a,b){if(null!=a.A)if(En().g("cleanup_text_overlay_spam_signals")){var c=[];(0,g.B)(a.Y,function(a){c.push({element:a,FH:this.Nq(a)})},a);
new sq(b,a.A,c)}else c=new g.Fm,(0,g.B)(a.Y,function(a){c.set(a,this.Nq(a))},a),new hn(b,a.A,c)};
afa=function(a){var b=[],c=a.zn();(0,g.B)(c,function(a){b=g.Xa(b,a.K)},a);
return b};
zq=function(a,b,c){var d=c||!1;return g.Ma(b.D,function(a){var b=a.g==this.g;return this instanceof a.constructor&&(d||b)},a)};
Aq=function(a,b){this.g=null!=a?a:new Zp;this.H=null!=b?b:[]};
bfa=function(a,b){var c=b.g;(0,g.B)(c.zb(),function(a){cq(this.g,c.get(a))},a)};
Bq=function(a,b){var c=gq(a.g,b);return null!=c?c:[]};
g.Cq=function(a){if(a.classList)return a.classList;a=a.className;return g.v(a)&&a.match(/\S+/g)||[]};
g.Dq=function(a,b){return a.classList?a.classList.contains(b):g.Qa(g.Cq(a),b)};
g.R=function(a,b){a.classList?a.classList.add(b):g.Dq(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.Eq=function(a,b){if(a.classList)(0,g.B)(b,function(b){g.R(a,b)});
else{var c={};(0,g.B)(g.Cq(a),function(a){c[a]=!0});
(0,g.B)(b,function(a){c[a]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.Fq=function(a,b){a.classList?a.classList.remove(b):g.Dq(a,b)&&(a.className=(0,g.Ld)(g.Cq(a),function(a){return a!=b}).join(" "))};
g.Gq=function(a,b){a.classList?(0,g.B)(b,function(b){g.Fq(a,b)}):a.className=(0,g.Ld)(g.Cq(a),function(a){return!g.Qa(b,a)}).join(" ")};
g.S=function(a,b,c){c?g.R(a,b):g.Fq(a,b)};
g.Hq=function(a,b,c){g.Dq(a,b)&&(g.Fq(a,b),g.R(a,c))};
g.Iq=function(a,b){var c=!g.Dq(a,b);g.S(a,b,c);return c};
Jq=function(a,b){var c=a(b||cfa,void 0,void 0);var d=g.pd().createElement("DIV");c=dfa(c);d.innerHTML=c;1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
dfa=function(a){if(!g.Ba(a))return String(a);if(a instanceof xp){if(a.Ti===Dp)return a.kd();if(a.Ti===Kq)return g.rb(a.kd())}return"zSoyz"};
Lq=function(a,b){tq.call(this,a,b,"Static","text","")};
Mq=function(a){null!=a?In(efa,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=Jn(a)?ffa(a):null:a=null;return a};
Nq=function(a,b,c){if(null==a)return null;c=new g.Lm((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Qm(c,d);return c.toString()};
Oq=function(a){return null===a?!1:"pharma"==(new g.Lm(a)).Th().toLowerCase()};
ffa=function(a){if(g.D(g.E(a)))return null;var b=a.match(/^https?:\/\/[^\/]*youtu\.be\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/video\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/watch\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];a=(new g.Lm(a)).g;return $m(a,"v")?a.get("v").toString():$m(a,"video_id")?a.get("video_id").toString():null};
Pq=function(a){return g.D(g.E(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
Vq=function(a,b,c){var d={};a=new Qq(a,g.t(b)?b:null,g.t(c)?c:null);Rq(d,a);b=a.error;d.ERRORCODE=1E3>b.l?b.l:900;Sq(d);Tq(d,a);Uq(d,a);b=a.error.Ub();d.ERROR_MSG=a.error.Ed();d.IMA_ERROR=b;d.INTERNAL_ID="0";a=-1!=(0,g.Pa)(gfa,b);d.BLOCKING_ERROR=a?"1":"0";d.YT_ERROR_CODE=3;return d};
Wq=function(a,b){var c={},d=new Qq(null,a,g.t(b)?b:null);Rq(c,d);Sq(c);Tq(c,d);Uq(c,d);c.BREAK_TYPE="0";c.SLOT_POS="0";c.MIDROLL_POS="0";if(null!=d.g){var e=d.g.o;if(null!=e&&null!=e.Gh&&null!=e.Gh.video_start_delay)e=e.Gh.video_start_delay,0==e?c.BREAK_TYPE="1":-1==e?c.BREAK_TYPE="3":(c.BREAK_TYPE="2",c.MIDROLL_POS=e);else{e=d.g.A;c.BREAK_TYPE=0==e.A?"1":-1==e.A?"3":"2";var f=d.g.Ye();f&&(c.BREAK_TYPE=f);c.SLOT_POS=e.g-1;e=d.g.o;e=null!=e&&null!=e.gc&&null!=e.gc.GET_MIDROLL_POSITION_IN_SEC?e.gc.GET_MIDROLL_POSITION_IN_SEC:
null;f=Math.round(d.g.A.l);e=0<f&&e?e(f):f;0<e&&(c.MIDROLL_POS=e)}}hfa(c,d);ifa(c,d);d=a.Xa;for(e=a;null!=e;)d=e.Ma+","+d,e=e.l;c.RWT=d;return c};
Qq=function(a,b,c){this.error=a;this.g=b;this.l=c};
Xq=function(a,b){null!=b&&(a.VIEWABILITY=b)};
Yq=function(a,b,c,d){jfa(c,b)?a[c]=d||"":a[c]=""};
jfa=function(a,b){return(0,g.Ej)(kfa[a],function(a){return null!=b.match(a)})};
Rq=function(a,b){a.CACHEBUSTING={toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}};
a.ASSETURI={toString:function(){return null!=b.l?b.l.getVideoUrl():""}};
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}};
ifa=function(a,b){a.AD_CPN={toString:function(){return b.l.Ae()}};
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.l.getCurrentTime())).toString()}};
a.MT={toString:function(){return b.l?Math.round(Math.max(0,1E3*b.l.getCurrentTime(1))).toString():"0"}};
a.P_W={toString:function(){return null!=b.l&&null!=b.l.Yg()?b.l.Yg().width.toString():""}};
a.P_H={toString:function(){return null!=b.l&&null!=b.l.Yg()?b.l.Yg().height.toString():""}}};
Sq=function(a){a.SDKV=Io(Ko);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
Tq=function(a,b){if(null!=b.g&&null!=b.g.o&&null!=b.g.o.gc&&O.g()){var c=b.g.o.gc;(0,g.B)(lfa,function(b){b in c&&(a[b]=c[b])})}};
Uq=function(a,b){if(null!=b.g){a.AD_ID=Zq(b.g);a.AD_SYS=$q(b.g);var c=ar(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.l){var a=Mq(b.l.getVideoUrl());if(null!=a)return a}return"0"}};
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try{c=br(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"}};
hfa=function(a,b){null!=b.g&&(a.AD_LEN={toString:function(){var a=b.g.getDuration();return 0>a?"-1":Math.round(1E3*a).toString()}},a.VOL={toString:function(){return null!=b.l?b.l.isMuted()?"0":Math.round(100*b.l.getVolume()).toString():""}})};
er=function(a,b,c){var d=null,e=c+b;(0,g.B)(a.D,function(f){if(gp(f.F,"rm")){var k=Wq(a);cr(a)&&(k.FILLED_OPPORTUNITY=0);Tn(a.W,k);(k=a.o)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof tq)0==c&&0==b||f instanceof Lq?k=!0:(k=f.Vd(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.Vd().height+b-f.Vd().width,"Flash"!=f.ld()||cp)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.ld()&&"Javascript"==f.ld()?d=f:f.g<d.g&&(d=f)):(d=f,e=k))}});
dr(a,d)};
fr=function(a){var b=null;(0,g.B)(a.D,function(a){a instanceof mq&&(null===b||a.g<b.g)&&(b=a)});
dr(a,b)};
gr=function(a,b,c,d){this.A=a;this.D=b;this.ads=0<this.A.length?this.A:this.D;this.C=c;this.B=this.F=!0;this.l=-1;this.g=null;this.I=this.o=0;this.K=d;this.logger=null};
kr=function(a,b,c){var d=[],e=(0,g.z)(function(a){this.Lf()?this.De(function(a){d.push(a);e(null)},function(a){301==a.Ub()?c(Wn(hr)):e(a)}):0<d.length?b(d):(null==a&&(a=Wn(ir)),1012==a.Ub()&&(a=Wn(jr)),c(a))},a);
e(null)};
mfa=function(a,b){a.B=b;a.ads=a.Ax(a.A,a.D);a.l=-1};
nfa=function(a,b,c,d){var e=a.C.clone();e.l="";e.g=b.Pb;lr(a,b,e,c,d)};
lr=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.o,null!=f&&(c.l=f));a.K.fetch(c,(0,g.z)(function(a){a instanceof gr?(ofa(a,b,this.B&&b.ib,b.qb),d(a)):a instanceof mr?e(new wn("adLoadError","Ad source cannot contain playlist response.",2)):e(new wn("adLoadError","Unknown ad source.",2))},a),e)};
pfa=function(a){var b=0;for(a=a.l;null!=a;)a=a.l,b++;return b};
qfa=function(a,b,c){a.g.Lf()?a.g.De((0,g.z)(function(a){this.Eo(a,b,(0,g.z)(function(a){this.Lf()?this.De(b,c):c(a)},this))},a),(0,g.z)(function(a){nr(this.ads[this.l],a);
this.g=null;O.g()||301!=a.Ub()?this.Lf()?this.De(b,c):c(a):c(a)},a)):(0==a.g.o&&nr(a.ads[a.l],Wn(or)),a.g=null,a.De(b,c))};
nr=function(a,b){if(b.o){1012==b.Ub()&&(b=Wn(jr));var c=Vq(b,a),d=a.fa;O.g()&&303==b.Ub()&&(d=(0,g.Ld)(d,function(a){return-1==a.indexOf(".youtube.com/api/stats/ads")}));
Tn(d,c)}};
tfa=function(a,b,c){a.l++;var d=a.ads[a.l];d.Z||d.Ya?d.Ya?nfa(a,d,(0,g.z)(function(a){this.g=a;this.De(b,c)},a),(0,g.z)(function(a){a=pr(a);
nr(d,a);c(a)},a)):pfa(d)>=O.L?(a=Wn(rfa,null,String(O.L)),nr(d,a),c(a)):a.F?a.Yt(d,(0,g.z)(function(a){this.g=a;
this.De(b,c)},a),(0,g.z)(function(a){a=pr(a);
nr(d,a);c(a)},a)):c(Wn(sfa)):a.Eo(d,b,c)};
pr=function(a){switch(a.Ub()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=Wn(or)}return a};
ofa=function(a,b,c,d){(0,g.B)(a.ads,function(a){a.l=b});
mfa(a,c);a.F=d};
qr=function(a){Aq.call(this);this.l=(0,window.isNaN)(a)?-1:a};
rr=function(a,b,c,d){gr.call(this,[],a,b,c);this.H=d};
sr=function(a){var b=a.ads.length-(0>a.l?1:a.l+1);return null!=a.g&&a.g instanceof rr?b+sr(a.g):b};
tr=function(a){g.Lm.call(this,a);this.D=new g.Fm;a=this.o;var b=a.indexOf(";"),c=null;0<=b?(g.Pm(this,a.substring(0,b)),c=a.substring(b+1)):g.Pm(this,a);ufa(this,c)};
ufa=function(a,b){g.D(g.E(b))||(0,g.B)(b.split(";"),function(a){var b=a.indexOf("=");if(0<b){var c=qb(a.substring(0,b));a=qb(a.substring(b+1));b=this.D.get(c);null!=b?g.Qa(b,a)||b.push(a):b=[g.E(a)];this.D.set(c,b)}},a)};
ur=function(a,b){if(g.D(g.E(b)))return null;var c=a.D.get(b);return null!=c?c:null};
vr=function(a,b,c){g.D(g.E(b))||(c=g.G(c,g.E),a.D.set(b,c))};
wr=function(a,b){var c=[g.E(b)];Za(c,vfa(a));return c.join(";")};
vfa=function(a){var b=ur(a,"ord");null!=b?g.D(g.E("ord"))||a.D.remove("ord"):b=[g.E((0,g.F)())];var c=[];(0,g.B)(a.D.zb(),function(a){(0,g.B)(this.D.get(a),function(b){Za(c,a+"="+b)})},a);
Za(c,"ord="+b[0]);vr(a,"ord",b);return c};
yr=function(a){if(null==a)return!1;a=new g.Lm(a);var b=a.o;return ob(a.l,"googleads.g.doubleclick.net")&&xr("/pagead/(live/)?ads",b)};
zr=function(a){a=a.g;return null!=a?"bid.g.doubleclick.net"==(new g.Lm(a)).l:!1};
Ar=function(a){if(null==a)return!1;var b=new tr(a);a=b.l;b=wr(b,b.o);return!ob(a,".g.doubleclick.net")&&ob(a,"doubleclick.net")&&xr("/(ad|pfad)[x|i|j]?/",b)};
Br=function(a){if(null==a)return!1;a=new g.Lm(a);var b=a.o;return ob(a.l,"doubleclick.net")&&xr("/gampad/(live/)?ads",b)};
wfa=function(a){return yr(a.g)||Ar(a.g)||Br(a.g)||zr(a)};
Dr=function(a){a=a.g;return null!=a?Cr(a):!1};
Cr=function(a){a=new g.Lm(a);var b=a.o;return ob(a.l,"youtube.com")&&xr("/get_midroll_info",b)};
xfa=function(a){a=a.g;if(null==a)return null;a=(new g.Lm(a)).g;return null!=a.get("ms")?g.E(a.get("ms")):null};
xr=function(a,b){return g.D(g.E(b))?!1:(new RegExp(a)).test(b)};
Er=function(a,b,c,d){this.g=a;this.l=b;this.o=c;this.A=null!=d?d:!1};
$o=function(a){a=a.g.Lb().g;return null!=a?a.g:window.NaN};
Fr=function(a,b){a.g.H=b;(0,g.B)(a.l,function(a){Fr(a,b)},a)};
Gr=function(a){return Ep('<div class="'+Q("iv-endcap-background")+'">'+(a.wH?'<a class="'+Q("iv-endcap-slot")+'" href="'+Q(Up(a.target))+'" target="_blank"><div class="'+Q("iv-endcap-card")+'"><div class="'+Q("iv-endcap-image")+'"><img src="'+Q(Vp(a.image))+'"></div><div class="'+Q("iv-endcap-text")+'" dir='+Mp(a.dir)+'><div><div class="'+Q("iv-endcap-headline")+'">'+P(a.headline)+'</div><div class="'+Q("iv-endcap-description")+'">'+P(a.description)+'</div></div></div><div class="'+Q("iv-endcap-action")+
'">'+(a.action?P(a.action):'<span class="'+Q("iv-endcap-action-icon")+'"></span>')+"</div></div></a>":'<div class="'+Q("iv-endcap-slot")+'"><div class="'+Q("iv-endcap-card")+'"><a class="'+Q("iv-endcap-image")+'" href="'+Q(Up(a.target))+'" target="_blank"><img src="'+Q(Vp(a.image))+'"></a><div class="'+Q("iv-endcap-text")+'" dir='+Mp(a.dir)+'><a href="'+Q(Up(a.target))+'" target="_blank"><div class="'+Q("iv-endcap-headline")+'">'+P(a.headline)+'</div><div class="'+Q("iv-endcap-description")+'">'+
P(a.description)+'</div></a></div><a class="'+Q("iv-endcap-action")+'" href="'+Q(Up(a.target))+'" target="_blank" dir='+Mp(a.dir)+">"+(a.action?P(a.action):'<span class="'+Q("iv-endcap-action-icon")+'"></span>')+"</a></div></div>")+'<div class="'+Q("iv-endcap-bottom")+'"><svg class="'+Q("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+Q("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10"/><circle class="'+Q("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10"/></svg></div></div>')};
yfa=function(){var a=""+Ha("Next");return Ep(a)};
zfa=function(){var a=""+Ha("Previous");return Ep(a)};
Afa=function(a){var b='<div class="'+Q("iv-cards-companion")+'"><div class="'+Q("iv-cards-attribution")+'"><span class="'+Q("yt-badge")+" "+Q("yt-badge-ad")+'">'+Hr()+"</span>";if(a.advertiserName&&a.Gc){b+='<a class="'+Q("ad-companion-clickthrough")+'" href="'+Q(Up(a.Gc))+'" target="_blank">';var c=Ha("Shop products from {$advertiserName}",{advertiserName:P(a.advertiserName)});b=b+c+"</a>"}b+='<div class="'+Q("yt-uix-hovercard")+" "+Q("ad-info-container")+'"><span class="'+Q("yt-uix-hovercard-target")+
'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+Q("yt-uix-hovercard-content")+'"><p>'+P(a.se)+'</p></div></div></div><div class="'+Q("iv-cards-slider")+'"><div class="'+Q("iv-cards-slider-body")+'"><ul class="'+Q("iv-cards-slider-list")+'">';c=a.cards;for(var d=c.length,e=0;e<d;e++){var f=c[e],k='<li class="'+Q("iv-cards-slider-item")+'">';f=Ep('<div class="'+Q("iv-cards-slider-unit")+'"><a href="'+Q(Up(f.target))+'" target="_blank"><div class="'+
Q("iv-cards-slider-image")+'"><span class="'+Q("iv-cards-image-helper")+'"></span><img src="'+Q(Vp(f.image))+'"></div><div class="'+Q("yt-ui-ellipsis")+" "+Q("yt-ui-ellipsis-4")+" "+Q("iv-cards-slider-text")+'">'+P(f.headline)+'</div><span class="'+Q("iv-cards-slider-action")+'">'+P(f.action)+"</span></a></div>");b+=k+f+"</li>"}b+="</ul></div>"+(a.eU?'<button class="'+Q("iv-cards-slider-button")+" "+Q("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+Q("iv-cards-slider-prev-icon")+
" "+Q("yt-uix-tooltip")+" "+Q("yt-sprite")+'" data-tooltip-text="'+Q(a.kC)+'" title="'+Q(a.kC)+'"></span></button><button class="'+Q("iv-cards-slider-button")+" "+Q("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+Q("iv-cards-slider-next-icon")+" "+Q("yt-uix-tooltip")+" "+Q("yt-sprite")+'" data-tooltip-text="'+Q(a.TA)+'" title="'+Q(a.TA)+'"></span></button>':"")+"</div></div>";return Ep(b)};
Bfa=function(a){return Ep('<div class="'+Q("iv-website-companion")+'"><div class="'+Q("yt-uix-hovercard")+" "+Q("ad-info-container")+" "+Q("iv-website-companion-ad-info")+'"><span class="'+Q("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+Q("yt-uix-hovercard-content")+'"><p>'+P(a.se)+'</p></div></div><a href="'+Q(Up(a.target))+'" target="_blank">'+(a.bannerImageUrl?'<img class="'+Q("iv-website-companion-banner")+
'" src="'+Q(Vp(a.bannerImageUrl))+'">':"")+'<div class="'+Q("iv-website-companion-block")+'"><div class="'+Q("iv-website-companion-icon")+'"><img src="'+Q(Vp(a.iconImageUrl))+'"></div><div class="'+Q("iv-website-companion-text")+'"><div class="'+Q("iv-website-companion-header")+'">'+P(a.headline)+'</div><div class="'+Q("iv-website-companion-desc")+'"><span class="'+Q("yt-badge")+" "+Q("yt-badge-ad")+'">'+Hr()+'</span><span class="'+Q("iv-website-companion-domain")+'">'+P(a.descriptionText)+'</span></div></div><div class="'+
Q("iv-website-companion-action")+" "+Q("yt-uix-button-size-default")+" "+Q("yt-uix-button-primary")+'">'+(a.actionTitle?P(a.actionTitle):'<span class="'+Q("iv-website-companion-action-icon")+'"></span>')+"</div></div></a></div>")};
Hr=function(){var a=""+Ha("Ad");return Ep(a)};
Cfa=function(a){var b=Ir(a);if(!b)return{};var c=Jr(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:Kr(b.md()),merchant:Kr(Lr(c)),image:{thumbnails:[{url:Mr(b).getImageUrl()}]},priceText:Kr(Nr(c)),clickthroughEndpoint:Or(Pr(Qr(a)))}}:{}};
Kr=function(a){return{runs:[{text:a}]}};
Or=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
Rr=function(a){return{baseUrl:a}};
Sr=function(a,b){this.g=a;this.l=b};
fq=function(a){return a.l?-1:a.g};
eq=function(a,b){a.l&&(a.l=!1,a.g=a.g*b/100)};
Dfa=function(a,b,c){b=c||b;a=a||{};return""+Ip("a",a.jn)(a,b)};
Efa=function(a){return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+'"><div class="'+P("videoAdUiAttributionContainer")+" "+P("videoAdUiAttributionContainer-gvn")+'"><div class="'+P("videoAdUiAttribution")+'" '+P(Xp(a.attributionText))+">"+P(a.attributionText)+'</div></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+P("videoAdUiProgress")+'"></div></div></div>'};
Ffa=function(a){return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+'"><div class="'+P("videoAdUiAttributionContainer")+" "+P("videoAdUiAttributionContainer-gvn")+'"><div class="'+P("videoAdUiAttribution")+'" '+P(Xp(a.attributionText))+">"+P(a.attributionText)+'</div></div><div class="'+P("videoAdUiLearnMoreText")+" "+P("videoAdUiLearnMoreText-gvn")+'">'+P(a.learnMoreText)+'<div class="'+P("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+P("videoAdUiProgressBar")+
'" dir="ltr"><div class="'+P("videoAdUiProgress")+'"></div></div></div>'};
Tr=function(){return Ep('<div class="'+Q("videoAdUiPreSkipContainer")+'"><div class="'+Q("videoAdUiPreSkipButton")+'"><div class="'+Q("videoAdUiPreSkipText")+'"></div><div class="'+Q("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
Gfa=function(){return Ep('<div class="'+Q("videoAdUiPreSkipContainer")+" "+Q("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+Q("videoAdUiPreSkipButton")+'"><div class="'+Q("videoAdUiPreSkipText")+'">You can skip to video in</div><div class="'+Q("videoAdUiPreSkipThumbnail")+'"><div class="'+Q("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+Q("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')};
Ur=function(a){a=a||{};return""+Ha("Your video will begin in {$xSeconds}",{xSeconds:P(a.re)})};
Hfa=function(a){return Ep('<div class="'+Q("videoAdUiBrandPrecapContainer")+" "+Q("html5-stop-propagation")+'"><div class="'+Q("videoAdUiBrandPrecapContent")+'"><div class="'+Q("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+Q("videoAdUiBrandPrecapBrandImage")+'" src="'+Q(Vp(a.zH))+'"></div><div class="'+Q("videoAdUiBrandPrecapTextContainer")+'"><div class="'+Q("videoAdUiBrandPrecapBrandName")+'">'+P(a.brandName)+'</div><div class="'+Q("videoAdUiBrandPrecapBrandMessage")+
'">'+P(a.AH)+"</div></div></div></div>")};
Ifa=function(a){return Ep('<div class="'+Q("videoAdUiBrandPrecapContainer")+" "+Q("html5-stop-propagation")+'"><img class="'+Q("videoAdUiBrandPrecapAutoGenImage")+'" src="'+Q(Vp(a.xH))+'"></div>')};
Jfa=function(a){a=a||{};return Ep('<div class="'+Q("videoAdUiBrandInteractionUnit")+" "+Q("html5-stop-propagation")+'"><span class="'+Q("videoAdUiBrandInteractionPreMessageText")+'">'+P(a.preMessageText)+'</span><div class="'+Q("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+Q("videoAdUiBrandInteractionButton")+" "+Q("videoAdUiBrandInteractionLikeButton")+'"><div class="'+Q("videoAdUiBrandInteractionIcon")+" "+Q("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+
Q("videoAdUiBrandInteractionMessageBox")+" "+Q("videoAdUiLikeMsg")+'"></span></div><div class="'+Q("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+Q("videoAdUiBrandInteractionButton")+" "+Q("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+Q("videoAdUiBrandInteractionIcon")+" "+Q("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+Q("videoAdUiBrandInteractionMessageBox")+" "+Q("videoAdUiDislikeMsg")+'"></span></div></div>')};
Kfa=function(a){return Ep('<div class="'+Q("videoAdUiBrandInteractionUnit")+" "+Q("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+Q("html5-stop-propagation")+'"><div class="'+Q("videoAdUiBrandInteractionPostMessageText")+'">'+P(a.postMessageText)+"</div></div>")};
Lfa=function(a){return'<div class="'+P("videoAdUiSkipContainer")+" "+P("html5-stop-propagation")+'"><button class="'+P("videoAdUiSkipButton")+" "+P("videoAdUiAction")+'">'+P(a.qu)+'<div class="'+P("videoAdUiSkipIcon")+'"></div></button></div>'};
Mfa=function(a){return'<div class="'+P("videoAdUiSkipContainer")+" "+P("html5-stop-propagation")+'"><button class="'+P("videoAdUiSkipButton")+" "+P("videoAdUiAction")+'"><div class="'+P("videoAdUiSkipButtonExperimentalText")+'">'+P(a.qu)+'</div><div class="'+P("videoAdUiSkipIcon")+'"></div></button></div>'};
Nfa=function(a){return'<div class="'+P("videoAdUiSkipContainer")+" "+P("html5-stop-propagation")+" "+P("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+P("videoAdUiSkipText")+'">'+P(a.qu)+'</div><button class="'+P("videoAdUiSkipButton")+" "+P("videoAdUiAction")+" "+P("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+P("videoAdUiSkipIconContainer")+'"><div class="'+P("videoAdUiSkipIcon")+'"></div></div></button></div>'};
Vr=function(a){var b="";2<=a.kp&&1<=a.xm?(a=Ha("Ad {$adPosition} of {$totalAds} {$timeLeft}",{adPosition:P(a.xm),totalAds:P(a.kp),timeLeft:P(a.ip)}),b+=a):(a=Ha("Ad {$timeLeft}",{timeLeft:P(a.ip)}),b+=a);return b};
Xr=function(){var a=Wr(),b=Ep("</a>"),c="<div class='"+Q("videoAdUiAdSettingsLongTooltip")+"'>";a=Ha("Visit Google's {$beginFormat}Ad Settings{$endFormat} to learn more about how ads are targeted or to opt out of personalized ads.",{beginFormat:P(a),endFormat:P(b)});return Ep(c+a+"</div>")};
Wr=function(){return Ep('<a href="https://adssettings.google.com" target="_blank">')};
Yr=function(a){return Ep((a.Hu?"<div class='"+Q("videoAdUiPopupBackgroundMobile")+"'>":"<div class='"+Q("videoAdUiPopupBackground")+"'>")+"<div class='"+Q("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=\''+Q("videoAdUiPopupPositioner")+"'><form class='"+Q("videoAdUiPopupFrame")+"'><div class='"+Q("videoAdUiPopupHeading")+
" "+Q("videoAdUiHideIfEmpty")+"'>"+P(a.heading)+"</div><div class='"+Q("videoAdUiPopupText")+"'>"+P(a.message)+"</div><div class='"+Q("videoAdUiPopupButtons")+"'>"+P(a.buttons)+"</div></form></div></div>")};
Ofa=function(a){for(var b="<ul class='"+Q("videoAdUiWhyThisAdReasons")+" "+Q("videoAdUiHideIfEmpty")+"'>",c=a.targetingReasons,d=c.length,e=0;e<d;e++)b+="<li>"+P(c[e])+"</li>";b+="</ul><div class='"+Q("videoAdUiWhyThisAdGenericMessage")+"'>"+P(a.Jq)+"</div><a class='"+Q("videoAdUiWhyThisAdMute")+" "+Q("videoAdUiHideIfEmpty")+"'>"+P(a.mute)+"</a><a class='"+Q("videoAdUiWhyThisAdControl")+" "+Q("videoAdUiHideIfEmpty")+"' href='https://adssettings.google.com' target='_blank'>"+P(a.control)+"</a>";a=
""+Yr({heading:Zr(""+P(a.heading)),message:Zr(b),buttons:Zr("<button class='"+Q("videoAdUiWhyThisAdCloseButton")+" "+Q("videoAdUiPopupDefaultButton")+"'>"+P(a.close)+"</button>"),Hu:a.Hu});return Ep(a)};
Pfa=function(a){for(var b=""+P(a.question),c=a.options,d=c.length,e=0;e<d;e++){var f=c[e];b+="<label for='"+Q("videoAdUiMuteOption")+Q(e)+"'><input type='radio' id='"+Q("videoAdUiMuteOption")+Q(e)+"' name='"+Q("videoAdUiMuteOption")+"' class='"+Q("videoAdUiMuteOption")+Q(e)+"'/>"+P(f)+"</label>"}a=""+Yr({heading:Zr(P(a.heading)+" <a class='"+Q("videoAdUiMuteUndo")+"'>"+P(a.undo)+"</a>"),message:Zr(b),buttons:Zr("<button class='"+Q("videoAdUiMuteCancel")+" "+Q("videoAdUiPopupButton")+"'>"+P(a.cancel)+
"</button><button class='"+Q("videoAdUiMuteConfirm")+" "+Q("videoAdUiPopupDefaultButton")+"'>"+P(a.confirm)+"</button>")});return Ep(a)};
Qfa=function(a){var b=String(""+a.heading);return Ep(Yr({heading:b?new yp(b,void 0):"",message:Zr(""+P(a.message)),buttons:Zr("<button class='"+Q("videoAdUiMuteCancel")+" "+Q("videoAdUiPopupButton")+"'>"+P(a.cancel)+"</button><button class='"+Q("videoAdUiMuteConfirm")+" "+Q("videoAdUiPopupDefaultButton")+"'>"+P(a.confirm)+"</button>")}))};
Rfa=function(){return Ep("<div class='"+Q("videoAdUiMuteToggleButton")+"'><div class='"+Q("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=\''+
Q("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>')};
$r=function(a,b,c){tq.call(this,"1",Sfa,"Html",null,"dummy");this.D=0;this.ya=a.length;wq(this,new g.an(this));this.N=Tfa(a,b);this.Pa=g.H("iv-cards-slider-list",this.N);if(this.R=g.H("iv-cards-slider-prev",this.N))this.o.U(this.R,"click",this.Ma),g.M(this.R,!1);(this.Z=g.H("iv-cards-slider-next",this.N))&&this.o.U(this.Z,"click",this.Ca);a=g.H("ad-companion-clickthrough",this.N);this.o.U(this.N,"click",g.Ea(function(a,b,c){c.target!=a&&Tn(b)},a,c))};
Tfa=function(a,b){var c=(0,g.G)(a,function(a){var b=Ir(a),c=Jr(b);a=Qr(a);return{headline:b.md(),description:as(b,"description"),image:Mr(b).getImageUrl(),action:Nr(c),target:Pr(a),merchant:Lr(c)}}),d=3<a.length;
return Jq(Afa,{cards:c,advertiserName:c[0].merchant,TA:yfa(),kC:zfa(),se:Xr(),Gc:b,eU:d})};
bs=function(a){a.Pa.style.left=125*-a.D+"px";a.R&&g.M(a.R,0<a.D);a.Z&&g.M(a.Z,a.D<a.ya-3)};
es=function(a){tq.call(this,"1",Ufa,"Html",null,"website_actions_companion");wq(this,new g.an(this));var b=a.g(),c=b&&b.og(),d=b&&b.xn();a=Qr(a);b={headline:b&&b.md()||"",iconImageUrl:c&&c.getImageUrl()||"",bannerImageUrl:d&&d.getImageUrl()||"",actionTitle:a&&cs(a)||"",descriptionText:b&&ds(b)||"",target:a&&Pr(a)||"",se:Xr()};this.D=Jq(Bfa,b)};
Vfa=function(){if(!g.yd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
hs=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(fs){var c=gs();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.js=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(fs){var b=gs();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
ks=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");};
gs=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};
ls=function(a){return Wn(Wfa,null,a.parentNode.nodeName,a.nodeName)};
ms=function(a){return Wn(Xfa,null,a.parentNode.nodeName,a.nodeName)};
ns=function(a){var b=hs(a.tagName,a.namespaceURI),c=g.Od(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};
os=function(a,b){return null!=a?(0,g.Ld)(g.Md(a),function(a){return a.nodeName==b}):[]};
ps=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
qs=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=yb(c);return b?sb(c):c};
rs=function(a,b,c,d){if(null!=a){a=g.Md(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw ls(k);c.call(d,k)}}};
ts=function(a){a=g.E(a);return g.D(a)?window.NaN:Db(a)};
us=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new yo(0,0,0,Db(c[0]),Db(c[1]),Db(c[2])),60*(60*(24*c.days+c.hours)+c.minutes)+c.seconds}return null!=b?b:-1};
vs=function(a,b){var c=g.E(a);if(!g.D(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
ys=function(a,b,c){var d=new Zp;rs(a,"Tracking",function(a){var b=ps(a,"event"),e=qs(a);ws(e)&&null!=b&&(null!=c&&(e=c(b,e)),"progress"==b?(a=ps(a,"offset"),a=xs(a),null!=a&&dq(d,b,e,a)):dq(d,b,e))});
return d};
Yfa=function(a){if(g.D(g.E(a)))return null;a=new g.Lm(a);if("thismessage"!=a.A||"extensions"!=a.l)return null;a=a.o;if(!g.nb(a,"/"))return null;a=a.substr(1);return g.D(g.E(a))?null:a};
xs=function(a){if(g.D(g.E(a)))return null;var b=a.indexOf("%");if(0<b){if(a=Number(a.substr(0,b)),!(0,window.isNaN)(a)&&0<=a)return new Sr(a,!0)}else if(a=us(a),0<=a)return new Sr(a,!1);return null};
ws=function(a){if(g.D(g.E(a)))return!1;try{new g.Lm(a)}catch(b){return!1}return!0};
zs=function(a,b){Aq.call(this);this.l=a;this.o=b};
As=function(){};
Bs=function(a,b){Aq.call(this,b);this.l=a};
Cs=function(a){Aq.call(this);this.l=a};
Es=function(a,b,c,d,e,f,k,l,m,n,q,r,u,C){this.ya=a;this.ia=b;this.N=c;this.Db=d;this.Na=(0,window.isNaN)(e)||""==e||0==e?-1:e;this.fa=f?g.Ya(f):[];this.W=k?g.Ya(k):[];this.D=l?g.Ya(l):[];this.ea=[];this.H=[];this.K=null;this.Y=[];this.za=!0;this.l=this.g=this.F=null;this.R=new g.Fm(n);this.Ya=null!=C;this.ib=(this.Z=null!=q)?r||!1:!1;this.qb=this.qK?u||!1:!1;this.Jb=g.E(q);this.Pb=g.E(C);this.Ca=this.o=null;this.A=new Eea;this.X=new g.kd(0,0);this.I=String(Math.floor(1E9*Math.random()));this.Ta=this.ca=
this.L=this.C=null;this.Xa=(0,g.F)();this.Pa=this.Ma=0;this.oa=this.ma=!1;this.B=[];this.da=null;this.Cb=!1;(0,g.B)(this.D,function(a){a.H=this},this);
Ds(this,m)};
br=function(a){var b=a.getExtension("AdFormat",En().g("process_youtube_vast_wrapper_extensions_in_ima"));if(null!=b&&ob(b.l+"_"+b.o+"_"+b.A,"2_4"))return b.l+"_"+b.o+"_"+b.A;b=Fs(a);b=Gs(a,Hs)?"14":gp(b,"hideMaster")||gp(b,"blockAllAds")?"3":a.Tb()?Is(a)?"2_3":a.isSkippable()?Js(a)?"2_1":"2_2":"2":"1";return Zfa(a)+"_"+b};
Zfa=function(a){if(cr(a))return 4;if(Gs(a,Hs))return 14;if(Ks(a,$fa))return 17;if(Ks(a,aga))return 15;if(Ks(a,cga)||Ks(a,dga))return 1;var b=En();return b&&b.g("fix_petra_ad_format")&&(null!=a.o?(b=a.o.g,null!=b&&ob(b,"/PrefetchedAd")&&null!=a.l&&(b=a.l.R.get("LocalRedirect"),b=null!=b?b.Pg():null)):b=null,null!=b&&(Br(b)||Ar(b)))?1:Ls(a)?2:0};
Ms=function(a){return null!=a.ia?a.ia:""};
Ns=function(a){return null!=a.l?g.Xa(Ns(a.l),a.fa):a.fa};
Os=function(a){return null!=a.l?g.Xa(Os(a.l),a.W):a.W};
Ps=function(a){return null!=a.l?g.Xa(a.H,Ps(a.l)):a.H};
Fs=function(a){return null!=a.g?a.g.F:{}};
ega=function(a){var b={};(0,g.B)(a.D,function(a){a=a.F;for(var c in a)b[c]=a[c]});
return b};
Qs=function(a){return null!=a.g?a.g.oa:""};
Rs=function(a){return a.getExtension("why_this_ad",En().g("process_youtube_vast_wrapper_extensions_in_ima"))};
Ss=function(a){return a.getExtension("mute",En().g("process_youtube_vast_wrapper_extensions_in_ima"))};
Ts=function(a,b){var c=[];(0,g.B)(a.R.sb(),function(a){Za(c,Bq(a,b))});
return c};
dr=function(a,b){a.g=b;a.X=new g.kd(0,0);if(null!=a.g){a.g instanceof tq&&(a.X=a.g.Vd());var c=a.l;if(null!=c){var d=kq(a.g,c)||kq(a.g,c,!0);dr(c,d)}}O.g()&&fga(a)&&g.Ra(Ps(a))?O.g()&&O.o?(c=a.B,g.Ra(c)?c={}:(d=Ir(c[0])&&Jr(Ir(c[0]))&&Lr(Jr(Ir(c[0])))||"",d=""+Ha("Shop products from {$advertiserName}",{advertiserName:P(d)}),d=Ep(d),c={shoppingCompanionCarouselRenderer:{shopText:Kr(sb(d.toString())),itemList:{horizontalListRenderer:{items:(0,g.G)(c,Cfa),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:Kr(Hr().toString()),clickToAdvSiteEndpoint:Or(Us(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.G)(Ts(a,"companionClick"),Rr)}],impressionEndpoints:[{loggingUrls:(0,g.G)(Ts(a,"companionImpression"),Rr)}]}}),a.F=c):gga(a,a.B):O.g()&&g.Ra(Ps(a))&&Vs(a,a.B)};
Ws=function(a){return null!=a.ya?a.ya:""};
Ys=function(a){var b=En(),c=!1;b&&b.g("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.l||Xs(a.l.N)&&!c)return[];b=[Ws(a.l)];Za(b,Ys(a.l));return b};
Zq=function(a){var b=Ys(a).reverse();b.push(Ws(a));return b};
Zs=function(a){if(null==a.l||Xs(a.l.N))return[];var b=a.l.g;null!=b?(b=b.ea,b=null!=b?b:""):b="";b=[b];Za(b,Zs(a.l));return b};
$s=function(a){var b=En(),c=!1;b&&b.g("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.l||Xs(a.l.N)&&!c)return[];b=[Ms(a.l)];Za(b,$s(a.l));return b};
at=function(a){if(a.l){var b=at(a.l);if(b)return b}return(a=a.getExtension("metrics"))?a.l:null};
ar=function(a){return(a=a.getExtension("viral",!0))?a.l:null};
$q=function(a){var b=$s(a).reverse();b.push(Ms(a));return b};
Xs=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
bt=function(a){if(null==a.l)return[a.N];var b=bt(a.l);b.push(a.N);Xs(b[0])&&b.shift();return b};
ct=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.ee()?a.ee():-1};
dt=function(a){if(-1!=a.Na)return a.Na;a=a.getExtension("pod");return null!=a&&-1!=a.l?a.l:-1};
et=function(a){a.Cb||(a.Cb=!0,a.da.I++,null!=a.l&&et(a.l))};
ft=function(a){if(a.da instanceof rr){var b=a.da;if(0<sr(b))return b}return null!=a.l?ft(a.l):null};
gt=function(a,b,c,d){a=Ps(a);return bp(new Zo(new g.kd(b,c),d),a)};
ht=function(a){var b=a.o.qj,c=a.o.pj;if(!b||!c)if(a=a.o.g?Xg(a.o.g,"sz"):null)a=a.split("x"),2==a.length&&(b=(0,window.parseInt)(a[0],10)||0,c=(0,window.parseInt)(a[1],10)||0);return new g.kd(b,c)};
hga=function(a,b){var c=g.Ma(a.Y,function(a){return 4==a.Sb()&&it(a.Ee())});
if(c){var d=c.g();if(!d.og().getImageUrl()){var e=new jt;e.data.image_url=b.channelIconThumbnailUrl;d.og=function(){return e}}d.md()||(d.md=function(){return b.authorName});
c.g=function(){return d}}};
iga=function(a){var b=(0,g.Ld)(a,function(a){return it(a.Ee())});
0==b.length&&0<a.length&&En().g("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b};
gga=function(a,b){var c=(0,g.Ld)(b,function(a){return kt(a.Ee())});
g.Ra(c)&&(c=b);c=new $r(c,Us(a),Ts(a,"companionClick"));c.H=a;c.C=!0;lt(a,new Er(c,[],null,!0))};
jga=function(a,b){var c=g.Ma(a.B,function(a){return 4==a.Sb()&&kt(a.Ee())});
if(!c)return null;var d=c.g();if(!d.og().getImageUrl()){var e=new jt;e.data.image_url=b.channelIconThumbnailUrl;d.og=function(){return e}}if(!d.xn().getImageUrl()){var f=new jt,k=g.Ma(Ps(a),function(a){return"Image"==a.ld()});
f.data.image_url=k&&k.g.l||b.g;d.xn=function(){return f}}d.md()||(d.md=function(){return b.authorName});
c.g=function(){return d};
return c};
Vs=function(a,b){var c=g.Ma(b,function(a){return 4==a.Sb()&&kt(a.Ee())});
if(c){var d=c.g(),e=d&&d.og().getImageUrl(),f=d&&d.xn().getImageUrl(),k=d&&d.md();e&&f&&k&&(O.o?(c=Qr(c),a.F={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&cs(c)||void 0,descriptionText:d&&ds(d)||void 0,target:c&&Pr(c)||void 0,impressionEndpoints:[{loggingUrls:(0,g.G)(Ts(a,"companionImpression"),function(a){return{baseUrl:a}})}]}}):(d=new es(c),d.H=a,d.C=!0,lt(a,new Er(d,[],null,!0))))}};
kga=function(a){if(!a.o||mt(a)&&!Gs(a,["ADSENSE/ADX"]))return[];var b=ht(a);if(0>=b.width||0>=b.height)return[];var c=new Vo;c.creativeType="All";c.o="All";c.A="SelectNearMatch";c.g=40;var d=gt(a,b.width,b.height,c);if(!g.Ra(d))return d;c.l="ResizeSmaller";d=(0,g.Ld)(Ps(a),function(a){return a.g.Zk()},a);
return bp(new Zo(new g.kd(b.width,b.height),c),d)};
ot=function(a){if(g.Ra(a.Y))return!1;var b=En();if(15>nt(a))return!1;var c=lga,d=a.Y[0].Sb();if(d==c.Vv){var e=a.Y[0].g();a=e&&e.og().getImageUrl();e=e&&e.md();if(!a||!e)return!1}return b.g("enable_ad_video_end_renderers")&&d==c.YG||d==c.Vv};
mga=function(a){var b=null,c=0;(0,g.B)(kga(a),function(a){var d=ht(this);d=!a.g.Zk()||a.Ab()<=d.width&&a.getHeight()<=d.height?a.g.Vd():dp(a.g.Vd(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a);
return b};
pt=function(a,b){return b||null==a.l?a.ea:g.Xa(a.ea,pt(a.l))};
Ds=function(a,b){a.ea=b?g.Ya(b):[];(0,g.B)(a.ea,function(a){Za(this.H,g.Ya(a.g))},a);
(0,g.B)(a.H,function(a){Fr(a,this)},a);
if(O.g()&&(a.Tb()&&(a.H=(0,g.Ld)(a.H,function(a){return 60>=a.getHeight()})),O.o)){var c=a.H&&a.H[0];
if(c&&"Static"===c.g.L){var d=c.g.df(),e=c.g.K;Za(e,Ts(a,"companionClick"));var f=Ts(a,"companionImpression"),k=c.Ab(),l=c.getHeight();a.F={imageCompanionAdRenderer:{impressionCommands:[{loggingUrls:(0,g.G)(f,function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}],onClickCommands:[{loggingUrls:(0,g.G)(e,function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}],image:{thumbnail:{thumbnails:[{url:c.g.l,width:k,height:l}]}},clickthroughEndpoint:{urlEndpoint:{url:d}}}}}}};
qt=function(a,b){return(0,g.Ej)(a.D,function(a){return a instanceof mq&&"linear"==b||a instanceof tq&&"nonlinear"==b?!0:!1})};
rt=function(a){var b=a.g;return mt(a)&&null!=b&&b instanceof tq&&(90<a.X.height||null!=a.o&&a.o.aj)};
tt=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:tt(a,b.l)};
ut=function(a){var b=a.l,c=tt(a,b);if(null!=c){if("skippable"==c.l)return c.o;if("nonskippable"==c.l)return null}c=null;var d=new Sr(5,!1),e=nga(a);"implicit"==e&&(c=d);var f=a.g;null==c&&null!=f&&f instanceof mq&&(c=f.C);null!=c||"explicit"!=e||(c=d);e=En();return O.g()&&a.Tb()&&null!=c?e.g("enable_skip_button_offset_mutation")?c:d:null==c&&null!=b&&e.g("ima_check_wrapper_skippability")?ut(b):c};
nga=function(a){if(null!=g.Ma(a.R.sb(),function(a){return!g.Ra(Bq(a,"skip"))}))return"implicit";
var b=a.R.get("DFP");if(b instanceof Bs)switch(b.l){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.g;return O.g()&&null!=a&&(a=a.uj,null!=a&&!g.Ra(bq(a,"skip")))?"explicit":"none"};
Js=function(a){return null!=a.ia&&null!=a.o?!0:!1};
Us=function(a){return null===a.g?null:a.g.df()};
nt=function(a){return null!=a.g?a.g.getDuration():-1};
vt=function(a){return null===a.K?ot(a)?7:0:10};
wt=function(a){return null===a.g?null:a.g.Or()};
xt=function(a){return null===a.g?null:a.g.Nr()};
mt=function(a){return Gs(a,zt)||Gs(a,["ADSENSE-VIRAL"])};
cr=function(a){return null!=a.l&&cr(a.l)||Gs(a,oga)};
Is=function(a){var b=wt(a);return Gs(a,["402"])||g.v(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
At=function(a){return mt(a)&&Js(a)&&!a.isBumper()&&!g.D(g.E(a.C))&&null!==ut(a)&&0<fq(ut(a))};
Ls=function(a){return Ks(a,zt)||Ks(a,["402"])};
Bt=function(a){a=a.getExtension("InfoCards");return null!=a?a.l:null};
Ct=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.l:null};
Gs=function(a,b){return null!=a.ia?g.Qa(b,a.N):!1};
Ks=function(a,b){for(var c=bt(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.Qa(b,c[d]))return!0;break}return!1};
lt=function(a,b){a.H=[b]};
fga=function(a){return a.Tb()&&0<a.B.length&&(0,g.tm)(a.B,function(a){return 1==a.Sb()})};
Dt=function(a){return 0<a.B.length&&(0,g.tm)(a.B,function(a){return 4==a.Sb()})};
Et=function(a,b){g.Gf.call(this);this.g=a;this.we=new g.an(this);g.L(this,this.we);this.we.U(b,["companion_impression","companion_click"],this.l)};
Ft=function(){g.Gf.call(this);this.C=this.H=this.K=this.D=!1;this.g=0;this.o=[];this.F=!1;this.N=this.L=window.Infinity;this.l=0;this.B=!1;this.A=new g.an(this);this.I={}};
pga=function(a){Gt(a);!(a.Ph instanceof g.Gf)&&"ontouchstart"in window.document.documentElement&&io()?(a.I={touchstart:(0,g.z)(a.JS,a),touchmove:(0,g.z)(a.xJ,a),touchend:(0,g.z)(a.IS,a)},g.Kb(a.I,function(a,c){this.Ph.addEventListener(c,a,!1)},a)):a.A.U(a.Ph,"click",a.Ay)};
Gt=function(a){a.A.Aa(a.Ph,"click",a.Ay);g.Kb(a.I,function(a,c){this.Ph.removeEventListener(c,a,!1)},a);
a.I={}};
qga=function(a,b){a.o=[];(0,g.B)(b,function(a){g.Ta(this.o,a.identifier)},a)};
Ht=function(a,b){return(0,g.Ej)(b,function(a){return g.Qa(this.o,a.identifier)},a)};
It=function(a){if(!rga.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(sga,"#$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]};
Jt=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.Kt=function(){g.Gf.call(this);this.g=0;this.endTime=this.startTime=null};
Lt=function(a,b){g.ya(b)||(b=[b]);var c=(0,g.G)(b,function(a){return g.v(a)?a:a.property+" "+a.duration+"s "+a.timing+" "+a.delay+"s"});
g.sh(a,"transition",c.join(","))};
Mt=function(a,b,c,d,e){g.Kt.call(this);this.l=a;this.B=b;this.D=c;this.o=d;this.C=g.ya(e)?e:[e]};
Nt=function(a,b){g.Gf.call(this);this.H=b;this.D=a;this.wi=null;this.A=new g.an(this);g.L(this,this.A);this.l=new Ft;g.L(this,this.l);var c=Je(Re(a.g),Xe,6);this.B=(this.g=null!=Fe(c,5)&&!!Fe(c,5))||null==Fe(c,7)?"#000000FF":Fe(c,7);this.o=this.g||null==Fe(c,8)?"#FFFFFFFF":Fe(c,8);c=this.g?{xH:g.E(Fe(c,6))}:{brandName:g.E(Fe(c,1)),AH:g.E(Fe(c,3)),zH:g.E(Fe(c,2))};this.Ie=tga(this,c);null!=this.Ie&&g.M(this.Ie,!1);b.appendChild(this.Ie);this.A.U(this.l,"click",this.F);this.l.Eb(this.Ie)};
tga=function(a,b){if(a.g){var c=Jq(Ifa,b);var d=g.H("videoAdUiBrandPrecapAutogenImage",c)}else{c=Jq(Hfa,b);d=g.H("videoAdUiBrandPrecapContent",c);null!=a.B&&(c.style.backgroundColor=Jt(It(a.B)));if(null!=a.o){var e=g.H("videoAdUiBrandPrecapBrandName",d),f=g.H("videoAdUiBrandPrecapBrandMessage",d);e.style.color=Jt(It(a.o));f.style.color=Jt(It(a.o))}d=g.H("videoAdUiBrandPrecapImageContainer",d);d=g.H("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.B3=function(){return!1});
return c};
Ot=function(a,b){(new Mt(a.Ie,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()};
Pt=function(a,b){var c=g.ae(g.Pd(a.H),"html5-video-player");null!=c&&g.S(c,"ytp-ad-display-override",b)};
Qt=function(a,b){var c={action:"condor-brand-precap",event:b,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_cpn:"[AD_CPN]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]"};c=null!=c?c:{};var d=new g.Lm("//www.youtube.com/gen_204");g.Mm(d,"https");c=Ym(c);Qm(d,c);d=d.toString();d=g.kn(d,a.D.Ca);Pn(d)};
Rt=function(a,b,c,d,e,f){Aq.call(this,f);this.o=a;this.B=b;this.C=c;this.A=d;this.l=e};
St=function(a){return null!=a.l?a.l.length:0};
Tt=function(a,b,c,d,e,f,k,l,m,n){Aq.call(this,e);this.A=a;this.o=b;this.B=c||"";this.C=d||[];this.l=f||null;this.F=k||null;this.K=l||null;this.D=m||null;this.I=n||null};
Ut=function(a,b){this.A=a;this.l=b;this.o=this.B=this.C=this.g=null;this.D=xj()};
Vt=function(a){return null!=a.A||null!=a.l};
Xt=function(a,b,c){null!=b&&(Dn(),a.B=new g.an(a),a.o=new g.Gf,a.o.uh(c),a.C=b,a.cC(),Wt(a,"why_this_ad_url"))};
Yt=function(a,b,c){b=g.H(b,a.g);null!=b&&a.B.U(b,"click",c)};
Zt=function(a,b,c){null!=a.g&&a.g.parentElement.removeChild(a.g);a.g=Jq(b,c);Yt(a,"videoAdUiPopupCloseIcon",a.Sm);a.C.appendChild(a.g);b=g.H("videoAdUiPopupFrame",a.g);null!=b&&g.sf(b,"submit",function(a){a.preventDefault()});
a=g.H("videoAdUiPopupDefaultButton",a.g);null!=a&&a.focus()};
Wt=function(a,b){null!=a.o&&a.o.dispatchEvent(b)};
$t=function(){this.attributionText=Vr({ip:"",xm:0,kp:0});this.learnMoreText=""+Ha("Learn More {$suffix}",{suffix:P({CU:""}.CU)});this.visitAdvertiserText=""+Ha("Visit Advertiser's Site");this.se=Xr();this.skipOffset=null;this.D=this.za=this.N=this.R=!1;this.I=null;this.Y=6E3;this.l=!0;this.Z=!1;this.da=this.o=this.ca=!0;this.A=!1;this.K=!O.C;this.ia=this.fa=this.ea=!1;this.C=!0;this.L=this.ya=this.oa=this.ma=this.B=!1;this.Ca={};this.W=null;this.showContentThumbnail=!0;this.F=!1;this.g=null;this.Ya=
!1;this.zi=-1;this.Cb=!1;this.breakType=0};
au=function(a,b,c,d,e,f){var k=new $t;k.B=a;k.Ma=b;k.skipOffset=c;k.X=null!=e?e.contentId:null;k.ca=e.ZU;k.W=Dfa;k.Na=Nq(b,null!=c,e.Qi);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.g=e.uy;k.Ya=e.UH;null!=f&&(k.Ca=f);null==c&&(a=En(),d&&a.g("show_countdown_on_bumper")&&(k.N=!0,k.R=!0),a.g("show_thumbnail_on_standard")&&(k.R=!0),!d&&a.g("persist_text_on_preview_button")&&(k.za=!0));O.g()&&null!=k.g&&null!=Fe(k.g,1)&&(d=Re(k.g),null!=Fe(d,6)&&(d=Je(d,Xe,6),null!=Fe(d,5)&&(Fe(d,
5)&&null!=Fe(d,6)||null!=Fe(d,1)&&null!=Fe(d,2)&&null!=Fe(d,3))&&(k.D=!0,null!=Fe(d,4)&&(k.I=Fe(d,4)))));return k};
bu=function(a,b,c,d,e){return new Mt(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
cu=function(a,b){return bu(a,b,"ease-out",0,1)};
du=function(a){return bu(a,.5,"ease-in",1,0)};
fu=function(a,b){g.Gf.call(this);this.F=new g.an(this);g.L(this,this.F);this.D=b;this.C=!1;this.B=this.o=this.A=null;var c=a.g;c=this.g=null!=c&&null!=Re(c)?Je(Re(c),Ue,3):null;this.I=null!=c&&null!=Fe(c,7)&&1==Fe(c,7)?!0:!1;if(null==this.g||null==Fe(this.g,7))c=null;else{c=Fe(this.g,7);var d=Fe(this.g,8);c=null!=d&&g.Qa(uga,c)?d:null}this.B=c;c=Jq(Jfa,{preMessageText:this.B||""});d=g.H("videoAdUiLikeMsg",c);g.Td(d,""+Ha("I like this"));d=g.H("videoAdUiDislikeMsg",c);g.Td(d,""+Ha("I dislike this"));
null!=this.g&&(d=Fe(this.g,7),d=null!=d?vga[d]:null,null!=d&&g.R(c,d));wga(this,c);d=g.H("videoAdUiBrandInteractionLikeButton",c);null!=d&&eu(this,d);d=g.H("videoAdUiBrandInteractionDislikeButton",c);null!=d&&eu(this,d);g.M(c,!1);this.l=c;this.D.appendChild(this.l)};
wga=function(a,b){if(null!=a.g){var c=a.g.Ee();c=null!=c?xga[c]:null;null!=c&&(0,g.B)(c,function(a){g.R(b,a)})}};
yga=function(a){return null!=a.g&&null!=Fe(a.g,8)?Fe(a.g,10):null};
Aga=function(a){if(null==a.g||null==Fe(a.g,7))return null;var b=Fe(a.g,7);a=Fe(a.g,9);return null!=a&&g.Qa(zga,b)?a:null};
eu=function(a,b){var c=new Ft;a.F.U(c,"click",a.H);c.Eb(b)};
Bga=function(a){if(null!=a.B){var b=yga(a);if(null!=b){var c=g.H("videoAdUiBrandInteractionPreMessageText",a.l);if(null!=c){var d=du(c);g.vg(function(){d.play();g.vg(function(){g.M(c,!1)},500,this)},1E3*b,a)}}}};
Cga=function(a){if(null!=a.g&&null!=Je(a.g,Ve,15)){var b=Je(a.g,Ve,15),c=Fe(b,1),d=Fe(b,2);b=Fe(b,3);a.dispatchEvent(new qn("yt-show-toast",null,{toastMessage:c,toastActionMessage:d,toastActionUrl:b}))}};
Dga=function(a){if(null!=a.g){var b=Aga(a);if(null!=b){var c=Jq(Kfa,{postMessageText:b});a.D.appendChild(c);g.vg(function(){cu(c,.5).play();var a=du(c);g.vg(function(){a.play()},3E3,this)},500,a)}}};
hu=function(){g.Gf.call(this);this.g=!1;this.o=this.A=this.l=null;this.B=new g.an(this);this.l=Jq(Rfa);this.A=g.H("videoAdUiUnmutedIcon",this.l);this.o=g.H("videoAdUiMutedIcon",this.l);gu(this);this.B.U(this.l,"click",this.C)};
gu=function(a){a.A&&a.o&&(a.g?(g.sh(a.A,"display","none"),g.sh(a.o,"display","block")):(g.sh(a.A,"display","block"),g.sh(a.o,"display","none")))};
iu=function(a,b){g.Gf.call(this);this.A=a;this.D=1;this.C=this.g=this.l=this.o=null;this.B=a.N;this.H=new g.an(this);g.L(this,this.H);this.F=new Ft;g.L(this,this.F);this.I=!a.za;this.o=Jq(Tr);this.l=g.H("videoAdUiPreSkipButton",this.o);this.g=g.H("videoAdUiPreSkipText",this.l);g.R(this.g,"videoAdUiPreviewText");this.C=g.H("videoAdUiPreSkipThumbnail",this.l);if(En().g("enable_simple_skip_preview_for_postrolls")&&3==this.A.breakType){if(this.A.showContentThumbnail=!1,this.B){var c=this.g;var d=d={re:""};
d=""+Ha("Ad will end in {$xSeconds}",{xSeconds:P(d.re)});g.Td(c,d)}}else this.B?g.Td(this.g,Ur({re:""})):g.Td(this.g,""+Ha("Video will play after ad"));c=Pq(this.A.X)||"";this.A.showContentThumbnail&&!g.D(g.E(c))?(d=g.Ed("img"),d.setAttribute("src",c),g.R(d,"videoAdUiPreSkipThumbnailImage"),this.C.appendChild(d)):this.B?(g.M(this.C,!1),g.R(this.l,"videoAdUiPreSkipButtonNoThumbnail"),g.R(this.g,"videoAdUiPreSkipTextOnlyCentered")):g.M(this.l,!1);g.M(this.o,!1);b.appendChild(this.o);this.H.U(this.F,
"click",this.K);this.F.Eb(this.C)};
g.ju=function(a,b,c){g.K.call(this);this.Ba=null;this.o=!1;this.B=a;this.A=c;this.g=b||window;this.l=(0,g.z)(this.oI,this)};
ku=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
lu=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.mu=function(a,b,c){g.K.call(this);this.g=a;this.ad=b||0;this.l=c;this.o=(0,g.z)(this.Xx,this)};
g.nu=function(a,b){a.isActive()||a.start(b)};
g.ou=function(a){a.stop();a.Xx()};
g.pu=function(a){a.isActive()&&g.ou(a)};
ru=function(a,b){g.Gf.call(this);this.config=a;this.da=0;this.Y=!1;this.state=0==fq(this.config.skipOffset)?3:1;this.l=this.X=this.skipButton=this.ma=this.fa=this.H=this.C=this.o=null;this.Zb=new g.an(this);this.F=this.A=null;this.R=new Ft;this.ia="";this.ca=!1;var c=a.g;c=this.g=null!=c&&null!=Re(c)?Je(Re(c),Se,1):null;this.oa=null!=c&&Fe(c,19)?!0:!1;c=this.g;this.L=null!=c&&Fe(c,24)?!0:!1;c=this.g;this.za=null!=c&&Fe(c,23)?!0:!1;c=this.g;this.Ca=null!=c&&Fe(c,25)?!0:!1;this.o=Jq(this.oa?Gfa:Tr);
this.C=g.H("videoAdUiPreSkipButton",this.o);this.H=g.H("videoAdUiPreSkipText",this.C);this.fa=g.H("videoAdUiPreSkipTextTimeLeft",this.C);this.ma=g.H("videoAdUiPreSkipThumbnail",this.C);this.za&&g.M(this.H,!1);En().g("use_forced_linebreak_preskip_text")&&(this.ca=!0,g.R(this.H,"videoAdUiPreSkipTextForcedLineBreak"));qu(this,0);c=Pq(this.config.X)||"";En().g("enable_simple_skip_preview_for_postrolls")&&3==this.config.breakType&&(this.config.showContentThumbnail=!1);if(this.config.showContentThumbnail&&
!g.D(g.E(c))){var d=g.Ed("img");d.setAttribute("src",c);g.R(d,"videoAdUiPreSkipThumbnailImage");this.ma.appendChild(d)}else O.g()?(g.R(this.C,"videoAdUiPreSkipButtonNoThumbnail"),g.R(this.H,"videoAdUiPreSkipTextOnlyCentered")):g.R(this.H,"videoAdUiPreSkipTextOnly");d=!O.g()&&O.R;var e=null!=this.g&&null!=Je(this.g,$e,3)&&!this.L,f=O.g()&&En().g("fixed_padding_skip_button")&&!this.L;this.l=Jq(this.L?Nfa:d||e||f?Mfa:Lfa,{qu:yb(""+Ha("Skip Ad {$skipSymbol}",{skipSymbol:P({yU:""}.yU)}))});this.skipButton=
g.H("videoAdUiSkipButton",this.l);e&&(this.X=g.H("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||O.g()&&En().g("use_new_skip_icon")){var k=g.H("videoAdUiSkipIcon",this.skipButton);null!=k&&g.Hq(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.R(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.H("videoAdUiSkipButtonExperimentalText",this.skipButton),null!=c&&g.R(c,"videoAdUiFixedPaddingSkipButtonText"),g.R(g.H(e?"videoAdUiExperimentalSkipIcon":
"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.L&&this.config.showContentThumbnail&&!g.D(g.E(c))&&(d=g.Ed("img"),d.setAttribute("src",c),g.R(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Ca&&(c=g.H("videoAdUiSkipText",this.l),g.M(c,!1));Ega(this);"4.4.4"===(g.mo?qo(no):"")&&(this.C.style.backgroundColor="black",this.skipButton.style.backgroundColor="black");g.M(this.o,!1);b.appendChild(this.o);0==fq(this.config.skipOffset)?this.dispatchEvent("skipshown"):
(g.M(this.l,!1),g.Nh(this.l,0));b.appendChild(this.l);En().g("move_skip_button_to_top")&&(g.R(this.o,"videoAdUiHighPreSkipContainer"),g.R(this.l,"videoAdUiHighSkipContainer"));this.Zb.U(this.R,"click",this.xU);this.R.Eb(this.skipButton)};
qu=function(a,b){var c=null!=a.config.skipOffset&&-1!=fq(a.config.skipOffset)?fq(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=ep(d));d=En().g("enable_simple_skip_preview_for_postrolls")&&3==a.config.breakType;var e=a.ia;d?e=a.ca?"postrollforcedlinebreak":"postroll":a.ca&&(e="forcedlinebreak");d={jn:e,re:c,SA:"\n"};a.oa&&null!=a.fa?g.Td(a.fa,c):(c=a.H,d=d||{},d=""+Ip("b",d.jn)(d,void 0),g.Td(c,d))}};
tu=function(a){return new Mt(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
uu=function(a,b){null!=a.C&&g.M(a.C,b);null!=a.skipButton&&g.M(a.skipButton,b)};
Ega=function(a){if(null!=a.g){var b=null!=Je(a.g,Ye,1)&&null!=Je(Je(a.g,Ye,1),Ze,1)?Fe(Je(Je(a.g,Ye,1),Ze,1),1):null,c=null!=Je(a.g,Ye,2)&&null!=Je(Je(a.g,Ye,2),Ze,1)?Fe(Je(Je(a.g,Ye,2),Ze,1),1):null;b&&(a.skipButton.style.backgroundColor=Jt(It(b)),c&&(a.Zb.U(g.Pd(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=Jt(It(c))}),a.Zb.U(g.Pd(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=Jt(It(b))})));
if(null!=Je(a.g,$e,3)&&null!=a.X){var d=Raa(Je(a.g,$e,3));0<d.length&&Fe(d[0],1)&&g.Td(a.X,Fe(d[0],1))}}};
zu=function(a,b){ru.call(this,a,b);var c=this.g;this.W=null!=c&&Fe(c,8)?!0:!1;this.ea=!1;this.B=this.K=null;c=this.g;var d=vu;null!=c&&(null!=Fe(c,10)&&Fe(c,10)||null!=Fe(c,9)&&!Fe(c,9))&&(d=wu);this.I=d;c=this.g;d=xu;null!=c&&(null!=Fe(c,12)&&Fe(c,12)||null!=Fe(c,11)&&!Fe(c,11))&&(d=yu);this.N=d;c=this.g;d=.5;this.W||null==c||null==Fe(c,26)||(c=Fe(c,26),d=(null==c?c:+c)||0);this.Z=d;this.D=0};
Au=function(a){null==a.B&&"4.4.4"!=(g.mo?qo(no):"")&&1!=a.D&&(g.cf(a.A),a.A=null,a.B=g.vg(function(){bu(this.l,.5,"ease-in",1,this.Z).play();this.D=1;this.B=null},0,a))};
Cu=function(a,b){if(0!=a.D){if(b){if(null!=a.B||"4.4.4"==(g.mo?qo(no):""))return;a.B=g.vg(function(){bu(this.l,.5,"ease-in",this.Z,1).play();this.B=null},0,a)}else Bu(a),g.Nh(a.l,1);
a.D=0}};
Bu=function(a){null!=a.B&&(g.wg(a.B),a.B=null)};
Du=function(a){null!=a.K&&(g.wg(a.K),a.K=null)};
Eu=function(a,b,c){var d=null;switch(c){case xu:null!=b&&null!=b.skipOffset&&(d=1E3*(a-fq(b.skipOffset)));break;case yu:a=g.x("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Hb(a):null}return d};
Fu=function(a,b){var c=1E3*a.bx;null!=b&&null!=Fe(b,13)&&(c=Fe(b,13));return c};
Gu=function(a,b,c,d,e,f,k,l,m){this.o=a;this.K=b;this.B=c;this.C=d;this.l=e;this.D=f;this.F=k;this.H=l;this.I=m;this.g=this.o.lg()};
Hu=function(a){var b=a.g;var c=g.Lh(a.A);c="left"==a.B?"0px":"right"==a.B?c.width-a.o.Vd().width+"px":a.B+"px";var d=g.Lh(a.A);a="bottom"==a.C?"0px":"top"==a.C?d.height-a.o.Vd().height+"px":d.height-a.o.Vd().height-Hb(a.C)+"px";g.sh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
Fga=function(a){g.Oh(a.g)||(g.M(a.g,!0),(0,g.B)(a.I,function(a){Pn(a)}))};
Ku=function(a,b,c,d){g.Gf.call(this);this.g=a;this.Db=this.da=!1;this.ca=c;this.qb=d;this.ib=this.Ma=this.Na=this.L=this.W=this.H=this.R=this.ia=this.A=this.B=this.Ta=this.fa=this.ea=this.F=this.ma=this.Y=this.D=this.C=this.N=this.Z=this.I=this.Xa=this.Ca=this.za=this.K=this.l=null;this.o=new g.an(this);this.oa=[];a=this.g;this.Pb=null!=a&&null!=a.g&&null!=Re(a.g)?Je(Re(a.g),Te,2):null;this.X=[];this.da=!this.g.F&&O.g();this.Pa=!O.g()&&O.Pa;a="";this.da?a="redesign2014q4":this.Pa&&(a="fixedDirectionality");
a={attributionText:this.g.attributionText,learnMoreText:this.g.learnMoreText,se:this.g.se,jn:a};this.l=Jq(this.g.W,a);this.g.Ya||this.o.U(this.l,"touchmove",this.KJ);this.fa=g.H("videoAdUiProgress",this.l);this.Ta=g.H("videoAdUiBuffer",this.l);this.K=g.H("videoAdUiAttributionContainer",this.l);this.za=g.H("videoAdUiAttributionIconContainer",this.l);this.Ca=g.H("videoAdUiAttribution",this.l);this.Xa=g.H("videoAdUiVisitAdvertiserLink",this.l);this.I=g.H("videoAdUiVisitAdvertiserLinkText",this.l);this.Z=
g.H("videoAdUiVisitAdvertiserIcon",this.l);g.H("videoAdUiBottomBarMessage",this.l);this.N=g.H("videoAdUiAuthorIcon",this.l);this.C=g.H("videoAdUiAuthorName",this.l);this.D=g.H("videoAdUiLearnMore",this.l);this.Y=g.H("videoAdUiLearnMoreText",this.l);this.da?(this.L=g.H("videoAdUiTopButtonShare",this.l),this.Na=g.H("videoAdUiTopButtonShareTooltip",this.l),this.Ma=g.H("videoAdUiTopButtonInfo",this.l),this.ib=g.H("videoAdUiTopButtonWatchLater",this.l)):this.L=g.H("videoAdUiShare",this.l);this.F=g.H("videoAdUiTitle",
this.l);this.ea=g.H("videoAdUiTopBar",this.l);this.ma=g.H("videoAdUiBottomBar",this.l);null!=this.N&&this.o.U(this.N,"click",this.tH);null!=this.C&&(c=new Ft,this.X.push(c),this.o.U(c,"click",this.uH),c.Eb(this.C));null!=this.D&&(c=new Ft,c.B=!0,this.X.push(c),this.o.U(c,"click",this.dz),c.Eb(this.D));null!=this.Y&&(c=new Ft,c.B=!0,this.X.push(c),this.o.U(c,"click",this.dz),c.Eb(this.Y));null!=this.L&&this.o.U(this.L,"click",this.uU);null!=this.F&&(c=new Ft,this.X.push(c),this.o.U(c,"click",this.IU),
c.Eb(this.F));null==this.ea||!O.g()&&eo()||this.o.U(this.l,"mouseover",this.rU);null!=this.I&&this.o.U(this.I,"click",this.Ap);null!=this.Z&&this.o.U(this.Z,"click",this.Ap);null!=this.K&&null!=this.g.H&&Vt(this.g.H)&&(g.R(this.K,"videoAdUiWtaClickable"),this.o.U(this.K,"click",this.xT),this.o.U(this,"why_this_ad_got_it",this.eV));this.g.breakType=this.qb;null!=this.g.skipOffset?(this.A=O.g()?new zu(this.g,this.l):new ru(this.g,this.l),this.A.uh(this),this.A.ia=a.jn):!this.g.R||3==this.qb&&(3500>
this.ca||En().g("disable_ad_preview_for_postroll_nonskip")&&!this.g.N)||(this.H=new iu(this.g,this.l),g.L(this,this.H),this.H.uh(this));this.g.D&&(this.ia=new Nt(this.g,this.l),g.L(this,this.ia),this.ia.uh(this));a=this.g;a.Cb?(a=a.g,a=O.g()&&null!=a&&null!=Fe(a,1)&&null!=Fe(Re(a),3)&&Fe(Je(Re(a),Ue,3),1)?!0:!1):a=!1;a&&(this.R=new fu(this.g,this.l),this.o.U(this.R,"yt-show-toast",this.yH),this.o.U(this.R,"feedbackShown",this.hq),this.o.U(this.R,"feedbackLike",this.hq),this.o.U(this.R,"feedbackDislike",
this.hq));this.g.ea&&(this.W=new hu,this.W.uh(this),this.ma.insertBefore(this.W.l,this.K));400>=((0,window.parseInt)(wh(b,"width"),10)||b.width)&&g.R(this.l,"videoAdUi-mobile");this.g.F&&(g.R(this.l,"blazer"),En().g("mweb_enable_instream_ui_refresh")&&g.R(this.l,"blazer-ui-for-cougar"),window.settings&&window.settings.isTablet||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.IS_TABLET?(g.R(this.l,"tablet"),(window.settings&&window.settings.customControls||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.USE_CUSTOM_CONTROLS)&&
g.R(this.l,"customControls")):g.R(this.l,"phone"));a=g.ae(b,"html5-video-player");null!=a&&(this.da&&g.R(a,"videoAdUiRedesign"),g.S(a,"ytp-video-ad-learn-more-ui",this.g.B));g.M(this.l,!1);b.appendChild(this.l);this.g.B||this.da||!this.g.ca||(this.B=g.J("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.l.appendChild(this.B));Iu(this,0,this.ca/1E3,1,1);Ju(this)};
Gga=function(a){null!=a.B&&g.M(a.B,!1)};
Lu=function(a){a.A&&(a.A.dispose(),a.A=null)};
Mu=function(a,b){a.oa=b;(0,g.B)(b,function(a){a.A=this.l;a.A.appendChild(a.g);Hu(a);g.M(a.g,!1);var b=a.zc();if(null!=b){var c=new Ft;c.B=!0;this.X.push(c);this.o.U(c,"click",(0,g.z)(this.rJ,this,a));c.Eb(b)}},a)};
Nu=function(a){null!=a.I&&(g.M(a.I,!0),g.Td(a.I,a.g.visitAdvertiserText));null!=a.Z&&g.M(a.Z,!0)};
Ou=function(a,b){if(null!=a.l){var c=g.ae(g.Pd(a.l),"html5-video-player");null!=c&&(g.S(c,"ytp-ad-end-cap",b),En().g("desktop_trv_action_endcap_background_clickable")&&g.S(c,"ytp-endcap-background-clickable",b),g.S(c,"ytp-ad-display-override",b))}};
Ju=function(a){var b=a.g.C&&(a.ca>a.g.Y||0==a.ca),c=b&&a.g.oa,d=b&&a.g.ya,e=b&&a.g.A,f=b&&a.g.ia;b=b&&a.g.L;var k=a.g.fa&&a.g.o,l="0px";var m=a.Pb;m=O.g()&&null!=m&&Fe(m,1)?!1:!0;null!=a.F&&(g.M(a.F,b),null!=a.N&&g.M(a.N,c),null!=a.C&&g.M(a.C,d),null!=a.L&&(g.M(a.L,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Ma&&g.M(a.Ma,!1),null!=a.ib&&g.M(a.ib,!1),null!=a.ea&&g.M(a.ea,b||c||d||e));null!=a.K&&g.M(a.K,a.g.l);null!=a.fa&&(g.M(a.fa,k),k&&(l=wh(a.fa,"height")));null!=a.ma&&!O.g()&&g.sh(a.ma,"bottom",
l);Pu(a);null!=a.za&&g.M(a.za,a.g.Z);null!=a.Xa&&g.M(a.Xa,m);O.g()||!a.g.K||O.C||(null!=a.D&&g.M(a.D,!1),null!=a.Y&&g.M(a.Y,!1))};
Iu=function(a,b,c,d,e){var f=Vr({ip:"",xm:0,kp:0});a.g.o&&a.g.da&&(b=ep(c-b),f=Vr({ip:a.g.F?" \u2022 "+b:a.da?" \u00b7 "+b:": ("+b+")",xm:d,kp:e}));g.Td(a.Ca,f);g.M(a.K,a.g.l)};
Hga=function(a,b){null!=a.ia&&a.ia.show(b)};
Pu=function(a){var b=a.g.C&&(a.ca>a.g.Y||0==a.ca)&&a.g.A?a.g.K?!O.C||a.Db:!0:!1;null!=a.D&&g.M(a.D,b);null!=a.Y&&g.M(a.Y,O.g()&&a.g.B&&!b)};
Qu=function(){g.K.call(this);this.A="";this.Ua=null;this.o=new Zp;this.l=new g.Fm;this.C=[];this.H=!1;this.g={};this.F={};this.B=-1;this.D=[]};
Ru=function(a,b,c){c=c||gq(a.o,b.type);if(O.l){var d=mp(jp(),b.type,a.A);a.I(b.type,c,d)}else xea(Ro(),b.type,a.A,(0,g.z)(a.I,a,b.type,c))};
Iga=function(a,b){null!=b&&(0,g.B)(b,function(a){g.Qa(this.D,a)||this.D.push(a)},a)};
Su=function(a,b,c){null!=c.viewability&&Xq(a.g,c.viewability);var d;O.l||(d=Ro().I||void 0);var e=[];(0,g.B)(b,function(a){var b=this.g;Yq(b,a,"MOAT_INIT",c.moatInit);Yq(b,a,"MOAT_VIEWABILITY",c.moatViewability);Yq(b,a,"IAS_VIEWABILITY",c.integralAdsViewability);Yq(b,a,"DV_VIEWABILITY",c.doubleVerifyViewability);Yq(b,a,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(Rn(a,this.g,c,d))},a);
Xq(a.g,"na");return e};
Tu=function(a,b,c){(0,g.B)(b,function(a){Pn(a,void 0,void 0,c)},a)};
Jga=function(a,b){switch(b){case "abandon":return!Hm(a.l,b)&&!Hm(a.l,"skip")&&!Hm(a.l,"instreamAdComplete")&&(Hm(a.l,"impression")||a.H);case "instreamAdComplete":case "complete":return!Hm(a.l,b)&&!Hm(a.l,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!Hm(a.l,b)}};
Uu=function(a){g.Gf.call(this);this.ads=a;this.qc=null;this.we=new g.an(this);g.L(this,this.we);this.Vc="normal";this.Ea=this.volume=null;this.La=new No;this.he=!1;this.content={};this.Xb=new Qu;this.Ja=null;this.Vm=!1;Ro();this.Bp=(0,g.z)(this.nI,this);this.Vi=null;var b=0;(0,g.B)(a,function(a){b+=a.getDuration()});
(0,g.B)(a,function(b,d){var c=b.A;c.Qe=a.length;var f=d+1;c.g=f;c.o=f})};
Vu=function(a,b){if(a.qc=b)a.Xb.A=b.I;if(O.l){var c=jp();np(c,a.Bp);b&&c.l.set(b.I,a.Bp)}};
Wu=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:Wu(a,b.l)};
Xu=function(a){return(0,g.Ej)(a.ads,function(a){return(0,g.Ej)(this.Qg(a),function(a){a=a.Oa();return!g.D(g.E(Mq(a)))})},a)};
Yu=function(a){a=a.g;return null!=a&&a instanceof mq};
Zu=function(a,b){Ru(a.Xb,new g.ef(b));a.ga(b)};
Kga=function(a,b){return(0,g.tm)(g.Rb(b),function(a){return Ub(this.La,a)},a)};
av=function(a){if(!a.Cc())throw Xn($u,null,"Ads manager is not correctly configured.");};
bv=function(a,b){for(var c=b;null!=c;)(0,g.B)(c.R.sb(),a.LT,a),c=c.l};
Lga=function(a){if(!g.ya(a))throw Xn($u,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.Xa(g.Qb(cv),g.Qb(qq));(0,g.B)(a,function(a){if(!g.Qa(b,a))throw Xn($u,null,"Invalid or unsuppoted mime type "+a);})};
dv=function(a){var b=a.ka();if(null!=b){var c=b.g;if(c instanceof mq&&(c=c.ma,null!=c&&!g.Ra(c))){var d=window.document.body,e=Wq(a.ka());e=au(!1,null,null,!1,a.La,e);e.C=!1;e.l=!1;e.o=!1;b=b.Ye();a.Ja=new Ku(e,d,1E3*a.getDuration(),b);Mu(a.Ja,c);a.Ja.show();a.Sa().U(a.Ja,"videoIconClicked",a.rQ)}}};
ev=function(a,b,c){null!=a.Ja&&0<=c&&0<=b&&a.Ja.update(b,0,c,0,0)};
Mga=function(a,b){function c(a,b,c){for(var d in b)for(var e=d.toLowerCase(),f=0;f<a.length;f++){var n=a[f];if(e==n)throw Error('Cannot override "'+n+'" '+c+', got "'+d+'" with value "'+b[d]+'"');}}
c(fv,a,"attribute");c(fv,b,"param")};
g.gv=function(){};
g.hv=function(a){g.Gf.call(this);this.H=a||g.pd();this.Ba=null;this.Je=!1;this.g=null;this.C=void 0;this.D=this.K=this.A=null};
iv=function(a,b){if(a.Je)throw Error("Component already rendered");a.g||a.Fn();b?b.insertBefore(a.g,null):a.H.g.body.appendChild(a.g);a.A&&!a.A.Je||a.Yi()};
jv=function(a,b){a.K&&(0,g.B)(a.K,b,void 0)};
kv=function(a,b){g.hv.call(this,b);this.I=a;this.o=new g.an(this);this.l=new g.Fm};
lv=function(a){return a.la()?a.la().firstChild:null};
mv=function(a){g.Gf.call(this);this.Ua=null;this.C=a;this.l=null;this.A=-1;this.B=!1;this.o=Cb()};
nv=function(){};
ov=function(a,b,c){this.g=a;this.zf=c;this.l=b};
Nga=function(a,b){this.g=a;this.l=b};
pv=function(a,b,c,d){tq.call(this,a,b,"Static",c,d);this.xw=!1};
qv=function(a,b,c,d){tq.call(this,a,b,"Html",c,d)};
rv=function(a,b,c,d){tq.call(this,a,b,"Static",c,d)};
uv=function(a,b,c){if(g.Ra(c))return new tq(a,b,"",null,"");var d=tv(c);c=d.l;var e=d.g;d=d.o;switch(c){case "Html":return new qv(a,b,e,d);case "Static":switch(qq[e]){case "Image":return new rv(a,b,e,d);case "Flash":return new pv(a,b,e,d);case "Text":return new Lq(a,b)}}return new tq(a,b,c,e,d)};
tv=function(a){var b=g.Ma(a,function(a){return"Static"==a.l&&"Flash"==qq[a.g]}),c=g.Ma(a,function(a){return"IFrame"==a.l}),d=g.Ma(a,function(a){return"Html"==a.l}),e=g.Ma(a,function(a){return"Static"==a.l&&"Image"==qq[a.g]}),f=g.Ma(a,function(a){return"Static"==a.l&&"Text"==qq[a.g]});
return cp&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Oga=function(a,b,c,d,e,f){var k=tv(f),l=uv(a.id,a.size,[k]);l.C=!0;l.I=a.apiFramework;l.ia=b;l.K=c;l.g=d;e&&(l.uj=e);g.Va(f,k);var m=[];(0,g.B)(f,function(f){f=uv(a.id,a.size,[f]);f.C=!0;f.I=a.apiFramework;f.ia=b;f.K=c;f.g=d;e&&(f.uj=e);m.push(new Er(f,[],a.adSlotId))});
return new Er(l,m,a.adSlotId)};
vv=function(a,b,c){this.l=a;this.g=b;this.o=c};
wv=function(a,b,c){Aq.call(this);this.l=a;this.o=b;this.A=c};
xv=function(){this.Ua=null};
yv=function(){this.B=null;this.C="http://www.google.com/adsense/support";this.D=0;this.g=15;this.A=5;this.o=3;this.l=!1};
Pga=function(a,b){a.g=b};
zv=function(a,b,c,d,e,f,k,l,m,n,q){Aq.call(this,n,q);this.B=a;this.C=b;this.A=c;this.D=m;this.F=k;this.l=f;this.o=e};
Av=function(){};
Rga=function(a,b){var c;(0,g.B)(g.Md(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new yv:null;break;case "params":null!=c&&Qga(this,c,a)}},a);
return c};
Qga=function(a,b,c){(0,g.B)(g.Md(c),function(a){var c=a.attributes[0].value;switch(a.nodeName){case "attribution_url":b.C=c;break;case "attribution_text":b.B=c;break;case "signals":b.D=(0,window.parseInt)(c,10);break;case "audio_muted_on_start":b.l=vs(c,!1)}},a)};
Cv=function(){this.Ua=null};
Dv=function(){};
Ev=function(){};
Fv=function(){};
Gv=function(a){var b=a;if(a instanceof Array)for(var c=b=Array(a.length),d=0;d<a.length;++d)a.hasOwnProperty(d)&&(c[d]=Gv(a[d]));else a instanceof Object&&(b={},Hv(b,a));return b};
Hv=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=Gv(b[c]))};
Iv=function(a){return{yx:a}};
Jv=function(a,b,c){this.type=a;this.label=b;this.de=c};
Kv=function(a,b){return new Jv(a,1,b)};
Lv=function(a){new Jv(a,2,void 0)};
Mv=function(a,b){return new Jv(a,3,b)};
Nv=function(a){return Kv("m",a)};
Ov=function(a){return Mv("m",a)};
Pv=function(a){this.data=a||{}};
Qv=function(a,b,c){a=a.data[b];return null!=a?a:c};
Rv=function(a,b){return!!Qv(a,b,void 0)};
as=function(a,b){return Qv(a,b,"")};
Sv=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]};
Sga=function(a){for(var b=Tv,c=[],d=0;d<Uv(a,"event");d++)c.push(new b(Sv(a,"event",d)));return c};
Uv=function(a,b){return a.data[b]?a.data[b].length:0};
Vv=function(a){this.data=a||{}};
Wv=function(a){this.data=a||{}};
Xv=function(a){this.data=a||{}};
Yv=function(a){this.data=a||{}};
Tv=function(a){this.data=a||{}};
Zv=function(a){this.data=a||{}};
$v=function(a){this.data=a||{}};
aw=function(a){this.data=a||{}};
jt=function(a){this.data=a||{}};
Ir=function(a){return new Zv(a.data.product_card)};
Qr=function(a){return new Yv(Sv(a,"action",0))};
it=function(a){return Rv(a,"show_in_endcap")};
kt=function(a){return Rv(a,"show_in_companion")};
gw=function(){if(!bw){var a={};bw=Iv(a);a.type=cw;a.id=dw;a.link_url=dw;a.title=dw;a.image=Nv(ew());a.event=Ov(fw());a.target=dw;a.priority=dw}return bw};
cs=function(a){return as(a,"title")};
Pr=function(a){return as(a,"target")};
fw=function(){if(!hw){var a={};hw=Iv(a);a.type=cw;a.base_url=dw}return hw};
Mr=function(a){return new jt(a.data.image)};
Jr=function(a){return new $v(Sv(a,"offer",0))};
Lr=function(a){return as(a,"merchant")};
Nr=function(a){return as(a,"price")};
iw=function(a){return new Yv(Sv(a,"action",0))};
ds=function(a){return as(a,"description")};
ew=function(){if(!jw){var a={};jw=Iv(a);a.image_url=dw;a.thumbnail_url=dw;a.image_height=kw;a.image_width=kw}return jw};
lw=function(a,b,c){Aq.call(this,c);this.l=a;this.o=b||null};
mw=function(a){this.g=a};
ow=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.yx[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]=nw[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.yx[f.nodeName],null!=k)){var l=ow(a,f,k.de);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
Tga=function(a,b){var c=new Zp;(0,g.B)(g.Md(b),function(a){"CustomTracking"==a.nodeName&&null!=g.Md(a)&&(c=ys(a,!1,(0,g.z)(function(a,b){return pw(a,b)},this)))},a);
return c};
pw=function(a,b){return g.kn(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
qw=function(a,b){Aq.call(this);this.o=a;this.l=g.E(b)};
rw=function(a){Aq.call(this);this.l=a};
tw=function(){this.Ua=null};
uw=function(a,b){this.logger=null;this.o=b;this.g={};this.l=[];this.g.CustomTracking=ys;this.g.UI=this.B};
vw=function(a,b){if(null==b)return null;var c={};(0,g.B)(g.Md(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};
ww=function(){uw.call(this,"MuteExtensionParser","mute_");this.g.SurveyOptions=this.A};
xw=function(){Aq.call(this);this.l=""};
yw=function(){this.Ua=null};
zw=function(a,b,c,d){Aq.call(this);this.A=a;this.o=b;this.B=c;this.l=d};
Aw=function(){this.Ua=null};
Bw=function(a){Aq.call(this,a)};
Cw=function(){};
Dw=function(){Aq.call(this)};
Ew=function(){this.Ua=null};
Uga=function(a,b){var c;(0,g.B)(g.Md(b),function(a){a.nodeName==this.g.SG&&(c=qs(a))},a);
return c};
Fw=function(a,b,c,d,e,f){Aq.call(this);this.B=a||"";this.C=b||"";this.D=c||"";this.A=d;this.l=e;this.o=f};
Gw=function(){this.Ua=null};
Hw=function(a){Aq.call(this);this.l=a};
Iw=function(){this.Ua=null};
Jw=function(){uw.call(this,"WhyThisAdExtensionParser","why_this_ad_");this.l.push("targeting_reason")};
Kw=function(a,b){return null!=a?(0,g.tm)(b,function(b){return b in a}):!1};
Vga=function(a,b){return null!=a?(0,g.Ej)(b,function(b){return b in a}):!1};
Lw=function(){};
Mw=function(){Aq.call(this)};
Nw=function(){};
Ow=function(){};
Pw=function(a){this.A=a;this.logger=null};
Qw=function(a){if(null==a)return!1;a=g.Od(a);return null!=a&&"VAST"==a.nodeName};
Sw=function(a,b){var c=[],d=null;try{var e=g.js(a),f=g.Od(e);null!=f&&"CompanionAds"==f.nodeName&&(d=Rw(Pw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
Tw=function(a){if(null==a)return 0;a=(0,window.parseInt)(a.getAttribute("version"),10);return g.ua(a)&&!(0,window.isNaN)(a)?a:0};
Xga=function(a){var b=[],c=g.Od(a.A),d=Tw(c);rs(c,a.g.OE,function(a){var c=Uw(a);if(null==c)throw ls(a);var e=a.getAttribute(this.l.dm);a=Number(a.getAttribute(this.l.Gv));var l=e||null;e=a||0;var m=null,n=null;a=[];for(var q=[],r=[],u=[],C=new g.Fm,I,N=c.nodeName==this.g.fH,Z=N,V=N,Ga=null,oa=g.Md(c),qc=0,ie=oa.length;qc<ie;qc++){var $a=oa[qc];switch($a.nodeName){case this.g.PE:qs($a);case this.g.vG:break;case this.g.bH:if(N){if(null!=I)throw ms($a);I=qs($a);Ga=Yfa(I);Z=vs(c.getAttribute(this.l.UE),
Z);V=vs(c.getAttribute(this.l.IF),V)}else throw ls($a);break;case this.g.SE:m=qs($a);break;case this.g.TE:n=qs($a);break;case this.g.xF:qs($a);break;case this.g.QG:qs($a);break;case this.g.gm:$a=qs($a);ws($a)&&a.push($a);break;case this.g.ERROR:$a=qs($a);q.push($a);break;case this.g.qF:u=Wga(this,$a);r=u.creatives;u=u.HH;break;case this.g.FF:var hd=$a;C=Ga;$a=new g.Fm;try{var lc=os(hd,this.g.EXTENSION);hd=0;for(var Gi=lc.length;hd<Gi;hd++){var Nb=lc[hd],Sb=Nb.getAttribute(this.l.Uv);null!=Sb?Sb=Sb.toLowerCase():
Sb="generic";switch(Sb){case "programmatic":var Gb=(new yw).parse(Nb);break;case "geo":Gb=(new Nw).parse(Nb);break;case "pod":Gb=(new Lw).parse(Nb);break;case "waterfall":Gb=(new Ow).parse(Nb);break;case "dart":Gb=(new Dv).parse(Nb);break;case "dfp":Sb="DFP";Gb=(new Ev).parse(Nb);break;case "adsense":Sb="AdSense";Gb=(new Cv).parse(Nb);break;case "textad":Sb="TextAd";Gb=(new Gw).parse(Nb);break;case "templatead":Sb="TemplateAd";Gb=(new Ew).parse(Nb);break;case "infocards":Sb="InfoCards";var Hi=new mw(!0);
Gb=Hi.parse(Nb);break;case "infocardstracking":Sb="InfoCardsTracking";Hi=new mw(!1);Gb=Hi.parse(Nb);break;case C:case "prefetchedad":Sb="LocalRedirect";var Ce=Nb;if(null==Ce)Gb=null;else{var Ii=null,vl=os(Ce,"AdXml");if(1==vl.length){var Dc=g.Od(vl[0]);if(null!=Dc)try{Ii=ns(Dc)}catch(On){Ii='<?xml version="1.0" encoding="UTF-8"?>'+ks(Dc)}else Ii='<?xml version="1.0" encoding="UTF-8"?>'+ks(Dc)}var Lg=os(Ce,"VASTAdTagURI");Ce=null;1==Lg.length&&(Ce=Lg[0].textContent);Gb=new qw(Ii,Ce)}break;case "viral":Sb=
"viral";Gb=(new Iw).parse(Nb);break;case "metrics":Sb="metrics";Gb=(new tw).parse(Nb);break;case "adx":Sb="adx";Gb=(new As).parse(Nb);break;case "why_this_ad":Sb="why_this_ad";Gb=(new Jw).parse(Nb);break;case "mute":Sb="mute";Gb=(new ww).parse(Nb);break;case "sodar":Gb=(new Aw).parse(Nb);break;case "survey":Gb=(new Cw).parse(Nb);break;case "adformat":Sb="AdFormat";Gb=(new xv).parse(Nb);break;default:var Bv=new Fv;Sb="generic";Gb=Bv.parse(Nb)}if(null!=Gb){var Rd=$a.get(Sb);null!=Rd?"generic"==Sb&&
(bfa(Rd,Gb.g),$a.set(Sb,Rd)):$a.set(Sb,Gb)}}}catch(On){if(!g.Aa(On.Ub)||1105==On.Ub())throw On;}C=$a}}c=g.E(l);lc=m;a:if(g.D(g.E(m)))Gi="UNKNOWN";else switch(Gi=m.toUpperCase(),Gi){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:Gi="UNKNOWN"}C.get("programmatic");Nb=
C;Sb=null;C=C.get("AdSense");null!=C&&(C=Bq(C,"vast2tracking"),null!=C&&!g.Ra(C)&&(Sb=C[0]));e=new Es(c,lc,Gi,n,e,q,a,r,u,Nb,I,Z,V,Sb);null!=e&&(e.Pa=d,b.push(e))},a);
return b};
Uw=function(a){var b=null;a=g.Md(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw ls(b);}return b};
Yga=function(a){if(g.D(g.E(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
Wga=function(a,b){var c=[],d=[];rs(b,a.g.pF,function(a){var b=a.getAttribute(this.l.Gv),e=window.NaN;g.D(g.E(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.l.QE);b=a.getAttribute(this.l.dm);var l=!1,m=[];a=g.Md(a);for(var n=0,q=a.length;n<q;n++){var r=a[n];switch(r.nodeName){case this.g.ZG:var u=r,C=qs(u);C=g.E(C);g.D(C)&&u.getAttribute(this.l.QF);r.getAttribute(this.l.PF);break;case this.g.LINEAR:if(l)throw ms(r);l=Zga(this,r,(0,window.isNaN)(e)?0:e,b||null);Za(c,l);Za(m,l);l=!0;break;case this.g.fF:if(l)throw ms(r);
l=Rw(this,r,(0,window.isNaN)(e)?0:e);Za(d,l);l=!0;break;case this.g.mG:if(l)throw ms(r);l=$ga(this,r,(0,window.isNaN)(e)?0:e,b||null);Za(c,l);Za(m,l);l=!0}}n=0;for(q=m.length;n<q;n++);},a);
return{creatives:c,HH:d}};
$ga=function(a,b,c,d){var e=[],f=new Zp;b=g.Md(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.g.lG:m=aha(a,m,c,d);null!=m&&e.push(m);break;case a.g.Rp:f=ys(m);break;default:throw ls(m);}}0!=e.length||f.isEmpty()||(a=new tq(null,new g.kd(-1,-1),"",null,""),a.g=c,a.ea=d,e.push(a));(0,g.B)(e,function(a){f&&(a.uj=f)});
return e};
Vw=function(a,b){var c={};c.id=b.getAttribute(a.l.dm);c.adSlotId=b.getAttribute(a.l.RE);c.apiFramework=b.getAttribute(a.l.Xl);var d=Db(b.getAttribute(a.l.lm)),e=Db(b.getAttribute(a.l.Yl));c.size=new g.kd(d,e);d=b.getAttribute(a.l.EF);e=b.getAttribute(a.l.DF);g.D(g.E(d))||g.D(g.E(e))||(c.w3=new g.kd(Db(d),Db(e)));return c};
aha=function(a,b,c,d){var e=Vw(a,b);b.getAttribute(a.l.Xl);b.getAttribute(a.l.EG);b.getAttribute(a.l.YF);var f=b.getAttribute(a.l.hG);f=us(f,-1);var k=[];new g.Fm;var l={},m="",n=null,q=[];b=g.Md(b);for(var r=0,u=b.length;r<u;r++){var C=b[r];switch(C.nodeName){case a.g.oG:q.push(qs(C));break;case a.g.nG:n=qs(C);break;case a.g.Jp:l=Ww(C);m=g.E(qs(C));break;case a.g.fm:case a.g.hm:case a.g.Zl:C=Xw(a,C);null!=C&&k.push(C);break;default:throw ls(C);}}a=uv(e.id,e.size,k);iq(a,m,l);a.I=e.apiFramework;a.ia=
n;a.K=q;a.Cb=f;a.g=c;a.ea=d;return a};
Xw=function(a,b){var c=ps(b,a.l.rF);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.g.hm:d="Static";break a;case a.g.fm:d="IFrame";break a;case a.g.Zl:d="Html";break a;default:throw Wn(bha,null,d);}}var e=qs(b);null!=e||(e="");return new vv(d,c,e)};
Rw=function(a,b,c){var d=[],e=Yga(ps(b,a.l.BG));rs(b,a.g.eF,function(a){var b=Vw(this,a);var e=[],f=new Zp,n=null,q=[];a=g.Md(a);for(var r=0,u=a.length;r<u;r++){var C=a[r];switch(C.nodeName){case this.g.hF:q.push(qs(C));break;case this.g.Rp:f=ys(C,!0);break;case this.g.gF:n=qs(C);break;case this.g.VE:qs(C);break;case this.g.Jp:qs(C);break;case this.g.fm:case this.g.hm:case this.g.Zl:C=Xw(this,C);null!=C&&e.push(C);break;default:throw ls(C);}}b=g.Ra(e)?null:Oga(b,n,q,c,f,e);null!=b&&d.push(b)},a);
return new Nga(d,e)};
Zga=function(a,b,c,d){var e=new Zp,f={},k="",l=[],m=null,n=new g.Fm,q=[],r=[],u=0,C=xs(ps(b,a.l.IG));b=g.Md(b);for(var I=0,N=b.length;I<N;I++){var Z=b[I];switch(Z.nodeName){case a.g.KF:r=cha(a,Z);break;case a.g.Jp:f=Ww(Z);k=g.E(qs(Z));break;case a.g.Mp:u=us(qs(Z),0);break;case a.g.Rp:e=ys(Z);break;case a.g.cG:q=dha(a,Z);break;case a.g.cH:l=eha(a,Z);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw ls(Z);}}(0,g.B)(l,function(a){dq(e,"click",a)});
a=new mq(u,m,n,q,C,r);iq(a,k,f);a.g=c;a.ea=d;e&&(a.uj=e);return a};
eha=function(a,b){for(var c=null,d=[],e=new g.Fm,f=g.Md(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.g.cF:c=qs(m);break;case a.g.dF:m=qs(m);d.push(m);break;case a.g.tF:var n=ps(m,a.l.dm);null!=n||(n="");var q=e.get(n,[]);q.push(qs(m));e.set(n,q);break;default:throw ls(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
dha=function(a,b){for(var c=[],d=os(b,a.g.bG),e=0,f=d.length;e<f;e++){var k=d[e],l=ps(k,a.l.wF),m=ps(k,a.l.Uv);ps(k,a.l.dH);var n=Db(k.getAttribute(a.l.lm)),q=Db(k.getAttribute(a.l.Yl)),r=k.getAttribute(a.l.Xl),u=qs(k),C=ts(k.getAttribute(a.l.av)),I=ts(k.getAttribute(a.l.gG));k=ts(k.getAttribute(a.l.aG));l=new lq(l,m,C,I,k,n,q,u,r);c.push(l)}return c};
cha=function(a,b){var c=[];rs(b,a.g.JF,function(a){var b=a.getAttribute(this.l.wG);var d=ps(a,this.l.gH),k=ps(a,this.l.iH),l=Db(a.getAttribute(this.l.lm)),m=Db(a.getAttribute(this.l.Yl)),n=new g.kd(l,m);l=a.getAttribute(this.l.Xl);m=xs(ps(a,this.l.pG));var q=a.getAttribute(this.l.Mp);q=us(q,-1);var r=[],u=[],C={};a=g.Md(a);for(var I=0,N=a.length;I<N;I++){var Z=a[I];switch(Z.nodeName){case this.g.OF:u.push(qs(Z));break;case this.g.LF:C=[];var V=null;Z=g.Md(Z);for(var Ga=0,oa=Z.length;Ga<oa;Ga++){var qc=
Z[Ga];switch(qc.nodeName){case this.g.MF:V=qs(qc);break;case this.g.NF:C.push(qs(qc));break;default:throw ls(qc);}}C={iconClickThrough:V,sJ:C};break;case this.g.fm:case this.g.hm:case this.g.Zl:V=Xw(this,Z);null!=V&&r.push(V);break;default:throw ls(Z);}}g.Ra(r)?b=null:(a=C,n=uv("icon"+b,n,r),n.I=l,b=new Gu(n,b,d,k,q,m,a.iconClickThrough,a.sJ,u));null!=b&&c.push(b)},a);
return c};
Ww=function(a){a=qs(a);return null!=a?Dea(a):{}};
Yw=function(a){Uu.call(this,a);this.g=this.Ua=null;this.L={};this.o=!0;this.I=this.H=this.D=!1;this.C=this.K=0;this.l=null;this.B=0;this.A=1;this.F=-1;this.R=!1;this.N=2==O.D};
Zw=function(a){var b=a.Yc("getAdLinear");return g.ta(b)?b:a.o};
$w=function(a){if(!a.o){var b=a.Yc("getAdRemainingTime");b=g.ua(b)?b:-2;if(!g.ua(b)||0>b)b=30;g.wg(a.F);a.F=g.vg(a.stop,1E3*b,a)}};
bx=function(a,b){var c=Xn(ax,b,void 0),d=Vq(c,a.ka()),e=Ns(a.ka());Tn(e,d);ax.message=c.Ed();$n(a,ax,b);a.stop()};
cx=function(a){a.R||(a.R=!0,Zu(a,"complete"))};
dx=function(a){Uu.call(this,a);this.B=this.g=this.Ua=null;this.o=!0;this.W=this.K=this.D=!1;this.R=Cb();this.H=this.L=0;this.F=-1;this.l=null;this.C=0;this.A=1;this.I=-1;this.N=!1};
ex=function(a){var b=a.hd("getAdLinear");return g.ta(b)?b:a.o};
fx=function(a){if(!a.o){var b=a.hd("getAdRemainingTime");b=g.ua(b)?b:-2;if(!g.ua(b)||0>b)b=30;g.wg(a.I);a.I=g.vg(a.stop,1E3*b,a)}};
gx=function(a,b,c,d){d=Xn(b,c,d);var e=Vq(d,a.ka()),f=Ns(a.ka());Tn(f,e);b.message=d.Ed();$n(a,b,c)};
hx=function(a){a.N||(a.N=!0,Zu(a,"complete"))};
ix=function(a){qn.call(this,"adMetadata",a)};
jx=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
kx=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};
g.lx=function(a){if(g.w.JSON)try{return g.w.JSON.parse(a)}catch(b){}return kba(a)};
ox=function(){};
qx=function(a){var b;(b=a.g)||(b={},px(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};
rx=function(){};
sx=function(a){return(a=px(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};
px=function(a){if(!a.l&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new window.ActiveXObject(d),a.l=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.l};
g.tx=function(a){g.Gf.call(this);this.headers=new g.Fm;this.N=a||null;this.o=!1;this.L=this.g=null;this.Y=this.I="";this.l=0;this.C="";this.A=this.W=this.H=this.R=!1;this.B=0;this.D=null;this.X="";this.K=this.F=!1};
ux=function(a,b){a.B=Math.max(0,b)};
fha=function(a){return g.yd&&g.sc(9)&&g.ua(a.timeout)&&g.t(a.ontimeout)};
gha=function(a){return"content-type"==a.toLowerCase()};
xx=function(a,b){a.o=!1;a.g&&(a.A=!0,a.g.abort(),a.A=!1);a.C=b;a.l=5;vx(a);wx(a)};
vx=function(a){a.R||(a.R=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Bx=function(a){if(a.o&&"undefined"!=typeof yx)if(a.L[1]&&4==g.zx(a)&&2==a.getStatus())Ax(a,"Local request error detected and ignored");else if(a.H&&4==g.zx(a))g.vg(a.ay,0,a);else if(a.dispatchEvent("readystatechange"),4==g.zx(a)){Ax(a,"Request complete");a.o=!1;try{var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=g.Hg(String(a.I))[1]||null;if(!f&&g.w.self&&g.w.self.location){var k=
g.w.self.location.protocol;f=k.substr(0,k.length-1)}e=!hha.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.l=6;try{var l=2<g.zx(a)?a.g.statusText:""}catch(m){l=""}a.C=l+" ["+a.getStatus()+"]";vx(a)}}finally{wx(a)}}};
wx=function(a,b){if(a.g){Cx(a);var c=a.g,d=a.L[0]?g.y:null;a.g=null;a.L=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
Cx=function(a){a.g&&a.K&&(a.g.ontimeout=null);a.D&&(g.wg(a.D),a.D=null)};
g.zx=function(a){return a.g?a.g.readyState:0};
g.Dx=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};
Ax=function(a,b){return b+" ["+a.Y+" "+a.I+" "+a.getStatus()+"]"};
iha=function(a,b,c,d){var e=new g.Lm("https://www.googleapis.com/youtube/v3/videos");g.Um(e,"id",a);g.Um(e,"part","snippet,status,statistics");g.Um(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus,items/statistics/viewCount");null!=d&&(b=(0,g.z)(b,d),c=(0,g.z)(c,d));Ex(new g.tx,e,b,c)};
jha=function(a,b,c,d){var e=new g.Lm("https://www.googleapis.com/youtube/v3/channels");g.Um(e,"id",a);g.Um(e,"part","snippet,statistics,brandingSettings");g.Um(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=d&&(b=(0,g.z)(b,d),c=(0,g.z)(c,d));Ex(new g.tx,e,b,c)};
Ex=function(a,b,c,d){g.Um(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");ux(a,2E3);var e=new g.an(a);e.hh(a,"success",function(a){a=a.target;var b=a.g?g.lx(a.g.responseText):void 0;c(b||{});e.dispose();a.dispose()});
e.hh(a,["error","timeout"],function(a){a=a.target;var b=null;0!=a.l&&(b=Error(kx(a.l)));d(b);e.dispose();a.dispose()});
a.send(b)};
Fx=function(a,b,c){$h(b,function(b,e){!b&&0!==b||c[e]||(a+="&"+(0,window.encodeURIComponent)(e)+"="+(0,window.encodeURIComponent)(String(b)),c[e]=!0)});
return a};
Jx=function(a,b,c,d,e,f,k,l){f=void 0===f?window.Infinity:f;k=void 0===k?!1:k;Pi.call(this,a,l);var m=this;this.H=0;this.N=f;this.X=b;this.R=c;this.Y=d;this.Z=e;this.W=!("csi.gstatic.com"!==this.R||!this.g.navigator||!this.g.navigator.sendBeacon);this.D={};this.g.performance&&this.g.performance.now||Gx(this,"dat",1);this.g.navigator&&this.g.navigator.deviceMemory&&Gx(this,"dmc",this.g.navigator.deviceMemory);this.ca=!k;this.C=(0,g.z)(this.K,this);this.L=g.Ea(this.g.setTimeout,this.C,1100);this.I=
this.g.setTimeout(this.C,5E3);this.o={};this.B=b.length+c.length+d.length+e.length+3;this.A=0;(0,g.B)(this.events,function(a){return Hx(m,a)});
Ix(this);"complete"===this.g.document.readyState?this.g.setTimeout(this.C,0):ci(this.g,"load",this.L);ci(this.g,"unload",this.C)};
Gx=function(a,b,c){c=c.toString();null!=a.D[b]?a.B+=c.length-a.D[b].length:a.B+=b.length+c.length+2;a.D[b]=c};
Ix=function(a){Gx(a,"puid",(a.H+1).toString(36)+"~"+(0,g.F)().toString(36))};
Hx=function(a,b){var c="met."+b.type;var d=g.ua(b.value)?Math.round(b.value).toString(36):b.value;var e=Math.round(b.duration);d=""+b.label+(null!=b.slotId?"_"+b.slotId:"")+("."+d)+(0<e?"_"+e.toString(36):"");e="~";e=void 0===e?"":e;var f=null==a.o[c]?c.length+d.length+2:d.length+e.length;8E3<a.B+a.A+f&&(a.K(),f=c.length+d.length+2);a.o[c]=null!=a.o[c]?a.o[c]+(""+e+d):d;a.A+=f;6E3<=a.B+a.A&&a.K()};
Mx=function(){this.va=null;if(Gn(Dn(),21592081)&&!O.g()){this.va=new Jx(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(Kx)var a=Kx;else{a=((a=ei())?Zh(a.master)?a.master:null:null)||li();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?Kx=b:a.google_persistent_state_async=Kx=new Eca}b=li();var c=ei(b);c?((c=c||ei())?(b=c.pageViewId,c=c.clientId,g.v(c)&&(b+=c.replace(/\D/g,"").substr(0,6))):b=null,b=+b):(b=Ik(b).fd,(c=b.google_global_correlator)||
(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=kha[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;Lx(this,"c",a);a=Hn(Dn());g.D(g.E(a))||Lx(this,"e",a)}this.g="0"};
Nx=function(){var a=Mx.getInstance();a.va&&(a.va.disable(),a.va=null)};
Lx=function(a,b,c){a.va&&c&&Gx(a.va,b,c)};
Ox=function(a){var b=Mx.getInstance();if(b.va&&lha){var c=Mi();c&&(b=b.va,b.l&&b.F(new Ni(a,4,c,0,void 0)))}};
mha=function(a,b){if(b){var c=/iu=\/(\d+)\//.exec(qb(b)),d=g.E((new g.Lm(b)).g.get("client"));a.g=c&&2==c.length?c[1]:g.D(d)?"0":d}else a.g="0"};
Px=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=Hb(b.viewCount),this.zi=(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}};
nha=function(a){return'<a target="_blank" href="'+P(a.url)+'" class="'+P("fullslot-attribution-button")+'">'+P(a.text)+"</a>"};
oha=function(a){return'<div class="'+P("fullslot-autoclose")+'">'+P(a.vH)+"</div></div>"};
Qx=function(a){return""+Ha("Ad will close in {$xSeconds}",{xSeconds:P(a.re)})};
Rx=function(a){g.Gf.call(this);this.B=new g.ug(200);g.L(this,this.B);this.o=0;this.l=!1;this.L=a;this.I=new g.an(this);this.I.U(this.B,"tick",this.FR)};
Sx=function(a){a.B.stop();a.l=!1};
Ux=function(a,b,c,d,e){Rx.call(this,b.g);this.F=b;this.D=c;this.H=this.F.g;this.g=a;this.A=this.C=null;g.R(this.g,jx(this.D));a=this.g;b=new $t;b.skipOffset=new Sr(this.F.A,!1);this.A=new ru(b,a);d&&d.text&&(d=Jq(nha,d),this.g.appendChild(d));e?(e=this.g,d=Qx({re:Tx(this.H)}),a=Jq(oha,{vH:d}),g.Td(a,d),e.appendChild(a),e=a):e=null;this.C=e};
pha=function(a){var b=g.H("videoAdUiSkipButton",a.g);return b?g.Ih(b,a.g):new g.gd(0,0)};
Tx=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
Xx=function(a,b,c,d,e){Rx.call(this,d);this.H=a;this.R=b;this.N=e;this.A=new g.an(this);g.L(this,this.A);this.C=new Ft;g.L(this,this.C);this.K=new Ft;g.L(this,this.K);this.F=new Ft;g.L(this,this.F);(a=Vx(c))?(c=a(c),b.appendChild(c),b=g.H("iv-endcap-action",c),this.A.U(this.C,"click",this.D),this.C.Eb(b),b=g.H("iv-endcap-text",c),this.A.U(this.K,"click",this.D),this.K.Eb(b),b=g.H("iv-endcap-image",c),this.A.U(this.F,"click",this.D),this.F.Eb(b),b=c):b=null;this.g=b?g.H("iv-endcap-countdown-inner",
b):null;null!=this.g&&g.sh(this.g,"stroke-dasharray","0 "+Wx)};
Vx=function(a){switch(a.Sb()){case 1:return qha;case 4:return rha}return null};
qha=function(a){var b=Ir(a);a=0<Uv(a,"action")?Qr(a):null;return Jq(Gr,{headline:b.md(),description:as(b,"description"),image:Mr(b).getImageUrl(),action:a?cs(a):"",target:a?Pr(a)||as(a,"link_url"):""})};
rha=function(a){var b=a.g();a=0<Uv(a,"action")?Qr(a):null;var c=!1;En().g("desktop_trv_action_endcap_background_clickable")&&(c=!0);return Jq(Gr,{headline:b.md(),description:ds(b),image:b.og().getImageUrl(),action:a?cs(a):"",target:a?Pr(a)||as(a,"link_url"):"",wH:c})};
sha=function(){var a='<div class="'+Q("videoAdInterstitial")+'"><p>',b=Ha("Your video will play after this ad.");return Ep(a+b+"</p></div>")};
Yx=function(){g.K.call(this);this.l=Jq(sha);this.va=0};
Zx=function(a){a.va&&(g.wg(a.va),a.g(g.y))};
$x=function(){this.l=this.I=this.Mi=this.g=this.adSystems=this.adIds=this.adFormat=null;this.D=this.isPharma=this.B=!1;this.slotPosition=-1;this.F=this.H=!1;this.timeout=-1;this.A=!1;this.o=this.C=null;this.Aj=this.Fi=this.kk=!1};
ay=function(a){g.ef.call(this,a)};
by=function(a){g.Gf.call(this);this.Ua=null;this.A=a;this.L=new g.Fm;this.I=-1;this.F=this.N=!1;this.D=""};
cy=function(a){this.paused=!1;this.mute=a.isMuted();this.volume=a.getVolume()};
dy=function(a,b,c,d){if(!c||null==a.L.get(b)){d&&!a.F&&(b="error");a.L.set(b,!0);a:{c=b;if(a.o&&a.o.g.A){if("click"==c)break a;"videoLearnMoreClicked"==c&&Ru(a.A,new g.ef("click"))}d=tha[c]||null;null!=d&&null!=a.g&&a.g.iu(d);Ru(a.A,new g.ef(c))}a.dispatchEvent(b)}};
ey=function(a){0>a.I||a.N||!a.g.yk(a.I)&&!a.g.Zg()||!a.F||(a.N=!0,dy(a,"engagedview",!0,!0),a.dispatchEvent(new ay("viewCount",a.g)))};
fy=function(a){ey(a);if(O.g()){var b=a.A;if(!(Hm(b.l,"skip")||0>b.B)){for(var c=bq(b.o,"progress"),d=[],e=b.B;e<c.length;e++){var f=c[e];b.B=e+1;d.push(f.Oa())}0<d.length&&Ru(b,new g.ef("progress"),d)}}dy(a,"complete",!0,!0)};
gy=function(a){this.g=new g.Fm;if(a){a=Jm(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}};
hy=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Da(a):b.substr(0,1)+a};
iy=function(a){Uu.call(this,a);this.g=null;this.C=!1;this.o=new by(this.Xb);this.Ua=null;this.R=this.X=this.D=!1;this.Y=this.B=1;this.l=null;this.W=new Yx;this.F=new gy;this.ca=!1;this.L=[];this.K=this.I=this.N=!1;this.A=null;this.Z=!eo()&&O.g();this.H=!1;Gn(Dn(),324123001)&&(O.R=!0);Gn(Dn(),324123021)&&(O.R=!0);if(a=0<a.length?a[0]:null){var b=Mx.getInstance();Lx(b,"gqid",at(a));Lx(b,"qqid",ar(a))}uha(this)};
jy=function(a,b){var c=g.vg(function(){this.F.remove(c);b.call(this)},0,a);
a.F.add(c)};
ky=function(a){O.o&&a.ga("youtubeKevlarCompanionHide")};
ly=function(a){a.A&&(g.cf(a.A),a.A=null);g.cf(a.Ja);a.Ja=null;g.cf(a.o);g.cf(a.Xb);a.R=!1};
my=function(a){var b=En();b.g("disable_companion_persist")?ky(a):b.g("ad_pod_disable_companion_persist")&&1<(a.fb()?a.ka():null).A.Qe&&ky(a);a.Uj();a.fb()?a.start():a.stop()};
wha=function(a){if(!a.fb())return!1;var b=a.Ea.Hf();if(null==b)return!1;var c=a.ka(),d;if(d=c.K?c.K.g.Zk()?c.K.g.Pr():c.K.kd():"")vha(a,b,d);else if(ot(c)&&(d=c.Y,d=g.Ra(d)?null:d[0],null!=d&&g.Aa(Vx(d)))){var e=1==d.Sb();a.g=new Xx(a.Da,b,d,vt(c),e);a.Sa().U(a.g,"click",(0,g.z)(a.ox,a,null));a.Ja&&Ou(a.Ja,!0);a.Ea.ud()}null!=a.g&&(a.Sa().U(a.g,"timeUpdate",a.bC),a.Sa().U(a.g,"end",a.WH),a.g.start(),Zu(a,"video_card_endcap_impression"));return null!=a.g};
vha=function(a,b,c){Mo(Jo.getInstance(),34,{evt:"start"},!0);var d=g.J("DIV");g.R(d,"controls");var e=g.J("DIV");g.R(e,"adDisplay");g.R(e,"endslate");e.innerHTML=c;(c=g.Md(e)[0])&&g.sh(c,{margin:"0 auto"});(0,g.B)(c.getElementsByTagName("a"),function(a){var b=a.getAttribute("href");b&&this.Sa().U(a,"click",(0,g.z)(this.ox,this,b))},a);
d.appendChild(e);e=new yv;Pga(e,vt(a.ka()));e.A=0;e.o=0;a.g=new Ux(d,e,1,{},!0);a.Sa().U(a.g,"skip",a.qx);b.appendChild(a.g.g);a.Ea.ud();a.Ja&&(Gga(a.Ja),Lu(a.Ja))};
oy=function(a,b){ny(a);null!=a.Da&&a.Da.Gr();a.ga("complete");Zu(a,b);a.xa("instreamAdComplete");my(a)};
ny=function(a){a.g&&(a.g.dispose(),a.g=null);a.Ja&&Ou(a.Ja,!1);a.C=!1};
xha=function(a){return(0,g.tm)(a.qc.B,function(a){return!Rv(a.Ee(),"hide_in_drawer")})};
ry=function(a,b,c){py(a)&&c?qy(a,b).then(a.ew,null,a):(a.ew(),c&&qy(a,b))};
yha=function(a){null!=a.Da&&a.Da.Er();var b=En();b=b.g("use_forced_brand_precap_duration")?b.l("forced_brand_precap_duration_ms"):2E3;Hga(a.Ja,b);var c=g.vg(function(){null!=this.Da&&this.Da.Gr();this.F.remove(c);this.W.show(this.Ea.Mk(),this.La.Fu,(0,g.z)(this.Da.play,this.Da))},b,a);
a.F.add(c)};
sy=function(a,b,c,d){b=bq(b.g,c);g.Ra(b)||(a[d]=b[0].Oa())};
ty=function(a,b,c){b=c.getExtension(b);null!=b&&(sy(a,b,"annotation_click","cta_annotation_clicked"),sy(a,b,"annotation_close","cta_annotation_closed"),sy(a,b,"annotation_start","cta_annotation_shown"))};
zha=function(a,b){var c=new $x;c.adFormat=br(b);c.adIds=Zq(b).join(",");c.adSystems=$q(b).join(",");1<b.A.Qe&&(c.slotPosition=b.A.g-1);mt(b)&&!b.Z&&(c.Mi=Ws(b));c.I=a.La.contentId;if(a.Ja){var d={};ty(d,"AdSense",b);ty(d,"dart",b);ty(d,"DFP",b);c.l=d;c.D=a.Ja.g.B}b.isSkippable()&&!Js(b)&&(c.H=!0);d=En();c.timeout=d.g("use_variable_load_timeout")?d.l("variable_load_timeout_ms"):a.La.gf;if(d=b.o)c.B=d.gp;c.A=a.La.Vk;c.g=ar(b);c.C=a.La.Zh;c.isPharma=uy(a,b);c.F=!0;d=Ts(a.ka(),"endscreenClick");d=g.Ra(d)?
null:g.Bg({endscreenClick:d});c.o=d;c.kk=py(a);c.Fi=a.fb()&&Dt(a.ka());c.Aj=a.fb()&&Dt(a.ka());return c};
uy=function(a,b){var c=Oq(a.kj());if(!c){var d=b.getExtension("AdSense");null!=d&&(c=d.isPharma())}return c};
uha=function(a){var b=0,c=0;(0,g.B)(a.ads,function(a){!Yu(a)||O.g()&&0!=c||(c++,b+=a.getDuration())},a);
var d=1;(0,g.B)(a.ads,function(a){var b=a.A;b.Qe=c;Yu(a)&&(b.g=d,b.o=d,d++)},a)};
vy=function(a){var b=a.l;return b&&b.Ya&&(b=b.D,!g.Ra(b)&&b[0]instanceof mq)?b[0].df():Us(a)};
zy=function(a,b){if(!Yu(b))throw Xn(wy);var c=b.g,d=c.B;if(null!=d)return d;var e=null!=b&&!yy(a)&&(O.g()||a.Ea.Mn()||a.Ea.zr()||eo());d=a.Qg(b);e=a.Da.IC(d,a.La.bitrate,a.La.Wk||[],e);Aha(d,a.La.bitrate,e,Ms(b));if(null!=e)return c.B=e;try{Bha(a,b)}catch(f){}throw Xn(Cha);};
Bha=function(a,b){if(Jo.getInstance().isLoggingEnabled()){var c=new gy,d=!1;(0,g.B)(a.Qg(b),function(a){c.add(a.g);"VPAID"==a.l&&(d=!0)},a);
var e=a.Da.Uq();e={aid:Ws(b),mt:c.sb().join(","),smt:e.join(","),hvp:d,st:bt(b).join(",")};Mo(Jo.getInstance(),28,e)}};
Aha=function(a,b,c,d){if(!O.g())try{var e=(0,g.G)(a,function(a){return a.Tf}),f=(0,g.G)(a,function(a){return a.g});
a={};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.Tf;a.selmt=null===c?"":c.g;a.ic=!1;a.nat=!1;a.iyh=Jn(c.Oa())?"1":"0";a.as=d;Mo(Jo.getInstance(),22,a)}catch(k){}};
Ay=function(a){return a.K?!1:a.La.Vk&&(!a.Ea.rj()||a.Ea.rj()&&!1)};
yy=function(a){return a.La.Vk&&vo(a.Ea)&&!a.K&&!0};
Dy=function(a){try{var b=a.ka();a.l=zy(a,b);jy(a,(0,g.z)(iy.prototype.qs,a,b,a.l.Oa(),a.l.g))}catch(c){(0,g.Pa)(a.ads,b)+1<a.ads.length&&(By(a,c),a.Uj(),a.fb()?(Zn(a,Cy,c),Dy(a)):$n(a,Cy,c))}};
Dha=function(a){try{var b=a.De();null!==b&&(a.l=zy(a,b),jy(a,(0,g.z)(iy.prototype.qs,a,b,a.l.Oa(),a.l.g,!0)))}catch(c){}};
Ey=function(a,b){b in a.L||(a.L.push(b),a.ga(b))};
Eha=function(a){var b=a.ka(),c={};c.pubbr=a.La.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.Qg(b);var d=b.g;d=d?d.B:null;var e=(0,g.G)(a,function(a){return a.Tf});
a=(0,g.G)(a,function(a){return a.g});
c.brs=e.join(",");c.mts=a.join(",");c.as=Ms(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.Tf,c.selmt=d.g,c.iyh=Jn(d.Oa())?"1":"0",c.murl=d.Oa())}Mo(Jo.getInstance(),45,c)};
Fy=function(a,b,c){By(a,c);a.Uj();a.fb()?(Zn(a,b,c),a.start()):($n(a,b,c),a.stop())};
By=function(a,b){var c=Xn(Cy,b);c=Vq(c,a.ka(),a.Da);var d=Ns(a.ka());Tn(d,c)};
Gy=function(a){if(O.l||O.g()){var b=vy(a.ka());null!=b&&Nn(b);a.ga("click")}else a.H&&a.ga("click")};
Hy=function(a,b){g.Vb(Fha,b)&&cn(a.Sa(),a.o,b,a.XB,a)};
Iy=function(a){if(!a.N){var b=a.ka(),c=b.C;if(At(b)&&!O.g()&&!a.Ea.Mn()&&c){b=a.Da.getCurrentTime();var d=a.Da.getDuration(),e=new g.Lm("//s.youtube.com/s");g.Um(e,"ns","yt");g.Um(e,"el","adunit");g.Um(e,"docid",c);g.Um(e,"eurl",window.document.URL);g.Um(e,"len",d.toFixed(2));g.Um(e,"tv","1");g.Um(e,"ps","trueview-instream");g.Um(e,"st",b.toFixed(2));g.Um(e,"et",b.toFixed(2));g.Um(e,"rt",b.toFixed(2));Pn(e.toString());a.N=!0}}};
Gha=function(a){var b=a.ka().L;if(null!=b){b=b.videoId;var c=a.La.Qi;if(g.D(g.E(b)))b=null;else{c=new g.Lm((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",b);Qm(c,d);c.H="action=share";b=c.toString()}null!=b&&(Nn(b),a.RC())}};
Hha=function(a){a=Jy(a)||Ky(a);null!=a&&Qn(a,"sharebuttondisplayed")};
Jy=function(a){a=a.ka().getExtension("AdSense");return null!=a?new g.Lm(a.A):null};
Ky=function(a){if(a=a.ka().g)if(a=jq(a,"start"),!g.Ra(a))return new g.Lm(a[0].Oa());return null};
Iha=function(a){var b=a.ka(),c=b.L;null!=c&&(b=Nq(c.videoId,null!=ut(b),a.La.Qi),null!==b&&(a.Da.pause(),Nn(b)))};
Ly=function(a){jy(a,function(){this.ga("skip");En().g("skip_ad_pod_to_end")?this.stop():my(this)})};
qy=function(a,b){return g.mg(Jha(a,b).then(a.tU,null,a).then(a.VT,null,a).then(a.sU,null,a).then(a.JH,null,a),g.y)};
Jha=function(a,b){return new g.$f(function(a,d){iha(b,function(b){b=new Px(b);this.fb()&&this.ka().C==b.videoId?a(b):d()},function(){d()},this)},a)};
My=function(a){return a.fb()&&null!=a.ka().L&&a.ka().L.isListed};
Ny=function(a){var b=a.ka().ca;if(My(a)&&null!=b){var c=a.La.Qi;b=g.E(b.channelId);c=g.D(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.nb(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Da.pause(),Nn(c))}};
py=function(a){a=a.ka();if(!a||!a.C)return!1;var b=g.Ma(a.B,function(a){return 4==a.Sb()&&Rv(a.Ee(),"show_in_cta")});
return O.g()&&At(a)&&null!=b};
Kha=function(a,b){var c=a.fb()?a.ka().C:null,d=a.ka();if(!d||!c)return"";d=g.Ma(d.B,function(a){return 4==a.Sb()&&Rv(a.Ee(),"show_in_cta")});
if(!d)return"";c=d.g();var e=Qr(d);d=g.rb(e&&Pr(e)||"");e=g.rb(e&&cs(e)||" ");var f=g.rb(c.md()||b.authorName);var k=g.rb(ds(c)||"");c=g.rb(c.og().getImageUrl()||b.channelIconThumbnailUrl);return'<Extension type="InfoCards">'+('<card type="TYPE_WEBSITE"><action target="'+d+'" title="'+e+'" type="TYPE_EXTERNAL"/><placement hide_in_drawer="true" show_in_cta="true"/><website_card headline="'+f+'" description="'+k+'"><icon image_url="'+c+'"/></website_card></card>')+"</Extension>"};
Oy=function(a){g.Gf.call(this);this.sessionId=a||Cb();this.l=[]};
Py=function(a,b,c,d,e){g.ef.call(this,a);this.Wd=b;this.Uf=c;this.yy=d;this.l=e};
Qy=function(a,b){Oy.call(this,b);this.o=a;this.rf=null;this.A=new g.an(this);this.logger=null;this.A.U(Bd(),"message",this.receive)};
Ry=function(a){if(null==a||!g.v(a)||!g.nb(a,"ima://"))return null;a=a.substr(6);try{return JSON.parse(a)}catch(b){return null}};
Lha=function(a,b,c,d){var e={};e.name=b;e.type=c;null!=d&&(e.data=d);e.sid=a.sessionId;e.channel=a.o;return"ima://"+g.Bg(e)};
Sy=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.o)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};
Ty=function(a,b){g.ef.call(this,"vpaidEvent");this.sessionId=b};
Uy=function(a){Uu.call(this,a);this.X=this.L=this.Qc=!1;this.F=[];this.B=Cb();this.Ua=this.g=null;this.l=!0;this.I=-1;this.H=new g.ug(500);this.R=this.D=-1;this.A=1;this.Y=this.W="";this.N=this.K=this.C=!1};
Wy=function(a){var b=Qs(a.ka());O.g()&&(b=Mha(a,b),b=Nha(a,b));var c=g.E(Us(a.ka())),d=a.ka();if(Yu(d)){var e=d.g,f=oq(e,"javascript");null!=f&&(e.B=f)}d=wt(d);c={desiredBitrate:a.La.bitrate,creativeData:b,viewMode:a.Vc,clickThroughUrl:c,adUrl:d,volume:a.A};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.La.surveyCreativeData&&(c.creativeData=a.La.surveyCreativeData);Vy(a,"initAd",c);(0,g.B)(a.F,function(a){Vy(this,a.type,a.params)},a);
a.Qc=!0;a.F=[]};
Xy=function(a,b,c){c=c||null;a.Qc?Vy(a,b,c):a.F.push({type:b,params:c})};
Vy=function(a,b,c){c=c||{};c.session=a.B;c.type=b;Yy()?window.parent.postMessage(g.Bg(c),"*"):null!=a.o.contentWindow&&a.o.contentWindow.postMessage(g.Bg(c),"*")};
Pha=function(a,b){var c={};b=yb(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.B)(d,function(a){c[a]=!0});
g.Kb(Oha,function(a,b){En().g(b)&&(c[a]=!0)},a);
return g.Rb(c).join(" ")};
Mha=function(a,b){var c=g.js(b),d=a.ka().getExtension("why_this_ad");if(null!=d){var e=d.l;e&&3==e.length&&(0,g.B)(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 ks(c)};
Nha=function(a,b){for(var c=g.js(b),d=a.ka(),e;null!=d;){e=d.getExtension("survey");if(null!=e)break;d=d.l}if(null!=e){var f=c.firstChild.firstChild;d=Bq(e,"interstitial_viewed");(0,g.B)(d,function(a){var b=g.J("interstitial_viewed");b.textContent=a;f.appendChild(b)},a);
d=Bq(e,"interstitial_timed_out");(0,g.B)(d,function(a){var b=g.J("interstitial_timed_out");b.textContent=a;f.appendChild(b)},a);
d=Bq(e,"interstitial_start_clicked");(0,g.B)(d,function(a){var b=g.J("interstitial_start_clicked");b.textContent=a;f.appendChild(b)},a);
d=Bq(e,"interstitial_dismissed");(0,g.B)(d,function(a){var b=g.J("interstitial_dismissed");b.textContent=a;f.appendChild(b)},a);
e=Bq(e,"survey_question_displayed");(0,g.B)(e,function(a){var b=g.J("survey_question_displayed");b.textContent=a;f.appendChild(b)},a)}return ks(c)};
Zy=function(a,b,c,d){d=Xn(b,c,d);var e=Vq(d,a.ka()),f=Ns(a.ka());Tn(f,e);b.message=d.Ed();$n(a,b,c)};
bz=function(a,b){if(g.v(b.type))switch(b.type){case "friendlyReady":Wy(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Ea.Nf();a.Y!=b.src&&(a.Y=b.src,a.g.load(b.src,b.mimetype));a.g.play();break;case "pause":a.g.pause()}break;case "returnDuration":a.D=b.duration;break;case "returnRemainingTime":a.I=b.remainingTime;break;case "AdClickThru":a.xa("click");a.ga("click");break;case "AdDurationChange":a.D=b.duration;a.I=b.remainingTime;a.ka().g.fa=a.D;a.ga("durationChange");break;case "AdError":Zy(a,
ax,Error(b.message));a.stop();break;case "AdExpandedChange":a.ga("expandedChanged");break;case "AdImpression":var c=a.ka();g.Ra(Ps(c))||a.Bd(c);Zu(a,"impression");a.K=!0;$y(a,51);break;case "AdLinearChange":c=b.isLinear;!a.l&&c?(a.ga("contentPauseRequested"),Xy(a,"becameLinear")):!c&&a.l&&(a.ga("contentResumeRequested"),Xy(a,"becameNonlinear"),Xy(a,"getAdRemainingTime"),Xy(a,"getAdDuration"));a.l=c;var d=a.ka();d.ma=!0;d.oa=c;a.ga("linearChanged");break;case "AdLoaded":g.wg(a.R);a.L=!0;d=b.companions;
c=a.ka();g.Ra(Ps(c))&&(d=Sw(d,c.g.g),g.Ra(d)||Ds(c,d));az(a);Zu(a,"loaded");break;case "AdPaused":a.C=!0;Zu(a,"pause");break;case "AdPlaying":a.C=!1;Zu(a,"resume");break;case "AdRemainingTimeChange":a.I=b.remainingTime;c=a.ka().getDuration();d=c-a.Ic();ev(a,d,c);break;case "AdSkipped":Zu(a,"skip");a.stop();break;case "AdSkippableStateChange":Zu(a,"skippableStateChanged");break;case "AdStarted":a.xa("creativeview");$y(a,52);break;case "AdStopped":a.xa("stop");a.stop();break;case "AdUserAcceptInvitation":a.l?
a.xa("acceptinvitationlinear"):a.xa("acceptinvitation");break;case "AdUserMinimize":a.xa("collapse");break;case "AdUserClose":Zu(a,"userClose");break;case "AdVideoComplete":a.K&&a.N||(c={},c.aic=a.K,c.avc=a.N,$y(a,56,c));Zu(a,"complete");break;case "AdVideoFirstQuartile":Zu(a,"firstquartile");break;case "AdVideoMidpoint":Zu(a,"midpoint");break;case "AdVideoStart":a.xa("start");a.ga("start");a.N=!0;break;case "AdVideoThirdQuartile":Zu(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.A&&
a.ga("volumeChange",{volume:c});0==c&&0!=a.A?(a.xa("mute"),a.ga("mute")):0==a.A&&0!=c&&a.xa("unmute");a.A=c;a.g.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.ga("interaction",c);break;case "Ping":Pn(b.url)}};
cz=function(a,b){Yy()||Vy(a,"wrapperCall",{messageType:b})};
az=function(a){a.L&&a.X&&(Xy(a,"startAd"),a.H.start(),a.l||(Xy(a,"becameNonlinear"),Xy(a,"getAdRemainingTime")),Xy(a,"getAdDuration"))};
$y=function(a,b,c){try{c=c||{};c.dn=a.W;c["if"]=Yy();c.pid=Mx.getInstance().g;var d=Zs(a.ka()).join();c.xy=d;Mo(Jo.getInstance(),b,c,!0)}catch(e){}};
Yy=function(){return 2==O.D};
dz=function(){Uu.call(this,[]);this.Ua=null;this.be=this.ce=-1;this.D=!1};
fz=function(a,b,c,d){if(a.g){var e=a.g;cn(a.Sa(),e,ez,a.dispatchEvent,a);cn(a.Sa(),e,"companionBackfill",a.dispatchEvent,a);cn(a.Sa(),e,"adError",a.eB,a);cn(a.Sa(),e,"allAdsCompleted",g.y,a);cn(a.Sa(),e,"contentPauseRequested",a.oB,a);cn(a.Sa(),e,"contentResumeRequested",a.It,a);cn(a.Sa(),e,"userClose",a.ti,a);cn(a.Sa(),e,"autoClose",a.si,a);a.g.Bg(a.Od);a.g.Pc(b,c,d)}};
gz=function(a){a.g&&(a.g.destroy(),a.g=null);a.Ea&&a.Ea.hide();g.cf(a.Zb);a.Zb=null};
iz=function(a,b,c){dz.call(this);this.o=c;this.l=null;this.B=this.C=this.A=!1;this.g&&gz(this);this.g=b;hz(this,b)};
kz=function(a,b,c){var d=(0,g.z)(function(a){Zn(this,Qha,c);try{var b=jz([a[0]]);if(b)var d=b;else throw Error("Ads manager creation failure, failed to determine ad type.");hz(this,d);a=d;try{this.g&&gz(this),this.g=a,fz(this,this.Ea,this.content,this.La),this.D&&this.g.vj(),this.g.xb(this.ce,this.be,this.Vc),this.g.init(this.Vc),this.start()}catch(m){d=m;var e=a.tb();et(e);kz(this,ft(e),Error(d.Ed()))}}catch(m){e=m,$n(this,e.Ed(),e.al)}},a);
a=(0,g.z)(function(){this.ga("contentResumeRequested");$n(this,Rha,c);this.destroy()},a);
null!=b?kr(b,d,a):a(null)};
hz=function(a,b){a.l&&a.l.dispose();a.l=new g.an(a);g.L(a,a.l);cn(a.l,b,"start",a.PO,a)};
lz=function(a){Uu.call(this,[]);this.Ua=null;this.l=a;this.o=0;this.g=this.l[this.o];this.A=this.C=this.B=null;this.be=this.ce=-1;this.D=!1;Sha(this)};
mz=function(a,b,c,d){if(a.g){a.B=new g.an(a);var e=a.g,f=a.B;cn(f,e,ez,a.dispatchEvent,a);cn(f,e,"start",a.DJ,a);cn(f,e,"companionBackfill",a.dispatchEvent,a);cn(f,e,"adError",a.OO,a);cn(f,e,"allAdsCompleted",g.y,a);cn(f,e,"contentPauseRequested",a.ph,a);cn(f,e,"contentResumeRequested",a.Zf,a);cn(f,e,"userClose",a.ti,a);cn(f,e,"autoClose",a.si,a);a.g.Pc(b,c,d)}};
Sha=function(a){var b=0,c=a.l.length;(0,g.B)(a.l,function(a){b+=a.Xe().getDuration()},a);
var d=1;(0,g.B)(a.l,function(a){a=a.Xe().A;a.Qe=c;a.g=d;a.o=d;d++},a)};
oz=function(a,b,c){a.o+1>=a.l.length?$n(a,Cy,c.al):(Zn(a,Cy,c.al),nz(a,b))};
nz=function(a,b){if(a.g===b)if(pz(a),a.o++,a.o<a.l.length)try{a.g=a.l[a.o],a.g===a.A?(a.B=a.C,a.A=null,a.C=null,a.Ea.hide(),a.Ea.Ln()):(mz(a,a.Ea,a.content,a.La),a.g.xb(a.ce,a.be,a.Vc),a.g.init(a.Vc)),a.start()}catch(c){oz(a,a.g,c)}else a.ga("contentResumeRequested"),a.destroy()};
pz=function(a){a.B&&(a.B.dispose(),a.B=null);a.g&&(a.g.destroy(),a.g=null);a.Ea&&a.Ea.hide()};
Tha=function(a){return a.aw?'<div class="'+P("overlays-action-tray")+'"><div class="'+P("ad-info-padding")+'" title="'+P(a.aw)+'" role="button" tabindex="1"><svg class="'+P("ad-info-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M22 34h4V22h-4v12zm2-30C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm-2-22h4v-4h-4v4z"/></svg></div><div class="'+
P("close-padding condensed contains-svg")+'" title="'+P(a.close)+'" role="button" tabindex="0"><svg class="'+P("svg-close-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M38 12.83L35.17 10 24 21.17 12.83 10 10 12.83 21.17 24 10 35.17 12.83 38 24 26.83 35.17 38 38 35.17 26.83 24z"/><path d="M0 0h48v48H0z" fill="none"/></svg></div></div>':'<div class="'+P("close-padding contains-svg")+'" title="'+P(a.close)+'" role="button" tabindex="0"><svg class="'+
P("svg-close-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M38 12.83L35.17 10 24 21.17 12.83 10 10 12.83 21.17 24 10 35.17 12.83 38 24 26.83 35.17 38 38 35.17 26.83 24z"/><path d="M0 0h48v48H0z" fill="none"/></svg></div>'};
Uha=function(a){return'<a target="_blank" href="'+P(a.url)+'" class="'+P("attribution-button")+'">'+P(a.text)+"</a>"};
qz=function(a,b){this.H=a;this.F=g.J("DIV",{"class":"controls"});this.g=g.J("DIV",{"class":"adDisplay"});this.R=b||g.y;this.Kf=new g.an(this)};
rz=function(a){var b=g.J("DIV",{"class":"ima-container"});Lt(b,"opacity 0.4s");a.Kf.U(b,"mouseover",a.pJ);a.Kf.U(b,"mouseout",a.SU);b.appendChild(a.F);a.F.appendChild(a.g);return b};
sz=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
tz=function(a){Uu.call(this,a);this.o=null;this.L=g.J("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.B=!1;this.D=[];this.I=null;this.K=new g.Gf};
uz=function(a,b){var c=afa(b);(0,g.B)(c,function(a){dq(this.Xb.o,"click",a)},a)};
vz=function(a,b){var c=Wq(b,a.Da);a.Xb.g=c;b.g&&(a.zg(b),c=b.g)&&(a.eg(c,Vha),bv(a,b))};
wz=function(a,b){var c=Vq(b,a.ka()),d=Ns(a.ka());Tn(d,c)};
xz=function(a,b,c,d,e,f,k){g.Gf.call(this);this.l=this.H=0;this.D=a;this.yc=b;this.ea=c;this.C=null;this.Za=d;this.N=f;this.Y=O.A;this.K=this.B=this.F=this.g=null;this.be=this.ce=-1;this.Z="normal";this.W=null;this.A=e;this.o=[];this.ca=this.L=this.da=this.R=!1;this.X=k;this.Ua=null;Wha(this)};
yz=function(a,b,c,d){a.ce=b;a.be=c;null!=d&&(a.Z=d);null!=a.g&&a.g.xb(b,c,d)};
Wha=function(a){(0,g.B)(a.D,function(a){Xha(a)})};
zz=function(a){return a.H<a.D.length&&null!=a.D[a.H]};
Yha=function(a,b){var c;if(c=O.g()&&!g.Ra(b)&&0==a.yc)c=b[0],c=null!=c&&null==wt(c)&&qt(c,"nonlinear");return c?(c=$s(b[0]),"ADSENSE"==(0<c.length?c.pop():Ms(b[0])).toUpperCase()):!1};
Fz=function(a){!zz(a)||2<=a.o.length-a.l?a.da||(Bz(a),a.dg()&&Cz(a,a.l)&&Dz(a,a.l)&&Ez(a,a.l),a.da=!0,a.dispatchEvent("adBreakInitialized")):Az(a)};
Az=function(a){var b=a.D[a.H];cn(a.I,a.Za,"adsLoaderSdkAdLoaded",a.cB,a);O.A="on_master_ad";Zha(a.Za,b.l,b)};
Bz=function(a){null==a.yc||(0,g.Ej)(a.o,function(a){return!a.isBumper()})||(a.o=(0,g.Ld)(a.o,function(a){return!(a.isBumper()&&!a.o)}))};
Cz=function(a,b){if(b<a.o.length){var c=a.o[b];g.Ra(c.g)?c=!1:(c=c.g[0],c=null!=c?!gp(Fs(c),"rm"):!1)}else c=!1;return c};
Mz=function(a){if(Cz(a,a.l)){var b=a.o[a.l];try{a.L?Gz(a,a.g):a.dg()&&Dz(a,a.l)?(null===a.B&&Ez(a,a.l),Hz(a),a.g=a.B,a.F=a.K,a.B=null,a.K=null,a.A.Ln()):(Hz(a),a.F=new g.an(a),a.g=Iz(a,b,a.F),Gz(a,a.g));null!=a.C&&(a.C.dispose(),a.C=null);if(Jz(a.g)){var c=a.tb();if(null==c||!rt(c)){var d=a.g.ka().g;if(null!==d){var e=d.Cb;0>=e&&!a.N.ow||(0>=e&&(e=15),a.C=new g.ug(1E3*e),fn(a.F,a.C,"tick",a.kR,a))}}}if(Jz(a.g))a.dispatchEvent("contentResumeRequested"),a.A.ud(),a.g.start(),null!=a.C&&a.C.start();else{var f=
a.g;if(null!=f&&f instanceof iy)a.A.Nf(),a.g.start();else{var k=a.g;if(null!=k&&k instanceof Uy){var l=a.g;a.A.ud();l.Tb()?Yy()||a.A.Nf():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var m=a.g;if(null!=m&&(m instanceof dx||m instanceof Yw))a.A.ud(),a.g.Tb()||a.dispatchEvent("contentResumeRequested"),a.g.start();else{var n;if(!(n=Kz(a.g))){var q=a.g;n=null!=q&&q instanceof iz}if(n)a.g.start();else throw Error("Unknown ads manager type.");}}}}a.dg()&&Cz(a,a.l+1)&&Dz(a,a.l+1)&&1==Lz(a)&&
Ez(a,a.l+1)}catch(r){a.l++,Mz(a)}zz(a)&&Az(a)}else a.dispatchEvent("contentResumeRequested"),Nz(a)};
Gz=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.Z);null!=a.W&&b.setVolume(a.W)};
Iz=function(a,b,c){b=Oz(a.Za.o,b.g);var d=new on(a.A,a.dg());b.Bg(a.X);cn(c,b,ez,a.dB,a);cn(c,b,"companionBackfill",a.dB,a);cn(c,b,"adError",a.MO,a);cn(c,b,"allAdsCompleted",g.y,a);cn(c,b,"contentPauseRequested",a.ph,a);cn(c,b,"contentResumeRequested",a.Zf,a);cn(c,b,"userClose",a.ti,a);cn(c,b,"autoClose",a.si,a);b.Pc(d,{currentTime:0},a.N);b.xb(a.ce,a.be,a.Z);return b};
Hz=function(a){a.A.hide();null!=a.C&&(a.C.dispose(),a.C=null);null!=a.F&&(a.F.dispose(),a.F=null);null!=a.g&&(a.g.destroy(),a.g=null)};
Pz=function(a){null!=a.K&&(a.K.dispose(),a.K=null);null!=a.B&&(a.B.destroy(),a.B=null)};
Kz=function(a){return null!=a&&a instanceof lz};
Jz=function(a){return null!=a&&a instanceof tz};
Nz=function(a){a.R=!1;a.dispatchEvent("allAdsCompleted")};
Lz=function(a){return null===a.g||g.Ra(a.g.ads)?0:a.g.ads.length};
$ha=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.B)(a.o,function(a,b){var f=a.g;-1!=(0,g.Pa)(f,c)&&a.isBumper();d+=f.length;b<this.l&&(e+=f.length)},a);
b=c.A;var f=e+b.o;b.Qe=d+(a.D.length-a.H);b.g=f;b.A=a.ea;b.l=a.yc}};
Ez=function(a,b){var c=a.o[b];a.K=new g.an(a);a.B=Iz(a,c,a.K);Gz(a,a.B)};
Dz=function(a,b){if(0<=b&&b<a.o.length){var c=a.o[b].g[0];return null!=wt(c)||null!=xt(c)?!1:!0}return!1};
Qz=function(a){this.g=a};
aia=function(a){this.l=a};
Rz=function(a){this.l=a;this.g=this.isBumper=!1;this.o=null;this.bn=!1};
Xha=function(a){if(null!=a.l.g&&(a=g.Hg(a.l.g)[6]||null)){var b=null;Mg(a,function(a,d){if(null==b)switch(a){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
Sz=function(){this.g=new g.Fm};
Tz=function(a,b,c){if((0,window.isNaN)(c)||!g.ua(c))throw Error("Incorrect time offset.");var d=[];Hm(a.g,c)&&(d=a.g.get(c,[]));(0,g.B)(b,function(a){null!=a&&g.Ta(d,a)});
a.g.set(c,d)};
Uz=function(a,b){this.g=a;this.l=b};
cia=function(a){var b=new Sz;(0,g.B)(g.Md(g.Od(a.g)),function(a){switch(a.nodeName){case "Preroll":a=Vz(this,a);Tz(b,a,0);break;case "Midroll":var c=ps(a,"timeOffset"),e=us(c);if(-1==e)throw Wn(Wz,null,"timeOffset",g.E(c));a=Vz(this,a);Tz(b,a,e);break;case "Postroll":a=Vz(this,a);Tz(b,a,-1);break;default:throw Wn(Xz,null,a.parentNode.nodeName,a.nodeName);}},a);
if(0==b.g.zb().length)throw Wn(bia);return b};
Vz=function(a,b){var c=[];(0,g.B)(g.Md(b),function(a){switch(a.nodeName){case "Ad":var b=g.E(qs(a));if(!g.D(b)){a=ps(a,"bumper");var d=this.l.clone();d.g=b;b=new Rz(d);b.isBumper=null!=a;b.g="always"==a;g.Ta(c,b)}break;default:throw Wn(Xz,null,a.parentNode.nodeName,a.nodeName);}},a);
return c};
Yz=function(a){g.ef.call(this,a);this.g=this.l=null};
Zz=function(){g.Gf.call(this);this.currentTime=0};
aA=function(a,b,c){g.Gf.call(this);c=c||new $z;this.l=a;this.C=c.D;this.H=c.C;this.L=c.B;this.I=c.g;this.K=c.o;this.D=c.l;this.F=c.A;this.B=!1;this.A=null;this.o=!1;this.g=dia(b)};
$z=function(){this.C=0;this.o=this.g=this.D=this.B=!1;this.A=this.l=5};
bA=function(a){this.g=a.yc;this.B=g.Da(a);this.o=this.l=!1;this.gK=5==a.Ye();this.A=this.he=!1};
cA=function(a,b){return eb(a.g,b.g)};
dA=function(a){a.l.start();a.o=!0};
eia=function(a){if(a.o){var b=g.Ma(a.g,function(a){return-1==a.g},a);
null!=b&&eA(a,!0,b)}};
dia=function(a){var b=[];(0,g.B)(a,g.Ea(function(a,b){a(new bA(b))},g.Ea(function(a,b){g.kb(a,b,cA)},b)));
return b};
fia=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.Ta(c,e)}return c};
fA=function(a,b){return Oa(a,g.Ea(function(a,b){return b.gK==a},b))};
gia=function(a){var b=[],c=fA(a,!1);c&&b.push(c);(a=fA(a,!0))&&g.kb(b,a,cA);return b};
hia=function(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(gA(a,d,a.H,b,!0,a.L)&&!a.g[c].l)return d}return null};
gA=function(a,b,c,d,e,f){return-1==b.g?f&&0<a.l.duration&&d>=a.l.duration-c:e&&d>=b.g-c&&d<b.g};
hA=function(a,b){var c=new Yz("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
eA=function(a,b,c){null!=c&&(c.l||(iA(a,"requestAds",c),c.l=!0),b&&!c.o&&(iA(a,"playAds",c),c.o=!0))};
iia=function(a,b){var c;a:{for(c=0;c<a.g.length;c++){var d=a.g[c];if(gA(a,d,-1==d.g?a.F:a.D,b,a.I,a.K)&&d.he&&!d.A){c=d;break a}}c=null}null==c?a.B&&(a.dispatchEvent(new Yz("discardAdNotify")),a.B=!1):a.B||c.o||(iA(a,"adNotify",c),a.B=!0)};
iA=function(a,b,c){b=new Yz(b);b.l=c.g;b.g=c.B;a.dispatchEvent(b)};
jA=function(a){Zz.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw Xn(Xo,null,"content","currentTime");this.duration="duration"in a&&!(0,window.isNaN)(a.duration)?a.duration:-1;this.g=a;this.va=new g.ug(250);this.l=new g.an(this);cn(this.l,this.va,"tick",this.o,this)};
jia=function(){};
kA=function(a,b,c){if(g.Ra(a))return null;a=(0,g.Ld)(a,function(a){var b=a.o;return"application/x-mpegurl"==g.E(a.g).toLowerCase()||"application/dash+xml"==g.E(a.g).toLowerCase()||"progressive"==b});
g.Ra(c)||(c=(0,g.G)(c,function(a){return a.toLowerCase()}),a=(0,g.Ld)(a,function(a){return g.Qa(c,g.E(a.g).toLowerCase())}));
if(!g.ua(b)||0>=b)b=xj()?500:1E3;return kia(a,b)};
kia=function(a,b){return lia(a,b)||mia(a,b)||nia(a,b)};
lia=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.ki,f=a.Tf;d>b||f<b||!(null==c||c.ki>d)||(c=a)});
return c};
mia=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.ki,f=a.Tf;f>b||(null==c||c.Tf<f?c=a:null!=c&&c.Tf==f&&c.ki>d&&(c=a))});
return c};
nia=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.ki,f=a.Tf;if(!(d<b))if(null!=c&&c.ki==d&&c.Tf<f)c=a;else if(null==c||c.ki>d)c=a});
return c};
lA=function(){this.l=0;this.g=[]};
mA=function(a,b){if(b>=a.g.length)throw Error("Out of bounds exception");return 4>a.g.length?b:(a.l+Number(b))%4};
nA=function(a){g.Gf.call(this);this.g=a;this.R=new lA;this.o=0;this.N=this.A=this.Qc=this.D=!1;this.K=this.Yg();this.I=this.sj();this.W=15E3;this.L=!1};
pA=function(a){a.Qc=!1;a.A=!1;a.D=!1;a.o=0;a.N=!1;a.R.clear();oA(a);g.cf(a.B)};
qA=function(a,b){a.A||(a.A=!0,oA(a),a.dispatchEvent("start"),g.Aa(a.g.getAttribute)&&a.g.getAttribute("playsinline"),to()||!g.mo||oo(3)||ho()&&!lo(4)||a.Hr(b))};
rA=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};
oA=function(a){a.H&&(g.wg(a.H),a.H=null)};
tA=function(){g.Gf.call(this);this.buffered=new sA;this.g=new g.an(this);var a=rn();if(a){a:{if(Ub(a.g,"videoElementMockDuration")&&(a=a.g.videoElementMockDuration,g.ua(a)))break a;a=window.NaN}this.duration=a}};
oia=function(){var a=["video/mp4"],b=["video/ogg"],c=new tA;c.canPlayType=function(c){return g.Qa(a,c)?"probably":g.Qa(b,c)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
pia=function(a){this.startTime=0;this.endTime=a};
sA=function(){this.length=0;this.g=[]};
uA=function(a,b,c,d){if(null==a||!g.Qd(g.nd(a),a))throw Xn(Xo,null,"containerElement","element");this.B=a;this.l=this.g=null;this.A=b;this.D=!d;this.C=c||!1;this.o=null;this.g=g.J("DIV",{style:"display:none;"});this.B.appendChild(this.g);this.D&&(a=rn(),sn(a,"useVideoElementMock")?(a=oia(),b=g.J("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Fa(b,a),a.rk=g.J("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.Pn=g.J("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.rk.appendChild(a.Pn),b.appendChild(a.rk),a.g.U(a,["loadeddata","playing","pause","ended"],a.ZS),a=b):a=g.J("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:""+Ha("Advertisement")}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.l=a,this.g.appendChild(this.l));this.A&&(a="display:none;position:absolute;width:100%;height:100%;",O.B||(a+="background-color:#000;"),
a=g.J("DIV",{id:this.A,style:a}),this.g.appendChild(a));this.C&&(this.o=g.J("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.g.appendChild(this.o))};
vA=function(a,b,c,d){g.K.call(this);this.A=b||null;this.D="*";this.l=c||null;this.sessionId=null;this.channel=d||null;this.I=!!a;this.B=(0,g.z)(this.F,this);window.addEventListener("message",this.B)};
wA=function(a,b){"null"!=b.origin&&(a.l=a.D=b.origin);a.A=b.source};
xA=function(a){vA.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.l="*";this.g={};this.o=[];this.C=!1};
yA=function(a){a.C=!0;(0,g.B)(a.o,function(a){this.sendMessage(a)},a);
a.o.length=0};
qia=function(){};
zA=function(a,b){this.g=a;this.B=new gy;this.D=(0,g.z)(this.F,this);this.I=Math.floor(2147483646*Math.random())+1;this.l=b||new xA(this.I);g.L(this,this.l);this.o=new g.an(this);g.L(this,this.o);var c=(0,g.z)(a.play,a);this.l.g.play=c;c=(0,g.z)(a.load,a);this.l.g.load=c;c=(0,g.z)(a.pause,a);this.l.g.pause=c;c=(0,g.z)(this.C,this);this.l.g.listen=c;c=(0,g.z)(this.H,this);this.l.g.unlisten=c;c=(0,g.z)(this.A,this,"src");this.l.g.setSource=c;c=(0,g.z)(this.A,this,"muted");this.l.g.setMuted=c;c=(0,g.z)(this.A,
this,"volume");this.l.g.setVolume=c};
CA=function(a){g.Gf.call(this);this.N="ima-chromeless-video";var b=null;null!=a&&(g.v(a)?this.N=a:b=a);this.R=new g.an(this);this.C=null;this.A=!1;this.fa=new g.kd(0,0);this.ea=this.sj();this.I=-1;this.Z=!1;this.D=-1;this.l=this.X=this.K=null;this.Y="";this.o=!1;this.da=null!=b;this.ma=this.L=this.ca=this.g=null;this.B=void 0;this.H=this.ia=null;this.F=this.oa=0;this.da?(this.o=!0,this.g=b,this.B=2):(a=(0,g.z)(this.KH,this),AA?a():(BA.push(a),a=g.Ed("script"),a.src="https://www.youtube.com/iframe_api",
b=window.document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b)))};
EA=function(a,b,c){null!==b&&(a.Y=b,a.o?DA(a,b,c):(a.K=b,a.X=c))};
DA=function(a,b,c){var d={autoplay:"1"};O.B&&(d.dash=0);null!=a.l&&(null!=a.l.Mi&&(d.agcid=a.l.Mi),0<=a.l.slotPosition&&(d.slot_pos=a.l.slotPosition),null!=a.l.adFormat&&(d.adformat=a.l.adFormat),null!=a.l.adIds&&(d.ad_id=a.l.adIds),null!=a.l.adSystems&&(d.ad_sys=a.l.adSystems),null!=a.l.g&&(d.ad_query_id=a.l.g),a.l.l&&(d.cta_conversion_urls=a.l.l),a.l.o&&(d.endscreen_ad_tracking_data=a.l.o),a.l.kk&&(d.wait_for_vast_info_cards_xml=1),a.l.Fi&&(d.suppress_creator_endscreen=1),a.l.Aj&&(d.is_trueview_action=
1),a.l.isPharma&&(d.is_pharma=1),d.iv_load_policy=a.l.D?1:3,a.l.B&&(d.noiba=1),a.l.H&&(d.utpsa=1),a.l.F&&(d.autoplay="1"),a.l.C&&g.fc(d,a.l.C));var e=Mq(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;!O.g()&&(d.enabled_engage_types="3,4,5,6");a.A=!1;a.l&&a.l.A?(a.ia=d,a.g.preloadVideoByPlayerVars(a.ia)):a.g.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};
FA=function(a){a.R.Aa(a.C,"tick",a.rB);null!=a.C&&(a.C.stop(),a.C=null)};
GA=function(a){null!=a.za&&g.wg(a.za)};
HA=function(a,b){g.Gf.call(this);this.A=a;this.o=b;this.g={};this.l=new g.an(this);this.l.U(Bd(),"message",this.B);this.Ua=null};
JA=function(a,b,c,d){a.g.hasOwnProperty(b)||(c=new Qy(b,c),a.l.U(c,a.A,function(a){a=new IA(a.type,a.Wd,a.Uf,a.yy,a.getOrigin(),b);this.dispatchEvent(a)}),c.rf=d,c.connect(),a.g[b]=c)};
IA=function(a,b,c,d,e,f){Py.call(this,a,b,c,d,e);this.g=f};
LA=function(){var a=g.x("google.ima.gptProxyInstance",Bd());if(null!=a)return a;g.an.call(this);this.o=new HA("gpt",!0);g.L(this,this.o);this.U(this.o,"gpt",this.C);this.Ua=this.g=null;KA()||Bd().top===Bd()||(this.g=new HA("gpt",!1),g.L(this,this.g),this.U(this.g,"gpt",this.B))};
KA=function(){return!!g.x("googletag.cmd",Bd())};
MA=function(){var a=g.x("googletag.console",Bd());return null!=a?a:null};
ria=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 NA[n].apply(null,arguments)})};
QA=function(a,b){g.Gf.call(this);this.l=new g.an(this);this.H=!1;this.I=Cb();this.F=new g.Fm;var c=this.I;var d=(yba()?"https:":"http:")+ria("//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.J("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});
this.l.hh(c,"load",this.gI);a.appendChild(c);this.o=c;c=this.F.get("*");null==c&&(c=new Qy(this.I,"*"),this.H&&(c.rf=Sd(this.o),c.connect()),this.F.set("*",c));this.D=c;this.C=b;this.g=this.C.l;this.Ua=this.A=this.B=null;this.l.U(this.D,"mouse",this.FI);this.l.U(this.D,"touch",this.ZI);null!=this.g&&(this.l.U(this.D,"displayContainer",this.AI),this.l.U(this.D,"videoDisplay",this.WI),this.l.U(this.D,"preloadVideoDisplay",this.MI),this.l.U(this.g,g.Qb(OA),this.cg),this.l.U(this.g,PA,this.cg));c=Bd();
d=g.x("google.ima.gptProxyInstance",c);null==d&&(d=new LA,g.va("google.ima.gptProxyInstance",d,c))};
RA=function(a,b){var c=g.Dh(a.o),d=!!("TouchEvent"in window&&0<window.TouchEvent.length),e=(0,g.G)(b,function(a){return d?new window.Touch({identifier:a.identifier,target:this.o,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.o,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)},a);
return window.document.createTouchList.apply(window.document,e)};
SA=function(a){a=a.playbackOptions;var b=new $x;b.adFormat=a.adFormat;b.Mi=a.adSenseAgcid;b.I=a.contentVideoDocId;b.l=a.ctaAnnotationTrackingEvents;a.showAnnotations&&(b.D=!0);a.viewCountsDisabled&&(b.H=!0);b.timeout=a.loadVideoTimeout;a.ibaDisabled&&(b.B=!0);a.enablePreloading&&(b.A=!0);b.g=a.adQemId;a.isPharma&&(b.isPharma=!0);a.useAutoplayFlag&&(b.F=!0);b.o=a.endscreenAdTracking;a.waitForVastInfoCardsXml&&(b.kk=!0);a.suppressCreatorEndscreen&&(b.Fi=!0);a.isTrueViewAction&&(b.Aj=!0);return b};
TA=function(a,b,c){this.F=a;var d=null!=c;Gn(Dn(),136961005)&&(O.K=!0);var e=d,f=!1;O.K?O.l||(uo()&&d||(e=!1),!e&&O.K&&!O.g()&&eo()&&(O.B=!0),!O.B&&eo()||ul()||(f=!0)):O.l||uo()&&d||(!O.B&&eo()||ul()||(f=!0),e=!1);this.H=e;this.K=f||e&&null!=c;O.l?a=null:(d=g.J("DIV",{style:"position:absolute"}),a.insertBefore(d,a.firstChild),a=d);this.o=a;this.g=this.H||!this.o||O.l||!eo()?null:new uA(this.o,null,!0);d=a=null;this.H?c&&(a=new CA(c)):this.g&&(a=new nA(this.g.l),d=this.g.l);e=null;d&&O.B&&f&&(e=new zA(d));
this.I=e;this.l=a;this.B=this.A=null;f=g.mo&&!oo(4);a=ho()&&eo();this.g&&this.l&&this.o&&!this.H&&!ul()&&!f&&!a&&this.o&&(this.A=new uA(this.o,null,!0),this.B=new nA(this.A.l));this.C=this.l?b||null:null;this.L=null!=this.C;Mo(Jo.getInstance(),8,{enabled:this.H,yt:null!=c,customClick:null!=this.C});null===this.o&&(b=this.F,O.F=b);this.D=null==this.o||O.l?null:new QA(this.o,this)};
UA=function(a){return a.L&&a.C?a.C:null!=a.g?a.g.o:null};
VA=function(a){this.g=a};
WA=function(a,b){g.ef.call(this,"adsManagerLoaded");this.g=a;this.l=b};
XA=function(a,b,c,d){a.g.Pc(new VA(b),c,d);return a.g};
YA=function(){};
ZA=function(){g.Gf.call(this);this.he=!1;this.impressionUrls=[]};
$A=function(a,b,c){g.ef.call(this,a);this.l=b||null;this.g=c||null};
bB=function(a,b){g.Gf.call(this);this.g=a;this.C=!!b;this.A=aB(this);this.A||(this.l=g.sf(this.g,g.yd&&!g.sc("7")?"readystatechange":"load",this.B,!1,this),this.o=window.setInterval((0,g.z)(this.B,this),100))};
cB=function(a){a.o&&(window.clearInterval(a.o),a.o=null)};
aB=function(a){var b=!1;try{if(a.C||!g.yd||g.sc("11")){var c=a.g,d=(c.contentDocument||c.contentWindow.document).body;b=a.C?!!d&&!!d.firstChild:!!d}else b="complete"==a.g.readyState}catch(e){}return b};
dB=function(){ZA.call(this);this.D=[];this.B=!1;this.o="not_loaded";this.l=null;this.A=0;this.g=this.Ua=null;this.F=new md};
eB=function(a){var b=["googletag","googletag.cmd"];return g.Ma(a,function(a){return(0,g.tm)(b,function(b){return null!==g.x(b,a)})})||null};
fB=function(a){return a.he?(0,g.G)(a.D,function(a){return a.clone()}):[]};
sia=function(a){a=fB(a);if(null!=a)return(0,g.G)(a,function(a){return a.F})};
gB=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.Lm(b.g),d=Number(b.g.get("pod")||0),e=Number(b.g.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(Ko.g,d,e,c)}catch(f){}};
tia=function(a,b){var c=hB(a);if(null!==c){gB(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
jB=function(a,b,c){a=iB(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
kB=function(a,b){a.C=b;jB(a,"","");var c=hB(a);null===c||gB(c,null,!1)};
hB=function(a){null==a.g&&lB(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.companionAds?a.g.googletag.companionAds():null};
iB=function(a){null==a.g&&lB(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.pubads?a.g.googletag.pubads():null};
mB=function(a){a.l&&(a.l.stop(),a.l.Aa("tick",a.GB,!1,a),a.l.dispose(),a.l=null)};
qB=function(a){if("retrieved"!=a.o&&"not_available"!=a.o&&null!==hB(a)){var b=hB(a);if(null!==b&&g.Aa(b.getDisplayAdsCorrelator))try{var c=g.E(b.getDisplayAdsCorrelator())}catch(f){c=null}else c=null;switch(c){case "not_loaded":case "not_available":a.o=c;break;default:c=Number(c),(0,window.isNaN)(c)?a.o="not_available":(a.C=c,a.o="retrieved")}}(c=nB(a))||(c=oB(a)&&"not_available"==a.o);if(c){if(!a.H&&oB(a)){try{if(null==a.g)var d=[];else{var e=a.g.googleGetCompanionAdSlots();d=(0,g.G)(e,a.mU,a)}}catch(f){d=
[]}a.D=d;a.H=!0}a.he=!0;mB(a);nB(a)?a.dispatchEvent(new $A("companions_success")):pB(a)}else a.l||(a.A=(0,g.F)()+15E3,a.l=new g.ug(100),a.l.U("tick",a.GB,!1,a),a.l.start())};
nB=function(a){return oB(a)&&"retrieved"==a.o};
oB=function(a){a.B||(lB(a),a.B=null!=a.g&&null!=a.g.googleGetCompanionAdSlots);return a.B};
lB=function(a){var b=g.ce(a.F);try{a.g=eB([b,b.top])}catch(c){a.g=null}};
pB=function(a){a.dispatchEvent(new $A("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
uia=function(a,b,c){var d=new bB(b,!0);d.Mb()?rB(a,c,b):rf(d,"ifload",g.Ea(function(a){rB(this,c,a)},b),!1,a)};
rB=function(a,b,c){a.dispatchEvent(new $A("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.sf(d,"click",(0,g.z)(a.FP,a,b),!1,a)};
sB=function(){g.Gf.call(this);this.o=[]};
tB=function(){return new Es("empty-ad","GDFP","GDFP","",0,[],[],[],[],new g.Fm)};
uB=function(a){sB.call(this);this.g=a;this.F=this.Ua=null;this.D=!1;this.A=null;this.B=new g.an;cn(this.B,this.g,["companions_success","companion_initialization_failed"],this.qS,this);cn(this.B,this.g,"companion_display_error",this.HP,this);cn(this.B,this.g,["companion_slot_init","companion_click"],this.DP,this);this.g.he?this.D=!0:this.g.initialize()};
wB=function(a){var b=a.A;a.A=null;if(null!=a.g)if(g.Ra(a.o))vB(a,Error("Companion slots not available."));else if(null!=b){var c=via(a,b);a.g.Bd(a.o);if(0<c.length&&b.za){a=a.g;var d;if(d=0!=c.length)d=bt(b),d="GDFP"==(Xs(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].H);b=b.o;c=hB(a);if(null!==c){gB(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else vB(a,Error("Invalid master ad."))};
vB=function(a,b){a.dispatchEvent(new pp("companion_display_error",b))};
via=function(a,b){var c=[],d=[];(0,g.B)(a.o,function(a){sp(a);(0,g.Ej)(a.F,function(d){a:{d=gt(b,d.width,d.height);if(!g.Ra(d)&&(d=wia(d,c),null!=d)){var e=d.o;if(null!=e&&0!=a.H.indexOf(e)){d=!1;break a}e=d.g.K;Za(e,Ts(b,"companionClick"));var f=Ts(b,"companionImpression"),k=O.g()&&"Html"==d.g.L&&d.A;c.push(d);if(k)rp(a,d.zc(),d.Ab(),d.getHeight(),f);else{k=d.kd();var q=d.Ab(),r=d.getHeight();d="IFrame"!=d.g.L;a.D=k;a.A=null;a.o=q;a.g=r;a.l=d;a.B=f||[];a.C=e||[]}d=!0;break a}d=!1}return d},this)||
d.push(a)},a);
var e=xB(b);a.C=yB(e,c);a.C||(0,g.B)(a.o,function(a){sp(a)},a);
return d};
yB=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.l?xia(c,b):"any"==a.l?yia(c,b):!0};
xB=function(a){return null==a||null==a.g||(0,window.isNaN)(a.g.g)?null:g.Ma(pt(a,!0),function(a){a=a.g;return g.Ra(a)?!1:(0,window.isNaN)(a[0].g.g)?!1:a[0].g.g==$o(a[0])})};
xia=function(a,b){return(0,g.tm)(a,function(a){return g.Qa(b,a)})};
yia=function(a,b){return(0,g.Ej)(a,function(a){return g.Qa(b,a)})};
wia=function(a,b){return g.Ma(a,function(a){return!g.Qa(b,a)})};
zB=function(a,b){this.A=a;this.l=b;this.g=this.Ua=null};
zia=function(a){var b=[],c=os(a,"vmap:Extensions")[0];if(c){var d;rs(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)});
if(d&&(b=os(d,"yt:BreakTime"),!g.Ra(b)))return(0,g.G)(b,function(a){return ps(a,"timeOffset")})}return[ps(a,"timeOffset")]};
Aia=function(a,b){return(0,g.G)(b,function(a){var b=new Rz(a.l.clone());b.isBumper=a.isBumper;b.g=a.g;return b},a)};
Bia=function(a){return(a=g.Ma(g.Md(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.Ma(g.Md(a),function(a){return"VAST"==a.nodeName}):null};
Cia=function(a){var b=null,c=!1;a=g.Ma(a,g.Ea(AB,"type","youtube"));null!=a&&(a=(0,g.Ld)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName}),g.Ra(a)||(a=a[0],a.hasAttribute("break_type")&&(b=hea(a.getAttribute("break_type"))),En().g("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=vs(c))));
return{breakType:b,bn:c}};
AB=function(a,b,c){return ps(c,a)==b};
Eia=function(a,b){if(null!=a){if(null!=a){var c=g.Od(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return Nx(),new Uz(a,b);null!=a?(c=g.Od(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return Nx(),new zB(a,b);if(Qw(a)){if(!Qw(a))throw Wn(Xz);c=g.Od(a);var d=Tw(c);if(1>d||4<d)throw Wn(Dia);c=os(c,"Ad");if(g.Ra(c))throw Wn(BB);c=Uw(c[0]);if(null==c)throw Wn(CB);if(1!=os(c,"AdSystem").length)throw Wn(CB);return new Pw(a)}}return null};
Fia=function(a){a=(0,g.Ld)(a,function(a){return 0<dt(a)});
g.ib(a,function(a,c){return dt(a)-dt(c)});
return a};
Gia=function(a){return(0,g.Ld)(a,function(a){return-1==dt(a)})};
mr=function(a){this.zf=a};
Hia=function(){this.Ua=null;this.g=0};
Iia=function(a,b,c,d,e,f,k){var l=(0,g.z)(function(a){d(a,Error(kx(a)))},a),m=(0,g.z)(function(a){6==a?DB(this,b,!1,c,l,e,f,k):l(a)},a);
DB(a,b,!0,c,m,e,f,k)};
DB=function(a,b,c,d,e,f,k,l){var m=new g.tx;m.F=c;ux(m,Jia(f));var n=new g.an,q=(0,g.z)(function(){n.dispose();m.dispose()},a);
c=(0,g.z)(function(){e(m.l);q()},a);
fn(n,m,"success",function(){try{var a=m.g?m.g.responseXML:null}catch(I){a=null}if(null==a){var b=g.Dx(m);try{a=g.js(b)}catch(I){a=hs("parsererror")}}d(a);q()},a);
fn(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.Lm(b);var r=b.g.toString();Qm(b,"");b=b.toString()}O.g()&&"POST"!=k&&(r=Kia(b,k),b=r.url,k=r.jU,r=r.content);a.g=(0,g.F)();m.send(Ln(b),k,r,l)};
Kia=function(a,b){var c=new YA;c.g=a;if(Dr(c)){c=new g.Lm(a);var d=c.g.get("post_data");if(g.t(d)){b="POST";c.g.remove("post_data");a=c.toString();var e=d}}return{url:a,jU:b,content:e}};
EB=function(a,b){this.l=a;this.o=b};
FB=function(a,b){"auto"!=a.l.Ii&&"click"!=a.l.Ii||b.set("vpa",a.l.Ii)};
GB=function(a){g.D(O.getPlayerType())||(a.set("mpt",O.getPlayerType()),g.D("")||a.set("mpv",""))};
HB=function(a,b){var c=a.o.C,d=a.o.l;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.l.I;null!=c&&b.set("mv",c+"."+(a.l.H||""))};
IB=function(a,b){var c=2,d=gi&&gi.g?!1:0===fj();!ul()&&d&&(c|=2048);b.set("osd",c);-1!=a.o.K&&b.set("frm",a.o.K);c=a.o.Y;null!=c&&b.set("ms",c);b.set("sdr",1)};
JB=function(a){return O.l?"h.3.0.0":null!=a.o?Io(a.o):null};
KB=function(){this.g=["video"]};
LB=function(a,b){a.set("sz",Math.max(null!=b.qj?b.qj:0,null!=b.cf?b.cf:0)+"x"+Math.max(null!=b.pj?b.pj:0,null!=b.bf?b.bf:0))};
NB=function(a){var b={};hi(b);for(var c in b)a.set(c,b[c]);a.set("dt",MB)};
OB=function(a){if(a.gc&&a.gc.LACT){var b=a.gc.LACT.toString();if(b)return Hb(b)}return a.C};
PB=function(a){return O.g()&&a.gc&&a.gc.VIS?a.gc.VIS.toString():null};
VB=function(a,b,c){var d=new g.Fm;d.set("ad_type",b.adType);cp&&d.set("flash",QB);LB(d,a);RB(b)&&(d.set("ea","0"),null!=a.cf&&null!=a.bf&&d.set("image_size",SB(b,a.cf,a.bf,a.aj)));TB(d,c);d.set("lact",OB(a));(b=PB(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.Ip);NB(d);UB(a,d,!0);return d};
UB=function(a,b,c){g.D(g.E(a.referrer))||(a=a.referrer,c&&(a=g.pb(a)),WB("ref",a,b))};
ZB=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.B)(a,function(a){if(!g.Vb(Lia,a))throw Wn(Xo,null,"ad_type",String(b));});
if(c){var d=[];(0,g.B)(a,function(a){g.Qa(XB,a)||d.push(a)});
a=d}c=g.Qa(a,"video");var e=g.Qa(a,"skippablevideo");!io()||O.g()||Mo(Jo.getInstance(),53,{playsInline:!1,iOS_version:io()?qo(ko):"",wv:(Jb("iPad")||Jb("iPhone"))&&!ic()&&!hc()&&!Jb("Coast")&&Jb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=Dn();if(!to()){d=[];(0,g.B)(a,function(a){"video"==a?(d.push("standardvideo"),!O.g()&&Gn(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)});
if(0==d.length)throw Wn(YB,null,"skippablevideo");a=d}return a};
$B=function(a,b){return null!=b?b.split(/[+, ]/):a};
SB=function(a,b,c,d){a.l&&(c=Math.min(c,90));var e=0,f=0;a=!O.g();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.B)(Mia,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(",")};
aC=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)};
bC=function(a,b){return null!=b?String(b):null!=a?a:null};
cC=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};
dC=function(a,b,c){return null!=b&&g.Vb(c,b)?b:a};
RB=function(a){return(0,g.Ej)(XB,function(b){return g.Qa(a.g,b)})};
TB=function(a,b){cp?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.o;null!=c&&0<c.length&&(c=c[0].F,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))}};
WB=function(a,b,c){null!=b&&c.set(a,b)};
fC=function(a,b,c){EB.call(this,a,b);var d=new KB,e=(new g.Lm(a.g)).g;d.Kr=dC(d.Kr,e.get("cust_age"),Nia);d.ym=dC(d.ym,e.get("adsafe"),eC);d.g=ZB(d.g,e.get("ad_type"));d.adType=d.g.join("_");d.Up=aC(d.Up,e.get("videoad_start_delay"));d.Vp=bC(d.Vp,e.get("slotname"));d.Jr=cC(d.Jr,e.get("adtest"))||"on"==e.get("adtest");d.Xp=cC(d.Xp,e.get("scs"));d.Yp=bC(d.Yp,e.get("alternate_ad_url"));d.channels=$B(d.channels,e.get("channel"));d.yq=aC(d.yq,e.get("cpm"));d.zk=bC(d.zk,e.get("description_url"));d.experimentIds=
bC(d.experimentIds,e.get("eid"));d.gender=dC(d.gender,e.get("cust_gender"),Oia);d.l=cC(d.l,e.get("overlay"));d.host=bC(d.host,e.get("host"));d.o=$B(d.o,e.get("h_ch"));d.hostTierId=aC(d.hostTierId,e.get("ht_id"));d.isLiveStream=cC(d.isLiveStream,e.get("lsv"));if(null!=this.l.language)var f=this.l.language;else f=g.w.navigator||null,f=tn(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=bC(k,f);var l;null!=f&&!g.D(g.E(f))&&(l=tn(f));
d.language=bC(d.language,l);d.Iy=aC(d.Iy,e.get("linearAdSlotWidth"));d.Hy=aC(d.Hy,e.get("linearAdSlotHeight"));d.ao=aC(d.ao,e.get("max_ad_duration"));d.ys=aC(d.ys,e.get("min_ad_duration"));d.bo=aC(d.bo,e.get("sdmax"));d.Ky=aC(d.Ky,e.get("nonLinearAdSlotWidth"));d.Jy=aC(d.Jy,e.get("nonLinearAdSlotHeight"));d.Pj=bC(d.Pj,e.get("client"));d.Ho=bC(d.Ho,e.get("t_pyv"));l=e.get("sdki");d.So=aC(d.So,g.v(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=aC(d.tagForChildDirectedTreatment,e.get("tfcd"));
d.Do=bC(d.Do,e.get("pucrd"));d.targeting=dC(d.targeting,e.get("targeting"),Pia);d.Nn=aC(d.Nn,e.get("video_format"));d.Mu=aC(d.Mu,e.get("video_cpm"));d.Lr=bC(d.Lr,e.get("loeid"));d.Su=bC(d.Su,e.get("yt_pt"));d.Pu=bC(d.Pu,e.get("ytdevice"));d.Qu=bC(d.Qu,e.get("ytdevicever"));d.Ru=bC(d.Ru,e.get("dbp"));d.A=bC(d.A,e.get("ms"));d.adBlock=aC(d.adBlock,e.get("adBlock"));d.url=bC(d.url,e.get("url"));d.fq=bC(d.fq,e.get("avo"));d.Lu=bC(d.Lu,e.get("v_p"));d.UJ=a.B;d.VJ=a.A;d.contentTitle=a.contentTitle;d.Gp=
aC(d.Gp,e.get("ad_block"));d.zm=bC(d.zm,e.get("adsid"));this.g=d;this.F=b;this.I=c;g.D(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),Bn(Dn(),a))};
Ria=function(a){return(0,g.Ej)(Qia,function(a){return g.Qa(this.g.g,a)},a)};
gC=function(a){return O.g()?1:g.Qa(a.g.adType.split("_"),"text")?3:1};
Sia=function(a){a=a.g.channels?a.g.channels:[];cb(a);return a.join("+")};
hC=function(a,b){return Math.round(1.1*(a||0)+0*b)};
iC=function(a,b){EB.call(this,a,b)};
jC=function(a,b){EB.call(this,a,b)};
kC=function(a){EB.call(this,a,null)};
lC=function(a){EB.call(this,a,null)};
mC=function(a,b){EB.call(this,a,b);O.g()&&(this.o.A=Fo())};
Tia=function(a){var b=[];(0,g.B)(a,function(a){0<a.length&&b.push((0,g.G)(a,function(a){return a.width+"x"+a.height}).join("|"))});
return b.join(",")};
nC=function(a,b,c){mC.call(this,a,b);b=Dn();this.H=g.D(g.E(a.o));a=new KB;a.g=ZB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=bC(a.experimentIds,this.l.F);this.g=a;this.F=c;g.D(g.E(this.g.experimentIds))||Bn(b,this.g.experimentIds.split(","))};
Uia=function(a){var b=VB(a.l,a.g,a.F);b.set("sdkv",JB(a));b.set("sdki",a.C().toString(16));return b};
Via=function(a,b){var c=Uia(a),d=(0,g.G)(c.zb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
g.Um(b,"afvparams",d.join("&"))};
oC=function(a,b,c){EB.call(this,a,b);Dn();this.H=g.D(g.E(a.o));a=new KB;a.g=ZB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=bC(a.experimentIds,this.l.F);this.g=a;this.F=c;g.D(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),c=Dn(),Bn(c,a))};
Wia=function(a){var b=VB(a.l,a.g,a.F);b.set("sdkv",JB(a));return b};
Xia=function(a,b){var c=Wia(a),d=(0,g.G)(c.zb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
vr(b,"afvparams",[g.pb(d.join("&"))])};
pC=function(a,b){EB.call(this,a,b)};
qC=function(a,b,c){a=new g.Lm(g.kn(a.l.g,Yia(a,b,c)));g.Mm(a,"https");return a};
Yia=function(a,b,c){if(null==a.l||null==a.l.gc)return{};var d={},e=a.l.gc;(0,g.B)(Zia,function(a){a in e&&(d[a]=e[a])});
(a=$ia(a,e.DESCRIPTION_URL))&&(d.AD_BLOCK=a);b&&(d.BISCOTTI_ID=b);c&&(d.ANID=c);return d};
$ia=function(a,b){return null!=b?xo(Ho(a.o),b):null};
aja=function(a,b){if(!Ar(a.g)&&!Br(a.g)||g.D(g.E(a.o))||null==a.g||-1==a.g.search("afvbase="))if(Ar(a.g))var c=new jC(a,Ko);else yr(a.g)?c=new fC(a,Ko,b):Br(a.g)?c=new mC(a,Ko):zr(a)?c=new iC(a,Ko):(c=a.g,null!=c?(c=(new g.Lm(c)).l,c=ob(c,".fwmrm.net")):c=!1,c=c?new kC(a):Dr(a)?new pC(a,Ko):new lC(a));else c=Ar(a.g)?new oC(a,Ko,b):new nC(a,Ko,b);return c};
rC=function(a,b,c,d,e){this.B=a;this.o=b;this.A=c;this.g=d;this.C=e;this.Ua=null};
bja=function(a,b,c,d){if(b.l instanceof window.Document)var e=b.l;else try{e=g.js(b.l)}catch(f){d(Wn(Xz,f));return}null!=e?sC(a,e,b,c,d):d(Wn(Xz))};
tC=function(a,b,c,d){var e;if(e=null!=b.g){a:{try{qb(b.g)}catch(f){e=!1;break a}e=!0}e=!e}e?d(Wn(cja,null,b.g)):O.I?wea(Ro(),(0,g.z)(a.l,a,b,c,d)):a.l(b,c,d)};
vC=function(a,b,c,d,e,f){b=tea(b,f);f=c.Iu&&In(dja,b)?"POST":"GET";var k=Cr(b)?c.D:void 0;Iia(a.o,b,(0,g.z)(function(a){sC(this,a,c,d,e)},a),(0,g.z)(function(a,b){var d=8==a?Wn(hr):5==a||6==a?Wn(eja):Wn(uC,b);
e(d);d="third_party";yr(c.g)?d="adsense":Ar(c.g)?d="dart":Br(c.g)&&(d="xfp");d={rt:d,ec:a};Mo(Jo.getInstance(),18,d,!0)},a),a.C,f,k);
fja(c)};
fja=function(a){var b="third_party";yr(a.g)?b="adsense":Ar(a.g)?b="dart":Br(a.g)?b="xfp":zr(a)&&(b="dbm");a={rt:b};Mo(Jo.getInstance(),17,a,!0)};
sC=function(a,b,c,d,e){try{var f=Eia(b,c);if(!f)throw Wn(Xz);var k=f.o();gja(a,k,c,d)}catch(l){l instanceof wn?e(l):e(Wn(hja,l))}};
gja=function(a,b,c,d){var e=b.zf;if(null!=e)d(new mr(e));else{e=b.l;if(null==e)throw Wn(BB);(0,g.B)(e,function(a){a.o=c;var d=rn();d&&sn(d,"useCompanionsAsEndSlate")&&(a.K=mga(a));d=[];var e=a.getExtension("InfoCards");if(null!=e){e=e.o?e.o:new Vv;for(var f=0;f<Uv(e,"card");f++)d.push(new Wv(Sv(e,"card",f)))}a.B=d;a.Y=iga(a.B);a.Ma=this.o.g;O.g()&&(a.Ca=b.g)},a);
var f=Fia(e),k=Gia(e),l;0<k.length&&0<=ct(k[0])?l=new rr(k,c,a,a.B):l=new gr(f,k,c,a);(0,g.B)(e,function(a){a.da=l});
d(l)}};
wC=function(a){this.g=a+(0,g.F)()};
Jia=function(a){var b=(0,g.F)();a=a.g-b;return 0<a?a:0};
xC=function(a,b){this.C=a;this.A=b;this.B=null;this.l=new g.an(this);this.o=this.g=null;this.F=!1;this.Ua=null};
ija=function(a){if(null===a.B)yC(a);else{var b=new g.Lm(a.B.g),c=g.E(b.g.get("vid"));b=g.E(b.g.get("cmsid"));var d=a.A.H,e=a.A.D;a.A.H=c;a.A.D=b;if(g.D(g.E(c))||g.D(g.E(b)))yC(a);else if(c==d&&b==e)yC(a);else{var f=a.C.Sh();jB(f,c,b);tia(f,a.B);a.o=new g.ug(100);cn(a.l,a.o,"tick",function(){a:{var a=iB(f);if(null!=a)try{var b=!1!==a.isAdRequestFinished();break a}catch(m){b=!0;break a}b=!1}b&&yC(this)},a);
a.o.start()}}};
jja=function(a){a.g=new g.ug;fn(a.l,a.g,"tick",function(){yC(this)},a);
a.g.setInterval(1E3);a.g.start()};
yC=function(a){null!=a.l&&(a.l.dispose(),a.l=null);null!=a.g&&(a.g.stop(),a.g=null);null!=a.o&&(a.o.stop(),a.o=null);a.F=!0;null===a.D||a.D()};
kja=function(a,b){this.g=a;this.l=b;this.Ua=null;O.l&&jp().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}Ko.K=c};
lja=function(a,b,c,d){if(O.g()){var e=b.Hp;e&&lea(Dn(),e);jp()&&Fea()}e=null;null==a.g||O.g()||(e=new xC(a.g,a.l));var f=xfa(b);null!=f&&wfa(b)&&(a.l.Y=f);f=8E3;!O.g()&&Gn(Dn(),41351074)?f=5E3:!O.g()&&Gn(Dn(),41351075)&&(f=2E3);(new rC(a.l,new Hia,a.g,e,new wC(f))).fetch(b,(0,g.z)(function(a){a instanceof mr?c(a):kr(a,c,d)},a),d)};
g.zC=function(){this.g=[];this.l=[]};
AC=function(a){g.Ra(a.g)&&(a.g=a.l,a.g.reverse(),a.l=[])};
g.BC=function(a,b){a.l.push(b)};
g.CC=function(a){AC(a);return a.g.pop()};
DC=function(a){AC(a);return g.Ja(a.g)};
mja=function(a){this.Za=a;this.g=new g.zC;this.Sf=!1;this.Ua=null};
FC=function(a,b,c,d){var e=(0,g.z)(function(a){c(a);g.CC(this.g);this.Sf=!1;EC(this)},a),f=(0,g.z)(function(a){d(a);
g.CC(this.g);this.Sf=!1;EC(this)},a);
g.BC(a.g,(0,g.z)(function(){lja(this.Za,b,e,f)},a));
EC(a)};
EC=function(a){if(!a.Sf){var b=DC(a.g);null!=b&&(a.Sf=!0,b())}};
GC=function(a,b,c){g.Gf.call(this);this.Za=new mja(new kja(b,c));this.o=a;this.l=b;this.g=!0;this.A=c;this.Ua=null};
nja=function(a,b,c){if(a.g){var d=null!=c?c:{};mha(Mx.getInstance(),b.g);FC(a.Za,b,(0,g.z)(function(a){HC(this,a,d)},a),(0,g.z)(function(a){IC(this,a,d)},a))}};
Zha=function(a,b,c){if(!a.g){var d=null!=c?c:{};FC(a.Za,b,(0,g.z)(function(a){HC(this,a,d)},a),(0,g.z)(function(a){IC(this,a,d)},a))}};
HC=function(a,b,c){if(a.g)if(b instanceof mr)b=new JC(b.zf,a,a.o.Ow),b.Bg(a.l),a.dispatchEvent(new WA(b,c));else try{var d=Oz(a.o,b);d.Bg(a.l);a.dispatchEvent(new WA(d,c,0<b.length?b[0].Ca:null))}catch(e){IC(a,Wn(KC,null),c)}else b instanceof mr?IC(a,Wn(oja,null,"Unsupported ad format."),c):(d=new vn("adsLoaderSdkAdLoaded"),d.A=b,d.o=c,a.dispatchEvent(d))};
IC=function(a,b,c){a.g?("always"==O.A&&null!=a.l&&a.l.Bd(tB()),a.dispatchEvent(new pn(b,c))):(c=new vn("adsLoaderSdkAdError"),c.g=b,a.dispatchEvent(c))};
LC=function(a,b){this.I=a;this.N=new g.Fm;this.L=15E3;this.C=g.J("SPAN");qz.call(this,a[0],b);this.g.appendChild(this.C)};
MC=function(a,b){qz.call(this,a[0],b);this.A=a;g.R(this.g,"ima-container-stack")};
NC=function(a){tz.call(this,a);this.C=!1;this.l=this.A=null;this.F=!1};
OC=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.B;b=b.C;a={text:null!=c?c:a.H.B,url:null!=b?b:a.H.C};null==a.text&&(c=""+Ha("Ads by Google"),c=Ep(c),a.text=c);return a};
PC=function(a){return a.fb()&&rt(a.ka())};
pja=function(a){var b=QC(a);b.rba=a.B;Mo(Jo.getInstance(),37,b)};
QC=function(a){var b=[],c=[];(0,g.B)(a.A,function(a){b.push(a.Ab()+"x"+a.getHeight());c.push(a.ld())},a);
var d={};d.pid=Mx.getInstance().g;d.fsmode=null!=a.l;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.Vc;return d};
RC=function(a,b){if(a.l){a.Gn(new g.ef("close"));var c={};c.pid=Mx.getInstance().g;c.evt=b;Mo(Jo.getInstance(),35,c)}};
SC=function(a,b){g.K.call(this);this.A=a;this.g=-1;this.o=b};
TC=function(a,b){SC.call(this,a,b)};
JC=function(a,b,c){Uu.call(this,[]);this.zf=a;this.yb=new g.Fm;this.Rb=this.ob=null;this.Ow=c;this.Bk=new g.zC;this.Pd=null;this.Za=b;this.Wp=this.Wm=!1;this.ii=null;this.Qe=0;this.be=this.ce=-1;this.jd=null;this.Xt=0;this.Ua=null;this.Ak=!1};
rja=function(a,b){if(null!==a.Ea){var c=1;a.Qe=0;var d=new gy;(0,g.B)(b,function(a){if((0,window.isNaN)(a))throw Wn(Wz,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.zf;if((0,window.isNaN)(a)||!g.ua(a))throw Error("Incorrect time offset.");Hm(b.g,a)&&b.g.remove(a)}else if(b=g.ua(a)&&!(0,window.isNaN)(a)?this.zf.g.get(a,[]):[],!g.Ra(b)){this.Qe+=b.length;var e=0==a||-1==a?a:c++;b=new xz(b,a,e,this.Za,this.Ea,this.La,this.Od);if(d.contains(a))throw Wn(qja,null,"Multiple ad breaks cannot share same ad play time.");
this.yb.set(g.Da(b),b);d.add(a)}},a)}};
sja=function(a,b){a.ii=g.Ja(b);(0,g.Ej)(b,function(a){if(-1==a)return this.ii=a,!0;this.ii=this.ii<a?a:this.ii;return!1},a)};
WC=function(a,b){a.Ak=!1;a.Wi(b);0==b.yc?a.Zf():(-1==b.yc?(UC(a)||!O.g()&&a.Wm)&&VC(a):dA(a.Rb),a.Pd=null)};
tja=function(a){if(null!=a.Rb){XC(a);var b=a.Sa();cn(b,a.Rb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);cn(b,a.Rb,"adBreakReady",a.IO,a);cn(b,a.Rb,"adNotify",a.Cl,a);cn(b,a.Rb,"discardAdNotify",a.El,a);cn(b,a.Za,"contentComplete",a.JP,a);a.Za.g=!1}};
XC=function(a){null!=a.Zb&&(a.Zb.dispose(),a.Zb=null);a.Wm=!1;null!=a.Rb&&a.Rb.Sc()};
YC=function(a){if(null==a.Pd){var b=g.CC(a.Bk);if(null!=b){a.Pd=b;var c=a.yb.get(a.Pd.g);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.Pd=null,YC(a);else if(null!=a.jd&&a.jd.l(c))a.Pd=null,YC(a);else if("requestAds"==b)a.Ak?(a.Bk.isEmpty()||"playAds"!=DC(a.Bk).type||g.CC(a.Bk),WC(a,c)):0==c.yc&&a.dg()||ZC(a,c);else{if("playAds"==b)if(a.Ak)WC(a,c);else if(null!=a.ob&&a.ob.gb()&&a.Wi(a.ob),a.ob=c,a.ob.setVolume(a.volume),yz(a.ob,a.ce,a.be,a.Vc),a.ob.L&&a.Pd.l<a.Xt){c=a.ob;if(c.l<c.o.length){b=
c.o[c.l];Hz(c);try{c.F=new g.an(c),c.g=Iz(c,b,c.F)}catch(e){c.l++,Mz(c)}}c=a.Rb;b=a.Xt;var d=new bA(a.ob);d.g=b;d.l=!0;g.kb(c.g,d,cA);a.ga("contentResumeRequested");a.Pd=null;YC(a)}else a.ob.start()}else a.Pd=null,YC(a)}}};
ZC=function(a,b){var c=a.Sa();cn(c,b,ez,a.dispatchEvent,a);cn(c,b,"adError",a.Fx,a);cn(c,b,"allAdsCompleted",a.XA,a);cn(c,b,"contentPauseRequested",a.ph,a);cn(c,b,"contentResumeRequested",a.Zf,a);cn(c,b,"userClose",a.ti,a);cn(c,b,"why_this_ad_url",a.Qt,a);cn(c,b,"why_this_ad_got_it",a.Pt,a);cn(c,b,"autoClose",a.si,a);cn(c,b,"adBreakInitialized",a.YA,a);b.init(a.ce,a.be,a.Vc)};
VC=function(a){if(!a.Wp){a.Wp=!0;a.Za.g=!0;try{Mo(Jo.getInstance(),44,{cmpl:!0})}catch(b){}a.ga("allAdsCompleted");-1==a.ii&&$C(a)}};
$C=function(a){Gn(Dn(),420706009)||Ko.clear();null!=a.Od&&(a=a.Od.Sh(),null!=a&&kB(a,Ko.g))};
UC=function(a){return 0==a.yb.sb().length};
aD=function(a){return null!=a.ob?a.ob:null!=a.Pd?a.yb.get(a.Pd.g):null};
uja=function(){this.Ow=new jia;this.Ua=null};
Oz=function(a,b){if(g.Ra(b))throw Error("Ads manager creation failure, no ads.");if(vja(a,b)){var c=wja(a,b);if(!g.Ra(c))return new lz(c)}c=jz(b);O.g()||(c=c&&null!=ft(b[0])?new iz(a,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
wja=function(a,b){var c=[];(0,g.B)(b,function(a){var b=jz([a]);b&&a.Tb()&&g.Ta(c,b)},a);
return c};
jz=function(a){var b=a[0];switch(bD(b)){case "overlay":return mt(b)?new NC(a):new tz(a);case "video":return new iy(a);case "vpaid":return new Uy(a);case "flash_vpaid":return 2==O.D?new Yw(a):new dx(a)}return null};
vja=function(a,b){if(1==b.length)return!1;var c=bD(b[0]);return(0,g.Ej)(b,function(a){a=bD(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)};
bD=function(a){var b=Is(a)&&O.g();b=0!=O.D||b;return null!=wt(a)&&b?"vpaid":cp&&null!=xt(a)&&0!=O.D?"flash_vpaid":mt(a)&&null==wt(a)&&qt(a,"nonlinear")?"overlay":qt(a,"linear")?"video":qt(a,"nonlinear")&&null==wt(a)?"overlay":null};
cD=function(a){g.Gf.call(this);this.l=a;a=new uB(new dB);this.g=new GC(new uja,a,Ko);this.g.U("adsManagerLoaded",this.dispatchEvent,!1,this);this.g.U("adError",this.dispatchEvent,!1,this);this.g.U("adLoadError",this.dispatchEvent,!1,this)};
dD=function(a,b,c){mea();var d="",e=Bi(),f=e.l;e=e.g;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.Se=mn(b.g,a.l.F);b.tu=a.l.K;nja(a.g,b,c)};
eD=function(a,b,c,d,e,f,k,l){this.g=a;this.D=b;this.o=c;this.B=d;this.A=e;this.C=f;this.l=k;this.F=l};
fD=function(a,b){if(0==b)return a.g;if(1==b)return a.l;var c=ed(a.g,a.o,b),d=ed(a.o,a.A,b),e=ed(a.A,a.l,b);c=ed(c,d,b);d=ed(d,e,b);return ed(c,d,b)};
xja=function(a,b){var c=(b-a.g)/(a.l-a.g);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=fD(a,c);var l=(fD(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=fD(a,c);return c};
gD=function(){this.g=this.o=this.A=5E3};
g.hD=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.eh(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.iD=function(a){g.K.call(this);this.oc=1;this.o=[];this.A=0;this.g=[];this.l={};this.B=!!a};
yja=function(a,b,c){g.Uf(function(){a.apply(b,c)})};
g.jD=function(a){this.g=a};
kD=function(a){this.g=a};
lD=function(a){this.data=a};
mD=function(a){return!g.t(a)||a instanceof lD?a:new lD(a)};
nD=function(a){this.g=a};
g.oD=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.F)()||!!b&&b>(0,g.F)()};
g.pD=function(a){this.g=a};
zja=function(){};
qD=function(){};
rD=function(a){this.g=a};
sD=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
tD=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
vD=function(a,b){this.l=a;this.g=null;if(g.yd&&!g.tc(9)){uD||(uD=new g.Fm);this.g=uD.get(a);this.g||(b?this.g=window.document.getElementById(b):(this.g=window.document.createElement("userdata"),this.g.addBehavior("#default#userData"),window.document.body.appendChild(this.g)),uD.set(a,this.g));try{this.g.load(this.l)}catch(c){this.g=null}}};
wD=function(a){return"_"+(0,window.encodeURIComponent)(a).replace(/[.!~*'()%]/g,function(a){return Aja[a]})};
xD=function(a){try{a.g.save(a.l)}catch(b){throw"Storage mechanism: Quota exceeded";}};
yD=function(a){return a.g.XMLDocument.documentElement};
zD=function(a,b){this.l=a;this.g=b+"::"};
g.AD=function(a){var b=new sD;return b.isAvailable()?a?new zD(b,a):b:null};
BD=function(a,b){this.oc=a;this.g=b};
CD=function(a){this.g=[];if(a)a:{if(a instanceof CD){var b=a.zb();a=a.sb();if(0>=this.Ac()){for(var c=this.g,d=0;d<b.length;d++)c.push(new BD(b[d],a[d]));break a}}else b=g.Rb(a),a=g.Qb(a);for(d=0;d<b.length;d++)DD(this,b[d],a[d])}};
DD=function(a,b,c){var d=a.g;d.push(new BD(b,c));b=d.length-1;a=a.g;for(c=a[b];0<b;)if(d=b-1>>1,a[d].oc>c.oc)a[b]=a[d],b=d;else break;a[b]=c};
ED=function(){CD.call(this)};
Bja=function(a,b,c){var d="script";d=void 0===d?"":d;var e=a.createElement("link");e.rel="preload";e.href=ub("preload","stylesheet")?Cc(b):b instanceof Bc?Cc(b):b instanceof Gc?g.Hc(b):Lc(b).Fe();d&&(e.as=d);c&&(e.nonce=c);if(a=a.getElementsByTagName("head")[0])try{a.appendChild(e)}catch(f){}};
FD=function(a){return Cja.test(a)&&!Dja.test(a)};
Eja=function(a){a="https://"+("adservice"+a+"/adsid/integrator.js");var b=["domain="+(0,window.encodeURIComponent)(g.w.location.hostname)];GD[3]>=(0,g.F)()&&b.push("adsid="+(0,window.encodeURIComponent)(GD[1]));return a+"?"+b.join("&")};
JD=function(){HD=g.w;GD=HD.googleToken=HD.googleToken||{};var a=(0,g.F)();GD[1]&&GD[3]>a&&0<GD[2]||(GD[1]="",GD[2]=-1,GD[3]=-1,GD[4]="",GD[6]="");ID=HD.googleIMState=HD.googleIMState||{};FD(ID[1])||(ID[1]=".google.com");g.ya(ID[5])||(ID[5]=[]);g.ta(ID[6])||(ID[6]=!1);g.ya(ID[7])||(ID[7]=[]);g.ua(ID[8])||(ID[8]=0)};
KD=function(){JD();return GD[1]};
Fja=function(a){JD();var b=HD.googleToken[5]||0;a&&(0!=b||GD[3]>=(0,g.F)()?LD.ww(a):(LD.Jx().push(a),LD.au()));GD[3]>=(0,g.F)()&&GD[2]>=(0,g.F)()||LD.au()};
MD=function(a){g.w.processGoogleToken=g.w.processGoogleToken||function(a,c){var b=a,e=c;b=void 0===b?{}:b;e=void 0===e?0:e;var f=b.newToken||"",k="NT"==f,l=(0,window.parseInt)(b.freshLifetimeSecs||"",10),m=(0,window.parseInt)(b.validLifetimeSecs||"",10),n=b["1p_jar"]||"";b=b.pucrd||"";JD();1==e?LD.PT():LD.OT();if(!f&&LD.shouldRetry())FD(".google.com")&&(ID[1]=".google.com"),LD.au();else{var q=HD.googleToken=HD.googleToken||{},r=0==e&&f&&g.v(f)&&!k&&g.ua(l)&&0<l&&g.ua(m)&&0<m&&g.v(n);k=k&&!LD.Rq()&&
(!(GD[3]>=(0,g.F)())||"NT"==GD[1]);var u=!(GD[3]>=(0,g.F)())&&0!=e;if(r||k||u)k=(0,g.F)(),l=k+1E3*l,m=k+1E3*m,1E-5>Math.random()&&fi(g.w,"https://pagead2.googlesyndication.com/pagead/gen_204?id=imerr&err="+e),q[5]=e,q[1]=f,q[2]=l,q[3]=m,q[4]=n,q[6]=b,JD();if(r||!LD.Rq()){e=LD.Jx();for(f=0;f<e.length;f++)LD.ww(e[f]);e.length=0}}};
Fja(a)};
ND=function(a,b){this.B=[];this.L=a;this.K=b||null;this.A=this.g=!1;this.o=void 0;this.H=this.N=this.D=!1;this.C=0;this.l=null;this.F=0};
PD=function(a,b,c){a.g=!0;a.o=c;a.A=!b;OD(a)};
RD=function(a){if(a.g){if(!a.H)throw new QD(a);a.H=!1}};
TD=function(a,b,c){SD(a,b,null,c)};
SD=function(a,b,c,d){a.B.push([b,c,d]);a.g&&OD(a)};
UD=function(a){return(0,g.Ej)(a.B,function(a){return g.Aa(a[1])})};
OD=function(a){if(a.C&&a.g&&UD(a)){var b=a.C,c=VD[b];c&&(g.w.clearTimeout(c.Ba),delete VD[b]);a.C=0}a.l&&(a.l.F--,delete a.l);b=a.o;for(var d=c=!1;a.B.length&&!a.D;){var e=a.B.shift(),f=e[0],k=e[1];e=e[2];if(f=a.A?k:f)try{var l=f.call(e||a.K,b);g.t(l)&&(a.A=a.A&&(l==b||a.isError(l)),a.o=b=l);if(Yf(b)||"function"===typeof g.w.Promise&&b instanceof g.w.Promise)d=!0,a.D=!0}catch(m){b=m,a.A=!0,UD(a)||(c=!0)}}a.o=b;d&&(l=(0,g.z)(a.I,a,!0),d=(0,g.z)(a.I,a,!1),b instanceof ND?(SD(b,l,d),b.N=!0):b.then(l,
d));c&&(b=new WD(b),VD[b.Ba]=b,a.C=b.Ba)};
QD=function(){Ia.call(this)};
XD=function(){Ia.call(this)};
WD=function(a){this.Ba=g.w.setTimeout((0,g.z)(this.l,this),0);this.g=a};
YD=function(a){He(this,a,Gja,null)};
ZD=function(a){He(this,a,null,null)};
Hja=function(a,b){for(;ve(b)&&4!=b.l;)switch(b.o){case 1:var c=ze(b);Ge(a,1,c);break;case 2:c=ze(b);Ge(a,2,c);break;case 3:c=ze(b);Ge(a,3,c);break;case 4:c=ze(b);Ge(a,4,c);break;default:we(b)}return a};
$D=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.bE=function(a){$D(g.aE,arguments)};
g.cE=function(a,b){return a in g.aE?g.aE[a]:b};
Ija=function(){};
eE=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.dE(b)}}:a};
g.dE=function(a,b,c,d,e){var f=g.x("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.cE("ERRORS",[]),f.push([a,b,c,d,e]),g.bE("ERRORS",f))};
fE=function(a){g.dE(a,"WARNING",void 0,void 0,void 0)};
Jja=function(){if(!gE)return null;var a=gE();return"open"in a?a:null};
g.hE=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.iE=function(a,b){g.Aa(a)&&(a=eE(a));return window.setTimeout(a,b)};
g.jE=function(a,b){g.Aa(a)&&(a=eE(a));return window.setInterval(a,b)};
g.kE=function(a){window.clearTimeout(a)};
g.lE=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=qb(e[0]||"");e=qb(e[1]||"");f in b?g.ya(b[f])?Za(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
mE=function(a){var b=[];g.Kb(a,function(a,d){var c=g.pb(d),f;g.ya(a)?f=a:f=[a];(0,g.B)(f,function(a){""==a?b.push(c):b.push(c+"="+g.pb(a))})});
return b.join("&")};
g.nE=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.lE(a)};
oE=function(a){a=a.split(",");return a=a.map(function(a){return g.nE(a)})};
g.pE=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.nE(1<a.length?a[1]:a[0])):{}};
g.zE=function(a,b){return uE(a,b||{},!0)};
g.AE=function(a,b){return uE(a,b||{},!1)};
uE=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=g.nE(e[1]||"");for(var f in b)if(c||!Ub(e,f))e[f]=b[f];return g.Ug(a,e)+d};
BE=function(a){if(!b)var b=window.location.href;var c=g.Hg(a)[1]||null,d=g.Jg(a);c&&d?(a=g.Hg(a),b=g.Hg(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.Jg(b)==d&&g.Kg(b)==g.Kg(a):!0;return a};
CE=function(){if(!a)var a=window.document.location.href;a=g.Hg(a)[1]||null;return null!==a&&"https"==a};
Kja=function(a,b){b=void 0===b?{}:b;var c=BE(a),d;for(d in DE){var e=g.cE(DE[d]),f;if((f=e)&&!(f=c)){f=d;var k=g.cE("CORS_HEADER_WHITELIST")||{},l=g.Jg(a);f=l?(k=k[l])?g.Qa(k,f):!1:!0}f&&(b[d]=e)}return b};
Lja=function(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=EE(a,b);var d=FE(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;(0,window.fetch)(a,c).then(function(a){if(!e){e=!0;f&&g.kE(f);var c=a.ok,d=function(d){d=d||{};var e=b.context||g.w;c?b.onSuccess&&b.onSuccess.call(e,d,a):b.onError&&b.onError.call(e,d,a);b.rd&&b.rd.call(e,d,a)};
"JSON"==(b.format||"JSON")&&(c||400<=a.status&&500>a.status)?a.json().then(d,function(){d(null)}):d(null)}});
b.vB&&0<b.timeout&&(f=g.iE(function(){e||(e=!0,g.kE(f),b.vB.call(b.context||g.w))},b.timeout))}else g.GE(a,b)};
g.GE=function(a,b){var c=b.format||"JSON";a=EE(a,b);var d=FE(a,b),e=!1,f,k=HE(a,function(a){if(!e){e=!0;f&&g.kE(f);var d=g.hE(a),k=null;if(d||400<=a.status&&500>a.status)k=Mja(c,a,b.t3);if(d)a:if(a&&204==a.status)d=!0;else{switch(c){case "XML":d=0==(0,window.parseInt)(k&&k.return_code,10);break a;case "RAW":d=!0;break a}d=!!k}k=k||{};var l=b.context||g.w;d?b.onSuccess&&b.onSuccess.call(l,a,k):b.onError&&b.onError.call(l,a,k);b.rd&&b.rd.call(l,a,k)}},b.method,d,b.headers,b.responseType,b.withCredentials);
b.sd&&0<b.timeout&&(f=g.iE(function(){e||(e=!0,k.abort(),g.kE(f),b.sd.call(b.context||g.w,k))},b.timeout));
return k};
EE=function(a,b){b.x3&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var c=g.cE("XSRF_FIELD_NAME",void 0),d=b.Uc;d&&(d[c]&&delete d[c],a=g.zE(a,d));return a};
FE=function(a,b){var c=g.cE("XSRF_FIELD_NAME",void 0),d=g.cE("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.Kb,k=g.cE("XSRF_FIELD_NAME",void 0),l;b.headers&&(l=b.headers["Content-Type"]);b.v3||g.Jg(a)&&!b.withCredentials&&g.Jg(a)!=window.document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.Kb&&b.Kb[k]||(f||(f={}),f[c]=d);f&&g.v(e)&&(e=g.nE(e),g.fc(e,f),e=b.hC&&"JSON"==b.hC?JSON.stringify(e):g.Sg(e));f=e||f&&!g.Yb(f);!IE&&f&&"POST"!=b.method&&(IE=!0,g.dE(Error("AJAX request with postData should use POST")));
return e};
Mja=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)?Nja(b):null)d={},(0,g.B)(b.getElementsByTagName("*"),function(a){d[a.tagName]=Oja(a)})}c&&JE(d);
return d};
JE=function(a){if(g.Ba(a))for(var b in a)"html_content"==b||ob(b,"_html")?a[b]=g.bd(g.xc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):JE(a[b])};
Nja=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Oja=function(a){var b="";(0,g.B)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.KE=function(a,b){b.method="POST";b.Kb||(b.Kb={});g.GE(a,b)};
HE=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&eE(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Jja();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof window.FormData));if(e=Kja(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.LE=function(){var a=/Chrome\/(\d+)/.exec(g.Ib);return a?(0,window.parseFloat)(a[1]):window.NaN};
OE=function(){return ME("android")&&ME("chrome")&&!NE()};
g.PE=function(){return ME("cobalt")};
QE=function(){return ME("cobalt")&&ME("; youtubevr")};
RE=function(){return ME("cobalt")&&ME("appletv")};
SE=function(){return ME("(ps3; leanback shell)")||ME("ps3")&&g.PE()};
TE=function(){return ME("(ps4; leanback shell)")||ME("ps4")&&g.PE()};
UE=function(){var a=/WebKit\/([0-9]+)/.exec(g.Ib);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
VE=function(){return ME("nintendo wiiu")};
WE=function(){return ME("iemobile")||ME("windows phone")&&ME("edge")};
NE=function(){return ME("trident/")||ME("edge/")};
XE=function(){return ME("smart-tv")&&ME("samsung")};
ME=function(a){var b=g.Ib;return b?0<=b.toLowerCase().indexOf(a):!1};
g.YE=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.PE()?a&&(a=g.Hc(g.Kc(a)),"about:invalid#zClosurez"===a?a="":(a=g.Tc(Vc(a)),a=g.pb(g.Bg(a))),g.D(a)||(a=g.J("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),g.nd(a).body.appendChild(a))):e?HE(a,b,"POST",e,d):g.cE("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?HE(a,b,"GET","",d):Pja(a,b))};
ZE=function(a){if(a)for(var b=0;b<a.length;b++)g.YE(a[b],void 0,void 0)};
$E=function(a,b,c){c=void 0===c?"":c;try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,c)?b&&b():g.YE(a,b,void 0,void 0,c)}catch(d){g.YE(a,b,void 0,void 0,c)}};
Pja=function(a,b){var c=new window.Image,d=""+Qja++;aF[d]=c;c.onload=c.onerror=function(){b&&aF[d]&&b();delete aF[d]};
c.src=a};
cF=function(a,b){var c=g.cc(b),d;return g.mg(new g.$f(function(b,f){c.onSuccess=function(a){g.hE(a)?b(a):f(new bF("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){f(new bF("Unknown request error","net.unknown",a))};
c.sd=function(a){f(new bF("Request timed out","net.timeout",a))};
d=g.GE(a,c)}),function(a){a instanceof rg&&d.abort();
return eg(a)})};
g.dF=function(a,b,c,d){function e(d,l,m){return g.mg(d,function(d){return 0>=l||403===d.g.status?eg(new bF("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(cF(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(a){return new g.$f(function(b){(0,window.setTimeout)(b,a)})}
return e(cF(a,b),c-1,d)};
bF=function(a,b,c){Ia.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"};
eF=function(a){this.o=void 0===a?null:a;this.l=0;this.g=null};
fF=function(a){var b=new eF;a=void 0===a?null:a;b.l=2;b.g=void 0===a?null:a;return b};
gF=function(a){var b=new eF;a=void 0===a?null:a;b.l=1;b.g=void 0===a?null:a;return b};
iF=function(a){Ia.call(this,a.message||a.description||a.name);this.isMissing=a instanceof hF;this.isTimeout=a instanceof bF&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof rg};
hF=function(){Ia.call(this,"Biscotti ID is missing from server")};
Rja=function(){if("1"===g.Tb(g.cE("PLAYER_CONFIG",{}),"args","privembed"))return eg(Error("Biscotti ID is not available in private embed mode"));jF||(jF=g.mg(cF("//googleads.g.doubleclick.net/pagead/id",kF).then(lF),function(a){return mF(2,a)}));
return jF};
lF=function(a){a=a.responseText;if(!g.nb(a,")]}'"))throw new hF;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new hF;a=a.id;nF(a);jF=gF(a);oF(18E5,2);return a};
mF=function(a,b){var c=new iF(b);nF("");jF=fF(c);0<a&&oF(12E4,a-1);throw c;};
oF=function(a,b){g.iE(function(){g.mg(cF("//googleads.g.doubleclick.net/pagead/id",kF).then(lF,function(a){return mF(b,a)}),g.y)},a)};
nF=function(a){g.va("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 eg(b)}};
qF=function(a){Ia.apply(this,arguments)};
Sja=function(){var a=new qF("ID is missing"),b=new qF("Timeout"),c=null,d=!1;MD(function(){c=KD();d=!0});
if(d)return c?gF(c):fF(a);var e=new g.$f(function(b,c){MD(function(){var d=KD();d?b(d):c(a)})}),f=xg(5E3).then(function(){return eg(b)});
return kg(hg([e,f]),function(){return f.cancel()})};
rF=function(){g.x("yt.ads.yuzu.getId_")||g.va("yt.ads.yuzu.getId_",Sja,void 0);try{return g.x("yt.ads.yuzu.getId_")()}catch(a){return eg(a)}};
g.tF=function(a,b,c){a&&(a.dataset?a.dataset[g.sF(b)]=String(c):a.setAttribute("data-"+b,c))};
g.uF=function(a,b){return a?a.dataset?a.dataset[g.sF(b)]:a.getAttribute("data-"+b):null};
g.sF=function(a){return vF[a]||(vF[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
xF=function(a,b){if(a in b)return b[a];var c=wF+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
yF=function(a,b){var c;(0,g.Ej)(a,function(a){c=b[a];return!!c});
return c};
BF=function(a){var b;zF()?g.AF()==a&&(b=window.document):b=a;b&&(a=yF(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
CF=function(a){return g.Ma(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
Tja=function(){var a=window.document;return g.Ma(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
zF=function(){return!!yF(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.AF=function(){var a=yF(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
DF=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in Uja||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b=
b.nodeName?b:null}catch(c){b=null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.g=a.pageX;this.l=a.pageY}};
EF=function(a){if(window.document.body&&window.document.documentElement){var b=window.document.body.scrollTop+window.document.documentElement.scrollTop;a.g=a.clientX+(window.document.body.scrollLeft+window.document.documentElement.scrollLeft);a.l=a.clientY+b}};
FF=function(a){g.t(a.g)||EF(a);return a.g};
GF=function(a){g.t(a.l)||EF(a);return a.l};
Vja=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in window.document?"mouseleave"!=b||"onmouseenter"in window.document?"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Wb(HF,function(e){var f=g.ta(e[4])&&e[4]==!!d,k=g.Ba(e[4])&&g.Ba(d)&&g.bc(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})};
g.KF=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Vja(a,b,c,d);if(e)return e;e=++IF.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new DF(d);if(!g.Zd(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new DF(b);
b.currentTarget=a;return c.call(a,b)};
k=eE(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"),JF()||g.ta(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);HF[e]=[a,b,c,k,d];return e};
Wja=function(a,b,c,d){var e=a||window.document;return g.KF(e,b,function(a){var b=g.Zd(a.target,function(a){return a===e||d(a)},!0);
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})};
g.LF=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.B)(a,function(a){if(a in HF){var b=HF[a],d=b[0],e=b[1],f=b[3];b=b[4];d.removeEventListener?JF()||g.ta(b)?d.removeEventListener(e,f,b):d.removeEventListener(e,f,!!b.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete HF[a]}}))};
g.MF=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
NF=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.MF(a)};
OF=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};
PF=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(g.ua(b)||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),g.ua(c)||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new g.gd(b,c)};
g.QF=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.RF=function(a){a=a||window.event;return!1===a.returnValue||a.Sy&&a.Sy()};
g.SF=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
g.TF=function(a,b,c,d){return Wja(a,b,c,function(a){return g.Dq(a,d)})};
UF=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.KF(a,b,function(){g.LF(e);c.apply(a,arguments)},d)};
g.VF=function(a){g.K.call(this);this.l=a||window;this.g=[]};
g.WF=function(a){g.LF(a.g);a.g.length=0};
XF=function(a){this.F=a;this.g=null;this.A=0;this.B=null;this.o=0;this.l=[];for(a=0;4>a;a++)this.l.push(0);this.Bb=0;this.D=g.KF(window,"mousemove",(0,g.z)(this.I,this));this.H=g.jE((0,g.z)(this.C,this),25)};
g.YF=function(a){g.K.call(this);this.K=[];this.Pb=a||this};
ZF=function(a,b,c,d){for(var e=0;e<c.length;e++)a.O(b,c[e],d)};
g.$F=function(a){for(;a.K.length;){var b=a.K.pop();b.target.removeEventListener(b.name,b.tk)}};
g.aG=function(){g.K.call(this);this.ca=new g.iD;g.L(this,this.ca)};
g.cG=function(a,b,c,d){g.aG.call(this);this.o=!!b;this.C=a;this.H=c||a;this.F=!!d;this.g=new g.YF(this);g.L(this,this.g);this.B=this.D=null;this.A=this.l=!1;b&&(g.Ad&&a.setAttribute("draggable","true"),a.style.touchAction="none");bG(this)};
dG=function(a,b,c){a.g.O(a.H,b,c,void 0,!a.o)};
bG=function(a){a.B=null;a.D=null;dG(a,eG("over"),a.Az);dG(a,"touchstart",a.Ds);a.o&&dG(a,eG("down"),a.yO)};
fG=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.D)return d}return null};
eG=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
g.gG=function(a){return g.cE("EXPERIMENT_FLAGS",{})[a]};
hG=function(a){a=a||{};this.url=a.url||"";this.args=a.args||g.cc(Xja);this.assets=a.assets||{};this.attrs=a.attrs||g.cc(Yja);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||{}};
Zja=function(a){a instanceof hG||(a=new hG(a));return a};
g.mG=function(a,b,c){var d=g.iG();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.jG[e]&&b.apply(c||window,d)};
try{kG[a]?k():g.iE(k,0)}catch(l){g.dE(l)}},c);
g.jG[e]=!0;g.lG[a]||(g.lG[a]=[]);g.lG[a].push(e);return e}return 0};
g.oG=function(a,b){var c=g.mG(a,function(a){b.apply(void 0,arguments);g.nG(c)},void 0)};
g.nG=function(a){var b=g.iG();b&&(g.ua(a)?a=[a]:g.v(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.B)(a,function(a){b.unsubscribeByKey(a);delete g.jG[a]}))};
g.pG=function(a,b){var c=g.iG();return c?c.publish.apply(c,arguments):!1};
g.qG=function(a,b){kG[a]=!0;var c=g.iG();c&&c.publish.apply(c,arguments);kG[a]=!1};
g.iG=function(){return g.x("ytPubsubPubsubInstance")};
g.wG=function(a,b){if(a.Zm){var c=a.Zm;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);rG[a.Zm.token]=d;c=sG(a.endpoint,a.Zm.token)}else c=sG(a.endpoint);c.push(a.payload);tG[a.endpoint]=new b;c.length>=(Number(g.gG("web_logging_max_batch")||0)||20)?uG():vG()};
uG=function(){g.kE(xG);if(!g.Yb(yG)){for(var a in yG){var b=tG[a];if(b){var c=void 0,d=a,e=b,f=$ja[d],k=zG[d]||{};zG[d]=k;b=Math.round(g.AG());for(c in yG[d]){var l={context:g.BG(e.g)};l[f]=sG(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;var m=rG[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 rG[c];m=l;m.requestTimeMs=b;(r=g.cE("EVENT_ID",void 0))&&g.gG("enable_gel_web_client_event_id")&&(n=(g.cE("BATCH_CLIENT_COUNTER",void 0)||0)+1,n>aka&&(n=1),g.bE("BATCH_CLIENT_COUNTER",n),m.serializedClientEventId={serializedEventId:r,clientCounter:n});g.CG(e,d,l,{retry:!0})}c=k;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?(c.averageTimeBetweenDispatchesMs*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs=d;delete yG[a]}}g.Yb(yG)||
vG()}};
vG=function(){g.kE(xG);xG=g.iE(uG,g.cE("LOGGING_BATCH_TIMEOUT",1E4))};
sG=function(a,b){b=void 0===b?"":b;yG[a]=yG[a]||{};yG[a][b]=yG[a][b]||[];return yG[a][b]};
bka=function(){};
g.EG=function(a,b){return DG(a,1,b)};
FG=function(){};
g.GG=function(){return!!g.x("yt.scheduler.instance")};
DG=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.iE(a,c||0)};
g.HG=function(a){if(!(0,window.isNaN)(a)){var b=g.x("yt.scheduler.instance.cancelJob");b?b(a):g.kE(a)}};
IG=function(a){var b=g.x("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
LG=function(){var a={},b=void 0===a.hK?!0:a.hK;a=void 0===a.HT?!1:a.HT;if(null==g.x("_lact",window)){var c=(0,window.parseInt)(g.cE("LACT"),10);c=(0,window.isFinite)(c)?(0,g.F)()-Math.max(c,0):-1;g.va("_lact",c,window);g.va("_fact",c,window);-1==c&&JG();g.KF(window.document,"keydown",JG);g.KF(window.document,"keyup",JG);g.KF(window.document,"mousedown",JG);g.KF(window.document,"mouseup",JG);b&&(a?g.KF(window,"touchmove",function(){KG("touchmove",200)},{passive:!0}):(g.KF(window,"resize",function(){KG("resize",
200)}),g.KF(window,"scroll",function(){KG("scroll",200)})));
new XF(function(){KG("mouse",100)});
g.KF(window.document,"touchstart",JG,{passive:!0});g.KF(window.document,"touchend",JG,{passive:!0})}};
KG=function(a,b){MG[a]||(MG[a]=!0,g.EG(function(){JG();MG[a]=!1},b))};
JG=function(){null==g.x("_lact",window)&&LG();var a=(0,g.F)();g.va("_lact",a,window);-1==g.x("_fact",window)&&g.va("_fact",a,window);(a=g.x("ytglobal.ytUtilActivityCallback_"))&&a()};
g.NG=function(){var a=g.x("_lact",window),b;null==a?b=-1:b=Math.max((0,g.F)()-a,0);return b};
g.PG=function(a,b,c,d){var e=g.OG,f={};f.eventTimeMs=Math.round(c||g.AG());f[a]=b;f.context={lastActivityMs:String(c?-1:g.NG())};g.wG({endpoint:"log_event",payload:f,Zm:d},e)};
g.BG=function(a){a={client:{hl:a.Wr,gl:a.Vr,clientName:a.Ur,clientVersion:a.innertubeContextClientVersion}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.cE("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.cE("DELEGATED_SESSION_ID")});return a};
cka=function(a){var b={"X-Goog-Visitor-Id":g.cE("VISITOR_DATA","")},c;a?c="Bearer "+g.x("gapi.auth.getToken")().p3:c=g.Em();c&&(b.Authorization=c,b["X-Goog-AuthUser"]=g.cE("SESSION_INDEX",0));return b};
g.RG=function(a,b,c,d){QG.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)};
g.SG=function(a,b,c){QG.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
TG=function(){var a;(a=g.AD("yt.innertube"))||(a=new vD("yt.innertube"),a=a.isAvailable()?a:null);this.g=a?new nD(a):null;this.l=window.document.domain||window.location.hostname};
g.OG=function(a){this.g=a||{innertubeApiKey:g.cE("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.cE("INNERTUBE_API_VERSION",void 0),Ur:g.cE("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.cE("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Wr:g.cE("INNERTUBE_CONTEXT_HL",void 0),Vr:g.cE("INNERTUBE_CONTEXT_GL",void 0),Qn:g.cE("INNERTUBE_HOST_OVERRIDE",void 0)||"",kK:!!g.cE("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
g.CG=function(a,b,c,d){!g.cE("VISITOR_DATA")&&.01>Math.random()&&g.dE(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",Kb:c,hC:"JSON",sd:function(){d.sd()},
vB:d.sd,onSuccess:function(a,b){if(d.onSuccess)d.onSuccess(b)},
A3:function(a){if(d.onSuccess)d.onSuccess(a)},
onError:function(a,b){if(d.onError)d.onError(b)},
z3:function(a){if(d.onError)d.onError(a)},
timeout:d.timeout,withCredentials:!0};var e=cka(a.g.kK||!1);Object.assign(c.headers,e);e="";var f=a.g.Qn;f&&(e=f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=""+e+("/youtubei/"+a.g.innertubeApiVersion+"/"+b)+"?alt=json&key="+a.g.innertubeApiKey;try{g.gG("use_fetch_for_op_xhr")?Lja(a,c):g.KE(a,c)}catch(k){if("InvalidAccessError"==k)g.dE(Error("An extension is blocking network request."),"WARNING");else throw k;}};
VG=function(a,b){var c=Object.keys(a).join("");UG("info_"+c+"_"+b)||(a.clientActionNonce=b,g.PG("latencyActionInfo",a,void 0,void 0))};
UG=function(a){WG[a]=WG[a]||{count:0};var b=WG[a];b.count++;b.time=g.AG();XG||(XG=DG(dka,0,5E3));if(10<b.count){if(11==b.count){b=Error("CSI data exceeded logging limit with key: "+a);var c=0==a.indexOf("info")?"WARNING":"ERROR";var d=d||{};d.name=g.cE("INNERTUBE_CONTEXT_CLIENT_NAME",1);d.version=g.cE("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);a=b;b=void 0===c?"ERROR":c;b=void 0===b?"ERROR":b;c=window&&window.yterr||!1;if(a&&c&&!(5<=YG)){c=a.stacktrace;var e=a.columnNumber;a.hasOwnProperty("params")&&
(d.params=JSON.stringify(a.params));var f=g.x("window.location.href");if(g.v(a))a={message:a,name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var k=!1;try{var l=a.lineNumber||a.line||"Not available"}catch(r){l="Not available",k=!0}try{var m=a.fileName||a.filename||a.sourceURL||g.w.$googDebugFname||f}catch(r){m="Not available",k=!0}a=!k&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||"Not available",name:a.name||"UnknownError",lineNumber:l,
fileName:m,stack:a.stack||"Not available"}}c=c||a.stack;l=a.lineNumber.toString();(0,window.isNaN)(l)||(0,window.isNaN)(e)||(l=l+":"+e);if(!(ZG[a.message]||0<=c.indexOf("/YouTubeCenter.js")||0<=c.indexOf("/mytube.js"))){m=c;l={Uc:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,1E3),line:l,level:b,"client.name":d.name},Kb:{url:g.cE("PAGE_NAME",window.location.href),file:a.fileName},method:"POST"};d.version&&(l["client.version"]=d.version);m&&(l.Kb.stack=m);for(var n in d)l.Kb["client."+
n]=d[n];if(d=g.cE("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var q in d)l.Kb[q]=d[q];g.GE(g.cE("ECATCHER_REPORT_HOST","")+"/error_204",l);ZG[a.message]=!0;YG++}}}return!0}return!1};
dka=function(){var a=g.AG(),b;for(b in WG)6E4<a-WG[b].time&&delete WG[b];XG=0};
aH=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.F)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if($G)for(b=1,c=0;c<$G.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^$G.charCodeAt(c),b++;return a};
bH=function(){for(var a=aH(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJLKMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
g.cH=function(){return(0,g.G)(aH(),function(a){return(a&15).toString(16)}).join("")};
g.dH=function(){var a=g.cE("client-screen-nonce")||g.cE("EVENT_ID");return a?a:null};
g.gH=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.F)()+1E3*d:0;if((d=d?(0,g.eH)():fH())&&window.JSON){g.v(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.hH=function(a){var b=fH(),c=(0,g.eH)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if(!g.v(d))try{d=c.get(a)}catch(e){}if(!g.v(d))return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
g.iH=function(a){try{var b=fH(),c=(0,g.eH)();b&&b.remove(a);c&&c.remove(a)}catch(d){}};
g.jH=function(){return g.hH("yt-remote-session-screen-id")};
g.lH=function(a){$D(kH,arguments)};
g.T=function(a,b,c){b=void 0===b?{}:b;a=(a=a in kH?kH[a]:c)||"";c={};for(var d in b)c.yo=d,a=a.replace(new RegExp("\\$"+c.yo,"gi"),function(a){return function(){return b[a.yo]}}(c)),c={yo:c.yo};
return a};
eka=function(){var a=g.hH("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.cd(Math.floor(b),0,100),muted:!!a.muted}};
mH=function(a){g.gH("yt-player-bandwidth",a,2592E3)};
nH=function(){return g.hH("yt-player-quality")||"auto"};
oH=function(a){g.gH("yt-player-watch-later-pending",a)};
pH=function(){return g.hH("yt-player-headers-readable")||!1};
rH=function(a,b,c){g.v(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return qH(a)};
qH=function(a,b,c){if(g.Ba(a)){b="endSeconds startSeconds mediaContentUrl suggestedQuality videoId two_stage_token".split(" ");c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}};
sH=function(a,b,c,d){!a&&(void 0===c?0:c)&&fE(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
tH=function(a){return(a=fka.exec(a))?a[0]:""};
uH=function(a){var b=void 0===b?!1:b;return sH(gka.test(a),a,b,"Nielsen OCR URL")};
vH=function(a){var b=void 0===b?!1:b;return sH(hka.test(a),a,b,"Active View 3rd Party Integration URL")};
wH=function(a){var b=void 0===b?!1:b;return sH(ika.test(a),a,b,"Google/YouTube Brand Lift URL")};
xH=function(a){var b=void 0===b?!1:b;.01>Math.random()&&(a.includes("://ba.l.google.com/")||a.includes("://c.googlesyndication.com/")||a.includes("://ed.video.google.com/")||a.includes("://vp.video.l.google.com/")||a.includes("://youtubeeducation.com/"))&&fE(Error("trusted streamHost: "+a));return sH(jka.test(a),a,b,"Trusted Stream URL")};
g.yH=function(a){var b=void 0===b?!1:b;return sH(kka.test(a),a,b,"Trusted Image URL")};
g.zH=function(a){var b=void 0===b?!1:b;return sH(lka.test(a),a,b,"Trusted Promoted Video Domain URL")};
AH=function(a,b){b=void 0===b?!1:b;return sH(mka.test(a),a,b,"Captions URL")};
BH=function(a){a=new g.Lm(a);g.Mm(a,window.document.location.protocol);g.Nm(a,window.document.location.hostname);window.document.location.port&&g.Om(a,window.document.location.port);return a.toString()};
CH=function(a){a=new g.Lm(a);g.Mm(a,window.document.location.protocol);return a.toString()};
DH=function(){return"ytp-id-"+nka++};
g.FH=function(a){g.K.call(this);this.g={};this.Na={};this.element=EH(this,a)};
EH=function(a,b,c){c=c||"svg"==b.G;if(c){var d=window.document.createElementNS("http://www.w3.org/2000/svg",b.G);g.GH&&(b.P||(b.P={}),b.P.focusable="false")}else d=g.Ed(b.G);var e=b.M;if(e){if(e=HH(a,d,"class",e))IH(a,d,"class",e),a.g[e]=d}else if(e=b.ba){for(var f=0;f<e.length;f++)a.g[e[f]]=d;IH(a,d,"class",e.join(" "))}if(e=b.J)for(var k=f=0;k<e.length;k++){var l=e[k];if(l)if(g.v(l))l=HH(a,d,"child",l),null!=l&&d.appendChild(g.Fd(l));else if(l.element)d.appendChild(l.element);else{var m=l;l=EH(a,
m,c);d.appendChild(l);m.Ra&&(m=DH(),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),Jd(d,l,f++))}}if(b=b.P){c=d;for(var n in b)e=b[n],null!=e&&IH(a,c,n,g.v(e)?HH(a,c,n,e):e)}return d};
g.JH=function(a){g.Kd(a.element)};
HH=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Na[d]=[b,c],null):d};
IH=function(a,b,c,d){if("child"==c){g.Id(b);if(!g.ya(d)||g.Ba(d)&&g.v(d.G))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){var k=f.nodeType;if(1==k||3==k)c.push(f);else if(g.Ba(f)&&g.v(f.G))c.push(EH(a,f));else if(f.element)c.push(f.element);else if(g.v(f)&&-1!=f.indexOf("\n"))for(f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.Ed("BR")),c.push(g.Fd(f[k]));else c.push(g.Fd(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.U=function(a){g.FH.call(this,a);this.Ld="";this.l=!0;this.Y=[]};
g.KH=function(a,b){b?a.show():a.hide()};
g.LH=function(a){g.U.call(this,a);this.X=new g.aG;g.L(this,this.X)};
g.NH=function(a,b,c,d){g.LH.call(this,a);this.priority=b;c&&g.MH(this,c);d&&this.Ib(d)};
g.OH=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?[]:b;c=void 0===c?!1:c;b.push("ytp-menuitem");"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex="0");return{G:c?"a":"div",ba:b,P:a,J:[{G:"div",M:"ytp-menuitem-label",J:["{{label}}"]},{G:"div",M:"ytp-menuitem-content",J:["{{content}}"]}]}};
g.MH=function(a,b){a.updateValue("label",b)};
RH=function(a,b){g.K.call(this);this.app=a;this.g=!0;this.o=null;this.H={};this.I={};this.A={};this.D=[];this.C={};this.B={};this.l=null;this.K=new window.Set;this.playerType=b;PH(this,"cueVideoById",this.Oz);PH(this,"loadVideoById",this.bM);PH(this,"cueVideoByUrl",this.PL);PH(this,"loadVideoByUrl",this.cM);PH(this,"playVideo",this.pd);PH(this,"pauseVideo",this.cd);PH(this,"stopVideo",this.Le);PH(this,"clearVideo",this.NL);PH(this,"getVideoBytesLoaded",this.UL);PH(this,"getVideoBytesTotal",this.VL);
PH(this,"getVideoLoadedFraction",this.Os);PH(this,"getVideoStartBytes",this.WL);PH(this,"cuePlaylist",this.OL);PH(this,"loadPlaylist",this.aM);PH(this,"nextVideo",this.Gj);PH(this,"previousVideo",this.rl);PH(this,"playVideoAt",this.Sz);PH(this,"setShuffle",this.setShuffle);PH(this,"setLoop",this.eM);PH(this,"getPlaylist",this.Wf);PH(this,"getPlaylistIndex",this.Qz);PH(this,"getPlaylistId",this.getPlaylistId);PH(this,"loadModule",this.Fj);PH(this,"unloadModule",this.sl);PH(this,"setOption",this.Gd);
PH(this,"getOption",this.uc);PH(this,"getOptions",this.mi);PH(this,"mute",this.mute);PH(this,"unMute",this.Xf);PH(this,"isMuted",this.isMuted);PH(this,"setVolume",this.setVolume);PH(this,"getVolume",this.getVolume);PH(this,"seekTo",this.ac);PH(this,"getPlayerState",this.jh);PH(this,"getPlaybackRate",this.Rc);PH(this,"setPlaybackRate",this.Vf);PH(this,"getAvailablePlaybackRates",this.Ej);PH(this,"getPlaybackQuality",this.ql);PH(this,"setPlaybackQuality",this.ho);PH(this,"getAvailableQualityLevels",
this.Ns);PH(this,"getCurrentTime",this.getCurrentTime);PH(this,"getDuration",this.getDuration);PH(this,"addEventListener",this.addEventListener);PH(this,"removeEventListener",this.removeEventListener);PH(this,"getVideoUrl",this.getVideoUrl);PH(this,"getDebugText",this.pl);PH(this,"getVideoEmbedCode",this.Rz);PH(this,"getVideoData",this.getVideoData);PH(this,"addCueRange",this.Nz);PH(this,"removeCueRange",this.Tz);PH(this,"setSize",this.setSize);PH(this,"getApiInterface",this.QL);PH(this,"destroy",
this.destroy);PH(this,"showVideoInfo",this.Vz);PH(this,"hideVideoInfo",this.YL);PH(this,"getMediaReferenceTime",this.SL);if(this.app.NK){var c=this.app.g;c.experiments&&c.experiments.g("html5_enable_360_api")&&(PH(this,"getSphericalProperties",this.fo),PH(this,"setSphericalProperties",this.jo))}QH(this,"getInternalApiInterface",this.RL);QH(this,"getAdState",this.Pz);QH(this,"isNotServable",this.ZL);QH(this,"getUpdatedConfigurationData",this.TL);QH(this,"sendAbandonmentPing",this.dM);QH(this,"setAutonav",
this.Uz);QH(this,"setAutonavState",this.Ps);QH(this,"startInteractionLogging",this.fM);QH(this,"channelSubscribed",this.LL);QH(this,"channelUnsubscribed",this.ML);QH(this,"handleExternalCall",this.XL)};
PH=function(a,b,c){a.H[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)};
QH(a,b,c);a.D.push(b)};
SH=function(a,b,c){a.I[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)};
QH(a,b,c);a.D.push(b)};
QH=function(a,b,c){a.A[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)}};
TH=function(a){a.l||(a.l={},g.Fa(a.l,a.H),g.Fa(a.l,a.I),a.l.addEventListener=(0,g.z)(a.YH,a),a.l.removeEventListener=(0,g.z)(a.ZH,a));return a.l};
VH=function(a,b,c){b=g.cd(Math.floor(b),0,100);(0,window.isFinite)(b)&&UH(a.app,{volume:b,muted:a.isMuted()},c)};
WH=function(a,b){UH(a.app,{muted:!0,volume:a.getVolume()},b)};
XH=function(a,b){UH(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
g.YH=function(a){return(a=a.app.A.L)?a.l:null};
ZH=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
g.$H=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.aI=function(a){a=void 0===a?{}:a;this.K=a.formats||"";this.o=a.format||1;if(1==this.o)for(var b=this.K.split(","),c=0;c<b.length;c++){var d=(0,window.parseInt)(b[c],10);(0,window.isNaN)(d)||(this.o=Math.max(d,this.o))}this.l=a.languageCode||"";this.C=a.languageName;this.A=a.kind||"";this.B=a.name;this.Ba=a.id;this.L=a.is_servable;this.F=a.is_translateable;this.H=a.url||null;this.D=a.vss_id||"";this.isDefault=a.is_default;this.g=null;if(a=a.translationLanguage)this.g=new g.$H(a)};
g.bI=function(a){var b=a.C||"",c=[b];"asr"==a.A&&-1==b.indexOf("(")&&c.push(" ("+g.T("YTP_ASR_SETTINGS_LABEL")+")");a.B&&c.push(" - "+a.B);a.g&&c.push(" >> "+a.g.languageName);return c.join("")};
cI=function(a,b){this.id=a;this.Nb=b;this.captionTracks=[];this.tn=this.Fq=this.g=null;this.mq="UNKNOWN"};
dI=function(a,b,c){this.sampleRate=a||0;this.g=b||0;this.spatialAudioType=c||0};
oka=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
gI=function(a,b,c,d,e,f,k,l,m,n,q){this.width=a;this.height=b;this.quality=f||eI(a,b);this.l=g.fI[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.fI[this.quality],a=0==c?g.T("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.o=!1!==q};
hI=function(a){return 1280<=a.width||720<=a.height};
iI=function(a){return"smpte2084"==a.g||"arib-std-b67"==a.g};
eI=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=jI[0],f=0;f<jI.length;f++){var k=jI[f],l=g.fI[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
lI=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=0<=b.indexOf("/mp4")?1:0<=b.indexOf("/webm")?2:0<=b.indexOf("/x-flv")?3:0<=b.indexOf("/vtt")?4:0;this.mimeType=b;this.g=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Nb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.Hc=void 0===f?null:f;this.l=pka[kI(this)]||"";this.o=null};
kI=function(a){return a.id.split(";",1)[0]};
mI=function(a){return"9"==a.l||"("==a.l||"9h"==a.l||"(h"==a.l};
nI=function(a){return"9h"==a.l||"(h"==a.l};
g.oI=function(a){return 1==a.containerType};
pI=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")};
qI=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")||0<=a.indexOf("av1")};
g.rI=function(a){return a.includes("vtt")||a.includes("text/mp4")};
sI=function(a,b,c,d,e,f,k){var l=new dI;b in g.fI||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.fI[b],d=Math.round(16*e/9));b=new gI(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 lI(c,a,l,b)};
tI=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.lE(b||"");var c={};(0,g.B)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.A=!!c["9414740"]};
uI=function(a,b){this.g=a;this.l=b;this.o=0;Object.defineProperty(this,"timestampOffset",{get:this.hV,set:this.lV});Object.defineProperty(this,"buffered",{get:this.fV})};
qka=function(){this.length=0};
vI=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.l=window.NaN;this.o=0;Object.defineProperty(this,"duration",{get:this.gV,set:this.kV});Object.defineProperty(this,"readyState",{get:this.iV});this.g.addEventListener("webkitsourceclose",(0,g.z)(this.jV,this),!0)};
wI=function(){this.length=1};
xI=function(){this.buffered=new wI};
yI=function(){var a=[],b=[];return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
zI=function(a,b){b=void 0===b?",":b;var c="";if(a)for(var d=0;d<a.length;d++)c+=a.start(d).toFixed(3)+"-"+a.end(d).toFixed(3)+b;return c};
AI=function(a,b){if(!a)return-1;try{for(var c=0;c<a.length;c++)if(a.start(c)<=b&&a.end(c)>=b)return c}catch(d){}return-1};
BI=function(a,b){var c=AI(a,b);return 0<=c?a.end(c):window.NaN};
CI=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
DI=function(a,b){var c=BI(a,b);return 0<=c?c-b:0};
EI=function(a){this.g=a;this.l=null};
FI=function(a){try{return a.g.buffered}catch(b){return yI()}};
GI=function(){var a=g.x("yt.player.utils.videoElement_");a||(a=g.Ed("VIDEO"),g.va("yt.player.utils.videoElement_",a,void 0));return a};
rka=function(){var a=GI();return!!a.webkitSetPresentationMode&&g.Aa(a.webkitSupportsPresentationMode)&&!!a.webkitSupportsPresentationMode("picture-in-picture")};
HI=function(){var a=GI();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
II=function(a){a=g.J("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==wh(a,"display");g.Kd(a);return b};
JI=function(a,b){this.g=a;this.l=!!b;this.o=!1};
KI=function(a){g.K.call(this);this.C=new g.YF(this);g.L(this,this.C);this.l=this.g=null;a=this.o=a;a=a.xN?a.g.webkitMediaSourceURL:window.URL.createObjectURL(a);this.B=new JI(a,!0);this.A=null;ZF(this.C,this.o,["sourceopen","webkitsourceopen"],this.F);ZF(this.C,this.o,["sourceclose","webkitsourceclose"],this.D)};
ska=function(a,b){LI(a)?g.Uf(function(){return b(a)}):a.A=b};
LI=function(a){try{return"open"==a.o.readyState}catch(b){return!1}};
MI=function(a){try{return"closed"==a.o.readyState}catch(b){return!0}};
NI=function(a){return!!(a.g&&a.g.g.updating||a.l&&a.l.g.updating)};
OI=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
PI=function(a){return a.g?!!a.g.supports(0):OI()};
RI=function(a){if(/opus/.test(a)&&(g.QI&&!g.co("38")||g.QI&&ME("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!TE())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!GI().canPlayType(a)};
tka=function(a,b,c){this.l=a;this.B=b;this.C=void 0===c?!1:c;this.A=!!g.x("cast.receiver.platform.canDisplayType");a=g.x("cast.receiver.platform.getValue");this.g=!this.A&&a&&a("max-video-resolution-vpx")||null;this.o={}};
UI=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;SI?c=c||uka[b]:2.2==TI?c=c||vka[b]:OE()&&(c=c||wka[b]);return!!c};
xka=function(a,b){if("0"==kI(b))return!0;var c=b.mimeType;if(b.video&&(iI(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||VI(a,WI))||!("338"!=kI(b)||g.QI&&g.co(53)))return!1;var d={};b.video&&(b.video.width&&(d[XI.name]=b.video.width),b.video.height&&(d[YI.name]=b.video.height),b.video.fps&&(d[ZI.name]=b.video.fps),b.video.g&&(d[WI.name]=b.video.g),b.g&&(d[$I.name]=8*b.g),"("==b.l&&(d[aJ.name]="subsample"));b.audio&&b.audio.g&&(d[bJ.name]=b.audio.g);for(var e in cJ){var f=cJ[e];
if(d[f.name]&&!(f==WI&&0<b.mimeType.indexOf("vp09.02")))if(VI(a,f))if(a.g){if(a.g[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(nI(b)&&f==WI)return!1}!a.l.g("disable_html5_cast_hdcp_filter2")&&a.A&&b.video&&1080<b.video.l&&b.Hc&&(c+="; hdcp=2.2");return dJ(a,c)};
eJ=function(){var a=OE()&&!g.co(29),b=ME("google tv")&&ME("chrome")&&!g.co(30),c=RE();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
g.fJ=function(){return!(!UI(GI(),"application/x-mpegURL")&&!eJ())};
VI=function(a,b){if(!(b.name in a.o)){var c=a.o,d=b.name;if(a.g)var e=!!a.g[b.name];else b==$I&&a.l.g("html5_ignore_bad_bitrates")&&dJ(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!dJ(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',dJ(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',dJ(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=dJ(a,e+"; "+b.name+"="+b.valid)&&!dJ(a,e+"; "+
b.name+"="+b.ci));c[d]=e}return a.o[b.name]};
dJ=function(a,b){return a.A?window.cast.receiver.platform.canDisplayType(b):RI(b)};
yka=function(a){return a.l.g("hfr_xbox_holdback")&&ME("xboxone")?!1:a.B||VI(a,ZI)};
gJ=function(a){this.bj=a};
hJ=function(a,b){if(b)return fF();for(var c={},d=GI(),e=g.la(a),f=e.next();!f.done;f=e.next())if(f=f.value,UI(d,f.pg().mimeType)){var k=f.bj.video.quality;c[k]&&2!=c[k].pg().containerType||(c[k]=f)}var l=[];c.auto&&l.push(c.auto);(0,g.B)(jI,function(a){(a=c[a])&&l.push(a)});
return l.length?gF(l):fF()};
iJ=function(a,b,c,d){this.l=a||0;this.g=b||0;this.o=c;this.reason=d};
jJ=function(a,b){return a.l==b.l&&a.g==b.g&&a.o==b.o&&a.reason==b.reason};
kJ=function(a,b,c,d){return new iJ(g.fI[a]||0,g.fI[b]||0,c,d)};
lJ=function(a){var b=g.fI.auto;return a.l==b&&a.g==b};
nJ=function(a,b){if(b.o&&lJ(b))return mJ;if(b.o||lJ(a))return b;if(a.o||lJ(b))return a;var c=a.l&&b.l?Math.max(a.l,b.l):a.l||b.l,d=a.g&&b.g?Math.min(a.g,b.g):a.g||b.g;c=Math.min(c,d);return c==a.l&&d==a.g?a:new iJ(c,d,!1,d==a.g?a.reason:b.reason)};
oJ=function(a){var b=a.g||a.l;return Xb(zka,function(a){return g.fI[a]==b})||"auto"};
pJ=function(a,b){var c=g.fI[b];return a.l<=c&&(!a.g||a.g>=c)};
qJ=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.sa=a;this.sourceURL=e;this.startTime=b;this.l=k||0;this.range=f||null;this.g=l||!1};
g.rJ=function(){this.segments=[]};
sJ=function(a,b){if(b>a.Vb())a.segments=[];else{var c=g.La(a.segments,function(a){return a.sa>=b},a);
0<c&&a.segments.splice(0,c)}};
tJ=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.g=e?0:8;this.dataOffset=this.offset+this.g;this.l=e};
uJ=function(a){var b=a.data.getInt32(a.offset+a.g);a.g+=4;return b};
vJ=function(a){var b=a.data.getUint32(a.offset+a.g);a.g+=4;return b};
Aka=function(a){var b=a.data;var c=a.offset+a.g;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.g+=8;return b};
wJ=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.g);b.push(c);a.g++}while(0!=c);b.pop()};
xJ=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0};
yJ=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
zJ=function(a,b){for(var c=0;c+4<=b.size;)yJ(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
AJ=function(a,b,c){for(var d=8,e=g.la(c),f=e.next();!f.done;f=e.next())d+=f.value.size;yJ(a,d);yJ(a,b);b=g.la(c);for(f=b.next();!f.done;f=b.next())zJ(a,f.value)};
BJ=function(a,b,c){this.Pe=a;this.durationSecs=b;this.context=c};
CJ=function(a,b){this.g=a;this.A=void 0===b?null:b;this.l=(0,window.parseInt)(this.g["Sequence-Number"],10)||0;this.ingestionTime=((0,window.parseInt)(this.g["Ingestion-Walltime-Us"],10)||0)/1E6;this.o=(((0,window.parseInt)(this.g["First-Frame-Time-Us"],10)||0)+((0,window.parseInt)(this.g["First-Frame-Uncertainty-Us"],10)||0))/1E6;this.F=((0,window.parseInt)(this.g["Target-Duration-Us"],10)||0)/1E6;this.D="T"==this.g["Overlayed-With-Slate"];this.C="T"==this.g["Stream-Finished"];this.B="T"==this.g.Streamable};
DJ=function(a,b,c,d,e){this.l=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.g=e;e.getUint32(4)};
EJ=function(a){var b={};a=a.split("\r\n");for(var c=0;c<a.length;c++){if(0==a[c].length)return b;var d=a[c].match(/([^:]+):\s+([\S\s]+)/);null!=d&&(b[d[1]]=d[2])}return null};
Bka=function(a,b,c){var d=FJ(a,0,1836019558);if(!d)return null;var e=FJ(a,d.dataOffset,1835427940),f=FJ(a,d.dataOffset,1953653094),k=FJ(a,d.dataOffset,1886614376);if(!e||!f)return null;var l=FJ(a,f.dataOffset,1952868452),m=FJ(a,f.dataOffset,1953658222),n=FJ(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var q=FJ(a,f.dataOffset,1935763823),r=FJ(a,f.dataOffset,1935763834),u=0;if(q){u=uJ(q);var C=uJ(q);if(0!=u||1!=C)return null;u=uJ(q)}C=FJ(a,f.dataOffset,1935828848);f=FJ(a,f.dataOffset,1936158820);
var I=uJ(l),N=uJ(l),Z=I&2,V=I&1?Aka(l):0,Ga=Z?uJ(l):0,oa=I&8?uJ(l):0,qc=I&16?uJ(l):0,ie=I&32?uJ(l):0;I=uJ(m);var $a=I&1,hd=I&4,lc=I&256;l=I&512;var Gi=I&1024,Nb=I&2048;I=uJ(m);var Sb=$a?uJ(m):0,Gb=hd?uJ(m):0;$a=[];for(var Hi=[],Ce=[],Ii=[],vl=0,Dc=0,Lg=0;Lg<I;Lg++){var Bv=lc?uJ(m):oa;l&&$a.push(uJ(m));var Rd=ie;hd&&0==Lg?Rd=Gb:Gi&&(Rd=uJ(m));Hi.push(Rd);Rd=Nb?uJ(m):0;0==Lg&&(vl=Rd);Ce.push(Dc+Rd);Ii.push(Lg);Dc+=Bv}1<=Math.abs(Dc-b)&&c({flaw:"segDurMismatch",dts:Dc.toFixed(),seg:b.toFixed()});g.ib(Ii,
function(a,b){return Ce[a]-Ce[b]});
c=[];for(Dc=0;Dc<I;Dc++)c[Ii[Dc]]=Dc;Dc=Z?4:0;ie=16*I;hd=68+Dc+n.size+ie+(q?q.size:0)+(r?r.size:0)+(C?C.size:0)+(f?f.size:0)+(k?k.size:0);m=hd-d.size;oa=new xJ(hd+d.offset);d.offset&&oa.Xm(a,0,d.offset);yJ(oa,hd);yJ(oa,1836019558);zJ(oa,e);yJ(oa,hd-24-(k?k.size:0));yJ(oa,1953653094);yJ(oa,16+Dc);yJ(oa,1952868452);yJ(oa,131072|(Z?2:0));yJ(oa,N);Z&&yJ(oa,Ga);zJ(oa,n);yJ(oa,20+ie);yJ(oa,1953658222);yJ(oa,16781057);yJ(oa,I);yJ(oa,V+Sb+m);for(a=Dc=0;a<I;a++)e=c[a],d=Math.round(b*e/I),e=Math.round(b*(e+
1)/I)-d,d=d-Dc+vl,yJ(oa,e),yJ(oa,l?$a[a]:qc),yJ(oa,Hi[a]),yJ(oa,d),Dc+=e;q&&(yJ(oa,q.size),yJ(oa,1935763823),yJ(oa,0),yJ(oa,1),yJ(oa,u+m));r&&zJ(oa,r);C&&zJ(oa,C);f&&zJ(oa,f);k&&zJ(oa,k);return oa.data.buffer};
GJ=function(a,b){var c=FJ(a.data,a.dataOffset,1952868452),d=FJ(a.data,a.dataOffset,1953658222),e=uJ(c);uJ(c);e&2&&uJ(c);c=e&8?uJ(c):0;var f=uJ(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var q=vJ(d);k&&uJ(d);e&&uJ(d);for(var r=k=0;r<q;r++){var u=l?uJ(d):c;m&&uJ(d);e&&0==r||!n||uJ(d);f&&uJ(d);k+=u}return k/b};
JJ=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.HJ(a,1836476516))?IJ(a):window.NaN};
Cka=function(a){var b=g.HJ(a,1937011556);if(!b)return null;b=FJ(a,b.dataOffset+8,1635148593);if(!b)return null;var c=FJ(a,b.dataOffset+78,1936995172),d=FJ(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),b=c.data.getUint8(c.offset+c.g),c.g+=1,b){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}var e=c=null,f=null;if(d=FJ(a,d.dataOffset,1886547818)){var k=FJ(a,d.dataOffset,1886546020),l=FJ(a,d.dataOffset,2037673328);if(!l&&(l=FJ(a,d.dataOffset,1836279920),
!l))return null;k&&(k.skip(4),c=uJ(k)/65536,f=uJ(k)/65536,e=uJ(k)/65536);a=new window.DataView(l.data.buffer,l.dataOffset,l.size-8);return new DJ(b,c,f,e,a)}return null};
FJ=function(a,b,c){for(;KJ(a,b);){var d=LJ(a,b);if(d.type==c)return d;b+=d.size}return null};
g.HJ=function(a,b){for(var c=0;KJ(a,c);){var d=LJ(a,c);if(d.type==b)return d;c=MJ(d.type)?c+8:c+d.size}return null};
NJ=function(a,b){if(a.data.getUint8(a.dataOffset)){var c=a.data,d=a.dataOffset+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.dataOffset+4,b)};
OJ=function(a){if(a.data.getUint8(a.dataOffset)){var b=a.data;a=a.dataOffset+4;return 4294967296*b.getUint32(a)+b.getUint32(a+4)}return a.data.getUint32(a.dataOffset+4)};
LJ=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new tJ(a,b,c,d)};
IJ=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
PJ=function(a){return a.data.getUint32(a.dataOffset+8)};
QJ=function(a){var b=a.data.getUint8(a.dataOffset);a.data.getUint16(a.dataOffset+(0==b?22:30));return a.data.getUint32(a.dataOffset+(0==b?28:36))};
KJ=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};
MJ=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
RJ=function(a){return(a=FJ(a,0,1836019558))?a.offset+a.size:null};
SJ=function(a,b){for(var c=FJ(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=FJ(a,c.offset+c.size,b)}};
TJ=function(a,b){for(var c=[],d=b.dataOffset,e=b.offset+b.size;d<e&&KJ(a,d);){var f=LJ(a,d);c.push(f);d+=f.size}return c};
Dka=function(a){for(var b=0,c=[];KJ(a,b);){var d=LJ(a,b);1886614376==d.type&&c.push(d);b=MJ(d.type)?b+8:b+d.size}return c};
g.UJ=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
VJ=function(a){a=a.split("-");return 2==a.length&&(a=new g.UJ((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};
WJ=function(a,b){return new g.UJ(a,a+b-1)};
YJ=function(a,b,c,d,e,f,k,l,m){this.g=b;this.range=c;this.type=a;this.sa=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.l=k||0;this.Wa=0<=l?l:this.range?this.range.length:window.NaN;this.C=!!m;this.range?(this.o=this.l+this.Wa==this.range.length,this.B=this.startTime+this.duration*this.l/this.range.length,this.D=this.duration*this.Wa/this.range.length,this.A=this.B+this.D):(this.o=0!=this.Wa,XJ(this));this.F=[]};
XJ=function(a){a.B=a.startTime;a.D=a.duration;a.A=a.B+a.D};
Eka=function(a,b,c){var d=!(!b||b.g!=a.g||b.type!=a.type||b.sa!=a.sa);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.l+b.Wa==a.l+a.Wa:d};
ZJ=function(a){return 1==a.type||2==a.type};
$J=function(a,b,c){return c||a.g==b.g?a.range&&b.range?a.range.start+a.l+a.Wa==b.range.start+b.l:a.sa==b.sa?a.l+a.Wa==b.l:a.sa+1==b.sa&&0==b.l&&a.o:!1};
aK=function(a,b){return $J(a,b)||1E-6>=Math.abs(a.A-b.B)||a.sa+1==b.sa&&0==b.l&&a.o?!0:!1};
Fka=function(a){1==a.length||(0,g.tm)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.UJ(a[0].range.start+a[0].l,b.range.start+b.l+b.Wa-1)};
cK=function(a){var b="";g.Kb(bK(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
bK=function(a){var b={};b.itag=kI(a.g.info);b.seg=String(a.sa);a.range&&(b.range=""+(a.range.start+a.l)+"-"+(a.range.start+a.l+a.Wa-1));b.time=""+a.B.toFixed(1)+"-"+(a.B+a.D).toFixed(1);b.off=String(a.l);b.len=String(a.Wa);a.o&&(b.end="1");a.C&&(b.eos="1");return b};
dK=function(a,b,c,d){a=new YJ(a.type,a.g,a.range,a.sa,a.startTime,a.duration,b,c,d&&a.C);a.o=d;return a};
eK=function(a,b){a.sa=b.l;b.C&&(a.C=b.C)};
fK=function(a,b){a.sa=b.sa;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,XJ(a)};
gK=function(a,b){this.l=a;this.g=0;this.o=b||0};
hK=function(a){return a.g>=a.l.byteLength};
mK=function(a,b){var c=new gK(b);if(!iK(c,[408125543,374648427,174,224]))return!1;c=jK(c);if(kK(c,a)){for(var d=0;a;)a>>>=8,d++;var e=c.o+c.g-d;d=lK(c,!0)+d-1;var f;f||(f=Math.ceil(Math.log(d+2)/Math.log(2)/7));var k=1<<8-f;for(c=[];c.length<f-1;)c.unshift(d%256),d=Math.floor(d/256);c.unshift(d|k);b.setUint8(e,236);for(f=0;f<c.length;f++)b.setUint8(e+1+f,c[f]);return!0}return!1};
oK=function(a){nK(new gK(a));mK(30320,a)&&mK(21432,a)};
Gka=function(a){var b=new gK(a);nK(b);if(iK(b,[408125543,374648427,174,224]))b=jK(b);else return null;for(var c=a=null;!hK(b);){var d=lK(b,!1);if(21432==d)switch(pK(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=jK(b):qK(b)}if(!c)return null;for(var e,f=d=b=null;!hK(c);)switch(lK(c,!1)){case 30321:if(3!=pK(c))return null;break;case 30324:b=rK(c);break;case 30323:f=rK(c);break;case 30325:d=rK(c);break;case 30322:e=lK(c,!0);e=sK(c,e);e=new window.DataView(e.buffer,
e.byteOffset,e.byteLength);break;default:qK(c)}return e?new DJ(a,b,f,d,e):null};
jK=function(a){var b=lK(a,!0),c=a.l.byteOffset+a.g;c=new window.DataView(a.l.buffer,c,Math.min(b,a.l.buffer.byteLength-c));c=new gK(c,a.o+a.g);a.g+=b;return c};
pK=function(a){for(var b=lK(a,!0),c=tK(a),d=1;d<b;d++)c=256*c+tK(a);return c};
rK=function(a){var b=lK(a,!0),c=0;4==b?c=a.l.getFloat32(a.g):8==b&&(c=a.l.getFloat64(a.g));a.g+=b;return c};
qK=function(a){var b=lK(a,!0);a.g+=b};
nK=function(a){var b=a.g;a.g=0;var c=!1;kK(a,440786851)&&(a.g=0,kK(a,408125543)&&(c=!0));a.g=b;return c};
uK=function(a){var b=a.g;a.g=0;var c=1E6;iK(a,[408125543,357149030,2807729])&&(c=pK(a));a.g=b;return c};
Hka=function(a,b){var c=a.g;a.g=0;if(!vK(a)||!kK(a,160))return a.g=c,window.NaN;lK(a,!0);var d=a.g;if(!kK(a,161))return a.g=c,window.NaN;lK(a,!0);tK(a);var e=tK(a)<<8|tK(a);a.g=d;if(!kK(a,155))return a.g=c,window.NaN;d=pK(a);a.g=c;return(e+d)*b/1E9};
vK=function(a){a:{if(nK(a)){if(!kK(a,408125543)){var b=!1;break a}lK(a,!0)}b=!0}if(!b||!kK(a,524531317))return!1;lK(a,!0);return!0};
iK=function(a,b){for(var c=0;c<b.length;c++){if(!kK(a,b[c]))return!1;c!=b.length-1&&lK(a,!0)}return!0};
kK=function(a,b){if(hK(a))return!1;for(;lK(a,!1)!=b;)if(qK(a),hK(a))return!1;return!0};
lK=function(a,b){var c=tK(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+tK(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+tK(a),d*=128;return b?c-d:c};
tK=function(a){return a.l.getUint8(a.g++)};
sK=function(a,b){var c=new window.Uint8Array(a.l.buffer,a.l.byteOffset+a.g,b);a.g+=b;return c};
wK=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.o=null;this.A=d;this.l=e};
xK=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)};
yK=function(a,b){b=Math.min(b,a.info.Wa);var c=new YJ(a.info.type,a.info.g,a.info.range,a.info.sa,a.info.startTime,a.info.duration,a.info.l,b,!1);c.o=!1;var d=WJ(a.range.start,b);c=new wK(c,a.g,d,a.A,a.l);var e=new YJ(a.info.type,a.info.g,a.info.range,a.info.sa,a.info.startTime,a.info.duration,a.info.l+b,a.info.Wa-b,a.info.C);e.o=a.info.o;d=new g.UJ(d.end+1,a.range.end);d=new wK(e,a.g,d,a.A,!1);return[c,d]};
zK=function(a){if(g.oI(a.info.g.info)){var b=a.info.g.g;for(var c=window.NaN,d=window.NaN,e=0,f=new window.DataView(a.g);KJ(f,e);){var k=LJ(f,e);1936286840==k.type?d=PJ(k):1836476516==k.type?d=IJ(k):1952867444==k.type&&(0,window.isNaN)(c)&&(c=OJ(k));e=MJ(k.type)?e+8:e+k.size}!d&&b&&(d=JJ(b));b=c/d}else b=new gK(xK(a)),c=a.l?b:new gK(new window.DataView(a.info.g.g.buffer)),d=uK(c),c=b.g,b.g=0,vK(b)?kK(b,231)?(d=pK(b)*d/1E9,b.g=c,b=d):(b.g=c,b=window.NaN):(b.g=c,b=window.NaN);return b||a.info.B};
AK=function(a,b){if(g.oI(a.info.g.info)){for(var c=a.info.g.g,d=new window.DataView(a.g),e=window.NaN,f=window.NaN,k=0;KJ(d,k);){var l=LJ(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=PJ(l):1836476516==l.type&&(e=IJ(l)));if(1952867444==l.type){!e&&c&&(e=JJ(c));var m=OJ(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);NJ(l,m+f)}k=MJ(l.type)?k+8:k+l.size}return!0}c=new gK(new window.DataView(a.g));e=a.l?c:new gK(new window.DataView(a.info.g.g.buffer));d=b;f=uK(e);e=c.g;c.g=0;if(vK(c)&&kK(c,231))if(k=
lK(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.l.setUint8(c.g+f,d&255),d>>>=8;c.g=e;c=!0}else c=!1;return c};
BK=function(a){var b;if(g.oI(a.info.g.info)){for(var c=b=0,d=new window.DataView(a.g);KJ(d,b);){var e=LJ(d,b);if(1936286840==e.type){var f=PJ(e),k=QJ(e);c+=k/f}b=MJ(e.type)?b+8:b+e.size}b=c||window.NaN;if(!(0<=b))a:{b=a.info.g.g;c=0;d=new window.DataView(a.g);for(e=0;KJ(d,c);){f=LJ(d,c);if(1836476516==f.type)var l=IJ(f);else if(1836019558==f.type){!l&&b&&(l=JJ(b));if(!l){b=window.NaN;break a}k=FJ(f.data,f.dataOffset,1953653094);e+=GJ(k,l)}c=MJ(f.type)?c+8:c+f.size}b=e||window.NaN}}else l=new gK(new window.DataView(a.g)),
b=a.l?l:new gK(new window.DataView(a.info.g.g.buffer)),b=Hka(l,uK(b));return b||a.info.D};
CK=function(a){return g.oI(a.info.g.info)?a.o?a.o.D&&!!FJ(new window.DataView(a.g),0,1718909296):!1:nK(new gK(new window.DataView(a.g)))};
g.DK=function(){this.rD=this.GC=!1;this.Im=2;this.B=20971520;this.C=8388608;this.A=window.NaN;this.ma=3145728;this.R=62914560;this.oa=10485760;this.ln=this.Cb=0;this.H=window.NaN;this.yf=0;this.cv=this.Fg=this.Ev=2;this.Ma=25;this.Y=2097152;this.Zu=1048576;this.ea=!1;this.K=1800;this.wc=5;this.Mc=10;this.da=30;this.wf=1;this.l=1.15;this.o=1.05;this.vn=8;this.UA=!0;var a;!(a=ME("xboxone"))&&(a=UE())&&(a=/WebKit\/([0-9]+)/.exec(g.Ib),a=!(a&&602<=(0,window.parseInt)(a[1],10)));this.xG=a||OE();this.Pb=
15;this.zd=!1;this.X=this.hv=!0;this.ty=this.D=!1;this.ev=.8;this.yd=!1;this.WD=!0;this.ib=this.Ji=!1;this.rm=25;this.zG=this.ME=!1;this.ya=6;this.km=this.ia=!1;this.xf=.5;this.hg=this.Na=!1;this.Kc=0;this.Hg=this.Yy=!1;this.xd=0;this.pm=!1;this.Dv=2;this.N=this.ca=!1;this.Z=.5;this.Xa=2;this.Ta=this.vv=0;this.xv=1.5;this.Cv=this.vf=.5;this.Pa=this.qm=this.Xy=!1;this.qb=15;this.Jb=1;this.fv=this.sC=this.za=this.Dh=!1;this.sm=0;this.F=this.ov=this.Ch=this.UD=this.im=this.ae=this.qv=this.jm=this.FD=
this.tC=!1;this.Ki=1;this.Li=0;this.Eh=this.rv=this.fa=this.g=!1;this.Kd=0;this.yv=this.Ca=this.uv=this.Fh=this.ed=this.Ad=this.L=this.Db=this.Gg=!1;this.I=!0;this.Ya=this.Md=!1;this.TD=this.Ld=this.W=0};
Ika=function(a,b){1080<b.video.l&&!a.GC&&(a.B=36700160,a.C=5242880,a.ma=10485760,a.Y=4194304,a.GC=!0);2160<b.video.l&&!a.rD&&(a.B=104857600,a.H=13107200,a.rD=!0);a.Zu=Math.max(65536,Math.min(a.Y,5*b.g))};
Jka=function(){this.g=this.l=this.o=this.A=0};
EK=function(a,b){a[b]||(a[b]=new Jka);return a[b]};
g.FK=function(a){this.A=a;this.B=this.l=this.C="";this.g={};this.o=""};
HK=function(a){GK(a);return a.B};
IK=function(a){GK(a);return Mb(a.g,function(a){return null!==a})};
KK=function(a){GK(a);if("/videoplayback"!=a.l){var b=a.clone();b.set("playerfallback","1");return b}var c=a.Oa();b=new g.Lm(c);if(JK){var d=a.get("fvip");a=(0,window.decodeURIComponent)(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.l.replace(/^[^.]*/,""),g.Nm(b,"r"+d+"---"+a[1]+c),b=new g.FK(b.toString()),b.set("fallback_count","1"),b}d=b.l.match("\\.a1\\.googlevideo\\.com$");b.l.match("\\.googlevideo\\.com$")?(g.Nm(b,"redirector.googlevideo.com"),c=b.toString()):b.l.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.Nm(b,"www.youtube.com"),c=b.toString()):c=BH(c);b=new g.FK(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
GK=function(a){if(a.A){if(!xH(a.A))throw Error("Untrusted URL: "+a.A);var b=g.Vm(a.A);a.C=b.A;a.B=b.l+(null!=b.B?":"+b.B:"");var c=b.o;if(0==c.indexOf("/videoplayback"))a.l="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest")){var d=c.indexOf("/",12),e=c.indexOf("/",d+1);0<d&&0<e?(a.l=c.substr(0,e),c=c.substr(e+1)):(a.l=c,c="")}else a.l=c,c="";d=a.g;a.g=LK(c);g.Fa(a.g,MK(b.Qx()));g.Fa(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.l+="/file/index.m3u8");a.A="";a.o=""}};
Kka=function(a){GK(a);var b=a.C+(a.C?"://":"//")+a.B+a.l;if(IK(a)){var c=[];g.Kb(a.g,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
LK=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&NK(c,a[b],a[b+1]);return c};
MK=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?NK(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
NK=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};
OK=function(a){this.g=a;this.l={};this.o=""};
Lka=function(a,b){var c=b.indexOf("?");if(0<c){var d=MK(b.substr(c+1));g.Kb(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}c=LK(b);g.Kb(c,function(a,b){this.set(b,a)},a)};
Mka=function(a){var b=a.g.Oa(),c=[];g.Kb(a.l,function(a,b){c.push(b+"="+a)});
if(!c.length)return b;var d=c.join("&");a=IK(a.g)?"&":"?";return b+a+d};
PK=function(a,b){var c=new g.FK(b),d=c.get("req_id");d&&a.set("req_id",d);g.Kb(a.l,function(a,b){c.set(b,null)});
return c};
Nka=function(a){this.B=a.clone();this.o=a;this.l=null;this.A=this.g=0};
RK=function(a,b,c){var d=EK(c,HK(a.o));if(d.l>=b.Dv||1<=d.g)if(a=QK(a),c=EK(c,HK(a)),c.l+c.g<=d.l+d.g)return!0;return!1};
g.SK=function(a,b){var c=b?QK(a):a.o;return new OK(c)};
QK=function(a){a.l||(a.l=KK(a.B));return a.l};
TK=function(a){return 1<a.g?a.A+1E3*Math.pow(1.6,a.g-1)<g.AG():!0};
g.UK=function(a,b,c){b.g===a.o&&(a.o=PK(b,c));b.g===a.l&&(a.l=PK(b,c))};
VK=function(a,b){this.l=a[0].g.A;this.B=b||"";this.g=a;this.range=this.g[0].range&&0<this.g[0].Wa?Fka(this.g):null;this.A=this.o=window.NaN;this.C=this.requestId=null};
WK=function(a){return ZJ(a.g[0])};
XK=function(a){return 4==a.g[a.g.length-1].type};
g.YK=function(a,b,c,d){/http[s]?:\/\//.test(a.B)?b=new OK(new g.FK(a.B)):(b=null===a.C?RK(a.l,b,c):a.C,b=g.SK(a.l,b),a.B&&Lka(b,a.B));(d=d||a.range)&&b.set("range",d.toString());a.requestId&&b.set("req_id",a.requestId);(0,window.isNaN)(a.o)||b.set("headm",a.o.toString());(0,window.isNaN)(a.A)||b.set("mffa",a.A+"ms");return b};
ZK=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.D*a.g.info.g)};
Oka=function(a,b,c){return a.range?new g.UJ(a.range.start+b,a.range.end):WJ(b,c)};
$K=function(a,b,c){this.index=null;this.info=b;this.initRange=c||null;this.g=null;this.C=!1;this.B=null;this.A=new Nka(a);this.o=null;this.F=window.NaN};
aL=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.o&&(g.oI(a.info)?a.o=Cka(b):2==a.info.containerType&&(a.o=Gka(b)))};
bL=function(a,b,c,d,e,f){f=void 0===f?0:f;$K.call(this,a,b,d);this.index=e||new g.rJ;this.D=f;this.I=c;this.H=!0;if(this.l=!c)this.C=!0};
cL=function(a,b,c){this.segments=[];this.l=a;this.A=void 0===b?0:b;this.g=void 0===c?!1:c;this.o=-1};
eL=function(a,b,c){b=dL(a,b);return 0<=b&&(c||!a.segments[b].g)};
fL=function(a){return a.segments.length?a.segments[a.segments.length-1]:null};
dL=function(a,b){return g.fb(a.segments,{sa:b},function(a,b){return a.sa-b.sa})};
gL=function(a,b,c){return new qJ(b,c.startTime-(c.sa-b)*a.l,a.l,0,"sq/"+b,void 0,void 0,!0)};
hL=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?14400:e;bL.call(this,a,b,"",void 0,void 0,c);this.index=new cL(c||0,e,d)};
Pka=function(a,b,c,d,e){this.sa=a;this.Pe=b;this.durationSecs=c;this.g=d||window.NaN;this.l=e||window.NaN};
iL=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""};
jL=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};
kL=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)};
lL=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
mL=function(){this.g=[];this.l=null;this.B=0;this.A=[];this.o=!1;this.C=""};
Qka=function(a){var b=a.A;a.A=[];return b};
Rka=function(){this.A=[];this.g=null;this.l={};this.o={}};
Vka=function(a,b,c){var d=[];b=g.la(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=Ska(a):"AdaptationSet"==f.nodeName?k=Tka(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Uka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);Za(d,Qka(k))}eaa(d,function(a){return a.Pe});
Za(a.A,d)};
Wka=function(a){a.g&&(a.g.g=[]);g.Kb(a.l,function(a){a.g=[]});
g.Kb(a.o,function(a){a.g=[]})};
Ska=function(a){a.g||(a.g=new mL);return a.g};
Tka=function(a,b){a.l[b]||(a.l[b]=new mL);return a.l[b]};
Uka=function(a,b){a.o[b]||(a.o[b]=new mL);return a.o[b]};
g.nL=function(){this.Fa=0;this.g=new window.Float64Array(128);this.l=new window.Float64Array(128);this.A=1;this.o=!1};
oL=function(a){if(a.g.length<a.Fa+1){var b=2*a.g.length;b+=2;var c=a.g;a.g=new window.Float64Array(b+1);var d=a.l;a.l=new window.Float64Array(b+1);for(b=0;b<a.Fa+1;b++)a.g[b]=c[b],a.l[b]=d[b]}};
g.pL=function(a,b,c,d,e,f){$K.call(this,a,b,c||void 0);this.indexRange=d;this.D=null;this.index=new g.nL;this.l=e;this.lastModified=f};
qL=function(a,b,c,d){for(var e=[];b<=a.index.Vb();b++){var f=a.index,k=b;f=WJ(f.lo(k),k+1<f.Fa||f.o?f.g[k+1]-f.g[k]:-1);k=a.index.Xd(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 YJ(3,a,f,b,k,l,m,n,b==a.index.Vb()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new VK(e)};
Xka=function(a,b){return rL(function(a,b){return g.dF(a,b,4,1E3)},a,b)};
g.sL=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=String.fromCharCode.apply(String,new window.Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""};
rL=function(a,b,c){return a(b,c).then(function(b){var d=g.sL(b);return d?rL(a,d,c):b})};
uL=function(a){a=a.split("");tL.bL(a,2);tL.hT(a,12);tL.hT(a,49);tL.bL(a,1);tL.fG(a,9);tL.hT(a,68);tL.fG(a,1);tL.bL(a,3);return a.join("")};
vL=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.aG.call(this);this.R=this.duration=0;this.isLive=this.o=!1;this.I=g.AG();this.D=window.Infinity;this.g={};this.W=a||"";this.C=this.L=0;this.B=null;this.da=!!b&&b.g("html5_live_nonzero_first_segment_start_time");this.l=!1;this.K=[];this.ea=!!b&&b.g("html5_live_self_init_segments");this.A=null;this.fa=c;this.Z=!b||!b.g("html5_manifest_without_credentials");this.F=0;this.N=!!b&&b.g("disable_html5_manifest_namespace_redux");
this.Y="";this.H=window.NaN;this.X=b&&b.g("disable_html5_duration_caching")?window.Infinity:10};
wL=function(a){return Mb(a.g,function(a){return!!a.info.Hc})};
g.xL=function(a){return Mb(a.g,function(a){return g.rI(a.info.mimeType)})};
Yka=function(a){return g.Ob(a.g,function(a){return a.info.video?a.Ut():!0})};
yL=function(a,b,c,d,e){c=void 0===c?0:c;return(void 0===d?0:d)?Zka(a,b,e):$ka(a,b,c,e)};
$ka=function(a,b,c,d){c=void 0===c?0:c;var e=new vL("",d,!1);e.duration=c||0;(0,g.B)(a,function(a){var c=zL(a,b,e.duration),d=VJ(a.init),f=VJ(a.index),n=(0,window.parseInt)(a.clen,10),q=AL(a.url,a.sp,a.s);a=(0,window.parseInt)(a.lmt,10);q&&(c=new g.pL(q,c,d,f,n,a),e.g[c.info.id]=c)});
return e};
Zka=function(a,b,c){var d=new vL("",c,!0);(0,g.B)(a,function(a){var e=zL(a,b),k=AL(a.url,a.sp,a.s),l=(0,window.parseInt)(a.target_duration_sec,10);a=(0,window.parseInt)(a.max_dvr_duration_sec,10)||14400;k&&(e=new hL(k,e,l,c&&c.g("html5_manifestless_interpolate"),a),d.g[e.info.id]=e)});
d.o=!0;d.l=!0;d.isLive=!0;return d};
zL=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=ala(a),k=null,l=null;qI(d)&&(k=(a.size||"640x360").split("x"),k=new gI(+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=bla(d,k));var m=null,n=null;if(pI(d)){m=0;if("258"==e||"261"==e)m=6;m=new dI(void 0,m,+a.spatial_audio_type);a.name&&(n=new ZH(a.name,a.audio_track_id,"1"==a.isDefault))}a.caption_display_name&&a.caption_vss_id&&a.caption_language_code&&
(l=new oka(a.caption_display_name,a.caption_vss_id,a.caption_language_code,a.caption_kind));e=(0,window.parseInt)(a.bitrate,10)/8;var q=(0,window.parseInt)(a.clen,10);c=c&&q?q/c:0;var r=null;b&&a.drm_families&&(r={},(0,g.B)(a.drm_families.split(","),function(a){r[a]=b[a]}));
return new lI(f,d,m,k,n,r,e,c,l)};
ala=function(a){var b=a.itag,c=a.xtags;c&&(b=a.itag+";"+c);return b};
AL=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=new g.FK(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");c&&(b||(b="signature"),d.set(b,uL(c)));return d};
DL=function(a,b){var c=iL(b,"id");c=c.replace(":",";");"captions"==c&&(c=iL(b,"lang"));var d=iL(b,"mimeType"),e=iL(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=(0,window.parseInt)(iL(b,"bandwidth"),10)/8;var f=(0,window.parseInt)(jL(b,"BaseURL").getAttribute(BL(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(qI(d)){k=(0,window.parseInt)(iL(b,"width"),10);var l=(0,window.parseInt)(iL(b,"height"),10),m=(0,window.parseInt)(iL(b,"frameRate"),10),n=dla(iL(b,BL(a,"projectionType")));a:switch(iL(b,
BL(a,"stereoLayout"))){case "layout_left_right":var q=1;break a;case "layout_top_bottom":q=2;break a;default:q=0}iL(b,"video_level");k=new gI(k,l,m,n,q,void 0,void 0,void 0,void 0,void 0,void 0)}m=l=null;if(pI(d))if(l=(0,window.parseInt)(iL(b,"audioSamplingRate"),10),m=(0,window.parseInt)(iL(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=ela(iL(b,BL(a,"spatialAudioType"))),l=new dI(l,m,n),m=iL(b,"lang")||"und",n=jL(b,"Role")){var r=iL(n,"value")||"";Ub(CL,r)?(n=m+"."+CL[r],
q="main"==r,m=iL(b,BL(a,"langName"))||m+" - "+r,m=new ZH(m,n,q)):m=null}else m=null;q=null;if(n=jL(b,"ContentProtection"))if(g.PE())if((q=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==q.value)for(q={},n=n.firstChild;null!=n;n=n.nextSibling)"yt:SystemURL"==n.nodeName&&(q[n.attributes.type.value]=n.textContent.trim());else q=null;else if((q=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==q.textContent)for(q={},n=n.firstChild;null!=n;n=n.nextSibling)"SystemURL"==n.localName&&
"http://youtube.com/yt/2012/10/10"==n.namespaceURI&&(q[n.attributes.type.textContent]=n.textContent.trim());else q=null;return new lI(c,d,l,k,m,q,e,f)};
dla=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}};
ela=function(a){switch(a){case "spatial_audio_type_ambisonics_5_1":return 1;case "spatial_audio_type_ambisonics_quad":return 2;case "spatial_audio_type_foa_with_non_diegetic":return 3;default:return 0}};
EL=function(a,b){b=void 0===b?"":b;a.C=1;a.I=g.AG();return g.mg(Xka(b||a.W,{format:"RAW",method:"GET",withCredentials:a.Z}).then((0,g.z)(a.yI,a)),(0,g.z)(a.BI,a))};
FL=function(a,b){var c=new vL,d;for(d in a)c[d]=g.dc(a[d]);var e={},f=!1;g.Kb(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};
fla=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=VJ(a):d=d+"?range="+a));return new qJ(b.sa,b.Pe,b.durationSecs,b.g,d,e,b.l)};
GL=function(a){return a.isLive&&g.AG()-a.I>=a.D};
HL=function(a){var b=a.D;(0,window.isFinite)(b)&&(GL(a)?a.fA():(b=Math.max(0,a.I+b-g.AG()),a.A||(a.A=new g.mu(a.fA,b,a),g.L(a,a.A)),a.A.start(b)))};
gla=function(a){a=a.g;for(var b in a){var c=a[b].index;if(c&&c.Mb())return c.Vb()+1}return 0};
IL=function(a){if(!(0,window.isNaN)(a.H))return a.H;var b=a.g,c;for(c in b){var d=b[c].index;if(d&&d.Mb()){b=0;for(c=d.Ff();c<=d.Vb();c++)b+=d.getDuration(c);b/=d.hj();b=.5*Math.round(b/.5);d.hj()>a.X&&(a.H=b);return b}if(a.isLive&&(d=b[c],d.D))return d.D}return window.NaN};
JL=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d&&d.Mb()){var e=d.Tg(b),f=d.Us(e);if(f)return f+b-d.Xd(e)}}return window.NaN};
hla=function(a,b){g.Kb(a.g,function(a){g.Kb(b,function(b,c){var d=a.A;d.o.set(c,b);d.B.set(c,b);d.l&&d.l.set(c,b)})})};
ila=function(a,b,c){var d=!1,e;for(e in a.g){var f=g.rI(a.g[e].info.mimeType)||!!a.g[e].info.video;c==f&&(f=a.g[e].index,eL(f,b.sa)||(f.dA(b),d=!0))}return d};
KL=function(a,b,c){for(var d in a.g){var e=g.rI(a.g[d].info.mimeType)||!!a.g[d].info.video;if(c==e){e=a.g[d].index;var f=dL(e,b);0<=f&&e.segments.splice(f,1)}}};
BL=function(a,b){return a.N?"yt:"+b:a.Y+":"+b};
bla=function(a,b){null===LL&&(LL=window.MediaSource&&window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16.09"')&&!window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99.99"'));if(!LL&&!ML||'video/webm; codecs="vp9"'!=a&&'video/webm; codecs="vp9.2"'!=a)return a;var c="00",d="08",e="01",f="01",k="01";'video/webm; codecs="vp9.2"'==a&&(c="02",d="10","bt2020"==b.primaries&&(k=e="09"),"smpte2084"==b.g&&(f="16"),"arib-std-b67"==
b.g&&(f="18"));return'video/webm; codecs="'+["vp09",c,"51",d,"01",e,f,k].join(".")+'"'};
jla=function(a){return g.Ma(Object.values(a.g),function(a){return a.info.Hc&&a.info.video?480<a.info.video.l&&"H"==a.info.l:!1})};
NL=function(a,b,c,d){this.flavor=a;this.g=b;this.A=c;this.o={};this.l=null;this.fairPlayCert="";this.B=!!d&&d.g("edge_nonprefixed_eme")};
PL=function(a){return a.B?!1:!a.l&&!!OL()&&"com.microsoft.playready"==a.g};
QL=function(a){return"com.microsoft.playready"==a.g};
SL=function(a){return RL&&"com.microsoft.playready"==a.g&&!!window.navigator.requestMediaKeySystemAccess};
TL=function(a){return!a.l&&!!OL()&&"com.apple.fps.1_0"==a.g};
OL=function(){var a=window.MSMediaKeys;UE()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
VL=function(a){return window.navigator.requestMediaKeySystemAccess?g.QI?g.co("45"):RL||g.yd?a.g("edge_nonprefixed_eme"):g.UL?g.co("47"):!a.g("html5_disable_nonprefixed_eme_for_other"):!1};
WL=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.l=c||null;if(this.g){var d={};(0,g.B)(this.g,(0,g.z)(function(a){if(a.Nb&&!d[a.id]){var b=new cI(a.id,a.Nb);d[a.id]=b;this.audioTracks.push(b)}},this))}};
XL=function(a,b){var c={},d=b.Ze()||b.Pf()||b.Qf();QE();for(var e in b.g){var f=b.g[e],k=kI(f.info);("304"!=k&&"266"!=k||b.o||d)&&xka(a,f.info)&&(c[f.info.l]=c[f.info.l]||[],c[f.info.l].push(f.info))}return c};
kla=function(a,b,c){var d={},e;g.Kb(b,function(b,k){var f=b.filter(function(b){if(!b.Hc)return!0;if(!c||!b.Hc[c.flavor]||!c.o[b.mimeType])return!1;if("261"==kI(b)&&!VI(a,bJ))return e||(e=GI()),!1;(b="("!=b.l&&"(h"!=b.l)||(b=VI(a,aJ)||a.C);return b?!0:!1});
f.length&&(d[k]=f)});
return d};
bM=function(a,b,c,d,e,f,k){function l(a){return!!m[a]}
var m=XL(a,b);wL(b)&&(m=kla(a,m,c));var n=lla;f?n=mla:ME("windows nt 5.1")&&!g.UL?n=YL:(b.Pf()||b.Qf()||b.Ze())&&ZL&&6>=TI&&(n=YL);c=nla;d&&(f||(n=YL),c=ola);if(SE()||TE()||VI(a,bJ))c=pla;(b.Pf()||b.Qf()||b.Ze())&&e&&(c=qla.concat(c));k&&(c=g.Ya(c),c.unshift("ah"));d=g.Ma(n,l);e=g.Ma(c,l);if(!d||!e)return fF();"9"==d&&m.h&&(f=function(a,b){return Math.max(a,b.video.height)},k=mk(m["9"],f,0),mk(m.h,f,0)>1.5*k&&(d="h"),b.o&&a.l.g("html5_vp9_live_blacklist_edge")&&RL&&(d="h"));
b=m[d];f=m[e];b=$L(a,b);aM(b,f);return gF(new WL(b,f,rla(a,m,d,e)))};
rla=function(a,b,c,d){var e=b.h;"f"==c&&(e=b[c]);var f=b.a;c=b[c]!=e;b=b[d]!=f;return e&&f&&(c||b)?(e=$L(a,e),aM(e,f),new WL(e,f)):null};
aM=function(a,b){g.ib(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.g-a.g});
g.ib(b,function(a,b){return b.g-a.g})};
$L=function(a,b){var c=(0,g.Ej)(b,function(a){return 32<a.video.fps});
c&&(b=yka(a)?(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&&SE()&&(b=(0,g.Ld)(b,function(a){return"299"!=kI(a)}));
return b};
cM=function(a,b,c){g.K.call(this);this.l=[];this.g={};this.A={};this.B=null;this.o=b;this.H=c;this.C=!1;sla(this,a)};
sla=function(a,b){for(var c in b)for(var d=g.la(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.Hc)return;for(var f in e.Hc){if(!dM[f])return;for(var k=g.la(dM[f]),l=k.next();!l.done;l=k.next())l=l.value,a.g[l]=a.g[l]||new NL(f,l,e.Hc[f],a.o),a.A[f]=a.A[f]||{},a.A[f][e.mimeType]=!0}}RE()?(a.l=["com.youtube.fairplay"],a.g["com.youtube.fairplay"]=new NL("fairplay","com.youtube.fairplay","",a.o),a.A.fairplay={'audio/mp4; codecs="avc1.4d4015"':!0,'video/mp4; codecs="mp4a.40.2"':!0}):a.l=tla.filter(function(b){return a.g[b]?
!(a.H&&"widevine"==a.g[b].flavor):!1})};
eM=function(a){if(!a.ha())if(0==a.l.length)a.B(null);else{var b=a.l[0],c=a.g[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};QL(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.A[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;a.o.g("html5_widevine_robustness_strings")&&"widevine"==c.flavor&&!a.C?f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(f=a.o.g("html5_widevine_hw_secure_all")?"HW_SECURE_ALL":"HW_DECODE_ALL",k.push({contentType:e,
robustness:f}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"})):k.push({contentType:e})}window.navigator.requestMediaKeySystemAccess(b,[d]).then(eE((0,g.z)(a.F,a,c)),eE((0,g.z)(a.D,a)))}};
ula=function(a,b){function c(a){b.o[a.contentType]=!0}
if(QL(b)){var d=GI(),e;for(e in a.A[b.flavor])b.o[e]=!!d.canPlayType(e)}else d=b.l.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
wla=function(a){if(OL()&&g.Ek)a.B(new NL("fairplay","com.apple.fps.1_0","",a.o));else{var b=vla(),c=g.Ma(a.l,function(c){var d=a.g[c],f=!1,k=!1,l;for(l in a.A[d.flavor])b(l,c)&&(d.o[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k});
c=c?a.g[c]:null;a.l=[];a.B(c)}};
vla=function(){var a=OL();if(a)return function(b,d){return a.isTypeSupported(d,b)};
var b=GI();return b&&(b.addKey||b.webkitAddKey)?(0,g.z)(b.canPlayType,b):function(){return!1}};
xla=function(){this.A=2048;this.g=17;this.o=13E4;this.D=.5;this.l=!1;this.B=0;this.C=!1};
yla=function(){this.l=0;this.C=this.bandwidthEstimate=this.B=this.o=this.A=window.NaN;this.g=""};
fM=function(a){this.B=Math.exp(Math.log(.5)/a);this.o=this.A=0};
hM=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.K=b;this.o=Math.round(a*this.K);this.B=Array(this.o);for(a=0;a<this.o;a++)this.B[a]=window.Infinity;this.I=gM(this);this.A=0;this.C=!1;this.F=!0;this.D=c;this.H=d};
gM=function(a){for(var b=Array(a.o),c=0;c<a.o;c++)b[c]=c;return b};
iM=function(a,b){if(!a.C&&0==a.A)return 0;a.F&&(g.ib(a.I,function(b,d){return a.B[b]-a.B[d]}),a.F=!1);
return a.B[a.I[Math.round(b*((a.C?a.o:a.A)-1))]]||0};
zla=function(a){this.policy=a;this.H=this.I=0;this.B=-1;this.F=this.o=g.AG();this.D=new hM(4,1,.6,.4);this.A=new hM(10,1,.5,.4);this.g=a.l?new fM(a.g):new hM(a.g,20,.5,.4);this.C=new hM(5,1,.25);this.l=new hM(30,1,.5);a=g.hH("yt-player-bandwidth")||{};this.g.g(this.policy.D,0<a.byterate?a.byterate:this.policy.o);0<a.delay&&this.D.g(1,Math.min(+a.delay,2));0<a.stall&&this.A.g(1,+a.stall);0<a.init&&(this.F=Math.min(a.init,this.F));this.B=g.AG()};
kM=function(a,b,c){b=Math.max(b,a.policy.A);a.A.g(1,c/b);jM(a)};
lM=function(a){a=a.D.l();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
mM=function(a,b,c){(0,window.isNaN)(c)||(a.H+=c);(0,window.isNaN)(b)||(a.I+=b)};
nM=function(a){a=a.g.l();return 0<a?a:1};
oM=function(a){var b=nM(a);b=1/((a.A.l()||0)+1/b);a=a.C.l();return Math.max(b,0<a?a:1)};
pM=function(a){var b={};b.delay=lM(a);b.stall=a.A.l()||0;b.byterate=nM(a);b.init=a.F;return b};
jM=function(a){-1<a.B&&3E4<g.AG()-a.B&&(mH(pM(a)),a.B=g.AG())};
qM=function(a){return 4E3<=g.AG()-a.o};
rM=function(){g.aG.call(this);this.Ga={}};
sM=function(a,b){return void 0==b?a:"1"==b?!0:!1};
tM=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
uM=function(a,b){return void 0==b?a:Number(b)};
vM=function(a,b){return void 0==b?a:b.toString()};
wM=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(Ala);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
xM=function(a){return a.docid||a.video_id||a.videoId||a.id};
zM=function(){this.g=g.cE("ALT_PREF_COOKIE_NAME","PREF");var a=QG.get(""+this.g,void 0);if(a){a=(0,window.decodeURIComponent)(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(yM[d]=c.toString())}}};
AM=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
BM=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
RM=function(a){g.K.call(this);a=g.cc(a);this.ib=!1;this.R=this.da="";this.Jb={};this.Eh=vM("",a.csp_nonce);this.experiments=new tI(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(e){b=""}this.W=b;this.ae=(b=window.location.ancestorOrigins)?Array.from(b):[];this.g=Bla.test(this.W);this.isEmbed=sM(!1,a.is_embed);this.loaderUrl=this.g?vM("",a.loaderUrl):this.W;b=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*youtubeeducation\.com(:[0-9]+)?\//.test(this.loaderUrl);
this.ub=Cla.test(this.loaderUrl)&&(this.experiments.g("web_player_trust_edu_killswitch")||!b);b=this.loaderUrl;var c=void 0===c?!1:c;this.im=sH(Dla.test(b),b,c,"Trusted Ad Domain URL");this.ia=sM(!1,a.privembed);this.D=(this.fa=sM(!1,a.forcenewui))||this.experiments.g("embed_new_info_bar")&&this.g;this.protocol=0==this.W.indexOf("http:")?"http":"https";this.baseYtUrl=tH(a.BASE_YT_URL||"")||tH(this.W)||this.protocol+"://www.youtube.com/";c=a.el;b="detailpage";"adunit"==c?b=this.g?"embedded":"detailpage":
"embedded"==c||this.ub?b=tM(b,c,Ela):c&&(b="embedded");this.K=b;LG();c=null;b=a.ps;var d=g.Qa(CM,b);!b||d&&!this.ub||(c=b);this.playerStyle=c;this.C=(this.jc=g.Qa(CM,this.playerStyle))&&"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.Li=!this.C;c={};this.o=(c.c=a.c||"web",c.cver=a.cver||"html5",c.cplayer="UNIPLAYER",c);this.F=sM(!1,a.disableplaybackui);this.ea=!this.F&&!(!GI().defaultPlaybackRate||g.gf&&!ME("chrome")||DM||EM||ME("android")||ME("silk"));this.l=sM("blazer"==this.playerStyle,
a.is_html5_mobile_device);this.l?c=!0:(c=(0,window.parseInt)((0,g.F)()/1E3,10),b=zM.getInstance(),c=this.experiments.g("block_desktop_background_playback_with_mobile_cookie")&&b&&c>(0,window.parseInt)(b.get("dhmu",c.toString()),10));this.Ki=c;this.N="3"==this.A||this.l||sM(!1,a.use_media_volume);this.I=HI();this.pm=FM;this.za=g.GM(this)&&this.experiments.g("use_rawcc_captions");this.isDni=sM(!1,a.is_dni);this.dniColor=vM("#cc181e",a.dni_color);this.wc=this.fa||sM(!HM(this)&&!IM(this)&&!this.jc,a.showinfo);
this.wf=sM(!1,a.playsinline);c=this.l&&ZL&&2.3>=TI;b=this.l;b=JM(this)||!c&&sM(b,a.use_native_controls)?"3":"1";this.A="0"!=a.controls?b:"0";this.useTabletControls=this.l;this.color=tM("red",a.color,Fla);this.jm="3"==this.A||sM(!1,a.modestbranding)&&"red"==this.color;this.X=0==this.loaderUrl.indexOf(this.baseYtUrl);this.hg=(b=!this.X&&!IM(this)&&!this.C&&!this.jc&&!HM(this))&&(this.isDni||!this.jm)&&"1"==this.A;this.Fg=g.KM(this)&&b&&!this.wc&&!this.hg;this.vn=this.km=c;this.xd=!EM||g.sc(601)?!0:
!1;this.zd=this.g||!1;this.ma=IM(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=vM("",a.widget_referrer);this.Pa=(!this.ub||sM(!0,a.enablecastapi))&&"1"==this.A&&!this.l&&(IM(this)||g.KM(this)||g.LM(this));this.Mc=!this.l&&!VE()&&!ME("nintendo 3ds")||sM(!1,a.autoplayoverride);this.ed=sM(!1,a.mutedautoplay)&&!1;c=(IM(this)||HM(this))&&"blazer"==this.playerStyle;this.Xa=!sM(!0,a.fs);this.ca=!this.Xa&&(c||zF());this.Dh=this.experiments.g("uniplayer_block_pip")&&
OE()&&g.co(58)&&!(g.mo&&ME("version/"));this.Kc=this.fa||sM(!this.jc,a.rel);this.rm=sM(!1,a.co_rel);this.Z=g.LM(this);this.Pb="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":c="bl";break;case "gmail":c="gm";break;case "books":c="gb";break;case "docs":c="gd";break;case "google-live":c="gl";break;case "play":c="gp";break;case "chat":c="hc";break;case "picasaweb":c="pw";break;default:c="yt"}this.Ca=c;this.Wc=vM("",a.authuser);this.sm=(this.g&&!this.ia||!!this.Wc)&&sM(!this.C,this.ub?
a.showwatchlater:void 0);this.Ld=sM(!1,a.disablekb);this.yd=vM("",a.ecver);this.loop=sM(!1,a.loop);this.pageId=vM("",a.pageid);this.qm=sM(!0,a.canplaylive);this.Fh=sM(this.jc,a.ss);(c=a.video_container_override)?(b=c.split("x"),2!=b.length?c=null:(c=(0,window.parseInt)(b[0],10),b=(0,window.parseInt)(b[1],10),c=(0,window.isNaN)(c)||(0,window.isNaN)(b)||0>=c*b?null:new g.kd(c,b))):c=null;this.Gg=c;this.mute=sM(!1,a.mute);this.useMiniplayerUi=sM(!1,a.use_miniplayer_ui);this.storeUserVolume=!this.mute&&
sM("0"!=this.A,a.store_user_volume);this.Ig="3"==this.A?3:tM(void 0,a.iv_load_policy,MM);this.Kg=vM("",a.cc_lang_pref);c=tM(2,a.cc_load_policy,MM);"3"==this.A&&2==c&&(c=3);this.Lg=c;this.oa=vM("en_US",a.hl);this.region=vM("US",a.cr);this.hostLanguage=vM("en",a.host_language);this.Ch=!this.ia&&Math.random()<this.experiments.l("web_player_api_logging_fraction");this.L=!this.ia&&!this.experiments.g("web_player_interaction_logging_killswitch");this.Ta=new window.Set;this.deviceHasDisplay=sM(!0,a.deviceHasDisplay);
this.sg=uM(this.sg,a.ismb);c=a;this.experiments.o("html5_qoe_intercept")?c=this.experiments.o("html5_qoe_intercept"):this.Li?(c=c.vss_host||"s.youtube.com",this.experiments.g("www_for_videostats")&&"s.youtube.com"==c&&(c=NM(this.baseYtUrl)||"www.youtube.com")):c="video.google.com";this.Hg=c;this.Dg(a);this.Jb=a;this.B=new rM;g.L(this,this.B);this.H=this.l&&!this.experiments.g("enable_svg_mode_on_embed_mobile");this.Ad={innertubeApiKey:vM("",a.innertube_api_key),innertubeApiVersion:vM("",a.innertube_api_version),
Ur:this.o.c,innertubeContextClientVersion:vM("",a.innertube_context_client_version),Wr:this.hostLanguage,Vr:this.region,Qn:""};this.yf=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.Y=new tka(this.experiments,this.experiments.g("html5_force_hfr_support")?!0:g.OM(this)||SE()||TE()||PM(this),g.QI&&56<=g.LE()||PM(this));c=new xla;g.QM(this)&&(c.l=!0,c.D=.1);this.experiments.g("html5_ewma_bandwidth_estimator")&&(c.l=!0);this.sg&&(c.o=this.sg/8);c.g=this.experiments.l("html5_bandwidth_window_size")||
c.g;c.C=this.experiments.g("html5_dont_predict_end_time_in_past");this.schedule=new zla(c);this.enableSafetyMode=sM(!1,a.enable_safety_mode);this.Kd=sM(this.F?!1:IM(this)&&"blazer"!=this.playerStyle,a.autonav);this.Db=sM(!1,a.send_visitor_id_header)||this.experiments.A;this.Jg=!1;this.xf=mJ;this.vf=g.AG();this.We=!1;this.Im=sM(!1,a.transparent_background);this.disableNativeContextMenu=sM(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.Ji=g.OM(this)&&this.experiments.g("enable_skip_intro_button");
this.Md=vM("",a.embed_config);this.ln=sM(!0,a.use_fast_sizing_on_watch_default);this.g!=this.isEmbed&&fE(Error("is_embed mismatch at "+this.W+": "+this.isEmbed));this.qb=!1};
SM=function(a,b){return!a.jc&&OE()&&g.co(55)&&!b};
TM=function(a){a=NM(a.baseYtUrl);return"www.youtube-nocookie.com"==a?"www.youtube.com":a};
UM=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":TM(a)};
VM=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
Gla=function(){return g.NG()};
WM=function(){return!0};
YM=function(a){return IM(a)&&"gaming"!=a.playerStyle&&!g.XM(a)};
JM=function(a){return EM&&!a.wf||VE()||ME("nintendo 3ds")?!0:!1};
g.QM=function(a){if(!a.experiments.g("html5_tv_interface_check_killswitch")&&/^TVHTML5/.test(a.o.c))return!0;a=a.o.cplatform;return g.QI&&ME("crkey")||"TV"==a};
PM=function(a){return"CHROMECAST ULTRA/STEAK"==a.o.cmodel||"CHROMECAST/STEAK"==a.o.cmodel};
g.ZM=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
g.OM=function(a){return"web"==a.o.c.toLowerCase().substr(0,3)};
g.XM=function(a){return"WEB_UNPLUGGED"==a.o.c};
g.GM=function(a){return g.XM(a)||"TV_UNPLUGGED_CAST"==a.o.c||"TVHTML5_UNPLUGGED"==a.o.c};
g.$M=function(a){return a.deviceHasDisplay&&g.QI&&!SI&&"3"!==a.A?g.mo?a.g&&g.sc(51):!0:!1};
g.aN=function(a){return a.deviceHasDisplay&&g.UL&&!SI&&"3"!==a.A?g.mo?a.g&&g.sc(48):g.sc(38):!1};
bN=function(a){return g.$M(a)||g.aN(a)||(a.deviceHasDisplay&&g.gf&&!SI&&"3"!==a.A?g.mo?a.g&&g.sc(37):g.sc(27):!1)||a.deviceHasDisplay&&g.GH&&!WE()&&g.sc(11)||a.deviceHasDisplay&&g.Ek&&g.sc("604.4")&&a.experiments.g("safari_enable_spherical")};
Hla=function(a){return a.experiments.g("disable_html5_ambisonic_audio")||!(bN(a)||a.experiments.g("html5_enable_spherical")||a.experiments.g("html5_enable_spherical3d"))||g.KM(a)&&ZL||g.UL&&(!g.sc(47)||!g.sc(52)&&g.sc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1};
IM=function(a){return"detailpage"==a.K};
g.KM=function(a){return"embedded"==a.K};
g.cN=function(a){return"leanback"==a.K};
HM=function(a){return"adunit"==a.K||"gvn"==a.playerStyle};
g.LM=function(a){return"profilepage"==a.K};
dN=function(a){return XE()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(a.o.cmodel)};
NM=function(a){var b=g.Jg(a);return(a=g.Kg(a))?b+":"+a:b};
g.eN=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
fN=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
Ila=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.Mw=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.g=m||"";this.Nb=void 0===n?null:n};
gN=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c],f=e.type.match(/codecs="([^"]*)"/);f=f?f[1]:"";var k=null;e.audio_track_id&&(k=new ZH(e.name,e.audio_track_id,!!e.is_default));e=new Ila(e.itag,e.url,f,+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families,k);b[e.itag]=b[e.itag]||[];b[e.itag].push(e)}return b};
Jla=function(a,b,c){this.o=a;this.g=b;this.B=0;this.l="";this.A=c};
hN=function(a,b){return a.A?g.Ug(b,{cpn:a.A}):b};
Kla=function(a,b){var c="#EXT-X-MEDIA:TYPE=AUDIO,",d="YES",e="audio";if(b.Nb){e=b.Nb;var f=e.getId().split(".")[0];f&&(c+='LANGUAGE="'+f+'",');a.l||e.isDefault||(d="NO");e=e.name}f=hN(a,b.url);return c=c+('NAME="'+e+'",'+("DEFAULT="+d+",AUTOSELECT=YES,"))+('GROUP-ID="'+b.itag.toString()+'",'+('URI="'+f+'"'))};
Lla=function(a){for(var b=[],c=[],d=0,e=a.g.length;d<e;++d){var f=a.g[d];f.bitrate<=a.B?b.push(f):c.push(f)}b.sort(function(a,b){return b.bitrate-a.bitrate});
c.sort(function(a,b){return a.bitrate-b.bitrate});
a.g=b.concat(c)};
iN=function(a,b){this.bj=a;this.o=b;this.l=null};
Mla=function(a,b,c,d,e){if(!(SI||UE()||RE()))return fF();c=gN(c);if(!c)return fF();var f={},k=(f.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",f),l;f=[];var m=[],n=[],q=a.experiments.l("html5_hls_min_video_height"),r;for(r in c)if(!a.experiments.g("html5_disable_drm_hfr_1080")||"383"!=r&&"373"!=r){var u=g.la(c[r]);for(l=u.next();!l.done;l=u.next()){var C=l.value;if(C.width){if(!(C.height<q)){var I=c[C.audioItag];if(I&&(f.push(C),l="fairplay"==C.g?k:null,n.push(jN(I,[C],e,C.itag,C.width,
C.height,C.fps,void 0,void 0,l)),!N||C.width*C.height*C.fps>N.width*N.height*N.fps))var N=C}}else m.push(C)}}l=n.reduce(function(a,b){return!!b.bj.Hc&&a},!0)?k:null;
d=Math.max(d,a.experiments.l("html5_hls_initial_bitrate"));!a.experiments.g("html5_hls_optimal_resolution_killswitch")&&N?n.push(jN(m,f,e,"93",N.width,N.height,N.fps,"auto",d,l)):n.push(jN(m,f,e,"93",0,0,0,"auto",d,l));return hJ(n,SM(a,b))};
jN=function(a,b,c,d,e,f,k,l,m,n){var q=new dI;e=new gI(e,f,k,null,void 0,l);d=new lI(d,"application/x-mpegURL",q,e,void 0,n);a=new Jla(a,b,c);a.B=m?m:1369843;return new iN(d,a)};
kN=function(a,b){this.bj=a;this.l=b};
lN=function(a,b,c,d){var e=[];c=g.la(c);for(var f=c.next();!f.done;f=c.next()){var k=f.value;if(k.url){f=new g.FK(k.url);k.s&&f.set(k.sp||"signature",uL(k.s));for(var l in d)f.set(l,d[l]);k=sI(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new kN(k,f))}}return hJ(e,SM(a,b))};
mN=function(a,b){this.bj=a;this.l=b};
Nla=function(a){var b=[];(0,g.B)(a,function(a){if(a.url){var c=sI(a.type,"medium","0");b.push(new mN(c,a.url))}});
return b};
nN=function(a){if(a){var b=[],c;for(c in a)Ola.has(c)||b.push(c);b.length&&(b.sort(),g.dE(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}};
g.oN=function(a,b,c,d){this.Qc=new window.Set;this.H=a;this.I=b;a=c.split("#");this.C=(0,window.parseInt)(a[0],10);this.B=(0,window.parseInt)(a[1],10);this.o=(0,window.parseInt)(a[2],10);this.columns=(0,window.parseInt)(a[3],10);this.rows=(0,window.parseInt)(a[4],10);this.l=(0,window.parseInt)(a[5],10);this.A=a[6];this.D=a[7];this.K=d};
g.pN=function(a,b){a.oo();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.xl()+1-d*c;if(k<a.columns){var l=k;d=1}else l=a.columns,d=k<d?Math.ceil(k/a.columns):a.rows;return{url:a.Oa(c),column:f,columns:l,row:e,rows:d,Ct:a.C*l,Bt:a.B*d}};
qN=function(a){g.aG.call(this);this.A=new ED;this.l=null;this.F=new window.Set;this.D=a||""};
sN=function(a,b,c){for(c=rN(a,c);0<=c;){var d=a.g[c];if(d.Mb(Math.floor(b/(d.columns*d.rows)))&&(d=g.pN(d,b)))return d;c--}return g.pN(a.g[0],b)};
uN=function(a,b,c){c=rN(a,c);for(var d,e;0<=c;c--)if(d=a.g[c],e=Math.floor(b/(d.columns*d.rows)),!d.Mb(e)){d=a;var f=c,k=f+"-"+e;d.F.has(k)||(d.F.add(k),DD(d.A,f,{ez:f,LA:e}))}tN(a)};
tN=function(a){if(!a.l&&!a.A.isEmpty()){var b=a.A.remove(),c=new window.Image;a.D&&(c.crossOrigin=a.D);c.src=a.g[b.ez].Oa(b.LA);c.onload=(0,g.z)(a.I,a,b.ez,b.LA);a.l=c}};
vN=function(a,b,c,d){d=void 0===d?!1:d;qN.call(this,c);this.isLive=d;this.g=this.o(a,b);this.B=new window.Map;1<this.g.length&&this.g[0].isDefault()&&this.g.splice(0,1)};
rN=function(a,b){var c=a.B.get(b);if(c)return c;c=a.g.length;for(var d=0;d<c;d++)if(a.g[d].Ab()>=b)return a.B.set(b,d),d;a.B.set(b,c-1);return c-1};
wN=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.oN.call(this,a,b,c,0);this.g=null;this.F=d?3:0};
xN=function(a,b){vN.call(this,a,0,void 0,b)};
Pla=function(a){if(void 0==window.navigator.mediaCapabilities)return gF(a);var b=(0,g.G)(a.videoInfos,function(a){return window.navigator.mediaCapabilities.decodingInfo({type:"media-source",video:a.video?{contentType:a.mimeType,width:a.video.width||640,height:a.video.height||360,bitrate:8*a.g||1E6,framerate:a.video.fps||30}:null})});
return g.ig(b).then(function(b){for(var c=0;c<b.length;c++)a.videoInfos[c].o=b[c].smooth;return a},function(){return a})};
zN=function(a,b){var c={},d;for(d in yN){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.yH(e)&&(c[yN[d]]=e)}return c};
Rla=function(a){var b={};if(!a||!a.thumbnails)return b;var c=null;a=g.la(a.thumbnails);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=AN(d);if(g.yH(e)){var f=Qla[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=AN(c));return b};
AN=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a};
g.BN=function(a,b){this.version=a;this.args=b};
g.CN=function(a,b){this.topic=a;this.g=b};
g.EN=function(a,b){var c=DN();c&&c.publish.call(c,a.toString(),a,b)};
g.IN=function(a,b,c){var d=DN();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.x("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(FN[e])try{if(k&&a instanceof g.CN&&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.Bh){var q=new f;f.Bh=q.version}var r=f.Bh}catch(u){}if(!r||l.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.Ya(l.args))}catch(u){throw u.message="yt.pubsub2.Data.deserialize(): "+u.message,u;}}catch(u){throw u.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+u.message,u;}b.call(c||window,k)}catch(u){g.dE(u)}},GN[a.toString()]?g.GG()?g.EG(f):g.iE(f,0):f())});
FN[e]=!0;HN[a.toString()]||(HN[a.toString()]=[]);HN[a.toString()].push(e);return e};
LN=function(a,b){var c=g.IN(JN,function(d){a.apply(b,arguments);g.KN(c)},b);
return c};
g.KN=function(a){var b=DN();b&&(g.ua(a)&&(a=[a]),(0,g.B)(a,function(a){b.unsubscribeByKey(a);delete FN[a]}))};
DN=function(){return g.x("ytPubsub2Pubsub2Instance")};
Sla=function(a){if(MN.getEntriesByType){var b=MN.getEntriesByType("paint");if(b=g.Ma(b,function(a){return"first-paint"==a.name}))return Math.round(a.navigationStart+b.startTime)}if(a.msFirstPaint)return Math.max(0,a.msFirstPaint);
if(b=window.chrome)if(b=b.loadTimes,g.Aa(b)){b=b();var c=1E3*Math.min(b.requestTime||window.Infinity,b.startLoadTime||window.Infinity);c=window.Infinity===c?0:a.navigationStart-c;return Math.max(0,Math.round(1E3*b.firstPaintTime+c)||0)}return 0};
NN=function(){var a=g.cE("TIMING_TICK_EXPIRATION");a||(a={},g.bE("TIMING_TICK_EXPIRATION",a));return a};
Tla=function(){var a=NN(),b;for(b in a)g.HG(a[b]);g.bE("TIMING_TICK_EXPIRATION",{})};
ON=function(a,b){g.BN.call(this,1,arguments)};
PN=function(a,b){g.BN.call(this,1,arguments);this.g=a};
SN=function(a){QN(a);Ula();RN(!1,a);a||(g.cE("TIMING_ACTION")&&g.bE("PREVIOUS_ACTION",g.cE("TIMING_ACTION")),g.bE("TIMING_ACTION",""))};
XN=function(a,b,c,d){d=d?d:a;TN("c",d);SN(d);g.bE(d+"TIMING_AFT_KEYS",b);g.bE(d+"TIMING_ACTION",a);UN("c",c,d);VN(d);g.va("ytglobal.timing"+(d||"")+"ready_",!0,void 0);WN(d)};
bO=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;MN.mark&&(g.nb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),MN.mark(d))}d=YN(c);var e=b||g.AG();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=NN();var f=e[a];f&&(g.HG(f),e[a]=0);ZN(c)["tick_"+a]=b;c||b||g.AG();$N()?(e=aO(c),"_start"==a?UG("baseline_"+e)||g.PG("latencyActionBaselined",{clientActionNonce:e},b,void 0):UG("tick_"+a+"_"+e)||g.PG("latencyActionTicked",{tickName:a,clientActionNonce:e},b,void 0),b=!0):b=!1;b||WN(c);return d[a]};
cO=function(a){var b="above_the_fold";MN&&MN.measure&&(g.nb(b,"measure_")||(b="measure_"+b),a?MN.measure(b,a):MN.measure(b))};
UN=function(a,b,c){dO("yt_sts",a,c);bO("_start",b,c)};
eO=function(a,b){var c=YN(b);return a in c};
fO=function(a){eO("_start","video_to_ad")&&bO(a,void 0,"video_to_ad")};
dO=function(a,b,c){gO(c)[a]=b;ZN(c)["info_"+a]=b;if($N())if(a in hO){var d=hO[a];g.Qa(Vla,d)&&(b=!!b);if($N()){a={};d=d.split(".");for(var e=a,f=0;f<d.length-1;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];e[d[d.length-1]]=b;c=aO(c);VG(a,c)}}else g.Qa(Wla,a)||g.dE(Error("Unknown label "+a+" logged with GEL CSI."))};
iO=function(a){var b=gO(void 0);return a in b};
jO=function(a){var b=YN(a);if(b.aft)return b.aft;a=g.cE((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};
WN=function(a){if(!kO(a)){var b=g.cE((a||"")+"TIMING_ACTION",void 0),c=YN(a);if(g.x("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=jO(a)))if(g.gG("tighter_critical_section")&&!lO&&(g.EN(Xla,new ON(Math.round(b-c._start),a)),lO=!0),a)mO(a);else{b=!0;var d=g.cE("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&mO(a)}}};
nO=function(){switch(xF("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
TN=function(a,b){if(!kO(b)){if(!g.gG("send_empty_timing")){var c=g.cE("CSI_SERVICE_NAME","youtube");if(!g.cE((b||"")+"TIMING_ACTION",void 0)||!c)return}bO("aa",void 0,b);dO("ap",1,b);dO("yt_fss",a,b);if(g.gG("enable_csi_abandonment_info")&&!b&&!iO("yt_lt")){c=g.cE("TIMING_INFO",{});for(var d in c)dO(d,c[d]);dO("is_nav",1);(d=g.dH())&&dO("csn",d);(d=g.cE("PREVIOUS_ACTION",void 0))&&dO("pa",d);c=gO();c.p=g.cE("CLIENT_PROTOCOL")||"unknown";c.t=g.cE("CLIENT_TRANSPORT")||"unknown";dO("yt_vis",nO());if("cold"==
c.yt_lt){d=MN.timing||{};d.navigationStart&&(bO("srt",d.responseStart),1!=c.prerender&&UN("n",d.navigationStart));c=Sla(d);0<c&&bO("fpt",c);bO("nreqs",d.requestStart,void 0);bO("nress",d.responseStart,void 0);bO("nrese",d.responseEnd,void 0);0<d.redirectEnd-d.redirectStart&&(bO("nrs",d.redirectStart,void 0),bO("nre",d.redirectEnd,void 0));0<d.domainLookupEnd-d.domainLookupStart&&(bO("ndnss",d.domainLookupStart,void 0),bO("ndnse",d.domainLookupEnd,void 0));0<d.connectEnd-d.connectStart&&(bO("ntcps",
d.connectStart,void 0),bO("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=d.navigationStart&&0<d.connectEnd-d.secureConnectionStart&&(bO("nstcps",d.secureConnectionStart,void 0),bO("ntcpe",d.connectEnd,void 0));MN.getEntriesByType&&Yla();d=[];if(window.document.querySelector&&MN&&MN.getEntriesByName)for(var e in oO)c=oO[e],Zla(e,c)&&d.push(c);d.length&&dO("rc",d.join(","))}VN()}mO(b)}};
VN=function(a){if($N()){var b={};b.actionType=$la[g.cE((a||"")+"TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN";a=aO(a);VG(b,a)}};
pO=function(a){return Math.round(MN.timing.navigationStart+a)};
Yla=function(){var a=window.location.protocol,b=MN.getEntriesByType("resource");b=(0,g.Ld)(b,function(b){return 0==b.name.indexOf(a+"//fonts.gstatic.com/s/")});
(b=mk(b,function(a,b){return b.duration>a.duration?b:a},{duration:0}))&&0<b.startTime&&0<b.responseEnd&&(bO("wffs",pO(b.startTime)),bO("wffe",pO(b.responseEnd)))};
Zla=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=MN.getEntriesByName(d))&&c[0]&&(c=c[0],d=window.performance.timing.navigationStart,bO("rsf_"+b,d+Math.round(c.fetchStart)),bO("rse_"+b,d+Math.round(c.responseEnd)),void 0!==c.transferSize&&(iO("rc")||dO("rc",""),0===c.transferSize))?!0:!1:!1};
aO=function(a){var b=qO(a).nonce;b||(b=bH(),qO(a).nonce=b);return b};
YN=function(a){return qO(a).tick};
gO=function(a){return qO(a).info};
ZN=function(a){a=qO(a);"gel"in a||(a.gel={});return a.gel};
qO=function(a){return g.x("ytcsi."+(a||"")+"data_")||QN(a)};
QN=function(a){var b={tick:{},info:{}};g.va("ytcsi."+(a||"")+"data_",b,void 0);return b};
kO=function(a){return!!g.x("yt.timing."+(a||"")+"pingSent_")};
RN=function(a,b){g.va("yt.timing."+(b||"")+"pingSent_",a,void 0)};
ama=function(a){var b=YN(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==gO(a).yt_pvis};
$N=function(){return!!g.gG("csi_on_gel")};
mO=function(a){Tla();if(!$N()){var b=YN(a),c=gO(a),d=b._start;for(k in b)if(g.nb(k,"_")&&g.ya(b[k])){var e=k.slice(1);if(e in bma){var f=(0,g.G)(b[k],function(a){return Math.round(a-d)});
c["all_"+e]=f.join()}delete b[k]}var k=!!c.ap;if(e=g.x("ytglobal.timingReportbuilder_")){if(b=e(b,c,a))rO(b,k),SN(a)}else{var l=g.cE("CSI_SERVICE_NAME","youtube");e={v:2,s:l,action:g.cE((a||"")+"TIMING_ACTION",void 0)};f=dO.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var m=window.location.protocol+g.x("ytplayer.config.assets.js");(m=MN.getEntriesByName?MN.getEntriesByName(m)[0]:null)?c.h5jse=Math.round(c.h5jse-m.responseEnd):delete c.h5jse}b.aft=jO(a);ama(a)&&"youtube"==l&&(dO("yt_lt","hot_bg",a),
l=b.vc,m=b.pbs,delete b.aft,c.aft=Math.round(m-l));for(var n in c)"_"!=n.charAt(0)&&(e[n]=c[n]);b.ps=g.AG();c={};n=[];for(var q in b)"_"!=q.charAt(0)&&(l=Math.round(b[q]-d),c[q]=l,n.push(q+"."+l));e.rt=n.join(",");(b=g.x("ytdebug.logTiming"))&&b(e,c);rO(e,k,a);g.EN(JN,new PN(c.aft+(f||0),a))}}};
rO=function(a,b,c){if(g.gG("debug_csi_data")){var d=g.x("yt.timing.csiData");d||(d=[],g.va("yt.timing.csiData",d,void 0));d.push({page:window.location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?";g.gG("redirect_csi_204_to_qoe")&&(a="/api/stats/qoe?",d+="&redirect_csi_204_to_qoe=true");a+=d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?$E(a):g.YE(a);RN(!0,c)};
g.tO=function(a){if(a.simpleText)return a.simpleText;a=g.sO(a);var b=g.Ed("div");b.appendChild(a);return b.textContent};
g.sO=function(a){if(a.simpleText)return a=window.document.createTextNode(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(cma(d))}return 1==b.length?b[0]:g.J("SPAN",null,b)};
cma=function(a){var b=null,c=a.text;a.bold&&(b=g.J("B",null,b||c));a.italics&&(b=g.J("I",null,b||c));a.strikethrough&&(b=g.J("STRIKE",null,b||c));a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint&&(a=a.navigationEndpoint.urlEndpoint,b=g.J("A",null,b||c),g.Zc(b,a.url),"TARGET_NEW_WINDOW"==a.target&&(b.target="_blank"));return b||g.J("SPAN",null,c)};
g.uO=function(a){g.aG.call(this);this.adModule=!1;this.pk=this.adaptiveFormats="";this.Hc=null;this.allowEmbed=!0;this.ig=this.backgroundable=!1;this.Bf="";this.Fm=this.Dm=this.Cm=!1;this.relativeLoudness=window.NaN;this.watchAjaxToken=this.zh=null;this.author="";this.mg=0;this.gx=this.Nm=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.nu=this.channelBanner=this.channelPath=this.Om="";this.contentCheckOk=!1;this.Ef=0;this.mx=this.enableCardioBeforePlayback=this.enableCardio=!1;this.endSeconds=
0;this.ih=!1;this.sg=this.wj=0;this.Sn=!1;this.dC=0;this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.ua=this.fl=this.isListed=this.Zr=this.Il=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=!1;this.mdxControlMode=null;this.isPharma=!1;this.sh=0;this.reloadReason="";this.gs=this.Wy=this.ah=!1;this.Un=0;this.vp=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.os=null;this.il=this.lengthSeconds=0;this.playerParams=null;this.paygated=!1;this.dd=
[];this.profilePicture=void 0;this.racyCheckOk=!1;this.rootVeType=0;this.autonavState=1;this.We=!1;this.ff=this.startSeconds=0;this.spacecastModule=!1;this.tm=null;this.xp=this.uw=this.QD=mJ;this.ck=this.suggestions=null;this.hlsFormats=this.hk=this.title="";this.Hb=this.xg=this.nf=this.Nl=this.In=null;this.Dp="vvt";this.ypcOfferButtonFormattedText=null;this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;this.Bo=this.hi=this.Ui=!1;this.Zq="";this.Qo=this.fu=this.Ux=0;this.Ty=!1;
this.wh={};this.vr=!1;this.captionTracks=[];this.uk=[];this.kq=0;this.captionTranslationLanguages=[];this.vk=!1;this.chapterMarkers=[];this.Nh=new cI("und",new ZH("Default","und",!0));this.ls=0;this.VC=this.Xj=this.zC=!1;this.Rf=null;this.Hh=[];this.my=!1;this.Ei={};this.slotPosition=-1;this.LC=new g.mu(this.MC,5E3,this);g.L(this,this.LC);this.Yq=0;this.Vx=!0;this.wd=this.jb=null;this.Yr=this.gD=this.partialSpherical=this.fi=!1;this.Py=this.Qy=window.NaN;this.defraggedFromSubfragments=this.hasSubfragmentedFmp4=
!1;this.liveExperimentalContentId=window.NaN;this.Ep=this.Tl=!1;this.Co=[];this.Ao=[];this.hc={};this.keywords={};this.xe={};this.setData(a)};
xO=function(a,b,c){b=b||{};var d={};if(c){var e;b.raw_player_response?e=b.raw_player_response:b.player_response&&(e=g.lx(b.player_response));if(e)for(d=null!=e?e:{},a.jb||(a.jb={}),c=0;c<vO.length;c++)e=vO[c],e in d&&(a.jb[e]=d[e])}else d=a.jb||{};if(c=wO(d))a.Bf=CH(c.invideoUrl),a.Cm=!!c.adsOnly,a.Dm=!!c.allowInPlaceSwitch;else{if(c=b.iv_invideo_url)a.Bf=CH(c);a.Cm=sM(a.Cm,b.iv_ads_only);a.Dm=sM(a.Dm,b.iv_allow_in_place_switch)}if(c=b.cta_conversion_urls)a.jw=c;a.isPharma=sM(a.isPharma,b.is_pharma);
a.author=vM(a.author,b.author);a.Nm=sM(a.Nm,b.cc_asr);if(c=b.ttsurl)AH(c)?a.Om=c:(c=BH(c),AH(c,!0)&&(a.Om=c));if(d.captions&&d.captions.playerCaptionsTracklistRenderer)dma(a,d.captions.playerCaptionsTracklistRenderer);else{c=b.caption_tracks;e=b.caption_audio_tracks;a.vr=void 0!=c;if(c&&e){ema(a,c);fma(a,e);if(c=b.default_audio_track_index)a.kq=(0,window.parseInt)(c,10)||0;(c=b.caption_translation_languages)&&gma(a,c)}a.vk=sM(a.vk,b.cc_contribute)}a.channelPath=vM(a.channelPath,b.channel_path);a.channelBanner=
vM(a.channelBanner,b.channel_banner);d.chapterMarkers&&(a.chapterMarkers=d.chapterMarkers);a.nu=vM(a.nu,b.short_subscriber_count_text);a.clientPlaybackNonce=vM(a.clientPlaybackNonce,b.cpn);a.subscribed=sM(a.subscribed,b.subscribed);a.zi=uM(a.zi,b.view_count);a.shortViewCount=vM(a.shortViewCount,b.short_view_count_text);a.title=vM(a.title,b.title);a.pk=vM(a.pk,b.aria_label);a.ypcPreview=vM(a.ypcPreview,b.ypc_preview);a.ypcOrigin=vM(a.ypcOrigin,b.ypc_origin);a.paygated=sM(a.paygated,b.paygated);a.requiresPurchase=
sM(a.requiresPurchase,b.requires_purchase);if(d=b.keywords)a.keywords=hma(d);if(d=b.rvs)a.suggestions=oE(d);a.contentCheckOk=sM(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=sM(a.racyCheckOk,"1"==b.rco);a.oauthToken=vM(a.oauthToken,b.oauth_token);a.visitorData=vM(a.visitorData,b.visitor_data);if(d=b.session_data)a.Hd=g.lE(d);if(d=b.endscreen_autoplay_session_data)a.tx=g.lE(d);a.rx=vM(a.rx,b.endscreen_ad_tracking_data);a.kk=sM(a.kk,b.wait_for_vast_info_cards_xml);a.Fi=sM(a.Fi,b.suppress_creator_endscreen);
a.Aj=sM(a.Aj,b.is_trueview_action);a.Rh=vM(a.Rh,b.wpid);a.AD=vM(a.AD,b.tracking_list||b.tv_list);b.skip_wv&&(a.gD=!0);b.intro_start_ms&&b.intro_end_ms&&(a.Qy=(0,window.parseInt)(b.intro_start_ms,10),a.Py=(0,window.parseInt)(b.intro_end_ms,10));(0,g.B)(jma,function(a){a in b&&(this.hc[a]=b[a])},a)};
yO=function(a){return!(!a.Ka||!a.Ka.videoInfos.length)};
kma=function(a){return a.l&&RI('video/webm; codecs="vp9"')&&Mb(a.g,function(a){return mI(a.info)})};
zO=function(a,b){return!(!((b.g("html5_streaming_response_mediastream_rewrite_v2")||b.g("html5_ultra_low_latency_streaming_responses")&&"ULTRALOW"==a.latencyClass)&&a.Ka&&a.Ka.videoInfos.length&&g.oI(a.Ka.videoInfos[0])&&a.kc())||g.PE()&&!b.g("html5_streaming_xhr_try_cobalt")||RL&&!b.g("html5_streaming_xhr_try_edge"))};
AO=function(a){return!eJ()||a.gx?!0:!1};
g.BO=function(a){if(!a.wd)return null;var b=null!=a.wd.latitudeE7&&null!=a.wd.longitudeE7?a.wd.latitudeE7+","+a.wd.longitudeE7:",";return b+=","+(a.wd.clientPermissionState||0)+","+(a.wd.locationRadiusMeters||"")+","+(a.wd.locationOverrideToken||"")};
CO=function(a){a.ha()||(a.ih=!1,a.T("dataloaded",a.hc))};
EO=function(a,b,c){c&&a.na&&a.na.dispose();a.na=b;g.L(a,b);DO(a)&&a.dd.push("webgl");a.na.isLive||(a.ua=!1)};
g.FO=function(a,b,c){if(a.ha())return fF();a.Ka=null;a.nf=null;a.xg=null;var d=b.o.c;b.experiments.g("disable_rqs")||(a.fi=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(d)||b.experiments.g("html5_high_res_logging"));return lma(a,b,c).then(void 0,(0,g.z)(a.FK,a,b)).then(void 0,(0,g.z)(a.CK,a,b,c)).then(void 0,(0,g.z)(a.DK,a,b)).then(void 0,(0,g.z)(a.GK,a,b)).then(void 0,(0,g.z)(a.EK,a,b)).then(function(){if(b.experiments.g("html5_probe_media_capabilities")&&
a.Ka)return Pla(a.Ka).then(a.Yo,void 0,a)})};
lma=function(a,b,c){if(!c&&!AO(a)){c=!1;if(a.spacecastAdaptiveFormats)EO(a,yL(GO(a,a.spacecastAdaptiveFormats),a.Hc,a.lengthSeconds,void 0),!0),c=!0;else if(a.na&&a.ep){var d=FL(a.na,a.ep);d&&(EO(a,d,!0),c=!0)}if(c)return bM(b.Y,a.na,a.Rf,!0,!1,!b.deviceHasDisplay||a.Tl&&b.ub,a.Ep&&b.ub).then(a.Yo,void 0,a).then(a.Bx,void 0,a)}return fF()};
HO=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.o.c,cver:b.o.cver};a.Hl&&(c.ptk=a.Hl,c.oid=a.fC,c.ptchn=a.eC,c.pltype=a.gC);return c};
g.IO=function(a){return RE()&&a.fairPlayCert?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ha&&a.Ha.Hc||null};
JO=function(a){var b=a.jb&&a.jb.paidContentOverlay&&a.jb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.tO(b.text):a.zT};
KO=function(a){var b=a.jb&&a.jb.paidContentOverlay&&a.jb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Db(b.durationMs):a.dC};
g.LO=function(a,b){return g.v(a.keywords[b])?a.keywords[b]:null};
g.MO=function(a){if(!a.Hb)if(a.jb&&a.jb.storyboards){var b=a.jb.storyboards;b.playerStoryboardSpecRenderer?a.Hb=new vN(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds):b.playerLiveStoryboardSpecRenderer&&a.na&&(a.Hb=new xN(b.playerLiveStoryboardSpecRenderer.spec,a.na.isLive))}else(b=a.hc.storyboard_spec)?a.Hb=new vN(b,a.lengthSeconds):(b=a.hc.live_storyboard_spec)&&a.na&&(a.Hb=new xN(b,a.na.isLive));return a.Hb};
NO=function(a){return!!(a.Rd||a.adaptiveFormats||a.hk||a.ck||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
OO=function(a){var b=g.Qa(a.dd,"ypc");a.ypcPreview&&(b=!1);return a.Fd()&&!a.ih&&(NO(a)||g.Qa(a.dd,"fresca")||g.Qa(a.dd,"heartbeat")||b)};
GO=function(a,b,c){b=oE(b);var d={};c&&(0,g.B)(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.B)(b,function(a){var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)},a);
return b};
mma=function(a){a=oE(a);var b={};(0,g.B)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
ema=function(a,b){for(var c=oE(b),d=0;d<c.length;d++){var e=c[d],f=e.u;AH(f)&&a.captionTracks.push(new g.aI({is_translateable:sM(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
fma=function(a,b){var c=oE(b);a.uk=[];(0,g.B)(c,function(a){var b={};g.t(a.aid)&&(b.audioTrackId=a.aid);var c=a.i;c&&(b.captionTrackIndices=(0,g.G)(c.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=nma[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.uk.push(b)},a)};
gma=function(a,b){for(var c=oE(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.$H({languageCode:e.lc,languageName:e.n}))}};
dma=function(a,b){a.vr=!0;a.captionTracks=[];b.captionTracks&&(0,g.B)(b.captionTracks,function(a){var b=a.baseUrl;AH(b,!0)&&(a=new g.aI({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.tO(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.uk=b.audioTracks||[];a.kq=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.G)(b.translationLanguages,function(a){return new g.$H({languageCode:a.languageCode,languageName:g.tO(a.languageName)})}):[];
a.vk=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
g.PO=function(a,b){return!!a.hc[b]};
g.QO=function(a){return a.ua&&!a.ig};
RO=function(a){return a.ua&&a.ig};
SO=function(a){var b=g.cc(a.hc);!a.ua&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
DO=function(a){return a.Qf()||a.Pf()||a.di()||a.Ze()};
oma=function(a){a.Ka=a.Ka.l};
g.TO=function(a){if(a.Fi)return null;var b=a.hc.iv_endscreen_url;b||(b=a.jb&&a.jb.endscreen&&a.jb.endscreen.endscreenUrlRenderer&&a.jb.endscreen.endscreenUrlRenderer.url);return b||null};
UO=function(a,b){return a.adFormat&&"1_5"!=a.adFormat?"adunit":b.K};
VO=function(a,b){if(a.isAd()&&a.videoId!=b.da)return b.da};
WO=function(a,b){return a.Il||"detailpage"==UO(a,b)};
XO=function(a,b){return WO(a,b)?"detailpage"==UO(a,b)?a.Sn||0<a.sh:!0:!1};
YO=function(a,b){var c=1,d=b.experiments.l("html5_default_ad_gain");d&&a.isAd()&&(c=d);return Math.min(1,Math.pow(10,-a.relativeLoudness/20))||c};
ZO=function(a){return(0,window.isNaN)(a)?0:Math.max(((0,g.F)()-a)/1E3-30,0)};
wO=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
hma=function(a){var b={};(0,g.B)(a.split(","),function(a){var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0});
return b};
$O=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.l=d};
aP=function(){this.endTime=this.startTime=-1;this.lq="-";this.playbackRate=1;this.visibilityState=0;this.eq="";this.volume=this.connectionType=this.Jg=0;this.muted=!1};
cP=function(a){this.l=a;this.g=0;this.B=-1;this.I=this.l.Td().volume;this.H=this.l.Td().muted;this.C=window.NaN;this.o=0;this.kb=[];this.A=bP(this.l);this.D=this.F=0};
g.dP=function(a){a.A.startTime=a.o;a.A.endTime=a.g;a.kb.length&&g.Ja(a.kb).isEmpty()?a.kb[a.kb.length-1]=a.A:a.kb.length&&a.A.isEmpty()||a.kb.push(a.A);a.F+=a.g-a.o;a.A=bP(a.l);a.o=a.g};
eP=function(a){return a.F+a.l.l()-a.o};
fP=function(a){a.kb.length&&a.g==a.o||g.dP(a);var b=a.kb;a.kb=[];return b};
gP=function(a,b,c){c-=a.C;return b==a.g&&.5<c};
pma=function(a,b,c,d,e,f,k,l,m,n,q,r,u){this.videoData=a;this.g=b;this.Td=c;this.C=d;this.l=e;this.B=f;this.I=k;this.getAudioTrack=l;this.H=m;this.D=n;this.o=q;this.F=r||function(){};
this.A=null;this.K=u||function(){}};
g.iP=function(a){return hP(a)()};
hP=function(a){if(!a.A){var b=g.Ea(function(a){var b=g.AG();a&&631152E6>=b&&(g.dE(Error("invalid yt.global.now value: "+b)),b=(new Date).getTime()+2);return b},a.g.experiments.g("html5_validate_yt_now"));
a.A=g.Ea(function(a){return Math.round(b()-a)/1E3},b());
a.K()}return a.A};
jP=function(a){var b=a.Td();g.Fa(b,a.videoData.Td());return b};
lP=function(){return window.navigator.connection&&window.navigator.connection.type?kP[window.navigator.connection.type]||kP.other:0};
bP=function(a){var b=new aP;b.lq=a.Td().cc||"-";b.playbackRate=a.H();var c=a.o();0!=c&&(b.visibilityState=c);a.g.Jg&&(b.Jg=1);c=a.getAudioTrack();c.Nb&&c.Nb.id&&"und"!=c.Nb.id&&(b.eq=c.Nb.id);b.connectionType=lP();b.volume=a.Td().volume;b.muted=a.Td().muted;return b};
g.mP=function(a){return(a=qma[a.toString()])?a:"YTP_ERROR_LICENSE"};
nP=function(){};
oP=function(){g.K.call(this);this.o=this.l=null;this.D=this.C=!1;this.B=new g.Gf;g.L(this,this.B)};
pP=function(a){a=a.g.seekable||yI();return 1>a.length?window.NaN:a.end(a.length-1)};
sP=function(a,b){var c="";b&&(qP(a,b),c=b.g);a.Ud()&&""==c||(c&&a.Ud()!=c&&(rP(a,c),a.o&&(a.o.dispose(),a.o=null)),b&&b.l||a.load(),a.D||(a.addEventListener("volumechange",a.Iw),a.D=!0))};
tP=function(a){if(!a.o||a.o.ha()){var b=a.g;b=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new vI(b);b=new KI(b);sP(a,b.B);a.o=b}};
rma=function(a){tP(a);var b=a.o;a.o=null;return b};
qP=function(a,b){a.l&&null!=b&&b.g==a.l.g||(a.l&&a.l.dispose(),a.l=b)};
vP=function(a){return DI(uP(a),a.getCurrentTime())};
wP=function(a){var b=uP(a);return 0<CI(b)&&a.getDuration()?BI(b,a.getCurrentTime()):0};
xP=function(a){var b=a.getDuration();return window.Infinity==b?1:b?wP(a)/b:0};
yP=function(a){return{vct:a.getCurrentTime().toFixed(3),vd:a.getDuration().toFixed(3),vpl:zI(a.g.played||yI()),vbu:zI(uP(a)),vpa:String(a.g.paused),vsk:String(a.g.seeking),ven:String(a.g.ended),vpr:String(a.Rc()),vrs:String(a.g.readyState),vns:String(a.g.networkState),vec:String(a.Ub()),vvol:String(a.getVolume())}};
zP=function(a){switch(a.Ub()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";default:return null}};
AP=function(a,b,c){g.ef.call(this,b,a);this.g=c||null};
sma=function(){this.B=this.g=window.NaN;this.o=this.A=this.l=!1};
BP=function(a,b){return b>a.g&&b<a.g+5};
CP=function(a,b,c,d){if(d=1<d)a.A=!0;if(a.l)b!=a.g&&(a.l=!1);else if(0<b&&a.g==b)return c-a.B>(d||!a.A?1500:400);a.g=b;a.B=c;return!1};
g.DP=function(a,b){this.l=a||64;this.g=void 0===b?null:b};
uma=function(a,b,c,d){function e(a){return!!d&&d.g(a)}
if(g.W(a,128))return a;EP=EP||e("html5_dompause_is_paused_killswitch");var f=a.l,k=a.g,l=b.target;if(!g.W(a,64)||"ended"!=b.type&&"pause"!=b.type)if("pause"==b.type&&l.g.ended||"ended"==b.type&&(l.g.ended||1>Math.abs(l.getCurrentTime()-l.getDuration())))0<l.g.networkState&&l.Ud()&&(f=14,k=null);else if("pause"==b.type)g.W(a,256)?(f^=256)||(f=64):g.W(a,32)||g.W(a,2)||g.W(a,4)||(f=4,g.W(a,1)&&g.W(a,8)&&(f|=1),k=null);else if("playing"==b.type)e("html5_ignore_playing_evt")?(f=(f|8)&-1029,BP(c,l.getCurrentTime())&&
(f&=-2)):(f=8,k=null,g.W(a,32)&&(f|=32),g.W(a,1)&&FP(c,l)&&(f|=1));else if("error"==b.type){if(c=tma(l))k=c,f|=128}else if("progress"!=b.type||e("html5_ignore_progress_evt"))if("seeked"==b.type)f&=-17;else if("seeking"==b.type)f=(f|17)&-3;else if("waiting"==b.type)g.W(a,2)||(f|=1),FP(c,l);else if("timeupdate"==b.type)e("html5_timeupdate_advance_check")?((g.W(a,8)||g.W(a,16))&&BP(c,l.getCurrentTime())&&(f=8),FP(c,l)&&(f|=1)):(b=2<l.g.readyState,c.o=c.o||b,g.W(a,16)||g.W(a,4)||(FP(c,l)?f|=1:e("html5_timeupdate_readystate_check")&&
!b&&c.o||(f&=-2)),1<l.g.readyState&&0<l.getCurrentTime()&&(f&=-65));else return a;else GP(a)&&FP(c,l)&&(f|=1);return HP(a,f,k)};
FP=function(a,b){return CP(a,b.getCurrentTime(),g.AG(),vP(b))};
HP=function(a,b,c){return b==a.l&&c==a.g||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.DP(b,c)};
IP=function(a,b){return HP(a,a.l|b)};
JP=function(a,b){return HP(a,a.l&~b)};
KP=function(a,b,c){return HP(a,(a.l|b)&~c)};
g.W=function(a,b){return!!(a.l&b)};
g.LP=function(a,b){return b.l==a.l&&b.g==a.g};
GP=function(a){return g.W(a,8)&&!g.W(a,2)&&!(!EP&&g.W(a,1024))};
g.MP=function(a){return g.W(a,64)&&!g.W(a,8)&&!g.W(a,4)};
g.NP=function(a){return g.W(a,1)&&!g.W(a,2)};
OP=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};
tma=function(a){var b=zP(a);if(!b)return null;var c="mediaElem.1";PP(a)&&(c+=";msg."+PP(a));.001>Math.random()&&(c+=";gpu."+(0,g.QP)());return{errorCode:b,errorDetail:c,message:g.T("YTP_ERROR_GENERIC_WITHOUT_LINK"),messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"}};
g.RP=function(a,b){this.state=a;this.g=b};
SP=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};
UP=function(a){g.K.call(this);var b=this;this.g=a;this.l={};this.I=1;this.Y=window.NaN;this.o="N";this.C=this.Z=this.A=0;this.L=this.da="";this.X=0;this.ea=-1;this.K=this.N=0;this.W=this.H=!1;this.fa=[];this.D=null;this.R=this.F=!1;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(function(a){b.D=a});
this.ma=(this.g.g.experiments.l("html5_disable_qoe_percentage")||0)>Math.floor(100*Math.random());this.g.g.experiments.g("html5_qoe_unstarted_in_initialization")&&g.TP(this,0,"vps",["N"])};
g.TP=function(a,b,c,d){var e=a.l[c];e||(e=[],a.l[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
XP=function(a,b){b=0<=b?b:g.iP(a.g);var c=a.g.B();if(!(0,window.isNaN)(a.ca)&&!(0,window.isNaN)(c.o)){var d=c.o-a.ca;0<d&&g.TP(a,b,"bwm",[d,(c.B-a.oa).toFixed(3)])}a.ca=c.o;a.oa=c.B;(0,window.isNaN)(c.bandwidthEstimate)||g.TP(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.g.videoData.fi&&c.g&&VP(a,"bwinfo",c.g);a.D&&g.TP(a,b,"bat",[a.D.level,a.D.charging?"1":"0"]);d=a.g.o();a.ea!=d&&(g.TP(a,b,"vis",[d]),a.ea=d);g.TP(a,b,"cmt",[a.g.l().toFixed(3)]);(d=lP())&&d!=a.X&&(g.TP(a,b,"conn",[d]),a.X=d);WP(a,
b,c);null!==a.g.videoData.tm&&(a.l.acc=[a.g.videoData.tm.join(":")])};
WP=function(a,b,c){if(!(0,window.isNaN)(c.l)){var d=c.l;c.A<d&&(d=c.A);g.TP(a,b,"bh",[d.toFixed(3)])}};
YP=function(a){var b=0,c;for(c in a.l)b+=c.length+mk(a.l[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.mu(a.B,0,a)).start()};
ZP=function(a,b,c,d){var e=a.g.l();c=[c,e.toFixed(3)];d&&c.push(d);g.TP(a,b,"error",c)};
wma=function(a,b){if(g.W(b,128))return"ER";if(g.W(b,512))return"SU";if(g.W(b,16)||g.W(b,32))return"S";var c=vma[OP(b)];g.QM(a.g.g)&&"B"==c&&3==a.g.o()&&(c="SU");"B"==c&&g.W(b,4)&&(c="PB");return c};
$P=function(a,b){var c=a.l.cat||[];c.push(b);a.l.cat=c};
VP=function(a,b,c,d){var e=a.l.ctmp||[],f=-1!=a.fa.indexOf(b);f||a.fa.push(b);d&&f||(d||(c="t."+(1E3*g.iP(a.g)).toFixed()+";"+c),e.push(b+":"+c),a.l.ctmp=e,YP(a))};
aQ=function(a,b,c,d){this.Pa=b;this.segments=[];this.experimentIds=[];this.adQueryId=null;this.ah=this.ca=this.Z=this.Cb=this.N=this.autoplay=this.autonav=!1;this.ea="yt";this.zh=this.l=this.C=null;this.R=!1;this.B="watchtime"==c;this.A="playback"==c;this.F="delayplay"==c;this.D="atr"==c;this.za="engage"==c;this.Xj=!1;this.Ya=this.D?"/api/stats/"+c:"//"+b.Hg+"/api/stats/"+c;d&&(this.ca=d.fs,d.rtn&&(this.l=d.rtn),this.B?(this.Ta=d.state,0<d.rti&&(this.C=d.rti)):(this.Ca=d.mos,this.ib=d.volume,d.at&&
(this.adType=d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.ia=d.inview),d.size&&(this.fa=d.size));this.Na=g.cc(b.o);this.N=b.isDni;this.oa=b.ma;this.experimentIds=b.experiments.experimentIds;this.X=b.oa;this.ea=b.Ca;this.region=b.region;this.Xa=b.ya?b.ya.toString():"";this.userAge=b.userAge;this.userGender=b.userGender;this.Db=g.NG();this.Xj=b.Db;c=this.Pa;this.H=a.oauthToken||c.R;this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=XO(a,c);this.autonav=a.Sn||this.autonav;
this.contentVideoId=VO(a,c);this.zh=a.zh;this.clientPlaybackNonce=a.clientPlaybackNonce;a.vssCredentialsToken&&(this.L=a.vssCredentialsToken,this.ma=a.Dp);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.mg=a.mg;this.Ef=a.Ef;a.Ha&&(this.da=kI(a.Ha),a.Yb&&kI(a.Yb)!=this.da&&(this.K=kI(a.Yb)));this.ah=a.ah;this.wj=a.wj;a.ua&&(this.Ma=a.ig?"dvr":"live");this.il=a.il;this.mf=a.mf;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.AD||a.playlistId;this.Ko=a.Ko;this.fg=a.fg;
this.pf=a.pf;this.bp=a.bp;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Rt=a.Rt;this.referrer=a.referrer;this.Ll=a.Zt||a.Ll;this.fk=a.fk;this.np=a.np;this.Rh=a.Rh;this.ya=UO(a,b)};
bQ=function(a,b){if(a.D)return null;var c=a.H&&CE(),d=a.Xj&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.H);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,rd:b}};
xma=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.Ug(a,b);c?g.GE(a,c):g.YE(a)};
dQ=function(a){var b={ns:a.ea,el:a.ya,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.mg),plid:a.playbackId,ei:a.eventId,fmt:a.da,fs:a.ca?"1":"0",rt:a.g(a.qb),of:a.Rt,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.oa,lact:a.Db,live:a.Ma,cl:a.Xa,mos:a.Ca,osid:a.osid,state:a.Ta,vm:a.videoMetadata,volume:a.ib};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Fa(b,a.Na);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.N&&(b.dni="1");a.Z&&
(b["final"]="1");a.ah&&(b.splay="1");a.Ef&&(b.delay=a.Ef);a.X&&(b.hl=a.X);a.region&&(b.cr=a.region);g.t(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.t(a.Y)&&(b.len=a.g(a.Y));!a.B&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.l&&(b.rtn=a.g(a.l));a.Ll&&(b.feature=a.Ll);a.playlistId&&(b.list=a.playlistId);a.fg&&(b.ctrl=a.fg);a.pf&&(b.ytr=a.pf);a.bp&&(b.ssrt="1");a.K&&(b.afmt=a.K);a.W&&(b.lio=a.g(a.W));a.B?(b.idpj=a.wj,b.ldpj=a.il,null!=a.C&&(b.rti=a.g(a.C))):g.t(a.adType)&&
(b.at=a.adType);(a.A||a.F)&&a.zh&&(b.tst=a.zh);a.fa&&(a.A||a.F)&&(b.size=a.fa);null!=a.ia&&(a.A||a.F)&&(b.inview=a.g(a.ia));a.B&&(b.volume=cQ(a,(0,g.G)(a.segments,function(a){return a.volume})),b.muted=cQ(a,(0,g.G)(a.segments,function(a){return a.muted?1:0})),b.st=cQ(a,(0,g.G)(a.segments,function(a){return a.startTime})),b.et=cQ(a,(0,g.G)(a.segments,function(a){return a.endTime})),(0,g.Ej)(a.segments,function(a){return 1!=a.playbackRate})&&(b.rate=cQ(a,(0,g.G)(a.segments,function(a){return a.playbackRate}))));
(0,g.Ej)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=cQ(a,(0,g.G)(a.segments,function(a){return a.visibilityState})));
(0,g.Ej)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=cQ(a,(0,g.G)(a.segments,function(a){return a.connectionType})));
(0,g.Ej)(a.segments,function(a){return 0!=a.Jg})&&(b.blo=cQ(a,(0,g.G)(a.segments,function(a){return a.Jg})));
(0,g.Ej)(a.segments,function(a){return"-"!=a.lq})&&(b.cc=(0,g.G)(a.segments,function(a){return a.lq}).join(","));
if((0,g.Ej)(a.segments,function(a){return!!a.eq})){var c="au";
a.A&&(c="au_d");b[c]=(0,g.G)(a.segments,function(a){return a.eq}).join(",")}CE()&&a.L&&(b.ctt=a.L,b.cttype=a.ma,b.mdx_environment=a.mdxEnvironment);
a.za&&(b.etype=g.t(a.o)?a.o:0);a.fk&&(b.uoo=a.fk);a.np&&(b.upt=a.np);a.Rh&&(b.wpid=a.Rh);return b};
cQ=function(a,b){return(0,g.G)(b,a.g).join(",")};
g.eQ=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId};
fQ=function(a){g.K.call(this);this.g=a;this.l=new UP(a);g.L(this,this.l);this.o=new cP(a);this.C="paused";this.D=window.NaN;this.H=[10,10,10,40];this.I=this.F=0;this.R=this.N=this.Y=this.W=this.L=this.K=this.B=!1;this.A=window.NaN};
wQ=function(a,b,c){var d=g.iP(a.g);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.H[a.F];a.F+1<a.H.length&&a.F++;c+=e;d=1E3*(c-d);a.D=g.iE((0,g.z)(a.QP,a,c,b),d);return c};
xQ=function(a,b){var c=jP(a.g);g.Fa(c,{state:a.C});c=new aQ(a.g.videoData,a.g.g,b,c);c.mg=a.g.l();a.g.videoData.ua||(c.Y=a.g.C());if(a.g.videoData.na){var d=JL(a.g.videoData.na,c.mg);d&&(c.W=d-c.mg)}c.qb=g.iP(a.g);c.segments=[bP(a.g)];return c};
yQ=function(a,b){var c=xQ(a,"watchtime");c.segments=b;c.mg=a.o.g;return c};
zQ=function(a){a.o.update();return yQ(a,fP(a.o))};
CQ=function(a){a.g.videoData.remarketingUrl&&!a.W&&(AQ(a,a.g.videoData.remarketingUrl),a.W=!0);a.g.videoData.youtubeRemarketingUrl&&!a.Y&&(AQ(a,a.g.videoData.youtubeRemarketingUrl),a.Y=!0);a.g.videoData.googleRemarketingUrl&&!a.N&&(AQ(a,a.g.videoData.googleRemarketingUrl),a.N=!0);a.g.videoData.ppvRemarketingUrl&&!a.R&&(AQ(a,a.g.videoData.ppvRemarketingUrl),a.R=!0);BQ(a)};
DQ=function(a){a.A=g.jE((0,g.z)(a.Uo,a,"heartbeat"),3E4)};
BQ=function(a){a.g.videoData.xe.eventLabel=UO(a.g.videoData,a.g.g);a.g.videoData.xe.playerStyle=a.g.g.playerStyle;a.g.videoData.Fo&&(a.g.videoData.xe.feature="pyv");a.g.videoData.xe.vid=a.g.videoData.videoId;var b=a.g.videoData.xe;a=a.g.videoData;a=a.isAd()||!!a.Fo;b.isAd=a};
AQ=function(a,b,c){a.g.g.Db&&a.g.videoData.visitorData&&BE(b)?g.GE(b,{rd:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.YE(b,c)};
EQ=function(a,b){var c=a.l;g.TP(c,g.iP(c.g),"lra",[b]);VP(c,"live-readahead-seconds",b.toString())};
FQ=function(a,b){RH.call(this,a,b);this.g=!1;SH(this,"getPresentingPlayerType",this.Qa);SH(this,"addInfoCardXml",this.gM);SH(this,"cueVideoByPlayerVars",this.iM);SH(this,"loadVideoByPlayerVars",this.tl);SH(this,"preloadVideoByPlayerVars",this.Zz);SH(this,"seekBy",this.ie);SH(this,"updatePlaylist",this.KM);SH(this,"updateLastActiveTime",this.JM);SH(this,"updateVideoData",this.LM);SH(this,"getPlayerResponse",this.getPlayerResponse);SH(this,"getStoryboardFormat",this.getStoryboardFormat);SH(this,"getStoryboardFrame",
this.pM);SH(this,"getStoryboardFrameIndex",this.qM);SH(this,"getStoryboardLevel",this.rM);SH(this,"getNumberOfStoryboardLevels",this.nM);SH(this,"getProgressState",this.kh);SH(this,"getHousebrandProperties",this.lM);SH(this,"setPlaybackQualityRange",this.aA);SH(this,"getCurrentPlaylistSequence",this.kM);SH(this,"canPlayType",this.hM);SH(this,"sendVideoStatsEngageEvent",this.pi);SH(this,"setCardsVisible",this.ul);SH(this,"handleGlobalKeyDown",this.uM);SH(this,"getAudioTrack",this.getAudioTrack);SH(this,
"setAudioTrack",this.Ts);SH(this,"getAvailableAudioTracks",this.getAvailableAudioTracks);SH(this,"getMaxPlaybackQuality",this.mM);SH(this,"getUserPlaybackQualityPreference",this.sM);SH(this,"setSizeStyle",this.EM);SH(this,"setUserEngagement",this.HM);SH(this,"forceFrescaUpdate",this.jM);SH(this,"setAutonav",this.Uz);SH(this,"setAutonavState",this.Ps);SH(this,"showControls",this.bA);SH(this,"hideControls",this.Xz);SH(this,"getVisibilityState",this.oi);SH(this,"shouldSendVisibilityState",this.IM);SH(this,
"getVideoContentRect",this.Wz);SH(this,"setSafetyMode",this.DM);SH(this,"setFauxFullscreen",this.yM);SH(this,"cancelPlayback",this.Qs);SH(this,"getVideoStats",this.Wx);SH(this,"updateSubtitlesUserSettings",this.ko);SH(this,"getSubtitlesUserSettings",this.ni);SH(this,"resetSubtitlesUserSettings",this.Ss);SH(this,"isFastLoad",this.vM);SH(this,"isInline",this.Yz);SH(this,"isPeggedToLive",this.isPeggedToLive);SH(this,"setMinimized",this.CM);SH(this,"setInline",this.AM);SH(this,"getSphericalProperties",
this.fo);SH(this,"setSphericalProperties",this.jo);SH(this,"getSphericalConfig",this.oM);SH(this,"setSphericalConfig",this.FM);SH(this,"setBlackout",this.xM);SH(this,"onAdUxClicked",this.wM);SH(this,"getPlayerSize",this.Rs);SH(this,"setGlobalCrop",this.zM);SH(this,"wakeUpControls",this.dV);SH(this,"isMutedByMutedAutoplay",this.mK);SH(this,"getVideoAspectRatio",this.tM);SH(this,"setUseFastSizingOnWatch",this.GM);SH(this,"setInternalSize",this.BM)};
GQ=function(a,b){FQ.call(this,a,b)};
HQ=function(a,b){this.o=a;this.l=b||null;this.A=!1};
KQ=function(a,b,c){var d=a.o;b=g.KM(d)&&d.Mc&&WO(b,d);if(d.Pb&&(IM(d)||g.cN(d)||b)&&!a.A){a.A=!0;g.cE("TIMING_ACTION")||g.bE("TIMING_ACTION",a.o.csiPageType);a.o.Na&&g.bE("CSI_SERVICE_NAME",a.o.Na);if(a.l){d=a.l.ca;for(var e in d)(0,g.IQ)(e,d[e],"");e=a.l.X;for(var f in e)(0,g.JQ)(f,e[f],"");f=a.l;f.ca={};f.X={}}(0,g.JQ)("yt_pvis",nO(),"");(0,g.JQ)("yt_pt","html5","");c&&!eO("pbs","")&&a.g("pbs",c);a=a.o;g.cN(a)||IM(a)&&"blazer"!=a.playerStyle||!eO("_start","")||mO("")}};
g.LQ=function(a,b,c){g.K.call(this);this.start=a;this.end=b;this.o=yma++;a=c||{};this.Ba=a.id||"";this.A=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.g=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(a){return g.yH(a)}):null;
this.visible=this.visible;this.style=this.style;this.start=this.start};
MQ=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
zma=function(a,b){switch(a.style){case "ytp-chapter-marker":return b?8:5;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.NQ=function(a,b){return a.start-b.start||a.A-b.A||a.o-b.o};
g.OQ=function(a,b){this.type=a||"";this.id=b||""};
g.QQ=function(a){g.aG.call(this);this.startSeconds=0;this.jD=!1;this.Bb=0;this.title="";this.gh=0;this.Ga=[];this.Sf=this.Qc=!1;this.Hd=this.tx=this.Kl=null;this.views=0;this.oH=0!=a.fetch;this.Zd=[];this.Bb=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.DO="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.wh={};a.video_id&&(this.Ga[this.Bb]=a);var b=a.api;b&&("string"==typeof b&&
16==b.length?a.list="PL"+b:a.playlist=b);this.Wn=0;if(b=a.list)switch(a.listType){case "user_uploads":this.Sf||(this.listId=new g.OQ("UU","PLAYER_"+b),PQ(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}));break;case "user_favorites":this.Sf||(this.listId=new g.OQ("FL","PLAYER_"+b),PQ(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}));break;case "search":Ama(this,b);break;default:var c=a.playlist_length;c&&(this.gh=c);this.listId=new g.OQ(b.substr(0,
2),b.substr(2));(b=a.video)?(this.Ga=b.slice(0),this.Qc=!0):Bma(this)}else a.playlist&&(b=a.playlist.toString().split(","),0<this.Bb&&(this.Ga=[]),(0,g.B)(b,function(a){a&&this.Ga.push({video_id:a})},this),this.gh=this.Ga.length,b=(0,g.G)(this.Ga,function(a){return a.video_id}),PQ(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:b.join(",")}),this.Qc=!0);
this.setShuffle(!!a.shuffle);if(b=a.suggestedQuality)this.quality=b;this.wh=zN(a,"playlist_");this.sD=(a=a.thumbnail_ids)?a.split(","):[]};
RQ=function(a){return!!(a.playlist||a.list||a.api)};
SQ=function(a){var b=a.Bb+1;return b>=a.gh?0:b};
TQ=function(a){var b=a.Bb-1;return 0>b?a.gh-1:b};
UQ=function(a,b){a.Bb=g.cd(b,0,a.gh-1);a.startSeconds=0};
Ama=function(a,b){if(!a.Sf){a.listId=new g.OQ("SR",b);var c={search_query:b};a.DO&&(c.mob="1");PQ(a,"/search_ajax?style=json&embeddable=1",c)}};
Bma=function(a){if(!a.Sf){var b=b||a.listId;b={list:b};var c=a.Wb();c&&c.videoId&&(b.v=c.videoId);PQ(a,"/list_ajax?style=json&action_get_list=1",b)}};
PQ=function(a,b,c){a.oH&&g.GE(g.Ug(b,c),{format:"JSON",onSuccess:(0,g.z)(function(a,b){VQ(this,b)},a),
onError:(0,g.z)(function(){this.T("error")},a)})};
VQ=function(a,b){if(b.video&&b.video.length){a.title=b.title;a.description=b.description;a.views=b.views;a.author=b.author;var c=b.loop;c&&(a.loop=c);c=a.Wb();a.Ga=[];(0,g.B)(b.video,function(a){a&&(a.video_id=a.encrypted_id,this.Ga.push(a))},a);
a.gh=a.Ga.length;var d=b.index;d?a.Bb=d:a.Ek(c);a.setShuffle(!1);a.Sf=!1;a.Qc=!0;a.Wn++;a.Kl&&a.Kl()}};
WQ=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
XQ=function(a){this.l=window.Float32Array?new window.Float32Array(a):Array(a);this.o=this.g=a-1};
YQ=function(a){return a.l[a.g]||0};
Cma=function(){this.B=new XQ(50);this.g=null;this.A=this.o=0;this.l=null};
ZQ=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
$Q=function(a){if(a.yn())return!1;a=a.Yd("content-type");return"audio/mp4"==a||"video/mp4"==a};
bR=function(a,b,c){g.aG.call(this);var d=new Dma;"ULTRALOW"==a.latencyClass&&(d.A=!1);a.fl?d.o=3:g.QO(a)&&(d.o=2);var e=21530001==a.liveExperimentalContentId,f=b.g("html5_live_no_streaming_impedance_mismatch")||"ULTRALOW"==a.latencyClass&&b.g("html5_ull_no_streaming_impedance_mismatch")||e;d.B=f&&a.kc()&&(a.hasSubfragmentedFmp4&&(!zO(a,b)||!ZQ())||a.defraggedFromSubfragments);d.B&&(d.I++,e&&(d.C=b.l("html5_jumbo_ull_nonstreaming_mffa_ms")||window.NaN));NE()&&(e=b.l("html5_platform_minimum_readahead_seconds")||
3,d.l=Math.max(d.l,e));b.l("html5_minimum_readahead_seconds")&&(d.l=b.l("html5_minimum_readahead_seconds"));b.l("html5_maximum_readahead_seconds")&&(d.F=b.l("html5_maximum_readahead_seconds"));b.g("html5_force_adaptive_readahead")&&(d.A=!0);b.l("html5_allowable_liveness_drift_chunks")&&(d.g=b.l("html5_allowable_liveness_drift_chunks"));b.l("html5_readahead_ratelimit")&&(d.H=b.l("html5_readahead_ratelimit"));b.g("html5_dvr_start_buffer")&&(d.D=!0);switch(a.liveExperimentalContentId){case 21530001:d.g=
(d.g+1)/5}this.g=d;this.A=a;this.H=c;this.o=[];this.B=0;this.C=1!=this.g.o;this.D=!1;this.F=0;b=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.fl&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(a.liveExperimentalContentId){case 21530001:b=1;break;case 2153E4:b=2}this.g.B&&b++;this.l=aR(this,b)};
dR=function(a){return cR(a)*a.l};
fR=function(a,b){var c=eR(a);var d=a.g.g;a.D||(d=Math.max(d-1,0));d*=cR(a);return b>=c-d};
eR=function(a){return Math.max(a.H()-dR(a),a.A.Fb())};
gR=function(a){return(a.l-1+a.g.g)*cR(a)};
hR=function(a,b,c){3==a.g.o&&((b=fR(a,b),c||b)?b&&(a.C=!0):a.C=!1)};
iR=function(a,b){var c=fR(a,b);a.D!=c&&a.T("livestatusshift",c);a.D=c};
cR=function(a){return a.A.na?IL(a.A.na)||5:5};
aR=function(a,b){b=Math.max(Math.max(a.g.I,Math.ceil(a.g.l/cR(a))),b);return Math.min(Math.min(8,Math.floor(a.g.F/cR(a))),b)};
Dma=function(){this.I=1;this.l=0;this.F=window.Infinity;this.H=0;this.A=!0;this.g=2;this.o=1;this.B=this.D=!1;this.C=window.NaN};
kR=function(a,b){this.D=a;this.Y=b;this.g=new jR(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.H=window.NaN;this.R=this.l=this.I=0;this.F=window.NaN;this.W=0;this.N=!1;this.L=null;this.K=0};
lR=function(a){return{startTime:a.F/a.l,duration:a.R/a.l}};
mR=function(a){a.F=window.NaN;a.R=0;a.L=null;a.K=0};
nR=function(a){return!(0,window.isNaN)(a.C)&&a.l?a.C/a.l:a.W};
oR=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new jR(b,d,a.g);return 8};
pR=function(a){a.l&&!(0,window.isNaN)(a.H)&&(a.C=Math.floor(a.H*a.l),a.H=window.NaN)};
qR=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};
rR=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.A.push(b.getUint8(d));0<c&&a.o.push(new window.DataView(b.buffer,b.byteOffset,c))};
sR=function(a,b,c){return new tJ(b,c,a.g.size,a.g.type,!0)};
jR=function(a,b,c){this.type=a;this.size=b;this.g=c;this.offset=this.version=0};
Ema=function(a,b){this.l=a;this.C=this.B=!1;this.length=b?b:0;this.o=0;this.g=[];this.A=null;this.length?1!=this.l.length||this.l[0].Wa||(this.l[0].Wa=this.length):1==this.l.length||(0,g.tm)(this.l,function(a){return!!a.range})};
Fma=function(a){var b=a.length-a.o;(0,g.B)(a.g,function(a){b+=a.range.length});
return b};
Gma=function(a,b){this.l=a;this.g=b};
tR=function(a,b){if(0>b)return!0;var c=a.g.Vb();return b<c||b==c&&!a.l.fa||b==c&&(c=fL(a.g))&&b==c.sa?!0:!1};
Hma=function(a,b,c){if(!tR(a,b))return 0;if(!a.l.g||!(0,window.isNaN)(c)&&0<c)return 2;if(0>b)return 1;c=a.g.Vb();return b<c||b==c&&(a=fL(a.g))&&b==a.sa&&!a.g?2:1};
Ima=function(a,b,c,d){if(tR(a,b))return d;b=0;a.l.g&&(b=.2);return c+1E3*(a.g.l+b)};
Jma=function(a,b,c,d,e){b=Hma(a,b,e);if(2==b)return d;d=b?0:1;a.l.g&&d++;return c+a.g.l*d*1E3};
Kma=function(a){this.C=a;this.A=window.NaN;this.B=[];this.o=this.g=this.l=0};
Lma=function(a,b,c,d,e){this.ma=null;this.l=a;this.oa=b;this.ya=c;this.W=d;this.D=e;this.ca=this.g=window.NaN;this.Ya=0;this.R=this.da=this.o=this.C=window.NaN;this.fa=this.ea=this.A=!1;this.B=0;this.Z=pM(this.l);this.X=window.NaN;this.K=this.H=window.Infinity;this.L=window.NaN;this.ia=!1;this.I=this.N=window.NaN;this.F=this.Y=null};
uR=function(a){return{rt:((0,g.F)()-a.g).toFixed(),lb:a.o.toFixed(),pt:(1E3*a.X).toFixed(),pb:a.oa.toFixed(),stall:(1E3*a.B).toFixed(),elbowTime:(a.ca-a.g).toFixed(),elbowBytes:a.Ya.toFixed()}};
vR=function(a){a.I||(a.I=a.ma(),3==a.I&&(a.Y=new Kma(a.l)));return a.I};
zR=function(a,b,c,d){var e=(b-a.C)/1E3,f=c-a.o,k=vR(a);if(3==k&&f){var l=a.Y;l.B.push({Zn:f,uu:(0,window.isNaN)(l.A)?window.NaN:d-l.A,C3:d});l.A=d}a.A?1==k&&0<f&&(.2<e||1024>f?(a.B+=e,.2<e&&yR(a,.05,f)):yR(a,e,f),a.fa=!0):wR(a,c)&&(1==k&&(d=(b-a.g)/1E3,xR(a)||(k=a.l,k.D.g(1,d),jM(k))),a.ca=b,a.Ya=c,a.A=!0);mM(a.l,e,f);a.C=b;a.o=c};
yR=function(a,b,c){b=Math.max(b,.05);a=a.l;var d=void 0;a.g.g(void 0===d?b:d,c/b);a.o=g.AG()};
AR=function(a,b,c){c=Math.round(c/1024);if(a.F){var d=b-a.da,e=c-a.R;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.da=b;a.R=c};
wR=function(a,b){return b?a.D&&1!=vR(a)?!0:b>=a.l.policy.A:!1};
BR=function(a){return wR(a,a.o)};
CR=function(a){a.L=a.g+1E3*a.Z.delay;a.ia=!1};
DR=function(a,b){var c=a.W.g[0].sa;a.H=Math.min(a.H,Ima(a.D,c,a.g,b));a.K=Math.min(a.K,Jma(a.D,c,a.g,b,a.W.o));a.H<=a.g?CR(a):(a.L=a.H,a.ia=!0)};
xR=function(a){a.D&&DR(a,(0,g.F)());return a.ia};
ER=function(a,b){b=void 0===b?(0,g.F)():b;if(a.D){DR(a,b);var c=a.I?a.D?1!=vR(a):!1:a.H!=a.K;if(c){if(c=a.K,b<c){a.N=a.K;return}}else c=a.H;c=Math.max(c,a.L)}else c=a.L;var d=a.oa-a.o;0>d&&a.l.policy.C&&(d=0);d=1E3*(d*a.Z.stall+d/a.Z.byterate);d=BR(a)?d+b:d+Math.max(b,c);a.N=d};
FR=function(a,b,c,d,e,f){this.status=0;this.I=this.response=null;this.N=d;this.B=c;this.R=e;this.D=f;this.A=[];this.o=null;this.l=this.g=0;this.Ba=Mma++;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(eE((0,g.z)(this.JT,this)),eE((0,g.z)(this.gA,this)));(0,g.F)();this.L=this.F=this.H=!1;this.K="";b()};
KR=function(a,b){a.l+=b.length;var c=b.length;var d=GR(a)?1:Math.max(HR(a)/2,16384);c=c>=d;d=b.length+a.g>HR(a);a.L?((c||d)&&0!==a.g&&IR(a),c?a.A.push(b):JR(a,b)):(JR(a,b),a.l>=(GR(a)?1:16384)&&IR(a))};
IR=function(a){a.L=!0;a.A.push(a.o.subarray(0,a.g));a.g=0;a.o=a.H?null:new window.Uint8Array(HR(a))};
JR=function(a,b){if(b.length+a.g>HR(a)){var c=new window.Uint8Array(a.g+b.length);c.set(a.o,0);a.o=c}a.o.set(b,a.g);a.g+=b.length};
LR=function(a){a.C.read().then(eE((0,g.z)(a.uP,a)),eE((0,g.z)(a.gA,a)));(0,g.F)()};
NR=function(a){if(a.B){a.H=!0;if(MR(a)&&!a.A.length&&!a.g&&!a.F&&a.l){$Q(a);if(!a.o||8>a.o.length)a.o=new window.Uint8Array(8);var b=new window.DataView(a.o.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.g=8;a.l+=8}a.N()}};
GR=function(a){return a.D.Pa&&a.D.g&&$Q(a)};
MR=function(a){return a.D.ae&&a.D.g&&$Q(a)};
HR=function(a){a=a.yn()||0;return Math.max(16384,.125*a)};
OR=function(a,b,c,d,e){this.status=0;this.response=null;this.l=this.o=!1;this.g=new window.XMLHttpRequest;this.g.open("GET",a);this.g.responseType="arraybuffer";this.g.withCredentials=!0;this.g.onreadystatechange=(0,g.z)(this.PM,this);this.A=d;this.C=c;this.B=e;a=eE((0,g.z)(this.NM,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",eE((0,g.z)(this.OM,this)),!1)};
PR=function(a,b,c,d){this.o=a;this.info=b;this.timing=c;this.W=d;this.state=1;this.g=this.Y=null;this.D=this.N=0;this.R=new g.mu(this.UT,a.K,this);this.B=this.A=this.F=null;this.C=0;this.K=this.l=null;this.L=0;this.X=this.I=!1;this.H=this.o.za&&(XK(this.info)||WK(this.info))};
Nma=function(a,b){a.F=b};
QR=function(a){return a.A?HK(a.A.g):""};
RR=function(a){var b=uR(a.timing);b.shost=QR(a);b.rn=a.N.toString();a.C&&(b.rc=a.C.toString());b.itag=""+kI(a.info.g[0].g.info);b.ml=""+ +a.info.g[0].g.Jc();b.sq=""+a.info.g[0].sa;410!=a.C&&500!=a.C&&503!=a.C||(b.fmt_unav="true");a.g&&a.g.Vs()&&(b.msg=a.g.Vs());return b};
SR=function(a){QR(a);return EK(a.W,QR(a))};
UR=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.F)();c=c>b.g&&4E12>c?c:(0,g.F)();AR(b,c,1024*b.R);var d=(c-b.g)/1E3;if(2!=vR(b))if(BR(b))b.B+=(c-b.C)/1E3,kM(b.l,b.o,b.B);else{if(!xR(b)){var e=b.l;e.D.g(1,d);jM(e)}b.ca=c}e=b.l;var f=b.X,k=WK(b.W);e.C.g(d,b.o/d);e.o=g.AG();k||e.l.g(1,d-f);mM(b.l,(c-b.C)/1E3,0)}else(0,g.F)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=SR(a),b.l+=1):(b=SR(a),b.g+=1),a.info.l.g++);TR(a,7)};
VR=function(a){if(1==a.state)return!0;a=SR(a);return 100>a.l&&6>a.g};
TR=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.A&&(c.A=!1)}a.F&&a.F(a)};
XR=function(a){WR(a);a.B="net.timeout";UR(a)};
YR=function(a){return(0,g.tm)(a.info.g,function(a){return 3==a.type})};
WR=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.A&&(a.A=!1)};
$R=function(a){var b=a.g.Yd("content-type"),c=a.g.yn();(b=(!ZR(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&ZR(a)&&GR(a.g);return b};
Oma=function(a,b){var c=(0,g.z)(a.pT,a),d=(0,g.z)(a.sT,a),e=(0,g.z)(a.rT,a),f=(0,g.z)(a.qT,a);return a.o.D&&(a.o.fv&&!(0,window.isNaN)(a.info.o)&&a.info.o>a.o.sm?0:ZQ()&&YR(a))?new FR(b,d,e,c,f,a.o):new OR(b,d,e,c,f)};
ZR=function(a){return a.g?a.g.oD():!1};
aS=function(a){return 2<=a.state&&!!a.l&&!!a.l.g.length};
bS=function(a,b){if(b||ZR(a)&&!$R(a)){if(!a.l){var c;ZR(a)||(c=a.g.Kq());a.l=new Ema(a.info.g,c)}for(;a.g.gi();){c=a.l;for(var d=a.g.fD(),e=b&&!a.g.gi(),f=0,k=0,l=g.la(c.l),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Wa<=c.o)f+=m.Wa;else{var n=c,q=m;if(1==q.type){n.B=!0;var r=!1}else 3==q.type||4==q.type?(q=n.B&&!n.C,n.C=!0,r=q):r=!1;n=c;var u=c.o-f,C=k;q=d;r=r||m.g.Dz();var I=q.length-C;m.range&&(I=Math.min(m.Wa-u,I));u=dK(m,m.l+u,I,m.range?m.l+u+I==m.range.length:!!e);var N=WJ(q.byteOffset,
q.length);C=WJ(q.byteOffset+C,I);n.g.push(new wK(u,q.buffer,C,N,r));n=I;c.o+=n;k+=n;f+=m.Wa;if(k==d.length)break}}}};
Pma=function(a){if(!a.o.g||!(0,window.isNaN)(a.info.o)&&0<a.info.o)return!1;if(!a.g||!a.g.Uk())return!0;if(!$Q(a.g))return!1;if((0,window.isNaN)(a.info.o)){var b=a.g.Yd("x-head-seqnum");if(b&&(0,window.parseInt)(b,10)>a.info.g[0].sa)return!1}return!0};
cS=function(a){for(var b=new window.Uint8Array(0),c=new window.DataView(a.buffer,a.byteOffset,a.length),d=0;d<a.length-8;){var e=c.getUint32(d);if(1>=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new window.Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b};
Qma=function(a){a=Dka(a);(0,g.B)(a,function(a){return!a.l});
return(0,g.G)(a,function(a){return new window.Uint8Array(a.data.buffer,a.offset+a.data.byteOffset,a.size)})};
dS=function(a){return g.ke(a,!0).replace(/[\.]{1,2}$/,"")};
eS=function(a,b,c){g.aG.call(this);this.D=0;this.o=a;this.g=[];this.A=null;this.I=b;this.W=c;this.B=this.F=window.NaN;this.N=null;this.Y=(0,g.z)(function(a){this.o.WD&&(this.T("timestamprewrite",a),this.o.WD=!1)},this);
this.R=this.K=this.C=this.l=null;this.L=!1;this.H=null;this.o.ib&&(this.l=new kR(this.o,this.W))};
fS=function(a){return a.g.length?a.g[0]:null};
gS=function(a){return a.g.length?a.g[a.g.length-1]:null};
Sma=function(a,b,c){b=Rma(a,b,c);(0,g.B)(b,function(b){a.g.push(b)})};
Tma=function(a){if(!a.g.length)return 0;for(var b=a.g[0].A.length,c=1;c<a.g.length;c++)a.g[c].g!=a.g[c-1].g&&(b+=a.g[c].A.length);a.A&&(b+=a.A.A.length);return b};
hS=function(a){return(0,g.G)(a.g,function(a){return a.info})};
iS=function(a,b){a.L=!1;a.H&&!a.o.ed&&a.T("placeholderrollback",a.H);a.H=null;if(a.l){var c=(0,window.isNaN)(a.B)?b.g[0].range?b.g[0].B:(0,window.isNaN)(a.l.F)?nR(a.l):lR(a.l).startTime:a.B;a.l.reset();a.K=a.R;a.B=c}a.C=null};
jS=function(a){return a.l?nR(a.l):a.F||0};
Rma=function(a,b,c){if(!c.verify()||c.info.g.ds()){var d=bK(c.info);d.verification="1";a.T("error",d||{})}c.l&&c.info.g.info.video&&aL(c.info.g,xK(c));a.I.info.Hc&&g.oI(c.info.g.info)&&(c.info.F=Qma(xK(c)));c.info.o&&(a.R=c.info);if(!a.I.Cf()){if(2==c.info.g.info.containerType){var e=xK(c);c.l&&c.info.g.info.video&&oK(e)}a.C&&eK(c.info,a.C);var f=c;!a.K||(a.o.Hg?$J(a.K,f.info,!0):aK(a.K,f.info))||(a.l&&a.l.reset(),a.F=window.NaN,a.D=0);a.K=f.info;if(a.l)b:{var k;if(!(k=!(0,window.isNaN)(a.B))){var l=
a.l;k=!(!(0,window.isNaN)(l.C)||!(0,window.isNaN)(l.H))}if(k){var m=a.l;m.H=(0,window.isNaN)(a.B)?(0,window.isNaN)(a.F)?f.info.startTime:a.F:a.B;pR(m);a.B=window.NaN}var n=xK(f),q=a.l.process(n),r;if(r=f.info.o){var u=a.l;r=!(0==u.g.type&&!u.A.length)}if(r&&!a.o.Ch){var C=bK(f.info);C.partialbox="1";a.T("error",C||{})}var I=b.timing,N=!!f.info.l&&1936286840!=q&&!(a.o.ae&&1936419184==q),Z=f.info.o;if(3==vR(I)){var V=I.Y;if(V.B.length){var Ga=V.B.shift(),oa=Ga.uu;N||(Ga.Zn-=Math.min(Ga.Zn,1500),Ga.uu=
0);V.l+=Ga.Zn;V.g+=Ga.uu;V.o+=(0,window.isNaN)(oa)?0:oa;if(Z){if(!(0>=V.g)){var qc=V.C,ie=V.g/1E3,$a=V.o/1E3;$a=void 0===$a?ie:$a;qc.g.g($a,V.l/ie);qc.o=g.AG()}V.g=0;V.l=0;V.o=0}}}if(a.o.qv&&a.o.g){if(!a.l.N&&!f.info.o){var hd=null;break b}}else if((0,window.isNaN)(a.l.F)){hd=null;break b}var lc=a.l,Gi=f.info.g.info;if(lc.o.length)if(lc.N=!1,lc.D.F||1!=lc.o.length){for(var Nb=0,Sb=g.la(lc.o),Gb=Sb.next();!Gb.done;Gb=Sb.next())Nb+=Gb.value.byteLength;if(lc.D.F){if(!lc.L||lc.L.length-lc.K<Nb)lc.L=new window.Uint8Array(Math.max(Nb,
lc.D.Li+Math.round(Gi.g*lc.D.Ki))),lc.K=0;var Hi=lc.L;var Ce=lc.K}else Hi=new window.Uint8Array(Nb),Ce=0;var Ii=Ce,vl=g.la(lc.o);for(Gb=vl.next();!Gb.done;Gb=vl.next()){var Dc=Gb.value;Hi.set(new window.Uint8Array(Dc.buffer,Dc.byteOffset,Dc.byteLength),Ce);Ce+=Dc.byteLength}lc.o.length=0;lc.D.F&&(lc.K=Ce);var Lg=new window.DataView(Hi.buffer,Ii,Nb)}else{var Bv=lc.o[0];lc.o.length=0;Lg=Bv}else Lg=null;var Rd=Lg;if(Rd){var On=WJ(Rd.byteOffset,Rd.byteLength);var Tua=a.o.F?WJ(0,Rd.buffer.byteLength):
On;var n$=f.info.l+f.info.Wa-a.l.A.length-Rd.byteLength,kxa=dK(f.info,n$,Rd.byteLength,f.info.o);hd=new wK(kxa,Rd.buffer,On,Tua,f.l&&(!a.o.F||!n$))}else hd=null}else{var qE;a.o.Ad?qE=a.W(zK(f),1):qE=(0,window.isNaN)(a.B)?(0,window.isNaN)(a.F)?f.info.startTime:a.F:a.B;a.B=window.NaN;if(a.o.X&&!AK(f,qE)){var o$=bK(f.info);o$.smst="1";a.T("error",o$||{})}else a.F=qE+BK(f);hd=f}var p$=hd;if(!p$)return[];c=p$;if(kS(a,c)){var rE=c;if(g.oI(rE.info.g.info)){var lxa=xK(rE),Xd=FJ(lxa,0,1701671783);if(Xd){Xd.skip(4);
wJ(Xd);wJ(Xd);vJ(Xd);vJ(Xd);vJ(Xd);vJ(Xd);var q$=new window.Uint8Array(new window.ArrayBuffer(Xd.size-Xd.g)),mxa=new window.Uint8Array(Xd.data.buffer,Xd.offset+Xd.g,Xd.size-Xd.g);q$.set(mxa);Xd.g=Xd.size;var nxa=q$.buffer;var oxa=Xd.offset;var r$,pxa=String.fromCharCode.apply(String,new window.Uint8Array(nxa));var gQ=(r$=EJ(pxa))?new CJ(r$,oxa):null}else gQ=null}else{var is=new gK(xK(rE)),qxa=is.g;is.g=0;var s$=null;if(iK(is,[408125543,307544935,29555,26568,17543])){var rxa=lK(is,!0);var sxa=String.fromCharCode.apply(String,
sK(is,rxa));var t$=EJ(sxa);s$=t$?new CJ(t$):null}is.g=qxa;gQ=s$}rE.o=gQ;c.o&&(a.C=c.o,a.L=!!a.l,eK(c.info,a.C),eK(a.K,a.C))}kS(a,c)&&g.oI(c.info.g.info)&&SJ(xK(c),1701671783);var hQ=c;if(a.C){if(hQ.info.o){a.L=!1;a.H=null;var dm=a.C;if(a.l){var u$=lR(a.l);mR(a.l);var iQ=u$.startTime;var v$=u$.duration}else iQ=zK(hQ),v$=BK(hQ);var w$=new qJ(dm.l,iQ,v$,dm.ingestionTime,"sq/"+dm.l,void 0,void 0,!1);a.T("segmentinfo",w$);var sE=dm.g["Cuepoint-Type"]?new BJ((0,window.parseFloat)(dm.g["Cuepoint-Playhead-Time-Sec"])||
0,(0,window.parseFloat)(dm.g["Cuepoint-Total-Duration-Sec"])||0,dm.g["Cuepoint-Context"]):null;sE&&(sE.Pe+=iQ,a.T("cuepoint",sE,dm.l));var x$=w$}else{if(a.L&&!(0,window.isNaN)(a.l.F)){var jQ=a.C,txa=lR(a.l).startTime;var kQ=new qJ(jQ.l,txa,a.C.F,jQ.ingestionTime,"sq/"+jQ.l,void 0,void 0,!0);a.H=kQ;a.T("placeholderinfo",kQ);a.L=!1;var y$=kQ}else y$=null;x$=y$}var z$=x$}else z$=null;var lQ=z$;var A$=c;if(a.o.qm)if(lQ){fK(A$.info,lQ);for(var B$=g.la(b.info.g),mQ=B$.next();!mQ.done;mQ=B$.next())fK(mQ.value,
lQ)}else a.H&&fK(A$.info,a.H);c.info.o&&(a.C=null)}var mx=c;if(a.o.hv&&!a.I.Cf()&&(0==mx.info.l||a.A)&&g.oI(mx.info.g.info)&&3==mx.info.type&&!CK(mx)&&mx.info.duration&&!a.o.ib){var C$=c;a.D+=1E3*(BK(C$)-C$.info.duration);if(a.N&&Math.abs(a.D-a.N.D)>=a.o.rm){var Bo=c,nQ=(a.N.D-a.D)/1E3,D$=BK(Bo)+nQ,uxa=new window.DataView(Bo.g),E$=g.HJ(uxa,1936286840);var oQ=E$?PJ(E$):window.NaN;if((0,window.isNaN)(oQ)){var F$=Bo.info.g.g,vxa=new window.DataView(Bo.g),G$=g.HJ(vxa,1836476516);oQ=G$?IJ(G$):F$?JJ(F$):
window.NaN}var tE=lS(a,Bo,D$*oQ);if(tE&&tE.length){var pQ=bK(Bo.info);pQ.fds=D$.toFixed(3);pQ.com=a.D.toFixed(3);a.T("timestamprewrite",pQ);a.F+=nQ;a.D+=1E3*nQ}return tE?tE:mS(a,Bo)}}if(!a.I.Cf()&&a.I.info.Hc&&a.o.Xy){var vE=c,em=nS(a,vE);if(em){var qQ=FJ(em,0,1718909296),rQ=FJ(em,0,1836019574),wE=FJ(em,0,1701671783),sQ=FJ(em,0,1836019558);if(qQ&&rQ&&sQ){for(var J$=TJ(em,rQ),tQ=TJ(em,sQ),K$=rQ.size,L$=g.la(tQ),Co=L$.next();!Co.done;Co=L$.next()){var uQ=Co.value;1886614376==uQ.type&&(J$.push(uQ),K$+=
uQ.size)}var M$=qQ.size+K$+sQ.size;wE&&(M$+=wE.size);var nx=new xJ(M$);zJ(nx,qQ);AJ(nx,1836019574,J$);wE&&zJ(nx,wE);var N$=g.la(tQ);for(Co=N$.next();!Co.done;Co=N$.next()){var xE=Co.value;1886614376==xE.type&&(xE.type=1936419184,xE.data.setUint32(xE.offset+4,1936419184))}AJ(nx,1836019558,tQ);var O$=nx.data.buffer}else O$=null;var P$=O$;var vQ=P$?oS(a,em,P$,vE):mS(a,vE)}else vQ=mS(a,vE)}else{if(a.o.zd&&a.I.Cf()&&(0==c.info.l||a.A)&&g.oI(c.info.g.info)){var yE=c,wxa=yE.info.g.index.Oq(yE.info.sa),R$=
lS(a,yE,wxa);var S$=R$?R$:mS(a,yE)}else S$=[c];vQ=S$}return vQ};
kS=function(a,b){return!a.I.Cf()&&0==b.info.l&&(g.oI(b.info.g.info)||2==b.info.g.info.containerType)};
mS=function(a,b){if(a.A&&a.A!=b){var c=[a.A,b];a.A=null;return c}return[]};
lS=function(a,b,c){var d=nS(a,b);return d?(c=Bka(d,c,a.Y))?oS(a,d,c,b):null:null};
oS=function(a,b,c,d){b=RJ(b);a.A&&(b-=a.A.range.length,a.A=null);a=yK(d,b);a[0].g=c;a[0].range=WJ(0,c.byteLength);a[0].A=WJ(0,c.byteLength);d=a[0];c=new window.DataView(c);c=!!FJ(c,0,1836019574);d.l=c;return a};
nS=function(a,b){if(a.A){var c=a.A,d=new window.Uint8Array(c.range.length+b.range.length);d.set(new window.Uint8Array(c.g,c.range.start,c.range.length));d.set(new window.Uint8Array(b.g,b.range.start,b.range.length),c.range.length);c=new window.DataView(d.buffer);RJ(c);return c}c=xK(b);if((d=RJ(c))&&d<c.byteLength)return c;a.A=b;return null};
pS=function(a,b,c){this.l=b;this.A=[];this.o=new eS(a,b,c);this.N=this.B=this.g=null;this.K=0;this.H=b.info.g;this.F=!1;this.I=0;this.D=b.kc();this.C=-1;this.ak=this.D?0:window.NaN};
qS=function(a,b){a.A.push(b);a.g=g.Ja(b.info.g)};
sS=function(a){for(;a.A.length&&6==a.A[0].state;){var b=a.A.shift();rS(a,b);b=b.timing;a.K=(b.C-b.g)/1E3}a.A.length&&aS(a.A[0])&&!WK(a.A[0].info)&&rS(a,a.A[0])};
rS=function(a,b){if(aS(b)){b.I=!0;var c=b.l,d=c.g;c.g=[];c.A=g.Ja(d).info;(0,g.B)(d,(0,g.z)(a.R,a,b))}};
vS=function(a,b){a.l.Jc();var c=tS(a,b);if(0<=c)return c;a.g=a.l.Sg(b).g[0];uS(a)&&(a.B=null);a.I=0;return a.g.startTime};
wS=function(a){var b=0;(0,g.B)(a.A,function(a){var c=b;a=a.l&&a.l.length?Fma(a.l):ZK(a.info);b=c+a},a);
return b+=Tma(a.o)};
yS=function(a){xS(a);a.o.g=[]};
zS=function(a,b){var c;for(c=0;c<a.A.length&&b!==a.A[c];c++);if(c==a.A.length)b.I&&iS(a.o,b.info),b.dispose();else{for(;c<a.A.length;){var d=a.A.pop();d.I&&iS(a.o,d.info);d.dispose()}3==b.info.g[0].type?(b.l&&b.l.A?(c=b.l.A,c=new YJ(c.type,c.g,c.range,c.sa,c.startTime+c.duration,0,c.l+c.Wa,0,!1)):(c=b.info.g[0],c=new YJ(c.type,c.g,c.range,c.sa,c.startTime,0,c.l,0,!1)),a.g=c):a.g=null}};
uS=function(a){return!!a.B&&a.B.C};
AS=function(a){var b=[];a.B&&b.push(a.B);b=g.Xa(b,hS(a.o));(0,g.B)(a.A,function(a){(0,g.B)(a.info.g,function(c){a.I&&(b=(0,g.Ld)(b,function(a){return!(a.g!=c.g?0:a.range&&c.range?a.range.start+a.l>=c.range.start+c.l&&a.range.start+a.l+a.Wa<=c.range.start+c.l+c.Wa:a.sa==c.sa&&a.l>=c.l&&(a.l+a.Wa<=c.l+c.Wa||c.o))}));
3!=c.type&&4!=c.type||b.push(c)})});
a.g&&!Eka(a.g,g.Ja(b),a.g.g.Cf())&&b.push(a.g);return b};
BS=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!aK(a[c-1],a[c]))return!1;return!0};
tS=function(a,b,c){c=void 0===c?!1:c;if(!a.g||!a.g.Wa)return window.NaN;a=AS(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var k=a[f];if(k.B<=b)if(d)e=f;else if(k.startTime+k.duration>=b){b=f;break a}}b=e}return 0>b||!BS(a,c?b:0)?window.NaN:a[b].startTime};
CS=function(a){return(0,g.Ej)(a.A,function(a){return 4<=a.state})};
DS=function(a){return!(!a.g||a.g.g==a.l)};
ES=function(a){return DS(a)&&a.l.Jc()&&a.g.g.info.g<a.l.info.g};
FS=function(a,b,c){return(a=gS(a.o)?gS(a.o).info:a.B)&&!a.C?a.A>b&&a.A<b+c:!1};
xS=function(a){(0,g.B)(a.A,function(a){a.I&&iS(this.o,a.info);a.dispose()},a);
a.A=[];a.g=null};
GS=function(a){return!!a.g&&-1!=a.g.sa&&a.g.sa<a.l.index.Ff()};
Uma=function(a){if(a.g){var b=gS(a.o);b&&3==b.info.type&&-1==a.g.sa&&(a.g.sa=b.info.sa)}};
Vma=function(a){return(0,g.Ej)(a.A,function(a){return a.H})};
Wma=function(a,b){this.l=a;this.g=b;this.o=1};
Xma=function(a,b){var c=Math.min(2.5,lM(a.l)),d=HS(a);return b-c*d};
IS=function(a,b,c,d,e){e=void 0===e?!1:e;d/=a.o;var f=1/oM(a.l);var k=Math.max(.9*(d-3),lM(a.l)+a.l.policy.A*f);c=k/f*a.g.ev/(b+c);c=Math.min(c,d);a.g.qb&&e&&(c=Math.max(c,a.g.qb));return Yma(a,c,b)};
Yma=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.g.cv*c),Math.min(Math.min(a.g.Y,a.g.Ma*c),Math.ceil(b*c))))};
Zma=function(a,b){var c=Yma(a,b.video?a.g.Ev:a.g.Fg,b.g);return a.g.yf&&b.video?Math.max(c,a.g.yf):c};
HS=function(a){var b=oM(a.l);if(a.g.Ji)return b;var c=a.g.Zu,d=1E-9+lM(a.l);b*=Math.min(1,c/(b*d));a.g.xf&&(c=((iM(a.l.l,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.g.xf*c);return b};
JS=function(a){return HS(a)/a.o};
$ma=function(a,b,c,d){this.Y=a;this.g=b;this.D=c;this.H=d;this.A=mJ;this.B=this.L=null;this.F="i";this.N=-1;this.o=this.C=null;this.l=[];this.W={};this.R=this.I=0;this.da=null;this.K=this.Z=!1;this.ca=this.X=0};
bna=function(a,b,c){if(a.g.L&&jJ(a.A,b))return null;var d=a.g.L?b.reason:c;"m"==d&&a.A.isLocked()&&!b.isLocked()&&(c="a");if("m"==d&&b.isLocked())return a.F=c,KS(a,b),a.I=a.l.length-1,LS(a),MS(a),a.K=a.K||a.B!=a.o,a.B=a.o,new WQ(a.C,a.B,c);var e=jJ(a.A,b);if("m"==a.F&&a.A.isLocked()&&e)return null;"r"!=d||e||(a.N=-1);KS(a,b);MS(a);if("r"==d&&a.o==a.B)return e?null:new WQ(a.C,a.o,c);a.F=c;ana(a);return null};
dna=function(a,b){if(b.info.video){if(a.B!=b)return a.B=b,cna(a)}else a.L=b;return null};
NS=function(a,b){a.g.I?b.F=g.AG():(a.da=b.info,a.R=g.AG());a.N=-1;KS(a,a.A)};
OS=function(a){if(a.g.I){for(var b=g.AG()-6E4,c=g.la(a.H.videoInfos),d=c.next();!d.done;d=c.next())if(a.D.g[d.value.id].F>b)return!0;return!1}return!!a.R&&6E4>=g.AG()-a.R};
PS=function(a){return a.A.isLocked()};
ana=function(a){if(a.B&&a.o&&QS(a,a.B.info)<QS(a,a.o.info)){var b=a.g.L?a.A.reason:a.F;a.Z=a.Z||"r"==b||"u"==b||"v"==b}};
cna=function(a){var b=a.F;a.F="a";a.N=g.AG();a.Z=!1;return new WQ(a.L,a.B,b)};
KS=function(a,b){a.A=b;var c=a.H.videoInfos;if(!PS(a)){var d=g.AG()-6E4;c=(0,g.Ld)(c,function(a){if(a.g>this.g.H)return!1;a=this.D.g[a.id];return this.g.I&&a.F>d||4<a.A.g||a.B?!1:!0},a);
if(OS(a)){a.g.I||(c=(0,g.Ld)(c,function(a){return a.id!=this.da.id},a));
var e=(0,g.Ld)(c,function(a){a=kI(a);return"140"==a||"134"==a||"243"==a});
e.length&&(c=e)}}c.length||(c=a.H.videoInfos);e=(0,g.Ld)(c,b.A,b);e.length||(e=[c[0]]);e.sort((0,g.z)(function(a,b){return QS(this,a)-QS(this,b)},a));
for(c=1;c<e.length;c++){var f=e[c-1],k=e[c];f.video.width>k.video.width?(g.Ua(e,c),c--):QS(a,f)*a.g.l>QS(a,k)&&(g.Ua(e,c-1),c--)}c=e[e.length-1];a.l=e;Ika(a.g,c)};
ena=function(a,b){if(b)a.C=a.D.g[b];else{var c=g.Ma(a.H.g,function(a){return!!a.Nb&&a.Nb.isDefault});
c=c||a.H.g[0];a.C=a.D.g[c.id]}LS(a)};
LS=function(a){if(!a.C.info.Nb&&(a.C=a.D.g[a.H.g[0].id],1<a.H.g.length)){if(a.A.isLocked())var b=240>a.A.g;else{for(b=0;b+1<a.l.length&&"tiny"==a.l[b].video.quality;)b++;var c=JS(a.Y)/a.g.l;b=QS(a,a.C.info)+QS(a,a.l[b])>c}b&&(a.C=a.D.g[a.H.g[1].id])}};
MS=function(a){if(PS(a))a.o=a.D.g[a.l[a.l.length-1].id];else{var b=Math.min(a.I,a.l.length-1),c=JS(a.Y),d=QS(a,a.C.info),e=c/a.g.o-d,f=c/a.g.l-d;if(a.g.W){f=Math.min(a.g.TD,a.g.Ld/(a.g.W+a.g.Ld-a.ca));var k=a.g.l/a.g.o;e=c*f-d;f=c*f*k-d}for(;0<b&&!(QS(a,a.l[b])<=e);b--);for(;b<a.l.length-1&&!(QS(a,a.l[b+1])>=f);b++);a.o=a.D.g[a.l[b].id];a.I=b;a.g.L||ana(a)}};
fna=function(a){var b=a.g.o,c=JS(a.Y)/b-QS(a,a.C.info);b=g.Na(a.l,function(a){return QS(this,a)<c},a);
0>b&&(b=0);a.I=b;a.o=a.D.g[a.l[b].id]};
QS=function(a,b){if(!a.W[b.id]){var c=a.D.g[b.id].index.Ox(a.X,15);c=b.A&&a.B&&a.B.index.Mb()?c||b.A:c||b.g;a.W[b.id]=c}return a.W[b.id]};
gna=function(a,b){var c=Xb(a.D.g,function(a){return kI(a.info)==b});
if(!c)throw Error("Itag "+b+" from server not known.");return c};
hna=function(a){var b=[],c=a.g.L?a.A.reason:a.F;if("s"==c||"m"==c)return b;c=!1;if(Yka(a.D)){for(var d=Math.max(0,a.I-2);d<a.I;d++){var e=kI(a.l[d]);hI(a.l[d].video)||(c=!0);b.push(e)}b.reverse();if(!c&&a.g.sC)for(d=Math.max(0,a.I-3);0<=d&&!c;d--)hI(a.l[d].video)||(c=!0,b.push(kI(a.l[d])))}return b};
ina=function(){this.g=this.l=0;this.o=[]};
RS=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
SS=function(a,b,c,d){this.l=a;this.C=b;this.B=d;this.A=c;this.g=0};
jna=function(a,b,c,d){g.aG.call(this);this.g=a;this.R=b;this.N=c;this.K=d;this.L=window.NaN;this.o=this.H=this.B=null;this.l=this.D=this.F=this.C=window.NaN;this.A=!1;this.I=window.NaN};
kna=function(a,b,c,d){return a.N&&a.g&&a.D&&ZQ()&&(!a.yv||a.Ca)?new jna(a,b,c,d):null};
lna=function(a,b){if(a.g.uv){var c=b.info.g;if(0>=c)a.I=window.NaN;else{var d=oM(a.R),e=b.index.l;c=Math.max(1,d/c);a.I=Math.round(1E3*Math.max(((c-1)*e+a.g.Z)/c,e-a.g.Xa))}}};
ona=function(a,b){var c=(0,g.F)()/1E3,d=c-a.C,e=c-a.F,f=e>=a.g.vf,k=!1;if(f){var l=0;!(0,window.isNaN)(b)&&b>a.D&&(l=b-a.D,a.D=b);l/e<a.g.xv&&(k=!0);a.F=c}c=d>=a.g.Xa&&!a.A;if(!f&&!c&&mna(a,b))return window.NaN;c&&(a.A=!0);a:{d=k;c=(0,g.F)()/1E3-(a.N.l()||0)-a.H.o-a.g.Z;f=a.o.startTime;c=f+c;if(d){if((0,window.isNaN)(b)){TS(a,window.NaN,"n",b);f=window.NaN;break a}d=b-a.g.Ta;d<c&&(c=d)}else a.A&&(d=c+a.g.Z-a.L+a.g.Cv,(0,window.isNaN)(b)||(d=Math.max(d,Math.min(c,b-a.g.Ta))),c=d);f=c=Math.max(c,f)}a.l=
f;if((0,window.isNaN)(a.l))return US(a),window.NaN;if(!k&&mna(a,b))return nna(a,b),window.NaN;if(a.l<=a.o.startTime)return TS(a,window.NaN,"y",b),US(a),window.NaN;if(!a.K(a.l,!1))return!nna(a,b)&&k&&(TS(a,window.NaN,"t",b),US(a)),window.NaN;k=a.l;TS(a,k,"s",b);US(a);return k};
nna=function(a,b){return a.K(a.l,!0)?!1:(TS(a,window.NaN,"ns",b),US(a),!0)};
mna=function(a,b){return(0,window.isNaN)(b)?!0:(0,window.isNaN)(a.l)?!1:b<a.l+(a.A?a.g.Ta:a.g.vv)};
US=function(a){a.B=null;a.H=null;a.o=null;a.C=window.NaN;a.F=window.NaN;a.D=window.NaN;a.l=window.NaN;a.A=!1};
TS=function(a,b,c,d){var e=RR(a.B);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.l).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.C).toFixed(0);e.ssr_n=(0,g.F)().toFixed(0);e.ssr_f=(1E3*a.H.o).toFixed(0);e.ssr_fa=a.A?"1":"0";e.ssr_o=(1E3*a.N.l()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.o.g.index;eL(b,a.o.sa,!0)&&(e.ssr_ist=(1E3*b.Xd(a.o.sa)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.o.sa)).toFixed(0));e=fN(e);a.T("ctmp","ssr",e,!1)};
pna=function(){this.g=[];this.l=g.NQ};
qna=function(a,b){for(var c=[],d=g.la(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
sna=function(a){return a.g.slice(rna(a,0x7ffffffffffff),a.g.length)};
rna=function(a,b){var c=gb(a.g,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
tna=function(a,b){for(var c=window.NaN,d=g.la(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&((0,window.isNaN)(c)||e.end<c)&&(c=e.end),e.start>b&&((0,window.isNaN)(c)||e.start<c)){c=e.start;break}return c};
VS=function(a,b,c,d){g.K.call(this);this.A=window.NaN;this.H=!1;this.F=null;this.I=this.K=this.B=!1;this.Y=a;this.W=b;this.L=c;this.N=d;this.R=new g.mu(this.o,250,this);g.L(this,this.R);this.D=new g.mu(this.o,0,this);g.L(this,this.D);this.l=[];this.g=new pna};
WS=function(a,b){a.o();var c=a.g;if(1<b.length&&b.length>c.g.length)c.g=c.g.concat(b),c.g.sort(c.l);else for(var d=g.la(b),e=d.next();!e.done;e=d.next())e=e.value,!c.g.length||0<c.l(e,c.g[c.g.length-1])?c.g.push(e):g.kb(c.g,e,c.l);a.A=window.NaN;a.o()};
XS=function(a){return a.ha()?[]:a.g.g};
una=function(a,b){var c=(0,g.Ld)(XS(a),function(a){return a.namespace==b});
a.C.apply(a,c);return c};
vna=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.l.indexOf(e)&&(a.l.push(e),c.push([1,e]))}return c};
wna=function(a,b){var c=[];if(!b.length)return c;b.sort(g.NQ);for(var d=0;d<b.length;d++){var e=b[d];a.l.splice(a.l.indexOf(e),1);c.push([2,e])}return c};
YS=function(){var a=this;this.l=this.g=null;this.o=new g.$f(function(b,c){a.g=b;a.l=c})};
$S=function(a,b,c,d,e){g.aG.call(this);var f=this;this.K=a;this.l=b;this.C=c;this.ib=e||null;this.g=this.A=null;this.H=new Wma(a,b);this.o=null;this.D=new $ma(this.H,b,this.C,d);this.W=new g.mu(this.je,0,this);g.L(this,this.W);this.fa=new g.mu(this.je,1E3,this);g.L(this,this.fa);this.Jb=new g.mu(this.je,void 0,this);g.L(this,this.Jb);this.Pa=new g.mu(this.je,1E4,this);g.L(this,this.Pa);this.B=window.NaN;this.L=!1;this.I=window.NaN;this.Xa=0;this.N=this.ma=this.R=!1;this.Pb={};this.ea="";this.oa=this.ya=
0;this.Ta=b.ty?new ina:null;this.Ma=new fM(5);this.Y={};this.Ca="";this.za=window.NaN;this.X=!1;(this.F=kna(this.l,this.K,this.Ma,function(a,b){if(f.g.l.Jc()&&f.A.l.Jc()&&f.o&&f.o.l&&f.o.g)if(b&&f.C.l&&(-1==f.g.C||-1==f.A.C))var c=!0;else c=ZS(f.g,a,f.o.l,b),(0,window.isNaN)(c)?c=!1:(c=ZS(f.A,f.l.Ca?a:c,f.o.g,b),c=(0,window.isNaN)(c)?!1:!0);else c=!1;return c}))&&this.F.subscribe("ctmp",this.Yf,this);
this.Db=window.NaN;this.Z=this.qb=null;this.Na=window.NaN};
aT=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.B;var c=0;a.l.W&&a.o&&(c=DI(FI(a.o.l),a.B));var d=a.g;var e=a.D;var f=e.o&&e.o.index.Tg(b)||0;e.X!=f&&(e.W={},e.X=f,KS(e,e.A));e.ca=c;c=!PS(e)&&-1<e.N&&g.AG()-e.N<1E3*e.g.vn;f=3*QS(e,e.o.info)<JS(e.Y);if(!c||f)e.g.I||!e.R||OS(e)||(e.R=0,KS(e,e.A)),LS(e),MS(e),e.K=e.K||e.o!=e.B;e.o.index.Mb()||(e.X=-1);e=e.o;d.l!=e&&(d.l=e);d=a.A;e=a.D.C;d.l!=e&&(d.l=e)};
bT=function(a,b){a.R=!0;a.ma=b};
g.xna=function(a,b){var c=a.g.l.info.mimeType;b.g=new EI(b.o.addSourceBuffer(a.A.l.info.mimeType));c="fakesb"==c?new xI:b.o.addSourceBuffer(c);b.l=new EI(c);a.o=b;a.A.F=!1;a.g.F=!1;a.A.B=null;a.g.B=null;a.resume();PI(b)&&(b.g.addEventListener("updateend",(0,g.z)(a.je,a)),b.l.addEventListener("updateend",(0,g.z)(a.je,a)),b.g.addEventListener("error",(0,g.z)(a.to,a,!0)),b.l.addEventListener("error",(0,g.z)(a.to,a,!1)));a.Tc("msa");fO("msa");MN.measure&&MN.getEntriesByName("mark_vta").length&&MN.measure("measure_vta_to_msa",
"mark_vta");a.ia&&a.da&&(c=g.x("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.je()};
yna=function(a){a.o&&a.o.g&&a.o.g.supports(3)&&(a.o.g.removeEventListener("updateend",(0,g.z)(a.je,a)),a.o.l.removeEventListener("updateend",(0,g.z)(a.je,a)),a.o.g.removeEventListener("error",(0,g.z)(a.to,a,!0)),a.o.l.removeEventListener("error",(0,g.z)(a.to,a,!1)));a.o=null;bT(a,!1);cT(a)};
dT=function(a){a.o&&MI(a.o)&&yna(a)};
fT=function(a,b,c){if(a.R&&(!qM(a.K)||a.ma))return!1;if(a.C.l){if(1<a.l.Jb&&0<b.A.length&&b.g&&-1==b.g.sa||b.A.length>=a.l.Jb&&!a.l.Na||!a.l.tC&&0<b.A.length&&!a.l.g)return!1;if(b.D)return!(0,window.isNaN)(a.za)}if(Vma(b))return!1;if(!(b.g||a.C.l&&a.l.Na&&b.D)){if(!b.l.Jc())return!1;vS(b,a.B)}var d=b.A.length+c.A.length;(CS(b)||CS(c)||a.C.isLive&&(!a.l.Na||!b.A.length))&&--d;if(d+1>=a.l.Im)return!1;d=b.g;if(!d)return!0;if(!TK(d.g.A))return!1;4==d.type&&d.g.Jc()&&(b.g=g.Ja(d.g.Oo(d)),d=b.g);!d.C&&
!d.g.li(d)||d.g.info.audio&&4==d.type?a=!1:ES(b)&&!a.l.ea?a=!0:(!(c=d.C||wS(b)&&wS(b)+wS(c)>a.l.ma||!!(c.g&&!c.g.C&&c.g.A<d.A)&&(!a.C.l||c.g.A&&d.A))&&(c=3==d.type)&&(d=d.A,b=eT(a,b,!0),!PS(a.D)&&0<a.l.da&&(c=(g.AG()-a.Xa)/1E3,b=Math.min(b,a.l.da+a.l.wf*c)),b=a.B+b,a.l.xd?(c=Math.min(b,zna(a)+a.l.xd),c!=b&&a.Yf("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a};
Ana=function(a,b,c){if((!a.o||LI(a.o)||PI(a.o))&&!a.L&&a.D.Z){var d=a.B;a=a.H;c=IS(a,b.l.info.g,c.l.info.g,0);var e=lM(a.l)+c/oM(a.l);d+=Math.max(e,e+a.g.Mc-c/b.l.info.g);a:{if(b.A.length){if(b.A[0].info.g[0].startTime<=d)break a;xS(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.Ja(g.Ja(b.A).info.g):b.o.g.length?b.g=gS(b.o).info:b.g=b.B;b.g&&d<b.g.startTime&&(b.I=0,b.g=b.l.Sg(d,!0).g[0])}}};
Bna=function(a,b,c){fT(a,b,c);var d=b.g;if(b.D)d=b.l.Sg(window.Infinity),d.o=a.za,a.F?(c=a.F,0==d.o&&(d.A=c.I)):d.A=a.Db,qS(b,gT(a,d));else if(b.g.g.Jc()){!ES(b)||a.l.ea||a.C.l||(Ana(a,b,c),b.g||vS(b,a.B));d=b.g;var e=d.A-a.B,f=!d.range||0==d.Wa&&0==d.l?0:d.range.length-(d.l+d.Wa),k=d.g;if(DS(b)&&b.l.Jc()){var l=Math.min(a.l.Pb,.5*eT(a,b,!0));l=ES(b)||e<=l||0<a.l.W}else l=!1;l&&0==f&&(a.C.l?k=b.l:(k=d.startTime+hT,d.Wa&&(k+=d.duration),vS(b,k),d=b.g,k=d.g));k.Cf()?(f=a.D,c=IS(a.H,k.info.g,c.l.info.g,
e,0<f.l.length&&0==f.I&&a.N),e=DS(b)&&b.l.Jc(),c=d.g.Dj(d,c),c.range&&1<c.g.length&&(e||c.l.g?c=d.g.Dj(d,c.g[0].Wa):(e=c.g[c.g.length-1],k=e.Wa/c.range.length,!e.o&&.4>k&&(c=d.g.Dj(d,c.range.length-e.Wa)))),d=c):d=k.ll(d);qS(b,gT(a,d))}else d.g.Cf()?(c=IS(a.H,b.l.info.g,c.l.info.g,0),d=d.g.Dj(d,c)):d=d.g.ll(d),qS(b,gT(a,d))};
gT=function(a,b){3==b.g[b.g.length-1].type&&Cna(a,dna(a.D,b.g[0].g));var c=ZK(b);c=new Lma(a.K,c,Xma(a.H,c),b,a.qb);a.l.km&&(c.F=[]);var d=new PR(a.l,b,c,a.Y);c.ma=function(){return Pma(d)?d.o.Eh&&window.performance&&window.performance.now&&d.g&&d.g.Uk()&&ZR(d)&&GR(d.g)?d.info.g[0].g.info.video?3:4:2:1};
Nma(d,(0,g.z)(a.dS,a));3==b.g.length&&1==b.g[0].type&&2==b.g[1].type&&4==b.g[2].type&&b.g[0].g.info.video&&(d.Y=hna(a.D));d.start(Math.max(0,b.g[0].B-a.B));b.g[0].g.info.video&&(c=QR(d))&&(a.Ca=c.substr(0,c.indexOf(".")));return d};
Cna=function(a,b){b&&a.T("videoformatchange",b)};
Dna=function(a,b,c){a:{b=b.info;var d=a.l.jm,e=null,f=b.g[0];if(b.range)e=WJ(b.range.start,Math.min(4096,b.range.length));else if(!d||f.g.info.video){c=null;break a}b=new YJ(5,f.g,e,f.sa);b=new VK([b]);b.C=c;c=b}c&&gT(a,c)};
Gna=function(a){var b=-1!=a.g.C,c=-1!=a.A.C;if(!b||!c)if(b=!b&&fS(a.g.o),c=!c&&fS(a.A.o),b||c){c=b?a.g:a.A;b=b?a.A:a.g;var d=fS(c.o).info.sa;if(-1!=b.C&&b.C!=d)a.l.X&&KL(a.C,d,c==a.g),Ena(c,b.C),iT(a,!1,"qoe.avsync",{start:"1",target:String(b.C),actual:String(d)});else{c.C=d;c.ak=window.NaN;var e=Math.max(b.l.index.Xd(b.C),c.l.index.Xd(c.C));-1!=b.C&&(a.Z&&(a.Z.resolve(e+.1),a.Z=null),g.Uf(function(){return Fna(a,e)}))}}};
Ena=function(a,b){yS(a);vS(a,window.Infinity);var c=a.ak;a.o.B=c;a.ak=c;a.g.sa=b-1};
Hna=function(a){if(a.C.o)return!1;var b;if(!(b=Vma(a.g))&&(b=a.L)){b=a.H;var c=a.g,d=a.A;if(0==c.A.length&&0==d.A.length)b=!0;else{var e=0,f=hS(c.o).concat(hS(d.o));f=g.la(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.Wa;c=c.l.info.g+d.l.info.g;e/=c;b=10<e?!0:10>c*(10-e)/JS(b)}(b=!b)||(b=a.g,b=0<b.A.length&&1==b.o.g.length&&fS(b.o).info.D<b.K)}if(b)return!0;if(!a.N||!a.l.ya||10>a.B||360<a.g.l.info.video.l)return!1;b=FS(a.g,a.B,a.l.ya)||FS(a.A,a.B,a.l.ya);return(0<a.g.A.length||0<a.A.A.length||
fT(a,a.g,a.A)||fT(a,a.A,a.g))&&b};
Kna=function(a,b,c,d){if(c.g.updating)return!0;var e=fS(b.o);if(!e)return!1;!b.B||b.B.o||$J(b.B,e.info)||(b.B=null,LI(a.o)&&c.abort(),c.l=null);var f=a.C.isLive&&CK(e),k;if(k=a.l.yd&&a.C.o&&0==e.info.l&&g.oI(e.info.g.info)){if(null==c.l){if(!(k=null==b.B||b.B.g!=e.info.g)){a:{k=b.B.F;var l=e.info.F;if(k.length!=l.length)k=!1;else{for(var m=0;m<k.length;m++)if(!g.jb(k[m],l[m])){k=!1;break a}k=!0}}k=!k}}else k=c.l!=e.info.g.g;k=!k}k&&g.oI(e.info.g.info)&&(SJ(xK(e),1836019574),SJ(xK(e),1718909296),e.l=
!1);if(!a.C.o||0==e.info.l)if(f||a.C.l||e.l)c.l=null;else if(jT(a,c,e))return!0;f=eT(a,b,!1);f=a.B+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.F)a:if(a.F.B&&b.l.info.audio){if((f=fS(b.o))&&(f=f.o)&&null!=f.A){f=f.A-1;break a}f=-1}else f=window.Infinity;else f=window.Infinity;k=b.o;if(!k.g.length||k.g[0].info.B>=d)d=null;else if(l=k.g[0].l?0:k.g[0].range.start,l>f)d=null;else{for(m=1;m<k.g.length;m++){var n=k.g[m].range.start>f,q=k.g[m].g!=k.g[m-1].g;if(k.g[m].info.B>d||n||q||k.o.zd)break}m--;d=new g.UJ(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.Ta&&e.info.g.info.video&&g.oI(e.info.g.info)&&(k=a.Ta,0==e.info.l&&(k.l=0,k.g=0,k.o.length=0),!((0,window.isNaN)(k.l)||8>f.length))){l=new window.DataView(f.buffer,f.byteOffset);for(m=!1;!m;)if(k.l==k.g)a:if(m=k,n=f.length,m.l+7>=n){for(q=m.l;q<n;q++)m.o.push(l.getUint8(q));m=!0}else{if(0<m.o.length){for(q=0;8>m.o.length;q++)m.o.push(l.getUint8(q));var r=RS(m.o,0);q=RS(m.o,4);m.o.length=0}else r=l.getUint32(m.g),
q=l.getUint32(m.g+4);if(1836019558==q||1836019574==q||1718909296==q||1936286840==q||1701671783==q||1937013104==q||1936419184==q)m.l+=r,m.g=m.l;else if(1835295092==q)m.l+=r,m.g+=8;else{m.l=window.NaN;m=!0;break a}m=m.g>=n}else a:if(m=k,n=f.length,m.g+5>=n){for(q=m.g;q<n;q++)m.o.push(l.getUint8(q));m=!0}else{if(0<m.o.length){for(q=0;6>m.o.length;q++)m.o.push(l.getUint8(q));q=RS(m.o,0);12==q&&6==m.o[4]&&45==m.o[5]&&l.setUint8(m.g+5,63);m.g+=q+4;m.o.length=0}for(;m.g<m.l&&m.g+5<n;){q=l.getUint32(m.g);
if(0>=q){m.l=window.NaN;m=!0;break a}12==q&&6==l.getUint8(m.g+4)&&45==l.getUint8(m.g+5)&&l.setUint8(m.g+5,63);m.g+=q+4}m=m.g>=n}(0,window.isNaN)(k.l)||(k.l-=f.length,k.g-=f.length)}k=!1;3!=e.info.type||!g.oI(e.info.g.info)&&2!=e.info.g.info.containerType||(k=g.oI(e.info.g.info)&&a.l.xG&&!b.F&&0==e.info.l&&0<e.info.startTime)&&AK(e,0);a:if(f=Ina(a,c,f),"s"==f)f=!0;else{if("i"==f||"x"==f)Jna(a,"checked",f,e.info);else{if("q"==f&&(e.info.g.info.video?(f=a.l,f.B=Math.floor(.8*f.B),f.R=Math.floor(.8*f.R),
f.A=Math.floor(.8*f.A)):(f=a.l,f.C=Math.floor(.8*f.C),f.oa=Math.floor(.8*f.oa),f.A=Math.floor(.8*f.A)),c.supports(2)&&!c.g.updating)){f=!1;l=FI(c).length;for(m=0;!f&&m<l;m++)FI(c).start(m)>e.info.A&&(c.remove(FI(c).start(m),FI(c).end(l-1)),f=!0);f||c.remove(0,Math.max(0,Math.min(a.B,e.info.startTime)-5));f=!1;break a}a.T("reattachrequired")}f=!1}if(!f)return!1;b.F=!0;if(k)AK(e,e.info.startTime),c.abort(),c.l=null;else{f=b.o;for(k=[];f.g.length&&(f.g[0].range.end>d.end?(m=yK(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.B)(k,b.W,b)}e.l&&e.info.g.g&&(c.l=e.info.g.g,a.T("initsegment",c.l));return!0};
Jna=function(a,b,c,d){var e="fmt.unplayable";"i"==c&&(e="html5.invalidstate");if("x"==c||"m"==c)e="fmt.unparseable",d.g.B=e,d.g.info.video&&!OS(a.D)&&NS(a.D,d.g);d=bK(d);d.mrs=a.o.o.readyState;d.origin=b;d.reason=c;iT(a,"i"!=c,e,d)};
Lna=function(a,b,c){ila(a.C,b,c)&&c&&g.Uf(function(){return Fna(a,b.startTime)})};
Fna=function(a,b){!a.ha()&&a.l.ca&&a.X&&-1!=a.g.C&&-1!=a.A.C&&(a.X=!1,a.T("seekplayerrequired",b+.1,!0))};
jT=function(a,b,c){c.info.g.Jc();var d=c.info.g.g;if(null==d||b.l==d)return!1;var e=Ina(a,b,d);if("s"!=e)return Jna(a,"sepInit",e,c.info),!0;b.l=d;a.T("initsegment",b.l);return b.g.updating};
Ina=function(a,b,c){try{b.supports(0)?b.g.appendBuffer(c):b.g.append(c)}catch(d){if(11==d.code)return"i";if(12==d.code)return"x";if(22!=d.code&&0!=d.message.indexOf("Not enough storage"))return g.dE(d),"u";a.l.pm&&a.Yf("quex","br."+zI(FI(b)).replace(/,/g,"_"));return"q"}return MI(a.o)?"m":"s"};
Mna=function(a,b){b.o.subscribe("error",a.PQ,a);b.o.subscribe("timestamprewrite",a.TQ,a);var c=(0,g.z)(a.QQ,a,b);b.o.subscribe("placeholderinfo",c,void 0);c=(0,g.z)(a.RQ,a,b);b.o.subscribe("placeholderrollback",c,void 0);c=(0,g.z)(a.SQ,a,b);b.o.subscribe("segmentinfo",c,void 0);b==a.g&&b.o.subscribe("cuepoint",a.OQ,a)};
eT=function(a,b,c){if(a.R)return 1;var d=b.l.info.audio?a.l.C:a.l.B;!a.l.ea&&PS(a.D)&&(d=Math.max(d,b.l.info.audio?a.l.oa:a.l.R));c&&(d+=a.l.ma);var e=PS(a.D)?b.g?b.g.g.info.g:b.l.info.g:b.H;d/=e;0<a.l.Cb&&a.o&&LI(a.o)&&(b=b.l.info.video?a.o.l:a.o.g)&&!b.g.updating&&(e=AI(FI(b),a.B),0<=e&&(b=a.B-FI(b).start(e),d+=Math.max(0,Math.min(b-a.l.Cb,a.l.ln))));0<a.l.A&&(d=Math.min(d,a.l.A));a.l.Kc&&c&&!PS(a.D)&&(c=a.D,c=QS(c,g.Ja(c.l))+QS(c,c.H.g[0]),c=a.l.Kc*(c/HS(a.H)),c<d&&15>c&&a.Yf("bwcapped","1",!0),
c=Math.max(c,15),d=Math.min(d,c));return d};
zna=function(a){if(!a.ib)return window.Infinity;var b=(0,g.Ld)(XS(a.ib),function(a){return"ad"==a.namespace});
b=g.la(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.B)return c.start/1E3;return window.Infinity};
Ona=function(a){Nna(a);a.Z=new YS;return a.Z};
Nna=function(a){cT(a);a.F&&lna(a.F,a.g.l);var b=Math.max(jS(a.g.o),jS(a.A.o)),c=a.g;c.D=!0;c.C=-1;vS(c,window.Infinity);c.o.B=b;c.ak=b;c=a.A;c.D=!0;c.C=-1;vS(c,window.Infinity);c.o.B=b;c.ak=b;c=a.C;for(var d in c.g)sJ(c.g[d].index,window.Infinity);a.l.ca&&(a.X=!0);a.B=b;a.L=!0;g.nu(a.W);return b+.1};
Pna=function(a,b,c){if(a.l.Jc())if(c){var d=ZS(a,b,c);if(!(0,window.isNaN)(d))return d;yS(a);c=BI(FI(c),b);if((0,window.isNaN)(c))return vS(a,b);vS(a,c+hT)}else{c=tS(a,b);if(0<=c)return c;yS(a);vS(a,b)}else 0!=b&&xS(a);return b};
ZS=function(a,b,c,d){d=void 0===d?!1:d;var e=BI(FI(c),b),f=window.NaN,k=a.B;k&&(f=BI(FI(c),k.g.index.Xd(k.sa)));if(e==f&&a.g&&a.g.Wa&&BS(AS(a),0))return b;a=tS(a,b,d);return 0<=a?a:window.NaN};
kT=function(a,b,c,d){c.Jc()||c.C||!TK(c.A)||(d=c.Kk(d?Zma(a.H,c.info):0),(0,g.B)(d,function(a){if("f"!=a.g[0].g.info.l){var c=gT(this,a);!ZJ(a.g[a.g.length-1])&&qS(b,c)}},a),c.C=!0)};
iT=function(a,b,c,d){a.ha()||(c=new g.eN(c,b,d),fN(c.details),a.T("error",c),b&&a.dispose())};
lT=function(a){var b={lct:a.B.toFixed(3),lsk:a.L,lmf:PS(a.D),lbw:nM(a.K).toFixed(3),lhd:lM(a.K).toFixed(3),lst:(1E9*(a.K.A.l()||0)).toFixed(3),laa:a.A.B?cK(a.A.B):"",lva:a.g.B?cK(a.g.B):"",lar:a.A.g?cK(a.A.g):"",lvr:a.g.g?cK(a.g.g):"",lvh:a.Ca};a.o&&!MI(a.o)&&(b.lab=zI(FI(a.o.g)),b.lvb=zI(FI(a.o.l)));return b};
cT=function(a){a.A&&a.g&&(yS(a.A),yS(a.g))};
Qna=function(a,b,c){if(!b||!c)return!0;c=-1!=AI(FI(c),a);var d=gS(b.o)?gS(b.o).info.A>=a:!1,e=b.A.length?b.A[0]:null;a=(b=e?e.info.g[0]:b.g)&&b.startTime<=a;return!!(c||d||a)};
Rna=function(a,b,c,d){a.za=Math.max(b-1,0);a.F&&(a.F.L=c);a.Db=d};
Sna=function(a,b){var c=b.info.video?a.g:a.A;null!=c&&kT(a,c,b,!1)};
Tna=function(a,b){var c=new g.DK;c.wf=a.experiments.l("html5_throttle_rate")||c.wf;a.experiments.g("html5_streaming_xhr")&&(c.D=!0);a.experiments.g("html5_streaming_debug")&&(c.D=!0,c.ib=!0);a.experiments.l("html5_max_av_sync_drift")&&(c.rm=a.experiments.l("html5_max_av_sync_drift"));var d=a.schedule;d.g.l()==d.policy.o?c.da=10:c.da=a.experiments.l("html5_throttle_burst_secs")||c.da;a.experiments.l("html5_min_secs_between_format_selections")&&(c.vn=a.experiments.l("html5_min_secs_between_format_selections"));
c.Na=a.experiments.g("html5_stop_overlapping_requests");c.Cb=a.experiments.l("html5_min_readbehind_secs");c.ln=a.experiments.l("html5_min_readbehind_cap_secs");g.QM(a)&&(c.Cb=a.experiments.l("tvhtml5_min_readbehind_secs"));c.hg=a.experiments.g("html5_append_init_while_paused");c.Kc=a.experiments.l("html5_max_readahead_bandwidth_cap");c.Yy=a.experiments.g("html5_disable_audio_append_cap");c.Hg=a.experiments.g("html5_disable_non_contiguous");c.xd=a.experiments.l("html5_post_interrupt_readahead");c.pm=
a.experiments.g("html5_log_quota_exceeded");c.Z=a.experiments.l("html5_subsegment_readahead_target_buffer_health_secs");c.Xa=a.experiments.l("html5_subsegment_readahead_timeout_secs");c.vv=a.experiments.l("html5_subsegment_readahead_min_buffer_health_secs");c.Ta=a.experiments.l("html5_subsegment_readahead_min_buffer_health_secs_on_timeout");c.xv=a.experiments.l("html5_subsegment_readahead_min_load_speed");c.vf=a.experiments.l("html5_subsegment_readahead_load_speed_check_interval");c.Cv=a.experiments.l("html5_subsegment_readahead_seek_latency_fudge");
c.Pa=a.experiments.g("html5_streaming_xhr_optimize_lengthless_mp4");c.za=a.experiments.g("html5_peak_shave");c.sC=a.experiments.g("html5_peak_shave_always_include_sd");c.fv=a.experiments.g("html5_restrict_streaming_xhr_on_sqless_requests");c.sm=a.experiments.l("html5_max_headm_for_streaming_xhr");c.tC=a.experiments.g("html5_pipeline_manifestless_allow_nonstreaming");c.FD=a.experiments.g("html5_prefer_server_bwe3");c.yf=1024*a.experiments.l("html5_video_tbd_min_kb");c.jm=a.experiments.g("html5_live_probe_primary_host");
c.qv=a.experiments.g("html5_streaming_xhr_buffer_mdat");c.ae=a.experiments.g("html5_streaming_xhr_no_mp4_holdback_chunk");c.im=a.experiments.g("html5_last_slice_transition");c.Ch=a.experiments.g("html5_disable_incomplete_incremental_parse_error");c.ov=a.experiments.g("html5_store_xhr_headers_readable");c.F=a.experiments.g("html5_incremental_parser_coalesce_slice_buffers");c.Ki=a.experiments.l("html5_incremental_parser_buffer_duration_secs");c.Li=a.experiments.l("html5_incremental_parser_buffer_extra_bytes");
c.rv=a.experiments.g("html5_streaming_xhr_progress_includes_latest");c.Eh=a.experiments.g("html5_enable_packet_train_response_rate");if(d=a.experiments.l("html5_probe_secondary_during_timeout_miss_count"))c.Kd=d,c.Dv=1;a.experiments.g("html5_drm_start_from_null_constraint")&&(c.Gg=!0);c.Db=a.experiments.g("html5_loader_reason_migration");c.L=a.experiments.g("html5_selector_reason_migration");c.ed=a.experiments.g("html5_no_placeholder_rollbacks");c.uv=a.experiments.g("html5_subsegment_readahead_enable_mffa");
c.Ca=a.experiments.g("html5_platform_whitelisted_for_frame_accurate_seeks");c.yv=a.experiments.g("html5_subsegment_readahead_require_whitelist");c.I=a.experiments.g("html5_new_stunning");c.Md=a.experiments.g("html5_reattach_on_stuck");c.Ya=a.experiments.g("html5_manifestless_request_prediction");c.W=a.experiments.l("html5_readahead_target_secs");c.Ld=a.experiments.l("html5_readahead_target_window_secs");c.TD=a.experiments.l("html5_readahead_target_backstop");UE()&&(c.zd=!0);NE()&&(c.A=240);g.uh&&
(c.R=41943040);c.ea=!OI();g.QM(a)||!OI()?(d=a.experiments,c.B=8388608,c.C=524288,c.Fg=5,c.ma=2097152,c.Y=1048576,c.cv=1.5,c.Ma=15,c.UA=!1,c.H=4587520,SE()&&(c.H=786432),d.g("html5_extend_initial_duration")&&(c.Fh=!0),c.l*=1.1,c.o*=1.1,c.yd=!0,c.R=c.B,c.oa=c.C):a.l&&(c.l*=1.3,c.o*=1.3);g.QI&&ME("crkey")&&(d="CHROMECAST/ANCHOVY"==a.o.cmodel,c.B=20971520,c.C=1572864,d&&(c.H=812500,c.K=1E3,c.Ev=5,c.Y=2097152));(d=dN(a))||(d=XE()&&/(J\d{3}|JS\d{3}|JU\d{3})/.test(a.o.cmodel));d&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&
(c.Xy=!0);c.ty=!a.experiments.g("disable_fpa_sei_removal")&&ME("windows nt")&&(b.di()||b.Ze());if(b.kc()){c.Ji=!0;c.hv=!1;a.experiments.g("html5_manifestless_no_rewrite")?(c.X=!1,c.ca=!0):a.experiments.g("html5_manifestless_shrink_timestamps")&&(c.ca=!0,c.Ad=!0);if("ULTRALOW"==b.latencyClass||"LOW"==b.latencyClass&&!a.experiments.g("html5_disable_low_pipeline"))c.Jb=2,c.Im=4;c.g=b.hasSubfragmentedFmp4;c.fa=b.defraggedFromSubfragments}b.isAd()&&(c.ya=0,c.qb=0);zO(b,a.experiments)&&(c.D=!0,c.ib=!0);
c.N=a.experiments.g("html5_enable_subsegment_readahead_v3")||a.experiments.g("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==b.latencyClass;c.qm=(a.experiments.g("html5_manifestless_accurate_sliceinfo")||c.N)&&b.kc();c.ia=b.fi;c.km=c.ia&&(/^rq[a-f]/.test(b.clientPlaybackNonce)||a.experiments.g("html5_high_res_logging"));/^pp/.test(b.clientPlaybackNonce)&&(c.zG=!0,c.ME=!0);dN(a)&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&b.na&&wL(b.na)&&(c.yd=!1);wL(b.na)&&(c.Md=!1);if(b.ua){d=
IL(b.na);var e=a.experiments.l("html5_live_abr_head_miss_fraction"),f=a.experiments.l("html5_live_abr_repredict_fraction");e&&d&&(c.wc=Math.min(d*e,c.wc));f&&d&&(c.K=Math.min(1E3*d*f,c.K))}e=0;a.experiments.g("html5_live_use_alternate_bandwidth_window_sizes")&&(e=a.schedule.policy.g,b.ua&&(e=a.experiments.l("ULTRALOW"==b.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":b.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":"html5_live_normal_latency_bandwidth_window")||e));
d=a.schedule;d.policy.B=b.kc()?.5:0;if(!d.policy.l&&e&&(d=d.g,e=Math.round(e*d.K),e!=d.o)){f=Array(e);var k=Math.min(e,d.C?d.o:d.A),l=d.A-k;0>l&&(l+=d.o);for(var m=0;m<k;++m)f[m]=d.B[(l+m)%d.o];for(;m<e;++m)f[m]=window.Infinity;d.o=e;d.B=f;d.A=k%e;d.C=k==e;d.F=!0;d.I=gM(d)}switch(b.liveExperimentalContentId){case 21530001:c.Pa=!0;c.Ya=!0;c.N=!0;c.Z=a.experiments.l("html5_jumbo_ull_subsegment_readahead_target");c.ed=!0;break;case 2153E4:c.Pa=!0,c.Ya=!0,c.N=!1}d=a.experiments.l("html5_deadzone_multiplier")||
1;(e=a.experiments.l("html5_sticky_reduces_discount_by"))&&"auto"!=nH()&&(d-=e);c.l*=d;c.o*=d;if(d=a.experiments.l("html5_request_sizing_multiplier"))c.ev=d;c.A=a.experiments.l("html5_max_buffer_duration")||c.A;c.Pb=a.experiments.l("html5_max_buffer_health_for_downgrade")||c.Pb;c.Mc=a.experiments.l("html5_min_upgrade_health")||c.Mc;VI(a.Y,$I)&&(c.H=window.NaN);c.Ma=a.experiments.l("html5_request_size_max_secs")||c.Ma;c.Dh=a.experiments.g("killswitch_metadata_events");"auto"!=nH()&&(c.xf=0);c.UD=a.experiments.g("html5_rec_2020_matrix_correction_killswitch");
return c};
Una=function(a,b,c){this.url=a;this.interval=b;this.g=c};
Vna=function(a,b){this.message=a;this.number=b;this.g=new gD};
Wna=function(a,b,c,d){this.statusCode=a;this.statusMessage=b;this.headers=c;this.message=d};
Xna=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=Hb(e[1]);e=e[2];b=EJ(b.slice(d+2));return null==b?null:new Wna(f,e,b,a.subarray(c+4))};
mT=function(a,b,c,d,e){g.K.call(this);this.C=a;this.K=b;this.F=c;this.g=d;this.l=e;this.sessionId="";this.I=this.H=this.B=this.D=null;this.A=new g.YF(this);g.L(this,this.A);this.g?(this.A.O(this.g,"message",this.VM),this.A.O(this.g,"keystatuseschange",this.WM),this.g.closed&&this.g.closed.then(eE((0,g.z)(this.UM,this)),null)):this.l&&(ZF(this.A,this.l,["mskeymessage","webkitkeymessage"],this.JB),ZF(this.A,this.l,["mskeyerror","webkitkeyerror"],this.IB),ZF(this.A,this.l,["mskeyadded","webkitkeyadded"],
this.HB))};
nT=function(a,b){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.l=this.g=window.NaN;this.o=!1;this.A=[]};
oT=function(a,b){g.K.call(this);this.l=a;this.g=b;this.D={};this.A=null;this.B=new g.YF(this);g.L(this,this.B);this.o=this.C=null};
Zna=function(a){if(a.g.l)return a.g.l.createMediaKeys().then(eE(function(b){a.ha()||(a.C=b,a.l.setMediaKeys(b))}));
PL(a.g)?a.o=new (OL())(a.g.g):TL(a.g)?(a.o=new (OL())(a.g.g),a.l.webkitSetMediaKeys(a.o)):Yna(a);return null};
Yna=function(a){ZF(a.B,a.l,["keymessage","webkitkeymessage"],a.ZM);ZF(a.B,a.l,["keyerror","webkitkeyerror"],a.YM);ZF(a.B,a.l,["keyadded","webkitkeyadded"],a.XM)};
$na=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new window.Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode((0,window.parseInt)(c.substr(e,2),16));e=a.g.fairPlayCert;c=new window.Uint8Array(new window.ArrayBuffer(e.length));for(var f=0;f<e.length;f++)c[f]=e.charCodeAt(f);e=new window.ArrayBuffer(2*d.length);f=new window.Uint16Array(e);for(var k=0;k<d.length;k++)f[k]=d.charCodeAt(k);d=new window.Uint8Array(e);
e=0;k=new window.ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new window.Uint8Array(k);k=new window.DataView(k);f.set(b);e+=b.byteLength;k.setUint32(e,d.length,!0);e+=4;f.set(d,e);e+=d.length;k.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f};
pT=function(a,b){var c=a.D[b.sessionId];!c&&a.A&&(c=a.A,a.A=null,c.sessionId=b.sessionId,a.D[b.sessionId]=c);return c};
qT=function(a,b,c,d,e,f){g.K.call(this);this.o=a;this.l=d;this.l.subscribe("oauthtoken",this.hA,this);this.D={session_id:e};this.H=!0;"playready"==a.flavor&&(a=(0,window.parseInt)(f.o("playready_first_play_expiration"),10),!(0,window.isNaN)(a)&&0<=a&&(this.D.mfpe=a),f.g("html5_playready_keystatuses_killswitch")||(this.H=!1));this.W=f.g("html5_use_drm_retry");this.N=0;f=this.o.A;"fairplay"==this.o.flavor&&(f=c.initData.subarray(4),f=String.fromCharCode.apply(null,new window.Uint16Array(f.buffer,f.byteOffset,
f.byteLength/2)).replace("skd://","https://"));aoa(this,f);this.F=this.I=!1;(0,g.IQ)("drm_gk_s");try{var k=b.createSession(c)}catch(l){b="t.g",l instanceof window.DOMException&&(b+=";c."+l.code),this.l.T("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),k=null}if(this.A=k)b=this.A,k=this.RM,f=this.QM,a=this.TM,b.D=this.SM,b.B=k,b.H=f,b.I=a,b.o=this,g.L(this,this.A);this.Y=c.A;this.B=[];this.g={};this.K=window.NaN;this.C=c.g||window.NaN};
aoa=function(a,b){var c=b;var d=void 0===d?!1:d;if(sH(boa.test(c),c,d,"Drm Licensor URL")){for(var e in a.D)b=Zg(b,e,a.D[e]);a.R=b}else rT(a,"drm.net",!0,"t.x")};
coa=function(a){var b={};g.fc(b,a.D);return b};
doa=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new window.DOMParser).parseFromString(b,"text/xml").querySelector("Challenge");return new window.Uint8Array(me(a.childNodes[0].data))};
sT=function(a){var b;if(b=a.H)a=a.A,b=!(!a.g||!a.g.keyStatuses);return b};
rT=function(a,b,c,d,e){a.ha()||a.l.T("licenseerror",b,c,d,e);c&&a.dispose()};
eoa=function(a){return g.Qa(a,"UHD2")?"highres":g.Qa(a,"UHD1")?"hd2160":g.Qa(a,"HD")?"hd1080":g.Qa(a,"HD720")?"hd720":"large"};
foa=function(a,b){if(!sT(a)&&SL(a.o)&&!b)return"large";var c=[],d=!0;if(sT(a))for(var e in a.g)"usable"==a.g[e].status&&c.push(a.g[e].type),"unknown"!=a.g[e].status&&(d=!1);if(!sT(a)||d)c=a.B;return eoa(c)};
goa=function(a){if(!a)return{};var b={};(0,g.B)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]={type:a[0],status:"unknown"})});
return b};
hoa=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};
ioa=function(a,b){var c=[],d;for(d in a.g)c.push.apply(c,[d,a.g[d].type,a.g[d].status]);return c.join(b)};
joa=function(a){return sT(a)?ioa(a,";"):a.B.join(";")};
koa=function(a,b,c,d){a=new window.Uint8Array(a);a=doa(a);a={format:"RAW",method:"POST",postBody:(new Vna(a,1)).message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4};c=pba(c,d);g.dF(c,a,3,500).then(function(a){a=new window.Uint8Array(a.response);(a=Xna(a))&&b.update(a.message)})};
loa=function(a,b){for(var c in a.g)if("usable"==a.g[c].status&&a.g[c].type==b)return!0;return!1};
tT=function(){this.keys=[];this.values=[]};
uT=function(a,b,c,d,e){e=void 0===e?"":e;g.aG.call(this);a&&(a.addKey||a.webkitAddKey)||OL()||VL(c);this.C=c;this.K=a;this.g=b;this.subscribe("newlicense",this.iR,this);this.subscribe("newsession",this.jR,this);this.subscribe("sessionready",this.rS,this);this.subscribe("keystatuseschange",this.aN,this);this.subscribe("hdentitled",this.pQ,this);this.fa=e||g.cH();this.R=null;this.l=new tT;this.A=this.F=null;this.o=[];this.H="fairplay"==this.g.flavor?mJ:c.g("html5_drm_start_from_null_constraint")?mJ:
moa;this.N=new oT(a,b);g.L(this,this.N);this.D=null;PL(b)&&(this.D=new oT(a,b),g.L(this,this.D));this.da=2;this.L=new g.YF(this);g.L(this,this.L);this.X=!1;this.Z=null;this.I=!1;a=this.K;this.g.l?this.L.O(a,"encrypted",this.ZP):ZF(this.L,a,PL(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.fR);(a=Zna(this.N))?a.then(eE((0,g.z)(this.NQ,this)),eE((0,g.z)(this.cP,this))):this.I=!0;this.D&&Zna(this.D);this.ea=d;this.Y=this.W=!1;VL(c);this.B=null};
vT=function(a){return a.C.g("html5_playbackmanager_always_parse_pssh_from_init_segment")};
ooa=function(a,b){if(PL(a.g)&&!a.W){var c=cS(b);if(0!=c.length){var d=new nT(c);a.W=!0;window.navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(b){b.createMediaKeys().then(function(b){noa(a,b,d)})},null)}}};
noa=function(a,b,c){var d=b.createSession(),e=a.l.values[0],f=coa(e);d.addEventListener("message",function(b){koa(b.message,d,a.g.A,f)});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(b,c){"usable"==c&&(a.Y=!0,poa(a,foa(e,a.Y)))})});
d.generateRequest("cenc",c.initData)};
xT=function(a,b,c){a.ha()||!vT(a)&&PL(a.g)==c||a.X&&a.ea||(a.X=!0,a.o.push(b),1<a.o.length||a.I&&wT(a))};
wT=function(a){for(;a.o.length;){var b=a.o[0];if(g.jb(a.F,b.initData))a.o.shift();else{if(a.l.get(b.initData))if("fairplay"==a.g.flavor)a.l.remove(b.initData);else{a.o.shift();continue}a:{var c=b.initData;try{for(var d=0,e=new window.DataView(c.buffer);d<e.byteLength-8;){var f=e.getUint32(d);if(1>=f)break;if(1886614376==e.getUint32(d+4)){var k=32;if(0<e.getUint8(d+8)){var l=e.getUint32(d+28);k+=16*l+4}var m=e.getUint32(d+k-4);try{var n=new ue(c.subarray(d+k,d+k+m)),q=new YD;for(k=n;ve(k)&&4!=k.l;)switch(k.o){case 2:var r=
ze(k),u=r;Ie(q,2).push(u);break;case 4:r=ze(k);Ge(q,4,r);break;case 7:r=te(k.g);Ge(q,7,r);break;case 9:r=te(k.g);Ge(q,9,r);break;case 10:r=te(k.g);Ge(q,10,r);break;case 11:r=xe(k);Ge(q,11,r);break;case 12:r=te(k.g);Ge(q,12,r);break;case 13:u=r=ze(k);Ie(q,13).push(u);break;case 14:r=new ZD;u=k;var C=r,I=Hja,N=u.g.o,Z=te(u.g),V=u.g.g+Z;u.g.o=V;I(C,u);u.g.g=V;u.g.o=N;u=q;C=r;I=ZD;Ke(u,I,14);var Ga=u.g[14];Ga||(Ga=u.g[14]=[]);var oa=C?C:new I,qc=Ie(u,14);Ga.push(oa);qc.push(Me(oa));break;case 1:r=xe(k);
Ge(q,1,r);break;case 3:r=ye(k);Ge(q,3,r);break;case 5:r=ye(k);Ge(q,5,r);break;case 6:r=ye(k);Ge(q,6,r);break;case 8:r=ze(k);Ge(q,8,r);break;default:we(k)}var ie=q;if(null!=ie){var $a=ie;break a}}catch(hd){}}d+=f}$a=null}catch(hd){$a=null}}if(null!=$a)for(c=Fe($a,7),null!=c&&(b.g=c),c=Fe($a,10),null!=c&&0<c&&(b.l=c),c=Ie($a,2),c=!c.length||c[0]instanceof window.Uint8Array?c:(0,g.G)(c,Qaa),c=g.la(c),d=c.next();!d.done;d=c.next())b.A.push(dS(d.value));if("widevine"==a.g.flavor){a:if(c=a,(0,window.isNaN)(b.g)&&
0<c.l.values.length)c=!0;else{c=g.la(c.l.values);for(d=c.next();!d.done;d=c.next())if(d.value.C==b.g){c=!0;break a}c=!1}if(c&&!a.C.g("html5_dedup_by_cryptoperiod_killswitch")){a.o.shift();continue}else{a:{c=a;if(!(c.C.g("disable_license_delay")||"widevine"!=c.g.flavor||b.o||(0,window.isNaN)(b.g)))for(c=g.la(c.l.values),d=c.next();!d.done;d=c.next())if(1>=Math.abs(d.value.C-b.g)){c=!0;break a}c=!1}if(c){qoa(a,b);a.o.shift();continue}}}break}}a.o.length&&(b=a.o[0],a.l.get(b.initData),$a=new qT(a.g,
a.N,b,a,a.fa,a.C),$a.hA(a.R),a.l.set(b.initData,$a))};
qoa=function(a,b){a.A&&a.A.dispose();a.F=b.initData;a.A=new g.mu(function(){a.F=null;a.A=null;b.o=!0;a.o.push(b);1<a.o.length||wT(a)},roa(b.l));
a.A.start()};
roa=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
poa=function(a,b){var c=kJ("auto",b,!1,"l");if(a.C.g("html5_drm_start_from_null_constraint")){if(jJ(a.H,c))return}else if(pJ(a.H,b))return;a.H=c;a.T("qualitychange")};
soa=function(a,b){this.g=a;this.o=b;this.A=this.l=0};
toa=function(a,b){var c=nJ(b.xp,b.uw);"auto"!=nH()||(c=nJ(c,a.g.xf));return c};
yT=function(a,b){var c=nH();return"auto"!=c?kJ("auto",c,!1,"s"):uoa(a,b)};
uoa=function(a,b){if(g.QM(a.g)&&VI(a.g.Y,YI))return mJ;var c=!!b.Ka.g;var d;JM(a.g)&&(d=window.screen&&window.screen.width?new g.kd(window.screen.width,window.screen.height):null);if(!d)if(a.g.Gg)d=a.g.Gg.clone();else if("desktop-polymer"==a.g.playerStyle&&a.g.experiments.g("force_snap_player_size_for_format_size")&&YM(a.g)&&!a.g.experiments.g("force_snap_player_size_for_format_size_killswitch"))if(d=a.o,d.app.g.zd||d.app.H.isFullscreen()||d.app.isWidescreen())d=d.Ia();else a:{for(d=0;d<voa.length;d++){var e=
voa[d];if(e.query.matches){d=new g.kd(e.size.width,e.size.height);break a}}d=void 0}else d=a.o.Ia();(EM||zT||c)&&d.scale(g.ZM());c=d;e=b.Ka.videoInfos;if(e.length){d=.85;4!=e[0].video.projectionType&&2!=e[0].video.projectionType&&3!=e[0].video.projectionType||ZL||(d=.45);var f;e=g.la(e);for(var k=e.next();!k.done;k=e.next()){var l=f=k.value;f=f.video;if(null===c||f.width*d<c.width&&f.height*d<c.height)break}l=kJ("auto","93"==kI(l)?eI(f.width,f.height):f.quality,!1,"r")}else l=mJ;f=l.g;(ME("armv7")||
ME("android"))&&!g.QM(a.g)&&mI(b.Ka.videoInfos[0])&&(f=Math.min(f,g.fI.large));!a.g.l||g.KM(a.g)||WE()||a.g.experiments.g("mweb_uniplayer_auto_quality")||a.g.experiments.g("hls_for_vod")||(f=Math.min(f,g.fI.medium));f=Math.max(f,g.fI.medium);a.g.experiments.l("html5_default_quality_cap")&&(c=!0,(d=a.g.experiments.l("html5_quality_cap_min_age_secs"))&&(c=g.AG()-a.g.schedule.F>1E3*d),c&&(f=Math.min(f,a.g.experiments.l("html5_default_quality_cap"))));a.g.experiments.g("html5_use_media_capabilities")&&
(f=Math.min(woa(b.Ka),f));if(c=a.g.experiments.l("html5_hfr_quality_cap"))a:{c=b.Ka;if(c.g)for(c=g.la(c.videoInfos),d=c.next();!d.done;d=c.next())if(32<d.value.video.fps){c=!0;break a}c=!1}c&&(f=Math.min(f,a.g.experiments.l("html5_hfr_quality_cap")));l.g!=f&&(l=new iJ(l.l,f,l.o,"r"));return l};
woa=function(a){if(!a.videoInfos.length)return 0;if(null==a.videoInfos[0].o)return a.videoInfos[0].video.height;for(var b=g.la(a.videoInfos),c=b.next();!c.done;c=b.next())if(c=c.value,c.o)return c.video.height;return a.videoInfos[0].video.height};
xoa=function(a,b){var c=a.g.experiments.l("html5_background_quality_cap"),d=a.g.experiments.l("html5_background_cap_idle_secs");return!c||"auto"!=nH()||g.NG()/1E3<d?mJ:b?new iJ(0,c,!1,"v"):mJ};
yoa=function(a){if(!a.g.qb)return mJ;a=a.g.experiments.l("low_engagement_player_quality_cap");return new iJ(0,a,!1,"e")};
AT=function(a,b){b=void 0===b?null:b;var c={};this.o=(c.c1a=(0,g.z)(this.C,this),c.c3a=(0,g.z)(this.D,this),c.c6a=(0,g.z)(this.B,this),c);this.g=a;this.A=b;this.g&&this.g.qk?this.l=g.nE(this.g.qk):this.l=[]};
BT=function(a){oP.call(this);this.g=a;this.A={}};
rP=function(a,b){var c=a.Rc();a.g.src=b;a.Vf(c)};
uP=function(a){try{var b=a.g.buffered}catch(c){}return b||yI()};
PP=function(a){return a.g.error?a.g.error.message:""};
CT=function(a,b,c){g.sh(a.g,b,c)};
DT=function(a,b){g.aG.call(this);var c=this;this.Y=b;this.o=a;this.I=new g.YF;g.L(this,this.I);this.K=this.A=this.l=null;this.g=window.NaN;this.C=this.o.startSeconds||0;this.B=null;this.N=window.NaN;this.H=this.D=null;this.L=this.F=!1;this.R=new g.mu(function(){var a={ak:c.g};c.A&&g.Fa(a,lT(c.A));c.l&&g.Fa(a,yP(c.l));c.T("ctmp","seektimeout",fN(a))},1E4);
g.L(this,this.R);this.W=new g.mu(function(){return zoa(c)});
g.L(this,this.W)};
Aoa=function(a,b){a.A&&a.A.unsubscribe("seekelementrequired",a.X,a);(a.A=b)?a.A&&a.A.subscribe("seekelementrequired",a.X,a):ET(a)};
FT=function(a,b,c,d,e){c=void 0===c?!0:c;d=void 0===d?!1:d;e=void 0===e?0:e;if(b!=a.g||!a.F){a.F&&ET(a);a.H||(a.H=new YS);if((0,window.isFinite)(b)||!RE()&&!a.o.kc())b=g.cd(b,a.Fb(),a.Ce(d));a.g=b;a.T("seekto",b,c);c?zoa(a):e&&a.W.start(e)}};
zoa=function(a){a.F=!0;if(!a.o.ua&&a.g>=a.Ce()-.1){var b=a.Ce();a.T("seekstart");a.H.resolve(b);a.T("seekend");ET(a);a.g=b;a.T("ended")}else Boa(a)};
Boa=function(a){Coa(a).then(void 0,function(){ET(a)});
Doa(a).then(function(b){a.H.resolve(b);a.T("seekend");ET(a)},function(){ET(a)});
a.R.start();a.T("seekstart")};
Coa=function(a){a.D||(a.A?(0,window.isFinite)(a.g)?a.D=a.A.seek(a.g):(a.T("pausemediaelement"),a.D=Ona(a.A).then(function(b){a.g=b;GT(a);a.T("seekto",b,a.F);a.T("resumemediaelement")})):a.D=dg(a.g));
return a.D};
Doa=function(a){a.B||(a.B=new YS,GT(a));return a.B};
GT=function(a){if(a.B&&Eoa(a)&&!(0,window.isNaN)(a.g)&&(0,window.isFinite)(a.g)&&a.N!=a.g)try{a.l.ac(a.g),a.N=a.g,a.C=a.g}catch(b){}};
Eoa=function(a){if(!a.l||0==a.l.g.readyState)return!1;var b=0<a.l.getCurrentTime();if(0<=a.g){var c=a.l.g.seekable||yI();if(c.length||!b)return 0<=AI(c,a.g)}return b};
ET=function(a){a.g=window.NaN;a.N=window.NaN;a.B=null;a.D=null;a.H=null;a.F=!1;a.L=!1;a.R.stop()};
Foa=function(a){if(a.l)for(var b=g.la(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.I.O(a.l,c.value,function(b){switch(b.type){case "seeking":b=a.l.getCurrentTime();if(!a.B||a.L&&b!=a.g)a.B=new YS,FT(a,b,!0),a.L=!0;break;case "seeked":a.B&&a.B.resolve(a.l.getCurrentTime());break;case "loadedmetadata":a.Y&&a.Y.experiments.g("html5_utc_start_seconds")&&RO(a.o)&&a.o.ff&&(0,window.isFinite)(a.o.ff)&&a.o.na&&(b=a.Fb()+a.o.ff-JL(a.o.na,a.Fb()),FT(a,b));case "progress":GT(a)}})};
HT=function(){var a=xF("visibilityState",window.document);return!(!a||"visible"==a)};
Hoa=function(a){var b=Goa();b&&window.document.addEventListener(b,a,!1)};
Ioa=function(a){var b=Goa();b&&window.document.removeEventListener(b,a,!1)};
Goa=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[wF+"VisibilityState"])return"";a=wF+"visibilitychange"}return a};
IT=function(){g.aG.call(this);this.B=0;this.A=this.l=this.g=!1;this.C=(0,g.z)(this.o,this);Hoa(this.C);var a=this.isFullscreen();this.D=this.A?4:HT()?3:a?2:this.l?1:this.g?5:0};
JT=function(){g.K.call(this);this.o={};this.g={};this.l=new g.mu(this.cU,250,this);g.L(this,this.l)};
KT=function(a,b){if(a.g[b]){var c=a.g[b].g;for(var d=[];c.o!=c.g;)c.o=(c.o+1)%c.l.length,d.push(c.l[c.o]);c=d}else c=[];return c};
LT=function(a,b){return a.g[b]?YQ(a.g[b].g):0};
MT=function(a){this.o=a;this.g=new XQ(100);this.l=window.NaN};
NT=function(){this.g=this.l=!1};
PT=function(a,b,c,d,e,f,k,l){g.aG.call(this);this.Ma=new sma;this.L=c;this.Jb=d;this.Hg=f;this.Pa=l;this.Ji=k;c=(0,g.z)(function(a,b){"crn_endcr"!=a||g.W(this.A,32)||OT(this);e(a,b)},this);
this.I=new VS((0,g.z)(this.getCurrentTime,this),(0,g.z)(this.Cz,this),(0,g.z)(this.UK,this),c);g.L(this,this.I);this.ya=window.NaN;this.X=this.H=null;this.o=a;this.N=new soa(a,this.Jb);this.Kd=!0;this.K=this.B=null;this.Z=[];this.ia=new NT;this.Y=new NT;this.hg=this.vf=this.Ch=this.Na=!1;this.Pb=window.NaN;this.A=new g.DP;this.wc=[];this.Db=b;this.ma=null;this.R=window.NaN;this.oa=new g.YF;g.L(this,this.oa);this.g=new g.uO;this.l=null;this.fa=new g.mu((0,g.z)(this.DQ,this),15E3);g.L(this,this.fa);
this.C=null;this.xf=this.Ta=!1;this.Xa=window.NaN;this.za=this.Md=this.Kc=this.ib=!1;this.Mc=this.zd=window.NaN;this.wf=0;this.Ki=a.experiments.g("html5_force_play_on_suspend_event");this.Li=a.experiments.g("html5_force_play_on_suspend_event_limited");this.W=null;this.ea=new JT;g.L(this,this.ea);this.ea.Eb("bufferhealth",(0,g.z)(this.Hx,this));this.ea.Eb("bandwidth",(0,g.z)(this.hI,this));this.ea.Eb("networkactivity",(0,g.z)(this.jI,this),!0);this.ea.Eb("livelatency",(0,g.z)(this.Nx,this));this.ea.start();
this.yf=!1;this.ed=!0;this.Ld=!1;this.yd=window.NaN;this.Ad=null;this.ae=!1;this.Ca=1;this.F=null;this.qb=(0,g.z)(this.YK,this);Hoa(this.qb);this.o.experiments.g("html5_disable_subscribe_new_vis_2")||this.Pa.subscribe("visibilitystatechange",this.qb);this.Eh=this.Gg=0;this.Fh=a.experiments.l("html5_reattach_resource_after_timeout_limit");this.Dh=0;this.D=null;this.o.experiments.g("html5_new_seeking")&&Joa(this);this.da=null;this.Fg=!1};
QT=function(a){g.GG()?g.HG(a.Xa):g.kE(a.Xa)};
XT=function(a,b,c,d){d=void 0===d?!0:d;a.Z.length=0;a.ia.reset();a.Y.reset();a.ya=window.NaN;a.R=window.NaN;a.Ta=!1;a.Ld=!1;a.Ad=null;a.yd=window.NaN;a.Kd=!0;a.l&&a.l.Le();RT(a);ST(a);TT(a);QT(a);a.ea.clear();a.W=null;a.F=null;a.wf=0;g.cf(a.g);if(2==a.Db||a.o.im)b.Wy=!0;var e=b.hc;var f=a.o.g;var k=a.o.ub,l;(l=e.adformat)||(l=(e=e.attrib)&&Ub(Koa,e)&&Ub(Loa,e)?Loa[e]+"_"+Koa[e]:void 0);if(e=l)if((l=e.match(Moa))&&5==l.length){l=e.match(Moa);var m=(0,window.parseInt)(l[3],10),n=[7,8,10,5,6];l=!(1==
(0,window.parseInt)(l[1],10)&&8==m)&&0<=n.indexOf(m);f=f||k||l?e:null}else f=null;else f=null;f&&(b.adFormat=f);2==a.Db&&(b.Il=!0);if(UT(a)||a.o.g)f=g.hH("yt-player-autonavstate"),b.autonavState=f||(a.o.g?2:a.g.autonavState);a.ed=d;a.g=b;a.g.subscribe("dataupdated",a.YS,a);a.g.subscribe("dataloaded",a.Hw,a);a.g.subscribe("dataloaderror",a.kl,a);a.g.subscribe("onStatusFail",a.XS,a);b.endSeconds&&b.endSeconds>b.startSeconds&&Noa(a,b.endSeconds);Ooa(a,c);a.ib=!1;VT(a,"newdata");WT(a,new g.DP);a.D&&(b=
a.D,a=a.g,ET(b),b.o=a,b.K=null,b.C=a.startSeconds||0)};
Ooa=function(a,b){ST(a);if(!a.g.ck){var c=new pma(a.g,a.o,b,(0,g.z)(a.getDuration,a),(0,g.z)(a.getCurrentTime,a),(0,g.z)(a.kI,a),(0,g.z)(a.Jb.Ia,a.Jb),(0,g.z)(a.getAudioTrack,a),(0,g.z)(a.Cz,a),(0,g.z)(a.Xq,a),a.Hg,(0,g.z)(a.zI,a),function(){return a.L.g("qoes")});
a.C=new fQ(c)}};
ST=function(a){if(a.C){var b=a.C;if(!b.ha()&&b.B){b.C="paused";var c=zQ(b);c.Z=!0;c.send();c=b.l;"PL"==c.o&&(c.o="N");var d=g.iP(c.g);g.TP(c,d,"vps",[c.o]);c.B(d);g.kE(b.A);b.dispose()}g.cf(a.C);a.C=null}};
$T=function(a){if(a.g.Fd())return!0;g.ZT(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
aU=function(a,b){a.Na=void 0===b?!1:b;if($T(a)&&!a.ia.l){a.ia.start();if(a.C){var c=a.C.l;c.g.g.experiments.g("html5_qoe_unstarted_in_initialization")?g.iP(c.g):g.TP(c,g.iP(c.g),"vps",["N"]);c.g.videoData.Bo?$P(c,"prefetch"):(c.l.user_intent=["0"],c.F=!0);c.g.videoData.sh&&(VP(c,"reload",c.g.videoData.reloadReason),VP(c,"reloadcount",c.g.videoData.sh.toString()));c.g.videoData.fl&&$P(c,"monitor");c.g.videoData.ua&&$P(c,"live");c.g.videoData.fg&&VP(c,"ctrl",c.g.videoData.fg,!0);c.g.videoData.pf&&VP(c,
"ytp",c.g.videoData.pf,!0);if(c.g.videoData.wC){var d=c.g.videoData.wC.replace(/,/g,".");VP(c,"ytrexp",d,!0)}c.g.videoData.chapterMarkers.length&&$P(c,"chaptermarkers");if(!c.g.g.experiments.g("html5_disable_gpu_reporting")){var e=c.g.g.experiments;d=c.g.videoData;e=e.g("enable_white_noise")||e.g("enable_webgl_noop")||e.g("enable_gpu_logging");var f=d.di()||d.Pf()||d.Qf()||d.Ze();d=0==d.clientPlaybackNonce.indexOf("gp");(e||f||d)&&(d=(0,g.QP)())&&(c.l.gpu=[d])}c.Y=g.jE((0,g.z)(c.B,c),1E4)}a.Hw()}};
UT=function(a){return a.o.experiments.g("html5_new_vis")?a.Pa.isFullscreen():a.o.ib};
bU=function(a){return a.o.experiments.g("html5_new_vis")?a.Pa.isBackground():HT()};
dU=function(a){a.l&&sP(a.l);aU(a);$T(a)&&!g.W(a.A,128)&&(a.Y.l||(a.Y.start(),WT(a,IP(IP(a.A,8),1))),cU(a))};
cU=function(a){if(!a.Y.g&&a.ia.g&&!g.W(a.A,128)&&!a.Z.length){if(!a.I.B){var b=a.I;b.B=!0;b.o()}if(!eU(a)){a.B&&(b=a.B,a.Ch=!!b.da&&!!b.ia);a.Y.g||(a.Y.g=!0);!a.g.ua||0<a.g.ff&&!a.g.kc()||(fU(a,window.Infinity,!0),bU(a)&&(a.xf=!0));if(a.C&&(b=a.C,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.Uo("connected"),DQ(b)),b.g.videoData.ua)){b=b.l;var c=b.g.videoData.na;b.g.videoData.kc()&&$P(b,"manifestless");c&&IL(c)&&$P(b,"live-segment-"+IL(c).toFixed(1))}a.T("playbackready",
a);eO("pbr","")||(a.L.g("pbr"),fO("pbr"))}}};
OT=function(a,b){b=void 0===b?!0:b;gU(a);var c=b?new g.DP(14):new g.DP;WT(a,c)};
Noa=function(a,b){a.X&&(a.I.C(a.X),a.X=null);a.X=new g.LQ(1E3*b,0x7ffffffffffff);a.X.namespace="endcr";WS(a.I,[a.X])};
Poa=function(a,b,c,d){a.g.Ha=c;var e=a.o.experiments.g("html5_reason_migration");e&&d&&a.g.Yb!=d&&hU(a,b,d);a.g.Yb=d||c;if(a.C){var f=iU(a);c=new $O(a.g,c,b,f?kI(f):"");!e&&d&&"i"==b&&hU(a,b,d);d=a.C.l;e=g.iP(d.g);g.TP(d,e,"vfs",[c.g.id,c.l,d.da,c.reason]);d.da=c.g.id;c=d.g.I();0<c.width&&0<c.height&&(c=[Math.round(c.width),Math.round(c.height)],f=g.ZM(),1<f&&c.push(f),g.TP(d,e,"view",c));!d.R&&d.g.videoData.fi&&$P(d,"rqs");d.R=!0;g.TP(d,e,"vps",[d.o]);d.B(e)}a.N.l=0;a.T("internalvideoformatchange",
a.g,"m"==b)};
iU=function(a){if(!a.g.Ka)return null;var b=nJ(nJ(nJ(yT(a.N,a.g),jU(a)),xoa(a.N,bU(a))),yoa(a.N));return g.Ma(a.g.Ka.videoInfos,(0,g.z)(b.A,b))};
hU=function(a,b,c){var d=a.o.experiments.g("html5_reason_migration");if(!d||c!=a.g.Yb){var e=!a.g.Yb;a.g.Yb=c;if(a.C){var f=a.C.l;c=new $O(a.g,c,b,"");var k=g.iP(f.g);c.g.id!=f.L&&(g.TP(f,k,"afs",[c.g.id,f.L,c.reason]),f.L=c.g.id)}(d?e:"i"==b)||a.T("internalaudioformatchange",a.g,"m"==b)}};
g.ZT=function(a,b,c,d,e){var f,k;g.Vb(Qoa,c)?f=c:c?k=c:f="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:k||g.T(f),messageKey:f,subreason:e||""};WT(a,HP(a.A,128,b));QT(a);TT(a);g.kU(a)};
Roa=function(a,b){a.Z=a.Z.filter(function(a){return b!=a});
a.Y.l&&cU(a)};
eU=function(a){var b;(b=!!a.Z.length)||(a=a.I.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
mU=function(a,b){a.l&&lU(a);if(!a.A.isError()){var c=JP(a.A,512);g.W(c,8)&&IP(c,1);WT(a,c)}a.l=b;a.l.g.loop=a.ae;a.l.Vf(a.Ca);Soa(a);Toa(a);if(a.D){c=a.D;var d=a.l;g.$F(c.I);(c.l=d)?Foa(c):ET(c)}};
Toa=function(a){if(a.o.experiments.g("html5_prewarm_mse")&&eJ()&&OI())try{tP(a.l)}catch(b){}};
lU=function(a){if(a.D){var b=a.getCurrentTime();0<b&&(a.D.C=b);b=a.D;g.$F(b.I);b.l=null;ET(b)}nU(a);a.B&&(g.nu(a.B.W),bT(a.B,!1));a.fa.stop();a.l&&(!a.Y.l||a.A.isError()||g.W(a.A,2)||WT(a,IP(a.A,512)),RT(a),g.$F(a.oa),a.l.Le(),a.l=null)};
rU=function(a){if(!g.W(a.A,128))if(a.yf)a.yf=!1,oU(a);else if(dU(a),g.W(a.A,64)&&WT(a,IP(a.A,8)),a.Y.g&&a.l)if(a.g.Ka){if(a.g.ua){var b=a.getCurrentTime()<a.Fb()-15;var c=g.QO(a.g)&&g.W(a.A,4);if(b||c)c?fU(a,window.Infinity,!0):fU(a,a.Fb(),!0);!pU(a,void 0,!0)&&a.isPeggedToLive()&&fU(a,window.Infinity,!0);if(b=a.o.experiments.g("html5_new_seeking")&&g.W(a.A,256)&&a.g.We&&a.D)b=a.D,b=b.F&&!(0,window.isFinite)(b.g);if(b){WT(a,KP(a.A,8,4));return}}qU(a)?a.o.pm?g.iE((0,g.z)(a.Jl,a),0):a.Jl():a.Jl()}else b=
a.g.ua&&!g.fJ()?"html5.unsupportedlive":a.g.Hc?"fmt.unplayable":"fmt.noneavailable",g.ZT(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")};
Uoa=function(a){if(!a.g.Ka)return[];var b=jU(a);g.QM(a.o)&&(b=nJ(b,uoa(a.N,a.g)));b=b||mJ;a=(0,g.Ld)(a.g.Ka.videoInfos,(0,g.z)(b.A,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].video;c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
Voa=function(a){return nJ(nJ(nJ(nJ(nJ(toa(a.N,a.g),yT(a.N,a.g)),xoa(a.N,bU(a))),a.g.QD),jU(a)),yoa(a.N))};
jU=function(a){return a.H?a.H.H:yO(a.g)&&a.g.Ka.g&&wL(a.g.na)?a.o.experiments.g("html5_drm_start_from_null_constraint")?mJ:moa:mJ};
sU=function(a,b){if(!a.ha()&&!g.W(a.A,128)&&yO(a.g)){var c=a.o.experiments.g("html5_reason_migration");"m"==b&&lJ(a.g.xp)&&(b="a");var d=Voa(a);if(a.g.Ka.g){if(a.B&&("i"!=b||c)){c=a.B;var e=b;if(!(c.ha()||c.l.Db&&jJ(c.D.A,d))&&c.g){Cna(c,bna(c.D,d,e));aT(c);d=c.l.Db?d.reason:e;e=PS(c.D)&&"m"==d&&c.D.K;var f=c.l.Gg&&"l"==d&&DS(c.g);e||f||"b"==d?c.T("reattachrequired"):(ES(c.g)&&Ana(c,c.g,c.A),g.nu(c.W))}}}else{c=a.g;a:if(e=a.g.xg,d.g){f=g.la(e);for(var k=f.next();!k.done;k=f.next()){k=k.value;var l=
k.pg(),m=g.fI[l.video.quality];if((!d.o||"auto"!=l.video.quality)&&m<=d.g){d=k;break a}}d=e[e.length-1]}else d=e[0];c.nf=d;Poa(a,b,a.g.nf.pg())}a.A.gb()&&rU(a)}};
Woa=function(a){a.F=new bR(a.g,a.o.experiments,function(){return tU(a,!0)});
a.D&&(a.D.K=a.F);a.C&&EQ(a.C,dR(a.F))};
g.uU=function(a){hla(a.g.na,{cpn:a.g.clientPlaybackNonce,c:a.o.o.c,cver:a.o.o.cver});var b=Tna(a.o,a.g);a.B=new $S(a.o.schedule,b,a.g.na,a.g.Ka,a.I);a.B.subscribe("initsegment",a.tQ,a);a.B.subscribe("videoformatchange",a.GQ,a);a.B.subscribe("audioformatchange",a.FQ,a);a.B.subscribe("error",a.kl,a);a.B.subscribe("ctmp",a.Ec,a);a.B.subscribe("seekelementrequired",a.gU,a);a.B.subscribe("seekplayerrequired",(0,g.z)(function(a,b){fU(this,a,!0,void 0,b)},a));
a.B.subscribe("reattachrequired",a.aU,a);a.B.subscribe("metadata",a.CB,a);a.B.subscribe("constraint",a.VS,a);b=g.Qa(a.Z,"spacecast")||a.Na&&!a.o.experiments.g("html5_preload_media");var c=a.getAudioTrack();c=c.Nb.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,Voa(a),b,c);a.g.probeUrl&&(a.B.ea=a.g.probeUrl);(a.Z.length||a.Na)&&bT(a.B,!1);a.D&&Aoa(a.D,a.B);a.F&&Rna(a.B,a.F.l,gR(a.F),a.F.g.C)};
Joa=function(a){a.D=new DT(a.g,a.o);a.D.subscribe("seekto",function(b,c){Xoa(a,b);c||Yoa(a);Zoa(a,b);a.T("seekto",a,b)});
a.D.subscribe("seekstart",function(){return $oa(a)});
a.D.subscribe("ended",function(){return OT(a)});
a.D.subscribe("pausemediaelement",function(){return gU(a,!0)});
a.D.subscribe("resumemediaelement",function(){g.W(a.A,8)&&a.Jl()});
a.D.subscribe("ctmp",a.Ec,a)};
TT=function(a){a.B&&(a.B.dispose(),a.B=null,a.D&&Aoa(a.D,null));nU(a)};
nU=function(a){a.K&&(a.K.dispose(),a.K=null)};
vU=function(a){if(a.K)return a.K.B;a.B?a.B.seek(a.getCurrentTime()):g.uU(a);try{a.K=rma(a.l)}catch(b){return b.message="window.URL object overwritten by external code",window.setTimeout(function(){throw b;},0),g.ZT(a,a.g.Hc?"drm.unavailable":"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1"),null}ska(a.K,function(b){try{if(a.o.experiments.g("html5_mse_fix_killswitch")||a.K&&(!b||a.K==b))if(a.hg)a.vf=!0;
else{var c=a.getDuration();!c&&a.g.kc()&&(c=a.o.experiments.g("html5_extend_initial_duration")?21600:3600);a.K.o.duration=c;g.xna(a.B,a.K)}}catch(d){g.dE(d,"WARNING"),a.kl(new g.eN("fmt.unplayable",!0,{msi:"1",ename:d.name}))}});
return a.K.B};
apa=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
oU=function(a){!a.g.We&&a.g.sh?a.o.experiments.g("tvhtml5_retire_old_players")&&g.QM(a.o)&&6048E5<g.AG()-a.o.vf&&bpa(a):a.Kc||(a.Kc=!0,a.T("signatureexpired"))};
cpa=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
dpa=function(a,b){if(a.l&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.l.Ub();b.details.merr=c?c.toString():"0";b.details.msg=PP(a.l)}};
epa=function(a,b,c){if(a.yd+3E4>(0,g.F)())return!1;a.yd=(0,g.F)();var d=a.g;d=d.nf?+g.pE(d.nf.g().g).expire<Date.now()/1E3+1800:!1;a.C&&(c.e=b,a.K&&(c.msopened=""+ +!!a.K.g),d&&(c.staleprog="1"),a.C.onError("qoe.restart",fN(c)));if(d)return oU(a),!0;ME("philips")&&bpa(a);a.o.experiments.g("html5_stun_format_on_platform_err")&&a.B&&(b=a.B,b.g&&(c=b.g.B||b.g.g,NS(b.D,c?c.g:b.g.l)));a.o.experiments.g("html5_new_elem_on_platform_err")?a.T("newelementrequired"):wU(a);return!0};
bpa=function(a){if("GAME_CONSOLE"!=a.o.o.cplatform)try{window.close()}catch(b){}};
gU=function(a,b){b=void 0===b?!1:b;var c=!a.o.experiments.g("web_player_ended_pause_killswitch")&&g.W(a.A,2);if((g.W(a.A,64)||c)&&!b)if(g.W(a.A,8))WT(a,KP(a.A,4,8));else return;if(a.l||a.o.experiments.g("html5_pause_video_fix"))g.W(a.A,128)||(b?WT(a,IP(a.A,256)):WT(a,KP(a.A,4,8))),a.l&&a.l.pause(),g.QO(a.g)&&a.B&&bT(a.B,!1)};
xU=function(a){a.o.experiments.g("html5_remove_pause")||gU(a);a.B&&(bT(a.B,!1),cT(a.B))};
g.kU=function(a,b){b=void 0===b?!1:b;if(a.l){if(!a.o.experiments.g("html5_remove_pause"))try{a.l.pause()}catch(c){return}RT(a);TT(a);a.D||(a.g.startSeconds=a.getCurrentTime());a.R=window.NaN;a.l.Le();Toa(a);g.W(a.A,128)||(b?WT(a,KP(a.A,4,8)):WT(a,HP(a.A)));a.o.B.remove(a.g.videoId)}};
fU=function(a,b,c,d,e){b=void 0===b?0:b;c=void 0===c?!1:c;e=void 0===e?!1:e;if(a.o.experiments.g("html5_new_seeking"))b&&!(0,window.isFinite)(b)&&fpa(a),FT(a.D,b,c,e,d);else if(a.l&&a.Y.g){b&&!(0,window.isFinite)(b)&&fpa(a);var f;if(b&&!(0,window.isFinite)(b)){var k;if(k=a.B&&a.g.kc())k=a.B,k=!(k.g.D||k.A.D)||a.g.We&&!a.o.experiments.g("html5_manifestless_no_redundant_seek_to_head");k?f=Nna(a.B):RE()&&(a.o.experiments.g("html5_appletv_clampaftermetadata_killswitch")||1>a.l.g.readyState)&&(f=b)}f||
(f=g.cd(b||0,a.Fb(),tU(a,e)));Xoa(a,f);c?a.vx():Yoa(a,d);Zoa(a,f);a.T("seekto",a,f)}else a.g.startSeconds=b};
fpa=function(a){if(a.F&&a.B){if(a.g.isLowLatencyLiveStream||"LOW"==a.g.latencyClass||"ULTRALOW"==a.g.latencyClass){var b=a.F;if(b.o.length){var c=b.l;1<Math.min.apply(null,b.o)?b.l=aR(b,b.l-1):b.g.A&&(b.l=aR(b,b.l+1));if(c=c!=b.l)b.o=[],b.B=0;b=c}else b=!1;b&&a.C&&EQ(a.C,dR(a.F))}Rna(a.B,a.F.l,gR(a.F),a.F.g.C)}};
Xoa=function(a,b){if(a.F){var c=a.F;hR(c,b,!1);iR(c,b)}a.g.startSeconds=b;a.R=b;c=a.Ma;c.g=b;c.l=!0};
Zoa=function(a,b){a.X&&b>a.g.endSeconds&&(0,window.isFinite)(b)&&(a.I.C(a.X),a.X=null);b<tU(a)-.01&&WT(a,JP(a.A,2))};
Yoa=function(a,b){g.W(a.A,32)||(WT(a,IP(a.A,32)),g.W(a.A,8)&&gU(a,!0),a.T("beginseeking",a));b&&(a.ma||(a.ma=new g.mu(a.vx,b,a)),a.ma.start());yU(a)};
$oa=function(a){a.ma&&(a.ma.dispose(),a.ma=null);g.W(a.A,32)&&(WT(a,IP(JP(a.A,32),16)),a.T("endseeking",a))};
zU=function(a){if(!a.g.na){if(a.o.experiments.g("html5_start_date_from_element")&&RE()&&a.l){var b=a.l.g.getStartDate().getTime();if(!(0,window.isNaN)(b))return b/1E3+a.getCurrentTime()}return window.NaN}return JL(a.g.na,a.getCurrentTime())};
hpa=function(a){if(!a.l)return 0;if(g.QO(a.g))return 1;if(RO(a.g)){if(pU(a)||a.isPeggedToLive())return 1;var b=a.l,c=uP(b);b=(0<CI(c)&&b.getDuration()?c.end(c.length-1):0)-a.Fb();a=gpa(a)-a.Fb();return Math.max(0,Math.min(1,b/a))}return xP(a.l)};
AU=function(a,b){var c={};if(void 0===b?0:b){a.C?g.Fa(c,dQ(xQ(a.C,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.l&&(g.Fa(c,yP(a.l)),g.Fa(c,a.Xq()));a.B&&g.Fa(c,lT(a.B));if(a.H){var d=a.H,e=d.g;e={systemInfo:{flavor:e.flavor,keySystem:e.g},sessions:[]};d=g.la(d.l.values);for(var f=d.next();!f.done;f=d.next()){f=f.value;var k={requestedKeyIds:f.Y,cryptoPeriodIndex:f.C};f.A&&(k.keyStatuses=f.g);e.sessions.push(k)}c.drm=e}c.state=a.A.l.toString(16);g.W(a.A,128)&&(c.debug_error=a.A.g);eU(a)&&(c.prerolls=
a.Z.join(","));a.g.sg&&(c.ismb=a.g.sg);"UNKNOWN"!=a.g.latencyClass&&(c.latency_class=a.g.latencyClass);a.g.isLowLatencyLiveStream&&(c.lowlatency="1");a.g.ua&&(a.g.na&&IL(a.g.na)&&(c.segduration=IL(a.g.na)),a.W&&(c.lat=YQ(a.W.B)));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=iU(a))c.optimal_format=e.video.qualityLabel;c.user_qual=nH()}c.debug_videoId=a.g.videoId;return c};
VT=function(a,b){a.T("internalvideodatachange",void 0===b?"dataupdated":b,a,a.g)};
Soa=function(a){(0,g.B)("loadstart loadeddata loadedmetadata play playing pause ended suspend progress seeking seeked timeupdate durationchange ratechange error waiting abort resize".split(" "),function(a){this.oa.O(this.l,a,this.XK,this)},a);
a.o.yf&&(a.oa.O(a.l,"webkitplaybacktargetavailabilitychanged",a.SO,a),a.oa.O(a.l,"webkitcurrentplaybacktargetiswirelesschanged",a.TO,a))};
ipa=function(a){var b=a.getCurrentTime(),c=a.g;!eO("pbs","")&&MN.measure&&MN.getEntriesByName&&(MN.getEntriesByName("mark_nr")[0]?cO("mark_nr"):cO());c.videoId&&a.L.info("docid",c.videoId);c.eventId&&a.L.info("ei",c.eventId);c.clientPlaybackNonce&&a.L.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.L.info("start",c.startSeconds.toString());a.l&&a.l.g.paused&&a.L.info("paused",1);c.Ha?a.L.info("fmt",kI(c.Ha)):a.L.info("fmt","-1");c.Bo&&a.L.info("yt_pre",a.Ch?"2":"1");UT(a)&&a.L.info("yt_fs",
"1");a.L.info("cmt",b.toFixed(3));if(a.B){b=a.B;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.ia),c.length&&(c=c[0],b.Tc("vri",c.fetchStart),b.Tc("vdns",c.domainLookupEnd),b.Tc("vreq",c.requestStart),b.Tc("fvb",c.responseStart),b.Tc("vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.da),c.length&&(c=c[0],b.Tc("ari",c.fetchStart),b.Tc("adns",c.domainLookupEnd),b.Tc("areq",c.requestStart),b.Tc("avb",c.responseStart),b.Tc("arc",c.responseEnd)));
b=b.Pb;for(var d in b)a.L.g(d,b[d])}};
yU=function(a,b){b=void 0===b?!1:b;if(a.l&&a.g){var c=a.getCurrentTime();if(a.F&&pU(a)){var d=a.F,e=a.Hx();d.B++;3>d.B||(0,g.F)()-d.F<d.g.H||(d.F=(0,g.F)(),d.o.push(e),50<d.o.length&&d.o.shift())}a.F&&(d=a.A.gb(),e=a.F,hR(e,c,void 0===d?!0:d),iR(e,c),d&&(d=a.F,d=!fR(d,c)&&d.isPeggedToLive()?window.Infinity:c<d.A.Fb()?d.g.D?Math.min(d.A.Fb()+10,eR(d)):d.A.Fb():window.NaN,(0,window.isNaN)(d)||fU(a,d,!0)));a.W&&pU(a)&&(d=a.W,!d.g||c>=d.o&&c<d.A||(e=d.g.Tg(c),-1!=e&&(d.o=d.g.Xd(e),d.A=d.o+d.g.getDuration(e),
e=(0,g.F)()/1E3-d.g.Us(e),d.l&&(e-=d.l()),d.B.add(e))));if(a.B&&(!g.W(a.A,4)||!g.QO(a.g))&&(d=a.B,d.o)){d.B!=c&&d.resume();if(d.L&&!MI(d.o)){e=d.B<=c&&c<d.B+10;var f=0<=AI(FI(d.o.l),d.B+hT);e&&f&&(d.L=!1)}d.L||(d.B=c);g.nu(d.fa)}5<c&&(a.D?a.D.C=c:a.g.startSeconds=c);(d=g.GG())?g.HG(a.Xa):g.kE(a.Xa);!g.NP(a.A)&&a.l.g.paused||g.W(a.A,128)||(e=(0,g.z)(a.OI,a),a.Xa=0==(a.l.g.played||yI()).length?d?g.EG(e,100):g.iE(e,100):d?g.EG(e,500):g.iE(e,500));a.g.mg=c;!b&&a.A.gb()&&a.C&&(c=a.C,c.o.update(),c.g.videoData.Mb()&&
c.g.videoData.Ef&&!c.L&&eP(c.o)>=c.g.videoData.Ef&&(c.B&&c.g.videoData.Ef&&(d=xQ(c,"delayplay"),d.Cb=!0,d.send(),c.L=!0),CQ(c)),pU(a)&&(!a.g.na||!GL(a.g.na))&&(0,g.F)()>a.Dh+6283&&(c=a.C.l,e=c.g.B(),d=g.iP(c.g),WP(c,d,e),e=e.C,(0,window.isNaN)(e)||g.TP(c,d,"e2el",[e.toFixed(3)]),a.Dh=(0,g.F)()));a.T("progresssync",a,b)}};
WT=function(a,b){if(!g.LP(a.A,b)){var c=new g.RP(b,a.A);a.A=b;var d=!a.wc.length;a.wc.push(c);var e=a.l&&a.l.g.seeking;if(0<SP(c,1)&&!g.W(c.g,16)&&!e&&g.W(a.A,8)&&!g.W(a.A,64)&&a.B&&(a.B.N=!0,a.g.fi&&a.l&&a.Ec("rbinfo","rs."+a.l.g.readyState+";lact."+g.NG()),a.l&&5<=vP(a.l))){e=a.N;var f=a.g,k=e.g.experiments.l("html5_nnr_downgrade_count");if(k){6E4<(0,g.F)()-e.A&&(e.l=0);e.l++;e.A=(0,g.F)();f=f.Ha.video.l;var l=360;e.g.experiments.g("html5_mobile_perf_cap_240")&&e.g.l&&(l=240);e.l==k&&f>l?(e.g.xf=
new iJ(0,f-1,!1,"b"),e=!0):e=!1}else e=!1;e&&sU(a,"b")}(0>SP(c,8)||0<SP(c,1024))&&a.fa.stop();!(0<SP(c,8))||a.g.We||g.W(c.state,1024)||a.fa.start();g.W(c.state,8)&&0>SP(c,16)&&!g.W(c.state,32)&&!g.W(c.state,2)&&rU(a);g.W(c.state,2)&&RO(a.g)&&(e=a.getCurrentTime(),a.g.lengthSeconds!=e&&(a.g.lengthSeconds=e,VT(a)),yU(a,!0));0<SP(c,2)&&a.gu();a.g.na&&a.g.ua&&(0>SP(c,8)?(e=a.g.na,e.A&&e.A.stop()):0<SP(c,8)&&a.g.na.resume());0<SP(c,1)&&(a.Mc=g.iE((0,g.z)(a.XT,a),5E3));if(a.C&&(e=a.C,!e.ha())){g.W(c.state,
2)?(e.C="paused",0<SP(c,2)&&e.B&&zQ(e).send()):g.W(c.state,8)?(e.C="playing",e.B&&(0,window.isNaN)(e.D)&&wQ(e,!1)):e.C="paused";k=e.l;f=c.state;l=g.iP(k.g);var m=wma(k,c.state);m!=k.o&&(l<k.A||("PL"==k.o?k.K+=l-k.A:"B"==k.o&&k.H&&(k.H=!1,k.N+=l-k.A,!k.W&&10<=k.N&&180>=k.K&&(k.g.F(),k.l.qoealert=["1"],k.W=!0)),"B"!=m||"PL"!=k.o&&"PB"!=k.o||(k.H=!0),k.A=l),"B"==m&&"PL"==k.o||k.g.videoData.fi?XP(k,l):g.TP(k,l,"cmt",[k.g.l().toFixed(3)]),g.TP(k,l,"vps",[m]),k.o=m,k.A=l);g.W(f,128)&&ZP(k,l,f.g.errorCode,
f.g.errorDetail);(g.W(f,2)||g.W(f,128))&&k.B(l);g.W(f,8)&&k.g.videoData.Bo&&!k.F&&(k.l.user_intent=[g.iP(k.g).toString()],k.F=!0);YP(k);e.A&&g.W(c.state,128)&&(e.Uo("error-100"),g.kE(e.A))}if(d&&!a.ha())try{for(var n=g.la(a.wc),q=n.next();!q.done;q=n.next()){var r=q.value,u=a.I;c=r;if(u.B&&!u.H&&(u.o(),g.W(c.g,16))){c=u;var C=tna(c.g,Math.max(c.A-2E3,0));!(0,window.isNaN)(C)&&0x7ffffffffffff>C&&c.D.start()}a.T("statechange",r)}}finally{a.wc.length=0}}};
jpa=function(a){g.W(a.A,2)||g.W(a.A,32)||(a.R=window.NaN)};
BU=function(a,b){WT(a,KP(a.A,1028,9));a.Ec("dompaused",b);a.T("onDompaused")};
qU=function(a){if(!a.l||!a.g.Ka)return!1;var b=null;a.g.Ka.g?(b=vU(a),a.B.resume()):(TT(a),a.g.nf&&(b=a.g.nf.g()));var c=b;var d=a.l.l;b=!1;d&&null!=c&&c.g==d.g||(a.L.g("vta"),fO("vta"),a.D&&0<a.getCurrentTime()&&(b=a.getCurrentTime(),a.D.C=b),sP(a.l,c),a.K&&IG(4),!a.g.We&&GP(a.A)&&a.fa.start(),b=!0);a.D&&(c=a.D,c.H||!(0<c.C)||c.l&&0<c.l.getCurrentTime()||FT(c,c.C));a:if(g.IO(a.g)&&a.l)if(c=a.g.Rf){if(a.H){if("fairplay"!=c.flavor||RE())break a;RT(a)}d=a.l.la();a.H=new uT(d,c,a.o.experiments,"widevine"==
c.flavor&&!a.g.ua&&!a.g.Xr,a.g.drmSessionId);a.H.subscribe("newsession",a.hR,a);a.H.subscribe("licenseerror",a.xQ,a);a.H.subscribe("qualitychange",a.zQ,a);a.H.subscribe("heartbeatparams",a.VK,a);a.H.subscribe("keystatuseschange",a.WK,a);a.H.subscribe("hdproberequired",a.yQ,a);c=a.H;a=a.g.oauthToken;c.R=a;c.T("oauthtoken",a)}else g.ZT(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1");return b};
RT=function(a){a.H&&(a.H.dispose(),a.H=null)};
gpa=function(a){return a.g.ua&&(pU(a)||a.isPeggedToLive()||g.QO(a.g))?a.getCurrentTime():tU(a)};
tU=function(a,b){b=void 0===b?!1:b;return a.o.experiments.g("html5_new_seeking")?a.D?a.D.Ce(b):0:a.l?a.g.ua?RE()?ZO(a.l.g.getStartDate().getTime()):a.g.Ka&&a.g.Ka.g&&a.F?b?a.g.Ce():eR(a.F):pP(a.l)||0:a.g.Ce():0};
CU=function(a,b){a.Ca=b;a.l&&a.l.Vf(b)};
pU=function(a,b,c){if(!a.g.ua||!a.F||!(a.Kd||void 0!==c&&c))return!1;void 0==b&&(b=a.getCurrentTime());return fR(a.F,b)};
g.kpa=function(a,b){(a.Kd=b)||a.fa.stop();if(a.g.na)if(b)a.g.na.resume();else{var c=a.g.na;c.A&&c.A.stop()}a.o.experiments.g("html5_suspend_loader")&&a.B&&(b?a.B.resume():bT(a.B,!0));a.o.experiments.g("html5_fludd_suspend")&&(g.W(a.A,2)||b?g.W(a.A,512)&&b&&WT(a,JP(a.A,512)):WT(a,IP(a.A,512)));a.C&&(c=a.C.l,g.TP(c,g.iP(c.g),"stream",[b?"A":"I"]))};
wU=function(a){a.l&&(a.K?(RT(a),TT(a),vU(a),a.o.experiments.g("html5_stop_video_on_reattach")&&a.l.Le()):(a.g.nf&&a.g.nf.A(),a.l.Le()),rU(a))};
DU=function(a,b){a.o.experiments.g("html5_log_rebuffer_reason")&&a.Ec("bufreason","r."+b+";lact."+g.NG())};
EU=function(a,b){FQ.call(this,a,b);this.F=null};
g.FU=function(a){return a.app.A};
g.GU=function(a){a=g.FU(a).H;return!!a&&a.Hz()};
HU=function(a){a=g.FU(a);var b=a.H;return b&&b.Iz()?!0:g.PO(a.g.getVideoData(),"ypc_module")};
g.IU=function(a,b){3==a.Qa()?a.T("mdxautoplaycancel"):a.T("autonavcancel",b)};
g.X=function(a){return a.app.g};
g.MU=function(a){var b=a.app;a=a.playerType;return 3==g.JU(b)?g.KU(b.A).D:g.LU(b,a).A};
g.NU=function(a){return a.app.F};
OU=function(a){var b=g.KU(g.FU(a));return a.app.W&&!a.isFullscreen()||3==a.Qa()&&b.hasNext()&&b.Mf()||!!a.Wf()};
g.PU=function(a,b){var c=a.playerType;(c=g.LU(a.app,void 0===c?1:c))&&OT(c,b)};
g.QU=function(a){if(zF())if(a.isFullscreen())BF(a.getRootNode());else{a=a.getRootNode();var b=yF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.ra("onFullscreenToggled",a.isFullscreen())};
g.lpa=function(a){var b={};a=Uoa(g.LU(a.app));a=g.la(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.RU=function(a){return(a=g.LU(a.app))?oJ(toa(a.N,a.g)):"unknown"};
g.SU=function(a){return(a=g.FU(a).o)?a.wL():{}};
g.TU=function(a,b,c,d){var e=g.LU(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.UU=function(a){a=g.FU(a).A;return!!a&&a.nl()};
g.VU=function(a){a=g.FU(a).A;return!!a&&a.Fz()};
g.WU=function(a,b){var c=g.YH(a);if(c)return c.Js(b);c=a.app.F.Ia();return new g.eh(0,0,c.width,c.height)};
XU=function(a){a=g.FU(a).I;return!!a&&a.oL()};
g.ZU=function(a,b,c){YU(a.app,b,c||a.playerType)};
g.aV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.LU(d,a))c.I.C.apply(c.I,b),a&&g.JU(d)!=a||$U(d,"cuerangesremoved",b)};
g.bV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.LU(d,a))b=una(c.I,b),a&&g.JU(d)!=a||$U(d,"cuerangesremoved",b)};
g.cV=function(a,b,c){c=void 0===c?a.playerType:c;(a=g.LU(a.app,c))&&Roa(a,b)};
g.mpa=function(a){a=a.getVideoData().Ha;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.npa=function(a){a=a.getVideoData();return!!(a.adaptiveFormats||a.hlsFormats||a.Rd)};
g.dV=function(a,b,c){a=g.NU(a).element;var d=gb(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1});
0>d&&(d=-(d+1));Jd(a,b,d);b.setAttribute("data-layer",c)};
g.eV=function(a){var b=g.X(a);if(!b.Kd)return!1;var c=a.getVideoData();if(!c||3==a.Qa())return!1;var d=!c.isLiveDefaultBroadcast||b.experiments.g("allow_poltergust_autoplay");b=c.ua&&(!b.experiments.g("allow_live_autoplay")||!d);return!c.ypcPreview&&!b&&!g.Qa(c.dd,"ypc")&&!a.Wf()};
gV=function(a,b,c,d){if(g.X(a).L){a=a.app.da;g.Qa(a.g,b);g.Ta(a.g,b);var e=String(a.F++);b.setAttribute("data-visual-id",e);g.fV(a,"onLogClientVeCreated",{id:e,ve_type:d});g.bf(c,(0,g.z)(a.D,a,b))}};
g.hV=function(a,b){g.X(a).L&&a.app.da.click(b)};
g.iV=function(a,b,c){if(g.X(a).L){a=a.app.da;var d=b.getAttribute("data-visual-id");g.Qa(a.g,b);c?g.Ta(a.l,d):g.Va(a.l,d);c&&!g.Qa(a.o,d)&&(g.fV(a,"onLogVesShown",{ids:[d]}),g.Ta(a.o,d))}};
opa=function(){var a={};a.dt=MB;a.flash="0";a:{try{var b=window.top.location.href}catch(c){b=2;break a}b=null!=b?b==window.document.location.href?0:1:2}a=(a.frm=b,a);hi(a);return a};
g.jV=function(a){g.aG.call(this);this.g=a;this.loaded=!1};
ppa=function(a,b){var c=g.cE("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.Jg(window.location.href);d&&c.push(d);d=g.Jg(a);if(g.Qa(c,d)||!d&&g.nb(a,"/"))if(g.gG("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.Zc(c,a),a=c.href),a&&(c=g.Hg(a),c=g.Gg(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.dH();if(e){var e=(0,window.parseInt)(e,10);(0,window.isFinite)(e)&&0<e&&(c="ST-"+g.Bb(c).toString(36),d=b?g.Sg(b):"",g.RG(c,d,e||
5))}else e="ST-"+g.Bb(c).toString(36),c=b?g.Sg(b):"",g.RG(e,c,5)}};
g.kV=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.Ug(a,b)+c;a=a instanceof Gc?a:Lc(a);d.href=g.Hc(a)};
g.lV=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.cE("EVENT_ID");d&&(b.ei||(b.ei=d));b&&ppa(a,b);if(c)return!1;(window.ytspf||{}).enabled?window.spf.navigate(a):g.kV(a);return!0};
g.mV=function(a,b,c){c&&ppa(a,c);window.open(a,b||g.Bb(a).toString(36))};
nV=function(){g.K.call(this);var a=this;this.g=new window.Map;this.l=g.TF(window.document.body,"click",function(b){b.target&&(b=a.g.get(b.target))&&ZE(b)},"ytp-ad-has-logging-urls")};
rpa=function(a){if(a.simpleText)return a=g.Fd(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(qpa(d))}return 1==b.length?b[0]:g.J("SPAN",null,b)};
qpa=function(a){var b=null,c=a.text;a.bold&&(b=g.J("B",null,b||c));a.italics&&(b=g.J("I",null,b||c));a.strikethrough&&(b=g.J("STRIKE",null,b||c));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var d=a.navigationEndpoint.urlEndpoint;b=g.J("A",null,b||c);g.Zc(b,d.url);"TARGET_NEW_WINDOW"==d.target&&(b.target="_blank");if(a=a.navigationEndpoint.loggingUrls)a=a.map(function(a){return a.baseUrl}),null==oV&&(oV=new nV),oV.register(b,a),g.R(b,"ytp-ad-has-logging-urls")}return b||g.J("SPAN",null,
c)};
qV=function(a){g.K.call(this);var b=this;this.g=new pV(a);g.L(this,this.g);this.o=[];this.l=[];this.g.subscribe("externalClick",function(){return b.hide()});
this.g.subscribe("confirmClick",function(){return b.hide()})};
pV=function(a){g.aG.call(this);this.A=a;this.l=new g.U({G:"div",M:"ytp-ad-info-dialog-confirm-container",J:[{G:"button",M:"ytp-ad-info-dialog-confirm-button",J:["{{content}}"]}]});g.L(this,this.l);this.l.hide();this.o=new g.U({G:"div",M:"ytp-ad-info-dialog-title",J:["{{content}}"]});g.L(this,this.o);this.o.hide();this.g=new g.U({G:"div",M:"ytp-ad-info-dialog-relative-container",J:[{G:"div",M:"ytp-ad-info-dialog-form",J:[this.o,{G:"ul",M:"ytp-ad-info-dialog-ad-reasons"},{G:"div",M:"ytp-ad-info-dialog-message",
J:["{{content}}"]},this.l]}]});g.L(this,this.g);this.g.hide();this.B=new g.YF(this);g.L(this,this.B)};
spa=function(a){return a.g.g["ytp-ad-info-dialog-ad-reasons"]};
rV=function(a){return a?rpa(a):null};
tpa=function(a){if(!a.loggingUrls)return[];var b=[];a=g.la(a.loggingUrls);for(var c=a.next();!c.done;c=a.next())c=c.value,c.baseUrl&&b.push(c.baseUrl);return b};
sV=function(){g.aG.call(this);this.g=new window.Map};
upa=function(){null==tV&&(tV=new sV,vm.getInstance().o="b",wm());return tV};
vpa=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"g";case "measurable_impression":return"b";case "overlay_unmeasurable_impression":return"h";case "overlay_unviewable_impression":return"i";case "overlay_viewable_end_of_session_impression":return"j";case "overlay_viewable_immediate_impression":return"k";case "viewable_impression":return"o";default:return null}};
wpa=function(a){uV=a&&a.data};
ypa=function(a){xpa=a&&a.data};
zpa=function(){uV=null};
g.Apa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-cast-desktop-on"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",
fill:"#fff"}}]}};
Bpa=function(){return{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",P:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}};
g.wV=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-chevron-back"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},J:[{G:"path",P:{d:"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z",fill:"#fff"}}]}};
g.xV=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-chevron-forward"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},J:[{G:"path",P:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}};
Cpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-clip-clear"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},J:[{G:"path",P:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{G:"path",P:{d:"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z",fill:"#fff"}}]}};
Dpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-clip-end"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
Epa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-clip-start"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.yV=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-close"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 24 24",width:"100%"},J:[{G:"path",P:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}};
Fpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-closed-captioning"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z",
fill:"#fff"}}]}};
Gpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-forward-five-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}};
Hpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-link"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",P:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}};
zV=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-next"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
g.Ipa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-notifications-active"]}:{G:"svg",P:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},J:[{G:"path",P:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}};
Jpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-pause"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
Kpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-pip"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",fill:"#fff"}}]}};
Lpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-play"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}}]}};
Mpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-prev"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
g.AV=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-replay"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}};
Npa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}};
g.Opa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-settings"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z",
fill:"#fff"}}]}};
Ppa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-stop"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
Qpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-volume-high"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z",fill:"#fff"}}]}};
Rpa=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-volume-low"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}};
BV=function(){return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-volume-muted"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}};
g.CV=function(a,b,c,d){g.K.call(this);this.l=a;c||a.hide();this.B=null==d?b:d;this.g=this.A=null;this.o=new g.mu(this.rp,0,this);g.L(this,this.o)};
DV=function(a,b){var c=a.l.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
g.EV=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.FV=function(a){return(!g.ua(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
GV=function(a,b){this.l=a;this.g=b};
HV=function(a,b){return a.l+b*a.getLength()};
IV=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.l)/a.getLength();return g.cd(a,0,1)};
JV=function(a,b){g.LH.call(this,{G:"div",M:"ytp-ad-persistent-progress-bar-container",J:[{G:"div",M:"ytp-ad-persistent-progress-bar"}]});this.B=a;this.A=b;g.L(this,this.A);this.F=this.g["ytp-ad-persistent-progress-bar"];this.o=-1;this.O(a,"presentingplayerstatechange",this.D);this.hide();this.D()};
KV=function(){g.U.call(this,{G:"div",M:"ad-carousel",J:[{G:"div",M:"ad-carousel-clip",J:[{G:"ul",ba:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.g["ad-carousel"];this.B=new g.U({G:"button",ba:["ad-carousel-nav-button","ad-carousel-nav-prev"],P:{type:"button",onclick:"return false;"},J:[{G:"span",ba:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],P:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.L(this,this.B);this.B.U("click",this.F,this);this.B.pa(a);this.A=new g.U({G:"button",
ba:["ad-carousel-nav-button","ad-carousel-nav-next"],P:{type:"button",onclick:"return false;"},J:[{G:"span",ba:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],P:{"data-tooltip-text":"Next",title:"Next"}}]});g.L(this,this.A);this.A.U("click",this.D,this);this.A.pa(a);this.C=this.g["ad-carousel-list"];this.o=0;this.Ga=[]};
Spa=function(a,b){a.clear();for(var c=g.la(b),d=c.next();!d.done;d=c.next()){var e=a;d=d.value.element;var f=new g.U({G:"li",M:"ad-carousel-listitem",J:[{G:"div",M:"ad-carousel-item"}]});f.g["ad-carousel-item"].appendChild(d);e.Ga.push(f);e.C.appendChild(f.element)}};
MV=function(a){a.C&&g.sh(a.C,"left",(2>a.Ga.length?0:-a.o*a.Ga[1].element.clientWidth)+"px");g.KH(a.B,0<a.o);g.KH(a.A,a.o<a.Ga.length-LV(a))};
LV=function(a){return 2>a.Ga.length?1:Math.round((a.element.clientWidth-a.Ga[0].element.clientWidth)/a.Ga[1].element.clientWidth)+1};
NV=function(a){g.aG.call(this);this.l=a;this.g=new g.YF(this);g.L(this,this.g);this.A=Tpa;this.o=null;this.g.O(this.l,"presentingplayerstatechange",this.B);this.o=this.g.O(this.l,"progresssync",this.C)};
PV=function(a,b){this.g=a;this.l=g.ua(b)?b:null;if(g.Qa(OV,this.g)){if(!g.ua(this.l)||0>this.l)throw Error("Must have valid offset");}else if(null!==this.l)throw Error("Must not have offset");};
QV=function(a){var b=a.l;if(null!==b)return b;switch(a.g){case 1:return 0;case 3:return-1;default:return-100}};
Upa=function(a,b){var c=a.g,d=b.g;if(c!=d){if(1==c||3==d)return-1;if(1==d||3==c)return 1}var e=a.l,f=b.l;return e!=f?null===e?1:null===f?-1:e-f:c-d};
RV=function(a){this.l=a};
SV=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Vpa=function(a,b){if(a){var c="getErrorCode"in a?a.Ub():null;c?b.error_code=c:(c="getMessage"in a&&g.Aa(a.getMessage)?a.Ed():a.message,c=tb(c||"",50),b.error_message=c)}};
TV=function(a,b){if(a){var c=Ys(a).reverse();b.ad_id=g.Xa(c,Ws(a)).join(",");c=$s(a).reverse();b.ad_sys=g.Xa(c,Ms(a)).join(",");c=ar(a);null!=c&&(b.aqi=c)}};
UV=function(a,b){if(a[b])return SV(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return SV(a[d]);return!1};
Wpa=function(a,b,c){var d=new No;d.Qi=b.baseYtUrl;d.contentId=c.videoId;d.Fu=!JM(b);d.Ju=!0;d.ND=!0;d.OD=a.L;d.showContentThumbnail=a.showContentThumbnail;d.Zh={};c.fg&&(d.Zh.ctrl=c.fg);c.pf&&(d.Zh.ytr=c.pf);c.Um&&(d.Zh.ytrcc=c.Um);c.isMdxPlayback&&(d.Zh.mdx="1");b.experiments.g("add_vvt_to_adunit_get_video_info")&&c.Te&&(d.Zh.vvt=c.Te);a.l?(d.Zp=!0,d.fx=!0,d.showContentThumbnail=!1,d.Du=!0,d.Gu=!0,d.Ju=!1):a.B&&(d.Zp=!0);a.l&&DM&&(d.vy=!1);d.uy=a.H;return d};
cqa=function(a){var b=new YA,c=a.app.F.Ia();b.qj=c.width;b.pj=c.height;b.cf=c.width;b.bf=100;b.lx=WM(VV(a));c=new xn;c.g=(0,g.z)(VV(a).experiments.g,VV(a).experiments);c.l=(0,g.z)(VV(a).experiments.l,VV(a).experiments);c.o=(0,g.z)(VV(a).experiments.o,VV(a).experiments);b.Hp=c;if(c=b.lx?Gla(VV(a)):-1)b.C=c;a.l.tagForChildDirected&&(b.gp=!0);c=WV(a);b.gc={CA_TYPE:"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,EID:c.eventId,LACT:Xpa(a),VIS:Ypa(a)};c.oauthToken&&CE()&&(b.D=gc({Authorization:"Bearer "+
c.oauthToken}));c=XV(a);null!=c&&(b.gc.P_H=c.height,b.gc.P_W=c.width);g.Kb(opa(),function(a,c){b.gc[c.toUpperCase()]=a});
WM(VV(a))||(b.gc.LACT="-1");b.language=VV(a).oa;var d=Zpa(a,"a_bid_s","a_bid_f"),e=0;b.Jm=function(){var b=$pa();d(b);var c=new RV(a);aqa(b,VV(a).experiments,c,e);e++;return b};
var f=Zpa(a,"a_mid_s","a_mid_f");b.Bm=function(){var a=bqa();f(a);return a};
return b};
Zpa=function(a,b,c){var d=!0;return function(e){if(d){a.oe(b);if(Yf(e)){var f=(0,g.z)(a.oe,a,c);e.then(f,f)}else a.oe(c);d=!1}}};
$pa=function(){var a=null;pF().then(function(b){a=b},function(b){a=b.isTimeout?"NO_BID":"ERR_BID"});
if(null!=a)return a;var b=xg(1E3,"NO_BID"),c=g.mg(hg([pF(),b]),function(){return"ERR_BID"});
kg(g.mg(c,g.y),function(){b.cancel()});
return c};
bqa=function(){var a=null;rF().then(function(b){a=b},function(){a="NO_ADS_ID"});
if(a)return a;var b=xg(1E3,"NO_ADS_ID"),c=g.mg(hg([rF(),b]),function(){return"NO_ADS_ID"});
kg(g.mg(c,g.y),function(){b.cancel()});
return c};
aqa=function(a,b,c,d){function e(a){a.isTimeout?f({"bid.type":"timeout","bid.count":d,"bid.msg":a.toString()}):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.z)(c.g,c,["html5_serverside_get_biscotti_id_from_client"],"coldwatch");Yf(a)?a.then(null,e):a instanceof Error&&e(a)}};
Xpa=function(a){return{toString:function(){if(null==a||a.ha())return a=null;VV(a);return g.NG().toString()}}};
Ypa=function(a){return{toString:function(){return null==a||a.ha()?a=null:a.g.oi().toString()}}};
dqa=function(a){return{toString:function(){if(null==a||a.ha())return a=null;var b=a.jd?a.jd.g:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.F)()-b).toString()}}};
YV=function(a,b,c,d){this.l=this.A="";this.o=a;this.D=b;this.g=c;this.C=d};
ZV=function(a){var b={};b.l_ns=a.D;b.l_state=a.C;b.break_type=a.o.g;b.sst=QV(a.o);b.sidx=0;a.A&&(b.at=a.A);a.l&&(b.ad_id=a.l);return b};
$V=function(){g.K.call(this);this.l=new g.mu((0,g.z)(this.C,this),1E3);g.L(this,this.l);this.A=this.o=0;this.g=eba();this.B=!1};
eqa=function(){var a=g.x("yt.www.watch.ads.loadAfc");g.Aa(a)?(a(),aW=!0):bW=!0};
fqa=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"};
gqa=function(){var a=g.x("window.google_show_companion_ad");var b=g.x("yt.www.watch.ads.getGlobals");g.Aa(a)&&g.Aa(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():cW=!0};
iqa=function(a){if(O.o){if(!a)return eg();dW(a,{afvMpu:{}});return dg()}a=a&&VV(a).experiments;gqa();eW();return hqa(a)};
hqa=function(a){fW||(fW=new $V(a));a=fW;a.B||(a.l.start(),a.B=!0);return a.g.g};
eW=function(){fW&&(fW.dispose(),fW=null)};
gW=function(){var a=g.x("yt.www.watch.ads.setCompanion");a&&a()};
jqa=function(a){var b=g.x("yt.www.watch.ads.showForcedMpu");b&&b(a)};
hW=function(a,b,c,d){g.aG.call(this);this.g=a;this.l=d;this.videoData=null;this.adType=c;this.adSystem=b};
kqa=function(a,b,c){this.g=a;this.l=b;this.o=c||0};
oqa=function(a){var b=[];(0,g.B)(a.split("_"),function(a,b){this[b]=Db(a)},b);
return new kqa(g.Vb(lqa,b[0])?b[0]:0,g.Vb(mqa,b[1])?b[1]:0,g.Vb(nqa,b[2])?b[2]:0)};
pqa=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};
iW=function(a){g.K.call(this);var b=g.Ed("div");b.className="video-ad-label";b.textContent=g.T("YTP_ADVERTISEMENT");var c=g.Ed("div");c.className="video-ad-status-bar";c.appendChild(b);b=g.Ed("div");b.className="ad-container";var d=g.Ed("div");d.className="video-ads";d.appendChild(c);d.appendChild(b);this.element=d;this.o=a;this.l=this.g=null};
jW=function(a){if(!a.g){var b=g.X(a.o);a.g=g.H("ad-container",a.element);b.xd&&(EM&&JM(b)||g.R(a.g,"ad-container-single-media-element-annotations"))}return a.g};
qqa=function(a){if(!a.l){var b=g.Ed("div");g.Eq(b,["video-click-tracking","ad-video"]);jW(a).appendChild(b);a.l=b}return a.l};
rqa=function(a){a||(g.dE(Error("WhyThisAdExtension is absent"),"WARNING"),a=g.T("YTP_AD_SETTING_TEXT").split("$AD_SETTING_LINK_TEXT"),a.splice(1,0,g.T("YTP_AD_SETTING_LINK_TEXT")),a=new Tt(g.T("YTP_AD_SETTINGS_TOOLTIP"),g.T("YTP_CLOSE_AD_INFO_DIALOG"),void 0,void 0,void 0,a));var b={button:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"INFO_OUTLINE"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},hoverText:kW(a.A)};lW(b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,
a);return b};
lW=function(a,b){var c={title:kW(b.B),adReasons:b.C.map(function(a){return kW(a)})},d=b.l;
if(d&&3==d.length){var e=kW(d[0]);mW(e,d[1],"https://www.google.com/settings/ads");mW(e,d[2]);c.dialogMessage=e;d=Bq(b,"why_this_ad_settings_url");d.length&&(e.runs[1].navigationEndpoint.loggingUrls=d.map(function(a){return{baseUrl:a}}))}if(e=b.o)c.confirmLabel=kW(e),e=Bq(b,"why_this_ad_got_it"),e.length&&(c.confirmServiceEndpoint=nW(e));
if(e=sqa(b,"why_this_ad_url"))c.impressionEndpoints=[e];if(e=sqa(b,"why_this_ad_got_it"))c.confirmServiceEndpoint=e;a.dialog={adInfoDialogRenderer:c}};
uqa=function(a){a=Ir(a);var b=Jr(a),c=[],d={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"};(0,g.B)(Sga(b),function(a){7==a.Sb()&&c.push(g.kn(as(a,"base_url"),d))});
return{plaShelfItemRenderer:{headline:kW(a.md()),merchant:kW(Lr(b)),image:{thumbnails:[{url:Mr(a).getImageUrl()}]},priceText:kW(Nr(b)),reviewText:kW(as(b,"review_text")),rating:Qv(b,"rating",0),clickthroughEndpoint:tqa(Pr(iw(b))),impressionEndpoints:[nW(c)]}}};
kW=function(a){var b={};mW(b,a,void 0);return b};
mW=function(a,b,c){a.runs||(a.runs=[]);b={text:b};c&&(b.navigationEndpoint=tqa(c));a.runs.push(b)};
tqa=function(a){return{urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
nW=function(a){return{loggingUrls:a.map(function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}};
sqa=function(a,b){var c=Bq(a,b);return c.length?nW(c):null};
vqa=function(a){this.g=a};
wqa=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};
oW=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}};
xqa=function(a,b){this.B=null;this.o=window.NaN;this.l=null;this.g=a;this.A=b};
pW=function(a,b,c){a.g.T("AD_LOGGING_EVENT",b,c)};
yqa=function(a,b,c){qW(a);var d=rW(a);c&&g.Fa(d,c);d.ad_error=b;pW(a,7,d)};
rW=function(a){var b={},c=a.g.videoData,d=a.g.wn(),e=a.g.Vl();TV(a.g.tb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.Jg(e),b.ad_dom=c,(c=a.A.l)&&c.B&&(b.ad_v_url=e.substr(0,512)));e=a.g;(e=e.l?e.l.Ae():null)&&(b.ad_cpn=e);b.format=a.g.uf();b.at=a.g.Uh();b.ad_mt=Math.round(1E3*Math.max(zqa(a.g),0));return b};
qW=function(a){a.B||(a.B="InstreamAdDisplay ("+a.g.uf()+")")};
sW=function(a,b){g.K.call(this);this.A=Math.max(0,a);this.o=this.l=0;this.B=b;this.g=window.NaN};
uW=function(a,b,c,d,e,f,k,l){hW.call(this,b,a,2,c);this.K=!1;this.D=this.R=this.L=null;this.g.subscribe("control_toggle_play_pause",this.rE,this);this.g.subscribe("control_play",this.Vt,this);this.g.subscribe("control_pause",this.Tt,this);this.B=new xqa(this,this.g);this.o=new g.VF(this);this.A=tW(b.g.app,2);this.A.subscribe("statechange",this.pE,this);this.A.subscribe("internalAbandon",this.WA,this);this.A.subscribe("internalvideodatachange",this.qE,this);this.C=this.F=!1;this.W=d;this.Z=e;this.N=
!!f;this.Y=!!k;this.I=l;this.H=new sW(15E3,(0,g.z)(this.abort,this));this.X=b.l.L&&"3"==VV(b).A};
wW=function(a,b){if(!a.ha()&&a.X){var c=a.g.app.F;JM(c.app.g);c.F=!b;vW(c)}};
yW=function(a){XN("ad_to_video",["pbresume"]);a.I&&(0,g.JQ)("yt_abt",a.I,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&(0,g.JQ)("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&(0,g.JQ)("ad_docid",a.videoData.videoId,"ad_to_video");(0,g.IQ)("adc",void 0,"ad_to_video");g.kU(tW(a.g.g.app,2));xW(a.g,0);Aqa(a.g,0);a.T("adEnd",a);wW(a,!0)};
zW=function(a,b){VV(a.g).experiments.g("html5_ad_error_releases")?g.kU(a.A):OT(a.A);xW(a.g,0);a.T("adError",b)};
zqa=function(a){return a.A?a.A.getCurrentTime():0};
Bqa=function(a){a=a.tb();return a?(a=Rs(a))?{menuTitle:a.A,closeButton:a.o,targetingReasonHeader:a.B,targetingReasons:g.Ya(a.C),adSettingsLink:g.Ya(a.l),controlText:a.F,continueButton:a.D,cancelButton:a.I}:null:null};
Cqa=function(a){a=a.tb();if(!a)return null;a=Ss(a);if(!a)return null;for(var b=St(a),c=[],d=0;d<b;d++)c.push({label:a.l[d].label,url:a.l[d].url});return{goneText:a.o,questionText:a.B,undoText:a.C,hoverText:a.A,surveyOptions:c}};
Dqa=function(a,b){this.g=a;this.B=b;this.g.uf();this.l=this.A=0;this.o=null};
AW=function(a,b,c){a.g.T("AD_LOGGING_EVENT",b,c)};
BW=function(a){var b={};TV(a.g.tb(),b);a.A&&a.l&&(b.ot=a.l-a.A);var c=a.B.isFullscreen()?2:a.B.isWidescreen()?1:0;b.ad_ps=c;b.format=a.g.uf();b.at=a.g.Uh();return b};
CW=function(a,b,c,d){hW.call(this,b,a,1,c);this.o=null;this.F=this.C=!1;this.I=null;this.B=new Dqa(this,b);this.A=new g.VF(this);this.H=!!d;this.D=!1};
DW=function(a,b){var c=a.g.getRootNode();g.S(c,"ytp-ad-overlay-open",b);g.S(c,"ytp-ad-overlay-closed",!b)};
EW=function(a,b,c,d){g.K.call(this);this.H=null;this.F=a;this.l=b.Qb;this.B=b;this.I=b.getId();this.g=c;this.C=d;this.o=new YV(this.l,this.F,c,d);this.Za=null;this.L=new g.an(this);this.A=new g.an(this);this.K=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
FW=function(a,b){a.H=b;var c=b.uf();a.o.A=c};
GW=function(a,b){var c=g.x("yt.www.watch.ads.setAdId");c&&c(b);a.o.l=b};
Eqa=function(a){iqa(a.g).then(function(){this.o.B()},g.y,a)};
Fqa=function(a){this.g=a};
HW=function(a){hW.call(this,a,2,3,null)};
IW=function(a,b,c){EW.call(this,2,a,b,c);this.D=new Fqa(this.g.l);fqa()};
Gqa=function(a,b){this.g=a?a:"";this.Bb=b};
JW=function(a,b,c,d){CW.call(this,1,a,b,d);this.K=c};
KW=function(a,b,c){EW.call(this,1,a,b,c);this.D=new Gqa(this.g.l.adTag,this.I,VV(this.g).experiments)};
LW=function(a,b){var c=b.l;this.D=c.forceAdUrl;var d=0;c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);EW.call(this,2,a,b,d)};
Hqa=function(){MW||(MW=g.Aa(g.x("yt.www.watch.ads.promotionShelfShow"))?dg():new g.$f(function(a){g.oG("watchAdsInit",a)}));
return MW};
Iqa=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)};
Mqa=function(a){var b=Ir(a),c=Jr(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");g.LH.call(this,{G:"div",M:"iv-btp-card",J:[{G:"a",M:"iv-btp-card-content",P:{href:Pr(iw(c)),target:"_blank"},J:[{G:"div",J:[{G:"div",ba:d,P:{"data-position":"bottomright","data-orientation":"vertical"},J:[{G:"div",ba:["iv-btp-card-image","yt-uix-hovercard-anchor"],J:[{G:"span"},{G:"div",M:"iv-btp-card-image-aligned",J:[{G:"img",P:{src:Mr(b).getImageUrl()}}]}]},{G:"div",M:"iv-btp-card-info",J:[{G:"span",M:"iv-btp-card-action",
J:[Nr(c)]},NW(a)]},Jqa(a)]},{G:"div",M:"iv-btp-large-card",J:[{G:"div",M:"iv-btp-card-image",J:[{G:"span"},{G:"div",M:"iv-btp-card-image-aligned",J:[{G:"img",P:{src:Mr(b).getImageUrl()}}]}]},{G:"div",M:"iv-btp-card-info",J:[{G:"div",M:"iv-btp-card-text-box",J:[{G:"div",M:"iv-btp-card-text-valign",J:[{G:"div",ba:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],J:[b.md()]}]}]},{G:"span",M:"iv-btp-card-action",J:[Nr(c)]},NW(a),Kqa(a)]}]},Lqa(a)]}]}]})};
Kqa=function(a){a=Jr(Ir(a));return.01>Qv(a,"rating",0)?{G:"div"}:{G:"div",M:"iv-btp-card-review",J:[{G:"div",M:"iv-btp-card-rating",J:[{G:"span",M:"iv-btp-card-rating-bg",J:[{G:"span",M:"iv-btp-card-rating-fg",P:{style:"width: "+Math.floor(100*Qv(a,"rating",0)/5)+"%;"}}]}]},{G:"span",M:"iv-btp-card-reviews",J:[as(a,"review_text")]}]}};
Jqa=function(a){var b=Ir(a),c=Jr(b);return{G:"div",ba:["yt-uix-hovercard-content","iv-btp-hovercard"],J:[{G:"div",M:"iv-btp-hovercard-text-box",J:[{G:"a",P:{href:Pr(iw(c)),target:"_blank"},J:[{G:"div",ba:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],J:[b.md()]}]},{G:"div",M:"iv-btp-hovercard-info",J:[{G:"span",M:"iv-btp-hovercard-action",J:[Nr(c)]},NW(a)]},Kqa(a)]}]}};
NW=function(a){return{G:"div",M:"iv-btp-card-merchant",J:[{G:"span",M:"iv-btp-card-merchant-text",J:[Lr(Jr(Ir(a)))]}]}};
Lqa=function(a){var b=[];a=Jr(Ir(a));for(var c={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"},d=0;d<Uv(a,"event");d++){var e=new Tv(Sv(a,"event",d));7==e.Sb()&&(e=g.kn(as(e,"base_url"),c),b.push({G:"img",P:{src:e}}))}return{G:"div",M:"iv-btp-impressions",J:b}};
OW=function(){g.LH.call(this,{G:"div",M:"iv-btp-companion",J:[{G:"div",M:"iv-btp-block-clicks"},{G:"div",M:"iv-btp-attribution",J:[{G:"span",M:"iv-btp-title",J:["{{title}}"]},{G:"div",M:"ad-info-container",J:[{G:"span",M:"iv-btp-sponsored",J:[g.T("YTP_SPONSORED")]},{G:"button",M:"ad-info-icon"}]}]}]});var a=this.g["iv-btp-companion"];this.A=new KV;this.A.pa(a);this.C=new g.YF(this);g.L(this,this.C);this.H=new g.mu(this.yu,200,this);g.L(this,this.H);this.F=this.g["iv-btp-block-clicks"];this.B=new g.mu(g.Ea(function(a){g.M(a,
!1)},this.F),1E3);
g.L(this,this.B);this.o=null;this.D=Nqa();this.C.O(window,"resize",this.II);this.C.O(this.g["ad-info-icon"],"click",this.KO)};
Oqa=function(a,b){a.clear();g.M(a.F,!0);var c=(0,g.G)(b,g.Ea(function(a){return new Mqa(a)}));
a.updateValue("title",0<b.length?as(b[0],"teaser_text"):"");Spa(a.A,c);a.yu()};
Nqa=function(){return{dialogMessage:{runs:[{text:g.T("YTP_SPONSORED_PRODUCT_INFO")}]}}};
PW=function(a,b){hW.call(this,a,14,14,b);this.o=new OW;g.L(this,this.o)};
Pqa=function(a){return(0,g.Ld)(a.l.tb().B,function(a){return Rv(a.Ee(),"show_in_promotion_shelf")})};
QW=function(a,b,c){EW.call(this,14,a,b,c)};
RW=function(a,b,c){EW.call(this,14,a,b,c)};
Qqa=function(a,b,c,d,e){this.A=a;this.l=b;this.g=c;this.D=VV(this.A);this.B=d;this.C=WV(this.A).lengthSeconds;this.F=e;this.o="html5";g.KM(this.D)?this.o="html5_embed":EM||DM?this.o="html5_ios":ME("android")?this.o="html5_android":WE()?this.o="html5_wp":SE()?this.o="html5_ps3":g.cN(this.D)?(a=(g.Tb(window,"environment","brand")||"").toLowerCase(),b=(g.Tb(window,"environment","model")||"").toLowerCase(),this.o="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):VE()?this.o="html5_wii":
this.o="html5_desktop"};
Rqa=function(a){return SW(a.l)?"preroll":TW(a.l)?"postroll":"midroll"};
Sqa=function(a){return(a=a.A.o)?(0,g.Ej)(a.yb,function(a){return UW(a)||TW(a)}):!1};
VW=function(a,b){CW.call(this,4,a,b)};
WW=function(a,b,c){EW.call(this,4,a,b,c);var d=this.g.l;this.D=g.E(d.za);var e=WV(this.g)&&WV(this.g).spacecastModule;this.N=new Qqa(b,a,d,c,!!e)};
XW=function(a,b){this.l=a;this.g=b};
Tqa=function(a){return 0<(a.g&3)};
YW=function(a,b,c,d,e){g.aG.call(this);this.D=!0;this.l=!1;this.isVisible=!0;this.A="unloaded";this.F=!1;this.Ba=b;this.o=a;this.Qb=c;this.C=d;this.B=this.g=null;this.H=!!e};
$W=function(a){return SW(a)?a.Mb()&&ZW(a)?-0x8000000000000:0:g.ua(a.Qb.l)?1E3*QV(a.Qb):0x8000000000000};
Uqa=function(a){var b=!VV(a.o).experiments.g("disable_fetching_previous_nonadjacent_midrolls");return SW(a)||b&&a.o.g&&1E3*a.o.g.getCurrentTime()>=$W(a)?!1:(0,g.tm)(a.C,function(a){switch(a.Sb()){case 1:case 2:case 5:return!0;default:return!1}})};
SW=function(a){return 1==a.Qb.g};
ZW=function(a){if(!a.Mb())throw Error("Preroll status is undefined before ad load.");return SW(a)&&a.l};
UW=function(a){return 2==a.Qb.g};
TW=function(a){return 3==a.Qb.g};
eX=function(a){a.A="loading";SW(a)&&!(0,g.Ej)(a.C,Tqa)&&aX(a.o);if(a.H)a.A="loaded",a.l=!0,bX(a);else{var b=a.C.shift();b?(SW(a)&&a.o.oe("nl"),b=b.create(a,a.o),g.L(a,b),b.load()):a.o.l&&a.o.l.D&&5!=a.Qb.g?Vqa(a,new HW(a.o),a.Qb):(cX(a.o,2,dX(a,{})),Wqa(a,!1),a.A="error",bX(a))}};
fX=function(a){a.g&&(a.g.unsubscribe("adEnd",a.aB,a),a.g.unsubscribe("adError",a.hE,a),a.g.unsubscribe("AD_LOGGING_EVENT",a.jE,a),a.g.unsubscribe("select",a.gE,a),a.g.unsubscribe("adCompanionInitialized",a.iE,a))};
Vqa=function(a,b,c){a.g=b;a.Qb=c;g.L(a,a.g);0==a.Ba&&(b=a.g.Uh(),a.o.W.at=b);a.g instanceof uW?a.l=!0:a.g instanceof HW?a.isVisible=!1:a.g instanceof VW?a.isVisible=!1:a.g instanceof JW&&(a.isVisible=!1);a.A="loaded";bX(a)};
bX=function(a){a.T("adBreakComplete",a)};
Wqa=function(a,b){a.B&&(a.B.Wj({FILLED_OPPORTUNITY:b?1:0}),a.B.dispose(),a.B=null)};
dX=function(a,b){b.break_type=a.Qb.g;b.sst=QV(a.Qb);b.sidx=0;return b};
Xqa=function(a){var b=0;a.R&&(b|=1);a.N&&(b|=2);var c=0;a.F&&a.K&&(c=4);a=new g.Fm;a.set(3,b);a.set(4,c);return a};
Yqa=function(a,b){var c=[];if(a.X)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new XW(8,16):new XW(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.da&&c.push(new XW(7,16)),c;if(a.Z){var d=0;if(a.o||a.C)d|=1;a.ca&&(d|=4);a.D&&(d|=8);c.push(new XW(5,d))}a.Y&&(d=0,a.o&&(d|=1),a.C&&(d|=2),a.ca&&a.F&&(d|=4),a.D&&a.F&&(d|=8),d&&c.push(new XW(2,d)));d=Xqa(a);var e=d.get(3);e&&c.push(new XW(1,e));!a.independentBreakOffsets&&a.da&&c.push(new XW(7,16));(d=d.get(4))&&c.push(new XW(1,d));return c};
Zqa=function(a){this.g=a};
ara=function(a){var b=[];(0,g.B)($qa(a),function(a,d){var c=this.g;var f=Yqa(this.g.l,a.g);c=new YW(c,d,a,f);b.push(c)},a);
return b};
$qa=function(a){var b=a.g.l;a=[];if(b.fa)for(var c=b.fa.split(","),d=0;d<c.length;d++){var e=Db(c[d]);e=0>e?new PV(3):0<e?new PV(2,e):new PV(1);a.push(e)}else a=bra;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new PV(5,Db(b[d])));g.ib(a,Upa);return a};
fra=function(a,b){this.I=a;this.l=this.I.l;this.B=g.cN(this.I);this.A=this.l||this.B;this.L=!this.B&&!JM(a);this.o=SV(b.instream);this.isLiveStream=1==b.livestream;this.C=SV(b.trueview);this.W=SV(b.aftv);this.fa=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.ya=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Ta=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.Cb=cra(this.afvAdTag);this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.oa=(0,window.parseInt)(b.ad_age,
10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.o||this.C)&&!this.I.N;this.contentOwnerId=b.cid;this.contentVideoId=xM(b);this.excludedAds=b.excluded_ads;this.fadeInDurationMilliseconds=(0,window.parseInt)(b.fade_in_duration_milliseconds,10)||0;this.fadeInStartMilliseconds=(0,window.parseInt)(b.fade_in_start_milliseconds,10)||0;this.fadeOutDurationMilliseconds=(0,window.parseInt)(b.fade_out_duration_milliseconds,10)||0;this.fadeOutStartMilliseconds=(0,window.parseInt)(b.fade_out_start_milliseconds,
10)||0;this.forceAdType=b.force_ad_type;this.forceAdUrl=b.force_ad_url;this.za=b.freewheel_ad_tag;this.gender=Xb(dra,function(a){return a==b.ad_gender});
this.ia=b.dbp;this.K=SV(b.afv)&&!this.A;this.N=this.W&&this.C;this.R=this.W&&this.o&&!SV(b.no_afv_instream);this.Y=SV(b.dclk);SV(b.gpt_migration);this.X=SV(b.forced_ad);this.Z=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Xa=!!b.fqsf;this.ca=SV(b.invideo)&&!this.A;this.D=SV(b.mpu)&&!this.A;g.Qa(this.Cb,"yt_mabv");this.da=!!b.pla;this.Na=SV(b.shortform);this.F=SV(b.sffb);this.Ya=b.ad_language_iso639_2;this.g=this.A||!this.I.experiments.g("disable_client_side_midroll_freq_capping")?(0,window.parseInt)(b.midroll_freqcap,
10):-1;(0,window.isNaN)(this.g)&&(this.g=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.tagForChildDirected=SV(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData;this.Ma=this.W&&this.F&&!this.K;this.Ca=this.K||this.Ma;this.Pa=(0,window.parseInt)(b.ad_device,10);this.ma=b.tpas_video_id;this.ea=b.tpas_partner_id;this.vmap=b.vmap;this.jc=this.I.jc;this.showContentThumbnail=!0;g.ta(b.show_content_thumbnail)&&
(this.showContentThumbnail=b.show_content_thumbnail);this.H=era(b.serialized_ad_ux_config)};
cra=function(a){if(!a||g.D(g.E(a)))return[];a=g.Hg(a)[6]||null;if(!a)return[];var b=null;Mg(a,function(a,d){b||"channel"!=a||(b=d)});
return b?b.split("+"):[]};
era=function(a){if(a)try{var b=JSON.parse(a);return new Pe(b)}catch(c){}return null};
gX=function(a,b){g.K.call(this);this.o=a;this.we=new g.an(this);g.L(this,this.we);this.l=null;this.g=!1;this.we.U(b,"companionImpression",this.B);this.we.U(b,"companionClick",this.A)};
gra=function(a){var b=!g.X(a).Xa&&3!=a.Qa();return a.isFullscreen()||b};
g.hX=function(a,b,c,d){if((void 0===c||!c)&&g.FV(a))return g.QF(a),!0;b.cd();a=a.currentTarget.getAttribute("href");g.lV(a,d,!0);return!1};
iX=function(a,b,c){if(YM(g.X(b))&&2!=b.Qa()){if(g.FV(c))return b.isFullscreen()&&g.QU(b),g.QF(c),!0}else{var d=g.FV(c);d&&b.cd();g.lV(a,void 0,!0);d&&(g.mV(a),g.QF(c))}return!1};
jX=function(){return{G:"div",M:"ytp-spinner-container",J:[{G:"div",M:"ytp-spinner-rotator",J:[{G:"div",M:"ytp-spinner-left",J:[{G:"div",M:"ytp-spinner-circle"}]},{G:"div",M:"ytp-spinner-right",J:[{G:"div",M:"ytp-spinner-circle"}]}]}]}};
kX=function(a,b){var c=xF("requestAnimationFrame",window);return g.iE(function(){c?c.call(window,a):a()},b||0)};
lX=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
mX=function(a){g.K.call(this);this.g=a;this.l=window.NaN;this.B={};a=a.l;this.C=a.fadeInDurationMilliseconds;this.D=a.fadeInStartMilliseconds;this.o=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.nD()};
hra=function(a,b){a.B[b]&&(g.aV(a.g.g,[a.B[b]],void 0),delete a.B[b])};
ira=function(a,b,c,d){0>=c||((0,window.isNaN)(a.l)||g.kE(a.l),c=(0,g.F)()+c,a.l=0==d?kX((0,g.z)(a.uE,a,b,c,100),0):kX((0,g.z)(a.tE,a,b,c,100),0))};
nX=function(a,b,c){var d=WV(a.g);a=VV(a.g);d=YO(d,a);b.setVolume(c*d)};
oX=function(a){mX.call(this,a)};
pX=function(a,b,c){g.K.call(this);this.g=a;this.C=b;this.A=c;this.l=-1;this.B=window.NaN;this.A&&0<this.g.l.g&&this.g.subscribe("endseeking",this.o,this)};
jra=function(a,b){qX(a);0<b&&(a.B=g.iE((0,g.z)(a.o,a),1E3*b))};
qX=function(a){g.kE(a.B);a.B=window.NaN};
sX=function(a,b){if(!a.A||!UW(b)&&!TW(b))return!1;var c=a.g.l.g;if(0>=c||0>=a.l)return!1;var d=(0,g.F)()/1E3,e=rX(a,b)-a.g.g.getCurrentTime();0<e&&(d+=e);return d-a.l<=c};
rX=function(a,b){return TW(b)?a.g.g.getVideoData().lengthSeconds:QV(b.Qb)};
tX=function(a,b){g.K.call(this);this.I=this.g=null;this.L=[];this.N=window.NaN;this.yb=b;this.F=[];this.o={};this.C={};this.l=a;var c=a.l,d=!c.isLiveStream&&(0,g.Ej)(this.yb,function(a){return UW(a)||TW(a)});
this.B=new pX(this.l,this,d);this.A=c.applyFadeOnMidrolls?new mX(a):new oX(a);this.X=(0,g.Ej)(this.yb,function(a){return SW(a)})};
lra=function(a){a.F.length||(a.F=(0,g.Ld)(a.yb,function(a){return"unloaded"==a.A}),0==a.F.length?aX(a.l):(a.X||aX(a.l),kra(a)))};
kra=function(a){if(a.F.length){var b=a.F.shift();b.subscribe("adBreakComplete",a.Lj,a);b.subscribe("adCompanionInitialized",a.Ht,a);eX(b)}};
mra=function(a,b){function c(a){return a&&5!=a.Qb.g}
var d=(0,g.Pa)(a.yb,b),e=g.ab(a.yb,0,d);d=g.ab(a.yb,d+1);return{previous:g.Ma(e,c),next:g.Ma(d,c)}};
nra=function(a,b,c){var d=$W(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=QV(b.Qb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.A.eD(b,d);c=a.A.dD(b,c);c=new g.LQ(d,c,e);a.C[b.getId()]=c;uX(a.l,[c]);a.A.cw(b)}};
ora=function(a,b){var c=b.getId();a.C[c]&&(hra(a.A,c),g.aV(a.l.g,[a.C[c]],void 0),delete a.C[c])};
pra=function(a,b){if(g.t(b)){var c=a.dj(b);if(c)if(a.g==c&&!c.l&&c.isVisible)c.show();else{if(a.g){if(5==c.Qb.g){a.g.l?a.L.push(b):c.show();return}a.Oh(a.g)}if(sX(a.B,c))a.g=null,c=a.C[c.getId()],c.visible||(c.visible=!0,uX(a.l,[c],1));else{5!=c.Qb.g&&(a.g=c);c.subscribe("adBreakComplete",a.Bl,a);c.subscribe("adCompanionInitialized",a.Ht,a);if(c.l){1!=c.Qb.g&&XN("video_to_ad",["apbs"]);var d=a.l;d.K=!0;d.A||vX(d);d=a.B.l;d={tfla:0<d?Math.floor((0,g.F)()/1E3-d):0};a.l.Vi.g(wX,"show_instream_ads",d)}a.A.vE(c);
c.show()}}}};
xX=function(a,b,c){tX.call(this,a,b);this.H=[];this.K=[];this.D=[];this.Y=c;this.W=window.NaN;this.R=a.l.g;var d=!VV(a).experiments.g("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.g.getCurrentTime();d=d?null:Oa(b,function(b){return a.g&&e>=$W(b)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(Uqa(f)&&f!=d){var k=new YW(f.o,f.Ba,f.Qb,f.C,!0);b[c]=k;this.H.push(f)}}this.X||this.Oj()};
yX=function(a){g.kE(a.W);a.W=window.NaN};
zX=function(a,b){tX.call(this,a,b);this.W=a;this.Y=!0;this.H=[];this.da=1;this.K=0};
qra=function(a){if(null==a.g&&0<a.H.length){var b=a.H[0];b.isVisible?(a.Y=a.D.isPeggedToLive(),a.ca=Math.ceil((0,g.F)()/1E3),b.subscribe("adBreakComplete",a.R,a),a.g=b,b.show()):a.R()}else null!=a.g&&a.K++};
rra=function(a,b){this.H=a;this.C=b;this.F=(0,g.F)();this.B=0;this.g=a.l;this.A={};this.D=new vqa(a);var c=[];this.g.Z&&this.g.o&&c.push("4_2");this.g.Y&&(this.g.o&&c.push("1_2"),this.g.C&&c.push("1_2_1"),this.g.ca&&c.push("1_1"),this.g.D&&c.push("1_3"));this.g.N&&c.push("2_2_1");this.g.R&&c.push("2_2");this.g.K&&c.push("2_1");this.g.Ca&&c.push("2_3");this.g.da&&c.push("14_14");this.l=c.join(",");this.o="";this.A.allowed=this.l;(c=this.g.excludedAds)&&(this.A.ex_ads=c)};
AX=function(a,b,c){g.K.call(this);this.l=a;this.A=b;this.jd=c;this.B=this.C=-1;this.g=sra(this.A.Be());a=this.A.Be();a.length&&(a=a[a.length-1],-1==a&&uX(this.l,[this.g[a]]));0<this.l.l.g&&this.l.subscribe("endseeking",this.o,this)};
tra=function(a,b){BX(a);0<b&&(a.B=g.iE((0,g.z)(a.o,a),1E3*b))};
BX=function(a){-1!=a.B&&(g.kE(a.B),a.B=-1)};
sra=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.LQ(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.LQ(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
CX=function(){g.K.call(this)};
ura=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.B)(a.split(":"),function(a){b=60*b+Math.abs((0,window.parseFloat)(a))});
return 1E3*b};
DX=function(a){g.K.call(this);this.g=a;this.l=null;this.o={};this.B={};a=a.l;this.C=a.fadeInDurationMilliseconds;this.H=a.fadeInStartMilliseconds;this.I=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.K=1E3*this.g.g.getVideoData().lengthSeconds;this.D=this.A+this.I;this.F=new g.YF(this);g.L(this,this.F);this.F.O(this.g.g,"applicationplayerstatechange",this.FE)};
EX=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.K};
vra=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Ej)(a.split(","),function(a){a=yb(a);return"linear"==a})};
wra=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=(0,window.parseFloat)(g.wb(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.wb(d%60,2,b);c=b=e||c?e+":"+g.wb(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c};
yra=function(a,b){var c=Math.max(Math.abs(a.A),Math.abs(a.D));(0,g.B)(b,(0,g.z)(function(a){var d=(0,g.Ej)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=xra(this,a);
!d&&f&&(this.o[f]=a)},a));
return 0<g.Pb(a.o)};
xra=function(a,b){var c=1E3*Math.round((b+a.D)/1E3),d=b+a.A,e=b+a.H;return EX(a,b)&&EX(a,c)&&EX(a,d)&&EX(a,e)?c:null};
zra=function(a,b,c,d){0>=c||(d=0==d?a.EE:a.DE,c=(0,g.F)()+c,a.l=kX((0,g.z)(d,a,b,c,100),0))};
FX=function(a,b,c){var d=WV(a.g);a=VV(a.g);d=YO(d,a);b.setVolume(c*d)};
GX=function(a){g.K.call(this);this.jd=this.o=this.A=this.D=this.l=null;this.K=this.H=!1;this.g=a;this.F=this.Za=null;this.L={};this.N=new g.an(this);this.B=new g.an(this);this.I=new g.YF(this);g.L(this,this.I);this.C=null};
Ara=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.B)(a.getElementsByTagName("VASTAdTagURI"),function(a){if("end"==b){var d="post";var f=-1;var k="postroll"}else d="mid",f=ura(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};
Bra=function(a,b){var c=g.js(b);if(!c)return null;var d=g.Od(c);if(!d)return c;var e=g.Ma(g.Md(d),function(a){return"#1"==a.getAttribute("timeOffset")});
if(e){var f=g.Ma(g.Md(e),function(a){return"vmap:Extensions"==a.tagName}),k=f?g.Md(f):[];
k=g.Ma(k,function(a){return"YTBreakTime"==a.getAttribute("type")});
f=(f=f.removeChild(k))?g.Md(f):[];var l=e,m=1;(0,g.B)(f,function(a){a=a.getAttribute("timeOffset");a=Ara(e,a,m);m++;d.insertBefore(a,l.nextSibling);l=a});
d.removeChild(e)}a.C.mC(d)||(g.cf(a.C),a.C=new CX);return c};
Cra=function(a){var b=Wpa(a.g.l,VV(a.g),WV(a.g));b.NH=!0;b.ow=!1;b.iC=10;b.Wt=a.C.Px();return b};
Dra=function(a,b){var c=a.jd?a.jd.g:0;c={tfla:0<c?Math.floor((0,g.F)()/1E3-c):0};a.g.Vi.g(wX,b,c)};
Fra=function(a,b){if(b){fqa();var c=iqa(a.g),d=aD(a.l);if(d){var e=d.Ye();d=g.Qa(OV,e)?new PV(e,d.yc):new PV(e);e=oqa(br(b));d=new YV(d,e.g,a.g,14==e.l?16:4);c.then(d.B,g.y,d)}}else a.g.l.D&&(a.A=new HW(a.g),Era(a,a.A),a.A.show())};
IX=function(a,b){b&&"adLoadError"==b.Sb()&&(VV(a.g).experiments.g("enable_no_ads_ping_for_mpu_disable")&&!a.g.l.D&&a.CE(aD(a.l),0,2,{}),HX(a))};
JX=function(a){a.A&&(a.A.dispose(),a.A=null)};
KX=function(a){var b=$s(a);a=0<b.length?b.pop():Ms(a);a=Gra[a.toUpperCase()];return null!=a?a:0};
HX=function(a){a.H||(aX(a.g),a.H=!0)};
Era=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.z)(a.CE,a,aD(a.l),b.adType))};
LX=function(a){g.jV.call(this,a);this.de="";this.I=new g.YF(this);g.L(this,this.I);this.created=!1};
uX=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.de;g.ZU(a.g,b,c)};
aX=function(a){g.cV(a.g,a.de)};
Hra=function(a,b,c){var d={},e;for(e in b)d[a.de+"_"+e]=b[e];b={};for(var f in c)b[a.de+"_"+f]=c[f];a=g.FU(a.g);g.Fa(a.ca,d||null);g.Fa(a.X,b||null)};
MX=function(){g.K.call(this);this.l=new g.U({G:"div",M:"ytp-out-of-player-ad-info",J:[{G:"div",M:"ytp-out-of-player-hover-container"},{G:"div",M:"ytp-out-of-player-ad-info-button-container",J:[{G:"button",ba:["ytp-out-of-player-ad-info-button"],J:[{G:"span",M:"ad-info-icon"}]}]}]});g.L(this,this.l);this.g=this.l.g["ytp-out-of-player-hover-container"];this.B=this.l.g["ytp-out-of-player-ad-info-button-container"];this.C=this.l.g["ytp-out-of-player-ad-info-button"];this.o=new qV(this.B);g.L(this,this.o);
this.A=new g.YF(this);g.L(this,this.A);this.xr();this.l.element.appendChild(this.o.g.la());this.A.O(this.C,"mouseenter",this.KL);this.A.O(this.C,"mouseleave",this.xr);this.A.O(this.B,"click",this.JL)};
NX=function(a){g.U.call(this,{G:"div",M:"ytp-ad-notification-container",J:["{{content}}"]});this.o=a;this.A=null;this.D=-1;this.B=new g.CV(this,250,!1,150);g.L(this,this.B);this.O(this.o,"adnotify",this.Cl);this.O(this.o,"discardadnotify",this.El)};
PX=function(a,b){LX.call(this,b);this.de="ad";this.app=a;this.l=this.o=this.B=null;this.K=this.R=!1;this.A=this.Za=null;O.l=!0;O.I=!1;O.Y=!1;O.W=!0;var c=O,d=!g.PE();c.H=d;O.D=0;c=a.g.experiments.l("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(O.L=c);OX(this)&&(O.o=!0);this.D=null;this.Y={};this.W={at:"0"};c=g.X(this.g).experiments;if(c.g("enable_midroll_notify")||c.g("enable_postroll_notify"))c=new NX(this.g),g.L(this,c),g.dV(this.g,c.element,4);this.C=new iW(this.g);g.dV(this.g,this.C.element,
4);this.H=this.X=null;this.L=-1;this.Vi=new RV(this);this.F=new g.YF(this);g.L(this,this.F);this.N=!1};
WV=function(a){return QX(a.app)};
VV=function(a){return a.app.g};
cX=function(a,b,c){if(a.B){a=a.B;c=c||{};var d=((0,g.F)()-a.F)/1E3;c.art=d;VV(a.H);c.ad_flags=a.g.adFlags;(d=a.g.contentOwnerId)&&(c.cid=d);c.mt=a.C.getCurrentTime();(d=g.NG())&&(c.lact=d);(d=a.C.getDuration())&&(c.len=d);a.g.Xa&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.o=c.at;a:{b=a.D;b:{if(7==c.ad_event&&(a=c.ad_error,21==a||30==a||54==a||32==a&&(1009==c.error_code||!c.ad_id))){a=!1;break b}a=0!=(c&&c.ad_event?oW(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);VV(b.g).experiments.g("fix_api_stats_ads_companion_backfill_break_type")&&(a=ac(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.g.l.Pa;e.ns=1;e.sdkv="h.3.0";e.ver="2.0";for(var k in c){f=e;a=k;d=c[k];var l=c;switch(a){case "trsp":f.slot_pos=d;break;case "break_type":g.Qa(OV,Db(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=
wqa(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=oW(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=tW(b.g.g.app,2);k=WV(b.g);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;k.ua&&VV(b.g).experiments.g("api_stats_ads_ping_add_live_mode")&&(e.live="1");c.at&&c.at.match(/\d+_2.*/g)?(a=b.g.o,e.mt=null!=a&&null!=a.g?1E3*QV(a.g.Qb):0):e.mt=Math.round(1E3*f.getCurrentTime());VV(b.g);e.ei=k.eventId;e.lact=g.NG();
e.vol=Math.round(b.g.app.H.getVolume());e.vis=b.g.g.oi();a=XV(b.g);e.p_w=a.width;e.p_h=a.height;e.rt=(0,g.F)();if(f=(f=f.l?f.l.la():null)&&g.nd(f)===window.document?g.Eh(f):null)e.pv_h=f.getHeight(),e.pv_w=f.Ab();2==(c&&c.ad_event?oW(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);k=Ym(e);c=VV(b.g).baseYtUrl+"api/stats/ads";c=new g.Lm(c);Qm(c,k);k=VV(b.g);if(b=b.g.getVideoData())if(b=b.oauthToken||k.R){g.GE(c.toString(),{headers:{Authorization:"Bearer "+b}});break a}g.YE(c.toString())}}}};
RX=function(a,b,c){c=c||{};c.ad_error=b;cX(a,7,c)};
SX=function(a,b,c){a.app.H.ra(b,c)};
Ira=function(a){if(!a.R||a.app.g.experiments.g("enable_html5_midroll_tsla_update")){var b=VV(a).baseYtUrl;g.YE(b+"mac_204?action_fcts=1");a.R=!a.app.g.experiments.g("enable_html5_midroll_tsla_update")}};
TX=function(a){return a.o instanceof zX?a.o:null};
UX=function(a){return g.LU(a.app).l};
Kra=function(a){var b=g.Qd(jW(a.C),g.be()),c=a.g;2==g.JU(c.app)&&g.Jra(c.app,2);c=g.X(a.g);"3"!=c.A||JM(c)||(c=g.NU(a.g),JM(c.app.g),c.F=!1,vW(c));b&&a.g.getRootNode().focus()};
XV=function(a){return a.l.B?(a=a.app.F.Ia(),new g.eh(0,0,a.width,a.height)):g.Mh(a.getRootNode())};
Lra=function(a,b){a.oe("bd");var c=a.l;var d=c.midrollPrefetchSize;c=c.isLiveStream?new zX(a,b):0<d?new xX(a,b,d):new tX(a,b);a.o=c;lra(a.o)};
WX=function(a){var b=a.app;g.iE(function(){VX(b)},0)};
vX=function(a){var b=a.app;g.iE(function(){XX(b)},0)};
Mra=function(a,b){var c=a.app;g.iE(function(){YX(c,b)},0)};
ZX=function(a){a.K=!1;var b=g.LU(a.app,2);b&&a.app.g.B.remove(b.getVideoData().videoId)};
Aqa=function(a,b){switch(b){case 1:a.L=1;SX(a,"onAdStart");break;case 0:a.L=0,SX(a,"onAdEnd")}};
xW=function(a,b,c){c&&SX(a,"onAdInfoChange",c);a=a.app;1==b&&(a.I.g("vr"),a.ia||(a.ia=LN(a.pB,a)),ipa(a.D),KQ(a.I,a.D.getVideoData(),Nra(a)));c=a.g;(g.cN(c)&&c.ub||g.XM(c))&&a.l.ra("onAdStateChange",b)};
$X=function(a){return!!(a.l.F&&a.o&&1<a.o.yb.length)};
OX=function(a){a=a.app.g;return g.OM(a)&&!g.XM(a)&&"desktop-polymer"==a.playerStyle};
dW=function(a,b){b.contentVideoId||(b.contentVideoId=WV(a).videoId);SX(a,"updatekevlarcompanion",b)};
Pra=function(a,b){a.app.g.experiments.g("desktop_companion_wta_support")&&(g.Aa(g.x("yt.www.watch.ads.addInstreamCompanionWtaUi"))?Ora(b):g.oG("watchAdsInit",function(){Ora(b)}))};
Ora=function(a){var b=g.x("yt.www.watch.ads.addInstreamCompanionWtaUi");if(g.Aa(b)){var c=new MX;a=rqa(Rs(a),Ss(a));c.bind(a);b(c.la().element)}else g.dE(Error("Watch page is not ready after WATCH_ADS_INIT event"))};
aY=function(a,b,c){g.K.call(this);this.ia=b;this.fa=c;this.N=this.L=this.F=this.I=this.D=this.A=this.R=this.Y=this.W=this.o=this.H=this.l=null;this.X={};this.ca={};this.ea=null;this.g=a;this.Z=this.C=this.K=this.B=null;this.da=g.X(a).experiments.g("web_player_defer_modules")};
g.Qra=function(a){var b=g.X(a.g);if(g.cN(b)||b.jc||!b.Kc&&!b.Z)return!1;var c=a.g.Qa();if(2==c)return!1;if(3==c)return b.experiments.g("desktop_enable_autoplay");a=a.g.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||b.experiments.g("allow_poltergust_autoplay");return!(a.ua&&(!b.experiments.g("allow_live_autoplay")||!c))};
Rra=function(a){a.da&&(a.Bq(),a.zq(),a.Aq())};
cY=function(a,b,c,d){try{if(d){var e=g.bY[b];if(e)return new e(a.g);"creatorendscreen"==b?Sra(a,"annotations_module",c):Sra(a,b,c)}else g.cV(a.g,b)}catch(f){g.cV(a.g,b),g.dE(f)}return null};
dY=function(a,b){a.l&&(b||a.l.Lc())&&(g.cf(a.l),a.l=null);a.H&&(b||a.H.Lc())&&(g.cf(a.H),a.H=null);a.o&&(b||a.o.Lc()?(g.cf(a.o),a.o=null):a.o.loaded&&a.o.unload());a.W&&(b||a.W.Lc())&&(g.cf(a.W),a.W=null);a.Y&&(b||a.Y.Lc())&&(g.cf(a.Y),a.Y=null);a.R&&(b||a.R.Lc())&&(g.cf(a.R),a.R=null);a.A&&(b||a.A.Lc())&&(g.cf(a.A),a.A=null);a.D&&(b||a.D.Lc())&&(g.cf(a.D),a.D=null);a.I&&(b||a.I.Lc())&&(g.cf(a.I),a.I=null);a.F&&(b||a.F.Lc())&&(g.cf(a.F),a.F=null);a.K&&(b||a.K.Lc())&&(g.cf(a.K),a.K=null);a.C&&(b||
a.C.Lc())&&(g.cf(a.C),a.C=null);a.B&&(b||a.B.Lc())&&(g.cf(a.B),a.B=null);a.L&&(b||a.L.Lc())&&(g.cf(a.L),a.L=null);a.N&&(b||a.N.Lc())&&(g.cf(a.N),a.N=null)};
g.KU=function(a){return g.X(a.g).Pa?a.K:null};
Sra=function(a,b,c){if(a.ia){for(var d=a.ia+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.Ed("SCRIPT"),f=!0);var n=function(){a.ha()||c.call(a)},q=function(){a.ha()||g.cV(a.g,b)};
k.onload=g.Ea(function(a){Of(n);a&&a()},k.onload);
k.onerror=g.Ea(function(a){Of(q);a&&a()},k.onerror);
k.onreadystatechange=g.Ea(function(a){switch(k.readyState){case "loaded":case "complete":Of(n,this)}a&&a()},k.onreadystatechange);
f&&((e=g.X(a.g).Eh)&&k.setAttribute("nonce",e),g.ad(k,g.de(d)),d=window.document.getElementsByTagName("HEAD")[0]||window.document.body,d.insertBefore(k,d.firstChild),g.bf(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.bY[b]=null;"annotations_module"==b&&(g.bY.creatorendscreen=null)}))}};
eY=function(a,b,c,d){g.aG.call(this);this.o=a;this.N=(0,g.z)(b,null);this.l=0;this.D=!1;this.B=new g.gd(window.NaN,window.NaN);this.g=new g.YF(this);g.L(this,this.g);b=d?4E3:3E3;this.H=new g.mu(g.Ea(this.bc,1,!1),b,this);g.L(this,this.H);this.I=new g.mu(g.Ea(this.bc,2,!1),b,this);g.L(this,this.I);this.L=new g.mu(g.Ea(this.bc,512,!1),0,this);g.L(this,this.L);this.W=c&&0<c.Hh.length?5E3:3E3;d||(this.A=this.g.O(a,"mouseover",this.it),this.g.O(a,"mousemove",this.yN),this.g.O(a,"mouseleave",this.zO));
g.uh?this.g.O(a,"keypress",this.sK):this.g.O(a,"focusin",this.aI);this.C=this.g.O(a,"mousedown",this.tA);this.F=this.g.O(a,"touchstart",this.vA,void 0,!0);this.R=null;this.bc(640,!0)};
Tra=function(a){a.bc(4,!1);a.K&&(a.g.Aa(a.K),a.K=null,a.A=a.g.O(a.o,"mouseover",a.it));a.A&&(a.g.Aa(a.A),a.A=a.g.O(a.o,"mouseover",a.it))};
g.fY=function(a){g.U.call(this,{G:"div",M:"ytp-bezel",P:{role:"status","aria-label":"{{label}}"},J:[{G:"div",M:"ytp-bezel-icon",J:["{{icon}}"]}]});this.A=new g.mu(this.show,10,this);g.L(this,this.A);this.o=new g.mu(this.hide,500,this);g.L(this,this.o);this.B=a;this.hide()};
hY=function(a,b){if(b)g.W(g.MU(a.B),64)||gY(a,Lpa(),g.T("YTP_PLAY"));else{var c=a.B.getVideoData();c.ua&&!c.ig?gY(a,Ppa(),g.T("YTP_STOP")):gY(a,Jpa(),g.T("YTP_PAUSE"))}};
iY=function(a,b,c){0>=b?(c=BV(),b=g.T("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?Rpa():Qpa(),b=Math.floor(b)+"% "+g.T("YTP_SCREENREADER_VOLUME_SETTING"));gY(a,c,b)};
Ura=function(a,b,c){c=c?g.vV?{G:"div",ba:["ytp-icon","ytp-icon-fast-rewind"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.vV?{G:"div",ba:["ytp-icon","ytp-icon-fast-forward"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]};b=g.T("YTP_PLAYBACK_SPEED_CHANGED",
{RATE:String(b)});gY(a,c,b)};
Vra=function(a){gY(a,Mpa(),g.T("YTP_PREVIOUS"))};
gY=function(a,b,c){a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.pu(a.o);a.A.start()};
jY=function(a){var b=g.X(a),c=["ytp-large-play-button","ytp-button"];if(b.isDni&&b.dniColor)var d=b.experiments.g("enable_dni_lozenge_play_button")&&!b.H?[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-dni-large-play-button-exp"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},J:[{G:"path",M:"ytp-dni-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#212121","fill-opacity":"0.8"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:[{G:"div",M:"ytp-large-play-button-circle",P:{style:"background-color: "+b.dniColor}},g.vV?{G:"div",ba:["ytp-icon","ytp-icon-dni-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},J:[{G:"path",P:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}];else b.H&&!b.jc?d=[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-large-play-button-hover"]}:{G:"svg",P:{height:"100%",
version:"1.1",viewBox:"0 0 68 48",width:"100%"},J:[{G:"path",M:"ytp-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.l&&c.push("ytp-touch-device"),
d=[b.jc?g.vV?{G:"div",ba:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},J:[{G:"path",M:"ytp-large-play-button-bg",P:{"clip-rule":"evenodd",d:"M59.6,1.35c0.26,.5,.4,1.13,.4,1.9v53.5c0,.76-0.13,1.4-0.4,1.9c-0.5,.9-1.45,1.35-2.85,1.35H3.25c-1.4,0-2.33-0.43-2.8-1.3C0.15,58.16,0,57.51,0,56.75V3.25c0-0.83,.16-1.5,.5-2C1,.41,1.91,0,3.25,0h53.5C58.15,0,59.1,.45,59.6,1.35z M21,41.65l22.7-11.8L21,18V41.65z",fill:"#1f1f1f","fill-rule":"evenodd"}},
{G:"path",P:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.vV?{G:"div",ba:["ytp-icon","ytp-icon-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},J:[{G:"path",M:"ytp-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#212121","fill-opacity":"0.8"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);g.U.call(this,{G:"div",M:"ytp-cued-thumbnail-overlay",J:[{G:"div",M:"ytp-cued-thumbnail-overlay-image"},{G:"button",ba:c,P:{"aria-label":g.T("YTP_PLAY")},J:d},{G:"div",M:"ytp-cued-thumbnail-overlay-duration",J:["{{duration}}"]}]});b.experiments.g("enable_dni_lozenge_play_button")&&b.isDni&&b.dniColor&&!b.H&&this.g["ytp-dni-large-play-button-bg"].setAttribute("fill",b.dniColor);this.C=new g.YF(this);g.L(this,
this.C);this.o=a;this.F=this.g["ytp-cued-thumbnail-overlay-image"];this.D=this.g["ytp-large-play-button"];this.B=new g.CV(this,250);g.L(this,this.B);this.A=new g.mu(this.yA,0,this);g.L(this,this.A);this.yA();this.O(a,"presentingplayerstatechange",this.KN);this.O(a,"ypcStateChanged",this.uT);IM(g.X(a))&&this.O(a,"videoplayerreset",this.JN)};
g.kY=function(a){return RQ(a)?(a.fetch=0,new g.QQ(a)):new g.uO(a)};
lY=function(a){g.K.call(this);this.B=a;this.A=new eD(0,0,.4,0,.2,1,1,1);this.l=new g.ju(this.o,window,this);g.L(this,this.l)};
mY=function(a){g.U.call(this,{G:"div",M:"ytp-related-on-error-overlay"});this.N=this.A=0;this.B=a;this.X=new g.YF(this);g.L(this,this.X);a=g.X(a);this.D=[];this.o=[];this.F=0;this.ca=a.g&&!a.isDni;this.L=new g.U({G:"h2",M:"ytp-related-title",J:["{{title}}"]});g.L(this,this.L);this.L.pa(this.element);this.H=new g.U({G:"div",M:"ytp-suggestions"});g.L(this,this.H);this.H.pa(this.element);this.K=new g.U({G:"button",ba:["ytp-button","ytp-previous"],P:{"aria-label":g.T("YTP_PREVIOUS")},J:[g.wV()]});g.L(this,
this.K);this.K.pa(this.element);this.K.U("click",this.eO,this);this.Z=new lY((0,g.z)(this.DA,this));g.L(this,this.Z);this.W=this.C=0;this.R=!0;for(a=0;16>a;a++){var b=new g.U({G:"a",M:"ytp-suggestion-link",P:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},J:[{G:"div",M:"ytp-suggestion-image",J:[{G:"div",M:"ytp-suggestion-duration",J:["{{duration}}"]}]},{G:"div",M:"ytp-suggestion-title",P:{title:"{{hover_title}}"},J:["{{title}}"]},{G:"div",M:"ytp-suggestion-author",J:["{{views_or_author}}"]}]});
g.L(this,b);b.pa(this.H.element);var c=b.g["ytp-suggestion-link"];g.sh(c,"transitionDelay",a/20+"s");this.X.O(c,"click",g.Ea(this.fO,a));this.D.push(b)}this.I=new g.U({G:"button",ba:["ytp-button","ytp-next"],P:{"aria-label":g.T("YTP_NEXT")},J:[g.xV()]});g.L(this,this.I);this.I.pa(this.element);this.I.U("click",this.dO,this);Wra(this,g.NU(this.B).Ia());Xra(this);this.show()};
Wra=function(a,b,c){var d=16/9,e=650<=b.width,f=480>b.width||290>b.height,k=Math.min(a.o.length,a.D.length);if(150>=Math.min(b.width,b.height)||0==k)a.hide();else{var l;if(e){var m=l=28;a.A=16}else m=l=8,a.A=8;if(f){var n=4;e=14;var q=15;f=24}else n=8,q=e=16,f=36;b=b.width-(48+l+m);l=Math.ceil(b/150);l=Math.min(3,l);l=b/l-a.A;m=Math.floor(l/d);m+100>c&&50<l&&(m=Math.max(c,50/d),l=Math.ceil(b/(d*(m-100)+a.A)),l=b/l-a.A,m=Math.floor(l/d));50>l?a.hide():a.show();for(c=0;c<k;c++){d=a.D[c];var r=d.g["ytp-suggestion-image"];
r.style.width=l+"px";r.style.height=m+"px";d.g["ytp-suggestion-title"].style.width=l+"px";d.g["ytp-suggestion-author"].style.width=l+"px";d=d.g["ytp-suggestion-duration"];d.style.display=d&&100>l?"none":""}k=e+n+q+4;a.N=k+16+(m-f)/2;a.H.element.style.height=m+k+"px";a.W=l;a.F=b;a.C=0;a.DA(0);nY(a)}};
Xra=function(a){var b=a.B.getVideoData();if(b.suggestions){var c=(0,g.Ld)(b.suggestions,function(a){return a&&!a.list});
a.o=(0,g.G)(c,function(a){return g.kY(a)})}else a.o.length=0;
Yra(a);c=g.X(a.B);c.experiments.g("enable_dni_channel_on_related")&&c.isDni?a.L.update({title:g.T("YTP_MORE_FROM_CHANNEL",{DNI_RELATED_CHANNEL:b.author})}):a.L.update({title:g.T("YTP_MORE_ON_YOUTUBE")})};
Zra=function(a,b){var c=g.cd(b,a.F-a.o.length*(a.W+a.A),0);a.Z.start(a.C,c,1E3);a.C=c;nY(a)};
nY=function(a){a.I.element.style.bottom=a.N+"px";a.K.element.style.bottom=a.N+"px";var b=a.C,c=a.F-a.o.length*(a.W+a.A);g.S(a.element,"ytp-scroll-min",0<=b);g.S(a.element,"ytp-scroll-max",b<=c)};
Yra=function(a){for(var b=g.X(a.B),c=0;c<a.o.length;c++){var d=a.o[c].Wb(),e=a.D[c],f=d.shortViewCount?d.shortViewCount:d.author,k=g.Ug(d.Nk(b),{feature:"player_embedded_uturn"});e.element.style.display="";e.update({views_or_author:f,duration:d.lengthSeconds?g.EV(d.lengthSeconds):"",link:k,hover_title:d.title,title:d.title,aria_label:d.pk||null});e=e.g["ytp-suggestion-image"];d=d.Xc(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c<a.D.length;c++)a.D[c].element.style.display="none";nY(a)};
oY=function(a,b){g.U.call(this,{G:"canvas",M:"ytp-tv-static"});this.A=this.element.getContext("2d");this.height=this.width=window.NaN;this.I=null;this.K=this.L=this.C=this.B=0;this.D=-75;this.o=new g.ju(this.H,void 0,this);g.L(this,this.o);this.F=new g.mu(this.o.Ok,75,this.o);g.L(this,this.F);$ra(this,a,b)};
asa=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};
$ra=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.Ed("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.I=d;a.L=asa(b);a.K=asa(c/10);a.A.scale(1.5,1.5);a.A.fillStyle="rgba(255, 255, 255, 0.02)"}};
pY=function(a){var b=g.X(a),c=b.experiments.g("enable_uturn_error_screen")&&b.g;b=b.protocol+"://"+UM(b);if(c){var d=new mY(a);b={G:"div",ba:["ytp-error","ytp-related-on-error"],P:{role:"alert"},J:[{G:"div",M:"ytp-error-content",J:[{G:"div",M:"ytp-error-icon-container",J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-error-exclamation"]}:{G:"svg",P:{fill:"#fff",height:"100%",viewBox:"0 0 48 48",width:"100%"},J:[{G:"path",P:{d:"M0 0h48v48H0V0z",fill:"none"}},{G:"path",P:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z",
"fill-opacity":"0.3"}}]}]},{G:"div",M:"ytp-error-content-wrap",J:[{G:"div",M:"ytp-error-content-wrap-reason",J:["{{content}}"]},{G:"div",M:"ytp-error-content-wrap-subreason",J:["{{subreason}}"]}]}]},{G:"div",M:"ytp-small-redirect",J:[{G:"a",M:"ytp-small-redirect-link",P:{href:b,target:"_blank"},J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-youtube-small-logo"]}:{G:"svg",P:{fill:"#fff",viewBox:"0 0 24 24"},J:[{G:"path",P:{d:"M0 0h24v24H0V0z",fill:"none"}},{G:"path",P:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}]}]},
d]}}else b={G:"div",ba:["ytp-error"],P:{role:"alert"},J:[{G:"div",M:"ytp-error-content",J:[{G:"div",M:"ytp-error-content-wrap",J:["{{content}}"]}]}]};g.U.call(this,b);this.C=c;this.o=a;(this.B=d)&&g.L(this,this.B);this.D=[];if(!this.C)try{this.A=new oY(1,1),g.L(this,this.A),this.A.pa(this.element,0)}catch(e){}bsa(this,g.NU(this.o).Ia())};
bsa=function(a,b){qY(a,function(a){$ra(a,b.width,b.height)});
a.C&&csa(a,b)};
csa=function(a,b){a.g["ytp-error-content"].style.paddingTop="0px";var c=a.g["ytp-error-content"],d=c.clientHeight;Wra(a.B,b,b.height-d);c.style.paddingTop=(b.height-a.B.element.clientHeight)/2-d/2+"px";c=a.g["ytp-small-redirect"];a.B.isHidden()?c.style.display="inline":c.style.display=""};
qY=function(a,b){if(a.A)try{b.call(a,a.A)}catch(c){a.A.dispose(),a.A=null}};
rY=function(a,b,c,d,e,f){e||(e=g.X(a.o).g);a=d?{CPN:a.o.getVideoData().clientPlaybackNonce}:null;b=g.T(b,a).split(/\$(BEGIN|END)_LINK/);a=[];f&&(f=g.T(f,null))&&a.push({G:"h2",J:[f]});a.push(b[0]);a.push({G:"br"});a.push({G:"a",P:{href:c,target:e?"_blank":null},J:[b[2]]});a.push(b[4]);return{G:"span",J:a}};
tY=function(a,b){g.YF.call(this);this.g=a;this.A=b;this.o=new window.Set;this.l=window.navigator.mediaSession;sY(this,"play",function(){hY(b,!0);a.pd()});
sY(this,"pause",function(){hY(b,!1);a.cd()});
sY(this,"seekbackward",function(){gY(b,Npa());a.ie(-5*a.Rc())});
sY(this,"seekforward",function(){gY(b,Gpa());a.ie(5*a.Rc())});
this.O(a,"videodatachange",this.C);this.O(a,"presentingplayerstatechange",this.B);this.C()};
sY=function(a,b,c){a.l.setActionHandler(b,c?(0,g.z)(c,a):null);a.o.add(b)};
uY=function(a){g.U.call(this,{G:"div",M:"ytp-paid-content-overlay",P:{"aria-live":"assertive","aria-atomic":"true"}});this.F=new g.U({G:"div",ba:["ytp-button","ytp-paid-content-overlay-text"]});g.L(this,this.F);this.F.pa(this.element);this.K=a;this.A=null;this.H=!1;this.C=new g.CV(this.F,250,!1,100);g.L(this,this.C);this.D=this.o=null;this.B={};this.I=0;this.O(a,"videodatachange",this.R);this.O(a,"presentingplayerstatechange",this.N)};
dsa=function(a,b){var c=JO(b),d=KO(b);a.o?b.videoId&&b.videoId!=a.A&&(g.pu(a.o),a.A=b.videoId,c=a.B[b.videoId]||0,a.H=!!d&&3E3>c):c&&d&&(a.o=new g.mu(a.L,d,a),g.L(a,a.o),g.Td(g.H("ytp-paid-content-overlay-text",a.element),c))};
esa=function(a,b){a.o&&g.W(b,8)&&a.H&&(a.H=!1,a.C.show(),a.I=(0,g.F)(),a.o.start())};
wY=function(a){g.U.call(this,{G:"div",M:"ytp-spinner",J:[{G:"div",J:["{{icon}}"]},{G:"div",M:"ytp-spinner-message",J:[g.T("YTP_PLAYBACK_STALLED_AT_START")]}]});this.C=this.g["ytp-spinner-message"];this.o=a;this.A=new g.mu(this.show,500,this);g.L(this,this.A);this.B=!0;fsa(this,!1);this.O(a,"presentingplayerstatechange",this.oO);this.O(a,"onFrescaStateChange",this.iQ);this.O(a,"playbackstalledatstart",this.zR);this.O(a,"videodatachange",this.tB);this.O(a,"videoplayerreset",this.tB);vY(this,g.MU(a))};
fsa=function(a,b){if(b!=a.B){var c;b?c={G:"div",ba:["ytp-spinner-container","ytp-fidget-spinner"],J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-fidget-spinner"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 64 64",width:"100%"},J:[{G:"path",M:"ytp-fidget-spinner",P:{d:"m32 2.2c-7.6 0-10.7 7.1-10.7 10.6 0 3.5 1 5.3 2.3 7 1.3 1.7 2.2 4.3-0.2 7.7-2.4 3.5-3.5 2.9-7.9 3.1-4.4 .1-10.5 3.9-10.5 11-0.1 7.1 6.4 10.4 10.4 10.5 4 .1 7.6-2.1 9.4-5.2 2.2-3.8 4-5.4 7.3-5.3 3.3 .1 5.1 1.5 7 4.9 1.8 3.4 5.5 5.6 9.6 5.6 4.2 0 10.5-2.8 10.4-10.8-0.1-8.1-6.6-10.3-10.3-10.5-3.7-0.2-6-0.1-8.1-3.3-2.1-3.2-1.2-5.9-0.1-7.5 1.1-1.7 2.3-3.2 2.3-7.1C42.8 8.7 39.6 2.2 32 2.2zm0.1 4.3c3.6 0 6.5 2.9 6.5 6.5 0 3.6-2.9 6.5-6.5 6.5-3.6 0-6.5-2.9-6.5-6.5 0-3.6 2.9-6.5 6.5-6.5zm0 18.8c3.6 0 6.5 2.9 6.5 6.5 0 3.6-2.9 6.5-6.5 6.5-3.6 0-6.5-2.9-6.5-6.5 0-3.6 2.9-6.5 6.5-6.5zm-16.3 9.4c3.6 0 6.5 2.9 6.5 6.5 0 3.6-2.9 6.5-6.5 6.5-3.6 0-6.5-2.9-6.5-6.5 0-3.6 2.9-6.5 6.5-6.5zm32.7 0c3.6 0 6.5 2.9 6.5 6.5 0 3.6-2.9 6.5-6.5 6.5-3.6 0-6.5-2.9-6.5-6.5 0-3.6 2.9-6.5 6.5-6.5z",
fill:"#fff"}}]}]}:c=jX();a.update({icon:c});a.B=b}};
vY=function(a,b){if(g.W(b,128))var c=0;else!(c=g.W(b,16))&&(c=g.W(b,1))&&(c=g.FU(a.o).F,c=!(c&&c.loaded));c?a.A.start():a.hide()};
xY=function(a,b,c,d){d=void 0===d?!1:d;g.LH.call(this,b);this.Z=a;this.ca=d;this.K=null;this.I=new g.YF(this);g.L(this,this.I);this.L=new g.CV(this,c,!0);g.L(this,this.L);this.C=null};
gsa=function(a){a.C&&(window.document.activeElement&&g.Qd(a.element,window.document.activeElement)&&(g.Yd(a.C),a.C.focus()),a.C.removeAttribute("aria-expanded"),a.C=null);g.$F(a.I);a.K=null};
yY=function(a){return a.l&&3!=a.L.g};
zY=function(a){var b=g.X(a).experiments.o("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({G:"div",ba:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));xY.call(this,a,{G:"button",ba:["ytp-unmute","ytp-popup","ytp-button"].concat(c),J:[{G:"div",M:"ytp-unmute-inner",J:[{G:"div",ba:["ytp-unmute-icon"],J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-volume-muted-dark"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]},
{G:"div",ba:["ytp-unmute-text"],J:[g.T("YTP_TAP_TO_UNMUTE_SHORT")]}].concat(d)}]},100);this.o=a;this.A=this.B=!1;this.O(a,"mutedautoplaychange",this.D,this);this.O(a,"presentingplayerstatechange",this.F);this.U("click",this.onClick,this);a=a.app.Y;g.KH(this,a);a&&hsa(this)};
isa=function(a){a.B||(a.B=!0,g.TU(a.o,"mutedAutoplayClick",{}))};
hsa=function(a){a.A||(a.A=!0,g.TU(a.o,"mutedAutoplayImpression",{}))};
AY=function(a){g.YF.call(this);var b=g.X(a),c=g.NU(a);this.g=a;this.Jb=!1;this.I=null;this.ib=!1;this.Xa=new g.mu(this.hP,0,this);g.L(this,this.Xa);var d=new jY(a);g.L(this,d);g.dV(a,d.element,4);if(!ME("tizen")){var e=new wY(a);g.L(this,e);e=e.element;g.dV(a,e,4)}this.C=new g.fY(a);g.L(this,this.C);g.dV(a,this.C.element,4);var f=a.getVideoData();this.o=new eY(c,(0,g.z)(this.BN,this),f,b.useTabletControls);g.L(this,this.o);this.o.subscribe("autohideupdate",this.Ft,this);var k=new uY(a);g.L(this,k);
g.dV(a,k.element,4);this.ca=new zY(a);g.L(this,this.ca);g.dV(this.g,this.ca.element,2);this.qb=this.g.app.Y;this.O(a,"mutedautoplaychange",this.CN);this.X=new g.mu(this.jt,200,this);g.L(this,this.X);this.oa=f.videoId;this.B=null;this.Pa=!1;this.Ta=null;this.ea=[];f=a.getRootNode();f.setAttribute("aria-label",g.T("YTP_PLAYER_NORMAL"));switch(b.color){case "white":g.R(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 tY(a,this.C),g.L(this,f));this.O(a,"appresize",this.xb);this.O(a,"presentingplayerstatechange",this.GR);this.O(a,"videodatachange",this.wA);this.O(a,"videoplayerreset",this.CR);this.O(a,"autonavvisibility",this.Gi,this);g.X(a).experiments.g("player_minimized_controls_killswitch")&&this.O(a,"minimized",this.gg,this);this.O(a,"onFrescaStateChange",this.gg,this);this.O(c,"click",this.hS,this);this.O(c,"dblclick",this.iS,this);b.ca&&(this.O(c,"gesturechange",
this.jS,this),this.O(c,"gestureend",this.kS,this));this.za=[c.D,d.element,this.C.element];e&&this.za.push(e)};
CY=function(a){return g.X(a.g).experiments.g("player_minimized_controls_killswitch")?g.BY(a.g.app):!1};
DY=function(a,b){if(!b)return!1;var c=a.g.app.B.la();if(c&&g.Qd(c,b))return c.controls;for(c=0;c<a.za.length;c++)if(g.Qd(a.za[c],b))return!1;return g.Dq(b,"ytp-player-content")||g.Dq(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0};
jsa=function(a,b){if(g.FV(b)&&a.g.app.Y){a.g.Xf();2==a.g.Qa()&&a.g.pd();var c=g.MU(a.g);!g.W(c,4)||g.W(c,8)||g.W(c,2)||a.jt();return!0}return!1};
ksa=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.QU(a.g):c>1+b&&g.QU(a.g)};
FY=function(a,b,c){var d={"aria-label":g.T("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.X(a).D)},e={G:"span",M:"ytp-cards-button-icon-default",J:[{G:"div",M:"ytp-cards-button-icon",J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-info-card"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]},
{G:"div",M:"ytp-cards-button-title",J:[g.T("YTP_CARDS_BUTTON_INFO")]}]};d={G:"button",ba:["ytp-button","ytp-cards-button"],P:d,J:[e,{G:"span",M:"ytp-cards-button-icon-shopping",J:[{G:"div",M:"ytp-cards-button-icon",J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-shopping-card"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",M:"ytp-svg-shadow",P:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{G:"path",M:"ytp-svg-fill",P:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z",
"fill-opacity":"1"}},{G:"path",M:"ytp-svg-shadow-fill",P:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{G:"div",
M:"ytp-cards-button-title",J:[g.T("YTP_CARDS_BUTTON_SHOPPING")]}]}]};g.U.call(this,d);this.o=a;this.C=b;this.D=c;this.A=null;this.B=new g.CV(this,250,!0,100);g.L(this,this.B);a=g.X(this.o);b=g.NU(this.o).Ia().width;b=a.g&&480<b;a.D&&g.S(this.D,"ytp-show-cards-title",b);this.hide();this.U("click",this.F);this.U("mouseover",this.H);EY(this,!0)};
EY=function(a,b){b?a.A=GY(a.C.Gb(),a.element):(a.A(),a.A=null)};
HY=function(a,b){g.U.call(this,{G:"div",M:"ytp-cards-teaser",J:[{G:"div",M:"ytp-cards-teaser-box"},{G:"div",M:"ytp-cards-teaser-text",J:[{G:"span",M:"ytp-cards-teaser-label",J:["{{text}}"]}]}]});this.A=a;this.D=new g.CV(this,250,!1,250);g.L(this,this.D);this.K=b;this.o=null;this.I=new g.mu(this.eR,300,this);g.L(this,this.I);this.H=new g.mu(this.cR,2E3,this);g.L(this,this.H);this.L=new g.vp(null);this.F=[];this.C=this.B=null;this.O(b.element,"mouseover",this.xA);this.O(b.element,"mouseout",this.qh);
this.O(a,"cardsteasershow",this.FS);this.O(a,"cardsteaserhide",this.yl);this.O(a,"cardstatechange",this.JD);this.O(a,"presentingplayerstatechange",this.JD);this.U("click",this.DU);this.U("mouseenter",this.DN)};
lsa=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.wp(a.L,b.teaserText));a.D.show();a.B=new g.mu(function(){g.R(this.A.getRootNode(),"ytp-cards-teaser-shown")},0,a);
a.B.start();EY(a.K,!1);a.o=new g.mu(a.yl,580+b.durationMs,a);a.o.start();a.F.push(a.U("mouseover",a.xA,a));a.F.push(a.U("mouseout",a.qh,a))};
IY=function(a,b,c,d,e){var f={G:"div",M:"ytp-panel"};if(c){var k="ytp-panel-title";var l={G:"div",M:"ytp-panel-header",J:[{G:"button",ba:["ytp-button",k],J:[c]}]};if(e){var m="ytp-panel-options";l.J.push({G:"button",ba:["ytp-button",m],J:[d]})}f.J=[l]}g.LH.call(this,f);this.W=b;b.pa(this.element);this.da=!1;c&&(this.O(this.g[k],"click",this.fa),this.da=!0,e&&this.O(this.g[m],"click",e));b.subscribe("size-change",this.ea,this);this.O(a,"fullscreentoggled",this.ea)};
g.JY=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.LH({G:"div",M:"ytp-panel-menu",P:f});IY.call(this,a,b,c,d,e);this.F=b;g.L(this,this.F);this.Ga=[]};
g.KY=function(a,b,c){if(void 0===c?0:c)a.Ga.push(b),a.F.element.appendChild(b.element);else{c=g.fb(a.Ga,b,msa);if(0<=c)return;c=~c;g.bb(a.Ga,c,0,b);Jd(a.F.element,b.element,c)}b.subscribe("size-change",a.Z,a);a.F.T("size-change")};
g.nsa=function(a,b){b.unsubscribe("size-change",a.Z,a);a.ha()||(g.Va(a.Ga,b),a.F.element.removeChild(b.element),a.F.T("size-change"))};
g.osa=function(a){for(var b=g.la(a.Ga),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.Z,a);a.Ga=[];g.Id(a.F.element);a.F.T("size-change")};
msa=function(a,b){return b.priority-a.priority};
g.LY=function(a,b){xY.call(this,a,{G:"div",ba:["ytp-popup",b||null]},100,!0);this.o=[];this.size=new g.kd(0,0);this.D=this.F=null;this.N=this.R=0;this.U("keydown",this.SN)};
psa=function(a){g.Kh(a.element,a.R||"100%",a.N||"100%");var b=MY(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.W.element.style.height="";var c=g.Lh(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.da&&(d=g.Lh(b.g["ytp-panel-header"]).height);b.W.element.style.height=c.height-d+"px";a.size=c};
g.OY=function(a,b){var c=a.o[a.o.length-1];a.o.push(b);NY(a,c,b)};
g.PY=function(a){var b=a.o.pop(),c=a.o[0];a.o=[c];NY(a,b,c,!0)};
NY=function(a,b,c,d){qsa(a);MY(a);g.Dq(c.element,"ytp-panel-animate-back")||g.Dq(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Ql,a),b.unsubscribe("back",a.Oe,a));c.subscribe("size-change",a.Ql,a);c.subscribe("back",a.Oe,a);if(a.l){g.R(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.pa(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;psa(a);g.Kh(a.element,e);a.F=new g.mu(g.Ea(a.zU,b,c,d),20,a);a.F.start()}else c.pa(a.element),
b&&g.JH(b)};
MY=function(a){return a.o[a.o.length-1]};
qsa=function(a){a.F&&g.ou(a.F);a.D&&g.ou(a.D)};
QY=function(a){var b=g.OH({"aria-haspopup":"true"});g.NH.call(this,b,a);this.U("keydown",this.o)};
RY=function(a,b){a.element.setAttribute("aria-haspopup",b)};
SY=function(a,b){var c=g.OH({role:"menuitemcheckbox","aria-checked":"false"});g.NH.call(this,c,b,a,{G:"div",M:"ytp-menuitem-toggle-checkbox"});this.A=!1;this.U("click",this.K)};
TY=function(a,b){a.A=b;a.element.setAttribute("aria-checked",a.A)};
UY=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.Ug("/sharing_services",a);g.YE(d)};
VY=function(a,b,c,d){g.JY.call(this,a);this.o=a;this.L=c;this.N=d;this.C=new QY(8);g.L(this,this.C);g.KY(this,this.C,!0);this.C.U("click",this.oQ,this);gV(a,this.C.element,this.C,28659);this.B=new QY(7);g.L(this,this.B);g.KY(this,this.B,!0);this.B.U("click",this.nQ,this);gV(a,this.B.element,this.B,28660);this.A=new QY(6);g.L(this,this.A);g.KY(this,this.A,!0);this.A.U("click",this.lQ,this);gV(a,this.A.element,this.A,28658);this.D=new SY(g.T("YTP_LOOP"),5);g.L(this,this.D);g.KY(this,this.D,!0);this.D.U("click",
this.JQ,this);gV(a,this.D.element,this.D,28661);this.R=new g.NH(g.OH({href:"{{href}}",target:"_blank"},void 0,!0),4,g.T("YTP_TROUBLESHOOT_ISSUE"));g.L(this,this.R);g.KY(this,this.R,!0);this.R.U("click",this.bS,this);this.K=new QY(3);g.L(this,this.K);g.KY(this,this.K,!0);this.K.U("click",this.kQ,this);b=new g.NH(g.OH(),2,g.T("YTP_SHOW_VIDEO_INFO"));g.L(this,b);g.KY(this,b,!0);b.U("click",this.wS,this);this.I=new g.LH({G:"div",ba:["ytp-copytext","ytp-no-contextmenu"],P:{draggable:"false",tabindex:"1"},
J:["{{text}}"]});g.L(this,this.I);this.I.U("click",this.MP,this);this.ca=new IY(a,this.I);g.L(this,this.ca);this.H=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.QI&&g.sc(43)&&(b=!0);g.UL&&!g.sc(41)&&(b=!1);b&&(this.H=new g.U({G:"textarea",M:"ytp-html5-clipboard"}),g.L(this,this.H),this.H.pa(this.element));this.O(a,"loopchange",this.IQ);this.O(a,"videodatachange",this.HN);rsa(this);ssa(this,this.o.getVideoData())};
WY=function(a,b){if(a.H){var c=a.H.element;c.value=b;c.select();try{var d=window.document.execCommand("copy")}catch(e){}}d?a.L.Ob():(a.I.Ib(b,"text"),g.OY(a.L,a.ca),lX(a.I.element),a.H&&(a.H=null,rsa(a)));return d};
ssa=function(a,b){var c=g.X(a.o),d=2!=a.o.Qa()||b.isListed;d=!c.C&&!!b.videoId&&d;"play"!=c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,plid:b.playbackId,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.Ha&&(c.fmt=kI(b.Ha)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.mf&&(c.partnerid=b.mf),c=g.Ug("//support.google.com/googleplay/",c));g.KH(a.A,d&&b.allowEmbed);g.KH(a.C,d);g.KH(a.B,d&&!b.ua);a.R.Ib(c,"href")};
rsa=function(a){var b=!!a.H;g.MH(a.K,g.T(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));RY(a.K,!b);g.MH(a.A,g.T(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));RY(a.A,!b);g.MH(a.C,g.T(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));RY(a.C,!b);g.MH(a.B,g.T(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));RY(a.B,!b)};
tsa=function(a,b){g.iV(a.o,a.A.element,b);g.iV(a.o,a.C.element,b);g.iV(a.o,a.B.element,b);g.iV(a.o,a.D.element,b)};
XY=function(a,b,c){g.LY.call(this,a);this.A=a;this.da=b;this.W=c;this.B=new g.YF(this);g.L(this,this.B);this.H=null;gV(a,this.element,this,28656);g.R(this.element,"ytp-contextmenu");g.X(a).isDni&&g.R(this.element,"ytp-dni");usa(this);this.hide()};
usa=function(a){g.$F(a.B);"gvn"!=g.X(a.A).playerStyle&&a.B.O(g.NU(a.A),"contextmenu",a.LP)};
vsa=function(a){a.A.isFullscreen()?g.dV(a.A,a.element,9):a.pa(window.document.body)};
YY=function(a,b,c,d,e,f){g.YF.call(this);this.g=a;this.D=c;this.B=d;this.l=e;this.C=f;this.A=new g.mu(g.Ea(this.AA,!1),1E3,this);g.L(this,this.A);this.o="";a=g.Ea(this.lu,!1);this.O(b,"mousedown",a);this.O(c.element,"mousedown",a);this.O(b,"keydown",this.iy);this.O(c.element,"keydown",this.iy);this.O(b,"keyup",this.jy);this.O(c.element,"keyup",this.jy)};
xsa=function(a,b,c){var d=!1,e=g.X(a.g);if(!e.Ld){switch(b){case 80:c&&!e.F&&(Vra(a.l),a.g.rl(),d=!0);break;case 78:c&&!e.F&&(gY(a.l,zV(),g.T("YTP_NEXT")),a.g.Gj(),d=!0);break;case 74:a.g.bd()&&(gY(a.l,g.vV?{G:"div",ba:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
a.g.ie(-10*a.g.Rc()),d=!0);break;case 76:a.g.bd()&&(gY(a.l,g.vV?{G:"div",ba:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
a.g.ie(10*a.g.Rc()),d=!0);break;case 77:a.g.isMuted()?(a.g.Xf(),iY(a.l,a.g.getVolume(),!1)):(a.g.mute(),iY(a.l,0,!0));d=!0;break;case 75:e.F||(d=!GP(g.MU(a.g)),hY(a.l,d),d?a.g.pd():a.g.cd(),d=!0);break;case 190:if(c){if(e.ea)for(b=a.g.Ej(),c=a.g.Rc(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.g.Vf(d,!0),Ura(a.l,d,!1),d=!0)}else a.g.bd()&&(wsa(a,1),d=!0);break;case 188:if(c){if(e.ea)for(b=a.g.Ej(),c=a.g.Rc(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.g.Vf(d,!0),Ura(a.l,d,!0),d=!0)}else a.g.bd()&&(wsa(a,
-1),d=!0);break;case 70:gra(a.g)&&(g.QU(a.g),d=!0)}d&&a.B.bc(2,!0)}return d};
$Y=function(a,b,c,d){var e=g.FU(a.g).l;if(!e||!e.loaded)return!1;e=a.g.ni();for(var f,k=0;k<g.ZY.length;k++){var l=g.ZY[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.ko(d);a.AA(!0);a.A.start();return!0};
wsa=function(a,b){a.g.bd();if(g.W(g.MU(a.g),4)){var c=a.g.getVideoData().Ha;c&&(c=c.video)&&a.g.ie(b/(c.fps||30))}};
aZ=function(a,b){g.U.call(this,{G:"div",M:"ytp-pause-overlay"});this.o=a;this.Z=b;this.B=new g.YF(this);g.L(this,this.B);this.R=new g.CV(this,250,!1,100);g.L(this,this.R);var c=g.X(a);this.D=[];this.A=[];this.F=0;this.ea=c.g&&!c.isDni;this.X=!1;this.N=new g.U({G:"h2",M:"ytp-related-title",J:["{{title}}"]});g.L(this,this.N);this.N.pa(this.element);this.H=new g.U({G:"div",M:"ytp-suggestions"});g.L(this,this.H);this.H.pa(this.element);this.L=new g.U({G:"button",ba:["ytp-button","ytp-previous"],P:{"aria-label":g.T("YTP_PREVIOUS")},
J:[g.wV()]});g.L(this,this.L);this.L.pa(this.element);this.L.U("click",this.UN,this);c=g.QI||g.gf?{style:"will-change: opacity"}:null;this.ca=new lY((0,g.z)(this.BA,this));g.L(this,this.ca);for(var d=this.da=this.W=this.C=0;16>d;d++){var e=new g.U({G:"a",M:"ytp-suggestion-link",P:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},J:[{G:"div",M:"ytp-suggestion-image"},{G:"div",M:"ytp-suggestion-overlay",P:c,J:[{G:"div",M:"ytp-suggestion-title",J:["{{title}}"]},{G:"div",M:"ytp-suggestion-author",
J:["{{author_and_views}}"]},{G:"div",M:"ytp-suggestion-duration",J:["{{duration}}"]}]}]});g.L(this,e);e.pa(this.H.element);var f=e.g["ytp-suggestion-link"];g.sh(f,"transitionDelay",d/20+"s");this.B.O(f,"click",g.Ea(this.VN,d));this.D.push(e)}this.K=new g.U({G:"button",ba:["ytp-button","ytp-next"],P:{"aria-label":g.T("YTP_NEXT")},J:[g.xV()]});g.L(this,this.K);this.K.pa(this.element);this.K.U("click",this.TN,this);c={"aria-label":g.T("YTP_CLOSE")};c=new g.U({G:"button",ba:["ytp-button","ytp-collapse"],
P:c,J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-small-close"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 16 16",width:"100%"},J:[{G:"path",P:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.L(this,c);c.pa(this.element);c.U("click",this.wP,this);this.I=new g.U({G:"button",ba:["ytp-button","ytp-expand"],J:[g.T("YTP_MORE_VIDEOS")]});g.L(this,this.I);this.I.pa(this.element);this.I.U("click",this.yP,this);this.B.O(this.o,"appresize",this.lt);this.B.O(this.o,"fullscreentoggled",
this.WN);this.B.O(this.o,"presentingplayerstatechange",this.XN);this.B.O(this.o,"videodatachange",this.YN);this.lt(g.NU(this.o).Ia())};
ysa=function(a,b){var c=g.cd(b,a.F-a.A.length*(a.W+8),0);a.ca.start(a.C,c,1E3);a.C=c;bZ(a)};
bZ=function(a){var b=a.Z.od();b=a.da/2+(b?32:16);a.K.element.style.bottom=b+"px";a.L.element.style.bottom=b+"px";b=a.C;var c=a.F-a.A.length*(a.W+8);g.S(a.element,"ytp-scroll-min",0<=b);g.S(a.element,"ytp-scroll-max",b<=c)};
zsa=function(a){for(var b=g.X(a.o),c=0;c<a.A.length;c++){var d=a.A[c].Wb(),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.EV(d.lengthSeconds):0,link:d.Nk(b),title:d.title,aria_label:d.pk||null});e=e.g["ytp-suggestion-image"];d=d.Xc(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c<a.D.length;c++)a.D[c].element.style.display="none";bZ(a)};
cZ=function(a,b,c){var d=b.Wb(c),e=g.X(a),f=d.Xc(e,"default.jpg");g.U.call(this,{G:"a",ba:["ytp-video-menu-item","ytp-button"],P:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},J:[{G:"div",M:"ytp-video-menu-item-index",J:[String(c+1)]},{G:"div",M:"ytp-video-menu-item-now-playing",J:["\u25b6"]},{G:"div",M:"ytp-video-menu-item-thumbnail",P:{style:f?"background-image: url("+f+");":null}},{G:"div",M:"ytp-video-menu-item-title",J:[d.title]},{G:"div",
M:"ytp-video-menu-item-author",J:[d.author]}]});this.o=a;this.Bb=c;this.U("click",this.A)};
dZ=function(a){xY.call(this,a,{G:"div",M:"ytp-playlist-menu",P:{role:"dialog",id:DH()},J:[{G:"div",M:"ytp-playlist-menu-header",J:[{G:"div",M:"ytp-playlist-menu-title",J:[{G:"a",M:"ytp-playlist-menu-title-name",P:{href:"{{playlisturl}}"},J:["{{title}}"]},{G:"button",ba:["ytp-playlist-menu-close","ytp-button"],P:{"aria-label":g.T("YTP_CLOSE")},J:[g.yV()]}]},{G:"div",M:"ytp-playlist-menu-subtitle",J:["{{subtitle}}"]}]},{G:"div",M:"ytp-playlist-menu-items",P:{role:"menu"}}]},250);this.O(this.g["ytp-playlist-menu-close"],
"click",this.Ob);this.O(this.g["ytp-playlist-menu-title-name"],"click",this.HS);this.A=a;this.D=this.H=this.o=null;this.Ga=this.g["ytp-playlist-menu-items"];this.F=new g.YF(this);g.L(this,this.F);this.B=[];this.hide()};
Asa=function(a,b){if(a.o!=b)if(a.o&&a.o.unsubscribe("shuffle",a.No,a),a.o=b,a.H=null,b){b.subscribe("shuffle",a.No,a);var c=b.author;a.update({title:b.title,subtitle:g.T(c?"YTP_PLAYLIST_AUTHOR_AND_POSITION":"YTP_PLAYLIST_POSITION",{AUTHOR:c,CURRENT_POSITION:String(b.ee()+1),PLAYLIST_LENGTH:String(b.getLength())}),playlisturl:a.A.getVideoUrl(!0)});a.No()}else a.l&&a.hide();else a.o&&a.No()};
eZ=function(a,b,c){var d={title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":g.T("YTP_PLAYLIST")};g.U.call(this,{G:"button",ba:["ytp-playlist-menu-button","ytp-button"],P:d,J:[{G:"div",M:"ytp-playlist-menu-button-icon",J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-playlist"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"m 22.53,21.42 0,6.85 5.66,-3.42 -5.66,-3.42 0,0 z m -11.33,0 9.06,0 0,2.28 -9.06,0 0,-2.28 0,0 z m 0,-9.14 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z m 0,4.57 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z",
fill:"#fff"}}]}]},{G:"div",M:"ytp-playlist-menu-button-text",J:["{{text}}"]}]});this.B=a;this.o=null;this.C=b.Gb();this.O(a,"videodatachange",this.D);this.O(a,"onPlaylistUpdate",this.D);this.O(a,"presentingplayerstatechange",this.A);this.O(a,"appresize",this.A);this.hide();this.D();g.bf(this,GY(this.C,this.element));this.U("click",(0,g.z)(c.xh,c,this.element,!1))};
fZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-replay-button","ytp-button"],P:{title:g.T("YTP_REPLAY")},J:[g.AV()]});this.o=a;this.O(a,"presentingplayerstatechange",this.B);this.U("click",this.A,this);var c=g.MU(a);g.KH(this,g.W(c,2));GY(b.Gb(),this.element)};
gZ=function(a,b){var c=DH();c={G:"div",M:"ytp-share-panel",P:{id:DH(),role:"dialog","aria-labelledby":c},J:[{G:"button",ba:["ytp-share-panel-close","ytp-button"],P:{title:g.T("YTP_CLOSE")},J:[g.yV()]},{G:"div",M:"ytp-share-panel-inner-content",J:[{G:"div",M:"ytp-share-panel-title",P:{id:c},J:[g.T("YTP_SHARE")]},{G:"a",ba:["ytp-share-panel-link","ytp-no-contextmenu"],P:{href:"{{link}}",target:"_blank",title:g.T("YTP_SHARE_LINK"),"aria-label":g.T("YTP_SHARE_LINK")},J:["{{linkText}}"]},{G:"label",M:"ytp-share-panel-include-playlist",
J:[{G:"input",M:"ytp-share-panel-include-playlist-checkbox",P:{type:"checkbox",checked:!0}},g.T("YTP_SHARE_WITH_PLAYLIST_2")]},{G:"div",M:"ytp-share-panel-loading-spinner",J:[jX()]},{G:"div",M:"ytp-share-panel-service-buttons",J:["{{buttons}}"]},{G:"div",M:"ytp-share-panel-error",J:[g.T("YTP_SHARE_PANEL_ERROR")]}]}]};xY.call(this,a,c,250);this.o=a;this.A=b.Gb();this.B=[];this.N=this.g["ytp-share-panel-inner-content"];this.F=this.g["ytp-share-panel-close"];this.O(this.F,"click",this.Ob);g.bf(this,
GY(this.A,this.F));this.H=this.g["ytp-share-panel-include-playlist-checkbox"];this.O(this.H,"click",this.EA);this.D=this.g["ytp-share-panel-link"];g.bf(this,GY(this.A,this.D));this.U("click",this.tR);this.O(a,"videoplayerreset",this.hide);this.O(a,"fullscreentoggled",this.iO);this.hide()};
Bsa=function(a){switch(a){case "facebook":return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-share-facebook"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z",
fill:"#39579b"}}]};case "googleplus":return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-share-googleplus"]}:{G:"svg",P:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},J:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M34.3,0H3.7C1.7,0,0,1.7,0,3.7v30.5c0,2,1.7,3.7,3.7,3.7h30.5c2,0,3.7-1.7,3.7-3.7V3.7C38,1.7,36.3,0,34.3,0z M13.3,28.5c-5.2,0-9.5-4.3-9.5-9.5c0-5.2,4.3-9.5,9.5-9.5c2.6,0,4.7,.9,6.4,2.5l-2.7,2.7c-1-0.9-2.2-1.4-3.6-1.4 c-3.1,0-5.6,2.6-5.6,5.7s2.5,5.7,5.6,5.7c2.8,0,4.7-1.6,5.1-3.8h-5.1v-3.6h8.9c0.1,.6,.2,1.3,.2,2C22.4,24.6,18.8,28.5,13.3,28.5 z M34.2,19.6H31v3.2h-2.2v-3.2h-3.2v-2.2h3.2v-3.2H31v3.2h3.2V19.6z",
fill:"#dc4537"}}]};case "twitter":return g.vV?{G:"div",ba:["ytp-icon","ytp-icon-share-twitter"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z",
fill:"#01abf0"}}]};default:return null}};
Csa=function(a){for(var b=g.la(a.B),c=b.next();!c.done;c=b.next())c=c.value,g.JH(c),g.cf(c);a.B=[]};
hZ=function(a,b,c,d){g.U.call(this,{G:"button",ba:["ytp-button","ytp-share-button"],P:{title:g.T("YTP_SHARE"),"aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.X(a).D)},J:[{G:"div",M:"ytp-share-icon",J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-sharrow"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}]},
{G:"div",M:"ytp-share-title",J:["{{share}}"]}]});this.o=a;this.B=d;this.H=c;this.D=this.A=!1;gV(a,this.element,this,28664);this.U("click",this.F);this.O(a,"videodatachange",this.C);this.O(a,"appresize",this.C);this.C();g.bf(this,GY(b.Gb(),this.element))};
iZ=function(a){xY.call(this,a,{G:"button",ba:["ytp-skip-intro-button","ytp-popup","ytp-button"],J:[{G:"div",M:"ytp-skip-intro-button-text",J:[g.T("YTP_SKIP_INTRO")]},{G:"div",M:"ytp-skip-intro-button-icon",J:[zV()]}]},100);var b=this;this.o=a;this.F=!1;this.D=new g.mu(function(){return b.hide()},5E3);
g.L(this,this.D);this.A=this.B=window.NaN;this.R=function(){return b.show()};
this.N=function(){return b.hide()};
this.H=this.W.bind(this);this.O(this.o,"videodatachange",function(a,d){if("dataloaded"==a)if(b.B=d.Qy,b.A=d.Py,(0,window.isNaN)(b.B)||(0,window.isNaN)(b.A))b.F&&(g.bV(b.o,"intro"),b.o.removeEventListener("crn_intro",b.R),b.o.removeEventListener("crx_intro",b.N),b.o.removeEventListener("onShowControls",b.H),b.hide(),b.F=!1);else{b.o.addEventListener("crn_intro",b.R);b.o.addEventListener("crx_intro",b.N);b.o.addEventListener("onShowControls",b.H);var c=new g.LQ(b.B,b.A,{priority:7,namespace:"intro"});
g.ZU(b.o,[c]);b.F=!0}});
this.O(this.element,"click",function(){b.o.ac(b.A/1E3)});
this.hide()};
jZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-airplay-button","ytp-button"],P:{title:g.T("YTP_AIRPLAY")},J:["{{icon}}"]});this.o=a;this.U("click",this.B);this.O(a,"airplayactivechange",this.A);this.O(a,"airplayavailabilitychange",this.A);this.A();g.bf(this,GY(b.Gb(),this.element))};
kZ=function(a){g.LH.call(this,{G:"div",M:"ytp-gradient-bottom"});this.A=g.Ed("CANVAS");this.A.width=1;this.o=this.A.getContext("2d");this.B=window.NaN;Dsa(this,g.NU(a).Ia().height)};
Dsa=function(a,b){if(a.o){var c=Math.floor(.4*b);c=Math.max(c,47);var d=c+2;if(a.B!=d){a.B=d;a.A.height=d;a.o.clearRect(0,0,1,d);var e=a.o.createLinearGradient(0,2,0,2+c),f=c-42;e.addColorStop(0,"rgba(0, 0, 0, 0)");e.addColorStop(f/c,"rgba(0, 0, 0, 0.3)");e.addColorStop(1,"rgba(0, 0, 0, 0.68)");a.o.fillStyle=e;a.o.fillRect(0,2,1,c);a.element.style.height=d+"px";a.element.style.backgroundImage="url("+a.A.toDataURL()+")"}}};
lZ=function(a,b,c,d,e){var f=b.Bt/b.rows,k=Math.min(c/(b.Ct/b.columns),d/f),l=b.Ct*k,m=b.Bt*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,q=m/b.rows,r=-b.column*n,u=-b.row*q;e&&45>=f&&(q-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=q+"px";e||(d=(d-q)/2,c=(c-n)/2,a.marginTop=Math.floor(d)+"px",a.marginBottom=Math.ceil(d)+"px",a.marginLeft=Math.floor(c)+"px",a.marginRight=Math.ceil(c)+"px");a.background="url("+b.url+") "+r+"px "+u+"px/"+l+"px "+m+"px";if(e)return new g.kd(n,
q)};
mZ=function(a,b){g.LH.call(this,{G:"div",M:"ytp-storyboard",J:[{G:"div",M:"ytp-storyboard-filmstrip",J:[{G:"div",M:"ytp-storyboard-thumbnail"}]},{G:"div",M:"ytp-storyboard-lens",J:[{G:"div",M:"ytp-storyboard-lens-thumbnail"},{G:"div",M:"ytp-storyboard-lens-timestamp-wrapper",J:[{G:"span",M:"ytp-storyboard-lens-timestamp"}]}]}]});this.A=a;this.W=b.Gb();this.N=new g.gl(this.xK,250,this);g.L(this,this.N);this.I=g.NU(a).Ia().width;this.o=this.g["ytp-storyboard-filmstrip"];this.ca=this.g["ytp-storyboard-lens"];
this.da=this.g["ytp-storyboard-lens-thumbnail"];this.ea=this.g["ytp-storyboard-lens-timestamp"];this.Z=this.g["ytp-storyboard-thumbnail"];g.Kd(this.Z);this.K=0;this.R=!1;this.L=this.C=this.B=window.NaN;this.Hb=this.D=null;this.F=new g.YF(this);g.L(this,this.F);this.H=new g.CV(this,100);g.L(this,this.H);this.O(this.A,"appresize",this.RI);this.O(this.A,"presentingplayerstatechange",this.LN)};
nZ=function(a,b){var c=!!a.Hb;c&&a.Hb.unsubscribe("l",a.tp,a);a.Hb=b&&g.MO(b);a.R=!!b&&b.ua;a.Hb?(c||(a.F.O(a.A,"videodatachange",a.MN),a.F.O(a.A,"progresssync",a.qo),a.F.O(a.A,"videoplayerreset",a.qo)),a.Hb.subscribe("l",a.tp,a),a.L=window.NaN,a.B=window.NaN,a.C=window.NaN,a.qo(),a.H.show(200)):(c&&g.$F(a.F),a.N.stop(),g.HG(a.K),a.H.hide(),a.H.stop())};
Esa=function(a,b,c,d){var e=a.Z.cloneNode(!1);a=sN(a.Hb,b,c);lZ(e,a,c,d);return e};
oZ=function(a){g.U.call(this,{G:"div",M:"ytp-storyboard-framepreview",J:[{G:"div",M:"ytp-storyboard-framepreview-img"}]});this.D=this.g["ytp-storyboard-framepreview-img"];this.o=a;this.Hb=null;this.C=window.NaN;this.A=new g.YF(this);g.L(this,this.A);this.B=new g.CV(this,100);g.L(this,this.B);this.O(this.o,"presentingplayerstatechange",this.NN)};
qZ=function(a,b){var c=!!a.Hb;a.Hb=b&&g.MO(b);a.Hb?(c||(a.A.O(a.o,"videodatachange",a.PN),a.A.O(a.o,"progresssync",a.ON),a.A.O(a.o,"appresize",a.SI)),a.C=window.NaN,pZ(a),a.B.show(200)):(c&&g.$F(a.A),a.B.hide(),a.B.stop())};
pZ=function(a){var b=a.o.getCurrentTime(),c=g.NU(a.o).Ia(),d=rN(a.Hb,c.width);b=a.Hb.g[d].Ij(b);b!=a.C&&(a.C=b,uN(a.Hb,b,c.width),b=sN(a.Hb,b,c.width),lZ(a.D,b,c.width,c.height))};
rZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-fullscreen-button","ytp-button"],P:{title:"{{title}}"},J:["{{icon}}"]});this.A=a;this.D=b;this.o=null;this.B=GY(b.Gb(),this.element);this.C=new g.mu(this.DH,2E3,this);g.L(this,this.C);this.O(a,"fullscreentoggled",this.YC);this.O(a,"presentingplayerstatechange",this.zA);this.U("click",this.QN);if(zF()){var c=g.NU(this.A);this.O(c,Tja(),this.xB);this.O(c,CF(window.document),this.RN)}g.X(a).ca||Fsa(this);this.zA();this.YC(a.isFullscreen())};
Fsa=function(a){if(!a.o){var b=g.T(null!=yF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.o=new xY(a.A,{G:"div",ba:["ytp-popup","ytp-generic-popup"],P:{role:"alert",tabindex:"0"},J:[b[0],{G:"a",P:{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"},J:[b[2]]},b[4]]},100,!0);a.o.hide();g.L(a,a.o);a.o.subscribe("show",
(0,g.z)(a.D.fn,a.D,a.o));g.dV(a.A,a.o.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.B();a.B=null}};
sZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-miniplayer-button","ytp-button"],P:{title:g.T("YTP_MINIPLAYER_BUTTON")},J:[Kpa()]});this.o=a;this.U("click",this.A);g.bf(this,GY(b.Gb(),this.element))};
tZ=function(a){var b={G:"div",M:"ytp-multicam-menu",P:{role:"dialog"},J:[{G:"div",M:"ytp-multicam-menu-header",J:[{G:"div",M:"ytp-multicam-menu-title",J:[g.T("YTP_SWITCH_CAMERA"),{G:"button",ba:["ytp-multicam-menu-close","ytp-button"],P:{"aria-label":g.T("YTP_CLOSE")},J:[g.yV()]}]}]},{G:"div",M:"ytp-multicam-menu-items"}]};xY.call(this,a,b,250);this.B=new g.YF(this);g.L(this,this.B);this.O(this.g["ytp-multicam-menu-close"],"click",this.Ob);this.o=a;this.Ga=this.g["ytp-multicam-menu-items"];this.A=
[];this.hide()};
uZ=function(a,b,c){g.U.call(this,{G:"button",ba:["ytp-multicam-button","ytp-button"],P:{title:g.T("YTP_SWITCH_CAMERA"),"aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-switch-camera"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z",
fill:"#fff"}}]}]});this.o=a;this.C=!1;this.A=b.Gb();this.D=new g.mu(this.H,400,this);g.L(this,this.D);this.U("click",(0,g.z)(c.xh,c,this.element,!1));this.O(a,"presentingplayerstatechange",g.Ea(this.B,!1));this.O(a,"videodatachange",this.F);this.B(!0);g.bf(this,GY(this.A,this.element))};
vZ=function(){g.K.call(this);this.B=null;this.A=this.g=0;this.o=new g.ju(this.l,null,this);g.L(this,this.o)};
Gsa=function(a,b){if("path"==b.G)return b.P.d;if(b.J)for(var c=0;c<b.J.length;c++){var d=b.J[c];if(d&&!g.v(d)&&(d=Gsa(a,d)))return d}};
Jsa=function(a,b,c){c=Gsa(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=DH();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=Hsa(e),m=Hsa(c);wZ(a,function(a){d.setAttribute("d",Isa(l,m,a))},200)};
wZ=function(a,b,c){a.B=b;a.A=g.AG();a.g=c;a.l()};
Hsa=function(a){var b=[];a=a.match(Ksa);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};
Isa=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.ua(f)?d+(f+(b[e]-f)*c):d+f}return d};
xZ=function(a,b){var c=g.X(a);g.U.call(this,{G:"button",ba:["ytp-mute-button","ytp-button"],P:c.I?{title:"{{title}}"}:{"aria-disabled":"true","aria-haspopup":"true"},J:["{{icon}}"]});this.updateValue("icon",BV());this.o=a;this.ca=b.Gb();this.I=this.L=this.K=this.R=window.NaN;this.F=[];this.D=[];this.H=this.B=!1;g.X(this.o).H||(this.A=new g.FH({G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"defs",J:[{G:"clipPath",P:{id:"ytp-svg-volume-animation-mask"},J:[{G:"path",
P:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},{G:"path",P:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{G:"path",M:"ytp-svg-volume-animation-mover",P:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{G:"clipPath",P:{id:"ytp-svg-volume-animation-slash-mask"},J:[{G:"path",M:"ytp-svg-volume-animation-mover",P:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{G:"path",Ra:!0,ba:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],P:{"clip-path":"url(#ytp-svg-volume-animation-mask)",
d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}},{G:"path",Ra:!0,ba:["ytp-svg-fill","ytp-svg-volume-animation-hider"],P:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.L(this,this.A),this.W=this.A.g["ytp-svg-volume-animation-speaker"],this.fa=this.W.getAttribute("d"),this.F=g.sd("ytp-svg-volume-animation-mover",this.A.element),this.D=
g.sd("ytp-svg-volume-animation-hider",this.A.element));this.C=null;this.X=new vZ;g.L(this,this.X);this.N=new vZ;g.L(this,this.N);this.U("click",this.ea);this.O(a,"appresize",this.Nc);this.O(a,"onVolumeChange",this.da);var d=null;c.I?g.bf(this,GY(b.Gb(),this.element)):(c=g.T("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new xY(a,{G:"span",ba:["ytp-popup","ytp-generic-popup"],P:{tabindex:"0"},J:[c[0],{G:"a",P:{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"},J:[c[2]]},
c[4]]},100,!0),g.L(this,d),d.hide(),d.subscribe("show",(0,g.z)(b.fn,b,d)),g.dV(a,d.element,4));this.Z=d;gV(a,this.element,this,28662);this.Nc(g.NU(a).Ia());Lsa(this,a.getVolume(),a.isMuted())};
Lsa=function(a,b,c){var d=c?0:b/100,e=g.X(a.o);if(e.H)d=0==d?BV():0<d&&.5>d?Rpa():Qpa(),d!=a.C&&(a.updateValue("icon",d),a.C=d);else{b=0==d?1:50<b?1:0;if(a.K!=b){var f=a.R;(0,window.isNaN)(f)?Msa(a,b):wZ(a.X,(0,g.z)(function(a){Msa(this,f+(this.K-f)*a)},a),250);
a.K=b}d=0==d?1:0;if(a.I!=d){var k=a.L;(0,window.isNaN)(k)?Nsa(a,d):wZ(a.N,(0,g.z)(function(a){Nsa(this,k+(this.I-k)*a)},a),250);
a.I=d}}e.I&&(a.updateValue("title",c?g.T("YTP_UNMUTE"):g.T("YTP_MUTE")),yZ(a.ca))};
Msa=function(a,b){a.R=b;var c=a.fa;b&&(c+=Isa(Osa,Psa,b));a.W.setAttribute("d",c)};
Nsa=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=BV():e=a.A;for(c=0;c<a.D.length;c++)a.D[c].style.display=0==b?"none":"";e!=a.C&&(a.updateValue("icon",e),a.C=e)};
zZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-pip-button","ytp-button"],P:{title:g.T("YTP_PIP")},J:[Kpa()]});this.o=a;this.U("click",this.A);g.bf(this,GY(b.Gb(),this.element))};
g.AZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-play-button","ytp-button"],P:{title:"{{title}}","aria-label":"{{label}}"},J:["{{icon}}"]});this.A=a;this.B=null;this.C=b.Gb();this.o=null;this.D=new vZ;g.L(this,this.D);this.O(a,"fullscreentoggled",this.F);this.O(a,"presentingplayerstatechange",this.H);this.O(a,"videodatachange",this.F);Qsa(this,g.MU(a));this.U("click",this.I,this)};
Rsa=function(a){switch(a){case 1:return Lpa();case 2:return Jpa();case 3:return g.AV();case 4:return Ppa();default:return null}};
Qsa=function(a,b){var c=g.QO(a.A.getVideoData()),d=!1;if(GP(b))var e=c?4:2;else g.W(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.B!=e){switch(e){case 2:var f=g.T("YTP_PAUSE");break;case 3:f=g.T("YTP_REPLAY");break;case 1:f=g.T("YTP_PLAY");break;case 4:f=g.T("YTP_STOP")}3==e?(a.o||(a.o=GY(a.C,a.element)),a.update({title:f,label:null,icon:Rsa(e)})):(a.o&&(a.o(),a.o=null),a.update({title:null,label:f}),(c=Rsa(e))&&a.B&&3!=a.B&&!g.X(a.A).H?Jsa(a.D,a.element,c):a.updateValue("icon",c));yZ(a.C);a.B=e}};
g.CZ=function(a,b,c){if(c){var d="ytp-next-button";var e=zV()}else d="ytp-prev-button",e=Mpa();g.U.call(this,{G:"a",ba:[d,"ytp-button"],P:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},J:[e]});this.o=a;this.L=b.Gb();this.B=c;this.A=this.F=null;this.K=!1;this.H=this.I=this.C=null;this.D=!1;this.O(a,"fullscreentoggled",this.Jj);this.O(a,"videodatachange",
this.Jj);this.O(a,"onPlaylistUpdate",this.Jj);this.B||this.O(a,"appresize",this.Nc);this.O(a,"mdxpreviousnextchange",function(){BZ(this);this.Nc()});
this.Jj()};
Ssa=function(a){a.A&&a.A.unsubscribe("shuffle",a.Jj,a)};
Tsa=function(a){return!!a.A&&!a.B&&!!a.F&&!a.F.ua&&3<=a.o.getCurrentTime()&&2!=a.o.Qa()};
Usa=function(a){var b=g.KU(g.FU(a.o));return b?a.B?b.hasNext():b.Mf():!1};
BZ=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.X(a.o),d=OU(a.o),e=a.B&&g.eV(a.o),f=Usa(a);if(a.D)b.title=g.T("YTP_REPLAY");else if(d){var k=null;a.A&&(k=a.A.Wb(a.B?SQ(a.A):TQ(a.A)));if(k){if(k.videoId){var l=a.A.listId;b.url=c.getVideoUrl(k.videoId,l?l.toString():void 0)}b.text=k.title;b.duration=k.lengthSeconds?g.EV(k.lengthSeconds):null;b.preview=k.Xc(c,"mqdefault.jpg")}b.title=g.T(a.B?"YTP_NEXT":"YTP_PREVIOUS")}else e&&(a.F.suggestions&&a.F.suggestions.length&&
(k=g.kY(a.F.suggestions[0]),b.url=k.Nk(c),b.text=k.title,b.duration=k instanceof g.uO?g.EV(k.lengthSeconds):null,b.preview=k.Xc(c,"mqdefault.jpg")),b.title=g.T("YTP_NEXT"));b.disabled=!e&&!d&&!f;a.update(b);a.K=!!b.url;e||d||a.D||f?a.C||(a.C=GY(a.L,a.element),a.I=a.U("click",a.aO,a)):a.C&&(a.C(),a.C=null,a.Aa(a.I),a.I=null);yZ(a.L)};
Vsa=function(){this.l=this.position=this.A=this.g=this.B=this.o=this.width=window.NaN};
g.DZ=function(a,b){g.LH.call(this,{G:"div",M:"ytp-progress-bar-container",P:{"aria-disabled":"true"},J:[{G:"div",ba:["ytp-progress-bar",g.X(a).l?"ytp-mobile":""],P:{tabindex:"0",role:"slider","aria-label":g.T("YTP_SEEK_SLIDER"),"aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},J:[{G:"div",M:"ytp-progress-bar-padding"},{G:"div",M:"ytp-progress-list",J:[{G:"div",ba:["ytp-play-progress","ytp-swatch-background-color"]},{G:"div",
M:"ytp-load-progress"},{G:"div",M:"ytp-hover-progress"},{G:"div",M:"ytp-clip-start-exclude"},{G:"div",M:"ytp-clip-end-exclude"},{G:"div",M:"ytp-ad-progress-list"},{G:"div",M:"ytp-marker-crenellation-list"},{G:"div",M:"ytp-marker-progress-list"}]},{G:"div",M:"ytp-marker-icons"},{G:"div",M:"ytp-scrubber-container",J:[{G:"div",ba:["ytp-scrubber-button","ytp-swatch-background-color"],J:[{G:"div",M:"ytp-scrubber-pull-indicator"}]}]}]},{G:"div",M:"ytp-bound-time-left",J:["{{boundTimeLeft}}"]},{G:"div",
M:"ytp-bound-time-right",J:["{{boundTimeRight}}"]},{G:"div",M:"ytp-clip-start",P:{title:g.T("YTP_WATCH_ALL")},J:["{{clipstarticon}}"]},{G:"div",M:"ytp-clip-end",P:{title:g.T("YTP_WATCH_ALL")},J:["{{clipendicon}}"]}]});this.updateValue("clipstarticon",Epa());this.updateValue("clipendicon",Dpa());this.A=a;this.Ca=b.Gb();this.Ta=!1;this.C=this.Ma=0;this.Z=1;this.Mc=this.I=0;this.B=null;this.qb=!1;this.K=this.ma=0;this.ed=this.g["ytp-ad-progress-list"];this.xd=this.g["ytp-marker-progress-list"];this.Md=
this.g["ytp-marker-icons"];this.ib=this.g["ytp-marker-crenellation-list"];this.W={};this.ia={};this.R={};this.ca=[];this.L=window.Infinity;var c=b.Gb();this.da=this.g["ytp-clip-end"];g.bf(this,GY(c,this.da));this.oa=new g.cG(this.da,!0);g.L(this,this.oa);this.oa.subscribe("hoverstart",this.nB,this);this.oa.subscribe("hoverend",this.mB,this);this.O(this.da,"click",this.Mo);this.Xa=this.g["ytp-clip-end-exclude"];this.Kd=this.g["ytp-clip-start-exclude"];this.N=0;this.ea=this.g["ytp-clip-start"];g.bf(this,
GY(c,this.ea));this.ya=new g.cG(this.ea,!0);g.L(this,this.ya);this.ya.subscribe("hoverstart",this.nB,this);this.ya.subscribe("hoverend",this.mB,this);this.O(this.ea,"click",this.Mo);this.wc=this.g["ytp-load-progress"];this.fa=0;this.yd=this.g["ytp-play-progress"];this.Jb=this.g["ytp-hover-progress"];this.H=0;this.Kc=this.g["ytp-progress-bar"];this.D=null;this.zd=this.g["ytp-scrubber-button"];this.Ad=this.g["ytp-scrubber-container"];this.za=new g.gd;this.Db=new Vsa;this.o=new GV(0,0);this.F=this.Pa=
!1;this.Pb=null;this.O(a,"presentingplayerstatechange",this.LI);this.O(a,"videodatachange",this.CA);this.O(a,"videoplayerreset",this.KI);this.O(a,"cuerangesadded",this.KD);this.O(a,"cuerangesremoved",this.ST);this.O(a,"cuerangemarkersupdated",this.KD);this.O(a,"onPlaybackQualityChange",this.QI);Wsa(this,a.getVideoData(),!0)};
g.Ysa=function(a){Xsa(a);var b=a.A.getCurrentTime();(b<a.N||b>a.L)&&a.Mo()};
Xsa=function(a){if(a.C){var b=a.A.kh(),c=new GV(b.seekableStart,b.seekableEnd),d=IV(c,b.loaded,0);b=IV(c,b.current,0);var e=a.o.l!=c.l||a.o.g!=c.g;a.o=c;EZ(a,b,d);e&&g.FZ(a);Zsa(a)}};
Wsa=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Fd();a.Pa=d&&b.ig;$sa(a,a.A.bd());c&&(d?(c=b.clipEnd,a.N=b.clipStart,a.L=c,GZ(a),EZ(a,a.H,a.fa)):a.Mo(),b=a.Ca,1==b.o&&b.af());Xsa(a)};
ata=function(a){return!!a&&a.Fd()&&!!a.Ha&&a.Ha.video.isAccelerated&&a.Ha.video.o};
HZ=function(a,b){a.qb=b;g.S(a.wc,"ytp-fast-load",b)};
bta=function(a,b,c,d){b=g.cd(b,0,a.F?60:40);a.I=b;var e=a.Z,f=Math.max(a.o.getLength()/a.C,1);a.Z=b/(a.F?60:40)*(f-1)+1;b=a.C*a.Z;a.K=g.cd(d*b-c,0,b-a.C);e!=a.Z&&g.FZ(a)};
g.FZ=function(a){var b=IZ(a),c=-b.o/b.g,d=(-b.o+b.width)/b.g,e=g.Md(a.ib),f=0;if(a.I>.2*(a.F?60:40)){var k=c*(a.o.getLength()/60),l=d*(a.o.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.Ed("DIV"),a.ib.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.Pa?a.o.g:0;a.update({boundTimeLeft:g.EV(HV(a.o,c)-b),boundTimeRight:g.EV(HV(a.o,d)-b)});for(c=
e.length-1;c>=f;c--)g.Kd(e[c]);a.element.style.height=a.I+(a.F?8:5)+"px";a.T("height-change",a.I);a.zd.style.height=a.I+(a.F?20:13)+"px";for(var q in a.W)cta(a,q);JZ(a);GZ(a);EZ(a,a.H,a.fa)};
IZ=function(a){var b=a.za.x,c=a.C*a.Z;b=g.cd(b,0,a.C);a.Db.update(b,a.C,-a.K,-(c-a.K-a.C));return a.Db};
EZ=function(a,b,c){a.H=b;a.fa=c;var d=IZ(a),e=a.o.g,f=HV(a.o,a.H);a.update({ariamin:Math.floor(a.o.l),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.T("YTP_PROGRESS_LABEL_2",{PLAY_PROGRESS:g.EV(f),DURATION:g.EV(e)})});e=IV(a.o,a.N,0);var k=IV(a.o,a.L,1);f=g.cd(b,e,k);c=a.qb?1:g.cd(c,e,k);g.sh(a.Ad,"transform","translateX("+(b*d.g+d.o)+"px)");KZ(a,a.yd,d,e,f);KZ(a,a.wc,d,e,c)};
dta=function(a,b,c){b=Math.max(c*b.g+b.o,0);a.style.left=b+"px";return b};
KZ=function(a,b,c,d,e,f){f=void 0===f?!1:f;dta(b,c,d);d=g.cd((e-d)*c.g+c.o,0,c.width);f||g.X(a.A).l?b.style.width=d+"px":g.sh(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
GZ=function(a){var b=a.N>a.o.l,c=0<a.o.g&&a.L<a.o.g;g.S(a.element,"ytp-clip-start-enabled",b);g.S(a.element,"ytp-clip-end-enabled",c);b=b?IV(a.o,a.N,0):0;c=c?IV(a.o,a.L,1):1;a.ea.style.left=Math.round(1E3*b)/10+"%";a.da.style.left=Math.round(1E3*c)/10+"%";a.Kd.style.width=Math.round(1E3*b)/10+"%";a.Xa.style.left=Math.round(1E3*c)/10+"%";a.Xa.style.width=Math.round(1E3*(1-c))/10+"%"};
JZ=function(a){for(var b=0;b<a.ca.length;b++){for(var c=a.R[a.ca[b].getId()],d=Number(c.getAttribute("data-left"))-24,e=!1,f=b-1;0<=f;f--){var k=a.R[a.ca[f].getId()];if("none"!=k.style.display){Number(k.getAttribute("data-left"))>d&&(e=!0);break}}c.style.display=e?"none":""}};
Zsa=function(a){var b=IZ(a);KZ(a,a.Jb,b,a.H,b.l);g.S(a.Jb,"ytp-hover-progress-light",b.l>a.H)};
cta=function(a,b){var c=a.W[b],d=a.ia[b],e=IZ(a),f=IV(a.o,c.start/1E3,0),k=zma(c,a.F),l=k/e.width;switch(c.style){case "ytp-chapter-marker":var m=f+l/2;f-=l/2;d.style.borderRadius=k+"px";break;default:m=IV(a.o,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.cd(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);KZ(a,d,e,f,m,!0);(c=a.R[b])&&c.setAttribute("data-left",dta(c,e,f))};
eta=function(a,b){var c=b.getId();if(a.W[c]==b){g.Kd(a.ia[c]);delete a.W[c];delete a.ia[c];var d=a.R[c];d&&(g.Kd(d),delete a.R[c],c=a.ca,d=g.fb(c,b,g.NQ),0<=d&&g.Ua(c,d))}};
$sa=function(a,b){b?a.D||(a.element.removeAttribute("aria-disabled"),a.D=new g.cG(a.Kc,!0),a.D.subscribe("hovermove",a.LR,a),a.D.subscribe("hoverend",a.KR,a),a.D.subscribe("dragstart",a.JR,a),a.D.subscribe("dragmove",a.NR,a),a.D.subscribe("dragend",a.MR,a),a.Pb=a.U("keydown",a.cO)):a.D&&(a.element.setAttribute("aria-disabled",!0),a.Aa(a.Pb),a.D.cancel(),a.D.dispose(),a.D=null)};
LZ=function(a,b){SY.call(this,g.T("YTP_ANNOTATIONS"),5);this.C=b;this.B=a;this.o=!1;this.O(a,"videodatachange",this.D);this.O(a,"onApiChange",this.D);this.subscribe("select",this.F,this);this.D()};
g.MZ=function(a,b,c,d,e,f){var k=g.OH({"aria-haspopup":"true"});g.NH.call(this,k,b,a);this.B=d;this.I=!1;this.F=null;this.A={};this.D=new g.JY(c,void 0,a,e,f);g.L(this,this.D);this.U("keydown",this.gO);this.U("click",this.open)};
g.NZ=function(a,b){g.osa(a.D);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.A[f],l=f==a.F;l&&(d=!0);k&&k.priority==-e?(l=a,g.MH(l.A[f],l.jf(f,!0)),delete a.A[f]):(k=new g.NH({G:"div",ba:["ytp-menuitem"],P:{tabindex:"0",role:"menuitemradio","aria-checked":l?"true":void 0},J:[{G:"div",ba:["ytp-menuitem-label"],J:["{{label}}"]}]},-e,a.jf(f,!0)),k.U("click",(0,g.z)(a.hO,a,f)));c[f]=k;g.KY(a.D,k,!0)}d||(a.F=null);for(var m in a.A)a.A[m].dispose();a.A=c};
OZ=function(a,b){g.MZ.call(this,g.T("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.o=a;this.K=new g.U({G:"div",J:[{G:"span",J:[g.T("YTP_AUDIO_TRACK_TITLE")]},{G:"span",M:"ytp-menuitem-label-count",J:["{{content}}"]}]});g.MH(this,this.K);this.L={};this.O(a,"videodatachange",this.H);this.O(a,"onPlaybackAudioChange",this.H);this.H()};
PZ=function(a,b){SY.call(this,g.T("YTP_AUTOPLAY"),6);this.F=b;this.o=a;this.C=!1;this.B=[];this.O(a,"presentingplayerstatechange",this.D);this.subscribe("select",this.I,this);this.D()};
QZ=function(a,b){g.MZ.call(this,g.T("YTP_QUALITY_TITLE"),1,a,b);g.R(this.D.element,"ytp-quality-menu");this.o=a;this.K={};this.H="unknown";this.O(a,"videodatachange",this.C);this.O(a,"videoplayerreset",this.C);this.O(a,"onPlaybackQualityChange",this.L);this.C()};
fta=function(a,b,c){a=a.K[b];var d=g.fI[b];d=a?a.qualityLabel:d?d+"p":g.T("YTP_AUTO");c={G:"span",ba:c,J:[]};a&&a.isAccelerated&&a.o&&c.J.push({G:"div",M:"ytp-menuitem-badge-container",J:[{G:"svg",P:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},J:[{G:"path",P:{d:"M0 0v48h48V0H0zm10.6 30.64L4 24.05l6.69-6.69 6.6 6.59-6.69 6.69zM24 44l-6.7-6.7 13.35-13.35-13.32-13.28L24 4l20 20-20 20z"}},{G:"path",P:{d:"M 24,44 44,24 24,4 17.33,10.67 30.65,23.95 17.3,37.3 z M 10.6,30.64 17.29,23.95 10.69,17.36 4,24.05 z",
fill:"#fff"}}]}]});c.J.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.J.push(" "),c.J.push({G:"sup",M:"ytp-swatch-color",J:[e]}));return c};
RZ=function(a,b,c){g.U.call(this,{G:"button",ba:["ytp-button","ytp-settings-button"],P:{"aria-haspopup":"true","aria-owns":DH(),title:g.T("YTP_SETTINGS")},J:[g.Opa()]});this.B=c;this.o=a;this.C=!0;this.U("click",this.D);this.O(a,"onPlaybackQualityChange",this.A);this.O(a,"videodatachange",this.A);this.O(a,"webglsettingschanged",this.A);this.O(a,"appresize",this.Nc);g.bf(this,GY(b.Gb(),this.element));this.A();this.Nc(g.NU(a).Ia())};
SZ=function(a,b){a.C=!!b;a.Nc(g.NU(a.o).Ia())};
TZ=function(a,b){g.MZ.call(this,g.T("YTP_SPEED_TITLE"),4,a,b);this.o=a;this.C=null;this.O(a,"presentingplayerstatechange",this.FA);this.FA()};
UZ=function(a,b,c,d){var e=g.T("YTP_VIDEO_SUBTITLES_OVERRIDE"),f=new g.JY(b,void 0,e);g.MZ.call(this,gta(d),a,b,c,e,function(){return g.OY(c,f)});
g.R(this.element,"ytp-subtitles-options-menu-item");this.K=d.option.toString();a=d.options;this.L=g.lb(a,this.IA,this);this.H=f;g.L(this,this.H);b=new g.NH({G:"div",M:"ytp-menuitemtitle",J:[g.T("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")]},0);g.L(this,b);g.KY(this.H,b,!0);this.C=new g.NH({G:"div",M:"ytp-menuitem",P:{role:"menuitemradio",tabindex:"0"},J:[{G:"div",M:"ytp-menuitem-label",J:[g.T("YTP_ON")]}]},-1);g.L(this,this.C);g.KY(this.H,this.C,!0);this.O(this.C.element,"click",g.Ea(this.JA,!0));this.o=
new g.NH({G:"div",M:"ytp-menuitem",P:{role:"menuitemradio",tabindex:"0"},J:[{G:"div",M:"ytp-menuitem-label",J:[g.T("YTP_OFF")]}]},-2);g.L(this,this.o);g.KY(this.H,this.o,!0);this.O(this.o.element,"click",g.Ea(this.JA,!1));g.NZ(this,(0,g.G)(a,this.IA))};
gta=function(a){return(a.message?g.T(a.message):a.text)||""};
VZ=function(a,b){g.JY.call(this,a,void 0,g.T("YTP_OPTIONS"));this.o={};for(var c=0;c<g.ZY.length;c++){var d=g.ZY[c],e=new UZ(-c,a,b,d);g.L(this,e);e.subscribe("settingChange",this.A,this);this.o[d.option.toString()]=e;g.KY(this,e,!0)}c=new g.NH(g.OH(),-g.ZY.length,g.T("YTP_RESET"));g.L(this,c);c.U("click",(0,g.z)(this.A,this,"reset",!0));g.KY(this,c,!0)};
hta=function(a,b){for(var c in b){var d=a.o[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.A[e]&&(d.kf(e),d.C.element.setAttribute("aria-checked",!f),d.o.element.setAttribute("aria-checked",f))}}};
WZ=function(a,b){g.MZ.call(this,g.T("YTP_AUTO_TRANSLATE"),0,a,b);this.o={}};
XZ=function(a,b){var c=new VZ(a,b);g.MZ.call(this,g.T("YTP_SUBTITLES"),3,a,b,g.T("YTP_OPTIONS"),function(){return g.OY(b,c)});
this.o=a;this.C={};this.N=new g.mu(g.Ea(this.HA,!1),3E3,this);g.L(this,this.N);this.K=new g.U({G:"div",J:[{G:"span",J:[g.T("YTP_SUBTITLES")]},{G:"span",M:"ytp-menuitem-label-count",J:["{{content}}"]}]});g.L(this,this.K);g.MH(this,this.K);this.H=new WZ(a,b);g.L(this,this.H);this.H.subscribe("select",this.rO,this);this.L=c;g.L(this,this.L);this.L.subscribe("settingChange",this.qO,this);b.subscribe("show",this.tS,this);this.O(a,"videodatachange",this.zl);this.O(a,"onApiChange",this.zl);this.O(a,"onCaptionsTrackListChanged",
this.zl);this.O(a,"captionschanged",this.zl);this.zl()};
YZ=function(a){g.LY.call(this,a,"ytp-settings-menu");this.A=a;this.B=new g.JY(a);g.L(this,this.B);this.H=null;this.W=!1;this.hide();g.OY(this,this.B)};
ZZ=function(a){if(!a.W){a.W=!0;var b=new QZ(a.A,a);g.L(a,b);b=new XZ(a.A,a);g.L(a,b);b=new LZ(a.A,a);g.L(a,b);g.X(a.A).ea&&(b=new TZ(a.A,a),g.L(a,b));g.X(a.A).Kd&&(b=new PZ(a.A,a),g.L(a,b));b=new OZ(a.A,a);g.L(a,b);SZ(a.H,a.B.Ga.length)}};
$Z=function(a,b){ZZ(a);g.KY(a.B,b);SZ(a.H,a.B.Ga.length)};
a_=function(a,b){a.l&&1>=a.B.Ga.length&&a.hide();g.nsa(a.B,b);SZ(a.H,a.B.Ga.length)};
ita=function(a,b){a.H=b;a.element.id=b.element.getAttribute("aria-owns")};
b_=function(a,b,c){g.U.call(this,{G:"button",M:"ytp-button",P:{title:g.T("YTP_MDX_TOOLTIP"),"aria-haspopup":"true"},J:["{{icon}}"]});this.o=a;this.C=c;this.B=null;this.O(a,"onMdxReceiversChange",this.A);this.O(a,"presentingplayerstatechange",this.A);this.O(a,"appresize",this.A);this.A();this.U("click",this.D,this);g.bf(this,GY(b.Gb(),this.element))};
c_=function(a,b){g.U.call(this,{G:"button",ba:["ytp-size-button","ytp-button"],P:{title:"{{title}}"},J:["{{icon}}"]});this.o=a;this.C=b.Gb();this.B=null;this.D=new vZ;g.L(this,this.D);this.O(a,"sizestylechange",this.A);this.O(a,"fullscreentoggled",this.A);this.O(a,"presentingplayerstatechange",this.A);this.A();this.U("click",this.F);g.bf(this,GY(this.C,this.element))};
d_=function(a,b){g.U.call(this,{G:"button",ba:["ytp-subtitles-button","ytp-button"],P:{"aria-pressed":"{{pressed}}",title:g.T("YTP_SUBTITLES_TOOLTIP")},J:[Fpa()]});this.A=a;this.O(a,"videodatachange",this.o);this.O(a,"appresize",this.o);this.O(a,"onApiChange",this.o);this.O(a,"onCaptionsTrackListChanged",this.o);this.O(a,"captionschanged",this.o);this.o();this.U("click",this.B);g.bf(this,GY(b.Gb(),this.element))};
g.e_=function(a,b){g.U.call(this,{G:"div",ba:["ytp-time-display","notranslate"],J:[{G:"span",M:"ytp-time-current",J:["{{currenttime}}"]},{G:"span",M:"ytp-time-separator",J:[" / "]},{G:"span",M:"ytp-time-duration",J:["{{duration}}"]}]});this.C=new g.U({G:"button",ba:["ytp-live-badge","ytp-button"],P:{disabled:"true"},J:[g.T("YTP_LIVE")]});g.L(this,this.C);this.C.pa(this.element);this.D=a;this.K=b.Gb();this.A=null;this.B=!1;this.H=this.F=this.I=null;this.U("click",this.L);this.O(a,"presentingplayerstatechange",
this.o);this.O(a,"appresize",this.o);this.O(a,"videodatachange",this.N);var c=a.getVideoData();c&&(this.B=c.ua,g.S(this.element,"ytp-live",this.B));this.o()};
g_=function(a,b,c){g.U.call(this,{G:"div",M:"ytp-volume-panel",P:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},J:[{G:"div",M:"ytp-volume-slider",J:[{G:"div",M:"ytp-volume-slider-handle"}]}]});this.o=a;this.F=b;this.N=c;this.K=!1;this.H=b.od();this.W=this.C=0;this.R=this.g["ytp-volume-slider"];this.X=this.g["ytp-volume-slider-handle"];this.I=new g.cG(this.R,!0);g.L(this,this.I);this.I.subscribe("dragstart",this.BS,
this);this.I.subscribe("dragmove",this.AS,this);this.I.subscribe("dragend",this.zS,this);this.L=null;this.A=this.B=this.D=!1;this.O(a,"onVolumeChange",this.uO);this.O(a,"appresize",this.Nc);this.O(a,"fullscreentoggled",this.sO);this.O(a,"onShowControls",this.Gw);this.O(a,"onHideControls",this.Gw);this.O(this.element,"keydown",this.CS);this.O(this.element,"focus",g.Ea(this.KA,!0));this.O(this.element,"blur",g.Ea(this.KA,!1));this.Nc(g.NU(a).Ia());f_(this,a.getVolume(),a.isMuted())};
f_=function(a,b,c){var d=Math.floor(b),e=d+"% "+g.T("YTP_SCREENREADER_VOLUME_SETTING")+(c?" "+g.T("YTP_SCREENREADER_VOLUME_MUTED"):"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.X.style.left=(a.H?60:40)*c+"px";a.C=b};
h_=function(a,b,c,d,e){var f=a.B||a.D||a.A||a.K;a.B=b;a.D=c;a.A=d;a.K=e;b=a.B||a.D||a.A||a.K;f!=b&&(b?a.L=a.O(a.element,"wheel",a.tO):(a.Aa(a.L),a.L=null),g.S(a.N,"ytp-volume-slider-active",b))};
i_=function(a,b){var c=g.X(a),d=UM(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];(c="gaming"==c.playerStyle)&&e.push("ytp-youtube-gaming-button");g.U.call(this,{G:"a",ba:e,P:{href:"{{url}}",target:"_blank",title:g.T("YTP_URL_NAVIGATE_TO",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},J:[c?g.vV?{G:"div",ba:["ytp-icon","ytp-icon-logo-gaming"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 122 36",width:"100%"},J:[{G:"path",
Ra:!0,M:"ytp-svg-fill",P:{d:"M 45.32 10 L 45.32 25.81 L 47.39 25.81 L 47.64 24.75 L 47.68 24.75 C 47.87 25.13 48.17 25.43 48.56 25.65 C 48.95 25.87 49.37 25.98 49.84 25.98 C 50.69 25.98 51.32 25.59 51.72 24.81 C 52.12 24.03 52.32 22.81 52.32 21.15 L 52.32 19.39 C 52.34 18.13 52.26 17.15 52.11 16.44 C 51.96 15.74 51.72 15.23 51.38 14.91 C 51.04 14.60 50.57 14.44 49.98 14.44 C 49.52 14.44 49.08 14.57 48.68 14.83 C 48.48 14.96 48.31 15.11 48.15 15.29 C 48.00 15.46 47.86 15.65 47.75 15.86 L 47.74 15.86 L 47.74 10 L 45.32 10 z M 94.83 10.25 C 93.91 10.25 93.48 10.61 93.48 11.81 C 93.48 13.05 93.91 13.35 94.83 13.35 C 95.77 13.35 96.19 13.05 96.19 11.81 C 96.19 10.66 95.78 10.25 94.83 10.25 z M 67.44 10.31 C 64.14 10.31 63.40 12.21 63.40 16.34 L 63.40 20.15 C 63.40 24.06 64.21 26.00 66.56 26.00 C 68.00 26.00 68.86 25.31 69.19 23.91 L 69.55 25.81 L 71.03 25.81 L 71.03 18.25 L 71.03 18.24 L 67.41 18.24 L 67.41 20.19 L 68.82 20.19 L 68.82 21.47 C 68.82 23.38 68.38 24.10 67.34 24.10 C 66.32 24.10 66 23.12 66 20.52 L 66 16.22 C 66 13.11 66.37 12.19 67.35 12.19 C 68.01 12.19 68.40 12.58 68.53 14.02 C 68.57 14.50 68.59 15.10 68.58 15.83 L 70.83 15.68 C 71.14 12.21 70.35 10.31 67.44 10.31 z M 14.06 10.55 L 13.01 15.24 C 12.72 16.61 12.54 17.58 12.46 18.16 L 12.39 18.16 C 12.27 17.35 12.08 16.38 11.83 15.23 L 10.83 10.56 L 8.33 10.56 L 11.18 20.86 L 11.18 25.80 L 13.66 25.80 L 13.66 20.85 L 16.55 10.55 L 14.06 10.55 z M 30.33 10.56 L 30.33 12.58 L 32.83 12.58 L 32.83 25.81 L 35.27 25.81 L 35.27 12.58 L 37.76 12.58 L 37.76 10.56 L 30.33 10.56 z M 113.35 13.31 C 112.35 13.40 111.89 14.17 111.65 15.17 C 111.12 14.68 110.37 14.47 109.41 14.47 C 107.10 14.47 106.06 15.76 106.06 18.80 L 106.06 19.03 C 106.06 21.16 106.61 22.30 107.57 22.85 C 106.66 23.21 106.14 23.92 106.16 24.76 C 106.18 25.61 106.75 26.05 107.51 26.34 C 106.45 26.61 105.76 27.27 105.76 28.40 C 105.76 30.03 107.14 30.96 109.36 30.96 C 111.91 30.96 113.39 29.76 113.39 27.74 C 113.39 23.92 108.06 25.30 108.07 23.82 C 108.07 23.59 108.17 23.34 108.44 23.16 C 108.73 23.23 109.06 23.25 109.41 23.25 C 111.54 23.25 112.74 22.21 112.74 19.01 L 112.74 18.77 C 112.74 17.70 112.60 16.84 112.33 16.19 C 112.42 16.12 112.51 16.05 112.60 15.99 C 112.90 15.82 113.25 15.73 113.66 15.73 L 113.35 13.31 z M 85.40 14.43 C 84.45 14.43 83.64 14.88 83.07 15.71 C 82.99 15.82 82.91 15.95 82.84 16.08 L 82.81 16.08 L 82.58 14.66 L 80.60 14.66 L 80.60 25.81 L 83.11 25.81 L 83.11 16.91 C 83.38 16.45 83.77 16.21 84.21 16.21 C 84.75 16.21 84.99 16.66 84.99 17.57 L 84.99 25.81 L 87.5 25.81 L 87.5 17.39 C 87.5 17.23 87.50 17.08 87.48 16.93 C 87.75 16.45 88.14 16.21 88.58 16.21 C 89.12 16.21 89.36 16.66 89.36 17.57 L 89.36 25.81 L 91.88 25.81 L 91.88 17.39 C 91.88 15.52 91.29 14.42 89.77 14.43 C 88.77 14.43 87.91 14.95 87.33 15.91 C 87.05 14.97 86.45 14.43 85.40 14.43 z M 102.56 14.43 C 101.77 14.43 101.08 14.77 100.56 15.38 C 100.38 15.59 100.22 15.82 100.08 16.08 L 100.03 16.08 L 99.82 14.66 L 97.83 14.66 L 97.83 25.81 L 100.34 25.81 L 100.34 16.91 C 100.61 16.45 100.99 16.21 101.43 16.21 C 101.99 16.21 102.24 16.72 102.24 17.63 L 102.24 25.81 L 104.75 25.81 L 104.75 17.39 C 104.75 15.52 104.12 14.42 102.56 14.43 z M 19.43 14.46 C 18.59 14.46 17.92 14.63 17.41 14.96 C 16.89 15.29 16.50 15.82 16.26 16.55 C 16.02 17.28 15.91 18.23 15.91 19.43 L 15.91 21.06 C 15.91 22.24 16.02 23.20 16.23 23.91 C 16.44 24.62 16.80 25.15 17.30 25.49 C 17.80 25.83 18.49 26 19.39 26 C 20.25 26 20.92 25.83 21.42 25.5 C 21.92 25.17 22.29 24.63 22.51 23.91 C 22.74 23.19 22.85 22.25 22.85 21.06 L 22.85 19.43 C 22.85 18.23 22.73 17.28 22.50 16.56 C 22.27 15.84 21.91 15.31 21.41 14.97 C 20.91 14.63 20.25 14.46 19.43 14.46 z M 56.83 14.47 C 55.59 14.47 54.70 14.84 54.19 15.61 C 53.68 16.38 53.42 17.60 53.42 19.27 L 53.42 21.23 C 53.42 22.86 53.67 24.05 54.17 24.83 C 54.55 25.40 55.13 25.77 55.92 25.91 C 56.18 25.96 56.46 25.99 56.77 25.99 C 57.80 25.99 58.60 25.74 59.16 25.23 C 59.73 24.72 60.01 23.94 60.01 22.91 C 60.01 22.74 60.01 22.61 60 22.51 L 57.83 22.39 C 57.81 23.06 57.74 23.54 57.60 23.83 C 57.46 24.12 57.21 24.27 56.83 24.27 C 56.55 24.27 56.35 24.18 56.22 24.02 C 56.09 23.86 56.00 23.61 55.96 23.25 C 55.92 22.89 55.90 22.36 55.90 21.64 L 55.90 21.08 L 60.07 21.08 L 60.07 19.16 C 60.07 17.99 59.97 17.08 59.78 16.41 C 59.59 15.75 59.28 15.25 58.82 14.93 C 58.36 14.62 57.69 14.47 56.83 14.47 z M 75.83 14.47 C 73.32 14.47 72.24 15.61 72.46 18.32 L 74.66 18.5 C 74.68 16.77 74.93 16.18 75.73 16.18 C 76.44 16.18 76.59 16.72 76.59 18.27 L 76.59 19.08 C 73.41 19.93 72.22 21.31 72.22 23.33 C 72.22 25.15 73.30 26.06 74.68 26.06 C 75.79 26.06 76.46 25.44 76.82 24.46 L 76.85 24.46 L 77.10 25.82 L 79.01 25.82 L 79.01 18.38 C 79.01 15.78 78.18 14.45 75.83 14.47 z M 24.15 14.66 L 24.15 22.99 C 24.15 24.02 24.32 24.77 24.67 25.25 C 25.03 25.74 25.58 25.99 26.32 25.99 C 27.39 25.99 28.19 25.47 28.72 24.44 L 28.76 24.44 L 28.99 25.81 L 30.94 25.81 L 30.94 14.66 L 28.44 14.66 L 28.44 23.51 C 28.34 23.72 28.2 23.89 28 24.02 C 27.8 24.15 27.58 24.23 27.36 24.23 C 27.10 24.23 26.93 24.12 26.82 23.91 C 26.71 23.70 26.66 23.34 26.66 22.84 L 26.66 14.66 L 24.15 14.66 z M 37.01 14.66 L 37.01 22.99 C 37.01 24.02 37.20 24.77 37.55 25.25 C 37.82 25.62 38.19 25.85 38.67 25.94 C 38.83 25.97 39.00 25.99 39.18 25.99 C 40.25 25.99 41.05 25.47 41.58 24.44 L 41.64 24.44 L 41.85 25.81 L 43.82 25.81 L 43.82 14.66 L 41.32 14.66 L 41.32 23.51 C 41.22 23.72 41.06 23.89 40.86 24.02 C 40.66 24.15 40.46 24.23 40.24 24.23 C 39.98 24.23 39.79 24.12 39.68 23.91 C 39.57 23.70 39.52 23.34 39.52 22.84 L 39.52 14.66 L 37.01 14.66 z M 93.63 14.66 L 93.63 25.82 L 96.02 25.82 L 96.02 14.66 L 93.63 14.66 z M 56.83 16.15 C 57.10 16.15 57.28 16.23 57.41 16.38 C 57.53 16.53 57.62 16.79 57.67 17.16 C 57.72 17.53 57.75 18.07 57.75 18.78 L 57.75 19.58 L 55.91 19.58 L 55.91 18.78 C 55.91 18.05 55.93 17.52 55.97 17.16 C 56.01 16.81 56.09 16.55 56.22 16.39 C 56.35 16.23 56.55 16.15 56.83 16.15 z M 19.36 16.18 C 19.72 16.18 19.96 16.37 20.10 16.74 C 20.24 17.11 20.32 17.69 20.32 18.49 L 20.32 21.96 C 20.32 22.78 20.24 23.38 20.10 23.74 C 19.97 24.11 19.72 24.28 19.36 24.28 C 19.01 24.28 18.77 24.10 18.64 23.74 C 18.51 23.38 18.43 22.78 18.43 21.96 L 18.43 18.49 C 18.43 17.69 18.51 17.11 18.65 16.74 C 18.79 16.37 19.02 16.18 19.36 16.18 z M 109.41 16.19 C 110.12 16.19 110.33 16.73 110.33 18.75 L 110.33 19.14 C 110.33 21.14 110.09 21.63 109.41 21.63 C 108.73 21.63 108.46 21.14 108.46 19.14 L 108.46 18.75 C 108.46 16.74 108.70 16.19 109.41 16.19 z M 48.84 16.22 C 49.09 16.22 49.29 16.31 49.43 16.51 C 49.57 16.71 49.68 17.05 49.73 17.52 C 49.78 17.99 49.81 18.68 49.81 19.55 L 49.81 21 L 49.82 21 C 49.82 21.81 49.79 22.45 49.72 22.91 C 49.65 23.37 49.54 23.70 49.38 23.89 C 49.22 24.08 49.01 24.17 48.74 24.17 C 48.53 24.17 48.33 24.12 48.16 24.02 C 47.98 23.92 47.85 23.78 47.74 23.58 L 47.74 17.25 C 47.82 16.95 47.96 16.70 48.17 16.50 C 48.38 16.31 48.60 16.22 48.84 16.22 z M 76.60 20.36 L 76.60 23.60 C 76.36 23.99 75.98 24.30 75.58 24.30 C 74.98 24.30 74.74 23.81 74.74 22.88 C 74.74 21.66 75.29 20.78 76.60 20.36 z M 108.67 26.65 C 110.00 26.90 111.34 27.06 111.30 28.02 C 111.28 28.64 110.64 29.16 109.48 29.16 C 108.33 29.16 107.76 28.59 107.76 27.81 C 107.76 27.27 108.11 26.85 108.67 26.65 z"}}]}:
g.vV?{G:"div",ba:["ytp-icon","ytp-icon-logo"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]});
this.o=a;this.B=this.A=!1;gV(a,this.element,this,28666);this.U("click",this.D);this.O(a,"videodatachange",this.C);this.C();g.bf(this,GY(b.Gb(),this.element))};
j_=function(a,b,c){g.YF.call(this);var d=this,e=g.X(a);this.A=a;this.o=b;this.X=window.NaN;this.Y=null;this.N=c;this.N.subscribe("autohideupdate",this.iB,this);c=!g.MP(g.MU(a));var f;g.X(a).experiments.g("html5_player_dynamic_bottom_gradient")?this.Z=f=new kZ(a):f=new g.U({G:"div",M:"ytp-gradient-bottom"});g.L(this,f);g.dV(a,f.element,8);this.L=new g.CV(f,250,c,100);g.L(this,this.L);this.l=new g.U({G:"div",M:"ytp-chrome-bottom",J:[{G:"div",M:"ytp-chrome-controls"}]});g.L(this,this.l);g.dV(a,this.l.element,
8);this.I=new g.CV(this.l,250,c,100);g.L(this,this.I);c=this.l.element.children[0];e.isDni&&(c.style.background=e.dniColor);this.g=new YZ(a);g.bf(this.g,function(){a.F==d.g&&(a.F=null)});
g.L(this,this.g);a.F=this.g;g.dV(a,this.g.element,6);this.g.subscribe("show",this.YU,this);this.g.subscribe("show",(0,g.z)(b.aD,b,this.g));this.B=new g.DZ(a,b);g.L(this,this.B);this.B.pa(this.l.element,0);f=new mZ(a,b);g.L(this,f);g.dV(a,f.element,4);this.B.subscribe("height-change",f.oU,f);f=new oZ(a);g.L(this,f);g.dV(a,f.element,4);f=new g.FH({G:"div",M:"ytp-left-controls"});g.L(this,f);f.pa(c);var k=new g.CZ(a,b,!1);g.L(this,k);k.pa(f.element);e.F||(k=new g.AZ(a,b),g.L(this,k),k.pa(f.element));
k=new g.CZ(a,b,!0);g.L(this,k);k.pa(f.element);var l=new g.U({G:"span"});g.L(this,l);l.pa(f.element);if(!e.N&&(this.C=new xZ(a,b),g.L(this,this.C),this.C.pa(l.element),e.I)){k=new g_(a,b,this.l.element);g.L(this,k);k.pa(l.element);l=new g.cG(l.element);g.L(this,l);var m=(0,g.z)(k.ZC,k,!0);l.subscribe("hoverstart",m);l=new g.cG(f.element);g.L(this,l);k=(0,g.z)(k.ZC,k,!1);l.subscribe("hoverend",k)}this.R=new g.e_(a,b);g.L(this,this.R);this.R.pa(f.element);f=new g.FH({G:"div",M:"ytp-right-controls"});
g.L(this,f);f.pa(c);c=new d_(a,b);g.L(this,c);c.pa(f.element);c=new RZ(a,b,this.g);g.L(this,c);ita(this.g,c);c.pa(f.element);c=new tZ(a);g.L(this,c);g.dV(a,c.element,5);c.subscribe("show",(0,g.z)(b.cn,b,c));c=new uZ(a,b,c);g.L(this,c);c.pa(f.element);e.hg&&(this.D=new i_(a,b),g.L(this,this.D),this.D.pa(f.element));c=!1;e.experiments.g("kevlar_miniplayer_button")&&(c=new sZ(a,b),g.L(this,c),c.pa(f.element),c=!0);k=new c_(a,b);g.L(this,k);k.pa(f.element);e.Pa&&(k=new b_(a,b,this.g),g.L(this,k),k.pa(f.element));
e.yf&&(e=new jZ(a,b),g.L(this,e),e.pa(f.element));rka()&&!c&&(e=new zZ(a,b),g.L(this,e),e.pa(f.element));this.W=new rZ(a,b);g.L(this,this.W);this.W.pa(f.element);this.F=new g.ju(this.pO,null,this);g.L(this,this.F);this.H=null;this.O(a,"appresize",this.xt);this.O(a,"fullscreentoggled",this.xt);this.O(a,"presentingplayerstatechange",this.Bu);this.xt()};
jta=function(a,b){if(g.MP(g.MU(a.A))||b){if(b){a.I.hide();a.L.hide();if(a.C){var c=a.C;c.H=!1;g.iV(c.o,c.element,c.B&&!1)}a.D&&(c=a.D,c.B=!1,g.iV(c.o,c.element,c.A&&!1));a.o.Gb().Si(a.la())}}else b||(a.I.show(),a.L.show(),a.C&&(c=a.C,c.H=!0,g.iV(c.o,c.element,c.B&&!0)),a.D&&(c=a.D,c.B=!0,g.iV(c.o,c.element,c.A&&!0)),a.iB())};
kta=function(a){var b=g.NU(a.A).Ia().width;return Math.max(b-2*k_(a),100)};
k_=function(a){var b=a.o.od();return 12*(g.X(a.A).isDni?0:b?2:1)};
g.l_=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.KM(c)||g.LM(c))q.target="_blank";g.U.call(this,{G:"div",ba:["ytp-button","ytp-sb"],J:[{G:"a",M:"ytp-sb-subscribe",P:q,J:[{G:"div",M:"ytp-sb-text",J:[{G:"div",M:"ytp-sb-icon"},a]},b?{G:"div",M:"ytp-sb-count",J:[b]}:""]}]});f&&g.R(this.element,"ytp-sb-classic")}else{g.U.call(this,
{G:"div",ba:["ytp-button","ytp-sb"],J:[{G:"div",M:"ytp-sb-subscribe",P:{tabindex:"-1","aria-label":a},J:[{G:"div",M:"ytp-sb-text",J:[{G:"div",M:"ytp-sb-icon"},a]},b?{G:"div",M:"ytp-sb-count",J:[b]}:""]},{G:"div",M:"ytp-sb-unsubscribe",P:{tabindex:"-1","aria-label":c},J:[{G:"div",M:"ytp-sb-text",J:[{G:"div",M:"ytp-sb-icon"},c]},d?{G:"div",M:"ytp-sb-count",J:[d]}:""]}]});var u=this;this.o=k;var C=this.g["ytp-sb-subscribe"],I=this.g["ytp-sb-unsubscribe"];f&&g.R(this.element,"ytp-sb-classic");if(e){l&&
g.R(this.element,"ytp-sb-subscribed");a=g.X(r);var N=null;"gaming"==a.playerStyle&&(N="gaming_channels");if(m){var Z=a.baseYtUrl+"subscription_ajax";var V=function(){return{method:"POST",Uc:{action_create_subscription_to_channel:1,c:u.o},Kb:{feature:m,silo_name:N},withCredentials:!0}};
var Ga=function(){return{method:"POST",Uc:{action_remove_subscriptions:1},Kb:{c:u.o,silo_name:N,feature:m},withCredentials:!0}}}else if(n)Z="/subscription_service",V=function(){return{method:"POST",
Uc:{action_subscribe:1},Kb:{channel_ids:u.o,itct:n}}},Ga=function(){return{method:"POST",
Uc:{action_unsubscribe:1},Kb:{channel_ids:u.o,itct:n}}};
else return;var oa=function(){g.GE(Z,V());r.ra("SUBSCRIBE");I.focus();I.removeAttribute("aria-hidden");C.setAttribute("aria-hidden",!0)},qc=function(){g.GE(Z,Ga());
r.ra("UNSUBSCRIBE");C.focus();C.removeAttribute("aria-hidden");I.setAttribute("aria-hidden",!0)};
this.O(C,"click",oa);this.O(I,"click",qc);this.O(C,"keypress",function(a){13==a.keyCode&&oa(a)});
this.O(I,"keypress",function(a){13==a.keyCode&&qc(a)});
var ie=(0,g.z)(this.A,this),$a=(0,g.z)(this.B,this);r.addEventListener("SUBSCRIBE",ie);r.addEventListener("UNSUBSCRIBE",$a);g.bf(this,function(){r.removeEventListener("SUBSCRIBE",ie);r.removeEventListener("UNSUBSCRIBE",$a)})}else g.R(C,"ytp-sb-disabled"),g.R(I,"ytp-sb-disabled")}};
g.mta=function(a,b,c,d,e,f){b=lta(b,c,f);d=d||375;e=e||440;if(b=window.open(b,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes",!0))c=g.mG("LOGGED_IN",function(b){g.nG(g.cE("LOGGED_IN_PUBSUB_KEY",void 0));g.bE("LOGGED_IN",!0);a(b)}),g.bE("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
lta=function(a,b,c){var d="/signin?context=popup";c&&(d=window.document.location.protocol+"//"+c+d);c=window.document.location.protocol+"//"+window.document.domain+"/post_login";a&&(c=Tg(c,"mode",a));a=Tg(d,"next",c);b&&(a=Tg(a,"feature",b));return a};
m_=function(a){var b=new g.U({G:"a",M:"ytp-title-channel-logo",P:{href:"{{channelLink}}",target:"_blank"}});g.U.call(this,{G:"div",M:"ytp-title",J:[{G:"div",M:"ytp-title-channel",J:[b,{G:"div",M:"ytp-title-channel-popup",J:[{G:"div",M:"ytp-title-channel-heading",J:[{G:"h2",M:"ytp-title-channel-text",J:[{G:"a",P:{href:"{{popupChannelLink}}",target:"_blank"},J:["{{popupChannelName}}"]}]},{G:"h3",M:"ytp-title-channel-subtext",J:["{{subscriberCount}}"]}]}]}]},{G:"div",M:"ytp-title-text",J:[{G:"a",ba:["ytp-title-link",
"yt-uix-sessionlink"],P:{target:"_blank",href:"{{url}}","data-sessionlink":"feature=player-title"},J:["{{title}}"]},{G:"div",M:"ytp-title-subtext",J:[{G:"a",M:"ytp-title-channel-name",P:{href:"{{channelLink}}",target:"_blank"},J:["{{channelName}}"]},{G:"span",M:"ytp-title-view-count",J:["{{viewCount}}"]}]}]}]});g.L(this,b);this.o=a;this.B=null;this.R=this.g["ytp-title-link"];this.A=this.g["ytp-title-channel"];this.F=b;this.K=this.g["ytp-title-channel-popup"];this.C=null;this.D=!1;this.H=this.N=this.L=
null;gV(a,this.element,this,23851);gV(a,b.element,this,36925);this.O(a,"videodatachange",this.I);this.O(a,"videoplayerreset",this.I);g.X(a).D&&nta(this);this.I()};
nta=function(a){var b=new g.U({G:"div",M:"ytp-title-beacon"});g.L(a,b);b.pa(a.A,0);b=g.X(a.o).Wc?null:lta();var c=a.o.getVideoData(),d=new g.l_(g.T("YTP_SUBSCRIBE"),null,g.T("YTP_SUBSCRIBED"),null,!0,!1,c.Rl,c.subscribed,"embed_title",null,b,a.o);a.C=d;g.L(a,d);d.pa(a.K);gV(a.o,d.element,a,36926);b={G:"div",M:"ytp-title-notifications-on",P:{title:g.T("YTP_SUBSCRIBE_NOTIFY_ON",void 0,"")},J:[g.Ipa()]};c={title:g.T("YTP_SUBSCRIBE_NOTIFY_OFF",void 0,"")};var e=new g.U({G:"button",ba:["ytp-button","ytp-title-notifications"],
J:[b,{G:"div",M:"ytp-title-notifications-off",P:c,J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-notifications-inactive"]}:{G:"svg",P:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},J:[{G:"path",P:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});g.L(a,e);e.pa(a.K);gV(a.o,e.element,a,36927);a.O(a.o,"SUBSCRIBE",
function(){g.R(a.element,"ytp-subscribed")});
a.O(a.o,"UNSUBSCRIBE",function(){a.D=!1;g.Fq(a.element,"ytp-subscribed");g.Fq(a.element,"ytp-notifications-enabled")});
a.O(a.A,"mouseenter",function(){if(524<=a.o.Rs().width){a.H.stop();var b=a.o.getRootNode();g.R(b,"ytp-title-channel-expanded");g.Fq(b,"ytp-title-channel-collapsed");g.iV(a.o,d.element,!0);g.iV(a.o,e.element,!0)}});
a.O(a.A,"mouseleave",function(){a.H.start();g.iV(a.o,d.element,!1);g.iV(a.o,e.element,!1)});
a.O(a.A,"click",function(){g.hV(a.o,a.A)});
a.O(d.element,"click",function(){g.hV(a.o,d.element)});
a.O(e.element,"click",function(){g.hV(a.o,e.element);g.GE("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Kb:{channel_id:a.N,receive_all_updates:!a.D}});a.D=!a.D;g.S(a.element,"ytp-notifications-enabled",a.D)});
a.H=new g.mu(function(){var b=a.o.getRootNode();g.Dq(b,"ytp-title-channel-expanded")&&(g.Fq(b,"ytp-title-channel-expanded"),g.R(b,"ytp-title-channel-collapsed"))},500);
g.L(a,a.H)};
ota=function(a){var b=a.o.getVideoData(),c=2==a.o.Qa()&&b.isListed;c=b.videoId&&(c||g.X(a.o).D);var d=a.o.getRootNode();if(c&&b.videoId==a.L)g.R(d,"ytp-title-extra-info"),g.iV(a.o,a.F.element,!0);else if(g.Fq(d,"ytp-title-extra-info"),g.iV(a.o,a.F.element,!1),c&&b.author&&b.channelPath&&b.profilePicture){c=b.videoId;d=b.Rl;var e=b.author,f=b.channelPath,k=b.profilePicture;b=b.nu;f=g.X(a.o).protocol+"://"+TM(g.X(a.o))+f;a.F.element.style.backgroundImage="url("+k+")";a.C&&(a.C.o=d);a.F.updateValue("channelLink",
f);a.updateValue("channelLink",f);2==a.o.Qa()?a.updateValue("channelName",e):a.updateValue("channelName","");a.updateValue("popupChannelLink",f);a.updateValue("popupChannelName",e);a.updateValue("subscriberCount",b);a.N=d;a.L=c;ota(a)}};
g.n_=function(a,b){var c=g.NU(a).Ia();g.U.call(this,{G:"div",J:[{G:"div",M:"ytp-tooltip-bg",J:[{G:"div",M:"ytp-tooltip-duration",J:["{{duration}}"]}]},{G:"div",M:"ytp-tooltip-text-wrapper",J:[{G:"div",M:"ytp-tooltip-image"},{G:"div",M:"ytp-tooltip-title",J:["{{title}}"]},{G:"span",M:"ytp-tooltip-text",J:["{{text}}"]}]}]});this.N=a;this.fa=b;this.ca=g.X(a).l;this.H=this.g["ytp-tooltip-bg"];this.ia=this.g["ytp-tooltip-image"];this.ea=(0,g.z)(this.bR,this);this.R=(0,g.z)(this.dR,this);this.W=(0,g.z)(this.af,
this);this.A=null;this.I=new g.CV(this,100);g.L(this,this.I);this.o=null;this.L=!1;this.B=null;this.D=window.NaN;this.F="";this.da=c.width;this.K=!0;this.C=1;this.X=new g.mu(this.yK,250,this);g.L(this,this.X);this.Z=new g.mu(this.af,5E3,this);g.L(this,this.Z)};
p_=function(a,b){if(null!=a.o)if(b)switch(a.o){case 3:case 2:o_(a);a.I.show();break;default:a.I.show()}else a.I.hide();a.K=b};
GY=function(a,b){if(a.ca)return g.y;b.addEventListener("mouseover",a.R);return(0,g.z)(function(){this.A==b&&this.af();b.removeEventListener("mouseover",this.R)},a)};
qta=function(a,b,c){if(a.o)if(3==a.o)a.af();else return;pta(a,b,3,c)};
pta=function(a,b,c,d){(0,window.isNaN)(a.D)||(a.D=window.NaN,a.H.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.ia.style.backgroundImage="url("+d+")";g.S(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.S(a.element,"ytp-tooltip-opaque",!!b);a.o=c;a.N.addEventListener("appresize",a.W);a.K&&(o_(a),a.I.show(0))};
o_=function(a){var b=a.A.getAttribute("data-tooltip-text");if(b&&!a.L){a.updateValue("text",b);var c=a.A.getAttribute("data-duration");a.update({title:a.F,duration:c});var d=a.A.getAttribute("data-preview"),e=160*a.C,f=90*a.C,k=160*a.C,l=90*a.C;a.H.style.width=e+"px";a.H.style.height=f+"px";a.H.style.backgroundImage=d?"url("+d+")":"";a.H.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.H.style.backgroundSize=k+"px "+l+"px";g.Eq(a.element,["ytp-text-detail","ytp-preview"]);g.S(a.element,"ytp-has-duration",
!!c)}else a.updateValue("text",a.F),g.Gq(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.o?a.element.setAttribute("role","status"):a.element.removeAttribute("role");rta(a,!!b)};
rta=function(a,b,c){a.element.style.maxWidth=b?"":Math.min(a.da,300*a.C)+"px";a.fa.zo(a.element,a.A,c,1==a.o);a.element.style.top?g.R(a.element,"ytp-bottom"):a.element.style.bottom&&g.R(a.element,"ytp-top");3==a.o&&a.Z.start()};
yZ=function(a){a.A&&!a.L&&a.A.hasAttribute("title")&&(a.F=a.A.getAttribute("title"),a.A.removeAttribute("title"),a.K&&o_(a))};
sta=function(a,b){g.S(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.D)){a.D=b;var c=160*a.C,d=160*a.C,e=sN(a.B,a.D,c);lZ(a.H,e,c,d,!0);a.X.start()}};
uta=function(a,b,c){tta("add_to_watch_later_list",a,b,c)};
vta=function(a,b,c){tta("delete_from_watch_later_list",a,b,c)};
tta=function(a,b,c,d){g.GE(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",Uc:{feature:b.feature||null,authuser:b.Wc||null,pageid:b.pageId||null},Kb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.D3||null,add_to_playlists:b.r3||null,plid:g.cE("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(a,c){b.onSuccess.call(this,a,c)},
rd:b.rd,withCredentials:!!d})};
r_=function(a,b,c){g.U.call(this,{G:"button",ba:["ytp-watch-later-button","ytp-button"],P:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.X(a).D)},J:[{G:"div",M:"ytp-watch-later-icon",J:["{{icon}}"]},{G:"div",M:"ytp-watch-later-title",J:["{{watch_later}}"]}]});this.o=a;this.H=b.Gb();this.I=c;this.D=null;this.F=this.C=this.B=this.A=!1;gV(a,this.element,this,28665);this.U("click",this.vO,this);this.O(a,"videoplayerreset",this.wO);this.O(a,"appresize",this.Nc);this.Nc(g.NU(a).Ia());
a=g.X(this.o);c=g.hH("yt-player-watch-later-pending");a.g&&c?(oH(),wta(this,c.videoId)):q_(this,2);g.bf(this,GY(b.Gb(),this.element))};
wta=function(a,b){if(!a.B){a.B=!0;q_(a,3);var c=g.X(a.o);(a.A?vta:uta)({videoIds:b,Wc:c.Wc,pageId:c.pageId,onError:a.jT,onSuccess:a.A?a.kT:a.iT,context:a},c.baseYtUrl,!0)}};
q_=function(a,b,c){if(b!=a.D){switch(b){case 3:var d=jX();break;case 1:d=Bpa();break;case 2:d=g.vV?{G:"div",ba:["ytp-icon","ytp-icon-watch-later"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};break;case 4:d=g.vV?{G:"div",ba:["ytp-icon","ytp-icon-alert"]}:
{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}}a.updateValue("icon",d);a.D=b}b=g.X(a.o);c?a.update({title:c,image:null}):b.userDisplayName?(c={USER_NAME:b.userDisplayName},a.update({title:a.A?g.T("YTP_ADDED_TO_WATCH_LATER_AS",
c):g.T("YTP_WATCH_LATER_AS_2",c),image:b.userDisplayImage})):a.update({title:g.T("YTP_WATCH_LATER_2"),image:null});yZ(a.H)};
s_=function(a){g.U.call(this,{G:"a",ba:["ytp-watermark","yt-uix-sessionlink"],P:{target:"_blank",href:"{{url}}","aria-label":g.T("YTP_URL_NAVIGATE_TO",{WEBSITE:UM(g.X(a))}),"data-sessionlink":"feature=player-watermark"},J:[g.vV?{G:"div",ba:["ytp-icon","ytp-icon-watermark"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}]});
this.A=a;this.o=null;this.O(a,"videodatachange",this.B);this.O(a,"presentingplayerstatechange",this.D);a=g.MU(a);g.KH(this,!g.W(a,2));this.B()};
t_=function(a){AY.call(this,a);var b=g.X(a),c=g.NU(a);this.ma=48;this.ia=69;b.D&&(this.ma=42,this.ia=63);var d=g.X(this.g),e=d.H;if(II("ytp-normal-css-loaded")){var f=II("ytp-sprite-mode-css-loaded");e!=f&&g.dE(Error("Player sprite mode mismatch. playerInSpriteMode: "+e+", spriteModeCssServed: "+f+", isMobile: "+d.l),"WARNING")}this.L=null;this.F=[];d=new g.U({G:"div",M:"ytp-gradient-top"});g.L(this,d);g.dV(a,d.element,1);this.Na=new g.CV(d,250,!0,100);g.L(this,this.Na);this.A=new g.U({G:"div",M:"ytp-chrome-top"});
g.L(this,this.A);g.dV(a,this.A.element,1);this.Ma=new g.CV(this.A,250,!0,100);g.L(this,this.Ma);this.Z=[];this.D=new g.n_(a,this);g.L(this,this.D);g.dV(a,this.D.element,4);b.g&&b.Kc&&(this.Db=new aZ(a,this),g.L(this,this.Db),g.dV(a,this.Db.element,4));d=new dZ(a);g.L(this,d);g.dV(a,d.element,5);d.subscribe("show",(0,g.z)(this.cn,this,d));this.Z.push(d);d=new eZ(a,this,d);g.L(this,d);d.pa(this.A.element);this.ya=new m_(a);g.L(this,this.ya);this.ya.pa(this.A.element);d=new g.FH({G:"div",M:"ytp-chrome-top-buttons"});
g.L(this,d);d.pa(this.A.element);b.sm&&(this.da=new r_(a,this,this.A.element),g.L(this,this.da),this.da.pa(d.element));e=new gZ(a,this);g.L(this,e);g.dV(a,e.element,5);e.subscribe("show",(0,g.z)(this.cn,this,e));this.Z.push(e);this.Ca=new hZ(a,this,e,this.A.element);g.L(this,this.Ca);this.Ca.pa(d.element);b.Ji&&(e=new iZ(a),g.L(this,e),g.dV(a,e.element,4));this.N=new FY(a,this,this.A.element);g.L(this,this.N);this.N.pa(d.element);e=new HY(a,this.N);g.L(this,e);e.pa(d.element);(this.l="1"==b.A?new j_(a,
this,this.o):null)&&g.L(this,this.l);"3"==b.A&&(d=new fZ(a,this),g.L(this,d),g.dV(a,d.element,8));this.H=new XY(a,this,this.C);g.L(this,this.H);this.H.subscribe("show",this.HD,this);this.fa=!1;b.Fg&&(d=new s_(a),g.L(this,d),g.dV(a,d.element,7));d=new JV(a,new NV(a));g.L(this,d);g.dV(a,d.element,4);this.W=new g.U({G:"div",P:{tabindex:"0"}});this.W.U("focus",this.bI,this);g.L(this,this.W);this.R=new g.U({G:"div",P:{tabindex:"0"}});this.R.U("focus",this.cI,this);g.L(this,this.R);(this.Y=b.useTabletControls?
null:new YY(a,c,this.H,this.o,this.C,(0,g.z)(this.hn,this)))&&g.L(this,this.Y);this.O(a,"fullscreentoggled",this.EN);this.O(a,"offlineslatestatechange",this.nR,this);this.O(a,"cardstatechange",this.gg,this)};
u_=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=wh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=u_(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndex<d.tabIndex&&(d=e):d=e)}b=c?b.previousElementSibling:b.nextElementSibling}return d};
g.v_=function(a){g.jV.call(this,a);this.load()};
x_=function(a,b,c){g.K.call(this);var d=this;this.B=a||window.NaN;this.l=b||null;this.o=1E3*c||0;this.A=new g.mu(function(){return w_(d)},this.o/5);
g.L(this,this.A);this.o&&this.A.start();this.g=[]};
w_=function(a){if(a.o){for(;a.g.length&&a.g[0].time+a.o<g.AG();)a.remove(a.g[0].key,!0);a.A.start()}};
y_=function(){this.g=[];this.l=[];this.o=[]};
yta=function(a,b,c){c=g.Ed(c?"AUDIO":"VIDEO");g.Fa(c,xta);g.KF(c,"loadeddata",(0,g.z)(c.l,c));EM&&6<=z_&&g.KF(c,"webkitbeginfullscreen",(0,g.z)(c.play,c));a.l.push(c);b?a.o.push(c):A_(a,c);return c};
A_=function(a,b){g.Qa(a.l,b)&&!g.Qa(a.g,b)&&(b.src||b.load(),g.Va(a.o,b)||a.g.push(b))};
B_=function(a){g.K.call(this);this.l=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.g=window.IntersectionObserver?new window.IntersectionObserver((0,g.z)(this.o,this),b):null)&&this.g.observe(a)};
C_=function(a){var b=a.g,c=["html5-video-player"];b.isDni&&c.push("ytp-dni");g.U.call(this,{G:"div",ba:c,P:{tabindex:"-1",id:a.fa.attrs.id},J:[{G:"div",M:"html5-video-container",P:{"data-layer":"0"}},{G:"input",M:"ytp-attestation-challenge",P:{id:"atr_challenge",type:"hidden",value:"","data-layer":"0"}}]});b.Im&&this.po("ytp-transparent");g.tF(this.element,"version",a.fa.assets.js);this.app=a;this.D=this.g["html5-video-container"];this.ca=this.g["ytp-attestation-challenge"];this.A=new g.eh(0,0,0,
0);this.o=null;this.H=new g.eh(0,0,0,0);this.K=this.R=this.N=window.NaN;this.F=!1;this.I=window.NaN;this.L=!1;this.C=null;this.addEventListener=(0,g.z)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.z)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
this.W=(0,g.z)(function(){this.element.focus()},this);
YM(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.Z="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.kd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.kd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.kd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.kd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.kd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.kd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.kd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.kd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.kd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.kd(640,360)}]);this.X=b.ln;this.B=new g.kd(window.NaN,window.NaN);g.lH({YTP_ADVERTISEMENT:"Advertisement",YTP_AD_BADGE:"Ad",YTP_AD_NOTIFICATION:"Ad in $X_SECONDSs",
YTP_AD_POD_POSITION:"$AD_INDEX of $ADS_COUNT",YTP_AD_PREVIEW_NONSKIPPABLE:"Video will play after ad",YTP_AD_PREVIEW_NONSKIPPABLE_COUNTDOWN:"Your video will begin in $TIME_REMAINING",YTP_AD_SETTING_TEXT:"Visit Google's $AD_SETTING_LINK_TEXT to learn more about how ads are targeted or to opt out of personalized ads.",YTP_AD_SETTING_LINK_TEXT:"Ad Settings",YTP_WHY_THIS_AD_TITLE:"Why this ad?",YTP_AD_SETTINGS_TOOLTIP:"Click for Ad Settings",YTP_CLOSE_AD_INFO_DIALOG:"Got It",YTP_AIRPLAY:"AirPlay",YTP_AUDIO_TRACK_TITLE:"Audio track",
YTP_AUTO:"Auto",YTP_CAN_SKIP_AD_SOON:"You can skip to video in $TIME_REMAINING",YTP_CARDS_BUTTON_ARIA_LABEL:"Show cards",YTP_CARDS_BUTTON_INFO:"Info",YTP_CARDS_BUTTON_SHOPPING:"Shopping",YTP_COPY_DEBUG_INFO:"Copy debug info",YTP_COPY_VIDEO_URL:"Copy video URL",YTP_COPY_VIDEO_URL_AT_TIME:"Copy video URL at current time",YTP_GET_DEBUG_INFO:"Get debug info",YTP_GET_VIDEO_URL:"Get video URL",YTP_GET_VIDEO_URL_AT_TIME:"Get video URL at current time",YTP_GET_EMBED:"Get embed code",YTP_PLAYBACK_SPEED_CHANGED:"Speed is $RATE",
YTP_DEFAULT_VIEW:"Default view",YTP_EMBED_COPY:"Copy embed code",YTP_ERROR_GENERIC_WITHOUT_LINK:"An error occurred. Please try again later.",YTP_ERROR_GENERIC_WITH_LINK_AND_CPN:"An error occurred. Please try again later. (Playback ID: $CPN) $BEGIN_LINKLearn More$END_LINK",YTP_EXIT_FULLSCREEN:"Exit full screen",YTP_FULLSCREEN_GENERIC_ERROR:"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK",YTP_FULLSCREEN_UNSUPPORTED_ERROR:"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK",
YTP_VOLUME_UNSUPPORTED_ERROR:"Your browser doesn't support changing the volume. $BEGIN_LINKLearn More$END_LINK",YTP_FULLSCREEN:"Full screen",YTP_GOTO_LIVE_TOOLTIP:"Skip ahead to live broadcast.",YTP_LIVE:"Live",YTP_LIVE_NOW:"LIVE NOW",YTP_LOOP:"Loop",YTP_MORE:"More",YTP_MORE_FROM_CHANNEL:"More videos from $DNI_RELATED_CHANNEL",YTP_MORE_VIDEOS:"More videos",YTP_MDX_TOOLTIP:"Play on TV",YTP_MUTE:"Mute",YTP_NEXT:"Next",YTP_NORMAL_SPEED:"Normal",YTP_ON:"On",YTP_OFF:"Off",YTP_OPTIONS:"Options",YTP_PREVIOUS:"Previous",
YTP_PLAYBACK_STALLED_AT_START:"If playback doesn't begin shortly, try restarting your device.",YTP_MISSING_FORMATS:"Missing options?",YTP_MORE_ON_YOUTUBE:"More videos on YouTube",YTP_PLAYLIST:"Playlist",YTP_QUALITY_TITLE:"Quality",YTP_REPLAY:"Replay",YTP_TROUBLESHOOT_ISSUE:"Troubleshoot playback issue",YTP_SETTINGS:"Settings",YTP_SHARE:"Share",YTP_SHARE_LINK:"Share link",YTP_SHARE_WITH_PLAYLIST_2:"Include playlist",YTP_SHOW_VIDEO_INFO:"Stats for nerds",YTP_SIGN_IN:"Sign in",YTP_SKIP_AD:"Skip Ad",
YTP_SKIP_INTRO:"Skip Intro",YTP_SPEED_TITLE:"Speed",YTP_SUBSCRIBE:"Subscribe",YTP_SUBSCRIBED:"Subscribed",YTP_SUBSCRIBE_NOTIFY_OFF:"Get notified about every new video",YTP_SUBSCRIBE_NOTIFY_ON:"Stop getting notified about every new video",YTP_SUBTITLES:"Subtitles/CC",YTP_SUBTITLES_TOOLTIP:"Subtitles/closed captions",YTP_SUBTITLES_OFF:"Subtitles/closed captions off",YTP_SUBTITLES_ON:"Subtitles/closed captions on",YTP_TAP_TO_UNMUTE_SHORT:"Tap to unmute",YTP_THEATER_MODE:"Theater mode",YTP_UNMUTE:"Unmute",
YTP_URL_NAVIGATE_TO:"Watch on $WEBSITE",YTP_WATCH_ALL:"Watch entire video",YTP_WATCH_LATER_2:"Watch later",YTP_WATCH_LATER_AS_2:"Watch later as $USER_NAME",YTP_ADDED_TO_WATCH_LATER_AS:"Added as $USER_NAME",YTP_PLAY:"Play",YTP_ERROR_LICENSE:"Sorry, there was an error licensing this video.",YTP_ERROR_VIDEO_NOT_FOUND:"This video can not be found.",YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE:"This video has already been downloaded on the maximum number of devices allowed by the copyright holder. Before you can play the video here, it needs to be unpinned on another device.",
YTP_ERROR_PURCHASE_NOT_FOUND:"This video requires payment.",YTP_ERROR_PURCHASE_REFUNDED:"This video's purchase has been refunded.",YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK:"Your account is playing this video in another location. Please reload this page to resume watching.",YTP_ERROR_TOO_MANY_STREAMS_PER_USER:"Playback stopped because too many videos belonging to the same account are playing.",YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT:"Playback stopped because this video has been played on too many devices.",
YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED:"Too many devices/IP addresses have been used over the 24 hour period.",YTP_ERROR_STREAM_LICENSE_NOT_FOUND:"Video playback interrupted. Please try again.",YTP_CLOSE:"Close",YTP_ANNOTATIONS:"Annotations",YTP_SEEK_SLIDER:"Seek slider",YTP_PAUSE:"Pause",YTP_AUTOPLAY:"Autoplay",YTP_RESET:"Reset",YTP_STOP:"Stop live playback",YTP_SCREENREADER_VOLUME_SETTING:"volume",YTP_SCREENREADER_VOLUME_MUTED:"muted",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK:"This video format is not supported.",
YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK:"Your browser does not currently recognize any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK",YTP_HTML5_FLASH_DEPRECATED:"Flash videos are no longer supported. For the best experience, please upgrade your browser to the latest version. $BEGIN_LINKLEARN MORE$END_LINK",YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED:"The device in the cast session doesn't match the requested one.",
YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED:"The video in the cast session doesn't match the requested one.",YTP_ERROR_CAST_TOKEN_EXPIRED:"Cast session was expired. Please refresh.",YTP_ERROR_CAST_TOKEN_FAILED:"Cast session not available. Please refresh or try again later.",YTP_ERROR_CAST_TOKEN_MALFORMED:"Invalid cast session. Please refresh or try again later.",YTP_ERROR_GEO_FAILURE:"This video isn't available in your country.",YTP_ERROR_INVALID_DRM_MESSAGE:"The DRM system specific message is invalid.",
YTP_ERROR_RENTAL_EXPIRED:"This video's rental has expired.",YTP_ERROR_RETRYABLE_ERROR:"There was a temporary server error. Please try again later.",YTP_ERROR_SERVER_ERROR:"There was an internal server error. Please try again later.",YTP_ERROR_STREAMING_NOT_ALLOWED:"Playback not allowed because this video is pinned on another device.",YTP_ERROR_UNSUPPORTED_DEVICE:"Playback isn't supported on this device.",YTP_ERROR_VIDEO_FORBIDDEN:"Access to this video is forbidden.",YTP_ERROR_VIDEO_UNAVAILABLE:"Video unavailable",
YTP_ERROR_FORMAT_UNAVALIABLE:"This video isn't avaliable at the selected quality. Please try again later.",YTP_DEVICE_FALLBACK:"Sorry, this video is not available on this device.",YTP_VISIT_ADVERTISERS_SITE:"Visit advertiser's site",YTP_PROGRESS_LABEL_2:"$PLAY_PROGRESS of $DURATION",YTP_PLAYLIST_NAME:"Playlist: $PLAYLIST_NAME",YTP_PLAYLIST_POSITION:"$CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SHARE_PANEL_ERROR:"An error occurred while retrieving sharing information. Please try again later.",YTP_PLAYLIST_AUTHOR_AND_POSITION:"by $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH",
YTP_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_PIP:"Picture in Picture",YTP_AUTO_TRANSLATE:"Auto-translate",YTP_SWITCH_CAMERA:"Switch camera",YTP_MULTICAM_INDEX:"Viewing $CAMERA_INDEX of $CAMERA_COUNT",YTP_MORE_CAMERAS_AVAILABLE:"More cameras available",YTP_VIDEO_SUBTITLES_OVERRIDE:"Video Override",
YTP_VIDEO_SUBTITLES_OVERRIDE_DESC:"Allow for a different caption style if specified by the video.",YTP_WATCH_VIDEO_OR_PLAYLIST:"Watch $TITLE",YTP_FONT_FAMILY:"Font family",YTP_FONT_SIZE:"Font size",YTP_FONT_COLOR:"Font color",YTP_FONT_OPACITY:"Font opacity",YTP_BACKGROUND_COLOR:"Background color",YTP_BACKGROUND_OPACITY:"Background opacity",YTP_WINDOW_COLOR:"Window color",YTP_WINDOW_OPACITY:"Window opacity",YTP_COLOR_WHITE:"White",YTP_COLOR_YELLOW:"Yellow",YTP_COLOR_GREEN:"Green",YTP_COLOR_CYAN:"Cyan",
YTP_COLOR_BLUE:"Blue",YTP_COLOR_MAGENTA:"Magenta",YTP_COLOR_RED:"Red",YTP_COLOR_BLACK:"Black",YTP_FONT_FAMILY_MONO_SERIF:"Monospaced Serif",YTP_FONT_FAMILY_PROP_SERIF:"Proportional Serif",YTP_FONT_FAMILY_MONO_SANS:"Monospaced Sans-Serif",YTP_FONT_FAMILY_PROP_SANS:"Proportional Sans-Serif",YTP_FONT_FAMILY_CASUAL:"Casual",YTP_FONT_FAMILY_CURSIVE:"Cursive",YTP_FONT_FAMILY_SMALL_CAPS:"Small Capitals",YTP_CHAR_EDGE_STYLE:"Character edge style",YTP_EDGE_STYLE_NONE:"None",YTP_EDGE_STYLE_RAISED:"Raised",
YTP_EDGE_STYLE_DEPRESSED:"Depressed",YTP_EDGE_STYLE_OUTLINE:"Outline",YTP_EDGE_STYLE_DROP_SHADOW:"Drop Shadow",YTP_CONTRIBUTE_MENU_ITEM:"Add subtitles/CC",YTP_ASR_SETTINGS_LABEL:"Automatic Captions",YTP_LANGUAGE_OFF:"Off",YTP_MINIPLAYER_BUTTON:"Activate miniplayer"});zta(this);this.O(a.l,"mutedautoplaychange",this.GN)};
zta=function(a){var b=a.app.l,c=(0,g.z)(a.kJ,a),d=(0,g.z)(a.lJ,a),e=(0,g.z)(a.FN,a),f=(0,g.z)(a.NI,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.bf(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
Ata=function(a){a.o&&(a.o.removeEventListener("focus",a.W),g.Kd(a.o),a.o=null)};
Bta=function(a,b){if(a.o){var c=a.app.g;SI&&(a.o.setAttribute("x-webkit-airplay","allow"),b.title?a.o.setAttribute("title",b.title):a.o.removeAttribute("title"));a.app.g.experiments.g("html5_no_360_remote_killswitch")||(DO(b)?a.o.setAttribute("disableremoteplayback",""):a.o.removeAttribute("disableremoteplayback"));a.o.setAttribute("controlslist","nodownload");c.vn&&b.videoId&&(a.o.poster=b.Xc(c,"default.jpg"))}c=g.LO(b,"yt:bgcolor");a.D.style.backgroundColor=c?c:"";a.N=wM(g.LO(b,"yt:stretch"));a.R=
wM(g.LO(b,"yt:crop"),!0);a.hf()};
g.E_=function(a){var b=a.app.g.experiments.g("html5_aspect_from_adaptive_format");if(b){var c=g.LU(a.app);if((c=c?c.getVideoData():null)&&yO(c)&&c.Ka.g)return b=c.Ka.videoInfos[0],D_(b.video.width,b.video.height)}return(a=a.o)?D_(a.videoWidth,a.videoHeight):b?16/9:window.NaN};
g.F_=function(a,b){var c=a.Ia(),d=Cta(a,c,g.E_(a),b);return new g.eh((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
Cta=function(a,b,c,d){(0,window.isNaN)(a.N)||(c=a.N);var e=c;(0,window.isNaN)(a.K)?(0,window.isNaN)(a.R)||(e=a.R):e=a.K;a=D_(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};
D_=function(a,b){return 1>Math.abs(G_*b-a)||1>Math.abs(G_/a-b)?G_:a/b};
H_=function(a){if(1==a.app.N)return!1;var b=g.MU(a.app.l);a=g.W(b,1024)&&!a.app.g.experiments.g("dompaused_video_visible_killswitch");return b&&!g.W(b,2)&&!a&&!g.MP(b)};
vW=function(a){var b="3"==a.app.g.A&&!a.F&&H_(a)&&!a.app.Y;a.o.controls=b;a.o.tabIndex=b?0:-1;b?a.o.removeEventListener("focus",a.W):a.app.g.experiments.g("disable_focus_redirect")||a.o.addEventListener("focus",a.W)};
Dta=function(a){var b=g.E_(a),c=a.Ia(),d=1,e=!1,f=Cta(a,c,b),k=WE();if(H_(a)){var l=(0,window.isNaN)(b)||RL||zT&&g.Ek;SI&&!g.sc(601)?b=f.aspectRatio:l=l||"3"==a.app.g.A;l?l=new g.eh(0,0,c.width,c.height):(d=f.aspectRatio/b,l=new g.eh((c.width-f.width/d)/2,(c.height-f.height)/2,f.width/d,f.height),1==d&&g.Ek&&(b=l.width-c.height*b,0<b&&(l.width+=b,l.height+=b)));k&&(a.o.style.display="");a.L=!0}else b=-c.height,SI?b*=window.devicePixelRatio:g.GH&&(b-=window.screen.height),l=new g.eh(0,b,c.width,c.height),
k&&(a.o.style.display="none"),a.L=!1;g.gh(a.H,l)||(a.H=l,g.XM(a.app.g)?(a.o.style.setProperty("width",l.width+"px","important"),a.o.style.setProperty("height",l.height+"px","important")):g.Kh(a.o,g.ih(l)),g.zh(a.o,g.jh(l)),e=!0);c=new g.eh((c.width-f.width)/2,(c.height-f.height)/2,f.width,f.height);g.gh(a.A,c)||(a.A=c,e=!0);g.sh(a.o,"transform",1==d?"":"scaleX("+d+")");return e};
I_=function(a){this.H=a;this.C=null;this.g=[];this.o=[];this.B=[];this.F=1;this.l=[];this.A=!1};
g.fV=function(a,b,c){a.A?a.B.push({type:b,data:c}):a.H.T(b,c)};
J_=function(a,b,c,d,e){g.U.call(this,{G:"div",M:"ytp-horizonchart"});this.A=Math.round(a/c);this.I=b;this.D=c;this.F=d;this.H=e;this.Bb=0;this.element.style.width=this.A*this.D+"px";this.element.style.height=this.I+"em";this.o=-1;this.C=this.B=null};
K_=function(a,b){if(-1==a.o){try{var c=g.Ed("CANVAS");a.B=c.getContext("2d")}catch(m){}if(a.B){var d=a.A*a.D;a.C=c;a.C.width=d;a.C.style.width=d+"px";a.element.appendChild(a.C)}else for(a.D=Math.floor(a.D/4),a.A*=4,c=0;c<a.D;c++)d=g.Ed("SPAN"),d.style.width=a.A+"px",d.style.left=a.A*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.o&&(a.o=c,a.B&&(c=1<(window.devicePixelRatio||1)?2:1,a.C.height=a.o*c,a.C.style.height=a.o+"px",a.B.scale(1,c)));c=g.la(b);for(var e=c.next();!e.done;e=
c.next()){d=a;var f=a.Bb,k=e.value;for(e=0;e+2<d.F.length&&d.F[e+1]<k;)e++;k=Math.min(1,(k-d.F[e])/(d.F[e+1]-d.F[e]));if(d.B)d.B.fillStyle=d.H[e],d.B.fillRect(f*d.A,0,d.A,d.o),d.B.fillStyle=d.H[e+1],d.B.fillRect(f*d.A,d.o*(1-k),d.A,d.o);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.o,Math.round(d.o*k*l)/l);f.style.height=k+"px";f.style.backgroundColor=d.H[e+1];f.style.borderTop="solid "+(d.o-k)+"px "+d.H[e]}a.Bb=(a.Bb+1)%a.D}c=a.Bb;a.B?a.B.clearRect(c*a.A,0,a.A,a.o):(c=
a.element.children[c],c.style.height="0px",c.style.borderTop="")};
L_=function(a){var b=null;b={G:"button",ba:["html5-video-info-panel-close","ytp-button"],P:{title:"close"},J:["[x]"]};g.U.call(this,{G:"div",M:"html5-video-info-panel",J:[b,{G:"div",M:"html5-video-info-panel-content",J:[{G:"div",J:[{G:"div",J:["Video ID / sCPN"]},{G:"span",J:["{{video_id_and_cpn}}"]}]},{G:"div",J:[{G:"div",J:["Viewport"]},{G:"span",J:["{{dimensions}}"]}]},{G:"div",J:[{G:"div",J:["Current / Optimal Res"]},{G:"span",J:["{{resolution}}"]}]},{G:"div",J:[{G:"div",J:["Volume / Normalized"]},
{G:"span",J:["{{volume}}"]}]},{G:"div",J:[{G:"div",J:["Codecs"]},{G:"span",J:["{{codecs}}"]}]},{G:"div",P:{style:"{{shader_info_style}}"},J:[{G:"div",J:["Shader Info"]},{G:"span",J:["{{shader_info}}"]}]},{G:"div",P:{style:"{{color_style}}"},J:[{G:"div",J:["Color"]},{G:"span",J:["{{color}}"]}]},{G:"div",P:{style:"{{drm_style}}"},J:[{G:"div",J:["Protected"]},{G:"span",J:["{{drm}}"]}]},{G:"div",P:{style:"{{host_style}}"},J:[{G:"div",J:["Host"]},{G:"span",J:["{{stream_host}}"]}]},{G:"div",P:{style:"{{bandwidth_style}}"},
J:[{G:"div",J:["Connection Speed"]},{G:"span",J:[{G:"span",J:["{{bandwidth_chart}}"]},{G:"span",J:["{{bandwidth_kbps}}"]}]}]},{G:"div",P:{style:"{{network_activity_style}}"},J:[{G:"div",J:["Network Activity"]},{G:"span",J:[{G:"span",J:["{{network_activity_chart}}"]},{G:"span",J:["{{network_activity_bytes}}"]}]}]},{G:"div",J:[{G:"div",J:["Buffer Health"]},{G:"span",J:[{G:"span",J:["{{buffer_health_chart}}"]},{G:"span",J:["{{buffer_health_seconds}}"]}]}]},{G:"div",P:{style:"{{live_latency_style}}"},
J:[{G:"div",J:["Live Latency"]},{G:"span",J:[{G:"span",J:["{{live_latency_chart}}"]},{G:"span",J:["{{live_latency_secs}}"]}]}]},{G:"div",P:{style:"{{live_mode_style}}"},J:[{G:"div",J:["Live Mode"]},{G:"span",J:["{{live_mode}}"]}]},{G:"div",J:[{G:"div",J:["Dropped Frames"]},{G:"span",J:["{{dropped_frames}}"]}]}]}]});b&&this.O(this.g["html5-video-info-panel-close"],"click",this.hide);b=[0,18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "),
d=b.map(function(a){return a/4});
this.B=new J_(300,1,150,b,c);g.L(this,this.B);this.updateValue("bandwidth_chart",this.B);this.D=new J_(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.L(this,this.D);this.updateValue("live_latency_chart",this.D);this.C=new J_(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.L(this,this.C);this.updateValue("buffer_health_chart",this.C);this.F=new J_(300,1,150,d,c);g.L(this,this.F);this.updateValue("network_activity_chart",
this.F);this.A=new g.mu(this.At,500,this);g.L(this,this.A);this.o=a};
Eta=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+kI(a)+")":kI(a))+(a.video&&a.video.isAccelerated?" [acc]":"")};
M_=function(a,b){g.K.call(this);var c=this;this.fa=Zja(b);var d=this.fa.args||{};this.g=new RM(d);g.L(this,this.g);this.g.experiments.g("html5_parse_inline_fallback_host")&&(JK=!0);this.g.experiments.g("html5_vp9_new_mime")&&void 0!=window.navigator.mediaCapabilities&&(ML=!0);this.ae=sM(IM(this.g)&&!0,d.enablesizebutton);this.Pb=sM(!1,d.player_wide);this.Md=this.yd=!1;this.ca=new IT;g.L(this,this.ca);this.W=sM(!1,d.external_list);this.ya=(this.Kd=sM(!1,d.external_play_video))&&this.g.experiments.g("player_unified_fullscreen_transitions");
this.K=new g.YF(this);g.L(this,this.K);zg=function(a,b){g.dE(b,"WARNING")};
this.R=null;this.X=new g.iD;g.L(this,this.X);this.Z=new g.iD;g.L(this,this.Z);this.da=new I_(this.Z);this.da.pause();this.l=new EU(this);g.L(this,this.l);this.H=new EU(this,1);g.L(this,this.H);this.F=new C_(this);g.L(this,this.F);this.N=1;this.Xa={};this.L=this.g.storeUserVolume?eka():{volume:100,muted:this.g.mute};this.Na=this.g.ub?new FQ(this,1):new RH(this,1);g.L(this,this.Na);this.B=null;this.Mc={};d={};this.ib=(d.internalvideodatachange=this.YO,d.playbackready=this.ZO,d.playbackstarted=this.aP,
d.statechange=this.bP,d.signatureexpired=this.xS,d);this.xd=!this.g.experiments.g("web_player_dispose_modules_killswitch");this.A=Fta(this);this.xd||g.L(this,this.A);this.wc=new g.YF(this);g.L(this,this.wc);this.I=new HQ(this.g,this.A);this.o=Gta(this);d={};this.Ad=(d.airplayactivechange=this.QO,d.airplayavailabilitychange=this.RO,d.beginseeking=this.kP,d.endseeking=this.aQ,d.internalAbandon=this.uQ,d.internalaudioformatchange=this.dP,d.internalvideodatachange=this.Es,d.internalvideoformatchange=
this.aT,d.liveviewshift=this.BQ,d.playbackstalledatstart=this.DS,d.progresssync=this.QK,d.seekto=this.RK,d.onLoadProgress=this.CQ,d.onVideoProgress=this.TK,d.onLoadedMetadata=this.EQ,d.onDompaused=this.VP,d.playbackready=this.yR,d.statechange=this.aC,d.connectionissue=this.IP,d.newelementrequired=this.gR,d.heartbeatparams=this.OK,d.videoelementevent=this.SK,d.drmoutputrestricted=this.XP,d);this.D=null;d=this.g.experiments.g("html5_expire_preloaded_players")?3600:void 0;this.ma=new x_(10,function(a){a!=
g.LU(c,a.getPlayerType())&&(Hta("c","prefetch_"+a.getVideoData().videoId),a.dispose())},d);
g.L(this,this.ma);this.qb=this.Db=-1;this.Pa=new g.mu(this.F.hf,16,this.F);g.L(this,this.Pa);this.Ta=!1;this.ea=!0;this.oa=this.Ca=this.C=null;this.Ld=!1;this.Jb=this.zd=null;this.Ma=this.ia=0;this.Y=this.za=!1;this.Kc=null;this.K.O(this.l,"crn_appapi",this.WO);this.K.O(this.l,"crx_appapi",this.XO);this.K.O(this.l,"crn_appad",this.fB);this.K.O(this.l,"crx_appad",this.fB);this.K.O(this.l,"crn_queued",this.RR);this.K.O(this.l,"presentingplayerstatechange",this.PK);this.K.O(this.l,"resize",this.eS);
this.F.pa(g.qd(a));this.K.O(this.l,"offlineslatestatechange",this.mR);this.ed=Ita(this,this.F.element);g.L(this,this.ed);g.vV=this.g.H;Jta(this);this.I.g("fs");Kta(this);g.XM(this.g)?g.cV(this.l,"ux"):(g.bY.ux=g.v_,this.A.Vw())};
Gta=function(a){var b=new PT(a.g,1,a.I,a.F,(0,g.z)(a.X.T,a.X),(0,g.z)(a.l.oi,a.l),a.F.ca,a.ca);CU(b,a.g.g?1:Lta(a,g.hH("yt-player-playback-rate")||1));N_(a,b,a.ib);return b};
Fta=function(a){var b="",c=a.fa.assets.js||"";0==c.indexOf("//")&&(c=a.g.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!a.g.experiments.g("web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.dE(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new aY(a.l,b,a);c={};a=(c.loaded=(0,g.z)(a.YQ,a),c.unloaded=(0,g.z)(a.ZQ,a),c.destroyed=(0,g.z)(a.Et,a),c);b.ea=a;return b};
Mta=function(a,b){var c=!(!a.R||!a.R.l);a.R||(a.R=new L_(a),g.L(a,a.R),g.dV(a.l,a.R.element,4));g.KH(a.R,b);O_(a)&&c!=b&&g.KU(a.A).fN();b&&a.D.Ec("sfn","1",!0)};
Q_=function(a){var b=P_.getTag(!0,!a.g.deviceHasDisplay);a.B=new BT(b);g.L(a,a.B);a.D&&mU(a.D,a.B);try{if(a.g.N)a.oa&&a.K.Aa(a.oa),a.oa=a.K.O(a.B,"volumechange",a.UQ);else{a.B.setVolume(a.L.volume/100);var c=a.B,d=a.L.muted;HI();c.g.muted=d}}catch(e){b="setvolume.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_"));g.ZT(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b);return}c=a.F;c.o=b;c.F=!1;c.o.parentNode||Jd(c.D,c.o,0);c.H=new g.eh(0,0,0,0);Dta(c);vW(c);g.R(c.o,"video-stream");g.R(c.o,
"html5-main-video");b=c.app.g;b.Xa&&c.o.setAttribute("data-no-fullscreen",!0);b.wf&&(c.o.setAttribute("webkit-playsinline",""),c.o.setAttribute("playsinline",""));b.km&&c.o&&c.O(c.o,"click",c.o.play,c.o);try{sP(a.B)}catch(e){b="activate.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_")),g.ZT(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b)}};
R_=function(a){a.B&&(a.oa&&(a.K.Aa(a.oa),a.oa=null),a.D&&lU(a.D),Ata(a.F),P_.releaseTag(a.B.la()),a.B=null)};
g.T_=function(a,b){S_(a,tW(a,b))};
S_=function(a,b){if(a.D!=b){var c=null;a.D&&(c=a.D.A,dY(a.A),$U(a,"cuerangesremoved",XS(a.D.I)||[]),Nta(a));U_(a,b);a.D=b;a.B&&mU(b,a.B);N_(a,b,a.Ad);a.Es("newdata",b,b.getVideoData());c&&!g.LP(c,b.A)&&a.aC(new g.RP(b.A,c));b.ia.g&&a.Es("dataloaded",b,b.getVideoData());b.getVideoData().Ha&&a.l.ra("onPlaybackQualityChange",b.getVideoData().Ha.video.quality);$U(a,"cuerangesadded",XS(a.D.I)||[]);GP(b.A)&&rU(b)}};
N_=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)};
U_=function(a,b){if(b!=a.o){var c=b.getPlayerType();a.Mc[c]=b}};
g.Jra=function(a,b){var c=g.LU(a,b);c&&(c!=a.o?S_(a,a.o):Nta(a))};
Nta=function(a){if(a.B){var b=a.A.o;b&&b.Vy(a.B)&&(R_(a),Q_(a))}lU(a.D);b=a.D;var c=a.Ad,d;for(d in c)b.unsubscribe(d,c[d],a);a.D=null};
g.LU=function(a,b){return b?1==b?a.o:a.Mc[b]||null:a.D};
tW=function(a,b){var c=g.LU(a,b);c||(c=Ota(a,b),U_(a,c));return c};
Ota=function(a,b){var c=a.I;2==b&&(c=new HQ(a.g));return new PT(a.g,b,c,a.F,(0,g.z)(a.X.T,a.X),(0,g.z)(a.l.oi,a.l),a.F.ca,a.ca)};
Pta=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.A;if(!d.B)try{d.g.getVideoData(1).adModule?(d.B=new PX(d.fa,d.fa.H),d.B.create()):g.cV(d.g,"ad")}catch(e){g.cV(d.g,"ad"),g.dE(e)}d.Tw();d.da&&c?g.cV(d.g,"endscreen"):d.Bq();d.Xw();d.Zw();d.Yw();d.Sw();d.da&&c?(g.cV(d.g,"annotations_module"),g.cV(d.g,"creatorendscreen")):(d.zq(),d.Aq());d.Qw();d.Pw();d.Cq();d.Uw();d.Rw();d.ax();c&&WO(b,a.g)?a.wc.O(a.l,"presentingplayerstatechange",a.HR):Rra(a.A);a.l.T("videoready",b)};
V_=function(a){var b=GI();return!!(b&&b.canPlayType&&b.canPlayType(a))};
QX=function(a){return a.o.getVideoData()};
Qta=function(a,b){var c=g.LU(a,b);return(c=c?c.l:null)?xP(c):0};
W_=function(a){var b=QX(a);return WO(b,a.g)};
Jta=function(a){var b=new g.uO(a.fa.args);g.jH()&&b.dd.push("remote");a.g.experiments.g("web_player_ux_module_wait")&&b.dd.push("ux");b.Fd()&&(XT(a.o,b,(0,g.z)(a.Td,a)),!a.g.experiments.g("html5_delay_initial_loading")&&W_(a)&&(a.g.Mc||a.g.ed)&&aU(a.o))};
Kta=function(a){var b=a.F,c=b.app.g;c.xd||b.po("tag-pool-enabled");c.jc&&b.po("house-brand");"gvn"==c.playerStyle&&(b.po("ytp-gvn"),b.element.style.backgroundColor="transparent");c.X&&(b.I=g.mG("yt-dom-content-change",b.hf,b));b.O(window,"resize",b.hf,b);b=a.Na;b.o=a.F.element;for(var d in b.A)b.o[d]=b.A[d];(d=CF(a.F.element))&&a.K.O(a.F,d,a.jQ);a.K.O(window,"resize",a.fS);b=a.fa.args;Q_(a);d=QX(a);a.l.ra("onVolumeChange",a.L);if(b&&RQ(b))if((c=YM(a.g))&&!a.W&&(b.fetch=0),X_(a,b),c&&!a.W)Y_(a);else if(!d.Fd())a.C.onReady((0,g.z)(a.Nt,
a));S_(a,a.o);if(!g.W(a.o.A,128)){a:{b=a.g.deviceHasDisplay;try{var e=GI();if(e.canPlayType)for(b=b?Rta:Sta,c=0;c<b.length;c++)if(e.canPlayType(b[c])){var f=null;break a}f="fmt.noneavailable"}catch(k){f="html5.missingapi"}}"fmt.noneavailable"==f?g.ZT(a.o,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==f?g.ZT(a.o,f,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Fd()&&W_(a)&&(a.g.Mc||a.g.ed)?Z_(a):g.cN(a.g)||Tta(a)}};
Tta=function(a){a.l.T("initializingmode");g.$_(a,2);a.A.Cq()};
Z_=function(a){if(g.W(a.o.A,128))return!1;W_(a)&&a.g.ed&&(P_.hasTags(void 0)&&a.Y?(UH(a,{muted:!1,volume:a.L.volume},!1),a0(a,!1)):P_.hasTags(void 0)||a.L.muted||(UH(a,{muted:!0,volume:a.L.volume},!1),a0(a,!0)));Uta(a,1,a.o.getVideoData());a.l.T("initializingmode");S_(a,a.o);g.$_(a,3);var b=a.A.o;if(!a.g.xd||b&&b.Vy(a.B)&&a.Ld)R_(a),Q_(a),mU(a.o,a.B);dU(a.o);if(g.W(a.o.A,128))return!1;b0(a,3);return a.Ld=!0};
O_=function(a){a=g.KU(a.A);return!!a&&a.loaded};
Vta=function(a,b){if(a.D==a.o&&a.D.ae!=b){var c=a.D;c.ae=b;c.l&&(c.l.g.loop=b);a.l.T("loopchange",b)}};
c0=function(a,b,c){(0,window.isNaN)(b)||(b=Lta(a,b),a.o.Ca!=b&&(CU(a.o,b),c&&!a.g.g&&g.gH("yt-player-playback-rate",b),a.l.ra("onPlaybackRateChange",b)))};
Lta=function(a,b){var c=1;c=a.l.Ej();return c=1>b?g.Ma(c,function(a){return a>=b}):Oa(c,function(a){return a<=b})};
d0=function(a,b){var c=AU(a.o,b);a.D&&a.D!=a.o&&(c=Wta(c,AU(a.D,b),"ad_"));if(b&&a.B){c["0sz"]=0==g.Lh(a.B.g).Ue();c.op=vh(a.B.g,"opacity");var d=Ah(a.B.g).y+g.Lh(a.B.g).height;c.yof=0>=d;c.dis=vh(a.B.g,"display")}(d=b?(0,g.QP)():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.H.ql();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.A.F)&&(c=Wta(c,d.fE(),"fresca_"));return JSON.stringify(c,null,2)};
g.JU=function(a){return 1==a.N?1:O_(a)?3:g.LU(a).getPlayerType()};
e0=function(a,b){return 3==g.JU(a)?OP(g.KU(a.A).D):2==b?a.qb:a.Db};
Yta=function(a){Xta(a);Vta(a,!1);a.Xa={};a=a.I;var b=a.l;b.ca={};b.X={};a.A=!1};
Y_=function(a){var b=Zta();if(b)if(b.list){if(a.C&&a.C.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.l.isFullscreen()&&((c=c[a.C.ee()])&&c.encrypted_id!=a.C.Wb().videoId||(b.index=a.C.ee()));VQ(a.C,b);a.Ca&&f0(a,a.Ca)}else a.Ca=null}else a.Rm()};
X_=function(a,b){a.C&&(a.C.unsubscribe("error",a.Rm,a),g.cf(a.C),a.C=null);b&&(a.W&&(b.fetch=0),a.C=new g.QQ(b),a.C.subscribe("error",a.Rm,a))};
g0=function(a,b,c,d){b in a.Xa||(c=new g.LQ(c,d,{id:b,priority:1}),c.namespace="appad",WS(a.o.I,[c]),a.Xa[b]=c)};
$ta=function(a){if(a.g.experiments.g("enable_player_chapter_markers")){for(var b=a.getVideoData(),c=[],d=0;d<b.chapterMarkers.length;d++){var e=b.chapterMarkers[d].playerChapterMarkerRenderer;if(e){var f={id:"__chapterMarker"+d+"__",style:"ytp-chapter-marker",visible:!0};e.color&&(f.color=e.color);e.tooltip&&(f.tooltip=e.tooltip);e.icons&&(f.icons=e.icons.map(function(a){return a.thumbnails[0].url}));
var k=e.startTimeMs;e=new g.LQ(k,e.endTimeMs||k,f);e.namespace="appchaptermarker";c.push(e)}}YU(a,c,1)}};
g.$_=function(a,b){b!=a.N&&(2==b&&(b0(a,-1),b0(a,5)),a.N=b,a.l.T("appstatechange",b))};
b0=function(a,b){a.D&&2==a.D.getPlayerType()?a.qb!=b&&(a.qb=b,a.l.ra("onAdStateChange",b)):a.Db!=b&&(a.Db=b,a.l.ra("onStateChange",b))};
YX=function(a,b,c,d,e){c=0!=c;if(e=g.LU(a,e))2==a.N&&Z_(a),fU(e,b,c,d)};
i0=function(a,b,c,d,e){a.g.jc&&nN(b);var f=new g.uO(b);d||(b&&RQ(b)?(YM(a.g)&&!a.W&&(b.fetch=0),X_(a,b)):a.C&&X_(a,null),a.W=sM(!1,b.external_list),YM(a.g)&&!a.W&&Y_(a));return h0(a,f,c,e)};
Uta=function(a,b,c){var d=b+c.videoId,e=a.ma.get(d);if(!e)return null;a.ma.remove(d);if(e==g.LU(a,b))return e;if((e.getVideoData().oauthToken||c.oauthToken)&&e.getVideoData().oauthToken!=c.oauthToken)return null;if(1==e.getPlayerType()){e.getVideoData().autonavState=a.o.getVideoData().autonavState;b=a.o;c=a.ib;for(var f in c)b.unsubscribe(f,c[f],a);f=a.o.Ca;a.o.dispose();a.o=e;CU(a.o,f);N_(a,e,a.ib);Yta(a)}else(f=g.LU(a,b))&&f.dispose();a.D.getPlayerType()==e.getPlayerType()?S_(a,e):U_(a,e);return e};
h0=function(a,b,c,d){eO("_start","")||(UN("p",void 0,""),a.I.info("srt",0));var e=Uta(a,c||a.D.getPlayerType(),b);e&&(0,g.IQ)("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.LU(a,c);if(!e)return!1;a.Pa.stop();j0(a,c);XT(e,b,(0,g.z)(a.Td,a),d)}e==a.o&&(a.g.R=b.oauthToken);if(!$T(e))return!1;a.Ta&&(e.Kc=!1,a.Ta=!1);if(e==a.o)return g.$_(a,1),Z_(a);dU(e);return!0};
k0=function(a,b,c){c=g.LU(a,c);b&&c==a.o&&(c.getVideoData().ah=!0)};
m0=function(a,b,c){a.g.jc&&nN(b);if(b&&RQ(b))if(a.ea=!0,X_(a,b),(b=a.C.Wb())&&b.Fd())l0(a,b,c);else a.C.onReady((0,g.z)(a.Nt,a));else c||(c=g.JU(a)),1==c&&a.Rm(),l0(a,new g.uO(b),c)};
l0=function(a,b,c){var d=g.LU(a,c);d&&(j0(a,c),XT(d,b,(0,g.z)(a.Td,a)),d==a.o&&(g.$_(a,1),Tta(a)))};
g.o0=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.l.isFullscreen()&&!a.ya||!IM(a.g)&&!g.GM(a.g)?(c=a.I,f=c.l,f.ca={},f.X={},c.A=!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,n0(a,b,void 0,void 0,void 0)):i0(a,b,1)):(c=c||{},c.lact=g.NG(),c.vis=a.l.oi(),a.Kd||"gaming"==a.g.playerStyle?a.l.ra("onPlayVideo",{videoId:b,watchEndpoint:k,sessionData:c,listId:d}):(a=f&&a.getVideoData().isLiveDestination?
a.g.loaderUrl:a.g.getVideoUrl(b,d),g.x("yt.player.exports.navigate")(a,c)))};
n0=function(a,b,c,d,e){if(g.Ba(b)&&!g.ya(b)){c="playlist list listType index startSeconds suggestedQuality".split(" ");d={};for(e=0;e<c.length;e++){var f=c[e];b[f]&&(d[f]=b[f])}b=d}else c={index:c,startSeconds:d,suggestedQuality:e},g.v(b)&&16==b.length?c.list="PL"+b:c.playlist=b,b=c;X_(a,b);a.C.onReady((0,g.z)(a.Nt,a))};
g.p0=function(a){if(a.l.app.Y)return!1;if(3==g.JU(a))return!0;YM(a.g)&&!a.W&&Y_(a);return!(!a.C||!a.C.hasNext())};
q0=function(a,b,c){var d=g.LU(a,1).getVideoData().suggestions;g.eV(a.l)&&d?(d=g.G(d,g.kY),b=d[0],d=c?b.tx:b.Hd,g.o0(a,b.Wb().videoId,d,b.getPlaylistId(),c)):!a.W||a.l.isFullscreen()&&!a.ya?3==g.JU(a)?g.KU(a.A).dN():a.C&&(YM(a.g)&&!a.l.isFullscreen()?f0(a,"yt.www.watch.lists.next"):(a.C.hasNext(b)&&UQ(a.C,SQ(a.C)),a.C.Qc?(b=c&&a.g.experiments.g("html5_player_autonav_logging"),h0(a,a.C.Wb(void 0,c,b),1)):a.ea=!1)):a.l.ra("onPlaylistNext")};
aua=function(a,b){!a.W||a.l.isFullscreen()&&!a.ya?3==g.JU(a)?g.KU(a.A).eN():a.C&&(YM(a.g)&&!a.l.isFullscreen()?f0(a,"yt.www.watch.lists.prev"):(a.C.Mf(b)&&UQ(a.C,TQ(a.C)),a.C.Qc?h0(a,a.C.Wb(),1):a.ea=!1)):a.l.ra("onPlaylistPrevious")};
f0=function(a,b){var c=g.x(b);if(c){var d=Zta();d&&d.list&&c();a.Ca=null}else a.Ca=b};
Zta=function(){var a=g.x("yt.www.watch.lists.getState");return a?a():null};
bua=function(a,b,c,d,e,f){b={id:b};"chapter"==f?(b.style="ytp-chapter-marker",b.visible=!0):(0,window.isNaN)(e)||("ad"==f?b.style="ytp-ad-progress":(b.style="ytp-time-marker",b.color=e),b.visible=!0);c=new g.LQ(1E3*c,1E3*d,b);c.namespace="appapi";YU(a,[c],1);return!0};
YU=function(a,b,c){var d=g.LU(a,c);d&&(WS(d.I,b),c&&g.JU(a)!=c||$U(a,"cuerangesadded",b))};
Nra=function(a){var b=g.AG(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
UH=function(a,b,c){a.g.I&&(a.L=b,b.muted||a0(a,!1),c&&a.g.storeUserVolume&&!a.g.N&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.gH("yt-player-volume",c),g.gH("yt-player-volume",c,2592E3))),cua(a),c=g.QI&&!a.B.Ud(),!a.g.N||c)&&(b=g.cc(b),a.g.storeUserVolume||(b.unstorable=!0),a.l.ra("onVolumeChange",b))};
cua=function(a){var b=a.getVideoData();b.Fm||(b=a.g.N?1:YO(b,a.g),a.B.setVolume(a.L.volume*b/100),b=a.B,a=a.L.muted,HI(),b.g.muted=a)};
a0=function(a,b){b!=a.Y&&(a.Y=b,a.l.T("mutedautoplaychange",b))};
dua=function(a,b){var c=window.screen&&window.screen.orientation;if(a.g.experiments.g("lock_fullscreen2")&&c&&c.lock&&(!g.QI||!g.r0))if(b){var d=0==c.type.indexOf("portrait"),e=g.E_(a.F),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.za||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.y);a.za=!0}}else a.za&&(a.za=!1,c.unlock())};
s0=function(a,b){var c=!!b,d=!!a.Ma!=c;a.Ma=b;a.g.ib=c;var e=a.ca;e.B!=b&&(e.B=b,e.o());a.F.hf();d&&a.I.g("fsc");d&&(a.l.T("fullscreentoggled",c),d=QX(a),c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.H.getPlaylistId()&&(c.listId=a.H.getPlaylistId()),a.l.ra("onFullscreenChange",c))};
$U=function(a,b,c){a.l.T(b,c);var d=g.QM(a.g)||g.XM(a.g)||"WEB_REMIX"==a.g.o.c;if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.l.ra(e,c)}};
VX=function(a,b){var c=g.LU(a,b);c&&(2==a.N?Z_(a):a.g.experiments.g("html5_restore_userreload_killswitch")&&c.A.isError()?t0(a,"user"):(null!=a.R&&a.R.l&&a.R.start(),g.W(c.A,2)?YX(a,0):rU(c)))};
XX=function(a,b){var c=g.LU(a,b);c&&gU(c)};
eua=function(a){var b=a.o.getVideoData(),c=new g.uO({video_id:b.videoId,oauth_token:b.oauthToken});a.g.experiments.g("html5_stopVideo_copy_thumbs_killswitch")||(c.wh=g.cc(b.wh));l0(a,c,1);null!=a.R&&a.R.stop()};
j0=function(a,b){g.KN(a.ia);a.ia=0;var c=g.LU(a,b);c&&1!=a.N&&2!=a.N&&((a.g.experiments.g("html5_disable_module_ownership")||c==a.D)&&dY(a.A),1==b&&(a.g.experiments.g("html5_stop_video_in_cancel_playback")&&xU(c),Xta(a)),g.kU(c),$U(a,"cuerangesremoved",XS(c.I)||[]),c.I.reset())};
fua=function(a,b,c,d,e){c=0!=c;var f=g.LU(a,e);if(!f||2!=f.getPlayerType()&&!g.QO(f.getVideoData()))3==g.JU(a)?g.KU(a.A).vl("control_seek",b,c):YX(a,b,c,d,e)};
g.BY=function(a){return a.g.experiments.g("html5_new_vis")?a.ca.l:a.yd};
t0=function(a,b,c){if(!a.Ta){c&&(R_(a),Q_(a));a.Ta=!0;c=g.LU(a);c.Kc=!0;c.Ec("reloading","reason."+b);c=a.getVideoData();var d={};d.video_id=c.videoId;d.adformat=c.adFormat;c.ua||(d.start=g.LU(a).getCurrentTime(),d.resume="1");c.Te&&(d.vvt=c.Te);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.Dp);c.oauthToken&&(d.oauth_token=c.oauthToken);d.autoplay=1;d.reload_count=c.sh+1;d.reload_reason=b;c.fk&&(d.unplugged_partner_opt_out=c.fk);i0(a,d)}};
gua=function(a,b){QX(a).autonavState=b;g.gH("yt-player-autonavstate",b);a.l.T("autonavchange",b)};
hua=function(a){var b=a.getVideoData().Fm,c=a.g.Jg;b||c?(a=a.B,a.C=!0,HI(),a.g.muted=!0):(a.B.C=!1,UH(a,a.L))};
Ita=function(a,b){return a.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&a.g.g?new B_(b):null};
Xta=function(a){(a=a.A.B)&&a.created&&a.destroy()};
Wta=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
aa=[];fa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
ea="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;aaa=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();
ma="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
if("function"==typeof Object.setPrototypeOf)u0=Object.setPrototypeOf;else{var v0;a:{var iua={gd:!0},jua={};try{jua.__proto__=iua;v0=jua.gd;break a}catch(a){}v0=!1}u0=v0?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=u0;
qa("String.prototype.repeat",function(a){return a?a:function(a){var b=ra(this,null,"repeat");if(0>a||1342177279<a)throw new window.RangeError("Invalid count value");a|=0;for(var d="";a;)if(a&1&&(d+=b),a>>>=1)b+=b;return d}});
qa("Array.prototype.find",function(a){return a?a:function(a,c){a:{var b=this;b instanceof String&&(b=String(b));for(var e=b.length,f=0;f<e;f++){var k=b[f];if(a.call(c,k,f,b)){b=k;break a}}b=void 0}return b}});
qa("String.prototype.endsWith",function(a){return a?a:function(a,c){var b=ra(this,a,"endsWith");a+="";void 0===c&&(c=b.length);for(var e=Math.max(0,Math.min(c|0,b.length)),f=a.length;0<f&&0<e;)if(b[--e]!=a[--f])return!1;return 0>=f}});
var kua="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)sa(d,e)&&(a[e]=d[e])}return a};
qa("Object.assign",function(a){return a||kua});
qa("Promise",function(a){function b(a){this.l=0;this.o=void 0;this.g=[];var b=this.A();try{a(b.resolve,b.reject)}catch(m){b.reject(m)}}
function c(){this.g=null}
function d(a){return a instanceof b?a:new b(function(b){b(a)})}
if(a)return a;c.prototype.l=function(a){null==this.g&&(this.g=[],this.A());this.g.push(a)};
c.prototype.A=function(){var a=this;this.o(function(){a.C()})};
var e=ea.setTimeout;c.prototype.o=function(a){e(a,0)};
c.prototype.C=function(){for(;this.g&&this.g.length;){var a=this.g;this.g=[];for(var b=0;b<a.length;++b){var c=a[b];a[b]=null;try{c()}catch(n){this.B(n)}}}this.g=null};
c.prototype.B=function(a){this.o(function(){throw a;})};
b.prototype.A=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.I),reject:a(this.B)}};
b.prototype.I=function(a){if(a===this)this.B(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.K(a);else{a:switch(typeof a){case "object":var c=null!=a;break a;case "function":c=!0;break a;default:c=!1}c?this.H(a):this.C(a)}};
b.prototype.H=function(a){var b=void 0;try{b=a.then}catch(m){this.B(m);return}"function"==typeof b?this.L(b,a):this.C(a)};
b.prototype.B=function(a){this.D(2,a)};
b.prototype.C=function(a){this.D(1,a)};
b.prototype.D=function(a,b){if(0!=this.l)throw Error("Cannot settle("+a+", "+b+"): Promise already settled in state"+this.l);this.l=a;this.o=b;this.F()};
b.prototype.F=function(){if(null!=this.g){for(var a=0;a<this.g.length;++a)f.l(this.g[a]);this.g=null}};
var f=new c;b.prototype.K=function(a){var b=this.A();a.Mm(b.resolve,b.reject)};
b.prototype.L=function(a,b){var c=this.A();try{a.call(b,c.resolve,c.reject)}catch(n){c.reject(n)}};
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(N){f(N)}}:b}
var e,f,k=new b(function(a,b){e=a;f=b});
this.Mm(d(a,e),d(c,f));return k};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.Mm=function(a,b){function c(){switch(d.l){case 1:a(d.o);break;case 2:b(d.o);break;default:throw Error("Unexpected state: "+d.l);}}
var d=this;null==this.g?f.l(c):this.g.push(c)};
b.resolve=d;b.reject=function(a){return new b(function(b,c){c(a)})};
b.race=function(a){return new b(function(b,c){for(var e=g.la(a),f=e.next();!f.done;f=e.next())d(f.value).Mm(b,c)})};
b.all=function(a){var c=g.la(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).Mm(f(k.length-1),b),e=c.next();while(!e.done)})};
return b});
qa("Math.trunc",function(a){return a?a:function(a){a=Number(a);if((0,window.isNaN)(a)||window.Infinity===a||-window.Infinity===a||0===a)return a;var b=Math.floor(Math.abs(a));return 0>a?-b:b}});
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.Ba=(f+=Math.random()+1).toString();if(a){da();ia();a=g.la(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}
function c(a){sa(a,e)||fa(a,e,{value:{}})}
function d(a){var b=Object[a];b&&(Object[a]=function(a){c(a);return b(a)})}
if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(n){return!1}}())return a;
var e="$jscomp_hidden_"+Math.random();d("freeze");d("preventExtensions");d("seal");var f=0;b.prototype.set=function(a,b){c(a);if(!sa(a,e))throw Error("WeakMap key fail: "+a);a[e][this.Ba]=b;return this};
b.prototype.get=function(a){return sa(a,e)?a[e][this.Ba]:void 0};
b.prototype.has=function(a){return sa(a,e)&&sa(a[e],this.Ba)};
b.prototype["delete"]=function(a){return sa(a,e)&&sa(a[e],this.Ba)?delete a[e][this.Ba]:!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 ka(function(){if(c){for(;c.head!=a.g;)c=c.previous;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})}
function d(a,b){var c=b&&typeof b;"object"==c||"function"==c?f.has(b)?c=f.get(b):(c=""+ ++k,f.set(b,c)):c="p_"+b;var d=a.l[c];if(d&&sa(a.l,c))for(var e=0;e<d.length;e++){var l=d[e];if(b!==b&&l.key!==l.key||b===l.key)return{id:c,list:d,index:e,Cd:l}}return{id:c,list:d,index:-1,Cd:void 0}}
function e(a){this.l={};this.g=b();this.size=0;if(a){a=g.la(a);for(var c;!(c=a.next()).done;)c=c.value,this.set(c[0],c[1])}}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(g.la([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch(r){return!1}}())return a;
da();ia();var f=new window.WeakMap;e.prototype.set=function(a,b){var c=d(this,a);c.list||(c.list=this.l[c.id]=[]);c.Cd?c.Cd.value=b:(c.Cd={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.Cd),this.g.previous.next=c.Cd,this.g.previous=c.Cd,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.Cd&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.l[a.id],a.Cd.previous.next=a.Cd.next,a.Cd.next.previous=a.Cd.previous,a.Cd.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.l={};this.g=this.g.previous=b();this.size=0};
e.prototype.has=function(a){return!!d(this,a).Cd};
e.prototype.get=function(a){return(a=d(this,a).Cd)&&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.la(a);for(var b;!(b=a.next()).done;)this.add(b.value)}this.size=this.g.size}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),d=new a(g.la([b]));if(!d.has(b)||1!=d.size||d.add(b)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=b||f.value[1]!=b)return!1;f=e.next();return f.done||f.value[0]==b||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(k){return!1}}())return a;
da();ia();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){ia();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("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});
qa("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var e=b.length,f=c||0;for(0>f&&(f=Math.max(f+e,0));f<e;f++){var k=b[f];if(k===a||Object.is(k,a))return!0}return!1}});
qa("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==ra(this,a,"includes").indexOf(a,c||0)}});
qa("Object.values",function(a){return a?a:function(a){var b=[],d;for(d in a)sa(a,d)&&b.push(a[d]);return b}});
var lua=function(){function a(){function a(){}
window.Reflect.construct(a,[],function(){});
return new a instanceof a}
if("undefined"!=typeof window.Reflect&&window.Reflect.construct){if(a())return window.Reflect.construct;var b=window.Reflect.construct;return function(a,d,e){a=b(a,d);e&&window.Reflect.setPrototypeOf(a,e.prototype);return a}}return function(a,b,e){void 0===e&&(e=a);
e=ma(e.prototype||Object.prototype);return Function.prototype.apply.call(a,e,b)||e}}();
qa("Reflect.construct",function(){return lua});
qa("Number.isFinite",function(a){return a?a:function(a){return"number"!==typeof a?!1:!(0,window.isNaN)(a)&&window.Infinity!==a&&-window.Infinity!==a}});
qa("Number.parseInt",function(a){return a||window.parseInt});
qa("Math.log2",function(a){return a?a:function(a){return Math.log(a)/Math.LN2}});
yx=yx||{};g.w=this;Jaa=/^[\w+/_-]+[=]{0,2}$/;$c=null;Ca="closure_uid_"+(1E9*Math.random()>>>0);baa=0;g.F=Date.now||function(){return+new Date};g.A(Ia,Error);Ia.prototype.name="CustomError";var od;var mua,mk;g.Pa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.v(a))return g.v(b)&&1==b.length?a.indexOf(b,0):-1;
for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
mua=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;
0>c&&(c=Math.max(0,a.length+c));if(g.v(a))return g.v(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.B=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.v(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.v(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.G=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.v(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
mk=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
(0,g.B)(a,function(c,f){d=b.call(void 0,d,c,f,a)});
return d};
g.Ej=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.v(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.tm=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.v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
return!0};var yb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},iaa=/&/g,jaa=/</g,kaa=/>/g,laa=/"/g,maa=/'/g,naa=/\x00/g,haa=/[\x00&<>"']/,qaa=/&([^;\s<&]+);?/g,vb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},raa=2147483648*Math.random()|0;a:{var nua=g.w.navigator;if(nua){var oua=nua.userAgent;if(oua){g.Ib=oua;break a}}g.Ib=""};var ec="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");nc[" "]=g.y;var RL,zT,fo,go,pua,w0;g.gf=Jb("Opera");g.yd=Jb("Trident")||Jb("MSIE");RL=Jb("Edge");g.GH=RL||g.yd;g.uh=Jb("Gecko")&&!(ub(g.Ib,"WebKit")&&!Jb("Edge"))&&!(Jb("Trident")||Jb("MSIE"))&&!Jb("Edge");g.Ad=ub(g.Ib,"WebKit")&&!Jb("Edge");zT=Jb("Macintosh");g.r0=Jb("Windows");g.mo=Jb("Android");fo=kc();go=Jb("iPad");pua=Jb("iPod");g.Fk=mc();
a:{var x0="",y0=function(){var a=g.Ib;if(g.uh)return/rv:([^\);]+)(\)|;)/.exec(a);if(RL)return/Edge\/([\d\.]+)/.exec(a);if(g.yd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Ad)return/WebKit\/(\S+)/.exec(a);if(g.gf)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
y0&&(x0=y0?y0[1]:"");if(g.yd){var z0=pc();if(null!=z0&&z0>(0,window.parseFloat)(x0)){w0=String(z0);break a}}w0=x0}var rc=w0,taa={},qua;var rua=g.w.document;qua=rua&&g.yd?pc()||("CSS1Compat"==rua.compatMode?(0,window.parseInt)(rc,10):5):void 0;var vaa=qua;var Kaa,Maa,Naa;Kaa=!g.yd||g.tc(9);Maa=!g.uh&&!g.yd||g.yd&&g.tc(9)||g.uh&&g.sc("1.9.1");g.sua=g.yd&&!g.sc("9");Naa=g.yd||g.gf||g.Ad;var Iaa={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};vc.prototype.rg=!0;vc.prototype.Fe=function(){return this.g};
vc.prototype.toString=function(){return"Const{"+this.g+"}"};
var uc={};g.xc("");var waa=/<[^>]*>|&[^;]+;/g,tua=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Aaa=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),yaa=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),zaa=/^http:\/\/.*/,xaa=/\s+/,Baa=/[\d\u06f0-\u06f9]/;Bc.prototype.rg=!0;Bc.prototype.Fe=function(){return this.l};
Bc.prototype.Rr=!0;Bc.prototype.g=function(){return 1};
var Ac={};Gc.prototype.rg=!0;Gc.prototype.Fe=function(){return this.l};
Gc.prototype.Rr=!0;Gc.prototype.g=function(){return 1};
var Ic=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Fc={};Jc("about:blank");Nc.prototype.rg=!0;var Mc={};Nc.prototype.Fe=function(){return this.g};
var Gaa=Oc(""),Daa=/^[-,."'%_!# a-zA-Z0-9]+$/,Pc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Caa=RegExp("\\b(hsl|hsla|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-0-9a-z.%, ]+\\)","g");g.Sc.prototype.Rr=!0;g.Sc.prototype.g=function(){return this.o};
g.Sc.prototype.rg=!0;g.Sc.prototype.Fe=function(){return this.l};
var Wc=/^[a-zA-Z0-9-]+$/,Haa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},uua={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Rc={};Uc("<!DOCTYPE html>",0);Uc("",0);Uc("<br>",0);g.h=g.gd.prototype;g.h.clone=function(){return new g.gd(this.x,this.y)};
g.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.kd.prototype;g.h.clone=function(){return new g.kd(this.width,this.height)};
g.h.Ue=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.Ue()};
g.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.width*=a;this.height*=c;return this};var td={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=md.prototype;g.h.la=function(){return g.v(void 0)?this.g.getElementById(void 0):void 0};
g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};
g.h.sI=function(a,b,c){return Cd(this.g,arguments)};
g.h.createElement=function(a){return this.g.createElement(String(a))};
g.h.appendChild=g.Gd;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.Kd;g.h.contains=g.Qd;var Oaa=g.y;var EM,DM,FM;g.UL=Jb("Firefox");EM=kc()||Jb("iPod");DM=Jb("iPad");FM=g.jc();g.QI=hc();g.Ek=ic()&&!mc();var je=null,oe=null,he=null;var re=[];qe.prototype.clone=function(){return se(this.l,this.A,this.o-this.A)};
qe.prototype.clear=function(){this.l=null;this.g=this.o=this.A=0;this.B=!1};
qe.prototype.reset=function(){this.g=this.A};
qe.prototype.getError=function(){return this.B||0>this.g||this.g>this.o};ue.prototype.getError=function(){return this.A||this.g.getError()};
ue.prototype.reset=function(){this.g.reset();this.l=this.o=-1};var Be="function"==typeof window.Uint8Array,De=[];Ae.prototype.toString=function(){Ne(this);return this.l.toString()};
Ae.prototype.getExtension=function(a){if(this.o){this.g||(this.g={});var b=a.o;if(a.A){if(a.l())return this.g[b]||(this.g[b]=(0,g.G)(this.o[b]||[],function(b){return new a.g(b)})),this.g[b]}else if(a.l())return!this.g[b]&&this.o[b]&&(this.g[b]=new a.g(this.o[b])),this.g[b];
return this.o[b]}};
Ae.prototype.clone=function(){return new this.constructor(Oe(Me(this)))};g.A(Pe,Ae);g.A(Qe,Ae);g.A(Se,Ae);var Saa=[[9,10],[11,12],[18,19,20,21]];g.A(Te,Ae);var Taa=[[2,3]];g.A(Ue,Ae);var Uaa=[[9,15]];Ue.prototype.Ee=function(){return Fe(this,14)};
g.A(Ve,Ae);g.A(We,Ae);g.A(Xe,Ae);g.A(Ye,Ae);g.A(Ze,Ae);g.A($e,Ae);var Vaa=[1];g.A(Le,Ae);window.console&&"function"===typeof window.console.log&&(0,g.z)(window.console.log,window.console);var zf=!g.yd||g.tc(9),vua=g.yd&&!g.sc("9"),Zaa=function(){if(!g.w.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.w.addEventListener("test",g.y,b);g.w.removeEventListener("test",g.y,b);return a}();g.K.prototype.Cb=!1;g.K.prototype.ha=function(){return this.Cb};
g.K.prototype.dispose=function(){this.Cb||(this.Cb=!0,this.V())};
g.K.prototype.V=function(){if(this.Ya)for(;this.Ya.length;)this.Ya.shift()()};g.ef.prototype.stopPropagation=function(){this.yi=!0};
g.ef.prototype.preventDefault=function(){this.defaultPrevented=!0;this.EC=!1};var wua={Kp:"click",J0:"rightclick",OX:"dblclick",f_:"mousedown",l_:"mouseup",k_:"mouseover",j_:"mouseout",i_:"mousemove",g_:"mouseenter",h_:"mouseleave",e_:"mousecancel",P0:"selectionchange",Q0:"selectstart",Y2:"wheel",AZ:"keypress",zZ:"keydown",BZ:"keyup",WW:"blur",GY:"focus",PX:"deactivate",HY:"focusin",IY:"focusout",pX:"change",B0:"reset",O0:"select",C1:"submit",lZ:"input",r0:"propertychange",kY:"dragstart",fY:"drag",hY:"dragenter",jY:"dragover",iY:"dragleave",mY:"drop",gY:"dragend",U1:"touchstart",
T1:"touchmove",S1:"touchend",R1:"touchcancel",TW:"beforeunload",BX:"consolemessage",EX:"contextmenu",RX:"devicechange",SX:"devicemotion",TX:"deviceorientation",ZX:"DOMContentLoaded",ERROR:"error",XY:"help",LOAD:"load",VZ:"losecapture",R_:"orientationchange",w0:"readystatechange",C0:"resize",L0:"scroll",t2:"unload",eX:"canplay",fX:"canplaythrough",nY:"durationchange",sY:"emptied",ENDED:"ended",LZ:"loadeddata",MZ:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",v0:"ratechange",M0:"seeked",
N0:"seeking",n1:"stalled",D1:"suspend",J1:"timeupdate",R2:"volumechange",V2:"waiting",l1:"sourceopen",k1:"sourceended",j1:"sourceclosed",WV:"abort",UPDATE:"update",B2:"updatestart",z2:"updateend",QY:"hashchange",U_:"pagehide",V_:"pageshow",k0:"popstate",GX:"copy",X_:"paste",LX:"cut",NW:"beforecopy",OW:"beforecut",RW:"beforepaste",P_:"online",M_:"offline",MESSAGE:"message",AX:"connect",nZ:"install",XV:"activate",FY:"fetch",JY:"foreignfetch",c_:"messageerror",q1:"statechange",A2:"updatefound",FX:"controllerchange",
DW:hf("AnimationStart"),AW:hf("AnimationEnd"),BW:hf("AnimationIteration"),X1:hf("TransitionEnd"),c0:"pointerdown",j0:"pointerup",b0:"pointercancel",f0:"pointermove",h0:"pointerover",g0:"pointerout",d0:"pointerenter",e0:"pointerleave",OY:"gotpointercapture",WZ:"lostpointercapture",p_:"MSGestureChange",q_:"MSGestureEnd",r_:"MSGestureHold",s_:"MSGestureStart",t_:"MSGestureTap",u_:"MSGotPointerCapture",v_:"MSInertiaStart",w_:"MSLostPointerCapture",x_:"MSPointerCancel",y_:"MSPointerDown",z_:"MSPointerEnter",
A_:"MSPointerHover",B_:"MSPointerLeave",C_:"MSPointerMove",D_:"MSPointerOut",E_:"MSPointerOver",F_:"MSPointerUp",TEXT:"text",F1:g.yd?"textinput":"textInput",yX:"compositionstart",zX:"compositionupdate",xX:"compositionend",PW:"beforeinput",AY:"exit",JZ:"loadabort",KZ:"loadcommit",NZ:"loadredirect",OZ:"loadstart",PZ:"loadstop",G0:"responsive",c1:"sizechanged",v2:"unresponsive",Q2:"visibilitychange",w1:"storage",eY:"DOMSubtreeModified",aY:"DOMNodeInserted",cY:"DOMNodeRemoved",dY:"DOMNodeRemovedFromDocument",
bY:"DOMNodeInsertedIntoDocument",XX:"DOMAttrModified",YX:"DOMCharacterDataModified",SW:"beforeprint",pW:"afterprint",QW:"beforeinstallprompt",EW:"appinstalled"};g.A(jf,g.ef);var xua={2:"touch",3:"pen",4:"mouse"};
jf.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.uh&&(oc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=g.Ad||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=g.Ad||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?
a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=g.v(a.pointerType)?
a.pointerType:xua[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()};
jf.prototype.stopPropagation=function(){jf.aa.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
jf.prototype.preventDefault=function(){jf.aa.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,vua)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Waa;g.kf="closure_listenable_"+(1E6*Math.random()|0);Waa=0;nf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.g++);var k=qf(a,b,d,e);-1<k?(b=a[k],c||(b.Lm=!1)):(b=new Xaa(b,this.src,f,!!d,e),b.Lm=c,a.push(b));return b};
nf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=qf(e,b,c,d);return-1<b?(mf(e[b]),g.Ua(e,b),0==e.length&&(delete this.listeners[a],this.g--),!0):!1};
nf.prototype.Jk=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=qf(a,b,c,d));return-1<e?a[e]:null};
nf.prototype.hasListener=function(a,b){var c=g.t(a),d=c?a.toString():"",e=g.t(b);return Mb(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 wf="closure_lm_"+(1E6*Math.random()|0),Cf={},yf=0,Ff="__closure_events_fn_"+(1E9*Math.random()>>>0);g.A(g.Gf,g.K);g.Gf.prototype[g.kf]=!0;g.h=g.Gf.prototype;g.h.uh=function(a){this.ya=a};
g.h.addEventListener=function(a,b,c,d){g.sf(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.Af(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.ya;if(b){var c=[];for(var d=1;b;b=b.ya)c.push(b),++d}b=this.Jb;d=a.type||a;if(g.v(a))a=new g.ef(a,b);else if(a instanceof g.ef)a.target=a.target||b;else{var e=a;a=new g.ef(d,b);g.fc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.yi&&0<=f;f--){var k=a.currentTarget=c[f];e=Hf(k,d,!0,a)&&e}a.yi||(k=a.currentTarget=b,e=Hf(k,d,!0,a)&&e,a.yi||(e=Hf(k,d,!1,a)&&e));if(c)for(f=0;!a.yi&&f<c.length;f++)k=a.currentTarget=c[f],e=Hf(k,d,!1,a)&&e;return e};
g.h.V=function(){g.Gf.aa.V.call(this);this.ze&&g.pf(this.ze);this.ya=null};
g.h.U=function(a,b,c,d){return this.ze.add(String(a),b,!1,c,d)};
g.h.hh=function(a,b,c,d){return this.ze.add(String(a),b,!0,c,d)};
g.h.Aa=function(a,b,c,d){this.ze.remove(String(a),b,c,d)};
g.h.Jk=function(a,b,c,d){return this.ze.Jk(String(a),b,c,d)};
g.h.hasListener=function(a,b){return this.ze.hasListener(g.t(a)?String(a):void 0,b)};If.prototype.get=function(){if(0<this.l){this.l--;var a=this.g;this.g=a.next;a.next=null}else a=this.o();return a};var Nf;var Wf=new If(function(){return new Qf},function(a){a.reset()});
Pf.prototype.add=function(a,b){var c=Wf.get();c.set(a,b);this.l?this.l.next=c:this.g=c;this.l=c};
Pf.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.l=null),a.next=null);return a};
Qf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
Qf.prototype.reset=function(){this.next=this.scope=this.g=null};var Rf,Sf=!1,Tf=new Pf;ag.prototype.reset=function(){this.context=this.onRejected=this.o=this.g=null;this.l=!1};
var bg=new If(function(){return new ag},function(a){a.reset()});
g.$f.prototype.then=function(a,b,c){return lg(this,g.Aa(a)?a:null,g.Aa(b)?b:null,c)};
Xf(g.$f);g.$f.prototype.cancel=function(a){0==this.g&&g.Uf(function(){var b=new rg(a);ng(this,b)},this)};
g.$f.prototype.H=function(a){this.g=0;Zf(this,2,a)};
g.$f.prototype.I=function(a){this.g=0;Zf(this,3,a)};
g.$f.prototype.F=function(){for(var a;a=og(this);)pg(this,a,this.g,this.D);this.C=!1};
var tg=Mf;g.A(rg,Ia);rg.prototype.name="cancel";g.A(g.ug,g.Gf);g.h=g.ug.prototype;g.h.enabled=!1;g.h.va=null;g.h.setInterval=function(a){this.ad=a;this.va&&this.enabled?(this.stop(),this.start()):this.va&&this.stop()};
g.h.Tc=function(){if(this.enabled){var a=(0,g.F)()-this.ms;0<a&&a<.8*this.ad?this.va=this.dk.setTimeout(this.gq,this.ad-a):(this.va&&(this.dk.clearTimeout(this.va),this.va=null),this.dispatchEvent("tick"),this.enabled&&(this.va=this.dk.setTimeout(this.gq,this.ad),this.ms=(0,g.F)()))}};
g.h.start=function(){this.enabled=!0;this.va||(this.va=this.dk.setTimeout(this.gq,this.ad),this.ms=(0,g.F)())};
g.h.stop=function(){this.enabled=!1;this.va&&(this.dk.clearTimeout(this.va),this.va=null)};
g.h.V=function(){g.ug.aa.V.call(this);this.stop();delete this.dk};var zg=g.y,Dg={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},mba=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;g.h=Eg.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.F)()+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=yb(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.zb=function(){return Fg(this).keys};
g.h.sb=function(){return Fg(this).values};
g.h.isEmpty=function(){return!this.g.cookie};
g.h.Ac=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=Fg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var QG=new Eg("undefined"==typeof window.document?null:window.document);QG.l=3950;var nba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Wg=/#|$/,oba=/[?&]($|#)/;$g.prototype.remove=function(a){$b(this.g,a)};
$g.prototype.set=function(a,b){this.g[a]=b};
$g.prototype.get=function(a){return ac(this.g,a,null)};g.h=g.bh.prototype;g.h.Ab=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.bh(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.bh?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.h.expand=function(a,b,c,d){g.Ba(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.eh.prototype;g.h.clone=function(){return new g.eh(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.gd?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
g.h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var oh=null;kh.prototype.getValue=function(){return this.g};
kh.prototype.l=function(){return String(this.g)};
g.A(lh,kh);lh.prototype.l=function(){return this.g?"1":"0"};
g.A(mh,kh);mh.prototype.l=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};var th={},Sh={thin:2,medium:4,thick:6};new g.ug(200);var ki=window.document,gi=window;var uba=/^[\w+/_-]+[=]{0,2}$/;var wba=/https?:\/\/[^\/]+/;var Aba=g.Lf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.w.addEventListener("test",null,b)}catch(c){}return a});var ii=!!window.google_async_iframe_id,ji=ii&&window.parent||window;var Bba=[0,2,1],mi=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){mi=a},!0);
window.mb=function(a){if(a){var b=ni();b&&(window.css?window.css(a.id,"mb",b,void 0,void 0):a&&(a.href=Yh(a.href,"mb",b,void 0)))}};var sca={NONE:0,qY:1},Zba={Y1:1};pi.prototype.isVisible=function(){return this.tg?.3<=this.g:.5<=this.g};var tj={lF:0,CY:1},Oba={O_:0,kG:1,L_:2},Pba={953563515:0,953563516:1,953563517:2},Uba={370204018:0,370204019:1,370204026:0,370204027:1},Vba={370204022:0,370204023:1},Wba={370204024:0,370204025:1},Qba={509445010:0,509445011:1},Rba={509445012:0,509445013:1},Sba={668123008:0,668123009:1},Tba={668123028:0,668123029:1},Xba={lF:0,FZ:1,EZ:2},Yba={21061799:0,21061800:1,21061801:2};qi.prototype.getValue=function(){return this.g};ti.prototype.disable=function(){this.l=!1};
ti.prototype.enable=function(){this.l=!0};
ti.prototype.isEnabled=function(){return this.l};
ti.prototype.reset=function(){this.g={};this.l=!0;this.o={}};xi.prototype.Fd=function(){return!!this.l||!!this.g};
xi.prototype.toString=function(){return this.l+(this.g?"-":"")+this.g};
xi.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.l||a.l?this.l==a.l:!1};var Gba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;Ci.prototype.Oa=function(a,b,c,d){a=a+"//"+b+c;var e=Iba(this)-c.length-d.length;if(0>e)return"";this.g.sort(function(a,b){return a-b});
c=null;b="";for(var f=0;f<this.g.length;f++)for(var k=this.g[f],l=this.l[k],m=0;m<l.length;m++){if(!e){c=null==c?k:c;break}var n=Fi(l[m],this.o,",$");if(n){n=b+n;if(e>=n.length){e-=n.length;a+=n;b=this.o;break}else this.B&&(b=e,n[b-1]==this.o&&--b,a+=n.substr(0,b),b=this.o,e=0);c=null==c?k:c}}f="";this.A&&null!=c&&(f=b+this.A+"="+c);return a+f+d};var A0=null;var lha={s2:0,J_:1,E0:2,zY:3,M1:4,MY:5,UZ:6,F0:7,MW:8,PY:9,VW:10,T0:11};var Qi=g.w.performance,yua=!!(Qi&&Qi.mark&&Qi.measure&&Qi.clearMarks),Oi=g.Lf(function(){var a;if(a=yua){var b;if(null===A0){A0="";try{a="";try{a=g.w.top.location.hash}catch(c){a=g.w.location.hash}a&&(A0=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=A0;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
Pi.prototype.disable=function(){this.l=!1;this.events!=this.g.google_js_reporting_queue&&(Oi()&&(0,g.B)(this.events,Ri),this.events.length=0)};
Pi.prototype.F=function(a){this.l&&this.events.push(a)};
Pi.prototype.start=function(a,b){if(!this.l)return null;var c=Mi()||Li();c=new Ni(a,b,c);var d="goog_"+c.uniqueId+"_start";Qi&&Oi()&&Qi.mark(d);return c};
Pi.prototype.end=function(a){if(this.l&&g.ua(a.value)){var b=Mi()||Li();a.duration=b-a.value;b="goog_"+a.uniqueId+"_end";Qi&&Oi()&&Qi.mark(b);this.F(a)}};Ui.prototype.C=function(a){this.o=a};
Ui.prototype.l=function(a,b,c,d){try{if(this.va&&this.va.l){var e=this.va.start(a.toString(),3);var f=b();this.va.end(e)}else f=b()}catch(l){b=this.o;try{Ri(e);var k=Xi(l);b=(d||this.D).call(this,a,k,void 0,c)}catch(m){this.g(217,m)}if(!b)throw l;}return f};
Ui.prototype.B=function(a,b,c,d,e){var f=this;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.l(a,function(){return b.apply(c,l)},d,e)}};
Ui.prototype.g=function(a,b,c,d,e){e=e||"jserror";try{var f=new Ci;f.B=!0;Ji(f,1,"context",a);b.error&&b.meta&&b.id||(b=Xi(b));b.msg&&Ji(f,2,"msg",b.msg.substring(0,512));b.file&&Ji(f,3,"file",b.file);0<b.line&&Ji(f,4,"line",b.line);var k=b.meta||{};if(d)try{d(k)}catch(m){}b=[k];f.g.push(5);f.l[5]=b;var l=Bi();l.l&&Ji(f,6,"top",l.l.url||"");Ji(f,7,"url",l.g.url||"");Ki(this.A,e,f,c)}catch(m){try{Ki(this.A,e,{context:"ecmserr",rctx:a,msg:Wi(m),url:l&&l.g.url},c)}catch(n){}}return this.o};
g.p(Vi,yi);Yi.prototype.C=function(a){this.o=a};
Yi.prototype.g=function(a,b,c,d,e){if(Math.random()>(void 0===c?.01:c))return this.o;b.error&&b.meta&&b.id||(b=new yi(b,{context:a,id:void 0===e?"jserror":e}));d&&(b.meta={},d&&d(b.meta));g.w.google_js_errors=g.w.google_js_errors||[];g.w.google_js_errors.push(b);g.w.error_rep_loaded||(b=g.w.document,c=g.w.location.protocol+"//pagead2.googlesyndication.com/pagead/js/err_rep.js",a=b.createElement("script"),g.ad(a,g.de(c)),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,
b),g.w.error_rep_loaded=!0);return this.o};
Yi.prototype.l=function(a,b,c,d){d=void 0===d?this.g:d;try{var e=this.va&&this.va.start(String(a),3);var f=b();this.va&&e&&this.va.end(e)}catch(k){if(this.va&&e&&Ri(e),!d.call(this,a,k,.01,c,"jserror"))throw k;}return f};
Yi.prototype.B=function(a,b,c,d,e){var f=this;e=void 0===e?this.g:e;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.l(a,function(){return b.apply(c,l)},d,e)}};var Ti,Zi,B0=li(),Si=new Pi(1,B0);Ti=new function(){var a=void 0===a?gi:a;this.A="http:"===a.location.protocol?"http:":"https:";this.l="pagead2.googlesyndication.com";this.o="/pagead/gen_204?id=";this.g=.01};
Zi=new Ui;"complete"==B0.document.readyState?B0.google_measure_js_timing||Si.disable():Si.l&&ci(B0,"load",function(){B0.google_measure_js_timing||Si.disable()});
var Jba=Zi.g;if(ki&&ki.URL){var zua,ai=ki.URL;zua=!!ai&&0<zba().length;Zi.C(!zua)};g.sk=!g.yd&&!ic();mj.prototype.la=function(){return this.B};var Nba=(0,g.F)(),qj=-1,oj=-1,dl,rj=-1,pj=!1;g.wa(uj);vj.prototype.cancel=function(){gi.clearTimeout(this.g);this.g=null};
vj.prototype.schedule=function(){var a=this;gi&&(this.g=gi.setTimeout(aj(143,function(){a.o++;a.l.FC()}),sj(uj.getInstance().F)))};g.h=yj.prototype;g.h.Di=function(){return this.kg()};
g.h.kg=function(){return!0};
g.h.initialize=function(){this.I=!0};
g.h.ej=function(){return this.Y};
g.h.Yh=function(){return this.K};
g.h.Ke=function(){return this.l==this?this.name:this.l.Ke()};
g.h.Gf=function(){return{}};
g.h.If=function(){return this.B};
g.h.FC=function(){};
g.h.cp=function(){};
g.h.Xh=function(a){var b=this.B,c=a.If();this.l=c<this.F?this:a;this.B=this.l!=this?c:this.F;this.l==this||1==c&&0!=this.F||this.cp();this.B!=b&&zj(this)};
g.h.Xg=function(a){this.l!=this&&Gj(this,a)};
g.h.Ag=function(){return this.D};
g.h.dispose=function(){this.X=!0};
g.h.ha=function(){return this.X};g.h=Hj.prototype;g.h.xz=function(){};
g.h.Bs=function(){};
g.h.jq=function(){this.o=new mj(this.g.g,this.element,this.o.g,this.o.o,this.Ik(),this.o.l,this.o.C)};
g.h.dispose=function(){this.ha()||(Cj(this.g,this),this.F=!0)};
g.h.ha=function(){return this.F};
g.h.Ke=function(){return this.A.Ke()};
g.h.Gf=function(){return this.A.Gf()};
g.h.If=function(){return this.A.If()};
g.h.ej=function(){return this.A.ej()};
g.h.Yh=function(){return this.A.Yh()};
g.h.Xh=function(a){this.A=a;this.H.Xh(this)};
g.h.Xg=function(){this.jq()};
g.h.Ag=function(){return this.H.Ag()};g.h=Ij.prototype;g.h.Ke=function(){return this.g.Ke()};
g.h.If=function(){return this.g.If()};
g.h.ej=function(){return this.g.ej()};
g.h.Yh=function(){return this.g.Yh()};
g.h.create=function(a,b,c){var d=null;this.g&&(d=this.wz(a,b,c),Bj(this.g,d));return d};
g.h.Di=function(){return this.kg()};
g.h.kg=function(){return!1};
g.h.init=function(){return!0};
g.h.dispose=function(){this.B=!0};
g.h.ha=function(){return this.B};
g.h.Gf=function(){return{}};var Jj={},Kj=null;Jj.le=0;Jj.nt=2;Jj.Fr=3;Jj.Po=5;Jj.me=1;Jj.om=4;Mj.prototype.update=function(a,b,c){a&&(this.g+=b,this.l+=b,this.A+=b,this.o=Math.max(this.o,this.A));if(void 0===c?!a:c)this.A=0};Nj.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.l.length;e++){var k=this.l[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.g[e].update(f&&l,d,!f||k)}};Wj.prototype.update=function(a,b,c,d,e){this.D=-1!=this.D?Math.min(this.D,b.g):b.g;e&&(this.L=Math.max(this.L,b.g));this.g.update(b.g,c.g,b.l,a,d);c=d||c.tg!=b.tg?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.l;this.W.update(c,a,b)};
Wj.prototype.eh=function(){return this.W.o>=this.Z};Xj.prototype.getStatus=function(){return"u"};
g.p(ak,Xj);var fca=[3,7,8,5,5],gca=[3,4,4,5,6],hca=[3,4,5,6],ica=[3,5];bk.prototype.A=function(a){if(this.g&&this.g.contentWindow){var b=aj(245,this.A,this);this.g.contentWindow.requestAnimationFrame(b);this.l||(this.l=(0,g.F)()-a);this.o=a}};
bk.prototype.isVisible=function(a){return 50>a-this.l-this.o};
bk.prototype.remove=function(){try{g.Kd(this.g)}catch(a){}this.g=null};g.p(dk,Hj);dk.prototype.Ik=function(){return!0};
dk.prototype.jq=function(){if(this.element){var a=this.element.getBoundingClientRect(),b=a.right-a.left;a=a.bottom-a.top;var c=g.Gh(this.element,this.g.fd),d=c.x;c=c.y;this.l=new g.bh(Math.round(c),Math.round(d+b),Math.round(c+a),Math.round(d))}(b=this.g.g.g)?(b=fk(this.l,b),b=b.top>=b.bottom||b.left>=b.right?new g.bh(0,0,0,0):dh(b,-this.l.left,-this.l.top)):b=new g.bh(0,0,0,0);a=this.g.g.g;c=d=0;var e=1==wi(this.rb,"od"),f=(this.l.bottom-this.l.top)*(this.l.right-this.l.left);a&&b&&0<f&&(ek(b,a,
this.element,e)?b=new g.bh(0,0,0,0):(d=hk(b,this.l),c=hk(b,a)));this.o=new mj(this.g.g,this.element,this.l,b,this.Ik(),d,c)};
dk.prototype.Yh=function(){return this.A.Yh()};
dk.prototype.Xg=function(a){if(null==this.element)if(null!=a.o){var b=a.o;this.l=new g.bh(0,b.width,b.height,0)}else this.l=new g.bh(0,0,0,0);Hj.prototype.Xg.call(this,a)};kk.prototype.add=function(a,b,c){++this.o;var d=this.o/4096;this.g.push(oca(new ik(a,b,c),d));this.l=!0;return this};var ok,C0=new Date(0);ok=g.wb(C0.getUTCFullYear(),4)+g.wb(C0.getUTCMonth()+1,2)+g.wb(C0.getUTCDate(),2)+"T"+g.wb(C0.getUTCHours(),2)+g.wb(C0.getUTCMinutes(),2)+"Z";pk.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=nk(this.g);0<b.length&&(a+="?"+b);return a};var rk=new g.bh(0,0,0,0),zca={threshold:[0,.3,.5,.75,1]};g.h=tk.prototype;g.h.Xg=function(){};
g.h.Xh=function(a){a.Yh()&&this.GD(this,a.ej(),a)};
g.h.Ag=function(){return!1};
g.h.An=function(){return new Wj};
g.h.Dd=function(){return this.ws};
g.h.kz=function(){};
g.h.jz=function(){};
g.h.ey=function(){};
g.h.up=function(){};
g.h.Ah=function(a,b,c,d,e,f,k){k=void 0===k?{}:k;var l=this.Tx(c,k);k=this.iq(a,b,d,k);g.ua(b)||(this.VA=new g.gd(a.left-b.left,a.top-b.top),this.Sl=new g.kd(b.right-b.left,b.bottom-b.top));e=e&&this.tc.g>=(this.tg()?.3:.5);this.Au(l,k,e,f);this.ji=c;0<k.g&&-1===this.tD&&(this.tD=c);-1==this.vD&&this.eh()&&(this.vD=c);if(-2==this.rs)try{a:{var m=g.ua(b)?null:b;if(a&&a!=rk&&0!=this.Ue){if(!m){if(!this.Sl){var n=-1;break a}m=new g.bh(0,this.Sl.width,this.Sl.height,0)}n=m.Ab&&0<m.Ab()&&m.getHeight&&
0<m.getHeight()?this.wk(a,m):-1}else n=-1}this.rs=n}catch(q){bj(207,q)}this.tc=k;d&&(this.tc.g=0);this.xs(this)};
g.h.Au=function(a,b,c,d){this.Dd().update(a,b,this.tc,c,d)};
g.h.Tq=function(){return new pi};
g.h.iq=function(a,b,c){var d=this.Tq();d.l=c;c=fj();d.o=0==c?-1:1==c?0:1;d.g=g.ua(b)?this.wk(b):this.wk(a,b);d.tg=this.tg();return d};
g.h.Tx=function(a){if(-1==this.ji)return 0;a=a-this.ji||1;return 1E4<a?1:a};
g.h.wk=function(a,b){if(0===this.opacity&&1===wi(this.rb,"opac"))return 0;if(g.ua(a))return a;var c=fk(a,b),d=1==wi(this.rb,"od");if(0>=this.Ue||ek(c,b,this.ng,d))return 0;d=gk(c)/this.Ue;hk(c,b);return d};
g.h.tg=function(){return!1};
g.h.Ge=function(){return 0};
g.h.eh=function(){return this.ws.eh()};
g.h.mu=function(a){a=void 0===a?1:a;if(!this.ng)return!1;var b=this.tg();b&&(a=4);b=new ak(b,a);if(a=cca(b,this.ng))this.Ai=b;return a};var Bk="StopIteration"in g.w?g.w.StopIteration:{message:"StopIteration",stack:""};Ak.prototype.next=function(){throw Bk;};
Ak.prototype.Nd=function(){return this};g.Gk=function(){if(g.r0){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Ib))?a[1]:"0"}return zT?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Ib))?a[0].replace(/_/g,"."):"10"):g.mo?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Ib))?a[1]:""):fo||go||pua?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Ib))?a[1].replace(/_/g,"."):""):""}();var Kx=null,D0={},kha=(D0[8]="google_prev_ad_formats_by_region",D0[9]="google_prev_ad_slotnames_by_region",D0);var Zl={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},El={Ov:"start",jv:"firstquartile",Av:"midpoint",Sv:"thirdquartile",dv:"complete",eG:"metric",PAUSE:"pause",CG:"resume",Jv:"skip",Wv:"viewable_impression",iG:"mute",aH:"unmute",kv:"fullscreen",CF:"exitfullscreen",cX:"bufferstart",bX:"bufferfinish",lv:"fully_viewable_audible_half_duration_impression",zv:"measurable_impression",NE:"abandon",gv:"engagedview",gm:"impression",sF:"creativeview",Qp:"loaded",p0:"progress",CLOSE:"close",
sX:"collapse",qG:"overlay_resize",rG:"overlay_unmeasurable_impression",sG:"overlay_unviewable_impression",uG:"overlay_viewable_immediate_impression",tG:"overlay_viewable_end_of_session_impression",uF:"custom_metric_viewable"},Uda="start firstquartile midpoint thirdquartile resume loaded".split(" "),Vda=["start","firstquartile","midpoint","thirdquartile"],Mca=["abandon"],Cl={UNKNOWN:-1,Ov:0,jv:1,Av:2,Sv:3,dv:4,eG:5,PAUSE:6,CG:7,Jv:8,Wv:9,iG:10,aH:11,kv:12,CF:13,lv:14,zv:15,NE:16,gv:17,gm:18,sF:19,
Qp:20,uF:21};g.p(Kk,pi);Mk.prototype.xa=function(a){var b=this.l[a],c=b[1];this.o+=b[0];0<c&&0==this.g[a]&&(this.g[a]=1)};Ok.prototype.getValue=function(){return this.l};
Ok.prototype.update=function(a,b){32<=a||(this.g&1<<a&&!b?this.l&=~(1<<a):this.g&1<<a||!b||(this.l|=1<<a),this.g|=1<<a)};g.p(Pk,Wj);
Pk.prototype.update=function(a,b,c,d,e){if(!b.paused){Wj.prototype.update.call(this,a,b,c,d,e);e=Lk(b)&&Lk(c);var f=.5<=(d?Math.min(b.g,c.g):c.g);jj(b.volume)&&(this.A=-1!=this.A?Math.min(this.A,b.volume):b.volume,this.C=Math.max(this.C,b.volume));f&&(this.K+=a,this.H+=e?a:0);this.o.update(b.g,c.g,b.l,a,d,e);this.l.update(!0,a);this.B.update(e,a);this.I.update(c.fullscreen,a);this.ca.update(e&&!f,a);a=Math.floor(b.A/1E3);this.N.update(a,b.isVisible());this.X.update(a,1<=b.g);this.Y.update(a,Lk(b))}};g.p(Rk,Ica);Rk.prototype.A=function(){return!0};
Rk.prototype.o=function(){return!1};
Rk.prototype.getId=function(){var a=this,b=Wb(El,function(b){return b==a.B});
return Cl[b].toString()};
Rk.prototype.toString=function(){var a="";this.o()&&(a+="c");this.g&&(a+="s");0<this.l&&(a+=":"+this.l);return this.getId()+a};var Aua=new g.bh(0,0,0,0),E0={},Nca=(E0.firstquartile=0,E0.midpoint=1,E0.thirdquartile=2,E0.complete=3,E0);g.p(Uk,tk);g.h=Uk.prototype;g.h.Ag=function(){return!0};
g.h.mu=function(a){a=void 0===a?3:a;var b=uj.getInstance().rb,c=!!wi(b,"rafx");b=!!wi(b,"rafv");return c||b?tk.prototype.mu.call(this,a):!1};
g.h.kz=function(a){var b=this,c=a-this.Pa;this.ma&&1E3>=c||(c=g.x("ima.bridge.getNativeViewability"),g.Aa(c)&&(c(this.td,function(a){b.ma=!1;b.H&&(b.za=!0);g.Yb(a)&&b.ya++;b.up(a)}),this.ma=!0,this.Pa=a))};
g.h.jz=function(a){var b=uj.getInstance();a-this.Na>sj(b.F)&&(a=g.x("ima.admob.getViewability"),g.Aa(a)&&a(this.td))};
g.h.ey=function(a){this.Na=nj();this.up(a)};
g.h.up=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.ea=!!f);b=new g.bh(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?Aua.clone():new g.bh(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;if("n"==this.C||"ml"==this.C)f={volume:e};e=f;e=void 0===e?{}:e;this.Ue=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.Ah(b,c,
d,!1,!0,!0,e)};
g.h.Ah=function(a,b,c,d,e,f,k){var l=this;k=void 0===k?{}:k;var m=this.ia(this)||{};g.fc(m,k);this.A=m.duration||this.A;this.I=m.isVpaid||this.I;this.Ya=m.isYouTube||this.Ya;this.Z=f;tk.prototype.Ah.call(this,a,b,c,d,e,f,m);(0,g.B)(this.D,function(a){a.g||(a.g=Tk(a,l))})};
g.h.Au=function(a,b,c,d){tk.prototype.Au.call(this,a,b,c,d);Wk(this).update(a,b,this.tc,c,d);this.fa=Lk(this.tc)&&Lk(b);-1==this.W&&this.Ca&&(this.W=this.Dd().l.g);this.Fc.o=0;a=this.tc;b=this.eh();.5<=a.g&&this.Fc.xa("vs");b&&this.Fc.xa("vw");jj(a.volume)&&this.Fc.xa("am");this.fa&&this.Fc.xa("a");this.Of&&this.Fc.xa("f");-1!=a.o&&(this.Fc.xa("bm"),1==a.o&&this.Fc.xa("b"));this.fa&&b&&this.Fc.xa("avw");this.Z&&this.Fc.xa("cm");this.Z&&0<a.g&&this.Fc.xa("pv");Zk(this,this.Dd().l.g,!0)&&this.Fc.xa("gdr");
2E3<=Tj(this.Dd().g,1)&&this.Fc.xa("pmx")};
g.h.An=function(){return new Pk};
g.h.Dd=function(){return this.ws};
g.h.Tq=function(){return new Kk};
g.h.iq=function(a,b,c,d){a=tk.prototype.iq.call(this,a,b,c,d);a.fullscreen=this.Of;a.paused=2==this.Dc;a.volume=d.volume;jj(a.volume)||(this.Xa++,b=this.tc,jj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.A=g.t(d)&&0<=d?d:-1;return a};
g.h.Tx=function(a,b){var c=g.t(b.currentTime)?b.currentTime:this.L;if(-1==this.ji||2==this.Dc)var d=0;else{d=a-this.ji||1;var e=1E4;g.t(this.A)&&-1!=this.A&&(e=Math.max(e,this.A/3));d=d>e?1:d}e=c-this.L;var f=0;0<=e?(this.K+=d,this.Y+=Math.max(d-e,0),f=Math.min(e,this.K)):this.oa+=Math.abs(e);0!=e&&(this.K=0);-1==this.Cb&&0<e&&(this.Cb=0<=rj?nj()-rj:-1);this.L=c;return 1==Xk(this)?f:d};
g.h.wk=function(a,b){return this.H?0:this.Of?1:tk.prototype.wk.call(this,a,b)};
g.h.Ge=function(){return 1};
g.h.getDuration=function(){return this.A};var Bua=(0,g.F)();g.wa(fl);g.A(g.gl,g.K);g.h=g.gl.prototype;g.h.nj=!1;g.h.Pk=0;g.h.va=null;g.h.mj=function(a){this.g=arguments;this.va||this.Pk?this.nj=!0:hl(this)};
g.h.stop=function(){this.va&&(g.wg(this.va),this.va=null,this.nj=!1,this.g=[])};
g.h.pause=function(){this.Pk++};
g.h.resume=function(){this.Pk--;this.Pk||!this.nj||this.va||(this.nj=!1,hl(this))};
g.h.V=function(){g.gl.aa.V.call(this);this.stop()};
g.h.rI=function(){this.va=null;this.nj&&!this.Pk&&(this.nj=!1,hl(this))};g.h=jl.prototype;g.h.lz=function(){nl(this,!1);this.lr()};
g.h.lr=function(){ol(this,rl(this),!1)};
g.h.FC=function(){ol(this,rl(this),!1)};
g.h.ky=function(){var a=pl(this),b=nj();a?(pj||(qj=b,(0,g.B)(this.g,function(a){var c=a.Dd();c.R=Qk(c,b,1!=a.Dc)})),pj=!0,nl(this,!0)):(pj=!1,dl=b,(0,g.B)(this.g,function(a){a.Xi&&(a.Dd().F=b)}));
ol(this,rl(this),!a)};
g.h.KU=function(a){var b;if(b=null!=a.IntersectionObserver){if(a=sl(a,"nio",rl(this)))uj.getInstance().wb="nio";b=a}return b};
g.h.LU=function(a){return Hk()&&tl(this,a)};
g.h.JU=function(a){return g.yd&&g.sc(8)&&g.Aa(Lj(a&&a.document))?(uj.getInstance().wb="iem",!0):!1};
g.h.reset=function(){this.g=[];this.l=[]};
g.wa(jl);var ll=jl.getInstance();var Rl=null,Wl="",Tl=!1;var fda=function(a,b){return function(c){for(var d=0;d<b.length;d++)if(b[d]===c[a]||!g.t(b[d])&&!c.hasOwnProperty(a))return!0;return!1}}("e",[void 0,
1,2,3,4,8,16]),Cua={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:Al("qmtos"),qnc:Al("qnc"),qmv:Al("qmv"),qnv:Al("qnv"),raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",dc_rfl:"urlsigs",pngs:"pings",obd:"obd",veid:"veid"},Dua={c:wl("c"),at:"at",atos:zl("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:yl(),j:"dom",mtos:zl("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:wl("ss"),vsv:Kf("w2"),t:"t"},Eua={atos:"atos",amtos:"amtos",avt:zl("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:wl("ss"),t:"t"},Fua={a:"a",tos:yl(),at:"at",c:wl("c"),mtos:zl("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Kf("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},Gua={tos:yl(),at:"at",c:wl("c"),mtos:zl("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Kf("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:zl("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.ua(d))return(0,g.G)(b,function(a){return 0<d&&d>=a?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.p(Fl,Rk);Fl.prototype.A=function(a){return a.Dd().eh()};g.p(Hl,hda);Hl.prototype.g=function(a){var b=new gda;b.g=Gl(a,Cua);b.o=Gl(a,Eua);return b};g.p(Il,Ij);g.h=Il.prototype;g.h.Ke=function(){return this.l?this.l.Ke():this.g?this.g.Ke():"na"};
g.h.Gf=function(){return this.l?this.l.Gf():this.g?this.g.Gf():{}};
g.h.If=function(){return this.l?this.l.If():this.g?this.g.If():0};
g.h.init=function(a){this.A=a;return this.g?((0,g.B)(this.o,function(a){return a.initialize()}),Bj(this.g,this),!0):!1};
g.h.dispose=function(){(0,g.B)(this.o,function(a){a.cp();a.dispose()});
Ij.prototype.dispose.call(this)};
g.h.Di=function(){return(0,g.Ej)(this.o,function(a){return a.Di()})};
g.h.kg=function(){return(0,g.Ej)(this.o,function(a){return a.kg()})};
g.h.wz=function(a,b,c){return new dk(a,this.g,b,c)};
g.h.Xh=function(a){0==a.If()&&this.A(a.ej(),this)};
g.h.Xg=function(a){this.l=a.B};
g.h.Ag=function(){return!1};var kda={threshold:[0,.3,.5,.75,1]};g.p(Jl,Hj);g.h=Jl.prototype;g.h.Ke=function(){return"nio"};
g.h.Ik=function(){return!0};
g.h.xz=function(){var a=this;this.D||(this.D=nj());$i(298,function(){return mda(a)})||Aj(this.g,"msf")};
g.h.Bs=function(){if(this.l&&this.element)try{this.l.unobserve(this.element)}catch(a){}};
g.h.Gf=function(){var a={};return Object.assign(this.g.Gf(),(a.niot_obs=this.D,a.niot_cbk=this.C,a))};
g.p(Kl,Ij);Kl.prototype.Ke=function(){return"nio"};
Kl.prototype.Di=function(){var a=wi(uj.getInstance().rb,"nio_mode"),b=2===a;a=1===a;var c=uj.getInstance().g;return(b||a&&c)&&this.kg()};
Kl.prototype.kg=function(){return 1!=wi(uj.getInstance().rb,"inapp")&&null!=this.g.fd.IntersectionObserver};
Kl.prototype.wz=function(a,b,c){return new Jl(a,this.g,b,c)};g.p(Ll,yj);g.h=Ll.prototype;g.h.Ke=function(){return"osd"};
g.h.Gf=function(){return{F2:1}};
g.h.initialize=function(){var a=this;if(!this.I)if(this.I=!0,this.C.Fd()){cj(g.w,"message",function(b){if(null!=b&&b.data&&g.v(b.data)){var c=b.data;if(g.v(c)){var e={};c=c.split("\n");for(var f=0;f!=c.length;++f){var k=c[f],l=k.indexOf("=");if(!(0>=l)){var m=Number(k.substr(0,l));k=k.substr(l+1);switch(m){case 26:case 15:case 8:case 11:case 16:case 5:case 18:k="true"==k;break;case 4:case 33:case 6:case 25:case 28:case 29:case 24:case 23:case 22:case 7:case 21:case 20:k=Number(k);break;case 19:case 3:if(g.Aa(window.decodeURIComponent))try{k=
(0,window.decodeURIComponent)(k)}catch(q){throw Error("Error: URI malformed: "+k);}}e[m]=k}}e=e[0]?e:null}else e=null;if(e&&a.C.matches(new xi(e[4],e[12]))&&(c=e[29],f=e[0],g.Qa(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request"],f))){wda(a,e);if("goog_get_mode"==f&&b.source){m={};dj(a.C,m);m[0]="goog_provide_mode";m[6]=a.da;m[19]=a.N;m[16]=a.ca;try{var n=ej(m);b.source.postMessage(n,b.origin);Ol(a,n)}catch(q){bj(406,q)}}if("goog_get_mode"==f||"goog_acknowledge_monitoring"==
f)nda(a,e[28]),a.H=2,Nl(a);if(b=e[32])a.name=b;if(a.o.length||a.A.length)switch(4!=c&&(c=!1,b=a.g.l,n=a.g.g,"goog_acknowledge_monitoring"==e[0]&&(a.B=e[8]?0:2,zj(a)),(0,window.isNaN)(e[30])||(0,window.isNaN)(e[31])?(0,window.isNaN)(e[22])||(0,window.isNaN)(e[23])||(c=!0,b=new g.kd(e[22],e[23])):(c=!0,b=new g.kd(e[30],e[31])),e[9]&&(c=!0,f=e[9].split("-"),4==f.length&&(n=new g.bh(Db(f[0]),Db(f[3]),Db(f[2]),Db(f[1])))),c&&(c=Dj(a),c.l=b,c.g=n,c.A=pl(ll),Gj(a,c))),b=e[0],n=100*e[25],g.ua(n)&&!(0,window.isNaN)(n)&&
pda(a,n),void 0!=e[18]&&qda(a,e[18]),void 0!=e[7]&&0<e[7]&&rda(a,e[7]),n=!!e[5],c=!!e[11],f=!1,"goog_update_data"==b&&(f=!!e[15],oda(a,e[3])),e=!c&&"goog_update_data"==b&&!e[18],b){case "goog_image_request":sda(a,n,c);case "goog_update_data":e&&tda(a),n&&uda(a,f),c&&vda(a)}}}},118);
var b=aj(197,function(){var b=a.da,d=a.C,e=a.ca,f=a.N;e=void 0===e?!1:e;f=void 0===f?"":f;++a.ea;if(2==a.H)Nl(a);else if(10<a.ea)Aj(a,"no");else if(a.fd.postMessage)if(d.Fd()){var k=Ml(a);if(k){e=void 0===e?!1:e;f=void 0===f?"":f;var l={};dj(d,l);l[0]="goog_request_monitoring";l[6]=b;l[27]=a.fd.document.domain;l[16]=e;f&&f.length&&(l[19]=f);try{var m=ej(l);k.postMessage(m,"*")}catch(n){}}}else Aj(a,"ib");else Aj(a,"c")});
this.H=1;this.L=this.fd.setInterval(b,500)}else Aj(this,"ib")};
g.h.cp=function(){var a={};dj(this.C,a);a[0]="goog_stop_monitoring";Ol(this,ej(a));Nl(this)};
g.h.Di=function(){var a=uj.getInstance();return wi(a.rb,"osd")&&this.kg()?4===a.H?!!wi(a.rb,"mkm"):!0:!1};
g.h.kg=function(){return uj.getInstance().g};
g.wa(Ll);g.h=Pl.prototype;g.h.an=function(a){a.Of=!1;Ada(a.Ge(),a.td)};
g.h.Cn=function(){};
g.h.Lo=function(a,b,c,d){this.g||(this.g=this.Ww());b=c?b:-1;if(null==this.g||this.A)return a=new Uk(gi,a,b,7),a.td=d,a;a=new Uk(gi,a,b,7,new Rk("measurable_impression",this.g),this.ar());a.td=d;return a};
g.h.ar=function(){return[new Fl("viewable_impression",this.g)]};
g.h.Xh=function(a){var b=uj.getInstance();switch(a.If()){case 0:b.l=!1;(a=fl.getInstance().g)&&Cj(a.g,this);(a=Ll.getInstance())&&Cj(a,this);Sl();break;case 2:b.l&&ml()}};
g.h.Xg=function(a){var b=uj.getInstance();b.l&&(b.o=a.l,b.B=a.g)};
g.h.Ag=function(){return!1};
g.h.aJ=function(a,b){a.bh=!0;switch(a.Ge()){case 1:Xl(this,a,b);break;case 2:this.cu(a)}this.hu(a)};
g.h.iJ=function(a){al(a,0);return cl(a,"start",pl(ll))};
g.h.gk=function(a,b,c){ol(ll,[a],!pl(ll),b);return this.Ug(a,b,c)};
g.h.Ug=function(a,b,c){return cl(a,c,pl(ll))};
g.h.dJ=function(a,b){return Yl(a,"firstquartile",1,b)};
g.h.fJ=function(a,b){a.Ca=!0;return Yl(a,"midpoint",2,b)};
g.h.jJ=function(a,b){return Yl(a,"thirdquartile",3,b)};
g.h.bJ=function(a,b){var c=Yl(a,"complete",4,b);0!=a.Dc&&(a.Dc=3);return c};
g.h.DC=function(a,b,c){var d=pl(ll);if(2==a.Dc&&!d){var e=nj();a.Dd().F=e}ol(ll,[a],!d,b);2==a.Dc&&(a.Dc=1);return cl(a,c,d)};
g.h.hJ=function(a,b){var c=this.gk(a,b||{},"skip");0!=a.Dc&&(a.Dc=3);return c};
g.h.eJ=function(a,b){a.Of=!0;return this.gk(a,b||{},"fullscreen")};
g.h.cJ=function(a,b){a.Of=!1;return this.gk(a,b||{},"exitfullscreen")};
g.h.St=function(a,b,c){var d=a.Dd(),e=nj();d.R=Qk(d,e,1!=a.Dc);ol(ll,[a],!pl(ll),b);1==a.Dc&&(a.Dc=2);return cl(a,c,pl(ll))};
g.h.gJ=function(a,b){ol(ll,[a],!pl(ll),b);return a.l()};
g.h.ur=function(a,b){ol(ll,[a],!pl(ll),b);this.xC(a);0!=a.Dc&&(a.Dc=3);return a.l()};
g.h.rr=function(){};
g.h.cu=function(){};
g.h.xC=function(){};
g.h.vz=function(){};
g.h.hu=function(){};
g.h.Ww=function(){};var Fda={DY:"visible",FW:"audible",H1:"time",K1:"timetype"},am={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},
audible:function(a){return"0"==a||"1"==a},
timetype:function(a){return"mtos"==a||"tos"==a},
time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}};g.p(bm,Rk);bm.prototype.getId=function(){return this.Ba};
bm.prototype.o=function(){return!0};
bm.prototype.A=function(a){var b=a.Dd(),c=a.getDuration();return(0,g.Ej)(this.C,function(a){if(void 0!=a.g)var d=Hda(a,b);else b:{switch(a.B){case "mtos":d=a.l?b.B.o:b.l.g;break b;case "tos":d=a.l?b.B.g:b.l.g;break b}d=0}0==d?a=!1:(a=-1!=a.o?a.o:g.t(c)&&0<c?a.A*c:-1,a=-1!=a&&d>=a);return a})};g.p(cm,Rk);cm.prototype.A=function(a){var b=Rj(a.Dd().o,1);return Zk(a,b)};var gm=(0,g.F)(),im=!1,jm=!1,km=!1,Jda=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return hm(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 hm(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 hm(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 hm(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 hm(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return jm},
function(){return km},
function(){return hm(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 hm(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]||fm(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 fm(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 hm(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 fm(a.CSS.supports)},
function(){return fm(window.Intl.Collator)},
function(a){return fm(a.document.createElement("dialog").show)},
function(){return hm(8)},
function(a){return fm(a.document.createElement("div").animate([{transform:"scale(1)",SH:"ease-in"},{transform:"scale(1.3)",SH:"ease-in"}],{duration:1300,y3:1}).reverse)},
function(a){return fm(a.document.createElement("div").animate)},
function(a){return fm(a.document.documentElement.webkitRequestFullScreen)},
function(a){return fm(a.navigator.getBattery)},
function(a){return fm(a.navigator.permissions.query)},
function(){return!1},
function(){return hm(9)},
function(){return fm(window.webkitRequestAnimationFrame)},
function(a){return fm(a.BroadcastChannel.call)},
function(a){return fm(a.FontFace)},
function(a){return fm(a.Gamepad)},
function(){return hm(10)},
function(a){return fm(a.MutationEvent)},
function(a){return fm(a.MutationObserver)},
function(a){return fm(a.crypto.getRandomValues)},
function(a){return fm(a.document.body.createShadowRoot)},
function(a){return fm(a.document.body.webkitCreateShadowRoot)},
function(a){return fm(a.fetch)},
function(){return hm(11)},
function(a){return fm(a.navigator.serviceWorker.register)},
function(a){return fm(a.navigator.webkitGetGamepads)},
function(a){return fm(a.speechSynthesis.speak)},
function(a){return fm(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return hm(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 hm(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 hm(14)},
function(a){return"undefined"==typeof a.navigator.G3},
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")}],Kda=[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}],Lda=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.A(lm,iba);lm.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.A=this.o=0};
lm.prototype.update=function(a,b){g.t(b)||(b=a.length);for(var c=b-this.l,d=this.B,e=this.o,f=0;f<b;){if(0==e)for(;f<=c;)mm(this,a,f),f+=this.l;if(g.v(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.l){mm(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.l){mm(this,d);e=0;break}}this.o=e;this.A+=b};
lm.prototype.digest=function(){var a=Array((56>this.o?this.l:2*this.l)-this.o);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.A;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};g.p(nm,Hl);nm.prototype.g=function(a){var b=Hl.prototype.g.call(this,a);var c=gm=(0,g.F)();var d=hm(5);c=(jm?!d:d)?c|2:c&-3;d=hm(2);c=(km?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.l||(this.l=Mda());b.B=this.l;b.C=Gl(a,Dua,c,"h",om("kArwaWEsTs"));b.A=Gl(a,Fua,{},"h",om("b96YPMzfnx"));b.l=Gl(a,Gua,{},"h",om("yb8Wev6QDg"));return b};pm.prototype.g=function(){return g.x(this.l)};g.p(qm,pm);qm.prototype.g=function(a){if(!a.rh)return pm.prototype.g.call(this,a);var b=this.A[a.rh];if(b)return function(a,d,e){b.l(a,d,e)};
bj(393,Error());return null};g.p(vm,Pl);g.h=vm.prototype;g.h.Cn=function(a,b){var c=this;switch(uj.getInstance().wb){case "nis":var d=Rda(this,a,b);break;case "gsv":d=Qda(this,a,b);break;case "exc":d=Sda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=Cda(this,a,b.opt_adElement,b.opt_osdId):d=ql(a)||void 0}d&&1==d.Ge()&&(d.ia==g.y&&(d.ia=function(a){return c.vz(a)}),Pda(this,d,b));
return d};
g.h.vz=function(a){var b=uj.getInstance();a.g=0;a.R=0;if("h"==a.C||"n"==a.C){if("exc"==b.wb||"nis"==b.wb)var c=g.x("ima.bridge.getVideoMetadata");else if(a.rh&&ym(this)){var d=this.D[a.rh];d?c=function(a){d.g(a)}:null!==d&&bj("lidar::missingPlayerCallback",Error())}else c=g.x("ima.common.getVideoMetadata");
if(g.Aa(c))try{var e=c(a.td)}catch(f){a.g|=4}else a.g|=2}else if("b"==a.C)if(b=g.x("ytads.bulleit.getVideoMetadata"),g.Aa(b))try{e=b(a.td)}catch(f){a.g|=4}else a.g|=2;else if("ml"==a.C)if(b=g.x("ima.common.getVideoMetadata"),g.Aa(b))try{e=b(a.td)}catch(f){a.g|=4}else a.g|=2;else a.g|=1;a.g||(g.t(e)?null===e?a.g|=16:g.Yb(e)?a.g|=32:null!=e.errorCode&&(a.R=e.errorCode,a.g|=64):a.g|=8);null!=e||(e={});Dda(e,a);jj(e.volume)&&jj(this.B)&&(e.volume*=this.B);return e};
g.h.Ww=function(){if(ym(this))return new qm("ima.common.triggerExternalActivityEvent",this.l,this.D);var a=Tda(this);return null!=a?new pm(a,this.l):null};
g.h.ar=function(){var a=this.g,b=Pl.prototype.ar.call(this);b.push(new cm(a));return b};
g.h.cu=function(a){!a.g&&a.bh&&Vl(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)};
g.h.xC=function(a){a.ou&&(a.eh()?Vl(this,a,"overlay_viewable_end_of_session_impression"):Vl(this,a,"overlay_unviewable_impression"),a.ou=!1)};
g.h.rr=function(a){this.A&&1==a.Ge()&&zm(this,a)};
g.h.hu=function(a){this.A&&1==a.Ge()&&zm(this,a)};
g.h.Lo=function(a,b,c,d){a=Pl.prototype.Lo.call(this,a,b,c,d);this.C&&(b=this.F,null==a.l&&(a.l=new Jk),b.g[a.td]=a.l,a.l.B=Bua);return a};
g.h.an=function(a){a&&1==a.Ge()&&this.C&&delete this.F.g[a.td];return Pl.prototype.an.call(this,a)};
g.wa(vm);var Hua=aj(193,Bm,void 0,function(){var a=uj.getInstance(),b={};return b.sv="651",b["if"]=a.g?"1":"0",b.nas=String(ll.g.length),b});
g.va("Goog_AdSense_Lidar_sendVastEvent",Hua,void 0);var Iua=aj(194,function(a,b){b=void 0===b?{}:b;var c=xm(vm.getInstance(),a,b);return Am(c)});
g.va("Goog_AdSense_Lidar_getViewability",Iua,void 0);var Jua=aj(195,function(){return um()});
g.va("Goog_AdSense_Lidar_getUrlSignalsArray",Jua,void 0);var Kua=aj(196,function(){return g.Bg(um())});
g.va("Goog_AdSense_Lidar_getUrlSignalsList",Kua,void 0);var MB=(new Date).getTime();g.h=g.Fm.prototype;g.h.Ac=function(){return this.Fa};
g.h.sb=function(){Im(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.l[this.g[b]]);return a};
g.h.zb=function(){Im(this);return this.g.concat()};
g.h.isEmpty=function(){return 0==this.Fa};
g.h.clear=function(){this.l={};this.Bh=this.Fa=this.g.length=0};
g.h.remove=function(a){return Gm(this.l,a)?(delete this.l[a],this.Fa--,this.Bh++,this.g.length>2*this.Fa&&Im(this),!0):!1};
g.h.get=function(a,b){return Gm(this.l,a)?this.l[a]:b};
g.h.set=function(a,b){Gm(this.l,a)||(this.Fa++,this.g.push(a),this.Bh++);this.l[a]=b};
g.h.forEach=function(a,b){for(var c=this.zb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
g.h.clone=function(){return new g.Fm(this)};
g.h.Nd=function(a){Im(this);var b=0,c=this.Bh,d=this,e=new Ak;e.next=function(){if(c!=d.Bh)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw Bk;var e=d.g[b++];return a?e:d.l[e]};
return e};g.h=g.Lm.prototype;g.h.toString=function(){var a=[],b=this.A;b&&a.push(Tm(b,Lua,!0),":");var c=this.l;if(c||"file"==b)a.push("//"),(b=this.F)&&a.push(Tm(b,Lua,!0),"@"),a.push(g.pb(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.o)this.l&&"/"!=c.charAt(0)&&a.push("/"),a.push(Tm(c,"/"==c.charAt(0)?Mua:Nua,!0));(c=this.g.toString())&&a.push("?",c);(c=this.Th())&&a.push("#",Tm(c,Oua));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.Mm(b,a.A):c=!!a.F;c?b.F=a.F:c=!!a.l;c?g.Nm(b,a.l):c=null!=a.B;var d=a.o;if(c)g.Om(b,a.B);else if(c=!!a.o){if("/"!=d.charAt(0))if(this.l&&!this.o)d="/"+d;else{var e=b.o.lastIndexOf("/");-1!=e&&(d=b.o.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=g.nb(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.Pm(b,d):c=""!==a.g.toString();c?Qm(b,a.g.clone()):c=!!a.H;c&&(b.H=a.Th());return b};
g.h.clone=function(){return new g.Lm(this)};
g.h.Qx=function(){return this.g.toString()};
g.h.Th=function(){return this.H};
var Lua=/[#\/\?@]/g,Nua=/[#\?:]/g,Mua=/[#\?]/g,aea=/[#\?@]/g,Oua=/#/g;g.h=g.Sm.prototype;g.h.Ac=function(){Wm(this);return this.Fa};
g.h.add=function(a,b){Wm(this);this.l=null;a=Zm(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.Fa=this.Fa+1;return this};
g.h.remove=function(a){Wm(this);a=Zm(this,a);return Hm(this.g,a)?(this.l=null,this.Fa=this.Fa-this.g.get(a).length,this.g.remove(a)):!1};
g.h.clear=function(){this.g=this.l=null;this.Fa=0};
g.h.isEmpty=function(){Wm(this);return 0==this.Fa};
g.h.forEach=function(a,b){Wm(this);this.g.forEach(function(c,d){(0,g.B)(c,function(c){a.call(b,c,d,this)},this)},this)};
g.h.zb=function(){Wm(this);for(var a=this.g.sb(),b=this.g.zb(),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){Wm(this);var b=[];if(g.v(a))$m(this,a)&&(b=g.Xa(b,this.g.get(Zm(this,a))));else{a=this.g.sb();for(var c=0;c<a.length;c++)b=g.Xa(b,a[c])}return b};
g.h.set=function(a,b){Wm(this);this.l=null;a=Zm(this,a);$m(this,a)&&(this.Fa=this.Fa-this.g.get(a).length);this.g.set(a,[b]);this.Fa=this.Fa+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.l)return this.l;if(!this.g)return"";for(var a=[],b=this.g.zb(),c=0;c<b.length;c++){var d=b[c],e=g.pb(d);d=this.sb(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.pb(d[f]));a.push(k)}}return this.l=a.join("&")};
g.h.clone=function(){var a=new g.Sm;a.l=this.l;this.g&&(a.g=this.g.clone(),a.Fa=this.Fa);return a};var Sn={RF:5E3,SF:15E3,Fv:"://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(" "),AG:/\bocr\b/,xq:0,yg:{},lU:function(a,b,c){a&&(Sn.oK(a)?Sn.TC(a,b):Sn.PC(a,b,c))},
oK:function(a){if(g.D(g.E(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.Lm(a)}catch(c){return null!=g.Ma(Sn.Fv,function(b){return 0<a.search(b)})}return b.Th().match(Sn.AG)?!0:null!=g.Ma(Sn.Fv,function(b){return null!=a.match(b)})},
TC:function(a,b){if(a&&(a=Sn.iI(a),!g.D(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?Sn.Uy(function(b){Sn.NC(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):Sn.NC(c)}},
NC:function(a){var b=g.J("IFRAME",{src:a,style:"display:none"});a=g.nd(b).body;var c=g.vg(function(){g.Bf(d);g.Kd(b)},Sn.SF);
var d=rf(b,["load","error"],function(){g.vg(function(){g.wg(c);g.Kd(b)},Sn.RF)});
a.appendChild(b)},
Uy:function(a,b){var c=Sn.yg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(b,c){delete Sn.yg[c];d||(d=!0,null!=Sn.yg.imageLoadingEnabled||(Sn.yg.imageLoadingEnabled=b),a(b))};
b?b(c):Sn.zK(c)}},
zK:function(a){var b=new window.Image,c=""+Sn.xq++;Sn.yg[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=="},
kU:function(a){if(a){var b=g.Ed("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+Sn.xq++;Sn.yg[c]=b;b.onload=b.onerror=function(){delete Sn.yg[c]};
window.document.body.appendChild(b)}},
OC:function(a){if(a){var b=new window.Image,c=""+Sn.xq++;Sn.yg[c]=b;b.onload=b.onerror=function(){delete Sn.yg[c]};
b.src=a}},
PC:function(a,b,c){if(a){if(c)try{if(g.w.navigator&&g.w.navigator.sendBeacon&&g.w.navigator.sendBeacon(a,""))return}catch(d){}b?Sn.Uy(function(b){b?Sn.OC(a):Sn.kU(a)}):Sn.OC(a)}},
iI:function(a){a=g.Hc(g.Kc(a));if("about:invalid#zClosurez"===a)return"";a=g.Tc(Vc(a));return g.pb(g.Bg(a))}};g.A(g.an,g.K);var dn=[];g.h=g.an.prototype;g.h.U=function(a,b,c,d){return bn(this,a,b,c,d)};
g.h.hh=function(a,b,c,d){return en(this,a,b,c,d)};
g.h.Aa=function(a,b,c,d,e){if(g.ya(b))for(var f=0;f<b.length;f++)this.Aa(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Ba(d)?!!d.capture:!!d,e=e||this.A||this,c=tf(c),d=!!d,b=g.lf(a)?a.Jk(b,c,d,e):a?(a=g.vf(a))?a.Jk(b,c,d,e):null:null,b&&(g.Bf(b),delete this.l[b.key])};
g.h.V=function(){g.an.aa.V.call(this);g.gn(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.A(hn,g.K);hn.prototype.D=function(){this.A=(0,g.F)()};
hn.prototype.H=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.l&1&&c.push("nm="+this.B);this.l&2&&c.push("nb="+this.C.get(b));if(this.l&8){var d=g.Dh(this.o);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.l&16&&null!=this.A&&c.push("clkt="+((0,g.F)()-this.A));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))};
hn.prototype.F=function(){this.B++};
hn.prototype.V=function(){hn.aa.V.call(this);this.g.dispose()};var dea=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var ln="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");nn.prototype.isBumper=function(){return this.l};g.h=on.prototype;g.h.Mq=function(){return this.g.Mq()};
g.h.Mk=function(){return this.g.Mk()};
g.h.Hf=function(){return this.g.Hf()};
g.h.Xk=function(a){return this.dg?this.g.Kn():this.g.Xk(a)};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.Eq=function(){return this.g.Eq()};
g.h.rj=function(){return this.g.rj()};
g.h.zr=function(){return this.g.zr()};
g.h.Mn=function(){return this.g.Mn()};
g.h.hide=g.y;g.h.Nf=g.y;g.h.ud=g.y;g.h.Kn=function(){return this.g.Kn()};
g.h.Ln=g.y;g.A(pn,g.ef);pn.prototype.getError=function(){return this.l};var ez="adMetadata callFlashVpaidMethod adCanPlay click companionBackfill companionInitialized complete destroyInsecureFlashVpaid durationChange firstquartile impression interaction initInsecureFlashVpaid youtubeKevlarCompanionShow youtubeKevlarCompanionHide loaded log mediaUrlPinged midpoint mute pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged videoClicked volumeChange vpaidEvent why_this_ad_got_it why_this_ad_url youTubeChannelMetadata yt-show-toast".split(" "),
F0="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent feedbackDislike feedbackLike feedbackShown firstquartile fullscreen instreamAdComplete interstitial_dismissed interstitial_start_clicked interstitial_timed_out interstitial_viewed measurable_impression midpoint mute MUTE_AD pause progress replay resume rewind show_ad skipshown skip start stop survey_question_displayed thirdquartile unmute userClose video_card_endcap_action video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression videoShareClicked videoShareShown viewable_impression why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
Vha="acceptinvitation click close collapse creativeview expand progress".split(" "),G0="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),H0={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.A(qn,g.ef);qn.prototype.Lb=function(){return this.l};
var Fha={ZV:"adCanPlay",bW:"adNotify",CX:"contentPauseRequested",DX:"contentResumeRequested",Kp:"click",WX:"discardAdNotify",L2:"videoClicked",N2:"videoIconClicked",gv:"engagedview",BY:"expandedChanged",p1:"start",gm:"impression",zv:"measurable_impression",Wv:"viewable_impression",lv:"fully_viewable_audible_half_duration_impression",qG:"overlay_resize",rG:"overlay_unmeasurable_impression",sG:"overlay_unviewable_impression",uG:"overlay_viewable_immediate_impression",tG:"overlay_viewable_end_of_session_impression",
EY:"externalActivityEvent",PAUSED:"pause",H0:"resume",jv:"firstquartile",Av:"midpoint",Sv:"thirdquartile",dv:"complete",oY:"durationChange",KW:"autoClose",D2:"userClose",E2:"userRecall",m0:"prefetched",Qp:"loaded",yW:"allAdsCompleted",Jv:"skip",JG:"skipshown",IZ:"linearChanged",f1:"skippableStateChanged",aW:"adMetadata",YV:"adBreakReady",TZ:"log",VOLUME_CHANGED:"volumeChange",T2:"mute",tZ:"interaction",tX:"companionBackfill",l3:"youTubeVideoMetadata",g3:"youTubeChannelMetadata",C2:"urlNavigationRequested",
W1:"trackingUrlPinged",H2:"video_card_endcap_action",I2:"video_card_endcap_collapse",J2:"video_card_endcap_dismiss",K2:"video_card_endcap_impression",d3:"why_this_ad_url",c3:"why_this_ad_got_it",H_:"MUTE_AD",wX:"companionInitialized",vX:"companionImpression",uX:"companionClick",b_:"mediaUrlPinged",j3:"youtubeKevlarCompanionShow",h3:"youtubeKevlarCompanionHide",m3:"yt-show-toast"};un.prototype.g=function(){return this.W};
un.prototype.getPlayerType=function(){return""};
var O=new un;var Pua={NORMAL:"normal",kv:"fullscreen"};var zt=["ADSENSE","ADSENSE/ADX"],cga=["DART","DART_DFA","DART_DFP"],oga=["FREEWHEEL","YT:FREEWHEEL"],Hs=["SHOPPING","YT:SHOPPING"],dga=["GDFP"],aga=["VIRAL","ADSENSE-VIRAL"],$fa=["VIRAL-RESERVE"],qq={"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"},cv={NX:"application/dash+xml",m_:"video/mp4",
o_:"video/mpeg",YZ:"application/x-mpegURL",N_:"video/ogg",G1:"video/3gpp",W2:"video/webm",MP3:"audio/mpeg",n_:"audio/mp4"};g.A(vn,g.ef);g.A(wn,Error);wn.prototype.Ed=function(){return this.A};
wn.prototype.Ub=function(){return this.l};
wn.prototype.Sb=function(){return this.B};
wn.prototype.toString=function(){return"AdError "+this.Ub()+": "+this.Ed()+(null!=this.al?" Caused by: "+this.al:"")};xn.prototype.g=function(){return!1};
xn.prototype.l=function(){return window.NaN};
xn.prototype.o=function(){return""};yn.prototype.getId=function(){return this.Ba};zn.prototype.getId=function(){return this.Ba};var nea=["ActiveViewExternalLayer"],Cn=null;var efa=["*.googlesyndication.com","gcdn.2mdn.net"],pea=["*.youtu.be","*.youtube.com"],sea="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(" "),rea=["c.googlesyndication.com"],
dja=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];Un.prototype.Ub=function(){return this.errorCode};
Un.prototype.Ed=function(){return this.message};
var oja=new Un("Unable to request ads from server. Cause: {0}.",1005),eja=new Un("Unable to request ads from server due to network error.",1012),Wz=new Un("Cannot parse the {0} value for the adslist response: {1}.",900),$u=new Un("Invalid usage of the API. Cause: {0}",900),Qha=new Un("Asset fallback ad replacement.",1021),Rha=new Un("Asset fallback no ad replacement.",1021),I0=new Un("Unable to display one or more required companions.",602),uC=new Un("There was a problem requesting ads from the server.",
1005),J0=new Un("There was a problem requesting the biscotti ID.",1005),cja=new Un("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),YB=new Un("The provided ad type: {0} is not supported.",1005),Xo=new Un("The provided {0} information: {1} is invalid.",1101),Qua=new Un("The provided skip offset was invalid.",1105),Rua=new Un("The extension contained is neither skippable nor nonskippable.",1105),ir=new Un("The response does not contain any valid ads.",1009),Sua=new Un("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),bia=new Un("The ad playlist response was malformed or empty.",1010),Xz=new Un("The ad response was not understood and cannot be parsed.",1010),hja=new Un("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),qja=new Un("The ad response contains unexpected element. Cause {0}.",1010),KC=new Un("No assets were found in the VAST ad response.",200),Xfa=new Un("Duplicate node in <{0}>: {1}",101),BB=new Un("The VAST response document is empty.",1009),
Cha=new Un("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),hr=new Un("Ad request reached a timeout.",301),CB=new Un("VAST response was malformed and could not be parsed.",100),K0=new Un("VAST media file loading reached a timeout of {0} seconds.",402),jr=new Un("Ad request could not be completed due to a network error.",301),Uua=new Un("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),rfa=new Un("The maximum number of VAST wrappers ({0}) has been reached.",302),Vua=new Un("VAST media file duration differs from the VAST response duration by {0} seconds.",202),wy=new Un("Video player received an ad with unexpected or incompatible linearity",201),Wfa=new Un("Unknown node in <{0}>: {1}",101),bha=new Un("Invalid VAST resource type: {0}",101),Dia=new Un("Invalid VAST version",102),sfa=new Un("No additional VAST wrappers allowed.",300),or=new Un("No Ads VAST response after one or more Wrappers",
303),Cy=new Un("There was an error playing the video ad.",400),Wua=new Un("VMAP unsupported node in <{0}>: {1}",1010),ax=new Un("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);g.A(ao,g.ef);var PA="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var uea=function(){if(g.UL)return bo(/Firefox\/([0-9.]+)/);if(g.yd||RL||g.gf)return rc;if(g.QI)return mc()?bo(/CriOS\/([0-9.]+)/):bo(/Chrome\/([0-9.]+)/);if(g.Ek&&!mc())return bo(/Version\/([0-9.]+)/);if(EM||DM){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Ib);if(a)return a[1]+"."+a[2]}else if(FM)return(a=bo(/Android\s+([0-9.]+)/))?a:bo(/Version\/([0-9.]+)/);return""}();var po={},ro="",ko=/OS (\S+) like/,Xua=/OS X (\S+)\)/,no=/Android ([\d\.]+)/;wo.prototype.reset=function(){this.g=0;this.l=null};var Yua;
Yua={AF:["BC","AD"],zF:["Before Christ","Anno Domini"],jG:"JFMAMJJASOND".split(""),MG:"JFMAMJJASOND".split(""),Bv:"January February March April May June July August September October November December".split(" "),Kv:"January February March April May June July August September October November December".split(" "),Hv:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Lv:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Xv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Nv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Iv:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Mv:"Sun Mon Tue Wed Thu Fri Sat".split(" "),I_:"SMTWTFS".split(""),NG:"SMTWTFS".split(""),FG:["Q1","Q2","Q3","Q4"],yG:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Yu:["AM","PM"],Lp:["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"],vF:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Op:6,eH:[5,6],Pp:5};g.L0=Yua;g.L0=Yua;yo.prototype.clone=function(){return new yo(this.g,this.months,this.days,this.hours,this.minutes,this.seconds)};
yo.prototype.times=function(a){return new yo(this.g*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};
yo.prototype.add=function(a){this.g+=a.g;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
g.h=g.Do.prototype;g.h.nn=g.L0.Op;g.h.qn=g.L0.Pp;g.h.clone=function(){var a=new g.Do(this.date);a.nn=this.nn;a.qn=this.qn;return a};
g.h.getFullYear=function(){return this.date.getFullYear()};
g.h.getMonth=function(){return this.date.getMonth()};
g.h.getDate=function(){return this.date.getDate()};
g.h.getTime=function(){return this.date.getTime()};
g.h.getDay=function(){return this.date.getDay()};
g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()};
g.h.getUTCMonth=function(){return this.date.getUTCMonth()};
g.h.getUTCDate=function(){return this.date.getUTCDate()};
g.h.getUTCHours=function(){return this.date.getUTCHours()};
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()};
g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.h.add=function(a){if(a.g||a.months){var b=this.getMonth()+a.months+12*a.g,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()),
this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),Ao(this,a.getDate()))};
g.h.Dn=function(a){return[this.getFullYear(),g.wb(this.getMonth()+1,2),g.wb(this.getDate(),2)].join(a?"-":"")+""};
g.h.toString=function(){return this.Dn()};
g.h.valueOf=function(){return this.date.valueOf()};Eo.prototype.reset=function(){this.l=this.g=null};var Ko=new Go;Go.prototype.clear=function(){this.g=Fo();this.B=this.I=this.l=null;this.A=Fo();this.o=null;this.W=this.D=this.H="";this.F=this.R=this.C=null};g.wa(Jo);Jo.prototype.isLoggingEnabled=function(){return this.g};g.h=No.prototype;g.h.pH=!1;g.h.hw=!1;g.h.mw=!0;g.h.Qi=null;g.h.bitrate=-1;g.h.contentId=null;g.h.fx=!1;g.h.Vk=!1;g.h.Wk=null;g.h.surveyCreativeData=null;g.h.ZU=!0;g.h.Gu=!1;g.h.aV=!1;g.h.Ju=!1;g.h.Ku=!1;g.h.ND=!1;g.h.OD=!0;g.h.UH=!1;g.h.bV=!0;g.h.vy=!0;g.h.Zp=!1;g.h.NH=!1;g.h.mV=0;g.h.showContentThumbnail=!0;g.h.Du=!1;g.h.Fu=!1;g.h.Zh=null;g.h.gf=15E3;g.h.ow=!0;g.h.iC=0;g.h.Wt=-1;g.h.uy=null;g.h.zi=-1;g.h.shortViewCount=null;g.A(Oo,g.Gf);var OA={UW:"beginFullscreen",Kp:"click",tY:"end",uY:"endFullscreen",ERROR:"error",Qp:"loaded",a_:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",e1:"skip",JG:"skipShown",X0:"shareClicked",Ov:"start",L1:"timeUpdate",hX:"cardsStateChange",I1:"timedMetadata",S2:"volumeChange"};g.h=Oo.prototype;g.h.Cy=function(){return!1};
g.h.gb=function(){return!0};
g.h.iu=g.y;g.h.Ey=g.y;g.h.Cr=g.y;g.h.Ae=function(){return null};
g.h.Gr=g.y;g.h.Er=g.y;g.A(Po,g.Gf);var Qo=null;Po.prototype.Yj=function(a){this.o=a};
Po.prototype.destroy=function(){this.H.Aa(this.l,"activityMonitor",this.K);this.l=null};
Po.prototype.K=function(a){var b=a.Uf;switch(a.Wd){case "appStateChanged":Wda(vm.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":Uo(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":So(b.queryId,b.viewabilityString);break;case "pageSignals":this.I=b.pageSignals;break;case "viewableImpression":To(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;Ro().A=b;Ro().F=(0,g.F)();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=vm.getInstance(),e=b.queryId;b=b.viewabilityData;a=uj.getInstance();if("exc"==a.wb){d.B=b.nativeVolume;c=b.exposure||0;var f=b.unmeasurable;d=d.Cn(e,{});null!=b.presenceData&&(null===d.l&&(d.l=new Jk),g.fc(d.l,b.presenceData));-1==d.da&&(d.da=nj(),d.qb=d.Dd().l.g);d.ca+=f?1:0;d.Ta++;d.Ma.update(c,c,!1,1,!1);e=b.insideIframe;g.t(e)&&0==e&&(a.g=!1);d.bh=f||d.bh;b.position&&uk(d,gi,a.g,new g.bh(b.position.top,
b.position.right,b.position.bottom,b.position.left));b.documentSize&&(a.A=new g.kd(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.o=new g.kd(b.viewportSize.width,b.viewportSize.height));d.tc.g=g.cd(c,0,1);d.ks=d.tc.g}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.g.get(a),Jo.getInstance().isLoggingEnabled()&&(f=-1,this.C&&(f=(0,g.F)()-this.C),d=!1,c||(d=!0),Ub(b,"loggingId")&&Mo(Jo.getInstance(),43,{step:"receivedResponse",time:(0,g.F)(),timeout:d,logid:b.loggingId,
timediff:f})),c&&(this.g.remove(a),c(b.engagementString))}};
g.va("ima.bridge.getNativeViewability",function(a,b){Ro();b({})},void 0);
g.va("ima.bridge.getVideoMetadata",function(){var a=Ro().D;return g.Aa(a)?a():{}},void 0);
g.va("ima.bridge.triggerViewEvent",To,void 0);g.va("ima.bridge.triggerMeasurableEvent",So,void 0);g.va("ima.bridge.triggerExternalActivityEvent",Uo,void 0);var zea={TF:"Image",HF:"Flash",ALL:"All"},yea={eZ:"Html",iZ:"IFrame",r1:"Static",ALL:"All"},Aea={jZ:"IgnoreSize",R0:"SelectExactMatch",S0:"SelectNearMatch"},Bea={VX:"DisallowResize",D0:"ResizeSmaller"};var M0=!1,N0="";
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(M0=!0,a.description)){N0=Wo(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){M0=!0;N0="2.0.0.11";return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],M0=!(!a||!a.enabledPlugin))){N0=Wo(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");M0=
!0;N0=Wo(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");M0=!0;N0="6.0.21";return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),M0=!0,N0=Wo(b.GetVariable("$version"))}catch(c){}})();
var cp=M0,QB=N0;g.A(hp,g.Gf);var ip=null;g.h=hp.prototype;g.h.destroy=function(){this.C.Aa(this.g,"activityMonitor",this.zy);this.o=!1;this.l.clear()};
g.h.V=function(){this.destroy();hp.aa.V.call(this)};
g.h.init=function(a){if(!this.o){if(this.g=a||null)this.C.U(this.g,"activityMonitor",this.zy),op(this);if(O.I&&!(g.w.ima&&g.w.ima.video&&g.w.ima.video.client&&g.w.ima.video.client.tagged)){g.va("ima.video.client.sdkTag",!0,void 0);var b=g.w.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(a=O.l||O.g())||
(a=!1);a||(vm.getInstance().A=!0);this.B=(g.Aa(null),null);wm();this.o=!0}};
g.h.Yj=function(a){this.A=a};
g.h.zy=function(a){var b=a.Uf,c=b.queryId,d={};d.eventId=b.eventId;switch(a.Wd){case "getPageSignals":op(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=mp(this,e,c,a,f);this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Ub(b,"isFullscreen")&&(c=b.isFullscreen),Ub(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,Mo(Jo.getInstance(),
43,{step:"beforeLookup",logid:b,time:(0,g.F)()},!0)),d.engagementString=Gea(this,a,c),this.g.send("activityMonitor","engagement",d)}};
g.va("ima.common.getVideoMetadata",function(a){a=jp().l.get(a);return g.Aa(a)?a():{}},void 0);
g.va("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=jp().g;d?d.send("activityMonitor","viewableImpression",c):jp().dispatchEvent(new qn("viewable_impression",null,c))},void 0);
g.va("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=jp().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.va("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=jp().g;d?d.send("activityMonitor","measurableImpression",c):jp().dispatchEvent(new qn("measurable_impression",null,c))},void 0);
g.va("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=jp().g)?a.send("activityMonitor","externalActivityEvent",d):jp().dispatchEvent(new qn("externalActivityEvent",null,d))},void 0);
jp();g.A(pp,g.ef);pp.prototype.getError=function(){return this.g};qp.prototype.kd=function(){return this.D};
qp.prototype.zc=function(){return this.A};
qp.prototype.clone=function(){var a=new qp(this.H,this.F);if(null!=this.A)rp(a,this.zc(),this.o,this.g,this.B);else{var b=this.kd(),c=this.o,d=this.g,e=this.l,f=this.B,k=this.C;a.D=b;a.A=null;a.o=c;a.g=d;a.l=e;a.B=f||[];a.C=k||[]}return a};g.A(tp,g.ef);up.prototype.videoCount=0;g.vp.prototype.l=zc;var Dp={},Pp={},Qp={},Kq={};xp.prototype.xk=null;xp.prototype.kd=function(){return this.content};
xp.prototype.toString=function(){return this.content};
g.A(yp,xp);yp.prototype.Ti=Kq;g.A(zp,xp);zp.prototype.Ti=Dp;g.A(Ap,xp);Ap.prototype.Ti={};Ap.prototype.xk=1;var Ep=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.xk=d);return c}}(zp),Oea=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a){return new b(String(a))}}(Ap),Fp={},Gp={},Zr=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.xk=d);return c}}(zp),Np=/['()]/g,Wp={},Pea={"\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;"},Qea={"\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"},Iea=/[\x00\x22\x27\x3c\x3e]/g,Kea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Jea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Sp=/[\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,
Mea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Nea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Jp=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Kp=/</g;$p.prototype.Oa=function(){return this.o};
$p.prototype.Sb=function(){return this.l};
g.A(aq,$p);Zp.prototype.isEmpty=function(){return this.g.isEmpty()};g.h=hq.prototype;g.h.getDuration=function(){return this.fa};
g.h.Or=function(){return null};
g.h.Nr=function(){return null};
g.h.Mr=function(){return null};
g.h.Lb=function(){return this.H};
g.h.zn=function(){for(var a=[this],b=this.H.l;b;){var c=kq(this,b)||kq(this,b,!0);null!=c&&a.push(c);b=b.l}return a};lq.prototype.Ab=function(){return this.C};
lq.prototype.getHeight=function(){return this.A};
lq.prototype.Oa=function(){return this.B};g.A(mq,hq);g.h=mq.prototype;g.h.df=function(){return this.A};
g.h.Qg=function(){return this.l};
g.h.Rg=function(){return null!=this.B?this.B.Oa():null};
g.h.Or=function(){var a=oq(this,"javascript");return null!=a?a.Oa():null};
g.h.Nr=function(){var a=pq(this);return null!=a?a.Oa():null};
g.h.Mr=function(){return null!=this.B?this.B.l:1==this.l.length?this.l[0].l:null};g.A(rq,hq);g.h=rq.prototype;g.h.kd=function(){return Ud(this.zc())};
g.h.Zk=function(){return!1};
g.h.Pr=function(){return this.Zk()?Ud(this.zc(!0)):""};
g.h.ld=function(){return this.X};
g.h.Vd=function(){return this.za};
g.h.Ab=function(){return this.Vd().width};
g.h.getHeight=function(){return this.Vd().height};
g.h.Rg=function(){return this.l};
g.h.Or=function(){return"VPAID"==this.I&&"Javascript"==this.X?this.l:null};
g.h.Nr=function(){return"VPAID"==this.I&&"Flash"==this.X?this.l:null};
g.h.Mr=function(){return this.I};
g.h.df=function(){return this.ia};g.A(sq,g.K);sq.prototype.D=function(){this.C=(0,g.F)()};
sq.prototype.H=function(a,b){var c=a.element;1==(this.l&1)&&(0==this.A&&this.A++,this.g.nm=this.A);2==(this.l&2)&&(this.g.nb=a.FH);if(8==(this.l&8)){var d=g.Dh(this.B);this.g.nx=Math.round(b.clientX-d.x);this.g.ny=Math.round(b.clientY-d.y)}16==(this.l&16)&&null!=this.C&&(d=(0,g.F)()-this.C,this.g.clkt=d);512==(this.l&512)&&(d=ni())&&(this.g.mb=d);"A"==c.tagName.toUpperCase()&&g.Zc(c,Yea(this,c.href))};
sq.prototype.F=function(){this.A++};var Zua=g.yd?Ec(wc(g.xc('javascript:""'))):Ec(wc(g.xc("about:blank"))),Zea=Cc(Zua),$ua=g.yd?Ec(wc(g.xc('javascript:""'))):Ec(wc(g.xc("javascript:undefined")));Cc($ua);g.A(tq,rq);g.h=tq.prototype;g.h.Ni=function(a){null==this.o||g.D(g.E(this.df()))||(this.o.U(a,"click",this.W),this.Y.push(a))};
g.h.zc=function(a){a?(null==this.da&&(this.da=this.lg(a),g.Hd(this.da,yq(this))),a=this.da):(null==this.A&&(this.A=this.lg(),g.Hd(this.A,yq(this))),a=this.A);null!=this.o&&this.o.U(a,"creativeview",this.ca);return a};
g.h.lg=function(){var a=g.E(this.l);g.D(g.E(this.df()))||(a=new g.Lm(a),g.Um(a,"clickTAG",g.pb(this.df())),a=a.toString());var b=g.J("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.ld()&&(b.width=this.Ab());b.setAttribute("src",Ln(a));this.Ni(b);return xq(this,b)};
g.h.Nq=function(){En().g("cleanup_text_overlay_spam_signals");return 2};
g.h.zn=function(){for(var a=[this],b=this.Lb().l;b;){var c=this.C?kq(this,b)||kq(this,b,!0):zq(this,b)||zq(this,b,!0);null!=c&&a.push(c);b=b.l}return a};var cfa={};g.A(Lq,tq);g.h=Lq.prototype;g.h.Vd=function(){return new g.kd(this.Ab(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.Ab=function(){return null!=this.D?g.Mh(this.D).width:0};
g.h.Nq=function(a){return En().g("cleanup_text_overlay_spam_signals")?g.Dq(a,"text-image-link")?9:g.Dq(a,"text-ad-channel")?1:0:g.Dq(a,"text-image")?9:g.Dq(a,"text-ad-channel")?1:0};
g.h.lg=function(){var a=this.Lb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.B,e="rtl";null!=d&&(e=tua.test(yc(d,void 0))?"rtl":"ltr");d={title:d,text:c.C+" "+c.D,dir:e,Gc:this.df()};if(e=c.getImageUrl())d.image=Ln(e),d.PD=!0,O.g()&&(d.PD=0==c.l||0==c.o),a=g.Ma(a.D,function(a){return a instanceof mq}),null!=a&&(d.duration=ep(a.getDuration()));
b.o&&(d.RD=b.o);this.D=Jq(Rea,d);(0,g.B)(this.D.getElementsByTagName("a"),this.Ni,this);this.D.id=this.Ba;this.D.style.height=this.getHeight()+"px";return this.D};var gfa=[202,1009],lfa="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),kfa={MOAT_INIT:["://yts\\.moatads\\.com","://yts-testing\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat-secure"],MOAT_VIEWABILITY:["://[^.]*\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat"],IAS_VIEWABILITY:["://[^.]*\\.adsafeprotected\\.com",
"://[^.]*\\.test-adsafeprotected\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/ias"],DV_VIEWABILITY:["://[^.]*\\.yt\\.srs\\.doubleverify\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/doubleverify"],GOOGLE_VIEWABILITY:"://pubads\\.g\\.doubleclick\\.net ://googleads\\.g\\.doubleclick\\.net ://ad[\\.-]([a-z0-9]+\\.){0,1}doubleclick\\.net ://ade\\.googlesyndication\\.com ://pagead2\\.googlesyndication\\.com ://([a-z0-9]+[.])*youtube\\.com".split(" ")};g.h=gr.prototype;g.h.Lf=function(){return null!=this.g&&this.g.Lf()?!0:0<this.ads.length&&this.l<this.ads.length-1};
g.h.De=function(a,b){null!=this.g?qfa(this,a,b):this.Lf()?tfa(this,a,(0,g.z)(function(c){!this.Lf()||!O.g()&&301==c.Ub()?b(c):this.De(a,b)},this)):b(new wn("adLoadError","The ad source contains no more ads.",1005))};
g.h.Ax=function(a,b){return this.B?0<a.length?a:b:g.ab(b,0,1)};
g.h.Eo=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.C;d=e.cf||0;e=e.bf||0;mt(a)&&!a.Z?qt(a,"nonlinear")?er(a,d,e):fr(a):qt(a,"linear")?fr(a):qt(a,"nonlinear")&&er(a,d,e);d=null!=a.g}d?(this.o++,b(a)):(b=g.Ra(a.D)?Wn(CB):a.Tb()?Wn(KC):Wn(Uua),d=Vq(b,a),gp(ega(a),"rm")?b.o=!1:Tn(a.fa,d),c(b))};
g.h.Yt=function(a,b,c){var d=this.C.clone();d.l="";d.g=a.Jb;d.Se=mn(d.g,d.Jn);lr(this,a,d,b,c)};g.A(qr,Aq);qr.prototype.ee=function(){return this.l};g.A(rr,gr);rr.prototype.Lf=function(){if(null!=this.g&&this.g.Lf())return!0;var a=0==this.o||this.o==this.I;return 0<this.ads.length&&a&&this.l<this.ads.length-1};
rr.prototype.Ax=function(a,b){return b};
rr.prototype.Eo=function(a,b,c){var d=null==this.g?ct(a):ct(this.ads[this.l]);this.H.o=d;rr.aa.Eo.call(this,a,b,c)};
rr.prototype.Yt=function(a,b,c){this.H.o=-1;rr.aa.Yt.call(this,a,b,c)};g.A(tr,g.Lm);tr.prototype.toString=function(){return wr(this,tr.aa.toString.call(this))};
tr.prototype.Qx=function(){return""};
tr.prototype.Th=function(){return""};
tr.prototype.clone=function(){return new tr(this.toString())};g.h=Er.prototype;g.h.kd=function(){return this.g.kd()};
g.h.zc=function(){return this.g.zc()};
g.h.ld=function(){return this.g.ld()};
g.h.Ab=function(){return this.g.Ab()};
g.h.getHeight=function(){return this.g.getHeight()};
g.h.Lb=function(){return this.g.Lb()};Hp("a","",function(a){a=a||{};return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+" "+P("videoAdUiTopBarWithGradients")+'"><div class="'+P("videoAdUiAuthorIcon")+'"></div><div class="'+P("videoAdUiTitle")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiAuthorName")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiLearnMore")+'">'+P(a.learnMoreText)+'</div><div class="'+P("videoAdUiShare")+'"></div></div><div class="'+P("videoAdUiBottomBar")+'"><div class="'+
P("videoAdUiLearnMoreText")+'">'+P(a.learnMoreText)+'<div class="'+P("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+P("videoAdUiAttributionContainer")+'"><div class="'+P("videoAdUiAttribution")+'" '+P(Xp(a.attributionText))+">"+P(a.attributionText)+'</div><div class="'+P("videoAdUiAttributionIconContainer")+'"><div class="'+P("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+P("videoAdUiAdInfoPopup")+'"><div class="'+P("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
P("videoAdUiAdInfoPopupText")+'" '+P(Xp(a.se))+">"+P(a.se)+'</div></div></div></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+P("videoAdUiBuffer")+'"></div><div class="'+P("videoAdUiProgress")+'"></div></div></div>'});
Hp("a","fixedDirectionality",function(a){a=a||{};return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+" "+P("videoAdUiTopBarWithGradients")+'"><div class="'+P("videoAdUiAuthorIcon")+'"></div><div class="'+P("videoAdUiTitle")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiAuthorName")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiLearnMore")+'">'+P(a.learnMoreText)+'</div><div class="'+P("videoAdUiShare")+'"></div></div><div class="'+P("videoAdUiBottomBar")+
'"><div class="'+P("videoAdUiLearnMoreText")+'">'+P(a.learnMoreText)+'<div class="'+P("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+P("videoAdUiAttributionContainer")+'"><div class="'+P("videoAdUiAttribution")+'">'+P(a.attributionText)+'</div><div class="'+P("videoAdUiAttributionIconContainer")+'"><div class="'+P("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+P("videoAdUiAdInfoPopup")+'"><div class="'+P("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
P("videoAdUiAdInfoPopupText")+'">'+P(a.se)+'</div></div></div></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+P("videoAdUiBuffer")+'"></div><div class="'+P("videoAdUiProgress")+'"></div></div></div>'});
Hp("a","redesign2014q4",function(a){a=a||{};return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+" "+P("videoAdUiTopBarWithGradients")+'"><div class="'+P("videoAdUiAuthorIcon")+'"></div><div class="'+P("videoAdUiTopButtons")+'"><div class="'+P("videoAdUiTopButton")+" "+P("videoAdUiTopButtonInfo")+'"><div class="'+P("videoAdUiTopButtonCallout")+'"><div class="'+P("videoAdUiTopButtonTooltip")+'">'+P(a.infoText)+'</div></div></div><div class="'+P("videoAdUiTopButton")+" "+P("videoAdUiTopButtonShare")+
'"><div class="'+P("videoAdUiTopButtonCallout")+'"><div class="'+P("videoAdUiTopButtonTooltip")+" "+P("videoAdUiTopButtonShareTooltip")+'">'+P(a.E3)+'</div></div></div><div class="'+P("videoAdUiTopButton")+" "+P("videoAdUiTopButtonWatchLater")+'"><div class="'+P("videoAdUiTopButtonCallout")+'"><div class="'+P("videoAdUiTopButtonTooltip")+'">'+P(a.F3)+'</div></div></div></div><div class="'+P("videoAdUiTitle")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiAuthorName")+" "+P("ellipsisText")+
'"></div></div><div class="'+P("videoAdUiBottomBar")+'"><div class="'+P("videoAdUiBottomBarText")+'"><div class="'+P("videoAdUiAttributionContainer")+'"><div class="'+P("videoAdUiAttribution")+'" '+P(Xp(a.attributionText))+">"+P(a.attributionText)+'</div><div class="'+P("videoAdUiAttributionIconContainer")+'"><div class="'+P("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+P("videoAdUiAdInfoPopup")+'"><div class="'+P("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
P("videoAdUiAdInfoPopupText")+'" '+P(Xp(a.se))+">"+P(a.se)+'</div></div></div></div><div class="'+P("videoAdUiVisitAdvertiserLink")+'"><div class="'+P("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+P("videoAdUiVisitAdvertiserIcon")+'"></div></div></div><div class="'+P("videoAdUiBottomBarMessage")+'"></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+P("videoAdUiBuffer")+'"></div><div class="'+P("videoAdUiProgress")+'"></div></div></div>'});
Hp("b","",function(a){a=a||{};return""+Ha("You can skip this ad in {$xSeconds}",{xSeconds:P(a.re)})});
Hp("b","redesign2014q4",function(a){a=a||{};return""+Ha("You can skip to video in {$xSeconds}",{xSeconds:P(a.re)})});
Hp("b","forcedlinebreak",function(a){a=a||{};return""+Ha("You can skip to{$newline}video in {$xSeconds}",{newline:P(a.SA),xSeconds:P(a.re)})});
Hp("b","postroll",function(a){a=a||{};return""+Ha("You can skip ad in {$xSeconds}",{xSeconds:P(a.re)})});
Hp("b","postrollforcedlinebreak",function(a){a=a||{};return""+Ha("You can skip{$newline}ad in {$xSeconds}",{newline:P(a.SA),xSeconds:P(a.re)})});g.A($r,tq);var Sfa=new g.kd(300,250);$r.prototype.Ma=function(){this.D=Math.max(0,this.D-1);bs(this)};
$r.prototype.Ca=function(){this.D=Math.min(this.ya-3,this.D+1);bs(this)};
$r.prototype.lg=function(){return this.N};g.A(es,tq);var Ufa=new g.kd(300,250);es.prototype.lg=function(){return this.D};var fs=g.yd&&Vfa();g.A(zs,Aq);As.prototype.parse=function(a){a=g.Od(a);var b=qs(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw Wn(Rua);a=a.getAttribute("offset");a=xs(a);if("skippable"==c&&null==a)throw Wn(Qua);return new zs(c,a)};g.A(Bs,Aq);g.A(Cs,Aq);g.h=Es.prototype;g.h.ld=function(){if(null!=wt(this))return"application/javascript";if(null!=xt(this))return"application/x-shockwave-flash";var a=this.g,b="";if(null===a)return b;if(a instanceof mq)a=a.B,null===a||(b=g.E(a.g));else if(a instanceof tq)switch(a.L){case "IFrame":case "Html":case "Static":b=g.E(a.Ya)}return b};
g.h.getExtension=function(a,b){if(b&&this.l){var c=this.l.getExtension(a,!0);if(c)return c}return this.R.get(a)};
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()};
g.h.Tb=function(){return this.ma?this.oa:rt(this)?!0:mt(this)?"video"==this.Db:qt(this,"linear")};
g.h.isSkippable=function(){return null!=ut(this)};
g.h.qK=function(){return this.Z};
g.h.getDuration=function(){return nt(this)};
g.h.Rg=function(){var a=null,b=this.g;null!=b&&(a=b.Rg(),g.D(g.E(a))&&(a=null));return a};
g.h.Ab=function(){return this.Tb()?0:this.X.width};
g.h.getHeight=function(){return this.Tb()?0:this.X.height};
g.h.Ye=function(){return this.Ta};
g.h.toString=function(){return"Ad: "+this.ya};g.A(Et,g.Gf);Et.prototype.l=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new qn("companionImpression",this.g));break;case "companion_click":this.dispatchEvent(new qn("companionClick",this.g))}};g.A(Ft,g.Gf);g.h=Ft.prototype;g.h.Eb=function(a){null==a||this.D||(this.Ph=a,pga(this),this.D=!0)};
g.h.Sc=function(){null!=this.Ph&&this.D&&(Gt(this),this.C=this.H=this.D=!1,this.g=0,this.o=[],this.F=!1)};
g.h.JS=function(a){this.H=!0;this.g=a.touches.length;this.l&&(window.clearTimeout(this.l),this.l=0,this.K=!0);(this.F=Ht(this,a.touches)||1!=a.touches.length)?this.N=this.L=window.Infinity:(this.L=a.touches[0].clientX,this.N=a.touches[0].clientY);qga(this,a.touches)};
g.h.xJ=function(a){this.g=a.touches.length;if(!lo(8)||Math.pow(a.changedTouches[0].clientX-this.L,2)+Math.pow(a.changedTouches[0].clientY-this.N,2)>Math.pow(5,2))this.C=!0};
g.h.IS=function(a){this.B?this.Gq():(!this.H||1!=this.g||this.C||this.K||this.F||!Ht(this,a.changedTouches)||(this.l=window.setTimeout((0,g.z)(this.Gq,this),300)),this.g=a.touches.length,0==this.g&&(this.C=this.H=!1,this.o=[]),this.K=!1)};
g.h.Ay=function(){this.Gq()};
g.h.Gq=function(){this.l=0;this.dispatchEvent(new g.ef("click"))};
g.h.V=function(){this.Sc();this.A.dispose();this.A=null;Ft.aa.V.call(this)};var sga=/#(.)(.)(.)(.)/,rga=/^#(?:[0-9a-f]{4}){1,2}$/i;g.A(g.Kt,g.Gf);g.h=g.Kt.prototype;g.h.gb=function(){return 1==this.g};
g.h.uo=function(){this.ye("begin")};
g.h.Fl=function(){this.ye("end")};
g.h.rd=function(){this.ye("finish")};
g.h.ye=function(a){this.dispatchEvent(a)};var ava=g.Lf(function(){if(g.yd)return g.sc("10.0");var a=g.Ed("DIV"),b=g.Ad?"-webkit":g.uh?"-moz":g.yd?"-ms":g.gf?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Wc.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in uua)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Xc("div",b,void 0);a.innerHTML=g.Tc(b);return""!=vh(a.firstChild,"transition")});g.A(Mt,g.Kt);g.h=Mt.prototype;g.h.play=function(){if(this.gb())return!1;this.uo();this.ye("play");this.startTime=(0,g.F)();this.g=1;if(ava())return g.sh(this.l,this.D),this.A=g.vg(this.CT,void 0,this),!0;this.ru(!1);return!1};
g.h.CT=function(){g.Lh(this.l);Lt(this.l,this.C);g.sh(this.l,this.o);this.A=g.vg((0,g.z)(this.ru,this,!1),1E3*this.B)};
g.h.stop=function(){this.gb()&&this.ru(!0)};
g.h.ru=function(a){g.sh(this.l,"transition","");g.wg(this.A);g.sh(this.l,this.o);this.endTime=(0,g.F)();this.g=0;a?this.ye("stop"):this.rd();this.Fl()};
g.h.V=function(){this.stop();Mt.aa.V.call(this)};
g.h.pause=function(){};g.A(Nt,g.Gf);Nt.prototype.V=function(){null!=this.wi&&(g.wg(this.wi),this.wi=null);null!=this.Ie&&(g.Kd(this.Ie),this.Ie=null);Nt.aa.V.call(this)};
Nt.prototype.C=function(){this.wi=null;Ot(this,!1);this.wi=g.vg((0,g.z)(function(){this.wi=null;Pt(this,!1);null!=this.Ie&&g.M(this.Ie,!1);Qt(this,"complete")},this),200)};
Nt.prototype.show=function(a){Qt(this,"impression");Ot(this,!0);Pt(this,!0);null!=this.Ie&&g.M(this.Ie,!0);this.wi=g.vg(this.C,a,this)};
Nt.prototype.F=function(a){O.g()||a.stopPropagation()};g.A(Rt,Aq);g.A(Tt,Aq);g.h=Ut.prototype;
g.h.cC=function(){var a={heading:"",targetingReasons:[],learnMore:"",Jq:"",control:"",mute:"",Hu:this.D};if(null!=this.A){a.heading=this.A.B;var b=this.A.l;if(b&&3==b.length){var c=b[1],d=b[2];b=Ep(P(b[0])+Wr()+P(c)+Ep("</a>")+P(d));a.Jq=b}b=g.Ya(this.A.C);a.targetingReasons=b;for(c=0;c<b.length;c++)if(d=b[c],"string"===typeof d&&-1<d.indexOf("|")){var e=this.A.K;d=Ep(P(d.substring(0,d.length-2))+" <a href='"+Q(Up("https://support.google.com/ads/answer/7029660#match"))+"' target='_blank'>"+P(e)+"</a>");
b[c]=d}a.close=this.A.o}else a.Jq=Xr(),b=""+Ha("Got It"),a.close=b;null!=this.l&&(a.mute=this.l.A);Zt(this,Ofa,a);Yt(this,"videoAdUiWhyThisAdCloseButton",this.Sm);Yt(this,"videoAdUiWhyThisAdControl",this.kx);Yt(this,"videoAdUiWhyThisAdMute",this.wT);a=this.kx;b=g.H("videoAdUiWhyThisAdGenericMessage",this.g);null!=b&&(b=b.getElementsByTagName("A")[0],null!=b&&this.B.U(b,"click",a))};
g.h.Sm=function(){null!=this.B&&(this.B.dispose(),this.B=null);null!=this.g&&(null!=this.o&&(Wt(this,"why_this_ad_got_it"),this.o.dispose(),this.o=null),this.g.parentElement.removeChild(this.g),this.g=null)};
g.h.kx=function(){Wt(this,"why_this_ad_settings_url")};
g.h.wT=function(){if(null!=this.l){Wt(this,"mute_interaction_url");var a=St(this.l);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};Zt(this,Qfa,b);Yt(this,"videoAdUiMuteCancel",this.cC);Yt(this,"videoAdUiMuteConfirm",this.IH)}else{Wt(this,"mute_url");b={heading:this.l.o,undo:this.l.C,question:this.l.B,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.l?(c=bq(this.l.g,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.l.l[c].label);
Zt(this,Pfa,b);Yt(this,"videoAdUiMuteUndo",this.RU);Yt(this,"videoAdUiMuteConfirm",this.BU);Yt(this,"videoAdUiMuteCancel",this.tq)}}};
g.h.IH=function(){Wt(this,"mute_url");this.tq()};
g.h.RU=function(){Wt(this,"mute_undo_url");this.Sm()};
g.h.BU=function(){if(null!=this.l){for(var a=St(this.l),b=!1,c=0;c<a;c++){var d=g.H("videoAdUiMuteOption"+c,this.g);if(null!=d&&d.checked){b=!0;Pn(this.l.l[c].url);break}}if(!b)return}this.tq()};
g.h.tq=function(){Wt(this,"MUTE_AD");this.Sm()};g.A(fu,g.Gf);var vga={1:"videoAdUiBrandInteractionHorizontalRect"},uga=[1],zga=[1],xga={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};fu.prototype.update=function(){this.C||(this.dispatchEvent("feedbackShown"),this.A=cu(this.l,.5),g.L(this,this.A),this.A.play(),g.M(this.l,!0),this.C=!0,Bga(this))};
fu.prototype.H=function(a){O.g()||a.stopPropagation();a=a.target.Ph;null!=a&&(g.Iq(a,"selected")?(g.R(this.l,"optionSelected"),null!=this.o&&g.Fq(this.o,"selected"),this.o=a):(g.Fq(this.l,"optionSelected"),this.o=null),a=null!=this.o?g.Dq(this.o,"videoAdUiBrandInteractionLikeButton")?"l":g.Dq(this.o,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n","l"==a?this.dispatchEvent("feedbackLike"):"d"==a&&this.dispatchEvent("feedbackDislike"),this.I&&(du(this.l).play(),g.vg(function(){g.M(this.l,!1)},
500,this)),null!=this.g&&(null!=Je(this.g,Ve,15)?Cga(this):Dga(this)))};
fu.prototype.V=function(){null!=this.l&&(g.Kd(this.l),this.l=null);this.o=null;fu.aa.V.call(this)};g.A(hu,g.Gf);hu.prototype.C=function(){this.g?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
hu.prototype.V=function(){this.B.dispose();this.B=null;hu.aa.V.call(this)};g.A(iu,g.Gf);iu.prototype.V=function(){null!=this.o&&(g.Kd(this.o),this.o=null);iu.aa.V.call(this)};
iu.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.D=1;else if(1==this.D)cu(this.o,.5).play(),g.M(this.o,!0),this.D=2;else if(this.B){var c=Math.round(b-a);0>c||g.Td(this.g,Ur({re:c}))}else this.I&&5<a&&(this.I=!1,g.M(this.g,!1))};
iu.prototype.K=function(){g.Oh(this.g)||g.M(this.g,!0)};g.A(g.ju,g.K);g.h=g.ju.prototype;g.h.start=function(){this.stop();this.o=!1;var a=ku(this),b=lu(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.Ba=g.sf(this.g,"MozBeforePaint",this.l),this.g.mozRequestAnimationFrame(null),this.o=!0):this.Ba=a&&b?a.call(this.g,this.l):this.g.setTimeout(aba(this.l),20)};
g.h.Ok=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=ku(this),b=lu(this);a&&!b&&this.g.mozRequestAnimationFrame?g.Bf(this.Ba):a&&b?b.call(this.g,this.Ba):this.g.clearTimeout(this.Ba)}this.Ba=null};
g.h.isActive=function(){return null!=this.Ba};
g.h.oI=function(){this.o&&this.Ba&&g.Bf(this.Ba);this.Ba=null;this.B.call(this.A,(0,g.F)())};
g.h.V=function(){this.stop();g.ju.aa.V.call(this)};g.A(g.mu,g.K);g.h=g.mu.prototype;g.h.Ba=0;g.h.V=function(){g.mu.aa.V.call(this);this.stop();delete this.g;delete this.l};
g.h.start=function(a){this.stop();this.Ba=g.vg(this.o,g.t(a)?a:this.ad)};
g.h.stop=function(){this.isActive()&&g.wg(this.Ba);this.Ba=0};
g.h.isActive=function(){return 0!=this.Ba};
g.h.Xx=function(){this.Ba=0;this.g&&this.g.call(this.l)};g.A(ru,g.Gf);g.h=ru.prototype;g.h.V=function(){g.cf(this.A);this.A=null;g.cf(this.F);this.F=null;null!=this.o&&(g.Kd(this.o),this.o=null);null!=this.skipButton&&(this.skipButton=null);null!=this.l&&(g.Kd(this.l),this.l=null);this.R.dispose();this.R=null;this.Zb.dispose();this.Zb=null;ru.aa.V.call(this)};
g.h.update=function(a,b){this.da=b;this.rq(a);2==this.state&&qu(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.rq=function(a){if(!(0>=this.da||null==this.config.skipOffset||0>fq(this.config.skipOffset))){var b=fq(this.config.skipOffset);b>=this.da||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(qu(this,0),cu(this.o,.5).play(),g.M(this.o,!0)),this.state=2):(3!=this.state&&this.iw(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.iw=function(){g.M(this.l,!0);this.F=tu(this.o);this.F.play();this.A=cu(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.xU=function(a){O.g()||a.stopPropagation();3!=this.state||this.Y||(this.Y=!0,this.dispatchEvent("skip"))};g.A(zu,ru);var vu={xx:0,wx:1},wu={xx:1,wx:0},xu={bx:15},yu={bx:300};g.h=zu.prototype;g.h.V=function(){zu.aa.V.call(this);Bu(this);Du(this)};
g.h.rq=function(a){zu.aa.rq.call(this,a);if(3==this.state&&!this.W&&!this.ea){var b=Fu(this.N,this.g);if(a=Eu(a,this.config,this.N))if(this.D==this.I.xx&&a>=b)switch(this.I){case vu:Au(this);break;case wu:Cu(this,!0)}else if(this.D==this.I.wx&&a<b)switch(this.I){case wu:Au(this);break;case vu:Cu(this,!0)}}};
g.h.iw=function(){g.M(this.l,!0);this.F=tu(this.o);this.F.play();if(this.W)var a=!1;else{a=Fu(this.N,this.g);var b=Eu(fq(this.config.skipOffset),this.config,this.N);if(null!=b){var c=!1;switch(this.I){case wu:c=b<a;break;case vu:c=b>=a}a=c}else a=!1}a?(this.D=1,this.A=bu(this.l,.5,"ease-in",0,this.Z)):this.A=cu(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus();this.W||(this.Zb.U(g.Pd(this.l),"mouseover",this.BO),this.Zb.U(g.Pd(this.l),"mouseout",this.AO))};
g.h.BO=function(){Du(this);0!=this.D&&Cu(this,!1);this.ea=!0};
g.h.AO=function(){Du(this);this.K=g.vg(function(){this.ea=!1;this.K=null},5E3,this)};Gu.prototype.getDuration=function(){return this.l};
Gu.prototype.zc=function(){return this.g};
Gu.prototype.update=function(a,b){var c=null!=this.D?fq(this.D):0;this.l=0<=this.l?this.l:b;c<=a&&c+this.l>=a?Fga(this):g.M(this.g,!1)};g.A(Ku,g.Gf);g.h=Ku.prototype;g.h.show=function(){null!=this.l&&g.M(this.l,!0)};
g.h.skip=function(){var a;if(a=null!=this.A)a=this.A,a=null!=a.config.skipOffset&&3==a.state;return a?this.A.skip():!1};
g.h.V=function(){null!=this.l&&(g.Kd(this.l),this.l=null);Lu(this);(0,g.B)(this.X,function(a){a.Sc()});
this.X=[];this.B=null;this.o.dispose();this.o=null;Ku.aa.V.call(this)};
g.h.update=function(a,b,c,d,e){null!=this.l&&(null!=this.Ca&&Iu(this,a,c,d,e),null!=this.fa&&g.Jh(this.fa,a/c*100+"%"),null!=this.Ta&&g.Jh(this.Ta,b/c*100+"%"),0<c&&null!=this.g.skipOffset&&null!=this.A&&(eq(this.g.skipOffset,c),this.A.update(a,c)),0<c&&null!=this.R&&this.R.update(a),0<c&&null!=this.H&&this.H.update(a,c),this.g.L&&0<c&&5>c-a&&g.R(this.ea,"videoAdUiTopBarNoFade"),(0,g.B)(this.oa,function(b){b.update(a,c)},this))};
g.h.tH=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.uH=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.rJ=function(a){var b=a.F;a=a.H;g.D(g.E(b))||this.dispatchEvent(new qn("videoIconClicked",null,{clickThroughUrl:b}));(0,g.B)(a,function(a){Pn(a)})};
g.h.dz=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.uU=function(){this.dispatchEvent("videoShareClicked")};
g.h.IU=function(){this.dispatchEvent("videoTitleClicked")};
g.h.KJ=function(a){a.preventDefault()};
g.h.Ap=function(){this.dispatchEvent("click")};
g.h.yH=function(a){this.dispatchEvent(a)};
g.h.hq=function(a){this.dispatchEvent(a.type)};
g.h.xb=function(){null!=this.oa&&(0,g.B)(this.oa,function(a){Hu(a)},this)};
g.h.rU=function(){g.R(this.ea,"videoAdUiTopBarTransitions")};
g.h.xT=function(){var a=g.ae(this.l,"html5-video-player");null!=a&&(Xt(this.g.H,a,this),null!=this.A&&uu(this.A,!1),null!=this.H&&(a=this.H,null!=a.l&&g.M(a.l,!1)))};
g.h.eV=function(){null!=this.A&&uu(this.A,!0);if(null!=this.H){var a=this.H;null!=a.l&&g.M(a.l,!0)}};g.A(Qu,g.K);Qu.prototype.I=function(a,b,c){c=g.cc(c||{});if("timeout"==(c.viewability||"")){var d=this.F[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.H&&null!=this.C&&0<this.C.length){d=O.H&&g.Qa(this.D,"impression");var e=Su(this,this.C,c);Tu(this,e,d);this.H=!0}Jga(this,a)&&0<b.length&&(d=O.H&&g.Qa(this.D,a),b=Su(this,b,c),Tu(this,b,d),this.l.set(a,!0))};g.A(Uu,g.Gf);g.h=Uu.prototype;g.h.Hk=function(){if(this.fb()){var a=Bt(this.qc);if(null!=a)return a}return""};
g.h.Gk=function(){if(this.fb()){var a=Ct(this.qc);if(null!=a)return a}return""};
g.h.Xe=function(){return g.Ra(this.ads)?null:this.ads[0]};
g.h.ka=function(){if(this.fb()){if(this.qc.isSkippable()&&!to())throw Xn(YB,null,"skippablevideo");if(null!=wt(this.qc)&&Wu(this,this.qc.l))throw Xn(YB,null,"vpaidWithSkippabilityOverride");return this.qc}throw Xn($u,null,"An ad has not been selected.\n"+Error().stack);};
g.h.fb=function(){return null!==this.qc};
g.h.Uj=function(){var a=(0,g.Pa)(this.ads,this.qc);-1!=a&&++a<this.ads.length?Vu(this,this.ads[a]):Vu(this,null)};
g.h.Tk=function(){var a=(0,g.Pa)(this.ads,this.qc);return-1==a?!1:a+1<this.ads.length};
g.h.De=function(){if(!this.Tk())return null;var a=(0,g.Pa)(this.ads,this.qc)+1;return this.ads[a]};
g.h.Qg=function(a){var b=a.l;if(b&&b.Ya&&(b=b.D,!g.Ra(b)&&b[0]instanceof mq))return b[0].Qg();b=a.g;return Yu(a)?b.Qg():[]};
g.h.To=function(){if(!this.fb()){if(g.Ra(this.ads))throw Xn(KC);Vu(this,this.ads[0]);if(null==this.qc.g)throw Wn(KC);}};
g.h.ga=function(a,b){var c=this.fb()?this.ka():null;this.dispatchEvent(new qn(a,c,b))};
g.h.Bg=function(a){this.Od=a};
g.h.Sa=function(){null==this.Zb&&(this.Zb=new g.an(this));return this.Zb};
g.h.EP=function(){};
g.h.Gt=function(){};
g.h.Bd=function(a){if(null!=this.Od){g.gn(this.we);this.we.hh(this.Od,"companion_display_error",function(){});
var b=this.Od.Bd(a);null!=b&&(this.we.U(b,"companion_impression",this.EP),this.we.U(b,"companion_click",this.Gt),O.g()&&(a=new Et(a,b),this.ga("companionInitialized",a)));if(!this.Od.lw())throw Xn(I0);}};
g.h.destroy=function(){this.dispose()};
g.h.V=function(){this.fb()&&(dr(this.qc,null),this.qc=null);g.cf(this.Zb);this.Od=this.Zb=null;this.Vm=!1;O.l?np(jp(),this.Bp):Ro().D=null;this.Ja&&(g.cf(this.Ja),this.Ja=null);Uu.aa.V.call(this)};
g.h.Be=function(){return[]};
g.h.tb=function(){return this.ads[0]};
g.h.vj=function(){(0,g.B)(this.ads,function(a){var b;for(b=a.getExtension("sodar");!b&&(a=a.l);)b=a.getExtension("sodar");if(b){var c=b.A;a=b.o;var d=b.B,e=b.l;b="//tpc.googlesyndication.com/sodar/"+(0,window.encodeURIComponent)(c)+".js";var f="//pagead2.googlesyndication.com/bg/"+(0,window.encodeURIComponent)(d)+".js";if(c&&a&&d&&e){d=window;c=d.document;var k={};a&&(k._scs_=a);k._bgu_=f;k._bgp_=e;k._li_="v_h.0.0.0";(a=d.GoogleTyFxhY)&&"function"==typeof a.push||(a=d.GoogleTyFxhY=[]);a.push(k);a=
g.pd(c).createElement("SCRIPT");a.type="text/javascript";a.async=!0;g.ad(a,g.de(b));c.getElementsByTagName("head")[0].appendChild(a)}}})};
g.h.init=function(a){av(this);this.xc(a);this.he=!0;this.Mj();O.l||(a=this.Bp,Ro().D=a)};
g.h.Mj=function(){this.ga("loaded")};
g.h.Wj=function(a){this.fb()&&O.g()&&Tn(Os(this.ka()),a)};
g.h.SC=g.y;g.h.Pc=function(a,b,c){if(!this.Vm){if(null==a)throw Xn(Xo,null,"displayContainer");null!=c&&this.Re(c);this.content=b;this.Ea=a;this.To();this.Da=this.Ea.Xk(Xu(this));this.Vm=!0}};
g.h.zg=function(a){a=gp(Fs(a),"rm")?a.W:Os(a);(0,g.B)(a,function(a){g.Ta(this.Xb.C,a)},this)};
g.h.eg=function(a,b){(0,g.B)(b,function(b){b=jq(a,b);cq(this.Xb.o,b)},this)};
g.h.Qj=function(a){if(a instanceof mq){var b=nq(a);(0,g.B)(b.zb(),function(a){var c=b.get(a);(0,g.B)(c,function(b){dq(this.Xb.o,a,b)},this)},this)}};
g.h.xa=function(a){Ru(this.Xb,new g.ef(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Ic=function(){return-1};
g.h.gb=function(){return null!=this.Da?this.Da.gb():!1};
g.h.xb=function(a,b,c){this.xc(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||!Kga(this,a))throw Xn(Xo,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.La;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.Wk&&(a.Wk=[]);Lga(a.Wk);if(!g.ua(a.gf)||0>=a.gf)a.gf=15E3;g.fc(b,a)};
g.h.start=function(){av(this);if(!this.he)throw Wn($u,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)&&$n(this,Xo,null,"volume",String(a));this.volume=a};
g.h.expand=function(){av(this);this.xc("fullscreen")};
g.h.collapse=function(){av(this);this.xc("normal")};
g.h.xc=function(a){if(!g.Vb(Pua,a))throw Xn(Xo,null,"view mode",a);this.Vc=a};
g.h.Cc=function(){return this.Vm};
g.h.hasListeners=function(a){return(0,g.tm)(a,function(a){if(g.lf(this))a=this.hasListener(a,void 0);else{var b=g.vf(this);a=!!b&&b.hasListener(a,void 0)}return a},this)};
g.h.Rg=function(){return null};
g.h.kj=function(){return null};
g.h.XC=function(){return null};
g.h.Ae=function(){return null};
g.h.qf=function(){this.xa("abandon")};
g.h.nI=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.gb(),isVpaid:this.fb()&&null!=wt(this.ka()),isYouTube:O.g(),volume:this.getVolume()}};
g.h.yj=function(a){do if(mt(a))return!1;while(a=a.l);return!0};
g.h.dl=function(){for(var a=0;a<this.ads.length;++a)if(!this.yj(this.ads[a]))return!1;return eo()};
g.h.LT=function(a){var b=g.Xa(F0,g.Qb(H0));cb(b);(0,g.B)(b,function(b){var c=bq(a.g,b);g.Ra(c)||this.bu(b,c)},this);
Iga(this.Xb,a.H)};
g.h.bu=function(a,b){(0,g.B)(b,function(a){var b=a.Sb();a=a.Oa();dq(this.Xb.o,b,a)},this)};
g.h.rQ=function(a){this.La.fx||(a=a.g,null!=a&&(a=a.clickThroughUrl,null!=a&&(Nn(a),this.pause())))};
g.h.Nj=function(a){var b=a.type;if(g.Qa(G0,b)){if("externalActivityEvent"==b&&(b=a.g.eventName,!H0[b]))return;Zu(this,b)}};var fv=["classid","data","movie","type","typemustmatch"];g.wa(g.gv);g.gv.prototype.g=0;g.A(g.hv,g.Gf);g.h=g.hv.prototype;g.h.tJ=g.gv.getInstance();g.h.getId=function(){return this.Ba||(this.Ba=":"+(this.tJ.g++).toString(36))};
g.h.la=function(){return this.g};
g.h.uh=function(a){if(this.A&&this.A!=a)throw Error("Method not supported");g.hv.aa.uh.call(this,a)};
g.h.Fn=function(){this.g=this.H.createElement("DIV")};
g.h.Yi=function(){this.Je=!0;jv(this,function(a){!a.Je&&a.la()&&a.Yi()})};
g.h.Ck=function(){jv(this,function(a){a.Je&&a.Ck()});
this.C&&g.gn(this.C);this.Je=!1};
g.h.V=function(){this.Je&&this.Ck();this.C&&(this.C.dispose(),delete this.C);jv(this,function(a){a.dispose()});
this.g&&g.Kd(this.g);this.A=this.g=this.D=this.K=null;g.hv.aa.V.call(this)};
g.h.zc=function(){return this.g};
g.h.removeChild=function(a,b){if(a){var c=g.v(a)?a:a.getId();a=this.D&&c?ac(this.D,c)||null:null;if(c&&a){$b(this.D,c);g.Va(this.K,a);b&&(a.Ck(),a.g&&g.Kd(a.g));c=a;if(null==c)throw Error("Unable to set parent component");c.A=null;g.hv.aa.uh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.A(kv,g.hv);g.h=kv.prototype;g.h.Ua=null;g.h.Fp="window";g.h.Am="sameDomain";g.h.setSize=function(a,b){this.F=g.v(a)?a:Math.round(a)+"px";this.B=g.v(b)?b:Math.round(b)+"px";this.la()&&g.Kh(lv(this),this.F,this.B);return this};
g.h.Yi=function(){kv.aa.Yi.call(this);for(var a=this.la(),b=this.l.zb(),c=this.l.sb(),d=[],e=0;e<b.length;e++){var f=g.pb(b[e]),k=g.pb(c[e]);d.push(f+"="+k)}b=d.join("&");if(g.yd&&!g.tc(11)){d=this.I;c={allowFullScreen:"true",AllowScriptAccess:this.Am,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.Fp};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};Mga(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(Xc("param",{name:l,value:d[l]}));var l=Yc({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=Xc("object",l,c)}else l={AllowScriptAccess:this.Am,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.Fp},l=Yc({src:this.I,type:"application/x-shockwave-flash",
pluginspage:"https://www.macromedia.com/go/getflashplayer"},{allownetworking:"none",allowscriptaccess:"never"},l),l=Xc("embed",l);a.innerHTML=g.Tc(l);this.F&&this.B&&this.setSize(this.F,this.B);this.o.U(this.la(),g.Qb(wua),ff)};
g.h.Fn=function(){if(null!=this.L&&!(0<=g.Ab(QB,this.L)))throw Error("Method not supported");var a=this.H.createElement("DIV");a.className="goog-ui-media-flash";this.g=a};
g.h.V=function(){kv.aa.V.call(this);this.l=null;this.o.dispose();this.o=null};
g.h.Mb=function(){return this.Je&&this.la()?g.GH&&lv(this).readyState&&"complete"==lv(this).readyState||lv(this).readyState&&4==lv(this).readyState||"PercentLoaded"in lv(this)&&100==lv(this).PercentLoaded()?!0:!1:!1};g.A(mv,g.Gf);var bva=Ec(wc(g.xc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Ec(wc(g.xc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=mv.prototype;g.h.dispose=function(){this.g&&(this.g.dispose(),this.l=null);window[this.o]&&delete window[this.o];g.wg(this.A)};
g.h.load=function(a,b,c,d){window[this.o]=(0,g.z)(this.vJ,this);this.g=new kv(bva);this.g.setSize(b,c);this.g.Am="always";this.g.Fp="transparent";this.g.l.set("vpaid",a);this.g.l.set("vpaidEventHandler",this.o);iv(this.g,this.C);this.l=lv(this.g);this.A=g.vg(this.wJ,d,this)};
g.h.uJ=function(a){if(!this.l)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.B&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.l[c])return this.l[c].apply(this.l,b)}catch(d){}return null};
g.h.vJ=function(a,b){"AdLoaded"==a&&(g.wg(this.A),this.B=!0);this.dispatchEvent(new ao(a,b||null))};
g.h.wJ=function(){this.dispatchEvent("loadError")};g.A(pv,tq);pv.prototype.lg=function(){var a=this.Mr();a=null!=a&&"clicktag"==a.toLowerCase();a={url:Ln(g.E(this.l)),width:this.Ab(),height:this.getHeight(),Gc:this.df(),capture:this.xw||!a};var b=O.g()&&gp(this.F,"hideMaster")?Yp:Sea;a=Jq(b,a);a.style.width=this.Ab()+"px";a.style.height=this.getHeight()+"px";a.id=this.Ba;(0,g.B)(a.getElementsByTagName("object"),this.Ni,this);(0,g.B)(a.getElementsByTagName("a"),this.Ni,this);return a};g.A(qv,tq);qv.prototype.lg=function(){var a=g.J("DIV");a.innerHTML=this.l;this.Ni(a);return xq(this,a)};g.A(rv,tq);rv.prototype.kd=function(){var a=rv.aa.kd.call(this);this.C&&(a=a.replace('src=""','src="'+Ln(g.E(this.l))+'"'));return a};
rv.prototype.Pr=function(){var a=rv.aa.Pr.call(this);this.C&&(a=a.replace('src=""','src="'+Ln(g.E(this.l))+'"'));return a};
rv.prototype.lg=function(a){var b="";this.C||(b=Ln(g.E(this.l)));b={id:this.Ba,url:b,Gc:this.df(),width:this.Ab()+"px",height:this.getHeight()+"px"};a=O.g()&&gp(this.F,"hideMaster")?Yp:a?Uea:Tea;a=Jq(a,b);(0,g.B)(a.getElementsByTagName("a"),this.Ni,this);return a};
rv.prototype.Zk=function(){return!0};vv.prototype.ld=function(){return null!=this.g?qq[this.g]||"Other":null};g.A(wv,Aq);xv.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.B)(g.Md(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 wv(b,c,d):null};g.A(zv,Aq);zv.prototype.isPharma=function(){return this.D};Av.prototype.parse=function(a){var b;rs(a,"config",function(a){null!=b||(b=Rga(this,a))},this);
return b};Cv.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m,n=!1,q,r=!1;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case "AttributionText":c=qs(a);break;case "AttributionUrl":d=qs(a);break;case "ConversionUrl":f=qs(a);break;case "CustomTracking":null!=g.Md(a)&&(e=ys(a));break;case "is_pharma":a=ps(a,"bool");r=vs(g.E(a));break;case "CheckedEvents":a=g.Md(a);b=(0,g.G)(a,function(a){return ps(a,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":k=qs(a);break;case "VisibleUrl":l=qs(a);break;case "UI":m=(new Av).parse(a);break;case "ShowYouTubeAnnotations":var u=qs(a);n=vs(g.E(u),!1);case "QueryId":q=qs(a)}},this);
null!=m||(m=new yv);return new zv(c,d,f,k,l,m,n,q,r,e,b)};Dv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Md(a)&&(b=ys(a))}});
a=null;null!=b&&0<bq(b,"skip").length&&(a="Generic");return new Bs(a,b)};Ev.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case "SkippableAdType":b=qs(a);break;case "CustomTracking":null!=g.Md(a)&&(c=ys(a))}});
return new Bs(b,c)};Fv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Md(a)&&(b=ys(a))}},this);
return new Aq(b)};Kv("d");Lv("d");Mv("d");var O0=Kv("f");Lv("f");Mv("f");var kw=Kv("i");Lv("i");Mv("i");Kv("j");Lv("j");Mv("j",void 0);Mv("j",void 0);Kv("u");Lv("u");Mv("u");Kv("v");Lv("v");Mv("v",void 0);Mv("v",void 0);var P0=Kv("b");Lv("b");Mv("b");var cw=Kv("e");Lv("e");Mv("e");var dw=Kv("s");Lv("s");Mv("s");Kv("B");Lv("B");Mv("B");Kv("x");Lv("x");Mv("x");Kv("y");Lv("y");Mv("y",void 0);Mv("y",void 0);Kv("g");Lv("g");Mv("g");Kv("h");Lv("h");Mv("h",void 0);Mv("h",void 0);Kv("n");Lv("n");Mv("n");Kv("o");Lv("o");
Mv("o",void 0);Mv("o",void 0);Pv.prototype.clone=function(){var a=this.constructor,b={},c=this.data;if(b!==c){for(var d in b)b.hasOwnProperty(d)&&delete b[d];Hv(b,c)}return new a(b)};var Q0;g.A(Vv,Pv);var R0;g.A(Wv,Pv);var S0,T0;g.A(Xv,Pv);var bw;g.A(Yv,Pv);var hw;g.A(Tv,Pv);var U0;g.A(Zv,Pv);var V0;g.A($v,Pv);var W0,X0;g.A(aw,Pv);var Y0,Z0,$0,a1,b1,c1,jw;g.A(jt,Pv);var d1,e1,f1,g1,lga={XG:0,YG:1,a2:2,p2:3,Vv:4,m2:5,n2:6,g2:7,b2:8},h1={XG:0,j2:1,f2:2,c2:3,d2:4,h2:5,Z1:6,l2:7,WG:8,TG:9,UG:10,VG:11,o2:12,e2:13};Wv.prototype.Sb=function(){return Qv(this,"type",0)};
Wv.prototype.g=function(){return new aw(this.data.website_card)};
Wv.prototype.Ee=function(){return new Xv(this.data.placement)};
Yv.prototype.Sb=function(){return Qv(this,"type",0)};
Yv.prototype.getId=function(){return as(this,"id")};
Yv.prototype.setTitle=function(a){this.data.title=a};
Tv.prototype.Sb=function(){return Qv(this,"type",0)};
Zv.prototype.md=function(){return as(this,"headline")};
Zv.prototype.setDescription=function(a){this.data.description=a};
$v.prototype.setDescription=function(a){this.data.description=a};
aw.prototype.md=function(){return as(this,"headline")};
aw.prototype.setDescription=function(a){this.data.description=a};
aw.prototype.og=function(){return new jt(this.data.icon)};
aw.prototype.xn=function(){return new jt(this.data.banner_image)};
jt.prototype.getImageUrl=function(){return as(this,"image_url")};var nw;
nw={action:{type:{TYPE_APPLICATION_ENGAGEMENT:26,TYPE_APPLICATION_STORE:4,TYPE_ATTRIBUTION:5,TYPE_CALL_PROMPT:22,TYPE_CHANNEL:2,TYPE_COLLAPSE:17,TYPE_ENGAGEMENT_PANEL:20,TYPE_EXTERNAL:16,TYPE_FUNDRAISING:10,TYPE_GOOGLE_MAP_DIRECTIONS:23,TYPE_GOOGLE_MAP_PLACES:24,TYPE_HEADLINE:1,TYPE_HELPOUTS:15,TYPE_INLINE_APPLICATION_STORE:19,TYPE_INTERNAL:13,TYPE_IRDB:8,TYPE_LETTERMAN:14,TYPE_MERCH:9,TYPE_NONE:0,TYPE_PLAYLIST:7,TYPE_RESPONSE:12,TYPE_RESULTS:11,TYPE_SLAP:21,TYPE_SUBMIT_USER_INFO:25,TYPE_SUBSCRIPTION:6,TYPE_VIDEO:3,
TYPE_VOTE:18}},ad_card:{attribution_position:{POSITION_BOTTOM_LEFT:0,POSITION_BOTTOM_RIGHT:3,POSITION_TOP_LEFT:1,POSITION_TOP_RIGHT:2}},card:{prominence:{PROMINENCE_FEATURE:2,PROMINENCE_HIGHLIGHT:1,PROMINENCE_NONE:0},type:{TYPE_APP:2,TYPE_CALL:8,TYPE_FORMFILL:7,TYPE_LOCATION:5,TYPE_NONE:0,TYPE_PRODUCT:1,TYPE_STORE_VISITS:6,TYPE_VOTE:3,TYPE_WEBSITE:4}},event:{type:{TYPE_ACTION:6,TYPE_ACTION_ENDCAP:9,TYPE_COLLAPSE:3,TYPE_COLLAPSE_ENDCAP:10,TYPE_DISMISS:4,TYPE_DISMISS_ENDCAP:11,TYPE_ERROR:13,TYPE_EXPAND:2,
TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,TYPE_NONE:0,TYPE_TERMINATING_ACTION:12}},formfill_field_infos:{formfill_field_type:{FORMFILL_FIELD_TYPE_UNKNOWN:0,FORMFILL_FIELD_TYPE_USER_EMAIL:1,FORMFILL_FIELD_TYPE_USER_NAME:2,FORMFILL_FIELD_TYPE_USER_PHONE_NUMBER:3}},open_hours:{day_of_week:{DAY_FRIDAY:6,DAY_MONDAY:2,DAY_SATURDAY:7,DAY_SUNDAY:1,DAY_THURSDAY:5,DAY_TUESDAY:3,DAY_UNKNOWN:0,DAY_WEDNESDAY:4}},product_card:{badge_icon_type:{BADGE_ICON_TYPE_FLIGHTS:3,
BADGE_ICON_TYPE_HOTELS:2,BADGE_ICON_TYPE_OTHER:4,BADGE_ICON_TYPE_RETAIL:1,BADGE_ICON_TYPE_UNKNOWN:0}}};g.A(lw,Aq);mw.prototype.parse=function(a){var b=ks(a);if(g.D(g.E(b)))return null;if(this.g){var c=ow;if(!Q0){var d={};Q0=Iv(d);if(!R0){var e={};R0=Iv(e);e.type=cw;if(!S0){var f={};S0=Iv(f);f.major_version=kw;f.minor_version=kw}e.version=Nv(S0);e.priority=kw;e.start_time_ms=Kv("j");e.end_time_ms=Kv("j");e.action=Ov(gw());e.event=Ov(fw());a1||(f={},a1=Iv(f),f.headline=dw,f.description=dw,f.attribution_icon_url=dw,f.skippable_seconds=kw,f.attribution_position=cw);e.ad_card=Nv(a1);if(!U0){f={};U0=Iv(f);f.headline=
dw;f.image=Nv(ew());f.description=dw;f.rating=O0;f.review_text=dw;if(!V0){var k={};V0=Iv(k);k.merchant=dw;k.price=dw;k.shipping=dw;k.shipping_tax=dw;k.condition=dw;k.unit_price=dw;k.energy_label=dw;k.description=dw;k.rating=O0;k.review_text=dw;k.action=Ov(gw());k.event=Ov(fw());k.doc_id=dw;k.catalog_id=dw}f.offer=Ov(V0);f.badge_text=dw;f.badge_icon_type=cw}e.product_card=Nv(U0);W0||(f={},W0=Iv(f),f.app_id=dw,f.app_name=dw,f.icon=Nv(ew()),f.price=dw,f.rating_image=dw,f.review_count=kw,f.app_store_logo=
Nv(ew()),f.button_text=dw,f.screenshots=Ov(ew()),f.rating=O0,f.back_button_text=dw,f.screenshots_text=dw,f.cover_photo=Nv(ew()),f.description=dw);e.app_card=Nv(W0);X0||(f={},X0=Iv(f),f.headline=dw,f.description=dw,f.icon=Nv(ew()),f.banner_image=Nv(ew()));e.website_card=Nv(X0);Z0||(f={},Z0=Iv(f),f.invitation_headline=dw,f.invitation_description=dw,f.icon=Nv(ew()),f.invitation_cta=dw,f.form_headline=dw,f.advertiser_name=dw,f.email_key=dw,Y0||(k={},Y0=Iv(k),k.formfill_field_type=cw,k.google_form_column_id=
dw,k.is_field_optional=P0),f.formfill_field_infos=Ov(Y0));e.formfill_card=Nv(Z0);$0||(f={},$0=Iv(f),f.formatted_phone_number=dw,f.merchant_name=dw,f.call_cta_text=dw,f.headline=dw,f.icon=Nv(ew()));e.call_card=Nv($0);e.prominence=cw;b1||(f={},b1=Iv(f),f.call_to_action_text=dw);e.social_card=Nv(b1);c1||(f={},c1=Iv(f),f.vote_line_1=dw,f.vote_line_2=dw,f.confirm_line_1=dw,f.confirm_line_2=dw);e.vote_card=Nv(c1);e.sponsored=P0;e.teaser_text=dw;T0||(f={},T0=Iv(f),f.hide_in_drawer=P0,f.show_in_endcap=P0,
f.show_in_companion=P0,f.show_in_cta=P0,f.override_clickthrough=P0,f.show_in_promotion_shelf=P0);e.placement=Nv(T0);d1||(f={},d1=Iv(f),f.latitude_e6=kw,f.longitude_e6=kw,f.address=dw,f.image=Nv(ew()),f.headline=dw);e.location_card=Nv(d1);e1||(f={},e1=Iv(f),f.icon=Nv(ew()),f.location_image=Nv(ew()),f.display_name=dw,f.latitude_e7=kw,f.longitude_e7=kw,g1||(k={},g1=Iv(k),k.display_address=dw,k.city_province=dw),f.address=Nv(g1),f.display_phone_number=dw,f1||(k={},f1=Iv(k),k.day_of_week=cw,k.display_day_of_week=
dw,k.display_hours=dw),f.open_hours=Ov(f1),f.closing_time_today=dw,f.images=Ov(ew()),f.distance_to_user_meters=kw,f.average_rating=kw,f.num_reviews=kw,f.num_five_star_reviews=kw,f.num_four_star_reviews=kw,f.num_three_star_reviews=kw,f.num_two_star_reviews=kw,f.num_one_star_reviews=kw);e.merchant_location=Nv(e1)}d.card=Ov(R0);d.event=Ov(fw())}a=c(this,a,Q0);a=c=new Vv(a);d=new Zp;for(e=0;e<Uv(a,"card");e++)if(f=new Wv(Sv(a,"card",e)),it(f.Ee()))for(k=0;k<Uv(f,"event");k++){var l=new Tv(Sv(f,"event",
k)),m=null;switch(l.Sb()){case h1.TG:m="video_card_endcap_action";break;case h1.UG:m="video_card_endcap_collapse";break;case h1.VG:m="video_card_endcap_dismiss";break;case h1.WG:m="video_card_endcap_impression"}m&&dq(d,m,pw(m,as(l,"base_url")))}a=d}else a=Tga(this,a);return new lw(b,c,a)};g.A(qw,Aq);qw.prototype.Pg=function(){return this.l};g.A(rw,Aq);tw.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case "FeEventId":b=qs(a);break;case "AdEventId":c=qs(a)}},this);
return new rw(b,c)};uw.prototype.B=function(a){var b={};(0,g.B)(this.l,function(a){b[a]=[]});
var c=new RegExp("^"+this.o);(0,g.B)(g.Md(a),function(a){"config"!=a.nodeName||(0,g.B)(g.Md(a),function(a){"params"!=a.nodeName||(0,g.B)(g.Md(a),function(a){var d=this.o?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=qs(a));null!=a.getAttribute("learn_more")&&(e+="|");g.Qa(this.l,d)?b[d].push(e):b[d]=e},this)},this)},this);
return b};g.A(ww,uw);ww.prototype.parse=function(a){if(null==a)return null;a=vw(this,a);var b=a.UI;return new Rt(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
ww.prototype.A=function(a){var b=[],c=0;(0,g.B)(g.Md(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case "DisplayName":d=qs(a);break;case "URL":f=qs(a)}},this);
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this);
return b};g.A(xw,Aq);yw.prototype.parse=function(a){if(null==a)return null;var b=new xw;(0,g.B)(g.Md(a),function(a){if("DealId"!=a.nodeName)return null;a=qs(a);a=g.E(a);g.D(a)||(b.l=a)},this);
return b};g.A(zw,Aq);Aw.prototype.g={LG:"Siub",KG:"Scs",YE:"Bgub",XE:"Bgp"};Aw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case this.g.LG:b=qs(a);break;case this.g.KG:c=qs(a);break;case this.g.YE:d=qs(a);break;case this.g.XE:e=qs(a)}},this);
return b&&c&&d&&e?new zw(b,c,d,e):null};g.A(Bw,Aq);Cw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Md(a)&&(b=ys(a))}},this);
return new Bw(b)};g.A(Dw,Aq);Ew.prototype.g={RG:"TEMPLATE_PARAMETERS",SG:"TEMPLATE_URL"};Ew.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case this.g.RG:b=Uga(this,a)}},this);
return new Dw(b)};g.A(Fw,Aq);Fw.prototype.getImageUrl=function(){return this.A};Gw.prototype.g={VF:"Line1",WF:"Line2",XF:"Line3",UF:"ImageUrl"};Gw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case this.g.VF:b=qs(a,!0);break;case this.g.WF:c=qs(a,!0);break;case this.g.XF:d=qs(a,!0);break;case this.g.UF:e=qs(a);var l=Number(a.getAttribute("width"));f=(0,window.isNaN)(l)?0:l;a=Number(a.getAttribute("height"));k=(0,window.isNaN)(a)?0:a}},this);
return new Fw(b,c,d,e,f,k)};g.A(Hw,Aq);Iw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Md(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),g.D(g.E(a))||(b=a)}},this);
return new Hw(b)};g.A(Jw,uw);var cva=["menu","got_it"],dva=[["generic_message_left","generic_message_hypertext","generic_message_right"]];Jw.prototype.parse=function(a){if(null==a)return null;a=vw(this,a);var b=a.UI;if(!Kw(b,cva))return null;var c,d=!0,e=!1;(0,g.B)(dva,function(a){Vga(b,a)&&(Kw(b,a)?e=!0:d=!1)});
if(!d||!e)return null;null!=b.generic_message_left&&(c=[b.generic_message_left,b.generic_message_hypertext,b.generic_message_right]);return new Tt(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};Lw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?Db(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new Cs(a)};g.A(Mw,Aq);Nw.prototype.parse=function(a){return null!=a?new Mw:null};Ow.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?Db(a):window.NaN;return new qr(a)};g.A(Pw,nv);
Pw.prototype.g={OE:"Ad",Jp:"AdParameters",SE:"AdSystem",TE:"AdTitle",PE:"Advertiser",VE:"AltText",cF:"ClickThrough",dF:"ClickTracking",eF:"Companion",fF:"CompanionAds",gF:"CompanionClickThrough",hF:"CompanionClickTracking",pF:"Creative",HX:"CreativeExtensions",qF:"Creatives",tF:"CustomClick",xF:"Description",Mp:"Duration",ERROR:"Error",EXTENSION:"Extension",FF:"Extensions",Zl:"HTMLResource",JF:"Icon",KF:"Icons",LF:"IconClicks",MF:"IconClickThrough",NF:"IconClickTracking",OF:"IconViewTracking",fm:"IFrameResource",
gm:"Impression",kZ:"InLine",LINEAR:"Linear",bG:"MediaFile",cG:"MediaFiles",lG:"NonLinear",mG:"NonLinearAds",nG:"NonLinearClickThrough",oG:"NonLinearClickTracking",vG:"Pricing",hm:"StaticResource",QG:"Survey",V1:"Tracking",Rp:"TrackingEvents",ZG:"UniversalAdId",G2:"VAST",bH:"VASTAdTagURI",cH:"VideoClicks",fH:"Wrapper"};
Pw.prototype.l={QE:"adId",RE:"adSlotID",UE:"allowMultipleAds",Xl:"apiFramework",av:"bitrate",rF:"creativeType",wF:"delivery",Mp:"duration",yY:"event",IF:"followAdditionalWrappers",DF:"expandedHeight",EF:"expandedWidth",Yl:"height",dm:"id",PF:"idRegistry",QF:"idValue",YF:"maintainAspectRatio",aG:"maxBitrate",gG:"minBitrate",hG:"minSuggestedDuration",pG:"offset",wG:"program",BG:"required",EG:"scalable",Gv:"sequence",IG:"skipoffset",Uv:"type",VERSION:"version",dH:"codec",lm:"width",gH:"xPosition",iH:"yPosition"};
Pw.prototype.o=function(){return new ov(this.A,Xga(this),null)};g.A(Yw,Uu);g.h=Yw.prototype;g.h.V=function(){this.D=!1;null===this.g?this.N&&this.dispatchEvent(new qn("destroyInsecureFlashVpaid",this.ka())):this.g.dispose();this.o&&this.ga("contentResumeRequested");this.ga("allAdsCompleted");Yw.aa.V.call(this)};
g.h.Ic=function(){var a=this.Yc("getAdRemainingTime");return g.ua(a)?a:-1};
g.h.getVolume=function(){var a=this.Yc("getAdVolume");return g.ua(a)?a:-1};
g.h.Pc=function(a,b,c){Yw.aa.Pc.call(this,a,b,c);this.o=this.ka().g instanceof mq};
g.h.init=function(a){Yw.aa.init.call(this,a);a=this.ka();var b=xt(a);b=g.E(b);if(g.D(b))bx(this,Error("Flash VPAID ad url is empty."));else{if(Yu(a)){var c=a.g,d=pq(c);null!=d&&(c.B=d)}this.Sa().U(Ro(),G0,this.Nj);this.N?this.dispatchEvent(new qn("initInsecureFlashVpaid",a,{url:g.E(b)})):null===this.Ea.Hf()?bx(this,Error("Container must be provided for flash VPAID.")):(this.Ea.ud(),null===this.g&&(this.g=new mv(this.Ea.Hf())),this.Sa().U(this.g,"loadError",this.hQ),this.Sa().U(this.g,"vpaidEventType",
this.ag),this.g.load(b,this.K,this.C,this.La.gf))}};
g.h.start=function(){if(this.D){Yw.aa.start.call(this);var a=this.ka();this.Xb.A=a.I;var b=Wq(a);this.Xb.g=b;if(b=a.g)this.zg(a),this.eg(b,F0),this.Qj(b),bv(this,a);this.Ea.ud();dv(this);this.xa("show_ad");this.setVolume(this.A);this.l=new g.ug(250);this.Sa().U(this.l,"tick",this.zJ);this.o?this.ga("contentPauseRequested"):(this.ga("contentResumeRequested"),$w(this));this.l.start();this.Yc("startAd")}else this.H=!0};
g.h.stop=function(){this.I||(this.Yc("stopAd"),this.Ea.hide(),null!=this.l&&(this.l.stop(),this.l=null),Yw.aa.stop.call(this),this.I=!0)};
g.h.xb=function(a,b,c){Yw.aa.xb.call(this,a,b,c);if(null!==this.g){var d=this.g;d.g&&d.g.setSize(a,b)}this.K=a;this.C=b;this.Yc("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.l&&this.l.stop();this.Yc("pauseAd")};
g.h.resume=function(){null!=this.l&&this.l.start();this.Yc("resumeAd")};
g.h.setVolume=function(a){this.A=a;this.L.getAdVolume=a;this.Yc("setAdVolume",a)};
g.h.expand=function(){this.Yc("expandAd")};
g.h.collapse=function(){this.Yc("collapseAd")};
g.h.Mj=g.y;g.h.Tb=function(){return Zw(this)};
g.h.skip=function(){this.Yc("skipAd")};
g.h.getDuration=function(){var a=this.Yc("getAdDuration");if(g.ua(a))return a;a=this.Ic();return 0<=a?this.B/1E3+a:-2};
g.h.zJ=function(){this.B+=250;var a=this.getDuration(),b=a-this.Ic();ev(this,b,a)};
g.h.Yc=function(a){if(this.I)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.N?(c=b.shift(),this.dispatchEvent(new qn("callFlashVpaidMethod",this.fb()?this.ka():null,{methodName:c,args:b})),this.L[c]):null===this.g?null:this.g.uJ.apply(this.g,b)};
g.h.hQ=function(){bx(this,Error("Flash VPAID loader failed to load."))};
g.h.getCurrentTime=function(){return this.B/1E3};
g.h.ag=function(a){var b=a.data;switch(a.g){case "flashVpaidMethodResults":b&&(this.L[b.methodName]=b.result);break;case "flashReady":this.Yc("handshakeVersion","2.0");b=Qs(this.ka());this.Yc("initAd",this.K,this.C,this.Vc,this.La.bitrate,b);break;case "AdLoaded":this.D=!0;b=this.Yc("getAdCompanions");a=g.v(b)?b:"";b=this.ka();g.Ra(Ps(b))&&(a=Sw(a,b.g.g),g.Ra(a)||Ds(b,a));Zu(this,"loaded");this.H&&(this.H=!1,this.start());break;case "AdStarted":this.xa("impression");this.xa("creativeview");this.ga("start");
break;case "AdVideoStart":this.xa("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.E(Us(this.ka()))),b&&Nn(b));this.xa("click");this.ga("click");break;case "AdDurationChange":this.ga("durationChange");break;case "AdRemainingTimeChange":this.ga("durationChange");$w(this);break;case "AdError":a="AdError";b&&(a=b.message);bx(this,Error(a));break;case "AdExpandedChange":this.ga("expandedChanged");break;case "AdImpression":b=this.ka();g.Ra(Ps(b))||this.Bd(b);this.ga("impression");
break;case "AdLinearChange":b=Zw(this);!this.o&&b?(this.ga("contentPauseRequested"),g.wg(this.F)):this.o&&!b&&(this.ga("contentResumeRequested"),$w(this));this.o=b;a=this.qc;a.ma=!0;a.oa=b;this.ga("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.A&&(this.ga("volumeChange"),0==b&&0!=this.A?(this.xa("mute"),this.ga("mute")):0==this.A&&0!=b&&this.xa("unmute"),this.A=b);break;case "AdPaused":Zu(this,"pause");break;case "AdUserClose":Zu(this,"userClose");break;case "AdUserMinimize":this.xa("collapse");
break;case "AdVideoFirstQuartile":Zu(this,"firstquartile");break;case "AdVideoMidpoint":Zu(this,"midpoint");break;case "AdVideoThirdQuartile":Zu(this,"thirdquartile");break;case "AdVideoComplete":cx(this);break;case "AdUserAcceptInvitation":this.o?this.xa("acceptinvitationlinear"):this.xa("acceptinvitation");break;case "AdStopped":cx(this);this.xa("stop");this.stop();break;case "AdSkipped":Zu(this,"skip");break;case "AdSkippableStateChange":Zu(this,"skippableStateChanged");break;case "AdPlaying":Zu(this,
"resume");break;case "AdLog":this.ga("log")}};g.A(dx,Uu);var eva=Ec(wc(g.xc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Ec(wc(g.xc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=dx.prototype;g.h.V=function(){this.D=!1;this.g&&(this.g.dispose(),this.B=null);g.wg(this.F);this.o&&this.ga("contentResumeRequested");this.ga("allAdsCompleted");dx.aa.V.call(this)};
g.h.Ic=function(){var a=this.hd("getAdRemainingTime");return g.ua(a)?a:-1};
g.h.getVolume=function(){var a=this.hd("getAdVolume");return g.ua(a)?a:-1};
g.h.Pc=function(a,b,c){dx.aa.Pc.call(this,a,b,c);this.o=this.ka().g instanceof mq};
g.h.init=function(a){dx.aa.init.call(this,a);window[this.R]=(0,g.z)(this.AJ,this);this.Sa().U(Ro(),G0,this.Nj);this.g=new kv(eva);this.g.setSize(this.L,this.H);this.g.Am="always";var b=this.ka();a=xt(b);a=g.E(a);if(g.D(a))gx(this,ax,Error("Flash VPAID ad url is empty.")),this.stop();else{if(Yu(b)){b=b.g;var c=pq(b);null!=c&&(b.B=c)}this.g.l.set("vpaid",a);this.g.Fp="transparent";this.g.l.set("vpaidEventHandler",this.R);this.Ea.ud();iv(this.g,this.Ea.Hf());this.B=lv(this.g);this.F=g.vg(this.CJ,this.La.gf,
this)}};
g.h.start=function(){if(this.D){dx.aa.start.call(this);var a=this.ka();this.Xb.A=a.I;var b=Wq(a);this.Xb.g=b;if(b=a.g)this.zg(a),this.eg(b,F0),this.Qj(b),bv(this,a);this.Ea.ud();dv(this);this.xa("show_ad");this.setVolume(this.A);this.l=new g.ug(250);this.Sa().U(this.l,"tick",this.BJ);this.o?this.ga("contentPauseRequested"):(this.ga("contentResumeRequested"),fx(this));this.l.start();this.hd("startAd")}else this.K=!0};
g.h.stop=function(){this.W||(this.W=!0,this.hd("stopAd"),this.Ea.hide(),null!=this.l&&(this.l.stop(),this.l=null),dx.aa.stop.call(this))};
g.h.xb=function(a,b,c){dx.aa.xb.call(this,a,b,c);this.L=a;this.H=b;null!=this.g&&this.g.setSize(a,b);this.hd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.l&&this.l.stop();this.hd("pauseAd")};
g.h.resume=function(){null!=this.l&&this.l.start();this.hd("resumeAd")};
g.h.setVolume=function(a){this.A=a;this.hd("setAdVolume",a)};
g.h.expand=function(){this.hd("expandAd")};
g.h.collapse=function(){this.hd("collapseAd")};
g.h.Mj=function(){};
g.h.Tb=function(){return ex(this)};
g.h.skip=function(){this.hd("skipAd")};
g.h.getDuration=function(){var a=this.hd("getAdDuration");if(g.ua(a))return a;a=this.Ic();return 0<=a?this.C/1E3+a:-2};
g.h.BJ=function(){this.C+=250;var a=this.getDuration(),b=a-this.Ic();ev(this,b,a)};
g.h.hd=function(a){if(!this.g||!this.B)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);c=b.shift();var d=!1;this.D&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.B[c])return this.B[c].apply(this.B,b)}catch(e){}return null};
g.h.CJ=function(){gx(this,K0,null,(this.La.gf/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.C/1E3};
g.h.AJ=function(a,b){switch(a){case "flashReady":this.hd("handshakeVersion","2.0");var c=Qs(this.ka());this.B.initAd(this.L,this.H,this.Vc,this.La.bitrate,c);break;case "AdLoaded":g.wg(this.F);this.D=!0;c=this.hd("getAdCompanions");var d=g.v(c)?c:"";c=this.ka();g.Ra(Ps(c))&&(d=Sw(d,c.g.g),g.Ra(d)||Ds(c,d));Zu(this,"loaded");this.K&&(this.K=!1,this.start());break;case "AdStarted":this.xa("impression");this.xa("creativeview");this.ga("start");break;case "AdVideoStart":this.xa("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.E(Us(this.ka()))),null!=c&&Nn(c));this.xa("click");this.ga("click");break;case "AdDurationChange":this.ga("durationChange");break;case "AdRemainingTimeChange":this.ga("durationChange");fx(this);break;case "AdError":c="AdError";b&&(c=b.message);gx(this,ax,Error(c));this.stop();break;case "AdExpandedChange":this.ga("expandedChanged");break;case "AdImpression":c=this.ka();g.Ra(Ps(c))||this.Bd(c);this.ga("impression");break;case "AdLinearChange":c=ex(this);!this.o&&c?
(this.ga("contentPauseRequested"),g.wg(this.I)):this.o&&!c&&(this.ga("contentResumeRequested"),fx(this));this.o=c;d=this.qc;d.ma=!0;d.oa=c;this.ga("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.A&&(c!=this.A&&this.ga("volumeChange"),0==c&&0!=this.A?(this.xa("mute"),this.ga("mute")):0==this.A&&0!=c&&this.xa("unmute"),this.A=c);break;case "AdPaused":Zu(this,"pause");break;case "AdUserClose":Zu(this,"userClose");break;case "AdUserMinimize":this.xa("collapse");break;case "AdVideoFirstQuartile":Zu(this,
"firstquartile");break;case "AdVideoMidpoint":Zu(this,"midpoint");break;case "AdVideoThirdQuartile":Zu(this,"thirdquartile");break;case "AdVideoComplete":hx(this);break;case "AdUserAcceptInvitation":this.o?this.xa("acceptinvitationlinear"):this.xa("acceptinvitation");break;case "AdStopped":hx(this);this.xa("stop");this.stop();break;case "AdSkipped":Zu(this,"skip");break;case "AdSkippableStateChange":Zu(this,"skippableStateChanged");break;case "AdPlaying":Zu(this,"resume");break;case "AdLog":this.ga("log")}};g.A(ix,qn);ox.prototype.g=null;var i1;g.A(rx,ox);i1=new rx;g.A(g.tx,g.Gf);g.tx.prototype.Ua=null;var hha=/^https?$/i,fva=["POST","PUT"];g.h=g.tx.prototype;
g.h.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.I+"; newUri="+a);b=b?b.toUpperCase():"GET";this.I=a;this.C="";this.l=0;this.Y=b;this.R=!1;this.o=!0;this.g=this.N?sx(this.N):sx(i1);this.L=this.N?qx(this.N):qx(i1);this.g.onreadystatechange=(0,g.z)(this.ay,this);try{jn(Ax(this,"Opening Xhr")),this.W=!0,this.g.open(b,String(a),!0),this.W=!1}catch(f){jn(Ax(this,"Error opening Xhr: "+f.message));xx(this,f);return}a=c||"";var e=this.headers.clone();
d&&Zda(d,function(a,b){e.set(b,a)});
d=g.Ma(e.zb(),gha);c=g.w.FormData&&a instanceof g.w.FormData;!g.Qa(fva,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.X&&(this.g.responseType=this.X);"withCredentials"in this.g&&this.g.withCredentials!==this.F&&(this.g.withCredentials=this.F);try{Cx(this),0<this.B&&(this.K=fha(this.g),jn(Ax(this,"Will abort after "+this.B+"ms if incomplete, xhr2 "+this.K)),this.K?(this.g.timeout=this.B,this.g.ontimeout=(0,g.z)(this.by,this)):this.D=g.vg(this.by,this.B,this)),jn(Ax(this,"Sending request")),this.H=!0,this.g.send(a),this.H=!1}catch(f){jn(Ax(this,"Send error: "+f.message)),xx(this,f)}};
g.h.by=function(){"undefined"!=typeof yx&&this.g&&(this.C="Timed out after "+this.B+"ms, aborting",this.l=8,Ax(this,this.C),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.g&&this.o&&(Ax(this,"Aborting"),this.o=!1,this.A=!0,this.g.abort(),this.A=!1,this.l=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),wx(this))};
g.h.V=function(){this.g&&(this.o&&(this.o=!1,this.A=!0,this.g.abort(),this.A=!1),wx(this,!0));g.tx.aa.V.call(this)};
g.h.ay=function(){this.ha()||(this.W||this.H||this.A?Bx(this):this.SR())};
g.h.SR=function(){Bx(this)};
g.h.isActive=function(){return!!this.g};
g.h.getStatus=function(){try{return 2<g.zx(this)?this.g.status:-1}catch(a){return-1}};g.p(Jx,Pi);
Jx.prototype.K=function(){if(this.l&&this.ca){try{if(this.A){var a=this.o;this.H++;var b=this.X+"//"+this.R+this.Y+this.Z,c={};b=Fx(b,this.D,c);b=Fx(b,a,c);this.g.google_timing_params&&(b=Fx(b,this.g.google_timing_params,c),this.g.google_timing_params=void 0);var d=b;a=!1;try{a=this.W&&this.g.navigator&&this.g.navigator.sendBeacon(d,null)}catch(e){this.W=!1}a||fi(this.g,d);Ix(this);this.H===this.N&&this.disable()}}catch(e){(new Yi).g(358,e)}this.o={};this.A=0;this.events.length=0;this.g.clearTimeout(this.I);this.I=
0}};
Jx.prototype.F=function(a){this.l&&this.H<this.N&&(Pi.prototype.F.call(this,a),Hx(this,a))};
Jx.prototype.disable=function(){Pi.prototype.disable.call(this);this.g.clearTimeout(this.I);this.A=this.I=0;this.o={};di(this.g,"unload",this.C);di(this.g,"load",this.L)};Mx.prototype.isLoggingEnabled=function(){return!!this.va};
g.wa(Mx);Px.prototype.isListed=!0;Px.prototype.zi=-1;g.A(Rx,g.Gf);g.h=Rx.prototype;g.h.start=function(){this.Br();this.o=0;Sx(this);this.l=!0;this.B.start()};
g.h.play=function(){this.l||(Sx(this),this.l=!0,this.B.start())};
g.h.pause=function(){this.l&&Sx(this)};
g.h.stop=function(){this.l&&Sx(this);this.dispatchEvent("end")};
g.h.Br=function(){};
g.h.FR=function(){this.o+=.2;this.Ar(this.o,this.L);this.dispatchEvent("timeUpdate");0>=this.L-this.o&&this.stop()};
g.h.Ar=g.y;g.h.V=function(){this.l=!1;this.I.dispose();Rx.aa.V.call(this)};g.A(Ux,Rx);g.h=Ux.prototype;g.h.start=function(){this.Br();this.A.update(0,this.H);cu(this.g,this.F.o).play();this.I.U(this.A,"skip",this.mH);Ux.aa.start.call(this)};
g.h.Br=function(){var a=g.Lh(this.g);if(1==this.D){var b=400>=(0,window.parseInt)(wh(this.g,"width"),10)||400>=a.width;g.S(this.g,"videoAdUi-mobile",b)}else if(2==this.D){var c=g.Od(this.g),d=g.Lh(c),e=65>=(a.height-d.height)/2;g.S(this.g,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.S(this.g,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.mH=function(){this.pause();this.dispatchEvent("skip")};
g.h.Ar=function(a,b){this.A.update(a,b);if(this.C){var c=Qx({re:Tx(b-a)});g.Td(this.C,c)}};
g.h.V=function(){this.A&&this.A.dispose();g.Id(this.g);Ux.aa.V.call(this)};g.A(Xx,Rx);var Wx=Math.ceil(10*3.14);Xx.prototype.D=function(a){O.g()||a.stopPropagation();this.dispatchEvent("click")};
Xx.prototype.start=function(){Xx.aa.start.call(this);null==this.g?this.stop():this.H&&(this.N&&780<=g.Lh(this.R).width&&this.H.Ey(!0),this.H.Er())};
Xx.prototype.Ar=function(a,b){var c=a/b*Wx+" "+Wx;null!=this.g&&g.sh(this.g,"stroke-dasharray",c)};g.A(Yx,g.K);Yx.prototype.show=function(a,b,c){Zx(this);!EM||!a||lo(10)&&b?c():(a.appendChild(this.l),this.va=g.vg((0,g.z)(this.g,this,c),2E3))};
Yx.prototype.g=function(a){this.va=0;g.Kd(this.l);a()};
Yx.prototype.V=function(){Zx(this);Yx.aa.V.call(this)};g.A(ay,g.ef);g.A(by,g.Gf);cy.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var tha={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=by.prototype;g.h.V=function(){this.Sc();by.aa.V.call(this)};
g.h.Sc=function(){null!=this.l&&this.l.dispose();null!=this.g&&this.g.Sc();null!=this.C&&this.C.dispose();this.C=null;null!=this.H&&this.H.dispose();this.H=null;this.L.clear();this.I=-1;this.D="";this.F=this.N=!1};
g.h.Eb=function(a,b,c,d){this.Sc();this.A.A=a.I;this.g=b;this.o=d||null;this.g.Eb();this.B=new cy(this.g);this.K=c||null;this.l=new g.an(this);this.D=a.I;a=O.l?jp():Ro();this.l.U(a,"externalActivityEvent",this.fQ);this.l.U(a,"measurable_impression",this.MQ);this.l.U(a,"viewable_impression",this.eT);this.l.U(this.g,"timeUpdate",this.dK);this.l.U(this.g,"volumeChange",this.eK);this.l.U(this.g,"pause",this.aK);this.l.U(this.g,"play",this.bK);this.l.U(this.g,"end",this.bQ);this.l.U(this.g,"beginFullscreen",
this.YJ);this.l.U(this.g,"endFullscreen",this.eQ);this.l.U(this.g,"skip",this.My);this.l.U(this.g,"skipShown",this.SB);this.l.U(this.g,"start",this.cK);this.l.U(this.g,"error",this.XJ);this.l.U(this.g,"mediaLoadTimeout",this.ZJ);null!=this.o&&(this.l.U(this.o,"videoIconClicked",(0,g.z)(function(a){this.dispatchEvent(a)},this)),this.l.U(this.o,"urlNavigationRequested",(0,g.z)(function(a){this.dispatchEvent(a)},this)),this.l.U(this.o,"yt-show-toast",(0,g.z)(function(a){this.dispatchEvent(a)},this)),
this.l.U(this.o,"feedbackShown",(0,g.z)(function(){dy(this,"feedbackShown",!0,!0)},this)),this.l.U(this.o,"feedbackLike",(0,g.z)(function(){dy(this,"feedbackLike",!0,!0)},this)),this.l.U(this.o,"feedbackDislike",(0,g.z)(function(){dy(this,"feedbackDislike",!0,!0)},this)),this.l.U(this.o,"videoShareShown",this.dT),this.l.U(this.o,"skipshown",this.SB),this.l.U(this.o,"skip",this.My),this.l.U(this.o,"PUBLISHER_INVOKED_SKIP",this.PR),this.l.U(this.o,"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.fI))};
g.h.MQ=function(a){var b=a.g;this.A.F.measurable_impression=null!=b?b.viewabilityString:null;a.g.queryId==this.D&&dy(this,"measurable_impression",!0,!1)};
g.h.eT=function(a){a=a.g;a.queryId==this.D&&(this.A.F.viewable_impression=null!=a?a.viewabilityString:null,dy(this,"viewable_impression",!0,!0))};
g.h.fQ=function(a){a=a.g;var b=H0[a.eventName];b&&a.queryId==this.D&&(this.A.F[b]=null!=a?a.viewabilityString:null,dy(this,b,!0,!0))};
g.h.dK=function(){if(this.F){var a=this.g.getDuration();if(-1!=a){this.g.yk(.25*a)&&dy(this,"firstquartile",!0,!0);this.g.yk(.5*a)&&dy(this,"midpoint",!0,!0);this.g.yk(.75*a)&&dy(this,"thirdquartile",!0,!0);var b=this.A,c=this.g.getCurrentTime();if(!Hm(b.l,"skip")){0>b.B&&(Vea(b.o,a),b.B=0);a=bq(b.o,"progress");for(var d=[],e=b.B;e<a.length;e++){var f=a[e];if(fq(f.g)>c)break;b.B=e+1;d.push(f.Oa())}0<d.length&&Ru(b,new g.ef("progress"),d)}}ey(this)}};
g.h.cK=function(){this.F=!0;dy(this,"impression",!0,!0);dy(this,"creativeview",!0,!0);null!=this.K||null!=this.o||this.l.U(this.g,"click",this.Qr);null!=this.K&&(this.C=new Ft,this.l.U(this.C,"click",this.Qr,!1),this.C.Eb(this.K));null!=this.o&&(this.H=new Ft,this.l.U(this.H,"click",this.Qr,!1),this.H.Eb(this.o));dy(this,"start",!0,!0);(this.g.isMuted()||0==this.g.getVolume())&&dy(this,"mute",!1,!1)};
g.h.eK=function(){var a=this.g.isMuted(),b=this.g.getVolume(),c=this.B;c.mute&&!a||!a&&0==c.volume&&0<b?dy(this,"unmute",!1,!1):this.B.muted(a,b)&&dy(this,"mute",!1,!1);this.B.mute=a;this.B.volume=b};
g.h.aK=function(){this.g.Zg()?fy(this):this.g.bi()&&!this.g.Dy()&&(this.B.paused=!0,dy(this,"pause",!1,!1))};
g.h.bK=function(){this.B.paused&&(this.B.paused=!1,dy(this,"resume",!1,!1))};
g.h.bQ=function(){fy(this)};
g.h.Qr=function(){dy(this,"click",!1,!1)};
g.h.XJ=function(){dy(this,"error",!1,!1)};
g.h.ZJ=function(){dy(this,"mediaLoadTimeout",!1,!1)};
g.h.SB=function(){dy(this,"skipshown",!0,!1)};
g.h.fI=function(a){dy(this,a.type,!1,!1)};
g.h.dT=function(){dy(this,"videoShareShown",!0,!1)};
g.h.My=function(){dy(this,"skip",!0,!1)};
g.h.PR=function(){dy(this,"skip",!0,!1)};
g.h.YJ=function(){dy(this,"fullscreen",!1,!1)};
g.h.eQ=function(){dy(this,"exitfullscreen",!1,!1)};g.h=gy.prototype;g.h.Ac=function(){return this.g.Ac()};
g.h.add=function(a){this.g.set(hy(a),a)};
g.h.remove=function(a){return this.g.remove(hy(a))};
g.h.clear=function(){this.g.clear()};
g.h.isEmpty=function(){return this.g.isEmpty()};
g.h.contains=function(a){return Hm(this.g,hy(a))};
g.h.sb=function(){return this.g.sb()};
g.h.clone=function(){return new gy(this)};
g.h.Nd=function(){return this.g.Nd(!1)};g.A(iy,Uu);g.h=iy.prototype;g.h.V=function(){ny(this);this.W.dispose();ly(this);g.B(this.F.sb(),g.wg);var a=!1;null!=this.Ea&&(a=this.Ea.rj(),this.Ea.hide(),this.Ea=null);this.D&&(this.D=!1,this.Da.bi()||this.Da.Zg()||this.Da.pause(),io()&&!a&&(this.Da.tj(.001),this.Da.load("","")),ho()&&this.Da.sj()&&!a&&this.Da.Dr(),this.ga("contentResumeRequested"),this.ga("allAdsCompleted"));null!=this.Da&&this.Da.unload();iy.aa.V.call(this)};
g.h.muteAd=function(){O.g()&&(this.xa("mute_interaction_url"),this.xa("mute_url"),this.ga("MUTE_AD"),jy(this,function(){my(this)}))};
g.h.whyThisAdClicked=function(){O.g()&&this.xa("why_this_ad_url")};
g.h.whyThisAdClosed=function(){O.g()&&this.xa("why_this_ad_got_it")};
g.h.Uj=function(){ly(this);iy.aa.Uj.call(this);this.fb()&&(this.Xb=new Qu,this.o=new by(this.Xb),this.N=!1,this.ga("loaded"))};
g.h.Gt=function(a){iy.aa.Gt.call(this,a);null!=this.Da&&this.Da.iu(1)};
g.h.ox=function(a,b){b.preventDefault();this.C||(this.C=!0,Zu(this,"video_card_endcap_action"));a&&(this.g.pause(),Nn(a))};
g.h.qx=function(){jy(this,function(){oy(this,"video_card_endcap_dismiss")})};
g.h.WH=function(){oy(this,"video_card_endcap_collapse")};
g.h.qs=function(a,b,c,d){var e=Mq(b);e&&(a.C=e);var f=a.getExtension("AdSense");null!=f&&null!=f.l&&f.l.l&&this.setVolume(0);if(this.La.OD){e=a.getExtension("AdSense");(f=this.Z)||(f=null===b?!1:"modules"==(new g.Lm(b)).Th().toLowerCase()||Oq(b));var k=f||null!=e&&e.F;e=a.isBumper()?null:ut(a);if((O.g()||ul()?0:eo()&&(!this.dl()||null==this.Ea||!this.Ea.Eq())||At(a)||this.La.Ku)||!O.g()&&k)this.La.Gu=!0,this.La.Ku=!0;f=Wq(a,this.Da);if(O.g()||this.La.Ku){var l=g.D(g.E(Us(a)))?!1:this.La.Gu,m=a.g,
n=!1;!uy(this,a)&&null!=m&&m instanceof mq&&(n=0<Wea(m).length);var q=a.isBumper();m=this.La;var r=O.g()||!1,u=O.g();this.yj(a);e=au(k,a.C,e,q,m,f);e.A=l;e.ea=m.aV;e.fa=r;e.da=!0;e.Z=u;e.F=m.Du;e.ia=m.Ju;e.ma=m.bV;e.C=m.vy;e.Y=0;m.Du&&(e.learnMoreText=""+Ha("Visit Advertiser"));e.Cb=n}else Ls(a)?(l=a.C,m=a.isBumper(),!g.D(g.E(l))&&null!==e&&0<fq(e)&&(k=!0),e=au(k,l,e,m,this.La,f),e.W=k?Ffa:Efa):(l=a.isBumper(),e=au(k,a.C,e,l,this.La,f),e.C=!1,e.l=!1,e.o=!1);Gn(Dn(),420706069)&&(O.C=!0);!O.g()&&O.C&&
(e.K=!0);f=e;k=this.Ea.Mk();null===k?k=window.document.body:g.Id(k);l=this.ka();m=1E3*l.getDuration();r=l.getExtension("why_this_ad");u=l.getExtension("mute");f.H=new Ut(r,u);Vt(f.H)&&(u=null!=r?r.A:void 0,r="<span class='"+Q("videoAdUiAdSettingsShortTooltip")+"'>",u?r+=P(u):(u=Ha("Click for Ad Settings"),r+=u),r=Ep(r+"</span>"),f.se=r);this.Ja=new Ku(f,k,m,l.Ye());k=l.C;null!=k&&ry(this,k,f.ma);f=this.Ja;f.W&&(f=f.W,k=0==this.B,f.g!=k&&(f.g=k,gu(f)));if(this.Z)if(k=a.getExtension("AdSense"),null!=
k){f=this.Ja;k=g.E(k.o);if(null!=f.I){g.M(f.I,!0);try{var C=new g.Lm(k);var I=tb((C.l+C.o).replace(/^www\./i,""),35);g.D(g.E(I))?Nu(f):g.Td(f.I,I)}catch(N){Nu(f)}}null!=f.Z&&g.M(f.Z,!0)}else Nu(this.Ja);I=e;C=[];I.l&&C.push("adAttribution");I.o&&C.push("countdown")}else e&&ry(this,e,this.La.Zp);if(d=d?this.Ea.Kn():this.Da)yy(this)?(d.Eb(),this.Sa().U(d,"error",this.KB),this.Sa().U(d,"loaded",g.y)):this.fp(a),d.Vo(zha(this,a)),d.load(b,c)};
g.h.ew=function(a){var b=this.fb()?this.ka().C:null;if(b){var c=this.Hk();xha(this)&&(c="");py(this)&&a&&(c=Kha(this,a));a=this.Gk();c||a||!py(this)||(c=" ");(c||a)&&this.Da.Cr(b,c||null,a||null)}};
g.h.BT=function(a,b,c){null!==a.K&&Mo(Jo.getInstance(),34,{evt:"filled"},!0);this.X||(this.X=!0,this.ga("contentPauseRequested"));Ay(this)&&!this.I||yy(this)||this.qs(a,b,c);this.D=!0;this.setVolume(this.B);this.Ja&&(g.D(g.E(vy(a)))?(b=this.Ja,null!=b.B&&(b.o.Aa(b.B,"click",b.Ap),g.sh(b.B,"cursor","default"))):(b=this.Ja,null!=b.B&&(b.o.U(b.B,"click",b.Ap),null!=b.D&&!g.Oh(b.D)&&g.sh(b.B,"cursor","pointer"))),b=a.g.ma,g.Ra(b)||Mu(this.Ja,b),this.Ja.show());yy(this)&&(b=this.Ea instanceof on?this.Ea.g:
this.Ea,this.I&&(b.hide(),b.Ln(),this.Da=b.Xk(Xu(this))),this.fp(a),this.Ea instanceof on&&b.Nf());this.K=!1;this.xa("show_ad");this.Ea.Nf();if(!O.o)try{this.Bd(a)}catch(d){Fy(this,I0,d);return}Ox("pi");if(b=null!=this.Ja)b=this.Ja,b=eo()?!1:null!=b.g.I?b.g.D&&b.g.I==Ws(a):b.g.D;b?yha(this):this.W.show(this.Ea.Mk(),this.La.Fu,(0,g.z)(this.Da.play,this.Da))};
g.h.fp=function(a){this.o.Eb(a,this.Da,this.Ea.Mq(),this.Ja);this.Sa().U(this.o,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start feedbackShown feedbackLike feedbackDislike yt-show-toast".split(" "),this.XB);this.Sa().U(this.Da,"loaded",this.bT);this.Sa().U(this.Da,"cardsStateChange",this.FJ);this.Sa().U(this.Da,"timeUpdate",
this.bC);this.Sa().U(this.Da,"volumeChange",this.IJ);this.Sa().U(this.Da,"shareClicked",this.RC);this.zg(a);var b=Wq(a,this.Da);this.Xb.g=b;b=a.g;null!=b&&b instanceof mq&&(this.eg(b,F0),this.Qj(b),b=this.Sa(),cn(b,this.o,"error",this.GJ,this),cn(b,this.o,"mediaLoadTimeout",this.HJ,this));bv(this,a);a.isSkippable()&&(this.o.I=30)};
g.h.Mj=function(){Ay(this)&&Dy(this);this.ga("loaded");this.dispatchEvent(new ix(this.ka()))};
g.h.skip=function(){this.fb()&&this.ka().isSkippable()&&(null!=this.Ja?this.Ja.skip():(this.xa("skip"),Ly(this)))};
g.h.SC=function(){Zu(this,"skipshown")};
g.h.start=function(){iy.aa.start.call(this);this.L=[];try{var a=this.ka();this.l=zy(this,a);Ox("am");jy(this,(0,g.z)(iy.prototype.BT,this,a,this.l.Oa(),this.l.g))}catch(b){By(this,b),this.Uj(),this.fb()?(Zn(this,Cy,b),this.start()):(this.D?Zn(this,Cy,b):(null!=this.Od&&this.Od.Bd(tB()),$n(this,Cy,b)),this.stop())}};
g.h.getVolume=function(){av(this);return this.Da.isMuted()?0:this.Da.getVolume()};
g.h.setVolume=function(a){av(this);this.D?this.Da.setVolume(a):this.B=a};
g.h.pause=function(){av(this);this.g?this.g.pause():this.Da.pause()};
g.h.resume=function(){av(this);this.g?this.g.play():this.Da.play()};
g.h.getCurrentTime=function(){av(this);var a=this.g?this.g.o:0;return this.Da.getCurrentTime()+a};
g.h.getDuration=function(){av(this);return this.Da.getDuration()};
g.h.Ic=function(){av(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.Ae=function(){return this.Da.Ae()};
g.h.GJ=function(){Ay(this)&&!this.I&&this.KB();Fy(this,Cy,Xn(Cy,this.Da.getError()))};
g.h.KB=function(){this.K=!0};
g.h.HJ=function(){Eha(this);Fy(this,K0,Xn(K0,null,(this.La.gf/1E3).toString()))};
g.h.bu=function(a,b){iy.aa.bu.call(this,a,b);Hy(this,a)};
g.h.XB=function(a){switch(a.type){case "start":Ox("ff");this.ga("start");O.g()&&O.o&&this.ka()&&this.ka().F&&this.ga("youtubeKevlarCompanionShow");this.vj();this.H=!0;this.Ja&&(O.C&&!O.g()&&(this.Ja.Db=!0),Pu(this.Ja));break;case "impression":this.ga("impression");this.I=!0;yy(this)&&Dha(this);break;case "viewable_impression":this.ga("viewable_impression");break;case "why_this_ad_url":this.ca=this.Da.bi();Ey(this,"why_this_ad_url");this.pause();break;case "pause":this.ga("pause");break;case "why_this_ad_got_it":Ey(this,
"why_this_ad_got_it");this.ca||this.resume();break;case "resume":this.ga("resume");break;case "firstquartile":this.ga("firstquartile");break;case "midpoint":this.ga("midpoint");break;case "thirdquartile":this.ga("thirdquartile");break;case "complete":wha(this)||(this.ga("complete"),this.xa("instreamAdComplete"),my(this));break;case "click":this.Ja&&this.Ja.g.A?this.Da.bi()?this.resume():this.pause():Gy(this);break;case "engagedview":Iy(this);this.ga("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);
break;case "yt-show-toast":this.dispatchEvent(a);break;case "videoAuthorIconClicked":Ny(this);break;case "videoAuthorClicked":Ny(this);break;case "videoClicked":this.ga("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.g&&!this.C&&(this.C=!0,Zu(this,"video_card_endcap_action"));!O.g()&&Iy(this);Gy(this);this.Da.pause();break;case "videoShareClicked":Gha(this);break;case "videoShareShown":Hha(this);break;case "videoTitleClicked":Iha(this);break;
case "videoMuteClicked":this.Y=this.B;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.Y);break;case "skipshown":this.ga("skippableStateChanged");break;case "skip":this.g?this.qx():Ly(this);break;case "MUTE_AD":this.ga("MUTE_AD");jy(this,function(){my(this)});
break;case "feedbackShown":this.xa("feedbackShown");break;case "feedbackLike":this.xa("feedbackLike");break;case "feedbackDislike":this.xa("feedbackDislike")}};
g.h.qf=function(){iy.aa.qf.call(this);this.A&&(g.cf(this.A),this.A=null)};
g.h.RC=function(){var a=Jy(this)||Ky(this);null!=a&&Qn(a,"sharebuttonclicked")};
g.h.zg=function(a){iy.aa.zg.call(this,a);Hy(this,"impression")};
g.h.eg=function(a,b){iy.aa.eg.call(this,a,b);(0,g.B)(b,function(a){Hy(this,a)},this)};
g.h.Qj=function(a){iy.aa.Qj.call(this,a);a instanceof mq&&(a=nq(a),(0,g.B)(a.zb(),function(a){Hy(this,a)},this))};
g.h.kj=function(){if(!this.fb())return null;try{var a=this.ka();if(null==a)return null;var b=zy(this,a);return null!=b?b.Oa():null}catch(c){return null}};
g.h.Rg=function(){if(!this.fb())return null;var a=this.ka();if(!Yu(a))throw Xn(wy);a=a.g.Qg();return g.Ra(a)?null:a[0].Oa()};
g.h.bT=function(){this.ga("adCanPlay")};
g.h.FJ=function(){var a=this.Ja;null!=a.l&&g.S(a.l,"ytp-iv-drawer-open",this.Da.Cy())};
g.h.bC=function(){var a=this.getDuration();av(this);var b=this.g?this.getDuration():this.Da.Ix();var c=this.getCurrentTime(),d=0,e=0;this.fb()&&(e=this.ka(),d=e.A.g,e=e.A.Qe);if(null!=this.Ja&&0<=a&&0<=c){if(!this.R&&3==this.ka().Pa){var f=this.Da.getDuration(),k=nt(this.ka());f=Math.abs(f-k);2<f&&(f=Xn(Vua,null,Number(f).toFixed(2)),f=Vq(f,this.ka(),this.Da),k=Ns(this.ka()),Tn(k,f));this.R=!0}this.Ja.update(c,b,a,d,e)}};
g.h.IJ=function(){var a=this.Da.getVolume();if(a!=this.B&&(this.B=a,this.ga("volumeChange",{volume:a}),0==a&&this.ga("mute"),this.Ja)){var b=this.Ja;b.W&&(b=b.W,a=0==a,b.g!=a&&(b.g=a,gu(b)))}};
g.h.VT=function(a){var b=this.fb()&&Dt(this.ka());return!a||g.D(g.E(a.channelId))||!a.isListed&&!b?eg():new g.$f(function(b,d){jha(a.channelId,function(a){a=new up(a);b(a)},function(){d()},this)},this)};
g.h.JH=function(a){var b=this.ka();if((g.Ra(Ps(b))||!Ps(b)[0].A)&&O.g()&&At(b)){var c=jga(b,a);if(c)if(Vs(b,[c]),O.o)this.H&&b.F&&this.ga("youtubeKevlarCompanionShow");else try{this.Bd(b)}catch(m){Fy(this,I0,m)}}if(c=this.Ja){c=this.ka();var d=c.L;c=O.g()&&g.Ra(Ps(c))&&null!=c.ca&&null!=d&&d.isListed}O.o&&(c=c&&!b.F);if(c){this.Sa().U(window,"message",this.xI);c=this.ka();d=c.ca.channelId;var e=br(c),f=this.La.contentId,k=this.La.Qi;k=new g.Lm((null!=k?k:"//www.youtube.com/")+"ad_companion");var l=
k.g;l.set("adformat",e);l.set("p",d);l.set("render","video_wall_companion");f&&l.set("content",f);d=new tq("1",new g.kd(300,250),"IFrame",null,k.toString());d.H=c;d.C=!0;c=new Er(d,[],null,!0);O.o?(O.g()&&O.o&&"IFrame"===c.g.L&&(d=c.g.Vd(),b.F={iframeCompanionRenderer:{clickTrackingUrls:Ts(b,"companionClick"),height:d.height,impressionTrackingUrls:Ts(b,"companionImpression"),url:c.g.l,width:d.width}}),this.H&&b.F&&this.ga("youtubeKevlarCompanionShow")):(lt(b,c),this.Bd(b))}!ot(b)&&At(b)&&hga(b,a);
return a};
g.h.xI=function(a){var b=a.g;if("companion-setup-complete"==b.data){a=this.ka();var c=(0,window.encodeURIComponent)(g.E(Us(a)))+","+(0,window.encodeURIComponent)((Jy(this)||Ky(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";b.width=370;b.height=null!=Us(a)?210:185}else"pause-video"==b.data&&this.pause()};
g.h.tU=function(a){if(null!=this.Ja&&a.isListed){var b=this.Ja,c=a.title;b.g.L=!g.D(g.E(c));b.g.title=c;null!=b.F&&g.Td(b.F,b.g.title);Ju(b);b=this.Ja;null!=b.Na?g.Td(b.Na,""+Ha("Share")):null!=b.L&&g.Td(b.L,""+Ha("Share"));b=this.Ja;c=a.zi;null!=c&&(b.g.zi=c);Ju(b)}this.fb()&&(this.ka().L=a,this.ga("youTubeVideoMetadata"));return a};
g.h.sU=function(a){if(null!=this.Ja&&My(this)){var b=this.Ja,c=a.authorName;b.g.ya=!g.D(g.E(c));b.g.authorName=c;null!=b.C&&(c=""+Ha("by {$userDisplayName}",{userDisplayName:""+b.g.authorName}),g.Td(b.C,(new yp(c,void 0)).kd()));Ju(b);b=this.Ja;c=a.channelIconThumbnailUrl;b.g.oa=!g.D(g.E(c));if(null!=b.N){var d=g.Ed("img");d.setAttribute("src",c);g.R(d,"videoAdUiAuthorIconImage");b.N.appendChild(d);null!=b.F&&g.R(b.F,"videoAdUiTitleWithAuthorIcon");null!=b.C&&g.R(b.C,"videoAdUiAuthorNameWithAuthorIcon")}Ju(b)}this.fb()&&
(this.ka().ca=a,this.ga("youTubeChannelMetadata"));return a};
g.h.xb=function(a,b,c){iy.aa.xb.call(this,a,b,c);null!=this.Ja&&this.Ja.xb()};g.A(Oy,g.Gf);Oy.prototype.g=!1;Oy.prototype.connect=function(){for(this.g=!0;!g.Ra(this.l);){var a=this.l.shift();this.sendMessage(a.name,a.type,a.data)}};
Oy.prototype.isConnected=function(){return this.g};
Oy.prototype.send=function(a,b,c){this.g?this.sendMessage(a,b,c):this.l.push({name:a,type:b,data:c})};
g.A(Py,g.ef);Py.prototype.getOrigin=function(){return this.l};
Py.prototype.toString=function(){return""};g.A(Qy,Oy);Qy.prototype.sendMessage=function(a,b,c){null!=this.rf&&null!=this.rf.postMessage&&this.rf.postMessage(Lha(this,a,b,c),"*");null!=this.rf&&null==this.rf.postMessage&&Mo(Jo.getInstance(),11)};
Qy.prototype.V=function(){this.A.dispose();Qy.aa.V.call(this)};
Qy.prototype.receive=function(a){a=a.g;var b=Ry(a.data);if(Sy(this,b)){if(null==this.rf)this.rf=a.source,this.isConnected()||this.connect();else if(this.rf!=a.source)return;Sy(this,b)&&this.dispatchEvent(new Py(b.name,b.type,b.data||{},b.sid,a.origin))}};g.A(Ty,g.ef);g.A(Uy,Uu);g.h=Uy.prototype;
g.h.init=function(a){Uy.aa.init.call(this,a);this.R=g.vg(this.JJ,this.La.gf,this);this.Sa().U(window,"message",this.fT);this.Sa().U(this.H,"tick",this.FT);a=O.l?jp():Ro();this.Sa().U(a,G0,this.Nj);if(Yy())this.dispatchEvent(new Ty("createFriendlyIframe",this.B));else{a=wt(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.La.contentId&&(a=Zg(a,"v",this.La.contentId));O.g()&&
(b=Xg(a,"st"),b=Pha(this,b?b+" yt":"yt"),a=Zg(a,"st",b))}a=g.E(a)}else{b=new g.Lm(a);var c=new g.Lm("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.A&&g.Mm(c,"https");this.W=b.l;a=Qm(c,a||"",void 0).toString()}this.o=g.J("IFRAME",{src:Ln(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.Sa().U(this.o,"load",this.LH);this.Ea.Hf().appendChild(this.o)}};
g.h.Pc=function(a,b,c){Uy.aa.Pc.call(this,a,b,c);this.l=this.ka().g instanceof mq;this.g=a.Xk(!1);Yy()||(this.Sa().U(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.ZR),this.Sa().U(this.g,PA,this.CP))};
g.h.stop=function(){this.H.stop();this.Ea.hide();Uy.aa.stop.call(this)};
g.h.Tb=function(){return 1==this.l};
g.h.start=function(){Uy.aa.start.call(this);if(!O.g()){var a={};a.pid=Mx.getInstance().g;a.dn=this.W;a["if"]=Yy();Mo(Jo.getInstance(),29,a,!0)}a=this.ka();this.Xb.A=a.I;var b=Wq(a,this.g);this.Xb.g=b;if(b=a.g)this.zg(a),this.eg(b,F0),this.Qj(b),bv(this,a);this.g.Eb();this.xa("show_ad");this.Ea.ud();dv(this);null!=this.o&&(this.o.style.display="block");this.g.setVolume(this.A);this.X=!0;this.l&&this.ga("contentPauseRequested");az(this)};
g.h.xb=function(a,b,c){Uy.aa.xb.call(this,a,b,c);Xy(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.C||Xy(this,"pauseAd")};
g.h.resume=function(){this.C&&(Xy(this,"resumeAd"),cz(this,"play"))};
g.h.setVolume=function(a){this.A=a;Uy.aa.setVolume.call(this,a);Xy(this,"setAdVolume",{value:a})};
g.h.V=function(){Yy()&&this.dispatchEvent(new Ty("destroyFriendlyIframe",this.B));g.Kd(this.o);this.l&&(!this.L||this.g.bi()||this.g.Zg()||this.g.pause(),this.ga("contentResumeRequested"));this.ga("allAdsCompleted");this.Qc=!1;this.F=[];g.wg(this.R);this.H.dispose();Uy.aa.V.call(this)};
g.h.Mj=function(){};
g.h.LH=function(){if(!Yy()){var a=this.g.Uq();g.Ra(a)&&(a=this.La.Wk);Xy(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}Wy(this)};
var Oha={use_fast_fade_in_0s:"ffi-0",use_fast_fade_in_1s:"ffi-1",use_new_style:"new",hide_preskip:"nps",use_sound:"snd",hide_progress_bar:"npb",use_survey_skip_in_2s:"skip-2",use_survey_skip_in_3s:"skip-3",use_survey_skip_in_10s:"skip-10",use_survey_skip_in_15s:"skip-15",use_survey_skip_in_20s:"skip-20",use_survey_length_15s:"time-15",use_survey_length_45s:"time-45",use_survey_skip_in_0s:"sec-0",use_survey_length_unlimited:"time-ul",hide_advertisement_text:"nat",use_skip_survey_text:"skip_survey",
show_interstitial_white:"intr-white",show_interstitial_blue:"intr-blue",show_interstitial_for_3s:"intr-time-3",show_interstitial_for_5s:"intr-time-5",show_interstitial_close_icon:"intr-close-icon",set_interstitial_survey_text:"intr-txt-survey",set_interstitial_question_text:"intr-txt-question",set_interstitial_start_button:"intr-start-button",set_interstitial_advertisers_question_text:"intr-txt-advertisers-question",set_interstitial_ads_question_text:"intr-txt-ads-question"};g.h=Uy.prototype;
g.h.fT=function(a){a=a.g;if(Yy()){if(a=Ry(a.data),null!=a){try{var b=JSON.parse(a.data)}catch(c){return}null!=b&&b.session==this.B&&bz(this,b)}}else if(a.source==this.o.contentWindow){try{b=JSON.parse(a.data)}catch(c){return}b.session==this.B&&bz(this,b)}};
g.h.JJ=function(){Zy(this,K0,null,(this.La.gf/1E3).toString());this.stop()};
g.h.ZR=function(a){switch(a.type){case "timeUpdate":a=this.g.getDuration();var b=this.g.getCurrentTime();Vy(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":cz(this,"ended");break;case "loaded":cz(this,"loadstart");break;case "mediaLoadTimeout":cz(this,"stalled");break;case "play":cz(this,"playing");break;default:cz(this,a.type)}};
g.h.CP=function(a){a=a.type;"loadedmetadata"==a?(a=this.g.getDuration(),Vy(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):cz(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Ic()?-1:this.getDuration()-this.Ic()};
g.h.getDuration=function(){return this.D};
g.h.Ic=function(){return this.I};
g.h.gb=function(){return!this.C};
g.h.FT=function(){Xy(this,"getAdRemainingTime")};g.A(dz,Uu);g.h=dz.prototype;g.h.Hk=function(){return this.Cc()?this.g.Hk():""};
g.h.Gk=function(){return this.Cc()?this.g.Gk():""};
g.h.Xe=function(){return this.Cc()?this.g.Xe():null};
g.h.ka=function(){if(this.g)return this.g.Xe();throw Xn($u,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.fb=function(){return null!=this.g&&null!=this.g.Xe()};
g.h.Tk=function(){return!1};
g.h.De=function(){return null};
g.h.To=function(){this.fb()&&(this.ads=[this.ka()],this.qc=this.ka())};
g.h.destroy=function(){this.g&&(this.g.destroy(),this.g=null);dz.aa.destroy.call(this)};
g.h.tb=function(){return this.g?this.g.tb():null};
g.h.vj=function(){this.D=!0;this.g&&this.g.vj()};
g.h.init=function(a){this.xc(a);this.Cc()&&this.g.init(a)};
g.h.Pc=function(a,b,c){a&&a instanceof on&&(a=a.g);dz.aa.Pc.call(this,a,b,c);fz(this,a,b,c)};
g.h.V=function(){this.ga("allAdsCompleted");gz(this);dz.aa.V.call(this)};
g.h.getCurrentTime=function(){return this.Cc()?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.Cc()?this.g.getDuration():-1};
g.h.Ic=function(){return this.Cc()?this.g.Ic():-1};
g.h.xb=function(a,b,c){this.ce=a;this.be=b;this.xc(c);this.Cc()&&this.g.xb(a,b,c)};
g.h.pause=function(){this.Cc()&&this.g.pause()};
g.h.resume=function(){this.Cc()&&this.g.resume()};
g.h.skip=function(){this.Cc()&&this.g.skip()};
g.h.muteAd=function(){this.Cc()&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.Cc()&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Cc()&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.Cc()){var a=this.g,b=this.Ea;a&&b&&(null!=a&&a instanceof iy?b.Nf():null!=a&&a instanceof Uy?(b.ud(),b.Nf()):null!=a&&(a instanceof dx||a instanceof Yw)&&b.ud());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.stop=function(){this.tb()&&this.tb().Tb()&&this.ga("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Cc()?this.g.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;dz.aa.setVolume.call(this,a);this.Cc()&&this.g.setVolume(a)};
g.h.xc=function(a){dz.aa.xc.call(this,a);this.g&&this.g.xc(a)};
g.h.Ae=function(){return this.g?this.g.Ae():null};
g.h.qf=function(){this.g&&this.g.qf()};
g.h.yj=function(a){return this.g?this.g.yj(a):!1};
g.h.dl=function(){return this.g?this.g.dl():!1};
g.h.kj=function(){return this.g?this.g.kj():null};
g.h.eB=function(a){this.dispatchEvent(a)};
g.h.oB=function(a){this.dispatchEvent(a)};
g.h.It=function(a){this.dispatchEvent(a)};
g.h.Bg=function(a){dz.aa.Bg.call(this,a);this.g&&this.g.Bg(a)};
g.h.ti=function(){this.ga("userClose")};
g.h.si=function(){this.ga("autoClose")};
g.h.ag=function(a){this.g&&this.g instanceof Yw&&this.g.ag(a)};
g.h.Cc=function(){return null!=this.g&&this.g.Cc()};g.A(iz,dz);g.h=iz.prototype;g.h.tb=function(){return this.o};
g.h.dispatchEvent=function(a){if(a instanceof qn){if("loaded"==a.type&&this.B)return a.stopPropagation(),!1;"loaded"==a.type&&(this.B=!0)}return iz.aa.dispatchEvent.call(this,a)};
g.h.Tk=function(){return null!=ft(this.o)&&ft(this.o).Lf()};
g.h.eB=function(a){if(this.A)this.dispatchEvent(a);else{var b=a.getError()||Xn(Cy);a=a.target.tb();et(a);kz(this,ft(a),Error(b.Ed()))}};
g.h.It=function(a){this.A&&(iz.aa.It.call(this,a),this.destroy())};
g.h.oB=function(a){this.C||(this.C=!0,this.dispatchEvent(a))};
g.h.PO=function(){this.l&&this.l.dispose();this.A=!0};g.A(lz,Uu);g.h=lz.prototype;g.h.Hk=function(){return this.g?this.g.Hk():""};
g.h.Gk=function(){return this.g?this.g.Gk():""};
g.h.Xe=function(){return this.g?this.g.Xe():null};
g.h.ka=function(){if(this.g)return this.g.Xe();throw Xn($u,null,"Current ads manager not available.\n"+Error().stack);};
g.h.fb=function(){return null!=this.g&&null!=this.g.Xe()};
g.h.Tk=function(){return this.o+1<this.l.length};
g.h.De=function(){return this.Tk()?this.l[this.o+1].Xe():null};
g.h.To=function(){this.fb()&&(this.ads=[this.ka()],this.qc=this.ka())};
g.h.Sa=function(){};
g.h.destroy=function(){this.g&&this.g.destroy();lz.aa.destroy.call(this)};
g.h.tb=function(){return this.g?this.g.tb():null};
g.h.vj=function(){this.g&&this.g.vj()};
g.h.init=function(a){this.xc(a);this.g&&this.g.init(a)};
g.h.Pc=function(a,b,c){a&&a instanceof on&&(a=a.g);lz.aa.Pc.call(this,a,b,c);mz(this,a,b,c)};
g.h.V=function(){(0,g.B)(this.l,function(a){a!==this.g&&a.destroy()},this);
pz(this);this.C&&(this.C.dispose(),this.C=null);this.A&&(this.A.destroy(),this.A=null);this.ga("allAdsCompleted");lz.aa.V.call(this)};
g.h.getCurrentTime=function(){return this.g?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.g?this.g.getDuration():-1};
g.h.Ic=function(){return this.g?this.g.Ic():-1};
g.h.xb=function(a,b,c){this.ce=a;this.be=b;this.xc(c);this.g&&this.g.xb(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.Ea;a&&b&&(null!=a&&a instanceof iy?b.Nf():null!=a&&a instanceof Uy?(b.ud(),b.Nf()):null!=a&&(a instanceof dx||a instanceof Yw)&&b.ud());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.Re=function(a){lz.aa.Re.call(this,a);null!=this.g&&this.g.Re(a);null!=this.A&&this.A.Re(a);(0,g.B)(this.l,function(b){b.Re(a)})};
g.h.stop=function(){this.destroy();this.ga("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;lz.aa.setVolume.call(this,a);this.g&&this.g.setVolume(a)};
g.h.xc=function(a){lz.aa.xc.call(this,a);this.g&&this.g.xc(a)};
g.h.Ae=function(){return this.g?this.g.Ae():null};
g.h.qf=function(){this.g&&this.g.qf()};
g.h.yj=function(a){return this.g?this.g.yj(a):!1};
g.h.dl=function(){return this.g?this.g.dl():!1};
g.h.kj=function(){return this.g?this.g.kj():null};
g.h.OO=function(a){var b=a.getError()||Xn(Cy);oz(this,a.target,b)};
g.h.ph=function(){this.D||(this.ga("contentPauseRequested"),this.D=!0)};
g.h.Zf=function(a){nz(this,a.target)};
g.h.DJ=function(){};
g.h.Bg=function(a){(0,g.B)(this.l,function(b){b.Bg(a)},this)};
g.h.ti=function(){this.ga("userClose")};
g.h.si=function(){this.ga("autoClose")};
g.h.ag=function(a){this.g&&this.g instanceof Yw&&this.g.ag(a)};g.A(qz,g.K);g.h=qz.prototype;g.h.Yk=!1;g.h.yr=1E3;g.h.mz=30;g.h.nz=45E3;g.h.vC=15E3;g.h.SD=!1;g.h.wq=function(){var a=rz(this);this.g.appendChild(this.H);sz(this.H);this.play();return a};
g.h.la=function(){null==this.K&&(this.K=this.wq());return this.K};
g.h.play=function(){null==this.l&&(this.l=g.vg(function(){this.Yk||(this.hide(),this.SD=!0);this.l=null},this.SD?this.vC:this.nz,this))};
g.h.stop=function(){null!=this.l&&(g.wg(this.l),this.l=null)};
g.h.show=function(){g.Nh(this.la(),1);null!=this.o&&(g.wg(this.o),this.o=null)};
g.h.hide=function(){g.Nh(this.la(),this.mz/100);null==this.o&&(this.o=g.vg(function(){this.R();this.o=null},400,this))};
g.h.pJ=function(){this.show();this.Yk=!0;this.B=g.vg(function(){this.Yk&&this.stop();this.B=null},this.yr,this)};
g.h.SU=function(){null!=this.B&&(g.wg(this.B),this.B=null);this.Yk&&this.play();this.Yk=!1};
g.h.V=function(){qz.aa.V.call(this);this.stop();g.cf(this.Kf)};g.A(tz,Uu);g.h=tz.prototype;g.h.start=function(){tz.aa.start.call(this);this.Ea.ud();this.o=this.Ea.Hf();if(null!=this.o){this.xa("show_ad");g.Id(this.o);var a=this.tw(),b=this.fb()?this.ka().g.zc():a,c;O.l?c=jp():c=Ro();c.Yj(b);this.o.appendChild(a);this.Pm();(0,g.B)(this.D,function(a){a()});
Sa(this.D);this.B=!0}};
g.h.init=function(a){tz.aa.init.call(this,a);var b;O.l?b=jp():b=Ro();this.Sa().U(b,G0,this.Nj)};
g.h.expand=function(){null!=this.g&&this.g.show();this.xa("expand")};
g.h.collapse=function(){null!=this.g&&this.g.hide();this.xa("collapse")};
g.h.xb=function(a,b,c){tz.aa.xb.call(this,a,b,c);this.Pm();this.B&&this.xa("overlay_resize")};
g.h.V=function(){g.cf(this.g);this.Ea=this.g=null;this.B=!1;O.l?jp().Yj(null):Ro().Yj(null);null!=this.o&&(g.Id(this.o),this.o=null);tz.aa.V.call(this)};
g.h.tw=function(){var a=this.ka().g;if(null==a)throw a=Xn(KC),wz(this,a),a;var b=this.ka();wq(a,this.Sa());uq(a,this.EJ);a.C||vq(a,g.Ea(this.qr,b,a));if(O.o&&b.F)this.ga("youtubeKevlarCompanionShow");else try{this.Bd(b)}catch(c){throw wz(this,c),c;}this.zg(b);vz(this,b);this.eg(a,["start"]);uz(this,a);return this.Em([a.zc()])};
g.h.By=function(a,b){return new qz(a[0],b)};
g.h.Em=function(a){null!=this.g&&this.g.stop();this.g=this.By(a,(0,g.z)(this.kn,this));a=this.g.la();g.S(a,"autoalign",this.La.mw);O.g()&&g.S(a,"viewmode-fullscreen","fullscreen"==this.Vc);a.appendChild(this.L);this.Sa().U(a,"click",ff);(this.fb()&&mt(this.ka())||this.La.ND)&&this.bq(this.g.g);return a};
g.h.bq=function(a){var b=En().g("enable_overlays_wta")?""+Ha("Ad info"):null;b=Jq(Tha,{aw:b,close:""+Ha("Close")});var c=g.H("ad-info-padding",b),d=this.Sa();c&&this.fb()&&(this.I=new Ut(this.qc.getExtension("why_this_ad"),this.qc.getExtension("mute")),d.U(c,"click",this.tI),d.U(this.K,["why_this_ad_url","why_this_ad_got_it","why_this_ad_settings_url"],this.oT));c=g.Dq(b,"close-padding")?b:g.H("close-padding",b);d.U(c,"click",this.Gn);this.fb()&&728<=this.qc.Ab()&&g.R(a,"wide-overlay-ad");a.appendChild(b)};
g.h.Pm=function(a,b){if(null!=this.g){var c=a?a:0,d=b?b:0,e=g.Lh(this.Ea.Hf());var f=O.g()?g.Lh(g.Od(this.g.g)):g.Lh(this.g.g);if(f.width+c>e.width||f.height+d>e.height)throw c=Xn(Sua,null),wz(this,c),d={},this.ads[0].o&&(d.pid=Mx.getInstance().g),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.ka().g.ld(),d.vm=this.Vc,Mo(Jo.getInstance(),38,d,!0),this.stop(),c;}};
g.h.EJ=function(a){Zu(this,"click");ff(a)};
g.h.Gn=function(){this.xa("close");this.kn(!0)};
g.h.tI=function(){var a=g.H("html5-video-player");a&&this.I&&Xt(this.I,a,this.K)};
g.h.qr=function(a,b){vq(b,g.y);this.B?this.Ml(a,b):this.D.push((0,g.z)(this.Ml,this,a,b))};
g.h.Ml=function(a){a=Wq(a,this.Da);this.Xb.g=a;Zu(this,"impression");this.xa("creativeview");Zu(this,"start")};
g.h.kn=function(a){null!=this.g&&(this.g.stop(),a?this.ga("userClose"):this.ga("autoClose"))};
g.h.Nj=function(a){this.fb()&&this.ka().I==a.g.queryId&&tz.aa.Nj.call(this,a)};
g.h.oT=function(a){switch(a.type){case "why_this_ad_url":this.ga("why_this_ad_url");this.xa("why_this_ad_url");break;case "why_this_ad_got_it":this.ga("why_this_ad_got_it");this.xa("why_this_ad_got_it");break;case "why_this_ad_settings_url":this.xa("why_this_ad_settings_url")}};g.A(xz,g.Gf);g.h=xz.prototype;g.h.init=function(a,b,c){yz(this,a,b,c);null==this.I&&(this.I=new g.an(this),cn(this.I,this.Za,"adsLoaderSdkAdError",this.LO,this));Fz(this)};
g.h.start=function(){this.R=!0;Bz(this);0<this.o.length?Mz(this):("always"==O.A&&(null!=this.X&&this.X.Bd(tB()),O.g()&&5!=this.Ye()&&this.dispatchEvent(new qn("companionBackfill",null))),Yn(Wn,this,ir,void 0,void 0),0==this.yc&&this.dispatchEvent("contentResumeRequested"),Nz(this))};
g.h.destroy=function(){null!=this.I&&(this.I.dispose(),this.I=null);Hz(this);Pz(this);O.A=this.Y;this.R=!1};
g.h.tb=function(){return this.l<this.o.length?this.o[this.l].g[0]:null};
g.h.gb=function(){return this.R};
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.qf=function(){null!=this.g&&this.g.qf()};
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.Ic=function(){return null!=this.g?this.g.Ic():-1};
g.h.setVolume=function(a){null!=a&&(this.W=a,null!=this.g&&this.g.setVolume(this.W))};
g.h.Re=function(a){this.N=a;null!=this.g&&this.g.Re(a);null!=this.B&&this.B.Re(a)};
g.h.cB=function(a){O.A=this.Y;var b=a.A;g.Ra(b)?this.H++:(a=a.o,(0,g.B)(b,g.Ea(function(a,b){null!=a.o&&(b.Ta=a.o);a.isBumper&&(b.za=!1)},a)),this.L=Yha(this,b),g.Ta(this.o,new nn(b,a.isBumper,a.g)),this.H++,this.I.Aa(this.Za,"adsLoaderSdkAdLoaded",this.cB,!1,this));
Fz(this)};
g.h.LO=function(a){a=a.g;O.A=this.Y;a.Ed();Yn(Wn,this,ir,void 0,void 0);this.H++;if(!zz(this)||2<=this.o.length-this.l)a=Wn(ir),this.dispatchEvent(new pn(a));Fz(this)};
g.h.kR=function(){Hz(this);Pz(this);Nz(this)};
g.h.MO=function(a){a=a.getError().Ub();try{var b={};b.ec=a;Mo(Jo.getInstance(),44,b)}catch(c){}this.l++;Mz(this)};
g.h.ti=function(){this.dispatchEvent("userClose")};
g.h.si=function(){this.dispatchEvent("autoClose")};
g.h.Zf=function(){this.l++;Mz(this)};
g.h.ph=function(){this.ca||(this.dispatchEvent("contentPauseRequested"),this.ca=!0)};
g.h.Ye=function(){return g.Ra(this.D)?null:this.D[0].o};
g.h.ag=function(a){this.g instanceof Yw?this.g.ag(a):Kz(this.g)&&this.g.ag(a)};
g.h.dB=function(a){switch(a.type){case "impression":try{Mo(Jo.getInstance(),44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.dg()&&Cz(this,this.l+1)&&1<Lz(this))b=a.Lb(),b=null===b||null===this.g||g.Ra(this.g.ads)?!1:this.g.ads[this.g.ads.length-1]===b;b&&Ez(this,this.l+1)}"vpaidEvent"!=a.type&&$ha(this,a.type,a.Lb());this.dispatchEvent(a)};
g.h.dg=function(){return null===this.A?!1:vo(this.A)&&this.N.Vk};Qz.prototype.Be=function(){return this.g};g.A(Rz,aia);g.A(Uz,nv);Uz.prototype.o=function(){return new ov(this.g,null,cia(this))};g.A(Yz,g.ef);Yz.prototype.setDescription=function(){};g.A(Zz,g.Gf);g.A(aA,g.Gf);g.h=aA.prototype;g.h.Eb=function(){this.o||(null==this.A&&(this.A=new g.an(this)),this.A.U(this.l,"currentTimeUpdate",this.wy,!1),this.A.U(this.l,"contentWrapperError",this.wR,!1));this.l.start();this.o=!0};
g.h.getCurrentTime=function(){return this.l.currentTime};
g.h.Sc=function(){null!=this.A&&(this.A.dispose(),this.A=null);this.l.stop();this.o=!1};
g.h.wy=function(){if(this.o){var a=this.l.currentTime;if((0,window.isNaN)(a)||0>a)hA(this,"The currentTime is not a valid time value:"+a);else{var b=fia(this,a);this.C?(0,g.B)(b,function(a){eA(this,!0,a)},this):(0,g.B)(gia(b),function(a){eA(this,!0,a)},this);
eA(this,!1,hia(this,a));iia(this,a)}}};
g.h.wR=function(){hA(this,"There was an error while tracking the content:The content current time is invalid.")};g.A(jA,Zz);jA.prototype.start=function(){this.va.start()};
jA.prototype.stop=function(){this.va.stop()};
jA.prototype.V=function(){jA.aa.V.call(this);this.l.dispose();this.va.dispose()};
jA.prototype.o=function(){if("currentTime"in this.g&&!(0,window.isNaN)(this.g.currentTime)){var a=this.currentTime;this.currentTime=this.g.currentTime;a!=this.currentTime&&this.dispatchEvent(new g.ef("currentTimeUpdate"))}else this.dispatchEvent(new g.ef("contentWrapperError")),this.stop()};g.h=lA.prototype;g.h.add=function(a){var b=this.g[this.l];this.g[this.l]=a;this.l=(this.l+1)%4;return b};
g.h.get=function(a){a=mA(this,a);return this.g[a]};
g.h.set=function(a,b){a=mA(this,a);this.g[a]=b};
g.h.Ac=function(){return this.g.length};
g.h.isEmpty=function(){return 0==this.g.length};
g.h.clear=function(){this.l=this.g.length=0};
g.h.sb=function(){var a=this.Ac(),b=this.Ac(),c=[];for(a=this.Ac()-a;a<b;a++)c.push(this.get(a));return c};
g.h.zb=function(){for(var a=[],b=this.Ac(),c=0;c<b;c++)a[c]=c;return a};g.A(nA,Oo);g.h=nA.prototype;g.h.IC=function(a,b,c,d){if(d&&(d=g.Ma(a,function(a){return null!==Mq(a.Oa())}),null!==d))return d;
a=(0,g.Ld)(a,function(a){var b=a.g,c=a.Oa();g.D(g.E(c))||"progressive"!=a.o&&"application/x-mpegurl"!=g.E(b).toLowerCase()?a=!1:(b=g.E(b).toLowerCase(),a=g.D(b)||oo(2.3)&&-1!=b.indexOf("application/ogg")?!1:g.mo&&(-1!=b.indexOf("video/mp4")||-1!=b.indexOf("video/3gpp"))||io()&&(-1!=b.indexOf("application/x-mpegurl")||-1!=b.indexOf("application/vnd.apple.mpegurl"))?!0:!g.D(this.g.canPlayType(b)));return a},this);
return kA(a,b,c)};
g.h.Uq=function(){return(0,g.Ld)(g.Qb(cv),function(a){return!g.D(this.g.canPlayType(a))},this)};
g.h.Vo=function(a){this.W=0<a.timeout?a.timeout:15E3};
g.h.load=function(a){pA(this);a&&(this.g.src=a);this.g.load()};
g.h.unload=function(){pA(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.L=!1;this.g.play();this.H||(this.H=g.vg(this.EH,this.W,this))};
g.h.pause=function(){this.L=!0;this.g.pause();oA(this)};
g.h.bi=function(){return this.g.paused?io()||g.QI?this.g.currentTime<this.g.duration:!0:!1};
g.h.isMuted=function(){return this.g.muted};
g.h.Dr=function(){ho()&&this.g.webkitDisplayingFullscreen&&this.g.webkitExitFullscreen()};
g.h.sj=function(){return lp(this.g)};
g.h.yk=function(a){var b;a:{for(b=this.R.sb();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.tj=function(a){this.g.currentTime=a};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.Ix=function(){return rA(this)};
g.h.getDuration=function(){return(0,window.isNaN)(this.g.duration)?-1:this.g.duration};
g.h.Zg=function(){return this.g.ended};
g.h.Yg=function(){return new g.kd(this.g.offsetWidth,this.g.offsetHeight)};
g.h.Dy=function(){return this.g.seeking};
g.h.V=function(){this.Sc();nA.aa.V.call(this)};
g.h.getError=function(){return null};
g.h.Eb=function(){this.Sc();this.l=new g.an(this);this.l.U(this.g,PA,this.uR);this.l.U(this.g,"canplay",this.lP);this.l.U(this.g,"ended",this.MJ);this.l.U(this.g,"webkitbeginfullscreen",this.Hr);this.l.U(this.g,"webkitendfullscreen",this.Gy);this.l.U(this.g,"pause",this.PJ);this.l.U(this.g,"playing",this.ER);this.l.U(this.g,"timeupdate",this.QJ);this.l.U(this.g,"volumechange",this.RJ);this.l.U(this.g,"error",this.Fy);this.l.U(this.g,FM||io()&&!lo(8)?"loadeddata":"canplay",this.OJ);this.C=new Ft;this.l.U(this.C,
"click",this.LJ);this.C.Eb(this.g);this.F=new g.ug(1E3);this.l.U(this.F,"tick",this.NJ);this.F.start()};
g.h.Sc=function(){null!=this.C&&(this.C.Sc(),this.C=null);null!=this.F&&this.F.dispose();null!=this.l&&(this.l.dispose(),this.l=null);pA(this)};
g.h.uR=function(a){this.dispatchEvent(a.type)};
g.h.lP=function(){var a;if(a=g.Ek)a=g.Ib,a=!(a&&(ub(a,"SMART-TV")||ub(a,"SmartTV")));a&&!this.N&&(this.tj(.001),this.N=!0)};
g.h.OJ=function(){this.Qc||(this.Qc=!0,this.dispatchEvent("loaded"))};
g.h.ER=function(a){this.dispatchEvent("play");io()||FM||qA(this,a)};
g.h.QJ=function(a){if(!this.A&&(io()||FM)){if(0>=this.getCurrentTime())return;if(FM&&this.Zg()&&1==this.getDuration()){this.Fy(a);return}qA(this,a)}if(io()||so()){if(1.5<this.getCurrentTime()-this.o){this.D=!0;this.tj(this.o);return}this.D=!1;this.getCurrentTime()>this.o&&(this.o=this.getCurrentTime())}this.R.add(this.g.currentTime);this.dispatchEvent("timeUpdate")};
g.h.RJ=function(){this.dispatchEvent("volumeChange")};
g.h.PJ=function(){if(this.A&&io()&&!this.L&&(2>rA(this)-this.g.currentTime||this.D)){this.B=new g.ug(250);this.l.U(this.B,"tick",this.gP);this.B.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.MJ=function(){var a=!0;if(io()||so())a=this.o>=this.g.duration-1.5;!this.D&&a&&this.dispatchEvent("end")};
g.h.Hr=function(){this.dispatchEvent("beginFullscreen")};
g.h.Gy=function(){this.dispatchEvent("endFullscreen")};
g.h.Fy=function(){oA(this);this.dispatchEvent("error")};
g.h.LJ=function(){this.dispatchEvent("click")};
g.h.NJ=function(){var a=this.Yg(),b=this.sj();if(a.width!=this.K.width||a.height!=this.K.height)!this.I&&b?this.Hr():this.I&&!b&&this.Gy(),this.K=a,this.I=b};
g.h.EH=function(){if(!this.A){try{Mo(Jo.getInstance(),16)}catch(a){}pA(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.gP=function(){if(this.Zg()||!this.bi())g.cf(this.B);else{var a=this.g.duration-this.g.currentTime,b=rA(this)-this.g.currentTime;0<b&&(2<=b||2>a)&&(g.cf(this.B),this.play())}};g.A(tA,g.Gf);var gva=new g.Fm;sA.prototype.start=function(a){return this.g[a].startTime};
sA.prototype.end=function(a){return this.g[a].endTime};
g.h=tA.prototype;g.h.On=0;g.h.currentTime=0;g.h.duration=window.NaN;g.h.paused=!0;g.h.Ly=!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.WJ=1;g.h.playbackRate=0;g.h.Cg=null;g.h.Xn=0;g.h.ET=4;g.h.rk=null;g.h.Pn=null;
g.h.play=function(){this.Ly&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.On=this.ET,2>=this.On?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.Cg||this.Cg.ha())this.Cg=new g.ug(10),this.Cg.U("tick",(0,g.z)(this.uD,this));this.Xn=(0,g.F)();this.Cg.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.Cg.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.On=0;this.paused=!0;this.dispatchEvent("loadstart");this.setProperty("duration",(0,window.isNaN)(this.duration)?10+20*Math.random():this.duration);var a=this.buffered;a.g.push(new pia(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.WJ};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.uD();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&&gva.set(a,b)};
g.h.getAttribute=function(a){return gva.get(a)};
g.h.uD=function(){var a=(0,g.F)()-this.Xn,b=this.currentTime+a/1E3;this.Xn+=a;2<this.On&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.Ly=this.paused=!0,this.Cg.stop(),this.dispatchEvent("ended"))};
g.h.V=function(){this.Cg&&this.Cg.dispose();this.g.dispose()};
g.h.ZS=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.Pn&&(this.Pn.innerText=b);c&&this.rk&&(this.rk.style.backgroundColor=c)};g.A(uA,g.K);uA.prototype.initialize=function(){this.l&&eo()&&this.l.load()};
uA.prototype.V=function(){g.Kd(this.g);uA.aa.V.call(this)};
uA.prototype.show=function(){var a=this.g;null!=a&&(a.style.display="block")};
uA.prototype.hide=function(){var a=this.g;null!=a&&(a.style.display="none")};g.A(vA,g.K);vA.prototype.F=function(a){if(!("*"!=this.l&&a.origin!=this.l||this.A&&a.source!=this.A)&&g.v(a.data)){try{var b=JSON.parse(a.data)}catch(c){return}if(!(null==b||this.I&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "syn":wA(this,a);yA(this);this.sendMessage({event:"ack"});break;case "ack":wA(this,a);yA(this);break;case "command":a=b.func,a in this.g&&this.g[a].apply(null,b.args)}}};
vA.prototype.sendMessage=function(a,b){var c=b||this.A;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=g.Bg(a);c.postMessage(d,this.D)}catch(e){}}};
vA.prototype.V=function(){window.removeEventListener("message",this.B);vA.aa.V.call(this)};g.A(xA,vA);xA.prototype.H=function(a,b){var c={event:"command",func:a},d=Array.prototype.slice.call(arguments,1);0<d.length&&(c.args=d);this.C?this.sendMessage(c):100>this.o.length&&this.o.push(c)};g.A(zA,g.K);zA.prototype.F=function(a){a=a.type;var b=new qia;b.duration=this.g.duration;b.currentTime=this.g.currentTime;b.l=this.g.readyState;this.g.error&&(b.errorCode=this.g.error.code);b.muted=this.g.muted;b.paused=this.g.paused;b.g=this.g.ended;b.volume=this.g.volume;this.l.H("notify",a,b)};
zA.prototype.C=function(a){this.B.add(a);this.o.U(this.g,a,this.D)};
zA.prototype.H=function(a){this.B.remove(a);this.o.Aa(this.g,a)};
zA.prototype.A=function(a,b){this.g[a]=b};g.A(CA,Oo);var hva=["video/mp4","video/webm"],iva={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},BA=[],AA=!1;g.h=CA.prototype;g.h.IC=function(a,b,c){var d=g.Ma(a,function(a){return null!==Mq(a.Oa())});
if(null!==d)return d;a=(0,g.Ld)(a,function(a){a=g.E(a.g);return this.o?this.g.canPlayType(a):g.Qa(hva,a)},this);
g.Ra(c)||(d=kA(a,b,c));return null!=d?d:kA(a,b,[])};
g.h.Vo=function(a){this.l=a};
g.h.load=function(a,b){EA(this,a,b)};
g.h.unload=function(){EA(this,"","")};
g.h.getVideoUrl=function(){return this.Y};
g.h.setVolume=function(a){this.da?this.dispatchEvent("volumeChange"):this.o?(a=g.cd(100*a,0,100),this.g.setVolume(a),this.D=-1,this.dispatchEvent("volumeChange")):this.D=a};
g.h.getVolume=function(){return this.o?this.g.getVolume()/100:this.D};
g.h.play=function(){if(!g.D(g.E(this.Y))){if(!this.A){GA(this);var a=15E3;null!=this.l&&0<this.l.timeout&&(a=this.l.timeout);this.za=g.vg(this.xR,a,this)}this.o?(this.Z=!1,!this.A&&this.l&&this.l.A?this.g.loadVideoByPlayerVars(this.ia):this.g.playVideo()):this.Z=!0}};
g.h.pause=function(){this.o&&this.A&&this.g.pauseVideo()};
g.h.bi=function(){return this.o?2==this.g.getPlayerState(this.B):!1};
g.h.isMuted=function(){return this.o?this.g.isMuted():0==this.getVolume()};
g.h.Dr=function(){};
g.h.sj=function(){var a=O.l?O.F:window.document.getElementById(this.N);return a?lp(a):!1};
g.h.yk=function(a){return this.o?this.g.getCurrentTime(this.B)>=a:!1};
g.h.tj=function(a){this.o?this.g.seekTo(a,!1):this.I=a};
g.h.getCurrentTime=function(a){return this.o?this.g.getCurrentTime(a||this.B):-1};
g.h.Ix=function(){return this.o&&this.A?this.g.getVideoLoadedFraction(this.B)*this.g.getDuration(this.B):0};
g.h.getDuration=function(){return this.o&&this.A?this.g.getDuration(this.B):-1};
g.h.getError=function(){return null};
g.h.Uq=function(){return g.Qb(cv)};
g.h.Zg=function(){return this.o?0==this.g.getPlayerState(this.B):!1};
g.h.Yg=function(){var a=O.l?O.F:window.document.getElementById(this.N);return a?new g.kd(a.offsetWidth,a.offsetHeight):new g.kd(0,0)};
g.h.Dy=function(){return!1};
g.h.Cy=function(){return 1==this.oa};
g.h.gb=function(){return this.o?1==this.g.getPlayerState(this.B):!1};
g.h.TJ=function(){var a=this.Yg(),b=this.sj();if(a.width!=this.fa.width||a.height!=this.fa.height)!this.ea&&b?this.dispatchEvent("beginFullscreen"):this.ea&&!b&&this.dispatchEvent("endFullscreen"),this.fa=a,this.ea=b};
g.h.Eb=function(){this.ca=(0,g.z)(this.EB,this);this.L=(0,g.z)(this.Ir,this);this.ma=(0,g.z)(this.FB,this);this.Ca=(0,g.z)(this.uS,this);this.da&&(this.g.addEventListener("onAdStateChange",this.L),this.g.addEventListener("onReady",this.ca),this.g.addEventListener("onStateChange",this.L),this.g.addEventListener("onVolumeChange",this.ma),this.g.addEventListener("onSharePanelOpened",this.Ca));this.W=new g.ug(1E3);this.R.U(this.W,"tick",this.TJ);this.W.start()};
g.h.Sc=function(){this.da&&(this.g.removeEventListener("onAdStateChange",this.L),this.g.removeEventListener("onReady",this.ca),this.g.removeEventListener("onStateChange",this.L),this.g.removeEventListener("onVolumeChange",this.ma),this.g.removeEventListener("onSharePanelOpened",this.Ca));null!=this.W&&this.W.dispose()};
g.h.KH=function(){var a=g.cc(iva);O.B&&(a.ps="gvn",a.remoteve=Ko.X,a.remotevewin="discover");a={playerVars:a,events:{cardstatechange:(0,g.z)(this.SJ,this),onError:(0,g.z)(this.AR,this),onReady:(0,g.z)(this.EB,this),onAdStateChange:(0,g.z)(this.Ir,this),onStateChange:(0,g.z)(this.Ir,this),onVolumeChange:(0,g.z)(this.FB,this)}};var b=g.x("YT");this.g=null!=b&&null!=b.Player?new b.Player(this.N,a):null};
g.h.AR=function(){this.dispatchEvent("error")};
g.h.EB=function(){this.o=!0;this.H&&this.Cr(this.H.videoId,this.H.Jh,this.H.ek);-1!=this.D&&(this.setVolume(this.D),this.D=-1);null!=this.K&&(DA(this,this.K,this.X),this.X=this.K=null);-1!=this.I&&(this.tj(this.I),this.I=-1);this.Z&&this.play()};
g.h.SJ=function(a){this.oa=a.data;this.dispatchEvent("cardsStateChange")};
g.h.Ir=function(a){switch(a.data){case 0:this.A?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.A||(GA(this),this.A=!0,this.F=0,this.dispatchEvent("start"));this.dispatchEvent("play");FA(this);this.C=new g.ug(100);this.R.U(this.C,"tick",this.rB);this.C.start();break;case 2:this.dispatchEvent("pause"),FA(this)}};
g.h.FB=function(){this.dispatchEvent("volumeChange")};
g.h.uS=function(){this.dispatchEvent("shareClicked")};
g.h.rB=function(){var a=En();if(a.g("seek_back_for_all")||a.g("seek_back_for_all_no_leanback")&&!ul()||a.g("seek_back_for_safari")&&zT&&jo(Xua,10)&&ub(g.Ib,"Safari")||(a.g("mweb_should_disable_instream_seek_back")&&eo()?0:EM||so())){if(1.5<this.getCurrentTime()-this.F){this.o&&this.g.seekTo(this.F,!0);return}this.getCurrentTime()>this.F&&(this.F=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.xR=function(){this.dispatchEvent("mediaLoadTimeout")};
g.h.Cr=function(a,b,c){if(b||c)this.o?this.g.addInfoCardXml(a,b,c):this.H={videoId:a,Jh:b,ek:c}};
g.h.Ae=function(){if(!this.o)return null;var a=this.g.getVideoData();return a?a.cpn:null};
g.h.iu=function(a){this.o&&Mq(this.getVideoUrl())&&this.g.sendVideoStatsEngageEvent(a)};
g.h.Ey=function(a){this.o&&this.g.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.Gr=function(){this.o&&this.g.showControls()};
g.h.Er=function(){this.o&&this.g.hideControls()};
g.h.V=function(){FA(this);GA(this);this.Sc();this.o=!1;this.R.dispose();this.I=-1;this.X=null;this.Z=!1;this.K=null;this.D=-1;this.ca=this.g=this.l=null;this.A=!1;this.Y="";CA.aa.V.call(this)};
g.va("onYouTubeIframeAPIReady",function(){AA=!0;(0,g.B)(BA,function(a){a()});
Sa(BA)},window);g.A(HA,g.Gf);HA.prototype.send=function(a){var b=a.g;this.g.hasOwnProperty(b)&&this.g[b].send(a.type,a.Wd,a.Uf)};
HA.prototype.V=function(){this.l.dispose();for(var a in this.g)g.cf(this.g[a]);HA.aa.V.call(this)};
HA.prototype.B=function(a){a=a.g;var b=Ry(a.data);if(null!=b){var c=b.channel;if(this.o&&!this.g.hasOwnProperty(c)){var d=b.sid;JA(this,c,d,a.source);this.dispatchEvent(new IA(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.A(IA,Py);g.A(LA,g.an);
LA.prototype.C=function(a){var b=a.getOrigin(),c=g.Hg("//imasdk.googleapis.com");b=g.Hg(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.g)JA(this.g,a.g,a.yy,Bd().parent),null!=this.g&&this.g.send(a);else if(c=a.Uf,null!=c&&g.t(c.scope)){b=c.scope;c=c.args;var d;if("proxy"==b)c=a.Wd,"isGptPresent"==c?d=KA():"isConsolePresent"==c&&(d=null!=MA());else if(KA())if("pubads"==b||"companionAds"==b){d=a.Wd;var e=Bd().googletag;if(null!=e&&null!=e[b]&&(e=e[b](),null!=e&&(d=e[d],null!=d)))try{var f=d.apply(e,c)}catch(k){}d=
f}else if("console"==b){if(f=MA(),null!=f&&(e=f[a.Wd],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){d=a.Wd;f=Bd();if(g.Qa(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],d)&&(d=f[d],null!=d))try{e=d.apply(f,c)}catch(k){}d=e}g.t(d)&&(a.Uf.returnValue=d,this.o.send(a))}};
LA.prototype.B=function(a){this.o.send(a)};var NA={s:function(a,b,c){return(0,window.isNaN)(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+vb(" ",Number(c)-a.length):vb(" ",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+vb(" ",a):f+vb(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return NA.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)}};
NA.i=NA.d;NA.u=NA.d;g.A(QA,g.Gf);g.h=QA.prototype;g.h.V=function(){this.l.dispose();null!==this.A&&(this.A.dispose(),this.A=null);g.Dk(this.F.Nd(!1),function(a){a.dispose()});
this.F.clear();g.Kd(this.o);QA.aa.V.call(this)};
g.h.FI=function(a){var b=a.Uf,c=g.Dh(this.o),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.Wd,!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.Ek||io()||0==window.document.webkitIsFullScreen)this.o.blur(),window.focus();this.o.dispatchEvent(d)};
g.h.ZI=function(a){var b=a.Uf,c=g.Dh(this.o);if("TouchEvent"in window&&0<window.TouchEvent.length){b={bubbles:!0,cancelable:!0,view:window,detail:b.detail,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,metaKey:b.metaKey,touches:RA(this,b.touches),targetTouches:RA(this,b.targetTouches),changedTouches:RA(this,b.changedTouches)};var d=new window.TouchEvent(a.Wd,b);this.o.dispatchEvent(d)}else d=window.document.createEvent("TouchEvent"),d.initTouchEvent(a.Wd,!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,RA(this,b.touches),RA(this,b.targetTouches),RA(this,b.changedTouches),b.scale,b.rotation),this.o.dispatchEvent(d)};
g.h.WI=function(a){if(null!=this.g){var b=a.Uf;switch(a.Wd){case "startTracking":this.g.Eb();break;case "stopTracking":this.g.Sc();break;case "exitFullscreen":this.g.Dr();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.tj(b.currentTime);break;case "setPlaybackOptions":this.g.Vo(SA(b));break;case "setVolume":this.g.setVolume(b.volume)}}};
g.h.MI=function(a){if(null!=this.B){var b=a.Uf;switch(a.Wd){case "startTracking":this.B.Eb();break;case "stopTracking":this.B.Sc();break;case "setPlaybackOptions":this.B.Vo(SA(b));break;case "load":this.B.load(b.videoUrl,b.mimeType)}}};
g.h.cg=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.Zg();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.D.send("videoDisplay",a,b)};
g.h.AI=function(a){switch(a.Wd){case "showVideo":null!=this.A?this.A.Sc():(this.A=new Ft,this.l.U(this.A,"click",this.WS));this.A.Eb(UA(this.C));a=this.C;null!=a.g&&a.g.show();break;case "hide":null!==this.A&&(this.A.dispose(),this.A=null);this.C.hide();break;case "getPreloadDisplay":null!=this.g&&null==this.B&&(this.B=this.C.B);break;case "swapVideoDisplays":if(null!=this.g&&null!=this.B){this.l.Aa(this.g,g.Qb(OA),this.cg);this.l.Aa(this.g,PA,this.cg);a=this.C;if(a.g&&a.l&&a.A&&a.B){var b=a.l;a.l=
a.B;a.B=b;b=a.g;a.g=a.A;a.A=b;if(a.I&&a.l instanceof nA){b=a.I;var c=a.l.g;g.gn(b.o);b.g=c;(0,g.B)(b.B.sb(),b.C,b)}null!=a.D&&(b=a.D,a=a.l,null!=b.g&&(b.l.Aa(b.g,g.Qb(OA),b.cg),b.l.Aa(b.g,PA,b.cg)),b.g=a,b.l.U(b.g,g.Qb(OA),b.cg),b.l.U(b.g,PA,b.cg))}this.g=this.C.l;this.B=this.C.B;this.l.U(this.g,g.Qb(OA),this.cg);this.l.U(this.g,PA,this.cg)}}};
g.h.WS=function(){this.D.send("displayContainer","videoClick")};
g.h.gI=function(){g.Dk(this.F.Nd(!1),function(a){a.rf=Sd(this.o);a.connect()},this);
this.H=!0};TA.prototype.initialize=function(){null!=this.g&&this.g.initialize();null!=this.A&&this.A.initialize()};
TA.prototype.destroy=function(){g.cf(this.g);g.cf(this.A);g.cf(this.D);g.cf(this.l);g.cf(this.B);g.cf(this.I);g.Kd(this.o)};
TA.prototype.hide=function(){null!=this.g&&this.g.hide()};
TA.prototype.setSize=function(a,b){var c=this.o;null!=c&&(-1==a?(c.style.right="0",c.style.left="0"):c.style.width=a+"px",-1==b?(c.style.bottom="0",c.style.top="0"):c.style.height=b+"px");null!=this.D&&(c=this.D,c.o.width=-1==a?"100%":a,c.o.height=-1==b?"100%":b)};g.h=VA.prototype;g.h.Mq=function(){return UA(this.g)};
g.h.Mk=function(){return this.g.F};
g.h.Hf=function(){return this.g.F};
g.h.Xk=function(){var a=this.g.l;return null!=a?a:new CA};
g.h.Nf=function(){var a=this.g;null!=a.g&&a.g.show()};
g.h.ud=function(){};
g.h.Eq=function(){return null!=this.g.C};
g.h.rj=function(){return this.g.H};
g.h.zr=function(){return!1};
g.h.Mn=function(){return this.g.K};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.hide=function(){};
g.h.Kn=function(){return null};
g.h.Ln=function(){};g.A(WA,g.ef);g.h=YA.prototype;
g.h.clone=function(){var a=new YA;"auto"==this.Ii?a.Ii="auto":"click"==this.Ii&&(a.Ii="click");a.g=this.g;a.Gh=g.cc(this.Gh);a.l=this.l;a.Jm=this.Jm;a.B=this.B;a.A=this.A?g.Ya(this.A):null;a.contentTitle=this.contentTitle;a.gc=g.cc(this.gc);a.location=this.location;a.referrer=this.referrer;a.C=this.C;a.language=this.language;a.qj=this.qj;a.pj=this.pj;a.Bm=this.Bm;a.cf=this.cf;a.bf=this.bf;a.Se=this.Se;a.gp=this.gp;a.Iu=this.Iu;a.tu=this.tu;a.D=this.D;a.o=this.o;a.Ip=this.Ip;a.Jn=this.Jn;a.afcRmFallback=
this.afcRmFallback;a.I=this.I;a.H=this.H;a.aj=this.aj;a.Hp=this.Hp;a.fz=this.fz;a.Ry=this.Ry;a.Tp=this.Tp?this.Tp.clone():null;return a};
g.h.Gh=null;g.h.Jm=null;g.h.Bm=null;g.h.gc=null;g.h.Ii="unknown";g.h.fz=0;g.h.qj=0;g.h.pj=0;g.h.cf=0;g.h.bf=0;g.h.aj=!1;g.h.Se=null;g.h.gp=!1;g.h.Iu=!1;g.h.tu=!0;g.h.Hp=new xn;g.h.Ip=0;g.h.lx=!0;g.h.Jn=null;g.h.afcRmFallback=!1;g.h.Ry=!0;g.h.Tp=null;g.A(ZA,g.Gf);g.A($A,g.ef);$A.prototype.getError=function(){return this.l};g.A(bB,g.Gf);bB.prototype.l=null;bB.prototype.Mb=function(){return this.A};
bB.prototype.V=function(){delete this.g;cB(this);g.Bf(this.l);bB.aa.V.call(this)};
bB.prototype.B=function(){aB(this)&&(cB(this),g.Bf(this.l),this.l=null,this.A=!0,this.dispatchEvent("ifload"))};g.A(dB,ZA);g.wa(dB);g.h=dB.prototype;g.h.V=function(){this.l&&this.l.dispose();dB.aa.V.call(this)};
g.h.initialize=function(){if(!this.he){var a=g.ce(new md);try{eB([a,a.top]);var b=!0}catch(c){b=!1}b?qB(this):(this.he=!0,this.o="not_available")}};
g.h.Bd=function(a){try{this.g.googleSetCompanionAdContents((0,g.G)(a,this.nH,this)),this.Wj()}catch(b){this.dispatchEvent(new $A("companion_display_error",b))}};
g.h.GB=function(){0<this.A&&(0,g.F)()>=this.A?(this.he=!0,mB(this),pB(this)):qB(this)};
g.h.mU=function(a){var b=(0,g.G)(a.adSizes,function(a){return new g.kd(a.adWidth,a.adHeight)});
return new qp(a.slotId,b)};
g.h.nH=function(a){var b={};b.slotId=a.H;b.adContent=a.kd();b.adWidth=a.o;b.adHeight=a.g;b.friendlyIframeRendering=a.l;b.onAdContentSet=(0,g.z)(this.GP,this,a);return b};
g.h.GP=function(a,b){if(null!=a.A){var c=g.Od(b);c||(c=g.Ed("div"),b.appendChild(c));var d=a.zc();c.appendChild(d);rB(this,a,c)}else c=a.l?b.querySelector("iframe"):(c=g.Od(b))?g.Od(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&uia(this,c,a)};
g.h.FP=function(a){this.dispatchEvent(new $A("companion_click",null,a))};
g.h.Wj=function(a){Tn(this.impressionUrls,a)};g.A(sB,g.Gf);sB.prototype.lw=function(){return!0};
sB.prototype.Sh=function(){return null};g.A(uB,sB);g.h=uB.prototype;g.h.V=function(){this.destroy();uB.aa.V.call(this)};
g.h.destroy=function(){null!=this.B&&this.B.dispose();this.A=null;(0,g.B)(this.o,function(a){sp(a)},this);
this.l=null};
g.h.Bd=function(a){g.cf(this.l);this.l=new g.Gf;this.A=a;this.C=!0;this.D?wB(this):(this.C=yB(xB(a),[]),this.C||(this.l=this.A=null));return this.l};
g.h.lw=function(){return this.C};
g.h.qS=function(){null!=this.F&&(this.F.stop(),this.F.dispose(),this.F=null);if(null!=this.g){var a=fB(this.g);null!=a&&(this.o=a)}this.D=!0;null!=this.A&&wB(this);this.dispatchEvent(new g.ef("initialized"))};
g.h.HP=function(a){vB(this,a.getError())};
g.h.DP=function(a){if(null!=a.g){var b=a.g;"companion_slot_init"==a.type?(Tn(b.B),Of(function(){null!=this.l&&this.l.dispatchEvent(new tp("companion_impression",b))},this)):"companion_click"==a.type&&(Tn(b.C),null!=this.l&&this.l.dispatchEvent(new tp("companion_click",b)))}};
g.h.Sh=function(){return this.g};g.A(zB,nv);
zB.prototype.o=function(){if(null===this.g){for(var a=this.A,b=new Sz,c=g.Md(g.Od(this.A)),d=0,e=c.length;d<e;d++){var f=c[d];if("vmap:AdBreak"==f.nodeName){var k=f;var l=[];for(var m="",n=null,q=!1,r=!1,u=null,C=!1,I=g.Md(k),N=0,Z=I.length;N<Z;N++){var V=I[N];switch(V.nodeName){case "vmap:AdSource":if(!n&&(n=Bia(V),!n)){m=os(V,"vmap:AdTagURI");var Ga="";m.length&&(Ga=g.E(qs(m[0])));if(g.D(Ga))throw Wn(Wua,null,V.parentNode.nodeName,V.nodeName);m=Ga}break;case "vmap:Extensions":u=os(V,"vmap:Extension"),
C=g.Ma(u,g.Ea(AB,"type","bumper")),null!=C&&(q=!0,r=ps(C,"suppress_bumper"),r=null!=r?"true"==r:!0),C=Cia(u),u=C.breakType,C=C.bn}}I=null;if(n){I=n;n=null;try{n=ns(I)}catch(oa){n=ks(I)}I=this.l.clone();I.l=n;I.g=""}else g.D(m)||(n=m,I=this.l.clone(),I.l="",I.g=n);I&&(O.g()&&(n=I,k=ps(k,"timeOffset"),N=us(k),k="start"==k||0==N?0:"end"==k||-1==N?-1:1E3*N,n.Ip=k),k=new Rz(I),k.isBumper=q,k.g=q&&!r,k.o=u,k.bn=C,g.Ta(l,k));f=zia(f);q=0;for(r=f.length;q<r;q++)if(u=f[q],k=us(u),0<q&&(l=Aia(this,l)),"start"==
u||0==k)Tz(b,l,0);else if("end"==u)Tz(b,l,-1);else{if(-1==k)throw Wn(Wz,null,"timeOffset",g.E(u));Tz(b,l,k)}}}if(0==b.g.zb().length)throw Wn(ir);this.g=new ov(a,null,b)}return this.g};EB.prototype.D=function(){var a=this.A(this.B());return Yf(a)?a.then(function(a){return a.toString()}):a instanceof Error?a:a.toString()};
EB.prototype.C=function(){var a=1;to()&&(a+=4);if(!O.g()){var b=15360;O.Y&&(b+=8);a+=b}return a};var eC={q2:"ultrahigh",ZY:"high",dG:"medium"},Nia={qW:1E3,rW:1001,sW:1002,tW:1003,uW:1004,vW:1005,wW:1006},Oia={ZF:1,GF:2},Pia={kF:"content",a1:"site",b1:"site_content"};g.h=KB.prototype;g.h.ym="high";g.h.Jr=!1;g.h.Up=1;g.h.Vp=null;g.h.adType="video";g.h.adBlock=1;g.h.zm=null;g.h.Kr=null;g.h.Xp=!0;g.h.Yp=null;g.h.yq=null;g.h.zk=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.Iy=null;g.h.Hy=null;g.h.ao=1E5;g.h.bo=null;g.h.Ky=null;
g.h.Jy=null;g.h.ys=0;g.h.Pj=null;g.h.Ho=null;g.h.So=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.Do=null;g.h.url=null;g.h.Nn=null;g.h.Mu=null;g.h.Lr=null;g.h.Su=null;g.h.Pu=null;g.h.Qu=null;g.h.Ru=null;g.h.fq=null;g.h.Lu=null;g.h.Gp=null;g.h.UJ=null;g.h.VJ=null;g.h.contentTitle=null;var Lia={dX:"bumpervideo",HF:"flash",TF:"image",g1:"skippablevideo",o1:"standardvideo",t1:"staticimage",TEXT:"text",VIDEO:"video"},XB=["flash","image","staticimage"],Mia=[new g.kd(200,200),new g.kd(250,250),new g.kd(300,250),new g.kd(336,280),new g.kd(450,50),new g.kd(468,60),new g.kd(480,70),new g.kd(728,90)];g.A(fC,EB);var Qia=["bumpervideo","skippablevideo","standardvideo","video"];fC.prototype.H={xW:"allow",BF:"exclude",A0:"require"};fC.prototype.C=function(){var a=fC.aa.C.call(this);O.g()&&this.g.So&&(a|=this.g.So);return a};
fC.prototype.A=function(a){var b=new g.Lm(this.l.g),c=new g.Lm("//"+b.l+b.o);b=a.zb();(0,g.B)(b,function(b){g.Um(c,b,a.get(b))});
g.Mm(c,"https");return c};
fC.prototype.B=function(){var a=new g.Fm;a.set("sdkv",JB(this));a.set("sdki",this.C().toString(16));a.set("video_product_type",null!=this.g.Pj?O.g()?5:g.nb(this.g.Pj,"ca-games-")?4:g.nb(this.g.Pj,"ca-video-")?0:-1:-1);a.set("correlator",this.F.g);a.set("client",this.g.Pj);O.g()&&!g.D(g.E(this.g.url))?a.set("url",this.g.url):a.set("url",this.l.location?this.l.location:this.l.referrer);null!=this.l.Se&&a.set("adk",this.l.Se);a.set("num_ads",gC(this));a.set("channel",Sia(this));a.set("output","xml_vast3");
this.g.Jr&&a.set("adtest","on");this.g.zm&&a.set("adsid",this.g.zm);cp&&a.set("flash",QB);WB("alternate_ad_url",this.g.Yp,a);WB("cpm",this.g.yq,a);LB(a,this.l);O.g()||g.Vb(eC,this.g.ym)&&a.set("adsafe",this.g.ym);this.g.host&&(a.set("host",this.g.host),WB("ht_id",this.g.hostTierId,a),null!=this.g.o&&WB("h_ch",this.g.o.join("+"),a));WB("hl",this.g.language,a);WB("cust_age",this.g.Kr,a);WB("cust_gender",this.g.gender,a);-1!=this.g.tagForChildDirectedTreatment&&WB("tfcd",this.g.tagForChildDirectedTreatment,
a);null!=this.g.Do&&WB("pucrd",this.g.Do,a);WB("slotname",this.g.Vp,a);if(RB(this.g)&&(a.set("ea","0"),null!=this.l.cf&&null!=this.l.bf)){var b=SB(this.g,this.l.cf,this.l.bf,this.l.aj);a.set("image_size",b);g.D(b)&&(this.g.g=ZB(this.g.g,this.g.adType,!0),this.g.adType=this.g.g.join("_"))}a.set("ad_type",this.g.adType);b=Hn(Dn());g.D(g.E(b))||a.set("eid",b);NB(a);b=this.F;var c=this.g,d=this.g.zk;if(null!=d){var e=Ho(b);c=null!=c.Gp?c.Gp:xo(e,d);1!=c&&a.set("ad_block",c);null==b.L&&(b.L=new Eo);c=
b.L;var f=d!=b.N;(e=0==e.g%100||f)||(e=36E5<(null===c.g?0:(new g.Do).getTime()-c.g));e&&c.reset();b.N=d;b=c.l;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.g.Up;a.set("videoad_start_delay",null!=b?b:1);HB(this,a);IB(this,a);FB(this,a);Ria(this)&&a.set("video_format",null!=this.g.Nn&&O.g()?this.g.Nn:g.QI&&g.co(6)||g.UL&&g.co(4)||oo(2.3)?43:18);a.set("t_pyv",null!=this.g.Ho?this.g.Ho:this.H.BF);WB("min_ad_duration",this.g.ys,a);0<this.g.ao&&a.set("max_ad_duration",hC(this.g.ao,
gC(this)));0<this.g.bo&&a.set("sdmax",hC(this.g.bo,gC(this)));TB(a,this.I);O.g()&&(b=Mq(this.g.zk),null!=b&&a.set("video_doc_id","yt_"+b));WB("description_url",this.g.zk,a);O.g()&&(WB("lact",OB(this.l),a),WB("loeid",this.g.Lr,a),WB("lsv",this.g.isLiveStream,a),this.g.Xp||WB("scs","false",a),WB("targeting",this.g.targeting,a),WB("video_cpm",this.g.Mu,a),WB("yt_pt",this.g.Su,a),WB("ytdevice",this.g.Pu,a),WB("ytdevicever",this.g.Qu,a),WB("yt_vis",PB(this.l),a),WB("dbp",this.g.Ru,a),WB("avo",this.g.fq,
a),WB("v_p",this.g.Lu,a));null!=a.get("ms")||WB("ms",this.g.A,a);WB("vid_kw",this.l.A?this.l.A.join(","):null,a);WB("vid_d",this.l.B,a);WB("vid_t",this.l.contentTitle,a);GB(a);UB(this.l,a,!1);null!=this.l.Gh&&WB("loc",this.l.Gh.page_location,a);return a};g.A(iC,EB);iC.prototype.A=function(a){var b=new g.Lm(this.l.g);(0,g.B)(a.zb(),function(c){g.D(a.get(c))?b.g.remove(c):g.Um(b,c,a.get(c))});
g.Mm(b,"https");return b};
iC.prototype.B=function(){var a=new g.Fm;a.set("sdkv",JB(this));IB(this,a);FB(this,a);GB(a);null!=this.l.Se&&a.set("adk",this.l.Se);return a};g.A(jC,EB);jC.prototype.B=function(){return new g.Fm};
jC.prototype.A=function(){var a=new tr(this.l.g),b=JB(this);b&&vr(a,"dc_sdkv",[b]);(b=this.C().toString(16))&&vr(a,"dc_sdki",[b]);(b=this.o.I)&&vr(a,"dc_submodel",[b]);null!=this.l.Se&&vr(a,"dc_adk",[this.l.Se]);b=Hn(Dn());g.D(g.E(b))||vr(a,"dc_eid",[b]);b=O.X;null!=b&&vr(a,"dc_rfl",[Ei(b)]);b=new g.Fm;HB(this,b);IB(this,b);FB(this,b);GB(b);Hm(b,"js")&&vr(a,"dc_js",[b.get("js")]);Hm(b,"msid")&&vr(a,"dc_msid",[b.get("msid")]);Hm(b,"frm")&&vr(a,"dc_frm",[b.get("frm")]);Hm(b,"osd")&&vr(a,"dc_osd",[b.get("osd")]);
Hm(b,"sdr")&&vr(a,"dc_sdr",[b.get("sdr")]);vr(a,"dcmt",["text/xml"]);Hm(b,"vpa")&&vr(a,"vpa",[b.get("vpa")]);Hm(b,"mpt")&&vr(a,"mpt",[b.get("mpt")]);Hm(b,"mpv")&&vr(a,"mpv",[b.get("mpv")]);b=ur(a,"dc_output");null!=b&&(g.Qa(b,"vast")||g.Qa(b,"xml_vast2"))&&vr(a,"dc_output",["xml_vast3"]);g.Mm(a,"https");return a};g.A(kC,EB);kC.prototype.A=function(a){a=new g.Lm(a.get("adTagUrl"));g.Mm(a,"https");return a};
kC.prototype.D=function(){var a=g.E(this.B().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
kC.prototype.B=function(){var a=new g.Fm;a.set("adTagUrl",this.l.g);a.set("adsResponse",this.l.l);return a};g.A(lC,EB);lC.prototype.A=function(a){return new g.Lm(a.get("adTagUrl"))};
lC.prototype.B=function(){var a=new g.Fm;a.set("adTagUrl",this.l.g);a.set("adsResponse",this.l.l);return a};g.A(mC,EB);mC.prototype.A=function(a){var b=new g.Lm(this.l.g);(0,g.B)(a.zb(),function(c){g.D(a.get(c))?b.g.remove(c):g.Um(b,c,a.get(c))});
g.Mm(b,"https");return b};
mC.prototype.B=function(){var a=new g.Fm,b=Hn(Dn());g.D(g.E(b))||a.set("eid",b);a.set("sdkv",JB(this));a.set("sdki",this.C().toString(16));a.set("correlator",this.o.A);a.set("scor",this.o.g);null!=this.l.Se&&a.set("adk",this.l.Se);HB(this,a);IB(this,a);FB(this,a);GB(a);b=(new g.Lm(this.l.g)).g;var c=new KB;c.l=cC(c.l,b.get("overlay"));a.set("afvsz",SB(c,this.l.cf,this.l.bf,this.l.aj));b=this.o.o;null!=b&&(this.o.o=null,a.set("fbidx",b));b=this.o.R;null!=b&&a.set("ppid",b);b="null";c=this.o.l;null!=
c?b=c:Mn(this.l.location)?b=this.l.location:Mn(this.l.referrer)&&(b=this.l.referrer);a.set("url",b);b=this.o.I;null!=b&&a.set("submodel",b);b=this.o.F;null==b||O.g()||(b=Tia(b),a.set("ciu_szs",b));b=(new g.Lm(this.l.g)).g.get("output");null==b||"vast"!=b&&"xml_vast2"!=b||a.set("output","xml_vast3");a.set("impl","");a.set("unviewed_position_start","1");return a};g.A(nC,mC);nC.prototype.A=function(a){a=nC.aa.A.call(this,a);this.H||Via(this,a);return a};g.A(oC,jC);oC.prototype.A=function(a){a=oC.aa.A.call(this,a);this.H||Xia(this,a);return a};g.A(pC,EB);var Zia="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(" ");
pC.prototype.A=function(){var a=this.l.g.match(/\[(?:BISCOTTI_|AN)ID\]/g);if(!a)return qC(this);var b=g.Qa(a,"[BISCOTTI_ID]");a=g.Qa(a,"[ANID]");b=b?this.l.Jm():"";a=a?this.l.Bm():"";return b instanceof Error?Wn(J0,b):a instanceof Error?Wn(J0,a):Yf(b)||Yf(a)?(b=Yf(b)?b:dg(b),a=Yf(a)?a:dg(a),g.ig([b,a]).then(function(a){return qC(this,a[0],a[1])},function(a){throw Wn(J0,a);
},this)):qC(this,b,a)};
pC.prototype.B=function(){return new g.Fm};rC.prototype.fetch=function(a,b,c){null!=a.l&&(g.v(a.l)&&!g.D(a.l)||a.l instanceof window.Document)?bja(this,a,b,c):Br(a.g)&&null!=this.g&&!this.g.F?this.g.start(a,(0,g.z)(function(){tC(this,a,b,c)},this)):tC(this,a,b,c)};
rC.prototype.l=function(a,b,c,d){var e=aja(a,this.A).D();Yf(e)?e.then(function(e){vC(this,e,a,b,c,d)},function(a){a instanceof wn?c(a):c(Wn(uC,a))},this):e instanceof wn?c(e):e instanceof Error?c(Wn(uC,e)):vC(this,e,a,b,c,d)};wC.prototype.reset=function(a){this.g=a+(0,g.F)()};xC.prototype.start=function(a,b){this.B=a;this.D=b;jja(this);this.C.D?this.H():fn(this.l,this.C,"initialized",this.H,this)};
xC.prototype.H=function(){var a=this.C.Sh();var b=a.he&&"retrieved"==a.o?a.C:void 0;a=sia(a);null!=b&&(this.A.A=b);null!=a&&(this.A.F=a);ija(this)};g.h=g.zC.prototype;g.h.Ac=function(){return this.g.length+this.l.length};
g.h.isEmpty=function(){return g.Ra(this.g)&&g.Ra(this.l)};
g.h.clear=function(){this.g=[];this.l=[]};
g.h.contains=function(a){return g.Qa(this.g,a)||g.Qa(this.l,a)};
g.h.remove=function(a){var b=this.g;var c=mua(b,a);0<=c?(g.Ua(b,c),b=!0):b=!1;return b||g.Va(this.l,a)};
g.h.sb=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);var c=this.l.length;for(b=0;b<c;++b)a.push(this.l[b]);return a};g.A(GC,g.Gf);g.A(LC,qz);g.h=LC.prototype;g.h.wq=function(){var a=rz(this);g.R(a,"ima-container-rotator");this.D=g.J("DIV");this.g.appendChild(this.D);(0,g.B)(this.I,function(a,c){g.R(a,"ima-container-highlight");var b=63/this.I.length*(c+.5)-5,e=g.J("DIV",{id:Cb(),"class":"ima-container-selector"});e.style.top=b+"px";this.Kf.U(e,"click",function(a){this.Vj(a.target)});
this.N.set(e.id,a);this.C.appendChild(e)},this);
this.Vj(g.Od(this.C));this.play();return a};
g.h.play=function(){null==this.va&&(this.va=new g.ug(this.L),this.Kf.U(this.va,"tick",this.bU));LC.aa.play.call(this);this.va.start()};
g.h.stop=function(){null!=this.va&&this.va.stop();LC.aa.stop.call(this)};
g.h.bU=function(){var a=this.A;this.Vj((g.t(a.nextElementSibling)?a.nextElementSibling:Nd(a.nextSibling))||g.Od(this.A.parentNode))};
g.h.Vj=function(a){this.A&&g.Fq(this.A,"ima-container-active");g.R(a,"ima-container-active");var b=this.N.get(a.id),c=this.D,d=c.parentNode;d&&d.replaceChild(b,c);this.A=a;this.D=b;sz(b)};g.A(MC,qz);MC.prototype.hide=g.y;MC.prototype.wq=function(){var a=rz(this);(0,g.B)(this.A,function(a){g.R(a,"ima-container-highlight");this.g.appendChild(a);sz(a)},this);
this.play();return a};g.A(NC,tz);g.h=NC.prototype;g.h.By=function(a,b){if(this.C||null==b)b=g.y;if(O.g()&&this.C)var c=new qz(a[0],b);else 1<a.length?PC(this)||"fullscreen"==this.Vc&&O.g()?c=new MC(a):(c=new LC(a),c.L=15E3):c=new qz(a[0],b);c.yr=100;this.C&&(c.mz=30);c.nz=45E3;c.vC=6E3;g.S(c.g,"scalable",this.C);g.S(c.la(),"yt-text-overlay",O.g()&&this.C);return c};
g.h.hU=function(a){var b=a.g;null!=b?(null==this.H&&(this.H=a.getExtension("AdSense").l),vq(b,g.Ea(this.qr,a,b)),uq(b,g.Ea(this.vI,a,b)),"Text"==b.ld()&&(this.C=!0),this.A.push(b)):(b=Wn(KC),b=Vq(b,a),Tn(Ns(a),b))};
g.h.Pc=function(a,b,c){NC.aa.Pc.call(this,a,b,c);this.La.mw=!0;a=this.ka();g.Ra(Ps(a))?O.g()&&this.ga("companionBackfill"):this.Bd(a)};
g.h.tw=function(){null==this.A&&(this.A=[],(0,g.B)(this.ads,this.hU,this));if(0==this.A.length)throw Xn(KC);var a=[];(0,g.B)(this.A,function(b){wq(b,this.Sa());"Flash"!=b.ld()||b.Lb().getExtension("TemplateAd")||(b.xw=!0);a.push(b.zc());$ea(b,this.H.D)},this);
if(0==a.length)throw Xn(KC);pja(this);vz(this,this.ka());return this.Em(a)};
g.h.start=function(){NC.aa.start.call(this);!this.F&&PC(this)&&(this.F=!0,this.ga("contentPauseRequested"));null!=this.l&&this.l.start();if(this.B){var a=QC(this);Mo(Jo.getInstance(),33,a)}};
g.h.Gn=function(a){NC.aa.Gn.call(this,a);(0,g.B)(this.A,function(a){var b=Wq(a.Lb(),this.Da);this.Xb.g=b;this.eg(a,["close"]);this.xa("close")},this)};
g.h.kn=function(a){NC.aa.kn.call(this,a);PC(this)&&(null!=this.o&&g.Id(this.o),O.l?jp().Yj(null):Ro().Yj(null),this.F&&(this.F=!1,this.ga("contentResumeRequested")))};
g.h.Em=function(a){a=NC.aa.Em.call(this,a);if(PC(this)){var b=jx(2);g.R(this.g.g,b);g.R(a,b)}return a};
g.h.bq=function(a){if(PC(this)){var b=g.Pd(a);b&&((a=g.Md(a)[0])&&g.sh(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").l||new yv,this.l=new Ux(b,a,2,OC(this),!0),this.Sa().U(this.l,"skip",this.XI),this.Sa().U(this.l,"end",this.yJ))}else NC.aa.bq.call(this,a),En().g("enable_overlays_wta")||(b=Jq(Uha,OC(this)),a.appendChild(b))};
g.h.qr=function(a,b){this.B?this.Ml(a,b):this.D.push((0,g.z)(this.Ml,this,a,b));vq(b,g.y);this.ga("impression")};
g.h.Ml=function(a,b){var c=Wq(a,this.Da);this.Xb.g=c;this.zg(a);this.eg(b,["creativeview"]);this.xa("impression");this.xa("creativeview");Zu(this,"start")};
g.h.vI=function(a,b,c){a=a.getExtension("AdSense");a=new g.Lm(a.A);var d=b.Ab();(0,window.isNaN)(d)&&(d=g.Lh(b.zc()).width);var e=b.getHeight();(0,window.isNaN)(e)&&(e=g.Lh(b.zc()).height);var f=g.Hh(c),k=c instanceof jf;b=k&&g.t(c.offsetX)?c.offsetX:f.x;c=k&&g.t(c.offsetY)?c.offsetY:f.y;f=Dn();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.Vc,"sdkv=h.0.0.0","eids="+Hn(f)];O.g()||(d=g.Lh(this.Ea.Hf()),e=this.l?pha(this.l):new g.gd(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,
"sy="+e.y]));Qn(a,"elementclick",c);(0,g.B)(this.A,function(a){var b=Wq(a.Lb(),this.Da);this.Xb.g=b;uz(this,a);this.xa("click")},this);
this.ga("click")};
g.h.xc=function(a){this.Vc!=a&&(NC.aa.xc.call(this,a),this.ga("expandedChanged"))};
g.h.Pm=function(){NC.aa.Pm.call(this,this.l?15:0,this.l?65:0)};
g.h.XI=function(){RC(this,"skip")};
g.h.yJ=function(){RC(this,"close")};g.A(SC,g.K);SC.prototype.l=function(a){if(0==a.yc||En().g("disable_freqcap_for_hummingbird")&&(g.Ra(a.D)?0:a.D[0].bn)||0>=this.o||0>=this.g)return!1;var b=(0,g.F)()/1E3;a=a.yc-this.A.currentTime;0<a&&(b+=a);return b-this.g<=this.o};g.A(TC,SC);TC.prototype.l=function(a){return 5==a.Ye()?!1:TC.aa.l.call(this,a)};g.A(JC,Uu);g.h=JC.prototype;
g.h.Pc=function(a,b,c){null!=this.Rb&&(this.Rb.Sc(),this.Rb.dispose(),this.Rb=null);JC.aa.Pc.call(this,a,b,c);a=this.zf.g.zb();b=new jA(b);var d=4;c&&0<=c.Wt&&(d=c.Wt);var e=new $z,f=En(),k=f.l("sdk_ad_prefetch_time_seconds");0<=k&&(d=k);e.C=d;e.B=f.g("enable_prefetch_for_postrolls");e.g=f.g("enable_midroll_notify");e.o=f.g("enable_postroll_notify");e.l=f.l("midroll_notify_time_seconds");e.A=f.l("postroll_notify_time_seconds");this.Xt=null!=c?c.iC:0;rja(this,a);this.Rb=new aA(b,this.yb.sb(),e);a=
this.zf.g.zb();sja(this,a);tja(this);c=g.Ma(this.yb.sb(),function(a){return 0==a.yc});
null!=c&&this.dg()&&ZC(this,c);try{c={cfg:!0},c.ads=this.Qe,Mo(Jo.getInstance(),44,c)}catch(l){}};
g.h.init=function(a){JC.aa.init.call(this,a);this.fp()};
g.h.Mj=function(){var a=new Qz(this.Be());this.dispatchEvent(new ix(null,a))};
g.h.destroy=function(){this.dispose()};
g.h.V=function(){this.Za.g=!0;if(0<this.yb.Ac()){var a=this.yb.sb();(0,g.B)(a,this.Wi,this);this.yb.clear()}XC(this);$C(this);null!=this.Ea&&(this.Ea.hide(),this.Ea=null);JC.aa.V.call(this)};
g.h.start=function(){JC.aa.start.call(this)};
g.h.stop=function(){null!=this.ob&&(this.Wi(this.ob),this.Zf())};
g.h.xb=function(a,b,c){JC.aa.xb.call(this,a,b,c);this.ce=a;this.be=b;this.Vc=c;null!=this.ob&&yz(this.ob,this.ce,this.be,this.Vc)};
g.h.pause=function(){null!=this.ob&&this.ob.pause()};
g.h.resume=function(){null!=this.ob&&this.ob.resume()};
g.h.skip=function(){null!=this.ob&&this.ob.skip()};
g.h.qf=function(){null!=this.ob&&this.ob.qf()};
g.h.setVolume=function(a){JC.aa.setVolume.call(this,a);null!=this.ob&&this.ob.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.ob?this.ob.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.ob?this.ob.getDuration():-1};
g.h.Ic=function(){return null!=this.ob?this.ob.Ic():-1};
g.h.Be=function(){var a=g.Ya(this.zf.g.zb());(0,g.B)(this.yb.sb(),g.Ea(function(a,c){5==c.Ye()&&g.Va(a,c.yc)},a));
return a};
g.h.tb=function(){return null!=this.ob?this.ob.tb():null};
g.h.To=function(){};
g.h.Re=function(a){JC.aa.Re.call(this,a);null!=this.yb&&(0,g.B)(this.yb.sb(),function(b){b.Re(a)})};
g.h.fp=function(){this.Rb.Eb();this.Rb.wy(null);var a=g.ua(0)&&!(0,window.isNaN)(0)?this.zf.g.get(0,[]):[];g.Ra(a)&&this.ga("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":WC(this,this.yb.get(a.g));break;default:g.BC(this.Bk,a),YC(this)}};
g.h.ti=function(){this.ga("userClose")};
g.h.Qt=function(){this.ga("why_this_ad_url")};
g.h.Pt=function(){this.ga("why_this_ad_got_it")};
g.h.si=function(){this.ga("autoClose")};
g.h.Wi=function(a){a.destroy();this.yb.remove(g.Da(a));this.ob=null;null!=this.Zb&&(this.Zb.Aa(a,ez,this.dispatchEvent,!1,this),this.Zb.Aa(a,"adError",this.Fx,!1,this),this.Zb.Aa(a,"allAdsCompleted",this.XA,!1,this),this.Zb.Aa(a,"contentPauseRequested",this.ph,!1,this),this.Zb.Aa(a,"contentResumeRequested",this.Zf,!1,this),this.Zb.Aa(a,"adBreakInitialized",this.YA,!1,this))};
g.h.JP=function(a){this.Wm=!0;-1==this.ii?a.l=!1:O.g()&&!UC(this)||VC(this);eia(this.Rb)};
g.h.Cl=function(a){if(null!=a.l&&this.yb.get(a.g).tb().Tb()){var b={};b.adBreakTime=a.l;this.dispatchEvent(new qn("adNotify",null,b))}};
g.h.El=function(){this.dispatchEvent(new qn("discardAdNotify",null))};
g.h.IO=function(a){var b=a.l,c=0==b,d=-1==b;this.Ak?(c?this.ga("contentResumeRequested"):!d||O.g()&&!UC(this)||VC(this),this.Ak=!1):(d?g.vg(function(){var b=this.yb.get(a.g);b&&this.Wi(b);O.g()&&!UC(this)||VC(this)},500,this):c&&g.vg(function(){this.ga("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new qn("adBreakReady",null,c)))};
g.h.Fx=function(a){var b=a.getError(),c=b.Ub();try{var d={};d.ec=c;Mo(Jo.getInstance(),44,d)}catch(e){}if(O.g()&&b&&"adLoadError"==b.Sb()&&(this.dispatchEvent(a),null!=this.Rb))for(b=this.Rb,a=a.target.yc,c=0;c<b.g.length;c++)b.g[c].g==a&&(b.g[c].A=!0)};
g.h.XA=function(a){this.Wi(a.target);(UC(this)||!O.g()&&this.Wm)&&VC(this);this.Pd=null;YC(this)};
g.h.ph=function(){var a=this.Rb;a.l.stop();a.o=!1;this.ga("contentPauseRequested")};
g.h.Zf=function(){this.ga("contentResumeRequested");this.Wp||dA(this.Rb);this.Pd=null};
g.h.YA=function(a){this.Pd=null;var b=a.target;a={};a.adBreakTime=b.yc;this.dispatchEvent(new qn("prefetched",b.tb(),a));if(null!=this.Rb){a=this.Rb;b=b.yc;for(var c=0;c<a.g.length;c++)a.g[c].g==b&&(a.g[c].he=!0)}YC(this)};
g.h.ga=function(a){var b=null;null!=this.ob&&(b=this.ob.tb());this.dispatchEvent(new qn(a,b))};
g.h.dj=function(a){return g.Ma(this.yb.sb(),g.Ea(function(a,c){return c.yc==a},a))};
g.h.XC=function(a,b){O.g()?this.jd=new TC(a,b):this.jd=new SC(a,b);return this.jd};
g.h.Ae=function(){return O.g()&&null!=aD(this)&&null!=aD(this).g?aD(this).g.Ae():null};
g.h.ag=function(a){null!=aD(this)&&aD(this).ag(a)};
g.h.dg=function(){return null===this.Ea?!1:this.La.Vk&&vo(this.Ea)};g.A(cD,g.Gf);cD.prototype.V=function(){null!=this.g&&(this.g.Aa("adsManagerLoaded",this.dispatchEvent),this.g.Aa("adError",this.dispatchEvent),this.g.Aa("adLoadError",this.dispatchEvent),this.g=null);cD.aa.V.call(this)};eD.prototype.clone=function(){return new eD(this.g,this.D,this.o,this.B,this.A,this.C,this.l,this.F)};gD.prototype.l=0;gD.prototype.reset=function(){this.g=this.o=this.A;this.l=0};
gD.prototype.getValue=function(){return this.o};g.A(g.iD,g.K);g.h=g.iD.prototype;g.h.subscribe=function(a,b,c){var d=this.l[a];d||(d=this.l[a]=[]);var e=this.oc;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.oc=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.l[a]){var d=this.g;if(a=g.Ma(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.Jd(a)}return!1};
g.h.Jd=function(a){var b=this.g[a];if(b){var c=this.l[b];0!=this.A?(this.o.push(a),this.g[a+1]=g.y):(c&&g.Va(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
g.h.T=function(a,b){var c=this.l[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.B)for(e=0;e<c.length;e++){var k=c[e];yja(this.g[k+1],this.g[k+2],d)}else{this.A++;try{for(e=0,f=c.length;e<f;e++)k=c[e],this.g[k+1].apply(this.g[k+2],d)}finally{if(this.A--,0<this.o.length&&0==this.A)for(;c=this.o.pop();)this.Jd(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.l[a];b&&((0,g.B)(b,this.Jd,this),delete this.l[a])}else this.g.length=0,this.l={}};
g.h.Ac=function(a){if(a){var b=this.l[a];return b?b.length:0}a=0;for(b in this.l)a+=this.Ac(b);return a};
g.h.V=function(){g.iD.aa.V.call(this);this.clear();this.o.length=0};g.jD.prototype.set=function(a,b){g.t(b)?this.g.set(a,g.Bg(b)):this.g.remove(a)};
g.jD.prototype.get=function(a){try{var b=this.g.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.jD.prototype.remove=function(a){this.g.remove(a)};g.A(kD,g.jD);kD.prototype.set=function(a,b){kD.aa.set.call(this,a,mD(b))};
kD.prototype.l=function(a){a=kD.aa.get.call(this,a);if(!g.t(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
kD.prototype.get=function(a){if(a=this.l(a)){if(a=a.data,!g.t(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.A(nD,kD);nD.prototype.set=function(a,b,c){if(b=mD(b)){if(c){if(c<(0,g.F)()){nD.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.F)()}nD.aa.set.call(this,a,b)};
nD.prototype.l=function(a,b){var c=nD.aa.l.call(this,a);if(c)if(!b&&g.oD(c))nD.prototype.remove.call(this,a);else return c};g.A(g.pD,nD);g.A(qD,zja);qD.prototype.Ac=function(){var a=0;g.Dk(this.Nd(!0),function(){a++});
return a};
qD.prototype.clear=function(){var a=Dca(this.Nd(!0)),b=this;(0,g.B)(a,function(a){b.remove(a)})};g.A(rD,qD);g.h=rD.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.v(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeItem(a)};
g.h.Ac=function(){return this.g.length};
g.h.Nd=function(a){var b=0,c=this.g,d=new Ak;d.next=function(){if(b>=c.length)throw Bk;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!g.v(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.A(sD,rD);g.A(tD,rD);g.A(vD,qD);var Aja={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},uD=null;g.h=vD.prototype;g.h.isAvailable=function(){return!!this.g};
g.h.set=function(a,b){this.g.setAttribute(wD(a),b);xD(this)};
g.h.get=function(a){a=this.g.getAttribute(wD(a));if(!g.v(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeAttribute(wD(a));xD(this)};
g.h.Ac=function(){return yD(this).attributes.length};
g.h.Nd=function(a){var b=0,c=yD(this).attributes,d=new Ak;d.next=function(){if(b>=c.length)throw Bk;var d=c[b++];if(a)return(0,window.decodeURIComponent)(d.nodeName.replace(/\./g,"%")).substr(1);d=d.nodeValue;if(!g.v(d))throw"Storage mechanism: Invalid value was encountered";return d};
return d};
g.h.clear=function(){for(var a=yD(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);xD(this)};g.A(zD,qD);zD.prototype.set=function(a,b){this.l.set(this.g+a,b)};
zD.prototype.get=function(a){return this.l.get(this.g+a)};
zD.prototype.remove=function(a){this.l.remove(this.g+a)};
zD.prototype.Nd=function(a){var b=this.l.Nd(!0),c=this,d=new Ak;d.next=function(){for(var d=b.next();d.substr(0,c.g.length)!=c.g;)d=b.next();return a?d.substr(c.g.length):c.l.get(d)};
return d};BD.prototype.getValue=function(){return this.g};
BD.prototype.clone=function(){return new BD(this.oc,this.g)};g.h=CD.prototype;g.h.remove=function(){var a=this.g,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Sa(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].oc<b[f].oc?k:f;if(b[f].oc>e.oc)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.zb=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].oc);return b};
g.h.clone=function(){return new CD(this)};
g.h.Ac=function(){return this.g.length};
g.h.isEmpty=function(){return g.Ra(this.g)};
g.h.clear=function(){Sa(this.g)};g.A(ED,CD);var Cja=/^\.google\.(com?\.)?[a-z]{2,3}$/,Dja=/\.(cn|com\.bi|do|sl|ba|by|ma)$/,HD=g.w,GD,ID,LD={Rq:function(){return 0<ID[8]},
NT:function(){ID[8]++},
OT:function(){0<ID[8]&&ID[8]--},
PT:function(){ID[8]=0},
shouldRetry:function(){return!1},
Jx:function(){return ID[5]},
ww:function(a){try{a()}catch(b){g.w.setTimeout(function(){throw b;},0)}},
au:function(){if(!LD.Rq()){var a=g.w.document,b=function(b){b=Eja(b);a:{try{var c=vba();break a}catch(l){}c=void 0}var d=c;Bja(a,b,d);c=a.createElement("script");c.type="text/javascript";d&&(c.nonce=d);c.onerror=function(){return g.w.processGoogleToken({},2)};
b=g.de(b);g.ad(c,b);try{(a.head||a.body||a.documentElement).appendChild(c),LD.NT()}catch(l){}},c=ID[1];
b(c);".google.com"!=c&&b(".google.com");b={};var d=(b.newToken="FBT",b);g.w.setTimeout(function(){return g.w.processGoogleToken(d,1)},1E3)}}};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
ND.prototype.cancel=function(a){if(this.g)this.o instanceof ND&&this.o.cancel();else{if(this.l){var b=this.l;delete this.l;a?b.cancel(a):(b.F--,0>=b.F&&b.cancel())}this.L?this.L.call(this.K,this):this.H=!0;this.g||(a=new XD(this),RD(this),PD(this,!1,a))}};
ND.prototype.I=function(a,b){this.D=!1;PD(this,a,b)};
ND.prototype.tk=function(a){RD(this);PD(this,!0,a)};
ND.prototype.then=function(a,b,c){var d,e,f=new g.$f(function(a,b){d=a;e=b});
SD(this,d,function(a){a instanceof XD?f.cancel():e(a)});
return f.then(a,b,c)};
Xf(ND);ND.prototype.isError=function(a){return a instanceof Error};
g.A(QD,Ia);QD.prototype.message="Deferred has already fired";QD.prototype.name="AlreadyCalledError";g.A(XD,Ia);XD.prototype.message="Deferred was canceled";XD.prototype.name="CanceledError";WD.prototype.l=function(){delete VD[this.Ba];throw this.g;};
var VD={};g.A(YD,Ae);var Gja=[2,13,14];g.A(ZD,Ae);YD.prototype.Sb=function(){var a=Fe(this,11);return null==a?0:a};var lqa={gW:0,eW:1,cW:2,fW:4,hW:14,dW:15,iW:17},mqa={mW:0,kW:1,jW:2,lW:3,nW:14},nqa={pZ:0,qZ:1,sZ:2,rZ:3,oZ:4};g.AG=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.aE=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.va("yt.config_",g.aE,void 0);(0,g.F)();var gE=g.t(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.t(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var DE={"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"},IE=!1;var SI=EM||DM;var aF={},Qja=0;g.p(bF,Ia);eF.prototype.then=function(a,b,c){return this.o?this.o.then(a,b,c):1===this.l&&a?(a=a.call(c,this.g),Yf(a)?a:gF(a)):2===this.l&&b?(a=b.call(c,this.g),Yf(a)?a:fF(a)):this};
eF.prototype.getValue=function(){return this.g};
Xf(eF);g.p(iF,Ia);iF.prototype.name="BiscottiError";g.p(hF,Ia);hF.prototype.name="BiscottiMissingError";var kF={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},jF=null;g.p(qF,Ia);qF.prototype.name="YuzuError";var vF={};var jva,wF;jva=0;wF=g.Ad?"webkit":g.uh?"moz":g.yd?"ms":g.gf?"o":"";g.kva=g.x("ytDomDomGetNextId")||function(){return++jva};
g.va("ytDomDomGetNextId",g.kva,void 0);var Uja={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};DF.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
DF.prototype.Sy=function(){return this.event?!1===this.event.returnValue:!1};
DF.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
DF.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var HF=g.x("ytEventsEventsListeners")||{};g.va("ytEventsEventsListeners",HF,void 0);var IF=g.x("ytEventsEventsCounter")||{count:0};g.va("ytEventsEventsCounter",IF,void 0);var lva=g.Lf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a}),JF=g.Lf(function(){var a=!1;
try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.p(g.VF,g.K);g.VF.prototype.U=function(a,b,c,d){c=(0,g.z)(c,d||this.l);a=g.KF(a,b,c);this.g.push(a);return a};
g.VF.prototype.hh=function(a,b,c,d){c=(0,g.z)(c,d||this.l);a=UF(a,b,c);this.g.push(a);return a};
g.VF.prototype.Aa=function(a){g.LF(a);g.Va(this.g,a)};
g.VF.prototype.V=function(){g.WF(this);g.K.prototype.V.call(this)};g.A(XF,g.K);XF.prototype.I=function(a){this.g=new g.gd(FF(a),GF(a))};
XF.prototype.C=function(){if(this.g){var a=g.AG();if(0!=this.A){var b=this.B,c=this.g,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.A);this.l[this.Bb]=.5<Math.abs((d-this.o)/this.o)?1:0;for(c=b=0;4>c;c++)b+=this.l[c]||0;3<=b&&this.F();this.o=d}this.A=a;this.B=this.g;this.Bb=(this.Bb+1)%4}};
XF.prototype.V=function(){window.clearInterval(this.H);g.LF(this.D)};g.p(g.YF,g.K);g.YF.prototype.O=function(a,b,c,d,e){c=eE((0,g.z)(c,d||this.Pb));c={target:a,name:b,tk:c};var f;e&&lva()&&(f={passive:!0});a.addEventListener(b,c.tk,f);this.K.push(c);return c};
g.YF.prototype.Aa=function(a){for(var b=0;b<this.K.length;b++)if(this.K[b]==a){this.K.splice(b,1);a.target.removeEventListener(a.name,a.tk);break}};
g.YF.prototype.V=function(){g.$F(this);g.K.prototype.V.call(this)};g.A(g.aG,g.K);g.aG.prototype.subscribe=function(a,b,c){return this.ha()?0:this.ca.subscribe(a,b,c)};
g.aG.prototype.unsubscribe=function(a,b,c){return this.ha()?!1:this.ca.unsubscribe(a,b,c)};
g.aG.prototype.Jd=function(a){return this.ha()?!1:this.ca.Jd(a)};
g.aG.prototype.T=function(a,b){return this.ha()?!1:this.ca.T.apply(this.ca,arguments)};g.p(g.cG,g.aG);g.h=g.cG.prototype;g.h.cancel=function(){this.A&&(this.A=!1,this.T("dragend",0,0,null));this.l&&(this.l=!1,this.T("hoverend",0,0,null),g.$F(this.g),bG(this))};
g.h.Az=function(a){g.$F(this.g);dG(this,eG("move"),this.yz);dG(this,eG("out"),this.zz);dG(this,"touchstart",this.Ds);this.o&&dG(this,eG("down"),this.Cs);var b=g.MF(a);a=PF(a);this.l=!0;this.T("hoverstart",a.x,a.y,b);this.T("hovermove",a.x,a.y,b)};
g.h.yz=function(a){var b=g.MF(a);a=PF(a);if(this.B){var c=this.B;this.B=null;if(OF(c)==b&&id(PF(c),a))return}this.T("hovermove",a.x,a.y,b)};
g.h.zz=function(a){var b=PF(a),c=OF(a);c&&g.Qd(this.C,c)?(this.B=a,this.T("hovermove",b.x,b.y,c)):(g.$F(this.g),bG(this),this.l=!1,this.T("hoverend",b.x,b.y,c))};
g.h.yO=function(a){this.Az(a);this.Cs(a)};
g.h.Cs=function(a){if(!g.ua(a.button)||0==a.button){g.$F(this.g);this.g.O(window.document,eG("move"),this.xO);this.g.O(window.document,eG("up"),this.LK);var b=g.MF(a);if(g.Ad)dG(this,"dragstart",this.QH);else if(g.QF(a),(g.GH||g.uh)&&b)a:{for(var c=b;c;){if(g.Yd(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.A=!0;a=PF(a);this.T("dragstart",a.x,a.y,b);this.T("dragmove",a.x,a.y,b)}};
g.h.QH=function(a){g.QF(a)};
g.h.xO=function(a){var b=g.MF(a);b==window.document&&(b=null);a=PF(a);this.T("hovermove",a.x,a.y,b);this.T("dragmove",a.x,a.y,b)};
g.h.LK=function(a){g.$F(this.g);this.A=!1;var b=NF(a),c=g.MF(a);a=PF(a);b&&g.Qd(this.C,b)?(dG(this,eG("move"),this.yz),dG(this,eG("out"),this.zz),dG(this,eG("down"),this.Cs),dG(this,"touchstart",this.Ds),this.T("dragend",a.x,a.y,c)):(bG(this),this.l=!1,this.T("dragend",a.x,a.y,c),this.T("hoverend",a.x,a.y,c))};
g.h.Ds=function(a){var b=a.changedTouches[0];b&&(g.$F(this.g),dG(this,"touchmove",this.MK),dG(this,"touchend",this.Bz),dG(this,"touchcancel",this.Bz),this.D=b.identifier,a=g.MF(a),this.l||(this.l=!0,this.T("hoverstart",b.pageX,b.pageY,a)),this.T("hovermove",b.pageX,b.pageY,a),this.o&&(this.A=!0,this.T("dragstart",b.pageX,b.pageY,a),this.T("dragmove",b.pageX,b.pageY,a)))};
g.h.MK=function(a){var b=fG(this,a);b&&(this.o&&g.QF(a),a=g.MF(a),this.T("hovermove",b.pageX,b.pageY,a),this.o&&this.T("dragmove",b.pageX,b.pageY,a))};
g.h.Bz=function(a){var b=fG(this,a);if(b){g.$F(this.g);bG(this);this.l=!1;var c=g.MF(a);this.o&&(this.F||g.QF(a),this.A=!1,this.T("dragend",b.pageX,b.pageY,c));this.T("hoverend",b.pageX,b.pageY,c)}};
g.h.V=function(){this.o&&(g.Ad&&this.C.removeAttribute("draggable"),this.C.style.touchAction="");g.$F(this.g);g.aG.prototype.V.call(this)};var Xja={enablejsapi:1},Yja={};hG.prototype.clone=function(){var a=new hG,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==xa(c)?a[b]=g.cc(c):a[b]=c}return a};var ZG={},YG=0;var mva=g.x("ytPubsubPubsubInstance")||new g.iD;g.iD.prototype.subscribe=g.iD.prototype.subscribe;g.iD.prototype.unsubscribeByKey=g.iD.prototype.Jd;g.iD.prototype.publish=g.iD.prototype.T;g.iD.prototype.clear=g.iD.prototype.clear;g.va("ytPubsubPubsubInstance",mva,void 0);g.jG=g.x("ytPubsubPubsubSubscribedKeys")||{};g.va("ytPubsubPubsubSubscribedKeys",g.jG,void 0);g.lG=g.x("ytPubsubPubsubTopicToKeys")||{};g.va("ytPubsubPubsubTopicToKeys",g.lG,void 0);var kG=g.x("ytPubsubPubsubIsSynchronous")||{};
g.va("ytPubsubPubsubIsSynchronous",kG,void 0);var aka=Math.pow(2,16)-1,$ja={log_event:"events",log_interaction:"interactions"},nva=Object.create(null);nva.log_event="GENERIC_EVENT_LOGGING";nva.log_interaction="INTERACTION_LOGGING";var tG={},xG=0,yG=g.x("ytLoggingTransportLogPayloadsQueue_")||{};g.va("ytLoggingTransportLogPayloadsQueue_",yG,void 0);var rG=g.x("ytLoggingTransportTokensToCttTargetIds_")||{};g.va("ytLoggingTransportTokensToCttTargetIds_",rG,void 0);var zG=g.x("ytLoggingTransportDispatchedStats_")||{};
g.va("ytLoggingTransportDispatchedStats_",zG,void 0);g.va("ytytLoggingTransportCapturedTime_",g.x("ytLoggingTransportCapturedTime_")||{},void 0);g.p(FG,bka);FG.prototype.start=function(){var a=g.x("yt.scheduler.instance.start");a&&a()};
FG.prototype.pause=function(){var a=g.x("yt.scheduler.instance.pause");a&&a()};
g.wa(FG);FG.getInstance();var MG={};TG.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.g)try{this.g.set(a,b,(0,g.F)()+1E3*c);return}catch(f){}var e="";if(d)try{e=(0,window.escape)(g.Bg(b))}catch(f){return}else e=(0,window.escape)(b);g.RG(a,e,c,this.l)};
TG.prototype.get=function(a,b){var c=void 0,d=!this.g;if(!d)try{c=this.g.get(a)}catch(e){d=!0}if(d&&(c=QG.get(""+a,void 0))&&(c=(0,window.unescape)(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
TG.prototype.remove=function(a){this.g&&this.g.remove(a);g.SG(a,"/",this.l)};new TG;var WG=g.x("ytLoggingLatencyUsageStats_")||{};g.va("ytLoggingLatencyUsageStats_",WG,void 0);var XG=0;var $G=(0,g.F)().toString();bH();var fH;g.eH=g.Lf(function(){var a=new sD;return a.isAvailable()?new g.pD(a):null});
fH=g.Lf(function(){var a=new tD;return a.isAvailable()?new g.pD(a):null});var kH=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.va("yt.msgs_",kH,void 0);Ha=function(a,b){b=void 0===b?{}:b;var c=a in kH?kH[a]:a,d;for(d in b){var e=(""+b[d]).replace(/\$/g,"$$$$");c=c.replace(new RegExp("\\{\\$"+d+"\\}","gi"),e);c=c.replace(new RegExp("\\$"+d,"gi"),e)}return c};var G_=16/9,ova=[.25,.5,.75,1,1.25,1.5,2];var j1={},pva=(j1["api.invalidparam"]=2,j1.auth=150,j1["drm.auth"]=150,j1["heartbeat.net"]=150,j1["heartbeat.servererror"]=150,j1["heartbeat.stop"]=150,j1["html5.unsupportedads"]=5,j1["fmt.noneavailable"]=5,j1["fmt.decode"]=5,j1["fmt.unplayable"]=5,j1["html5.missingapi"]=5,j1["html5.unsupportedlive"]=5,j1["drm.unavailable"]=5,j1);var zka={IW:"auto",N1:"tiny",HZ:"light",h1:"small",dG:"medium",DZ:"large",WY:"hd720",SY:"hd1080",TY:"hd1440",UY:"hd2160",VY:"hd2880",cZ:"highres",UNKNOWN:"unknown"};var hka=/^https?:\/\/([^.]*\.moatads\.com\/|e[0-9]+\.yt\.srs\.doubleverify\.com|pagead2\.googlesyndication\.com\/pagead\/gen_204\?id=yt3p&sr=1&|pm\.adsafeprotected\.com\/youtube|pm\.test-adsafeprotected\.com\/youtube|youtube[0-9]+\.moatpixel\.com\/)/,fka=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(education|-nocookie)?\.com\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.com(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.c\.googlers\.com(:[0-9]+)?\/|(docs|drive)\.google\.com\/(a\/[^/\\%]+\/|)|[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/,
ika=/^https?:\/\/(www\.google\.com\/pagead\/sul|www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/psul|www\.youtube\.com\/pagead\/slav|www\.youtube\.com\/pagead\/sul)/,mka=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubeeducation\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,boa=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
Bla=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|video\.google\.com|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com)(:[0-9]+)?\/\/*embed(\/+|\?|#|$|%)/,kka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/,
gka=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,lka=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion)))/,jka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(ba\.l\.google\.com|c\.googlesyndication\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|c\.lh3\.googleusercontent\.com|plus\.google\.com|mail\.google\.com|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))/,
Dla=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com|ytimg\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/,
Cla=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|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|meet\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/,
qva=/^(https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com)$|^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^http:\/\/[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?$|^https:\/\/((staging|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/(books|play-books-internal-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|www\.daily\.alpha)\.blogger\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|docs\.google\.com$|imasdk\.googleapis\.com$|lightbox-(demos|builder)\.appspot\.com$|s[01](qa)?\.2mdn\.net$|survey\.g\.doubleclick\.net$|www\.gstatic\.com$)/;var nka=1;g.p(g.FH,g.K);g.FH.prototype.pa=function(a,b){g.ua(b)?Jd(a,this.element,b):a.appendChild(this.element)};
g.FH.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
g.FH.prototype.updateValue=function(a,b){var c=this.Na["{{"+a+"}}"];c&&IH(this,c[0],c[1],b)};
g.FH.prototype.V=function(){this.g={};this.Na={};g.JH(this);g.K.prototype.V.call(this)};g.p(g.U,g.FH);g.h=g.U.prototype;g.h.Ib=function(a,b){this.updateValue(b||"content",a)};
g.h.show=function(){this.l||(this.element.style.display=this.Ld,this.l=!0)};
g.h.hide=function(){this.l&&(this.element.style.display="none",this.l=!1)};
g.h.U=function(a,b,c){return this.O(this.element,a,b,c)};
g.h.O=function(a,b,c,d){c=(0,g.z)(c,d||this);d={target:a,type:b,listener:c};this.Y.push(d);a.addEventListener(b,c);return d};
g.h.Aa=function(a){for(var b=0;b<this.Y.length;b++)if(this.Y[b]==a){a=this.Y.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){g.Yd(this.element);this.element.focus()};
g.h.V=function(){for(;this.Y.length;){var a=this.Y.pop();a.target.removeEventListener(a.type,a.listener)}g.FH.prototype.V.call(this)};g.p(g.LH,g.U);g.LH.prototype.subscribe=function(a,b,c){return this.X.subscribe(a,b,c)};
g.LH.prototype.unsubscribe=function(a,b,c){return this.X.unsubscribe(a,b,c)};
g.LH.prototype.Jd=function(a){return this.X.Jd(a)};
g.LH.prototype.T=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.X.T.apply(this.X,[a].concat(g.pa(c)))};g.p(g.NH,g.LH);g.NH.prototype.updateValue=function(a,b){g.LH.prototype.updateValue.call(this,a,b);this.T("size-change")};g.p(RH,g.K);g.h=RH.prototype;
g.h.XL=function(a,b,c){var d=this.H[a];if(!(d||!(d=this.I[a])||c&&qva.test(c))){var e=Error('API call from an untrusted origin: "'+c+'"');if(this.app.g.experiments.g("player_untrusted_origin_killswitch"))fE(e);else throw e;}e=this.app.g;e.Ch&&!this.K.has(a)&&(this.K.add(a),c={callerUrl:e.loaderUrl,methodName:a,origin:c||void 0,playerStyle:e.playerStyle||void 0},this.app.g.experiments.g("web_player_gel_logging_killswitch")||(this.app.g.experiments.g("web_player_gel_direct")?g.PG("webPlayerApiCalled",
c,void 0,void 0):this.ra("onLogToGel",{payload_name:"webPlayerApiCalled",payload:c})));if(d)return d.apply(this,b);throw Error('Unknown API method: "'+a+'".');};
g.h.QL=function(){return this.D.slice()};
g.h.RL=function(){return g.Rb(this.A)};
g.h.la=function(){return this.o};
g.h.addEventListener=function(a,b){if(g.v(b)){var c=function(){g.x(b).apply(window,arguments)};
this.C[b]=c}else c=b;this.app.Z.subscribe(a,c)};
g.h.YH=function(a,b){var c=this,d=g.v(b)?a+b:a+g.Da(b);if(!this.B[d]){var e;g.v(b)?e=function(){g.x(b).apply(window,arguments)}:e=b;
var f=function(a){e({target:c.l,data:a})};
this.B[d]=f;this.app.Z.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.v(b)){var c=this.C[b];$b(this.C,b);b=c}this.app.Z.unsubscribe(a,b)};
g.h.ZH=function(a,b){var c=g.v(b)?a+b:a+g.Da(b),d=this.B[c];d&&(this.app.Z.unsubscribe(a,d),$b(this.B,c))};
g.h.jh=function(){return e0(this.app)};
g.h.ac=function(a,b,c){this.g&&k0(this.app,!0,this.playerType);fua(this.app,a,b,c,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.SL=function(){var a=g.LU(this.app,this.playerType);if(!a)return 0;a=zU(a);return(0,window.isNaN)(a)?this.getCurrentTime():a};
g.h.getDuration=function(){return this.app.getDuration(this.playerType)};
g.h.getVolume=function(){return this.app.L.volume};
g.h.setVolume=function(a){VH(this,a)};
g.h.isMuted=function(){return this.app.L.muted};
g.h.mute=function(){WH(this)};
g.h.Xf=function(){XH(this)};
g.h.pd=function(){this.g&&k0(this.app,!0,this.playerType);var a=g.JU(this.app);2==a?(a=this.app.A.B)&&a.T("control_play"):3==a?g.KU(this.app.A).vl("control_play"):VX(this.app,this.playerType)};
g.h.cd=function(){var a=g.JU(this.app);2==a?(a=this.app.A.B)&&a.T("control_pause"):3==a?g.KU(this.app.A).vl("control_pause"):XX(this.app,this.playerType)};
g.h.Le=function(){var a=this.app;a.g.X&&(a.l.isFullscreen()&&!a.g.experiments.g("player_external_control_on_classic_desktop")&&g.QU(a.l),a.l.T("pageTransition"));eua(a)};
g.h.NL=function(){};
g.h.Rc=function(){return g.LU(this.app,1).Ca};
g.h.Vf=function(a){c0(this.app,a)};
g.h.Ej=function(){return this.app.g.ea?ova:[1]};
g.h.ql=function(){var a=g.LU(this.app,this.playerType);if(a){var b="unknown";a.g.Ha&&(b=a.g.Ha.video.quality,"auto"==b&&a.l&&(a=a.l?a.l.la():null)&&0<a.videoHeight&&(b=eI(a.videoWidth,a.videoHeight)))}else b="unknown";return b};
g.h.ho=function(){};
g.h.Ns=function(){var a=g.LU(this.app,this.playerType);return a?(a=(0,g.G)(Uoa(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.UL=function(){return this.Os()};
g.h.VL=function(){return 1};
g.h.Os=function(){return Qta(this.app)};
g.h.WL=function(){return 0};
g.h.setSize=function(){this.app.F.hf()};
g.h.Uz=function(a){this.Ps(a?2:1)};
g.h.Ps=function(a){gua(this.app,a)};
g.h.LL=function(){this.ra("SUBSCRIBE")};
g.h.ML=function(){this.ra("UNSUBSCRIBE")};
g.h.Fj=function(a){"captions"==a&&(a=this.app.A.l)&&!a.loaded&&a.load()};
g.h.sl=function(a){"captions"==a&&(a=this.app.A.l)&&a.loaded&&a.TU()};
g.h.bM=function(a,b,c){a=i0(this.app,qH(a,b,c),this.playerType);this.g&&k0(this.app,a,this.playerType)};
g.h.Oz=function(a,b,c){m0(this.app,qH(a,b,c),this.playerType)};
g.h.cM=function(a,b,c){a=rH(a,b,c);a=i0(this.app,a,this.playerType);this.g&&k0(this.app,a,this.playerType)};
g.h.PL=function(a,b,c){a=rH(a,b,c);m0(this.app,a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.g;if(a.C)return"";var b=QX(this.app),c=void 0;b.ua||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.pl=function(){return d0(this.app)};
g.h.Rz=function(){var a=this.app.g;if(a.C)var b="";else{var c=QX(this.app).videoId;b=this.app.F.Ia();var d=this.getPlaylistId()||void 0;c="https://"+UM(a)+"/embed/"+c;d&&(c=g.Ug(c,{list:d}));d=!a.experiments.g("enable_responsive_embed_snippet");a.experiments.g("embed_snippet_includes_version")&&(c=g.Ug(c,{ecver:d?"1":"2"}));a=b.width;b=b.height;d?(d=g.rb(c),b='<iframe width="'+a+'" height="'+b+'" src="'+d+'" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>'):(d=Math.round(360*
a/b),b='<div style="position:relative;height:0;padding-bottom:'+Math.round(1E4*b/a)/100+'%"><iframe src="'+g.rb(c)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+d+'" height="360" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>')}return b};
g.h.Nz=function(a,b,c){return bua(this.app,a,b,c)};
g.h.Tz=function(a){a:{for(var b=this.app,c=XS(b.o.I)||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.o.I.C(e);$U(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.aM=function(a,b,c,d){var e=this.app;e.ea=!1;n0(e,a,b,c,d);this.g&&k0(this.app,!0,this.playerType)};
g.h.OL=function(a,b,c,d){var e=this.app;e.ea=!0;n0(e,a,b,c,d)};
g.h.Gj=function(){q0(this.app);this.g&&k0(this.app,!0,this.playerType)};
g.h.rl=function(){aua(this.app);this.g&&k0(this.app,!0,this.playerType)};
g.h.Sz=function(a){var b=this.app;!b.W||b.l.isFullscreen()&&!b.ya?b.C&&(b.C.Qc?h0(b,b.C.Wb(a),1):b.ea=!1,UQ(b.C,a)):b.l.ra("onPlaylistIndex",a);this.g&&k0(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.C;b&&b.setShuffle(a)};
g.h.eM=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.Wb(c);d&&b.push(d.videoId)}return b};
g.h.Qz=function(){var a=this.app.C;return a?a.ee():-1};
g.h.getPlaylistId=function(){var a=this.app.C;return a&&a.listId?a.listId.toString():null};
g.h.Gd=function(a,b,c){if(!b)return null;var d=this.app.A;return"captions"==a?(a=d.l)&&a.Is(b,c):null};
g.h.uc=function(a,b,c){return this.Gd(a,b,c)};
g.h.mi=function(a){var b=this.app.A;return"captions"==a?(b=b.l)&&b.sL():a?null:(a=[],b.l&&a.push("captions"),a)};
g.h.getVideoData=function(){var a={},b=g.LU(this.app,this.playerType);if(b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Ha)){a.video_quality=b.Ha.video.quality;b=b.Ha.video;var c=[];32<b.fps&&c.push("hfr");iI(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.Vz=function(){Mta(this.app,!0)};
g.h.YL=function(){Mta(this.app,!1)};
g.h.Pz=function(){var a=this.app.A.B;return a?a.Ws():-1};
g.h.ZL=function(a){if(a!=this.app.fa.args.video_id)return!1;a=(a=g.LU(this.app,1))?a.A:null;return!(!a||!g.W(a,128)||5!=pva[a.g.errorCode])};
g.h.TL=function(){var a=this.app.fa.clone();g.Fa(a.args,SO(QX(this.app)));return a};
g.h.fM=function(){this.app.g.L&&this.app.da.resume()};
g.h.fo=function(){var a=this.app.A.o;return a?2==this.playerType?{}:a.Kz():{}};
g.h.jo=function(a){if(a&&2!=this.playerType){var b=this.app.A.o;b&&b.Lz(a,!0)}};
g.h.destroy=function(){this.app.dispose()};
g.h.dM=function(){var a=g.LU(this.app);a&&!g.W(a.A,128)&&(a.T("internalAbandon"),ST(a),QT(a))};
g.h.T=function(a,b){for(var c=1;c<arguments.length;++c);this.app.g.ub&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.Z.T.apply(this.app.Z,arguments);this.app.X.T.apply(this.app.X,arguments)};
g.h.ra=function(a,b){this.app.Z.T.apply(this.app.Z,arguments);this.app.X.T.apply(this.app.X,arguments)};
g.h.V=function(){if(this.o){for(var a in this.A)this.o[a]=null;this.o=null}this.C=this.B=null;g.K.prototype.V.call(this)};ZH.prototype.l=function(){return this.name};
ZH.prototype.getId=function(){return this.id};
ZH.prototype.g=function(){return this.isDefault};
ZH.prototype.toString=function(){return this.name};
ZH.prototype.getName=ZH.prototype.l;ZH.prototype.getId=ZH.prototype.getId;ZH.prototype.getIsDefault=ZH.prototype.g;g.$H.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.g+"_"+this.id+"_"+this.isDefault};g.aI.prototype.Oa=function(){return this.H};
g.aI.prototype.toString=function(){return this.l+": "+g.bI(this)+" - "+this.D};
g.aI.prototype.I=ba(0);g.aI.prototype.Fd=function(){return!(!this.l||this.g&&!this.g.languageCode)};cI.prototype.l=function(){return this.Nb};
cI.prototype.toString=function(){return this.Nb.name};
cI.prototype.getLanguageInfo=cI.prototype.l;var XI={name:"width",video:!0,valid:640,ci:99999},YI={name:"height",video:!0,valid:360,ci:99999},ZI={name:"framerate",video:!0,valid:30,ci:9999},$I={name:"bitrate",video:!0,valid:3E5,ci:2E9},WI={name:"eotf",video:!0,valid:"bt709",ci:"catavision"},bJ={name:"channels",video:!1,valid:2,ci:99},aJ={name:"cryptoblockformat",video:!0,valid:"subsample",ci:"invalidformat"},cJ={lm:XI,Yl:YI,LY:ZI,av:$I,vY:WI,qX:bJ,IX:aJ};var pka={0:"f",160:"h",133:"h",134:"h",135:"h",136:"h",137:"h",264:"h",266:"h",138:"h",298:"h",299:"h",304:"h",305:"h",140:"a",141:"ah",327:"sa",258:"m",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",271:"9",313:"9",272:"9",302:"9",303:"9",308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h",336:"9h",337:"9h",171:"v",338:"so",250:"o",251:"o",
194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",314:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};var k1;k1={};g.fI=(k1.auto=0,k1.tiny=144,k1.light=144,k1.small=240,k1.medium=360,k1.large=480,k1.hd720=720,k1.hd1080=1080,k1.hd1440=1440,k1.hd2160=2160,k1.hd2880=2880,k1.highres=4320,k1);var jI="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");tI.prototype.g=function(a){return"true"==this.flags[a]};
tI.prototype.l=function(a){return(0,window.parseFloat)(this.flags[a])||0};
tI.prototype.o=function(a){return(a=this.flags[a])?a.toString():""};g.h=uI.prototype;g.h.append=function(a){this.g.webkitSourceAppend(this.l,a)};
g.h.abort=function(){this.g.webkitSourceAbort(this.l)};
g.h.fV=function(){return this.g.webkitSourceState==this.g.SOURCE_CLOSED?new qka:this.g.webkitSourceBuffered(this.l)};
g.h.hV=function(){return this.o};
g.h.lV=function(a){this.o=a;this.g.webkitSourceTimestampOffset(this.l,a)};g.h=vI.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.xN=function(){return this.g.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.o++).toString();this.g.webkitSourceAddId(b,a);a=new uI(this.g,b);this.sourceBuffers.push(a);return a};
g.h.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.g.webkitSourceRemoveId(a.l);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.iV=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.jV=function(){Sa(this.sourceBuffers)};
g.h.gV=function(){return this.l};
g.h.kV=function(a){this.l=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};wI.prototype.start=function(){return 0};
wI.prototype.end=function(){return window.Infinity};g.h=xI.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=EI.prototype;g.h.abort=function(){this.g.abort()};
g.h.remove=function(a,b){this.g.remove(a,b)};
g.h.supports=function(a){switch(a){case 1:return void 0!=this.g.timestampOffset;case 0:return!!this.g.appendBuffer;case 2:return!!this.g.remove;case 3:return!!this.g.removeEventListener;default:return!1}};
g.h.addEventListener=function(a,b){this.supports(3);this.g.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.supports(3);this.g.removeEventListener(a,b)};var Rta=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Sta=['audio/mp4; codecs="mp4a.40.2"'];JI.prototype.dispose=function(){if(!this.o){if(this.l)try{window.URL.revokeObjectURL(this.g)}catch(a){}this.o=!0}};
JI.prototype.ha=function(){return this.o};g.p(KI,g.K);KI.prototype.F=function(){!this.ha()&&LI(this)&&this.A&&(this.A(this),this.A=null)};
KI.prototype.D=function(){this.dispose()};var rva={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},l1;var m1=g.Ib;m1=m1.toLowerCase();if(-1!=m1.indexOf("android")){var sva=m1.match(/android\D*(\d\.\d)[^;|\)]*[;\)]/);if(sva)l1=(0,window.parseFloat)(sva[1]);else{var tva=m1.match("("+g.Rb(rva).join("|")+")");l1=tva?rva[tva[0]]:0}}else l1=void 0;var TI=l1,ZL=0<=TI;var vka={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},wka={"application/x-mpegURL":"maybe"},uka={"application/x-mpegURL":"maybe"};gJ.prototype.pg=function(){return this.bj};
gJ.prototype.g=function(){return null};
gJ.prototype.A=function(){};iJ.prototype.isLocked=function(){return this.o&&!!this.l&&this.l==this.g};
iJ.prototype.A=function(a){return a.video?pJ(this,a.video.quality):!1};
var moa=kJ("auto","large",!1,"l"),mJ=kJ("auto","auto",!1,"p");kJ("small","auto",!1,"p");g.h=g.rJ.prototype;g.h.dA=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.Qh(a))?a.duration:0};
g.h.Oq=function(a){return this.getDuration(a)};
g.h.Ff=function(){return this.segments.length?this.segments[0].sa:-1};
g.h.Us=function(a){return(a=this.Qh(a))?a.ingestionTime:window.NaN};
g.h.Vb=function(){return this.segments.length?this.segments[this.segments.length-1].sa:-1};
g.h.gj=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:window.NaN};
g.h.Fb=function(){return this.segments[0].startTime};
g.h.hj=function(){return this.segments.length};
g.h.lo=function(){return 0};
g.h.Tg=function(a){return(a=this.mn(a))?a.sa:-1};
g.h.Sx=function(a){return(a=this.Qh(a))?a.sourceURL:""};
g.h.Xd=function(a){return(a=this.Qh(a))?a.startTime:0};
g.h.Bn=ba(2);g.h.Mb=function(){return 0<this.segments.length};
g.h.Qh=function(a){a=g.fb(this.segments,new qJ(a,0,0,0,""),function(a,c){return a.sa-c.sa});
return 0<=a?this.segments[a]:null};
g.h.mn=function(a){a=g.fb(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.Ox=function(){return 0};tJ.prototype.skip=function(a){this.g+=a};xJ.prototype.Xm=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};g.UJ.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};wK.prototype.verify=function(){if(this.info.Wa!=this.range.length)return!1;if(1==this.info.g.info.containerType){if(8>this.info.Wa||4==this.info.type)return!0;var a=xK(this),b=a.getUint32(0,!1);a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.Wa&&1936286840==a;if(3==this.info.type&&0==this.info.l)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a}else if(2==this.info.g.info.containerType){if(4>this.info.Wa||4==this.info.type)return!0;b=xK(this).getUint32(0,
!1);if(3==this.info.type&&0==this.info.l)return 524531317==b||440786851==b}return!0};g.FK.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.o="")};
g.FK.prototype.get=function(a){GK(this);return this.g[a]||null};
g.FK.prototype.Oa=function(){this.o||(this.o=Kka(this));return this.o};
g.FK.prototype.clone=function(){var a=new g.FK(this.A);a.C=this.C;a.l=this.l;a.B=this.B;a.g=g.cc(this.g);a.o=this.o;return a};
var JK=!1;OK.prototype.set=function(a,b){this.g.get(a);this.l[a]=b;this.o=""};
OK.prototype.get=function(a){return this.l[a]||this.g.get(a)};
OK.prototype.Oa=function(){this.o||(this.o=Mka(this));return this.o};var uva=0;g.h=$K.prototype;g.h.Cf=function(){};
g.h.kc=function(){};
g.h.ds=function(){return!1};
g.h.Jc=function(){return!!this.g&&!!this.index&&this.index.Mb()};
g.h.li=function(){};
g.h.Dz=function(){return!1};
g.h.Kk=function(){};
g.h.Dj=function(){};
g.h.ll=function(){};
g.h.Sg=function(){};
g.h.sr=function(){};
g.h.Ez=function(a){return[a]};
g.h.Oo=function(a){return[a]};
g.h.Ut=function(){};
g.h.Sq=function(){};g.p(bL,$K);g.h=bL.prototype;g.h.Cf=function(){return!1};
g.h.kc=function(){return!1};
g.h.Dz=function(){return this.l};
g.h.Kk=function(){if(this.l)return[];var a=new YJ(1,this,this.initRange);return[new VK([a],this.I)]};
g.h.Dj=function(){return null};
g.h.ll=function(a){this.li(a);return this.Ym(a.o?a.sa+1:a.sa,!1)};
g.h.Sg=function(a,b){b=void 0===b?!1:b;var c=this.index.Tg(a);b&&(c=Math.min(this.index.Vb(),c+1));return this.Ym(c,!0)};
g.h.sr=function(a){this.g=new window.Uint8Array(xK(a).buffer)};
g.h.ds=function(){return!1};
g.h.li=function(a){return 0==a.Wa?!0:this.index.Vb()>a.sa&&this.index.Ff()<=a.sa+1};
g.h.update=function(a,b,c){var d=this.index;if(0!=a.length)if(a=g.Ya(a),0==d.segments.length)d.segments=a;else{var e=d.segments.length?g.Ja(d.segments).endTime:0,f=a[0].sa-d.Vb();1<f&&Sa(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])}}sJ(this.index,c);this.H=b};
g.h.Jc=function(){return this.l?!0:$K.prototype.Jc.call(this)};
g.h.Ym=function(a,b){var c=this.index.Sx(a),d=this.index.Xd(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;d=new YJ(3,this,null,a,d,e,0,f,a==this.index.Vb()&&!this.H&&0<f);return new VK([d],c)};
g.h.Sq=function(){return this.l?0:this.initRange.length};
g.h.Ut=function(){return!1};g.p(cL,g.rJ);g.h=cL.prototype;g.h.Ff=function(){return this.g?this.segments.length?this.mn(this.Fb()).sa:-1:g.rJ.prototype.Ff.call(this)};
g.h.Fb=function(){return this.g?this.segments.length?Math.max(g.Ja(this.segments).endTime-this.A,0):0:g.rJ.prototype.Fb.call(this)};
g.h.gj=function(){var a=this.Vb();return!this.g||!this.segments.length||a<=this.segments[this.segments.length-1].sa?g.rJ.prototype.gj.call(this):gL(this,a,this.segments[this.segments.length-1]).endTime};
g.h.hj=function(){return this.g?this.segments.length?this.Vb()-this.Ff()+1:0:g.rJ.prototype.hj.call(this)};
g.h.Vb=function(){return Math.max(g.rJ.prototype.Vb.call(this),this.o)};
g.h.dA=function(a){var b=dL(this,a.sa);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.mn=function(a){if(!this.g)return g.rJ.prototype.mn.call(this,a);if(!this.segments.length)return null;var b=g.fb(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?gL(this,c.sa-Math.ceil((c.startTime-a)/this.l),c):gL(this,c.sa+Math.ceil((a-c.endTime)/this.l),c)};
g.h.Qh=function(a){if(!this.g)return g.rJ.prototype.Qh.call(this,a);if(!this.segments.length)return null;var b=dL(this,a);return 0<=b?this.segments[b]:gL(this,a,this.segments[Math.max(-(b+2),0)])};g.p(hL,bL);g.h=hL.prototype;g.h.kc=function(){return!0};
g.h.Jc=function(){return!0};
g.h.li=function(){return!0};
g.h.Kk=function(){return[]};
g.h.Sg=function(a,b){if(g.ua(a)&&!(0,window.isFinite)(a)){var c=new YJ(3,this,null,-1,void 0,this.D,void 0,this.D*this.info.g);return new VK([c],"")}return bL.prototype.Sg.call(this,a,b)};
g.h.Ym=function(a,b){if(eL(this.index,a))return bL.prototype.Ym.call(this,a,b);var c=this.index.Xd(a);c=new YJ(3,this,null,a,c,void 0,void 0,b?0:this.D*this.info.g);return new VK([c],0<=a?"sq/"+a:"")};mL.prototype.update=function(a,b){var c=void 0;this.l&&(c=this.l);var d=new mL,e=a.getElementsByTagName("S");if(e.length){var f=+iL(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+iL(a,"startNumber")||0;var m=k;var n=+iL(a,"presentationTimeOffset")||0;m=c?c.Pe+c.durationSecs:b?m-n/f:0;n=Date.parse(lL(iL(a,"yt:segmentIngestTime")))/1E3;d.o="SegmentTemplate"==a.parentNode.tagName;d.o&&(d.C=iL(a,"media"));var q=c?l-c.sa:1;d.B=0<q?0:-q+1;e=g.la(e);for(q=e.next();!q.done;q=e.next()){q=q.value;for(var r=
+q.getAttribute("d")/f,u=(+q.getAttribute("yt:sid")||0)/f,C=+q.getAttribute("r")||0,I=0;I<=C;I++)if(c&&l<=c.sa)l++;else{var N=new Pka(l,m,r,n+u,k);d.g.push(N);var Z=N.Pe,V=q.getAttribute("yt:cuepointTimeOffset");N=q.getAttribute("yt:cuepointDuration");V&&N?(Z=+V/f+Z,N=+N/f,V=q.getAttribute("yt:cuepointContext")||null,N=new BJ(Z,N,V)):N=null;N&&d.A.push(N);l++;m+=r;k+=r;n+=r+u}}d.g.length&&(d.l=g.Ja(d.g))}this.B=d.B;this.l=d.l||this.l;Za(this.g,d.g);Za(this.A,d.A);this.o=d.o;this.C=d.C};
mL.prototype.Rg=function(a,b,c,d){for(var e=this.C.split("$$"),f=0;f<e.length;f++)e[f]=e[f].replace("$RepresentationID$",a),e[f]=e[f].replace("$Number$",c.toString()),e[f]=e[f].replace("$Bandwidth$",b.toString()),e[f]=e[f].replace("$Time$",d.toString());return e.join("$")};g.h=g.nL.prototype;g.h.lo=function(a){return this.g[a]};
g.h.Xd=function(a){return this.l[a]/this.A};
g.h.Bn=ba(1);g.h.Us=function(){return window.NaN};
g.h.getDuration=function(a){a=this.Oq(a);return 0<=a?a/this.A:-1};
g.h.Oq=function(a){return a+1<this.Fa||this.o?this.l[a+1]-this.l[a]:-1};
g.h.Ff=function(){return 0};
g.h.Vb=function(){return this.Fa-1};
g.h.gj=function(){return this.o?this.l[this.Fa]/this.A:window.NaN};
g.h.Fb=function(){return 0};
g.h.hj=function(){return this.Fa};
g.h.Sx=function(){return""};
g.h.Tg=function(a){a=g.fb(this.l.subarray(0,this.Fa),a*this.A);return 0<=a?a:Math.max(0,-a-2)};
g.h.Mb=function(){return 0<=this.Vb()};
g.h.Ox=function(a,b){if(a>=this.Vb())return 0;for(var c=0,d=this.Xd(a)+b,e=a;e<this.Vb()&&d>this.Xd(e);e++)c=Math.max(c,(e+1<this.Fa||this.o?this.g[e+1]-this.g[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){oL(this);this.o=!0;this.l[this.Fa]=b;this.g[this.Fa]=a};g.p(g.pL,$K);g.h=g.pL.prototype;g.h.Kk=function(a){var b=new YJ(1,this,this.initRange),c=new YJ(2,this,this.indexRange),d=[],e=[b];$J(b,c)?e.push(c):(d.push(new VK([c])),a=0);(0,window.isNaN)(this.l)&&(a=0);b=e[e.length-1];a=Math.min(a,this.l-(b.range.end-e[0].range.start+1));0<a&&(a=WJ(b.range.end+1,a),e.push(new YJ(4,this,a)));d.push(new VK(e));return d};
g.h.sr=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.D||0<=this.index.Vb())return;if(g.oI(this.info)){b=this.index;var c=xK(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.A=k;a+=8;0==f?(f=c.getUint32(a,!1),k=c.getUint32(a+4,!1),a+=
8):(f=4294967296*c.getUint32(a,!1)+c.getUint32(a+4,!1),k=4294967296*c.getUint32(a+8,!1)+c.getUint32(a+12,!1),a+=16);b.g[0]=k+(e+d);b.l[0]=f;b.o=!0;d=c.getUint16(a+2,!1);a+=4;for(e=0;e<d;e++){f=c.getUint32(a,!1);k=c.getUint32(a+4,!1);a+=12;var l=b;l.Fa++;oL(l);l.g[l.Fa]=l.g[l.Fa-1]+f;l.l[l.Fa]=l.l[l.Fa-1]+k}}else this.D=xK(a)}if(2==this.info.containerType&&this.g&&this.D){a=new window.DataView(this.g.buffer);b=this.index;k=this.D;c=this.indexRange.end;a=new gK(a);if(kK(a,440786851)&&(qK(a),kK(a,408125543)&&
(e=a,f=e.g,d=lK(e,!0),e.g=f,a=jK(a),e=a.o+a.g,kK(a,357149030)))){a=jK(a);l=1E6;var m=1E9;for(f=0;!hK(a);){var n=lK(a,!1);2807729==n?l=pK(a):2807730==n?m=pK(a):17545==n?f=rK(a):qK(a)}b.A=m/l;a=new gK(k);if(kK(a,475249515)){a=jK(a);k=!0;for(l=!1;kK(a,187);){m=jK(a);if(kK(m,179))if(n=pK(m),kK(m,183)){m=jK(m);for(var q=e;kK(m,241);)q=pK(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];oL(m);m.g[m.Fa]=n;m.l[m.Fa]=q;m.Fa++}b.cap(d+e,f)}}this.D=null}};
g.h.Ez=function(a){for(var b=this.Oo(a.info),c=[],d=a.l,e=0;e<b.length;e++){var f=WJ(b[e].range.start+b[e].l-a.info.range.start+a.range.start,b[e].Wa);c.push(new wK(b[e],a.g,f,a.A,d));d=!1}return c};
g.h.Oo=function(a){for(var b=0;b<this.index.Vb()&&a.range.start>=this.index.lo(b+1);)b++;return qL(this,b,a.range.start,a.range.length).g};
g.h.li=function(a){return this.Jc()?!0:(0,window.isNaN)(this.l)?!1:a.range.end+1<this.l};
g.h.Dj=function(a,b){this.li(a);if(!this.Jc()){var c=WJ(a.range.end+1,b);c.end+1>this.l&&(c=new g.UJ(c.start,this.l-1));c=[new YJ(4,a.g,c)];return new VK(c)}4==a.type&&(c=this.Oo(a),a=c[c.length-1]);c=0;var d=a.range.start+a.l+a.Wa;3==a.type&&(c=a.sa,d==a.range.end+1&&(c+=1));return qL(this,c,d,b)};
g.h.ll=function(){return null};
g.h.Sg=function(a,b){var c=this.index.Tg(a);b&&(c=Math.min(this.index.Vb(),c+1));return qL(this,c,this.index.lo(c),0)};
g.h.ds=function(){var a;if(a=this.Jc()&&!(0,window.isNaN)(this.l))a=this.index,a=(a.o?a.g[a.Fa]:-1)!=this.l;return a};
g.h.Cf=function(){return!0};
g.h.kc=function(){return!1};
g.h.Sq=function(){return this.indexRange.length+this.initRange.length};
g.h.Ut=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};var tL={fG:function(a){a.reverse()},
bL:function(a,b){a.splice(0,b)},
hT:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}};g.p(vL,g.aG);g.h=vL.prototype;g.h.Pf=function(){return Mb(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.Qf=function(){return Mb(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.Ze=function(){return Mb(this.g,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.di=function(){return Mb(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.AT=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.o=!0;this.B||(this.B=new Rka);Vka(this.B,a,this.da);this.T("refresh");for(a=0;a<b.length;a++){var c=DL(this,b[a]),d=this.isLive&&g.oI(c)&&this.ea;if(!this.g[c.id]){var e=AL(jL(b[a],"BaseURL").textContent),f=jL(b[a],"Initialization"),k=iL(f,"sourceURL");f=VJ(iL(f,"range"));d&&(k="",f=void 0);this.g[c.id]=new bL(e,c,k,null===f?
void 0:f)}c=this.g[c.id];e=iL(b[a],"id","AdaptationSet");e=""!=e?e:iL(b[a],"mimetype","AdaptationSet");k=this.B;e=k.o[c.info.id]||k.l[e]||k.g||null;k=e.g;if(e.o)for(d=[],k=g.la(k),f=k.next();!f.done;f=k.next()){f=f.value;var l=e.Rg(c.info.id,8*c.info.g,f.sa,f.Pe);d.push(new qJ(f.sa,f.Pe,f.durationSecs,f.g,l,null,f.l))}else{e=g.ab(jL(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.B);f=[];for(l=0;l<e.length;l++)f.push(fla(e[l],k[l],d));d=f}c.update(d,this.isLive,this.R)}Wka(this.B);return!0}this.duration=
kL(iL(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=DL(this,k);e=jL(k,"BaseURL");d=AL(e.textContent);f=jL(k,"SegmentBase");k=VJ(f.attributes.indexRange.value);f=VJ(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=(0,window.parseInt)(e.getAttribute(BL(this,"contentLength")),10);c=new g.pL(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.Be=function(a){return this.B?g.ab(this.B.A,a):this.K.length?g.ab(this.K,a):[]};
g.h.yI=function(a){if(this.ha())return this;this.L=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.D=1E3*kL(iL(a,"minimumUpdatePeriod"))||window.Infinity;if(!this.N){var b;a:{for(b=0;b<a.attributes.length;b++)if("http://youtube.com/yt/2012/10/10"==a.attributes[b].value){b=a.attributes[b].name.split(":")[1];break a}b=""}this.Y=b}this.isLive=window.Infinity>this.D&&this.fa;this.R=(0,window.parseInt)(iL(a,BL(this,"earliestMediaSequence")),
10)||0;if(b=Date.parse(lL(iL(a,BL(this,"mpdResponseTime")))))this.F=((0,g.F)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.tm)(a.getElementsByTagName("Period"),this.AT,this);this.C=2;this.T("loaded");HL(this);return this};
g.h.BI=function(a){this.L=a.g.status;this.C=3;this.T("loaderror");return eg(a.g)};
g.h.fA=function(){if(1!=this.C&&!this.ha()){var a=g.Ug(this.W,{start_seq:gla(this).toString()});g.mg(EL(this,a),function(){})}};
g.h.resume=function(){HL(this)};
g.h.Ce=function(){var a=this.g,b=window.NaN,c;for(c in a){var d=a[c].index;d&&d.Mb()&&((0,window.isNaN)(b)||d.gj()<b)&&(b=d.gj())}return b};
g.h.Fb=function(){var a=this.g,b;for(b in a){var c=a[b].index;if(c&&c.Mb())return c.Fb()}return 0};
g.h.MM=function(){return this.F};
var LL=null,ML=!1,CL={commentary:1,alternate:2,dub:3,main:4};var n1={},dM=(n1.playready=["com.youtube.playready","com.microsoft.playready"],n1.widevine=["com.widevine.alpha"],n1),tla=g.Xa(dM.widevine,dM.playready);WL.prototype.getAvailableAudioTracks=function(){return this.audioTracks};var lla="1 9h 9 h 8 (h ( H *".split(" "),YL="h198H(*".split(""),nla="oMavAV".split(""),qla=["so","sa"],pla="moMavAV".split(""),ola="aoMvAV".split(""),mla=["f"];g.p(cM,g.K);cM.prototype.D=function(){(this.C=this.o.g("html5_widevine_robustness_strings")&&!this.C&&"widevine"==this.g[this.l[0]].flavor)||this.l.shift();eM(this)};
cM.prototype.F=function(a,b){this.ha()||(a.l=b,ula(this,a),this.B(a))};var Fla={y0:"red",Z2:"white"};fM.prototype.g=function(a,b){var c=Math.pow(this.B,a);this.o=b*(1-c)+c*this.o;this.A+=a};
fM.prototype.l=function(){return this.o/(1-Math.pow(this.B,this.A))};hM.prototype.g=function(a,b){var c=Math.min(this.o,Math.max(1,Math.round(a*this.K)));c+this.A>=this.o&&(this.C=!0);for(;c--;)this.B[this.A]=b,this.A=(this.A+1)%this.o;this.F=!0};
hM.prototype.l=function(){return this.H?(iM(this,this.D-this.H)+iM(this,this.D)+iM(this,this.D+this.H))/3:iM(this,this.D)};var Ela={oW:"adunit",QX:"detailpage",pY:"editpage",rY:"embedded",GZ:"leanback",n0:"previewpage",o0:"profilepage",u2:"unplugged"};var MM={QZ:1,RZ:2,SZ:3};g.p(rM,g.aG);rM.prototype.add=function(a,b){!this.Ga[a]&&(b.nq||b.Jh||b.ek)&&(this.Ga[a]=gc(b),this.T("vast_info_card_add",a))};
rM.prototype.remove=function(a){var b=this.get(a);delete this.Ga[a];return b};
rM.prototype.get=function(a){return this.Ga[a]||null};
rM.prototype.isEmpty=function(){return g.Yb(this.Ga)};var Ala=/^([0-9\.]+):([0-9\.]+)$/;var yM=g.x("ytglobal.prefsUserPrefsPrefs_")||{};g.va("ytglobal.prefsUserPrefsPrefs_",yM,void 0);g.h=zM.prototype;g.h.get=function(a,b){BM(a);AM(a);var c=void 0!==yM[a]?yM[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){BM(a);AM(a);if(null==b)throw Error("ExpectedNotNull");yM[a]=b.toString()};
g.h.remove=function(a){BM(a);AM(a);delete yM[a]};
g.h.save=function(){var a=this.g,b=[],c;for(c in yM)b.push(c+"="+(0,window.encodeURIComponent)(String(yM[c])));g.RG(a,b.join("&"),63072E3)};
g.h.clear=function(){g.Zb(yM)};
g.wa(zM);var CM="blogger books docs google-live play chat picasaweb gmail jamboard".split(" ");g.p(RM,g.K);
RM.prototype.Dg=function(a){this.da=vM(this.da,a.video_id);this.Ma=vM(this.Ma,a.eventid);for(var b in vva){var c=vva[b],d=a[c];void 0!=d&&(this.o[c]=d)}b=a.cl;!this.ya&&b&&(this.ya=+b);this.userAge=uM(this.userAge,a.user_age);this.userDisplayImage=vM(this.userDisplayImage,a.user_display_image);g.yH(this.userDisplayImage)||(this.userDisplayImage="");this.userDisplayName=vM(this.userDisplayName,a.user_display_name);this.userGender=vM(this.userGender,a.user_gender);this.csiPageType=vM(this.csiPageType,
a.csi_page_type);this.Na=vM(this.Na,a.csi_service_name);this.Pb=sM(this.Pb,a.enablecsi);if(a=a.enabled_engage_types)this.Ta=new window.Set(a.split(","))};
RM.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=UM(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.XM(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,SI&&(a=g.x("yt.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.Ug(d,b)};
var vva={XW:"cbrand",YW:"cbr",ZW:"cbrver",uZ:"c",xZ:"cver",wZ:"ctheme",vZ:"cplayer",d_:"cmodel",K_:"cnetwork",S_:"cos",T_:"cosver",Y_:"cplatform"};g.p(iN,gJ);
iN.prototype.g=function(){if(!this.l||this.l.ha()){var a=this.o;Lla(a);for(var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={},d=0,e=a.o.length;d<e;++d){var f=a.o[d];a.l&&f.Nb&&f.Nb.getId()!=a.l||(c[f.itag]=f,b.push(Kla(a,f)))}d=0;for(e=a.g.length;d<e;++d){f=a.g[d];var k=c[f.audioItag];b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(f.bitrate+k.bitrate)+","+('CODECS="'+f.Mw+","+k.Mw+'",')+("RESOLUTION="+f.width+"x"+f.height+",")+('AUDIO="'+k.itag.toString()+'",')+"CLOSED-CAPTIONS=NONE");b.push(hN(a,f.url))}a=
"data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n"));this.l=new JI(a)}return this.l};g.p(kN,gJ);kN.prototype.g=function(){return new JI(this.l.Oa())};
kN.prototype.A=function(){this.l=KK(this.l)};g.p(mN,gJ);mN.prototype.g=function(){return new JI(this.l)};var Ola=new window.Set("BASE_URL BASE_YT_URL abd adformat allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd disable_native_context_menu docid el enable_cardio enablecastapi enablepostapi end errorcode fmt_list fmt_stream_map hl hlsdvr hlsrange hlsvp html5 invite iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid plid postid ps public reason rel reload_count reload_reason reportabuseurl resume start status streaminglib_load_policy streaminglib_preroll t timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoid videoId wmode".split(" "));var wva={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",XZ:"LOW",r2:"ULTRALOW"};g.h=g.oN.prototype;g.h.Ab=function(){return this.C};
g.h.getHeight=function(){return this.B};
g.h.Mx=ba(3);g.h.Qq=function(){return this.o};
g.h.isDefault=function(){return-1!=this.A.indexOf("default")};
g.h.Mb=function(a){return this.Qc.has(a)};
g.h.Oa=function(a){var b=this.I;b=b.replace("$N",this.A);b=b.replace("$L",this.H.toString());b=b.replace("$M",a.toString());this.D&&(b=g.Ug(b,{sigh:this.D}));return CH(b)};
g.h.Ij=function(a){var b=this.Qq()-1;return g.cd(0==this.l?Math.round(a*this.o/this.K):Math.round(1E3*a/this.l),0,b)};
g.h.xl=function(){return this.o-1};
g.h.oo=function(){return this.o?0:-1};
g.h.sA=function(){};g.p(qN,g.aG);qN.prototype.I=function(a,b){this.l=this.l.onload=null;var c=this.g[a];c.Qc.add(b);tN(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.Qq()-1);e=[e,c];this.T("l",e[0],e[1])};
qN.prototype.V=function(){this.l&&(this.l=this.l.onload=null);g.aG.prototype.V.call(this)};g.p(vN,qN);vN.prototype.o=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.C(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
vN.prototype.C=function(a,b,c,d){return new g.oN(a,b,c,d)};
vN.prototype.H=function(){};g.p(wN,g.oN);g.h=wN.prototype;g.h.Qq=function(){return this.g?this.g.hj():-1};
g.h.Ij=function(a){var b=this.rows*this.columns*this.F,c=-1,d=-1,e=this.g;e&&(c=e.Vb(),d=e.Tg(a));return d>c-b?-1:d};
g.h.xl=function(){return this.g?this.g.Vb():-1};
g.h.oo=function(){return this.g?this.g.Ff():-1};
g.h.sA=function(a){this.g=a};g.p(xN,vN);xN.prototype.o=function(a,b){return vN.prototype.o.call(this,"$N|"+a,b)};
xN.prototype.C=function(a,b,c){return new wN(a,b,c,this.isLive)};
xN.prototype.H=function(a){for(var b=0;b<this.g.length;b++)this.g[b].sA(a)};var yN={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},Qla={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};g.CN.prototype.toString=function(){return this.topic};var xva=g.x("ytPubsub2Pubsub2Instance")||new g.iD;g.iD.prototype.subscribe=g.iD.prototype.subscribe;g.iD.prototype.unsubscribeByKey=g.iD.prototype.Jd;g.iD.prototype.publish=g.iD.prototype.T;g.iD.prototype.clear=g.iD.prototype.clear;g.va("ytPubsub2Pubsub2Instance",xva,void 0);var FN=g.x("ytPubsub2Pubsub2SubscribedKeys")||{};g.va("ytPubsub2Pubsub2SubscribedKeys",FN,void 0);var HN=g.x("ytPubsub2Pubsub2TopicToKeys")||{};g.va("ytPubsub2Pubsub2TopicToKeys",HN,void 0);
var GN=g.x("ytPubsub2Pubsub2IsAsync")||{};g.va("ytPubsub2Pubsub2IsAsync",GN,void 0);g.va("ytPubsub2Pubsub2SkipSubKey",null,void 0);var MN=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.p(ON,g.BN);g.p(PN,g.BN);var Xla=new g.CN("aft-recorded",ON),JN=new g.CN("timing-sent",PN);var bma,oO,o1,hO,Wla,$la,Vla,lO,Ula,Hta;bma={vc:!0};
oO={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'link[rel="import"][name="desktop_polymer_selective_initialization_home"]':"dpsihh",'link[rel="import"][name="desktop_polymer_selective_initialization_watch"]':"dpsiwh",'link[rel="import"][name="desktop_polymer_sel_auto_home"]':"dpsahh",
'link[rel="import"][name="desktop_polymer_sel_auto_watch"]':"dpsawh",'script[name="mobile-c3/mobile-c3"]':"mcj",'link[rel="stylesheet"][name="mobile-c3"]':"mcc",'script[name="player-plasma-phone/base"]':"mcppj",'script[name="player-plasma-tablet/base"]':"mcptj",'link[rel="stylesheet"][name="mobile-polymer-player"]':"mcpc",'script[name="mobile_blazer_core_mod"]':"mbcj",'link[rel="stylesheet"][name="mobile_blazer_css"]':"mbc",'script[name="mobile_blazer_logged_in_users_mod"]':"mbliuj",'script[name="mobile_blazer_logged_out_users_mod"]':"mblouj",
'script[name="mobile_blazer_noncore_mod"]':"mbnj","#player_css":"mbpc",'script[name="mobile_blazer_desktopplayer_mod"]':"mbpj",'link[rel="stylesheet"][name="mobile_blazer_tablet_css"]':"mbtc",'script[name="mobile_blazer_watch_mod"]':"mbwj"};o1={};
hO=(o1.ad_allowed="adTypesAllowed",o1.ad_at="adType",o1.ad_cpn="adClientPlaybackNonce",o1.ad_docid="adVideoId",o1.yt_ad_an="adNetworks",o1.p="httpProtocol",o1.t="transportProtocol",o1.cpn="clientPlaybackNonce",o1.csn="clientScreenNonce",o1.docid="videoId",o1.is_nav="isNavigation",o1.yt_lt="loadType",o1.yt_ad="isMonetized",o1.nr="webInfo.navigationReason",o1.ncnp="webInfo.nonPreloadedNodeCount",o1.paused="playerInfo.isPausedOnLoad",o1.fmt="playerInfo.itag",o1.yt_pl="watchInfo.isPlaylist",o1.yt_ad_pr=
"prerollAllowed",o1.yt_red="isRedSubscriber",o1.st="serverTimeMs",o1.vph="viewportHeight",o1.vpw="viewportWidth",o1.yt_vis="isVisible",o1);Wla="ap c cver ei srt yt_fss yt_li plid vpil vpni vpst yt_eil vpni2 vpil2 icrc icrt pa GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" ");
$la={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS",channel:"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","channel.copyright":"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT","channel.monetization":"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION","channel.translations":"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS","channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",
embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",prebuffer:"LATENCY_ACTION_PREBUFFER",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",tenx:"LATENCY_ACTION_TENX",video_to_ad:"LATENCY_ACTION_VIDEO_TO_AD",watch:"LATENCY_ACTION_WATCH","watch,watch7":"LATENCY_ACTION_WATCH","watch,watch7_html5":"LATENCY_ACTION_WATCH","watch,watch7ad":"LATENCY_ACTION_WATCH","watch,watch7ad_html5":"LATENCY_ACTION_WATCH","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",
"video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS","video.edit":"LATENCY_ACTION_CREATOR_VIDEO_EDIT","video.translations":"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS","video.video_editor":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR","video.video_editor_async":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC"};Vla="isNavigation isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber isVisible watchInfo.isPlaylist".split(" ");lO=!1;
Ula=(0,g.z)(MN.clearResourceTimings||MN.webkitClearResourceTimings||MN.mozClearResourceTimings||MN.msClearResourceTimings||MN.oClearResourceTimings||g.y,MN);g.JQ=dO;Hta=TN;g.IQ=bO;var p1;var yva=g.Ib,zva=yva.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!zva||2>zva.length)p1=void 0;else{var q1=yva.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);p1=q1&&6==q1.length?Number(q1[5].replace("_",".")):0}var z_=p1,r1=0<=z_;r1&&0<=g.Ib.search("Safari")&&g.Ib.search("Version");var nma={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},s1={},Ava=(s1.ALWAYS=1,s1.BY_REQUEST=3,s1),jma,vO;g.p(g.uO,g.aG);g.h=g.uO.prototype;g.h.Dg=function(a,b){b?(this.setData(a),OO(this)&&CO(this)):(xO(this,a,!0),this.T("dataupdated"))};
g.h.setData=function(a){var b=this;a=a||{};var c=a.raw_player_response;if(!c){var d=a.player_response;d&&(c=g.lx(d))}c&&(this.jb=c);this.ig="1"!=a.hlsdvr?!1:eJ()?!0:DM&&5>z_?!1:!0;this.adQueryId=a.ad_query_id||null;this.adSafetyReason=a.encoded_ad_safety_reason||null;this.Mi=a.agcid||null;this.adIds=a.ad_id||null;this.adSystems=a.ad_sys||null;this.Fm="1"==a.infringe||"1"==a.muted;this.authKey=a.authkey;this.Wc=a.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||bH());this.enableCardio=
sM(this.enableCardio,a.enable_cardio);this.enableCardioBeforePlayback=sM(this.enableCardioBeforePlayback,a.enable_cardio_before_playback);this.endSeconds=uM(this.endSeconds,a.end||a.endSeconds);this.xj=vM(this.xj,a.itct);this.Zr=sM(this.Zr,a.noiba);this.fl="1"==a.livemonitor;this.ua="1"==a.live_playback||!!a.fresca_preroll||!!a.heartbeat_preroll;this.isLiveDestination=sM(this.isLiveDestination,a.is_live_destination);this.isLiveDefaultBroadcast="1"==a.live_default_broadcast;this.isLowLatencyLiveStream=
"1"==a.is_low_latency_live_stream;if(c=a.latency_class)this.latencyClass=tM("UNKNOWN",c,wva);this.isMdxPlayback=sM(this.isMdxPlayback,a.mdx);if(c=a.mdx_control_mode)this.mdxControlMode=Db(c);this.Yr=sM(this.Yr,a.is_inline_playback_no_ad);this.sh=uM(this.sh,a.reload_count);this.reloadReason=vM(this.reloadReason,a.reload_reason);this.gs=sM(this.gs,a.utpsa);this.cycToken=a.cyc||null;this.wD=a.tkn||null;this.wh="1"==a.innertube_thumbnail&&this.jb.videoDetails.thumbnail?Rla(this.jb.videoDetails.thumbnail):
zN(a);this.Te=vM(this.Te,a.vvt);this.revocableUnlistedToken=a.revocable_unlisted_token;this.mdxEnvironment=vM(this.mdxEnvironment,a.mdx_environment);this.GO=a.osig;this.eC=a.ptchn;this.fC=a.oid;this.Hl=a.ptk;this.gC=a.pltype;this.playbackId=a.plid;this.eventId=a.eventid;this.osid=a.osid;this.videoMetadata=a.vm;this.Rt=a.of;this.np=a.upt;this.playlistId=vM(this.playlistId,a.list);this.nC=a.pyv_view_beacon_url;this.pC=a.pyv_quartile25_beacon_url;this.qC=a.pyv_quartile50_beacon_url;this.rC=a.pyv_quartile75_beacon_url;
this.oC=a.pyv_quartile100_beacon_url;if(c=a.remarketing_url)this.remarketingUrl=c;this.jb&&this.jb.playbackTracking&&this.jb.playbackTracking.youtubeRemarketingUrl&&(this.youtubeRemarketingUrl=this.jb.playbackTracking.youtubeRemarketingUrl.baseUrl);this.jb&&this.jb.playbackTracking&&this.jb.playbackTracking.googleRemarketingUrl&&(this.googleRemarketingUrl=this.jb.playbackTracking.googleRemarketingUrl.baseUrl);if(c=a.ppv_remarketing_url)this.ppvRemarketingUrl=c;this.Ko=a.sdetail;c=a.session_data;!this.Zt&&
c&&(this.Zt=g.lE(c).feature);this.isFling=1==uM(this.isFling?1:0,a.is_fling);this.vnd=uM(this.vnd,a.vnd);this.Iq=vM(this.Iq,a.force_ads_url);this.fg=vM(this.fg,a.ctrl);this.pf=vM(this.pf,a.ytr);this.Um=a.ytrcc;this.wC=a.ytrexp;this.slotPosition=uM(this.slotPosition,a.slot_pos);this.bp=sM(this.bp,a.ssrt);this.videoId=xM(a)||this.videoId;this.vssCredentialsToken=vM(this.vssCredentialsToken,a.vss_credentials_token);this.Dp=vM(this.Dp,a.vss_credentials_token_type);this.heartbeatToken=vM(this.heartbeatToken,
a.heartbeat_token);this.heartbeatInterval=uM(this.heartbeatInterval,a.heartbeat_interval);this.heartbeatRetries=uM(this.heartbeatRetries,a.heartbeat_retries);this.heartbeatSoftFail=sM(this.heartbeatSoftFail,a.heartbeat_soft_fail);this.Xr=sM(this.Xr,a.ithb);this.relativeLoudness=uM(this.relativeLoudness,a.relative_loudness);this.Tl=sM(this.Tl,a.audio_only);this.Ep=sM(this.Ep,a.aac_high);if(a.ad3_module||a.ad_module)this.adModule=!0,"1"==a.ad_preroll&&this.dd.push("ad");if(c=a.adaptive_fmts)this.adaptiveFormats=
c;c=a.atc;void 0!=c&&(this.qk=c);if(c=a.license_info)this.Hc=mma(c);if(c=a.allow_embed)this.allowEmbed="1"==c;if(c=a.backgroundable)this.backgroundable="1"==c;if(c=a.autonav)this.Sn="1"==c;if(c=a.autoplay)this.Il="1"==c;(c=a.iv_load_policy)?this.Ig=tM(this.Ig,c,MM):(c=wO(this.jb))&&c.loadPolicy&&(this.Ig=Ava[c.loadPolicy]);if(c=a.cc_lang_pref)this.Kg=vM(c,this.Kg);if(c=a.cc_load_policy)this.Lg=tM(this.Lg,c,MM);"0"==a.dash&&(this.gx=!0);if(c=a.dashmpd){this.Rd=g.Ug(c,{cpn:this.clientPlaybackNonce});
c=/\/(s|ss)\/([^/?]+)/;var e=c.exec(this.Rd);e&&(d="s"==e[1]?"signature":"sig",e=uL(e[2]),this.Rd=this.Rd.replace(c,"/"+d+"/"+e))}if(c=a.delay)this.Ef=Db(c);if(c=a.drm_session_id)this.drmSessionId=c;c=a.end;void 0!=c&&(this.clipEnd=uM(this.clipEnd,c));a.fair_play_cert&&window.atob&&(this.fairPlayCert=(0,window.atob)(a.fair_play_cert));if(c=a.fmt_list)this.fmtList=c;a.fresca_preroll&&this.dd.push("fresca");a.heartbeat_preroll&&this.dd.push("heartbeat");if(c=a.idpj)this.wj=Db(c);if(c=a.ismb)this.sg=
Db(c);if(c=a.is_listed)this.isListed=sM(this.isListed,c);if(c=a.paid_content_overlay_duration_ms)this.dC=Db(c);if(c=a.paid_content_overlay_text)this.zT=c;if(c=a.url_encoded_fmt_stream_map)this.hk=c;if(c=a.hls_formats)this.hlsFormats=c;if(c=a.hlsvp)this.hlsvp=c;if(c=a.length_seconds)this.lengthSeconds=g.v(c)?Db(c):c;if(c=a.live_chunk_readahead)this.liveChunkReadahead=uM(this.liveChunkReadahead,c);if(c=a.live_start_walltime)this.liveStartWalltime=Db(c);if(c=a.live_manifest_duration)this.os=Db(c);if(c=
a.ldpj)this.il=Db(c);if(c=a.player_params)this.playerParams=c;if(c=a.partnerid)this.mf=uM(this.mf,c);if(c=a.probe_url)this.probeUrl=CH(g.Ug(c,{cpn:this.clientPlaybackNonce}));if(c=a.profile_picture)this.profilePicture=vM(c,this.profilePicture);(c=a.pyv_billable_url)&&g.zH(c)&&(this.Fo=c);(c=a.pyv_conv_url)&&g.zH(c)&&(this.Go=c);if(c=a.video_masthead_ad_quartile_urls)this.zs=c.quartile_0_url,this.pz=c.quartile_25_url,this.qz=c.quartile_50_url,this.rz=c.quartile_75_url,this.oz=c.quartile_100_url;"1"==
a.spacecast_playback&&(this.dd.push("spacecast"),this.spacecastModule=!0,this.Ei.DT=!0);if(d=a.spacecast_addrs)this.spacecastModule=!0,c={},c.addresses=d.split(","),c.probe=!0,(d=a.spacecast_query_params)&&(c.applianceQueryParams=d),this.Ei.init=c;0<this.startSeconds||(this.ff=this.startSeconds=uM(this.startSeconds,a.start||a.startSeconds));c=a.live_utc_start;null!=c&&(this.liveUtcStartSeconds=(0,window.parseInt)(c,10));c=a.start;void 0==c||"1"==a.resume||this.ua||(this.clipStart=uM(this.clipStart,
c));if(c=a.two_stage_token)this.zh=c;if(c=a.url_encoded_third_party_media)this.ck=oE(c);if(c=a.watch_ajax_token)this.watchAjaxToken=c;a.ypc_module&&this.dd.push("ypc");a.ypc_clickwrap_module&&this.dd.push("ypc_clickwrap");if(c=a.ypc_offer_button_formatted_text)c=g.lx(c),this.ypcOfferButtonFormattedText=null!=c?c:null;this.Rl=vM(this.Rl,a.ucid);(0,g.B)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(b){a[b]&&(this.xe[b]=a[b])},this);
this.xe.focEnabled=sM(this.xe.focEnabled,a.focEnabled);this.xe.rmktEnabled=sM(this.xe.rmktEnabled,a.rmktEnabled);this.hc=a;xO(this,a,!1);AO(this)?RE()&&(this.ua&&this.Rd?this.Ui=!0:this.fairPlayCert&&(this.hi=!0)):this.adaptiveFormats&&!this.ua?(EO(this,yL(GO(this,this.adaptiveFormats),this.Hc,this.lengthSeconds,void 0)),wL(this.na)&&(this.hi=!0)):this.Rd&&(this.Ui=!0);if(c=a.adpings)this.bw=c?g.nE(c):null;if(c=a.feature)this.Ll=c;if(c=a.referrer)this.referrer=c;if(c=a.multifeed_metadata_list)this.Hh=
oE(c);this.clientScreenNonce=vM(this.clientScreenNonce,a.csn);this.rootVeType=uM(this.rootVeType,a.root_ve_type);this.Un=uM(this.Un,a.kids_age_up_mode);this.vp=sM(this.vp,a.upg_content_filter_mode);if(c=a.unplugged_location_info)this.wd=c;if(c=a.unplugged_partner_opt_out)this.fk=vM("",c);if(c=a.partial_spherical)this.partialSpherical="1"==c;if(c=a.fflags)if(c=g.lE(c).enable_spherical_kabuki)this.mx="true"==c;this.bl=vM(this.bl,a.internal_ip_override);this.hasSubfragmentedFmp4=sM(this.hasSubfragmentedFmp4,
a.sfmp4);this.defraggedFromSubfragments=sM(this.defraggedFromSubfragments,a.dfs);this.liveExperimentalContentId=uM(this.liveExperimentalContentId,a.live_experimental_content_id);if(this.jb){if(c=this.jb.videoDetails)if(c=c.videoId)this.videoId=c;(c=this.jb.interstitialPods)&&c.forEach(function(a){var c=a.interstitials.map(function(a){return a.playerVars||{raw_player_response:a.playerResponseDeserialized}});
switch(a.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":b.Co=b.Co.concat(c);break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":b.Ao=b.Ao.concat(c)}})}(this.Co.length||this.Ao.length)&&this.dd.push("yto")};
g.h.bd=function(){return!this.ua||this.ig};
g.h.tK=function(a){(this.Rf=a)&&"fairplay"==this.Rf.flavor&&(this.Rf.fairPlayCert=this.fairPlayCert);CO(this)};
g.h.kc=function(){return!(!this.na||!this.na.l)};
g.h.OP=function(a){if(!this.ha()){if(this.ep){var b=FL(a,this.ep);b&&(a=b)}EO(this,a);this.ua&&this.na.subscribe("refresh",this.sB,this);(0,g.IQ)("mrc");wL(this.na)&&(this.hi=!0);CO(this)}};
g.h.NP=function(a){this.ha()||(this.ih=!1,this.T("dataloaderror",new g.eN("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.sB=function(){this.ha()||(this.na.isLive||this.na.unsubscribe("refresh",this.sB,this),this.Fw())};
g.h.Fw=function(){var a=this.na.Be(this.ls);0<a.length&&(this.T("cuepointupdated",a),this.ls+=a.length)};
g.h.FK=function(a){if(this.spacecastFormatMap){var b=GO(this,this.spacecastFormatMap);return lN(a,this.isAd(),b,HO(this,a)).then(this.Xo,void 0,this).then(this.Bx,void 0,this)}return fF()};
g.h.CK=function(a,b){var c=b||AO(this);if(this.na&&!c){if(c=!a.deviceHasDisplay||this.Tl&&a.ub){var d=this.na,e=this.ua;if(!d.g["0"]){var f=new gI(0,0,0,void 0,void 0,"auto");f=new lI("0","fakesb",void 0,f,null,null,1);d.g["0"]=e?new bL(new g.FK("http://www.youtube.com/videoplayback"),f,"fake"):new g.pL(new g.FK("http://www.youtube.com/videoplayback"),f,new g.UJ(0,0),new g.UJ(0,0),0,window.NaN)}}d=this.Ep&&a.ub;return bM(a.Y,this.na,this.Rf,!1,Hla(a),c,d).then(this.Yo,void 0,this)}return fF()};
g.h.DK=function(a){if(this.hlsFormats){var b=GO(this,this.hlsFormats);if(!a.experiments.g("html5_hls_select_audio_killswitch")){var c;if(SI||UE()||RE())if(c=gN(b)){var d=[],e={},f;for(f in c)for(var k=g.la(c[f]),l=k.next();!l.done;l=k.next()){var m=l.value;m.Nb&&(l=m.Nb.getId(),e[l]||(m=new cI(l,m.Nb),e[l]=m,d.push(m)))}c=0<d.length?d:null}else c=null;else c=null;this.In=c}c=a.experiments.g("html5_hls_cpn_killswitch")?"":this.clientPlaybackNonce;return Mla(a,this.isAd(),b,this.sg,c).then(this.Xo,
void 0,this)}return fF()};
g.h.GK=function(a){if(this.ck&&this.Wy){var b=this.isAd(),c=Nla(this.ck);a=hJ(c,SM(a,b)).then(this.Xo,void 0,this)}else a=fF();return a};
g.h.EK=function(a){var b=GO(this,this.hk,this.fmtList);if(this.hlsvp){var c=this.hlsvp;var d=this.sg,e={cpn:this.clientPlaybackNonce};-1==c.indexOf("/ibw/")&&(e.ibw=d?String(d):"1369843");c={url:g.Ug(c,e),type:"application/x-mpegURL",quality:"auto",itag:"93"};b.push(c)}return lN(a,this.isAd(),b,HO(this,a)).then(this.Xo,void 0,this)};
g.h.Yo=function(a){this.Ka=a;/^r/.test(this.clientPlaybackNonce)&&this.kc()&&(this.fi=!0);a=this.getAvailableAudioTracks();a=a.concat(this.Nh);for(var b=0;b<this.uk.length;b++)for(var c=this.uk[b],d=0;d<a.length;d++){var e=a[d],f=e.Nb.id==c.audioTrackId;if(e.Nb.isDefault&&b==this.kq||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.Fq=this.captionTracks[c.defaultCaptionTrackIndex]);
g.t(c.forcedCaptionTrackIndex)&&(e.tn=this.captionTracks[c.forcedCaptionTrackIndex]);e.mq=c.visibility||"UNKNOWN"}}};
g.h.Xo=function(a){this.xg=a;this.Yo(new WL((0,g.G)(this.xg,function(a){return a.pg()})))};
g.h.Bx=function(){var a=mk(this.Ka.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.uw=kJ(a.quality,a.quality,!0,"c"))};
g.h.Td=function(){var a={};this.Ha&&(a.fmt=kI(this.Ha),this.Yb&&kI(this.Yb)!=kI(this.Ha)&&(a.afmt=kI(this.Yb)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Fm&&(a.infringe=1);this.ah&&(a.splay=1);this.ua&&(a.live=this.ig?"dvr":"live");this.Il&&(a.autoplay=1);this.Ko&&(a.sdetail=this.Ko);this.mf&&(a.partnerid=this.mf);this.osid&&(a.osid=this.osid);return a};
g.h.getStoryboardFormat=function(){if(this.jb&&this.jb.storyboards){var a=this.jb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.hc.storyboard_spec||this.hc.live_storyboard_spec||null};
g.h.Ce=function(){return this.na&&!(0,window.isNaN)(this.na.Ce())?this.na.Ce():this.kc()?0:this.lengthSeconds};
g.h.Fb=function(){return this.na&&!(0,window.isNaN)(this.na.Fb())?this.na.Fb():0};
g.h.Fd=function(){return!this.ha()&&!(!this.videoId&&!this.ck)};
g.h.Mb=function(){return OO(this)&&!this.Ui&&!this.hi};
g.h.MC=function(){var a={format:"RAW",method:"GET",withCredentials:this.zC};this.Xj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.Yq&&(a.timeout=this.Yq);var b=this.Zq;0<this.Qo&&(b=g.AE(b,{playerretry:this.Qo}));this.Vx?rL(cF,b,a).then(eE(this.yB),eE(this.mQ),this):(a.context=this,a.onSuccess=this.yB,a.onError=this.pr,g.GE(b,a));(0,g.IQ)("vir");fO("vir");this.Ux=g.AG()};
g.h.Xc=function(a,b){if(30==this.mf){var c=this.wh["default.jpg"];return c?c:this.videoId?g.Ug("//docs.google.com/vt",{id:this.videoId,authuser:this.Wc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif"}b||(b="hqdefault.jpg");return(c=this.wh[b])||a.C||"pop1.jpg"==b||"pop2.jpg"==b||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b?c:VM(a,this.videoId,b)};
g.h.yB=function(a){if(!this.ha()){var b=a.responseText;if(b){this.ih=!1;var c=g.nE(b);this.Ty&&nN(c);"fail"==c.status?(this.VC&&this.setData(c),this.T("onStatusFail",c)):((0,g.IQ)("virc"),fO("virc"),(0,g.B)(g.Bva,function(a){a in this.hc&&(c[a]=this.hc[a])},this),this.setData(c),OO(this)?CO(this):this.T("dataloaderror",new g.eN("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.pr(a)}};
g.h.mQ=function(a){this.pr(a.g)};
g.h.pr=function(a){if(!this.ha()){var b=a?a.status:-1;a=this.Qo>=this.fu||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=((g.AG()-this.Ux)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.fu?(c="manifest.net.retryexhausted",b.urllen=String(this.Zq.length)):a||(this.Qo++,this.LC.start());this.T("dataloaderror",new g.eN(c,a,b))}};
g.h.getAvailableAudioTracks=function(){return this.Ka?0<this.Ka.getAvailableAudioTracks().length?this.Ka.getAvailableAudioTracks():this.In||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.Yb&&"application/x-mpegURL"!=this.Yb.mimeType)return g.Ma(this.getAvailableAudioTracks(),function(b){return b.id==a.Yb.id})||this.Nh;
if(this.In){if(!this.Nl)for(var b=g.la(this.In),c=b.next();!c.done;c=b.next())if(c=c.value,c.Nb.isDefault){this.Nl=c;break}return this.Nl||this.Nh}return this.Nh};
g.h.getPlayerResponse=function(){return this.jb};
g.h.getPlaylistId=function(){return null};
g.h.Wb=function(){return this};
g.h.Nk=function(a){return a.getVideoUrl(this.videoId)};
g.h.Pf=function(){return!!this.na&&this.na.Pf()};
g.h.Qf=function(){return!!this.na&&this.na.Qf()};
g.h.Ze=function(){return!!this.na&&this.na.Ze()};
g.h.di=function(){return!!this.na&&this.na.di()};
g.h.isAd=function(){return!!this.adFormat};
g.Bva="oauth_token ypc_buy_url ypc_full_video_message ypc_item_thumbnail ypc_item_title ypc_item_url ypc_module ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_offer_type ypc_overlay_timeout ypc_preview ypc_signin_message ypc_vid".split(" ");jma="author cc_asr cc_load_policy iv_load_policy iv_new_window keywords oauth_token requires_purchase rvs subscribed title ttsurl ypc_buy_url ypc_full_video_length ypc_item_thumbnail ypc_item_title ypc_item_url ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_preview ypc_price_string ypc_video_rental_bar_text".split(" ");
vO=["annotations","captions","storyboard","chapterMarkers"];aP.prototype.isEmpty=function(){return this.endTime==this.startTime};cP.prototype.update=function(){var a=this.l.l()||0,b=g.iP(this.l);if(a!=this.g||gP(this,a,b)){var c;if(!(c=a<this.g||a-this.g>b-this.C+2||gP(this,a,b))){var d=this.l.Td();c=d.volume;var e=c!=this.I;d=d.muted;d!=this.H?(this.H=d,c=!0):(!e||0<=this.B||(this.I=c,this.B=b),c=b-this.B,0<=this.B&&2<c?(this.B=-1,c=!0):c=!1)}c&&(g.dP(this),this.o=a);this.C=b;this.g=a}};var kP={other:1,none:2,wifi:3,cellular:7};g.QP=g.Lf(function(){var a="";try{var b=g.Ed("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});var Qoa={zW:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",GW:"ERROR_AUTHENTICATION_MALFORMED",HW:"ERROR_AUTHENTICATION_MISSING",LW:"ERROR_BAD_REQUEST",nX:"ERROR_CGI_PARAMS_MALFORMED",oX:"ERROR_CGI_PARAMS_MISSING",UX:"YTP_DEVICE_FALLBACK",wY:"YTP_ERROR_LICENSE",xY:"YTP_ERROR_VIDEO_UNAVAILABLE",KY:"YTP_ERROR_FORMAT_UNAVALIABLE",NY:"YTP_ERROR_GEO_FAILURE",fZ:"YTP_ERROR_GENERIC_WITHOUT_LINK",gZ:"YTP_HTML5_FLASH_DEPRECATED",hZ:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
yZ:"YTP_ERROR_INVALID_DRM_MESSAGE",s0:"YTP_ERROR_PURCHASE_NOT_FOUND",t0:"YTP_ERROR_PURCHASE_REFUNDED",z0:"YTP_ERROR_RENTAL_EXPIRED",iX:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",jX:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",lX:"YTP_ERROR_CAST_TOKEN_FAILED",kX:"YTP_ERROR_CAST_TOKEN_EXPIRED",mX:"YTP_ERROR_CAST_TOKEN_MALFORMED",U0:"YTP_ERROR_SERVER_ERROR",v1:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",B1:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",z1:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",A1:"YTP_ERROR_STREAMING_NOT_ALLOWED",
I0:"YTP_ERROR_RETRYABLE_ERROR",Q1:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",P1:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",w2:"YTP_ERROR_UNSUPPORTED_DEVICE",M2:"YTP_ERROR_VIDEO_FORBIDDEN",O2:"YTP_ERROR_VIDEO_NOT_FOUND"},qma={300:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",303:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",304:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",305:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"YTP_ERROR_VIDEO_NOT_FOUND",401:"YTP_ERROR_GEO_FAILURE",
402:"YTP_ERROR_STREAMING_NOT_ALLOWED",403:"YTP_ERROR_UNSUPPORTED_DEVICE",405:"YTP_ERROR_VIDEO_FORBIDDEN",500:"YTP_ERROR_PURCHASE_NOT_FOUND",501:"YTP_ERROR_RENTAL_EXPIRED",502:"YTP_ERROR_PURCHASE_REFUNDED",5E3:"ERROR_BAD_REQUEST",5001:"ERROR_CGI_PARAMS_MISSING",5002:"ERROR_CGI_PARAMS_MALFORMED",5100:"ERROR_AUTHENTICATION_MISSING",5101:"ERROR_AUTHENTICATION_MALFORMED",5102:"ERROR_AUTHENTICATION_EXPIRED",5200:"YTP_ERROR_CAST_TOKEN_MALFORMED",5201:"YTP_ERROR_CAST_TOKEN_EXPIRED",5202:"YTP_ERROR_CAST_TOKEN_FAILED",
5203:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",5204:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",6E3:"YTP_ERROR_INVALID_DRM_MESSAGE",7E3:"YTP_ERROR_SERVER_ERROR",8E3:"YTP_ERROR_RETRYABLE_ERROR"};var Cva=r1&&4>z_?.1:0,xta=new nP;nP.prototype.g=null;nP.prototype.getDuration=function(){return this.duration||0};
nP.prototype.getCurrentTime=function(){return this.currentTime||0};
nP.prototype.l=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.p(oP,g.K);g.h=oP.prototype;g.h.pd=function(){this.g.ended&&this.ac(0);!this.Ud()&&this.l&&(g.dE(Error("playVideo without src")),rP(this,this.l.g),this.l.l||this.load());var a=this.play();!a&&r1&&7<=z_&&UF(this,"playing",(0,g.z)(function(){g.iE((0,g.z)(this.Ex,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.Ex=function(a,b){this.g.paused||this.getCurrentTime()>a||10<b||(this.play(),g.iE((0,g.z)(this.Ex,this,this.getCurrentTime(),b+1),500))};
g.h.ac=function(a){0<this.g.readyState&&(r1&&4>z_&&(a=Math.max(.1,a)),this.g.currentTime=a)};
g.h.Le=function(){!this.o&&this.Ud()&&(SI&&0<this.getCurrentTime()&&this.ac(0),this.g.removeAttribute("src"),this.load(),qP(this,null))};
g.h.addEventListener=function(a,b){this.B.U(a,b,!1,this);if(!this.A[a]){var c=(0,g.z)(this.HL,this);this.g.addEventListener(a,c);this.A[a]=c}};
g.h.removeEventListener=function(a,b){this.B.Aa(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.B.dispatchEvent(a)};
g.h.Iw=function(){this.C&&!this.g.muted&&(HI(),this.g.muted=!0)};
g.h.V=function(){this.D&&this.removeEventListener("volumechange",this.Iw);g.K.prototype.V.call(this)};g.p(AP,g.ef);AP.prototype.preventDefault=function(){g.ef.prototype.preventDefault.call(this);this.g&&this.g.preventDefault()};
AP.prototype.stopPropagation=function(){g.ef.prototype.stopPropagation.call(this);this.g&&this.g.stopPropagation()};g.DP.prototype.gb=function(){return g.W(this,8)&&!g.W(this,64)&&!g.W(this,2)};
g.DP.prototype.isError=function(){return g.W(this,128)};
var EP=!1;g.p(UP,g.K);
UP.prototype.B=function(a){if(!this.ha()&&(a=0<=a?a:g.iP(this.g),-1<(this.g.g.experiments.g("html5_report_all_states")?["PL","B","S"]:["PL"]).indexOf(this.o)&&(!g.Yb(this.l)||a>=this.A+30)&&(g.TP(this,a,"vps",[this.o]),this.A=a),!g.Yb(this.l)&&!this.ma)){XP(this,a);var b=a,c=this.g.D(),d=c.droppedVideoFrames,e=d-this.Z;if(d>c.totalVideoFrames||5E3<e)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else 0<e&&g.TP(this,b,"df",[e]);this.Z=d;!this.g.g.experiments.g("disable_webgl_reporting")&&0<
this.C&&(g.TP(this,a,"glf",[this.C]),this.C=0);a={event:"streamingstats"};this.g.videoData.Ha&&(a.fmt=kI(this.g.videoData.Ha),(b=this.g.videoData.Yb)&&kI(b)!=a.fmt&&(a.afmt=kI(b)));a.cpn=this.g.videoData.clientPlaybackNonce;a.ei=this.g.videoData.eventId;a.el=UO(this.g.videoData,this.g.g);a.docid=this.g.videoData.videoId;a.ns=this.g.g.Ca;a.fexp=this.g.g.experiments.experimentIds.toString();a.cl=this.g.g.ya;this.g.videoData.adFormat&&(a.adformat=this.g.videoData.adFormat);this.g.videoData.ua&&(a.live=
this.g.videoData.ig?"dvr":"live");a.seq=this.I++;if(!this.g.g.experiments.g("html5_prevent_qoe_spam_killswitch")&&(7E3==this.I&&g.dE(Error("Sent over 7000 pings"),"WARNING"),7E3<=this.I))return;g.fc(a,this.g.g.o);a=g.Ug("//"+this.g.g.Hg+"/api/stats/qoe",a);c=b="";for(var f in this.l)null==this.l[f]?g.dE(Error("Stats report key has invalid value: "+f),"WARNING"):(d="&"+f+"="+this.l[f].join(","),100<d.length?c+=d:b+=d);this.g.g.experiments.g("html5_qoe_post")?$E(a+b,void 0,c.replace(/ /g,"%20")):$E(a+
b+c);this.l={}}};
UP.prototype.ia=function(){if(this.g.videoData.Rf){var a=this.g.videoData.Rf;$P(this,"drm-"+a.flavor);$P(this,"eme-"+(a.l?"final":PL(a)?"ms":"com.youtube.fairplay"==a.g?"ytfp":TL(a)?"safarifp":"nonfinal"))}};
UP.prototype.onError=function(a,b){var c=g.iP(this.g);ZP(this,c,a,b);XP(this,c);YP(this)};
UP.prototype.V=function(){g.K.prototype.V.call(this);window.clearInterval(this.Y)};
var t1={},vma=(t1[5]="N",t1[-1]="N",t1[3]="B",t1[0]="EN",t1[2]="PA",t1[1]="PL",t1);aQ.prototype.send=function(a){if(!this.R){var b=dQ(this);b=g.Ug(this.Ya,b);if(this.D)this.I&&(a={method:"POST",Kb:{atr:this.I}},this.Xj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.GE(b,a));else{var c=bQ(this,a);c?g.GE(b,c):g.YE(b,a)}this.R=!0}};
aQ.prototype.g=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.p(fQ,g.K);g.h=fQ.prototype;g.h.QP=function(a,b){if(!this.ha()){this.D=window.NaN;this.o.update();var c=fP(this.o),d=yQ(this,c);b&&(d.C=a);var e=400<this.I;!(1<c.length)&&c[0].isEmpty()||e||(d.l=wQ(this,!0,a));d.send();this.I++}};
g.h.onError=function(a,b){if(!this.ha())this.l.onError(a,b)};
g.h.Uo=function(a){var b=this.g.g,c=this.g.videoData,d={ns:b.Ca,el:UO(c,b),eurl:b.ma,fmt:c.Ha?kI(c.Ha):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.g.l(),video_id:c.videoId,metric:a};XO(c,b)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=eP(this.o));g.Fa(d,b.o);AQ(this,g.Ug(b.experiments.g("cardio_base_url_killswitch")?(b.l?b.protocol+"://www.youtube.com/":b.baseYtUrl)+"live_204":b.baseYtUrl+"live_204",d))};
g.h.Ua=function(){};
g.h.V=function(){g.K.prototype.V.call(this);g.kE(this.D);this.D=window.NaN;var a=this.o;window.clearInterval(a.D);a.D=window.NaN;g.kE(this.A)};g.p(FQ,RH);g.h=FQ.prototype;g.h.Qa=function(){return g.JU(this.app)};
g.h.Nz=function(a,b,c,d,e){return bua(this.app,a,b,c,d,e)};
g.h.gM=function(a,b,c){this.app.g.B.add(a,{Jh:b,ek:c})};
g.h.iM=function(a,b){m0(this.app,a,b||this.playerType)};
g.h.jh=function(a){return e0(this.app,a)};
g.h.tl=function(a,b,c,d){i0(this.app,a,c||this.playerType,b,d)};
g.h.Zz=function(a,b,c){var d=b||this.playerType;b=this.app;d=void 0===d?1:d;c=void 0===c?!1:c;var e=xM(a);b.ma.get(d+e)||b.D&&b.D.getVideoData().videoId==e||(b.g.jc&&nN(a),a=new g.uO(a),b.ma.get(d+a.videoId)||(a.Bo=!0,c?(c=g.LU(b,d),j0(b,d)):c=Ota(b,d),XT(c,a,(0,g.z)(b.Td,b)),b.g.experiments.g("unplugged_tvhtml5_video_preload_on_focus")&&1==d||aU(c,!0),b.ma.set(d+a.videoId,c),b="prefetch_"+a.videoId,XN("prefetch",["pfp"],void 0,b),(0,g.JQ)("docid",a.videoId,b),(0,g.JQ)("plt",d,b)))};
g.h.Gj=function(a,b){q0(this.app,a,b)};
g.h.rl=function(a){aua(this.app,a)};
g.h.ie=function(a,b,c){fua(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.KM=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.ee()])&&c.encrypted_id!=b.Wb().videoId||(a.index=b.ee())):X_(this.app,{list:a.list,index:a.index,playlist_length:c.length});VQ(this.app.C,a);this.ra("onPlaylistUpdate")}}else a=this.app,Y_(a),a.l.ra("onPlaylistUpdate")};
g.h.JM=function(){JG()};
g.h.LM=function(a,b){var c=g.LU(this.app,this.playerType||1);c&&c.getVideoData().Dg(a,b)};
g.h.getPlayerResponse=function(){var a=g.LU(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return this.app.getVideoData().getStoryboardFormat()};
g.h.pM=function(a,b){var c=g.MO(this.app.getVideoData());if(!c)return null;c=c.g[b];return c?(c=g.pN(c,a))?{column:c.column,columns:c.columns,height:c.height,row:c.row,rows:c.rows,url:c.url,width:c.width}:null:null};
g.h.qM=function(a,b){var c=g.MO(this.app.getVideoData());return c?(c=c.g[b])?c.Ij(a):-1:-1};
g.h.rM=function(a){var b=g.MO(this.app.getVideoData());return b?(b=b.g[a])?{index:a,intervalMs:b.l,maxFrameIndex:b.xl(),minFrameIndex:b.oo()}:null:null};
g.h.nM=function(){var a=g.MO(this.app.getVideoData());return a?a.g.length:0};
g.h.lM=function(){var a=this.app.g;return{jc:a.jc,ub:a.ub}};
g.h.getVideoData=function(){var a=RH.prototype.getVideoData.call(this),b=g.LU(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.hasVideoContentProtection=!!g.IO(b),a.isLive=b.ua,a.itct=b.xj,a.paidContentOverlayText=JO(b),a.paidContentOverlayDurationMs=KO(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds));return a};
g.h.getCurrentTime=function(a){return a?this.app.getCurrentTime(a):RH.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a){return a?this.app.getDuration(a):RH.prototype.getDuration.call(this)};
g.h.kh=function(a){if(3==this.Qa())return g.KU(this.app.A).cN();var b=this.app.getVideoData(),c=g.LU(this.app,a)||g.LU(this.app),d=this.app.bd(),e=b.clipEnd;b=b.clipStart;var f=this.getCurrentTime(a);a=this.getDuration(a);var k=zU(c),l=pU(c),m=g.LU(this.app,void 0);if(m){var n=window.NaN;m.l&&(n=wP(m.l));m=0<=n?n:m.getCurrentTime()}else m=0;return{allowSeeking:d,clipEnd:e,clipStart:b,current:f,displayedStart:-1,duration:a,ingestionTime:k,isPeggedToLive:l,loaded:m,seekableEnd:gpa(c),seekableStart:c.Fb()}};
g.h.Os=function(a){return Qta(this.app,a)};
g.h.hM=function(a){return V_(a)};
g.h.aA=function(a,b){var c=g.LU(this.app,this.playerType);if(c){var d=kJ(a,b||a,!0,"m");c.g.xp=d;a:{var e=c.g;if(e.Ka){if(!c.N.g.experiments.g("html5_appletv_quality_selection_killswitch")&&!e.Ka.g)break a;var f=g.fI[nH()];e=e.Ka.videoInfos[0].video.l;if(f>e&&0!=e&&d.g==e)break a}g.gH("yt-player-quality",oJ(d),2592E3)}sU(c,"m")}};
g.h.kM=function(){var a=this.app.getVideoData();var b=this.app.getCurrentTime();if(a.na&&a.ua&&a.Ha){var c=a.na.g[a.Ha.id];c&&c.index?(a=c.index.Tg(b),c=c.index.Xd(a),b={sequence:a,elapsed:Math.floor(1E3*(b-c))}):b=null}else b=null;return b};
g.h.pi=function(a){var b=this.app,c=g.LU(b,this.playerType);c&&b.g.Ta.has(a.toString())&&c.C&&(b=xQ(c.C,"engage"),b.o=a,b.send(void 0))};
g.h.ul=function(a,b,c){var d=this.app.A.A;d&&d.nl()&&d.Gs(a,b,c)};
g.h.uM=function(a,b){var c=g.YH(this);c&&c.Ks(a,b)};
g.h.getAudioTrack=function(){var a=g.LU(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().Nh};
g.h.Ts=function(a){3==this.Qa()&&g.KU(this.app.A).vl("control_set_audio_track",a);var b=g.LU(this.app,this.playerType);if(b&&!b.ha()&&!g.W(b.A,128))if(b.g.Ka.g){if(b=b.B,!b.ha()){var c=b.D;a=a.id;c.F="m";c.C=c.D.g[a];c.L=c.C;b.T("audioformatchange",new WQ(c.L,c.B,c.F));b.T("reattachrequired")}}else{a:if(c=b.g,"application/x-mpegURL"!=c.Yb.mimeType||a==c.Nl||!c.xg||0>=c.xg.length)c=!1;else{for(var d=g.la(c.xg),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof iN)){c=!1;break a}var f=a.Nb.getId();
e.o&&(e.o.l=f,e.l=null)}c.Nl=a;c=!0}c&&(b.g.Yb&&hU(b,"m",b.g.Yb),qU(b)&&b.Ec("hlsaudio",a.id))}};
g.h.getAvailableAudioTracks=function(){return g.LU(this.app,this.playerType).getAvailableAudioTracks()};
g.h.mM=function(){var a=g.LU(this.app,this.playerType);return a&&a.getVideoData().Ha?oJ(yT(a.N,a.g)):"unknown"};
g.h.sM=function(){var a=g.LU(this.app,this.playerType);return a?a.o.experiments.g("html5_appletv_quality_selection_killswitch")||!a.g.Ka||a.g.Ka.g?nH():oJ(a.g.xp):"auto"};
g.h.EM=function(a,b){var c=this.app;c.ae=a;c.Pb=b;c.l.T("sizestylechange",a,b);c.F.hf()};
g.h.jM=function(){var a=this.app.A.F;a&&a.eI()};
g.h.bA=function(){var a=g.YH(this);a&&a.eo(!0)};
g.h.Xz=function(){var a=g.YH(this);a&&a.eo(!1)};
g.h.oi=function(){var a=this.app.g;a=g.BY(this.app)&&!a.experiments.g("kevlar_miniplayer_disable_vis");var b=this.isFullscreen()||JM(this.app.g),c=this.Yz();return this.ol()?4:HT()?3:b?2:a?1:c?5:0};
g.h.isFullscreen=function(){return this.app.isFullscreen()};
g.h.Yz=function(){var a=this.app;return a.g.experiments.g("html5_new_vis")?a.ca.g:a.Md};
g.h.ol=function(){var a=g.LU(this.app,this.playerType);return!!a&&a.za};
g.h.IM=function(){return!0};
g.h.Wz=function(a){a=g.F_(this.app.F,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.DM=function(a){this.app.g.enableSafetyMode=a};
g.h.HM=function(a){if(this.app.g.qb!=a){this.app.g.qb=a;var b=g.LU(this.app,this.playerType);b&&sU(b,a?"e":"a")}};
g.h.yM=function(a){zF();s0(this.app,a?2:0)};
g.h.Qs=function(){var a=this.app.A.B;a&&a.created&&a.destroy();(a=g.LU(this.app))&&xU(a);(a=this.app.A.H)&&a.lK()&&g.IU(this.app.H,!0)};
g.h.Le=function(){var a=this.app.g;!a.experiments.g("disable_new_pause_state3")&&YM(a)&&"blazer"!=a.playerStyle?this.Qs():RH.prototype.Le.call(this)};
g.h.Wx=function(){return AU(g.LU(this.app,this.playerType),!0)};
g.h.ko=function(a){this.app.A.l.Cu(a,!0)};
g.h.ni=function(){var a=this.app.A.l;return a?a.Vq():null};
g.h.Ss=function(){this.app.A.l.BC()};
g.h.vM=function(){var a=g.LU(this.app,this.playerType);if(!a)return!1;a=a.getVideoData();return!!a&&a.Fd()&&!!a.Ha&&a.Ha.video.isAccelerated&&a.Ha.video.o};
g.h.isPeggedToLive=function(a){return this.app.isPeggedToLive(void 0===a?!0:a)};
g.h.CM=function(a){var b=this.app;b.yd=a;var c=b.ca;c.l!=a&&(c.l=a,c.o());a=b.A;(a=g.X(a.g).useMiniplayerUi?a.Z:null)&&(g.BY(b)?a.load():a.unload());b.l.T("minimized")};
g.h.AM=function(a){var b=this.app;b.Md=a;b=b.ca;b.g!=a&&(b.g=a,b.o())};
g.h.pl=function(a){return d0(this.app,a)};
g.h.jo=function(a){if(a){var b=this.app.A.o;b&&b.Lz(a,!1)}};
g.h.FM=function(a){this.jo(a)};
g.h.oM=function(){return this.fo()};
g.h.fo=function(){var a=this.app.A.o;return a?a.Kz():{}};
g.h.xM=function(a){var b=this.app;b.g.Jg=a;b.D&&(a=b.D,a.C&&g.dP(a.C.o),b.g.I&&hua(b))};
g.h.wM=function(){};
g.h.setVolume=function(a,b){VH(this,a,b)};
g.h.mute=function(a){WH(this,a)};
g.h.Xf=function(a){XH(this,a)};
g.h.mK=function(){return this.app.Y};
g.h.Fj=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&!b.loaded&&b.load()}RH.prototype.Fj.call(this,a)};
g.h.sl=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&b.loaded&&b.unload()}RH.prototype.sl.call(this,a)};
g.h.Gd=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(a=d.B)&&a.iA&&a.iA(b,c);case "remote":return(a=g.KU(d))&&a.bN(b,c);case "unplugged":return(a=g.XM(g.X(d.g))?d.C:null)&&a.B(b,c);case "spacecast":return(c=d.R)&&c.C(b);case "annotations_module":return(a=d.A)&&a.ZK(b,c);case "creatorendscreen":return(a=d.D)&&a.gL(b,c)}return RH.prototype.Gd.call(this,a,b,c)};
g.h.mi=function(a){var b=this.app.A;switch(a){case "ad":return(b=b.B)&&b.gN&&"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ");case "remote":return g.KU(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.A)&&b.aL();case "creatorendscreen":return(b=b.D)&&b.hL();case "unplugged":return(g.XM(g.X(b.g))?b.C:null)&&"settingsMenuShown hideSettingsMenu showSettingsMenu getStoryboardFrameData getStoryboardFrameIndex getStoryboardFrameIntervalSeconds getStoryboardMaxFrameIndex".split(" ")}return a?
RH.prototype.mi.call(this,a):(a=RH.prototype.mi.call(this),b.B&&a.push("ad"),g.KU(b)&&a.push("remote"),b.A&&a.push("annotations_module"),b.D&&a.push("creatorendscreen"),g.XM(g.X(b.g))&&b.C&&a.push("unplugged"),a)};
g.h.Rs=function(){var a=this.app.F.Ia();return{width:a.width,height:a.height}};
g.h.zM=function(a){var b=this.app.F;b.K=wM(a,!0);b.hf()};
g.h.dV=function(){var a=g.YH(this);a&&a.Ms()};
g.h.tM=function(){return g.E_(this.app.F)};
g.h.GM=function(a){var b=this.app.F;b.X!=a&&(b.X=a,b.hf())};
g.h.BM=function(a,b){var c=this.app.F,d=new g.kd(a,b);g.ld(c.B,d)||(c.B=d,c.hf())};g.p(GQ,FQ);g.h=GQ.prototype;g.h.pd=function(){k0(this.app,!0,this.playerType);VX(this.app,this.playerType)};
g.h.cd=function(){XX(this.app,this.playerType)};
g.h.ie=function(a,b,c){k0(this.app,!0,this.playerType);var d=this.app,e=this.playerType;YX(d,d.getCurrentTime()+a,b,c,e)};
g.h.ac=function(a,b){k0(this.app,!0,this.playerType);YX(this.app,a,b,void 0,this.playerType)};
g.h.Le=function(){eua(this.app)};HQ.prototype.reset=function(){SN("")};
HQ.prototype.g=function(a,b){(0,g.IQ)(a,b,"")};
HQ.prototype.info=function(a,b){(0,g.JQ)(a,b,"")};g.p(g.LQ,g.K);g.LQ.prototype.getId=function(){return this.Ba};
g.LQ.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.Ba+"}["+MQ(this.start)+", "+MQ(this.end)+"]"};
g.LQ.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 yma=1;g.LQ.prototype.getId=g.LQ.prototype.getId;g.OQ.prototype.toString=function(){return this.type+this.id};g.p(g.QQ,g.aG);g.h=g.QQ.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.Bb+1<this.gh};
g.h.Mf=function(a){return this.loop||!!a||0<=this.Bb-1};
g.h.Wb=function(a,b,c){a=void 0!=a?a:this.Bb;a=this.Ga&&a in this.Ga?this.Ga[this.Zd[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.uO(a),g.L(this,d),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.jD=a;a=this.Zd&&null!=this.Zd[this.Bb]?this.Zd[this.Bb]:this.Bb;this.Zd=[];for(var b=0;b<this.Ga.length;b++)this.Zd.push(b);this.Bb=a;this.Wn++;if(this.jD){a=this.Zd[this.Bb];for(b=1;b<this.Zd.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.Zd[b];this.Zd[b]=this.Zd[c];this.Zd[c]=d}for(b=0;b<this.Zd.length;b++)this.Zd[b]==a&&(this.Bb=b);this.Wn++}this.T("shuffle")};
g.h.Xc=function(a,b){b=b||"hqdefault.jpg";var c=this.wh[b];if(c||a.C||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b)return c;if(this.sD.length)return VM(a,this.sD[0],b)};
g.h.ee=function(){return this.Bb};
g.h.getLength=function(){return this.gh};
g.h.Ek=function(a){if(a&&(a=a.videoId,!this.Ga[this.Bb]||this.Ga[this.Bb].video_id!=a))for(var b=0;b<this.Ga.length;b++)if(this.Ga[b].video_id==a){this.Bb=b;break}};
g.h.onReady=function(a){this.Kl=a;this.Qc&&g.iE(this.Kl,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Nk=function(a){return a.getVideoUrl(this.Wb().videoId,this.getPlaylistId())};
g.h.V=function(){this.Kl=null;g.df(this.Ga);g.aG.prototype.V.call(this)};XQ.prototype.add=function(a){this.g=(this.g+1)%this.l.length;this.l[this.g]=a};
XQ.prototype.clear=function(){for(var a=this.l.length,b=0;b<a;b++)this.l[b]=0;this.o=this.g=this.l.length-1};g.p(bR,g.aG);bR.prototype.isPeggedToLive=function(){return this.C};kR.prototype.reset=function(){this.W=nR(this);mR(this);this.g=new jR(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.H=window.NaN;this.l=this.I=0;this.N=!1};
kR.prototype.process=function(a){var b=!1;if(this.A.length){if(qR(this)&&this.A.length+a.byteLength<this.B)return rR(this,a,0),0;b=this.A.length;var c=new window.Uint8Array(b+a.byteLength);c.set(this.A,0);c.set(new window.Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.A=[];a=new window.DataView(c.buffer);b=!0}for(var d=c=0;c<a.byteLength;){var e=a.byteLength-c,f=window.NaN;if(qR(this)){if(e<this.B)return rR(this,a,c),0;switch(this.g.type){case 0:f=oR(this,a,c);b||0!=c||(d=this.g.type);break;
case 1836019574:case 1836019558:f=oR(this,a,c);break;case 1953653094:e=a;f=c;this.I||(this.I=GJ(sR(this,e,f),this.l));f=oR(this,e,f);break;case 1836476516:this.l=IJ(sR(this,a,c));pR(this);f=this.g.size-8;break;case 1952867444:e=void 0;(0,window.isNaN)(this.C)||(f=sR(this,a,c),this.D.Ad?e=this.Y(OJ(f),this.l):e=this.D.X?this.C:OJ(f),this.D.X&&NJ(f,e),(0,window.isNaN)(this.F)&&(this.F=e),this.C+=this.I,this.R+=this.I);f=this.g.size-8;break;case 1936286840:e=sR(this,a,c),f=QJ(e),this.l=PJ(e),pR(this),
this.I=f,f=this.g.size-8}}else f=Math.min(this.B,e);this.g.offset+=f;this.B-=f;c+=f;if(0==this.B){for(;0!=this.g.type&&this.g.offset==this.g.size&&this.g.g;)1835295092==this.g.type&&(this.N=!0),this.g.g.offset+=this.g.size,this.g=this.g.g;switch(this.g.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.B=8;break;default:this.B=this.g.size-8}}}0<a.byteLength&&this.o.push(a);return d};var Mma=0;g.h=FR.prototype;g.h.JT=function(a){this.status=a.status;a.ok?(this.C=a.body.getReader(),this.B?(this.I=a.headers,this.R(),this.o=new window.Uint8Array(HR(this)),LR(this)):this.C.cancel("Cancelling")):NR(this)};
g.h.uP=function(a){if(this.B){var b;window.performance&&window.performance.now&&(b=window.performance.now());var c=(0,g.F)(),d=a.value?a.value:null;(0,g.F)();a.done?(this.C=null,NR(this)):(MR(this)?(KR(this,d),this.B(c,this.l,b)):(a=this.l,this.D.rv&&(a+=d.length),this.B(c,a,b),KR(this,d)),LR(this))}};
g.h.gA=function(a){this.K=""+a;this.F=!0;NR(this)};
g.h.Yd=function(a){return this.I.get(a)};
g.h.Uk=function(){return!!this.I};
g.h.Kq=function(){return this.l};
g.h.yn=function(){return+this.Yd("content-length")};
g.h.ly=function(){return 200<=this.status&&300>this.status&&!!this.l};
g.h.gi=function(){return!!this.A.length||(this.H||MR(this))&&0<this.g};
g.h.fD=function(){this.gi();this.A.length||IR(this);return this.A.shift()};
g.h.cA=function(){this.gi();this.A.length||IR(this);return this.A[0]};
g.h.abort=function(){this.C&&this.C.cancel("Cancelling");this.N=this.B=null};
g.h.oD=function(){return!0};
g.h.uC=function(){return this.F};
g.h.Vs=function(){return this.K};g.h=OR.prototype;g.h.NM=function(){if(!this.l){this.status=this.g.status;try{this.response=this.g.response}catch(a){}this.o=!0;this.A()}};
g.h.PM=function(){2==this.g.readyState&&this.B()};
g.h.OM=function(a){this.l||(this.status=this.g.status,this.C(a.timeStamp,a.loaded))};
g.h.Uk=function(){return 2<=this.g.readyState};
g.h.Yd=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.dE(b),""}};
g.h.yn=function(){return+this.Yd("content-length")};
g.h.Kq=function(){return this.response.byteLength};
g.h.ly=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.gi=function(){return this.o&&!!this.response&&!!this.response.byteLength};
g.h.fD=function(){this.gi();var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.cA=function(){this.gi();return new window.Uint8Array(this.response)};
g.h.abort=function(){this.l=!0;this.g.abort()};
g.h.oD=function(){return!1};
g.h.uC=function(){return!1};
g.h.Vs=function(){return""};g.h=PR.prototype;g.h.Oa=function(){return this.A?this.A.Oa():""};
g.h.Ub=function(){return this.B};
g.h.start=function(a){TR(this,2);this.N=uva++;this.l?(this.K=Oka(this.info,this.l.o,this.l.length),this.A=g.YK(this.info,this.o,this.W,this.K)):(this.K=this.info.range,this.A=g.YK(this.info,this.o,this.W));var b=!1;if(this.o.za&&2>this.info.l.g&&this.H){var c=this.A.get("aitags");if(c&&(XK(this.info)||WK(this.info))&&this.Y&&"auto"==nH()&&pH()){var d=qb(c).split(","),e=[];(0,g.B)(this.Y,function(a){g.Qa(d,a)&&e.push(a)});
0<e.length&&(this.A.set("altitags",g.pb(e.join(","))),b=!0)}}b||(this.H=!1);this.A.set("rn",this.N.toString());0<=a&&this.A.set("rbuf",(1E3*a).toFixed().toString());a=this.A.Oa();try{this.g=Oma(this,a)}catch(f){this.B="net.ssl";UR(this);return}0<this.o.K&&this.R.start()};
g.h.sT=function(){this.D=0;this.info.l.A=g.AG();var a=SR(this);a.A=g.AG();a.o+=1;a=this.timing;a.g=(0,g.F)();a.C=a.g;a.o=0;a.da=a.g;a.R=0;a.F&&(a.F=[]);a.ea=!1;a.fa=!1;a.B=0;a.Z=pM(a.l);a.H=window.Infinity;a.K=window.Infinity;CR(a);ER(a,a.g);a.X=(a.N-a.g)/1E3;a.I=window.NaN;a.Y=null};
g.h.rT=function(a,b,c){if(!this.ha()){this.C=this.g.status;bS(this,!1);var d=this.timing;a=a>d.g&&4E12>a?a:(0,g.F)();AR(d,a,b);50>a-d.C&&BR(d)&&3!=vR(d)||zR(d,a,b,c);b=this.timing;b.o>b.ya&&wR(b,b.o)&&4>this.state?TR(this,4):ZR(this)&&aS(this)&&TR(this,Math.max(3,this.state))}};
g.h.qT=function(){if(!this.ha()){if(!this.L&&this.g.Uk()&&this.g.Yd("X-Walltime-Ms")){var a=(0,window.parseInt)(this.g.Yd("X-Walltime-Ms"),10);this.L=((0,g.F)()-a)/1E3}this.g.Uk()&&this.g.Yd("X-Restrict-Formats-Hint")&&this.o.ov&&!pH()&&g.gH("yt-player-headers-readable",!0,2592E3)}};
g.h.pT=function(){var a=this.g;if(!this.ha()&&a){this.R.stop();this.C=a.status;var b=!1;if(400<=a.status)b=!0,this.B="net.badstatus";else if(a.ly()){var c="";$R(this)&&(c=a.cA(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=xH(c)?c:""));if(c){a=SR(this);g.AG();a.o=0;a.l=0;a.g=0;a=this.info;var d=this.A;g.UK(a.l,d,c);a.requestId=d.get("req_id");TR(this,5)}else if(c=a.Kq(),(d=!!this.K&&this.K.length)&&d!=c||a.uC())b=!0,this.B="net.closed";else{bS(this,!0);var e=YR(this)?this.g.Yd("X-Bandwidth-Est"):
0;if(a=YR(this)?this.g.Yd("X-Bandwidth-Est3"):0)this.X=!0,this.o.FD&&(e=a);a=this.timing;d=(0,g.F)();e=e?(0,window.parseInt)(e,10):0;if(!a.ea){a.ea=!0;d=d>a.g&&4E12>d?d:(0,g.F)();AR(a,d,c);zR(a,d,c);var f=vR(a);if(2==f&&e)yR(a,a.o/e,a.o);else if(2==f||1==f)e=(d-a.g)/1E3,(e<=a.l.policy.B||!a.l.policy.B)&&!a.fa&&BR(a)&&yR(a,e,c),BR(a)&&kM(a.l,c,a.B);c=a.l;d=(d-a.g)/1E3;e=a.X;f=WK(a.W);c.C.g(d,a.o/d);c.o=g.AG();f||c.l.g(1,d-e);a.A&&(a.A=!1)}a=SR(this);g.AG();a.o=0;a.l=0;a.g=0;this.info.l.g=0;TR(this,
6)}}else b=!0,this.B=204==a.status?"net.nocontent":"net.connect";b&&UR(this)}};
g.h.UT=function(){if(!this.ha()){var a=(0,g.F)(),b=!1;BR(this.timing)?(a=this.timing.N,ER(this.timing),this.timing.N-a>=.8*this.o.K?(this.D++,b=5<=this.D):this.D=0):(b=this.timing,b.D&&DR(b,(0,g.F)()),a-=b.L,this.o.Kd&&0<a&&(this.D+=1),b=a>1E3*this.o.wc);this.D&&this.F&&this.F(this);b?XR(this):this.R.start()}};
g.h.ha=function(){return-1==this.state};
g.h.dispose=function(){WK(this.info)&&6!=this.state&&(this.info.g[0].g.C=!1);TR(this,-1);this.F=null;this.R.dispose();WR(this)};
PR.DEBUG=!1;g.p(eS,g.aG);pS.prototype.R=function(a,b){switch(b.info.type){case 1:case 2:this.L(b);break;case 4:var c=b.info.g.Ez(b),d=b.info,e=this.g;e&&e.g==d.g&&e.type==d.type&&(d.range&&e.range?e.range.start==d.range.start&&e.range.end==d.range.end:e.range==d.range)&&e.sa==d.sa&&e.l==d.l&&e.Wa==d.Wa&&(this.g=g.Ja(c).info);(0,g.B)(c,(0,g.z)(this.R,this,a));break;case 3:Sma(this.o,a,b)}};
pS.prototype.L=function(a){var b=this.o;if(1==a.info.type){var c=xK(a);mI(a.info.g.info)&&!nI(a.info.g.info)&&(nK(new gK(c)),mK(21936,c));if(!b.o.UD&&nI(a.info.g.info)&&"bt2020"==a.info.g.info.video.primaries){var d=new gK(c);iK(d,[408125543,374648427,174,224,21936,21937])&&(d=d.o+d.g,129==c.getUint8(d)&&1==c.getUint8(d+1)&&c.setUint8(d+1,9))}a.info.g.info.video&&aL(a.info.g,c);2==a.info.g.info.containerType&&a.info.g.info.video&&oK(c);kS(b,a)&&g.oI(a.info.g.info)&&SJ(xK(a),1701671783)}a.info.g.sr(a)};
pS.prototype.W=function(a){a=a.info;this.B&&(this.N=this.B);this.B=a;a.g.info.g>=this.H&&(this.H=a.g.info.g)};
pS.prototype.getDuration=function(){return this.l.index.gj()};SS.prototype.send=function(){g.GE(this.l,{format:"RAW",responseType:"arraybuffer",timeout:1E4,rd:this.o,sd:this.o,context:this});this.g=g.AG()};
SS.prototype.o=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.AG()-this.g)/1E3).toFixed(3),shost:g.Jg(this.l),trigger:this.C};204==a.status||a.response?this.A&&this.A(fN(b)):this.B(new g.eN("pathprobe.net",!1,b))};g.p(jna,g.aG);g.p(VS,g.K);VS.prototype.C=function(a){if(!this.ha()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.Va(this.l,c);var d=this.g,e=d.g;c=g.fb(e,c,d.l);0<=c&&g.Ua(e,c)}}this.o()}};
VS.prototype.reset=function(){this.B=this.H=!1;this.D.stop();this.g.g=[];this.l=[];this.o();this.F=null};
VS.prototype.o=function(){this.I=!0;if(!this.K){for(var a=3;this.I&&a;){this.I=!1;this.K=!0;if(this.B&&!this.H&&!this.ha()){this.D.stop();var b=this.L();g.W(b,32)&&this.R.start();for(var c=g.W(this.L(),2)?0x8000000000000:1E3*this.Y(),d=g.W(b,2),e=[],f=[],k=0;k<this.l.length;k++){var l=this.l[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(wna(this,f));if(d)b=qna(this.g,0x7ffffffffffff),b=b.concat(sna(this.g));else if(this.A<=c&&b.gb()&&!g.W(b,16)&&!g.W(b,32)){b=this.g;
d=c;f=[];for(k=rna(b,this.A);k<b.g.length&&!(l=b.g[k],(l.end<=d||l.contains(d))&&f.push(l),l.start>d);++k);b=f}else b=qna(this.g,c);e=e.concat(vna(this,b));this.A=c;!this.H&&this.F&&(this.F=null);c=g.la(e);for(e=c.next();!e.done;e=c.next())e=e.value,b=e[1],1==e[0]?(b.g&&b.g.T("onEnter",b),this.N("crn_"+b.namespace,b)):(b.g&&b.g.T("onExit",b),this.N("crx_"+b.namespace,b))}this.K=!1;a--}this.L().gb()&&(a=tna(this.g,this.A),!(0,window.isNaN)(a)&&0x7ffffffffffff>a&&(a=(a-this.A)/this.W(),this.D.start(a)))}};
VS.prototype.V=function(){this.l=[];this.g.g=[];this.F=null;g.K.prototype.V.call(this)};YS.prototype.then=function(a,b){return this.o.then(a,b)};
YS.prototype.resolve=function(a){this.g(a)};
YS.prototype.reject=function(a){this.l(a)};g.p($S,g.aG);g.h=$S.prototype;
g.h.initialize=function(a,b,c,d){a=a||0;var e=this.D;d=d&&d.id;e.F="i";"auto"!=nH()&&(e.F="s");KS(e,b);ena(e,d);e.L=e.C;fna(e);e.B=e.o;b=cna(e);this.A=new pS(this.l,b.audio,(0,g.z)(this.kw,this));this.g=new pS(this.l,b.video,(0,g.z)(this.kw,this));this.l.Ya&&this.C.l&&(this.qb=new Gma(this.l,this.g.l.index));Mna(this,this.A);Mna(this,this.g);this.g.o.N=this.A.o;this.T("videoformatchange",b);this.X=this.g.D;this.F&&lna(this.F,this.g.l);this.l.D&&ZQ()&&this.Yf("streaming","1",!0);this.B=a;c?(bT(this,
!1),g.nu(this.fa)):(a=0==this.B,kT(this,this.g,this.g.l,a),kT(this,this.A,this.A.l,a),this.seek(this.B),this.Tc("gv"))};
g.h.resume=function(){if(this.R||this.N)this.ma=this.N=this.R=!1,this.je()};
g.h.dS=function(a){var b=this.l.Kd;if(!(!(b&&2<=a.state)||5<=a.state||a.D<b||RK(a.info.l,this.l,this.Y))){b=this.Y;var c=HK(QK(a.info.l));b=EK(b,c);b.g||b.l||b.o||Dna(this,a,!0)}if(!this.ha()&&3<=a.state){c=a.info.g[0].g;b=!this.ia&&c.info.video;c=!this.da&&c.info.audio;5==a.state?b?this.Tc("vrr"):c&&this.Tc("arr"):6==a.state?b?(this.ia=a.Oa(),IG(4)):c&&(this.da=a.Oa()):4==a.state&&b&&IG(4);if(5<=a.state){if(this.l.ia){b=uR(a.timing);c=a.timing;b={rn:a.N.toString(),rt:b.rt,pt:b.pt,stall:b.stall,elt:b.elbowTime,
elb:b.elbowBytes,rqd:c.F?c.F.join(""):""};c=b.rqd;delete b.rqd;if(c)for(var d=0;256*d<c.length;d++)this.Yf("rqd",fN({rn:b.rn,ix:String(d),d:c.substring(256*d,256*(d+1))}));this.Yf("rqs",fN(b))}a.X&&this.Yf("sbwe3","1",!0)}if(5==a.state)a.start(Math.max(0,a.info.g[0].B-this.B));else if(5<=a.state&&5==a.info.g[0].type){if(6==a.state){var e=(a.info.g[0].g.info.video?this.g:this.A).A[0]||null;e&&e.D&&XR(e)}a.dispose()}else{if(this.l.za&&a.H&&4<=a.state&&5!=a.state)if(b=a.g?a.g.Yd("X-Response-Itag"):null){b=
gna(this.D,b);c=a.info.range.length-b.Sq();b.C=!0;a.info.g[0].g.C=!1;d=b.Kk(c)[0];a.info=d;if(a.l){c=a.l;d=d.g;c.l=d;for(var f=0;f<c.g.length;f++)c.g[f].info=d[f],c.g[f].range.start=d[f].range.start,c.g[f].range.end=d[f].range.end,c.g[f].range.length=d[f].range.length}a.H=!1;c=this.g;c.l!=b&&(c.l=b);c=this.g;c.g&&(c.g.g=b);this.T("constraint",b.info.video.quality);(c=a.g?a.g.Yd("X-Segment-Lmt"):null)&&b instanceof g.pL&&((0,window.isNaN)(b.lastModified)||b.lastModified==c||zS(this.g,a))}else a.H=
!1;if(6==a.state||this.l.D&&3<=a.state&&!(5<=a.state)){b=a.info.g[0].g;c=b.info.video?this.g:this.A;if(this.C.l&&c&&(c.D=!1,a.L&&this.Ma.g(1,a.L),d=a.g?(0,window.parseInt)(a.g.Yd("X-Head-Seqnum"),10):null))for(e in f=this.C,f.g){var k=f.g[e].index;k.g&&(k.o=Math.max(k.o,d))}if(e=WK(a.info))e=a.info,e=!!ZJ(e.g[e.g.length-1]);e&&((0,g.B)(a.l.g,c.L,c),this.l.Dh||this.T("metadata",b))}else 7==a.state&&(e=a.info.g[0].g,VR(a)?(b=(e.info.video&&1<e.A.g||410==a.C||500==a.C||503==a.C)&&!OS(this.D),c=RR(a),
d=e.info.video?this.g:this.A,b&&(c.stun="1"),iT(this,!1,a.Ub(),c),this.ha()||(b&&NS(this.D,e),this.l.Md&&1==a.info.g.length&&0<a.info.g[0].l&&e!=d.l&&this.N?this.T("reattachrequired"):(zS(d,a),this.je()))):(iT(this,!1,a.Ub(),RR(a)),WK(a.info)?(e.B=a.Ub(),this.je()):iT(this,!0,"net.retryexhausted",{})));this.je();5<=a.state&&VR(a)&&RK(a.info.l,this.l,this.Y)&&(e=this.Y,b=HK(a.info.l.o),e=EK(e,b),b=5E3*Math.pow(1.6,e.o),e.g||e.A+b>g.AG()||Dna(this,a,!1))}}};
g.h.je=function(){dT(this);if(this.o&&LI(this.o)&&!NI(this.o)){var a=this.l.im&&this.g.B&&this.g.B.C;this.C.isLive&&!a?(0,window.isNaN)(this.I)?(this.I=this.B+(3600+(this.l.Fh?21600:0)),this.o.o.duration=this.I):this.I<=this.B+1800&&(this.I=Math.max(this.I+1800,this.B+3600),this.o.o.duration=this.I):(a=Math.max(this.A.getDuration(),this.g.getDuration()),(!(0,window.isFinite)(this.I)||this.I!=a)&&0<a&&(this.I=this.o.o.duration=a))}if(!this.ha())if(GL(this.C)&&3==this.C.C)iT(this,!0,"manifest.net.retryexhausted",
{rc:this.C.L.toString()});else if(this.C.isLive&&(GS(this.g)||GS(this.A)))cT(this),this.T("seekplayerrequired",window.Infinity);else if(dT(this),sS(this.g),!this.ha()&&(sS(this.A),!this.ha())){this.C.l&&(Uma(this.g),Uma(this.A),Gna(this),(a=fS(this.g.o))&&a.o&&(a=fS(this.g.o).o.B&&!this.l.fa,this.Yf(a==this.l.g?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.l.g?"1":"0")+";dfs."+(this.l.fa?"1":"0"),!0)));if(this.o){a=this.o.g;var b=this.o.l;if(Hna(this)){if(this.l.hg){if(!a.l){var c=fS(this.A.o);
c&&jT(this,a,c)}b.l||(a=fS(this.g.o))&&jT(this,b,a)}}else{if(this.F){c=this.F;var d=this.A,e=CI(FI(this.o.l));if(c.B)c=ona(c,e);else{if(e=fS(d.o)){var f=e.o;f&&f.B&&f.o&&(d=d.A.length?d.A[0]:null)&&3<=d.state&&7!=d.state&&0==d.info.o&&ZR(d)&&(c.B=d,c.H=f,c.o=e.info,c.C=(0,g.F)()/1E3,c.F=c.C,c.D=c.o.startTime)}c=window.NaN}c&&this.T("seekplayerrequired",c,!0)}(c=Kna(this,this.g,b,null))&&!this.ya&&(this.ya=(0,g.F)(),this.Tc("vda"),fO("vda"),this.oa&&IG(4));if(!MI(this.o)){b=BI(FI(b),this.B+hT);if(!(0,window.isNaN)(b)||
uS(this.g)||!FI(a).length){if(uS(this.g)||this.l.Yy)b=window.NaN;a=Kna(this,this.A,a,b);c=c||a;a&&!this.oa&&(this.oa=(0,g.F)(),this.Tc("ada"),fO("ada"),this.ya&&IG(4))}uS(this.g)&&uS(this.A)&&LI(this.o)&&!NI(this.o)&&(a=this.o,LI(a)&&a.o.endOfStream(),a=this.K,mH(pM(a)),a.B=g.AG());c&&!PI(this.o)&&g.nu(this.W)}}}aT(this);kT(this,this.g,this.g.l,!1);kT(this,this.A,this.A.l,!1);this.g.l.B||this.A.l.B?iT(this,!0,"net.retryexhausted",{metadata:"1",video:this.g.l.B||"",audio:this.A.l.B||""}):(fT(this,
this.g,this.A)&&Bna(this,this.g,this.A),fT(this,this.A,this.g)&&Bna(this,this.A,this.g),this.l.UA&&this.ea&&!this.R&&qM(this.K)&&(a=this.ea,b=(0,g.z)(this.T,this,"error"),c=this.l.ME?(0,g.z)(this.Yf,this,"pathprobe"):null,(new SS(a,"cms",c,b)).send(),this.ea=""),this.C.o&&g.nu(this.fa),this.F&&(a=this.F,a.B?(b=a.F+a.g.vf,a.A||(b=Math.min(b,a.C+a.g.Xa)),a=Math.max(0,1E3*b-(0,g.F)())):a=window.NaN,(0,window.isNaN)(a)||g.nu(this.Jb,a)),g.nu(this.Pa))}};
g.h.to=function(a){var b=a?this.A:this.g;a=b&&b.B;var c=b&&b.N;b=void 0;a&&(b=bK(a));if(c){b=b||{};a=bK(c);for(var d in a)b["prev_"+d]=a[d]}iT(this,!0,"fmt.unplayable",b)};
g.h.PQ=function(a){iT(this,!0,"fmt.unparseable",a)};
g.h.TQ=function(a){iT(this,!1,"qoe.avsync",a)};
g.h.QQ=function(a,b){this.C.l&&Lna(this,b,a==this.g)};
g.h.RQ=function(a,b){this.C.l&&KL(this.C,b.sa,a==this.g)};
g.h.SQ=function(a,b){this.C.l&&Lna(this,b,a==this.g)};
g.h.OQ=function(a,b){if(this.g.l.index.Vb()<=b){var c=this.C;c.K.push(a);c.T("cuepointsadded")}};
g.h.seek=function(a){if(this.ha())return eg();if(this.g.D||this.A.D)return dg();dT(this);this.Xa=g.AG();aT(this,a);var b=this.g.g,c=Pna(this.g,a,this.o&&this.o.l),d=Pna(this.A,this.l.Ca?a:c,this.o&&this.o.g);this.B=Math.max(a,c,d);this.L=!0;this.C.l&&this.l.ca&&(c=this.g.g.sa,eL(this.g.l.index,c)||b&&b.sa==c||(this.X=!0));g.nu(this.W);return dg(a)};
g.h.V=function(){yna(this);this.A&&(xS(this.A),xS(this.g));g.aG.prototype.V.call(this)};
g.h.Tc=function(a,b){this.Pb[a]=b?window.performance.timing.navigationStart+b:g.AG()};
g.h.eA=function(){return this.Ma.l()||0};
g.h.Yf=function(a,b,c){this.T("ctmp",a,b,void 0===c?!1:c)};
g.h.kw=function(a,b){var c=a/b;(0,window.isNaN)(this.Na)&&(this.Na=c-Math.min(c,18E3));return(c-this.Na)*b};
var hT=2/24;g.p(mT,g.K);g.h=mT.prototype;g.h.VM=function(a){this.D.call(this.o,new window.Uint8Array(a.message))};
g.h.WM=function(){this.I.call(this.o,this.g.keyStatuses)};
g.h.hB=function(a,b){g.dE(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.B.call(this.o,c)};
g.h.UM=function(){this.ha()||ME("xboxone")&&this.B.call(this.o,"closed")};
g.h.JB=function(a){this.D.call(this.o,a.message)};
g.h.IB=function(a){if(this.l){var b=this.l.error.code;a=this.l.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.B.call(this.o,"t.prefixedKeyError;c."+b+";sc."+a)};
g.h.HB=function(){this.H.call(this.o)};
g.h.update=function(a){if(this.g)return this.g.update(a).then(null,eE((0,g.z)(this.hB,this,"t.update")));this.l?this.l.update(a):this.C.addKey?this.C.addKey(this.K.g,a,this.F,this.sessionId):this.C.webkitAddKey(this.K.g,a,this.F,this.sessionId);return gF()};
g.h.V=function(){this.g&&this.g.close();this.C=null;g.K.prototype.V.call(this)};g.p(oT,g.K);g.h=oT.prototype;
g.h.createSession=function(a){var b=a.initData;if(this.g.l){var c=this.C.createSession();"com.youtube.fairplay"==this.g.g&&(b=$na(this,b));b=c.generateRequest(a.contentType,b);c=new mT(null,null,null,c,null);b.then(null,eE((0,g.z)(c.hB,c,"t.generateRequest")));return c}if(PL(this.g)){c=new window.Uint8Array(270);for(a=0;135>a;a++)c[2*a]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(a);b=this.o.createSession("video/mp4",
b,c);return new mT(null,null,null,null,b)}if(TL(this.g))return b=$na(this,b),b=this.o.createSession("video/mp4",b),new mT(null,null,null,null,b);this.l.generateKeyRequest?this.l.generateKeyRequest(this.g.g,b):this.l.webkitGenerateKeyRequest(this.g.g,b);return this.A=new mT(this.l,this.g,b,null,null)};
g.h.ZM=function(a){var b=pT(this,a);b&&b.JB(a)};
g.h.YM=function(a){var b=pT(this,a);b&&b.IB(a)};
g.h.XM=function(a){var b=pT(this,a);b&&b.HB(a)};
g.h.V=function(){this.l=null;g.K.prototype.V.call(this)};g.p(qT,g.K);g.h=qT.prototype;g.h.hA=function(a){this.L=a};
g.h.SM=function(a){if(!this.ha()){this.I||((0,g.IQ)("drm_gk_f"),this.I=!0,this.l.T("newsession",this));QL(this.o)&&(a=doa(a));if("fairplay"==this.o.flavor){var b=g.ke(a);a=new window.Uint8Array(new window.ArrayBuffer(b.length));for(var c=0;c<b.length;c++)a[c]=b.charCodeAt(c)}a=new Vna(a,++this.N);this.QC(a)}};
g.h.QM=function(){this.ha()||this.F||(this.l.T("sessionready"),this.F=!0)};
g.h.TM=function(a){var b=this;this.ha()||(a.forEach(function(a,d){var c=QL(b.o)?d:a,f=new window.Uint8Array(QL(b.o)?a:d);QL(b.o)&&hoa(f);var k=dS(f);hoa(f);f=dS(f);b.g[k]?b.g[k].status=c:b.g[f]?b.g[f].status=c:b.g[k]={type:"",status:c}}),Ija("Key statuses changed: "+ioa(this,",")),this.l.T("keystatuseschange",this))};
g.h.QC=function(a){(0,g.IQ)("drm_net_s");a={format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.z)(this.AQ,this,a),onError:(0,g.z)(this.zB,this,a)};var b=this.R;this.L&&(b=Zg(b,"access_token",this.L));(0,window.isNaN)(this.C)||(b=Zg(b,"cpi",this.C));g.GE(b,a)};
g.h.AQ=function(a,b){if(!this.ha())if(0!=b.status&&b.response){(0,g.IQ)("drm_net_r");var c=new window.Uint8Array(b.response);if(c=Xna(c))if(0!=c.statusCode)rT(this,"drm.auth",!0,"t.f;c."+c.statusCode,g.mP(c.statusCode));else{(0,g.IQ)("drm_kr_s");var d=null,e=c.headers["Heartbeat-Url"];e&&(d=new Una(e,(0,window.parseInt)(c.headers["Heartbeat-Interval-Secs"],10)||60,(0,window.parseInt)(c.headers["Heartbeat-Num-Retries"],10)||4));d&&this.l.T("newlicense",d);if(d=c.headers["Authorized-Format-Types"])this.B=
d.split(","),sT(this)||(SL(this.o)?(d=eoa(this.B),480<g.fI[d]&&this.l.T("hdentitled",this)):this.l.T("keystatuseschange",this));c.headers["Key-Ids"]&&(this.g=goa(c.headers["Key-Ids"]));TL(this.o)&&(c.message=new window.Uint8Array(me(String.fromCharCode.apply(null,c.message))));this.A.update(c.message).then(function(){(0,g.IQ)("drm_kr_f")});
this.F&&(this.K=g.AG())}else rT(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")}else this.zB(a,b)};
g.h.RM=function(a){this.ha()||rT(this,"drm.keyerror",!0,a)};
g.h.zB=function(a,b){var c=!1;if(3<=a.g.l||this.W&&36E4<g.AG()-this.K){var d="drm.net.retryexhausted";c=!0}else d=b.status?"drm.net.badstatus":"drm.net.connect";rT(this,d,c,"t.r;c."+b.status);if(this.W&&this.F?0:!c&&this.N==a.number)d=a.g.getValue(),d=new g.mu((0,g.z)(this.QC,this,a),d),g.L(this,d),d.start(),d=a.g,d.g=Math.min(2E4,2*d.g),d.o=Math.min(2E4,d.g+Math.round(.4*(Math.random()-.5)*d.g)),d.l++};
g.h.V=function(){this.l=null;g.K.prototype.V.call(this)};
g.h.pg=function(){var a=this.B.join();if(sT(this)){var b=[],c;for(c in this.g)"usable"!=this.g[c].status&&b.push(this.g[c].type);a+="/UKS:"+b}return a};tT.prototype.get=function(a){a=this.Ek(a);return-1!=a?this.values[a]:null};
tT.prototype.remove=function(a){a=this.Ek(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
tT.prototype.set=function(a,b){var c=this.Ek(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
tT.prototype.Ek=function(a){return g.Na(this.keys,function(b){return g.jb(a,b)})};g.p(uT,g.aG);g.h=uT.prototype;g.h.ZP=function(a){"cenc"==a.initDataType&&this.B&&vT(this)?(a=new nT(this.B,a.initDataType),this.B=null):a=new nT(new window.Uint8Array(a.initData),a.initDataType);xT(this,a,!0)};
g.h.fR=function(a){"cenc"==a.contentType&&this.B&&vT(this)?(a=new nT(this.B,a.contentType),this.B=null):a=new nT(a.initData,a.contentType);xT(this,a,!0)};
g.h.NQ=function(){this.ha()||(this.I=!0,wT(this))};
g.h.cP=function(a){if(!this.ha()){g.dE(a);var b="t.a";a instanceof window.DOMException&&(b+=";n."+a.name+";m."+a.message);this.T("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.iR=function(a){this.ha()||!a||this.Z||(this.Z=a,this.T("heartbeatparams",a))};
g.h.jR=function(){this.ha()||(this.o.shift(),wT(this))};
g.h.rS=function(){if(PL(this.g)&&(this.da--,0==this.da)){var a=this.D;a.l.msSetMediaKeys(a.o)}};
g.h.aN=function(a){this.ha()||poa(this,foa(a,this.Y))};
g.h.pQ=function(){this.ha()||!this.W&&SL(this.g)&&this.T("hdproberequired")};
g.h.V=function(){this.g.l&&this.K.setMediaKeys(null);this.K=null;this.o=[];for(var a=g.la(this.l.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.l;a.keys=[];a.values=[];this.A&&(this.A.dispose(),this.A=null);this.F=null;g.aG.prototype.V.call(this)};
g.h.pg=function(){return 0>=this.l.values.length?"no session":this.l.values[0].pg()};AT.prototype.C=function(){var a=g.x("yt.abuse.botguardInitialized");return a&&a()?(a=g.x("yt.abuse.invokeBotguard")())?"r1a="+a:null:null};
AT.prototype.D=function(a){return"r3a="+Math.floor(this.g.lengthSeconds%Db(a.c3a))};
AT.prototype.B=function(a){a=Db(a.c);var b=g.x("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};g.p(BT,oP);g.h=BT.prototype;g.h.la=function(){return this.g};
g.h.Ud=function(){return this.g.src};
g.h.Rc=function(){try{return 0<=this.g.playbackRate?this.g.playbackRate:1}catch(a){return 1}};
g.h.Vf=function(a){this.Rc()!=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();return a&&a.then?a:null};
g.h.Ub=function(){return this.g.error?this.g.error.code:null};
g.h.ol=function(){return!!this.g.webkitCurrentPlaybackTargetIsWireless};
g.h.setSize=function(a){return g.Kh(this.g,a)};
g.h.getVolume=function(){return this.g.volume};
g.h.setVolume=function(a){HI();this.g.volume=a};
g.h.HL=function(a){this.dispatchEvent(new AP(this,a.type,a))};
g.h.setAttribute=function(a,b){this.g.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.g.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.g.hasAttribute(a)};
g.h.V=function(){for(var a in this.A)this.g.removeEventListener(a,this.A[a]);oP.prototype.V.call(this)};g.p(DT,g.aG);DT.prototype.getCurrentTime=function(){return!(0,window.isNaN)(this.g)&&(0,window.isFinite)(this.g)?this.g:Eoa(this)?this.l.getCurrentTime():this.C||0};
DT.prototype.Ce=function(a){return this.o.ua?this.o&&this.o.Ka&&this.o.Ka.g?!a&&this.K?eR(this.K):this.o.Ce():this.l?RE()?ZO(this.l.g.getStartDate().getTime()):pP(this.l)||0:0:this.o.Ce()};
DT.prototype.Fb=function(){return this.o?this.o.Fb():0};
DT.prototype.X=function(){var a=this.getCurrentTime()+.1;this.D=dg(a);FT(this,a,!0)};g.p(IT,g.aG);IT.prototype.isFullscreen=function(){return 0!=this.B};
IT.prototype.isBackground=function(){return HT()};
IT.prototype.o=function(){this.T("visibilitychange");var a=this.isFullscreen();a=this.A?4:HT()?3:a?2:this.l?1:this.g?5:0;a!=this.D&&this.T("visibilitystatechange");this.D=a};
IT.prototype.V=function(){Ioa(this.C);g.aG.prototype.V.call(this)};g.p(JT,g.K);g.h=JT.prototype;g.h.start=function(){this.l.start()};
g.h.stop=function(){this.l.stop()};
g.h.Eb=function(a,b,c){this.o[a]=b;this.g[a]=new MT(!!c)};
g.h.clear=function(){for(var a in this.g)this.g[a].clear()};
g.h.cU=function(){for(var a in this.o)this.g[a].update(this.o[a]());this.l.start()};
MT.prototype.update=function(a){this.o?(this.g.add(a-this.l||0),this.l=a):this.g.add(a)};
MT.prototype.clear=function(){this.g.clear();this.l=0};var Koa={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},Loa={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},Moa=/^(\d*)_((\d*)_?(\d*))$/;NT.prototype.start=function(){this.l=!0};
NT.prototype.reset=function(){this.g=this.l=!1};g.p(PT,g.aG);g.h=PT.prototype;g.h.V=function(){window.clearInterval(this.Pb);g.kE(this.Mc);Ioa(this.qb);this.Pa.unsubscribe("visibilitychange",this.qb);ST(this);TT(this);this.D&&(this.D.dispose(),this.D=null);QT(this);lU(this);g.df(this.ma,this.g);this.X=null;this.ib=!1;g.aG.prototype.V.call(this)};
g.h.getVideoData=function(){return this.g};
g.h.Hw=function(){if(this.g.Mb())g.W(this.A,128)||(this.g.Mb(),this.o.experiments.g("html5_probe_media_capabilities")||(this.ia.g=!0),this.ed=!0,4!=this.Db&&(this.Z=g.Ya(this.g.dd)),g.FO(this.g,this.o,this.za).then(this.Cx,this.Cx,this),this.Ec("loudness",""+this.g.relativeLoudness.toFixed(3),!0),this.g.ff&&this.Ec("startSeconds",""+this.g.ff));else{var a=this.g,b=this.o.experiments,c=this.o;if(!RE()&&a.ua&&a.adaptiveFormats&&!a.my&&!g.GM(c)&&(g.QO(a)||b.g("html5_manifestless_always_redux"))){var d=
this.g;a=this.o.experiments;AO(d)||(d.my=!0,b=yL(GO(d,d.adaptiveFormats),d.Hc,d.lengthSeconds,!0,a),!a.g("html5_manifestless_vp9")&&kma(b)||!a.g("html5_manifestless_captions")&&(d.vr||g.xL(b))?b.dispose():(d.Ui=!1,EO(d,b),b.subscribe("cuepointsadded",d.Fw,d),wL(d.na)&&(d.hi=!0)),CO(d))}else if(this.g.Ui)d=this.g,a=this.o.experiments,d.ih=!0,d.Ui=!1,xH(d.Rd)||g.dE(Error("DASH MPD Origin invalid: "+d.Rd),"WARNING"),b=d.Rd,c=a.l("dash_manifest_version")||4,b=g.Ug(b,{mpd_version:c}),d.isLowLatencyLiveStream&&
"NORMAL"!=d.latencyClass||(b=g.Ug(b,{pacing:0})),EL(new vL(b,a,d.ua),b).then(d.OP,d.NP,d),(0,g.IQ)("mrs");else if(this.g.hi)this.C&&(d=this.C.l,$P(d,"protected"),d.g.videoData.Rf?d.ia():d.g.videoData.subscribe("dataloaded",d.ia,d)),d=this.g,b=this.o.Y,a=this.o.experiments,d.fairPlayCert||d.na&&wL(d.na),b=d.na?XL(b,d.na):{},a=new cM(b,a,d.gD),g.L(d,a),d.hi=!1,d.ih=!0,d=(0,g.z)(d.tK,d),a.B=d,VL(a.o)?eM(a):wla(a);else if(!this.g.ih&&this.ed){b=this.o;a=this.g;var e=this.Jb.Ia(),f=this.Hg();UT(this);
if(38==a.mf&&"books"==b.playerStyle)d=a.videoId.indexOf(":"),d=g.Ug("//play.google.com/books/volumes/"+a.videoId.slice(0,d)+"/content/media",{aid:a.videoId.slice(d+1),sig:a.GO});else if(30==a.mf&&"docs"==b.playerStyle)d=g.Ug("https://docs.google.com/get_video_info",{docid:a.videoId,authuser:a.Wc,authkey:a.authKey,eurl:b.ma});else if(33==a.mf&&"google-live"==b.playerStyle)d=g.Ug("//google-liveplayer.appspot.com/get_video_info",{key:a.videoId});else{c={html5:"1",video_id:a.videoId,cpn:a.clientPlaybackNonce,
eurl:b.ma,ps:b.playerStyle,el:UO(a,b),hl:b.oa,list:a.playlistId,agcid:a.Mi,aqi:a.adQueryId,sts:17633,lact:g.NG()};g.Fa(c,b.o);b.yd&&(c.ecver=b.yd);b.forcedExperiments&&(c.forced_experiments=b.forcedExperiments);a.Te?(c.vvt=a.Te,a.mdxEnvironment&&(c.mdx_environment=a.mdxEnvironment)):(a.oauthToken||b.R)&&(c.access_token=a.oauthToken||b.R);a.revocableUnlistedToken&&(c.ut=a.revocableUnlistedToken);a.adFormat&&(c.adformat=a.adFormat);0<=a.slotPosition&&(c.slot_pos=a.slotPosition);null!=a.adIds&&(c.ad_id=
a.adIds);null!=a.adSystems&&(c.ad_sys=a.adSystems);b.Kg&&(c.cc_lang_pref=b.Kg);b.Lg&&2!=b.Lg&&(c.cc_load_policy=b.Lg);b.mute&&(c.mute=b.mute);a.Ig&&2!=b.Ig&&(c.iv_load_policy=a.Ig);a.xj&&(c.itct=a.xj);XO(a,b)&&(c.autoplay="1");a.Sn&&(c.autonav="1");a.Zr&&(c.noiba="1");a.isMdxPlayback&&(c.mdx="1",c.ytr=a.pf);a.mdxControlMode&&(c.mdx_control_mode=a.mdxControlMode);a.Um&&(c.ytrcc=a.Um);a.gs&&(c.utpsa="1");a.isFling&&(c.is_fling="1");a.Yr&&(c.mute="1");a.vnd&&(c.vnd=a.vnd);a.Iq&&(c.force_ad_param_ad_type=
"video_ad",c.force_ad_param_url=a.Iq,c.force_ad_param_break_type="1",c.force_ad_param_offset_value=0);e.width&&(c.width=e.width);e.height&&(c.height=e.height);a.ah&&(c.splay="1");a.ypcPreview&&(c.ypc_preview="1");VO(a,b)&&(c.content_v=VO(a,b));a.fl&&(c.livemonitor=1);b.Wc&&(c.authuser=b.Wc);b.pageId&&(c.pageid=b.pageId);b.Ma&&(c.ei=b.Ma);b.g&&(c.iframe="1");a.zh&&(c.tst=a.zh);a.contentCheckOk&&(c.cco="1");a.racyCheckOk&&(c.rco="1");b.ub&&a.liveStartWalltime&&(c.live_start_walltime=a.liveStartWalltime);
b.ub&&a.os&&(c.live_manifest_duration=a.os);b.ub&&a.playerParams&&(c.player_params=a.playerParams);b.ub&&a.cycToken&&(c.cyc=a.cycToken);b.ub&&a.wD&&(c.tkn=a.wD);0!=f&&(c.vis=f);b.enableSafetyMode&&(c.enable_safety_mode="1");a.Un&&(c.kids_age_up_mode=a.Un);a.vp&&(c.upg_content_filter_mode="1");b.widgetReferrer&&(c.widget_referrer=b.widgetReferrer.substring(0,128));(e=b.Jb.embedding_app)&&(c.embedding_app=e);(e=g.BO(a))&&(c.uloc=e);a.bl&&(c.internalipoverride=a.bl);b.ub&&a.Rh&&(c.wpid=a.Rh);b.Md&&(c.embed_config=
b.Md);b.rm&&(c.co_rel="1");0<b.ae.length&&(c.ancestor_origins=Array.from(b.ae).join(","));for(d in c)c[d]&&512<c[d].length&&(g.dE(Error("GVI param too long: "+d)),c[d]="");d=g.Ug(b.baseYtUrl+"get_video_info",c)}a=2;this.g.isAd()&&(a=0);b=this.g;c=this.o.Db;e=this.o.experiments;f=this.o.jc;b.ha()||(b.Zq=d,b.fu=a,b.Xj=!!c,b.Ty=!!f,e&&(b.VC=e.g("enable_uturn_error_screen"),b.zC=!e.g("disable_gvi_cors"),b.Yq=e.l("html5_get_video_info_timeout_ms")||0,b.Vx=e.g("html5_get_video_info_promiseajax")),b.ih=
!0,b.MC())}}};
g.h.Cx=function(){if(yO(this.g)&&(this.g.ua&&(this.W=new Cma,Woa(this),0<this.g.ff&&!this.g.kc()||fU(this,tU(this),!0)),this.g.Ka.g&&g.uU(this),sU(this,"i"),this.W))if(this.g.kc()){var a=(0,g.z)(this.B.eA,this.B);this.W.l=a}else this.g.na&&(a=(0,g.z)(this.g.na.MM,this.g.na),this.W.l=a);this.Na&&qU(this);a=this.g;a.endSeconds&&a.endSeconds>a.startSeconds&&Noa(this,a.endSeconds);this.o.experiments.g("html5_probe_media_capabilities")&&(this.ia.g=!0);VT(this,"dataloaded");this.Y.l?cU(this):this.Na&&WT(this,
IP(IP(this.A,512),1));if(null!=this.g.Ka&&0<this.g.Ka.videoInfos.length&&null!=this.g.Ka.videoInfos[0].o){a=this.g.Ka.videoInfos[0];for(var b=null,c=g.la(this.g.Ka.videoInfos),d=c.next();!d.done;d=c.next())if(d=d.value,d.o){b=d;break}b&&this.Ec("mediacapabilities","bestHeight."+a.video.height+";bestSmoothHeight."+b.video.height+";updateConstraint."+(b.video.height<a.video.height))}};
g.h.logEvent=function(a,b){if(this.C){var c=this.C,d={};d.rt=g.iP(c.g).toFixed(3);g.Fa(d,jP(c.g));var e=c.g.g,f=c.g.videoData,k={ns:e.Ca,html5:"1",el:UO(f,e),ps:e.playerStyle,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.Zt||f.Ll||void 0,ctrl:f.fg||void 0,ytr:f.pf||void 0,list:f.playlistId};XO(f,e)&&(k.autoplay="1");f.subscribed&&(k.subscribed=f.subscribed);g.Fa(d,k);delete d.fexp;g.Fa(d,a);d=g.zE(c.g.g.baseYtUrl+"player_204",d);AQ(c,d,b)}};
g.h.isPeggedToLive=function(){return!!this.F&&this.F.isPeggedToLive()};
g.h.UK=function(){return this.A};
g.h.getPlayerType=function(){return this.Db};
g.h.aU=function(){nU(this);WT(this,IP(this.A,16));qU(this);GP(this.A)&&rU(this)};
g.h.getAvailableAudioTracks=function(){return this.o.experiments.g("html5_hls_select_audio_killswitch")?this.g.Ka?this.g.Ka.getAvailableAudioTracks():[]:this.g.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){if(this.o.experiments.g("html5_hls_select_audio_killswitch")){var a=this.getVideoData(),b=a.Yb;if(!b)return a.Nh;var c=g.Ma(this.getAvailableAudioTracks(),function(a){return a.id==b.id});
return c?c:a.Nh}return this.g.getAudioTrack()};
g.h.YK=function(){if(this.o.experiments.l("html5_background_quality_cap")&&this.B){var a="v";this.o.experiments.g("html5_vis_upgrades_are_resizes")&&!bU(this)&&(a="r");sU(this,a)}this.o.experiments.g("html5_cut_vss_on_visibility")&&this.C&&g.dP(this.C.o);this.o.Ki&&!this.g.backgroundable&&this.l&&!this.za&&(bU(this)&&this.l.l?(this.Ec("bgmobile","suspend"),g.kU(this,!0)):bU(this)||qU(this)&&this.Ec("bgmobile","resume"))};
g.h.tQ=function(a){if(this.H){var b=this.H;vT(b)?(a=cS(a),0!=a.length&&(b.B=a)):PL(b.g)&&(a=cS(a),0!=a.length&&xT(b,new nT(a),!1))}};
g.h.CB=function(){RL&&this.da&&this.da.g&&this.H&&(ooa(this.H,this.da.g),this.da=null)};
g.h.VS=function(a){this.g.QD=kJ("auto",a,!1,"u");sU(this,"u")};
g.h.GQ=function(a){Poa(this,a.reason,a.video.info,a.audio.info);var b=g.MO(this.g);b&&b.H(a.video.index);this.W&&(this.W.g=a.audio.index)};
g.h.FQ=function(a){hU(this,a.reason,a.audio.info)};
g.h.kl=function(a){var b=this;dpa(this,a);if(this.o.experiments.g("html5_consolidated_platform_retry")){if(("html5.invalidstate"==a.errorCode||"fmt.unplayable"==a.errorCode||"fmt.unparseable"==a.errorCode)&&epa(this,a.errorCode,a.details))return}else{if(this.l&&"fmt.unplayable"==a.errorCode&&!this.Ld){this.C&&(a.details.e="unplayable",this.C.onError("qoe.restart",fN(a.details)));a.g=!1;this.Ld=!0;g.iE(function(){return wU(b)},100);
return}if(this.o.experiments.g("html5_reload_on_unparseable")&&"fmt.unparseable"==a.errorCode&&a.details.seg&&a.details.seg!=this.Ad){this.Ad=a.details.seg;this.C&&(a.details.e="unparseable",this.C.onError("qoe.restart",fN(a.details)));wU(this);return}}var c=/^pp/.test(this.g.clientPlaybackNonce);if(apa(a))g.W(this.A,4)?(this.yf=!0,TT(this)):oU(this);else if(cpa(a)&&this.g.Ka.l){if(this.C)this.C.onError(a.errorCode,fN(a.details));this.Ec("highrepfallback","1",!0);oma(this.g);RT(this);TT(this);vU(this);
rU(this)}else a.g?(c=this.B?this.B.D.A:null,c=cpa(a)&&c&&c.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,g.ZT(this,a.errorCode,c,fN(a.details))):this.C&&(this.C.onError(a.errorCode,fN(a.details)),c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.g.clientPlaybackNonce+"&t="+g.AG(),(new SS(a,"manifest",(0,g.z)(function(a){this.Ec("pathprobe",a)},this),(0,g.z)(function(a){this.onError(a.errorCode,fN(a.details))},this.C))).send()))};
g.h.vx=function(){if(this.o.experiments.g("html5_new_seeking"))FT(this.D,this.D.getCurrentTime(),!0);else{if(!(0,window.isNaN)(this.R)&&this.l){var a=this.getDuration(),b=tU(this);!this.g.ua&&this.R>=b-.01?(this.R=a,this.T("endseeking",this),gU(this,!0),OT(this)):(this.B&&this.B.seek(this.R),(!this.g.ua||1<=this.l.g.readyState)&&this.l.ac(this.R),this.B&&!g.W(this.A,2)&&WT(this,IP(this.A,16)))}$oa(this)}};
g.h.getCurrentTime=function(){if(this.D)return this.D.getCurrentTime();if(!(0,window.isNaN)(this.R)&&(this.o.experiments.g("html5_seektoinfinite_killswitch")||(0,window.isFinite)(this.R)))return this.R;var a=0;this.l&&1<=this.l.g.readyState?a=this.l.getCurrentTime():this.g&&(a=this.g.mg||this.g.startSeconds||0);return a};
g.h.getDuration=function(){return this.g.lengthSeconds?this.g.lengthSeconds:tU(this)?tU(this):0};
g.h.kI=function(){var a=new yla;if(this.B){var b=this.o.schedule;a.o=b.H;a.B=b.I;a.bandwidthEstimate=oM(b);a.g="d."+lM(b).toFixed(2)+";st."+(1E9*(b.A.l()||0)).toFixed(2)+";bw."+b.g.l().toFixed(0)+";abw."+b.C.l().toFixed(0)+";v50."+iM(b.l,.5).toFixed(2)+";v92."+iM(b.l,.92).toFixed(2)+";v96."+iM(b.l,.96).toFixed(2)+";v98."+iM(b.l,.98).toFixed(2);b=this.B;if(b.o&&!MI(b.o)&&(a.l=uS(b.g)?b.g.B.A:DI(FI(b.o.l),b.B),a.A=uS(b.A)?b.A.B.A:DI(FI(b.o.g),b.B),b.l.ia)){var c=wS(b.g),d=wS(b.A),e=zI(FI(b.o.l),"_"),
f=zI(FI(b.o.g),"_");a.g=(a.g||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=HS(b.H)}else this.l&&(a.l=vP(this.l));a.C=this.Nx();return a};
g.h.YS=function(){if(this.H){var a=this.H,b=this.g.oauthToken;a.R=b;a.T("oauthtoken",b)}VT(this)};
g.h.XS=function(a){g.ZT(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode,a.subreason)};
g.h.XK=function(a){var b=a.target.Ud();if(this.l&&this.l.Ud()&&this.l.Ud()==b){var c=!1;switch(a.type){case "error":if(0<this.l.Ub()&&epa(this,zP(this.l)||"",{msg:PP(this.l)}))return;if(bU(this)&&4==this.l.Ub()){g.kU(this);BU(this,"unplayable");return}break;case "durationchange":var d=this.l.getDuration();(!this.K||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.g.lengthSeconds!=d&&(this.g.lengthSeconds=d,VT(this));break;case "ratechange":this.B&&(this.B.H.o=Math.max(1,this.l.Rc()));d=this.I;d.B=!0;d.o();
break;case "loadedmetadata":if(this.g.startSeconds){if(this.o.experiments.g("html5_utc_start_seconds")&&!this.D&&RO(this.g)&&this.g.ff&&(0,window.isFinite)(this.g.ff)&&this.g.na){d=this.Fb()+this.g.ff-JL(this.g.na,this.Fb());fU(this,d,!0);break}this.o.experiments.g("html5_new_seeking")||(0<(this.l.g.seekable||yI()).length?(d=this.g.startSeconds,this.o.experiments.g("html5_clamp_on_loaded_metadata_killswitch")?d=g.cd(d||0,this.Fb(),tU(this)):(0,window.isFinite)(d)||(d=tU(this)),this.l.g.currentTime=
d):(this.ya=this.g.startSeconds,gU(this,!0)))}this.T("onLoadedMetadata");case "loadstart":window.clearInterval(this.Pb);this.qq()||(this.Pb=g.jE((0,g.z)(this.qq,this),100));break;case "progress":this.ya&&this.l&&(d=this.l.g.seekable||yI(),d.length&&d.end(0)>this.ya&&(this.l.g.currentTime=this.ya,this.ya=window.NaN,this.xd=this.oa.O(this.l,"canplay",this.PP,this)));case "suspend":yU(this);this.T("onLoadProgress",this,hpa(this));g.W(this.A,8)&&(this.Ki?c=!0:this.Li&&((0,window.isNaN)(this.zd)||this.zd+
1<this.l.getCurrentTime())&&(c=!0,this.zd=this.l.getCurrentTime()));break;case "seeked":jpa(this);break;case "seeking":if(!this.o.experiments.g("html5_new_seeking")){d=this.getCurrentTime();this.B&&this.B.seek(d);var e=this.Ma;e.g=d;e.l=!0}break;case "playing":this.L.g("plev");fO("plev");this.xf&&(this.xf=!1,pU(this)||fU(this,window.Infinity,!0));g.kE(this.Mc);this.Mc=window.NaN;break;case "timeupdate":d=this.l&&!this.l.getCurrentTime();e=this.l&&0==this.l.g.readyState;if(d&&(!this.Ta||e))return;
this.Ta=this.Ta||!!this.l.getCurrentTime();this.qq();jpa(this);yU(this);if(!this.l||this.l.Ud()!=b)return;this.T("onVideoProgress",this,this.l.getCurrentTime());break;case "waiting":if(0<(this.l.g.played||yI()).length&&0==uP(this.l).length&&0<this.l.getCurrentTime()&&5>this.l.getCurrentTime()&&this.B)return;break;case "resize":this.g.Ha&&"auto"==this.g.Ha.video.quality&&this.T("internalvideoformatchange",this.g,!1);break;case "pause":if(this.Fg&&g.W(this.A,8)&&!g.W(this.A,1024)&&0==this.getCurrentTime()&&
g.Ek){BU(this,"safari_autoplay_disabled");return}}this.l&&this.l.Ud()==b&&(this.T("videoelementevent",a),b=uma(this.A,a,this.Ma,this.o.experiments),!g.W(this.A,1)&&g.W(b,1)&&DU(this,"evt_"+a.type),WT(this,b),c&&this.l.play())}};
g.h.SO=function(a){a="available"==a.g.availability;a!=this.Md&&(this.Md=a,this.T("airplayavailabilitychange"))};
g.h.TO=function(){var a=this.l.ol();if(a!=this.za){this.za=a;var b=this.Pa;b.A!=a&&(b.A=a,b.o());a&&(g.FO(this.g,this.o,this.za),sU(this,"m"))}this.T("airplayactivechange")};
g.h.qq=function(){var a=this.l;a&&this.Ta&&!this.g.We&&!eO("vfp","")&&2<=a.g.readyState&&!a.g.ended&&0<CI(uP(a))&&this.L.g("vfp");if((a=this.l)&&!this.g.We&&0<a.getDuration()){!eO("pbp","")&&a.g.paused&&2<=a.g.readyState&&0<CI(uP(a))&&this.L.g("pbp");var b=this.o.experiments.g("html5_use_start_seconds_for_pbs")?this.g.startSeconds+.1:0;if(a.getCurrentTime()>b){window.clearInterval(this.Pb);this.fa.stop();this.g.We=!0;this.o.We=!0;ipa(this);this.o.experiments.g("html5_aft_implies_playing")&&g.W(this.A,
8)&&WT(this,JP(this.A,65));if(this.C){a=this.C;if(!a.B){a.g.g.experiments.g("disable_embedpage_playback_logging")||16623!=a.g.videoData.rootVeType||fE(Error("Playback for EmbedPage"));b=xQ(a,"playback");a.H=[10+a.g.videoData.wj,10,10,40+a.g.videoData.il-a.g.videoData.wj,40];var c=a.o;window.clearInterval(c.D);c.D=window.NaN;c.D=g.jE((0,g.z)(c.update,c),100);c.C=g.iP(c.l);c.A=bP(c.l);b.l=wQ(a,!0);b.send();a.g.videoData.Hl&&(b=a.g.g,c=a.g.videoData,c={html5:"1",video_id:c.videoId,cpn:c.clientPlaybackNonce,
plid:c.playbackId,ei:c.eventId,ptk:c.Hl,oid:c.fC,ptchn:c.eC,pltype:c.gC,content_v:VO(c,b)},b=g.Ug(b.baseYtUrl+"ptracking",c),AQ(a,b));a.g.videoData.enableCardio&&(a.Uo("playback"),a.A||DQ(a));a.g.videoData.Ef||CQ(a);a.B=!0;a=a.o;a.g=a.l.l();a.C=g.iP(a.l);!(0==a.o&&5>a.g)&&2<a.g-a.o&&(a.o=a.g)}g.iE((0,g.z)(this.gu,this),4500)}this.T("playbackstarted");g.GG()&&((a=g.x("yt.scheduler.instance.clearPriorityThreshold"))?a():IG(0));return!0}}return!1};
g.h.PP=function(){this.xd&&(this.oa.Aa(this.xd),delete this.xd,this.Jl())};
g.h.OI=function(){if(this.l){var a=this.o.experiments.g("html5_progress_fix_error_return");if(!a||!g.W(this.A,128)){var b=this.getCurrentTime();a&&g.W(this.A,8)&&BP(this.Ma,b)?WT(this,JP(this.A,1)):g.W(this.A,8)&&CP(this.Ma,b,g.AG(),vP(this.l))?(a=this.getDuration(),!this.g.ua&&a&&1.1>Math.abs(a-b)?this.l.g.loop?fU(this,0,!0):OT(this):(g.NP(this.A)||DU(this,"progress_fix"),WT(this,IP(this.A,1)))):g.W(this.A,4)&&g.NP(this.A)&&5<vP(this.l)&&WT(this,JP(this.A,1));yU(this)}}};
g.h.hI=function(){return this.B?HS(this.B.H):oM(this.o.schedule)};
g.h.Hx=function(){return this.l?vP(this.l):0};
g.h.jI=function(){return this.o.schedule.H};
g.h.Nx=function(){if(!(this.g.ua&&this.g.na&&this.B&&pU(this)&&this.A.gb()))return window.NaN;var a=this.g.kc()?this.B.eA():this.g.na.F;return(0,g.F)()/1E3-zU(this)-a};
g.h.XT=function(){var a=this.o.experiments.l("html5_max_reseek_count");a=a?a:window.Infinity;var b;if(b=g.W(this.A,1)&&this.B){b=this.B;var c=this.getCurrentTime();b=!(!b.o||MI(b.o)||NI(b.o)||Qna(c,b.g,b.o.l)&&Qna(c,b.A,b.o.g))}b&&this.wf<a&&(this.wf++,a=lT(this.B),this.Ec("reseek",fN({cur:a.lct,vb:a.lvb,ab:a.lab})),this.o.experiments.g("html5_clear_on_reseek")&&cT(this.B),fU(this,this.getCurrentTime(),!0))};
g.h.zI=function(){this.g.ua||this.T("connectionissue")};
g.h.gU=function(){this.o.experiments.g("html5_new_seeking")||this.l.ac(this.l.getCurrentTime()+.1)};
g.h.Jl=function(){var a=this,b=this.l.pd();b&&b.then(void 0,function(){g.W(a.A,4)||!a.o.experiments.g("html5_dom_sys_pause_killswitch")&&g.W(a.A,256)||(BU(a,"promise"),a.Fg=!0)})};
g.h.hR=function(a){var b={};g.Fa(b,this.o.o);b.cpn=this.g.clientPlaybackNonce;this.g.Te&&(b.vvt=this.g.Te,this.g.mdxEnvironment&&(b.mdx_environment=this.g.mdxEnvironment));this.o.Wc&&(b.authuser=this.o.Wc);this.o.pageId&&(b.pageid=this.o.pageId);g.fc(a.D,b);aoa(a,a.R)};
g.h.xQ=function(a,b,c,d){d=void 0===d?"YTP_ERROR_LICENSE":d;c=c.substr(0,256);"drm.keyerror"==a&&1<this.H.l.keys.length&&96>this.Gg&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.ZT(this,a,d,c);else if(this.C)this.C.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.Gg++,wU(this))};
g.h.zQ=function(){var a=this,b=this.o.experiments.l("html5_license_constraint_delay"),c=XE();b&&c?(b=new g.mu(function(){sU(a,"l");VT(a)},b),g.L(this,b),b.start()):(sU(this,"l"),VT(this))};
g.h.yQ=function(){var a=this;RL&&(this.da=jla(this.g.na))&&(this.da.g?g.Uf(function(){a.CB()}):Sna(this.B,this.da))};
g.h.VK=function(a){this.T("heartbeatparams",a)};
g.h.WK=function(a){this.Ec("keystatuses",joa(a));var b=0;this.g.Ha&&(b=this.g.Ha.video.l);var c=this.o.experiments.g("html5_drm_start_from_null_constraint"),d=c&&!(loa(a,"AUDIO")&&loa(a,"SD"));a:{for(var e in a.g)if("output-restricted"==a.g[e].status){a=!0;break a}a=!1}a&&(!c&&480<b||d)&&this.T("drmoutputrestricted")};
g.h.DQ=function(){if(!this.g.We&&this.l&&!bU(this)){var a="0";0<this.l.g.readyState&&5<=vP(this.l)&&this.g.Ka.g&&(WT(this,IP(this.A,1)),DU(this,"load_soft_timeout"),this.T("playbackstalledatstart"),a="1");this.C&&(a={restartmsg:a},eU(this)&&(a.prerolls=this.Z.join(",")),this.B&&g.Fa(a,lT(this.B)),this.l&&g.Fa(a,yP(this.l)),this.C.onError("qoe.start15s",fN(a)));0<this.Fh&&this.Eh<this.Fh&&(this.Eh++,wU(this));this.T("loadsofttimeout")}};
g.h.gu=function(){if(!this.ib){var a=new AT(this.g,this.Ji);if("c1a"in a.l){var b=g.x("yt.abuse.botguardInitialized");b=!(b&&b())}else b=!1;if(b)g.iE((0,g.z)(this.gu,this),4500);else{if(a.g&&a.g.qk){a.A&&(a.A.value=a.g.qk+("&r1b="+a.g.clientPlaybackNonce));b=[a.g.qk];for(var c in a.o)if(a.l[c]&&a.o[c]){var d=a.o[c](a.l);d&&b.push(d)}a=b.join("&")}else a=null;a&&this.C&&(c=this.C,c.K||(b=xQ(c,"atr"),b.I=a,b.send(),c.K=!0),this.ib=!0)}}};
g.h.Fb=function(){return this.o.experiments.g("html5_new_seeking")?this.D?this.D.Fb():0:this.g.Fb()};
g.h.Cz=function(){return this.Ca};
g.h.Xq=function(){if(this.l)a:{var a=this.l;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.Ec=function(a,b,c){if(this.C){var d=this.C;d.ha()||VP(d.l,a,b,void 0===c?!1:c)}};g.p(EU,FQ);g.h=EU.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.NU(this).element};
g.h.Wf=function(){return this.app.C};
g.h.getVideoData=function(a){return(a=g.LU(this.app,a||this.playerType))&&a.getVideoData()};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.pd=function(a){3==this.Qa()?g.KU(this.app.A).vl("control_play"):VX(this.app,a)};
g.h.Le=function(a){xU(g.LU(this.app,a))};
g.h.addEventListener=function(a,b){this.app.X.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.X.unsubscribe(a,b)};
g.h.ho=function(a){this.aA(a,a)};
g.h.pl=function(a){return d0(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.Qa(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.getVideoData(e);if(!d)return"";var k;a||d.ua||(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.FU(this).A;d&&d.Gs(a,b,c)};
g.h.bd=function(){if(g.X(this).F)return!1;var a=g.LU(this.app,1);if(!a)return!1;var b=a.getVideoData();return b.Fd()&&!g.QO(b)&&2!=this.Qa()&&(!eU(a)||3==this.Qa())};
g.h.pi=function(a,b){var c=this.app,d=g.LU(c,this.playerType);d&&c.g.Ta.has(a.toString())?d.C?(c=xQ(d.C,"engage"),c.o=a,c.send(b)):b&&b():b&&b()};
g.h.Vf=function(a,b){c0(this.app,a,b)};
g.h.setVolume=function(a){a=g.cd(a,0,100);UH(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){UH(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.Xf=function(){UH(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};g.A(g.jV,g.aG);g.h=g.jV.prototype;g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Lc=function(){return!0};
g.h.V=function(){this.loaded&&this.unload();g.jV.aa.V.call(this)};
g.h.fE=function(){return{}};g.p(nV,g.K);nV.prototype.V=function(){this.l&&g.LF(this.l);this.g.clear();oV=null;g.K.prototype.V.call(this)};
nV.prototype.register=function(a,b){b&&this.g.set(a,b)};
var oV=null;g.p(qV,g.K);qV.prototype.show=function(){this.g.g.l||(this.g.show(),ZE(this.o),this.o=[])};
qV.prototype.hide=function(){this.g.g.l&&(this.g.hide(),ZE(this.l),this.l=[])};
qV.prototype.bind=function(a){var b=this.g,c=a.confirmLabel||null;c?b.l.show():b.l.hide();b.l.Ib(rV(c));this.g.setTitle(a.title||null);this.g.g.Ib(rV(a.dialogMessage||null));g.Id(spa(this.g));b=g.la(a.adReasons||[]);for(c=b.next();!c.done;c=b.next())c=c.value,spa(this.g).appendChild(g.J("li",null,rV(c)));this.o=a.impressionEndpoints&&0<a.impressionEndpoints.length?tpa(a.impressionEndpoints[0]):[];this.l=a.confirmServiceEndpoint?tpa(a.confirmServiceEndpoint):[]};
g.p(pV,g.aG);g.h=pV.prototype;g.h.la=function(){return this.g.element};
g.h.show=function(){if(!this.g.l){this.B.O(window.document,"click",this.IL);this.g.show();var a=this.la(),b=g.Lh(g.Ch(this.A)).width,c=g.Lh(this.A),d=Ah(this.A);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}};
g.h.hide=function(){this.g.l&&(this.g.hide(),g.$F(this.B))};
g.h.setTitle=function(a){a?this.o.show():this.o.hide();this.o.Ib(rV(a))};
g.h.IL=function(a){this.g.l&&(a=a.target,g.Qd(this.A,a)||(g.Qd(this.l.g["ytp-ad-info-dialog-confirm-button"],a)?this.T("confirmClick"):g.Qd(this.g.element,a)||this.T("externalClick")))};g.p(sV,g.aG);sV.prototype.dispose=function(){this.g.clear();g.aG.prototype.dispose.call(this)};
var tV=null;g.va("ytads.bulleit.getVideoMetadata",function(a){return(a=upa().g.get(a))?a.g():{}},void 0);
g.va("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=upa();c=vpa(c);null!=c&&d.T(c,{queryId:a,viewabilityString:b})},void 0);var uV=null,xpa=null;g.va("yt.www.ads.eventcache.getLastCompanionData",function(){return uV},void 0);
g.va("yt.www.ads.eventcache.getLastPlaShelfData",function(){return xpa},void 0);var Tpa={seekableStart:0,seekableEnd:1,current:0};g.p(g.CV,g.K);g.h=g.CV.prototype;g.h.show=function(a){1!=this.g&&2!=this.g&&(3==this.g&&this.rp(),4==this.g?(this.l.show(),this.g=null,this.o.stop()):this.l.l||(DV(this,!0),this.g=1,a?this.o.start(a):this.rp()))};
g.h.hide=function(a){3!=this.g&&(1==this.g||2==this.g?(this.l.hide(),this.g=null,this.o.stop()):this.l.l&&(a&&(this.A=a),DV(this,!0),this.g=3,this.o.start(this.B)))};
g.h.rp=function(){switch(this.g){case 1:this.l.show();this.g=2;this.o.start(10);break;case 2:DV(this,!1);this.g=null;break;case 3:this.l.hide();DV(this,!1);this.g=4;this.o.start(0);break;case 4:this.g=null,this.A&&this.A()}};
g.h.stop=function(){for(;null!=this.g&&4!=this.g;)this.o.stop(),this.rp()};
g.h.V=function(){this.l.ha()||this.l.element.removeAttribute("aria-hidden");g.K.prototype.V.call(this)};GV.prototype.getLength=function(){return this.g-this.l};g.p(JV,g.LH);JV.prototype.C=function(){var a=this.A.A;a=IV(new GV(a.seekableStart,a.seekableEnd),a.current,0);this.F.style.width=100*a+"%"};
JV.prototype.D=function(){g.XM(g.X(this.B))||(2==this.B.Qa()?-1===this.o&&(this.show(),this.o=this.A.subscribe("q",this.C,this),this.C()):-1!==this.o&&(this.hide(),this.A.Jd(this.o),this.o=-1))};g.p(KV,g.U);KV.prototype.clear=function(){for(var a=g.la(this.Ga),b=a.next();!b.done;b=a.next())g.cf(b.value);this.Ga=[]};
KV.prototype.F=function(a){g.QF(a);this.o=Math.max(0,this.o-LV(this));MV(this)};
KV.prototype.D=function(a){g.QF(a);this.o=Math.min(this.Ga.length-1,this.o+LV(this));MV(this)};
KV.prototype.V=function(){this.clear();g.U.prototype.V.call(this)};g.p(NV,g.aG);NV.prototype.stop=function(){this.o&&this.g.Aa(this.o)};
NV.prototype.C=function(){var a=this.l.kh(2);this.A={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.T("q")};
NV.prototype.B=function(a){0<SP(a,2)&&this.T("p")};g.bY={};var OV=[2,5];var wX=["vmap_enabled_ads_backend"];RV.prototype.g=function(a,b,c){a=a||wX;VV(this.l).experiments.g("web_player_204_ad_service_debug_logging_killswitch")&&(0,g.Ej)(a,function(a){return VV(this.l).experiments.g(a)},this)&&(a=c||{},a.cdp=1,a["var"]=b,a.sdkv="h.3.0",g.TU(this.l.g,"ad",a))};YV.prototype.B=function(){var a=ZV(this);a.format="2_3";a.at="2_3";a.ad_sys="AdSense";a.trsp="1";cX(this.g,3,a)};g.A($V,g.K);$V.prototype.V=function(){this.g.reject();$V.aa.V.call(this)};
$V.prototype.C=function(){this.o++;var a=g.x("yt.www.watch.ads.isAfcAdVisible");a&&g.Aa(a)&&a()&&this.A++;4<=this.A?this.g.resolve():5<=this.o?this.g.reject("Timed out waiting for MPU to become visible"):this.l.start()};var fW,bW=!1,cW=!1,aW=!1;g.mG("showCompanionAdLoaded",function(){cW&&(gqa(),cW=!1)});
g.mG("watchAdsInit",function(){bW&&(bW=!1,eqa())});g.A(hW,g.aG);hW.prototype.uf=function(){return this.adSystem+"_"+this.adType};
hW.prototype.Uh=function(){return this.uf()};
hW.prototype.tb=function(){return this.l?this.l.tb():null};
hW.prototype.abort=g.y;g.A(iW,g.K);iW.prototype.V=function(){iW.aa.V.call(this);g.Id(jW(this));g.Id(qqa(this));this.l=this.g=null;delete this.o};g.p(sW,g.K);sW.prototype.start=function(){!this.ha()&&(0,window.isNaN)(this.g)&&(this.o=(0,g.F)(),this.g=g.vg(this.B,Math.max(0,this.A-this.l),this))};
sW.prototype.stop=function(){(0,window.isNaN)(this.g)||(this.o=this.l=0,g.wg(this.g),this.g=window.NaN)};
sW.prototype.pause=function(){(0,window.isNaN)(this.g)||(this.l+=(0,g.F)()-this.o,g.wg(this.g),this.g=window.NaN)};
sW.prototype.V=function(){(0,window.isNaN)(this.g)||g.wg(this.g);g.K.prototype.V.call(this)};g.A(uW,hW);uW.l=15;uW.g=1E3;g.h=uW.prototype;g.h.abort=function(){yqa(this.B,13);this.N||this.l.destroy();this.C=this.F=!1;yW(this)};
g.h.uf=function(){var a=this.tb();var b=br(a);if(4==oqa(b).o)return b;if(Is(a))a=3;else if(a.isSkippable())a=Js(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.Uh=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){gW();OX(this.g)&&dW(this.g,{});g.T_(this.g.g.app,2);this.B.o=g.AG();this.D=this.g.getRootNode();this.A.subscribe("progresssync",this.bB,this);this.g.l.L&&g.Kd(g.H("video-ad-status-bar",this.D));g.Eq(this.D,["ad-showing","ad-interrupting"]);this.g.subscribe("resize",this.Vu,this);try{this.o.U(this.l,"adError",this.BV),this.o.U(this.l,"click",this.AV),this.o.U(this.l,"complete",this.EV),this.o.U(this.l,"engagedview",this.dQ),this.o.U(this.l,"pause",this.nE),this.o.U(this.l,"start",
this.oE),this.o.U(this.l,"skip",this.HV),this.o.U(this.l,"MUTE_AD",this.abort),this.o.U(this.l,"skippableStateChanged",this.yS),this.o.U(this.l,"youTubeChannelMetadata",this.VQ),this.o.U(this.l,"yt-show-toast",this.vT),this.o.U(this.l,"companionInitialized",this.CV),OX(this.g)&&(this.o.U(this.l,"youtubeKevlarCompanionShow",this.FV),this.o.U(this.l,"youtubeKevlarCompanionHide",this.vQ)),this.o.U(jW(this.g.C),"mouseup",this.GV),this.Vu(),this.N||this.l.start()}catch(a){zW(this,a)}this.g.l.l&&VV(this.g).experiments.g("ad_info_icon_in_card")&&
SX(this.g,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.qE=function(a,b,c){if("newdata"==a&&this.videoData!=c){a=new pqa;a.isSkippable=this.W;a.isBumper=this.Z;a.skip=(0,g.z)(this.l.skip,this.l);a.muteAd=(0,g.z)(this.l.muteAd,this.l);a.whyThisAdClicked=(0,g.z)(this.l.whyThisAdClicked,this.l);a.whyThisAdClosed=(0,g.z)(this.l.whyThisAdClosed,this.l);a.sendAdsPing=g.YE;a.skipShown=(0,g.z)(this.l.SC,this.l);var d=this.tb();if(d){a.clickThroughUrl=Us(d)||"";b=c.lengthSeconds;(d=ut(d))?(eq(d,b),b=fq(d)):b=null;a.skipTime=b||0;a.adSystem=this.adSystem;if(b=
Bqa(this))a.whyThisAdInfo=b;if(d=Cqa(this))a.muteAdInfo=d;var e=VV(this.g);this.g.l.l&&e.experiments.g("ad_info_icon_in_card")&&(e={showAdInfoIcon:!0},e.whyThisAdInfo=b,e.muteAdInfo=d,SX(this.g,"onAdMetadataAvailable",e))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.Vl()||"");c.spacecastModule=this.Y;xW(this.g,-1,a)}this.videoData=c};
g.h.pE=function(a){a=a.state;g.W(a,1)||this.H.pause();g.W(a,128)?zW(this,Error(a.g.message||"Video player error.")):g.W(a,1)&&this.H.start()};
g.h.oE=function(){this.K=!0;this.C=!1;if(!this.F){this.F=!0;var a=this.B;qW(a);var b=rW(a);if((0,window.isNaN)(a.o))qW(a);else{var c=g.AG()-a.o;b.ad_stl=c}pW(a,4,b);Aqa(this.g,1);wW(this,!1);eO("_start","video_to_ad")&&(this.I&&1!=this.I&&(0,g.JQ)("yt_abt",this.I,"video_to_ad"),this.videoData&&this.videoData.clientPlaybackNonce&&(0,g.JQ)("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad"),this.videoData&&this.videoData.videoId&&(0,g.JQ)("ad_docid",this.videoData.videoId,"video_to_ad"),(0,g.JQ)("cpn",
WV(this.g).clientPlaybackNonce,"video_to_ad"),(0,g.IQ)("apbs",void 0,"video_to_ad"));(a=g.T("ADS_INSTREAM_FIRST_PLAY"))&&SX(this.g,"onAdAnnounce",a)}xW(this.g,1);this.T("adPlay",this)};
g.h.nE=function(){this.K&&(this.K=!1,xW(this.g,2))};
g.h.EV=function(){if(!this.C){var a=this.B;qW(a);var b=rW(a),c=a.g.Fk();c?b.ad_fmt=c:qW(a);pW(a,5,b);VV(this.g).ub&&SX(this.g,"onAdComplete");yW(this);this.C=this.F=!1}};
g.h.dQ=function(){var a=this.B;a.g.T("AD_LOGGING_EVENT",777,rW(a))};
g.h.HV=function(){this.C=!0;var a=this.B,b=rW(a),c=a.g.Fk();c?b.ad_fmt=c:qW(a);pW(a,14,b);VV(this.g).ub&&SX(this.g,"onAdSkip");yW(this)};
g.h.yS=function(){VV(this.g).experiments.g("html5_ad_no_buffer_abort_after_skippable")&&this.H.dispose();var a=g.T("ADS_INSTREAM_SKIPPABLE");a&&SX(this.g,"onAdAnnounce",a)};
g.h.VQ=function(){if(!this.ha()){var a=this.g.l;if(a){var b=this.tb();if(b){var c=b.L;b=b.ca;var d=VV(this.g),e=Bqa(this),f=Cqa(this);b&&c&&c.isListed?(a={},a.videoTitle=c.title,a.channelThumbnailUrl=b.channelIconThumbnailUrl,a.channelTitle=b.authorName,a.channelVideoCount=b.videoCount,a.showAdInfoIcon=this.g.l.l&&d.experiments.g("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,SX(this.g,"onAdMetadataAvailable",a)):a.l&&d.experiments.g("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},a.whyThisAdInfo=
e,a.muteAdInfo=f,SX(this.g,"onAdMetadataAvailable",a))}}}};
g.h.vT=function(a){SX(this.g,"onYtShowToast",a.event.g)};
g.h.CV=function(a){a=a.event;var b=a.g;b&&b instanceof g.Gf&&this.T("adCompanionInitialized",a.Lb(),b)};
g.h.FV=function(a){if(OX(this.g)){var b=a.event.Lb();if(a=b&&b.F){b={adHoverTextButtonRenderer:rqa(Rs(b),Ss(b))};var c=VV(this.g);a.iframeCompanionRenderer?c.experiments.g("desktop_videowall_companion_wta_support")&&(a.iframeCompanionRenderer.adInfoRenderer=b):a.imageCompanionAdRenderer?c.experiments.g("desktop_image_companion_wta_support")&&(a.imageCompanionAdRenderer.adInfoRenderer=b):a.actionCompanionRenderer?c.experiments.g("desktop_action_companion_wta_support")&&(a.actionCompanionRenderer.adInfoRenderer=
b):a.shoppingCompanionCarouselRenderer&&c.experiments.g("desktop_shopping_companion_wta_support")&&(a.shoppingCompanionCarouselRenderer.adInfoRenderer=b);dW(this.g,a)}}};
g.h.vQ=function(){OX(this.g)&&dW(this.g,{})};
g.h.BV=function(a){var b={};try{b.error_code=a.event.getError().Ub()}catch(c){b.error_code=900,b.error_message=c.toString()}yqa(this.B,32,b);zW(this,a.event.getError())};
g.h.AV=function(){var a=this.B;qW(a);var b=rW(a);if(a.l){var c=XV(a.A);b.ck_xy=Math.round(a.l.x-c.left)+"x"+Math.round(a.l.y-c.top);b.ck_wh=c.width+"x"+c.height}pW(a,15,b);this.l.pause();this.T("select")};
g.h.bB=function(){};
g.h.WA=function(){this.l.qf();if(this.F&&!this.C){var a=this.B;a.g.T("AD_LOGGING_EVENT",19,rW(a))}wW(this,!0)};
g.h.V=function(){this.g.unsubscribe("control_toggle_play_pause",this.rE,this);this.g.unsubscribe("control_play",this.Vt,this);this.g.unsubscribe("control_pause",this.Tt,this);this.g.unsubscribe("resize",this.Vu,this);g.WF(this.o);this.A.unsubscribe("statechange",this.pE,this);this.A.unsubscribe("internalAbandon",this.WA,this);this.A.unsubscribe("internalvideodatachange",this.qE,this);this.A.unsubscribe("progresssync",this.bB,this);this.N||this.l.destroy();this.L&&(g.Id(this.L),this.L=null);this.R&&
(g.Kd(this.R),this.R=null);this.D&&(g.Gq(this.D,["ad-showing","ad-interrupting"]),this.D=null);this.C=!1;Kra(this.g);this.H.dispose();this.H=null;uW.aa.V.call(this)};
g.h.wn=function(){return this.A.getDuration()};
g.h.Fk=function(){return this.videoData&&this.videoData.Ha?this.videoData.Ha.mimeType:null};
g.h.Vl=function(){return this.videoData&&this.videoData.nf?this.videoData.nf.g().g:null};
g.h.rE=function(){this.K?this.Tt():this.Vt()};
g.h.Vt=function(){this.l.resume();this.oE()};
g.h.Tt=function(){this.l.pause();this.nE()};
g.h.Vu=function(){g.Kh(jW(this.g.C),this.g.app.F.Ia())};
g.h.GV=function(a){a=new g.gd(FF(a),GF(a));this.B.l=a};g.A(CW,hW);g.h=CW.prototype;g.h.wn=function(){};
g.h.Fk=function(){};
g.h.Vl=function(){};
g.h.show=function(){if(!this.C||!$X(this.g)){var a=this.g.getRootNode();g.R(a,"ad-showing");this.o=jW(this.g.C);a=this.l.tb().getHeight();this.o.style.height=yh(a,!0);g.R(this.o,"ad-overlay");this.A.U(this.o,"mouseup",this.LV);try{this.A.U(this.l,"autoClose",this.fP),this.A.U(this.l,"userClose",this.US),this.A.U(this.l,"click",this.JV),this.A.U(this.l,"impression",this.sQ),this.A.U(this.l,"why_this_ad_url",this.Qt),this.A.U(this.l,"why_this_ad_got_it",this.Pt),this.A.U(this.l,"adError",this.IV),OX(this.g)&&
this.A.U(this.l,"youtubeKevlarCompanionShow",this.KV),this.xc("normal"),this.nk(),this.H||this.l.start(),this.Wu(),this.F=!0,this.g.subscribe("resize",this.nk,this),this.g.subscribe("presentingplayerstatechange",this.sE,this),this.T("adEnd",this)}catch(b){this.T("adError",b)}}};
g.h.Qt=function(){(this.D=2==e0(this.g.app))||vX(this.g)};
g.h.Pt=function(){this.D||WX(this.g)};
g.h.KV=function(a){OX(this.g)&&(a=(a=a.event.Lb())&&a.F)&&dW(this.g,a)};
g.h.V=function(){var a=this.g.getRootNode();g.Gq(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.WF(this.A);this.g.unsubscribe("resize",this.nk,this);this.g.unsubscribe("presentingplayerstatechange",this.sE,this);g.Fq(a,"ad-showing");this.l&&(this.H||this.l.destroy(),this.l=null);this.o&&g.Fq(this.o,"ad-overlay");this.o=null;this.C=!1;CW.aa.V.call(this)};
g.h.US=function(){this.o&&this.l&&this.l.tb()&&(this.o.style.height=yh(0,!0));this.C=!0;var a=this.B;a.l=(0,g.F)();var b=BW(a);AW(a,6,b);DW(this,!1)};
g.h.fP=function(){DW(this,!1)};
g.h.JV=function(){vX(this.g);var a=this.B;a.l=(0,g.F)();var b=BW(a);if(a.o){var c=XV(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}AW(a,100,b)};
g.h.sQ=function(){var a=g.T("ADS_OVERLAY_IMPRESSION");a&&SX(this.g,"onAdAnnounce",a);DW(this,!0)};
g.h.LV=function(a){this.B.o=a.target==a.currentTarget?null:new g.gd(a.pageX,a.pageY)};
g.h.IV=function(a){this.T("adError",a.event.getError())};
g.h.sE=function(a){g.W(a.state,16)&&this.xc("normal")};
g.h.xc=function(a){this.I!=a&&(this.I=a,this.F&&this.nk())};
g.h.nk=function(){var a=this.o;var b=g.nd(a),c=g.yd&&a.currentStyle;c&&g.vd(g.pd(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing?(b=g.Ph(a,c.width,"width","pixelWidth"),a=g.Ph(a,c.height,"height","pixelHeight"),a=new g.kd(b,a)):(c=new g.kd(a.offsetWidth,a.offsetHeight),b=g.Rh(a),a=g.Uh(a),a=new g.kd(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom));this.l.tb()&&(c=this.l.tb().Ab(),b=this.l.tb().getHeight(),(c>a.width||b>a.height)&&DW(this,!1))};
g.h.Wu=function(){var a=this.B;a.A=(0,g.F)();var b=BW(a);AW(a,3,b)};g.A(EW,g.K);EW.l="rm";EW.g=10;EW.B=200;EW.o=200;EW.A=190;g.h=EW.prototype;
g.h.load=function(){var a=this.g.app.F.Ia();if(this.g.l.A)var b=!1;else b=0<(this.C&3)?190:200,b=200>a.width||a.height<b;if(b){b=this.o;var c=ZV(b);c.ck_wh=a.width+"x"+a.height;RX(b.g,14,c);gW();eX(this.B)}else if(this.Za=this.g.Za)a=this.o,cX(a.g,9,ZV(a)),a=cqa(this.g),(b=this.g.l.serverPrefetchedVast)&&0<(this.C&3)?(a.l=b,this.g.l.serverPrefetchedVast=void 0):a.g=this.Pg(),this.Za.U("adsManagerLoaded",this.lE,!1,this),this.Za.U("adError",this.kE,!1,this),this.yC(this.Za,a)};
g.h.Lq=function(){var a=Wpa(this.g.l,VV(this.g),WV(this.g));a.surveyCreativeData=this.g.l.surveyCreativeData;a.mV=this.F;return a};
g.h.lE=function(a){if(a.l===this){(0,g.IQ)("aml");fO("aml");try{var b=this.Lq(),c=a.g}catch(d){this.oh(d);return}this.A.U(c,"companionBackfill",(0,g.z)(this.zV,this,c));this.A.U(c,"loaded",(0,g.z)(this.yV,this,c));this.A.U(c,"adError",(0,g.z)(this.xV,this,c));this.A.U(c,"allAdsCompleted",g.y);this.A.U(c,"contentPauseRequested",g.y);this.A.U(c,"contentResumeRequested",g.y);c=XA(a,this.g.D,{},b);try{c.init("normal")}catch(d){c.destroy(),this.oh(d)}}};
g.h.yV=function(a,b){g.gn(this.A);var c=b.Lb(),d=c.Tb(),e=this.o,f=ZV(e);f.ad_man=d?"instream":"overlay";cX(e.g,12,f);e=a.Rg();switch(d?this.Hn(a,c,e):this.Wh(a,c)){case 0:Vqa(this.B,this.H,this.l);break;case 1:a.destroy();eX(this.B);break;case 2:c=this.o;RX(c.g,21,ZV(c));a.destroy();eX(this.B);break;case 3:eX(this.B);break;default:a.destroy()}};
g.h.xV=function(a,b){g.gn(this.A);a.destroy();this.oh(b.getError())};
g.h.kE=function(a){var b=a.getError();"adLoadError"==b.Sb()&&a.g===this&&this.oh(b)};
g.h.zV=function(){Eqa(this)};
g.h.Hn=function(a,b,c){var d=WV(this.g)&&WV(this.g).spacecastModule;if(d&&c&&!this.K.test(c))return 3;GW(this,Ws(b));FW(this,new uW(this.F,this.g,a,b.isSkippable(),b.isBumper(),void 0,d,this.l.g));return 0};
g.h.Wh=function(a,b){GW(this,Ws(b));FW(this,new CW(this.F,this.g,a));return 0};
g.h.oh=function(a){if(a){var b=this.o,c=ZV(b);a&&Vpa(a,c);RX(b.g,32,c);eX(this.B)}};
g.h.V=function(){this.Za&&(this.Za.Aa("adsManagerLoaded",this.lE,!1,this),this.Za.Aa("adError",this.kE,!1,this));g.gn(this.L);g.gn(this.A);EW.aa.V.call(this)};
g.h.yC=function(a,b){try{dD(a,b,this),(0,g.IQ)("ar"),fO("ar")}catch(c){this.oh(c)}};g.A(HW,hW);g.h=HW.prototype;g.h.wn=function(){};
g.h.Fk=function(){};
g.h.Vl=function(){};
g.h.show=function(){if(OX(this.g))dW(this.g,{afcMpu:{logImpression:this.mE.bind(this),logNoAd:this.tr.bind(this)}});else if(aW)this.tr();else{var a=VV(this.g).experiments;eqa();eW();hqa(a).then((0,g.z)(this.mE,this),(0,g.z)(this.tr,this))}};
g.h.mE=function(){var a={ad_sys:"AdSense"};a.at=this.Uh();a.format=this.uf();this.T("AD_LOGGING_EVENT",3,a);this.T("adEnd",this)};
g.h.tr=function(){var a={};a.at=this.Uh();this.T("AD_LOGGING_EVENT",2,a);this.T("adEnd",this)};g.A(IW,EW);IW.prototype.Lq=function(){var a=IW.aa.Lq.call(this);a.hw=0==this.I;a.pH=$X(this.g)?a.hw:!0;return a};
IW.prototype.Pg=function(){var a=QV(this.l);var b=this.D;(b=4==this.C&&b.g.afvInvideoAdTag?b.g.afvInvideoAdTag:b.g.afvAdTag)?(g.nb(b,"http:")&&(b=b.substr(5)),a=g.zE(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
IW.prototype.Wh=function(a,b){if(this.g.l.A)return 1;if(1==this.l.g){var c=new PV(2,10);this.l=c;this.o.o=c;cX(this.g,1)}return IW.aa.Wh.call(this,a,b)};g.A(JW,CW);JW.prototype.nk=function(){};
JW.prototype.uf=function(){return"1_3"};
JW.prototype.Wu=function(){1==this.K?this.T("AD_LOGGING_EVENT",2,{}):JW.aa.Wu.call(this)};g.A(KW,EW);KW.prototype.Pg=function(){var a=this.D,b=QV(this.l);if(0<(this.C&3)){var c="mid,"+a.Bb;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");a=new g.Lm(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};
KW.prototype.Wh=function(a,b){GW(this,Ws(b));var c=Fs(b);if(UV(c,"rm"))return 1==this.C||$X(this.g)||gW(),a.Wj(),2;if(UV(c,"blockAllAds"))return a.Wj(),FW(this,new JW(this.g,a,1)),0;if(UV(c,"hideMaster"))return FW(this,new JW(this.g,a,0)),0;if(this.g.l.A)return 1;FW(this,new CW(this.F,this.g,a));return 0};g.A(LW,EW);LW.l="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";LW.o="43";LW.g=function(a){var b=new ND;g.GE(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,sd:function(){var c=Error(a+" timed out");RD(b);PD(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);RD(b);PD(b,!1,c)},
onSuccess:function(a){b.tk(a)}});
return b};
LW.prototype.Pg=function(){return""};
LW.prototype.yC=function(a,b){var c=this.C;c&1||c&4||c&8?this.D?c&8?jqa(this.D):("goo.gl"==g.Jg(this.D)?(c=LW.g("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.D),TD(c,function(a){a=JSON.parse(a.responseText);if(!a)throw Error("Invalid expanded forced ad URL.");if(!a.longUrl)throw Error("Missing forced ad URL information.");a=new g.Lm(a.longUrl);g.Um(a,"video_format","43");return LW.g(a.toString())},this)):c=LW.g(this.D),TD(c,function(c){b.l=
c.responseText;
dD(a,b,this)},this),SD(c,null,this.oh,this)):this.oh(Error("Invalid empty URL")):this.oh(Error("Invalid request type: "+c))};var MW=null;g.p(Mqa,g.LH);g.p(OW,g.LH);g.h=OW.prototype;g.h.V=function(){g.LH.prototype.V.call(this);this.clear()};
g.h.bind=function(a,b){Oqa(this,a);this.D=b||Nqa()};
g.h.clear=function(){this.A.clear();this.B.stop()};
g.h.start=function(){this.B.start();this.yu()};
g.h.KO=function(a){this.o||(this.o=new qV(a.target),g.L(this,this.o),this.element.appendChild(this.o.g.la()));this.o.bind(this.D);this.o.show()};
g.h.yu=function(){MV(this.A)};
g.h.II=function(){this.H.start()};g.A(PW,hW);PW.prototype.wn=function(){};
PW.prototype.Fk=function(){};
PW.prototype.Vl=function(){};
PW.prototype.show=function(){var a=WV(this.g).videoId;if(a){var b=this.l.tb();VV(this.g).B.add(a,{Jh:Bt(b)||null,ek:Ct(b)||null});if(OX(this.g)){var c=Pqa(this);g.Ra(c)||(a=Rs(this.l.tb())||void 0,c={shopText:kW(as(c[0],"teaser_text")),sponsoredText:kW(g.T("YTP_SPONSORED")),itemList:{horizontalListRenderer:{items:(0,g.G)(c,uqa),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",
size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}}},a?(c.adInfoButton={buttonRenderer:{style:"STYLE_OPACITY",size:"SIZE_DEFAULT",icon:{iconType:"INFO"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},lW(c.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a)):c.adInfoText=kW(g.T("YTP_SPONSORED_PRODUCT_INFO")),SX(this.g,"onPlaShelfInfoCardsReady",{renderer:c}))}else if(a=Pqa(this),!g.Ra(a)){c=Rs(this.l.tb());if(c){var d={};lW(d,c);d=d.dialog.adInfoDialogRenderer}this.o.bind(a,
d);a=this.o.element;Hqa().then(g.Ea(Iqa,a)).then(this.o.start,null,this.o)}a={};a.format=this.uf();a.at=this.Uh();TV(b,a);this.T("AD_LOGGING_EVENT",3,a)}};g.A(QW,EW);QW.prototype.Pg=function(){return""};
QW.prototype.Wh=function(a,b){GW(this,Ws(b));FW(this,new PW(this.g,a));5!=this.l.g&&Eqa(this);return 0};
QW.prototype.Hn=function(){return 1};g.A(RW,QW);RW.prototype.Pg=function(){return this.g.l.forceAdUrl||""};g.A(VW,CW);VW.prototype.nk=function(){};
VW.prototype.uf=function(){return"4_3"};g.A(WW,EW);
WW.prototype.Pg=function(){if(g.D(this.D)||0!=QV(this.l)){var a=this.N;if(a.g.ea&&a.g.ma){var b={};var c="youtube_watch_"+a.o;b.nw="10613";b.asnw=a.g.ea;b.ssnw=a.g.ea;b.caid=a.g.ma;b.vdur=a.C;b.csid=c;b.resp="vast2";b.metr="121";c={};(0,window.isNaN)(a.g.oa)||(c._fw_d_001=a.g.oa);a.g.gender&&(c._fw_d_002=a.g.gender);a.g.Ya&&(c["_fwu:10613:lang"]=a.g.Ya);a.g.ia&&(c._fw_dbp=a.g.ia);a.g.contentVideoId&&(c._fw_distributorvideoassetid=a.g.contentVideoId);c._fw_yt_type=Sqa(a)?"long":"short";b.prof=Sqa(a)?
"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";b.crtp="youtube";b.flag=SW(a.l)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.B&1&&!a.F){var e={};d=Rqa(a);if(UW(a.l)){if(UW(a.l)){var f=0;var k=a.A.o;if(k){k=k.yb;for(var l=0;l<k.length&&(UW(k[l])&&f++,k[l].getId()!=a.l.getId());l++);}}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";a.g.C&&!a.g.o?d=";linear-skippable":!a.g.C&&a.g.o&&(d=";video");e.slau=Rqa(a)+d;e.tpos=TW(a.l)?a.C.toString():QV(a.l.Qb).toString();d=mE(e)+";";
e={slid:"page_display1",w:"300",h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};d+=mE(e)+";"}a.B&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=SW(a.l)?"10":TW(a.l)?a.C.toString():QV(a.l.Qb).toString(),d+=mE(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=mE(e)+";");a.B&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=mE(e)+";");a=d.substr(0,d.length-1);b="//2975c.v.fwmrm.net/ad/g/1?"+mE(b)+";"+mE(c)+";"+a}else b=""}else b=this.D;
return b};
WW.prototype.Hn=function(a,b){return WW.aa.Hn.call(this,a,b,null)};
WW.prototype.Wh=function(a,b){var c=Fs(b);if(UV(c,"rm"))return this.B.B=g.cc(a),2;if(this.g.l.A)return 1;if(UV(c,"hideMaster")){if(a.Od&&a.Od.Sh()){c=a.Od.Sh();var d=a.tb();if(O.g()){var e=d.W;d.W=[];d=e}else d=[];c.impressionUrls=d}FW(this,new VW(this.g,a));return 0}return WW.aa.Wh.call(this,a,b)};XW.prototype.Sb=function(){return this.l};
XW.prototype.create=function(a,b){switch(this.l){case 1:return new IW(a,b,this.g);case 2:return new KW(a,b,this.g);case 5:return new WW(a,b,this.g);case 4:return new LW(a,b);case 7:return new QW(a,b,this.g);case 8:return new RW(a,b,this.g);default:return null}};g.A(YW,g.aG);g.h=YW.prototype;g.h.Mb=function(){return"loaded"==this.A||"error"==this.A};
g.h.getId=function(){return this.Ba};
g.h.show=function(){this.F?this.g instanceof CW&&this.g.xc("normal"):(this.F=!0,this.g instanceof uW&&this.o.oe("bs"),this.g.subscribe("adEnd",this.aB,this),this.g.subscribe("adError",this.hE,this),this.g.subscribe("AD_LOGGING_EVENT",this.jE,this),this.g.subscribe("select",this.gE,this),this.g.subscribe("adCompanionInitialized",this.iE,this),this.g.show(),Wqa(this,!0))};
g.h.aB=function(){this.l&&(fX(this),Ira(this.o));bX(this)};
g.h.hE=function(a){if(a){var b={};Vpa(a,b);dX(this,b);RX(this.o,32,b)}fX(this);bX(this)};
g.h.jE=function(a,b){dX(this,b);cX(this.o,a,b)};
g.h.gE=function(){this.D=!1};
g.h.iE=function(a,b){this.T("adCompanionInitialized",a,b)};
g.h.V=function(){fX(this);this.g=null;null!=this.B&&(this.B.dispose(),this.B=null);YW.aa.V.call(this)};var bra=[new PV(1)];var dra={ZF:"m",GF:"f"};g.A(gX,g.K);gX.prototype.B=function(a){if(a=a.Lb()){var b=a.C;if(null!=b){var c=tW(this.o.g.app,2);c&&c.getVideoData().videoId==b?c.C?(c=c.C,b=xQ(c,"engage"),b.o=1,c=hP(c.g),b=g.Ea(xma,b.Ya,dQ(b),bQ(b),c)):b=null:b=null;this.l=b}Pra(this.o,a)}else g.dE(Error("Ad object is missing in AdEvent"))};
gX.prototype.A=function(){this.g&&this.l&&this.l()};g.A(mX,g.K);g.h=mX.prototype;g.h.nD=function(){this.g.subscribe("beginseeking",this.Qm,this)};
g.h.eD=function(a,b){return a.l&&UW(a)?b+this.A+this.o:b};
g.h.dD=function(a,b){return!a.l||TW(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.A+this.o};
g.h.cw=function(a){if(a.l&&UW(a)&&!(0>=this.o)){var b={priority:2,id:String(a.getId()),style:"ytp-ad-fadeout"},c=$W(a)+this.A;b=new g.LQ(c,c+this.o-1,b);this.B[a.getId()]=b;uX(this.g,[b])}};
g.h.vE=function(a){a.l&&UW(a)&&(hra(this,a.getId()),this.Qm())};
g.h.Qm=function(){(0,window.isNaN)(this.l)||(g.kE(this.l),this.l=window.NaN);var a=UX(this.g);nX(this,a,this.g.app.H.getVolume()/100);CT(a,"transition","");CT(a,"opacity","1")};
g.h.wE=function(a){var b=$W(a)+this.A+this.o;b=50>=1E3*this.g.getCurrentTime(1)-b;a.l&&UW(a)&&b&&(a=.001*($W(a)+this.D),Mra(this.g,a),0>=this.C||(a=UX(this.g),CT(a,"opacity","0"),nX(this,a,0),g.iE((0,g.z)(this.MV,this),0)))};
g.h.MV=function(){var a=UX(this.g);CT(a,"transition","opacity "+String(this.C)+"ms linear");CT(a,"opacity","1");ira(this,a,this.C,1)};
g.h.uE=function(a,b,c){if(!(0,window.isNaN)(this.l)){var d=Math.max(1,b-(0,g.F)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);nX(this,a,d);this.l=0<d?kX((0,g.z)(this.uE,this,a,b,c),c):window.NaN}};
g.h.tE=function(a,b,c){if(!(0,window.isNaN)(this.l)){var d=Math.max(1,b-(0,g.F)()),e=this.g.app.H.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);nX(this,a,d);this.l=d<e?kX((0,g.z)(this.tE,this,a,b,c),c):window.NaN}};
g.h.V=function(){this.Qm();this.g.unsubscribe("beginseeking",this.Qm,this);mX.aa.V.call(this)};g.A(oX,mX);g.h=oX.prototype;g.h.nD=g.y;g.h.eD=function(a,b){return b};
g.h.dD=function(a,b){return b};
g.h.cw=g.y;g.h.vE=g.y;g.h.wE=g.y;g.h.V=g.y;g.A(pX,g.K);pX.prototype.o=function(){if(this.A){var a=this.g.l;if(null!=a&&(a=a.g,!(0>=a))){var b=this.g.g.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Kb(this.C.o,function(a){a.Mb();if(a.isVisible&&!(0>=rX(this,a))){var f=a.getId();f=this.C.C[f];if(rX(this,a)>b){var k=!sX(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=rX(this,a)-b,f<e&&(e=f,d=a))}else f.visible||(f.visible=!0,c.push(f))}},this);
0<c.length&&uX(this.g,c,1);if(d){var f=0;0<this.l&&(f=(0,g.F)()/1E3-this.l);jra(this,a-f-e+2)}else qX(this)}}};
pX.prototype.V=function(){qX(this);this.g.unsubscribe("endseeking",this.o,this);pX.aa.V.call(this)};g.A(tX,g.K);g.h=tX.prototype;g.h.Lj=function(a){a.unsubscribe("adBreakComplete",this.Lj,this);a.unsubscribe("adCompanionInitialized",this.Ht,this);this.N=g.iE((0,g.z)(this.HO,this,a),0)};
g.h.Ht=function(a,b){g.cf(this.I);this.I=new gX(this.l,b)};
g.h.HO=function(a){var b=mra(this,a),c=b.previous;b=b.next;this.N=window.NaN;var d=!1;switch(a.Qb.g){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.ua(b.Qb.l)?$W(b)-1:0x7ffffffffffff}0==a.Ba&&(this.l.oe("bl"),ZW(a)||this.l.oe("fb"));"loaded"!=a.A||0==a.Ba&&ZW(a)&&b&&1E3*this.l.g.getCurrentTime()>=$W(b)?(c&&c.Mb()&&!d&&(b=e,e=$W(c),e>b&&(b=e),ora(this,c),nra(this,c,b)),this.Oh(a)):(this.o[a.getId()]=a,nra(this,a,e),aX(this.l));g.Pb(this.o)==this.yb.length&&this.B.o();
kra(this)};
g.h.Oh=function(a){a.unsubscribe("adBreakComplete",this.Lj,this);a.unsubscribe("adBreakComplete",this.Bl,this);this.g&&a==this.g&&(this.g=null,null!=this.I&&a.l&&(this.I.g=!0));ora(this,a);g.Va(this.yb,a);delete this.o[a.getId()];g.cf(a)};
g.h.dj=function(a){return this.o[a]};
g.h.Bl=function(a){a.unsubscribe("adBreakComplete",this.Bl,this);if(a.l){if(!TW(a)&&a.D){var b=this.l;ZX(b);WX(b);this.A.wE(a)}else ZW(a)&&!a.D?(b=this.l,ZX(b),WX(b)):ZX(this.l);this.Oh(a);a=this.B.l;a={tfla:0<a?Math.floor((0,g.F)()/1E3-a):0};this.l.Vi.g(wX,"set_previous_ad_end_time",a);a=this.B;a.A&&(b=a.g.l)&&0<b.g&&(a.l=(0,g.F)()/1E3,a.o());for(;!g.Ra(this.L);)pra(this,this.L.shift())}else a.isVisible||this.Oh(a)};
g.h.V=function(){g.kE(this.N);g.cf(this.A);g.cf(this.B);(0,g.B)(this.yb,this.Oh,this);g.cf(this.I);tX.aa.V.call(this)};g.A(xX,tX);g.h=xX.prototype;g.h.dj=function(a){a=xX.aa.dj.call(this,a);if(!a)return null;if(!a.H)return a;var b=null;if(this.D.length){var c=b=this.D.shift();c.Qb=a.Qb;c.Ba=a.getId()}b&&"loaded"==b.A?(a.unsubscribe("adBreakComplete",this.Lj,this),this.o[a.getId()]=b,this.yb[this.yb.indexOf(a)]=b,g.cf(a)):(this.Oj(),b&&(g.cf(b),b=null,this.Oh(a)));b&&!b.l&&this.Oj();return b};
g.h.Lj=function(a){!SW(a)&&(2!=a.Qb.g||10!=QV(a.Qb))||"loaded"==a.A&&a.l||this.Oj();xX.aa.Lj.call(this,a)};
g.h.Bl=function(a){a.l&&10<this.R?(yX(this),this.W=g.iE((0,g.z)(this.Oj,this),1E3*(this.R-10))):this.Oj();xX.aa.Bl.call(this,a)};
g.h.Oj=function(){if(!this.ha())for(yX(this);this.H.length&&this.K.length+this.D.length<this.Y;){var a=this.H.shift();a.subscribe("adBreakComplete",this.ZA,this);this.K.push(a);eX(a)}};
g.h.ZA=function(a){a.unsubscribe("adBreakComplete",this.ZA,this);g.Va(this.K,a);this.D.push(a)};
g.h.V=function(){yX(this);g.B(this.K,g.cf);g.B(this.D,g.cf);g.B(this.H,g.cf);xX.aa.V.call(this)};g.A(zX,tX);zX.prototype.getVideoData=function(){return null};
zX.prototype.Z=function(a){"loaded"==a.A&&this.H.push(a);a.unsubscribe("adBreakComplete",this.Z,this)};
zX.prototype.R=function(){if(null!=this.g&&0<this.H.length){var a=this.H.shift();delete this.o[QV(a.Qb)];var b=Math.floor((0,g.F)()/1E3)-this.ca;this.ca=null;a.unsubscribe("adBreakComplete",this.R,this);this.Oh(a);this.g=null}0<this.K?(this.K--,qra(this)):(a=this.W,ZX(a),WX(a),(0,window.isFinite)(b)&&(this.Y?fU(this.D,window.Infinity,!0):fU(this.D,this.D.getCurrentTime()+b,!0)))};g.A(AX,g.K);AX.prototype.D=function(){this.g||(this.g=sra(this.A.Be()));uX(this.l,g.Qb(this.g),1)};
AX.prototype.o=function(){if(this.g){var a=this.l.g.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.B)(this.A.Be(),function(e){var f=this.g[e];if(f){var k=this.A.dj(e);k&&k.yc>a?(e=!this.jd.l(k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.yc-a,f<d&&(d=f,c=k))):!k||k.gb()?(g.aV(this.l.g,[f],void 0),delete this.g[e]):!f.visible&&k&&(f.visible=!0,b.push(f))}},this);
0<b.length&&uX(this.l,b,1);var e=this.l.l;if(null!=e&&(e=e.g,0>=e))if(c){var f=0;0<this.C&&(f=(0,g.F)()/1E3-this.C);tra(this,e-f-d+2)}else BX(this)}};
AX.prototype.V=function(){this.l.unsubscribe("endseeking",this.o,this);BX(this);AX.aa.V.call(this)};g.A(CX,g.K);g.h=CX.prototype;g.h.Px=function(){return 4};
g.h.jp=function(a){return a};
g.h.mC=function(){return!1};
g.h.dw=g.y;g.h.Wl=g.y;g.h.xE=g.y;g.h.yE=g.y;g.h.zE=g.y;g.A(DX,g.K);g.h=DX.prototype;g.h.Px=function(){return 4-this.A/1E3};
g.h.jp=function(a){return Ub(this.o,1E3*a)?this.o[1E3*a]/1E3:a};
g.h.mC=function(a){var b=!1,c={};(0,g.B)(g.Md(a),(0,g.z)(function(a){var d;if(d=(d=a.getAttribute("timeOffset"))?ura(d):null)b=b||vra(a),c[d]=a},this));
if(!b||0==g.Pb(c))return!1;a=(0,g.G)(g.Rb(c),function(a){return(0,window.parseInt)(a,10)});
if(!yra(this,a))return!1;g.Kb(c,(0,g.z)(function(a,b){var c=(0,window.parseInt)(Wb(this.o,function(a){return a==b}),10);
c&&a.setAttribute("timeOffset",wra(c))},this));
return!0};
g.h.dw=function(a){if(!(0>=this.I)){var b=[];(0,g.B)(a,(0,g.z)(function(a){if(Ub(this.o,1E3*a)){var c=new g.LQ(1E3*this.jp(a)+this.A,1E3*a+500,{priority:2,id:String(a),style:"ytp-ad-fadeout"});this.B[a]=c;b.push(c)}},this));
uX(this.g,b)}};
g.h.xE=function(a){if(Ub(this.o,1E3*a)){var b=UX(this.g);null!==b&&(a=Math.max(0,1E3*a-1E3*this.g.getCurrentTime(1)),CT(b,"transition","opacity "+String(a)+"ms linear"),CT(b,"opacity","0"),zra(this,b,a,0))}};
g.h.yE=function(a){EX(this,1E3*a)&&(this.B[a]&&(g.aV(this.g.g,[this.B[a]],void 0),delete this.B[a]),this.Wl())};
g.h.FE=function(){g.W(g.MU(this.g.g),4)&&this.Wl()};
g.h.Wl=function(){var a=UX(this.g);null!==a&&(null!=this.l&&(g.kE(this.l),this.l=null),FX(this,a,this.g.app.H.getVolume()/100),CT(a,"transition",""),CT(a,"opacity","1"))};
g.h.zE=function(a){if(Ub(this.o,1E3*a)){var b=1E3*a;200>=1E3*this.g.getCurrentTime(1)-b&&(Mra(this.g,this.jp(a)+this.H/1E3),0>=this.C||(a=UX(this.g),null!==a&&(CT(a,"opacity","0"),FX(this,a,0),null!=this.l&&g.kE(this.l),this.l=kX((0,g.z)(this.TV,this),0))))}};
g.h.TV=function(){var a=UX(this.g);null!==a&&(CT(a,"transition","opacity "+String(this.C)+"ms linear"),CT(a,"opacity","1"),zra(this,a,this.C,1))};
g.h.EE=function(a,b,c){if(null!==this.l){var d=Math.max(1,b-(0,g.F)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);FX(this,a,d);0<d?this.l=kX((0,g.z)(this.EE,this,a,b,c),c):this.l=null}};
g.h.DE=function(a,b,c){if(null!==this.l){var d=Math.max(1,b-(0,g.F)()),e=this.g.app.H.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);FX(this,a,d);d<e?this.l=kX((0,g.z)(this.DE,this,a,b,c),c):this.l=null}};
g.h.V=function(){this.Wl();this.g.unsubscribe("applicationplayerstatechange",this.FE,this);DX.aa.V.call(this)};g.A(GX,g.K);var Gra={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=GX.prototype;
g.h.load=function(a){if(this.Za=this.g.Za){var b=this.g.l;this.C=b.applyFadeOnMidrolls?new DX(this.g):new CX;var c=cqa(this.g);c.l=Bra(this,a);if(c.l){c.Jn=this.g.D.F;c.gc.TSLA=dqa(this);c.gc.GET_MIDROLL_POSITION_IN_SEC=(0,g.z)(this.C.jp,this.C);c.gc.DESCRIPTION_URL="http://www.youtube.com/video/"+WV(this.g).videoId;if(a=Xqa(b).get(3)){var d="";a&2&&a&1?d="video":a&2?d="skippablevideo":a&1&&(d="standardvideo");a&4&&(d&&(d+="_"),d+="text_image_flash");c.o=d;if(b=b.ya)c.F=b}this.Za.U("adsManagerLoaded",
this.BE,!1,this);this.Za.U("adError",this.AE,!1,this);dD(this.Za,c,this);this.g.oe("bd")}}};
g.h.BE=function(a){if(a.l===this){var b={};Object.defineProperty(b,"currentTime",{get:(0,g.z)(function(){return this.g.getCurrentTime(1)},this),
enumerable:!0});Object.defineProperty(b,"duration",{get:(0,g.z)(function(){return this.g.g.getVideoData().lengthSeconds},this),
enumerable:!0});try{var c=Cra(this);this.l=XA(a,this.g.D,b,c)}catch(d){IX(this,d);return}if(this.jd=this.l.XC(b,this.g.l.g)){this.C.dw(this.l.Be());this.D=new AX(this.g,this.l,this.jd);g.L(this,this.D);g.iE((0,g.z)(this.D.D,this.D),0);g.Qa(this.l.Be(),0)||HX(this);this.B.U(this.l,"companionBackfill",(0,g.z)(this.QV,this));this.B.U(this.l,"prefetched",(0,g.z)(this.NO,this));this.B.U(this.l,"loaded",(0,g.z)(this.OV,this));this.B.U(this.l,"adError",(0,g.z)(this.NV,this),!1);this.B.U(this.l,"start",(0,g.z)(this.PV,
this));this.B.U(this.l,"complete",(0,g.z)(this.JO,this));this.B.U(this.l,"adNotify",(0,g.z)(this.Cl,this));this.B.U(this.l,"discardAdNotify",(0,g.z)(this.El,this));this.B.U(this.l,"companionInitialized",(0,g.z)(this.RV,this));this.B.U(this.l,"contentPauseRequested",(0,g.z)(this.ph,this));this.B.U(this.l,"contentResumeRequested",(0,g.z)(this.Zf,this));this.B.U(this.l,"allAdsCompleted",g.y);this.I.O(this.g.g,"applicationplayerstatechange",this.SV);try{this.l.init("normal"),this.l.start()}catch(d){this.g.Vi.g(wX,
"vmap_ads_manager_init_exception",void 0),this.l.destroy(),this.l=null,IX(this,d)}}}};
g.h.SV=function(){if(g.W(g.MU(this.g.g),16)||g.W(g.MU(this.g.g),32)){var a=this.l;null!=a.Rb&&(a=a.Rb,a.l.stop(),a.o=!1)}else a=this.l,null!=a.Rb&&dA(a.Rb)};
g.h.RV=function(a){if(a=a.g)g.cf(this.F),this.F=new gX(this.g,a)};
g.h.ph=function(a){JX(this);if((this.o=a.Lb())&&this.o.Tb()){a=KX(this.o);var b=this.o.A.l;b=0==b?1:0<b?2:-1==b?3:0;this.A=new uW(a,this.g,this.l,this.o.isSkippable(),this.o.isBumper(),!0,void 0,b);Era(this,this.A);1!=b&&XN("video_to_ad",["apbs"]);a=this.g;a.K=!0;a.A||vX(a);this.C.yE(this.o.A.l);this.A.show();Dra(this,"show_instream_ads")}};
g.h.Zf=function(a){HX(this);if(this.g.getCurrentTime(1)<this.g.g.getVideoData().lengthSeconds){var b=this.g;ZX(b);WX(b);this.o&&this.o.Tb()&&(this.C.zE(this.o.A.l),null!=this.F&&(this.F.g=!0))}a=a.Lb();(b=aD(this.l))&&b.L&&b.gb()?this.o=null:!a&&this.A instanceof HW||JX(this);var c=!0;if(a&&a!==this.o&&!a.Tb()){if(b&&b.L&&!b.gb()){b=this.D;null!=b.g[0]&&(c=b.g[0],delete b.g[0],b.g[0]=new g.LQ(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,uX(b.l,[c,b.g[0]],1),uX(b.l,[b.g[0]]));this.o=a;return}c=Fs(a);
b=KX(a);UV(c,"blockAllAds")?(this.l.Wj(),this.A=new JW(this.g,this.l,1,!0),c=!1):UV(c,"hideMaster")&&14!=b?(this.A=new JW(this.g,this.l,0,!0),c=!1):(c=this.l,14==b?(this.A=new PW(this.g,c),5!=aD(this.l).Ye()&&Fra(this,a)):this.A=new CW(b,this.g,c,!0),this.A.show(),c=!0)}this.o&&this.o.Tb()&&Ira(this.g);this.o&&this.o.Tb()?(Dra(this,"set_previous_ad_end_time"),b=this.jd,0<b.o&&(b.g=(0,g.F)()/1E3),b=this.D,b.C=(0,g.F)()/1E3,b.o()):a&&a!==this.o&&!a.Tb()&&c&&(b=this.D,b.C=(0,g.F)()/1E3,b.o());this.D.D();
this.o=a};
g.h.PV=function(a){(a=a.Lb())&&this.A&&(a=KX(a),this.A.adSystem=a)};
g.h.JO=function(a){a.Lb().Tb()||this.o!==a.Lb()||(JX(this),this.o=null)};
g.h.Cl=function(a){null!=a.g&&void 0!=a.g&&(a=a.g.adBreakTime,null!=a&&void 0!=a&&this.g.g.T("adnotify",a))};
g.h.El=function(){this.g.g.T("discardadnotify")};
g.h.NO=function(a){var b=a.Lb();if(null!=b){var c=a.g.adBreakTime;this.L[c]=b;this.K||(this.g.oe("bl"),0==c&&a.Lb().Tb()||this.g.oe("fb"),this.K=!0)}};
g.h.OV=function(a){null!=a.Lb()&&(a.Lb().Tb()&&this.g.oe("bs"),a.Lb().A.A||a.Lb().Tb()||HX(this))};
g.h.NV=function(a){IX(this,a.getError())};
g.h.AE=function(a){var b=a.getError();"adLoadError"==b.Sb()&&a.g===this&&IX(this,b)};
g.h.QV=function(a){Fra(this,a&&a.Lb())};
g.h.V=function(){JX(this);this.Za&&(this.Za.Aa("adsManagerLoaded",this.BE,!1,this),this.Za.Aa("adError",this.AE,!1,this));g.gn(this.N);g.gn(this.B);g.$F(this.I);this.H=!1;this.l&&(this.l.destroy(),this.l=null);g.cf(this.C);g.cf(this.F);GX.aa.V.call(this)};
g.h.CE=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.Ye(),d.sst=a.yc,d.sidx=0),cX(this.g,c,d)};g.A(LX,g.jV);g.h=LX.prototype;g.h.Ws=function(){return-1};
g.h.create=function(){this.created||(g.R(this.g.getRootNode(),this.de+"-created"),this.I.O(this.g,"crn_"+this.de,this.Jt),this.I.O(this.g,"crx_"+this.de,this.Kt),this.created=!0)};
g.h.destroy=function(){g.Fq(this.g.getRootNode(),this.de+"-created");g.$F(this.I);this.created=!1;this.T("destroyed",this.de)};
g.h.Jt=function(){};
g.h.Kt=function(){};
g.h.Xs=function(){return null};
g.h.V=function(){this.created&&this.destroy();LX.aa.V.call(this)};g.p(MX,g.K);g.h=MX.prototype;g.h.bind=function(a){var b=a.button&&a.button.buttonRenderer&&a.button.buttonRenderer.navigationEndpoint&&a.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint;(b=b&&b.dialog&&b.dialog.adInfoDialogRenderer)?(a.hoverText?(a=rpa(a.hoverText),Jd(this.g,a,0)):this.g=null,this.o.bind(b)):g.dE(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
g.h.la=function(){return this.l};
g.h.xr=function(){this.g&&g.M(this.g,!1)};
g.h.KL=function(){this.o.g.g.l||this.g&&g.M(this.g,!0)};
g.h.JL=function(){this.o.show();this.xr()};g.p(NX,g.U);NX.prototype.Cl=function(a){this.D=-1==a?this.o.getDuration():a;this.A||(this.A=this.O(this.o,"progresssync",this.C));this.C();this.B.show()};
NX.prototype.El=function(){this.A&&(this.Aa(this.A),this.A=null);this.B.hide()};
NX.prototype.C=function(){var a=this.o.getCurrentTime();a=Math.ceil(this.D-a);0<a?this.Ib(g.T("YTP_AD_NOTIFICATION",{X_SECONDS:String(a)})):this.B.hide()};g.A(PX,LX);PX.o=10;PX.l=1E3;PX.A="yt.www.watch.ads.addInstreamCompanionWtaUi";PX.g="livead";g.h=PX.prototype;
g.h.create=function(){PX.aa.create.call(this);this.N=!1;this.F.O(this.g,"beginseeking",(0,g.z)(this.T,this,"beginseeking"));this.F.O(this.g,"endseeking",(0,g.z)(this.T,this,"endseeking"));this.F.O(this.g,"resize",(0,g.z)(this.T,this,"resize"));this.F.O(this.g,"presentingplayerstatechange",(0,g.z)(this.T,this,"presentingplayerstatechange"));this.F.O(this.g,"webglsettingschanged",(0,g.z)(this.T,this,"webglsettingschanged"));if(OX(this)){var a=TH(this.app.Na);a.addEventListener("updatekevlarcompanion",
wpa);a.addEventListener("onPlaShelfInfoCardsReady",ypa);window.addEventListener("yt-navigate-start",zpa)}this.oe("i");a=this.g.getVideoData().hc||{};this.l=new fra(VV(this),a);this.B=new rra(this,this.g);this.R=!1;if(this.Za)this.Za.g.A.A=Fo();else{a=this.l.L?void 0:qqa(this.C);var b=new GQ(this.app,2);this.D=new TA(jW(this.C),a,TH(b));this.D.setSize(-1,-1);this.Za=new cD(this.D)}if(this.l.vmap&&!this.l.X){this.A=new GX(this);try{this.A.load(this.l.vmap)}catch(c){g.dE(c),this.Vi.g(wX,"vmap_load_exception",
{err_msg:c.toString()}),this.A.dispose(),this.A=null,Lra(this,ara(new Zqa(this)))}}else Lra(this,ara(new Zqa(this)));this.B&&(this.H=QX(this.app),this.H.subscribe("cuepointupdated",this.qB,this),a=TX(this),null!=a&&(a.D=g.LU(this.app)),a={},a.allowed=this.B.l,Hra(this,{},a),this.N=!0)};
g.h.destroy=function(){this.K&&ZX(this);this.app.g.experiments.g("disable_new_pause_state3")||g.bV(this.g,this.de,void 0);Kra(this);g.df(this.o,this.X,this.A);this.X=this.o=null;this.H.unsubscribe("cuepointupdated",this.qB,this);this.B=this.l=this.A=this.H=null;cW=bW=aW=!1;eW();this.created&&PX.aa.destroy.call(this);if(OX(this)){var a=TH(this.app.Na);a.removeEventListener("updatekevlarcompanion",wpa);a.removeEventListener("onPlaShelfInfoCardsReady",ypa);window.removeEventListener("yt-navigate-start",
zpa);uV=null}};
g.h.isFullscreen=function(){return this.g.isFullscreen()||this.l.B};
g.h.Xs=function(){if(this.B){var a=this.B;var b={allowed:a.l};a.g.excludedAds&&(b.ex_ad=a.g.excludedAds);a.o&&(b.at=a.o);a=b}else a=PX.aa.Xs.call(this);return a};
g.h.getRootNode=function(){return this.g.getRootNode()};
g.h.getVideoData=function(){return this.H};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.Ws=function(){return this.L};
g.h.Jt=function(a){PX.aa.Jt.call(this,a);var b=(0,window.parseInt)(a.getId(),10);if(this.o&&!(0,window.isNaN)(b))if("ytp-ad-fadeout"==a.style){var c=this.o,d=c.dj(b);if(d&&!sX(c.B,d)&&(c=c.A,d.l)){var e=UX(c.g);d=Math.max(0,$W(d)+c.A+c.o-1E3*c.g.getCurrentTime(1));CT(e,"transition","opacity "+String(d)+"ms linear");CT(e,"opacity","0");ira(c,e,d,0)}}else pra(this.o,b);this.A&&!(0,window.isNaN)(b)&&("ytp-ad-fadeout"==a.style?(d=this.A,(c=d.L[b])&&c.Tb()&&d.C.xE(b)):0>b&&(b=this.Za.g,d=new vn("contentComplete"),
b.dispatchEvent(d),d.l&&(Gn(Dn(),420706009)||b.A.clear(),null!=b.l&&(d=b.l.Sh(),null!=d&&kB(d,b.A.g)))));if("livead"===a.getId()&&null!=TX(this)){b=TX(this);for(a=Math.floor(a.start/1E3);g.t(b.o[a]);)a++;d=b.da++;c=0==a?new PV(1):new PV(2,a);e=b.W;var f=Yqa(b.W.l,c.g);d=new YW(e,d,c,f,!1);b.o[a]=d;d.subscribe("adBreakComplete",b.Z,b);eX(d)}};
g.h.Kt=function(a){PX.aa.Kt.call(this,a);var b=(0,window.parseInt)(a.getId(),10),c=1E3*this.getCurrentTime(1);this.o&&!(0,window.isNaN)(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.o,(b=c.o[b])&&c.g==b&&!b.l&&b.isVisible&&b.F&&b.g instanceof CW&&b.g.xc("fullscreen"));this.A&&"ytp-ad-fadeout"==a.style&&this.A.C.Wl();"livead"===a.getId()&&null!=TX(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.aV(this.g,[a],1),qra(TX(this)))};
g.h.oe=function(a){var b=a;"nl"==a&&(a=this.B,a.B++,b=a.B.toString());this.Y[b]=(0,g.F)();"bs"!=b&&"fb"!=b||Hra(this,this.Y,this.W)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.qB=function(a){var b=TX(this);if(null!=b&&null!=b.D){var c=TX(this).D.getCurrentTime();(0,g.B)(a,function(a){0!=c&&a.Pe>c&&(a=new g.LQ(1E3*Math.floor(c+Math.random()*Math.max(a.Pe-10-c,0)),1E3*a.Pe,{id:"livead",priority:2}),uX(this,[a],1))},this)}};
g.h.iA=function(a,b){switch(a){case "addata":if(!this.create||!this.N)return{};var c=this.l;return{adTag:c.adTag,adTest:c.Ta,forceAdType:c.forceAdType,isAfvSkippableInstreamEnabled:c.N,isAfvStandardInstreamEnabled:c.R,isBlazer:c.l,isDoubleClickEnabled:c.Y,isForcedAd:c.X,isFreeWheelEnabled:c.Z,isHouseBrandPlayer:c.jc,isLeanback:c.B,isShortform:c.Na,tagForChildDirected:c.tagForChildDirected};case "adstate":return this.Ws();case "midrollfreqcap":if(this.A)return c=this.l.g,null!=c?c:0;c=this.o instanceof
xX?this.o:null;return null!=c?c.R:0;case "breakscount":return this.A?(c=this.A,c=null!=c.l?c.l.Be().length:0):c=this.o?this.o.yb.length:0,c;case "displaystate":return c=null,this.o&&this.o.g&&(c=this.o.g.g),{adFormat:c instanceof hW?c.adType:!1,adSkipped:c instanceof uW?c.C:!1,hasVideoStarted:c instanceof uW?c.F:!1,skippable:c instanceof uW?c.W:!1};case "getContentVideoData":return c=WV(this),{adModule:c.adModule,partnerTrackingToken:c.Hl,title:c.title,videoId:c.videoId};case "loadedadbreaks":if(this.o){c=
this.o.o;var d=[];for(e in c)c.hasOwnProperty(e)&&d.push({isInterruptive:c[Number(e)].l});return d}return 0;case "isExternalShelfAllowedFor":if("object"!=typeof b)return!1;c=b.playerResponse;if(!c)return!1;c=c.playerAds||[];for(d=0;d<c.length;d++){var e=c[d];if(e.playerLegacyDesktopWatchAdsRenderer&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams.pla)return!1}return!0}};
g.h.gN=function(){return"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ")};
g.h.Lc=function(){return!1};g.p(aY,g.K);g.h=aY.prototype;g.h.Tw=function(){if(!this.l){var a=this.Tw;if("lb3"==g.X(this.g).playerStyle)var b=!1;else b=this.g.getVideoData(),b=b.Om||b.captionTracks.length||b.ua&&b.na&&(null!=b.na.g.en||g.xL(b.na))?!0:!1;(a=cY(this,"captions",a,b))&&!this.l&&(this.l=a,a.Jz()&&a.load(),this.g.ra("onApiChange"))}};
g.h.Bq=function(){this.H=this.H||cY(this,"endscreen",this.Bq,g.Qra(this))};
g.h.Xw=function(){var a=this.g.getVideoData();var b=g.X(this.g).experiments,c=g.PE()&&(ME("ps4 vr")||ME("ps4 pro vr")),d=QE(),e=b.g("enable_mesh_cobalt"),f=b.g("enable_spherical_kabuki")||a.mx,k=bN(g.X(this.g));a=a.Ze()?c||e||f||k||d||b.g("html5_enable_spherical"):a.Pf()?k||c||f||b.g("html5_enable_spherical"):a.Qf()?k||c||b.g("html5_enable_spherical3d"):a.di()?k||b.g("html5_enable_anaglyph3d")||!1:k&&!g.IO(a)&&(b.g("enable_webgl_noop")||b.g("enable_white_noise"));this.o||(this.o=cY(this,"webgl",this.Xw,
a));this.o&&a&&this.o.load()};
g.h.Zw=function(){this.W=this.W||cY(this,"ypc",this.Zw,g.PO(this.g.getVideoData(),"ypc_module"))};
g.h.Yw=function(){this.Y=this.Y||cY(this,"ypc_clickwrap",this.Yw,g.PO(this.g.getVideoData(),"ypc_clickwrap_module"))};
g.h.Sw=function(){this.R=this.R||cY(this,"spacecast",this.Sw,this.g.getVideoData().spacecastModule)};
g.h.Qw=function(){var a=!this.I,b=g.X(this.g);this.I=this.I||cY(this,"heartbeat",this.Qw,g.PO(this.g.getVideoData(),"ypc_license_checker_module"));b.experiments.g("html5_unstarted_ingestion_state")&&a&&this.I&&this.g.T("offlineslatestatechange")};
g.h.zq=function(){if(!this.A){var a=this.zq;var b=g.X(this.g);if("3"==b.A)b=!1;else if(b.B.isEmpty()&&"annotation-editor"!=b.playerStyle&&"live-dashboard"!=b.playerStyle){var c=this.g.getVideoData();b=b.experiments.g("disable_new_iv_module_create_logic")?g.PO(c,"iv3_module"):!!c.Bf}else b=!0;if(this.A=cY(this,"annotations_module",a,b)){a=this.A;for(var d in this.ea)b=d,a.subscribe(b,this.ea[b]);this.g.ra("onApiChange")}}};
g.h.Pw=function(){this.F=this.F||cY(this,"fresca",this.Pw,g.PO(this.g.getVideoData(),"fresca_module"))};
g.h.Cq=function(){this.K||(this.K=cY(this,"remote",this.Cq,g.X(this.g).Pa))&&this.K.create()};
g.h.Uw=function(){this.C||(this.C=cY(this,"unplugged",this.Uw,g.XM(g.X(this.g))))&&this.C.init()};
g.h.Vw=function(){this.L||(this.L=cY(this,"ux",this.Vw,!0))&&this.L.init()};
g.h.Rw=function(){this.Z||(this.Z=cY(this,"miniplayer",this.Rw,g.X(this.g).useMiniplayerUi))&&this.Z.init()};
g.h.Aq=function(){if(!this.D){var a=this.Aq;var b=g.X(this.g);"3"==b.A?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.g.getVideoData(),b=!!b&&!!g.TO(b));(this.D=cY(this,"creatorendscreen",a,b))&&this.g.ra("onApiChange")}};
g.h.ax=function(){(this.N=this.N||cY(this,"yto",this.ax,!!this.g.getVideoData().dd.includes("yto")))&&this.N.init()};
g.h.V=function(){g.K.prototype.V.call(this);dY(this,!0)};g.p(eY,g.aG);g.h=eY.prototype;g.h.yN=function(a){a=PF(a);if(!id(a,this.B)){var b=2;this.D&&(b|=8);this.B=a;this.bc(b,!0)}};
g.h.zO=function(){this.D&&this.bc(8,!0);this.bc(2,!1)};
g.h.it=function(a){var b=PF(a);id(b,this.B)||(this.B=b,(a=g.MF(a))&&this.N(a)&&(this.bc(4,!0),this.g.Aa(this.A),this.A=this.g.O(this.o,"mouseover",this.uA),this.K=this.g.O(this.o,"mouseout",this.uA)))};
g.h.uA=function(a){a=OF(a);a&&this.N(a)||(this.B=new g.gd(window.NaN,window.NaN),Tra(this))};
g.h.sK=function(){this.bc(1,!0)};
g.h.aI=function(a){a=g.MF(a);a instanceof window.Element&&!(0<a.tabIndex)||this.bc(1,!0)};
g.h.tA=function(){this.D=!0;this.g.Aa(this.C);this.C=this.g.O(window.document,"mouseup",this.zN)};
g.h.zN=function(){this.D=!1;this.bc(8,!1);this.g.Aa(this.C);this.C=this.g.O(this.o,"mousedown",this.tA)};
g.h.vA=function(a){if(a=(a=a.changedTouches)&&a[0])this.R=a.identifier,this.g.Aa(this.F),this.F=this.g.O(this.o,"touchend",this.AN,void 0,!0),this.bc(1024,!0)};
g.h.AN=function(a){if(a=a.changedTouches)for(var b=0;b<a.length;b++){var c=a[b];if(c.identifier==this.R){var d=c;break}}d&&(this.g.Aa(this.F),this.F=this.g.O(this.o,"touchstart",this.vA,void 0,!0),this.bc(1024,!1))};
g.h.bc=function(a,b){var c=!this.l;b?(this.l|=a,a&1&&this.H.start(),a&2&&this.I.start()):(this.l&=~a,a&1&&this.H.stop(),a&2&&this.I.stop(),a&512&&this.L.stop());this.l&512&&!(this.l&128)&&g.nu(this.L,this.W);var d=!this.l;c!=d&&this.T("autohideupdate",d)};g.p(g.fY,g.U);g.fY.prototype.show=function(){g.U.prototype.show.call(this);g.nu(this.o)};
g.fY.prototype.hide=function(){this.A.stop();g.U.prototype.hide.call(this)};g.p(jY,g.U);g.h=jY.prototype;g.h.show=function(){var a=this;this.l||(this.C.O(this.o,"videodatachange",function(){return g.nu(a.A)}),this.C.O(this.o,"videoplayerreset",function(){return g.nu(a.A)}));
g.U.prototype.show.call(this)};
g.h.hide=function(){this.C&&g.$F(this.C);g.U.prototype.hide.call(this)};
g.h.KN=function(a){var b=g.X(this.o);b.experiments.g("disable_new_pause_state3")&&YM(b)&&(a=g.MP(a.state)&&!g.MP(a.g)||OU(this.o)&&g.W(a.state,2),g.sh(this.element,"transition-delay",a?"2s":""));g.nu(this.A)};
g.h.uT=function(){g.nu(this.A)};
g.h.JN=function(){this.B.stop();this.hide();g.nu(this.A)};
g.h.yA=function(){var a=g.MU(this.o),b=!1;if(3==this.o.Qa()&&(a.gb()||g.W(a,4)))var c=!0;else(c=g.FU(this.o).W)&&c.wU()?c=!0:(c=g.X(this.o),c=g.W(a,2)&&HU(this.o)&&c.Z?!0:!1);c?(c=!0,window.document.activeElement==this.D&&this.o.getRootNode().focus(),this.D.style.display="none"):(this.D.style.display="",g.MP(a)&&2!=this.o.Qa()?c=!0:(b=!g.X(this.o).experiments.g("disable_new_pause_state3"),c=!(!g.W(a,2)||HU(this.o)||b&&g.p0(this.o.app))||g.W(a,1024)?!0:!1),b=g.X(this.o),b=!b.experiments.g("web_player_duration_killswitch")&&
b.g);c?(this.B.show(),a=this.o.getVideoData(),this.XU(this.o.Wf(),a),g.S(this.element,"ytp-cued-thumbnail-overlay-show-duration",b&&0<a.lengthSeconds),a=g.EV(a.lengthSeconds),this.updateValue("duration",a)):(this.B.hide(),g.W(a,1)||this.B.stop())};
g.h.XU=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c=g.X(this.o);b=g.la(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,!(!d||d instanceof g.uO&&!d.videoId)){var e=g.NU(this.o).Ia();var f=g.ZM(),k=e.width*f;f*=e.height;if(1280<k||720<f)if(e=d.Xc(c,"maxresdefault.jpg"))break;if(640<k||480<f)if(e=d.Xc(c,"maxresdefault.jpg"))break;if(320<k||180<f)if(e=d.Xc(c,"sddefault.jpg")||d.Xc(c,"hqdefault.jpg")||d.Xc(c,"mqdefault.jpg"))break;if(e=d.Xc(c,"default.jpg"))break}this.F.style.backgroundImage=
e?"url("+e+")":""};g.p(lY,g.K);lY.prototype.start=function(a,b,c){this.g=a;this.F=b;this.C=c;this.D=g.AG();this.o()};
lY.prototype.o=function(){var a=g.AG()-this.D;var b=this.A;a=xja(b,a/this.C);if(0==a)b=b.D;else if(1==a)b=b.F;else{var c=ed(b.D,b.B,a),d=ed(b.B,b.C,a);b=ed(b.C,b.F,a);c=ed(c,d,a);d=ed(d,b,a);b=ed(c,d,a)}b=g.cd(b,0,1);this.B((this.F-this.g)*b+this.g);1>b&&this.l.start()};g.p(mY,g.U);g.h=mY.prototype;g.h.hide=function(){this.R=!0;g.U.prototype.hide.call(this)};
g.h.show=function(){this.R=!1;g.U.prototype.show.call(this)};
g.h.isHidden=function(){return this.R};
g.h.dO=function(){Zra(this,this.C-this.F)};
g.h.eO=function(){Zra(this,this.C+this.F)};
g.h.fO=function(a,b){var c=this.o[a],d=c.Hd;if(g.hX(b,this.B,this.ca,d||void 0)){var e=c.Wb().videoId;c=c.getPlaylistId();g.o0(this.B.app,e,d,c,void 0,void 0,void 0)}};
g.h.DA=function(a){this.H.element.scrollLeft=-a};g.p(oY,g.U);oY.prototype.show=function(){g.U.prototype.show.call(this);this.H()};
oY.prototype.H=function(){var a=1-1/1.5;this.B=(this.B+this.L)%(this.width*a);this.C=(this.C+this.K)%(this.height*a);this.A.drawImage(this.I,-1*this.B,-1*this.C);this.A.fillRect(0,this.D,this.width,75);this.D=(this.D+75+7)%this.height-75;this.o.isActive()||g.nu(this.F)};
oY.prototype.hide=function(){this.o.stop();this.F.stop();g.U.prototype.hide.call(this)};g.p(pY,g.U);pY.prototype.show=function(){g.U.prototype.show.call(this);qY(this,function(a){a.show()});
this.C&&csa(this,g.NU(this.o).Ia())};
pY.prototype.hide=function(){g.U.prototype.hide.call(this);qY(this,function(a){a.hide()})};
pY.prototype.F=function(a){if(g.hX(a,this.o,!YM(g.X(this.o)))){a={as3:!1,html5:!0,player:!0,cpn:this.o.getVideoData().clientPlaybackNonce};var b=this.o;b.ra("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&g.QU(b)}};
var Dva=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.p(tY,g.YF);tY.prototype.C=function(){this.B();var a=g.X(this.g),b=this.g.getVideoData(),c=[];a.C||c.push({src:b.Xc(a,"mqdefault.jpg"),sizes:"320x180"});this.l.metadata=new window.MediaMetadata({title:b.title,artist:b.author,artwork:c});a=OU(this.g);this.o.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.z)(function(){gY(this.A,zV(),g.T("YTP_NEXT"));this.g.Gj()},this),c=(0,g.z)(function(){Vra(this.A);
this.g.rl()},this)),sY(this,"nexttrack",b),sY(this,"previoustrack",c))};
tY.prototype.B=function(){var a=g.MU(this.g);a=a.isError()?"none":GP(a)?"playing":"paused";this.l.playbackState=a};
tY.prototype.V=function(){this.l.playbackState="none";this.l.metadata=null;for(var a=g.la(this.o),b=a.next();!b.done;b=a.next())sY(this,b.value,null);g.YF.prototype.V.call(this)};g.p(uY,g.U);uY.prototype.R=function(a,b){dsa(this,b);this.D&&esa(this,this.D)};
uY.prototype.N=function(a){var b=this.K.getVideoData();this.A!=b.videoId&&dsa(this,b);this.o&&esa(this,a.state);this.D=a.state};
uY.prototype.L=function(){this.C.hide();this.A&&(this.B[this.A]=(this.B[this.A]||0)+((0,g.F)()-this.I));this.I=0};var Eva=/fidget ?spinner/i;g.p(wY,g.U);g.h=wY.prototype;g.h.hide=function(){this.A.stop();this.C.style.display="none";g.U.prototype.hide.call(this)};
g.h.tB=function(){fsa(this,Eva.test(this.o.getVideoData().title))};
g.h.oO=function(a){vY(this,a.state)};
g.h.iQ=function(){vY(this,g.MU(this.o))};
g.h.zR=function(){this.C.style.display="block"};g.p(xY,g.LH);g.h=xY.prototype;g.h.show=function(){var a=yY(this);g.LH.prototype.show.call(this);this.ca&&(this.I.O(window,"blur",this.Ob),this.I.O(window.document,"click",this.bO));a||this.T("show",!0)};
g.h.hide=function(){var a=yY(this);g.LH.prototype.hide.call(this);gsa(this);a&&this.T("show",!1)};
g.h.Me=function(a,b){this.C=a;this.L.show();b?(this.K||(this.K=this.I.O(this.Z,"appresize",this.gw)),this.gw()):this.K&&(this.I.Aa(this.K),this.K=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.Qd(a,window.document.activeElement)&&this.focus())};
g.h.gw=function(){g.YH(this.Z).zo(this.element,this.C)};
g.h.Ob=function(){var a=yY(this);gsa(this);this.L.hide();a&&this.T("show",!1)};
g.h.xh=function(a,b){yY(this)?this.Ob():this.Me(a,b)};
g.h.bO=function(a){var b=NF(a);b&&(g.Qd(this.element,b)||this.C&&g.Qd(this.C,b)||!g.FV(a))||this.Ob()};g.p(zY,xY);zY.prototype.D=function(a){a?(hsa(this),this.Me()):(this.A&&isa(this),this.Ob())};
zY.prototype.F=function(a){this.o.app.Y&&0<SP(a,2)&&this.Ob()};
zY.prototype.onClick=function(){this.o.Xf();isa(this)};g.p(AY,g.YF);g.h=AY.prototype;g.h.init=function(){var a=g.MU(this.g);this.Wo(a);this.Gi();this.xb()};
g.h.wA=function(a,b){if(this.oa!=b.videoId){this.oa=b.videoId;var c=this.o;c.W=b&&0<b.Hh.length?5E3:3E3;c.bc(512,!0);this.Gi()}};
g.h.CR=function(){this.wA("newdata",this.g.getVideoData())};
g.h.Zj=function(){var a=g.UU(this.g)&&g.VU(this.g);CY(this);(a=this.ib||a)||(a=g.FU(this.g).F,a=!!a&&a.mL());return a||this.qb||CY(this)};
g.h.gg=function(){var a=!this.Zj();g.S(this.g.getRootNode(),"ytp-menu-shown",!a)};
g.h.BN=function(a){if(!g.Qd(this.g.getRootNode(),a))return!1;for(;a&&!g.Yd(a);)a=a==this.g.getRootNode()?null:g.Pd(a);return!!a};
g.h.Ft=function(a){var b=this.g.getRootNode();g.S(b,"ytp-autohide",a);g.S(b,"ytp-autohide-active",!0);this.Xa.start(a?250:100);a&&(this.Pa=!1,g.Fq(b,"ytp-touch-mode"));b=this.g;a=!a;b.ra("onVideoAreaChange");b.ra(a?"onShowControls":"onHideControls")};
g.h.hP=function(){var a=this.g.getRootNode();g.S(a,"ytp-autohide-active",!1)};
g.h.lS=function(a){var b=yY(this.ca);g.Fk&&jsa(this,a)?b&&g.QF(a):(g.MP(g.MU(this.g))&&!g.X(this.g).ia&&(b=this.g.getVideoData(),b.videoId&&this.g.Zz(SO(b))),this.o.l||DY(this,NF(a))||yY(this.ca)||(g.MU(this.g),g.QF(a)),this.Pa=!0,g.R(this.g.getRootNode(),"ytp-touch-mode"),this.o.bc(2,!0))};
g.h.hS=function(a){jsa(this,a)||DY(this,NF(a))||(this.o.bc(2,!0),g.FV(a)&&!g.X(this.g).F&&(this.hn()?g.QF(a):(a=g.MU(this.g),g.W(a,2)&&HU(this.g)||hY(this.C,!GP(a)),!g.X(this.g).ca||g.MP(a)||g.W(a,1024)?this.jt():this.X.isActive()?(this.C.hide(),this.X.stop()):this.X.start())))};
g.h.jt=function(){var a=g.MU(this.g);g.W(a,2)&&HU(this.g)||(GP(a)?this.g.cd():this.g.pd())};
g.h.iS=function(a){DY(this,NF(a))||3!=this.g.Qa()&&g.QU(this.g)};
g.h.jS=function(a){ksa(this,.3,a.scale);g.QF(a)};
g.h.kS=function(a){ksa(this,.1,a.scale)};
g.h.xb=function(){var a=this.od(),b=g.NU(this.g).Ia(),c=this.g.isFullscreen(),d=this.g.getRootNode(),e=!a&&(480>b.width||290>b.height),f=650<=b.width;g.QI&&Tra(this.o);g.S(d,"ytp-fullscreen",c);g.S(d,"ytp-large-width-mode",f);g.S(d,"ytp-small-mode",e);g.S(d,"ytp-big-mode",a);this.B&&bsa(this.B,b)};
g.h.GR=function(a){this.Wo(a.state);this.Gi()};
g.h.Gi=function(){var a=!!this.oa&&!g.GU(this.g);var b=2==this.g.Qa();var c=g.X(this.g);if(b){b=g.FU(this.g).B;if(a){a=g.X(b.g).experiments;c=b.app.getVideoData();if(a.g("desktop_trv_action_hide_info_bar")&&c.Aj)b=!1;else{if(a=c.isListed)b=b.l,a=null!=b.H&&null!=Fe(b.H,1)&&null!=Fe(Re(b.H),4)&&Fe(Je(Re(b.H),We,4),1)?!1:!0;b=a}a=b}b=a}else b=(c.experiments.g("embed_api_deprecation")||c.fa)&&c.isDni&&5==this.g.app.N?a:a&&(c.wc||this.g.isFullscreen());this.I!=b&&(this.I=b,g.S(this.g.getRootNode(),"ytp-hide-info-bar",
!b))};
g.h.Wo=function(a){var b=g.MP(a);b!=this.wc&&(this.wc=b,this.Ta&&this.Aa(this.Ta),this.Ta=this.O(g.NU(this.g),"touchstart",this.lS,void 0,b));this.o.bc(128,!(a.gb()&&!g.W(a,32)||XU(this.g)));var c=3==this.g.Qa();this.o.bc(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.jb(this.ea,d)||(g.Gq(c,
this.ea),this.ea=d,g.Eq(c,d));d=g.X(this.g);var e=g.W(a,2);g.S(c,"ytp-hide-controls",("3"==d.A?!e:"1"!=d.A)||b);g.S(c,"ytp-native-controls","3"==d.A&&!b&&!e);if(g.W(a,128)){this.B||(this.B=new pY(this.g),g.L(this,this.B),g.dV(this.g,this.B.element,4));b=this.B;a=a.g;for(c=0;c<b.D.length;c++)b.Aa(b.D[c]);b.D=[];c=a.messageKey;d=g.X(b.o);"play"!=d.playerStyle||"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.jc)if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=c||d.jc)if("YTP_HTML5_FLASH_DEPRECATED"==c)b.Ib(rY(b,c,"//support.google.com/googleplay/answer/2844198#movies",!1,!0,"YTP_ERROR_VIDEO_UNAVAILABLE"));else{c=a.message.split(Dva);d=[];for(e=0;e<c.length;e+=3){var f=c[e++].split("\n");d.push(f[0]);for(var k=1;k<f.length;k++)d.push({G:"br"}),d.push(f[k]);e<c.length&&d.push({G:"a",P:{href:c[e],target:c[e+1]},J:[c[e+2]]})}b.Ib({G:"span",J:d});b.C&&a.subreason&&b.Ib(a.subreason,"subreason")}else b.Ib(rY(b,
"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/html5"));else if(b.Ib(rY(b,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN","//support.google.com/youtube/?p=player_error1",!0)),d.X&&!d.g)for(a=(0,g.z)(b.F,b),c=b.element.getElementsByTagName("a"),d=0;d<c.length;d++)e=b.O(c[d],"click",a),b.D.push(e);this.B.show()}else this.B&&(this.B.dispose(),this.B=null)};
g.h.hn=function(){return g.UU(this.g)&&g.VU(this.g)?(this.g.ul(!1,!1),!0):g.GU(this.g)?(g.IU(this.g,!0),!0):!1};
g.h.CN=function(a){this.qb=a;this.gg()};
g.h.od=function(){return!1};
g.h.zj=function(){return this.Pa};
g.h.co=function(){return null};
g.h.Js=function(){var a=g.NU(this.g).Ia();return new g.eh(0,0,a.width,a.height)};
g.h.Ks=function(){};
g.h.zo=function(){};
g.h.eo=function(){};
g.h.Ms=function(){};g.p(FY,g.U);FY.prototype.V=function(){this.A&&this.A();g.U.prototype.V.call(this)};
FY.prototype.H=function(){g.pG("iv-button-mouseover")};
FY.prototype.F=function(a){g.UU(this.o);var b=g.Dq(this.o.getRootNode(),"ytp-cards-teaser-shown");g.pG("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.o.ul(!g.VU(this.o),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.p(HY,g.U);g.h=HY.prototype;g.h.JD=function(){g.UU(this.A)&&g.VU(this.A)&&this.l&&3!=this.D.g&&this.yl()};
g.h.DU=function(){this.yl();g.pG("iv-teaser-clicked",!!this.o);this.A.ul(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.DN=function(){g.pG("iv-teaser-mouseover");this.o&&this.o.stop()};
g.h.FS=function(a){this.o||!a||g.VU(this.A)||this.B&&this.B.isActive()||(lsa(this,a),g.pG("iv-teaser-shown"))};
g.h.xA=function(){this.H.stop();this.o&&this.o.isActive()&&this.I.start()};
g.h.qh=function(){this.I.stop();this.o&&!this.o.isActive()&&this.H.start()};
g.h.eR=function(){this.o&&this.o.stop()};
g.h.cR=function(){this.yl()};
g.h.yl=function(){!this.o||this.C&&this.C.isActive()||(this.D.hide(),g.Fq(this.A.getRootNode(),"ytp-cards-teaser-shown"),this.C=new g.mu(function(){for(var a=g.la(this.F),b=a.next();!b.done;b=a.next())this.Aa(b.value);this.F=[];this.o&&(this.o.dispose(),this.o=null);EY(this.K,!0)},330,this),this.C.start())};
g.h.V=function(){var a=this.A.getRootNode();a&&g.Fq(a,"ytp-cards-teaser-shown");g.df(this.B,this.C,this.o);g.U.prototype.V.call(this)};g.p(IY,g.LH);IY.prototype.ea=function(){this.T("size-change")};
IY.prototype.focus=function(){this.W.focus()};
IY.prototype.fa=function(){this.T("back")};g.p(g.JY,IY);g.JY.prototype.Z=function(){this.F.T("size-change")};
g.JY.prototype.focus=function(){for(var a=0,b=0;b<this.Ga.length;b++)if("true"==this.Ga[b].element.getAttribute("aria-checked")){a=b;break}this.Ga[a].focus()};g.p(g.LY,xY);g.h=g.LY.prototype;g.h.show=function(){xY.prototype.show.call(this);this.Ql()};
g.h.hide=function(){xY.prototype.hide.call(this);1<this.o.length&&g.PY(this)};
g.h.Ql=function(){qsa(this);this.l&&(psa(this),g.Kh(this.element,this.size))};
g.h.Oe=function(){var a=this.o.pop(),b=MY(this);NY(this,a,b,!0)};
g.h.zU=function(a,b,c){this.F.dispose();this.F=null;g.R(this.element,"ytp-popup-animating");c?(g.R(a.element,"ytp-panel-animate-forward"),g.Fq(b.element,"ytp-panel-animate-back")):(g.R(a.element,"ytp-panel-animate-back"),g.Fq(b.element,"ytp-panel-animate-forward"));g.Kh(this.element,this.size);this.D=new g.mu(g.Ea(this.UO,a,b),250,this);this.D.start()};
g.h.UO=function(a){g.Fq(this.element,"ytp-popup-animating");g.JH(a);g.Gq(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.D.dispose();this.D=null};
g.h.SN=function(a){if(!g.RF(a))switch(g.SF(a)){case 27:this.Ob();g.QF(a);break;case 37:1<this.o.length&&this.Oe();g.QF(a);break;case 39:g.QF(a)}};
g.h.focus=function(){MY(this).focus()};
g.h.V=function(){xY.prototype.V.call(this);this.F&&this.F.dispose();this.D&&this.D.dispose()};g.p(QY,g.NH);QY.prototype.o=function(a){g.RF(a)||39!=g.SF(a)||(this.element.click(),g.QF(a))};g.p(SY,g.NH);SY.prototype.K=function(){TY(this,!this.A);this.T("select",this.A)};
SY.prototype.getValue=function(){return this.A};g.p(VY,g.JY);g.h=VY.prototype;g.h.MP=function(){lX(this.I.element)};
g.h.kQ=function(){WY(this,this.o.pl(!0))&&gY(this.N,Bpa())};
g.h.lQ=function(){WY(this,this.o.Rz())&&gY(this.N,g.vV?{G:"div",ba:["ytp-icon","ytp-icon-code"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",P:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]});g.hV(this.o,this.A.element);UY("EMBED",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.oQ=function(){WY(this,this.o.getVideoUrl(!0,!0))&&gY(this.N,Hpa());g.hV(this.o,this.C.element);UY("COPY_PASTE",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.nQ=function(){WY(this,this.o.getVideoUrl(!1,!0))&&gY(this.N,Hpa());g.hV(this.o,this.B.element);UY("COPY_PASTE",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.IQ=function(a){TY(this.D,a)};
g.h.JQ=function(){var a=this.D.getValue();Vta(this.o.app,a);this.L.Ob();g.hV(this.o,this.D.element)};
g.h.bS=function(a){var b=g.LU(this.o.app);b&&b.kl(new g.eN("feedback",!1,{gpu:(0,g.QP)()}));if(g.hX(a,this.o,!YM(g.X(this.o)))){a=this.o;b=b={as3:!1,html5:!0,player:!0};var c=a.Wx().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.pl(!0);a.ra("onFeedbackStartRequest",b);a.isFullscreen()&&g.QU(a)}this.L.Ob()};
g.h.wS=function(){this.o.Vz();this.L.Ob()};
g.h.HN=function(a,b){ssa(this,b)};g.p(XY,g.LY);g.h=XY.prototype;g.h.show=function(){this.H||(this.H=new VY(this.A,this.da,this,this.W),g.L(this,this.H),g.OY(this,this.H));g.LY.prototype.show.call(this);g.iV(this.A,this.element,!0);tsa(this.H,!0)};
g.h.hide=function(){usa(this);g.LY.prototype.hide.call(this);g.iV(this.A,this.element,!1);this.H&&tsa(this.H,!1)};
g.h.LP=function(a){var b=NF(a);this.l||b&&(g.$d(b,"a")||g.ae(b,"ytp-no-contextmenu"))||(g.QF(a),vsa(this),this.element.style.left="",this.element.style.top="",a=PF(a),a.x++,a.y++,this.Me(),b=g.Eh(window.document.body),a=g.hD(a,this.size,0,void 0,b,5),g.zh(this.element,g.jh(a.rect)),g.$F(this.B),this.B.O(window.document,"contextmenu",this.UP),this.B.O(this.A,"fullscreentoggled",this.IN),this.B.O(this.A,"pageTransition",this.qR))};
g.h.UP=function(a){g.RF(a)||(g.Qd(this.element,NF(a))||this.Ob(),g.X(this.A).disableNativeContextMenu&&g.QF(a))};
g.h.IN=function(){this.Ob();vsa(this)};
g.h.qR=function(){this.Ob()};var u1,Fva;u1=[{option:"#fff",message:"YTP_COLOR_WHITE"},{option:"#ff0",message:"YTP_COLOR_YELLOW"},{option:"#0f0",message:"YTP_COLOR_GREEN"},{option:"#0ff",message:"YTP_COLOR_CYAN"},{option:"#00f",message:"YTP_COLOR_BLUE"},{option:"#f0f",message:"YTP_COLOR_MAGENTA"},{option:"#f00",message:"YTP_COLOR_RED"},{option:"#080808",message:"YTP_COLOR_BLACK"}];Fva=[{option:0,text:"0%"},{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}];
g.ZY=[{option:"fontFamily",message:"YTP_FONT_FAMILY",options:[{option:1,message:"YTP_FONT_FAMILY_MONO_SERIF"},{option:2,message:"YTP_FONT_FAMILY_PROP_SERIF"},{option:3,message:"YTP_FONT_FAMILY_MONO_SANS"},{option:4,message:"YTP_FONT_FAMILY_PROP_SANS"},{option:5,message:"YTP_FONT_FAMILY_CASUAL"},{option:6,message:"YTP_FONT_FAMILY_CURSIVE"},{option:7,message:"YTP_FONT_FAMILY_SMALL_CAPS"}]},{option:"color",message:"YTP_FONT_COLOR",options:u1},{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:u1},{option:"backgroundOpacity",message:"YTP_BACKGROUND_OPACITY",options:Fva},{option:"windowColor",message:"YTP_WINDOW_COLOR",options:u1},{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:Fva},{option:"charEdgeStyle",message:"YTP_CHAR_EDGE_STYLE",options:[{option:0,message:"YTP_EDGE_STYLE_NONE"},
{option:4,message:"YTP_EDGE_STYLE_DROP_SHADOW"},{option:1,message:"YTP_EDGE_STYLE_RAISED"},{option:2,message:"YTP_EDGE_STYLE_DEPRESSED"},{option:3,message:"YTP_EDGE_STYLE_OUTLINE"}]},{option:"textOpacity",message:"YTP_FONT_OPACITY",options:[{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}]}];g.p(YY,g.YF);g.h=YY.prototype;
g.h.iy=function(a){var b=!1,c=g.SF(a),d=NF(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.X(this.g);g.RF(a)?(e=!1,k=!0):l.Ld&&(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.FU(this.g).o)&&e&&!f&&d.o&&d.o.l)switch(c){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=d.o.fy(c)}l.jc||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.o+=f,0=="awesome".indexOf(this.o)?(f=!0,7==this.o.length&&g.Iq(this.g.getRootNode(),
"ytp-color-party")):(this.o=f,f=0=="awesome".indexOf(this.o)));if(e&&!f){switch(c){case 32:l.F||(k=!GP(g.MU(this.g)),hY(this.l,k),k?this.g.pd():this.g.cd(),k=f=!0);break;case 37:this.g.bd()&&(gY(this.l,Npa()),this.g.ie(-5*this.g.Rc()),k=f=!0);break;case 39:this.g.bd()&&(gY(this.l,Gpa()),this.g.ie(5*this.g.Rc()),k=f=!0);break;case 38:k=Math.min(this.g.getVolume()+5,100);iY(this.l,k,!1);this.g.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.g.getVolume()-5,0);iY(this.l,k,!0);this.g.setVolume(k);k=
f=!0;break;case 27:this.C()&&(k=f=!0);break;case 36:this.g.bd()&&(this.g.ac(0),k=f=!0);break;case 35:this.g.bd()&&(this.g.ac(window.Infinity),k=f=!0)}if("3"!=l.A)switch(c){case 67:g.FU(this.g).l&&(k=this.g.uc("captions","track"),(f=g.FU(this.g).l)&&f.xD(),f=this.l,k=!k||k&&!k.displayName?g.T("YTP_SUBTITLES_ON"):g.T("YTP_SUBTITLES_OFF"),gY(f,Fpa(),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&&this.g.bd()&&(k=this.g.kh(),this.g.ac(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.lu(!0);(b||k)&&this.B.bc(2,!0);(f||e&&xsa(this,c,a.shiftKey))&&g.QF(a);l.ub&&(a={keyCode:g.SF(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.RF(a),fullscreen:this.g.isFullscreen()},this.g.ra("onKeyPress",a))};
g.h.jy=function(a){a=g.SF(a);var b=g.FU(this.g).o;b&&b.o&&b.o.l&&b.o.hy(a);9==a&&this.lu(!0)};
g.h.lu=function(a){g.S(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.S(this.D.element,"ytp-probably-keyboard-focus",a)};
g.h.AA=function(a){g.FU(this.g).l&&this.g.Gd("captions","sampleSubtitles",a)};
g.h.V=function(){g.pu(this.A);g.YF.prototype.V.call(this)};g.p(aZ,g.U);g.h=aZ.prototype;g.h.hide=function(){g.Fq(this.o.getRootNode(),"ytp-expand-pause-overlay");g.U.prototype.hide.call(this)};
g.h.wP=function(){this.X=!0;g.Fq(this.o.getRootNode(),"ytp-expand-pause-overlay");this.I.focus()};
g.h.yP=function(){this.X=!1;g.R(this.o.getRootNode(),"ytp-expand-pause-overlay")};
g.h.TN=function(){ysa(this,this.C-this.F)};
g.h.UN=function(){ysa(this,this.C+this.F)};
g.h.VN=function(a,b){var c=this.A[a],d=c.Hd;if(g.hX(b,this.o,this.ea,d||void 0)){var e=c.Wb().videoId;c=c.getPlaylistId();g.o0(this.o.app,e,d,c,void 0,void 0,void 0)}};
g.h.WN=function(){this.lt(g.NU(this.o).Ia())};
g.h.XN=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.X||(g.R(this.o.getRootNode(),"ytp-expand-pause-overlay"),bZ(this)),this.R.show()):this.R.hide())};
g.h.lt=function(a){var b=16/9,c=this.Z.od();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.D.length;d++){var e=this.D[d].g["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.H.element.style.height=b+"px";this.W=c;this.da=b;this.F=a;this.C=0;this.BA(0);bZ(this)};
g.h.YN=function(){var a=this.o.getVideoData();if(a.suggestions){var b=(0,g.Ld)(a.suggestions,function(a){return a&&!a.list});
this.A=(0,g.G)(b,function(a){return g.kY(a)})}else this.A.length=0;
zsa(this);b=g.X(this.o);b.experiments.g("enable_dni_channel_on_related")&&b.isDni?this.N.update({title:g.T("YTP_MORE_FROM_CHANNEL",{DNI_RELATED_CHANNEL:a.author})}):this.N.update({title:g.T("YTP_MORE_VIDEOS")})};
g.h.BA=function(a){this.H.element.scrollLeft=-a};g.p(cZ,g.U);cZ.prototype.A=function(a){g.hX(a,this.o)&&this.o.Sz(this.Bb)};g.p(dZ,xY);g.h=dZ.prototype;g.h.show=function(){xY.prototype.show.call(this);this.F.O(this.A,"videodatachange",this.qt);this.F.O(this.A,"onPlaylistUpdate",this.qt);this.qt()};
g.h.hide=function(){xY.prototype.hide.call(this);g.$F(this.F);Asa(this,null)};
g.h.qt=function(){Asa(this,this.A.Wf())};
g.h.No=function(){var a=this.o.Wn;if(a==this.H)this.D.element.setAttribute("aria-checked",!1),this.D=this.B[this.o.ee()];else{for(var b=g.la(this.B),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.o.getLength();this.B=[];for(c=0;c<b;c++){var d=new cZ(this.A,this.o,c);this.B.push(d);d.pa(this.Ga)}this.D=this.B[this.o.ee()];this.H=a}this.D.element.setAttribute("aria-checked",!0)};
g.h.HS=function(a){var b=this.A.getVideoUrl(!0);iX(b,this.A,a)};
g.h.focus=function(){this.D.focus()};
g.h.V=function(){this.hide();xY.prototype.V.call(this)};g.p(eZ,g.U);eZ.prototype.A=function(){g.S(this.element,"ytp-playlist-menu-button-tiny",400>g.NU(this.B).Ia().width);this.o&&2!=this.B.Qa()?(this.update({text:g.T("YTP_PLAYLIST_POSITION",{CURRENT_POSITION:String(this.o.ee()+1),PLAYLIST_LENGTH:String(this.o.getLength())}),title:g.T("YTP_PLAYLIST_NAME",{PLAYLIST_NAME:this.o.title})}),this.l||(this.show(),yZ(this.C))):this.l&&(this.hide(),yZ(this.C))};
eZ.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(fZ,g.U);fZ.prototype.B=function(a){g.KH(this,g.W(a.state,2))};
fZ.prototype.A=function(){g.MU(this.o);this.o.pd()};g.p(gZ,xY);g.h=gZ.prototype;g.h.tR=function(a){a=NF(a);g.Qd(this.N,a)||g.Qd(this.F,a)||this.xh()};
g.h.Ob=function(){xY.prototype.Ob.call(this);this.A.Si(this.element)};
g.h.show=function(){var a=this.l;xY.prototype.show.call(this);this.EA();a||this.o.ra("onSharePanelOpened")};
g.h.EA=function(){g.R(this.element,"ytp-share-panel-loading");g.Fq(this.element,"ytp-share-panel-fail");var a=this.o.getVideoData(),b=this.o.getPlaylistId(),c=b&&this.H.checked;g.S(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.Wc&&(d.authuser=e.Wc);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.GE(g.X(this.o).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.z)(this.iD,this),onSuccess:(0,g.z)(function(a,
b){if(b){if(!this.ha()){g.Fq(this.element,"ytp-share-panel-loading");Csa(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=Bsa(f.img);k&&(k=new g.U({G:"a",ba:["ytp-share-panel-service-button","ytp-button"],P:{href:f.url,target:"_blank",title:f.sname},J:[k]}),k.U("click",g.Ea(this.pS,f.url)),g.bf(k,GY(this.A,k.element)),this.B.push(k),d++)}c=new g.U({G:"a",ba:["ytp-share-panel-service-button","ytp-button"],J:[{G:"span",M:"ytp-share-panel-service-button-more",J:[g.vV?{G:"div",ba:["ytp-icon",
"ytp-icon-share-more"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z",
fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],P:{href:b.more,target:"_blank",title:g.T("YTP_MORE")}});c.U("click",(0,g.z)(this.aR,this,b.more));g.bf(c,GY(this.A,c.element));this.B.push(c);this.updateValue("buttons",this.B)}}else this.iD(null,null)},this),
Uc:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.updateValue("link",a);this.updateValue("linkText",a);lX(this.D)};
g.h.iD=function(){g.Fq(this.element,"ytp-share-panel-loading");g.R(this.element,"ytp-share-panel-fail")};
g.h.pS=function(a,b){if(g.FV(b)){var c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";c||(c={});var d=window;var e=a instanceof Gc?a:g.Kc("undefined"!=typeof a.href?a.href:String(a));var f=c.target||a.target,k=[];for(l in c)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+c[l]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(l+"="+(c[l]?1:0))}var l=k.join(",");mc()&&d.navigator&&d.navigator.standalone&&
f&&"_self"!=f?(l=d.document.createElement("A"),g.Zc(l,e),l.setAttribute("target",f),c.noreferrer&&l.setAttribute("rel","noreferrer"),c=window.document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,d,1),l.dispatchEvent(c),d={}):c.noreferrer?(d=d.open("",f,l),c=g.Hc(e),d&&(g.GH&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.bd(g.xc("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
g.rb(c)+'">'),d.document.write(g.Tc(c)),d.document.close())):(d=d.open(g.Hc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.QF(b)}};
g.h.aR=function(a,b){iX(a,this.o,b)&&this.o.ra("SHARE_CLICKED")};
g.h.iO=function(a){!a&&yY(this)&&this.xh()};
g.h.focus=function(){this.D.focus()};
g.h.V=function(){xY.prototype.V.call(this);Csa(this)};g.p(hZ,g.U);hZ.prototype.F=function(){var a=g.X(this.o);if(window.navigator.g){var b=this.o.getVideoData(),c=this.o.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);window.navigator.g({title:b.title,url:a})}else this.H.xh(this.element,!1);g.hV(this.o,this.element)};
hZ.prototype.C=function(){var a=g.X(this.o).Fh&&2!=this.o.Qa(),b=g.NU(this.o).Ia().width;this.A=!!this.o.getVideoData().videoId&&300<=b&&!a;g.S(this.B,"ytp-share-button-visible",this.A);a=480<b;g.X(this.o).D&&(g.S(this.B,"ytp-show-share-title",a),this.updateValue("share",a?g.T("YTP_SHARE"):""));g.iV(this.o,this.element,this.A&&this.D)};
hZ.prototype.V=function(){g.U.prototype.V.call(this);g.Fq(this.B,"ytp-share-button-visible")};g.p(iZ,xY);iZ.prototype.show=function(){xY.prototype.show.call(this);this.D.start()};
iZ.prototype.hide=function(){xY.prototype.hide.call(this);this.D.stop()};
iZ.prototype.W=function(){var a=this.o.getCurrentTime();a>this.B/1E3&&a<this.A/1E3&&this.show()};g.p(jZ,g.U);jZ.prototype.B=function(){var a=g.LU(this.o.app);a&&a.l.g.webkitShowPlaybackTargetPicker()};
jZ.prototype.A=function(){var a=g.LU(this.o.app);g.KH(this,!!a&&a.Md);this.updateValue("icon",this.o.ol()?g.vV?{G:"div",ba:["ytp-icon","ytp-icon-airplay-on"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]}:
g.vV?{G:"div",ba:["ytp-icon","ytp-icon-airplay-off"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.p(kZ,g.LH);kZ.prototype.V=function(){this.o=null;g.LH.prototype.V.call(this)};g.p(mZ,g.LH);g.h=mZ.prototype;g.h.LN=function(a){g.W(a.state,32)?nZ(this,this.A.getVideoData()):this.H.hide()};
g.h.qo=function(){var a=this.A.kh(),b=a.current,c=rN(this.Hb,141);b=this.Hb.g[c].Ij(b);b!=this.L&&(c=sN(this.Hb,b,141),this.D=lZ(this.da,c,141,141,!0),g.zh(this.ca,(this.I-this.D.width)/2),this.L=b);g.Td(this.ea,g.EV(this.R?a.current-a.seekableEnd:a.current));g.HG(this.K);this.K=g.EG((0,g.z)(this.tp,this));this.N.mj()};
g.h.MN=function(a,b){nZ(this,b)};
g.h.tp=function(){g.M(this.o,!1);g.HG(this.K);var a=Math.round(.5*this.D.width),b=Math.round(.5*this.D.height),c=this.A.kh(),d=c.current/(c.seekableEnd-c.seekableStart);c=this.Hb.g[0].oo();var e=this.Hb.g[0].xl();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.Kd(this.o.children[k-this.B]);for(k=f-1;k>=this.B;k--)g.Kd(this.o.children[k-this.B]);for(k=this.B-1;k>=f;k--)this.o.insertBefore(Esa(this,
k,a,b),this.o.firstChild);k=this.C+1}else g.Id(this.o),k=f;for(;k<=e;k++){var l=Esa(this,k,a,b);this.o.appendChild(l)}for(k=f;k<=e;k++)g.sh(this.o.children[k-f],"transform","translatex("+(-d+(k-c)*a)+"px)");this.B=f;this.C=e;g.M(this.o,!0)};
g.h.xK=function(){for(var a=this.B;a<=this.C;a++)uN(this.Hb,a,this.D.width)};
g.h.RI=function(){var a=g.NU(this.A).Ia();this.I!=a.width&&(this.I=a.width,this.Hb&&(this.qo(),this.tp()))};
g.h.oU=function(a){this.element.style.g=a+"px"};
g.h.show=function(){g.LH.prototype.show.call(this);p_(this.W,!1)};
g.h.hide=function(){this.Hb&&nZ(this,null);g.LH.prototype.hide.call(this);p_(this.W,!0)};
g.h.V=function(){nZ(this,null);g.LH.prototype.V.call(this)};
mZ.g=200;g.p(oZ,g.U);g.h=oZ.prototype;g.h.NN=function(a){g.W(a.state,32)?qZ(this,this.o.getVideoData()):this.l&&(g.W(a.state,16)||g.W(a.state,1))||this.B.hide()};
g.h.PN=function(a,b){qZ(this,b)};
g.h.ON=function(){var a=g.MU(this.o);(g.W(a,32)||g.W(a,16))&&pZ(this)};
g.h.SI=function(){this.C=window.NaN;pZ(this)};
g.h.hide=function(){this.Hb&&qZ(this,null);g.U.prototype.hide.call(this)};g.p(rZ,g.U);g.h=rZ.prototype;g.h.QN=function(){g.X(this.A).ca?g.QU(this.A):this.o.xh(this.element,!0)};
g.h.xB=function(){Fsa(this);this.o.Me(this.element,!0)};
g.h.RN=function(){g.AF()==this.A.getRootNode()?this.C.start():(this.C.stop(),this.o&&this.o.hide())};
g.h.DH=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.xB()}};
g.h.zA=function(){g.KH(this,gra(this.A))};
g.h.YC=function(a){if(a){var b=g.vV?{G:"div",ba:["ytp-icon","ytp-icon-full-screen-close"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"g",M:"ytp-fullscreen-button-corner-2",J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{G:"g",M:"ytp-fullscreen-button-corner-3",J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{G:"g",M:"ytp-fullscreen-button-corner-0",J:[{G:"path",Ra:!0,M:"ytp-svg-fill",
P:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{G:"g",M:"ytp-fullscreen-button-corner-1",J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.T("YTP_EXIT_FULLSCREEN");window.document.activeElement==this.element&&this.A.getRootNode().focus()}else b=g.vV?{G:"div",ba:["ytp-icon","ytp-icon-full-screen"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"g",M:"ytp-fullscreen-button-corner-0",J:[{G:"path",Ra:!0,M:"ytp-svg-fill",
P:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{G:"g",M:"ytp-fullscreen-button-corner-1",J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{G:"g",M:"ytp-fullscreen-button-corner-2",J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{G:"g",M:"ytp-fullscreen-button-corner-3",J:[{G:"path",Ra:!0,M:"ytp-svg-fill",P:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.T("YTP_FULLSCREEN");this.updateValue("icon",
b);this.updateValue("title",this.o?null:a);yZ(this.D.Gb())};
g.h.V=function(){this.o||(this.B(),this.B=null);g.U.prototype.V.call(this)};g.p(sZ,g.U);sZ.prototype.A=function(){this.o.ra("onCollapseMiniplayer")};g.p(tZ,xY);g.h=tZ.prototype;g.h.show=function(){var a=this.l;xY.prototype.show.call(this);a||(this.B.O(this.o,"presentingplayerstatechange",this.kt),this.B.O(this.o,"videodatachange",this.kt),this.kt())};
g.h.hide=function(){this.B&&(g.$F(this.B),xY.prototype.hide.call(this))};
g.h.kt=function(){var a=this.o.getVideoData(),b=a.Hh,c;for(c=0;c<b.length;c++){var d=this.A[c];d||(d=new g.U({G:"button",ba:["ytp-multicam-menu-item","ytp-button"],P:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},J:[{G:"div",M:"ytp-multicam-menu-item-title",J:["{{cameraName}}"]}]}),d.U("click",g.Ea(this.zP,c),this),d.pa(this.Ga),this.A[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=VM(g.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.MU(this.o);a=b.length||!a.Mb();GP(c)||g.W(c,4)||a||!yY(this)||this.xh()};
g.h.zP=function(a){this.o.getVideoData();var b=this.o;a=this.o.getVideoData().Hh[a];var c=g.LU(b.app,1).getVideoData(),d=b.getCurrentTime();a.id==c.videoId?g.LU(b.app)!=g.LU(b.app,1)&&(g.T_(b.app,1),c.ua||b.ac(d)):(g.T_(b.app,4),i0(b.app,{videoId:a.id,title:c.title,start:c.ua?null:d,multifeed_metadata_list:c.hc.multifeed_metadata_list},4))};
g.h.focus=function(){for(var a=this.o.getVideoData(),b=a.Hh,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.A[c].focus();break}};
g.h.V=function(){g.df(this.A);xY.prototype.V.call(this)};g.p(uZ,g.U);uZ.prototype.F=function(a){this.B("newdata"==a)};
uZ.prototype.B=function(a){var b=this.o.getVideoData(),c=b.Hh,d=g.MU(this.o);d=(GP(d)||g.W(d,4))&&0<c.length;g.KH(this,d);a&&(this.C=!0);if(d){this.C&&g.nu(this.D);a=null;d="";for(var e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.T("YTP_MULTICAM_INDEX",{CAMERA_INDEX:String(e+1),CAMERA_COUNT:String(c.length)})+"\n";break}this.update({text:d+a,preview:b.Xc(g.X(this.o),"default.jpg")});yZ(this.A)}else this.D.stop()};
uZ.prototype.H=function(){qta(this.A,this.element,g.T("YTP_MORE_CAMERAS_AVAILABLE"));this.C=!1};g.p(vZ,g.K);vZ.prototype.l=function(){var a=g.AG()-this.A;a=a<this.g?a/this.g:1;this.B(fD(Gva,a));1>a&&this.o.start()};
var Gva=new eD(0,0,.4,0,.2,1,1,1),Ksa=/[0-9.-]+|[^0-9.-]+/g;g.p(xZ,g.U);xZ.prototype.Nc=function(a){this.B=300<=a.width;g.KH(this,this.B);g.iV(this.o,this.element,this.B&&this.H)};
xZ.prototype.ea=function(){g.X(this.o).I?this.o.isMuted()?this.o.Xf():this.o.mute():this.Z.xh(this.element,!0);g.hV(this.o,this.element)};
xZ.prototype.da=function(a){Lsa(this,a.volume,a.muted)};
var Osa=["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"],Psa=["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(zZ,g.U);zZ.prototype.A=function(){var a=g.LU(this.o.app);a&&(a=a.l,a.g.webkitSetPresentationMode("picture-in-picture"==a.g.webkitPresentationMode?"inline":"picture-in-picture"))};g.p(g.AZ,g.U);g.AZ.prototype.H=function(a){Qsa(this,a.state)};
g.AZ.prototype.F=function(){g.S(this.element,"ytp-play-button-playlist",OU(this.A))};
g.AZ.prototype.I=function(){GP(g.MU(this.A))?this.A.cd():this.A.pd()};
g.AZ.prototype.V=function(){this.o&&this.o();g.U.prototype.V.call(this)};g.p(g.CZ,g.U);g.h=g.CZ.prototype;g.h.Jj=function(){Ssa(this);this.H&&(this.Aa(this.H),this.H=null);this.F=this.o.getVideoData(1);if(this.A=this.o.Wf())this.A.subscribe("shuffle",this.Jj,this),this.H=this.O(this.o,"progresssync",this.ZN);this.D=Tsa(this);BZ(this);this.Nc(g.NU(this.o).Ia())};
g.h.Nc=function(a){a=void 0===a?g.NU(this.o).Ia():a;var b=OU(this.o)||this.B&&g.eV(this.o)||Usa(this);g.KH(this,b&&(this.B||400<=a.width))};
g.h.aO=function(a){var b=!0;this.K?b=g.hX(a,this.o):g.QF(a);b&&(this.B?this.o.Gj(!0):this.D?this.o.ac(0):this.o.rl(!0))};
g.h.ZN=function(){var a=Tsa(this);a!=this.D&&(this.D=a,BZ(this))};
g.h.V=function(){this.C&&(this.C(),this.C=null);Ssa(this);g.U.prototype.V.call(this)};Vsa.prototype.update=function(a,b,c,d){this.width=b;this.o=c;this.B=d;this.g=b-c-d;this.position=g.cd(a,c,c+this.g);this.A=this.position-c;this.l=this.A/this.g};g.p(g.DZ,g.LH);g.h=g.DZ.prototype;g.h.cO=function(a){if(!g.RF(a)){var b=!1;switch(g.SF(a)){case 36:this.A.ac(0);b=!0;break;case 35:this.A.ac(window.Infinity);b=!0;break;case 34:this.A.ie(-60);b=!0;break;case 33:this.A.ie(60);b=!0;break;case 38:this.A.ie(5);b=!0;break;case 40:this.A.ie(-5),b=!0}b&&g.QF(a)}};
g.h.CA=function(a,b){Wsa(this,b,"newdata"==a)};
g.h.KI=function(){this.CA("newdata",this.A.getVideoData())};
g.h.QI=function(){ata(this.A.getVideoData())?g.MU(this.A).gb()&&HZ(this,!0):HZ(this,!1)};
g.h.LI=function(a){0<SP(a,64)||!ata(this.A.getVideoData())?HZ(this,!1):GP(a.state)&&0>SP(a,64)&&HZ(this,!0);this.D&&!g.W(a.state,32)&&3!=this.A.Qa()&&this.D.cancel()};
g.h.LR=function(a,b,c){var d=g.Dh(this.element),e=IZ(this).g,f=c?c.getAttribute("data-tooltip"):void 0;c&&c.getAttribute("data-position")&&(a=IV(this.o,Number(c.getAttribute("data-position")),0)*e+g.Dh(this.Kc).x);this.za.x=a-d.x;this.za.y=b-d.y;c=IZ(this);a=HV(this.o,c.l);d=f||g.EV(this.Pa?a-this.o.g:a);b=this.Ca;c=c.position+this.Ma;f=!!f;b.ca||(3==b.o&&b.af(),1!=b.o&&(b.element.className="ytp-tooltip ytp-bottom",b.o=1,b.K&&b.I.show(),b.B=g.MO(b.N.getVideoData()),b.B&&b.B.subscribe("l",b.wB,b)),
b.update({text:d,title:""}),g.S(b.element,"ytp-text-detail",!!f),d=-1,b.B&&(d=rN(b.B,160*b.C),d=b.B.g[d].Ij(a)),sta(b,d),rta(b,!!f,c));g.S(this.A.getRootNode(),"ytp-progress-bar-hover",!g.W(g.MU(this.A),64));Zsa(this)};
g.h.KR=function(){var a=this.Ca;1==a.o&&a.af();g.Fq(this.A.getRootNode(),"ytp-progress-bar-hover")};
g.h.JR=function(a,b){this.B&&(this.B.dispose(),this.B=null);this.Mc=b;this.A.ac(HV(this.o,IZ(this).l),!1);g.R(this.element,"ytp-drag");(this.Ta=GP(g.MU(this.A)))&&this.A.cd()};
g.h.MR=function(){this.ma=0;g.Fq(this.element,"ytp-pull-ui");g.Fq(this.element,"ytp-pulling");this.B&&(this.B.dispose(),this.B=null);0<this.I&&(this.B=new g.ju((0,g.z)(this.qH,this,g.AG(),this.I,IZ(this).position)),this.B.start());if(g.W(g.MU(this.A),32)||3==this.A.Qa())this.A.ac(HV(this.o,IZ(this).l)),g.Fq(this.element,"ytp-drag"),this.Ta&&!g.W(g.MU(this.A),2)&&this.A.pd()};
g.h.qH=function(a,b,c){a=1-Math.pow(1-(g.AG()-a)/200,3);c+=a*(this.H*this.C-c);if(0>a||1<a)a=1;bta(this,(1-a)*b,c,this.H);1>a&&this.B.start()};
g.h.NR=function(a,b){var c=!1,d=!1,e=IZ(this);3600<=this.o.getLength()&&(bta(this,this.Mc-b-10,e.position,e.l),d=!0,c=this.I>.1*(this.F?60:40),e=IZ(this));g.S(this.element,"ytp-pull-ui",d);c&&g.R(this.element,"ytp-pulling");c=0;e.o&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);this.ma!=c&&(this.ma=c,this.B&&(this.B.dispose(),this.B=null),c&&(this.B=new g.ju((0,g.z)(this.dU,this,g.AG(),this.K)),this.B.start()));this.A.ac(HV(this.o,e.l),!1)};
g.h.dU=function(a,b){var c=this.C*(this.Z-1);this.K=g.cd(b+this.ma*(g.AG()-a)*.3,0,c);g.FZ(this);this.A.ac(HV(this.o,IZ(this).l),!1);0<this.K&&this.K<c&&this.B.start()};
g.h.nB=function(){this.updateValue("clipstarticon",Cpa());this.updateValue("clipendicon",Cpa());g.R(this.element,"ytp-clip-hover")};
g.h.mB=function(){this.updateValue("clipstarticon",Epa());this.updateValue("clipendicon",Dpa());g.Fq(this.element,"ytp-clip-hover")};
g.h.Mo=function(){this.N=0;this.L=window.Infinity;GZ(this);EZ(this,this.H,this.fa)};
g.h.KD=function(a){a=g.la(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.W[c]){var d=g.Ed("DIV");("ytp-chapter-marker"==b.style||b.tooltip)&&d.setAttribute("data-position",b.start/1E3);b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);this.W[c]=b;this.ia[c]=d;if(b.icons&&b.icons.length){for(var e=g.Ed("DIV"),f=g.la(b.icons),k=f.next();!k.done;k=f.next()){k=k.value;var l=g.Ed("IMG");l.src=k;l.setAttribute("data-position",b.start/1E3);b.tooltip&&l.setAttribute("data-tooltip",
b.tooltip);e.appendChild(l)}e.className="ytp-marker-icon";g.kb(this.ca,b,g.NQ);this.R[c]=e;this.Md.appendChild(e)}d.className=b.style;cta(this,c);"ytp-chapter-marker"==b.style?this.xd.appendChild(d):g.X(this.A).experiments.g("disable_ad_markers_on_content_progress_bar")||this.ed.appendChild(d)}}else eta(this,b);JZ(this)};
g.h.ST=function(a){a=g.la(a);for(var b=a.next();!b.done;b=a.next())eta(this,b.value);JZ(this)};
g.h.V=function(){$sa(this,!1);g.LH.prototype.V.call(this)};g.p(LZ,SY);LZ.prototype.D=function(){g.FU(this.B).A&&3!=this.B.Qa()?this.o||($Z(this.C,this),this.o=!0):this.o&&(a_(this.C,this),this.o=!1);var a=g.FU(this.B).A;TY(this,!!a&&a.loaded)};
LZ.prototype.F=function(a){a?this.B.Fj("annotations_module"):this.B.sl("annotations_module")};
LZ.prototype.V=function(){this.o&&a_(this.C,this);SY.prototype.V.call(this)};g.p(g.MZ,g.NH);g.h=g.MZ.prototype;g.h.open=function(){g.OY(this.B,this.D)};
g.h.kf=function(a){if(this.F){var b=this.A[this.F];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked")}this.A[a].element.setAttribute("aria-checked",!0);this.Ib(this.jf(a));this.F=a};
g.h.enable=function(a){this.I?a||(this.I=!1,this.Kj(!1)):a&&(this.I=!0,this.Kj(!0))};
g.h.Kj=function(a){a?$Z(this.B,this):a_(this.B,this)};
g.h.qd=function(a){this.T("select",a)};
g.h.hO=function(a){"true"!=this.A[a].element.getAttribute("aria-disabled")&&this.qd(a)};
g.h.jf=function(a){return a.toString()};
g.h.gO=function(a){g.RF(a)||39!=g.SF(a)||(this.open(),g.QF(a))};
g.h.V=function(){this.I&&a_(this.B,this);g.NH.prototype.V.call(this);for(var a in this.A)this.A[a].dispose()};g.p(OZ,g.MZ);OZ.prototype.H=function(){var a=this.o.getAvailableAudioTracks();1<a.length?(g.NZ(this,(0,g.G)(a,this.C)),this.L=g.lb(a,this.C,this),this.K.Ib(a.length?" ("+a.length+")":""),this.T("size-change"),this.kf(this.C(this.o.getAudioTrack())),this.enable(!0)):this.enable(!1)};
OZ.prototype.qd=function(a){g.MZ.prototype.qd.call(this,a);this.o.Ts(this.L[a]);this.B.Oe()};
OZ.prototype.C=function(a){return a.toString()};g.p(PZ,SY);PZ.prototype.D=function(){var a=this.o.Qa();if(2!=a&&3!=a&&g.eV(this.o))this.C||($Z(this.F,this),this.C=!0,this.B.push(this.O(this.o,"videodatachange",this.D)),this.B.push(this.O(this.o,"videoplayerreset",this.D)),this.B.push(this.O(this.o,"onPlaylistUpdate",this.D)),this.B.push(this.O(this.o,"autonavchange",this.H)),this.H(this.o.getVideoData().autonavState));else if(this.C){a_(this.F,this);this.C=!1;a=g.la(this.B);for(var b=a.next();!b.done;b=a.next())this.Aa(b.value)}};
PZ.prototype.H=function(a){TY(this,1!=a)};
PZ.prototype.I=function(a){var b=this.o;a=a?2:1;b.app.l.ra("onAutonavChangeRequest",1!=a);a&&gua(b.app,a)};
PZ.prototype.V=function(){this.C&&a_(this.F,this);SY.prototype.V.call(this)};g.p(QZ,g.MZ);QZ.prototype.C=function(){var a=this.o.Qa();if(2!=a&&3!=a&&(this.K=g.lpa(this.o),a=this.o.Ns(),g.mpa(this.o)&&g.npa(this.o)&&a.unshift("missing-qualities"),g.NZ(this,a),a.length)){this.L();this.enable(!0);return}this.enable(!1)};
QZ.prototype.L=function(){var a=g.RU(this.o);this.A[a]&&(this.H=this.o.ql(),this.kf(a),"auto"==a&&this.Ib(this.jf(a)))};
QZ.prototype.qd=function(a){"missing-qualities"!=a&&(g.MZ.prototype.qd.call(this,a),this.o.ho(a),this.B.Ob())};
QZ.prototype.jf=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{G:"a",P:{href:"https://support.google.com/youtube/?p=missing_quality",target:"_blank"},J:[g.T("YTP_MISSING_FORMATS")]};var c=[fta(this,a)],d=g.RU(this.o);b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(fta(this,this.H,["ytp-menu-label-secondary"])));return{G:"div",J:c}};g.p(RZ,g.U);RZ.prototype.Nc=function(a){g.KH(this,this.C&&400<=a.width)};
RZ.prototype.D=function(){if(this.B.l)this.B.Ob();else{var a=g.FU(this.o).l;a&&!a.loaded&&(a.Is("tracklist",{includeAsr:!0}).length||a.load());this.B.Me(this.element)}};
RZ.prototype.A=function(){var a=this.o.Qa(),b=2!=a&&3!=a,c=g.SU(this.o),d=b&&!!g.FU(this.o).o;a=d&&1==c.Ng;c=d&&2==c.Ng;b=(d=a||c)||!b?null:this.o.ql();g.S(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.S(this.element,"ytp-4k-quality-badge","hd2160"==b);g.S(this.element,"ytp-5k-quality-badge","hd2880"==b);g.S(this.element,"ytp-8k-quality-badge","highres"==b);g.S(this.element,"ytp-3d-badge-grey",d&&a);g.S(this.element,"ytp-3d-badge",d&&c)};g.p(TZ,g.MZ);g.h=TZ.prototype;g.h.tt=function(a){return a.toString()};
g.h.jf=function(a){return"1"==a?g.T("YTP_NORMAL_SPEED"):a.toString()};
g.h.FA=function(){var a=this.o.Qa();this.enable(2!=a&&3!=a)};
g.h.Kj=function(a){g.MZ.prototype.Kj.call(this,a);a?(this.C=this.O(this.o,"onPlaybackRateChange",this.jO),g.NZ(this,(0,g.G)(this.o.Ej(),this.tt)),this.kf(this.tt(this.o.Rc()))):(this.Aa(this.C),this.C=null)};
g.h.jO=function(a){this.kf(this.tt(a))};
g.h.qd=function(a){g.MZ.prototype.qd.call(this,a);this.o.Vf((0,window.parseFloat)(a),!0);this.B.Oe()};g.p(UZ,g.MZ);g.h=UZ.prototype;g.h.kf=function(a){g.MZ.prototype.kf.call(this,a)};
g.h.IA=function(a){return a.option.toString()};
g.h.jf=function(a){return gta(this.L[a])};
g.h.qd=function(a){g.MZ.prototype.qd.call(this,a);this.T("settingChange",this.K,this.L[a].option)};
g.h.JA=function(a){this.T("settingChange",this.K+"Override",!a);this.B.Oe()};g.p(VZ,g.JY);VZ.prototype.A=function(a,b){this.T("settingChange",a,b)};g.p(WZ,g.MZ);WZ.prototype.C=function(a){return a.languageCode};
WZ.prototype.jf=function(a){return this.o[a].languageName||""};
WZ.prototype.qd=function(a){this.T("select",a);g.PY(this.B)};g.p(XZ,g.MZ);g.h=XZ.prototype;g.h.zt=function(a){return g.Yb(a)?"__off__":a.displayName};
g.h.jf=function(a){return"__off__"==a?g.T("YTP_LANGUAGE_OFF"):"__translate__"==a?g.T("YTP_AUTO_TRANSLATE"):"__contribute__"==a?g.T("YTP_CONTRIBUTE_MENU_ITEM"):("__off__"==a?{}:this.C[a]).displayName};
g.h.qd=function(a){"__translate__"==a?this.H.open():"__contribute__"==a?(this.o.cd(),this.o.isFullscreen()&&g.QU(this.o),a=g.eQ(g.X(this.o),this.o.getVideoData()),g.mV(a)):(this.o.Gd("captions","track","__off__"==a?{}:this.C[a]),g.MZ.prototype.qd.call(this,a),this.B.Oe())};
g.h.zl=function(){var a=-1!=this.o.mi().indexOf("captions"),b=this.o.getVideoData().vk;if(a||b){if(a){var c=this.o.uc("captions","track");var d=this.o.uc("captions","tracklist",{includeAsr:!0});var e=this.o.uc("captions","translationLanguages");this.C=g.lb(d,this.zt,this);var f=(0,g.G)(d,this.zt);if(e.length){var k=this.H;var l=e;k.o=g.lb(l,k.C,k);g.NZ(k,(0,g.G)(l,k.C));f.push("__translate__")}k=this.zt(c)}else this.C={},f=[],k="__off__";f.unshift("__off__");this.C.__off__={};b&&f.unshift("__contribute__");
this.C[k]||(this.C[k]=c,f.push(k));g.NZ(this,f);this.kf(k);a?(hta(this.L,this.o.ni()),this.K.Ib(d.length?" ("+d.length+")":""),this.T("size-change"),a&&e.length&&this.A.__translate__.element.setAttribute("aria-disabled",!!g.Yb(c))):(this.K.Ib(""),this.T("size-change"));this.enable(!0)}else this.enable(!1)};
g.h.HA=function(a){this.o.Gd("captions","sampleSubtitles",a)};
g.h.rO=function(a){var b=this.o.uc("captions","track");b=g.cc(b);b.translationLanguage=this.H.o[a];this.o.Gd("captions","track",b)};
g.h.qO=function(a,b){if("reset"==a)this.o.Ss();else{var c={};c[a]=b;this.o.ko(c)}this.HA(!0);this.N.start();hta(this.L,this.o.ni())};
g.h.tS=function(a){a||g.pu(this.N)};
g.h.V=function(){g.pu(this.N);g.MZ.prototype.V.call(this)};g.p(YZ,g.LY);YZ.prototype.Me=function(a){ZZ(this);0<this.B.Ga.length&&g.LY.prototype.Me.call(this,a)};
YZ.prototype.show=function(){g.LY.prototype.show.call(this);g.R(this.A.getRootNode(),"ytp-settings-shown")};
YZ.prototype.hide=function(){g.LY.prototype.hide.call(this);g.Fq(this.A.getRootNode(),"ytp-settings-shown")};g.p(b_,g.U);
b_.prototype.A=function(){var a=!1;-1!=this.o.mi().indexOf("remote")&&(a=1<this.o.uc("remote","receivers").length);g.KH(this,a&&400<=g.NU(this.o).Ia().width);var b=1;a&&this.o.uc("remote","casting")&&(b=2);if(this.B!=b){this.B=b;switch(b){case 1:this.updateValue("icon",g.vV?{G:"div",ba:["ytp-icon","ytp-icon-cast-desktop-off"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});
break;case 2:this.updateValue("icon",g.Apa())}g.S(this.element,"ytp-remote-button-active",!!this.o.uc("remote","casting"))}};
b_.prototype.D=function(){if(this.o.uc("remote","quickCast"))this.o.Gd("remote","quickCast",!0);else{var a=this.C,b=this.element;if(yY(a))a.Ob();else{ZZ(a);a:{var c=g.la(a.B.Ga);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.Me(b));a.Me(b)}}};g.p(c_,g.U);c_.prototype.F=function(){var a=this.o.app;a.l.ra("SIZE_CLICKED",!a.Pb)};
c_.prototype.A=function(){g.KH(this,this.o.app.ae&&!this.o.isFullscreen()&&3!=this.o.Qa());if(this.l){var a=this.o.isWidescreen();if(this.B!=a){var b=a?g.vV?{G:"div",ba:["ytp-icon","ytp-icon-default-view"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Ra:!0,P:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:g.vV?{G:"div",ba:["ytp-icon","ytp-icon-theater-mode"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},J:[{G:"path",Ra:!0,P:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};g.X(this.o).H||null==this.B?this.updateValue("icon",b):Jsa(this.D,this.element,b);a=(this.B=a)?g.T("YTP_DEFAULT_VIEW"):g.T("YTP_THEATER_MODE");this.updateValue("title",a);yZ(this.C)}}};g.p(d_,g.U);d_.prototype.B=function(){var a=g.FU(this.A).l;a&&a.xD()};
d_.prototype.o=function(){var a=!!g.FU(this.A).l;g.KH(this,a&&300<=g.NU(this.A).Ia().width);a&&this.updateValue("pressed",!!this.A.uc("captions","track").displayName)};g.p(g.e_,g.U);
g.e_.prototype.o=function(){var a=g.NU(this.D).Ia().width,b=350<=a&&(!this.B||!g.W(g.MU(this.D),64));g.KH(this,b);g.S(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.D.kh();b&&(b=g.EV(a.current),this.F!=b&&(this.updateValue("currenttime",b),this.F=b),b=g.EV(a.duration),this.H!=b&&(this.updateValue("duration",b),this.H=b));this.B&&(a=a.isPeggedToLive,this.I!=a&&(this.I=a,this.o(),b=this.C.element,(b.disabled=a)?this.A&&(this.A(),this.A=null,b.removeAttribute("title")):(b.title=g.T("YTP_GOTO_LIVE_TOOLTIP"),
this.A=GY(this.K,this.C.element))))};
g.e_.prototype.N=function(a,b){this.B=b.ua;g.S(this.element,"ytp-live",this.B);this.o()};
g.e_.prototype.L=function(a){a.target==this.C.element&&(this.D.ac(window.Infinity),this.D.pd())};
g.e_.prototype.V=function(){this.A&&this.A();g.U.prototype.V.call(this)};g.p(g_,g.U);g.h=g_.prototype;g.h.sO=function(){var a=this.F.od();this.H!=a&&(this.H=a,f_(this,this.o.getVolume(),this.o.isMuted()))};
g.h.Nc=function(a){g.KH(this,350<=a.width)};
g.h.CS=function(a){if(!g.RF(a)){var b=g.SF(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.cd(c,0,100),0==c?this.o.mute():(this.o.isMuted()&&this.o.Xf(),this.o.setVolume(c)),g.QF(a))}};
g.h.tO=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.cd(b/10,-10,10));g.QF(a)};
g.h.BS=function(){h_(this,this.B,!0,this.A,this.F.zj());this.W=this.C;this.o.isMuted()&&this.o.Xf()};
g.h.AS=function(a){a-=g.Dh(this.R).x;this.o.setVolume(100*g.cd(a/(this.H?78:52),0,1))};
g.h.zS=function(){h_(this,this.B,!1,this.A,this.F.zj());0==this.C&&(this.o.mute(),this.o.setVolume(this.W))};
g.h.uO=function(a){f_(this,a.volume,a.muted)};
g.h.Gw=function(){h_(this,this.B,this.D,this.A,this.F.zj())};
g.h.KA=function(a){h_(this,this.B,this.D,a,this.F.zj())};
g.h.ZC=function(a){g.S(this.element,"ytp-volume-control-hover",a);h_(this,a,this.D,this.A,this.F.zj())};
g.h.V=function(){g.U.prototype.V.call(this);g.Fq(this.N,"ytp-volume-slider-active")};g.p(i_,g.U);i_.prototype.C=function(){this.A=!!this.o.getVideoData().videoId;g.KH(this,this.A);g.iV(this.o,this.element,this.A&&this.B);if(this.A){var a=this.o.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}};
i_.prototype.D=function(a){var b=this.o.getVideoUrl(!g.FV(a),!1,!0,!0);iX(b,this.o,a);g.hV(this.o,this.element)};g.p(j_,g.YF);g.h=j_.prototype;g.h.wt=function(){g.Ysa(this.B);this.R.o()};
g.h.iB=function(){this.Bu();!this.N.l||this.wt()};
g.h.pO=function(){this.wt();this.F.start()};
g.h.Bu=function(){var a;if(a=!g.X(this.A).l){a=this.B;var b=2*a.C*g.ZM();a=300>1E3*a.o.getLength()/a.A.Rc()/b}a=a&&g.MU(this.A).gb()&&!!window.requestAnimationFrame;b=!a;this.N.l||(a=b=!1);b?this.H||(this.H=this.O(this.A,"progresssync",this.wt)):this.H&&(this.Aa(this.H),this.H=null);a?this.F.isActive()||this.F.start():this.F.stop()};
g.h.YU=function(a){p_(this.o.Gb(),!a)};
g.h.xt=function(){var a=this.o.od(),b=g.NU(this.A).Ia(),c=k_(this),d=Math.max(b.width-2*c,100);if(this.X!=b.width||this.Y!=a){this.X=b.width;this.Y=a;var e=kta(this);this.l.element.style.width=e+"px";this.l.element.style.left=c+"px";var f=this.B;f.Ma=c;f.C=e;f.F=a;g.FZ(f);this.o.Gb().da=e}c=this.g;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.o.od()?72:50))));c.R=Math.min(570*(a?1.5:1),d);c.N=e;c.Ql();this.Bu();g.X(this.A).experiments.g("html5_player_dynamic_bottom_gradient")&&Dsa(this.Z,
b.height)};
g.h.la=function(){return this.l.element};g.p(g.l_,g.U);g.l_.prototype.A=function(){g.R(this.element,"ytp-sb-subscribed")};
g.l_.prototype.B=function(){g.Fq(this.element,"ytp-sb-subscribed")};g.va("yt.pubsub.publish",g.pG,void 0);g.p(m_,g.U);m_.prototype.W=function(a){g.hV(this.o,this.element);var b=this.o.getVideoUrl(!g.FV(a),!1,!0);iX(b,this.o,a)};
m_.prototype.I=function(){ota(this);var a=this.o.getVideoData();this.updateValue("title",a.title);this.C&&(this.C.o=a.Rl);var b=g.X(this.o);if(b.D&&2!=this.o.Qa()){var c=a.shortViewCount;g.S(this.o.getRootNode(),"ytp-show-title-view-count",!!c);this.updateValue("viewCount",c)}else g.Fq(this.o.getRootNode(),"ytp-show-title-view-count"),this.updateValue("viewCount","");!b.C&&a.videoId?(this.updateValue("url",this.o.getVideoUrl(!0)),this.B||(this.B=this.O(this.R,"click",this.W))):this.B&&(this.updateValue("url",
null),this.Aa(this.B),this.B=null)};g.p(g.n_,g.U);g.h=g.n_.prototype;g.h.dR=function(a){3==this.o&&this.af();a=a.currentTarget;this.o||(a.removeEventListener("mouseover",this.R),a.addEventListener("mouseout",this.ea),pta(this,a,2))};
g.h.bR=function(a){(a=OF(a))&&g.Qd(this.A,a)||this.af()};
g.h.wB=function(a,b){if(a<=this.D&&this.D<=b){var c=this.D;this.D=window.NaN;sta(this,c)}};
g.h.yK=function(){uN(this.B,this.D,160*this.C)};
g.h.af=function(){switch(this.o){case 2:this.A.removeEventListener("mouseout",this.ea),this.A.addEventListener("mouseover",this.R);case 3:3==this.o&&this.Z.stop();this.N.removeEventListener("appresize",this.W);this.L||this.A.setAttribute("title",this.F);this.F="";this.A=null;break;case 1:this.B&&(this.B.unsubscribe("l",this.wB,this),this.B=null),this.N.removeEventListener("videoready",this.W),this.X.stop()}this.o=null;this.K&&this.I.hide()};
g.h.Si=function(a){if(this.A)for(var b=0;b<arguments.length;b++)g.Qd(arguments[b],this.A)&&this.af()};
g.h.V=function(){null!=this.o&&this.af();g.U.prototype.V.call(this)};g.p(r_,g.U);g.h=r_.prototype;g.h.Nc=function(a){this.C=300<=a.width;g.KH(this,this.C);a=480<a.width;g.X(this.o).D&&(g.S(this.I,"ytp-show-watch-later-title",a),this.updateValue("watch_later",a?g.T("YTP_WATCH_LATER_2"):""));g.iV(this.o,this.element,this.C&&this.F)};
g.h.iT=function(){this.A=!0;this.B=!1;q_(this,1);g.X(this.o).l&&qta(this.H,this.element);g.X(this.o).ub&&this.o.ra("WATCH_LATER_VIDEO_ADDED")};
g.h.vO=function(){g.hV(this.o,this.element);var a=this.o.getVideoData().videoId,b=g.X(this.o);b.Wc?wta(this,a):g.mta(function(){oH({videoId:a});window.location.reload()},null,"wl_button",800,600,TM(b))};
g.h.jT=function(a,b){this.B=!1;var c=g.T("YTP_ERROR_GENERIC_WITHOUT_LINK");b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);q_(this,4,c);g.X(this.o).ub&&this.o.ra("WATCH_LATER_ERROR",c)};
g.h.kT=function(){this.B=this.A=!1;q_(this,2);g.X(this.o).ub&&this.o.ra("WATCH_LATER_VIDEO_REMOVED")};
g.h.wO=function(){this.B=this.A=!1;q_(this,2)};g.p(s_,g.U);s_.prototype.D=function(a){g.KH(this,!g.W(a.state,2))};
s_.prototype.B=function(){if(this.A.getVideoData().videoId){var a=this.A.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a);this.o||(this.o=this.U("click",this.C))}else this.o&&(this.updateValue("url",null),this.Aa(this.o),this.o=null)};
s_.prototype.C=function(a){var b=this.A.getVideoUrl(!g.FV(a),!1,!0,!0);iX(b,this.A,a)};g.p(t_,AY);g.h=t_.prototype;g.h.Gb=function(){return this.D};
g.h.cn=function(a,b){b?this.L=a:this.L=null;this.gg()};
g.h.fn=function(a,b){if(b)this.F.push(a);else for(var c=this.F.length;0<=c;c--)if(this.F[c]==a){this.F.splice(c,1);break}this.o.bc(64,0<this.F.length)};
g.h.Zj=function(){g.UU(this.g)&&g.VU(this.g);CY(this);var a=g.X(this.g).experiments.g("enable_uturn_error_screen"),b=g.W(g.MU(this.g),128);return a&&b&&!this.g.isFullscreen()||!!this.L||AY.prototype.Zj.call(this)};
g.h.gg=function(){var a=!this.Zj(),b=a&&g.UU(this.g)&&!g.W(g.MU(this.g),2);a?(this.Ma.show(),this.Na.show()):(this.Ma.hide(),this.Na.hide(),this.D.Si(this.A.element));b?this.N.B.show():this.N.B.hide();this.l&&jta(this.l,!a);AY.prototype.gg.call(this)};
g.h.zo=function(a,b,c,d){a.style.left="";a.style.top="";a.style.bottom="";var e=g.Lh(a);d=d||this.l&&g.Qd(this.l.la(),b);if(null==c||!d){var f=g.Lh(b);var k=g.Ih(b,this.g.getRootNode())}c=(null==c?k.x+f.width/2:c)-e.width/2;d?(f=k_(this.l),k=kta(this.l),b=g.NU(this.g).Ia().height,c=g.cd(c,f,f+k-e.width),e=b-(this.l.o.od()?72:50)-e.height):g.Qd(this.A.element,b)?(f=g.NU(this.g).Ia().width,c=g.cd(c,12,f-e.width-12),e=this.od()?this.ia:this.ma,"gvn"==g.X(this.g).playerStyle&&(e+=20)):(b=g.NU(this.g).Ia(),
c=g.cd(c,12,b.width-e.width-12),e=k.y>(b.height-f.height)/2?k.y-e.height-12:k.y+f.height+12);a.style.top=e+"px";a.style.left=c+"px"};
g.h.Ft=function(a){a&&(this.D.Si(this.A.element),this.l&&this.D.Si(this.l.la()));AY.prototype.Ft.call(this,a)};
g.h.Js=function(a){var b=g.NU(this.g).Ia();b=new g.eh(0,0,b.width,b.height);if(a||this.o.l&&!this.Zj())g.X(this.g).wc&&(a=this.od()?this.ia:this.ma,b.top+=a,b.height-=a),this.l&&(b.height-=this.l.o.od()?72:50);return b};
g.h.EN=function(a){var b=this.g.getRootNode();a?b.parentElement?(b.setAttribute("aria-label",g.T("YTP_PLAYER_FULLSCREEN")),b.parentElement.insertBefore(this.W.element,b),b.parentElement.insertBefore(this.R.element,b.nextSibling)):g.dE(Error("Player not in DOM.")):(b.setAttribute("aria-label",g.T("YTP_PLAYER_NORMAL")),g.JH(this.W),g.JH(this.R));this.xb();this.Gi()};
g.h.od=function(){return this.g.isFullscreen()||!1};
g.h.eo=function(a){this.ib=!a;this.gg()};
g.h.xb=function(){var a=this.od();this.D.C=a?1.5:1;g.S(this.H.element,"ytp-big-mode",a);this.gg();AY.prototype.xb.call(this)};
g.h.Gi=function(){AY.prototype.Gi.call(this);g.iV(this.g,this.ya.element,!!this.I);var a=this.Ca,b=!!this.I;a.D=b;g.iV(a.o,a.element,a.A&&b);this.da&&(a=this.da,b=!!this.I,a.F=b,g.iV(a.o,a.element,a.C&&b));if(!this.I)for(this.D.Si(this.A.element),a=0;a<this.Z.length;a++)b=this.Z[a],yY(b)&&b.Ob()};
g.h.Wo=function(a){this.l&&jta(this.l,this.Zj());this.gg();AY.prototype.Wo.call(this,a)};
g.h.nR=function(){XU(this.g)&&this.o.bc(128,!1)};
g.h.Ks=function(a,b){this.Y&&xsa(this.Y,a,b)};
g.h.hn=function(){return this.H.l?(this.H.Ob(),!0):this.F.length?(this.F[this.F.length-1].Ob(),!0):this.L?(this.L.Ob(),!0):AY.prototype.hn.call(this)};
g.h.aD=function(a,b){this.Jb=b;this.fn(a,b);this.HD()};
g.h.HD=function(){var a=this.Jb||yY(this.H);this.fa!=a&&(this.fa=a,this.g.ra("onAutonavPauseRequest",this.fa))};
g.h.bI=function(){u_(this,this.g.getRootNode(),!0).focus()};
g.h.cI=function(){u_(this,this.g.getRootNode(),!1).focus()};
g.h.co=function(){return this.l&&this.l.g};
g.h.Ms=function(){this.o.bc(2,!0)};g.p(g.v_,g.jV);g.v_.prototype.Lc=function(){return!1};
g.v_.prototype.init=function(){this.l=new t_(this.g);g.L(this,this.l);this.l.init();g.cV(this.g,"ux")};g.p(x_,g.K);x_.prototype.get=function(a){w_(this);var b=this.g.find(function(b){return b.key==a});
return b?b.value:null};
x_.prototype.set=function(a,b){this.remove(a,!0);w_(this);for(this.g.push({key:a,value:b,time:g.AG()});this.g.length>this.B;){var c=this.g.shift();this.l&&this.l(c.value)}};
x_.prototype.remove=function(a,b){if(b&&this.l){var c=this.g.find(function(b){return b.key==a});
if(c)this.l(c.value);else return}g.Wa(this.g,function(b){return b.key==a})};
x_.prototype.V=function(){var a=this;g.K.prototype.V.call(this);this.l&&this.g.forEach(function(b){a.l(b.value)})};g.wa(y_);var P_=g.x("ytPlayerUtilsVideoTagPoolInstance")||y_.getInstance();g.va("ytPlayerUtilsVideoTagPoolInstance",P_,void 0);g.h=y_.prototype;g.h.zx=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)yta(this)}};
g.h.mI=function(a,b){if(this.g.length)return this.g.pop();var c=yta(this,a,b);a||g.Va(this.g,c);return c};
g.h.QT=function(a){if(a&&g.Qa(this.l,a)){a.src&&(SI&&0<a.readyState&&(a.currentTime=Math.max(Cva,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.l&&(a.g&&a.g.dispose(),a.g=null));for(var b in HF)HF[b][0]==a&&g.LF(b);g.Va(this.l,a);g.Va(this.o,a)}};
g.h.mJ=function(a){return this.g.length>=(a||1)};
g.h.kH=function(){for(var a=this.o.length-1;0<=a;a--)A_(this,this.o[a]);this.g.length==this.l.length&&4<=this.g.length||(4>this.l.length?this.zx(4):(this.g=[],(0,g.B)(this.l,function(a){A_(this,a)},this)))};
y_.prototype.fillPool=y_.prototype.zx;y_.prototype.getTag=y_.prototype.mI;y_.prototype.releaseTag=y_.prototype.QT;y_.prototype.hasTags=y_.prototype.mJ;y_.prototype.activateTags=y_.prototype.kH;g.p(B_,g.K);B_.prototype.o=function(a){this.l=a[a.length-1].intersectionRatio};
B_.prototype.V=function(){g.K.prototype.V.call(this);this.l=null;this.g&&this.g.disconnect()};var voa=[{query:window.matchMedia("(max-width: 656px)"),size:new g.kd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.kd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.kd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.kd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.kd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),size:new g.kd(640,360)}];g.p(C_,g.U);g.h=C_.prototype;g.h.kJ=function(){this.H=new g.eh(0,0,0,0);this.A=new g.eh(0,0,0,0)};
g.h.po=function(a){g.Eq(this.element,arguments)};
g.h.hf=function(){if(this.o){var a=this.Ia();if(!a.isEmpty()){var b=!g.ld(a,g.ih(this.A)),c=Dta(this);b&&(this.A.width=a.width,this.A.height=a.height);a=this.app.g;(c||b||a.X)&&this.app.l.T("resize",this.Ia())}}};
g.h.FN=function(a,b){Bta(this,b)};
g.h.lJ=function(a){a.getVideoData()&&Bta(this,a.getVideoData())};
g.h.Ia=function(){var a=this.app.g,b=this.app.H.isFullscreen();if(b&&OE())return new g.kd(window.outerWidth,window.outerHeight);if(b||a.zd){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.kd(window.innerWidth,window.innerHeight)}else{if(!(0,window.isNaN)(this.B.width)&&!(0,window.isNaN)(this.B.height))return this.B.clone();if(this.Z&&this.X&&!this.app.isWidescreen())for(a=
0;a<this.Z.length;a++)if(b=this.Z[a],b.query.matches)return new g.kd(b.size.width,b.size.height)}return new g.kd(this.element.clientWidth,this.element.clientHeight)};
g.h.NI=function(){this.o&&vW(this);H_(this)!=this.L&&this.hf()};
g.h.GN=function(){vW(this)};
g.h.V=function(){this.I&&g.nG(this.I);Ata(this);g.U.prototype.V.call(this)};I_.prototype.click=function(a){var b=a.getAttribute("data-visual-id");g.Qa(this.g,a);g.Qa(this.l,b);g.fV(this,"onLogVeClicked",{id:b})};
I_.prototype.D=function(a){g.Qa(this.g,a);var b=a.getAttribute("data-visual-id");g.Va(this.g,a);g.Va(this.o,b);g.Va(this.l,b);a.removeAttribute("data-visual-id")};
I_.prototype.pause=function(){this.A=!0};
I_.prototype.resume=function(){this.A=!1;for(var a=g.la(this.B),b=a.next();!b.done;b=a.next())b=b.value,g.fV(this,b.type,b.data);this.B.length=0};g.p(J_,g.U);g.p(L_,g.U);g.h=L_.prototype;g.h.show=function(){g.U.prototype.show.call(this);this.At()};
g.h.hide=function(){g.U.prototype.hide.call(this);this.A.stop()};
g.h.stop=function(){this.A.stop()};
g.h.start=function(){this.A.isActive()||this.At()};
g.h.At=function(){var a=g.AG(),b=g.LU(this.o),c=this.o.getVideoData(),d=this.o.l,e=d.app.B.la(),f=this.o.g,k=b.Xq(),l=b.ea,m=8*LT(l,"bandwidth")/1024,n=LT(l,"networkactivity")/1024,q=LT(l,"bufferhealth");if(b.H){var r=b.H.g.g+"/"+oJ(jU(b));r=r+"/"+b.H.pg()}else r="";var u=g.ZM();d=g.SU(d).Oy;var C=c.Ka&&!c.Ka.g?"display:none":"",I;if((I=c.clientPlaybackNonce)&&16==I.length){for(var N=0,Z="",V=0;10>V;V++)if(N=(N<<6)+"ABCDEFGHIJLKMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(I.charAt(V)),
4==V%5){for(var Ga="",oa=0;6>oa;oa++)Ga="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(N&31)+Ga,N>>=5;Z+=Ga}I=Z.substr(0,4)+" "+Z.substr(4,4)+" "+(""+Z.substr(8,4))}else I="";k={video_id_and_cpn:c.videoId+" / "+I,codecs:"",dropped_frames:k.totalVideoFrames?""+(k.droppedVideoFrames||0)+"/"+k.totalVideoFrames:"-",stream_host:b.B?b.B.Ca:"",dimensions:e.clientWidth+"x"+e.clientHeight+(1<u?"*"+u:""),bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:q.toFixed(2)+" s",drm_style:r?"":"display:none",drm:r,
host_style:C,bandwidth_style:C,network_activity_style:C,network_activity_bytes:n.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none"};m=this.o.H.getVolume();f=YO(c,f);f=Math.round(m)+"% / "+Math.round(m*f)+"%";m=c.relativeLoudness.toFixed(1);(0,window.isFinite)(m)&&(f+=" (content loudness "+m+"dB)");k.volume=f;k.resolution=e.videoWidth+"x"+e.videoHeight;if(c.Ha){e=c.Ha.video.fps;1<e&&(k.resolution+="@"+e);(b=iU(b))&&b.video&&(k.resolution+=" / "+b.video.width+"x"+b.video.height,1<
b.video.fps&&(k.resolution+="@"+b.video.fps));k.codecs=Eta(c.Ha);if(b=c.Yb)b=c.Ha,b=!(b.audio&&b.video);b&&(k.codecs+=" / "+Eta(c.Yb));c.Ha.video.g||c.Ha.video.primaries?(b=c.Ha.video.g||"unknown","smpte2084"==b?b+=" (PQ)":"arib-std-b67"==b&&(b+=" (HLG)"),k.color=b+" / "+(c.Ha.video.primaries||"unknown"),k.color_style=""):k.color_style="display:none"}b=c.ua;k.live_latency_style=b?"":"display:none";k.live_mode_style=b?"":"display:none";if(b){b=LT(l,"livelatency");k.live_latency_secs=b.toFixed(2)+"s";
e=c.kc()?"Manifestless, ":"";f="Uncertain";if(0<=b&&120>b)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":f="Optimized for Normal Latency";break;case "LOW":f="Optimized for Low Latency";break;case "ULTRALOW":f="Optimized for Ultra Low Latency";break;default:f="Unknown Latency Setting"}else f=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";k.live_mode=e+f}K_(this.B,KT(l,"bandwidth"));K_(this.F,KT(l,"networkactivity"));K_(this.D,
KT(l,"livelatency"));K_(this.C,KT(l,"bufferhealth"));this.update(k);a=25<g.AG()-a?5E3:500;this.A.start(a)};g.p(M_,g.K);g.h=M_.prototype;g.h.ZO=function(){O_(this)||g.$_(this,5)};
g.h.yR=function(a){O_(this)||(cua(this),GP(a.A)&&VX(this))};
g.h.NK=function(){return this.g};
g.h.getVideoData=function(){return this.D.getVideoData()};
g.h.Td=function(){var a=this.A,b={};a.l&&g.Fa(b,a.l.tL());(a=this.A.B)&&g.Fa(b,a.Xs());b.fs=this.l.isFullscreen();b.volume=Math.round(this.H.getVolume());b.mos=this.H.isMuted()?1:0;if(this.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&this.g.g&&(this.ed&&(a=this.ed,a=null==a.l?null:Math.round(100*a.l)/100,null!=a&&(b.inview=a)),a=this.F.Ia(),0<a.height&&0<a.width)){a=[Math.round(a.height),Math.round(a.width)];var c=g.ZM();1<c&&a.push(c);b.size=a.join(":")}return b};
g.h.getCurrentTime=function(a){return 3==g.JU(this)?g.KU(this.A).getCurrentTime():(a=g.LU(this,a))?a.getCurrentTime():0};
g.h.getDuration=function(a){return(a=g.LU(this,a))?a.getDuration():0};
g.h.SK=function(a){switch(a.type){case "loadedmetadata":eO("fvb","")||this.I.g("fvb");fO("fvb");this.Pa.start();break;case "loadstart":eO("gv","")||this.I.g("gv");fO("gv");break;case "progress":case "timeupdate":!eO("l2s","")&&2<=CI(uP(a.target))&&this.I.g("l2s");break;case "playing":g.GH&&this.Pa.start();if(g.QM(this.g))a=!1;else{var b=this.A.o;a="none"==vh(this.B.g,"display")||0==g.Lh(this.B.g).Ue();var c=this.D.getVideoData();var d=this.g;c=!d.deviceHasDisplay||c.Tl&&d.ub;b=!H_(this.F)||b||c||
this.g.Jg;a=a&&!b}a&&(this.D.Ec("hidden","1",!0),this.getVideoData().sh||t0(this,"hidden",!0))}};
g.h.CQ=function(a,b){this.l.ra("onLoadProgress",b)};
g.h.DS=function(){this.l.T("playbackstalledatstart")};
g.h.TK=function(a,b){this.l.ra("onVideoProgress",b)};
g.h.VP=function(){this.l.ra("onDompaused")};
g.h.QK=function(){this.H.T("progresssync")};
g.h.bP=function(a){0<SP(a,1)&&!g.W(a.state,64)&&QX(this).ua&&pU(this.o)&&1<this.l.Rc()&&c0(this,1,!0);var b;if(b=0<SP(a,2))this.C&&(g.KM(this.g)||this.l.isFullscreen()&&!this.ya)&&g.p0(this)?(b=this.g.experiments.g("html5_player_autonav_logging"),q0(this,!1,b),b=!0):b=!1,b=!b;b&&(b=this.o.l)&&BF(b.g);g.W(a.state,128)&&(b=a.state,j0(this),b=b.g,this.l.ra("onError",pva[b.errorCode]||5),this.l.ra("onDetailedError",b),6048E5<g.AG()-this.g.vf&&this.l.ra("onReloadRequired"));a.state.gb()&&!g.NP(a.state)&&
!eO("pbresume","ad_to_video")&&eO("_start","ad_to_video")&&(b=this.getVideoData(),(0,g.JQ)("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&(0,g.JQ)("docid",b.videoId,"ad_to_video"),b.playbackId&&(0,g.JQ)("plid",b.playbackId,"ad_to_video"),(0,g.IQ)("pbresume",void 0,"ad_to_video"));this.l.T("applicationplayerstatechange",a)};
g.h.aC=function(a){3!=g.JU(this)&&this.l.T("presentingplayerstatechange",a)};
g.h.PK=function(a){b0(this,OP(a.state));g.W(a.state,1024)&&this.l.app.Y&&(UH(this,{muted:!1,volume:this.L.volume},!1),a0(this,!1))};
g.h.HR=function(a){a.state.gb()&&!g.NP(a.state)&&(Rra(this.A),g.$F(this.wc))};
g.h.YO=function(a){"newdata"==a&&Yta(this)};
g.h.dP=function(){this.l.ra("onPlaybackAudioChange",this.l.getAudioTrack().Nb.name)};
g.h.aT=function(a){var b=this.D.getVideoData();a==b&&this.l.ra("onPlaybackQualityChange",a.Ha.video.quality)};
g.h.Es=function(a,b,c){if("newdata"==a)dY(this.A),this.l.T("videoplayerreset",b);else{if(!this.B)return;if("dataloaded"==a)if(this.D==this.o){if(b.o.Dg(c.hc),!this.o.A.isError()){var d=O_(this),e=QX(this);if(!NO(e)||d||yO(this.o.g))e.Mb(),d&&g.$_(this,6),Pta(this),d||(e=this.A.B)&&!e.created&&this.A.g.getVideoData(1).adModule&&this.A.B.create();else if(this.g.experiments.g("html5_new_vis")?this.ca.isBackground():HT())BU(this.o,"app_none_avail");else{d=e.ua&&!g.fJ()?"html5.unsupportedlive":"fmt.noneavailable";
var f=+!!e.adaptiveFormats,k=+!!e.Rd,l=+(0<=e.hk.indexOf("itag=18")),m=+(0<=e.hk.indexOf("itag=43")),n=+V_('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),q=+V_('video/webm; codecs="vp8.0, vorbis"');f="nosupported.1;a."+f+";d."+k+";"+("f18."+l+";c18."+n+";f43."+m+";c43."+q);e.na&&(f+=";f133."+ +!!e.na.g["133"]+";f140."+ +!!e.na.g["140"]);g.ZT(this.o,d,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",f)}}}else Pta(this);if(1==b.getPlayerType()&&(this.g.I&&hua(this),this.getVideoData().ua&&!this.g.qm&&g.ZT(this.o,
"html5.unsupportedlive","YTP_DEVICE_FALLBACK",void 0),c.Mb())){if(c.Fo||c.zs||c.xe.focEnabled||c.xe.rmktEnabled||this.getVideoData().bw)e=this.getVideoData(),g0(this,"part2viewed",1,0x8000000000000),g0(this,"engagedview",Math.max(1,1E3*e.Ef),0x8000000000000),e.ua||(e=1E3*e.lengthSeconds,g0(this,"videoplaytime25",.25*e,e),g0(this,"videoplaytime50",.5*e,e),g0(this,"videoplaytime75",.75*e,e),g0(this,"videoplaytime100",e,0x8000000000000),g0(this,"conversionview",e,0x8000000000000));c.chapterMarkers.length&&
$ta(this)}this.l.T("videodatachange",a,c,b.getPlayerType())}this.g.ub&&this.l.ra("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;a&&c&&(b=this.da,a!=b.C&&(b.C=a,g.fV(b,"onScreenChanged",{csn:a,root_ve_type:c}),b.l.length&&g.fV(b,"onLogVesShown",{ids:b.l}),b.o=g.Ya(b.l)))};
g.h.Rm=function(){X_(this,null);this.l.ra("onPlaylistUpdate")};
g.h.fB=function(a){var b=a.getId(),c=QX(this);if("part2viewed"==b)c.nC&&g.YE(c.nC),c.zs&&g.YE(c.zs);else if("conversionview"==b){var d=this.o;d.C&&BQ(d.C)}else"engagedview"==b&&g.YE(c.Fo);if(c.Go){d=c.Go;var e={label:a.getId()};if(this.g.experiments.g("send_pyv_ad_mt_and_abandon_pings")){var f=1E3*this.getCurrentTime();e.ad_mt=Math.round(Math.max(0,f)).toString()}d=g.zE(d,e);g.YE(d)}switch(b){case "videoplaytime25":c.pz&&g.YE(c.pz);c.pC&&g.YE(c.pC);break;case "videoplaytime50":c.qz&&g.YE(c.qz);c.qC&&
g.YE(c.qC);break;case "videoplaytime75":c.rz&&g.YE(c.rz);c.rC&&g.YE(c.rC);break;case "videoplaytime100":c.oz&&g.YE(c.oz),c.oC&&g.YE(c.oC)}(b=this.getVideoData().bw)&&b[a.getId()]&&(c=b[a.getId()],g.YE(c,void 0,vH(c)||wH(c)||uH(c)),b=b[a.getId()+"gaia"],g.YE(b,void 0,vH(b)||wH(b)||uH(b)));this.o.I.C(a)};
g.h.isPeggedToLive=function(a){return pU(this.o,void 0,void 0===a?!1:a)};
g.h.RK=function(a,b){var c=a.getVideoData();if(1==this.N||2==this.N)c.startSeconds=b;2==this.N?Z_(this):this.l.T("seekto",b)};
g.h.QO=function(){this.l.T("airplayactivechange")};
g.h.RO=function(){this.l.T("airplayavailabilitychange")};
g.h.kP=function(){this.l.T("beginseeking")};
g.h.aQ=function(){this.l.T("endseeking")};
g.h.RR=function(){i0(this,this.Kc.playerVars,this.Kc.playerType)};
g.h.Nt=function(){var a=this.C.Wb(),b=this.getVideoData();b.Il||!this.ea?(b=b.ah,a=h0(this,a),b&&k0(this,a)):a&&l0(this,a);this.l.ra("onPlaylistUpdate")};
g.h.WO=function(a){this.l.ra("onCueRangeEnter",a.getId())};
g.h.XO=function(a){this.l.ra("onCueRangeExit",a.getId())};
g.h.aP=function(){this.ia||(this.ia=LN(this.pB,this));KQ(this.I,this.D.getVideoData(),Nra(this))};
g.h.uQ=function(){this.H.T("internalAbandon")};
g.h.pB=function(a){a=a.g;if(!(0,window.isNaN)(a)&&0<a&&this.o){var b=this.o;b.C&&0<a&&(b.C.l.l.aft=[a])}};
g.h.YQ=function(){this.Et()};
g.h.ZQ=function(){this.Et()};
g.h.Et=function(){this.g.ub&&this.D?this.l.ra("onApiChange",this.D.getPlayerType()):this.l.ra("onApiChange")};
g.h.UQ=function(){var a={volume:g.cd(Math.floor(100*this.B.getVolume()),0,100),muted:this.B.g.muted};a.muted||a0(this,!1);this.L=g.cc(a);this.l.ra("onVolumeChange",a)};
g.h.jQ=function(){var a=g.AF();s0(this,a==this.F.element?1:0);dua(this,!!a&&g.Qd(this.F.element,a))};
g.h.isFullscreen=function(){return this.g.experiments.g("html5_new_vis")?this.ca.isFullscreen():this.g.ib};
g.h.fS=function(){2!=this.Ma&&s0(this,g.AF()==this.F.element?1:0);this.g.Dh&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.B&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&BF(this.B.g)};
g.h.BQ=function(a){3!=g.JU(this)&&this.l.T("liveviewshift",a)};
g.h.isWidescreen=function(){return this.Pb};
g.h.eS=function(a){var b=g.F_(this.F);g.gh(this.zd,b)||(this.zd=b,this.D&&sU(this.D,"r"),this.o&&this.o!=this.D&&sU(this.o,"r"),1==this.Ma&&this.za&&dua(this,!0));this.Jb&&g.ld(this.Jb,a)||(this.l.T("appresize",a),this.Jb=a)};
g.h.bd=function(){return this.H.bd()};
g.h.xS=function(){t0(this,"signature")};
g.h.gR=function(){R_(this);Q_(this)};
g.h.IP=function(){this.l.ra("CONNECTION_ISSUE")};
g.h.OK=function(a){this.l.T("heartbeatparams",a)};
g.h.mR=function(){var a=g.LU(this);a&&g.kpa(a,!XU(this.l))};
g.h.EQ=function(){this.l.ra("onLoadedMetadata")};
g.h.XP=function(){this.l.ra("onDrmOutputRestricted")};
g.h.V=function(){this.xd&&this.A.dispose();this.Kc=null;this.o.dispose();R_(this);g.df(g.Qb(this.Mc),this.C);g.KN(this.ia);this.ia=0;g.K.prototype.V.call(this)};
var v1={};g.va("yt.player.Application.create",function(a,b){try{var c=g.v(a)?a:"player"+g.Da(a);if(v1[c]){try{v1[c].dispose()}catch(e){g.dE(e)}v1[c]=null}var d=new M_(a,b);g.bf(d,function(){v1[c]=null});
return v1[c]=d}catch(e){throw g.dE(e),e.stack;}},void 0);
var Hva=g.x("ytcsi.tick");Hva&&Hva("pe");})(_yt_player);
