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,$a,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,uc,vc,yc,zc,Bc,Cc,Ec,Gc,Lc,Jc,Nc,Oc,Qc,Eaa,Vc,Faa,Uc,Xc,Yc,ed,id,yd,Cd,Dd,Ed,Kd,Od,Td,Vd,Wd,Yd,Laa,md,Paa,me,ne,le,he,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,ij,Kba,jj,kj,Lba,Mba,lj,mj,nj,oj,Nba,Oba,pj,qj,rj,sj,xj,zj,Aj,Cj,Bj,Dj,Fj,Gj,Hj,Ij,bca,Kj,Ej,Lj,Mj,
Nj,Oj,Pj,Rj,Tj,Uj,Vj,Wj,Xj,Qj,Sj,cca,Yj,Zj,ak,bk,dca,ck,eca,fca,gca,lca,dk,mca,ek,fk,nca,oca,gk,hk,pca,ik,kk,mk,qca,rca,nk,qk,tca,vca,sk,uca,wca,tk,xca,yca,rk,uk,zca,Cca,Bca,Dca,vk,wk,xk,zk,Eca,Ek,Fk,Fca,Gk,Gca,Hk,Ik,Jk,Hca,Kk,Ica,Lk,Mk,Nk,Jca,Ok,Qk,Rk,Kca,Sk,Tk,Uk,Lca,Wk,Vk,Mca,Yk,Xk,$k,Zk,Pca,Rca,Qca,bl,Sca,Tca,Uca,Wca,Vca,cl,Xca,el,fl,gl,hl,jl,Zca,ll,Yca,ml,ada,nl,ol,kl,bda,ql,pl,cda,dda,$ca,eda,rl,fda,sl,ul,wl,xl,tl,Al,yl,Cl,hda,ida,Dl,El,Fl,Gl,jda,Hl,nda,kda,mda,Il,Jl,Kl,Ll,Ml,oda,pda,qda,rda,
sda,tda,uda,vda,wda,xda,Nl,Ol,yda,zda,Sl,Tl,Ql,Vl,Wl,Ada,Bda,Dda,Cda,Eda,Yl,Fda,Hda,Ida,$l,am,bm,fm,Nda,Jda,jm,km,lm,mm,nm,Pk,Oda,om,pm,qm,Pda,sm,tm,um,Qda,Rda,Sda,Tda,Uda,vm,Xda,xm,wm,ym,zm,Am,Yda,Zda,Bm,Fm,Gm,Em,Hm,Im,$da,Om,Pm,Rm,cea,Um,Wm,Ym,Xm,aea,an,$m,dn,cn,fn,dea,gn,kn,ln,mn,nn,on,fea,gea,qn,hea,rn,sn,pn,iea,tn,un,vn,wn,jea,kea,mea,An,Bn,nea,oea,xn,lea,yn,Dn,En,Cn,qea,Gn,Fn,sea,In,Hn,Jn,Kn,Mn,On,Ln,Qn,vea,Rn,Tn,Un,Vn,Wn,Sn,Xn,Yn,Zn,ao,eo,fo,io,lo,go,no,po,qo,ro,so,to,uo,vo,wo,xo,Bo,Do,Co,
Eo,Fo,Go,Jo,xea,Io,Ko,Lo,Mo,Oo,Po,Qo,Ro,yea,zea,So,To,Wo,Zo,Yo,Eea,ap,Vo,bp,Fea,dp,cp,Gea,ep,gp,Hea,ip,hp,jp,kp,lp,Iea,mp,np,op,pp,qp,rp,up,vp,wp,xp,yp,zp,O,Ep,Fp,Jea,P,Jp,Nea,Lp,Rp,Sp,Up,Ip,Qp,Op,Tea,Uea,Vea,Wea,Vp,Wp,Xp,Yp,$p,aq,Zp,Xea,dq,eq,fq,gq,Yea,hq,iq,jq,kq,mq,lq,oq,pq,Zea,$ea,qq,tq,rq,sq,uq,vq,bfa,cfa,wq,xq,dfa,yq,Gq,ffa,Iq,Jq,Kq,Lq,hfa,Mq,Sq,Tq,Nq,Uq,Vq,lfa,Oq,kfa,Pq,Qq,Rq,jfa,br,cr,dr,hr,ofa,pfa,ir,rfa,sfa,kr,vfa,mr,qfa,nr,or,pr,qr,wfa,rr,sr,tr,xfa,vr,wr,xr,yr,yfa,Ar,zr,zfa,ur,Br,Xo,Cr,
Dr,Afa,Bfa,Cfa,Dfa,Er,Efa,Hr,Lr,Or,Pr,cq,bq,Ffa,Gfa,Hfa,Qr,Ifa,Rr,Jfa,Kfa,Lfa,Mfa,Nfa,Ofa,Pfa,Sr,Ur,Tr,Vr,Qfa,Rfa,Sfa,Tfa,Xr,Vfa,Zr,bs,Xfa,es,gs,ds,is,js,ks,ls,ms,ns,os,ps,qs,rs,vs,$fa,us,ts,ws,xs,ys,zs,Bs,Zq,aga,Js,Ks,Ls,Ms,Cs,gga,Ns,Os,Ps,Qs,ar,Ts,Vs,Wq,Ws,Xs,Ys,Yq,Xq,Us,Zs,$s,at,bt,ct,dt,et,jga,kga,iga,lga,Ss,mga,lt,oga,mt,As,nt,ot,pt,qt,pga,Gs,Rs,kt,rt,tt,ut,jt,$q,Fs,wt,Is,xt,zt,Ds,Hs,it,hga,At,Bt,Ct,rga,Dt,sga,Et,Ft,Gt,It,Jt,Kt,vga,Lt,Mt,Nt,Ot,Pt,Qt,Rt,St,Ut,Vt,Wt,Tt,Xt,Yt,Zt,$t,au,cu,yga,Aga,
Cga,bu,Dga,Ega,Fga,eu,du,fu,hu,iu,ou,nu,pu,qu,Gga,wu,xu,zu,yu,Au,Bu,Cu,Du,Eu,Hga,Hu,Iga,Iu,Ju,Ku,Lu,Gu,Fu,Jga,Mu,Nu,Ou,Kga,Pu,Qu,Lga,Ru,Su,Tu,Uu,Vu,Wu,Mga,Yu,Zu,Nga,av,bv,Oga,fv,gv,hv,iv,jv,kv,lv,mv,Pga,nv,ov,pv,rv,qv,Qga,tv,uv,vv,wv,Rga,xv,yv,Tga,Sga,zv,Av,Bv,Cv,Dv,Ev,Gv,Hv,Iv,Jv,Kv,Lv,Mv,Nv,Ov,Pv,Yr,Qv,Uga,Sv,Tv,Uv,Vv,Wv,Rv,Xv,Yv,Zv,gt,Fr,Nr,ft,ht,ew,$r,Mr,dw,Jr,Gr,Ir,Kr,gw,as,cw,jw,kw,mw,Vga,nw,ow,pw,qw,rw,tw,uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Wga,Dw,Ew,Fw,Gw,Hw,Iw,Xga,Jw,Kw,Lw,Mw,Nw,Ow,Qw,Rw,Zga,Sw,$ga,
Yga,bha,Tw,cha,Vw,Pw,aha,gha,fha,eha,Uw,Ww,Xw,Yw,$w,ax,bx,cx,dx,ex,fx,gx,hx,ix,kx,mx,nx,ox,lx,sx,hha,iha,vx,tx,zx,ux,Ax,yx,kha,lha,Cx,Dx,Hx,Ex,Gx,Fx,Kx,Lx,Jx,Mx,oha,Nx,pha,qha,Ox,Px,Qx,Sx,rha,Rx,Vx,Tx,sha,tha,uha,Wx,Xx,Yx,Zx,$x,ay,by,cy,dy,ey,fy,gy,hy,iy,jy,ky,yha,xha,my,ly,zha,py,Aha,qy,ry,Bha,sy,wha,ty,wy,Dha,Cha,yy,vy,By,Fha,Cy,Gha,Dy,zy,Ey,Fy,Gy,Iha,Jha,Hy,Iy,Kha,Jy,oy,Lha,Ky,Ly,ny,Mha,My,Ny,Oy,Py,Nha,Qy,Ry,Sy,Uy,Vy,Ty,Rha,Oha,Pha,Xy,$y,az,Zy,Yy,Wy,bz,dz,ez,gz,iz,fz,jz,kz,Uha,mz,lz,nz,Vha,Wha,
oz,pz,qz,rz,sz,tz,uz,vz,wz,Yha,xz,$ha,Dz,yz,zz,Az,Kz,Ez,Gz,Fz,Nz,Iz,Hz,Lz,Jz,bia,Cz,Bz,Oz,cia,Pz,Zha,Qz,Rz,Sz,eia,Tz,Wz,Xz,Zz,Yz,$z,aA,bA,gia,fia,hia,dA,iia,jia,eA,fA,cA,kia,gA,hA,lia,iA,mia,nia,oia,pia,jA,kA,lA,nA,oA,pA,mA,rA,qia,ria,qA,sA,tA,uA,vA,wA,sia,xA,AA,CA,BA,DA,EA,FA,HA,GA,JA,IA,KA,tia,OA,PA,QA,RA,SA,TA,UA,VA,WA,XA,YA,$A,aB,ZA,bB,cB,dB,uia,eB,via,hB,iB,fB,gB,kB,oB,lB,mB,jB,nB,wia,pB,qB,rB,sB,uB,tB,xia,wB,vB,zia,Aia,yia,xB,Bia,Cia,Dia,Eia,yB,Gia,Hia,Iia,jr,Jia,Kia,BB,Mia,CB,DB,EB,FB,GB,HB,
IB,JB,LB,MB,NB,TB,SB,XB,YB,QB,ZB,$B,aC,bC,PB,RB,UB,dC,Tia,eC,Uia,fC,gC,hC,iC,jC,kC,Via,lC,Wia,Xia,mC,Yia,Zia,nC,oC,$ia,bja,cja,pC,dja,rC,tC,hja,qC,ija,uC,Lia,vC,kja,lja,wC,mja,nja,yC,BC,oja,DC,CC,EC,pja,aia,FC,GC,JC,KC,LC,MC,NC,rja,OC,PC,QC,RC,HC,tja,uja,UC,vja,VC,WC,XC,TC,YC,SC,ZC,wja,Mz,yja,hz,xja,$C,aD,bD,cD,dD,zja,eD,Aja,iD,jD,kD,lD,Bja,oD,pD,qD,rD,tD,uD,vD,wD,xD,zD,AD,BD,CD,Dja,DD,Gja,HD,ID,Hja,KD,LD,ND,PD,RD,QD,SD,MD,OD,VD,UD,WD,XD,Jja,YD,Kja,cE,dE,Lja,kE,mE,oE,zE,AE,Mja,Nja,CE,DE,Oja,HE,Pja,
Qja,FE,ME,OE,PE,QE,RE,SE,TE,UE,LE,VE,KE,XE,YE,Rja,aF,$E,cF,dF,eF,gF,fF,Tja,jF,kF,mF,lF,nF,oF,Uja,pF,vF,wF,zF,AF,Vja,xF,BF,CF,DF,EF,Xja,Yja,LF,MF,NF,SF,VF,XF,bG,$F,dG,cG,fG,aka,sG,tG,qG,dka,DG,BG,GG,JG,IG,HG,eka,RG,TG,SG,fka,ZG,$G,gka,kH,lH,mH,nH,pH,oH,qH,rH,sH,tH,uH,vH,yH,zH,AH,BH,CH,FH,GH,PH,NH,QH,OH,RH,TH,UH,VH,XH,aI,bI,qka,eI,fI,gI,cI,jI,iI,kI,lI,nI,oI,qI,rI,sI,ska,tI,uI,vI,wI,tka,xI,yI,zI,AI,uka,BI,CI,DI,EI,FI,HI,vka,KI,zka,VI,LI,UI,Aka,XI,YI,ZI,$I,aJ,bJ,dJ,eJ,fJ,gJ,iJ,jJ,kJ,lJ,Cka,mJ,nJ,oJ,pJ,
qJ,rJ,sJ,tJ,uJ,Dka,wJ,zJ,Eka,vJ,DJ,EJ,BJ,yJ,FJ,GJ,AJ,CJ,HJ,IJ,JJ,Fka,LJ,MJ,OJ,NJ,Gka,PJ,QJ,RJ,Hka,TJ,SJ,UJ,VJ,WJ,XJ,YJ,cK,eK,Ika,$J,fK,hK,gK,dK,kK,Jka,lK,ZJ,aK,bK,jK,iK,mK,nK,oK,pK,qK,rK,sK,Kka,Lka,uK,xK,yK,AK,wK,Mka,BK,CK,DK,EK,Nka,Oka,FK,Pka,HK,GK,JK,LK,MK,NK,PK,Qka,QK,RK,SK,TK,VK,UK,WK,XK,Rka,YK,ZK,$K,aL,bL,Ska,Tka,Xka,Yka,Uka,Vka,Wka,dL,fL,Zka,gL,jL,kL,lL,$ka,nL,bla,ala,oL,dla,pL,sL,fla,gla,tL,uL,hla,vL,wL,ila,xL,yL,jla,kla,zL,qL,ela,lla,CL,EL,FL,HL,IL,DL,KL,LL,ML,mla,RL,tla,QL,PL,SL,ula,UL,wla,
yla,xla,zla,Ala,VL,XL,WL,YL,Bla,$L,aM,bM,cM,dM,eM,ZL,fM,gM,hM,iM,jM,kM,lM,mM,oM,pM,qM,GM,HM,IM,JM,KM,Ila,LM,NM,yM,EM,RM,Jla,xM,wM,TM,CM,VM,Kla,WM,Lla,Mla,XM,Nla,YM,ZM,$M,aN,Ola,bN,eN,gN,iN,hN,jN,fN,kN,lN,Qla,nN,Sla,oN,zN,rN,Tla,BN,Ula,CN,DN,GN,LN,QN,RN,IN,TN,UN,SN,XN,YN,KN,bO,HN,JN,dO,Zla,$la,PN,MN,VN,NN,eO,EN,ZN,FN,bma,ON,aO,fO,dma,lO,mO,lma,nO,oO,qO,rO,mma,uO,wO,xO,AO,BO,tO,nma,fma,gma,hma,ema,EO,FO,pma,HO,IO,JO,KO,LO,MO,kO,jma,NO,OO,QO,SO,TO,UO,qma,VO,XO,ZO,PO,aP,bP,cP,dP,eP,fP,gP,hP,iP,lP,mP,
sma,jP,oP,pP,qP,rP,sP,tP,tma,uP,vP,vma,yP,AP,BP,CP,DP,zP,HP,uma,LP,NP,QP,PP,RP,SP,xma,TP,OP,UP,VP,yma,XP,WP,ZP,$P,qQ,rQ,sQ,vQ,wQ,uQ,tQ,xQ,yQ,zQ,AQ,DQ,FQ,Ama,KQ,LQ,MQ,NQ,Bma,Cma,IQ,OQ,PQ,QQ,RQ,Dma,SQ,TQ,VQ,XQ,ZQ,YQ,$Q,aR,bR,WQ,UQ,Ema,dR,eR,fR,gR,hR,iR,jR,kR,lR,cR,Fma,Gma,Hma,Ima,mR,nR,pR,oR,qR,rR,sR,tR,yR,wR,xR,zR,BR,uR,AR,vR,CR,DR,Kma,ER,FR,GR,IR,JR,HR,LR,MR,KR,OR,Lma,NR,PR,QR,Mma,RR,Nma,SR,TR,UR,VR,Pma,Qma,WR,XR,YR,Oma,ZR,aS,$R,cS,bS,dS,eS,gS,fS,jS,kS,mS,nS,iS,oS,pS,hS,qS,rS,sS,tS,lS,uS,vS,wS,Rma,
Sma,zS,yS,Tma,xS,AS,Uma,Vma,Wma,GS,HS,IS,ES,FS,BS,Xma,CS,DS,Yma,JS,Zma,$ma,ana,KS,LS,MS,bna,NS,cna,RS,OS,QS,PS,dna,SS,ena,TS,US,VS,WS,XS,fna,gna,hna,YS,$S,aT,bT,ina,eT,gT,kna,lna,hT,mna,nna,qna,ona,rna,una,tna,vna,pna,kT,sna,wna,fT,jna,yna,xna,zna,ZS,lT,jT,mT,dT,Ana,Bna,Cna,Dna,Ena,Fna,Gna,Hna,nT,oT,pT,Jna,Ina,Kna,qT,rT,Lna,Nna,Ona,tT,sT,Pna,Qna,Rna,Sna,Tna,Una,Vna,Wna,uT,vT,wT,Zna,Yna,yT,xT,aoa,boa,$na,coa,doa,zT,eoa,goa,hoa,ioa,BT,CT,kP,nP,IP,DT,ET,loa,GT,koa,moa,noa,ooa,HT,poa,FT,qoa,joa,IT,soa,
toa,roa,JT,KT,LT,MT,NT,OT,QT,RT,ZT,zoa,TT,aU,bU,VT,cU,eU,dU,PT,yoa,Aoa,jU,iU,Coa,fU,nU,Eoa,mU,sU,Foa,Goa,kU,tU,Hoa,uoa,UT,oU,wU,Moa,pU,Noa,Ooa,Poa,hU,yU,gU,Qoa,Ioa,Koa,Joa,Loa,AU,Soa,BU,WT,Doa,Toa,zU,XT,Uoa,CU,rU,ST,Roa,uU,DU,qU,xU,EU,FU,IU,PU,YU,hV,Zoa,$oa,oV,bpa,apa,rV,qV,cpa,sV,dpa,tV,epa,fpa,gpa,ipa,jpa,lpa,mpa,npa,opa,ppa,qpa,rpa,AV,tpa,upa,vpa,wpa,xpa,zpa,Apa,Bpa,CV,EV,HV,IV,JV,KV,LV,Cpa,NV,MV,OV,QV,RV,Epa,SV,TV,Fpa,UV,VV,Gpa,Npa,Jpa,Kpa,Mpa,Lpa,Hpa,Ipa,Opa,ZV,$V,aW,Ppa,Qpa,Rpa,Tpa,Spa,fW,hW,
Upa,iW,Vpa,Zpa,$pa,jW,kW,aqa,bqa,mW,eqa,lW,nW,dqa,oW,cqa,fqa,gqa,pW,hqa,qW,iqa,sW,rW,tW,vW,xW,zW,AW,jqa,lqa,mqa,nqa,BW,CW,DW,EW,FW,GW,HW,oqa,pqa,IW,JW,qqa,KW,LW,MW,rqa,sqa,wqa,uqa,tqa,OW,vqa,PW,yqa,xqa,QW,zqa,RW,SW,Aqa,Bqa,Cqa,WW,XW,YW,Dqa,ZW,aX,Eqa,TW,$W,VW,UW,fX,gX,Fqa,cX,Gqa,eX,Hqa,Iqa,Jqa,Lqa,Kqa,Qqa,Nqa,Pqa,hX,Rqa,jX,kX,lX,mX,nX,Sqa,Tqa,oX,pX,qX,Uqa,rX,tX,sX,uX,Wqa,Vqa,Xqa,Yqa,Zqa,$qa,yX,zX,AX,ara,bra,BX,dra,CX,cra,DX,era,EX,FX,fra,gra,ira,hra,jra,GX,HX,kra,lra,mra,nra,pra,JX,KX,LX,IX,ora,MX,
vX,bX,rra,NX,OX,QX,XV,WV,dX,SX,TX,sra,UX,VX,ura,YV,vra,YX,wX,wra,aY,kqa,yW,bY,PX,eW,zra,yra,cY,Bra,eY,fY,Cra,gY,Dra,jY,kY,Era,Fra,iY,lY,nY,oY,Gra,Hra,Jra,pY,Ira,qY,Lra,Kra,rY,Mra,Nra,sY,tY,vY,uY,wY,Ora,Pra,yY,Qra,xY,zY,Rra,AY,BY,Tra,Sra,CY,EY,FY,Ura,Vra,HY,GY,JY,Wra,KY,Xra,$ra,PY,OY,asa,SY,TY,UY,VY,WY,XY,YY,csa,bsa,dsa,ZY,esa,fsa,$Y,hsa,bZ,gsa,cZ,isa,dZ,jsa,eZ,fZ,ksa,gZ,hZ,iZ,lsa,msa,jZ,kZ,lZ,mZ,nsa,nZ,oZ,pZ,osa,qZ,sZ,rZ,tZ,psa,uZ,vZ,wZ,xZ,qsa,tsa,yZ,rsa,ssa,zZ,vsa,wsa,xsa,BZ,Bsa,Asa,Csa,Dsa,Esa,
DZ,Fsa,Hsa,Gsa,Lsa,JZ,Msa,KZ,GZ,Osa,MZ,IZ,LZ,Jsa,Nsa,Psa,Ksa,NZ,QZ,RZ,SZ,Qsa,TZ,UZ,VZ,WZ,Rsa,XZ,Ssa,YZ,ZZ,$Z,a_,b_,c_,Tsa,d_,e_,f_,i_,h_,j_,k_,l_,Usa,Vsa,m_,Wsa,o_,Ysa,Zsa,r_,IY,ata,$sa,q_,bta,AZ,cta,eta,fta,dta,t_,gta,s_,u_,v_,w_,z_,y_,A_,ita,C_,D_,E_,jta,kta,lta,mta,F_,J_,wW,nta,K_,L_,M_,N_,ota,O_,qta,pta,wta,S_,T_,WX,P_,U_,tra,uW,xta,yta,V_,RX,zta,W_,tta,uta,Cta,Z_,Q_,Eta,c0,vta,d0,KU,e0,Hta,Y_,X_,g0,Jta,b0,$X,i0,Dta,h0,k0,m0,l0,n0,q0,Kta,f0,Ita,Lta,ZU,xra,SH,Mta,a0,Nta,s0,aV,XX,ZX,Ota,j0,Pta,
t0,Qta,Rta,sta,Gta,Fta,aa,fa,ea,aaa,ma,u0,wx,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.Z=b.prototype};
g.oa=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.Ga=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.Z=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.n3=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.Wa=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.Xa=function(a,b){var c=g.La(a,b,void 0);0<=c&&g.Ua(a,c)};
g.Ya=function(a){return Array.prototype.concat.apply([],arguments)};
g.Za=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[]};
$a=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.C=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.C(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.Sb=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.rc=function(a){return uaa(a,function(){return 0<=g.Ab(qc,a)})};
g.sc=function(a){return Number(vaa)>=a};
uc=function(){this.g="";this.l=tc};
vc=function(a){return a instanceof uc&&a.constructor===uc&&a.l===tc?a.g:"type_error:Const"};
g.xc=function(a){var b=new uc;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.Ge():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.Ge():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 uc)a=vc(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).Ge();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.Pr&&(b=a.g());a=g.rb(a.rg?a.Ge():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 uc)m=vc(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).Ge();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+
m+'" given.');}m.rg&&(m=m.Ge());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){vc(a);vc(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.gd=function(a){return a*Math.PI/180};
g.hd=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.hd(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.Ge());"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.xd=function(a){a=a.document;a=g.vd(a)?a.documentElement:a.body;return new g.kd(a.clientWidth,a.clientHeight)};
g.Ad=function(a){var b=yd(a);a=a.parentWindow||a.defaultView;return g.zd&&g.rc("10")&&a.pageYOffset!=b.scrollTop?new g.hd(b.scrollLeft,b.scrollTop):new g.hd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
yd=function(a){return a.scrollingElement?a.scrollingElement:!g.Bd&&g.vd(a)?a.documentElement:a.body||a.documentElement};
Cd=function(a){return a?a.parentWindow||a.defaultView:window};
g.J=function(a,b,c){return Dd(window.document,arguments)};
Dd=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&&Ed(a,c,b,2);return c};
Ed=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.Za(f):f,e)}};
g.Fd=function(a){return window.document.createElement(String(a))};
g.Gd=function(a){return window.document.createTextNode(String(a))};
g.vd=function(a){return"CSS1Compat"==a.compatMode};
g.Hd=function(a,b){a.appendChild(b)};
g.Id=function(a,b){Ed(g.nd(a),a,arguments,1)};
g.Jd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
Kd=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.Ld=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.Nd=function(a){return Maa&&void 0!=a.children?a.children:(0,g.Md)(a.childNodes,function(a){return 1==a.nodeType})};
g.Pd=function(a){return g.t(a.firstElementChild)?a.firstElementChild:Od(a.firstChild)};
Od=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.Qd=function(a){var b;if(Naa&&!(g.zd&&g.rc("9")&&!g.rc("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.Sd=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};
Td=function(a){try{return a.contentWindow||(a.contentDocument?Cd(a.contentDocument):null)}catch(b){}return null};
g.Ud=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.Jd(a);var c=g.nd(a);a.appendChild(c.createTextNode(String(b)))}};
Vd=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.Zd=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Wd(a)||Yd(a)):Wd(a)&&Yd(a))&&g.zd){var c;!g.Aa(a.getBoundingClientRect)||g.zd&&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};
Wd=function(a){return g.zd&&!g.rc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Yd=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.ae=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.$d(a,function(a){return(!e||a.nodeName==e)&&(!c||g.v(a.className)&&g.Qa(a.className.split(/\s+/),c))},!0,d)};
g.be=function(a,b){return g.ae(a,null,b,void 0)};
g.$d=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.ce=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.de=function(a){a=a.g;return a.parentWindow||a.defaultView};
g.ee=function(a){Oaa();return Ec(a)};
g.fe=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.ge=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);he();for(var c=b?ie: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.C(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
he();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))}};
he=function(){if(!je){je={};oe={};ie={};for(var a=0;65>a;a++)je[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),oe[je[a]]=a,ie[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.ge(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)&&!(Ce&&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(Ce&&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=Cd(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.K=function(){this.Ab=this.Ab;this.ib=this.ib};
g.L=function(a,b){g.bf(a,g.Ea(g.cf,b))};
g.bf=function(a,b){a.Ab?g.t(void 0)?b.call(void 0):b():(a.ib||(a.ib=[]),a.ib.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.zi=!1;this.yC=!0};
ff=function(a){a.stopPropagation()};
hf=function(a){return g.Bd?"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.Gf=e;this.key=++Waa;this.Rj=this.Km=!1};
mf=function(a){a.Rj=!0;a.listener=null;a.g=null;a.src=null;a.Gf=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.Wa(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.Gf==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.Ae,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.Gf||a.src;a.Km&&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.zi&&0<=k;k--){d.currentTarget=c[k];var l=Ef(c[k],f,!0,d);e=e&&l}for(k=0;!d.zi&&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.Ae=new nf(this);this.Jb=this;this.Ba=null};
Hf=function(a,b,c,d){b=a.Ae.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.Gf||k.src;k.Km&&of(a.Ae,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.yC};
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.pw;c.pw=null;a()}};
return function(a){d.next={pw: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.eq=(0,g.z)(this.Tc,this);this.ks=(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.Jg=function(a){return a?(0,window.decodeURI)(a):a};
g.Kg=function(a){return g.Jg(g.Hg(a)[3]||null)};
g.Lg=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.hd?(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.hd(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.Bd?"Webkit":g.uh?"Moz":g.zd?"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.hd){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.hd(a.offsetLeft,a.offsetTop)};
Bh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.zd&&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.zd&&!g.sc(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=yd(c.g);a=g.Ch(a);)if(!(g.zd&&0==a.clientWidth||g.Bd&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.xh(a,"overflow")){var k=g.Dh(a),l=new g.hd(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.xd(g.de(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.hd(0,0);var d=b?g.nd(b):window.document;d=!g.zd||g.sc(9)||g.vd(g.pd(d).g)?d.documentElement:d.body;if(a==d)return c;a=Bh(a);b=g.Ad(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.hd(0,0),d=Cd(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.hd(c.x-d.x,c.y-d.y)};
Fh=function(a){a=Bh(a);return new g.hd(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.hd(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.Bd&&!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.zd){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.zd&&!g.sc(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(Cd(),"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=Cd().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=Cd().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=Cd().top;"2"==n&&(m=Cd());k=Wh(e,m);qh(d,new mh("er",k));try{var q=m.document&&!m.document.body?null:g.xd(m||window)}catch(r){q=null}q?(m=g.Ad(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(Cd(),"ima","video","client","crossdomainTag")&&ah(this.g,4);g.Tb(Cd(),"ima","video","client","sdkTag")&&ah(this.g,8);g.Tb(Cd(),"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(Cd(),"ima","video","client"),c.getEData)){this.l=c.getEData();if(c=g.Tb(Cd(),"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 D=r.g[u];if(D instanceof lh)D.getValue()&&(f|=D.A);else{var I,S=r.g[u];(I=S.o?S.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.Wa(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.xd(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.Zr){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.Zr=!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.ed=b;this.Zr=!!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};
ij=function(a){gj.e=-1;gj.i=6;gj.n=7;gj.t=8;if(!hj){var b=[];$h(gj,function(a,c){b[a+1]=c});
var c=b.join(""),d=a&&a[c];hj=d&&function(b,c){return d.call(a,b,c)}}return hj};
Kba=function(){var a=g.J("DIV");a.style.cssText="position:relative;left:0px;top:0px;width:0;height:0;";return a};
jj=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")?jj(g.Qd(a),b,c,d):{done:e,value:d}};
kj=function(a,b,c,d){if(!a)return d;d=jj(a,b,c,d);if(!d.done)try{var e=g.nd(a),f=e&&Cd(e);return kj(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
Lba=function(a){var b=!g.zd||g.rc(8);return kj(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 kj(a,function(a,c){return!(!oc(c,"style")||!c.style||"none"!==vh(c,"display"))},function(a){return a},!1)?!0:Lba(a)};
lj=function(a){return new g.bh(a.top,a.right,a.bottom,a.left)};
mj=function(a){return null!=a&&0<=a&&1>=a};
nj=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)}};
oj=function(a,b){return null===a||null===b?new g.bh(0,0,0,0):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))};
Nba=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.Qd(a)||a){var d=g.nd(a),e=d&&Cd(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
Oba=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=ij(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)&&Nba(b,a);d=a===c;a=!d&&a&&g.$d(a,function(a){return a===c});
return!(b||d||a)};
pj=function(a,b,c,d){return 0>=a.Bb()||0>=a.getHeight()?!0:c&&d?$i(208,function(){return Oba(a,b,c)}):!1};
qj=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};
rj=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};
sj=function(){return(0,g.F)()-Pba};
xj=function(a){var b=0<=tj?sj()-tj:-1,c=uj?sj()-vj:-1,d=0<=wj?sj()-wj:-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};
zj=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.Kg(a[a.length-1].url)||"":"";this.A=this.I=this.C=this.l=null;this.L=0;this.o=!1;this.B=null;this.H=0;this.ub="geo";this.qb=new ti;si(ri(ui(this.qb,"nio_mode",Qba)),Rba);ui(this.qb,"omid",yj);ui(this.qb,"mraid_race",yj);ri(ui(this.qb,"osd",yj));si(ri(ui(this.qb,"rafv",yj)),Sba);si(ri(ui(this.qb,"rafx",yj)),Tba);si(ri(ui(this.qb,"umt",yj)),Uba);si(ri(ui(this.qb,
"gmpd",yj)),Vba);si(ri(ui(this.qb,"sel",yj)),Wba);si(ri(ui(this.qb,"spna",yj)),Xba);si(ri(ui(this.qb,"ujs",yj)),Yba);si(ri(ui(this.qb,"cll",Zba)),$ba);ri(ui(this.qb,"inapp",aca));this.K=-1};
Aj=function(a){this.l=a;this.o=0;this.g=null};
Cj=function(){return!Bj()&&(Jb("iPod")||Jb("iPhone")||Jb("Android")||Jb("IEMobile"))};
Bj=function(){return Jb("iPad")||Jb("Android")&&!Jb("Mobile")||Jb("Silk")};
Dj=function(a,b,c){this.ed=a;this.name=b;this.A=[];this.I=!1;this.g=new qj(-1,new g.kd(0,0),new g.kd(0,0),!0,this);this.l=this;this.F=this.B=c;this.aa=Bj()||Cj();this.D=!1;this.W=null;this.K=this.R=!1;this.Y="uk";this.X=!1};
Fj=function(a,b){a.K||(a.K=!0,a.Y=b,a.F=0,a.Zo(),a.l==a&&(a.B=0,Ej(a)))};
Gj=function(a,b){g.Qa(a.A,b)||(a.A.push(b),b.Yh(a.l),b.Xg(a.g),b.Ag()&&(a.D=!0))};
Hj=function(a,b){g.Wa(a.A,b);a.D&&b.Ag()&&bca(a)};
Ij=function(a){var b=sj(),c=oi(!0,a.ed,a.aa),d=oi(!1,a.ed,a.aa);a.W||(a.W=nj(c,a.ed));var e=fj();var f=1===e;e=0===e;f=(zj.getInstance(),f||e);return new qj(b,c,d,f,a)};
bca=function(a){a.D=a.A.length?(0,g.Jj)(a.A,function(a){return a.Ag()}):!1};
Kj=function(a){var b=g.Za(a.A);(0,g.B)(b,function(b){b.Xg(a.g)})};
Ej=function(a){var b=g.Za(a.A);(0,g.B)(b,function(b){b.Yh(a.l)});
a.l!=a||Kj(a)};
Lj=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&&Kj(a)};
Mj=function(a,b,c,d){this.element=a;this.A=this.g=b;this.qb=c;this.H=d;this.F=!1;this.o=new rj(b.g,this.element,new g.bh(0,0,0,0),null,this.Ik(),0,0)};
Nj=function(a){this.B=!1;this.g=a};
Oj=function(){this.l=this.o=this.A=this.g=0};
Pj=function(){this.l=[1,.75,.5,.3,0];this.g=(0,g.G)(this.l,function(){return new Oj})};
Rj=function(a,b){return Qj(a,function(a){return a.g},void 0===b?!0:b)};
Tj=function(a,b){return Sj(a,b,function(a){return a.g})};
Uj=function(a){return Qj(a,function(a){return a.o},!0)};
Vj=function(a,b){return Sj(a,b,function(a){return a.o})};
Wj=function(a,b){return Sj(a,b,function(a){return a.l})};
Xj=function(a){(0,g.B)(a.g,function(a){a.l=0})};
Qj=function(a,b,c){a=(0,g.G)(a.g,function(a){return b(a)});
return c?a:cca(a)};
Sj=function(a,b,c){var d=g.Na(a.l,function(a){return b<=a});
return-1==d?0:c(a.g[d])};
cca=function(a){return(0,g.G)(a,function(a,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
Yj=function(){this.g=new Pj;this.W=new Oj;this.L=this.D=-1;this.aa=1E3};
Zj=function(a,b){this.l=null;this.C=a;this.D=b||1};
ak=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.hd(e,f),new g.hd(c-e,f),new g.hd(e,d-f),new g.hd(c-e,d-f)]):[new g.hd(e,0),new g.hd(0,f),new g.hd(e,d-1),new g.hd(c-1,f)];case 3:return[new g.hd(c-1,0),new g.hd(e,f),new g.hd(0,d-1)];default:return[new g.hd(e,f)]}};
bk=function(a,b){if(void 0===b)try{b=a.l.getBoundingClientRect()}catch(d){b=new g.bh(0,0,0,0)}var c=ak(a,b);(0,g.B)(c,function(a){a.x+=b.left;a.y+=b.top});
return c};
dca=function(a,b,c){this.snapshot=a;this.l=b;this.g=c};
ck=function(a,b){Zj.call(this,a,b);this.g=[];this.B=!1;this.A=0;this.o=-1};
eca=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=ak(a,c);Kd(b,l,0);(0,g.B)(c,function(a){var b=new dk(e);k.push(b);var c;if(c=f)if(b.g){b.g.style.position="absolute";ek(b,a);a=!0;try{l.appendChild(b.g)}catch(r){a=!1}c=a}else c=!1;f=c})}else c=bk(a,c),(0,g.B)(c,function(a){var c=new dk(e);
k.push(c);var d;if(d=f)if(c.g&&b.parentNode){c.g.style.position="fixed";ek(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};
fca=function(a){if(a.l&&a.B){var b=bk(a);(0,g.B)(b,function(a,b){this.g[b]&&ek(this.g[b],a)},a)}};
gca=function(a){(0,g.B)(a.g,function(a){a.remove()});
a.g=[]};
lca=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?hca[d]:ica[d]:3==a.g.length?jca[d]:1==a.g.length?kca[d]:-1;c=new dca(d,a.o,c);a.o=d;a.A=b;fca(a);return c};
dk=function(a){this.g=null;this.o=this.l=0;mca(this,a)};
mca=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)}))};
ek=function(a,b){a.g&&!id(b,Ah(a.g))&&g.zh(a.g,b)};
fk=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 fk(a.oc,a.g,a.l+b)};
gk=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};
hk=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))})};
ik=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};
kk=function(a){a.l&&(g.ib(a.g,function(a,c){return gk(c,a)?1:gk(a,c)?-1:0}),a.l=!1);
return jk(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},"")};
mk=function(a){this.g=new hk;void 0!==a&&pca(this.g,a);this.g.add("avv",lk,-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)};
nk=function(a){a=a.toString();a=a.substring(0,2E3);var b=li()||gi;fi(b,a)};
qk=function(a,b,c){this.position=ok.clone();this.te=0;this.ts=this.zn();this.os=-2;this.AU=(0,g.F)();this.pD=-1;this.ki=b;this.Ph=-1!=b;this.Rl=this.OA=null;this.opacity=-1;this.cu=c;this.AD=this.us=g.y;this.ng=this.element=a;this.Bi=null;this.Cu=this.bh=!1;this.Fq=1;this.mu=!0;this.Kf=!1;zj.getInstance().L++;this.domain=null;this.gs=0;this.tc=this.Rq();this.nD=-1;this.wr=0;this.Ap=new g.bh(0,0,0,0);a=this.qb=new ti;ui(a,"od",sca);ri(ui(a,"opac",yj));ui(a,"ud",yj);ri(ui(a,"mkm",yj));ri(ui(a,"xza",
yj));ui(a,"lom",yj);ri(ui(a,"mraid_race",yj));if(a=this.element&&this.element.getAttribute)a=this.element,a=/-[a-z]/.test("googleAvInapp")?!1:g.pk&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+g.Fb("googleAvInapp")):!!a.getAttribute("data-"+g.Fb("googleAvInapp"));a&&vi(zj.getInstance().qb,"inapp",1);1==this.cu?vi(this.qb,"od",1):vi(this.qb,"od",0)};
tca=function(a,b,c,d,e){if(a.Ph){var f=gi.innerWidth,k=gi.innerHeight,l=new g.bh(Math.round(gi.mozInnerScreenY),Math.round(gi.mozInnerScreenX+f),Math.round(gi.mozInnerScreenY+k),Math.round(gi.mozInnerScreenX));c=new g.bh(gi.screenY+d,gi.screenX+c.width,gi.screenY+c.height,gi.screenX);e||(d=new g.bh(l.top-c.top,l.right-c.left,l.bottom-c.top,l.left-c.left),d.top>a.position.top?a.position=d:(a.position.right=a.position.left+f,a.position.bottom=a.position.top+k),a.te=f*k);a.Eg(l,c,b,e,!0,!0)}};
vca=function(a,b,c){if(a.Ph){var d=ij(gi&&gi.document);if(d){c||rk(a,gi,!0);if(a.tg()||a.Cu){var e=uca(a,d);d=!0}else e=g.Ad(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.Eg(a.position,e,b,c,!0,d)}}};
sk=function(a,b,c){if(c(b))return b;for(;;){var d=Math.floor((a+b)/2);if(d==a||d==b)return a;c(d)?a=d:b=d}};
uca=function(a,b){var c=g.Ad(window.document),d=a.Fq,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=sk(f,l,function(a){return!!b(e,a)}),k=sk(e,k,function(a){return!!b(a,f)});
else if(n)l=sk(f,l,function(a){return!!b(k,a)}),e=sk(k,e,function(a){return!!b(a,f)});
else if(q)f=sk(l,f,function(a){return!!b(e,a)}),k=sk(e,k,function(a){return!!b(a,l)});
else if(m)f=sk(l,f,function(a){return!!b(k,a)}),e=sk(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=sk(u,f,function(a){return!!b(r,a)});
l=sk(u,l,function(a){return!!b(r,a)});
e=sk(r,e,function(a){return!!b(a,u)});
k=sk(r,k,function(a){return!!b(a,u)})}return(l-f)*(k-e)/c};
wca=function(a,b,c,d,e){a.Ph&&(d||rk(a,gi,e),a.Eg(a.position,c,b,d,!1,!0))};
tk=function(a,b,c){if(a.Ph){var d=c?a.tc.g:a.gs;a.Ap&&!ch(a.Ap,new g.bh(0,0,0,0))&&(d=dh(a.Ap.clone(),a.position.left,a.position.top));a.Eg(a.position,d,b,c,!0,!0)}};
xca=function(a,b){var c=b.create(a.ng,a.qb,a);null!=c&&c.oz();c&&(a.ub=c)};
yca=function(a,b,c){if(a.Ph&&a.ub){var d=li(),e=zj.getInstance();rk(a,d,e.g);a.ub.hq();d=a.ub.o;e=d.D.g;var f=!(!d.A&&!e);if(null!=d.o&&e){var k=d.g;a.OA=new g.hd(k.left-e.left,k.top-e.top);a.Rl=new g.kd(e.right-e.left,e.bottom-e.top)}a.Eg(a.position,d.l,b,c,!0,f)}};
rk=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=ok.clone(),f=new g.hd(0,0);if(a.ng){var k=1==a.cu;!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=ok.clone()}}a.te=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
uk=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
zca=function(a){a.ub&&a.ub.zs()};
Cca=function(a,b){var c=!1,d=a.ng;b.document&&b.document.body&&12==a.cu&&(d=b.document.body);if(null===d)return!1;$i(152,function(){var e=new b.IntersectionObserver(function(c){try{vk(b,c,a)}catch(k){try{e.unobserve(d),bj("osd_adblock::nioc",k)}catch(l){}}},Aca);
e.observe(d);Bca(d);c=!0});
return c};
Bca=function(a){if(a&&(a=a.style)){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
Dca=function(a,b){var c=!1;$i(151,function(){var d=ei(b).observeIntersection(function(c){try{vk(b,c,a)}catch(f){try{d(),bj("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
vk=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=lj(d.boundingClientRect),e=lj(d.intersectionRect),c.tc.g=g.cd(d.intersectionRect.width*d.intersectionRect.height/(d.boundingClientRect.width*d.boundingClientRect.height),0,1),c.gs=c.tc.g,rk(c,a,!0,b),a=oj(b,e),c.Ap=0>=c.te||a.top>=a.bottom||a.left>=a.right?new g.bh(0,0,0,0):dh(a,-b.left,-b.top)};
wk=function(a,b,c,d){if(d=void 0===d?g.y:d)a.AD=d;switch(c){case "nio":return Cca(a,b);case "aio":return Dca(a,b);case "raf":return a.ku();case "geo":case "xde":case "iem":return!0}return!1};
xk=function(){};
zk=function(a){if(a instanceof xk)return a;if("function"==typeof a.Md)return a.Md(!1);if(g.za(a)){var b=0,c=new xk;c.next=function(){for(;;){if(b>=a.length)throw yk;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.Ak=function(a,b,c){if(g.za(a))try{(0,g.B)(a,b,c)}catch(d){if(d!==yk)throw d;}else{a=zk(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==yk)throw d;}}};
Eca=function(a){if(g.za(a))return g.Za(a);a=zk(a);var b=[];g.Ak(a,function(a){b.push(a)});
return b};
Ek=function(a){var b=g.Bk&&0<=g.Ab(g.Ck,9),c=g.Dk&&g.rc(601);return!(void 0===a?0:a)&&(b||c)};
Fk=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{ed:c,level:b}};
Fca=function(){this.S={}};
Gk=function(){this.A=this.g=this.o=this.l=this.B=0};
Gca=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};
Hk=function(){pi.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.A=-1};
Ik=function(a){return mj(a.volume)&&.1<=a.volume};
Jk=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};
Hca=function(a){return Kk(a,g.Sb(a.l))};
Kk=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};
Ica=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};
Lk=function(){this.g=this.l=0};
Mk=function(){Yj.call(this);this.l=new Oj;this.R=this.H=this.K=0;this.F=-1;this.ca=new Oj;this.B=new Oj;this.o=new Pj;this.C=this.A=-1;this.I=new Oj;this.aa=2E3;this.N=new Lk;this.X=new Lk;this.Y=new Lk};
Nk=function(a,b,c){var d=a.R;uj||c||-1==a.F||(d+=b-a.F);return d};
Jca=function(){this.g=!1};
Ok=function(a,b){this.g=!1;this.C=a;this.F=b;this.o=0};
Qk=function(a,b){if(a.B(b)){var c=Pk(a.F,a.C,b);a.o|=c;return 0==c}return!1};
Rk=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;qk.call(this,b,c,d);this.X=0;this.B={};this.Fc=new Jk;this.lz={};this.sd="";this.rh=null;this.jb=!1;this.o=[];this.jl=e;this.D=f;this.C=void 0;this.A=-1;this.ib=this.I=void 0;this.aa=!1;this.K=this.L=0;this.W=-1;this.fa=this.Ca=!1;this.ik=this.Ya=0;this.oa=!1;this.Na=this.Qa=-1;this.R=this.F=this.g=0;this.ob=this.da=-1;this.Ta=0;this.Ma=new Pj;this.Y=this.pa=this.ca=0;this.Ab=-1;this.Ba=0;this.H=!1;this.ea=null;this.Dc=0;this.za=!1;this.la=
g.y;this.N=[this.zn()];this.Cu=!0;this.Fq=2;b=zj.getInstance();rk(this,a,b.g);this.Ii={};this.Ii.pause="p";this.Ii.resume="r";this.Ii.skip="s";this.Ii.mute="m";this.Ii.unmute="um";this.Ii.exitfullscreen="ef";this.l=null};
Kca=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.Cd().F=b)};
Sk=function(a){return g.t(a)?Number(a)?uk(a,3):0:a};
Tk=function(a,b){var c;null!=b&&b<a.N.length?c=b:c=a.N.length-1;return a.N[c]};
Uk=function(a){var b=!!wi(zj.getInstance().qb,"umt");return(!a.I||0<a.A)&&(b||a.ib)?1:0};
Lca=function(a,b){(0,g.Jj)(a.D,function(a){return a.A()&&a.l()==b.l()})||a.D.push(b)};
Wk=function(a,b,c){return 15E3<=b?!0:a.Ca?(void 0===c?0:c)?!0:Vk(a.A)?b>=a.A/2:Vk(a.W)?b>=a.W:!1:!1};
Vk=function(a){return 1==wi(zj.getInstance().qb,"gmpd")?0<a:-1!=a};
Mca=function(a){var b={},c=zj.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.l;null!=a.l&&(b.presenceData=a.l);return b};
Yk=function(a,b){Xk(a.o,b,function(){return{WU:0,Qn:void 0}});
a.o[b]={viewableArea:uk(a.tc.g,2),instantaneousState:a.Fc.o}};
Xk=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
$k=function(a,b,c){var d=a.lz[b];if(null!=d)return d;g.Qa(Nca,b)?d=!0:(d=a.B[b],g.t(d)?(a.B[b]=!0,d=!d):d=!1);c=Zk(a,d,d,c,Oca[b]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Kk(a.Fc,["gdr"]));return c};
Zk=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.WU|0}),l=zj.getInstance(),m=a.Cd(),n={};
n["if"]=l.g?1:void 0;n.sdk=a.C?a.C:void 0;n.t=a.AU;n.p=[f.top,f.left,f.bottom,f.right];n.tos=Rj(m.g,!1);n.mtos=Uj(m.g);n.mcvt=m.W.o;n.ps=void 0;n.pt=k;f=Nk(m,sj(),2==a.Dc);n.vht=f;n.mut=m.ca.o;n.a=Sk(a.tc.volume);n.mv=Sk(m.C);n.fs=a.Kf?1:0;n.ft=m.I.g;n.at=m.B.g;n.as=.1<=m.A?1:0;n.atos=Rj(m.o);n.amtos=Uj(m.o);n.uac=a.Ya;n.vpt=m.l.g;"nio"==l.ub&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=Wk(a,m.l.g,!0)?1:0;a.Cu&&(n.efpf=a.Fq);0<a.Ba&&(n.nnut=a.Ba);n.tcm=Uk(a);n.nmt=a.pa;n.bt=a.Y;n.pst=a.Ab;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].Qn);2<=a.o.length&&(n.i1=a.o[1].Qn);3<=a.o.length&&(n.i2=a.o[2].Qn);4<=a.o.length&&(n.i3=a.o[3].Qn);n.cs=Ica(a.Fc);b&&(n.ic=Hca(a.Fc),n.dvpt=m.l.l,n.dvs=Wj(m.g,.5),n.dfvs=Wj(m.g,1),n.davs=Wj(m.o,.5),n.dafvs=Wj(m.o,1),c&&(m.l.l=0,Xj(m.g),Xj(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.l&&(n.bs=[l.l.width,l.l.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.Za(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.Md)(a.D,function(a){return a.A()}),function(a){return a.l()});
a.g&&(n.vmer=a.g);a.F&&(n.vmmk=a.F);a.R&&(n.vmiec=a.R);n.avms=a.ub?a.ub.Le():zj.getInstance().ub;a.ub&&g.fc(n,a.ub.Cf());"exc"==l.ub&&(n.femt=a.da,n.femvt=a.ob,n.emc=a.Ta,n.emb=Rj(a.Ma,!1),n.emuc=a.ca,n.avms="exc");d?(n.c=uk(a.tc.g,2),n.ss=uk(Pca(a),2)):n.tth=sj()-al;n.mc=uk(m.L,2);n.nc=uk(m.D,2);n.mv=Sk(m.C);n.nv=Sk(m.A);n.lte=uk(a.os,2);d=Tk(a,e);Uj(m.g);n.qmtos=Uj(d.g);n.qnc=uk(d.D,2);n.qmv=Sk(d.C);n.qnv=Sk(d.A);n.qas=.1<=d.A?1:0;n.qi=a.sd;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.qb);l.length&&(n.veid=l);a.l&&g.fc(n,Gca(a.l));return n};
Pca=function(a){if(a.Kf)return 1;var b=gi.screen.width*gi.screen.height;return 0>=b?-1:Math.min(a.te*a.tc.g/b,1)};
Rca=function(){this.g={};var a=Cd();bl(this,a,window.document);var b=Qca();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)bl(this,c,c.document);bl(this,a.top,a.top.document)}}catch(d){}};
Qca=function(){var a=window.document.documentElement;try{if(!Zh(Cd().top))return"2";var b=[],c=Cd(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"}};
bl=function(a,b,c){cj(c,"mousedown",function(){return Sca(a)},301);
cj(b,"scroll",function(){return Tca(a)},302);
cj(c,"touchmove",function(){return Uca(a)},303);
cj(c,"mousemove",function(){return Vca(a)},304);
cj(c,"keydown",function(){return Wca(a)},305)};
Sca=function(a){g.Kb(a.g,function(a){1E5<a.o||++a.o})};
Tca=function(a){g.Kb(a.g,function(a){1E5<a.g||++a.g})};
Uca=function(a){g.Kb(a.g,function(a){1E5<a.g||++a.g})};
Wca=function(a){g.Kb(a.g,function(a){1E5<a.l||++a.l})};
Vca=function(a){g.Kb(a.g,function(a){1E5<a.A||++a.A})};
cl=function(){this.g=this.l=null};
Xca=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.Ei()&&a.init(c)});
return null!=a.g};
g.dl=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.kI,this);this.g=[]};
el=function(a){a.va=g.vg(a.l,a.ad);a.o.apply(null,a.g)};
fl=function(){this.g=this.A=null;this.o=0;this.l=null};
gl=function(){this.g=[];this.l=[];this.done=!1;this.o={l3:0,eH:0,BC:0,IH:0,dK:-1};this.I=this.B=this.F=this.C=this.H=null;this.L=!1;this.N=null;this.D=0;this.K=Bj()||Cj();this.A=new Aj(this)};
hl=function(){var a=zj.getInstance().ub;return"nio"==a||"aio"==a};
jl=function(){var a=il;if(!a.L){a.L=!0;var b=g.w.requestAnimationFrame||g.w.webkitRequestAnimationFrame||g.w.mozRequestAnimationFrame||g.w.oRequestAnimationFrame||g.w.msRequestAnimationFrame;if(!a.H&&!hl()){if(b){var c=aj(136,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.jr.apply(a,g.oa(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.jr.apply(a,g.oa(c))};
d=aj(137,d);a.C=new g.dl(d,100);a.H=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.oa(c))},138)}if(!a.F&&!hl()){if(b){var e=aj(139,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.ez.apply(a,g.oa(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.ez.apply(a,g.oa(c))};
d=aj(140,d);a.B=new g.dl(d,100);a.F=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.oa(c))},141)}Yca(a,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.by.apply(a,g.oa(c))});
a.by()}};
Zca=function(a){var b=zj.getInstance();b.o||"exc"==b.ub||kl(a,!0);var c=new fl;switch(b.ub){case "xde":var d=a.D;kl(a,!1);a=zj.getInstance();var e=a.I,f=e.height-d;0>=f&&(f=e.height,d=0);a.l=new g.kd(e.width,f);f=new fl;f.A=a.l;f.g=e;f.o=d;return f;case "geo":a:{b=b.l;c=new fl;c.A=b;if(null!=b&&-12245933!=b.width&&-12245933!=b.height){var k=zj.getInstance();if(k.o)d=k.B;else try{k=gi;e=a.K;k=k.top;f=b||oi(!0,k,void 0===e?!1:e);var l=g.Ad(g.pd(k.document).g);if(-12245933==f.width){var m=f.width;var n=
new g.bh(m,m,m,m)}else n=new g.bh(l.y,l.x+f.width,l.y+f.height,l.x);d=n}catch(q){a=c;break a}c.l=d}a=c}return a;default:return c}};
ll=function(a,b,c,d){if(!a.done){a.A.cancel();var e=zj.getInstance(),f=!!wi(e.qb,"spna");if(0==b.length)f||c||a.A.schedule();else{a.N=null;f=Zca(a);try{var k=sj();zj.getInstance().K=k;if(null!=cl.getInstance().g)for(d=0;d<b.length;d++)yca(b[d],k,c);else switch(e.ub){case "exc":for(d=0;d<b.length;d++)tk(b[d],k,c);break;case "nis":for(e=0;e<b.length;e++)g.t(d)?b[e].rp(d):b[e].dz(k);break;case "gsv":for(e=0;e<b.length;e++)g.t(d)?b[e].Vx(d):b[e].bz(k);break;case "aio":case "nio":for(d=0;d<b.length;d++)tk(b[d],
k,c);break;case "xde":if(f.g)for(d=0;d<b.length;d++)tca(b[d],k,f.g,f.o,c);break;case "iem":for(d=0;d<b.length;d++)vca(b[d],k,c);break;case "raf":(0,g.B)(b,function(a){if(c)a.Bi&&(a.Bi.o=3,a.tc.g=0);else if(a.Bi){var b=lca(a.Bi),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[b.snapshot+1];a.tc.g=d[b.l+1];a.Eg(a.position,e,a.ki+b.g,!1,!0,!1);a.eh()&&1!=a.He()&&!a.mu&&a.Bi&&gca(a.Bi)}});
break;case "geo":if(f.l)for(d=0;d<b.length;d++)wca(b[d],k,f.l,c,e.g)}for(d=0;d<b.length;d++);a.o.BC+=sj()-k;++a.o.IH}finally{c?(0,g.B)(b,function(a){a.tc.g=0}):a.A.schedule()}}}};
Yca=function(a,b){var c;ki.visibilityState?c="visibilitychange":ki.mozVisibilityState?c="mozvisibilitychange":ki.webkitVisibilityState&&(c="webkitvisibilitychange");c&&(a.I=a.I||cj(ki,c,b,142))};
ml=function(a){if($ca(a))return!0;var b=fj();a=1===b;b=0===b;return zj.getInstance(),a||b};
ada=function(a,b){return null!=b&&(0,g.Jj)(a.g,function(a){return a.element==b})};
nl=function(a){return g.Ma(il.g,function(b){return b.sd==a})};
ol=function(a){return 0==a.g.length?a.l:0==a.l.length?a.g:g.Ya(a.l,a.g)};
kl=function(a,b){var c=a.K,d=zj.getInstance(),e,f=cl.getInstance();null!=f.g&&(e=f.g.g);d.l=e?e.g.l:d.o?d.B?(new g.kd(d.B.Bb(),d.B.getHeight())).round():new g.kd(0,0):oi(!0,gi,c);b||(d.I=gi&&gi.outerWidth?new g.kd(gi.outerWidth,gi.outerHeight):new g.kd(-12245933,-12245933),d.A=nj(d.l))};
bda=function(){var a=zj.getInstance();gi.screen&&(a.C=new g.kd(gi.screen.width,gi.screen.height))};
ql=function(a,b){var c=pl(b,"raf",ol(a));c&&(zj.getInstance().ub="raf");return c};
pl=function(a,b,c){var d=void 0===d?g.y:d;var e=!1;(0,g.B)(c,function(c){wk(c,a,b,d)&&(e=!0)});
return e};
cda=function(a){var b=il,c=[];(0,g.B)(a,function(a){ada(b,a.element)||(b.g.push(a),c.push(a))})};
dda=function(a){var b=il,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))})};
$ca=function(a){return(0,g.Jj)(ol(a),function(a){return a.Kf})};
eda=function(){var a=g.Ib;return a?(0,g.Jj)("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};
rl=function(){return ub(g.Ib,"CrKey")||ub(g.Ib,"PlayStation")||ub(g.Ib,"Roku")||eda()||ub(g.Ib,"Xbox")};
fda=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("&")};
sl=function(a){return function(b){return!g.t(b[a])&&g.t(0)?0:b[a]}};
ul=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)?tl(c,a):c}}};
wl=function(a,b){return function(c){c=c[a];if(g.ya(c))return tl(c,b)}};
xl=function(a){var b=gda;return function(c){return b(c)?c[a]:void 0}};
tl=function(a,b){return(0,g.Md)(a,function(a,d){return g.Qa(b,d)})};
Al=function(a,b){var c={sv:"650",cb:"j"};c.nas=il.g.length;c.msg=a;if(g.t(b)){var d=yl(b);d&&(c.e=zl[d])}return c};
yl=function(a){var b=a.toLowerCase();return Wb(Bl,function(a){return a==b})};
Cl=function(a,b){Ok.call(this,a,b)};
hda=function(){this.l=this.A=this.C=this.B=this.o=this.g=""};
ida=function(){};
Dl=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=kk(ik(new hk,qca(f)));0<a.length&&g.t(d)&&g.t(e)&&(e=e(a),a+="&"+d+"="+e);return a};
El=function(){};
Fl=function(a,b,c,d){Mj.call(this,a,b,c,d);this.l=new g.bh(0,0,0,0)};
Gl=function(a){a=jda(a);Nj.call(this,a.length?a[a.length-1]:null);this.o=a;this.A=g.y;this.l=null};
jda=function(a){if(!a.length)return[];a=(0,g.Md)(a,function(a){return null!=a&&a.Ei()});
for(var b=1;b<a.length;b++)Gj(a[b-1],a[b]);return a};
Hl=function(a,b,c,d){Mj.call(this,a,b,c,d);this.C=this.B=this.l=null;this.D=!1};
nda=function(a){if(!a.element)return!1;var b=a.element;a.l=new a.g.ed.IntersectionObserver(function(b){try{if(b.length){a.B||(a.B=sj());var c=kda(b),e=lj(c.boundingClientRect),f=dh(lj(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 rj(a.g.g,a.element,e,f,a.Ik(),m,b?n/b:
0);if(!a.D){a.D=!0;try{var r=new hk,u=a.element.getBoundingClientRect(),D=Ij(a.g).g,I=D.right-D.left,S=D.bottom-D.top,Z=Math.min(u.left,0),V=Math.min(u.top,0),Fa=u.left-Z,pa=u.top-V;e={};var wc=(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.min(I-Fa,u.width+Z),e.geoInterRectHeight=Math.min(S-pa,u.height+V),e.geoInterRectX=Fa,e.geoInterRectY=pa,e);ik(r,wc);var wd=new mk(r);nk(wd)}catch(Va){}}}}catch(Va){a.zs(),bj(299,Va)}},lda);
a.l.observe(b);mda(b);return!0};
kda=function(a){return jk(a,function(a,c){return a.time>c.time?a:c},a[0])};
mda=function(a){if(a=a.style){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
Il=function(a){Nj.call(this,new Dj(a,"nio",2))};
Jl=function(){Dj.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};
Kl=function(a){var b=0;a=a.ed;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};
Ll=function(a){a.ed.clearInterval(a.L);a.L=0};
Ml=function(a,b){var c=Kl(a),d=!c;d&&(c=a.ed.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.ed.postMessage(b,"*")}catch(e){}};
oda=function(a,b){(0,g.B)(a.o,function(a){a.B(b)})};
pda=function(a,b){(0,g.B)(a.o,function(a){a.A(b)})};
qda=function(a,b){(0,g.B)(a.o,function(a){a.o(b)})};
rda=function(a,b){(0,g.B)(a.o,function(a){a.H(b)})};
sda=function(a,b){(0,g.B)(a.o,function(a){a.l(b)})};
tda=function(a,b,c){(0,g.B)(a.o,function(a){a.C(b,c)})};
uda=function(a){(0,g.B)(a.o,function(a){a.g()})};
vda=function(a,b){(0,g.B)(a.o,function(a){a.F(b)})};
wda=function(a){(0,g.B)(a.o,function(a){a.D()})};
xda=function(a,b){(0,g.B)(a.fa,function(a){a(b)})};
Nl=function(){this.A=this.H=!1;this.o=null;this.l=new El;this.g=null;var a={};this.I=(a.start=this.bJ,a.firstquartile=this.WI,a.midpoint=this.YI,a.thirdquartile=this.cJ,a.complete=this.TI,a.pause=this.Qt,a.resume=this.xC,a.skip=this.aJ,a.viewable_impression=this.Ug,a.mute=this.gk,a.unmute=this.gk,a.fullscreen=this.XI,a.exitfullscreen=this.VI,a.fully_viewable_audible_half_duration_impression=this.Ug,a.measurable_impression=this.Ug,a.abandon=this.Qt,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.Qt,a.bufferfinish=this.xC,a);a={};this.K=(a.overlay_resize=this.ZI,a.abandon=this.sr,a.close=this.sr,a.collapse=this.sr,a.overlay_unmeasurable_impression=function(a){return $k(a,"overlay_unmeasurable_impression",ml(il))},a.overlay_viewable_immediate_impression=function(a){return $k(a,"overlay_viewable_immediate_impression",ml(il))},a.overlay_unviewable_impression=function(a){return $k(a,"overlay_unviewable_impression",
ml(il))},a.overlay_viewable_end_of_session_impression=function(a){return $k(a,"overlay_viewable_end_of_session_impression",ml(il))},a);
zj.getInstance().H=3};
Ol=function(a,b,c,d){b=a.Jo(null,d,!0,b);b.C=c;b.us=function(b){a.pr(b)};
cda([b]);return b};
yda=function(){var a=[],b=zj.getInstance();wi(b.qb,"osd")&&b.g&&b.o&&"exc"!=b.ub&&(zj.getInstance().o=!1,a.push(Jl.getInstance()));return[new Il(gi),new Gl(a)]};
zda=function(a){if(!a.H){a.H=!0;try{var b=sj(),c=zj.getInstance();tj=b;Pl=Fk(gi).ed;kl(il,!1);bda();if("nis"!=c.ub&&"gsv"!=c.ub)if(gi.document.body&&gi.document.body.getBoundingClientRect){il.o.eH=0;il.o.dK=sj()-b;var d=yda(),e=cl.getInstance();e.l=d;if(Xca(e,function(){c.o=!1;Ql()}))il.done||(jl(),Gj(e.g.g,a));
else if(!c.g&&Ek()&&ql(il,gi))jl();else if(c.g&&"exc"!=c.ub){var f=!!wi(c.qb,"osd");if(c.o&&!f){var k=Jl.getInstance();k.initialize();Gj(k,a)}else Ql()}else jl()}else Rl=!0}catch(l){throw il.reset(),l;}}};
Sl=function(a){var b=zj.getInstance();if(null==a.o)switch(b.ub){case "nis":a.o="n";break;case "gsv":a.o="m";break;default:a.o="h"}return a.o};
Tl=function(a,b,c){if(null==a.g)return b.ik|=4,!1;a=Pk(a.g,c,b);b.ik|=a;return 0==a};
Ql=function(){a:{var a=il;if(void 0===b){var b=zj.getInstance().qb;var c=[];0===(wi(b,"nio_mode")||0)&&c.push(a.EU);c.push(a.FU,a.DU,a.CU);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?jl():(il.A.cancel(),Ul="i",il.done=!0)};
Vl=function(a,b,c){if(!b.jb){var d=$k(b,"start",ml(il));a=a.l.g(d).g;d=Pl||gi;var e=[];e.push("v=650v");e.push("r="+c);e.push(a);e.push(fda(d));nk("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&"));b.jb=!0}};
Wl=function(a,b,c,d){ll(il,[a],!ml(il),d);Yk(a,c);4!=c&&Xk(a.N,c,a.zn);return $k(a,b,ml(il))};
Ada=function(a,b,c){if(0==b.Dc){"i"!=Ul&&(il.done=!1);var d=cl.getInstance();null!=d.g&&xca(b,d.g);wk(b,gi,zj.getInstance().ub,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.SI.apply(a,g.oa(c))});
d=g.t(c)?c.opt_nativeTime:void 0;wj=d=g.ua(d)?d:sj();b.Ph=!0;var e=ml(il);Kca(b,d,e);ll(il,[b],!e,c)}};
Bda=function(a,b){if(g.v(b)){if(1==a)var c=il.g;else if(2==a)c=il.l;else return;var d=g.La(c,function(c){return c.He()!=a?!1:c.sd==b});
0<=d&&(zca(c[d]),g.Ua(c,d))}};
Dda=function(a,b,c,d){var e=g.Ma(il.g,function(a){return a.element==c});
null!==e&&e.sd!=b&&(a.Zm(e),e=null);e||(e=Cda(a,c,b),e.C=Sl(a),d&&(e.rh=d));return e};
Cda=function(a,b,c){b=a.Jo(b,sj(),!1,c);b.us=(0,g.z)(a.pr,a);0==il.l.length&&(zj.getInstance().F=79463069);dda([b]);jl();return b};
Eda=function(a,b){b.F=0;for(var c in Xl)null==a[c]&&(b.F|=Xl[c]);Yl(a,"currentTime");Yl(a,"duration")};
Yl=function(a,b){var c=a[b];g.t(c)&&(a[b]=Math.floor(1E3*c))};
Fda=function(){this.g=void 0;this.l=!1;this.o=0;this.A=-1;this.B="tos"};
Hda=function(a){try{var b=a.split(",");return b.length>g.Sb(Gda).length?null:jk(b,function(a,b){var c=b.toLowerCase().split("=");if(2!=c.length||!g.t(Zl[c[0]])||!Zl[c[0]](c[1]))throw Error("Entry ("+c[0]+", "+c[1]+") is invalid.");a[c[0]]=c[1];return a},{})}catch(c){return null}};
Ida=function(a,b){if(void 0==a.g)return 0;switch(a.B){case "mtos":return a.l?Vj(b.o,a.g):Vj(b.g,a.g);case "tos":return a.l?Tj(b.o,a.g):Tj(b.g,a.g)}return 0};
$l=function(a,b,c,d){Ok.call(this,b,d);this.ia=a;this.D=c};
am=function(a){Ok.call(this,"fully_viewable_audible_half_duration_impression",a)};
bm=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
fm=function(a){return!!(1<<a&cm)};
Nda=function(){try{Jda()}catch(d){}var a="a=1&b="+cm+"&",b=[],c=99;(0,g.B)(Kda,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)(Lda,function(b){var d="false";try{d=b(gi)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.B)(Mda,function(b){var d="";try{var f=b(gi);d=g.ke(g.fe(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
Jda=function(){if(!gm){var a=function(){hm=!0;gi.document.removeEventListener("webdriver-evaluate",a,!0)};
gi.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){im=!0;gi.document.removeEventListener("webdriver-evaluate-response",b,!0)};
gi.document.addEventListener("webdriver-evaluate-response",b,!0);gm=!0}};
jm=function(){this.l=64;this.g=Array(4);this.B=Array(this.l);this.A=this.o=0;this.reset()};
km=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};
lm=function(){this.l=null};
mm=function(a){return function(b){var c=new jm;c.update(b+a);return Paa(c.digest()).slice(-8)}};
nm=function(a,b){this.l=a;this.o=b};
Pk=function(a,b,c){var d=a.g(c);if(g.Aa(d)){var e={};e=(e.sv="650",e.cb="j",e.e=Oda(b),e);var f=$k(c,b,ml(il));g.fc(e,f);c.lz[b]=f;a=2==c.He()?rca(e).join("&"):a.o.g(e).g;try{return d(c.sd,a,b),0}catch(k){return 2}}else return 1};
Oda=function(a){var b=Wb(Bl,function(b){return b==a});
return zl[b]};
om=function(a,b,c){nm.call(this,a,b);this.A=c};
pm=function(a,b){this.g=a;this.depth=b};
qm=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 pm([f.url,f.Zr?2:0],b(f.depth,1)));e&&e!=f&&k.push(new pm([e.url,2],0));a.url&&a!=f&&k.push(new pm([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 pm([e,1],b(a.depth,c))]);d.push([]);return(0,g.G)(d,function(a){return Pda(c,a)})};
Pda=function(a,b){(0,g.rm)(b,function(a){return 0<=a.depth});
var c=jk(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};
sm=function(){var a=qm();return(0,g.G)(a,function(a){return Ei(a)})};
tm=function(){Nl.call(this);this.B=void 0;this.F=null;this.C=!1;this.D={};this.l=new lm};
um=function(){var a=tm.getInstance(),b="h"==Sl(a)||"b"==Sl(a),c="exc"!=zj.getInstance().ub;b&&c&&(a.C=!0,a.F=new Rca)};
Qda=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.p3,function(a){var b=Hda(a);
if(null==b)a=null;else if(a=new Fda,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.Jj)(c,function(a){return null==a})||Lca(b,new $l(a.id,a.event,c,e))}})}};
Rda=function(a,b,c){var d=nl(b);d||(d=c.opt_nativeTime||-1,d=Ol(a,b,Sl(a),d),c.opt_osdId&&(d.rh=c.opt_osdId));return d};
Sda=function(a,b,c){var d=nl(b);d||(d=Ol(a,b,"n",c.opt_nativeTime||-1),d.H=zj.getInstance().D);return d};
Tda=function(a,b){var c=nl(b);c||(c=Ol(a,b,"h",-1));return c};
Uda=function(a){var b=zj.getInstance();switch(Sl(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.ub)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
vm=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(Al("ol",d));if(g.t(d))if(c=yl(d),g.t(c))if(Rl)b=Al("ue",d);else if(b=a.Bn(b,e)){b:{zda(a);"i"==Ul&&(b.bh=!0,a.fu(b));c=e.opt_fullscreen;g.t(c)&&(b.Kf=!!c);rl()?c=!1:(c=zj.getInstance().ub,c=gi&&gi.g||"nis"===c||"gsv"===c?!1:0===fj());var f=c;if(f){switch(b.He()){case 1:Vl(a,b,"pv");break;case 2:a.au(b)}il.A.cancel();Ul="pv";il.done=!0}c=d.toLowerCase();!f&&g.Qa(Vda,c)&&
Ada(a,b,e);0!=b.Dc&&g.Qa(Wda,c)&&!b.bh&&!a.A&&b.jl&&(f=b.jl,f.g||(f.g=Qk(f,b)));(f=b.Ii[c])&&b.Fc.xa(f);switch(b.He()){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=Al(void 0,c);g.fc(e,d);d=e;break b}d=void 0}3==b.Dc&&a.Zm(b);b=d}else b=Al("nf",d);else b=void 0;else Rl?b=Al("ue"):(b=a.Bn(b,e))?(d=Al(),g.fc(d,Zk(b,!0,!1,!1)),b=d):b=Al("nf");return a.l.g(b)};
Xda=function(a,b,c){a=zj.getInstance();if(a.D!=b){a.D=b;var d=(0,g.Jj)(il.g,function(a){return a.za});
(0,g.B)(il.g,function(a){b||d||(a.ki=c);a.H=b;a.za=!1})}};
xm=function(a,b){var c;if(b.rh&&wm(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=Mca(b);e.nativeVolume=a.B;c(b.sd,e)}};
wm=function(a){return"exc"==zj.getInstance().ub||"h"!=Sl(a)&&Sl(a),!1};
ym=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};
zm=function(a,b,c){c=void 0===c?{}:c;a=vm(tm.getInstance(),b,c,a);return ym(a)};
Am=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};
Yda=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,FH: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}}};
Zda=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)}),Bm(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=Bm(e.join(" "));a=[c,a];g.Ra(k)||a.push(k.join(""));return a.join("_")};
Bm=function(a){var b=Yda();b.update(a);return b.FH().toLowerCase()};
g.Cm=function(){var a=[],b=Am(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,Zda(Am(d),b,a||null)].join(" "):null}return null};
g.Dm=function(a,b){this.l={};this.g=[];this.Ah=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.Dm)for(c=a.yb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
Fm=function(a,b){return Em(a.l,b)};
Gm=function(a){if(a.Fa!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Em(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],Em(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};
Em=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Hm=function(a){if(a.rb&&"function"==typeof a.rb)return a.rb();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)};
Im=function(a){if(a.yb&&"function"==typeof a.yb)return a.yb();if(!a.rb||"function"!=typeof a.rb){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.Sb(a)}};
$da=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=Im(a),d=Hm(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.Jm=function(a,b){this.l=this.F=this.A="";this.B=null;this.H=this.o="";this.C=!1;var c;a instanceof g.Jm?(this.C=g.t(b)?b:a.C,g.Km(this,a.A),this.F=a.F,g.Lm(this,a.l),g.Mm(this,a.B),g.Nm(this,a.o),Om(this,a.g.clone()),this.H=a.Uh()):a&&(c=g.Hg(String(a)))?(this.C=!!b,g.Km(this,c[1]||"",!0),this.F=Pm(c[2]||""),g.Lm(this,c[3]||"",!0),g.Mm(this,c[4]),g.Nm(this,c[5]||"",!0),Om(this,c[6]||"",!0),this.H=Pm(c[7]||"")):(this.C=!!b,this.g=new g.Qm(null,this.C))};
g.Km=function(a,b,c){a.A=c?Pm(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))};
g.Lm=function(a,b,c){a.l=c?Pm(b,!0):b;return a};
g.Mm=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.Nm=function(a,b,c){a.o=c?Pm(b,!0):b};
Om=function(a,b,c){b instanceof g.Qm?(a.g=b,aea(a.g,a.C)):(c||(b=Rm(b,bea)),a.g=new g.Qm(b,a.C));return a};
g.Sm=function(a,b,c){a.g.set(b,c);return a};
g.Tm=function(a){return a instanceof g.Jm?a.clone():new g.Jm(a,void 0)};
Pm=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
Rm=function(a,b,c){return g.v(a)?(a=(0,window.encodeURI)(a).replace(b,cea),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
cea=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.Qm=function(a,b){this.Fa=this.g=null;this.l=a||null;this.o=!!b};
Um=function(a){a.g||(a.g=new g.Dm,a.Fa=0,a.l&&Mg(a.l,function(b,c){a.add(qb(b),c)}))};
Wm=function(a){var b=Im(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.Qm(null,void 0);a=Hm(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.ya(f)?g.Vm(c,e,f):c.add(e,f)}return c};
Ym=function(a,b){Um(a);b=Xm(a,b);return Fm(a.g,b)};
g.Vm=function(a,b,c){a.remove(b);0<c.length&&(a.l=null,a.g.set(Xm(a,b),g.Za(c)),a.Fa=a.Fa+c.length)};
Xm=function(a,b){var c=String(b);a.o&&(c=c.toLowerCase());return c};
aea=function(a,b){b&&!a.o&&(Um(a),a.l=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),g.Vm(this,c,a))},a));
a.o=b};
g.Zm=function(a){g.K.call(this);this.A=a;this.l={}};
an=function(a,b,c,d,e){$m(a,b,c,d,!1,e)};
$m=function(a,b,c,d,e,f){g.ya(c)||(c&&(bn[0]=c.toString()),c=bn);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};
dn=function(a,b,c,d,e){cn(a,b,c,d,!1,e)};
cn=function(a,b,c,d,e,f){if(g.ya(c))for(var k=0;k<c.length;k++)cn(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.en=function(a){g.Kb(a.l,function(a,c){this.l.hasOwnProperty(c)&&g.Bf(a)},a);
a.l={}};
fn=function(a,b,c){g.K.call(this);this.l=a;this.o=b;this.C=c;this.B=0;this.g=new g.Zm(this);dea(this)};
dea=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)};
gn=function(){};
g.hn=function(a,b){return a.replace(eea,function(a,d){try{var c=ac(b,d);if(null==c)return a;c=c.toString();if(""==c||!g.C(g.E(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
kn=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(D){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(r=0;r<jn.length-1;++r)c.push(Xg(a,jn[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<jn.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()};
ln=function(a,b,c){this.g=a;this.l=b;this.o=c};
mn=function(a,b){this.g=a;this.Yf=b};
nn=function(a,b){g.ef.call(this,"adError");this.l=a;this.g=b?b:null};
on=function(a,b,c){g.ef.call(this,a);this.l=b;this.g=null!=c?c:null};
fea=function(a){this.g=a};
gea=function(){var a=pn();return qn(a,"disableExperiments")};
qn=function(a,b){if(Ub(a.g,b)){var c=a.g[b];if(g.ta(c))return c}return!1};
hea=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};
rn=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
sn=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.Qa=this.C=this.R=!1;try{this.X=qm(void 0)[0]}catch(a){}};
pn=function(){var a=N;if(null==a.N){var b={},c=(new g.Jm(Cd().location.href)).g;if(Ym(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.N=new fea(b)}return a.N};
iea=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}};
tn=function(a){g.ef.call(this,a);this.A=[];this.o={};this.g=null;this.l=!0};
un=function(a,b,c){this.A=b;this.l=c;this.B=a;this.o=!0};
vn=function(){};
wn=function(a,b,c){this.ia=a;this.g=g.cd(b||0,0,1);this.l=null!=c?c:!0};
jea=function(a){this.ia=a;this.l=new g.Dm;this.Ua=this.g=null};
kea=function(a){var b=Math.random(),c=0,d=a.l.rb();(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}};
mea=function(){this.l=null!=g.w.G_testRunner;this.o=new vn;this.g=new g.Dm;N.g()||(xn(this,"GvnExternalLayer",31061774,.01),xn(this,"GvnExternalLayer",31061775,.01),xn(this,"GvnExternalLayer",41351088,.01),xn(this,"GvnExternalLayer",41351089,.01),xn(this,"GvnExternalLayer",420706008,.05),xn(this,"GvnExternalLayer",420706009,.05),xn(this,"GvnExternalLayer",41351073,.01),xn(this,"GvnExternalLayer",41351074,.01),xn(this,"GvnExternalLayer",41351075,.01),xn(this,"GvnExternalLayer",634360101,0),xn(this,
"GvnExternalLayer",634360102,0),xn(this,"GvnExternalLayer",21592080,.1),xn(this,"GvnExternalLayer",21592081,.1),xn(this,"GvnExternalLayer",413051059,.05),xn(this,"GvnExternalLayer",413051060,.05),xn(this,"GvnExternalLayer",324123E3,.05),xn(this,"GvnExternalLayer",324123001,.05),xn(this,"GvnExternalLayer",420706068,.01),xn(this,"GvnExternalLayer",420706069,.01),xn(this,"GvnExternalLayer",324123020,.01),xn(this,"GvnExternalLayer",324123021,.01),Ek(!1)&&(Zh(gi.top)?(xn(this,"ActiveViewExternalLayer",
509445010,.01),xn(this,"ActiveViewExternalLayer",509445011,.01)):(xn(this,"ActiveViewExternalLayer",509445012,.01),xn(this,"ActiveViewExternalLayer",509445013,.01))),xn(this,"ActiveViewExternalLayer",509445016,.01),xn(this,"ActiveViewExternalLayer",509445017,.01));xn(this,"ActiveViewExternalLayer",953563515,.01);xn(this,"ActiveViewExternalLayer",953563516,.01);xn(this,"ActiveViewExternalLayer",953563517,.01);lea(this);var a=pn();a=hea(a);null!=a&&(this.l=!1,yn(this,a.map(String)))};
An=function(){zn||(zn=new mea);return zn};
Bn=function(){return An().o};
nea=function(a,b){a.o=b};
oea=function(){var a=An();(0,g.B)(a.g.yb(),function(a){g.nb(a,"FORCED_PUB_EXP_LAYER_")&&this.g.remove(a)},a)};
xn=function(a,b,c,d){g.C(g.E(b))||(0,window.isNaN)(c)||0>=c||(c=new wn(c,d),Cn(a,b).l.set(c.ia,c))};
lea=function(a){gea()||(0,g.B)(a.g.rb(),function(a){kea(a)},a)};
yn=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.C(g.E(a))||(Cn(this,a).g=new wn(b,0,!0))},a)};
Dn=function(a,b){return a.l?!1:(0,g.Jj)(a.g.rb(),function(a){return!!a.g&&a.g.ia==b})};
En=function(a){if(a.l)return"";var b=[];(0,g.B)(a.g.rb(),function(a){(a=a.g)&&a.l&&b.push(a.ia)});
return b.sort().join(",")};
Cn=function(a,b){var c=a.g.get(b);null==c&&(c=new jea(b),a.g.set(b,c));return c};
qea=function(a){var b=[];(0,g.B)(pea,function(c){(c=(c=Cn(a,c))?c.g:null)&&b.push(c.ia)});
return b};
Gn=function(a){return null!=a?Fn(rea,a):!1};
Fn=function(a,b){try{var c=(new g.Jm(b)).l;c=c.replace(/^www./i,"");return(0,g.Jj)(a,function(a){return sea(a,c)})}catch(d){return!1}};
sea=function(a,b){if(g.C(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};
In=function(a){var b=!1;Hn(a,tea)?b=!1:Gn(a)?b=!0:"https:"==window.location.protocol&&(Hn(a,uea)||N.g())&&(b=!0);if(b){b=new g.Jm(a);if("https"==b.A)return a;g.Km(b,"https");return b.toString()}return a};
Hn=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
Jn=function(a){if(g.C(g.E(a)))return!1;a=new g.Jm(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};
Kn=function(a){g.C(g.E(a))||window.open(a,"_blank")};
Mn=function(a,b,c){null!=a?(g.Sm(a,"label",b),null!=c&&g.Sm(a,"value",c.join(";")),a=a.toString()):a="";Ln(a)};
On=function(a,b,c,d){null!=a&&null!=b&&(a=g.hn(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.C(g.E(e)))a=b;else{var f=new g.Jm(b);Ym(f.g,"label")?(g.Sm(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.hn(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
Ln=function(a,b,c,d){a=On(a,b,c,void 0);try{a=In(a);var e=An(),f=!N.g()||Dn(e,41351089);b=!1;N.g()||!Dn(An(),634360102)||(b=!0);null!=d&&d?Pn.NC(a,f):N.H?Pn.eU(a,f,b):Pn.JC(a,f,b)}catch(k){}};
Qn=function(a,b){null!=a&&(0,g.B)(a,function(a){Ln(a,b)})};
vea=function(a,b){if(g.C(g.E(b)))return a;var c=new g.Jm(a),d=c.l;return null!=d&&ob(d,".g.doubleclick.net")?(g.Sm(c,"ged",b),c.toString()):a};
Rn=function(a,b){this.message=a;this.errorCode=b};
Tn=function(a,b,c){return Sn("adLoadError",a,b||null,g.ab(arguments,2))};
Un=function(a,b,c){return Sn("adPlayError",a,b||null,g.ab(arguments,2))};
Vn=function(a,b,c,d,e){var f=a.apply(null,g.Ya([c,d],g.ab(arguments,3)));b.dispatchEvent(new on("log",null,f))};
Wn=function(a,b,c){Vn(Un,a,b,c,void 0)};
Sn=function(a,b,c,d){if(c instanceof un)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 un(a,b,e);a.al=c;return a};
Xn=function(a,b,c,d){var e=Un.apply(null,g.Ya([b,c],g.ab(arguments,3)));a.dispatchEvent(new nn(e))};
Yn=function(a,b){g.ef.call(this,"vpaidEventType");this.g=a;this.data=b};
Zn=function(a){return(a=a.exec(g.Ib))?a[1]:""};
g.$n=function(a){return 0<=g.Ab(wea,a)};
ao=function(){return Cj()||Bj()};
eo=function(){return bo&&!co||ub(g.Ib,"iPod")};
fo=function(){return eo()||co};
io=function(a){return fo()&&go(ho,a)};
lo=function(a){return g.jo&&go(ko,a)};
go=function(a,b){if(null==mo[b]){var c=no(a);c?(c=c.replace(/_/g,"."),mo[b]=0<=g.Ab(c,b)):mo[b]=!1}return mo[b]};
no=function(a){g.C(oo)&&(a=a.exec(g.Ib))&&(oo=a[1]);return oo};
po=function(){var a=g.Ib;return a?ub(a,"Nintendo WiiU"):!1};
qo=function(){return bo&&!co&&io(10)&&N.g()||!N.g()&&(bo&&!co&&io(10),0)?!0:eo()||g.jo&&!lo(4)||!N.g()&&rl()?!1:!0};
ro=function(){var a;(a=N.l||!1)||(a=!1);return a||fo()&&(bo&&!co&&io(10),!0)||g.jo&&!lo(4)||rl()?!0:!1};
so=function(a){return!(null===a||a.rj()||N.g()||eo()||rl()||g.jo&&!lo(4))};
to=function(){this.reset()};
uo=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};
vo=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.yo=function(a,b,c){g.ua(a)?(this.date=wo(a,b||0,c||1),xo(this,c||1)):g.Ba(a)?(this.date=wo(a.getFullYear(),a.getMonth(),a.getDate()),xo(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),xo(this,a))};
wo=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
xo=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Bo=function(){this.l=this.g=null};
Do=function(){this.g=Co();this.K=-1;this.L=this.N=this.B=this.I=this.l=null;this.A=Co();this.o=null;this.W=this.D=this.H="";this.F=this.R=this.Y=this.C=null;this.X=0};
Co=function(){return Math.floor(4503599627370496*Math.random())};
Eo=function(a){null==a.B&&(a.B=new to);return a.B};
Fo=function(a){if(N.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};
Go=function(){this.g=.01>Math.random();this.l=Math.floor(4503599627370496*Math.random())};
Jo=function(a,b,c,d){if(a.g||d){c=c||{};c.lid=b;c.sdkv=Fo(Ho);b=En(An());g.C(g.E(b))||(c.e=b);c=xea(a,c);var e=new g.Jm("http://pagead2.googlesyndication.com/pagead/gen_204");g.Kb(c,function(a,b){g.Sm(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a);
a=Io();g.Km(e,a.A);Ln(e.toString())}};
xea=function(a,b){b.id="ima_html5";var c=Io();b.c=a.l;b.domain=c.l;return b};
Io=function(){var a=Cd(),b=window.document;return new g.Jm(a.parent==a?a.location.href:b.referrer)};
Ko=function(){this.gf=15E3};
Lo=function(){g.Gf.call(this)};
Mo=function(){g.Gf.call(this);this.g=new g.Dm;this.l=null;this.H=new g.Zm(this);g.L(this,this.H);this.B="";this.A=this.I=this.D=this.o=null;this.F=-1};
Oo=function(){null!=No||(No=new Mo);return No};
Po=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Oo().dispatchEvent(new on("measurable_impression",null,c))};
Qo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Oo().dispatchEvent(new on("viewable_impression",null,c))};
Ro=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;Oo().dispatchEvent(new on("externalActivityEvent",null,d))};
yea=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.yb(),function(a){d.get(a)===b&&d.remove(a)})},200);
a.g.set(c,b);var e={};e.osdId=a.B;e.eventId=c;Go.getInstance().isLoggingEnabled()&&(a.C=(0,g.F)(),e.loggingId=Math.random(),Jo(Go.getInstance(),43,{step:"sendingMessage",logid:e.loggingId,time:a.C}));a.l.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
zea=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.yb(),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({})};
So=function(){};
To=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
Wo=function(a,b){if(null==a||0>=a.width||0>=a.height)throw Un(Uo,null,"ad slot size",a.toString());this.l=a;this.g=null!=b?b:new So;this.B=Vo(Aea,this.g.o)?this.g.o:"All";this.A=Vo(Bea,this.g.creativeType)?this.g.creativeType:"All";this.D=Vo(Cea,this.g.A)?this.g.A:"SelectExactMatch";this.F=Vo(Dea,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};
Zo=function(a,b){var c=[];(0,g.B)(b,function(a){!g.C(g.E(a.g.l))&&((0,window.isNaN)(a.g.g)||(0,window.isNaN)(Xo(a))||Xo(a)==a.g.g)&&Yo(this,a)?c.push(a):(a=Eea(this,a),null!=a&&!g.C(g.E(a.g.l))&&c.push(a))},a);
return c};
Yo=function(a,b){var c;if(c="Flash"!=b.kd()||$o){if(c="All"==a.B||a.B==b.g.L)c=b.kd(),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.Ud();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:ap(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};
Eea=function(a,b){var c=b.l;return null!=c?g.Ma(c,function(a){return Yo(this,a)},a):null};
ap=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)};
Vo=function(a,b){return null!=b&&g.Vb(a,b)};
bp=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)};
Fea=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};
dp=function(a,b){if(a[b])return cp(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return cp(a[d]);return!1};
cp=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Gea=function(){this.g=this.Re=1;this.l=this.A=0;this.o=1};
ep=function(){g.Gf.call(this);this.g=null;this.C=new g.Zm(this);g.L(this,this.C);this.l=new g.Dm;this.D=new g.Dm;this.A=null;this.o=!1;this.B=null};
gp=function(){null!=fp||(fp=new ep);return fp};
Hea=function(){gp();var a=An(),b=zj.getInstance().qb;a=qea(a);Bn().g("enable_active_view_presence_data_collection")&&a.push(509445017);Fba(b,a)};
ip=function(a){if(null==a)return!1;if(eo()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=hp(a);return 0>=b-a.width&&42>=c-a.height};
hp=function(a){return g.Aa(a.getBoundingClientRect)&&g.Sd(g.nd(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
jp=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):N.F)null!=e.opt_fullscreen||(e.opt_fullscreen=ip(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.A&&(N.l&&(e.opt_overlayAdElement=a.A),null!=e.opt_bounds||(e.opt_bounds=hp(a.A)));return $i("lidar::handlevast_html5",g.Ea(zm,b,c,e))||{}}return{}};
kp=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)};
lp=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)}};
Iea=function(a,b,c){if(!N.I)return"";var d=b?a.D.get(b):N.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};
mp=function(a,b){g.ef.call(this,a);this.g=b};
np=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=[]};
op=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=[]};
pp=function(a){a.D="";a.A=null;a.o=0;a.g=0;a.l=!0;a.B=[];a.C=[]};
qp=function(a){g.ef.call(this,a)};
rp=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.sp=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.tp=function(a,b){var c=a.l(b,void 0);return-1==(0==c?a.g:c)?"rtl":"ltr"};
up=function(){throw Error("Do not instantiate directly");};
vp=function(a,b){this.content=String(a);this.xk=null!=b?b:null};
wp=function(){up.call(this)};
xp=function(){up.call(this)};
yp=function(a,b){return null!=a&&a.Ui===b};
zp=function(a){if(null!=a)switch(a.xk){case 1:return 1;case -1:return-1;case 0:return 0}return null};
O=function(a){return null!=a&&a.Ui===Ap?a:a instanceof g.Sc?Bp(g.Tc(a),a.g()):Bp(g.rb(String(String(a))),zp(a))};
Ep=function(a,b,c){var d="key_"+a+":"+b,e=Cp[d];if(void 0===e||0>e)Cp[d]=0,Dp[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
Fp=function(a,b){var c=Dp["key_"+a+":"+b];c||""==b||(c=Dp["key_"+a+":"]);return c?c:Jea;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');};
Jea=function(){return""};
P=function(a){return yp(a,Ap)?String(String(a.jd()).replace(Gp,"").replace(Hp,"&lt;")).replace(Kea,Ip):g.rb(String(a))};
Jp=function(a){return yp(a,Ap)?String(String(a.jd()).replace(Gp,"").replace(Hp,"&lt;")).replace(Lea,Ip):String(a).replace(Mea,Ip)};
Nea=function(a){return"%"+a.charCodeAt(0).toString(16)};
Lp=function(a){a=g.pb(String(a));Kp.lastIndex=0;return Kp.test(a)?a.replace(Kp,Nea):a};
Rp=function(a){if(yp(a,Mp)||yp(a,Np))return Op(a);a instanceof Gc?a=Op(g.Hc(a)):a instanceof Bc?a=Op(Cc(a)):(a=String(a),a=Oea.test(a)?a.replace(Pp,Qp):"about:invalid#zSoyz");return a};
Sp=function(a){if(yp(a,Mp)||yp(a,Np))return Op(a);a instanceof Gc?a=Op(g.Hc(a)):a instanceof Bc?a=Op(Cc(a)):(a=String(a),a=Pea.test(a)?a.replace(Pp,Qp):"about:invalid#zSoyz");return a};
Up=function(a){var b=Tp[1]||(Tp[1]=new g.sp(1)),c=zp(a);null==c&&(c=zc(a+"",yp(a,Ap)));return Qea(c!=b.g?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
Ip=function(a){return Rea[a]};
Qp=function(a){return Sea[a]};
Op=function(a){return String(a).replace(Pp,Qp)};
Tea=function(a){return'<div class="'+O("text-container")+" "+(a.image?O("pyv"):"")+'"><div class="'+O("text-inner-container")+'">'+(a.image?(a.Gc?'<a class="'+O("text-image-link")+'" target="_blank" href="'+O(a.Gc)+'">':'<a class="'+O("text-image-link")+'" target="_blank">')+'<img src="'+O(a.image)+'" class="'+O("text-image")+" "+(a.JD?O("yt-video-image"):"")+'">'+(a.duration?'<div class="'+O("text-image-duration")+'">'+O(a.duration)+"</div>":"")+"</a>":"")+(a.Gc?'<a class="'+O("text-title")+'" href="'+
O(a.Gc)+'" target="_blank" dir='+O(a.dir)+">"+O(a.title)+"</a>":"")+'<div class="'+O("text-description")+'" dir='+O(a.dir)+">"+O(a.text)+"</div>"+(a.LD&&a.Gc?'<a target="_blank" href="'+O(a.Gc)+'" class="'+O("text-ad-channel")+'">'+O(a.LD)+"</a>":"")+"</div></div>"};
Uea=function(a){return'<div class="'+O("flash-container")+" "+(a.capture?O("click-capture"):"")+'">'+(a.Gc?'<a class="click-layer" target="_blank" href="'+O(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="'+O(a.width)+'" height="'+O(a.height)+'"><param name="movie" value="'+O(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
Lp(a.Gc)+'"><embed width="'+O(a.width)+'" height="'+O(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+O(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+Lp(a.Gc)+'"></object></div>'};
Vea=function(a){return'<div class="'+O("image-container")+'" id="'+O(a.id)+'" style="width:'+O(a.width)+";height:"+O(a.height)+';">'+(a.Gc?'<a target="_blank" href="'+O(a.Gc)+'">':'<a target="_blank">')+'<img src="'+O(a.url)+'" border="0"></a></div>'};
Wea=function(a){return'<div class="'+O("image-container")+'" id="'+O(a.id)+'">'+(a.Gc?'<a target="_blank" href="'+O(a.Gc)+'">':'<a target="_blank">')+'<img src="'+O(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
Vp=function(a){return'<div class="'+O("image-container")+'" id="'+O(a.id)+'" style="width:'+O(a.width)+";height:"+O(a.height)+';"></div>'};
Wp=function(){this.g=new g.Dm};
Xp=function(a,b){this.l=a;this.o=b};
Yp=function(a,b){Xp.call(this,"progress",a);this.g=b};
$p=function(a,b){(0,g.B)(b,function(a){var b=a.Rb().toLowerCase(),c=Zp(this,b);c.push(a);this.g.set(b,c)},a)};
aq=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new Yp(c,d):new Xp(b,c);d=Zp(a,b);d.push(c);a.g.set(b,d)};
Zp=function(a,b){return null!=b?a.g.get(b.toLowerCase(),[]):[]};
Xea=function(a,b){var c=Zp(a,"progress");(0,g.B)(c,function(a){bq(a.g,b)});
g.ib(c,function(a,b){return cq(a.g)-cq(b.g)})};
dq=function(a,b){return(0,g.G)(Zp(a,b),function(a){return a.Oa()})};
eq=function(){this.fa=-1;this.F={};this.pa="";this.uj=new Wp};
fq=function(a,b,c){a.pa=b;a.F=c};
gq=function(a,b){var c=[],d=a.yn();(0,g.B)(d,function(a){a=Zp(a.uj,b)||[];c=g.Ya(a,c)},a);
return c};
Yea=function(a){a=gq(a,"feedbackShown");return(0,g.G)(a||[],function(a){return a.Oa()})};
hq=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)};
iq=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.li=d;this.Pf=e;this.C=f;this.A=k;this.B=In(g.E(l));this.l=m};
jq=function(a,b,c,d,e,f){eq.call(this);this.fa=a;this.A=b;this.o=c;this.l=g.Za(d);this.B=null;this.C=e;this.oa=g.Za(f);cb(this.oa,null,function(a){return a.K})};
kq=function(a){var b=new g.Dm,c=a.yn();(0,g.B)(c,function(a){if(a instanceof jq){var c=a.o;(0,g.B)(c.yb(),function(a){b.set(a,g.Ya(c.get(a),b.get(a)||[]))},this)}},a);
return b};
mq=function(a){return lq(a,"x-shockwave-flash")};
lq=function(a,b){var c=g.Ma(a.l,function(a){return!g.C(g.E(a.g))&&-1!=a.g.indexOf(b)&&("VPAID"==a.l||"surveys"==a.l)});
return null!=c?c:null};
oq=function(a,b,c,d,e){eq.call(this);g.C(g.E(a))&&(a=Cb()+"_ima");this.ia=g.E(a);this.za=b;this.L=c;this.ib=d;this.l=e;this.K=[];null!=this.ib?this.X=nq[this.ib]||"Other":this.X=null};
pq=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.Zm(this);g.L(this,this.o);Zea(this)};
Zea=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)};
$ea=function(a,b){g.Kb(a.g,function(a,d){b=Zg(b,d,a)});
return b};
qq=function(a,b,c,d,e){oq.call(this,a,b,c,d,e);this.da=this.A=null;this.Ab=-2;this.o=null;this.ca=this.W=g.y;this.Y=[];this.Na=[];this.C=!1;this.Ua=null};
tq=function(a,b){a.o=b;null!=a.A&&null!=b&&(rq(a,a.W),sq(a,a.ca))};
rq=function(a,b){null!=a.o&&null!=a.A&&(0,g.B)(a.Y,function(a){this.o.Aa(a,"click",this.W);!g.C(g.E(this.df()))&&this.o.U(a,"click",b)},a);
a.W=b};
sq=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};
uq=function(a,b){var c=a.ia,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.kd()&&(d.style+="width:"+a.Bb()+"px");g.C(g.E(c))||(d.id=c);return g.J("DIV",d,b)};
vq=function(a){if(!a.C)return null;var b=gq(a,"start");$a(b,gq(a,"creativeview"));if(null!=b&&!g.Ra(b)){var c=[];(0,g.B)(b,function(a){if(!g.C(g.E(a))){var b=g.pd().lI("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:afa});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",In(a.Oa()));b.setAttribute("id",d);this.Na.push(d);g.Ta(c,b)}},a);
return c}return null};
bfa=function(a,b){if(null!=a.A)if(Bn().g("cleanup_text_overlay_spam_signals")){var c=[];(0,g.B)(a.Y,function(a){c.push({element:a,yH:this.Lq(a)})},a);
new pq(b,a.A,c)}else c=new g.Dm,(0,g.B)(a.Y,function(a){c.set(a,this.Lq(a))},a),new fn(b,a.A,c)};
cfa=function(a){var b=[],c=a.yn();(0,g.B)(c,function(a){b=g.Ya(b,a.K)},a);
return b};
wq=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)};
xq=function(a,b){this.g=null!=a?a:new Wp;this.H=null!=b?b:[]};
dfa=function(a,b){var c=b.g;(0,g.B)(c.yb(),function(a){$p(this.g,c.get(a))},a)};
yq=function(a,b){var c=dq(a.g,b);return null!=c?c:[]};
g.zq=function(a){if(a.classList)return a.classList;a=a.className;return g.v(a)&&a.match(/\S+/g)||[]};
g.Aq=function(a,b){return a.classList?a.classList.contains(b):g.Qa(g.zq(a),b)};
g.Q=function(a,b){a.classList?a.classList.add(b):g.Aq(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.Bq=function(a,b){if(a.classList)(0,g.B)(b,function(b){g.Q(a,b)});
else{var c={};(0,g.B)(g.zq(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.Cq=function(a,b){a.classList?a.classList.remove(b):g.Aq(a,b)&&(a.className=(0,g.Md)(g.zq(a),function(a){return a!=b}).join(" "))};
g.Dq=function(a,b){a.classList?(0,g.B)(b,function(b){g.Cq(a,b)}):a.className=(0,g.Md)(g.zq(a),function(a){return!g.Qa(b,a)}).join(" ")};
g.R=function(a,b,c){c?g.Q(a,b):g.Cq(a,b)};
g.Eq=function(a,b,c){g.Aq(a,b)&&(g.Cq(a,b),g.Q(a,c))};
g.Fq=function(a,b){var c=!g.Aq(a,b);g.R(a,b,c);return c};
Gq=function(a,b){var c=a(b||efa,void 0,void 0);var d=g.pd().createElement("DIV");c=ffa(c);d.innerHTML=c;1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
ffa=function(a){if(!g.Ba(a))return String(a);if(a instanceof up){if(a.Ui===Ap)return a.jd();if(a.Ui===Hq)return g.rb(a.jd())}return"zSoyz"};
Iq=function(a,b){qq.call(this,a,b,"Static","text","")};
Jq=function(a){null!=a?Fn(gfa,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=Gn(a)?hfa(a):null:a=null;return a};
Kq=function(a,b,c){if(null==a)return null;c=new g.Jm((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Om(c,d);return c.toString()};
Lq=function(a){return null===a?!1:"pharma"==(new g.Jm(a)).Uh().toLowerCase()};
hfa=function(a){if(g.C(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.Jm(a)).g;return Ym(a,"v")?a.get("v").toString():Ym(a,"video_id")?a.get("video_id").toString():null};
Mq=function(a){return g.C(g.E(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
Sq=function(a,b,c){var d={};a=new Nq(a,g.t(b)?b:null,g.t(c)?c:null);Oq(d,a);b=a.error;d.ERRORCODE=1E3>b.l?b.l:900;Pq(d);Qq(d,a);Rq(d,a);b=a.error.Tb();d.ERROR_MSG=a.error.Dd();d.IMA_ERROR=b;d.INTERNAL_ID="0";a=-1!=(0,g.Pa)(ifa,b);d.BLOCKING_ERROR=a?"1":"0";d.YT_ERROR_CODE=3;return d};
Tq=function(a,b){var c={},d=new Nq(null,a,g.t(b)?b:null);Oq(c,d);Pq(c);Qq(c,d);Rq(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.fc&&null!=e.fc.GET_MIDROLL_POSITION_IN_SEC?e.fc.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)}}jfa(c,d);kfa(c,d);d=a.Ya;for(e=a;null!=e;)d=e.Ma+","+d,e=e.l;c.RWT=d;return c};
Nq=function(a,b,c){this.error=a;this.g=b;this.l=c};
Uq=function(a,b){null!=b&&(a.VIEWABILITY=b)};
Vq=function(a,b,c,d){lfa(c,b)?a[c]=d||"":a[c]=""};
lfa=function(a,b){return(0,g.Jj)(mfa[a],function(a){return null!=b.match(a)})};
Oq=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()}}};
kfa=function(a,b){a.AD_CPN={toString:function(){return b.l.Be()}};
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():""}}};
Pq=function(a){a.SDKV=Fo(Ho);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
Qq=function(a,b){if(null!=b.g&&null!=b.g.o&&null!=b.g.o.fc&&N.g()){var c=b.g.o.fc;(0,g.B)(nfa,function(b){b in c&&(a[b]=c[b])})}};
Rq=function(a,b){if(null!=b.g){a.AD_ID=Wq(b.g);a.AD_SYS=Xq(b.g);var c=Yq(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.l){var a=Jq(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=Zq(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"}};
jfa=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():""}})};
br=function(a,b,c){var d=null,e=c+b;(0,g.B)(a.D,function(f){if(dp(f.F,"rm")){var k=Tq(a);$q(a)&&(k.FILLED_OPPORTUNITY=0);Qn(a.W,k);(k=a.o)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof qq)0==c&&0==b||f instanceof Iq?k=!0:(k=f.Ud(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.Ud().height+b-f.Ud().width,"Flash"!=f.kd()||$o)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.kd()&&"Javascript"==f.kd()?d=f:f.g<d.g&&(d=f)):(d=f,e=k))}});
ar(a,d)};
cr=function(a){var b=null;(0,g.B)(a.D,function(a){a instanceof jq&&(null===b||a.g<b.g)&&(b=a)});
ar(a,b)};
dr=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};
hr=function(a,b,c){var d=[],e=(0,g.z)(function(a){this.Hf()?this.Ee(function(a){d.push(a);e(null)},function(a){301==a.Tb()?c(Tn(er)):e(a)}):0<d.length?b(d):(null==a&&(a=Tn(fr)),1012==a.Tb()&&(a=Tn(gr)),c(a))},a);
e(null)};
ofa=function(a,b){a.B=b;a.ads=a.rx(a.A,a.D);a.l=-1};
pfa=function(a,b,c,d){var e=a.C.clone();e.l="";e.g=b.Vb;ir(a,b,e,c,d)};
ir=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 dr?(qfa(a,b,this.B&&b.jb,b.ob),d(a)):a instanceof jr?e(new un("adLoadError","Ad source cannot contain playlist response.",2)):e(new un("adLoadError","Unknown ad source.",2))},a),e)};
rfa=function(a){var b=0;for(a=a.l;null!=a;)a=a.l,b++;return b};
sfa=function(a,b,c){a.g.Hf()?a.g.Ee((0,g.z)(function(a){this.Co(a,b,(0,g.z)(function(a){this.Hf()?this.Ee(b,c):c(a)},this))},a),(0,g.z)(function(a){kr(this.ads[this.l],a);
this.g=null;N.g()||301!=a.Tb()?this.Hf()?this.Ee(b,c):c(a):c(a)},a)):(0==a.g.o&&kr(a.ads[a.l],Tn(lr)),a.g=null,a.Ee(b,c))};
kr=function(a,b){if(b.o){1012==b.Tb()&&(b=Tn(gr));var c=Sq(b,a),d=a.fa;N.g()&&303==b.Tb()&&(d=(0,g.Md)(d,function(a){return-1==a.indexOf(".youtube.com/api/stats/ads")}));
Qn(d,c)}};
vfa=function(a,b,c){a.l++;var d=a.ads[a.l];d.aa||d.ib?d.ib?pfa(a,d,(0,g.z)(function(a){this.g=a;this.Ee(b,c)},a),(0,g.z)(function(a){a=mr(a);
kr(d,a);c(a)},a)):rfa(d)>=N.L?(a=Tn(tfa,null,String(N.L)),kr(d,a),c(a)):a.F?a.Wt(d,(0,g.z)(function(a){this.g=a;
this.Ee(b,c)},a),(0,g.z)(function(a){a=mr(a);
kr(d,a);c(a)},a)):c(Tn(ufa)):a.Co(d,b,c)};
mr=function(a){switch(a.Tb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=Tn(lr)}return a};
qfa=function(a,b,c,d){(0,g.B)(a.ads,function(a){a.l=b});
ofa(a,c);a.F=d};
nr=function(a){xq.call(this);this.l=(0,window.isNaN)(a)?-1:a};
or=function(a,b,c,d){dr.call(this,[],a,b,c);this.H=d};
pr=function(a){var b=a.ads.length-(0>a.l?1:a.l+1);return null!=a.g&&a.g instanceof or?b+pr(a.g):b};
qr=function(a){g.Jm.call(this,a);this.D=new g.Dm;a=this.o;var b=a.indexOf(";"),c=null;0<=b?(g.Nm(this,a.substring(0,b)),c=a.substring(b+1)):g.Nm(this,a);wfa(this,c)};
wfa=function(a,b){g.C(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)};
rr=function(a,b){if(g.C(g.E(b)))return null;var c=a.D.get(b);return null!=c?c:null};
sr=function(a,b,c){g.C(g.E(b))||(c=g.G(c,g.E),a.D.set(b,c))};
tr=function(a,b){var c=[g.E(b)];$a(c,xfa(a));return c.join(";")};
xfa=function(a){var b=rr(a,"ord");null!=b?g.C(g.E("ord"))||a.D.remove("ord"):b=[g.E((0,g.F)())];var c=[];(0,g.B)(a.D.yb(),function(a){(0,g.B)(this.D.get(a),function(b){$a(c,a+"="+b)})},a);
$a(c,"ord="+b[0]);sr(a,"ord",b);return c};
vr=function(a){if(null==a)return!1;a=new g.Jm(a);var b=a.o;return ob(a.l,"googleads.g.doubleclick.net")&&ur("/pagead/(live/)?ads",b)};
wr=function(a){a=a.g;return null!=a?"bid.g.doubleclick.net"==(new g.Jm(a)).l:!1};
xr=function(a){if(null==a)return!1;var b=new qr(a);a=b.l;b=tr(b,b.o);return!ob(a,".g.doubleclick.net")&&ob(a,"doubleclick.net")&&ur("/(ad|pfad)[x|i|j]?/",b)};
yr=function(a){if(null==a)return!1;a=new g.Jm(a);var b=a.o;return ob(a.l,"doubleclick.net")&&ur("/gampad/(live/)?ads",b)};
yfa=function(a){return vr(a.g)||xr(a.g)||yr(a.g)||wr(a)};
Ar=function(a){a=a.g;return null!=a?zr(a):!1};
zr=function(a){a=new g.Jm(a);var b=a.o;return ob(a.l,"youtube.com")&&ur("/get_midroll_info",b)};
zfa=function(a){a=a.g;if(null==a)return null;a=(new g.Jm(a)).g;return null!=a.get("ms")?g.E(a.get("ms")):null};
ur=function(a,b){return g.C(g.E(b))?!1:(new RegExp(a)).test(b)};
Br=function(a,b,c,d){this.g=a;this.l=b;this.o=c;this.A=null!=d?d:!1};
Xo=function(a){a=a.g.Lb().g;return null!=a?a.g:window.NaN};
Cr=function(a,b){a.g.H=b;(0,g.B)(a.l,function(a){Cr(a,b)},a)};
Dr=function(a){return Bp('<div class="'+P("iv-endcap-background")+'">'+(a.pH?'<a class="'+P("iv-endcap-slot")+'" href="'+P(Rp(a.target))+'" target="_blank"><div class="'+P("iv-endcap-card")+'"><div class="'+P("iv-endcap-image")+'"><img src="'+P(Sp(a.image))+'"></div><div class="'+P("iv-endcap-text")+'" dir='+Jp(a.dir)+'><div><div class="'+P("iv-endcap-headline")+'">'+O(a.headline)+'</div><div class="'+P("iv-endcap-description")+'">'+O(a.description)+'</div></div></div><div class="'+P("iv-endcap-action")+
'">'+(a.action?O(a.action):'<span class="'+P("iv-endcap-action-icon")+'"></span>')+"</div></div></a>":'<div class="'+P("iv-endcap-slot")+'"><div class="'+P("iv-endcap-card")+'"><a class="'+P("iv-endcap-image")+'" href="'+P(Rp(a.target))+'" target="_blank"><img src="'+P(Sp(a.image))+'"></a><div class="'+P("iv-endcap-text")+'" dir='+Jp(a.dir)+'><a href="'+P(Rp(a.target))+'" target="_blank"><div class="'+P("iv-endcap-headline")+'">'+O(a.headline)+'</div><div class="'+P("iv-endcap-description")+'">'+
O(a.description)+'</div></a></div><a class="'+P("iv-endcap-action")+'" href="'+P(Rp(a.target))+'" target="_blank" dir='+Jp(a.dir)+">"+(a.action?O(a.action):'<span class="'+P("iv-endcap-action-icon")+'"></span>')+"</a></div></div>")+'<div class="'+P("iv-endcap-bottom")+'"><svg class="'+P("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+P("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10"/><circle class="'+P("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10"/></svg></div></div>')};
Afa=function(){var a=""+Ha("Next");return Bp(a)};
Bfa=function(){var a=""+Ha("Previous");return Bp(a)};
Cfa=function(a){var b='<div class="'+P("iv-cards-companion")+'"><div class="'+P("iv-cards-attribution")+'"><span class="'+P("yt-badge")+" "+P("yt-badge-ad")+'">'+Er()+"</span>";if(a.advertiserName&&a.Gc){b+='<a class="'+P("ad-companion-clickthrough")+'" href="'+P(Rp(a.Gc))+'" target="_blank">';var c=Ha("Shop products from {$advertiserName}",{advertiserName:O(a.advertiserName)});b=b+c+"</a>"}b+='<div class="'+P("yt-uix-hovercard")+" "+P("ad-info-container")+'"><span class="'+P("yt-uix-hovercard-target")+
'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+P("yt-uix-hovercard-content")+'"><p>'+O(a.se)+'</p></div></div></div><div class="'+P("iv-cards-slider")+'"><div class="'+P("iv-cards-slider-body")+'"><ul class="'+P("iv-cards-slider-list")+'">';c=a.cards;for(var d=c.length,e=0;e<d;e++){var f=c[e],k='<li class="'+P("iv-cards-slider-item")+'">';f=Bp('<div class="'+P("iv-cards-slider-unit")+'"><a href="'+P(Rp(f.target))+'" target="_blank"><div class="'+
P("iv-cards-slider-image")+'"><span class="'+P("iv-cards-image-helper")+'"></span><img src="'+P(Sp(f.image))+'"></div><div class="'+P("yt-ui-ellipsis")+" "+P("yt-ui-ellipsis-4")+" "+P("iv-cards-slider-text")+'">'+O(f.headline)+'</div><span class="'+P("iv-cards-slider-action")+'">'+O(f.action)+"</span></a></div>");b+=k+f+"</li>"}b+="</ul></div>"+(a.VT?'<button class="'+P("iv-cards-slider-button")+" "+P("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+P("iv-cards-slider-prev-icon")+
" "+P("yt-uix-tooltip")+" "+P("yt-sprite")+'" data-tooltip-text="'+P(a.eC)+'" title="'+P(a.eC)+'"></span></button><button class="'+P("iv-cards-slider-button")+" "+P("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+P("iv-cards-slider-next-icon")+" "+P("yt-uix-tooltip")+" "+P("yt-sprite")+'" data-tooltip-text="'+P(a.MA)+'" title="'+P(a.MA)+'"></span></button>':"")+"</div></div>";return Bp(b)};
Dfa=function(a){return Bp('<div class="'+P("iv-website-companion")+'"><div class="'+P("yt-uix-hovercard")+" "+P("ad-info-container")+" "+P("iv-website-companion-ad-info")+'"><span class="'+P("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+P("yt-uix-hovercard-content")+'"><p>'+O(a.se)+'</p></div></div><a href="'+P(Rp(a.target))+'" target="_blank">'+(a.bannerImageUrl?'<img class="'+P("iv-website-companion-banner")+
'" src="'+P(Sp(a.bannerImageUrl))+'">':"")+'<div class="'+P("iv-website-companion-block")+'"><div class="'+P("iv-website-companion-icon")+'"><img src="'+P(Sp(a.iconImageUrl))+'"></div><div class="'+P("iv-website-companion-text")+'"><div class="'+P("iv-website-companion-header")+'">'+O(a.headline)+'</div><div class="'+P("iv-website-companion-desc")+'"><span class="'+P("yt-badge")+" "+P("yt-badge-ad")+'">'+Er()+'</span><span class="'+P("iv-website-companion-domain")+'">'+O(a.descriptionText)+'</span></div></div><div class="'+
P("iv-website-companion-action")+" "+P("yt-uix-button-size-default")+" "+P("yt-uix-button-primary")+'">'+(a.actionTitle?O(a.actionTitle):'<span class="'+P("iv-website-companion-action-icon")+'"></span>')+"</div></div></a></div>")};
Er=function(){var a=""+Ha("Ad");return Bp(a)};
Efa=function(a){var b=Fr(a);if(!b)return{};var c=Gr(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:Hr(b.ld()),merchant:Hr(Ir(c)),image:{thumbnails:[{url:Jr(b).getImageUrl()}]},priceText:Hr(Kr(c)),clickthroughEndpoint:Lr(Mr(Nr(a)))}}:{}};
Hr=function(a){return{runs:[{text:a}]}};
Lr=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
Or=function(a){return{baseUrl:a}};
Pr=function(a,b){this.g=a;this.l=b};
cq=function(a){return a.l?-1:a.g};
bq=function(a,b){a.l&&(a.l=!1,a.g=a.g*b/100)};
Ffa=function(a,b,c){b=c||b;a=a||{};return""+Fp("a",a.hn)(a,b)};
Gfa=function(a){return'<div class="'+O("videoAdUi")+'"><div class="'+O("videoAdUiTopBar")+'"><div class="'+O("videoAdUiAttributionContainer")+" "+O("videoAdUiAttributionContainer-gvn")+'"><div class="'+O("videoAdUiAttribution")+'" '+O(Up(a.attributionText))+">"+O(a.attributionText)+'</div></div></div><div class="'+O("videoAdUiProgressBar")+'" dir="ltr"><div class="'+O("videoAdUiProgress")+'"></div></div></div>'};
Hfa=function(a){return'<div class="'+O("videoAdUi")+'"><div class="'+O("videoAdUiTopBar")+'"><div class="'+O("videoAdUiAttributionContainer")+" "+O("videoAdUiAttributionContainer-gvn")+'"><div class="'+O("videoAdUiAttribution")+'" '+O(Up(a.attributionText))+">"+O(a.attributionText)+'</div></div><div class="'+O("videoAdUiLearnMoreText")+" "+O("videoAdUiLearnMoreText-gvn")+'">'+O(a.learnMoreText)+'<div class="'+O("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+O("videoAdUiProgressBar")+
'" dir="ltr"><div class="'+O("videoAdUiProgress")+'"></div></div></div>'};
Qr=function(){return Bp('<div class="'+P("videoAdUiPreSkipContainer")+'"><div class="'+P("videoAdUiPreSkipButton")+'"><div class="'+P("videoAdUiPreSkipText")+'"></div><div class="'+P("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
Ifa=function(){return Bp('<div class="'+P("videoAdUiPreSkipContainer")+" "+P("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+P("videoAdUiPreSkipButton")+'"><div class="'+P("videoAdUiPreSkipText")+'">You can skip to video in</div><div class="'+P("videoAdUiPreSkipThumbnail")+'"><div class="'+P("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+P("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')};
Rr=function(a){a=a||{};return""+Ha("Your video will begin in {$xSeconds}",{xSeconds:O(a.qe)})};
Jfa=function(a){return Bp('<div class="'+P("videoAdUiBrandPrecapContainer")+" "+P("html5-stop-propagation")+'"><div class="'+P("videoAdUiBrandPrecapContent")+'"><div class="'+P("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+P("videoAdUiBrandPrecapBrandImage")+'" src="'+P(Sp(a.sH))+'"></div><div class="'+P("videoAdUiBrandPrecapTextContainer")+'"><div class="'+P("videoAdUiBrandPrecapBrandName")+'">'+O(a.brandName)+'</div><div class="'+P("videoAdUiBrandPrecapBrandMessage")+
'">'+O(a.tH)+"</div></div></div></div>")};
Kfa=function(a){return Bp('<div class="'+P("videoAdUiBrandPrecapContainer")+" "+P("html5-stop-propagation")+'"><img class="'+P("videoAdUiBrandPrecapAutoGenImage")+'" src="'+P(Sp(a.qH))+'"></div>')};
Lfa=function(a){a=a||{};return Bp('<div class="'+P("videoAdUiBrandInteractionUnit")+" "+P("html5-stop-propagation")+'"><span class="'+P("videoAdUiBrandInteractionPreMessageText")+'">'+O(a.preMessageText)+'</span><div class="'+P("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+P("videoAdUiBrandInteractionButton")+" "+P("videoAdUiBrandInteractionLikeButton")+'"><div class="'+P("videoAdUiBrandInteractionIcon")+" "+P("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+
P("videoAdUiBrandInteractionMessageBox")+" "+P("videoAdUiLikeMsg")+'"></span></div><div class="'+P("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+P("videoAdUiBrandInteractionButton")+" "+P("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+P("videoAdUiBrandInteractionIcon")+" "+P("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+P("videoAdUiBrandInteractionMessageBox")+" "+P("videoAdUiDislikeMsg")+'"></span></div></div>')};
Mfa=function(a){return Bp('<div class="'+P("videoAdUiBrandInteractionUnit")+" "+P("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+P("html5-stop-propagation")+'"><div class="'+P("videoAdUiBrandInteractionPostMessageText")+'">'+O(a.postMessageText)+"</div></div>")};
Nfa=function(a){return'<div class="'+O("videoAdUiSkipContainer")+" "+O("html5-stop-propagation")+'"><button class="'+O("videoAdUiSkipButton")+" "+O("videoAdUiAction")+'">'+O(a.ou)+'<div class="'+O("videoAdUiSkipIcon")+'"></div></button></div>'};
Ofa=function(a){return'<div class="'+O("videoAdUiSkipContainer")+" "+O("html5-stop-propagation")+'"><button class="'+O("videoAdUiSkipButton")+" "+O("videoAdUiAction")+'"><div class="'+O("videoAdUiSkipButtonExperimentalText")+'">'+O(a.ou)+'</div><div class="'+O("videoAdUiSkipIcon")+'"></div></button></div>'};
Pfa=function(a){return'<div class="'+O("videoAdUiSkipContainer")+" "+O("html5-stop-propagation")+" "+O("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+O("videoAdUiSkipText")+'">'+O(a.ou)+'</div><button class="'+O("videoAdUiSkipButton")+" "+O("videoAdUiAction")+" "+O("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+O("videoAdUiSkipIconContainer")+'"><div class="'+O("videoAdUiSkipIcon")+'"></div></div></button></div>'};
Sr=function(a){var b="";2<=a.ip&&1<=a.wm?(a=Ha("Ad {$adPosition} of {$totalAds} {$timeLeft}",{adPosition:O(a.wm),totalAds:O(a.ip),timeLeft:O(a.gp)}),b+=a):(a=Ha("Ad {$timeLeft}",{timeLeft:O(a.gp)}),b+=a);return b};
Ur=function(){var a=Tr(),b=Bp("</a>"),c="<div class='"+P("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:O(a),endFormat:O(b)});return Bp(c+a+"</div>")};
Tr=function(){return Bp('<a href="https://adssettings.google.com" target="_blank">')};
Vr=function(a){return Bp((a.Fu?"<div class='"+P("videoAdUiPopupBackgroundMobile")+"'>":"<div class='"+P("videoAdUiPopupBackground")+"'>")+"<div class='"+P("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=\''+P("videoAdUiPopupPositioner")+"'><form class='"+P("videoAdUiPopupFrame")+"'><div class='"+P("videoAdUiPopupHeading")+
" "+P("videoAdUiHideIfEmpty")+"'>"+O(a.heading)+"</div><div class='"+P("videoAdUiPopupText")+"'>"+O(a.message)+"</div><div class='"+P("videoAdUiPopupButtons")+"'>"+O(a.buttons)+"</div></form></div></div>")};
Qfa=function(a){for(var b="<ul class='"+P("videoAdUiWhyThisAdReasons")+" "+P("videoAdUiHideIfEmpty")+"'>",c=a.targetingReasons,d=c.length,e=0;e<d;e++)b+="<li>"+O(c[e])+"</li>";b+="</ul><div class='"+P("videoAdUiWhyThisAdGenericMessage")+"'>"+O(a.Hq)+"</div><a class='"+P("videoAdUiWhyThisAdMute")+" "+P("videoAdUiHideIfEmpty")+"'>"+O(a.mute)+"</a><a class='"+P("videoAdUiWhyThisAdControl")+" "+P("videoAdUiHideIfEmpty")+"' href='https://adssettings.google.com' target='_blank'>"+O(a.control)+"</a>";a=
""+Vr({heading:Wr(""+O(a.heading)),message:Wr(b),buttons:Wr("<button class='"+P("videoAdUiWhyThisAdCloseButton")+" "+P("videoAdUiPopupDefaultButton")+"'>"+O(a.close)+"</button>"),Fu:a.Fu});return Bp(a)};
Rfa=function(a){for(var b=""+O(a.question),c=a.options,d=c.length,e=0;e<d;e++){var f=c[e];b+="<label for='"+P("videoAdUiMuteOption")+P(e)+"'><input type='radio' id='"+P("videoAdUiMuteOption")+P(e)+"' name='"+P("videoAdUiMuteOption")+"' class='"+P("videoAdUiMuteOption")+P(e)+"'/>"+O(f)+"</label>"}a=""+Vr({heading:Wr(O(a.heading)+" <a class='"+P("videoAdUiMuteUndo")+"'>"+O(a.undo)+"</a>"),message:Wr(b),buttons:Wr("<button class='"+P("videoAdUiMuteCancel")+" "+P("videoAdUiPopupButton")+"'>"+O(a.cancel)+
"</button><button class='"+P("videoAdUiMuteConfirm")+" "+P("videoAdUiPopupDefaultButton")+"'>"+O(a.confirm)+"</button>")});return Bp(a)};
Sfa=function(a){var b=String(""+a.heading);return Bp(Vr({heading:b?new vp(b,void 0):"",message:Wr(""+O(a.message)),buttons:Wr("<button class='"+P("videoAdUiMuteCancel")+" "+P("videoAdUiPopupButton")+"'>"+O(a.cancel)+"</button><button class='"+P("videoAdUiMuteConfirm")+" "+P("videoAdUiPopupDefaultButton")+"'>"+O(a.confirm)+"</button>")}))};
Tfa=function(){return Bp("<div class='"+P("videoAdUiMuteToggleButton")+"'><div class='"+P("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=\''+
P("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>')};
Xr=function(a,b,c){qq.call(this,"1",Ufa,"Html",null,"dummy");this.D=0;this.Ba=a.length;tq(this,new g.Zm(this));this.N=Vfa(a,b);this.Qa=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.aa=g.H("iv-cards-slider-next",this.N))&&this.o.U(this.aa,"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&&Qn(b)},a,c))};
Vfa=function(a,b){var c=(0,g.G)(a,function(a){var b=Fr(a),c=Gr(b);a=Nr(a);return{headline:b.ld(),description:Yr(b,"description"),image:Jr(b).getImageUrl(),action:Kr(c),target:Mr(a),merchant:Ir(c)}}),d=3<a.length;
return Gq(Cfa,{cards:c,advertiserName:c[0].merchant,MA:Afa(),eC:Bfa(),se:Ur(),Gc:b,VT:d})};
Zr=function(a){a.Qa.style.left=125*-a.D+"px";a.R&&g.M(a.R,0<a.D);a.aa&&g.M(a.aa,a.D<a.Ba-3)};
bs=function(a){qq.call(this,"1",Wfa,"Html",null,"website_actions_companion");tq(this,new g.Zm(this));var b=a.g(),c=b&&b.og(),d=b&&b.wn();a=Nr(a);b={headline:b&&b.ld()||"",iconImageUrl:c&&c.getImageUrl()||"",bannerImageUrl:d&&d.getImageUrl()||"",actionTitle:a&&$r(a)||"",descriptionText:b&&as(b)||"",target:a&&Mr(a)||"",se:Ur()};this.D=Gq(Dfa,b)};
Xfa=function(){if(!g.zd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
es=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(cs){var c=ds();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.fs=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(cs){var b=ds();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
gs=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");};
ds=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};
is=function(a){return Tn(Yfa,null,a.parentNode.nodeName,a.nodeName)};
js=function(a){return Tn(Zfa,null,a.parentNode.nodeName,a.nodeName)};
ks=function(a){var b=es(a.tagName,a.namespaceURI),c=g.Pd(b);c||(c=b.createElementNS(a.namespaceURI,a.tagName),b.appendChild(c));for(var d=0;d<a.attributes.length;d++){var e=a.attributes.item(d);c.setAttribute(e.name,e.value)}for(;d=a.firstChild;)c.appendChild(d);return b};
ls=function(a,b){return null!=a?(0,g.Md)(g.Nd(a),function(a){return a.nodeName==b}):[]};
ms=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
ns=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};
os=function(a,b,c,d){if(null!=a){a=g.Nd(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw is(k);c.call(d,k)}}};
ps=function(a){a=g.E(a);return g.C(a)?window.NaN:Db(a)};
qs=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new vo(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};
rs=function(a,b){var c=g.E(a);if(!g.C(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
vs=function(a,b,c){var d=new Wp;os(a,"Tracking",function(a){var b=ms(a,"event"),e=ns(a);ts(e)&&null!=b&&(null!=c&&(e=c(b,e)),"progress"==b?(a=ms(a,"offset"),a=us(a),null!=a&&aq(d,b,e,a)):aq(d,b,e))});
return d};
$fa=function(a){if(g.C(g.E(a)))return null;a=new g.Jm(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.C(g.E(a))?null:a};
us=function(a){if(g.C(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 Pr(a,!0)}else if(a=qs(a),0<=a)return new Pr(a,!1);return null};
ts=function(a){if(g.C(g.E(a)))return!1;try{new g.Jm(a)}catch(b){return!1}return!0};
ws=function(a,b){xq.call(this);this.l=a;this.o=b};
xs=function(){};
ys=function(a,b){xq.call(this,b);this.l=a};
zs=function(a){xq.call(this);this.l=a};
Bs=function(a,b,c,d,e,f,k,l,m,n,q,r,u,D){this.Ba=a;this.la=b;this.N=c;this.Db=d;this.Na=(0,window.isNaN)(e)||""==e||0==e?-1:e;this.fa=f?g.Za(f):[];this.W=k?g.Za(k):[];this.D=l?g.Za(l):[];this.ea=[];this.H=[];this.K=null;this.Y=[];this.za=!0;this.l=this.g=this.F=null;this.R=new g.Dm(n);this.ib=null!=D;this.jb=(this.aa=null!=q)?r||!1:!1;this.ob=this.kK?u||!1:!1;this.Jb=g.E(q);this.Vb=g.E(D);this.Ca=this.o=null;this.A=new Gea;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.Ya=(0,g.F)();this.Qa=this.Ma=0;this.pa=this.oa=!1;this.B=[];this.da=null;this.Ab=!1;(0,g.B)(this.D,function(a){a.H=this},this);
As(this,m)};
Zq=function(a){var b=a.getExtension("AdFormat",Bn().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=Cs(a);b=Ds(a,Es)?"14":dp(b,"hideMaster")||dp(b,"blockAllAds")?"3":a.Sb()?Fs(a)?"2_3":a.isSkippable()?Gs(a)?"2_1":"2_2":"2":"1";return aga(a)+"_"+b};
aga=function(a){if($q(a))return 4;if(Ds(a,Es))return 14;if(Hs(a,cga))return 17;if(Hs(a,dga))return 15;if(Hs(a,ega)||Hs(a,fga))return 1;var b=Bn();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&&(yr(b)||xr(b)))?1:Is(a)?2:0};
Js=function(a){return null!=a.la?a.la:""};
Ks=function(a){return null!=a.l?g.Ya(Ks(a.l),a.fa):a.fa};
Ls=function(a){return null!=a.l?g.Ya(Ls(a.l),a.W):a.W};
Ms=function(a){return null!=a.l?g.Ya(a.H,Ms(a.l)):a.H};
Cs=function(a){return null!=a.g?a.g.F:{}};
gga=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};
Ns=function(a){return null!=a.g?a.g.pa:""};
Os=function(a){return a.getExtension("why_this_ad",Bn().g("process_youtube_vast_wrapper_extensions_in_ima"))};
Ps=function(a){return a.getExtension("mute",Bn().g("process_youtube_vast_wrapper_extensions_in_ima"))};
Qs=function(a,b){var c=[];(0,g.B)(a.R.rb(),function(a){$a(c,yq(a,b))});
return c};
ar=function(a,b){a.g=b;a.X=new g.kd(0,0);if(null!=a.g){a.g instanceof qq&&(a.X=a.g.Ud());var c=a.l;if(null!=c){var d=hq(a.g,c)||hq(a.g,c,!0);ar(c,d)}}N.g()&&hga(a)&&g.Ra(Ms(a))?N.g()&&N.o?(c=a.B,g.Ra(c)?c={}:(d=Fr(c[0])&&Gr(Fr(c[0]))&&Ir(Gr(Fr(c[0])))||"",d=""+Ha("Shop products from {$advertiserName}",{advertiserName:O(d)}),d=Bp(d),c={shoppingCompanionCarouselRenderer:{shopText:Hr(sb(d.toString())),itemList:{horizontalListRenderer:{items:(0,g.G)(c,Efa),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:Hr(Er().toString()),clickToAdvSiteEndpoint:Lr(Rs(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.G)(Qs(a,"companionClick"),Or)}],impressionEndpoints:[{loggingUrls:(0,g.G)(Qs(a,"companionImpression"),Or)}]}}),a.F=c):iga(a,a.B):N.g()&&g.Ra(Ms(a))&&Ss(a,a.B)};
Ts=function(a){return null!=a.Ba?a.Ba:""};
Vs=function(a){if(null==a.l||Us(a.l.N))return[];var b=[Ts(a.l)];$a(b,Vs(a.l));return b};
Wq=function(a){var b=Vs(a).reverse();b.push(Ts(a));return b};
Ws=function(a){if(null==a.l||Us(a.l.N))return[];var b=a.l.g;null!=b?(b=b.ea,b=null!=b?b:""):b="";b=[b];$a(b,Ws(a.l));return b};
Xs=function(a){if(null==a.l||Us(a.l.N))return[];var b=[Js(a.l)];$a(b,Xs(a.l));return b};
Ys=function(a){if(a.l){var b=Ys(a.l);if(b)return b}return(a=a.getExtension("metrics"))?a.l:null};
Yq=function(a){return(a=a.getExtension("viral",!0))?a.l:null};
Xq=function(a){var b=Xs(a).reverse();b.push(Js(a));return b};
Us=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
Zs=function(a){if(null==a.l)return[a.N];var b=Zs(a.l);b.push(a.N);Us(b[0])&&b.shift();return b};
$s=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.de()?a.de():-1};
at=function(a){if(-1!=a.Na)return a.Na;a=a.getExtension("pod");return null!=a&&-1!=a.l?a.l:-1};
bt=function(a){a.Ab||(a.Ab=!0,a.da.I++,null!=a.l&&bt(a.l))};
ct=function(a){if(a.da instanceof or){var b=a.da;if(0<pr(b))return b}return null!=a.l?ct(a.l):null};
dt=function(a,b,c,d){a=Ms(a);return Zo(new Wo(new g.kd(b,c),d),a)};
et=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)};
jga=function(a,b){var c=g.Ma(a.Y,function(a){return 4==a.Rb()&&ft(a.Fe())});
if(c){var d=c.g();if(!d.og().getImageUrl()){var e=new gt;e.data.image_url=b.channelIconThumbnailUrl;d.og=function(){return e}}d.ld()||(d.ld=function(){return b.authorName});
c.g=function(){return d}}};
kga=function(a){var b=(0,g.Md)(a,function(a){return ft(a.Fe())});
0==b.length&&0<a.length&&Bn().g("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b};
iga=function(a,b){var c=(0,g.Md)(b,function(a){return ht(a.Fe())});
g.Ra(c)&&(c=b);c=new Xr(c,Rs(a),Qs(a,"companionClick"));c.H=a;c.C=!0;it(a,new Br(c,[],null,!0))};
lga=function(a,b){var c=g.Ma(a.B,function(a){return 4==a.Rb()&&ht(a.Fe())});
if(!c)return null;var d=c.g();if(!d.og().getImageUrl()){var e=new gt;e.data.image_url=b.channelIconThumbnailUrl;d.og=function(){return e}}if(!d.wn().getImageUrl()){var f=new gt,k=g.Ma(Ms(a),function(a){return"Image"==a.kd()});
f.data.image_url=k&&k.g.l||b.g;d.wn=function(){return f}}d.ld()||(d.ld=function(){return b.authorName});
c.g=function(){return d};
return c};
Ss=function(a,b){var c=g.Ma(b,function(a){return 4==a.Rb()&&ht(a.Fe())});
if(c){var d=c.g(),e=d&&d.og().getImageUrl(),f=d&&d.wn().getImageUrl(),k=d&&d.ld();e&&f&&k&&(N.o?(c=Nr(c),a.F={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&$r(c)||void 0,descriptionText:d&&as(d)||void 0,target:c&&Mr(c)||void 0,impressionEndpoints:[{loggingUrls:(0,g.G)(Qs(a,"companionImpression"),function(a){return{baseUrl:a}})}]}}):(d=new bs(c),d.H=a,d.C=!0,it(a,new Br(d,[],null,!0))))}};
mga=function(a){if(!a.o||jt(a)&&!Ds(a,["ADSENSE/ADX"]))return[];var b=et(a);if(0>=b.width||0>=b.height)return[];var c=new So;c.creativeType="All";c.o="All";c.A="SelectNearMatch";c.g=40;var d=dt(a,b.width,b.height,c);if(!g.Ra(d))return d;c.l="ResizeSmaller";d=(0,g.Md)(Ms(a),function(a){return a.g.Zk()},a);
return Zo(new Wo(new g.kd(b.width,b.height),c),d)};
lt=function(a){if(g.Ra(a.Y))return!1;var b=Bn();if(15>kt(a))return!1;var c=nga,d=a.Y[0].Rb();if(d==c.Pv){var e=a.Y[0].g();a=e&&e.og().getImageUrl();e=e&&e.ld();if(!a||!e)return!1}return b.g("enable_ad_video_end_renderers")&&d==c.RG||d==c.Pv};
oga=function(a){var b=null,c=0;(0,g.B)(mga(a),function(a){var d=et(this);d=!a.g.Zk()||a.Bb()<=d.width&&a.getHeight()<=d.height?a.g.Ud():ap(a.g.Ud(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a);
return b};
mt=function(a,b){return b||null==a.l?a.ea:g.Ya(a.ea,mt(a.l))};
As=function(a,b){a.ea=b?g.Za(b):[];(0,g.B)(a.ea,function(a){$a(this.H,g.Za(a.g))},a);
(0,g.B)(a.H,function(a){Cr(a,this)},a);
if(N.g()&&(a.Sb()&&(a.H=(0,g.Md)(a.H,function(a){return 60>=a.getHeight()})),N.o)){var c=a.H&&a.H[0];
if(c&&"Static"===c.g.L){var d=c.g.df(),e=c.g.K;$a(e,Qs(a,"companionClick"));var f=Qs(a,"companionImpression"),k=c.Bb(),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}}}}}}};
nt=function(a,b){return(0,g.Jj)(a.D,function(a){return a instanceof jq&&"linear"==b||a instanceof qq&&"nonlinear"==b?!0:!1})};
ot=function(a){var b=a.g;return jt(a)&&null!=b&&b instanceof qq&&(90<a.X.height||null!=a.o&&a.o.aj)};
pt=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:pt(a,b.l)};
qt=function(a){var b=a.l,c=pt(a,b);if(null!=c){if("skippable"==c.l)return c.o;if("nonskippable"==c.l)return null}c=null;var d=new Pr(5,!1),e=pga(a);"implicit"==e&&(c=d);var f=a.g;null==c&&null!=f&&f instanceof jq&&(c=f.C);null!=c||"explicit"!=e||(c=d);e=Bn();return N.g()&&a.Sb()&&null!=c?e.g("enable_skip_button_offset_mutation")?c:d:null==c&&null!=b&&e.g("ima_check_wrapper_skippability")?qt(b):c};
pga=function(a){if(null!=g.Ma(a.R.rb(),function(a){return!g.Ra(yq(a,"skip"))}))return"implicit";
var b=a.R.get("DFP");if(b instanceof ys)switch(b.l){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.g;return N.g()&&null!=a&&(a=a.uj,null!=a&&!g.Ra(Zp(a,"skip")))?"explicit":"none"};
Gs=function(a){return null!=a.la&&null!=a.o?!0:!1};
Rs=function(a){return null===a.g?null:a.g.df()};
kt=function(a){return null!=a.g?a.g.getDuration():-1};
rt=function(a){return null===a.K?lt(a)?7:0:10};
tt=function(a){return null===a.g?null:a.g.Mr()};
ut=function(a){return null===a.g?null:a.g.Lr()};
jt=function(a){return Ds(a,vt)||Ds(a,["ADSENSE-VIRAL"])};
$q=function(a){return null!=a.l&&$q(a.l)||Ds(a,qga)};
Fs=function(a){var b=tt(a);return Ds(a,["402"])||g.v(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
wt=function(a){return jt(a)&&Gs(a)&&!a.isBumper()&&!g.C(g.E(a.C))&&null!==qt(a)&&0<cq(qt(a))};
Is=function(a){return Hs(a,vt)||Hs(a,["402"])};
xt=function(a){a=a.getExtension("InfoCards");return null!=a?a.l:null};
zt=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.l:null};
Ds=function(a,b){return null!=a.la?g.Qa(b,a.N):!1};
Hs=function(a,b){for(var c=Zs(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.Qa(b,c[d]))return!0;break}return!1};
it=function(a,b){a.H=[b]};
hga=function(a){return a.Sb()&&0<a.B.length&&(0,g.rm)(a.B,function(a){return 1==a.Rb()})};
At=function(a){return 0<a.B.length&&(0,g.rm)(a.B,function(a){return 4==a.Rb()})};
Bt=function(a,b){g.Gf.call(this);this.g=a;this.xe=new g.Zm(this);g.L(this,this.xe);this.xe.U(b,["companion_impression","companion_click"],this.l)};
Ct=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.Zm(this);this.I={}};
rga=function(a){Dt(a);!(a.Qh instanceof g.Gf)&&"ontouchstart"in window.document.documentElement&&fo()?(a.I={touchstart:(0,g.z)(a.DS,a),touchmove:(0,g.z)(a.rJ,a),touchend:(0,g.z)(a.CS,a)},g.Kb(a.I,function(a,c){this.Qh.addEventListener(c,a,!1)},a)):a.A.U(a.Qh,"click",a.ry)};
Dt=function(a){a.A.Aa(a.Qh,"click",a.ry);g.Kb(a.I,function(a,c){this.Qh.removeEventListener(c,a,!1)},a);
a.I={}};
sga=function(a,b){a.o=[];(0,g.B)(b,function(a){g.Ta(this.o,a.identifier)},a)};
Et=function(a,b){return(0,g.Jj)(b,function(a){return g.Qa(this.o,a.identifier)},a)};
Ft=function(a){if(!tga.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(uga,"#$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]};
Gt=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.Ht=function(){g.Gf.call(this);this.g=0;this.endTime=this.startTime=null};
It=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(","))};
Jt=function(a,b,c,d,e){g.Ht.call(this);this.l=a;this.B=b;this.D=c;this.o=d;this.C=g.ya(e)?e:[e]};
Kt=function(a,b){g.Gf.call(this);this.H=b;this.D=a;this.xi=null;this.A=new g.Zm(this);g.L(this,this.A);this.l=new Ct;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?{qH:g.E(Fe(c,6))}:{brandName:g.E(Fe(c,1)),tH:g.E(Fe(c,3)),sH:g.E(Fe(c,2))};this.Je=vga(this,c);null!=this.Je&&g.M(this.Je,!1);b.appendChild(this.Je);this.A.U(this.l,"click",this.F);this.l.Eb(this.Je)};
vga=function(a,b){if(a.g){var c=Gq(Kfa,b);var d=g.H("videoAdUiBrandPrecapAutogenImage",c)}else{c=Gq(Jfa,b);d=g.H("videoAdUiBrandPrecapContent",c);null!=a.B&&(c.style.backgroundColor=Gt(Ft(a.B)));if(null!=a.o){var e=g.H("videoAdUiBrandPrecapBrandName",d),f=g.H("videoAdUiBrandPrecapBrandMessage",d);e.style.color=Gt(Ft(a.o));f.style.color=Gt(Ft(a.o))}d=g.H("videoAdUiBrandPrecapImageContainer",d);d=g.H("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.w3=function(){return!1});
return c};
Lt=function(a,b){(new Jt(a.Je,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()};
Mt=function(a,b){var c=g.be(g.Qd(a.H),"html5-video-player");null!=c&&g.R(c,"ytp-ad-display-override",b)};
Nt=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.Jm("//www.youtube.com/gen_204");g.Km(d,"https");c=Wm(c);Om(d,c);d=d.toString();d=g.hn(d,a.D.Ca);Ln(d)};
Ot=function(a,b,c,d,e,f){xq.call(this,f);this.o=a;this.B=b;this.C=c;this.A=d;this.l=e};
Pt=function(a){return null!=a.l?a.l.length:0};
Qt=function(a,b,c,d,e,f,k,l,m,n){xq.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};
Rt=function(a,b){this.A=a;this.l=b;this.o=this.B=this.C=this.g=null;this.D=Cj()};
St=function(a){return null!=a.A||null!=a.l};
Ut=function(a,b,c){null!=b&&(An(),a.B=new g.Zm(a),a.o=new g.Gf,a.o.uh(c),a.C=b,a.WB(),Tt(a,"why_this_ad_url"))};
Vt=function(a,b,c){b=g.H(b,a.g);null!=b&&a.B.U(b,"click",c)};
Wt=function(a,b,c){null!=a.g&&a.g.parentElement.removeChild(a.g);a.g=Gq(b,c);Vt(a,"videoAdUiPopupCloseIcon",a.Rm);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()};
Tt=function(a,b){null!=a.o&&a.o.dispatchEvent(b)};
Xt=function(){this.attributionText=Sr({gp:"",wm:0,ip:0});this.learnMoreText=""+Ha("Learn More {$suffix}",{suffix:O({vU:""}.vU)});this.visitAdvertiserText=""+Ha("Visit Advertiser's Site");this.se=Ur();this.skipOffset=null;this.D=this.za=this.N=this.R=!1;this.I=null;this.Y=6E3;this.l=!0;this.aa=!1;this.da=this.o=this.ca=!0;this.A=!1;this.K=!N.C;this.la=this.fa=this.ea=!1;this.C=!0;this.L=this.Ba=this.pa=this.oa=this.B=!1;this.Ca={};this.W=null;this.showContentThumbnail=!0;this.F=!1;this.g=null;this.ib=
!1;this.Ai=-1;this.Ab=!1;this.breakType=0};
Yt=function(a,b,c,d,e,f){var k=new Xt;k.B=a;k.Ma=b;k.skipOffset=c;k.X=null!=e?e.contentId:null;k.ca=e.TU;k.W=Ffa;k.Na=Kq(b,null!=c,e.Ri);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.g=e.ky;k.ib=e.NH;null!=f&&(k.Ca=f);null==c&&(a=Bn(),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));N.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};
Zt=function(a,b,c,d,e){return new Jt(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
$t=function(a,b){return Zt(a,b,"ease-out",0,1)};
au=function(a){return Zt(a,.5,"ease-in",1,0)};
cu=function(a,b){g.Gf.call(this);this.F=new g.Zm(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(wga,c)?d:null}this.B=c;c=Gq(Lfa,{preMessageText:this.B||""});d=g.H("videoAdUiLikeMsg",c);g.Ud(d,""+Ha("I like this"));d=g.H("videoAdUiDislikeMsg",c);g.Ud(d,""+Ha("I dislike this"));
null!=this.g&&(d=Fe(this.g,7),d=null!=d?xga[d]:null,null!=d&&g.Q(c,d));yga(this,c);d=g.H("videoAdUiBrandInteractionLikeButton",c);null!=d&&bu(this,d);d=g.H("videoAdUiBrandInteractionDislikeButton",c);null!=d&&bu(this,d);g.M(c,!1);this.l=c;this.D.appendChild(this.l)};
yga=function(a,b){if(null!=a.g){var c=a.g.Fe();c=null!=c?zga[c]:null;null!=c&&(0,g.B)(c,function(a){g.Q(b,a)})}};
Aga=function(a){return null!=a.g&&null!=Fe(a.g,8)?Fe(a.g,10):null};
Cga=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(Bga,b)?a:null};
bu=function(a,b){var c=new Ct;a.F.U(c,"click",a.H);c.Eb(b)};
Dga=function(a){if(null!=a.B){var b=Aga(a);if(null!=b){var c=g.H("videoAdUiBrandInteractionPreMessageText",a.l);if(null!=c){var d=au(c);g.vg(function(){d.play();g.vg(function(){g.M(c,!1)},500,this)},1E3*b,a)}}}};
Ega=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 on("yt-show-toast",null,{toastMessage:c,toastActionMessage:d,toastActionUrl:b}))}};
Fga=function(a){if(null!=a.g){var b=Cga(a);if(null!=b){var c=Gq(Mfa,{postMessageText:b});a.D.appendChild(c);g.vg(function(){$t(c,.5).play();var a=au(c);g.vg(function(){a.play()},3E3,this)},500,a)}}};
eu=function(){g.Gf.call(this);this.g=!1;this.o=this.A=this.l=null;this.B=new g.Zm(this);this.l=Gq(Tfa);this.A=g.H("videoAdUiUnmutedIcon",this.l);this.o=g.H("videoAdUiMutedIcon",this.l);du(this);this.B.U(this.l,"click",this.C)};
du=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")))};
fu=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.Zm(this);g.L(this,this.H);this.F=new Ct;g.L(this,this.F);this.I=!a.za;this.o=Gq(Qr);this.l=g.H("videoAdUiPreSkipButton",this.o);this.g=g.H("videoAdUiPreSkipText",this.l);g.Q(this.g,"videoAdUiPreviewText");this.C=g.H("videoAdUiPreSkipThumbnail",this.l);if(Bn().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={qe:""};
d=""+Ha("Ad will end in {$xSeconds}",{xSeconds:O(d.qe)});g.Ud(c,d)}}else this.B?g.Ud(this.g,Rr({qe:""})):g.Ud(this.g,""+Ha("Video will play after ad"));c=Mq(this.A.X)||"";this.A.showContentThumbnail&&!g.C(g.E(c))?(d=g.Fd("img"),d.setAttribute("src",c),g.Q(d,"videoAdUiPreSkipThumbnailImage"),this.C.appendChild(d)):this.B?(g.M(this.C,!1),g.Q(this.l,"videoAdUiPreSkipButtonNoThumbnail"),g.Q(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.gu=function(a,b,c){g.K.call(this);this.ia=null;this.o=!1;this.B=a;this.A=c;this.g=b||window;this.l=(0,g.z)(this.hI,this)};
hu=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
iu=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.ju=function(a,b,c){g.K.call(this);this.g=a;this.ad=b||0;this.l=c;this.o=(0,g.z)(this.Qx,this)};
g.ku=function(a,b){a.isActive()||a.start(b)};
g.lu=function(a){a.stop();a.Qx()};
g.mu=function(a){a.isActive()&&g.lu(a)};
ou=function(a,b){g.Gf.call(this);this.config=a;this.da=0;this.Y=!1;this.state=0==cq(this.config.skipOffset)?3:1;this.l=this.X=this.skipButton=this.oa=this.fa=this.H=this.C=this.o=null;this.Yb=new g.Zm(this);this.F=this.A=null;this.R=new Ct;this.la="";this.ca=!1;var c=a.g;c=this.g=null!=c&&null!=Re(c)?Je(Re(c),Se,1):null;this.pa=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=Gq(this.pa?Ifa:Qr);
this.C=g.H("videoAdUiPreSkipButton",this.o);this.H=g.H("videoAdUiPreSkipText",this.C);this.fa=g.H("videoAdUiPreSkipTextTimeLeft",this.C);this.oa=g.H("videoAdUiPreSkipThumbnail",this.C);this.za&&g.M(this.H,!1);Bn().g("use_forced_linebreak_preskip_text")&&(this.ca=!0,g.Q(this.H,"videoAdUiPreSkipTextForcedLineBreak"));nu(this,0);c=Mq(this.config.X)||"";Bn().g("enable_simple_skip_preview_for_postrolls")&&3==this.config.breakType&&(this.config.showContentThumbnail=!1);if(this.config.showContentThumbnail&&
!g.C(g.E(c))){var d=g.Fd("img");d.setAttribute("src",c);g.Q(d,"videoAdUiPreSkipThumbnailImage");this.oa.appendChild(d)}else N.g()?(g.Q(this.C,"videoAdUiPreSkipButtonNoThumbnail"),g.Q(this.H,"videoAdUiPreSkipTextOnlyCentered")):g.Q(this.H,"videoAdUiPreSkipTextOnly");d=!N.g()&&N.R;var e=null!=this.g&&null!=Je(this.g,$e,3)&&!this.L,f=N.g()&&Bn().g("fixed_padding_skip_button")&&!this.L;this.l=Gq(this.L?Pfa:d||e||f?Ofa:Nfa,{ou:yb(""+Ha("Skip Ad {$skipSymbol}",{skipSymbol:O({rU:""}.rU)}))});this.skipButton=
g.H("videoAdUiSkipButton",this.l);e&&(this.X=g.H("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||N.g()&&Bn().g("use_new_skip_icon")){var k=g.H("videoAdUiSkipIcon",this.skipButton);null!=k&&g.Eq(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.Q(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.H("videoAdUiSkipButtonExperimentalText",this.skipButton),null!=c&&g.Q(c,"videoAdUiFixedPaddingSkipButtonText"),g.Q(g.H(e?"videoAdUiExperimentalSkipIcon":
"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.L&&this.config.showContentThumbnail&&!g.C(g.E(c))&&(d=g.Fd("img"),d.setAttribute("src",c),g.Q(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Ca&&(c=g.H("videoAdUiSkipText",this.l),g.M(c,!1));Gga(this);"4.4.4"===(g.jo?no(ko):"")&&(this.C.style.backgroundColor="black",this.skipButton.style.backgroundColor="black");g.M(this.o,!1);b.appendChild(this.o);0==cq(this.config.skipOffset)?this.dispatchEvent("skipshown"):
(g.M(this.l,!1),g.Nh(this.l,0));b.appendChild(this.l);Bn().g("move_skip_button_to_top")&&(g.Q(this.o,"videoAdUiHighPreSkipContainer"),g.Q(this.l,"videoAdUiHighSkipContainer"));this.Yb.U(this.R,"click",this.qU);this.R.Eb(this.skipButton)};
nu=function(a,b){var c=null!=a.config.skipOffset&&-1!=cq(a.config.skipOffset)?cq(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=bp(d));d=Bn().g("enable_simple_skip_preview_for_postrolls")&&3==a.config.breakType;var e=a.la;d?e=a.ca?"postrollforcedlinebreak":"postroll":a.ca&&(e="forcedlinebreak");d={hn:e,qe:c,LA:"\n"};a.pa&&null!=a.fa?g.Ud(a.fa,c):(c=a.H,d=d||{},d=""+Fp("b",d.hn)(d,void 0),g.Ud(c,d))}};
pu=function(a){return new Jt(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
qu=function(a,b){null!=a.C&&g.M(a.C,b);null!=a.skipButton&&g.M(a.skipButton,b)};
Gga=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=Gt(Ft(b)),c&&(a.Yb.U(g.Qd(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=Gt(Ft(c))}),a.Yb.U(g.Qd(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=Gt(Ft(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.Ud(a.X,Fe(d[0],1))}}};
wu=function(a,b){ou.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=ru;null!=c&&(null!=Fe(c,10)&&Fe(c,10)||null!=Fe(c,9)&&!Fe(c,9))&&(d=tu);this.I=d;c=this.g;d=uu;null!=c&&(null!=Fe(c,12)&&Fe(c,12)||null!=Fe(c,11)&&!Fe(c,11))&&(d=vu);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.aa=d;this.D=0};
xu=function(a){null==a.B&&"4.4.4"!=(g.jo?no(ko):"")&&1!=a.D&&(g.cf(a.A),a.A=null,a.B=g.vg(function(){Zt(this.l,.5,"ease-in",1,this.aa).play();this.D=1;this.B=null},0,a))};
zu=function(a,b){if(0!=a.D){if(b){if(null!=a.B||"4.4.4"==(g.jo?no(ko):""))return;a.B=g.vg(function(){Zt(this.l,.5,"ease-in",this.aa,1).play();this.B=null},0,a)}else yu(a),g.Nh(a.l,1);
a.D=0}};
yu=function(a){null!=a.B&&(g.wg(a.B),a.B=null)};
Au=function(a){null!=a.K&&(g.wg(a.K),a.K=null)};
Bu=function(a,b,c){var d=null;switch(c){case uu:null!=b&&null!=b.skipOffset&&(d=1E3*(a-cq(b.skipOffset)));break;case vu:a=g.x("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Hb(a):null}return d};
Cu=function(a,b){var c=1E3*a.Uw;null!=b&&null!=Fe(b,13)&&(c=Fe(b,13));return c};
Du=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()};
Eu=function(a){var b=a.g;var c=g.Lh(a.A);c="left"==a.B?"0px":"right"==a.B?c.width-a.o.Ud().width+"px":a.B+"px";var d=g.Lh(a.A);a="bottom"==a.C?"0px":"top"==a.C?d.height-a.o.Ud().height+"px":d.height-a.o.Ud().height-Hb(a.C)+"px";g.sh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
Hga=function(a){g.Oh(a.g)||(g.M(a.g,!0),(0,g.B)(a.I,function(a){Ln(a)}))};
Hu=function(a,b,c,d){g.Gf.call(this);this.g=a;this.Db=this.da=!1;this.ca=c;this.ob=d;this.jb=this.Ma=this.Na=this.L=this.W=this.H=this.R=this.la=this.A=this.B=this.Ta=this.fa=this.ea=this.F=this.oa=this.Y=this.D=this.C=this.N=this.aa=this.I=this.Ya=this.Ca=this.za=this.K=this.l=null;this.o=new g.Zm(this);this.pa=[];a=this.g;this.Vb=null!=a&&null!=a.g&&null!=Re(a.g)?Je(Re(a.g),Te,2):null;this.X=[];this.da=!this.g.F&&N.g();this.Qa=!N.g()&&N.Qa;a="";this.da?a="redesign2014q4":this.Qa&&(a="fixedDirectionality");
a={attributionText:this.g.attributionText,learnMoreText:this.g.learnMoreText,se:this.g.se,hn:a};this.l=Gq(this.g.W,a);this.g.ib||this.o.U(this.l,"touchmove",this.EJ);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.Ya=g.H("videoAdUiVisitAdvertiserLink",this.l);this.I=g.H("videoAdUiVisitAdvertiserLinkText",this.l);this.aa=
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.jb=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.oa=g.H("videoAdUiBottomBar",this.l);null!=this.N&&this.o.U(this.N,"click",this.mH);null!=this.C&&(c=new Ct,this.X.push(c),this.o.U(c,"click",this.nH),c.Eb(this.C));null!=this.D&&(c=new Ct,c.B=!0,this.X.push(c),this.o.U(c,"click",this.Vy),c.Eb(this.D));null!=this.Y&&(c=new Ct,c.B=!0,this.X.push(c),this.o.U(c,"click",this.Vy),c.Eb(this.Y));null!=this.L&&this.o.U(this.L,"click",this.nU);null!=this.F&&(c=new Ct,this.X.push(c),this.o.U(c,"click",this.BU),
c.Eb(this.F));null==this.ea||!N.g()&&ao()||this.o.U(this.l,"mouseover",this.kU);null!=this.I&&this.o.U(this.I,"click",this.yp);null!=this.aa&&this.o.U(this.aa,"click",this.yp);null!=this.K&&null!=this.g.H&&St(this.g.H)&&(g.Q(this.K,"videoAdUiWtaClickable"),this.o.U(this.K,"click",this.qT),this.o.U(this,"why_this_ad_got_it",this.YU));this.g.breakType=this.ob;null!=this.g.skipOffset?(this.A=N.g()?new wu(this.g,this.l):new ou(this.g,this.l),this.A.uh(this),this.A.la=a.hn):!this.g.R||3==this.ob&&(3500>
this.ca||Bn().g("disable_ad_preview_for_postroll_nonskip")&&!this.g.N)||(this.H=new fu(this.g,this.l),g.L(this,this.H),this.H.uh(this));this.g.D&&(this.la=new Kt(this.g,this.l),g.L(this,this.la),this.la.uh(this));a=this.g;a.Ab?(a=a.g,a=N.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 cu(this.g,this.l),this.o.U(this.R,"yt-show-toast",this.rH),this.o.U(this.R,"feedbackShown",this.fq),this.o.U(this.R,"feedbackLike",this.fq),this.o.U(this.R,"feedbackDislike",
this.fq));this.g.ea&&(this.W=new eu,this.W.uh(this),this.oa.insertBefore(this.W.l,this.K));400>=((0,window.parseInt)(wh(b,"width"),10)||b.width)&&g.Q(this.l,"videoAdUi-mobile");this.g.F&&(g.Q(this.l,"blazer"),Bn().g("mweb_enable_instream_ui_refresh")&&g.Q(this.l,"blazer-ui-for-cougar"),window.settings&&window.settings.isTablet||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.IS_TABLET?(g.Q(this.l,"tablet"),(window.settings&&window.settings.customControls||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.USE_CUSTOM_CONTROLS)&&
g.Q(this.l,"customControls")):g.Q(this.l,"phone"));a=g.be(b,"html5-video-player");null!=a&&(this.da&&g.Q(a,"videoAdUiRedesign"),g.R(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));Fu(this,0,this.ca/1E3,1,1);Gu(this)};
Iga=function(a){null!=a.B&&g.M(a.B,!1)};
Iu=function(a){a.A&&(a.A.dispose(),a.A=null)};
Ju=function(a,b){a.pa=b;(0,g.B)(b,function(a){a.A=this.l;a.A.appendChild(a.g);Eu(a);g.M(a.g,!1);var b=a.zc();if(null!=b){var c=new Ct;c.B=!0;this.X.push(c);this.o.U(c,"click",(0,g.z)(this.kJ,this,a));c.Eb(b)}},a)};
Ku=function(a){null!=a.I&&(g.M(a.I,!0),g.Ud(a.I,a.g.visitAdvertiserText));null!=a.aa&&g.M(a.aa,!0)};
Lu=function(a,b){if(null!=a.l){var c=g.be(g.Qd(a.l),"html5-video-player");null!=c&&(g.R(c,"ytp-ad-end-cap",b),Bn().g("desktop_trv_action_endcap_background_clickable")&&g.R(c,"ytp-endcap-background-clickable",b),g.R(c,"ytp-ad-display-override",b))}};
Gu=function(a){var b=a.g.C&&(a.ca>a.g.Y||0==a.ca),c=b&&a.g.pa,d=b&&a.g.Ba,e=b&&a.g.A,f=b&&a.g.la;b=b&&a.g.L;var k=a.g.fa&&a.g.o,l="0px";var m=a.Vb;m=N.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.jb&&g.M(a.jb,!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.oa&&!N.g()&&g.sh(a.oa,"bottom",
l);Mu(a);null!=a.za&&g.M(a.za,a.g.aa);null!=a.Ya&&g.M(a.Ya,m);N.g()||!a.g.K||N.C||(null!=a.D&&g.M(a.D,!1),null!=a.Y&&g.M(a.Y,!1))};
Fu=function(a,b,c,d,e){var f=Sr({gp:"",wm:0,ip:0});a.g.o&&a.g.da&&(b=bp(c-b),f=Sr({gp:a.g.F?" \u2022 "+b:a.da?" \u00b7 "+b:": ("+b+")",wm:d,ip:e}));g.Ud(a.Ca,f);g.M(a.K,a.g.l)};
Jga=function(a,b){null!=a.la&&a.la.show(b)};
Mu=function(a){var b=a.g.C&&(a.ca>a.g.Y||0==a.ca)&&a.g.A?a.g.K?!N.C||a.Db:!0:!1;null!=a.D&&g.M(a.D,b);null!=a.Y&&g.M(a.Y,N.g()&&a.g.B&&!b)};
Nu=function(){g.K.call(this);this.A="";this.Ua=null;this.o=new Wp;this.l=new g.Dm;this.C=[];this.H=!1;this.g={};this.F={};this.B=-1;this.D=[]};
Ou=function(a,b,c){c=c||dq(a.o,b.type);if(N.l){var d=jp(gp(),b.type,a.A);a.I(b.type,c,d)}else zea(Oo(),b.type,a.A,(0,g.z)(a.I,a,b.type,c))};
Kga=function(a,b){null!=b&&(0,g.B)(b,function(a){g.Qa(this.D,a)||this.D.push(a)},a)};
Pu=function(a,b,c){null!=c.viewability&&Uq(a.g,c.viewability);var d;N.l||(d=Oo().I||void 0);var e=[];(0,g.B)(b,function(a){var b=this.g;Vq(b,a,"MOAT_INIT",c.moatInit);Vq(b,a,"MOAT_VIEWABILITY",c.moatViewability);Vq(b,a,"IAS_VIEWABILITY",c.integralAdsViewability);Vq(b,a,"DV_VIEWABILITY",c.doubleVerifyViewability);Vq(b,a,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(On(a,this.g,c,d))},a);
Uq(a.g,"na");return e};
Qu=function(a,b,c){(0,g.B)(b,function(a){Ln(a,void 0,void 0,c)},a)};
Lga=function(a,b){switch(b){case "abandon":return!Fm(a.l,b)&&!Fm(a.l,"skip")&&!Fm(a.l,"instreamAdComplete")&&(Fm(a.l,"impression")||a.H);case "instreamAdComplete":case "complete":return!Fm(a.l,b)&&!Fm(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!Fm(a.l,b)}};
Ru=function(a){g.Gf.call(this);this.ads=a;this.qc=null;this.xe=new g.Zm(this);g.L(this,this.xe);this.Vc="normal";this.Ea=this.volume=null;this.La=new Ko;this.ge=!1;this.content={};this.Wb=new Nu;this.Ja=null;this.Um=!1;Oo();this.zp=(0,g.z)(this.gI,this);this.Wi=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.Re=a.length;var f=d+1;c.g=f;c.o=f})};
Su=function(a,b){if(a.qc=b)a.Wb.A=b.I;if(N.l){var c=gp();kp(c,a.zp);b&&c.l.set(b.I,a.zp)}};
Tu=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:Tu(a,b.l)};
Uu=function(a){return(0,g.Jj)(a.ads,function(a){return(0,g.Jj)(this.Qg(a),function(a){a=a.Oa();return!g.C(g.E(Jq(a)))})},a)};
Vu=function(a){a=a.g;return null!=a&&a instanceof jq};
Wu=function(a,b){Ou(a.Wb,new g.ef(b));a.ga(b)};
Mga=function(a,b){return(0,g.rm)(g.Sb(b),function(a){return Ub(this.La,a)},a)};
Yu=function(a){if(!a.Cc())throw Un(Xu,null,"Ads manager is not correctly configured.");};
Zu=function(a,b){for(var c=b;null!=c;)(0,g.B)(c.R.rb(),a.ET,a),c=c.l};
Nga=function(a){if(!g.ya(a))throw Un(Xu,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.Ya(g.Qb($u),g.Qb(nq));(0,g.B)(a,function(a){if(!g.Qa(b,a))throw Un(Xu,null,"Invalid or unsuppoted mime type "+a);})};
av=function(a){var b=a.ka();if(null!=b){var c=b.g;if(c instanceof jq&&(c=c.oa,null!=c&&!g.Ra(c))){var d=window.document.body,e=Tq(a.ka());e=Yt(!1,null,null,!1,a.La,e);e.C=!1;e.l=!1;e.o=!1;b=b.Ye();a.Ja=new Hu(e,d,1E3*a.getDuration(),b);Ju(a.Ja,c);a.Ja.show();a.Sa().U(a.Ja,"videoIconClicked",a.lQ)}}};
bv=function(a,b,c){null!=a.Ja&&0<=c&&0<=b&&a.Ja.update(b,0,c,0,0)};
Oga=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(cv,a,"attribute");c(cv,b,"param")};
g.dv=function(){};
g.ev=function(a){g.Gf.call(this);this.H=a||g.pd();this.ia=null;this.Ke=!1;this.g=null;this.C=void 0;this.D=this.K=this.A=null};
fv=function(a){return a.ia||(a.ia=":"+(a.nJ.g++).toString(36))};
gv=function(a,b){if(a.Ke)throw Error("Component already rendered");a.g||a.En();b?b.insertBefore(a.g,null):a.H.g.body.appendChild(a.g);a.A&&!a.A.Ke||a.Yi()};
hv=function(a,b){a.K&&(0,g.B)(a.K,b,void 0)};
iv=function(a,b){g.ev.call(this,b);this.I=a;this.o=new g.Zm(this);this.l=new g.Dm};
jv=function(a){return a.ma()?a.ma().firstChild:null};
kv=function(a){g.Gf.call(this);this.Ua=null;this.C=a;this.l=null;this.A=-1;this.B=!1;this.o=Cb()};
lv=function(){};
mv=function(a,b,c){this.g=a;this.vf=c;this.l=b};
Pga=function(a,b){this.g=a;this.l=b};
nv=function(a,b,c,d){qq.call(this,a,b,"Static",c,d);this.ow=!1};
ov=function(a,b,c,d){qq.call(this,a,b,"Html",c,d)};
pv=function(a,b,c,d){qq.call(this,a,b,"Static",c,d)};
rv=function(a,b,c){if(g.Ra(c))return new qq(a,b,"",null,"");var d=qv(c);c=d.l;var e=d.g;d=d.o;switch(c){case "Html":return new ov(a,b,e,d);case "Static":switch(nq[e]){case "Image":return new pv(a,b,e,d);case "Flash":return new nv(a,b,e,d);case "Text":return new Iq(a,b)}}return new qq(a,b,c,e,d)};
qv=function(a){var b=g.Ma(a,function(a){return"Static"==a.l&&"Flash"==nq[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"==nq[a.g]}),f=g.Ma(a,function(a){return"Static"==a.l&&"Text"==nq[a.g]});
return $o&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Qga=function(a,b,c,d,e,f){var k=qv(f),l=rv(a.id,a.size,[k]);l.C=!0;l.I=a.apiFramework;l.la=b;l.K=c;l.g=d;e&&(l.uj=e);g.Wa(f,k);var m=[];(0,g.B)(f,function(f){f=rv(a.id,a.size,[f]);f.C=!0;f.I=a.apiFramework;f.la=b;f.K=c;f.g=d;e&&(f.uj=e);m.push(new Br(f,[],a.adSlotId))});
return new Br(l,m,a.adSlotId)};
tv=function(a,b,c){this.l=a;this.g=b;this.o=c};
uv=function(a,b,c){xq.call(this);this.l=a;this.o=b;this.A=c};
vv=function(){this.Ua=null};
wv=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};
Rga=function(a,b){a.g=b};
xv=function(a,b,c,d,e,f,k,l,m,n,q){xq.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};
yv=function(){};
Tga=function(a,b){var c;(0,g.B)(g.Nd(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new wv:null;break;case "params":null!=c&&Sga(this,c,a)}},a);
return c};
Sga=function(a,b,c){(0,g.B)(g.Nd(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=rs(c,!1)}},a)};
zv=function(){this.Ua=null};
Av=function(){};
Bv=function(){};
Cv=function(){};
Dv=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]=Dv(a[d]));else a instanceof Object&&(b={},Ev(b,a));return b};
Ev=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=Dv(b[c]))};
Gv=function(a){return{ox:a}};
Hv=function(a,b,c){this.type=a;this.label=b;this.ce=c};
Iv=function(a,b){return new Hv(a,1,b)};
Jv=function(a){new Hv(a,2,void 0)};
Kv=function(a,b){return new Hv(a,3,b)};
Lv=function(a){return Iv("m",a)};
Mv=function(a){return Kv("m",a)};
Nv=function(a){this.data=a||{}};
Ov=function(a,b,c){a=a.data[b];return null!=a?a:c};
Pv=function(a,b){return!!Ov(a,b,void 0)};
Yr=function(a,b){return Ov(a,b,"")};
Qv=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]};
Uga=function(a){for(var b=Rv,c=[],d=0;d<Sv(a,"event");d++)c.push(new b(Qv(a,"event",d)));return c};
Sv=function(a,b){return a.data[b]?a.data[b].length:0};
Tv=function(a){this.data=a||{}};
Uv=function(a){this.data=a||{}};
Vv=function(a){this.data=a||{}};
Wv=function(a){this.data=a||{}};
Rv=function(a){this.data=a||{}};
Xv=function(a){this.data=a||{}};
Yv=function(a){this.data=a||{}};
Zv=function(a){this.data=a||{}};
gt=function(a){this.data=a||{}};
Fr=function(a){return new Xv(a.data.product_card)};
Nr=function(a){return new Wv(Qv(a,"action",0))};
ft=function(a){return Pv(a,"show_in_endcap")};
ht=function(a){return Pv(a,"show_in_companion")};
ew=function(){if(!$v){var a={};$v=Gv(a);a.type=aw;a.id=bw;a.link_url=bw;a.title=bw;a.image=Lv(cw());a.event=Mv(dw());a.target=bw;a.priority=bw}return $v};
$r=function(a){return Yr(a,"title")};
Mr=function(a){return Yr(a,"target")};
dw=function(){if(!fw){var a={};fw=Gv(a);a.type=aw;a.base_url=bw}return fw};
Jr=function(a){return new gt(a.data.image)};
Gr=function(a){return new Yv(Qv(a,"offer",0))};
Ir=function(a){return Yr(a,"merchant")};
Kr=function(a){return Yr(a,"price")};
gw=function(a){return new Wv(Qv(a,"action",0))};
as=function(a){return Yr(a,"description")};
cw=function(){if(!hw){var a={};hw=Gv(a);a.image_url=bw;a.thumbnail_url=bw;a.image_height=iw;a.image_width=iw}return hw};
jw=function(a,b,c){xq.call(this,c);this.l=a;this.o=b||null};
kw=function(a){this.g=a};
mw=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.ox[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]=lw[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.ox[f.nodeName],null!=k)){var l=mw(a,f,k.ce);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
Vga=function(a,b){var c=new Wp;(0,g.B)(g.Nd(b),function(a){"CustomTracking"==a.nodeName&&null!=g.Nd(a)&&(c=vs(a,!1,(0,g.z)(function(a,b){return nw(a,b)},this)))},a);
return c};
nw=function(a,b){return g.hn(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
ow=function(a,b){xq.call(this);this.o=a;this.l=g.E(b)};
pw=function(a){xq.call(this);this.l=a};
qw=function(){this.Ua=null};
rw=function(a,b){this.logger=null;this.o=b;this.g={};this.l=[];this.g.CustomTracking=vs;this.g.UI=this.B};
tw=function(a,b){if(null==b)return null;var c={};(0,g.B)(g.Nd(b),function(a){c[a.nodeName]=null!=this.g[a.nodeName]?this.g[a.nodeName].call(this,a):null},a);
return null==c.UI?null:c};
uw=function(){rw.call(this,"MuteExtensionParser","mute_");this.g.SurveyOptions=this.A};
vw=function(){xq.call(this);this.l=""};
ww=function(){this.Ua=null};
xw=function(a,b,c,d){xq.call(this);this.A=a;this.o=b;this.B=c;this.l=d};
yw=function(){this.Ua=null};
zw=function(a){xq.call(this,a)};
Aw=function(){};
Bw=function(){xq.call(this)};
Cw=function(){this.Ua=null};
Wga=function(a,b){var c;(0,g.B)(g.Nd(b),function(a){a.nodeName==this.g.LG&&(c=ns(a))},a);
return c};
Dw=function(a,b,c,d,e,f){xq.call(this);this.B=a||"";this.C=b||"";this.D=c||"";this.A=d;this.l=e;this.o=f};
Ew=function(){this.Ua=null};
Fw=function(a){xq.call(this);this.l=a};
Gw=function(){this.Ua=null};
Hw=function(){rw.call(this,"WhyThisAdExtensionParser","why_this_ad_");this.l.push("targeting_reason")};
Iw=function(a,b){return null!=a?(0,g.rm)(b,function(b){return b in a}):!1};
Xga=function(a,b){return null!=a?(0,g.Jj)(b,function(b){return b in a}):!1};
Jw=function(){};
Kw=function(){xq.call(this)};
Lw=function(){};
Mw=function(){};
Nw=function(a){this.A=a;this.logger=null};
Ow=function(a){if(null==a)return!1;a=g.Pd(a);return null!=a&&"VAST"==a.nodeName};
Qw=function(a,b){var c=[],d=null;try{var e=g.fs(a),f=g.Pd(e);null!=f&&"CompanionAds"==f.nodeName&&(d=Pw(Nw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
Rw=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};
Zga=function(a){var b=[],c=g.Pd(a.A),d=Rw(c);os(c,a.g.IE,function(a){var c=Sw(a);if(null==c)throw is(a);var e=a.getAttribute(this.l.Zl);a=Number(a.getAttribute(this.l.Av));var l=e||null;e=a||0;var m=null,n=null;a=[];for(var q=[],r=[],u=[],D=new g.Dm,I,S=c.nodeName==this.g.YG,Z=S,V=S,Fa=null,pa=g.Nd(c),wc=0,wd=pa.length;wc<wd;wc++){var Va=pa[wc];switch(Va.nodeName){case this.g.JE:ns(Va);case this.g.qG:break;case this.g.UG:if(S){if(null!=I)throw js(Va);I=ns(Va);Fa=$fa(I);Z=rs(c.getAttribute(this.l.OE),
Z);V=rs(c.getAttribute(this.l.CF),V)}else throw is(Va);break;case this.g.ME:m=ns(Va);break;case this.g.NE:n=ns(Va);break;case this.g.rF:ns(Va);break;case this.g.JG:ns(Va);break;case this.g.fm:Va=ns(Va);ts(Va)&&a.push(Va);break;case this.g.ERROR:Va=ns(Va);q.push(Va);break;case this.g.kF:u=Yga(this,Va);r=u.creatives;u=u.AH;break;case this.g.zF:var fd=Va;D=Fa;Va=new g.Dm;try{var lc=ls(fd,this.g.EXTENSION);fd=0;for(var Gi=lc.length;fd<Gi;fd++){var Nb=lc[fd],Rb=Nb.getAttribute(this.l.Ov);null!=Rb?Rb=Rb.toLowerCase():
Rb="generic";switch(Rb){case "programmatic":var Gb=(new ww).parse(Nb);break;case "geo":Gb=(new Lw).parse(Nb);break;case "pod":Gb=(new Jw).parse(Nb);break;case "waterfall":Gb=(new Mw).parse(Nb);break;case "dart":Gb=(new Av).parse(Nb);break;case "dfp":Rb="DFP";Gb=(new Bv).parse(Nb);break;case "adsense":Rb="AdSense";Gb=(new zv).parse(Nb);break;case "textad":Rb="TextAd";Gb=(new Ew).parse(Nb);break;case "templatead":Rb="TemplateAd";Gb=(new Cw).parse(Nb);break;case "infocards":Rb="InfoCards";var Hi=new kw(!0);
Gb=Hi.parse(Nb);break;case "infocardstracking":Rb="InfoCardsTracking";Hi=new kw(!1);Gb=Hi.parse(Nb);break;case D:case "prefetchedad":Rb="LocalRedirect";var Be=Nb;if(null==Be)Gb=null;else{var Ii=null,vl=ls(Be,"AdXml");if(1==vl.length){var Dc=g.Pd(vl[0]);if(null!=Dc)try{Ii=ks(Dc)}catch(Nn){Ii='<?xml version="1.0" encoding="UTF-8"?>'+gs(Dc)}else Ii='<?xml version="1.0" encoding="UTF-8"?>'+gs(Dc)}var Ig=ls(Be,"VASTAdTagURI");Be=null;1==Ig.length&&(Be=Ig[0].textContent);Gb=new ow(Ii,Be)}break;case "viral":Rb=
"viral";Gb=(new Gw).parse(Nb);break;case "metrics":Rb="metrics";Gb=(new qw).parse(Nb);break;case "adx":Rb="adx";Gb=(new xs).parse(Nb);break;case "why_this_ad":Rb="why_this_ad";Gb=(new Hw).parse(Nb);break;case "mute":Rb="mute";Gb=(new uw).parse(Nb);break;case "sodar":Gb=(new yw).parse(Nb);break;case "survey":Gb=(new Aw).parse(Nb);break;case "adformat":Rb="AdFormat";Gb=(new vv).parse(Nb);break;default:var Fv=new Cv;Rb="generic";Gb=Fv.parse(Nb)}if(null!=Gb){var Rd=Va.get(Rb);null!=Rd?"generic"==Rb&&
(dfa(Rd,Gb.g),Va.set(Rb,Rd)):Va.set(Rb,Gb)}}}catch(Nn){if(!g.Aa(Nn.Tb)||1105==Nn.Tb())throw Nn;}D=Va}}c=g.E(l);lc=m;a:if(g.C(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"}D.get("programmatic");Nb=
D;Rb=null;D=D.get("AdSense");null!=D&&(D=yq(D,"vast2tracking"),null!=D&&!g.Ra(D)&&(Rb=D[0]));e=new Bs(c,lc,Gi,n,e,q,a,r,u,Nb,I,Z,V,Rb);null!=e&&(e.Qa=d,b.push(e))},a);
return b};
Sw=function(a){var b=null;a=g.Nd(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw is(b);}return b};
$ga=function(a){if(g.C(g.E(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
Yga=function(a,b){var c=[],d=[];os(b,a.g.jF,function(a){var b=a.getAttribute(this.l.Av),e=window.NaN;g.C(g.E(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.l.KE);b=a.getAttribute(this.l.Zl);var l=!1,m=[];a=g.Nd(a);for(var n=0,q=a.length;n<q;n++){var r=a[n];switch(r.nodeName){case this.g.SG:var u=r,D=ns(u);D=g.E(D);g.C(D)&&u.getAttribute(this.l.KF);r.getAttribute(this.l.JF);break;case this.g.LINEAR:if(l)throw js(r);l=aha(this,r,(0,window.isNaN)(e)?0:e,b||null);$a(c,l);$a(m,l);l=!0;break;case this.g.ZE:if(l)throw js(r);
l=Pw(this,r,(0,window.isNaN)(e)?0:e);$a(d,l);l=!0;break;case this.g.hG:if(l)throw js(r);l=bha(this,r,(0,window.isNaN)(e)?0:e,b||null);$a(c,l);$a(m,l);l=!0}}n=0;for(q=m.length;n<q;n++);},a);
return{creatives:c,AH:d}};
bha=function(a,b,c,d){var e=[],f=new Wp;b=g.Nd(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.g.gG:m=cha(a,m,c,d);null!=m&&e.push(m);break;case a.g.Op:f=vs(m);break;default:throw is(m);}}0!=e.length||f.isEmpty()||(a=new qq(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};
Tw=function(a,b){var c={};c.id=b.getAttribute(a.l.Zl);c.adSlotId=b.getAttribute(a.l.LE);c.apiFramework=b.getAttribute(a.l.Wl);var d=Db(b.getAttribute(a.l.km)),e=Db(b.getAttribute(a.l.Xl));c.size=new g.kd(d,e);d=b.getAttribute(a.l.yF);e=b.getAttribute(a.l.xF);g.C(g.E(d))||g.C(g.E(e))||(c.r3=new g.kd(Db(d),Db(e)));return c};
cha=function(a,b,c,d){var e=Tw(a,b);b.getAttribute(a.l.Wl);b.getAttribute(a.l.xG);b.getAttribute(a.l.TF);var f=b.getAttribute(a.l.bG);f=qs(f,-1);var k=[];new g.Dm;var l={},m="",n=null,q=[];b=g.Nd(b);for(var r=0,u=b.length;r<u;r++){var D=b[r];switch(D.nodeName){case a.g.jG:q.push(ns(D));break;case a.g.iG:n=ns(D);break;case a.g.Gp:l=Uw(D);m=g.E(ns(D));break;case a.g.dm:case a.g.gm:case a.g.Yl:D=Vw(a,D);null!=D&&k.push(D);break;default:throw is(D);}}a=rv(e.id,e.size,k);fq(a,m,l);a.I=e.apiFramework;a.la=
n;a.K=q;a.Ab=f;a.g=c;a.ea=d;return a};
Vw=function(a,b){var c=ms(b,a.l.lF);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.g.gm:d="Static";break a;case a.g.dm:d="IFrame";break a;case a.g.Yl:d="Html";break a;default:throw Tn(dha,null,d);}}var e=ns(b);null!=e||(e="");return new tv(d,c,e)};
Pw=function(a,b,c){var d=[],e=$ga(ms(b,a.l.uG));os(b,a.g.YE,function(a){var b=Tw(this,a);var e=[],f=new Wp,n=null,q=[];a=g.Nd(a);for(var r=0,u=a.length;r<u;r++){var D=a[r];switch(D.nodeName){case this.g.bF:q.push(ns(D));break;case this.g.Op:f=vs(D,!0);break;case this.g.aF:n=ns(D);break;case this.g.PE:ns(D);break;case this.g.Gp:ns(D);break;case this.g.dm:case this.g.gm:case this.g.Yl:D=Vw(this,D);null!=D&&e.push(D);break;default:throw is(D);}}b=g.Ra(e)?null:Qga(b,n,q,c,f,e);null!=b&&d.push(b)},a);
return new Pga(d,e)};
aha=function(a,b,c,d){var e=new Wp,f={},k="",l=[],m=null,n=new g.Dm,q=[],r=[],u=0,D=us(ms(b,a.l.BG));b=g.Nd(b);for(var I=0,S=b.length;I<S;I++){var Z=b[I];switch(Z.nodeName){case a.g.EF:r=eha(a,Z);break;case a.g.Gp:f=Uw(Z);k=g.E(ns(Z));break;case a.g.Jp:u=qs(ns(Z),0);break;case a.g.Op:e=vs(Z);break;case a.g.XF:q=fha(a,Z);break;case a.g.VG:l=gha(a,Z);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw is(Z);}}(0,g.B)(l,function(a){aq(e,"click",a)});
a=new jq(u,m,n,q,D,r);fq(a,k,f);a.g=c;a.ea=d;e&&(a.uj=e);return a};
gha=function(a,b){for(var c=null,d=[],e=new g.Dm,f=g.Nd(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.g.WE:c=ns(m);break;case a.g.XE:m=ns(m);d.push(m);break;case a.g.nF:var n=ms(m,a.l.Zl);null!=n||(n="");var q=e.get(n,[]);q.push(ns(m));e.set(n,q);break;default:throw is(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
fha=function(a,b){for(var c=[],d=ls(b,a.g.WF),e=0,f=d.length;e<f;e++){var k=d[e],l=ms(k,a.l.qF),m=ms(k,a.l.Ov);ms(k,a.l.WG);var n=Db(k.getAttribute(a.l.km)),q=Db(k.getAttribute(a.l.Xl)),r=k.getAttribute(a.l.Wl),u=ns(k),D=ps(k.getAttribute(a.l.Yu)),I=ps(k.getAttribute(a.l.aG));k=ps(k.getAttribute(a.l.VF));l=new iq(l,m,D,I,k,n,q,u,r);c.push(l)}return c};
eha=function(a,b){var c=[];os(b,a.g.DF,function(a){var b=a.getAttribute(this.l.rG);var d=ms(a,this.l.ZG),k=ms(a,this.l.bH),l=Db(a.getAttribute(this.l.km)),m=Db(a.getAttribute(this.l.Xl)),n=new g.kd(l,m);l=a.getAttribute(this.l.Wl);m=us(ms(a,this.l.kG));var q=a.getAttribute(this.l.Jp);q=qs(q,-1);var r=[],u=[],D={};a=g.Nd(a);for(var I=0,S=a.length;I<S;I++){var Z=a[I];switch(Z.nodeName){case this.g.IF:u.push(ns(Z));break;case this.g.FF:D=[];var V=null;Z=g.Nd(Z);for(var Fa=0,pa=Z.length;Fa<pa;Fa++){var wc=
Z[Fa];switch(wc.nodeName){case this.g.GF:V=ns(wc);break;case this.g.HF:D.push(ns(wc));break;default:throw is(wc);}}D={iconClickThrough:V,lJ:D};break;case this.g.dm:case this.g.gm:case this.g.Yl:V=Vw(this,Z);null!=V&&r.push(V);break;default:throw is(Z);}}g.Ra(r)?b=null:(a=D,n=rv("icon"+b,n,r),n.I=l,b=new Du(n,b,d,k,q,m,a.iconClickThrough,a.lJ,u));null!=b&&c.push(b)},a);
return c};
Uw=function(a){a=ns(a);return null!=a?Fea(a):{}};
Ww=function(a){Ru.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==N.D};
Xw=function(a){var b=a.Yc("getAdLinear");return g.ta(b)?b:a.o};
Yw=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)}};
$w=function(a,b){var c=Un(Zw,b,void 0),d=Sq(c,a.ka()),e=Ks(a.ka());Qn(e,d);Zw.message=c.Dd();Xn(a,Zw,b);a.stop()};
ax=function(a){a.R||(a.R=!0,Wu(a,"complete"))};
bx=function(a){Ru.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};
cx=function(a){var b=a.gd("getAdLinear");return g.ta(b)?b:a.o};
dx=function(a){if(!a.o){var b=a.gd("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)}};
ex=function(a,b,c,d){d=Un(b,c,d);var e=Sq(d,a.ka()),f=Ks(a.ka());Qn(f,e);b.message=d.Dd();Xn(a,b,c)};
fx=function(a){a.N||(a.N=!0,Wu(a,"complete"))};
gx=function(a){on.call(this,"adMetadata",a)};
hx=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
ix=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.jx=function(a){if(g.w.JSON)try{return g.w.JSON.parse(a)}catch(b){}return kba(a)};
kx=function(){};
mx=function(a){var b;(b=a.g)||(b={},lx(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};
nx=function(){};
ox=function(a){return(a=lx(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};
lx=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.px=function(a){g.Gf.call(this);this.headers=new g.Dm;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};
sx=function(a,b){a.B=Math.max(0,b)};
hha=function(a){return g.zd&&g.rc(9)&&g.ua(a.timeout)&&g.t(a.ontimeout)};
iha=function(a){return"content-type"==a.toLowerCase()};
vx=function(a,b){a.o=!1;a.g&&(a.A=!0,a.g.abort(),a.A=!1);a.C=b;a.l=5;tx(a);ux(a)};
tx=function(a){a.R||(a.R=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
zx=function(a){if(a.o&&"undefined"!=typeof wx)if(a.L[1]&&4==g.xx(a)&&2==a.getStatus())yx(a,"Local request error detected and ignored");else if(a.H&&4==g.xx(a))g.vg(a.Tx,0,a);else if(a.dispatchEvent("readystatechange"),4==g.xx(a)){yx(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=!jha.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.l=6;try{var l=2<g.xx(a)?a.g.statusText:""}catch(m){l=""}a.C=l+" ["+a.getStatus()+"]";tx(a)}}finally{ux(a)}}};
ux=function(a,b){if(a.g){Ax(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){}}};
Ax=function(a){a.g&&a.K&&(a.g.ontimeout=null);a.D&&(g.wg(a.D),a.D=null)};
g.xx=function(a){return a.g?a.g.readyState:0};
g.Bx=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};
yx=function(a,b){return b+" ["+a.Y+" "+a.I+" "+a.getStatus()+"]"};
kha=function(a,b,c,d){var e=new g.Jm("https://www.googleapis.com/youtube/v3/videos");g.Sm(e,"id",a);g.Sm(e,"part","snippet,status,statistics");g.Sm(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));Cx(new g.px,e,b,c)};
lha=function(a,b,c,d){var e=new g.Jm("https://www.googleapis.com/youtube/v3/channels");g.Sm(e,"id",a);g.Sm(e,"part","snippet,statistics,brandingSettings");g.Sm(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));Cx(new g.px,e,b,c)};
Cx=function(a,b,c,d){g.Sm(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");sx(a,2E3);var e=new g.Zm(a);e.hh(a,"success",function(a){a=a.target;var b=a.g?g.jx(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(ix(a.l)));d(b);e.dispose();a.dispose()});
a.send(b)};
Dx=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};
Hx=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.aa=e;this.W=!("csi.gstatic.com"!==this.R||!this.g.navigator||!this.g.navigator.sendBeacon);this.D={};this.g.performance&&this.g.performance.now||Ex(this,"dat",1);this.g.navigator&&this.g.navigator.deviceMemory&&Ex(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 Fx(m,a)});
Gx(this);"complete"===this.g.document.readyState?this.g.setTimeout(this.C,0):ci(this.g,"load",this.L);ci(this.g,"unload",this.C)};
Ex=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};
Gx=function(a){Ex(a,"puid",(a.H+1).toString(36)+"~"+(0,g.F)().toString(36))};
Fx=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()};
Kx=function(){this.va=null;if(Dn(An(),21592081)&&!N.g()){this.va=new Hx(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(Ix)var a=Ix;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?Ix=b:a.google_persistent_state_async=Ix=new Fca}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=Fk(b).ed,(c=b.google_global_correlator)||
(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=mha[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;Jx(this,"c",a);a=En(An());g.C(g.E(a))||Jx(this,"e",a)}this.g="0"};
Lx=function(){var a=Kx.getInstance();a.va&&(a.va.disable(),a.va=null)};
Jx=function(a,b,c){a.va&&c&&Ex(a.va,b,c)};
Mx=function(a){var b=Kx.getInstance();if(b.va&&nha){var c=Mi();c&&(b=b.va,b.l&&b.F(new Ni(a,4,c,0,void 0)))}};
oha=function(a,b){if(b){var c=/iu=\/(\d+)\//.exec(qb(b)),d=g.E((new g.Jm(b)).g.get("client"));a.g=c&&2==c.length?c[1]:g.C(d)?"0":d}else a.g="0"};
Nx=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.Ai=(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}};
pha=function(a){return'<a target="_blank" href="'+O(a.url)+'" class="'+O("fullslot-attribution-button")+'">'+O(a.text)+"</a>"};
qha=function(a){return'<div class="'+O("fullslot-autoclose")+'">'+O(a.oH)+"</div></div>"};
Ox=function(a){return""+Ha("Ad will close in {$xSeconds}",{xSeconds:O(a.qe)})};
Px=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.Zm(this);this.I.U(this.B,"tick",this.yR)};
Qx=function(a){a.B.stop();a.l=!1};
Sx=function(a,b,c,d,e){Px.call(this,b.g);this.F=b;this.D=c;this.H=this.F.g;this.g=a;this.A=this.C=null;g.Q(this.g,hx(this.D));a=this.g;b=new Xt;b.skipOffset=new Pr(this.F.A,!1);this.A=new ou(b,a);d&&d.text&&(d=Gq(pha,d),this.g.appendChild(d));e?(e=this.g,d=Ox({qe:Rx(this.H)}),a=Gq(qha,{oH:d}),g.Ud(a,d),e.appendChild(a),e=a):e=null;this.C=e};
rha=function(a){var b=g.H("videoAdUiSkipButton",a.g);return b?g.Ih(b,a.g):new g.hd(0,0)};
Rx=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
Vx=function(a,b,c,d,e){Px.call(this,d);this.H=a;this.R=b;this.N=e;this.A=new g.Zm(this);g.L(this,this.A);this.C=new Ct;g.L(this,this.C);this.K=new Ct;g.L(this,this.K);this.F=new Ct;g.L(this,this.F);(a=Tx(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 "+Ux)};
Tx=function(a){switch(a.Rb()){case 1:return sha;case 4:return tha}return null};
sha=function(a){var b=Fr(a);a=0<Sv(a,"action")?Nr(a):null;return Gq(Dr,{headline:b.ld(),description:Yr(b,"description"),image:Jr(b).getImageUrl(),action:a?$r(a):"",target:a?Mr(a)||Yr(a,"link_url"):""})};
tha=function(a){var b=a.g();a=0<Sv(a,"action")?Nr(a):null;var c=!1;Bn().g("desktop_trv_action_endcap_background_clickable")&&(c=!0);return Gq(Dr,{headline:b.ld(),description:as(b),image:b.og().getImageUrl(),action:a?$r(a):"",target:a?Mr(a)||Yr(a,"link_url"):"",pH:c})};
uha=function(){var a='<div class="'+P("videoAdInterstitial")+'"><p>',b=Ha("Your video will play after this ad.");return Bp(a+b+"</p></div>")};
Wx=function(){g.K.call(this);this.l=Gq(uha);this.va=0};
Xx=function(a){a.va&&(g.wg(a.va),a.g(g.y))};
Yx=function(){this.l=this.I=this.Ni=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.Gi=this.kk=!1};
Zx=function(a){g.ef.call(this,a)};
$x=function(a){g.Gf.call(this);this.Ua=null;this.A=a;this.L=new g.Dm;this.I=-1;this.F=this.N=!1;this.D=""};
ay=function(a){this.paused=!1;this.mute=a.isMuted();this.volume=a.getVolume()};
by=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&&Ou(a.A,new g.ef("click"))}d=vha[c]||null;null!=d&&null!=a.g&&a.g.gu(d);Ou(a.A,new g.ef(c))}a.dispatchEvent(b)}};
cy=function(a){0>a.I||a.N||!a.g.yk(a.I)&&!a.g.Zg()||!a.F||(a.N=!0,by(a,"engagedview",!0,!0),a.dispatchEvent(new Zx("viewCount",a.g)))};
dy=function(a){cy(a);if(N.g()){var b=a.A;if(!(Fm(b.l,"skip")||0>b.B)){for(var c=Zp(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&&Ou(b,new g.ef("progress"),d)}}by(a,"complete",!0,!0)};
ey=function(a){this.g=new g.Dm;if(a){a=Hm(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}};
fy=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Da(a):b.substr(0,1)+a};
gy=function(a){Ru.call(this,a);this.g=null;this.C=!1;this.o=new $x(this.Wb);this.Ua=null;this.R=this.X=this.D=!1;this.Y=this.B=1;this.l=null;this.W=new Wx;this.F=new ey;this.ca=!1;this.L=[];this.K=this.I=this.N=!1;this.A=null;this.aa=!ao()&&N.g();this.H=!1;Dn(An(),324123001)&&(N.R=!0);Dn(An(),324123021)&&(N.R=!0);if(a=0<a.length?a[0]:null){var b=Kx.getInstance();Jx(b,"gqid",Ys(a));Jx(b,"qqid",Yq(a))}wha(this)};
hy=function(a,b){var c=g.vg(function(){this.F.remove(c);b.call(this)},0,a);
a.F.add(c)};
iy=function(a){N.o&&a.ga("youtubeKevlarCompanionHide")};
jy=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.Wb);a.R=!1};
ky=function(a){var b=Bn();b.g("disable_companion_persist")?iy(a):b.g("ad_pod_disable_companion_persist")&&1<(a.bb()?a.ka():null).A.Re&&iy(a);a.Uj();a.bb()?a.start():a.stop()};
yha=function(a){if(!a.bb())return!1;var b=a.Ea.Df();if(null==b)return!1;var c=a.ka(),d;if(d=c.K?c.K.g.Zk()?c.K.g.Nr():c.K.jd():"")xha(a,b,d);else if(lt(c)&&(d=c.Y,d=g.Ra(d)?null:d[0],null!=d&&g.Aa(Tx(d)))){var e=1==d.Rb();a.g=new Vx(a.Da,b,d,rt(c),e);a.Sa().U(a.g,"click",(0,g.z)(a.fx,a,null));a.Ja&&Lu(a.Ja,!0);a.Ea.td()}null!=a.g&&(a.Sa().U(a.g,"timeUpdate",a.VB),a.Sa().U(a.g,"end",a.PH),a.g.start(),Wu(a,"video_card_endcap_impression"));return null!=a.g};
xha=function(a,b,c){Jo(Go.getInstance(),34,{evt:"start"},!0);var d=g.J("DIV");g.Q(d,"controls");var e=g.J("DIV");g.Q(e,"adDisplay");g.Q(e,"endslate");e.innerHTML=c;(c=g.Nd(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.fx,this,b))},a);
d.appendChild(e);e=new wv;Rga(e,rt(a.ka()));e.A=0;e.o=0;a.g=new Sx(d,e,1,{},!0);a.Sa().U(a.g,"skip",a.gx);b.appendChild(a.g.g);a.Ea.td();a.Ja&&(Iga(a.Ja),Iu(a.Ja))};
my=function(a,b){ly(a);null!=a.Da&&a.Da.Dr();a.ga("complete");Wu(a,b);a.xa("instreamAdComplete");ky(a)};
ly=function(a){a.g&&(a.g.dispose(),a.g=null);a.Ja&&Lu(a.Ja,!1);a.C=!1};
zha=function(a){return(0,g.rm)(a.qc.B,function(a){return!Pv(a.Fe(),"hide_in_drawer")})};
py=function(a,b,c){ny(a)&&c?oy(a,b).then(a.Yv,null,a):(a.Yv(),c&&oy(a,b))};
Aha=function(a){null!=a.Da&&a.Da.Cr();var b=Bn();b=b.g("use_forced_brand_precap_duration")?b.l("forced_brand_precap_duration_ms"):2E3;Jga(a.Ja,b);var c=g.vg(function(){null!=this.Da&&this.Da.Dr();this.F.remove(c);this.W.show(this.Ea.Mk(),this.La.Du,(0,g.z)(this.Da.play,this.Da))},b,a);
a.F.add(c)};
qy=function(a,b,c,d){b=Zp(b.g,c);g.Ra(b)||(a[d]=b[0].Oa())};
ry=function(a,b,c){b=c.getExtension(b);null!=b&&(qy(a,b,"annotation_click","cta_annotation_clicked"),qy(a,b,"annotation_close","cta_annotation_closed"),qy(a,b,"annotation_start","cta_annotation_shown"))};
Bha=function(a,b){var c=new Yx;c.adFormat=Zq(b);c.adIds=Wq(b).join(",");c.adSystems=Xq(b).join(",");1<b.A.Re&&(c.slotPosition=b.A.g-1);jt(b)&&!b.aa&&(c.Ni=Ts(b));c.I=a.La.contentId;if(a.Ja){var d={};ry(d,"AdSense",b);ry(d,"dart",b);ry(d,"DFP",b);c.l=d;c.D=a.Ja.g.B}b.isSkippable()&&!Gs(b)&&(c.H=!0);d=Bn();c.timeout=d.g("use_variable_load_timeout")?d.l("variable_load_timeout_ms"):a.La.gf;if(d=b.o)c.B=d.ep;c.A=a.La.Vk;c.g=Yq(b);c.C=a.La.bi;c.isPharma=sy(a,b);c.F=!0;d=Qs(a.ka(),"endscreenClick");d=g.Ra(d)?
null:g.Bg({endscreenClick:d});c.o=d;c.kk=ny(a);c.Gi=a.bb()&&At(a.ka());c.Aj=a.bb()&&At(a.ka());return c};
sy=function(a,b){var c=Lq(a.kj());if(!c){var d=b.getExtension("AdSense");null!=d&&(c=d.isPharma())}return c};
wha=function(a){var b=0,c=0;(0,g.B)(a.ads,function(a){!Vu(a)||N.g()&&0!=c||(c++,b+=a.getDuration())},a);
var d=1;(0,g.B)(a.ads,function(a){var b=a.A;b.Re=c;Vu(a)&&(b.g=d,b.o=d,d++)},a)};
ty=function(a){var b=a.l;return b&&b.ib&&(b=b.D,!g.Ra(b)&&b[0]instanceof jq)?b[0].df():Rs(a)};
wy=function(a,b){if(!Vu(b))throw Un(uy);var c=b.g,d=c.B;if(null!=d)return d;var e=null!=b&&!vy(a)&&(N.g()||a.Ea.Ln()||a.Ea.xr()||ao());d=a.Qg(b);e=a.Da.CC(d,a.La.bitrate,a.La.Wk||[],e);Cha(d,a.La.bitrate,e,Js(b));if(null!=e)return c.B=e;try{Dha(a,b)}catch(f){}throw Un(Eha);};
Dha=function(a,b){if(Go.getInstance().isLoggingEnabled()){var c=new ey,d=!1;(0,g.B)(a.Qg(b),function(a){c.add(a.g);"VPAID"==a.l&&(d=!0)},a);
var e=a.Da.Sq();e={aid:Ts(b),mt:c.rb().join(","),smt:e.join(","),hvp:d,st:Zs(b).join(",")};Jo(Go.getInstance(),28,e)}};
Cha=function(a,b,c,d){if(!N.g())try{var e=(0,g.G)(a,function(a){return a.Pf}),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.Pf;a.selmt=null===c?"":c.g;a.ic=!1;a.nat=!1;a.iyh=Gn(c.Oa())?"1":"0";a.as=d;Jo(Go.getInstance(),22,a)}catch(k){}};
yy=function(a){return a.K?!1:a.La.Vk&&(!a.Ea.rj()||a.Ea.rj()&&!1)};
vy=function(a){return a.La.Vk&&so(a.Ea)&&!a.K&&!0};
By=function(a){try{var b=a.ka();a.l=wy(a,b);hy(a,(0,g.z)(gy.prototype.ms,a,b,a.l.Oa(),a.l.g))}catch(c){(0,g.Pa)(a.ads,b)+1<a.ads.length&&(zy(a,c),a.Uj(),a.bb()?(Wn(a,Ay,c),By(a)):Xn(a,Ay,c))}};
Fha=function(a){try{var b=a.Ee();null!==b&&(a.l=wy(a,b),hy(a,(0,g.z)(gy.prototype.ms,a,b,a.l.Oa(),a.l.g,!0)))}catch(c){}};
Cy=function(a,b){b in a.L||(a.L.push(b),a.ga(b))};
Gha=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.Pf});
a=(0,g.G)(a,function(a){return a.g});
c.brs=e.join(",");c.mts=a.join(",");c.as=Js(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.Pf,c.selmt=d.g,c.iyh=Gn(d.Oa())?"1":"0",c.murl=d.Oa())}Jo(Go.getInstance(),45,c)};
Dy=function(a,b,c){zy(a,c);a.Uj();a.bb()?(Wn(a,b,c),a.start()):(Xn(a,b,c),a.stop())};
zy=function(a,b){var c=Un(Ay,b);c=Sq(c,a.ka(),a.Da);var d=Ks(a.ka());Qn(d,c)};
Ey=function(a){if(N.l||N.g()){var b=ty(a.ka());null!=b&&Kn(b);a.ga("click")}else a.H&&a.ga("click")};
Fy=function(a,b){g.Vb(Hha,b)&&an(a.Sa(),a.o,b,a.RB,a)};
Gy=function(a){if(!a.N){var b=a.ka(),c=b.C;if(wt(b)&&!N.g()&&!a.Ea.Ln()&&c){b=a.Da.getCurrentTime();var d=a.Da.getDuration(),e=new g.Jm("//s.youtube.com/s");g.Sm(e,"ns","yt");g.Sm(e,"el","adunit");g.Sm(e,"docid",c);g.Sm(e,"eurl",window.document.URL);g.Sm(e,"len",d.toFixed(2));g.Sm(e,"tv","1");g.Sm(e,"ps","trueview-instream");g.Sm(e,"st",b.toFixed(2));g.Sm(e,"et",b.toFixed(2));g.Sm(e,"rt",b.toFixed(2));Ln(e.toString());a.N=!0}}};
Iha=function(a){var b=a.ka().L;if(null!=b){b=b.videoId;var c=a.La.Ri;if(g.C(g.E(b)))b=null;else{c=new g.Jm((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",b);Om(c,d);c.H="action=share";b=c.toString()}null!=b&&(Kn(b),a.LC())}};
Jha=function(a){a=Hy(a)||Iy(a);null!=a&&Mn(a,"sharebuttondisplayed")};
Hy=function(a){a=a.ka().getExtension("AdSense");return null!=a?new g.Jm(a.A):null};
Iy=function(a){if(a=a.ka().g)if(a=gq(a,"start"),!g.Ra(a))return new g.Jm(a[0].Oa());return null};
Kha=function(a){var b=a.ka(),c=b.L;null!=c&&(b=Kq(c.videoId,null!=qt(b),a.La.Ri),null!==b&&(a.Da.pause(),Kn(b)))};
Jy=function(a){hy(a,function(){this.ga("skip");Bn().g("skip_ad_pod_to_end")?this.stop():ky(this)})};
oy=function(a,b){return g.mg(Lha(a,b).then(a.mU,null,a).then(a.OT,null,a).then(a.lU,null,a).then(a.CH,null,a),g.y)};
Lha=function(a,b){return new g.$f(function(a,d){kha(b,function(b){b=new Nx(b);this.bb()&&this.ka().C==b.videoId?a(b):d()},function(){d()},this)},a)};
Ky=function(a){return a.bb()&&null!=a.ka().L&&a.ka().L.isListed};
Ly=function(a){var b=a.ka().ca;if(Ky(a)&&null!=b){var c=a.La.Ri;b=g.E(b.channelId);c=g.C(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.nb(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Da.pause(),Kn(c))}};
ny=function(a){a=a.ka();if(!a||!a.C)return!1;var b=g.Ma(a.B,function(a){return 4==a.Rb()&&Pv(a.Fe(),"show_in_cta")});
return N.g()&&wt(a)&&null!=b};
Mha=function(a,b){var c=a.bb()?a.ka().C:null,d=a.ka();if(!d||!c)return"";d=g.Ma(d.B,function(a){return 4==a.Rb()&&Pv(a.Fe(),"show_in_cta")});
if(!d)return"";c=d.g();var e=Nr(d);d=g.rb(e&&Mr(e)||"");e=g.rb(e&&$r(e)||" ");var f=g.rb(c.ld()||b.authorName);var k=g.rb(as(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>"};
My=function(a){g.Gf.call(this);this.sessionId=a||Cb();this.l=[]};
Ny=function(a,b,c,d,e){g.ef.call(this,a);this.Vd=b;this.Qf=c;this.oy=d;this.l=e};
Oy=function(a,b){My.call(this,b);this.o=a;this.rf=null;this.A=new g.Zm(this);this.logger=null;this.A.U(Cd(),"message",this.receive)};
Py=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}};
Nha=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)};
Qy=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};
Ry=function(a,b){g.ef.call(this,"vpaidEvent");this.sessionId=b};
Sy=function(a){Ru.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};
Uy=function(a){var b=Ns(a.ka());N.g()&&(b=Oha(a,b),b=Pha(a,b));var c=g.E(Rs(a.ka())),d=a.ka();if(Vu(d)){var e=d.g,f=lq(e,"javascript");null!=f&&(e.B=f)}d=tt(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);Ty(a,"initAd",c);(0,g.B)(a.F,function(a){Ty(this,a.type,a.params)},a);
a.Qc=!0;a.F=[]};
Vy=function(a,b,c){c=c||null;a.Qc?Ty(a,b,c):a.F.push({type:b,params:c})};
Ty=function(a,b,c){c=c||{};c.session=a.B;c.type=b;Wy()?window.parent.postMessage(g.Bg(c),"*"):null!=a.o.contentWindow&&a.o.contentWindow.postMessage(g.Bg(c),"*")};
Rha=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(Qha,function(a,b){Bn().g(b)&&(c[a]=!0)},a);
return g.Sb(c).join(" ")};
Oha=function(a,b){var c=g.fs(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 gs(c)};
Pha=function(a,b){for(var c=g.fs(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=yq(e,"interstitial_viewed");(0,g.B)(d,function(a){var b=g.J("interstitial_viewed");b.textContent=a;f.appendChild(b)},a);
d=yq(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=yq(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=yq(e,"interstitial_dismissed");(0,g.B)(d,function(a){var b=g.J("interstitial_dismissed");b.textContent=a;f.appendChild(b)},a);
e=yq(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 gs(c)};
Xy=function(a,b,c,d){d=Un(b,c,d);var e=Sq(d,a.ka()),f=Ks(a.ka());Qn(f,e);b.message=d.Dd();Xn(a,b,c)};
$y=function(a,b){if(g.v(b.type))switch(b.type){case "friendlyReady":Uy(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Ea.Jf();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":Xy(a,
Zw,Error(b.message));a.stop();break;case "AdExpandedChange":a.ga("expandedChanged");break;case "AdImpression":var c=a.ka();g.Ra(Ms(c))||a.Ad(c);Wu(a,"impression");a.K=!0;Yy(a,51);break;case "AdLinearChange":c=b.isLinear;!a.l&&c?(a.ga("contentPauseRequested"),Vy(a,"becameLinear")):!c&&a.l&&(a.ga("contentResumeRequested"),Vy(a,"becameNonlinear"),Vy(a,"getAdRemainingTime"),Vy(a,"getAdDuration"));a.l=c;var d=a.ka();d.oa=!0;d.pa=c;a.ga("linearChanged");break;case "AdLoaded":g.wg(a.R);a.L=!0;d=b.companions;
c=a.ka();g.Ra(Ms(c))&&(d=Qw(d,c.g.g),g.Ra(d)||As(c,d));Zy(a);Wu(a,"loaded");break;case "AdPaused":a.C=!0;Wu(a,"pause");break;case "AdPlaying":a.C=!1;Wu(a,"resume");break;case "AdRemainingTimeChange":a.I=b.remainingTime;c=a.ka().getDuration();d=c-a.Ic();bv(a,d,c);break;case "AdSkipped":Wu(a,"skip");a.stop();break;case "AdSkippableStateChange":Wu(a,"skippableStateChanged");break;case "AdStarted":a.xa("creativeview");Yy(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":Wu(a,"userClose");break;case "AdVideoComplete":a.K&&a.N||(c={},c.aic=a.K,c.avc=a.N,Yy(a,56,c));Wu(a,"complete");break;case "AdVideoFirstQuartile":Wu(a,"firstquartile");break;case "AdVideoMidpoint":Wu(a,"midpoint");break;case "AdVideoStart":a.xa("start");a.ga("start");a.N=!0;break;case "AdVideoThirdQuartile":Wu(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":Ln(b.url)}};
az=function(a,b){Wy()||Ty(a,"wrapperCall",{messageType:b})};
Zy=function(a){a.L&&a.X&&(Vy(a,"startAd"),a.H.start(),a.l||(Vy(a,"becameNonlinear"),Vy(a,"getAdRemainingTime")),Vy(a,"getAdDuration"))};
Yy=function(a,b,c){try{c=c||{};c.dn=a.W;c["if"]=Wy();c.pid=Kx.getInstance().g;var d=Ws(a.ka()).join();c.xy=d;Jo(Go.getInstance(),b,c,!0)}catch(e){}};
Wy=function(){return 2==N.D};
bz=function(){Ru.call(this,[]);this.Ua=null;this.ae=this.be=-1;this.D=!1};
dz=function(a,b,c,d){if(a.g){var e=a.g;an(a.Sa(),e,cz,a.dispatchEvent,a);an(a.Sa(),e,"companionBackfill",a.dispatchEvent,a);an(a.Sa(),e,"adError",a.XA,a);an(a.Sa(),e,"allAdsCompleted",g.y,a);an(a.Sa(),e,"contentPauseRequested",a.hB,a);an(a.Sa(),e,"contentResumeRequested",a.Gt,a);an(a.Sa(),e,"userClose",a.wi,a);an(a.Sa(),e,"autoClose",a.ti,a);a.g.Bg(a.Nd);a.g.Pc(b,c,d)}};
ez=function(a){a.g&&(a.g.destroy(),a.g=null);a.Ea&&a.Ea.hide();g.cf(a.Yb);a.Yb=null};
gz=function(a,b,c){bz.call(this);this.o=c;this.l=null;this.B=this.C=this.A=!1;this.g&&ez(this);this.g=b;fz(this,b)};
iz=function(a,b,c){var d=(0,g.z)(function(a){Wn(this,Sha,c);try{var b=hz([a[0]]);if(b)var d=b;else throw Error("Ads manager creation failure, failed to determine ad type.");fz(this,d);a=d;try{this.g&&ez(this),this.g=a,dz(this,this.Ea,this.content,this.La),this.D&&this.g.vj(),this.g.wb(this.be,this.ae,this.Vc),this.g.init(this.Vc),this.start()}catch(m){d=m;var e=a.tb();bt(e);iz(this,ct(e),Error(d.Dd()))}}catch(m){e=m,Xn(this,e.Dd(),e.al)}},a);
a=(0,g.z)(function(){this.ga("contentResumeRequested");Xn(this,Tha,c);this.destroy()},a);
null!=b?hr(b,d,a):a(null)};
fz=function(a,b){a.l&&a.l.dispose();a.l=new g.Zm(a);g.L(a,a.l);an(a.l,b,"start",a.JO,a)};
jz=function(a){Ru.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.ae=this.be=-1;this.D=!1;Uha(this)};
kz=function(a,b,c,d){if(a.g){a.B=new g.Zm(a);var e=a.g,f=a.B;an(f,e,cz,a.dispatchEvent,a);an(f,e,"start",a.xJ,a);an(f,e,"companionBackfill",a.dispatchEvent,a);an(f,e,"adError",a.IO,a);an(f,e,"allAdsCompleted",g.y,a);an(f,e,"contentPauseRequested",a.ph,a);an(f,e,"contentResumeRequested",a.Vf,a);an(f,e,"userClose",a.wi,a);an(f,e,"autoClose",a.ti,a);a.g.Pc(b,c,d)}};
Uha=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.Re=c;a.g=d;a.o=d;d++},a)};
mz=function(a,b,c){a.o+1>=a.l.length?Xn(a,Ay,c.al):(Wn(a,Ay,c.al),lz(a,b))};
lz=function(a,b){if(a.g===b)if(nz(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.Kn()):(kz(a,a.Ea,a.content,a.La),a.g.wb(a.be,a.ae,a.Vc),a.g.init(a.Vc)),a.start()}catch(c){mz(a,a.g,c)}else a.ga("contentResumeRequested"),a.destroy()};
nz=function(a){a.B&&(a.B.dispose(),a.B=null);a.g&&(a.g.destroy(),a.g=null);a.Ea&&a.Ea.hide()};
Vha=function(a){return a.Uv?'<div class="'+O("overlays-action-tray")+'"><div class="'+O("ad-info-padding")+'" title="'+O(a.Uv)+'" role="button" tabindex="1"><svg class="'+O("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="'+
O("close-padding condensed contains-svg")+'" title="'+O(a.close)+'" role="button" tabindex="0"><svg class="'+O("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="'+O("close-padding contains-svg")+'" title="'+O(a.close)+'" role="button" tabindex="0"><svg class="'+
O("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>'};
Wha=function(a){return'<a target="_blank" href="'+O(a.url)+'" class="'+O("attribution-button")+'">'+O(a.text)+"</a>"};
oz=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.Gf=new g.Zm(this)};
pz=function(a){var b=g.J("DIV",{"class":"ima-container"});It(b,"opacity 0.4s");a.Gf.U(b,"mouseover",a.iJ);a.Gf.U(b,"mouseout",a.MU);b.appendChild(a.F);a.F.appendChild(a.g);return b};
qz=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
rz=function(a){Ru.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};
sz=function(a,b){var c=cfa(b);(0,g.B)(c,function(a){aq(this.Wb.o,"click",a)},a)};
tz=function(a,b){var c=Tq(b,a.Da);a.Wb.g=c;b.g&&(a.zg(b),c=b.g)&&(a.Zf(c,Xha),Zu(a,b))};
uz=function(a,b){var c=Sq(b,a.ka()),d=Ks(a.ka());Qn(d,c)};
vz=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.Xa=d;this.N=f;this.Y=N.A;this.K=this.B=this.F=this.g=null;this.ae=this.be=-1;this.aa="normal";this.W=null;this.A=e;this.o=[];this.ca=this.L=this.da=this.R=!1;this.X=k;this.Ua=null;Yha(this)};
wz=function(a,b,c,d){a.be=b;a.ae=c;null!=d&&(a.aa=d);null!=a.g&&a.g.wb(b,c,d)};
Yha=function(a){(0,g.B)(a.D,function(a){Zha(a)})};
xz=function(a){return a.H<a.D.length&&null!=a.D[a.H]};
$ha=function(a,b){var c;if(c=N.g()&&!g.Ra(b)&&0==a.yc)c=b[0],c=null!=c&&null==tt(c)&&nt(c,"nonlinear");return c?(c=Xs(b[0]),"ADSENSE"==(0<c.length?c.pop():Js(b[0])).toUpperCase()):!1};
Dz=function(a){!xz(a)||2<=a.o.length-a.l?a.da||(zz(a),a.Yf()&&Az(a,a.l)&&Bz(a,a.l)&&Cz(a,a.l),a.da=!0,a.dispatchEvent("adBreakInitialized")):yz(a)};
yz=function(a){var b=a.D[a.H];an(a.I,a.Xa,"adsLoaderSdkAdLoaded",a.VA,a);N.A="on_master_ad";aia(a.Xa,b.l,b)};
zz=function(a){null==a.yc||(0,g.Jj)(a.o,function(a){return!a.isBumper()})||(a.o=(0,g.Md)(a.o,function(a){return!(a.isBumper()&&!a.o)}))};
Az=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?!dp(Cs(c),"rm"):!1)}else c=!1;return c};
Kz=function(a){if(Az(a,a.l)){var b=a.o[a.l];try{a.L?Ez(a,a.g):a.Yf()&&Bz(a,a.l)?(null===a.B&&Cz(a,a.l),Fz(a),a.g=a.B,a.F=a.K,a.B=null,a.K=null,a.A.Kn()):(Fz(a),a.F=new g.Zm(a),a.g=Gz(a,b,a.F),Ez(a,a.g));null!=a.C&&(a.C.dispose(),a.C=null);if(Hz(a.g)){var c=a.tb();if(null==c||!ot(c)){var d=a.g.ka().g;if(null!==d){var e=d.Ab;0>=e&&!a.N.hw||(0>=e&&(e=15),a.C=new g.ug(1E3*e),dn(a.F,a.C,"tick",a.eR,a))}}}if(Hz(a.g))a.dispatchEvent("contentResumeRequested"),a.A.td(),a.g.start(),null!=a.C&&a.C.start();else{var f=
a.g;if(null!=f&&f instanceof gy)a.A.Jf(),a.g.start();else{var k=a.g;if(null!=k&&k instanceof Sy){var l=a.g;a.A.td();l.Sb()?Wy()||a.A.Jf():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var m=a.g;if(null!=m&&(m instanceof bx||m instanceof Ww))a.A.td(),a.g.Sb()||a.dispatchEvent("contentResumeRequested"),a.g.start();else{var n;if(!(n=Iz(a.g))){var q=a.g;n=null!=q&&q instanceof gz}if(n)a.g.start();else throw Error("Unknown ads manager type.");}}}}a.Yf()&&Az(a,a.l+1)&&Bz(a,a.l+1)&&1==Jz(a)&&
Cz(a,a.l+1)}catch(r){a.l++,Kz(a)}xz(a)&&yz(a)}else a.dispatchEvent("contentResumeRequested"),Lz(a)};
Ez=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.aa);null!=a.W&&b.setVolume(a.W)};
Gz=function(a,b,c){b=Mz(a.Xa.o,b.g);var d=new mn(a.A,a.Yf());b.Bg(a.X);an(c,b,cz,a.WA,a);an(c,b,"companionBackfill",a.WA,a);an(c,b,"adError",a.GO,a);an(c,b,"allAdsCompleted",g.y,a);an(c,b,"contentPauseRequested",a.ph,a);an(c,b,"contentResumeRequested",a.Vf,a);an(c,b,"userClose",a.wi,a);an(c,b,"autoClose",a.ti,a);b.Pc(d,{currentTime:0},a.N);b.wb(a.be,a.ae,a.aa);return b};
Fz=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)};
Nz=function(a){null!=a.K&&(a.K.dispose(),a.K=null);null!=a.B&&(a.B.destroy(),a.B=null)};
Iz=function(a){return null!=a&&a instanceof jz};
Hz=function(a){return null!=a&&a instanceof rz};
Lz=function(a){a.R=!1;a.dispatchEvent("allAdsCompleted")};
Jz=function(a){return null===a.g||g.Ra(a.g.ads)?0:a.g.ads.length};
bia=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.Re=d+(a.D.length-a.H);b.g=f;b.A=a.ea;b.l=a.yc}};
Cz=function(a,b){var c=a.o[b];a.K=new g.Zm(a);a.B=Gz(a,c,a.K);Ez(a,a.B)};
Bz=function(a,b){if(0<=b&&b<a.o.length){var c=a.o[b].g[0];return null!=tt(c)||null!=ut(c)?!1:!0}return!1};
Oz=function(a){this.g=a};
cia=function(a){this.l=a};
Pz=function(a){this.l=a;this.g=this.isBumper=!1;this.o=null;this.an=!1};
Zha=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}})}};
Qz=function(){this.g=new g.Dm};
Rz=function(a,b,c){if((0,window.isNaN)(c)||!g.ua(c))throw Error("Incorrect time offset.");var d=[];Fm(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)};
Sz=function(a,b){this.g=a;this.l=b};
eia=function(a){var b=new Qz;(0,g.B)(g.Nd(g.Pd(a.g)),function(a){switch(a.nodeName){case "Preroll":a=Tz(this,a);Rz(b,a,0);break;case "Midroll":var c=ms(a,"timeOffset"),e=qs(c);if(-1==e)throw Tn(Uz,null,"timeOffset",g.E(c));a=Tz(this,a);Rz(b,a,e);break;case "Postroll":a=Tz(this,a);Rz(b,a,-1);break;default:throw Tn(Vz,null,a.parentNode.nodeName,a.nodeName);}},a);
if(0==b.g.yb().length)throw Tn(dia);return b};
Tz=function(a,b){var c=[];(0,g.B)(g.Nd(b),function(a){switch(a.nodeName){case "Ad":var b=g.E(ns(a));if(!g.C(b)){a=ms(a,"bumper");var d=this.l.clone();d.g=b;b=new Pz(d);b.isBumper=null!=a;b.g="always"==a;g.Ta(c,b)}break;default:throw Tn(Vz,null,a.parentNode.nodeName,a.nodeName);}},a);
return c};
Wz=function(a){g.ef.call(this,a);this.g=this.l=null};
Xz=function(){g.Gf.call(this);this.currentTime=0};
Zz=function(a,b,c){g.Gf.call(this);c=c||new Yz;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=fia(b)};
Yz=function(){this.C=0;this.o=this.g=this.D=this.B=!1;this.A=this.l=5};
$z=function(a){this.g=a.yc;this.B=g.Da(a);this.o=this.l=!1;this.aK=5==a.Ye();this.A=this.ge=!1};
aA=function(a,b){return eb(a.g,b.g)};
bA=function(a){a.l.start();a.o=!0};
gia=function(a){if(a.o){var b=g.Ma(a.g,function(a){return-1==a.g},a);
null!=b&&cA(a,!0,b)}};
fia=function(a){var b=[];(0,g.B)(a,g.Ea(function(a,b){a(new $z(b))},g.Ea(function(a,b){g.kb(a,b,aA)},b)));
return b};
hia=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};
dA=function(a,b){return Oa(a,g.Ea(function(a,b){return b.aK==a},b))};
iia=function(a){var b=[],c=dA(a,!1);c&&b.push(c);(a=dA(a,!0))&&g.kb(b,a,aA);return b};
jia=function(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(eA(a,d,a.H,b,!0,a.L)&&!a.g[c].l)return d}return null};
eA=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};
fA=function(a,b){var c=new Wz("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
cA=function(a,b,c){null!=c&&(c.l||(gA(a,"requestAds",c),c.l=!0),b&&!c.o&&(gA(a,"playAds",c),c.o=!0))};
kia=function(a,b){var c;a:{for(c=0;c<a.g.length;c++){var d=a.g[c];if(eA(a,d,-1==d.g?a.F:a.D,b,a.I,a.K)&&d.ge&&!d.A){c=d;break a}}c=null}null==c?a.B&&(a.dispatchEvent(new Wz("discardAdNotify")),a.B=!1):a.B||c.o||(gA(a,"adNotify",c),a.B=!0)};
gA=function(a,b,c){b=new Wz(b);b.l=c.g;b.g=c.B;a.dispatchEvent(b)};
hA=function(a){Xz.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw Un(Uo,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.Zm(this);an(this.l,this.va,"tick",this.o,this)};
lia=function(){};
iA=function(a,b,c){if(g.Ra(a))return null;a=(0,g.Md)(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.Md)(a,function(a){return g.Qa(c,g.E(a.g).toLowerCase())}));
if(!g.ua(b)||0>=b)b=Cj()?500:1E3;return mia(a,b)};
mia=function(a,b){return nia(a,b)||oia(a,b)||pia(a,b)};
nia=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.li,f=a.Pf;d>b||f<b||!(null==c||c.li>d)||(c=a)});
return c};
oia=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.li,f=a.Pf;f>b||(null==c||c.Pf<f?c=a:null!=c&&c.Pf==f&&c.li>d&&(c=a))});
return c};
pia=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.li,f=a.Pf;if(!(d<b))if(null!=c&&c.li==d&&c.Pf<f)c=a;else if(null==c||c.li>d)c=a});
return c};
jA=function(){this.l=0;this.g=[]};
kA=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};
lA=function(a){g.Gf.call(this);this.g=a;this.R=new jA;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};
nA=function(a){a.Qc=!1;a.A=!1;a.D=!1;a.o=0;a.N=!1;a.R.clear();mA(a);g.cf(a.B)};
oA=function(a,b){a.A||(a.A=!0,mA(a),a.dispatchEvent("start"),g.Aa(a.g.getAttribute)&&a.g.getAttribute("playsinline"),qo()||!g.jo||lo(3)||eo()&&!io(4)||a.Er(b))};
pA=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};
mA=function(a){a.H&&(g.wg(a.H),a.H=null)};
rA=function(){g.Gf.call(this);this.buffered=new qA;this.g=new g.Zm(this);var a=pn();if(a){a:{if(Ub(a.g,"videoElementMockDuration")&&(a=a.g.videoElementMockDuration,g.ua(a)))break a;a=window.NaN}this.duration=a}};
qia=function(){var a=["video/mp4"],b=["video/ogg"],c=new rA;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};
ria=function(a){this.startTime=0;this.endTime=a};
qA=function(){this.length=0;this.g=[]};
sA=function(a,b,c,d){if(null==a||!g.Sd(g.nd(a),a))throw Un(Uo,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=pn(),qn(a,"useVideoElementMock")?(a=qia(),b=g.J("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Ga(b,a),a.rk=g.J("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.On=g.J("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.rk.appendChild(a.On),b.appendChild(a.rk),a.g.U(a,["loadeddata","playing","pause","ended"],a.SS),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%;",N.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))};
tA=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)};
uA=function(a,b){"null"!=b.origin&&(a.l=a.D=b.origin);a.A=b.source};
vA=function(a){tA.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.l="*";this.g={};this.o=[];this.C=!1};
wA=function(a){a.C=!0;(0,g.B)(a.o,function(a){this.sendMessage(a)},a);
a.o.length=0};
sia=function(){};
xA=function(a,b){this.g=a;this.B=new ey;this.D=(0,g.z)(this.F,this);this.I=Math.floor(2147483646*Math.random())+1;this.l=b||new vA(this.I);g.L(this,this.l);this.o=new g.Zm(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};
AA=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.Zm(this);this.C=null;this.A=!1;this.fa=new g.kd(0,0);this.ea=this.sj();this.I=-1;this.aa=!1;this.D=-1;this.l=this.X=this.K=null;this.Y="";this.o=!1;this.da=null!=b;this.oa=this.L=this.ca=this.g=null;this.B=void 0;this.H=this.la=null;this.F=this.pa=0;this.da?(this.o=!0,this.g=b,this.B=2):(a=(0,g.z)(this.DH,this),yA?a():(zA.push(a),a=g.Fd("script"),a.src="https://www.youtube.com/iframe_api",
b=window.document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b)))};
CA=function(a,b,c){null!==b&&(a.Y=b,a.o?BA(a,b,c):(a.K=b,a.X=c))};
BA=function(a,b,c){var d={autoplay:"1"};N.B&&(d.dash=0);null!=a.l&&(null!=a.l.Ni&&(d.agcid=a.l.Ni),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.Gi&&(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=Jq(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;!N.g()&&(d.enabled_engage_types="3,4,5,6");a.A=!1;a.l&&a.l.A?(a.la=d,a.g.preloadVideoByPlayerVars(a.la)):a.g.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};
DA=function(a){a.R.Aa(a.C,"tick",a.kB);null!=a.C&&(a.C.stop(),a.C=null)};
EA=function(a){null!=a.za&&g.wg(a.za)};
FA=function(a,b){g.Gf.call(this);this.A=a;this.o=b;this.g={};this.l=new g.Zm(this);this.l.U(Cd(),"message",this.B);this.Ua=null};
HA=function(a,b,c,d){a.g.hasOwnProperty(b)||(c=new Oy(b,c),a.l.U(c,a.A,function(a){a=new GA(a.type,a.Vd,a.Qf,a.oy,a.getOrigin(),b);this.dispatchEvent(a)}),c.rf=d,c.connect(),a.g[b]=c)};
GA=function(a,b,c,d,e,f){Ny.call(this,a,b,c,d,e);this.g=f};
JA=function(){var a=g.x("google.ima.gptProxyInstance",Cd());if(null!=a)return a;g.Zm.call(this);this.o=new FA("gpt",!0);g.L(this,this.o);this.U(this.o,"gpt",this.C);this.Ua=this.g=null;IA()||Cd().top===Cd()||(this.g=new FA("gpt",!1),g.L(this,this.g),this.U(this.g,"gpt",this.B))};
IA=function(){return!!g.x("googletag.cmd",Cd())};
KA=function(){var a=g.x("googletag.console",Cd());return null!=a?a:null};
tia=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 LA[n].apply(null,arguments)})};
OA=function(a,b){g.Gf.call(this);this.l=new g.Zm(this);this.H=!1;this.I=Cb();this.F=new g.Dm;var c=this.I;var d=(yba()?"https:":"http:")+tia("//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.ZH);a.appendChild(c);this.o=c;c=this.F.get("*");null==c&&(c=new Oy(this.I,"*"),this.H&&(c.rf=Td(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.yI);this.l.U(this.D,"touch",this.RI);null!=this.g&&(this.l.U(this.D,"displayContainer",this.tI),this.l.U(this.D,"videoDisplay",this.NI),this.l.U(this.D,"preloadVideoDisplay",this.FI),this.l.U(this.g,g.Qb(MA),this.Xf),this.l.U(this.g,NA,this.Xf));c=Cd();
d=g.x("google.ima.gptProxyInstance",c);null==d&&(d=new JA,g.va("google.ima.gptProxyInstance",d,c))};
PA=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)};
QA=function(a){a=a.playbackOptions;var b=new Yx;b.adFormat=a.adFormat;b.Ni=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.Gi=!0);a.isTrueViewAction&&(b.Aj=!0);return b};
RA=function(a,b,c){this.F=a;var d=null!=c;Dn(An(),136961005)&&(N.K=!0);var e=d,f=!1;N.K?N.l||(ro()&&d||(e=!1),!e&&N.K&&!N.g()&&ao()&&(N.B=!0),!N.B&&ao()||rl()||(f=!0)):N.l||ro()&&d||(!N.B&&ao()||rl()||(f=!0),e=!1);this.H=e;this.K=f||e&&null!=c;N.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||N.l||!ao()?null:new sA(this.o,null,!0);d=a=null;this.H?c&&(a=new AA(c)):this.g&&(a=new lA(this.g.l),d=this.g.l);e=null;d&&N.B&&f&&(e=new xA(d));
this.I=e;this.l=a;this.B=this.A=null;f=g.jo&&!lo(4);a=eo()&&ao();this.g&&this.l&&this.o&&!this.H&&!rl()&&!f&&!a&&this.o&&(this.A=new sA(this.o,null,!0),this.B=new lA(this.A.l));this.C=this.l?b||null:null;this.L=null!=this.C;Jo(Go.getInstance(),8,{enabled:this.H,yt:null!=c,customClick:null!=this.C});null===this.o&&(b=this.F,N.F=b);this.D=null==this.o||N.l?null:new OA(this.o,this)};
SA=function(a){return a.L&&a.C?a.C:null!=a.g?a.g.o:null};
TA=function(a){this.g=a};
UA=function(a,b){g.ef.call(this,"adsManagerLoaded");this.g=a;this.l=b};
VA=function(a,b,c,d){a.g.Pc(new TA(b),c,d);return a.g};
WA=function(){};
XA=function(){g.Gf.call(this);this.ge=!1;this.impressionUrls=[]};
YA=function(a,b,c){g.ef.call(this,a);this.l=b||null;this.g=c||null};
$A=function(a,b){g.Gf.call(this);this.g=a;this.C=!!b;this.A=ZA(this);this.A||(this.l=g.sf(this.g,g.zd&&!g.rc("7")?"readystatechange":"load",this.B,!1,this),this.o=window.setInterval((0,g.z)(this.B,this),100))};
aB=function(a){a.o&&(window.clearInterval(a.o),a.o=null)};
ZA=function(a){var b=!1;try{if(a.C||!g.zd||g.rc("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};
bB=function(){XA.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};
cB=function(a){var b=["googletag","googletag.cmd"];return g.Ma(a,function(a){return(0,g.rm)(b,function(b){return null!==g.x(b,a)})})||null};
dB=function(a){return a.ge?(0,g.G)(a.D,function(a){return a.clone()}):[]};
uia=function(a){a=dB(a);if(null!=a)return(0,g.G)(a,function(a){return a.F})};
eB=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.Jm(b.g),d=Number(b.g.get("pod")||0),e=Number(b.g.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(Ho.g,d,e,c)}catch(f){}};
via=function(a,b){var c=fB(a);if(null!==c){eB(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
hB=function(a,b,c){a=gB(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
iB=function(a,b){a.C=b;hB(a,"","");var c=fB(a);null===c||eB(c,null,!1)};
fB=function(a){null==a.g&&jB(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.companionAds?a.g.googletag.companionAds():null};
gB=function(a){null==a.g&&jB(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.pubads?a.g.googletag.pubads():null};
kB=function(a){a.l&&(a.l.stop(),a.l.Aa("tick",a.AB,!1,a),a.l.dispose(),a.l=null)};
oB=function(a){if("retrieved"!=a.o&&"not_available"!=a.o&&null!==fB(a)){var b=fB(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=lB(a))||(c=mB(a)&&"not_available"==a.o);if(c){if(!a.H&&mB(a)){try{if(null==a.g)var d=[];else{var e=a.g.googleGetCompanionAdSlots();d=(0,g.G)(e,a.fU,a)}}catch(f){d=
[]}a.D=d;a.H=!0}a.ge=!0;kB(a);lB(a)?a.dispatchEvent(new YA("companions_success")):nB(a)}else a.l||(a.A=(0,g.F)()+15E3,a.l=new g.ug(100),a.l.U("tick",a.AB,!1,a),a.l.start())};
lB=function(a){return mB(a)&&"retrieved"==a.o};
mB=function(a){a.B||(jB(a),a.B=null!=a.g&&null!=a.g.googleGetCompanionAdSlots);return a.B};
jB=function(a){var b=g.de(a.F);try{a.g=cB([b,b.top])}catch(c){a.g=null}};
nB=function(a){a.dispatchEvent(new YA("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
wia=function(a,b,c){var d=new $A(b,!0);d.Mb()?pB(a,c,b):rf(d,"ifload",g.Ea(function(a){pB(this,c,a)},b),!1,a)};
pB=function(a,b,c){a.dispatchEvent(new YA("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.zP,a,b),!1,a)};
qB=function(){g.Gf.call(this);this.o=[]};
rB=function(){return new Bs("empty-ad","GDFP","GDFP","",0,[],[],[],[],new g.Dm)};
sB=function(a){qB.call(this);this.g=a;this.F=this.Ua=null;this.D=!1;this.A=null;this.B=new g.Zm;an(this.B,this.g,["companions_success","companion_initialization_failed"],this.kS,this);an(this.B,this.g,"companion_display_error",this.BP,this);an(this.B,this.g,["companion_slot_init","companion_click"],this.xP,this);this.g.ge?this.D=!0:this.g.initialize()};
uB=function(a){var b=a.A;a.A=null;if(null!=a.g)if(g.Ra(a.o))tB(a,Error("Companion slots not available."));else if(null!=b){var c=xia(a,b);a.g.Ad(a.o);if(0<c.length&&b.za){a=a.g;var d;if(d=0!=c.length)d=Zs(b),d="GDFP"==(Us(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=fB(a);if(null!==c){eB(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else tB(a,Error("Invalid master ad."))};
tB=function(a,b){a.dispatchEvent(new mp("companion_display_error",b))};
xia=function(a,b){var c=[],d=[];(0,g.B)(a.o,function(a){pp(a);(0,g.Jj)(a.F,function(d){a:{d=dt(b,d.width,d.height);if(!g.Ra(d)&&(d=yia(d,c),null!=d)){var e=d.o;if(null!=e&&0!=a.H.indexOf(e)){d=!1;break a}e=d.g.K;$a(e,Qs(b,"companionClick"));var f=Qs(b,"companionImpression"),k=N.g()&&"Html"==d.g.L&&d.A;c.push(d);if(k)op(a,d.zc(),d.Bb(),d.getHeight(),f);else{k=d.jd();var q=d.Bb(),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=vB(b);a.C=wB(e,c);a.C||(0,g.B)(a.o,function(a){pp(a)},a);
return d};
wB=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.l?zia(c,b):"any"==a.l?Aia(c,b):!0};
vB=function(a){return null==a||null==a.g||(0,window.isNaN)(a.g.g)?null:g.Ma(mt(a,!0),function(a){a=a.g;return g.Ra(a)?!1:(0,window.isNaN)(a[0].g.g)?!1:a[0].g.g==Xo(a[0])})};
zia=function(a,b){return(0,g.rm)(a,function(a){return g.Qa(b,a)})};
Aia=function(a,b){return(0,g.Jj)(a,function(a){return g.Qa(b,a)})};
yia=function(a,b){return g.Ma(a,function(a){return!g.Qa(b,a)})};
xB=function(a,b){this.A=a;this.l=b;this.g=this.Ua=null};
Bia=function(a){var b=[],c=ls(a,"vmap:Extensions")[0];if(c){var d;os(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)});
if(d&&(b=ls(d,"yt:BreakTime"),!g.Ra(b)))return(0,g.G)(b,function(a){return ms(a,"timeOffset")})}return[ms(a,"timeOffset")]};
Cia=function(a,b){return(0,g.G)(b,function(a){var b=new Pz(a.l.clone());b.isBumper=a.isBumper;b.g=a.g;return b},a)};
Dia=function(a){return(a=g.Ma(g.Nd(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.Ma(g.Nd(a),function(a){return"VAST"==a.nodeName}):null};
Eia=function(a){var b=null,c=!1;a=g.Ma(a,g.Ea(yB,"type","youtube"));null!=a&&(a=(0,g.Md)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName}),g.Ra(a)||(a=a[0],a.hasAttribute("break_type")&&(b=iea(a.getAttribute("break_type"))),Bn().g("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=rs(c))));
return{breakType:b,an:c}};
yB=function(a,b,c){return ms(c,a)==b};
Gia=function(a,b){if(null!=a){if(null!=a){var c=g.Pd(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return Lx(),new Sz(a,b);null!=a?(c=g.Pd(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return Lx(),new xB(a,b);if(Ow(a)){if(!Ow(a))throw Tn(Vz);c=g.Pd(a);var d=Rw(c);if(1>d||4<d)throw Tn(Fia);c=ls(c,"Ad");if(g.Ra(c))throw Tn(zB);c=Sw(c[0]);if(null==c)throw Tn(AB);if(1!=ls(c,"AdSystem").length)throw Tn(AB);return new Nw(a)}}return null};
Hia=function(a){a=(0,g.Md)(a,function(a){return 0<at(a)});
g.ib(a,function(a,c){return at(a)-at(c)});
return a};
Iia=function(a){return(0,g.Md)(a,function(a){return-1==at(a)})};
jr=function(a){this.vf=a};
Jia=function(){this.Ua=null;this.g=0};
Kia=function(a,b,c,d,e,f,k){var l=(0,g.z)(function(a){d(a,Error(ix(a)))},a),m=(0,g.z)(function(a){6==a?BB(this,b,!1,c,l,e,f,k):l(a)},a);
BB(a,b,!0,c,m,e,f,k)};
BB=function(a,b,c,d,e,f,k,l){var m=new g.px;m.F=c;sx(m,Lia(f));var n=new g.Zm,q=(0,g.z)(function(){n.dispose();m.dispose()},a);
c=(0,g.z)(function(){e(m.l);q()},a);
dn(n,m,"success",function(){try{var a=m.g?m.g.responseXML:null}catch(I){a=null}if(null==a){var b=g.Bx(m);try{a=g.fs(b)}catch(I){a=es("parsererror")}}d(a);q()},a);
dn(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.Jm(b);var r=b.g.toString();Om(b,"");b=b.toString()}N.g()&&"POST"!=k&&(r=Mia(b,k),b=r.url,k=r.cU,r=r.content);a.g=(0,g.F)();m.send(In(b),k,r,l)};
Mia=function(a,b){var c=new WA;c.g=a;if(Ar(c)){c=new g.Jm(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,cU:b,content:e}};
CB=function(a,b){this.l=a;this.o=b};
DB=function(a,b){"auto"!=a.l.Ji&&"click"!=a.l.Ji||b.set("vpa",a.l.Ji)};
EB=function(a){g.C(N.getPlayerType())||(a.set("mpt",N.getPlayerType()),g.C("")||a.set("mpv",""))};
FB=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||""))};
GB=function(a,b){var c=2,d=gi&&gi.g?!1:0===fj();!rl()&&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)};
HB=function(a){return N.l?"h.3.0.0":null!=a.o?Fo(a.o):null};
IB=function(){this.g=["video"]};
JB=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))};
LB=function(a){var b={};hi(b);for(var c in b)a.set(c,b[c]);a.set("dt",KB)};
MB=function(a){if(a.fc&&a.fc.LACT){var b=a.fc.LACT.toString();if(b)return Hb(b)}return a.C};
NB=function(a){return N.g()&&a.fc&&a.fc.VIS?a.fc.VIS.toString():null};
TB=function(a,b,c){var d=new g.Dm;d.set("ad_type",b.adType);$o&&d.set("flash",OB);JB(d,a);PB(b)&&(d.set("ea","0"),null!=a.cf&&null!=a.bf&&d.set("image_size",QB(b,a.cf,a.bf,a.aj)));RB(d,c);d.set("lact",MB(a));(b=NB(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.Fp);LB(d);SB(a,d,!0);return d};
SB=function(a,b,c){g.C(g.E(a.referrer))||(a=a.referrer,c&&(a=g.pb(a)),UB("ref",a,b))};
XB=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.B)(a,function(a){if(!g.Vb(Nia,a))throw Tn(Uo,null,"ad_type",String(b));});
if(c){var d=[];(0,g.B)(a,function(a){g.Qa(VB,a)||d.push(a)});
a=d}c=g.Qa(a,"video");var e=g.Qa(a,"skippablevideo");!fo()||N.g()||Jo(Go.getInstance(),53,{playsInline:!1,iOS_version:fo()?no(ho):"",wv:(Jb("iPad")||Jb("iPhone"))&&!ic()&&!hc()&&!Jb("Coast")&&Jb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=An();if(!qo()){d=[];(0,g.B)(a,function(a){"video"==a?(d.push("standardvideo"),!N.g()&&Dn(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)});
if(0==d.length)throw Tn(WB,null,"skippablevideo");a=d}return a};
YB=function(a,b){return null!=b?b.split(/[+, ]/):a};
QB=function(a,b,c,d){a.l&&(c=Math.min(c,90));var e=0,f=0;a=!N.g();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.B)(Oia,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(",")};
ZB=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)};
$B=function(a,b){return null!=b?String(b):null!=a?a:null};
aC=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};
bC=function(a,b,c){return null!=b&&g.Vb(c,b)?b:a};
PB=function(a){return(0,g.Jj)(VB,function(b){return g.Qa(a.g,b)})};
RB=function(a,b){$o?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)))}};
UB=function(a,b,c){null!=b&&c.set(a,b)};
dC=function(a,b,c){CB.call(this,a,b);var d=new IB,e=(new g.Jm(a.g)).g;d.Ir=bC(d.Ir,e.get("cust_age"),Pia);d.xm=bC(d.xm,e.get("adsafe"),cC);d.g=XB(d.g,e.get("ad_type"));d.adType=d.g.join("_");d.Rp=ZB(d.Rp,e.get("videoad_start_delay"));d.Sp=$B(d.Sp,e.get("slotname"));d.Hr=aC(d.Hr,e.get("adtest"))||"on"==e.get("adtest");d.Up=aC(d.Up,e.get("scs"));d.Vp=$B(d.Vp,e.get("alternate_ad_url"));d.channels=YB(d.channels,e.get("channel"));d.wq=ZB(d.wq,e.get("cpm"));d.zk=$B(d.zk,e.get("description_url"));d.experimentIds=
$B(d.experimentIds,e.get("eid"));d.gender=bC(d.gender,e.get("cust_gender"),Qia);d.l=aC(d.l,e.get("overlay"));d.host=$B(d.host,e.get("host"));d.o=YB(d.o,e.get("h_ch"));d.hostTierId=ZB(d.hostTierId,e.get("ht_id"));d.isLiveStream=aC(d.isLiveStream,e.get("lsv"));if(null!=this.l.language)var f=this.l.language;else f=g.w.navigator||null,f=rn(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=$B(k,f);var l;null!=f&&!g.C(g.E(f))&&(l=rn(f));
d.language=$B(d.language,l);d.By=ZB(d.By,e.get("linearAdSlotWidth"));d.Ay=ZB(d.Ay,e.get("linearAdSlotHeight"));d.Zn=ZB(d.Zn,e.get("max_ad_duration"));d.ws=ZB(d.ws,e.get("min_ad_duration"));d.ao=ZB(d.ao,e.get("sdmax"));d.Dy=ZB(d.Dy,e.get("nonLinearAdSlotWidth"));d.Cy=ZB(d.Cy,e.get("nonLinearAdSlotHeight"));d.Pj=$B(d.Pj,e.get("client"));d.Fo=$B(d.Fo,e.get("t_pyv"));l=e.get("sdki");d.Qo=ZB(d.Qo,g.v(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=ZB(d.tagForChildDirectedTreatment,e.get("tfcd"));
d.Bo=$B(d.Bo,e.get("pucrd"));d.targeting=bC(d.targeting,e.get("targeting"),Ria);d.Mn=ZB(d.Mn,e.get("video_format"));d.Ku=ZB(d.Ku,e.get("video_cpm"));d.Jr=$B(d.Jr,e.get("loeid"));d.Qu=$B(d.Qu,e.get("yt_pt"));d.Nu=$B(d.Nu,e.get("ytdevice"));d.Ou=$B(d.Ou,e.get("ytdevicever"));d.Pu=$B(d.Pu,e.get("dbp"));d.A=$B(d.A,e.get("ms"));d.adBlock=ZB(d.adBlock,e.get("adBlock"));d.url=$B(d.url,e.get("url"));d.cq=$B(d.cq,e.get("avo"));d.Ju=$B(d.Ju,e.get("v_p"));d.OJ=a.B;d.PJ=a.A;d.contentTitle=a.contentTitle;d.Dp=
ZB(d.Dp,e.get("ad_block"));d.ym=$B(d.ym,e.get("adsid"));this.g=d;this.F=b;this.I=c;g.C(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),yn(An(),a))};
Tia=function(a){return(0,g.Jj)(Sia,function(a){return g.Qa(this.g.g,a)},a)};
eC=function(a){return N.g()?1:g.Qa(a.g.adType.split("_"),"text")?3:1};
Uia=function(a){a=a.g.channels?a.g.channels:[];cb(a);return a.join("+")};
fC=function(a,b){return Math.round(1.1*(a||0)+0*b)};
gC=function(a,b){CB.call(this,a,b)};
hC=function(a,b){CB.call(this,a,b)};
iC=function(a){CB.call(this,a,null)};
jC=function(a){CB.call(this,a,null)};
kC=function(a,b){CB.call(this,a,b);N.g()&&(this.o.A=Co())};
Via=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(",")};
lC=function(a,b,c){kC.call(this,a,b);b=An();this.H=g.C(g.E(a.o));a=new IB;a.g=XB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=$B(a.experimentIds,this.l.F);this.g=a;this.F=c;g.C(g.E(this.g.experimentIds))||yn(b,this.g.experimentIds.split(","))};
Wia=function(a){var b=TB(a.l,a.g,a.F);b.set("sdkv",HB(a));b.set("sdki",a.C().toString(16));return b};
Xia=function(a,b){var c=Wia(a),d=(0,g.G)(c.yb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
g.Sm(b,"afvparams",d.join("&"))};
mC=function(a,b,c){CB.call(this,a,b);An();this.H=g.C(g.E(a.o));a=new IB;a.g=XB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=$B(a.experimentIds,this.l.F);this.g=a;this.F=c;g.C(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),c=An(),yn(c,a))};
Yia=function(a){var b=TB(a.l,a.g,a.F);b.set("sdkv",HB(a));return b};
Zia=function(a,b){var c=Yia(a),d=(0,g.G)(c.yb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
sr(b,"afvparams",[g.pb(d.join("&"))])};
nC=function(a,b){CB.call(this,a,b)};
oC=function(a,b,c){a=new g.Jm(g.hn(a.l.g,$ia(a,b,c)));g.Km(a,"https");return a};
$ia=function(a,b,c){if(null==a.l||null==a.l.fc)return{};var d={},e=a.l.fc;(0,g.B)(aja,function(a){a in e&&(d[a]=e[a])});
(a=bja(a,e.DESCRIPTION_URL))&&(d.AD_BLOCK=a);b&&(d.BISCOTTI_ID=b);c&&(d.ANID=c);return d};
bja=function(a,b){return null!=b?uo(Eo(a.o),b):null};
cja=function(a,b){if(!xr(a.g)&&!yr(a.g)||g.C(g.E(a.o))||null==a.g||-1==a.g.search("afvbase="))if(xr(a.g))var c=new hC(a,Ho);else vr(a.g)?c=new dC(a,Ho,b):yr(a.g)?c=new kC(a,Ho):wr(a)?c=new gC(a,Ho):(c=a.g,null!=c?(c=(new g.Jm(c)).l,c=ob(c,".fwmrm.net")):c=!1,c=c?new iC(a):Ar(a)?new nC(a,Ho):new jC(a));else c=xr(a.g)?new mC(a,Ho,b):new lC(a,Ho,b);return c};
pC=function(a,b,c,d,e){this.B=a;this.o=b;this.A=c;this.g=d;this.C=e;this.Ua=null};
dja=function(a,b,c,d){if(b.l instanceof window.Document)var e=b.l;else try{e=g.fs(b.l)}catch(f){d(Tn(Vz,f));return}null!=e?qC(a,e,b,c,d):d(Tn(Vz))};
rC=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(Tn(eja,null,b.g)):N.I?yea(Oo(),(0,g.z)(a.l,a,b,c,d)):a.l(b,c,d)};
tC=function(a,b,c,d,e,f){b=vea(b,f);f=c.Gu&&Fn(fja,b)?"POST":"GET";var k=zr(b)?c.D:void 0;Kia(a.o,b,(0,g.z)(function(a){qC(this,a,c,d,e)},a),(0,g.z)(function(a,b){var d=8==a?Tn(er):5==a||6==a?Tn(gja):Tn(sC,b);
e(d);d="third_party";vr(c.g)?d="adsense":xr(c.g)?d="dart":yr(c.g)&&(d="xfp");d={rt:d,ec:a};Jo(Go.getInstance(),18,d,!0)},a),a.C,f,k);
hja(c)};
hja=function(a){var b="third_party";vr(a.g)?b="adsense":xr(a.g)?b="dart":yr(a.g)?b="xfp":wr(a)&&(b="dbm");a={rt:b};Jo(Go.getInstance(),17,a,!0)};
qC=function(a,b,c,d,e){try{var f=Gia(b,c);if(!f)throw Tn(Vz);var k=f.o();ija(a,k,c,d)}catch(l){l instanceof un?e(l):e(Tn(jja,l))}};
ija=function(a,b,c,d){var e=b.vf;if(null!=e)d(new jr(e));else{e=b.l;if(null==e)throw Tn(zB);(0,g.B)(e,function(a){a.o=c;var d=pn();d&&qn(d,"useCompanionsAsEndSlate")&&(a.K=oga(a));d=[];var e=a.getExtension("InfoCards");if(null!=e){e=e.o?e.o:new Tv;for(var f=0;f<Sv(e,"card");f++)d.push(new Uv(Qv(e,"card",f)))}a.B=d;a.Y=kga(a.B);a.Ma=this.o.g;N.g()&&(a.Ca=b.g)},a);
var f=Hia(e),k=Iia(e),l;0<k.length&&0<=$s(k[0])?l=new or(k,c,a,a.B):l=new dr(f,k,c,a);(0,g.B)(e,function(a){a.da=l});
d(l)}};
uC=function(a){this.g=a+(0,g.F)()};
Lia=function(a){var b=(0,g.F)();a=a.g-b;return 0<a?a:0};
vC=function(a,b){this.C=a;this.A=b;this.B=null;this.l=new g.Zm(this);this.o=this.g=null;this.F=!1;this.Ua=null};
kja=function(a){if(null===a.B)wC(a);else{var b=new g.Jm(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.C(g.E(c))||g.C(g.E(b)))wC(a);else if(c==d&&b==e)wC(a);else{var f=a.C.Th();hB(f,c,b);via(f,a.B);a.o=new g.ug(100);an(a.l,a.o,"tick",function(){a:{var a=gB(f);if(null!=a)try{var b=!1!==a.isAdRequestFinished();break a}catch(m){b=!0;break a}b=!1}b&&wC(this)},a);
a.o.start()}}};
lja=function(a){a.g=new g.ug;dn(a.l,a.g,"tick",function(){wC(this)},a);
a.g.setInterval(1E3);a.g.start()};
wC=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()};
mja=function(a,b){this.g=a;this.l=b;this.Ua=null;N.l&&gp().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}Ho.K=c};
nja=function(a,b,c,d){if(N.g()){var e=b.Ep;e&&nea(An(),e);gp()&&Hea()}e=null;null==a.g||N.g()||(e=new vC(a.g,a.l));var f=zfa(b);null!=f&&yfa(b)&&(a.l.Y=f);f=8E3;!N.g()&&Dn(An(),41351074)?f=5E3:!N.g()&&Dn(An(),41351075)&&(f=2E3);(new pC(a.l,new Jia,a.g,e,new uC(f))).fetch(b,(0,g.z)(function(a){a instanceof jr?c(a):hr(a,c,d)},a),d)};
g.xC=function(){this.g=[];this.l=[]};
yC=function(a){g.Ra(a.g)&&(a.g=a.l,a.g.reverse(),a.l=[])};
g.zC=function(a,b){a.l.push(b)};
g.AC=function(a){yC(a);return a.g.pop()};
BC=function(a){yC(a);return g.Ja(a.g)};
oja=function(a){this.Xa=a;this.g=new g.xC;this.Of=!1;this.Ua=null};
DC=function(a,b,c,d){var e=(0,g.z)(function(a){c(a);g.AC(this.g);this.Of=!1;CC(this)},a),f=(0,g.z)(function(a){d(a);
g.AC(this.g);this.Of=!1;CC(this)},a);
g.zC(a.g,(0,g.z)(function(){nja(this.Xa,b,e,f)},a));
CC(a)};
CC=function(a){if(!a.Of){var b=BC(a.g);null!=b&&(a.Of=!0,b())}};
EC=function(a,b,c){g.Gf.call(this);this.Xa=new oja(new mja(b,c));this.o=a;this.l=b;this.g=!0;this.A=c;this.Ua=null};
pja=function(a,b,c){if(a.g){var d=null!=c?c:{};oha(Kx.getInstance(),b.g);DC(a.Xa,b,(0,g.z)(function(a){FC(this,a,d)},a),(0,g.z)(function(a){GC(this,a,d)},a))}};
aia=function(a,b,c){if(!a.g){var d=null!=c?c:{};DC(a.Xa,b,(0,g.z)(function(a){FC(this,a,d)},a),(0,g.z)(function(a){GC(this,a,d)},a))}};
FC=function(a,b,c){if(a.g)if(b instanceof jr)b=new HC(b.vf,a,a.o.Hw),b.Bg(a.l),a.dispatchEvent(new UA(b,c));else try{var d=Mz(a.o,b);d.Bg(a.l);a.dispatchEvent(new UA(d,c,0<b.length?b[0].Ca:null))}catch(e){GC(a,Tn(IC,null),c)}else b instanceof jr?GC(a,Tn(qja,null,"Unsupported ad format."),c):(d=new tn("adsLoaderSdkAdLoaded"),d.A=b,d.o=c,a.dispatchEvent(d))};
GC=function(a,b,c){a.g?("always"==N.A&&null!=a.l&&a.l.Ad(rB()),a.dispatchEvent(new nn(b,c))):(c=new tn("adsLoaderSdkAdError"),c.g=b,a.dispatchEvent(c))};
JC=function(a,b){this.I=a;this.N=new g.Dm;this.L=15E3;this.C=g.J("SPAN");oz.call(this,a[0],b);this.g.appendChild(this.C)};
KC=function(a,b){oz.call(this,a[0],b);this.A=a;g.Q(this.g,"ima-container-stack")};
LC=function(a){rz.call(this,a);this.C=!1;this.l=this.A=null;this.F=!1};
MC=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=Bp(c),a.text=c);return a};
NC=function(a){return a.bb()&&ot(a.ka())};
rja=function(a){var b=OC(a);b.rba=a.B;Jo(Go.getInstance(),37,b)};
OC=function(a){var b=[],c=[];(0,g.B)(a.A,function(a){b.push(a.Bb()+"x"+a.getHeight());c.push(a.kd())},a);
var d={};d.pid=Kx.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};
PC=function(a,b){if(a.l){a.Fn(new g.ef("close"));var c={};c.pid=Kx.getInstance().g;c.evt=b;Jo(Go.getInstance(),35,c)}};
QC=function(a,b){g.K.call(this);this.A=a;this.g=-1;this.o=b};
RC=function(a,b){QC.call(this,a,b)};
HC=function(a,b,c){Ru.call(this,[]);this.vf=a;this.xb=new g.Dm;this.Qb=this.kb=null;this.Hw=c;this.Bk=new g.xC;this.Od=null;this.Xa=b;this.Tp=this.Vm=!1;this.ji=null;this.Re=0;this.ae=this.be=-1;this.hd=null;this.Vt=0;this.Ua=null;this.Ak=!1};
tja=function(a,b){if(null!==a.Ea){var c=1;a.Re=0;var d=new ey;(0,g.B)(b,function(a){if((0,window.isNaN)(a))throw Tn(Uz,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.vf;if((0,window.isNaN)(a)||!g.ua(a))throw Error("Incorrect time offset.");Fm(b.g,a)&&b.g.remove(a)}else if(b=g.ua(a)&&!(0,window.isNaN)(a)?this.vf.g.get(a,[]):[],!g.Ra(b)){this.Re+=b.length;var e=0==a||-1==a?a:c++;b=new vz(b,a,e,this.Xa,this.Ea,this.La,this.Nd);if(d.contains(a))throw Tn(sja,null,"Multiple ad breaks cannot share same ad play time.");
this.xb.set(g.Da(b),b);d.add(a)}},a)}};
uja=function(a,b){a.ji=g.Ja(b);(0,g.Jj)(b,function(a){if(-1==a)return this.ji=a,!0;this.ji=this.ji<a?a:this.ji;return!1},a)};
UC=function(a,b){a.Ak=!1;a.Xi(b);0==b.yc?a.Vf():(-1==b.yc?(SC(a)||!N.g()&&a.Vm)&&TC(a):bA(a.Qb),a.Od=null)};
vja=function(a){if(null!=a.Qb){VC(a);var b=a.Sa();an(b,a.Qb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);an(b,a.Qb,"adBreakReady",a.CO,a);an(b,a.Qb,"adNotify",a.Bl,a);an(b,a.Qb,"discardAdNotify",a.Dl,a);an(b,a.Xa,"contentComplete",a.DP,a);a.Xa.g=!1}};
VC=function(a){null!=a.Yb&&(a.Yb.dispose(),a.Yb=null);a.Vm=!1;null!=a.Qb&&a.Qb.Sc()};
WC=function(a){if(null==a.Od){var b=g.AC(a.Bk);if(null!=b){a.Od=b;var c=a.xb.get(a.Od.g);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.Od=null,WC(a);else if(null!=a.hd&&a.hd.l(c))a.Od=null,WC(a);else if("requestAds"==b)a.Ak?(a.Bk.isEmpty()||"playAds"!=BC(a.Bk).type||g.AC(a.Bk),UC(a,c)):0==c.yc&&a.Yf()||XC(a,c);else{if("playAds"==b)if(a.Ak)UC(a,c);else if(null!=a.kb&&a.kb.fb()&&a.Xi(a.kb),a.kb=c,a.kb.setVolume(a.volume),wz(a.kb,a.be,a.ae,a.Vc),a.kb.L&&a.Od.l<a.Vt){c=a.kb;if(c.l<c.o.length){b=
c.o[c.l];Fz(c);try{c.F=new g.Zm(c),c.g=Gz(c,b,c.F)}catch(e){c.l++,Kz(c)}}c=a.Qb;b=a.Vt;var d=new $z(a.kb);d.g=b;d.l=!0;g.kb(c.g,d,aA);a.ga("contentResumeRequested");a.Od=null;WC(a)}else a.kb.start()}else a.Od=null,WC(a)}}};
XC=function(a,b){var c=a.Sa();an(c,b,cz,a.dispatchEvent,a);an(c,b,"adError",a.yx,a);an(c,b,"allAdsCompleted",a.QA,a);an(c,b,"contentPauseRequested",a.ph,a);an(c,b,"contentResumeRequested",a.Vf,a);an(c,b,"userClose",a.wi,a);an(c,b,"why_this_ad_url",a.Ot,a);an(c,b,"why_this_ad_got_it",a.Nt,a);an(c,b,"autoClose",a.ti,a);an(c,b,"adBreakInitialized",a.RA,a);b.init(a.be,a.ae,a.Vc)};
TC=function(a){if(!a.Tp){a.Tp=!0;a.Xa.g=!0;try{Jo(Go.getInstance(),44,{cmpl:!0})}catch(b){}a.ga("allAdsCompleted");-1==a.ji&&YC(a)}};
YC=function(a){Dn(An(),420706009)||Ho.clear();null!=a.Nd&&(a=a.Nd.Th(),null!=a&&iB(a,Ho.g))};
SC=function(a){return 0==a.xb.rb().length};
ZC=function(a){return null!=a.kb?a.kb:null!=a.Od?a.xb.get(a.Od.g):null};
wja=function(){this.Hw=new lia;this.Ua=null};
Mz=function(a,b){if(g.Ra(b))throw Error("Ads manager creation failure, no ads.");if(xja(a,b)){var c=yja(a,b);if(!g.Ra(c))return new jz(c)}c=hz(b);N.g()||(c=c&&null!=ct(b[0])?new gz(a,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
yja=function(a,b){var c=[];(0,g.B)(b,function(a){var b=hz([a]);b&&a.Sb()&&g.Ta(c,b)},a);
return c};
hz=function(a){var b=a[0];switch($C(b)){case "overlay":return jt(b)?new LC(a):new rz(a);case "video":return new gy(a);case "vpaid":return new Sy(a);case "flash_vpaid":return 2==N.D?new Ww(a):new bx(a)}return null};
xja=function(a,b){if(1==b.length)return!1;var c=$C(b[0]);return(0,g.Jj)(b,function(a){a=$C(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)};
$C=function(a){var b=Fs(a)&&N.g();b=0!=N.D||b;return null!=tt(a)&&b?"vpaid":$o&&null!=ut(a)&&0!=N.D?"flash_vpaid":jt(a)&&null==tt(a)&&nt(a,"nonlinear")?"overlay":nt(a,"linear")?"video":nt(a,"nonlinear")&&null==tt(a)?"overlay":null};
aD=function(a){g.Gf.call(this);this.l=a;a=new sB(new bB);this.g=new EC(new wja,a,Ho);this.g.U("adsManagerLoaded",this.dispatchEvent,!1,this);this.g.U("adError",this.dispatchEvent,!1,this);this.g.U("adLoadError",this.dispatchEvent,!1,this)};
bD=function(a,b,c){oea();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.Te=kn(b.g,a.l.F);b.qu=a.l.K;pja(a.g,b,c)};
cD=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};
dD=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)};
zja=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=dD(a,c);var l=(dD(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=dD(a,c);return c};
eD=function(){this.g=this.o=this.A=5E3};
g.fD=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.gD=function(a){g.K.call(this);this.oc=1;this.o=[];this.A=0;this.g=[];this.l={};this.B=!!a};
Aja=function(a,b,c){g.Uf(function(){a.apply(b,c)})};
g.hD=function(a){this.g=a};
iD=function(a){this.g=a};
jD=function(a){this.data=a};
kD=function(a){return!g.t(a)||a instanceof jD?a:new jD(a)};
lD=function(a){this.g=a};
g.mD=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.F)()||!!b&&b>(0,g.F)()};
g.nD=function(a){this.g=a};
Bja=function(){};
oD=function(){};
pD=function(a){this.g=a};
qD=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
rD=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
tD=function(a,b){this.l=a;this.g=null;if(g.zd&&!g.sc(9)){sD||(sD=new g.Dm);this.g=sD.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)),sD.set(a,this.g));try{this.g.load(this.l)}catch(c){this.g=null}}};
uD=function(a){return"_"+(0,window.encodeURIComponent)(a).replace(/[.!~*'()%]/g,function(a){return Cja[a]})};
vD=function(a){try{a.g.save(a.l)}catch(b){throw"Storage mechanism: Quota exceeded";}};
wD=function(a){return a.g.XMLDocument.documentElement};
xD=function(a,b){this.l=a;this.g=b+"::"};
g.yD=function(a){var b=new qD;return b.isAvailable()?a?new xD(b,a):b:null};
zD=function(a,b){this.oc=a;this.g=b};
AD=function(a){this.g=[];if(a)a:{if(a instanceof AD){var b=a.yb();a=a.rb();if(0>=this.Ac()){for(var c=this.g,d=0;d<b.length;d++)c.push(new zD(b[d],a[d]));break a}}else b=g.Sb(a),a=g.Qb(a);for(d=0;d<b.length;d++)BD(this,b[d],a[d])}};
BD=function(a,b,c){var d=a.g;d.push(new zD(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};
CD=function(){AD.call(this)};
Dja=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).Ge();d&&(e.as=d);c&&(e.nonce=c);if(a=a.getElementsByTagName("head")[0])try{a.appendChild(e)}catch(f){}};
DD=function(a){return Eja.test(a)&&!Fja.test(a)};
Gja=function(a){a="https://"+("adservice"+a+"/adsid/integrator.js");var b=["domain="+(0,window.encodeURIComponent)(g.w.location.hostname)];ED[3]>=(0,g.F)()&&b.push("adsid="+(0,window.encodeURIComponent)(ED[1]));return a+"?"+b.join("&")};
HD=function(){FD=g.w;ED=FD.googleToken=FD.googleToken||{};var a=(0,g.F)();ED[1]&&ED[3]>a&&0<ED[2]||(ED[1]="",ED[2]=-1,ED[3]=-1,ED[4]="",ED[6]="");GD=FD.googleIMState=FD.googleIMState||{};DD(GD[1])||(GD[1]=".google.com");g.ya(GD[5])||(GD[5]=[]);g.ta(GD[6])||(GD[6]=!1);g.ya(GD[7])||(GD[7]=[]);g.ua(GD[8])||(GD[8]=0)};
ID=function(){HD();return ED[1]};
Hja=function(a){HD();var b=FD.googleToken[5]||0;a&&(0!=b||ED[3]>=(0,g.F)()?JD.mw(a):(JD.Cx().push(a),JD.Yt()));ED[3]>=(0,g.F)()&&ED[2]>=(0,g.F)()||JD.Yt()};
KD=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||"";HD();1==e?JD.HT():JD.GT();if(!f&&JD.shouldRetry())DD(".google.com")&&(GD[1]=".google.com"),JD.Yt();else{var q=FD.googleToken=FD.googleToken||{},r=0==e&&f&&g.v(f)&&!k&&g.ua(l)&&0<l&&g.ua(m)&&0<m&&g.v(n);k=k&&!JD.Pq()&&
(!(ED[3]>=(0,g.F)())||"NT"==ED[1]);var u=!(ED[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,HD();if(r||!JD.Pq()){e=JD.Cx();for(f=0;f<e.length;f++)JD.mw(e[f]);e.length=0}}};
Hja(a)};
LD=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};
ND=function(a,b,c){a.g=!0;a.o=c;a.A=!b;MD(a)};
PD=function(a){if(a.g){if(!a.H)throw new OD(a);a.H=!1}};
RD=function(a,b,c){QD(a,b,null,c)};
QD=function(a,b,c,d){a.B.push([b,c,d]);a.g&&MD(a)};
SD=function(a){return(0,g.Jj)(a.B,function(a){return g.Aa(a[1])})};
MD=function(a){if(a.C&&a.g&&SD(a)){var b=a.C,c=TD[b];c&&(g.w.clearTimeout(c.ia),delete TD[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,SD(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 LD?(QD(b,l,d),b.N=!0):b.then(l,
d));c&&(b=new UD(b),TD[b.ia]=b,a.C=b.ia)};
OD=function(){Ia.call(this)};
VD=function(){Ia.call(this)};
UD=function(a){this.ia=g.w.setTimeout((0,g.z)(this.l,this),0);this.g=a};
WD=function(a){He(this,a,Ija,null)};
XD=function(a){He(this,a,null,null)};
Jja=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};
YD=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.$D=function(a){YD(g.ZD,arguments)};
g.aE=function(a,b){return a in g.ZD?g.ZD[a]:b};
Kja=function(){};
cE=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.bE(b)}}:a};
g.bE=function(a,b,c,d,e){var f=g.x("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.aE("ERRORS",[]),f.push([a,b,c,d,e]),g.$D("ERRORS",f))};
dE=function(a){g.bE(a,"WARNING",void 0,void 0,void 0)};
Lja=function(){if(!eE)return null;var a=eE();return"open"in a?a:null};
g.fE=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.gE=function(a,b){g.Aa(a)&&(a=cE(a));return window.setTimeout(a,b)};
g.hE=function(a,b){g.Aa(a)&&(a=cE(a));return window.setInterval(a,b)};
g.iE=function(a){window.clearTimeout(a)};
g.jE=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])?$a(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
kE=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.lE=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.jE(a)};
mE=function(a){a=a.split(",");return a=a.map(function(a){return g.lE(a)})};
g.nE=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.lE(1<a.length?a[1]:a[0])):{}};
g.pE=function(a,b){return oE(a,b||{},!0)};
g.uE=function(a,b){return oE(a,b||{},!1)};
oE=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.lE(e[1]||"");for(var f in b)if(c||!Ub(e,f))e[f]=b[f];return g.Ug(a,e)+d};
zE=function(a){if(!b)var b=window.location.href;var c=g.Hg(a)[1]||null,d=g.Kg(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.Kg(b)==d&&g.Lg(b)==g.Lg(a):!0;return a};
AE=function(){if(!a)var a=window.document.location.href;a=g.Hg(a)[1]||null;return null!==a&&"https"==a};
Mja=function(a,b){b=void 0===b?{}:b;var c=zE(a),d;for(d in BE){var e=g.aE(BE[d]),f;if((f=e)&&!(f=c)){f=d;var k=g.aE("CORS_HEADER_WHITELIST")||{},l=g.Kg(a);f=l?(k=k[l])?g.Qa(k,f):!1:!0}f&&(b[d]=e)}return b};
Nja=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=CE(a,b);var d=DE(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.iE(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.qd&&b.qd.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.pB&&0<b.timeout&&(f=g.gE(function(){e||(e=!0,g.iE(f),b.pB.call(b.context||g.w))},b.timeout))}else g.EE(a,b)};
g.EE=function(a,b){var c=b.format||"JSON";a=CE(a,b);var d=DE(a,b),e=!1,f,k=FE(a,function(a){if(!e){e=!0;f&&g.iE(f);var d=g.fE(a),k=null;if(d||400<=a.status&&500>a.status)k=Oja(c,a,b.o3);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.qd&&b.qd.call(l,a,k)}},b.method,d,b.headers,b.responseType,b.withCredentials);
b.rd&&0<b.timeout&&(f=g.gE(function(){e||(e=!0,k.abort(),g.iE(f),b.rd.call(b.context||g.w,k))},b.timeout));
return k};
CE=function(a,b){b.s3&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var c=g.aE("XSRF_FIELD_NAME",void 0),d=b.Uc;d&&(d[c]&&delete d[c],a=g.pE(a,d));return a};
DE=function(a,b){var c=g.aE("XSRF_FIELD_NAME",void 0),d=g.aE("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.Kb,k=g.aE("XSRF_FIELD_NAME",void 0),l;b.headers&&(l=b.headers["Content-Type"]);b.q3||g.Kg(a)&&!b.withCredentials&&g.Kg(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.lE(e),g.fc(e,f),e=b.bC&&"JSON"==b.bC?JSON.stringify(e):g.Sg(e));f=e||f&&!g.Yb(f);!GE&&f&&"POST"!=b.method&&(GE=!0,g.bE(Error("AJAX request with postData should use POST")));
return e};
Oja=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)?Pja(b):null)d={},(0,g.B)(b.getElementsByTagName("*"),function(a){d[a.tagName]=Qja(a)})}c&&HE(d);
return d};
HE=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]):HE(a[b])};
Pja=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Qja=function(a){var b="";(0,g.B)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.IE=function(a,b){b.method="POST";b.Kb||(b.Kb={});g.EE(a,b)};
FE=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&cE(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Lja();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=Mja(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.JE=function(){var a=/Chrome\/(\d+)/.exec(g.Ib);return a?(0,window.parseFloat)(a[1]):window.NaN};
ME=function(){return KE("android")&&KE("chrome")&&!LE()};
g.NE=function(){return KE("cobalt")};
OE=function(){return KE("cobalt")&&KE("; youtubevr")};
PE=function(){return KE("cobalt")&&KE("appletv")};
QE=function(){return KE("(ps3; leanback shell)")||KE("ps3")&&g.NE()};
RE=function(){return KE("(ps4; leanback shell)")||KE("ps4")&&g.NE()};
SE=function(){var a=/WebKit\/([0-9]+)/.exec(g.Ib);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
TE=function(){return KE("nintendo wiiu")};
UE=function(){return KE("iemobile")||KE("windows phone")&&KE("edge")};
LE=function(){return KE("trident/")||KE("edge/")};
VE=function(){return KE("smart-tv")&&KE("samsung")};
KE=function(a){var b=g.Ib;return b?0<=b.toLowerCase().indexOf(a):!1};
g.WE=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.NE()?a&&(a=g.Hc(g.Kc(a)),"about:invalid#zClosurez"===a?a="":(a=g.Tc(Vc(a)),a=g.pb(g.Bg(a))),g.C(a)||(a=g.J("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),g.nd(a).body.appendChild(a))):e?FE(a,b,"POST",e,d):g.aE("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?FE(a,b,"GET","",d):Rja(a,b))};
XE=function(a){if(a)for(var b=0;b<a.length;b++)g.WE(a[b],void 0,void 0)};
YE=function(a,b,c){c=void 0===c?"":c;try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,c)?b&&b():g.WE(a,b,void 0,void 0,c)}catch(d){g.WE(a,b,void 0,void 0,c)}};
Rja=function(a,b){var c=new window.Image,d=""+Sja++;ZE[d]=c;c.onload=c.onerror=function(){b&&ZE[d]&&b();delete ZE[d]};
c.src=a};
aF=function(a,b){var c=g.cc(b),d;return g.mg(new g.$f(function(b,f){c.onSuccess=function(a){g.fE(a)?b(a):f(new $E("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){f(new $E("Unknown request error","net.unknown",a))};
c.rd=function(a){f(new $E("Request timed out","net.timeout",a))};
d=g.EE(a,c)}),function(a){a instanceof rg&&d.abort();
return eg(a)})};
g.bF=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 $E("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(aF(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(aF(a,b),c-1,d)};
$E=function(a,b,c){Ia.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"};
cF=function(a){this.o=void 0===a?null:a;this.l=0;this.g=null};
dF=function(a){var b=new cF;a=void 0===a?null:a;b.l=2;b.g=void 0===a?null:a;return b};
eF=function(a){var b=new cF;a=void 0===a?null:a;b.l=1;b.g=void 0===a?null:a;return b};
gF=function(a){Ia.call(this,a.message||a.description||a.name);this.isMissing=a instanceof fF;this.isTimeout=a instanceof $E&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof rg};
fF=function(){Ia.call(this,"Biscotti ID is missing from server")};
Tja=function(){if("1"===g.Tb(g.aE("PLAYER_CONFIG",{}),"args","privembed"))return eg(Error("Biscotti ID is not available in private embed mode"));hF||(hF=g.mg(aF("//googleads.g.doubleclick.net/pagead/id",iF).then(jF),function(a){return kF(2,a)}));
return hF};
jF=function(a){a=a.responseText;if(!g.nb(a,")]}'"))throw new fF;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new fF;a=a.id;lF(a);hF=eF(a);mF(18E5,2);return a};
kF=function(a,b){var c=new gF(b);lF("");hF=dF(c);0<a&&mF(12E4,a-1);throw c;};
mF=function(a,b){g.gE(function(){g.mg(aF("//googleads.g.doubleclick.net/pagead/id",iF).then(jF,function(a){return kF(b,a)}),g.y)},a)};
lF=function(a){g.va("yt.ads.biscotti.lastId_",a,void 0)};
nF=function(){try{var a=g.x("yt.ads.biscotti.getId_");return a?a():Tja()}catch(b){return eg(b)}};
oF=function(a){Ia.apply(this,arguments)};
Uja=function(){var a=new oF("ID is missing"),b=new oF("Timeout"),c=null,d=!1;KD(function(){c=ID();d=!0});
if(d)return c?eF(c):dF(a);var e=new g.$f(function(b,c){KD(function(){var d=ID();d?b(d):c(a)})}),f=xg(5E3).then(function(){return eg(b)});
return kg(hg([e,f]),function(){return f.cancel()})};
pF=function(){g.x("yt.ads.yuzu.getId_")||g.va("yt.ads.yuzu.getId_",Uja,void 0);try{return g.x("yt.ads.yuzu.getId_")()}catch(a){return eg(a)}};
g.rF=function(a,b,c){a&&(a.dataset?a.dataset[g.qF(b)]=String(c):a.setAttribute("data-"+b,c))};
g.sF=function(a,b){return a?a.dataset?a.dataset[g.qF(b)]:a.getAttribute("data-"+b):null};
g.qF=function(a){return tF[a]||(tF[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
vF=function(a,b){if(a in b)return b[a];var c=uF+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
wF=function(a,b){var c;(0,g.Jj)(a,function(a){c=b[a];return!!c});
return c};
zF=function(a){var b;xF()?g.yF()==a&&(b=window.document):b=a;b&&(a=wF(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
AF=function(a){return g.Ma(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
Vja=function(){var a=window.document;return g.Ma(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
xF=function(){return!!wF(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.yF=function(){var a=wF(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
BF=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 Wja||(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}};
CF=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}};
DF=function(a){g.t(a.g)||CF(a);return a.g};
EF=function(a){g.t(a.l)||CF(a);return a.l};
Xja=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(FF,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.IF=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Xja(a,b,c,d);if(e)return e;e=++GF.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new BF(d);if(!g.$d(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new BF(b);
b.currentTarget=a;return c.call(a,b)};
k=cE(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"),HF()||g.ta(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);FF[e]=[a,b,c,k,d];return e};
Yja=function(a,b,c,d){var e=a||window.document;return g.IF(e,b,function(a){var b=g.$d(a.target,function(a){return a===e||d(a)},!0);
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})};
g.JF=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.B)(a,function(a){if(a in FF){var b=FF[a],d=b[0],e=b[1],f=b[3];b=b[4];d.removeEventListener?HF()||g.ta(b)?d.removeEventListener(e,f,b):d.removeEventListener(e,f,!!b.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete FF[a]}}))};
g.KF=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
LF=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.KF(a)};
MF=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};
NF=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.hd(b,c)};
g.OF=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.PF=function(a){a=a||window.event;return!1===a.returnValue||a.Ly&&a.Ly()};
g.QF=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
g.RF=function(a,b,c,d){return Yja(a,b,c,function(a){return g.Aq(a,d)})};
SF=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.IF(a,b,function(){g.JF(e);c.apply(a,arguments)},d)};
g.TF=function(a){g.K.call(this);this.l=a||window;this.g=[]};
g.UF=function(a){g.JF(a.g);a.g.length=0};
VF=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.zb=0;this.D=g.IF(window,"mousemove",(0,g.z)(this.I,this));this.H=g.hE((0,g.z)(this.C,this),25)};
g.WF=function(a){g.K.call(this);this.K=[];this.Vb=a||this};
XF=function(a,b,c,d){for(var e=0;e<c.length;e++)a.O(b,c[e],d)};
g.YF=function(a){for(;a.K.length;){var b=a.K.pop();b.target.removeEventListener(b.name,b.tk)}};
g.ZF=function(){g.K.call(this);this.ca=new g.gD;g.L(this,this.ca)};
g.aG=function(a,b,c,d){g.ZF.call(this);this.o=!!b;this.C=a;this.H=c||a;this.F=!!d;this.g=new g.WF(this);g.L(this,this.g);this.B=this.D=null;this.A=this.l=!1;b&&(g.Bd&&a.setAttribute("draggable","true"),a.style.touchAction="none");$F(this)};
bG=function(a,b,c){a.g.O(a.H,b,c,void 0,!a.o)};
$F=function(a){a.B=null;a.D=null;bG(a,cG("over"),a.rz);bG(a,"touchstart",a.Bs);a.o&&bG(a,cG("down"),a.sO)};
dG=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};
cG=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
g.eG=function(a){return g.aE("EXPERIMENT_FLAGS",{})[a]};
fG=function(a){a=a||{};this.url=a.url||"";this.args=a.args||g.cc(Zja);this.assets=a.assets||{};this.attrs=a.attrs||g.cc($ja);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||{}};
aka=function(a){a instanceof fG||(a=new fG(a));return a};
g.kG=function(a,b,c){var d=g.gG();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.hG[e]&&b.apply(c||window,d)};
try{iG[a]?k():g.gE(k,0)}catch(l){g.bE(l)}},c);
g.hG[e]=!0;g.jG[a]||(g.jG[a]=[]);g.jG[a].push(e);return e}return 0};
g.mG=function(a,b){var c=g.kG(a,function(a){b.apply(void 0,arguments);g.lG(c)},void 0)};
g.lG=function(a){var b=g.gG();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.hG[a]}))};
g.nG=function(a,b){var c=g.gG();return c?c.publish.apply(c,arguments):!1};
g.oG=function(a,b){iG[a]=!0;var c=g.gG();c&&c.publish.apply(c,arguments);iG[a]=!1};
g.gG=function(){return g.x("ytPubsubPubsubInstance")};
g.uG=function(a,b){if(a.Ym){var c=a.Ym;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);pG[a.Ym.token]=d;c=qG(a.endpoint,a.Ym.token)}else c=qG(a.endpoint);c.push(a.payload);rG[a.endpoint]=new b;c.length>=(Number(g.eG("web_logging_max_batch")||0)||20)?sG():tG()};
sG=function(){g.iE(vG);if(!g.Yb(wG)){for(var a in wG){var b=rG[a];if(b){var c=void 0,d=a,e=b,f=bka[d],k=xG[d]||{};xG[d]=k;b=Math.round(g.yG());for(c in wG[d]){var l={context:g.zG(e.g)};l[f]=qG(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;var m=pG[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 pG[c];m=l;m.requestTimeMs=b;(r=g.aE("EVENT_ID",void 0))&&g.eG("enable_gel_web_client_event_id")&&(n=(g.aE("BATCH_CLIENT_COUNTER",void 0)||0)+1,n>cka&&(n=1),g.$D("BATCH_CLIENT_COUNTER",n),m.serializedClientEventId={serializedEventId:r,clientCounter:n});g.AG(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 wG[a]}}g.Yb(wG)||
tG()}};
tG=function(){g.iE(vG);vG=g.gE(sG,g.aE("LOGGING_BATCH_TIMEOUT",1E4))};
qG=function(a,b){b=void 0===b?"":b;wG[a]=wG[a]||{};wG[a][b]=wG[a][b]||[];return wG[a][b]};
dka=function(){};
g.CG=function(a,b){return BG(a,1,b)};
DG=function(){};
g.EG=function(){return!!g.x("yt.scheduler.instance")};
BG=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.gE(a,c||0)};
g.FG=function(a){if(!(0,window.isNaN)(a)){var b=g.x("yt.scheduler.instance.cancelJob");b?b(a):g.iE(a)}};
GG=function(a){var b=g.x("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
JG=function(){var a={},b=void 0===a.bK?!0:a.bK;a=void 0===a.AT?!1:a.AT;if(null==g.x("_lact",window)){var c=(0,window.parseInt)(g.aE("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&&HG();g.IF(window.document,"keydown",HG);g.IF(window.document,"keyup",HG);g.IF(window.document,"mousedown",HG);g.IF(window.document,"mouseup",HG);b&&(a?g.IF(window,"touchmove",function(){IG("touchmove",200)},{passive:!0}):(g.IF(window,"resize",function(){IG("resize",
200)}),g.IF(window,"scroll",function(){IG("scroll",200)})));
new VF(function(){IG("mouse",100)});
g.IF(window.document,"touchstart",HG,{passive:!0});g.IF(window.document,"touchend",HG,{passive:!0})}};
IG=function(a,b){KG[a]||(KG[a]=!0,g.CG(function(){HG();KG[a]=!1},b))};
HG=function(){null==g.x("_lact",window)&&JG();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.LG=function(){var a=g.x("_lact",window),b;null==a?b=-1:b=Math.max((0,g.F)()-a,0);return b};
g.NG=function(a,b,c,d){var e=g.MG,f={};f.eventTimeMs=Math.round(c||g.yG());f[a]=b;f.context={lastActivityMs:String(c?-1:g.LG())};g.uG({endpoint:"log_event",payload:f,Ym:d},e)};
g.zG=function(a){a={client:{hl:a.Ur,gl:a.Tr,clientName:a.Sr,clientVersion:a.innertubeContextClientVersion}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.aE("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.aE("DELEGATED_SESSION_ID")});return a};
eka=function(a){var b={"X-Goog-Visitor-Id":g.aE("VISITOR_DATA","")},c;a?c="Bearer "+g.x("gapi.auth.getToken")().j3:c=g.Cm();c&&(b.Authorization=c,b["X-Goog-AuthUser"]=g.aE("SESSION_INDEX",0));return b};
g.PG=function(a,b,c,d){OG.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)};
g.QG=function(a,b,c){OG.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
RG=function(){var a;(a=g.yD("yt.innertube"))||(a=new tD("yt.innertube"),a=a.isAvailable()?a:null);this.g=a?new lD(a):null;this.l=window.document.domain||window.location.hostname};
g.MG=function(a){this.g=a||{innertubeApiKey:g.aE("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.aE("INNERTUBE_API_VERSION",void 0),Sr:g.aE("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.aE("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Ur:g.aE("INNERTUBE_CONTEXT_HL",void 0),Tr:g.aE("INNERTUBE_CONTEXT_GL",void 0),Pn:g.aE("INNERTUBE_HOST_OVERRIDE",void 0)||"",eK:!!g.aE("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
g.AG=function(a,b,c,d){!g.aE("VISITOR_DATA")&&.01>Math.random()&&g.bE(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",Kb:c,bC:"JSON",rd:function(){d.rd()},
pB:d.rd,onSuccess:function(a,b){if(d.onSuccess)d.onSuccess(b)},
v3:function(a){if(d.onSuccess)d.onSuccess(a)},
onError:function(a,b){if(d.onError)d.onError(b)},
u3:function(a){if(d.onError)d.onError(a)},
timeout:d.timeout,withCredentials:!0};var e=eka(a.g.eK||!1);Object.assign(c.headers,e);e="";var f=a.g.Pn;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.eG("use_fetch_for_op_xhr")?Nja(a,c):g.IE(a,c)}catch(k){if("InvalidAccessError"==k)g.bE(Error("An extension is blocking network request."),"WARNING");else throw k;}};
TG=function(a,b){var c=Object.keys(a).join("");SG("info_"+c+"_"+b)||(a.clientActionNonce=b,g.NG("latencyActionInfo",a,void 0,void 0))};
SG=function(a){UG[a]=UG[a]||{count:0};var b=UG[a];b.count++;b.time=g.yG();VG||(VG=BG(fka,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.aE("INNERTUBE_CONTEXT_CLIENT_NAME",1);d.version=g.aE("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<=WG)){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(!(XG[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.aE("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.aE("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var q in d)l.Kb[q]=d[q];g.EE(g.aE("ECATCHER_REPORT_HOST","")+"/error_204",l);XG[a.message]=!0;WG++}}}return!0}return!1};
fka=function(){var a=g.yG(),b;for(b in UG)6E4<a-UG[b].time&&delete UG[b];VG=0};
ZG=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(YG)for(b=1,c=0;c<YG.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^YG.charCodeAt(c),b++;return a};
$G=function(){for(var a=ZG(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJLKMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
g.aH=function(){return(0,g.G)(ZG(),function(a){return(a&15).toString(16)}).join("")};
g.bH=function(){var a=g.aE("client-screen-nonce")||g.aE("EVENT_ID");return a?a:null};
g.eH=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.F)()+1E3*d:0;if((d=d?(0,g.cH)():dH())&&window.JSON){g.v(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.fH=function(a){var b=dH(),c=(0,g.cH)();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.gH=function(a){try{var b=dH(),c=(0,g.cH)();b&&b.remove(a);c&&c.remove(a)}catch(d){}};
g.hH=function(){return g.fH("yt-remote-session-screen-id")};
g.jH=function(a){YD(iH,arguments)};
g.T=function(a,b,c){b=void 0===b?{}:b;a=(a=a in iH?iH[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};
gka=function(){var a=g.fH("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.cd(Math.floor(b),0,100),muted:!!a.muted}};
kH=function(a){g.eH("yt-player-bandwidth",a,2592E3)};
lH=function(){return g.fH("yt-player-quality")||"auto"};
mH=function(a){g.eH("yt-player-watch-later-pending",a)};
nH=function(){return g.fH("yt-player-headers-readable")||!1};
pH=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 oH(a)};
oH=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}};
qH=function(a,b,c,d){!a&&(void 0===c?0:c)&&dE(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
rH=function(a){return(a=hka.exec(a))?a[0]:""};
sH=function(a){var b=void 0===b?!1:b;return qH(ika.test(a),a,b,"Nielsen OCR URL")};
tH=function(a){var b=void 0===b?!1:b;return qH(jka.test(a),a,b,"Active View 3rd Party Integration URL")};
uH=function(a){var b=void 0===b?!1:b;return qH(kka.test(a),a,b,"Google/YouTube Brand Lift URL")};
vH=function(a){var b=void 0===b?!1:b;return qH(lka.test(a),a,b,"Trusted Stream URL")};
g.wH=function(a){var b=void 0===b?!1:b;return qH(mka.test(a),a,b,"Trusted Image URL")};
g.xH=function(a){var b=void 0===b?!1:b;return qH(nka.test(a),a,b,"Trusted Promoted Video Domain URL")};
yH=function(a,b){b=void 0===b?!1:b;return qH(oka.test(a),a,b,"Captions URL")};
zH=function(a){a=new g.Jm(a);g.Km(a,window.document.location.protocol);g.Lm(a,window.document.location.hostname);window.document.location.port&&g.Mm(a,window.document.location.port);return a.toString()};
AH=function(a){a=new g.Jm(a);g.Km(a,window.document.location.protocol);return a.toString()};
BH=function(){return"ytp-id-"+pka++};
g.DH=function(a){g.K.call(this);this.g={};this.Na={};this.element=CH(this,a)};
CH=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.EH&&(b.P||(b.P={}),b.P.focusable="false")}else d=g.Fd(b.G);var e=b.M;if(e){if(e=FH(a,d,"class",e))GH(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;GH(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=FH(a,d,"child",l),null!=l&&d.appendChild(g.Gd(l));else if(l.element)d.appendChild(l.element);else{var m=l;l=CH(a,
m,c);d.appendChild(l);m.Ra&&(m=BH(),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),Kd(d,l,f++))}}if(b=b.P){c=d;for(var n in b)e=b[n],null!=e&&GH(a,c,n,g.v(e)?FH(a,c,n,e):e)}return d};
g.HH=function(a){g.Ld(a.element)};
FH=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Na[d]=[b,c],null):d};
GH=function(a,b,c,d){if("child"==c){g.Jd(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(CH(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.Fd("BR")),c.push(g.Gd(f[k]));else c.push(g.Gd(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.DH.call(this,a);this.Kd="";this.l=!0;this.Y=[]};
g.IH=function(a,b){b?a.show():a.hide()};
g.JH=function(a){g.U.call(this,a);this.X=new g.ZF;g.L(this,this.X)};
g.LH=function(a,b,c,d){g.JH.call(this,a);this.priority=b;c&&g.KH(this,c);d&&this.Ib(d)};
g.MH=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.KH=function(a,b){a.updateValue("label",b)};
PH=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;NH(this,"cueVideoById",this.Hz);NH(this,"loadVideoById",this.UL);NH(this,"cueVideoByUrl",this.IL);NH(this,"loadVideoByUrl",this.VL);NH(this,"playVideo",this.od);NH(this,"pauseVideo",this.cd);NH(this,"stopVideo",this.Me);NH(this,"clearVideo",this.GL);NH(this,"getVideoBytesLoaded",this.NL);NH(this,"getVideoBytesTotal",this.OL);
NH(this,"getVideoLoadedFraction",this.Ms);NH(this,"getVideoStartBytes",this.PL);NH(this,"cuePlaylist",this.HL);NH(this,"loadPlaylist",this.TL);NH(this,"nextVideo",this.Gj);NH(this,"previousVideo",this.rl);NH(this,"playVideoAt",this.Lz);NH(this,"setShuffle",this.setShuffle);NH(this,"setLoop",this.XL);NH(this,"getPlaylist",this.Sf);NH(this,"getPlaylistIndex",this.Jz);NH(this,"getPlaylistId",this.getPlaylistId);NH(this,"loadModule",this.Fj);NH(this,"unloadModule",this.sl);NH(this,"setOption",this.Fd);
NH(this,"getOption",this.uc);NH(this,"getOptions",this.ni);NH(this,"mute",this.mute);NH(this,"unMute",this.Tf);NH(this,"isMuted",this.isMuted);NH(this,"setVolume",this.setVolume);NH(this,"getVolume",this.getVolume);NH(this,"seekTo",this.Zb);NH(this,"getPlayerState",this.jh);NH(this,"getPlaybackRate",this.Rc);NH(this,"setPlaybackRate",this.Rf);NH(this,"getAvailablePlaybackRates",this.Ej);NH(this,"getPlaybackQuality",this.ql);NH(this,"setPlaybackQuality",this.fo);NH(this,"getAvailableQualityLevels",
this.Ls);NH(this,"getCurrentTime",this.getCurrentTime);NH(this,"getDuration",this.getDuration);NH(this,"addEventListener",this.addEventListener);NH(this,"removeEventListener",this.removeEventListener);NH(this,"getVideoUrl",this.getVideoUrl);NH(this,"getDebugText",this.pl);NH(this,"getVideoEmbedCode",this.Kz);NH(this,"getVideoData",this.getVideoData);NH(this,"addCueRange",this.Gz);NH(this,"removeCueRange",this.Mz);NH(this,"setSize",this.setSize);NH(this,"getApiInterface",this.JL);NH(this,"destroy",
this.destroy);NH(this,"showVideoInfo",this.Oz);NH(this,"hideVideoInfo",this.RL);NH(this,"getMediaReferenceTime",this.LL);if(this.app.HK){var c=this.app.g;c.experiments&&c.experiments.g("html5_enable_360_api")&&(NH(this,"getSphericalProperties",this.eo),NH(this,"setSphericalProperties",this.ho))}OH(this,"getInternalApiInterface",this.KL);OH(this,"getAdState",this.Iz);OH(this,"isNotServable",this.SL);OH(this,"getUpdatedConfigurationData",this.ML);OH(this,"sendAbandonmentPing",this.WL);OH(this,"setAutonav",
this.Nz);OH(this,"setAutonavState",this.Ns);OH(this,"startInteractionLogging",this.YL);OH(this,"channelSubscribed",this.DL);OH(this,"channelUnsubscribed",this.FL);OH(this,"handleExternalCall",this.QL)};
NH=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)};
OH(a,b,c);a.D.push(b)};
QH=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)};
OH(a,b,c);a.D.push(b)};
OH=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)}};
RH=function(a){a.l||(a.l={},g.Ga(a.l,a.H),g.Ga(a.l,a.I),a.l.addEventListener=(0,g.z)(a.RH,a),a.l.removeEventListener=(0,g.z)(a.SH,a));return a.l};
TH=function(a,b,c){b=g.cd(Math.floor(b),0,100);(0,window.isFinite)(b)&&SH(a.app,{volume:b,muted:a.isMuted()},c)};
UH=function(a,b){SH(a.app,{muted:!0,volume:a.getVolume()},b)};
VH=function(a,b){SH(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
g.WH=function(a){return(a=a.app.A.L)?a.l:null};
XH=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
g.YH=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.ZH=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.ia=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.YH(a)};
g.$H=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("")};
aI=function(a,b){this.id=a;this.Nb=b;this.captionTracks=[];this.sn=this.Dq=this.g=null;this.kq="UNKNOWN"};
bI=function(a,b,c){this.sampleRate=a||0;this.g=b||0;this.spatialAudioType=c||0};
qka=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
eI=function(a,b,c,d,e,f,k,l,m,n,q){this.width=a;this.height=b;this.quality=f||cI(a,b);this.l=g.dI[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.dI[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};
fI=function(a){return 1280<=a.width||720<=a.height};
gI=function(a){return"smpte2084"==a.g||"arib-std-b67"==a.g};
cI=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=hI[0],f=0;f<hI.length;f++){var k=hI[f],l=g.dI[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
jI=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=rka[iI(this)]||"";this.o=null};
iI=function(a){return a.id.split(";",1)[0]};
kI=function(a){return"9"==a.l||"("==a.l||"9h"==a.l||"(h"==a.l};
lI=function(a){return"9h"==a.l||"(h"==a.l};
g.mI=function(a){return 1==a.containerType};
nI=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")};
oI=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")||0<=a.indexOf("av1")};
g.pI=function(a){return a.includes("vtt")||a.includes("text/mp4")};
qI=function(a,b,c,d,e,f,k){var l=new bI;b in g.dI||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.dI[b],d=Math.round(16*e/9));b=new eI(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 jI(c,a,l,b)};
rI=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.jE(b||"");var c={};(0,g.B)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.A=!!c["9414740"]};
sI=function(a,b){this.l=a;this.o=b;this.A=0;Object.defineProperty(this,"timestampOffset",{get:this.bV,set:this.fV});Object.defineProperty(this,"buffered",{get:this.ZU})};
ska=function(){this.length=0};
tI=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.l=window.NaN;this.o=0;Object.defineProperty(this,"duration",{get:this.aV,set:this.eV});Object.defineProperty(this,"readyState",{get:this.cV});this.g.addEventListener("webkitsourceclose",(0,g.z)(this.dV,this),!0)};
uI=function(){this.length=1};
vI=function(){this.buffered=new uI};
wI=function(){var a=g.x("yt.player.utils.videoElement_");a||(a=g.Fd("VIDEO"),g.va("yt.player.utils.videoElement_",a,void 0));return a};
tka=function(){var a=wI();return!!a.webkitSetPresentationMode&&g.Aa(a.webkitSupportsPresentationMode)&&!!a.webkitSupportsPresentationMode("picture-in-picture")};
xI=function(){var a=wI();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
yI=function(a){a=g.J("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==wh(a,"display");g.Ld(a);return b};
zI=function(a,b){this.g=a;this.l=!!b;this.o=!1};
AI=function(a){g.K.call(this);this.C=new g.WF(this);g.L(this,this.C);this.l=this.g=null;a=this.o=a;a=a.qN?a.g.webkitMediaSourceURL:window.URL.createObjectURL(a);this.B=new zI(a,!0);this.A=null;XF(this.C,this.o,["sourceopen","webkitsourceopen"],this.F);XF(this.C,this.o,["sourceclose","webkitsourceclose"],this.D)};
uka=function(a,b){BI(a)?g.Uf(function(){return b(a)}):a.A=b};
BI=function(a){try{return"open"==a.o.readyState}catch(b){return!1}};
CI=function(a){try{return"closed"==a.o.readyState}catch(b){return!0}};
DI=function(a){return!!(a.g&&a.g.updating||a.l&&a.l.updating)};
EI=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
FI=function(a){return a.g?!!a.g.appendBuffer:EI()};
HI=function(a){if(/opus/.test(a)&&(g.GI&&!g.$n("38")||g.GI&&KE("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!RE())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!wI().canPlayType(a)};
vka=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={}};
KI=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;II?c=c||wka[b]:2.2==JI?c=c||xka[b]:ME()&&(c=c||yka[b]);return!!c};
zka=function(a,b){if("0"==iI(b))return!0;var c=b.mimeType;if(b.video&&(gI(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||LI(a,MI))||!("338"!=iI(b)||g.GI&&g.$n(53)))return!1;var d={};b.video&&(b.video.width&&(d[NI.name]=b.video.width),b.video.height&&(d[OI.name]=b.video.height),b.video.fps&&(d[PI.name]=b.video.fps),b.video.g&&(d[MI.name]=b.video.g),b.g&&(d[QI.name]=8*b.g),"("==b.l&&(d[RI.name]="subsample"));b.audio&&b.audio.g&&(d[SI.name]=b.audio.g);for(var e in TI){var f=TI[e];
if(d[f.name]&&!(f==MI&&0<b.mimeType.indexOf("vp09.02")))if(LI(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(lI(b)&&f==MI)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 UI(a,c)};
VI=function(){var a=ME()&&!g.$n(29),b=KE("google tv")&&KE("chrome")&&!g.$n(30),c=PE();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
g.WI=function(){return!(!KI(wI(),"application/x-mpegURL")&&!VI())};
LI=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==QI&&a.l.g("html5_ignore_bad_bitrates")&&UI(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!UI(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',UI(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',UI(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=UI(a,e+"; "+b.name+"="+b.valid)&&!UI(a,e+"; "+
b.name+"="+b.di));c[d]=e}return a.o[b.name]};
UI=function(a,b){return a.A?window.cast.receiver.platform.canDisplayType(b):HI(b)};
Aka=function(a){return a.l.g("hfr_xbox_holdback")&&KE("xboxone")?!1:a.B||LI(a,PI)};
XI=function(a){this.bj=a};
YI=function(a,b){if(b)return dF();for(var c={},d=wI(),e=g.la(a),f=e.next();!f.done;f=e.next())if(f=f.value,KI(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)(hI,function(a){(a=c[a])&&l.push(a)});
return l.length?eF(l):dF()};
ZI=function(a,b,c,d){this.l=a||0;this.g=b||0;this.o=c;this.reason=d};
$I=function(a,b){return a.l==b.l&&a.g==b.g&&a.o==b.o&&a.reason==b.reason};
aJ=function(a,b,c,d){return new ZI(g.dI[a]||0,g.dI[b]||0,c,d)};
bJ=function(a){var b=g.dI.auto;return a.l==b&&a.g==b};
dJ=function(a,b){if(b.o&&bJ(b))return cJ;if(b.o||bJ(a))return b;if(a.o||bJ(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 ZI(c,d,!1,d==a.g?a.reason:b.reason)};
eJ=function(a){var b=a.g||a.l;return Xb(Bka,function(a){return g.dI[a]==b})||"auto"};
fJ=function(a,b){var c=g.dI[b];return a.l<=c&&(!a.g||a.g>=c)};
gJ=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.ya=a;this.sourceURL=e;this.startTime=b;this.l=k||0;this.range=f||null;this.g=l||!1};
g.hJ=function(){this.segments=[]};
iJ=function(a,b){if(b>a.gc())a.segments=[];else{var c=g.La(a.segments,function(a){return a.ya>=b},a);
0<c&&a.segments.splice(0,c)}};
jJ=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};
kJ=function(a){var b=a.data.getInt32(a.offset+a.g);a.g+=4;return b};
lJ=function(a){var b=a.data.getUint32(a.offset+a.g);a.g+=4;return b};
Cka=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};
mJ=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.g);b.push(c);a.g++}while(0!=c);b.pop()};
nJ=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0};
oJ=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
pJ=function(a,b){for(var c=0;c+4<=b.size;)oJ(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
qJ=function(a,b,c){for(var d=8,e=g.la(c),f=e.next();!f.done;f=e.next())d+=f.value.size;oJ(a,d);oJ(a,b);b=g.la(c);for(f=b.next();!f.done;f=b.next())pJ(a,f.value)};
rJ=function(a,b,c){this.Qe=a;this.durationSecs=b;this.context=c};
sJ=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};
tJ=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)};
uJ=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};
Dka=function(a,b,c){var d=vJ(a,0,1836019558);if(!d)return null;var e=vJ(a,d.dataOffset,1835427940),f=vJ(a,d.dataOffset,1953653094),k=vJ(a,d.dataOffset,1886614376);if(!e||!f)return null;var l=vJ(a,f.dataOffset,1952868452),m=vJ(a,f.dataOffset,1953658222),n=vJ(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var q=vJ(a,f.dataOffset,1935763823),r=vJ(a,f.dataOffset,1935763834),u=0;if(q){u=kJ(q);var D=kJ(q);if(0!=u||1!=D)return null;u=kJ(q)}D=vJ(a,f.dataOffset,1935828848);f=vJ(a,f.dataOffset,1936158820);
var I=kJ(l),S=kJ(l),Z=I&2,V=I&1?Cka(l):0,Fa=Z?kJ(l):0,pa=I&8?kJ(l):0,wc=I&16?kJ(l):0,wd=I&32?kJ(l):0;I=kJ(m);var Va=I&1,fd=I&4,lc=I&256;l=I&512;var Gi=I&1024,Nb=I&2048;I=kJ(m);var Rb=Va?kJ(m):0,Gb=fd?kJ(m):0;Va=[];for(var Hi=[],Be=[],Ii=[],vl=0,Dc=0,Ig=0;Ig<I;Ig++){var Fv=lc?kJ(m):pa;l&&Va.push(kJ(m));var Rd=wd;fd&&0==Ig?Rd=Gb:Gi&&(Rd=kJ(m));Hi.push(Rd);Rd=Nb?kJ(m):0;0==Ig&&(vl=Rd);Be.push(Dc+Rd);Ii.push(Ig);Dc+=Fv}1<=Math.abs(Dc-b)&&c({flaw:"segDurMismatch",dts:Dc.toFixed(),seg:b.toFixed()});g.ib(Ii,
function(a,b){return Be[a]-Be[b]});
c=[];for(Dc=0;Dc<I;Dc++)c[Ii[Dc]]=Dc;Dc=Z?4:0;wd=16*I;fd=68+Dc+n.size+wd+(q?q.size:0)+(r?r.size:0)+(D?D.size:0)+(f?f.size:0)+(k?k.size:0);m=fd-d.size;pa=new nJ(fd+d.offset);d.offset&&pa.Wm(a,0,d.offset);oJ(pa,fd);oJ(pa,1836019558);pJ(pa,e);oJ(pa,fd-24-(k?k.size:0));oJ(pa,1953653094);oJ(pa,16+Dc);oJ(pa,1952868452);oJ(pa,131072|(Z?2:0));oJ(pa,S);Z&&oJ(pa,Fa);pJ(pa,n);oJ(pa,20+wd);oJ(pa,1953658222);oJ(pa,16781057);oJ(pa,I);oJ(pa,V+Rb+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,oJ(pa,e),oJ(pa,l?Va[a]:wc),oJ(pa,Hi[a]),oJ(pa,d),Dc+=e;q&&(oJ(pa,q.size),oJ(pa,1935763823),oJ(pa,0),oJ(pa,1),oJ(pa,u+m));r&&pJ(pa,r);D&&pJ(pa,D);f&&pJ(pa,f);k&&pJ(pa,k);return pa.data.buffer};
wJ=function(a,b){var c=vJ(a.data,a.dataOffset,1952868452),d=vJ(a.data,a.dataOffset,1953658222),e=kJ(c);kJ(c);e&2&&kJ(c);c=e&8?kJ(c):0;var f=kJ(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var q=lJ(d);k&&kJ(d);e&&kJ(d);for(var r=k=0;r<q;r++){var u=l?kJ(d):c;m&&kJ(d);e&&0==r||!n||kJ(d);f&&kJ(d);k+=u}return k/b};
zJ=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.xJ(a,1836476516))?yJ(a):window.NaN};
Eka=function(a){var b=g.xJ(a,1937011556);if(!b)return null;b=vJ(a,b.dataOffset+8,1635148593);if(!b)return null;var c=vJ(a,b.dataOffset+78,1936995172),d=vJ(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=vJ(a,d.dataOffset,1886547818)){var k=vJ(a,d.dataOffset,1886546020),l=vJ(a,d.dataOffset,2037673328);if(!l&&(l=vJ(a,d.dataOffset,1836279920),
!l))return null;k&&(k.skip(4),c=kJ(k)/65536,f=kJ(k)/65536,e=kJ(k)/65536);a=new window.DataView(l.data.buffer,l.dataOffset,l.size-8);return new tJ(b,c,f,e,a)}return null};
vJ=function(a,b,c){for(;AJ(a,b);){var d=BJ(a,b);if(d.type==c)return d;b+=d.size}return null};
g.xJ=function(a,b){for(var c=0;AJ(a,c);){var d=BJ(a,c);if(d.type==b)return d;c=CJ(d.type)?c+8:c+d.size}return null};
DJ=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)};
EJ=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)};
BJ=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new jJ(a,b,c,d)};
yJ=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
FJ=function(a){return a.data.getUint32(a.dataOffset+8)};
GJ=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))};
AJ=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};
CJ=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
HJ=function(a){return(a=vJ(a,0,1836019558))?a.offset+a.size:null};
IJ=function(a,b){for(var c=vJ(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=vJ(a,c.offset+c.size,b)}};
JJ=function(a,b){for(var c=[],d=b.dataOffset,e=b.offset+b.size;d<e&&AJ(a,d);){var f=BJ(a,d);c.push(f);d+=f.size}return c};
Fka=function(a){for(var b=0,c=[];AJ(a,b);){var d=BJ(a,b);1886614376==d.type&&c.push(d);b=CJ(d.type)?b+8:b+d.size}return c};
g.KJ=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
LJ=function(a){a=a.split("-");return 2==a.length&&(a=new g.KJ((0,window.parseInt)(a[0],10),(0,window.parseInt)(a[1],10)),!(0,window.isNaN)(a.start)&&!(0,window.isNaN)(a.end)&&!(0,window.isNaN)(a.length)&&0<a.length)?a:null};
MJ=function(a,b){return new g.KJ(a,a+b-1)};
OJ=function(a,b,c,d,e,f,k,l,m){this.g=b;this.range=c;this.type=a;this.ya=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,NJ(this));this.F=[]};
NJ=function(a){a.B=a.startTime;a.D=a.duration;a.A=a.B+a.D};
Gka=function(a,b,c){var d=!(!b||b.g!=a.g||b.type!=a.type||b.ya!=a.ya);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};
PJ=function(a){return 1==a.type||2==a.type};
QJ=function(a,b,c){return c||a.g==b.g?a.range&&b.range?a.range.start+a.l+a.Wa==b.range.start+b.l:a.ya==b.ya?a.l+a.Wa==b.l:a.ya+1==b.ya&&0==b.l&&a.o:!1};
RJ=function(a,b){return QJ(a,b)||1E-6>=Math.abs(a.A-b.B)||a.ya+1==b.ya&&0==b.l&&a.o?!0:!1};
Hka=function(a){1==a.length||(0,g.rm)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.KJ(a[0].range.start+a[0].l,b.range.start+b.l+b.Wa-1)};
TJ=function(a){var b="";g.Kb(SJ(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
SJ=function(a){var b={};b.itag=iI(a.g.info);b.seg=String(a.ya);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};
UJ=function(a,b,c,d){a=new OJ(a.type,a.g,a.range,a.ya,a.startTime,a.duration,b,c,d&&a.C);a.o=d;return a};
VJ=function(a,b){a.ya=b.l;b.C&&(a.C=b.C)};
WJ=function(a,b){a.ya=b.ya;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,NJ(a)};
XJ=function(a,b){this.l=a;this.g=0;this.o=b||0};
YJ=function(a){return a.g>=a.l.byteLength};
cK=function(a,b){var c=new XJ(b);if(!ZJ(c,[408125543,374648427,174,224]))return!1;c=$J(c);if(aK(c,a)){for(var d=0;a;)a>>>=8,d++;var e=c.o+c.g-d;d=bK(c,!0)+d-1;var f;f||(f=Math.ceil(Math.log(d+2)/Math.log(2)/7));var k=1<<8-f;for(c=[];c.length<f-1;)c.unshift(d%256),d=Math.floor(d/256);c.unshift(d|k);b.setUint8(e,236);for(f=0;f<c.length;f++)b.setUint8(e+1+f,c[f]);return!0}return!1};
eK=function(a){dK(new XJ(a));cK(30320,a)&&cK(21432,a)};
Ika=function(a){var b=new XJ(a);dK(b);if(ZJ(b,[408125543,374648427,174,224]))b=$J(b);else return null;for(var c=a=null;!YJ(b);){var d=bK(b,!1);if(21432==d)switch(fK(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=$J(b):gK(b)}if(!c)return null;for(var e,f=d=b=null;!YJ(c);)switch(bK(c,!1)){case 30321:if(3!=fK(c))return null;break;case 30324:b=hK(c);break;case 30323:f=hK(c);break;case 30325:d=hK(c);break;case 30322:e=bK(c,!0);e=iK(c,e);e=new window.DataView(e.buffer,
e.byteOffset,e.byteLength);break;default:gK(c)}return e?new tJ(a,b,f,d,e):null};
$J=function(a){var b=bK(a,!0),c=a.l.byteOffset+a.g;c=new window.DataView(a.l.buffer,c,Math.min(b,a.l.buffer.byteLength-c));c=new XJ(c,a.o+a.g);a.g+=b;return c};
fK=function(a){for(var b=bK(a,!0),c=jK(a),d=1;d<b;d++)c=256*c+jK(a);return c};
hK=function(a){var b=bK(a,!0),c=0;4==b?c=a.l.getFloat32(a.g):8==b&&(c=a.l.getFloat64(a.g));a.g+=b;return c};
gK=function(a){var b=bK(a,!0);a.g+=b};
dK=function(a){var b=a.g;a.g=0;var c=!1;aK(a,440786851)&&(a.g=0,aK(a,408125543)&&(c=!0));a.g=b;return c};
kK=function(a){var b=a.g;a.g=0;var c=1E6;ZJ(a,[408125543,357149030,2807729])&&(c=fK(a));a.g=b;return c};
Jka=function(a,b){var c=a.g;a.g=0;if(!lK(a)||!aK(a,160))return a.g=c,window.NaN;bK(a,!0);var d=a.g;if(!aK(a,161))return a.g=c,window.NaN;bK(a,!0);jK(a);var e=jK(a)<<8|jK(a);a.g=d;if(!aK(a,155))return a.g=c,window.NaN;d=fK(a);a.g=c;return(e+d)*b/1E9};
lK=function(a){a:{if(dK(a)){if(!aK(a,408125543)){var b=!1;break a}bK(a,!0)}b=!0}if(!b||!aK(a,524531317))return!1;bK(a,!0);return!0};
ZJ=function(a,b){for(var c=0;c<b.length;c++){if(!aK(a,b[c]))return!1;c!=b.length-1&&bK(a,!0)}return!0};
aK=function(a,b){if(YJ(a))return!1;for(;bK(a,!1)!=b;)if(gK(a),YJ(a))return!1;return!0};
bK=function(a,b){var c=jK(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+jK(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+jK(a),d*=128;return b?c-d:c};
jK=function(a){return a.l.getUint8(a.g++)};
iK=function(a,b){var c=new window.Uint8Array(a.l.buffer,a.l.byteOffset+a.g,b);a.g+=b;return c};
mK=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.o=null;this.A=d;this.l=e};
nK=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)};
oK=function(a,b){b=Math.min(b,a.info.Wa);var c=new OJ(a.info.type,a.info.g,a.info.range,a.info.ya,a.info.startTime,a.info.duration,a.info.l,b,!1);c.o=!1;var d=MJ(a.range.start,b);c=new mK(c,a.g,d,a.A,a.l);var e=new OJ(a.info.type,a.info.g,a.info.range,a.info.ya,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.KJ(d.end+1,a.range.end);d=new mK(e,a.g,d,a.A,!1);return[c,d]};
pK=function(a){if(g.mI(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);AJ(f,e);){var k=BJ(f,e);1936286840==k.type?d=FJ(k):1836476516==k.type?d=yJ(k):1952867444==k.type&&(0,window.isNaN)(c)&&(c=EJ(k));e=CJ(k.type)?e+8:e+k.size}!d&&b&&(d=zJ(b));b=c/d}else b=new XJ(nK(a)),c=a.l?b:new XJ(new window.DataView(a.info.g.g.buffer)),d=kK(c),c=b.g,b.g=0,lK(b)?aK(b,231)?(d=fK(b)*d/1E9,b.g=c,b=d):(b.g=c,b=window.NaN):(b.g=c,b=window.NaN);return b||a.info.B};
qK=function(a,b){if(g.mI(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;AJ(d,k);){var l=BJ(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=FJ(l):1836476516==l.type&&(e=yJ(l)));if(1952867444==l.type){!e&&c&&(e=zJ(c));var m=EJ(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);DJ(l,m+f)}k=CJ(l.type)?k+8:k+l.size}return!0}c=new XJ(new window.DataView(a.g));e=a.l?c:new XJ(new window.DataView(a.info.g.g.buffer));d=b;f=kK(e);e=c.g;c.g=0;if(lK(c)&&aK(c,231))if(k=
bK(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.l.setUint8(c.g+f,d&255),d>>>=8;c.g=e;c=!0}else c=!1;return c};
rK=function(a){var b;if(g.mI(a.info.g.info)){for(var c=b=0,d=new window.DataView(a.g);AJ(d,b);){var e=BJ(d,b);if(1936286840==e.type){var f=FJ(e),k=GJ(e);c+=k/f}b=CJ(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;AJ(d,c);){f=BJ(d,c);if(1836476516==f.type)var l=yJ(f);else if(1836019558==f.type){!l&&b&&(l=zJ(b));if(!l){b=window.NaN;break a}k=vJ(f.data,f.dataOffset,1953653094);e+=wJ(k,l)}c=CJ(f.type)?c+8:c+f.size}b=e||window.NaN}}else l=new XJ(new window.DataView(a.g)),
b=a.l?l:new XJ(new window.DataView(a.info.g.g.buffer)),b=Jka(l,kK(b));return b||a.info.D};
sK=function(a){return g.mI(a.info.g.info)?a.o?a.o.D&&!!vJ(new window.DataView(a.g),0,1718909296):!1:dK(new XJ(new window.DataView(a.g)))};
g.tK=function(){this.Ry=this.Qy=!1;this.jm=2;this.B=20971520;this.D=8388608;this.l=window.NaN;this.fa=3145728;this.R=62914560;this.la=10485760;this.lm=this.Jb=0;this.I=window.NaN;this.zd=0;this.ND=this.dg=this.uv=2;this.Ba=25;this.W=2097152;this.zD=1048576;this.da=!1;this.L=1800;this.ob=5;this.Vb=10;this.ca=30;this.xd=1;this.g=1.15;this.A=1.05;this.pm=8;this.kn=!0;var a;!(a=KE("xboxone"))&&(a=SE())&&(a=/WebKit\/([0-9]+)/.exec(g.Ib),a=!(a&&602<=(0,window.parseInt)(a[1],10)));this.SF=a||ME();this.jb=
15;this.wd=!1;this.Y=this.Xu=!0;this.qm=this.F=!1;this.OD=.8;this.dd=!1;this.AC=!0;this.Na=this.Bh=!1;this.hm=25;this.dG=this.lD=!1;this.ib=6;this.Ki=this.ea=!1;this.yd=.5;this.re=this.Ab=!1;this.Db=0;this.fg=this.Hm=!1;this.Kc=0;this.Li=!1;this.tv=2;this.N=this.aa=!1;this.X=.5;this.Ma=2;this.Ca=this.kv=0;this.lv=1.5;this.rv=this.Ld=.5;this.za=this.Mi=this.rm=!1;this.Ta=15;this.Ya=1;this.QD=this.un=this.oa=this.hg=!1;this.im=0;this.H=this.av=this.gg=this.nC=this.Eh=this.Kd=this.cv=this.Fh=this.NA=
this.jy=!1;this.Ch=1;this.Dh=0;this.Gg=this.dv=this.Qa=this.o=!1;this.Mc=0;this.ov=this.pa=this.fv=this.Hg=this.wc=this.Jd=this.C=this.GE=this.eg=!1;this.K=!0;this.mC=!1};
Kka=function(a,b){1080<b.video.l&&!a.Qy&&(a.B=36700160,a.D=5242880,a.fa=10485760,a.W=4194304,a.Qy=!0);2160<b.video.l&&!a.Ry&&(a.B=104857600,a.I=13107200,a.Ry=!0);a.zD=Math.max(65536,Math.min(a.W,5*b.g))};
Lka=function(){this.g=this.l=this.o=this.A=0};
uK=function(a,b){a[b]||(a[b]=new Lka);return a[b]};
g.vK=function(a){this.A=a;this.B=this.l=this.C="";this.g={};this.o=""};
xK=function(a){wK(a);return a.B};
yK=function(a){wK(a);return Mb(a.g,function(a){return null!==a})};
AK=function(a){wK(a);if("/videoplayback"!=a.l){var b=a.clone();b.set("playerfallback","1");return b}var c=a.Oa();b=new g.Jm(c);if(zK){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.Lm(b,"r"+d+"---"+a[1]+c),b=new g.vK(b.toString()),b.set("fallback_count","1"),b}d=b.l.match("\\.a1\\.googlevideo\\.com$");b.l.match("\\.googlevideo\\.com$")?(g.Lm(b,"redirector.googlevideo.com"),c=b.toString()):b.l.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.Lm(b,"www.youtube.com"),c=b.toString()):c=zH(c);b=new g.vK(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
wK=function(a){if(a.A){if(!vH(a.A))throw Error("Untrusted URL: "+a.A);var b=g.Tm(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=BK(c);g.Ga(a.g,CK(b.Jx()));g.Ga(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.l+="/file/index.m3u8");a.A="";a.o=""}};
Mka=function(a){wK(a);var b=a.C+(a.C?"://":"//")+a.B+a.l;if(yK(a)){var c=[];g.Kb(a.g,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
BK=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&DK(c,a[b],a[b+1]);return c};
CK=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?DK(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
DK=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};
EK=function(a){this.g=a;this.l={};this.o=""};
Nka=function(a,b){var c=b.indexOf("?");if(0<c){var d=CK(b.substr(c+1));g.Kb(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}c=BK(b);g.Kb(c,function(a,b){this.set(b,a)},a)};
Oka=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=yK(a.g)?"&":"?";return b+a+d};
FK=function(a,b){var c=new g.vK(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};
Pka=function(a){this.B=a.clone();this.o=a;this.l=null;this.A=this.g=0};
HK=function(a,b,c){var d=uK(c,xK(a.o));if(d.l>=b.tv||1<=d.g)if(a=GK(a),c=uK(c,xK(a)),c.l+c.g<=d.l+d.g)return!0;return!1};
g.IK=function(a,b){var c=b?GK(a):a.o;return new EK(c)};
GK=function(a){a.l||(a.l=AK(a.B));return a.l};
JK=function(a){return 1<a.g?a.A+1E3*Math.pow(1.6,a.g-1)<g.yG():!0};
g.KK=function(a,b,c){b.g===a.o&&(a.o=FK(b,c));b.g===a.l&&(a.l=FK(b,c))};
LK=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?Hka(this.g):null;this.A=this.o=window.NaN;this.C=this.requestId=null};
MK=function(a){return PJ(a.g[0])};
NK=function(a){return 4==a.g[a.g.length-1].type};
g.OK=function(a,b,c,d){/http[s]?:\/\//.test(a.B)?b=new EK(new g.vK(a.B)):(b=null===a.C?HK(a.l,b,c):a.C,b=g.IK(a.l,b),a.B&&Nka(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};
PK=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.D*a.g.info.g)};
Qka=function(a,b,c){return a.range?new g.KJ(a.range.start+b,a.range.end):MJ(b,c)};
QK=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 Pka(a);this.o=null;this.F=window.NaN};
RK=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.o&&(g.mI(a.info)?a.o=Eka(b):2==a.info.containerType&&(a.o=Ika(b)))};
SK=function(a,b,c,d,e,f){f=void 0===f?0:f;QK.call(this,a,b,d);this.index=e||new g.hJ;this.D=f;this.I=c;this.H=!0;if(this.l=!c)this.C=!0};
TK=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};
VK=function(a,b,c){b=UK(a,b);return 0<=b&&(c||!a.segments[b].g)};
UK=function(a,b){return g.fb(a.segments,{ya:b},function(a,b){return a.ya-b.ya})};
WK=function(a,b,c){return new gJ(b,c.startTime-(c.ya-b)*a.l,a.l,0,"sq/"+b,void 0,void 0,!0)};
XK=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?14400:e;SK.call(this,a,b,"",void 0,void 0,c);this.index=new TK(c||0,e,d)};
Rka=function(a,b,c,d,e){this.ya=a;this.Qe=b;this.durationSecs=c;this.g=d||window.NaN;this.l=e||window.NaN};
YK=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""};
ZK=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};
$K=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)};
aL=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
bL=function(){this.g=[];this.l=null;this.B=0;this.A=[];this.o=!1;this.C=""};
Ska=function(a){var b=a.A;a.A=[];return b};
Tka=function(){this.A=[];this.g=null;this.l={};this.o={}};
Xka=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=Uka(a):"AdaptationSet"==f.nodeName?k=Vka(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Wka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);$a(d,Ska(k))}eaa(d,function(a){return a.Qe});
$a(a.A,d)};
Yka=function(a){a.g&&(a.g.g=[]);g.Kb(a.l,function(a){a.g=[]});
g.Kb(a.o,function(a){a.g=[]})};
Uka=function(a){a.g||(a.g=new bL);return a.g};
Vka=function(a,b){a.l[b]||(a.l[b]=new bL);return a.l[b]};
Wka=function(a,b){a.o[b]||(a.o[b]=new bL);return a.o[b]};
g.cL=function(){this.Fa=0;this.g=new window.Float64Array(128);this.l=new window.Float64Array(128);this.A=1;this.o=!1};
dL=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.eL=function(a,b,c,d,e,f){QK.call(this,a,b,c||void 0);this.indexRange=d;this.D=null;this.index=new g.cL;this.l=e;this.lastModified=f};
fL=function(a,b,c,d){for(var e=[];b<=a.index.gc();b++){var f=a.index,k=b;f=MJ(f.lo(k),k+1<f.Fa||f.o?f.g[k+1]-f.g[k]:-1);k=a.index.Wd(b);var l=a.index.getDuration(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new OJ(3,a,f,b,k,l,m,n,b==a.index.gc()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new LK(e)};
Zka=function(a,b){return gL(function(a,b){return g.bF(a,b,4,1E3)},a,b)};
g.hL=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:""};
gL=function(a,b,c){return a(b,c).then(function(b){var d=g.hL(b);return d?gL(a,d,c):b})};
jL=function(a){a=a.split("");iL.YN(a,1);iL.SX(a,70);iL.SX(a,15);iL.SX(a,3);iL.nB(a,7);iL.YN(a,2);iL.nB(a,56);iL.YN(a,2);iL.nB(a,22);return a.join("")};
kL=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.ZF.call(this);this.R=this.duration=0;this.isLive=this.o=!1;this.I=g.yG();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.aa=!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};
lL=function(a){return Mb(a.g,function(a){return!!a.info.Hc})};
g.mL=function(a){return Mb(a.g,function(a){return g.pI(a.info.mimeType)})};
$ka=function(a){return g.Ob(a.g,function(a){return a.info.video?a.St():!0})};
nL=function(a,b,c,d,e){c=void 0===c?0:c;return(void 0===d?0:d)?ala(a,b,e):bla(a,b,c,e)};
bla=function(a,b,c,d){c=void 0===c?0:c;var e=new kL("",d,!1);e.duration=c||0;(0,g.B)(a,function(a){var c=oL(a,b,e.duration),d=LJ(a.init),f=LJ(a.index),n=(0,window.parseInt)(a.clen,10),q=pL(a.url,a.sp,a.s);a=(0,window.parseInt)(a.lmt,10);q&&(c=new g.eL(q,c,d,f,n,a),e.g[c.info.id]=c)});
return e};
ala=function(a,b,c){var d=new kL("",c,!0);(0,g.B)(a,function(a){var e=oL(a,b),k=pL(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 XK(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};
oL=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=dla(a),k=null,l=null;oI(d)&&(k=(a.size||"640x360").split("x"),k=new eI(+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=ela(d,k));var m=null,n=null;if(nI(d)){m=0;if("258"==e||"261"==e)m=6;m=new bI(void 0,m,+a.spatial_audio_type);a.name&&(n=new XH(a.name,a.audio_track_id,"1"==a.isDefault))}a.caption_display_name&&a.caption_vss_id&&a.caption_language_code&&
(l=new qka(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 jI(f,d,m,k,n,r,e,c,l)};
dla=function(a){var b=a.itag,c=a.xtags;c&&(b=a.itag+";"+c);return b};
pL=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=new g.vK(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");c&&(b||(b="signature"),d.set(b,jL(c)));return d};
sL=function(a,b){var c=YK(b,"id");c=c.replace(":",";");"captions"==c&&(c=YK(b,"lang"));var d=YK(b,"mimeType"),e=YK(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=(0,window.parseInt)(YK(b,"bandwidth"),10)/8;var f=(0,window.parseInt)(ZK(b,"BaseURL").getAttribute(qL(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(oI(d)){k=(0,window.parseInt)(YK(b,"width"),10);var l=(0,window.parseInt)(YK(b,"height"),10),m=(0,window.parseInt)(YK(b,"frameRate"),10),n=fla(YK(b,qL(a,"projectionType")));a:switch(YK(b,
qL(a,"stereoLayout"))){case "layout_left_right":var q=1;break a;case "layout_top_bottom":q=2;break a;default:q=0}YK(b,"video_level");k=new eI(k,l,m,n,q,void 0,void 0,void 0,void 0,void 0,void 0)}m=l=null;if(nI(d))if(l=(0,window.parseInt)(YK(b,"audioSamplingRate"),10),m=(0,window.parseInt)(YK(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=gla(YK(b,qL(a,"spatialAudioType"))),l=new bI(l,m,n),m=YK(b,"lang")||"und",n=ZK(b,"Role")){var r=YK(n,"value")||"";Ub(rL,r)?(n=m+"."+rL[r],
q="main"==r,m=YK(b,qL(a,"langName"))||m+" - "+r,m=new XH(m,n,q)):m=null}else m=null;q=null;if(n=ZK(b,"ContentProtection"))if(g.NE())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 jI(c,d,l,k,m,q,e,f)};
fla=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}};
gla=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}};
tL=function(a,b){b=void 0===b?"":b;a.C=1;a.I=g.yG();return g.mg(Zka(b||a.W,{format:"RAW",method:"GET",withCredentials:a.aa}).then((0,g.z)(a.rI,a)),(0,g.z)(a.uI,a))};
uL=function(a,b){var c=new kL,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};
hla=function(a,b,c){var d=a.getAttribute("media"),e=null;c||(a=a.getAttribute("mediaRange"),null!=a&&(0<=(0,window.parseInt)(a.split("-")[1],10)?e=LJ(a):d=d+"?range="+a));return new gJ(b.ya,b.Qe,b.durationSecs,b.g,d,e,b.l)};
vL=function(a){return a.isLive&&g.yG()-a.I>=a.D};
wL=function(a){var b=a.D;(0,window.isFinite)(b)&&(vL(a)?a.Yz():(b=Math.max(0,a.I+b-g.yG()),a.A||(a.A=new g.ju(a.Yz,b,a),g.L(a,a.A)),a.A.start(b)))};
ila=function(a){a=a.g;for(var b in a){var c=a[b].index;if(c&&c.Mb())return c.gc()+1}return 0};
xL=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.Bf();c<=d.gc();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};
yL=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.Ss(e);if(f)return f+b-d.Wd(e)}}return window.NaN};
jla=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)})})};
kla=function(a,b,c){var d=!1,e;for(e in a.g){var f=g.pI(a.g[e].info.mimeType)||!!a.g[e].info.video;c==f&&(f=a.g[e].index,VK(f,b.ya)||(f.Wz(b),d=!0))}return d};
zL=function(a,b,c){for(var d in a.g){var e=g.pI(a.g[d].info.mimeType)||!!a.g[d].info.video;if(c==e){e=a.g[d].index;var f=UK(e,b);0<=f&&e.segments.splice(f,1)}}};
qL=function(a,b){return a.N?"yt:"+b:a.Y+":"+b};
ela=function(a,b){null===AL&&(AL=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(!AL&&!BL||'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(".")+'"'};
lla=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})};
CL=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")};
EL=function(a){return a.B?!1:!a.l&&!!DL()&&"com.microsoft.playready"==a.g};
FL=function(a){return"com.microsoft.playready"==a.g};
HL=function(a){return GL&&"com.microsoft.playready"==a.g&&!!window.navigator.requestMediaKeySystemAccess};
IL=function(a){return!a.l&&!!DL()&&"com.apple.fps.1_0"==a.g};
DL=function(){var a=window.MSMediaKeys;SE()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
KL=function(a){return window.navigator.requestMediaKeySystemAccess?g.GI?g.$n("45"):GL||g.zd?a.g("edge_nonprefixed_eme"):g.JL?g.$n("47"):!a.g("html5_disable_nonprefixed_eme_for_other"):!1};
LL=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 aI(a.id,a.Nb);d[a.id]=b;this.audioTracks.push(b)}},this))}};
ML=function(a,b){var c={},d=b.Ze()||b.Lf()||b.Mf();OE();for(var e in b.g){var f=b.g[e],k=iI(f.info);("304"!=k&&"266"!=k||b.o||d)&&zka(a,f.info)&&(c[f.info.l]=c[f.info.l]||[],c[f.info.l].push(f.info))}return c};
mla=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"==iI(b)&&!LI(a,SI))return e||(e=wI()),!1;(b="("!=b.l&&"(h"!=b.l)||(b=LI(a,RI)||a.C);return b?!0:!1});
f.length&&(d[k]=f)});
return d};
RL=function(a,b,c,d,e,f){function k(a){return!!l[a]}
var l=ML(a,b);lL(b)&&(l=mla(a,l,c));var m=nla;f?m=ola:KE("windows nt 5.1")&&!g.JL?m=NL:(b.Lf()||b.Mf()||b.Ze())&&OL&&6>=JI&&(m=NL);c=pla;d&&(f||(m=NL),c=qla);if(QE()||RE()||LI(a,SI))c=rla;(b.Lf()||b.Mf()||b.Ze())&&e&&(c=sla.concat(c));d=g.Ma(m,k);e=g.Ma(c,k);if(!d||!e)return dF();"9"==d&&l.h&&(f=function(a,b){return Math.max(a,b.video.height)},c=jk(l["9"],f,0),jk(l.h,f,0)>1.5*c&&(d="h"),b.o&&a.l.g("html5_vp9_live_blacklist_edge")&&GL&&(d="h"));
b=l[d];f=l[e];b=PL(a,b);QL(b,f);return eF(new LL(b,f,tla(a,l,d,e)))};
tla=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=PL(a,e),QL(e,f),new LL(e,f)):null};
QL=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})};
PL=function(a,b){var c=(0,g.Jj)(b,function(a){return 32<a.video.fps});
c&&(b=Aka(a)?(0,g.Md)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.Md)(b,function(a){return!(32<a.video.fps)}));
c&&QE()&&(b=(0,g.Md)(b,function(a){return"299"!=iI(a)}));
return b};
SL=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;ula(this,a)};
ula=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(!TL[f])return;for(var k=g.la(TL[f]),l=k.next();!l.done;l=k.next())l=l.value,a.g[l]=a.g[l]||new CL(f,l,e.Hc[f],a.o),a.A[f]=a.A[f]||{},a.A[f][e.mimeType]=!0}}PE()?(a.l=["com.youtube.fairplay"],a.g["com.youtube.fairplay"]=new CL("fairplay","com.youtube.fairplay","",a.o),a.A.fairplay={'audio/mp4; codecs="avc1.4d4015"':!0,'video/mp4; codecs="mp4a.40.2"':!0}):a.l=vla.filter(function(b){return a.g[b]?
!(a.H&&"widevine"==a.g[b].flavor):!1})};
UL=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:[]};FL(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(cE((0,g.z)(a.F,a,c)),cE((0,g.z)(a.D,a)))}};
wla=function(a,b){function c(a){b.o[a.contentType]=!0}
if(FL(b)){var d=wI(),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)};
yla=function(a){if(DL()&&g.Dk)a.B(new CL("fairplay","com.apple.fps.1_0","",a.o));else{var b=xla(),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)}};
xla=function(){var a=DL();if(a)return function(b,d){return a.isTypeSupported(d,b)};
var b=wI();return b&&(b.addKey||b.webkitAddKey)?(0,g.z)(b.canPlayType,b):function(){return!1}};
zla=function(){this.l=2048;this.g=17;this.A=13E4;this.D=.5;this.o=!1;this.B=0;this.C=!1};
Ala=function(){this.l=0;this.C=this.bandwidthEstimate=this.B=this.o=this.A=window.NaN;this.g=""};
VL=function(a){this.B=Math.exp(Math.log(.5)/a);this.o=this.A=0};
XL=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=WL(this);this.A=0;this.C=!1;this.F=!0;this.D=c;this.H=d};
WL=function(a){for(var b=Array(a.o),c=0;c<a.o;c++)b[c]=c;return b};
YL=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};
Bla=function(a){this.policy=a;this.H=this.I=0;this.B=-1;this.F=this.o=g.yG();this.D=new XL(4,1,.6,.4);this.A=new XL(10,1,.5,.4);this.g=a.o?new VL(a.g):new XL(a.g,20,.5,.4);this.C=new XL(5,1,.25);this.l=new XL(30,1,.5);a=g.fH("yt-player-bandwidth")||{};this.g.g(this.policy.D,0<a.byterate?a.byterate:this.policy.A);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.yG()};
$L=function(a,b,c){b=Math.max(b,a.policy.l);a.A.g(1,c/b);ZL(a)};
aM=function(a){a=a.D.l();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
bM=function(a,b,c){(0,window.isNaN)(c)||(a.H+=c);(0,window.isNaN)(b)||(a.I+=b)};
cM=function(a){a=a.g.l();return 0<a?a:1};
dM=function(a){var b=cM(a);b=1/((a.A.l()||0)+1/b);a=a.C.l();return Math.max(b,0<a?a:1)};
eM=function(a){var b={};b.delay=aM(a);b.stall=a.A.l()||0;b.byterate=cM(a);b.init=a.F;return b};
ZL=function(a){-1<a.B&&3E4<g.yG()-a.B&&(kH(eM(a)),a.B=g.yG())};
fM=function(a){return 4E3<=g.yG()-a.o};
gM=function(){g.ZF.call(this);this.Ga={}};
hM=function(a,b){return void 0==b?a:"1"==b?!0:!1};
iM=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
jM=function(a,b){return void 0==b?a:Number(b)};
kM=function(a,b){return void 0==b?a:b.toString()};
lM=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(Cla);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
mM=function(a){return a.docid||a.video_id||a.videoId||a.id};
oM=function(){this.g=g.aE("ALT_PREF_COOKIE_NAME","PREF");var a=OG.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])&&(nM[d]=c.toString())}}};
pM=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
qM=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
GM=function(a){g.K.call(this);a=g.cc(a);this.jb=!1;this.R=this.da="";this.Jb={};this.Dh=kM("",a.csp_nonce);this.experiments=new rI(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(e){b=""}this.W=b;this.re=(b=window.location.ancestorOrigins)?Array.from(b):[];this.g=Dla.test(this.W);this.isEmbed=hM(!1,a.is_embed);this.loaderUrl=this.g?kM("",a.loaderUrl):this.W;b=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*youtubeeducation\.com(:[0-9]+)?\//.test(this.loaderUrl);
this.Cb=Ela.test(this.loaderUrl)&&(this.experiments.g("web_player_trust_edu_killswitch")||!b);b=this.loaderUrl;var c=void 0===c?!1:c;this.Mi=qH(Fla.test(b),b,c,"Trusted Ad Domain URL");this.la=hM(!1,a.privembed);this.D=(this.fa=hM(!1,a.forcenewui))||this.experiments.g("embed_new_info_bar")&&this.g;this.protocol=0==this.W.indexOf("http:")?"http":"https";this.baseYtUrl=rH(a.BASE_YT_URL||"")||rH(this.W)||this.protocol+"://www.youtube.com/";c=a.el;b="detailpage";"adunit"==c?b=this.g?"embedded":"detailpage":
"embedded"==c||this.Cb?b=iM(b,c,Gla):c&&(b="embedded");this.K=b;JG();c=null;b=a.ps;var d=g.Qa(rM,b);!b||d&&!this.Cb||(c=b);this.playerStyle=c;this.C=(this.jc=g.Qa(rM,this.playerStyle))&&"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.Li=!this.C;c={};this.A=(c.c=a.c||"web",c.cver=a.cver||"html5",c.cplayer="UNIPLAYER",c);this.F=hM(!1,a.disableplaybackui);this.ea=!this.F&&!(!wI().defaultPlaybackRate||g.gf&&!KE("chrome")||sM||tM||KE("android")||KE("silk"));this.l=hM("blazer"==this.playerStyle,
a.is_html5_mobile_device);this.l?c=!0:(c=(0,window.parseInt)((0,g.F)()/1E3,10),b=oM.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.o||this.l||hM(!1,a.use_media_volume);this.I=xI();this.lm=uM;this.za=g.vM(this)&&this.experiments.g("use_rawcc_captions");this.isDni=hM(!1,a.is_dni);this.dniColor=kM("#cc181e",a.dni_color);this.wc=this.fa||hM(!wM(this)&&!xM(this)&&!this.jc,a.showinfo);
this.dg=hM(!1,a.playsinline);c=this.l&&OL&&2.3>=JI;b=this.l;b=yM(this)||!c&&hM(b,a.use_native_controls)?"3":"1";this.o="0"!=a.controls?b:"0";this.useTabletControls=this.l;this.color=iM("red",a.color,Hla);this.hm="3"==this.o||hM(!1,a.modestbranding)&&"red"==this.color;this.X=0==this.loaderUrl.indexOf(this.baseYtUrl);this.gg=(b=!this.X&&!xM(this)&&!this.C&&!this.jc&&!wM(this))&&(this.isDni||!this.hm)&&"1"==this.o;this.hg=g.zM(this)&&b&&!this.wc&&!this.gg;this.un=this.im=c;this.wd=!tM||g.rc(601)?!0:
!1;this.yd=this.g||!1;this.oa=xM(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=kM("",a.widget_referrer);this.Qa=(!this.Cb||hM(!0,a.enablecastapi))&&"1"==this.o&&!this.l&&(xM(this)||g.zM(this)||g.AM(this));this.Mc=!this.l&&!TE()&&!KE("nintendo 3ds")||hM(!1,a.autoplayoverride);this.dd=hM(!1,a.mutedautoplay)&&!1;c=(xM(this)||wM(this))&&"blazer"==this.playerStyle;this.Ya=!hM(!0,a.fs);this.ca=!this.Ya&&(c||xF());this.Ch=this.experiments.g("uniplayer_block_pip")&&
ME()&&g.$n(58)&&!(g.jo&&KE("version/"));this.Kc=this.fa||hM(!this.jc,a.rel);this.qm=hM(!1,a.co_rel);this.aa=g.AM(this);this.Vb="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=kM("",a.authuser);this.rm=(this.g&&!this.la||!!this.Wc)&&hM(!this.C,this.Cb?
a.showwatchlater:void 0);this.Kd=hM(!1,a.disablekb);this.xd=kM("",a.ecver);this.loop=hM(!1,a.loop);this.pageId=kM("",a.pageid);this.pm=hM(!0,a.canplaylive);this.Eh=hM(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=hM(!1,a.mute);this.useMiniplayerUi=hM(!1,a.use_miniplayer_ui);this.storeUserVolume=!this.mute&&
hM("0"!=this.o,a.store_user_volume);this.Ig="3"==this.o?3:iM(void 0,a.iv_load_policy,BM);this.Kg=kM("",a.cc_lang_pref);c=iM(2,a.cc_load_policy,BM);"3"==this.o&&2==c&&(c=3);this.Lg=c;this.pa=kM("en_US",a.hl);this.region=kM("US",a.cr);this.hostLanguage=kM("en",a.host_language);this.Bh=!this.la&&Math.random()<this.experiments.l("web_player_api_logging_fraction");this.L=!this.la&&!this.experiments.g("web_player_interaction_logging_killswitch");this.Ta=new window.Set;this.deviceHasDisplay=hM(!0,a.deviceHasDisplay);
this.sg=jM(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=CM(this.baseYtUrl)||"www.youtube.com")):c="video.google.com";this.Hg=c;this.Dg(a);this.Jb=a;this.B=new gM;g.L(this,this.B);this.H=this.l&&!this.experiments.g("enable_svg_mode_on_embed_mobile");this.zd={innertubeApiKey:kM("",a.innertube_api_key),innertubeApiVersion:kM("",a.innertube_api_version),
Sr:this.A.c,innertubeContextClientVersion:kM("",a.innertube_context_client_version),Ur:this.hostLanguage,Tr:this.region,Pn:""};this.fg=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.Y=new vka(this.experiments,this.experiments.g("html5_force_hfr_support")?!0:g.DM(this)||QE()||RE()||EM(this),g.GI&&56<=g.JE()||EM(this));c=new zla;g.FM(this)&&(c.o=!0,c.D=.1);this.experiments.g("html5_ewma_bandwidth_estimator")&&(c.o=!0);this.sg&&(c.A=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 Bla(c);this.enableSafetyMode=hM(!1,a.enable_safety_mode);this.Jd=hM(this.F?!1:xM(this)&&"blazer"!=this.playerStyle,a.autonav);this.Db=hM(!1,a.send_visitor_id_header)||this.experiments.A;this.Jg=!1;this.eg=cJ;this.jm=g.yG();this.We=!1;this.Hm=hM(!1,a.transparent_background);this.disableNativeContextMenu=hM(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.Fh=g.DM(this)&&this.experiments.g("enable_skip_intro_button");
this.Ld=kM("",a.embed_config);this.kn=hM(!0,a.use_fast_sizing_on_watch_default);this.g!=this.isEmbed&&dE(Error("is_embed mismatch at "+this.W+": "+this.isEmbed));this.ob=!1};
HM=function(a,b){return!a.jc&&ME()&&g.$n(55)&&!b};
IM=function(a){a=CM(a.baseYtUrl);return"www.youtube-nocookie.com"==a?"www.youtube.com":a};
JM=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":IM(a)};
KM=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
Ila=function(){return g.LG()};
LM=function(){return!0};
NM=function(a){return xM(a)&&"gaming"!=a.playerStyle&&!g.MM(a)};
yM=function(a){return tM&&!a.dg||TE()||KE("nintendo 3ds")?!0:!1};
g.FM=function(a){return g.GI&&KE("crkey")||"TV"==a.A.cplatform};
EM=function(a){return"CHROMECAST ULTRA/STEAK"==a.A.cmodel||"CHROMECAST/STEAK"==a.A.cmodel};
g.OM=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
g.DM=function(a){return"web"==a.A.c.toLowerCase().substr(0,3)};
g.MM=function(a){return"WEB_UNPLUGGED"==a.A.c};
g.vM=function(a){return g.MM(a)||"TV_UNPLUGGED_CAST"==a.A.c||"TVHTML5_UNPLUGGED"==a.A.c};
g.PM=function(a){return a.deviceHasDisplay&&g.GI&&!II&&"3"!==a.o?g.jo?a.g&&g.rc(51):!0:!1};
g.QM=function(a){return a.deviceHasDisplay&&g.JL&&!II&&"3"!==a.o?g.jo?a.g&&g.rc(48):g.rc(38):!1};
RM=function(a){return g.PM(a)||g.QM(a)||(a.deviceHasDisplay&&g.gf&&!II&&"3"!==a.o?g.jo?a.g&&g.rc(37):g.rc(27):!1)||a.deviceHasDisplay&&g.EH&&!UE()&&g.rc(11)||a.deviceHasDisplay&&g.Dk&&g.rc("604.4")&&a.experiments.g("safari_enable_spherical")};
Jla=function(a){return a.experiments.g("disable_html5_ambisonic_audio")||!(RM(a)||a.experiments.g("html5_enable_spherical")||a.experiments.g("html5_enable_spherical3d"))||g.zM(a)&&OL||g.JL&&(!g.rc(47)||!g.rc(52)&&g.rc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1};
xM=function(a){return"detailpage"==a.K};
g.zM=function(a){return"embedded"==a.K};
g.SM=function(a){return"leanback"==a.K};
wM=function(a){return"adunit"==a.K||"gvn"==a.playerStyle};
g.AM=function(a){return"profilepage"==a.K};
TM=function(a){return VE()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(a.A.cmodel)};
CM=function(a){var b=g.Kg(a);return(a=g.Lg(a))?b+":"+a:b};
g.UM=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
VM=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
Kla=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.Fw=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};
WM=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 XH(e.name,e.audio_track_id,!!e.is_default));e=new Kla(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};
Lla=function(a,b){this.o=a;this.g=b;this.B=0;this.A=!1;this.l=""};
Mla=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)};
XM=function(a,b){this.bj=a;this.o=b;this.l=null};
Nla=function(a,b,c,d){if(!(II||SE()||PE()))return dF();c=WM(c);if(!c)return dF();var e={},f=(e.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",e),k;e=[];var l=[],m=[],n=a.experiments.g("html5_hls_multiaudio_killswitch"),q;for(q in c){var r=g.la(c[q]);for(k=r.next();!k.done;k=r.next()){var u=k.value;if(u.width){var D=c[u.audioItag];if(D&&(e.push(u),k="fairplay"==u.g?f:null,m.push(YM(D,[u],u.itag,u.width,u.height,u.fps,void 0,void 0,k,n)),!I||u.width*u.height*u.fps>I.width*I.height*I.fps))var I=
u}else l.push(u)}}k=m.reduce(function(a,b){return!!b.bj.Hc&&a},!0)?f:null;
d=Math.max(d,a.experiments.l("html5_hls_initial_bitrate"));!a.experiments.g("html5_hls_optimal_resolution_killswitch")&&I?m.push(YM(l,e,"93",I.width,I.height,I.fps,"auto",d,k,n)):m.push(YM(l,e,"93",0,0,0,"auto",d,k,n));return YI(m,HM(a,b))};
YM=function(a,b,c,d,e,f,k,l,m,n){n=void 0===n?!1:n;var q=new bI;d=new eI(d,e,f,null,void 0,k);c=new jI(c,"application/x-mpegURL",q,d,void 0,m);a=new Lla(a,b);a.B=l?l:1369843;n&&(a.A=!0);return new XM(c,a)};
ZM=function(a,b){this.bj=a;this.l=b};
$M=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.vK(k.url);k.s&&f.set(k.sp||"signature",jL(k.s));for(var l in d)f.set(l,d[l]);k=qI(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new ZM(k,f))}}return YI(e,HM(a,b))};
aN=function(a,b){this.bj=a;this.l=b};
Ola=function(a){var b=[];(0,g.B)(a,function(a){if(a.url){var c=qI(a.type,"medium","0");b.push(new aN(c,a.url))}});
return b};
bN=function(a){if(a){var b=[],c;for(c in a)Pla.has(c)||b.push(c);b.length&&(b.sort(),g.bE(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}};
g.cN=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.dN=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.wl()+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,At:a.C*l,zt:a.B*d}};
eN=function(a){g.ZF.call(this);this.A=new CD;this.l=null;this.F=new window.Set;this.D=a||""};
gN=function(a,b,c){for(c=fN(a,c);0<=c;){var d=a.g[c];if(d.Mb(Math.floor(b/(d.columns*d.rows)))&&(d=g.dN(d,b)))return d;c--}return g.dN(a.g[0],b)};
iN=function(a,b,c){c=fN(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),BD(d.A,f,{Wy:f,EA:e}))}hN(a)};
hN=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.Wy].Oa(b.EA);c.onload=(0,g.z)(a.I,a,b.Wy,b.EA);a.l=c}};
jN=function(a,b,c,d){d=void 0===d?!1:d;eN.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)};
fN=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].Bb()>=b)return a.B.set(b,d),d;a.B.set(b,c-1);return c-1};
kN=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.cN.call(this,a,b,c,0);this.g=null;this.F=d?3:0};
lN=function(a,b){jN.call(this,a,0,void 0,b)};
Qla=function(a){if(void 0==window.navigator.mediaCapabilities)return eF(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})};
nN=function(a,b){var c={},d;for(d in mN){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.wH(e)&&(c[mN[d]]=e)}return c};
Sla=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=oN(d);if(g.wH(e)){var f=Rla[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=oN(c));return b};
oN=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a};
g.pN=function(a,b){this.version=a;this.args=b};
g.qN=function(a,b){this.topic=a;this.g=b};
g.sN=function(a,b){var c=rN();c&&c.publish.call(c,a.toString(),a,b)};
g.wN=function(a,b,c){var d=rN();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.x("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(tN[e])try{if(k&&a instanceof g.qN&&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.Ah){var q=new f;f.Ah=q.version}var r=f.Ah}catch(u){}if(!r||l.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.Za(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.bE(u)}},uN[a.toString()]?g.EG()?g.CG(f):g.gE(f,0):f())});
tN[e]=!0;vN[a.toString()]||(vN[a.toString()]=[]);vN[a.toString()].push(e);return e};
zN=function(a,b){var c=g.wN(xN,function(d){a.apply(b,arguments);g.yN(c)},b);
return c};
g.yN=function(a){var b=rN();b&&(g.ua(a)&&(a=[a]),(0,g.B)(a,function(a){b.unsubscribeByKey(a);delete tN[a]}))};
rN=function(){return g.x("ytPubsub2Pubsub2Instance")};
Tla=function(a){if(AN.getEntriesByType){var b=AN.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};
BN=function(){var a=g.aE("TIMING_TICK_EXPIRATION");a||(a={},g.$D("TIMING_TICK_EXPIRATION",a));return a};
Ula=function(){var a=BN(),b;for(b in a)g.FG(a[b]);g.$D("TIMING_TICK_EXPIRATION",{})};
CN=function(a,b){g.pN.call(this,1,arguments)};
DN=function(a,b){g.pN.call(this,1,arguments);this.g=a};
GN=function(a){EN(a);Vla();FN(!1,a);a||(g.aE("TIMING_ACTION")&&g.$D("PREVIOUS_ACTION",g.aE("TIMING_ACTION")),g.$D("TIMING_ACTION",""))};
LN=function(a,b,c,d){d=d?d:a;HN("c",d);GN(d);g.$D(d+"TIMING_AFT_KEYS",b);g.$D(d+"TIMING_ACTION",a);IN("c",c,d);JN(d);g.va("ytglobal.timing"+(d||"")+"ready_",!0,void 0);KN(d)};
QN=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;AN.mark&&(g.nb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),AN.mark(d))}d=MN(c);var e=b||g.yG();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=BN();var f=e[a];f&&(g.FG(f),e[a]=0);NN(c)["tick_"+a]=b;c||b||g.yG();ON()?(e=PN(c),"_start"==a?SG("baseline_"+e)||g.NG("latencyActionBaselined",{clientActionNonce:e},b,void 0):SG("tick_"+a+"_"+e)||g.NG("latencyActionTicked",{tickName:a,clientActionNonce:e},b,void 0),b=!0):b=!1;b||KN(c);return d[a]};
RN=function(a){var b="above_the_fold";AN&&AN.measure&&(g.nb(b,"measure_")||(b="measure_"+b),a?AN.measure(b,a):AN.measure(b))};
IN=function(a,b,c){SN("yt_sts",a,c);QN("_start",b,c)};
TN=function(a,b){var c=MN(b);return a in c};
UN=function(a){TN("_start","video_to_ad")&&QN(a,void 0,"video_to_ad")};
SN=function(a,b,c){VN(c)[a]=b;NN(c)["info_"+a]=b;if(ON())if(a in WN){var d=WN[a];g.Qa(Wla,d)&&(b=!!b);if(ON()){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=PN(c);TG(a,c)}}else g.Qa(Xla,a)||g.bE(Error("Unknown label "+a+" logged with GEL CSI."))};
XN=function(a){var b=VN(void 0);return a in b};
YN=function(a){var b=MN(a);if(b.aft)return b.aft;a=g.aE((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};
KN=function(a){if(!ZN(a)){var b=g.aE((a||"")+"TIMING_ACTION",void 0),c=MN(a);if(g.x("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=YN(a)))if(g.eG("tighter_critical_section")&&!$N&&(g.sN(Yla,new CN(Math.round(b-c._start),a)),$N=!0),a)aO(a);else{b=!0;var d=g.aE("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&aO(a)}}};
bO=function(){switch(vF("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
HN=function(a,b){if(!ZN(b)){if(!g.eG("send_empty_timing")){var c=g.aE("CSI_SERVICE_NAME","youtube");if(!g.aE((b||"")+"TIMING_ACTION",void 0)||!c)return}QN("aa",void 0,b);SN("ap",1,b);SN("yt_fss",a,b);if(g.eG("enable_csi_abandonment_info")&&!b&&!XN("yt_lt")){c=g.aE("TIMING_INFO",{});for(var d in c)SN(d,c[d]);SN("is_nav",1);(d=g.bH())&&SN("csn",d);(d=g.aE("PREVIOUS_ACTION",void 0))&&SN("pa",d);c=VN();c.p=g.aE("CLIENT_PROTOCOL")||"unknown";c.t=g.aE("CLIENT_TRANSPORT")||"unknown";SN("yt_vis",bO());if("cold"==
c.yt_lt){d=AN.timing||{};d.navigationStart&&(QN("srt",d.responseStart),1!=c.prerender&&IN("n",d.navigationStart));c=Tla(d);0<c&&QN("fpt",c);QN("nreqs",d.requestStart,void 0);QN("nress",d.responseStart,void 0);QN("nrese",d.responseEnd,void 0);0<d.redirectEnd-d.redirectStart&&(QN("nrs",d.redirectStart,void 0),QN("nre",d.redirectEnd,void 0));0<d.domainLookupEnd-d.domainLookupStart&&(QN("ndnss",d.domainLookupStart,void 0),QN("ndnse",d.domainLookupEnd,void 0));0<d.connectEnd-d.connectStart&&(QN("ntcps",
d.connectStart,void 0),QN("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=d.navigationStart&&0<d.connectEnd-d.secureConnectionStart&&(QN("nstcps",d.secureConnectionStart,void 0),QN("ntcpe",d.connectEnd,void 0));AN.getEntriesByType&&Zla();d=[];if(window.document.querySelector&&AN&&AN.getEntriesByName)for(var e in cO)c=cO[e],$la(e,c)&&d.push(c);d.length&&SN("rc",d.join(","))}JN()}aO(b)}};
JN=function(a){if(ON()){var b={};b.actionType=ama[g.aE((a||"")+"TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN";a=PN(a);TG(b,a)}};
dO=function(a){return Math.round(AN.timing.navigationStart+a)};
Zla=function(){var a=window.location.protocol,b=AN.getEntriesByType("resource");b=(0,g.Md)(b,function(b){return 0==b.name.indexOf(a+"//fonts.gstatic.com/s/")});
(b=jk(b,function(a,b){return b.duration>a.duration?b:a},{duration:0}))&&0<b.startTime&&0<b.responseEnd&&(QN("wffs",dO(b.startTime)),QN("wffe",dO(b.responseEnd)))};
$la=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=AN.getEntriesByName(d))&&c[0]&&(c=c[0],d=window.performance.timing.navigationStart,QN("rsf_"+b,d+Math.round(c.fetchStart)),QN("rse_"+b,d+Math.round(c.responseEnd)),void 0!==c.transferSize&&(XN("rc")||SN("rc",""),0===c.transferSize))?!0:!1:!1};
PN=function(a){var b=eO(a).nonce;b||(b=$G(),eO(a).nonce=b);return b};
MN=function(a){return eO(a).tick};
VN=function(a){return eO(a).info};
NN=function(a){a=eO(a);"gel"in a||(a.gel={});return a.gel};
eO=function(a){return g.x("ytcsi."+(a||"")+"data_")||EN(a)};
EN=function(a){var b={tick:{},info:{}};g.va("ytcsi."+(a||"")+"data_",b,void 0);return b};
ZN=function(a){return!!g.x("yt.timing."+(a||"")+"pingSent_")};
FN=function(a,b){g.va("yt.timing."+(b||"")+"pingSent_",a,void 0)};
bma=function(a){var b=MN(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==VN(a).yt_pvis};
ON=function(){return!!g.eG("csi_on_gel")};
aO=function(a){Ula();if(!ON()){var b=MN(a),c=VN(a),d=b._start;for(k in b)if(g.nb(k,"_")&&g.ya(b[k])){var e=k.slice(1);if(e in cma){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))fO(b,k),GN(a)}else{var l=g.aE("CSI_SERVICE_NAME","youtube");e={v:2,s:l,action:g.aE((a||"")+"TIMING_ACTION",void 0)};f=SN.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var m=window.location.protocol+g.x("ytplayer.config.assets.js");(m=AN.getEntriesByName?AN.getEntriesByName(m)[0]:null)?c.h5jse=Math.round(c.h5jse-m.responseEnd):delete c.h5jse}b.aft=YN(a);bma(a)&&"youtube"==l&&(SN("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.yG();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);fO(e,k,a);g.sN(xN,new DN(c.aft+(f||0),a))}}};
fO=function(a,b,c){if(g.eG("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.eG("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?YE(a):g.WE(a);FN(!0,c)};
g.hO=function(a){if(a.simpleText)return a.simpleText;a=g.gO(a);var b=g.Fd("div");b.appendChild(a);return b.textContent};
g.gO=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(dma(d))}return 1==b.length?b[0]:g.J("SPAN",null,b)};
dma=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.iO=function(a){g.ZF.call(this);this.adModule=!1;this.pk=this.adaptiveFormats="";this.Hc=null;this.allowEmbed=!0;this.ig=this.backgroundable=!1;this.xf="";this.Em=this.Cm=this.Bm=!1;this.relativeLoudness=window.NaN;this.watchAjaxToken=this.zh=null;this.author="";this.mg=0;this.Ww=this.Mm=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.lu=this.channelBanner=this.channelPath=this.Nm="";this.contentCheckOk=!1;this.Af=0;this.bx=this.enableCardioBeforePlayback=this.enableCardio=!1;this.endSeconds=
0;this.ih=!1;this.sg=this.wj=0;this.Rn=!1;this.XB=0;this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.ua=this.fl=this.isListed=this.Xr=this.Hl=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=!1;this.mdxControlMode=null;this.isPharma=!1;this.sh=0;this.reloadReason="";this.ds=this.Py=this.ah=!1;this.Tn=0;this.tp=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.ls=null;this.il=this.lengthSeconds=0;this.playerParams=null;this.paygated=!1;this.Zd=
[];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.sm=null;this.vp=this.lw=this.KD=cJ;this.ck=this.suggestions=null;this.hlsFormats=this.hk=this.title="";this.Hb=this.xg=this.nf=this.Ml=this.Hn=null;this.Bp="vvt";this.ypcOfferButtonFormattedText=null;this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;this.Ao=this.ii=this.Vi=!1;this.Xq="";this.No=this.du=this.Nx=0;this.My=!1;
this.wh={};this.tr=!1;this.captionTracks=[];this.uk=[];this.iq=0;this.captionTranslationLanguages=[];this.vk=!1;this.chapterMarkers=[];this.Nh=new aI("und",new XH("Default","und",!0));this.hs=0;this.PC=this.Xj=this.tC=!1;this.Nf=null;this.Hh=[];this.fy=!1;this.Fi={};this.slotPosition=-1;this.FC=new g.ju(this.GC,5E3,this);g.L(this,this.FC);this.Wq=0;this.Ox=!0;this.ud=this.sb=null;this.Wr=this.aD=this.partialSpherical=this.gi=!1;this.Iy=this.Jy=window.NaN;this.defraggedFromSubfragments=this.hasSubfragmentedFmp4=
!1;this.liveExperimentalContentId=window.NaN;this.Sl=!1;this.hc={};this.keywords={};this.ye={};this.setData(a)};
lO=function(a,b,c){b=b||{};var d={};if(!c)d=a.sb||{};else if(b.player_response)for(d=g.jx(b.player_response),d=null!=d?d:{},a.sb||(a.sb={}),c=0;c<jO.length;c++){var e=jO[c];e in d&&(a.sb[e]=d[e])}if(c=kO(d))a.xf=AH(c.invideoUrl),a.Bm=!!c.adsOnly,a.Cm=!!c.allowInPlaceSwitch;else{if(c=b.iv_invideo_url)a.xf=AH(c);a.Bm=hM(a.Bm,b.iv_ads_only);a.Cm=hM(a.Cm,b.iv_allow_in_place_switch)}if(c=b.cta_conversion_urls)a.cw=c;a.isPharma=hM(a.isPharma,b.is_pharma);a.author=kM(a.author,b.author);a.Mm=hM(a.Mm,b.cc_asr);
if(c=b.ttsurl)yH(c)?a.Nm=c:(c=zH(c),yH(c,!0)&&(a.Nm=c));if(d.captions&&d.captions.playerCaptionsTracklistRenderer)ema(a,d.captions.playerCaptionsTracklistRenderer);else{c=b.caption_tracks;e=b.caption_audio_tracks;a.tr=void 0!=c;if(c&&e){fma(a,c);gma(a,e);if(c=b.default_audio_track_index)a.iq=(0,window.parseInt)(c,10)||0;(c=b.caption_translation_languages)&&hma(a,c)}a.vk=hM(a.vk,b.cc_contribute)}a.channelPath=kM(a.channelPath,b.channel_path);a.channelBanner=kM(a.channelBanner,b.channel_banner);d.chapterMarkers&&
(a.chapterMarkers=d.chapterMarkers);a.lu=kM(a.lu,b.short_subscriber_count_text);a.clientPlaybackNonce=kM(a.clientPlaybackNonce,b.cpn);a.subscribed=hM(a.subscribed,b.subscribed);a.Ai=jM(a.Ai,b.view_count);a.shortViewCount=kM(a.shortViewCount,b.short_view_count_text);a.title=kM(a.title,b.title);a.pk=kM(a.pk,b.aria_label);a.ypcPreview=kM(a.ypcPreview,b.ypc_preview);a.ypcOrigin=kM(a.ypcOrigin,b.ypc_origin);a.paygated=hM(a.paygated,b.paygated);a.requiresPurchase=hM(a.requiresPurchase,b.requires_purchase);
if(d=b.keywords)a.keywords=jma(d);if(d=b.rvs)a.suggestions=mE(d);a.contentCheckOk=hM(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=hM(a.racyCheckOk,"1"==b.rco);a.oauthToken=kM(a.oauthToken,b.oauth_token);a.visitorData=kM(a.visitorData,b.visitor_data);if(d=b.session_data)a.Gd=g.jE(d);if(d=b.endscreen_autoplay_session_data)a.jx=g.jE(d);a.hx=kM(a.hx,b.endscreen_ad_tracking_data);a.kk=hM(a.kk,b.wait_for_vast_info_cards_xml);a.Gi=hM(a.Gi,b.suppress_creator_endscreen);a.Aj=hM(a.Aj,b.is_trueview_action);a.Sh=
kM(a.Sh,b.wpid);a.uD=kM(a.uD,b.tracking_list||b.tv_list);b.skip_wv&&(a.aD=!0);b.intro_start_ms&&b.intro_end_ms&&(a.Jy=(0,window.parseInt)(b.intro_start_ms,10),a.Iy=(0,window.parseInt)(b.intro_end_ms,10));(0,g.B)(kma,function(a){a in b&&(this.hc[a]=b[a])},a)};
mO=function(a){return!(!a.Ka||!a.Ka.videoInfos.length)};
lma=function(a){return a.l&&HI('video/webm; codecs="vp9"')&&Mb(a.g,function(a){return kI(a.info)})};
nO=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.mI(a.Ka.videoInfos[0])&&a.kc())||g.NE()&&!b.g("html5_streaming_xhr_try_cobalt")||GL&&!b.g("html5_streaming_xhr_try_edge"))};
oO=function(a){return!VI()||a.Ww?!0:!1};
g.pO=function(a){if(!a.ud)return null;var b=null!=a.ud.latitudeE7&&null!=a.ud.longitudeE7?a.ud.latitudeE7+","+a.ud.longitudeE7:",";return b+=","+(a.ud.clientPermissionState||0)+","+(a.ud.locationRadiusMeters||"")+","+(a.ud.locationOverrideToken||"")};
qO=function(a){a.ha()||(a.ih=!1,a.T("dataloaded",a.hc))};
rO=function(a,b,c){c&&a.na&&a.na.dispose();a.na=b;g.L(a,b);(a.Mf()||a.Lf()||a.fi()||a.Ze())&&a.Zd.push("webgl");a.na.isLive||(a.ua=!1)};
g.sO=function(a,b,c){if(a.ha())return dF();a.Ka=null;a.nf=null;a.xg=null;var d=b.A.c;b.experiments.g("disable_rqs")||(a.gi=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(d)||b.experiments.g("html5_high_res_logging"));return mma(a,b,c).then(void 0,(0,g.z)(a.zK,a,b)).then(void 0,(0,g.z)(a.wK,a,b,c)).then(void 0,(0,g.z)(a.xK,a,b)).then(void 0,(0,g.z)(a.AK,a,b)).then(void 0,(0,g.z)(a.yK,a,b)).then(function(){if(b.experiments.g("html5_probe_media_capabilities")&&
a.Ka)return Qla(a.Ka).then(a.Wo,void 0,a)})};
mma=function(a,b,c){if(!c&&!oO(a)){c=!1;if(a.spacecastAdaptiveFormats)rO(a,nL(tO(a,a.spacecastAdaptiveFormats),a.Hc,a.lengthSeconds,void 0),!0),c=!0;else if(a.na&&a.bp){var d=uL(a.na,a.bp);d&&(rO(a,d,!0),c=!0)}if(c)return RL(b.Y,a.na,a.Nf,!0,!1,!b.deviceHasDisplay||a.Sl&&b.Cb).then(a.Wo,void 0,a).then(a.tx,void 0,a)}return dF()};
uO=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.A.c,cver:b.A.cver};a.Gl&&(c.ptk=a.Gl,c.oid=a.ZB,c.ptchn=a.YB,c.pltype=a.aC);return c};
g.vO=function(a){return PE()&&a.fairPlayCert?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ia&&a.Ia.Hc||null};
wO=function(a){var b=a.sb&&a.sb.paidContentOverlay&&a.sb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.hO(b.text):a.sT};
xO=function(a){var b=a.sb&&a.sb.paidContentOverlay&&a.sb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Db(b.durationMs):a.XB};
g.yO=function(a,b){return g.v(a.keywords[b])?a.keywords[b]:null};
g.zO=function(a){if(!a.Hb)if(a.sb&&a.sb.storyboards){var b=a.sb.storyboards;b.playerStoryboardSpecRenderer?a.Hb=new jN(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds):b.playerLiveStoryboardSpecRenderer&&a.na&&(a.Hb=new lN(b.playerLiveStoryboardSpecRenderer.spec,a.na.isLive))}else(b=a.hc.storyboard_spec)?a.Hb=new jN(b,a.lengthSeconds):(b=a.hc.live_storyboard_spec)&&a.na&&(a.Hb=new lN(b,a.na.isLive));return a.Hb};
AO=function(a){return!!(a.Qd||a.adaptiveFormats||a.hk||a.ck||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
BO=function(a){var b=g.Qa(a.Zd,"ypc");a.ypcPreview&&(b=!1);return a.Ed()&&!a.ih&&(AO(a)||g.Qa(a.Zd,"fresca")||g.Qa(a.Zd,"heartbeat")||b)};
tO=function(a,b,c){b=mE(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};
nma=function(a){a=mE(a);var b={};(0,g.B)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
fma=function(a,b){for(var c=mE(b),d=0;d<c.length;d++){var e=c[d],f=e.u;yH(f)&&a.captionTracks.push(new g.ZH({is_translateable:hM(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
gma=function(a,b){var c=mE(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=oma[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.uk.push(b)},a)};
hma=function(a,b){for(var c=mE(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.YH({languageCode:e.lc,languageName:e.n}))}};
ema=function(a,b){a.tr=!0;a.captionTracks=[];b.captionTracks&&(0,g.B)(b.captionTracks,function(a){var b=a.baseUrl;yH(b,!0)&&(a=new g.ZH({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.hO(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.uk=b.audioTracks||[];a.iq=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.G)(b.translationLanguages,function(a){return new g.YH({languageCode:a.languageCode,languageName:g.hO(a.languageName)})}):[];
a.vk=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
g.CO=function(a,b){return!!a.hc[b]};
g.DO=function(a){return a.ua&&!a.ig};
EO=function(a){return a.ua&&a.ig};
FO=function(a){var b=g.cc(a.hc);!a.ua&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
pma=function(a){a.Ka=a.Ka.l};
g.GO=function(a){if(a.Gi)return null;var b=a.hc.iv_endscreen_url;b||(b=a.sb&&a.sb.endscreen&&a.sb.endscreen.endscreenUrlRenderer&&a.sb.endscreen.endscreenUrlRenderer.url);return b||null};
HO=function(a,b){return a.adFormat&&"1_5"!=a.adFormat?"adunit":b.K};
IO=function(a,b){if(a.isAd()&&a.videoId!=b.da)return b.da};
JO=function(a,b){return a.Hl||"detailpage"==HO(a,b)};
KO=function(a,b){return JO(a,b)?"detailpage"==HO(a,b)?a.Rn||0<a.sh:!0:!1};
LO=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};
MO=function(a){return(0,window.isNaN)(a)?0:Math.max(((0,g.F)()-a)/1E3-30,0)};
kO=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
jma=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};
NO=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.l=d};
OO=function(){this.endTime=this.startTime=-1;this.jq="-";this.playbackRate=1;this.visibilityState=0;this.aq="";this.volume=this.connectionType=this.Jg=0;this.muted=!1};
QO=function(a){this.l=a;this.g=0;this.B=-1;this.I=this.l.Sd().volume;this.H=this.l.Sd().muted;this.C=window.NaN;this.o=0;this.gb=[];this.A=PO(this.l);this.D=this.F=0};
g.RO=function(a){a.A.startTime=a.o;a.A.endTime=a.g;a.gb.length&&g.Ja(a.gb).isEmpty()?a.gb[a.gb.length-1]=a.A:a.gb.length&&a.A.isEmpty()||a.gb.push(a.A);a.F+=a.g-a.o;a.A=PO(a.l);a.o=a.g};
SO=function(a){return a.F+a.l.l()-a.o};
TO=function(a){a.gb.length&&a.g==a.o||g.RO(a);var b=a.gb;a.gb=[];return b};
UO=function(a,b,c){c-=a.C;return b==a.g&&.5<c};
qma=function(a,b,c,d,e,f,k,l,m,n,q,r,u){this.videoData=a;this.g=b;this.Sd=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.WO=function(a){return VO(a)()};
VO=function(a){if(!a.A){var b=g.Ea(function(a){var b=g.yG();a&&631152E6>=b&&(g.bE(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};
XO=function(a){var b=a.Sd();g.Ga(b,a.videoData.Sd());return b};
ZO=function(){return window.navigator.connection&&window.navigator.connection.type?YO[window.navigator.connection.type]||YO.other:0};
PO=function(a){var b=new OO;b.jq=a.Sd().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.aq=c.Nb.id);b.connectionType=ZO();b.volume=a.Sd().volume;b.muted=a.Sd().muted;return b};
g.$O=function(a){return(a=rma[a.toString()])?a:"YTP_ERROR_LICENSE"};
aP=function(){var a=[],b=[];return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
bP=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};
cP=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};
dP=function(a,b){var c=cP(a,b);return 0<=c?a.end(c):window.NaN};
eP=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
fP=function(a,b){var c=dP(a,b);return 0<=c?c-b:0};
gP=function(){};
hP=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)};
iP=function(a){a=a.g.seekable||aP();return 1>a.length?window.NaN:a.end(a.length-1)};
lP=function(a,b){var c="";b&&(jP(a,b),c=b.g);a.Td()&&""==c||(c&&a.Td()!=c&&(kP(a,c),a.o&&(a.o.dispose(),a.o=null)),b&&b.l||a.load(),a.D||(a.addEventListener("volumechange",a.Bw),a.D=!0))};
mP=function(a){if(!a.o||a.o.ha()){var b=a.g;b=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new tI(b);b=new AI(b);lP(a,b.B);a.o=b}};
sma=function(a){mP(a);var b=a.o;a.o=null;return b};
jP=function(a,b){a.l&&null!=b&&b.g==a.l.g||(a.l&&a.l.dispose(),a.l=b)};
oP=function(a){return fP(nP(a),a.getCurrentTime())};
pP=function(a){var b=nP(a);return 0<eP(b)&&a.getDuration()?dP(b,a.getCurrentTime()):0};
qP=function(a){var b=a.getDuration();return window.Infinity==b?1:b?pP(a)/b:0};
rP=function(a){return{vct:a.getCurrentTime().toFixed(3),vd:a.getDuration().toFixed(3),vpl:bP(a.g.played||aP()),vbu:bP(nP(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.Tb()),vvol:String(a.getVolume())}};
sP=function(a){switch(a.Tb()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";default:return null}};
tP=function(a,b,c){g.ef.call(this,b,a);this.g=c||null};
tma=function(){this.B=this.g=window.NaN;this.o=this.A=this.l=!1};
uP=function(a,b){return b>a.g&&b<a.g+5};
vP=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.wP=function(a,b){this.l=a||64;this.g=void 0===b?null:b};
vma=function(a,b,c,d){function e(a){return!!d&&d.g(a)}
if(g.W(a,128))return a;xP=xP||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.Td()&&(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,uP(c,l.getCurrentTime())&&
(f&=-2)):(f=8,k=null,g.W(a,32)&&(f|=32),g.W(a,1)&&yP(c,l)&&(f|=1));else if("error"==b.type){if(c=uma(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|=16;if(0>=oP(l)||e("html5_seek_implies_rebuffer"))f|=1;f&=-3}else if("waiting"==b.type)g.W(a,2)||(f|=1),e("html5_waiting_sync_tracker")&&yP(c,l);else if("timeupdate"==b.type)e("html5_timeupdate_advance_check")?((g.W(a,8)||g.W(a,16))&&uP(c,l.getCurrentTime())&&(f=8),yP(c,
l)&&(f|=1)):(b=2<l.g.readyState,c.o=c.o||b,g.W(a,16)||g.W(a,4)||(yP(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 zP(a)&&yP(c,l)&&(f|=1);return AP(a,f,k)};
yP=function(a,b){return vP(a,b.getCurrentTime(),g.yG(),oP(b))};
AP=function(a,b,c){return b==a.l&&c==a.g||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.wP(b,c)};
BP=function(a,b){return AP(a,a.l|b)};
CP=function(a,b){return AP(a,a.l&~b)};
DP=function(a,b,c){return AP(a,(a.l|b)&~c)};
g.W=function(a,b){return!!(a.l&b)};
g.EP=function(a,b){return b.l==a.l&&b.g==a.g};
zP=function(a){return g.W(a,8)&&!g.W(a,2)&&!(!xP&&g.W(a,1024))};
g.FP=function(a){return g.W(a,64)&&!g.W(a,8)&&!g.W(a,4)};
g.GP=function(a){return g.W(a,1)&&!g.W(a,2)};
HP=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};
uma=function(a){var b=sP(a);if(!b)return null;var c="mediaElem.1";IP(a)&&(c+=";msg."+IP(a));.001>Math.random()&&(c+=";gpu."+(0,g.JP)());return{errorCode:b,errorDetail:c,message:g.T("YTP_ERROR_GENERIC_WITHOUT_LINK"),messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"}};
g.KP=function(a,b){this.state=a;this.g=b};
LP=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};
NP=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.aa=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.oa=(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.MP(this,0,"vps",["N"])};
g.MP=function(a,b,c,d){var e=a.l[c];e||(e=[],a.l[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
QP=function(a,b){b=0<=b?b:g.WO(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.MP(a,b,"bwm",[d,(c.B-a.pa).toFixed(3)])}a.ca=c.o;a.pa=c.B;(0,window.isNaN)(c.bandwidthEstimate)||g.MP(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.g.videoData.gi&&c.g&&OP(a,"bwinfo",c.g);a.D&&g.MP(a,b,"bat",[a.D.level,a.D.charging?"1":"0"]);d=a.g.o();a.ea!=d&&(g.MP(a,b,"vis",[d]),a.ea=d);g.MP(a,b,"cmt",[a.g.l().toFixed(3)]);(d=ZO())&&d!=a.X&&(g.MP(a,b,"conn",[d]),a.X=d);PP(a,
b,c);null!==a.g.videoData.sm&&(a.l.acc=[a.g.videoData.sm.join(":")])};
PP=function(a,b,c){if(!(0,window.isNaN)(c.l)){var d=c.l;c.A<d&&(d=c.A);g.MP(a,b,"bh",[d.toFixed(3)])}};
RP=function(a){var b=0,c;for(c in a.l)b+=c.length+jk(a.l[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.ju(a.B,0,a)).start()};
SP=function(a,b,c,d){var e=a.g.l();c=[c,e.toFixed(3)];d&&c.push(d);g.MP(a,b,"error",c)};
xma=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=wma[HP(b)];g.FM(a.g.g)&&"B"==c&&3==a.g.o()&&(c="SU");"B"==c&&g.W(b,4)&&(c="PB");return c};
TP=function(a,b){var c=a.l.cat||[];c.push(b);a.l.cat=c};
OP=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.WO(a.g)).toFixed()+";"+c),e.push(b+":"+c),a.l.ctmp=e,RP(a))};
UP=function(a,b,c,d){this.Qa=b;this.segments=[];this.experimentIds=[];this.adQueryId=null;this.ah=this.ca=this.aa=this.Ab=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.ib=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.jb=d.volume,d.at&&
(this.adType=d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.la=d.inview),d.size&&(this.fa=d.size));this.Na=g.cc(b.A);this.N=b.isDni;this.pa=b.oa;this.experimentIds=b.experiments.experimentIds;this.X=b.pa;this.ea=b.Ca;this.region=b.region;this.Ya=b.Ba?b.Ba.toString():"";this.userAge=b.userAge;this.userGender=b.userGender;this.Db=g.LG();this.Xj=b.Db;c=this.Qa;this.H=a.oauthToken||c.R;this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=KO(a,c);this.autonav=a.Rn||this.autonav;
this.contentVideoId=IO(a,c);this.zh=a.zh;this.clientPlaybackNonce=a.clientPlaybackNonce;a.vssCredentialsToken&&(this.L=a.vssCredentialsToken,this.oa=a.Bp);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.mg=a.mg;this.Af=a.Af;a.Ia&&(this.da=iI(a.Ia),a.Xb&&iI(a.Xb)!=this.da&&(this.K=iI(a.Xb)));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.uD||a.playlistId;this.Io=a.Io;this.ag=a.ag;
this.pf=a.pf;this.Yo=a.Yo;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Pt=a.Pt;this.referrer=a.referrer;this.Kl=a.Xt||a.Kl;this.fk=a.fk;this.lp=a.lp;this.Sh=a.Sh;this.Ba=HO(a,b)};
VP=function(a,b){if(a.D)return null;var c=a.H&&AE(),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,qd:b}};
yma=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.EE(a,c):g.WE(a)};
XP=function(a){var b={ns:a.ea,el:a.Ba,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.ob),of:a.Pt,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.pa,lact:a.Db,live:a.Ma,cl:a.Ya,mos:a.Ca,osid:a.osid,state:a.Ta,vm:a.videoMetadata,volume:a.jb};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Ga(b,a.Na);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.N&&(b.dni="1");a.aa&&
(b["final"]="1");a.ah&&(b.splay="1");a.Af&&(b.delay=a.Af);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.Kl&&(b.feature=a.Kl);a.playlistId&&(b.list=a.playlistId);a.ag&&(b.ctrl=a.ag);a.pf&&(b.ytr=a.pf);a.Yo&&(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.la&&(a.A||a.F)&&(b.inview=a.g(a.la));a.B&&(b.volume=WP(a,(0,g.G)(a.segments,function(a){return a.volume})),b.muted=WP(a,(0,g.G)(a.segments,function(a){return a.muted?1:0})),b.st=WP(a,(0,g.G)(a.segments,function(a){return a.startTime})),b.et=WP(a,(0,g.G)(a.segments,function(a){return a.endTime})),(0,g.Jj)(a.segments,function(a){return 1!=a.playbackRate})&&(b.rate=WP(a,(0,g.G)(a.segments,function(a){return a.playbackRate}))));
(0,g.Jj)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=WP(a,(0,g.G)(a.segments,function(a){return a.visibilityState})));
(0,g.Jj)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=WP(a,(0,g.G)(a.segments,function(a){return a.connectionType})));
(0,g.Jj)(a.segments,function(a){return 0!=a.Jg})&&(b.blo=WP(a,(0,g.G)(a.segments,function(a){return a.Jg})));
(0,g.Jj)(a.segments,function(a){return"-"!=a.jq})&&(b.cc=(0,g.G)(a.segments,function(a){return a.jq}).join(","));
if((0,g.Jj)(a.segments,function(a){return!!a.aq})){var c="au";
a.A&&(c="au_d");b[c]=(0,g.G)(a.segments,function(a){return a.aq}).join(",")}AE()&&a.L&&(b.ctt=a.L,b.cttype=a.oa,b.mdx_environment=a.mdxEnvironment);
a.za&&(b.etype=g.t(a.o)?a.o:0);a.fk&&(b.uoo=a.fk);a.lp&&(b.upt=a.lp);a.Sh&&(b.wpid=a.Sh);return b};
WP=function(a,b){return(0,g.G)(b,a.g).join(",")};
g.YP=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId};
ZP=function(a){g.K.call(this);this.g=a;this.l=new NP(a);g.L(this,this.l);this.o=new QO(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};
$P=function(a,b,c){var d=g.WO(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.gE((0,g.z)(a.KP,a,c,b),d);return c};
qQ=function(a,b){var c=XO(a.g);g.Ga(c,{state:a.C});c=new UP(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=yL(a.g.videoData.na,c.mg);d&&(c.W=d-c.mg)}c.ob=g.WO(a.g);c.segments=[PO(a.g)];return c};
rQ=function(a,b){var c=qQ(a,"watchtime");c.segments=b;c.mg=a.o.g;return c};
sQ=function(a){a.o.update();return rQ(a,TO(a.o))};
vQ=function(a){a.g.videoData.remarketingUrl&&!a.W&&(tQ(a,a.g.videoData.remarketingUrl),a.W=!0);a.g.videoData.youtubeRemarketingUrl&&!a.Y&&(tQ(a,a.g.videoData.youtubeRemarketingUrl),a.Y=!0);a.g.videoData.googleRemarketingUrl&&!a.N&&(tQ(a,a.g.videoData.googleRemarketingUrl),a.N=!0);a.g.videoData.ppvRemarketingUrl&&!a.R&&(tQ(a,a.g.videoData.ppvRemarketingUrl),a.R=!0);uQ(a)};
wQ=function(a){a.A=g.hE((0,g.z)(a.So,a,"heartbeat"),3E4)};
uQ=function(a){a.g.videoData.ye.eventLabel=HO(a.g.videoData,a.g.g);a.g.videoData.ye.playerStyle=a.g.g.playerStyle;a.g.videoData.Do&&(a.g.videoData.ye.feature="pyv");a.g.videoData.ye.vid=a.g.videoData.videoId;var b=a.g.videoData.ye;a=a.g.videoData;a=a.isAd()||!!a.Do;b.isAd=a};
tQ=function(a,b,c){a.g.g.Db&&a.g.videoData.visitorData&&zE(b)?g.EE(b,{qd:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.WE(b,c)};
xQ=function(a,b){var c=a.l;g.MP(c,g.WO(c.g),"lra",[b]);OP(c,"live-readahead-seconds",b.toString())};
yQ=function(a,b){PH.call(this,a,b);this.g=!1;QH(this,"getPresentingPlayerType",this.Pa);QH(this,"addInfoCardXml",this.ZL);QH(this,"cueVideoByPlayerVars",this.bM);QH(this,"loadVideoByPlayerVars",this.jo);QH(this,"preloadVideoByPlayerVars",this.Sz);QH(this,"seekBy",this.he);QH(this,"updatePlaylist",this.DM);QH(this,"updateLastActiveTime",this.CM);QH(this,"updateVideoData",this.EM);QH(this,"getPlayerResponse",this.getPlayerResponse);QH(this,"getStoryboardFormat",this.getStoryboardFormat);QH(this,"getStoryboardFrame",
this.iM);QH(this,"getStoryboardFrameIndex",this.jM);QH(this,"getStoryboardLevel",this.kM);QH(this,"getNumberOfStoryboardLevels",this.gM);QH(this,"getProgressState",this.kh);QH(this,"getHousebrandProperties",this.eM);QH(this,"setPlaybackQualityRange",this.Tz);QH(this,"getCurrentPlaylistSequence",this.dM);QH(this,"canPlayType",this.aM);QH(this,"sendVideoStatsEngageEvent",this.ri);QH(this,"setCardsVisible",this.tl);QH(this,"handleGlobalKeyDown",this.nM);QH(this,"getAudioTrack",this.getAudioTrack);QH(this,
"setAudioTrack",this.Rs);QH(this,"getAvailableAudioTracks",this.getAvailableAudioTracks);QH(this,"getMaxPlaybackQuality",this.fM);QH(this,"getUserPlaybackQualityPreference",this.lM);QH(this,"setSizeStyle",this.xM);QH(this,"setUserEngagement",this.AM);QH(this,"forceFrescaUpdate",this.cM);QH(this,"setAutonav",this.Nz);QH(this,"setAutonavState",this.Ns);QH(this,"showControls",this.Uz);QH(this,"hideControls",this.Qz);QH(this,"getVisibilityState",this.pi);QH(this,"shouldSendVisibilityState",this.BM);QH(this,
"getVideoContentRect",this.Pz);QH(this,"setSafetyMode",this.wM);QH(this,"setFauxFullscreen",this.rM);QH(this,"cancelPlayback",this.Os);QH(this,"getVideoStats",this.Px);QH(this,"updateSubtitlesUserSettings",this.ko);QH(this,"getSubtitlesUserSettings",this.oi);QH(this,"resetSubtitlesUserSettings",this.Qs);QH(this,"isFastLoad",this.oM);QH(this,"isInline",this.Rz);QH(this,"isPeggedToLive",this.isPeggedToLive);QH(this,"setMinimized",this.vM);QH(this,"setInline",this.tM);QH(this,"getSphericalProperties",
this.eo);QH(this,"setSphericalProperties",this.ho);QH(this,"getSphericalConfig",this.hM);QH(this,"setSphericalConfig",this.yM);QH(this,"setBlackout",this.qM);QH(this,"onAdUxClicked",this.pM);QH(this,"getPlayerSize",this.Ps);QH(this,"setGlobalCrop",this.sM);QH(this,"wakeUpControls",this.XU);QH(this,"isMutedByMutedAutoplay",this.gK);QH(this,"getVideoAspectRatio",this.mM);QH(this,"setUseFastSizingOnWatch",this.zM);QH(this,"setInternalSize",this.uM)};
zQ=function(a,b){yQ.call(this,a,b)};
AQ=function(a,b){this.o=a;this.l=b||null;this.A=!1};
DQ=function(a,b,c){var d=a.o;b=g.zM(d)&&d.Mc&&JO(b,d);if(d.Vb&&(xM(d)||g.SM(d)||b)&&!a.A){a.A=!0;g.aE("TIMING_ACTION")||g.$D("TIMING_ACTION",a.o.csiPageType);a.o.Na&&g.$D("CSI_SERVICE_NAME",a.o.Na);if(a.l){d=a.l.ca;for(var e in d)(0,g.BQ)(e,d[e],"");e=a.l.X;for(var f in e)(0,g.CQ)(f,e[f],"");f=a.l;f.ca={};f.X={}}(0,g.CQ)("yt_pvis",bO(),"");(0,g.CQ)("yt_pt","html5","");c&&!TN("pbs","")&&a.g("pbs",c);a=a.o;g.SM(a)||xM(a)&&"blazer"!=a.playerStyle||!TN("_start","")||aO("")}};
g.EQ=function(a,b,c){g.K.call(this);this.start=a;this.end=b;this.o=zma++;a=c||{};this.ia=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.wH(a)}):null;
this.visible=this.visible;this.style=this.style;this.start=this.start};
FQ=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
Ama=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.GQ=function(a,b){return a.start-b.start||a.A-b.A||a.o-b.o};
g.HQ=function(a,b){this.type=a||"";this.id=b||""};
g.JQ=function(a){g.ZF.call(this);this.startSeconds=0;this.dD=!1;this.zb=0;this.title="";this.gh=0;this.Ga=[];this.Of=this.Qc=!1;this.Gd=this.jx=this.Jl=null;this.views=0;this.hH=0!=a.fetch;this.Yd=[];this.zb=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.xO="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.zb]=a);var b=a.api;b&&("string"==typeof b&&
16==b.length?a.list="PL"+b:a.playlist=b);this.Vn=0;if(b=a.list)switch(a.listType){case "user_uploads":this.Of||(this.listId=new g.HQ("UU","PLAYER_"+b),IQ(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}));break;case "user_favorites":this.Of||(this.listId=new g.HQ("FL","PLAYER_"+b),IQ(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}));break;case "search":Bma(this,b);break;default:var c=a.playlist_length;c&&(this.gh=c);this.listId=new g.HQ(b.substr(0,
2),b.substr(2));(b=a.video)?(this.Ga=b.slice(0),this.Qc=!0):Cma(this)}else a.playlist&&(b=a.playlist.toString().split(","),0<this.zb&&(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}),IQ(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=nN(a,"playlist_");this.mD=(a=a.thumbnail_ids)?a.split(","):[]};
KQ=function(a){return!!(a.playlist||a.list||a.api)};
LQ=function(a){var b=a.zb+1;return b>=a.gh?0:b};
MQ=function(a){var b=a.zb-1;return 0>b?a.gh-1:b};
NQ=function(a,b){a.zb=g.cd(b,0,a.gh-1);a.startSeconds=0};
Bma=function(a,b){if(!a.Of){a.listId=new g.HQ("SR",b);var c={search_query:b};a.xO&&(c.mob="1");IQ(a,"/search_ajax?style=json&embeddable=1",c)}};
Cma=function(a){if(!a.Of){var b=b||a.listId;b={list:b};var c=a.Ub();c&&c.videoId&&(b.v=c.videoId);IQ(a,"/list_ajax?style=json&action_get_list=1",b)}};
IQ=function(a,b,c){a.hH&&g.EE(g.Ug(b,c),{format:"JSON",onSuccess:(0,g.z)(function(a,b){OQ(this,b)},a),
onError:(0,g.z)(function(){this.T("error")},a)})};
OQ=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.Ub();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.zb=d:a.Ek(c);a.setShuffle(!1);a.Of=!1;a.Qc=!0;a.Vn++;a.Jl&&a.Jl()}};
PQ=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
QQ=function(a){this.l=window.Float32Array?new window.Float32Array(a):Array(a);this.o=this.g=a-1};
RQ=function(a){return a.l[a.g]||0};
Dma=function(){this.B=new QQ(50);this.g=null;this.A=this.o=0;this.l=null};
SQ=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
TQ=function(a){if(a.xn())return!1;a=a.Xd("content-type");return"audio/mp4"==a||"video/mp4"==a};
VQ=function(a,b,c){g.ZF.call(this);var d=new Ema;"ULTRALOW"==a.latencyClass&&(d.A=!1);a.fl?d.o=3:g.DO(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&&(!nO(a,b)||!SQ())||a.defraggedFromSubfragments);d.B&&(d.I++,e&&(d.C=b.l("html5_jumbo_ull_nonstreaming_mffa_ms")||window.NaN));LE()&&(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=UQ(this,b)};
XQ=function(a){return WQ(a)*a.l};
ZQ=function(a,b){var c=YQ(a);var d=a.g.g;a.D||(d=Math.max(d-1,0));d*=WQ(a);return b>=c-d};
YQ=function(a){return Math.max(a.H()-XQ(a),a.A.Fb())};
$Q=function(a){return(a.l-1+a.g.g)*WQ(a)};
aR=function(a,b,c){3==a.g.o&&((b=ZQ(a,b),c||b)?b&&(a.C=!0):a.C=!1)};
bR=function(a,b){var c=ZQ(a,b);a.D!=c&&a.T("livestatusshift",c);a.D=c};
WQ=function(a){return a.A.na?xL(a.A.na)||5:5};
UQ=function(a,b){b=Math.max(Math.max(a.g.I,Math.ceil(a.g.l/WQ(a))),b);return Math.min(Math.min(8,Math.floor(a.g.F/WQ(a))),b)};
Ema=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};
dR=function(a,b){this.D=a;this.Y=b;this.g=new cR(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};
eR=function(a){return{startTime:a.F/a.l,duration:a.R/a.l}};
fR=function(a){a.F=window.NaN;a.R=0;a.L=null;a.K=0};
gR=function(a){return!(0,window.isNaN)(a.C)&&a.l?a.C/a.l:a.W};
hR=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new cR(b,d,a.g);return 8};
iR=function(a){a.l&&!(0,window.isNaN)(a.H)&&(a.C=Math.floor(a.H*a.l),a.H=window.NaN)};
jR=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};
kR=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))};
lR=function(a,b,c){return new jJ(b,c,a.g.size,a.g.type,!0)};
cR=function(a,b,c){this.type=a;this.size=b;this.g=c;this.offset=this.version=0};
Fma=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.rm)(this.l,function(a){return!!a.range})};
Gma=function(a){var b=a.length-a.o;(0,g.B)(a.g,function(a){b+=a.range.length});
return b};
Hma=function(a){this.C=a;this.A=window.NaN;this.B=[];this.o=this.g=this.l=0};
Ima=function(a,b,c,d){this.ca=null;this.g=a;this.ea=b;this.fa=c;this.da=d;this.R=this.l=window.NaN;this.aa=0;this.I=this.W=this.o=this.C=window.NaN;this.X=this.Y=this.A=!1;this.B=0;this.H=eM(this.g);this.F=this.N=this.L=window.NaN;this.D=this.K=null};
mR=function(a){return{rt:((0,g.F)()-a.l).toFixed(),lb:a.o.toFixed(),pt:(1E3*a.L).toFixed(),pb:a.ea.toFixed(),stall:(1E3*a.B).toFixed(),elbowTime:(a.R-a.l).toFixed(),elbowBytes:a.aa.toFixed()}};
nR=function(a){a.F||(a.F=a.ca(),3==a.F&&(a.K=new Hma(a.g)));return a.F};
pR=function(a,b,c,d){var e=(b-a.C)/1E3,f=c-a.o,k=nR(a);if(3==k&&f){var l=a.K;l.B.push({Yn:f,ru:(0,window.isNaN)(l.A)?window.NaN:d-l.A,x3:d});l.A=d}a.A?1==k&&0<f&&(.2<e||1024>f?(a.B+=e,.2<e&&oR(a,.05,f)):oR(a,e,f),a.X=!0):c>=a.g.policy.l&&(1==k&&(d=a.g,d.D.g(1,(b-a.l)/1E3),ZL(d)),a.R=b,a.aa=c,a.A=!0);bM(a.g,e,f);a.C=b;a.o=c};
oR=function(a,b,c){b=Math.max(b,.05);a=a.g;var d=void 0;a.g.g(void 0===d?b:d,c/b);a.o=g.yG()};
qR=function(a,b,c){c=Math.round(c/1024);if(a.D){var d=b-a.W,e=c-a.I;d=Math.min(d,4095);e=Math.min(e,4095);a.D.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(d>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(d&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(e>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(e&63))}a.W=b;a.I=c};
rR=function(a){return a.o>=a.g.policy.l};
sR=function(a){var b=a.ea-a.o;0>b&&a.g.policy.C&&(b=0);b=1E3*(b*a.H.stall+b/a.H.byterate);var c=(0,g.F)();b=rR(a)?b+c:b+Math.max(c,a.l+1E3*a.H.delay);a.N=b};
tR=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.ia=Jma++;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(cE((0,g.z)(this.CT,this)),cE((0,g.z)(this.Zz,this)));(0,g.F)();this.L=this.F=this.H=!1;this.K="";b()};
yR=function(a,b){a.l+=b.length;var c=b.length;var d=uR(a)?1:Math.max(vR(a)/2,16384);c=c>=d;d=b.length+a.g>vR(a);a.L?((c||d)&&0!==a.g&&wR(a),c?a.A.push(b):xR(a,b)):(xR(a,b),a.l>=(uR(a)?1:16384)&&wR(a))};
wR=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(vR(a))};
xR=function(a,b){if(b.length+a.g>vR(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};
zR=function(a){a.C.read().then(cE((0,g.z)(a.oP,a)),cE((0,g.z)(a.Zz,a)));(0,g.F)()};
BR=function(a){if(a.B){a.H=!0;if(AR(a)&&!a.A.length&&!a.g&&!a.F&&a.l){TQ(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()}};
uR=function(a){return a.D.za&&a.D.o&&TQ(a)};
AR=function(a){return a.D.Kd&&a.D.o&&TQ(a)};
vR=function(a){a=a.xn()||0;return Math.max(16384,.125*a)};
CR=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.IM,this);this.A=d;this.C=c;this.B=e;a=cE((0,g.z)(this.GM,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",cE((0,g.z)(this.HM,this)),!1)};
DR=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.ju(this.NT,a.L,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.oa&&(NK(this.info)||MK(this.info))};
Kma=function(a,b){a.F=b};
ER=function(a){return a.A?xK(a.A.g):""};
FR=function(a){var b=mR(a.timing);b.shost=ER(a);b.rn=a.N.toString();a.C&&(b.rc=a.C.toString());b.itag=""+iI(a.info.g[0].g.info);b.ml=""+ +a.info.g[0].g.Jc();b.sq=""+a.info.g[0].ya;410!=a.C&&500!=a.C&&503!=a.C||(b.fmt_unav="true");a.g&&a.g.Ts()&&(b.msg=a.g.Ts());return b};
GR=function(a){ER(a);return uK(a.W,ER(a))};
IR=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.F)();c=c>b.l&&4E12>c?c:(0,g.F)();qR(b,c,1024*b.I);var d=(c-b.l)/1E3;if(2!=nR(b))if(rR(b))b.B+=(c-b.C)/1E3,$L(b.g,b.o,b.B);else{var e=b.g;e.D.g(1,d);ZL(e);b.R=c}e=b.g;var f=b.L,k=MK(b.da);e.C.g(d,b.o/d);e.o=g.yG();k||e.l.g(1,d-f);bM(b.g,(c-b.C)/1E3,0)}else(0,g.F)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=GR(a),b.l+=1):(b=GR(a),b.g+=1),a.info.l.g++);HR(a,7)};
JR=function(a){if(1==a.state)return!0;a=GR(a);return 100>a.l&&6>a.g};
HR=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.A&&(c.A=!1)}a.F&&a.F(a)};
LR=function(a){KR(a);a.B="net.timeout";IR(a)};
MR=function(a){return(0,g.rm)(a.info.g,function(a){return 3==a.type})};
KR=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.A&&(a.A=!1)};
OR=function(a){var b=a.g.Xd("content-type"),c=a.g.xn();(b=(!NR(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&NR(a)&&uR(a.g);return b};
Lma=function(a,b){var c=(0,g.z)(a.iT,a),d=(0,g.z)(a.lT,a),e=(0,g.z)(a.kT,a),f=(0,g.z)(a.jT,a);return a.o.F&&(a.o.QD&&!(0,window.isNaN)(a.info.o)&&a.info.o>a.o.im?0:SQ()&&MR(a))?new tR(b,d,e,c,f,a.o):new CR(b,d,e,c,f)};
NR=function(a){return a.g?a.g.iD():!1};
PR=function(a){return 2<=a.state&&!!a.l&&!!a.l.g.length};
QR=function(a,b){if(b||NR(a)&&!OR(a)){if(!a.l){var c;NR(a)||(c=a.g.Iq());a.l=new Fma(a.info.g,c)}for(;a.g.hi();){c=a.l;for(var d=a.g.ZC(),e=b&&!a.g.hi(),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,D=k;q=d;r=r||m.g.wz();var I=q.length-D;m.range&&(I=Math.min(m.Wa-u,I));u=UJ(m,m.l+u,I,m.range?m.l+u+I==m.range.length:!!e);var S=MJ(q.byteOffset,
q.length);D=MJ(q.byteOffset+D,I);n.g.push(new mK(u,q.buffer,D,S,r));n=I;c.o+=n;k+=n;f+=m.Wa;if(k==d.length)break}}}};
Mma=function(a){if(!a.o.o||!(0,window.isNaN)(a.info.o)&&0<a.info.o)return!1;if(!a.g||!a.g.Uk())return!0;if(!TQ(a.g))return!1;if((0,window.isNaN)(a.info.o)){var b=a.g.Xd("x-head-seqnum");if(b&&(0,window.parseInt)(b,10)>a.info.g[0].ya)return!1}return!0};
RR=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};
Nma=function(a){a=Fka(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)})};
SR=function(a){return g.ke(a,!0).replace(/[\.]{1,2}$/,"")};
TR=function(a,b,c){g.ZF.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.AC&&(this.T("timestamprewrite",a),this.o.AC=!1)},this);
this.R=this.K=this.C=this.l=null;this.L=!1;this.H=null;this.o.Na&&(this.l=new dR(this.o,this.W))};
UR=function(a){return a.g.length?a.g[0]:null};
VR=function(a){return a.g.length?a.g[a.g.length-1]:null};
Pma=function(a,b,c){b=Oma(a,b,c);(0,g.B)(b,function(b){a.g.push(b)})};
Qma=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};
WR=function(a){return(0,g.G)(a.g,function(a){return a.info})};
XR=function(a,b){a.L=!1;a.H&&!a.o.wc&&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)?gR(a.l):eR(a.l).startTime:a.B;a.l.reset();a.K=a.R;a.B=c}a.C=null};
YR=function(a){return a.l?gR(a.l):a.F||0};
Oma=function(a,b,c){if(!c.verify()||c.info.g.Yr()){var d=SJ(c.info);d.verification="1";a.T("error",d||{})}c.l&&c.info.g.info.video&&RK(c.info.g,nK(c));a.I.info.Hc&&g.mI(c.info.g.info)&&(c.info.F=Nma(nK(c)));c.info.o&&(a.R=c.info);if(!a.I.yf()){if(2==c.info.g.info.containerType){var e=nK(c);c.l&&c.info.g.info.video&&eK(e)}a.C&&VJ(c.info,a.C);var f=c;!a.K||(a.o.fg?QJ(a.K,f.info,!0):RJ(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;iR(m);a.B=window.NaN}var n=nK(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.gg){var D=SJ(f.info);D.partialbox="1";a.T("error",D||{})}var I=b.timing,S=!!f.info.l&&1936286840!=q&&!(a.o.Kd&&1936419184==q),Z=f.info.o;if(3==nR(I)){var V=I.K;if(V.B.length){var Fa=V.B.shift(),pa=Fa.ru;S||(Fa.Yn-=Math.min(Fa.Yn,1500),Fa.ru=
0);V.l+=Fa.Yn;V.g+=Fa.ru;V.o+=(0,window.isNaN)(pa)?0:pa;if(Z){if(!(0>=V.g)){var wc=V.C,wd=V.g/1E3,Va=V.o/1E3;Va=void 0===Va?wd:Va;wc.g.g(Va,V.l/wd);wc.o=g.yG()}V.g=0;V.l=0;V.o=0}}}if(a.o.cv&&a.o.o){if(!a.l.N&&!f.info.o){var fd=null;break b}}else if((0,window.isNaN)(a.l.F)){fd=null;break b}var lc=a.l,Gi=f.info.g.info;if(lc.o.length)if(lc.N=!1,lc.D.H||1!=lc.o.length){for(var Nb=0,Rb=g.la(lc.o),Gb=Rb.next();!Gb.done;Gb=Rb.next())Nb+=Gb.value.byteLength;if(lc.D.H){if(!lc.L||lc.L.length-lc.K<Nb)lc.L=new window.Uint8Array(Math.max(Nb,
lc.D.Dh+Math.round(Gi.g*lc.D.Ch))),lc.K=0;var Hi=lc.L;var Be=lc.K}else Hi=new window.Uint8Array(Nb),Be=0;var Ii=Be,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),Be);Be+=Dc.byteLength}lc.o.length=0;lc.D.H&&(lc.K=Be);var Ig=new window.DataView(Hi.buffer,Ii,Nb)}else{var Fv=lc.o[0];lc.o.length=0;Ig=Fv}else Ig=null;var Rd=Ig;if(Rd){var Nn=MJ(Rd.byteOffset,Rd.byteLength);var Hua=a.o.H?MJ(0,Rd.buffer.byteLength):
Nn;var a$=f.info.l+f.info.Wa-a.l.A.length-Rd.byteLength,Uwa=UJ(f.info,a$,Rd.byteLength,f.info.o);fd=new mK(Uwa,Rd.buffer,Nn,Hua,f.l&&(!a.o.H||!a$))}else fd=null}else{var qE;a.o.Jd?qE=a.W(pK(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.Y&&!qK(f,qE)){var b$=SJ(f.info);b$.smst="1";a.T("error",b$||{})}else a.F=qE+rK(f);fd=f}var c$=fd;if(!c$)return[];c=c$;if(ZR(a,c)){var rE=c;if(g.mI(rE.info.g.info)){var Vwa=nK(rE),Xd=vJ(Vwa,0,1701671783);if(Xd){Xd.skip(4);
mJ(Xd);mJ(Xd);lJ(Xd);lJ(Xd);lJ(Xd);lJ(Xd);var d$=new window.Uint8Array(new window.ArrayBuffer(Xd.size-Xd.g)),Wwa=new window.Uint8Array(Xd.data.buffer,Xd.offset+Xd.g,Xd.size-Xd.g);d$.set(Wwa);Xd.g=Xd.size;var Xwa=d$.buffer;var Ywa=Xd.offset;var e$,Zwa=String.fromCharCode.apply(String,new window.Uint8Array(Xwa));var aQ=(e$=uJ(Zwa))?new sJ(e$,Ywa):null}else aQ=null}else{var hs=new XJ(nK(rE)),$wa=hs.g;hs.g=0;var f$=null;if(ZJ(hs,[408125543,307544935,29555,26568,17543])){var axa=bK(hs,!0);var bxa=String.fromCharCode.apply(String,
iK(hs,axa));var g$$=uJ(bxa);f$=g$$?new sJ(g$$):null}hs.g=$wa;aQ=f$}rE.o=aQ;c.o&&(a.C=c.o,a.L=!!a.l,VJ(c.info,a.C),VJ(a.K,a.C))}ZR(a,c)&&g.mI(c.info.g.info)&&IJ(nK(c),1701671783);var bQ=c;if(a.C){if(bQ.info.o){a.L=!1;a.H=null;var dm=a.C;if(a.l){var h$=eR(a.l);fR(a.l);var cQ=h$.startTime;var i$=h$.duration}else cQ=pK(bQ),i$=rK(bQ);var j$=new gJ(dm.l,cQ,i$,dm.ingestionTime,"sq/"+dm.l,void 0,void 0,!1);a.T("segmentinfo",j$);var sE=dm.g["Cuepoint-Type"]?new rJ((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.Qe+=cQ,a.T("cuepoint",sE,dm.l));var k$=j$}else{if(a.L&&!(0,window.isNaN)(a.l.F)){var dQ=a.C,cxa=eR(a.l).startTime;var eQ=new gJ(dQ.l,cxa,a.C.F,dQ.ingestionTime,"sq/"+dQ.l,void 0,void 0,!0);a.H=eQ;a.T("placeholderinfo",eQ);a.L=!1;var l$=eQ}else l$=null;k$=l$}var m$=k$}else m$=null;var fQ=m$;var n$=c;if(a.o.Mi)if(fQ){WJ(n$.info,fQ);for(var o$=g.la(b.info.g),gQ=o$.next();!gQ.done;gQ=o$.next())WJ(gQ.value,
fQ)}else a.H&&WJ(n$.info,a.H);c.info.o&&(a.C=null)}var qx=c;if(a.o.Xu&&!a.I.yf()&&(0==qx.info.l||a.A)&&g.mI(qx.info.g.info)&&3==qx.info.type&&!sK(qx)&&qx.info.duration&&!a.o.Na){var p$=c;a.D+=1E3*(rK(p$)-p$.info.duration);if(a.N&&Math.abs(a.D-a.N.D)>=a.o.hm){var zo=c,hQ=(a.N.D-a.D)/1E3,q$=rK(zo)+hQ,dxa=new window.DataView(zo.g),r$=g.xJ(dxa,1936286840);var iQ=r$?FJ(r$):window.NaN;if((0,window.isNaN)(iQ)){var s$=zo.info.g.g,exa=new window.DataView(zo.g),t$=g.xJ(exa,1836476516);iQ=t$?yJ(t$):s$?zJ(s$):
window.NaN}var tE=$R(a,zo,q$*iQ);if(tE&&tE.length){var jQ=SJ(zo.info);jQ.fds=q$.toFixed(3);jQ.com=a.D.toFixed(3);a.T("timestamprewrite",jQ);a.F+=hQ;a.D+=1E3*hQ}return tE?tE:aS(a,zo)}}if(!a.I.yf()&&a.I.info.Hc&&a.o.rm){var vE=c,em=bS(a,vE);if(em){var kQ=vJ(em,0,1718909296),lQ=vJ(em,0,1836019574),wE=vJ(em,0,1701671783),mQ=vJ(em,0,1836019558);if(kQ&&lQ&&mQ){for(var w$=JJ(em,lQ),nQ=JJ(em,mQ),x$=lQ.size,y$=g.la(nQ),Ao=y$.next();!Ao.done;Ao=y$.next()){var oQ=Ao.value;1886614376==oQ.type&&(w$.push(oQ),x$+=
oQ.size)}var z$=kQ.size+x$+mQ.size;wE&&(z$+=wE.size);var rx=new nJ(z$);pJ(rx,kQ);qJ(rx,1836019574,w$);wE&&pJ(rx,wE);var A$=g.la(nQ);for(Ao=A$.next();!Ao.done;Ao=A$.next()){var xE=Ao.value;1886614376==xE.type&&(xE.type=1936419184,xE.data.setUint32(xE.offset+4,1936419184))}qJ(rx,1836019558,nQ);var B$=rx.data.buffer}else B$=null;var C$=B$;var pQ=C$?cS(a,em,C$,vE):aS(a,vE)}else pQ=aS(a,vE)}else{if(a.o.wd&&a.I.yf()&&(0==c.info.l||a.A)&&g.mI(c.info.g.info)){var yE=c,fxa=yE.info.g.index.Mq(yE.info.ya),E$=
$R(a,yE,fxa);var F$=E$?E$:aS(a,yE)}else F$=[c];pQ=F$}return pQ};
ZR=function(a,b){return!a.I.yf()&&0==b.info.l&&(g.mI(b.info.g.info)||2==b.info.g.info.containerType)};
aS=function(a,b){if(a.A&&a.A!=b){var c=[a.A,b];a.A=null;return c}return[]};
$R=function(a,b,c){var d=bS(a,b);return d?(c=Dka(d,c,a.Y))?cS(a,d,c,b):null:null};
cS=function(a,b,c,d){b=HJ(b);a.A&&(b-=a.A.range.length,a.A=null);a=oK(d,b);a[0].g=c;a[0].range=MJ(0,c.byteLength);a[0].A=MJ(0,c.byteLength);d=a[0];c=new window.DataView(c);c=!!vJ(c,0,1836019574);d.l=c;return a};
bS=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);HJ(c);return c}c=nK(b);if((d=HJ(c))&&d<c.byteLength)return c;a.A=b;return null};
dS=function(a,b,c){this.l=b;this.A=[];this.o=new TR(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};
eS=function(a,b){a.A.push(b);a.g=g.Ja(b.info.g)};
gS=function(a){for(;a.A.length&&6==a.A[0].state;){var b=a.A.shift();fS(a,b);b=b.timing;a.K=(b.C-b.l)/1E3}a.A.length&&PR(a.A[0])&&!MK(a.A[0].info)&&fS(a,a.A[0])};
fS=function(a,b){if(PR(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))}};
jS=function(a,b){a.l.Jc();var c=hS(a,b);if(0<=c)return c;a.g=a.l.Sg(b).g[0];iS(a)&&(a.B=null);a.I=0;return a.g.startTime};
kS=function(a){var b=0;(0,g.B)(a.A,function(a){var c=b;a=a.l&&a.l.length?Gma(a.l):PK(a.info);b=c+a},a);
return b+=Qma(a.o)};
mS=function(a){lS(a);a.o.g=[]};
nS=function(a,b){var c;for(c=0;c<a.A.length&&b!==a.A[c];c++);if(c==a.A.length)b.I&&XR(a.o,b.info),b.dispose();else{for(;c<a.A.length;){var d=a.A.pop();d.I&&XR(a.o,d.info);d.dispose()}3==b.info.g[0].type?(b.l&&b.l.A?(c=b.l.A,c=new OJ(c.type,c.g,c.range,c.ya,c.startTime+c.duration,0,c.l+c.Wa,0,!1)):(c=b.info.g[0],c=new OJ(c.type,c.g,c.range,c.ya,c.startTime,0,c.l,0,!1)),a.g=c):a.g=null}};
iS=function(a){return!!a.B&&a.B.C};
oS=function(a){var b=[];a.B&&b.push(a.B);b=g.Ya(b,WR(a.o));(0,g.B)(a.A,function(a){(0,g.B)(a.info.g,function(c){a.I&&(b=(0,g.Md)(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.ya==c.ya&&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&&!Gka(a.g,g.Ja(b),a.g.g.yf())&&b.push(a.g);return b};
pS=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!RJ(a[c-1],a[c]))return!1;return!0};
hS=function(a,b,c){c=void 0===c?!1:c;if(!a.g||!a.g.Wa)return window.NaN;a=oS(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||!pS(a,c?b:0)?window.NaN:a[b].startTime};
qS=function(a){return(0,g.Jj)(a.A,function(a){return 4<=a.state})};
rS=function(a){return!(!a.g||a.g.g==a.l)};
sS=function(a){return rS(a)&&a.l.Jc()&&a.g.g.info.g<a.l.info.g};
tS=function(a,b,c){return(a=VR(a.o)?VR(a.o).info:a.B)&&!a.C?a.A>b&&a.A<b+c:!1};
lS=function(a){(0,g.B)(a.A,function(a){a.I&&XR(this.o,a.info);a.dispose()},a);
a.A=[];a.g=null};
uS=function(a){return!!a.g&&-1!=a.g.ya&&a.g.ya<a.l.index.Bf()};
vS=function(a){if(a.g){var b=VR(a.o);b&&3==b.info.type&&-1==a.g.ya&&(a.g.ya=b.info.ya)}};
wS=function(a){return(0,g.Jj)(a.A,function(a){return a.H})};
Rma=function(a,b){this.l=a;this.g=b;this.o=1};
Sma=function(a,b){var c=Math.min(2.5,aM(a.l)),d=xS(a);return b-c*d};
zS=function(a,b,c,d,e){e=void 0===e?!1:e;d/=a.o;var f=1/dM(a.l);var k=Math.max(.9*(d-3),aM(a.l)+a.l.policy.l*f);c=k/f*a.g.OD/(b+c);c=Math.min(c,d);a.g.Ta&&e&&(c=Math.max(c,a.g.Ta));return yS(a,c,b)};
yS=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.g.ND*c),Math.min(Math.min(a.g.W,a.g.Ba*c),Math.ceil(b*c))))};
Tma=function(a,b){var c=yS(a,b.video?a.g.uv:a.g.dg,b.g);return a.g.zd&&b.video?Math.max(c,a.g.zd):c};
xS=function(a){var b=dM(a.l);if(a.g.Bh)return b;var c=a.g.zD,d=1E-9+aM(a.l);b*=Math.min(1,c/(b*d));a.g.yd&&(c=((YL(a.l.l,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.g.yd*c);return b};
AS=function(a){return xS(a)/a.o};
Uma=function(a,b,c,d){this.Y=a;this.l=b;this.D=c;this.H=d;this.A=cJ;this.B=this.L=null;this.F="i";this.N=-1;this.o=this.C=null;this.g=[];this.W={};this.R=this.I=0;this.ca=null;this.K=this.aa=!1;this.X=0};
Vma=function(a,b,c){if(a.l.C&&$I(a.A,b))return null;var d=a.l.C?b.reason:c;"m"==d&&a.A.isLocked()&&!b.isLocked()&&(c="a");if("m"==d&&b.isLocked())return a.F=c,BS(a,b),a.I=a.g.length-1,CS(a),DS(a),a.K=a.K||a.B!=a.o,a.B=a.o,new PQ(a.C,a.B,c);var e=$I(a.A,b);if("m"==a.F&&a.A.isLocked()&&e)return null;"r"!=d||e||(a.N=-1);BS(a,b);DS(a);if("r"==d&&a.o==a.B)return e?null:new PQ(a.C,a.o,c);a.F=c;ES(a);return null};
Wma=function(a,b){if(b.info.video){if(a.B!=b)return a.B=b,FS(a)}else a.L=b;return null};
GS=function(a,b){a.l.K?b.F=g.yG():(a.ca=b.info,a.R=g.yG());a.N=-1;BS(a,a.A)};
HS=function(a){if(a.l.K){for(var b=g.yG()-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.yG()-a.R};
IS=function(a){return a.A.isLocked()};
ES=function(a){if(a.B&&a.o&&JS(a,a.B.info)<JS(a,a.o.info)){var b=a.l.C?a.A.reason:a.F;a.aa=a.aa||"r"==b||"u"==b||"v"==b}};
FS=function(a){var b=a.F;a.F="a";a.N=g.yG();a.aa=!1;return new PQ(a.L,a.B,b)};
BS=function(a,b){a.A=b;var c=a.H.videoInfos;if(!IS(a)){var d=g.yG()-6E4;c=(0,g.Md)(c,function(a){if(a.g>this.l.I)return!1;a=this.D.g[a.id];return this.l.K&&a.F>d||4<a.A.g||a.B?!1:!0},a);
if(HS(a)){a.l.K||(c=(0,g.Md)(c,function(a){return a.id!=this.ca.id},a));
var e=(0,g.Md)(c,function(a){a=iI(a);return"140"==a||"134"==a||"243"==a});
e.length&&(c=e)}}c.length||(c=a.H.videoInfos);e=(0,g.Md)(c,b.A,b);e.length||(e=[c[0]]);e.sort((0,g.z)(function(a,b){return JS(this,a)-JS(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--):JS(a,f)*a.l.g>JS(a,k)&&(g.Ua(e,c-1),c--)}c=e[e.length-1];a.g=e;Kka(a.l,c)};
Xma=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]}CS(a)};
CS=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.g.length&&"tiny"==a.g[b].video.quality;)b++;var c=AS(a.Y)/a.l.g;b=JS(a,a.C.info)+JS(a,a.g[b])>c}b&&(a.C=a.D.g[a.H.g[1].id])}};
DS=function(a){if(IS(a))a.o=a.D.g[a.g[a.g.length-1].id];else{for(var b=Math.min(a.I,a.g.length-1),c=AS(a.Y),d=JS(a,a.C.info),e=c/a.l.A-d;0<b&&!(JS(a,a.g[b])<=e);b--);for(c=c/a.l.g-d;b<a.g.length-1&&!(JS(a,a.g[b+1])>=c);b++);a.o=a.D.g[a.g[b].id];a.I=b;a.l.C||ES(a)}};
Yma=function(a){var b=a.l.A,c=AS(a.Y)/b-JS(a,a.C.info);b=g.Na(a.g,function(a){return JS(this,a)<c},a);
0>b&&(b=0);a.I=b;a.o=a.D.g[a.g[b].id]};
JS=function(a,b){if(!a.W[b.id]){var c=a.D.g[b.id].index.Hx(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]};
Zma=function(a,b){var c=Xb(a.D.g,function(a){return iI(a.info)==b});
if(!c)throw Error("Itag "+b+" from server not known.");return c};
$ma=function(a){var b=[],c=a.l.C?a.A.reason:a.F;if("s"==c||"m"==c)return b;c=!1;if($ka(a.D)){for(var d=Math.max(0,a.I-2);d<a.I;d++){var e=iI(a.g[d]);fI(a.g[d].video)||(c=!0);b.push(e)}b.reverse();if(!c&&a.l.un)for(d=Math.max(0,a.I-3);0<=d&&!c;d--)fI(a.g[d].video)||(c=!0,b.push(iI(a.g[d])))}return b};
ana=function(){this.g=this.l=0;this.o=[]};
KS=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
LS=function(a,b,c,d){this.l=a;this.C=b;this.B=d;this.A=c;this.g=0};
MS=function(a,b,c,d){g.ZF.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};
bna=function(a,b,c,d){return a.N&&a.o&&a.F&&SQ()&&(!a.ov||a.pa)?new MS(a,b,c,d):null};
NS=function(a,b){if(a.g.fv){var c=b.info.g;if(0>=c)a.I=window.NaN;else{var d=dM(a.R),e=b.index.l;c=Math.max(1,d/c);a.I=Math.round(1E3*Math.max(((c-1)*e+a.g.X)/c,e-a.g.Ma))}}};
cna=function(a,b){var c=(0,g.F)()/1E3,d=c-a.C,e=c-a.F,f=e>=a.g.Ld,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.lv&&(k=!0);a.F=c}c=d>=a.g.Ma&&!a.A;if(!f&&!c&&OS(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.X;f=a.o.startTime;c=f+c;if(d){if((0,window.isNaN)(b)){PS(a,window.NaN,"n",b);f=window.NaN;break a}d=b-a.g.Ca;d<c&&(c=d)}else a.A&&(d=c+a.g.X-a.L+a.g.rv,(0,window.isNaN)(b)||(d=Math.max(d,Math.min(c,b-a.g.Ca))),c=d);f=c=Math.max(c,f)}a.l=
f;if((0,window.isNaN)(a.l))return QS(a),window.NaN;if(!k&&OS(a,b))return RS(a,b),window.NaN;if(a.l<=a.o.startTime)return PS(a,window.NaN,"y",b),QS(a),window.NaN;if(!a.K(a.l,!1))return!RS(a,b)&&k&&(PS(a,window.NaN,"t",b),QS(a)),window.NaN;k=a.l;PS(a,k,"s",b);QS(a);return k};
RS=function(a,b){return a.K(a.l,!0)?!1:(PS(a,window.NaN,"ns",b),QS(a),!0)};
OS=function(a,b){return(0,window.isNaN)(b)?!0:(0,window.isNaN)(a.l)?!1:b<a.l+(a.A?a.g.Ca:a.g.kv)};
QS=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};
PS=function(a,b,c,d){var e=FR(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;VK(b,a.o.ya,!0)&&(e.ssr_ist=(1E3*b.Wd(a.o.ya)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.o.ya)).toFixed(0));e=VM(e);a.T("ctmp","ssr",e,!1)};
dna=function(){this.g=[];this.l=g.GQ};
SS=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};
ena=function(a){return a.g.slice(TS(a,0x7ffffffffffff),a.g.length)};
TS=function(a,b){var c=gb(a.g,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
US=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.ju(this.o,250,this);g.L(this,this.R);this.D=new g.ju(this.o,0,this);g.L(this,this.D);this.l=[];this.g=new dna};
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};
fna=function(a,b){var c=(0,g.Md)(XS(a),function(a){return a.namespace==b});
a.C.apply(a,c);return c};
gna=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};
hna=function(a,b){var c=[];if(!b.length)return c;b.sort(g.GQ);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.ZF.call(this);var f=this;this.K=a;this.l=b;this.C=c;this.jb=e||null;this.g=this.A=null;this.H=new Rma(a,b);this.o=null;this.D=new Uma(this.H,b,this.C,d);this.W=new g.ju(this.ie,0,this);g.L(this,this.W);this.fa=new g.ju(this.ie,1E3,this);g.L(this,this.fa);this.Db=new g.ju(this.ie,void 0,this);g.L(this,this.Db);this.Qa=new g.ju(this.ie,1E4,this);g.L(this,this.Qa);this.B=window.NaN;this.L=!1;this.I=window.NaN;this.Ya=0;this.N=this.oa=this.R=!1;this.Jb={};this.ea="";this.pa=this.Ba=
0;this.Ta=b.qm?new ana:null;this.Ma=new VL(5);this.Y={};this.Ca="";this.za=window.NaN;this.X=!1;(this.F=bna(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.pa?a:c,f.o.g,b),c=(0,window.isNaN)(c)?!1:!0);else c=!1;return c}))&&this.F.subscribe("ctmp",this.Uf,this);
this.ob=window.NaN;this.aa=null;this.Na=window.NaN};
aT=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.B;var c=a.g;var d=a.D;var e=d.o&&d.o.index.Tg(b)||0;d.X!=e&&(d.W={},d.X=e,BS(d,d.A));e=!IS(d)&&-1<d.N&&g.yG()-d.N<1E3*d.l.pm;var f=3*JS(d,d.o.info)<AS(d.Y);if(!e||f)d.l.K||!d.R||HS(d)||(d.R=0,BS(d,d.A)),CS(d),DS(d),d.K=d.K||d.o!=d.B;d.o.index.Mb()||(d.X=-1);d=d.o;c.l!=d&&(c.l=d);c=a.A;d=a.D.C;c.l!=d&&(c.l=d)};
bT=function(a,b){a.R=!0;a.oa=b};
g.cT=function(a,b){var c=a.g.l.info.mimeType;b.g=b.o.addSourceBuffer(a.A.l.info.mimeType);"fakesb"==c?b.l=new vI:b.l=b.o.addSourceBuffer(c);a.o=b;a.A.F=!1;a.g.F=!1;a.A.B=null;a.g.B=null;a.resume();FI(b)&&(b.g.addEventListener("updateend",(0,g.z)(a.ie,a),!1),b.l.addEventListener("updateend",(0,g.z)(a.ie,a),!1),b.g.addEventListener("error",(0,g.z)(a.to,a,!0),!1),b.l.addEventListener("error",(0,g.z)(a.to,a,!1),!1));a.Tc("msa");UN("msa");AN.measure&&AN.getEntriesByName("mark_vta").length&&AN.measure("measure_vta_to_msa",
"mark_vta");a.la&&a.da&&(c=g.x("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.ie()};
ina=function(a){a.o&&a.o.g&&a.o.g.removeEventListener&&(a.o.g.removeEventListener("updateend",(0,g.z)(a.ie,a),!1),a.o.l.removeEventListener("updateend",(0,g.z)(a.ie,a),!1),a.o.g.removeEventListener("error",(0,g.z)(a.to,a,!0),!1),a.o.l.removeEventListener("error",(0,g.z)(a.to,a,!1),!1));a.o=null;bT(a,!1);dT(a)};
eT=function(a){a.o&&CI(a.o)&&ina(a)};
gT=function(a,b,c){if(a.R&&(!fM(a.K)||a.oa))return!1;if(a.C.l){if(1<a.l.Ya&&0<b.A.length&&b.g&&-1==b.g.ya||b.A.length>=a.l.Ya&&!a.l.Ab||!a.l.jy&&0<b.A.length&&!a.l.o)return!1;if(b.D)return!(0,window.isNaN)(a.za)}if(wS(b))return!1;if(!(b.g||a.C.l&&a.l.Ab&&b.D)){if(!b.l.Jc())return!1;jS(b,a.B)}var d=b.A.length+c.A.length;(qS(b)||qS(c)||a.C.isLive&&(!a.l.Ab||!b.A.length))&&--d;if(d+1>=a.l.jm)return!1;d=b.g;if(!d)return!0;if(!JK(d.g.A))return!1;4==d.type&&d.g.Jc()&&(b.g=g.Ja(d.g.Mo(d)),d=b.g);!d.C&&!d.g.mi(d)||
d.g.info.audio&&4==d.type?a=!1:sS(b)&&!a.l.da?a=!0:(!(c=d.C||kS(b)&&kS(b)+kS(c)>a.l.fa||!!(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=fT(a,b,!0),!IS(a.D)&&0<a.l.ca&&(c=(g.yG()-a.Ya)/1E3,b=Math.min(b,a.l.ca+a.l.xd*c)),b=a.B+b,a.l.Kc?(c=Math.min(b,jna(a)+a.l.Kc),c!=b&&a.Uf("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a};
kna=function(a,b,c){if((!a.o||BI(a.o)||FI(a.o))&&!a.L&&a.D.aa){var d=a.B;a=a.H;c=zS(a,b.l.info.g,c.l.info.g,0);var e=aM(a.l)+c/dM(a.l);d+=Math.max(e,e+a.g.Vb-c/b.l.info.g);a:{if(b.A.length){if(b.A[0].info.g[0].startTime<=d)break a;lS(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=VR(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])}}};
lna=function(a,b,c){gT(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.ob,eS(b,hT(a,d));else if(b.g.g.Jc()){!sS(b)||a.l.da||a.C.l||(kna(a,b,c),b.g||jS(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(rS(b)&&b.l.Jc()){var l=Math.min(a.l.jb,.5*fT(a,b,!0));l=sS(b)||e<=l}else l=!1;l&&0==f&&(a.C.l?k=b.l:(k=d.startTime+iT,d.Wa&&(k+=d.duration),jS(b,k),d=b.g,k=d.g));k.yf()?(f=a.D,c=zS(a.H,k.info.g,c.l.info.g,e,0<f.g.length&&
0==f.I&&a.N),e=rS(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);eS(b,hT(a,d))}else d.g.yf()?(c=zS(a.H,b.l.info.g,c.l.info.g,0),d=d.g.Dj(d,c)):d=d.g.ll(d),eS(b,hT(a,d))};
hT=function(a,b){3==b.g[b.g.length-1].type&&mna(a,Wma(a.D,b.g[0].g));var c=PK(b);c=new Ima(a.K,c,Sma(a.H,c),b);a.l.Ki&&(c.D=[]);var d=new DR(a.l,b,c,a.Y);c.ca=function(){return Mma(d)?d.o.Gg&&window.performance&&window.performance.now&&d.g&&d.g.Uk()&&NR(d)&&uR(d.g)?d.info.g[0].g.info.video?3:4:2:1};
Kma(d,(0,g.z)(a.XR,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=$ma(a.D));d.start(Math.max(0,b.g[0].B-a.B));b.g[0].g.info.video&&(c=ER(d))&&(a.Ca=c.substr(0,c.indexOf(".")));return d};
mna=function(a,b){b&&a.T("videoformatchange",b)};
nna=function(a,b,c){a:{b=b.info;var d=a.l.Fh,e=null,f=b.g[0];if(b.range)e=MJ(b.range.start,Math.min(4096,b.range.length));else if(!d||f.g.info.video){c=null;break a}b=new OJ(5,f.g,e,f.ya);b=new LK([b]);b.C=c;c=b}c&&hT(a,c)};
qna=function(a){var b=-1!=a.g.C,c=-1!=a.A.C;if(!b||!c)if(b=!b&&UR(a.g.o),c=!c&&UR(a.A.o),b||c){c=b?a.g:a.A;b=b?a.A:a.g;var d=UR(c.o).info.ya;if(-1!=b.C&&b.C!=d)a.l.Y&&zL(a.C,d,c==a.g),ona(c,b.C),jT(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.Wd(b.C),c.l.index.Wd(c.C));-1!=b.C&&(a.aa&&(a.aa.resolve(e+.1),a.aa=null),g.Uf(function(){return pna(a,e)}))}}};
ona=function(a,b){mS(a);jS(a,window.Infinity);var c=a.ak;a.o.B=c;a.ak=c;a.g.ya=b-1};
rna=function(a){if(a.C.o)return!1;var b;if(!(b=wS(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=WR(c.o).concat(WR(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)/AS(b)}(b=!b)||(b=a.g,b=0<b.A.length&&1==b.o.g.length&&UR(b.o).info.D<b.K)}if(b)return!0;if(!a.N||!a.l.ib||10>a.B||360<a.g.l.info.video.l)return!1;b=tS(a.g,a.B,a.l.ib)||tS(a.A,a.B,a.l.ib);return(0<a.g.A.length||0<a.A.A.length||
gT(a,a.g,a.A)||gT(a,a.A,a.g))&&b};
una=function(a,b,c,d){if(c.updating)return!0;var e=UR(b.o);if(!e)return!1;!b.B||b.B.o||QJ(b.B,e.info)||(b.B=null,BI(a.o)&&c.abort(),c.g=null);var f=a.C.isLive&&sK(e),k;if(k=a.l.dd&&a.C.o&&0==e.info.l&&g.mI(e.info.g.info)){if(null==c.g){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.g!=e.info.g.g;k=!k}k&&g.mI(e.info.g.info)&&(IJ(nK(e),1836019574),IJ(nK(e),1718909296),e.l=
!1);if(!a.C.o||0==e.info.l)if(f||a.C.l||e.l)c.g=null;else if(kT(a,c,e))return!0;f=fT(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=UR(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.wd)break}m--;d=new g.KJ(l,
Math.min(k.g[m].range.end,f))}if(!d)return!1;f=new window.Uint8Array(e.g,d.start,d.length);if(a.Ta&&e.info.g.info.video&&g.mI(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=KS(m.o,0);q=KS(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=KS(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.mI(e.info.g.info)&&2!=e.info.g.info.containerType||(k=g.mI(e.info.g.info)&&a.l.SF&&!b.F&&0==e.info.l&&0<e.info.startTime)&&qK(e,0);a:if(f=sna(a,c,f),"s"==f)f=!0;else{if("i"==f||"x"==f)tna(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.l=Math.floor(.8*f.l)):(f=a.l,f.D=Math.floor(.8*f.D),f.la=Math.floor(.8*f.la),f.l=Math.floor(.8*f.l)),c.remove&&!c.updating)){f=!1;l=c.buffered.length;for(m=0;!f&&m<l;m++)c.buffered.start(m)>e.info.A&&(c.remove(c.buffered.start(m),c.buffered.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)qK(e,e.info.startTime),c.abort(),c.g=null;else{f=b.o;for(k=[];f.g.length&&(f.g[0].range.end>d.end?(m=oK(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.g=e.info.g.g,a.T("initsegment",c.g));return!0};
tna=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&&!HS(a.D)&&GS(a.D,d.g);d=SJ(d);d.mrs=a.o.o.readyState;d.origin=b;d.reason=c;jT(a,"i"!=c,e,d)};
vna=function(a,b,c){kla(a.C,b,c)&&c&&g.Uf(function(){return pna(a,b.startTime)})};
pna=function(a,b){!a.ha()&&a.l.aa&&a.X&&-1!=a.g.C&&-1!=a.A.C&&(a.X=!1,a.T("seekplayerrequired",b+.1,!0))};
kT=function(a,b,c){c.info.g.Jc();var d=c.info.g.g;if(null==d||b.g==d)return!1;var e=sna(a,b,d);if("s"!=e)return tna(a,"sepInit",e,c.info),!0;b.g=d;a.T("initsegment",b.g);return b.updating};
sna=function(a,b,c){try{FI(a.o)?b.appendBuffer(c):b.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.bE(d),"u";a.l.Li&&a.Uf("quex","br."+bP(b.buffered).replace(/,/g,"_"));return"q"}return CI(a.o)?"m":"s"};
wna=function(a,b){b.o.subscribe("error",a.JQ,a);b.o.subscribe("timestamprewrite",a.NQ,a);var c=(0,g.z)(a.KQ,a,b);b.o.subscribe("placeholderinfo",c,void 0);c=(0,g.z)(a.LQ,a,b);b.o.subscribe("placeholderrollback",c,void 0);c=(0,g.z)(a.MQ,a,b);b.o.subscribe("segmentinfo",c,void 0);b==a.g&&b.o.subscribe("cuepoint",a.IQ,a)};
fT=function(a,b,c){if(a.R)return 1;var d=b.l.info.audio?a.l.D:a.l.B;!a.l.da&&IS(a.D)&&(d=Math.max(d,b.l.info.audio?a.l.la:a.l.R));c&&(d+=a.l.fa);var e=IS(a.D)?b.g?b.g.g.info.g:b.l.info.g:b.H;d/=e;0<a.l.Jb&&a.o&&BI(a.o)&&(b=b.l.info.video?a.o.l:a.o.g)&&!b.updating&&(e=cP(b.buffered,a.B),0<=e&&(b=a.B-b.buffered.start(e),d+=Math.max(0,Math.min(b-a.l.Jb,a.l.lm))));0<a.l.l&&(d=Math.min(d,a.l.l));a.l.Db&&c&&!IS(a.D)&&(c=a.D,c=JS(c,g.Ja(c.g))+JS(c,c.H.g[0]),c=a.l.Db*(c/xS(a.H)),c<d&&15>c&&a.Uf("bwcapped",
"1",!0),c=Math.max(c,15),d=Math.min(d,c));return d};
jna=function(a){if(!a.jb)return window.Infinity;var b=(0,g.Md)(XS(a.jb),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};
yna=function(a){xna(a);a.aa=new YS;return a.aa};
xna=function(a){dT(a);a.F&&NS(a.F,a.g.l);var b=Math.max(YR(a.g.o),YR(a.A.o)),c=a.g;c.D=!0;c.C=-1;jS(c,window.Infinity);c.o.B=b;c.ak=b;c=a.A;c.D=!0;c.C=-1;jS(c,window.Infinity);c.o.B=b;c.ak=b;c=a.C;for(var d in c.g)iJ(c.g[d].index,window.Infinity);a.l.aa&&(a.X=!0);a.B=b;a.L=!0;g.ku(a.W);return b+.1};
zna=function(a,b,c){if(a.l.Jc())if(c){var d=ZS(a,b,c);if(!(0,window.isNaN)(d))return d;mS(a);c=dP(c.buffered,b);if((0,window.isNaN)(c))return jS(a,b);jS(a,c+iT)}else{c=hS(a,b);if(0<=c)return c;mS(a);jS(a,b)}else 0!=b&&lS(a);return b};
ZS=function(a,b,c,d){d=void 0===d?!1:d;var e=dP(c.buffered,b),f=window.NaN,k=a.B;k&&(f=dP(c.buffered,k.g.index.Wd(k.ya)));if(e==f&&a.g&&a.g.Wa&&pS(oS(a),0))return b;a=hS(a,b,d);return 0<=a?a:window.NaN};
lT=function(a,b,c,d){c.Jc()||c.C||!JK(c.A)||(d=c.Kk(d?Tma(a.H,c.info):0),(0,g.B)(d,function(a){if("f"!=a.g[0].g.info.l){var c=hT(this,a);!PJ(a.g[a.g.length-1])&&eS(b,c)}},a),c.C=!0)};
jT=function(a,b,c,d){a.ha()||(c=new g.UM(c,b,d),VM(c.details),a.T("error",c),b&&a.dispose())};
mT=function(a){var b={lct:a.B.toFixed(3),lsk:a.L,lmf:IS(a.D),lbw:cM(a.K).toFixed(3),lhd:aM(a.K).toFixed(3),lst:(1E9*(a.K.A.l()||0)).toFixed(3),laa:a.A.B?TJ(a.A.B):"",lva:a.g.B?TJ(a.g.B):"",lar:a.A.g?TJ(a.A.g):"",lvr:a.g.g?TJ(a.g.g):"",lvh:a.Ca};a.o&&!CI(a.o)&&(b.lab=bP(a.o.g.buffered),b.lvb=bP(a.o.l.buffered));return b};
dT=function(a){a.A&&a.g&&(mS(a.A),mS(a.g))};
Ana=function(a,b,c){if(!b||!c)return!0;c=-1!=cP(c.buffered,a);var d=VR(b.o)?VR(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)};
Bna=function(a,b,c,d){a.za=Math.max(b-1,0);a.F&&(a.F.L=c);a.ob=d};
Cna=function(a,b){var c=b.info.video?a.g:a.A;null!=c&&lT(a,c,b,!1)};
Dna=function(a,b){var c=new g.tK;c.xd=a.experiments.l("html5_throttle_rate")||c.xd;a.experiments.g("html5_streaming_xhr")&&(c.F=!0);a.experiments.g("html5_streaming_debug")&&(c.F=!0,c.Na=!0);a.experiments.l("html5_max_av_sync_drift")&&(c.hm=a.experiments.l("html5_max_av_sync_drift"));var d=a.schedule;d.g.l()==d.policy.A?c.ca=10:c.ca=a.experiments.l("html5_throttle_burst_secs")||c.ca;a.experiments.l("html5_min_secs_between_format_selections")&&(c.pm=a.experiments.l("html5_min_secs_between_format_selections"));
c.Ab=a.experiments.g("html5_stop_overlapping_requests");c.Jb=a.experiments.l("html5_min_readbehind_secs");c.lm=a.experiments.l("html5_min_readbehind_cap_secs");c.re=a.experiments.g("html5_append_init_while_paused");c.Db=a.experiments.l("html5_max_readahead_bandwidth_cap");c.Hm=a.experiments.g("html5_disable_audio_append_cap");c.fg=a.experiments.g("html5_disable_non_contiguous");c.Kc=a.experiments.l("html5_post_interrupt_readahead");c.Li=a.experiments.g("html5_log_quota_exceeded");c.X=a.experiments.l("html5_subsegment_readahead_target_buffer_health_secs");
c.Ma=a.experiments.l("html5_subsegment_readahead_timeout_secs");c.kv=a.experiments.l("html5_subsegment_readahead_min_buffer_health_secs");c.Ca=a.experiments.l("html5_subsegment_readahead_min_buffer_health_secs_on_timeout");c.lv=a.experiments.l("html5_subsegment_readahead_min_load_speed");c.Ld=a.experiments.l("html5_subsegment_readahead_load_speed_check_interval");c.rv=a.experiments.l("html5_subsegment_readahead_seek_latency_fudge");c.za=a.experiments.g("html5_streaming_xhr_optimize_lengthless_mp4");
c.oa=a.experiments.g("html5_peak_shave");c.un=a.experiments.g("html5_peak_shave_always_include_sd");c.QD=a.experiments.g("html5_restrict_streaming_xhr_on_sqless_requests");c.im=a.experiments.l("html5_max_headm_for_streaming_xhr");c.jy=a.experiments.g("html5_pipeline_manifestless_allow_nonstreaming");c.NA=a.experiments.g("html5_prefer_server_bwe3");c.zd=1024*a.experiments.l("html5_video_tbd_min_kb");c.Fh=a.experiments.g("html5_live_probe_primary_host");c.cv=a.experiments.g("html5_streaming_xhr_buffer_mdat");
c.Kd=a.experiments.g("html5_streaming_xhr_no_mp4_holdback_chunk");c.Eh=a.experiments.g("html5_last_slice_transition");c.gg=a.experiments.g("html5_disable_incomplete_incremental_parse_error");c.av=a.experiments.g("html5_store_xhr_headers_readable");c.H=a.experiments.g("html5_incremental_parser_coalesce_slice_buffers");c.Ch=a.experiments.l("html5_incremental_parser_buffer_duration_secs");c.Dh=a.experiments.l("html5_incremental_parser_buffer_extra_bytes");c.dv=a.experiments.g("html5_streaming_xhr_progress_includes_latest");
c.Gg=a.experiments.g("html5_enable_packet_train_response_rate");if(d=a.experiments.l("html5_probe_secondary_during_timeout_miss_count"))c.Mc=d,c.tv=1;a.experiments.g("html5_drm_start_from_null_constraint")&&(c.eg=!0);c.GE=a.experiments.g("html5_resume_polls");c.C=a.experiments.g("html5_reason_migration");c.wc=a.experiments.g("html5_no_placeholder_rollbacks");c.fv=a.experiments.g("html5_subsegment_readahead_enable_mffa");c.pa=a.experiments.g("html5_platform_whitelisted_for_frame_accurate_seeks");c.ov=
a.experiments.g("html5_subsegment_readahead_require_whitelist");c.K=a.experiments.g("html5_new_stunning");c.mC=a.experiments.g("html5_reattach_on_stuck");SE()&&(c.wd=!0);LE()&&(c.l=240);g.uh&&(c.R=41943040);c.da=!EI();g.FM(a)||!EI()?(d=a.experiments,c.B=8388608,c.D=524288,c.dg=5,c.fa=2097152,c.W=1048576,c.ND=1.5,c.Ba=15,c.kn=!1,c.I=4587520,QE()&&(c.I=786432),d.g("html5_extend_initial_duration")&&(c.Hg=!0),c.g*=1.1,c.A*=1.1,c.dd=!0,c.R=c.B,c.la=c.D):a.l&&(c.g*=1.3,c.A*=1.3);g.GI&&KE("crkey")&&(d="CHROMECAST/ANCHOVY"==
a.A.cmodel,c.B=20971520,c.D=1572864,d&&(c.I=812500,c.L=1E3,c.uv=5,c.W=2097152));(d=TM(a))||(d=VE()&&/(J\d{3}|JS\d{3}|JU\d{3})/.test(a.A.cmodel));d&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&(c.rm=!0);c.qm=!a.experiments.g("disable_fpa_sei_removal")&&KE("windows nt")&&(b.fi()||b.Ze());if(b.kc()){c.Bh=!0;c.Xu=!1;a.experiments.g("html5_manifestless_no_rewrite")?(c.Y=!1,c.aa=!0):a.experiments.g("html5_manifestless_shrink_timestamps")&&(c.aa=!0,c.Jd=!0);if("ULTRALOW"==b.latencyClass||"LOW"==
b.latencyClass&&!a.experiments.g("html5_disable_low_pipeline"))c.Ya=2,c.jm=4;c.o=b.hasSubfragmentedFmp4;c.Qa=b.defraggedFromSubfragments}b.isAd()&&(c.ib=0,c.Ta=0);nO(b,a.experiments)&&(c.F=!0,c.Na=!0);c.N=a.experiments.g("html5_enable_subsegment_readahead_v3")||a.experiments.g("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==b.latencyClass;c.Mi=(a.experiments.g("html5_manifestless_accurate_sliceinfo")||c.N)&&b.kc();c.ea=b.gi;c.Ki=c.ea&&(/^rq[a-f]/.test(b.clientPlaybackNonce)||a.experiments.g("html5_high_res_logging"));
/^pp/.test(b.clientPlaybackNonce)&&(c.dG=!0,c.lD=!0);TM(a)&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&b.na&&lL(b.na)&&(c.dd=!1);if(b.ua){d=xL(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.ob=Math.min(d*e,c.ob));f&&d&&(c.L=Math.min(1E3*d*f,c.L))}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.o&&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=WL(d)}switch(b.liveExperimentalContentId){case 21530001:c.za=!0;c.N=!0;c.X=a.experiments.l("html5_jumbo_ull_subsegment_readahead_target");
c.wc=!0;break;case 2153E4:c.za=!0,c.N=!1}d=a.experiments.l("html5_deadzone_multiplier")||1;(e=a.experiments.l("html5_sticky_reduces_discount_by"))&&"auto"!=lH()&&(d-=e);c.g*=d;c.A*=d;if(d=a.experiments.l("html5_request_sizing_multiplier"))c.OD=d;c.l=a.experiments.l("html5_max_buffer_duration")||c.l;c.jb=a.experiments.l("html5_max_buffer_health_for_downgrade")||c.jb;c.Vb=a.experiments.l("html5_min_upgrade_health")||c.Vb;LI(a.Y,QI)&&(c.I=window.NaN);c.Ba=a.experiments.l("html5_request_size_max_secs")||
c.Ba;c.hg=a.experiments.g("killswitch_metadata_events");"auto"!=lH()&&(c.yd=0);c.nC=a.experiments.g("html5_rec_2020_matrix_correction_killswitch");return c};
Ena=function(a,b,c){this.url=a;this.interval=b;this.g=c};
Fna=function(a,b){this.message=a;this.number=b;this.g=new eD};
Gna=function(a,b,c,d){this.statusCode=a;this.statusMessage=b;this.headers=c;this.message=d};
Hna=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=uJ(b.slice(d+2));return null==b?null:new Gna(f,e,b,a.subarray(c+4))};
nT=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.WF(this);g.L(this,this.A);this.g?(this.A.O(this.g,"message",this.OM),this.A.O(this.g,"keystatuseschange",this.PM),this.g.closed&&this.g.closed.then(cE((0,g.z)(this.NM,this)),null)):this.l&&(XF(this.A,this.l,["mskeymessage","webkitkeymessage"],this.DB),XF(this.A,this.l,["mskeyerror","webkitkeyerror"],this.CB),XF(this.A,this.l,["mskeyadded","webkitkeyadded"],
this.BB))};
oT=function(a,b){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.l=this.g=window.NaN;this.o=!1;this.A=[]};
pT=function(a,b){g.K.call(this);this.l=a;this.g=b;this.D={};this.A=null;this.B=new g.WF(this);g.L(this,this.B);this.o=this.C=null};
Jna=function(a){if(a.g.l)return a.g.l.createMediaKeys().then(cE(function(b){a.ha()||(a.C=b,a.l.setMediaKeys(b))}));
EL(a.g)?a.o=new (DL())(a.g.g):IL(a.g)?(a.o=new (DL())(a.g.g),a.l.webkitSetMediaKeys(a.o)):Ina(a);return null};
Ina=function(a){XF(a.B,a.l,["keymessage","webkitkeymessage"],a.SM);XF(a.B,a.l,["keyerror","webkitkeyerror"],a.RM);XF(a.B,a.l,["keyadded","webkitkeyadded"],a.QM)};
Kna=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};
qT=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};
rT=function(a,b,c,d,e,f){g.K.call(this);this.o=a;this.l=d;this.l.subscribe("oauthtoken",this.aA,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://"));Lna(this,f);this.F=this.I=!1;(0,g.BQ)("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.KM,f=this.JM,a=this.MM,b.D=this.LM,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};
Lna=function(a,b){var c=b;var d=void 0===d?!1:d;if(qH(Mna.test(c),c,d,"Drm Licensor URL")){for(var e in a.D)b=Zg(b,e,a.D[e]);a.R=b}else sT(a,"drm.net",!0,"t.x")};
Nna=function(a){var b={};g.fc(b,a.D);return b};
Ona=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))};
tT=function(a){var b;if(b=a.H)a=a.A,b=!(!a.g||!a.g.keyStatuses);return b};
sT=function(a,b,c,d,e){a.ha()||a.l.T("licenseerror",b,c,d,e);c&&a.dispose()};
Pna=function(a){return g.Qa(a,"UHD2")?"highres":g.Qa(a,"UHD1")?"hd2160":g.Qa(a,"HD")?"hd1080":g.Qa(a,"HD720")?"hd720":"large"};
Qna=function(a,b){if(!tT(a)&&HL(a.o)&&!b)return"large";var c=[],d=!0;if(tT(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(!tT(a)||d)c=a.B;return Pna(c)};
Rna=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};
Sna=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};
Tna=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)};
Una=function(a){return tT(a)?Tna(a,";"):a.B.join(";")};
Vna=function(a,b,c,d){a=new window.Uint8Array(a);a=Ona(a);a={format:"RAW",method:"POST",postBody:(new Fna(a,1)).message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4};c=pba(c,d);g.bF(c,a,3,500).then(function(a){a=new window.Uint8Array(a.response);(a=Hna(a))&&b.update(a.message)})};
Wna=function(a,b){for(var c in a.g)if("usable"==a.g[c].status&&a.g[c].type==b)return!0;return!1};
uT=function(){this.keys=[];this.values=[]};
vT=function(a,b,c,d,e){e=void 0===e?"":e;g.ZF.call(this);a&&(a.addKey||a.webkitAddKey)||DL()||KL(c);this.C=c;this.K=a;this.g=b;this.subscribe("newlicense",this.cR,this);this.subscribe("newsession",this.dR,this);this.subscribe("sessionready",this.lS,this);this.subscribe("keystatuseschange",this.TM,this);this.subscribe("hdentitled",this.jQ,this);this.fa=e||g.aH();this.R=null;this.l=new uT;this.A=this.F=null;this.o=[];this.H="fairplay"==this.g.flavor?cJ:c.g("html5_drm_start_from_null_constraint")?cJ:
Xna;this.N=new pT(a,b);g.L(this,this.N);this.D=null;EL(b)&&(this.D=new pT(a,b),g.L(this,this.D));this.da=2;this.L=new g.WF(this);g.L(this,this.L);this.X=!1;this.aa=null;this.I=!1;a=this.K;this.g.l?this.L.O(a,"encrypted",this.TP):XF(this.L,a,EL(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.ZQ);(a=Jna(this.N))?a.then(cE((0,g.z)(this.HQ,this)),cE((0,g.z)(this.WO,this))):this.I=!0;this.D&&Jna(this.D);this.ea=d;this.Y=this.W=!1;KL(c);this.B=null};
wT=function(a){return a.C.g("html5_playbackmanager_always_parse_pssh_from_init_segment")};
Zna=function(a,b){if(EL(a.g)&&!a.W){var c=RR(b);if(0!=c.length){var d=new oT(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){Yna(a,b,d)})},null)}}};
Yna=function(a,b,c){var d=b.createSession(),e=a.l.values[0],f=Nna(e);d.addEventListener("message",function(b){Vna(b.message,d,a.g.A,f)});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(b,c){"usable"==c&&(a.Y=!0,$na(a,Qna(e,a.Y)))})});
d.generateRequest("cenc",c.initData)};
yT=function(a,b,c){a.ha()||!wT(a)&&EL(a.g)==c||a.X&&a.ea||(a.X=!0,a.o.push(b),1<a.o.length||a.I&&xT(a))};
xT=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 WD;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 XD;u=k;var D=r,I=Jja,S=u.g.o,Z=te(u.g),V=u.g.g+Z;u.g.o=V;I(D,u);u.g.g=V;u.g.o=S;u=q;D=r;I=XD;Ke(u,I,14);var Fa=u.g[14];Fa||(Fa=u.g[14]=[]);var pa=D?D:new I,wc=Ie(u,14);Fa.push(pa);wc.push(Me(pa));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 wd=q;if(null!=wd){var Va=wd;break a}}catch(fd){}}d+=f}Va=null}catch(fd){Va=null}}if(null!=Va)for(c=Fe(Va,7),null!=c&&(b.g=c),c=Fe(Va,10),null!=c&&0<c&&(b.l=c),c=Ie(Va,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(SR(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){aoa(a,b);a.o.shift();continue}}}break}}a.o.length&&(b=a.o[0],a.l.get(b.initData),Va=new rT(a.g,
a.N,b,a,a.fa,a.C),Va.aA(a.R),a.l.set(b.initData,Va))};
aoa=function(a,b){a.A&&a.A.dispose();a.F=b.initData;a.A=new g.ju(function(){a.F=null;a.A=null;b.o=!0;a.o.push(b);1<a.o.length||xT(a)},boa(b.l));
a.A.start()};
boa=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
$na=function(a,b){var c=aJ("auto",b,!1,"l");if(a.C.g("html5_drm_start_from_null_constraint")){if($I(a.H,c))return}else if(fJ(a.H,b))return;a.H=c;a.T("qualitychange")};
coa=function(a,b){this.g=a;this.o=b;this.A=this.l=0};
doa=function(a,b){var c=dJ(b.vp,b.lw);"auto"!=lH()||(c=dJ(c,a.g.eg));return c};
zT=function(a,b){var c=lH();return"auto"!=c?aJ("auto",c,!1,"s"):eoa(a,b)};
eoa=function(a,b){if(g.FM(a.g)&&LI(a.g.Y,OI))return cJ;var c=!!b.Ka.g;var d;yM(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")&&NM(a.g)&&!a.g.experiments.g("force_snap_player_size_for_format_size_killswitch"))if(d=a.o,d.app.g.yd||d.app.H.isFullscreen()||d.app.isWidescreen())d=d.Ha();else a:{for(d=0;d<foa.length;d++){var e=
foa[d];if(e.query.matches){d=new g.kd(e.size.width,e.size.height);break a}}d=void 0}else d=a.o.Ha();(tM||AT||c)&&d.scale(g.OM());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||OL||(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=aJ("auto","93"==iI(l)?cI(f.width,f.height):f.quality,!1,"r")}else l=cJ;f=l.g;(KE("armv7")||
KE("android"))&&!g.FM(a.g)&&kI(b.Ka.videoInfos[0])&&(f=Math.min(f,g.dI.large));!a.g.l||g.zM(a.g)||UE()||a.g.experiments.g("mweb_uniplayer_auto_quality")||a.g.experiments.g("hls_for_vod")||(f=Math.min(f,g.dI.medium));f=Math.max(f,g.dI.medium);a.g.experiments.l("html5_default_quality_cap")&&(c=!0,(d=a.g.experiments.l("html5_quality_cap_min_age_secs"))&&(c=g.yG()-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(goa(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 ZI(l.l,f,l.o,"r"));return l};
goa=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};
hoa=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"!=lH()||g.LG()/1E3<d?cJ:b?new ZI(0,c,!1,"v"):cJ};
ioa=function(a){if(!a.g.ob)return cJ;a=a.g.experiments.l("low_engagement_player_quality_cap");return new ZI(0,a,!1,"e")};
BT=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.lE(this.g.qk):this.l=[]};
CT=function(a){hP.call(this);this.g=a;this.A={}};
kP=function(a,b){var c=a.Rc();a.g.src=b;a.Rf(c)};
nP=function(a){try{var b=a.g.buffered}catch(c){}return b||aP()};
IP=function(a){return a.g.error?a.g.error.message:""};
DT=function(a,b,c){g.sh(a.g,b,c)};
ET=function(a,b){g.ZF.call(this);var c=this;this.Y=b;this.o=a;this.I=new g.WF;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.F=this.D=null;this.L=this.H=!1;this.R=new g.ju(function(){c.T("ctmp","seektimeout",VM(joa(c)))},2E4);
g.L(this,this.R);this.W=new g.ju(function(){return koa(c)});
g.L(this,this.W)};
loa=function(a,b){a.A&&a.A.unsubscribe("seekelementrequired",a.X,a);(a.A=b)?a.A&&a.A.subscribe("seekelementrequired",a.X,a):FT(a)};
GT=function(a,b,c,d,e){c=void 0===c?!0:c;d=void 0===d?!1:d;e=void 0===e?0:e;if(b!=a.g||!a.H){a.H&&FT(a);a.F||(a.F=new YS);if((0,window.isFinite)(b)||!PE()&&!a.o.kc())b=g.cd(b,a.Fb(),a.De(d));a.g=b;a.T("seekto",b,c);c?koa(a):e&&a.W.start(e)}};
koa=function(a){a.H=!0;if(!a.o.ua&&a.g>=a.De()-.01){var b=a.De();a.T("seekstart");a.F.resolve(b);a.T("seekend");FT(a);a.g=b;a.T("ended")}else moa(a)};
moa=function(a){noa(a).then(void 0,function(){FT(a)});
ooa(a).then(function(b){a.F.resolve(b);a.T("seekend");FT(a)},function(){FT(a)});
a.R.start();a.T("seekstart")};
noa=function(a){a.D||(a.A?(0,window.isFinite)(a.g)?a.D=a.A.seek(a.g):(a.T("pausemediaelement"),a.D=yna(a.A).then(function(b){a.g=b;HT(a);a.T("seekto",b,a.H);a.T("resumemediaelement")})):a.D=dg(a.g));
return a.D};
ooa=function(a){a.B||(a.B=new YS,HT(a));return a.B};
HT=function(a){if(a.B&&poa(a)&&!(0,window.isNaN)(a.g)&&(0,window.isFinite)(a.g)&&a.N!=a.g)try{a.l.Zb(a.g),a.N=a.g,a.C=a.g}catch(b){}};
poa=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||aP();if(c.length||!b)return 0<=cP(c,a.g)}return b};
FT=function(a){a.g=window.NaN;a.N=window.NaN;a.B=null;a.D=null;a.F=null;a.H=!1;a.L=!1;a.R.stop()};
qoa=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,GT(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")&&EO(a.o)&&a.o.ff&&(0,window.isFinite)(a.o.ff)&&a.o.na&&(b=a.Fb()+a.o.ff-yL(a.o.na,a.Fb()),GT(a,b));case "progress":HT(a)}})};
joa=function(a){var b={ak:a.g};a.A&&g.Ga(b,mT(a.A));a.l&&g.Ga(b,rP(a.l));return b};
IT=function(){var a=vF("visibilityState",window.document);return!(!a||"visible"==a)};
soa=function(a){var b=roa();b&&window.document.addEventListener(b,a,!1)};
toa=function(a){var b=roa();b&&window.document.removeEventListener(b,a,!1)};
roa=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[uF+"VisibilityState"])return"";a=uF+"visibilitychange"}return a};
JT=function(){g.ZF.call(this);this.B=0;this.A=this.l=this.g=!1;this.C=(0,g.z)(this.o,this);soa(this.C);var a=this.isFullscreen();this.D=this.A?4:IT()?3:a?2:this.l?1:this.g?5:0};
KT=function(){g.K.call(this);this.o={};this.g={};this.l=new g.ju(this.TT,250,this);g.L(this,this.l)};
LT=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};
MT=function(a,b){return a.g[b]?RQ(a.g[b].g):0};
NT=function(a){this.o=a;this.g=new QQ(100);this.l=window.NaN};
OT=function(){this.g=this.l=!1};
QT=function(a,b,c,d,e,f,k,l){g.ZF.call(this);this.Ma=new tma;this.L=c;this.Jb=d;this.Bh=f;this.Qa=l;this.Ki=k;c=(0,g.z)(function(a,b){"crn_endcr"!=a||g.W(this.o,32)||PT(this);e(a,b)},this);
this.I=new VS((0,g.z)(this.getCurrentTime,this),(0,g.z)(this.vz,this),(0,g.z)(this.OK,this),c);g.L(this,this.I);this.Ba=window.NaN;this.X=this.H=null;this.A=a;this.N=new coa(a,this.Jb);this.Jd=!0;this.K=this.B=null;this.aa=[];this.la=new OT;this.Y=new OT;this.hg=this.dg=this.Ch=this.Na=!1;this.Vb=window.NaN;this.o=new g.wP;this.wc=[];this.Db=b;this.oa=null;this.R=window.NaN;this.pa=new g.WF;g.L(this,this.pa);this.g=new g.iO;this.l=null;this.fa=new g.ju((0,g.z)(this.xQ,this),15E3);g.L(this,this.fa);
this.C=null;this.fg=this.Ta=!1;this.Ya=window.NaN;this.za=this.Ld=this.Kc=this.jb=!1;this.Mc=this.yd=window.NaN;this.eg=0;this.Li=a.experiments.g("html5_force_play_on_suspend_event");this.Mi=a.experiments.g("html5_force_play_on_suspend_event_limited");this.W=null;this.ea=new KT;g.L(this,this.ea);this.ea.Eb("bufferhealth",(0,g.z)(this.Ax,this));this.ea.Eb("bandwidth",(0,g.z)(this.aI,this));this.ea.Eb("networkactivity",(0,g.z)(this.cI,this),!0);this.ea.Eb("livelatency",(0,g.z)(this.Gx,this));this.ea.start();
this.gg=!1;this.dd=!0;this.Kd=!1;this.xd=window.NaN;this.zd=null;this.re=!1;this.Ca=1;this.F=null;this.ob=(0,g.z)(this.SK,this);soa(this.ob);this.A.experiments.g("html5_disable_subscribe_new_vis_2")||this.Qa.subscribe("visibilitystatechange",this.ob);this.Eh=this.Hg=0;this.Fh=a.experiments.l("html5_reattach_resource_after_timeout_limit");this.Dh=0;this.D=null;this.A.experiments.g("html5_new_seeking")&&uoa(this);this.da=null;this.Gg=!1};
RT=function(a){g.EG()?g.FG(a.Ya):g.iE(a.Ya)};
ZT=function(a,b,c,d){d=void 0===d?!0:d;a.aa.length=0;a.la.reset();a.Y.reset();a.Ba=window.NaN;a.R=window.NaN;a.Ta=!1;a.Kd=!1;a.zd=null;a.xd=window.NaN;a.Jd=!0;a.l&&a.l.Me();ST(a);TT(a);UT(a);RT(a);a.ea.clear();a.W=null;a.F=null;a.eg=0;g.cf(a.g);if(2==a.Db||a.A.Mi)b.Py=!0;var e=b.hc;var f=a.A.g;var k=a.A.Cb,l;(l=e.adformat)||(l=(e=e.attrib)&&Ub(voa,e)&&Ub(woa,e)?woa[e]+"_"+voa[e]:void 0);if(e=l)if((l=e.match(xoa))&&5==l.length){l=e.match(xoa);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.Hl=!0);if(VT(a)||a.A.g)f=g.fH("yt-player-autonavstate"),b.autonavState=f||(a.A.g?2:a.g.autonavState);a.dd=d;a.g=b;a.g.subscribe("dataupdated",a.RS,a);a.g.subscribe("dataloaded",a.Aw,a);a.g.subscribe("dataloaderror",a.kl,a);a.g.subscribe("onStatusFail",a.QS,a);b.endSeconds&&b.endSeconds>b.startSeconds&&yoa(a,b.endSeconds);zoa(a,c);a.jb=!1;WT(a,"newdata");XT(a,new g.wP);a.D&&(b=
a.D,a=a.g,FT(b),b.o=a,b.K=null,b.C=a.startSeconds||0)};
zoa=function(a,b){TT(a);if(!a.g.ck){var c=new qma(a.g,a.A,b,(0,g.z)(a.getDuration,a),(0,g.z)(a.getCurrentTime,a),(0,g.z)(a.dI,a),(0,g.z)(a.Jb.Ha,a.Jb),(0,g.z)(a.getAudioTrack,a),(0,g.z)(a.vz,a),(0,g.z)(a.Vq,a),a.Bh,(0,g.z)(a.sI,a),function(){return a.L.g("qoes")});
a.C=new ZP(c)}};
TT=function(a){if(a.C){var b=a.C;if(!b.ha()&&b.B){b.C="paused";var c=sQ(b);c.aa=!0;c.send();c=b.l;"PL"==c.o&&(c.o="N");var d=g.WO(c.g);g.MP(c,d,"vps",[c.o]);c.B(d);g.iE(b.A);b.dispose()}g.cf(a.C);a.C=null}};
aU=function(a){if(a.g.Ed())return!0;g.$T(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
bU=function(a,b){a.Na=void 0===b?!1:b;if(aU(a)&&!a.la.l){a.la.start();if(a.C){var c=a.C.l;c.g.g.experiments.g("html5_qoe_unstarted_in_initialization")?g.WO(c.g):g.MP(c,g.WO(c.g),"vps",["N"]);c.g.videoData.Ao?TP(c,"prefetch"):(c.l.user_intent=["0"],c.F=!0);c.g.videoData.sh&&(OP(c,"reload",c.g.videoData.reloadReason),OP(c,"reloadcount",c.g.videoData.sh.toString()));c.g.videoData.fl&&TP(c,"monitor");c.g.videoData.ua&&TP(c,"live");c.g.videoData.ag&&OP(c,"ctrl",c.g.videoData.ag,!0);c.g.videoData.pf&&OP(c,
"ytp",c.g.videoData.pf,!0);if(c.g.videoData.qC){var d=c.g.videoData.qC.replace(/,/g,".");OP(c,"ytrexp",d,!0)}c.g.videoData.chapterMarkers.length&&TP(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.fi()||d.Lf()||d.Mf()||d.Ze();d=0==d.clientPlaybackNonce.indexOf("gp");(e||f||d)&&(d=(0,g.JP)())&&(c.l.gpu=[d])}c.Y=g.hE((0,g.z)(c.B,c),1E4)}a.Aw()}};
VT=function(a){return a.A.experiments.g("html5_new_vis")?a.Qa.isFullscreen():a.A.jb};
cU=function(a){return a.A.experiments.g("html5_new_vis")?a.Qa.isBackground():IT()};
eU=function(a){a.l&&lP(a.l);bU(a);aU(a)&&!g.W(a.o,128)&&(a.Y.l||(a.Y.start(),XT(a,BP(BP(a.o,8),1))),dU(a))};
dU=function(a){if(!a.Y.g&&a.la.g&&!g.W(a.o,128)&&!a.aa.length){if(!a.I.B){var b=a.I;b.B=!0;b.o()}if(!fU(a)){a.B&&(b=a.B,a.Ch=!!b.da&&!!b.la);a.Y.g||(a.Y.g=!0);!a.g.ua||0<a.g.ff&&!a.g.kc()||(gU(a,window.Infinity,!0),cU(a)&&(a.fg=!0));if(a.C&&(b=a.C,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.So("connected"),wQ(b)),b.g.videoData.ua)){b=b.l;var c=b.g.videoData.na;b.g.videoData.kc()&&TP(b,"manifestless");c&&xL(c)&&TP(b,"live-segment-"+xL(c).toFixed(1))}a.T("playbackready",
a);TN("pbr","")||(a.L.g("pbr"),UN("pbr"))}}};
PT=function(a,b){b=void 0===b?!0:b;hU(a);var c=b?new g.wP(14):new g.wP;XT(a,c)};
yoa=function(a,b){a.X&&(a.I.C(a.X),a.X=null);a.X=new g.EQ(1E3*b,0x7ffffffffffff);a.X.namespace="endcr";WS(a.I,[a.X])};
Aoa=function(a,b,c,d){a.g.Ia=c;var e=a.A.experiments.g("html5_reason_migration");e&&d&&a.g.Xb!=d&&iU(a,b,d);a.g.Xb=d||c;if(a.C){var f=jU(a);c=new NO(a.g,c,b,f?iI(f):"");!e&&d&&"i"==b&&iU(a,b,d);d=a.C.l;e=g.WO(d.g);g.MP(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.OM(),1<f&&c.push(f),g.MP(d,e,"view",c));!d.R&&d.g.videoData.gi&&TP(d,"rqs");d.R=!0;g.MP(d,e,"vps",[d.o]);d.B(e)}a.N.l=0;a.T("internalvideoformatchange",
a.g,"m"==b)};
jU=function(a){if(!a.g.Ka)return null;var b=dJ(dJ(dJ(zT(a.N,a.g),kU(a)),hoa(a.N,cU(a))),ioa(a.N));return g.Ma(a.g.Ka.videoInfos,(0,g.z)(b.A,b))};
iU=function(a,b,c){var d=a.A.experiments.g("html5_reason_migration");if(!d||c!=a.g.Xb){var e=!a.g.Xb;a.g.Xb=c;if(a.C){var f=a.C.l;c=new NO(a.g,c,b,"");var k=g.WO(f.g);c.g.id!=f.L&&(g.MP(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.$T=function(a,b,c,d,e){var f,k;g.Vb(Boa,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||""};XT(a,AP(a.o,128,b));RT(a);UT(a);g.lU(a)};
Coa=function(a,b){a.aa=a.aa.filter(function(a){return b!=a});
a.Y.l&&dU(a)};
fU=function(a){var b;(b=!!a.aa.length)||(a=a.I.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
nU=function(a,b){a.l&&mU(a);if(!a.o.isError()){var c=CP(a.o,512);a.A.experiments.g("html5_resume_implies_rebuffer")&&g.W(c,8)&&BP(c,1);XT(a,c)}a.l=b;a.l.g.loop=a.re;a.l.Rf(a.Ca);Doa(a);Eoa(a);if(a.D){c=a.D;var d=a.l;g.YF(c.I);(c.l=d)?qoa(c):FT(c)}};
Eoa=function(a){if(a.A.experiments.g("html5_prewarm_mse")&&VI()&&EI())try{mP(a.l)}catch(b){}};
mU=function(a){if(a.D){var b=a.getCurrentTime();0<b&&(a.D.C=b);b=a.D;g.YF(b.I);b.l=null;FT(b)}oU(a);a.B&&(g.ku(a.B.W),bT(a.B,!1));a.fa.stop();a.l&&(!a.Y.l||a.o.isError()||g.W(a.o,2)||XT(a,BP(a.o,512)),ST(a),g.YF(a.pa),a.l.Me(),a.l=null)};
sU=function(a){if(!g.W(a.o,128))if(a.gg)a.gg=!1,pU(a);else if(eU(a),g.W(a.o,64)&&XT(a,BP(a.o,8)),a.Y.g&&a.l)if(a.g.Ka){if(a.g.ua){var b=a.getCurrentTime()<a.Fb()-15;var c=g.DO(a.g)&&g.W(a.o,4);if(b||c)c?gU(a,window.Infinity,!0):gU(a,a.Fb(),!0);!qU(a,void 0,!0)&&a.isPeggedToLive()&&gU(a,window.Infinity,!0);if(a.A.experiments.g("html5_new_seeking")&&g.W(a.o,256)&&a.g.We){XT(a,DP(a.o,8,4));return}}rU(a)?a.A.lm?g.gE((0,g.z)(a.Il,a),0):a.Il():a.Il()}else b=a.g.ua&&!g.WI()?"html5.unsupportedlive":a.g.Hc?
"fmt.unplayable":"fmt.noneavailable",g.$T(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")};
Foa=function(a){if(!a.g.Ka)return[];var b=kU(a);g.FM(a.A)&&(b=dJ(b,eoa(a.N,a.g)));b=b||cJ;a=(0,g.Md)(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};
Goa=function(a){return dJ(dJ(dJ(dJ(dJ(doa(a.N,a.g),zT(a.N,a.g)),hoa(a.N,cU(a))),a.g.KD),kU(a)),ioa(a.N))};
kU=function(a){return a.H?a.H.H:mO(a.g)&&a.g.Ka.g&&lL(a.g.na)?a.A.experiments.g("html5_drm_start_from_null_constraint")?cJ:Xna:cJ};
tU=function(a,b){if(!a.ha()&&!g.W(a.o,128)&&mO(a.g)){var c=a.A.experiments.g("html5_reason_migration");"m"==b&&bJ(a.g.vp)&&(b="a");var d=Goa(a);if(a.g.Ka.g){if(a.B&&("i"!=b||c)){c=a.B;var e=b;if(!(c.ha()||c.l.C&&$I(c.D.A,d))&&c.g){mna(c,Vma(c.D,d,e));aT(c);d=c.l.C?d.reason:e;e=IS(c.D)&&"m"==d&&c.D.K;var f=c.l.eg&&"l"==d&&rS(c.g);e||f||"b"==d?c.T("reattachrequired"):(sS(c.g)&&kna(c,c.g,c.A),g.ku(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.dI[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;Aoa(a,b,a.g.nf.pg())}a.o.fb()&&sU(a)}};
Hoa=function(a){a.F=new VQ(a.g,a.A.experiments,function(){return uU(a,!0)});
a.D&&(a.D.K=a.F);a.C&&xQ(a.C,XQ(a.F))};
g.vU=function(a){jla(a.g.na,{cpn:a.g.clientPlaybackNonce,c:a.A.A.c,cver:a.A.A.cver});var b=Dna(a.A,a.g);a.B=new $S(a.A.schedule,b,a.g.na,a.g.Ka,a.I);a.B.subscribe("initsegment",a.nQ,a);a.B.subscribe("videoformatchange",a.AQ,a);a.B.subscribe("audioformatchange",a.zQ,a);a.B.subscribe("error",a.kl,a);a.B.subscribe("ctmp",a.Ec,a);a.B.subscribe("seekelementrequired",a.ZT,a);a.B.subscribe("seekplayerrequired",(0,g.z)(function(a,b){gU(this,a,!0,void 0,b)},a));
a.B.subscribe("reattachrequired",a.RT,a);a.B.subscribe("metadata",a.wB,a);a.B.subscribe("constraint",a.OS,a);b=g.Qa(a.aa,"spacecast")||a.Na&&!a.A.experiments.g("html5_preload_media");var c=a.getAudioTrack();c=c.Nb.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,Goa(a),b,c);a.g.probeUrl&&(a.B.ea=a.g.probeUrl);(a.aa.length||a.Na)&&bT(a.B,!1);a.D&&loa(a.D,a.B);a.F&&Bna(a.B,a.F.l,$Q(a.F),a.F.g.C)};
uoa=function(a){a.D=new ET(a.g,a.A);a.D.subscribe("seekto",function(b,c){Ioa(a,b);c||Joa(a);Koa(a,b);a.T("seekto",a,b)});
a.D.subscribe("seekstart",function(){return Loa(a)});
a.D.subscribe("ended",function(){return PT(a)});
a.D.subscribe("pausemediaelement",function(){return hU(a,!0)});
a.D.subscribe("resumemediaelement",function(){g.W(a.o,8)&&a.Il()});
a.D.subscribe("ctmp",a.Ec,a)};
UT=function(a){a.B&&(a.B.dispose(),a.B=null,a.D&&loa(a.D,null));oU(a)};
oU=function(a){a.K&&(a.K.dispose(),a.K=null)};
wU=function(a){if(a.K)return a.K.B;a.B?a.B.seek(a.getCurrentTime()):g.vU(a);try{a.K=sma(a.l)}catch(b){return b.message="window.URL object overwritten by external code",window.setTimeout(function(){throw b;},0),g.$T(a,a.g.Hc?"drm.unavailable":"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1"),null}uka(a.K,function(b){try{if(a.A.experiments.g("html5_mse_fix_killswitch")||a.K&&(!b||a.K==b))if(a.hg)a.dg=!0;
else{var c=a.getDuration();!c&&a.g.kc()&&(c=a.A.experiments.g("html5_extend_initial_duration")?21600:3600);a.K.o.duration=c;g.cT(a.B,a.K)}}catch(d){g.bE(d,"WARNING"),a.kl(new g.UM("fmt.unplayable",!0,{msi:"1",ename:d.name}))}});
return a.K.B};
Moa=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
pU=function(a){!a.g.We&&a.g.sh||a.Kc||(a.Kc=!0,a.T("signatureexpired"))};
Noa=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
Ooa=function(a,b){if(a.l&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.l.Tb();b.details.merr=c?c.toString():"0";b.details.msg=IP(a.l)}};
Poa=function(a,b,c){if(a.xd+3E4>(0,g.F)())return!1;a.xd=(0,g.F)();var d=a.g;d=d.nf?+g.nE(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",VM(c)));if(d)return pU(a),!0;if(KE("philips"))try{window.close()}catch(e){}a.A.experiments.g("html5_stun_format_on_platform_err")&&a.B&&(b=a.B,b.g&&(c=b.g.B||b.g.g,GS(b.D,c?c.g:b.g.l)));a.A.experiments.g("html5_new_elem_on_platform_err")?a.T("newelementrequired"):xU(a);return!0};
hU=function(a,b){b=void 0===b?!1:b;var c=!a.A.experiments.g("web_player_ended_pause_killswitch")&&g.W(a.o,2);if((g.W(a.o,64)||c)&&!b)if(g.W(a.o,8))XT(a,DP(a.o,4,8));else return;if(a.l||a.A.experiments.g("html5_pause_video_fix"))g.W(a.o,128)||(b?XT(a,BP(a.o,256)):XT(a,DP(a.o,4,8))),a.l&&a.l.pause(),g.DO(a.g)&&a.B&&bT(a.B,!1)};
yU=function(a){a.A.experiments.g("html5_remove_pause")||hU(a);a.B&&(bT(a.B,!1),dT(a.B))};
g.lU=function(a,b){b=void 0===b?!1:b;if(a.l){if(!a.A.experiments.g("html5_remove_pause"))try{a.l.pause()}catch(c){return}ST(a);UT(a);a.D||(a.g.startSeconds=a.getCurrentTime());a.R=window.NaN;a.l.Me();Eoa(a);g.W(a.o,128)||(b?XT(a,DP(a.o,4,8)):XT(a,AP(a.o)));a.A.B.remove(a.g.videoId)}};
gU=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.A.experiments.g("html5_new_seeking"))b&&!(0,window.isFinite)(b)&&Qoa(a),GT(a.D,b,c,e,d);else if(a.l&&a.Y.g){b&&!(0,window.isFinite)(b)&&Qoa(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.A.experiments.g("html5_manifestless_no_redundant_seek_to_head");k?f=xna(a.B):PE()&&(a.A.experiments.g("html5_appletv_clampaftermetadata_killswitch")||1>a.l.g.readyState)&&(f=b)}f||
(f=g.cd(b||0,a.Fb(),uU(a,e)));Ioa(a,f);c?a.kx():Joa(a,d);Koa(a,f);a.T("seekto",a,f)}else a.g.startSeconds=b};
Qoa=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=UQ(b,b.l-1):b.g.A&&(b.l=UQ(b,b.l+1));if(c=c!=b.l)b.o=[],b.B=0;b=c}else b=!1;b&&a.C&&xQ(a.C,XQ(a.F))}Bna(a.B,a.F.l,$Q(a.F),a.F.g.C)}};
Ioa=function(a,b){if(a.F){var c=a.F;aR(c,b,!1);bR(c,b)}a.g.startSeconds=b;a.R=b;c=a.Ma;c.g=b;c.l=!0};
Koa=function(a,b){a.X&&b>a.g.endSeconds&&(0,window.isFinite)(b)&&(a.I.C(a.X),a.X=null);b<uU(a)-.01&&XT(a,CP(a.o,2))};
Joa=function(a,b){g.W(a.o,32)||(XT(a,BP(a.o,32)),g.W(a.o,8)&&hU(a,!0),a.T("beginseeking",a));b&&(a.oa||(a.oa=new g.ju(a.kx,b,a)),a.oa.start());zU(a)};
Loa=function(a){a.oa&&(a.oa.dispose(),a.oa=null);g.W(a.o,32)&&(XT(a,BP(CP(a.o,32),16)),a.T("endseeking",a))};
AU=function(a){if(!a.g.na){if(a.A.experiments.g("html5_start_date_from_element")&&PE()&&a.l){var b=a.l.g.getStartDate().getTime();if(!(0,window.isNaN)(b))return b/1E3+a.getCurrentTime()}return window.NaN}return yL(a.g.na,a.getCurrentTime())};
Soa=function(a){if(!a.l)return 0;if(g.DO(a.g))return 1;if(EO(a.g)){if(qU(a)||a.isPeggedToLive())return 1;var b=a.l,c=nP(b);b=(0<eP(c)&&b.getDuration()?c.end(c.length-1):0)-a.Fb();a=Roa(a)-a.Fb();return Math.max(0,Math.min(1,b/a))}return qP(a.l)};
BU=function(a,b){var c={};if(void 0===b?0:b){a.C?g.Ga(c,XP(qQ(a.C,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.l&&(g.Ga(c,rP(a.l)),g.Ga(c,a.Vq()));a.B&&g.Ga(c,mT(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.o.l.toString(16);g.W(a.o,128)&&(c.debug_error=a.o.g);fU(a)&&(c.prerolls=
a.aa.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&&xL(a.g.na)&&(c.segduration=xL(a.g.na)),a.W&&(c.lat=RQ(a.W.B)));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=jU(a))c.optimal_format=e.video.qualityLabel;c.user_qual=lH()}c.debug_videoId=a.g.videoId;return c};
WT=function(a,b){a.T("internalvideodatachange",void 0===b?"dataupdated":b,a,a.g)};
Doa=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.pa.O(this.l,a,this.RK,this)},a);
a.A.fg&&(a.pa.O(a.l,"webkitplaybacktargetavailabilitychanged",a.MO,a),a.pa.O(a.l,"webkitcurrentplaybacktargetiswirelesschanged",a.NO,a))};
Toa=function(a){var b=a.getCurrentTime(),c=a.g;!TN("pbs","")&&AN.measure&&AN.getEntriesByName&&(AN.getEntriesByName("mark_nr")[0]?RN("mark_nr"):RN());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.Ia?a.L.info("fmt",iI(c.Ia)):a.L.info("fmt","-1");c.Ao&&a.L.info("yt_pre",a.Ch?"2":"1");VT(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.la),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.Jb;for(var d in b)a.L.g(d,b[d])}};
zU=function(a,b){b=void 0===b?!1:b;if(a.l&&a.g){var c=a.getCurrentTime();if(a.F&&qU(a)){var d=a.F,e=a.Ax();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.o.fb(),e=a.F,aR(e,c,void 0===d?!0:d),bR(e,c),d&&(d=a.F,d=!ZQ(d,c)&&d.isPeggedToLive()?window.Infinity:c<d.A.Fb()?d.g.D?Math.min(d.A.Fb()+10,YQ(d)):d.A.Fb():window.NaN,(0,window.isNaN)(d)||gU(a,d,!0)));a.W&&qU(a)&&(d=a.W,!d.g||c>=d.o&&c<d.A||(e=d.g.Tg(c),-1!=e&&(d.o=d.g.Wd(e),d.A=d.o+d.g.getDuration(e),
e=(0,g.F)()/1E3-d.g.Ss(e),d.l&&(e-=d.l()),d.B.add(e))));if(a.B&&(!g.W(a.o,4)||!g.DO(a.g))&&(d=a.B,d.o)){d.B!=c&&d.resume();if(d.L&&!CI(d.o)){e=d.B<=c&&c<d.B+10;var f=0<=cP(d.o.l.buffered,d.B+iT);e&&f&&(d.L=!1)}d.L||(d.B=c);g.ku(d.fa)}5<c&&(a.D?a.D.C=c:a.g.startSeconds=c);(d=g.EG())?g.FG(a.Ya):g.iE(a.Ya);!g.GP(a.o)&&a.l.g.paused||g.W(a.o,128)||(e=(0,g.z)(a.HI,a),a.Ya=0==(a.l.g.played||aP()).length?d?g.CG(e,100):g.gE(e,100):d?g.CG(e,500):g.gE(e,500));a.g.mg=c;!b&&a.o.fb()&&a.C&&(c=a.C,c.o.update(),
c.g.videoData.Mb()&&c.g.videoData.Af&&!c.L&&SO(c.o)>=c.g.videoData.Af&&(c.B&&c.g.videoData.Af&&(d=qQ(c,"delayplay"),d.Ab=!0,d.send(),c.L=!0),vQ(c)),qU(a)&&(!a.g.na||!vL(a.g.na))&&(0,g.F)()>a.Dh+6283&&(c=a.C.l,e=c.g.B(),d=g.WO(c.g),PP(c,d,e),e=e.C,(0,window.isNaN)(e)||g.MP(c,d,"e2el",[e.toFixed(3)]),a.Dh=(0,g.F)()));a.T("progresssync",a,b)}};
XT=function(a,b){if(!g.EP(a.o,b)){var c=new g.KP(b,a.o);a.o=b;var d=!a.wc.length;a.wc.push(c);var e=a.l&&a.l.g.seeking;if(0<LP(c,1)&&!g.W(c.g,16)&&!e&&g.W(a.o,8)&&!g.W(a.o,64)&&a.B&&(a.B.N=!0,a.g.gi&&a.l&&a.Ec("rbinfo","rs."+a.l.g.readyState+";lact."+g.LG()),a.l&&5<=oP(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.Ia.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.eg=
new ZI(0,f-1,!1,"b"),e=!0):e=!1}else e=!1;e&&tU(a,"b")}(0>LP(c,8)||0<LP(c,1024))&&a.fa.stop();!(0<LP(c,8))||a.g.We||g.W(c.state,1024)||a.fa.start();a.A.experiments.g("html5_move_seek_resume")&&g.W(c.state,8)&&0>LP(c,16)&&!g.W(c.state,32)&&!g.W(c.state,2)&&sU(a);g.W(c.state,2)&&EO(a.g)&&(e=a.getCurrentTime(),a.g.lengthSeconds!=e&&(a.g.lengthSeconds=e,WT(a)),zU(a,!0));0<LP(c,2)&&a.eu();a.g.na&&a.g.ua&&(0>LP(c,8)?(e=a.g.na,e.A&&e.A.stop()):0<LP(c,8)&&a.g.na.resume());0<LP(c,1)&&(a.Mc=g.gE((0,g.z)(a.PT,
a),5E3));if(a.C&&(e=a.C,!e.ha())){g.W(c.state,2)?(e.C="paused",0<LP(c,2)&&e.B&&sQ(e).send()):g.W(c.state,8)?(e.C="playing",e.B&&(0,window.isNaN)(e.D)&&$P(e,!1)):e.C="paused";k=e.l;f=c.state;l=g.WO(k.g);var m=xma(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.gi?QP(k,l):g.MP(k,l,"cmt",[k.g.l().toFixed(3)]),g.MP(k,l,"vps",[m]),
k.o=m,k.A=l);g.W(f,128)&&SP(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.Ao&&!k.F&&(k.l.user_intent=[g.WO(k.g).toString()],k.F=!0);RP(k);e.A&&g.W(c.state,128)&&(e.So("error-100"),g.iE(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 D=US(c.g,Math.max(c.A-2E3,0));!(0,window.isNaN)(D)&&0x7ffffffffffff>D&&c.D.start()}a.T("statechange",r)}}finally{a.wc.length=0}}};
Uoa=function(a){g.W(a.o,2)||g.W(a.o,32)||(a.R=window.NaN)};
CU=function(a,b){XT(a,DP(a.o,1028,9));a.Ec("dompaused",b);a.T("onDompaused")};
rU=function(a){if(!a.l||!a.g.Ka)return!1;var b=null;a.g.Ka.g?(b=wU(a),a.B.resume()):(UT(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"),UN("vta"),a.D&&0<a.getCurrentTime()&&(b=a.getCurrentTime(),a.D.C=b),lP(a.l,c),a.K&&GG(4),!a.g.We&&zP(a.o)&&a.fa.start(),b=!0);a.D&&(c=a.D,c.F||!(0<c.C)||c.l&&0<c.l.getCurrentTime()||GT(c,c.C));a:if(g.vO(a.g)&&a.l)if(c=a.g.Nf){if(a.H){if("fairplay"!=c.flavor||PE())break a;ST(a)}d=a.l.ma();a.H=new vT(d,c,a.A.experiments,"widevine"==
c.flavor&&!a.g.ua&&!a.g.Vr,a.g.drmSessionId);a.H.subscribe("newsession",a.bR,a);a.H.subscribe("licenseerror",a.rQ,a);a.H.subscribe("qualitychange",a.tQ,a);a.H.subscribe("heartbeatparams",a.PK,a);a.H.subscribe("keystatuseschange",a.QK,a);a.H.subscribe("hdproberequired",a.sQ,a);c=a.H;a=a.g.oauthToken;c.R=a;c.T("oauthtoken",a)}else g.$T(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1");return b};
ST=function(a){a.H&&(a.H.dispose(),a.H=null)};
Roa=function(a){return a.g.ua&&(qU(a)||a.isPeggedToLive()||g.DO(a.g))?a.getCurrentTime():uU(a)};
uU=function(a,b){b=void 0===b?!1:b;return a.A.experiments.g("html5_new_seeking")?a.D?a.D.De(b):0:a.l?a.g.ua?PE()?MO(a.l.g.getStartDate().getTime()):a.g.Ka&&a.g.Ka.g&&a.F?b?a.g.De():YQ(a.F):iP(a.l)||0:a.g.De():0};
DU=function(a,b){a.Ca=b;a.l&&a.l.Rf(b)};
qU=function(a,b,c){if(!a.g.ua||!a.F||!(a.Jd||void 0!==c&&c))return!1;void 0==b&&(b=a.getCurrentTime());return ZQ(a.F,b)};
g.Voa=function(a,b){(a.Jd=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.A.experiments.g("html5_suspend_loader")&&a.B&&(b?a.B.resume():bT(a.B,!0));a.A.experiments.g("html5_fludd_suspend")&&(g.W(a.o,2)||b?g.W(a.o,512)&&b&&XT(a,CP(a.o,512)):XT(a,BP(a.o,512)));a.C&&(c=a.C.l,g.MP(c,g.WO(c.g),"stream",[b?"A":"I"]))};
xU=function(a){a.l&&(a.K?(ST(a),UT(a),wU(a),a.A.experiments.g("html5_stop_video_on_reattach")&&a.l.Me()):(a.g.nf&&a.g.nf.A(),a.l.Me()),sU(a))};
EU=function(a,b){a.A.experiments.g("html5_log_rebuffer_reason")&&a.Ec("bufreason","r."+b+";lact."+g.LG())};
FU=function(a,b){yQ.call(this,a,b);this.F=null};
g.GU=function(a){return a.app.A};
g.HU=function(a){a=g.GU(a).H;return!!a&&a.Az()};
IU=function(a){a=g.GU(a);var b=a.H;return b&&b.Bz()?!0:g.CO(a.g.getVideoData(),"ypc_module")};
g.JU=function(a,b){3==a.Pa()?a.T("mdxautoplaycancel"):a.T("autonavcancel",b)};
g.X=function(a){return a.app.g};
g.NU=function(a){var b=a.app;a=a.playerType;return 3==KU(b)?g.LU(b.A).D:g.MU(b,a).o};
g.OU=function(a){return a.app.F};
PU=function(a){var b=g.LU(g.GU(a));return a.app.W&&!a.isFullscreen()||3==a.Pa()&&b.hasNext()&&b.If()||!!a.Sf()};
g.QU=function(a,b){var c=a.playerType;(c=g.MU(a.app,void 0===c?1:c))&&PT(c,b)};
g.RU=function(a){if(xF())if(a.isFullscreen())zF(a.getRootNode());else{a=a.getRootNode();var b=wF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.sa("onFullscreenToggled",a.isFullscreen())};
g.Woa=function(a){var b={};a=Foa(g.MU(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.SU=function(a){return(a=g.MU(a.app))?eJ(doa(a.N,a.g)):"unknown"};
g.TU=function(a){return(a=g.GU(a).o)?a.pL():{}};
g.UU=function(a,b,c,d){var e=g.MU(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.VU=function(a){a=g.GU(a).A;return!!a&&a.nl()};
g.WU=function(a){a=g.GU(a).A;return!!a&&a.yz()};
g.XU=function(a,b){var c=g.WH(a);if(c)return c.Hs(b);c=a.app.F.Ha();return new g.eh(0,0,c.width,c.height)};
YU=function(a){a=g.GU(a).I;return!!a&&a.hL()};
g.$U=function(a,b,c){ZU(a.app,b,c||a.playerType)};
g.bV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.MU(d,a))c.I.C.apply(c.I,b),a&&KU(d)!=a||aV(d,"cuerangesremoved",b)};
g.cV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.MU(d,a))b=fna(c.I,b),a&&KU(d)!=a||aV(d,"cuerangesremoved",b)};
g.dV=function(a,b){var c=g.MU(a.app,a.playerType);c&&Coa(c,b)};
g.Xoa=function(a){a=a.getVideoData().Ia;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.Yoa=function(a){a=a.getVideoData();return!!(a.adaptiveFormats||a.hlsFormats||a.Qd)};
g.eV=function(a,b,c){a=g.OU(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));Kd(a,b,d);b.setAttribute("data-layer",c)};
g.fV=function(a){var b=g.X(a);if(!b.Jd)return!1;var c=a.getVideoData();if(!c||3==a.Pa())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.Zd,"ypc")&&!a.Sf()};
hV=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.gV(a,"onLogClientVeCreated",{id:e,ve_type:d});g.bf(c,(0,g.z)(a.D,a,b))}};
g.iV=function(a,b){g.X(a).L&&a.app.da.click(b)};
g.jV=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.Wa(a.l,d);c&&!g.Qa(a.o,d)&&(g.gV(a,"onLogVesShown",{ids:[d]}),g.Ta(a.o,d))}};
Zoa=function(){var a={};a.dt=KB;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.kV=function(a){g.ZF.call(this);this.g=a;this.loaded=!1};
$oa=function(a,b){var c=g.aE("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.Kg(window.location.href);d&&c.push(d);d=g.Kg(a);if(g.Qa(c,d)||!d&&g.nb(a,"/"))if(g.eG("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.bH();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.PG(c,d,e||
5))}else e="ST-"+g.Bb(c).toString(36),c=b?g.Sg(b):"",g.PG(e,c,5)}};
g.lV=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.mV=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.aE("EVENT_ID");d&&(b.ei||(b.ei=d));b&&$oa(a,b);if(c)return!1;(window.ytspf||{}).enabled?window.spf.navigate(a):g.lV(a);return!0};
g.nV=function(a,b,c){c&&$oa(a,c);window.open(a,b||g.Bb(a).toString(36))};
oV=function(){g.K.call(this);var a=this;this.g=new window.Map;this.l=g.RF(window.document.body,"click",function(b){b.target&&(b=a.g.get(b.target))&&XE(b)},"ytp-ad-has-logging-urls")};
bpa=function(a){if(a.simpleText)return a=g.Gd(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(apa(d))}return 1==b.length?b[0]:g.J("SPAN",null,b)};
apa=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==pV&&(pV=new oV),pV.register(b,a),g.Q(b,"ytp-ad-has-logging-urls")}return b||g.J("SPAN",null,
c)};
rV=function(a){g.K.call(this);var b=this;this.g=new qV(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()})};
qV=function(a){g.ZF.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.WF(this);g.L(this,this.B)};
cpa=function(a){return a.g.g["ytp-ad-info-dialog-ad-reasons"]};
sV=function(a){return a?bpa(a):null};
dpa=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};
tV=function(){g.ZF.call(this);this.g=new window.Map};
epa=function(){null==uV&&(uV=new tV,tm.getInstance().o="b",um());return uV};
fpa=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}};
gpa=function(a){vV=a&&a.data};
ipa=function(a){hpa=a&&a.data};
jpa=function(){vV=null};
g.kpa=function(){return g.wV?{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"}}]}};
lpa=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.xV=function(){return g.wV?{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.yV=function(){return g.wV?{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"}}]}};
mpa=function(){return g.wV?{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"}}]}};
npa=function(){return g.wV?{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"}}]}};
opa=function(){return g.wV?{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.zV=function(){return g.wV?{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"}}]}};
ppa=function(){return g.wV?{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"}}]}};
qpa=function(){return g.wV?{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"}}]}};
rpa=function(){return g.wV?{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"}}]}};
AV=function(){return g.wV?{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.spa=function(){return g.wV?{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"}}]}};
tpa=function(){return g.wV?{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"}}]}};
upa=function(){return g.wV?{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"}}]}};
vpa=function(){return g.wV?{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"}}]}};
wpa=function(){return g.wV?{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.BV=function(){return g.wV?{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"}}]}};
xpa=function(){return g.wV?{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.ypa=function(){return g.wV?{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"}}]}};
zpa=function(){return g.wV?{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"}}]}};
Apa=function(){return g.wV?{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"}}]}};
Bpa=function(){return g.wV?{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"}}]}};
CV=function(){return g.wV?{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.DV=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.ju(this.pp,0,this);g.L(this,this.o)};
EV=function(a,b){var c=a.l.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
g.FV=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.GV=function(a){return(!g.ua(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
HV=function(a,b){this.l=a;this.g=b};
IV=function(a,b){return a.l+b*a.getLength()};
JV=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)};
KV=function(a,b){g.JH.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()};
LV=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.ra(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.ra(a);this.C=this.g["ad-carousel-list"];this.o=0;this.Ga=[]};
Cpa=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)}};
NV=function(a){a.C&&g.sh(a.C,"left",(2>a.Ga.length?0:-a.o*a.Ga[1].element.clientWidth)+"px");g.IH(a.B,0<a.o);g.IH(a.A,a.o<a.Ga.length-MV(a))};
MV=function(a){return 2>a.Ga.length?1:Math.round((a.element.clientWidth-a.Ga[0].element.clientWidth)/a.Ga[1].element.clientWidth)+1};
OV=function(a){g.ZF.call(this);this.l=a;this.g=new g.WF(this);g.L(this,this.g);this.A=Dpa;this.o=null;this.g.O(this.l,"presentingplayerstatechange",this.B);this.o=this.g.O(this.l,"progresssync",this.C)};
QV=function(a,b){this.g=a;this.l=g.ua(b)?b:null;if(g.Qa(PV,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");};
RV=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}};
Epa=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};
SV=function(a){this.l=a};
TV=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Fpa=function(a,b){if(a){var c="getErrorCode"in a?a.Tb():null;c?b.error_code=c:(c="getMessage"in a&&g.Aa(a.getMessage)?a.Dd():a.message,c=tb(c||"",50),b.error_message=c)}};
UV=function(a,b){if(a){var c=Vs(a).reverse();b.ad_id=g.Ya(c,Ts(a)).join(",");c=Xs(a).reverse();b.ad_sys=g.Ya(c,Js(a)).join(",");c=Yq(a);null!=c&&(b.aqi=c)}};
VV=function(a,b){if(a[b])return TV(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return TV(a[d]);return!1};
Gpa=function(a,b,c){var d=new Ko;d.Ri=b.baseYtUrl;d.contentId=c.videoId;d.Du=!yM(b);d.Hu=!0;d.HD=!0;d.ID=a.L;d.showContentThumbnail=a.showContentThumbnail;d.bi={};c.ag&&(d.bi.ctrl=c.ag);c.pf&&(d.bi.ytr=c.pf);c.Tm&&(d.bi.ytrcc=c.Tm);c.isMdxPlayback&&(d.bi.mdx="1");b.experiments.g("add_vvt_to_adunit_get_video_info")&&c.Ue&&(d.bi.vvt=c.Ue);a.l?(d.Wp=!0,d.Vw=!0,d.showContentThumbnail=!1,d.Bu=!0,d.Eu=!0,d.Hu=!1):a.B&&(d.Wp=!0);a.l&&sM&&(d.ly=!1);d.ky=a.H;return d};
Npa=function(a){var b=new WA,c=a.app.F.Ha();b.qj=c.width;b.pj=c.height;b.cf=c.width;b.bf=100;b.ax=LM(WV(a));c=new vn;c.g=(0,g.z)(WV(a).experiments.g,WV(a).experiments);c.l=(0,g.z)(WV(a).experiments.l,WV(a).experiments);c.o=(0,g.z)(WV(a).experiments.o,WV(a).experiments);b.Ep=c;if(c=b.ax?Ila(WV(a)):-1)b.C=c;a.l.tagForChildDirected&&(b.ep=!0);c=XV(a);b.fc={CA_TYPE:"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,EID:c.eventId,LACT:Hpa(a),VIS:Ipa(a)};c.oauthToken&&AE()&&(b.D=gc({Authorization:"Bearer "+
c.oauthToken}));c=YV(a);null!=c&&(b.fc.P_H=c.height,b.fc.P_W=c.width);g.Kb(Zoa(),function(a,c){b.fc[c.toUpperCase()]=a});
LM(WV(a))||(b.fc.LACT="-1");b.language=WV(a).pa;var d=Jpa(a,"a_bid_s","a_bid_f"),e=0;b.Im=function(){var b=Kpa();d(b);var c=new SV(a);Lpa(b,WV(a).experiments,c,e);e++;return b};
var f=Jpa(a,"a_mid_s","a_mid_f");b.Am=function(){var a=Mpa();f(a);return a};
return b};
Jpa=function(a,b,c){var d=!0;return function(e){if(d){a.ne(b);if(Yf(e)){var f=(0,g.z)(a.ne,a,c);e.then(f,f)}else a.ne(c);d=!1}}};
Kpa=function(){var a=null;nF().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([nF(),b]),function(){return"ERR_BID"});
kg(g.mg(c,g.y),function(){b.cancel()});
return c};
Mpa=function(){var a=null;pF().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([pF(),b]),function(){return"NO_ADS_ID"});
kg(g.mg(c,g.y),function(){b.cancel()});
return c};
Lpa=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)}};
Hpa=function(a){return{toString:function(){if(null==a||a.ha())return a=null;WV(a);return g.LG().toString()}}};
Ipa=function(a){return{toString:function(){return null==a||a.ha()?a=null:a.g.pi().toString()}}};
Opa=function(a){return{toString:function(){if(null==a||a.ha())return a=null;var b=a.hd?a.hd.g:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.F)()-b).toString()}}};
ZV=function(a,b,c,d){this.l=this.A="";this.o=a;this.D=b;this.g=c;this.C=d};
$V=function(a){var b={};b.l_ns=a.D;b.l_state=a.C;b.break_type=a.o.g;b.sst=RV(a.o);b.sidx=0;a.A&&(b.at=a.A);a.l&&(b.ad_id=a.l);return b};
aW=function(){g.K.call(this);this.l=new g.ju((0,g.z)(this.C,this),1E3);g.L(this,this.l);this.A=this.o=0;this.g=eba();this.B=!1};
Ppa=function(){var a=g.x("yt.www.watch.ads.loadAfc");g.Aa(a)?(a(),bW=!0):cW=!0};
Qpa=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"};
Rpa=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():dW=!0};
Tpa=function(a){if(N.o){if(!a)return eg();eW(a,{afvMpu:{}});return dg()}a=a&&WV(a).experiments;Rpa();fW();return Spa(a)};
Spa=function(a){gW||(gW=new aW(a));a=gW;a.B||(a.l.start(),a.B=!0);return a.g.g};
fW=function(){gW&&(gW.dispose(),gW=null)};
hW=function(){var a=g.x("yt.www.watch.ads.setCompanion");a&&a()};
Upa=function(a){var b=g.x("yt.www.watch.ads.showForcedMpu");b&&b(a)};
iW=function(a,b,c,d){g.ZF.call(this);this.g=a;this.l=d;this.videoData=null;this.adType=c;this.adSystem=b};
Vpa=function(a,b,c){this.g=a;this.l=b;this.o=c||0};
Zpa=function(a){var b=[];(0,g.B)(a.split("_"),function(a,b){this[b]=Db(a)},b);
return new Vpa(g.Vb(Wpa,b[0])?b[0]:0,g.Vb(Xpa,b[1])?b[1]:0,g.Vb(Ypa,b[2])?b[2]:0)};
$pa=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};
jW=function(a){g.K.call(this);var b=g.Fd("div");b.className="video-ad-label";b.textContent=g.T("YTP_ADVERTISEMENT");var c=g.Fd("div");c.className="video-ad-status-bar";c.appendChild(b);b=g.Fd("div");b.className="ad-container";var d=g.Fd("div");d.className="video-ads";d.appendChild(c);d.appendChild(b);this.element=d;this.o=a;this.l=this.g=null};
kW=function(a){if(!a.g){var b=g.X(a.o);a.g=g.H("ad-container",a.element);b.wd&&(tM&&yM(b)||g.Q(a.g,"ad-container-single-media-element-annotations"))}return a.g};
aqa=function(a){if(!a.l){var b=g.Fd("div");g.Bq(b,["video-click-tracking","ad-video"]);kW(a).appendChild(b);a.l=b}return a.l};
bqa=function(a){a||(g.bE(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 Qt(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:lW(a.A)};mW(b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,
a);return b};
mW=function(a,b){var c={title:lW(b.B),adReasons:b.C.map(function(a){return lW(a)})},d=b.l;
if(d&&3==d.length){var e=lW(d[0]);nW(e,d[1],"https://www.google.com/settings/ads");nW(e,d[2]);c.dialogMessage=e;d=yq(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=lW(e),e=yq(b,"why_this_ad_got_it"),e.length&&(c.confirmServiceEndpoint=oW(e));
if(e=cqa(b,"why_this_ad_url"))c.impressionEndpoints=[e];if(e=cqa(b,"why_this_ad_got_it"))c.confirmServiceEndpoint=e;a.dialog={adInfoDialogRenderer:c}};
eqa=function(a){a=Fr(a);var b=Gr(a),c=[],d={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"};(0,g.B)(Uga(b),function(a){7==a.Rb()&&c.push(g.hn(Yr(a,"base_url"),d))});
return{plaShelfItemRenderer:{headline:lW(a.ld()),merchant:lW(Ir(b)),image:{thumbnails:[{url:Jr(a).getImageUrl()}]},priceText:lW(Kr(b)),reviewText:lW(Yr(b,"review_text")),rating:Ov(b,"rating",0),clickthroughEndpoint:dqa(Mr(gw(b))),impressionEndpoints:[oW(c)]}}};
lW=function(a){var b={};nW(b,a,void 0);return b};
nW=function(a,b,c){a.runs||(a.runs=[]);b={text:b};c&&(b.navigationEndpoint=dqa(c));a.runs.push(b)};
dqa=function(a){return{urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
oW=function(a){return{loggingUrls:a.map(function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}};
cqa=function(a,b){var c=yq(a,b);return c.length?oW(c):null};
fqa=function(a){this.g=a};
gqa=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};
pW=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}};
hqa=function(a,b){this.B=null;this.o=window.NaN;this.l=null;this.g=a;this.A=b};
qW=function(a,b,c){a.g.T("AD_LOGGING_EVENT",b,c)};
iqa=function(a,b,c){rW(a);var d=sW(a);c&&g.Ga(d,c);d.ad_error=b;qW(a,7,d)};
sW=function(a){var b={},c=a.g.videoData,d=a.g.vn(),e=a.g.Ul();UV(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.Kg(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.Be():null)&&(b.ad_cpn=e);b.format=a.g.uf();b.at=a.g.Vh();b.ad_mt=Math.round(1E3*Math.max(jqa(a.g),0));return b};
rW=function(a){a.B||(a.B="InstreamAdDisplay ("+a.g.uf()+")")};
tW=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};
vW=function(a,b,c,d,e,f,k,l){iW.call(this,b,a,2,c);this.K=!1;this.D=this.R=this.L=null;this.g.subscribe("control_toggle_play_pause",this.lE,this);this.g.subscribe("control_play",this.Tt,this);this.g.subscribe("control_pause",this.Rt,this);this.B=new hqa(this,this.g);this.o=new g.TF(this);this.A=uW(b.g.app,2);this.A.subscribe("statechange",this.jE,this);this.A.subscribe("internalAbandon",this.PA,this);this.A.subscribe("internalvideodatachange",this.kE,this);this.C=this.F=!1;this.W=d;this.aa=e;this.N=
!!f;this.Y=!!k;this.I=l;this.H=new tW(15E3,(0,g.z)(this.abort,this));this.X=b.l.L&&"3"==WV(b).o};
xW=function(a,b){if(!a.ha()&&a.X){var c=a.g.app.F;yM(c.app.g);c.F=!b;wW(c)}};
zW=function(a){LN("ad_to_video",["pbresume"]);a.I&&(0,g.CQ)("yt_abt",a.I,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&(0,g.CQ)("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&(0,g.CQ)("ad_docid",a.videoData.videoId,"ad_to_video");(0,g.BQ)("adc",void 0,"ad_to_video");g.lU(uW(a.g.g.app,2));yW(a.g,0);kqa(a.g,0);a.T("adEnd",a);xW(a,!0)};
AW=function(a,b){WV(a.g).experiments.g("html5_ad_error_releases")?g.lU(a.A):PT(a.A);yW(a.g,0);a.T("adError",b)};
jqa=function(a){return a.A?a.A.getCurrentTime():0};
lqa=function(a){a=a.tb();return a?(a=Os(a))?{menuTitle:a.A,closeButton:a.o,targetingReasonHeader:a.B,targetingReasons:g.Za(a.C),adSettingsLink:g.Za(a.l),controlText:a.F,continueButton:a.D,cancelButton:a.I}:null:null};
mqa=function(a){a=a.tb();if(!a)return null;a=Ps(a);if(!a)return null;for(var b=Pt(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}};
nqa=function(a,b){this.g=a;this.B=b;this.g.uf();this.l=this.A=0;this.o=null};
BW=function(a,b,c){a.g.T("AD_LOGGING_EVENT",b,c)};
CW=function(a){var b={};UV(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.Vh();return b};
DW=function(a,b,c,d){iW.call(this,b,a,1,c);this.o=null;this.F=this.C=!1;this.I=null;this.B=new nqa(this,b);this.A=new g.TF(this);this.H=!!d;this.D=!1};
EW=function(a,b){var c=a.g.getRootNode();g.R(c,"ytp-ad-overlay-open",b);g.R(c,"ytp-ad-overlay-closed",!b)};
FW=function(a,b,c,d){g.K.call(this);this.H=null;this.F=a;this.l=b.Pb;this.B=b;this.I=b.ia;this.g=c;this.C=d;this.o=new ZV(this.l,this.F,c,d);this.Xa=null;this.L=new g.Zm(this);this.A=new g.Zm(this);this.K=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
GW=function(a,b){a.H=b;var c=b.uf();a.o.A=c};
HW=function(a,b){var c=g.x("yt.www.watch.ads.setAdId");c&&c(b);a.o.l=b};
oqa=function(a){Tpa(a.g).then(function(){this.o.B()},g.y,a)};
pqa=function(a){this.g=a};
IW=function(a){iW.call(this,a,2,3,null)};
JW=function(a,b,c){FW.call(this,2,a,b,c);this.D=new pqa(this.g.l);Qpa()};
qqa=function(a,b){this.g=a?a:"";this.zb=b};
KW=function(a,b,c,d){DW.call(this,1,a,b,d);this.K=c};
LW=function(a,b,c){FW.call(this,1,a,b,c);this.D=new qqa(this.g.l.adTag,this.I,WV(this.g).experiments)};
MW=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);FW.call(this,2,a,b,d)};
rqa=function(){NW||(NW=g.Aa(g.x("yt.www.watch.ads.promotionShelfShow"))?dg():new g.$f(function(a){g.mG("watchAdsInit",a)}));
return NW};
sqa=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)};
wqa=function(a){var b=Fr(a),c=Gr(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");g.JH.call(this,{G:"div",M:"iv-btp-card",J:[{G:"a",M:"iv-btp-card-content",P:{href:Mr(gw(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:Jr(b).getImageUrl()}}]}]},{G:"div",M:"iv-btp-card-info",J:[{G:"span",M:"iv-btp-card-action",
J:[Kr(c)]},OW(a)]},tqa(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:Jr(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.ld()]}]}]},{G:"span",M:"iv-btp-card-action",J:[Kr(c)]},OW(a),uqa(a)]}]},vqa(a)]}]}]})};
uqa=function(a){a=Gr(Fr(a));return.01>Ov(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*Ov(a,"rating",0)/5)+"%;"}}]}]},{G:"span",M:"iv-btp-card-reviews",J:[Yr(a,"review_text")]}]}};
tqa=function(a){var b=Fr(a),c=Gr(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:Mr(gw(c)),target:"_blank"},J:[{G:"div",ba:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],J:[b.ld()]}]},{G:"div",M:"iv-btp-hovercard-info",J:[{G:"span",M:"iv-btp-hovercard-action",J:[Kr(c)]},OW(a)]},uqa(a)]}]}};
OW=function(a){return{G:"div",M:"iv-btp-card-merchant",J:[{G:"span",M:"iv-btp-card-merchant-text",J:[Ir(Gr(Fr(a)))]}]}};
vqa=function(a){var b=[];a=Gr(Fr(a));for(var c={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"},d=0;d<Sv(a,"event");d++){var e=new Rv(Qv(a,"event",d));7==e.Rb()&&(e=g.hn(Yr(e,"base_url"),c),b.push({G:"img",P:{src:e}}))}return{G:"div",M:"iv-btp-impressions",J:b}};
PW=function(){g.JH.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 LV;this.A.ra(a);this.C=new g.WF(this);g.L(this,this.C);this.H=new g.ju(this.wu,200,this);g.L(this,this.H);this.F=this.g["iv-btp-block-clicks"];this.B=new g.ju(g.Ea(function(a){g.M(a,
!1)},this.F),1E3);
g.L(this,this.B);this.o=null;this.D=xqa();this.C.O(window,"resize",this.BI);this.C.O(this.g["ad-info-icon"],"click",this.EO)};
yqa=function(a,b){a.clear();g.M(a.F,!0);var c=(0,g.G)(b,g.Ea(function(a){return new wqa(a)}));
a.updateValue("title",0<b.length?Yr(b[0],"teaser_text"):"");Cpa(a.A,c);a.wu()};
xqa=function(){return{dialogMessage:{runs:[{text:g.T("YTP_SPONSORED_PRODUCT_INFO")}]}}};
QW=function(a,b){iW.call(this,a,14,14,b);this.o=new PW;g.L(this,this.o)};
zqa=function(a){return(0,g.Md)(a.l.tb().B,function(a){return Pv(a.Fe(),"show_in_promotion_shelf")})};
RW=function(a,b,c){FW.call(this,14,a,b,c)};
SW=function(a,b,c){FW.call(this,14,a,b,c)};
Aqa=function(a,b,c,d,e){this.A=a;this.l=b;this.g=c;this.D=WV(this.A);this.B=d;this.C=XV(this.A).lengthSeconds;this.F=e;this.o="html5";g.zM(this.D)?this.o="html5_embed":tM||sM?this.o="html5_ios":KE("android")?this.o="html5_android":UE()?this.o="html5_wp":QE()?this.o="html5_ps3":g.SM(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"):TE()?this.o="html5_wii":
this.o="html5_desktop"};
Bqa=function(a){return TW(a.l)?"preroll":UW(a.l)?"postroll":"midroll"};
Cqa=function(a){return(a=a.A.o)?(0,g.Jj)(a.xb,function(a){return VW(a)||UW(a)}):!1};
WW=function(a,b){DW.call(this,4,a,b)};
XW=function(a,b,c){FW.call(this,4,a,b,c);var d=this.g.l;this.D=g.E(d.za);var e=XV(this.g)&&XV(this.g).spacecastModule;this.N=new Aqa(b,a,d,c,!!e)};
YW=function(a,b){this.l=a;this.g=b};
Dqa=function(a){return 0<(a.g&3)};
ZW=function(a,b,c,d,e){g.ZF.call(this);this.D=!0;this.l=!1;this.isVisible=!0;this.A="unloaded";this.F=!1;this.ia=b;this.o=a;this.Pb=c;this.C=d;this.B=this.g=null;this.H=!!e};
aX=function(a){return TW(a)?a.Mb()&&$W(a)?-0x8000000000000:0:g.ua(a.Pb.l)?1E3*RV(a.Pb):0x8000000000000};
Eqa=function(a){var b=!WV(a.o).experiments.g("disable_fetching_previous_nonadjacent_midrolls");return TW(a)||b&&a.o.g&&1E3*a.o.g.getCurrentTime()>=aX(a)?!1:(0,g.rm)(a.C,function(a){switch(a.Rb()){case 1:case 2:case 5:return!0;default:return!1}})};
TW=function(a){return 1==a.Pb.g};
$W=function(a){if(!a.Mb())throw Error("Preroll status is undefined before ad load.");return TW(a)&&a.l};
VW=function(a){return 2==a.Pb.g};
UW=function(a){return 3==a.Pb.g};
fX=function(a){a.A="loading";TW(a)&&!(0,g.Jj)(a.C,Dqa)&&bX(a.o);if(a.H)a.A="loaded",a.l=!0,cX(a);else{var b=a.C.shift();b?(TW(a)&&a.o.ne("nl"),b=b.create(a,a.o),g.L(a,b),b.load()):a.o.l&&a.o.l.D&&5!=a.Pb.g?Fqa(a,new IW(a.o),a.Pb):(dX(a.o,2,eX(a,{})),Gqa(a,!1),a.A="error",cX(a))}};
gX=function(a){a.g&&(a.g.unsubscribe("adEnd",a.TA,a),a.g.unsubscribe("adError",a.bE,a),a.g.unsubscribe("AD_LOGGING_EVENT",a.dE,a),a.g.unsubscribe("select",a.aE,a),a.g.unsubscribe("adCompanionInitialized",a.cE,a))};
Fqa=function(a,b,c){a.g=b;a.Pb=c;g.L(a,a.g);0==a.ia&&(b=a.g.Vh(),a.o.W.at=b);a.g instanceof vW?a.l=!0:a.g instanceof IW?a.isVisible=!1:a.g instanceof WW?a.isVisible=!1:a.g instanceof KW&&(a.isVisible=!1);a.A="loaded";cX(a)};
cX=function(a){a.T("adBreakComplete",a)};
Gqa=function(a,b){a.B&&(a.B.Wj({FILLED_OPPORTUNITY:b?1:0}),a.B.dispose(),a.B=null)};
eX=function(a,b){b.break_type=a.Pb.g;b.sst=RV(a.Pb);b.sidx=0;return b};
Hqa=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.Dm;a.set(3,b);a.set(4,c);return a};
Iqa=function(a,b){var c=[];if(a.X)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new YW(8,16):new YW(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.da&&c.push(new YW(7,16)),c;if(a.aa){var d=0;if(a.o||a.C)d|=1;a.ca&&(d|=4);a.D&&(d|=8);c.push(new YW(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 YW(2,d)));d=Hqa(a);var e=d.get(3);e&&c.push(new YW(1,e));!a.independentBreakOffsets&&a.da&&c.push(new YW(7,16));(d=d.get(4))&&c.push(new YW(1,d));return c};
Jqa=function(a){this.g=a};
Lqa=function(a){var b=[];(0,g.B)(Kqa(a),function(a,d){var c=this.g;var f=Iqa(this.g.l,a.g);c=new ZW(c,d,a,f);b.push(c)},a);
return b};
Kqa=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 QV(3):0<e?new QV(2,e):new QV(1);a.push(e)}else a=Mqa;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new QV(5,Db(b[d])));g.ib(a,Epa);return a};
Qqa=function(a,b){this.I=a;this.l=this.I.l;this.B=g.SM(this.I);this.A=this.l||this.B;this.L=!this.B&&!yM(a);this.o=TV(b.instream);this.isLiveStream=1==b.livestream;this.C=TV(b.trueview);this.W=TV(b.aftv);this.fa=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.Ba=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Ta=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.Ab=Nqa(this.afvAdTag);this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.pa=(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=mM(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(Oqa,function(a){return a==b.ad_gender});
this.la=b.dbp;this.K=TV(b.afv)&&!this.A;this.N=this.W&&this.C;this.R=this.W&&this.o&&!TV(b.no_afv_instream);this.Y=TV(b.dclk);TV(b.gpt_migration);this.X=TV(b.forced_ad);this.aa=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Ya=!!b.fqsf;this.ca=TV(b.invideo)&&!this.A;this.D=TV(b.mpu)&&!this.A;g.Qa(this.Ab,"yt_mabv");this.da=!!b.pla;this.Na=TV(b.shortform);this.F=TV(b.sffb);this.ib=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=TV(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.Qa=(0,window.parseInt)(b.ad_device,10);this.oa=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=Pqa(b.serialized_ad_ux_config)};
Nqa=function(a){if(!a||g.C(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("+"):[]};
Pqa=function(a){if(a)try{var b=JSON.parse(a);return new Pe(b)}catch(c){}return null};
hX=function(a,b){g.K.call(this);this.o=a;this.xe=new g.Zm(this);g.L(this,this.xe);this.l=null;this.g=!1;this.xe.U(b,"companionImpression",this.B);this.xe.U(b,"companionClick",this.A)};
Rqa=function(a){var b=!g.X(a).Ya&&3!=a.Pa();return a.isFullscreen()||b};
g.iX=function(a,b,c,d){if((void 0===c||!c)&&g.GV(a))return g.OF(a),!0;b.cd();a=a.currentTarget.getAttribute("href");g.mV(a,d,!0);return!1};
jX=function(a,b,c){if(NM(g.X(b))&&2!=b.Pa()){if(g.GV(c))return b.isFullscreen()&&g.RU(b),g.OF(c),!0}else{var d=g.GV(c);d&&b.cd();g.mV(a,void 0,!0);d&&(g.nV(a),g.OF(c))}return!1};
kX=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"}]}]}]}};
lX=function(a,b){var c=vF("requestAnimationFrame",window);return g.gE(function(){c?c.call(window,a):a()},b||0)};
mX=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
nX=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.hD()};
Sqa=function(a,b){a.B[b]&&(g.bV(a.g.g,[a.B[b]],void 0),delete a.B[b])};
Tqa=function(a,b,c,d){0>=c||((0,window.isNaN)(a.l)||g.iE(a.l),c=(0,g.F)()+c,a.l=0==d?lX((0,g.z)(a.oE,a,b,c,100),0):lX((0,g.z)(a.nE,a,b,c,100),0))};
oX=function(a,b,c){var d=XV(a.g);a=WV(a.g);d=LO(d,a);b.setVolume(c*d)};
pX=function(a){nX.call(this,a)};
qX=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)};
Uqa=function(a,b){rX(a);0<b&&(a.B=g.gE((0,g.z)(a.o,a),1E3*b))};
rX=function(a){g.iE(a.B);a.B=window.NaN};
tX=function(a,b){if(!a.A||!VW(b)&&!UW(b))return!1;var c=a.g.l.g;if(0>=c||0>=a.l)return!1;var d=(0,g.F)()/1E3,e=sX(a,b)-a.g.g.getCurrentTime();0<e&&(d+=e);return d-a.l<=c};
sX=function(a,b){return UW(b)?a.g.g.getVideoData().lengthSeconds:RV(b.Pb)};
uX=function(a,b){g.K.call(this);this.I=this.g=null;this.L=[];this.N=window.NaN;this.xb=b;this.F=[];this.o={};this.C={};this.l=a;var c=a.l,d=!c.isLiveStream&&(0,g.Jj)(this.xb,function(a){return VW(a)||UW(a)});
this.B=new qX(this.l,this,d);this.A=c.applyFadeOnMidrolls?new nX(a):new pX(a);this.X=(0,g.Jj)(this.xb,function(a){return TW(a)})};
Wqa=function(a){a.F.length||(a.F=(0,g.Md)(a.xb,function(a){return"unloaded"==a.A}),0==a.F.length?bX(a.l):(a.X||bX(a.l),Vqa(a)))};
Vqa=function(a){if(a.F.length){var b=a.F.shift();b.subscribe("adBreakComplete",a.Lj,a);b.subscribe("adCompanionInitialized",a.Ft,a);fX(b)}};
Xqa=function(a,b){function c(a){return a&&5!=a.Pb.g}
var d=(0,g.Pa)(a.xb,b),e=g.ab(a.xb,0,d);d=g.ab(a.xb,d+1);return{previous:g.Ma(e,c),next:g.Ma(d,c)}};
Yqa=function(a,b,c){var d=aX(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=RV(b.Pb)?2:3;e.id=String(b.ia);e.visible=b.isVisible;d=a.A.YC(b,d);c=a.A.XC(b,c);c=new g.EQ(d,c,e);a.C[b.ia]=c;vX(a.l,[c]);a.A.Wv(b)}};
Zqa=function(a,b){var c=b.ia;a.C[c]&&(Sqa(a.A,c),g.bV(a.l.g,[a.C[c]],void 0),delete a.C[c])};
$qa=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.Pb.g){a.g.l?a.L.push(b):c.show();return}a.Oh(a.g)}if(tX(a.B,c))a.g=null,c=a.C[c.ia],c.visible||(c.visible=!0,vX(a.l,[c],1));else{5!=c.Pb.g&&(a.g=c);c.subscribe("adBreakComplete",a.Al,a);c.subscribe("adCompanionInitialized",a.Ft,a);if(c.l){1!=c.Pb.g&&LN("video_to_ad",["apbs"]);var d=a.l;d.K=!0;d.A||wX(d);d=a.B.l;d={tfla:0<d?Math.floor((0,g.F)()/1E3-d):0};a.l.Wi.g(xX,"show_instream_ads",d)}a.A.pE(c);
c.show()}}}};
yX=function(a,b,c){uX.call(this,a,b);this.H=[];this.K=[];this.D=[];this.Y=c;this.W=window.NaN;this.R=a.l.g;var d=!WV(a).experiments.g("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.g.getCurrentTime();d=d?null:Oa(b,function(b){return a.g&&e>=aX(b)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(Eqa(f)&&f!=d){var k=new ZW(f.o,f.ia,f.Pb,f.C,!0);b[c]=k;this.H.push(f)}}this.X||this.Oj()};
zX=function(a){g.iE(a.W);a.W=window.NaN};
AX=function(a,b){uX.call(this,a,b);this.W=a;this.Y=!0;this.H=[];this.da=1;this.K=0};
ara=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++};
bra=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 fqa(a);var c=[];this.g.aa&&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)};
BX=function(a,b,c){g.K.call(this);this.l=a;this.A=b;this.hd=c;this.B=this.C=-1;this.g=cra(this.A.Ce());a=this.A.Ce();a.length&&(a=a[a.length-1],-1==a&&vX(this.l,[this.g[a]]));0<this.l.l.g&&this.l.subscribe("endseeking",this.o,this)};
dra=function(a,b){CX(a);0<b&&(a.B=g.gE((0,g.z)(a.o,a),1E3*b))};
CX=function(a){-1!=a.B&&(g.iE(a.B),a.B=-1)};
cra=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.EQ(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.EQ(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
DX=function(){g.K.call(this)};
era=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};
EX=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.WF(this);g.L(this,this.F);this.F.O(this.g.g,"applicationplayerstatechange",this.zE)};
FX=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.K};
fra=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Jj)(a.split(","),function(a){a=yb(a);return"linear"==a})};
gra=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};
ira=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.Jj)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=hra(this,a);
!d&&f&&(this.o[f]=a)},a));
return 0<g.Pb(a.o)};
hra=function(a,b){var c=1E3*Math.round((b+a.D)/1E3),d=b+a.A,e=b+a.H;return FX(a,b)&&FX(a,c)&&FX(a,d)&&FX(a,e)?c:null};
jra=function(a,b,c,d){0>=c||(d=0==d?a.yE:a.xE,c=(0,g.F)()+c,a.l=lX((0,g.z)(d,a,b,c,100),0))};
GX=function(a,b,c){var d=XV(a.g);a=WV(a.g);d=LO(d,a);b.setVolume(c*d)};
HX=function(a){g.K.call(this);this.hd=this.o=this.A=this.D=this.l=null;this.K=this.H=!1;this.g=a;this.F=this.Xa=null;this.L={};this.N=new g.Zm(this);this.B=new g.Zm(this);this.I=new g.WF(this);g.L(this,this.I);this.C=null};
kra=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=era(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};
lra=function(a,b){var c=g.fs(b);if(!c)return null;var d=g.Pd(c);if(!d)return c;var e=g.Ma(g.Nd(d),function(a){return"#1"==a.getAttribute("timeOffset")});
if(e){var f=g.Ma(g.Nd(e),function(a){return"vmap:Extensions"==a.tagName}),k=f?g.Nd(f):[];
k=g.Ma(k,function(a){return"YTBreakTime"==a.getAttribute("type")});
f=(f=f.removeChild(k))?g.Nd(f):[];var l=e,m=1;(0,g.B)(f,function(a){a=a.getAttribute("timeOffset");a=kra(e,a,m);m++;d.insertBefore(a,l.nextSibling);l=a});
d.removeChild(e)}a.C.gC(d)||(g.cf(a.C),a.C=new DX);return c};
mra=function(a){var b=Gpa(a.g.l,WV(a.g),XV(a.g));b.GH=!0;b.hw=!1;b.cC=10;b.Ut=a.C.Ix();return b};
nra=function(a,b){var c=a.hd?a.hd.g:0;c={tfla:0<c?Math.floor((0,g.F)()/1E3-c):0};a.g.Wi.g(xX,b,c)};
pra=function(a,b){if(b){Qpa();var c=Tpa(a.g),d=ZC(a.l);if(d){var e=d.Ye();d=g.Qa(PV,e)?new QV(e,d.yc):new QV(e);e=Zpa(Zq(b));d=new ZV(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 IW(a.g),ora(a,a.A),a.A.show())};
JX=function(a,b){b&&"adLoadError"==b.Rb()&&(WV(a.g).experiments.g("enable_no_ads_ping_for_mpu_disable")&&!a.g.l.D&&a.wE(ZC(a.l),0,2,{}),IX(a))};
KX=function(a){a.A&&(a.A.dispose(),a.A=null)};
LX=function(a){var b=Xs(a);a=0<b.length?b.pop():Js(a);a=qra[a.toUpperCase()];return null!=a?a:0};
IX=function(a){a.H||(bX(a.g),a.H=!0)};
ora=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.z)(a.wE,a,ZC(a.l),b.adType))};
MX=function(a){g.kV.call(this,a);this.ce="";this.I=new g.WF(this);g.L(this,this.I);this.created=!1};
vX=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.ce;g.$U(a.g,b,c)};
bX=function(a){g.dV(a.g,a.ce)};
rra=function(a,b,c){var d={},e;for(e in b)d[a.ce+"_"+e]=b[e];b={};for(var f in c)b[a.ce+"_"+f]=c[f];a=g.GU(a.g);g.Ga(a.ca,d||null);g.Ga(a.X,b||null)};
NX=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 rV(this.B);g.L(this,this.o);
this.A=new g.WF(this);g.L(this,this.A);this.vr();this.l.element.appendChild(this.o.g.ma());this.A.O(this.C,"mouseenter",this.CL);this.A.O(this.C,"mouseleave",this.vr);this.A.O(this.B,"click",this.BL)};
OX=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.DV(this,250,!1,150);g.L(this,this.B);this.O(this.o,"adnotify",this.Bl);this.O(this.o,"discardadnotify",this.Dl)};
QX=function(a,b){MX.call(this,b);this.ce="ad";this.app=a;this.l=this.o=this.B=null;this.K=this.R=!1;this.A=this.Xa=null;N.l=!0;N.I=!1;N.Y=!1;N.W=!0;var c=N,d=!g.NE();c.H=d;N.D=0;c=a.g.experiments.l("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(N.L=c);PX(this)&&(N.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 OX(this.g),g.L(this,c),g.eV(this.g,c.element,4);this.C=new jW(this.g);g.eV(this.g,this.C.element,
4);this.H=this.X=null;this.L=-1;this.Wi=new SV(this);this.F=new g.WF(this);g.L(this,this.F);this.N=!1};
XV=function(a){return RX(a.app)};
WV=function(a){return a.app.g};
dX=function(a,b,c){if(a.B){a=a.B;c=c||{};var d=((0,g.F)()-a.F)/1E3;c.art=d;WV(a.H);c.ad_flags=a.g.adFlags;(d=a.g.contentOwnerId)&&(c.cid=d);c.mt=a.C.getCurrentTime();(d=g.LG())&&(c.lact=d);(d=a.C.getDuration())&&(c.len=d);a.g.Ya&&(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?pW(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);WV(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.Qa;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(PV,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=
gqa(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=pW(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=uW(b.g.g.app,2);k=XV(b.g);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;k.ua&&WV(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*RV(a.g.Pb):0):e.mt=Math.round(1E3*f.getCurrentTime());WV(b.g);e.ei=k.eventId;e.lact=g.LG();
e.vol=Math.round(b.g.app.H.getVolume());e.vis=b.g.g.pi();a=YV(b.g);e.p_w=a.width;e.p_h=a.height;e.rt=(0,g.F)();if(f=(f=f.l?f.l.ma():null)&&g.nd(f)===window.document?g.Eh(f):null)e.pv_h=f.getHeight(),e.pv_w=f.Bb();2==(c&&c.ad_event?pW(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);k=Wm(e);c=WV(b.g).baseYtUrl+"api/stats/ads";c=new g.Jm(c);Om(c,k);k=WV(b.g);if(b=b.g.getVideoData())if(b=b.oauthToken||k.R){g.EE(c.toString(),{headers:{Authorization:"Bearer "+b}});break a}g.WE(c.toString())}}}};
SX=function(a,b,c){c=c||{};c.ad_error=b;dX(a,7,c)};
TX=function(a,b,c){a.app.H.sa(b,c)};
sra=function(a){if(!a.R||a.app.g.experiments.g("enable_html5_midroll_tsla_update")){var b=WV(a).baseYtUrl;g.WE(b+"mac_204?action_fcts=1");a.R=!a.app.g.experiments.g("enable_html5_midroll_tsla_update")}};
UX=function(a){return a.o instanceof AX?a.o:null};
VX=function(a){return g.MU(a.app).l};
ura=function(a){var b=g.Sd(kW(a.C),g.ce()),c=a.g;if(2==KU(c.app)){c=c.app;var d=g.MU(c,2);d&&(d!=c.o?WX(c,c.o):tra(c))}c=g.X(a.g);"3"!=c.o||yM(c)||(c=g.OU(a.g),yM(c.app.g),c.F=!1,wW(c));b&&a.g.getRootNode().focus()};
YV=function(a){return a.l.B?(a=a.app.F.Ha(),new g.eh(0,0,a.width,a.height)):g.Mh(a.getRootNode())};
vra=function(a,b){a.ne("bd");var c=a.l;var d=c.midrollPrefetchSize;c=c.isLiveStream?new AX(a,b):0<d?new yX(a,b,d):new uX(a,b);a.o=c;Wqa(a.o)};
YX=function(a){var b=a.app;g.gE(function(){XX(b)},0)};
wX=function(a){var b=a.app;g.gE(function(){ZX(b)},0)};
wra=function(a,b){var c=a.app;g.gE(function(){$X(c,b)},0)};
aY=function(a){a.K=!1;var b=g.MU(a.app,2);b&&a.app.g.B.remove(b.getVideoData().videoId)};
kqa=function(a,b){switch(b){case 1:a.L=1;TX(a,"onAdStart");break;case 0:a.L=0,TX(a,"onAdEnd")}};
yW=function(a,b,c){c&&TX(a,"onAdInfoChange",c);a=a.app;1==b&&(a.I.g("vr"),a.la||(a.la=zN(a.iB,a)),Toa(a.D),DQ(a.I,a.D.getVideoData(),xra(a)));c=a.g;(g.SM(c)&&c.Cb||g.MM(c))&&a.l.sa("onAdStateChange",b)};
bY=function(a){return!!(a.l.F&&a.o&&1<a.o.xb.length)};
PX=function(a){a=a.app.g;return g.DM(a)&&!g.MM(a)&&"desktop-polymer"==a.playerStyle};
eW=function(a,b){b.contentVideoId||(b.contentVideoId=XV(a).videoId);TX(a,"updatekevlarcompanion",b)};
zra=function(a,b){a.app.g.experiments.g("desktop_companion_wta_support")&&(g.Aa(g.x("yt.www.watch.ads.addInstreamCompanionWtaUi"))?yra(b):g.mG("watchAdsInit",function(){yra(b)}))};
yra=function(a){var b=g.x("yt.www.watch.ads.addInstreamCompanionWtaUi");if(g.Aa(b)){var c=new NX;a=bqa(Os(a),Ps(a));c.bind(a);b(c.ma().element)}else g.bE(Error("Watch page is not ready after WATCH_ADS_INIT event"))};
cY=function(a,b,c){g.K.call(this);this.la=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.aa=this.C=this.K=this.B=null;this.da=g.X(a).experiments.g("web_player_defer_modules")};
g.Ara=function(a){var b=g.X(a.g);if(g.SM(b)||b.jc||!b.Kc&&!b.aa)return!1;var c=a.g.Pa();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))};
Bra=function(a){a.da&&(a.zq(),a.xq(),a.yq())};
eY=function(a,b,c,d){try{if(d){var e=g.dY[b];if(e)return new e(a.g);"creatorendscreen"==b?Cra(a,"annotations_module",c):Cra(a,b,c)}else g.dV(a.g,b)}catch(f){g.dV(a.g,b),g.bE(f)}return null};
fY=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.LU=function(a){return g.X(a.g).Qa?a.K:null};
Cra=function(a,b,c){if(a.la){for(var d=a.la+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.Fd("SCRIPT"),f=!0);var n=function(){a.ha()||c.call(a)},q=function(){a.ha()||g.dV(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).Dh)&&k.setAttribute("nonce",e),g.ad(k,g.ee(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.dY[b]=null;"annotations_module"==b&&(g.dY.creatorendscreen=null)}))}};
gY=function(a,b,c,d){g.ZF.call(this);this.o=a;this.N=(0,g.z)(b,null);this.l=0;this.D=!1;this.B=new g.hd(window.NaN,window.NaN);this.g=new g.WF(this);g.L(this,this.g);b=d?4E3:3E3;this.H=new g.ju(g.Ea(this.ac,1,!1),b,this);g.L(this,this.H);this.I=new g.ju(g.Ea(this.ac,2,!1),b,this);g.L(this,this.I);this.L=new g.ju(g.Ea(this.ac,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.gt),this.g.O(a,"mousemove",this.rN),this.g.O(a,"mouseleave",this.tO));
g.uh?this.g.O(a,"keypress",this.mK):this.g.O(a,"focusin",this.TH);this.C=this.g.O(a,"mousedown",this.mA);this.F=this.g.O(a,"touchstart",this.oA,void 0,!0);this.R=null;this.ac(640,!0)};
Dra=function(a){a.ac(4,!1);a.K&&(a.g.Aa(a.K),a.K=null,a.A=a.g.O(a.o,"mouseover",a.gt));a.A&&(a.g.Aa(a.A),a.A=a.g.O(a.o,"mouseover",a.gt))};
g.hY=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.ju(this.show,10,this);g.L(this,this.A);this.o=new g.ju(this.hide,500,this);g.L(this,this.o);this.B=a;this.hide()};
jY=function(a,b){if(b)g.W(g.NU(a.B),64)||iY(a,vpa(),g.T("YTP_PLAY"));else{var c=a.B.getVideoData();c.ua&&!c.ig?iY(a,zpa(),g.T("YTP_STOP")):iY(a,tpa(),g.T("YTP_PAUSE"))}};
kY=function(a,b,c){0>=b?(c=CV(),b=g.T("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?Bpa():Apa(),b=Math.floor(b)+"% "+g.T("YTP_SCREENREADER_VOLUME_SETTING"));iY(a,c,b)};
Era=function(a,b,c){c=c?g.wV?{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.wV?{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)});iY(a,c,b)};
Fra=function(a){iY(a,wpa(),g.T("YTP_PREVIOUS"))};
iY=function(a,b,c){a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.mu(a.o);a.A.start()};
lY=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.wV?{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.wV?{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.wV?{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.wV?{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.wV?{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.WF(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.DV(this,250);g.L(this,this.B);this.A=new g.ju(this.rA,0,this);g.L(this,this.A);this.rA();this.O(a,"presentingplayerstatechange",this.DN);this.O(a,"ypcStateChanged",this.nT);xM(g.X(a))&&this.O(a,"videoplayerreset",this.CN)};
g.mY=function(a){return KQ(a)?(a.fetch=0,new g.JQ(a)):new g.iO(a)};
nY=function(a){g.K.call(this);this.B=a;this.A=new cD(0,0,.4,0,.2,1,1,1);this.l=new g.gu(this.o,window,this);g.L(this,this.l)};
oY=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.WF(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.ra(this.element);this.H=new g.U({G:"div",M:"ytp-suggestions"});g.L(this,this.H);this.H.ra(this.element);this.K=new g.U({G:"button",ba:["ytp-button","ytp-previous"],P:{"aria-label":g.T("YTP_PREVIOUS")},J:[g.xV()]});g.L(this,
this.K);this.K.ra(this.element);this.K.U("click",this.XN,this);this.aa=new nY((0,g.z)(this.wA,this));g.L(this,this.aa);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.ra(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.ZN,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.yV()]});g.L(this,this.I);this.I.ra(this.element);this.I.U("click",this.WN,this);Gra(this,g.OU(this.B).Ha());Hra(this);Ira(this);this.show()};
Gra=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.wA(0);pY(a)}};
Hra=function(a){var b=a.B.getVideoData();if(b.suggestions){var c=(0,g.Md)(b.suggestions,function(a){return a&&!a.list});
a.o=(0,g.G)(c,function(a){return g.mY(a)})}else a.o.length=0;
Ira(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")})};
Jra=function(a,b){var c=g.cd(b,a.F-a.o.length*(a.W+a.A),0);a.aa.start(a.C,c,1E3);a.C=c;pY(a)};
pY=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.R(a.element,"ytp-scroll-min",0<=b);g.R(a.element,"ytp-scroll-max",b<=c)};
Ira=function(a){for(var b=g.X(a.B),c=0;c<a.o.length;c++){var d=a.o[c].Ub(),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.FV(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";pY(a)};
qY=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.gu(this.H,void 0,this);g.L(this,this.o);this.F=new g.ju(this.o.Ok,75,this.o);g.L(this,this.F);Kra(this,a,b)};
Lra=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};
Kra=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.Fd("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=Lra(b);a.K=Lra(c/10);a.A.scale(1.5,1.5);a.A.fillStyle="rgba(255, 255, 255, 0.02)"}};
rY=function(a){var b=g.X(a),c=b.experiments.g("enable_uturn_error_screen")&&b.g;b=b.protocol+"://"+JM(b);if(c){var d=new oY(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.wV?{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.wV?{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 qY(1,1),g.L(this,this.A),this.A.ra(this.element,0)}catch(e){}Mra(this,g.OU(this.o).Ha())};
Mra=function(a,b){sY(a,function(a){Kra(a,b.width,b.height)});
a.C&&Nra(a,g.OU(a.o).Ha())};
Nra=function(a,b){a.g["ytp-error-content"].style.paddingTop="0px";var c=a.g["ytp-error-content"],d=c.clientHeight;Gra(a.B,b,b.height-d);var e=g.OU(a.o).Ha().height;c.style.paddingTop=(e-a.B.element.clientHeight)/2-d/2+"px";c=a.g["ytp-small-redirect"];a.B.isHidden()?c.style.display="inline":c.style.display=""};
sY=function(a,b){if(a.A)try{b.call(a,a.A)}catch(c){a.A.dispose(),a.A=null}};
tY=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}};
vY=function(a,b){g.WF.call(this);this.g=a;this.A=b;this.o=new window.Set;this.l=window.navigator.mediaSession;uY(this,"play",function(){jY(b,!0);a.od()});
uY(this,"pause",function(){jY(b,!1);a.cd()});
uY(this,"seekbackward",function(){iY(b,xpa());a.he(-5*a.Rc())});
uY(this,"seekforward",function(){iY(b,qpa());a.he(5*a.Rc())});
this.O(a,"videodatachange",this.C);this.O(a,"presentingplayerstatechange",this.B);this.C()};
uY=function(a,b,c){a.l.setActionHandler(b,c?(0,g.z)(c,a):null);a.o.add(b)};
wY=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.ra(this.element);this.K=a;this.A=null;this.H=!1;this.C=new g.DV(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)};
Ora=function(a,b){var c=wO(b),d=xO(b);a.o?b.videoId&&b.videoId!=a.A&&(g.mu(a.o),a.A=b.videoId,c=a.B[b.videoId]||0,a.H=!!d&&3E3>c):c&&d&&(a.o=new g.ju(a.L,d,a),g.L(a,a.o),g.Ud(g.H("ytp-paid-content-overlay-text",a.element),c))};
Pra=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())};
yY=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.ju(this.show,500,this);g.L(this,this.A);this.B=!0;Qra(this,!1);this.O(a,"presentingplayerstatechange",this.iO);this.O(a,"onFrescaStateChange",this.cQ);this.O(a,"playbackstalledatstart",this.tR);this.O(a,"videodatachange",this.mB);this.O(a,"videoplayerreset",this.mB);xY(this,g.NU(a))};
Qra=function(a,b){if(b!=a.B){var c;b?c={G:"div",ba:["ytp-spinner-container","ytp-fidget-spinner"],J:[g.wV?{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=kX();a.update({icon:c});a.B=b}};
xY=function(a,b){if(g.W(b,128))var c=0;else!(c=g.W(b,16))&&(c=g.W(b,1))&&(c=g.GU(a.o).F,c=!(c&&c.loaded));c?a.A.start():a.hide()};
zY=function(a,b,c,d){d=void 0===d?!1:d;g.JH.call(this,b);this.aa=a;this.ca=d;this.K=null;this.I=new g.WF(this);g.L(this,this.I);this.L=new g.DV(this,c,!0);g.L(this,this.L);this.C=null};
Rra=function(a){a.C&&(window.document.activeElement&&g.Sd(a.element,window.document.activeElement)&&(g.Zd(a.C),a.C.focus()),a.C.removeAttribute("aria-expanded"),a.C=null);g.YF(a.I);a.K=null};
AY=function(a){return a.l&&3!=a.L.g};
BY=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"));zY.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.wV?{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.IH(this,a);a&&Sra(this)};
Tra=function(a){a.B||(a.B=!0,g.UU(a.o,"mutedAutoplayClick",{}))};
Sra=function(a){a.A||(a.A=!0,g.UU(a.o,"mutedAutoplayImpression",{}))};
CY=function(a){g.WF.call(this);var b=g.X(a),c=g.OU(a);this.g=a;this.Jb=!1;this.I=null;this.jb=!1;this.Ya=new g.ju(this.bP,0,this);g.L(this,this.Ya);var d=new lY(a);g.L(this,d);g.eV(a,d.element,4);if(!KE("tizen")){var e=new yY(a);g.L(this,e);e=e.element;g.eV(a,e,4)}this.C=new g.hY(a);g.L(this,this.C);g.eV(a,this.C.element,4);var f=a.getVideoData();this.o=new gY(c,(0,g.z)(this.uN,this),f,b.useTabletControls);g.L(this,this.o);this.o.subscribe("autohideupdate",this.Dt,this);var k=new wY(a);g.L(this,k);
g.eV(a,k.element,4);this.ca=new BY(a);g.L(this,this.ca);g.eV(this.g,this.ca.element,2);this.ob=this.g.app.Y;this.O(a,"mutedautoplaychange",this.vN);this.X=new g.ju(this.ht,200,this);g.L(this,this.X);this.pa=f.videoId;this.B=null;this.Qa=!1;this.Ta=null;this.ea=[];f=a.getRootNode();f.setAttribute("aria-label",g.T("YTP_PLAYER_NORMAL"));switch(b.color){case "white":g.Q(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 vY(a,this.C),g.L(this,f));this.O(a,"appresize",this.wb);this.O(a,"presentingplayerstatechange",this.zR);this.O(a,"videodatachange",this.pA);this.O(a,"videoplayerreset",this.vR);this.O(a,"autonavvisibility",this.Hi,this);g.X(a).experiments.g("player_minimized_controls_killswitch")&&this.O(a,"minimized",this.cg,this);this.O(a,"onFrescaStateChange",this.cg,this);this.O(c,"click",this.bS,this);this.O(c,"dblclick",this.cS,this);b.ca&&(this.O(c,"gesturechange",
this.dS,this),this.O(c,"gestureend",this.eS,this));this.za=[c.D,d.element,this.C.element];e&&this.za.push(e)};
EY=function(a){return g.X(a.g).experiments.g("player_minimized_controls_killswitch")?g.DY(a.g.app):!1};
FY=function(a,b){if(!b)return!1;var c=a.g.app.B.ma();if(c&&g.Sd(c,b))return c.controls;for(c=0;c<a.za.length;c++)if(g.Sd(a.za[c],b))return!1;return g.Aq(b,"ytp-player-content")||g.Aq(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0};
Ura=function(a,b){if(g.GV(b)&&a.g.app.Y){a.g.Tf();2==a.g.Pa()&&a.g.od();var c=g.NU(a.g);!g.W(c,4)||g.W(c,8)||g.W(c,2)||a.ht();return!0}return!1};
Vra=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.RU(a.g):c>1+b&&g.RU(a.g)};
HY=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.wV?{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.wV?{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.DV(this,250,!0,100);g.L(this,this.B);a=g.X(this.o);b=g.OU(this.o).Ha().width;b=a.g&&480<b;a.D&&g.R(this.D,"ytp-show-cards-title",b);this.hide();this.U("click",this.F);this.U("mouseover",this.H);GY(this,!0)};
GY=function(a,b){b?a.A=IY(a.C.Gb(),a.element):(a.A(),a.A=null)};
JY=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.DV(this,250,!1,250);g.L(this,this.D);this.K=b;this.o=null;this.I=new g.ju(this.YQ,300,this);g.L(this,this.I);this.H=new g.ju(this.WQ,2E3,this);g.L(this,this.H);this.L=new g.sp(null);this.F=[];this.C=this.B=null;this.O(b.element,"mouseover",this.qA);this.O(b.element,"mouseout",this.qh);
this.O(a,"cardsteasershow",this.zS);this.O(a,"cardsteaserhide",this.xl);this.O(a,"cardstatechange",this.DD);this.O(a,"presentingplayerstatechange",this.DD);this.U("click",this.wU);this.U("mouseenter",this.wN)};
Wra=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.tp(a.L,b.teaserText));a.D.show();a.B=new g.ju(function(){g.Q(this.A.getRootNode(),"ytp-cards-teaser-shown")},0,a);
a.B.start();GY(a.K,!1);a.o=new g.ju(a.xl,580+b.durationMs,a);a.o.start();a.F.push(a.U("mouseover",a.qA,a));a.F.push(a.U("mouseout",a.qh,a))};
KY=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.JH.call(this,f);this.W=b;b.ra(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.LY=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.JH({G:"div",M:"ytp-panel-menu",P:f});KY.call(this,a,b,c,d,e);this.F=b;g.L(this,this.F);this.Ga=[]};
g.MY=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,Xra);if(0<=c)return;c=~c;g.bb(a.Ga,c,0,b);Kd(a.F.element,b.element,c)}b.subscribe("size-change",a.aa,a);a.F.T("size-change")};
g.Yra=function(a,b){b.unsubscribe("size-change",a.aa,a);a.ha()||(g.Wa(a.Ga,b),a.F.element.removeChild(b.element),a.F.T("size-change"))};
g.Zra=function(a){for(var b=g.la(a.Ga),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.aa,a);a.Ga=[];g.Jd(a.F.element);a.F.T("size-change")};
Xra=function(a,b){return b.priority-a.priority};
g.NY=function(a,b){zY.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.LN)};
$ra=function(a){g.Kh(a.element,a.R||"100%",a.N||"100%");var b=OY(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.QY=function(a,b){var c=a.o[a.o.length-1];a.o.push(b);PY(a,c,b)};
g.RY=function(a){var b=a.o.pop(),c=a.o[0];a.o=[c];PY(a,b,c,!0)};
PY=function(a,b,c,d){asa(a);OY(a);g.Aq(c.element,"ytp-panel-animate-back")||g.Aq(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Pl,a),b.unsubscribe("back",a.Pe,a));c.subscribe("size-change",a.Pl,a);c.subscribe("back",a.Pe,a);if(a.l){g.Q(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.ra(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;$ra(a);g.Kh(a.element,e);a.F=new g.ju(g.Ea(a.sU,b,c,d),20,a);a.F.start()}else c.ra(a.element),
b&&g.HH(b)};
OY=function(a){return a.o[a.o.length-1]};
asa=function(a){a.F&&g.lu(a.F);a.D&&g.lu(a.D)};
SY=function(a){var b=g.MH({"aria-haspopup":"true"});g.LH.call(this,b,a);this.U("keydown",this.o)};
TY=function(a,b){a.element.setAttribute("aria-haspopup",b)};
UY=function(a,b){var c=g.MH({role:"menuitemcheckbox","aria-checked":"false"});g.LH.call(this,c,b,a,{G:"div",M:"ytp-menuitem-toggle-checkbox"});this.A=!1;this.U("click",this.K)};
VY=function(a,b){a.A=b;a.element.setAttribute("aria-checked",a.A)};
WY=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.WE(d)};
XY=function(a,b,c,d){g.LY.call(this,a);this.o=a;this.L=c;this.N=d;this.C=new SY(8);g.L(this,this.C);g.MY(this,this.C,!0);this.C.U("click",this.iQ,this);hV(a,this.C.element,this.C,28659);this.B=new SY(7);g.L(this,this.B);g.MY(this,this.B,!0);this.B.U("click",this.hQ,this);hV(a,this.B.element,this.B,28660);this.A=new SY(6);g.L(this,this.A);g.MY(this,this.A,!0);this.A.U("click",this.fQ,this);hV(a,this.A.element,this.A,28658);this.D=new UY(g.T("YTP_LOOP"),5);g.L(this,this.D);g.MY(this,this.D,!0);this.D.U("click",
this.DQ,this);hV(a,this.D.element,this.D,28661);this.R=new g.LH(g.MH({href:"{{href}}",target:"_blank"},void 0,!0),4,g.T("YTP_TROUBLESHOOT_ISSUE"));g.L(this,this.R);g.MY(this,this.R,!0);this.R.U("click",this.VR,this);this.K=new SY(3);g.L(this,this.K);g.MY(this,this.K,!0);this.K.U("click",this.eQ,this);b=new g.LH(g.MH(),2,g.T("YTP_SHOW_VIDEO_INFO"));g.L(this,b);g.MY(this,b,!0);b.U("click",this.qS,this);this.I=new g.JH({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.GP,this);this.ca=new KY(a,this.I);g.L(this,this.ca);this.H=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.GI&&g.rc(43)&&(b=!0);g.JL&&!g.rc(41)&&(b=!1);b&&(this.H=new g.U({G:"textarea",M:"ytp-html5-clipboard"}),g.L(this,this.H),this.H.ra(this.element));this.O(a,"loopchange",this.CQ);this.O(a,"videodatachange",this.AN);bsa(this);csa(this,this.o.getVideoData())};
YY=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.QY(a.L,a.ca),mX(a.I.element),a.H&&(a.H=null,bsa(a)));return d};
csa=function(a,b){var c=g.X(a.o),d=2!=a.o.Pa()||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.Ia&&(c.fmt=iI(b.Ia)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.mf&&(c.partnerid=b.mf),c=g.Ug("//support.google.com/googleplay/",c));g.IH(a.A,d&&b.allowEmbed);g.IH(a.C,d);g.IH(a.B,d&&!b.ua);a.R.Ib(c,"href")};
bsa=function(a){var b=!!a.H;g.KH(a.K,g.T(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));TY(a.K,!b);g.KH(a.A,g.T(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));TY(a.A,!b);g.KH(a.C,g.T(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));TY(a.C,!b);g.KH(a.B,g.T(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));TY(a.B,!b)};
dsa=function(a,b){g.jV(a.o,a.A.element,b);g.jV(a.o,a.C.element,b);g.jV(a.o,a.B.element,b);g.jV(a.o,a.D.element,b)};
ZY=function(a,b,c){g.NY.call(this,a);this.A=a;this.da=b;this.W=c;this.B=new g.WF(this);g.L(this,this.B);this.H=null;hV(a,this.element,this,28656);g.Q(this.element,"ytp-contextmenu");g.X(a).isDni&&g.Q(this.element,"ytp-dni");esa(this);this.hide()};
esa=function(a){g.YF(a.B);"gvn"!=g.X(a.A).playerStyle&&a.B.O(g.OU(a.A),"contextmenu",a.FP)};
fsa=function(a){a.A.isFullscreen()?g.eV(a.A,a.element,9):a.ra(window.document.body)};
$Y=function(a,b,c,d,e,f){g.WF.call(this);this.g=a;this.D=c;this.B=d;this.l=e;this.C=f;this.A=new g.ju(g.Ea(this.tA,!1),1E3,this);g.L(this,this.A);this.o="";a=g.Ea(this.ju,!1);this.O(b,"mousedown",a);this.O(c.element,"mousedown",a);this.O(b,"keydown",this.Zx);this.O(c.element,"keydown",this.Zx);this.O(b,"keyup",this.ay);this.O(c.element,"keyup",this.ay)};
hsa=function(a,b,c){var d=!1,e=g.X(a.g);if(!e.Kd){switch(b){case 80:c&&!e.F&&(Fra(a.l),a.g.rl(),d=!0);break;case 78:c&&!e.F&&(iY(a.l,AV(),g.T("YTP_NEXT")),a.g.Gj(),d=!0);break;case 74:a.g.bd()&&(iY(a.l,g.wV?{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.he(-10*a.g.Rc()),d=!0);break;case 76:a.g.bd()&&(iY(a.l,g.wV?{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.he(10*a.g.Rc()),d=!0);break;case 77:a.g.isMuted()?(a.g.Tf(),kY(a.l,a.g.getVolume(),!1)):(a.g.mute(),kY(a.l,0,!0));d=!0;break;case 75:e.F||(d=!zP(g.NU(a.g)),jY(a.l,d),d?a.g.od():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.Rf(d,!0),Era(a.l,d,!1),d=!0)}else a.g.bd()&&(gsa(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.Rf(d,!0),Era(a.l,d,!0),d=!0)}else a.g.bd()&&(gsa(a,
-1),d=!0);break;case 70:Rqa(a.g)&&(g.RU(a.g),d=!0)}d&&a.B.ac(2,!0)}return d};
bZ=function(a,b,c,d){var e=g.GU(a.g).l;if(!e||!e.loaded)return!1;e=a.g.oi();for(var f,k=0;k<g.aZ.length;k++){var l=g.aZ[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.tA(!0);a.A.start();return!0};
gsa=function(a,b){a.g.bd();if(g.W(g.NU(a.g),4)){var c=a.g.getVideoData().Ia;c&&(c=c.video)&&a.g.he(b/(c.fps||30))}};
cZ=function(a,b){g.U.call(this,{G:"div",M:"ytp-pause-overlay"});this.o=a;this.aa=b;this.B=new g.WF(this);g.L(this,this.B);this.R=new g.DV(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.ra(this.element);this.H=new g.U({G:"div",M:"ytp-suggestions"});g.L(this,this.H);this.H.ra(this.element);this.L=new g.U({G:"button",ba:["ytp-button","ytp-previous"],P:{"aria-label":g.T("YTP_PREVIOUS")},
J:[g.xV()]});g.L(this,this.L);this.L.ra(this.element);this.L.U("click",this.NN,this);c=g.GI||g.gf?{style:"will-change: opacity"}:null;this.ca=new nY((0,g.z)(this.uA,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.ra(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.ON,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.yV()]});g.L(this,this.K);this.K.ra(this.element);this.K.U("click",this.MN,this);c={"aria-label":g.T("YTP_CLOSE")};c=new g.U({G:"button",ba:["ytp-button","ytp-collapse"],
P:c,J:[g.wV?{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.ra(this.element);c.U("click",this.qP,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.ra(this.element);this.I.U("click",this.sP,this);this.B.O(this.o,"appresize",this.jt);this.B.O(this.o,"fullscreentoggled",
this.PN);this.B.O(this.o,"presentingplayerstatechange",this.QN);this.B.O(this.o,"videodatachange",this.RN);this.jt(g.OU(this.o).Ha())};
isa=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;dZ(a)};
dZ=function(a){var b=a.aa.nd();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.R(a.element,"ytp-scroll-min",0<=b);g.R(a.element,"ytp-scroll-max",b<=c)};
jsa=function(a){for(var b=g.X(a.o),c=0;c<a.A.length;c++){var d=a.A[c].Ub(),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.FV(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";dZ(a)};
eZ=function(a,b,c){var d=b.Ub(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.zb=c;this.U("click",this.A)};
fZ=function(a){zY.call(this,a,{G:"div",M:"ytp-playlist-menu",P:{role:"dialog",id:BH()},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.zV()]}]},{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.BS);this.A=a;this.D=this.H=this.o=null;this.Ga=this.g["ytp-playlist-menu-items"];this.F=new g.WF(this);g.L(this,this.F);this.B=[];this.hide()};
ksa=function(a,b){if(a.o!=b)if(a.o&&a.o.unsubscribe("shuffle",a.Lo,a),a.o=b,a.H=null,b){b.subscribe("shuffle",a.Lo,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.de()+1),PLAYLIST_LENGTH:String(b.getLength())}),playlisturl:a.A.getVideoUrl(!0)});a.Lo()}else a.l&&a.hide();else a.o&&a.Lo()};
gZ=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.wV?{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,IY(this.C,this.element));this.U("click",(0,g.z)(c.xh,c,this.element,!1))};
hZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-replay-button","ytp-button"],P:{title:g.T("YTP_REPLAY")},J:[g.BV()]});this.o=a;this.O(a,"presentingplayerstatechange",this.B);this.U("click",this.A,this);var c=g.NU(a);g.IH(this,g.W(c,2));IY(b.Gb(),this.element)};
iZ=function(a,b){var c=BH();c={G:"div",M:"ytp-share-panel",P:{id:BH(),role:"dialog","aria-labelledby":c},J:[{G:"button",ba:["ytp-share-panel-close","ytp-button"],P:{title:g.T("YTP_CLOSE")},J:[g.zV()]},{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:[kX()]},{G:"div",M:"ytp-share-panel-service-buttons",J:["{{buttons}}"]},{G:"div",M:"ytp-share-panel-error",J:[g.T("YTP_SHARE_PANEL_ERROR")]}]}]};zY.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,
IY(this.A,this.F));this.H=this.g["ytp-share-panel-include-playlist-checkbox"];this.O(this.H,"click",this.xA);this.D=this.g["ytp-share-panel-link"];g.bf(this,IY(this.A,this.D));this.U("click",this.nR);this.O(a,"videoplayerreset",this.hide);this.O(a,"fullscreentoggled",this.cO);this.hide()};
lsa=function(a){switch(a){case "facebook":return g.wV?{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.wV?{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.wV?{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}};
msa=function(a){for(var b=g.la(a.B),c=b.next();!c.done;c=b.next())c=c.value,g.HH(c),g.cf(c);a.B=[]};
jZ=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.wV?{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;hV(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,IY(b.Gb(),this.element))};
kZ=function(a){zY.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:[AV()]}]},100);var b=this;this.o=a;this.F=!1;this.D=new g.ju(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.Jy,b.A=d.Iy,(0,window.isNaN)(b.B)||(0,window.isNaN)(b.A))b.F&&(g.cV(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.EQ(b.B,b.A,{priority:7,namespace:"intro"});
g.$U(b.o,[c]);b.F=!0}});
this.O(this.element,"click",function(){b.o.Zb(b.A/1E3)});
this.hide()};
lZ=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,IY(b.Gb(),this.element))};
mZ=function(a){g.JH.call(this,{G:"div",M:"ytp-gradient-bottom"});this.A=g.Fd("CANVAS");this.A.width=1;this.o=this.A.getContext("2d");this.B=window.NaN;nsa(this,g.OU(a).Ha().height)};
nsa=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()+")"}}};
nZ=function(a,b,c,d,e){var f=b.zt/b.rows,k=Math.min(c/(b.At/b.columns),d/f),l=b.At*k,m=b.zt*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)};
oZ=function(a,b){g.JH.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.dl(this.rK,250,this);g.L(this,this.N);this.I=g.OU(a).Ha().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.aa=this.g["ytp-storyboard-thumbnail"];g.Ld(this.aa);this.K=0;this.R=!1;this.L=this.C=this.B=window.NaN;this.Hb=this.D=null;this.F=new g.WF(this);g.L(this,this.F);this.H=new g.DV(this,100);g.L(this,this.H);this.O(this.A,"appresize",this.JI);this.O(this.A,"presentingplayerstatechange",this.EN)};
pZ=function(a,b){var c=!!a.Hb;c&&a.Hb.unsubscribe("l",a.qp,a);a.Hb=b&&g.zO(b);a.R=!!b&&b.ua;a.Hb?(c||(a.F.O(a.A,"videodatachange",a.FN),a.F.O(a.A,"progresssync",a.qo),a.F.O(a.A,"videoplayerreset",a.qo)),a.Hb.subscribe("l",a.qp,a),a.L=window.NaN,a.B=window.NaN,a.C=window.NaN,a.qo(),a.H.show(200)):(c&&g.YF(a.F),a.N.stop(),g.FG(a.K),a.H.hide(),a.H.stop())};
osa=function(a,b,c,d){var e=a.aa.cloneNode(!1);a=gN(a.Hb,b,c);nZ(e,a,c,d);return e};
qZ=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.WF(this);g.L(this,this.A);this.B=new g.DV(this,100);g.L(this,this.B);this.O(this.o,"presentingplayerstatechange",this.GN)};
sZ=function(a,b){var c=!!a.Hb;a.Hb=b&&g.zO(b);a.Hb?(c||(a.A.O(a.o,"videodatachange",a.IN),a.A.O(a.o,"progresssync",a.HN),a.A.O(a.o,"appresize",a.KI)),a.C=window.NaN,rZ(a),a.B.show(200)):(c&&g.YF(a.A),a.B.hide(),a.B.stop())};
rZ=function(a){var b=a.o.getCurrentTime(),c=g.OU(a.o).Ha(),d=fN(a.Hb,c.width);b=a.Hb.g[d].Ij(b);b!=a.C&&(a.C=b,iN(a.Hb,b,c.width),b=gN(a.Hb,b,c.width),nZ(a.D,b,c.width,c.height))};
tZ=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=IY(b.Gb(),this.element);this.C=new g.ju(this.wH,2E3,this);g.L(this,this.C);this.O(a,"fullscreentoggled",this.SC);this.O(a,"presentingplayerstatechange",this.sA);this.U("click",this.JN);if(xF()){var c=g.OU(this.A);this.O(c,Vja(),this.rB);this.O(c,AF(window.document),this.KN)}g.X(a).ca||psa(this);this.sA();this.SC(a.isFullscreen())};
psa=function(a){if(!a.o){var b=g.T(null!=wF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.o=new zY(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.cn,a.D,a.o));g.eV(a.A,a.o.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.B();a.B=null}};
uZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-miniplayer-button","ytp-button"],P:{title:g.T("YTP_MINIPLAYER_BUTTON")},J:[upa()]});this.o=a;this.U("click",this.A);g.bf(this,IY(b.Gb(),this.element))};
vZ=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.zV()]}]}]},{G:"div",M:"ytp-multicam-menu-items"}]};zY.call(this,a,b,250);this.B=new g.WF(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()};
wZ=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.wV?{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.ju(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,IY(this.A,this.element))};
xZ=function(){g.K.call(this);this.B=null;this.A=this.g=0;this.o=new g.gu(this.l,null,this);g.L(this,this.o)};
qsa=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=qsa(a,d)))return d}};
tsa=function(a,b,c){c=qsa(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=BH();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=rsa(e),m=rsa(c);yZ(a,function(a){d.setAttribute("d",ssa(l,m,a))},200)};
yZ=function(a,b,c){a.B=b;a.A=g.yG();a.g=c;a.l()};
rsa=function(a){var b=[];a=a.match(usa);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};
ssa=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};
zZ=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",CV());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.DH({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 xZ;g.L(this,this.X);this.N=new xZ;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,IY(b.Gb(),this.element)):(c=g.T("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new zY(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.cn,b,d)),g.eV(a,d.element,4));this.aa=d;hV(a,this.element,this,28662);this.Nc(g.OU(a).Ha());vsa(this,a.getVolume(),a.isMuted())};
vsa=function(a,b,c){var d=c?0:b/100,e=g.X(a.o);if(e.H)d=0==d?CV():0<d&&.5>d?Bpa():Apa(),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)?wsa(a,b):yZ(a.X,(0,g.z)(function(a){wsa(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)?xsa(a,d):yZ(a.N,(0,g.z)(function(a){xsa(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")),AZ(a.ca))};
wsa=function(a,b){a.R=b;var c=a.fa;b&&(c+=ssa(ysa,zsa,b));a.W.setAttribute("d",c)};
xsa=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=CV():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)};
BZ=function(a,b){g.U.call(this,{G:"button",ba:["ytp-pip-button","ytp-button"],P:{title:g.T("YTP_PIP")},J:[upa()]});this.o=a;this.U("click",this.A);g.bf(this,IY(b.Gb(),this.element))};
g.CZ=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 xZ;g.L(this,this.D);this.O(a,"fullscreentoggled",this.F);this.O(a,"presentingplayerstatechange",this.H);this.O(a,"videodatachange",this.F);Asa(this,g.NU(a));this.U("click",this.I,this)};
Bsa=function(a){switch(a){case 1:return vpa();case 2:return tpa();case 3:return g.BV();case 4:return zpa();default:return null}};
Asa=function(a,b){var c=g.DO(a.A.getVideoData()),d=!1;if(zP(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=IY(a.C,a.element)),a.update({title:f,label:null,icon:Bsa(e)})):(a.o&&(a.o(),a.o=null),a.update({title:null,label:f}),(c=Bsa(e))&&a.B&&3!=a.B&&!g.X(a.A).H?tsa(a.D,a.element,c):a.updateValue("icon",c));AZ(a.C);a.B=e}};
g.EZ=function(a,b,c){if(c){var d="ytp-next-button";var e=AV()}else d="ytp-prev-button",e=wpa();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(){DZ(this);this.Nc()});
this.Jj()};
Csa=function(a){a.A&&a.A.unsubscribe("shuffle",a.Jj,a)};
Dsa=function(a){return!!a.A&&!a.B&&!!a.F&&!a.F.ua&&3<=a.o.getCurrentTime()&&2!=a.o.Pa()};
Esa=function(a){var b=g.LU(g.GU(a.o));return b?a.B?b.hasNext():b.If():!1};
DZ=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.X(a.o),d=PU(a.o),e=a.B&&g.fV(a.o),f=Esa(a);if(a.D)b.title=g.T("YTP_REPLAY");else if(d){var k=null;a.A&&(k=a.A.Ub(a.B?LQ(a.A):MQ(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.FV(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.mY(a.F.suggestions[0]),b.url=k.Nk(c),b.text=k.title,b.duration=k instanceof g.iO?g.FV(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=IY(a.L,a.element),a.I=a.U("click",a.TN,a)):a.C&&(a.C(),a.C=null,a.Aa(a.I),a.I=null);AZ(a.L)};
Fsa=function(){this.l=this.position=this.A=this.g=this.B=this.o=this.width=window.NaN};
g.FZ=function(a,b){g.JH.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",opa());this.updateValue("clipendicon",npa());this.A=a;this.Ca=b.Gb();this.Ta=!1;this.C=this.Ma=0;this.aa=1;this.Mc=this.I=0;this.B=null;this.ob=!1;this.K=this.oa=0;this.dd=this.g["ytp-ad-progress-list"];this.wd=this.g["ytp-marker-progress-list"];this.Ld=
this.g["ytp-marker-icons"];this.jb=this.g["ytp-marker-crenellation-list"];this.W={};this.la={};this.R={};this.ca=[];this.L=window.Infinity;var c=b.Gb();this.da=this.g["ytp-clip-end"];g.bf(this,IY(c,this.da));this.pa=new g.aG(this.da,!0);g.L(this,this.pa);this.pa.subscribe("hoverstart",this.gB,this);this.pa.subscribe("hoverend",this.fB,this);this.O(this.da,"click",this.Ko);this.Ya=this.g["ytp-clip-end-exclude"];this.Jd=this.g["ytp-clip-start-exclude"];this.N=0;this.ea=this.g["ytp-clip-start"];g.bf(this,
IY(c,this.ea));this.Ba=new g.aG(this.ea,!0);g.L(this,this.Ba);this.Ba.subscribe("hoverstart",this.gB,this);this.Ba.subscribe("hoverend",this.fB,this);this.O(this.ea,"click",this.Ko);this.wc=this.g["ytp-load-progress"];this.fa=0;this.xd=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.yd=this.g["ytp-scrubber-button"];this.zd=this.g["ytp-scrubber-container"];this.za=new g.hd;this.Db=new Fsa;this.o=new HV(0,0);this.F=this.Qa=
!1;this.Vb=null;this.O(a,"presentingplayerstatechange",this.EI);this.O(a,"videodatachange",this.vA);this.O(a,"videoplayerreset",this.DI);this.O(a,"cuerangesadded",this.ED);this.O(a,"cuerangesremoved",this.KT);this.O(a,"cuerangemarkersupdated",this.ED);this.O(a,"onPlaybackQualityChange",this.II);Gsa(this,a.getVideoData(),!0)};
g.Isa=function(a){Hsa(a);var b=a.A.getCurrentTime();(b<a.N||b>a.L)&&a.Ko()};
Hsa=function(a){if(a.C){var b=a.A.kh(),c=new HV(b.seekableStart,b.seekableEnd),d=JV(c,b.loaded,0);b=JV(c,b.current,0);var e=a.o.l!=c.l||a.o.g!=c.g;a.o=c;GZ(a,b,d);e&&g.HZ(a);Jsa(a)}};
Gsa=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Ed();a.Qa=d&&b.ig;Ksa(a,a.A.bd());c&&(d?(c=b.clipEnd,a.N=b.clipStart,a.L=c,IZ(a),GZ(a,a.H,a.fa)):a.Ko(),b=a.Ca,1==b.o&&b.af());Hsa(a)};
Lsa=function(a){return!!a&&a.Ed()&&!!a.Ia&&a.Ia.video.isAccelerated&&a.Ia.video.o};
JZ=function(a,b){a.ob=b;g.R(a.wc,"ytp-fast-load",b)};
Msa=function(a,b,c,d){b=g.cd(b,0,a.F?60:40);a.I=b;var e=a.aa,f=Math.max(a.o.getLength()/a.C,1);a.aa=b/(a.F?60:40)*(f-1)+1;b=a.C*a.aa;a.K=g.cd(d*b-c,0,b-a.C);e!=a.aa&&g.HZ(a)};
g.HZ=function(a){var b=KZ(a),c=-b.o/b.g,d=(-b.o+b.width)/b.g,e=g.Nd(a.jb),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.Fd("DIV"),a.jb.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.Qa?a.o.g:0;a.update({boundTimeLeft:g.FV(IV(a.o,c)-b),boundTimeRight:g.FV(IV(a.o,d)-b)});for(c=
e.length-1;c>=f;c--)g.Ld(e[c]);a.element.style.height=a.I+(a.F?8:5)+"px";a.T("height-change",a.I);a.yd.style.height=a.I+(a.F?20:13)+"px";for(var q in a.W)Nsa(a,q);LZ(a);IZ(a);GZ(a,a.H,a.fa)};
KZ=function(a){var b=a.za.x,c=a.C*a.aa;b=g.cd(b,0,a.C);a.Db.update(b,a.C,-a.K,-(c-a.K-a.C));return a.Db};
GZ=function(a,b,c){a.H=b;a.fa=c;var d=KZ(a),e=a.o.g,f=IV(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.FV(f),DURATION:g.FV(e)})});e=JV(a.o,a.N,0);var k=JV(a.o,a.L,1);f=g.cd(b,e,k);c=a.ob?1:g.cd(c,e,k);g.sh(a.zd,"transform","translateX("+(b*d.g+d.o)+"px)");MZ(a,a.xd,d,e,f);MZ(a,a.wc,d,e,c)};
Osa=function(a,b,c){b=Math.max(c*b.g+b.o,0);a.style.left=b+"px";return b};
MZ=function(a,b,c,d,e,f){f=void 0===f?!1:f;Osa(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)+")")};
IZ=function(a){var b=a.N>a.o.l,c=0<a.o.g&&a.L<a.o.g;g.R(a.element,"ytp-clip-start-enabled",b);g.R(a.element,"ytp-clip-end-enabled",c);b=b?JV(a.o,a.N,0):0;c=c?JV(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.Jd.style.width=Math.round(1E3*b)/10+"%";a.Ya.style.left=Math.round(1E3*c)/10+"%";a.Ya.style.width=Math.round(1E3*(1-c))/10+"%"};
LZ=function(a){for(var b=0;b<a.ca.length;b++){for(var c=a.R[a.ca[b].ia],d=Number(c.getAttribute("data-left"))-24,e=!1,f=b-1;0<=f;f--){var k=a.R[a.ca[f].ia];if("none"!=k.style.display){Number(k.getAttribute("data-left"))>d&&(e=!0);break}}c.style.display=e?"none":""}};
Jsa=function(a){var b=KZ(a);MZ(a,a.Jb,b,a.H,b.l);g.R(a.Jb,"ytp-hover-progress-light",b.l>a.H)};
Nsa=function(a,b){var c=a.W[b],d=a.la[b],e=KZ(a),f=JV(a.o,c.start/1E3,0),k=Ama(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=JV(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);MZ(a,d,e,f,m,!0);(c=a.R[b])&&c.setAttribute("data-left",Osa(c,e,f))};
Psa=function(a,b){var c=b.ia;if(a.W[c]==b){g.Ld(a.la[c]);delete a.W[c];delete a.la[c];var d=a.R[c];d&&(g.Ld(d),delete a.R[c],c=a.ca,d=g.fb(c,b,g.GQ),0<=d&&g.Ua(c,d))}};
Ksa=function(a,b){b?a.D||(a.element.removeAttribute("aria-disabled"),a.D=new g.aG(a.Kc,!0),a.D.subscribe("hovermove",a.FR,a),a.D.subscribe("hoverend",a.ER,a),a.D.subscribe("dragstart",a.DR,a),a.D.subscribe("dragmove",a.HR,a),a.D.subscribe("dragend",a.GR,a),a.Vb=a.U("keydown",a.VN)):a.D&&(a.element.setAttribute("aria-disabled",!0),a.Aa(a.Vb),a.D.cancel(),a.D.dispose(),a.D=null)};
NZ=function(a,b){UY.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.OZ=function(a,b,c,d,e,f){var k=g.MH({"aria-haspopup":"true"});g.LH.call(this,k,b,a);this.B=d;this.I=!1;this.F=null;this.A={};this.D=new g.LY(c,void 0,a,e,f);g.L(this,this.D);this.U("keydown",this.aO);this.U("click",this.open)};
g.PZ=function(a,b){g.Zra(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.KH(l.A[f],l.jf(f,!0)),delete a.A[f]):(k=new g.LH({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.bO,a,f)));c[f]=k;g.MY(a.D,k,!0)}d||(a.F=null);for(var m in a.A)a.A[m].dispose();a.A=c};
QZ=function(a,b){g.OZ.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.KH(this,this.K);this.L={};this.O(a,"videodatachange",this.H);this.O(a,"onPlaybackAudioChange",this.H);this.H()};
RZ=function(a,b){UY.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()};
SZ=function(a,b){g.OZ.call(this,g.T("YTP_QUALITY_TITLE"),1,a,b);g.Q(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()};
Qsa=function(a,b,c){a=a.K[b];var d=g.dI[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};
TZ=function(a,b,c){g.U.call(this,{G:"button",ba:["ytp-button","ytp-settings-button"],P:{"aria-haspopup":"true","aria-owns":BH(),title:g.T("YTP_SETTINGS")},J:[g.ypa()]});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,IY(b.Gb(),this.element));this.A();this.Nc(g.OU(a).Ha())};
UZ=function(a,b){a.C=!!b;a.Nc(g.OU(a.o).Ha())};
VZ=function(a,b){g.OZ.call(this,g.T("YTP_SPEED_TITLE"),4,a,b);this.o=a;this.C=null;this.O(a,"presentingplayerstatechange",this.yA);this.yA()};
WZ=function(a,b,c,d){var e=g.T("YTP_VIDEO_SUBTITLES_OVERRIDE"),f=new g.LY(b,void 0,e);g.OZ.call(this,Rsa(d),a,b,c,e,function(){return g.QY(c,f)});
g.Q(this.element,"ytp-subtitles-options-menu-item");this.K=d.option.toString();a=d.options;this.L=g.lb(a,this.BA,this);this.H=f;g.L(this,this.H);b=new g.LH({G:"div",M:"ytp-menuitemtitle",J:[g.T("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")]},0);g.L(this,b);g.MY(this.H,b,!0);this.C=new g.LH({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.MY(this.H,this.C,!0);this.O(this.C.element,"click",g.Ea(this.CA,!0));this.o=
new g.LH({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.MY(this.H,this.o,!0);this.O(this.o.element,"click",g.Ea(this.CA,!1));g.PZ(this,(0,g.G)(a,this.BA))};
Rsa=function(a){return(a.message?g.T(a.message):a.text)||""};
XZ=function(a,b){g.LY.call(this,a,void 0,g.T("YTP_OPTIONS"));this.o={};for(var c=0;c<g.aZ.length;c++){var d=g.aZ[c],e=new WZ(-c,a,b,d);g.L(this,e);e.subscribe("settingChange",this.A,this);this.o[d.option.toString()]=e;g.MY(this,e,!0)}c=new g.LH(g.MH(),-g.aZ.length,g.T("YTP_RESET"));g.L(this,c);c.U("click",(0,g.z)(this.A,this,"reset",!0));g.MY(this,c,!0)};
Ssa=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))}}};
YZ=function(a,b){g.OZ.call(this,g.T("YTP_AUTO_TRANSLATE"),0,a,b);this.o={}};
ZZ=function(a,b){var c=new XZ(a,b);g.OZ.call(this,g.T("YTP_SUBTITLES"),3,a,b,g.T("YTP_OPTIONS"),function(){return g.QY(b,c)});
this.o=a;this.C={};this.N=new g.ju(g.Ea(this.AA,!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.KH(this,this.K);this.H=new YZ(a,b);g.L(this,this.H);this.H.subscribe("select",this.lO,this);this.L=c;g.L(this,this.L);this.L.subscribe("settingChange",this.kO,this);b.subscribe("show",this.nS,this);this.O(a,"videodatachange",this.yl);this.O(a,"onApiChange",this.yl);this.O(a,"onCaptionsTrackListChanged",
this.yl);this.O(a,"captionschanged",this.yl);this.yl()};
$Z=function(a){g.NY.call(this,a,"ytp-settings-menu");this.A=a;this.B=new g.LY(a);g.L(this,this.B);this.H=null;this.W=!1;this.hide();g.QY(this,this.B)};
a_=function(a){if(!a.W){a.W=!0;var b=new SZ(a.A,a);g.L(a,b);b=new ZZ(a.A,a);g.L(a,b);b=new NZ(a.A,a);g.L(a,b);g.X(a.A).ea&&(b=new VZ(a.A,a),g.L(a,b));g.X(a.A).Jd&&(b=new RZ(a.A,a),g.L(a,b));b=new QZ(a.A,a);g.L(a,b);UZ(a.H,a.B.Ga.length)}};
b_=function(a,b){a_(a);g.MY(a.B,b);UZ(a.H,a.B.Ga.length)};
c_=function(a,b){a.l&&1>=a.B.Ga.length&&a.hide();g.Yra(a.B,b);UZ(a.H,a.B.Ga.length)};
Tsa=function(a,b){a.H=b;a.element.id=b.element.getAttribute("aria-owns")};
d_=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,IY(b.Gb(),this.element))};
e_=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 xZ;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,IY(this.C,this.element))};
f_=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:[ppa()]});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,IY(b.Gb(),this.element))};
g.g_=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.ra(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.R(this.element,"ytp-live",this.B));this.o()};
i_=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.nd();this.W=this.C=0;this.R=this.g["ytp-volume-slider"];this.X=this.g["ytp-volume-slider-handle"];this.I=new g.aG(this.R,!0);g.L(this,this.I);this.I.subscribe("dragstart",this.vS,
this);this.I.subscribe("dragmove",this.uS,this);this.I.subscribe("dragend",this.tS,this);this.L=null;this.A=this.B=this.D=!1;this.O(a,"onVolumeChange",this.oO);this.O(a,"appresize",this.Nc);this.O(a,"fullscreentoggled",this.mO);this.O(a,"onShowControls",this.zw);this.O(a,"onHideControls",this.zw);this.O(this.element,"keydown",this.wS);this.O(this.element,"focus",g.Ea(this.DA,!0));this.O(this.element,"blur",g.Ea(this.DA,!1));this.Nc(g.OU(a).Ha());h_(this,a.getVolume(),a.isMuted())};
h_=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};
j_=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.nO):(a.Aa(a.L),a.L=null),g.R(a.N,"ytp-volume-slider-active",b))};
k_=function(a,b){var c=g.X(a),d=JM(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.wV?{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.wV?{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;hV(a,this.element,this,28666);this.U("click",this.D);this.O(a,"videodatachange",this.C);this.C();g.bf(this,IY(b.Gb(),this.element))};
l_=function(a,b,c){g.WF.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.bB,this);c=!g.FP(g.NU(a));var f;g.X(a).experiments.g("html5_player_dynamic_bottom_gradient")?this.aa=f=new mZ(a):f=new g.U({G:"div",M:"ytp-gradient-bottom"});g.L(this,f);g.eV(a,f.element,8);this.L=new g.DV(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.eV(a,this.l.element,
8);this.I=new g.DV(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 $Z(a);g.bf(this.g,function(){a.F==d.g&&(a.F=null)});
g.L(this,this.g);a.F=this.g;g.eV(a,this.g.element,6);this.g.subscribe("show",this.SU,this);this.g.subscribe("show",(0,g.z)(b.UC,b,this.g));this.B=new g.FZ(a,b);g.L(this,this.B);this.B.ra(this.l.element,0);f=new oZ(a,b);g.L(this,f);g.eV(a,f.element,4);this.B.subscribe("height-change",f.hU,f);f=new qZ(a);g.L(this,f);g.eV(a,f.element,4);f=new g.DH({G:"div",M:"ytp-left-controls"});g.L(this,f);f.ra(c);var k=new g.EZ(a,b,!1);g.L(this,k);k.ra(f.element);e.F||(k=new g.CZ(a,b),g.L(this,k),k.ra(f.element));
k=new g.EZ(a,b,!0);g.L(this,k);k.ra(f.element);var l=new g.U({G:"span"});g.L(this,l);l.ra(f.element);if(!e.N&&(this.C=new zZ(a,b),g.L(this,this.C),this.C.ra(l.element),e.I)){k=new i_(a,b,this.l.element);g.L(this,k);k.ra(l.element);l=new g.aG(l.element);g.L(this,l);var m=(0,g.z)(k.TC,k,!0);l.subscribe("hoverstart",m);l=new g.aG(f.element);g.L(this,l);k=(0,g.z)(k.TC,k,!1);l.subscribe("hoverend",k)}this.R=new g.g_(a,b);g.L(this,this.R);this.R.ra(f.element);f=new g.DH({G:"div",M:"ytp-right-controls"});
g.L(this,f);f.ra(c);c=new f_(a,b);g.L(this,c);c.ra(f.element);c=new TZ(a,b,this.g);g.L(this,c);Tsa(this.g,c);c.ra(f.element);c=new vZ(a);g.L(this,c);g.eV(a,c.element,5);c.subscribe("show",(0,g.z)(b.bn,b,c));c=new wZ(a,b,c);g.L(this,c);c.ra(f.element);e.gg&&(this.D=new k_(a,b),g.L(this,this.D),this.D.ra(f.element));c=!1;e.experiments.g("kevlar_miniplayer_button")&&(c=new uZ(a,b),g.L(this,c),c.ra(f.element),c=!0);k=new e_(a,b);g.L(this,k);k.ra(f.element);e.Qa&&(k=new d_(a,b,this.g),g.L(this,k),k.ra(f.element));
e.fg&&(e=new lZ(a,b),g.L(this,e),e.ra(f.element));tka()&&!c&&(e=new BZ(a,b),g.L(this,e),e.ra(f.element));this.W=new tZ(a,b);g.L(this,this.W);this.W.ra(f.element);this.F=new g.gu(this.jO,null,this);g.L(this,this.F);this.H=null;this.O(a,"appresize",this.vt);this.O(a,"fullscreentoggled",this.vt);this.O(a,"presentingplayerstatechange",this.zu);this.vt()};
Usa=function(a,b){if(g.FP(g.NU(a.A))||b){if(b){a.I.hide();a.L.hide();if(a.C){var c=a.C;c.H=!1;g.jV(c.o,c.element,c.B&&!1)}a.D&&(c=a.D,c.B=!1,g.jV(c.o,c.element,c.A&&!1));a.o.Gb().Ti(a.ma())}}else b||(a.I.show(),a.L.show(),a.C&&(c=a.C,c.H=!0,g.jV(c.o,c.element,c.B&&!0)),a.D&&(c=a.D,c.B=!0,g.jV(c.o,c.element,c.A&&!0)),a.bB())};
Vsa=function(a){var b=g.OU(a.A).Ha().width;return Math.max(b-2*m_(a),100)};
m_=function(a){var b=a.o.nd();return 12*(g.X(a.A).isDni?0:b?2:1)};
g.n_=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.zM(c)||g.AM(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.Q(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 D=this.g["ytp-sb-subscribe"],I=this.g["ytp-sb-unsubscribe"];f&&g.Q(this.element,"ytp-sb-classic");if(e){l&&
g.Q(this.element,"ytp-sb-subscribed");a=g.X(r);var S=null;"gaming"==a.playerStyle&&(S="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:S},withCredentials:!0}};
var Fa=function(){return{method:"POST",Uc:{action_remove_subscriptions:1},Kb:{c:u.o,silo_name:S,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}}},Fa=function(){return{method:"POST",
Uc:{action_unsubscribe:1},Kb:{channel_ids:u.o,itct:n}}};
else return;var pa=function(){g.EE(Z,V());r.sa("SUBSCRIBE");I.focus();I.removeAttribute("aria-hidden");D.setAttribute("aria-hidden",!0)},wc=function(){g.EE(Z,Fa());
r.sa("UNSUBSCRIBE");D.focus();D.removeAttribute("aria-hidden");I.setAttribute("aria-hidden",!0)};
this.O(D,"click",pa);this.O(I,"click",wc);this.O(D,"keypress",function(a){13==a.keyCode&&pa(a)});
this.O(I,"keypress",function(a){13==a.keyCode&&wc(a)});
var wd=(0,g.z)(this.A,this),Va=(0,g.z)(this.B,this);r.addEventListener("SUBSCRIBE",wd);r.addEventListener("UNSUBSCRIBE",Va);g.bf(this,function(){r.removeEventListener("SUBSCRIBE",wd);r.removeEventListener("UNSUBSCRIBE",Va)})}else g.Q(D,"ytp-sb-disabled"),g.Q(I,"ytp-sb-disabled")}};
g.Xsa=function(a,b,c,d,e,f){b=Wsa(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.kG("LOGGED_IN",function(b){g.lG(g.aE("LOGGED_IN_PUBSUB_KEY",void 0));g.$D("LOGGED_IN",!0);a(b)}),g.$D("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
Wsa=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};
o_=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;hV(a,this.element,this,23851);hV(a,b.element,this,36925);this.O(a,"videodatachange",this.I);this.O(a,"videoplayerreset",this.I);g.X(a).D&&Ysa(this);this.I()};
Ysa=function(a){var b=new g.U({G:"div",M:"ytp-title-beacon"});g.L(a,b);b.ra(a.A,0);b=g.X(a.o).Wc?null:Wsa();var c=a.o.getVideoData(),d=new g.n_(g.T("YTP_SUBSCRIBE"),null,g.T("YTP_SUBSCRIBED"),null,!0,!1,c.Ql,c.subscribed,"embed_title",null,b,a.o);a.C=d;g.L(a,d);d.ra(a.K);hV(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.spa()]};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.wV?{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.ra(a.K);hV(a.o,e.element,a,36927);a.O(a.o,"SUBSCRIBE",
function(){g.Q(a.element,"ytp-subscribed")});
a.O(a.o,"UNSUBSCRIBE",function(){a.D=!1;g.Cq(a.element,"ytp-subscribed");g.Cq(a.element,"ytp-notifications-enabled")});
a.O(a.A,"mouseenter",function(){if(524<=a.o.Ps().width){a.H.stop();var b=a.o.getRootNode();g.Q(b,"ytp-title-channel-expanded");g.Cq(b,"ytp-title-channel-collapsed");g.jV(a.o,d.element,!0);g.jV(a.o,e.element,!0)}});
a.O(a.A,"mouseleave",function(){a.H.start();g.jV(a.o,d.element,!1);g.jV(a.o,e.element,!1)});
a.O(a.A,"click",function(){g.iV(a.o,a.A)});
a.O(d.element,"click",function(){g.iV(a.o,d.element)});
a.O(e.element,"click",function(){g.iV(a.o,e.element);g.EE("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Kb:{channel_id:a.N,receive_all_updates:!a.D}});a.D=!a.D;g.R(a.element,"ytp-notifications-enabled",a.D)});
a.H=new g.ju(function(){var b=a.o.getRootNode();g.Aq(b,"ytp-title-channel-expanded")&&(g.Cq(b,"ytp-title-channel-expanded"),g.Q(b,"ytp-title-channel-collapsed"))},500);
g.L(a,a.H)};
Zsa=function(a){var b=a.o.getVideoData(),c=2==a.o.Pa()&&b.isListed;c=b.videoId&&(c||g.X(a.o).D);var d=a.o.getRootNode();if(c&&b.videoId==a.L)g.Q(d,"ytp-title-extra-info"),g.jV(a.o,a.F.element,!0);else if(g.Cq(d,"ytp-title-extra-info"),g.jV(a.o,a.F.element,!1),c&&b.author&&b.channelPath&&b.profilePicture){c=b.videoId;d=b.Ql;var e=b.author,f=b.channelPath,k=b.profilePicture;b=b.lu;f=g.X(a.o).protocol+"://"+IM(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.Pa()?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;Zsa(a)}};
g.p_=function(a,b){var c=g.OU(a).Ha();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.la=this.g["ytp-tooltip-image"];this.ea=(0,g.z)(this.VQ,this);this.R=(0,g.z)(this.XQ,this);this.W=(0,g.z)(this.af,
this);this.A=null;this.I=new g.DV(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.ju(this.sK,250,this);g.L(this,this.X);this.aa=new g.ju(this.af,5E3,this);g.L(this,this.aa)};
r_=function(a,b){if(null!=a.o)if(b)switch(a.o){case 3:case 2:q_(a);a.I.show();break;default:a.I.show()}else a.I.hide();a.K=b};
IY=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)};
ata=function(a,b,c){if(a.o)if(3==a.o)a.af();else return;$sa(a,b,3,c)};
$sa=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.la.style.backgroundImage="url("+d+")";g.R(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.R(a.element,"ytp-tooltip-opaque",!!b);a.o=c;a.N.addEventListener("appresize",a.W);a.K&&(q_(a),a.I.show(0))};
q_=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.Bq(a.element,["ytp-text-detail","ytp-preview"]);g.R(a.element,"ytp-has-duration",
!!c)}else a.updateValue("text",a.F),g.Dq(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.o?a.element.setAttribute("role","status"):a.element.removeAttribute("role");bta(a,!!b)};
bta=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.Q(a.element,"ytp-bottom"):a.element.style.bottom&&g.Q(a.element,"ytp-top");3==a.o&&a.aa.start()};
AZ=function(a){a.A&&!a.L&&a.A.hasAttribute("title")&&(a.F=a.A.getAttribute("title"),a.A.removeAttribute("title"),a.K&&q_(a))};
cta=function(a,b){g.R(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=gN(a.B,a.D,c);nZ(a.H,e,c,d,!0);a.X.start()}};
eta=function(a,b,c){dta("add_to_watch_later_list",a,b,c)};
fta=function(a,b,c){dta("delete_from_watch_later_list",a,b,c)};
dta=function(a,b,c,d){g.EE(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.y3||null,add_to_playlists:b.m3||null,plid:g.aE("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(a,c){b.onSuccess.call(this,a,c)},
qd:b.qd,withCredentials:!!d})};
t_=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;hV(a,this.element,this,28665);this.U("click",this.pO,this);this.O(a,"videoplayerreset",this.qO);this.O(a,"appresize",this.Nc);this.Nc(g.OU(a).Ha());
a=g.X(this.o);c=g.fH("yt-player-watch-later-pending");a.g&&c?(mH(),gta(this,c.videoId)):s_(this,2);g.bf(this,IY(b.Gb(),this.element))};
gta=function(a,b){if(!a.B){a.B=!0;s_(a,3);var c=g.X(a.o);(a.A?fta:eta)({videoIds:b,Wc:c.Wc,pageId:c.pageId,onError:a.cT,onSuccess:a.A?a.dT:a.bT,context:a},c.baseYtUrl,!0)}};
s_=function(a,b,c){if(b!=a.D){switch(b){case 3:var d=kX();break;case 1:d=lpa();break;case 2:d=g.wV?{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.wV?{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});AZ(a.H)};
u_=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:JM(g.X(a))}),"data-sessionlink":"feature=player-watermark"},J:[g.wV?{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.NU(a);g.IH(this,!g.W(a,2));this.B()};
v_=function(a){CY.call(this,a);var b=g.X(a),c=g.OU(a);this.oa=48;this.la=69;b.D&&(this.oa=42,this.la=63);var d=g.X(this.g),e=d.H;if(yI("ytp-normal-css-loaded")){var f=yI("ytp-sprite-mode-css-loaded");e!=f&&g.bE(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.eV(a,d.element,1);this.Na=new g.DV(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.eV(a,this.A.element,1);this.Ma=new g.DV(this.A,250,!0,100);g.L(this,this.Ma);this.aa=[];this.D=new g.p_(a,this);g.L(this,this.D);g.eV(a,this.D.element,4);b.g&&b.Kc&&(this.Db=new cZ(a,this),g.L(this,this.Db),g.eV(a,this.Db.element,4));d=new fZ(a);g.L(this,d);g.eV(a,d.element,5);d.subscribe("show",(0,g.z)(this.bn,this,d));this.aa.push(d);d=new gZ(a,this,d);g.L(this,d);d.ra(this.A.element);this.Ba=new o_(a);g.L(this,this.Ba);this.Ba.ra(this.A.element);d=new g.DH({G:"div",M:"ytp-chrome-top-buttons"});
g.L(this,d);d.ra(this.A.element);b.rm&&(this.da=new t_(a,this,this.A.element),g.L(this,this.da),this.da.ra(d.element));e=new iZ(a,this);g.L(this,e);g.eV(a,e.element,5);e.subscribe("show",(0,g.z)(this.bn,this,e));this.aa.push(e);this.Ca=new jZ(a,this,e,this.A.element);g.L(this,this.Ca);this.Ca.ra(d.element);b.Fh&&(e=new kZ(a),g.L(this,e),g.eV(a,e.element,4));this.N=new HY(a,this,this.A.element);g.L(this,this.N);this.N.ra(d.element);e=new JY(a,this.N);g.L(this,e);e.ra(d.element);(this.l="1"==b.o?new l_(a,
this,this.o):null)&&g.L(this,this.l);"3"==b.o&&(d=new hZ(a,this),g.L(this,d),g.eV(a,d.element,8));this.H=new ZY(a,this,this.C);g.L(this,this.H);this.H.subscribe("show",this.BD,this);this.fa=!1;b.hg&&(d=new u_(a),g.L(this,d),g.eV(a,d.element,7));d=new KV(a,new OV(a));g.L(this,d);g.eV(a,d.element,4);this.W=new g.U({G:"div",P:{tabindex:"0"}});this.W.U("focus",this.UH,this);g.L(this,this.W);this.R=new g.U({G:"div",P:{tabindex:"0"}});this.R.U("focus",this.VH,this);g.L(this,this.R);(this.Y=b.useTabletControls?
null:new $Y(a,c,this.H,this.o,this.C,(0,g.z)(this.gn,this)))&&g.L(this,this.Y);this.O(a,"fullscreentoggled",this.xN);this.O(a,"offlineslatestatechange",this.hR,this);this.O(a,"cardstatechange",this.cg,this)};
w_=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=w_(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.x_=function(a){g.kV.call(this,a);this.load()};
z_=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.ju(function(){return y_(d)},this.o/5);
g.L(this,this.A);this.o&&this.A.start();this.g=[]};
y_=function(a){if(a.o){for(;a.g.length&&a.g[0].time+a.o<g.yG();)a.remove(a.g[0].key,!0);a.A.start()}};
A_=function(){this.g=[];this.l=[];this.o=[]};
ita=function(a,b,c){c=g.Fd(c?"AUDIO":"VIDEO");g.Ga(c,hta);g.IF(c,"loadeddata",(0,g.z)(c.l,c));tM&&6<=B_&&g.IF(c,"webkitbeginfullscreen",(0,g.z)(c.play,c));a.l.push(c);b?a.o.push(c):C_(a,c);return c};
C_=function(a,b){g.Qa(a.l,b)&&!g.Qa(a.g,b)&&(b.src||b.load(),g.Wa(a.o,b)||a.g.push(b))};
D_=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)};
E_=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.Hm&&this.po("ytp-transparent");g.rF(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);
NM(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.aa="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.kn;this.B=new g.kd(window.NaN,window.NaN);g.jH({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"});jta(this);this.O(a.l,"mutedautoplaychange",this.zN)};
jta=function(a){var b=a.app.l,c=(0,g.z)(a.dJ,a),d=(0,g.z)(a.eJ,a),e=(0,g.z)(a.yN,a),f=(0,g.z)(a.GI,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)})};
kta=function(a){a.o&&(a.o.removeEventListener("focus",a.W),g.Ld(a.o),a.o=null)};
lta=function(a,b){if(a.o){var c=a.app.g;II&&(a.o.setAttribute("x-webkit-airplay","allow"),b.title?a.o.setAttribute("title",b.title):a.o.removeAttribute("title"));a.o.setAttribute("controlslist","nodownload");c.un&&b.videoId&&(a.o.poster=b.Xc(c,"default.jpg"))}c=g.yO(b,"yt:bgcolor");a.D.style.backgroundColor=c?c:"";a.N=lM(g.yO(b,"yt:stretch"));a.R=lM(g.yO(b,"yt:crop"),!0);a.hf()};
g.G_=function(a){var b=a.app.g.experiments.g("html5_aspect_from_adaptive_format");if(b){var c=g.MU(a.app);if((c=c?c.getVideoData():null)&&mO(c)&&c.Ka.g)return b=c.Ka.videoInfos[0],F_(b.video.width,b.video.height)}return(a=a.o)?F_(a.videoWidth,a.videoHeight):b?16/9:window.NaN};
g.H_=function(a,b){var c=a.Ha(),d=mta(a,c,g.G_(a),b);return new g.eh((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
mta=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=F_(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};
F_=function(a,b){return 1>Math.abs(I_*b-a)||1>Math.abs(I_/a-b)?I_:a/b};
J_=function(a){if(1==a.app.N)return!1;var b=g.NU(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.FP(b)};
wW=function(a){var b="3"==a.app.g.o&&!a.F&&J_(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)};
nta=function(a){var b=g.G_(a),c=a.Ha(),d=1,e=!1,f=mta(a,c,b),k=UE();if(J_(a)){var l=(0,window.isNaN)(b)||GL||AT&&g.Dk;II&&!g.rc(601)?b=f.aspectRatio:l=l||"3"==a.app.g.o;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.Dk&&(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,II?b*=window.devicePixelRatio:g.EH&&(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.MM(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};
K_=function(a){this.H=a;this.C=null;this.g=[];this.o=[];this.B=[];this.F=1;this.l=[];this.A=!1};
g.gV=function(a,b,c){a.A?a.B.push({type:b,data:c}):a.H.T(b,c)};
L_=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.zb=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};
M_=function(a,b){if(-1==a.o){try{var c=g.Fd("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.Fd("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.zb,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.zb=(a.zb+1)%a.D}c=a.zb;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="")};
N_=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 L_(300,1,150,b,c);g.L(this,this.B);this.updateValue("bandwidth_chart",this.B);this.D=new L_(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 L_(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 L_(300,1,150,d,c);g.L(this,this.F);this.updateValue("network_activity_chart",
this.F);this.A=new g.ju(this.xt,500,this);g.L(this,this.A);this.o=a};
ota=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+iI(a)+")":iI(a))+(a.video&&a.video.isAccelerated?" [acc]":"")};
O_=function(a,b){g.K.call(this);var c=this;this.fa=aka(b);var d=this.fa.args||{};this.g=new GM(d);g.L(this,this.g);this.g.experiments.g("html5_parse_inline_fallback_host")&&(zK=!0);this.g.experiments.g("html5_vp9_new_mime")&&void 0!=window.navigator.mediaCapabilities&&(BL=!0);this.re=hM(xM(this.g)&&!0,d.enablesizebutton);this.Vb=hM(!1,d.player_wide);this.Ld=this.xd=!1;this.ca=new JT;g.L(this,this.ca);this.W=hM(!1,d.external_list);this.Ba=(this.Jd=hM(!1,d.external_play_video))&&this.g.experiments.g("player_unified_fullscreen_transitions");
this.K=new g.WF(this);g.L(this,this.K);zg=function(a,b){g.bE(b,"WARNING")};
this.R=null;this.X=new g.gD;g.L(this,this.X);this.aa=new g.gD;g.L(this,this.aa);this.da=new K_(this.aa);this.da.pause();this.l=new FU(this);g.L(this,this.l);this.H=new FU(this,1);g.L(this,this.H);this.F=new E_(this);g.L(this,this.F);this.N=1;this.Ya={};this.L=this.g.storeUserVolume?gka():{volume:100,muted:this.g.mute};this.Na=this.g.Cb?new yQ(this,1):new PH(this,1);g.L(this,this.Na);this.B=null;this.Mc={};d={};this.jb=(d.internalvideodatachange=this.SO,d.playbackready=this.TO,d.playbackstarted=this.UO,
d.statechange=this.VO,d.signatureexpired=this.rS,d);this.wd=!this.g.experiments.g("web_player_dispose_modules_killswitch");this.A=pta(this);this.wd||g.L(this,this.A);this.wc=new g.WF(this);g.L(this,this.wc);this.I=new AQ(this.g,this.A);this.o=qta(this);d={};this.zd=(d.airplayactivechange=this.KO,d.airplayavailabilitychange=this.LO,d.beginseeking=this.eP,d.endseeking=this.UP,d.internalAbandon=this.oQ,d.internalaudioformatchange=this.XO,d.internalvideodatachange=this.Cs,d.internalvideoformatchange=
this.US,d.liveviewshift=this.vQ,d.playbackstalledatstart=this.xS,d.progresssync=this.KK,d.seekto=this.LK,d.onLoadProgress=this.wQ,d.onVideoProgress=this.NK,d.onLoadedMetadata=this.yQ,d.onDompaused=this.PP,d.playbackready=this.sR,d.statechange=this.UB,d.connectionissue=this.CP,d.newelementrequired=this.aR,d.heartbeatparams=this.IK,d.videoelementevent=this.MK,d.drmoutputrestricted=this.RP,d);this.D=null;d=this.g.experiments.g("html5_expire_preloaded_players")?3600:void 0;this.oa=new z_(10,function(a){a!=
g.MU(c,a.getPlayerType())&&(rta("c","prefetch_"+a.getVideoData().videoId),a.dispose())},d);
g.L(this,this.oa);this.ob=this.Db=-1;this.Qa=new g.ju(this.F.hf,16,this.F);g.L(this,this.Qa);this.Ta=!1;this.ea=!0;this.pa=this.Ca=this.C=null;this.Kd=!1;this.Jb=this.yd=null;this.Ma=this.la=0;this.Y=this.za=!1;this.Kc=null;this.K.O(this.l,"crn_appapi",this.QO);this.K.O(this.l,"crx_appapi",this.RO);this.K.O(this.l,"crn_appad",this.YA);this.K.O(this.l,"crx_appad",this.YA);this.K.O(this.l,"crn_queued",this.LR);this.K.O(this.l,"presentingplayerstatechange",this.JK);this.K.O(this.l,"resize",this.YR);
this.F.ra(g.qd(a));this.K.O(this.l,"offlineslatestatechange",this.gR);this.dd=sta(this,this.F.element);g.L(this,this.dd);g.wV=this.g.H;tta(this);this.I.g("fs");uta(this);g.MM(this.g)?g.dV(this.l,"ux"):(g.dY.ux=g.x_,this.A.Ow())};
qta=function(a){var b=new QT(a.g,1,a.I,a.F,(0,g.z)(a.X.T,a.X),(0,g.z)(a.l.pi,a.l),a.F.ca,a.ca);DU(b,a.g.g?1:vta(a,g.fH("yt-player-playback-rate")||1));P_(a,b,a.jb);return b};
pta=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.bE(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new cY(a.l,b,a);c={};a=(c.loaded=(0,g.z)(a.SQ,a),c.unloaded=(0,g.z)(a.TQ,a),c.destroyed=(0,g.z)(a.Ct,a),c);b.ea=a;return b};
wta=function(a,b){var c=!(!a.R||!a.R.l);a.R||(a.R=new N_(a),g.L(a,a.R),g.eV(a.l,a.R.element,4));g.IH(a.R,b);Q_(a)&&c!=b&&g.LU(a.A).YM();b&&a.D.Ec("sfn","1",!0)};
S_=function(a){var b=R_.getTag(!0,!a.g.deviceHasDisplay);a.B=new CT(b);g.L(a,a.B);a.D&&nU(a.D,a.B);try{if(a.g.N)a.pa&&a.K.Aa(a.pa),a.pa=a.K.O(a.B,"volumechange",a.OQ);else{a.B.setVolume(a.L.volume/100);var c=a.B,d=a.L.muted;xI();c.g.muted=d}}catch(e){b="setvolume.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_"));g.$T(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b);return}c=a.F;c.o=b;c.F=!1;c.o.parentNode||Kd(c.D,c.o,0);c.H=new g.eh(0,0,0,0);nta(c);wW(c);g.Q(c.o,"video-stream");g.Q(c.o,
"html5-main-video");b=c.app.g;b.Ya&&c.o.setAttribute("data-no-fullscreen",!0);b.dg&&(c.o.setAttribute("webkit-playsinline",""),c.o.setAttribute("playsinline",""));b.im&&c.o&&c.O(c.o,"click",c.o.play,c.o);try{lP(a.B)}catch(e){b="activate.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_")),g.$T(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b)}};
T_=function(a){a.B&&(a.pa&&(a.K.Aa(a.pa),a.pa=null),a.D&&mU(a.D),kta(a.F),R_.releaseTag(a.B.ma()),a.B=null)};
WX=function(a,b){if(a.D!=b){var c=null;a.D&&(c=a.D.o,fY(a.A),aV(a,"cuerangesremoved",XS(a.D.I)||[]),tra(a));U_(a,b);a.D=b;a.B&&nU(b,a.B);P_(a,b,a.zd);a.Cs("newdata",b,b.getVideoData());c&&!g.EP(c,b.o)&&a.UB(new g.KP(b.o,c));b.la.g&&a.Cs("dataloaded",b,b.getVideoData());b.getVideoData().Ia&&a.l.sa("onPlaybackQualityChange",b.getVideoData().Ia.video.quality);aV(a,"cuerangesadded",XS(a.D.I)||[]);zP(b.o)&&sU(b)}};
P_=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}};
tra=function(a){if(a.B){var b=a.A.o;b&&b.Oy(a.B)&&(T_(a),S_(a))}mU(a.D);b=a.D;var c=a.zd,d;for(d in c)b.unsubscribe(d,c[d],a);a.D=null};
g.MU=function(a,b){return b?1==b?a.o:a.Mc[b]||null:a.D};
uW=function(a,b){var c=g.MU(a,b);c||(c=xta(a,b),U_(a,c));return c};
xta=function(a,b){var c=a.I;2==b&&(c=new AQ(a.g));return new QT(a.g,b,c,a.F,(0,g.z)(a.X.T,a.X),(0,g.z)(a.l.pi,a.l),a.F.ca,a.ca)};
yta=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 QX(d.fa,d.fa.H),d.B.create()):g.dV(d.g,"ad")}catch(e){g.dV(d.g,"ad"),g.bE(e)}d.Mw();d.da&&c?g.dV(d.g,"endscreen"):d.zq();d.Qw();d.Sw();d.Rw();d.Lw();d.da&&c?(g.dV(d.g,"annotations_module"),g.dV(d.g,"creatorendscreen")):(d.xq(),d.yq());d.Jw();d.Iw();d.Aq();d.Nw();d.Kw();d.Tw();c&&JO(b,a.g)?a.wc.O(a.l,"presentingplayerstatechange",a.AR):Bra(a.A);a.l.T("videoready",b)};
V_=function(a){var b=wI();return!!(b&&b.canPlayType&&b.canPlayType(a))};
RX=function(a){return a.o.getVideoData()};
zta=function(a,b){var c=g.MU(a,b);return(c=c?c.l:null)?qP(c):0};
W_=function(a){var b=RX(a);return JO(b,a.g)};
tta=function(a){var b=new g.iO(a.fa.args);g.hH()&&b.Zd.push("remote");a.g.experiments.g("web_player_ux_module_wait")&&b.Zd.push("ux");b.Ed()&&(ZT(a.o,b,(0,g.z)(a.Sd,a)),!a.g.experiments.g("html5_delay_initial_loading")&&W_(a)&&(a.g.Mc||a.g.dd)&&bU(a.o))};
uta=function(a){var b=a.F,c=b.app.g;c.wd||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.kG("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=AF(a.F.element))&&a.K.O(a.F,d,a.dQ);a.K.O(window,"resize",a.ZR);b=a.fa.args;S_(a);d=RX(a);a.l.sa("onVolumeChange",a.L);if(b&&KQ(b))if((c=NM(a.g))&&!a.W&&(b.fetch=0),X_(a,b),c&&!a.W)Y_(a);else if(!d.Ed())a.C.onReady((0,g.z)(a.Lt,
a));WX(a,a.o);if(!g.W(a.o.o,128)){a:{b=a.g.deviceHasDisplay;try{var e=wI();if(e.canPlayType)for(b=b?Ata:Bta,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.$T(a.o,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==f?g.$T(a.o,f,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Ed()&&W_(a)&&(a.g.Mc||a.g.dd)?Z_(a):g.SM(a.g)||Cta(a)}};
Cta=function(a){a.l.T("initializingmode");g.$_(a,2);a.A.Aq()};
Z_=function(a){if(g.W(a.o.o,128))return!1;W_(a)&&a.g.dd&&(R_.hasTags(void 0)&&a.Y?(SH(a,{muted:!1,volume:a.L.volume},!1),a0(a,!1)):R_.hasTags(void 0)||a.L.muted||(SH(a,{muted:!0,volume:a.L.volume},!1),a0(a,!0)));Dta(a,1,a.o.getVideoData());a.l.T("initializingmode");WX(a,a.o);g.$_(a,3);var b=a.A.o;if(!a.g.wd||b&&b.Oy(a.B)&&a.Kd)T_(a),S_(a),nU(a.o,a.B);eU(a.o);if(g.W(a.o.o,128))return!1;b0(a,3);return a.Kd=!0};
Q_=function(a){a=g.LU(a.A);return!!a&&a.loaded};
Eta=function(a,b){if(a.D==a.o&&a.D.re!=b){var c=a.D;c.re=b;c.l&&(c.l.g.loop=b);a.l.T("loopchange",b)}};
c0=function(a,b,c){(0,window.isNaN)(b)||(b=vta(a,b),a.o.Ca!=b&&(DU(a.o,b),c&&!a.g.g&&g.eH("yt-player-playback-rate",b),a.l.sa("onPlaybackRateChange",b)))};
vta=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=BU(a.o,b);a.D&&a.D!=a.o&&(c=Fta(c,BU(a.D,b),"ad_"));if(b&&a.B){c["0sz"]=0==g.Lh(a.B.g).te();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.JP)():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=Fta(c,d.ZD(),"fresca_"));return JSON.stringify(c,null,2)};
KU=function(a){return 1==a.N?1:Q_(a)?3:g.MU(a).getPlayerType()};
e0=function(a,b){return 3==KU(a)?HP(g.LU(a.A).D):2==b?a.ob:a.Db};
Hta=function(a){Gta(a);Eta(a,!1);a.Ya={};a=a.I;var b=a.l;b.ca={};b.X={};a.A=!1};
Y_=function(a){var b=Ita();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.de()])&&c.encrypted_id!=a.C.Ub().videoId||(b.index=a.C.de()));OQ(a.C,b);a.Ca&&f0(a,a.Ca)}else a.Ca=null}else a.Qm()};
X_=function(a,b){a.C&&(a.C.unsubscribe("error",a.Qm,a),g.cf(a.C),a.C=null);b&&(a.W&&(b.fetch=0),a.C=new g.JQ(b),a.C.subscribe("error",a.Qm,a))};
g0=function(a,b,c,d){b in a.Ya||(c=new g.EQ(c,d,{id:b,priority:1}),c.namespace="appad",WS(a.o.I,[c]),a.Ya[b]=c)};
Jta=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.EQ(k,e.endTimeMs||k,f);e.namespace="appchaptermarker";c.push(e)}}ZU(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.ob!=b&&(a.ob=b,a.l.sa("onAdStateChange",b)):a.Db!=b&&(a.Db=b,a.l.sa("onStateChange",b))};
$X=function(a,b,c,d,e){c=0!=c;if(e=g.MU(a,e))2==a.N&&Z_(a),gU(e,b,c,d)};
i0=function(a,b,c,d,e){a.g.jc&&bN(b);var f=new g.iO(b);d||(b&&KQ(b)?(NM(a.g)&&!a.W&&(b.fetch=0),X_(a,b)):a.C&&X_(a,null),a.W=hM(!1,b.external_list),NM(a.g)&&!a.W&&Y_(a));return h0(a,f,c,e)};
Dta=function(a,b,c){var d=b+c.videoId,e=a.oa.get(d);if(!e)return null;a.oa.remove(d);if(e==g.MU(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.jb;for(var f in c)b.unsubscribe(f,c[f],a);f=a.o.Ca;a.o.dispose();a.o=e;DU(a.o,f);P_(a,e,a.jb);Hta(a)}else(f=g.MU(a,b))&&f.dispose();a.D.getPlayerType()==e.getPlayerType()?WX(a,e):U_(a,e);return e};
h0=function(a,b,c,d){TN("_start","")||(IN("p",void 0,""),a.I.info("srt",0));var e=Dta(a,c||a.D.getPlayerType(),b);e&&(0,g.BQ)("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.MU(a,c);if(!e)return!1;a.Qa.stop();j0(a,c);ZT(e,b,(0,g.z)(a.Sd,a),d)}e==a.o&&(a.g.R=b.oauthToken);if(!aU(e))return!1;a.Ta&&(e.Kc=!1,a.Ta=!1);if(e==a.o)return g.$_(a,1),Z_(a);eU(e);return!0};
k0=function(a,b,c){c=g.MU(a,c);b&&c==a.o&&(c.getVideoData().ah=!0)};
m0=function(a,b,c){a.g.jc&&bN(b);if(b&&KQ(b))if(a.ea=!0,X_(a,b),(b=a.C.Ub())&&b.Ed())l0(a,b,c);else a.C.onReady((0,g.z)(a.Lt,a));else c||(c=KU(a)),1==c&&a.Qm(),l0(a,new g.iO(b),c)};
l0=function(a,b,c){var d=g.MU(a,c);d&&(j0(a,c),ZT(d,b,(0,g.z)(a.Sd,a)),d==a.o&&(g.$_(a,1),Cta(a)))};
g.o0=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.l.isFullscreen()&&!a.Ba||!xM(a.g)&&!g.vM(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.LG(),c.vis=a.l.pi(),a.Jd||"gaming"==a.g.playerStyle?a.l.sa("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.Lt,a))};
g.p0=function(a){if(a.l.app.Y)return!1;if(3==KU(a))return!0;NM(a.g)&&!a.W&&Y_(a);return!(!a.C||!a.C.hasNext())};
q0=function(a,b,c){var d=g.MU(a,1).getVideoData().suggestions;g.fV(a.l)&&d?(d=g.G(d,g.mY),b=d[0],d=c?b.jx:b.Gd,g.o0(a,b.Ub().videoId,d,b.getPlaylistId(),c)):!a.W||a.l.isFullscreen()&&!a.Ba?3==KU(a)?g.LU(a.A).WM():a.C&&(NM(a.g)&&!a.l.isFullscreen()?f0(a,"yt.www.watch.lists.next"):(a.C.hasNext(b)&&NQ(a.C,LQ(a.C)),a.C.Qc?(b=c&&a.g.experiments.g("html5_player_autonav_logging"),h0(a,a.C.Ub(void 0,c,b),1)):a.ea=!1)):a.l.sa("onPlaylistNext")};
Kta=function(a,b){!a.W||a.l.isFullscreen()&&!a.Ba?3==KU(a)?g.LU(a.A).XM():a.C&&(NM(a.g)&&!a.l.isFullscreen()?f0(a,"yt.www.watch.lists.prev"):(a.C.If(b)&&NQ(a.C,MQ(a.C)),a.C.Qc?h0(a,a.C.Ub(),1):a.ea=!1)):a.l.sa("onPlaylistPrevious")};
f0=function(a,b){var c=g.x(b);if(c){var d=Ita();d&&d.list&&c();a.Ca=null}else a.Ca=b};
Ita=function(){var a=g.x("yt.www.watch.lists.getState");return a?a():null};
Lta=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.EQ(1E3*c,1E3*d,b);c.namespace="appapi";ZU(a,[c],1);return!0};
ZU=function(a,b,c){var d=g.MU(a,c);d&&(WS(d.I,b),c&&KU(a)!=c||aV(a,"cuerangesadded",b))};
xra=function(a){var b=g.yG(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
SH=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.eH("yt-player-volume",c),g.eH("yt-player-volume",c,2592E3))),Mta(a),c=g.GI&&!a.B.Td(),!a.g.N||c)&&(b=g.cc(b),a.g.storeUserVolume||(b.unstorable=!0),a.l.sa("onVolumeChange",b))};
Mta=function(a){var b=a.getVideoData();b.Em||(b=a.g.N?1:LO(b,a.g),a.B.setVolume(a.L.volume*b/100),b=a.B,a=a.L.muted,xI(),b.g.muted=a)};
a0=function(a,b){b!=a.Y&&(a.Y=b,a.l.T("mutedautoplaychange",b))};
Nta=function(a,b){var c=window.screen&&window.screen.orientation;if(a.g.experiments.g("lock_fullscreen2")&&c&&c.lock&&(!g.GI||!g.r0))if(b){var d=0==c.type.indexOf("portrait"),e=g.G_(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.jb=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=RX(a),c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.H.getPlaylistId()&&(c.listId=a.H.getPlaylistId()),a.l.sa("onFullscreenChange",c))};
aV=function(a,b,c){a.l.T(b,c);var d=g.FM(a.g)||g.MM(a.g);if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.l.sa(e,c)}};
XX=function(a,b){var c=g.MU(a,b);c&&(2==a.N?Z_(a):a.g.experiments.g("html5_restore_userreload_killswitch")&&c.o.isError()?t0(a,"user"):(null!=a.R&&a.R.l&&a.R.start(),g.W(c.o,2)?$X(a,0):sU(c)))};
ZX=function(a,b){var c=g.MU(a,b);c&&hU(c)};
Ota=function(a){var b=a.o.getVideoData(),c=new g.iO({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.yN(a.la);a.la=0;var c=g.MU(a,b);c&&1!=a.N&&2!=a.N&&((a.g.experiments.g("html5_disable_module_ownership")||c==a.D)&&fY(a.A),1==b&&(a.g.experiments.g("html5_stop_video_in_cancel_playback")&&yU(c),Gta(a)),g.lU(c),aV(a,"cuerangesremoved",XS(c.I)||[]),c.I.reset())};
Pta=function(a,b,c,d,e){c=0!=c;var f=g.MU(a,e);if(!f||2!=f.getPlayerType()&&!g.DO(f.getVideoData()))3==KU(a)?g.LU(a.A).ul("control_seek",b,c):$X(a,b,c,d,e)};
g.DY=function(a){return a.g.experiments.g("html5_new_vis")?a.ca.l:a.xd};
t0=function(a,b,c){if(!a.Ta){c&&(T_(a),S_(a));a.Ta=!0;c=g.MU(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.MU(a).getCurrentTime(),d.resume="1");c.Ue&&(d.vvt=c.Ue);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.Bp);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)}};
Qta=function(a,b){RX(a).autonavState=b;g.eH("yt-player-autonavstate",b);a.l.T("autonavchange",b)};
Rta=function(a){var b=a.getVideoData().Em,c=a.g.Jg;b||c?(a=a.B,a.C=!0,xI(),a.g.muted=!0):(a.B.C=!1,SH(a,a.L))};
sta=function(a,b){return a.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&a.g.g?new D_(b):null};
Gta=function(a){(a=a.A.B)&&a.created&&a.destroy()};
Fta=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 Sta={fd:!0},Tta={};try{Tta.__proto__=Sta;v0=Tta.fd;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 Uta="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||Uta});
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.Lm(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(S){f(S)}}:b}
var e,f,k=new b(function(a,b){e=a;f=b});
this.Lm(d(a,e),d(c,f));return k};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.Lm=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).Lm(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).Lm(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.ia=(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.ia]=b;return this};
b.prototype.get=function(a){return sa(a,e)?a[e][this.ia]:void 0};
b.prototype.has=function(a){return sa(a,e)&&sa(a[e],this.ia)};
b.prototype["delete"]=function(a){return sa(a,e)&&sa(a[e],this.ia)?delete a[e][this.ia]:!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,Bd:l}}return{id:c,list:d,index:-1,Bd: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.Bd?c.Bd.value=b:(c.Bd={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.Bd),this.g.previous.next=c.Bd,this.g.previous=c.Bd,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.Bd&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.l[a.id],a.Bd.previous.next=a.Bd.next,a.Bd.next.previous=a.Bd.previous,a.Bd.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).Bd};
e.prototype.get=function(a){return(a=d(this,a).Bd)&&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("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 Vta=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 Vta});
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}});
wx=wx||{};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 Wta,jk;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};
Wta=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.Md=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};
jk=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.Jj=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.rm=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 Xta=g.w.navigator;if(Xta){var Yta=Xta.userAgent;if(Yta){g.Ib=Yta;break a}}g.Ib=""};var ec="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");nc[" "]=g.y;var GL,AT,bo,co,Zta,w0;g.gf=Jb("Opera");g.zd=Jb("Trident")||Jb("MSIE");GL=Jb("Edge");g.EH=GL||g.zd;g.uh=Jb("Gecko")&&!(ub(g.Ib,"WebKit")&&!Jb("Edge"))&&!(Jb("Trident")||Jb("MSIE"))&&!Jb("Edge");g.Bd=ub(g.Ib,"WebKit")&&!Jb("Edge");AT=Jb("Macintosh");g.r0=Jb("Windows");g.jo=Jb("Android");bo=kc();co=Jb("iPad");Zta=Jb("iPod");g.Bk=mc();
a:{var x0="",y0=function(){var a=g.Ib;if(g.uh)return/rv:([^\);]+)(\)|;)/.exec(a);if(GL)return/Edge\/([\d\.]+)/.exec(a);if(g.zd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Bd)return/WebKit\/(\S+)/.exec(a);if(g.gf)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
y0&&(x0=y0?y0[1]:"");if(g.zd){var z0=pc();if(null!=z0&&z0>(0,window.parseFloat)(x0)){w0=String(z0);break a}}w0=x0}var qc=w0,taa={},$ta;var aua=g.w.document;$ta=aua&&g.zd?pc()||("CSS1Compat"==aua.compatMode?(0,window.parseInt)(qc,10):5):void 0;var vaa=$ta;var Kaa,Maa,Naa;Kaa=!g.zd||g.sc(9);Maa=!g.uh&&!g.zd||g.zd&&g.sc(9)||g.uh&&g.rc("1.9.1");g.bua=g.zd&&!g.rc("9");Naa=g.zd||g.gf||g.Bd;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};uc.prototype.rg=!0;uc.prototype.Ge=function(){return this.g};
uc.prototype.toString=function(){return"Const{"+this.g+"}"};
var tc={};g.xc("");var waa=/<[^>]*>|&[^;]+;/g,cua=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.Ge=function(){return this.l};
Bc.prototype.Pr=!0;Bc.prototype.g=function(){return 1};
var Ac={};Gc.prototype.rg=!0;Gc.prototype.Ge=function(){return this.l};
Gc.prototype.Pr=!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.Ge=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.Pr=!0;g.Sc.prototype.g=function(){return this.o};
g.Sc.prototype.rg=!0;g.Sc.prototype.Ge=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},dua={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.hd.prototype;g.h.clone=function(){return new g.hd(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.te=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.te()};
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.ma=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.lI=function(a,b,c){return Dd(this.g,arguments)};
g.h.createElement=function(a){return this.g.createElement(String(a))};
g.h.appendChild=g.Hd;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.Ld;g.h.contains=g.Sd;var Oaa=g.y;var tM,sM,uM;g.JL=Jb("Firefox");tM=kc()||Jb("iPod");sM=Jb("iPad");uM=g.jc();g.GI=hc();g.Dk=ic()&&!mc();var je=null,oe=null,ie=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 Ce="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.Fe=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.zd||g.sc(9),eua=g.zd&&!g.rc("9"),Zaa={valueOf: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}}.valueOf();g.K.prototype.Ab=!1;g.K.prototype.ha=function(){return this.Ab};
g.K.prototype.dispose=function(){this.Ab||(this.Ab=!0,this.V())};
g.K.prototype.V=function(){if(this.ib)for(;this.ib.length;)this.ib.shift()()};g.ef.prototype.stopPropagation=function(){this.zi=!0};
g.ef.prototype.preventDefault=function(){this.defaultPrevented=!0;this.yC=!1};var fua={Hp:"click",E0:"rightclick",IX:"dblclick",a_:"mousedown",g_:"mouseup",f_:"mouseover",e_:"mouseout",d_:"mousemove",b_:"mouseenter",c_:"mouseleave",ZZ:"mousecancel",K0:"selectionchange",L0:"selectstart",T2:"wheel",vZ:"keypress",uZ:"keydown",wZ:"keyup",QW:"blur",BY:"focus",JX:"deactivate",CY:"focusin",DY:"focusout",jX:"change",w0:"reset",J0:"select",v1:"submit",gZ:"input",m0:"propertychange",fY:"dragstart",aY:"drag",cY:"dragenter",eY:"dragover",dY:"dragleave",hY:"drop",bY:"dragend",P1:"touchstart",
O1:"touchmove",N1:"touchend",M1:"touchcancel",NW:"beforeunload",vX:"consolemessage",yX:"contextmenu",LX:"devicechange",MX:"devicemotion",NX:"deviceorientation",UX:"DOMContentLoaded",ERROR:"error",SY:"help",LOAD:"load",QZ:"losecapture",M_:"orientationchange",r0:"readystatechange",x0:"resize",G0:"scroll",o2:"unload",YW:"canplay",ZW:"canplaythrough",iY:"durationchange",nY:"emptied",ENDED:"ended",GZ:"loadeddata",HZ:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",q0:"ratechange",H0:"seeked",
I0:"seeking",h1:"stalled",w1:"suspend",E1:"timeupdate",M2:"volumechange",Q2:"waiting",f1:"sourceopen",e1:"sourceended",d1:"sourceclosed",QV:"abort",UPDATE:"update",u2:"updatestart",s2:"updateend",LY:"hashchange",P_:"pagehide",Q_:"pageshow",e0:"popstate",AX:"copy",S_:"paste",FX:"cut",HW:"beforecopy",IW:"beforecut",LW:"beforepaste",K_:"online",H_:"offline",MESSAGE:"message",uX:"connect",iZ:"install",RV:"activate",AY:"fetch",EY:"foreignfetch",XZ:"messageerror",l1:"statechange",t2:"updatefound",zX:"controllerchange",
wW:hf("AnimationStart"),uW:hf("AnimationEnd"),vW:hf("AnimationIteration"),S1:hf("TransitionEnd"),X_:"pointerdown",d0:"pointerup",W_:"pointercancel",a0:"pointermove",c0:"pointerover",b0:"pointerout",Y_:"pointerenter",Z_:"pointerleave",JY:"gotpointercapture",RZ:"lostpointercapture",k_:"MSGestureChange",l_:"MSGestureEnd",m_:"MSGestureHold",n_:"MSGestureStart",o_:"MSGestureTap",p_:"MSGotPointerCapture",q_:"MSInertiaStart",r_:"MSLostPointerCapture",s_:"MSPointerCancel",t_:"MSPointerDown",u_:"MSPointerEnter",
v_:"MSPointerHover",w_:"MSPointerLeave",x_:"MSPointerMove",y_:"MSPointerOut",z_:"MSPointerOver",A_:"MSPointerUp",TEXT:"text",A1:g.zd?"textinput":"textInput",sX:"compositionstart",tX:"compositionupdate",rX:"compositionend",JW:"beforeinput",vY:"exit",EZ:"loadabort",FZ:"loadcommit",IZ:"loadredirect",JZ:"loadstart",KZ:"loadstop",B0:"responsive",X0:"sizechanged",q2:"unresponsive",L2:"visibilitychange",q1:"storage",ZX:"DOMSubtreeModified",VX:"DOMNodeInserted",XX:"DOMNodeRemoved",YX:"DOMNodeRemovedFromDocument",
WX:"DOMNodeInsertedIntoDocument",RX:"DOMAttrModified",TX:"DOMCharacterDataModified",MW:"beforeprint",jW:"afterprint",KW:"beforeinstallprompt",xW:"appinstalled"};g.A(jf,g.ef);var gua=function(a){return{valueOf:function(){return a}}.valueOf()}({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.Bd||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=g.Bd||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:gua[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()};
jf.prototype.stopPropagation=function(){jf.Z.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
jf.prototype.preventDefault=function(){jf.Z.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,eua)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.Km=!1)):(b=new Xaa(b,this.src,f,!!d,e),b.Km=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.Ba=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.Ba;if(b){var c=[];for(var d=1;b;b=b.Ba)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.zi&&0<=f;f--){var k=a.currentTarget=c[f];e=Hf(k,d,!0,a)&&e}a.zi||(k=a.currentTarget=b,e=Hf(k,d,!0,a)&&e,a.zi||(e=Hf(k,d,!1,a)&&e));if(c)for(f=0;!a.zi&&f<c.length;f++)k=a.currentTarget=c[f],e=Hf(k,d,!1,a)&&e;return e};
g.h.V=function(){g.Gf.Z.V.call(this);this.Ae&&g.pf(this.Ae);this.Ba=null};
g.h.U=function(a,b,c,d){return this.Ae.add(String(a),b,!1,c,d)};
g.h.hh=function(a,b,c,d){return this.Ae.add(String(a),b,!0,c,d)};
g.h.Aa=function(a,b,c,d){this.Ae.remove(String(a),b,c,d)};
g.h.Jk=function(a,b,c,d){return this.Ae.Jk(String(a),b,c,d)};
g.h.hasListener=function(a,b){return this.Ae.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.ks;0<a&&a<.8*this.ad?this.va=this.dk.setTimeout(this.eq,this.ad-a):(this.va&&(this.dk.clearTimeout(this.va),this.va=null),this.dispatchEvent("tick"),this.enabled&&(this.va=this.dk.setTimeout(this.eq,this.ad),this.ks=(0,g.F)()))}};
g.h.start=function(){this.enabled=!0;this.va||(this.va=this.dk.setTimeout(this.eq,this.ad),this.ks=(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.Z.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.yb=function(){return Fg(this).keys};
g.h.rb=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 OG=new Eg("undefined"==typeof window.document?null:window.document);OG.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.Bb=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.hd?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,lY:1},aca={T1:1};pi.prototype.isVisible=function(){return this.tg?.3<=this.g:.5<=this.g};var yj={fF:0,xY:1},Qba={J_:0,fG:1,G_:2},Rba={953563515:0,953563516:1,953563517:2},Wba={370204018:0,370204019:1,370204026:0,370204027:1},Xba={370204022:0,370204023:1},Yba={370204024:0,370204025:1},Sba={509445010:0,509445011:1},Tba={509445012:0,509445013:1},Uba={668123008:0,668123009:1},Vba={668123028:0,668123029:1},Zba={fF:0,AZ:1,zZ:2},$ba={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.Ed=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 nha={n2:0,E_:1,z0:2,uY:3,H1:4,HY:5,PZ:6,A0:7,GW:8,KY:9,PW:10,O0:11};var Qi=g.w.performance,hua=!!(Qi&&Qi.mark&&Qi.measure&&Qi.clearMarks),Oi=g.Lf(function(){var a;if(a=hua){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.ee(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 iua,ai=ki.URL;iua=!!ai&&0<zba().length;Zi.C(!iua)};var gj={},hj=null;gj.le=0;gj.nt=2;gj.Fr=3;gj.Po=5;gj.me=1;gj.om=4;g.pk=!g.zd&&!ic();rj.prototype.ma=function(){return this.B};var Pba=(0,g.F)(),vj=-1,tj=-1,al,wj=-1,uj=!1;g.wa(zj);Aj.prototype.cancel=function(){gi.clearTimeout(this.g);this.g=null};
Aj.prototype.schedule=function(){var a=this;gi&&(this.g=gi.setTimeout(aj(143,function(){a.o++;a.l.zC()}),xj(zj.getInstance().F)))};g.h=Dj.prototype;g.h.Ei=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.Zh=function(){return this.K};
g.h.Le=function(){return this.l==this?this.name:this.l.Le()};
g.h.Cf=function(){return{}};
g.h.Ef=function(){return this.B};
g.h.zC=function(){};
g.h.Zo=function(){};
g.h.Yh=function(a){var b=this.B,c=a.Ef();this.l=c<this.F?this:a;this.B=this.l!=this?c:this.F;this.l==this||1==c&&0!=this.F||this.Zo();this.B!=b&&Ej(this)};
g.h.Xg=function(a){this.l!=this&&Lj(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=Mj.prototype;g.h.oz=function(){};
g.h.zs=function(){};
g.h.hq=function(){this.o=new rj(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()||(Hj(this.g,this),this.F=!0)};
g.h.ha=function(){return this.F};
g.h.Le=function(){return this.A.Le()};
g.h.Cf=function(){return this.A.Cf()};
g.h.Ef=function(){return this.A.Ef()};
g.h.ej=function(){return this.A.ej()};
g.h.Zh=function(){return this.A.Zh()};
g.h.Yh=function(a){this.A=a;this.H.Yh(this)};
g.h.Xg=function(){this.hq()};
g.h.Ag=function(){return this.H.Ag()};g.h=Nj.prototype;g.h.Le=function(){return this.g.Le()};
g.h.Ef=function(){return this.g.Ef()};
g.h.ej=function(){return this.g.ej()};
g.h.Zh=function(){return this.g.Zh()};
g.h.create=function(a,b,c){var d=null;this.g&&(d=this.nz(a,b,c),Gj(this.g,d));return d};
g.h.Ei=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.Cf=function(){return{}};Oj.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};Pj.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)}};Yj.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)};
Yj.prototype.eh=function(){return this.W.o>=this.aa};Zj.prototype.getStatus=function(){return"u"};
g.p(ck,Zj);var hca=[3,7,8,5,5],ica=[3,4,4,5,6],jca=[3,4,5,6],kca=[3,5];dk.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}};
dk.prototype.isVisible=function(a){return 50>a-this.l-this.o};
dk.prototype.remove=function(){try{g.Ld(this.g)}catch(a){}this.g=null};hk.prototype.add=function(a,b,c){++this.o;var d=this.o/4096;this.g.push(oca(new fk(a,b,c),d));this.l=!0;return this};var lk,C0=new Date(0);lk=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";mk.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=kk(this.g);0<b.length&&(a+="?"+b);return a};var ok=new g.bh(0,0,0,0),Aca={threshold:[0,.3,.5,.75,1]};g.h=qk.prototype;g.h.Xg=function(){};
g.h.Yh=function(a){a.Zh()&&this.AD(this,a.ej(),a)};
g.h.Ag=function(){return!1};
g.h.zn=function(){return new Yj};
g.h.Cd=function(){return this.ts};
g.h.dz=function(){};
g.h.bz=function(){};
g.h.Vx=function(){};
g.h.rp=function(){};
g.h.Eg=function(a,b,c,d,e,f,k){k=void 0===k?{}:k;var l=this.Mx(c,k);k=this.gq(a,b,d,k);g.ua(b)||(this.OA=new g.hd(a.left-b.left,a.top-b.top),this.Rl=new g.kd(b.right-b.left,b.bottom-b.top));e=e&&this.tc.g>=(this.tg()?.3:.5);this.yu(l,k,e,f);this.ki=c;0<k.g&&-1===this.nD&&(this.nD=c);-1==this.pD&&this.eh()&&(this.pD=c);if(-2==this.os)try{a:{var m=g.ua(b)?null:b;if(a&&a!=ok&&0!=this.te){if(!m){if(!this.Rl){var n=-1;break a}m=new g.bh(0,this.Rl.width,this.Rl.height,0)}n=m.Bb&&0<m.Bb()&&m.getHeight&&
0<m.getHeight()?this.wk(a,m):-1}else n=-1}this.os=n}catch(q){bj(207,q)}this.tc=k;d&&(this.tc.g=0);this.us(this)};
g.h.yu=function(a,b,c,d){this.Cd().update(a,b,this.tc,c,d)};
g.h.Rq=function(){return new pi};
g.h.gq=function(a,b,c){var d=this.Rq();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.Mx=function(a){if(-1==this.ki)return 0;a=a-this.ki||1;return 1E4<a?1:a};
g.h.wk=function(a,b){if(0===this.opacity&&1===wi(this.qb,"opac"))return 0;if(g.ua(a))return a;if(b){var c=oj(a,b),d=1==wi(this.qb,"od");return 0>=this.te||pj(c,b,this.ng,d)?0:(c.bottom-c.top)*(c.right-c.left)/this.te}return 0};
g.h.tg=function(){return!1};
g.h.He=function(){return 0};
g.h.eh=function(){return this.ts.eh()};
g.h.ku=function(a){a=void 0===a?1:a;if(!this.ng)return!1;var b=this.tg();b&&(a=4);b=new ck(b,a);if(a=eca(b,this.ng))this.Bi=b;return a};var yk="StopIteration"in g.w?g.w.StopIteration:{message:"StopIteration",stack:""};xk.prototype.next=function(){throw yk;};
xk.prototype.Md=function(){return this};g.Ck=function(){if(g.r0){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Ib))?a[1]:"0"}return AT?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Ib))?a[0].replace(/_/g,"."):"10"):g.jo?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Ib))?a[1]:""):bo||co||Zta?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Ib))?a[1].replace(/_/g,"."):""):""}();var Ix=null,D0={},mha=(D0[8]="google_prev_ad_formats_by_region",D0[9]="google_prev_ad_slotnames_by_region",D0);var Xl={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Bl={Iv:"start",gv:"firstquartile",xv:"midpoint",Mv:"thirdquartile",bv:"complete",ZF:"metric",PAUSE:"pause",vG:"resume",Dv:"skip",Qv:"viewable_impression",cG:"mute",TG:"unmute",hv:"fullscreen",wF:"exitfullscreen",WW:"bufferstart",VW:"bufferfinish",jv:"fully_viewable_audible_half_duration_impression",vv:"measurable_impression",HE:"abandon",ev:"engagedview",fm:"impression",mF:"creativeview",Np:"loaded",k0:"progress",CLOSE:"close",
mX:"collapse",lG:"overlay_resize",mG:"overlay_unmeasurable_impression",nG:"overlay_unviewable_impression",pG:"overlay_viewable_immediate_impression",oG:"overlay_viewable_end_of_session_impression",oF:"custom_metric_viewable"},Vda="start firstquartile midpoint thirdquartile resume loaded".split(" "),Wda=["start","firstquartile","midpoint","thirdquartile"],Nca=["abandon"],zl={UNKNOWN:-1,Iv:0,gv:1,xv:2,Mv:3,bv:4,ZF:5,PAUSE:6,vG:7,Dv:8,Qv:9,cG:10,TG:11,hv:12,wF:13,jv:14,vv:15,HE:16,ev:17,fm:18,mF:19,
Np:20,oF:21};g.p(Hk,pi);Jk.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)};Lk.prototype.getValue=function(){return this.l};
Lk.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(Mk,Yj);
Mk.prototype.update=function(a,b,c,d,e){if(!b.paused){Yj.prototype.update.call(this,a,b,c,d,e);e=Ik(b)&&Ik(c);var f=.5<=(d?Math.min(b.g,c.g):c.g);mj(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,Ik(b))}};g.p(Ok,Jca);Ok.prototype.B=function(){return!0};
Ok.prototype.A=function(){return!1};
Ok.prototype.l=function(){var a=this,b=Wb(Bl,function(b){return b==a.C});
return zl[b].toString()};
Ok.prototype.toString=function(){var a="";this.A()&&(a+="c");this.g&&(a+="s");0<this.o&&(a+=":"+this.o);return this.l()+a};var jua=new g.bh(0,0,0,0),E0={},Oca=(E0.firstquartile=0,E0.midpoint=1,E0.thirdquartile=2,E0.complete=3,E0);g.p(Rk,qk);g.h=Rk.prototype;g.h.Ag=function(){return!0};
g.h.ku=function(a){a=void 0===a?3:a;var b=zj.getInstance().qb,c=!!wi(b,"rafx");b=!!wi(b,"rafv");return c||b?qk.prototype.ku.call(this,a):!1};
g.h.dz=function(a){var b=this,c=a-this.Qa;this.oa&&1E3>=c||(c=g.x("ima.bridge.getNativeViewability"),g.Aa(c)&&(c(this.sd,function(a){b.oa=!1;b.H&&(b.za=!0);g.Yb(a)&&b.Ba++;b.rp(a)}),this.oa=!0,this.Qa=a))};
g.h.bz=function(a){var b=zj.getInstance();a-this.Na>xj(b.F)&&(a=g.x("ima.admob.getViewability"),g.Aa(a)&&a(this.sd))};
g.h.Vx=function(a){this.Na=sj();this.rp(a)};
g.h.rp=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?jua.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.te=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.Eg(b,c,
d,!1,!0,!0,e)};
g.h.Eg=function(a,b,c,d,e,f,k){var l=this;k=void 0===k?{}:k;var m=this.la(this)||{};g.fc(m,k);this.A=m.duration||this.A;this.I=m.isVpaid||this.I;this.ib=m.isYouTube||this.ib;this.aa=f;qk.prototype.Eg.call(this,a,b,c,d,e,f,m);(0,g.B)(this.D,function(a){a.g||(a.g=Qk(a,l))})};
g.h.yu=function(a,b,c,d){qk.prototype.yu.call(this,a,b,c,d);Tk(this).update(a,b,this.tc,c,d);this.fa=Ik(this.tc)&&Ik(b);-1==this.W&&this.Ca&&(this.W=this.Cd().l.g);this.Fc.o=0;a=this.tc;b=this.eh();.5<=a.g&&this.Fc.xa("vs");b&&this.Fc.xa("vw");mj(a.volume)&&this.Fc.xa("am");this.fa&&this.Fc.xa("a");this.Kf&&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.aa&&this.Fc.xa("cm");this.aa&&0<a.g&&this.Fc.xa("pv");Wk(this,this.Cd().l.g,!0)&&this.Fc.xa("gdr");
2E3<=Vj(this.Cd().g,1)&&this.Fc.xa("pmx")};
g.h.zn=function(){return new Mk};
g.h.Cd=function(){return this.ts};
g.h.Rq=function(){return new Hk};
g.h.gq=function(a,b,c,d){a=qk.prototype.gq.call(this,a,b,c,d);a.fullscreen=this.Kf;a.paused=2==this.Dc;a.volume=d.volume;mj(a.volume)||(this.Ya++,b=this.tc,mj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.A=g.t(d)&&0<=d?d:-1;return a};
g.h.Mx=function(a,b){var c=g.t(b.currentTime)?b.currentTime:this.L;if(-1==this.ki||2==this.Dc)var d=0;else{d=a-this.ki||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.pa+=Math.abs(e);0!=e&&(this.K=0);-1==this.Ab&&0<e&&(this.Ab=0<=wj?sj()-wj:-1);this.L=c;return 1==Uk(this)?f:d};
g.h.wk=function(a,b){return this.H?0:this.Kf?1:qk.prototype.wk.call(this,a,b)};
g.h.He=function(){return 1};
g.h.getDuration=function(){return this.A};var kua=(0,g.F)();g.wa(cl);g.A(g.dl,g.K);g.h=g.dl.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:el(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,el(this))};
g.h.V=function(){g.dl.Z.V.call(this);this.stop()};
g.h.kI=function(){this.va=null;this.nj&&!this.Pk&&(this.nj=!1,el(this))};g.h=gl.prototype;g.h.ez=function(){kl(this,!1);this.jr()};
g.h.jr=function(){ll(this,ol(this),!1)};
g.h.zC=function(){ll(this,ol(this),!1)};
g.h.by=function(){var a=ml(this),b=sj();a?(uj||(vj=b,(0,g.B)(this.g,function(a){var c=a.Cd();c.R=Nk(c,b,1!=a.Dc)})),uj=!0,kl(this,!0)):(uj=!1,al=b,(0,g.B)(this.g,function(a){a.Ph&&(a.Cd().F=b)}));
ll(this,ol(this),!a)};
g.h.EU=function(a){var b;if(b=null!=a.IntersectionObserver){if(a=pl(a,"nio",ol(this)))zj.getInstance().ub="nio";b=a}return b};
g.h.FU=function(a){return Ek()&&ql(this,a)};
g.h.DU=function(a){if(g.uh&&g.ua(a.screenX)&&g.ua(a.mozInnerScreenX)&&g.ua(a.outerWidth)){a=a.navigator.userAgent;var b=a.indexOf("Firefox/");if(0<=b){b=Math.floor(a.substr(b+8))||-1;var c=a.indexOf("Mac OS X 10."),d=-1;0<=c&&(d=Number(a.substr(c+12,1))||-1);var e=0<d?-1:a.indexOf("Windows NT ");c=-1;0<=e&&(c={"6.0":0,"6.1":1,"6.2":2}[a.substr(e+11,3)]||-1);a=148;5<=d?a=4<=b?108:3<=b?127:108:0<=c&&(16==b||17==b||18==b)&&(a=[[146,146,146],[148,147,148],[131,130,136]][c][b-16])}else a=null;null!==a&&
(this.D=a,zj.getInstance().ub="xde");return!0}return!1};
g.h.CU=function(a){return g.zd&&g.rc(8)&&g.Aa(ij(a&&a.document))?(zj.getInstance().ub="iem",!0):!1};
g.h.reset=function(){this.g=[];this.l=[]};
g.wa(gl);var il=gl.getInstance();var Pl=null,Ul="",Rl=!1;var gda=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]),lua={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:xl("qmtos"),qnc:xl("qnc"),qmv:xl("qmv"),qnv:xl("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"},mua={c:sl("c"),at:"at",atos:wl("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:ul(),j:"dom",mtos:wl("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:sl("ss"),vsv:Kf("w2"),t:"t"},nua={atos:"atos",amtos:"amtos",avt:wl("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:sl("ss"),t:"t"},oua={a:"a",tos:ul(),at:"at",c:sl("c"),mtos:wl("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Kf("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},pua={tos:ul(),at:"at",c:sl("c"),mtos:wl("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Kf("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:wl("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(Cl,Ok);Cl.prototype.B=function(a){return a.Cd().eh()};g.p(El,ida);El.prototype.g=function(a){var b=new hda;b.g=Dl(a,lua);b.o=Dl(a,nua);return b};g.p(Fl,Mj);Fl.prototype.Ik=function(){return!0};
Fl.prototype.hq=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.ed),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=oj(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);var e=this.g.g.g;d=a=0;var f=1==wi(this.qb,"od");c=(this.l.bottom-this.l.top)*(this.l.right-this.l.left);e&&b&&0<c&&(pj(b,
e,this.element,f)?b=new g.bh(0,0,0,0):(f=(b.bottom-b.top)*(b.right-b.left),e=(e.bottom-e.top)*(e.right-e.left),a=f/c,e&&(d=f/e)));this.o=new rj(this.g.g,this.element,this.l,b,this.Ik(),a,d)};
Fl.prototype.Zh=function(){return this.A.Zh()};
Fl.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);Mj.prototype.Xg.call(this,a)};g.p(Gl,Nj);g.h=Gl.prototype;g.h.Le=function(){return this.l?this.l.Le():this.g?this.g.Le():"na"};
g.h.Cf=function(){return this.l?this.l.Cf():this.g?this.g.Cf():{}};
g.h.Ef=function(){return this.l?this.l.Ef():this.g?this.g.Ef():0};
g.h.init=function(a){this.A=a;return this.g?((0,g.B)(this.o,function(a){return a.initialize()}),Gj(this.g,this),!0):!1};
g.h.dispose=function(){(0,g.B)(this.o,function(a){a.Zo();a.dispose()});
Nj.prototype.dispose.call(this)};
g.h.Ei=function(){return(0,g.Jj)(this.o,function(a){return a.Ei()})};
g.h.kg=function(){return(0,g.Jj)(this.o,function(a){return a.kg()})};
g.h.nz=function(a,b,c){return new Fl(a,this.g,b,c)};
g.h.Yh=function(a){0==a.Ef()&&this.A(a.ej(),this)};
g.h.Xg=function(a){this.l=a.B};
g.h.Ag=function(){return!1};var lda={threshold:[0,.3,.5,.75,1]};g.p(Hl,Mj);g.h=Hl.prototype;g.h.Le=function(){return"nio"};
g.h.Ik=function(){return!0};
g.h.oz=function(){var a=this;this.C||(this.C=sj());$i(298,function(){return nda(a)})||Fj(this.g,"msf")};
g.h.zs=function(){if(this.l&&this.element)try{this.l.unobserve(this.element)}catch(a){}};
g.h.Cf=function(){var a={};return Object.assign(this.g.Cf(),(a.niot_obs=this.C,a.niot_cbk=this.B,a))};
g.p(Il,Nj);Il.prototype.Le=function(){return"nio"};
Il.prototype.Ei=function(){var a=wi(zj.getInstance().qb,"nio_mode"),b=2===a;a=1===a;var c=zj.getInstance().g;return(b||a&&c)&&this.kg()};
Il.prototype.kg=function(){return 1!=wi(zj.getInstance().qb,"inapp")&&null!=this.g.ed.IntersectionObserver};
Il.prototype.nz=function(a,b,c){return new Hl(a,this.g,b,c)};g.p(Jl,Dj);g.h=Jl.prototype;g.h.Le=function(){return"osd"};
g.h.Cf=function(){return{A2:1}};
g.h.initialize=function(){var a=this;if(!this.I)if(this.I=!0,this.C.Ed()){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))){xda(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);Ml(a,n)}catch(q){bj(406,q)}}if("goog_get_mode"==f||"goog_acknowledge_monitoring"==
f)oda(a,e[28]),a.H=2,Ll(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,Ej(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=Ij(a),c.l=b,c.g=n,c.A=ml(il),Lj(a,c))),b=e[0],n=100*e[25],g.ua(n)&&!(0,window.isNaN)(n)&&
qda(a,n),void 0!=e[18]&&rda(a,e[18]),void 0!=e[7]&&0<e[7]&&sda(a,e[7]),n=!!e[5],c=!!e[11],f=!1,"goog_update_data"==b&&(f=!!e[15],pda(a,e[3])),e=!c&&"goog_update_data"==b&&!e[18],b){case "goog_image_request":tda(a,n,c);case "goog_update_data":e&&uda(a),n&&vda(a,f),c&&wda(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)Ll(a);else if(10<a.ea)Fj(a,"no");else if(a.ed.postMessage)if(d.Ed()){var k=Kl(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.ed.document.domain;l[16]=e;f&&f.length&&(l[19]=f);try{var m=ej(l);k.postMessage(m,"*")}catch(n){}}}else Fj(a,"ib");else Fj(a,"c")});
this.H=1;this.L=this.ed.setInterval(b,500)}else Fj(this,"ib")};
g.h.Zo=function(){var a={};dj(this.C,a);a[0]="goog_stop_monitoring";Ml(this,ej(a));Ll(this)};
g.h.Ei=function(){var a=zj.getInstance();return wi(a.qb,"osd")&&this.kg()?4===a.H?!!wi(a.qb,"mkm"):!0:!1};
g.h.kg=function(){return zj.getInstance().g};
g.wa(Jl);g.h=Nl.prototype;g.h.Zm=function(a){a.Kf=!1;Bda(a.He(),a.sd)};
g.h.Bn=function(){};
g.h.Jo=function(a,b,c,d){this.g||(this.g=this.Pw());b=c?b:-1;if(null==this.g||this.A)return a=new Rk(gi,a,b,7),a.sd=d,a;a=new Rk(gi,a,b,7,new Ok("measurable_impression",this.g),this.Yq());a.sd=d;return a};
g.h.Yq=function(){return[new Cl("viewable_impression",this.g)]};
g.h.Yh=function(a){var b=zj.getInstance();switch(a.Ef()){case 0:b.o=!1;(a=cl.getInstance().g)&&Hj(a.g,this);(a=Jl.getInstance())&&Hj(a,this);Ql();break;case 2:b.o&&jl()}};
g.h.Xg=function(a){var b=zj.getInstance();b.o&&(b.l=a.l,b.B=a.g)};
g.h.Ag=function(){return!1};
g.h.SI=function(a,b){a.bh=!0;switch(a.He()){case 1:Vl(this,a,b);break;case 2:this.au(a)}this.fu(a)};
g.h.bJ=function(a){Yk(a,0);return $k(a,"start",ml(il))};
g.h.gk=function(a,b,c){ll(il,[a],!ml(il),b);return this.Ug(a,b,c)};
g.h.Ug=function(a,b,c){return $k(a,c,ml(il))};
g.h.WI=function(a,b){return Wl(a,"firstquartile",1,b)};
g.h.YI=function(a,b){a.Ca=!0;return Wl(a,"midpoint",2,b)};
g.h.cJ=function(a,b){return Wl(a,"thirdquartile",3,b)};
g.h.TI=function(a,b){var c=Wl(a,"complete",4,b);0!=a.Dc&&(a.Dc=3);return c};
g.h.xC=function(a,b,c){var d=ml(il);if(2==a.Dc&&!d){var e=sj();a.Cd().F=e}ll(il,[a],!d,b);2==a.Dc&&(a.Dc=1);return $k(a,c,d)};
g.h.aJ=function(a,b){var c=this.gk(a,b||{},"skip");0!=a.Dc&&(a.Dc=3);return c};
g.h.XI=function(a,b){a.Kf=!0;return this.gk(a,b||{},"fullscreen")};
g.h.VI=function(a,b){a.Kf=!1;return this.gk(a,b||{},"exitfullscreen")};
g.h.Qt=function(a,b,c){var d=a.Cd(),e=sj();d.R=Nk(d,e,1!=a.Dc);ll(il,[a],!ml(il),b);1==a.Dc&&(a.Dc=2);return $k(a,c,ml(il))};
g.h.ZI=function(a,b){ll(il,[a],!ml(il),b);return a.l()};
g.h.sr=function(a,b){ll(il,[a],!ml(il),b);this.rC(a);0!=a.Dc&&(a.Dc=3);return a.l()};
g.h.pr=function(){};
g.h.au=function(){};
g.h.rC=function(){};
g.h.mz=function(){};
g.h.fu=function(){};
g.h.Pw=function(){};var Gda={yY:"visible",yW:"audible",C1:"time",F1:"timetype"},Zl={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($l,Ok);$l.prototype.l=function(){return this.ia};
$l.prototype.A=function(){return!0};
$l.prototype.B=function(a){var b=a.Cd(),c=a.getDuration();return(0,g.Jj)(this.D,function(a){if(void 0!=a.g)var d=Ida(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(am,Ok);am.prototype.B=function(a){var b=Tj(a.Cd().o,1);return Wk(a,b)};var cm=(0,g.F)(),gm=!1,hm=!1,im=!1,Kda=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return fm(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 fm(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 fm(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 fm(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 fm(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return hm},
function(){return im},
function(){return fm(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 fm(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]||bm(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 bm(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 fm(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 bm(a.CSS.supports)},
function(){return bm(window.Intl.Collator)},
function(a){return bm(a.document.createElement("dialog").show)},
function(){return fm(8)},
function(a){return bm(a.document.createElement("div").animate([{transform:"scale(1)",LH:"ease-in"},{transform:"scale(1.3)",LH:"ease-in"}],{duration:1300,t3:1}).reverse)},
function(a){return bm(a.document.createElement("div").animate)},
function(a){return bm(a.document.documentElement.webkitRequestFullScreen)},
function(a){return bm(a.navigator.getBattery)},
function(a){return bm(a.navigator.permissions.query)},
function(){return!1},
function(){return fm(9)},
function(){return bm(window.webkitRequestAnimationFrame)},
function(a){return bm(a.BroadcastChannel.call)},
function(a){return bm(a.FontFace)},
function(a){return bm(a.Gamepad)},
function(){return fm(10)},
function(a){return bm(a.MutationEvent)},
function(a){return bm(a.MutationObserver)},
function(a){return bm(a.crypto.getRandomValues)},
function(a){return bm(a.document.body.createShadowRoot)},
function(a){return bm(a.document.body.webkitCreateShadowRoot)},
function(a){return bm(a.fetch)},
function(){return fm(11)},
function(a){return bm(a.navigator.serviceWorker.register)},
function(a){return bm(a.navigator.webkitGetGamepads)},
function(a){return bm(a.speechSynthesis.speak)},
function(a){return bm(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return fm(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 fm(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 fm(14)},
function(a){return"undefined"==typeof a.navigator.B3},
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")}],Lda=[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}],Mda=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.A(jm,iba);jm.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.A=this.o=0};
jm.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;)km(this,a,f),f+=this.l;if(g.v(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.l){km(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.l){km(this,d);e=0;break}}this.o=e;this.A+=b};
jm.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(lm,El);lm.prototype.g=function(a){var b=El.prototype.g.call(this,a);var c=cm=(0,g.F)();var d=fm(5);c=(hm?!d:d)?c|2:c&-3;d=fm(2);c=(im?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.l||(this.l=Nda());b.B=this.l;b.C=Dl(a,mua,c,"h",mm("kArwaWEsTs"));b.A=Dl(a,oua,{},"h",mm("b96YPMzfnx"));b.l=Dl(a,pua,{},"h",mm("yb8Wev6QDg"));return b};nm.prototype.g=function(){return g.x(this.l)};g.p(om,nm);om.prototype.g=function(a){if(!a.rh)return nm.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(tm,Nl);g.h=tm.prototype;g.h.Bn=function(a,b){var c=this;switch(zj.getInstance().ub){case "nis":var d=Sda(this,a,b);break;case "gsv":d=Rda(this,a,b);break;case "exc":d=Tda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=Dda(this,a,b.opt_adElement,b.opt_osdId):d=nl(a)||void 0}d&&1==d.He()&&(d.la==g.y&&(d.la=function(a){return c.mz(a)}),Qda(this,d,b));
return d};
g.h.mz=function(a){var b=zj.getInstance();a.g=0;a.R=0;if("h"==a.C||"n"==a.C){if("exc"==b.ub||"nis"==b.ub)var c=g.x("ima.bridge.getVideoMetadata");else if(a.rh&&wm(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.sd)}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.sd)}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.sd)}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={});Eda(e,a);mj(e.volume)&&mj(this.B)&&(e.volume*=this.B);return e};
g.h.Pw=function(){if(wm(this))return new om("ima.common.triggerExternalActivityEvent",this.l,this.D);var a=Uda(this);return null!=a?new nm(a,this.l):null};
g.h.Yq=function(){var a=this.g,b=Nl.prototype.Yq.call(this);b.push(new am(a));return b};
g.h.au=function(a){!a.g&&a.bh&&Tl(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)};
g.h.rC=function(a){a.mu&&(a.eh()?Tl(this,a,"overlay_viewable_end_of_session_impression"):Tl(this,a,"overlay_unviewable_impression"),a.mu=!1)};
g.h.pr=function(a){this.A&&1==a.He()&&xm(this,a)};
g.h.fu=function(a){this.A&&1==a.He()&&xm(this,a)};
g.h.Jo=function(a,b,c,d){a=Nl.prototype.Jo.call(this,a,b,c,d);this.C&&(b=this.F,null==a.l&&(a.l=new Gk),b.g[a.sd]=a.l,a.l.B=kua);return a};
g.h.Zm=function(a){a&&1==a.He()&&this.C&&delete this.F.g[a.sd];return Nl.prototype.Zm.call(this,a)};
g.wa(tm);var qua=aj(193,zm,void 0,function(){var a=zj.getInstance(),b={};return b.sv="650",b["if"]=a.g?"1":"0",b.nas=String(il.g.length),b});
g.va("Goog_AdSense_Lidar_sendVastEvent",qua,void 0);var rua=aj(194,function(a,b){b=void 0===b?{}:b;var c=vm(tm.getInstance(),a,b);return ym(c)});
g.va("Goog_AdSense_Lidar_getViewability",rua,void 0);var sua=aj(195,function(){return sm()});
g.va("Goog_AdSense_Lidar_getUrlSignalsArray",sua,void 0);var tua=aj(196,function(){return g.Bg(sm())});
g.va("Goog_AdSense_Lidar_getUrlSignalsList",tua,void 0);var KB=(new Date).getTime();g.h=g.Dm.prototype;g.h.Ac=function(){return this.Fa};
g.h.rb=function(){Gm(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.l[this.g[b]]);return a};
g.h.yb=function(){Gm(this);return this.g.concat()};
g.h.isEmpty=function(){return 0==this.Fa};
g.h.clear=function(){this.l={};this.Ah=this.Fa=this.g.length=0};
g.h.remove=function(a){return Em(this.l,a)?(delete this.l[a],this.Fa--,this.Ah++,this.g.length>2*this.Fa&&Gm(this),!0):!1};
g.h.get=function(a,b){return Em(this.l,a)?this.l[a]:b};
g.h.set=function(a,b){Em(this.l,a)||(this.Fa++,this.g.push(a),this.Ah++);this.l[a]=b};
g.h.forEach=function(a,b){for(var c=this.yb(),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.Dm(this)};
g.h.Md=function(a){Gm(this);var b=0,c=this.Ah,d=this,e=new xk;e.next=function(){if(c!=d.Ah)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw yk;var e=d.g[b++];return a?e:d.l[e]};
return e};g.h=g.Jm.prototype;g.h.toString=function(){var a=[],b=this.A;b&&a.push(Rm(b,uua,!0),":");var c=this.l;if(c||"file"==b)a.push("//"),(b=this.F)&&a.push(Rm(b,uua,!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(Rm(c,"/"==c.charAt(0)?vua:wua,!0));(c=this.g.toString())&&a.push("?",c);(c=this.Uh())&&a.push("#",Rm(c,xua));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.Km(b,a.A):c=!!a.F;c?b.F=a.F:c=!!a.l;c?g.Lm(b,a.l):c=null!=a.B;var d=a.o;if(c)g.Mm(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.Nm(b,d):c=""!==a.g.toString();c?Om(b,a.g.clone()):c=!!a.H;c&&(b.H=a.Uh());return b};
g.h.clone=function(){return new g.Jm(this)};
g.h.Jx=function(){return this.g.toString()};
g.h.Uh=function(){return this.H};
var uua=/[#\/\?@]/g,wua=/[#\?:]/g,vua=/[#\?]/g,bea=/[#\?@]/g,xua=/#/g;g.h=g.Qm.prototype;g.h.Ac=function(){Um(this);return this.Fa};
g.h.add=function(a,b){Um(this);this.l=null;a=Xm(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){Um(this);a=Xm(this,a);return Fm(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(){Um(this);return 0==this.Fa};
g.h.forEach=function(a,b){Um(this);this.g.forEach(function(c,d){(0,g.B)(c,function(c){a.call(b,c,d,this)},this)},this)};
g.h.yb=function(){Um(this);for(var a=this.g.rb(),b=this.g.yb(),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.rb=function(a){Um(this);var b=[];if(g.v(a))Ym(this,a)&&(b=g.Ya(b,this.g.get(Xm(this,a))));else{a=this.g.rb();for(var c=0;c<a.length;c++)b=g.Ya(b,a[c])}return b};
g.h.set=function(a,b){Um(this);this.l=null;a=Xm(this,a);Ym(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.rb(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.yb(),c=0;c<b.length;c++){var d=b[c],e=g.pb(d);d=this.rb(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.Qm;a.l=this.l;this.g&&(a.g=this.g.clone(),a.Fa=this.Fa);return a};var Pn={LF:5E3,MF:15E3,zv:"://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(" "),tG:/\bocr\b/,uq:0,yg:{},eU:function(a,b,c){a&&(Pn.iK(a)?Pn.NC(a,b):Pn.JC(a,b,c))},
iK:function(a){if(g.C(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.Jm(a)}catch(c){return null!=g.Ma(Pn.zv,function(b){return 0<a.search(b)})}return b.Uh().match(Pn.tG)?!0:null!=g.Ma(Pn.zv,function(b){return null!=a.match(b)})},
NC:function(a,b){if(a&&(a=Pn.bI(a),!g.C(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?Pn.Ny(function(b){Pn.HC(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):Pn.HC(c)}},
HC: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.Ld(b)},Pn.MF);
var d=rf(b,["load","error"],function(){g.vg(function(){g.wg(c);g.Ld(b)},Pn.LF)});
a.appendChild(b)},
Ny:function(a,b){var c=Pn.yg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(b,c){delete Pn.yg[c];d||(d=!0,null!=Pn.yg.imageLoadingEnabled||(Pn.yg.imageLoadingEnabled=b),a(b))};
b?b(c):Pn.tK(c)}},
tK:function(a){var b=new window.Image,c=""+Pn.uq++;Pn.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=="},
dU:function(a){if(a){var b=g.Fd("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+Pn.uq++;Pn.yg[c]=b;b.onload=b.onerror=function(){delete Pn.yg[c]};
window.document.body.appendChild(b)}},
IC:function(a){if(a){var b=new window.Image,c=""+Pn.uq++;Pn.yg[c]=b;b.onload=b.onerror=function(){delete Pn.yg[c]};
b.src=a}},
JC: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?Pn.Ny(function(b){b?Pn.IC(a):Pn.dU(a)}):Pn.IC(a)}},
bI: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.Zm,g.K);var bn=[];g.h=g.Zm.prototype;g.h.U=function(a,b,c,d){return $m(this,a,b,c,d)};
g.h.hh=function(a,b,c,d){return cn(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.Zm.Z.V.call(this);g.en(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.A(fn,g.K);fn.prototype.D=function(){this.A=(0,g.F)()};
fn.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("&"))};
fn.prototype.F=function(){this.B++};
fn.prototype.V=function(){fn.Z.V.call(this);this.g.dispose()};var eea=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var jn="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");ln.prototype.isBumper=function(){return this.l};g.h=mn.prototype;g.h.Kq=function(){return this.g.Kq()};
g.h.Mk=function(){return this.g.Mk()};
g.h.Df=function(){return this.g.Df()};
g.h.Xk=function(a){return this.Yf?this.g.Jn():this.g.Xk(a)};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.Cq=function(){return this.g.Cq()};
g.h.rj=function(){return this.g.rj()};
g.h.xr=function(){return this.g.xr()};
g.h.Ln=function(){return this.g.Ln()};
g.h.hide=g.y;g.h.Jf=g.y;g.h.td=g.y;g.h.Jn=function(){return this.g.Jn()};
g.h.Kn=g.y;g.A(nn,g.ef);nn.prototype.getError=function(){return this.l};var cz="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(" "),
Xha="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(on,g.ef);on.prototype.Lb=function(){return this.l};
var Hha={TV:"adCanPlay",VV:"adNotify",wX:"contentPauseRequested",xX:"contentResumeRequested",Hp:"click",QX:"discardAdNotify",G2:"videoClicked",I2:"videoIconClicked",ev:"engagedview",wY:"expandedChanged",k1:"start",fm:"impression",vv:"measurable_impression",Qv:"viewable_impression",jv:"fully_viewable_audible_half_duration_impression",lG:"overlay_resize",mG:"overlay_unmeasurable_impression",nG:"overlay_unviewable_impression",pG:"overlay_viewable_immediate_impression",oG:"overlay_viewable_end_of_session_impression",
zY:"externalActivityEvent",PAUSED:"pause",C0:"resume",gv:"firstquartile",xv:"midpoint",Mv:"thirdquartile",bv:"complete",jY:"durationChange",EW:"autoClose",w2:"userClose",z2:"userRecall",g0:"prefetched",Np:"loaded",sW:"allAdsCompleted",Dv:"skip",CG:"skipshown",DZ:"linearChanged",a1:"skippableStateChanged",UV:"adMetadata",SV:"adBreakReady",OZ:"log",VOLUME_CHANGED:"volumeChange",O2:"mute",oZ:"interaction",nX:"companionBackfill",e3:"youTubeVideoMetadata",b3:"youTubeChannelMetadata",v2:"urlNavigationRequested",
R1:"trackingUrlPinged",C2:"video_card_endcap_action",D2:"video_card_endcap_collapse",E2:"video_card_endcap_dismiss",F2:"video_card_endcap_impression",Y2:"why_this_ad_url",X2:"why_this_ad_got_it",C_:"MUTE_AD",qX:"companionInitialized",pX:"companionImpression",oX:"companionClick",WZ:"mediaUrlPinged",d3:"youtubeKevlarCompanionShow",c3:"youtubeKevlarCompanionHide",f3:"yt-show-toast"};sn.prototype.g=function(){return this.W};
sn.prototype.getPlayerType=function(){return""};
var N=new sn;var yua={NORMAL:"normal",hv:"fullscreen"};var vt=["ADSENSE","ADSENSE/ADX"],ega=["DART","DART_DFA","DART_DFP"],qga=["FREEWHEEL","YT:FREEWHEEL"],Es=["SHOPPING","YT:SHOPPING"],fga=["GDFP"],dga=["VIRAL","ADSENSE-VIRAL"],cga=["VIRAL-RESERVE"],nq={"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"},$u={HX:"application/dash+xml",h_:"video/mp4",
j_:"video/mpeg",TZ:"application/x-mpegURL",I_:"video/ogg",B1:"video/3gpp",R2:"video/webm",MP3:"audio/mpeg",i_:"audio/mp4"};g.A(tn,g.ef);g.A(un,Error);un.prototype.Dd=function(){return this.A};
un.prototype.Tb=function(){return this.l};
un.prototype.Rb=function(){return this.B};
un.prototype.toString=function(){return"AdError "+this.Tb()+": "+this.Dd()+(null!=this.al?" Caused by: "+this.al:"")};vn.prototype.g=function(){return!1};
vn.prototype.l=function(){return window.NaN};
vn.prototype.o=function(){return""};var pea=["ActiveViewExternalLayer"],zn=null;var gfa=["*.googlesyndication.com","gcdn.2mdn.net"],rea=["*.youtu.be","*.youtube.com"],uea="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(" "),tea=["c.googlesyndication.com"],
fja=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];Rn.prototype.Tb=function(){return this.errorCode};
Rn.prototype.Dd=function(){return this.message};
var qja=new Rn("Unable to request ads from server. Cause: {0}.",1005),gja=new Rn("Unable to request ads from server due to network error.",1012),Uz=new Rn("Cannot parse the {0} value for the adslist response: {1}.",900),Xu=new Rn("Invalid usage of the API. Cause: {0}",900),Sha=new Rn("Asset fallback ad replacement.",1021),Tha=new Rn("Asset fallback no ad replacement.",1021),I0=new Rn("Unable to display one or more required companions.",602),sC=new Rn("There was a problem requesting ads from the server.",
1005),J0=new Rn("There was a problem requesting the biscotti ID.",1005),eja=new Rn("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),WB=new Rn("The provided ad type: {0} is not supported.",1005),Uo=new Rn("The provided {0} information: {1} is invalid.",1101),zua=new Rn("The provided skip offset was invalid.",1105),Aua=new Rn("The extension contained is neither skippable nor nonskippable.",1105),fr=new Rn("The response does not contain any valid ads.",1009),Bua=new Rn("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),dia=new Rn("The ad playlist response was malformed or empty.",1010),Vz=new Rn("The ad response was not understood and cannot be parsed.",1010),jja=new Rn("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),sja=new Rn("The ad response contains unexpected element. Cause {0}.",1010),IC=new Rn("No assets were found in the VAST ad response.",200),Zfa=new Rn("Duplicate node in <{0}>: {1}",101),zB=new Rn("The VAST response document is empty.",1009),
Eha=new Rn("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),er=new Rn("Ad request reached a timeout.",301),AB=new Rn("VAST response was malformed and could not be parsed.",100),K0=new Rn("VAST media file loading reached a timeout of {0} seconds.",402),gr=new Rn("Ad request could not be completed due to a network error.",301),Cua=new Rn("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),tfa=new Rn("The maximum number of VAST wrappers ({0}) has been reached.",302),Dua=new Rn("VAST media file duration differs from the VAST response duration by {0} seconds.",202),uy=new Rn("Video player received an ad with unexpected or incompatible linearity",201),Yfa=new Rn("Unknown node in <{0}>: {1}",101),dha=new Rn("Invalid VAST resource type: {0}",101),Fia=new Rn("Invalid VAST version",102),ufa=new Rn("No additional VAST wrappers allowed.",300),lr=new Rn("No Ads VAST response after one or more Wrappers",
303),Ay=new Rn("There was an error playing the video ad.",400),Eua=new Rn("VMAP unsupported node in <{0}>: {1}",1010),Zw=new Rn("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);g.A(Yn,g.ef);var NA="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var wea=function(){if(g.JL)return Zn(/Firefox\/([0-9.]+)/);if(g.zd||GL||g.gf)return qc;if(g.GI)return mc()?Zn(/CriOS\/([0-9.]+)/):Zn(/Chrome\/([0-9.]+)/);if(g.Dk&&!mc())return Zn(/Version\/([0-9.]+)/);if(tM||sM){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Ib);if(a)return a[1]+"."+a[2]}else if(uM)return(a=Zn(/Android\s+([0-9.]+)/))?a:Zn(/Version\/([0-9.]+)/);return""}();var mo={},oo="",ho=/OS (\S+) like/,Fua=/OS X (\S+)\)/,ko=/Android ([\d\.]+)/;to.prototype.reset=function(){this.g=0;this.l=null};var Gua;
Gua={uF:["BC","AD"],tF:["Before Christ","Anno Domini"],eG:"JFMAMJJASOND".split(""),FG:"JFMAMJJASOND".split(""),yv:"January February March April May June July August September October November December".split(" "),Ev:"January February March April May June July August September October November December".split(" "),Bv:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Fv:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Rv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Hv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Cv:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Gv:"Sun Mon Tue Wed Thu Fri Sat".split(" "),D_:"SMTWTFS".split(""),GG:"SMTWTFS".split(""),yG:["Q1","Q2","Q3","Q4"],sG:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Wu:["AM","PM"],Ip:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Nv:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],pF:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Lp:6,XG:[5,6],Mp:5};g.L0=Gua;g.L0=Gua;vo.prototype.clone=function(){return new vo(this.g,this.months,this.days,this.hours,this.minutes,this.seconds)};
vo.prototype.times=function(a){return new vo(this.g*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};
vo.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.yo.prototype;g.h.mn=g.L0.Lp;g.h.pn=g.L0.Mp;g.h.clone=function(){var a=new g.yo(this.date);a.mn=this.mn;a.pn=this.pn;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()),xo(this,a.getDate()))};
g.h.Cn=function(a){return[this.getFullYear(),g.wb(this.getMonth()+1,2),g.wb(this.getDate(),2)].join(a?"-":"")+""};
g.h.toString=function(){return this.Cn()};
g.h.valueOf=function(){return this.date.valueOf()};Bo.prototype.reset=function(){this.l=this.g=null};var Ho=new Do;Do.prototype.clear=function(){this.g=Co();this.B=this.I=this.l=null;this.A=Co();this.o=null;this.W=this.D=this.H="";this.F=this.R=this.C=null};g.wa(Go);Go.prototype.isLoggingEnabled=function(){return this.g};g.h=Ko.prototype;g.h.iH=!1;g.h.aw=!1;g.h.gw=!0;g.h.Ri=null;g.h.bitrate=-1;g.h.contentId=null;g.h.Vw=!1;g.h.Vk=!1;g.h.Wk=null;g.h.surveyCreativeData=null;g.h.TU=!0;g.h.Eu=!1;g.h.UU=!1;g.h.Hu=!1;g.h.Iu=!1;g.h.HD=!1;g.h.ID=!0;g.h.NH=!1;g.h.VU=!0;g.h.ly=!0;g.h.Wp=!1;g.h.GH=!1;g.h.gV=0;g.h.showContentThumbnail=!0;g.h.Bu=!1;g.h.Du=!1;g.h.bi=null;g.h.gf=15E3;g.h.hw=!0;g.h.cC=0;g.h.Ut=-1;g.h.ky=null;g.h.Ai=-1;g.h.shortViewCount=null;g.A(Lo,g.Gf);var MA={OW:"beginFullscreen",Hp:"click",oY:"end",pY:"endFullscreen",ERROR:"error",Np:"loaded",VZ:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",Z0:"skip",CG:"skipShown",S0:"shareClicked",Iv:"start",G1:"timeUpdate",bX:"cardsStateChange",D1:"timedMetadata",N2:"volumeChange"};g.h=Lo.prototype;g.h.uy=function(){return!1};
g.h.fb=function(){return!0};
g.h.gu=g.y;g.h.wy=g.y;g.h.Ar=g.y;g.h.Be=function(){return null};
g.h.Dr=g.y;g.h.Cr=g.y;g.A(Mo,g.Gf);var No=null;Mo.prototype.Yj=function(a){this.o=a};
Mo.prototype.destroy=function(){this.H.Aa(this.l,"activityMonitor",this.K);this.l=null};
Mo.prototype.K=function(a){var b=a.Qf;switch(a.Vd){case "appStateChanged":Xda(tm.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":Ro(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":Po(b.queryId,b.viewabilityString);break;case "pageSignals":this.I=b.pageSignals;break;case "viewableImpression":Qo(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;Oo().A=b;Oo().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=tm.getInstance(),e=b.queryId;b=b.viewabilityData;a=zj.getInstance();if("exc"==a.ub){d.B=b.nativeVolume;c=b.exposure||0;var f=b.unmeasurable;d=d.Bn(e,{});null!=b.presenceData&&(null===d.l&&(d.l=new Gk),g.fc(d.l,b.presenceData));-1==d.da&&(d.da=sj(),d.ob=d.Cd().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&&rk(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.l=new g.kd(b.viewportSize.width,b.viewportSize.height));d.tc.g=g.cd(c,0,1);d.gs=d.tc.g}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.g.get(a),Go.getInstance().isLoggingEnabled()&&(f=-1,this.C&&(f=(0,g.F)()-this.C),d=!1,c||(d=!0),Ub(b,"loggingId")&&Jo(Go.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){Oo();b({})},void 0);
g.va("ima.bridge.getVideoMetadata",function(){var a=Oo().D;return g.Aa(a)?a():{}},void 0);
g.va("ima.bridge.triggerViewEvent",Qo,void 0);g.va("ima.bridge.triggerMeasurableEvent",Po,void 0);g.va("ima.bridge.triggerExternalActivityEvent",Ro,void 0);var Bea={NF:"Image",BF:"Flash",ALL:"All"},Aea={ZY:"Html",dZ:"IFrame",m1:"Static",ALL:"All"},Cea={eZ:"IgnoreSize",M0:"SelectExactMatch",N0:"SelectNearMatch"},Dea={PX:"DisallowResize",y0:"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=To(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=To(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");M0=
!0;N0=To(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=To(b.GetVariable("$version"))}catch(c){}})();
var $o=M0,OB=N0;g.A(ep,g.Gf);var fp=null;g.h=ep.prototype;g.h.destroy=function(){this.C.Aa(this.g,"activityMonitor",this.qy);this.o=!1;this.l.clear()};
g.h.V=function(){this.destroy();ep.Z.V.call(this)};
g.h.init=function(a){if(!this.o){if(this.g=a||null)this.C.U(this.g,"activityMonitor",this.qy),lp(this);if(N.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=N.l||N.g())||
(a=!1);a||(tm.getInstance().A=!0);this.B=(g.Aa(null),null);um();this.o=!0}};
g.h.Yj=function(a){this.A=a};
g.h.qy=function(a){var b=a.Qf,c=b.queryId,d={};d.eventId=b.eventId;switch(a.Vd){case "getPageSignals":lp(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=jp(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,Jo(Go.getInstance(),
43,{step:"beforeLookup",logid:b,time:(0,g.F)()},!0)),d.engagementString=Iea(this,a,c),this.g.send("activityMonitor","engagement",d)}};
g.va("ima.common.getVideoMetadata",function(a){a=gp().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=gp().g;d?d.send("activityMonitor","viewableImpression",c):gp().dispatchEvent(new on("viewable_impression",null,c))},void 0);
g.va("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=gp().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=gp().g;d?d.send("activityMonitor","measurableImpression",c):gp().dispatchEvent(new on("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=gp().g)?a.send("activityMonitor","externalActivityEvent",d):gp().dispatchEvent(new on("externalActivityEvent",null,d))},void 0);
gp();g.A(mp,g.ef);mp.prototype.getError=function(){return this.g};np.prototype.jd=function(){return this.D};
np.prototype.zc=function(){return this.A};
np.prototype.clone=function(){var a=new np(this.H,this.F);if(null!=this.A)op(a,this.zc(),this.o,this.g,this.B);else{var b=this.jd(),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(qp,g.ef);rp.prototype.videoCount=0;g.sp.prototype.l=zc;var Ap={},Mp={},Np={},Hq={};up.prototype.xk=null;up.prototype.jd=function(){return this.content};
up.prototype.toString=function(){return this.content};
g.A(vp,up);vp.prototype.Ui=Hq;g.A(wp,up);wp.prototype.Ui=Ap;g.A(xp,up);xp.prototype.Ui={};xp.prototype.xk=1;var Bp=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}}(wp),Qea=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a){return new b(String(a))}}(xp),Cp={},Dp={},Wr=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}}(wp),Kp=/['()]/g,Tp={},Rea={"\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;"},Sea={"\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"},Kea=/[\x00\x22\x27\x3c\x3e]/g,Mea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Lea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Pp=/[\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,
Oea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Pea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Gp=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Hp=/</g;Xp.prototype.Oa=function(){return this.o};
Xp.prototype.Rb=function(){return this.l};
g.A(Yp,Xp);Wp.prototype.isEmpty=function(){return this.g.isEmpty()};g.h=eq.prototype;g.h.getDuration=function(){return this.fa};
g.h.Mr=function(){return null};
g.h.Lr=function(){return null};
g.h.Kr=function(){return null};
g.h.Lb=function(){return this.H};
g.h.yn=function(){for(var a=[this],b=this.H.l;b;){var c=hq(this,b)||hq(this,b,!0);null!=c&&a.push(c);b=b.l}return a};iq.prototype.Bb=function(){return this.C};
iq.prototype.getHeight=function(){return this.A};
iq.prototype.Oa=function(){return this.B};g.A(jq,eq);g.h=jq.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.Mr=function(){var a=lq(this,"javascript");return null!=a?a.Oa():null};
g.h.Lr=function(){var a=mq(this);return null!=a?a.Oa():null};
g.h.Kr=function(){return null!=this.B?this.B.l:1==this.l.length?this.l[0].l:null};g.A(oq,eq);g.h=oq.prototype;g.h.jd=function(){return Vd(this.zc())};
g.h.Zk=function(){return!1};
g.h.Nr=function(){return this.Zk()?Vd(this.zc(!0)):""};
g.h.kd=function(){return this.X};
g.h.Ud=function(){return this.za};
g.h.Bb=function(){return this.Ud().width};
g.h.getHeight=function(){return this.Ud().height};
g.h.Rg=function(){return this.l};
g.h.Mr=function(){return"VPAID"==this.I&&"Javascript"==this.X?this.l:null};
g.h.Lr=function(){return"VPAID"==this.I&&"Flash"==this.X?this.l:null};
g.h.Kr=function(){return this.I};
g.h.df=function(){return this.la};g.A(pq,g.K);pq.prototype.D=function(){this.C=(0,g.F)()};
pq.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.yH);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,$ea(this,c.href))};
pq.prototype.F=function(){this.A++};var Iua=g.zd?Ec(vc(g.xc('javascript:""'))):Ec(vc(g.xc("about:blank"))),afa=Cc(Iua),Jua=g.zd?Ec(vc(g.xc('javascript:""'))):Ec(vc(g.xc("javascript:undefined")));Cc(Jua);g.A(qq,oq);g.h=qq.prototype;g.h.Oi=function(a){null==this.o||g.C(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.Id(this.da,vq(this))),a=this.da):(null==this.A&&(this.A=this.lg(),g.Id(this.A,vq(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.C(g.E(this.df()))||(a=new g.Jm(a),g.Sm(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.kd()&&(b.width=this.Bb());b.setAttribute("src",In(a));this.Oi(b);return uq(this,b)};
g.h.Lq=function(){Bn().g("cleanup_text_overlay_spam_signals");return 2};
g.h.yn=function(){for(var a=[this],b=this.Lb().l;b;){var c=this.C?hq(this,b)||hq(this,b,!0):wq(this,b)||wq(this,b,!0);null!=c&&a.push(c);b=b.l}return a};var efa={};g.A(Iq,qq);g.h=Iq.prototype;g.h.Ud=function(){return new g.kd(this.Bb(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.Bb=function(){return null!=this.D?g.Mh(this.D).width:0};
g.h.Lq=function(a){return Bn().g("cleanup_text_overlay_spam_signals")?g.Aq(a,"text-image-link")?9:g.Aq(a,"text-ad-channel")?1:0:g.Aq(a,"text-image")?9:g.Aq(a,"text-ad-channel")?1:0};
g.h.lg=function(){var a=this.Lb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.B,e="rtl";null!=d&&(e=cua.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=In(e),d.JD=!0,N.g()&&(d.JD=0==c.l||0==c.o),a=g.Ma(a.D,function(a){return a instanceof jq}),null!=a&&(d.duration=bp(a.getDuration()));
b.o&&(d.LD=b.o);this.D=Gq(Tea,d);(0,g.B)(this.D.getElementsByTagName("a"),this.Oi,this);this.D.id=this.ia;this.D.style.height=this.getHeight()+"px";return this.D};var ifa=[202,1009],nfa="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),mfa={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=dr.prototype;g.h.Hf=function(){return null!=this.g&&this.g.Hf()?!0:0<this.ads.length&&this.l<this.ads.length-1};
g.h.Ee=function(a,b){null!=this.g?sfa(this,a,b):this.Hf()?vfa(this,a,(0,g.z)(function(c){!this.Hf()||!N.g()&&301==c.Tb()?b(c):this.Ee(a,b)},this)):b(new un("adLoadError","The ad source contains no more ads.",1005))};
g.h.rx=function(a,b){return this.B?0<a.length?a:b:g.ab(b,0,1)};
g.h.Co=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.C;d=e.cf||0;e=e.bf||0;jt(a)&&!a.aa?nt(a,"nonlinear")?br(a,d,e):cr(a):nt(a,"linear")?cr(a):nt(a,"nonlinear")&&br(a,d,e);d=null!=a.g}d?(this.o++,b(a)):(b=g.Ra(a.D)?Tn(AB):a.Sb()?Tn(IC):Tn(Cua),d=Sq(b,a),dp(gga(a),"rm")?b.o=!1:Qn(a.fa,d),c(b))};
g.h.Wt=function(a,b,c){var d=this.C.clone();d.l="";d.g=a.Jb;d.Te=kn(d.g,d.In);ir(this,a,d,b,c)};g.A(nr,xq);nr.prototype.de=function(){return this.l};g.A(or,dr);or.prototype.Hf=function(){if(null!=this.g&&this.g.Hf())return!0;var a=0==this.o||this.o==this.I;return 0<this.ads.length&&a&&this.l<this.ads.length-1};
or.prototype.rx=function(a,b){return b};
or.prototype.Co=function(a,b,c){var d=null==this.g?$s(a):$s(this.ads[this.l]);this.H.o=d;or.Z.Co.call(this,a,b,c)};
or.prototype.Wt=function(a,b,c){this.H.o=-1;or.Z.Wt.call(this,a,b,c)};g.A(qr,g.Jm);qr.prototype.toString=function(){return tr(this,qr.Z.toString.call(this))};
qr.prototype.Jx=function(){return""};
qr.prototype.Uh=function(){return""};
qr.prototype.clone=function(){return new qr(this.toString())};g.h=Br.prototype;g.h.jd=function(){return this.g.jd()};
g.h.zc=function(){return this.g.zc()};
g.h.kd=function(){return this.g.kd()};
g.h.Bb=function(){return this.g.Bb()};
g.h.getHeight=function(){return this.g.getHeight()};
g.h.Lb=function(){return this.g.Lb()};Ep("a","",function(a){a=a||{};return'<div class="'+O("videoAdUi")+'"><div class="'+O("videoAdUiTopBar")+" "+O("videoAdUiTopBarWithGradients")+'"><div class="'+O("videoAdUiAuthorIcon")+'"></div><div class="'+O("videoAdUiTitle")+" "+O("ellipsisText")+'"></div><div class="'+O("videoAdUiAuthorName")+" "+O("ellipsisText")+'"></div><div class="'+O("videoAdUiLearnMore")+'">'+O(a.learnMoreText)+'</div><div class="'+O("videoAdUiShare")+'"></div></div><div class="'+O("videoAdUiBottomBar")+'"><div class="'+
O("videoAdUiLearnMoreText")+'">'+O(a.learnMoreText)+'<div class="'+O("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+O("videoAdUiAttributionContainer")+'"><div class="'+O("videoAdUiAttribution")+'" '+O(Up(a.attributionText))+">"+O(a.attributionText)+'</div><div class="'+O("videoAdUiAttributionIconContainer")+'"><div class="'+O("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+O("videoAdUiAdInfoPopup")+'"><div class="'+O("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
O("videoAdUiAdInfoPopupText")+'" '+O(Up(a.se))+">"+O(a.se)+'</div></div></div></div></div><div class="'+O("videoAdUiProgressBar")+'" dir="ltr"><div class="'+O("videoAdUiBuffer")+'"></div><div class="'+O("videoAdUiProgress")+'"></div></div></div>'});
Ep("a","fixedDirectionality",function(a){a=a||{};return'<div class="'+O("videoAdUi")+'"><div class="'+O("videoAdUiTopBar")+" "+O("videoAdUiTopBarWithGradients")+'"><div class="'+O("videoAdUiAuthorIcon")+'"></div><div class="'+O("videoAdUiTitle")+" "+O("ellipsisText")+'"></div><div class="'+O("videoAdUiAuthorName")+" "+O("ellipsisText")+'"></div><div class="'+O("videoAdUiLearnMore")+'">'+O(a.learnMoreText)+'</div><div class="'+O("videoAdUiShare")+'"></div></div><div class="'+O("videoAdUiBottomBar")+
'"><div class="'+O("videoAdUiLearnMoreText")+'">'+O(a.learnMoreText)+'<div class="'+O("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+O("videoAdUiAttributionContainer")+'"><div class="'+O("videoAdUiAttribution")+'">'+O(a.attributionText)+'</div><div class="'+O("videoAdUiAttributionIconContainer")+'"><div class="'+O("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+O("videoAdUiAdInfoPopup")+'"><div class="'+O("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
O("videoAdUiAdInfoPopupText")+'">'+O(a.se)+'</div></div></div></div></div><div class="'+O("videoAdUiProgressBar")+'" dir="ltr"><div class="'+O("videoAdUiBuffer")+'"></div><div class="'+O("videoAdUiProgress")+'"></div></div></div>'});
Ep("a","redesign2014q4",function(a){a=a||{};return'<div class="'+O("videoAdUi")+'"><div class="'+O("videoAdUiTopBar")+" "+O("videoAdUiTopBarWithGradients")+'"><div class="'+O("videoAdUiAuthorIcon")+'"></div><div class="'+O("videoAdUiTopButtons")+'"><div class="'+O("videoAdUiTopButton")+" "+O("videoAdUiTopButtonInfo")+'"><div class="'+O("videoAdUiTopButtonCallout")+'"><div class="'+O("videoAdUiTopButtonTooltip")+'">'+O(a.infoText)+'</div></div></div><div class="'+O("videoAdUiTopButton")+" "+O("videoAdUiTopButtonShare")+
'"><div class="'+O("videoAdUiTopButtonCallout")+'"><div class="'+O("videoAdUiTopButtonTooltip")+" "+O("videoAdUiTopButtonShareTooltip")+'">'+O(a.z3)+'</div></div></div><div class="'+O("videoAdUiTopButton")+" "+O("videoAdUiTopButtonWatchLater")+'"><div class="'+O("videoAdUiTopButtonCallout")+'"><div class="'+O("videoAdUiTopButtonTooltip")+'">'+O(a.A3)+'</div></div></div></div><div class="'+O("videoAdUiTitle")+" "+O("ellipsisText")+'"></div><div class="'+O("videoAdUiAuthorName")+" "+O("ellipsisText")+
'"></div></div><div class="'+O("videoAdUiBottomBar")+'"><div class="'+O("videoAdUiBottomBarText")+'"><div class="'+O("videoAdUiAttributionContainer")+'"><div class="'+O("videoAdUiAttribution")+'" '+O(Up(a.attributionText))+">"+O(a.attributionText)+'</div><div class="'+O("videoAdUiAttributionIconContainer")+'"><div class="'+O("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+O("videoAdUiAdInfoPopup")+'"><div class="'+O("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
O("videoAdUiAdInfoPopupText")+'" '+O(Up(a.se))+">"+O(a.se)+'</div></div></div></div><div class="'+O("videoAdUiVisitAdvertiserLink")+'"><div class="'+O("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+O("videoAdUiVisitAdvertiserIcon")+'"></div></div></div><div class="'+O("videoAdUiBottomBarMessage")+'"></div></div><div class="'+O("videoAdUiProgressBar")+'" dir="ltr"><div class="'+O("videoAdUiBuffer")+'"></div><div class="'+O("videoAdUiProgress")+'"></div></div></div>'});
Ep("b","",function(a){a=a||{};return""+Ha("You can skip this ad in {$xSeconds}",{xSeconds:O(a.qe)})});
Ep("b","redesign2014q4",function(a){a=a||{};return""+Ha("You can skip to video in {$xSeconds}",{xSeconds:O(a.qe)})});
Ep("b","forcedlinebreak",function(a){a=a||{};return""+Ha("You can skip to{$newline}video in {$xSeconds}",{newline:O(a.LA),xSeconds:O(a.qe)})});
Ep("b","postroll",function(a){a=a||{};return""+Ha("You can skip ad in {$xSeconds}",{xSeconds:O(a.qe)})});
Ep("b","postrollforcedlinebreak",function(a){a=a||{};return""+Ha("You can skip{$newline}ad in {$xSeconds}",{newline:O(a.LA),xSeconds:O(a.qe)})});g.A(Xr,qq);var Ufa=new g.kd(300,250);Xr.prototype.Ma=function(){this.D=Math.max(0,this.D-1);Zr(this)};
Xr.prototype.Ca=function(){this.D=Math.min(this.Ba-3,this.D+1);Zr(this)};
Xr.prototype.lg=function(){return this.N};g.A(bs,qq);var Wfa=new g.kd(300,250);bs.prototype.lg=function(){return this.D};var cs=g.zd&&Xfa();g.A(ws,xq);xs.prototype.parse=function(a){a=g.Pd(a);var b=ns(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw Tn(Aua);a=a.getAttribute("offset");a=us(a);if("skippable"==c&&null==a)throw Tn(zua);return new ws(c,a)};g.A(ys,xq);g.A(zs,xq);g.h=Bs.prototype;g.h.kd=function(){if(null!=tt(this))return"application/javascript";if(null!=ut(this))return"application/x-shockwave-flash";var a=this.g,b="";if(null===a)return b;if(a instanceof jq)a=a.B,null===a||(b=g.E(a.g));else if(a instanceof qq)switch(a.L){case "IFrame":case "Html":case "Static":b=g.E(a.ib)}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.Sb=function(){return this.oa?this.pa:ot(this)?!0:jt(this)?"video"==this.Db:nt(this,"linear")};
g.h.isSkippable=function(){return null!=qt(this)};
g.h.kK=function(){return this.aa};
g.h.getDuration=function(){return kt(this)};
g.h.Rg=function(){var a=null,b=this.g;null!=b&&(a=b.Rg(),g.C(g.E(a))&&(a=null));return a};
g.h.Bb=function(){return this.Sb()?0:this.X.width};
g.h.getHeight=function(){return this.Sb()?0:this.X.height};
g.h.Ye=function(){return this.Ta};
g.h.toString=function(){return"Ad: "+this.Ba};g.A(Bt,g.Gf);Bt.prototype.l=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new on("companionImpression",this.g));break;case "companion_click":this.dispatchEvent(new on("companionClick",this.g))}};g.A(Ct,g.Gf);g.h=Ct.prototype;g.h.Eb=function(a){null==a||this.D||(this.Qh=a,rga(this),this.D=!0)};
g.h.Sc=function(){null!=this.Qh&&this.D&&(Dt(this),this.C=this.H=this.D=!1,this.g=0,this.o=[],this.F=!1)};
g.h.DS=function(a){this.H=!0;this.g=a.touches.length;this.l&&(window.clearTimeout(this.l),this.l=0,this.K=!0);(this.F=Et(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);sga(this,a.touches)};
g.h.rJ=function(a){this.g=a.touches.length;if(!io(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.CS=function(a){this.B?this.Eq():(!this.H||1!=this.g||this.C||this.K||this.F||!Et(this,a.changedTouches)||(this.l=window.setTimeout((0,g.z)(this.Eq,this),300)),this.g=a.touches.length,0==this.g&&(this.C=this.H=!1,this.o=[]),this.K=!1)};
g.h.ry=function(){this.Eq()};
g.h.Eq=function(){this.l=0;this.dispatchEvent(new g.ef("click"))};
g.h.V=function(){this.Sc();this.A.dispose();this.A=null;Ct.Z.V.call(this)};var uga=/#(.)(.)(.)(.)/,tga=/^#(?:[0-9a-f]{4}){1,2}$/i;g.A(g.Ht,g.Gf);g.h=g.Ht.prototype;g.h.fb=function(){return 1==this.g};
g.h.uo=function(){this.ze("begin")};
g.h.El=function(){this.ze("end")};
g.h.qd=function(){this.ze("finish")};
g.h.ze=function(a){this.dispatchEvent(a)};var Kua=g.Lf(function(){if(g.zd)return g.rc("10.0");var a=g.Fd("DIV"),b=g.Bd?"-webkit":g.uh?"-moz":g.zd?"-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 dua)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(Jt,g.Ht);g.h=Jt.prototype;g.h.play=function(){if(this.fb())return!1;this.uo();this.ze("play");this.startTime=(0,g.F)();this.g=1;if(Kua())return g.sh(this.l,this.D),this.A=g.vg(this.vT,void 0,this),!0;this.pu(!1);return!1};
g.h.vT=function(){g.Lh(this.l);It(this.l,this.C);g.sh(this.l,this.o);this.A=g.vg((0,g.z)(this.pu,this,!1),1E3*this.B)};
g.h.stop=function(){this.fb()&&this.pu(!0)};
g.h.pu=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.ze("stop"):this.qd();this.El()};
g.h.V=function(){this.stop();Jt.Z.V.call(this)};
g.h.pause=function(){};g.A(Kt,g.Gf);Kt.prototype.V=function(){null!=this.xi&&(g.wg(this.xi),this.xi=null);null!=this.Je&&(g.Ld(this.Je),this.Je=null);Kt.Z.V.call(this)};
Kt.prototype.C=function(){this.xi=null;Lt(this,!1);this.xi=g.vg((0,g.z)(function(){this.xi=null;Mt(this,!1);null!=this.Je&&g.M(this.Je,!1);Nt(this,"complete")},this),200)};
Kt.prototype.show=function(a){Nt(this,"impression");Lt(this,!0);Mt(this,!0);null!=this.Je&&g.M(this.Je,!0);this.xi=g.vg(this.C,a,this)};
Kt.prototype.F=function(a){N.g()||a.stopPropagation()};g.A(Ot,xq);g.A(Qt,xq);g.h=Rt.prototype;
g.h.WB=function(){var a={heading:"",targetingReasons:[],learnMore:"",Hq:"",control:"",mute:"",Fu: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=Bp(O(b[0])+Tr()+O(c)+Bp("</a>")+O(d));a.Hq=b}b=g.Za(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=Bp(O(d.substring(0,d.length-2))+" <a href='"+P(Rp("https://support.google.com/ads/answer/7029660#match"))+"' target='_blank'>"+O(e)+"</a>");
b[c]=d}a.close=this.A.o}else a.Hq=Ur(),b=""+Ha("Got It"),a.close=b;null!=this.l&&(a.mute=this.l.A);Wt(this,Qfa,a);Vt(this,"videoAdUiWhyThisAdCloseButton",this.Rm);Vt(this,"videoAdUiWhyThisAdControl",this.Zw);Vt(this,"videoAdUiWhyThisAdMute",this.pT);a=this.Zw;b=g.H("videoAdUiWhyThisAdGenericMessage",this.g);null!=b&&(b=b.getElementsByTagName("A")[0],null!=b&&this.B.U(b,"click",a))};
g.h.Rm=function(){null!=this.B&&(this.B.dispose(),this.B=null);null!=this.g&&(null!=this.o&&(Tt(this,"why_this_ad_got_it"),this.o.dispose(),this.o=null),this.g.parentElement.removeChild(this.g),this.g=null)};
g.h.Zw=function(){Tt(this,"why_this_ad_settings_url")};
g.h.pT=function(){if(null!=this.l){Tt(this,"mute_interaction_url");var a=Pt(this.l);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};Wt(this,Sfa,b);Vt(this,"videoAdUiMuteCancel",this.WB);Vt(this,"videoAdUiMuteConfirm",this.BH)}else{Tt(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=Zp(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);
Wt(this,Rfa,b);Vt(this,"videoAdUiMuteUndo",this.LU);Vt(this,"videoAdUiMuteConfirm",this.uU);Vt(this,"videoAdUiMuteCancel",this.qq)}}};
g.h.BH=function(){Tt(this,"mute_url");this.qq()};
g.h.LU=function(){Tt(this,"mute_undo_url");this.Rm()};
g.h.uU=function(){if(null!=this.l){for(var a=Pt(this.l),b=!1,c=0;c<a;c++){var d=g.H("videoAdUiMuteOption"+c,this.g);if(null!=d&&d.checked){b=!0;Ln(this.l.l[c].url);break}}if(!b)return}this.qq()};
g.h.qq=function(){Tt(this,"MUTE_AD");this.Rm()};g.A(cu,g.Gf);var xga={1:"videoAdUiBrandInteractionHorizontalRect"},wga=[1],Bga=[1],zga={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};cu.prototype.update=function(){this.C||(this.dispatchEvent("feedbackShown"),this.A=$t(this.l,.5),g.L(this,this.A),this.A.play(),g.M(this.l,!0),this.C=!0,Dga(this))};
cu.prototype.H=function(a){N.g()||a.stopPropagation();a=a.target.Qh;null!=a&&(g.Fq(a,"selected")?(g.Q(this.l,"optionSelected"),null!=this.o&&g.Cq(this.o,"selected"),this.o=a):(g.Cq(this.l,"optionSelected"),this.o=null),a=null!=this.o?g.Aq(this.o,"videoAdUiBrandInteractionLikeButton")?"l":g.Aq(this.o,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n","l"==a?this.dispatchEvent("feedbackLike"):"d"==a&&this.dispatchEvent("feedbackDislike"),this.I&&(au(this.l).play(),g.vg(function(){g.M(this.l,!1)},
500,this)),null!=this.g&&(null!=Je(this.g,Ve,15)?Ega(this):Fga(this)))};
cu.prototype.V=function(){null!=this.l&&(g.Ld(this.l),this.l=null);this.o=null;cu.Z.V.call(this)};g.A(eu,g.Gf);eu.prototype.C=function(){this.g?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
eu.prototype.V=function(){this.B.dispose();this.B=null;eu.Z.V.call(this)};g.A(fu,g.Gf);fu.prototype.V=function(){null!=this.o&&(g.Ld(this.o),this.o=null);fu.Z.V.call(this)};
fu.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.D=1;else if(1==this.D)$t(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.Ud(this.g,Rr({qe:c}))}else this.I&&5<a&&(this.I=!1,g.M(this.g,!1))};
fu.prototype.K=function(){g.Oh(this.g)||g.M(this.g,!0)};g.A(g.gu,g.K);g.h=g.gu.prototype;g.h.start=function(){this.stop();this.o=!1;var a=hu(this),b=iu(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.ia=g.sf(this.g,"MozBeforePaint",this.l),this.g.mozRequestAnimationFrame(null),this.o=!0):this.ia=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=hu(this),b=iu(this);a&&!b&&this.g.mozRequestAnimationFrame?g.Bf(this.ia):a&&b?b.call(this.g,this.ia):this.g.clearTimeout(this.ia)}this.ia=null};
g.h.isActive=function(){return null!=this.ia};
g.h.hI=function(){this.o&&this.ia&&g.Bf(this.ia);this.ia=null;this.B.call(this.A,(0,g.F)())};
g.h.V=function(){this.stop();g.gu.Z.V.call(this)};g.A(g.ju,g.K);g.h=g.ju.prototype;g.h.ia=0;g.h.V=function(){g.ju.Z.V.call(this);this.stop();delete this.g;delete this.l};
g.h.start=function(a){this.stop();this.ia=g.vg(this.o,g.t(a)?a:this.ad)};
g.h.stop=function(){this.isActive()&&g.wg(this.ia);this.ia=0};
g.h.isActive=function(){return 0!=this.ia};
g.h.Qx=function(){this.ia=0;this.g&&this.g.call(this.l)};g.A(ou,g.Gf);g.h=ou.prototype;g.h.V=function(){g.cf(this.A);this.A=null;g.cf(this.F);this.F=null;null!=this.o&&(g.Ld(this.o),this.o=null);null!=this.skipButton&&(this.skipButton=null);null!=this.l&&(g.Ld(this.l),this.l=null);this.R.dispose();this.R=null;this.Yb.dispose();this.Yb=null;ou.Z.V.call(this)};
g.h.update=function(a,b){this.da=b;this.pq(a);2==this.state&&nu(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.pq=function(a){if(!(0>=this.da||null==this.config.skipOffset||0>cq(this.config.skipOffset))){var b=cq(this.config.skipOffset);b>=this.da||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(nu(this,0),$t(this.o,.5).play(),g.M(this.o,!0)),this.state=2):(3!=this.state&&this.bw(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.bw=function(){g.M(this.l,!0);this.F=pu(this.o);this.F.play();this.A=$t(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.qU=function(a){N.g()||a.stopPropagation();3!=this.state||this.Y||(this.Y=!0,this.dispatchEvent("skip"))};g.A(wu,ou);var ru={mx:0,lx:1},tu={mx:1,lx:0},uu={Uw:15},vu={Uw:300};g.h=wu.prototype;g.h.V=function(){wu.Z.V.call(this);yu(this);Au(this)};
g.h.pq=function(a){wu.Z.pq.call(this,a);if(3==this.state&&!this.W&&!this.ea){var b=Cu(this.N,this.g);if(a=Bu(a,this.config,this.N))if(this.D==this.I.mx&&a>=b)switch(this.I){case ru:xu(this);break;case tu:zu(this,!0)}else if(this.D==this.I.lx&&a<b)switch(this.I){case tu:xu(this);break;case ru:zu(this,!0)}}};
g.h.bw=function(){g.M(this.l,!0);this.F=pu(this.o);this.F.play();if(this.W)var a=!1;else{a=Cu(this.N,this.g);var b=Bu(cq(this.config.skipOffset),this.config,this.N);if(null!=b){var c=!1;switch(this.I){case tu:c=b<a;break;case ru:c=b>=a}a=c}else a=!1}a?(this.D=1,this.A=Zt(this.l,.5,"ease-in",0,this.aa)):this.A=$t(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus();this.W||(this.Yb.U(g.Qd(this.l),"mouseover",this.vO),this.Yb.U(g.Qd(this.l),"mouseout",this.uO))};
g.h.vO=function(){Au(this);0!=this.D&&zu(this,!1);this.ea=!0};
g.h.uO=function(){Au(this);this.K=g.vg(function(){this.ea=!1;this.K=null},5E3,this)};Du.prototype.getDuration=function(){return this.l};
Du.prototype.zc=function(){return this.g};
Du.prototype.update=function(a,b){var c=null!=this.D?cq(this.D):0;this.l=0<=this.l?this.l:b;c<=a&&c+this.l>=a?Hga(this):g.M(this.g,!1)};g.A(Hu,g.Gf);g.h=Hu.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.Ld(this.l),this.l=null);Iu(this);(0,g.B)(this.X,function(a){a.Sc()});
this.X=[];this.B=null;this.o.dispose();this.o=null;Hu.Z.V.call(this)};
g.h.update=function(a,b,c,d,e){null!=this.l&&(null!=this.Ca&&Fu(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&&(bq(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.Q(this.ea,"videoAdUiTopBarNoFade"),(0,g.B)(this.pa,function(b){b.update(a,c)},this))};
g.h.mH=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.nH=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.kJ=function(a){var b=a.F;a=a.H;g.C(g.E(b))||this.dispatchEvent(new on("videoIconClicked",null,{clickThroughUrl:b}));(0,g.B)(a,function(a){Ln(a)})};
g.h.Vy=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.nU=function(){this.dispatchEvent("videoShareClicked")};
g.h.BU=function(){this.dispatchEvent("videoTitleClicked")};
g.h.EJ=function(a){a.preventDefault()};
g.h.yp=function(){this.dispatchEvent("click")};
g.h.rH=function(a){this.dispatchEvent(a)};
g.h.fq=function(a){this.dispatchEvent(a.type)};
g.h.wb=function(){null!=this.pa&&(0,g.B)(this.pa,function(a){Eu(a)},this)};
g.h.kU=function(){g.Q(this.ea,"videoAdUiTopBarTransitions")};
g.h.qT=function(){var a=g.be(this.l,"html5-video-player");null!=a&&(Ut(this.g.H,a,this),null!=this.A&&qu(this.A,!1),null!=this.H&&(a=this.H,null!=a.l&&g.M(a.l,!1)))};
g.h.YU=function(){null!=this.A&&qu(this.A,!0);if(null!=this.H){var a=this.H;null!=a.l&&g.M(a.l,!0)}};g.A(Nu,g.K);Nu.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=N.H&&g.Qa(this.D,"impression");var e=Pu(this,this.C,c);Qu(this,e,d);this.H=!0}Lga(this,a)&&0<b.length&&(d=N.H&&g.Qa(this.D,a),b=Pu(this,b,c),Qu(this,b,d),this.l.set(a,!0))};g.A(Ru,g.Gf);g.h=Ru.prototype;g.h.Hk=function(){if(this.bb()){var a=xt(this.qc);if(null!=a)return a}return""};
g.h.Gk=function(){if(this.bb()){var a=zt(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.bb()){if(this.qc.isSkippable()&&!qo())throw Un(WB,null,"skippablevideo");if(null!=tt(this.qc)&&Tu(this,this.qc.l))throw Un(WB,null,"vpaidWithSkippabilityOverride");return this.qc}throw Un(Xu,null,"An ad has not been selected.\n"+Error().stack);};
g.h.bb=function(){return null!==this.qc};
g.h.Uj=function(){var a=(0,g.Pa)(this.ads,this.qc);-1!=a&&++a<this.ads.length?Su(this,this.ads[a]):Su(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.Ee=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.ib&&(b=b.D,!g.Ra(b)&&b[0]instanceof jq))return b[0].Qg();b=a.g;return Vu(a)?b.Qg():[]};
g.h.Ro=function(){if(!this.bb()){if(g.Ra(this.ads))throw Un(IC);Su(this,this.ads[0]);if(null==this.qc.g)throw Tn(IC);}};
g.h.ga=function(a,b){var c=this.bb()?this.ka():null;this.dispatchEvent(new on(a,c,b))};
g.h.Bg=function(a){this.Nd=a};
g.h.Sa=function(){null==this.Yb&&(this.Yb=new g.Zm(this));return this.Yb};
g.h.yP=function(){};
g.h.Et=function(){};
g.h.Ad=function(a){if(null!=this.Nd){g.en(this.xe);this.xe.hh(this.Nd,"companion_display_error",function(){});
var b=this.Nd.Ad(a);null!=b&&(this.xe.U(b,"companion_impression",this.yP),this.xe.U(b,"companion_click",this.Et),N.g()&&(a=new Bt(a,b),this.ga("companionInitialized",a)));if(!this.Nd.ew())throw Un(I0);}};
g.h.destroy=function(){this.dispose()};
g.h.V=function(){this.bb()&&(ar(this.qc,null),this.qc=null);g.cf(this.Yb);this.Nd=this.Yb=null;this.Um=!1;N.l?kp(gp(),this.zp):Oo().D=null;this.Ja&&(g.cf(this.Ja),this.Ja=null);Ru.Z.V.call(this)};
g.h.Ce=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.ee(b));c.getElementsByTagName("head")[0].appendChild(a)}}})};
g.h.init=function(a){Yu(this);this.xc(a);this.ge=!0;this.Mj();N.l||(a=this.zp,Oo().D=a)};
g.h.Mj=function(){this.ga("loaded")};
g.h.Wj=function(a){this.bb()&&N.g()&&Qn(Ls(this.ka()),a)};
g.h.MC=g.y;g.h.Pc=function(a,b,c){if(!this.Um){if(null==a)throw Un(Uo,null,"displayContainer");null!=c&&this.Se(c);this.content=b;this.Ea=a;this.Ro();this.Da=this.Ea.Xk(Uu(this));this.Um=!0}};
g.h.zg=function(a){a=dp(Cs(a),"rm")?a.W:Ls(a);(0,g.B)(a,function(a){g.Ta(this.Wb.C,a)},this)};
g.h.Zf=function(a,b){(0,g.B)(b,function(b){b=gq(a,b);$p(this.Wb.o,b)},this)};
g.h.Qj=function(a){if(a instanceof jq){var b=kq(a);(0,g.B)(b.yb(),function(a){var c=b.get(a);(0,g.B)(c,function(b){aq(this.Wb.o,a,b)},this)},this)}};
g.h.xa=function(a){Ou(this.Wb,new g.ef(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Ic=function(){return-1};
g.h.fb=function(){return null!=this.Da?this.Da.fb():!1};
g.h.wb=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.Se=function(a){if(null==a||!Mga(this,a))throw Un(Uo,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=[]);Nga(a.Wk);if(!g.ua(a.gf)||0>=a.gf)a.gf=15E3;g.fc(b,a)};
g.h.start=function(){Yu(this);if(!this.ge)throw Tn(Xu,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)&&Xn(this,Uo,null,"volume",String(a));this.volume=a};
g.h.expand=function(){Yu(this);this.xc("fullscreen")};
g.h.collapse=function(){Yu(this);this.xc("normal")};
g.h.xc=function(a){if(!g.Vb(yua,a))throw Un(Uo,null,"view mode",a);this.Vc=a};
g.h.Cc=function(){return this.Um};
g.h.hasListeners=function(a){return(0,g.rm)(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.RC=function(){return null};
g.h.Be=function(){return null};
g.h.qf=function(){this.xa("abandon")};
g.h.gI=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.fb(),isVpaid:this.bb()&&null!=tt(this.ka()),isYouTube:N.g(),volume:this.getVolume()}};
g.h.yj=function(a){do if(jt(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 ao()};
g.h.ET=function(a){var b=g.Ya(F0,g.Qb(H0));cb(b);(0,g.B)(b,function(b){var c=Zp(a.g,b);g.Ra(c)||this.Zt(b,c)},this);
Kga(this.Wb,a.H)};
g.h.Zt=function(a,b){(0,g.B)(b,function(a){var b=a.Rb();a=a.Oa();aq(this.Wb.o,b,a)},this)};
g.h.lQ=function(a){this.La.Vw||(a=a.g,null!=a&&(a=a.clickThroughUrl,null!=a&&(Kn(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;Wu(this,b)}};var cv=["classid","data","movie","type","typemustmatch"];g.wa(g.dv);g.dv.prototype.g=0;g.A(g.ev,g.Gf);g.h=g.ev.prototype;g.h.nJ=g.dv.getInstance();g.h.ma=function(){return this.g};
g.h.uh=function(a){if(this.A&&this.A!=a)throw Error("Method not supported");g.ev.Z.uh.call(this,a)};
g.h.En=function(){this.g=this.H.createElement("DIV")};
g.h.Yi=function(){this.Ke=!0;hv(this,function(a){!a.Ke&&a.ma()&&a.Yi()})};
g.h.Ck=function(){hv(this,function(a){a.Ke&&a.Ck()});
this.C&&g.en(this.C);this.Ke=!1};
g.h.V=function(){this.Ke&&this.Ck();this.C&&(this.C.dispose(),delete this.C);hv(this,function(a){a.dispose()});
this.g&&g.Ld(this.g);this.A=this.g=this.D=this.K=null;g.ev.Z.V.call(this)};
g.h.zc=function(){return this.g};
g.h.removeChild=function(a,b){if(a){var c=g.v(a)?a:fv(a);a=this.D&&c?ac(this.D,c)||null:null;if(c&&a){$b(this.D,c);g.Wa(this.K,a);b&&(a.Ck(),a.g&&g.Ld(a.g));c=a;if(null==c)throw Error("Unable to set parent component");c.A=null;g.ev.Z.uh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.A(iv,g.ev);g.h=iv.prototype;g.h.Ua=null;g.h.Cp="window";g.h.zm="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.ma()&&g.Kh(jv(this),this.F,this.B);return this};
g.h.Yi=function(){iv.Z.Yi.call(this);for(var a=this.ma(),b=this.l.yb(),c=this.l.rb(),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.zd&&!g.sc(11)){d=this.I;c={allowFullScreen:"true",AllowScriptAccess:this.zm,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.Cp};b={"class":"goog-ui-media-flash-object",id:fv(this),name:fv(this)};Oga(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.zm,allowFullScreen:"true",allowNetworking:"all",bgcolor:"#000000","class":"goog-ui-media-flash-object",FlashVars:b,id:fv(this),name:fv(this),quality:"high",SeamlessTabbing:"false",wmode:this.Cp},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.ma(),g.Qb(fua),ff)};
g.h.En=function(){if(null!=this.L&&!(0<=g.Ab(OB,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(){iv.Z.V.call(this);this.l=null;this.o.dispose();this.o=null};
g.h.Mb=function(){return this.Ke&&this.ma()?g.EH&&jv(this).readyState&&"complete"==jv(this).readyState||jv(this).readyState&&4==jv(this).readyState||"PercentLoaded"in jv(this)&&100==jv(this).PercentLoaded()?!0:!1:!1};g.A(kv,g.Gf);var Lua=Ec(vc(g.xc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Ec(vc(g.xc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=kv.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.pJ,this);this.g=new iv(Lua);this.g.setSize(b,c);this.g.zm="always";this.g.Cp="transparent";this.g.l.set("vpaid",a);this.g.l.set("vpaidEventHandler",this.o);gv(this.g,this.C);this.l=jv(this.g);this.A=g.vg(this.qJ,d,this)};
g.h.oJ=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.pJ=function(a,b){"AdLoaded"==a&&(g.wg(this.A),this.B=!0);this.dispatchEvent(new Yn(a,b||null))};
g.h.qJ=function(){this.dispatchEvent("loadError")};g.A(nv,qq);nv.prototype.lg=function(){var a=this.Kr();a=null!=a&&"clicktag"==a.toLowerCase();a={url:In(g.E(this.l)),width:this.Bb(),height:this.getHeight(),Gc:this.df(),capture:this.ow||!a};var b=N.g()&&dp(this.F,"hideMaster")?Vp:Uea;a=Gq(b,a);a.style.width=this.Bb()+"px";a.style.height=this.getHeight()+"px";a.id=this.ia;(0,g.B)(a.getElementsByTagName("object"),this.Oi,this);(0,g.B)(a.getElementsByTagName("a"),this.Oi,this);return a};g.A(ov,qq);ov.prototype.lg=function(){var a=g.J("DIV");a.innerHTML=this.l;this.Oi(a);return uq(this,a)};g.A(pv,qq);pv.prototype.jd=function(){var a=pv.Z.jd.call(this);this.C&&(a=a.replace('src=""','src="'+In(g.E(this.l))+'"'));return a};
pv.prototype.Nr=function(){var a=pv.Z.Nr.call(this);this.C&&(a=a.replace('src=""','src="'+In(g.E(this.l))+'"'));return a};
pv.prototype.lg=function(a){var b="";this.C||(b=In(g.E(this.l)));b={id:this.ia,url:b,Gc:this.df(),width:this.Bb()+"px",height:this.getHeight()+"px"};a=N.g()&&dp(this.F,"hideMaster")?Vp:a?Wea:Vea;a=Gq(a,b);(0,g.B)(a.getElementsByTagName("a"),this.Oi,this);return a};
pv.prototype.Zk=function(){return!0};tv.prototype.kd=function(){return null!=this.g?nq[this.g]||"Other":null};g.A(uv,xq);vv.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case "AdFormat":b=a.getAttribute("ad_system"),c=a.getAttribute("ad_type"),d=a.getAttribute("instream_type")}},this);
return null!=b&&null!=c&&null!=d?new uv(b,c,d):null};g.A(xv,xq);xv.prototype.isPharma=function(){return this.D};yv.prototype.parse=function(a){var b;os(a,"config",function(a){null!=b||(b=Tga(this,a))},this);
return b};zv.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.Nd(a),function(a){switch(a.nodeName){case "AttributionText":c=ns(a);break;case "AttributionUrl":d=ns(a);break;case "ConversionUrl":f=ns(a);break;case "CustomTracking":null!=g.Nd(a)&&(e=vs(a));break;case "is_pharma":a=ms(a,"bool");r=rs(g.E(a));break;case "CheckedEvents":a=g.Nd(a);b=(0,g.G)(a,function(a){return ms(a,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":k=ns(a);break;case "VisibleUrl":l=ns(a);break;case "UI":m=(new yv).parse(a);break;case "ShowYouTubeAnnotations":var u=ns(a);n=rs(g.E(u),!1);case "QueryId":q=ns(a)}},this);
null!=m||(m=new wv);return new xv(c,d,f,k,l,m,n,q,r,e,b)};Av.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Nd(a)&&(b=vs(a))}});
a=null;null!=b&&0<Zp(b,"skip").length&&(a="Generic");return new ys(a,b)};Bv.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case "SkippableAdType":b=ns(a);break;case "CustomTracking":null!=g.Nd(a)&&(c=vs(a))}});
return new ys(b,c)};Cv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Nd(a)&&(b=vs(a))}},this);
return new xq(b)};Iv("d");Jv("d");Kv("d");var O0=Iv("f");Jv("f");Kv("f");var iw=Iv("i");Jv("i");Kv("i");Iv("j");Jv("j");Kv("j",void 0);Kv("j",void 0);Iv("u");Jv("u");Kv("u");Iv("v");Jv("v");Kv("v",void 0);Kv("v",void 0);var P0=Iv("b");Jv("b");Kv("b");var aw=Iv("e");Jv("e");Kv("e");var bw=Iv("s");Jv("s");Kv("s");Iv("B");Jv("B");Kv("B");Iv("x");Jv("x");Kv("x");Iv("y");Jv("y");Kv("y",void 0);Kv("y",void 0);Iv("g");Jv("g");Kv("g");Iv("h");Jv("h");Kv("h",void 0);Kv("h",void 0);Iv("n");Jv("n");Kv("n");Iv("o");Jv("o");
Kv("o",void 0);Kv("o",void 0);Nv.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];Ev(b,c)}return new a(b)};var Q0;g.A(Tv,Nv);var R0;g.A(Uv,Nv);var S0,T0;g.A(Vv,Nv);var $v;g.A(Wv,Nv);var fw;g.A(Rv,Nv);var U0;g.A(Xv,Nv);var V0;g.A(Yv,Nv);var W0,X0;g.A(Zv,Nv);var Y0,Z0,$0,a1,b1,c1,hw;g.A(gt,Nv);var d1,e1,f1,g1,nga={QG:0,RG:1,V1:2,j2:3,Pv:4,f2:5,g2:6,b2:7,W1:8},h1={QG:0,d2:1,a2:2,X1:3,Y1:4,c2:5,U1:6,e2:7,PG:8,MG:9,NG:10,OG:11,h2:12,Z1:13};Uv.prototype.Rb=function(){return Ov(this,"type",0)};
Uv.prototype.g=function(){return new Zv(this.data.website_card)};
Uv.prototype.Fe=function(){return new Vv(this.data.placement)};
Wv.prototype.Rb=function(){return Ov(this,"type",0)};
Wv.prototype.setTitle=function(a){this.data.title=a};
Rv.prototype.Rb=function(){return Ov(this,"type",0)};
Xv.prototype.ld=function(){return Yr(this,"headline")};
Xv.prototype.setDescription=function(a){this.data.description=a};
Yv.prototype.setDescription=function(a){this.data.description=a};
Zv.prototype.ld=function(){return Yr(this,"headline")};
Zv.prototype.setDescription=function(a){this.data.description=a};
Zv.prototype.og=function(){return new gt(this.data.icon)};
Zv.prototype.wn=function(){return new gt(this.data.banner_image)};
gt.prototype.getImageUrl=function(){return Yr(this,"image_url")};var lw;
lw={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(jw,xq);kw.prototype.parse=function(a){var b=gs(a);if(g.C(g.E(b)))return null;if(this.g){var c=mw;if(!Q0){var d={};Q0=Gv(d);if(!R0){var e={};R0=Gv(e);e.type=aw;if(!S0){var f={};S0=Gv(f);f.major_version=iw;f.minor_version=iw}e.version=Lv(S0);e.priority=iw;e.start_time_ms=Iv("j");e.end_time_ms=Iv("j");e.action=Mv(ew());e.event=Mv(dw());a1||(f={},a1=Gv(f),f.headline=bw,f.description=bw,f.attribution_icon_url=bw,f.skippable_seconds=iw,f.attribution_position=aw);e.ad_card=Lv(a1);if(!U0){f={};U0=Gv(f);f.headline=
bw;f.image=Lv(cw());f.description=bw;f.rating=O0;f.review_text=bw;if(!V0){var k={};V0=Gv(k);k.merchant=bw;k.price=bw;k.shipping=bw;k.shipping_tax=bw;k.condition=bw;k.unit_price=bw;k.energy_label=bw;k.description=bw;k.rating=O0;k.review_text=bw;k.action=Mv(ew());k.event=Mv(dw());k.doc_id=bw;k.catalog_id=bw}f.offer=Mv(V0);f.badge_text=bw;f.badge_icon_type=aw}e.product_card=Lv(U0);W0||(f={},W0=Gv(f),f.app_id=bw,f.app_name=bw,f.icon=Lv(cw()),f.price=bw,f.rating_image=bw,f.review_count=iw,f.app_store_logo=
Lv(cw()),f.button_text=bw,f.screenshots=Mv(cw()),f.rating=O0,f.back_button_text=bw,f.screenshots_text=bw,f.cover_photo=Lv(cw()),f.description=bw);e.app_card=Lv(W0);X0||(f={},X0=Gv(f),f.headline=bw,f.description=bw,f.icon=Lv(cw()),f.banner_image=Lv(cw()));e.website_card=Lv(X0);Z0||(f={},Z0=Gv(f),f.invitation_headline=bw,f.invitation_description=bw,f.icon=Lv(cw()),f.invitation_cta=bw,f.form_headline=bw,f.advertiser_name=bw,f.email_key=bw,Y0||(k={},Y0=Gv(k),k.formfill_field_type=aw,k.google_form_column_id=
bw,k.is_field_optional=P0),f.formfill_field_infos=Mv(Y0));e.formfill_card=Lv(Z0);$0||(f={},$0=Gv(f),f.formatted_phone_number=bw,f.merchant_name=bw,f.call_cta_text=bw,f.headline=bw,f.icon=Lv(cw()));e.call_card=Lv($0);e.prominence=aw;b1||(f={},b1=Gv(f),f.call_to_action_text=bw);e.social_card=Lv(b1);c1||(f={},c1=Gv(f),f.vote_line_1=bw,f.vote_line_2=bw,f.confirm_line_1=bw,f.confirm_line_2=bw);e.vote_card=Lv(c1);e.sponsored=P0;e.teaser_text=bw;T0||(f={},T0=Gv(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=Lv(T0);d1||(f={},d1=Gv(f),f.latitude_e6=iw,f.longitude_e6=iw,f.address=bw,f.image=Lv(cw()),f.headline=bw);e.location_card=Lv(d1);e1||(f={},e1=Gv(f),f.icon=Lv(cw()),f.location_image=Lv(cw()),f.display_name=bw,f.latitude_e7=iw,f.longitude_e7=iw,g1||(k={},g1=Gv(k),k.display_address=bw,k.city_province=bw),f.address=Lv(g1),f.display_phone_number=bw,f1||(k={},f1=Gv(k),k.day_of_week=aw,k.display_day_of_week=
bw,k.display_hours=bw),f.open_hours=Mv(f1),f.closing_time_today=bw,f.images=Mv(cw()),f.distance_to_user_meters=iw,f.average_rating=iw,f.num_reviews=iw,f.num_five_star_reviews=iw,f.num_four_star_reviews=iw,f.num_three_star_reviews=iw,f.num_two_star_reviews=iw,f.num_one_star_reviews=iw);e.merchant_location=Lv(e1)}d.card=Mv(R0);d.event=Mv(dw())}a=c(this,a,Q0);a=c=new Tv(a);d=new Wp;for(e=0;e<Sv(a,"card");e++)if(f=new Uv(Qv(a,"card",e)),ft(f.Fe()))for(k=0;k<Sv(f,"event");k++){var l=new Rv(Qv(f,"event",
k)),m=null;switch(l.Rb()){case h1.MG:m="video_card_endcap_action";break;case h1.NG:m="video_card_endcap_collapse";break;case h1.OG:m="video_card_endcap_dismiss";break;case h1.PG:m="video_card_endcap_impression"}m&&aq(d,m,nw(m,Yr(l,"base_url")))}a=d}else a=Vga(this,a);return new jw(b,c,a)};g.A(ow,xq);ow.prototype.Pg=function(){return this.l};g.A(pw,xq);qw.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case "FeEventId":b=ns(a);break;case "AdEventId":c=ns(a)}},this);
return new pw(b,c)};rw.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.Nd(a),function(a){"config"!=a.nodeName||(0,g.B)(g.Nd(a),function(a){"params"!=a.nodeName||(0,g.B)(g.Nd(a),function(a){var d=this.o?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=ns(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(uw,rw);uw.prototype.parse=function(a){if(null==a)return null;a=tw(this,a);var b=a.UI;return new Ot(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
uw.prototype.A=function(a){var b=[],c=0;(0,g.B)(g.Nd(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case "DisplayName":d=ns(a);break;case "URL":f=ns(a)}},this);
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this);
return b};g.A(vw,xq);ww.prototype.parse=function(a){if(null==a)return null;var b=new vw;(0,g.B)(g.Nd(a),function(a){if("DealId"!=a.nodeName)return null;a=ns(a);a=g.E(a);g.C(a)||(b.l=a)},this);
return b};g.A(xw,xq);yw.prototype.g={EG:"Siub",DG:"Scs",SE:"Bgub",RE:"Bgp"};yw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case this.g.EG:b=ns(a);break;case this.g.DG:c=ns(a);break;case this.g.SE:d=ns(a);break;case this.g.RE:e=ns(a)}},this);
return b&&c&&d&&e?new xw(b,c,d,e):null};g.A(zw,xq);Aw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Nd(a)&&(b=vs(a))}},this);
return new zw(b)};g.A(Bw,xq);Cw.prototype.g={KG:"TEMPLATE_PARAMETERS",LG:"TEMPLATE_URL"};Cw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case this.g.KG:b=Wga(this,a)}},this);
return new Bw(b)};g.A(Dw,xq);Dw.prototype.getImageUrl=function(){return this.A};Ew.prototype.g={PF:"Line1",QF:"Line2",RF:"Line3",OF:"ImageUrl"};Ew.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case this.g.PF:b=ns(a,!0);break;case this.g.QF:c=ns(a,!0);break;case this.g.RF:d=ns(a,!0);break;case this.g.OF:e=ns(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 Dw(b,c,d,e,f,k)};g.A(Fw,xq);Gw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Nd(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),g.C(g.E(a))||(b=a)}},this);
return new Fw(b)};g.A(Hw,rw);var Mua=["menu","got_it"],Nua=[["generic_message_left","generic_message_hypertext","generic_message_right"]];Hw.prototype.parse=function(a){if(null==a)return null;a=tw(this,a);var b=a.UI;if(!Iw(b,Mua))return null;var c,d=!0,e=!1;(0,g.B)(Nua,function(a){Xga(b,a)&&(Iw(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 Qt(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};Jw.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 zs(a)};g.A(Kw,xq);Lw.prototype.parse=function(a){return null!=a?new Kw:null};Mw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?Db(a):window.NaN;return new nr(a)};g.A(Nw,lv);
Nw.prototype.g={IE:"Ad",Gp:"AdParameters",ME:"AdSystem",NE:"AdTitle",JE:"Advertiser",PE:"AltText",WE:"ClickThrough",XE:"ClickTracking",YE:"Companion",ZE:"CompanionAds",aF:"CompanionClickThrough",bF:"CompanionClickTracking",jF:"Creative",BX:"CreativeExtensions",kF:"Creatives",nF:"CustomClick",rF:"Description",Jp:"Duration",ERROR:"Error",EXTENSION:"Extension",zF:"Extensions",Yl:"HTMLResource",DF:"Icon",EF:"Icons",FF:"IconClicks",GF:"IconClickThrough",HF:"IconClickTracking",IF:"IconViewTracking",dm:"IFrameResource",
fm:"Impression",fZ:"InLine",LINEAR:"Linear",WF:"MediaFile",XF:"MediaFiles",gG:"NonLinear",hG:"NonLinearAds",iG:"NonLinearClickThrough",jG:"NonLinearClickTracking",qG:"Pricing",gm:"StaticResource",JG:"Survey",Q1:"Tracking",Op:"TrackingEvents",SG:"UniversalAdId",B2:"VAST",UG:"VASTAdTagURI",VG:"VideoClicks",YG:"Wrapper"};
Nw.prototype.l={KE:"adId",LE:"adSlotID",OE:"allowMultipleAds",Wl:"apiFramework",Yu:"bitrate",lF:"creativeType",qF:"delivery",Jp:"duration",tY:"event",CF:"followAdditionalWrappers",xF:"expandedHeight",yF:"expandedWidth",Xl:"height",Zl:"id",JF:"idRegistry",KF:"idValue",TF:"maintainAspectRatio",VF:"maxBitrate",aG:"minBitrate",bG:"minSuggestedDuration",kG:"offset",rG:"program",uG:"required",xG:"scalable",Av:"sequence",BG:"skipoffset",Ov:"type",VERSION:"version",WG:"codec",km:"width",ZG:"xPosition",bH:"yPosition"};
Nw.prototype.o=function(){return new mv(this.A,Zga(this),null)};g.A(Ww,Ru);g.h=Ww.prototype;g.h.V=function(){this.D=!1;null===this.g?this.N&&this.dispatchEvent(new on("destroyInsecureFlashVpaid",this.ka())):this.g.dispose();this.o&&this.ga("contentResumeRequested");this.ga("allAdsCompleted");Ww.Z.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){Ww.Z.Pc.call(this,a,b,c);this.o=this.ka().g instanceof jq};
g.h.init=function(a){Ww.Z.init.call(this,a);a=this.ka();var b=ut(a);b=g.E(b);if(g.C(b))$w(this,Error("Flash VPAID ad url is empty."));else{if(Vu(a)){var c=a.g,d=mq(c);null!=d&&(c.B=d)}this.Sa().U(Oo(),G0,this.Nj);this.N?this.dispatchEvent(new on("initInsecureFlashVpaid",a,{url:g.E(b)})):null===this.Ea.Df()?$w(this,Error("Container must be provided for flash VPAID.")):(this.Ea.td(),null===this.g&&(this.g=new kv(this.Ea.Df())),this.Sa().U(this.g,"loadError",this.bQ),this.Sa().U(this.g,"vpaidEventType",
this.Wf),this.g.load(b,this.K,this.C,this.La.gf))}};
g.h.start=function(){if(this.D){Ww.Z.start.call(this);var a=this.ka();this.Wb.A=a.I;var b=Tq(a);this.Wb.g=b;if(b=a.g)this.zg(a),this.Zf(b,F0),this.Qj(b),Zu(this,a);this.Ea.td();av(this);this.xa("show_ad");this.setVolume(this.A);this.l=new g.ug(250);this.Sa().U(this.l,"tick",this.tJ);this.o?this.ga("contentPauseRequested"):(this.ga("contentResumeRequested"),Yw(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),Ww.Z.stop.call(this),this.I=!0)};
g.h.wb=function(a,b,c){Ww.Z.wb.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.Sb=function(){return Xw(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.tJ=function(){this.B+=250;var a=this.getDuration(),b=a-this.Ic();bv(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 on("callFlashVpaidMethod",this.bb()?this.ka():null,{methodName:c,args:b})),this.L[c]):null===this.g?null:this.g.oJ.apply(this.g,b)};
g.h.bQ=function(){$w(this,Error("Flash VPAID loader failed to load."))};
g.h.getCurrentTime=function(){return this.B/1E3};
g.h.Wf=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=Ns(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(Ms(b))&&(a=Qw(a,b.g.g),g.Ra(a)||As(b,a));Wu(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(Rs(this.ka()))),b&&Kn(b));this.xa("click");this.ga("click");break;case "AdDurationChange":this.ga("durationChange");break;case "AdRemainingTimeChange":this.ga("durationChange");Yw(this);break;case "AdError":a="AdError";b&&(a=b.message);$w(this,Error(a));break;case "AdExpandedChange":this.ga("expandedChanged");break;case "AdImpression":b=this.ka();g.Ra(Ms(b))||this.Ad(b);this.ga("impression");
break;case "AdLinearChange":b=Xw(this);!this.o&&b?(this.ga("contentPauseRequested"),g.wg(this.F)):this.o&&!b&&(this.ga("contentResumeRequested"),Yw(this));this.o=b;a=this.qc;a.oa=!0;a.pa=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":Wu(this,"pause");break;case "AdUserClose":Wu(this,"userClose");break;case "AdUserMinimize":this.xa("collapse");
break;case "AdVideoFirstQuartile":Wu(this,"firstquartile");break;case "AdVideoMidpoint":Wu(this,"midpoint");break;case "AdVideoThirdQuartile":Wu(this,"thirdquartile");break;case "AdVideoComplete":ax(this);break;case "AdUserAcceptInvitation":this.o?this.xa("acceptinvitationlinear"):this.xa("acceptinvitation");break;case "AdStopped":ax(this);this.xa("stop");this.stop();break;case "AdSkipped":Wu(this,"skip");break;case "AdSkippableStateChange":Wu(this,"skippableStateChanged");break;case "AdPlaying":Wu(this,
"resume");break;case "AdLog":this.ga("log")}};g.A(bx,Ru);var Oua=Ec(vc(g.xc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Ec(vc(g.xc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=bx.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");bx.Z.V.call(this)};
g.h.Ic=function(){var a=this.gd("getAdRemainingTime");return g.ua(a)?a:-1};
g.h.getVolume=function(){var a=this.gd("getAdVolume");return g.ua(a)?a:-1};
g.h.Pc=function(a,b,c){bx.Z.Pc.call(this,a,b,c);this.o=this.ka().g instanceof jq};
g.h.init=function(a){bx.Z.init.call(this,a);window[this.R]=(0,g.z)(this.uJ,this);this.Sa().U(Oo(),G0,this.Nj);this.g=new iv(Oua);this.g.setSize(this.L,this.H);this.g.zm="always";var b=this.ka();a=ut(b);a=g.E(a);if(g.C(a))ex(this,Zw,Error("Flash VPAID ad url is empty.")),this.stop();else{if(Vu(b)){b=b.g;var c=mq(b);null!=c&&(b.B=c)}this.g.l.set("vpaid",a);this.g.Cp="transparent";this.g.l.set("vpaidEventHandler",this.R);this.Ea.td();gv(this.g,this.Ea.Df());this.B=jv(this.g);this.F=g.vg(this.wJ,this.La.gf,
this)}};
g.h.start=function(){if(this.D){bx.Z.start.call(this);var a=this.ka();this.Wb.A=a.I;var b=Tq(a);this.Wb.g=b;if(b=a.g)this.zg(a),this.Zf(b,F0),this.Qj(b),Zu(this,a);this.Ea.td();av(this);this.xa("show_ad");this.setVolume(this.A);this.l=new g.ug(250);this.Sa().U(this.l,"tick",this.vJ);this.o?this.ga("contentPauseRequested"):(this.ga("contentResumeRequested"),dx(this));this.l.start();this.gd("startAd")}else this.K=!0};
g.h.stop=function(){this.W||(this.W=!0,this.gd("stopAd"),this.Ea.hide(),null!=this.l&&(this.l.stop(),this.l=null),bx.Z.stop.call(this))};
g.h.wb=function(a,b,c){bx.Z.wb.call(this,a,b,c);this.L=a;this.H=b;null!=this.g&&this.g.setSize(a,b);this.gd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.l&&this.l.stop();this.gd("pauseAd")};
g.h.resume=function(){null!=this.l&&this.l.start();this.gd("resumeAd")};
g.h.setVolume=function(a){this.A=a;this.gd("setAdVolume",a)};
g.h.expand=function(){this.gd("expandAd")};
g.h.collapse=function(){this.gd("collapseAd")};
g.h.Mj=function(){};
g.h.Sb=function(){return cx(this)};
g.h.skip=function(){this.gd("skipAd")};
g.h.getDuration=function(){var a=this.gd("getAdDuration");if(g.ua(a))return a;a=this.Ic();return 0<=a?this.C/1E3+a:-2};
g.h.vJ=function(){this.C+=250;var a=this.getDuration(),b=a-this.Ic();bv(this,b,a)};
g.h.gd=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.wJ=function(){ex(this,K0,null,(this.La.gf/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.C/1E3};
g.h.uJ=function(a,b){switch(a){case "flashReady":this.gd("handshakeVersion","2.0");var c=Ns(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.gd("getAdCompanions");var d=g.v(c)?c:"";c=this.ka();g.Ra(Ms(c))&&(d=Qw(d,c.g.g),g.Ra(d)||As(c,d));Wu(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(Rs(this.ka()))),null!=c&&Kn(c));this.xa("click");this.ga("click");break;case "AdDurationChange":this.ga("durationChange");break;case "AdRemainingTimeChange":this.ga("durationChange");dx(this);break;case "AdError":c="AdError";b&&(c=b.message);ex(this,Zw,Error(c));this.stop();break;case "AdExpandedChange":this.ga("expandedChanged");break;case "AdImpression":c=this.ka();g.Ra(Ms(c))||this.Ad(c);this.ga("impression");break;case "AdLinearChange":c=cx(this);!this.o&&c?
(this.ga("contentPauseRequested"),g.wg(this.I)):this.o&&!c&&(this.ga("contentResumeRequested"),dx(this));this.o=c;d=this.qc;d.oa=!0;d.pa=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":Wu(this,"pause");break;case "AdUserClose":Wu(this,"userClose");break;case "AdUserMinimize":this.xa("collapse");break;case "AdVideoFirstQuartile":Wu(this,
"firstquartile");break;case "AdVideoMidpoint":Wu(this,"midpoint");break;case "AdVideoThirdQuartile":Wu(this,"thirdquartile");break;case "AdVideoComplete":fx(this);break;case "AdUserAcceptInvitation":this.o?this.xa("acceptinvitationlinear"):this.xa("acceptinvitation");break;case "AdStopped":fx(this);this.xa("stop");this.stop();break;case "AdSkipped":Wu(this,"skip");break;case "AdSkippableStateChange":Wu(this,"skippableStateChanged");break;case "AdPlaying":Wu(this,"resume");break;case "AdLog":this.ga("log")}};g.A(gx,on);kx.prototype.g=null;var i1;g.A(nx,kx);i1=new nx;g.A(g.px,g.Gf);g.px.prototype.Ua=null;var jha=/^https?$/i,Pua=["POST","PUT"];g.h=g.px.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?ox(this.N):ox(i1);this.L=this.N?mx(this.N):mx(i1);this.g.onreadystatechange=(0,g.z)(this.Tx,this);try{gn(yx(this,"Opening Xhr")),this.W=!0,this.g.open(b,String(a),!0),this.W=!1}catch(f){gn(yx(this,"Error opening Xhr: "+f.message));vx(this,f);return}a=c||"";var e=this.headers.clone();
d&&$da(d,function(a,b){e.set(b,a)});
d=g.Ma(e.yb(),iha);c=g.w.FormData&&a instanceof g.w.FormData;!g.Qa(Pua,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{Ax(this),0<this.B&&(this.K=hha(this.g),gn(yx(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.Ux,this)):this.D=g.vg(this.Ux,this.B,this)),gn(yx(this,"Sending request")),this.H=!0,this.g.send(a),this.H=!1}catch(f){gn(yx(this,"Send error: "+f.message)),vx(this,f)}};
g.h.Ux=function(){"undefined"!=typeof wx&&this.g&&(this.C="Timed out after "+this.B+"ms, aborting",this.l=8,yx(this,this.C),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.g&&this.o&&(yx(this,"Aborting"),this.o=!1,this.A=!0,this.g.abort(),this.A=!1,this.l=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ux(this))};
g.h.V=function(){this.g&&(this.o&&(this.o=!1,this.A=!0,this.g.abort(),this.A=!1),ux(this,!0));g.px.Z.V.call(this)};
g.h.Tx=function(){this.ha()||(this.W||this.H||this.A?zx(this):this.MR())};
g.h.MR=function(){zx(this)};
g.h.isActive=function(){return!!this.g};
g.h.getStatus=function(){try{return 2<g.xx(this)?this.g.status:-1}catch(a){return-1}};g.p(Hx,Pi);
Hx.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.aa,c={};b=Dx(b,this.D,c);b=Dx(b,a,c);this.g.google_timing_params&&(b=Dx(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);Gx(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}};
Hx.prototype.F=function(a){this.l&&this.H<this.N&&(Pi.prototype.F.call(this,a),Fx(this,a))};
Hx.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)};Kx.prototype.isLoggingEnabled=function(){return!!this.va};
g.wa(Kx);Nx.prototype.isListed=!0;Nx.prototype.Ai=-1;g.A(Px,g.Gf);g.h=Px.prototype;g.h.start=function(){this.zr();this.o=0;Qx(this);this.l=!0;this.B.start()};
g.h.play=function(){this.l||(Qx(this),this.l=!0,this.B.start())};
g.h.pause=function(){this.l&&Qx(this)};
g.h.stop=function(){this.l&&Qx(this);this.dispatchEvent("end")};
g.h.zr=function(){};
g.h.yR=function(){this.o+=.2;this.yr(this.o,this.L);this.dispatchEvent("timeUpdate");0>=this.L-this.o&&this.stop()};
g.h.yr=g.y;g.h.V=function(){this.l=!1;this.I.dispose();Px.Z.V.call(this)};g.A(Sx,Px);g.h=Sx.prototype;g.h.start=function(){this.zr();this.A.update(0,this.H);$t(this.g,this.F.o).play();this.I.U(this.A,"skip",this.fH);Sx.Z.start.call(this)};
g.h.zr=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.R(this.g,"videoAdUi-mobile",b)}else if(2==this.D){var c=g.Pd(this.g),d=g.Lh(c),e=65>=(a.height-d.height)/2;g.R(this.g,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.R(this.g,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.fH=function(){this.pause();this.dispatchEvent("skip")};
g.h.yr=function(a,b){this.A.update(a,b);if(this.C){var c=Ox({qe:Rx(b-a)});g.Ud(this.C,c)}};
g.h.V=function(){this.A&&this.A.dispose();g.Jd(this.g);Sx.Z.V.call(this)};g.A(Vx,Px);var Ux=Math.ceil(10*3.14);Vx.prototype.D=function(a){N.g()||a.stopPropagation();this.dispatchEvent("click")};
Vx.prototype.start=function(){Vx.Z.start.call(this);null==this.g?this.stop():this.H&&(this.N&&780<=g.Lh(this.R).width&&this.H.wy(!0),this.H.Cr())};
Vx.prototype.yr=function(a,b){var c=a/b*Ux+" "+Ux;null!=this.g&&g.sh(this.g,"stroke-dasharray",c)};g.A(Wx,g.K);Wx.prototype.show=function(a,b,c){Xx(this);!tM||!a||io(10)&&b?c():(a.appendChild(this.l),this.va=g.vg((0,g.z)(this.g,this,c),2E3))};
Wx.prototype.g=function(a){this.va=0;g.Ld(this.l);a()};
Wx.prototype.V=function(){Xx(this);Wx.Z.V.call(this)};g.A(Zx,g.ef);g.A($x,g.Gf);ay.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var vha={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=$x.prototype;g.h.V=function(){this.Sc();$x.Z.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 ay(this.g);this.K=c||null;this.l=new g.Zm(this);this.D=a.I;a=N.l?gp():Oo();this.l.U(a,"externalActivityEvent",this.ZP);this.l.U(a,"measurable_impression",this.GQ);this.l.U(a,"viewable_impression",this.YS);this.l.U(this.g,"timeUpdate",this.XJ);this.l.U(this.g,"volumeChange",this.YJ);this.l.U(this.g,"pause",this.UJ);this.l.U(this.g,"play",this.VJ);this.l.U(this.g,"end",this.VP);this.l.U(this.g,"beginFullscreen",
this.SJ);this.l.U(this.g,"endFullscreen",this.YP);this.l.U(this.g,"skip",this.Fy);this.l.U(this.g,"skipShown",this.MB);this.l.U(this.g,"start",this.WJ);this.l.U(this.g,"error",this.RJ);this.l.U(this.g,"mediaLoadTimeout",this.TJ);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(){by(this,"feedbackShown",!0,!0)},this)),this.l.U(this.o,"feedbackLike",(0,g.z)(function(){by(this,"feedbackLike",!0,!0)},this)),this.l.U(this.o,"feedbackDislike",(0,g.z)(function(){by(this,"feedbackDislike",!0,!0)},this)),this.l.U(this.o,"videoShareShown",this.XS),this.l.U(this.o,"skipshown",this.MB),this.l.U(this.o,"skip",this.Fy),this.l.U(this.o,"PUBLISHER_INVOKED_SKIP",this.JR),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.YH))};
g.h.GQ=function(a){var b=a.g;this.A.F.measurable_impression=null!=b?b.viewabilityString:null;a.g.queryId==this.D&&by(this,"measurable_impression",!0,!1)};
g.h.YS=function(a){a=a.g;a.queryId==this.D&&(this.A.F.viewable_impression=null!=a?a.viewabilityString:null,by(this,"viewable_impression",!0,!0))};
g.h.ZP=function(a){a=a.g;var b=H0[a.eventName];b&&a.queryId==this.D&&(this.A.F[b]=null!=a?a.viewabilityString:null,by(this,b,!0,!0))};
g.h.XJ=function(){if(this.F){var a=this.g.getDuration();if(-1!=a){this.g.yk(.25*a)&&by(this,"firstquartile",!0,!0);this.g.yk(.5*a)&&by(this,"midpoint",!0,!0);this.g.yk(.75*a)&&by(this,"thirdquartile",!0,!0);var b=this.A,c=this.g.getCurrentTime();if(!Fm(b.l,"skip")){0>b.B&&(Xea(b.o,a),b.B=0);a=Zp(b.o,"progress");for(var d=[],e=b.B;e<a.length;e++){var f=a[e];if(cq(f.g)>c)break;b.B=e+1;d.push(f.Oa())}0<d.length&&Ou(b,new g.ef("progress"),d)}}cy(this)}};
g.h.WJ=function(){this.F=!0;by(this,"impression",!0,!0);by(this,"creativeview",!0,!0);null!=this.K||null!=this.o||this.l.U(this.g,"click",this.Or);null!=this.K&&(this.C=new Ct,this.l.U(this.C,"click",this.Or,!1),this.C.Eb(this.K));null!=this.o&&(this.H=new Ct,this.l.U(this.H,"click",this.Or,!1),this.H.Eb(this.o));by(this,"start",!0,!0);(this.g.isMuted()||0==this.g.getVolume())&&by(this,"mute",!1,!1)};
g.h.YJ=function(){var a=this.g.isMuted(),b=this.g.getVolume(),c=this.B;c.mute&&!a||!a&&0==c.volume&&0<b?by(this,"unmute",!1,!1):this.B.muted(a,b)&&by(this,"mute",!1,!1);this.B.mute=a;this.B.volume=b};
g.h.UJ=function(){this.g.Zg()?dy(this):this.g.ci()&&!this.g.vy()&&(this.B.paused=!0,by(this,"pause",!1,!1))};
g.h.VJ=function(){this.B.paused&&(this.B.paused=!1,by(this,"resume",!1,!1))};
g.h.VP=function(){dy(this)};
g.h.Or=function(){by(this,"click",!1,!1)};
g.h.RJ=function(){by(this,"error",!1,!1)};
g.h.TJ=function(){by(this,"mediaLoadTimeout",!1,!1)};
g.h.MB=function(){by(this,"skipshown",!0,!1)};
g.h.YH=function(a){by(this,a.type,!1,!1)};
g.h.XS=function(){by(this,"videoShareShown",!0,!1)};
g.h.Fy=function(){by(this,"skip",!0,!1)};
g.h.JR=function(){by(this,"skip",!0,!1)};
g.h.SJ=function(){by(this,"fullscreen",!1,!1)};
g.h.YP=function(){by(this,"exitfullscreen",!1,!1)};g.h=ey.prototype;g.h.Ac=function(){return this.g.Ac()};
g.h.add=function(a){this.g.set(fy(a),a)};
g.h.remove=function(a){return this.g.remove(fy(a))};
g.h.clear=function(){this.g.clear()};
g.h.isEmpty=function(){return this.g.isEmpty()};
g.h.contains=function(a){return Fm(this.g,fy(a))};
g.h.rb=function(){return this.g.rb()};
g.h.clone=function(){return new ey(this)};
g.h.Md=function(){return this.g.Md(!1)};g.A(gy,Ru);g.h=gy.prototype;g.h.V=function(){ly(this);this.W.dispose();jy(this);g.B(this.F.rb(),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.ci()||this.Da.Zg()||this.Da.pause(),fo()&&!a&&(this.Da.tj(.001),this.Da.load("","")),eo()&&this.Da.sj()&&!a&&this.Da.Br(),this.ga("contentResumeRequested"),this.ga("allAdsCompleted"));null!=this.Da&&this.Da.unload();gy.Z.V.call(this)};
g.h.muteAd=function(){N.g()&&(this.xa("mute_interaction_url"),this.xa("mute_url"),this.ga("MUTE_AD"),hy(this,function(){ky(this)}))};
g.h.whyThisAdClicked=function(){N.g()&&this.xa("why_this_ad_url")};
g.h.whyThisAdClosed=function(){N.g()&&this.xa("why_this_ad_got_it")};
g.h.Uj=function(){jy(this);gy.Z.Uj.call(this);this.bb()&&(this.Wb=new Nu,this.o=new $x(this.Wb),this.N=!1,this.ga("loaded"))};
g.h.Et=function(a){gy.Z.Et.call(this,a);null!=this.Da&&this.Da.gu(1)};
g.h.fx=function(a,b){b.preventDefault();this.C||(this.C=!0,Wu(this,"video_card_endcap_action"));a&&(this.g.pause(),Kn(a))};
g.h.gx=function(){hy(this,function(){my(this,"video_card_endcap_dismiss")})};
g.h.PH=function(){my(this,"video_card_endcap_collapse")};
g.h.ms=function(a,b,c,d){var e=Jq(b);e&&(a.C=e);var f=a.getExtension("AdSense");null!=f&&null!=f.l&&f.l.l&&this.setVolume(0);if(this.La.ID){e=a.getExtension("AdSense");(f=this.aa)||(f=null===b?!1:"modules"==(new g.Jm(b)).Uh().toLowerCase()||Lq(b));var k=f||null!=e&&e.F;e=a.isBumper()?null:qt(a);if((N.g()||rl()?0:ao()&&(!this.dl()||null==this.Ea||!this.Ea.Cq())||wt(a)||this.La.Iu)||!N.g()&&k)this.La.Eu=!0,this.La.Iu=!0;f=Tq(a,this.Da);if(N.g()||this.La.Iu){var l=g.C(g.E(Rs(a)))?!1:this.La.Eu,m=a.g,
n=!1;!sy(this,a)&&null!=m&&m instanceof jq&&(n=0<Yea(m).length);var q=a.isBumper();m=this.La;var r=N.g()||!1,u=N.g();this.yj(a);e=Yt(k,a.C,e,q,m,f);e.A=l;e.ea=m.UU;e.fa=r;e.da=!0;e.aa=u;e.F=m.Bu;e.la=m.Hu;e.oa=m.VU;e.C=m.ly;e.Y=0;m.Bu&&(e.learnMoreText=""+Ha("Visit Advertiser"));e.Ab=n}else Is(a)?(l=a.C,m=a.isBumper(),!g.C(g.E(l))&&null!==e&&0<cq(e)&&(k=!0),e=Yt(k,l,e,m,this.La,f),e.W=k?Hfa:Gfa):(l=a.isBumper(),e=Yt(k,a.C,e,l,this.La,f),e.C=!1,e.l=!1,e.o=!1);Dn(An(),420706069)&&(N.C=!0);!N.g()&&N.C&&
(e.K=!0);f=e;k=this.Ea.Mk();null===k?k=window.document.body:g.Jd(k);l=this.ka();m=1E3*l.getDuration();r=l.getExtension("why_this_ad");u=l.getExtension("mute");f.H=new Rt(r,u);St(f.H)&&(u=null!=r?r.A:void 0,r="<span class='"+P("videoAdUiAdSettingsShortTooltip")+"'>",u?r+=O(u):(u=Ha("Click for Ad Settings"),r+=u),r=Bp(r+"</span>"),f.se=r);this.Ja=new Hu(f,k,m,l.Ye());k=l.C;null!=k&&py(this,k,f.oa);f=this.Ja;f.W&&(f=f.W,k=0==this.B,f.g!=k&&(f.g=k,du(f)));if(this.aa)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 D=new g.Jm(k);var I=tb((D.l+D.o).replace(/^www\./i,""),35);g.C(g.E(I))?Ku(f):g.Ud(f.I,I)}catch(S){Ku(f)}}null!=f.aa&&g.M(f.aa,!0)}else Ku(this.Ja);I=e;D=[];I.l&&D.push("adAttribution");I.o&&D.push("countdown")}else e&&py(this,e,this.La.Wp);if(d=d?this.Ea.Jn():this.Da)vy(this)?(d.Eb(),this.Sa().U(d,"error",this.EB),this.Sa().U(d,"loaded",g.y)):this.cp(a),d.To(Bha(this,a)),d.load(b,c)};
g.h.Yv=function(a){var b=this.bb()?this.ka().C:null;if(b){var c=this.Hk();zha(this)&&(c="");ny(this)&&a&&(c=Mha(this,a));a=this.Gk();c||a||!ny(this)||(c=" ");(c||a)&&this.Da.Ar(b,c||null,a||null)}};
g.h.uT=function(a,b,c){null!==a.K&&Jo(Go.getInstance(),34,{evt:"filled"},!0);this.X||(this.X=!0,this.ga("contentPauseRequested"));yy(this)&&!this.I||vy(this)||this.ms(a,b,c);this.D=!0;this.setVolume(this.B);this.Ja&&(g.C(g.E(ty(a)))?(b=this.Ja,null!=b.B&&(b.o.Aa(b.B,"click",b.yp),g.sh(b.B,"cursor","default"))):(b=this.Ja,null!=b.B&&(b.o.U(b.B,"click",b.yp),null!=b.D&&!g.Oh(b.D)&&g.sh(b.B,"cursor","pointer"))),b=a.g.oa,g.Ra(b)||Ju(this.Ja,b),this.Ja.show());vy(this)&&(b=this.Ea instanceof mn?this.Ea.g:
this.Ea,this.I&&(b.hide(),b.Kn(),this.Da=b.Xk(Uu(this))),this.cp(a),this.Ea instanceof mn&&b.Jf());this.K=!1;this.xa("show_ad");this.Ea.Jf();if(!N.o)try{this.Ad(a)}catch(d){Dy(this,I0,d);return}Mx("pi");if(b=null!=this.Ja)b=this.Ja,b=ao()?!1:null!=b.g.I?b.g.D&&b.g.I==Ts(a):b.g.D;b?Aha(this):this.W.show(this.Ea.Mk(),this.La.Du,(0,g.z)(this.Da.play,this.Da))};
g.h.cp=function(a){this.o.Eb(a,this.Da,this.Ea.Kq(),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.RB);this.Sa().U(this.Da,"loaded",this.VS);this.Sa().U(this.Da,"cardsStateChange",this.zJ);this.Sa().U(this.Da,"timeUpdate",
this.VB);this.Sa().U(this.Da,"volumeChange",this.CJ);this.Sa().U(this.Da,"shareClicked",this.LC);this.zg(a);var b=Tq(a,this.Da);this.Wb.g=b;b=a.g;null!=b&&b instanceof jq&&(this.Zf(b,F0),this.Qj(b),b=this.Sa(),an(b,this.o,"error",this.AJ,this),an(b,this.o,"mediaLoadTimeout",this.BJ,this));Zu(this,a);a.isSkippable()&&(this.o.I=30)};
g.h.Mj=function(){yy(this)&&By(this);this.ga("loaded");this.dispatchEvent(new gx(this.ka()))};
g.h.skip=function(){this.bb()&&this.ka().isSkippable()&&(null!=this.Ja?this.Ja.skip():(this.xa("skip"),Jy(this)))};
g.h.MC=function(){Wu(this,"skipshown")};
g.h.start=function(){gy.Z.start.call(this);this.L=[];try{var a=this.ka();this.l=wy(this,a);Mx("am");hy(this,(0,g.z)(gy.prototype.uT,this,a,this.l.Oa(),this.l.g))}catch(b){zy(this,b),this.Uj(),this.bb()?(Wn(this,Ay,b),this.start()):(this.D?Wn(this,Ay,b):(null!=this.Nd&&this.Nd.Ad(rB()),Xn(this,Ay,b)),this.stop())}};
g.h.getVolume=function(){Yu(this);return this.Da.isMuted()?0:this.Da.getVolume()};
g.h.setVolume=function(a){Yu(this);this.D?this.Da.setVolume(a):this.B=a};
g.h.pause=function(){Yu(this);this.g?this.g.pause():this.Da.pause()};
g.h.resume=function(){Yu(this);this.g?this.g.play():this.Da.play()};
g.h.getCurrentTime=function(){Yu(this);var a=this.g?this.g.o:0;return this.Da.getCurrentTime()+a};
g.h.getDuration=function(){Yu(this);return this.Da.getDuration()};
g.h.Ic=function(){Yu(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.Be=function(){return this.Da.Be()};
g.h.AJ=function(){yy(this)&&!this.I&&this.EB();Dy(this,Ay,Un(Ay,this.Da.getError()))};
g.h.EB=function(){this.K=!0};
g.h.BJ=function(){Gha(this);Dy(this,K0,Un(K0,null,(this.La.gf/1E3).toString()))};
g.h.Zt=function(a,b){gy.Z.Zt.call(this,a,b);Fy(this,a)};
g.h.RB=function(a){switch(a.type){case "start":Mx("ff");this.ga("start");N.g()&&N.o&&this.ka()&&this.ka().F&&this.ga("youtubeKevlarCompanionShow");this.vj();this.H=!0;this.Ja&&(N.C&&!N.g()&&(this.Ja.Db=!0),Mu(this.Ja));break;case "impression":this.ga("impression");this.I=!0;vy(this)&&Fha(this);break;case "viewable_impression":this.ga("viewable_impression");break;case "why_this_ad_url":this.ca=this.Da.ci();Cy(this,"why_this_ad_url");this.pause();break;case "pause":this.ga("pause");break;case "why_this_ad_got_it":Cy(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":yha(this)||(this.ga("complete"),this.xa("instreamAdComplete"),ky(this));break;case "click":this.Ja&&this.Ja.g.A?this.Da.ci()?this.resume():this.pause():Ey(this);break;case "engagedview":Gy(this);this.ga("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);
break;case "yt-show-toast":this.dispatchEvent(a);break;case "videoAuthorIconClicked":Ly(this);break;case "videoAuthorClicked":Ly(this);break;case "videoClicked":this.ga("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.g&&!this.C&&(this.C=!0,Wu(this,"video_card_endcap_action"));!N.g()&&Gy(this);Ey(this);this.Da.pause();break;case "videoShareClicked":Iha(this);break;case "videoShareShown":Jha(this);break;case "videoTitleClicked":Kha(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.gx():Jy(this);break;case "MUTE_AD":this.ga("MUTE_AD");hy(this,function(){ky(this)});
break;case "feedbackShown":this.xa("feedbackShown");break;case "feedbackLike":this.xa("feedbackLike");break;case "feedbackDislike":this.xa("feedbackDislike")}};
g.h.qf=function(){gy.Z.qf.call(this);this.A&&(g.cf(this.A),this.A=null)};
g.h.LC=function(){var a=Hy(this)||Iy(this);null!=a&&Mn(a,"sharebuttonclicked")};
g.h.zg=function(a){gy.Z.zg.call(this,a);Fy(this,"impression")};
g.h.Zf=function(a,b){gy.Z.Zf.call(this,a,b);(0,g.B)(b,function(a){Fy(this,a)},this)};
g.h.Qj=function(a){gy.Z.Qj.call(this,a);a instanceof jq&&(a=kq(a),(0,g.B)(a.yb(),function(a){Fy(this,a)},this))};
g.h.kj=function(){if(!this.bb())return null;try{var a=this.ka();if(null==a)return null;var b=wy(this,a);return null!=b?b.Oa():null}catch(c){return null}};
g.h.Rg=function(){if(!this.bb())return null;var a=this.ka();if(!Vu(a))throw Un(uy);a=a.g.Qg();return g.Ra(a)?null:a[0].Oa()};
g.h.VS=function(){this.ga("adCanPlay")};
g.h.zJ=function(){var a=this.Ja;null!=a.l&&g.R(a.l,"ytp-iv-drawer-open",this.Da.uy())};
g.h.VB=function(){var a=this.getDuration();Yu(this);var b=this.g?this.getDuration():this.Da.Bx();var c=this.getCurrentTime(),d=0,e=0;this.bb()&&(e=this.ka(),d=e.A.g,e=e.A.Re);if(null!=this.Ja&&0<=a&&0<=c){if(!this.R&&3==this.ka().Qa){var f=this.Da.getDuration(),k=kt(this.ka());f=Math.abs(f-k);2<f&&(f=Un(Dua,null,Number(f).toFixed(2)),f=Sq(f,this.ka(),this.Da),k=Ks(this.ka()),Qn(k,f));this.R=!0}this.Ja.update(c,b,a,d,e)}};
g.h.CJ=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,du(b)))}};
g.h.OT=function(a){var b=this.bb()&&At(this.ka());return!a||g.C(g.E(a.channelId))||!a.isListed&&!b?eg():new g.$f(function(b,d){lha(a.channelId,function(a){a=new rp(a);b(a)},function(){d()},this)},this)};
g.h.CH=function(a){var b=this.ka();if((g.Ra(Ms(b))||!Ms(b)[0].A)&&N.g()&&wt(b)){var c=lga(b,a);if(c)if(Ss(b,[c]),N.o)this.H&&b.F&&this.ga("youtubeKevlarCompanionShow");else try{this.Ad(b)}catch(m){Dy(this,I0,m)}}if(c=this.Ja){c=this.ka();var d=c.L;c=N.g()&&g.Ra(Ms(c))&&null!=c.ca&&null!=d&&d.isListed}N.o&&(c=c&&!b.F);if(c){this.Sa().U(window,"message",this.qI);c=this.ka();d=c.ca.channelId;var e=Zq(c),f=this.La.contentId,k=this.La.Ri;k=new g.Jm((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 qq("1",new g.kd(300,250),"IFrame",null,k.toString());d.H=c;d.C=!0;c=new Br(d,[],null,!0);N.o?(N.g()&&N.o&&"IFrame"===c.g.L&&(d=c.g.Ud(),b.F={iframeCompanionRenderer:{clickTrackingUrls:Qs(b,"companionClick"),height:d.height,impressionTrackingUrls:Qs(b,"companionImpression"),url:c.g.l,width:d.width}}),this.H&&b.F&&this.ga("youtubeKevlarCompanionShow")):(it(b,c),this.Ad(b))}!lt(b)&&wt(b)&&jga(b,a);
return a};
g.h.qI=function(a){var b=a.g;if("companion-setup-complete"==b.data){a=this.ka();var c=(0,window.encodeURIComponent)(g.E(Rs(a)))+","+(0,window.encodeURIComponent)((Hy(this)||Iy(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";b.width=370;b.height=null!=Rs(a)?210:185}else"pause-video"==b.data&&this.pause()};
g.h.mU=function(a){if(null!=this.Ja&&a.isListed){var b=this.Ja,c=a.title;b.g.L=!g.C(g.E(c));b.g.title=c;null!=b.F&&g.Ud(b.F,b.g.title);Gu(b);b=this.Ja;null!=b.Na?g.Ud(b.Na,""+Ha("Share")):null!=b.L&&g.Ud(b.L,""+Ha("Share"));b=this.Ja;c=a.Ai;null!=c&&(b.g.Ai=c);Gu(b)}this.bb()&&(this.ka().L=a,this.ga("youTubeVideoMetadata"));return a};
g.h.lU=function(a){if(null!=this.Ja&&Ky(this)){var b=this.Ja,c=a.authorName;b.g.Ba=!g.C(g.E(c));b.g.authorName=c;null!=b.C&&(c=""+Ha("by {$userDisplayName}",{userDisplayName:""+b.g.authorName}),g.Ud(b.C,(new vp(c,void 0)).jd()));Gu(b);b=this.Ja;c=a.channelIconThumbnailUrl;b.g.pa=!g.C(g.E(c));if(null!=b.N){var d=g.Fd("img");d.setAttribute("src",c);g.Q(d,"videoAdUiAuthorIconImage");b.N.appendChild(d);null!=b.F&&g.Q(b.F,"videoAdUiTitleWithAuthorIcon");null!=b.C&&g.Q(b.C,"videoAdUiAuthorNameWithAuthorIcon")}Gu(b)}this.bb()&&
(this.ka().ca=a,this.ga("youTubeChannelMetadata"));return a};
g.h.wb=function(a,b,c){gy.Z.wb.call(this,a,b,c);null!=this.Ja&&this.Ja.wb()};g.A(My,g.Gf);My.prototype.g=!1;My.prototype.connect=function(){for(this.g=!0;!g.Ra(this.l);){var a=this.l.shift();this.sendMessage(a.name,a.type,a.data)}};
My.prototype.isConnected=function(){return this.g};
My.prototype.send=function(a,b,c){this.g?this.sendMessage(a,b,c):this.l.push({name:a,type:b,data:c})};
g.A(Ny,g.ef);Ny.prototype.getOrigin=function(){return this.l};
Ny.prototype.toString=function(){return""};g.A(Oy,My);Oy.prototype.sendMessage=function(a,b,c){null!=this.rf&&null!=this.rf.postMessage&&this.rf.postMessage(Nha(this,a,b,c),"*");null!=this.rf&&null==this.rf.postMessage&&Jo(Go.getInstance(),11)};
Oy.prototype.V=function(){this.A.dispose();Oy.Z.V.call(this)};
Oy.prototype.receive=function(a){a=a.g;var b=Py(a.data);if(Qy(this,b)){if(null==this.rf)this.rf=a.source,this.isConnected()||this.connect();else if(this.rf!=a.source)return;Qy(this,b)&&this.dispatchEvent(new Ny(b.name,b.type,b.data||{},b.sid,a.origin))}};g.A(Ry,g.ef);g.A(Sy,Ru);g.h=Sy.prototype;
g.h.init=function(a){Sy.Z.init.call(this,a);this.R=g.vg(this.DJ,this.La.gf,this);this.Sa().U(window,"message",this.ZS);this.Sa().U(this.H,"tick",this.yT);a=N.l?gp():Oo();this.Sa().U(a,G0,this.Nj);if(Wy())this.dispatchEvent(new Ry("createFriendlyIframe",this.B));else{a=tt(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));N.g()&&
(b=Xg(a,"st"),b=Rha(this,b?b+" yt":"yt"),a=Zg(a,"st",b))}a=g.E(a)}else{b=new g.Jm(a);var c=new g.Jm("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.A&&g.Km(c,"https");this.W=b.l;a=Om(c,a||"",void 0).toString()}this.o=g.J("IFRAME",{src:In(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.EH);this.Ea.Df().appendChild(this.o)}};
g.h.Pc=function(a,b,c){Sy.Z.Pc.call(this,a,b,c);this.l=this.ka().g instanceof jq;this.g=a.Xk(!1);Wy()||(this.Sa().U(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.TR),this.Sa().U(this.g,NA,this.wP))};
g.h.stop=function(){this.H.stop();this.Ea.hide();Sy.Z.stop.call(this)};
g.h.Sb=function(){return 1==this.l};
g.h.start=function(){Sy.Z.start.call(this);if(!N.g()){var a={};a.pid=Kx.getInstance().g;a.dn=this.W;a["if"]=Wy();Jo(Go.getInstance(),29,a,!0)}a=this.ka();this.Wb.A=a.I;var b=Tq(a,this.g);this.Wb.g=b;if(b=a.g)this.zg(a),this.Zf(b,F0),this.Qj(b),Zu(this,a);this.g.Eb();this.xa("show_ad");this.Ea.td();av(this);null!=this.o&&(this.o.style.display="block");this.g.setVolume(this.A);this.X=!0;this.l&&this.ga("contentPauseRequested");Zy(this)};
g.h.wb=function(a,b,c){Sy.Z.wb.call(this,a,b,c);Vy(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.C||Vy(this,"pauseAd")};
g.h.resume=function(){this.C&&(Vy(this,"resumeAd"),az(this,"play"))};
g.h.setVolume=function(a){this.A=a;Sy.Z.setVolume.call(this,a);Vy(this,"setAdVolume",{value:a})};
g.h.V=function(){Wy()&&this.dispatchEvent(new Ry("destroyFriendlyIframe",this.B));g.Ld(this.o);this.l&&(!this.L||this.g.ci()||this.g.Zg()||this.g.pause(),this.ga("contentResumeRequested"));this.ga("allAdsCompleted");this.Qc=!1;this.F=[];g.wg(this.R);this.H.dispose();Sy.Z.V.call(this)};
g.h.Mj=function(){};
g.h.EH=function(){if(!Wy()){var a=this.g.Sq();g.Ra(a)&&(a=this.La.Wk);Vy(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}Uy(this)};
var Qha={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=Sy.prototype;
g.h.ZS=function(a){a=a.g;if(Wy()){if(a=Py(a.data),null!=a){try{var b=JSON.parse(a.data)}catch(c){return}null!=b&&b.session==this.B&&$y(this,b)}}else if(a.source==this.o.contentWindow){try{b=JSON.parse(a.data)}catch(c){return}b.session==this.B&&$y(this,b)}};
g.h.DJ=function(){Xy(this,K0,null,(this.La.gf/1E3).toString());this.stop()};
g.h.TR=function(a){switch(a.type){case "timeUpdate":a=this.g.getDuration();var b=this.g.getCurrentTime();Ty(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":az(this,"ended");break;case "loaded":az(this,"loadstart");break;case "mediaLoadTimeout":az(this,"stalled");break;case "play":az(this,"playing");break;default:az(this,a.type)}};
g.h.wP=function(a){a=a.type;"loadedmetadata"==a?(a=this.g.getDuration(),Ty(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):az(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.fb=function(){return!this.C};
g.h.yT=function(){Vy(this,"getAdRemainingTime")};g.A(bz,Ru);g.h=bz.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 Un(Xu,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.bb=function(){return null!=this.g&&null!=this.g.Xe()};
g.h.Tk=function(){return!1};
g.h.Ee=function(){return null};
g.h.Ro=function(){this.bb()&&(this.ads=[this.ka()],this.qc=this.ka())};
g.h.destroy=function(){this.g&&(this.g.destroy(),this.g=null);bz.Z.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 mn&&(a=a.g);bz.Z.Pc.call(this,a,b,c);dz(this,a,b,c)};
g.h.V=function(){this.ga("allAdsCompleted");ez(this);bz.Z.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.wb=function(a,b,c){this.be=a;this.ae=b;this.xc(c);this.Cc()&&this.g.wb(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 gy?b.Jf():null!=a&&a instanceof Sy?(b.td(),b.Jf()):null!=a&&(a instanceof bx||a instanceof Ww)&&b.td());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.stop=function(){this.tb()&&this.tb().Sb()&&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;bz.Z.setVolume.call(this,a);this.Cc()&&this.g.setVolume(a)};
g.h.xc=function(a){bz.Z.xc.call(this,a);this.g&&this.g.xc(a)};
g.h.Be=function(){return this.g?this.g.Be():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.XA=function(a){this.dispatchEvent(a)};
g.h.hB=function(a){this.dispatchEvent(a)};
g.h.Gt=function(a){this.dispatchEvent(a)};
g.h.Bg=function(a){bz.Z.Bg.call(this,a);this.g&&this.g.Bg(a)};
g.h.wi=function(){this.ga("userClose")};
g.h.ti=function(){this.ga("autoClose")};
g.h.Wf=function(a){this.g&&this.g instanceof Ww&&this.g.Wf(a)};
g.h.Cc=function(){return null!=this.g&&this.g.Cc()};g.A(gz,bz);g.h=gz.prototype;g.h.tb=function(){return this.o};
g.h.dispatchEvent=function(a){if(a instanceof on){if("loaded"==a.type&&this.B)return a.stopPropagation(),!1;"loaded"==a.type&&(this.B=!0)}return gz.Z.dispatchEvent.call(this,a)};
g.h.Tk=function(){return null!=ct(this.o)&&ct(this.o).Hf()};
g.h.XA=function(a){if(this.A)this.dispatchEvent(a);else{var b=a.getError()||Un(Ay);a=a.target.tb();bt(a);iz(this,ct(a),Error(b.Dd()))}};
g.h.Gt=function(a){this.A&&(gz.Z.Gt.call(this,a),this.destroy())};
g.h.hB=function(a){this.C||(this.C=!0,this.dispatchEvent(a))};
g.h.JO=function(){this.l&&this.l.dispose();this.A=!0};g.A(jz,Ru);g.h=jz.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 Un(Xu,null,"Current ads manager not available.\n"+Error().stack);};
g.h.bb=function(){return null!=this.g&&null!=this.g.Xe()};
g.h.Tk=function(){return this.o+1<this.l.length};
g.h.Ee=function(){return this.Tk()?this.l[this.o+1].Xe():null};
g.h.Ro=function(){this.bb()&&(this.ads=[this.ka()],this.qc=this.ka())};
g.h.Sa=function(){};
g.h.destroy=function(){this.g&&this.g.destroy();jz.Z.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 mn&&(a=a.g);jz.Z.Pc.call(this,a,b,c);kz(this,a,b,c)};
g.h.V=function(){(0,g.B)(this.l,function(a){a!==this.g&&a.destroy()},this);
nz(this);this.C&&(this.C.dispose(),this.C=null);this.A&&(this.A.destroy(),this.A=null);this.ga("allAdsCompleted");jz.Z.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.wb=function(a,b,c){this.be=a;this.ae=b;this.xc(c);this.g&&this.g.wb(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 gy?b.Jf():null!=a&&a instanceof Sy?(b.td(),b.Jf()):null!=a&&(a instanceof bx||a instanceof Ww)&&b.td());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.Se=function(a){jz.Z.Se.call(this,a);null!=this.g&&this.g.Se(a);null!=this.A&&this.A.Se(a);(0,g.B)(this.l,function(b){b.Se(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;jz.Z.setVolume.call(this,a);this.g&&this.g.setVolume(a)};
g.h.xc=function(a){jz.Z.xc.call(this,a);this.g&&this.g.xc(a)};
g.h.Be=function(){return this.g?this.g.Be():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.IO=function(a){var b=a.getError()||Un(Ay);mz(this,a.target,b)};
g.h.ph=function(){this.D||(this.ga("contentPauseRequested"),this.D=!0)};
g.h.Vf=function(a){lz(this,a.target)};
g.h.xJ=function(){};
g.h.Bg=function(a){(0,g.B)(this.l,function(b){b.Bg(a)},this)};
g.h.wi=function(){this.ga("userClose")};
g.h.ti=function(){this.ga("autoClose")};
g.h.Wf=function(a){this.g&&this.g instanceof Ww&&this.g.Wf(a)};g.A(oz,g.K);g.h=oz.prototype;g.h.Yk=!1;g.h.wr=1E3;g.h.fz=30;g.h.gz=45E3;g.h.pC=15E3;g.h.MD=!1;g.h.tq=function(){var a=pz(this);this.g.appendChild(this.H);qz(this.H);this.play();return a};
g.h.ma=function(){null==this.K&&(this.K=this.tq());return this.K};
g.h.play=function(){null==this.l&&(this.l=g.vg(function(){this.Yk||(this.hide(),this.MD=!0);this.l=null},this.MD?this.pC:this.gz,this))};
g.h.stop=function(){null!=this.l&&(g.wg(this.l),this.l=null)};
g.h.show=function(){g.Nh(this.ma(),1);null!=this.o&&(g.wg(this.o),this.o=null)};
g.h.hide=function(){g.Nh(this.ma(),this.fz/100);null==this.o&&(this.o=g.vg(function(){this.R();this.o=null},400,this))};
g.h.iJ=function(){this.show();this.Yk=!0;this.B=g.vg(function(){this.Yk&&this.stop();this.B=null},this.wr,this)};
g.h.MU=function(){null!=this.B&&(g.wg(this.B),this.B=null);this.Yk&&this.play();this.Yk=!1};
g.h.V=function(){oz.Z.V.call(this);this.stop();g.cf(this.Gf)};g.A(rz,Ru);g.h=rz.prototype;g.h.start=function(){rz.Z.start.call(this);this.Ea.td();this.o=this.Ea.Df();if(null!=this.o){this.xa("show_ad");g.Jd(this.o);var a=this.kw(),b=this.bb()?this.ka().g.zc():a,c;N.l?c=gp():c=Oo();c.Yj(b);this.o.appendChild(a);this.Om();(0,g.B)(this.D,function(a){a()});
Sa(this.D);this.B=!0}};
g.h.init=function(a){rz.Z.init.call(this,a);var b;N.l?b=gp():b=Oo();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.wb=function(a,b,c){rz.Z.wb.call(this,a,b,c);this.Om();this.B&&this.xa("overlay_resize")};
g.h.V=function(){g.cf(this.g);this.Ea=this.g=null;this.B=!1;N.l?gp().Yj(null):Oo().Yj(null);null!=this.o&&(g.Jd(this.o),this.o=null);rz.Z.V.call(this)};
g.h.kw=function(){var a=this.ka().g;if(null==a)throw a=Un(IC),uz(this,a),a;var b=this.ka();tq(a,this.Sa());rq(a,this.yJ);a.C||sq(a,g.Ea(this.mr,b,a));if(N.o&&b.F)this.ga("youtubeKevlarCompanionShow");else try{this.Ad(b)}catch(c){throw uz(this,c),c;}this.zg(b);tz(this,b);this.Zf(a,["start"]);sz(this,a);return this.Dm([a.zc()])};
g.h.ty=function(a,b){return new oz(a[0],b)};
g.h.Dm=function(a){null!=this.g&&this.g.stop();this.g=this.ty(a,(0,g.z)(this.jn,this));a=this.g.ma();g.R(a,"autoalign",this.La.gw);N.g()&&g.R(a,"viewmode-fullscreen","fullscreen"==this.Vc);a.appendChild(this.L);this.Sa().U(a,"click",ff);(this.bb()&&jt(this.ka())||this.La.HD)&&this.Yp(this.g.g);return a};
g.h.Yp=function(a){var b=Bn().g("enable_overlays_wta")?""+Ha("Ad info"):null;b=Gq(Vha,{Uv:b,close:""+Ha("Close")});var c=g.H("ad-info-padding",b),d=this.Sa();c&&this.bb()&&(this.I=new Rt(this.qc.getExtension("why_this_ad"),this.qc.getExtension("mute")),d.U(c,"click",this.mI),d.U(this.K,["why_this_ad_url","why_this_ad_got_it","why_this_ad_settings_url"],this.hT));c=g.Aq(b,"close-padding")?b:g.H("close-padding",b);d.U(c,"click",this.Fn);this.bb()&&728<=this.qc.Bb()&&g.Q(a,"wide-overlay-ad");a.appendChild(b)};
g.h.Om=function(a,b){if(null!=this.g){var c=a?a:0,d=b?b:0,e=g.Lh(this.Ea.Df());var f=N.g()?g.Lh(g.Pd(this.g.g)):g.Lh(this.g.g);if(f.width+c>e.width||f.height+d>e.height)throw c=Un(Bua,null),uz(this,c),d={},this.ads[0].o&&(d.pid=Kx.getInstance().g),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.ka().g.kd(),d.vm=this.Vc,Jo(Go.getInstance(),38,d,!0),this.stop(),c;}};
g.h.yJ=function(a){Wu(this,"click");ff(a)};
g.h.Fn=function(){this.xa("close");this.jn(!0)};
g.h.mI=function(){var a=g.H("html5-video-player");a&&this.I&&Ut(this.I,a,this.K)};
g.h.mr=function(a,b){sq(b,g.y);this.B?this.Ll(a,b):this.D.push((0,g.z)(this.Ll,this,a,b))};
g.h.Ll=function(a){a=Tq(a,this.Da);this.Wb.g=a;Wu(this,"impression");this.xa("creativeview");Wu(this,"start")};
g.h.jn=function(a){null!=this.g&&(this.g.stop(),a?this.ga("userClose"):this.ga("autoClose"))};
g.h.Nj=function(a){this.bb()&&this.ka().I==a.g.queryId&&rz.Z.Nj.call(this,a)};
g.h.hT=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(vz,g.Gf);g.h=vz.prototype;g.h.init=function(a,b,c){wz(this,a,b,c);null==this.I&&(this.I=new g.Zm(this),an(this.I,this.Xa,"adsLoaderSdkAdError",this.FO,this));Dz(this)};
g.h.start=function(){this.R=!0;zz(this);0<this.o.length?Kz(this):("always"==N.A&&(null!=this.X&&this.X.Ad(rB()),N.g()&&5!=this.Ye()&&this.dispatchEvent(new on("companionBackfill",null))),Vn(Tn,this,fr,void 0,void 0),0==this.yc&&this.dispatchEvent("contentResumeRequested"),Lz(this))};
g.h.destroy=function(){null!=this.I&&(this.I.dispose(),this.I=null);Fz(this);Nz(this);N.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.fb=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.Se=function(a){this.N=a;null!=this.g&&this.g.Se(a);null!=this.B&&this.B.Se(a)};
g.h.VA=function(a){N.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=$ha(this,b),g.Ta(this.o,new ln(b,a.isBumper,a.g)),this.H++,this.I.Aa(this.Xa,"adsLoaderSdkAdLoaded",this.VA,!1,this));
Dz(this)};
g.h.FO=function(a){a=a.g;N.A=this.Y;a.Dd();Vn(Tn,this,fr,void 0,void 0);this.H++;if(!xz(this)||2<=this.o.length-this.l)a=Tn(fr),this.dispatchEvent(new nn(a));Dz(this)};
g.h.eR=function(){Fz(this);Nz(this);Lz(this)};
g.h.GO=function(a){a=a.getError().Tb();try{var b={};b.ec=a;Jo(Go.getInstance(),44,b)}catch(c){}this.l++;Kz(this)};
g.h.wi=function(){this.dispatchEvent("userClose")};
g.h.ti=function(){this.dispatchEvent("autoClose")};
g.h.Vf=function(){this.l++;Kz(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.Wf=function(a){this.g instanceof Ww?this.g.Wf(a):Iz(this.g)&&this.g.Wf(a)};
g.h.WA=function(a){switch(a.type){case "impression":try{Jo(Go.getInstance(),44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.Yf()&&Az(this,this.l+1)&&1<Jz(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&&Cz(this,this.l+1)}"vpaidEvent"!=a.type&&bia(this,a.type,a.Lb());this.dispatchEvent(a)};
g.h.Yf=function(){return null===this.A?!1:so(this.A)&&this.N.Vk};Oz.prototype.Ce=function(){return this.g};g.A(Pz,cia);g.A(Sz,lv);Sz.prototype.o=function(){return new mv(this.g,null,eia(this))};g.A(Wz,g.ef);Wz.prototype.setDescription=function(){};g.A(Xz,g.Gf);g.A(Zz,g.Gf);g.h=Zz.prototype;g.h.Eb=function(){this.o||(null==this.A&&(this.A=new g.Zm(this)),this.A.U(this.l,"currentTimeUpdate",this.my,!1),this.A.U(this.l,"contentWrapperError",this.qR,!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.my=function(){if(this.o){var a=this.l.currentTime;if((0,window.isNaN)(a)||0>a)fA(this,"The currentTime is not a valid time value:"+a);else{var b=hia(this,a);this.C?(0,g.B)(b,function(a){cA(this,!0,a)},this):(0,g.B)(iia(b),function(a){cA(this,!0,a)},this);
cA(this,!1,jia(this,a));kia(this,a)}}};
g.h.qR=function(){fA(this,"There was an error while tracking the content:The content current time is invalid.")};g.A(hA,Xz);hA.prototype.start=function(){this.va.start()};
hA.prototype.stop=function(){this.va.stop()};
hA.prototype.V=function(){hA.Z.V.call(this);this.l.dispose();this.va.dispose()};
hA.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=jA.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=kA(this,a);return this.g[a]};
g.h.set=function(a,b){a=kA(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.rb=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.yb=function(){for(var a=[],b=this.Ac(),c=0;c<b;c++)a[c]=c;return a};g.A(lA,Lo);g.h=lA.prototype;g.h.CC=function(a,b,c,d){if(d&&(d=g.Ma(a,function(a){return null!==Jq(a.Oa())}),null!==d))return d;
a=(0,g.Md)(a,function(a){var b=a.g,c=a.Oa();g.C(g.E(c))||"progressive"!=a.o&&"application/x-mpegurl"!=g.E(b).toLowerCase()?a=!1:(b=g.E(b).toLowerCase(),a=g.C(b)||lo(2.3)&&-1!=b.indexOf("application/ogg")?!1:g.jo&&(-1!=b.indexOf("video/mp4")||-1!=b.indexOf("video/3gpp"))||fo()&&(-1!=b.indexOf("application/x-mpegurl")||-1!=b.indexOf("application/vnd.apple.mpegurl"))?!0:!g.C(this.g.canPlayType(b)));return a},this);
return iA(a,b,c)};
g.h.Sq=function(){return(0,g.Md)(g.Qb($u),function(a){return!g.C(this.g.canPlayType(a))},this)};
g.h.To=function(a){this.W=0<a.timeout?a.timeout:15E3};
g.h.load=function(a){nA(this);a&&(this.g.src=a);this.g.load()};
g.h.unload=function(){nA(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.xH,this.W,this))};
g.h.pause=function(){this.L=!0;this.g.pause();mA(this)};
g.h.ci=function(){return this.g.paused?fo()||g.GI?this.g.currentTime<this.g.duration:!0:!1};
g.h.isMuted=function(){return this.g.muted};
g.h.Br=function(){eo()&&this.g.webkitDisplayingFullscreen&&this.g.webkitExitFullscreen()};
g.h.sj=function(){return ip(this.g)};
g.h.yk=function(a){var b;a:{for(b=this.R.rb();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.Bx=function(){return pA(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.vy=function(){return this.g.seeking};
g.h.V=function(){this.Sc();lA.Z.V.call(this)};
g.h.getError=function(){return null};
g.h.Eb=function(){this.Sc();this.l=new g.Zm(this);this.l.U(this.g,NA,this.oR);this.l.U(this.g,"canplay",this.fP);this.l.U(this.g,"ended",this.GJ);this.l.U(this.g,"webkitbeginfullscreen",this.Er);this.l.U(this.g,"webkitendfullscreen",this.zy);this.l.U(this.g,"pause",this.JJ);this.l.U(this.g,"playing",this.xR);this.l.U(this.g,"timeupdate",this.KJ);this.l.U(this.g,"volumechange",this.LJ);this.l.U(this.g,"error",this.yy);this.l.U(this.g,uM||fo()&&!io(8)?"loadeddata":"canplay",this.IJ);this.C=new Ct;this.l.U(this.C,
"click",this.FJ);this.C.Eb(this.g);this.F=new g.ug(1E3);this.l.U(this.F,"tick",this.HJ);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);nA(this)};
g.h.oR=function(a){this.dispatchEvent(a.type)};
g.h.fP=function(){var a;if(a=g.Dk)a=g.Ib,a=!(a&&(ub(a,"SMART-TV")||ub(a,"SmartTV")));a&&!this.N&&(this.tj(.001),this.N=!0)};
g.h.IJ=function(){this.Qc||(this.Qc=!0,this.dispatchEvent("loaded"))};
g.h.xR=function(a){this.dispatchEvent("play");fo()||uM||oA(this,a)};
g.h.KJ=function(a){if(!this.A&&(fo()||uM)){if(0>=this.getCurrentTime())return;if(uM&&this.Zg()&&1==this.getDuration()){this.yy(a);return}oA(this,a)}if(fo()||po()){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.LJ=function(){this.dispatchEvent("volumeChange")};
g.h.JJ=function(){if(this.A&&fo()&&!this.L&&(2>pA(this)-this.g.currentTime||this.D)){this.B=new g.ug(250);this.l.U(this.B,"tick",this.aP);this.B.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.GJ=function(){var a=!0;if(fo()||po())a=this.o>=this.g.duration-1.5;!this.D&&a&&this.dispatchEvent("end")};
g.h.Er=function(){this.dispatchEvent("beginFullscreen")};
g.h.zy=function(){this.dispatchEvent("endFullscreen")};
g.h.yy=function(){mA(this);this.dispatchEvent("error")};
g.h.FJ=function(){this.dispatchEvent("click")};
g.h.HJ=function(){var a=this.Yg(),b=this.sj();if(a.width!=this.K.width||a.height!=this.K.height)!this.I&&b?this.Er():this.I&&!b&&this.zy(),this.K=a,this.I=b};
g.h.xH=function(){if(!this.A){try{Jo(Go.getInstance(),16)}catch(a){}nA(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.aP=function(){if(this.Zg()||!this.ci())g.cf(this.B);else{var a=this.g.duration-this.g.currentTime,b=pA(this)-this.g.currentTime;0<b&&(2<=b||2>a)&&(g.cf(this.B),this.play())}};g.A(rA,g.Gf);var Qua=new g.Dm;qA.prototype.start=function(a){return this.g[a].startTime};
qA.prototype.end=function(a){return this.g[a].endTime};
g.h=rA.prototype;g.h.Nn=0;g.h.currentTime=0;g.h.duration=window.NaN;g.h.paused=!0;g.h.Ey=!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.QJ=1;g.h.playbackRate=0;g.h.Cg=null;g.h.Wn=0;g.h.xT=4;g.h.rk=null;g.h.On=null;
g.h.play=function(){this.Ey&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.Nn=this.xT,2>=this.Nn?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.oD,this));this.Wn=(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.Nn=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 ria(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.QJ};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.oD();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&&Qua.set(a,b)};
g.h.getAttribute=function(a){return Qua.get(a)};
g.h.oD=function(){var a=(0,g.F)()-this.Wn,b=this.currentTime+a/1E3;this.Wn+=a;2<this.Nn&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.Ey=this.paused=!0,this.Cg.stop(),this.dispatchEvent("ended"))};
g.h.V=function(){this.Cg&&this.Cg.dispose();this.g.dispose()};
g.h.SS=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.On&&(this.On.innerText=b);c&&this.rk&&(this.rk.style.backgroundColor=c)};g.A(sA,g.K);sA.prototype.initialize=function(){this.l&&ao()&&this.l.load()};
sA.prototype.V=function(){g.Ld(this.g);sA.Z.V.call(this)};
sA.prototype.show=function(){var a=this.g;null!=a&&(a.style.display="block")};
sA.prototype.hide=function(){var a=this.g;null!=a&&(a.style.display="none")};g.A(tA,g.K);tA.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":uA(this,a);wA(this);this.sendMessage({event:"ack"});break;case "ack":uA(this,a);wA(this);break;case "command":a=b.func,a in this.g&&this.g[a].apply(null,b.args)}}};
tA.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){}}};
tA.prototype.V=function(){window.removeEventListener("message",this.B);tA.Z.V.call(this)};g.A(vA,tA);vA.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(xA,g.K);xA.prototype.F=function(a){a=a.type;var b=new sia;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)};
xA.prototype.C=function(a){this.B.add(a);this.o.U(this.g,a,this.D)};
xA.prototype.H=function(a){this.B.remove(a);this.o.Aa(this.g,a)};
xA.prototype.A=function(a,b){this.g[a]=b};g.A(AA,Lo);var Rua=["video/mp4","video/webm"],Sua={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},zA=[],yA=!1;g.h=AA.prototype;g.h.CC=function(a,b,c){var d=g.Ma(a,function(a){return null!==Jq(a.Oa())});
if(null!==d)return d;a=(0,g.Md)(a,function(a){a=g.E(a.g);return this.o?this.g.canPlayType(a):g.Qa(Rua,a)},this);
g.Ra(c)||(d=iA(a,b,c));return null!=d?d:iA(a,b,[])};
g.h.To=function(a){this.l=a};
g.h.load=function(a,b){CA(this,a,b)};
g.h.unload=function(){CA(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.C(g.E(this.Y))){if(!this.A){EA(this);var a=15E3;null!=this.l&&0<this.l.timeout&&(a=this.l.timeout);this.za=g.vg(this.rR,a,this)}this.o?(this.aa=!1,!this.A&&this.l&&this.l.A?this.g.loadVideoByPlayerVars(this.la):this.g.playVideo()):this.aa=!0}};
g.h.pause=function(){this.o&&this.A&&this.g.pauseVideo()};
g.h.ci=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.Br=function(){};
g.h.sj=function(){var a=N.l?N.F:window.document.getElementById(this.N);return a?ip(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.Bx=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.Sq=function(){return g.Qb($u)};
g.h.Zg=function(){return this.o?0==this.g.getPlayerState(this.B):!1};
g.h.Yg=function(){var a=N.l?N.F:window.document.getElementById(this.N);return a?new g.kd(a.offsetWidth,a.offsetHeight):new g.kd(0,0)};
g.h.vy=function(){return!1};
g.h.uy=function(){return 1==this.pa};
g.h.fb=function(){return this.o?1==this.g.getPlayerState(this.B):!1};
g.h.NJ=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.yB,this);this.L=(0,g.z)(this.Gr,this);this.oa=(0,g.z)(this.zB,this);this.Ca=(0,g.z)(this.oS,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.oa),this.g.addEventListener("onSharePanelOpened",this.Ca));this.W=new g.ug(1E3);this.R.U(this.W,"tick",this.NJ);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.oa),this.g.removeEventListener("onSharePanelOpened",this.Ca));null!=this.W&&this.W.dispose()};
g.h.DH=function(){var a=g.cc(Sua);N.B&&(a.ps="gvn",a.remoteve=Ho.X,a.remotevewin="discover");a={playerVars:a,events:{cardstatechange:(0,g.z)(this.MJ,this),onError:(0,g.z)(this.uR,this),onReady:(0,g.z)(this.yB,this),onAdStateChange:(0,g.z)(this.Gr,this),onStateChange:(0,g.z)(this.Gr,this),onVolumeChange:(0,g.z)(this.zB,this)}};var b=g.x("YT");this.g=null!=b&&null!=b.Player?new b.Player(this.N,a):null};
g.h.uR=function(){this.dispatchEvent("error")};
g.h.yB=function(){this.o=!0;this.H&&this.Ar(this.H.videoId,this.H.Jh,this.H.ek);-1!=this.D&&(this.setVolume(this.D),this.D=-1);null!=this.K&&(BA(this,this.K,this.X),this.X=this.K=null);-1!=this.I&&(this.tj(this.I),this.I=-1);this.aa&&this.play()};
g.h.MJ=function(a){this.pa=a.data;this.dispatchEvent("cardsStateChange")};
g.h.Gr=function(a){switch(a.data){case 0:this.A?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.A||(EA(this),this.A=!0,this.F=0,this.dispatchEvent("start"));this.dispatchEvent("play");DA(this);this.C=new g.ug(100);this.R.U(this.C,"tick",this.kB);this.C.start();break;case 2:this.dispatchEvent("pause"),DA(this)}};
g.h.zB=function(){this.dispatchEvent("volumeChange")};
g.h.oS=function(){this.dispatchEvent("shareClicked")};
g.h.kB=function(){var a=Bn();if(a.g("seek_back_for_all")||a.g("seek_back_for_all_no_leanback")&&!rl()||a.g("seek_back_for_safari")&&AT&&go(Fua,10)&&ub(g.Ib,"Safari")||(a.g("mweb_should_disable_instream_seek_back")&&ao()?0:tM||po())){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.rR=function(){this.dispatchEvent("mediaLoadTimeout")};
g.h.Ar=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.Be=function(){if(!this.o)return null;var a=this.g.getVideoData();return a?a.cpn:null};
g.h.gu=function(a){this.o&&Jq(this.getVideoUrl())&&this.g.sendVideoStatsEngageEvent(a)};
g.h.wy=function(a){this.o&&this.g.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.Dr=function(){this.o&&this.g.showControls()};
g.h.Cr=function(){this.o&&this.g.hideControls()};
g.h.V=function(){DA(this);EA(this);this.Sc();this.o=!1;this.R.dispose();this.I=-1;this.X=null;this.aa=!1;this.K=null;this.D=-1;this.ca=this.g=this.l=null;this.A=!1;this.Y="";AA.Z.V.call(this)};
g.va("onYouTubeIframeAPIReady",function(){yA=!0;(0,g.B)(zA,function(a){a()});
Sa(zA)},window);g.A(FA,g.Gf);FA.prototype.send=function(a){var b=a.g;this.g.hasOwnProperty(b)&&this.g[b].send(a.type,a.Vd,a.Qf)};
FA.prototype.V=function(){this.l.dispose();for(var a in this.g)g.cf(this.g[a]);FA.Z.V.call(this)};
FA.prototype.B=function(a){a=a.g;var b=Py(a.data);if(null!=b){var c=b.channel;if(this.o&&!this.g.hasOwnProperty(c)){var d=b.sid;HA(this,c,d,a.source);this.dispatchEvent(new GA(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.A(GA,Ny);g.A(JA,g.Zm);
JA.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)HA(this.g,a.g,a.oy,Cd().parent),null!=this.g&&this.g.send(a);else if(c=a.Qf,null!=c&&g.t(c.scope)){b=c.scope;c=c.args;var d;if("proxy"==b)c=a.Vd,"isGptPresent"==c?d=IA():"isConsolePresent"==c&&(d=null!=KA());else if(IA())if("pubads"==b||"companionAds"==b){d=a.Vd;var e=Cd().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=KA(),null!=f&&(e=f[a.Vd],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){d=a.Vd;f=Cd();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.Qf.returnValue=d,this.o.send(a))}};
JA.prototype.B=function(a){this.o.send(a)};var LA={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 LA.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)}};
LA.i=LA.d;LA.u=LA.d;g.A(OA,g.Gf);g.h=OA.prototype;g.h.V=function(){this.l.dispose();null!==this.A&&(this.A.dispose(),this.A=null);g.Ak(this.F.Md(!1),function(a){a.dispose()});
this.F.clear();g.Ld(this.o);OA.Z.V.call(this)};
g.h.yI=function(a){var b=a.Qf,c=g.Dh(this.o),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.Vd,!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.Dk||fo()||0==window.document.webkitIsFullScreen)this.o.blur(),window.focus();this.o.dispatchEvent(d)};
g.h.RI=function(a){var b=a.Qf,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:PA(this,b.touches),targetTouches:PA(this,b.targetTouches),changedTouches:PA(this,b.changedTouches)};var d=new window.TouchEvent(a.Vd,b);this.o.dispatchEvent(d)}else d=window.document.createEvent("TouchEvent"),d.initTouchEvent(a.Vd,!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,PA(this,b.touches),PA(this,b.targetTouches),PA(this,b.changedTouches),b.scale,b.rotation),this.o.dispatchEvent(d)};
g.h.NI=function(a){if(null!=this.g){var b=a.Qf;switch(a.Vd){case "startTracking":this.g.Eb();break;case "stopTracking":this.g.Sc();break;case "exitFullscreen":this.g.Br();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.To(QA(b));break;case "setVolume":this.g.setVolume(b.volume)}}};
g.h.FI=function(a){if(null!=this.B){var b=a.Qf;switch(a.Vd){case "startTracking":this.B.Eb();break;case "stopTracking":this.B.Sc();break;case "setPlaybackOptions":this.B.To(QA(b));break;case "load":this.B.load(b.videoUrl,b.mimeType)}}};
g.h.Xf=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.tI=function(a){switch(a.Vd){case "showVideo":null!=this.A?this.A.Sc():(this.A=new Ct,this.l.U(this.A,"click",this.PS));this.A.Eb(SA(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(MA),this.Xf);this.l.Aa(this.g,NA,this.Xf);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 lA){b=a.I;var c=a.l.g;g.en(b.o);b.g=c;(0,g.B)(b.B.rb(),b.C,b)}null!=a.D&&(b=a.D,a=a.l,null!=b.g&&(b.l.Aa(b.g,g.Qb(MA),b.Xf),b.l.Aa(b.g,NA,b.Xf)),b.g=a,b.l.U(b.g,g.Qb(MA),b.Xf),b.l.U(b.g,NA,b.Xf))}this.g=this.C.l;this.B=this.C.B;this.l.U(this.g,g.Qb(MA),this.Xf);this.l.U(this.g,NA,this.Xf)}}};
g.h.PS=function(){this.D.send("displayContainer","videoClick")};
g.h.ZH=function(){g.Ak(this.F.Md(!1),function(a){a.rf=Td(this.o);a.connect()},this);
this.H=!0};RA.prototype.initialize=function(){null!=this.g&&this.g.initialize();null!=this.A&&this.A.initialize()};
RA.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.Ld(this.o)};
RA.prototype.hide=function(){null!=this.g&&this.g.hide()};
RA.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=TA.prototype;g.h.Kq=function(){return SA(this.g)};
g.h.Mk=function(){return this.g.F};
g.h.Df=function(){return this.g.F};
g.h.Xk=function(){var a=this.g.l;return null!=a?a:new AA};
g.h.Jf=function(){var a=this.g;null!=a.g&&a.g.show()};
g.h.td=function(){};
g.h.Cq=function(){return null!=this.g.C};
g.h.rj=function(){return this.g.H};
g.h.xr=function(){return!1};
g.h.Ln=function(){return this.g.K};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.hide=function(){};
g.h.Jn=function(){return null};
g.h.Kn=function(){};g.A(UA,g.ef);g.h=WA.prototype;
g.h.clone=function(){var a=new WA;"auto"==this.Ji?a.Ji="auto":"click"==this.Ji&&(a.Ji="click");a.g=this.g;a.Gh=g.cc(this.Gh);a.l=this.l;a.Im=this.Im;a.B=this.B;a.A=this.A?g.Za(this.A):null;a.contentTitle=this.contentTitle;a.fc=g.cc(this.fc);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.Am=this.Am;a.cf=this.cf;a.bf=this.bf;a.Te=this.Te;a.ep=this.ep;a.Gu=this.Gu;a.qu=this.qu;a.D=this.D;a.o=this.o;a.Fp=this.Fp;a.In=this.In;a.afcRmFallback=
this.afcRmFallback;a.I=this.I;a.H=this.H;a.aj=this.aj;a.Ep=this.Ep;a.Xy=this.Xy;a.Ky=this.Ky;a.Qp=this.Qp?this.Qp.clone():null;return a};
g.h.Gh=null;g.h.Im=null;g.h.Am=null;g.h.fc=null;g.h.Ji="unknown";g.h.Xy=0;g.h.qj=0;g.h.pj=0;g.h.cf=0;g.h.bf=0;g.h.aj=!1;g.h.Te=null;g.h.ep=!1;g.h.Gu=!1;g.h.qu=!0;g.h.Ep=new vn;g.h.Fp=0;g.h.ax=!0;g.h.In=null;g.h.afcRmFallback=!1;g.h.Ky=!0;g.h.Qp=null;g.A(XA,g.Gf);g.A(YA,g.ef);YA.prototype.getError=function(){return this.l};g.A($A,g.Gf);$A.prototype.l=null;$A.prototype.Mb=function(){return this.A};
$A.prototype.V=function(){delete this.g;aB(this);g.Bf(this.l);$A.Z.V.call(this)};
$A.prototype.B=function(){ZA(this)&&(aB(this),g.Bf(this.l),this.l=null,this.A=!0,this.dispatchEvent("ifload"))};g.A(bB,XA);g.wa(bB);g.h=bB.prototype;g.h.V=function(){this.l&&this.l.dispose();bB.Z.V.call(this)};
g.h.initialize=function(){if(!this.ge){var a=g.de(new md);try{cB([a,a.top]);var b=!0}catch(c){b=!1}b?oB(this):(this.ge=!0,this.o="not_available")}};
g.h.Ad=function(a){try{this.g.googleSetCompanionAdContents((0,g.G)(a,this.gH,this)),this.Wj()}catch(b){this.dispatchEvent(new YA("companion_display_error",b))}};
g.h.AB=function(){0<this.A&&(0,g.F)()>=this.A?(this.ge=!0,kB(this),nB(this)):oB(this)};
g.h.fU=function(a){var b=(0,g.G)(a.adSizes,function(a){return new g.kd(a.adWidth,a.adHeight)});
return new np(a.slotId,b)};
g.h.gH=function(a){var b={};b.slotId=a.H;b.adContent=a.jd();b.adWidth=a.o;b.adHeight=a.g;b.friendlyIframeRendering=a.l;b.onAdContentSet=(0,g.z)(this.AP,this,a);return b};
g.h.AP=function(a,b){if(null!=a.A){var c=g.Pd(b);c||(c=g.Fd("div"),b.appendChild(c));var d=a.zc();c.appendChild(d);pB(this,a,c)}else c=a.l?b.querySelector("iframe"):(c=g.Pd(b))?g.Pd(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&wia(this,c,a)};
g.h.zP=function(a){this.dispatchEvent(new YA("companion_click",null,a))};
g.h.Wj=function(a){Qn(this.impressionUrls,a)};g.A(qB,g.Gf);qB.prototype.ew=function(){return!0};
qB.prototype.Th=function(){return null};g.A(sB,qB);g.h=sB.prototype;g.h.V=function(){this.destroy();sB.Z.V.call(this)};
g.h.destroy=function(){null!=this.B&&this.B.dispose();this.A=null;(0,g.B)(this.o,function(a){pp(a)},this);
this.l=null};
g.h.Ad=function(a){g.cf(this.l);this.l=new g.Gf;this.A=a;this.C=!0;this.D?uB(this):(this.C=wB(vB(a),[]),this.C||(this.l=this.A=null));return this.l};
g.h.ew=function(){return this.C};
g.h.kS=function(){null!=this.F&&(this.F.stop(),this.F.dispose(),this.F=null);if(null!=this.g){var a=dB(this.g);null!=a&&(this.o=a)}this.D=!0;null!=this.A&&uB(this);this.dispatchEvent(new g.ef("initialized"))};
g.h.BP=function(a){tB(this,a.getError())};
g.h.xP=function(a){if(null!=a.g){var b=a.g;"companion_slot_init"==a.type?(Qn(b.B),Of(function(){null!=this.l&&this.l.dispatchEvent(new qp("companion_impression",b))},this)):"companion_click"==a.type&&(Qn(b.C),null!=this.l&&this.l.dispatchEvent(new qp("companion_click",b)))}};
g.h.Th=function(){return this.g};g.A(xB,lv);
xB.prototype.o=function(){if(null===this.g){for(var a=this.A,b=new Qz,c=g.Nd(g.Pd(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,D=!1,I=g.Nd(k),S=0,Z=I.length;S<Z;S++){var V=I[S];switch(V.nodeName){case "vmap:AdSource":if(!n&&(n=Dia(V),!n)){m=ls(V,"vmap:AdTagURI");var Fa="";m.length&&(Fa=g.E(ns(m[0])));if(g.C(Fa))throw Tn(Eua,null,V.parentNode.nodeName,V.nodeName);m=Fa}break;case "vmap:Extensions":u=ls(V,"vmap:Extension"),
D=g.Ma(u,g.Ea(yB,"type","bumper")),null!=D&&(q=!0,r=ms(D,"suppress_bumper"),r=null!=r?"true"==r:!0),D=Eia(u),u=D.breakType,D=D.an}}I=null;if(n){I=n;n=null;try{n=ks(I)}catch(pa){n=gs(I)}I=this.l.clone();I.l=n;I.g=""}else g.C(m)||(n=m,I=this.l.clone(),I.l="",I.g=n);I&&(N.g()&&(n=I,k=ms(k,"timeOffset"),S=qs(k),k="start"==k||0==S?0:"end"==k||-1==S?-1:1E3*S,n.Fp=k),k=new Pz(I),k.isBumper=q,k.g=q&&!r,k.o=u,k.an=D,g.Ta(l,k));f=Bia(f);q=0;for(r=f.length;q<r;q++)if(u=f[q],k=qs(u),0<q&&(l=Cia(this,l)),"start"==
u||0==k)Rz(b,l,0);else if("end"==u)Rz(b,l,-1);else{if(-1==k)throw Tn(Uz,null,"timeOffset",g.E(u));Rz(b,l,k)}}}if(0==b.g.yb().length)throw Tn(fr);this.g=new mv(a,null,b)}return this.g};CB.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()};
CB.prototype.C=function(){var a=1;qo()&&(a+=4);if(!N.g()){var b=15360;N.Y&&(b+=8);a+=b}return a};var cC={l2:"ultrahigh",UY:"high",YF:"medium"},Pia={kW:1E3,lW:1001,mW:1002,nW:1003,oW:1004,pW:1005,qW:1006},Qia={UF:1,AF:2},Ria={eF:"content",V0:"site",W0:"site_content"};g.h=IB.prototype;g.h.xm="high";g.h.Hr=!1;g.h.Rp=1;g.h.Sp=null;g.h.adType="video";g.h.adBlock=1;g.h.ym=null;g.h.Ir=null;g.h.Up=!0;g.h.Vp=null;g.h.wq=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.By=null;g.h.Ay=null;g.h.Zn=1E5;g.h.ao=null;g.h.Dy=null;
g.h.Cy=null;g.h.ws=0;g.h.Pj=null;g.h.Fo=null;g.h.Qo=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.Bo=null;g.h.url=null;g.h.Mn=null;g.h.Ku=null;g.h.Jr=null;g.h.Qu=null;g.h.Nu=null;g.h.Ou=null;g.h.Pu=null;g.h.cq=null;g.h.Ju=null;g.h.Dp=null;g.h.OJ=null;g.h.PJ=null;g.h.contentTitle=null;var Nia={XW:"bumpervideo",BF:"flash",NF:"image",b1:"skippablevideo",j1:"standardvideo",n1:"staticimage",TEXT:"text",VIDEO:"video"},VB=["flash","image","staticimage"],Oia=[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(dC,CB);var Sia=["bumpervideo","skippablevideo","standardvideo","video"];dC.prototype.H={rW:"allow",vF:"exclude",v0:"require"};dC.prototype.C=function(){var a=dC.Z.C.call(this);N.g()&&this.g.Qo&&(a|=this.g.Qo);return a};
dC.prototype.A=function(a){var b=new g.Jm(this.l.g),c=new g.Jm("//"+b.l+b.o);b=a.yb();(0,g.B)(b,function(b){g.Sm(c,b,a.get(b))});
g.Km(c,"https");return c};
dC.prototype.B=function(){var a=new g.Dm;a.set("sdkv",HB(this));a.set("sdki",this.C().toString(16));a.set("video_product_type",null!=this.g.Pj?N.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);N.g()&&!g.C(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.Te&&a.set("adk",this.l.Te);a.set("num_ads",eC(this));a.set("channel",Uia(this));a.set("output","xml_vast3");
this.g.Hr&&a.set("adtest","on");this.g.ym&&a.set("adsid",this.g.ym);$o&&a.set("flash",OB);UB("alternate_ad_url",this.g.Vp,a);UB("cpm",this.g.wq,a);JB(a,this.l);N.g()||g.Vb(cC,this.g.xm)&&a.set("adsafe",this.g.xm);this.g.host&&(a.set("host",this.g.host),UB("ht_id",this.g.hostTierId,a),null!=this.g.o&&UB("h_ch",this.g.o.join("+"),a));UB("hl",this.g.language,a);UB("cust_age",this.g.Ir,a);UB("cust_gender",this.g.gender,a);-1!=this.g.tagForChildDirectedTreatment&&UB("tfcd",this.g.tagForChildDirectedTreatment,
a);null!=this.g.Bo&&UB("pucrd",this.g.Bo,a);UB("slotname",this.g.Sp,a);if(PB(this.g)&&(a.set("ea","0"),null!=this.l.cf&&null!=this.l.bf)){var b=QB(this.g,this.l.cf,this.l.bf,this.l.aj);a.set("image_size",b);g.C(b)&&(this.g.g=XB(this.g.g,this.g.adType,!0),this.g.adType=this.g.g.join("_"))}a.set("ad_type",this.g.adType);b=En(An());g.C(g.E(b))||a.set("eid",b);LB(a);b=this.F;var c=this.g,d=this.g.zk;if(null!=d){var e=Eo(b);c=null!=c.Dp?c.Dp:uo(e,d);1!=c&&a.set("ad_block",c);null==b.L&&(b.L=new Bo);c=
b.L;var f=d!=b.N;(e=0==e.g%100||f)||(e=36E5<(null===c.g?0:(new g.yo).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.Rp;a.set("videoad_start_delay",null!=b?b:1);FB(this,a);GB(this,a);DB(this,a);Tia(this)&&a.set("video_format",null!=this.g.Mn&&N.g()?this.g.Mn:g.GI&&g.$n(6)||g.JL&&g.$n(4)||lo(2.3)?43:18);a.set("t_pyv",null!=this.g.Fo?this.g.Fo:this.H.vF);UB("min_ad_duration",this.g.ws,a);0<this.g.Zn&&a.set("max_ad_duration",fC(this.g.Zn,
eC(this)));0<this.g.ao&&a.set("sdmax",fC(this.g.ao,eC(this)));RB(a,this.I);N.g()&&(b=Jq(this.g.zk),null!=b&&a.set("video_doc_id","yt_"+b));UB("description_url",this.g.zk,a);N.g()&&(UB("lact",MB(this.l),a),UB("loeid",this.g.Jr,a),UB("lsv",this.g.isLiveStream,a),this.g.Up||UB("scs","false",a),UB("targeting",this.g.targeting,a),UB("video_cpm",this.g.Ku,a),UB("yt_pt",this.g.Qu,a),UB("ytdevice",this.g.Nu,a),UB("ytdevicever",this.g.Ou,a),UB("yt_vis",NB(this.l),a),UB("dbp",this.g.Pu,a),UB("avo",this.g.cq,
a),UB("v_p",this.g.Ju,a));null!=a.get("ms")||UB("ms",this.g.A,a);UB("vid_kw",this.l.A?this.l.A.join(","):null,a);UB("vid_d",this.l.B,a);UB("vid_t",this.l.contentTitle,a);EB(a);SB(this.l,a,!1);null!=this.l.Gh&&UB("loc",this.l.Gh.page_location,a);return a};g.A(gC,CB);gC.prototype.A=function(a){var b=new g.Jm(this.l.g);(0,g.B)(a.yb(),function(c){g.C(a.get(c))?b.g.remove(c):g.Sm(b,c,a.get(c))});
g.Km(b,"https");return b};
gC.prototype.B=function(){var a=new g.Dm;a.set("sdkv",HB(this));GB(this,a);DB(this,a);EB(a);null!=this.l.Te&&a.set("adk",this.l.Te);return a};g.A(hC,CB);hC.prototype.B=function(){return new g.Dm};
hC.prototype.A=function(){var a=new qr(this.l.g),b=HB(this);b&&sr(a,"dc_sdkv",[b]);(b=this.C().toString(16))&&sr(a,"dc_sdki",[b]);(b=this.o.I)&&sr(a,"dc_submodel",[b]);null!=this.l.Te&&sr(a,"dc_adk",[this.l.Te]);b=En(An());g.C(g.E(b))||sr(a,"dc_eid",[b]);b=N.X;null!=b&&sr(a,"dc_rfl",[Ei(b)]);b=new g.Dm;FB(this,b);GB(this,b);DB(this,b);EB(b);Fm(b,"js")&&sr(a,"dc_js",[b.get("js")]);Fm(b,"msid")&&sr(a,"dc_msid",[b.get("msid")]);Fm(b,"frm")&&sr(a,"dc_frm",[b.get("frm")]);Fm(b,"osd")&&sr(a,"dc_osd",[b.get("osd")]);
Fm(b,"sdr")&&sr(a,"dc_sdr",[b.get("sdr")]);sr(a,"dcmt",["text/xml"]);Fm(b,"vpa")&&sr(a,"vpa",[b.get("vpa")]);Fm(b,"mpt")&&sr(a,"mpt",[b.get("mpt")]);Fm(b,"mpv")&&sr(a,"mpv",[b.get("mpv")]);b=rr(a,"dc_output");null!=b&&(g.Qa(b,"vast")||g.Qa(b,"xml_vast2"))&&sr(a,"dc_output",["xml_vast3"]);g.Km(a,"https");return a};g.A(iC,CB);iC.prototype.A=function(a){a=new g.Jm(a.get("adTagUrl"));g.Km(a,"https");return a};
iC.prototype.D=function(){var a=g.E(this.B().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
iC.prototype.B=function(){var a=new g.Dm;a.set("adTagUrl",this.l.g);a.set("adsResponse",this.l.l);return a};g.A(jC,CB);jC.prototype.A=function(a){return new g.Jm(a.get("adTagUrl"))};
jC.prototype.B=function(){var a=new g.Dm;a.set("adTagUrl",this.l.g);a.set("adsResponse",this.l.l);return a};g.A(kC,CB);kC.prototype.A=function(a){var b=new g.Jm(this.l.g);(0,g.B)(a.yb(),function(c){g.C(a.get(c))?b.g.remove(c):g.Sm(b,c,a.get(c))});
g.Km(b,"https");return b};
kC.prototype.B=function(){var a=new g.Dm,b=En(An());g.C(g.E(b))||a.set("eid",b);a.set("sdkv",HB(this));a.set("sdki",this.C().toString(16));a.set("correlator",this.o.A);a.set("scor",this.o.g);null!=this.l.Te&&a.set("adk",this.l.Te);FB(this,a);GB(this,a);DB(this,a);EB(a);b=(new g.Jm(this.l.g)).g;var c=new IB;c.l=aC(c.l,b.get("overlay"));a.set("afvsz",QB(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:Jn(this.l.location)?b=this.l.location:Jn(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||N.g()||(b=Via(b),a.set("ciu_szs",b));b=(new g.Jm(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(lC,kC);lC.prototype.A=function(a){a=lC.Z.A.call(this,a);this.H||Xia(this,a);return a};g.A(mC,hC);mC.prototype.A=function(a){a=mC.Z.A.call(this,a);this.H||Zia(this,a);return a};g.A(nC,CB);var aja="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(" ");
nC.prototype.A=function(){var a=this.l.g.match(/\[(?:BISCOTTI_|AN)ID\]/g);if(!a)return oC(this);var b=g.Qa(a,"[BISCOTTI_ID]");a=g.Qa(a,"[ANID]");b=b?this.l.Im():"";a=a?this.l.Am():"";return b instanceof Error?Tn(J0,b):a instanceof Error?Tn(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 oC(this,a[0],a[1])},function(a){throw Tn(J0,a);
},this)):oC(this,b,a)};
nC.prototype.B=function(){return new g.Dm};pC.prototype.fetch=function(a,b,c){null!=a.l&&(g.v(a.l)&&!g.C(a.l)||a.l instanceof window.Document)?dja(this,a,b,c):yr(a.g)&&null!=this.g&&!this.g.F?this.g.start(a,(0,g.z)(function(){rC(this,a,b,c)},this)):rC(this,a,b,c)};
pC.prototype.l=function(a,b,c,d){var e=cja(a,this.A).D();Yf(e)?e.then(function(e){tC(this,e,a,b,c,d)},function(a){a instanceof un?c(a):c(Tn(sC,a))},this):e instanceof un?c(e):e instanceof Error?c(Tn(sC,e)):tC(this,e,a,b,c,d)};uC.prototype.reset=function(a){this.g=a+(0,g.F)()};vC.prototype.start=function(a,b){this.B=a;this.D=b;lja(this);this.C.D?this.H():dn(this.l,this.C,"initialized",this.H,this)};
vC.prototype.H=function(){var a=this.C.Th();var b=a.ge&&"retrieved"==a.o?a.C:void 0;a=uia(a);null!=b&&(this.A.A=b);null!=a&&(this.A.F=a);kja(this)};g.h=g.xC.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=Wta(b,a);0<=c?(g.Ua(b,c),b=!0):b=!1;return b||g.Wa(this.l,a)};
g.h.rb=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(EC,g.Gf);g.A(JC,oz);g.h=JC.prototype;g.h.tq=function(){var a=pz(this);g.Q(a,"ima-container-rotator");this.D=g.J("DIV");this.g.appendChild(this.D);(0,g.B)(this.I,function(a,c){g.Q(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.Gf.U(e,"click",function(a){this.Vj(a.target)});
this.N.set(e.id,a);this.C.appendChild(e)},this);
this.Vj(g.Pd(this.C));this.play();return a};
g.h.play=function(){null==this.va&&(this.va=new g.ug(this.L),this.Gf.U(this.va,"tick",this.ST));JC.Z.play.call(this);this.va.start()};
g.h.stop=function(){null!=this.va&&this.va.stop();JC.Z.stop.call(this)};
g.h.ST=function(){var a=this.A;this.Vj((g.t(a.nextElementSibling)?a.nextElementSibling:Od(a.nextSibling))||g.Pd(this.A.parentNode))};
g.h.Vj=function(a){this.A&&g.Cq(this.A,"ima-container-active");g.Q(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;qz(b)};g.A(KC,oz);KC.prototype.hide=g.y;KC.prototype.tq=function(){var a=pz(this);(0,g.B)(this.A,function(a){g.Q(a,"ima-container-highlight");this.g.appendChild(a);qz(a)},this);
this.play();return a};g.A(LC,rz);g.h=LC.prototype;g.h.ty=function(a,b){if(this.C||null==b)b=g.y;if(N.g()&&this.C)var c=new oz(a[0],b);else 1<a.length?NC(this)||"fullscreen"==this.Vc&&N.g()?c=new KC(a):(c=new JC(a),c.L=15E3):c=new oz(a[0],b);c.wr=100;this.C&&(c.fz=30);c.gz=45E3;c.pC=6E3;g.R(c.g,"scalable",this.C);g.R(c.ma(),"yt-text-overlay",N.g()&&this.C);return c};
g.h.aU=function(a){var b=a.g;null!=b?(null==this.H&&(this.H=a.getExtension("AdSense").l),sq(b,g.Ea(this.mr,a,b)),rq(b,g.Ea(this.oI,a,b)),"Text"==b.kd()&&(this.C=!0),this.A.push(b)):(b=Tn(IC),b=Sq(b,a),Qn(Ks(a),b))};
g.h.Pc=function(a,b,c){LC.Z.Pc.call(this,a,b,c);this.La.gw=!0;a=this.ka();g.Ra(Ms(a))?N.g()&&this.ga("companionBackfill"):this.Ad(a)};
g.h.kw=function(){null==this.A&&(this.A=[],(0,g.B)(this.ads,this.aU,this));if(0==this.A.length)throw Un(IC);var a=[];(0,g.B)(this.A,function(b){tq(b,this.Sa());"Flash"!=b.kd()||b.Lb().getExtension("TemplateAd")||(b.ow=!0);a.push(b.zc());bfa(b,this.H.D)},this);
if(0==a.length)throw Un(IC);rja(this);tz(this,this.ka());return this.Dm(a)};
g.h.start=function(){LC.Z.start.call(this);!this.F&&NC(this)&&(this.F=!0,this.ga("contentPauseRequested"));null!=this.l&&this.l.start();if(this.B){var a=OC(this);Jo(Go.getInstance(),33,a)}};
g.h.Fn=function(a){LC.Z.Fn.call(this,a);(0,g.B)(this.A,function(a){var b=Tq(a.Lb(),this.Da);this.Wb.g=b;this.Zf(a,["close"]);this.xa("close")},this)};
g.h.jn=function(a){LC.Z.jn.call(this,a);NC(this)&&(null!=this.o&&g.Jd(this.o),N.l?gp().Yj(null):Oo().Yj(null),this.F&&(this.F=!1,this.ga("contentResumeRequested")))};
g.h.Dm=function(a){a=LC.Z.Dm.call(this,a);if(NC(this)){var b=hx(2);g.Q(this.g.g,b);g.Q(a,b)}return a};
g.h.Yp=function(a){if(NC(this)){var b=g.Qd(a);b&&((a=g.Nd(a)[0])&&g.sh(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").l||new wv,this.l=new Sx(b,a,2,MC(this),!0),this.Sa().U(this.l,"skip",this.OI),this.Sa().U(this.l,"end",this.sJ))}else LC.Z.Yp.call(this,a),Bn().g("enable_overlays_wta")||(b=Gq(Wha,MC(this)),a.appendChild(b))};
g.h.mr=function(a,b){this.B?this.Ll(a,b):this.D.push((0,g.z)(this.Ll,this,a,b));sq(b,g.y);this.ga("impression")};
g.h.Ll=function(a,b){var c=Tq(a,this.Da);this.Wb.g=c;this.zg(a);this.Zf(b,["creativeview"]);this.xa("impression");this.xa("creativeview");Wu(this,"start")};
g.h.oI=function(a,b,c){a=a.getExtension("AdSense");a=new g.Jm(a.A);var d=b.Bb();(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=An();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.Vc,"sdkv=h.0.0.0","eids="+En(f)];N.g()||(d=g.Lh(this.Ea.Df()),e=this.l?rha(this.l):new g.hd(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,
"sy="+e.y]));Mn(a,"elementclick",c);(0,g.B)(this.A,function(a){var b=Tq(a.Lb(),this.Da);this.Wb.g=b;sz(this,a);this.xa("click")},this);
this.ga("click")};
g.h.xc=function(a){this.Vc!=a&&(LC.Z.xc.call(this,a),this.ga("expandedChanged"))};
g.h.Om=function(){LC.Z.Om.call(this,this.l?15:0,this.l?65:0)};
g.h.OI=function(){PC(this,"skip")};
g.h.sJ=function(){PC(this,"close")};g.A(QC,g.K);QC.prototype.l=function(a){if(0==a.yc||Bn().g("disable_freqcap_for_hummingbird")&&(g.Ra(a.D)?0:a.D[0].an)||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(RC,QC);RC.prototype.l=function(a){return 5==a.Ye()?!1:RC.Z.l.call(this,a)};g.A(HC,Ru);g.h=HC.prototype;
g.h.Pc=function(a,b,c){null!=this.Qb&&(this.Qb.Sc(),this.Qb.dispose(),this.Qb=null);HC.Z.Pc.call(this,a,b,c);a=this.vf.g.yb();b=new hA(b);var d=4;c&&0<=c.Ut&&(d=c.Ut);var e=new Yz,f=Bn(),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.Vt=null!=c?c.cC:0;tja(this,a);this.Qb=new Zz(b,this.xb.rb(),e);a=this.vf.g.yb();
uja(this,a);vja(this);c=g.Ma(this.xb.rb(),function(a){return 0==a.yc});
null!=c&&this.Yf()&&XC(this,c);try{c={cfg:!0},c.ads=this.Re,Jo(Go.getInstance(),44,c)}catch(l){}};
g.h.init=function(a){HC.Z.init.call(this,a);this.cp()};
g.h.Mj=function(){var a=new Oz(this.Ce());this.dispatchEvent(new gx(null,a))};
g.h.destroy=function(){this.dispose()};
g.h.V=function(){this.Xa.g=!0;if(0<this.xb.Ac()){var a=this.xb.rb();(0,g.B)(a,this.Xi,this);this.xb.clear()}VC(this);YC(this);null!=this.Ea&&(this.Ea.hide(),this.Ea=null);HC.Z.V.call(this)};
g.h.start=function(){HC.Z.start.call(this)};
g.h.stop=function(){null!=this.kb&&(this.Xi(this.kb),this.Vf())};
g.h.wb=function(a,b,c){HC.Z.wb.call(this,a,b,c);this.be=a;this.ae=b;this.Vc=c;null!=this.kb&&wz(this.kb,this.be,this.ae,this.Vc)};
g.h.pause=function(){null!=this.kb&&this.kb.pause()};
g.h.resume=function(){null!=this.kb&&this.kb.resume()};
g.h.skip=function(){null!=this.kb&&this.kb.skip()};
g.h.qf=function(){null!=this.kb&&this.kb.qf()};
g.h.setVolume=function(a){HC.Z.setVolume.call(this,a);null!=this.kb&&this.kb.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.kb?this.kb.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.kb?this.kb.getDuration():-1};
g.h.Ic=function(){return null!=this.kb?this.kb.Ic():-1};
g.h.Ce=function(){var a=g.Za(this.vf.g.yb());(0,g.B)(this.xb.rb(),g.Ea(function(a,c){5==c.Ye()&&g.Wa(a,c.yc)},a));
return a};
g.h.tb=function(){return null!=this.kb?this.kb.tb():null};
g.h.Ro=function(){};
g.h.Se=function(a){HC.Z.Se.call(this,a);null!=this.xb&&(0,g.B)(this.xb.rb(),function(b){b.Se(a)})};
g.h.cp=function(){this.Qb.Eb();this.Qb.my(null);var a=g.ua(0)&&!(0,window.isNaN)(0)?this.vf.g.get(0,[]):[];g.Ra(a)&&this.ga("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":UC(this,this.xb.get(a.g));break;default:g.zC(this.Bk,a),WC(this)}};
g.h.wi=function(){this.ga("userClose")};
g.h.Ot=function(){this.ga("why_this_ad_url")};
g.h.Nt=function(){this.ga("why_this_ad_got_it")};
g.h.ti=function(){this.ga("autoClose")};
g.h.Xi=function(a){a.destroy();this.xb.remove(g.Da(a));this.kb=null;null!=this.Yb&&(this.Yb.Aa(a,cz,this.dispatchEvent,!1,this),this.Yb.Aa(a,"adError",this.yx,!1,this),this.Yb.Aa(a,"allAdsCompleted",this.QA,!1,this),this.Yb.Aa(a,"contentPauseRequested",this.ph,!1,this),this.Yb.Aa(a,"contentResumeRequested",this.Vf,!1,this),this.Yb.Aa(a,"adBreakInitialized",this.RA,!1,this))};
g.h.DP=function(a){this.Vm=!0;-1==this.ji?a.l=!1:N.g()&&!SC(this)||TC(this);gia(this.Qb)};
g.h.Bl=function(a){if(null!=a.l&&this.xb.get(a.g).tb().Sb()){var b={};b.adBreakTime=a.l;this.dispatchEvent(new on("adNotify",null,b))}};
g.h.Dl=function(){this.dispatchEvent(new on("discardAdNotify",null))};
g.h.CO=function(a){var b=a.l,c=0==b,d=-1==b;this.Ak?(c?this.ga("contentResumeRequested"):!d||N.g()&&!SC(this)||TC(this),this.Ak=!1):(d?g.vg(function(){var b=this.xb.get(a.g);b&&this.Xi(b);N.g()&&!SC(this)||TC(this)},500,this):c&&g.vg(function(){this.ga("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new on("adBreakReady",null,c)))};
g.h.yx=function(a){var b=a.getError(),c=b.Tb();try{var d={};d.ec=c;Jo(Go.getInstance(),44,d)}catch(e){}if(N.g()&&b&&"adLoadError"==b.Rb()&&(this.dispatchEvent(a),null!=this.Qb))for(b=this.Qb,a=a.target.yc,c=0;c<b.g.length;c++)b.g[c].g==a&&(b.g[c].A=!0)};
g.h.QA=function(a){this.Xi(a.target);(SC(this)||!N.g()&&this.Vm)&&TC(this);this.Od=null;WC(this)};
g.h.ph=function(){var a=this.Qb;a.l.stop();a.o=!1;this.ga("contentPauseRequested")};
g.h.Vf=function(){this.ga("contentResumeRequested");this.Tp||bA(this.Qb);this.Od=null};
g.h.RA=function(a){this.Od=null;var b=a.target;a={};a.adBreakTime=b.yc;this.dispatchEvent(new on("prefetched",b.tb(),a));if(null!=this.Qb){a=this.Qb;b=b.yc;for(var c=0;c<a.g.length;c++)a.g[c].g==b&&(a.g[c].ge=!0)}WC(this)};
g.h.ga=function(a){var b=null;null!=this.kb&&(b=this.kb.tb());this.dispatchEvent(new on(a,b))};
g.h.dj=function(a){return g.Ma(this.xb.rb(),g.Ea(function(a,c){return c.yc==a},a))};
g.h.RC=function(a,b){N.g()?this.hd=new RC(a,b):this.hd=new QC(a,b);return this.hd};
g.h.Be=function(){return N.g()&&null!=ZC(this)&&null!=ZC(this).g?ZC(this).g.Be():null};
g.h.Wf=function(a){null!=ZC(this)&&ZC(this).Wf(a)};
g.h.Yf=function(){return null===this.Ea?!1:this.La.Vk&&so(this.Ea)};g.A(aD,g.Gf);aD.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);aD.Z.V.call(this)};cD.prototype.clone=function(){return new cD(this.g,this.D,this.o,this.B,this.A,this.C,this.l,this.F)};eD.prototype.l=0;eD.prototype.reset=function(){this.g=this.o=this.A;this.l=0};
eD.prototype.getValue=function(){return this.o};g.A(g.gD,g.K);g.h=g.gD.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.Id(a)}return!1};
g.h.Id=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.Wa(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];Aja(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.Id(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.l[a];b&&((0,g.B)(b,this.Id,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.gD.Z.V.call(this);this.clear();this.o.length=0};g.hD.prototype.set=function(a,b){g.t(b)?this.g.set(a,g.Bg(b)):this.g.remove(a)};
g.hD.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.hD.prototype.remove=function(a){this.g.remove(a)};g.A(iD,g.hD);iD.prototype.set=function(a,b){iD.Z.set.call(this,a,kD(b))};
iD.prototype.l=function(a){a=iD.Z.get.call(this,a);if(!g.t(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
iD.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(lD,iD);lD.prototype.set=function(a,b,c){if(b=kD(b)){if(c){if(c<(0,g.F)()){lD.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.F)()}lD.Z.set.call(this,a,b)};
lD.prototype.l=function(a,b){var c=lD.Z.l.call(this,a);if(c)if(!b&&g.mD(c))lD.prototype.remove.call(this,a);else return c};g.A(g.nD,lD);g.A(oD,Bja);oD.prototype.Ac=function(){var a=0;g.Ak(this.Md(!0),function(){a++});
return a};
oD.prototype.clear=function(){var a=Eca(this.Md(!0)),b=this;(0,g.B)(a,function(a){b.remove(a)})};g.A(pD,oD);g.h=pD.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.Md=function(a){var b=0,c=this.g,d=new xk;d.next=function(){if(b>=c.length)throw yk;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(qD,pD);g.A(rD,pD);g.A(tD,oD);var Cja={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},sD=null;g.h=tD.prototype;g.h.isAvailable=function(){return!!this.g};
g.h.set=function(a,b){this.g.setAttribute(uD(a),b);vD(this)};
g.h.get=function(a){a=this.g.getAttribute(uD(a));if(!g.v(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeAttribute(uD(a));vD(this)};
g.h.Ac=function(){return wD(this).attributes.length};
g.h.Md=function(a){var b=0,c=wD(this).attributes,d=new xk;d.next=function(){if(b>=c.length)throw yk;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=wD(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);vD(this)};g.A(xD,oD);xD.prototype.set=function(a,b){this.l.set(this.g+a,b)};
xD.prototype.get=function(a){return this.l.get(this.g+a)};
xD.prototype.remove=function(a){this.l.remove(this.g+a)};
xD.prototype.Md=function(a){var b=this.l.Md(!0),c=this,d=new xk;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};zD.prototype.getValue=function(){return this.g};
zD.prototype.clone=function(){return new zD(this.oc,this.g)};g.h=AD.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.rb=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.yb=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 AD(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(CD,AD);var Eja=/^\.google\.(com?\.)?[a-z]{2,3}$/,Fja=/\.(cn|com\.bi|do|sl|ba|by|ma)$/,FD=g.w,ED,GD,JD={Pq:function(){return 0<GD[8]},
FT:function(){GD[8]++},
GT:function(){0<GD[8]&&GD[8]--},
HT:function(){GD[8]=0},
shouldRetry:function(){return!1},
Cx:function(){return GD[5]},
mw:function(a){try{a()}catch(b){g.w.setTimeout(function(){throw b;},0)}},
Yt:function(){if(!JD.Pq()){var a=g.w.document,b=function(b){b=Gja(b);a:{try{var c=vba();break a}catch(l){}c=void 0}var d=c;Dja(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.ee(b);g.ad(c,b);try{(a.head||a.body||a.documentElement).appendChild(c),JD.FT()}catch(l){}},c=GD[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.
*/
LD.prototype.cancel=function(a){if(this.g)this.o instanceof LD&&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 VD(this),PD(this),ND(this,!1,a))}};
LD.prototype.I=function(a,b){this.D=!1;ND(this,a,b)};
LD.prototype.tk=function(a){PD(this);ND(this,!0,a)};
LD.prototype.then=function(a,b,c){var d,e,f=new g.$f(function(a,b){d=a;e=b});
QD(this,d,function(a){a instanceof VD?f.cancel():e(a)});
return f.then(a,b,c)};
Xf(LD);LD.prototype.isError=function(a){return a instanceof Error};
g.A(OD,Ia);OD.prototype.message="Deferred has already fired";OD.prototype.name="AlreadyCalledError";g.A(VD,Ia);VD.prototype.message="Deferred was canceled";VD.prototype.name="CanceledError";UD.prototype.l=function(){delete TD[this.ia];throw this.g;};
var TD={};g.A(WD,Ae);var Ija=[2,13,14];g.A(XD,Ae);WD.prototype.Rb=function(){var a=Fe(this,11);return null==a?0:a};var Wpa={aW:0,YV:1,WV:2,ZV:4,bW:14,XV:15,cW:17},Xpa={gW:0,eW:1,dW:2,fW:3,hW:14},Ypa={kZ:0,lZ:1,nZ:2,mZ:3,jZ:4};g.yG=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.ZD=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.va("yt.config_",g.ZD,void 0);(0,g.F)();var eE=g.t(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.t(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var BE={"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"},GE=!1;var II=tM||sM;var ZE={},Sja=0;g.p($E,Ia);cF.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:eF(a)):2===this.l&&b?(a=b.call(c,this.g),Yf(a)?a:dF(a)):this};
cF.prototype.getValue=function(){return this.g};
Xf(cF);g.p(gF,Ia);gF.prototype.name="BiscottiError";g.p(fF,Ia);fF.prototype.name="BiscottiMissingError";var iF={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},hF=null;g.p(oF,Ia);oF.prototype.name="YuzuError";var tF={};var Tua,uF;Tua=0;uF=g.Bd?"webkit":g.uh?"moz":g.zd?"ms":g.gf?"o":"";g.Uua=g.x("ytDomDomGetNextId")||function(){return++Tua};
g.va("ytDomDomGetNextId",g.Uua,void 0);var Wja={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};BF.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
BF.prototype.Ly=function(){return this.event?!1===this.event.returnValue:!1};
BF.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
BF.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var FF=g.x("ytEventsEventsListeners")||{};g.va("ytEventsEventsListeners",FF,void 0);var GF=g.x("ytEventsEventsCounter")||{count:0};g.va("ytEventsEventsCounter",GF,void 0);var Vua=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}),HF=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.TF,g.K);g.TF.prototype.U=function(a,b,c,d){c=(0,g.z)(c,d||this.l);a=g.IF(a,b,c);this.g.push(a);return a};
g.TF.prototype.hh=function(a,b,c,d){c=(0,g.z)(c,d||this.l);a=SF(a,b,c);this.g.push(a);return a};
g.TF.prototype.Aa=function(a){g.JF(a);g.Wa(this.g,a)};
g.TF.prototype.V=function(){g.UF(this);g.K.prototype.V.call(this)};g.A(VF,g.K);VF.prototype.I=function(a){this.g=new g.hd(DF(a),EF(a))};
VF.prototype.C=function(){if(this.g){var a=g.yG();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.zb]=.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.zb=(this.zb+1)%4}};
VF.prototype.V=function(){window.clearInterval(this.H);g.JF(this.D)};g.p(g.WF,g.K);g.WF.prototype.O=function(a,b,c,d,e){c=cE((0,g.z)(c,d||this.Vb));c={target:a,name:b,tk:c};var f;e&&Vua()&&(f={passive:!0});a.addEventListener(b,c.tk,f);this.K.push(c);return c};
g.WF.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.WF.prototype.V=function(){g.YF(this);g.K.prototype.V.call(this)};g.A(g.ZF,g.K);g.ZF.prototype.subscribe=function(a,b,c){return this.ha()?0:this.ca.subscribe(a,b,c)};
g.ZF.prototype.unsubscribe=function(a,b,c){return this.ha()?!1:this.ca.unsubscribe(a,b,c)};
g.ZF.prototype.Id=function(a){return this.ha()?!1:this.ca.Id(a)};
g.ZF.prototype.T=function(a,b){return this.ha()?!1:this.ca.T.apply(this.ca,arguments)};g.p(g.aG,g.ZF);g.h=g.aG.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.YF(this.g),$F(this))};
g.h.rz=function(a){g.YF(this.g);bG(this,cG("move"),this.pz);bG(this,cG("out"),this.qz);bG(this,"touchstart",this.Bs);this.o&&bG(this,cG("down"),this.As);var b=g.KF(a);a=NF(a);this.l=!0;this.T("hoverstart",a.x,a.y,b);this.T("hovermove",a.x,a.y,b)};
g.h.pz=function(a){var b=g.KF(a);a=NF(a);if(this.B){var c=this.B;this.B=null;if(MF(c)==b&&id(NF(c),a))return}this.T("hovermove",a.x,a.y,b)};
g.h.qz=function(a){var b=NF(a),c=MF(a);c&&g.Sd(this.C,c)?(this.B=a,this.T("hovermove",b.x,b.y,c)):(g.YF(this.g),$F(this),this.l=!1,this.T("hoverend",b.x,b.y,c))};
g.h.sO=function(a){this.rz(a);this.As(a)};
g.h.As=function(a){if(!g.ua(a.button)||0==a.button){g.YF(this.g);this.g.O(window.document,cG("move"),this.rO);this.g.O(window.document,cG("up"),this.FK);var b=g.KF(a);if(g.Bd)bG(this,"dragstart",this.JH);else if(g.OF(a),(g.EH||g.uh)&&b)a:{for(var c=b;c;){if(g.Zd(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.A=!0;a=NF(a);this.T("dragstart",a.x,a.y,b);this.T("dragmove",a.x,a.y,b)}};
g.h.JH=function(a){g.OF(a)};
g.h.rO=function(a){var b=g.KF(a);b==window.document&&(b=null);a=NF(a);this.T("hovermove",a.x,a.y,b);this.T("dragmove",a.x,a.y,b)};
g.h.FK=function(a){g.YF(this.g);this.A=!1;var b=LF(a),c=g.KF(a);a=NF(a);b&&g.Sd(this.C,b)?(bG(this,cG("move"),this.pz),bG(this,cG("out"),this.qz),bG(this,cG("down"),this.As),bG(this,"touchstart",this.Bs),this.T("dragend",a.x,a.y,c)):($F(this),this.l=!1,this.T("dragend",a.x,a.y,c),this.T("hoverend",a.x,a.y,c))};
g.h.Bs=function(a){var b=a.changedTouches[0];b&&(g.YF(this.g),bG(this,"touchmove",this.GK),bG(this,"touchend",this.uz),bG(this,"touchcancel",this.uz),this.D=b.identifier,a=g.KF(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.GK=function(a){var b=dG(this,a);b&&(this.o&&g.OF(a),a=g.KF(a),this.T("hovermove",b.pageX,b.pageY,a),this.o&&this.T("dragmove",b.pageX,b.pageY,a))};
g.h.uz=function(a){var b=dG(this,a);if(b){g.YF(this.g);$F(this);this.l=!1;var c=g.KF(a);this.o&&(this.F||g.OF(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.Bd&&this.C.removeAttribute("draggable"),this.C.style.touchAction="");g.YF(this.g);g.ZF.prototype.V.call(this)};var Zja={enablejsapi:1},$ja={};fG.prototype.clone=function(){var a=new fG,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 XG={},WG=0;var Wua=g.x("ytPubsubPubsubInstance")||new g.gD;g.gD.prototype.subscribe=g.gD.prototype.subscribe;g.gD.prototype.unsubscribeByKey=g.gD.prototype.Id;g.gD.prototype.publish=g.gD.prototype.T;g.gD.prototype.clear=g.gD.prototype.clear;g.va("ytPubsubPubsubInstance",Wua,void 0);g.hG=g.x("ytPubsubPubsubSubscribedKeys")||{};g.va("ytPubsubPubsubSubscribedKeys",g.hG,void 0);g.jG=g.x("ytPubsubPubsubTopicToKeys")||{};g.va("ytPubsubPubsubTopicToKeys",g.jG,void 0);var iG=g.x("ytPubsubPubsubIsSynchronous")||{};
g.va("ytPubsubPubsubIsSynchronous",iG,void 0);var cka=Math.pow(2,16)-1,bka={log_event:"events",log_interaction:"interactions"},Xua=Object.create(null);Xua.log_event="GENERIC_EVENT_LOGGING";Xua.log_interaction="INTERACTION_LOGGING";var rG={},vG=0,wG=g.x("ytLoggingTransportLogPayloadsQueue_")||{};g.va("ytLoggingTransportLogPayloadsQueue_",wG,void 0);var pG=g.x("ytLoggingTransportTokensToCttTargetIds_")||{};g.va("ytLoggingTransportTokensToCttTargetIds_",pG,void 0);var xG=g.x("ytLoggingTransportDispatchedStats_")||{};
g.va("ytLoggingTransportDispatchedStats_",xG,void 0);g.va("ytytLoggingTransportCapturedTime_",g.x("ytLoggingTransportCapturedTime_")||{},void 0);g.p(DG,dka);DG.prototype.start=function(){var a=g.x("yt.scheduler.instance.start");a&&a()};
DG.prototype.pause=function(){var a=g.x("yt.scheduler.instance.pause");a&&a()};
g.wa(DG);DG.getInstance();var KG={};RG.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.PG(a,e,c,this.l)};
RG.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=OG.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};
RG.prototype.remove=function(a){this.g&&this.g.remove(a);g.QG(a,"/",this.l)};new RG;var UG=g.x("ytLoggingLatencyUsageStats_")||{};g.va("ytLoggingLatencyUsageStats_",UG,void 0);var VG=0;var YG=(0,g.F)().toString();$G();var dH;g.cH=g.Lf(function(){var a=new qD;return a.isAvailable()?new g.nD(a):null});
dH=g.Lf(function(){var a=new rD;return a.isAvailable()?new g.nD(a):null});var iH=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.va("yt.msgs_",iH,void 0);Ha=function(a,b){b=void 0===b?{}:b;var c=a in iH?iH[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 I_=16/9,Yua=[.25,.5,.75,1,1.25,1.5,2];var j1={},Zua=(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 Bka={BW:"auto",I1:"tiny",CZ:"light",c1:"small",YF:"medium",yZ:"large",RY:"hd720",NY:"hd1080",OY:"hd1440",PY:"hd2160",QY:"hd2880",XY:"highres",UNKNOWN:"unknown"};var jka=/^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\/)/,hka=/^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\/)/,
kka=/^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)/,oka=/^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))/,Mna=/^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))/,
Dla=/^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(\/+|\?|#|$|%)/,mka=/^((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\/)/,
ika=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,nka=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion)))/,lka=/^((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))/,
Fla=/^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)/,
Ela=/^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)/,
$ua=/^(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 pka=1;g.p(g.DH,g.K);g.DH.prototype.ra=function(a,b){g.ua(b)?Kd(a,this.element,b):a.appendChild(this.element)};
g.DH.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
g.DH.prototype.updateValue=function(a,b){var c=this.Na["{{"+a+"}}"];c&&GH(this,c[0],c[1],b)};
g.DH.prototype.V=function(){this.g={};this.Na={};g.HH(this);g.K.prototype.V.call(this)};g.p(g.U,g.DH);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.Kd,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.Zd(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.DH.prototype.V.call(this)};g.p(g.JH,g.U);g.JH.prototype.subscribe=function(a,b,c){return this.X.subscribe(a,b,c)};
g.JH.prototype.unsubscribe=function(a,b,c){return this.X.unsubscribe(a,b,c)};
g.JH.prototype.Id=function(a){return this.X.Id(a)};
g.JH.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.oa(c)))};g.p(g.LH,g.JH);g.LH.prototype.updateValue=function(a,b){g.JH.prototype.updateValue.call(this,a,b);this.T("size-change")};g.p(PH,g.K);g.h=PH.prototype;
g.h.QL=function(a,b,c){var d=this.H[a];if(!(d||!(d=this.I[a])||c&&$ua.test(c))){var e=Error('API call from an untrusted origin: "'+c+'"');if(this.app.g.experiments.g("player_untrusted_origin_killswitch"))dE(e);else throw e;}e=this.app.g;e.Bh&&!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.NG("webPlayerApiCalled",
c,void 0,void 0):this.sa("onLogToGel",{payload_name:"webPlayerApiCalled",payload:c})));if(d)return d.apply(this,b);throw Error('Unknown API method: "'+a+'".');};
g.h.JL=function(){return this.D.slice()};
g.h.KL=function(){return g.Sb(this.A)};
g.h.ma=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.aa.subscribe(a,c)};
g.h.RH=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.aa.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.aa.unsubscribe(a,b)};
g.h.SH=function(a,b){var c=g.v(b)?a+b:a+g.Da(b),d=this.B[c];d&&(this.app.aa.unsubscribe(a,d),$b(this.B,c))};
g.h.jh=function(){return e0(this.app)};
g.h.Zb=function(a,b,c){this.g&&k0(this.app,!0,this.playerType);Pta(this.app,a,b,c,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.LL=function(){var a=g.MU(this.app,this.playerType);if(!a)return 0;a=AU(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){TH(this,a)};
g.h.isMuted=function(){return this.app.L.muted};
g.h.mute=function(){UH(this)};
g.h.Tf=function(){VH(this)};
g.h.od=function(){this.g&&k0(this.app,!0,this.playerType);var a=KU(this.app);2==a?(a=this.app.A.B)&&a.T("control_play"):3==a?g.LU(this.app.A).ul("control_play"):XX(this.app,this.playerType)};
g.h.cd=function(){var a=KU(this.app);2==a?(a=this.app.A.B)&&a.T("control_pause"):3==a?g.LU(this.app.A).ul("control_pause"):ZX(this.app,this.playerType)};
g.h.Me=function(){var a=this.app;a.g.X&&(a.l.isFullscreen()&&!a.g.experiments.g("player_external_control_on_classic_desktop")&&g.RU(a.l),a.l.T("pageTransition"));Ota(a)};
g.h.GL=function(){};
g.h.Rc=function(){return g.MU(this.app,1).Ca};
g.h.Rf=function(a){c0(this.app,a)};
g.h.Ej=function(){return this.app.g.ea?Yua:[1]};
g.h.ql=function(){var a=g.MU(this.app,this.playerType);if(a){var b="unknown";a.g.Ia&&(b=a.g.Ia.video.quality,"auto"==b&&a.l&&(a=a.l?a.l.ma():null)&&0<a.videoHeight&&(b=cI(a.videoWidth,a.videoHeight)))}else b="unknown";return b};
g.h.fo=function(){};
g.h.Ls=function(){var a=g.MU(this.app,this.playerType);return a?(a=(0,g.G)(Foa(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.NL=function(){return this.Ms()};
g.h.OL=function(){return 1};
g.h.Ms=function(){return zta(this.app)};
g.h.PL=function(){return 0};
g.h.setSize=function(){this.app.F.hf()};
g.h.Nz=function(a){this.Ns(a?2:1)};
g.h.Ns=function(a){Qta(this.app,a)};
g.h.DL=function(){this.sa("SUBSCRIBE")};
g.h.FL=function(){this.sa("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.NU()};
g.h.UL=function(a,b,c){a=i0(this.app,oH(a,b,c),this.playerType);this.g&&k0(this.app,a,this.playerType)};
g.h.Hz=function(a,b,c){m0(this.app,oH(a,b,c),this.playerType)};
g.h.VL=function(a,b,c){a=pH(a,b,c);a=i0(this.app,a,this.playerType);this.g&&k0(this.app,a,this.playerType)};
g.h.IL=function(a,b,c){a=pH(a,b,c);m0(this.app,a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.g;if(a.C)return"";var b=RX(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.Kz=function(){var a=this.app.g;if(a.C)var b="";else{var c=RX(this.app).videoId;b=this.app.F.Ha();var d=this.getPlaylistId()||void 0;c="https://"+JM(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.Gz=function(a,b,c){return Lta(this.app,a,b,c)};
g.h.Mz=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.ia==a){b.o.I.C(e);aV(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.TL=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.HL=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(){Kta(this.app);this.g&&k0(this.app,!0,this.playerType)};
g.h.Lz=function(a){var b=this.app;!b.W||b.l.isFullscreen()&&!b.Ba?b.C&&(b.C.Qc?h0(b,b.C.Ub(a),1):b.ea=!1,NQ(b.C,a)):b.l.sa("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.XL=function(a){var b=this.app.C;b&&(b.loop=a)};
g.h.Sf=function(){var a=this.app.C;if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.Ub(c);d&&b.push(d.videoId)}return b};
g.h.Jz=function(){var a=this.app.C;return a?a.de():-1};
g.h.getPlaylistId=function(){var a=this.app.C;return a&&a.listId?a.listId.toString():null};
g.h.Fd=function(a,b,c){if(!b)return null;var d=this.app.A;return"captions"==a?(a=d.l)&&a.Gs(b,c):null};
g.h.uc=function(a,b,c){return this.Fd(a,b,c)};
g.h.ni=function(a){var b=this.app.A;return"captions"==a?(b=b.l)&&b.lL():a?null:(a=[],b.l&&a.push("captions"),a)};
g.h.getVideoData=function(){var a={},b=g.MU(this.app,this.playerType);if(b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Ia)){a.video_quality=b.Ia.video.quality;b=b.Ia.video;var c=[];32<b.fps&&c.push("hfr");gI(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.Oz=function(){wta(this.app,!0)};
g.h.RL=function(){wta(this.app,!1)};
g.h.Iz=function(){var a=this.app.A.B;return a?a.Us():-1};
g.h.SL=function(a){if(a!=this.app.fa.args.video_id)return!1;a=(a=g.MU(this.app,1))?a.o:null;return!(!a||!g.W(a,128)||5!=Zua[a.g.errorCode])};
g.h.ML=function(){var a=this.app.fa.clone();g.Ga(a.args,FO(RX(this.app)));return a};
g.h.YL=function(){this.app.g.L&&this.app.da.resume()};
g.h.eo=function(){var a=this.app.A.o;return a?2==this.playerType?{}:a.Dz():{}};
g.h.ho=function(a){if(a&&2!=this.playerType){var b=this.app.A.o;b&&b.Ez(a,!0)}};
g.h.destroy=function(){this.app.dispose()};
g.h.WL=function(){var a=g.MU(this.app);a&&!g.W(a.o,128)&&(a.T("internalAbandon"),TT(a),RT(a))};
g.h.T=function(a,b){for(var c=1;c<arguments.length;++c);this.app.g.Cb&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.aa.T.apply(this.app.aa,arguments);this.app.X.T.apply(this.app.X,arguments)};
g.h.sa=function(a,b){this.app.aa.T.apply(this.app.aa,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)};XH.prototype.o=function(){return this.name};
XH.prototype.l=function(){return this.id};
XH.prototype.g=function(){return this.isDefault};
XH.prototype.toString=function(){return this.name};
XH.prototype.getName=XH.prototype.o;XH.prototype.getId=XH.prototype.l;XH.prototype.getIsDefault=XH.prototype.g;g.YH.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.g+"_"+this.id+"_"+this.isDefault};g.ZH.prototype.Oa=function(){return this.H};
g.ZH.prototype.toString=function(){return this.l+": "+g.$H(this)+" - "+this.D};
g.ZH.prototype.I=ba(0);g.ZH.prototype.Ed=function(){return!(!this.l||this.g&&!this.g.languageCode)};aI.prototype.l=function(){return this.Nb};
aI.prototype.toString=function(){return this.Nb.name};
aI.prototype.getLanguageInfo=aI.prototype.l;var NI={name:"width",video:!0,valid:640,di:99999},OI={name:"height",video:!0,valid:360,di:99999},PI={name:"framerate",video:!0,valid:30,di:9999},QI={name:"bitrate",video:!0,valid:3E5,di:2E9},MI={name:"eotf",video:!0,valid:"bt709",di:"catavision"},SI={name:"channels",video:!1,valid:2,di:99},RI={name:"cryptoblockformat",video:!0,valid:"subsample",di:"invalidformat"},TI={km:NI,Xl:OI,GY:PI,Yu:QI,qY:MI,kX:SI,CX:RI};var rka={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",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.dI=(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 hI="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");rI.prototype.g=function(a){return"true"==this.flags[a]};
rI.prototype.l=function(a){return(0,window.parseFloat)(this.flags[a])||0};
rI.prototype.o=function(a){return(a=this.flags[a])?a.toString():""};g.h=sI.prototype;g.h.append=function(a){this.l.webkitSourceAppend(this.o,a)};
g.h.abort=function(){this.l.webkitSourceAbort(this.o)};
g.h.ZU=function(){return this.l.webkitSourceState==this.l.SOURCE_CLOSED?new ska:this.l.webkitSourceBuffered(this.o)};
g.h.bV=function(){return this.A};
g.h.fV=function(a){this.A=a;this.l.webkitSourceTimestampOffset(this.o,a)};g.h=tI.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.qN=function(){return this.g.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.o++).toString();this.g.webkitSourceAddId(b,a);a=new sI(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.o);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.cV=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.dV=function(){Sa(this.sourceBuffers)};
g.h.aV=function(){return this.l};
g.h.eV=function(a){this.l=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};uI.prototype.start=function(){return 0};
uI.prototype.end=function(){return window.Infinity};g.h=vI.prototype;g.h.addEventListener=function(){};
g.h.removeEventListener=function(){};
g.h.dispatchEvent=function(){return!1};
g.h.abort=function(){};
g.h.remove=function(){};
g.h.appendBuffer=function(){};var Ata=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Bta=['audio/mp4; codecs="mp4a.40.2"'];zI.prototype.dispose=function(){if(!this.o){if(this.l)try{window.URL.revokeObjectURL(this.g)}catch(a){}this.o=!0}};
zI.prototype.ha=function(){return this.o};g.p(AI,g.K);AI.prototype.F=function(){!this.ha()&&BI(this)&&this.A&&(this.A(this),this.A=null)};
AI.prototype.D=function(){this.dispose()};var ava={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 bva=m1.match(/android\D*(\d\.\d)[^;|\)]*[;\)]/);if(bva)l1=(0,window.parseFloat)(bva[1]);else{var cva=m1.match("("+g.Sb(ava).join("|")+")");l1=cva?ava[cva[0]]:0}}else l1=void 0;var JI=l1,OL=0<=JI;var xka={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},yka={"application/x-mpegURL":"maybe"},wka={"application/x-mpegURL":"maybe"};XI.prototype.pg=function(){return this.bj};
XI.prototype.g=function(){return null};
XI.prototype.A=function(){};ZI.prototype.isLocked=function(){return this.o&&!!this.l&&this.l==this.g};
ZI.prototype.A=function(a){return a.video?fJ(this,a.video.quality):!1};
var Xna=aJ("auto","large",!1,"l"),cJ=aJ("auto","auto",!1,"p");aJ("small","auto",!1,"p");g.h=g.hJ.prototype;g.h.Wz=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.Rh(a))?a.duration:0};
g.h.Mq=function(a){return this.getDuration(a)};
g.h.Bf=function(){return this.segments.length?this.segments[0].ya:-1};
g.h.Ss=function(a){return(a=this.Rh(a))?a.ingestionTime:window.NaN};
g.h.gc=function(){return this.segments.length?this.segments[this.segments.length-1].ya:-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.ln(a))?a.ya:-1};
g.h.Lx=function(a){return(a=this.Rh(a))?a.sourceURL:""};
g.h.Wd=function(a){return(a=this.Rh(a))?a.startTime:0};
g.h.An=ba(2);g.h.Mb=function(){return 0<this.segments.length};
g.h.Rh=function(a){a=g.fb(this.segments,new gJ(a,0,0,0,""),function(a,c){return a.ya-c.ya});
return 0<=a?this.segments[a]:null};
g.h.ln=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.Hx=function(){return 0};jJ.prototype.skip=function(a){this.g+=a};nJ.prototype.Wm=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.KJ.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};mK.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=nK(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=nK(this).getUint32(0,
!1);if(3==this.info.type&&0==this.info.l)return 524531317==b||440786851==b}return!0};g.vK.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.o="")};
g.vK.prototype.get=function(a){wK(this);return this.g[a]||null};
g.vK.prototype.Oa=function(){this.o||(this.o=Mka(this));return this.o};
g.vK.prototype.clone=function(){var a=new g.vK(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 zK=!1;EK.prototype.set=function(a,b){this.g.get(a);this.l[a]=b;this.o=""};
EK.prototype.get=function(a){return this.l[a]||this.g.get(a)};
EK.prototype.Oa=function(){this.o||(this.o=Oka(this));return this.o};var dva=0;g.h=QK.prototype;g.h.yf=function(){};
g.h.kc=function(){};
g.h.Yr=function(){return!1};
g.h.Jc=function(){return!!this.g&&!!this.index&&this.index.Mb()};
g.h.mi=function(){};
g.h.wz=function(){return!1};
g.h.Kk=function(){};
g.h.Dj=function(){};
g.h.ll=function(){};
g.h.Sg=function(){};
g.h.qr=function(){};
g.h.xz=function(a){return[a]};
g.h.Mo=function(a){return[a]};
g.h.St=function(){};
g.h.Qq=function(){};g.p(SK,QK);g.h=SK.prototype;g.h.yf=function(){return!1};
g.h.kc=function(){return!1};
g.h.wz=function(){return this.l};
g.h.Kk=function(){if(this.l)return[];var a=new OJ(1,this,this.initRange);return[new LK([a],this.I)]};
g.h.Dj=function(){return null};
g.h.ll=function(a){this.mi(a);return this.Xm(a.o?a.ya+1:a.ya,!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.gc(),c+1));return this.Xm(c,!0)};
g.h.qr=function(a){this.g=new window.Uint8Array(nK(a).buffer)};
g.h.Yr=function(){return!1};
g.h.mi=function(a){return 0==a.Wa?!0:this.index.gc()>a.ya&&this.index.Bf()<=a.ya+1};
g.h.update=function(a,b,c){var d=this.index;if(0!=a.length)if(a=g.Za(a),0==d.segments.length)d.segments=a;else{var e=d.segments.length?g.Ja(d.segments).endTime:0,f=a[0].ya-d.gc();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])}}iJ(this.index,c);this.H=b};
g.h.Jc=function(){return this.l?!0:QK.prototype.Jc.call(this)};
g.h.Xm=function(a,b){var c=this.index.Lx(a),d=this.index.Wd(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;d=new OJ(3,this,null,a,d,e,0,f,a==this.index.gc()&&!this.H&&0<f);return new LK([d],c)};
g.h.Qq=function(){return this.l?0:this.initRange.length};
g.h.St=function(){return!1};g.p(TK,g.hJ);g.h=TK.prototype;g.h.Bf=function(){return this.g?this.segments.length?this.ln(this.Fb()).ya:-1:g.hJ.prototype.Bf.call(this)};
g.h.Fb=function(){return this.g?this.segments.length?Math.max(g.Ja(this.segments).endTime-this.A,0):0:g.hJ.prototype.Fb.call(this)};
g.h.gj=function(){var a=this.gc();return!this.g||!this.segments.length||a<=this.segments[this.segments.length-1].ya?g.hJ.prototype.gj.call(this):WK(this,a,this.segments[this.segments.length-1]).endTime};
g.h.hj=function(){return this.g?this.segments.length?this.gc()-this.Bf()+1:0:g.hJ.prototype.hj.call(this)};
g.h.gc=function(){return Math.max(g.hJ.prototype.gc.call(this),this.o)};
g.h.Wz=function(a){var b=UK(this,a.ya);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.ln=function(a){if(!this.g)return g.hJ.prototype.ln.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?WK(this,c.ya-Math.ceil((c.startTime-a)/this.l),c):WK(this,c.ya+Math.ceil((a-c.endTime)/this.l),c)};
g.h.Rh=function(a){if(!this.g)return g.hJ.prototype.Rh.call(this,a);if(!this.segments.length)return null;var b=UK(this,a);return 0<=b?this.segments[b]:WK(this,a,this.segments[Math.max(-(b+2),0)])};g.p(XK,SK);g.h=XK.prototype;g.h.kc=function(){return!0};
g.h.Jc=function(){return!0};
g.h.mi=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 OJ(3,this,null,-1,void 0,this.D,void 0,this.D*this.info.g);return new LK([c],"")}return SK.prototype.Sg.call(this,a,b)};
g.h.Xm=function(a,b){if(VK(this.index,a))return SK.prototype.Xm.call(this,a,b);var c=this.index.Wd(a);c=new OJ(3,this,null,a,c,void 0,void 0,b?0:this.D*this.info.g);return new LK([c],0<=a?"sq/"+a:"")};bL.prototype.update=function(a,b){var c=void 0;this.l&&(c=this.l);var d=new bL,e=a.getElementsByTagName("S");if(e.length){var f=+YK(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+YK(a,"startNumber")||0;var m=k;var n=+YK(a,"presentationTimeOffset")||0;m=c?c.Qe+c.durationSecs:b?m-n/f:0;n=Date.parse(aL(YK(a,"yt:segmentIngestTime")))/1E3;d.o="SegmentTemplate"==a.parentNode.tagName;d.o&&(d.C=YK(a,"media"));var q=c?l-c.ya: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,D=+q.getAttribute("r")||0,I=0;I<=D;I++)if(c&&l<=c.ya)l++;else{var S=new Rka(l,m,r,n+u,k);d.g.push(S);var Z=S.Qe,V=q.getAttribute("yt:cuepointTimeOffset");S=q.getAttribute("yt:cuepointDuration");V&&S?(Z=+V/f+Z,S=+S/f,V=q.getAttribute("yt:cuepointContext")||null,S=new rJ(Z,S,V)):S=null;S&&d.A.push(S);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;$a(this.g,d.g);$a(this.A,d.A);this.o=d.o;this.C=d.C};
bL.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.cL.prototype;g.h.lo=function(a){return this.g[a]};
g.h.Wd=function(a){return this.l[a]/this.A};
g.h.An=ba(1);g.h.Ss=function(){return window.NaN};
g.h.getDuration=function(a){a=this.Mq(a);return 0<=a?a/this.A:-1};
g.h.Mq=function(a){return a+1<this.Fa||this.o?this.l[a+1]-this.l[a]:-1};
g.h.Bf=function(){return 0};
g.h.gc=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.Lx=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.gc()};
g.h.Hx=function(a,b){if(a>=this.gc())return 0;for(var c=0,d=this.Wd(a)+b,e=a;e<this.gc()&&d>this.Wd(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){dL(this);this.o=!0;this.l[this.Fa]=b;this.g[this.Fa]=a};g.p(g.eL,QK);g.h=g.eL.prototype;g.h.Kk=function(a){var b=new OJ(1,this,this.initRange),c=new OJ(2,this,this.indexRange),d=[],e=[b];QJ(b,c)?e.push(c):(d.push(new LK([c])),a=0);(0,window.isNaN)(this.l)&&(a=0);b=e[e.length-1];a=Math.min(a,this.l-(b.range.end-e[0].range.start+1));0<a&&(a=MJ(b.range.end+1,a),e.push(new OJ(4,this,a)));d.push(new LK(e));return d};
g.h.qr=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.gc())return;if(g.mI(this.info)){b=this.index;var c=nK(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++;dL(l);l.g[l.Fa]=l.g[l.Fa-1]+f;l.l[l.Fa]=l.l[l.Fa-1]+k}}else this.D=nK(a)}if(2==this.info.containerType&&this.g&&this.D){a=new window.DataView(this.g.buffer);b=this.index;k=this.D;c=this.indexRange.end;a=new XJ(a);if(aK(a,440786851)&&(gK(a),aK(a,408125543)&&
(e=a,f=e.g,d=bK(e,!0),e.g=f,a=$J(a),e=a.o+a.g,aK(a,357149030)))){a=$J(a);l=1E6;var m=1E9;for(f=0;!YJ(a);){var n=bK(a,!1);2807729==n?l=fK(a):2807730==n?m=fK(a):17545==n?f=hK(a):gK(a)}b.A=m/l;a=new XJ(k);if(aK(a,475249515)){a=$J(a);k=!0;for(l=!1;aK(a,187);){m=$J(a);if(aK(m,179))if(n=fK(m),aK(m,183)){m=$J(m);for(var q=e;aK(m,241);)q=fK(m)+e;m=[q,n]}else m=null;else m=null;q=m;k&&c==q[0]&&(l=!0);k=!1;l&&(q[0]+=1);m=b;n=q[0];q=q[1];dL(m);m.g[m.Fa]=n;m.l[m.Fa]=q;m.Fa++}b.cap(d+e,f)}}this.D=null}};
g.h.xz=function(a){for(var b=this.Mo(a.info),c=[],d=a.l,e=0;e<b.length;e++){var f=MJ(b[e].range.start+b[e].l-a.info.range.start+a.range.start,b[e].Wa);c.push(new mK(b[e],a.g,f,a.A,d));d=!1}return c};
g.h.Mo=function(a){for(var b=0;b<this.index.gc()&&a.range.start>=this.index.lo(b+1);)b++;return fL(this,b,a.range.start,a.range.length).g};
g.h.mi=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.mi(a);if(!this.Jc()){var c=MJ(a.range.end+1,b);c.end+1>this.l&&(c=new g.KJ(c.start,this.l-1));c=[new OJ(4,a.g,c)];return new LK(c)}4==a.type&&(c=this.Mo(a),a=c[c.length-1]);c=0;var d=a.range.start+a.l+a.Wa;3==a.type&&(c=a.ya,d==a.range.end+1&&(c+=1));return fL(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.gc(),c+1));return fL(this,c,this.index.lo(c),0)};
g.h.Yr=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.yf=function(){return!0};
g.h.kc=function(){return!1};
g.h.Qq=function(){return this.indexRange.length+this.initRange.length};
g.h.St=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};var iL={SX:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c},
nB:function(a){a.reverse()},
YN:function(a,b){a.splice(0,b)}};g.p(kL,g.ZF);g.h=kL.prototype;g.h.Lf=function(){return Mb(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.Mf=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.fi=function(){return Mb(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.tT=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 Tka);Xka(this.B,a,this.da);this.T("refresh");for(a=0;a<b.length;a++){var c=sL(this,b[a]),d=this.isLive&&g.mI(c)&&this.ea;if(!this.g[c.id]){var e=pL(ZK(b[a],"BaseURL").textContent),f=ZK(b[a],"Initialization"),k=YK(f,"sourceURL");f=LJ(YK(f,"range"));d&&(k="",f=void 0);this.g[c.id]=new SK(e,c,k,null===f?
void 0:f)}c=this.g[c.id];e=YK(b[a],"id","AdaptationSet");e=""!=e?e:YK(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.ya,f.Qe);d.push(new gJ(f.ya,f.Qe,f.durationSecs,f.g,l,null,f.l))}else{e=g.ab(ZK(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.B);f=[];for(l=0;l<e.length;l++)f.push(hla(e[l],k[l],d));d=f}c.update(d,this.isLive,this.R)}Yka(this.B);return!0}this.duration=
$K(YK(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=sL(this,k);e=ZK(k,"BaseURL");d=pL(e.textContent);f=ZK(k,"SegmentBase");k=LJ(f.attributes.indexRange.value);f=LJ(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=(0,window.parseInt)(e.getAttribute(qL(this,"contentLength")),10);c=new g.eL(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.Ce=function(a){return this.B?g.ab(this.B.A,a):this.K.length?g.ab(this.K,a):[]};
g.h.rI=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*$K(YK(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)(YK(a,qL(this,"earliestMediaSequence")),
10)||0;if(b=Date.parse(aL(YK(a,qL(this,"mpdResponseTime")))))this.F=((0,g.F)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.rm)(a.getElementsByTagName("Period"),this.tT,this);this.C=2;this.T("loaded");wL(this);return this};
g.h.uI=function(a){this.L=a.g.status;this.C=3;this.T("loaderror");return eg(a.g)};
g.h.Yz=function(){if(1!=this.C&&!this.ha()){var a=g.Ug(this.W,{start_seq:ila(this).toString()});g.mg(tL(this,a),function(){})}};
g.h.resume=function(){wL(this)};
g.h.De=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.FM=function(){return this.F};
var AL=null,BL=!1,rL={commentary:1,alternate:2,dub:3,main:4};var n1={},TL=(n1.playready=["com.youtube.playready","com.microsoft.playready"],n1.widevine=["com.widevine.alpha"],n1),vla=g.Ya(TL.widevine,TL.playready);LL.prototype.getAvailableAudioTracks=function(){return this.audioTracks};var nla="1 9h 9 h 8 (h ( H *".split(" "),NL="h198H(*".split(""),pla="oMavAV".split(""),sla=["so","sa"],rla="moMavAV".split(""),qla="aoMvAV".split(""),ola=["f"];g.p(SL,g.K);SL.prototype.D=function(){(this.C=this.o.g("html5_widevine_robustness_strings")&&!this.C&&"widevine"==this.g[this.l[0]].flavor)||this.l.shift();UL(this)};
SL.prototype.F=function(a,b){this.ha()||(a.l=b,wla(this,a),this.B(a))};var Hla={t0:"red",U2:"white"};VL.prototype.g=function(a,b){var c=Math.pow(this.B,a);this.o=b*(1-c)+c*this.o;this.A+=a};
VL.prototype.l=function(){return this.o/(1-Math.pow(this.B,this.A))};XL.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};
XL.prototype.l=function(){return this.H?(YL(this,this.D-this.H)+YL(this,this.D)+YL(this,this.D+this.H))/3:YL(this,this.D)};var Gla={iW:"adunit",KX:"detailpage",kY:"editpage",mY:"embedded",BZ:"leanback",h0:"previewpage",j0:"profilepage",p2:"unplugged"};var BM={LZ:1,MZ:2,NZ:3};g.p(gM,g.ZF);gM.prototype.add=function(a,b){!this.Ga[a]&&(b.lq||b.Jh||b.ek)&&(this.Ga[a]=gc(b),this.T("vast_info_card_add",a))};
gM.prototype.remove=function(a){var b=this.get(a);delete this.Ga[a];return b};
gM.prototype.get=function(a){return this.Ga[a]||null};
gM.prototype.isEmpty=function(){return g.Yb(this.Ga)};var Cla=/^([0-9\.]+):([0-9\.]+)$/;var nM=g.x("ytglobal.prefsUserPrefsPrefs_")||{};g.va("ytglobal.prefsUserPrefsPrefs_",nM,void 0);g.h=oM.prototype;g.h.get=function(a,b){qM(a);pM(a);var c=void 0!==nM[a]?nM[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){qM(a);pM(a);if(null==b)throw Error("ExpectedNotNull");nM[a]=b.toString()};
g.h.remove=function(a){qM(a);pM(a);delete nM[a]};
g.h.save=function(){var a=this.g,b=[],c;for(c in nM)b.push(c+"="+(0,window.encodeURIComponent)(String(nM[c])));g.PG(a,b.join("&"),63072E3)};
g.h.clear=function(){g.Zb(nM)};
g.wa(oM);var rM="blogger books docs google-live play chat picasaweb gmail jamboard".split(" ");g.p(GM,g.K);
GM.prototype.Dg=function(a){this.da=kM(this.da,a.video_id);this.Ma=kM(this.Ma,a.eventid);for(var b in eva){var c=eva[b],d=a[c];void 0!=d&&(this.A[c]=d)}b=a.cl;!this.Ba&&b&&(this.Ba=+b);this.userAge=jM(this.userAge,a.user_age);this.userDisplayImage=kM(this.userDisplayImage,a.user_display_image);g.wH(this.userDisplayImage)||(this.userDisplayImage="");this.userDisplayName=kM(this.userDisplayName,a.user_display_name);this.userGender=kM(this.userGender,a.user_gender);this.csiPageType=kM(this.csiPageType,
a.csi_page_type);this.Na=kM(this.Na,a.csi_service_name);this.Vb=hM(this.Vb,a.enablecsi);if(a=a.enabled_engage_types)this.Ta=new window.Set(a.split(","))};
GM.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=JM(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.MM(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,II&&(a=g.x("yt.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.Ug(d,b)};
var eva={RW:"cbrand",SW:"cbr",TW:"cbrver",pZ:"c",sZ:"cver",rZ:"ctheme",qZ:"cplayer",YZ:"cmodel",F_:"cnetwork",N_:"cos",O_:"cosver",T_:"cplatform"};g.p(XM,XI);
XM.prototype.g=function(){if(!this.l||this.l.ha()){var a=this.o;Mla(a);for(var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={},d=0,e=a.o.length;d<e;++d){var f=a.o[d];if(!a.l||!f.Nb||f.Nb.id==a.l)if(c[f.itag]=f,a.A)b.push('#EXT-X-MEDIA:TYPE=AUDIO,NAME="audio",DEFAULT=YES,AUTOSELECT=YES,'+('GROUP-ID="'+f.itag.toString()+'",')+('URI="'+f.url+'"'));else{var k="#EXT-X-MEDIA:TYPE=AUDIO,",l="YES",m="audio";if(f.Nb){m=f.Nb;var n=m.id.split(".")[0];n&&(k+='LANGUAGE="'+n+'",');a.l||m.isDefault||(l="NO");m=
m.name}k=k+('NAME="'+m+'",'+("DEFAULT="+l+",AUTOSELECT=YES,"))+('GROUP-ID="'+f.itag.toString()+'",'+('URI="'+f.url+'"'));b.push(k)}}d=0;for(e=a.g.length;d<e;++d)f=a.g[d],k=c[f.audioItag],b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(f.bitrate+k.bitrate)+","+('CODECS="'+f.Fw+","+k.Fw+'",')+("RESOLUTION="+f.width+"x"+f.height+",")+('AUDIO="'+k.itag.toString()+'",')+"CLOSED-CAPTIONS=NONE"),b.push(f.url);a="data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n"));this.l=new zI(a)}return this.l};g.p(ZM,XI);ZM.prototype.g=function(){return new zI(this.l.Oa())};
ZM.prototype.A=function(){this.l=AK(this.l)};g.p(aN,XI);aN.prototype.g=function(){return new zI(this.l)};var Pla=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 fva={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",SZ:"LOW",m2:"ULTRALOW"};g.h=g.cN.prototype;g.h.Bb=function(){return this.C};
g.h.getHeight=function(){return this.B};
g.h.Fx=ba(3);g.h.Oq=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 AH(b)};
g.h.Ij=function(a){var b=this.Oq()-1;return g.cd(0==this.l?Math.round(a*this.o/this.K):Math.round(1E3*a/this.l),0,b)};
g.h.wl=function(){return this.o-1};
g.h.oo=function(){return this.o?0:-1};
g.h.lA=function(){};g.p(eN,g.ZF);eN.prototype.I=function(a,b){this.l=this.l.onload=null;var c=this.g[a];c.Qc.add(b);hN(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.Oq()-1);e=[e,c];this.T("l",e[0],e[1])};
eN.prototype.V=function(){this.l&&(this.l=this.l.onload=null);g.ZF.prototype.V.call(this)};g.p(jN,eN);jN.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};
jN.prototype.C=function(a,b,c,d){return new g.cN(a,b,c,d)};
jN.prototype.H=function(){};g.p(kN,g.cN);g.h=kN.prototype;g.h.Oq=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.gc(),d=e.Tg(a));return d>c-b?-1:d};
g.h.wl=function(){return this.g?this.g.gc():-1};
g.h.oo=function(){return this.g?this.g.Bf():-1};
g.h.lA=function(a){this.g=a};g.p(lN,jN);lN.prototype.o=function(a,b){return jN.prototype.o.call(this,"$N|"+a,b)};
lN.prototype.C=function(a,b,c){return new kN(a,b,c,this.isLive)};
lN.prototype.H=function(a){for(var b=0;b<this.g.length;b++)this.g[b].lA(a)};var mN={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},Rla={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};g.qN.prototype.toString=function(){return this.topic};var gva=g.x("ytPubsub2Pubsub2Instance")||new g.gD;g.gD.prototype.subscribe=g.gD.prototype.subscribe;g.gD.prototype.unsubscribeByKey=g.gD.prototype.Id;g.gD.prototype.publish=g.gD.prototype.T;g.gD.prototype.clear=g.gD.prototype.clear;g.va("ytPubsub2Pubsub2Instance",gva,void 0);var tN=g.x("ytPubsub2Pubsub2SubscribedKeys")||{};g.va("ytPubsub2Pubsub2SubscribedKeys",tN,void 0);var vN=g.x("ytPubsub2Pubsub2TopicToKeys")||{};g.va("ytPubsub2Pubsub2TopicToKeys",vN,void 0);
var uN=g.x("ytPubsub2Pubsub2IsAsync")||{};g.va("ytPubsub2Pubsub2IsAsync",uN,void 0);g.va("ytPubsub2Pubsub2SkipSubKey",null,void 0);var AN=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.p(CN,g.pN);g.p(DN,g.pN);var Yla=new g.qN("aft-recorded",CN),xN=new g.qN("timing-sent",DN);var cma,cO,o1,WN,Xla,ama,Wla,$N,Vla,rta;cma={vc:!0};
cO={'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={};
WN=(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);Xla="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(" ");
ama={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"};Wla="isNavigation isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber isVisible watchInfo.isPlaylist".split(" ");$N=!1;
Vla=(0,g.z)(AN.clearResourceTimings||AN.webkitClearResourceTimings||AN.mozClearResourceTimings||AN.msClearResourceTimings||AN.oClearResourceTimings||g.y,AN);g.CQ=SN;rta=HN;g.BQ=QN;var p1;var hva=g.Ib,iva=hva.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!iva||2>iva.length)p1=void 0;else{var q1=hva.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);p1=q1&&6==q1.length?Number(q1[5].replace("_",".")):0}var B_=p1,r1=0<=B_;r1&&0<=g.Ib.search("Safari")&&g.Ib.search("Version");var oma={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},s1={},jva=(s1.ALWAYS=1,s1.BY_REQUEST=3,s1),kma,jO;g.p(g.iO,g.ZF);g.h=g.iO.prototype;g.h.Dg=function(a,b){b?(this.setData(a),BO(this)&&qO(this)):(lO(this,a,!0),this.T("dataupdated"))};
g.h.setData=function(a){a=a||{};var b=a.player_response;b&&(this.sb=g.jx(b));this.ig="1"!=a.hlsdvr?!1:VI()?!0:sM&&5>B_?!1:!0;this.adQueryId=a.ad_query_id||null;this.adSafetyReason=a.encoded_ad_safety_reason||null;this.Ni=a.agcid||null;this.adIds=a.ad_id||null;this.adSystems=a.ad_sys||null;this.Em="1"==a.infringe||"1"==a.muted;this.authKey=a.authkey;this.Wc=a.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||$G());this.enableCardio=hM(this.enableCardio,a.enable_cardio);this.enableCardioBeforePlayback=
hM(this.enableCardioBeforePlayback,a.enable_cardio_before_playback);this.endSeconds=jM(this.endSeconds,a.end||a.endSeconds);this.xj=kM(this.xj,a.itct);this.Xr=hM(this.Xr,a.noiba);this.fl="1"==a.livemonitor;this.ua="1"==a.live_playback||!!a.fresca_preroll||!!a.heartbeat_preroll;this.isLiveDestination=hM(this.isLiveDestination,a.is_live_destination);this.isLiveDefaultBroadcast="1"==a.live_default_broadcast;this.isLowLatencyLiveStream="1"==a.is_low_latency_live_stream;if(b=a.latency_class)this.latencyClass=
iM("UNKNOWN",b,fva);this.isMdxPlayback=hM(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=Db(b);this.Wr=hM(this.Wr,a.is_inline_playback_no_ad);this.sh=jM(this.sh,a.reload_count);this.reloadReason=kM(this.reloadReason,a.reload_reason);this.ds=hM(this.ds,a.utpsa);this.cycToken=a.cyc||null;this.qD=a.tkn||null;this.wh="1"==a.innertube_thumbnail&&this.sb.videoDetails.thumbnail?Sla(this.sb.videoDetails.thumbnail):nN(a);this.Ue=kM(this.Ue,a.vvt);this.revocableUnlistedToken=a.revocable_unlisted_token;
this.mdxEnvironment=kM(this.mdxEnvironment,a.mdx_environment);this.AO=a.osig;this.YB=a.ptchn;this.ZB=a.oid;this.Gl=a.ptk;this.aC=a.pltype;this.playbackId=a.plid;this.eventId=a.eventid;this.osid=a.osid;this.videoMetadata=a.vm;this.Pt=a.of;this.lp=a.upt;this.playlistId=kM(this.playlistId,a.list);this.hC=a.pyv_view_beacon_url;this.jC=a.pyv_quartile25_beacon_url;this.kC=a.pyv_quartile50_beacon_url;this.lC=a.pyv_quartile75_beacon_url;this.iC=a.pyv_quartile100_beacon_url;if(b=a.remarketing_url)this.remarketingUrl=
b;this.sb&&this.sb.playbackTracking&&this.sb.playbackTracking.youtubeRemarketingUrl&&(this.youtubeRemarketingUrl=this.sb.playbackTracking.youtubeRemarketingUrl.baseUrl);this.sb&&this.sb.playbackTracking&&this.sb.playbackTracking.googleRemarketingUrl&&(this.googleRemarketingUrl=this.sb.playbackTracking.googleRemarketingUrl.baseUrl);if(b=a.ppv_remarketing_url)this.ppvRemarketingUrl=b;this.Io=a.sdetail;b=a.session_data;!this.Xt&&b&&(this.Xt=g.jE(b).feature);this.isFling=1==jM(this.isFling?1:0,a.is_fling);
this.vnd=jM(this.vnd,a.vnd);this.Gq=kM(this.Gq,a.force_ads_url);this.ag=kM(this.ag,a.ctrl);this.pf=kM(this.pf,a.ytr);this.Tm=a.ytrcc;this.qC=a.ytrexp;this.slotPosition=jM(this.slotPosition,a.slot_pos);this.Yo=hM(this.Yo,a.ssrt);this.videoId=mM(a)||this.videoId;this.vssCredentialsToken=kM(this.vssCredentialsToken,a.vss_credentials_token);this.Bp=kM(this.Bp,a.vss_credentials_token_type);this.heartbeatToken=kM(this.heartbeatToken,a.heartbeat_token);this.heartbeatInterval=jM(this.heartbeatInterval,a.heartbeat_interval);
this.heartbeatRetries=jM(this.heartbeatRetries,a.heartbeat_retries);this.heartbeatSoftFail=hM(this.heartbeatSoftFail,a.heartbeat_soft_fail);this.Vr=hM(this.Vr,a.ithb);this.relativeLoudness=jM(this.relativeLoudness,a.relative_loudness);this.Sl=hM(this.Sl,a.audio_only);if(a.ad3_module||a.ad_module)this.adModule=!0,"1"==a.ad_preroll&&this.Zd.push("ad");if(b=a.adaptive_fmts)this.adaptiveFormats=b;b=a.atc;void 0!=b&&(this.qk=b);if(b=a.license_info)this.Hc=nma(b);if(b=a.allow_embed)this.allowEmbed="1"==
b;if(b=a.backgroundable)this.backgroundable="1"==b;if(b=a.autonav)this.Rn="1"==b;if(b=a.autoplay)this.Hl="1"==b;(b=a.iv_load_policy)?this.Ig=iM(this.Ig,b,BM):(b=kO(this.sb))&&b.loadPolicy&&(this.Ig=jva[b.loadPolicy]);if(b=a.cc_lang_pref)this.Kg=kM(b,this.Kg);if(b=a.cc_load_policy)this.Lg=iM(this.Lg,b,BM);"0"==a.dash&&(this.Ww=!0);if(b=a.dashmpd){this.Qd=g.Ug(b,{cpn:this.clientPlaybackNonce});b=/\/(s|ss)\/([^/?]+)/;var c=b.exec(this.Qd);if(c){var d="s"==c[1]?"signature":"sig";c=jL(c[2]);this.Qd=this.Qd.replace(b,
"/"+d+"/"+c)}}if(b=a.delay)this.Af=Db(b);if(b=a.drm_session_id)this.drmSessionId=b;b=a.end;void 0!=b&&(this.clipEnd=jM(this.clipEnd,b));a.fair_play_cert&&window.atob&&(this.fairPlayCert=(0,window.atob)(a.fair_play_cert));if(b=a.fmt_list)this.fmtList=b;a.fresca_preroll&&this.Zd.push("fresca");a.heartbeat_preroll&&this.Zd.push("heartbeat");if(b=a.idpj)this.wj=Db(b);if(b=a.ismb)this.sg=Db(b);if(b=a.is_listed)this.isListed=hM(this.isListed,b);if(b=a.paid_content_overlay_duration_ms)this.XB=Db(b);if(b=
a.paid_content_overlay_text)this.sT=b;if(b=a.url_encoded_fmt_stream_map)this.hk=b;if(b=a.hls_formats)this.hlsFormats=b;if(b=a.hlsvp)this.hlsvp=b;if(b=a.length_seconds)this.lengthSeconds=g.v(b)?Db(b):b;if(b=a.live_chunk_readahead)this.liveChunkReadahead=jM(this.liveChunkReadahead,b);if(b=a.live_start_walltime)this.liveStartWalltime=Db(b);if(b=a.live_manifest_duration)this.ls=Db(b);if(b=a.ldpj)this.il=Db(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.mf=jM(this.mf,b);if(b=a.probe_url)this.probeUrl=
AH(g.Ug(b,{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.profilePicture=kM(b,this.profilePicture);(b=a.pyv_billable_url)&&g.xH(b)&&(this.Do=b);(b=a.pyv_conv_url)&&g.xH(b)&&(this.Eo=b);if(b=a.video_masthead_ad_quartile_urls)this.xs=b.quartile_0_url,this.iz=b.quartile_25_url,this.jz=b.quartile_50_url,this.kz=b.quartile_75_url,this.hz=b.quartile_100_url;"1"==a.spacecast_playback&&(this.Zd.push("spacecast"),this.spacecastModule=!0,this.Fi.wT=!0);if(d=a.spacecast_addrs)this.spacecastModule=
!0,b={},b.addresses=d.split(","),b.probe=!0,(d=a.spacecast_query_params)&&(b.applianceQueryParams=d),this.Fi.init=b;0<this.startSeconds||(this.ff=this.startSeconds=jM(this.startSeconds,a.start||a.startSeconds));b=a.live_utc_start;null!=b&&(this.liveUtcStartSeconds=(0,window.parseInt)(b,10));b=a.start;void 0==b||"1"==a.resume||this.ua||(this.clipStart=jM(this.clipStart,b));if(b=a.two_stage_token)this.zh=b;if(b=a.url_encoded_third_party_media)this.ck=mE(b);if(b=a.watch_ajax_token)this.watchAjaxToken=
b;a.ypc_module&&this.Zd.push("ypc");a.ypc_clickwrap_module&&this.Zd.push("ypc_clickwrap");if(b=a.ypc_offer_button_formatted_text)b=g.jx(b),this.ypcOfferButtonFormattedText=null!=b?b:null;this.Ql=kM(this.Ql,a.ucid);(0,g.B)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(b){a[b]&&(this.ye[b]=a[b])},this);
this.ye.focEnabled=hM(this.ye.focEnabled,a.focEnabled);this.ye.rmktEnabled=hM(this.ye.rmktEnabled,a.rmktEnabled);this.hc=a;lO(this,a,!1);oO(this)?PE()&&(this.ua&&this.Qd?this.Vi=!0:this.fairPlayCert&&(this.ii=!0)):this.adaptiveFormats&&!this.ua?(rO(this,nL(tO(this,this.adaptiveFormats),this.Hc,this.lengthSeconds,void 0)),lL(this.na)&&(this.ii=!0)):this.Qd&&(this.Vi=!0);if(b=a.adpings)this.Vv=b?g.lE(b):null;if(b=a.feature)this.Kl=b;if(b=a.referrer)this.referrer=b;if(b=a.multifeed_metadata_list)this.Hh=
mE(b);this.clientScreenNonce=kM(this.clientScreenNonce,a.csn);this.rootVeType=jM(this.rootVeType,a.root_ve_type);this.Tn=jM(this.Tn,a.kids_age_up_mode);this.tp=hM(this.tp,a.upg_content_filter_mode);if(b=a.unplugged_location_info)this.ud=b;if(b=a.unplugged_partner_opt_out)this.fk=kM("",b);if(b=a.partial_spherical)this.partialSpherical="1"==b;if(b=a.fflags)if(b=g.jE(b).enable_spherical_kabuki)this.bx="true"==b;this.bl=kM(this.bl,a.internal_ip_override);this.hasSubfragmentedFmp4=hM(this.hasSubfragmentedFmp4,
a.sfmp4);this.defraggedFromSubfragments=hM(this.defraggedFromSubfragments,a.dfs);this.liveExperimentalContentId=jM(this.liveExperimentalContentId,a.live_experimental_content_id)};
g.h.bd=function(){return!this.ua||this.ig};
g.h.nK=function(a){(this.Nf=a)&&"fairplay"==this.Nf.flavor&&(this.Nf.fairPlayCert=this.fairPlayCert);qO(this)};
g.h.kc=function(){return!(!this.na||!this.na.l)};
g.h.IP=function(a){if(!this.ha()){if(this.bp){var b=uL(a,this.bp);b&&(a=b)}rO(this,a);this.ua&&this.na.subscribe("refresh",this.lB,this);(0,g.BQ)("mrc");lL(this.na)&&(this.ii=!0);qO(this)}};
g.h.HP=function(a){this.ha()||(this.ih=!1,this.T("dataloaderror",new g.UM("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.lB=function(){this.ha()||(this.na.isLive||this.na.unsubscribe("refresh",this.lB,this),this.yw())};
g.h.yw=function(){var a=this.na.Ce(this.hs);0<a.length&&(this.T("cuepointupdated",a),this.hs+=a.length)};
g.h.zK=function(a){if(this.spacecastFormatMap){var b=tO(this,this.spacecastFormatMap);return $M(a,this.isAd(),b,uO(this,a)).then(this.Vo,void 0,this).then(this.tx,void 0,this)}return dF()};
g.h.wK=function(a,b){var c=b||oO(this);if(this.na&&!c){if(c=!a.deviceHasDisplay||this.Sl&&a.Cb){var d=this.na,e=this.ua;if(!d.g["0"]){var f=new eI(0,0,0,void 0,void 0,"auto");f=new jI("0","fakesb",void 0,f,null,null,1);d.g["0"]=e?new SK(new g.vK("http://www.youtube.com/videoplayback"),f,"fake"):new g.eL(new g.vK("http://www.youtube.com/videoplayback"),f,new g.KJ(0,0),new g.KJ(0,0),0,window.NaN)}}return RL(a.Y,this.na,this.Nf,!1,Jla(a),c).then(this.Wo,void 0,this)}return dF()};
g.h.xK=function(a){if(this.hlsFormats){var b=tO(this,this.hlsFormats);if(!a.experiments.g("html5_hls_select_audio_killswitch")){var c;if(II||SE()||PE())if(c=WM(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.id,e[l]||(m=new aI(l,m.Nb),e[l]=m,d.push(m)))}c=0<d.length?d:null}else c=null;else c=null;this.Hn=c}return Nla(a,this.isAd(),b,this.sg).then(this.Vo,void 0,this)}return dF()};
g.h.AK=function(a){if(this.ck&&this.Py){var b=this.isAd(),c=Ola(this.ck);a=YI(c,HM(a,b)).then(this.Vo,void 0,this)}else a=dF();return a};
g.h.yK=function(a){var b=tO(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 $M(a,this.isAd(),b,uO(this,a)).then(this.Vo,void 0,this)};
g.h.Wo=function(a){this.Ka=a;/^r/.test(this.clientPlaybackNonce)&&this.kc()&&(this.gi=!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.iq||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.Dq=this.captionTracks[c.defaultCaptionTrackIndex]);
g.t(c.forcedCaptionTrackIndex)&&(e.sn=this.captionTracks[c.forcedCaptionTrackIndex]);e.kq=c.visibility||"UNKNOWN"}}};
g.h.Vo=function(a){this.xg=a;this.Wo(new LL((0,g.G)(this.xg,function(a){return a.pg()})))};
g.h.tx=function(){var a=jk(this.Ka.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.lw=aJ(a.quality,a.quality,!0,"c"))};
g.h.Sd=function(){var a={};this.Ia&&(a.fmt=iI(this.Ia),this.Xb&&iI(this.Xb)!=iI(this.Ia)&&(a.afmt=iI(this.Xb)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Em&&(a.infringe=1);this.ah&&(a.splay=1);this.ua&&(a.live=this.ig?"dvr":"live");this.Hl&&(a.autoplay=1);this.Io&&(a.sdetail=this.Io);this.mf&&(a.partnerid=this.mf);this.osid&&(a.osid=this.osid);return a};
g.h.getStoryboardFormat=function(){if(this.sb&&this.sb.storyboards){var a=this.sb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.hc.storyboard_spec||this.hc.live_storyboard_spec||null};
g.h.De=function(){return this.na&&!(0,window.isNaN)(this.na.De())?this.na.De():this.kc()?0:this.lengthSeconds};
g.h.Fb=function(){return this.na&&!(0,window.isNaN)(this.na.Fb())?this.na.Fb():0};
g.h.Ed=function(){return!this.ha()&&!(!this.videoId&&!this.ck)};
g.h.Mb=function(){return BO(this)&&!this.Vi&&!this.ii};
g.h.GC=function(){var a={format:"RAW",method:"GET",withCredentials:this.tC};this.Xj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.Wq&&(a.timeout=this.Wq);var b=this.Xq;0<this.No&&(b=g.uE(b,{playerretry:this.No}));this.Ox?gL(aF,b,a).then(cE(this.sB),cE(this.gQ),this):(a.context=this,a.onSuccess=this.sB,a.onError=this.lr,g.EE(b,a));(0,g.BQ)("vir");UN("vir");this.Nx=g.yG()};
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:KM(a,this.videoId,b)};
g.h.sB=function(a){if(!this.ha()){var b=a.responseText;if(b){this.ih=!1;var c=g.lE(b);this.My&&bN(c);"fail"==c.status?(this.PC&&this.setData(c),this.T("onStatusFail",c)):((0,g.BQ)("virc"),UN("virc"),(0,g.B)(g.kva,function(a){a in this.hc&&(c[a]=this.hc[a])},this),this.setData(c),BO(this)?qO(this):this.T("dataloaderror",new g.UM("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.lr(a)}};
g.h.gQ=function(a){this.lr(a.g)};
g.h.lr=function(a){if(!this.ha()){var b=a?a.status:-1;a=this.No>=this.du||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=((g.yG()-this.Nx)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.du?(c="manifest.net.retryexhausted",b.urllen=String(this.Xq.length)):a||(this.No++,this.FC.start());this.T("dataloaderror",new g.UM(c,a,b))}};
g.h.getAvailableAudioTracks=function(){return this.Ka?0<this.Ka.getAvailableAudioTracks().length?this.Ka.getAvailableAudioTracks():this.Hn||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.Xb&&"application/x-mpegURL"!=this.Xb.mimeType)return g.Ma(this.getAvailableAudioTracks(),function(b){return b.id==a.Xb.id})||this.Nh;
if(this.Hn){if(!this.Ml)for(var b=g.la(this.Hn),c=b.next();!c.done;c=b.next())if(c=c.value,c.Nb.isDefault){this.Ml=c;break}return this.Ml||this.Nh}return this.Nh};
g.h.getPlayerResponse=function(){return this.sb};
g.h.getPlaylistId=function(){return null};
g.h.Ub=function(){return this};
g.h.Nk=function(a){return a.getVideoUrl(this.videoId)};
g.h.Lf=function(){return!!this.na&&this.na.Lf()};
g.h.Mf=function(){return!!this.na&&this.na.Mf()};
g.h.Ze=function(){return!!this.na&&this.na.Ze()};
g.h.fi=function(){return!!this.na&&this.na.fi()};
g.h.isAd=function(){return!!this.adFormat};
g.kva="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(" ");kma="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(" ");
jO=["annotations","captions","storyboard","chapterMarkers"];OO.prototype.isEmpty=function(){return this.endTime==this.startTime};QO.prototype.update=function(){var a=this.l.l()||0,b=g.WO(this.l);if(a!=this.g||UO(this,a,b)){var c;if(!(c=a<this.g||a-this.g>b-this.C+2||UO(this,a,b))){var d=this.l.Sd();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.RO(this),this.o=a);this.C=b;this.g=a}};var YO={other:1,none:2,wifi:3,cellular:7};g.JP=g.Lf(function(){var a="";try{var b=g.Fd("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});var Boa={tW:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",zW:"ERROR_AUTHENTICATION_MALFORMED",AW:"ERROR_AUTHENTICATION_MISSING",FW:"ERROR_BAD_REQUEST",hX:"ERROR_CGI_PARAMS_MALFORMED",iX:"ERROR_CGI_PARAMS_MISSING",OX:"YTP_DEVICE_FALLBACK",rY:"YTP_ERROR_LICENSE",sY:"YTP_ERROR_VIDEO_UNAVAILABLE",FY:"YTP_ERROR_FORMAT_UNAVALIABLE",IY:"YTP_ERROR_GEO_FAILURE",aZ:"YTP_ERROR_GENERIC_WITHOUT_LINK",bZ:"YTP_HTML5_FLASH_DEPRECATED",cZ:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
tZ:"YTP_ERROR_INVALID_DRM_MESSAGE",n0:"YTP_ERROR_PURCHASE_NOT_FOUND",o0:"YTP_ERROR_PURCHASE_REFUNDED",u0:"YTP_ERROR_RENTAL_EXPIRED",cX:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",dX:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",fX:"YTP_ERROR_CAST_TOKEN_FAILED",eX:"YTP_ERROR_CAST_TOKEN_EXPIRED",gX:"YTP_ERROR_CAST_TOKEN_MALFORMED",P0:"YTP_ERROR_SERVER_ERROR",p1:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",u1:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",r1:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",t1:"YTP_ERROR_STREAMING_NOT_ALLOWED",
D0:"YTP_ERROR_RETRYABLE_ERROR",L1:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",K1:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",r2:"YTP_ERROR_UNSUPPORTED_DEVICE",H2:"YTP_ERROR_VIDEO_FORBIDDEN",J2:"YTP_ERROR_VIDEO_NOT_FOUND"},rma={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 lva=r1&&4>B_?.1:0,hta=new gP;gP.prototype.g=null;gP.prototype.getDuration=function(){return this.duration||0};
gP.prototype.getCurrentTime=function(){return this.currentTime||0};
gP.prototype.l=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.p(hP,g.K);g.h=hP.prototype;g.h.od=function(){this.g.ended&&this.Zb(0);!this.Td()&&this.l&&(g.bE(Error("playVideo without src")),kP(this,this.l.g),this.l.l||this.load());var a=this.play();!a&&r1&&7<=B_&&SF(this,"playing",(0,g.z)(function(){g.gE((0,g.z)(this.xx,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.xx=function(a,b){this.g.paused||this.getCurrentTime()>a||10<b||(this.play(),g.gE((0,g.z)(this.xx,this,this.getCurrentTime(),b+1),500))};
g.h.Zb=function(a){0<this.g.readyState&&(r1&&4>B_&&(a=Math.max(.1,a)),this.g.currentTime=a)};
g.h.Me=function(){!this.o&&this.Td()&&(II&&0<this.getCurrentTime()&&this.Zb(0),this.g.removeAttribute("src"),this.load(),jP(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.zL,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.Bw=function(){this.C&&!this.g.muted&&(xI(),this.g.muted=!0)};
g.h.V=function(){this.D&&this.removeEventListener("volumechange",this.Bw);g.K.prototype.V.call(this)};g.p(tP,g.ef);tP.prototype.preventDefault=function(){g.ef.prototype.preventDefault.call(this);this.g&&this.g.preventDefault()};
tP.prototype.stopPropagation=function(){g.ef.prototype.stopPropagation.call(this);this.g&&this.g.stopPropagation()};g.wP.prototype.fb=function(){return g.W(this,8)&&!g.W(this,64)&&!g.W(this,2)};
g.wP.prototype.isError=function(){return g.W(this,128)};
var xP=!1;g.p(NP,g.K);
NP.prototype.B=function(a){if(!this.ha()&&(a=0<=a?a:g.WO(this.g),"PL"!=this.o&&!this.g.g.experiments.g("html5_report_all_states")||g.Yb(this.l)&&!(a>=this.A+30)||(g.MP(this,a,"vps",[this.o]),this.A=a),!g.Yb(this.l)&&!this.oa)){QP(this,a);var b=a,c=this.g.D(),d=c.droppedVideoFrames,e=d-this.aa;if(d>c.totalVideoFrames||5E3<e)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else 0<e&&g.MP(this,b,"df",[e]);this.aa=d;!this.g.g.experiments.g("disable_webgl_reporting")&&0<this.C&&
(g.MP(this,a,"glf",[this.C]),this.C=0);a={event:"streamingstats"};this.g.videoData.Ia&&(a.fmt=iI(this.g.videoData.Ia),(b=this.g.videoData.Xb)&&iI(b)!=a.fmt&&(a.afmt=iI(b)));a.cpn=this.g.videoData.clientPlaybackNonce;a.ei=this.g.videoData.eventId;a.el=HO(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.Ba;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.bE(Error("Sent over 7000 pings"),"WARNING"),7E3<=this.I))return;g.fc(a,this.g.g.A);a=g.Ug("//"+this.g.g.Hg+"/api/stats/qoe",a);c=b="";for(var f in this.l)null==this.l[f]?g.bE(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")?YE(a+b,void 0,c.replace(/ /g,"%20")):YE(a+b+c);this.l={}}};
NP.prototype.la=function(){if(this.g.videoData.Nf){var a=this.g.videoData.Nf;TP(this,"drm-"+a.flavor);TP(this,"eme-"+(a.l?"final":EL(a)?"ms":"com.youtube.fairplay"==a.g?"ytfp":IL(a)?"safarifp":"nonfinal"))}};
NP.prototype.onError=function(a,b){var c=g.WO(this.g);SP(this,c,a,b);QP(this,c);RP(this)};
NP.prototype.V=function(){g.K.prototype.V.call(this);window.clearInterval(this.Y)};
var t1={},wma=(t1[5]="N",t1[-1]="N",t1[3]="B",t1[0]="EN",t1[2]="PA",t1[1]="PL",t1);UP.prototype.send=function(a){if(!this.R){var b=XP(this);b=g.Ug(this.ib,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.EE(b,a));else{var c=VP(this,a);c?g.EE(b,c):g.WE(b,a)}this.R=!0}};
UP.prototype.g=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.p(ZP,g.K);g.h=ZP.prototype;g.h.KP=function(a,b){if(!this.ha()){this.D=window.NaN;this.o.update();var c=TO(this.o),d=rQ(this,c);b&&(d.C=a);var e=400<this.I;!(1<c.length)&&c[0].isEmpty()||e||(d.l=$P(this,!0,a));d.send();this.I++}};
g.h.onError=function(a,b){if(!this.ha())this.l.onError(a,b)};
g.h.So=function(a){var b=this.g.g,c=this.g.videoData,d={ns:b.Ca,el:HO(c,b),eurl:b.oa,fmt:c.Ia?iI(c.Ia):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};KO(c,b)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=SO(this.o));g.Ga(d,b.A);tQ(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.iE(this.D);this.D=window.NaN;var a=this.o;window.clearInterval(a.D);a.D=window.NaN;g.iE(this.A)};g.p(yQ,PH);g.h=yQ.prototype;g.h.Pa=function(){return KU(this.app)};
g.h.Gz=function(a,b,c,d,e){return Lta(this.app,a,b,c,d,e)};
g.h.ZL=function(a,b,c){this.app.g.B.add(a,{Jh:b,ek:c})};
g.h.bM=function(a,b){m0(this.app,a,b||this.playerType)};
g.h.jh=function(a){return e0(this.app,a)};
g.h.jo=function(a,b,c,d){i0(this.app,a,c||this.playerType,b,d)};
g.h.Sz=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=mM(a);b.oa.get(d+e)||b.D&&b.D.getVideoData().videoId==e||(b.g.jc&&bN(a),a=new g.iO(a),b.oa.get(d+a.videoId)||(a.Ao=!0,c?(c=g.MU(b,d),j0(b,d)):c=xta(b,d),ZT(c,a,(0,g.z)(b.Sd,b)),b.g.experiments.g("unplugged_tvhtml5_video_preload_on_focus")&&1==d||bU(c,!0),b.oa.set(d+a.videoId,c),b="prefetch_"+a.videoId,LN("prefetch",["pfp"],void 0,b),(0,g.CQ)("docid",a.videoId,b)))};
g.h.Gj=function(a,b){q0(this.app,a,b)};
g.h.rl=function(a){Kta(this.app,a)};
g.h.he=function(a,b,c){Pta(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.DM=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.C)?this.isFullscreen()&&((c=c[b.de()])&&c.encrypted_id!=b.Ub().videoId||(a.index=b.de())):X_(this.app,{list:a.list,index:a.index,playlist_length:c.length});OQ(this.app.C,a);this.sa("onPlaylistUpdate")}}else a=this.app,Y_(a),a.l.sa("onPlaylistUpdate")};
g.h.CM=function(){HG()};
g.h.EM=function(a,b){var c=g.MU(this.app,this.playerType||1);c&&c.getVideoData().Dg(a,b)};
g.h.getPlayerResponse=function(){var a=g.MU(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return this.app.getVideoData().getStoryboardFormat()};
g.h.iM=function(a,b){var c=g.zO(this.app.getVideoData());if(!c)return null;c=c.g[b];return c?(c=g.dN(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.jM=function(a,b){var c=g.zO(this.app.getVideoData());return c?(c=c.g[b])?c.Ij(a):-1:-1};
g.h.kM=function(a){var b=g.zO(this.app.getVideoData());return b?(b=b.g[a])?{index:a,intervalMs:b.l,maxFrameIndex:b.wl(),minFrameIndex:b.oo()}:null:null};
g.h.gM=function(){var a=g.zO(this.app.getVideoData());return a?a.g.length:0};
g.h.eM=function(){var a=this.app.g;return{jc:a.jc,Cb:a.Cb}};
g.h.getVideoData=function(){var a=PH.prototype.getVideoData.call(this),b=g.MU(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.hasVideoContentProtection=!!g.vO(b),a.isLive=b.ua,a.itct=b.xj,a.paidContentOverlayText=wO(b),a.paidContentOverlayDurationMs=xO(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds));return a};
g.h.getCurrentTime=function(a){return a?this.app.getCurrentTime(a):PH.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a){return a?this.app.getDuration(a):PH.prototype.getDuration.call(this)};
g.h.kh=function(a){if(3==this.Pa())return g.LU(this.app.A).VM();var b=this.app.getVideoData(),c=g.MU(this.app,a)||g.MU(this.app),d=this.app.bd(),e=b.clipEnd;b=b.clipStart;var f=this.getCurrentTime(a);a=this.getDuration(a);var k=AU(c),l=qU(c),m=g.MU(this.app,void 0);if(m){var n=window.NaN;m.l&&(n=pP(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:Roa(c),seekableStart:c.Fb()}};
g.h.Ms=function(a){return zta(this.app,a)};
g.h.aM=function(a){return V_(a)};
g.h.Tz=function(a,b){var c=g.MU(this.app,this.playerType);if(c){var d=aJ(a,b||a,!0,"m");c.g.vp=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.dI[lH()];e=e.Ka.videoInfos[0].video.l;if(f>e&&0!=e&&d.g==e)break a}g.eH("yt-player-quality",eJ(d),2592E3)}tU(c,"m")}};
g.h.dM=function(){var a=this.app.getVideoData();var b=this.app.getCurrentTime();if(a.na&&a.ua&&a.Ia){var c=a.na.g[a.Ia.id];c&&c.index?(a=c.index.Tg(b),c=c.index.Wd(a),b={sequence:a,elapsed:Math.floor(1E3*(b-c))}):b=null}else b=null;return b};
g.h.ri=function(a){var b=this.app,c=g.MU(b,this.playerType);c&&b.g.Ta.has(a.toString())&&c.C&&(b=qQ(c.C,"engage"),b.o=a,b.send(void 0))};
g.h.tl=function(a,b,c){var d=this.app.A.A;d&&d.nl()&&d.Es(a,b,c)};
g.h.nM=function(a,b){var c=g.WH(this);c&&c.Is(a,b)};
g.h.getAudioTrack=function(){var a=g.MU(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().Nh};
g.h.Rs=function(a){3==this.Pa()&&g.LU(this.app.A).ul("control_set_audio_track",a);var b=g.MU(this.app,this.playerType);if(b&&!b.ha()&&!g.W(b.o,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 PQ(c.L,c.B,c.F));b.T("reattachrequired")}}else{a:if(c=b.g,"application/x-mpegURL"!=c.Xb.mimeType||a==c.Ml||!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 XM)){c=!1;break a}e.o&&(e.o.l=
a.Nb.id,e.l=null)}c.Ml=a;c=!0}c&&(b.g.Xb&&iU(b,"m",b.g.Xb),rU(b)&&b.Ec("hlsaudio",a.id))}};
g.h.getAvailableAudioTracks=function(){return g.MU(this.app,this.playerType).getAvailableAudioTracks()};
g.h.fM=function(){var a=g.MU(this.app,this.playerType);return a&&a.getVideoData().Ia?eJ(zT(a.N,a.g)):"unknown"};
g.h.lM=function(){var a=g.MU(this.app,this.playerType);return a?a.A.experiments.g("html5_appletv_quality_selection_killswitch")||!a.g.Ka||a.g.Ka.g?lH():eJ(a.g.vp):"auto"};
g.h.xM=function(a,b){var c=this.app;c.re=a;c.Vb=b;c.l.T("sizestylechange",a,b);c.F.hf()};
g.h.cM=function(){var a=this.app.A.F;a&&a.XH()};
g.h.Uz=function(){var a=g.WH(this);a&&a.co(!0)};
g.h.Qz=function(){var a=g.WH(this);a&&a.co(!1)};
g.h.pi=function(){var a=this.app.g;a=g.DY(this.app)&&!a.experiments.g("kevlar_miniplayer_disable_vis");var b=this.isFullscreen()||yM(this.app.g),c=this.Rz();return this.ol()?4:IT()?3:b?2:a?1:c?5:0};
g.h.isFullscreen=function(){return this.app.isFullscreen()};
g.h.Rz=function(){var a=this.app;return a.g.experiments.g("html5_new_vis")?a.ca.g:a.Ld};
g.h.ol=function(){var a=g.MU(this.app,this.playerType);return!!a&&a.za};
g.h.BM=function(){return!0};
g.h.Pz=function(a){a=g.H_(this.app.F,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.wM=function(a){this.app.g.enableSafetyMode=a};
g.h.AM=function(a){if(this.app.g.ob!=a){this.app.g.ob=a;var b=g.MU(this.app,this.playerType);b&&tU(b,a?"e":"a")}};
g.h.rM=function(a){xF();s0(this.app,a?2:0)};
g.h.Os=function(){var a=this.app.A.B;a&&a.created&&a.destroy();(a=g.MU(this.app))&&yU(a);(a=this.app.A.H)&&a.fK()&&g.JU(this.app.H,!0)};
g.h.Me=function(){var a=this.app.g;!a.experiments.g("disable_new_pause_state3")&&NM(a)&&"blazer"!=a.playerStyle?this.Os():PH.prototype.Me.call(this)};
g.h.Px=function(){return BU(g.MU(this.app,this.playerType),!0)};
g.h.ko=function(a){this.app.A.l.Au(a,!0)};
g.h.oi=function(){var a=this.app.A.l;return a?a.Tq():null};
g.h.Qs=function(){this.app.A.l.vC()};
g.h.oM=function(){var a=g.MU(this.app,this.playerType);if(!a)return!1;a=a.getVideoData();return!!a&&a.Ed()&&!!a.Ia&&a.Ia.video.isAccelerated&&a.Ia.video.o};
g.h.isPeggedToLive=function(a){return this.app.isPeggedToLive(void 0===a?!0:a)};
g.h.vM=function(a){var b=this.app;b.xd=a;var c=b.ca;c.l!=a&&(c.l=a,c.o());a=b.A;(a=g.X(a.g).useMiniplayerUi?a.aa:null)&&(g.DY(b)?a.load():a.unload());b.l.T("minimized")};
g.h.tM=function(a){var b=this.app;b.Ld=a;b=b.ca;b.g!=a&&(b.g=a,b.o())};
g.h.pl=function(a){return d0(this.app,a)};
g.h.ho=function(a){if(a){var b=this.app.A.o;b&&b.Ez(a,!1)}};
g.h.yM=function(a){this.ho(a)};
g.h.hM=function(){return this.eo()};
g.h.eo=function(){var a=this.app.A.o;return a?a.Dz():{}};
g.h.qM=function(a){var b=this.app;b.g.Jg=a;b.D&&(a=b.D,a.C&&g.RO(a.C.o),b.g.I&&Rta(b))};
g.h.pM=function(){};
g.h.setVolume=function(a,b){TH(this,a,b)};
g.h.mute=function(a){UH(this,a)};
g.h.Tf=function(a){VH(this,a)};
g.h.gK=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()}PH.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()}PH.prototype.sl.call(this,a)};
g.h.Fd=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(a=d.B)&&a.bA&&a.bA(b,c);case "remote":return(a=g.LU(d))&&a.UM(b,c);case "unplugged":return(a=g.MM(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.TK(b,c);case "creatorendscreen":return(a=d.D)&&a.ZK(b,c)}return PH.prototype.Fd.call(this,a,b,c)};
g.h.ni=function(a){var b=this.app.A;switch(a){case "ad":return(b=b.B)&&b.ZM&&"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ");case "remote":return g.LU(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.A)&&b.UK();case "creatorendscreen":return(b=b.D)&&b.aL();case "unplugged":return(g.MM(g.X(b.g))?b.C:null)&&"settingsMenuShown hideSettingsMenu showSettingsMenu getStoryboardFrameData getStoryboardFrameIndex getStoryboardFrameIntervalSeconds getStoryboardMaxFrameIndex".split(" ")}return a?
PH.prototype.ni.call(this,a):(a=PH.prototype.ni.call(this),b.B&&a.push("ad"),g.LU(b)&&a.push("remote"),b.A&&a.push("annotations_module"),b.D&&a.push("creatorendscreen"),g.MM(g.X(b.g))&&b.C&&a.push("unplugged"),a)};
g.h.Ps=function(){var a=this.app.F.Ha();return{width:a.width,height:a.height}};
g.h.sM=function(a){var b=this.app.F;b.K=lM(a,!0);b.hf()};
g.h.XU=function(){var a=g.WH(this);a&&a.Ks()};
g.h.mM=function(){return g.G_(this.app.F)};
g.h.zM=function(a){var b=this.app.F;b.X!=a&&(b.X=a,b.hf())};
g.h.uM=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(zQ,yQ);g.h=zQ.prototype;g.h.od=function(){k0(this.app,!0,this.playerType);XX(this.app,this.playerType)};
g.h.cd=function(){ZX(this.app,this.playerType)};
g.h.he=function(a,b,c){k0(this.app,!0,this.playerType);var d=this.app,e=this.playerType;$X(d,d.getCurrentTime()+a,b,c,e)};
g.h.Zb=function(a,b){k0(this.app,!0,this.playerType);$X(this.app,a,b,void 0,this.playerType)};
g.h.Me=function(){Ota(this.app)};AQ.prototype.reset=function(){GN("")};
AQ.prototype.g=function(a,b){(0,g.BQ)(a,b,"")};
AQ.prototype.info=function(a,b){(0,g.CQ)(a,b,"")};g.p(g.EQ,g.K);g.EQ.prototype.B=function(){return this.ia};
g.EQ.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.ia+"}["+FQ(this.start)+", "+FQ(this.end)+"]"};
g.EQ.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 zma=1;g.EQ.prototype.getId=g.EQ.prototype.B;g.HQ.prototype.toString=function(){return this.type+this.id};g.p(g.JQ,g.ZF);g.h=g.JQ.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.zb+1<this.gh};
g.h.If=function(a){return this.loop||!!a||0<=this.zb-1};
g.h.Ub=function(a,b,c){a=void 0!=a?a:this.zb;a=this.Ga&&a in this.Ga?this.Ga[this.Yd[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.iO(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.dD=a;a=this.Yd&&null!=this.Yd[this.zb]?this.Yd[this.zb]:this.zb;this.Yd=[];for(var b=0;b<this.Ga.length;b++)this.Yd.push(b);this.zb=a;this.Vn++;if(this.dD){a=this.Yd[this.zb];for(b=1;b<this.Yd.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.Yd[b];this.Yd[b]=this.Yd[c];this.Yd[c]=d}for(b=0;b<this.Yd.length;b++)this.Yd[b]==a&&(this.zb=b);this.Vn++}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.mD.length)return KM(a,this.mD[0],b)};
g.h.de=function(){return this.zb};
g.h.getLength=function(){return this.gh};
g.h.Ek=function(a){if(a&&(a=a.videoId,!this.Ga[this.zb]||this.Ga[this.zb].video_id!=a))for(var b=0;b<this.Ga.length;b++)if(this.Ga[b].video_id==a){this.zb=b;break}};
g.h.onReady=function(a){this.Jl=a;this.Qc&&g.gE(this.Jl,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Nk=function(a){return a.getVideoUrl(this.Ub().videoId,this.getPlaylistId())};
g.h.V=function(){this.Jl=null;g.df(this.Ga);g.ZF.prototype.V.call(this)};QQ.prototype.add=function(a){this.g=(this.g+1)%this.l.length;this.l[this.g]=a};
QQ.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(VQ,g.ZF);VQ.prototype.isPeggedToLive=function(){return this.C};dR.prototype.reset=function(){this.W=gR(this);fR(this);this.g=new cR(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.H=window.NaN;this.l=this.I=0;this.N=!1};
dR.prototype.process=function(a){var b=!1;if(this.A.length){if(jR(this)&&this.A.length+a.byteLength<this.B)return kR(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(jR(this)){if(e<this.B)return kR(this,a,c),0;switch(this.g.type){case 0:f=hR(this,a,c);b||0!=c||(d=this.g.type);break;
case 1836019574:case 1836019558:f=hR(this,a,c);break;case 1953653094:e=a;f=c;this.I||(this.I=wJ(lR(this,e,f),this.l));f=hR(this,e,f);break;case 1836476516:this.l=yJ(lR(this,a,c));iR(this);f=this.g.size-8;break;case 1952867444:e=void 0;(0,window.isNaN)(this.C)||(f=lR(this,a,c),this.D.Jd?e=this.Y(EJ(f),this.l):e=this.D.Y?this.C:EJ(f),this.D.Y&&DJ(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=lR(this,a,c),f=GJ(e),this.l=FJ(e),iR(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 Jma=0;g.h=tR.prototype;g.h.CT=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(vR(this)),zR(this)):this.C.cancel("Cancelling")):BR(this)};
g.h.oP=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,BR(this)):(AR(this)?(yR(this,d),this.B(c,this.l,b)):(a=this.l,this.D.dv&&(a+=d.length),this.B(c,a,b),yR(this,d)),zR(this))}};
g.h.Zz=function(a){this.K=""+a;this.F=!0;BR(this)};
g.h.Xd=function(a){return this.I.get(a)};
g.h.Uk=function(){return!!this.I};
g.h.Iq=function(){return this.l};
g.h.xn=function(){return+this.Xd("content-length")};
g.h.ey=function(){return 200<=this.status&&300>this.status&&!!this.l};
g.h.hi=function(){return!!this.A.length||(this.H||AR(this))&&0<this.g};
g.h.ZC=function(){this.hi();this.A.length||wR(this);return this.A.shift()};
g.h.Vz=function(){this.hi();this.A.length||wR(this);return this.A[0]};
g.h.abort=function(){this.C&&this.C.cancel("Cancelling");this.N=this.B=null};
g.h.iD=function(){return!0};
g.h.oC=function(){return this.F};
g.h.Ts=function(){return this.K};g.h=CR.prototype;g.h.GM=function(){if(!this.l){this.status=this.g.status;try{this.response=this.g.response}catch(a){}this.o=!0;this.A()}};
g.h.IM=function(){2==this.g.readyState&&this.B()};
g.h.HM=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.Xd=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.bE(b),""}};
g.h.xn=function(){return+this.Xd("content-length")};
g.h.Iq=function(){return this.response.byteLength};
g.h.ey=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.hi=function(){return this.o&&!!this.response&&!!this.response.byteLength};
g.h.ZC=function(){this.hi();var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.Vz=function(){this.hi();return new window.Uint8Array(this.response)};
g.h.abort=function(){this.l=!0;this.g.abort()};
g.h.iD=function(){return!1};
g.h.oC=function(){return!1};
g.h.Ts=function(){return""};g.h=DR.prototype;g.h.Oa=function(){return this.A?this.A.Oa():""};
g.h.Tb=function(){return this.B};
g.h.start=function(a){HR(this,2);this.N=dva++;this.l?(this.K=Qka(this.info,this.l.o,this.l.length),this.A=g.OK(this.info,this.o,this.W,this.K)):(this.K=this.info.range,this.A=g.OK(this.info,this.o,this.W));var b=!1;if(this.o.oa&&2>this.info.l.g&&this.H){var c=this.A.get("aitags");if(c&&(NK(this.info)||MK(this.info))&&this.Y&&"auto"==lH()&&nH()){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=Lma(this,a)}catch(f){this.B="net.ssl";IR(this);return}0<this.o.L&&this.R.start()};
g.h.lT=function(){this.D=0;this.info.l.A=g.yG();var a=GR(this);a.A=g.yG();a.o+=1;a=this.timing;a.l=(0,g.F)();a.C=a.l;a.o=0;a.W=a.l;a.I=0;a.D&&(a.D=[]);a.Y=!1;a.X=!1;a.B=0;a.H=eM(a.g);sR(a);a.L=(a.N-a.l)/1E3;a.F=window.NaN;a.K=null};
g.h.kT=function(a,b,c){if(!this.ha()){this.C=this.g.status;QR(this,!1);var d=this.timing;a=a>d.l&&4E12>a?a:(0,g.F)();qR(d,a,b);50>a-d.C&&rR(d)&&3!=nR(d)||pR(d,a,b,c);b=this.timing;b.o>b.fa&&b.o>b.g.policy.l&&4>this.state?HR(this,4):NR(this)&&PR(this)&&HR(this,Math.max(3,this.state))}};
g.h.jT=function(){if(!this.ha()){if(!this.L&&this.g.Uk()&&this.g.Xd("X-Walltime-Ms")){var a=(0,window.parseInt)(this.g.Xd("X-Walltime-Ms"),10);this.L=((0,g.F)()-a)/1E3}this.g.Uk()&&this.g.Xd("X-Restrict-Formats-Hint")&&this.o.av&&!nH()&&g.eH("yt-player-headers-readable",!0,2592E3)}};
g.h.iT=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.ey()){var c="";OR(this)&&(c=a.Vz(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=vH(c)?c:""));if(c){a=GR(this);g.yG();a.o=0;a.l=0;a.g=0;a=this.info;var d=this.A;g.KK(a.l,d,c);a.requestId=d.get("req_id");HR(this,5)}else if(c=a.Iq(),(d=!!this.K&&this.K.length)&&d!=c||a.oC())b=!0,this.B="net.closed";else{QR(this,!0);var e=MR(this)?this.g.Xd("X-Bandwidth-Est"):
0;if(a=MR(this)?this.g.Xd("X-Bandwidth-Est3"):0)this.X=!0,this.o.NA&&(e=a);a=this.timing;d=(0,g.F)();e=e?(0,window.parseInt)(e,10):0;if(!a.Y){a.Y=!0;d=d>a.l&&4E12>d?d:(0,g.F)();qR(a,d,c);pR(a,d,c);var f=nR(a);if(2==f&&e)oR(a,a.o/e,a.o);else if(2==f||1==f)e=(d-a.l)/1E3,(e<=a.g.policy.B||!a.g.policy.B)&&!a.X&&rR(a)&&oR(a,e,c),rR(a)&&$L(a.g,c,a.B);c=a.g;d=(d-a.l)/1E3;e=a.L;f=MK(a.da);c.C.g(d,a.o/d);c.o=g.yG();f||c.l.g(1,d-e);a.A&&(a.A=!1)}a=GR(this);g.yG();a.o=0;a.l=0;a.g=0;this.info.l.g=0;HR(this,6)}}else b=
!0,this.B=204==a.status?"net.nocontent":"net.connect";b&&IR(this)}};
g.h.NT=function(){if(!this.ha()){var a=(0,g.F)(),b=!1;rR(this.timing)?(a=this.timing.N,sR(this.timing),this.timing.N-a>=.8*this.o.L?(this.D++,b=5<=this.D):this.D=0):(b=this.timing,a-=b.l+1E3*b.H.delay,this.o.Mc&&0<a&&(this.D+=1),b=a>1E3*this.o.ob);this.D&&this.F&&this.F(this);b?LR(this):this.R.start()}};
g.h.ha=function(){return-1==this.state};
g.h.dispose=function(){MK(this.info)&&6!=this.state&&(this.info.g[0].g.C=!1);HR(this,-1);this.F=null;this.R.dispose();KR(this)};
DR.DEBUG=!1;g.p(TR,g.ZF);dS.prototype.R=function(a,b){switch(b.info.type){case 1:case 2:this.L(b);break;case 4:var c=b.info.g.xz(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.ya==d.ya&&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:Pma(this.o,a,b)}};
dS.prototype.L=function(a){var b=this.o;if(1==a.info.type){var c=nK(a);kI(a.info.g.info)&&!lI(a.info.g.info)&&(dK(new XJ(c)),cK(21936,c));if(!b.o.nC&&lI(a.info.g.info)&&"bt2020"==a.info.g.info.video.primaries){var d=new XJ(c);ZJ(d,[408125543,374648427,174,224,21936,21937])&&(d=d.o+d.g,129==c.getUint8(d)&&1==c.getUint8(d+1)&&c.setUint8(d+1,9))}a.info.g.info.video&&RK(a.info.g,c);2==a.info.g.info.containerType&&a.info.g.info.video&&eK(c);ZR(b,a)&&g.mI(a.info.g.info)&&IJ(nK(a),1701671783)}a.info.g.qr(a)};
dS.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)};
dS.prototype.getDuration=function(){return this.l.index.gj()};LS.prototype.send=function(){g.EE(this.l,{format:"RAW",responseType:"arraybuffer",timeout:1E4,qd:this.o,rd:this.o,context:this});this.g=g.yG()};
LS.prototype.o=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.yG()-this.g)/1E3).toFixed(3),shost:g.Kg(this.l),trigger:this.C};204==a.status||a.response?this.A&&this.A(VM(b)):this.B(new g.UM("pathprobe.net",!1,b))};g.p(MS,g.ZF);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.Wa(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(hna(this,f));if(d)b=SS(this.g,0x7ffffffffffff),b=b.concat(ena(this.g));else if(this.A<=c&&b.fb()&&!g.W(b,16)&&!g.W(b,32)){b=this.g;d=
c;f=[];for(k=TS(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=SS(this.g,c);e=e.concat(gna(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().fb()&&(a=US(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.ZF);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"!=lH()&&(e.F="s");BS(e,b);Xma(e,d);e.L=e.C;Yma(e);e.B=e.o;b=FS(e);this.A=new dS(this.l,b.audio,(0,g.z)(this.dw,this));this.g=new dS(this.l,b.video,(0,g.z)(this.dw,this));wna(this,this.A);wna(this,this.g);this.g.o.N=this.A.o;this.T("videoformatchange",b);this.X=this.g.D;this.F&&NS(this.F,this.g.l);this.l.F&&SQ()&&this.Uf("streaming","1",!0);this.B=a;c?(bT(this,!1),g.ku(this.fa)):(a=0==this.B,lT(this,this.g,this.g.l,a),lT(this,
this.A,this.A.l,a),this.seek(this.B),this.Tc("gv"))};
g.h.resume=function(){if(this.R||this.N)this.oa=this.N=this.R=!1,this.l.GE&&this.ie()};
g.h.XR=function(a){var b=this.l.Mc;if(!(!(b&&2<=a.state)||5<=a.state||a.D<b||HK(a.info.l,this.l,this.Y))){b=this.Y;var c=xK(GK(a.info.l));b=uK(b,c);b.g||b.l||b.o||nna(this,a,!0)}if(!this.ha()&&3<=a.state){c=a.info.g[0].g;b=!this.la&&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.la=a.Oa(),GG(4)):c&&(this.da=a.Oa()):4==a.state&&b&&GG(4);if(5<=a.state){if(this.l.ea){b=mR(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.D?c.D.join(""):""};c=b.rqd;delete b.rqd;if(c)for(var d=0;256*d<c.length;d++)this.Uf("rqd",VM({rn:b.rn,ix:String(d),d:c.substring(256*d,256*(d+1))}));this.Uf("rqs",VM(b))}a.X&&this.Uf("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&&LR(e)}a.dispose()}else{if(this.l.oa&&a.H&&4<=a.state&&5!=a.state)if(b=a.g?a.g.Xd("X-Response-Itag"):null){b=
Zma(this.D,b);c=a.info.range.length-b.Qq();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.Xd("X-Segment-Lmt"):null)&&b instanceof g.eL&&((0,window.isNaN)(b.lastModified)||b.lastModified==c||nS(this.g,a))}else a.H=
!1;if(6==a.state||this.l.F&&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.Xd("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=MK(a.info))e=a.info,e=!!PJ(e.g[e.g.length-1]);e&&((0,g.B)(a.l.g,c.L,c),this.l.hg||this.T("metadata",b))}else 7==a.state&&(e=a.info.g[0].g,JR(a)?(b=(e.info.video&&1<e.A.g||410==a.C||500==a.C||503==a.C)&&!HS(this.D),c=FR(a),
d=e.info.video?this.g:this.A,b&&(c.stun="1"),jT(this,!1,a.Tb(),c),this.ha()||(b&&GS(this.D,e),this.l.mC&&1==a.info.g.length&&0<a.info.g[0].l&&e!=d.l&&this.N?this.T("reattachrequired"):(nS(d,a),this.ie()))):MK(a.info)?(e.B=a.Tb(),this.ie()):jT(this,!0,"net.retryexhausted",FR(a)));this.ie();5<=a.state&&JR(a)&&HK(a.info.l,this.l,this.Y)&&(e=this.Y,b=xK(a.info.l.o),e=uK(e,b),b=5E3*Math.pow(1.6,e.o),e.g||e.A+b>g.yG()||nna(this,a,!1))}}};
g.h.ie=function(){eT(this);if(this.o&&BI(this.o)&&!DI(this.o)){var a=this.l.Eh&&this.g.B&&this.g.B.C;this.C.isLive&&!a?(0,window.isNaN)(this.I)?(this.I=this.B+(3600+(this.l.Hg?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(vL(this.C)&&3==this.C.C)jT(this,!0,"manifest.net.retryexhausted",
{rc:this.C.L.toString()});else if(this.C.isLive&&(uS(this.g)||uS(this.A)))dT(this),this.T("seekplayerrequired",window.Infinity);else if(eT(this),gS(this.g),!this.ha()&&(gS(this.A),!this.ha())){this.C.l&&(vS(this.g),vS(this.A),qna(this),(a=UR(this.g.o))&&a.o&&(a=UR(this.g.o).o.B&&!this.l.Qa,this.Uf(a==this.l.o?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.l.o?"1":"0")+";dfs."+(this.l.Qa?"1":"0"),!0)));if(this.o){a=this.o.g;var b=this.o.l;if(rna(this)){if(this.l.re){if(!a.g){var c=UR(this.A.o);
c&&kT(this,a,c)}b.g||(a=UR(this.g.o))&&kT(this,b,a)}}else{if(this.F){c=this.F;var d=this.A,e=eP(this.o.l.buffered);if(c.B)c=cna(c,e);else{if(e=UR(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&&NR(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=una(this,this.g,b,null))&&!this.Ba&&(this.Ba=(0,g.F)(),this.Tc("vda"),UN("vda"),this.pa&&GG(4));if(!CI(this.o)){b=dP(b.buffered,this.B+
iT);if(!(0,window.isNaN)(b)||iS(this.g)||!a.buffered.length){if(iS(this.g)||this.l.Hm)b=window.NaN;a=una(this,this.A,a,b);c=c||a;a&&!this.pa&&(this.pa=(0,g.F)(),this.Tc("ada"),UN("ada"),this.Ba&&GG(4))}iS(this.g)&&iS(this.A)&&BI(this.o)&&!DI(this.o)&&(a=this.o,BI(a)&&a.o.endOfStream(),a=this.K,kH(eM(a)),a.B=g.yG());c&&!FI(this.o)&&g.ku(this.W)}}}aT(this);lT(this,this.g,this.g.l,!1);lT(this,this.A,this.A.l,!1);this.g.l.B||this.A.l.B?jT(this,!0,"net.retryexhausted",{metadata:"1",video:this.g.l.B||"",
audio:this.A.l.B||""}):(gT(this,this.g,this.A)&&lna(this,this.g,this.A),gT(this,this.A,this.g)&&lna(this,this.A,this.g),this.l.kn&&this.ea&&!this.R&&fM(this.K)&&(a=this.ea,b=(0,g.z)(this.T,this,"error"),c=this.l.lD?(0,g.z)(this.Uf,this,"pathprobe"):null,(new LS(a,"cms",c,b)).send(),this.ea=""),this.C.o&&g.ku(this.fa),this.F&&(a=this.F,a.B?(b=a.F+a.g.Ld,a.A||(b=Math.min(b,a.C+a.g.Ma)),a=Math.max(0,1E3*b-(0,g.F)())):a=window.NaN,(0,window.isNaN)(a)||g.ku(this.Db,a)),g.ku(this.Qa))}};
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=SJ(a));if(c){b=b||{};a=SJ(c);for(var d in a)b["prev_"+d]=a[d]}jT(this,!0,"fmt.unplayable",b)};
g.h.JQ=function(a){jT(this,!0,"fmt.unparseable",a)};
g.h.NQ=function(a){jT(this,!1,"qoe.avsync",a)};
g.h.KQ=function(a,b){this.C.l&&vna(this,b,a==this.g)};
g.h.LQ=function(a,b){this.C.l&&zL(this.C,b.ya,a==this.g)};
g.h.MQ=function(a,b){this.C.l&&vna(this,b,a==this.g)};
g.h.IQ=function(a,b){if(this.g.l.index.gc()<=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();eT(this);this.Ya=g.yG();aT(this,a);var b=this.g.g,c=zna(this.g,a,this.o&&this.o.l),d=zna(this.A,this.l.pa?a:c,this.o&&this.o.g);this.B=Math.max(a,c,d);this.L=!0;this.C.l&&this.l.aa&&(c=this.g.g.ya,VK(this.g.l.index,c)||b&&b.ya==c||(this.X=!0));g.ku(this.W);return dg(a)};
g.h.V=function(){ina(this);this.A&&(lS(this.A),lS(this.g));g.ZF.prototype.V.call(this)};
g.h.Tc=function(a,b){this.Jb[a]=b?window.performance.timing.navigationStart+b:g.yG()};
g.h.Xz=function(){return this.Ma.l()||0};
g.h.Uf=function(a,b,c){this.T("ctmp",a,b,void 0===c?!1:c)};
g.h.dw=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 iT=2/24;g.p(nT,g.K);g.h=nT.prototype;g.h.OM=function(a){this.D.call(this.o,new window.Uint8Array(a.message))};
g.h.PM=function(){this.I.call(this.o,this.g.keyStatuses)};
g.h.aB=function(a,b){g.bE(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.B.call(this.o,c)};
g.h.NM=function(){this.ha()||KE("xboxone")&&this.B.call(this.o,"closed")};
g.h.DB=function(a){this.D.call(this.o,a.message)};
g.h.CB=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.BB=function(){this.H.call(this.o)};
g.h.update=function(a){if(this.g)return this.g.update(a).then(null,cE((0,g.z)(this.aB,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 eF()};
g.h.V=function(){this.g&&this.g.close();this.C=null;g.K.prototype.V.call(this)};g.p(pT,g.K);g.h=pT.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=Kna(this,b));b=c.generateRequest(a.contentType,b);c=new nT(null,null,null,c,null);b.then(null,cE((0,g.z)(c.aB,c,"t.generateRequest")));return c}if(EL(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 nT(null,null,null,null,b)}if(IL(this.g))return b=Kna(this,b),b=this.o.createSession("video/mp4",b),new nT(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 nT(this.l,this.g,b,null,null)};
g.h.SM=function(a){var b=qT(this,a);b&&b.DB(a)};
g.h.RM=function(a){var b=qT(this,a);b&&b.CB(a)};
g.h.QM=function(a){var b=qT(this,a);b&&b.BB(a)};
g.h.V=function(){this.l=null;g.K.prototype.V.call(this)};g.p(rT,g.K);g.h=rT.prototype;g.h.aA=function(a){this.L=a};
g.h.LM=function(a){if(!this.ha()){this.I||((0,g.BQ)("drm_gk_f"),this.I=!0,this.l.T("newsession",this));FL(this.o)&&(a=Ona(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 Fna(a,++this.N);this.KC(a)}};
g.h.JM=function(){this.ha()||this.F||(this.l.T("sessionready"),this.F=!0)};
g.h.MM=function(a){var b=this;this.ha()||(a.forEach(function(a,d){var c=FL(b.o)?d:a,f=new window.Uint8Array(FL(b.o)?a:d);FL(b.o)&&Sna(f);var k=SR(f);Sna(f);f=SR(f);b.g[k]?b.g[k].status=c:b.g[f]?b.g[f].status=c:b.g[k]={type:"",status:c}}),Kja("Key statuses changed: "+Tna(this,",")),this.l.T("keystatuseschange",this))};
g.h.KC=function(a){(0,g.BQ)("drm_net_s");a={format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.z)(this.uQ,this,a),onError:(0,g.z)(this.tB,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.EE(b,a)};
g.h.uQ=function(a,b){if(!this.ha())if(0!=b.status&&b.response){(0,g.BQ)("drm_net_r");var c=new window.Uint8Array(b.response);if(c=Hna(c))if(0!=c.statusCode)sT(this,"drm.auth",!0,"t.f;c."+c.statusCode,g.$O(c.statusCode));else{(0,g.BQ)("drm_kr_s");var d=null,e=c.headers["Heartbeat-Url"];e&&(d=new Ena(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(","),tT(this)||(HL(this.o)?(d=Pna(this.B),480<g.dI[d]&&this.l.T("hdentitled",this)):this.l.T("keystatuseschange",this));c.headers["Key-Ids"]&&(this.g=Rna(c.headers["Key-Ids"]));IL(this.o)&&(c.message=new window.Uint8Array(me(String.fromCharCode.apply(null,c.message))));this.A.update(c.message).then(function(){(0,g.BQ)("drm_kr_f")});
this.F&&(this.K=g.yG())}else sT(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")}else this.tB(a,b)};
g.h.KM=function(a){this.ha()||sT(this,"drm.keyerror",!0,a)};
g.h.tB=function(a,b){var c=!1;if(3<=a.g.l||this.W&&36E4<g.yG()-this.K){var d="drm.net.retryexhausted";c=!0}else d=b.status?"drm.net.badstatus":"drm.net.connect";sT(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.ju((0,g.z)(this.KC,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(tT(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};uT.prototype.get=function(a){a=this.Ek(a);return-1!=a?this.values[a]:null};
uT.prototype.remove=function(a){a=this.Ek(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
uT.prototype.set=function(a,b){var c=this.Ek(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
uT.prototype.Ek=function(a){return g.Na(this.keys,function(b){return g.jb(a,b)})};g.p(vT,g.ZF);g.h=vT.prototype;g.h.TP=function(a){this.B&&wT(this)?(a=new oT(this.B),this.B=null):a=new oT(new window.Uint8Array(a.initData),a.initDataType);yT(this,a,!0)};
g.h.ZQ=function(a){this.B&&wT(this)?(a=new oT(this.B),this.B=null):a=new oT(a.initData,a.contentType);yT(this,a,!0)};
g.h.HQ=function(){this.ha()||(this.I=!0,xT(this))};
g.h.WO=function(a){if(!this.ha()){g.bE(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.cR=function(a){this.ha()||!a||this.aa||(this.aa=a,this.T("heartbeatparams",a))};
g.h.dR=function(){this.ha()||(this.o.shift(),xT(this))};
g.h.lS=function(){if(EL(this.g)&&(this.da--,0==this.da)){var a=this.D;a.l.msSetMediaKeys(a.o)}};
g.h.TM=function(a){this.ha()||$na(this,Qna(a,this.Y))};
g.h.jQ=function(){this.ha()||!this.W&&HL(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.ZF.prototype.V.call(this)};
g.h.pg=function(){return 0>=this.l.values.length?"no session":this.l.values[0].pg()};BT.prototype.C=function(){var a=g.x("yt.abuse.botguardInitialized");return a&&a()?(a=g.x("yt.abuse.invokeBotguard")())?"r1a="+a:null:null};
BT.prototype.D=function(a){return"r3a="+Math.floor(this.g.lengthSeconds%Db(a.c3a))};
BT.prototype.B=function(a){a=Db(a.c);var b=g.x("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};g.p(CT,hP);g.h=CT.prototype;g.h.ma=function(){return this.g};
g.h.Td=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.Rf=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.Tb=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){xI();this.g.volume=a};
g.h.zL=function(a){this.dispatchEvent(new tP(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]);hP.prototype.V.call(this)};g.p(ET,g.ZF);ET.prototype.getCurrentTime=function(){return!(0,window.isNaN)(this.g)&&(0,window.isFinite)(this.g)?this.g:poa(this)?this.l.getCurrentTime():this.C||0};
ET.prototype.De=function(a){return this.o.ua?this.o&&this.o.Ka&&this.o.Ka.g?!a&&this.K?YQ(this.K):this.o.De():this.l?PE()?MO(this.l.g.getStartDate().getTime()):iP(this.l)||0:0:this.o.De()};
ET.prototype.Fb=function(){return this.o?this.o.Fb():0};
ET.prototype.X=function(){var a=this.getCurrentTime()+.1;this.D=dg(a);GT(this,a,!0)};g.p(JT,g.ZF);JT.prototype.isFullscreen=function(){return 0!=this.B};
JT.prototype.isBackground=function(){return IT()};
JT.prototype.o=function(){this.T("visibilitychange");var a=this.isFullscreen();a=this.A?4:IT()?3:a?2:this.l?1:this.g?5:0;a!=this.D&&this.T("visibilitystatechange");this.D=a};
JT.prototype.V=function(){toa(this.C);g.ZF.prototype.V.call(this)};g.p(KT,g.K);g.h=KT.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 NT(!!c)};
g.h.clear=function(){for(var a in this.g)this.g[a].clear()};
g.h.TT=function(){for(var a in this.o)this.g[a].update(this.o[a]());this.l.start()};
NT.prototype.update=function(a){this.o?(this.g.add(a-this.l||0),this.l=a):this.g.add(a)};
NT.prototype.clear=function(){this.g.clear();this.l=0};var voa={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},woa={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},xoa=/^(\d*)_((\d*)_?(\d*))$/;OT.prototype.start=function(){this.l=!0};
OT.prototype.reset=function(){this.g=this.l=!1};g.p(QT,g.ZF);g.h=QT.prototype;g.h.V=function(){window.clearInterval(this.Vb);g.iE(this.Mc);toa(this.ob);this.Qa.unsubscribe("visibilitychange",this.ob);TT(this);UT(this);this.D&&(this.D.dispose(),this.D=null);RT(this);mU(this);g.df(this.oa,this.g);this.X=null;this.jb=!1;g.ZF.prototype.V.call(this)};
g.h.getVideoData=function(){return this.g};
g.h.Aw=function(){if(this.g.Mb())g.W(this.o,128)||(this.g.Mb(),this.A.experiments.g("html5_probe_media_capabilities")||(this.la.g=!0),this.dd=!0,4!=this.Db&&(this.aa=g.Za(this.g.Zd)),g.sO(this.g,this.A,this.za).then(this.vx,this.vx,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.A.experiments,c=this.A;if(!PE()&&a.ua&&a.adaptiveFormats&&!a.fy&&!g.vM(c)&&(g.DO(a)||b.g("html5_manifestless_always_redux"))){var d=
this.g;a=this.A.experiments;oO(d)||(d.fy=!0,b=nL(tO(d,d.adaptiveFormats),d.Hc,d.lengthSeconds,!0,a),!a.g("html5_manifestless_vp9")&&lma(b)||!a.g("html5_manifestless_captions")&&(d.tr||g.mL(b))?b.dispose():(d.Vi=!1,rO(d,b),b.subscribe("cuepointsadded",d.yw,d),lL(d.na)&&(d.ii=!0)),qO(d))}else if(this.g.Vi)d=this.g,a=this.A.experiments,d.ih=!0,d.Vi=!1,vH(d.Qd)||g.bE(Error("DASH MPD Origin invalid: "+d.Qd),"WARNING"),b=d.Qd,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})),tL(new kL(b,a,d.ua),b).then(d.IP,d.HP,d),(0,g.BQ)("mrs");else if(this.g.ii)this.C&&(d=this.C.l,TP(d,"protected"),d.g.videoData.Nf?d.la():d.g.videoData.subscribe("dataloaded",d.la,d)),d=this.g,b=this.A.Y,a=this.A.experiments,d.fairPlayCert||d.na&&lL(d.na),b=d.na?ML(b,d.na):{},a=new SL(b,a,d.aD),g.L(d,a),d.ii=!1,d.ih=!0,d=(0,g.z)(d.nK,d),a.B=d,KL(a.o)?UL(a):yla(a);else if(!this.g.ih&&this.dd){b=this.A;a=this.g;var e=this.Jb.Ha(),f=this.Bh();VT(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.AO});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.oa});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.oa,ps:b.playerStyle,el:HO(a,b),hl:b.pa,list:a.playlistId,agcid:a.Ni,aqi:a.adQueryId,sts:17632,lact:g.LG()};g.Ga(c,b.A);b.xd&&(c.ecver=b.xd);b.forcedExperiments&&(c.forced_experiments=b.forcedExperiments);a.Ue?(c.vvt=a.Ue,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);KO(a,b)&&(c.autoplay="1");a.Rn&&(c.autonav="1");a.Xr&&(c.noiba="1");a.isMdxPlayback&&(c.mdx="1",c.ytr=a.pf);a.mdxControlMode&&(c.mdx_control_mode=a.mdxControlMode);a.Tm&&(c.ytrcc=a.Tm);a.ds&&(c.utpsa="1");a.isFling&&(c.is_fling="1");a.Wr&&(c.mute="1");a.vnd&&(c.vnd=a.vnd);a.Gq&&(c.force_ad_param_ad_type=
"video_ad",c.force_ad_param_url=a.Gq,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");IO(a,b)&&(c.content_v=IO(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.Cb&&a.liveStartWalltime&&(c.live_start_walltime=a.liveStartWalltime);
b.Cb&&a.ls&&(c.live_manifest_duration=a.ls);b.Cb&&a.playerParams&&(c.player_params=a.playerParams);b.Cb&&a.cycToken&&(c.cyc=a.cycToken);b.Cb&&a.qD&&(c.tkn=a.qD);0!=f&&(c.vis=f);b.enableSafetyMode&&(c.enable_safety_mode="1");a.Tn&&(c.kids_age_up_mode=a.Tn);a.tp&&(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.pO(a))&&(c.uloc=e);a.bl&&(c.internalipoverride=a.bl);b.Cb&&a.Sh&&(c.wpid=a.Sh);b.Ld&&(c.embed_config=
b.Ld);b.qm&&(c.co_rel="1");0<b.re.length&&(c.ancestor_origins=Array.from(b.re).join(","));if(b.experiments.g("html5_drop_large_gvi"))for(d in c)c[d]&&512<c[d].length&&(g.bE(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.A.Db;e=this.A.experiments;f=this.A.jc;b.ha()||(b.Xq=d,b.du=a,b.Xj=!!c,b.My=!!f,e&&(b.PC=e.g("enable_uturn_error_screen"),b.tC=!e.g("disable_gvi_cors"),b.Wq=e.l("html5_get_video_info_timeout_ms")||0,b.Ox=e.g("html5_get_video_info_promiseajax")),
b.ih=!0,b.GC())}}};
g.h.vx=function(){if(mO(this.g)&&(this.g.ua&&(this.W=new Dma,Hoa(this),0<this.g.ff&&!this.g.kc()||gU(this,uU(this),!0)),this.g.Ka.g&&g.vU(this),tU(this,"i"),this.W))if(this.g.kc()){var a=(0,g.z)(this.B.Xz,this.B);this.W.l=a}else this.g.na&&(a=(0,g.z)(this.g.na.FM,this.g.na),this.W.l=a);this.Na&&rU(this);a=this.g;a.endSeconds&&a.endSeconds>a.startSeconds&&yoa(this,a.endSeconds);this.A.experiments.g("html5_probe_media_capabilities")&&(this.la.g=!0);WT(this,"dataloaded");this.Y.l?dU(this):this.Na&&XT(this,
BP(BP(this.o,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.WO(c.g).toFixed(3);g.Ga(d,XO(c.g));var e=c.g.g,f=c.g.videoData,k={ns:e.Ca,html5:"1",el:HO(f,e),ps:e.playerStyle,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.Xt||f.Kl||void 0,ctrl:f.ag||void 0,ytr:f.pf||void 0,list:f.playlistId};KO(f,e)&&(k.autoplay="1");f.subscribed&&(k.subscribed=f.subscribed);g.Ga(d,k);delete d.fexp;g.Ga(d,a);d=g.pE(c.g.g.baseYtUrl+"player_204",d);tQ(c,d,b)}};
g.h.isPeggedToLive=function(){return!!this.F&&this.F.isPeggedToLive()};
g.h.OK=function(){return this.o};
g.h.getPlayerType=function(){return this.Db};
g.h.RT=function(){oU(this);XT(this,BP(this.o,16));rU(this);zP(this.o)&&sU(this)};
g.h.getAvailableAudioTracks=function(){return this.A.experiments.g("html5_hls_select_audio_killswitch")?this.g.Ka?this.g.Ka.getAvailableAudioTracks():[]:this.g.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){if(this.A.experiments.g("html5_hls_select_audio_killswitch")){var a=this.getVideoData(),b=a.Xb;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.SK=function(){if(this.A.experiments.l("html5_background_quality_cap")&&this.B){var a="v";this.A.experiments.g("html5_vis_upgrades_are_resizes")&&!cU(this)&&(a="r");tU(this,a)}this.A.experiments.g("html5_cut_vss_on_visibility")&&this.C&&g.RO(this.C.o);this.A.Ki&&!this.g.backgroundable&&this.l&&!this.za&&(cU(this)&&this.l.l?(this.Ec("bgmobile","suspend"),g.lU(this,!0)):cU(this)||rU(this)&&this.Ec("bgmobile","resume"))};
g.h.nQ=function(a){if(this.H){var b=this.H;wT(b)?(a=RR(a),0!=a.length&&(b.B=a)):EL(b.g)&&(a=RR(a),0!=a.length&&yT(b,new oT(a),!1))}};
g.h.wB=function(){GL&&this.da&&this.da.g&&this.H&&(Zna(this.H,this.da.g),this.da=null)};
g.h.OS=function(a){this.g.KD=aJ("auto",a,!1,"u");tU(this,"u")};
g.h.AQ=function(a){Aoa(this,a.reason,a.video.info,a.audio.info);var b=g.zO(this.g);b&&b.H(a.video.index);this.W&&(this.W.g=a.audio.index)};
g.h.zQ=function(a){iU(this,a.reason,a.audio.info)};
g.h.kl=function(a){var b=this;Ooa(this,a);if(this.A.experiments.g("html5_consolidated_platform_retry")){if(("html5.invalidstate"==a.errorCode||"fmt.unplayable"==a.errorCode||"fmt.unparseable"==a.errorCode)&&Poa(this,a.errorCode,a.details))return}else{if(this.A.experiments.g("html5_mse_retry")&&this.l&&"fmt.unplayable"==a.errorCode&&!this.Kd){this.C&&(a.details.e="unplayable",this.C.onError("qoe.restart",VM(a.details)));a.g=!1;this.Kd=!0;g.gE(function(){return xU(b)},100);
return}if(this.A.experiments.g("html5_reload_on_unparseable")&&"fmt.unparseable"==a.errorCode&&a.details.seg&&a.details.seg!=this.zd){this.zd=a.details.seg;this.C&&(a.details.e="unparseable",this.C.onError("qoe.restart",VM(a.details)));xU(this);return}}var c=/^pp/.test(this.g.clientPlaybackNonce);if(Moa(a))g.W(this.o,4)?(this.gg=!0,UT(this)):pU(this);else if(Noa(a)&&this.g.Ka.l){if(this.C)this.C.onError(a.errorCode,VM(a.details));this.Ec("highrepfallback","1",!0);pma(this.g);ST(this);UT(this);wU(this);
sU(this)}else a.g?(c=this.B?this.B.D.A:null,c=Noa(a)&&c&&c.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,g.$T(this,a.errorCode,c,VM(a.details))):this.C&&(this.C.onError(a.errorCode,VM(a.details)),c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.g.clientPlaybackNonce+"&t="+g.yG(),(new LS(a,"manifest",(0,g.z)(function(a){this.Ec("pathprobe",a)},this),(0,g.z)(function(a){this.onError(a.errorCode,VM(a.details))},this.C))).send()))};
g.h.kx=function(){if(this.A.experiments.g("html5_new_seeking"))GT(this.D,this.D.getCurrentTime(),!0);else{if(!(0,window.isNaN)(this.R)&&this.l){var a=this.getDuration(),b=uU(this);!this.g.ua&&this.R>=b-.01?(this.R=a,this.T("endseeking",this),hU(this,!0),PT(this)):(this.B&&this.B.seek(this.R),(!this.g.ua||1<=this.l.g.readyState)&&this.l.Zb(this.R),this.B&&!g.W(this.o,2)&&XT(this,BP(this.o,16)))}Loa(this)}};
g.h.getCurrentTime=function(){if(this.D)return this.D.getCurrentTime();if(!(0,window.isNaN)(this.R)&&(this.A.experiments.g("html5_seektoinfinite_killswitch")||(0,window.isFinite)(this.R)))return this.R;var a=0;this.l&&1<=this.l.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:uU(this)?uU(this):0};
g.h.dI=function(){var a=new Ala;if(this.B){var b=this.A.schedule;a.o=b.H;a.B=b.I;a.bandwidthEstimate=dM(b);a.g="d."+aM(b).toFixed(2)+";st."+(1E9*(b.A.l()||0)).toFixed(2)+";bw."+b.g.l().toFixed(0)+";abw."+b.C.l().toFixed(0)+";v50."+YL(b.l,.5).toFixed(2)+";v92."+YL(b.l,.92).toFixed(2)+";v96."+YL(b.l,.96).toFixed(2)+";v98."+YL(b.l,.98).toFixed(2);b=this.B;if(b.o&&!CI(b.o)&&(a.l=iS(b.g)?b.g.B.A:fP(b.o.l.buffered,b.B),a.A=iS(b.A)?b.A.B.A:fP(b.o.g.buffered,b.B),b.l.ea)){var c=kS(b.g),d=kS(b.A),e=bP(b.o.l.buffered,
"_"),f=bP(b.o.g.buffered,"_");a.g=(a.g||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=xS(b.H)}else this.l&&(a.l=oP(this.l));a.C=this.Gx();return a};
g.h.RS=function(){if(this.H){var a=this.H,b=this.g.oauthToken;a.R=b;a.T("oauthtoken",b)}WT(this)};
g.h.QS=function(a){g.$T(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode,a.subreason)};
g.h.RK=function(a){var b=a.target.Td();if(this.l&&this.l.Td()&&this.l.Td()==b){var c=!1;switch(a.type){case "error":if(0<this.l.Tb()&&Poa(this,sP(this.l)||"",{msg:IP(this.l)}))return;if(cU(this)&&4==this.l.Tb()){g.lU(this);CU(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,WT(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.A.experiments.g("html5_utc_start_seconds")&&!this.D&&EO(this.g)&&this.g.ff&&(0,window.isFinite)(this.g.ff)&&this.g.na){d=this.Fb()+this.g.ff-yL(this.g.na,this.Fb());gU(this,d,!0);break}this.A.experiments.g("html5_new_seeking")||(0<(this.l.g.seekable||aP()).length?(d=this.g.startSeconds,this.A.experiments.g("html5_clamp_on_loaded_metadata_killswitch")?d=g.cd(d||0,this.Fb(),uU(this)):(0,window.isFinite)(d)||(d=uU(this)),this.l.g.currentTime=
d):(this.Ba=this.g.startSeconds,hU(this,!0)))}this.T("onLoadedMetadata");case "loadstart":window.clearInterval(this.Vb);this.oq()||(this.Vb=g.hE((0,g.z)(this.oq,this),100));break;case "progress":this.Ba&&this.l&&(d=this.l.g.seekable||aP(),d.length&&d.end(0)>this.Ba&&(this.l.g.currentTime=this.Ba,this.Ba=window.NaN,this.wd=this.pa.O(this.l,"canplay",this.JP,this)));case "suspend":zU(this);this.T("onLoadProgress",this,Soa(this));g.W(this.o,8)&&(this.Li?c=!0:this.Mi&&((0,window.isNaN)(this.yd)||this.yd+
1<this.l.getCurrentTime())&&(c=!0,this.yd=this.l.getCurrentTime()));break;case "seeked":Uoa(this);break;case "seeking":if(!this.A.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");UN("plev");this.fg&&(this.fg=!1,qU(this)||gU(this,window.Infinity,!0));g.iE(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.oq();Uoa(this);zU(this);if(!this.l||this.l.Td()!=b)return;this.T("onVideoProgress",this,this.l.getCurrentTime());break;case "waiting":if(0<(this.l.g.played||aP()).length&&0==nP(this.l).length&&0<this.l.getCurrentTime()&&5>this.l.getCurrentTime()&&this.B)return;break;case "resize":this.g.Ia&&"auto"==this.g.Ia.video.quality&&this.T("internalvideoformatchange",this.g,!1);break;case "pause":if(this.Gg&&g.W(this.o,8)&&!g.W(this.o,1024)&&0==this.getCurrentTime()&&
g.Dk){CU(this,"safari_autoplay_disabled");return}}this.l&&this.l.Td()==b&&(this.T("videoelementevent",a),b=vma(this.o,a,this.Ma,this.A.experiments),!g.W(this.o,1)&&g.W(b,1)&&EU(this,"evt_"+a.type),XT(this,b),c&&this.l.play())}};
g.h.MO=function(a){a="available"==a.g.availability;a!=this.Ld&&(this.Ld=a,this.T("airplayavailabilitychange"))};
g.h.NO=function(){var a=this.l.ol();if(a!=this.za){this.za=a;var b=this.Qa;b.A!=a&&(b.A=a,b.o());a&&(g.sO(this.g,this.A,this.za),tU(this,"m"))}this.T("airplayactivechange")};
g.h.oq=function(){var a=this.l;a&&this.Ta&&!this.g.We&&!TN("vfp","")&&2<=a.g.readyState&&!a.g.ended&&0<eP(nP(a))&&this.L.g("vfp");if((a=this.l)&&!this.g.We&&0<a.getDuration()){!TN("pbp","")&&a.g.paused&&2<=a.g.readyState&&0<eP(nP(a))&&this.L.g("pbp");var b=this.A.experiments.g("html5_use_start_seconds_for_pbs")?this.g.startSeconds+.1:0;if(a.getCurrentTime()>b){window.clearInterval(this.Vb);this.fa.stop();this.g.We=!0;this.A.We=!0;Toa(this);this.A.experiments.g("html5_aft_implies_playing")&&g.W(this.o,
8)&&XT(this,CP(this.o,65));if(this.C){a=this.C;if(!a.B){a.g.g.experiments.g("disable_embedpage_playback_logging")||16623!=a.g.videoData.rootVeType||dE(Error("Playback for EmbedPage"));b=qQ(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.hE((0,g.z)(c.update,c),100);c.C=g.WO(c.l);c.A=PO(c.l);b.l=$P(a,!0);b.send();a.g.videoData.Gl&&(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.Gl,oid:c.ZB,ptchn:c.YB,pltype:c.aC,content_v:IO(c,b)},b=g.Ug(b.baseYtUrl+"ptracking",c),tQ(a,b));a.g.videoData.enableCardio&&(a.So("playback"),a.A||wQ(a));a.g.videoData.Af||vQ(a);a.B=!0;a=a.o;a.g=a.l.l();a.C=g.WO(a.l);!(0==a.o&&5>a.g)&&2<a.g-a.o&&(a.o=a.g)}g.gE((0,g.z)(this.eu,this),4500)}this.T("playbackstarted");g.EG()&&((a=g.x("yt.scheduler.instance.clearPriorityThreshold"))?a():GG(0));return!0}}return!1};
g.h.JP=function(){this.wd&&(this.pa.Aa(this.wd),delete this.wd,this.Il())};
g.h.HI=function(){if(this.l){var a=this.A.experiments.g("html5_progress_fix_error_return");if(!a||!g.W(this.o,128)){var b=this.getCurrentTime();a&&g.W(this.o,8)&&uP(this.Ma,b)?XT(this,CP(this.o,1)):g.W(this.o,8)&&vP(this.Ma,b,g.yG(),oP(this.l))?(a=this.getDuration(),!this.g.ua&&a&&1.1>Math.abs(a-b)?this.l.g.loop?gU(this,0,!0):PT(this):(g.GP(this.o)||EU(this,"progress_fix"),XT(this,BP(this.o,1)))):g.W(this.o,4)&&g.GP(this.o)&&5<oP(this.l)&&XT(this,CP(this.o,1));zU(this)}}};
g.h.aI=function(){return this.B?xS(this.B.H):dM(this.A.schedule)};
g.h.Ax=function(){return this.l?oP(this.l):0};
g.h.cI=function(){return this.A.schedule.H};
g.h.Gx=function(){if(!(this.g.ua&&this.g.na&&this.B&&qU(this)&&this.o.fb()))return window.NaN;var a=this.g.kc()?this.B.Xz():this.g.na.F;return(0,g.F)()/1E3-AU(this)-a};
g.h.PT=function(){var a=this.A.experiments.l("html5_max_reseek_count");a=a?a:window.Infinity;var b;if(b=g.W(this.o,1)&&this.B){b=this.B;var c=this.getCurrentTime();b=!(!b.o||CI(b.o)||DI(b.o)||Ana(c,b.g,b.o.l)&&Ana(c,b.A,b.o.g))}b&&this.eg<a&&(this.eg++,a=mT(this.B),this.Ec("reseek",VM({cur:a.lct,vb:a.lvb,ab:a.lab})),this.A.experiments.g("html5_clear_on_reseek")&&dT(this.B),gU(this,this.getCurrentTime(),!0))};
g.h.sI=function(){this.g.ua||this.T("connectionissue")};
g.h.ZT=function(){this.A.experiments.g("html5_new_seeking")||this.l.Zb(this.l.getCurrentTime()+.1)};
g.h.Il=function(){var a=this,b=this.l.od();b&&b.then(void 0,function(){g.W(a.o,4)||!a.A.experiments.g("html5_dom_sys_pause_killswitch")&&g.W(a.o,256)||(CU(a,"promise"),a.Gg=!0)})};
g.h.bR=function(a){var b={};g.Ga(b,this.A.A);b.cpn=this.g.clientPlaybackNonce;this.g.Ue&&(b.vvt=this.g.Ue,this.g.mdxEnvironment&&(b.mdx_environment=this.g.mdxEnvironment));this.A.Wc&&(b.authuser=this.A.Wc);this.A.pageId&&(b.pageid=this.A.pageId);g.fc(a.D,b);Lna(a,a.R)};
g.h.rQ=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.Hg&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.$T(this,a,d,c);else if(this.C)this.C.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.Hg++,xU(this))};
g.h.tQ=function(){var a=this,b=this.A.experiments.l("html5_license_constraint_delay"),c=VE();b&&c?(b=new g.ju(function(){tU(a,"l");WT(a)},b),g.L(this,b),b.start()):(tU(this,"l"),WT(this))};
g.h.sQ=function(){var a=this;GL&&(this.da=lla(this.g.na))&&(this.da.g?g.Uf(function(){a.wB()}):Cna(this.B,this.da))};
g.h.PK=function(a){this.T("heartbeatparams",a)};
g.h.QK=function(a){this.Ec("keystatuses",Una(a));var b=0;this.g.Ia&&(b=this.g.Ia.video.l);var c=this.A.experiments.g("html5_drm_start_from_null_constraint"),d=c&&!(Wna(a,"AUDIO")&&Wna(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.xQ=function(){if(!this.g.We&&this.l&&!cU(this)){var a="0";0<this.l.g.readyState&&5<=oP(this.l)&&this.g.Ka.g&&(XT(this,BP(this.o,1)),EU(this,"load_soft_timeout"),this.T("playbackstalledatstart"),a="1");this.C&&(a={restartmsg:a},fU(this)&&(a.prerolls=this.aa.join(",")),this.B&&g.Ga(a,mT(this.B)),this.l&&g.Ga(a,rP(this.l)),this.C.onError("qoe.start15s",VM(a)));0<this.Fh&&this.Eh<this.Fh&&(this.Eh++,xU(this));this.T("loadsofttimeout")}};
g.h.eu=function(){if(!this.jb){var a=new BT(this.g,this.Ki);if("c1a"in a.l){var b=g.x("yt.abuse.botguardInitialized");b=!(b&&b())}else b=!1;if(b)g.gE((0,g.z)(this.eu,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=qQ(c,"atr"),b.I=a,b.send(),c.K=!0),this.jb=!0)}}};
g.h.Fb=function(){return this.A.experiments.g("html5_new_seeking")?this.D?this.D.Fb():0:this.g.Fb()};
g.h.vz=function(){return this.Ca};
g.h.Vq=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()||OP(d.l,a,b,void 0===c?!1:c)}};g.p(FU,yQ);g.h=FU.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.OU(this).element};
g.h.Sf=function(){return this.app.C};
g.h.getVideoData=function(a){return(a=g.MU(this.app,a||this.playerType))&&a.getVideoData()};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.od=function(a){3==this.Pa()?g.LU(this.app.A).ul("control_play"):XX(this.app,a)};
g.h.Me=function(a){yU(g.MU(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.fo=function(a){this.Tz(a,a)};
g.h.pl=function(a){return d0(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.Pa(),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.tl=function(a,b,c){var d=g.GU(this).A;d&&d.Es(a,b,c)};
g.h.bd=function(){if(g.X(this).F)return!1;var a=g.MU(this.app,1);if(!a)return!1;var b=a.getVideoData();return b.Ed()&&!g.DO(b)&&2!=this.Pa()&&(!fU(a)||3==this.Pa())};
g.h.ri=function(a,b){var c=this.app,d=g.MU(c,this.playerType);d&&c.g.Ta.has(a.toString())?d.C?(c=qQ(d.C,"engage"),c.o=a,c.send(b)):b&&b():b&&b()};
g.h.Rf=function(a,b){c0(this.app,a,b)};
g.h.setVolume=function(a){a=g.cd(a,0,100);SH(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){SH(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.Tf=function(){SH(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};g.A(g.kV,g.ZF);g.h=g.kV.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.kV.Z.V.call(this)};
g.h.ZD=function(){return{}};g.p(oV,g.K);oV.prototype.V=function(){this.l&&g.JF(this.l);this.g.clear();pV=null;g.K.prototype.V.call(this)};
oV.prototype.register=function(a,b){b&&this.g.set(a,b)};
var pV=null;g.p(rV,g.K);rV.prototype.show=function(){this.g.g.l||(this.g.show(),XE(this.o),this.o=[])};
rV.prototype.hide=function(){this.g.g.l&&(this.g.hide(),XE(this.l),this.l=[])};
rV.prototype.bind=function(a){var b=this.g,c=a.confirmLabel||null;c?b.l.show():b.l.hide();b.l.Ib(sV(c));this.g.setTitle(a.title||null);this.g.g.Ib(sV(a.dialogMessage||null));g.Jd(cpa(this.g));b=g.la(a.adReasons||[]);for(c=b.next();!c.done;c=b.next())c=c.value,cpa(this.g).appendChild(g.J("li",null,sV(c)));this.o=a.impressionEndpoints&&0<a.impressionEndpoints.length?dpa(a.impressionEndpoints[0]):[];this.l=a.confirmServiceEndpoint?dpa(a.confirmServiceEndpoint):[]};
g.p(qV,g.ZF);g.h=qV.prototype;g.h.ma=function(){return this.g.element};
g.h.show=function(){if(!this.g.l){this.B.O(window.document,"click",this.AL);this.g.show();var a=this.ma(),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.YF(this.B))};
g.h.setTitle=function(a){a?this.o.show():this.o.hide();this.o.Ib(sV(a))};
g.h.AL=function(a){this.g.l&&(a=a.target,g.Sd(this.A,a)||(g.Sd(this.l.g["ytp-ad-info-dialog-confirm-button"],a)?this.T("confirmClick"):g.Sd(this.g.element,a)||this.T("externalClick")))};g.p(tV,g.ZF);tV.prototype.dispose=function(){this.g.clear();g.ZF.prototype.dispose.call(this)};
var uV=null;g.va("ytads.bulleit.getVideoMetadata",function(a){return(a=epa().g.get(a))?a.g():{}},void 0);
g.va("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=epa();c=fpa(c);null!=c&&d.T(c,{queryId:a,viewabilityString:b})},void 0);var vV=null,hpa=null;g.va("yt.www.ads.eventcache.getLastCompanionData",function(){return vV},void 0);
g.va("yt.www.ads.eventcache.getLastPlaShelfData",function(){return hpa},void 0);var Dpa={seekableStart:0,seekableEnd:1,current:0};g.p(g.DV,g.K);g.h=g.DV.prototype;g.h.show=function(a){1!=this.g&&2!=this.g&&(3==this.g&&this.pp(),4==this.g?(this.l.show(),this.g=null,this.o.stop()):this.l.l||(EV(this,!0),this.g=1,a?this.o.start(a):this.pp()))};
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),EV(this,!0),this.g=3,this.o.start(this.B)))};
g.h.pp=function(){switch(this.g){case 1:this.l.show();this.g=2;this.o.start(10);break;case 2:EV(this,!1);this.g=null;break;case 3:this.l.hide();EV(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.pp()};
g.h.V=function(){this.l.ha()||this.l.element.removeAttribute("aria-hidden");g.K.prototype.V.call(this)};HV.prototype.getLength=function(){return this.g-this.l};g.p(KV,g.JH);KV.prototype.C=function(){var a=this.A.A;a=JV(new HV(a.seekableStart,a.seekableEnd),a.current,0);this.F.style.width=100*a+"%"};
KV.prototype.D=function(){g.MM(g.X(this.B))||(2==this.B.Pa()?-1===this.o&&(this.show(),this.o=this.A.subscribe("q",this.C,this),this.C()):-1!==this.o&&(this.hide(),this.A.Id(this.o),this.o=-1))};g.p(LV,g.U);LV.prototype.clear=function(){for(var a=g.la(this.Ga),b=a.next();!b.done;b=a.next())g.cf(b.value);this.Ga=[]};
LV.prototype.F=function(a){g.OF(a);this.o=Math.max(0,this.o-MV(this));NV(this)};
LV.prototype.D=function(a){g.OF(a);this.o=Math.min(this.Ga.length-1,this.o+MV(this));NV(this)};
LV.prototype.V=function(){this.clear();g.U.prototype.V.call(this)};g.p(OV,g.ZF);OV.prototype.stop=function(){this.o&&this.g.Aa(this.o)};
OV.prototype.C=function(){var a=this.l.kh(2);this.A={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.T("q")};
OV.prototype.B=function(a){0<LP(a,2)&&this.T("p")};g.dY={};var PV=[2,5];var xX=["vmap_enabled_ads_backend"];SV.prototype.g=function(a,b,c){a=a||xX;(0,g.Jj)(a,function(a){return WV(this.l).experiments.g(a)},this)&&(a=c||{},a.cdp=1,a["var"]=b,a.sdkv="h.3.0",g.UU(this.l.g,"ad",a))};ZV.prototype.B=function(){var a=$V(this);a.format="2_3";a.at="2_3";a.ad_sys="AdSense";a.trsp="1";dX(this.g,3,a)};g.A(aW,g.K);aW.prototype.V=function(){this.g.reject();aW.Z.V.call(this)};
aW.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 gW,cW=!1,dW=!1,bW=!1;g.kG("showCompanionAdLoaded",function(){dW&&(Rpa(),dW=!1)});
g.kG("watchAdsInit",function(){cW&&(cW=!1,Ppa())});g.A(iW,g.ZF);iW.prototype.uf=function(){return this.adSystem+"_"+this.adType};
iW.prototype.Vh=function(){return this.uf()};
iW.prototype.tb=function(){return this.l?this.l.tb():null};
iW.prototype.abort=g.y;g.A(jW,g.K);jW.prototype.V=function(){jW.Z.V.call(this);g.Jd(kW(this));g.Jd(aqa(this));this.l=this.g=null;delete this.o};g.p(tW,g.K);tW.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))};
tW.prototype.stop=function(){(0,window.isNaN)(this.g)||(this.o=this.l=0,g.wg(this.g),this.g=window.NaN)};
tW.prototype.pause=function(){(0,window.isNaN)(this.g)||(this.l+=(0,g.F)()-this.o,g.wg(this.g),this.g=window.NaN)};
tW.prototype.V=function(){(0,window.isNaN)(this.g)||g.wg(this.g);g.K.prototype.V.call(this)};g.A(vW,iW);vW.l=15;vW.g=1E3;g.h=vW.prototype;g.h.abort=function(){iqa(this.B,13);this.N||this.l.destroy();this.C=this.F=!1;zW(this)};
g.h.uf=function(){var a=this.tb();var b=Zq(a);if(4==Zpa(b).o)return b;if(Fs(a))a=3;else if(a.isSkippable())a=Gs(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.Vh=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){hW();PX(this.g)&&eW(this.g,{});var a=this.g.g.app;WX(a,uW(a,2));this.B.o=g.yG();this.D=this.g.getRootNode();this.A.subscribe("progresssync",this.UA,this);this.g.l.L&&g.Ld(g.H("video-ad-status-bar",this.D));g.Bq(this.D,["ad-showing","ad-interrupting"]);this.g.subscribe("resize",this.Tu,this);try{this.o.U(this.l,"adError",this.vV),this.o.U(this.l,"click",this.uV),this.o.U(this.l,"complete",this.xV),this.o.U(this.l,"engagedview",this.XP),this.o.U(this.l,"pause",this.hE),this.o.U(this.l,
"start",this.iE),this.o.U(this.l,"skip",this.AV),this.o.U(this.l,"MUTE_AD",this.abort),this.o.U(this.l,"skippableStateChanged",this.sS),this.o.U(this.l,"youTubeChannelMetadata",this.PQ),this.o.U(this.l,"yt-show-toast",this.oT),this.o.U(this.l,"companionInitialized",this.wV),PX(this.g)&&(this.o.U(this.l,"youtubeKevlarCompanionShow",this.yV),this.o.U(this.l,"youtubeKevlarCompanionHide",this.pQ)),this.o.U(kW(this.g.C),"mouseup",this.zV),this.Tu(),this.N||this.l.start()}catch(b){AW(this,b)}this.g.l.l&&
WV(this.g).experiments.g("ad_info_icon_in_card")&&TX(this.g,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.kE=function(a,b,c){if("newdata"==a&&this.videoData!=c){a=new $pa;a.isSkippable=this.W;a.isBumper=this.aa;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.WE;a.skipShown=(0,g.z)(this.l.MC,this.l);var d=this.tb();if(d){a.clickThroughUrl=Rs(d)||"";b=c.lengthSeconds;(d=qt(d))?(bq(d,b),b=cq(d)):b=null;a.skipTime=b||0;a.adSystem=this.adSystem;if(b=
lqa(this))a.whyThisAdInfo=b;if(d=mqa(this))a.muteAdInfo=d;var e=WV(this.g);this.g.l.l&&e.experiments.g("ad_info_icon_in_card")&&(e={showAdInfoIcon:!0},e.whyThisAdInfo=b,e.muteAdInfo=d,TX(this.g,"onAdMetadataAvailable",e))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.Ul()||"");c.spacecastModule=this.Y;yW(this.g,-1,a)}this.videoData=c};
g.h.jE=function(a){a=a.state;g.W(a,1)||this.H.pause();g.W(a,128)?AW(this,Error(a.g.message||"Video player error.")):g.W(a,1)&&this.H.start()};
g.h.iE=function(){this.K=!0;this.C=!1;if(!this.F){this.F=!0;var a=this.B;rW(a);var b=sW(a);if((0,window.isNaN)(a.o))rW(a);else{var c=g.yG()-a.o;b.ad_stl=c}qW(a,4,b);kqa(this.g,1);xW(this,!1);TN("_start","video_to_ad")&&(this.I&&1!=this.I&&(0,g.CQ)("yt_abt",this.I,"video_to_ad"),this.videoData&&this.videoData.clientPlaybackNonce&&(0,g.CQ)("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad"),this.videoData&&this.videoData.videoId&&(0,g.CQ)("ad_docid",this.videoData.videoId,"video_to_ad"),(0,g.CQ)("cpn",
XV(this.g).clientPlaybackNonce,"video_to_ad"),(0,g.BQ)("apbs",void 0,"video_to_ad"));(a=g.T("ADS_INSTREAM_FIRST_PLAY"))&&TX(this.g,"onAdAnnounce",a)}yW(this.g,1);this.T("adPlay",this)};
g.h.hE=function(){this.K&&(this.K=!1,yW(this.g,2))};
g.h.xV=function(){if(!this.C){var a=this.B;rW(a);var b=sW(a),c=a.g.Fk();c?b.ad_fmt=c:rW(a);qW(a,5,b);WV(this.g).Cb&&TX(this.g,"onAdComplete");zW(this);this.C=this.F=!1}};
g.h.XP=function(){var a=this.B;a.g.T("AD_LOGGING_EVENT",777,sW(a))};
g.h.AV=function(){this.C=!0;var a=this.B,b=sW(a),c=a.g.Fk();c?b.ad_fmt=c:rW(a);qW(a,14,b);WV(this.g).Cb&&TX(this.g,"onAdSkip");zW(this)};
g.h.sS=function(){WV(this.g).experiments.g("html5_ad_no_buffer_abort_after_skippable")&&this.H.dispose();var a=g.T("ADS_INSTREAM_SKIPPABLE");a&&TX(this.g,"onAdAnnounce",a)};
g.h.PQ=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=WV(this.g),e=lqa(this),f=mqa(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,TX(this.g,"onAdMetadataAvailable",a)):a.l&&d.experiments.g("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},a.whyThisAdInfo=
e,a.muteAdInfo=f,TX(this.g,"onAdMetadataAvailable",a))}}}};
g.h.oT=function(a){TX(this.g,"onYtShowToast",a.event.g)};
g.h.wV=function(a){a=a.event;var b=a.g;b&&b instanceof g.Gf&&this.T("adCompanionInitialized",a.Lb(),b)};
g.h.yV=function(a){if(PX(this.g)){var b=a.event.Lb();if(a=b&&b.F){b={adHoverTextButtonRenderer:bqa(Os(b),Ps(b))};var c=WV(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);eW(this.g,a)}}};
g.h.pQ=function(){PX(this.g)&&eW(this.g,{})};
g.h.vV=function(a){var b={};try{b.error_code=a.event.getError().Tb()}catch(c){b.error_code=900,b.error_message=c.toString()}iqa(this.B,32,b);AW(this,a.event.getError())};
g.h.uV=function(){var a=this.B;rW(a);var b=sW(a);if(a.l){var c=YV(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}qW(a,15,b);this.l.pause();this.T("select")};
g.h.UA=function(){};
g.h.PA=function(){this.l.qf();if(this.F&&!this.C){var a=this.B;a.g.T("AD_LOGGING_EVENT",19,sW(a))}xW(this,!0)};
g.h.V=function(){this.g.unsubscribe("control_toggle_play_pause",this.lE,this);this.g.unsubscribe("control_play",this.Tt,this);this.g.unsubscribe("control_pause",this.Rt,this);this.g.unsubscribe("resize",this.Tu,this);g.UF(this.o);this.A.unsubscribe("statechange",this.jE,this);this.A.unsubscribe("internalAbandon",this.PA,this);this.A.unsubscribe("internalvideodatachange",this.kE,this);this.A.unsubscribe("progresssync",this.UA,this);this.N||this.l.destroy();this.L&&(g.Jd(this.L),this.L=null);this.R&&
(g.Ld(this.R),this.R=null);this.D&&(g.Dq(this.D,["ad-showing","ad-interrupting"]),this.D=null);this.C=!1;ura(this.g);this.H.dispose();this.H=null;vW.Z.V.call(this)};
g.h.vn=function(){return this.A.getDuration()};
g.h.Fk=function(){return this.videoData&&this.videoData.Ia?this.videoData.Ia.mimeType:null};
g.h.Ul=function(){return this.videoData&&this.videoData.nf?this.videoData.nf.g().g:null};
g.h.lE=function(){this.K?this.Rt():this.Tt()};
g.h.Tt=function(){this.l.resume();this.iE()};
g.h.Rt=function(){this.l.pause();this.hE()};
g.h.Tu=function(){g.Kh(kW(this.g.C),this.g.app.F.Ha())};
g.h.zV=function(a){a=new g.hd(DF(a),EF(a));this.B.l=a};g.A(DW,iW);g.h=DW.prototype;g.h.vn=function(){};
g.h.Fk=function(){};
g.h.Ul=function(){};
g.h.show=function(){if(!this.C||!bY(this.g)){var a=this.g.getRootNode();g.Q(a,"ad-showing");this.o=kW(this.g.C);a=this.l.tb().getHeight();this.o.style.height=yh(a,!0);g.Q(this.o,"ad-overlay");this.A.U(this.o,"mouseup",this.FV);try{this.A.U(this.l,"autoClose",this.ZO),this.A.U(this.l,"userClose",this.NS),this.A.U(this.l,"click",this.CV),this.A.U(this.l,"impression",this.mQ),this.A.U(this.l,"why_this_ad_url",this.Ot),this.A.U(this.l,"why_this_ad_got_it",this.Nt),this.A.U(this.l,"adError",this.BV),PX(this.g)&&
this.A.U(this.l,"youtubeKevlarCompanionShow",this.EV),this.xc("normal"),this.nk(),this.H||this.l.start(),this.Uu(),this.F=!0,this.g.subscribe("resize",this.nk,this),this.g.subscribe("presentingplayerstatechange",this.mE,this),this.T("adEnd",this)}catch(b){this.T("adError",b)}}};
g.h.Ot=function(){(this.D=2==e0(this.g.app))||wX(this.g)};
g.h.Nt=function(){this.D||YX(this.g)};
g.h.EV=function(a){PX(this.g)&&(a=(a=a.event.Lb())&&a.F)&&eW(this.g,a)};
g.h.V=function(){var a=this.g.getRootNode();g.Dq(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.UF(this.A);this.g.unsubscribe("resize",this.nk,this);this.g.unsubscribe("presentingplayerstatechange",this.mE,this);g.Cq(a,"ad-showing");this.l&&(this.H||this.l.destroy(),this.l=null);this.o&&g.Cq(this.o,"ad-overlay");this.o=null;this.C=!1;DW.Z.V.call(this)};
g.h.NS=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=CW(a);BW(a,6,b);EW(this,!1)};
g.h.ZO=function(){EW(this,!1)};
g.h.CV=function(){wX(this.g);var a=this.B;a.l=(0,g.F)();var b=CW(a);if(a.o){var c=YV(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}BW(a,100,b)};
g.h.mQ=function(){var a=g.T("ADS_OVERLAY_IMPRESSION");a&&TX(this.g,"onAdAnnounce",a);EW(this,!0)};
g.h.FV=function(a){this.B.o=a.target==a.currentTarget?null:new g.hd(a.pageX,a.pageY)};
g.h.BV=function(a){this.T("adError",a.event.getError())};
g.h.mE=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.zd&&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().Bb(),b=this.l.tb().getHeight(),(c>a.width||b>a.height)&&EW(this,!1))};
g.h.Uu=function(){var a=this.B;a.A=(0,g.F)();var b=CW(a);BW(a,3,b)};g.A(FW,g.K);FW.l="rm";FW.g=10;FW.B=200;FW.o=200;FW.A=190;g.h=FW.prototype;
g.h.load=function(){var a=this.g.app.F.Ha();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=$V(b);c.ck_wh=a.width+"x"+a.height;SX(b.g,14,c);hW();fX(this.B)}else if(this.Xa=this.g.Xa)a=this.o,dX(a.g,9,$V(a)),a=Npa(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.Xa.U("adsManagerLoaded",this.fE,!1,this),this.Xa.U("adError",this.eE,!1,this),this.sC(this.Xa,a)};
g.h.Jq=function(){var a=Gpa(this.g.l,WV(this.g),XV(this.g));a.surveyCreativeData=this.g.l.surveyCreativeData;a.gV=this.F;return a};
g.h.fE=function(a){if(a.l===this){(0,g.BQ)("aml");UN("aml");try{var b=this.Jq(),c=a.g}catch(d){this.oh(d);return}this.A.U(c,"companionBackfill",(0,g.z)(this.tV,this,c));this.A.U(c,"loaded",(0,g.z)(this.sV,this,c));this.A.U(c,"adError",(0,g.z)(this.rV,this,c));this.A.U(c,"allAdsCompleted",g.y);this.A.U(c,"contentPauseRequested",g.y);this.A.U(c,"contentResumeRequested",g.y);c=VA(a,this.g.D,{},b);try{c.init("normal")}catch(d){c.destroy(),this.oh(d)}}};
g.h.sV=function(a,b){g.en(this.A);var c=b.Lb(),d=c.Sb(),e=this.o,f=$V(e);f.ad_man=d?"instream":"overlay";dX(e.g,12,f);e=a.Rg();switch(d?this.Gn(a,c,e):this.Xh(a,c)){case 0:Fqa(this.B,this.H,this.l);break;case 1:a.destroy();fX(this.B);break;case 2:c=this.o;SX(c.g,21,$V(c));a.destroy();fX(this.B);break;case 3:fX(this.B);break;default:a.destroy()}};
g.h.rV=function(a,b){g.en(this.A);a.destroy();this.oh(b.getError())};
g.h.eE=function(a){var b=a.getError();"adLoadError"==b.Rb()&&a.g===this&&this.oh(b)};
g.h.tV=function(){oqa(this)};
g.h.Gn=function(a,b,c){var d=XV(this.g)&&XV(this.g).spacecastModule;if(d&&c&&!this.K.test(c))return 3;HW(this,Ts(b));GW(this,new vW(this.F,this.g,a,b.isSkippable(),b.isBumper(),void 0,d,this.l.g));return 0};
g.h.Xh=function(a,b){HW(this,Ts(b));GW(this,new DW(this.F,this.g,a));return 0};
g.h.oh=function(a){if(a){var b=this.o,c=$V(b);a&&Fpa(a,c);SX(b.g,32,c);fX(this.B)}};
g.h.V=function(){this.Xa&&(this.Xa.Aa("adsManagerLoaded",this.fE,!1,this),this.Xa.Aa("adError",this.eE,!1,this));g.en(this.L);g.en(this.A);FW.Z.V.call(this)};
g.h.sC=function(a,b){try{bD(a,b,this),(0,g.BQ)("ar"),UN("ar")}catch(c){this.oh(c)}};g.A(IW,iW);g.h=IW.prototype;g.h.vn=function(){};
g.h.Fk=function(){};
g.h.Ul=function(){};
g.h.show=function(){if(PX(this.g))eW(this.g,{afcMpu:{logImpression:this.gE.bind(this),logNoAd:this.rr.bind(this)}});else if(bW)this.rr();else{var a=WV(this.g).experiments;Ppa();fW();Spa(a).then((0,g.z)(this.gE,this),(0,g.z)(this.rr,this))}};
g.h.gE=function(){var a={ad_sys:"AdSense"};a.at=this.Vh();a.format=this.uf();this.T("AD_LOGGING_EVENT",3,a);this.T("adEnd",this)};
g.h.rr=function(){var a={};a.at=this.Vh();this.T("AD_LOGGING_EVENT",2,a);this.T("adEnd",this)};g.A(JW,FW);JW.prototype.Jq=function(){var a=JW.Z.Jq.call(this);a.aw=0==this.I;a.iH=bY(this.g)?a.aw:!0;return a};
JW.prototype.Pg=function(){var a=RV(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.pE(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
JW.prototype.Xh=function(a,b){if(this.g.l.A)return 1;if(1==this.l.g){var c=new QV(2,10);this.l=c;this.o.o=c;dX(this.g,1)}return JW.Z.Xh.call(this,a,b)};g.A(KW,DW);KW.prototype.nk=function(){};
KW.prototype.uf=function(){return"1_3"};
KW.prototype.Uu=function(){1==this.K?this.T("AD_LOGGING_EVENT",2,{}):KW.Z.Uu.call(this)};g.A(LW,FW);LW.prototype.Pg=function(){var a=this.D,b=RV(this.l);if(0<(this.C&3)){var c="mid,"+a.zb;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");a=new g.Jm(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};
LW.prototype.Xh=function(a,b){HW(this,Ts(b));var c=Cs(b);if(VV(c,"rm"))return 1==this.C||bY(this.g)||hW(),a.Wj(),2;if(VV(c,"blockAllAds"))return a.Wj(),GW(this,new KW(this.g,a,1)),0;if(VV(c,"hideMaster"))return GW(this,new KW(this.g,a,0)),0;if(this.g.l.A)return 1;GW(this,new DW(this.F,this.g,a));return 0};g.A(MW,FW);MW.l="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";MW.o="43";MW.g=function(a){var b=new LD;g.EE(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,rd:function(){var c=Error(a+" timed out");PD(b);ND(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);PD(b);ND(b,!1,c)},
onSuccess:function(a){b.tk(a)}});
return b};
MW.prototype.Pg=function(){return""};
MW.prototype.sC=function(a,b){var c=this.C;c&1||c&4||c&8?this.D?c&8?Upa(this.D):("goo.gl"==g.Kg(this.D)?(c=MW.g("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.D),RD(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.Jm(a.longUrl);g.Sm(a,"video_format","43");return MW.g(a.toString())},this)):c=MW.g(this.D),RD(c,function(c){b.l=
c.responseText;
bD(a,b,this)},this),QD(c,null,this.oh,this)):this.oh(Error("Invalid empty URL")):this.oh(Error("Invalid request type: "+c))};var NW=null;g.p(wqa,g.JH);g.p(PW,g.JH);g.h=PW.prototype;g.h.V=function(){g.JH.prototype.V.call(this);this.clear()};
g.h.bind=function(a,b){yqa(this,a);this.D=b||xqa()};
g.h.clear=function(){this.A.clear();this.B.stop()};
g.h.start=function(){this.B.start();this.wu()};
g.h.EO=function(a){this.o||(this.o=new rV(a.target),g.L(this,this.o),this.element.appendChild(this.o.g.ma()));this.o.bind(this.D);this.o.show()};
g.h.wu=function(){NV(this.A)};
g.h.BI=function(){this.H.start()};g.A(QW,iW);QW.prototype.vn=function(){};
QW.prototype.Fk=function(){};
QW.prototype.Ul=function(){};
QW.prototype.show=function(){var a=XV(this.g).videoId;if(a){var b=this.l.tb();WV(this.g).B.add(a,{Jh:xt(b)||null,ek:zt(b)||null});if(PX(this.g)){var c=zqa(this);g.Ra(c)||(a=Os(this.l.tb())||void 0,c={shopText:lW(Yr(c[0],"teaser_text")),sponsoredText:lW(g.T("YTP_SPONSORED")),itemList:{horizontalListRenderer:{items:(0,g.G)(c,eqa),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:{}}}},mW(c.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a)):c.adInfoText=lW(g.T("YTP_SPONSORED_PRODUCT_INFO")),TX(this.g,"onPlaShelfInfoCardsReady",{renderer:c}))}else if(a=zqa(this),!g.Ra(a)){c=Os(this.l.tb());if(c){var d={};mW(d,c);d=d.dialog.adInfoDialogRenderer}this.o.bind(a,
d);a=this.o.element;rqa().then(g.Ea(sqa,a)).then(this.o.start,null,this.o)}a={};a.format=this.uf();a.at=this.Vh();UV(b,a);this.T("AD_LOGGING_EVENT",3,a)}};g.A(RW,FW);RW.prototype.Pg=function(){return""};
RW.prototype.Xh=function(a,b){HW(this,Ts(b));GW(this,new QW(this.g,a));5!=this.l.g&&oqa(this);return 0};
RW.prototype.Gn=function(){return 1};g.A(SW,RW);SW.prototype.Pg=function(){return this.g.l.forceAdUrl||""};g.A(WW,DW);WW.prototype.nk=function(){};
WW.prototype.uf=function(){return"4_3"};g.A(XW,FW);
XW.prototype.Pg=function(){if(g.C(this.D)||0!=RV(this.l)){var a=this.N;if(a.g.ea&&a.g.oa){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.oa;b.vdur=a.C;b.csid=c;b.resp="vast2";b.metr="121";c={};(0,window.isNaN)(a.g.pa)||(c._fw_d_001=a.g.pa);a.g.gender&&(c._fw_d_002=a.g.gender);a.g.ib&&(c["_fwu:10613:lang"]=a.g.ib);a.g.la&&(c._fw_dbp=a.g.la);a.g.contentVideoId&&(c._fw_distributorvideoassetid=a.g.contentVideoId);c._fw_yt_type=Cqa(a)?"long":"short";b.prof=Cqa(a)?
"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";b.crtp="youtube";b.flag=TW(a.l)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.B&1&&!a.F){var e={};d=Bqa(a);if(VW(a.l)){if(VW(a.l)){var f=0;var k=a.A.o;if(k){k=k.xb;for(var l=0;l<k.length&&(VW(k[l])&&f++,k[l].ia!=a.l.ia);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=Bqa(a)+d;e.tpos=UW(a.l)?a.C.toString():RV(a.l.Pb).toString();d=kE(e)+";";e={slid:"page_display1",
w:"300",h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};d+=kE(e)+";"}a.B&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=TW(a.l)?"10":UW(a.l)?a.C.toString():RV(a.l.Pb).toString(),d+=kE(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=kE(e)+";");a.B&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=kE(e)+";");a=d.substr(0,d.length-1);b="//2975c.v.fwmrm.net/ad/g/1?"+kE(b)+";"+kE(c)+";"+a}else b=""}else b=this.D;return b};
XW.prototype.Gn=function(a,b){return XW.Z.Gn.call(this,a,b,null)};
XW.prototype.Xh=function(a,b){var c=Cs(b);if(VV(c,"rm"))return this.B.B=g.cc(a),2;if(this.g.l.A)return 1;if(VV(c,"hideMaster")){if(a.Nd&&a.Nd.Th()){c=a.Nd.Th();var d=a.tb();if(N.g()){var e=d.W;d.W=[];d=e}else d=[];c.impressionUrls=d}GW(this,new WW(this.g,a));return 0}return XW.Z.Xh.call(this,a,b)};YW.prototype.Rb=function(){return this.l};
YW.prototype.create=function(a,b){switch(this.l){case 1:return new JW(a,b,this.g);case 2:return new LW(a,b,this.g);case 5:return new XW(a,b,this.g);case 4:return new MW(a,b);case 7:return new RW(a,b,this.g);case 8:return new SW(a,b,this.g);default:return null}};g.A(ZW,g.ZF);g.h=ZW.prototype;g.h.Mb=function(){return"loaded"==this.A||"error"==this.A};
g.h.show=function(){this.F?this.g instanceof DW&&this.g.xc("normal"):(this.F=!0,this.g instanceof vW&&this.o.ne("bs"),this.g.subscribe("adEnd",this.TA,this),this.g.subscribe("adError",this.bE,this),this.g.subscribe("AD_LOGGING_EVENT",this.dE,this),this.g.subscribe("select",this.aE,this),this.g.subscribe("adCompanionInitialized",this.cE,this),this.g.show(),Gqa(this,!0))};
g.h.TA=function(){this.l&&(gX(this),sra(this.o));cX(this)};
g.h.bE=function(a){if(a){var b={};Fpa(a,b);eX(this,b);SX(this.o,32,b)}gX(this);cX(this)};
g.h.dE=function(a,b){eX(this,b);dX(this.o,a,b)};
g.h.aE=function(){this.D=!1};
g.h.cE=function(a,b){this.T("adCompanionInitialized",a,b)};
g.h.V=function(){gX(this);this.g=null;null!=this.B&&(this.B.dispose(),this.B=null);ZW.Z.V.call(this)};var Mqa=[new QV(1)];var Oqa={UF:"m",AF:"f"};g.A(hX,g.K);hX.prototype.B=function(a){if(a=a.Lb()){var b=a.C;if(null!=b){var c=uW(this.o.g.app,2);c&&c.getVideoData().videoId==b?c.C?(c=c.C,b=qQ(c,"engage"),b.o=1,c=VO(c.g),b=g.Ea(yma,b.ib,XP(b),VP(b),c)):b=null:b=null;this.l=b}zra(this.o,a)}else g.bE(Error("Ad object is missing in AdEvent"))};
hX.prototype.A=function(){this.g&&this.l&&this.l()};g.A(nX,g.K);g.h=nX.prototype;g.h.hD=function(){this.g.subscribe("beginseeking",this.Pm,this)};
g.h.YC=function(a,b){return a.l&&VW(a)?b+this.A+this.o:b};
g.h.XC=function(a,b){return!a.l||UW(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.A+this.o};
g.h.Wv=function(a){if(a.l&&VW(a)&&!(0>=this.o)){var b={priority:2,id:String(a.ia),style:"ytp-ad-fadeout"},c=aX(a)+this.A;b=new g.EQ(c,c+this.o-1,b);this.B[a.ia]=b;vX(this.g,[b])}};
g.h.pE=function(a){a.l&&VW(a)&&(Sqa(this,a.ia),this.Pm())};
g.h.Pm=function(){(0,window.isNaN)(this.l)||(g.iE(this.l),this.l=window.NaN);var a=VX(this.g);oX(this,a,this.g.app.H.getVolume()/100);DT(a,"transition","");DT(a,"opacity","1")};
g.h.qE=function(a){var b=aX(a)+this.A+this.o;b=50>=1E3*this.g.getCurrentTime(1)-b;a.l&&VW(a)&&b&&(a=.001*(aX(a)+this.D),wra(this.g,a),0>=this.C||(a=VX(this.g),DT(a,"opacity","0"),oX(this,a,0),g.gE((0,g.z)(this.GV,this),0)))};
g.h.GV=function(){var a=VX(this.g);DT(a,"transition","opacity "+String(this.C)+"ms linear");DT(a,"opacity","1");Tqa(this,a,this.C,1)};
g.h.oE=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);oX(this,a,d);this.l=0<d?lX((0,g.z)(this.oE,this,a,b,c),c):window.NaN}};
g.h.nE=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);oX(this,a,d);this.l=d<e?lX((0,g.z)(this.nE,this,a,b,c),c):window.NaN}};
g.h.V=function(){this.Pm();this.g.unsubscribe("beginseeking",this.Pm,this);nX.Z.V.call(this)};g.A(pX,nX);g.h=pX.prototype;g.h.hD=g.y;g.h.YC=function(a,b){return b};
g.h.XC=function(a,b){return b};
g.h.Wv=g.y;g.h.pE=g.y;g.h.qE=g.y;g.h.V=g.y;g.A(qX,g.K);qX.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>=sX(this,a))){var f=this.C.C[a.ia];if(sX(this,a)>b){var k=!tX(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=sX(this,a)-b,f<e&&(e=f,d=a))}else f.visible||(f.visible=!0,c.push(f))}},this);
0<c.length&&vX(this.g,c,1);if(d){var f=0;0<this.l&&(f=(0,g.F)()/1E3-this.l);Uqa(this,a-f-e+2)}else rX(this)}}};
qX.prototype.V=function(){rX(this);this.g.unsubscribe("endseeking",this.o,this);qX.Z.V.call(this)};g.A(uX,g.K);g.h=uX.prototype;g.h.Lj=function(a){a.unsubscribe("adBreakComplete",this.Lj,this);a.unsubscribe("adCompanionInitialized",this.Ft,this);this.N=g.gE((0,g.z)(this.BO,this,a),0)};
g.h.Ft=function(a,b){g.cf(this.I);this.I=new hX(this.l,b)};
g.h.BO=function(a){var b=Xqa(this,a),c=b.previous;b=b.next;this.N=window.NaN;var d=!1;switch(a.Pb.g){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.ua(b.Pb.l)?aX(b)-1:0x7ffffffffffff}0==a.ia&&(this.l.ne("bl"),$W(a)||this.l.ne("fb"));"loaded"!=a.A||0==a.ia&&$W(a)&&b&&1E3*this.l.g.getCurrentTime()>=aX(b)?(c&&c.Mb()&&!d&&(b=e,e=aX(c),e>b&&(b=e),Zqa(this,c),Yqa(this,c,b)),this.Oh(a)):(this.o[a.ia]=a,Yqa(this,a,e),bX(this.l));g.Pb(this.o)==this.xb.length&&this.B.o();
Vqa(this)};
g.h.Oh=function(a){a.unsubscribe("adBreakComplete",this.Lj,this);a.unsubscribe("adBreakComplete",this.Al,this);this.g&&a==this.g&&(this.g=null,null!=this.I&&a.l&&(this.I.g=!0));Zqa(this,a);g.Wa(this.xb,a);delete this.o[a.ia];g.cf(a)};
g.h.dj=function(a){return this.o[a]};
g.h.Al=function(a){a.unsubscribe("adBreakComplete",this.Al,this);if(a.l){if(!UW(a)&&a.D){var b=this.l;aY(b);YX(b);this.A.qE(a)}else $W(a)&&!a.D?(b=this.l,aY(b),YX(b)):aY(this.l);this.Oh(a);a=this.B.l;a={tfla:0<a?Math.floor((0,g.F)()/1E3-a):0};this.l.Wi.g(xX,"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);)$qa(this,this.L.shift())}else a.isVisible||this.Oh(a)};
g.h.V=function(){g.iE(this.N);g.cf(this.A);g.cf(this.B);(0,g.B)(this.xb,this.Oh,this);g.cf(this.I);uX.Z.V.call(this)};g.A(yX,uX);g.h=yX.prototype;g.h.dj=function(a){a=yX.Z.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.Pb=a.Pb;c.ia=a.ia}b&&"loaded"==b.A?(a.unsubscribe("adBreakComplete",this.Lj,this),this.o[a.ia]=b,this.xb[this.xb.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){!TW(a)&&(2!=a.Pb.g||10!=RV(a.Pb))||"loaded"==a.A&&a.l||this.Oj();yX.Z.Lj.call(this,a)};
g.h.Al=function(a){a.l&&10<this.R?(zX(this),this.W=g.gE((0,g.z)(this.Oj,this),1E3*(this.R-10))):this.Oj();yX.Z.Al.call(this,a)};
g.h.Oj=function(){if(!this.ha())for(zX(this);this.H.length&&this.K.length+this.D.length<this.Y;){var a=this.H.shift();a.subscribe("adBreakComplete",this.SA,this);this.K.push(a);fX(a)}};
g.h.SA=function(a){a.unsubscribe("adBreakComplete",this.SA,this);g.Wa(this.K,a);this.D.push(a)};
g.h.V=function(){zX(this);g.B(this.K,g.cf);g.B(this.D,g.cf);g.B(this.H,g.cf);yX.Z.V.call(this)};g.A(AX,uX);AX.prototype.getVideoData=function(){return null};
AX.prototype.aa=function(a){"loaded"==a.A&&this.H.push(a);a.unsubscribe("adBreakComplete",this.aa,this)};
AX.prototype.R=function(){if(null!=this.g&&0<this.H.length){var a=this.H.shift();delete this.o[RV(a.Pb)];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--,ara(this)):(a=this.W,aY(a),YX(a),(0,window.isFinite)(b)&&(this.Y?gU(this.D,window.Infinity,!0):gU(this.D,this.D.getCurrentTime()+b,!0)))};g.A(BX,g.K);BX.prototype.D=function(){this.g||(this.g=cra(this.A.Ce()));vX(this.l,g.Qb(this.g),1)};
BX.prototype.o=function(){if(this.g){var a=this.l.g.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.B)(this.A.Ce(),function(e){var f=this.g[e];if(f){var k=this.A.dj(e);k&&k.yc>a?(e=!this.hd.l(k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.yc-a,f<d&&(d=f,c=k))):!k||k.fb()?(g.bV(this.l.g,[f],void 0),delete this.g[e]):!f.visible&&k&&(f.visible=!0,b.push(f))}},this);
0<b.length&&vX(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);dra(this,e-f-d+2)}else CX(this)}};
BX.prototype.V=function(){this.l.unsubscribe("endseeking",this.o,this);CX(this);BX.Z.V.call(this)};g.A(DX,g.K);g.h=DX.prototype;g.h.Ix=function(){return 4};
g.h.hp=function(a){return a};
g.h.gC=function(){return!1};
g.h.Xv=g.y;g.h.Vl=g.y;g.h.rE=g.y;g.h.sE=g.y;g.h.tE=g.y;g.A(EX,g.K);g.h=EX.prototype;g.h.Ix=function(){return 4-this.A/1E3};
g.h.hp=function(a){return Ub(this.o,1E3*a)?this.o[1E3*a]/1E3:a};
g.h.gC=function(a){var b=!1,c={};(0,g.B)(g.Nd(a),(0,g.z)(function(a){var d;if(d=(d=a.getAttribute("timeOffset"))?era(d):null)b=b||fra(a),c[d]=a},this));
if(!b||0==g.Pb(c))return!1;a=(0,g.G)(g.Sb(c),function(a){return(0,window.parseInt)(a,10)});
if(!ira(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",gra(c))},this));
return!0};
g.h.Xv=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.EQ(1E3*this.hp(a)+this.A,1E3*a+500,{priority:2,id:String(a),style:"ytp-ad-fadeout"});this.B[a]=c;b.push(c)}},this));
vX(this.g,b)}};
g.h.rE=function(a){if(Ub(this.o,1E3*a)){var b=VX(this.g);null!==b&&(a=Math.max(0,1E3*a-1E3*this.g.getCurrentTime(1)),DT(b,"transition","opacity "+String(a)+"ms linear"),DT(b,"opacity","0"),jra(this,b,a,0))}};
g.h.sE=function(a){FX(this,1E3*a)&&(this.B[a]&&(g.bV(this.g.g,[this.B[a]],void 0),delete this.B[a]),this.Vl())};
g.h.zE=function(){g.W(g.NU(this.g.g),4)&&this.Vl()};
g.h.Vl=function(){var a=VX(this.g);null!==a&&(null!=this.l&&(g.iE(this.l),this.l=null),GX(this,a,this.g.app.H.getVolume()/100),DT(a,"transition",""),DT(a,"opacity","1"))};
g.h.tE=function(a){if(Ub(this.o,1E3*a)){var b=1E3*a;200>=1E3*this.g.getCurrentTime(1)-b&&(wra(this.g,this.hp(a)+this.H/1E3),0>=this.C||(a=VX(this.g),null!==a&&(DT(a,"opacity","0"),GX(this,a,0),null!=this.l&&g.iE(this.l),this.l=lX((0,g.z)(this.NV,this),0))))}};
g.h.NV=function(){var a=VX(this.g);null!==a&&(DT(a,"transition","opacity "+String(this.C)+"ms linear"),DT(a,"opacity","1"),jra(this,a,this.C,1))};
g.h.yE=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);GX(this,a,d);0<d?this.l=lX((0,g.z)(this.yE,this,a,b,c),c):this.l=null}};
g.h.xE=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);GX(this,a,d);d<e?this.l=lX((0,g.z)(this.xE,this,a,b,c),c):this.l=null}};
g.h.V=function(){this.Vl();this.g.unsubscribe("applicationplayerstatechange",this.zE,this);EX.Z.V.call(this)};g.A(HX,g.K);var qra={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=HX.prototype;
g.h.load=function(a){if(this.Xa=this.g.Xa){var b=this.g.l;this.C=b.applyFadeOnMidrolls?new EX(this.g):new DX;var c=Npa(this.g);c.l=lra(this,a);if(c.l){c.In=this.g.D.F;c.fc.TSLA=Opa(this);c.fc.GET_MIDROLL_POSITION_IN_SEC=(0,g.z)(this.C.hp,this.C);c.fc.DESCRIPTION_URL="http://www.youtube.com/video/"+XV(this.g).videoId;if(a=Hqa(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.Ba)c.F=b}this.Xa.U("adsManagerLoaded",
this.vE,!1,this);this.Xa.U("adError",this.uE,!1,this);bD(this.Xa,c,this);this.g.ne("bd")}}};
g.h.vE=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=mra(this);this.l=VA(a,this.g.D,b,c)}catch(d){JX(this,d);return}if(this.hd=this.l.RC(b,this.g.l.g)){this.C.Xv(this.l.Ce());this.D=new BX(this.g,this.l,this.hd);g.L(this,this.D);g.gE((0,g.z)(this.D.D,this.D),0);g.Qa(this.l.Ce(),0)||IX(this);this.B.U(this.l,"companionBackfill",(0,g.z)(this.KV,this));this.B.U(this.l,"prefetched",(0,g.z)(this.HO,this));this.B.U(this.l,"loaded",(0,g.z)(this.IV,this));this.B.U(this.l,"adError",(0,g.z)(this.HV,this),!1);this.B.U(this.l,"start",(0,g.z)(this.JV,
this));this.B.U(this.l,"complete",(0,g.z)(this.DO,this));this.B.U(this.l,"adNotify",(0,g.z)(this.Bl,this));this.B.U(this.l,"discardAdNotify",(0,g.z)(this.Dl,this));this.B.U(this.l,"companionInitialized",(0,g.z)(this.LV,this));this.B.U(this.l,"contentPauseRequested",(0,g.z)(this.ph,this));this.B.U(this.l,"contentResumeRequested",(0,g.z)(this.Vf,this));this.B.U(this.l,"allAdsCompleted",g.y);this.I.O(this.g.g,"applicationplayerstatechange",this.MV);try{this.l.init("normal"),this.l.start()}catch(d){this.g.Wi.g(xX,
"vmap_ads_manager_init_exception",void 0),this.l.destroy(),this.l=null,JX(this,d)}}}};
g.h.MV=function(){if(g.W(g.NU(this.g.g),16)||g.W(g.NU(this.g.g),32)){var a=this.l;null!=a.Qb&&(a=a.Qb,a.l.stop(),a.o=!1)}else a=this.l,null!=a.Qb&&bA(a.Qb)};
g.h.LV=function(a){if(a=a.g)g.cf(this.F),this.F=new hX(this.g,a)};
g.h.ph=function(a){KX(this);if((this.o=a.Lb())&&this.o.Sb()){a=LX(this.o);var b=this.o.A.l;b=0==b?1:0<b?2:-1==b?3:0;this.A=new vW(a,this.g,this.l,this.o.isSkippable(),this.o.isBumper(),!0,void 0,b);ora(this,this.A);1!=b&&LN("video_to_ad",["apbs"]);a=this.g;a.K=!0;a.A||wX(a);this.C.sE(this.o.A.l);this.A.show();nra(this,"show_instream_ads")}};
g.h.Vf=function(a){IX(this);if(this.g.getCurrentTime(1)<this.g.g.getVideoData().lengthSeconds){var b=this.g;aY(b);YX(b);this.o&&this.o.Sb()&&(this.C.tE(this.o.A.l),null!=this.F&&(this.F.g=!0))}a=a.Lb();(b=ZC(this.l))&&b.L&&b.fb()?this.o=null:!a&&this.A instanceof IW||KX(this);var c=!0;if(a&&a!==this.o&&!a.Sb()){if(b&&b.L&&!b.fb()){b=this.D;null!=b.g[0]&&(c=b.g[0],delete b.g[0],b.g[0]=new g.EQ(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,vX(b.l,[c,b.g[0]],1),vX(b.l,[b.g[0]]));this.o=a;return}c=Cs(a);
b=LX(a);VV(c,"blockAllAds")?(this.l.Wj(),this.A=new KW(this.g,this.l,1,!0),c=!1):VV(c,"hideMaster")&&14!=b?(this.A=new KW(this.g,this.l,0,!0),c=!1):(c=this.l,14==b?(this.A=new QW(this.g,c),5!=ZC(this.l).Ye()&&pra(this,a)):this.A=new DW(b,this.g,c,!0),this.A.show(),c=!0)}this.o&&this.o.Sb()&&sra(this.g);this.o&&this.o.Sb()?(nra(this,"set_previous_ad_end_time"),b=this.hd,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.Sb()&&c&&(b=this.D,b.C=(0,g.F)()/1E3,b.o());this.D.D();
this.o=a};
g.h.JV=function(a){(a=a.Lb())&&this.A&&(a=LX(a),this.A.adSystem=a)};
g.h.DO=function(a){a.Lb().Sb()||this.o!==a.Lb()||(KX(this),this.o=null)};
g.h.Bl=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.Dl=function(){this.g.g.T("discardadnotify")};
g.h.HO=function(a){var b=a.Lb();if(null!=b){var c=a.g.adBreakTime;this.L[c]=b;this.K||(this.g.ne("bl"),0==c&&a.Lb().Sb()||this.g.ne("fb"),this.K=!0)}};
g.h.IV=function(a){null!=a.Lb()&&(a.Lb().Sb()&&this.g.ne("bs"),a.Lb().A.A||a.Lb().Sb()||IX(this))};
g.h.HV=function(a){JX(this,a.getError())};
g.h.uE=function(a){var b=a.getError();"adLoadError"==b.Rb()&&a.g===this&&JX(this,b)};
g.h.KV=function(a){pra(this,a&&a.Lb())};
g.h.V=function(){KX(this);this.Xa&&(this.Xa.Aa("adsManagerLoaded",this.vE,!1,this),this.Xa.Aa("adError",this.uE,!1,this));g.en(this.N);g.en(this.B);g.YF(this.I);this.H=!1;this.l&&(this.l.destroy(),this.l=null);g.cf(this.C);g.cf(this.F);HX.Z.V.call(this)};
g.h.wE=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),dX(this.g,c,d)};g.A(MX,g.kV);g.h=MX.prototype;g.h.Us=function(){return-1};
g.h.create=function(){this.created||(g.Q(this.g.getRootNode(),this.ce+"-created"),this.I.O(this.g,"crn_"+this.ce,this.Ht),this.I.O(this.g,"crx_"+this.ce,this.It),this.created=!0)};
g.h.destroy=function(){g.Cq(this.g.getRootNode(),this.ce+"-created");g.YF(this.I);this.created=!1;this.T("destroyed",this.ce)};
g.h.Ht=function(){};
g.h.It=function(){};
g.h.Vs=function(){return null};
g.h.V=function(){this.created&&this.destroy();MX.Z.V.call(this)};g.p(NX,g.K);g.h=NX.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=bpa(a.hoverText),Kd(this.g,a,0)):this.g=null,this.o.bind(b)):g.bE(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
g.h.ma=function(){return this.l};
g.h.vr=function(){this.g&&g.M(this.g,!1)};
g.h.CL=function(){this.o.g.g.l||this.g&&g.M(this.g,!0)};
g.h.BL=function(){this.o.show();this.vr()};g.p(OX,g.U);OX.prototype.Bl=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()};
OX.prototype.Dl=function(){this.A&&(this.Aa(this.A),this.A=null);this.B.hide()};
OX.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(QX,MX);QX.o=10;QX.l=1E3;QX.A="yt.www.watch.ads.addInstreamCompanionWtaUi";QX.g="livead";g.h=QX.prototype;
g.h.create=function(){QX.Z.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(PX(this)){var a=RH(this.app.Na);a.addEventListener("updatekevlarcompanion",
gpa);a.addEventListener("onPlaShelfInfoCardsReady",ipa);window.addEventListener("yt-navigate-start",jpa)}this.ne("i");a=this.g.getVideoData().hc||{};this.l=new Qqa(WV(this),a);this.B=new bra(this,this.g);this.R=!1;if(this.Xa)this.Xa.g.A.A=Co();else{a=this.l.L?void 0:aqa(this.C);var b=new zQ(this.app,2);this.D=new RA(kW(this.C),a,RH(b));this.D.setSize(-1,-1);this.Xa=new aD(this.D)}if(this.l.vmap&&!this.l.X){this.A=new HX(this);try{this.A.load(this.l.vmap)}catch(c){g.bE(c),this.Wi.g(xX,"vmap_load_exception",
{err_msg:c.toString()}),this.A.dispose(),this.A=null,vra(this,Lqa(new Jqa(this)))}}else vra(this,Lqa(new Jqa(this)));this.B&&(this.H=RX(this.app),this.H.subscribe("cuepointupdated",this.jB,this),a=UX(this),null!=a&&(a.D=g.MU(this.app)),a={},a.allowed=this.B.l,rra(this,{},a),this.N=!0)};
g.h.destroy=function(){this.K&&aY(this);this.app.g.experiments.g("disable_new_pause_state3")||g.cV(this.g,this.ce,void 0);ura(this);g.df(this.o,this.X,this.A);this.X=this.o=null;this.H.unsubscribe("cuepointupdated",this.jB,this);this.B=this.l=this.A=this.H=null;dW=cW=bW=!1;fW();this.created&&QX.Z.destroy.call(this);if(PX(this)){var a=RH(this.app.Na);a.removeEventListener("updatekevlarcompanion",gpa);a.removeEventListener("onPlaShelfInfoCardsReady",ipa);window.removeEventListener("yt-navigate-start",
jpa);vV=null}};
g.h.isFullscreen=function(){return this.g.isFullscreen()||this.l.B};
g.h.Vs=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=QX.Z.Vs.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.Us=function(){return this.L};
g.h.Ht=function(a){QX.Z.Ht.call(this,a);var b=(0,window.parseInt)(a.ia,10);if(this.o&&!(0,window.isNaN)(b))if("ytp-ad-fadeout"==a.style){var c=this.o,d=c.dj(b);if(d&&!tX(c.B,d)&&(c=c.A,d.l)){var e=VX(c.g);d=Math.max(0,aX(d)+c.A+c.o-1E3*c.g.getCurrentTime(1));DT(e,"transition","opacity "+String(d)+"ms linear");DT(e,"opacity","0");Tqa(c,e,d,0)}}else $qa(this.o,b);this.A&&!(0,window.isNaN)(b)&&("ytp-ad-fadeout"==a.style?(d=this.A,(c=d.L[b])&&c.Sb()&&d.C.rE(b)):0>b&&(b=this.Xa.g,d=new tn("contentComplete"),
b.dispatchEvent(d),d.l&&(Dn(An(),420706009)||b.A.clear(),null!=b.l&&(d=b.l.Th(),null!=d&&iB(d,b.A.g)))));if("livead"===a.ia&&null!=UX(this)){b=UX(this);for(a=Math.floor(a.start/1E3);g.t(b.o[a]);)a++;d=b.da++;c=0==a?new QV(1):new QV(2,a);e=b.W;var f=Iqa(b.W.l,c.g);d=new ZW(e,d,c,f,!1);b.o[a]=d;d.subscribe("adBreakComplete",b.aa,b);fX(d)}};
g.h.It=function(a){QX.Z.It.call(this,a);var b=(0,window.parseInt)(a.ia,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 DW&&b.g.xc("fullscreen"));this.A&&"ytp-ad-fadeout"==a.style&&this.A.C.Vl();"livead"===a.ia&&null!=UX(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.bV(this.g,[a],1),ara(UX(this)))};
g.h.ne=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||rra(this,this.Y,this.W)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.jB=function(a){var b=UX(this);if(null!=b&&null!=b.D){var c=UX(this).D.getCurrentTime();(0,g.B)(a,function(a){0!=c&&a.Qe>c&&(a=new g.EQ(1E3*Math.floor(c+Math.random()*Math.max(a.Qe-10-c,0)),1E3*a.Qe,{id:"livead",priority:2}),vX(this,[a],1))},this)}};
g.h.bA=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.aa,isHouseBrandPlayer:c.jc,isLeanback:c.B,isShortform:c.Na,tagForChildDirected:c.tagForChildDirected};case "adstate":return this.Us();case "midrollfreqcap":if(this.A)return c=this.l.g,null!=c?c:0;c=this.o instanceof
yX?this.o:null;return null!=c?c.R:0;case "breakscount":return this.A?(c=this.A,c=null!=c.l?c.l.Ce().length:0):c=this.o?this.o.xb.length:0,c;case "displaystate":return c=null,this.o&&this.o.g&&(c=this.o.g.g),{adFormat:c instanceof iW?c.adType:!1,adSkipped:c instanceof vW?c.C:!1,hasVideoStarted:c instanceof vW?c.F:!1,skippable:c instanceof vW?c.W:!1};case "getContentVideoData":return c=XV(this),{adModule:c.adModule,partnerTrackingToken:c.Gl,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.ZM=function(){return"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ")};
g.h.Lc=function(){return!1};g.p(cY,g.K);g.h=cY.prototype;g.h.Mw=function(){if(!this.l){var a=this.Mw;if("lb3"==g.X(this.g).playerStyle)var b=!1;else b=this.g.getVideoData(),b=b.Nm||b.captionTracks.length||b.ua&&b.na&&(null!=b.na.g.en||g.mL(b.na))?!0:!1;(a=eY(this,"captions",a,b))&&!this.l&&(this.l=a,a.Cz()&&a.load(),this.g.sa("onApiChange"))}};
g.h.zq=function(){this.H=this.H||eY(this,"endscreen",this.zq,g.Ara(this))};
g.h.Qw=function(){var a=this.g.getVideoData();var b=g.X(this.g).experiments,c=g.NE()&&(KE("ps4 vr")||KE("ps4 pro vr")),d=OE(),e=b.g("enable_mesh_cobalt"),f=b.g("enable_spherical_kabuki")||a.bx,k=RM(g.X(this.g));a=a.Ze()?c||e||f||k||d||b.g("html5_enable_spherical"):a.Lf()?k||c||f||b.g("html5_enable_spherical"):a.Mf()?k||c||b.g("html5_enable_spherical3d"):a.fi()?k||b.g("html5_enable_anaglyph3d")||!1:k&&!g.vO(a)&&(b.g("enable_webgl_noop")||b.g("enable_white_noise"));this.o||(this.o=eY(this,"webgl",this.Qw,
a));this.o&&a&&this.o.load()};
g.h.Sw=function(){this.W=this.W||eY(this,"ypc",this.Sw,g.CO(this.g.getVideoData(),"ypc_module"))};
g.h.Rw=function(){this.Y=this.Y||eY(this,"ypc_clickwrap",this.Rw,g.CO(this.g.getVideoData(),"ypc_clickwrap_module"))};
g.h.Lw=function(){this.R=this.R||eY(this,"spacecast",this.Lw,this.g.getVideoData().spacecastModule)};
g.h.Jw=function(){var a=!this.I,b=g.X(this.g);this.I=this.I||eY(this,"heartbeat",this.Jw,g.CO(this.g.getVideoData(),"ypc_license_checker_module"));b.experiments.g("html5_unstarted_ingestion_state")&&a&&this.I&&this.g.T("offlineslatestatechange")};
g.h.xq=function(){if(!this.A){var a=this.xq;var b=g.X(this.g);if("3"==b.o)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.CO(c,"iv3_module"):!!c.xf}else b=!0;if(this.A=eY(this,"annotations_module",a,b)){a=this.A;for(var d in this.ea)b=d,a.subscribe(b,this.ea[b]);this.g.sa("onApiChange")}}};
g.h.Iw=function(){this.F=this.F||eY(this,"fresca",this.Iw,g.CO(this.g.getVideoData(),"fresca_module"))};
g.h.Aq=function(){this.K||(this.K=eY(this,"remote",this.Aq,g.X(this.g).Qa))&&this.K.create()};
g.h.Nw=function(){this.C||(this.C=eY(this,"unplugged",this.Nw,g.MM(g.X(this.g))))&&this.C.init()};
g.h.Ow=function(){this.L||(this.L=eY(this,"ux",this.Ow,!0))&&this.L.init()};
g.h.Kw=function(){this.aa||(this.aa=eY(this,"miniplayer",this.Kw,g.X(this.g).useMiniplayerUi))&&this.aa.init()};
g.h.yq=function(){if(!this.D){var a=this.yq;var b=g.X(this.g);"3"==b.o?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.g.getVideoData(),b=!!b&&!!g.GO(b));(this.D=eY(this,"creatorendscreen",a,b))&&this.g.sa("onApiChange")}};
g.h.Tw=function(){(this.N=this.N||eY(this,"yto",this.Tw,!1))&&this.N.init()};
g.h.V=function(){g.K.prototype.V.call(this);fY(this,!0)};g.p(gY,g.ZF);g.h=gY.prototype;g.h.rN=function(a){a=NF(a);if(!id(a,this.B)){var b=2;this.D&&(b|=8);this.B=a;this.ac(b,!0)}};
g.h.tO=function(){this.D&&this.ac(8,!0);this.ac(2,!1)};
g.h.gt=function(a){var b=NF(a);id(b,this.B)||(this.B=b,(a=g.KF(a))&&this.N(a)&&(this.ac(4,!0),this.g.Aa(this.A),this.A=this.g.O(this.o,"mouseover",this.nA),this.K=this.g.O(this.o,"mouseout",this.nA)))};
g.h.nA=function(a){a=MF(a);a&&this.N(a)||(this.B=new g.hd(window.NaN,window.NaN),Dra(this))};
g.h.mK=function(){this.ac(1,!0)};
g.h.TH=function(a){a=g.KF(a);a instanceof window.Element&&!(0<a.tabIndex)||this.ac(1,!0)};
g.h.mA=function(){this.D=!0;this.g.Aa(this.C);this.C=this.g.O(window.document,"mouseup",this.sN)};
g.h.sN=function(){this.D=!1;this.ac(8,!1);this.g.Aa(this.C);this.C=this.g.O(this.o,"mousedown",this.mA)};
g.h.oA=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.tN,void 0,!0),this.ac(1024,!0)};
g.h.tN=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.oA,void 0,!0),this.ac(1024,!1))};
g.h.ac=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.ku(this.L,this.W);var d=!this.l;c!=d&&this.T("autohideupdate",d)};g.p(g.hY,g.U);g.hY.prototype.show=function(){g.U.prototype.show.call(this);g.ku(this.o)};
g.hY.prototype.hide=function(){this.A.stop();g.U.prototype.hide.call(this)};g.p(lY,g.U);g.h=lY.prototype;g.h.show=function(){var a=this;this.l||(this.C.O(this.o,"videodatachange",function(){return g.ku(a.A)}),this.C.O(this.o,"videoplayerreset",function(){return g.ku(a.A)}));
g.U.prototype.show.call(this)};
g.h.hide=function(){this.C&&g.YF(this.C);g.U.prototype.hide.call(this)};
g.h.DN=function(a){var b=g.X(this.o);b.experiments.g("disable_new_pause_state3")&&NM(b)&&(a=g.FP(a.state)&&!g.FP(a.g)||PU(this.o)&&g.W(a.state,2),g.sh(this.element,"transition-delay",a?"2s":""));g.ku(this.A)};
g.h.nT=function(){g.ku(this.A)};
g.h.CN=function(){this.B.stop();this.hide();g.ku(this.A)};
g.h.rA=function(){var a=g.NU(this.o),b=!1;if(3==this.o.Pa()&&(a.fb()||g.W(a,4)))var c=!0;else(c=g.GU(this.o).W)&&c.pU()?c=!0:(c=g.X(this.o),c=g.W(a,2)&&IU(this.o)&&c.aa?!0:!1);c?(c=!0,window.document.activeElement==this.D&&this.o.getRootNode().focus(),this.D.style.display="none"):(this.D.style.display="",g.FP(a)&&2!=this.o.Pa()?c=!0:(b=!g.X(this.o).experiments.g("disable_new_pause_state3"),c=!(!g.W(a,2)||IU(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.RU(this.o.Sf(),a),g.R(this.element,"ytp-cued-thumbnail-overlay-show-duration",b&&0<a.lengthSeconds),a=g.FV(a.lengthSeconds),this.updateValue("duration",a)):(this.B.hide(),g.W(a,1)||this.B.stop())};
g.h.RU=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.iO&&!d.videoId)){var e=g.OU(this.o).Ha();var f=g.OM(),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(nY,g.K);nY.prototype.start=function(a,b,c){this.g=a;this.F=b;this.C=c;this.D=g.yG();this.o()};
nY.prototype.o=function(){var a=g.yG()-this.D;var b=this.A;a=zja(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(oY,g.U);g.h=oY.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.WN=function(){Jra(this,this.C-this.F)};
g.h.XN=function(){Jra(this,this.C+this.F)};
g.h.ZN=function(a,b){var c=this.o[a],d=c.Gd;if(g.iX(b,this.B,this.ca,d||void 0)){var e=c.Ub().videoId;c=c.getPlaylistId();g.o0(this.B.app,e,d,c,void 0,void 0,void 0)}};
g.h.wA=function(a){this.H.element.scrollLeft=-a};g.p(qY,g.U);qY.prototype.show=function(){g.U.prototype.show.call(this);this.H()};
qY.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.ku(this.F)};
qY.prototype.hide=function(){this.o.stop();this.F.stop();g.U.prototype.hide.call(this)};g.p(rY,g.U);rY.prototype.show=function(){g.U.prototype.show.call(this);sY(this,function(a){a.show()});
this.C&&Nra(this,g.OU(this.o).Ha())};
rY.prototype.hide=function(){g.U.prototype.hide.call(this);sY(this,function(a){a.hide()})};
rY.prototype.F=function(a){if(g.iX(a,this.o,!NM(g.X(this.o)))){a={as3:!1,html5:!0,player:!0,cpn:this.o.getVideoData().clientPlaybackNonce};var b=this.o;b.sa("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&g.RU(b)}};
var mva=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.p(vY,g.WF);vY.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=PU(this.g);this.o.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.z)(function(){iY(this.A,AV(),g.T("YTP_NEXT"));this.g.Gj()},this),c=(0,g.z)(function(){Fra(this.A);
this.g.rl()},this)),uY(this,"nexttrack",b),uY(this,"previoustrack",c))};
vY.prototype.B=function(){var a=g.NU(this.g);a=a.isError()?"none":zP(a)?"playing":"paused";this.l.playbackState=a};
vY.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())uY(this,b.value,null);g.WF.prototype.V.call(this)};g.p(wY,g.U);wY.prototype.R=function(a,b){Ora(this,b);this.D&&Pra(this,this.D)};
wY.prototype.N=function(a){var b=this.K.getVideoData();this.A!=b.videoId&&Ora(this,b);this.o&&Pra(this,a.state);this.D=a.state};
wY.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 nva=/fidget ?spinner/i;g.p(yY,g.U);g.h=yY.prototype;g.h.hide=function(){this.A.stop();this.C.style.display="none";g.U.prototype.hide.call(this)};
g.h.mB=function(){Qra(this,nva.test(this.o.getVideoData().title))};
g.h.iO=function(a){xY(this,a.state)};
g.h.cQ=function(){xY(this,g.NU(this.o))};
g.h.tR=function(){this.C.style.display="block"};g.p(zY,g.JH);g.h=zY.prototype;g.h.show=function(){var a=AY(this);g.JH.prototype.show.call(this);this.ca&&(this.I.O(window,"blur",this.Ob),this.I.O(window.document,"click",this.UN));a||this.T("show",!0)};
g.h.hide=function(){var a=AY(this);g.JH.prototype.hide.call(this);Rra(this);a&&this.T("show",!1)};
g.h.Ne=function(a,b){this.C=a;this.L.show();b?(this.K||(this.K=this.I.O(this.aa,"appresize",this.Zv)),this.Zv()):this.K&&(this.I.Aa(this.K),this.K=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.Sd(a,window.document.activeElement)&&this.focus())};
g.h.Zv=function(){g.WH(this.aa).zo(this.element,this.C)};
g.h.Ob=function(){var a=AY(this);Rra(this);this.L.hide();a&&this.T("show",!1)};
g.h.xh=function(a,b){AY(this)?this.Ob():this.Ne(a,b)};
g.h.UN=function(a){var b=LF(a);b&&(g.Sd(this.element,b)||this.C&&g.Sd(this.C,b)||!g.GV(a))||this.Ob()};g.p(BY,zY);BY.prototype.D=function(a){a?(Sra(this),this.Ne()):(this.A&&Tra(this),this.Ob())};
BY.prototype.F=function(a){this.o.app.Y&&0<LP(a,2)&&this.Ob()};
BY.prototype.onClick=function(){this.o.Tf();Tra(this)};g.p(CY,g.WF);g.h=CY.prototype;g.h.init=function(){var a=g.NU(this.g);this.Uo(a);this.Hi();this.wb()};
g.h.pA=function(a,b){if(this.pa!=b.videoId){this.pa=b.videoId;var c=this.o;c.W=b&&0<b.Hh.length?5E3:3E3;c.ac(512,!0);this.Hi()}};
g.h.vR=function(){this.pA("newdata",this.g.getVideoData())};
g.h.Zj=function(){var a=g.VU(this.g)&&g.WU(this.g);EY(this);(a=this.jb||a)||(a=g.GU(this.g).F,a=!!a&&a.fL());return a||this.ob||EY(this)};
g.h.cg=function(){var a=!this.Zj();g.R(this.g.getRootNode(),"ytp-menu-shown",!a)};
g.h.uN=function(a){if(!g.Sd(this.g.getRootNode(),a))return!1;for(;a&&!g.Zd(a);)a=a==this.g.getRootNode()?null:g.Qd(a);return!!a};
g.h.Dt=function(a){var b=this.g.getRootNode();g.R(b,"ytp-autohide",a);g.R(b,"ytp-autohide-active",!0);this.Ya.start(a?250:100);a&&(this.Qa=!1,g.Cq(b,"ytp-touch-mode"));b=this.g;a=!a;b.sa("onVideoAreaChange");b.sa(a?"onShowControls":"onHideControls")};
g.h.bP=function(){var a=this.g.getRootNode();g.R(a,"ytp-autohide-active",!1)};
g.h.fS=function(a){var b=AY(this.ca);g.Bk&&Ura(this,a)?b&&g.OF(a):(g.FP(g.NU(this.g))&&!g.X(this.g).la&&(b=this.g.getVideoData(),b.videoId&&this.g.Sz(FO(b))),this.o.l||FY(this,LF(a))||AY(this.ca)||(g.NU(this.g),g.OF(a)),this.Qa=!0,g.Q(this.g.getRootNode(),"ytp-touch-mode"),this.o.ac(2,!0))};
g.h.bS=function(a){Ura(this,a)||FY(this,LF(a))||(this.o.ac(2,!0),g.GV(a)&&!g.X(this.g).F&&(this.gn()?g.OF(a):(a=g.NU(this.g),g.W(a,2)&&IU(this.g)||jY(this.C,!zP(a)),!g.X(this.g).ca||g.FP(a)||g.W(a,1024)?this.ht():this.X.isActive()?(this.C.hide(),this.X.stop()):this.X.start())))};
g.h.ht=function(){var a=g.NU(this.g);g.W(a,2)&&IU(this.g)||(zP(a)?this.g.cd():this.g.od())};
g.h.cS=function(a){FY(this,LF(a))||3!=this.g.Pa()&&g.RU(this.g)};
g.h.dS=function(a){Vra(this,.3,a.scale);g.OF(a)};
g.h.eS=function(a){Vra(this,.1,a.scale)};
g.h.wb=function(){var a=this.nd(),b=g.OU(this.g).Ha(),c=this.g.isFullscreen(),d=this.g.getRootNode(),e=!a&&(480>b.width||290>b.height),f=650<=b.width;g.GI&&Dra(this.o);g.R(d,"ytp-fullscreen",c);g.R(d,"ytp-large-width-mode",f);g.R(d,"ytp-small-mode",e);g.R(d,"ytp-big-mode",a);this.B&&Mra(this.B,b)};
g.h.zR=function(a){this.Uo(a.state);this.Hi()};
g.h.Hi=function(){var a=!!this.pa&&!g.HU(this.g);var b=2==this.g.Pa();var c=g.X(this.g);if(b){b=g.GU(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.R(this.g.getRootNode(),"ytp-hide-info-bar",
!b))};
g.h.Uo=function(a){var b=g.FP(a);b!=this.wc&&(this.wc=b,this.Ta&&this.Aa(this.Ta),this.Ta=this.O(g.OU(this.g),"touchstart",this.fS,void 0,b));this.o.ac(128,!(a.fb()&&!g.W(a,32)||YU(this.g)));var c=3==this.g.Pa();this.o.ac(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.Dq(c,
this.ea),this.ea=d,g.Bq(c,d));d=g.X(this.g);var e=g.W(a,2);g.R(c,"ytp-hide-controls",("3"==d.o?!e:"1"!=d.o)||b);g.R(c,"ytp-native-controls","3"==d.o&&!b&&!e);if(g.W(a,128)){this.B||(this.B=new rY(this.g),g.L(this,this.B),g.eV(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(tY(b,c,"//support.google.com/googleplay/answer/2844198#movies",!1,!0,"YTP_ERROR_VIDEO_UNAVAILABLE"));else{c=a.message.split(mva);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(tY(b,
"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/html5"));else if(b.Ib(tY(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.gn=function(){return g.VU(this.g)&&g.WU(this.g)?(this.g.tl(!1,!1),!0):g.HU(this.g)?(g.JU(this.g,!0),!0):!1};
g.h.vN=function(a){this.ob=a;this.cg()};
g.h.nd=function(){return!1};
g.h.zj=function(){return this.Qa};
g.h.bo=function(){return null};
g.h.Hs=function(){var a=g.OU(this.g).Ha();return new g.eh(0,0,a.width,a.height)};
g.h.Is=function(){};
g.h.zo=function(){};
g.h.co=function(){};
g.h.Ks=function(){};g.p(HY,g.U);HY.prototype.V=function(){this.A&&this.A();g.U.prototype.V.call(this)};
HY.prototype.H=function(){g.nG("iv-button-mouseover")};
HY.prototype.F=function(a){g.VU(this.o);var b=g.Aq(this.o.getRootNode(),"ytp-cards-teaser-shown");g.nG("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.o.tl(!g.WU(this.o),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.p(JY,g.U);g.h=JY.prototype;g.h.DD=function(){g.VU(this.A)&&g.WU(this.A)&&this.l&&3!=this.D.g&&this.xl()};
g.h.wU=function(){this.xl();g.nG("iv-teaser-clicked",!!this.o);this.A.tl(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.wN=function(){g.nG("iv-teaser-mouseover");this.o&&this.o.stop()};
g.h.zS=function(a){this.o||!a||g.WU(this.A)||this.B&&this.B.isActive()||(Wra(this,a),g.nG("iv-teaser-shown"))};
g.h.qA=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.YQ=function(){this.o&&this.o.stop()};
g.h.WQ=function(){this.xl()};
g.h.xl=function(){!this.o||this.C&&this.C.isActive()||(this.D.hide(),g.Cq(this.A.getRootNode(),"ytp-cards-teaser-shown"),this.C=new g.ju(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);GY(this.K,!0)},330,this),this.C.start())};
g.h.V=function(){var a=this.A.getRootNode();a&&g.Cq(a,"ytp-cards-teaser-shown");g.df(this.B,this.C,this.o);g.U.prototype.V.call(this)};g.p(KY,g.JH);KY.prototype.ea=function(){this.T("size-change")};
KY.prototype.focus=function(){this.W.focus()};
KY.prototype.fa=function(){this.T("back")};g.p(g.LY,KY);g.LY.prototype.aa=function(){this.F.T("size-change")};
g.LY.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.NY,zY);g.h=g.NY.prototype;g.h.show=function(){zY.prototype.show.call(this);this.Pl()};
g.h.hide=function(){zY.prototype.hide.call(this);1<this.o.length&&g.RY(this)};
g.h.Pl=function(){asa(this);this.l&&($ra(this),g.Kh(this.element,this.size))};
g.h.Pe=function(){var a=this.o.pop(),b=OY(this);PY(this,a,b,!0)};
g.h.sU=function(a,b,c){this.F.dispose();this.F=null;g.Q(this.element,"ytp-popup-animating");c?(g.Q(a.element,"ytp-panel-animate-forward"),g.Cq(b.element,"ytp-panel-animate-back")):(g.Q(a.element,"ytp-panel-animate-back"),g.Cq(b.element,"ytp-panel-animate-forward"));g.Kh(this.element,this.size);this.D=new g.ju(g.Ea(this.OO,a,b),250,this);this.D.start()};
g.h.OO=function(a){g.Cq(this.element,"ytp-popup-animating");g.HH(a);g.Dq(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.D.dispose();this.D=null};
g.h.LN=function(a){if(!g.PF(a))switch(g.QF(a)){case 27:this.Ob();g.OF(a);break;case 37:1<this.o.length&&this.Pe();g.OF(a);break;case 39:g.OF(a)}};
g.h.focus=function(){OY(this).focus()};
g.h.V=function(){zY.prototype.V.call(this);this.F&&this.F.dispose();this.D&&this.D.dispose()};g.p(SY,g.LH);SY.prototype.o=function(a){g.PF(a)||39!=g.QF(a)||(this.element.click(),g.OF(a))};g.p(UY,g.LH);UY.prototype.K=function(){VY(this,!this.A);this.T("select",this.A)};
UY.prototype.getValue=function(){return this.A};g.p(XY,g.LY);g.h=XY.prototype;g.h.GP=function(){mX(this.I.element)};
g.h.eQ=function(){YY(this,this.o.pl(!0))&&iY(this.N,lpa())};
g.h.fQ=function(){YY(this,this.o.Kz())&&iY(this.N,g.wV?{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.iV(this.o,this.A.element);WY("EMBED",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.iQ=function(){YY(this,this.o.getVideoUrl(!0,!0))&&iY(this.N,rpa());g.iV(this.o,this.C.element);WY("COPY_PASTE",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.hQ=function(){YY(this,this.o.getVideoUrl(!1,!0))&&iY(this.N,rpa());g.iV(this.o,this.B.element);WY("COPY_PASTE",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.CQ=function(a){VY(this.D,a)};
g.h.DQ=function(){var a=this.D.getValue();Eta(this.o.app,a);this.L.Ob();g.iV(this.o,this.D.element)};
g.h.VR=function(a){var b=g.MU(this.o.app);b&&b.kl(new g.UM("feedback",!1,{gpu:(0,g.JP)()}));if(g.iX(a,this.o,!NM(g.X(this.o)))){a=this.o;b=b={as3:!1,html5:!0,player:!0};var c=a.Px().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.pl(!0);a.sa("onFeedbackStartRequest",b);a.isFullscreen()&&g.RU(a)}this.L.Ob()};
g.h.qS=function(){this.o.Oz();this.L.Ob()};
g.h.AN=function(a,b){csa(this,b)};g.p(ZY,g.NY);g.h=ZY.prototype;g.h.show=function(){this.H||(this.H=new XY(this.A,this.da,this,this.W),g.L(this,this.H),g.QY(this,this.H));g.NY.prototype.show.call(this);g.jV(this.A,this.element,!0);dsa(this.H,!0)};
g.h.hide=function(){esa(this);g.NY.prototype.hide.call(this);g.jV(this.A,this.element,!1);this.H&&dsa(this.H,!1)};
g.h.FP=function(a){var b=LF(a);this.l||b&&(g.ae(b,"a")||g.be(b,"ytp-no-contextmenu"))||(g.OF(a),fsa(this),this.element.style.left="",this.element.style.top="",a=NF(a),a.x++,a.y++,this.Ne(),b=g.Eh(window.document.body),a=g.fD(a,this.size,0,void 0,b,5),g.zh(this.element,g.jh(a.rect)),g.YF(this.B),this.B.O(window.document,"contextmenu",this.OP),this.B.O(this.A,"fullscreentoggled",this.BN),this.B.O(this.A,"pageTransition",this.kR))};
g.h.OP=function(a){g.PF(a)||(g.Sd(this.element,LF(a))||this.Ob(),g.X(this.A).disableNativeContextMenu&&g.OF(a))};
g.h.BN=function(){this.Ob();fsa(this)};
g.h.kR=function(){this.Ob()};var u1,ova;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"}];ova=[{option:0,text:"0%"},{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}];
g.aZ=[{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:ova},{option:"windowColor",message:"YTP_WINDOW_COLOR",options:u1},{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:ova},{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($Y,g.WF);g.h=$Y.prototype;
g.h.Zx=function(a){var b=!1,c=g.QF(a),d=LF(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.X(this.g);g.PF(a)?(e=!1,k=!0):l.Kd&&(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.GU(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.Wx(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.Fq(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=!zP(g.NU(this.g)),jY(this.l,k),k?this.g.od():this.g.cd(),k=f=!0);break;case 37:this.g.bd()&&(iY(this.l,xpa()),this.g.he(-5*this.g.Rc()),k=f=!0);break;case 39:this.g.bd()&&(iY(this.l,qpa()),this.g.he(5*this.g.Rc()),k=f=!0);break;case 38:k=Math.min(this.g.getVolume()+5,100);kY(this.l,k,!1);this.g.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.g.getVolume()-5,0);kY(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.Zb(0),k=f=!0);break;case 35:this.g.bd()&&(this.g.Zb(window.Infinity),k=f=!0)}if("3"!=l.o)switch(c){case 67:g.GU(this.g).l&&(k=this.g.uc("captions","track"),(f=g.GU(this.g).l)&&f.rD(),f=this.l,k=!k||k&&!k.displayName?g.T("YTP_SUBTITLES_ON"):g.T("YTP_SUBTITLES_OFF"),iY(f,ppa(),k),k=f=!0);break;case 79:bZ(this,"textOpacity")&&(f=!0);break;case 87:bZ(this,"windowOpacity")&&(f=!0);break;case 187:bZ(this,"fontSizeIncrement",!1,!0)&&
(f=!0);break;case 189:bZ(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.Zb(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.ju(!0);(b||k)&&this.B.ac(2,!0);(f||e&&hsa(this,c,a.shiftKey))&&g.OF(a);l.Cb&&(a={keyCode:g.QF(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.PF(a),fullscreen:this.g.isFullscreen()},this.g.sa("onKeyPress",a))};
g.h.ay=function(a){a=g.QF(a);var b=g.GU(this.g).o;b&&b.o&&b.o.l&&b.o.Yx(a);9==a&&this.ju(!0)};
g.h.ju=function(a){g.R(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.R(this.D.element,"ytp-probably-keyboard-focus",a)};
g.h.tA=function(a){g.GU(this.g).l&&this.g.Fd("captions","sampleSubtitles",a)};
g.h.V=function(){g.mu(this.A);g.WF.prototype.V.call(this)};g.p(cZ,g.U);g.h=cZ.prototype;g.h.hide=function(){g.Cq(this.o.getRootNode(),"ytp-expand-pause-overlay");g.U.prototype.hide.call(this)};
g.h.qP=function(){this.X=!0;g.Cq(this.o.getRootNode(),"ytp-expand-pause-overlay");this.I.focus()};
g.h.sP=function(){this.X=!1;g.Q(this.o.getRootNode(),"ytp-expand-pause-overlay")};
g.h.MN=function(){isa(this,this.C-this.F)};
g.h.NN=function(){isa(this,this.C+this.F)};
g.h.ON=function(a,b){var c=this.A[a],d=c.Gd;if(g.iX(b,this.o,this.ea,d||void 0)){var e=c.Ub().videoId;c=c.getPlaylistId();g.o0(this.o.app,e,d,c,void 0,void 0,void 0)}};
g.h.PN=function(){this.jt(g.OU(this.o).Ha())};
g.h.QN=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.Q(this.o.getRootNode(),"ytp-expand-pause-overlay"),dZ(this)),this.R.show()):this.R.hide())};
g.h.jt=function(a){var b=16/9,c=this.aa.nd();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.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.uA(0);dZ(this)};
g.h.RN=function(){var a=this.o.getVideoData();if(a.suggestions){var b=(0,g.Md)(a.suggestions,function(a){return a&&!a.list});
this.A=(0,g.G)(b,function(a){return g.mY(a)})}else this.A.length=0;
jsa(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.uA=function(a){this.H.element.scrollLeft=-a};g.p(eZ,g.U);eZ.prototype.A=function(a){g.iX(a,this.o)&&this.o.Lz(this.zb)};g.p(fZ,zY);g.h=fZ.prototype;g.h.show=function(){zY.prototype.show.call(this);this.F.O(this.A,"videodatachange",this.kt);this.F.O(this.A,"onPlaylistUpdate",this.kt);this.kt()};
g.h.hide=function(){zY.prototype.hide.call(this);g.YF(this.F);ksa(this,null)};
g.h.kt=function(){ksa(this,this.A.Sf())};
g.h.Lo=function(){var a=this.o.Vn;if(a==this.H)this.D.element.setAttribute("aria-checked",!1),this.D=this.B[this.o.de()];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 eZ(this.A,this.o,c);this.B.push(d);d.ra(this.Ga)}this.D=this.B[this.o.de()];this.H=a}this.D.element.setAttribute("aria-checked",!0)};
g.h.BS=function(a){var b=this.A.getVideoUrl(!0);jX(b,this.A,a)};
g.h.focus=function(){this.D.focus()};
g.h.V=function(){this.hide();zY.prototype.V.call(this)};g.p(gZ,g.U);gZ.prototype.A=function(){g.R(this.element,"ytp-playlist-menu-button-tiny",400>g.OU(this.B).Ha().width);this.o&&2!=this.B.Pa()?(this.update({text:g.T("YTP_PLAYLIST_POSITION",{CURRENT_POSITION:String(this.o.de()+1),PLAYLIST_LENGTH:String(this.o.getLength())}),title:g.T("YTP_PLAYLIST_NAME",{PLAYLIST_NAME:this.o.title})}),this.l||(this.show(),AZ(this.C))):this.l&&(this.hide(),AZ(this.C))};
gZ.prototype.D=function(){this.o&&this.o.unsubscribe("shuffle",this.A,this);(this.o=this.B.Sf())&&this.o.subscribe("shuffle",this.A,this);this.A()};g.p(hZ,g.U);hZ.prototype.B=function(a){g.IH(this,g.W(a.state,2))};
hZ.prototype.A=function(){g.NU(this.o);this.o.od()};g.p(iZ,zY);g.h=iZ.prototype;g.h.nR=function(a){a=LF(a);g.Sd(this.N,a)||g.Sd(this.F,a)||this.xh()};
g.h.Ob=function(){zY.prototype.Ob.call(this);this.A.Ti(this.element)};
g.h.show=function(){var a=this.l;zY.prototype.show.call(this);this.xA();a||this.o.sa("onSharePanelOpened")};
g.h.xA=function(){g.Q(this.element,"ytp-share-panel-loading");g.Cq(this.element,"ytp-share-panel-fail");var a=this.o.getVideoData(),b=this.o.getPlaylistId(),c=b&&this.H.checked;g.R(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.EE(g.X(this.o).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.z)(this.cD,this),onSuccess:(0,g.z)(function(a,
b){if(b){if(!this.ha()){g.Cq(this.element,"ytp-share-panel-loading");msa(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=lsa(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.jS,f.url)),g.bf(k,IY(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.wV?{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.UQ,this,b.more));g.bf(c,IY(this.A,c.element));this.B.push(c);this.updateValue("buttons",this.B)}}else this.cD(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);mX(this.D)};
g.h.cD=function(){g.Cq(this.element,"ytp-share-panel-loading");g.Q(this.element,"ytp-share-panel-fail")};
g.h.jS=function(a,b){if(g.GV(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.EH&&-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.OF(b)}};
g.h.UQ=function(a,b){jX(a,this.o,b)&&this.o.sa("SHARE_CLICKED")};
g.h.cO=function(a){!a&&AY(this)&&this.xh()};
g.h.focus=function(){this.D.focus()};
g.h.V=function(){zY.prototype.V.call(this);msa(this)};g.p(jZ,g.U);jZ.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.iV(this.o,this.element)};
jZ.prototype.C=function(){var a=g.X(this.o).Eh&&2!=this.o.Pa(),b=g.OU(this.o).Ha().width;this.A=!!this.o.getVideoData().videoId&&300<=b&&!a;g.R(this.B,"ytp-share-button-visible",this.A);a=480<b;g.X(this.o).D&&(g.R(this.B,"ytp-show-share-title",a),this.updateValue("share",a?g.T("YTP_SHARE"):""));g.jV(this.o,this.element,this.A&&this.D)};
jZ.prototype.V=function(){g.U.prototype.V.call(this);g.Cq(this.B,"ytp-share-button-visible")};g.p(kZ,zY);kZ.prototype.show=function(){zY.prototype.show.call(this);this.D.start()};
kZ.prototype.hide=function(){zY.prototype.hide.call(this);this.D.stop()};
kZ.prototype.W=function(){var a=this.o.getCurrentTime();a>this.B/1E3&&a<this.A/1E3&&this.show()};g.p(lZ,g.U);lZ.prototype.B=function(){var a=g.MU(this.o.app);a&&a.l.g.webkitShowPlaybackTargetPicker()};
lZ.prototype.A=function(){var a=g.MU(this.o.app);g.IH(this,!!a&&a.Ld);this.updateValue("icon",this.o.ol()?g.wV?{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.wV?{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(mZ,g.JH);mZ.prototype.V=function(){this.o=null;g.JH.prototype.V.call(this)};g.p(oZ,g.JH);g.h=oZ.prototype;g.h.EN=function(a){g.W(a.state,32)?pZ(this,this.A.getVideoData()):this.H.hide()};
g.h.qo=function(){var a=this.A.kh(),b=a.current,c=fN(this.Hb,141);b=this.Hb.g[c].Ij(b);b!=this.L&&(c=gN(this.Hb,b,141),this.D=nZ(this.da,c,141,141,!0),g.zh(this.ca,(this.I-this.D.width)/2),this.L=b);g.Ud(this.ea,g.FV(this.R?a.current-a.seekableEnd:a.current));g.FG(this.K);this.K=g.CG((0,g.z)(this.qp,this));this.N.mj()};
g.h.FN=function(a,b){pZ(this,b)};
g.h.qp=function(){g.M(this.o,!1);g.FG(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].wl();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.Ld(this.o.children[k-this.B]);for(k=f-1;k>=this.B;k--)g.Ld(this.o.children[k-this.B]);for(k=this.B-1;k>=f;k--)this.o.insertBefore(osa(this,
k,a,b),this.o.firstChild);k=this.C+1}else g.Jd(this.o),k=f;for(;k<=e;k++){var l=osa(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.rK=function(){for(var a=this.B;a<=this.C;a++)iN(this.Hb,a,this.D.width)};
g.h.JI=function(){var a=g.OU(this.A).Ha();this.I!=a.width&&(this.I=a.width,this.Hb&&(this.qo(),this.qp()))};
g.h.hU=function(a){this.element.style.g=a+"px"};
g.h.show=function(){g.JH.prototype.show.call(this);r_(this.W,!1)};
g.h.hide=function(){this.Hb&&pZ(this,null);g.JH.prototype.hide.call(this);r_(this.W,!0)};
g.h.V=function(){pZ(this,null);g.JH.prototype.V.call(this)};
oZ.g=200;g.p(qZ,g.U);g.h=qZ.prototype;g.h.GN=function(a){g.W(a.state,32)?sZ(this,this.o.getVideoData()):this.l&&(g.W(a.state,16)||g.W(a.state,1))||this.B.hide()};
g.h.IN=function(a,b){sZ(this,b)};
g.h.HN=function(){var a=g.NU(this.o);(g.W(a,32)||g.W(a,16))&&rZ(this)};
g.h.KI=function(){this.C=window.NaN;rZ(this)};
g.h.hide=function(){this.Hb&&sZ(this,null);g.U.prototype.hide.call(this)};g.p(tZ,g.U);g.h=tZ.prototype;g.h.JN=function(){g.X(this.A).ca?g.RU(this.A):this.o.xh(this.element,!0)};
g.h.rB=function(){psa(this);this.o.Ne(this.element,!0)};
g.h.KN=function(){g.yF()==this.A.getRootNode()?this.C.start():(this.C.stop(),this.o&&this.o.hide())};
g.h.wH=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.rB()}};
g.h.sA=function(){g.IH(this,Rqa(this.A))};
g.h.SC=function(a){if(a){var b=g.wV?{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.wV?{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);AZ(this.D.Gb())};
g.h.V=function(){this.o||(this.B(),this.B=null);g.U.prototype.V.call(this)};g.p(uZ,g.U);uZ.prototype.A=function(){this.o.sa("onCollapseMiniplayer")};g.p(vZ,zY);g.h=vZ.prototype;g.h.show=function(){var a=this.l;zY.prototype.show.call(this);a||(this.B.O(this.o,"presentingplayerstatechange",this.it),this.B.O(this.o,"videodatachange",this.it),this.it())};
g.h.hide=function(){this.B&&(g.YF(this.B),zY.prototype.hide.call(this))};
g.h.it=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.tP,c),this),d.ra(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=KM(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.NU(this.o);a=b.length||!a.Mb();zP(c)||g.W(c,4)||a||!AY(this)||this.xh()};
g.h.tP=function(a){this.o.getVideoData();var b=this.o,c=this.o.getVideoData().Hh[a];a=g.MU(b.app,1).getVideoData();var d=b.getCurrentTime();if(c.id==a.videoId)g.MU(b.app)!=g.MU(b.app,1)&&(c=b.app,WX(c,uW(c,1)),a.ua||b.Zb(d));else{var e=b.app;WX(e,uW(e,4));i0(b.app,{videoId:c.id,title:a.title,start:a.ua?null:d,multifeed_metadata_list:a.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);zY.prototype.V.call(this)};g.p(wZ,g.U);wZ.prototype.F=function(a){this.B("newdata"==a)};
wZ.prototype.B=function(a){var b=this.o.getVideoData(),c=b.Hh,d=g.NU(this.o);d=(zP(d)||g.W(d,4))&&0<c.length;g.IH(this,d);a&&(this.C=!0);if(d){this.C&&g.ku(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")});AZ(this.A)}else this.D.stop()};
wZ.prototype.H=function(){ata(this.A,this.element,g.T("YTP_MORE_CAMERAS_AVAILABLE"));this.C=!1};g.p(xZ,g.K);xZ.prototype.l=function(){var a=g.yG()-this.A;a=a<this.g?a/this.g:1;this.B(dD(pva,a));1>a&&this.o.start()};
var pva=new cD(0,0,.4,0,.2,1,1,1),usa=/[0-9.-]+|[^0-9.-]+/g;g.p(zZ,g.U);zZ.prototype.Nc=function(a){this.B=300<=a.width;g.IH(this,this.B);g.jV(this.o,this.element,this.B&&this.H)};
zZ.prototype.ea=function(){g.X(this.o).I?this.o.isMuted()?this.o.Tf():this.o.mute():this.aa.xh(this.element,!0);g.iV(this.o,this.element)};
zZ.prototype.da=function(a){vsa(this,a.volume,a.muted)};
var ysa=["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"],zsa=["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(BZ,g.U);BZ.prototype.A=function(){var a=g.MU(this.o.app);a&&(a=a.l,a.g.webkitSetPresentationMode("picture-in-picture"==a.g.webkitPresentationMode?"inline":"picture-in-picture"))};g.p(g.CZ,g.U);g.CZ.prototype.H=function(a){Asa(this,a.state)};
g.CZ.prototype.F=function(){g.R(this.element,"ytp-play-button-playlist",PU(this.A))};
g.CZ.prototype.I=function(){zP(g.NU(this.A))?this.A.cd():this.A.od()};
g.CZ.prototype.V=function(){this.o&&this.o();g.U.prototype.V.call(this)};g.p(g.EZ,g.U);g.h=g.EZ.prototype;g.h.Jj=function(){Csa(this);this.H&&(this.Aa(this.H),this.H=null);this.F=this.o.getVideoData(1);if(this.A=this.o.Sf())this.A.subscribe("shuffle",this.Jj,this),this.H=this.O(this.o,"progresssync",this.SN);this.D=Dsa(this);DZ(this);this.Nc(g.OU(this.o).Ha())};
g.h.Nc=function(a){a=void 0===a?g.OU(this.o).Ha():a;var b=PU(this.o)||this.B&&g.fV(this.o)||Esa(this);g.IH(this,b&&(this.B||400<=a.width))};
g.h.TN=function(a){var b=!0;this.K?b=g.iX(a,this.o):g.OF(a);b&&(this.B?this.o.Gj(!0):this.D?this.o.Zb(0):this.o.rl(!0))};
g.h.SN=function(){var a=Dsa(this);a!=this.D&&(this.D=a,DZ(this))};
g.h.V=function(){this.C&&(this.C(),this.C=null);Csa(this);g.U.prototype.V.call(this)};Fsa.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.FZ,g.JH);g.h=g.FZ.prototype;g.h.VN=function(a){if(!g.PF(a)){var b=!1;switch(g.QF(a)){case 36:this.A.Zb(0);b=!0;break;case 35:this.A.Zb(window.Infinity);b=!0;break;case 34:this.A.he(-60);b=!0;break;case 33:this.A.he(60);b=!0;break;case 38:this.A.he(5);b=!0;break;case 40:this.A.he(-5),b=!0}b&&g.OF(a)}};
g.h.vA=function(a,b){Gsa(this,b,"newdata"==a)};
g.h.DI=function(){this.vA("newdata",this.A.getVideoData())};
g.h.II=function(){Lsa(this.A.getVideoData())?g.NU(this.A).fb()&&JZ(this,!0):JZ(this,!1)};
g.h.EI=function(a){0<LP(a,64)||!Lsa(this.A.getVideoData())?JZ(this,!1):zP(a.state)&&0>LP(a,64)&&JZ(this,!0);this.D&&!g.W(a.state,32)&&3!=this.A.Pa()&&this.D.cancel()};
g.h.FR=function(a,b,c){var d=g.Dh(this.element),e=KZ(this).g,f=c?c.getAttribute("data-tooltip"):void 0;c&&c.getAttribute("data-position")&&(a=JV(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=KZ(this);a=IV(this.o,c.l);d=f||g.FV(this.Qa?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.zO(b.N.getVideoData()),b.B&&b.B.subscribe("l",b.qB,b)),
b.update({text:d,title:""}),g.R(b.element,"ytp-text-detail",!!f),d=-1,b.B&&(d=fN(b.B,160*b.C),d=b.B.g[d].Ij(a)),cta(b,d),bta(b,!!f,c));g.R(this.A.getRootNode(),"ytp-progress-bar-hover",!g.W(g.NU(this.A),64));Jsa(this)};
g.h.ER=function(){var a=this.Ca;1==a.o&&a.af();g.Cq(this.A.getRootNode(),"ytp-progress-bar-hover")};
g.h.DR=function(a,b){this.B&&(this.B.dispose(),this.B=null);this.Mc=b;this.A.Zb(IV(this.o,KZ(this).l),!1);g.Q(this.element,"ytp-drag");(this.Ta=zP(g.NU(this.A)))&&this.A.cd()};
g.h.GR=function(){this.oa=0;g.Cq(this.element,"ytp-pull-ui");g.Cq(this.element,"ytp-pulling");this.B&&(this.B.dispose(),this.B=null);0<this.I&&(this.B=new g.gu((0,g.z)(this.jH,this,g.yG(),this.I,KZ(this).position)),this.B.start());if(g.W(g.NU(this.A),32)||3==this.A.Pa())this.A.Zb(IV(this.o,KZ(this).l)),g.Cq(this.element,"ytp-drag"),this.Ta&&!g.W(g.NU(this.A),2)&&this.A.od()};
g.h.jH=function(a,b,c){a=1-Math.pow(1-(g.yG()-a)/200,3);c+=a*(this.H*this.C-c);if(0>a||1<a)a=1;Msa(this,(1-a)*b,c,this.H);1>a&&this.B.start()};
g.h.HR=function(a,b){var c=!1,d=!1,e=KZ(this);3600<=this.o.getLength()&&(Msa(this,this.Mc-b-10,e.position,e.l),d=!0,c=this.I>.1*(this.F?60:40),e=KZ(this));g.R(this.element,"ytp-pull-ui",d);c&&g.Q(this.element,"ytp-pulling");c=0;e.o&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);this.oa!=c&&(this.oa=c,this.B&&(this.B.dispose(),this.B=null),c&&(this.B=new g.gu((0,g.z)(this.UT,this,g.yG(),this.K)),this.B.start()));this.A.Zb(IV(this.o,e.l),!1)};
g.h.UT=function(a,b){var c=this.C*(this.aa-1);this.K=g.cd(b+this.oa*(g.yG()-a)*.3,0,c);g.HZ(this);this.A.Zb(IV(this.o,KZ(this).l),!1);0<this.K&&this.K<c&&this.B.start()};
g.h.gB=function(){this.updateValue("clipstarticon",mpa());this.updateValue("clipendicon",mpa());g.Q(this.element,"ytp-clip-hover")};
g.h.fB=function(){this.updateValue("clipstarticon",opa());this.updateValue("clipendicon",npa());g.Cq(this.element,"ytp-clip-hover")};
g.h.Ko=function(){this.N=0;this.L=window.Infinity;IZ(this);GZ(this,this.H,this.fa)};
g.h.ED=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.ia;if(!this.W[c]){var d=g.Fd("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.la[c]=d;if(b.icons&&b.icons.length){for(var e=g.Fd("DIV"),f=g.la(b.icons),k=f.next();!k.done;k=f.next()){k=k.value;var l=g.Fd("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.GQ);this.R[c]=e;this.Ld.appendChild(e)}d.className=b.style;Nsa(this,c);"ytp-chapter-marker"==b.style?this.wd.appendChild(d):g.X(this.A).experiments.g("disable_ad_markers_on_content_progress_bar")||this.dd.appendChild(d)}}else Psa(this,b);LZ(this)};
g.h.KT=function(a){a=g.la(a);for(var b=a.next();!b.done;b=a.next())Psa(this,b.value);LZ(this)};
g.h.V=function(){Ksa(this,!1);g.JH.prototype.V.call(this)};g.p(NZ,UY);NZ.prototype.D=function(){g.GU(this.B).A&&3!=this.B.Pa()?this.o||(b_(this.C,this),this.o=!0):this.o&&(c_(this.C,this),this.o=!1);var a=g.GU(this.B).A;VY(this,!!a&&a.loaded)};
NZ.prototype.F=function(a){a?this.B.Fj("annotations_module"):this.B.sl("annotations_module")};
NZ.prototype.V=function(){this.o&&c_(this.C,this);UY.prototype.V.call(this)};g.p(g.OZ,g.LH);g.h=g.OZ.prototype;g.h.open=function(){g.QY(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?b_(this.B,this):c_(this.B,this)};
g.h.pd=function(a){this.T("select",a)};
g.h.bO=function(a){"true"!=this.A[a].element.getAttribute("aria-disabled")&&this.pd(a)};
g.h.jf=function(a){return a.toString()};
g.h.aO=function(a){g.PF(a)||39!=g.QF(a)||(this.open(),g.OF(a))};
g.h.V=function(){this.I&&c_(this.B,this);g.LH.prototype.V.call(this);for(var a in this.A)this.A[a].dispose()};g.p(QZ,g.OZ);QZ.prototype.H=function(){var a=this.o.getAvailableAudioTracks();1<a.length?(g.PZ(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)};
QZ.prototype.pd=function(a){g.OZ.prototype.pd.call(this,a);this.o.Rs(this.L[a]);this.B.Pe()};
QZ.prototype.C=function(a){return a.toString()};g.p(RZ,UY);RZ.prototype.D=function(){var a=this.o.Pa();if(2!=a&&3!=a&&g.fV(this.o))this.C||(b_(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){c_(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)}};
RZ.prototype.H=function(a){VY(this,1!=a)};
RZ.prototype.I=function(a){var b=this.o;a=a?2:1;b.app.l.sa("onAutonavChangeRequest",1!=a);a&&Qta(b.app,a)};
RZ.prototype.V=function(){this.C&&c_(this.F,this);UY.prototype.V.call(this)};g.p(SZ,g.OZ);SZ.prototype.C=function(){var a=this.o.Pa();if(2!=a&&3!=a&&(this.K=g.Woa(this.o),a=this.o.Ls(),g.Xoa(this.o)&&g.Yoa(this.o)&&a.unshift("missing-qualities"),g.PZ(this,a),a.length)){this.L();this.enable(!0);return}this.enable(!1)};
SZ.prototype.L=function(){var a=g.SU(this.o);this.A[a]&&(this.H=this.o.ql(),this.kf(a),"auto"==a&&this.Ib(this.jf(a)))};
SZ.prototype.pd=function(a){"missing-qualities"!=a&&(g.OZ.prototype.pd.call(this,a),this.o.fo(a),this.B.Ob())};
SZ.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=[Qsa(this,a)],d=g.SU(this.o);b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(Qsa(this,this.H,["ytp-menu-label-secondary"])));return{G:"div",J:c}};g.p(TZ,g.U);TZ.prototype.Nc=function(a){g.IH(this,this.C&&400<=a.width)};
TZ.prototype.D=function(){if(this.B.l)this.B.Ob();else{var a=g.GU(this.o).l;a&&!a.loaded&&(a.Gs("tracklist",{includeAsr:!0}).length||a.load());this.B.Ne(this.element)}};
TZ.prototype.A=function(){var a=this.o.Pa(),b=2!=a&&3!=a,c=g.TU(this.o),d=b&&!!g.GU(this.o).o;a=d&&1==c.Ng;c=d&&2==c.Ng;b=(d=a||c)||!b?null:this.o.ql();g.R(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.R(this.element,"ytp-4k-quality-badge","hd2160"==b);g.R(this.element,"ytp-5k-quality-badge","hd2880"==b);g.R(this.element,"ytp-8k-quality-badge","highres"==b);g.R(this.element,"ytp-3d-badge-grey",d&&a);g.R(this.element,"ytp-3d-badge",d&&c)};g.p(VZ,g.OZ);g.h=VZ.prototype;g.h.lt=function(a){return a.toString()};
g.h.jf=function(a){return"1"==a?g.T("YTP_NORMAL_SPEED"):a.toString()};
g.h.yA=function(){var a=this.o.Pa();this.enable(2!=a&&3!=a)};
g.h.Kj=function(a){g.OZ.prototype.Kj.call(this,a);a?(this.C=this.O(this.o,"onPlaybackRateChange",this.dO),g.PZ(this,(0,g.G)(this.o.Ej(),this.lt)),this.kf(this.lt(this.o.Rc()))):(this.Aa(this.C),this.C=null)};
g.h.dO=function(a){this.kf(this.lt(a))};
g.h.pd=function(a){g.OZ.prototype.pd.call(this,a);this.o.Rf((0,window.parseFloat)(a),!0);this.B.Pe()};g.p(WZ,g.OZ);g.h=WZ.prototype;g.h.kf=function(a){g.OZ.prototype.kf.call(this,a)};
g.h.BA=function(a){return a.option.toString()};
g.h.jf=function(a){return Rsa(this.L[a])};
g.h.pd=function(a){g.OZ.prototype.pd.call(this,a);this.T("settingChange",this.K,this.L[a].option)};
g.h.CA=function(a){this.T("settingChange",this.K+"Override",!a);this.B.Pe()};g.p(XZ,g.LY);XZ.prototype.A=function(a,b){this.T("settingChange",a,b)};g.p(YZ,g.OZ);YZ.prototype.C=function(a){return a.languageCode};
YZ.prototype.jf=function(a){return this.o[a].languageName||""};
YZ.prototype.pd=function(a){this.T("select",a);g.RY(this.B)};g.p(ZZ,g.OZ);g.h=ZZ.prototype;g.h.wt=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.pd=function(a){"__translate__"==a?this.H.open():"__contribute__"==a?(this.o.cd(),this.o.isFullscreen()&&g.RU(this.o),a=g.YP(g.X(this.o),this.o.getVideoData()),g.nV(a)):(this.o.Fd("captions","track","__off__"==a?{}:this.C[a]),g.OZ.prototype.pd.call(this,a),this.B.Pe())};
g.h.yl=function(){var a=-1!=this.o.ni().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.wt,this);var f=(0,g.G)(d,this.wt);if(e.length){var k=this.H;var l=e;k.o=g.lb(l,k.C,k);g.PZ(k,(0,g.G)(l,k.C));f.push("__translate__")}k=this.wt(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.PZ(this,f);this.kf(k);a?(Ssa(this.L,this.o.oi()),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.AA=function(a){this.o.Fd("captions","sampleSubtitles",a)};
g.h.lO=function(a){var b=this.o.uc("captions","track");b=g.cc(b);b.translationLanguage=this.H.o[a];this.o.Fd("captions","track",b)};
g.h.kO=function(a,b){if("reset"==a)this.o.Qs();else{var c={};c[a]=b;this.o.ko(c)}this.AA(!0);this.N.start();Ssa(this.L,this.o.oi())};
g.h.nS=function(a){a||g.mu(this.N)};
g.h.V=function(){g.mu(this.N);g.OZ.prototype.V.call(this)};g.p($Z,g.NY);$Z.prototype.Ne=function(a){a_(this);0<this.B.Ga.length&&g.NY.prototype.Ne.call(this,a)};
$Z.prototype.show=function(){g.NY.prototype.show.call(this);g.Q(this.A.getRootNode(),"ytp-settings-shown")};
$Z.prototype.hide=function(){g.NY.prototype.hide.call(this);g.Cq(this.A.getRootNode(),"ytp-settings-shown")};g.p(d_,g.U);
d_.prototype.A=function(){var a=!1;-1!=this.o.ni().indexOf("remote")&&(a=1<this.o.uc("remote","receivers").length);g.IH(this,a&&400<=g.OU(this.o).Ha().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.wV?{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.kpa())}g.R(this.element,"ytp-remote-button-active",!!this.o.uc("remote","casting"))}};
d_.prototype.D=function(){if(this.o.uc("remote","quickCast"))this.o.Fd("remote","quickCast",!0);else{var a=this.C,b=this.element;if(AY(a))a.Ob();else{a_(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.Ne(b));a.Ne(b)}}};g.p(e_,g.U);e_.prototype.F=function(){var a=this.o.app;a.l.sa("SIZE_CLICKED",!a.Vb)};
e_.prototype.A=function(){g.IH(this,this.o.app.re&&!this.o.isFullscreen()&&3!=this.o.Pa());if(this.l){var a=this.o.isWidescreen();if(this.B!=a){var b=a?g.wV?{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.wV?{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):tsa(this.D,this.element,b);a=(this.B=a)?g.T("YTP_DEFAULT_VIEW"):g.T("YTP_THEATER_MODE");this.updateValue("title",a);AZ(this.C)}}};g.p(f_,g.U);f_.prototype.B=function(){var a=g.GU(this.A).l;a&&a.rD()};
f_.prototype.o=function(){var a=!!g.GU(this.A).l;g.IH(this,a&&300<=g.OU(this.A).Ha().width);a&&this.updateValue("pressed",!!this.A.uc("captions","track").displayName)};g.p(g.g_,g.U);
g.g_.prototype.o=function(){var a=g.OU(this.D).Ha().width,b=350<=a&&(!this.B||!g.W(g.NU(this.D),64));g.IH(this,b);g.R(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.D.kh();b&&(b=g.FV(a.current),this.F!=b&&(this.updateValue("currenttime",b),this.F=b),b=g.FV(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=IY(this.K,this.C.element))))};
g.g_.prototype.N=function(a,b){this.B=b.ua;g.R(this.element,"ytp-live",this.B);this.o()};
g.g_.prototype.L=function(a){a.target==this.C.element&&(this.D.Zb(window.Infinity),this.D.od())};
g.g_.prototype.V=function(){this.A&&this.A();g.U.prototype.V.call(this)};g.p(i_,g.U);g.h=i_.prototype;g.h.mO=function(){var a=this.F.nd();this.H!=a&&(this.H=a,h_(this,this.o.getVolume(),this.o.isMuted()))};
g.h.Nc=function(a){g.IH(this,350<=a.width)};
g.h.wS=function(a){if(!g.PF(a)){var b=g.QF(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.Tf(),this.o.setVolume(c)),g.OF(a))}};
g.h.nO=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.OF(a)};
g.h.vS=function(){j_(this,this.B,!0,this.A,this.F.zj());this.W=this.C;this.o.isMuted()&&this.o.Tf()};
g.h.uS=function(a){a-=g.Dh(this.R).x;this.o.setVolume(100*g.cd(a/(this.H?78:52),0,1))};
g.h.tS=function(){j_(this,this.B,!1,this.A,this.F.zj());0==this.C&&(this.o.mute(),this.o.setVolume(this.W))};
g.h.oO=function(a){h_(this,a.volume,a.muted)};
g.h.zw=function(){j_(this,this.B,this.D,this.A,this.F.zj())};
g.h.DA=function(a){j_(this,this.B,this.D,a,this.F.zj())};
g.h.TC=function(a){g.R(this.element,"ytp-volume-control-hover",a);j_(this,a,this.D,this.A,this.F.zj())};
g.h.V=function(){g.U.prototype.V.call(this);g.Cq(this.N,"ytp-volume-slider-active")};g.p(k_,g.U);k_.prototype.C=function(){this.A=!!this.o.getVideoData().videoId;g.IH(this,this.A);g.jV(this.o,this.element,this.A&&this.B);if(this.A){var a=this.o.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}};
k_.prototype.D=function(a){var b=this.o.getVideoUrl(!g.GV(a),!1,!0,!0);jX(b,this.o,a);g.iV(this.o,this.element)};g.p(l_,g.WF);g.h=l_.prototype;g.h.tt=function(){g.Isa(this.B);this.R.o()};
g.h.bB=function(){this.zu();!this.N.l||this.tt()};
g.h.jO=function(){this.tt();this.F.start()};
g.h.zu=function(){var a;if(a=!g.X(this.A).l){a=this.B;var b=2*a.C*g.OM();a=300>1E3*a.o.getLength()/a.A.Rc()/b}a=a&&g.NU(this.A).fb()&&!!window.requestAnimationFrame;b=!a;this.N.l||(a=b=!1);b?this.H||(this.H=this.O(this.A,"progresssync",this.tt)):this.H&&(this.Aa(this.H),this.H=null);a?this.F.isActive()||this.F.start():this.F.stop()};
g.h.SU=function(a){r_(this.o.Gb(),!a)};
g.h.vt=function(){var a=this.o.nd(),b=g.OU(this.A).Ha(),c=m_(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=Vsa(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.HZ(f);this.o.Gb().da=e}c=this.g;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.o.nd()?72:50))));c.R=Math.min(570*(a?1.5:1),d);c.N=e;c.Pl();this.zu();g.X(this.A).experiments.g("html5_player_dynamic_bottom_gradient")&&nsa(this.aa,
b.height)};
g.h.ma=function(){return this.l.element};g.p(g.n_,g.U);g.n_.prototype.A=function(){g.Q(this.element,"ytp-sb-subscribed")};
g.n_.prototype.B=function(){g.Cq(this.element,"ytp-sb-subscribed")};g.va("yt.pubsub.publish",g.nG,void 0);g.p(o_,g.U);o_.prototype.W=function(a){g.iV(this.o,this.element);var b=this.o.getVideoUrl(!g.GV(a),!1,!0);jX(b,this.o,a)};
o_.prototype.I=function(){Zsa(this);var a=this.o.getVideoData();this.updateValue("title",a.title);this.C&&(this.C.o=a.Ql);var b=g.X(this.o);if(b.D&&2!=this.o.Pa()){var c=a.shortViewCount;g.R(this.o.getRootNode(),"ytp-show-title-view-count",!!c);this.updateValue("viewCount",c)}else g.Cq(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.p_,g.U);g.h=g.p_.prototype;g.h.XQ=function(a){3==this.o&&this.af();a=a.currentTarget;this.o||(a.removeEventListener("mouseover",this.R),a.addEventListener("mouseout",this.ea),$sa(this,a,2))};
g.h.VQ=function(a){(a=MF(a))&&g.Sd(this.A,a)||this.af()};
g.h.qB=function(a,b){if(a<=this.D&&this.D<=b){var c=this.D;this.D=window.NaN;cta(this,c)}};
g.h.sK=function(){iN(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.aa.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.qB,this),this.B=null),this.N.removeEventListener("videoready",this.W),this.X.stop()}this.o=null;this.K&&this.I.hide()};
g.h.Ti=function(a){if(this.A)for(var b=0;b<arguments.length;b++)g.Sd(arguments[b],this.A)&&this.af()};
g.h.V=function(){null!=this.o&&this.af();g.U.prototype.V.call(this)};g.p(t_,g.U);g.h=t_.prototype;g.h.Nc=function(a){this.C=300<=a.width;g.IH(this,this.C);a=480<a.width;g.X(this.o).D&&(g.R(this.I,"ytp-show-watch-later-title",a),this.updateValue("watch_later",a?g.T("YTP_WATCH_LATER_2"):""));g.jV(this.o,this.element,this.C&&this.F)};
g.h.bT=function(){this.A=!0;this.B=!1;s_(this,1);g.X(this.o).l&&ata(this.H,this.element);g.X(this.o).Cb&&this.o.sa("WATCH_LATER_VIDEO_ADDED")};
g.h.pO=function(){g.iV(this.o,this.element);var a=this.o.getVideoData().videoId,b=g.X(this.o);b.Wc?gta(this,a):g.Xsa(function(){mH({videoId:a});window.location.reload()},null,"wl_button",800,600,IM(b))};
g.h.cT=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);s_(this,4,c);g.X(this.o).Cb&&this.o.sa("WATCH_LATER_ERROR",c)};
g.h.dT=function(){this.B=this.A=!1;s_(this,2);g.X(this.o).Cb&&this.o.sa("WATCH_LATER_VIDEO_REMOVED")};
g.h.qO=function(){this.B=this.A=!1;s_(this,2)};g.p(u_,g.U);u_.prototype.D=function(a){g.IH(this,!g.W(a.state,2))};
u_.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)};
u_.prototype.C=function(a){var b=this.A.getVideoUrl(!g.GV(a),!1,!0,!0);jX(b,this.A,a)};g.p(v_,CY);g.h=v_.prototype;g.h.Gb=function(){return this.D};
g.h.bn=function(a,b){b?this.L=a:this.L=null;this.cg()};
g.h.cn=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.ac(64,0<this.F.length)};
g.h.Zj=function(){g.VU(this.g)&&g.WU(this.g);EY(this);var a=g.X(this.g).experiments.g("enable_uturn_error_screen"),b=g.W(g.NU(this.g),128);return a&&b&&!this.g.isFullscreen()||!!this.L||CY.prototype.Zj.call(this)};
g.h.cg=function(){var a=!this.Zj(),b=a&&g.VU(this.g)&&!g.W(g.NU(this.g),2);a?(this.Ma.show(),this.Na.show()):(this.Ma.hide(),this.Na.hide(),this.D.Ti(this.A.element));b?this.N.B.show():this.N.B.hide();this.l&&Usa(this.l,!a);CY.prototype.cg.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.Sd(this.l.ma(),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=m_(this.l),k=Vsa(this.l),b=g.OU(this.g).Ha().height,c=g.cd(c,f,f+k-e.width),e=b-(this.l.o.nd()?72:50)-e.height):g.Sd(this.A.element,b)?(f=g.OU(this.g).Ha().width,c=g.cd(c,12,f-e.width-12),e=this.nd()?this.la:this.oa,"gvn"==g.X(this.g).playerStyle&&(e+=20)):(b=g.OU(this.g).Ha(),
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.Dt=function(a){a&&(this.D.Ti(this.A.element),this.l&&this.D.Ti(this.l.ma()));CY.prototype.Dt.call(this,a)};
g.h.Hs=function(a){var b=g.OU(this.g).Ha();b=new g.eh(0,0,b.width,b.height);if(a||this.o.l&&!this.Zj())g.X(this.g).wc&&(a=this.nd()?this.la:this.oa,b.top+=a,b.height-=a),this.l&&(b.height-=this.l.o.nd()?72:50);return b};
g.h.xN=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.bE(Error("Player not in DOM.")):(b.setAttribute("aria-label",g.T("YTP_PLAYER_NORMAL")),g.HH(this.W),g.HH(this.R));this.wb();this.Hi()};
g.h.nd=function(){return this.g.isFullscreen()||!1};
g.h.co=function(a){this.jb=!a;this.cg()};
g.h.wb=function(){var a=this.nd();this.D.C=a?1.5:1;g.R(this.H.element,"ytp-big-mode",a);this.cg();CY.prototype.wb.call(this)};
g.h.Hi=function(){CY.prototype.Hi.call(this);g.jV(this.g,this.Ba.element,!!this.I);var a=this.Ca,b=!!this.I;a.D=b;g.jV(a.o,a.element,a.A&&b);this.da&&(a=this.da,b=!!this.I,a.F=b,g.jV(a.o,a.element,a.C&&b));if(!this.I)for(this.D.Ti(this.A.element),a=0;a<this.aa.length;a++)b=this.aa[a],AY(b)&&b.Ob()};
g.h.Uo=function(a){this.l&&Usa(this.l,this.Zj());this.cg();CY.prototype.Uo.call(this,a)};
g.h.hR=function(){YU(this.g)&&this.o.ac(128,!1)};
g.h.Is=function(a,b){this.Y&&hsa(this.Y,a,b)};
g.h.gn=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):CY.prototype.gn.call(this)};
g.h.UC=function(a,b){this.Jb=b;this.cn(a,b);this.BD()};
g.h.BD=function(){var a=this.Jb||AY(this.H);this.fa!=a&&(this.fa=a,this.g.sa("onAutonavPauseRequest",this.fa))};
g.h.UH=function(){w_(this,this.g.getRootNode(),!0).focus()};
g.h.VH=function(){w_(this,this.g.getRootNode(),!1).focus()};
g.h.bo=function(){return this.l&&this.l.g};
g.h.Ks=function(){this.o.ac(2,!0)};g.p(g.x_,g.kV);g.x_.prototype.Lc=function(){return!1};
g.x_.prototype.init=function(){this.l=new v_(this.g);g.L(this,this.l);this.l.init();g.dV(this.g,"ux")};g.p(z_,g.K);z_.prototype.get=function(a){y_(this);var b=this.g.find(function(b){return b.key==a});
return b?b.value:null};
z_.prototype.set=function(a,b){this.remove(a,!0);y_(this);for(this.g.push({key:a,value:b,time:g.yG()});this.g.length>this.B;){var c=this.g.shift();this.l&&this.l(c.value)}};
z_.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.Xa(this.g,function(b){return b.key==a})};
z_.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(A_);var R_=g.x("ytPlayerUtilsVideoTagPoolInstance")||A_.getInstance();g.va("ytPlayerUtilsVideoTagPoolInstance",R_,void 0);g.h=A_.prototype;g.h.qx=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)ita(this)}};
g.h.fI=function(a,b){if(this.g.length)return this.g.pop();var c=ita(this,a,b);a||g.Wa(this.g,c);return c};
g.h.IT=function(a){if(a&&g.Qa(this.l,a)){a.src&&(II&&0<a.readyState&&(a.currentTime=Math.max(lva,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.l&&(a.g&&a.g.dispose(),a.g=null));for(var b in FF)FF[b][0]==a&&g.JF(b);g.Wa(this.l,a);g.Wa(this.o,a)}};
g.h.fJ=function(a){return this.g.length>=(a||1)};
g.h.dH=function(){for(var a=this.o.length-1;0<=a;a--)C_(this,this.o[a]);this.g.length==this.l.length&&4<=this.g.length||(4>this.l.length?this.qx(4):(this.g=[],(0,g.B)(this.l,function(a){C_(this,a)},this)))};
A_.prototype.fillPool=A_.prototype.qx;A_.prototype.getTag=A_.prototype.fI;A_.prototype.releaseTag=A_.prototype.IT;A_.prototype.hasTags=A_.prototype.fJ;A_.prototype.activateTags=A_.prototype.dH;g.p(D_,g.K);D_.prototype.o=function(a){this.l=a[a.length-1].intersectionRatio};
D_.prototype.V=function(){g.K.prototype.V.call(this);this.l=null;this.g&&this.g.disconnect()};var foa=[{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(E_,g.U);g.h=E_.prototype;g.h.dJ=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.Bq(this.element,arguments)};
g.h.hf=function(){if(this.o){var a=this.Ha();if(!a.isEmpty()){var b=!g.ld(a,g.ih(this.A)),c=nta(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.Ha())}}};
g.h.yN=function(a,b){lta(this,b)};
g.h.eJ=function(a){a.getVideoData()&&lta(this,a.getVideoData())};
g.h.Ha=function(){var a=this.app.g,b=this.app.H.isFullscreen();if(b&&ME())return new g.kd(window.outerWidth,window.outerHeight);if(b||a.yd){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.aa&&this.X&&!this.app.isWidescreen())for(a=
0;a<this.aa.length;a++)if(b=this.aa[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.GI=function(){this.o&&wW(this);J_(this)!=this.L&&this.hf()};
g.h.zN=function(){wW(this)};
g.h.V=function(){this.I&&g.lG(this.I);kta(this);g.U.prototype.V.call(this)};K_.prototype.click=function(a){var b=a.getAttribute("data-visual-id");g.Qa(this.g,a);g.Qa(this.l,b);g.gV(this,"onLogVeClicked",{id:b})};
K_.prototype.D=function(a){g.Qa(this.g,a);var b=a.getAttribute("data-visual-id");g.Wa(this.g,a);g.Wa(this.o,b);g.Wa(this.l,b);a.removeAttribute("data-visual-id")};
K_.prototype.pause=function(){this.A=!0};
K_.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.gV(this,b.type,b.data);this.B.length=0};g.p(L_,g.U);g.p(N_,g.U);g.h=N_.prototype;g.h.show=function(){g.U.prototype.show.call(this);this.xt()};
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.xt()};
g.h.xt=function(){var a=g.yG(),b=g.MU(this.o),c=this.o.getVideoData(),d=this.o.l,e=d.app.B.ma(),f=this.o.g,k=b.Vq(),l=b.ea,m=8*MT(l,"bandwidth")/1024,n=MT(l,"networkactivity")/1024,q=MT(l,"bufferhealth");if(b.H){var r=b.H.g.g+"/"+eJ(kU(b));r=r+"/"+b.H.pg()}else r="";var u=g.OM();d=g.TU(d).Hy;var D=c.Ka&&!c.Ka.g?"display:none":"",I;if((I=c.clientPlaybackNonce)&&16==I.length){for(var S=0,Z="",V=0;10>V;V++)if(S=(S<<6)+"ABCDEFGHIJLKMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(I.charAt(V)),
4==V%5){for(var Fa="",pa=0;6>pa;pa++)Fa="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(S&31)+Fa,S>>=5;Z+=Fa}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:D,bandwidth_style:D,network_activity_style:D,network_activity_bytes:n.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none"};m=this.o.H.getVolume();f=LO(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.Ia){e=c.Ia.video.fps;1<e&&(k.resolution+="@"+e);(b=jU(b))&&b.video&&(k.resolution+=" / "+b.video.width+"x"+b.video.height,1<
b.video.fps&&(k.resolution+="@"+b.video.fps));k.codecs=ota(c.Ia);if(b=c.Xb)b=c.Ia,b=!(b.audio&&b.video);b&&(k.codecs+=" / "+ota(c.Xb));c.Ia.video.g||c.Ia.video.primaries?(b=c.Ia.video.g||"unknown","smpte2084"==b?b+=" (PQ)":"arib-std-b67"==b&&(b+=" (HLG)"),k.color=b+" / "+(c.Ia.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=MT(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}M_(this.B,LT(l,"bandwidth"));M_(this.F,LT(l,"networkactivity"));M_(this.D,
LT(l,"livelatency"));M_(this.C,LT(l,"bufferhealth"));this.update(k);a=25<g.yG()-a?5E3:500;this.A.start(a)};g.p(O_,g.K);g.h=O_.prototype;g.h.TO=function(){Q_(this)||g.$_(this,5)};
g.h.sR=function(a){Q_(this)||(Mta(this),zP(a.o)&&XX(this))};
g.h.HK=function(){return this.g};
g.h.getVideoData=function(){return this.D.getVideoData()};
g.h.Sd=function(){var a=this.A,b={};a.l&&g.Ga(b,a.l.mL());(a=this.A.B)&&g.Ga(b,a.Vs());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.dd&&(a=this.dd,a=null==a.l?null:Math.round(100*a.l)/100,null!=a&&(b.inview=a)),a=this.F.Ha(),0<a.height&&0<a.width)){a=[Math.round(a.height),Math.round(a.width)];var c=g.OM();1<c&&a.push(c);b.size=a.join(":")}return b};
g.h.getCurrentTime=function(a){return 3==KU(this)?g.LU(this.A).getCurrentTime():(a=g.MU(this,a))?a.getCurrentTime():0};
g.h.getDuration=function(a){return(a=g.MU(this,a))?a.getDuration():0};
g.h.MK=function(a){switch(a.type){case "loadedmetadata":TN("fvb","")||this.I.g("fvb");UN("fvb");this.Qa.start();break;case "loadstart":TN("gv","")||this.I.g("gv");UN("gv");break;case "progress":case "timeupdate":!TN("l2s","")&&2<=eP(nP(a.target))&&this.I.g("l2s");break;case "playing":g.EH&&this.Qa.start();if(g.FM(this.g))a=!1;else{var b=this.A.o;a="none"==vh(this.B.g,"display")||0==g.Lh(this.B.g).te();var c=this.D.getVideoData();var d=this.g;c=!d.deviceHasDisplay||c.Sl&&d.Cb;b=!J_(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.wQ=function(a,b){this.l.sa("onLoadProgress",b)};
g.h.xS=function(){this.l.T("playbackstalledatstart")};
g.h.NK=function(a,b){this.l.sa("onVideoProgress",b)};
g.h.PP=function(){this.l.sa("onDompaused")};
g.h.KK=function(){this.H.T("progresssync")};
g.h.VO=function(a){0<LP(a,1)&&!g.W(a.state,64)&&RX(this).ua&&qU(this.o)&&1<this.l.Rc()&&c0(this,1,!0);var b;if(b=0<LP(a,2))this.C&&(g.zM(this.g)||this.l.isFullscreen()&&!this.Ba)&&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)&&zF(b.g);g.W(a.state,128)&&(b=a.state,j0(this),b=b.g,this.l.sa("onError",Zua[b.errorCode]||5),this.l.sa("onDetailedError",b),6048E5<g.yG()-this.g.jm&&this.l.sa("onReloadRequired"));a.state.fb()&&!g.GP(a.state)&&
!TN("pbresume","ad_to_video")&&TN("_start","ad_to_video")&&(b=this.getVideoData(),(0,g.CQ)("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&(0,g.CQ)("docid",b.videoId,"ad_to_video"),b.playbackId&&(0,g.CQ)("plid",b.playbackId,"ad_to_video"),(0,g.BQ)("pbresume",void 0,"ad_to_video"));this.l.T("applicationplayerstatechange",a)};
g.h.UB=function(a){3!=KU(this)&&(this.g.experiments.g("html5_move_seek_resume")||!g.W(a.state,32)&&0>LP(a,16)&&(!g.W(a.state,8)||g.W(a.state,64)||this.B.g.ended||g.W(a.state,2)||XX(this)),this.l.T("presentingplayerstatechange",a))};
g.h.JK=function(a){b0(this,HP(a.state));g.W(a.state,1024)&&this.l.app.Y&&(SH(this,{muted:!1,volume:this.L.volume},!1),a0(this,!1))};
g.h.AR=function(a){a.state.fb()&&!g.GP(a.state)&&(Bra(this.A),g.YF(this.wc))};
g.h.SO=function(a){"newdata"==a&&Hta(this)};
g.h.XO=function(){this.l.sa("onPlaybackAudioChange",this.l.getAudioTrack().Nb.name)};
g.h.US=function(a){var b=this.D.getVideoData();a==b&&this.l.sa("onPlaybackQualityChange",a.Ia.video.quality)};
g.h.Cs=function(a,b,c){if("newdata"==a)fY(this.A),this.l.T("videoplayerreset",b);else{if(!this.B)return;if("dataloaded"==a)if(this.D==this.o){if(b.A.Dg(c.hc),!this.o.o.isError()){var d=Q_(this),e=RX(this);if(!AO(e)||d||mO(this.o.g))e.Mb(),d&&g.$_(this,6),yta(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():IT())CU(this.o,"app_none_avail");else{d=e.ua&&!g.WI()?"html5.unsupportedlive":"fmt.noneavailable";
var f=+!!e.adaptiveFormats,k=+!!e.Qd,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.$T(this.o,d,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",f)}}}else yta(this);if(1==b.getPlayerType()&&(this.g.I&&Rta(this),this.getVideoData().ua&&!this.g.pm&&g.$T(this.o,
"html5.unsupportedlive","YTP_DEVICE_FALLBACK",void 0),c.Mb())){if(c.Do||c.xs||c.ye.focEnabled||c.ye.rmktEnabled||this.getVideoData().Vv)e=this.getVideoData(),g0(this,"part2viewed",1,0x8000000000000),g0(this,"engagedview",Math.max(1,1E3*e.Af),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&&
Jta(this)}this.l.T("videodatachange",a,c,b.getPlayerType())}this.g.Cb&&this.l.sa("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;a&&c&&(b=this.da,a!=b.C&&(b.C=a,g.gV(b,"onScreenChanged",{csn:a,root_ve_type:c}),b.l.length&&g.gV(b,"onLogVesShown",{ids:b.l}),b.o=g.Za(b.l)))};
g.h.Qm=function(){X_(this,null);this.l.sa("onPlaylistUpdate")};
g.h.YA=function(a){var b=a.ia,c=RX(this);if("part2viewed"==b)c.hC&&g.WE(c.hC),c.xs&&g.WE(c.xs);else if("conversionview"==b){var d=this.o;d.C&&uQ(d.C)}else"engagedview"==b&&g.WE(c.Do);if(c.Eo){d=c.Eo;var e={label:a.ia};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.pE(d,e);g.WE(d)}switch(b){case "videoplaytime25":c.iz&&g.WE(c.iz);c.jC&&g.WE(c.jC);break;case "videoplaytime50":c.jz&&g.WE(c.jz);c.kC&&g.WE(c.kC);
break;case "videoplaytime75":c.kz&&g.WE(c.kz);c.lC&&g.WE(c.lC);break;case "videoplaytime100":c.hz&&g.WE(c.hz),c.iC&&g.WE(c.iC)}(b=this.getVideoData().Vv)&&b[a.ia]&&(c=b[a.ia],g.WE(c,void 0,tH(c)||uH(c)||sH(c)),b=b[a.ia+"gaia"],g.WE(b,void 0,tH(b)||uH(b)||sH(b)));this.o.I.C(a)};
g.h.isPeggedToLive=function(a){return qU(this.o,void 0,void 0===a?!1:a)};
g.h.LK=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.KO=function(){this.l.T("airplayactivechange")};
g.h.LO=function(){this.l.T("airplayavailabilitychange")};
g.h.eP=function(){this.l.T("beginseeking")};
g.h.UP=function(){this.l.T("endseeking")};
g.h.LR=function(){i0(this,this.Kc.playerVars,this.Kc.playerType)};
g.h.Lt=function(){var a=this.C.Ub(),b=this.getVideoData();b.Hl||!this.ea?(b=b.ah,a=h0(this,a),b&&k0(this,a)):a&&l0(this,a);this.l.sa("onPlaylistUpdate")};
g.h.QO=function(a){this.l.sa("onCueRangeEnter",a.ia)};
g.h.RO=function(a){this.l.sa("onCueRangeExit",a.ia)};
g.h.UO=function(){this.la||(this.la=zN(this.iB,this));DQ(this.I,this.D.getVideoData(),xra(this))};
g.h.oQ=function(){this.H.T("internalAbandon")};
g.h.iB=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.SQ=function(){this.Ct()};
g.h.TQ=function(){this.Ct()};
g.h.Ct=function(){this.g.Cb&&this.D?this.l.sa("onApiChange",this.D.getPlayerType()):this.l.sa("onApiChange")};
g.h.OQ=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.sa("onVolumeChange",a)};
g.h.dQ=function(){var a=g.yF();s0(this,a==this.F.element?1:0);Nta(this,!!a&&g.Sd(this.F.element,a))};
g.h.isFullscreen=function(){return this.g.experiments.g("html5_new_vis")?this.ca.isFullscreen():this.g.jb};
g.h.ZR=function(){2!=this.Ma&&s0(this,g.yF()==this.F.element?1:0);this.g.Ch&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.B&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&zF(this.B.g)};
g.h.vQ=function(a){3!=KU(this)&&this.l.T("liveviewshift",a)};
g.h.isWidescreen=function(){return this.Vb};
g.h.YR=function(a){var b=g.H_(this.F);g.gh(this.yd,b)||(this.yd=b,this.D&&tU(this.D,"r"),this.o&&this.o!=this.D&&tU(this.o,"r"),1==this.Ma&&this.za&&Nta(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.rS=function(){t0(this,"signature")};
g.h.aR=function(){T_(this);S_(this)};
g.h.CP=function(){this.l.sa("CONNECTION_ISSUE")};
g.h.IK=function(a){this.l.T("heartbeatparams",a)};
g.h.gR=function(){var a=g.MU(this);a&&g.Voa(a,!YU(this.l))};
g.h.yQ=function(){this.l.sa("onLoadedMetadata")};
g.h.RP=function(){this.l.sa("onDrmOutputRestricted")};
g.h.V=function(){this.wd&&this.A.dispose();this.Kc=null;this.o.dispose();T_(this);g.df(g.Qb(this.Mc),this.C);g.yN(this.la);this.la=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.bE(e)}v1[c]=null}var d=new O_(a,b);g.bf(d,function(){v1[c]=null});
return v1[c]=d}catch(e){throw g.bE(e),e.stack;}},void 0);
var qva=g.x("ytcsi.tick");qva&&qva("pe");})(_yt_player);
