diff --git a/DreamBooth_files/.DS_Store b/DreamBooth_files/.DS_Store new file mode 100644 index 0000000..582c3ec Binary files /dev/null and b/DreamBooth_files/.DS_Store differ diff --git a/DreamBooth_files/0l11u2HzQrQ.html b/DreamBooth_files/0l11u2HzQrQ.html new file mode 100644 index 0000000..5ff76d1 --- /dev/null +++ b/DreamBooth_files/0l11u2HzQrQ.html @@ -0,0 +1,9 @@ + + +Any-resolution Training for High-resolution Image Synthesis: Supplementary Video - YouTube
\ No newline at end of file diff --git a/DreamBooth_files/ad_status.js b/DreamBooth_files/ad_status.js new file mode 100644 index 0000000..dfec48c --- /dev/null +++ b/DreamBooth_files/ad_status.js @@ -0,0 +1 @@ +window.google_ad_status = 1; diff --git a/DreamBooth_files/base.js b/DreamBooth_files/base.js new file mode 100644 index 0000000..d7de702 --- /dev/null +++ b/DreamBooth_files/base.js @@ -0,0 +1,11022 @@ +var _yt_player={};(function(g){var window=this;/* + + Copyright The Closure Library Authors. + SPDX-License-Identifier: Apache-2.0 +*/ +'use strict';var aa,baa,caa,fa,daa,eaa,ha,ia,la,ma,oa,iaa,jaa,xa,ya,kaa,laa,maa,Ba,Ca,Da,Ea,La,Na,oaa,paa,Ya,Za,bb,qaa,cb,raa,vaa,eb,waa,gb,jb,lb,ub,vb,wb,xb,zb,Ab,Eaa,Bb,Fb,Cb,Faa,Gaa,Haa,Gb,Ib,Iaa,Jb,Lb,Ob,Jaa,Kaa,Laa,Rb,Naa,Oaa,ec,Paa,lc,Qaa,Raa,jc,Saa,Taa,Uaa,vc,wc,Vaa,Waa,bba,Ec,aba,Zaa,Ic,Jc,Nc,Oc,Sc,Uc,Tc,Xc,eba,Yc,fba,Zc,$c,ad,gba,dd,hba,ed,fd,iba,gd,jba,kba,hd,jd,lba,mba,kd,nba,pba,oba,ld,nd,pd,rd,sba,rba,sd,ud,tba,vd,wd,yd,Bd,vba,Cd,F,Dd,Ed,Fd,Jd,Kd,Md,Pd,Rd,$d,wba,ae,xba,be,yba,ce,Aba, +zba,ge,Dba,Fba,te,Hba,Iba,ue,Kba,Lba,Nba,ze,Oba,Ae,Pba,Qba,Fe,Rba,Sba,Tba,Uba,Ie,Xba,Yba,$ba,aca,bca,cca,dca,Vba,Wba,fca,gca,hca,ica,Oe,jca,kca,lca,mca,Ke,Zba,eca,pca,qca,rca,We,Xe,sca,Ye,Ze,$e,uca,tca,vca,wca,lf,mf,zca,nf,qf,Aca,Bca,tf,Bf,Cca,Fca,Jf,Lf,Gca,Hca,Mf,Mca,Rf,Jca,Lca,Pf,Of,Vf,Wf,Nca,Xf,Oca,$f,ag,Pca,cg,dg,eg,gg,Tca,hg,Vca,Yca,kg,bda,og,pg,dda,eda,cda,jda,kda,vg,lda,nda,oda,xg,pda,Ag,Bg,tda,Fg,Hg,Sg,Ug,Xg,Yg,uda,vda,wda,xda,ah,zda,fh,Bda,Dda,Cda,gh,lh,Eda,hh,Fda,$g,uh,Hda,wh,vh,Zg,yh,Ida, +Jda,zh,Ah,Kda,Mda,Oda,Gh,Ih,Jh,Sda,Lh,Tda,Kh,Xda,Eh,Qda,Zda,Wda,Uda,Vda,$da,Yda,Mh,Qh,bea,cea,dea,eea,fea,gea,kea,mea,nea,pea,oea,qea,Yh,Zh,$h,sea,tea,ai,bi,vea,ei,wea,zea,gi,hi,Aea,li,mi,Cea,Dea,ri,Eea,Fea,si,ti,Gea,vi,xi,Hea,yi,zi,Kea,Lea,Nea,Oea,Qea,Pea,Rea,Bi,Sea,Ei,Ii,Ji,Ki,Li,Yea,$ea,afa,Ni,cfa,dfa,efa,gfa,ffa,hfa,bfa,Mi,jfa,Oi,kfa,lfa,Pi,mfa,Qi,Ri,Si,Ti,Ui,nfa,ofa,pfa,qfa,Vi,rfa,sfa,Wi,Yi,tfa,ufa,Zi,xfa,yfa,Afa,$i,dj,Cfa,Dfa,fj,Efa,Gfa,Ffa,Hfa,Ifa,Jfa,gj,hj,ij,Kfa,Lfa,Nfa,Ofa,kj,lj,mj,nj,Pfa, +oj,pj,qj,rj,sj,Ufa,Rfa,vj,Tfa,wj,Sfa,uj,tj,yj,Vfa,Aj,zj,Wfa,Xfa,Gj,Hj,Jj,$fa,Ij,Oj,aga,Pj,Yfa,ega,fga,gga,Tj,Uj,Vj,hga,Wj,Xj,Yj,Zj,iga,ak,bk,ck,jga,kga,dk,lga,jj,oga,pga,qga,rga,mga,ek,gk,sga,fk,uga,vga,ik,jk,wga,lk,mk,nk,kk,ok,hk,yga,zga,xga,Aga,Bga,Cga,pk,qk,rk,sk,tk,uk,vk,Dga,Ega,wk,xk,yk,Fga,Hga,Iga,Ak,Ck,Bk,Ek,Fk,Gk,Kga,Lga,Hk,Ik,Jk,Nga,Oga,Rga,Pga,Sga,Wga,Kk,Vga,Tga,Lk,Mk,Xga,Nk,Yga,Ok,$ga,Zga,aha,bha,Rk,Sk,cha,dha,eha,Tk,Vk,fha,Wk,gha,hha,lha,Yk,mha,nha,oha,pha,qha,$k,rha,sha,tha,gl,fl,el, +uha,vha,wha,hl,il,jl,yha,ol,pl,ql,rl,sl,tl,Aha,Bha,Cha,ul,wl,xl,Bl,Cl,Fl,Eha,Gha,Fha,Hha,Iha,Ll,Jha,Kha,Ml,Lha,Mha,Nha,Oha,Ql,Ol,Rl,Sl,Tl,Pha,Qha,Rha,Ul,Vl,Wl,Sha,Tha,Uha,Xl,Vha,Yl,Zl,Wha,Xha,Yha,Zha,$ha,aia,bia,am,bm,cm,em,eia,fm,gm,fia,dia,dm,gia,hm,im,jm,lm,km,hia,iia,jia,mm,lia,nm,nia,oia,pia,qia,ria,sia,tia,uia,qm,rm,vm,wia,via,xm,xia,ym,yia,zm,zia,Aia,Am,Bm,Cm,Bia,Dm,Em,Fm,Gm,Hm,Im,Jm,Km,Lm,Cia,Dia,Eia,Fia,Mm,Gia,Iia,Hia,Om,Pm,Kia,Jia,Pia,Oia,Qm,Qia,Ria,Sia,Uia,Tia,Via,Rm,Wia,Xia,Tm,Yia,Zia, +$ia,aja,Um,bja,Vm,cja,Wm,Xm,eja,Ym,fja,Zm,$m,gja,hja,an,cn,jja,dn,ija,kja,lja,nja,pja,en,qja,hn,jn,sja,tja,wja,xja,kn,yja,ln,mn,nn,on,pn,qn,rn,sn,tn,un,vn,wn,xn,Cja,Bja,Dja,Fja,Eja,Hja,Aja,Gja,zja,yn,zn,Jja,Kja,Lja,Gn,Hn,In,An,Nja,Jn,Ija,Pja,Qja,Rja,Oja,Kn,Ln,Mn,Nn,Sja,Mja,Tja,On,Uja,Vja,Wja,Xja,Yja,aka,Qn,bka,Rn,cka,fka,Un,ika,hka,Tn,Wn,jka,kka,lka,co,mka,nka,eo,oka,oo,lo,mo,no,pka,ro,qo,qka,to,rka,tka,uo,uka,vka,Aka,wka,zo,Fka,Ao,Bo,Hka,Eo,Ika,Jka,Fo,Lka,Ho,Io,Jo,Mka,Lo,Mo,No,Oo,Qo,Ro,Oka,So,To, +Pka,Qka,Uo,Rka,Ska,Wo,Xo,Wka,Zo,$o,ap,bp,cp,dp,ep,fp,gp,hp,ip,jp,kp,lp,mp,np,op,pp,rp,sp,tp,up,vp,wp,xp,yp,zp,Ap,Bp,Cp,Dp,Ep,Fp,Gp,Hp,Ip,Jp,Kp,Lp,Mp,Np,Op,Pp,Qp,Rp,Sp,Tp,Up,Vp,Wp,Xp,Yp,Zp,$p,aq,bq,cq,fla,eq,fq,gq,hq,iq,jq,kq,lq,mq,nq,oq,pq,qq,rq,sq,tq,uq,vq,wq,xq,yq,zq,Aq,Bq,Cq,Dq,Eq,Fq,Gq,Hq,Iq,Jq,Kq,Lq,Mq,Nq,Oq,Pq,Qq,Rq,Sq,Tq,Uq,Vq,Wq,Xq,Yq,Zq,$q,ar,br,cr,dr,er,fr,gr,hr,ir,jr,kr,lr,mr,nr,or,pr,qr,rr,sr,tr,ur,vr,wr,xr,yr,zr,Ar,Br,Cr,Dr,Er,Fr,Gr,Hr,Ir,Jr,Kr,Lr,Mr,Nr,Or,Pr,Qr,Rr,Sr,Tr,Ur,Vr,Wr,Xr, +Yr,Zr,$r,as,bs,cs,ds,fs,gs,hs,is,js,ks,ls,ms,ns,os,ps,qs,rs,ts,us,vs,ws,xs,ys,zs,As,Bs,Cs,Ds,Es,Fs,Gs,Hs,Is,Js,Ks,Ls,Ms,Ns,Os,Ps,Qs,Rs,Ss,Ts,Us,Vs,Ws,Xs,Ys,Zs,at,bt,ct,dt,et,ft,gt,ht,jt,kt,Hla,lt,mt,nt,Jla,ot,Kla,pt,Mla,qt,rt,tt,ut,vt,wt,xt,zt,Bt,At,Ct,Dt,Et,Ft,Gt,Ht,It,Jt,Kt,Lt,Mt,Nt,Ot,Pt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Yt,Zt,Wla,Xla,au,bu,du,Yla,eu,Zla,hu,iu,ju,ku,lu,mu,ou,pu,cma,qu,ru,tu,$la,uu,fma,ima,vu,kma,mma,Au,nma,oma,pma,tma,rma,sma,Bu,Eu,Du,uma,Gu,Hu,Iu,vma,wma,xma,Pu,yma,Ru,Su,zma,Tu,Uu,Vu,Xu, +Zu,$u,Ou,bv,Bma,cv,dv,ev,fv,gv,hv,iv,jv,Dma,kv,mv,lv,Fma,Ima,Gma,Hma,Jma,Kma,Lma,pv,uv,vv,wv,Mma,Nma,Pma,Rma,Sma,Xma,Tma,Uma,Vma,Wma,ana,zv,Av,bna,Dv,Bv,Gv,Iv,cna,Pv,Qv,Uv,Vv,Xv,Yv,$v,hna,ina,bw,jna,kna,dw,lna,mna,fw,nna,gw,ona,jw,rna,sna,hw,tna,una,xna,wna,mw,qna,zna,Ana,pw,Bna,Cna,rw,Dna,tw,Ena,Fna,xw,Gna,Hna,Ina,Jna,Bw,Kna,Lna,Mna,Nna,Ona,Pna,Qna,Rna,Ew,Sna,Fw,Vna,Una,Tna,Gw,Dw,Wna,Hw,Iw,Kw,Yna,Ow,Nw,Jw,Pw,Zna,$na,Sw,Tw,boa,coa,Uw,Vw,doa,eoa,aoa,goa,hoa,ioa,joa,koa,Yw,Zw,dx,moa,ex,noa,ooa,gx,hx, +roa,qoa,poa,soa,toa,ox,px,uoa,mx,voa,jx,nx,lx,kx,woa,xoa,xx,yx,zoa,Aoa,Doa,Dx,Ex,Fx,Eoa,Jx,Kx,Nx,Mx,Lx,Px,Hoa,Goa,Xx,Joa,Ioa,Koa,Zx,Loa,Moa,cy,Ooa,Poa,ay,Yx,Noa,iy,jy,Toa,Uoa,Soa,Xoa,Yoa,Roa,Woa,Voa,$x,py,qy,$oa,ry,sy,uy,bpa,cpa,dpa,epa,fpa,gpa,hpa,Lpa,opa,vy,Npa,tpa,upa,wpa,By,Xpa,aqa,bqa,cqa,pqa,My,Cqa,Ky,Ny,Lqa,Pqa,sra,Uy,wra,yra,zra,xra,Vy,Yy,Zy,Bra,Xy,$y,az,ez,hz,iz,fz,Dra,jz,kz,Era,Fra,Gra,mz,Hra,Jra,nz,Kra,oz,pz,Lv,Rra,Tra,tz,cua,wz,yz,zz,eua,nua,oua,Cz,qua,Dz,uua,vua,wua,xua,Ez,yua,Mz,zua, +Cua,Fua,Dua,Wz,Vz,Gua,Uz,Xz,Yz,Jua,Lua,aA,bA,dA,cA,Nua,eA,fA,gA,hA,iA,jA,kA,Oua,lA,mA,nA,oA,Tua,Vua,Xua,Yua,qA,$ua,ava,wA,xA,bva,cva,yA,BA,dva,CA,eva,fva,gva,hva,GA,FA,HA,IA,JA,DA,KA,LA,jva,kva,MA,iva,nva,ova,pva,NA,OA,PA,qva,QA,wva,RA,SA,UA,VA,ZA,YA,kB,XA,zva,Ava,lB,mB,nB,WA,Cva,Dva,Eva,Bva,qB,rB,tB,wB,yB,Fva,zB,Iva,CB,Mva,HB,EB,Nva,Rva,BB,Hva,Gva,JB,Sva,Tva,Uva,NB,OB,Vva,PB,QB,MB,Zva,Wva,Xva,$va,RB,SB,awa,TB,bwa,UB,VB,WB,XB,cwa,dwa,YB,ewa,aC,fwa,bC,cC,eC,iC,gwa,jC,kC,lC,mC,nC,oC,pC,hwa,qC,sC,jwa, +kwa,rC,tC,nwa,owa,uC,pwa,xC,qwa,yC,AC,rwa,zC,BC,swa,DC,vwa,FC,GC,LC,xwa,IC,MC,OC,ywa,QC,KC,NC,zwa,RC,Awa,SC,Bwa,HC,JC,wwa,PC,TC,Cwa,Dwa,UC,Ewa,Fwa,VC,Gwa,WC,Hwa,YC,Iwa,XC,Jwa,ZC,$C,aD,bD,cD,Kwa,dD,Lwa,hD,Mwa,iD,jD,kD,Nwa,lD,Owa,nD,mD,Pwa,Qwa,Rwa,Swa,oD,pD,qD,rD,sD,Uwa,Vwa,Wwa,Xwa,uD,Ywa,vD,wD,Zwa,$wa,xD,axa,bxa,fxa,gxa,cxa,dxa,exa,yD,AD,zD,BD,CD,hxa,ixa,DD,ED,FD,GD,jxa,kxa,lxa,mxa,oxa,nxa,ID,pxa,qxa,rxa,sxa,JD,KD,LD,txa,ND,MD,RD,DB,SD,TD,Kva,Jva,UD,uxa,VD,PD,WD,vxa,ZD,$D,wxa,aE,cE,dE,eE,fE,gE,hE, +iE,xxa,jE,kE,yxa,lE,mE,nE,oE,pE,qE,Axa,Bxa,rE,sE,tE,Cxa,Dxa,uE,vE,Pva,IB,Hxa,Ixa,Jxa,Kxa,Lxa,Mxa,AB,Nxa,wE,xE,Pxa,Qxa,yE,Uxa,Rxa,Sxa,Wxa,Xxa,AE,Vxa,Yxa,BE,CE,DE,Zxa,$xa,aya,EE,bya,zE,cya,FE,Oxa,eya,fya,HE,gya,hya,iya,JE,IE,jya,kya,lya,mya,oya,Qva,Ova,KE,ME,OE,PE,QE,RE,NE,UE,qya,WE,sya,XE,uya,tya,rya,vya,wya,xya,zya,YE,Lva,ZE,Aya,Cya,FB,Dya,Eya,Fya,Gya,aF,Iya,Hya,bF,cF,iF,Kya,Lya,lF,oF,Mya,Oya,Nya,Pya,Qya,Rya,Sya,Tya,Uya,rF,Vya,Wya,Xya,sF,tF,uF,vF,Yya,Zya,wF,$ya,xF,yF,aza,zF,bza,BF,cza,CF,DF,EF,FF, +dza,eza,gza,GF,hza,fza,eG,$F,fG,iG,jG,RF,aG,rza,HF,oza,bG,dG,mG,qG,sza,OF,tG,NF,uG,xG,ZF,yG,zG,AG,BG,CG,DG,uza,vza,EG,wza,xza,yza,zza,FG,Aza,Fza,Eza,Bza,Dza,Cza,GG,Gza,HG,Hza,Iza,Mza,MG,NG,Pza,Rza,OG,PG,Sza,Uza,Xza,Yza,Zza,cAa,RG,dAa,eAa,WG,YG,ZG,$G,aH,gAa,bH,cH,hAa,dH,iAa,eH,fH,gH,hH,iH,jH,jAa,kAa,kH,lH,oH,nAa,oAa,qAa,pH,rAa,xH,AAa,vAa,wAa,CAa,DAa,yH,EAa,GAa,FAa,HAa,AH,DH,IAa,zH,EH,FH,JAa,NAa,KAa,MAa,PH,UH,XH,nBa,ZAa,MH,YH,OH,oBa,pBa,aI,XAa,rBa,qBa,JH,NH,WH,xBa,tBa,uBa,vBa,wBa,yBa,bI,zBa,ABa,dI, +eI,gI,IH,$H,hBa,LAa,$Aa,kBa,jI,hI,sBa,qI,rI,sI,tI,NBa,VH,OBa,vI,PBa,YAa,FBa,ZH,QBa,QAa,LH,PAa,Tza,zI,BI,SBa,CI,DI,EI,GI,FI,HI,TBa,UBa,II,KI,VBa,WBa,LI,MI,NI,OI,PI,XBa,QI,YBa,RI,SI,TI,UI,VI,WI,ZBa,XI,$Ba,YI,$I,cCa,ZI,dCa,aCa,bCa,eCa,fCa,gCa,aJ,bJ,cJ,iCa,dJ,eJ,kCa,jJ,hJ,nCa,mCa,oCa,mJ,lCa,nJ,iJ,oJ,lJ,kJ,gJ,fJ,qJ,rJ,tJ,vJ,rCa,sCa,qCa,wJ,xJ,yJ,zJ,AJ,tCa,BJ,CJ,uCa,DJ,EJ,FJ,xCa,vCa,IJ,yCa,zCa,JJ,ACa,MJ,NJ,BCa,GCa,OJ,HCa,PJ,QJ,ICa,RJ,JCa,KCa,LCa,MCa,NCa,SJ,TJ,PCa,OCa,RCa,QCa,UJ,VJ,WJ,UCa,VCa,WCa,XJ,XCa, +YJ,ZCa,ZJ,aK,bK,cK,dK,gK,iK,jK,$Ca,aDa,kK,bDa,cDa,lK,dDa,nK,eDa,fDa,gDa,oK,pK,kDa,lDa,mDa,qK,iDa,jDa,rK,oDa,tK,sK,vK,wK,yK,pDa,qDa,rDa,sDa,tDa,zK,BK,xDa,ADa,uDa,CK,JDa,DK,EK,LDa,KDa,NDa,ODa,QDa,PDa,RDa,SDa,TDa,UDa,FK,GK,VDa,WDa,XDa,YDa,ZDa,$Da,NK,bEa,cEa,LK,MK,aEa,fEa,gEa,OK,jEa,hEa,lEa,kEa,mEa,PK,pCa,nEa,jCa,oEa,pEa,qEa,QK,wEa,sEa,tEa,uEa,xEa,RK,AEa,yEa,BEa,CEa,zEa,vEa,DEa,mK,FEa,GEa,EEa,SK,TK,HEa,IEa,JEa,UK,WK,LEa,XK,$K,aL,MEa,NEa,OEa,bL,QEa,REa,SEa,TEa,UEa,VEa,WEa,gL,XEa,hL,YEa,ZEa,$Ea,jL,aFa, +cFa,dFa,mL,nL,oL,eFa,pL,fFa,rL,hFa,gFa,sL,tL,uL,vL,iFa,wL,xL,jFa,yL,zL,nFa,kFa,mFa,lFa,oFa,BL,CL,pFa,qFa,rFa,DL,sFa,uFa,tFa,EL,FL,GL,HL,IL,KL,LL,ML,NL,OL,PL,QL,wFa,vFa,RL,xFa,SL,TL,UL,VL,WL,ZL,$L,aM,bM,cM,dM,eM,fM,zFa,BFa,AFa,gM,DFa,GFa,HFa,kM,lM,JFa,nM,KFa,oM,MFa,qM,rM,sM,OFa,uM,TFa,RFa,QFa,PFa,VFa,vM,wM,xM,yM,zM,AM,BM,FM,YFa,$Fa,aGa,TM,bGa,Kv,dGa,cGa,UM,fGa,eGa,gGa,hGa,WM,YM,iGa,jGa,kGa,mGa,nGa,rGa,qGa,yGa,AGa,BGa,CGa,fN,gN,hN,EGa,iN,GGa,jN,HGa,IGa,lN,mN,kN,rEa,KGa,LGa,MGa,NGa,JGa,rN,OGa,sN,RGa, +UGa,VGa,DN,EN,HN,IN,JN,KN,LN,MN,NN,WGa,ON,YGa,ZGa,XGa,PN,$Ga,QN,aHa,bHa,cHa,dHa,RN,SN,TN,eHa,UN,fHa,gHa,VN,WN,hHa,iHa,YN,ZN,lHa,jHa,mHa,nHa,oHa,pHa,rHa,iO,vHa,lO,xHa,mO,uHa,yHa,zHa,kO,wHa,nO,oO,pO,wN,pN,rO,tO,CHa,AHa,BHa,uO,xO,EHa,wO,FHa,GHa,CO,DO,EO,IO,IHa,JHa,JO,KO,KHa,LHa,MHa,NHa,LO,PHa,OHa,QHa,MO,NO,RHa,QO,THa,SO,OO,UHa,VHa,SHa,TO,UO,XO,WHa,XHa,WO,ZO,YO,aP,cP,YHa,fP,ZHa,bIa,$Ha,cIa,gP,dIa,eIa,jP,kP,lP,mP,oP,fIa,gIa,qP,iIa,hIa,jIa,kIa,lIa,mIa,wP,xP,nIa,yP,zP,oIa,pIa,qIa,rIa,AP,DP,tIa,sIa,EP,FP, +GP,uIa,HP,IP,JP,KP,vIa,NP,OP,MP,yIa,LP,PP,AIa,zIa,UP,SP,TP,BIa,CIa,DIa,VP,WP,XP,YP,ZP,EIa,FIa,GIa,bQ,cQ,HIa,eQ,fQ,gQ,iQ,IIa,jQ,kQ,lQ,mQ,JIa,MIa,nQ,KIa,LIa,QIa,RIa,pQ,SIa,TIa,UIa,VIa,rQ,tQ,uQ,XIa,vQ,ZIa,YIa,WIa,wQ,$Ia,bJa,aJa,xQ,yQ,zQ,AQ,cJa,BQ,dJa,EQ,eJa,HQ,gJa,FQ,fJa,hJa,KQ,iJa,kJa,PQ,lJa,mJa,MQ,JQ,RQ,LQ,SQ,pJa,TQ,OQ,IQ,oJa,QQ,jJa,nJa,qJa,CQ,VQ,rJa,sJa,NQ,WQ,XQ,YQ,ZQ,$Q,aR,bR,cR,dR,eR,fR,uJa,iR,jR,kR,lR,mR,wJa,xJa,vJa,nR,oR,pR,qR,sR,rR,tR,uR,yJa,vR,zJa,BJa,AJa,wR,xR,CJa,yR,zR,DJa,AR,EJa,BR,FJa,CR, +ER,HR,GR,KR,JR,GJa,IR,MR,IJa,JJa,NR,OR,PR,QR,SR,KJa,dP,HJa,OJa,uP,LJa,UR,NJa,vP,MJa,PJa,RJa,QJa,SJa,TJa,YR,UJa,ZR,VJa,aS,WJa,XJa,bS,YJa,cS,$Ja,dS,ZJa,fS,bKa,aKa,eS,gS,hS,cKa,dKa,eKa,fKa,gKa,kS,lKa,oKa,mKa,iKa,mS,hKa,nKa,pS,qKa,pKa,qS,sKa,uKa,vKa,tKa,vS,wKa,xKa,yKa,CKa,DS,DKa,ES,HS,IS,JS,EKa,wS,KS,MS,GKa,FKa,IKa,NS,JKa,OS,PS,KKa,QS,BS,AS,LKa,MKa,NKa,OKa,PKa,xS,AKa,CS,yS,RS,UKa,TS,VKa,WKa,SKa,VS,XKa,WS,QKa,YS,TKa,YKa,XS,US,ZKa,ZS,$Ka,SS,bLa,bT,dT,$S,cT,aT,dLa,cLa,fT,fLa,gT,hT,gLa,iT,jT,kT,lT,hLa,mT, +oT,kLa,lLa,mLa,rT,qT,pT,nLa,oLa,pLa,qLa,uT,vT,wT,xT,rLa,zT,sLa,yT,AT,BT,tLa,vLa,zLa,wLa,xLa,yLa,ALa,BLa,GT,HT,CLa,DLa,FLa,GLa,IT,JT,KT,HLa,MLa,NLa,PT,QT,OLa,LLa,PLa,LT,ILa,QLa,MT,NT,JLa,KLa,OT,RLa,SLa,TLa,uAa,zAa,ST,TT,WLa,ULa,VLa,UT,XLa,VT,WT,XT,ZT,YLa,ZLa,$La,$T,bMa,cMa,bU,dMa,cU,dU,eMa,gU,fMa,hU,jMa,kU,fU,lMa,mU,hMa,iMa,gMa,lU,jU,iU,kMa,pMa,nMa,mMa,oU,qMa,pU,rMa,qU,rU,sMa,CT,tU,uU,vU,wU,xU,vMa,wMa,ET,FT,zMa,AU,BU,ELa,EU,zU,AMa,yU,xMa,yMa,FU,BMa,CMa,DU,DT,CU,DMa,EMa,FMa,GMa,HMa,IMa,GU,KMa,JMa,HU, +OMa,IU,QMa,PMa,KU,JU,SMa,MU,LU,TMa,MMa,OU,RMa,NMa,NU,PU,UMa,VMa,QU,RU,XMa,YMa,WMa,$Ma,ZMa,cNa,aNa,bNa,eNa,dNa,fNa,gNa,hNa,VU,iNa,SU,lNa,UU,mNa,WU,kNa,jNa,XU,nNa,YU,bV,oNa,pNa,cV,aV,eV,sNa,dV,tNa,uNa,vNa,yNa,xNa,wNa,fV,zNa,DNa,hV,iV,FNa,GNa,jV,kV,HNa,qNa,rNa,nV,ENa,INa,JNa,LNa,oMa,oV,pV,KNa,eU,ZU,MNa,NNa,ONa,PNa,ANa,QNa,qV,sV,tV,RNa,SNa,TNa,UNa,VNa,WNa,YNa,XNa,$Na,vV,dOa,aOa,cOa,eOa,wV,iOa,gOa,hOa,kOa,xV,lOa,yV,uV,mOa,fOa,nOa,zV,oOa,bOa,pOa,AV,rOa,sOa,BV,qOa,CV,DV,tOa,EV,FV,GV,vOa,yOa,xOa,wOa,IV,zOa, +HV,AOa,KV,MV,BOa,EOa,COa,DOa,FOa,HOa,GOa,IOa,JOa,NV,OV,LOa,PV,MOa,KOa,NOa,POa,ROa,SOa,OOa,TOa,UOa,WOa,VOa,XOa,QOa,QV,RV,YOa,SV,TV,UV,XV,ZV,YV,cPa,$V,dPa,fPa,ePa,cW,aW,aPa,hPa,gPa,iPa,eW,kPa,jPa,lPa,fW,gW,mPa,hW,pPa,iW,qPa,jW,sPa,lW,oW,nW,kW,tPa,pW,rPa,qW,uPa,mW,vPa,rW,wPa,bPa,dW,yPa,zPa,APa,BPa,CPa,DPa,EPa,GPa,HPa,IPa,FPa,JPa,KPa,tW,LPa,MPa,uW,vW,NPa,OPa,PPa,xW,RPa,zW,SPa,TPa,yW,wW,QPa,CW,BW,UPa,DW,AW,VPa,FW,ZPa,IW,$Pa,XPa,GW,aQa,JW,YPa,bQa,KW,dQa,EW,eQa,cQa,HW,fQa,WPa,LW,MW,gQa,hQa,iQa,NW,sU,BNa, +uMa,PW,jQa,CNa,tMa,kQa,OW,lQa,QW,SW,nQa,rQa,qQa,ZW,aX,$W,uQa,wQa,zQa,EQa,BQa,DQa,IQa,cX,JQa,KQa,NQa,PQa,QQa,OQa,RQa,SQa,eX,RW,TQa,UQa,mQa,dX,WQa,XQa,cRa,$Qa,dRa,aRa,YQa,eRa,ZQa,gRa,fX,hRa,jRa,kRa,nRa,lRa,pJ,mX,oRa,zKa,pRa,nX,LV,qRa,vX,pX,tS,kX,wX,yX,lV,mV,zX,VQa,mRa,tX,uX,hX,tRa,uRa,wRa,vRa,sX,qX,AX,yRa,nS,zRa,JV,rKa,CX,LS,oX,ARa,BRa,DX,kKa,CRa,ERa,sRa,gX,FRa,EX,rX,iX,GRa,FX,oS,HRa,GX,GS,IRa,JRa,KRa,jKa,BX,xRa,WRa,RRa,QRa,YRa,ZRa,LX,uS,bSa,$Ra,OX,PX,QX,dSa,IX,VRa,WX,eSa,VX,KX,fSa,gSa,SRa,$X,hSa,HX, +SX,TX,RX,mSa,NX,YX,cY,dY,nSa,UX,cSa,bY,iSa,eY,oSa,pSa,qSa,nN,rSa,XX,fY,tSa,MX,gY,hY,aSa,uSa,vSa,URa,aY,ZX,wSa,TRa,xSa,iY,jY,jLa,ySa,zSa,kY,$z,lY,mY,BSa,oY,DSa,nY,ESa,rY,pY,FSa,sY,qY,GSa,tY,uY,vY,HSa,wY,xY,yY,zY,AY,BY,JSa,ISa,CY,DY,EY,FY,GY,HY,IY,JY,KY,LY,MY,NY,OY,PY,QY,RY,SY,TY,UY,VY,WY,XY,YY,ZY,$Y,aZ,bZ,cZ,dZ,eZ,fZ,gZ,hZ,iZ,jZ,kZ,lZ,mZ,nZ,oZ,pZ,qZ,rZ,sZ,tZ,uZ,vZ,wZ,xZ,yZ,zZ,AZ,BZ,CZ,DZ,EZ,FZ,KSa,GZ,DCa,ECa,FCa,wCa,IZ,NSa,QZ,RZ,LJ,SZ,GJ,PZ,TZ,QSa,RSa,SSa,TSa,LSa,USa,HZ,VSa,WSa,VZ,MZ,$Z,WZ,KZ,XSa, +JZ,UZ,XZ,a_,NZ,OZ,ZZ,YZ,ZSa,b_,c_,$Sa,d_,Y,e_,AL,f_,g_,h_,aTa,bTa,dTa,eTa,iTa,i_,jTa,fTa,kTa,k_,mTa,nTa,lTa,l_,m_,pTa,sTa,qTa,vTa,DTa,CTa,wTa,ETa,yTa,zTa,xTa,HTa,JTa,LTa,OTa,PTa,RTa,STa,VTa,UTa,ZTa,WTa,z_,$Ta,cUa,bUa,hUa,eUa,dUa,jUa,kUa,lUa,mUa,C_,Kua,oUa,nUa,G_,Zz,I_,J_,Hua,K_,qUa,L_,B_,x_,o_,r_,M_,N_,t_,s_,rUa,uTa,O_,P_,Q_,p_,q_,w_,sUa,tUa,R_,uUa,S_,vUa,E_,F_,v_,u_,n_,MTa,QTa,y_,aUa,FTa,ATa,T_,U_,V_,wUa,W_,X_,Y_,Z_,$_,a0,b0,c0,d0,e0,cTa,yUa,xUa,oTa,NTa,zUa,iUa,AUa,BUa,TTa,KTa,tTa,rTa,j_,gTa,GTa, +hTa,BTa,fUa,XTa,YTa,A_,gUa,ITa,DUa,CUa,f0,g0,h0,KJ,LZ,OSa,H_,EUa,FUa,j0,k0,l0,m0,HUa,GUa,IUa,n0,o0,i0,p0,JUa,D_,MSa,KUa,q0,LUa,r0,t0,u0,v0,w0,z0,A0,B0,C0,y0,x0,MUa,NUa,OUa,D0,RUa,QUa,E0,SUa,F0,s0,TUa,UUa,VUa,G0,H0,WUa,I0,J0,XUa,YUa,ZUa,$Ua,K0,aVa,L0,M0,N0,O0,P0,Q0,bVa,R0,S0,T0,U0,V0,W0,Y0,Z0,cVa,X0,dVa,eVa,$0,fVa,a1,b1,c1,d1,gVa,e1,hVa,f1,iVa,g1,jVa,h1,i1,j1,k1,lVa,l1,n1,kVa,mVa,m1,p1,q1,nVa,oVa,pVa,s1,r1,u1,t1,v1,w1,qVa,rVa,x1,y1,sVa,z1,uVa,tVa,A1,B1,pUa,vVa,C1,wVa,D1,yVa,zVa,xVa,AVa,E1,BVa,CVa, +DVa,F1,G1,H1,EVa,I1,J1,K1,FVa,L1,M1,N1,GVa,O1,o1,P1,Q1,R1,CCa,S1,HVa,T1,IVa,U1,V1,KVa,JVa,W1,X1,Y1,LVa,MVa,NVa,Z1,OVa,$1,a2,QVa,PVa,RVa,SVa,TVa,b2,c2,d2,UVa,VVa,WVa,XVa,YVa,ZVa,$Va,aWa,bWa,cWa,e2,f2,dWa,eWa,g2,h2,i2,j2,fWa,k2,gWa,l2,hWa,iWa,m2,jWa,kWa,n2,lWa,mWa,o2,p2,nWa,oWa,q2,r2,pWa,qWa,t2,rWa,u2,sWa,v2,tWa,w2,uWa,vWa,wWa,xWa,x2,yWa,zWa,AWa,BWa,CWa,DWa,z2,EWa,FWa,GWa,HWa,IWa,KWa,A2,JWa,B2,LWa,MWa,NWa,OWa,SWa,PWa,QWa,RWa,VWa,XWa,YWa,ZWa,WWa,C2,$Wa,aXa,bXa,cXa,dXa,E2,eXa,F2,G2,H2,fXa,gXa,hXa,iXa, +jXa,lXa,kXa,mXa,I2,J2,K2,nXa,oXa,L2,pXa,qXa,rXa,sXa,tXa,uXa,vXa,Iua,wXa,xXa,aaa,ea,Ci,Qa,naa;aa=function(a){return function(){return aaa[a].apply(this,arguments)}}; +g.ba=function(a,b){return aaa[a]=b}; +baa=function(a){var b=0;return function(){return bf)d[c++]=f;else{if(2048>f)d[c++]=f>>6|192;else{if(55296<=f&&57343>=f){if(56319>=f&&e=h){f=1024*(f-55296)+h-56320+65536;d[c++]= +f>>18|240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c++]=f&63|128;continue}else e--}if(b)throw Error("Found an unpaired surrogate");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|128}}a=c===d.length?d:d.subarray(0,c)}return a}; +vaa=function(a){for(var b=[],c=0;ce?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b}; +eb=function(a,b){return 0==a.lastIndexOf(b,0)}; +waa=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}; +g.fb=function(a){return/^[\s\xa0]*$/.test(a)}; +gb=function(a){if(!xaa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(yaa,"&"));-1!=a.indexOf("<")&&(a=a.replace(zaa,"<"));-1!=a.indexOf(">")&&(a=a.replace(Aaa,">"));-1!=a.indexOf('"')&&(a=a.replace(Baa,"""));-1!=a.indexOf("'")&&(a=a.replace(Caa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Daa,"�"));return a}; +g.ib=function(a,b){return-1!=a.indexOf(b)}; +jb=function(a,b){return g.ib(a.toLowerCase(),b.toLowerCase())}; +g.qb=function(a,b){var c=0;a=kb(String(a)).split(".");b=kb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0}; +g.rb=function(){var a=g.C.navigator;return a&&(a=a.userAgent)?a:""}; +ub=function(a){var b=sb;return b?b.brands.some(function(c){return(c=c.brand)&&g.ib(c,a)}):!1}; +vb=function(a){return g.ib(g.rb(),a)}; +wb=function(){var a=sb;return!!a&&0b?null:"string"===typeof a?a.charAt(b):a[b]}; +Rb=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}; +Paa=function(a){for(var b=0,c=0,d={};c>>1),m=void 0;c?m=b.call(void 0,a[l],l,a):m=b(d,a[l]);0b?1:ac&&g.ic(a,-(c+1),0,b)}; +g.uc=function(a,b,c){var d={};(0,g.tc)(a,function(e,f){d[b.call(c,e,f,a)]=e}); +return d}; +Taa=function(a){for(var b=[],c=0;c=a}; +g.Bc=function(a,b){void 0===b&&(b=0);Zaa();b=$aa[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|m>>6];m=b[m&63];c[f++]=""+n+h+l+m}n=0;m=d;switch(a.length-e){case 2:n=a[e+1],m=b[(n&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|n>>4]+m+d}return c.join("")}; +g.Cc=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}return g.Bc(b,3)}; +bba=function(a){var b=[];aba(a,function(c){b.push(c)}); +return b}; +Ec=function(a){!g.Dc||g.yc("10");var b=a.length,c=3*b/4;c%3?c=Math.floor(c):g.ib("=.",a[b-1])&&(c=g.ib("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;aba(a,function(f){d[e++]=f}); +return e!==c?d.subarray(0,e):d}; +aba=function(a,b){function c(m){for(;d>4);64!=h&&(b(f<<4&240|h>>2),64!=l&&b(h<<6&192|l))}}; +Zaa=function(){if(!Gc){Gc={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));$aa[c]=d;for(var e=0;e=a.D?a.u?a.u[b]:void 0:(void 0===c?0:c)&&a.u&&(c=a.u[b],null!=c)?c:a.pd[b+a.B]}; +g.D=function(a,b,c,d,e){d=void 0===d?!1:d;(void 0===e?0:e)||gd(a);a.J&&(a.J=void 0);if(b>=a.D||d)return ld(a)[b]=c,a;void 0!==a.u&&a.D>=a.pd.length?(d=a.pd.length-1,e=b+a.B,e>=d?(a.pd[d]=void 0,a.pd[e]=c,a.pd.push(a.u)):a.pd[e]=c):a.pd[b+a.B]=c;void 0!==a.u&&b in a.u&&delete a.u[b];return a}; +nd=function(a,b){return Array.isArray(g.md(a,b))}; +pd=function(a,b,c,d){var e=g.md(a,b,d);Array.isArray(e)?e&&Yc(e)&1||Zc(e):e=od;if(ed(a))c&1||(Xc(e,2),Object.freeze(e));else if(e===od||$c(e))e=Zc(Array.prototype.slice.call(e)),g.D(a,b,e,d);return e}; +g.qd=function(a,b,c){return pd(a,b,0,void 0===c?!1:c)}; +g.qba=function(a,b){a=g.md(a,b);return null==a?a:!!a}; +rd=function(a,b){var c=g.md(a,b);if(null==c)return null;if(c instanceof Oc)return c;(c=iba(c))&&g.D(a,b,c,void 0,!0);return c}; +sba=function(a,b){var c=rba,d=pd(a,b,1);if(d.length&&!(Yc(d)&4)){Object.isFrozen(d)&&(d=Zc(d.slice()),g.D(a,b,d,void 0,!0));for(b=0;b "+a)}; +ce=function(a){if("string"===typeof a)return{buffer:Ec(a),Xp:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Xp:!1};if(a.constructor===Uint8Array)return{buffer:a,Xp:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Xp:!1};if(a.constructor===Oc)return{buffer:Tc(a)||Jc(),Xp:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Xp:!1};throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers"); +}; +Aba=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=g.r(zba(c,a)),b=c.next().value,a=c.next().value,c=b);g.de=c>>>0;g.ee=a>>>0}; +g.Cba=function(a){if(16>a.length)Aba(Number(a));else if(Bba)a=BigInt(a),g.de=Number(a&BigInt(4294967295))>>>0,g.ee=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);g.ee=g.de=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),g.ee*=1E6,g.de=1E6*g.de+d,4294967296<=g.de&&(g.ee+=g.de/4294967296|0,g.de%=4294967296);b&&(b=g.r(zba(g.de,g.ee)),a=b.next().value,b=b.next().value,g.de=a,g.ee=b)}}; +zba=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]}; +g.fe=function(a){this.u=null;this.D=!1;this.j=this.B=this.C=0;this.init(a,void 0,void 0,void 0)}; +g.he=function(a){var b=0,c=0,d=0,e=a.u,f=a.j;do{var h=e[f++];b|=(h&127)<d&&h&128);32>4);for(d=3;32>d&&h&128;d+=7)h=e[f++],c|=(h&127)<h){a=b>>>0;h=c>>>0;if(c=h&2147483648)a=~a+1>>>0,h=~h>>>0,0==a&&(h=h+1>>>0);a=4294967296*h+(a>>>0);return c?-a:a}throw be();}; +ge=function(a,b){a.j=b;if(b>a.B)throw yba(a.B,b);}; +g.me=function(a){var b=a.u,c=a.j,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw be();ge(a,c);return e}; +g.ne=function(a){var b=a.u,c=a.j,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0}; +g.oe=function(a){var b=g.ne(a),c=g.ne(a);a=2*(c>>31)+1;var d=c>>>20&2047;b=4294967296*(c&1048575)+b;return 2047==d?b?NaN:Infinity*a:0==d?a*Math.pow(2,-1074)*b:a*Math.pow(2,d-1075)*(b+4503599627370496)}; +g.se=function(a){for(var b=0,c=a.j,d=c+10,e=a.u;cb)throw Error("Tried to read a negative byte length: "+b);var c=a.j,d=c+b;if(d>a.B)throw yba(b,a.B-c);a.j=d;return c}; +Fba=function(a,b){if(0==b)return Sc();var c=Dba(a,b);a.xB&&a.D?c=a.u.subarray(c,c+b):(a=a.u,b=c+b,c=c===b?Jc():Eba?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return 0==c.length?Sc():new Oc(c,Kc)}; +te=function(a){if(Gba.length){var b=Gba.pop();b.init(a,void 0,void 0,void 0);a=b}else a=new g.fe(a);this.j=a;this.B=this.j.j;this.u=this.C=-1;Hba(this)}; +Hba=function(a){var b={};a.kH=void 0===b.kH?!1:b.kH}; +Iba=function(a){var b=a.j;if(b.j==b.B)return!1;a.B=a.j.j;var c=g.me(a.j)>>>0;b=c>>>3;c&=7;if(!(0<=c&&5>=c))throw xba(c,a.B);if(1>b)throw Error("Invalid field number: "+b+" (at position "+a.B+")");a.C=b;a.u=c;return!0}; +ue=function(a){switch(a.u){case 0:0!=a.u?ue(a):g.se(a.j);break;case 1:a.j.advance(8);break;case 2:if(2!=a.u)ue(a);else{var b=g.me(a.j)>>>0;a.j.advance(b)}break;case 5:a.j.advance(4);break;case 3:b=a.C;do{if(!Iba(a))throw Error("Unmatched start-group tag: stream EOF");if(4==a.u){if(a.C!=b)throw Error("Unmatched end-group tag");break}ue(a)}while(1);break;default:throw xba(a.u,a.B);}}; +g.ve=function(a,b,c){var d=a.j.B,e=g.me(a.j)>>>0,f=a.j.j+e,h=f-d;0>=h&&(a.j.B=f,c(b,a,void 0,void 0,void 0),h=f-a.j.j);if(h)throw Error("Message parsing ended unexpectedly. Expected to read "+(e+" bytes, instead read "+(e-h)+" bytes, either the data ended unexpectedly or the message misreported its own length"));a.j.j=f;a.j.B=d}; +g.ye=function(a){var b=g.me(a.j)>>>0;a=a.j;var c=Dba(a,b);a=a.u;if(Jba){var d=a,e;(e=we)||(e=we=new TextDecoder("utf-8",{fatal:!0}));a=c+b;d=0===c&&a===d.length?d:d.subarray(c,a);try{var f=e.decode(d)}catch(n){if(void 0===xe){try{e.decode(new Uint8Array([128]))}catch(p){}try{e.decode(new Uint8Array([97])),xe=!0}catch(p){xe=!1}}!xe&&(we=void 0);throw n;}}else{f=c;b=f+b;c=[];for(var h=null,l,m;fl?c.push(l):224>l?f>=b?cb():(m=a[f++],194>l||128!==(m&192)?(f--,cb()):c.push((l&31)<<6|m& +63)):240>l?f>=b-1?cb():(m=a[f++],128!==(m&192)||224===l&&160>m||237===l&&160<=m||128!==((d=a[f++])&192)?(f--,cb()):c.push((l&15)<<12|(m&63)<<6|d&63)):244>=l?f>=b-2?cb():(m=a[f++],128!==(m&192)||0!==(l<<28)+(m-144)>>30||128!==((d=a[f++])&192)||128!==((e=a[f++])&192)?(f--,cb()):(l=(l&7)<<18|(m&63)<<12|(d&63)<<6|e&63,l-=65536,c.push((l>>10&1023)+55296,(l&1023)+56320))):cb(),8192<=c.length&&(h=raa(h,c),c.length=0);f=raa(h,c)}return f}; +Kba=function(a){var b=g.me(a.j)>>>0;return Fba(a.j,b)}; +Lba=function(a,b){this.u=a>>>0;this.j=b>>>0}; +Nba=function(a){if(!a)return Mba||(Mba=new Lba(0,0));if(!/^-?\d+$/.test(a))return null;g.Cba(a);return new Lba(g.de,g.ee)}; +ze=function(){this.j=[]}; +Oba=function(a,b,c){for(;0>>7|c<<25)>>>0,c>>>=7;a.j.push(b)}; +Ae=function(a,b){for(;127>>=7;a.j.push(b)}; +Pba=function(a,b){if(0<=b)Ae(a,b);else{for(var c=0;9>c;c++)a.j.push(b&127|128),b>>=7;a.j.push(1)}}; +g.Be=function(a,b){a.j.push(b>>>0&255);a.j.push(b>>>8&255);a.j.push(b>>>16&255);a.j.push(b>>>24&255)}; +Qba=function(){this.B=[];this.u=0;this.j=new ze}; +Fe=function(a,b){0!==b.length&&(a.B.push(b),a.u+=b.length)}; +Rba=function(a,b){g.Ge(a,b,2);b=a.j.end();Fe(a,b);b.push(a.u);return b}; +Sba=function(a,b){var c=b.pop();for(c=a.u+a.j.length()-c;127>>=7,a.u++;b.push(c);a.u++}; +Tba=function(a,b){if(b=b.C){Fe(a,a.j.end());for(var c=0;ch&&"number"!==typeof a[h]){var l=a[h++];c(b,l)}for(;hd?-2147483648:0)?-d:d,1.7976931348623157E308>>0,g.de=0;else if(2.2250738585072014E-308>d)b=d/Math.pow(2,-1074),g.ee=(c|b/4294967296)>>>0,g.de=b>>>0;else{var e=d;b=0;if(2<=e)for(;2<=e&&1023>b;)b++,e/=2;else for(;1>e&&-1022>> +0;g.de=4503599627370496*d>>>0}g.Be(a,g.de);g.Be(a,g.ee)}}; +g.Ue=function(a,b,c){b=g.md(b,c);null!=b&&("string"===typeof b&&Nba(b),null!=b&&(g.Ge(a,c,0),"number"===typeof b?(a=a.j,Aba(b),Oba(a,g.de,g.ee)):(c=Nba(b),Oba(a.j,c.u,c.j))))}; +g.Ve=function(a,b,c){b=g.md(b,c);null!=b&&null!=b&&(g.Ge(a,c,0),Pba(a.j,b))}; +g.nca=function(a,b,c){b=g.md(b,c);null!=b&&g.He(a,c,g.uaa(b))}; +g.oca=function(a,b,c,d,e){b=Bd(b,d,c);null!=b&&(c=Rba(a,c),e(b,a),Sba(a,c))}; +pca=function(a){var b=this.Nr,c=this.j;return this.isRepeated?Cd(a,b,c,!0):Bd(a,b,c,!0)}; +g.J=function(){Ie.apply(this,arguments)}; +qca=function(a){g.J.call(this,a)}; +rca=function(a){g.J.call(this,a)}; +We=function(a){g.J.call(this,a)}; +Xe=function(a){g.J.call(this,a)}; +sca=function(a){this.YN=a}; +Ye=function(a,b,c){this.u=a;this.C=b;this.j=c||[];this.Zu=new Map}; +Ze=function(a,b){Ye.call(this,a,3,b)}; +$e=function(a,b){Ye.call(this,a,2,b)}; +g.af=function(a){a&&"function"==typeof a.dispose&&a.dispose()}; +g.bf=function(a){for(var b=0,c=arguments.length;ba.u&&(a.u++,b.next=a.j,a.j=b)}; +Xf=function(a){return function(){return a}}; +g.Yf=function(){}; +Oca=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}}; +$f=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}; +ag=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}}; +Pca=function(a,b){var c=0;return function(d){g.C.clearTimeout(c);var e=arguments;c=g.C.setTimeout(function(){a.apply(b,e)},50)}}; +cg=function(){if(void 0===bg){var a=null,b=g.C.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:Ya,createScript:Ya,createScriptURL:Ya})}catch(c){g.C.console&&g.C.console.error(c.message)}bg=a}else bg=a}return bg}; +dg=function(a,b){this.j=a===Qca&&b||"";this.u=Rca}; +eg=function(a){return a instanceof dg&&a.constructor===dg&&a.u===Rca?a.j:"type_error:Const"}; +g.fg=function(a){return new dg(Qca,a)}; +gg=function(a,b){this.j=b===Sca?a:"";this.Qm=!0}; +Tca=function(a){var b=cg();a=b?b.createScript(a):a;return new gg(a,Sca)}; +hg=function(a,b){this.j=b===Uca?a:""}; +Vca=function(a){return a instanceof hg&&a.constructor===hg?a.j:"type_error:TrustedResourceUrl"}; +Yca=function(a,b){var c=eg(a);if(!Wca.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(Xca,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));d=b[e];return d instanceof dg?eg(d):encodeURIComponent(String(d))}); +return g.ig(a)}; +g.ig=function(a){var b=cg();a=b?b.createScriptURL(a):a;return new hg(a,Uca)}; +kg=function(a,b){this.j=b===jg?a:""}; +g.lg=function(a){return a instanceof kg&&a.constructor===kg?a.j:"type_error:SafeUrl"}; +g.mg=function(a){a instanceof kg||(a="object"==typeof a&&a.Qm?a.Qj():String(a),Zca.test(a)?a=new kg(a,jg):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match($ca)?new kg(a,jg):null));return a||ada}; +bda=function(a){if(a instanceof kg)return a;a="object"==typeof a&&a.Qm?a.Qj():String(a);Zca.test(a)||(a="about:invalid#zClosurez");return new kg(a,jg)}; +og=function(a,b){this.j=b===ng?a:"";this.Qm=!0}; +pg=function(a){return a instanceof og&&a.constructor===og?a.j:"type_error:SafeStyle"}; +dda=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(cda).join(" "):cda(d),b+=c+":"+d+";")}return b?new og(b,ng):qg}; +eda=function(a){function b(d){Array.isArray(d)?d.forEach(b):c+=pg(d)} +var c="";Array.prototype.forEach.call(arguments,b);return c?new og(c,ng):qg}; +cda=function(a){if(a instanceof kg)return'url("'+g.lg(a).replace(/a*b?a+b:a}; +g.Eg=function(a,b,c){return a+c*(b-a)}; +Fg=function(a,b){return 1E-6>=Math.abs(a-b)}; +g.Gg=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}; +Hg=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; +g.Qg=function(a,b){this.width=a;this.height=b}; +g.Rg=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; +Sg=function(a){return a.width*a.height}; +g.Tg=function(a){return encodeURIComponent(String(a))}; +Ug=function(a){return decodeURIComponent(a.replace(/\+/g," "))}; +g.Vg=function(a){return a=gb(a)}; +g.Wg=function(a){return null==a?"":String(a)}; +Xg=function(a){for(var b=0,c=0;c>>0;return b}; +Yg=function(a){var b=Number(a);return 0==b&&g.fb(a)?NaN:b}; +uda=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; +vda=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()}; +wda=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})}; +xda=function(a){var b=1;a=a.split(":");for(var c=[];0a}; +wh=function(a,b,c){if(!b&&!c)return null;var d=b?String(b).toUpperCase():null;return vh(a,function(e){return(!d||e.nodeName==d)&&(!c||"string"===typeof e.className&&g.Wb(e.className.split(/\s+/),c))},!0)}; +vh=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}; +Zg=function(a){this.j=a||g.C.document||document}; +yh=function(a){"function"!==typeof g.C.setImmediate||g.C.Window&&g.C.Window.prototype&&!Ab()&&g.C.Window.prototype.setImmediate==g.C.setImmediate?(xh||(xh=Ida()),xh(a)):g.C.setImmediate(a)}; +Ida=function(){var a=g.C.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!vb("Presto")&&(a=function(){var e=g.mh("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.Ta)(function(m){if(("*"==l||m.origin==l)&&m.data==h)this.port1.onmessage()},this); +f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,l)}}}); +if("undefined"!==typeof a&&!zb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.VN;c.VN=null;e()}}; +return function(e){d.next={VN:e};d=d.next;b.port2.postMessage(0)}}return function(e){g.C.setTimeout(e,0)}}; +Jda=function(a){g.C.setTimeout(function(){throw a;},0)}; +zh=function(){this.u=this.j=null}; +Ah=function(){this.next=this.scope=this.j=null}; +g.Dh=function(a,b){Bh||Kda();Ch||(Bh(),Ch=!0);Lda.add(a,b)}; +Kda=function(){if(g.C.Promise&&g.C.Promise.resolve){var a=g.C.Promise.resolve(void 0);Bh=function(){a.then(Mda)}}else Bh=function(){yh(Mda)}}; +Mda=function(){for(var a;a=Lda.remove();){try{a.j.call(a.scope)}catch(b){Jda(b)}Nca(Nda,a)}Ch=!1}; +g.Fh=function(a){this.j=0;this.J=void 0;this.C=this.u=this.B=null;this.D=this.I=!1;if(a!=g.Yf)try{var b=this;a.call(void 0,function(c){Eh(b,2,c)},function(c){Eh(b,3,c)})}catch(c){Eh(this,3,c)}}; +Oda=function(){this.next=this.context=this.onRejected=this.u=this.j=null;this.B=!1}; +Gh=function(a,b,c){var d=Pda.get();d.u=a;d.onRejected=b;d.context=c;return d}; +Ih=function(a){if(a instanceof g.Fh)return a;var b=new g.Fh(g.Yf);Eh(b,2,a);return b}; +Jh=function(a){return new g.Fh(function(b,c){c(a)})}; +g.Rda=function(a,b,c){Qda(a,b,c,null)||g.Dh(g.Va(b,a))}; +Sda=function(a){return new g.Fh(function(b,c){a.length||b(void 0);for(var d=0,e;d=a.C&&a.zF()}; +cea=function(a,b){return a.I.has(b)?void 0:a.j.get(b)}; +dea=function(a){for(var b=0;bw;w+=4)v[w/4]=q[w]<<24|q[w+1]<<16|q[w+2]<<8|q[w+3];for(w=16;80>w;w++)q=v[w-3]^v[w-8]^v[w-14]^v[w-16],v[w]=(q<<1|q>>>31)&4294967295;q=e[0];var y=e[1],A=e[2],B=e[3],E=e[4];for(w=0;80>w;w++){if(40>w)if(20>w){var G=B^y&(A^B);var H=1518500249}else G=y^A^B,H=1859775393;else 60>w?(G=y&A|B&(y|A),H=2400959708):(G=y^A^B,H=3395469782);G=((q<<5|q>>>27)&4294967295)+G+E+H+v[w]&4294967295;E=B;B=A;A=(y<<30|y>>>2)&4294967295;y=q;q=G}e[0]=e[0]+q&4294967295;e[1]=e[1]+y&4294967295;e[2]= +e[2]+A&4294967295;e[3]=e[3]+B&4294967295;e[4]=e[4]+E&4294967295} +function c(q,v){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var w=[],y=0,A=q.length;yn?c(l,56-n):c(l,64-(n-56));for(var w=63;56<=w;w--)f[w]=v&255,v>>>=8;b(f);for(w=v=0;5>w;w++)for(var y=24;0<=y;y-=8)q[v++]=e[w]>>y&255;return q} +for(var e=[],f=[],h=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,OX:function(){for(var q=d(),v="",w=0;wb&&(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.slice(0,c),d,a.slice(b)]}; +Fea=function(a,b){return b?a?a+"&"+b:b:a}; +si=function(a,b){if(!b)return a;a=Eea(a);a[1]=Fea(a[1],b);return a[0]+(a[1]?"?"+a[1]:"")+a[2]}; +ti=function(a,b,c){if(Array.isArray(b))for(var d=0;dd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return Ug(a.slice(d,-1!==e?e:0))}; +zi=function(a,b){for(var c=a.search(Iea),d=0,e,f=[];0<=(e=Hea(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));return f.join("").replace(Jea,"$1")}; +Kea=function(a,b,c){return xi(zi(a,b),b,c)}; +Lea=function(a,b){a=Eea(a);var c=a[1],d=[];c&&c.split("&").forEach(function(e){var f=e.indexOf("=");b.hasOwnProperty(0<=f?e.slice(0,f):e)||d.push(e)}); +a[1]=Fea(d.join("&"),g.ui(b));return a[0]+(a[1]?"?"+a[1]:"")+a[2]}; +g.Ai=function(a){g.Uf.call(this);this.headers=new Map;this.V=a||null;this.C=!1;this.qa=this.j=null;this.Y="";this.u=0;this.D="";this.I=this.Ea=this.W=this.va=!1;this.N=0;this.ra=null;this.La="";this.Ra=this.J=!1}; +Nea=function(a,b,c,d,e,f,h){var l=new g.Ai;Mea.push(l);b&&l.Na("complete",b);l.dD("ready",l.sX);f&&(l.N=Math.max(0,f));h&&(l.J=h);l.send(a,c,d,e)}; +Oea=function(a){return g.Dc&&g.yc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout}; +Qea=function(a,b){a.C=!1;a.j&&(a.I=!0,a.j.abort(),a.I=!1);a.D=b;a.u=5;Pea(a);Bi(a)}; +Pea=function(a){a.va||(a.va=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}; +Rea=function(a){if(a.C&&"undefined"!=typeof Ci)if(a.qa[1]&&4==g.Di(a)&&2==a.getStatus())a.getStatus();else if(a.W&&4==g.Di(a))g.Ph(a.lR,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.getStatus();a.C=!1;try{if(Ei(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.u=6;try{var b=2a.Kb()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.ra}; +efa=function(a,b){a.D=new g.ci(1>b?1:b,3E5,.1);a.j.setInterval(a.D.getValue())}; +gfa=function(a){ffa(a,function(b,c){b=xi(b,"format","json");b=gh().navigator.sendBeacon(b,Rd(c));a.va&&!b&&(a.va=!1);return b})}; +ffa=function(a,b){if(0!==a.u.length){var c=zi(dfa(a),"format");c=vi(c,"auth",a.Ya(),"authuser",a.V||"0");for(var d=0;10>d&&a.u.length;++d){var e=a.u.slice(0,32),f=a.I.Se(e,a.J);if(!b(c,f))break;a.J=0;a.u=a.u.slice(e.length)}a.j.enabled&&a.j.stop()}}; +hfa=function(){g.df.call(this,"event-logged",void 0)}; +bfa=function(a,b){this.B=b=void 0===b?!1:b;this.u=this.locale=null;this.j=new Yea;g.D(this.j,2,a);b||(this.locale=document.documentElement.getAttribute("lang"));Mi(this,new Ki)}; +Mi=function(a,b){F(a.j,Ki,1,b);g.md(b,1)||g.D(b,1,1);a.B||(b=Oi(a),g.md(b,5)||g.D(b,5,a.locale));a.u&&(b=Oi(a),Bd(b,Ji,9)||F(b,Ji,9,a.u))}; +jfa=function(a,b){var c=void 0===c?ifa:c;b(gh(),c).then(function(d){a.u=d;d=Oi(a);F(d,Ji,9,a.u);return!0}).catch(function(){return!1})}; +Oi=function(a){a=Bd(a.j,Ki,1);var b=Bd(a,Ii,11);b||(b=new Ii,F(a,Ii,11,b));return b}; +kfa=function(a,b,c){Nea(a.url,function(d){d=d.target;Ei(d)?b(g.Fi(d)):c(d.getStatus())},a.requestType,a.body,a.Bt,a.timeoutMillis,a.withCredentials)}; +lfa=function(a){this.I=a;this.B="https://play.google.com/log?format=json&hasfast=true";this.C=!1;this.J=kfa;this.j=""}; +Pi=function(a,b,c,d,e){c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;a=new lfa(void 0===a?-1:a);a.j=void 0===b?"":b;""!=c&&(a.B=c);d&&(a.C=!0);e&&(a.u=e);this.j=a.Se()}; +mfa=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}}; +Qi=function(a,b,c){c=void 0===c?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c}; +Ri=function(){var a,b,c;return null!=(c=null==(a=globalThis.performance)?void 0:null==(b=a.now)?void 0:b.call(a))?c:Date.now()}; +Si=function(a,b){this.logger=a;this.j=b;this.startMillis=Ri()}; +Ti=function(){}; +Ui=function(a){this.fh=a;this.u=new Pi(1654,"","",!1,"5");this.j=new g.Rh(this.u);this.clientError=new gea(this.j);this.B=new fea(this.j);this.C=new eea(this.j)}; +nfa=function(a){this.j=a;this.j.wB("/client_streamz/bg/fil",{Mh:3,Lh:"rk"})}; +ofa=function(a){this.j=a;this.j.ip("/client_streamz/bg/fsc",{Mh:3,Lh:"rk"})}; +pfa=function(a){this.j=a;this.j.wB("/client_streamz/bg/fsl",{Mh:3,Lh:"rk"})}; +qfa=function(){this.I=Vi();this.C=new Pi(1828);this.j=new g.Rh(this.C);this.D=new nfa(this.j);this.u=new ofa(this.j);this.B=new pfa(this.j);this.fh=window.document.location.hostname}; +Vi=function(){var a,b,c;return null!=(c=null==(a=globalThis.performance)?void 0:null==(b=a.now)?void 0:b.call(a))?c:Date.now()}; +rfa=function(a){g.J.call(this,a)}; +sfa=function(a){g.J.call(this,a)}; +Wi=function(a){g.J.call(this,a)}; +g.Xi=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})}; +Yi=function(a){var b=this;this.WB=!1;if(a.p3a){var c;this.Hr=null!=(c=a.Hr)?c:new qfa}a.challenge instanceof Wi?(c=Md(a.challenge,4),a=Md(a.challenge,5)):(c=a.program,a=a.globalName);var d=new g.Xi;this.j=d.promise;this.S4=g.r((0,g.C[a].a)(c,function(e,f){Promise.resolve().then(function(){var h;null!=(h=b.Hr)&&h.D.dh(Vi()-h.I,h.fh);d.resolve({aX:e,o4:f})})},!0)).next().value; +this.h4=d.promise.then(function(){})}; +tfa=function(a){g.fg("From proto message. b/12014412");return g.ig(g.md(a,4)||"")}; +ufa=function(){}; +Zi=function(a){this.j=a}; +xfa=function(a,b){var c=[new Zi(vfa[0].toLowerCase(),wfa)];if(0===c.length)throw Error("No prefixes are provided");if(c.map(function(d){if(d instanceof Zi)d=d.j;else throw Error("");return d}).every(function(d){return 0!=="attributionsrc".indexOf(d)}))throw Error('Attribute "attributionsrc" does not match any of the allowed prefixes.'); +a.setAttribute("attributionsrc",b)}; +yfa=function(a,b){return a.parseFromString(g.wg(b),"text/xml")}; +Afa=function(a){a:if(zfa){try{var b=new URL(a)}catch(c){b="https:";break a}b=b.protocol}else b:{b=document.createElement("a");try{b.href=a}catch(c){b=void 0;break b}b=-1!==[":",""].indexOf(b.protocol)?"https:":b.protocol}return"javascript:"===b?"about:invalid":a}; +$i=function(a){this.isValid=a}; +dj=function(a){return new $i(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}; +Cfa=function(a,b){b=void 0===b?Bfa:b;for(var c=0;c=n.length)n=String.fromCharCode.apply(null,n);else{p="";for(var q=0;qb)throw Error("Bad port number "+b);a.B=b}else a.B=null}; +Gj=function(a,b,c){b instanceof Ij?(a.u=b,Yfa(a.u,a.I)):(c||(b=Jj(b,Zfa)),a.u=new Ij(b,a.I))}; +g.Mj=function(a,b,c){a.u.set(b,c)}; +g.Nj=function(a){return a instanceof g.Cj?a.clone():new g.Cj(a)}; +Hj=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; +Jj=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,$fa),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; +$fa=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; +Ij=function(a,b){this.u=this.j=null;this.B=a||null;this.C=!!b}; +Oj=function(a){a.j||(a.j=new Map,a.u=0,a.B&&ri(a.B,function(b,c){a.add(Ug(b),c)}))}; +aga=function(a,b){Oj(a);b=Pj(a,b);return a.j.has(b)}; +g.cga=function(a,b,c){a.remove(b);0>>13;d-=e;d-=c;d^=c<<8;e-=c;e-=d;e^=d>>>13;c-=d;c-=e;c^=e>>>12;d-=e;d-=c;d^=c<<16;e-=c;e-=d;e^=d>>>5;c-=d;c-=e;c^=e>>>3;d-=e;d-=c;d^=c<<10;e-=c;e-=d;e^=d>>>15} +a=sga(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,h=f,l=0;12<=h;h-=12,l+=12)c+=fk(a,l),d+=fk(a,l+4),e+=fk(a,l+8),b();e+=f;switch(h){case 11:e+=a[l+10]<<24;case 10:e+=a[l+9]<<16;case 9:e+=a[l+8]<<8;case 8:d+=a[l+7]<<24;case 7:d+=a[l+6]<<16;case 6:d+=a[l+5]<<8;case 5:d+=a[l+4];case 4:c+=a[l+3]<<24;case 3:c+=a[l+2]<<16;case 2:c+=a[l+1]<<8;case 1:c+=a[l+0]}b();return tga.toString(e)}; +sga=function(a){for(var b=[],c=0;c=e)){E.Ma(4);break}g.ra(E,5);return g.x(E,ok(a.logger.RI("c",e,Lfa(a.eC)),function(){return Promise.reject(new ik(10,"JVZ:Timeout"))}),7); +case 7:return f=E.u,h=new Si(a.logger,"b"),g.x(E,Gfa(f),8);case 8:return l=new Yi({challenge:f}),g.x(E,ok(l.snapshot({}),function(){return Promise.reject(new ik(15,"MDA:Timeout"))}),9); +case 9:return m=E.u,h.done(),g.x(E,ok(a.logger.RI("g",e,Nfa(a.eC,m)),function(){return Promise.reject(new ik(10,"BWB:Timeout"))}),10); +case 10:n=E.u;p=new Si(a.logger,"i");if(sd(n,3,0))var G=yga(a,n,l);else l.dispose(),G=new mk(Uc(ud(n,1)),1E3*sd(n,2,0));q=G;p.done();w=v=void 0;null==(w=(v=a).WQ)||w.call(v,Uc(ud(n,1)));return E.return(q);case 5:y=g.va(E);b=y instanceof ik?y:y instanceof Qi?new ik(11,y):new ik(12,y);a.logger.sz(b.code);B=A=void 0;null==(B=(A=a).onError)||B.call(A,b);a:{if(y instanceof Qi)switch(y.code){case 2:case 13:case 14:case 4:break;default:G=!1;break a}G=!0}if(!G)throw b;return g.x(E,kk(d.getValue()),11);case 11:g.di(d); +case 3:e++;E.Ma(2);break;case 4:throw b;}})}; +xga=function(a){var b,c,d,e;g.z(function(f){switch(f.j){case 1:return b=void 0,g.ra(f,4),g.x(f,zga(a),6);case 6:b=f.u;g.ua(f,5);break;case 4:if(c=g.va(f),d=c instanceof Error?c:Error(String(c)),a.j){a.logger.sz(13);f.Ma(0);break}else a.logger.sz(14),b=new nk(d);case 5:return e=void 0,null==(e=a.j)||e.dispose(),a.j=b,a.u.resolve(),g.x(f,a.j.B.promise,1)}})}; +Aga=function(a){a=a.url;var b=/[?&]dsh=1(&|$)/.test(a);this.B=!b&&/[?&]ae=1(&|$)/.test(a);this.C=!b&&/[?&]ae=2(&|$)/.test(a);if((this.j=/[?&]adurl=([^&]*)/.exec(a))&&this.j[1]){try{var c=decodeURIComponent(this.j[1])}catch(d){c=null}this.u=c}}; +Bga=function(a,b,c,d){var e=window,f=c?"//pagead2.googlesyndication.com/bg/"+g.Vg(c)+".js":"";c=e.document;var h={};b&&(h._scs_=b);h._bgu_=f;h._bgp_=d;h._li_="v_h.3.0.0.0";(b=e.GoogleTyFxhY)&&"function"==typeof b.push||(b=e.GoogleTyFxhY=[]);b.push(h);e=ah(c).createElement("SCRIPT");e.type="text/javascript";e.async=!0;a=Yca(g.fg("//tpc.googlesyndication.com/sodar/%{path}"),{path:g.Vg(a)+".js"});g.ej(e,a);c.getElementsByTagName("head")[0].appendChild(e)}; +Cga=function(a){var b={};g.tc(a,function(c){var d=c.event,e=b[d];b.hasOwnProperty(d)?null!==e&&(c.equals(e)||(b[d]=null)):b[d]=c}); +Oaa(a,function(c){return null===b[c.event]})}; +pk=function(){this.Id=0;this.j=!1;this.u=-1;this.Bs=!1;this.Ui=0}; +qk=function(){this.qd=null;this.j=!1}; +rk=function(a){qk.call(this);this.u=a}; +sk=function(){qk.call(this)}; +tk=function(){qk.call(this)}; +uk=function(){this.j={};this.u=!0;this.B={}}; +vk=function(a,b,c){a.j[b]||(a.j[b]=new rk(c));return a.j[b]}; +Dga=function(a){a.j.queryid||(a.j.queryid=new tk)}; +Ega=function(a,b){a.j[b]||(a.j[b]=new sk);return a.j[b]}; +wk=function(a,b,c){(a=a.j[b])&&a.setValue(c)}; +xk=function(a,b){if(g.yf(a.B,b))return a.B[b];if(a=a.j[b])return a.getValue()}; +yk=function(a){var b={},c=g.pf(a.j,function(d){return d.j}); +g.of(c,function(d,e){d=void 0!==a.B[e]?String(a.B[e]):d.j&&null!==d.qd?String(d.qd):"";0e?encodeURIComponent(Xga(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; +Yga=function(a){var b=1,c;for(c in a.u)b=c.length>b?c.length:b;return 3997-b-a.B.length-1}; +Ok=function(a,b){this.j=a;this.depth=b}; +$ga=function(){function a(l,m){return null==l?m:l} +var b=Kk(),c=Math.max(b.length-1,0),d=Wga(b);b=d.j;var e=d.u,f=d.B,h=[];f&&h.push(new Ok([f.url,f.zI?2:0],a(f.depth,1)));e&&e!=f&&h.push(new Ok([e.url,2],0));b.url&&b!=f&&h.push(new Ok([b.url,0],a(b.depth,c)));d=g.Pk(h,function(l,m){return h.slice(0,h.length-m)}); +!b.url||(f||e)&&b!=f||(e=Oga(b.url))&&d.push([new Ok([e,1],a(b.depth,c))]);d.push([]);return g.Pk(d,function(l){return Zga(c,l)})}; +Zga=function(a,b){g.Od(b,function(e){return 0<=e.depth}); +var c=Qk(b,function(e,f){return Math.max(e,f.depth)},-1),d=Taa(c+2); +d[0]=a;g.tc(b,function(e){return d[e.depth+1]=e.j}); +return d}; +aha=function(){var a=void 0===a?$ga():a;return a.map(function(b){return Nk(b)})}; +bha=function(a){Dk.google_image_requests||(Dk.google_image_requests=[]);var b=Pga("IMG",Dk.document);b.src=a;Dk.google_image_requests.push(b)}; +Rk=function(a){var b="Pf";if(a.Pf&&a.hasOwnProperty(b))return a.Pf;var c=new a;a.Pf=c;a.hasOwnProperty(b);return c}; +Sk=function(){this.u=new Kga;this.j=Bk()?new Ck:new Ak}; +cha=function(){Tk();var a=Dk.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&"function"===typeof Dk.setInterval&&"function"===typeof Dk.clearInterval&&"function"===typeof Dk.setTimeout&&"function"===typeof Dk.clearTimeout)}; +dha=function(){Tk();return aha()}; +eha=function(){}; +Tk=function(){return Rk(eha).getContext()}; +Vk=function(a){g.J.call(this,a)}; +fha=function(a){this.B=a;this.j=-1;this.u=this.C=0}; +Wk=function(a,b){return function(){var c=g.za.apply(0,arguments);if(-1Math.random())}; +rha=function(a){a&&al&&Zk()&&(al.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),al.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; +sha=function(){var a=bl;this.j=cl;this.BO="jserror";this.NK=!0;this.rG=null;this.u=this.TI;this.qc=void 0===a?null:a}; +tha=function(a,b,c){var d=dl;return Wk(Yk().j.j,function(){try{if(d.qc&&d.qc.j){var e=d.qc.start(a.toString(),3);var f=b();d.qc.end(e)}else f=b()}catch(l){var h=d.NK;try{rha(e),h=d.u(a,new el(fl(l)),void 0,c)}catch(m){d.TI(217,m)}if(!h)throw l;}return f})()}; +gl=function(a,b,c,d){return Wk(Yk().j.j,function(){var e=g.za.apply(0,arguments);return tha(a,function(){return b.apply(c,e)},d)})}; +fl=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}; +el=function(a){nha.call(this,Error(a),{message:a})}; +uha=function(){Dk&&"undefined"!=typeof Dk.google_measure_js_timing&&(Dk.google_measure_js_timing||bl.disable())}; +vha=function(a){dl.rG=function(b){g.tc(a,function(c){c(b)})}}; +wha=function(a,b){return tha(a,b)}; +hl=function(a,b){return gl(a,b)}; +il=function(a,b,c,d){dl.TI(a,b,c,d)}; +jl=function(){return Date.now()-xha}; +yha=function(){var a=Yk().B,b=0<=kl?jl()-kl:-1,c=ll?jl()-ml:-1,d=0<=nl?jl()-nl:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];il(637,Error(),.001);var f=b;-1!=c&&cd?500:h}; +ol=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}; +pl=function(a){return a.right-a.left}; +ql=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}; +rl=function(a,b,c){b instanceof g.Gg?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,"number"===typeof c&&(a.top+=c,a.bottom+=c));return a}; +sl=function(a,b,c){var d=new ol(0,0,0,0);this.time=a;this.volume=null;this.B=b;this.j=d;this.u=c}; +tl=function(a,b,c,d,e,f,h,l){this.C=a;this.N=b;this.B=c;this.I=d;this.j=e;this.D=f;this.u=h;this.J=l}; +Aha=function(a){var b=a!==a.top,c=a.top===Sga(a),d=-1,e=0;if(b&&c&&a.top.mraid){d=3;var f=a.top.mraid}else d=(f=a.mraid)?b?c?2:1:0:-1;f&&(f.IS_GMA_SDK||(e=2),Aca(zha,function(h){return"function"===typeof f[h]})||(e=1)); +return{ql:f,compatibility:e,s4:d}}; +Bha=function(){var a=window.document;return a&&"function"===typeof a.elementFromPoint}; +Cha=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.Qg(b.innerWidth,b.innerHeight)).round():Bda(b||window).round()}catch(d){return new g.Qg(-12245933,-12245933)}}; +ul=function(a,b,c){try{a&&(b=b.top);var d=Cha(a,b,c),e=d.height,f=d.width;if(-12245933===f)return new ol(f,f,f,f);var h=Dda(ah(b.document).j),l=h.x,m=h.y;return new ol(m,l+f,m+e,l)}catch(n){return new ol(-12245933,-12245933,-12245933,-12245933)}}; +g.vl=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}; +wl=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.yl=function(a,b,c){if("string"===typeof b)(b=xl(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=xl(c,d);f&&(c.style[f]=e)}}; +xl=function(a,b){var c=Dha[b];if(!c){var d=uda(b);c=d;void 0===a.style[d]&&(d=(g.kf?"Webkit":zl?"Moz":g.Dc?"ms":null)+wda(d),void 0!==a.style[d]&&(c=d));Dha[b]=c}return c}; +g.Al=function(a,b){var c=a.style[uda(b)];return"undefined"!==typeof c?c:a.style[xl(a,b)]||""}; +Bl=function(a,b){var c=$g(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}; +Cl=function(a,b){return Bl(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}; +g.El=function(a,b,c){if(b instanceof g.Gg){var d=b.x;b=b.y}else d=b,b=c;a.style.left=g.Dl(d,!1);a.style.top=g.Dl(b,!1)}; +Fl=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; +Eha=function(a){if(g.Dc&&!g.Ac(8))return a.offsetParent;var b=$g(a),c=Cl(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=Cl(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.Gl=function(a){var b=$g(a),c=new g.Gg(0,0);var d=b?$g(b):document;d=!g.Dc||g.Ac(9)||"CSS1Compat"==ah(d).j.compatMode?d.documentElement:d.body;if(a==d)return c;a=Fl(a);b=Dda(ah(b).j);c.x=a.left+b.x;c.y=a.top+b.y;return c}; +Gha=function(a,b){var c=new g.Gg(0,0),d=gh($g(a));if(!wc(d,"parent"))return c;do{var e=d==b?g.Gl(a):Fha(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c}; +g.Hl=function(a,b){a=Hha(a);b=Hha(b);return new g.Gg(a.x-b.x,a.y-b.y)}; +Fha=function(a){a=Fl(a);return new g.Gg(a.left,a.top)}; +Hha=function(a){if(1==a.nodeType)return Fha(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.Gg(a.clientX,a.clientY)}; +g.Il=function(a,b,c){if(b instanceof g.Qg)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=g.Dl(b,!0);a.style.height=g.Dl(c,!0)}; +g.Dl=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; +g.Jl=function(a){var b=Iha;if("none"!=Cl(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}; +Iha=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.kf&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Fl(a),new g.Qg(a.right-a.left,a.bottom-a.top)):new g.Qg(b,c)}; +g.Kl=function(a,b){a.style.display=b?"":"none"}; +Ll=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b}; +Jha=function(a){return new ol(a.top,a.right,a.bottom,a.left)}; +Kha=function(a){var b=a.top||0,c=a.left||0;return new ol(b,c+(a.width||0),b+(a.height||0),c)}; +Ml=function(a){return null!=a&&0<=a&&1>=a}; +Lha=function(){var a=g.rb();return a?Nl("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;MiBOX".split(";"),function(b){return jb(a,b)})||jb(a,"OMI/")&&!jb(a,"XiaoMi/")?!0:jb(a,"Presto")&&jb(a,"Linux")&&!jb(a,"X11")&&!jb(a,"Android")&&!jb(a,"Mobi"):!1}; +Mha=function(){this.B=!Ik(Dk.top);this.isMobileDevice=Hk()||Lga();var a=Kk();this.domain=0c.height?m>p?(d=m,e=n):(d=p,e=q):mb.u?!1:a.jb.j?!1:typeof a.qdtypeof b.qd?!1:a.qdc++;){if(a===b)return!0;try{if(a=g.rh(a)||a){var d=$g(a),e=d&&gh(d),f=e&&e.frameElement;f&&(a=f)}}catch(h){break}}return!1}; +iia=function(a,b,c){if(!a||!b)return!1;b=rl(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;Ik(window.top)&&window.top&&window.top.document&&(window=window.top);if(!Bha())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=$g(c))&&b.defaultView&&b.defaultView.frameElement)&&hia(b,a);var d=a===c;a=!d&&a&&vh(a,function(e){return e===c}); +return!(b||d||a)}; +jia=function(a,b,c,d){return Ol().B?!1:0>=pl(a)||0>=a.getHeight()?!0:c&&d?wha(208,function(){return iia(a,b,c)}):!1}; +mm=function(a,b,c){g.K.call(this);this.position=kia.clone();this.kD=this.yC();this.QI=-2;this.Z4=Date.now();this.QS=-1;this.lastUpdateTime=b;this.cD=null;this.sy=!1;this.sD=null;this.opacity=-1;this.requestSource=c;this.VI=function(){}; +this.gT=function(){}; +this.Bi=new Iga;this.Bi.bq=a;this.Bi.j=a;this.Wp=!1;this.Lr={fJ:null,dJ:null};this.yS=!0;this.xA=null;this.Qv=this.BZ=!1;Yk().I++;this.Eg=this.PH();this.NS=-1;this.Ce=null;this.hasCompleted=this.yZ=!1;this.featureSet=new uk;Hga(this.featureSet);lia(this);1==this.requestSource?wk(this.featureSet,"od",1):wk(this.featureSet,"od",0)}; +lia=function(a){a=a.Bi.bq;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:mia&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+vda()):!!a.getAttribute("data-"+vda());b&&(Ol().u=!0)}; +nm=function(a,b){b!=a.Qv&&(a.Qv=b,a=Ol(),b?a.I++:0c?0:a}; +pia=function(a,b,c){if(a.Ce){a.Ce.qp();var d=a.Ce.J,e=d.C,f=e.j;if(null!=d.I){var h=d.B;a.sD=new g.Gg(h.left-f.left,h.top-f.top)}f=a.sE()?Math.max(d.j,d.D):d.j;h={};null!==e.volume&&(h.volume=e.volume);e=a.WO(d);a.cD=d;a.Fa(f,b,c,!1,h,e,d.J)}}; +qia=function(a){if(a.sy&&a.xA){var b=1==xk(a.featureSet,"od"),c=Ol().j,d=a.xA,e=a.Ce?a.Ce.getName():"ns",f=new g.Qg(pl(c),c.getHeight());c=a.sE();a={E4:e,sD:a.sD,S5:f,sE:c,Id:a.Eg.Id,G5:b};if(b=d.u){b.qp();e=b.J;f=e.C.j;var h=null,l=null;null!=e.I&&f&&(h=e.B,h=new g.Gg(h.left-f.left,h.top-f.top),l=new g.Qg(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.j,e.D):e.j;c={E4:b.getName(),sD:h,S5:l,sE:c,G5:!1,Id:e}}else c=null;c&&bia(d,a,c)}}; +ria=function(a,b,c){b&&(a.VI=b);c&&(a.gT=c)}; +g.om=function(){}; +g.pm=function(a){return{value:a,done:!1}}; +sia=function(){this.C=this.j=this.B=this.u=this.D=0}; +tia=function(a){var b={};var c=g.Wa()-a.D;b=(b.ptlt=c,b);(c=a.u)&&(b.pnk=c);(c=a.B)&&(b.pnc=c);(c=a.C)&&(b.pnmm=c);(a=a.j)&&(b.pns=a);return b}; +uia=function(){pk.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.mediaTime=-1}; +qm=function(a){return Ml(a.volume)&&0Math.max(1E4,a.B/3)?0:b);var c=a.J(a)||{};c=void 0!==c.currentTime?c.currentTime:a.W;var d=c-a.W,e=0;0<=d?(a.Y+=b,a.Ea+=Math.max(b-d,0),e=Math.min(d,a.Y)):a.La+=Math.abs(d);0!=d&&(a.Y=0);-1==a.Ra&&0=a.B/2:0=a.va:!1:!1}; +Gia=function(a){var b=Ll(a.Eg.Id,2),c=a.wg.B,d=a.Eg,e=Lm(a),f=Km(e.C),h=Km(e.I),l=Km(d.volume),m=Ll(e.J,2),n=Ll(e.Y,2),p=Ll(d.Id,2),q=Ll(e.ra,2),v=Ll(e.va,2);d=Ll(d.Ui,2);a=a.Np().clone();a.round();e=im(e,!1);return{R5:b,fz:c,lD:f,hD:h,Rx:l,mD:m,iD:n,Id:p,nD:q,jD:v,Ui:d,position:a,qD:e}}; +Iia=function(a,b){Hia(a.j,b,function(){return{R5:0,fz:void 0,lD:-1,hD:-1,Rx:-1,mD:-1,iD:-1,Id:-1,nD:-1,jD:-1,Ui:-1,position:void 0,qD:[]}}); +a.j[b]=Gia(a)}; +Hia=function(a,b,c){for(var d=a.length;dc.time?b:c},a[0])}; +Zm=function(a){a=void 0===a?Dk:a;Wl.call(this,new Sl(a,2))}; +$m=function(){var a=gja();Sl.call(this,Dk.top,a,"geo")}; +gja=function(){Yk();var a=Ol();return a.B||a.u?0:2}; +hja=function(){}; +an=function(){this.done=!1;this.j={IW:0,AN:0,s3a:0,wO:0,pI:-1,DX:0,CX:0,EX:0,B4:0};this.D=null;this.I=!1;this.B=null;this.J=0;this.u=new Rl(this)}; +cn=function(){var a=bn;a.I||(a.I=!0,ija(a,function(){return a.C.apply(a,g.t(g.za.apply(0,arguments)))}),a.C())}; +jja=function(){Rk(hja);var a=Rk(Um);null!=a.j&&a.j.j?Pha(a.j.j):Ol().update(Dk)}; +dn=function(a,b,c){if(!a.done&&(a.u.cancel(),0!=b.length)){a.B=null;try{jja();var d=jl();Yk().D=d;if(null!=Rk(Um).j)for(var e=0;eg.uf(uja).length?null:Qk(b,function(c,d){d=d.toLowerCase().split("=");if(2!=d.length||void 0===vja[d[0]]||!vja[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}}; +xja=function(a,b){if(void 0==a.j)return 0;switch(a.D){case "mtos":return a.u?fm(b.j,a.j):fm(b.u,a.j);case "tos":return a.u?em(b.j,a.j):em(b.u,a.j)}return 0}; +kn=function(a,b,c,d){Dm.call(this,b,d);this.J=a;this.N=c}; +yja=function(){}; +ln=function(){}; +mn=function(){}; +nn=function(a){Dm.call(this,"fully_viewable_audible_half_duration_impression",a)}; +on=function(a){this.j=a}; +pn=function(a,b){Dm.call(this,a,b)}; +qn=function(a){Em.call(this,"measurable_impression",a)}; +rn=function(){on.apply(this,arguments)}; +sn=function(a,b,c){Gm.call(this,a,b,c)}; +tn=function(a){a=void 0===a?Dk:a;Wl.call(this,new Sl(a,2))}; +un=function(a,b,c){Gm.call(this,a,b,c)}; +vn=function(a){a=void 0===a?Dk:a;Wl.call(this,new Sl(a,2))}; +wn=function(){Sl.call(this,Dk,2,"mraid");this.Ea=0;this.Y=this.ra=!1;this.J=null;this.u=Aha(this.B);this.C.j=new ol(0,0,0,0);this.Ha=!1}; +xn=function(a,b,c){a.Bq("addEventListener",b,c)}; +Cja=function(a){Yk().C=!!a.Bq("isViewable");xn(a,"viewableChange",zja);"loading"===a.Bq("getState")?xn(a,"ready",Aja):Bja(a)}; +Bja=function(a){"string"===typeof a.u.ql.AFMA_LIDAR?(a.ra=!0,Dja(a)):(a.u.compatibility=3,a.J="nc",a.fail("w"))}; +Dja=function(a){a.Y=!1;var b=1==xk(Yk().featureSet,"rmmt"),c=!!a.Bq("isViewable");(b?!c:1)&&Tk().setTimeout(hl(524,function(){a.Y||(Eja(a),il(540,Error()),a.J="mt",a.fail("w"))}),500); +Fja(a);xn(a,a.u.ql.AFMA_LIDAR,Gja)}; +Fja=function(a){var b=1==xk(Yk().featureSet,"sneio"),c=void 0!==a.u.ql.AFMA_LIDAR_EXP_1,d=void 0!==a.u.ql.AFMA_LIDAR_EXP_2;(b=b&&d)&&(a.u.ql.AFMA_LIDAR_EXP_2=!0);c&&(a.u.ql.AFMA_LIDAR_EXP_1=!b)}; +Eja=function(a){a.Bq("removeEventListener",a.u.ql.AFMA_LIDAR,Gja);a.ra=!1}; +Hja=function(a,b){if("loading"===a.Bq("getState"))return new g.Qg(-1,-1);b=a.Bq(b);if(!b)return new g.Qg(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new g.Qg(-1,-1):new g.Qg(a,b)}; +Aja=function(){try{var a=Rk(wn);a.Bq("removeEventListener","ready",Aja);Bja(a)}catch(b){il(541,b)}}; +Gja=function(a,b){try{var c=Rk(wn);c.Y=!0;var d=a?new ol(a.y,a.x+a.width,a.y+a.height,a.x):new ol(0,0,0,0);var e=jl(),f=Ql();var h=new sl(e,f,c);h.j=d;h.volume=b;c.Rp(h)}catch(l){il(542,l)}}; +zja=function(a){var b=Yk(),c=Rk(wn);a&&!b.C&&(b.C=!0,c.Ha=!0,c.J&&c.fail("w",!0))}; +yn=function(){this.isInitialized=!1;this.j=this.u=null;var a={};this.J=(a.start=this.eZ,a.firstquartile=this.ZY,a.midpoint=this.bZ,a.thirdquartile=this.fZ,a.complete=this.WY,a.error=this.XY,a.pause=this.SJ,a.resume=this.iS,a.skip=this.dZ,a.viewable_impression=this.Gm,a.mute=this.Vw,a.unmute=this.Vw,a.fullscreen=this.aZ,a.exitfullscreen=this.YY,a.fully_viewable_audible_half_duration_impression=this.Gm,a.measurable_impression=this.Gm,a.abandon=this.SJ,a.engagedview=this.Gm,a.impression=this.Gm,a.creativeview= +this.Gm,a.progress=this.Vw,a.custom_metric_viewable=this.Gm,a.bufferstart=this.SJ,a.bufferfinish=this.iS,a.audio_measurable=this.Gm,a.audio_audible=this.Gm,a);a={};this.N=(a.overlay_resize=this.cZ,a.abandon=this.hI,a.close=this.hI,a.collapse=this.hI,a.overlay_unmeasurable_impression=function(b){return Om(b,"overlay_unmeasurable_impression",Ql())},a.overlay_viewable_immediate_impression=function(b){return Om(b,"overlay_viewable_immediate_impression",Ql())},a.overlay_unviewable_impression=function(b){return Om(b, +"overlay_unviewable_impression",Ql())},a.overlay_viewable_end_of_session_impression=function(b){return Om(b,"overlay_viewable_end_of_session_impression",Ql())},a); +Yk().u=3;Ija(this);this.B=!1}; +zn=function(a,b,c,d){b=a.gA(null,d,!0,b);b.C=c;$ia([b],a.B);return b}; +Jja=function(a,b,c){Cga(b);var d=a.j;g.tc(b,function(e){var f=g.Pk(e.criteria,function(h){var l=wja(h);if(null==l)h=null;else if(h=new tja,null!=l.visible&&(h.j=l.visible/100),null!=l.audible&&(h.u=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=waa(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);h.setTime(l,n,m)}return h}); +Nl(f,function(h){return null==h})||Eia(c,new kn(e.id,e.event,f,d))})}; +Kja=function(){var a=[],b=Yk();a.push(Rk($m));xk(b.featureSet,"mvp_lv")&&a.push(Rk(wn));b=[new tn,new vn];b.push(new Vm(a));b.push(new Zm(Dk));return b}; +Lja=function(a){if(!a.isInitialized){a.isInitialized=!0;try{var b=jl(),c=Yk(),d=Ol();kl=b;c.B=79463069;"o"!==a.u&&(oja=Sga(Dk));if(cha()){bn.j.AN=0;bn.j.pI=jl()-b;var e=Kja(),f=Rk(Um);f.u=e;bja(f,function(){An()})?bn.done||(kja(),Tl(f.j.j,a),cn()):d.B?An():cn()}else Bn=!0}catch(h){throw Sm.reset(),h; +}}}; +Gn=function(a){bn.u.cancel();Fn=a;bn.done=!0}; +Hn=function(a){if(a.u)return a.u;var b=Rk(Um).j;if(b)switch(b.getName()){case "nis":a.u="n";break;case "gsv":a.u="m"}a.u||(a.u="h");return a.u}; +In=function(a,b,c){if(null==a.j)return b.ax|=4,!1;a=Mja(a.j,c,b);b.ax|=a;return 0==a}; +An=function(){var a=[new Zm(Dk)],b=Rk(Um);b.u=a;bja(b,function(){Gn("i")})?bn.done||(kja(),cn()):Gn("i")}; +Nja=function(a,b){if(!a.Cb){var c=Om(a,"start",Ql());c=a.TJ.j(c).j;var d={id:"lidarv"};d.r=b;d.sv="933";null!==fn&&(d.v=fn);ri(c,function(e,f){return d[e]="mtos"==e||"tos"==e?f:encodeURIComponent(f)}); +b=pja();ri(b,function(e,f){return d[e]=encodeURIComponent(f)}); +b="//pagead2.googlesyndication.com/pagead/gen_204?"+Zl(Yl(new Xl,d));$ha(b);a.Cb=!0}}; +Jn=function(a,b,c){dn(bn,[a],!Ql());Iia(a,c);4!=c&&Hia(a.ra,c,a.yC);return Om(a,b,Ql())}; +Ija=function(a){nja(function(){var b=Oja();null!=a.u&&(b.sdk=a.u);var c=Rk(Um);null!=c.j&&(b.avms=c.j.getName());return b})}; +Pja=function(a,b,c,d){if(a.B)var e=Rm(Sm,b);else e=Wia(Sm,c),null!==e&&e.ah!==b&&(a.ly(e),e=null);e||(b=a.gA(c,jl(),!1,b),0==Sm.u.length&&(Yk().B=79463069),aja([b]),e=b,e.C=Hn(a),d&&(e.Ua=d));return e}; +Qja=function(a){g.tc(Sm.j,function(b){3==b.uh&&a.ly(b)})}; +Rja=function(a,b){var c=a[b];void 0!==c&&0document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}; +Aka=function(a){if(!a)return qg;var b=document.createElement("div").style;wka(a).forEach(function(c){var d=g.kf&&c in xka?c:c.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");eb(d,"--")||eb(d,"var")||(c=vka(yka,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[c])||"",c=tka(c),null!=c&&vka(zka,b,b.setProperty?"setProperty":"setAttribute",[d,c]))}); +return pda(g.fg("Output of CSS sanitizer"),b.cssText||"")}; +wka=function(a){g.Oa(a)?a=g.cc(a):(a=g.uf(a),g.Zb(a,"cssText"));return a}; +g.wo=function(a){var b,c=b=0,d=!1;a=a.split(Bka);for(var e=0;eg.Wa()}; +g.Go=function(a){this.j=a}; +Lka=function(){}; +Ho=function(){}; +Io=function(a){this.j=a}; +Jo=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.j=a}; +Mka=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.j=a}; +Lo=function(a,b){this.u=a;this.j=null;if(g.Dc&&!g.Ac(9)){Ko||(Ko=new g.po);this.j=Ko.get(a);this.j||(b?this.j=document.getElementById(b):(this.j=document.createElement("userdata"),this.j.addBehavior("#default#userData"),document.body.appendChild(this.j)),Ko.set(a,this.j));try{this.j.load(this.u)}catch(c){this.j=null}}}; +Mo=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Nka[b]})}; +No=function(a){try{a.j.save(a.u)}catch(b){throw"Storage mechanism: Quota exceeded";}}; +Oo=function(a,b){this.u=a;this.j=b+"::"}; +g.Po=function(a){var b=new Jo;return b.isAvailable()?a?new Oo(b,a):b:null}; +Qo=function(a,b){this.j=a;this.qd=b}; +Ro=function(a){this.j=[];if(a)a:{if(a instanceof Ro){var b=a.Tn();a=a.Rj();if(0>=this.j.length){for(var c=this.j,d=0;d>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c}; +So=function(){Ro.apply(this,arguments)}; +To=function(){}; +Pka=function(){var a=g.za.apply(0,arguments);return 0===a.length?function(b){return b}:1===a.length?a[0]:a.reduce(function(b,c){return function(){return b(c.apply(null,g.t(g.za.apply(0,arguments))))}})}; +Qka=function(){var a=g.za.apply(0,arguments);return function(b){return function(c,d){function e(){throw Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.");} +c=b(c,d);var f={getState:c.getState,dispatch:function(h){return e.apply(null,[h].concat(g.t(g.za.apply(1,arguments))))}}; +d=a.map(function(h){return h(f)}); +e=Pka.apply(null,g.t(d))(c.dispatch);return Object.assign({},c,{dispatch:e})}}}; +Uo=function(){return Math.random().toString(36).substring(7).split("").join(".")}; +Rka=function(a){Object.keys(a).forEach(function(b){var c=a[b];if("undefined"===typeof c(void 0,{type:Vo}))throw Error('Reducer "'+b+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof c(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION"+Uo()}))throw Error('Reducer "'+ +b+"\" returned undefined when probed with a random type. Don't try to handle "+(Vo+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.'));})}; +Ska=function(a,b,c,d){function e(){if(q)throw Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return m} +function f(w){if("function"!==typeof w)throw Error("Expected the listener to be a function.");if(q)throw Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;p===n&&(p=n.slice());p.push(w);return function(){if(y){if(q)throw Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details."); +y=!1;p===n&&(p=n.slice());p.splice(p.indexOf(w),1);n=null}}} +function h(w){if("object"!==typeof w||null===w)var y=!1;else{for(y=w;null!==Object.getPrototypeOf(y);)y=Object.getPrototypeOf(y);y=Object.getPrototypeOf(w)===y}if(!y)throw Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof w.type)throw Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(q)throw Error("Reducers may not dispatch actions.");try{q=!0,m=l(m,w)}finally{q=!1}y=n=p;for(var A=0;Anew Date("01 January 1970 00:00:04 GMT")/1E3&&((0,c[20])((0,c[20])((0,c[99])(c[54],c[18]),c[37],c[54],c[94]),c[33],c[62],c[23],(0,c[93])()),1)||((0,c[20])((0,c[24])(c[49],c[43]),c[64],c[75]),c[64])(c[59]),5=c[9]&&(4=c[39]||(0,c[0])(c[19])&&-6720+Math.pow(1,2)- -6719)&&(0,c[46])(c[59],c[30],(0,c[64])()),2=c[88]&&((0,c[53])((0,c[105])(c[19],c[63]),c[37],(0,c[33])((0,c[20421-163*Math.pow(5,3)])(c[75],c[17],(0,c[97])()), +c[50],c[19],c[90]),c[47],c[44]),1)||((0,c[95])(c[61],c[18]),c[91])((0,c[91])((0,c[104])(c[77],c[65],(0,c[48])()),c[56],c[102],c[19]),c[64],c[102])}catch(d){(0,c[104])(c[77],c[23],(0,c[15])())}finally{(c[32]<=Math.pow(2,4)+-38280- -38268||((0,c[104])(c[75+102%Math.pow(5,2)],c[28],(0,c[16])()),0))&&(0,c[1])(c[26],c[62])}try{c[97]>Math.pow(7,1)+24990+-24993&&(4=c[104]?(0,c[22])((0,c[1])((0,c[5])(c[13],c[44]),c[76],c[12],c[75]),c[2],(0,c[0])(((0,c[82])(c[12]),(0,c[98])(c[72],c[12])),c[106],(0,c[31])(c[63],c[35])>(0,c[102])(c[-120*Math.pow(7,2)+5969],c[82]),c[12],c[10]),c[29],c[21]):(0,c[81])((0,c[40])(c[10],c[11],(0,c[20])()),c[53],(0,c[new Date("31 December 1969 13:15:53 -1045")/1E3])((0,c[53])((0,c[12])(c[26]), +c[35],c[10],c[275%Math.pow(new Date("1969-12-31T17:00:02.000-07:00")/1E3,5)+9]),c[40],c[67],c[74],(0,c[21])()),(0,c[53])((0,c[35])(c[42],c[104]),c[35],c[67],c[48]),(0,c[86])(c[Math.pow(5,5)+17176+-20291],c[51]),c[49],c[64],c[42]),6>=c[58]&&(c[24]<=new Date("12/31/1969 16:00:04 PST")/1E3?(0,c[53])((0,c[53])((0,c[35])(c[10],c[43]),c[86],c[42],c[5]),c[86],c[18],c[44]):(0,c[53])((0,c[53])((0,c[86])(c[18],c[100]),c[104],c[11],c[85]),c[108],c[new Date("12/31/1969 17:00:20 PDT")/1E3],c[77]))}catch(d){(0,c[39])(c[9], +c[75],(0,c[105])()),(0,c[44])(c[8],c[28]),(0,c[39])(c[15+Math.pow(7,3)-292],c[93],(0,c[19])())}finally{1>=c[2]&&((((0,c[11])(c[17]),c[52])((0,c[39])(c[9],c[94],(0,c[107])()),c[39],c[9],c[5],(0,c[95])()),c[34])(c[9],c[15]),[])||(0,c[52])((((0,c[85])(c[28],c[108]),c[57])(c[13],c[30]),c[100])(c[30],c[14]),c[64],c[30],c[101])}try{9>=c[198-Math.pow(5,4)- -443]&&(0,c[44])((0,c[92])(c[54]),c[9],(0,c[48])(c[26],c[55]),c[71],c[51])}catch(d){(0,c[73])(c[46],c[7864400-240*Math.pow(8,5)],(0,c[Math.pow(6,1)%195- +-11])())}}catch(d){return"enhanced_except_k5YB7On-_w8_"+a}return b.join("")}; +g.Yo=function(a){this.name=a}; +Zo=function(a){g.J.call(this,a)}; +$o=function(a){g.J.call(this,a)}; +ap=function(a){g.J.call(this,a)}; +bp=function(a){g.J.call(this,a)}; +cp=function(a){g.J.call(this,a,-1,Xka)}; +dp=function(a){g.J.call(this,a,-1,Yka)}; +ep=function(a){g.J.call(this,a)}; +fp=function(a){g.J.call(this,a)}; +gp=function(a){g.J.call(this,a)}; +hp=function(a){g.J.call(this,a)}; +ip=function(a){g.J.call(this,a)}; +jp=function(a){g.J.call(this,a)}; +kp=function(a){g.J.call(this,a)}; +lp=function(a){g.J.call(this,a)}; +mp=function(a){g.J.call(this,a,-1,Zka)}; +np=function(a){g.J.call(this,a,-1,$ka)}; +op=function(a){g.J.call(this,a)}; +pp=function(a){g.J.call(this,a)}; +rp=function(a){g.J.call(this,a)}; +sp=function(a){g.J.call(this,a)}; +tp=function(a){g.J.call(this,a)}; +up=function(a){g.J.call(this,a)}; +vp=function(a){g.J.call(this,a,-1,ala)}; +wp=function(a){g.J.call(this,a)}; +xp=function(a){g.J.call(this,a)}; +yp=function(a){g.J.call(this,a)}; +zp=function(a){g.J.call(this,a)}; +Ap=function(a){g.J.call(this,a)}; +Bp=function(a){g.J.call(this,a)}; +Cp=function(a){g.J.call(this,a)}; +Dp=function(a){g.J.call(this,a)}; +Ep=function(a){g.J.call(this,a)}; +Fp=function(a){g.J.call(this,a)}; +Gp=function(a){g.J.call(this,a)}; +Hp=function(a){g.J.call(this,a)}; +Ip=function(a){g.J.call(this,a)}; +Jp=function(a){g.J.call(this,a,-1,bla)}; +Kp=function(a){g.J.call(this,a)}; +Lp=function(a){g.J.call(this,a)}; +Mp=function(a){g.J.call(this,a)}; +Np=function(a){g.J.call(this,a)}; +Op=function(a){g.J.call(this,a,-1,dla)}; +Pp=function(a){g.J.call(this,a)}; +Qp=function(a){g.J.call(this,a)}; +Rp=function(a){g.J.call(this,a)}; +Sp=function(a){g.J.call(this,a)}; +Tp=function(a){g.J.call(this,a)}; +Up=function(a){g.J.call(this,a)}; +Vp=function(a){g.J.call(this,a)}; +Wp=function(a){g.J.call(this,a)}; +Xp=function(a){g.J.call(this,a)}; +Yp=function(a){g.J.call(this,a)}; +Zp=function(a){g.J.call(this,a)}; +$p=function(a){g.J.call(this,a)}; +aq=function(a){g.J.call(this,a)}; +bq=function(a){g.J.call(this,a)}; +cq=function(a){g.J.call(this,a)}; +fla=function(a){g.J.call(this,a,-1,ela)}; +g.dq=function(a){g.J.call(this,a,-1,gla)}; +eq=function(a){g.J.call(this,a,-1,hla)}; +fq=function(a){g.J.call(this,a)}; +gq=function(a){g.J.call(this,a,-1,ila)}; +hq=function(a){g.J.call(this,a,-1,jla)}; +iq=function(a){g.J.call(this,a)}; +jq=function(a){g.J.call(this,a)}; +kq=function(a){g.J.call(this,a)}; +lq=function(a){g.J.call(this,a)}; +mq=function(a){g.J.call(this,a)}; +nq=function(a){g.J.call(this,a)}; +oq=function(a){g.J.call(this,a)}; +pq=function(a){g.J.call(this,a)}; +qq=function(a){g.J.call(this,a)}; +rq=function(a){g.J.call(this,a)}; +sq=function(a){g.J.call(this,a,-1,kla)}; +tq=function(a){g.J.call(this,a,-1,lla)}; +uq=function(a){g.J.call(this,a)}; +vq=function(a){g.J.call(this,a,-1,mla)}; +wq=function(a){g.J.call(this,a)}; +xq=function(a){g.J.call(this,a,-1,nla)}; +yq=function(a){g.J.call(this,a,-1,ola)}; +zq=function(a){g.J.call(this,a,-1,pla)}; +Aq=function(a){g.J.call(this,a)}; +Bq=function(a){g.J.call(this,a,-1,qla)}; +Cq=function(a){g.J.call(this,a)}; +Dq=function(a){g.J.call(this,a)}; +Eq=function(a){g.J.call(this,a)}; +Fq=function(a){g.J.call(this,a)}; +Gq=function(a){g.J.call(this,a)}; +Hq=function(a){g.J.call(this,a)}; +Iq=function(a){g.J.call(this,a)}; +Jq=function(a){g.J.call(this,a)}; +Kq=function(a){g.J.call(this,a)}; +Lq=function(a){g.J.call(this,a)}; +Mq=function(a){g.J.call(this,a)}; +Nq=function(a){g.J.call(this,a)}; +Oq=function(a){g.J.call(this,a)}; +Pq=function(a){g.J.call(this,a)}; +Qq=function(a){g.J.call(this,a)}; +Rq=function(a){g.J.call(this,a)}; +Sq=function(a){g.J.call(this,a)}; +Tq=function(a){g.J.call(this,a)}; +Uq=function(a){g.J.call(this,a)}; +Vq=function(a){g.J.call(this,a)}; +Wq=function(a){g.J.call(this,a)}; +Xq=function(a){g.J.call(this,a)}; +Yq=function(a){g.J.call(this,a)}; +Zq=function(a){g.J.call(this,a,-1,rla)}; +$q=function(a){g.J.call(this,a,-1,sla)}; +ar=function(a){g.J.call(this,a,-1,tla)}; +br=function(a){g.J.call(this,a)}; +cr=function(a){g.J.call(this,a)}; +dr=function(a){g.J.call(this,a)}; +er=function(a){g.J.call(this,a)}; +fr=function(a){g.J.call(this,a)}; +gr=function(a){g.J.call(this,a)}; +hr=function(a){g.J.call(this,a)}; +ir=function(a){g.J.call(this,a,-1,ula)}; +jr=function(a){g.J.call(this,a,-1,vla)}; +kr=function(a){g.J.call(this,a)}; +lr=function(a){g.J.call(this,a)}; +mr=function(a){g.J.call(this,a)}; +nr=function(a){g.J.call(this,a)}; +or=function(a){g.J.call(this,a)}; +pr=function(a){g.J.call(this,a)}; +qr=function(a){g.J.call(this,a)}; +rr=function(a){g.J.call(this,a)}; +sr=function(a){g.J.call(this,a)}; +tr=function(a){g.J.call(this,a,-1,wla)}; +ur=function(a){g.J.call(this,a,-1,xla)}; +vr=function(a){g.J.call(this,a)}; +wr=function(a){g.J.call(this,a)}; +xr=function(a){g.J.call(this,a,-1,yla)}; +yr=function(a){g.J.call(this,a)}; +zr=function(a){g.J.call(this,a,-1,zla)}; +Ar=function(a){g.J.call(this,a)}; +Br=function(a){g.J.call(this,a)}; +Cr=function(a){g.J.call(this,a)}; +Dr=function(a){g.J.call(this,a)}; +Er=function(a){g.J.call(this,a,-1,Ala)}; +Fr=function(a){g.J.call(this,a,-1,Bla)}; +Gr=function(a){g.J.call(this,a)}; +Hr=function(a){g.J.call(this,a)}; +Ir=function(a){g.J.call(this,a)}; +Jr=function(a){g.J.call(this,a)}; +Kr=function(a){g.J.call(this,a)}; +Lr=function(a){g.J.call(this,a)}; +Mr=function(a){g.J.call(this,a)}; +Nr=function(a){g.J.call(this,a)}; +Or=function(a){g.J.call(this,a)}; +Pr=function(a){g.J.call(this,a)}; +Qr=function(a){g.J.call(this,a,-1,Cla)}; +Rr=function(a){g.J.call(this,a)}; +Sr=function(a){g.J.call(this,a)}; +Tr=function(a){g.J.call(this,a)}; +Ur=function(a){g.J.call(this,a,-1,Dla)}; +Vr=function(a){g.J.call(this,a)}; +Wr=function(a){g.J.call(this,a)}; +Xr=function(a){g.J.call(this,a)}; +Yr=function(a){g.J.call(this,a)}; +Zr=function(a){g.J.call(this,a)}; +$r=function(a){g.J.call(this,a)}; +as=function(a){g.J.call(this,a)}; +bs=function(a){g.J.call(this,a)}; +cs=function(a){g.J.call(this,a)}; +ds=function(a){g.J.call(this,a)}; +fs=function(a){g.J.call(this,a)}; +gs=function(a){g.J.call(this,a)}; +hs=function(a){g.J.call(this,a)}; +is=function(a){g.J.call(this,a)}; +js=function(a){g.J.call(this,a)}; +ks=function(a){g.J.call(this,a)}; +ls=function(a){g.J.call(this,a)}; +ms=function(a){g.J.call(this,a)}; +ns=function(a){g.J.call(this,a)}; +os=function(a){g.J.call(this,a)}; +ps=function(a){g.J.call(this,a)}; +qs=function(a){g.J.call(this,a)}; +rs=function(a){g.J.call(this,a)}; +ts=function(a){g.J.call(this,a)}; +us=function(a){g.J.call(this,a)}; +vs=function(a){g.J.call(this,a)}; +ws=function(a){g.J.call(this,a,-1,Ela)}; +xs=function(a){g.J.call(this,a,-1,Fla)}; +ys=function(a){g.J.call(this,a)}; +zs=function(a){g.J.call(this,a)}; +As=function(a){g.J.call(this,a)}; +Bs=function(a){g.J.call(this,a)}; +Cs=function(a){g.J.call(this,a)}; +Ds=function(a){g.J.call(this,a)}; +Es=function(a){g.J.call(this,a)}; +Fs=function(a){g.J.call(this,a)}; +Gs=function(a){g.J.call(this,a)}; +Hs=function(a){g.J.call(this,a)}; +Is=function(a){g.J.call(this,a)}; +Js=function(a){g.J.call(this,a)}; +Ks=function(a){g.J.call(this,a,-1,Gla)}; +Ls=function(a){g.J.call(this,a)}; +Ms=function(a){g.J.call(this,a)}; +Ns=function(a){g.J.call(this,a)}; +Os=function(a){g.J.call(this,a)}; +Ps=function(a){g.J.call(this,a)}; +Qs=function(a){g.J.call(this,a)}; +Rs=function(a){g.J.call(this,a)}; +Ss=function(a){g.J.call(this,a)}; +Ts=function(a){g.J.call(this,a)}; +Us=function(a){g.J.call(this,a)}; +Vs=function(a){g.J.call(this,a)}; +Ws=function(a){g.J.call(this,a)}; +Xs=function(a){g.J.call(this,a)}; +Ys=function(a){g.J.call(this,a)}; +Zs=function(a){g.J.call(this,a)}; +at=function(a){g.J.call(this,a)}; +bt=function(a){g.J.call(this,a)}; +ct=function(a){g.J.call(this,a)}; +dt=function(a){g.J.call(this,a)}; +et=function(a){g.J.call(this,a)}; +ft=function(a){g.J.call(this,a)}; +gt=function(a){g.J.call(this,a)}; +ht=function(a){g.J.call(this,a)}; +jt=function(a){g.J.call(this,a)}; +kt=function(a){g.J.call(this,a)}; +Hla=function(a){g.J.call(this,a)}; +lt=function(a){g.J.call(this,a)}; +mt=function(a){g.J.call(this,a,-1,Ila)}; +nt=function(a){g.J.call(this,a)}; +Jla=function(a,b){F(a,as,1,b)}; +ot=function(a){g.J.call(this,a)}; +Kla=function(a,b){F(a,as,1,b)}; +pt=function(a){g.J.call(this,a,-1,Lla)}; +Mla=function(a,b){F(a,as,2,b)}; +qt=function(a){g.J.call(this,a)}; +rt=function(a){g.J.call(this,a)}; +tt=function(a){g.J.call(this,a)}; +ut=function(a){g.J.call(this,a)}; +vt=function(a){g.J.call(this,a)}; +wt=function(a){g.J.call(this,a,-1,Nla)}; +xt=function(a){g.J.call(this,a)}; +zt=function(a){g.J.call(this,a,-1,Ola)}; +Bt=function(a,b){Jd(a,68,At,b)}; +At=function(a){g.J.call(this,a)}; +Ct=function(a){g.J.call(this,a)}; +Dt=function(a){g.J.call(this,a,-1,Pla)}; +Et=function(a){g.J.call(this,a,-1,Qla)}; +Ft=function(a){g.J.call(this,a)}; +Gt=function(a){g.J.call(this,a)}; +Ht=function(a){g.J.call(this,a)}; +It=function(a){g.J.call(this,a,-1,Rla)}; +Jt=function(a){g.J.call(this,a)}; +Kt=function(a){g.J.call(this,a,-1,Sla)}; +Lt=function(a){g.J.call(this,a)}; +Mt=function(a){g.J.call(this,a)}; +Nt=function(a){g.J.call(this,a)}; +Ot=function(a){g.J.call(this,a,-1,Tla)}; +Pt=function(a){g.J.call(this,a)}; +Qt=function(a){g.J.call(this,a)}; +Rt=function(a){g.J.call(this,a,-1,Ula)}; +St=function(a){g.J.call(this,a)}; +Tt=function(a){g.J.call(this,a)}; +Ut=function(a){g.J.call(this,a)}; +Vt=function(a){g.J.call(this,a)}; +Wt=function(a){g.J.call(this,a,442)}; +Xt=function(a){g.J.call(this,a)}; +Yt=function(a){g.J.call(this,a)}; +Zt=function(a){g.J.call(this,a,-1,Vla)}; +Wla=function(){return g.Ha("yt.ads.biscotti.lastId_")||""}; +Xla=function(a){g.Fa("yt.ads.biscotti.lastId_",a)}; +au=function(){var a=arguments;1m.status,v=500<=m.status&&600>m.status;if(n||q||v)p=pma(a,c,m,b.convertToSafeHtml);if(n)a:if(m&&204==m.status)n=!0;else{switch(c){case "XML":n=0==parseInt(p&&p.return_code,10);break a;case "RAW":n=!0;break a}n=!!p}p=p||{};q=b.context||g.C;n?b.onSuccess&&b.onSuccess.call(q,m,p):b.onError&&b.onError.call(q,m,p);b.onFinish&&b.onFinish.call(q,m,p)}}, +b.method,d,b.headers,b.responseType,b.withCredentials); +d=b.timeout||0;if(b.onTimeout&&0=m||403===vu(p.xhr))return Jh(new Du("Request retried too many times","net.retryexhausted",p.xhr,p));p=Math.pow(2,c-m+1)*n;var q=0=f)rna(a,m,w,h,y,b.join(),e),l=y;B.Ma(2);break;case 3:return B.return(Promise.reject(l))}})}; +rna=function(a,b,c,d,e,f,h){b=c-b;e?(e instanceof g.Wv&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&Qv("QUOTA_EXCEEDED",{dbName:Vv(a.j.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:h.mode}),e instanceof g.Wv&&"UNKNOWN_ABORT"===e.type&&(c-=a.B,0>c&&c>=Math.pow(2,31)&&(c=0),Qv("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.u=!0),sna(a,!1,d,f,b,h.tag),Pv(e)):sna(a,!0,d, +f,b,h.tag)}; +sna=function(a,b,c,d,e,f){Qv("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.u,duration:e,isSuccessful:b,tryCount:c,tag:void 0===f?"IDB_TRANSACTION_TAG_UNKNOWN":f})}; +hw=function(a){this.j=a}; +g.nw=function(a,b,c){a.j.createIndex(b,c,{unique:!1})}; +tna=function(a,b){return g.ow(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})}; +g.vna=function(a,b){return"getAll"in IDBObjectStore.prototype?g.ew(a.j.getAll(b,void 0)):una(a,b)}; +una=function(a,b){var c=[];return g.ow(a,{query:b},function(d){c.push(d.getValue());return d.continue()}).then(function(){return c})}; +xna=function(a){return"getAllKeys"in IDBObjectStore.prototype?g.ew(a.j.getAllKeys(void 0,void 0)):wna(a)}; +wna=function(a){var b=[];return g.yna(a,{query:void 0},function(c){b.push(c.BC());return c.continue()}).then(function(){return b})}; +g.lw=function(a,b,c){return g.ew(a.j.put(b,c))}; +g.ow=function(a,b,c){a=a.j.openCursor(b.query,b.direction);return pw(a).then(function(d){return fw(d,c)})}; +g.yna=function(a,b,c){var d=b.query;b=b.direction;a="openKeyCursor"in IDBObjectStore.prototype?a.j.openKeyCursor(d,b):a.j.openCursor(d,b);return gw(a).then(function(e){return fw(e,c)})}; +mw=function(a){var b=this;this.j=a;this.B=new Map;this.u=!1;this.done=new Promise(function(c,d){b.j.addEventListener("complete",function(){c()}); +b.j.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.j.error)}); +b.j.addEventListener("abort",function(){var e=b.j.error;if(e)d(e);else if(!b.u){e=g.Wv;for(var f=b.j.objectStoreNames,h=[],l=0;l=B},A); +A.done.catch(function(B){e(B)})}catch(B){e(B)}}); +h.addEventListener("success",function(){var w=h.result;m&&w.addEventListener("versionchange",function(){m(f())}); +w.addEventListener("close",function(){Qv("IDB_UNEXPECTEDLY_CLOSED",{dbName:Vv(a),dbVersion:w.version});n&&n()}); +d(f())}); +h.addEventListener("error",function(){e(h.error)}); +l&&h.addEventListener("blocked",function(){l()})})}; +Cna=function(a,b,c){c=void 0===c?{}:c;return Bna(a,b,c)}; +rw=function(a,b){b=void 0===b?{}:b;var c,d,e,f;return g.z(function(h){if(1==h.j)return g.ra(h,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.blocked)&&c.addEventListener("blocked",function(){e()}),g.x(h,mna(c),4); +if(2!=h.j)return g.ua(h,0);f=g.va(h);throw $v(f,a,"",-1);})}; +Dna=function(a){return new Promise(function(b){bna(function(){b()},a)})}; +tw=function(a,b){this.name=a;this.options=b;this.C=!0;this.I=this.D=0;this.u=500}; +Ena=function(a,b){return new g.Wv("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})}; +g.vw=function(a,b){if(!b)throw g.aw("openWithToken",Vv(a.name));return a.open()}; +Fna=function(a,b){var c;return g.z(function(d){if(1==d.j)return g.x(d,g.vw(ww,b),2);c=d.u;return d.return(g.kw(c,["databases"],{Ub:!0,mode:"readwrite"},function(e){var f=e.objectStore("databases");return f.get(a.actualName).then(function(h){if(h?a.actualName!==h.actualName||a.publicName!==h.publicName||a.userIdentifier!==h.userIdentifier:1)return g.lw(f,a).then(function(){})})}))})}; +xw=function(a,b){var c;return g.z(function(d){if(1==d.j)return a?g.x(d,g.vw(ww,b),2):d.return();c=d.u;return d.return(c.delete("databases",a))})}; +Gna=function(a,b){var c,d;return g.z(function(e){return 1==e.j?(c=[],g.x(e,g.vw(ww,b),2)):3!=e.j?(d=e.u,g.x(e,g.kw(d,["databases"],{Ub:!0,mode:"readonly"},function(f){c.length=0;return g.ow(f.objectStore("databases"),{},function(h){a(h.getValue())&&c.push(h.getValue());return h.continue()})}),3)):e.return(c)})}; +Hna=function(a){return Gna(function(b){return"LogsDatabaseV2"===b.publicName&&void 0!==b.userIdentifier},a)}; +Ina=function(){var a,b,c,d;return g.z(function(e){switch(e.j){case 1:a=Iv();if(null==(b=a)?0:b.hasSucceededOnce)return e.return(!0);if(Wu&&Tu()&&!Uu()||g.yw)return e.return(!1);try{if(c=self,!(c.indexedDB&&c.IDBIndex&&c.IDBKeyRange&&c.IDBObjectStore))return e.return(!1)}catch(f){return e.return(!1)}if(!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return e.return(!1);g.ra(e,2);d={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0}; +return g.x(e,Fna(d,zw),4);case 4:return g.x(e,xw("yt-idb-test-do-not-use",zw),5);case 5:return e.return(!0);case 2:return g.va(e),e.return(!1)}})}; +Jna=function(){if(void 0!==Aw)return Aw;Ov=!0;return Aw=Ina().then(function(a){Ov=!1;var b;if(null!=(b=Hv())&&b.j){var c;b={hasSucceededOnce:(null==(c=Iv())?void 0:c.hasSucceededOnce)||a};var d;null==(d=Hv())||d.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0)}return a})}; +Bw=function(){return g.Ha("ytglobal.idbToken_")||void 0}; +g.Cw=function(){var a=Bw();return a?Promise.resolve(a):Jna().then(function(b){(b=b?zw:void 0)&&g.Fa("ytglobal.idbToken_",b);return b})}; +Kna=function(a){if(!g.Tv())throw a=new g.Wv("AUTH_INVALID",{dbName:a}),Pv(a),a;var b=g.Sv();return{actualName:a+":"+b,publicName:a,userIdentifier:b}}; +Lna=function(a,b,c,d){var e,f,h,l,m,n;return g.z(function(p){switch(p.j){case 1:return f=null!=(e=Error().stack)?e:"",g.x(p,g.Cw(),2);case 2:h=p.u;if(!h)throw l=g.aw("openDbImpl",a,b),g.T("ytidb_async_stack_killswitch")||(l.stack=l.stack+"\n"+f.substring(f.indexOf("\n")+1)),Pv(l),l;Uv(a);m=c?{actualName:a,publicName:a,userIdentifier:void 0}:Kna(a);g.ra(p,3);return g.x(p,Fna(m,h),5);case 5:return g.x(p,Cna(m.actualName,b,d),6);case 6:return p.return(p.u);case 3:return n=g.va(p),g.ra(p,7),g.x(p,xw(m.actualName, +h),9);case 9:g.ua(p,8);break;case 7:g.va(p);case 8:throw n;}})}; +Mna=function(a,b,c){c=void 0===c?{}:c;return Lna(a,b,!1,c)}; +Nna=function(a,b,c){c=void 0===c?{}:c;return Lna(a,b,!0,c)}; +Ona=function(a,b){b=void 0===b?{}:b;var c,d;return g.z(function(e){if(1==e.j)return g.x(e,g.Cw(),2);if(3!=e.j){c=e.u;if(!c)return e.return();Uv(a);d=Kna(a);return g.x(e,rw(d.actualName,b),3)}return g.x(e,xw(d.actualName,c),0)})}; +Pna=function(a,b,c){a=a.map(function(d){return g.z(function(e){return 1==e.j?g.x(e,rw(d.actualName,b),2):g.x(e,xw(d.actualName,c),0)})}); +return Promise.all(a).then(function(){})}; +Qna=function(){var a=void 0===a?{}:a;var b,c;return g.z(function(d){if(1==d.j)return g.x(d,g.Cw(),2);if(3!=d.j){b=d.u;if(!b)return d.return();Uv("LogsDatabaseV2");return g.x(d,Hna(b),3)}c=d.u;return g.x(d,Pna(c,a,b),0)})}; +Rna=function(a,b){b=void 0===b?{}:b;var c;return g.z(function(d){if(1==d.j)return g.x(d,g.Cw(),2);if(3!=d.j){c=d.u;if(!c)return d.return();Uv(a);return g.x(d,rw(a,b),3)}return g.x(d,xw(a,c),0)})}; +Ew=function(a){this.AB=this.Ue=!1;this.potentialEsfErrorCounter=this.j=0;this.handleError=function(){}; +this.Pv=function(){}; +this.now=Date.now;this.oy=!1;var b;this.MS=null!=(b=a.MS)?b:100;var c;this.lS=null!=(c=a.lS)?c:1;var d;this.eS=null!=(d=a.eS)?d:2592E6;var e;this.WR=null!=(e=a.WR)?e:12E4;var f;this.kS=null!=(f=a.kS)?f:5E3;var h;this.Te=null!=(h=a.Te)?h:void 0;this.YB=!!a.YB;var l;this.KB=null!=(l=a.KB)?l:.1;var m;this.PD=null!=(m=a.PD)?m:10;a.handleError&&(this.handleError=a.handleError);a.Pv&&(this.Pv=a.Pv);a.oy&&(this.oy=a.oy);a.AB&&(this.AB=a.AB);this.fb=a.fb;this.ll=a.ll;this.dg=a.dg;this.Uf=a.Uf;this.No=a.No; +this.OJ=a.OJ;this.jJ=a.jJ;Dw(this)&&(!this.fb||this.fb("networkless_logging"))&&Sna(this)}; +Sna=function(a){Dw(a)&&!a.oy&&(a.Ue=!0,a.YB&&Math.random()<=a.KB&&a.dg.rX(a.Te),Tna(a),a.Uf.mf()&&a.CA(),a.Uf.Na(a.OJ,a.CA.bind(a)),a.Uf.Na(a.jJ,a.TN.bind(a)))}; +Fw=function(a,b){var c,d;return g.z(function(e){switch(e.j){case 1:if(!Dw(a))throw c=g.aw("immediateSend"),c;if(void 0===b.id){e.Ma(2);break}return g.x(e,a.dg.RZ(b.id,a.Te),3);case 3:(d=e.u)?b=d:a.Pv(Error("The request cannot be found in the database."));case 2:if(Una(a,b,a.eS)){e.Ma(4);break}a.Pv(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===b.id){e.Ma(5);break}return g.x(e,a.dg.vv(b.id,a.Te),5);case 5:return e.return();case 4:b.skipRetry||(b=Vna(a,b));if(!b){e.Ma(0); +break}if(!b.skipRetry||void 0===b.id){e.Ma(8);break}return g.x(e,a.dg.vv(b.id,a.Te),8);case 8:a.No(b.url,b.options,!!b.skipRetry),g.pa(e)}})}; +Vna=function(a,b){if(!Dw(a))throw g.aw("updateRequestHandlers");var c=b.options.onError?b.options.onError:function(){}; +b.options.onError=function(e,f){var h,l,m;return g.z(function(n){switch(n.j){case 1:h=Wna(f);if(!(a.fb&&a.fb("nwl_consider_error_code")&&h||a.fb&&!a.fb("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.PD)){n.Ma(2);break}if(!a.Uf.nA){n.Ma(3);break}return g.x(n,a.Uf.nA(),3);case 3:if(a.Uf.mf()){n.Ma(2);break}c(e,f);if(!a.fb||!a.fb("nwl_consider_error_code")||void 0===(null==(l=b)?void 0:l.id)){n.Ma(6);break}return g.x(n,a.dg.oK(b.id,a.Te,!1),6);case 6:return n.return();case 2:if(a.fb&&a.fb("nwl_consider_error_code")&& +!h&&a.potentialEsfErrorCounter>a.PD)return n.return();a.potentialEsfErrorCounter++;if(void 0===(null==(m=b)?void 0:m.id)){n.Ma(8);break}return b.sendCount=c?!1:!0}; +Tna=function(a){if(!Dw(a))throw g.aw("retryQueuedRequests");a.dg.XO("QUEUED",a.Te).then(function(b){b&&!Una(a,b,a.WR)?a.ll.Fh(function(){return g.z(function(c){if(1==c.j)return void 0===b.id?c.Ma(2):g.x(c,a.dg.oK(b.id,a.Te),2);Tna(a);g.pa(c)})}):a.Uf.mf()&&a.CA()})}; +Gw=function(a,b){a.yT&&!a.Uf.mf()?a.yT(b):a.handleError(b)}; +Dw=function(a){return!!a.Te||a.AB}; +Wna=function(a){var b;return(a=null==a?void 0:null==(b=a.error)?void 0:b.code)&&400<=a&&599>=a?!1:!0}; +Hw=function(a,b){this.version=a;this.args=b}; +Iw=function(a,b){this.topic=a;this.j=b}; +Kw=function(a,b){var c=Jw();c&&c.publish.call(c,a.toString(),a,b)}; +Yna=function(a,b,c){var d=Jw();if(!d)return 0;var e=d.subscribe(a.toString(),function(f,h){var l=g.Ha("ytPubsub2Pubsub2SkipSubKey");l&&l==e||(l=function(){if(Lw[e])try{if(h&&a instanceof Iw&&a!=f)try{var m=a.j,n=h;if(!n.args||!n.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!m.Kq){var p=new m;m.Kq=p.version}var q=m.Kq}catch(v){}if(!q||n.version!=q)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{h=Reflect.construct(m, +g.cc(n.args))}catch(v){throw v.message="yt.pubsub2.Data.deserialize(): "+v.message,v;}}catch(v){throw v.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+v.message,v;}b.call(c||window,h)}catch(v){g.gu(v)}},Xna[a.toString()]?g.Fv()?g.Vn.Fh(l):g.xu(l,0):l())}); +Lw[e]=!0;Mw[a.toString()]||(Mw[a.toString()]=[]);Mw[a.toString()].push(e);return e}; +Ow=function(a,b,c){var d=Yna(a,function(e){b.apply(c,arguments);Nw(d)},c); +return d}; +Nw=function(a){var b=Jw();b&&("number"===typeof a&&(a=[a]),g.tc(a,function(c){b.unsubscribeByKey(c);delete Lw[c]}))}; +Jw=function(){return g.Ha("ytPubsub2Pubsub2Instance")}; +Pw=function(a,b){tw.call(this,a,b);this.options=b;Uv(a)}; +Zna=function(a,b){var c;return function(){c||(c=new Pw(a,b));return c}}; +g.Qw=function(a,b){return Zna(a,b)}; +$na=function(){if(Rw)return Rw();var a={};Rw=g.Qw("LogsDatabaseV2",{iq:(a.LogsRequestsStore={Jn:2},a),Mw:!1,upgrade:function(b,c,d){c(2)&&g.iw(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.j.indexNames.contains("newRequest")&&d.j.deleteIndex("newRequest"),g.nw(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&jw(b,"sapisid");c(9)&&jw(b,"SWHealthLog")}, +version:9});return Rw()}; +Sw=function(a){return g.vw($na(),a)}; +Tw=function(a,b){var c,d,e,f;return g.z(function(h){if(1==h.j)return c={startTime:(0,g.U)(),transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},g.x(h,Sw(b),2);if(3!=h.j)return d=h.u,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:g.Q("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),g.x(h,g.pna(d,"LogsRequestsStore",e),3);f=h.u;c.g5=(0,g.U)();aoa(c);return h.return(f)})}; +boa=function(a,b){var c,d,e,f,h,l,m;return g.z(function(n){if(1==n.j)return c={startTime:(0,g.U)(),transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},g.x(n,Sw(b),2);if(3!=n.j)return d=n.u,e=g.Q("INNERTUBE_CONTEXT_CLIENT_NAME",0),f=[a,e,0],h=[a,e,(0,g.U)()],l=IDBKeyRange.bound(f,h),m=void 0,g.x(n,g.kw(d,["LogsRequestsStore"],{mode:"readwrite",Ub:!0},function(p){return g.qw(p.objectStore("LogsRequestsStore").index("newRequestV2"),{query:l,direction:"prev"},function(q){q.getValue()&&(m=q.getValue(),"NEW"=== +a&&(m.status="QUEUED",q.update(m)))})}),3); +c.g5=(0,g.U)();aoa(c);return n.return(m)})}; +coa=function(a,b){var c;return g.z(function(d){if(1==d.j)return g.x(d,Sw(b),2);c=d.u;return d.return(g.kw(c,["LogsRequestsStore"],{mode:"readwrite",Ub:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(h){if(h)return h.status="QUEUED",g.lw(f,h).then(function(){return h})})}))})}; +Uw=function(a,b,c){c=void 0===c?!0:c;var d;return g.z(function(e){if(1==e.j)return g.x(e,Sw(b),2);d=e.u;return e.return(g.kw(d,["LogsRequestsStore"],{mode:"readwrite",Ub:!0},function(f){var h=f.objectStore("LogsRequestsStore");return h.get(a).then(function(l){return l?(l.status="NEW",c&&(l.sendCount+=1),g.lw(h,l).then(function(){return l})):g.cw.resolve(void 0)})}))})}; +Vw=function(a,b){var c;return g.z(function(d){if(1==d.j)return g.x(d,Sw(b),2);c=d.u;return d.return(c.delete("LogsRequestsStore",a))})}; +doa=function(a){var b,c;return g.z(function(d){if(1==d.j)return g.x(d,Sw(a),2);b=d.u;c=(0,g.U)()-2592E6;return g.x(d,g.kw(b,["LogsRequestsStore"],{mode:"readwrite",Ub:!0},function(e){return g.ow(e.objectStore("LogsRequestsStore"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})}; +eoa=function(){g.z(function(a){return g.x(a,Qna(),0)})}; +aoa=function(a){g.T("nwl_csi_killswitch")||.01>=Math.random()&&Kw("nwl_transaction_latency_payload",a)}; +goa=function(a){return g.vw(foa(),a)}; +hoa=function(a){var b,c;g.z(function(d){if(1==d.j)return g.x(d,goa(a),2);b=d.u;c=(0,g.U)()-2592E6;return g.x(d,g.kw(b,["SWHealthLog"],{mode:"readwrite",Ub:!0},function(e){return g.ow(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})}; +ioa=function(a){var b;return g.z(function(c){if(1==c.j)return g.x(c,goa(a),2);b=c.u;return g.x(c,b.clear("SWHealthLog"),0)})}; +g.Ww=function(a,b,c,d,e,f){e=void 0===e?"":e;f=void 0===f?!1:f;if(a)if(c&&!g.Qu()){if(a){a=g.lg(g.mg(a));if("about:invalid#zClosurez"===a||a.startsWith("data"))a="";else{var h=void 0===h?{}:h;a=a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");h.m3a&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1 "));h.l3a&&(a=a.replace(/(\r\n|\n|\r)/g,"
"));h.n3a&&(a=a.replace(/(\t+)/g,'$1'));h=xg(a);a=g.Tg(g.fi(g.wg(h).toString()))}g.fb(a)|| +(h=lh("IFRAME",{src:'javascript:""',style:"display:none"}),$g(h).body.appendChild(h))}}else if(e)Bu(a,b,"POST",e,d);else if(g.Q("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d)Bu(a,b,"GET","",d,void 0,f);else{b:{try{var l=new Aga({url:a});if(l.B&&l.u||l.C){var m=mi(g.pi(5,a));var n=!(!m||!m.endsWith("/aclk")||"1"!==yi(a,"ri"));break b}}catch(p){}n=!1}n?joa(a)?(b&&b(),h=!0):h=!1:h=!1;h||koa(a,b)}}; +joa=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1}; +koa=function(a,b){var c=new Image,d=""+loa++;Xw[d]=c;c.onload=c.onerror=function(){b&&Xw[d]&&b();delete Xw[d]}; +c.src=a}; +Yw=function(){this.j=new Map;this.u=!1}; +Zw=function(){if(!Yw.j){var a=g.Ha("yt.networkRequestMonitor.instance")||new Yw;g.Fa("yt.networkRequestMonitor.instance",a);Yw.j=a}return Yw.j}; +dx=function(){cx||(cx=new zv("yt.offline"));return cx}; +moa=function(a){if(g.T("offline_error_handling")){var b=dx().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);dx().set("errors",b,2592E3,!0)}}; +ex=function(){g.Uf.call(this);var a=this;this.u=!1;this.j=ika();this.j.Na("networkstatus-online",function(){if(a.u&&g.T("offline_error_handling")){var b=dx().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new g.Rv(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;g.gu(d)}dx().set("errors",{},2592E3,!0)}}})}; +noa=function(){if(!ex.j){var a=g.Ha("yt.networkStatusManager.instance")||new ex;g.Fa("yt.networkStatusManager.instance",a);ex.j=a}return ex.j}; +g.fx=function(a){a=void 0===a?{}:a;g.Uf.call(this);var b=this;this.j=this.D=0;this.u=noa();var c=g.Ha("yt.networkStatusManager.instance.listen").bind(this.u);c&&(a.VD?(this.VD=a.VD,c("networkstatus-online",function(){ooa(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){ooa(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){b.dispatchEvent("publicytnetworkstatus-online")}),c("networkstatus-offline",function(){b.dispatchEvent("publicytnetworkstatus-offline")})))}; +ooa=function(a,b){a.VD?a.j?(g.Vn.Tk(a.D),a.D=g.Vn.Fh(function(){a.C!==b&&(a.dispatchEvent(b),a.C=b,a.j=(0,g.U)())},a.VD-((0,g.U)()-a.j))):(a.dispatchEvent(b),a.C=b,a.j=(0,g.U)()):a.dispatchEvent(b)}; +gx=function(){Ew.call(this,{dg:{rX:doa,vv:Vw,XO:boa,RZ:coa,oK:Uw,set:Tw},Uf:poa(),handleError:g.gu,Pv:iu,No:qoa,now:g.U,yT:moa,ll:g.Ev(),OJ:"publicytnetworkstatus-online",jJ:"publicytnetworkstatus-offline",YB:!0,KB:.1,PD:g.cu("potential_esf_error_limit",10),fb:g.T,oy:!(g.Tv()&&"www.youtube-nocookie.com"!==g.qi(document.location.toString()))});this.u=new g.Xi;g.T("networkless_immediately_drop_all_requests")&&eoa();Rna("LogsDatabaseV2")}; +hx=function(){var a=g.Ha("yt.networklessRequestController.instance");a||(a=new gx,g.Fa("yt.networklessRequestController.instance",a),g.T("networkless_logging")&&g.Cw().then(function(b){a.Te=b;Sna(a);a.u.resolve();a.YB&&Math.random()<=a.KB&&a.Te&&hoa(a.Te);g.T("networkless_immediately_drop_sw_health_store")&&roa(a)})); +return a}; +roa=function(a){var b;g.z(function(c){if(!a.Te)throw b=g.aw("clearSWHealthLogsDb"),b;return c.return(ioa(a.Te).catch(function(d){a.handleError(d)}))})}; +qoa=function(a,b,c){g.T("use_cfr_monitor")&&soa(a,b);if(g.T("use_request_time_ms_header"))b.headers&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,g.U)())));else{var d;if(null==(d=b.postParams)?0:d.requestTimeMs)b.postParams.requestTimeMs=Math.round((0,g.U)())}c&&0===Object.keys(b).length?g.Ww(a):g.Cu(a,b)}; +poa=function(){ix||(ix=new g.fx({MZ:!0,XX:!0}));return ix}; +soa=function(a,b){var c=b.onError?b.onError:function(){}; +b.onError=function(e,f){Zw().requestComplete(a,!1);c(e,f)}; +var d=b.onSuccess?b.onSuccess:function(){}; +b.onSuccess=function(e,f){Zw().requestComplete(a,!0);d(e,f)}}; +toa=function(a,b){function c(d){var e=jx().mf();if(!kx()||!d||e&&g.T("vss_networkless_bypass_write"))lx(a,b);else{var f={url:a,options:b,timestamp:(0,g.U)(),status:"NEW",sendCount:0};Tw(f,d).then(function(h){f.id=h;jx().mf()&&mx(f)}).catch(function(h){mx(f); +nx(h)})}} +b=void 0===b?{}:b;g.T("skip_is_supported_killswitch")?g.Cw().then(function(d){c(d)}):c(Bw())}; +ox=function(a,b,c){function d(e){if(kx()&&e){var f={url:a,options:b,timestamp:(0,g.U)(),status:"NEW",sendCount:0};g.T("nwl_skip_retry")&&(f.skipRetry=c);if(jx().mf()||g.T("nwl_aggressive_send_then_write")&&!f.skipRetry){if(!f.skipRetry){var h=b.onError?b.onError:function(){}; +b.onError=function(l,m){return g.z(function(n){if(1==n.j)return g.x(n,Tw(f,e).catch(function(p){nx(p)}),2); +h(l,m);g.pa(n)})}}lx(a,b,f.skipRetry)}else Tw(f,e).catch(function(l){lx(a,b,g.T("nwl_skip_retry")&&c); +nx(l)})}else lx(a,b,g.T("nwl_skip_retry")&&c)} +b=void 0===b?{}:b;g.T("skip_is_supported_killswitch")?g.Cw().then(function(e){d(e)}):d(Bw())}; +px=function(a,b){function c(d){if(kx()&&d){var e={url:a,options:b,timestamp:(0,g.U)(),status:"NEW",sendCount:0},f=!1,h=b.onSuccess?b.onSuccess:function(){}; +e.options.onSuccess=function(m,n){g.T("use_cfr_monitor")&&Zw().requestComplete(e.url,!0);void 0!==e.id?Vw(e.id,d):f=!0;g.T("vss_network_hint")&&jx().Co(!0);h(m,n)}; +if(g.T("use_cfr_monitor")){var l=b.onError?b.onError:function(){}; +e.options.onError=function(m,n){Zw().requestComplete(e.url,!1);l(m,n)}}lx(e.url,e.options); +Tw(e,d).then(function(m){e.id=m;f&&Vw(e.id,d)}).catch(function(m){nx(m)})}else lx(a,b)} +b=void 0===b?{}:b;g.T("skip_is_supported_killswitch")?g.Cw().then(function(d){c(d)}):c(Bw())}; +uoa=function(){var a=Bw();if(!a)throw g.aw("throttleSend");qx||(qx=g.Vn.Fh(function(){var b;return g.z(function(c){if(1==c.j)return g.x(c,boa("NEW",a),2);if(3!=c.j)return b=c.u,b?g.x(c,mx(b),3):(g.Vn.Tk(qx),qx=0,c.return());qx&&(qx=0,uoa());g.pa(c)})},100))}; +mx=function(a){var b,c,d;return g.z(function(e){switch(e.j){case 1:b=Bw();if(!b)throw c=g.aw("immediateSend"),c;if(void 0===a.id){e.Ma(2);break}return g.x(e,coa(a.id,b),3);case 3:(d=e.u)?a=d:iu(Error("The request cannot be found in the database."));case 2:var f=a.timestamp;if(!(2592E6<=(0,g.U)()-f)){e.Ma(4);break}iu(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===a.id){e.Ma(5);break}return g.x(e,Vw(a.id,b),5);case 5:return e.return();case 4:a.skipRetry||(a=voa(a)); +f=a;if(g.T("use_request_time_ms_header")){var h;if(null==f?0:null==(h=f.options)?0:h.headers)f.options.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,g.U)()))}else{var l,m;if(null==f?0:null==(l=f.options)?0:null==(m=l.postParams)?0:m.requestTimeMs)f.options.postParams.requestTimeMs=Math.round((0,g.U)())}a=f;if(!a){e.Ma(0);break}if(!a.skipRetry||void 0===a.id){e.Ma(8);break}return g.x(e,Vw(a.id,b),8);case 8:lx(a.url,a.options,!!a.skipRetry),g.pa(e)}})}; +voa=function(a){var b=Bw();if(!b)throw g.aw("updateRequestHandlers");var c=a.options.onError?a.options.onError:function(){}; +a.options.onError=function(e,f){var h,l,m;return g.z(function(n){switch(n.j){case 1:g.T("use_cfr_monitor")&&Zw().requestComplete(a.url,!1);h=Wna(f);if(!(g.T("nwl_consider_error_code")&&h||!g.T("nwl_consider_error_code")&&woa()<=g.cu("potential_esf_error_limit",10))){n.Ma(2);break}if(g.T("skip_checking_network_on_cfr_failure")&&(!g.T("skip_checking_network_on_cfr_failure")||Zw().isEndpointCFR(a.url))){n.Ma(3);break}return g.x(n,jx().nA(),3);case 3:if(jx().mf()){n.Ma(2);break}c(e,f);if(!g.T("nwl_consider_error_code")|| +void 0===(null==(l=a)?void 0:l.id)){n.Ma(6);break}return g.x(n,Uw(a.id,b,!1),6);case 6:return n.return();case 2:if(g.T("nwl_consider_error_code")&&!h&&woa()>g.cu("potential_esf_error_limit",10))return n.return();g.Ha("ytNetworklessLoggingInitializationOptions")&&rx.potentialEsfErrorCounter++;sx++;if(void 0===(null==(m=a)?void 0:m.id)){n.Ma(8);break}return 1>a.sendCount?g.x(n,Uw(a.id,b),12):g.x(n,Vw(a.id,b),8);case 12:g.Vn.Fh(function(){jx().mf()&&uoa()},5E3); +case 8:c(e,f),g.pa(n)}})}; +var d=a.options.onSuccess?a.options.onSuccess:function(){}; +a.options.onSuccess=function(e,f){var h;return g.z(function(l){if(1==l.j)return g.T("use_cfr_monitor")&&Zw().requestComplete(a.url,!0),void 0===(null==(h=a)?void 0:h.id)?l.Ma(2):g.x(l,Vw(a.id,b),2);g.T("vss_network_hint")&&jx().Co(!0);d(e,f);g.pa(l)})}; +return a}; +jx=function(){if(g.T("use_new_nwl"))return poa();tx||(tx=new g.fx({MZ:!0,XX:!0}));return tx}; +nx=function(a){jx().mf()?g.gu(a):moa(a)}; +lx=function(a,b,c){c&&0===Object.keys(b).length?g.Ww(a):g.Cu(a,b)}; +kx=function(){return g.Ha("ytNetworklessLoggingInitializationOptions")?rx.isNwlInitialized:!1}; +woa=function(){return g.Ha("ytNetworklessLoggingInitializationOptions")?rx.potentialEsfErrorCounter:sx}; +g.ux=function(a){this.config_=null;a?this.config_=a:Sma()&&(this.config_=g.xv())}; +g.vx=function(a,b,c,d){function e(p){try{(void 0===p?0:p)&&d.retry&&!d.yQ.bypassNetworkless?(f.method="POST",d.yQ.writeThenSend?g.T("use_new_nwl_wts")?hx().writeThenSend(n,f):toa(n,f):g.T("use_new_nwl_saw")?hx().sendAndWrite(n,f):px(n,f)):g.T("web_all_payloads_via_jspb")?g.Cu(n,f):(f.method="POST",f.postParams||(f.postParams={}),g.Cu(n,f))}catch(q){if("InvalidAccessError"==q.name)iu(Error("An extension is blocking network request."));else throw q;}} +!g.Q("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&iu(new g.Rv("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady())throw a=new g.Rv("innertube xhrclient not ready",b,c,d),g.gu(a),a;var f={headers:d.headers||{},method:"POST",postParams:c,postBody:d.postBody,postBodyFormat:d.postBodyFormat||"JSON",onTimeout:function(){d.onTimeout()}, +onFetchTimeout:d.onTimeout,onSuccess:function(p,q){if(d.onSuccess)d.onSuccess(q)}, +onFetchSuccess:function(p){if(d.onSuccess)d.onSuccess(p)}, +onError:function(p,q){if(d.onError)d.onError(q)}, +onFetchError:function(p){if(d.onError)d.onError(p)}, +timeout:d.timeout,withCredentials:!0};f.headers["Content-Type"]||(f.headers["Content-Type"]="application/json");c="";var h=a.config_.FP;h&&(c=h);h=ana(a.config_.GP||!1,c,d);Object.assign(f.headers,h);(h=f.headers.Authorization)&&!c&&(f.headers["x-origin"]=window.location.origin);b="/youtubei/"+a.config_.innertubeApiVersion+"/"+b;var l={alt:"json"},m=a.config_.uI&&h;m=m&&h.startsWith("Bearer");m||(l.key=a.config_.innertubeApiKey);var n=ou(""+c+b,l);g.T("use_new_nwl")&&hx().Ue||!g.T("use_new_nwl")&& +kx()?Jna().then(function(p){e(p)}):e(!1)}; +xoa=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=wx+"VisibilityState";if(b in a)return a[b]}; +xx=function(a,b){var c;Nl(a,function(d){c=b[d];return!!c}); +return c}; +yx=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;try{if(a=a||window.event){this.event=a;for(var b in a)b in yoa||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget; +if(d)try{d=d.nodeName?d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;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.j=a.pageX;this.u=a.pageY}}catch(e){}}; +zoa=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.j=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.u=a.clientY+b}}; +Aoa=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Bf(zx,function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,h=g.Pa(e[4])&&g.Pa(d)&&g.Ff(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||h)})}; +g.Ax=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Aoa(a,b,c,d);if(e)return e;e=++Boa.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var h=f?function(l){l=new yx(l);if(!vh(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new yx(l); +l.currentTarget=a;return c.call(a,l)}; +h=hu(h);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Coa()||"boolean"===typeof d?a.addEventListener(b,h,d):a.addEventListener(b,h,!!d.capture)):a.attachEvent("on"+b,h);zx[e]=[a,b,c,h,d];return e}; +Doa=function(a,b){var c=document.body||document;return g.Ax(c,"click",function(d){var e=vh(d.target,function(f){return f===c||b(f)},!0); +e&&e!==c&&!e.disabled&&(d.currentTarget=e,a.call(e,d))})}; +g.Bx=function(a){a&&("string"==typeof a&&(a=[a]),g.tc(a,function(b){if(b in zx){var c=zx[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Coa()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete zx[b]}}))}; +g.Cx=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}; +Dx=function(a){a=a||window.event;var b;a.composedPath&&"function"===typeof a.composedPath?b=a.composedPath():b=a.path;return b&&b.length?b[0]:g.Cx(a)}; +Ex=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}; +Fx=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&("number"!==typeof b&&(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),"number"!==typeof c&&(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.Gg(b,c)}; +g.Gx=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()}; +g.Hx=function(a){a=a||window.event;return!1===a.returnValue||a.LP&&a.LP()}; +g.Ix=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which}; +Eoa=function(a){return Doa(a,function(b){return g.go(b,"ytp-ad-has-logging-urls")})}; +g.Foa=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.Ax(a,b,function(){g.Bx(e);c.apply(a,arguments)},d)}; +Jx=function(a){for(var b in zx)zx[b][0]==a&&g.Bx(b)}; +Kx=function(a){this.J=a;this.j=null;this.C=0;this.I=null;this.D=0;this.u=[];for(a=0;4>a;a++)this.u.push(0);this.B=0;this.Y=g.Ax(window,"mousemove",(0,g.Ta)(this.V,this));this.N=g.yu((0,g.Ta)(this.W,this),25)}; +Nx=function(){var a={},b=void 0===a.n3?!1:a.n3;a=void 0===a.YX?!0:a.YX;if(null==g.Ha("_lact",window)){var c=parseInt(g.Q("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;g.Fa("_lact",c,window);g.Fa("_fact",c,window);-1==c&&Lx();g.Ax(document,"keydown",Lx);g.Ax(document,"keyup",Lx);g.Ax(document,"mousedown",Lx);g.Ax(document,"mouseup",Lx);b?g.Ax(window,"touchmove",function(){Mx("touchmove",200)},{passive:!0}):(g.Ax(window,"resize",function(){Mx("resize",200)}),a&&g.Ax(window,"scroll",function(){Mx("scroll", +200)})); +new Kx(function(){Mx("mouse",100)}); +g.Ax(document,"touchstart",Lx,{passive:!0});g.Ax(document,"touchend",Lx,{passive:!0})}}; +Mx=function(a,b){Ox[a]||(Ox[a]=!0,g.Vn.Fh(function(){Lx();Ox[a]=!1},b))}; +Lx=function(){null==g.Ha("_lact",window)&&(Nx(),g.Ha("_lact",window));var a=Date.now();g.Fa("_lact",a,window);-1==g.Ha("_fact",window)&&g.Fa("_fact",a,window);(a=g.Ha("ytglobal.ytUtilActivityCallback_"))&&a()}; +Px=function(){var a=g.Ha("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)}; +g.Ux=function(a,b,c){var d=g.Qx();if(d&&b){var e=d.subscribe(a,function(){var f=arguments;var h=function(){Rx[e]&&b.apply&&"function"==typeof b.apply&&b.apply(c||window,f)}; +try{g.Sx[a]?h():g.xu(h,0)}catch(l){g.gu(l)}},c); +Rx[e]=!0;Tx[a]||(Tx[a]=[]);Tx[a].push(e);return e}return 0}; +g.Vx=function(a){var b=g.Qx();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),g.tc(a,function(c){b.unsubscribeByKey(c);delete Rx[c]}))}; +g.Wx=function(a,b){var c=g.Qx();return c?c.publish.apply(c,arguments):!1}; +Hoa=function(a){var b=g.Qx();if(b)if(b.clear(a),a)Goa(a);else for(var c in Tx)Goa(c)}; +g.Qx=function(){return g.C.ytPubsubPubsubInstance}; +Goa=function(a){Tx[a]&&(a=Tx[a],g.tc(a,function(b){Rx[b]&&delete Rx[b]}),a.length=0)}; +Xx=function(a){this.policy=a;this.store=[];this.j={}}; +Joa=function(a,b){var c=Object.keys(b),d="THIS_KEY_FIELD_NOT_FILLED",e="THIS_KEY_FIELD_NOT_FILLED",f="THIS_KEY_FIELD_NOT_FILLED";c=g.r(c);for(var h=c.next();!h.done;h=c.next())h=h.value,"auth"===h?d=Ioa(b.auth):"isJspb"===h?e=JSON.stringify(b.isJspb):"cttAuthInfo"===h&&(f=Ioa(b.cttAuthInfo));b=[];d=[d,e,f];a=g.r(Object.keys(a.j));for(e=a.next();!e.done;e=a.next()){e=e.value;f=e.split("/");c=!0;for(h=0;h=a?Yx({writeThenSend:!0},g.T("flush_only_full_queue")?c:void 0,d):10<=f-h&&(Noa(d),d?gy.B=f:hy.B=f)}; +Ooa=function(a,b){g.T("web_all_payloads_via_jspb")&&iu(new g.Rv("transport.logIsolatedGelPayload called in JSPB only experiment"));if("log_event"===a.endpoint){$x(a);var c=ay(a),d=new Map;d.set(c,[a.payload]);b&&(fy=new b);return new g.Fh(function(e,f){fy&&fy.isReady()?iy(d,fy,e,f,{bypassNetworkless:!0},!0):e()})}}; +Poa=function(a,b){if("log_event"===a.endpoint){$x(void 0,a);var c=ay(a,!0),d=new Map;d.set(c,[a.payload.toJSON()]);b&&(fy=new b);return new g.Fh(function(e){fy&&fy.isReady()?jy(d,fy,e,{bypassNetworkless:!0},!0):e()})}}; +ay=function(a,b){var c="";if(a.jy)c="visitorOnlyApprovedKey";else if(a.cttAuthInfo){if(void 0===b?0:b){b=a.cttAuthInfo.token;c=a.cttAuthInfo;var d=new Yt;c.videoId?d.setVideoId(c.videoId):c.playlistId&&g.zd(d,2,ky,c.playlistId);ly[b]=d}else b=a.cttAuthInfo,c={},b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId),my[a.cttAuthInfo.token]=c;c=a.cttAuthInfo.token}return c}; +Yx=function(a,b,c){a=void 0===a?{}:a;c=void 0===c?!1:c;!c&&g.T("web_all_payloads_via_jspb")&&iu(new g.Rv("transport.flushLogs called for JSON in JSPB only experiment"));new g.Fh(function(d,e){c?(g.zu(gy.u),g.zu(gy.j),gy.j=0):(g.zu(hy.u),g.zu(hy.j),hy.j=0);if(fy&&fy.isReady())if(g.T("use_new_in_memory_storage")){var f=a,h=c,l=fy;f=void 0===f?{}:f;h=void 0===h?!1:h;var m=new Map,n=new Map;if(void 0!==b)h?(e=Zx().extractMatchingEntries({isJspb:h,cttAuthInfo:b}),m.set(b,e),jy(m,l,d,f)):(m=Zx().extractMatchingEntries({isJspb:h, +cttAuthInfo:b}),n.set(b,m),iy(n,l,d,e,f));else if(h){e=g.r(Object.keys(by));for(h=e.next();!h.done;h=e.next())n=h.value,h=Zx().extractMatchingEntries({isJspb:!0,cttAuthInfo:n}),0Zoa&&(a=1);au("BATCH_CLIENT_COUNTER",a);return a}; +Roa=function(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]}; +Woa=function(a,b,c){if(c.Nf())var d=1;else if(c.getPlaylistId())d=2;else return;F(a,Yt,4,c);a=a.getContext()||new hq;c=Bd(a,gq,3)||new gq;var e=new fq;e.setToken(b);g.D(e,1,d);Jd(c,12,fq,e);F(a,gq,3,c)}; +Voa=function(a){for(var b=[],c=0;c>3;switch(e&7){case 0:e=nz(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=nz(b);if(2===f)return a.substr(d,e);d+=e;break;case 5:if(2===f)return;d+=4;break;default:return}}while(db)return c;b=a();c|=(b&127)<<7;if(128>b)return c;b=a();c|=(b&127)<<14;if(128>b)return c;b=a();return 128>b?c|(b&127)<<21:Infinity}; +Kra=function(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;df&&(c=a.substring(f,e),c=c.replace(Aua,""),c=c.replace(Bua,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Cua(a,b,c)}; +Cua=function(a,b,c){c=void 0===c?null:c;var d=Dua(a),e=document.getElementById(d),f=e&&zra(e),h=e&&!f;f?b&&b():(b&&(f=g.Ux(d,b),b=""+g.Ra(b),Eua[b]=f),h||(e=Fua(a,d,function(){zra(e)||(yra(e,"loaded","true"),g.Wx(d),g.xu(g.Va(Hoa,d),0))},c)))}; +Fua=function(a,b,c,d){d=void 0===d?null:d;var e=g.mh("SCRIPT");e.id=b;e.onload=function(){c&&setTimeout(c,0)}; +e.onreadystatechange=function(){switch(e.readyState){case "loaded":case "complete":e.onload()}}; +d&&e.setAttribute("nonce",d);g.ej(e,g.ig(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; +Dua=function(a){var b=document.createElement("a");g.zg(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Xg(a)}; +Wz=function(a){var b=g.za.apply(1,arguments);if(!Uz(a)||b.some(function(d){return!Uz(d)}))throw Error("Only objects may be merged."); +b=g.r(b);for(var c=b.next();!c.done;c=b.next())Vz(a,c.value);return a}; +Vz=function(a,b){for(var c in b)if(Uz(b[c])){if(c in a&&!Uz(a[c]))throw Error("Cannot merge an object into a non-object.");c in a||(a[c]={});Vz(a[c],b[c])}else if(Xz(b[c])){if(c in a&&!Xz(a[c]))throw Error("Cannot merge an array into a non-array.");c in a||(a[c]=[]);Gua(a[c],b[c])}else a[c]=b[c];return a}; +Gua=function(a,b){b=g.r(b);for(var c=b.next();!c.done;c=b.next())c=c.value,Uz(c)?a.push(Vz({},c)):Xz(c)?a.push(Gua([],c)):a.push(c);return a}; +Uz=function(a){return"object"===typeof a&&!Array.isArray(a)}; +Xz=function(a){return"object"===typeof a&&Array.isArray(a)}; +Yz=function(a,b,c,d,e,f){g.K.call(this);this.Qb=a;this.Ab=b;this.Hd=c;this.Qa=d;this.u=e;this.j=f}; +Jua=function(a,b,c){c.Rw?(Zz(a.Qb.get(),"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",function(){return[]},b.slotId),Hua(a.u,b)):Iua(a.j,c.In,b.slotId,c.ssdaiAdsConfig)}; +Lua=function(a,b,c,d,e){var f=a.Qa.get().Gf(1);Zz(a.Qb.get(),"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",function(){return Kua(a.Hd.get(),c,d,f.clientPlaybackNonce,f.iO,f.daiEnabled,f,e)},b)}; +aA=function(a,b,c){if(c&&c!==a.slotType)return!1;b=g.r(b);for(c=b.next();!c.done;c=b.next())if(!$z(a.Aa,c.value))return!1;return!0}; +bA=function(a,b){this.Uo=b;this.triggerType="TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED";this.triggerId=a(this.triggerType)}; +dA=function(a){(void 0!==Fma()?Jh(Error("Biscotti id is disabled")):Eu("//googleads.g.doubleclick.net/pagead/id",ov)).then(function(){cA(!1,a)},function(b){"Biscotti id is disabled"===b.message?cA(!1,a.concat(" known failure")):(g.rz("Failed fetching bid when "+a),cA(!0,a))})}; +cA=function(a,b){g.Mv("biscottiBasedDetection",{detected:a,source:b})}; +Nua=function(a){Mua=void 0===a?!1:a}; +eA=function(a,b,c,d,e){d=void 0===d?{}:d;Mua&&(e=!0);if(!e||5E-4>Math.random()){b=b||null;c=c||null;a=a instanceof Error?a:new g.Rv(a);if(a.args)for(var f=g.r(a.args),h=f.next();!h.done;h=f.next())h=h.value,h instanceof Object&&(d=Object.assign({},h,d));d.category="H5 Ads Control Flow";b&&(d.slot=b?"slot: "+b.slotType:"");c&&(d.layout=c?"layout: "+c.layoutType:"");e&&(d.known_error_aggressively_sampled=!0);a.args=[d];g.rz(a)}}; +fA=function(a,b,c,d,e,f,h){g.K.call(this);this.Qb=a;this.Hd=b;this.mG=c;this.Da=d;this.j=e;this.Qa=f;this.Ba=h}; +gA=function(){this.u=new Map;this.j=new Map;this.B=new Map}; +hA=function(a,b){if(g.Q("GENERATE_DETERMINSTIC_ADS_CONTROL_FLOW_IDS")){var c=a.u.get(b)||0;c++;a.u.set(b,c);return b+"_"+c}return g.xz(16)}; +iA=function(a,b,c){if(g.Q("GENERATE_DETERMINSTIC_ADS_CONTROL_FLOW_IDS")){var d=a.j.get(b)||0;d++;a.j.set(b,d);return c+"_"+b+"_"+d}return g.xz(16)}; +jA=function(a,b){if(g.Q("GENERATE_DETERMINSTIC_ADS_CONTROL_FLOW_IDS")){var c=a.B.get(b)||0;c++;a.B.set(b,c);return b+"_"+c}return g.xz(16)}; +kA=function(a,b,c,d,e,f){this.startSecs=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e;this.j=f}; +Oua=function(a,b,c,d){this.B=a;this.jf=null;this.u=b;this.j=0;this.daiEnabled=void 0===c?!1:c;this.visible=!0;this.C=void 0===d?!1:d}; +lA=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.rz(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a}; +mA=function(a,b){return b&&b.test(a)?!0:!1}; +nA=function(a){return(a=Pua&&Pua.exec(a))?a[0]:""}; +oA=function(a){var b=void 0===b?!1:b;return lA(mA(a,Qua),a,b,"Trusted Stream URL")}; +g.pA=function(a){var b=void 0===b?!1:b;return lA(mA(a,Rua),a,b,"Trusted Image URL")}; +Tua=function(a){var b=void 0===b?!1:b;return lA(mA(a,Sua),a,b,"Trusted Promoted Video Domain URL")}; +Vua=function(a){var b=void 0===b?!1:b;return lA(mA(a,Uua),a,b,"Drm Licensor URL")}; +Xua=function(a,b){b=void 0===b?!1:b;return lA(mA(a,Wua),a,b,"Captions URL")}; +Yua=function(a){a=new g.Cj(a);g.Dj(a,document.location.protocol);g.Ej(a,document.location.hostname);document.location.port&&g.Fj(a,document.location.port);return a.toString()}; +qA=function(a){a=new g.Cj(a);g.Dj(a,document.location.protocol);return a.toString()}; +g.sA=function(a,b,c){c=void 0===c?{}:c;this.start=a;this.end=b;this.active=!0;this.color="";this.u=Zua++;this.id=c.id||"";this.priority=c.priority||9;this.visible=c.visible||!1;this.style=c.style||rA.AD_MARKER;this.namespace=c.namespace||"";if(a=c.color)a=a.toString(16),this.color="#"+Array(7-a.length).join("0")+a;this.tooltip=c.tooltip;this.icons=c.icons?c.icons.filter(function(d){return g.Od(d.thumbnails,function(e){return g.pA(e.url)})}):null; +this.visible=this.visible;this.style=this.style;this.start=this.start}; +$ua=function(a){return-0x8000000000000===a?"BEFORE_MEDIA_START":0===a?"MEDIA_START":0x7ffffffffffff===a?"MEDIA_END":0x8000000000000===a?"AFTER_MEDIA_END":a.toString()}; +ava=function(a,b){switch(a.style){case rA.CHAPTER_MARKER:return b?8:5;case rA.AD_MARKER:return 6;case rA.TIME_MARKER:return Number.POSITIVE_INFINITY;default:return 0}}; +g.tA=function(a,b){return a.start-b.start||a.priority-b.priority||a.u-b.u}; +g.uA=function(a){return"crn_"+a}; +g.vA=function(a){return"crx_"+a}; +wA=function(a,b,c,d,e){g.sA.call(this,b.start,b.end,{id:d,namespace:"ad",priority:e,visible:c});this.j=a.kind||"AD_PLACEMENT_KIND_UNKNOWN";this.B=!1;this.C=null}; +xA=function(a){return"AD_PLACEMENT_KIND_START"==a.j}; +bva=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.j}; +cva=function(a,b,c){c=void 0===c?!1:c;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new zo(-0x8000000000000,-0x8000000000000);case "AD_PLACEMENT_KIND_END":return c?new zo(Math.max(0,b.B-b.j),0x7ffffffffffff):new zo(0x7ffffffffffff,0x8000000000000);case "AD_PLACEMENT_KIND_MILLISECONDS":var d=a.adTimeOffset;a=parseInt(d.offsetStartMilliseconds,10);d=parseInt(d.offsetEndMilliseconds,10);-1===d&&(d=b.B);if(c&&(d=a,a=Math.max(0,a-b.j),a==d))break;return new zo(a,d);case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":d= +b.jf;a=1E3*d.startSecs;if(c){if(ae)return new BA("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.",{offsetStartMs:a,offsetEndMs:e},e===b&&a-500<=e);d={dn:new zo(a,e),UD:d};if(null!=c){a=Math.max(0,a-c);if(a===e)return d;d.yv=new zo(a,e)}return d;default:return new BA("AdPlacementKind not supported in convertToRange.", +{kind:e,adPlacementConfig:a})}}; +CA=function(a,b){Hw.call(this,1,arguments);this.timer=b}; +eva=function(a,b){Hw.call(this,1,arguments);this.j=a;this.timer=b}; +fva=function(){this.timing={};this.clearResourceTimings=function(){}; +this.webkitClearResourceTimings=function(){}; +this.mozClearResourceTimings=function(){}; +this.msClearResourceTimings=function(){}; +this.oClearResourceTimings=function(){}}; +gva=function(a){var b=DA(a);if(b.aft)return b.aft;a=g.Q((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d1E5*Math.random()&&(c=new g.Rv("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||g.rz(c)),!0):!1}; +VA=function(a){iva(a);xva();a||(g.Q("TIMING_ACTION")&&au("PREVIOUS_ACTION",g.Q("TIMING_ACTION")),au("TIMING_ACTION",""))}; +ZA=function(a,b){b=void 0===b?{}:b;WA(a);PA(a);VA(a);IA(a).useGel=!0;OA(a||"").info.actionType=a;b.cttAuthInfo&&(IA(a).cttAuthInfo=b.cttAuthInfo);au(a+"TIMING_ACTION",a);XA("_start",b.startTime,a);b={actionType:QA(a)};var c=g.Bz();c&&"UNDEFINED_CSN"!==c&&(b.clientScreenNonce=c);YA(b,a);HA(!0,a)}; +g.$A=function(a,b,c,d){null!==b&&(JA(c)[a]=b,(a=wva(a,b,c))&&YA(a,c,d))}; +YA=function(a,b,c){if(!g.T("web_csi_via_jspb")||(void 0===c?0:c))c=OA(b||""),Wz(c.info,a),Wz(LA(b),a),c=MA(b),b=IA(b).cttAuthInfo,SA().info(a,c,b);else{c=new zt;var d=Object.keys(a);a=Object.values(a);for(var e=0;e=GA()&&0c.duration?d:c},{duration:0}))&&0xma()?!1:!("function"!==typeof window.fetch||!window.ReadableStream)}; +rB=function(){var a=XMLHttpRequest.prototype.fetch;return!!a&&3===a.length}; +g.sB=function(a,b){this.id=a;this.Ic=b;this.captionTracks=[];this.j=this.B=this.C=null;this.u="UNKNOWN";this.captionsInitialState="CAPTIONS_INITIAL_STATE_UNKNOWN"}; +tB=function(a,b,c,d){this.B=c;this.reason=d;this.u=a||0;this.j=b||0}; +g.vB=function(a,b,c,d){return new tB(g.uB[a]||0,g.uB[b]||0,c,d)}; +wB=function(a){var b=g.uB.auto;return a.u===b&&a.j===b}; +yB=function(a){return xB[a.j||a.u]||"auto"}; +Fva=function(a,b){b=g.uB[b];return a.u<=b&&(!a.j||a.j>=b)}; +zB=function(a,b){this.videoInfos=a;this.j=b;this.audioTracks=[];if(this.j){a=new Set;b=g.r(this.j);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.Ic&&!a.has(c.Ic.id)){var d=new g.sB(c.id,c.Ic);a.add(c.Ic.id);this.audioTracks.push(d)}}}; +Iva=function(a,b,c,d,e){var f={},h=new Set,l={};if(AB(c)){for(var m in c.j)c.j.hasOwnProperty(m)&&(d=c.j[m],l[d.info.j]=[d.info]);return l}if(a.V){var n={};for(q in c.j)if(c.j.hasOwnProperty(q)){var p=c.j[q].info;m=p.j;n[m]=n[m]||[];n[m].push(p)}var q=g.r(Object.keys(n));for(m=q.next();!m.done;m=q.next())BB(a,n[m.value],[]);q={};p=g.r(Object.keys(n));for(m=p.next();!m.done;m=p.next()){m=m.value;for(var v=g.r(n[m]),w=v.next();!w.done;w=v.next()){w=w.value;var y=w.itag,A=void 0,B=m+"_"+((null==(A=w.video)? +void 0:A.fps)||0);q.hasOwnProperty(B)?!0===q[B]?l[m].push(w):f[y]=q[B]:(A=CB(a,w,b,c.isLive,!1,h),!0!==A?(f[y]=A,"disablevp9hfr"===A&&(q[B]="disablevp9hfr")):(l[m]=l[m]||[],l[m].push(w),q[B]=!0))}}}else{q=!1;if(a.Yb)for(p in c.j)if(c.j.hasOwnProperty(p)&&(m=c.j[p].info,DB(m)&&m.Td&&m.video&&1440<=m.video.j&&32a.J)return"max"+a.J;if(a.N&&b.video&&b.video.jm&&(q=d));"9"===q&&l.h&&(d=JB(l["9"]),JB(l.h)>1.5*d&&(q="h"));a.Kb&&c.isLive&&"("===q&&l.H&&1440>JB(l["("])&&(q="H");h&&e({vfmly:HB(q)});c=l[q];if(!c.length)return h&&e({novfmly:HB(q)}),Hu(); +BB(a,c,b);return Iu(new zB(c,b))}; +BB=function(a,b,c,d){d=void 0===d?[]:d;g.mc(b,function(e,f){var h=f.Pb-e.Pb;if(a.V&&!e.isVideo())return h;var l=f.video.height*f.video.width-e.video.height*e.video.width;!l&&d&&0c&&(a=a.filter(function(d){if(32a.getLastSegmentNumber())a.segments=[];else{var c=Rb(a.segments,function(d){return d.Ia>=b},a); +0c&&(c=a.totalLength-b);a.focus(b);if(!XB(a,b,c)){var d=a.u,e=a.B;a.focus(b+c-1);e=new Uint8Array(a.B+a.j[a.u].length-e);for(var f=0,h=d;h<=a.u;h++)e.set(a.j[h],f),f+=a.j[h].length;a.j.splice(d,a.u-d+1,e);WB(a);a.focus(b)}d=a.j[a.u];return new DataView(d.buffer,d.byteOffset+b-a.B,c)}; +YB=function(a,b,c){a=dwa(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}; +ewa=function(a){a=YB(a,0,-1);var b=new Uint8Array(a.length);try{b.set(a)}catch(d){for(var c=0;ce&&bf)fC[e++]=f;else{if(224>f)f=(f&31)<<6|a[b++]&63;else if(240>f)f=(f&15)<<12|(a[b++]&63)<<6|a[b++]&63;else{if(1024===e+1){--b;break}f=(f&7)<<18|(a[b++]&63)<<12|(a[b++]&63)<<6|a[b++]&63;f-=65536;fC[e++]=55296|f>>10;f=56320|f&1023}fC[e++]=f}}f=String.fromCharCode.apply(String,fC); +1024>e&&(f=f.substr(0,e));c.push(f)}return c.join("")}; +iC=function(a,b){var c;if(null==(c=hC)?0:c.encodeInto)return b=hC.encodeInto(a,b),b.reade?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296===(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return c}; +gwa=function(a){if(hC)return hC.encode(a);var b=new Uint8Array(Math.ceil(1.2*a.length)),c=iC(a,b);b.lengthc&&(b=b.subarray(0,c));return b}; +jC=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.j=(this.u=e)?0:8;this.dataOffset=this.offset+this.j}; +kC=function(a){var b=a.data.getUint8(a.offset+a.j);a.j+=1;return b}; +lC=function(a){var b=a.data.getUint16(a.offset+a.j);a.j+=2;return b}; +mC=function(a){var b=a.data.getInt32(a.offset+a.j);a.j+=4;return b}; +nC=function(a){var b=a.data.getUint32(a.offset+a.j);a.j+=4;return b}; +oC=function(a){var b=a.data;var c=a.offset+a.j;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.j+=8;return b}; +pC=function(a,b){b=void 0===b?NaN:b;if(isNaN(b))var c=a.size;else for(c=a.j;ca.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-bc;c++){var d=a.getInt8(b+c);if(97>d||122=a.j.byteLength}; +LC=function(a,b,c){var d=new FC(c);if(!HC(d,a))return!1;d=IC(d);if(!JC(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=d.start+d.pos;var e=KC(d,!0);d=a+(d.start+d.pos-b)+e;d=9b;b++)c=256*c+QC(a);return c}for(var d=128,e=0;6>e&&d>c;e++)c=256*c+QC(a),d*=128;return b?c-d:c}; +NC=function(a){var b=KC(a,!0);a.pos+=b}; +zwa=function(a){if(!JC(a,440786851,!0))return null;var b=a.pos;KC(a,!1);var c=KC(a,!0)+a.pos-b;a.pos=b+c;if(!JC(a,408125543,!1))return null;KC(a,!0);if(!JC(a,357149030,!0))return null;var d=a.pos;KC(a,!1);var e=KC(a,!0)+a.pos-d;a.pos=d+e;if(!JC(a,374648427,!0))return null;var f=a.pos;KC(a,!1);var h=KC(a,!0)+a.pos-f,l=new Uint8Array(c+12+e+h),m=new DataView(l.buffer);l.set(new Uint8Array(a.j.buffer,a.j.byteOffset+b,c));m.setUint32(c,408125543);m.setUint32(c+4,33554431);m.setUint32(c+8,4294967295); +l.set(new Uint8Array(a.j.buffer,a.j.byteOffset+d,e),c+12);l.set(new Uint8Array(a.j.buffer,a.j.byteOffset+f,h),c+12+e);return l}; +RC=function(a){var b=a.pos;a.pos=0;var c=1E6;HC(a,[408125543,357149030,2807729])&&(c=MC(a));a.pos=b;return c}; +Awa=function(a,b){var c=a.pos;a.pos=0;if(160!==a.j.getUint8(a.pos)&&!SC(a)||!JC(a,160))return a.pos=c,NaN;KC(a,!0);var d=a.pos;if(!JC(a,161))return a.pos=c,NaN;KC(a,!0);QC(a);var e=QC(a)<<8|QC(a);a.pos=d;if(!JC(a,155))return a.pos=c,NaN;d=MC(a);a.pos=c;return(e+d)*b/1E9}; +SC=function(a){if(!Bwa(a)||!JC(a,524531317))return!1;KC(a,!0);return!0}; +Bwa=function(a){if(a.Uv()){if(!JC(a,408125543))return!1;KC(a,!0)}return!0}; +HC=function(a,b){for(var c=0;cd.timedOut&&1>d.j)return!1;d=d.timedOut+d.j;a=XC(a,b);c=WC(c,NB(a));return c.timedOut+c.j+ +(b.Vl&&!c.C)b.jm?1E3*Math.pow(b.Gi,c-b.jm):0;return 0===b?!0:a.J+b<(0,g.U)()}; +ZC=function(a,b,c,d){this.initRange=c;this.indexRange=d;this.j=null;this.D=!1;this.J=0;this.C=this.B=null;this.info=b;this.u=new Hwa(a)}; +$C=function(a,b,c,d){var e=g.r(a.info.id.split(";")),f=e.next().value;e=e.next().value;return(d?(c||"")+";":"")+f+";"+(b?0:a.info.lastModified)+";"+(void 0===e?"":e)}; +aD=function(a,b){this.start=a;this.end=b;this.length=b-a+1}; +bD=function(a){a=a.split("-");var b=Number(a[0]),c=Number(a[1]);if(!isNaN(b)&&!isNaN(c)&&2===a.length&&(a=new aD(b,c),!isNaN(a.start)&&!isNaN(a.end)&&!isNaN(a.length)&&0=b.range.start+b.Gb&&a.range.start+a.Gb+a.u<=b.range.start+b.Gb+b.u:a.Ia===b.Ia&&a.Gb>=b.Gb&&(a.Gb+a.u<=b.Gb+b.u||b.Ae)}; +Swa=function(a,b){return a.j!==b.j?!1:4===a.type&&3===b.type&&a.j.Sf()?(a=a.j.Dw(a),Nl(a,function(c){return Swa(c,b)})):a.Ia===b.Ia&&!!b.u&&b.Gb+b.u>a.Gb&&b.Gb+b.u<=a.Gb+a.u}; +oD=function(a,b){var c=b.Ia;a.D="updateWithSegmentInfo";a.Ia=c;if(a.startTime!==b.startTime||a.duration!==b.duration)a.startTime=b.startTime,a.duration=b.duration,Lwa(a)}; +pD=function(a,b){this.j=a;this.N=this.B=null;this.D=this.Of=NaN;this.I=this.requestId=null;this.u=a[0].j.u;this.C=b||"";if(this.j[0].range&&0=c.C&&b<=c.B)return!0;return!1}; +uD=function(a,b,c,d,e,f){f=void 0===f?0:f;ZC.call(this,a,b,d,void 0);this.I=c;this.zk=f;this.index=e||new SB}; +Ywa=function(a,b,c,d,e){this.Ia=a;this.startSecs=b;this.durationSecs=c;this.j=d||NaN;this.u=e||NaN}; +vD=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""}; +wD=function(a,b){for(;a;a=a.parentNode){var c=a.getElementsByTagName(b);if(0=h)if(h=b.shift(),f=(f=l.exec(h))?+f[1]/1E3:0)h=(h=m.exec(h))?+h[1]:0,h+=1;else return;c.push(new RB(n,e,f,NaN,"sq/"+(n+1)));e+=f;h--}a.index.append(c)}}; +DD=function(){this.count=0;this.B=1;this.u=!1;this.offsets=new Float64Array(128);this.j=new Float64Array(128)}; +ED=function(a){a.offsets.lengthe)b=!1;else{for(d=e-1;0<=d;d--)c.j.setUint8(c.pos+d,b&255),b>>>=8;c.pos=a;b=!0}else b=!1;return b}; +ID=function(a,b){b=void 0===b?!1:b;var c=pxa(a);a=b?0:a.info.I;return c||a}; +pxa=function(a){g.HD(a.info.j.info)||a.info.j.info.We();if(a.u&&6===a.info.type)return a.u.zk;if(g.HD(a.info.j.info)){var b=GD(a);var c=0;b=g.EC(b,1936286840);b=g.r(b);for(var d=b.next();!d.done;d=b.next())d=rwa(d.value),c+=d.XK[0]/d.cL;c=c||NaN;if(!(0<=c))a:{c=GD(a);b=a.info.j.j;for(var e=d=0,f=0;zC(c,d);){var h=AC(c,d);if(1836476516===h.type)e=g.wC(h);else if(1836019558===h.type){!e&&b&&(e=xC(b));if(!e){c=NaN;break a}var l=yC(h.data,h.dataOffset,1953653094),m=e,n=yC(l.data,l.dataOffset,1952868452); +l=yC(l.data,l.dataOffset,1953658222);var p=mC(n);mC(n);p&2&&mC(n);n=p&8?mC(n):0;var q=mC(l),v=q&1;p=q&4;var w=q&256,y=q&512,A=q&1024;q&=2048;var B=nC(l);v&&mC(l);p&&mC(l);for(var E=v=0;E=c+d)break}e.length||g.qz(new g.Rv("b189619593",""+b,""+c,""+d));return new pD(e)}; +LD=function(a,b,c,d){this.sampleRate=void 0===a?0:a;this.numChannels=void 0===b?0:b;this.spatialAudioType=void 0===c?"SPATIAL_AUDIO_TYPE_NONE":c;this.j=void 0===d?!1:d}; +txa=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d}; +ND=function(a,b,c,d,e,f,h,l,m){this.width=a;this.height=b;this.quality=f||MD(a,b);this.j=g.uB[this.quality];this.fps=c||0;this.stereoLayout=!e||null!=d&&"UNKNOWN"!==d&&"RECTANGULAR"!==d?0:e;this.projectionType=d?"EQUIRECTANGULAR"===d&&2===e?"EQUIRECTANGULAR_THREED_TOP_BOTTOM":d:"UNKNOWN";(a=h)||(a=g.uB[this.quality],0===a?a="Auto":(b=this.fps,c=this.projectionType,a=a.toString()+("EQUIRECTANGULAR"===c||"EQUIRECTANGULAR_THREED_TOP_BOTTOM"===c||"MESH"===c?"s":"p")+(55=1.3*Math.floor(16*f/9)||a>=1.3*f)return b;b=e}return"tiny"}; +RD=function(a,b,c){c=void 0===c?{}:c;this.id=a;this.mimeType=b;0=b)return c}catch(d){}return-1}; +iE=function(a,b){return 0<=hE(a,b)}; +xxa=function(a,b){if(!a)return NaN;b=hE(a,b);return 0<=b?a.start(b):NaN}; +jE=function(a,b){if(!a)return NaN;b=hE(a,b);return 0<=b?a.end(b):NaN}; +kE=function(a){return a&&a.length?a.end(a.length-1):NaN}; +yxa=function(a,b){a=jE(a,b);return 0<=a?a-b:0}; +lE=function(a,b,c){for(var d=[],e=[],f=0;fc||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return fE(d,e)}; +mE=function(a,b,c,d){g.cz.call(this);var e=this;this.Wd=a;this.start=b;this.end=c;this.isActive=d;this.appendWindowStart=0;this.appendWindowEnd=Infinity;this.timestampOffset=0;this.qP={error:function(){!e.isDisposed()&&e.isActive&&e.X("error",e)}, +updateend:function(){!e.isDisposed()&&e.isActive&&e.X("updateend",e)}}; +g.dz(this.Wd,this.qP);this.PA=this.isActive}; +nE=function(a,b,c,d,e){g.cz.call(this);var f=this;this.kc=a;this.Jf=b;this.id=c;this.containerType=d;this.isVideo=e;this.TP=this.bD=this.Je=null;this.appendWindowStart=this.timestampOffset=0;this.PN=fE([],[]);this.CB=!1;this.kA=zxa?[]:void 0;this.Sc=function(l){return f.X(l.type,f)}; +var h;if(null==(h=this.kc)?0:h.addEventListener)this.kc.addEventListener("updateend",this.Sc),this.kc.addEventListener("error",this.Sc)}; +oE=function(){return window.SourceBuffer?!!SourceBuffer.prototype.changeType:!1}; +pE=function(a,b){this.j=a;this.u=void 0===b?!1:b;this.B=!1}; +qE=function(a,b,c){c=void 0===c?!1:c;g.K.call(this);this.mediaSource=a;this.Jf=b;this.isView=c;this.B=0;this.callback=null;this.events=new g.YD(this);g.M(this,this.events);this.yz=new pE(this.mediaSource?window.URL.createObjectURL(this.mediaSource):this.Jf.webkitMediaSourceURL,!0);a=this.mediaSource||this.Jf;az(this.events,a,["sourceopen","webkitsourceopen"],this.n2);az(this.events,a,["sourceclose","webkitsourceclose"],this.m2)}; +Axa=function(){return!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)}; +Bxa=function(a,b){rE(a)?g.Dh(function(){b(a)}):a.callback=b}; +rE=function(a){try{return"open"===sE(a)}catch(b){return!1}}; +sE=function(a){if(a.mediaSource)return a.mediaSource.readyState;switch(a.Jf.webkitSourceState){case a.Jf.SOURCE_OPEN:return"open";case a.Jf.SOURCE_ENDED:return"ended";default:return"closed"}}; +tE=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)}; +Cxa=function(a,b,c,d){if(!a.j||!a.u)return null;var e=a.j.isView()?a.j.Wd:a.j,f=a.u.isView()?a.u.Wd:a.u,h=new qE(a.mediaSource,a.Jf,!0);h.yz=a.yz;e=new mE(e,b,c,d);b=new mE(f,b,c,d);h.j=e;h.u=b;g.M(h,e);g.M(h,b);rE(a)||a.j.pE(a.j.wd());return h}; +Dxa=function(a,b){return uE(function(c,d){return g.Fu(c,d,4,1E3)},a,b)}; +g.Exa=function(a){var b;a.responseType&&"text"!==a.responseType?"arraybuffer"===a.responseType&&(b=eC(new Uint8Array(a.response))):b=a.responseText;return!b||2048a.I&&a.isLivePlayback;a.qa=Number(vD(c,zE(a,"earliestMediaSequence")))||0;if(d=Date.parse($wa(vD(c,zE(a,"mpdResponseTime")))))a.N=(Date.now()-d)/1E3;a.isLive&&0>=c.getElementsByTagName("SegmentTimeline").length||g.Od(c.getElementsByTagName("Period"),a.X2,a);a.state=2;a.X("loaded");Vxa(a)}return a}).Wi(function(c){if(c instanceof Du){var d=c.xhr; +a.Fg=d.status}a.state=3;a.X("loaderror");return Jh(d)})}; +Xxa=function(a,b,c){return Wxa(new vE(a,b,c),a)}; +AE=function(a){return a.isLive&&(0,g.U)()-a.W>=a.I}; +Vxa=function(a){var b=a.I;isFinite(b)&&(AE(a)?a.refresh():(b=Math.max(0,a.W+b-(0,g.U)()),a.B||(a.B=new g.Zn(a.refresh,b,a),g.M(a,a.B)),a.B.start(b)))}; +Yxa=function(a){a=a.j;for(var b in a){var c=a[b].index;if(c.isLoaded())return c.getLastSegmentNumber()+1}return 0}; +BE=function(a){return a.yc?a.yc-(a.D||a.timestampOffset):0}; +CE=function(a){return a.Kb?a.Kb-(a.D||a.timestampOffset):0}; +DE=function(a){if(!isNaN(a.V))return a.V;var b=a.j,c;for(c in b){var d=b[c].index;if(d.isLoaded()){b=0;for(c=d.getFirstSegmentNumber();c<=d.getLastSegmentNumber();c++)b+=d.getDuration(c);b/=d.getNumberOfSegments();b=.5*Math.round(b/.5);d.getNumberOfSegments()>a.Ea&&(a.V=b);return b}if(a.isLive&&(d=b[c],d.zk))return d.zk}return NaN}; +Zxa=function(a,b){a=Cca(a.j,function(d){return d.index.isLoaded()}); +if(!a)return NaN;a=a.index;var c=a.getSegmentNumberForTime(b);return a.getStartTime(c)===b?b:c(0,g.U)()-1E3*a))return 0;a=g.Qz("yt-player-quality");if("string"===typeof a){if(a=g.uB[a],0a.previousQuality)return 1;if(a.quality=navigator.hardwareConcurrency&&(a=480);b.coreCount=navigator.hardwareConcurrency;yma()&&(b.isArm=1,a=240);if(c){var e,f;if(d=null==(e=c.videoInfos.find(function(h){return TD(h)}))?void 0:null==(f=e.u)?void 0:f.powerEfficient)a=8192,b.isEfficient=1; +c=c.videoInfos[0].video;e=Math.min(JE("1",c.fps),JE("1",30));b.perfCap=e;a=Math.min(a,e);c.isHdr()&&!d&&(b.hdr=1,a*=.75)}else c=JE("1",30),b.perfCap30=c,a=Math.min(a,c),c=JE("1",60),b.perfCap60=c,a=Math.min(a,c);return b.av1Threshold=a}; +ME=function(a,b,c,d){this.flavor=a;this.keySystem=b;this.u=c;this.experiments=d;this.j={};this.Ya=this.keySystemAccess=null;this.Tt=this.Ut=-1;this.Hk=null;this.B="";this.C=!!d&&d.fb("edge_nonprefixed_eme");this.B=d?g.LE(d,"html5_hdcp_probing_stream_url"):""}; +OE=function(a){return a.C?!1:!a.keySystemAccess&&!!NE()&&"com.microsoft.playready"===a.keySystem}; +PE=function(a){return"com.microsoft.playready"===a.keySystem}; +QE=function(a){return!a.keySystemAccess&&!!NE()&&"com.apple.fps.1_0"===a.keySystem}; +RE=function(a){return"com.youtube.fairplay"===a.keySystem}; +g.SE=function(a){return"fairplay"===a.flavor}; +NE=function(){var a=window,b=a.MSMediaKeys;Tu()&&!b&&(b=a.WebKitMediaKeys);return b&&b.isTypeSupported?b:null}; +UE=function(a){if(!navigator.requestMediaKeySystemAccess)return!1;if(g.bE&&!g.Qu())return Bo("45");if(g.yw||g.Dc)return a.fb("edge_nonprefixed_eme");if(g.pB)return Bo("47");if(g.Zv){if(a.fb("html5_enable_safari_fairplay"))return!1;if(a=g.TE(a,"html5_safari_desktop_eme_min_version"))return Bo(a)}return!0}; +qya=function(a,b,c,d){var e=Ru(),f=(c=e||c&&Tu())?["com.youtube.fairplay"]:["com.widevine.alpha"];b&&(f.unshift("com.youtube.widevine.l3"),e&&d&&f.unshift("com.youtube.widevine.forcehdcp"));return c?f:a?[].concat(g.t(f),g.t(VE.playready)):[].concat(g.t(VE.playready),g.t(f))}; +WE=function(a,b,c,d,e){d=void 0===d?!1:d;g.K.call(this);this.experiments=b;this.useCobaltWidevine=d;this.ma=e;this.j=[];this.u={};this.C={};this.callback=null;this.D=!1;this.B=[];this.initialize(a,!c)}; +sya=function(a,b){a.callback=b;a.B=[];UE(a.experiments)?XE(a):rya(a)}; +XE=function(a){if(!a.isDisposed())if(0===a.j.length)a.callback(a.B);else{var b=a.j[0],c=a.u[b],d=tya(a,c);navigator.requestMediaKeySystemAccess(b,d).then(hu(function(e){if(!a.isDisposed()){c.keySystemAccess=e;if(PE(c)){e=ZD();for(var f=g.r(Object.keys(a.C[c.flavor])),h=f.next();!h.done;h=f.next())h=h.value,c.j[h]=!!e.canPlayType(h)}else{e=c.keySystemAccess.getConfiguration();if(e.audioCapabilities)for(f=g.r(e.audioCapabilities),h=f.next();!h.done;h=f.next())uya(a,c,h.value);if(e.videoCapabilities)for(e= +g.r(e.videoCapabilities),f=e.next();!f.done;f=e.next())uya(a,c,f.value)}a.B.push(c);a.useCobaltWidevine?(a.j.shift(),XE(a)):a.callback(a.B)}}),hu(function(){a.D=!a.D&&"widevine"===a.u[a.j[0]].flavor; +a.D||a.j.shift();XE(a)}))}}; +uya=function(a,b,c){a.K("log_robustness_for_drm")?b.j[c.contentType]=c.robustness||!0:b.j[c.contentType]=!0}; +tya=function(a,b){var c={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};PE(b)&&(c.initDataTypes=["keyids","cenc"]);for(var d=g.r(Object.keys(a.C[b.flavor])),e=d.next();!e.done;e=d.next()){e=e.value;var f=0===e.indexOf("audio/"),h=f?c.audioCapabilities:c.videoCapabilities;"widevine"!==b.flavor||a.D?h.push({contentType:e}):f?h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(g.bE&&Ou("windows nt")&&!a.K("html5_drm_enable_moho")||h.push({contentType:e,robustness:"HW_SECURE_ALL"}), +f=e,a.K("html5_enable_cobalt_experimental_vp9_decoder")&&e.includes("vp09")&&(f=e+"; experimental=allowed"),h.push({contentType:f,robustness:"SW_SECURE_DECODE"}),a.K("html5_query_sw_secure_crypto_for_android")&&(Zu()||Pu())&&(a.ma("swcrypto",{}),h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"})))}return[c]}; +rya=function(a){if(NE()&&g.Zv)a.B.push(new ME("fairplay","com.apple.fps.1_0","",a.experiments));else{var b=vya(),c=g.Ub(a.j,function(d){var e=a.u[d],f=!1,h=!1,l;for(l in a.C[e.flavor])b(l,d)&&(e.j[l]=!0,f=f||0===l.indexOf("audio/"),h=h||0===l.indexOf("video/"));return f&&h}); +c&&a.B.push(a.u[c]);a.j=[]}a.callback(a.B)}; +vya=function(){var a=NE();if(a){var b=a.isTypeSupported;return function(d,e){return b(e,d)}}var c=ZD(); +return c&&(c.addKey||c.webkitAddKey)?function(d,e){return!!c.canPlayType(d,e)}:function(){return!1}}; +wya=function(){this.j=0}; +xya=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=ju(b||"","&");a={};b=g.r(this.experimentIds);for(var c=b.next();!c.done;c=b.next())a[c.value]=!0;this.experiments=a}; +g.TE=function(a,b){return Number(a.flags[b])||0}; +g.LE=function(a,b){return(a=a.flags[b])?a.toString():""}; +zya=function(a){return yya.then(a)}; +YE=function(a,b,c){this.experiments=a;this.Y=b;this.ra=void 0===c?!1:c;this.J=!!g.Ha("cast.receiver.platform.canDisplayType");this.I={};this.V=!1;this.u=new Map;this.N=!0;this.D=!this.experiments.fb("html5_disable_protected_hdr");this.j=this.B=!1;this.W=this.experiments.fb("html5_disable_vp9_encrypted");a=g.Ha("cast.receiver.platform.getValue");this.C=!this.J&&a&&a("max-video-resolution-vpx")||null}; +Lva=function(a,b,c){c=void 0===c?1:c;var d=b.itag;if("0"===d)return!0;var e=b.mimeType;if(b.We()&&Ru()&&a.experiments.fb("html5_appletv_disable_vp9"))return"dwebm";if(TD(b)&&a.V)return"dav1";if(b.video&&(b.video.isHdr()||"bt2020"===b.video.primaries)&&!(FB(a,GB.EOTF)||window.matchMedia&&(window.matchMedia("(dynamic-range: high), (video-dynamic-range: high)").matches||24=f&&f>d&&!0===Lva(a,e,c)&&(d=f)}return d}; +g.$E=function(a,b){b=void 0===b?!1:b;return ZE(a)&&a.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')||!b&&a.canPlayType(ZD(),"application/x-mpegURL")?!0:!1}; +Cya=function(a){Bya(function(){for(var b=g.r(Object.keys(GB)),c=b.next();!c.done;c=b.next())FB(a,GB[c.value])})}; +FB=function(a,b){b.name in a.I||(a.I[b.name]=Dya(a,b));return a.I[b.name]}; +Dya=function(a,b){if(a.C)return!!a.C[b.name];if(b===GB.BITRATE&&a.isTypeSupported('video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!a.isTypeSupported('video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000'))return!1;if(b===GB.AV1_CODECS)return a.isTypeSupported("video/mp4; codecs="+b.valid)&&!a.isTypeSupported("video/mp4; codecs="+b.invalid);if(b.video){var c='video/webm; codecs="vp9"';a.isTypeSupported(c)||(c='video/mp4; codecs="avc1.4d401e"')}else c='audio/webm; codecs="opus"', +a.isTypeSupported(c)||(c='audio/mp4; codecs="mp4a.40.2"');return a.isTypeSupported(c+"; "+b.name+"="+b.valid)&&!a.isTypeSupported(c+"; "+b.name+"="+b.invalid)}; +Eya=function(a){a.N=!1;a.j=!0}; +Fya=function(a){a.B||(a.B=!0,a.j=!0)}; +Gya=function(a,b){var c=0;a.u.has(b)&&(c=a.u.get(b).nY);a.u.set(b,{nY:c+1,jS:Math.pow(2,c+1)});a.j=!0}; +aF=function(){var a=this;this.queue=[];this.C=0;this.j=this.u=!1;this.B=function(){a.u=!1;Hya(a)}}; +Iya=function(a){a.j||(Bya(function(){Hya(a)}),a.j=!0)}; +Hya=function(a){a.j=!1;if(a.queue.length&&!(a.u&&5>=a.queue.length&&15E3>(0,g.U)()-a.C)){var b=a.queue.shift(),c=b.url;b=b.options;b.timeout=1E4;g.Fu(c,b,3,1E3).then(a.B,a.B);a.u=!0;a.C=(0,g.U)();5b;b++)c[e]=b,d[b]=e,e^=e<<1^(e>>7&&283);dF=new Uint8Array(256);eF=cF(256);fF=cF(256);gF=cF(256);hF=cF(256);for(var f=0;256>f;f++){e=f?d[255^c[f]]:0;e^=e<<1^e<<2^e<<3^e<<4;e=e&255^e>>>8^99;dF[f]=e;b=e<<1^(e>>7&&283);var h=b^e;eF[f]=b<<24|e<<16|e<<8|h;fF[f]=h<<24|eF[f]>>>8;gF[f]=e<<24|fF[f]>>>8;hF[f]=e<<24|gF[f]>>>8}Jya=!0}e=cF(44);for(c=0;4>c;c++)e[c]= +a[4*c]<<24|a[4*c+1]<<16|a[4*c+2]<<8|a[4*c+3];for(d=1;44>c;c++)a=e[c-1],c%4||(a=(dF[a>>16&255]^d)<<24|dF[a>>8&255]<<16|dF[a&255]<<8|dF[a>>>24],d=d<<1^(d>>7&&283)),e[c]=e[c-4]^a;this.key=e}; +Kya=function(a,b){for(var c=0;4>c;c++)a.counter[c]=b[4*c]<<24|b[4*c+1]<<16|b[4*c+2]<<8|b[4*c+3];a.j=16}; +Lya=function(a){for(var b=a.key,c=a.counter[0]^b[0],d=a.counter[1]^b[1],e=a.counter[2]^b[2],f=a.counter[3]^b[3],h=3;0<=h&&!(a.counter[h]=-~a.counter[h]);h--);for(var l,m,n=4;40>n;)h=eF[c>>>24]^fF[d>>16&255]^gF[e>>8&255]^hF[f&255]^b[n++],l=eF[d>>>24]^fF[e>>16&255]^gF[f>>8&255]^hF[c&255]^b[n++],m=eF[e>>>24]^fF[f>>16&255]^gF[c>>8&255]^hF[d&255]^b[n++],f=eF[f>>>24]^fF[c>>16&255]^gF[d>>8&255]^hF[e&255]^b[n++],c=h,d=l,e=m;a=a.u;h=b[40];a[0]=dF[c>>>24]^h>>>24;a[1]=dF[d>>16&255]^h>>16&255;a[2]=dF[e>>8&255]^ +h>>8&255;a[3]=dF[f&255]^h&255;h=b[41];a[4]=dF[d>>>24]^h>>>24;a[5]=dF[e>>16&255]^h>>16&255;a[6]=dF[f>>8&255]^h>>8&255;a[7]=dF[c&255]^h&255;h=b[42];a[8]=dF[e>>>24]^h>>>24;a[9]=dF[f>>16&255]^h>>16&255;a[10]=dF[c>>8&255]^h>>8&255;a[11]=dF[d&255]^h&255;h=b[43];a[12]=dF[f>>>24]^h>>>24;a[13]=dF[c>>16&255]^h>>16&255;a[14]=dF[d>>8&255]^h>>8&255;a[15]=dF[e&255]^h&255}; +lF=function(){if(!jF&&!g.yw){if(kF)return kF;var a;kF=null==(a=window.crypto)?void 0:a.subtle;var b,c,d;if((null==(b=kF)?0:b.importKey)&&(null==(c=kF)?0:c.sign)&&(null==(d=kF)?0:d.encrypt))return kF;kF=void 0}}; +g.mF=function(a){this.C=a}; +g.nF=function(a){this.u=a}; +oF=function(a){this.D=new Uint8Array(64);this.B=new Uint8Array(64);this.C=0;this.I=new Uint8Array(64);this.u=0;this.D.set(a);this.B.set(a);for(a=0;64>a;a++)this.D[a]^=92,this.B[a]^=54;this.reset()}; +Mya=function(a,b,c){for(var d=a.J,e=a.j[0],f=a.j[1],h=a.j[2],l=a.j[3],m=a.j[4],n=a.j[5],p=a.j[6],q=a.j[7],v,w,y,A=0;64>A;)16>A?(d[A]=y=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(v=d[A-2],w=d[A-15],y=d[A-7]+d[A-16]+((v>>>17|v<<15)^(v>>>19|v<<13)^v>>>10)+((w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3),d[A]=y),v=q+pF[A]+y+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&n^~m&p),w=((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+(e&f^e&h^f&h),q=v+w,l+=v,A++,16>A?(d[A]=y=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(v= +d[A-2],w=d[A-15],y=d[A-7]+d[A-16]+((v>>>17|v<<15)^(v>>>19|v<<13)^v>>>10)+((w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3),d[A]=y),v=p+pF[A]+y+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&m^~l&n),w=((q>>>2|q<<30)^(q>>>13|q<<19)^(q>>>22|q<<10))+(q&e^q&f^e&f),p=v+w,h+=v,A++,16>A?(d[A]=y=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(v=d[A-2],w=d[A-15],y=d[A-7]+d[A-16]+((v>>>17|v<<15)^(v>>>19|v<<13)^v>>>10)+((w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3),d[A]=y),v=n+pF[A]+y+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&l^ +~h&m),w=((p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10))+(p&q^p&e^q&e),n=v+w,f+=v,A++,16>A?(d[A]=y=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(v=d[A-2],w=d[A-15],y=d[A-7]+d[A-16]+((v>>>17|v<<15)^(v>>>19|v<<13)^v>>>10)+((w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3),d[A]=y),v=m+pF[A]+y+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&h^~f&l),w=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&p^n&q^p&q),y=q,q=l,l=y,y=p,p=h,h=y,y=n,n=f,f=y,m=e+v,e=v+w,A++;a.j[0]=e+a.j[0]|0;a.j[1]=f+a.j[1]|0;a.j[2]=h+a.j[2]|0;a.j[3]= +l+a.j[3]|0;a.j[4]=m+a.j[4]|0;a.j[5]=n+a.j[5]|0;a.j[6]=p+a.j[6]|0;a.j[7]=q+a.j[7]|0}; +Oya=function(a){var b=new Uint8Array(32),c=64-a.u;55f;f++){var h=e%256;d[c-f]=h;e=(e-h)/256}a.update(d);for(c=0;8>c;c++)b[4*c]=a.j[c]>>>24,b[4*c+1]=a.j[c]>>>16&255,b[4*c+2]=a.j[c]>>>8&255,b[4*c+3]=a.j[c]&255;Nya(a);return b}; +Nya=function(a){a.j=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];a.J=[];a.J.length=64;a.C=0;a.u=0}; +Pya=function(a){this.j=a}; +Qya=function(a,b,c){a=new oF(a.j);a.update(b);a.update(c);b=Oya(a);a.update(a.D);a.update(b);b=Oya(a);a.reset();return b}; +Rya=function(a){this.u=a}; +Sya=function(a,b,c,d){var e,f,h,l;return g.z(function(m){switch(m.j){case 1:if(a.j){m.Ma(2);break}e=a;return g.x(m,d.importKey("raw",a.u,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),3);case 3:e.j=m.u;case 2:return f=new Uint8Array(b.length+c.length),f.set(b),f.set(c,b.length),h={name:"HMAC",hash:"SHA-256"},g.x(m,d.sign(h,a.j,f),4);case 4:return l=m.u,m.return(new Uint8Array(l))}})}; +Tya=function(a,b,c){a.B||(a.B=new Pya(a.u));return Qya(a.B,b,c)}; +Uya=function(a,b,c){var d,e;return g.z(function(f){if(1==f.j){d=lF();if(!d)return f.return(Tya(a,b,c));g.ra(f,3);return g.x(f,Sya(a,b,c,d),5)}if(3!=f.j)return f.return(f.u);e=g.va(f);g.rz(e);jF=!0;return f.return(Tya(a,b,c))})}; +rF=function(){this.B=this.j=0;this.u=Array.from({length:qF.length}).fill(0)}; +Vya=function(){}; +Wya=function(a){this.name=a;this.startTimeMs=(0,g.U)();this.j=!1}; +Xya=function(){this.profiles=new Vya}; +sF=function(a,b,c,d){d=void 0===d?1:d;0<=c&&(b in a.profiles||(a.profiles[b]=new rF),a.profiles[b].dh(c,d))}; +tF=function(){}; +uF=function(){g.mF.apply(this,arguments)}; +vF=function(){g.nF.apply(this,arguments)}; +Yya=function(a,b,c){this.encryptedClientKey=b;this.D=c;this.j=new Uint8Array(a.buffer,0,16);this.B=new Uint8Array(a.buffer,16)}; +Zya=function(a){a.u||(a.u=new uF(a.j));return a.u}; +wF=function(a){try{return Ec(a)}catch(b){return null}}; +$ya=function(a,b){if(!b&&a)try{b=JSON.parse(a)}catch(e){}if(b){a=b.clientKey?wF(b.clientKey):null;var c=b.encryptedClientKey?wF(b.encryptedClientKey):null,d=b.keyExpiresInSeconds?1E3*Number(b.keyExpiresInSeconds)+(0,g.U)():null;a&&c&&d&&(this.j=new Yya(a,c,d));b.onesieUstreamerConfig&&(this.onesieUstreamerConfig=wF(b.onesieUstreamerConfig)||void 0);this.baseUrl=b.baseUrl}}; +xF=function(a){this.j=this.u=0;this.alpha=Math.exp(Math.log(.5)/a)}; +yF=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.resolution=b;this.valueIndex=0;this.u=!1;this.C=!0;this.j=Math.round(a*this.resolution);this.values=Array(this.j);for(a=0;aNumber(d.get("dhmu",e.toString())));this.Ul=e;this.va=eE();this.fm=g.LF;this.Bk=ev(!1,b?b.embedOptOutDeprecation:a.opt_out_deprecation);this.jh=!(!b||!b.embedsEnablePfpImaIntegration|| +this.K("embeds_pfp_ima_integration_killswitch"));this.ra=!!((null==b?0:b.embedsEnableAppendUtmParams)&&this.K("embeds_web_enable_utm_params"));this.pfpChazalUi=this.jh||ev(!1,(b?b.pfpChazalUi:a.pfp_chazal_ui)&&!this.K("embeds_pfp_chazal_ui_killswitch"));var h;b?void 0!==b.hideInfo&&(h=!b.hideInfo):h=a.showinfo;this.Jk=g.MF(this)&&!this.Bk||ev(!NF(this)&&!OF(this)&&!this.D,h);this.Fk=b?!!b.mobileIphoneSupportsInlinePlayback:ev(!1,a.playsinline);h=this.isMobile&&PF&&null!=QF&&0=QF;e=b?b.useNativeControls: +a.use_native_controls;this.I=g.MF(this)&&this.isMobile;d=this.isMobile&&!this.I;e=RF(this)||!h&&ev(d,e)?"3":"1";d=b?b.controlsType:a.controls;this.controlsType="0"!==d&&0!==d?e:"0";this.cf=this.isMobile;this.color=fv("red",b?b.progressBarColor:a.color,mza);this.Zl="3"===this.controlsType||ev(!1,b?b.embedsShowModestBranding:a.modestbranding)&&"red"===this.color;this.Yb=!this.u;this.Kk=(e=!this.Yb&&!OF(this)&&!this.N&&!this.D&&!NF(this))&&!this.Zl&&"1"===this.controlsType;this.Nc=g.SF(this)&&e&&"0"=== +this.controlsType&&!this.Kk;this.im=this.cm=h;this.yc=("3"===this.controlsType||this.isMobile||ev(!1,a.use_media_volume))&&!this.I;this.Nk=TF&&!g.yc(601)?!1:!0;this.Tl=this.u||!1;this.He=OF(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=hv("",b?b.widgetReferrer:a.widget_referrer);var l;b?b.disableCastApi&&(l=!1):l=a.enablecastapi;l=!this.C||ev(!0,l);h=!0;b&&b.disableMdxCast&&(h=!1);this.Eb=this.K("enable_cast_for_web_unplugged")&&g.UF(this)&&h||this.K("enable_cast_on_music_web")&& +g.VF(this)&&h||l&&h&&"1"===this.controlsType&&!this.isMobile&&(OF(this)||g.SF(this)||g.WF(this))&&!g.XF(this);this.hm=cE()||dE();l=b?!!b.supportsAutoplayOverride:ev(!1,a.autoplayoverride);this.Ki=!this.isMobile&&!Ou("nintendo wiiu")&&!Ou("nintendo 3ds")||l;l=b?!!b.enableMutedAutoplay:ev(!1,a.mutedautoplay);h=this.K("embeds_enable_muted_autoplay")&&g.MF(this);this.bf=l&&h&&this.va&&!RF(this);l=(OF(this)||NF(this))&&"blazer"===this.playerStyle;this.oi=b?!!b.disableFullscreen:!ev(!0,a.fs);this.gb=!this.oi&& +(l||g.Wy());this.nk=this.K("uniplayer_block_pip")&&(Pu()&&Bo(58)&&!Zu()||Wu);l=g.MF(this)&&!this.Bk;var m;b?void 0!==b.disableRelatedVideos&&(m=!b.disableRelatedVideos):m=a.rel;this.Mc=l||ev(!this.D,m);this.Ik=ev(!1,b?b.enableContentOwnerRelatedVideos:a.co_rel);this.J=Zu()&&0=QF?"_top":"_blank";this.Pe=g.WF(this);this.Gi=ev("blazer"===this.playerStyle,b?b.enableCsiLogging:a.enablecsi);switch(this.playerStyle){case "blogger":m="bl";break;case "gmail":m="gm";break;case "gac":m="ga";break;case "books":m= +"gb";break;case "docs":m="gd";break;case "duo":m="gu";break;case "google-live":m="gl";break;case "google-one":m="go";break;case "play":m="gp";break;case "chat":m="hc";break;case "hangouts-meet":m="hm";break;case "photos-edu":case "picasaweb":m="pw";break;default:m="yt"}this.Ha=m;this.authUser=hv("",b?b.authorizedUserIndex:a.authuser);this.Ld=g.MF(this)&&(this.Ya||!vma()||this.Ak);var n;b?void 0!==b.disableWatchLater&&(n=!b.disableWatchLater):n=a.showwatchlater;this.Jl=((m=!this.Ld)||!!this.authUser&& +m)&&ev(!this.N,this.C?n:void 0);this.Ng=b?b.isMobileDevice||!!b.disableKeyboardControls:ev(!1,a.disablekb);this.loop=ev(!1,a.loop);this.pageId=hv("",!this.K("wpcc_pageid_killswitch")&&b?b.initialDelegatedSessionId:a.pageid);this.gm=ev(!0,a.canplaylive);this.Cb=ev(!1,a.livemonitor);this.disableSharing=ev(this.D,b?b.disableSharing:a.ss);(n=b&&this.K("fill_video_container_size_override_from_wpcc")?b.videoContainerOverride:a.video_container_override)?(m=n.split("x"),2!==m.length?n=null:(n=Number(m[0]), +m=Number(m[1]),n=isNaN(n)||isNaN(m)||0>=n*m?null:new g.Qg(n,m))):n=null;this.Ok=n;this.mute=b?!!b.startMuted:ev(!1,a.mute);this.storeUserVolume=!this.mute&&ev("0"!==this.controlsType,b&&!this.K("store_user_volume_override_from_wpcc_killswitch_2")?b.storeUserVolume:a.store_user_volume);n=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy="3"===this.controlsType?3:fv(void 0,n,YF);this.captionsLanguagePreference=b?b.captionsLanguagePreference||"":hv("",a.cc_lang_pref);n=fv(2,b?b.captionsLanguageLoadPolicy: +a.cc_load_policy,YF);"3"===this.controlsType&&2===n&&(n=3);this.eb=n;this.pg=b?b.hl||"en_US":hv("en_US",a.hl);this.region=b?b.contentRegion||"US":hv("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":hv("en",a.host_language);this.Kl=!this.Ya&&Math.random()Math.random();this.Di=a.onesie_hot_config||(null==b?0:b.onesieHotConfig)?new $ya(a.onesie_hot_config,null==b?void 0:b.onesieHotConfig):void 0;this.isTectonic=b&&!this.K("fill_is_tectonic_from_wpcc_killswitch")?!!b.isTectonic:!!a.isTectonic;this.playerCanaryState=c;this.Fd= +new gza;g.M(this,this.Fd);this.pk=ev(!1,a.force_gvi);this.datasyncId=(null==b?void 0:b.datasyncId)||g.Q("DATASYNC_ID");this.Xl=g.Q("LOGGED_IN",!1);this.rg=(null==b?void 0:b.allowWoffleManagement)||!1;this.bk=0;this.livingRoomPoTokenId=null==b?void 0:b.livingRoomPoTokenId;this.K("html5_high_res_logging")?this.V=2:1>4096*Math.random()&&(this.V=1);this.K("html5_ping_queue")&&(this.Ei=new aF);this.og=g.TE(this.experiments,"html5_defer_ad_module_ms");this.Vj=g.TE(this.experiments,"html5_defer_modules_delay_time_millis")}; +$F=function(a,b,c){c=void 0===c?!1:c;a.Cd=hv(a.Cd,b.video_id);a.Ra=hv(a.Ra,b.eventid);a.Ra&&(vz=a.Ra);for(var d=[],e=g.r(Object.keys(qza)),f=e.next();!f.done;f=e.next()){f=qza[f.value];var h=b[f];null!=h&&(h!==a.deviceParams[f]&&d.push(f),a.deviceParams[f]=h)}!c&&0y.width*y.height*y.fps)y=G}else v.push(G)}else l[E]="disdrmhfr";w.reduce(function(O, +L){return L.zg().isEncrypted()&&O},!0)&&(q=p); +e=Math.max(e,0);p=y||{};n=void 0===p.fps?0:p.fps;y=void 0===p.width?0:p.width;p=void 0===p.height?0:p.height;B=a.K("html5_native_audio_track_switching");w.push(Eza(v,c,d,f,"93",y,p,n,m,"auto",e,q,A,B));Object.entries(l).length&&h(l);return DG(a.j,w,fG(a,b))}; +Eza=function(a,b,c,d,e,f,h,l,m,n,p,q,v,w){for(var y=0,A="",B=g.r(a),E=B.next();!E.done;E=B.next())E=E.value,A||(A=E.itag),E.audioChannels&&E.audioChannels>y&&(y=E.audioChannels,A=E.itag);e=new RD(e,"application/x-mpegURL",{audio:new LD(0,y),video:new ND(f,h,l,null,void 0,n,void 0,v),Td:q,xQ:A});a=new uza(a,b,c?[c]:[],d,!!w);a.C=p?p:1369843;return new FG(e,a,m)}; +Bza=function(a){a=g.r(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.url&&(b=b.url.split("expire/"),!(1>=b.length)))return+b[1].split("/")[0];return NaN}; +Dza=function(a,b){for(var c=g.r(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[d][0];if(!e.width&&e.Td===b.Td&&!e.audioChannels)return d}return""}; +Cza=function(a){for(var b=new Set,c=g.r(Object.values(a)),d=c.next();!d.done;d=c.next())d=d.value,d.length&&(d=d[0],d.height&&d.codecs.startsWith("vp09")&&b.add(d.height));c=[];if(b.size){d=g.r(Object.keys(a));for(var e=d.next();!e.done;e=d.next())if(e=e.value,a[e].length){var f=a[e][0];f.height&&b.has(f.height)&&!f.codecs.startsWith("vp09")&&c.push(e)}}b=g.r(c);for(e=b.next();!e.done;e=b.next())delete a[e.value]}; +GG=function(a,b){this.j=a;this.u=b}; +Gza=function(a,b,c,d){var e=[];c=g.r(c);for(var f=c.next();!f.done;f=c.next()){var h=f.value;if(h.url){f=new g.LB(h.url,!0);if(h.s){var l=h.sp,m=Uva(decodeURIComponent(h.s));f.set(l,encodeURIComponent(m))}l=g.r(Object.keys(d));for(m=l.next();!m.done;m=l.next())m=m.value,f.set(m,d[m]);h=WD(h.type,h.quality,h.itag,h.width,h.height);e.push(new GG(h,f))}}return DG(a.j,e,fG(a,b))}; +HG=function(a,b){this.j=a;this.u=b}; +Hza=function(a,b,c){var d=[];c=g.r(c);for(var e=c.next();!e.done;e=c.next())if((e=e.value)&&e.url){var f=WD(e.type,"medium","0");d.push(new HG(f,e.url))}return DG(a.j,d,fG(a,b))}; +Iza=function(a){return["OK","LIVE_STREAM_OFFLINE"].includes(a.status)}; +g.IG=function(a){a=void 0===a?{}:a;this.languageCode=a.languageCode||"";this.languageName=a.languageName||null;this.kind=a.kind||"";this.name=a.name||null;this.id=a.id||null;this.j=a.is_servable||!1;this.isTranslateable=a.is_translateable||!1;this.url=a.url||null;this.vssId=a.vss_id||"";this.isDefault=a.is_default||!1;this.translationLanguage=a.translationLanguage||null}; +g.KG=function(a){var b={languageCode:a.languageCode,languageName:a.languageName,displayName:g.JG(a),kind:a.kind,name:a.name,id:a.id,is_servable:a.j,is_default:a.isDefault,is_translateable:a.isTranslateable,vss_id:a.vssId};a.translationLanguage&&(b.translationLanguage=a.translationLanguage);return b}; +g.LG=function(a){return a.translationLanguage?a.translationLanguage.languageCode:a.languageCode}; +g.JG=function(a){var b=a.languageName||"",c=[b];"asr"===a.kind&&-1===b.indexOf("(")&&c.push(" (Automatic Captions)");a.name&&c.push(" - "+a.name);a.translationLanguage&&c.push(" >> "+a.translationLanguage.languageName);return c.join("")}; +Mza=function(a,b,c,d){a||(a=b&&Jza.hasOwnProperty(b)&&Kza.hasOwnProperty(b)?Kza[b]+"_"+Jza[b]:void 0);b=a;if(!b)return null;a=b.match(Lza);if(!a||5!==a.length)return null;if(a=b.match(Lza)){var e=Number(a[3]),f=[7,8,10,5,6];a=!(1===Number(a[1])&&8===e)&&0<=f.indexOf(e)}else a=!1;return c||d||a?b:null}; +MG=function(a,b){for(var c={},d=g.r(Object.keys(Nza)),e=d.next();!e.done;e=d.next()){e=e.value;var f=b?b+e:e;f=a[f+"_webp"]||a[f];g.pA(f)&&(c[Nza[e]]=f)}return c}; +NG=function(a){var b={};if(!a||!a.thumbnails)return b;a=a.thumbnails.filter(function(l){return!!l.url}); +a.sort(function(l,m){return l.width-m.width||l.height-m.height}); +for(var c=g.r(Object.keys(Oza)),d=c.next();!d.done;d=c.next()){var e=Number(d.value);d=Oza[e];for(var f=g.r(a),h=f.next();!h.done;h=f.next())if(h=h.value,h.width>=e){e=Pza(h.url);g.pA(e)&&(b[d]=e);break}}(a=a.pop())&&1280<=a.width&&(a=Pza(a.url),g.pA(a)&&(b["maxresdefault.jpg"]=a));return b}; +Pza=function(a){return a.startsWith("//")?"https:"+a:a}; +Rza=function(a){if(a=a.colorInfo)if(a=a.transferCharacteristics)return Qza[a];return null}; +OG=function(a){return a&&a.baseUrl||""}; +PG=function(a){a=g.nu(a);for(var b=g.r(Object.keys(a)),c=b.next();!c.done;c=b.next()){c=c.value;var d=a[c];a[c]=Array.isArray(d)?d[0]:d}return a}; +Sza=function(a,b){a.botguardData=b.playerAttestationRenderer.botguardData;b=b.playerAttestationRenderer.challenge;null!=b&&(a.cj=b)}; +Uza=function(a,b){a.captionTracks=[];if(b.captionTracks)for(var c=g.r(b.captionTracks),d=c.next();!d.done;d=c.next()){d=d.value;var e=Tza(d.baseUrl);if(!e)return;d=new g.IG({is_translateable:!!d.isTranslatable,languageCode:d.languageCode,languageName:d.name&&g.zA(d.name),url:e,vss_id:d.vssId,kind:d.kind});a.captionTracks.push(d)}a.GG=b.audioTracks||[];a.UN=b.defaultAudioTrackIndex||0;a.HG=b.translationLanguages?g.Pk(b.translationLanguages,function(f){return{languageCode:f.languageCode,languageName:g.zA(f.languageName)}}): +[]; +a.IB=!!b.contribute&&!!b.contribute.captionsMetadataRenderer}; +Xza=function(a,b){b=g.r(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.interstitials.map(function(h){var l=g.av(h,Vza);if(l)return{is_yto_interstitial:!0,raw_player_response:l};if(h=g.av(h,Wza))return Object.assign({is_yto_interstitial:!0},lu(h))}); +d=g.r(d);for(var e=d.next();!e.done;e=d.next())switch(e=e.value,c.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":a.interstitials=a.interstitials.concat({time:0,playerVars:e,Fl:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":a.interstitials=a.interstitials.concat({time:0x7ffffffffffff,playerVars:e,Fl:6});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME":var f=Number(c.podConfig.timeToInsertAtMillis);a.interstitials=a.interstitials.concat({time:f,playerVars:e, +Fl:0===f?5:7})}}}; +Yza=function(a,b){if(b=b.find(function(c){return!(!c||!c.tooltipRenderer)}))a.tooltipRenderer=b.tooltipRenderer}; +Zza=function(a,b){b.subscribeCommand&&(a.subscribeCommand=b.subscribeCommand);b.unsubscribeCommand&&(a.unsubscribeCommand=b.unsubscribeCommand);b.addToWatchLaterCommand&&(a.addToWatchLaterCommand=b.addToWatchLaterCommand);b.removeFromWatchLaterCommand&&(a.removeFromWatchLaterCommand=b.removeFromWatchLaterCommand);b.getSharePanelCommand&&(a.getSharePanelCommand=b.getSharePanelCommand)}; +cAa=function(a){var b=a.indexRange,c=a.initRange;b={itag:a.itag,url:a.url,index:b?b.start+"-"+b.end:"0-0",bitrate:a.bitrate,init:c?c.start+"-"+c.end:"0-0",type:a.mimeType,clen:a.contentLength,lmt:a.lastModified,xtags:a.xtags};if(c=a.audioTrack){var d=c.displayName;d&&(b.name=d,b.audio_track_id=c.id,c.audioIsDefault&&(b.isDefault="1"))}if(c=a.captionTrack)b.caption_display_name=c.displayName,b.caption_vss_id=c.vssId,b.caption_language_code=c.languageCode,b.caption_kind=c.kind;(c=g.av(a,$za)||a.signatureCipher)? +(c=lu(c),b.sp=c.sp,b.s=c.s,b.url=c.url):b.url=a.url;c=a.width;d=a.height;null!=c&&null!=d&&(b.size=c+"x"+d);(c=a.fps)&&(b.fps=c);(c=a.type)&&(b.stream_type=c);(c=a.projectionType)&&(b.projection_type=c);(c=a.stereoLayout)&&(b.stereo_layout=aAa[c]);(c=a.spatialAudioType)&&(b.spatial_audio_type=c);if(d=a.drmFamilies){c=[];d=g.r(d);for(var e=d.next();!e.done;e=d.next())c.push(QG[e.value]);b.drm_families=c.join(",")}(c=a.qualityLabel)&&(b.quality_label=c);(c=a.targetDurationSec)&&(b.target_duration_sec= +c);(c=a.maxDvrDurationSec)&&(b.max_dvr_duration_sec=c);(c=a.audioSampleRate)&&(b.audio_sample_rate=c);(c=a.audioChannels)&&(b.audio_channels=c);(c=Rza(a))&&(b.eotf=c);(c=a.colorInfo)&&(c=c.primaries)&&(c=bAa[c])&&(b.primaries=c);a.isDrc&&(b.drc="1");return g.ui(b)}; +RG=function(a,b){this.type=a||"";this.id=b||""}; +g.SG=function(a){return new RG(a.substr(0,2),a.substr(2))}; +g.TG=function(a,b){this.Oa=a;this.author="";this.vy=null;this.playlistLength=0;this.zE=this.sessionData=null;this.Zf={};this.title="";if(b){this.author=b.author||b.playlist_author||"";this.title=b.playlist_title||"";if(a=b.session_data)this.sessionData=ju(a,"&");var c;this.zE=(null==(c=b.thumbnail_ids)?void 0:c.split(",")[0])||null;this.Zf=MG(b,"playlist_");this.videoId=b.video_id||void 0;if(c=b.list)switch(b.listType){case "user_uploads":this.playlistId=(new RG("UU","PLAYER_"+c)).toString();break; +default:if(a=b.playlist_length)this.playlistLength=Number(a)||0;this.playlistId=g.SG(c).toString();if(b=b.video)this.videoId=(b[0]||null).video_id||void 0}else b.playlist&&(this.playlistLength=b.playlist.toString().split(",").length)}}; +g.UG=function(a,b){this.Oa=a;this.kp=this.author="";this.vy=null;this.isUpcoming=this.isLivePlayback=!1;this.lengthSeconds=0;this.Ls=this.lengthText="";this.sessionData=null;this.Zf={};this.title="";if(b){this.ariaLabel=b.aria_label||void 0;this.author=b.author||"";this.kp=b.kp||"";if(a=b.endscreen_autoplay_session_data)this.vy=ju(a,"&");this.wy=b.wy;this.isLivePlayback="1"===b.live_playback;this.isUpcoming=!!b.isUpcoming;if(a=b.length_seconds)this.lengthSeconds="string"===typeof a?Number(a):a;this.lengthText= +b.lengthText||"";this.Ls=b.Ls||"";this.publishedTimeText=b.publishedTimeText||void 0;if(a=b.session_data)this.sessionData=ju(a,"&");this.shortViewCount=b.short_view_count_text||void 0;this.Zf=MG(b);this.title=b.title||"";this.videoId=b.docid||b.video_id||b.videoId||b.id||void 0;this.watchUrl=b.watchUrl||void 0}}; +dAa=function(a,b,c,d){d={autonav:"1",playnext:String(d)};a.playlistId&&(d.autoplay="1");if(b){var e,f,h,l,m=null==(e=b.autoplay)?void 0:null==(f=e.autoplay)?void 0:null==(h=f.sets)?void 0:null==(l=h[0])?void 0:l.autoplayVideo;m&&((e=m.clickTrackingParams)&&(d.itct=e),e=g.av(m,g.VG))&&(a.JN=e)}else if(c){var n,p;(e=null==(m=c.nextButton)?void 0:null==(n=m.buttonRenderer)?void 0:null==(p=n.navigationEndpoint)?void 0:p.clickTrackingParams)&&(d.itct=e)}d.itct||(d.feature="related-auto");a.vy=d}; +eAa=function(a){this.j=a.playback_progress_0s_url;this.B=a.playback_progress_2s_url;this.u=a.playback_progress_10s_url}; +WG=function(){var a=fAa;var b=void 0===b?[]:b;var c=void 0===c?[]:c;b=Pka.apply(null,[Qka.apply(null,g.t(b))].concat(g.t(c)));this.store=Ska(a,void 0,b)}; +g.XG=function(a,b,c){for(var d=Object.assign({},a),e=g.r(Object.keys(b)),f=e.next();!f.done;f=e.next()){f=f.value;var h=a[f],l=b[f];if(void 0===l)delete d[f];else if(void 0===h)d[f]=l;else if(Array.isArray(l)&&Array.isArray(h))d[f]=c?[].concat(g.t(h),g.t(l)):l;else if(!Array.isArray(l)&&g.Pa(l)&&!Array.isArray(h)&&g.Pa(h))d[f]=g.XG(h,l,c);else if(typeof l===typeof h)d[f]=l;else return b=new g.Rv("Attempted to merge fields of differing types.",{name:"DeepMergeError",key:f,d3a:h,Ja:l}),g.qz(b),a}return d}; +YG=function(a){this.j=a;this.pos=0;this.u=-1}; +ZG=function(a){var b=aC(a.j,a.pos);++a.pos;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=aC(a.j,a.pos),++a.pos,d*=128,c+=(b&127)*d;return c}; +$G=function(a,b){var c=a.u;for(a.u=-1;a.pos+1<=a.j.totalLength;){0>c&&(c=ZG(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.u=c;break}c=-1;switch(e){case 0:ZG(a);break;case 1:a.pos+=8;break;case 2:d=ZG(a);a.pos+=d;break;case 5:a.pos+=4}}return!1}; +aH=function(a,b){if($G(a,b))return ZG(a)}; +gAa=function(a,b){if($G(a,b))return!!ZG(a)}; +bH=function(a,b){if($G(a,b)){b=ZG(a);var c=YB(a.j,a.pos,b);a.pos+=b;return c}}; +cH=function(a,b){if(a=bH(a,b))return g.gC(a)}; +hAa=function(a,b,c){if(a=bH(a,b))return c(new YG(new TB([a])))}; +dH=function(a,b){a=a instanceof Uint8Array?new TB([a]):a;return b(new YG(a))}; +iAa=function(){this.pos=0;this.u=[];this.j=new Uint8Array(4096);this.view=new DataView(this.j.buffer)}; +eH=function(a,b){b=a.pos+b;if(!(a.j.length>=b)){for(var c=2*a.j.length;cd;d++)a.view.setUint8(a.pos,c&127|128),c>>=7,a.pos+=1;b=Math.floor(b/268435456)}for(eH(a,4);127>=7,a.pos+=1;a.view.setUint8(a.pos,b);a.pos+=1}; +gH=function(a,b,c){void 0!==c&&(fH(a,b<<3|0),fH(a,c))}; +hH=function(a,b,c){void 0!==c&&gH(a,b,c?1:0)}; +iH=function(a,b,c){void 0!==c&&(fH(a,b<<3|2),b=c.length,fH(a,b),eH(a,b),a.j.set(c,a.pos),a.pos+=b)}; +jH=function(a,b,c){void 0!==c&&(jAa(a,b,Math.ceil(Math.log2(4*c.length+2)/7)),eH(a,1.2*c.length),b=iC(c,a.j.subarray(a.pos)),a.pos+b>a.j.length&&(eH(a,b),b=iC(c,a.j.subarray(a.pos))),a.pos+=b,kAa(a))}; +jAa=function(a,b,c){c=void 0===c?2:c;fH(a,b<<3|2);a.u.push(a.pos);a.u.push(c);a.pos+=c}; +kAa=function(a){for(var b=a.u.pop(),c=a.u.pop(),d=a.pos-c-b;b--;){var e=b?128:0;a.view.setUint8(c++,d&127|e);d>>=7}}; +kH=function(a,b,c,d,e){c&&(jAa(a,b,void 0===e?3:e),d(a,c),kAa(a))}; +lH=function(a,b){var c=new iAa;b(c,a);return new Uint8Array(c.j.buffer,0,c.pos)}; +g.mH=function(a){var b=new YG(new TB([Ec(decodeURIComponent(a))]));a=cH(b,2);b=aH(b,4);var c=lAa[b];if("undefined"===typeof c)throw a=new g.Rv("Failed to recognize field number",{name:"EntityKeyHelperError",I2a:b}),g.qz(a),a;return{cY:b,entityType:c,entityId:a}}; +g.nH=function(a,b){var c=new iAa;iH(c,2,gwa(a));a=mAa[b];if("undefined"===typeof a)throw b=new g.Rv("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:b}),g.qz(b),b;gH(c,4,a);gH(c,5,1);b=new Uint8Array(c.j.buffer,0,c.pos);return encodeURIComponent(g.Bc(b))}; +oH=function(a,b,c,d){if(void 0===d)return d=Object.assign({},a[b]||{}),c=(delete d[c],d),d={},Object.assign({},a,(d[b]=c,d));var e={},f={};return Object.assign({},a,(f[b]=Object.assign({},a[b],(e[c]=d,e)),f))}; +nAa=function(a,b,c,d,e){var f=a[b];if(null==f||!f[c])return a;d=g.XG(f[c],d,"REPEATED_FIELDS_MERGE_OPTION_APPEND"===e);e={};f={};return Object.assign({},a,(f[b]=Object.assign({},a[b],(e[c]=d,e)),f))}; +oAa=function(a,b){a=void 0===a?{}:a;switch(b.type){case "ENTITY_LOADED":return b.payload.reduce(function(d,e){var f,h=null==(f=e.options)?void 0:f.persistenceOption;if(h&&"ENTITY_PERSISTENCE_OPTION_UNKNOWN"!==h&&"ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST"!==h)return d;if(!e.entityKey)return g.qz(Error("Missing entity key")),d;if("ENTITY_MUTATION_TYPE_REPLACE"===e.type){if(!e.payload)return g.qz(new g.Rv("REPLACE entity mutation is missing a payload",{entityKey:e.entityKey})),d;var l=g.sf(e.payload); +return oH(d,l,e.entityKey,e.payload[l])}if("ENTITY_MUTATION_TYPE_DELETE"===e.type){e=e.entityKey;try{var m=g.mH(e).entityType;l=oH(d,m,e)}catch(q){if(q instanceof Error)g.qz(new g.Rv("Failed to deserialize entity key",{entityKey:e,originalMessage:q.message})),l=d;else throw q;}return l}if("ENTITY_MUTATION_TYPE_UPDATE"===e.type){if(!e.payload)return g.qz(new g.Rv("UPDATE entity mutation is missing a payload",{entityKey:e.entityKey})),d;l=g.sf(e.payload);var n,p;return nAa(d,l,e.entityKey,e.payload[l], +null==(n=e.fieldMask)?void 0:null==(p=n.mergeOptions)?void 0:p.repeatedFieldsMergeOption)}return d},a); +case "REPLACE_ENTITY":var c=b.payload;return oH(a,c.entityType,c.key,c.bY);case "REPLACE_ENTITIES":return Object.keys(b.payload).reduce(function(d,e){var f=b.payload[e];return Object.keys(f).reduce(function(h,l){return oH(h,e,l,f[l])},d)},a); +case "UPDATE_ENTITY":return c=b.payload,nAa(a,c.entityType,c.key,c.bY,c.X2a);default:return a}}; +qAa=function(a,b){var c=g.Ha("ytDebugData.callbacks");c||(c={},g.Fa("ytDebugData.callbacks",c));if(g.T("web_dd_iu")||pAa.includes(a))c[a]=b}; +pH=function(a){this.j=new Fo(a)}; +rAa=function(){if(void 0===qH){try{window.localStorage.removeItem("yt-player-lv")}catch(b){}a:{try{var a=!!self.localStorage}catch(b){a=!1}if(a&&(a=g.Po(g.Sv()+"::yt-player"))){qH=new pH(a);break a}qH=void 0}}return qH}; +g.rH=function(){var a=rAa();if(!a)return{};try{var b=a.get("yt-player-lv");return JSON.parse(b||"{}")}catch(c){return{}}}; +g.sAa=function(a){var b=rAa();b&&(a=JSON.stringify(a),b.set("yt-player-lv",a))}; +g.sH=function(a){return g.rH()[a]||0}; +g.tH=function(a,b){var c=g.rH();b!==c[a]&&(0!==b?c[a]=b:delete c[a],g.sAa(c))}; +g.uH=function(a){return g.z(function(b){return b.return(g.vw(tAa(),a))})}; +xH=function(a,b,c,d,e,f,h,l,m){var n,p,q,v,w,y;return g.z(function(A){switch(A.j){case 1:return n=g.sH(a),4===n?A.return(4):g.x(A,g.Cw(),2);case 2:p=A.u;if(!p)throw g.aw("wiac");if(!m||void 0===l){A.Ma(3);break}return g.x(A,uAa(m,l),4);case 4:l=A.u;case 3:return q=c.lastModified||"0",g.x(A,g.uH(p),5);case 5:return v=A.u,g.ra(A,6),vH++,g.x(A,g.kw(v,["index","media"],{mode:"readwrite",tag:"IDB_TRANSACTION_TAG_WIAC",Ub:!0},function(B){if(void 0!==h&&void 0!==l){var E=""+a+"|"+b.id+"|"+q+"|"+String(h).padStart(10, +"0");E=g.lw(B.objectStore("media"),l,E)}else E=g.cw.resolve(void 0);var G=vAa(a,b.isVideo()),H=vAa(a,!b.isVideo()),I={fmts:wAa(d),format:c||{}};G=g.lw(B.objectStore("index"),I,G);var O=-1===d.downloadedEndTime;I=O?B.objectStore("index").get(H):g.cw.resolve(void 0);var L={fmts:"music",format:{}};B=O&&e&&!b.isVideo()?g.lw(B.objectStore("index"),L,H):g.cw.resolve(void 0);return f?g.cw.all([B,I,E,G]).then(function(P){P=g.r(P);P.next();P=P.next().value;vH--;var S=g.sH(a);if(4!==S&&O&&e||void 0!==P&&g.wH(P.fmts))S= +1,g.tH(a,S);return S}):g.cw.all([I, +E,G]).then(function(P){P=g.r(P).next().value;vH--;var S=g.sH(a);4!==S&&O&&void 0!==P&&g.wH(P.fmts)&&(S=1,g.tH(a,S));return S})}),8); +case 8:return A.return(A.u);case 6:w=g.va(A);vH--;y=g.sH(a);if(4===y)return A.return(y);g.tH(a,4);throw w;}})}; +g.xAa=function(a){var b,c;return g.z(function(d){if(1==d.j)return g.x(d,g.Cw(),2);if(3!=d.j){b=d.u;if(!b)throw g.aw("ri");return g.x(d,g.uH(b),3)}c=d.u;return d.return(g.kw(c,["index"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRI"},function(e){var f=IDBKeyRange.bound(a+"|",a+"~");return g.vna(e.objectStore("index"),f).then(function(h){return h.map(function(l){return l?l.format:{}})})}))})}; +AAa=function(a,b,c,d,e){var f,h,l;return g.z(function(m){if(1==m.j)return g.x(m,g.Cw(),2);if(3!=m.j){f=m.u;if(!f)throw g.aw("rc");return g.x(m,g.uH(f),3)}h=m.u;l=g.kw(h,["media"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRM",Ub:yAa},function(n){var p=""+a+"|"+b+"|"+c+"|"+String(d).padStart(10,"0");return n.objectStore("media").get(p)}); +return e?m.return(l.then(function(n){if(void 0===n)throw Error("No data from indexDb");return zAa(e,n)}).catch(function(n){throw new g.Rv("Error while reading chunk: "+n.name+", "+n.message); +})):m.return(l)})}; +g.wH=function(a){return a?"music"===a?!0:a.includes("dlt=-1")||!a.includes("dlt="):!1}; +vAa=function(a,b){return""+a+"|"+(b?"v":"a")}; +wAa=function(a){var b={};return ku((b.dlt=a.downloadedEndTime.toString(),b.mket=a.maxKnownEndTime.toString(),b.avbr=a.averageByteRate.toString(),b))}; +CAa=function(a){var b={},c={};a=g.r(a);for(var d=a.next();!d.done;d=a.next()){var e=d.value,f=e.split("|");e.match(g.BAa)?(d=Number(f.pop()),isNaN(d)?c[e]="?":(f=f.join("|"),(e=b[f])?(f=e[e.length-1],d===f.end+1?f.end=d:e.push({start:d,end:d})):b[f]=[{start:d,end:d}])):c[e]="?"}a=g.r(Object.keys(b));for(d=a.next();!d.done;d=a.next())d=d.value,c[d]=b[d].map(function(h){return h.start+"-"+h.end}).join(","); +return c}; +DAa=function(a){if(a=a.commonConfig)this.url=a.url,this.urlQueryOverride=a.urlQueryOverride,a.ustreamerConfig&&(this.QA=wF(a.ustreamerConfig)||void 0)}; +yH=function(a){g.cz.call(this);this.j=null;this.B=new So;this.j=null;this.J=new Set;this.D=a||""}; +EAa=function(a,b,c){for(c=zH(a,c);0<=c;){var d=a.levels[c];if(d.isLoaded(AH(d,b))&&(d=g.BH(d,b)))return d;c--}return g.BH(a.levels[0],b)}; +GAa=function(a,b,c){c=zH(a,c);for(var d,e;0<=c;c--)if(d=a.levels[c],e=AH(d,b),!d.isLoaded(e)){d=a;var f=c,h=f+"-"+e;d.J.has(h)||(d.J.add(h),d.B.enqueue(f,{bQ:f,rQ:e}))}FAa(a)}; +FAa=function(a){if(!a.j&&!a.B.isEmpty()){var b=a.B.remove();a.j=HAa(a,b)}}; +HAa=function(a,b){var c=document.createElement("img");a.D&&(c.crossOrigin=a.D);c.src=a.levels[b.bQ].pe(b.rQ);c.onload=function(){var d=b.bQ,e=b.rQ;null!==a.j&&(a.j.onload=null,a.j=null);d=a.levels[d];d.loaded.add(e);FAa(a);var f=d.columns*d.rows;e*=f;d=Math.min(e+f-1,d.jB()-1);e=[e,d];a.X("l",e[0],e[1])}; +return c}; +g.CH=function(a,b,c,d){this.level=a;this.C=b;this.loaded=new Set;this.level=a;this.C=b;a=c.split("#");this.width=Math.floor(Number(a[0]));this.height=Math.floor(Number(a[1]));this.frameCount=Math.floor(Number(a[2]));this.columns=Math.floor(Number(a[3]));this.rows=Math.floor(Number(a[4]));this.j=Math.floor(Number(a[5]));this.B=a[6];this.signature=a[7];this.videoLength=d}; +AH=function(a,b){return Math.floor(b/(a.columns*a.rows))}; +g.BH=function(a,b){b>=a.DF()&&a.Cu();var c=AH(a,b),d=a.columns*a.rows,e=b%d;b=e%a.columns;e=Math.floor(e/a.columns);var f=a.Cu()+1-d*c;if(f=b)return a.C.set(b,d),d;a.C.set(b,c-1);return c-1}; +EH=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.CH.call(this,a,b,c,0);this.u=null;this.D=d?2:0}; +FH=function(a,b,c,d){DH.call(this,a,0,void 0,b,!(void 0===d||!d));for(a=0;aMath.random()){for(var Hh=!1,Ee=g.r(a.suggestions),sg=Ee.next();!sg.done;sg=Ee.next())if(sg.value.videoId===Qc.videoId){Hh=!0;break}Hh||g.rz(new g.Rv("Autonav video not in endscreen", +{empty:!a.suggestions.length}))}a.Pk=Qc;a.K("web_player_decouple_autonav")||(a.suggestions[0]=Qc)}null!=nc.countDownSecs&&(a.TR=1E3*nc.countDownSecs);null!=nc.countDownSecsForFullscreen&&(a.UI=0<=nc.countDownSecsForFullscreen?1E3*nc.countDownSecsForFullscreen:-1);var Mg;a.X4=null==(Mg=nc.cancelButton)?void 0:Mg.buttonRenderer}a.watchNextResponse.currentVideoThumbnail&&(a.Zf=NG(a.watchNextResponse.currentVideoThumbnail));if(!a.K("player_parse_profile_picture_from_watch_next_killswitch")){var Ng,aj, +jh,hf,Vc,wf=null==(Ng=a.watchNextResponse)?void 0:null==(aj=Ng.contents)?void 0:null==(jh=aj.twoColumnWatchNextResults)?void 0:null==(hf=jh.results)?void 0:null==(Vc=hf.results)?void 0:Vc.contents;if(wf&&wf[1]){var xf,Og,tg,Db,bj=null==(xf=wf[1].videoSecondaryInfoRenderer)?void 0:null==(Og=xf.owner)?void 0:null==(tg=Og.videoOwnerRenderer)?void 0:null==(Db=tg.thumbnail)?void 0:Db.thumbnails;bj&&bj.length&&(a.profilePicture=bj[bj.length-1].url)}}var ji=a.watchNextResponse.onResponseReceivedEndpoints; +if(ji)for(var Uk=g.r(ji),Kj=Uk.next();!Kj.done;Kj=Uk.next()){var kh=Kj.value;g.av(kh,SH)&&(a.aN=g.av(kh,SH));var zf=g.av(kh,mBa),cj=void 0;a.K("web_key_moments_markers")&&(null==(cj=zf)?0:cj.entityKeys)&&(a.Pq=zf.entityKeys,zf.visibleOnLoadKeys&&(a.visibleOnLoadKeys=zf.visibleOnLoadKeys))}if(a.K("web_key_moments_markers")){var Cn=g.TH.getState().entities,Lj=g.nH("visibility_override","markersVisibilityOverrideEntity");var Id=Cn.markersVisibilityOverrideEntity?Cn.markersVisibilityOverrideEntity[Lj]|| +null:null;var Pg=a.videoId||jv(b);a.Dd=(null==Id?void 0:Id.videoId)===Pg&&(null==Id?0:Id.visibilityOverrideMarkersKey)?Id.visibilityOverrideMarkersKey:a.visibleOnLoadKeys;a.visibleOnLoadKeys=[].concat(g.t(a.Dd))}}}; +PH=function(a){var b;return void 0!==(null==(b=a.autoplaySwitchButtonRenderer)?void 0:b.enabled)}; +UH=function(a){return!!(a.B&&a.B.videoInfos&&a.B.videoInfos.length)}; +XH=function(a){if(a.K("html5_single_format_policy")&&a.Ed)return a.Ed;var b=a.Ea,c=!!a.j&&a.j.nf,d=a.Oa,e=a.yI(),f=VH(a),h=a.CH,l=a.isOtf(),m=a.sG(),n=a.Cb,p=a.qg,q=new oya(d);if(xG(d)||d.K("html5_logging_format_selection"))q.B=!0;q.eb=f;q.Ea=h&&d.C;q.qg=p;Ou("windows nt 5.1")&&!g.pB&&(q.j=!0);if(f=e)f=d.K("disable_html5_ambisonic_audio")||!(g.sG(d)||d.K("html5_enable_spherical")||d.K("html5_enable_spherical3d"))?!1:sza(d);f&&(q.Ya=!0);b&&(q.j=!0,q.yc=!0);l&&!d.K("html5_otf_prefer_vp9")&&(q.j=!0); +n&&(q.j=!0);b=d.K("html5_ugc_vod_audio_51")&&!c;l=d.K("html5_ugc_live_audio_51")&&c;q.La=b||l;FB(d.j,GB.CHANNELS)&&(d.K("html5_enable_aac51")&&(q.ra=!0),d.K("html5_enable_ac3")&&(q.D=!0),d.K("html5_enable_eac3")&&(q.I=!0),d.K("html5_enable_ac3_gapless")&&(q.Ha=!0));d.K("html5_block_8k_hfr")&&(q.ub=!0);q.J=g.TE(d.experiments,"html5_max_selectable_quality_ordinal");q.N=g.TE(d.experiments,"html5_min_selectable_quality_ordinal");!d.K("html5_kaios_hd_killswitch")&&JF&&(q.Lc=480);if(c||e)q.gb=!1;q.Cb=!1; +c=KE(d,q.u);0c&&(oE()||d.K("html5_format_hybridization"))&&(q.u.supportsChangeType=+oE(),q.W=c);2160<=c&&(q.qa=!0);mya()&&(q.u.serveVp9OverAv1IfHigherRes=0,q.zc=!1);q.sG=m;q.Ua=g.yw||$u()&&!m?!1:!0;q.va=d.K("html5_format_hybridization");q.Kb=d.K("html5_disable_encrypted_vp9_live_non_2k_4k");Ru()&&a.playerResponse&&a.playerResponse.playerConfig&&a.playerResponse.playerConfig.webPlayerConfig&&a.playerResponse.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(q.D=!0,q.I=!0);a.Ea&& +a.isAd()&&(a.Rr&&(q.Y=a.Rr),a.jr&&(q.C=a.jr));q.Ra=a.isLivePlayback&&WH(a)&&a.Oa.K("html5_drm_live_audio_51");return a.Ed=q}; +nBa=function(a){XA("drm_pb_s",void 0,a.va);a.Ya||a.j&&IB(a.j);var b={};a.j&&(b=Iva(XH(a),a.Oa.j,a.j,function(c){return a.X("ctmp","fmtflt",c)},!0)); +b=new WE(b,a.Oa.experiments,a.SP,a.useCobaltWidevine?Ru()?YH(a):!1:!1,function(c,d){a.ma(c,d)}); +g.M(a,b);a.Rl=!1;a.qa=!0;sya(b,function(c){XA("drm_pb_f",void 0,a.va);for(var d=g.r(c),e=d.next();!e.done;e=d.next())switch(e=e.value,e.flavor){case "fairplay":e.Ya=a.Ya;e.Ut=a.Ut;e.Tt=a.Tt;break;case "widevine":e.Hk=a.Hk}a.ju=c;if(0p&&(p=w.zg().audio.numChannels)}2=a.B.videoInfos.length)&&(b=UD(a.B.videoInfos[0]),b!=("fairplay"==a.N.flavor)))for(c=g.r(a.ju),d=c.next();!d.done;d=c.next())if(d=d.value,b==("fairplay"==d.flavor)){a.N=d;break}}; +bI=function(a,b){a.zc=b;yBa(a,new zB(g.Pk(a.zc,function(c){return c.zg()})))}; +zBa=function(a){var b={cpn:a.clientPlaybackNonce,c:a.Oa.deviceParams.c,cver:a.Oa.deviceParams.cver};a.Rq&&(b.ptk=a.Rq,b.oid=a.iN,b.ptchn=a.hN,b.pltype=a.jN,a.Ot&&(b.m=a.Ot));return b}; +g.cI=function(a){return MH(a)&&a.Ya?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.u&&a.u.Td||null}; +ABa=function(a){var b=a.playerResponse&&a.playerResponse.paidContentOverlay&&a.playerResponse.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.zA(b.text):a.paidContentOverlayText}; +dI=function(a){var b=a.playerResponse&&a.playerResponse.paidContentOverlay&&a.playerResponse.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Yg(b.durationMs):a.paidContentOverlayDurationMs}; +eI=function(a){var b="";if(a.iF)return a.iF;a.isLivePlayback&&(b=a.allowLiveDvr?"dvr":a.isPremiere?"lp":a.xf?"post":a.Li?"window":"live");return b}; +g.fI=function(a,b){return"string"!==typeof a.keywords[b]?null:a.keywords[b]}; +gI=function(a){return!!(a.gb||a.adaptiveFormats||a.Bk||a.Ak||a.hlsvp)}; +IH=function(a){if(a.K("html5_onesie")&&a.errorCode)return!1;var b=g.Wb(a.W,"ypc");a.ypcPreview&&(b=!1);return a.isValid()&&!a.qa&&(gI(a)||g.Wb(a.W,"heartbeat")||b)}; +$H=function(a,b){a=mu(a);var c={};if(b){b=g.r(b.split(","));for(var d=b.next();!d.done;d=b.next())(d=d.value.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(c[d[1]]={width:d[2],height:d[3]})}b=g.r(a);for(d=b.next();!d.done;d=b.next()){d=d.value;var e=c[d.itag];e&&(d.width=e.width,d.height=e.height)}return a}; +hBa=function(a,b){a.showShareButton=!!b;var c,d,e=(null==(c=g.av(b,QH))?void 0:c.navigationEndpoint)||(null==(d=g.av(b,QH))?void 0:d.command);e&&(a.Yl=!!g.av(e,BBa))}; +LAa=function(a,b){var c=b.raw_embedded_player_response;if(!c){var d=b.embedded_player_response;d&&(c=JSON.parse(d))}c&&(a.Jh=c);if(a.Jh){if(c=a.Jh.videoFlags)c.playableInEmbed&&(a.allowEmbed=!0),c.isPrivate&&(a.isPrivate=!0),c.userDisplayName&&(b.user_display_name=c.userDisplayName),c.userDisplayImage&&(b.user_display_image=c.userDisplayImage),c.isShortsEligible&&(a.isShortsEligible=c.isShortsEligible);if(c=a.Jh.embedPreview){c=c.thumbnailPreviewRenderer;d=c.controlBgHtml;null!=d?(a.Ua=d,a.C=!0,a.Oa.K("embeds_web_enable_epm_dni_parity_fix")&& +(a.Oa.W="EMBEDDED_PLAYER_MODE_PFP")):(a.Ua="",a.C=!1,a.Oa.K("embeds_web_enable_epm_dni_parity_fix")&&"EMBEDDED_PLAYER_MODE_PFP"===a.Oa.W&&(a.Oa.W="EMBEDDED_PLAYER_MODE_DEFAULT"));if(d=c.defaultThumbnail)a.Zf=NG(d),a.sampledThumbnailColor=d.sampledThumbnailColor;(d=g.av(null==c?void 0:c.videoDetails,CBa))&&kBa(a,b,d);if(d=g.av(null==c?void 0:c.videoDetails,DBa))a.EL=d.title,a.DL=d.byline,d.musicVideoType&&(a.musicVideoType=d.musicVideoType);a.zi=!!c.addToWatchLaterButton;hBa(a,c.shareButton);var e, +f;if(d=g.av(null==c?void 0:null==(e=c.playButton)?void 0:null==(f=e.buttonRenderer)?void 0:f.navigationEndpoint,g.VG))$Aa(a,d),a.videoId=d.videoId||a.videoId;c.videoDurationSeconds&&(a.lengthSeconds=Yg(c.videoDurationSeconds));c.webPlayerActionsPorting&&Zza(a,c.webPlayerActionsPorting);if(e=g.av(null==c?void 0:c.playlist,EBa)){f=[];c=Number(e.currentIndex);if(e.contents){d=0;for(var h=e.contents.length;d(b?parseInt(b[1],10):NaN);c=a.Oa;c=("TVHTML5_CAST"===aG(c)||"TVHTML5"===aG(c)&&(c.deviceParams.cver.startsWith("6.20130725")||c.deviceParams.cver.startsWith("6.20130726")))&&"MUSIC"===a.Oa.deviceParams.ctheme;!a.rg&&(c||rza(a.Oa))&& +!b&&(b="MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"===a.musicVideoType,c=(a.K("cast_prefer_audio_only_for_atv_and_uploads")||a.K("kabuki_pangea_prefer_audio_only_for_atv_and_uploads"))&&"MUSIC_VIDEO_TYPE_ATV"===a.musicVideoType,b||c)&&(a.rg=!0);return a.Oa.deviceIsAudioOnly||a.rg&&a.Oa.C}; +OBa=function(a){return isNaN(a)?0:Math.max((Date.now()-a)/1E3-30,0)}; +vI=function(a){return!(!a.Jl||!a.Oa.C)&&!!a.adaptiveFormats}; +PBa=function(a){return a.enablePreroll&&a.enableServerStitchedDai}; +YAa=function(a){var b;if(b=!!a.cotn)b=a.videoId,b=!!b&&1===g.sH(b);return b&&!a.Jl}; +g.wI=function(a){if(!a.j||!a.u||!a.D)return!1;var b=a.j.j;return!!b[a.u.id]&&OB(b[a.u.id].u.j)&&!!b[a.D.id]&&OB(b[a.D.id].u.j)}; +FBa=function(a){return(a=a.Kl)&&a.showError?a.showError:!1}; +ZH=function(a,b){return a.K(b)?!0:(a.fflags||"").includes(b+"=true")}; +QBa=function(a){return(a=/html5_log_experiment_id_from_player_response_to_ctmp=([0-9]+)/.exec(a.fflags))?a[1]:null}; +QAa=function(a,b){b.inlineMetricEnabled&&(a.inlineMetricEnabled=!0);b.playback_progress_0s_url&&(a.nu=new eAa(b));if(b=b.video_masthead_ad_quartile_urls)a.TF=b.quartile_0_url,a.qN=b.quartile_25_url,a.rN=b.quartile_50_url,a.sN=b.quartile_75_url,a.pN=b.quartile_100_url,a.mu=b.quartile_0_urls,a.WF=b.quartile_25_urls,a.XF=b.quartile_50_urls,a.YF=b.quartile_75_urls,a.VF=b.quartile_100_urls}; +LH=function(a,b){return b?ZE(a.Oa.j)?!0:xI&&5>yI?!1:!0:!1}; +PAa=function(a){var b={};a=g.r(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.split("=");2==d.length?b[d[0]]=d[1]:b[c]=!0}return b}; +Tza=function(a){if(a){if(Xua(a))return a;a=Yua(a);if(Xua(a,!0))return a}return""}; +g.RBa=function(a){return a.captionsLanguagePreference||a.Oa.captionsLanguagePreference||g.fI(a,"yt:cc_default_lang")||a.Oa.pg}; +zI=function(a){return!!(a.K("enable_linear_player_handling")&&a.isLivePlayback&&a.hasProgressBarBoundaries())}; +g.AI=function(a){if(a.K("web_player_decouple_autonav")){var b;return a.Pk||(null==(b=a.suggestions)?void 0:b[0])||null}var c;return(null==(c=a.suggestions)?void 0:c[0])||null}; +BI=function(a,b){this.j=a;this.W=b||{};this.I=String(Math.floor(1E9*Math.random()));this.D={};this.V=this.N=0}; +SBa=function(a){return CI(a)&&1==a.getPlayerState(2)}; +CI=function(a){a=a.Fc();return void 0!==a&&2==a.getPlayerType()}; +DI=function(a){a=a.R();return bG(a)&&!g.nG(a)&&"desktop-polymer"==a.playerStyle}; +EI=function(a,b){var c=a.R();RF(c)||"3"!=c.controlsType||a.Za().oA(b)}; +GI=function(a,b,c,d,e,f){c=void 0===c?{}:c;this.componentType=a;this.renderer=void 0===b?null:b;this.macros=c;this.layoutId=d;this.j=e;this.u=f;this.id=FI(a)}; +FI=function(a){return a+(":"+(To.getInstance().j++).toString(36))}; +HI=function(a){this.U=a}; +TBa=function(a,b){if(0===b||1===b&&(a.U.isMobile&&g.Zv?0:a.U.isMobile||g.nG(a.U)||g.cG(a.U)||dG(a.U)||!g.Zv))return!0;a=g.eh("video-ads");return null!=a&&"none"!==Bl(a,"display")}; +UBa=function(a){switch(a){case "audio_audible":return"adaudioaudible";case "audio_measurable":return"adaudiomeasurable";case "fully_viewable_audible_half_duration_impression":return"adfullyviewableaudiblehalfdurationimpression";case "measurable_impression":return"adactiveviewmeasurable";case "overlay_unmeasurable_impression":return"adoverlaymeasurableimpression";case "overlay_unviewable_impression":return"adoverlayunviewableimpression";case "overlay_viewable_end_of_session_impression":return"adoverlayviewableendofsessionimpression"; +case "overlay_viewable_immediate_impression":return"adoverlayviewableimmediateimpression";case "viewable_impression":return"adviewableimpression";default:return null}}; +II=function(){g.cz.call(this);var a=this;this.j={};g.cf(this,function(){for(var b=g.r(Object.keys(a.j)),c=b.next();!c.done;c=b.next())delete a.j[c.value]})}; +KI=function(){if(null===JI){JI=new II;Rk(On).u="b";var a=Rk(On),b="h"==Hn(a)||"b"==Hn(a),c=!(Yk(),!1);b&&c&&(a.D=!0,a.I=new Pia)}return JI}; +VBa=function(a,b,c){a.j[b]=c}; +WBa=function(){}; +LI=function(a,b,c){this.j=a;this.D=b;this.B=c;this.u=b.length;this.adBreakLengthSeconds=b.reduce(function(d,e){return d+e},0); +c=0;for(a+=1;a=c*a.u.fF||d)&&iJ(a,"first_quartile");(b>=c*a.u.ZF||d)&&iJ(a,"midpoint");(b>=c*a.u.bG||d)&&iJ(a,"third_quartile")}; +oCa=function(a,b,c,d){d=void 0===d?!1:d;(b>=c*a.u.fF||d)&&iJ(a,"unmuted_first_quartile");(b>=c*a.u.ZF||d)&&iJ(a,"unmuted_midpoint");(b>=c*a.u.bG||d)&&iJ(a,"unmuted_third_quartile")}; +mJ=function(a,b,c,d){if(null==a.lastUpdatedTimeSecs){if(cd||d>c)return;iJ(a,b)}; +lCa=function(a,b,c){if(0m.I&&m.Zi()}}; +xCa=function(a,b){if(a.J&&a.W){a.W=!1;var c=a.B.j;if(DJ(c)){var d=c.slot;c=c.layout;b=vCa(b);a=g.r(a.J.listeners);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=d,h=c,l=b;GJ(e.j(),f,h,l);wCa(e.j(),f)}}else g.rz(Error("adMessageRenderer is not augmented on termination"))}}; +vCa=function(a){switch(a){case "adabandonedreset":return"user_cancelled";case "adended":return"normal";case "aderror":return"error";case void 0:return g.rz(Error("AdNotify abandoned")),"abandoned";default:return g.rz(Error("Unexpected eventType for adNotify exit")),"abandoned"}}; +g.HJ=function(a,b){for(var c={},d=g.r(Object.keys(b)),e=d.next();!e.done;c={WE:c.WE},e=d.next())e=e.value,c.WE=b[e],a=a.replace(new RegExp("\\$"+e,"gi"),function(f){return function(){return f.WE}}(c)); +return a}; +IJ=function(a,b,c,d){this.j=a;this.C=b;this.u=$I(c);this.B=d}; +yCa=function(a){for(var b={},c=g.r(Object.keys(a.u)),d=c.next();!d.done;d=c.next())d=d.value,b[d]=a.u[d].toString();return Object.assign(b,a.C)}; +zCa=function(a,b,c,d){new IJ(a,b,c,d)}; +JJ=function(a,b,c,d,e,f,h,l,m){vJ.call(this,a,b,c,d,e,1);var n=this;this.UC=!0;this.J=m;this.B=b;this.D=f;this.W=new $y(this);g.M(this,this.W);this.I=new g.Zn(function(){n.Jm("load_timeout")},1E4); +g.M(this,this.I);this.V=h}; +ACa=function(a){if(a.V&&(a.G.R().experiments.fb("enable_topsoil_wta_for_halftime")||a.G.R().experiments.fb("enable_topsoil_wta_for_halftime_live_infra"))){var b=a.B.B,c=b.C,d=b.B,e=b.j;b=b.D;if(void 0===c)g.qz(Error("Expected ad break start time when a DAI ad starts"));else if(void 0===d)g.qz(Error("Expected ad break end time when a DAI ad starts"));else return e=b.slice(0,e).reduce(function(f,h){return f+h},0),Math.min(Math.max((d-c)/1E3-e,0),a.B.u)}}; +MJ=function(a,b){if(null!==a.J){var c=BCa(a);a=g.r(a.J.listeners);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=c;var f=b,h=!1;d.j||"aderror"!==f||(CCa(d,e,[],!1),DCa(d.B(),d.u),ECa(d.B(),d.u),FCa(d.B(),d.u),h=!0);if(d.j&&d.j.layoutId===e){switch(f){case "adabandoned":e="abandoned";break;case "aderror":e="error";break;default:e="normal"}GJ(d.B(),d.u,d.j,e);if(h){e=d.B();h=d.u;KJ(e.dc,"ADS_CLIENT_EVENT_TYPE_SLOT_UNSCHEDULED",h);e=g.r(e.Md);for(f=e.next();!f.done;f=e.next())f.value.vj(h);wCa(d.B(), +d.u)}d.Da.get().G.R().K("html5_send_layout_unscheduled_signal_for_externally_managed")&&d.C&&LJ(d.B(),d.u,d.j);d.u=null;d.j=null;d.C=!1}}}}; +NJ=function(a){return(a=a.G.getVideoData(2))?a.clientPlaybackNonce:""}; +BCa=function(a){if(a=a.B.j.elementId)return a;g.qz(Error("No elementId on VideoAd InstreamVideoAdRenderer"));return""}; +GCa=function(a){function b(h,l){h=a.h3;var m=Object.assign({},{});m.FINAL=ZI(Xf("1"));m.SLOT_POS=ZI(Xf("0"));return bJ(h,aJ(m),l)} +function c(h){return null==h?{create:function(){return null}}:{create:function(l,m,n){var p=b(l,m); +m=a.mL(l,p);l=h(l,p,m,n);g.M(l,m);return l}}} +var d=c(function(h,l,m){return new yJ(a.G,h,l,m,a.Ay,a.bb)}),e=c(function(h,l,m){return new FJ(a.G,h,l,m,a.Ay,a.bb,a.il,a.zo)}),f=c(function(h,l,m){return new BJ(a.G,h,l,m,a.Ay,a.bb)}); +this.JW=new tCa({create:function(h,l){var m=bJ(b(h,l),aJ(fCa(h)));l=a.mL(h,m);h=new JJ(a.G,h,m,l,a.Ay,a.bb,a.daiEnabled,function(){return new zCa(a.bb,m,a.G,a.jk)},a.Ao,a.oh); +g.M(h,l);return h}},d,e,f)}; +OJ=function(a,b){this.u=a;this.j={};this.B=void 0===b?!1:b}; +HCa=function(a,b){var c=a.startSecs+a.durationSecs;c=0>=c?null:c;if(null===c)return null;switch(a.event){case "start":case "continue":case "stop":break;case "predictStart":if(b)break;return null;default:return null}b=Math.max(a.startSecs,0);return{FX:new zo(b,c),uZ:new kA(b,c-b,a.context,a.identifier,a.event,a.j)}}; +PJ=function(){this.j=[]}; +QJ=function(a,b,c){var d=g.kc(a.j,b);if(0<=d)return b;b=-d-1;return b>=a.j.length||a.j[b]>c?null:a.j[b]}; +ICa=function(){this.j=new PJ}; +RJ=function(a){this.j=a}; +JCa=function(a){a=[a,a.C].filter(function(d){return!!d}); +for(var b=g.r(a),c=b.next();!c.done;c=b.next())c.value.deactivate();return a}; +KCa=function(a,b,c){this.B=a;this.u=b;this.j=c;a.getCurrentTime()}; +LCa=function(a,b,c){a.j&&SJ({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.u}})}; +MCa=function(a,b){a.j&&SJ({adTrimmingInfo:{contentCpn:a.u,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.VW}})}; +NCa=function(a,b){SJ({daiStateTrigger:{errorType:a,contentCpn:b}})}; +SJ=function(a){g.Mv("adsClientStateChange",a)}; +TJ=function(a){this.G=a;this.adVideoId=this.j=this.videoId=this.adCpn=this.contentCpn=null;this.C=!0;this.u=this.Ue=!1;this.adFormat=null;this.B="AD_PLACEMENT_KIND_UNKNOWN";this.actionType="unknown_type";this.videoStreamType="VIDEO_STREAM_TYPE_VOD"}; +PCa=function(a,b,c,d,e,f){f();var h=a.G.getVideoData(1),l=a.G.getVideoData(2);h&&(a.contentCpn=h.clientPlaybackNonce,a.videoId=h.videoId,a.j=h.I);l&&(a.adCpn=l.clientPlaybackNonce,a.adVideoId=l.videoId,a.adFormat=l.adFormat);a.B=b;0>=d?f():(a.actionType=a.C?c?"unknown_type":"video_to_ad":c?"ad_to_video":"ad_to_ad",a.videoStreamType=e?"VIDEO_STREAM_TYPE_LIVE":"VIDEO_STREAM_TYPE_VOD","unknown_type"!==a.actionType&&(a.Ue=!0,(a.G.K("send_csi_info_for_ad_to_video_killswitch")||lB("_start",a.actionType))&& +OCa(a)))}; +OCa=function(a){if(a.Ue)if(a.G.K("html5_no_video_to_ad_on_preroll_reset")&&"AD_PLACEMENT_KIND_START"===a.B&&"video_to_ad"===a.actionType)VA("video_to_ad");else if(a.G.K("web_csi_via_jspb")){var b=new zt;g.D(b,21,QCa(a.B));g.D(b,7,4);var c=new wt;g.D(c,8,2);F(b,wt,22,c);g.D(b,53,a.videoStreamType);"ad_to_video"===a.actionType?(a.contentCpn&&g.D(b,76,a.contentCpn),a.videoId&&g.D(b,78,a.videoId)):(a.adCpn&&g.D(b,76,a.adCpn),a.adVideoId&&g.D(b,78,a.adVideoId));c=Ava(a.actionType);a.adFormat&&!c&&g.D(b, +12,a.adFormat);a.contentCpn&&g.D(b,8,a.contentCpn);a.videoId&&b.setVideoId(a.videoId);a.adCpn&&g.D(b,28,a.adCpn);a.adVideoId&&g.D(b,20,a.adVideoId);kB(b,a.actionType)}else b={adBreakType:RCa(a.B),playerType:"LATENCY_PLAYER_HTML5",playerInfo:{preloadType:"LATENCY_PLAYER_PRELOAD_TYPE_PREBUFFER"},videoStreamType:a.videoStreamType},"ad_to_video"===a.actionType?(a.contentCpn&&(b.targetCpn=a.contentCpn),a.videoId&&(b.targetVideoId=a.videoId)):(a.adCpn&&(b.targetCpn=a.adCpn),a.adVideoId&&(b.targetVideoId= +a.adVideoId)),c=Ava(a.actionType),a.adFormat&&!c&&(b.adType=a.adFormat),a.contentCpn&&(b.clientPlaybackNonce=a.contentCpn),a.videoId&&(b.videoId=a.videoId),a.adCpn&&(b.adClientPlaybackNonce=a.adCpn),a.adVideoId&&(b.adVideoId=a.adVideoId),YA(b,a.actionType)}; +RCa=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return"LATENCY_AD_BREAK_TYPE_PREROLL";case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return"LATENCY_AD_BREAK_TYPE_MIDROLL";case "AD_PLACEMENT_KIND_END":return"LATENCY_AD_BREAK_TYPE_POSTROLL";default:return"LATENCY_AD_BREAK_TYPE_UNKNOWN"}}; +QCa=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return 1;case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return 2;case "AD_PLACEMENT_KIND_END":return 3;default:return 0}}; +g.TCa=function(a){return(a=SCa[a.toString()])?a:"LICENSE"}; +UJ=function(){var a=this;this.j=this.u=qaa;this.promise=new g.Fh(function(b,c){a.u=b;a.j=c})}; +VJ=function(){g.K.call(this);this.u=null;this.N=this.J=!1;this.D=new g.Uf;g.M(this,this.D)}; +WJ=function(a){a=a.Qy();return 1>a.length?NaN:a.end(a.length-1)}; +UCa=function(a){!a.B&&Axa()&&(a.C?a.C.then(function(){return UCa(a)}):a.Hf()||(a.B=a.ls()))}; +VCa=function(a,b,c){a.Hn()||a.getCurrentTime()>b||10d.length||(d[0]in yDa&&(f.clientName=yDa[d[0]]),d[1]in zDa&&(f.platform=zDa[d[1]]),f.applicationState=h,f.clientVersion=2e&&(b+="0"));if(0f&&(b+="0");b+=f+":";10>c&&(b+="0");d=b+c}return 0<=a?d:"-"+d}; +g.YL=function(a){return(!("button"in a)||"number"!==typeof a.button||0===a.button)&&!("shiftKey"in a&&a.shiftKey)&&!("altKey"in a&&a.altKey)&&!("metaKey"in a&&a.metaKey)&&!("ctrlKey"in a&&a.ctrlKey)}; +ZL=function(a,b,c,d,e,f,h){GL.call(this,a,b,{F:"span",L:"ytp-ad-duration-remaining"},"ad-duration-remaining",c,d,e,f);this.videoAdDurationSeconds=h;this.B=null;this.hide()}; +$L=function(a,b,c,d,e){EL.call(this,a,b,c,d,e,"ytp-video-ad-top-bar-title","ad-title")}; +aM=function(a,b){this.u=a;this.j=b}; +bM=function(a){return a.j-a.u}; +cM=function(a,b){return a.u+b*bM(a)}; +dM=function(a,b,c){return bM(a)?g.Cg((b-a.u)/bM(a),0,1):null!=c?c:Infinity}; +eM=function(a,b){g.ZK.call(this,{F:"div",L:"ytp-ad-persistent-progress-bar-container",S:[{F:"div",L:"ytp-ad-persistent-progress-bar"}]});this.api=a;this.u=b;g.M(this,this.u);this.xc=this.ya("ytp-ad-persistent-progress-bar");this.j=-1;this.P(a,"presentingplayerstatechange",this.onStateChange);this.hide();this.onStateChange()}; +fM=function(a,b,c,d,e,f,h){$K.call(this,a,b,{F:"div",L:"ytp-ad-player-overlay",S:[{F:"div",L:"ytp-ad-player-overlay-flyout-cta"},{F:"div",L:"ytp-ad-player-overlay-instream-info"},{F:"div",L:"ytp-ad-player-overlay-skip-or-preview"},{F:"div",L:"ytp-ad-player-overlay-progress-bar"},{F:"div",L:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay",c,d,e);this.N=h;this.D=this.ya("ytp-ad-player-overlay-flyout-cta");this.api.R().K("web_rounded_thumbnails")&&this.api.R().K("web_modern_ads")&& +this.D.classList.add("ytp-ad-player-overlay-flyout-cta-rounded");this.B=this.ya("ytp-ad-player-overlay-instream-info");this.C=null;zFa(this)&&(a=lh("div"),g.ho(a,"ytp-ad-player-overlay-top-bar-gradients"),b=this.B,b.parentNode&&b.parentNode.insertBefore(a,b),(b=this.api.getVideoData(2))&&b.isListed&&b.title&&(c=new $L(this.api,this.bb,this.layoutId,this.j,this.Wa),c.xa(a),c.init(FI("ad-title"),{text:b.title},this.macros),g.M(this,c)),this.C=a);this.I=this.ya("ytp-ad-player-overlay-skip-or-preview"); +this.va=this.ya("ytp-ad-player-overlay-progress-bar");this.W=this.ya("ytp-ad-player-overlay-instream-user-sentiment");this.u=f;g.M(this,this.u);this.hide()}; +zFa=function(a){a=a.api.R();return g.VF(a)&&a.isMobile}; +BFa=function(a,b){var c=void 0===c?!0:c;var d=g.Q("VALID_SESSION_TEMPDATA_DOMAINS",[]),e=g.qi(window.location.href);e&&d.push(e);e=g.qi(a);if(g.Wb(d,e)||!e&&eb(a,"/"))if(g.T("autoescape_tempdata_url")&&(d=document.createElement("a"),g.zg(d,a),a=d.href),a&&(a=Dea(a),d=a.indexOf("#"),a=0>d?a:a.slice(0,d)))if(c&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:g.Bz()},b)),f){var f=parseInt(f,10);isFinite(f)&&0a}; +iGa=function(a,b){a.program&&(2===g.VM.state?0:YM(b.y3))&&(mB("bg_i",void 0,"player_att"),g.VM.initialize(a,function(){var c=a.serverEnvironment;mB("bg_l",void 0,"player_att");XM=(0,g.U)();for(var d=0;dv.length)){q={applicationState:q? +"INACTIVE":"ACTIVE",clientFormFactor:vGa[v[1]]||"UNKNOWN_FORM_FACTOR",clientName:wGa[v[0]]||"UNKNOWN_INTERFACE",clientVersion:v[2]||"",platform:xGa[v[1]]||"UNKNOWN_PLATFORM"};v=void 0;if(n){w=void 0;try{w=JSON.parse(n)}catch(B){g.rz(B)}w&&(v={params:[{key:"ms",value:w.ms}]},q.osName=w.os_name,q.userAgent=w.user_agent,q.windowHeightPoints=w.window_height_points,q.windowWidthPoints=w.window_width_points)}l.push({adSignalsInfo:v,remoteClient:q})}m.remoteContexts=l}a.sourceContainerPlaylistId&&(m.mdxPlaybackSourceContext= +{mdxPlaybackContainerInfo:{sourceContainerPlaylistId:a.sourceContainerPlaylistId}});h.mdxContext=m;m=b.width;0d&&(d=-(d+1));g.ph(a,b,d);b.setAttribute("data-layer",String(c))}; +g.BN=function(a){var b=a.R();if(!b.rd)return!1;var c=a.getVideoData();if(!c||3===a.getPresentingPlayerType())return!1;var d=(!c.isLiveDefaultBroadcast||b.K("allow_poltergust_autoplay"))&&!zI(c);d=c.isLivePlayback&&(!b.K("allow_live_autoplay")||!d);var e=c.isLivePlayback&&b.K("allow_live_autoplay_on_mweb");a=a.getPlaylist();a=!!a&&a.hasNext();var f=c.watchNextResponse&&c.watchNextResponse.playerOverlays||null;f=!!(f&&f.playerOverlayRenderer&&f.playerOverlayRenderer.autoplay);f=c.C&&f;return!c.ypcPreview&& +(!d||e)&&!g.Wb(c.W,"ypc")&&!a&&(!g.MF(b)||f)}; +UGa=function(a){a=g.oN(a.app);if(!a)return!1;var b=a.getVideoData();if(!b.u||!b.u.video||1080>b.u.video.j||b.JL)return!1;var c=/^qsa/.test(b.clientPlaybackNonce),d="r";0<=b.u.id.indexOf(";")&&(c=/^[a-p]/.test(b.clientPlaybackNonce),d="x");return c?(a.ma("iqss",{trigger:d},!0),!0):!1}; +g.CN=function(a,b,c,d){d=void 0===d?!1:d;g.ZK.call(this,b);var e=this;this.G=a;this.va=d;this.J=new g.YD(this);this.V=new g.JL(this,c,!0,void 0,void 0,function(){e.u&&e.element&&(e.u.getAttribute("aria-haspopup"),e.u.setAttribute("aria-expanded","true"),e.focus())}); +g.M(this,this.J);g.M(this,this.V)}; +VGa=function(a){a.u&&(document.activeElement&&g.sh(a.element,document.activeElement)&&(uh(a.u),a.u.focus()),a.u.setAttribute("aria-expanded","false"),a.u=void 0);g.bz(a.J);a.N=void 0}; +DN=function(a,b,c){a.qh()?a.Ib():a.od(b,c)}; +EN=function(a,b,c,d){d=new g.X({F:"div",Ca:["ytp-linked-account-popup-button"],Z:d,T:{role:"button",tabindex:"0"}});b=new g.X({F:"div",L:"ytp-linked-account-popup",T:{role:"dialog","aria-modal":"true",tabindex:"-1"},S:[{F:"div",L:"ytp-linked-account-popup-title",Z:b},{F:"div",L:"ytp-linked-account-popup-description",Z:c},{F:"div",L:"ytp-linked-account-popup-buttons",S:[d]}]});g.CN.call(this,a,{F:"div",L:"ytp-linked-account-popup-container",S:[b]},100);var e=this;this.dialog=b;g.M(this,this.dialog); +d.Na("click",function(){e.Ib()}); +g.M(this,d);g.AN(this.G,this.element,4);this.hide()}; +g.FN=function(a,b,c,d){g.ZK.call(this,a);this.priority=b;c&&this.Ig(c);d&&this.Sd(d)}; +g.GN=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{F:c?"a":"div",Ca:b,T:a,S:[{F:"div",L:"ytp-menuitem-icon",Z:"{{icon}}"},{F:"div",L:"ytp-menuitem-label",Z:"{{label}}"},{F:"div",L:"ytp-menuitem-content",Z:"{{content}}"}]}}; +HN=function(a,b){a.Ja("icon",b)}; +IN=function(a){g.FN.call(this,g.GN({"aria-haspopup":"true"},["ytp-linked-account-menuitem"]),1);var b=this;this.G=a;this.u=this.j=!1;this.ib=a.Em();a.Ai(this.element,this,!0);this.P(this.G,"settingsMenuVisibilityChanged",function(c){b.lc(c)}); +this.P(this.G,"videodatachange",this.C);this.Na("click",this.onClick);this.C()}; +JN=function(a){return a?g.zA(a):""}; +KN=function(a){g.K.call(this);this.api=a}; +LN=function(a){KN.call(this,a);var b=this;kN(a,"setAccountLinkState",function(c){b.setAccountLinkState(c)}); +kN(a,"updateAccountLinkingConfig",function(c){b.updateAccountLinkingConfig(c)}); +a.addEventListener("videodatachange",function(c,d){b.onVideoDataChange(d)}); +a.addEventListener("settingsMenuInitialized",function(){b.menuItem=new IN(b.api);g.M(b,b.menuItem)})}; +MN=function(a,b){g.FN.call(this,g.GN({role:"menuitemcheckbox","aria-checked":"false"}),b,a,{F:"div",L:"ytp-menuitem-toggle-checkbox"});this.checked=!1;this.Na("click",this.onClick)}; +NN=function(a){MN.call(this,"Cinematic lighting",12);var b=this;this.G=a;this.j=!1;this.ib=a.Em();HN(this,{F:"svg",S:[{F:"path",T:{d:"M4,21H3V3h1V21z M8,15H6v2h2V15z M8,11H6v2h2V11z M8,7H6v2h2V7z M18,15h-2v2h2V15z M8,19H6v2h2V19z M18,19h-2v2h2V19z M18,11h-2v2h2V11z M18,7h-2v2h2V7z M8,3H6v2h2V3z M18,3h-2v2h2V3z M21,3h-1v18h1V3z",fill:"white"}}]});this.subscribe("select",function(c){uv(g.rv.getInstance(),192,!0);var d=WGa();c!==d&&(d=g.rv.getInstance(),uv(0,190,c),d.save(),b.G.Ka("cinematicSettingsToggleChange", +c))},this)}; +WGa=function(){g.rv.getInstance();return g.tv(0,192)?g.tv(0,190):!0}; +ON=function(a){KN.call(this,a);var b=this;this.j=!1;var c;this.K("web_cinematic_watch_settings")&&(null==(c=a.R().webPlayerContextConfig)?0:c.cinematicSettingsAvailable)&&(a.addEventListener("settingsMenuInitialized",function(){b.menuItem=new NN(b.api);g.M(b,b.menuItem);b.menuItem.Fa(b.j)}),kN(a,"updateCinematicSettings",function(d){b.updateCinematicSettings(d)}))}; +YGa=function(a){KN.call(this,a);var b=this;this.events=new g.YD(a);g.M(this,this.events);this.K("enable_precise_embargos")&&(this.events.P(a,"videodatachange",function(){var c=b.api.getVideoData();b.api.Af("embargo",1);(null==c?0:c.cueRanges)&&XGa(b,c)}),this.events.P(a,g.uA("embargo"),function(){b.api.fg("heartbeat.stop",2,"This video isn't available in your current playback area")}))}; +ZGa=function(a){function b(d){return void 0!==(null==d?void 0:d.embargo)} +var c;return null==(c=a.onEnter)?void 0:c.some(b)}; +XGa=function(a,b){if(null==b?0:zI(b)){var c;null==(c=b.cueRanges)||c.filter(function(d){return ZGa(d)}).forEach(function(d){var e,f=Number(null==(e=d.playbackPosition)?void 0:e.utcTimeMillis)/1E3,h; +d=f+Number(null==(h=d.duration)?void 0:h.seconds);a.api.addUtcCueRange("embargo",f,d,"embargo",!1)})}}; +PN=function(a){KN.call(this,a);var b=this;kN(a,"getAvailableQualityData",function(){return b.getAvailableQualityData()})}; +$Ga=function(a,b,c){var d=[],e=b?156595:151874;a=g.r(a);for(var f=a.next();!f.done;f=a.next()){var h=f.value;f=h.video;h={formatId:h.id,qualityLabel:f.qualityLabel,quality:f.quality,isPlayable:b};if(f=c.get(f.qualityLabel))h.paygatedQualityDetails={paygatedIndicatorText:f.paygatedIndicatorText,endpoint:f.endpoint,veType:e,trackingParams:f.trackingParams};d.push(h)}return d}; +QN=function(a){KN.call(this,a);var b=this;this.useLivingRoomPoToken=!1;var c;this.useLivingRoomPoToken=!(null==(c=a.R().webPlayerContextConfig)||!c.useLivingRoomPoToken);this.K("html5_generate_session_po_token")&&!this.useLivingRoomPoToken&&(this.K("html5_webpo_idle_priority_job")?g.Cv(g.Ev(),function(){aHa(b)}):aHa(this)); +a.EK(this)}; +aHa=function(a){var b=a.api.R(),c=a.K("html5_po_token_enable_webpo_experimental")?"UE0a2bupPZ6aUyyLkkEY":"Z1elNkAKLpSR3oPOUMSN",d=a.K("html5_po_token_enable_webpo_experimental")?"bxNLZUJrsnkb8KzwCOTR":"O43z0dpjhgX20SCx4KAo";c=g.cG(b)?c:d;a.K("html5_placeholder_po_tokens")&&(c="2ZCPXHYZSpebQXqOYNtj");try{if(a.j=vga({fh:c,onError:function(f){g.rz(f)}}),!a.K("html5_generate_content_po_token")){a.j.ready().then(function(){bHa(a)}); +var e=g.TE(b.experiments,"html5_session_po_token_interval_time_ms");0=a.length?0:b}; +iHa=function(a){var b=a.index-1;return 0>b?a.length-1:b}; +g.XN=function(a,b,c,d){b=void 0!==b?b:a.index;b=a.items&&b in a.items?a.items[a.order[b]]:null;var e=null;b&&(c&&(b.autoplay="1"),d&&(b.autonav="1"),e=new g.HH(a.Oa,b),g.M(a,e),e.startSeconds=a.startSeconds||e.clipStart||0,a.listId&&(e.playlistId=a.listId.toString()));return e}; +YN=function(a,b){a.index=g.Cg(b,0,a.length-1);a.startSeconds=0}; +ZN=function(a,b){if(b.video&&b.video.length){a.title=b.title||"";a.description=b.description;a.views=b.views;a.likes=b.likes;a.dislikes=b.dislikes;a.author=b.author||"";var c=b.loop;c&&(a.loop=c);c=g.XN(a);a.items=[];for(var d=g.r(b.video),e=d.next();!e.done;e=d.next())if(e=e.value)e.video_id=e.encrypted_id,a.items.push(e);a.length=a.items.length;(b=b.index)?a.index=b:a.findIndex(c);a.setShuffle(!1);a.loaded=!0;a.u++;a.j&&a.j()}}; +lHa=function(a,b){var c,d,e,f,h,l;return g.z(function(m){if(1==m.j){c=g.EM();var n=a.R(),p={context:g.eN(a)};n.K("embeds_enable_sending_ancestor_origins_killswitch")||(p.playbackContext={contentPlaybackContext:{ancestorOrigins:n.ancestorOrigins}});n=n.embedConfig;var q=b.docid||b.video_id||b.videoId||b.id;if(!q){q=b.raw_embedded_player_response;if(!q&&!g.T("parse_video_id_from_serialized_embedded_player_response_killswitch")){var v=b.embedded_player_response;v&&(q=JSON.parse(v))}if(q){var w,y,A,B, +E,G,H;q=(null==(w=q)?void 0:null==(y=w.embedPreview)?void 0:null==(A=y.thumbnailPreviewRenderer)?void 0:null==(B=A.playButton)?void 0:null==(E=B.buttonRenderer)?void 0:null==(G=E.navigationEndpoint)?void 0:null==(H=G.watchEndpoint)?void 0:H.videoId)||null}else q=null}w=(w=q)?w:void 0;y=a.playlistId?a.playlistId:b.list;A=b.listType;if(y){var I;"user_uploads"===A?I={username:y}:I={playlistId:y};jHa(n,w,b,I);p.playlistRequest=I}else b.playlist?(I={templistVideoIds:b.playlist.toString().split(",")},jHa(n, +w,b,I),p.playlistRequest=I):w&&(I={videoId:w},n&&(I.serializedThirdPartyEmbedConfig=n),p.singleVideoRequest=I);d=p;e=g.pM(kHa);g.ra(m,2);return g.x(m,g.AK(c,d,e),4)}if(2!=m.j)return f=m.u,h=a.R(),b.raw_embedded_player_response=f,h.K("embeds_pfl_cue_killswitch")||(h.W=kv(b,g.MF(h)),h.B="EMBEDDED_PLAYER_MODE_PFL"===h.W),m.return(new g.HH(h,b));l=g.va(m);g.qz(l);return m.return(a)})}; +jHa=function(a,b,c,d){c.index&&(d.playlistIndex=String(Number(c.index)+1));d.videoId=b?b:"";a&&(d.serializedThirdPartyEmbedConfig=a)}; +g.aO=function(a,b){$N.get(a);$N.set(a,b)}; +g.bO=function(a){g.cz.call(this);this.loaded=!1;this.player=a}; +mHa=function(){this.u=[];this.j=[]}; +g.cO=function(a,b){return b?a.j.concat(a.u):a.j}; +g.dO=function(a,b){switch(b.kind){case "asr":nHa(b,a.u);break;default:nHa(b,a.j)}}; +nHa=function(a,b){g.Ub(b,function(c){return a.equals(c)})||b.push(a)}; +g.eO=function(a){g.K.call(this);this.U=a;this.u=new mHa;this.C=[]}; +g.fO=function(a,b,c){g.eO.call(this,a);this.audioTrack=c;this.j=null;this.C=b.HG}; +oHa=function(){this.Xi=!1}; +pHa=function(a){a=void 0===a?{}:a;var b=void 0===a.Mm?!1:a.Mm,c=new oHa;c.Xi=(void 0===a.hasSubfragmentedFmp4?!1:a.hasSubfragmentedFmp4)||b;return c}; +g.qHa=function(a){this.Oa=a;this.C=new oHa;this.Yl=this.Xl=!1;this.Kl=2;this.I=20971520;this.W=8388608;this.D=120;this.yc=3145728;this.Ha=62914560;this.zc=10485760;this.Rl=g.TE(this.Oa.experiments,"html5_min_readbehind_secs");this.Ju=g.TE(this.Oa.experiments,"html5_min_readbehind_cap_secs");this.Iu=g.TE(this.Oa.experiments,"html5_max_readbehind_secs");this.Jx=this.Oa.K("html5_trim_future_discontiguous_ranges");this.Pb=NaN;this.ir=this.pk=this.Sq=2;this.Ra=2097152;this.gr=1048576;this.gb=!1;this.Bw= +1800;this.Ll=this.Il=5;this.va=15;this.Pe=1;this.u=1.15;this.B=1.05;this.Ak=1;this.Ul=!0;this.ra=!1;this.jr=.8;this.Mk=this.eb=!1;this.Mc=6;this.V=this.Yb=!1;this.Ed=0;this.Sl=this.Oa.K("html5_new_min_startup_smooth_logic");this.Nc=0;this.ju=this.Oa.K("html5_append_init_while_paused");this.Zl=g.TE(this.Oa.experiments,"html5_post_interrupt_readahead");this.Vl=!1;this.rd=5E3;this.Qq=100;this.cf=10;this.Lu=g.TE(this.Oa.experiments,"html5_offline_failure_retry_limit")||2;this.Mt=g.TE(this.Oa.experiments, +"html5_ssdai_failure_retry_limit")||3;this.Hk=this.Oa.experiments.fb("html5_clone_original_for_fallback_location");this.Ot=this.Oa.experiments.fb("html5_ssdai_reset_on_video_only_killswitch");this.jm=1;this.Gi=1.6;this.Kb=!1;this.Y=.5;this.Kd=2;this.Fd=this.Vt=0;this.Oq=1.5;this.Pq=this.Ki=.5;this.og=15;this.Qk=1;this.Hs=this.Bd=!1;this.Jl=0;this.On=this.St=this.Ok=this.gm=this.Wl=!1;this.hm=0;this.zi=2;this.wt=this.Fk=!1;this.rg=0;this.qa=this.Ut=this.oi=!1;this.Mx=this.Oa.K("html5_webm_init_skipping"); +this.jh=!1;this.Ya=!0;this.Ne=this.Dd=this.fm=this.Ua=!1;this.Ik=!0;this.Ei=!1;this.j="";this.Gu=1048576;this.He=[];this.Hu=this.Oa.K("html5_woffle_resume");this.Cb=!0;this.Nk=this.Vj=this.Oe=!1;this.vg=46800;this.Gs=this.Bk=this.rk=this.im=this.Eh=this.Lc=!1;this.N=0;this.Jk="";this.Fu=this.Oa.K("html5_disable_codec_for_playback_on_error");this.bk=this.fu=this.Kk=this.Di=!1;this.qg=0;this.Pu=Uu();this.gt=this.Pk=!1;this.mu=this.Oa.K("html5_skip_buffer_check_seek_to_head");this.Ld=!1;this.Rr=!this.Oa.K("html5_reset_media_stream_discontinuity_killswitch"); +this.nk=!1;this.Ng=8192;this.La=this.Cd=!1;this.xs=1;this.Kx=this.Oa.K("html5_onesie_live");this.Lx=this.Oa.K("html5_onesie_premieres");this.Js=this.Oa.K("html5_seek_for_index_reset_killswitch");this.Mu=g.TE(this.Oa.experiments,"html5_onesie_live_ttl_secs")||8;this.Tl=g.TE(this.Oa.experiments,"html5_attach_num_random_bytes_to_bandaid");this.Qu=this.Oa.K("html5_self_init_consolidation");this.Tt=this.Oa.K("html5_stream_metadata");this.Eb=this.Oa.K("html5_onesie_ads");this.nu=this.Oa.K("html5_live_partial_response_resumable"); +this.pg=this.Oa.K("html5_ssdai_log_ad_transition_info");this.Ou=g.TE(this.Oa.experiments,"html5_onesie_request_timeout_ms")||3E3;this.Nu=this.Oa.K("html5_onesie_nonzero_playback_start");this.bf=this.Oa.K("html5_ssdai_use_post_for_media")&&this.Oa.K("gab_return_sabr_ssdai_config");this.Rq=this.Oa.K("html5_use_post_for_media");this.Li=this.Oa.K("html5_ssdai_enable_new_seek_logic");this.Ru=this.Oa.K("html5_skip_ssdai_ad_init");this.useUmp=this.Oa.K("html5_use_ump");this.Ix=this.Oa.K("html5_skip_stitched_info_on_segment_placeholder_killswitch"); +this.Ea=this.J=!1;this.ub=this.Oa.K("html5_enable_atv_offline");this.cm=this.Oa.K("html5_prefer_drc")}; +rHa=function(a,b){1080Math.random()){var B=new g.Rv("Unable to load player module",b,document.location&&document.location.origin);g.qz(B)}yh(e);v&&v(A)}; +var w=m,y=w.onreadystatechange;w.onreadystatechange=function(A){switch(w.readyState){case "loaded":case "complete":yh(f)}y&&y(A)}; +l&&((h=a.G.R().cspNonce)&&m.setAttribute("nonce",h),g.ej(m,g.ig(b)),h=g.bh("HEAD")[0]||document.body,h.insertBefore(m,h.firstChild),g.cf(a,function(){m.parentNode&&m.parentNode.removeChild(m)}))}; +uO=function(a,b,c){g.df.call(this,b,a);this.j=c}; +g.vO=function(a){VJ.call(this);var b=this;this.j=a;this.I={};this.listener=function(c){b.dispatchEvent(new uO(b,c.type,c))}}; +xO=function(a,b,c,d,e){g.cz.call(this);var f=this;this.target=a;this.HB=b;this.u=0;this.I=!1;this.C=new g.Gg(NaN,NaN);this.j=new g.YD(this);this.qa=this.B=this.J=null;g.M(this,this.j);b=d||e?4E3:3E3;this.V=new g.Zn(function(){wO(f,1,!1)},b,this); +g.M(this,this.V);this.W=new g.Zn(function(){wO(f,2,!1)},b,this); +g.M(this,this.W);this.Y=new g.Zn(function(){wO(f,512,!1)},b,this); +g.M(this,this.Y);this.ra=c&&0=c.width||!c.height||0>=c.height||g.pA(c.url)&&b.push({src:c.url||"",sizes:c.width+"x"+c.height,type:"image/jpeg"}));return b}; +NHa=function(a){var b=a.G.zb();b=b.isCued()||b.isError()?"none":g.fK(b)?"playing":"paused";a.mediaSession.playbackState=b}; +LO=function(a){g.X.call(this,{F:"div",L:"ytp-paid-content-overlay",T:{"aria-live":"assertive","aria-atomic":"true"}});this.G=a;this.videoId=null;this.B=!1;this.Zd=this.j=null;var b=a.R();a.K("enable_new_paid_product_placement")&&!g.oG(b)?(this.u=new g.X({F:"a",L:"ytp-paid-content-overlay-link",T:{href:"{{href}}",target:"_blank"},S:[{F:"div",L:"ytp-paid-content-overlay-icon",Z:"{{icon}}"},{F:"div",L:"ytp-paid-content-overlay-text",Z:"{{text}}"},{F:"div",L:"ytp-paid-content-overlay-chevron",Z:"{{chevron}}"}]}), +this.P(this.u.element,"click",this.onClick)):this.u=new g.X({F:"div",Ca:["ytp-button","ytp-paid-content-overlay-text"],Z:"{{text}}"});this.C=new g.JL(this.u,250,!1,100);g.M(this,this.u);this.u.xa(this.element);g.M(this,this.C);this.G.Ai(this.element,this);this.P(a,"videodatachange",this.onVideoDataChange);this.P(a,"presentingplayerstatechange",this.bd)}; +PHa=function(a,b){var c=ABa(b),d=dI(b);b.vg&&a.G.Km()||(a.j?b.videoId&&b.videoId!==a.videoId&&(g.bo(a.j),a.videoId=b.videoId,a.B=!!d,a.B&&c&&OHa(a,d,c,b)):c&&d&&OHa(a,d,c,b))}; +OHa=function(a,b,c,d){a.j&&a.j.dispose();a.j=new g.Zn(a.Ib,b,a);g.M(a,a.j);var e,f;b=null==(e=d.getPlayerResponse())?void 0:null==(f=e.paidContentOverlay)?void 0:f.paidContentOverlayRenderer;e=null==b?void 0:b.navigationEndpoint;var h;f=null==b?void 0:null==(h=b.icon)?void 0:h.iconType;var l;h=null==(l=g.av(e,g.RH))?void 0:l.url;a.G.xk(a.element,(null==e?void 0:e.clickTrackingParams)||null);a.u.update({href:null!=h?h:"#",text:c,icon:"MONEY_HAND"===f?{F:"svg",T:{fill:"none",height:"100%",viewBox:"0 0 24 24", +width:"100%"},S:[{F:"path",T:{d:"M6 9H5V5V4H6H19V5H6V9ZM21.72 16.04C21.56 16.8 21.15 17.5 20.55 18.05C20.47 18.13 18.42 20.01 14.03 20.01C13.85 20.01 13.67 20.01 13.48 20C11.3 19.92 8.51 19.23 5.4 18H2V10H5H6H7V6H21V13H16.72C16.37 13.59 15.74 14 15 14H12.7C13.01 14.46 13.56 15 14.5 15H15.02C16.07 15 17.1 14.64 17.92 13.98C18.82 13.26 20.03 13.22 20.91 13.84C21.58 14.32 21.9 15.19 21.72 16.04ZM15 10C15 9.45 14.55 9 14 9C13.45 9 13 9.45 13 10H15ZM20 11C19.45 11 19 11.45 19 12H20V11ZM19 7C19 7.55 19.45 8 20 8V7H19ZM8 8C8.55 8 9 7.55 9 7H8V8ZM8 10H12C12 8.9 12.9 8 14 8C15.1 8 16 8.9 16 10V10.28C16.59 10.63 17 11.26 17 12H18C18 10.9 18.9 10 20 10V9C18.9 9 18 8.1 18 7H10C10 8.1 9.1 9 8 9V10ZM5 13.5V11H3V17H5V13.5ZM20.33 14.66C19.81 14.29 19.1 14.31 18.6 14.71C17.55 15.56 16.29 16 15.02 16H14.5C12.62 16 11.67 14.46 11.43 13.64L11.24 13H15C15.55 13 16 12.55 16 12C16 11.45 15.55 11 15 11H6V13.5V17.16C8.9 18.29 11.5 18.93 13.52 19C17.85 19.15 19.85 17.34 19.87 17.32C20.33 16.9 20.62 16.4 20.74 15.84C20.84 15.37 20.68 14.91 20.33 14.66Z", +fill:"white"}}]}:null,chevron:h?g.dL():null})}; +QHa=function(a,b){a.j&&(g.W(b,8)&&a.B?(a.B=!1,a.od(),a.j.start()):(g.W(b,2)||g.W(b,64))&&a.videoId&&(a.videoId=null))}; +MO=function(a){g.X.call(this,{F:"div",L:"ytp-spinner",S:[CO(),{F:"div",L:"ytp-spinner-message",Z:"If playback doesn't begin shortly, try restarting your device."}]});this.api=a;this.message=this.ya("ytp-spinner-message");this.j=new g.Zn(this.show,500,this);g.M(this,this.j);this.P(a,"presentingplayerstatechange",this.onStateChange);this.P(a,"playbackstalledatstart",this.u);this.Qc(a.zb())}; +NO=function(a){var b=g.LE(a.R().experiments,"mweb_muted_autoplay_animation"),c=[],d=[{F:"div",Ca:["ytp-unmute-icon"],S:[{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]}]}, +{F:"div",Ca:["ytp-unmute-text"],Z:"Tap to unmute"}];"none"!==b&&(c.push("ytp-unmute-animated"),d.push({F:"div",Ca:["ytp-unmute-box"],S:[]}),"expand"===b?c.push("ytp-unmute-expand"):"shrink"===b&&c.push("ytp-unmute-shrink"));g.CN.call(this,a,{F:"button",Ca:["ytp-unmute","ytp-popup","ytp-button"].concat(c),S:[{F:"div",L:"ytp-unmute-inner",S:d}]},100);this.j=this.clicked=!1;this.api=a;this.api.rb(this.element,this,51663);this.P(a,"onMutedAutoplayChange",this.onMutedAutoplayChange,this);this.P(a,"presentingplayerstatechange", +this.wh);this.Na("click",this.onClick,this);a=a.isMutedByMutedAutoplay()&&!g.MF(this.api.R());g.YK(this,a);a&&RHa(this);this.B=a}; +RHa=function(a){a.j||(a.j=!0,a.api.Ta(a.element,!0))}; +g.PO=function(a){g.YD.call(this);var b=this;this.api=a;this.YI=!1;this.Tm=null;this.SB=!1;this.vf=null;this.VG=this.EE=!1;this.jL=this.lL=null;this.WP=NaN;this.iL=this.py=!1;this.Dz=0;this.jG=[];this.PJ=!1;this.MC={height:0,width:0};var c=a.R(),d=a.Za();this.MC=a.getPlayerSize();this.IN=new g.Zn(this.mJ,0,this);g.M(this,this.IN);g.XF(c)||(this.Mn=new g.zO(a),g.M(this,this.Mn),g.AN(a,this.Mn.element,4));if(SHa(this)){var e=new MO(a);g.M(this,e);e=e.element;g.AN(a,e,4)}var f=a.getVideoData();this.Xd= +new xO(d,function(l){return b.HB(l)},f,c.cf,qG(c)); +g.M(this,this.Xd);this.Xd.subscribe("autohideupdate",this.ul,this);if(!c.disablePaidContentOverlay){var h=new LO(a);g.M(this,h);g.AN(a,h.element,4)}this.IE=new NO(a);g.M(this,this.IE);g.AN(this.api,this.IE.element,2);this.lI=this.api.isMutedByMutedAutoplay();this.P(a,"onMutedAutoplayChange",this.onMutedAutoplayChange);this.AE=new g.Zn(this.Sw,200,this);g.M(this,this.AE);this.KI=f.videoId;this.fS=new g.Zn(function(){b.Dz=0},350); +g.M(this,this.fS);this.XB=new g.Zn(function(){b.iL||OO(b)},350,this); +g.M(this,this.XB);f=a.getRootNode();f.setAttribute("aria-label","YouTube Video Player");switch(c.color){case "white":g.ho(f,"ytp-color-white")}g.XF(c)&&g.ho(f,"ytp-music-player");!a.K("web_player_disable_mediasession")&&navigator.mediaSession&&null!=navigator.mediaSession.setActionHandler&&(f=new JO(a),g.M(this,f));this.P(a,"appresize",this.xb);this.P(a,"presentingplayerstatechange",this.wh);this.P(a,"videodatachange",this.onVideoDataChange);this.P(a,"videoplayerreset",this.q1);this.P(a,"autonavvisibility", +function(){b.vn()}); +this.P(a,"sizestylechange",function(){b.vn()}); +this.P(d,"click",this.Q1,this);this.P(d,"dblclick",this.R1,this);c.gb&&(this.P(d,"gesturechange",this.S1,this),this.P(d,"gestureend",this.T1,this));this.fq=[d.Zx];this.Mn&&this.fq.push(this.Mn.element);e&&this.fq.push(e)}; +QO=function(a,b){if(!b)return!1;var c=a.api.Qd();if(c.er()&&(c=c.tf())&&g.sh(c,b))return c.controls;for(c=0;c1+b&&a.api.toggleFullscreen()}; +SHa=function(a){a=Pu()&&67<=wma()&&!a.api.R().I;return!Ou("tizen")&&!JF&&!a&&!0}; +TO=function(a,b){b=void 0===b?2:b;g.cz.call(this);this.api=a;this.j=null;this.Sc=new $y(this);g.M(this,this.Sc);this.u=yFa;this.Sc.P(this.api,"presentingplayerstatechange",this.bd);this.j=this.Sc.P(this.api,"progresssync",this.Wb);this.Fl=b;1===this.Fl&&this.Wb()}; +UO=function(a){g.X.call(this,{F:"button",Ca:["ytp-button","ytp-back-button"],S:[{F:"div",L:"ytp-arrow-back-icon",S:[{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 -12 36 36",width:"100%"},S:[{F:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{F:"path",Nb:!0,T:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",fill:"#fff"}}]}]}]});this.G=a;g.YK(this,a.R().showBackButton);this.Na("click",this.onClick)}; +g.VO=function(a){g.X.call(this,{F:"div",S:[{F:"div",L:"ytp-bezel-text-wrapper",S:[{F:"div",L:"ytp-bezel-text",Z:"{{title}}"}]},{F:"div",L:"ytp-bezel",T:{role:"status","aria-label":"{{label}}"},S:[{F:"div",L:"ytp-bezel-icon",Z:"{{icon}}"}]}]});this.G=a;this.u=new g.Zn(this.show,10,this);this.j=new g.Zn(this.hide,500,this);g.M(this,this.u);g.M(this,this.j);this.hide()}; +XO=function(a,b,c){if(0>=b){c=mL();b="muted";var d=0}else c=c?{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,T:{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"}}]}:{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,T:{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"}}]},d=Math.floor(b),b=d+"volume";WO(a,c,b,d+"%")}; +WHa=function(a,b){b=b?{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]}:{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]};var c=a.G.getPlaybackRate(),d=g.HJ("Speed is $RATE",{RATE:String(c)});WO(a,b,d,c+"x")}; +XHa=function(a,b){b=b?"Subtitles/closed captions on":"Subtitles/closed captions off";WO(a,GHa(),b)}; +WO=function(a,b,c,d){d=void 0===d?"":d;a.Ja("label",void 0===c?"":c);qG(a.G.R())?a.Ja("icon",null):a.Ja("icon",b);g.bo(a.j);a.u.start();a.Ja("title",d);g.N(a.element,"ytp-bezel-text-hide",!d)}; +ZO=function(a,b,c){g.X.call(this,{F:"button",Ca:["ytp-button","ytp-cards-button"],T:{"aria-label":"Show cards","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.MF(a.R()))},S:[{F:"span",L:"ytp-cards-button-icon-default",S:[{F:"div",L:"ytp-cards-button-icon",S:[a.R().K("player_new_info_card_format")?WEa():{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]}]}, +{F:"div",L:"ytp-cards-button-title",Z:"Info"}]},{F:"span",L:"ytp-cards-button-icon-shopping",S:[{F:"div",L:"ytp-cards-button-icon",S:[{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",L:"ytp-svg-shadow",T:{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"}},{F:"path",L:"ytp-svg-fill",T:{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"}},{F:"path",L:"ytp-svg-shadow-fill",T:{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"}}]}]},{F:"div", +L:"ytp-cards-button-title",Z:"Shopping"}]}]});this.G=a;this.B=b;this.C=c;this.j=null;this.u=new g.JL(this,250,!0,100);g.M(this,this.u);g.N(this.C,"ytp-show-cards-title",g.MF(a.R()));this.hide();this.Na("click",this.onClicked);this.Na("mouseover",this.J0);YO(this,!0)}; +YO=function(a,b){b?a.j=g.$O(a.B.pc(),a.element):(a.j=a.j,a.j(),a.j=null)}; +aP=function(a,b,c){g.X.call(this,{F:"div",L:"ytp-cards-teaser",S:[{F:"div",L:"ytp-cards-teaser-box"},{F:"div",L:"ytp-cards-teaser-text",S:a.R().K("player_new_info_card_format")?[{F:"button",L:"ytp-cards-teaser-info-icon",T:{"aria-label":"Show cards","aria-haspopup":"true"},S:[WEa()]},{F:"span",L:"ytp-cards-teaser-label",Z:"{{text}}"},{F:"button",L:"ytp-cards-teaser-close-button",T:{"aria-label":"Close"},S:[g.eL()]}]:[{F:"span",L:"ytp-cards-teaser-label",Z:"{{text}}"}]}]});var d=this;this.G=a;this.V= +b;this.Gh=c;this.C=new g.JL(this,250,!1,250);this.j=null;this.J=new g.Zn(this.X0,300,this);this.I=new g.Zn(this.W0,2E3,this);this.D=[];this.u=null;this.N=new g.Zn(function(){d.element.style.margin="0"},250); +this.onClickCommand=this.B=null;g.M(this,this.C);g.M(this,this.J);g.M(this,this.I);g.M(this,this.N);a.R().K("player_new_info_card_format")?(g.ho(a.getRootNode(),"ytp-cards-teaser-dismissible"),this.P(this.ya("ytp-cards-teaser-close-button"),"click",this.ek),this.P(this.ya("ytp-cards-teaser-info-icon"),"click",this.ZK),this.P(this.ya("ytp-cards-teaser-label"),"click",this.ZK)):this.Na("click",this.ZK);this.P(c.element,"mouseover",this.RM);this.P(c.element,"mouseout",this.QM);this.P(a,"cardsteasershow", +this.w2);this.P(a,"cardsteaserhide",this.Ib);this.P(a,"cardstatechange",this.hT);this.P(a,"presentingplayerstatechange",this.hT);this.P(a,"appresize",this.yL);this.P(a,"onShowControls",this.yL);this.P(a,"onHideControls",this.uX);this.Na("mouseenter",this.tV)}; +cP=function(a){g.X.call(this,{F:"button",Ca:[bP.BUTTON,bP.TITLE_NOTIFICATIONS],T:{"aria-pressed":"{{pressed}}","aria-label":"{{label}}"},S:[{F:"div",L:bP.TITLE_NOTIFICATIONS_ON,T:{title:"Stop getting notified about every new video","aria-label":"Notify subscriptions"},S:[g.iL()]},{F:"div",L:bP.TITLE_NOTIFICATIONS_OFF,T:{title:"Get notified about every new video","aria-label":"Notify subscriptions"},S:[{F:"svg",T:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},S:[{F:"path",T:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]}); +this.api=a;this.j=!1;a.rb(this.element,this,36927);this.Na("click",this.onClick,this);this.Ja("pressed",!1);this.Ja("label","Get notified about every new video")}; +YHa=function(a,b){a.j=b;a.element.classList.toggle(bP.NOTIFICATIONS_ENABLED,a.j);var c=a.api.getVideoData();c?(b=b?c.hG:c.gG)?(a=a.api.Cm())?uM(a,b):g.gu(Error("No innertube service available when updating notification preferences.")):g.gu(Error("No update preferences command available.")):g.gu(Error("No video data when updating notification preferences."))}; +g.eP=function(a,b,c,d,e,f,h,l,m,n,p,q,v){v=void 0===v?null:v;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;var w=q.R();if(p){c={href:p,"aria-label":"Subscribe to channel"};if(g.SF(w)||g.WF(w))c.target=w.J;g.X.call(this,{F:"div",Ca:["ytp-button","ytp-sb"],S:[{F:"a",L:"ytp-sb-subscribe",T:c,S:[{F:"div",L:"ytp-sb-text",S:[{F:"div",L:"ytp-sb-icon"},a]},b?{F:"div",L:"ytp-sb-count",Z:b}:""]}]});f&&g.ho(this.element, +"ytp-sb-classic");this.channelId=h;this.j=v}else{p=w.userDisplayName&&g.SF(w)&&!w.K("subscribe_tooltipkillswitch");g.X.call(this,{F:"div",Ca:["ytp-button","ytp-sb"],S:[{F:"div",L:"ytp-sb-subscribe",T:p?{title:g.HJ("Subscribe as $USER_NAME",{USER_NAME:w.userDisplayName}),"aria-label":"Subscribe to channel","data-tooltip-image":uG(w),"data-tooltip-opaque":String(g.MF(w)),tabindex:"0",role:"button"}:{"aria-label":"Subscribe to channel"},S:[{F:"div",L:"ytp-sb-text",S:[{F:"div",L:"ytp-sb-icon"},a]},b? +{F:"div",L:"ytp-sb-count",Z:b}:""]},{F:"div",L:"ytp-sb-unsubscribe",T:p?{title:g.HJ("Subscribed as $USER_NAME",{USER_NAME:w.userDisplayName}),"aria-label":"Unsubscribe to channel","data-tooltip-image":uG(w),"data-tooltip-opaque":String(g.MF(w)),tabindex:"0",role:"button"}:{"aria-label":"Unsubscribe to channel"},S:[{F:"div",L:"ytp-sb-text",S:[{F:"div",L:"ytp-sb-icon"},c]},d?{F:"div",L:"ytp-sb-count",Z:d}:""]}]});var y=this;this.channelId=h;this.j=v;var A=this.ya("ytp-sb-subscribe"),B=this.ya("ytp-sb-unsubscribe"); +f&&g.ho(this.element,"ytp-sb-classic");if(e){l?this.u():this.B();var E=function(){var H=y.channelId;if(m||n){var I={c:H};if(q.R().K("embeds_botguard_with_subscribe_killswitch"))I="";else{var O;g.VM.isInitialized()&&(O=jGa(I));I=O||""}if(O=q.getVideoData())if(O=O.subscribeCommand){var L=q.Cm();L?(uM(L,O,{botguardResponse:I,feature:m}),q.Ka("SUBSCRIBE",H)):g.gu(Error("No innertube service available when updating subscriptions."))}else g.gu(Error("No subscribe command in videoData."));else g.gu(Error("No video data available when updating subscription."))}B.focus(); +B.removeAttribute("aria-hidden");A.setAttribute("aria-hidden","true")},G=function(){var H=y.channelId; +if(m||n){var I=q.getVideoData();uM(q.Cm(),I.unsubscribeCommand,{feature:m});q.Ka("UNSUBSCRIBE",H)}A.focus();A.removeAttribute("aria-hidden");B.setAttribute("aria-hidden","true")}; +this.P(A,"click",E);this.P(B,"click",G);this.P(A,"keypress",function(H){13===H.keyCode&&E(H)}); +this.P(B,"keypress",function(H){13===H.keyCode&&G(H)}); +this.P(q,"SUBSCRIBE",this.u);this.P(q,"UNSUBSCRIBE",this.B);this.j&&p&&(this.tooltip=this.j.pc(),dP(this.tooltip),g.cf(this,g.$O(this.tooltip,A)),g.cf(this,g.$O(this.tooltip,B)))}else g.ho(A,"ytp-sb-disabled"),g.ho(B,"ytp-sb-disabled")}}; +fP=function(a,b){g.X.call(this,{F:"div",L:"ytp-title-channel",S:[{F:"div",L:"ytp-title-beacon"},{F:"a",L:"ytp-title-channel-logo",T:{href:"{{channelLink}}",target:a.R().J,"aria-label":"{{channelLogoLabel}}"}},{F:"div",L:"ytp-title-expanded-overlay",T:{"aria-hidden":"{{flyoutUnfocusable}}"},S:[{F:"div",L:"ytp-title-expanded-heading",S:[{F:"div",L:"ytp-title-expanded-title",S:[{F:"a",Z:"{{expandedTitle}}",T:{href:"{{channelTitleLink}}",target:a.R().J,tabIndex:"{{channelTitleFocusable}}"}}]},{F:"div", +L:"ytp-title-expanded-subtitle",Z:"{{expandedSubtitle}}"}]}]}]});this.api=a;this.I=b;this.channel=this.ya("ytp-title-channel");this.j=this.ya("ytp-title-channel-logo");this.C=this.ya("ytp-title-expanded-overlay");this.B=this.u=this.subscribeButton=null;this.D=g.MF(this.api.R());a.rb(this.j,this,36925);this.D&&ZHa(this);this.P(a,"videodatachange",this.Fa);this.P(a,"videoplayerreset",this.Fa);this.Fa()}; +ZHa=function(a){var b=a.api.R(),c=a.api.getVideoData();if(!b.Ld){var d=b.authUser?null:DFa(),e=new g.eP("Subscribe",null,"Subscribed",null,!0,!1,c.Ek,c.subscribed,"channel_avatar",null,d,a.api,a.I);a.subscribeButton=e;g.M(a,e);e.xa(a.C);a.api.rb(e.element,a,36926);e.hide();a.P(e.element,"click",function(){a.api.qb(e.element)}); +var f=new cP(a.api);a.u=f;g.M(a,f);f.xa(a.C);f.hide();a.P(a.api,"SUBSCRIBE",function(){c.rk&&f.show()}); +a.P(a.api,"UNSUBSCRIBE",function(){c.rk&&(f.hide(),YHa(f,!1))})}a.Ja("flyoutUnfocusable","true"); +a.Ja("channelTitleFocusable","-1");b.isMobile||b.Ak?a.P(a.j,"click",function(h){$Ha(a)&&(h.preventDefault(),a.isExpanded()?a.NG():a.uH());a.api.qb(a.j)}):(a.P(a.channel,"mouseenter",a.uH),a.P(a.channel,"mouseleave",a.NG),a.P(a.channel,"focusin",a.uH),a.P(a.channel,"focusout",function(h){a.channel.contains(h.relatedTarget)||a.NG()}),a.P(a.j,"click",function(){a.api.qb(a.j)})); +a.B=new g.Zn(function(){a.isExpanded()&&(a.subscribeButton&&(a.subscribeButton.hide(),a.api.Ta(a.subscribeButton.element,!1)),a.u&&(a.u.hide(),a.api.Ta(a.u.element,!1)),a.channel.classList.remove("ytp-title-expanded"),a.channel.classList.add("ytp-title-show-collapsed"))},500); +g.M(a,a.B);a.P(a.channel,aIa,function(){bIa(a)}); +a.P(a.api,"onHideControls",a.nK);a.P(a.api,"appresize",a.nK);a.P(a.api,"fullscreentoggled",a.nK)}; +bIa=function(a){a.channel.classList.remove("ytp-title-show-collapsed");a.channel.classList.remove("ytp-title-show-expanded")}; +$Ha=function(a){var b=a.api.getPlayerSize();return a.D&&524<=b.width}; +cIa=function(a,b){var c={};a.api.R().ra&&g.bN(c,a.api.R().loaderUrl);return g.wi(b,g.aN(c,"emb_ch_name_ex"))}; +gP=function(a,b,c,d,e,f){var h={F:"div",L:"ytp-panel"};if(c){var l="ytp-panel-back-button";var m="ytp-panel-title";var n={F:"div",L:"ytp-panel-header",S:[{F:"div",Ca:["ytp-panel-back-button-container"],S:[{T:{"aria-label":"Back to previous menu"},F:"button",Ca:["ytp-button",l]}]},{T:{tabindex:"0"},F:"span",Ca:[m],S:[c]}]};if(e){var p="ytp-panel-options";n.S.push({F:"button",Ca:["ytp-button",p],S:[d]})}h.S=[n]}d=!1;f&&(f={F:"div",L:"ytp-panel-footer",S:[f]},d=!0,h.S?h.S.push(f):h.S=[f]);g.ZK.call(this, +h);this.content=b;d&&h.S?b.xa(this.element,h.S.length-1):b.xa(this.element);this.uP=!1;this.tP=d;c&&(c=this.ya(l),m=this.ya(m),this.P(c,"click",this.JQ),this.P(m,"click",this.JQ),this.uP=!0,e&&(p=this.ya(p),this.P(p,"click",e)));b.subscribe("size-change",this.PQ,this);this.P(a,"fullscreentoggled",this.PQ);g.N(this.element,"ytp-panel-min-width-killswitch",a.R().K("player_panel_min_width_killswitch"));this.G=a}; +dIa=function(a,b){var c=new g.ZK({F:"div",L:"ytp-multi-item-panel"});a.content.xa(c.element);b.xa(c.element);a.content=c;c.xa(a.element);g.M(a,c)}; +g.hP=function(a,b,c,d,e,f){b=void 0===b?null:b;var h={role:"menu"};b&&(h.id=b);b=new g.ZK({F:"div",L:"ytp-panel-menu",T:h});gP.call(this,a,b,c,d,e,f);this.menuItems=b;this.items=[];g.M(this,this.menuItems)}; +g.iP=function(a){for(var b=g.r(a.items),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.EJ,a);a.items=[];g.oh(a.menuItems.element);a.menuItems.X("size-change")}; +eIa=function(a,b){return b.priority-a.priority}; +jP=function(a){var b=g.GN({"aria-haspopup":"true"});g.FN.call(this,b,a);this.Na("keydown",this.j)}; +kP=function(a,b){a.element.setAttribute("aria-haspopup",String(b))}; +lP=function(a,b){g.X.call(this,{F:"div",L:"ytp-user-info-panel",T:{"aria-label":"User info"},S:a.R().authUser&&!a.K("embeds_web_always_enable_signed_out_state")?[{F:"div",L:"ytp-user-info-panel-icon",Z:"{{icon}}"},{F:"div",L:"ytp-user-info-panel-content",S:[{F:"div",L:"ytp-user-info-panel-info",T:{tabIndex:"{{userInfoFocusable}}",role:"text"},Z:"{{watchingAsUsername}}"},{F:"div",L:"ytp-user-info-panel-info",T:{tabIndex:"{{userInfoFocusable2}}",role:"text"},Z:"{{watchingAsEmail}}"}]}]:[{F:"div",L:"ytp-user-info-panel-icon", +Z:"{{icon}}"},{F:"div",L:"ytp-user-info-panel-content",S:[{F:"div",S:[{F:"text",T:{tabIndex:"{{userInfoFocusable}}"},Z:"Signed out"}]},{F:"div",L:"ytp-user-info-panel-login",S:[{F:"a",T:{tabIndex:"{{userInfoFocusable2}}",role:"button"},Z:a.R().Ld?"":"Sign in on YouTube"}]}]}]});this.Sa=a;this.j=b;a.R().authUser||a.R().Ld||(a=this.ya("ytp-user-info-panel-login"),this.P(a,"click",this.vV));this.closeButton=new g.X({F:"button",Ca:["ytp-collapse","ytp-button"],T:{title:"Close"},S:[g.bFa()]});this.closeButton.xa(this.element); +g.M(this,this.closeButton);this.P(window,"blur",this.hide);this.P(document,"click",this.uV);this.Fa()}; +mP=function(a,b,c,d){g.hP.call(this,a);this.ib=c;this.Ec=d;this.getVideoUrl=new jP(6);this.dl=new jP(5);this.Zk=new jP(4);this.Ob=new jP(3);this.iA=new g.FN(g.GN({href:"{{href}}",target:this.G.R().J},void 0,!0),2,"Troubleshoot playback issue");this.showVideoInfo=new g.FN(g.GN(),1,"Stats for nerds");this.qv=new g.ZK({F:"div",Ca:["ytp-copytext","ytp-no-contextmenu"],T:{draggable:"false",tabindex:"1"},Z:"{{text}}"});this.jO=new gP(this.G,this.qv);this.KA=this.Tp=null;g.MF(this.G.R())&&(this.yk=new g.FN(g.GN(), +8,"Account"),g.M(this,this.yk),this.Bc(this.yk,!0),this.yk.Na("click",this.f2,this),a.rb(this.yk.element,this.yk,137682));this.G.R().Mk&&(this.Xj=new MN("Loop",7),g.M(this,this.Xj),this.Bc(this.Xj,!0),this.Xj.Na("click",this.Q0,this),a.rb(this.Xj.element,this.Xj,28661));g.M(this,this.getVideoUrl);this.Bc(this.getVideoUrl,!0);this.getVideoUrl.Na("click",this.G0,this);a.rb(this.getVideoUrl.element,this.getVideoUrl,28659);g.M(this,this.dl);this.Bc(this.dl,!0);this.dl.Na("click",this.H0,this);a.rb(this.dl.element, +this.dl,28660);g.M(this,this.Zk);this.Bc(this.Zk,!0);this.Zk.Na("click",this.F0,this);a.rb(this.Zk.element,this.Zk,28658);g.M(this,this.Ob);this.Bc(this.Ob,!0);this.Ob.Na("click",this.E0,this);g.M(this,this.iA);this.Bc(this.iA,!0);this.iA.Na("click",this.M1,this);g.M(this,this.showVideoInfo);this.Bc(this.showVideoInfo,!0);this.showVideoInfo.Na("click",this.g2,this);g.M(this,this.qv);this.qv.Na("click",this.t0,this);g.M(this,this.jO);b=document.queryCommandSupported&&document.queryCommandSupported("copy"); +43<=Gb("Chromium")&&(b=!0);40>=Gb("Firefox")&&(b=!1);b&&(this.Tp=new g.X({F:"textarea",L:"ytp-html5-clipboard",T:{readonly:"",tabindex:"-1"}}),g.M(this,this.Tp),this.Tp.xa(this.element));var e;null==(e=this.yk)||HN(e,ZEa());var f;null==(f=this.Xj)||HN(f,{F:"svg",T:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},S:[{F:"path",T:{d:"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z",fill:"white"}}]});HN(this.Ob,{F:"svg",T:{height:"24",viewBox:"0 0 24 24",width:"24"},S:[{F:"path", +T:{"clip-rule":"evenodd",d:"M20 10V8H17.19C16.74 7.22 16.12 6.54 15.37 6.04L17 4.41L15.59 3L13.42 5.17C13.39 5.16 13.37 5.16 13.34 5.16C13.18 5.12 13.02 5.1 12.85 5.07C12.79 5.06 12.74 5.05 12.68 5.04C12.46 5.02 12.23 5 12 5C11.51 5 11.03 5.07 10.58 5.18L10.6 5.17L8.41 3L7 4.41L8.62 6.04H8.63C7.88 6.54 7.26 7.22 6.81 8H4V10H6.09C6.03 10.33 6 10.66 6 11V12H4V14H6V15C6 15.34 6.04 15.67 6.09 16H4V18H6.81C7.85 19.79 9.78 21 12 21C14.22 21 16.15 19.79 17.19 18H20V16H17.91C17.96 15.67 18 15.34 18 15V14H20V12H18V11C18 10.66 17.96 10.33 17.91 10H20ZM16 15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V11C8 8.79 9.79 7 12 7C14.21 7 16 8.79 16 11V15ZM10 14H14V16H10V14ZM10 10H14V12H10V10Z", +fill:"white","fill-rule":"evenodd"}}]});HN(this.iA,{F:"svg",T:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},S:[{F:"path",T:{"clip-rule":"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM13 16V18H11V16H13ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM8 10C8 7.79 9.79 6 12 6C14.21 6 16 7.79 16 10C16 11.28 15.21 11.97 14.44 12.64C13.71 13.28 13 13.90 13 15H11C11 13.17 11.94 12.45 12.77 11.82C13.42 11.32 14 10.87 14 10C14 8.9 13.1 8 12 8C10.9 8 10 8.9 10 10H8Z", +fill:"white","fill-rule":"evenodd"}}]});HN(this.showVideoInfo,VEa());this.P(a,"onLoopChange",this.onLoopChange);this.P(a,"videodatachange",this.onVideoDataChange);fIa(this);this.GK(this.G.getVideoData())}; +oP=function(a,b){var c=!1;if(a.Tp){var d=a.Tp.element;d.value=b;d.select();try{c=document.execCommand("copy")}catch(e){}}c?a.ib.Ib():(a.qv.Sd(b,"text"),g.nP(a.ib,a.jO),DO(a.qv.element),a.Tp&&(a.Tp=null,fIa(a)));return c}; +fIa=function(a){var b=!!a.Tp;a.Ob.Ig(b?"Copy debug info":"Get debug info");kP(a.Ob,!b);a.Zk.Ig(b?"Copy embed code":"Get embed code");kP(a.Zk,!b);a.getVideoUrl.Ig(b?"Copy video URL":"Get video URL");kP(a.getVideoUrl,!b);a.dl.Ig(b?"Copy video URL at current time":"Get video URL at current time");kP(a.dl,!b);HN(a.Zk,b?TEa():null);HN(a.getVideoUrl,b?gL():null);HN(a.dl,b?gL():null)}; +g.pP=function(a,b){g.CN.call(this,a,{F:"div",Ca:["ytp-popup",b||""]},100,!0);this.j=[];this.I=this.C=null;this.rB=this.maxWidth=0;this.size=new g.Qg(0,0);this.Na("keydown",this.wV)}; +gIa=function(a){var b=a.j[a.j.length-1];if(b){g.Il(a.element,a.maxWidth||"100%",a.rB||"100%");b.G.R().K("player_panel_min_width_killswitch")&&g.yl(b.element,"minWidth","250px");g.yl(b.element,"width","");g.yl(b.element,"height","");g.yl(b.element,"maxWidth","100%");g.yl(b.element,"maxHeight","100%");g.yl(b.content.element,"height","");var c=g.Jl(b.element);c.width+=1;c.height+=1;g.yl(b.element,"width",c.width+"px");g.yl(b.element,"height",c.height+"px");g.yl(b.element,"maxWidth","");g.yl(b.element, +"maxHeight","");var d=0;b.uP&&(d=b.ya("ytp-panel-header"),d=g.Jl(d).height);var e=0;b.tP&&(e=b.ya("ytp-panel-footer"),g.yl(e,"width",c.width+"px"),e=g.Jl(e).height);g.yl(b.content.element,"height",c.height-d-e+"px");b.element instanceof HTMLElement&&(d=b.element,e=d.scrollWidth-d.clientWidth,0=a.j.length)){var b=a.j.pop(),c=a.j[0];a.j=[c];qP(a,b,c,!0)}}; +qP=function(a,b,c,d){hIa(a);b&&(b.unsubscribe("size-change",a.Zw,a),b.unsubscribe("back",a.Ti,a));c.subscribe("size-change",a.Zw,a);c.subscribe("back",a.Ti,a);if(a.tb){g.ho(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.xa(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;gIa(a);g.Il(a.element,e);a.C=new g.Zn(function(){iIa(a,b,c,d)},20,a); +a.C.start()}else c.xa(a.element),b&&b.detach()}; +iIa=function(a,b,c,d){a.C.dispose();a.C=null;g.ho(a.element,"ytp-popup-animating");d?(g.ho(b.element,"ytp-panel-animate-forward"),g.jo(c.element,"ytp-panel-animate-back")):(g.ho(b.element,"ytp-panel-animate-back"),g.jo(c.element,"ytp-panel-animate-forward"));g.Il(a.element,a.size);a.I=new g.Zn(function(){g.jo(a.element,"ytp-popup-animating");b.detach();g.ko(b.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);a.I.dispose();a.I=null},250,a); +a.I.start()}; +hIa=function(a){a.C&&g.ao(a.C);a.I&&g.ao(a.I)}; +g.sP=function(a,b,c){g.pP.call(this,a);this.qa=b;this.Ec=c;this.B=new g.YD(this);this.W=new g.Zn(this.D2,1E3,this);this.Y=this.D=null;g.M(this,this.B);g.M(this,this.W);a.rb(this.element,this,28656);g.ho(this.element,"ytp-contextmenu");jIa(this);this.hide()}; +jIa=function(a){g.bz(a.B);if("gvn"!==a.G.R().playerStyle){var b=a.G.Za();a.B.P(b,"contextmenu",a.o0);a.B.P(b,"touchstart",a.yV,null,!0);a.B.P(b,"touchmove",a.rR,null,!0);a.B.P(b,"touchend",a.rR,null,!0)}}; +kIa=function(a){a.G.isFullscreen()?g.AN(a.G,a.element,10):a.xa(document.body)}; +g.tP=function(a,b,c){c=void 0===c?240:c;g.X.call(this,{F:"button",Ca:["ytp-button","ytp-copylink-button"],T:{title:"{{title-attr}}","data-tooltip-opaque":String(g.MF(a.R()))},S:[{F:"div",L:"ytp-copylink-icon",Z:"{{icon}}"},{F:"div",L:"ytp-copylink-title",Z:"Copy link",T:{"aria-hidden":"true"}}]});this.api=a;this.j=b;this.u=c;this.visible=!1;this.tooltip=this.j.pc();b=a.R();dP(this.tooltip);g.N(this.element,"ytp-show-copylink-title",g.MF(b)&&!g.XF(b));a.rb(this.element,this,86570);this.Na("click", +this.onClick);this.P(a,"videodatachange",this.Fa);this.P(a,"videoplayerreset",this.Fa);this.P(a,"appresize",this.Fa);this.Fa();g.cf(this,g.$O(this.tooltip,this.element))}; +lIa=function(a){a.Ja("icon",bL());if(a.api.R().isMobile)uP(a.tooltip,a.element,"Link copied to clipboard");else{a.Ja("title-attr","Link copied to clipboard");vP(a.tooltip);uP(a.tooltip,a.element);var b=a.Na("mouseleave",function(){a.uc(b);a.Fa();a.tooltip.Nj()})}}; +mIa=function(a,b){return g.z(function(c){if(1==c.j)return g.ra(c,2),g.x(c,navigator.clipboard.writeText(b),4);if(2!=c.j)return c.return(!0);g.va(c);var d=c.return,e=!1,f=g.mh("TEXTAREA");f.value=b;f.setAttribute("readonly","");var h=a.api.getRootNode();h.appendChild(f);if(Wu){var l=window.getSelection();l.removeAllRanges();var m=document.createRange();m.selectNodeContents(f);l.addRange(m);f.setSelectionRange(0,b.length)}else f.select();try{e=document.execCommand("copy")}catch(n){}h.removeChild(f); +return d.call(c,e)})}; +wP=function(){g.X.call(this,{F:"div",L:"ytp-doubletap-ui",S:[{F:"div",Ca:["ytp-seek-info-container","ytp-seek-static-circle"],S:[{F:"div",L:"ytp-seek-arrows-container",S:[{F:"span",L:"ytp-seek-base-arrow"},{F:"span",L:"ytp-seek-base-arrow"},{F:"span",L:"ytp-seek-base-arrow"}]},{F:"div",L:"ytp-seek-tooltip",S:[{F:"div",L:"ytp-chapter-seek-text",Z:"{{chapterSeekText}}"},{F:"div",L:"ytp-seek-tooltip-label",Z:"{{seekTime}}"}]}]}]});this.u=new g.Zn(this.show,10,this);this.j=new g.Zn(this.hide,700,this); +g.M(this,this.u);g.M(this,this.j);this.hide()}; +xP=function(a){g.X.call(this,{F:"div",L:"ytp-doubletap-ui-legacy",S:[{F:"div",L:"ytp-doubletap-fast-forward-ve"},{F:"div",L:"ytp-doubletap-rewind-ve"},{F:"div",L:"ytp-doubletap-static-circle",S:[{F:"div",L:"ytp-doubletap-ripple"}]},{F:"div",L:"ytp-doubletap-overlay-a11y"},{F:"div",L:"ytp-doubletap-seek-info-container",S:[{F:"div",L:"ytp-doubletap-arrows-container",S:[{F:"span",L:"ytp-doubletap-base-arrow"},{F:"span",L:"ytp-doubletap-base-arrow"},{F:"span",L:"ytp-doubletap-base-arrow"}]},{F:"div", +L:"ytp-doubletap-tooltip",S:[{F:"div",L:"ytp-chapter-seek-text-legacy",Z:"{{seekText}}"},{F:"div",L:"ytp-doubletap-tooltip-label",Z:"{{seekTime}}"}]}]}]});this.G=a;this.B=new g.Zn(this.show,10,this);this.u=new g.Zn(this.hide,700,this);this.j=this.ya("ytp-doubletap-static-circle");g.M(this,this.B);g.M(this,this.u);this.hide();this.C=this.ya("ytp-doubletap-fast-forward-ve");this.D=this.ya("ytp-doubletap-rewind-ve");this.G.rb(this.C,this,28240);this.G.rb(this.D,this,28239);this.G.Ta(this.C,!0);this.G.Ta(this.D, +!0)}; +nIa=function(a,b){b=g.HJ("$TOTAL_SEEK_TIME seconds",{TOTAL_SEEK_TIME:b.toString()});a.Ja("seekTime",b)}; +yP=function(a){var b=null;try{b=a.toLocaleString("en",{style:"percent"})}catch(c){b=a.toLocaleString(void 0,{style:"percent"})}return b}; +zP=function(a,b){var c=0;a=g.r(a);for(var d=a.next();!(d.done||d.value.startTime>b);d=a.next())c++;return 0===c?c:c-1}; +oIa=function(a,b){for(var c=0,d=g.r(a),e=d.next();!e.done;e=d.next()){e=e.value;if(b=e.timeRangeStartMillis&&bd;e={Wo:e.Wo},f++){e.Wo=c[f];a:switch(e.Wo.img||e.Wo.iconId){case "facebook":var h={F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},S:[{F:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{F:"path",T:{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"}}]};break a;case "twitter":h={F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},S:[{F:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{F:"path",T:{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"}}]};break a;default:h=null}h&&(h=new g.X({F:"a",Ca:["ytp-share-panel-service-button","ytp-button"],T:{href:e.Wo.url,target:"_blank",title:e.Wo.sname||e.Wo.serviceName},S:[h]}),h.Na("click",function(m){return function(n){if(g.YL(n)){var p=m.Wo.url;var q=void 0===q?{}:q;q.target=q.target||"YouTube";q.width=q.width||"600";q.height=q.height||"600";var v=q;v||(v={});q=window;var w=p instanceof kg?p:g.mg("undefined"!=typeof p.href?p.href:String(p));var y=void 0!==self.crossOriginIsolated, +A="strict-origin-when-cross-origin";window.Request&&(A=(new Request("/")).referrerPolicy);var B="unsafe-url"===A;A=v.noreferrer;if(y&&A){if(B)throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");A=!1}p=v.target||p.target;y=[];for(var E in v)switch(E){case "width":case "height":case "top":case "left":y.push(E+"="+v[E]);break;case "target":case "noopener":case "noreferrer":break;default:y.push(E+"="+(v[E]?1:0))}E=y.join(",");Lb()&& +q.navigator&&q.navigator.standalone&&p&&"_self"!=p?(v=g.mh("A"),g.zg(v,w),v.target=p,A&&(v.rel="noreferrer"),w=document.createEvent("MouseEvent"),w.initMouseEvent("click",!0,!0,q,1),v.dispatchEvent(w),q={}):A?(q=Ag("",q,p,E),w=g.lg(w),q&&(g.rG&&g.ib(w,";")&&(w="'"+w.replace(/'/g,"%27")+"'"),q.opener=null,""===w&&(w="javascript:''"),w=g.yg(g.fg("b/12014412, meta tag with sanitized URL"),''),(v=q.document)&& +v.write&&(v.write(g.wg(w)),v.close()))):((q=Ag(w,q,p,E))&&v.noopener&&(q.opener=null),q&&v.noreferrer&&(q.opener=null));q&&(q.opener||(q.opener=window),q.focus());g.Gx(n)}}}(e)),g.cf(h,g.$O(a.tooltip,h.element)),a.j.push(h),d++)}var l=b.more||b.moreLink; +b=new g.X({F:"a",Ca:["ytp-share-panel-service-button","ytp-button"],S:[{F:"span",L:"ytp-share-panel-service-button-more",S:[{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},S:[{F:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{F:"path",T:{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"}}]}]}],T:{href:l,target:"_blank",title:"More"}});b.Na("click",function(m){g.BO(l,a.api,m)&&a.api.Ka("SHARE_CLICKED")}); +g.cf(b,g.$O(a.tooltip,b.element));a.j.push(b);a.Ja("buttons",a.j)}; +zIa=function(a){for(var b=g.r(a.j),c=b.next();!c.done;c=b.next())c=c.value,c.detach(),g.af(c);a.j=[]}; +UP=function(a,b,c){c=void 0===c?!0:c;g.X.call(this,{F:"div",L:"ytp-suggested-action"});var d=this;this.G=a;this.eb=b;this.Ra=this.J=this.j=this.D=this.C=this.u=this.expanded=this.enabled=this.B=!1;this.Ha=new g.Zn(function(){d.badge.element.style.width=""},200,this); +this.W=new g.Zn(function(){SP(d);TP(d)},200,this); +this.dismissButton=new g.X({F:"button",Ca:["ytp-suggested-action-badge-dismiss-button-icon","ytp-button"]});g.M(this,this.dismissButton);this.I=new g.X({F:"div",L:"ytp-suggested-action-badge-expanded-content-container",S:[{F:"label",L:"ytp-suggested-action-badge-title",Z:"{{badgeLabel}}"},this.dismissButton]});g.M(this,this.I);this.badge=new g.X({F:"button",Ca:["ytp-button","ytp-suggested-action-badge","ytp-suggested-action-badge-with-controls"],S:[c?{F:"div",L:"ytp-suggested-action-badge-icon"}: +"",this.I]});g.M(this,this.badge);this.badge.xa(this.element);this.N=new g.JL(this.badge,250,!1,100);g.M(this,this.N);this.qa=new g.JL(this.I,250,!1,100);g.M(this,this.qa);this.La=new g.Xn(this.x4,null,this);g.M(this,this.La);this.Y=new g.Xn(this.aY,null,this);g.M(this,this.Y);g.M(this,this.Ha);g.M(this,this.W);this.G.Ai(this.badge.element,this.badge,!0);this.G.Ai(this.dismissButton.element,this.dismissButton,!0);this.P(this.G,"onHideControls",function(){d.j=!1;TP(d);SP(d);d.Dj()}); +this.P(this.G,"onShowControls",function(){d.j=!0;TP(d);SP(d);d.Dj()}); +this.P(this.badge.element,"click",this.nJ);this.P(this.dismissButton.element,"click",this.oJ);this.P(this.G,"pageTransition",this.CV);this.P(this.G,"appresize",this.Dj);this.P(this.G,"fullscreentoggled",this.C0);this.P(this.G,"cardstatechange",this.g0);this.P(this.G,"annotationvisibility",this.A5,this);this.P(this.G,"offlineslatestatechange",this.B5,this)}; +SP=function(a){g.N(a.badge.element,"ytp-suggested-action-badge-with-controls",a.j||!a.u)}; +TP=function(a,b){var c=a.J||a.j||!a.u;a.expanded!==c&&(a.expanded=c,void 0===b||b?(a.La.stop(),a.Y.stop(),a.Ha.stop(),a.La.start()):(g.YK(a.I,a.expanded),g.N(a.badge.element,"ytp-suggested-action-badge-expanded",a.expanded)),BIa(a))}; +BIa=function(a){a.C&&a.G.Ta(a.badge.element,a.uA());a.D&&a.G.Ta(a.dismissButton.element,a.uA()&&(a.J||a.j||!a.u))}; +CIa=function(a){var b=a.text||"";g.th(g.eh("ytp-suggested-action-badge-title",a.element),b);a.badge.element.setAttribute("aria-label",b);a.dismissButton.element.setAttribute("aria-label",a.Ua?a.Ua:"")}; +DIa=function(a,b){b?a.D&&a.G.qb(a.dismissButton.element):a.C&&a.G.qb(a.badge.element)}; +VP=function(a,b){UP.call(this,a,b);var c=this;this.V=this.va=this.Ea=!1;this.P(this.G,g.uA("shopping_overlay_visible"),function(){c.zf(!0)}); +this.P(this.G,g.vA("shopping_overlay_visible"),function(){c.zf(!1)}); +this.P(this.G,g.uA("shopping_overlay_expanded"),function(){c.J=!0;TP(c)}); +this.P(this.G,g.vA("shopping_overlay_expanded"),function(){c.J=!1;TP(c)}); +this.P(this.G,"changeProductsInVideoVisibility",this.t1);this.P(this.G,"videodatachange",this.onVideoDataChange);this.P(this.G,"paidcontentoverlayvisibilitychange",this.j1)}; +WP=function(a){a.G.Af("shopping_overlay_visible");a.G.Af("shopping_overlay_expanded")}; +XP=function(a){g.CN.call(this,a,{F:"button",Ca:["ytp-skip-intro-button","ytp-popup","ytp-button"],S:[{F:"div",L:"ytp-skip-intro-button-text",Z:"Skip Intro"}]},100);var b=this;this.B=!1;this.j=new g.Zn(function(){b.hide()},5E3); +this.Kd=this.bf=NaN;g.M(this,this.j);this.I=function(){b.show()}; +this.D=function(){b.hide()}; +this.C=function(){var c=b.G.getCurrentTime();c>b.bf/1E3&&c=f&&(p-=1/h);n-=2/h;a=a.style;a.width=n+"px";a.height=p+"px";e||(d=(d-p)/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+") "+q+"px "+v+"px/"+l+"px "+m+"px"}; +g.dQ=function(a){g.X.call(this,{F:"div",L:"ytp-storyboard-framepreview",S:[{F:"div",L:"ytp-storyboard-framepreview-img"}]});this.api=a;this.C=this.ya("ytp-storyboard-framepreview-img");this.u=null;this.B=NaN;this.events=new g.YD(this);this.j=new g.JL(this,100);g.M(this,this.events);g.M(this,this.j);this.P(this.api,"presentingplayerstatechange",this.bd)}; +eQ=function(a,b){var c=!!a.u;a.u=b;a.u?(c||(a.events.P(a.api,"videodatachange",function(){eQ(a,a.api.Ii())}),a.events.P(a.api,"progresssync",a.Vd),a.events.P(a.api,"appresize",a.D)),a.B=NaN,fQ(a),a.j.show(200)):(c&&g.bz(a.events),a.j.hide(),a.j.stop())}; +fQ=function(a){var b=a.u,c=a.api.getCurrentTime(),d=a.api.Za().getPlayerSize(),e=zH(b,d.width);c=IAa(b,e,c);c!==a.B&&(a.B=c,GAa(b,c,d.width),b=EAa(b,c,d.width),HIa(a.C,b,d.width,d.height))}; +gQ=function(a,b){g.X.call(this,{F:"button",Ca:["ytp-fullerscreen-edu-button","ytp-button"],S:[{F:"div",Ca:["ytp-fullerscreen-edu-text"],Z:"Scroll for details"},{F:"div",Ca:["ytp-fullerscreen-edu-chevron"],S:[{F:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},S:[{F:"path",T:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});this.Sa=a;this.B=b;this.j=new g.JL(this,250,void 0,100);this.C=this.u=!1;a.rb(this.element,this,61214);this.B=b;g.M(this,this.j);this.P(a, +"fullscreentoggled",this.Fa);this.P(a,"presentingplayerstatechange",this.Fa);this.Na("click",this.onClick);this.Fa()}; +g.hQ=function(a,b){g.X.call(this,{F:"button",Ca:["ytp-fullscreen-button","ytp-button"],T:{title:"{{title}}"},Z:"{{icon}}"});this.G=a;this.u=b;this.message=null;this.j=g.$O(this.u.pc(),this.element);this.B=new g.Zn(this.pX,2E3,this);g.M(this,this.B);this.P(a,"fullscreentoggled",this.wk);this.P(a,"presentingplayerstatechange",this.Fa);this.Na("click",this.onClick);g.Wy()&&(b=this.G.Za(),this.P(b,Bra(),this.xJ),this.P(b,Zy(document),this.Eo));a.R().gb||a.R().I||this.disable();a.rb(this.element,this, +139117);this.Fa();this.wk(a.isFullscreen())}; +iQ=function(a,b,c){bQ.call(this,a,b,c,"timedMarkerCueRange","View key moments");this.P(a,g.vA("timedMarkerCueRange"),this.Wb);this.P(a,"updatemarkervisibility",this.updateVideoData)}; +IIa=function(a){var b,c=null==(b=a.G.getVideoData())?void 0:b.Dd;if(c)for(a=a.C.Nc,c=g.r(c),b=c.next();!b.done;b=c.next())if(b=a[b.value])return b}; +jQ=function(a,b){g.X.call(this,{F:"button",Ca:["ytp-miniplayer-button","ytp-button"],T:{title:"{{title}}","data-tooltip-target-id":"ytp-miniplayer-button"},S:[$Ea()]});this.G=a;this.visible=!1;this.Na("click",this.onClick);this.P(a,"fullscreentoggled",this.Fa);this.Ja("title",EO(a,"Miniplayer","i"));g.cf(this,g.$O(b.pc(),this.element));a.rb(this.element,this,62946);this.Fa()}; +kQ=function(a,b,c){g.X.call(this,{F:"button",Ca:["ytp-multicam-button","ytp-button"],T:{title:"Switch camera","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},S:[{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,T:{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"}}]}]});var d=this;this.G=a;this.j=!1;this.u=new g.Zn(this.B,400,this);this.tooltip=b.pc();dP(this.tooltip);g.M(this,this.u);this.Na("click",function(){DN(c,d.element,!1)}); +this.P(a,"presentingplayerstatechange",function(){d.Fa(!1)}); +this.P(a,"videodatachange",this.onVideoDataChange);this.Fa(!0);g.cf(this,g.$O(this.tooltip,this.element))}; +lQ=function(a){g.CN.call(this,a,{F:"div",L:"ytp-multicam-menu",T:{role:"dialog"},S:[{F:"div",L:"ytp-multicam-menu-header",S:[{F:"div",L:"ytp-multicam-menu-title",S:["Switch camera",{F:"button",Ca:["ytp-multicam-menu-close","ytp-button"],T:{"aria-label":"Close"},S:[g.eL()]}]}]},{F:"div",L:"ytp-multicam-menu-items"}]},250);this.api=a;this.B=new g.YD(this);this.items=this.ya("ytp-multicam-menu-items");this.j=[];g.M(this,this.B);a=this.ya("ytp-multicam-menu-close");this.P(a,"click",this.Ib);this.hide()}; +mQ=function(){g.K.call(this);this.u=null;this.startTime=this.duration=0;this.delay=new g.Xn(this.j,null,this);g.M(this,this.delay)}; +JIa=function(a,b){if("path"===b.F)return b.T.d;if(b.S)for(var c=0;c=l)break}a.D=e;a.frameCount=b.jB();a.interval=b.j/1E3||a.api.getDuration()/a.frameCount}for(;a.thumbnails.length>a.D.length;)e= +void 0,null==(e=a.thumbnails.pop())||e.dispose();for(;a.thumbnails.lengthc.length;)d=void 0,null==(d=a.j.pop())||d.dispose();for(;a.j.length< +c.length;)d=new wQ,a.j.push(new wQ),g.M(a,d);c=g.r(c.entries());for(d=c.next();!d.done;d=c.next())e=g.r(d.value),d=e.next().value,e=e.next().value,a.j[d].update({chapterTitle:e.title}),e=Math.round(e.startTime/b.j),f=Math.floor(e/b.rows),g.yl(a.j[d].element,"transform","translateX("+e%b.rows*160*a.scale+"px)"),a.j[d].xa(a.thumbnails[f].element);a.W=!0}}}; +vQ=function(a,b){a.update({seekTime:g.XL(b)});var c=160*a.scale;b=b-c?-b/c*a.interval*.5:-(b+c/2)/c*a.interval}; +YIa=function(a){return-((a.B.offsetWidth||160*(a.frameCount-1)*a.scale)-a.C/2)}; +WIa=function(){g.X.call(this,{F:"div",L:"ytp-fine-scrubbing-thumbnail"})}; +wQ=function(){g.X.call(this,{F:"div",L:"ytp-fine-scrubbing-chapter-title",S:[{F:"div",L:"ytp-fine-scrubbing-chapter-title-content",Z:"{{chapterTitle}}"}]})}; +$Ia=function(a){g.X.call(this,{F:"div",L:"ytp-heat-map-chapter",S:[{F:"svg",L:"ytp-heat-map-svg",T:{height:"100%",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 1000 100",width:"100%"},S:[{F:"defs",S:[{F:"clipPath",T:{id:"{{id}}"},S:[{F:"path",L:"ytp-heat-map-path",T:{d:"",fill:"white","fill-opacity":"0.6"}}]}]},{F:"rect",L:"ytp-heat-map-graph",T:{"clip-path":"url(#hm_1)",fill:"white","fill-opacity":"0.2",height:"100%",width:"100%",x:"0",y:"0"}},{F:"rect",L:"ytp-heat-map-hover",T:{"clip-path":"url(#hm_1)", +height:"100%",x:"0",y:"0"}},{F:"rect",L:"ytp-heat-map-play",T:{"clip-path":"url(#hm_1)",height:"100%",x:"0",y:"0"}}]}]});this.api=a;this.I=this.ya("ytp-heat-map-svg");this.D=this.ya("ytp-heat-map-path");this.C=this.ya("ytp-heat-map-graph");this.B=this.ya("ytp-heat-map-play");this.u=this.ya("ytp-heat-map-hover");this.isValid=!1;this.j=60;a=""+g.Ra(this);this.update({id:a});a="url(#"+a+")";this.C.setAttribute("clip-path",a);this.B.setAttribute("clip-path",a);this.u.setAttribute("clip-path",a)}; +bJa=function(a,b,c,d){d=void 0===d?!1:d;b=new aJa(b||a,c||a);return{x:a.x+.2*((void 0===d?0:d)?-1*b.j:b.j),y:a.y+.2*((void 0===d?0:d)?-1*b.u:b.u)}}; +aJa=function(a,b){this.u=this.j=0;this.j=b.x-a.x;this.u=b.y-a.y}; +xQ=function(){g.X.call(this,{F:"div",L:"ytp-chapter-hover-container",S:[{F:"div",L:"ytp-progress-bar-padding"},{F:"div",L:"ytp-progress-list",S:[{F:"div",Ca:["ytp-play-progress","ytp-swatch-background-color"]},{F:"div",L:"ytp-progress-linear-live-buffer"},{F:"div",L:"ytp-load-progress"},{F:"div",L:"ytp-hover-progress"},{F:"div",L:"ytp-ad-progress-list"}]}]});this.startTime=NaN;this.title="";this.index=NaN;this.width=0;this.C=this.ya("ytp-progress-linear-live-buffer");this.B=this.ya("ytp-ad-progress-list"); +this.D=this.ya("ytp-load-progress");this.I=this.ya("ytp-play-progress");this.u=this.ya("ytp-hover-progress");this.j=this.ya("ytp-chapter-hover-container")}; +yQ=function(a,b){g.yl(a.j,"width",b)}; +zQ=function(a,b){g.yl(a.j,"margin-right",b+"px")}; +AQ=function(a,b){return"PLAY_PROGRESS"===b?a.I:"LOAD_PROGRESS"===b?a.D:"LIVE_BUFFER"===b?a.C:a.u}; +cJa=function(){this.B=this.position=this.C=this.j=this.D=this.u=this.width=NaN}; +BQ=function(){g.X.call(this,{F:"div",L:"ytp-timed-marker"});this.j=this.timeRangeStartMillis=NaN;this.title="";this.onActiveCommand=void 0}; +g.DQ=function(a,b){g.ZK.call(this,{F:"div",L:"ytp-progress-bar-container",T:{"aria-disabled":"true"},S:[{F:"div",Ca:["ytp-heat-map-container"],S:[{F:"div",L:"ytp-heat-map-edu"}]},{F:"div",Ca:["ytp-progress-bar"],T:{tabindex:"0",role:"slider","aria-label":"Seek slider","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},S:[{F:"div",L:"ytp-chapters-container"},{F:"div",L:"ytp-marker-crenellation-list"},{F:"div",L:"ytp-timed-markers-container"}, +{F:"div",L:"ytp-clip-start-exclude"},{F:"div",L:"ytp-clip-end-exclude"},{F:"div",L:"ytp-scrubber-container",S:[{F:"div",Ca:["ytp-scrubber-button","ytp-swatch-background-color"],S:[{F:"div",L:"ytp-scrubber-pull-indicator"}]}]}]},{F:"div",Ca:["ytp-fine-scrubbing-container"],S:[{F:"div",L:"ytp-fine-scrubbing-edu"}]},{F:"div",L:"ytp-bound-time-left",Z:"{{boundTimeLeft}}"},{F:"div",L:"ytp-bound-time-right",Z:"{{boundTimeRight}}"},{F:"div",L:"ytp-clip-start",T:{title:"{{clipstarttitle}}"},Z:"{{clipstarticon}}"}, +{F:"div",L:"ytp-clip-end",T:{title:"{{clipendtitle}}"},Z:"{{clipendicon}}"}]});this.api=a;this.Pe=!1;this.D=this.rg=0;this.Ya=1;this.Ld=this.V=0;this.J=null;this.va=this.Bd=0;this.gb=this.ya("ytp-marker-crenellation-list");this.Ra={};this.Mc={};this.clipEnd=Infinity;this.yc=this.ya("ytp-clip-end");this.Dd=new g.gz(this.yc,!0);this.bf=this.ya("ytp-clip-end-exclude");this.Ng=this.ya("ytp-clip-start-exclude");this.clipStart=0;this.zc=this.ya("ytp-clip-start");this.Ed=new g.gz(this.zc,!0);this.Y=this.Eb= +0;this.xc=this.ya("ytp-progress-bar");this.Yb={};this.Nc={};this.Cd=this.ya("ytp-chapters-container");this.vg=this.ya("ytp-timed-markers-container");this.j=[];this.N=[];this.Oe={};this.cf=null;this.eb=-1;this.Kb=this.Ea=0;this.W=null;this.He=this.ya("ytp-scrubber-button");this.jh=this.ya("ytp-scrubber-container");this.Cb=new g.Gg;this.pg=new cJa;this.B=new aM(0,0);this.sb=null;this.C=this.rd=!1;this.qg=null;this.ub=this.ya("ytp-fine-scrubbing-container");this.qa=this.ya("ytp-heat-map-container"); +this.Fd=this.ya("ytp-heat-map-edu");this.og=this.ya("ytp-fine-scrubbing-edu");this.I=[];this.La=this.Kd=this.Ha=!1;this.heatMarkersDecorations=[];this.u=void 0;this.tooltip=b.pc();g.cf(this,g.$O(this.tooltip,this.yc));g.M(this,this.Dd);this.Dd.subscribe("hoverstart",this.MQ,this);this.Dd.subscribe("hoverend",this.LQ,this);this.P(this.yc,"click",this.aE);g.cf(this,g.$O(this.tooltip,this.zc));g.M(this,this.Ed);this.Ed.subscribe("hoverstart",this.MQ,this);this.Ed.subscribe("hoverend",this.LQ,this);this.P(this.zc, +"click",this.aE);dJa(this);this.P(a,"resize",this.xb);this.P(a,"presentingplayerstatechange",this.HV);this.P(a,"videodatachange",this.Qp);this.P(a,"videoplayerreset",this.OY);this.P(a,"cuerangesadded",this.lT);this.P(a,"cuerangesremoved",this.B3);this.P(a,"cuerangemarkersupdated",this.lT);this.P(a,"onLoopRangeChange",this.UM);this.P(a,"innertubeCommand",this.onClickCommand);this.P(a,g.uA("timedMarkerCueRange"),this.B2);this.P(a,"updatemarkervisibility",this.jT);this.updateVideoData(a.getVideoData(), +!0);this.UM(a.getLoopRange());CQ(this)&&(this.u||(this.u=new tQ(this.api,this.tooltip,this.D),this.u.xa(this.ub),g.M(this,this.u),this.P(this.u.dismissButton,"click",this.EO),this.P(this.u.playButton,"click",this.zH),this.P(this.u.element,"dblclick",this.zH)),g.ho(this.api.getRootNode(),"ytp-fine-scrubbing-exp"));a=this.api.R();g.MF(a)&&a.isMobile&&a.K("embeds_web_enable_progress_bar_context_menu_fix")&&g.ho(this.element,"ytp-no-contextmenu");this.api.rb(this.qa,this,139609,!0);this.api.rb(this.Fd, +this,140127,!0);this.api.rb(this.og,this,151179,!0);this.api.rb(this.gb,this,145078,!0)}; +dJa=function(a){if(0===a.j.length){var b=new xQ;a.j.push(b);g.M(a,b);b.xa(a.Cd,0)}for(;1=f&&B<=h&&d.push(v)}0l)a.j[c].width=n;else{a.j[c].width=0;var p=a,q=c,v=p.j[q-1];void 0!==v&&0a.Kb&&(a.Kb=m/f),d=!0)}c++}}return d}; +KQ=function(a){if(a.D){var b=a.api.getProgressState(),c=a.api.getVideoData();if(a.api.K("web_player_enable_preroll_for_ssdai_killswitch")||!c||!c.enableServerStitchedDai||!c.enablePreroll||isFinite(b.current)){var d;c=(null==(d=a.api.getVideoData())?0:zI(d))&&b.airingStart&&b.airingEnd?iJa(a,b.airingStart,b.airingEnd):iJa(a,b.seekableStart,b.seekableEnd);d=dM(c,b.loaded,0);b=dM(c,b.current,0);var e=a.B.u!==c.u||a.B.j!==c.j;a.B=c;LQ(a,b,d);e&&MQ(a);jJa(a)}}}; +iJa=function(a,b,c){return NQ(a)?new aM(Math.max(b,a.sb.startTimeMs/1E3),Math.min(c,a.sb.endTimeMs/1E3)):new aM(b,c)}; +kJa=function(a,b){var c;!a.api.K("web_repeating_chapters")||"repeatChapter"!==(null==(c=a.sb)?void 0:c.type)&&"repeatChapter"!==(null==b?void 0:b.type)||(b&&(b=a.j[zP(a.j,b.startTimeMs)],g.N(b.j,"ytp-repeating-chapter",!1)),a.sb&&(b=a.j[zP(a.j,a.sb.startTimeMs)],g.N(b.j,"ytp-repeating-chapter",!0)),a.j.forEach(function(d){g.N(d.j,"ytp-exp-chapter-hover-container",!a.sb)}))}; +PQ=function(a,b){var c=cM(a.B,b.B);if(1=a.j.length?!1:4>Math.abs(b-a.j[c].startTime/1E3)/a.B.j*(a.D-(a.C?3:2)*a.Ea)}; +mJa=function(a,b,c,d){b=g.Cg(b,0,a.C?60:40);a.V=b;var e=a.Ya;a.Ya=b/(a.C?60:40)*(Math.max(bM(a.B)/a.D,1)-1)+1;b=a.D*a.Ya;a.va=g.Cg(d*b-c,0,b-a.D);e!==a.Ya&&MQ(a)}; +MQ=function(a){if(1!==a.j.length||CQ(a))a.He.style.removeProperty("height");else{var b=JQ(a),c=-b.u/b.j,d=(-b.u+b.width)/b.j,e=Fda(a.gb),f=0;if(a.V>.2*(a.C?60:40)){for(var h=d*(bM(a.B)/60),l=Math.ceil(c*(bM(a.B)/60));l=f;c--)g.qh(e[c]);a.element.style.height=a.V+(a.C?8:5)+"px";a.X("height-change",a.V);a.He.style.height=a.V+(a.C?20:13)+"px"}e=g.r(Object.keys(a.Ra));for(f=e.next();!f.done;f=e.next())nJa(a,f.value);QQ(a);LQ(a,a.Y,a.Eb)}; +JQ=function(a){var b=a.Cb.x,c=a.D*a.Ya;b=g.Cg(b,0,a.D);a.pg.update(b,a.D,-a.va,-(c-a.va-a.D));return a.pg}; +RQ=function(a){return(a.C?135:90)-(a.C?54:48)}; +LQ=function(a,b,c){a.Y=b;a.Eb=c;var d=JQ(a),e=a.B.j,f=cM(a.B,a.Y),h=g.HJ("$PLAY_PROGRESS of $DURATION",{PLAY_PROGRESS:g.XL(f,!0),DURATION:g.XL(e,!0)}),l=zP(a.j,1E3*f);l=a.j[l].title;a.update({ariamin:Math.floor(a.B.u),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:l?l+" "+h:h});e=a.clipStart;f=a.clipEnd;a.sb&&2!==a.api.getPresentingPlayerType()&&(e=a.sb.startTimeMs/1E3,f=a.sb.endTimeMs/1E3);e=dM(a.B,e,0);l=dM(a.B,f,1);h=a.api.getVideoData();f=g.Cg(b,e,l);c=(null==h?0:g.wI(h))?1:g.Cg(c,e, +l);b=IQ(a,b,d);g.yl(a.jh,"transform","translateX("+b+"px)");SQ(a,d,e,f,"PLAY_PROGRESS");(null==h?0:zI(h))?(b=a.api.getProgressState().seekableEnd)&&SQ(a,d,f,dM(a.B,b),"LIVE_BUFFER"):SQ(a,d,e,c,"LOAD_PROGRESS");if(a.api.K("web_player_heat_map_played_bar")){var m;null!=(m=a.I[0])&&m.B.setAttribute("width",(100*f).toFixed(2)+"%")}}; +SQ=function(a,b,c,d,e){var f=a.j.length,h=b.j-a.Ea*(a.C?3:2),l=c*h;c=OQ(a,l);var m=d*h;h=OQ(a,m);"HOVER_PROGRESS"===e&&(h=OQ(a,b.j*d,!0),m=b.j*d-oJa(a,b.j*d)*(a.C?3:2));b=Math.max(l-pJa(a,c),0);for(d=c;d=a.j.length)return a.D;for(var c=0,d=0;de.width)b-=e.width;else break;d++}return d===a.j.length?d-1:d}; +IQ=function(a,b,c){for(var d=b*a.B.j*1E3,e=-1,f=g.r(a.j),h=f.next();!h.done;h=f.next())h=h.value,d>h.startTime&&0e?0:e)+c.u}; +oJa=function(a,b){for(var c=a.j.length,d=0,e=g.r(a.j),f=e.next();!f.done;f=e.next())if(f=f.value,0!==f.width)if(b>f.width)b-=f.width,b-=a.C?3:2,d++;else break;return d===c?c-1:d}; +g.UQ=function(a,b,c,d){var e=a.D!==c,f=a.C!==d;a.rg=b;a.D=c;a.C=d;CQ(a)&&null!=(b=a.u)&&(b.scale=d?1.5:1);MQ(a);1===a.j.length&&(a.j[0].width=c||0);e&&g.GQ(a);a.u&&(a.u.C=a.D,f&&CQ(a)&&(a.u.isEnabled&&(c=a.C?135:90,d=c-(a.C?54:48),a.ub.style.height=c+"px",g.yl(a.qa,"transform","translateY("+-d+"px)"),g.yl(a.xc,"transform","translateY("+-d+"px)")),XIa(a.u)))}; +QQ=function(a){var b=!!a.sb&&2!==a.api.getPresentingPlayerType(),c=a.clipStart,d=a.clipEnd,e=!0,f=!0;b&&a.sb?(c=a.sb.startTimeMs/1E3,d=a.sb.endTimeMs/1E3):(e=c>a.B.u,f=0a.Y);g.N(a.He,"ytp-scrubber-button-hover",c===d&&1=this.settingsMenu.DE&&(c.showMiniplayerButton&&!a.R().K("web_player_pip")&&(this.D=new jQ(a,b),g.M(this,this.D),this.D.xa(e.element)),this.W.xa(e.element),l.cG||this.W.hide(),c.Kb||(l=new CR(a,b),g.M(this,l),l.xa(e.element)),c.Eb&&(l=new WQ(a,b,this.settingsMenu),g.M(this,l),l.xa(e.element)),c.Hk&&(c=new YP(a,b),g.M(this, +c),c.xa(e.element)));g.M(this,this.Ha);this.Ha.xa(e.element);g.M(this,this.ye);this.P(a,"appresize",this.xb);this.P(a,"fullscreentoggled",this.xb);this.P(a,"presentingplayerstatechange",this.KF);this.P(a,"videodatachange",this.onVideoDataChange);this.xb()}; +IJa=function(a,b){a.G.zb().isCued()||b?b&&(a.Y.hide(),a.ra.hide(),a.muteButton&&a.muteButton.lc(!1),a.C&&a.C.lc(!1),a.D&&a.D.lc(!1),a.B.pc().Nj(a.j.element)):b||(a.Y.show(),a.ra.show(),a.muteButton&&a.muteButton.lc(!0),a.C&&a.C.lc(!0),a.D&&a.D.lc(!0),a.ul())}; +JJa=function(a){var b=a.G.Za().getPlayerSize().width;return Math.max(b-2*NR(a),100)}; +NR=function(a){var b=a.B.Qf();return 12*(a.G.getVideoData().C?0:b?2:1)}; +OR=function(a){var b=a.B.Qf()?72:50;a=a.G.R();g.lG(a)&&(b=62,g.SF(a)&&(b=54));return b}; +PR=function(a,b){UP.call(this,a,b,!1);var c=this;this.P(this.G,"videodatachange",this.onVideoDataChange);this.P(this.G,g.uA("suggested_action_button_visible"),function(){c.zf(!0)}); +this.P(this.G,g.vA("suggested_action_button_visible"),function(){c.zf(!1)})}; +QR=function(a){a.G.Af("suggested_action_button_visible")}; +SR=function(a){var b={F:"div",L:RR.SUBTEXT,S:[{F:"a",L:RR.CHANNEL_NAME,T:{href:"{{channelLink}}",target:"_blank"},Z:"{{channelName}}"}]};a.R().B&&(b={F:"div",L:RR.SUBTEXT,S:[{F:"span",L:RR.CHANNEL_NAME,Z:"{{channelName}}"}]});g.X.call(this,{F:"div",L:RR.TITLE,S:[{F:"div",L:RR.TEXT,S:[{F:"a",Ca:[RR.LINK,RR.SESSIONLINK],T:{target:a.R().J,href:"{{url}}","data-sessionlink":"feature=player-title",tabIndex:"{{channelTitleFocusable}}"},Z:"{{title}}"},b]}]});this.api=a;this.j=null;this.link=this.ya(RR.LINK); +a.rb(this.element,this,23851);this.P(a,"videodatachange",this.Fa);this.P(a,"videoplayerreset",this.Fa);this.Fa()}; +KJa=function(a){a.Ja("channelLink","");a.Ja("channelName","");a.Ja("channelTitleFocusable","-1")}; +g.TR=function(a,b){g.X.call(this,{F:"div",S:[{F:"div",L:"ytp-tooltip-text-wrapper",T:{"aria-hidden":"{{ariaHidden}}"},S:[{F:"div",L:"ytp-tooltip-edu",S:[{F:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",T:{d:"M14.1 36.75 12 34.65 24 22.65 36 34.65 33.9 36.75 24 26.85ZM14.1 24.1 12 22 24 10 36 22 33.9 24.1 24 14.2Z"}}]},{F:"span",Z:"{{eduText}}"}]},{F:"div",L:"ytp-tooltip-image"},{F:"div",L:"ytp-tooltip-title",S:[{F:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},S:[{F:"g", +S:[{F:"rect",T:{fill:"none",height:"24",width:"24",x:"0"}}]},{F:"g",S:[{F:"g",S:[{F:"polygon",T:{points:"19,9 20.25,6.25 23,5 20.25,3.75 19,1 17.75,3.75 15,5 17.75,6.25"}},{F:"polygon",T:{points:"19,15 17.75,17.75 15,19 17.75,20.25 19,23 20.25,20.25 23,19 20.25,17.75"}},{F:"path",T:{d:"M11.5,9.5L9,4L6.5,9.5L1,12l5.5,2.5L9,20l2.5-5.5L17,12L11.5,9.5z M9.99,12.99L9,15.17l-0.99-2.18L5.83,12l2.18-0.99 L9,8.83l0.99,2.18L12.17,12L9.99,12.99z"}}]}]}]},{F:"span",Z:"{{title}}"}]},{F:"span",L:"ytp-tooltip-text", +Z:"{{text}}"}]},{F:"div",L:"ytp-tooltip-bg",S:[{F:"div",L:"ytp-tooltip-duration",Z:"{{duration}}"}]}]});var c=this;this.api=a;this.Ea=b;this.env=this.api.R();this.va=this.env.isMobile;this.bg=this.ya("ytp-tooltip-bg");this.image=this.ya("ytp-tooltip-image");this.text=this.ya("ytp-tooltip-text");this.title=this.ya("ytp-tooltip-title");this.V=function(d){(d=Ex(d))&&g.sh(c.u,d)||c.Ol()}; +this.C=function(d){3===c.type&&c.Ol();(d=d.currentTarget)&&1===d.nodeType&&!c.type&&(d.removeEventListener("mouseover",c.C),d.addEventListener("mouseout",c.V),d.removeEventListener("focus",c.C),d.addEventListener("blur",c.V),LJa(c,d,2))}; +this.W=function(){c.Ol()}; +this.u=null;this.D=new g.JL(this,100);this.type=null;this.N=!1;this.j=null;this.B=NaN;this.I="";this.LF=this.api.Za().getPlayerSize().width;this.J=!0;this.scale=1;this.Y=new g.Zn(this.JZ,250,this);this.qa=new g.Zn(this.Ol,5E3,this);g.M(this,this.D);g.M(this,this.Y);g.M(this,this.qa);IF&&(a=this.ya("ytp-tooltip-text"),a.setAttribute("role","text"),a.setAttribute("aria-live","polite"))}; +dP=function(a){a.element.setAttribute("aria-live","polite")}; +HJa=function(a,b){if(null!=a.type)if(b)switch(a.type){case 3:case 2:UR(a);a.D.show();break;default:a.D.show()}else a.D.hide();a.J=b}; +OJa=function(a,b,c,d,e,f,h,l,m){if(!a.va||a.env.I){3===a.type&&a.Ol();1!==a.type&&(g.fo(a.element,"ytp-tooltip ytp-bottom"),a.type=1,a.J&&a.D.show(),a.j&&a.j.dispose(),a.j=a.api.Ii(),a.j&&a.j.subscribe("l",a.VQ,a));a.update({text:d,title:null!=h?h:"",eduText:null!=m?m:""});g.N(a.text,"ytp-tooltip-text-no-title",1===a.type&&!h);g.N(a.element,"ytp-text-detail",!!e);d=-1;a.j&&(d=zH(a.j,160*a.scale),a.env.K("web_l3_storyboard")&&4===a.j.levels.length&&(d=a.j.levels.length-1),d=IAa(a.j,d,c));MJa(a,d); +if(l)switch(c=g.Jl(a.element).width,l){case 1:a.title.style.right="0";a.title.style.textAlign="left";break;case 2:a.title.style.right=c+"px";a.title.style.textAlign="right";break;case 3:a.title.style.right=c/2+"px",a.title.style.textAlign="center"}NJa(a,!!e,b,f)}}; +g.VR=function(a){1===a.type&&a.Ol()}; +g.$O=function(a,b){if(a.va)return function(){}; +b.addEventListener("mouseover",a.C);b.addEventListener("focus",a.C);var c=b.getAttribute("title");c&&!b.hasAttribute("aria-label")&&b.setAttribute("aria-label",c);return function(){a.u===b&&a.Ol();b.removeEventListener("mouseover",a.C);b.removeEventListener("focus",a.C)}}; +uP=function(a,b,c){if(a.type)if(3===a.type)a.Ol();else return;LJa(a,b,3,c)}; +LJa=function(a,b,c,d){if(b&&!b.hasAttribute)a=new g.Rv("showElementTooltip called with non-element.",b.toString()),g.qz(a);else{isNaN(a.B)||(a.B=NaN,a.bg.style.background="");a.u=b;a.N=!!d;d?a.I=d:(a.I=b.getAttribute("title"),b.removeAttribute("title"));g.fo(a.element,"ytp-tooltip");a.env.K("web_rounded_containers")&&g.ho(a.element,"ytp-rounded-tooltip");var e=b.getAttribute("data-tooltip-image");e&&(a.image.style.backgroundImage="url("+e+")");d?a.update({ariaHidden:"false"}):a.update({ariaHidden:"true"}); +g.N(a.element,"ytp-tooltip-image-enabled",!!e);b=b.getAttribute("data-tooltip-opaque");g.N(a.element,"ytp-tooltip-opaque",!!b);a.type=c;a.api.addEventListener("appresize",a.W);a.J&&(UR(a),a.D.show(0))}}; +UR=function(a){var b;a.u&&(b=a.u.getAttribute("data-tooltip-text"));if(b&&!a.N){var c=a.u;a.Ja("text",b);var d=c.getAttribute("data-duration");a.update({title:a.I,duration:d});c=c.getAttribute("data-preview");var e=160*a.scale,f=90*a.scale,h=160*a.scale,l=90*a.scale;a.bg.style.width=e+"px";a.bg.style.height=f+"px";a.bg.style.backgroundImage=c?"url("+c+")":"";a.bg.style.backgroundPosition=(e-h)/2+"px "+(f-l)/2+"px";a.bg.style.backgroundSize=h+"px "+l+"px";g.io(a.element,["ytp-text-detail","ytp-preview"]); +g.N(a.element,"ytp-has-duration",!!d)}else a.Ja("text",a.I),g.ko(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);NJa(a,!!b)}; +NJa=function(a,b,c,d){var e=Math.min(a.LF,300*a.scale);a.element.style.maxWidth=b?"":e+"px";a.Ea.nt(a.element,a.u,c,1===a.type,d);a.element.style.top?g.ho(a.element,"ytp-bottom"):a.element.style.bottom&&g.ho(a.element,"ytp-top");3===a.type&&a.qa.start()}; +vP=function(a){a.u&&!a.N&&a.u.hasAttribute("title")&&(a.I=a.u.getAttribute("title")||"",a.u.removeAttribute("title"),a.J&&UR(a))}; +MJa=function(a,b){g.N(a.element,"ytp-preview",0<=b);if(!(0>b||b===a.B)){a.B=b;b=160*a.scale;var c=160*a.scale,d=EAa(a.j,a.B,b);HIa(a.bg,d,b,c,!0);a.Y.start()}}; +PJa=function(a){var b=a.u;3===a.type&&a.qa.stop();a.api.removeEventListener("appresize",a.W);a.N||b.setAttribute("title",a.I);a.I="";a.u=null}; +g.WR=function(a,b){g.X.call(this,{F:"button",Ca:["ytp-watch-later-button","ytp-button"],T:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.MF(a.R()))},S:[{F:"div",L:"ytp-watch-later-icon",Z:"{{icon}}"},{F:"div",L:"ytp-watch-later-title",Z:"Watch later"}]});this.G=a;this.icon=null;this.visible=this.isRequestPending=this.j=!1;this.tooltip=b.pc();dP(this.tooltip);a.rb(this.element,this,28665);this.Na("click",this.onClick,this);this.P(a,"videoplayerreset",this.RV);this.P(a, +"appresize",this.sB);this.P(a,"videodatachange",this.sB);this.P(a,"presentingplayerstatechange",this.sB);this.sB();a=this.G.R();var c=g.Qz("yt-player-watch-later-pending");a.u&&c?(jya(),QJa(this)):this.Fa(2);g.N(this.element,"ytp-show-watch-later-title",g.MF(a));g.cf(this,g.$O(b.pc(),this.element))}; +RJa=function(a,b){g.jM(function(){jya({videoId:b});window.location.reload()},"wl_button",g.gG(a.G.R()))}; +QJa=function(a){if(!a.isRequestPending){a.isRequestPending=!0;a.Fa(3);var b=a.G.getVideoData();b=a.j?b.removeFromWatchLaterCommand:b.addToWatchLaterCommand;var c=a.G.Cm(),d=a.j?function(){a.j=!1;a.isRequestPending=!1;a.Fa(2);a.G.R().C&&a.G.Ka("WATCH_LATER_VIDEO_REMOVED")}:function(){a.j=!0; +a.isRequestPending=!1;a.Fa(1);a.G.R().isMobile&&uP(a.tooltip,a.element);a.G.R().C&&a.G.Ka("WATCH_LATER_VIDEO_ADDED")}; +uM(c,b).then(d,function(){a.isRequestPending=!1;SJa(a,"An error occurred. Please try again later.")})}}; +SJa=function(a,b){a.Fa(4,b);a.G.R().C&&a.G.Ka("WATCH_LATER_ERROR",b)}; +TJa=function(a,b){var c=a.G.R();if(b!==a.icon){switch(b){case 3:var d=CO();break;case 1:d=bL();break;case 2:d={F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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=c.K("watch_later_iconchange_killswitch")?{F:"svg",T:{height:"100%",version:"1.1", +viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]}:{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,T:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.Ja("icon",d);a.icon=b}}; +YR=function(a){g.PO.call(this,a);var b=this;this.RC=(this.As=g.MF(this.api.R()))&&(this.api.R().isMobile||Zu()||Xu());this.LG=48;this.MG=69;this.wm=null;this.gq=[];this.Ec=new g.VO(this.api);this.qy=this.api.K("web_player_deprecate_double_tap_ux")?new wP:new xP(this.api);this.Aj=new g.X({F:"div",L:"ytp-chrome-top"});this.HA=[];this.tooltip=new g.TR(this.api,this);this.backButton=this.uw=null;this.channelAvatar=new fP(this.api,this);this.title=new SR(this.api,this);this.di=new g.VK({F:"div",L:"ytp-chrome-top-buttons"}); +this.Hh=this.shareButton=this.Yi=null;this.Gh=new ZO(this.api,this,this.Aj.element);this.overflowButton=this.yh=null;this.Lf="1"===this.api.R().controlsType?new MR(this.api,this,this.Xd):null;this.contextMenu=new g.sP(this.api,this,this.Ec);this.AG=!1;this.iC=new g.X({F:"div",T:{tabindex:"0"}});this.hC=new g.X({F:"div",T:{tabindex:"0"}});this.aA=null;this.V2=this.YI=this.SB=!1;var c=a.Za(),d=a.R(),e=a.getVideoData();this.As&&(g.ho(a.getRootNode(),"ytp-embed"),g.ho(a.getRootNode(),"ytp-embed-playlist"), +this.RC&&(g.ho(a.getRootNode(),"ytp-embed-overlays-autohide"),g.ho(this.contextMenu.element,"ytp-embed-overlays-autohide")),this.LG=60,this.MG=89);this.api.R().isMobile&&(g.ho(a.getRootNode(),"ytp-mobile"),this.api.R().I&&g.ho(a.getRootNode(),"ytp-embed-mobile-exp"));this.Jh=e&&e.Jh;g.M(this,this.Ec);g.AN(a,this.Ec.element,4);g.M(this,this.qy);g.AN(a,this.qy.element,4);e=new g.X({F:"div",L:"ytp-gradient-top"});g.M(this,e);g.AN(a,e.element,1);this.hL=new g.JL(e,250,!0,100);g.M(this,this.hL);g.M(this, +this.Aj);g.AN(a,this.Aj.element,1);this.gL=new g.JL(this.Aj,250,!0,100);g.M(this,this.gL);g.M(this,this.tooltip);g.AN(a,this.tooltip.element,4);var f=new IP(a);g.M(this,f);g.AN(a,f.element,5);f.subscribe("show",function(m){b.Ap(f,m)}); +this.HA.push(f);this.uw=new JP(a,this,f);g.M(this,this.uw);d.showBackButton&&(this.backButton=new UO(a),g.M(this,this.backButton),this.backButton.xa(this.Aj.element));this.As||this.uw.xa(this.Aj.element);this.channelAvatar.xa(this.Aj.element);g.M(this,this.channelAvatar);g.M(this,this.title);this.title.xa(this.Aj.element);g.M(this,this.di);this.di.xa(this.Aj.element);d.B||(this.Yi=new g.WR(a,this),g.M(this,this.Yi),this.Yi.xa(this.di.element));var h=new g.RP(a,this);g.M(this,h);g.AN(a,h.element,5); +h.subscribe("show",function(m){b.Ap(h,m)}); +this.HA.push(h);d.B||(this.shareButton=new g.QP(a,this,h),g.M(this,this.shareButton),this.shareButton.xa(this.di.element),this.Hh=new g.tP(a,this),g.M(this,this.Hh),this.Hh.xa(this.di.element));d.Sl&&(e=new XP(a),g.M(this,e),g.AN(a,e.element,4));this.As&&this.uw.xa(this.di.element);g.M(this,this.Gh);this.Gh.xa(this.di.element);d.B||(e=new aP(a,this,this.Gh),g.M(this,e),e.xa(this.di.element));this.yh=new FP(a,this);g.M(this,this.yh);g.AN(a,this.yh.element,5);this.yh.subscribe("show",function(){b.Ap(b.yh, +b.yh.qh())}); +this.HA.push(this.yh);this.overflowButton=new EP(a,this,this.yh);g.M(this,this.overflowButton);this.overflowButton.xa(this.di.element);this.Lf&&g.M(this,this.Lf);"3"===d.controlsType&&(e=new PP(a,this),g.M(this,e),g.AN(a,e.element,9));g.M(this,this.contextMenu);this.contextMenu.subscribe("show",this.qT,this);e=new eM(a,new TO(a));g.M(this,e);g.AN(a,e.element,4);this.iC.Na("focus",this.tY,this);g.M(this,this.iC);this.hC.Na("focus",this.uY,this);g.M(this,this.hC);var l;(this.uo=d.cf?null:new g.BP(a, +c,this.contextMenu,this.Xd,this.Ec,this.qy,function(){return b.Wk()},null==(l=this.Lf)?void 0:l.xc))&&g.M(this,this.uo); +this.As||(this.wS=new VP(this.api,this),g.M(this,this.wS),g.AN(a,this.wS.element,4));this.IS=new PR(this.api,this);g.M(this,this.IS);g.AN(a,this.IS.element,4);this.fq.push(this.Ec.element);this.P(a,"fullscreentoggled",this.Eo);this.P(a,"offlineslatestatechange",function(){b.api.kz()&&wO(b.Xd,128,!1)}); +this.P(a,"cardstatechange",function(){b.Dk()}); +this.P(a,"resize",this.q0);this.P(a,"showpromotooltip",this.S0)}; +UJa=function(a){var b=a.api.R(),c=g.W(a.api.zb(),128);return b.u&&c&&!a.api.isFullscreen()}; +ZR=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!==Bl(b,"display")&&"true"!==b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=ZR(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndexa;a++){var b=g.mh("VIDEO");b.load();iS.push(new g.vO(b))}}; +fKa=function(){}; +g.jS=function(a,b,c,d){d=void 0===d?!1:d;VJ.call(this);this.mediaElement=a;this.start=b;this.end=c;this.j=d}; +gKa=function(a,b,c){var d=b.getVideoData(),e=a.getVideoData();if(b.getPlayerState().isError())return{msg:"player-error"};b=e.B;if(a.gj()>c/1E3+1)return{msg:"in-the-past"};if(e.isLivePlayback&&!isFinite(c))return{msg:"live-infinite"};(a=a.Qd())&&a.isView()&&(a=a.mediaElement);if(a&&12h&&(e=h-200,a.J=!0);f.getCurrentTime()>=e/1E3?a.I():(a.u=f,f=e,e=a.u,a.app.Sa.addEventListener(g.uA("vqueued"),a.I),f=isFinite(f)||f/1E3>e.getDuration()?f:0x8000000000000,a.D=new g.sA(f,0x8000000000000,{namespace:"vqueued"}),e.addCueRange(a.D));f=d/=1E3;e=b.getVideoData().j;if(d&&e&&a.u){h=d;var l=0;b.getVideoData().isLivePlayback&&(f=Math.min(c/1E3, +oS(a.u,!0)),l=Math.max(0,f-a.u.getCurrentTime()),h=Math.min(d,oS(b)+l));f=Zxa(e,h)||d;f!==d&&a.j.ma("qvaln",{st:d,at:f,rm:l,ct:h})}b=f;d=a.j;d.getVideoData().cf=!0;d.getVideoData().Ea=!0;g.rS(d,!0);e={};a.u&&(e=g.sS(a.u.hc.u),f=a.u.getVideoData().clientPlaybackNonce,e={crt:(1E3*e).toFixed(),cpn:f});d.ma("queued",e);0!==b&&d.seekTo(b+.01,{ys:!0,fL:3,re:"videoqueuer_queued"});a.B=new kS(a.N,a.app.Fc(),a.j,c);c=a.B;Infinity!==c.status.status&&(mS(c,1),c.j.subscribe("internalvideodatachange",c.zr,c), +c.u.subscribe("internalvideodatachange",c.zr,c),c.j.subscribe("mediasourceattached",c.zr,c),c.u.subscribe("statechange",c.bd,c),c.j.subscribe("newelementrequired",c.aR,c),c.zr());return a.C}; +pKa=function(a){var b,c,d;g.z(function(e){switch(e.j){case 1:if(a.isDisposed()||!a.C||!a.j)return e.return();a.J&&tS(a.app.Fc(),!0,!1);b=null;if(!a.B){e.Ma(2);break}g.ra(e,3);return g.x(e,lKa(a.B),5);case 5:g.ua(e,2);break;case 3:b=c=g.va(e);case 2:if(!a.j)return e.return();g.lS.gK("vqsp",function(){uS(a.app,a.j)}); +g.lS.gK("vqpv",function(){a.app.playVideo()}); +b&&rKa(a.j,b.message);d=a.C;qS(a);return e.return(d.resolve(void 0))}})}; +qS=function(a){if(a.u){var b=a.u;a.app.Sa.removeEventListener(g.uA("vqueued"),a.I);b.removeCueRange(a.D);a.u=null;a.D=null}a.B&&(a.B.isFinished()||(b=a.B,Infinity!==b.status.status&&b.Kf("Canceled")),a.B=null);a.C=null;a.j&&a.j!==g.oN(a.app,1)&&a.j!==a.app.Fc()&&a.j.dispose();a.j=null;a.J=!1}; +sKa=function(){var a=xoa();return!(!a||"visible"===a)}; +uKa=function(a){var b=tKa();b&&document.addEventListener(b,a,!1)}; +vKa=function(a){var b=tKa();b&&document.removeEventListener(b,a,!1)}; +tKa=function(){if(document.visibilityState)var a="visibilitychange";else{if(!document[wx+"VisibilityState"])return"";a=wx+"visibilitychange"}return a}; +vS=function(){g.cz.call(this);var a=this;this.fullscreen=0;this.u=this.pictureInPicture=this.j=this.B=this.inline=!1;this.C=function(){a.zf()}; +uKa(this.C);this.D=this.getVisibilityState(this.Bg(),this.isFullscreen(),this.wf(),this.isInline(),this.Vv(),this.Sv())}; +wKa=function(a,b){var c;if(b.lG)for(c=0;ch&&(AS(a,{reason:"enterTime_greater_than_return",Ac:f,Vc:h}),n))return"";var q=1E3*p.getMinSeekableTime();if(f< +q&&(AS(a,{reason:"enterTime_less_than_minSeekableTime",Ac:f,h3a:q}),n))return"";p=1E3*p.getDuration();if(h>p&&(AS(a,{reason:"parent_return_greater_than_content_duration",Vc:h,f3a:p}),n))return"";p=null;if(n)for(n=g.r(a.D),q=n.next();!q.done;q=n.next()){q=q.value;if(f>=q.Ac&&fq.Ac||h===q.Ac)return BS(a,b.video_id||"",f,h,q),"";f===q.Vc&&(p=q)}else n=g.kc(a.D,{Vc:f},function(w,y){return w.Vc-y.Vc}),0<=n&&(p=a.D[n],p.Vc>f&&BS(a,b.video_id||"",f,h,p)); +if(m&&p)for(n=g.r(a.Ra.entries()),q=n.next();!q.done;q=n.next()){var v=g.r(q.value);q=v.next().value;v=v.next().value;if(v.identifier===m.identifier){a.Ra.splice(q,1);break}}else if(m&&a.U.K("web_player_ss_timeout_skip_ads"))return a.oa.ma("sdai",{rejectAttl:1}),l&&!Nl(a.rd,function(w){return w===l})&&(a.oa.ma("sdai",{rejectAdBreakAttl:1}),a.rd.push(l)),a.U.K("web_player_stop_timer_for_timedout_ab_killswitch")||CS(a),""; +m="ss_childplayback_"+BKa++;b.cpn||(b.cpn=g.xz(16));n=b.cpn;b=new g.HH(a.U,b);b.Dc=m;c={Dc:m,playerType:d,durationMs:e,Ac:f,Vc:h,cpn:n,videoData:b,errorCount:0,ssdaiAdsConfig:c};g.sc(a.D,c,function(w,y){return w.Ac-y.Ac}); +a.u.set(n,c);a.zc.set(m,c);a.oa.ma("sdai",{attlDone:h-f,acpn:n});l?c.Jj=l:p?c.Jj=p.Jj:c.Jj=c.cpn;if(f=c.Jj)(d=a.N.get(f))?(d.push(c),g.mc(d,function(w,y){return w.Ac-y.Ac})):a.N.set(f,[c]); +a.ra.isActive()&&(a.Y=!1,a.ra.stop(),xS(a),a.Yy(!0));return m}; +DS=function(a,b,c){return a.U.experiments.fb("html5_ssdai_log_ad_transition_info")&&c?{ssvc:b,cpn:c.cpn,vid:c.videoData.videoId}:{ssvc:b}}; +DKa=function(a,b,c){return new g.sA(a,b,{id:c,namespace:"serverstitchedcuerange",priority:9})}; +ES=function(a){return{cpn:a.oa.getVideoData().clientPlaybackNonce,durationMs:0,Ac:0,playerType:1,Vc:0,videoData:a.oa.getVideoData(),errorCount:0}}; +HS=function(a,b,c){var d=a.I,e=ES(a),f=a.J;a.J="";var h=b.hg-c.hg;.5d?-1*(d+2):d;return 0<=d&&(a=a.D[d],a.Vc>=c)?{qm:a,Ss:b}:{qm:void 0,Ss:b}}; +JS=function(a,b){var c="";yS(a)?(c=b/1E3-a.Un(),c=a.oa.Lv(c)):(b=EKa(a,b))&&(c=b.getId());return c?a.u.get(c):void 0}; +EKa=function(a,b){a=g.r(a.C.values());for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.start<=b&&c.end>=b)return c}; +wS=function(a,b){var c=a.Kb||a.api.Fc().getPlayerState();KS(a,!0);var d=b;a.U.K("web_player_ssdai_seek_without_offset_killswitch")&&(d=IS(a,b).Ss);a.oa.seekTo(d);a=a.api.Fc();b=a.getPlayerState();g.fK(c)&&!g.fK(b)?a.playVideo():g.W(c,4)&&!g.W(b,4)&&a.pauseVideo()}; +KS=function(a,b){a.yc=NaN;a.Lc.stop();a.gb&&b&&LS(a.gb);a.Kb=null;a.gb=null}; +MS=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=[],h=g.r(a.D),l=h.next();!l.done;l=h.next())l=l.value,(l.Ace)&&f.push(l);a.D=f;d=b;e=c;f=g.r(a.C.values());for(h=f.next();!h.done;h=f.next())h=h.value,h.start>=d&&h.end<=e&&(a.oa.removeCueRange(h),a.C.delete(h.getId()),a.oa.ma("sdai",{rmAdCR:1}));d=IS(a,b/1E3);b=d.qm;d=d.Ss;b&&(d=1E3*d-b.Ac,e=b.Ac+d,b.durationMs=d,b.Vc=e,FKa(a,b));if(b=IS(a,c/1E3).qm){var m;d="playback_timelinePlaybackId_"+b.Dc+"_video_id_"+(null== +(m=b.videoData)?void 0:m.videoId)+"_durationMs_"+b.durationMs+"_enterTimeMs_"+b.Ac+"_parentReturnTimeMs_"+b.Vc;a.vz("Invalid_clearEndTimeMs_"+c+"_that_falls_during_"+d+"._Child_playbacks_can_only_have_duration_updated_not_their_start.")}}; +GKa=function(a){a.qa.clear();a.Ua.clear();a.va.clear();a.C.clear();a.B=[];a.D=[];a.u.clear();a.zc.clear();a.N.clear();a.Ha.clear();a.Eb=[];a.W=null;a.Fd.clear();a.Ra=[];a.Mc=[];a.Dd=[];a.rd=[];a.Ea=[];a.Cd.clear();a.Ed.clear();a.Cb.clear();a.ub.clear();a.isLiveNow=!0;a.Y=!1;a.j=void 0;a.eb=0;a.Ya=!0;a.I=!1;a.Oj=0;a.V=null;a.Bd=0;a.Nc=!1;a.yp=!1;a.J=""}; +FKa=function(a,b){var c=a.C.get(b.cpn);if(c){a=g.r(a.B);for(var d=a.next();!d.done;d=a.next())d=d.value,d.start===c.end?d.start=b.Ac+b.durationMs:d.end===c.start&&(d.end=b.Ac);c.start=b.Ac;c.end=b.Ac+b.durationMs}}; +IKa=function(a,b,c,d,e){if(!a.yp)if(g.HKa(a,c))a.La&&a.oa.ma("sdai",{gdu:"undec",seg:c,itag:e});else return NS(a,b,c,d)}; +NS=function(a,b,c,d){var e=a.Ha.get(c);if(!e){b+=a.Un();b=IS(a,b,1);var f;a.U.K("web_player_keep_decorating_last_chunk_killswitch")||b.qm||2!==(null==(f=OS(a,c-1,null!=d?d:2))?void 0:f.Ox)?e=b.qm:e=a.Ha.get(c-1)}return e}; +JKa=function(a){if(a.Ea.length)for(var b=g.r(a.Ea),c=b.next();!c.done;c=b.next())a.onCueRangeExit(c.value);c=g.r(a.C.values());for(b=c.next();!b.done;b=c.next())a.oa.removeCueRange(b.value);c=g.r(a.B);for(b=c.next();!b.done;b=c.next())a.oa.removeCueRange(b.value);a.C.clear();a.B=[];a.qa.clear();a.Ua.clear();a.va.clear();a.j||(a.Ya=!0)}; +OS=function(a,b,c){if(1===c&&a.qa.has(b))return a.qa.get(b);if(2===c&&a.Ua.has(b))return a.Ua.get(b);if(3===c&&a.va.has(b))return a.va.get(b)}; +PS=function(a,b,c,d){if(d)for(d=0;dc){var f=e.end;e.end=b;KKa(a,c,f)}else if(e.start>=b&&e.startc)e.start=c;else if(e.end>b&&e.end<=c&&e.start=b&&e.end<=c){a.oa.removeCueRange(e);if(a.Ea.includes(e))a.onCueRangeExit(e);a.B.splice(d,1);continue}d++}else KKa(a,b,c)}; +KKa=function(a,b,c){b=DKa(b,c);c=!0;g.sc(a.B,b,function(h,l){return h.start-l.start}); +for(var d=0;d=Math.round(e.start/1E3)){f.end=e.end;e!==b?a.oa.removeCueRange(e):c=!1;a.B.splice(d,1);continue}}d++}if(c)for(a.oa.addCueRange(b),b=a.oa.zy("serverstitchedcuerange",36E5),b=g.r(b),c=b.next();!c.done;c=b.next())a.C.delete(c.value.getId())}; +QS=function(a,b,c){if(void 0===c||!c){c=g.r(a.Eb);for(var d=c.next();!d.done;d=c.next()){d=d.value;if(b>=d.start&&b<=d.end)return;if(b===d.end+1){d.end+=1;return}}a.Eb.push(new yKa(b))}}; +g.HKa=function(a,b){a=g.r(a.Eb);for(var c=a.next();!c.done;c=a.next())if(c=c.value,b>=c.start&&b<=c.end)return!0;return!1}; +BS=function(a,b,c,d,e){var f;b={reason:"overlapping_playbacks",b3a:b,Ac:c,Vc:d,E2a:e.Dc,F2a:(null==(f=e.videoData)?void 0:f.videoId)||"",B2a:e.durationMs,C2a:e.Ac,D2a:e.Vc};AS(a,b)}; +AS=function(a,b){a=a.oa;a.ma("timelineerror",b);a.yd(new zG("dai.timelineerror",b))}; +LKa=function(a,b){var c=[];a=a.N.get(b);if(!a)return[];a=g.r(a);for(b=a.next();!b.done;b=a.next())b=b.value,b.cpn&&c.push(b.cpn);return c}; +MKa=function(a,b,c){var d=0;a=a.N.get(c);if(!a)return-1;a=g.r(a);for(c=a.next();!c.done;c=a.next()){if(c.value.cpn===b)return d;d++}return-1}; +NKa=function(a,b){var c=[];a=a.N.get(b);if(!a)return[];a=g.r(a);for(var d=a.next();!d.done;d=a.next())b=void 0,(d=null==(b=d.value.videoData)?void 0:b.videoId)&&c.push(d);return c}; +OKa=function(a,b){var c=0;a=a.N.get(b);if(!a)return 0;a=g.r(a);for(b=a.next();!b.done;b=a.next())b=b.value,0!==b.durationMs&&b.Vc!==b.Ac&&c++;return c}; +PKa=function(a,b,c){var d=!1;if(c&&(c=a.N.get(c))){c=g.r(c);for(var e=c.next();!e.done;e=c.next())e=e.value,0!==e.durationMs&&e.Vc!==e.Ac&&(e=e.cpn,b===e&&(d=!0),d&&!a.Ed.has(e)&&(a.oa.ma("sdai",{decoratedAd:e}),a.Ed.add(e)))}}; +xS=function(a){a.La&&a.oa.ma("sdai",{adf:"0_"+((new Date).getTime()/1E3-a.Bd)+"_isTimeout_"+a.Y})}; +AKa=function(a,b,c){if(a.Ra.length)for(var d={},e=g.r(a.Ra),f=e.next();!f.done;d={Lq:d.Lq},f=e.next()){d.Lq=f.value;f=1E3*d.Lq.startSecs;var h=1E3*d.Lq.durationSecs+f;if(b>f&&bf&&cf)return SS(a,"enterAfterReturn enterTimeMs="+e+" is greater than parentReturnTimeMs="+f.toFixed(3),h,l),"";var n=1E3*m.getMinSeekableTime();if(en)return m="returnAfterDuration parentReturnTimeMs="+f.toFixed(3)+" is greater than parentDurationMs="+n+". And timestampOffset in seconds is "+ +m.wd(),SS(a,m,h,l),"";n=null;for(var p=g.r(a.u),q=p.next();!q.done;q=p.next()){q=q.value;if(e>=q.Ac&&eq.Ac)return SS(a,"overlappingReturn",h,l),"";if(f===q.Ac)return SS(a,"outOfOrder",h,l),"";e===q.Vc&&(n=q)}h="cs_childplayback_"+RKa++;l={Od:TS(d,!0),Cl:Infinity,target:null};var v={Dc:h,playerVars:b,playerType:c,durationMs:d,Ac:e,Vc:f,Cp:l};a.u=a.u.concat(v).sort(function(A,B){return A.Ac-B.Ac}); +n?SKa(a,n,{Od:TS(n.durationMs,!0),Cl:a.U.K("timeline_manager_transition_killswitch")?Infinity:n.Cp.Cl,target:v}):(b={Od:TS(e,!1),Cl:e,target:v},a.I.set(b.Od,b),m.addCueRange(b.Od));b=!0;if(a.j===a.api.Fc()&&(m=1E3*m.getCurrentTime(),m>=v.Ac&&mb)break;if(f>b)return{qm:d,Ss:b-e};c=f-d.Vc/1E3}return{qm:null,Ss:b-c}}; +QKa=function(a,b){var c=a.D||a.api.Fc().getPlayerState();XS(a,!0);b=a.U.K("html5_playbacktimeline_seektoinf_killswitch")||isFinite(b)?b:a.j.al();var d=WS(a,b);b=d.qm;d=d.Ss;var e=b&&!US(a,b)||!b&&a.j!==a.api.Fc(),f=1E3*d;f=a.B&&a.B.start<=f&&f<=a.B.end;!e&&f||VS(a);b?TKa(a,b,d,c):YS(a,d,c)}; +YS=function(a,b,c){var d=a.j,e=a.api.Fc();d!==e&&a.api.Io();d.seekTo(b,{re:"application_timelinemanager"});YKa(a,c)}; +TKa=function(a,b,c,d){var e=US(a,b);if(!e){b.playerVars.prefer_gapless=!0;var f=new g.HH(a.U,b.playerVars);f.Dc=b.Dc;a.api.aq(f,b.playerType)}f=a.api.Fc();e||f.addCueRange(b.Cp.Od);f.seekTo(c,{re:"application_timelinemanager"});YKa(a,d)}; +YKa=function(a,b){a=a.api.Fc();var c=a.getPlayerState();g.fK(b)&&!g.fK(c)?a.playVideo():g.W(b,4)&&!g.W(c,4)&&a.pauseVideo()}; +XS=function(a,b){a.V=NaN;a.N.stop();a.C&&b&&LS(a.C);a.D=null;a.C=null}; +US=function(a,b){a=a.api.Fc();return!!a&&a.getVideoData().Dc===b.Dc}; +ZKa=function(a){var b=a.u.find(function(e){return US(a,e)}); +if(b){var c=a.api.Fc();VS(a);var d=new g.$J(8);b=XKa(a,b)/1E3;YS(a,b,d);c.ma("forceParentTransition",{childPlayback:1});a.j.ma("forceParentTransition",{parentPlayback:1})}}; +ZS=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.r(a.I),h=f.next();!h.done;h=f.next()){var l=g.r(h.value);h=l.next().value;l=l.next().value;l.Cl>=d&&l.target&&l.target.Vc<=e&&(a.j.removeCueRange(h),a.I.delete(h))}d=b;e=c;f=[];h=g.r(a.u);for(l=h.next();!l.done;l=h.next())if(l=l.value,l.Ac>=d&&l.Vc<=e){var m=a;m.J===l&&VS(m);US(m,l)&&m.api.Io()}else f.push(l);a.u=f;d=WS(a,b/1E3);b=d.qm;d=d.Ss;b&&(d*=1E3,$Ka(a,b,d,b.Vc===b.Ac+b.durationMs?b.Ac+d:b.Vc));(b=WS(a,c/1E3).qm)&& +SS(a,"Invalid clearEndTimeMs="+c+" that falls during playback={timelinePlaybackId="+(b.Dc+" video_id="+b.playerVars.video_id+" durationMs="+b.durationMs+" enterTimeMs="+b.Ac+" parentReturnTimeMs="+b.Vc+"}.Child playbacks can only have duration updated not their start."))}; +$Ka=function(a,b,c,d){b.durationMs=c;b.Vc=d;d={Od:TS(c,!0),Cl:c,target:null};SKa(a,b,d);US(a,b)&&1E3*a.api.Fc().getCurrentTime()>c&&(b=XKa(a,b)/1E3,c=a.api.Fc().getPlayerState(),YS(a,b,c))}; +SS=function(a,b,c,d){a.j.ma("timelineerror",{e:b,cpn:c?c:void 0,videoId:d?d:void 0})}; +bLa=function(a){a&&"web"!==a&&aLa.includes(a)}; +bT=function(a,b){g.K.call(this);var c=this;this.data=[];this.B=a||NaN;this.u=b||null;this.j=new g.Zn(function(){$S(c);aT(c)}); +g.M(this,this.j)}; +dT=function(a){var b;if(b=void 0===b?!1:b)for(var c=g.r(a.data),d=c.next();!d.done;d=c.next())cT(a,d.value,b);a.data=[];aT(a)}; +$S=function(a){var b=(0,g.U)();a.data.forEach(function(c){c.expire=d;d++)c.push(d/100);c={threshold:c,trackVisibility:!0,delay:1E3};(this.u=window.IntersectionObserver?new IntersectionObserver(function(e){e=e[e.length-1];"undefined"===typeof e.isVisible?b.j=null:b.j=e.isVisible?e.intersectionRatio:0},c):null)&&this.u.observe(a)}; +oT=function(a){g.X.call(this,{F:"div",Ca:["html5-video-player"],T:{tabindex:"-1",id:a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId:a.config.attrs.id},S:[{F:"div",L:g.nT.VIDEO_CONTAINER,T:{"data-layer":"0"}}]});var b=this;this.app=a;this.Zx=this.ya(g.nT.VIDEO_CONTAINER);this.xw=new g.vl(0,0,0,0);this.Jb=null;this.RD=new g.vl(0,0,0,0);this.YH=this.bJ=this.aJ=NaN;this.JC=this.OD=this.XJ=this.ZN=!1;this.QG=NaN;this.BI=!1;this.wz=null;this.wJ=function(){b.element.focus()}; +this.AD=function(){b.app.Sa.X("playerUnderlayVisibilityChange","visible");b.Jb.classList.remove(g.nT.VIDEO_CONTAINER_TRANSITIONING);b.Jb.removeEventListener(iLa,b.AD);b.Jb.removeEventListener("transitioncancel",b.AD)}; +var c=this.element.addEventListener,d=this.element.removeEventListener;this.addEventListener=function(f,h,l){c.apply(b.element,[f,h,l])}; +this.removeEventListener=function(f,h,l){d.apply(b.element,[f,h,l])}; +var e=a.R();e.transparentBackground&&this.hp("ytp-transparent");"0"===e.controlsType&&this.hp("ytp-hide-controls");g.ho(this.element,"ytp-exp-bottom-control-flexbox");e.K("html5_player_bottom_linear_gradient")&&g.ho(this.element,"ytp-linear-gradient-bottom-experiment");e.K("enable_new_paid_product_placement")&&!g.oG(e)&&g.ho(this.element,"ytp-exp-ppp-update");qG(e)&&g.ho(this.element,"ytp-exp-hybrid-controls");yra(this.element,"version",jLa(a));this.xS=!1;this.Cy=new g.Qg(NaN,NaN);kLa(this);this.P(a.Sa, +"onMutedAutoplayChange",this.onMutedAutoplayChange)}; +kLa=function(a){function b(){a.Jb&&pT(a);qT(a)!==a.BI&&a.resize()} +function c(h,l){a.Qp(h,l)} +function d(h){h.getVideoData()&&a.updateVideoData(h.getVideoData())} +function e(){a.RD=new g.vl(0,0,0,0);a.xw=new g.vl(0,0,0,0)} +var f=a.app.Sa;f.addEventListener("initializingmode",e);f.addEventListener("videoplayerreset",d);f.addEventListener("videodatachange",c);f.addEventListener("presentingplayerstatechange",b);g.cf(a,function(){f.removeEventListener("initializingmode",e);f.removeEventListener("videoplayerreset",d);f.removeEventListener("videodatachange",c);f.removeEventListener("presentingplayerstatechange",b)})}; +lLa=function(a){var b=g.oN(a.app);if(b=b?b.getVideoData():null){if(g.kI(b)||g.lI(b)||g.nI(b))return 16/9;if(UH(b)&&b.B.j)return a=b.B.videoInfos[0].video,rT(a.width,a.height)}return(a=a.Jb)?rT(a.videoWidth,a.videoHeight):16/9}; +mLa=function(a,b,c,d){var e=c,f=rT(b.width,b.height);a.ZN?e=cf?{width:b.width,height:b.width/e,aspectRatio:e}:ee?a.width=a.height*c:cMath.abs(sT*b-a)||1>Math.abs(sT/a-b)?sT:a/b}; +qT=function(a){if(1===a.app.getAppState())return!1;if(6===a.app.getAppState())return!0;var b=g.oN(a.app);if(!b||b.Km())return!1;var c=a.app.Sa.zb();a=!g.W(c,2)||!a.app.R().K("html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().Ea;b=g.W(c,1024);return c&&a&&!b&&!c.isCued()}; +pT=function(a){var b="3"===a.app.R().controlsType&&!a.JC&&qT(a)&&!a.app.Bz||!1;a.Jb.controls=b;a.Jb.tabIndex=b?0:-1;b?a.Jb.removeEventListener("focus",a.wJ):a.app.R().K("disable_focus_redirect")||a.Jb.addEventListener("focus",a.wJ)}; +nLa=function(a){var b=a.Ji(),c=1,d=!1,e=mLa(a,b,a.getVideoAspectRatio()),f=a.app.R(),h=f.K("enable_desktop_player_underlay"),l=Vu(),m=g.TE(f.experiments,"player_underlay_min_player_width");m=h&&a.XJ&&a.getPlayerSize().width>m;if(qT(a)){var n=lLa(a);var p=isNaN(n)||g.yw||tT&&g.Zv||m;Wu&&!g.yc(601)?n=e.aspectRatio:p=p||"3"===f.controlsType;p?m?(p=f.K("place_shrunken_video_on_left_of_player"),n=.02*a.getPlayerSize().width,p=p?n:a.getPlayerSize().width-b.width-n,p=new g.vl(p,0,b.width,b.height)):p=new g.vl(0, +0,b.width,b.height):(c=e.aspectRatio/n,p=new g.vl((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1===c&&g.Zv&&(n=p.width-b.height*n,0Math.max(p.width-e.width,p.height-e.height));if(l||a.xS)a.Jb.style.display="";a.BI=!0}else{p=-b.height;Wu?p*=window.devicePixelRatio:g.rG&&(p-=window.screen.height);p=new g.vl(0,p,b.width,b.height);if(l||a.xS)a.Jb.style.display="none";a.BI=!1}wl(a.RD, +p)||(a.RD=p,g.UF(f)?(a.Jb.style.setProperty("width",p.width+"px","important"),a.Jb.style.setProperty("height",p.height+"px","important")):g.Il(a.Jb,p.getSize()),d=new g.Gg(p.left,p.top),g.El(a.Jb,Math.round(d.x),Math.round(d.y)),d=!0);b=new g.vl((b.width-e.width)/2,(b.height-e.height)/2,e.width,e.height);wl(a.xw,b)||(a.xw=b,d=!0);g.yl(a.Jb,"transform",1===c?"":"scaleX("+c+")");h&&m!==a.OD&&(m&&(a.Jb.addEventListener(iLa,a.AD),a.Jb.addEventListener("transitioncancel",a.AD),a.Jb.classList.add(g.nT.VIDEO_CONTAINER_TRANSITIONING)), +a.OD=m,a.app.Sa.X("playerUnderlayVisibilityChange",a.OD?"transitioning":"hidden"));return d}; +oLa=function(){this.csn=g.Bz();this.clientPlaybackNonce=null;this.elements=new Set;this.B=new Set;this.j=new Set;this.u=new Set}; +pLa=function(a,b){a.elements.has(b);a.elements.delete(b);a.B.delete(b);a.j.delete(b);a.u.delete(b)}; +qLa=function(a){if(a.csn!==g.Bz())if("UNDEFINED_CSN"===a.csn)a.csn=g.Bz();else{var b=g.Bz(),c=g.Az();if(b&&c){a.csn=b;for(var d=g.r(a.elements),e=d.next();!e.done;e=d.next())(e=e.value.visualElement)&&e.isClientVe()&&g.Fz(void 0,b,c,[e])}if(b)for(a=g.r(a.j),e=a.next();!e.done;e=a.next())(c=e.value.visualElement)&&c.isClientVe()&&g.Gz(b,c)}}; +uT=function(a,b,c,d,e){g.X.call(this,{F:"div",L:"ytp-horizonchart"});this.D=b;this.sampleCount=c;this.B=d;this.C=e;this.index=0;this.heightPx=-1;this.u=this.ctx=null;this.j=Math.round(a/c);this.element.style.width=this.j*this.sampleCount+"px";this.element.style.height=this.D+"em"}; +vT=function(a,b){if(-1===a.heightPx){var c=null;try{c=g.mh("CANVAS"),a.ctx=c.getContext("2d")}catch(e){}if(a.ctx){var d=a.j*a.sampleCount;a.u=c;a.u.width=d;a.u.style.width=d+"px";a.element.appendChild(a.u)}else for(a.sampleCount=Math.floor(a.sampleCount/4),a.j*=4,c=0;c=h&&a.ua.seekCount?(a.seekCount++,a.Ga.ma("iterativeSeeking",{status:"inprogress",count:a.seekCount,target:a.u,actual:h,duration:l,isVideo:c}),a.seek(a.u)):(a.Ga.ma("iterativeSeeking",{status:"incomplete",count:a.seekCount,target:a.u,actual:h}),a.seekCount=0,a.videoTrack.D=!1,a.audioTrack.D=!1,a.Ga.oa.seekTo(h+.1,{ys:!0,re:"chunkSelectorSynchronizeMedia",jp:!0})))}})}; +wLa=function(a,b,c){if(!a.Cg())return-1;c=(c?a.videoTrack:a.audioTrack).j.index;var d=c.getSegmentNumberForTime(a.u);return(AD(c,a.j.Xe)||b.Ia===a.j.Xe)&&dc||c===a.B)&&!isNaN(a.D)?a.D:b}; +FLa=function(a,b,c,d){ELa(a.I,d,c,b);ELa(a.va,d,c,b);EE(a.N,d,!0);EE(a.N,d,!1);a.ma("sdai",{rollbk2_seg:d,rbt:c.toFixed(3),lt:b.toFixed(3)})}; +GLa=function(a,b){if(a.j){var c=a.j.jf.durationSecs-(b.startTime+a.J-a.j.jf.startSecs);0>=c||(c=new kA(a.j.jf.startSecs-(isNaN(a.J)?0:a.J),c,a.j.jf.context,a.j.jf.identifier,"stop",a.j.jf.j+1E3*b.duration),a.ma("cuepointdiscontinuity",{segNum:b.Ia}),HT(a,c,b.Ia))}}; +IT=function(a,b,c){a.u!==b&&(a.ma("sdai",{setsst:b,old:a.u,r:c}),a.u=b)}; +JT=function(a,b,c,d){(void 0===d?0:d)?IT(a,1,"sk2h"):0b)return!0;a.Y.clear()}return!1}; +OLa=function(a,b){return new KT(a.J,a.B,b||a.j.reason)}; +LLa=function(a){a.Ha?a.Ha=!1:a.V=(0,g.U)();a.N=!1;return new KT(a.J,a.B,a.j.reason)}; +PLa=function(a,b){var c={};b=g.r(b);for(var d=b.next();!d.done;d=b.next())if((d=d.value)&&d.video){var e=d.video.j,f=c[e],h=f&&TD(f)&&f.video.j>a.policy.N,l=e<=a.policy.N?TD(d):DB(d);if(!f||h||l)c[e]=d}return c}; +LT=function(a,b){a.j=b;var c=a.I.videoInfos;if(!a.j.isLocked()){var d=(0,g.U)();c=g.wm(c,function(q){if(q.Pb>this.policy.Pb)return!1;var v=this.C.j[q.id],w=v.info.j;return this.policy.Fu&&this.Ra.has(w)||this.Y.get(q.id)>d||4=q.video.width&&480>=q.video.height}))}c.length||(c=a.I.videoInfos); +var e=g.wm(c,b.C,b),f="m"===b.reason||"s"===b.reason;a.policy.Kk&&tT&&g.Zv&&(!f||1080>b.j)&&(e=e.filter(function(q){return q.video&&(!q.u||q.u.powerEfficient)})); +if(0c.SA.video.width?(g.Yb(e,b),b--):OT(a,c.RA)*a.policy.u>OT(a,c.SA)&&(g.Yb(e,b-1),b--);c=e[e.length-1];a.Ya=!!a.B&&!!a.B.info&&a.B.info.j!==c.j;a.D=e;rHa(a.policy,c)}; +ILa=function(a,b){b?a.u=a.C.j[b]:(b=g.Ub(a.I.j,function(c){return!!c.Ic&&c.Ic.isDefault}),a.policy.cm&&!b&&(b=g.Ub(a.I.j,function(c){return c.audio.j})),b=b||a.I.j[0],a.u=a.C.j[b.id]); +MT(a)}; +QLa=function(a,b){for(var c=0;c+1d}; +MT=function(a){if(!a.u||!a.policy.j&&!a.u.info.Ic){var b=a.I.j;a.u&&a.policy.cm&&(b=b.filter(function(e){return e.audio.j===a.u.info.audio.j}),b.length||(b=a.I.j)); +a.u=a.C.j[b[0].id];if(1a.j.j:QLa(a,a.u);c&&(a.u=a.C.j[g.Qb(b).id])}}}; +NT=function(a){a.policy.Di&&(a.Ea=a.Ea||new g.Zn(function(){a.policy.Di&&a.B&&!QT(a)&&1===Math.floor(10*Math.random())?(PT(a,a.B),a.N=!0):a.Ea.start()},6E4),g.$n(a.Ea)); +if(!a.nextVideo||!a.policy.j)if(a.j.isLocked())a.nextVideo=360>=a.j.j?a.C.j[a.D[0].id]:a.C.j[g.Qb(a.D).id];else{for(var b=Math.min(a.videoIndex,a.D.length-1),c=AT(a.ra),d=OT(a,a.u.info),e=c/a.policy.B-d;0=f);b++);a.nextVideo=a.C.j[a.D[b].id];a.videoIndex!==b&&a.logger.info(function(){var h=a.j;return"Adapt to: "+vxa(a.nextVideo.info)+", bandwidth: "+c.toFixed(0)+", bandwidth to downgrade: "+e.toFixed(0)+", bandwidth to upgrade: "+ +f.toFixed(0)+", constraint: ["+(h.u+"-"+h.j+", override: "+(h.B+", reason: "+h.reason+"]"))}); +a.videoIndex=b}}; +JLa=function(a){var b=a.policy.B,c=AT(a.ra),d=c/b-OT(a,a.u.info);b=g.Vb(a.D,function(e){return OT(this,e)b&&(b=0);a.videoIndex=b;a.nextVideo=a.C.j[a.D[b].id];a.logger.info(function(){return"Initial selected fmt: "+vxa(a.nextVideo.info)+", bandwidth: "+c.toFixed(0)+", max video byterate: "+d.toFixed(0)})}; +KLa=function(a){if(a.eb.length){var b=a.eb,c=function(d,e){if("f"===d.info.j||b.includes($C(d,a.C.nf,a.Ga.Nf(),a.policy.Eb)))return d;for(var f={},h=0;ha.policy.Ed&&(c*=1.5);return c}; +RLa=function(a,b){a=Cca(a.C.j,function(c){return c.info.itag===b}); +if(!a)throw Error("Itag "+b+" from server not known.");return a}; +SLa=function(a){var b=[];if("m"===a.j.reason||"s"===a.j.reason)return b;if(Mxa(a.C)){for(var c=Math.max(0,a.videoIndex-2);c=d.length)return;if(0>c)throw Error("Missing data");a.B=a.C;a.u=0}for(e={};c=e)break;if(1886614376===d.getUint32(c+4)){var f=32;if(0aU.length&&aU.push(m)}v= +void 0}m=v;if(null!==m){var w=m;break a}}catch(y){}}c+=e}w=null}catch(y){w=null}}if(null!=w)for(b=g.md(w,7),null==b||a.We||(a.cryptoPeriodIndex=b),b=g.md(w,10),null!=b&&0=a.j.totalLength)throw Error();return aC(a.j,a.offset++)}; +eMa=function(a,b){b=void 0===b?!1:b;var c=dU(a);if(1===c){b=-1;for(c=0;7>c;c++){var d=dU(a);-1===b&&255!==d&&(b=0);-1e&&d>c;e++)c=256*c+dU(a),d*=128;return b?c:c-d}; +gU=function(a,b,c){var d=this;this.Ga=a;this.policy=b;this.I=c;this.logger=new g.eT("dash");this.u=[];this.j=null;this.Y=-1;this.N=0;this.qa=NaN;this.V=0;this.B=NaN;this.Ea=this.Ha=0;this.Ua=-1;this.va=this.C=this.D=this.ra=null;this.Ya=this.Ra=NaN;this.J=this.W=this.La=this.eb=null;this.gb=!1;this.timestampOffset=0;if(this.policy.j){var e=this.I,f=this.policy.j;this.J=new ST(this.policy,e,function(h,l,m){eU(a,new bU(d.policy.j,2,{Zz:new dMa(f,h,e.info,l,m)}))}); +this.J.N.promise.then(function(h){d.J=null;1===h&&eU(a,new bU(d.policy.j,h))},function(h){var l=(h.message||"none").replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"); +h instanceof ZT&&!h.j?(d.logger.info(function(){return"Assertion failed: "+l}),fU(d),eU(a,new bU(d.policy.j,4))):(d.logger.info(function(){return"Failed to write to disk: "+l}),d.Ga.ma("dldbwerr",{em:l}),fU(d),eU(a,new bU(d.policy.j,4,{LC:!0})))})}}; +fMa=function(a){return a.u.length?a.u[0]:null}; +hU=function(a){return a.u.length?a.u[a.u.length-1]:null}; +jMa=function(a,b,c){if(a.C){var d=a.C.Gb+a.C.u;if(0=a.Y&&0===a.N){var f=a.j.j, +h=-1;e=-1;if(c){for(var l=0;l+8e&&(h=-1)}else{f=new cU(f);for(m=l=!1;;){n=f.getOffset();var p=f;try{var q=eMa(p,!0),v=eMa(p,!1);var w=q;var y=v}catch(B){y=w=-1}p=w;var A=y;if(!(0h&&(h=n),m))break;163===p&&(h=Math.max(0,h),e=f.getOffset()+A);if(160===p){0>h&&(e=h=f.getOffset()+ +A);break}f.skip(A)}}0>h&&(e=-1)}if(0>h)break;a.Y=h;a.N=e-h}if(a.Y>d)break;a.Y?(d=hMa(a,a.Y),d.D&&iMa(a,d),gMa(a,b,d),lU(a,d),a.Y=0):a.N&&(d=hMa(a,0>a.N?Infinity:a.N),a.N-=d.j.totalLength,lU(a,d))}}a.j&&a.j.info.Ae&&(lU(a,a.j),a.j=null)}; +kU=function(a,b){!b.info.j.Wm()&&0===b.info.Gb&&(g.HD(b.info.j.info)||b.info.j.info.We())&&rxa(b);if(1===b.info.type)try{iMa(a,b),kMa(a,b)}catch(d){g.qz(d);var c=mD(b.info);c.hms="1";a.Ga.handleError("fmt.unparseable",c||{},1)}b.info.j.eI(b);a.J&&WLa(a.J,b)}; +fU=function(a){var b;null==(b=a.J)||b.dispose();a.J=null}; +lMa=function(a){var b=a.u.reduce(function(c,d){return c+d.j.totalLength},0); +a.j&&(b+=a.j.j.totalLength);return b}; +mU=function(a){return g.Pk(a.u,function(b){return b.info})}; +hMa=function(a,b){var c=a.j;b=Math.min(b,c.j.totalLength);if(b===c.j.totalLength)return a.j=null,c;c=kxa(c,b);a.j=c[1];return c[0]}; +iMa=function(a,b){var c=GD(b);if(SD(b.info.j.info)&&"bt2020"===b.info.j.info.video.primaries){var d=new FC(c);HC(d,[408125543,374648427,174,224,21936,21937])&&(d=d.start+d.pos,129===c.getUint8(d)&&1===c.getUint8(d+1)&&c.setUint8(d+1,9))}d=b.info.j.info;DB(d)&&!SD(d)&&(d=GD(b),(new FC(d)).Uv(),LC([408125543,374648427,174,224],21936,d));b.info.j.info.isVideo()&&(d=b.info.j,d.info&&d.info.video&&"MESH"===d.info.video.projectionType&&!d.B&&(g.HD(d.info)?d.B=qwa(c):d.info.We()&&(d.B=xwa(c))));b.info.j.info.We()&& +b.info.isVideo()&&(c=GD(b),(new FC(c)).Uv(),LC([408125543,374648427,174,224],30320,c)&&LC([408125543,374648427,174,224],21432,c));if(a.policy.Pu&&b.info.j.info.We()){c=GD(b);var e=new FC(c);if(HC(e,[408125543,374648427,174,29637])){d=KC(e,!0);e=e.start+e.pos;for(var f=0;fm||(e&&b.skip(4),f&&b.skip(4),e=nC(b),b.skip((m-1)*(4+(h?4:0)+(l?4:0)+(d?4:0))-4),b.data.setUint32(b.offset+b.j,e))}}if(b=a.ra&&!!a.ra.I.C)if(b=c.info.isVideo())b=qxa(c),h=a.ra,nU?(l=1/b,b=oU(a,b)>=oU(h)+l):b=a.getDuration()>=h.getDuration(),b=!b;b&&mMa(c)&&(b=a.ra,nU?(l=qxa(c),h=1/l,l=oU(a,l),b=oU(b)+h-l):b=b.getDuration()- +a.getDuration(),b=1+b/c.info.duration,pwa(GD(c),b))}else{h=!1;a.D||(rxa(c),c.u&&(a.D=c.u,h=!0,e=c.info,f=c.u.j,e.D="updateWithEmsg",e.Ia=f,e=c.u,e.C&&(a.I.index.u=!e.C),e=c.info.j.info,f=GD(c),g.HD(e)?DC(f,1701671783):e.We()&&LC([408125543],307544935,f)));a:{if(f=e=ID(c,a.policy.La))f=c.info.j.info.We()&&160===aC(c.j,0);if(f)a.V+=e,a.B=a.policy.Cd?a.B+e:NaN;else{if(a.policy.wt){if(f=d=a.Ga.jp(mxa(c),1),0<=a.B&&6!==c.info.type){if(a.policy.Cd&&isNaN(a.Ra)){g.rz(new g.Rv("Missing duration while processing previous chunk", +nD(c.info)));iU(a,"m");break a}var n=d-a.B;m=n-a.Ea;var p=c.info.Ia,q=a.va?a.va.Ia:-1,v=a.Ya,w=a.Ra;var y=a.policy.rg&&n>a.policy.rg;var A=a.policy.qg&&Math.abs(m)>a.policy.qg;if(1E-4y&&p>a.Ua)&&E&&(p=Math.max(.95,Math.min(1.05,(e-(A-n))/e)),pwa(GD(c),p),p=ID(c,a.policy.La),B=e-p,e=p));a.Ea=n+B;a.policy.V&&(d!==f||B)&&(n=null==(l=a.D)?void 0:tC(l),a.Ga.ma("discontinuityRewrite",{adCpn:(null==n?0:n.length)?n.join("."):"",itag:c.info.j.info.itag,sq:c.info.Ia,originalStartTime:d,rewrittenStartTime:f,startTimeAdjustment:f-d,segDrift:(1E3*m).toFixed(),originalDuration:e+B,rewrittenDuration:e, +durationAdjustment:B}))}}else f=isNaN(a.B)?c.info.startTime:a.B;nxa(c,f)?(isNaN(a.qa)&&(a.qa=f),a.V+=e,a.B=f+e):(l=mD(c.info),l.smst="1",a.Ga.handleError("fmt.unparseable",l||{},1))}}a.va=c.info;a.Ra=pxa(c);0<=c.C&&(a.Ya=c.C);if(h&&a.D){h=nMa(a,!0);oD(c.info,h);a.j&&oD(a.j.info,h);b=g.r(b.info.j);for(l=b.next();!l.done;l=b.next())oD(l.value,h);(c.info.Ae||a.j&&a.j.info.Ae)&&6!==c.info.type||(a.W=h,b=a.Ga,b.j.isManifestless&&oMa(b,h,null,!!a.I.info.video),a.policy.Ld||pMa(a))}}kMa(a,c);a.timestampOffset&& +oxa(c,a.timestampOffset)}; +lU=function(a,b){if(b.info.Ae){a.eb=b.info;if(a.D){var c=a.D,d=nMa(a,!1),e=null;if(a.D.cz()){e=c.data["Stitched-Video-Id"]?c.data["Stitched-Video-Id"].split(",").slice(0,-1):[];var f=tC(c),h=[];if(c.data["Stitched-Video-Duration-Us"])for(var l=g.r(c.data["Stitched-Video-Duration-Us"].split(",").slice(0,-1)),m=l.next();!m.done;m=l.next())h.push((Number(m.value)||0)/1E6);l=[];if(c.data["Stitched-Video-Start-Frame-Index"]){m=g.r(c.data["Stitched-Video-Start-Frame-Index"].split(",").slice(0,-1));for(var n= +m.next();!n.done;n=m.next())l.push(Number(n.value)||0)}l=[];if(c.data["Stitched-Video-Start-Time-Within-Ad-Us"])for(m=g.r(c.data["Stitched-Video-Start-Time-Within-Ad-Us"].split(",").slice(0,-1)),n=m.next();!n.done;n=m.next())l.push((Number(n.value)||0)/1E6);e=new $La(e,f,h,l,g.lwa(c),g.mwa(c))}a.Ga.DJ(a.I,d,e);a.W||a.policy.Ld||pMa(a);a.W=null}jU(a)}a.J&&WLa(a.J,b);if(c=hU(a))if(c=lxa(c,b,a.policy.rk)){a.u.pop();a.u.push(c);return}a.u.push(b)}; +jU=function(a){a.j=null;a.Y=-1;a.N=0;a.D=null;a.qa=NaN;a.V=0;a.W=null}; +iU=function(a,b){b={rst4disc:b,cd:a.Ea.toFixed(3),sq:a.va?a.va.Ia:-1};a.B=NaN;a.Ea=0;a.Ua=-1;a.va=null;a.Ya=NaN;a.Ra=NaN;a.La=null;a.Ga.ma("mdstm",b)}; +kMa=function(a,b){if(a.I.info.Td){if(b.info.j.info.We()){var c=new FC(GD(b));if(HC(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=KC(c,!0);c=16!==d?null:PC(c,d)}else c=null;d="webm"}else b.info.J=YLa(GD(b)),c=ZLa(b.info.J),d="cenc";c&&c.length&&(c=new $T(c,d),c.We=b.info.j.info.We(),b.u&&b.u.cryptoPeriodIndex&&(c.cryptoPeriodIndex=b.u.cryptoPeriodIndex),b.u&&b.u.B&&(c.j=b.u.B),a.Ga.jw(c))}}; +pMa=function(a){var b=a.D,c=jwa(b);c&&(c.startSecs+=a.qa,a.Ga.CJ(a.I,c,b.j,b.cz()))}; +nMa=function(a,b){var c,d=a.D;if(c=jwa(d))c.startSecs+=a.qa;return new RB(d.j,a.qa,b?d.zk:a.V,d.ingestionTime,"sq/"+d.j,void 0,void 0,b,c)}; +mMa=function(a){return a.info.j.Wm()&&a.info.Ia===a.info.j.index.getLastSegmentNumber()}; +oU=function(a,b){b=(b=void 0===b?0:b)?Math.round(a.timestampOffset*b)/b:a.timestampOffset;a.I.C&&b&&(b+=a.I.C.j);return b+a.getDuration()}; +qMa=function(a,b){0>b||(a.u.forEach(function(c){oxa(c,b)}),a.timestampOffset=b)}; +pU=function(a,b){this.info=a;this.callback=b;this.state=1;this.HC=!1;this.Ko=0;this.jt=!1;this.Fe=this.lastError=null}; +rMa=function(a){return g.Od(a.info.j,function(b){return 3===b.type})}; +qU=function(a,b){this.j=a;this.u=0;this.B=null;this.sf=[];this.C=null;(this.length=b?b:0)?1!==this.j.length||this.j[0].u||(this.j[0].u=this.length):1===this.j.length||g.Od(this.j,function(c){return!!c.range})}; +rU=function(a,b,c){a.B&&(UB(a.B,b),b=a.B,a.B=null);for(var d=!1,e=!1,f=0,h=0,l=g.r(a.j),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.u<=a.u)f+=m.u;else{if(iD(m)&&!c&&a.u+b.totalLength-h=b&&(e.u.pop(),e.B-=ID(l,e.policy.La),f=l.info)}f&&(e.C=0c?FT(a,d):a.u=a.j.fp(b-1,!1).j[0]}; +EU=function(a,b){var c;for(c=0;c=a.V:c}; +AMa=function(a){var b;return zU(a)||!(null==(b=hU(a.C))||!hD(b.info))}; +yU=function(a){var b=[],c=vU(a);c&&b.push(c);b=g.ac(b,mU(a.C));c=g.r(a.B);for(var d=c.next();!d.done;d=c.next()){d=d.value;for(var e={},f=g.r(d.info.j),h=f.next();!h.done;e={du:e.du},h=f.next())e.du=h.value,d.HC&&(b=g.wm(b,function(l){return function(m){return!Rwa(m,l.du)}}(e))),(jD(e.du)||4===e.du.type)&&b.push(e.du)}a.u&&!Mwa(a.u,g.Qb(b),a.u.j.Wm())&&b.push(a.u); +return b}; +xMa=function(a,b){if(!a.length)return!1;for(b+=1;b=b){b=f;break a}}b=e}return 0>b?NaN:xMa(a,c?b:0)?a[b].startTime:NaN}; +FU=function(a){return!(!a.u||a.u.j===a.j)}; +BMa=function(a){return FU(a)&&a.j.Sf()&&a.u.j.info.Pbb&&a.Bb)return!0;var c=a.getLastSegmentNumber();return bb)return 1;c=a.getLastSegmentNumber();return be?(a.B+=d,.2d&&(d=0);d=1E3*(d*a.snapshot.stall+d/a.snapshot.byterate);d=LU(a)?d+b:d+Math.max(b,c);a.V=d}; +NU=function(a,b){for(var c="";4095>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))}; +PU=function(a,b,c,d){var e=this;d=void 0===d?{}:d;this.policy=b;this.callbacks=c;this.V=d;this.status=0;this.response=void 0;this.N=this.u=0;this.I=this.J=!1;this.errorMessage="";this.Y=function(f){e.status=f.status;if(f.ok&&f.body&&204!==e.status)e.status=e.status||242,e.fn=f.body.getReader(),e.isDisposed()?e.fn.cancel().catch(function(){}):(e.D=f.headers,e.callbacks.nw(),UMa(e)); +else e.onDone()}; +this.W=function(f){var h=(0,g.U)();e.isDisposed()||(e.C&&(e.j.append(e.C),e.C=void 0),f.done?(e.fn=void 0,e.onDone()):(f=f.value,e.u+=f.length,e.C=f,f=(0,g.U)(),10c?1:192>c?2:224>c?3:240>c?4:5}else c=0;if(1>c||!(b+c<=a.totalLength))return[-1,b];if(1===c)a=aC(a,b++);else if(2===c)c=aC(a,b++),a=aC(a,b++),a=(c&63)+64*a;else if(3===c){c=aC(a,b++);var d=aC(a,b++);a=aC(a,b++);a=(c&31)+32*(d+256*a)}else if(4===c){c=aC(a,b++);d=aC(a,b++);var e=aC(a,b++);a=aC(a,b++);a=(c&15)+16*(d+256*(e+256*a))}else c=b+1,a.focus(c),XB(a,c,4)?a=cwa(a).getUint32(c-a.B,!0):(d=aC(a,c+2)+256*aC(a,c+3),a=aC(a,c)+256*(aC(a,c+1)+ +256*d)),b+=5;return[a,b]}; +QU=function(a){this.callbacks=a;this.j=new TB}; +RU=function(a,b,c){var d=this;c=void 0===c?{}:c;this.callbacks=b;this.u=this.status=0;this.isDisposed=this.j=!1;this.xhr=new XMLHttpRequest;this.xhr.open(c.method||"GET",a);if(c.headers){a=c.headers;b=g.r(Object.keys(a));for(var e=b.next();!e.done;e=b.next())e=e.value,this.xhr.setRequestHeader(e,a[e])}this.xhr.responseType="arraybuffer";this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(f){d.lw(f)}; +a=hu(function(f){d.onDone(f)}); +this.xhr.addEventListener("load",a,!1);this.xhr.addEventListener("error",a,!1);c.body?this.xhr.send(c.body):this.xhr.send();this.xhr.addEventListener("progress",hu(function(f){d.Vd(f)}),!1)}; +XMa=function(a,b){gH(a,13,b.timeSinceLastManualFormatSelectionMs);var c=b.lastManualDirection;void 0!==c&&(fH(a,112),fH(a,c<<1^c>>31));gH(a,16,b.GZ);gH(a,18,b.xX);gH(a,19,b.wX);gH(a,21,b.A4);gH(a,23,b.eX);gH(a,34,b.visibility);kH(a,38,b.mediaCapabilities,WMa,3);gH(a,39,b.a5);gH(a,40,b.xO);hH(a,46,b.TX)}; +YMa=function(a){for(var b=[];$G(a,2);)b.push(ZG(a));return{zG:b.length?b:void 0,videoId:cH(a,3),AL:aH(a,4)}}; +WMa=function(a,b){var c;if(b.zL)for(c=0;ca.policy.Jl||a.jt&&!a.policy.Tt?0:qB())?rB()?new GU(c,a.policy.C,a.timing,b):new PU(c,a.policy.C,a.timing,b):new RU(c,a.timing,b)}; +XU=function(a,b,c,d,e,f,h,l,m,n,p,q){g.K.call(this);this.Ga=a;this.policy=b;this.videoTrack=c;this.audioTrack=d;this.Pm=e;this.B=f;this.timing=h;this.I=l;this.schedule=m;this.j=n;this.D=p;this.Y=q;this.ra=!1;this.cA="";this.C=this.nj=null;this.N="";this.V=0;this.Of=NaN;this.qa=!1;this.u=null;this.W=NaN;this.J=0;this.logger=new g.eT("dash");0f&&(c=d.j.Bu(d,e-h.u)))),d=c):(0>d.Ia&&(c=mD(d),c.pr=""+b.B.length,a.Ga.Cg()&&(c.sk="1"),c.snss=d.D,a.Ga.ma("nosq",c)),d=h.Cx(d));if(a.policy.J)for(c=g.r(d.j),e=c.next();!e.done;e=c.next())e.value.type=6}else d.j.Wm()?(c=zT(a.I,b.j.info.Pb,c.j.info.Pb,0),d=d.j.Bu(d,c)):d=d.j.Cx(d);if(a.u)if(e=d.j[0].j.info.id, +c=a.B,h=d.j[0].Ia,c=0>h&&!isNaN(c.B)?c.B:h,h=DLa(a.B,d.j[0].C,c),f=b===a.audioTrack?1:2,l=d.j[0].j.info.itag,a.policy.bf)e=a.u.Uy(h,c,e,f),0>c&&(a.policy.Ot||2===f)&&JT(a.B,0,0,!0),e&&(a.Ga.ma("sdai",{ssdaiinfo:"1",length:e.length,itag:l,sg:c,st:h.toFixed(3)}),d.N=e);else if(e=a.u.Am(h,c,e,f),0>c&&(a.policy.Ot||2===f)&&JT(a.B,0,0,!0),e){h={decurl_itag:l,sg:c,st:h.toFixed(3)};if(a.policy.gt&&b.isRequestPending(c-1)){a.Ga.ma("sdai",{wt_daistate_on_sg:c-1});return}a.Ga.ma("sdai",h);e&&(d.B=new g.LB(e))}a.policy.Bk&& +-1!==d.j[0].Ia&&d.j[0].Ia=a.policy.Qk)return bV(a,"toomany"),!1;if(!a.policy.Wl&&0=a.policy.Kl)return bV(a,"maxpending"),!1;d=b.u;if(!d)return!0;4===d.type&&d.j.Sf()&&(b.u=g.Qb(d.j.Dw(d)),d=b.u);if(!hD(d)&&!d.j.ep(d))return bV(a,"notready"),!1;var e=a.j.xf||a.j.C;if(a.j.isManifestless&&e){e=b.j.index.getLastSegmentNumber();var f=c.j.index.getLastSegmentNumber(); +e=Math.min(e,f);if(0=e)return b.V=e,c.V=e,bV(a,"postlive"),!1}if(d.j.info.audio&&4===d.type)return bV(a,"toomanyaudio"),!1;if(BMa(b)&&!a.policy.gb)return bV(a,""),!0;if(hD(d))return bV(a,"eos"),!1;if(AU(b)&&AU(b)+AU(c)>a.policy.yc)return bV(a,"maxheap"),!1;e=!b.D&&!c.D;f=d.B;f=!!(c.u&&!hD(c.u)&&c.u.BoNa(a,b))return bV(a,"maxtime;"+d.B.toFixed(3)+";"+oNa(a,b)),!1;if((b=b.kc)&&b.isLocked())return bV(a,"locked"),!1;bV(a,"");return!0}; +bV=function(a,b){a.policy.pg&&a.u&&(a.N=b)}; +oNa=function(a,b){var c=a.B;c=c.j?c.j.jf:null;if(a.policy.J&&c)return c.startSecs+c.durationSecs+15;b=ZU(a.Ga,b,!0);!a.Ga.je.j.isLocked()&&0a.Ga.getCurrentTime())return c.start/1E3;return Infinity}; +cV=function(a,b,c){a:if(b=b.info,b.B)c=null;else{var d=b.j[0];if(b.range)var e=cD(b.range.start,Math.min(4096,qD(b)));else{if(b.C&&0<=b.C.indexOf("/range/")||"1"===b.u.C.get("defrag")||"1"===b.u.C.get("otf")){c=null;break a}e=cD(0,4096)}e=new pD([new dD(5,d.j,e,"createProbeRequestInfo"+d.D,d.Ia)],b.C);e.I=c;e.B=b.B;c=e}c&&aV(a,c)}; +aV=function(a,b){qNa(a.Ga,b);var c=Uwa(b);c={wi:a.schedule,Xk:c,ED:rLa(a.I,c),Ln:iD(b.j[0]),jo:OB(b.u.j),mH:a.policy.V};a.nj&&(c.Ia=b.j[0].Ia,c.Of=b.Of,c.nj=a.nj);var d={Cr:Vwa(b,a.Ga.getCurrentTime()),Vz:a.policy.Bd&&sD(b)&&b.j[0].j.info.video?SLa(a.D):void 0,yA:a.policy.J,poToken:a.Ga.UH(),Ws:a.Ga.AC(),cA:a.cA};return new VU(a.policy,b,c,a.Pm,function(e,f){try{a:{a.policy.pg&&a.u&&(a.C=e);var h=e.info.j[0].j,l=h.info.video?a.videoTrack:a.audioTrack;if(!(2<=e.state)||e.isComplete()||e.Ko||!(!a.Ga.mediaSource|| +a.Ga.isSuspended||3=n)cV(a,e,!1),a.qa=!0;else{var p=a.policy.zi;if(p&&!(mf){if(a.policy.Yb){var y=Object.assign(IU(e.timing),{rst:""+e.state,strm:""+e.xhr.Qw(),d:SMa(e.timing)});a.Ga.ma("rqs",y)}e.rS&&a.Ga.ma("sbwe3",{},!0)}if(!a.isDisposed()&&2<=e.state){var A= +a.timing,B=e.info.j[0].j,E=!A.D&&B.info.video,G=!A.u&&B.info.audio;3===e.state?E?A.tick("vrr"):G&&A.tick("arr"):4===e.state?E?(A.D=e.pe(),g.Ev(),Gv(4)):G&&(A.u=e.pe()):e.Es()&&E&&(g.Ev(),Gv(4));if(3===e.state){EU(l,e);sD(e.info)&&dV(a,l,h,!0);if(a.u){var H=e.info.Am();H&&a.u.Tj(e.info.j[0].Ia,h.info.id,H)}a.Ga.Ij()}else if(e.isComplete()&&5===e.info.j[0].type){if(4===e.state){var I=(e.info.j[0].j.info.video?a.videoTrack:a.audioTrack).B[0]||null;I&&I instanceof VU&&I.Ko&&mNa(I,!0)}e.dispose()}else{if(!e.isFailed()&& +e.jt&&2<=e.state&&3!==e.state){var O=e.xhr.getResponseHeader("X-Response-Itag");if(O){var L=RLa(a.D,O),P=qD(e.info);if(P){var S=P-L.OH();L.D=!0;e.info.j[0].j.D=!1;var ca=L.Mp(S);e.info=ca;if(e.Fe){var R=e.Fe,na=ca.j;R.j=na;var sa=na[0].range,Aa=new TB;for(f=0;fqa.B&&(qa.B=NaN,qa.D=NaN),qa.j&&qa.j.Ia===nb.j[0].Ia){var Ua=qa.j,$a=Ua.jf;Sb.mq($a)&&"predictStart"!==$a.event?Ua.cz?IT(qa,4,"cue"):(qa.B=nb.j[0].Ia,qa.D=nb.j[0].C,qa.ma("sdai",{joinad:qa.u,sg:qa.B,st:qa.D.toFixed(3)}),qa.W=Date.now(),IT(qa,2,"join"),Sb.aI(Ua.jf)):IT(qa,5,"nogab")}else 1===qa.u&& +IT(qa,5,"noad")}}else if(a.policy.ra&&e.ww()&&!e.isComplete()&&!eV(a,e)&&!e.isFailed())break a;e.isFailed()&&a.Nv(e);a.Ga.Ij();if(a.policy.rd&&e.isComplete()&&e.canRetry()&&YC(e.info.u,a.policy,a.Pm)){var bc=a.Pm;var Sa=NB(e.info.u.j);var ab=WC(bc,Sa);ab.B+a.policy.rd*Gwa(ab,a.policy,!0)>(0,g.U)()||cV(a,e,!1)}}}}}}catch(tb){L=a.ra?1:0,a.ra=!0,e=AG(L),L=BG(tb,L),a.Ga.handleError(L.errorCode,L.details,L.severity),e||a.Ga.dj()}},d)}; +eV=function(a,b){try{var c=b.info.j[0].j,d=c.info.video?a.videoTrack:a.audioTrack;if(a.j.isManifestless&&d){a.J=0;d.J&&(b.isDisposed(),b.isComplete()||b.ww(),d.J=!1);b.IH()&&a.Ga.MB.lh(1,b.IH());var e=b.sC(),f=b.SO(),h=a.j,l;for(l in h.j){var m=h.j[l].index;m.mm&&(e&&(m.Om=Math.max(m.Om,e)),f&&(m.Zn=Math.max(m.Zn||0,f)))}}if(b.info.Ln()&&!rD(b.info))for(var n=g.r(b.Nw()),p=n.next();!p.done;p=n.next()){var q=p.value;if(1===q.info.type)if(c.info.video){var v=a.timing;v.qa||(v.qa=(0,g.U)(),SN("vis_r", +v.qa,v.j))}else{var w=a.timing;w.J||(w.J=(0,g.U)(),SN("ais_r",w.J,w.j))}kU(d.C,q)}xU(d,a.Ga.getCurrentTime());var y=!!d.Gg();if(y&&b instanceof CT)if(c.info.Um()){var A=a.timing;A.W||(A.W=(0,g.U)(),SN("oafs_rp",A.W,A.j))}else{var B=a.timing;B.Y||(B.Y=(0,g.U)(),SN("ovfs_rp",B.Y,B.j))}return y}catch(E){return b=b.Cv(),b.origin="hrhs",rNa(a.Ga,E,b),!1}}; +sNa=function(a){var b=a.videoTrack.j.index;a.nj=new GMa({On:a.policy.On,Xi:a.policy.C.Xi,Zh:b.Zh,getLastSegmentNumber:function(){return b.getLastSegmentNumber()}, +Yr:function(){return b.Yr()}})}; +dV=function(a,b,c,d){if(!(c.Sf()||c.Yv()||c.D)&&Jwa(c.u,a.policy)&&"f"!==c.info.j){if(d){d=a.I;var e=c.info;d=sLa(d,e.video?d.policy.Sq:d.policy.pk,e.Pb)}else d=0;d=c.Mp(d);a=aV(a,d);rD(d)&&wU(b,a);c.D=!0}}; +tNa=function(a,b,c,d,e){this.Ga=a;this.policy=b;this.schedule=c;this.fv=d;this.V=e;this.W=NaN;this.u=this.J=this.C=null;this.j=this.D=this.I=this.startTimeSecs=NaN;this.B=!1;this.N=NaN}; +uNa=function(a,b,c,d,e){return b.Kb&&b.qa&&3===Tva(b)?new tNa(a,b,c,d,e):null}; +vNa=function(a,b){if(a.policy.Ut){var c=b.info.Pb,d=DF(a.schedule);b=b.index.Zh;c=Math.max(1,d/c);a.N=Math.round(1E3*Math.max(((c-1)*b+a.policy.Y)/c,b-a.policy.Kd))}}; +yNa=function(a,b){var c=Date.now()/1E3,d=c-a.startTimeSecs,e=c-a.I,f=e>=a.policy.Ki,h=!1;if(f){var l=0;!isNaN(b)&&b>a.D&&(l=b-a.D,a.D=b);l/e=a.policy.Kd&&!a.B;if(!f&&!c&&wNa(a,b))return NaN;c&&(a.B=!0);a:{d=h;c=Date.now()/1E3-(a.fv.Nh()||0)-a.J.u-a.policy.Y;f=a.u.startTime;c=f+c;if(d){if(isNaN(b)){fV(a,NaN,"n",b);f=NaN;break a}d=b-a.policy.Fd;d1E3*a.policy.Mu){a.ma("ombttl",{});return}if(a.j.Xe&&a.j.C||!a.policy.Lx&&a.j.isPremiere)return}e=a.Nf();if(a.V&&sU(a.V,$C(c,d,e,a.policy.Eb))){d=$C(c,d,e,a.policy.Eb);e=BNa(a.V,d);var f;if(!a.j.nf||!a.policy.Kx){if(!c.indexRange||!c.initRange)return;var h=c.indexRange.length+c.initRange.length,l=CNa(a.V,d);if(!l){a.ma("ombooo",{});return}h=l-h;if(0(0,g.U)()-d.V;var e=d.nextVideo&&3*OT(d,d.nextVideo.info)=b&&BU(c,!0)>=b;else{var f=0;c=mU(c.C).concat(mU(d.C));c=g.r(c);for(d=c.next();!d.done;d=c.next())f+=d.value.u;f/=e;b=fe*(10-f)/AT(b)}}else b=!0;if(!b)return"abr";b=a.videoTrack;if(0a.currentTime||360(e?e.Ia:-1));if(f)return a.policy.Li&&a.D.Cg()&&nV(a),!1;oV(a,b,c,d.info);if(a.j.u&&0===d.info.Gb){if(null==c.Jp()){e=vU(b);if(!(f=!e||e.j!==d.info.j)){b:if(e=e.J,f=d.info.J,e.length!==f.length)e=!1;else{for(var h=0;he)||(a.policy.Lc&&(!d.info.Gb||d.info.Ae||10>d.info.C)&&a.ma("sba",c.Ob({as:nD(d.info)})),e=d.D||d.B?d.info.j.j:null,f=d.j,d.B&&(f=new TB([]),UB(f,d.B),UB(f,d.j)), +f=YB(f),c=KNa(a,c,f,d.info,e),"s"===c?(a.va=0,a=!0):("i"===c||"x"===c?LNa(a,"checked",c,d.info):("q"===c&&(d.info.isVideo()?(e=a.policy,e.I=Math.floor(.8*e.I),e.Ha=Math.floor(.8*e.Ha),e.D=Math.floor(.8*e.D)):(e=a.policy,e.W=Math.floor(.8*e.W),e.zc=Math.floor(.8*e.zc),e.D=Math.floor(.8*e.D)),PT(a.je,d.info.j)),mV(a.oa,{reattachOnAppend:c})),a=!1),e=!a);if(e)return!1;b.Vi(d);return!0}; +LNa=function(a,b,c,d){var e="fmt.unplayable",f=1;"x"===c||"m"===c?(e="fmt.unparseable",d.j.info.video&&!QT(a.je)&&PT(a.je,d.j)):"i"===c&&(15>a.va?(a.va++,e="html5.invalidstate",f=0):e="fmt.unplayable");d=mD(d);var h;d.mrs=null==(h=a.mediaSource)?void 0:sE(h);d.origin=b;d.reason=c;a.handleError(e,d,f)}; +oMa=function(a,b,c,d,e){var f=a.j,h=!1,l=-1;for(p in f.j){var m=VD(f.j[p].info.mimeType)||f.j[p].info.isVideo();if(d===m)if(h=f.j[p].index,AD(h,b.Ia)){m=b;var n=h.zm(m.Ia);n&&n.startTime!==m.startTime?(h.segments=[],h.CF(m),h=!0):h=!1;h&&(l=b.Ia)}else h.CF(b),h=!0}if(0<=l){var p={};f.X("clienttemp","resetMflIndex",(p[d?"v":"a"]=l,p),!1)}zLa(a.D,b,d,h);a.u.DJ(b,c,d,e)}; +oV=function(a,b,c,d){b=vU(b);!b||b.Ae||kD(b,d)||c.abort();!c.Jy()||oE()?c.vL(d.j.info.containerType,d.j.info.mimeType):d.j.info.containerType!==c.Jy()&&a.ma("ctu",{ct:oE(),prev_c:c.Jy(),curr_c:d.j.info.containerType});b=d.j.C;a.policy.Ik&&b&&(d=0+b.duration,b=-b.j,0===c.oC()&&d===c.FH()||c.BK(0,d),b!==c.wd()&&(c.pE(b),nU&&qMa(a.audioTrack.C,c.VH())))}; +pV=function(a,b,c){c.info.j.Sf();var d=c.info.j.j;if(!d||!b.GB()||b.Jp()===d)return!1;var e=d,f=b.tC();if(a.policy.Ei&&f&&b.isView()&&g.HD(c.info.j.info)){var h=new DataView(d.buffer,d.byteOffset,d.byteLength);(f=vwa(h,f))?e=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):a.ma("fenc",{})}f=null;(h=c.info.j.Mp(0))&&(f=h.j[0]);a.policy.Lc&&a.ma("sbi",b.Ob({as:nD(c.info)}));a.policy.bk&&b.abort();d=KNa(a,b,e,f,d);if("s"!==d)return LNa(a,"sepInit",d,c.info),!0;c.info.isVideo()?(a=a.timing,a.ra||(a.ra= +(0,g.U)(),SN("vis_a",a.ra,a.j))):(a=a.timing,a.I||(a.I=(0,g.U)(),SN("ais_a",a.I,a.j)));return b.Ph()}; +KNa=function(a,b,c,d,e){try{b.appendBuffer(c,d,e)}catch(f){if(f instanceof DOMException){if(11===f.code)return"i";if(12===f.code)return"x";if(22===f.code||0===f.message.indexOf("Not enough storage"))return b=Object.assign({name:"QuotaExceededError",buffered:gE(b.yg()).replace(/,/g,"_"),message:g.Cc(f.message),track:a.mediaSource?b===a.mediaSource.u?"v":"a":"u"},zNa()),a.handleError("player.exception",b),"q";g.qz(f)}return"u"}return a.mediaSource.Rf()?"m":"s"}; +eU=function(a,b){a.oa.wD(b)}; +ZU=function(a,b,c){if(a.isSuspended)return 1;var d=b.j.info.audio?a.policy.W:a.policy.I;!a.policy.gb&&a.je.j.isLocked()&&(d=Math.max(d,b.j.info.audio?a.policy.zc:a.policy.Ha));c&&(d+=a.policy.yc);c=a.je.j.isLocked()?b.u?b.u.j.info.Pb:b.j.info.Pb:b.Pb*a.policy.Ak;d/=c;0=b&&ANa(a,d.startTime,!1)}); +return c&&c.startTimed;d++)c[2*d]=''.charCodeAt(d);a=a.B.createSession("video/mp4",b,c);return new zV(null,null,null,null,a)}; +BV=function(a,b){var c=a.I[b.sessionId];!c&&a.C&&(c=a.C,a.C=null,c.sessionId=b.sessionId,a.I[b.sessionId]=c);return c}; +qOa=function(a,b){var c=a.subarray(4);c=new Uint16Array(c.buffer,c.byteOffset,c.byteLength/2);c=String.fromCharCode.apply(null,c).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e=a&&(c=.75*a),b=.5*(a-c),c=new tV(b,a,a-b-c,this)):c=null;break a;case "widevine":c=new DV(a.fb("disable_license_delay"),!a.fb("h5_widevine_keyrotationagent_optimization_killswitch"), +b,this);break a;default:c=null}if(this.D=c)g.M(this,this.D),this.D.subscribe("rotated_need_key_info_ready",this.DN,this),this.D.subscribe("log_qoe",this.ji,this);UE(this.U.experiments);this.ji({cks:this.j.zg()});c=this.j;"com.youtube.widevine.forcehdcp"===c.keySystem&&c.B&&(this.La=new CV(this.videoData.Ya,this.U.experiments),g.M(this,this.La))}; +vOa=function(a){var b=a.C.attach();b?b.then(hu(function(){wOa(a)}),hu(function(c){if(!a.isDisposed()){g.gu(c); +var d="t.a";c instanceof DOMException&&(d+=";n."+c.name+";m."+c.message);a.X("licenseerror","drm.unavailable",1,d,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}})):(a.ji({mdkrdy:1}),a.V=!0); +a.W&&(b=a.W.attach())}; +yOa=function(a,b,c){a.Ha=!0;c=new $T(b,c);a.U.K("html5_eme_loader_sync")&&(a.I.get(b)||a.I.set(b,c));xOa(a,c)}; +xOa=function(a,b){if(!a.isDisposed()){a.ji({onInitData:1});if(a.U.K("html5_eme_loader_sync")&&a.videoData.B&&a.videoData.B.j){var c=a.J.get(b.initData);b=a.I.get(b.initData);if(!c||!b)return;b=c;c=b.initData;a.I.remove(c);a.J.remove(c)}a.ji({initd:b.initData.length,ct:b.contentType});if("widevine"===a.j.flavor)if(a.qa&&!a.videoData.isLivePlayback)HV(a);else{if(!(a.U.K("vp9_drm_live")&&a.videoData.isLivePlayback&&b.We)){a.qa=!0;c=b.cryptoPeriodIndex;var d=b.j;bMa(b);b.We||(d&&b.j!==d?a.X("ctmp","cpsmm", +{emsg:d,pssh:b.j}):c&&b.cryptoPeriodIndex!==c&&a.X("ctmp","cpimm",{emsg:c,pssh:b.cryptoPeriodIndex}));a.X("widevine_set_need_key_info",b)}}else a.DN(b)}}; +wOa=function(a){if(!a.isDisposed())if(a.U.K("html5_drm_set_server_cert")&&!g.cG(a.U)){var b=a.C.setServerCertificate();b?b.then(hu(function(c){xG(a.U)&&a.X("ctmp","ssc",{success:c})}),hu(function(c){a.X("ctmp","ssce",{n:c.name, +m:c.message})})).then(hu(function(){IV(a)})):IV(a)}else IV(a)}; +IV=function(a){a.isDisposed()||(a.V=!0,a.ji({onmdkrdy:1}),HV(a))}; +zOa=function(a){return"widevine"===a.j.flavor&&a.videoData.K("html5_drm_cpi_license_key")}; +HV=function(a){if(a.Ha&&a.V&&!a.ra){for(;a.B.length;){var b=a.B[0],c=zOa(a)?cMa(b):g.Bc(b.initData);if(a.u.get(c))if("fairplay"===a.j.flavor)a.u.delete(c);else{a.B.shift();continue}bMa(b);break}a.B.length&&a.createSession(a.B[0])}}; +AOa=function(a){var b;if(b=g.Qu()){var c;b=!(null==(c=a.C.u)||!c.getMetrics)}b&&(b=a.C.getMetrics())&&(b=g.gC(b),a.X("ctmp","drm",{metrics:b}))}; +KV=function(a){g.K.call(this);var b=this;this.oa=a;this.Oa=this.oa.R();this.videoData=this.oa.getVideoData();this.qz=0;this.D=this.u=!1;this.C=0;this.B=g.TE(this.Oa.experiments,"html5_delayed_retry_count");this.j=new g.Zn(function(){JV(b.oa)},g.TE(this.Oa.experiments,"html5_delayed_retry_delay_ms")); +g.M(this,this.j)}; +MV=function(a,b,c){var d=a.videoData.u,e=a.videoData.D;if(("progressive.net.retryexhausted"===b||"fmt.unplayable"===b||"fmt.decode"===b)&&!a.oa.Wg.D&&d&&"22"===d.itag)return a.oa.Wg.D=!0,a.yd("qoe.restart",{reason:"fmt.unplayable.22"}),LV(a.oa),!0;var f=!1,h=a.qz+3E4<(0,g.U)()||a.j.isActive();if(a.Oa.K("html5_empty_src")&&a.videoData.isAd()&&"fmt.unplayable"===b&&/Empty src/.test(""+c.msg))return c.origin="emptysrc",a.yd("auth",c),!0;var l;if(l=!h)l=a.oa.Pp(),l=!!(l.wf()||l.isInline()||l.isBackground()|| +l.Vv()||l.Sv());l&&(c.nonfg="paused",h=!0,a.oa.pauseVideo());("fmt.decode"===b||"fmt.unplayable"===b)&&(null==e?0:Kva(e)||Jva(e))&&(Gya(a.Oa.j,e.j),c.acfallexp=e.j,f=h=!0);!h&&0=a.Oa.ub)return!1;b.exiled=""+a.Oa.ub;a.yd("qoe.start15s",b);a.oa.X("playbackstalledatstart");return!0}; +EOa=function(a){if("GAME_CONSOLE"!==a.Oa.deviceParams.cplatform)try{window.close()}catch(b){}}; +COa=function(a){return a.u?!0:"yt"!==a.Oa.Ha?!1:a.videoData.La?25>a.videoData.Yb:!a.videoData.Yb}; +DOa=function(a){if(!a.u){a.u=!0;var b=a.oa.getPlayerState();b=g.W(b,4)||b.isSuspended();a.oa.Jo();b&&!vI(a.videoData)||a.oa.X("signatureexpired")}}; +FOa=function(a,b){if((a=a.oa.Qd())&&("fmt.unplayable"===b.errorCode||"html5.invalidstate"===b.errorCode)){var c=a.ag();b.details.merr=c?c.toString():"0";b.details.msg=a.kf()}}; +HOa=function(a,b){if("403"===b.details.rc){var c=b.errorCode;c="net.badstatus"===c||"manifest.net.retryexhausted"===c}else c=!1;if(!c&&!a.u)return!1;b.details.sts="19219";if(COa(a))return AG(b.severity)&&(b=Object.assign({e:b.errorCode},b.details),b=new zG("qoe.restart",b)),a.yd(b.errorCode,b.details),DOa(a),!0;6048E5<(0,g.U)()-a.Oa.Ne&&GOa(a,"signature");return!1}; +GOa=function(a,b){try{window.location.reload();a.yd("qoe.restart",{detail:"pr."+b});return}catch(c){}a.Oa.K("tvhtml5_retire_old_players")&&g.cG(a.Oa)&&EOa(a)}; +IOa=function(a,b){var c=a.Oa.j;c.D=!1;c.j=!0;a.yd("qoe.restart",{e:void 0===b?"fmt.noneavailable":b,detail:"hdr"});JV(a.oa,!0)}; +JOa=function(a,b,c,d){this.videoData=a;this.j=b;this.reason=c;this.u=d}; +NV=function(a,b,c){this.U=a;this.vA=b;this.oa=c;this.V=this.I=this.J=this.u=this.j=this.C=this.N=this.B=0;this.playbackRate=1;this.D=!1}; +OV=function(a,b,c){!a.U.K("html5_tv_ignore_capable_constraint")&&g.cG(a.U)&&(c=c.compose(KOa(a,b)));return c}; +LOa=function(a,b){var c=!0,d=a.playbackRate;if(a.K("html5_cap_quality_for_tv_hfr")){var e;c=PV(a,null==(e=b.j)?void 0:e.videoInfos);d=a.oa.getPlaybackRate()}return 1(0,g.U)()-a.C?0:f||0h?a.u+1:0;h=g.TE(a.U.experiments,"html5_displayed_frame_rate_downgrade_threshold");if(0h||!e||g.cG(a.U))return!1;a.j=d>e?a.j+1:0;if(3!==a.j)return!1;OOa(a,b.videoData.u);a.oa.ma("dfd",Object.assign({dr:c.droppedVideoFrames,de:c.totalVideoFrames},QOa()));return!0}; +SOa=function(a,b){return 0>=g.TE(a.U.experiments,"hfr_dropped_framerate_fallback_threshold")||!(b&&b.video&&32=e){d=e;break}return new tB(0,d,!1,"b")}; +UOa=function(a){a=a.oa.Pp();return a.isInline()?new tB(0,480,!1,"v"):a.isBackground()&&60e?(c&&(d=VOa(a,c,d)),new tB(0,d,!1,"e")):GH}; +VOa=function(a,b,c){if(a.K("html5_optimality_defaults_chooses_next_higher")&&c)for(a=b.j.videoInfos,b=1;ba.B)){var b=g.sS(a.j),c=b-a.D;a.D=b;8===a.playerState.state?a.playTimeSecs+=c:g.hK(a.playerState)&&!g.W(a.playerState,16)&&(a.rebufferTimeSecs+=c)}}; +SV=function(a,b){b?ZOa.test(a):(a=g.nu(a),Object.keys(a).includes("cpn"))}; +TV=function(a,b,c,d,e,f,h){var l={format:"RAW"},m={};if(qu(a)&&ru()){if(h){var n;2!==(null==(n=$Oa.uaChPolyfill)?void 0:n.state.type)?h=null:(h=$Oa.uaChPolyfill.state.data.values,h={"Synth-Sec-CH-UA-Arch":h.architecture,"Synth-Sec-CH-UA-Model":h.model,"Synth-Sec-CH-UA-Platform":h.platform,"Synth-Sec-CH-UA-Platform-Version":h.platformVersion,"Synth-Sec-CH-UA-Full-Version":h.uaFullVersion});m=Object.assign(m,h);l.withCredentials=!0}(h=g.Q("EOM_VISITOR_DATA"))?m["X-Goog-EOM-Visitor-Id"]=h:d?m["X-Goog-Visitor-Id"]= +d:g.Q("VISITOR_DATA")&&(m["X-Goog-Visitor-Id"]=g.Q("VISITOR_DATA"));c&&(m["X-Goog-PageId"]=c);e&&(m.Authorization="Bearer "+e);h||m["X-Goog-Visitor-Id"]||e||c?l.withCredentials=!0:b.K("html5_send_cpn_with_options")&&ZOa.test(a)&&(l.withCredentials=!0)}0a.J.BQ+100&&a.J){var d=a.J,e=d.isAd;c=1E3*c-d.BQ;a.va=1E3*b-d.R3-c-d.z3;if(!a.j.videoData.K("web_player_dai_csi_killswitch")){c=(0,g.U)()-c;b=a.va;d=a.j.videoData;var f=d.isAd();if(e||f){f=(e?"ad":"video")+"_to_"+(f?"ad":"video");var h={};!d.K("web_player_csi_ctt_killswitch")&&d.I&&(h.cttAuthInfo={token:d.I,videoId:d.videoId});h.startTime=c-b;ZA(f,h);YA({targetVideoId:d.videoId,targetCpn:d.clientPlaybackNonce}, +f);XA("pbs",c,f)}else c=a.j.oa.ej(),c.J!==d.clientPlaybackNonce?(c.I=d.clientPlaybackNonce,c.B=b):g.rz(new g.Rv("CSI timing logged before gllat",{cpn:d.clientPlaybackNonce}))}a.ma("gllat",{l:a.va.toFixed(),prev_ad:+e});delete a.J}}; +ZV=function(a,b){b=void 0===b?NaN:b;b=0<=b?b:g.sS(a.j);var c=a.j.oa.Ry();if(!isNaN(a.Y)&&!isNaN(c.j)){var d=c.j-a.Y;0a.u)&&2=e&&(g.qz(Error("invalid coreTime.now value: "+e)),e=(new Date).getTime()+2);return e},a.U.K("html5_validate_yt_now")),c=b(); +a.j=function(){return Math.round(b()-c)/1E3}; +a.oa.IJ()}return a.j}; +bPa=function(a){if(navigator.connection&&navigator.connection.type)return xPa[navigator.connection.type]||xPa.other;if(g.cG(a.U)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0}; +dW=function(a){var b=new vPa;b.C=a.hj().cc||"-";b.playbackRate=a.oa.getPlaybackRate();var c=a.oa.getVisibilityState();0!==c&&(b.visibilityState=c);a.U.Bd&&(b.u=1);c=a.oa.getAudioTrack();c.Ic&&c.Ic.id&&"und"!==c.Ic.id&&(b.B=c.Ic.id);b.connectionType=bPa(a);b.volume=a.hj().volume;b.muted=a.hj().muted;b.clipId=a.hj().clipid||"-";b.j=a.videoData.aQ||"-";return b}; +g.sW=function(a){g.K.call(this);var b=this;this.u=a;this.qoe=this.j=null;this.nh=void 0;this.B=new Map;this.u.videoData.isValid()&&!this.u.videoData.Ak&&(this.j=new jW(this.u),g.M(this,this.j),this.qoe=new g.WV(this.u),g.M(this,this.qoe),this.u.videoData.enableServerStitchedDai&&(this.nh=this.u.videoData.clientPlaybackNonce)&&this.B.set(this.nh,this.j));this.C=new QV(this.u,function(c){b.ma("h5h",c)}); +g.M(this,this.C)}; +yPa=function(a){if(a.u.videoData.enableServerStitchedDai&&a.nh){var b;null!=(b=a.B.get(a.nh))&&eW(b.u)}else a.j&&eW(a.j.u)}; +zPa=function(a){a.C.send();if(a.qoe){var b=a.qoe;if(b.D){"PL"===b.Zd&&(b.Zd="N");var c=g.sS(b.j);g.VV(b,c,"vps",[b.Zd]);b.I||(0<=b.B&&(b.u.user_intent=[b.B.toString()]),b.I=!0);xG(b.j.U)&&b.ma("finalized",{});b.qa=!0;b.reportStats(c)}}if(a.u.videoData.enableServerStitchedDai)for(b=g.r(a.B.values()),c=b.next();!c.done;c=b.next())qW(c.value);else a.j&&qW(a.j);a.dispose()}; +APa=function(a,b){a.j&&uPa(a.j,b)}; +BPa=function(a){if(!a.j)return null;var b=kW(a.j,"atr");return function(c){a.j&&uPa(a.j,c,b)}}; +CPa=function(a,b,c,d){c.adFormat=c.Mc;var e=b.oa;b=new jW(new rW(c,b.U,{getDuration:function(){return c.lengthSeconds}, +getCurrentTime:function(){return e.getCurrentTime()}, +gj:function(){return e.gj()}, +Ry:function(){return e.Ry()}, +getPlayerSize:function(){return e.getPlayerSize()}, +getAudioTrack:function(){return c.getAudioTrack()}, +getPlaybackRate:function(){return e.getPlaybackRate()}, +Ty:function(){return e.Ty()}, +getVisibilityState:function(){return e.getVisibilityState()}, +ej:function(){return e.ej()}, +IJ:function(){e.IJ()}, +Mz:function(){e.Mz()}},b.hj)); +b.C=d;g.M(a,b);return b}; +DPa=function(){this.Cr=0;this.D=this.C=this.j=this.B=NaN;this.u={};this.bandwidthEstimate=NaN}; +EPa=function(){this.j=g.tA;this.array=[]}; +GPa=function(a,b,c){var d=[];for(b=FPa(a,b);bc)break}return d}; +HPa=function(a,b){var c=[];a=g.r(a.array);for(var d=a.next();!d.done&&!(d=d.value,d.contains(b)&&c.push(d),d.start>b);d=a.next());return c}; +IPa=function(a){return a.array.slice(FPa(a,0x7ffffffffffff),a.array.length)}; +FPa=function(a,b){a=lc(a.array,function(c){return b-c.start||1}); +return 0>a?-(a+1):a}; +JPa=function(a,b){var c=NaN;a=g.r(a.array);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.contains(b)&&(isNaN(c)||d.endb&&(isNaN(c)||d.starta.mediaTime+a.C&&b(d||!a.B?1500:400);a.mediaTime=b;a.u=c;return!1}; +NPa=function(a,b){this.videoData=a;this.j=b}; +OPa=function(a,b,c){return xBa(b,c).then(function(){return Iu(new NPa(b,b.B))},function(d){d instanceof Error&&iu(d); +var e=$D('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f=aE('audio/mp4; codecs="mp4a.40.2"'),h=e||f,l=b.isLivePlayback&&!g.$E(a.j,!0);d="fmt.noneavailable";l?d="html5.unsupportedlive":h||(d="html5.missingapi");h=l||!h?2:1;e={buildRej:"1",a:!!b.adaptiveFormats,d:!!b.gb,drm:WH(b),f18:0<=b.Bk.indexOf("itag=18"),c18:e};b.j&&(WH(b)?(e.f142=!!b.j.j["142"],e.f149=!!b.j.j["149"],e.f279=!!b.j.j["279"]):(e.f133=!!b.j.j["133"],e.f140=!!b.j.j["140"],e.f242=!!b.j.j["242"]),e.cAAC=f,e.cAVC=aE('video/mp4; codecs="avc1.42001E"'), +e.cVP9=aE('video/webm; codecs="vp9"'));b.N&&(e.drmsys=b.N.keySystem,f=0,b.N.j&&(f=Object.keys(b.N.j).length),e.drmst=f);return new zG(d,e,h)})}; +PPa=function(a){this.D=a;this.B=this.u=0;this.C=new hT(50)}; +xW=function(a,b,c){g.cz.call(this);this.videoData=a;this.experiments=b;this.N=c;this.u=[];this.C=0;this.B=!0;this.D=!1;this.I=0;c=new QPa;"ULTRALOW"===a.latencyClass&&(c.C=!1);a.Cb?c.u=3:g.iI(a)&&(c.u=2);b.fb("html5_adaptive_seek_to_head_killswitch")||"NORMAL"!==a.latencyClass||(c.N=!0);var d=pBa(a);c.D=2===d||-1===d;c.D&&(c.Y++,21530001===aI(a)&&(c.I=g.TE(b,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN));if(Ou("trident/")||Ou("edge/"))c.B=Math.max(c.B,g.TE(b,"html5_platform_minimum_readahead_seconds")|| +3);g.TE(b,"html5_minimum_readahead_seconds")&&(c.B=g.TE(b,"html5_minimum_readahead_seconds"));g.TE(b,"html5_maximum_readahead_seconds")&&(c.V=g.TE(b,"html5_maximum_readahead_seconds"));b.fb("html5_force_adaptive_readahead")&&(c.C=!0);g.TE(b,"html5_allowable_liveness_drift_chunks")&&(c.j=g.TE(b,"html5_allowable_liveness_drift_chunks"));g.TE(b,"html5_readahead_ratelimit")&&(c.W=g.TE(b,"html5_readahead_ratelimit"));switch(aI(a)){case 21530001:c.j=(c.j+1)/5,"LOW"===a.latencyClass&&(c.j*=2),c.J=b.fb("html5_live_smoothly_extend_max_seekable_time")}this.policy= +c;this.J=1!==this.policy.u;b=isNaN(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.Cb&&b--;a.isLowLatencyLiveStream&&"NORMAL"!==a.latencyClass||b++;switch(aI(a)){case 21530001:b=1;break;case 2153E4:b=2}this.policy.D&&b++;this.j=wW(this,b)}; +RPa=function(a,b){var c=a.j;(void 0===b?0:b)&&a.policy.J&&3===pBa(a.videoData)&&--c;return yW(a)*c}; +zW=function(a,b){var c=a.al(),d=a.policy.j;a.D||(d=Math.max(d-1,0));a=d*yW(a);return b>=c-a}; +SPa=function(a,b,c){b=zW(a,b);c||b?b&&(a.B=!0):a.B=!1;a.J=2===a.policy.u||3===a.policy.u&&a.B}; +TPa=function(a,b){b=zW(a,b);a.D!==b&&a.X("livestatusshift",b);a.D=b}; +yW=function(a){return a.videoData.j?DE(a.videoData.j)||5:5}; +wW=function(a,b){b=Math.max(Math.max(a.policy.Y,Math.ceil(a.policy.B/yW(a))),b);return Math.min(Math.min(8,Math.floor(a.policy.V/yW(a))),b)}; +QPa=function(){this.Y=1;this.B=0;this.V=Infinity;this.W=0;this.C=!0;this.j=2;this.u=1;this.D=!1;this.I=NaN;this.J=this.N=!1}; +CW=function(a){g.K.call(this);this.oa=a;this.U=this.oa.R();this.C=this.j=0;this.B=new g.Zn(this.D,1E3,this);this.va=new AW({delayMs:g.TE(this.U.experiments,"html5_seek_timeout_delay_ms")});this.V=new AW({delayMs:g.TE(this.U.experiments,"html5_long_rebuffer_threshold_ms")});this.Ea=BW(this,"html5_seek_set_cmt");this.Y=BW(this,"html5_seek_jiggle_cmt");this.ra=BW(this,"html5_seek_new_elem");this.Ua=BW(this,"html5_unreported_seek_reseek");this.J=BW(this,"html5_long_rebuffer_jiggle_cmt");this.N=new AW({delayMs:2E4}); +this.I=BW(this,"html5_ads_preroll_lock_timeout");this.Ha=new AW({delayMs:g.TE(this.U.experiments,"html5_skip_slow_ad_delay_ms")||5E3,tv:!this.U.K("html5_report_slow_ads_as_error")});this.La=new AW({delayMs:g.TE(this.U.experiments,"html5_skip_slow_ad_delay_ms")||5E3,tv:!this.U.K("html5_skip_slow_buffering_ad")});this.qa=BW(this,"html5_seek_over_discontinuities");this.Ra=new AW({delayMs:g.TE(this.U.experiments,"html5_slow_start_timeout_delay_ms")});this.W=BW(this,"html5_slow_start_no_media_source"); +this.u={};g.M(this,this.B)}; +BW=function(a,b){var c=g.TE(a.U.experiments,b+"_delay_ms");a=a.U.K(b+"_cfl");return new AW({delayMs:c,tv:a})}; +UPa=function(a,b,c,d,e,f,h){var l=hE(c,Math.max(d-3.5,0)),m=0<=l&&d>c.end(l)-1.1&&l+1c.start(l+1)-c.end(l);m=f&&h&&m;var n=l+1b.fE,c=b.j&&c-b.j>b.jK||f?b.B=!0:!1):c=!1,c&&(l=Object.assign({},a.Ob(b),l),l.wn=h,l.we=e,l.wsuc=d,a.oa.ma("workaroundReport",l),d&&(b.reset(),a.u[e]=!1)))}; +AW=function(a){var b=void 0===a?{}:a;a=void 0===b.delayMs?0:b.delayMs;var c=void 0===b.jK?1E3:b.jK,d=void 0===b.fE?3E4:b.fE;b=void 0===b.tv?!1:b.tv;this.j=this.triggerTimestamp=this.u=this.startTimestamp=0;this.B=!1;this.C=Math.ceil(a/1E3);this.jK=c;this.fE=d;this.tv=b}; +VPa=function(a,b){if(!a.C||a.triggerTimestamp)return!1;if(!b)return a.reset(),!1;b=(0,g.U)();if(!a.startTimestamp)a.startTimestamp=b,a.u=0;else if(a.u>=a.C)return a.triggerTimestamp=b,!0;a.u+=1;return!1}; +FW=function(a){g.K.call(this);var b=this;this.oa=a;this.U=this.oa.R();this.videoData=this.oa.getVideoData();this.policy=new WPa(this.U);this.W=new CW(this.oa);this.playbackData=null;this.La=new g.YD;this.I=this.u=this.Ga=this.mediaElement=null;this.j=NaN;this.C=0;this.qa=NaN;this.B=null;this.va=NaN;this.D=this.J=null;this.V=this.N=!1;this.ra=new g.Zn(function(){XPa(b,!1)},2E3); +this.Ya=new g.Zn(function(){EW(b)}); +this.Ha=new g.Zn(function(){b.N=!0;YPa(b)}); +this.timestampOffset=0;this.Ra=!0;this.Ea=0;this.Ua=NaN;this.Y=new g.Zn(function(){var c=b.U.Fd;c.j+=1E4/36E5;c.j-c.B>1/6&&(fza(c),c.B=c.j);b.Y.start()},1E4); +g.M(this,this.W);g.M(this,this.La);g.M(this,this.ra);g.M(this,this.Ha);g.M(this,this.Ya);g.M(this,this.Y)}; +ZPa=function(a,b){a.playbackData=b;a.videoData.isLivePlayback&&(a.I=new PPa(function(){a:{if(a.playbackData&&a.playbackData.j.j){if(OH(a.videoData)&&a.Ga){var c=a.Ga.MB.Nh()||0;break a}if(a.videoData.j){c=a.videoData.j.N;break a}}c=0}return c}),a.u=new xW(a.videoData,a.U.experiments,function(){return a.Pd(!0)})); +a.videoData.startSeconds&&isFinite(a.videoData.startSeconds)&&1E9=e.u&&cd.C||g.Wa()-d.I=a.Pd()-.1)a.j=a.Pd(),a.B.resolve(a.Pd()),tS(a.oa);else try{var c=a.j-a.timestampOffset;a.mediaElement.seekTo(c); +a.W.j=c;a.va=c;a.C=a.j}catch(d){}}}; +eQa=function(a){if(!a.mediaElement||0===a.mediaElement.aj()||0a;a++)TW[a]=255>=a?9:7;UW.length=32;UW.fill(5);VW.length=286;VW.fill(0);for(a=261;285>a;a++)VW[a]=Math.floor((a-261)/4);WW[257]=3;for(a=258;285>a;a++){var b=WW[a-1];b+=1<a;a++)XW[a]=3>=a?0:Math.floor((a-2)/2);for(a=YW[0]=1;30>a;a++)b=YW[a-1],b+=1<a.C.length&&(a.C=new Uint8Array(2*a.B),a.B=0,a.u=0,a.D=!1,a.j=0,a.register=0)}a.C.length!==a.B&&(a.C=a.C.subarray(0,a.B));return a.error?new Uint8Array(0):a.C}; +rQa=function(a,b,c){b=$W(b);c=$W(c);for(var d=a.data,e=a.C,f=a.B,h=a.register,l=a.j,m=a.u;;){if(15>l){if(m>d.length){a.error=!0;break}h|=(d[m+1]<<8)+d[m]<n)for(h>>=7;0>n;)n=b[(h&1)-n],h>>=1;else h>>=n&15;l-=n&15;n>>=4;if(256>n)e[f++]=n;else if(a.register=h,a.j=l,a.u=m,256a.j){var c=a.data,d=a.u;d>c.length&&(a.error=!0);a.register|=(c[d+1]<<8)+c[d]<>4;for(aX(a,7);0>c;)c=b[ZW(a,1)-c];return c>>4}; +ZW=function(a,b){for(;a.j=a.data.length)return a.error=!0,0;a.register|=a.data[a.u++]<>=b;a.j-=b;return c}; +aX=function(a,b){a.j-=b;a.register>>=b}; +$W=function(a){for(var b=[],c=g.r(a),d=c.next();!d.done;d=c.next())d=d.value,b[d]||(b[d]=0),b[d]++;var e=b[0]=0;c=[];var f=0;d=0;for(var h=1;h>m&1;l=f<<4|h;if(7>=h)for(m=1<<7-h;m--;)d[m<>=7;h--;){d[m]||(d[m]=-b,b+=2);var n=e&1;e>>=1;m=n-d[m]}d[m]=l}}return d}; +uQa=function(a){var b,c,d,e,f,h,l;return g.z(function(m){switch(m.j){case 1:if(!("DecompressionStream"in window))return m.return(g.sQa(new g.oQa(a)));b=new DecompressionStream("gzip");c=b.writable.getWriter();c.write(a);c.close();d=b.readable.getReader();e=new TB([]);case 2:return g.x(m,d.read(),4);case 4:f=m.u;h=f.value;if(l=f.done){m.Ma(3);break}e.append(h);m.Ma(2);break;case 3:return m.return(YB(e))}})}; +wQa=function(a,b){var c=[];b=g.r(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=vQa[d]||0;a.j&&e>a.j||c.push(d)}return c}; +zQa=function(a,b){var c=a[a.length-1];a.push.apply(a,g.t(xQa[c]||[]));b.K("html5_early_media_for_drm")&&a.push.apply(a,g.t(yQa[c]||[]))}; +EQa=function(a,b){var c=XH(a),d=a.R().j;if(bX&&!d.j)return bX;for(var e=[],f=[],h={},l=g.r(AQa),m=l.next();!m.done;m=l.next()){var n=!1;m=g.r(m.value);for(var p=m.next();!p.done;p=m.next()){p=p.value;var q=BQa(p);!q||!q.video||TD(q)&&!c.qa&&q.video.j>c.W||(n?e.push(p):(q=CB(c,q,d),!0===q?(n=!0,e.push(p)):h[p]=q))}e&&zQa(e,a)}l=g.r(CQa);for(n=l.next();!n.done;n=l.next()){n=g.r(n.value);for(p=n.next();!p.done;p=n.next())if(m=p.value,(p=DQa(m))&&p.audio)if(p=CB(c,p,d),!0===p){f.push(m);break}else h[m]= +p;f&&zQa(f,a)}c.B&&b("orfmts",h);bX={video:e,audio:f};d.j=!1;return bX}; +BQa=function(a){var b=FQa[QD[a]],c=GQa[a];if(!c||!b)return null;var d=new ND(c.width,c.height,c.fps);b=Oxa(b,d);return new RD(a,b,{video:d,Pb:c.bitrate/8})}; +DQa=function(a){var b=FQa[QD[a]],c=HQa[a];return c&&b?new RD(a,b,{audio:new LD(c.audioSampleRate,c.numChannels)}):null}; +IQa=function(a){this.Gd=a;this.logger=new g.eT("onesie");this.B={};this.j={};this.C=!0;this.u=null;this.queue=new QW(this)}; +cX=function(a){var b=a.queue;b.j.length&&b.j[0].isEncrypted&&!b.u&&(b.j.length=0);b=g.r(Object.keys(a.j));for(var c=b.next();!c.done;c=b.next())c=c.value,a.j[c].sP||nQa(a.queue,c)}; +JQa=function(a,b){var c=b.totalLength,d=!1;switch(a.u){case 0:a.HJ(b,a.C).then(function(e){var f=a.Gd;f.Rc("oprr");f.playerResponse=e;f.XI||(f.Cw=!1);dX(f)},function(e){a.Gd.fail(e)}); +break;case 2:a.Rc("ormk");b=YB(b);a.queue.decrypt(b);break;default:d=!0}a.Gd.jj&&a.Gd.ma("ombup","id.11;pt."+a.u+";len."+c+(d?";ignored.1":""));a.u=null}; +KQa=function(a,b,c){var d=aC(b,0);a.Gd.jj&&a.Gd.ma("ombup","id."+(c?12:21)+";len."+b.totalLength+";hid."+d);1!==b.totalLength&&(b=b.split(1).So,d=a.B[d]||null)&&(a.To(a.j[d].Um?"oafs_r":"ovfs_r"),a.queue.enqueue(d,b,c))}; +NQa=function(a,b,c,d){var e={},f=HE(0);f&&(e.GZ=f,e.lastManualDirection=gya(),f=zua()||0,0Math.random())try{g.rz(new g.Rv("b/152131571",btoa(d)))}catch(A){}return y.return(Promise.reject(new zG(v,{backend:"gvi"},w)))}})}; +gRa=function(a,b){var c,d,e,f,h,l,m,n,p,q,v,w,y,A;return g.z(function(B){if(1==B.j)return a.fetchType="gvi",c=a.R(),(f=nGa(a))?(d={format:"RAW",method:"POST",withCredentials:!0,timeout:3E4,postParams:f},e=pu(b,{action_display_post:1})):(d={format:"RAW",method:"GET",withCredentials:!0,timeout:3E4},e=b),h={},c.sendVisitorIdHeader&&a.visitorData&&(h["X-Goog-Visitor-Id"]=a.visitorData),(l=g.LE(c.experiments,"debug_sherlog_username"))&&(h["X-Youtube-Sherlog-Username"]=l),0v.u&&3!==v.j.oa.getVisibilityState()&&RV(v);q.qoe&&(q=q.qoe,q.Ha&&0>q.B&&q.j.U.Kd&& +cW(q));p.Ga&&hX(p);p.U.Ul&&!p.videoData.backgroundable&&p.mediaElement&&!p.Bg()&&(p.isBackground()&&p.mediaElement.mB()?(p.ma("bgmobile",{suspend:1}),p.Jo(!0)):p.isBackground()||iX(p)&&p.ma("bgmobile",{resume:1}))}; +this.Ih=new tW(function(){return p.getCurrentTime()},function(){return p.getPlaybackRate()},function(){return p.getPlayerState()},function(q,v){q!==g.uA("endcr")||g.W(p.playerState,32)||tS(p); +e(q,v,p.playerType)}); +g.M(this,this.Ih);g.M(this,this.jd);kRa(this,m);this.videoData.subscribe("dataupdated",this.M2,this);this.videoData.subscribe("dataloaded",this.KG,this);this.videoData.subscribe("dataloaderror",this.handleError,this);this.videoData.subscribe("ctmp",this.ma,this);this.videoData.subscribe("ctmpstr",this.hK,this);lRa(this);uKa(this.zf);this.visibility.subscribe("visibilitystatechange",this.zf)}; +kRa=function(a,b){if(2===a.playerType||a.U.Wl)b.TL=!0;var c=Mza(b.Mc,b.Mu,a.U.u,a.U.C);c&&(b.adFormat=c);2===a.playerType&&(b.cn=!0);if(a.isFullscreen()||a.U.u)c=g.Qz("yt-player-autonavstate"),b.autonavState=c||(a.U.u?2:a.videoData.autonavState);b.endSeconds&&b.endSeconds>b.startSeconds&&kX(a,b.endSeconds)}; +nRa=function(a){if(a.videoData.Ea){var b=a.Qg.Fc();a.videoData.jr=a.videoData.jr||(null==b?void 0:b.JH());a.videoData.Rr=a.videoData.Rr||(null==b?void 0:b.KH())}(b=FBa(a.videoData))||(b=a.videoData,b=!(b.bk?Iza(b.bk):1));b&&(b=a.videoData.errorDetail,a.fg("auth",2,unescape(a.videoData.errorReason),b,b,a.videoData.Vk||void 0));1===a.playerType&&lX.isActive()&&a.SD.start();a.videoData.qg=a.getUserAudio51Preference();a.K("html5_generate_content_po_token")&&mRa(a)}; +lRa=function(a){!a.hc||a.hc.isDisposed();a.hc=new g.sW(new rW(a.videoData,a.U,a,function(){return a.Qg.hj()}))}; +pJ=function(a){return a.mediaElement&&a.mediaElement.er()?a.mediaElement.tf():null}; +mX=function(a){if(a.videoData.isValid())return!0;a.fg("api.invalidparam",2,void 0,"invalidVideodata.1");return!1}; +g.rS=function(a,b){b=void 0===b?!1:b;if(!b){var c=a.hc;RV(c.C);c.qoe&&cW(c.qoe)}a.Yp=b;!mX(a)||a.Fo.started?g.cG(a.U)&&a.videoData.isLivePlayback&&a.Fo.started&&!a.Fo.isFinished()&&!a.Yp&&a.KG():(a.Fo.start(),b=a.hc,g.sS(b.u),b.qoe&&dPa(b.qoe),a.KG())}; +oRa=function(a){var b=a.videoData;jRa(a).then(void 0,function(c){a.videoData!==b||b.isDisposed()||(c=BG(c),"auth"===c.errorCode&&a.videoData.errorDetail?a.fg("auth",2,unescape(a.videoData.errorReason),yG(c.details),a.videoData.errorDetail,a.videoData.Vk||void 0):a.handleError(c))})}; +zKa=function(a,b){a.kd=b;a.Ga&&NNa(a.Ga,new g.rV(b))}; +pRa=function(a){if(!g.W(a.playerState,128))if(a.videoData.isLoaded(),4!==a.playerType&&(a.hk=g.cc(a.videoData.W)),gI(a.videoData)){a.Bb.tick("bpd_s");nX(a).then(function(){a.Bb.tick("bpd_c");if(!a.isDisposed()){a.Yp&&(a.Sb(bK(bK(a.playerState,512),1)),iX(a));var c=a.videoData;c.endSeconds&&c.endSeconds>c.startSeconds&&kX(a,c.endSeconds);a.Fo.finished=!0;oX(a,"dataloaded");a.Go.started&&pX(a);XOa(a.Wg,a.Ke)}}); +a.K("html5_log_media_perf_info")&&a.ma("loudness",{v:a.videoData.Ld.toFixed(3)},!0);var b=QBa(a.videoData);b&&a.ma("playerResponseExperiment",{id:b},!0);a.vG()}else oX(a,"dataloaded")}; +nX=function(a){qX(a);a.Ke=null;var b=OPa(a.U,a.videoData,a.Bg());a.Uz=b;a.Uz.then(function(c){qRa(a,c)},function(c){a.isDisposed()||(c=BG(c),a.visibility.isBackground()?(rX(a,"vp_none_avail"),a.Uz=null,a.Fo.reset()):(a.Fo.finished=!0,a.fg(c.errorCode,c.severity,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",yG(c.details))))}); +return b}; +LV=function(a){nX(a).then(function(){return iX(a)}); +g.fK(a.playerState)&&a.playVideo()}; +qRa=function(a,b){if(!a.isDisposed()&&!b.videoData.isDisposed()){a.Ke=b;ZPa(a.jd,a.Ke);if(a.videoData.isLivePlayback){var c=(a.K("html5_onesie_ads")?fLa(a.Qg.Qs,a.videoData.videoId):!!a.videoData.Nk)||a.Ga&&!isNaN(a.Ga.Y);c=a.K("html5_onesie_live")&&c;0GF(b.U.Fd,"sticky-lifetime")?"auto":xB[HE()]:d=xB[HE()],d=g.vB("auto",d,!1,"s");if(wB(d)){d=KOa(b,c);var e=d.compose,f;a:if((f=c.j)&&f.videoInfos.length){for(var h=g.r(f.videoInfos),l=h.next();!l.done;l=h.next()){l=l.value;var m=void 0;if(null==(m=l.u)?0:m.smooth){f=l.video.j;break a}}f=f.videoInfos[0].video.j}else f=0;yma()&&!g.cG(b.U)&&DB(c.j.videoInfos[0])&& +(f=Math.min(f,g.uB.large));d=e.call(d,new tB(0,f,!1,"o"));e=d.compose;f=4320;!b.U.isMobile||g.SF(b.U)||Vu()||b.U.K("hls_for_vod")||(f=b.U.K("mweb_default_hd720")?g.uB.hd720:g.uB.medium);(h=g.TE(b.U.experiments,"html5_default_quality_cap"))&&c.j.j&&!c.videoData.Ah&&!c.videoData.Td&&(f=Math.min(f,h));h=g.TE(b.U.experiments,"html5_random_playback_cap");l=/[a-h]$/;h&&l.test(c.videoData.clientPlaybackNonce)&&(f=Math.min(f,h));if(l=h=g.TE(b.U.experiments,"html5_hfr_quality_cap"))a:{l=c.j;if(l.j)for(l=g.r(l.videoInfos), +m=l.next();!m.done;m=l.next())if(32f&&0!==f&&b.j===f)){e=!0;f=c.playbackRate;if(c.K("html5_cap_quality_for_tv_hfr")){var h;e=PV(c,null==(h=d.j)?void 0:h.videoInfos);f=c.oa.getPlaybackRate()}1b.j&&"b"===b.reason;c=a.je.Ya&&!oE();d||e||b||c?mV(a.oa,{reattchOnConstraint:d?"u":e?"drm":c?"codec":"perf"}):nV(a)}}}; +hX=function(a){a.K("html5_update_constraint")?uX(a):tX(a)}; +tRa=function(a){var b;return!!(a.K("html5_native_audio_track_switching")&&g.Zv&&(null==(b=a.videoData.u)?0:UD(b)))}; +uRa=function(a){if(!tRa(a))return!1;var b;a=null==(b=a.mediaElement)?void 0:b.audioTracks();return!!(a&&1n&&(n+=f.j);for(var p=0;pa.mediaSource.getDuration()&&a.mediaSource.wj(c)):a.mediaSource.wj(d);var e=a.Ga,f=a.mediaSource;e.policy.J&&(e.dj(),e.policy.J=!1);GNa(e);if(!f.j&&!f.u){var h=e.videoTrack.Gg(),l=h?h.info.j:e.videoTrack.j,m=e.audioTrack.Gg(),n=l.info.mimeType+e.policy.Jk,p=(m?m.info.j:e.audioTrack.j).info.mimeType,q,v= +null==(q=f.mediaSource)?void 0:q.addSourceBuffer(p),w,y="fakesb"===n.split(";")[0]?void 0:null==(w=f.mediaSource)?void 0:w.addSourceBuffer(n);f.Jf&&(f.Jf.webkitSourceAddId("0",p),f.Jf.webkitSourceAddId("1",n));var A=new nE(v,f.Jf,"0",PD(p),!1),B=new nE(y,f.Jf,"1",PD(n),!0);f.j=A;f.u=B;g.M(f,A);g.M(f,B)}uU(e.videoTrack,f.u||null);uU(e.audioTrack,f.j||null);e.mediaSource=f;e.resume();g.dz(f.j,e.qa,e);g.dz(f.u,e.qa,e);try{e.Ij()}catch(E){g.qz(E)}a.X("mediasourceattached")}}catch(E){g.rz(E),a.handleError(new zG("fmt.unplayable", +{msi:"1",ename:E.name},1))}})}; +zRa=function(a){a.Ga?a.Ga.seek(a.getCurrentTime()-a.wd()).Wi(function(){}):sX(a)}; +JV=function(a,b){b=void 0===b?!1:b;return g.z(function(c){if(1==c.j)return!a.K("html5_reset_daistate_on_newelement_killswitch")&&a.Ga&&a.Ga.us(),a.Ga&&a.Ga.isDisposed()&&qX(a),a.Sb(bK(a.playerState,2048)),a.X("newelementrequired"),b?g.x(c,nX(a),2):c.Ma(2);g.W(a.playerState,8)&&a.playVideo();g.pa(c)})}; +rKa=function(a,b){a.ma("newelem",{r:b});JV(a)}; +CX=function(a){a.Bb.D.pJ();g.W(a.playerState,32)||(a.Sb(bK(a.playerState,32)),g.W(a.playerState,8)&&a.pauseVideo(!0),a.X("beginseeking",a));a.Wb()}; +LS=function(a){g.W(a.playerState,32)?(a.Sb(dK(a.playerState,16,32)),a.X("endseeking",a)):g.W(a.playerState,2)||a.Sb(bK(a.playerState,16));a.Bb.D.uJ(a.videoData,g.W(a.playerState,4))}; +oX=function(a,b){a.X("internalvideodatachange",void 0===b?"dataupdated":b,a,a.videoData)}; +ARa=function(a){for(var b=g.r("loadstart loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" ")),c=b.next();!c.done;c=b.next())a.bx.P(a.mediaElement,c.value,a.NJ,a);a.U.Hk&&a.mediaElement.er()&&(a.bx.P(a.mediaElement,"webkitplaybacktargetavailabilitychanged",a.Q_,a),a.bx.P(a.mediaElement,"webkitcurrentplaybacktargetiswirelesschanged",a.R_,a))}; +BRa=function(a){window.clearInterval(a.KD);DX(a)||(a.KD=g.yu(function(){return DX(a)},100))}; +DX=function(a){var b=a.mediaElement;b&&a.rD&&!a.videoData.La&&!lB("vfp",a.Bb.timerName)&&2<=b.aj()&&!b.Tg()&&0b.u&&(b.u=c,b.delay.start());b.B=c;b.D=c;g.$n(a.xG);a.X("playbackstarted");g.Fv()&&((a=g.Ha("yt.scheduler.instance.clearPriorityThreshold"))? +a():Gv(0))}; +CRa=function(a){var b=a.getCurrentTime(),c=a.Qg.Wc();!lB("pbs",a.Bb.timerName)&&EA.measure&&EA.getEntriesByName&&(EA.getEntriesByName("mark_nr")[0]?zva("mark_nr"):zva());c.videoId&&a.Bb.info("docid",c.videoId);c.eventId&&a.Bb.info("ei",c.eventId);c.clientPlaybackNonce&&!a.K("web_player_early_cpn")&&a.Bb.info("cpn",c.clientPlaybackNonce);0a.UP+6283){if(!(!a.isAtLiveHead()||a.videoData.j&&AE(a.videoData.j))){var b=a.hc;if(b.qoe){b=b.qoe;var c=b.j.oa.Ry(),d=g.sS(b.j);YV(b,d,c);c=c.D;isNaN(c)||g.VV(b,d,"e2el",[c.toFixed(3)])}}g.nG(a.U)&&a.ma("rawlat",{l:kT(a.SK,"rawlivelatency").toFixed(3)});a.UP=Date.now()}a.videoData.u&&UD(a.videoData.u)&&(b=pJ(a))&&b.videoHeight!==a.JI&&(a.JI=b.videoHeight,yX(a,"a",sRa(a,a.videoData.eb)))}; +sRa=function(a,b){if("auto"===b.j.video.quality&&UD(b.zg())&&a.videoData.zc)for(var c=g.r(a.videoData.zc),d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()===a.JI&&"auto"!==d.j.video.quality)return d.zg();return b.zg()}; +gX=function(a){if(!hI(a.videoData))return NaN;var b=0;a.Ga&&a.videoData.j&&(b=OH(a.videoData)?a.Ga.MB.Nh()||0:a.videoData.j.N);return Date.now()/1E3-a.getIngestionTime()-b}; +FRa=function(a){!a.K("html5_ignore_airplay_events_on_new_video_killswitch")&&a.mediaElement&&a.mediaElement.Bg()&&(a.aD=(0,g.U)());a.U.fm?g.xu(function(){EX(a)},0):EX(a)}; +EX=function(a){if(a.mediaElement)try{a.JD=a.mediaElement.playVideo()}catch(c){rX(a,"err."+c)}if(a.JD){var b=a.JD;b.then(void 0,function(c){if(!(g.W(a.playerState,4)||g.W(a.playerState,256)||a.JD!==b||c&&"AbortError"===c.name&&c.message&&c.message.includes("load"))){var d="promise";c&&c.name&&(d+=";m."+c.name);rX(a,d);a.KN=!0;a.videoData.UR=!0}})}}; +rX=function(a,b){g.W(a.playerState,128)||(a.Sb(dK(a.playerState,1028,9)),a.ma("dompaused",{r:b}),a.X("onAutoplayBlocked"))}; +iX=function(a){if(!a.mediaElement||!a.videoData.B)return!1;var b,c=null;if(null==(b=a.videoData.B)?0:b.j){c=yRa(a);var d;null==(d=a.Ga)||d.resume()}else qX(a),a.videoData.eb&&(c=a.videoData.eb.Dx());b=c;d=a.mediaElement.mB();c=!1;d&&d.equals(b)||(GRa(a,b),c=!0);g.W(a.playerState,2)||(b=a.jd,b.D||!(0=c&&b<=d}; +gSa=function(a){if(!(g.W(a.kb.getPlayerState(),64)&&a.Wc().isLivePlayback&&5E3>a.sb.startTimeMs)){if(a.K("web_repeating_chapters")&&"repeatChapter"===a.sb.type){var b,c=null==(b=pN(a.ob()))?void 0:b.Av(),d;b=null==(d=a.getVideoData())?void 0:d.oi;c instanceof g.PO&&b&&(d=b[zP(b,a.sb.startTimeMs)],c.iK(0,d.title));isNaN(Number(a.sb.loopCount))?a.sb.loopCount=0:a.sb.loopCount++;1===a.sb.loopCount&&a.G.Ka("innertubeCommand",a.getVideoData().Z5)}a.kb.seekTo(.001*a.sb.startTimeMs,{re:"application_loopRangeStart"})}}; +SRa=function(a,b){var c=a.Sa.getAvailablePlaybackRates();b=Number(b.toFixed(2));a=c[0];c=c[c.length-1];b<=a?b=a:b>=c?b=c:(a=Math.floor(100*b+.001)%5,b=0===a?b:Math.floor(100*(b-.01*a)+.001)/100);return b}; +$X=function(a,b,c){if(a.ze(c)){c=c.getVideoData();if(ZX(a))c=b;else{a=a.kd;for(var d=g.r(a.u),e=d.next();!e.done;e=d.next())if(e=e.value,c.Dc===e.Dc){b+=e.Ac/1E3;break}d=b;a=g.r(a.u);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Dc===e.Dc)break;var f=e.Ac/1E3;if(fd?e=!0:1=b?b:0;this.j=a=l?function(){return new BA("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:h})}:function(m,n){var p=tTa(m,c,d,function(q){var v=n(q),w=q.slotId; +q=m_(h);w=iA(e.Va.get(),"LAYOUT_TYPE_SURVEY",w);var y={layoutId:w,layoutType:"LAYOUT_TYPE_SURVEY",Xa:"core"},A=new o_(e.j,d),B=new p_(e.j,w),E=new q_(e.j,w),G=new uTa(e.j);return{layoutId:w,layoutType:"LAYOUT_TYPE_SURVEY",Rb:new Map,xd:[A,G],Tc:[B],Pc:[],Uc:[E],Yc:[],Xa:"core",Aa:new kY([new ZY(h),new MY(b),new xZ(l/1E3),new BZ(q)]),vc:v(y),adLayoutLoggingData:h.adLayoutLoggingData}}); +m=sTa(a,c,p.slotId,d,e,m,n);return m instanceof BA?m:[p].concat(g.t(m))}}; +DTa=function(a,b,c,d,e,f){var h=[];try{var l=[];if(c.renderer.linearAdSequenceRenderer)var m=function(y){y=wTa(y.slotId,c,b,e(y),d,f);l=y.P4;return y.IX}; +else if(c.renderer.instreamVideoAdRenderer)m=function(y){var A=y.slotId;y=e(y);var B=c.config.adPlacementConfig,E=xTa(B),G=E.AO;E=E.DO;var H=c.renderer.instreamVideoAdRenderer,I;if(null==H?0:null==(I=H.playerOverlay)?0:I.instreamSurveyAdRenderer)throw new TypeError("Survey overlay should not be set on single video.");var O=yTa(H);I=Math.min(G+1E3*O.videoLengthSeconds,E);E=new LI(0,[O.videoLengthSeconds],I);var L=O.videoLengthSeconds,P=O.playerVars,S=O.instreamAdPlayerOverlayRenderer,ca=O.adVideoId, +R=zTa(c),na=O.Rb;O=O.zN;var sa=null==H?void 0:H.adLayoutLoggingData;H=null==H?void 0:H.sodarExtensionData;A=iA(b.Va.get(),"LAYOUT_TYPE_MEDIA",A);var Aa={layoutId:A,layoutType:"LAYOUT_TYPE_MEDIA",Xa:"core"};return{layoutId:A,layoutType:"LAYOUT_TYPE_MEDIA",Rb:na,xd:[new r_(b.j)],Tc:[],Pc:[],Uc:[],Yc:[],Xa:"core",Aa:new kY([new TY(d),new jZ(L),new kZ(P),new mZ(G),new nZ(I),S&&new UY(S),new MY(B),new RY(ca),new NY(E),new sZ(R),H&&new lZ(H),new fZ({current:null}),new pZ({}),new EZ(O)].filter(ATa)),vc:y(Aa), +adLayoutLoggingData:sa}}; +else throw new TypeError("Expected valid AdPlacementRenderer for DAI");var n=BTa(a,d,m);h.push(n);for(var p=g.r(l),q=p.next();!q.done;q=p.next()){var v=q.value,w=v(a,e);if(w instanceof BA)return w;h.push.apply(h,g.t(w))}}catch(y){return new BA(y,{errorMessage:y.message,AdPlacementRenderer:c,numberOfSurveyRenderers:CTa(c)})}return h}; +CTa=function(a){a=(a.renderer.linearAdSequenceRenderer||{}).linearAds;return null!=a&&a.length?a.filter(function(b){var c,d;return null!=(null==(c=b.instreamVideoAdRenderer)?void 0:null==(d=c.playerOverlay)?void 0:d.instreamSurveyAdRenderer)}).length:0}; +wTa=function(a,b,c,d,e,f){var h=b.config.adPlacementConfig,l=xTa(h),m=l.AO,n=l.DO;l=(b.renderer.linearAdSequenceRenderer||{}).linearAds;if(null==l||!l.length)throw new TypeError("Expected linear ads");var p=[],q={GS:m,HS:0,F4:p};l=l.map(function(w){return ETa(a,w,q,c,d,h,e,n)}).map(function(w,y){y=new LI(y,p,n); +return w(y)}); +var v=l.map(function(w){return w.JX}); +return{IX:FTa(c,a,m,v,h,zTa(b),d,n,f),P4:l.map(function(w){return w.O4})}}; +ETa=function(a,b,c,d,e,f,h,l){var m=yTa(b.instreamVideoAdRenderer),n=c.GS,p=c.HS,q=Math.min(n+1E3*m.videoLengthSeconds,l);c.GS=q;c.HS++;c.F4.push(m.videoLengthSeconds);var v,w,y=null==(v=b.instreamVideoAdRenderer)?void 0:null==(w=v.playerOverlay)?void 0:w.instreamSurveyAdRenderer;if("nPpU29QrbiU"===m.adVideoId&&null==y)throw new TypeError("Survey slate media has no survey overlay");return function(A){var B=m.playerVars;2<=A.u&&(B.slot_pos=A.j);B.autoplay="1";var E,G;B=m.videoLengthSeconds;var H=m.playerVars, +I=m.Rb,O=m.zN,L=m.instreamAdPlayerOverlayRenderer,P=m.adVideoId,S=null==(E=b.instreamVideoAdRenderer)?void 0:E.adLayoutLoggingData;E=null==(G=b.instreamVideoAdRenderer)?void 0:G.sodarExtensionData;G=iA(d.Va.get(),"LAYOUT_TYPE_MEDIA",a);var ca={layoutId:G,layoutType:"LAYOUT_TYPE_MEDIA",Xa:"adapter"};A={layoutId:G,layoutType:"LAYOUT_TYPE_MEDIA",Rb:I,xd:[],Tc:[],Pc:[],Uc:[],Yc:[],Xa:"adapter",Aa:new kY([new TY(h),new jZ(B),new kZ(H),new mZ(n),new nZ(q),new oZ(p),new fZ({current:null}),L&&new UY(L),new MY(f), +new RY(P),new NY(A),E&&new lZ(E),y&&new DZ(y),new pZ({}),new EZ(O)].filter(ATa)),vc:e(ca),adLayoutLoggingData:S};B=vTa(b.instreamVideoAdRenderer,f,h,A.layoutId,d);return{JX:A,O4:B}}}; +yTa=function(a){if(!a)throw new TypeError("Expected instream video ad renderer");if(!a.playerVars)throw new TypeError("Expected player vars in url encoded string");var b=lu(a.playerVars),c=Number(b.length_seconds);if(isNaN(c))throw new TypeError("Expected valid length seconds in player vars");var d=Number(a.trimmedMaxNonSkippableAdDurationMs);c=isNaN(d)?c:Math.min(c,d/1E3);d=a.playerOverlay||{};d=void 0===d.instreamAdPlayerOverlayRenderer?null:d.instreamAdPlayerOverlayRenderer;var e=b.video_id;e|| +(e=(e=a.externalVideoId)?e:void 0);if(!e)throw new TypeError("Expected valid video id in IVAR");return{playerVars:b,videoLengthSeconds:c,instreamAdPlayerOverlayRenderer:d,adVideoId:e,Rb:a.pings?OI(a.pings):new Map,zN:NI(a.pings)}}; +zTa=function(a){a=Number(a.driftRecoveryMs);return isNaN(a)||0>=a?null:a}; +xTa=function(a){var b=a.adTimeOffset||{};a=b.offsetEndMilliseconds;b=Number(b.offsetStartMilliseconds);if(isNaN(b))throw new TypeError("Expected valid start offset");a=Number(a);if(isNaN(a))throw new TypeError("Expected valid end offset");return{AO:b,DO:a}}; +HTa=function(a,b,c,d,e,f,h){var l=c.pings;return l?[GTa(a,f,e,function(m){var n=m.slotId;m=h(m);var p=c.adLayoutLoggingData;n=iA(b.Va.get(),"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",n);var q={layoutId:n,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",Xa:"core"};return{layoutId:n,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",Rb:OI(l),xd:[new s_(b.j,f)],Tc:[],Pc:[],Uc:[],Yc:[],Xa:"core",Aa:new kY([new MY(d)]),vc:m(q),adLayoutLoggingData:p}})]:new BA("VideoAdTrackingRenderer without VideoAdTracking pings filled.", +{videoAdTrackingRenderer:c})}; +JTa=function(a,b,c,d,e,f,h,l){a=ITa(a,c,f,h,d,function(m){var n=m.slotId;m=l(m);n=iA(b.Va.get(),"LAYOUT_TYPE_FORECASTING",n);var p={layoutId:n,layoutType:"LAYOUT_TYPE_FORECASTING",Xa:"core"},q=new Map,v=e.impressionUrls;v&&q.set("impression",v);return{layoutId:n,layoutType:"LAYOUT_TYPE_FORECASTING",Rb:q,xd:[new t_(b.j,n)],Tc:[],Pc:[],Uc:[],Yc:[],Xa:"core",Aa:new kY([new rZ(e),new MY(c)]),vc:m(p)}}); +return a instanceof BA?a:[a]}; +LTa=function(a,b,c,d,e,f,h,l){a=KTa(a,c,f,h,d,function(m,n){var p=m.slotId;m=l(m);var q=e.contentSupportedRenderer;q?q.textOverlayAdContentRenderer?(q=iA(b.Va.get(),"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",p),n=u_(b,q,"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",e,c,m,v_(b,n,p))):q.enhancedTextOverlayAdContentRenderer?(q=iA(b.Va.get(),"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",p),n=u_(b,q,"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",e,c,m,v_(b,n,p))):q.imageOverlayAdContentRenderer?(q=iA(b.Va.get(),"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY", +p),n=v_(b,n,p),n.push(new w_(b.j,q)),n=u_(b,q,"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY",e,c,m,n)):n=new MZ("InvideoOverlayAdRenderer without appropriate sub renderer"):n=new MZ("InvideoOverlayAdRenderer without contentSupportedRenderer");return n}); +return a instanceof BA?a:[a]}; +OTa=function(a,b,c,d,e,f,h,l,m){var n=Number(d.durationMilliseconds);return isNaN(n)?new BA("Expected valid duration for AdActionInterstitialRenderer."):function(p){return MTa(b,p.slotId,c,n,{impressionCommands:void 0,abandonCommands:d.abandonCommands?[{commandExecutorCommand:d.abandonCommands}]:void 0,completeCommands:d.completionCommands},d.skipPings?new Map([["skip",d.skipPings]]):new Map,h(p),function(q){return NTa(a,q,e,function(v,w){var y=v.slotId;v=h(v);y=iA(b.Va.get(),"LAYOUT_TYPE_ENDCAP", +y);return n_(b,y,w,c,v,"LAYOUT_TYPE_ENDCAP",[new XY(d),l],d.adLayoutLoggingData)})},m,f-1,d.adLayoutLoggingData,f)}}; +PTa=function(a,b,c,d){if(!c.playerVars)return new BA("No playerVars available in AdIntroRenderer.");var e=lu(c.playerVars);e.autoplay="1";return function(f){var h=f.slotId;f=d(f);h=iA(a.Va.get(),"LAYOUT_TYPE_MEDIA",h);var l={layoutId:h,layoutType:"LAYOUT_TYPE_MEDIA",Xa:"adapter"};return{Jt:{layoutId:h,layoutType:"LAYOUT_TYPE_MEDIA",Rb:new Map,xd:[],Tc:[],Pc:[],Uc:[],Yc:[],Xa:"adapter",Aa:new kY([new qZ({}),new MY(b),new fZ({current:null}),new kZ(e)]),vc:f(l)},hv:[new x_(a.j,h,["error"])],Jr:[],QB:[], +PB:[]}}}; +RTa=function(a,b,c,d,e,f,h,l,m){var n=l_(e);if(!mTa(e))return new BA("Received invalid InstreamSurveyAdRenderer for VOD composite survey.",{InstreamSurveyAdRenderer:e});if(0>=n)return new BA("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:e});var p=pTa(a,b,e,f,c,d,h);return p instanceof BA?p:function(q){return QTa(b,q.slotId,c,n,m_(e),h(q),p,l,m)}}; +STa=function(a,b,c,d,e,f,h,l){function m(q){return NTa(a,q,d,n)} +function n(q,v){var w=q.slotId;q=h(q);w=iA(b.Va.get(),"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",w);return n_(b,w,v,c,q,"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",[new YY(e),f],e.adLayoutLoggingData)} +if(!(!isNaN(Number(e.timeoutSeconds))&&e.text&&e.ctaButton&&e.ctaButton.buttonRenderer&&e.brandImage&&e.backgroundImage&&e.backgroundImage.thumbnailLandscapePortraitRenderer&&e.backgroundImage.thumbnailLandscapePortraitRenderer.landscape))return new BA("Received invalid SurveyTextInterstitialRenderer.",{SurveyTextInterstitialRenderer:e});var p=1E3*e.timeoutSeconds;return function(q){var v={impressionCommands:e.impressionCommands,completeCommands:e.timeoutCommands,skipCommands:e.dismissCommands},w= +h(q);q=y_(b,q.slotId,c,p,v,new Map,w,m);v=new cZ(q.FD);w=new OY(l);return{Jt:{layoutId:q.layoutId,layoutType:q.layoutType,Rb:q.Rb,xd:[],Tc:[],Pc:[],Uc:[],Yc:[],Xa:q.Xa,Aa:new kY([].concat(g.t(q.Yx),[v,w])),vc:q.vc,adLayoutLoggingData:q.adLayoutLoggingData},hv:[],Jr:q.Pc,QB:q.Uc,PB:q.Yc,Si:q.Si}}}; +VTa=function(a,b,c,d,e,f,h,l,m,n,p,q,v,w){d=hA(d,"SLOT_TYPE_PLAYER_BYTES");a=TTa(e,a,h,c,d,m,n);if(a instanceof BA)return a;var y;h=null==(y=lY(a.Aa,"metadata_type_fulfilled_layout"))?void 0:y.layoutId;if(!h)return new BA("Invalid adNotify layout");b=UTa(h,e,f,c,l,b,m,p,q,v,w);return b instanceof BA?b:[a].concat(g.t(b))}; +UTa=function(a,b,c,d,e,f,h,l,m,n,p){c=WTa(c,d,f,h,l,m,n,p);if(c instanceof BA)return c;a=XTa(b,a,h,e,c);return a instanceof BA?a:[].concat(g.t(a.Uh),[a.kt])}; +ZTa=function(a,b,c,d,e,f,h,l,m,n,p){b=WTa(b,c,e,f,l,m,n,p);if(b instanceof BA)return b;a=YTa(a,c,f,h,d,l.nf,b);return a instanceof BA?a:a.Uh.concat(a.kt)}; +WTa=function(a,b,c,d,e,f,h,l){var m=z_(c);return m instanceof MZ?new BA(m):function(n){var p=new LI(0,[m.vB]),q=$Ta(m.playerVars,m.ZR,e,l,p);n=f(n);var v=h.get(m.LA.externalVideoId);p=aUa(a,"core",m.LA,b,q,m.vB,d,p,n,v);return{layout:{layoutId:p.layoutId,layoutType:p.layoutType,Rb:p.Rb,xd:p.xd,Tc:p.Tc,Pc:p.Pc,Uc:p.Uc,Yc:p.Yc,Xa:p.Xa,Aa:new kY(p.fO),vc:p.vc,adLayoutLoggingData:p.adLayoutLoggingData},Uh:[]}}}; +z_=function(a){if(!a.playerVars)return new MZ("No playerVars available in InstreamVideoAdRenderer.");var b;if(null==a.elementId||null==a.playerVars||null==a.playerOverlay||null==(null==(b=a.playerOverlay)?void 0:b.instreamAdPlayerOverlayRenderer)||null==a.pings||null==a.externalVideoId)return new MZ("Received invalid VOD InstreamVideoAdRenderer",{instreamVideoAdRenderer:a});b=lu(a.playerVars);var c=Number(b.length_seconds);isNaN(c)&&(c=0,eA("Expected valid length seconds in player vars but got NaN")); +return{LA:a,playerVars:b,ZR:a.playerVars,vB:c}}; +$Ta=function(a,b,c,d,e){a.iv_load_policy=d;b=lu(b);if(b.cta_conversion_urls)try{a.cta_conversion_urls=JSON.parse(b.cta_conversion_urls)}catch(f){eA(f)}c.Ah&&(a.ctrl=c.Ah);c.Wh&&(a.ytr=c.Wh);c.Kn&&(a.ytrcc=c.Kn);c.isMdxPlayback&&(a.mdx="1");a.vvt&&(a.vss_credentials_token=a.vvt,c.Ej&&(a.vss_credentials_token_type=c.Ej),c.mdxEnvironment&&(a.mdx_environment=c.mdxEnvironment));2<=e.u&&(a.slot_pos=e.j);a.autoplay="1";return a}; +cUa=function(a,b,c,d,e,f,h,l,m,n,p,q,v,w,y){a=hA(a,"SLOT_TYPE_PLAYER_BYTES");d=TTa(b,h,d,e,a,n,p);if(d instanceof BA)return d;var A;h=null==(A=lY(d.Aa,"metadata_type_fulfilled_layout"))?void 0:A.layoutId;if(!h)return new BA("Invalid adNotify layout");b=bUa(h,b,c,e,f,m,l,n,q,v,w,y);return b instanceof BA?b:[d].concat(g.t(b))}; +bUa=function(a,b,c,d,e,f,h,l,m,n,p,q){c=dUa(b,c,d,f,h,l,m,n,p,q);eUa(f)?(d=fUa(b,a),a=hA(b.Va.get(),"SLOT_TYPE_IN_PLAYER"),f=iA(b.Va.get(),"LAYOUT_TYPE_SURVEY",a),l=A_(b,d,l),b=[].concat(g.t(l.Zb),[new B_(b.j,f)]),a=c({slotId:l.slotId,slotType:l.slotType,slotPhysicalPosition:l.slotPhysicalPosition,Mb:l.Mb,Vb:l.Vb,Zb:b,Xa:l.Xa},{slotId:a,layoutId:f}),e=a instanceof BA?a:{kt:Object.assign({},l,{Zb:b,Aa:new kY([new tZ(a.layout)]),adSlotLoggingData:e}),Uh:a.Uh}):e=XTa(b,a,l,e,c);return e instanceof BA? +e:[].concat(g.t(e.Uh),[e.kt])}; +hUa=function(a,b,c,d,e,f,h,l,m,n,p,q){b=dUa(a,b,c,e,f,h,m,n,p,q);eUa(e)?(c=gUa(a,c,h,l),c instanceof BA?d=c:(e=hA(a.Va.get(),"SLOT_TYPE_IN_PLAYER"),h=iA(a.Va.get(),"LAYOUT_TYPE_SURVEY",e),a=[].concat(g.t(c.Zb),[new B_(a.j,h)]),e=b({slotId:c.slotId,slotType:c.slotType,slotPhysicalPosition:c.slotPhysicalPosition,Xa:c.Xa,Mb:c.Mb,Vb:c.Vb,Zb:a},{slotId:e,layoutId:h}),d=e instanceof BA?e:{kt:{slotId:c.slotId,slotType:c.slotType,slotPhysicalPosition:c.slotPhysicalPosition,Mb:c.Mb,Vb:c.Vb,Zb:a,Xa:c.Xa,Aa:new kY([new tZ(e.layout)]), +adSlotLoggingData:d},Uh:e.Uh})):d=YTa(a,c,h,l,d,m.nf,b);return d instanceof BA?d:d.Uh.concat(d.kt)}; +eUa=function(a){a=g.r(a);for(var b=a.next();!b.done;b=a.next())if(b.value.instreamSurveyAdRenderer)return!0;return!1}; +dUa=function(a,b,c,d,e,f,h,l,m,n){return function(p,q){a:{b:{var v=[];for(var w=g.r(d),y=w.next();!y.done;y=w.next())if(y=y.value,y.instreamVideoAdRenderer){y=z_(y.instreamVideoAdRenderer);if(y instanceof MZ){v=new BA(y);break b}v.push(y.vB)}}if(v instanceof BA)q=v;else{w=0;y=[];for(var A=[],B=[],E=[],G=[],H=[],I=new gZ({current:null}),O=new QY({current:null}),L=!1,P=[],S=-1,ca=g.r(d),R=ca.next();!R.done;R=ca.next())if(R=R.value,R.adIntroRenderer){R=PTa(b,c,R.adIntroRenderer,l);if(R instanceof BA){q= +R;break a}R=R(p);y.push(R.Jt);A=[].concat(g.t(R.hv),g.t(A));B=[].concat(g.t(R.Jr),g.t(B));R.Si&&(P=[R.Si].concat(g.t(P)))}else if(R.instreamVideoAdRenderer){S=z_(R.instreamVideoAdRenderer);if(S instanceof MZ){q=new BA(S);break a}R=new LI(w,v);var na=b,sa=S.LA,Aa=$Ta(S.playerVars,S.ZR,h,n,R),wa=l(p),ta=m.get(S.LA.externalVideoId);Aa=aUa(na,"adapter",sa,c,Aa,S.vB,f,R,wa,ta);wa=Aa.Tc;ta=Aa.fO;sa.adPodSkipTarget&&0=l)return new BA("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:c});var m=new gZ({current:null}),n=pTa(a,b,c,m,d,f,h);return iUa(a,d,f,l,e,function(p,q){var v=p.slotId,w=m_(c);p=h(p);v=iA(b.Va.get(),"LAYOUT_TYPE_MEDIA_BREAK",v);var y={layoutId:v,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",Xa:"core"},A=n(v, +q);lY(A.Aa,"metadata_type_fulfilled_layout")||eA("Could not retrieve overlay layout ID during VodMediaBreakLayout for survey creation. This should never happen.");w=[new MY(d),new yZ(l),new BZ(w),m];return{YZ:{layoutId:v,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",Rb:new Map,xd:[new t_(b.j,v)],Tc:[new p_(b.j,q.layoutId)],Pc:[],Uc:[new q_(b.j,q.layoutId)],Yc:[],Xa:"core",Aa:new kY(w),vc:p(y)},pZ:A}})}; +kUa=function(a){if(!bTa(a))return!1;var b=a.adVideoStart.adMessageRenderer;return b?a.linearAd.instreamVideoAdRenderer&&DJ(b)?!0:(eA("Invalid Sandwich with notify"),!1):!1}; +lUa=function(a){if(null==a.linearAds)return!1;var b;a=null==(b=a.adStart)?void 0:b.adMessageRenderer;return a?DJ(a)?!0:(eA("Invalid LASR with notify"),!1):!1}; +mUa=function(a){if(!aTa(a))return!1;var b;a=null==(b=a.adStart)?void 0:b.adMessageRenderer;return a?DJ(a)?!0:(eA("Invalid LASR with notify"),!1):!1}; +C_=function(a,b,c,d,e,f,h,l){this.Va=a;this.Ab=b;this.jb=c;this.Da=d;this.vb=e;this.j=f;this.Ci=h;this.loadPolicy=void 0===l?1:l}; +Kua=function(a,b,c,d,e,f,h,l){var m=[];if(0===b.length&&0===c.length)return m;b=b.filter(h_);for(var n=c.filter(h_),p=new Map,q=new Map,v=g.r(b),w=v.next();!w.done;w=v.next())(w=w.value.renderer.remoteSlotsRenderer)&&w.hostElementId&&q.set(w.hostElementId,w);v=g.r(b);for(w=v.next();!w.done;w=v.next()){w=w.value;var y=nUa(a,p,w,d,e,f,h,q,l);y instanceof BA?eA(y,void 0,void 0,{renderer:w.renderer,config:w.config.adPlacementConfig,kind:w.config.adPlacementConfig.kind,contentCpn:d,daiEnabled:f}):m.push.apply(m, +g.t(y))}D_(a.Da.get())||(e=oUa(a,n,d,h,q,p),m.push.apply(m,g.t(e)));if(null===a.j||f&&!h.rO){var A,B,E;a=h.nf&&1===b.length&&"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===(null==(A=b[0].config)?void 0:null==(B=A.adPlacementConfig)?void 0:B.kind)&&(null==(E=b[0].renderer)?void 0:E.adBreakServiceRenderer);if(!m.length&&!a){var G,H,I,O;eA("Expected slots parsed from AdPlacementRenderers for DAI",void 0,void 0,{"AdPlacementRenderer count":b.length,contentCpn:d,"first APR kind":null==(G=b[0])?void 0:null== +(H=G.config)?void 0:null==(I=H.adPlacementConfig)?void 0:I.kind,renderer:null==(O=b[0])?void 0:O.renderer})}return m}A=c.filter(h_);m.push.apply(m,g.t(iTa(p,A,a.Ab.get(),a.j,d)));if(!m.length){var L,P,S,ca;eA("Expected slots parsed from AdPlacementRenderers",void 0,void 0,{"AdPlacementRenderer count":b.length,contentCpn:d,daiEnabled:f.toString(),"first APR kind":null==(L=b[0])?void 0:null==(P=L.config)?void 0:null==(S=P.adPlacementConfig)?void 0:S.kind,renderer:null==(ca=b[0])?void 0:ca.renderer})}return m}; +oUa=function(a,b,c,d,e,f){function h(v){return rY(a.vb.get(),v)} +var l=[];b=g.r(b);for(var m=b.next();!m.done;m=b.next()){m=m.value;var n=m.renderer,p=n.sandwichedLinearAdRenderer,q=n.linearAdSequenceRenderer;p&&kUa(p)?(q=p.adVideoStart.adMessageRenderer,p=p.linearAd.instreamVideoAdRenderer,i_(f,n,m.config.adPlacementConfig.kind),m=UTa(q.layout.layoutId,a.Ab.get(),a.jb.get(),m.config.adPlacementConfig,m.adSlotLoggingData,p,c,d,h,e,a.loadPolicy,a.Da.get()),m instanceof BA?eA(m):l.push.apply(l,g.t(m))):q&&(!q.adLayoutMetadata&&lUa(q)||q.adLayoutMetadata&&mUa(q))&& +(i_(f,n,m.config.adPlacementConfig.kind),m=bUa(q.adStart.adMessageRenderer.layout.layoutId,a.Ab.get(),a.jb.get(),m.config.adPlacementConfig,m.adSlotLoggingData,q.linearAds,g_(q.adLayoutMetadata)?q.adLayoutMetadata:void 0,c,d,h,e,a.loadPolicy,a.Da.get()),m instanceof BA?eA(m):l.push.apply(l,g.t(m)))}return l}; +nUa=function(a,b,c,d,e,f,h,l,m){function n(B){return rY(a.vb.get(),B)} +var p=c.renderer,q=c.config.adPlacementConfig,v=q.kind,w=c.adSlotLoggingData,y=h.rO&&"AD_PLACEMENT_KIND_START"===v;y=f&&!y;if(null!=p.adsEngagementPanelRenderer)return k_(b,c.elementId,v,p.adsEngagementPanelRenderer.shouldRemoveCommandTriggeredCompanions,p.adsEngagementPanelRenderer.isContentVideoEngagementPanel,p.adsEngagementPanelRenderer.adVideoId,p.adsEngagementPanelRenderer.associatedCompositePlayerBytesLayoutId,q,w,function(B,E,G,H){var I;if(null==(I=p.adsEngagementPanelRenderer)?0:I.shouldRemoveCommandTriggeredCompanions){I= +a.jb.get();var O=p.adsEngagementPanelRenderer,L=rY(a.vb.get(),B);B=E_(I,B.slotId,"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON",new EY(O),E,G,O.impressionPings,L,p.adsEngagementPanelRenderer.adLayoutLoggingData,H)}else H=a.jb.get(),I=p.adsEngagementPanelRenderer,O=rY(a.vb.get(),B),B=F_(H,B.slotId,"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON",new EY(I),E,G,I.impressionPings,O,p.adsEngagementPanelRenderer.adLayoutLoggingData);return B}),[]; +if(null!=p.actionCompanionAdRenderer)k_(b,c.elementId,v,p.actionCompanionAdRenderer.shouldRemoveCommandTriggeredCompanions,p.actionCompanionAdRenderer.isContentVideoCompanion,p.actionCompanionAdRenderer.adVideoId,p.actionCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,q,w,function(B,E,G,H){var I;if(null==(I=p.actionCompanionAdRenderer)?0:I.shouldRemoveCommandTriggeredCompanions){I=a.jb.get();var O=p.actionCompanionAdRenderer,L=rY(a.vb.get(),B);B=E_(I,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON", +new DY(O),E,G,O.impressionPings,L,p.actionCompanionAdRenderer.adLayoutLoggingData,H)}else H=a.jb.get(),I=p.actionCompanionAdRenderer,O=rY(a.vb.get(),B),B=F_(H,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",new DY(I),E,G,I.impressionPings,O,p.actionCompanionAdRenderer.adLayoutLoggingData);return B}); +else if(p.imageCompanionAdRenderer)k_(b,c.elementId,v,p.imageCompanionAdRenderer.shouldRemoveCommandTriggeredCompanions,p.imageCompanionAdRenderer.isContentVideoCompanion,p.imageCompanionAdRenderer.adVideoId,p.imageCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,q,w,function(B,E,G,H){var I;if(null==(I=p.imageCompanionAdRenderer)?0:I.shouldRemoveCommandTriggeredCompanions){I=a.jb.get();var O=p.imageCompanionAdRenderer,L=rY(a.vb.get(),B);B=E_(I,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_IMAGE", +new IY(O),E,G,O.impressionPings,L,p.imageCompanionAdRenderer.adLayoutLoggingData,H)}else H=a.jb.get(),I=p.imageCompanionAdRenderer,O=rY(a.vb.get(),B),B=F_(H,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_IMAGE",new IY(I),E,G,I.impressionPings,O,p.imageCompanionAdRenderer.adLayoutLoggingData);return B}); +else if(p.shoppingCompanionCarouselRenderer)k_(b,c.elementId,v,p.shoppingCompanionCarouselRenderer.shouldRemoveCommandTriggeredCompanions,p.shoppingCompanionCarouselRenderer.isContentVideoCompanion,p.shoppingCompanionCarouselRenderer.adVideoId,p.shoppingCompanionCarouselRenderer.associatedCompositePlayerBytesLayoutId,q,w,function(B,E,G,H){var I;if(null==(I=p.shoppingCompanionCarouselRenderer)?0:I.shouldRemoveCommandTriggeredCompanions){I=a.jb.get();var O=p.shoppingCompanionCarouselRenderer,L=rY(a.vb.get(), +B);B=E_(I,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_SHOPPING",new JY(O),E,G,O.impressionPings,L,p.shoppingCompanionCarouselRenderer.adLayoutLoggingData,H)}else H=a.jb.get(),I=p.shoppingCompanionCarouselRenderer,O=rY(a.vb.get(),B),B=F_(H,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_SHOPPING",new JY(I),E,G,I.impressionPings,O,p.shoppingCompanionCarouselRenderer.adLayoutLoggingData);return B}); +else if(p.adBreakServiceRenderer){if(!eTa(c))return[];if("AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"!==v)return dTa(a.Ab.get(),q,w,c.renderer.adBreakServiceRenderer,d,e,f);if(!a.Ci)return new BA("Received AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED with no CuePointOpportunityAdapter set for interface");h.nf||eA("Received non-live cue point triggered AdBreakServiceRenderer",void 0,void 0,{kind:v,adPlacementConfig:q,daiEnabledForContentVideo:String(f),isServedFromLiveInfra:String(h.nf),clientPlaybackNonce:h.clientPlaybackNonce}); +pUa(a.Ci,{adPlacementRenderer:c,contentCpn:d,iO:e})}else{if(p.clientForecastingAdRenderer)return JTa(a.Ab.get(),a.jb.get(),q,w,p.clientForecastingAdRenderer,d,e,n);if(p.invideoOverlayAdRenderer)return LTa(a.Ab.get(),a.jb.get(),q,w,p.invideoOverlayAdRenderer,d,e,n);if((p.linearAdSequenceRenderer||p.instreamVideoAdRenderer)&&y)return DTa(a.Ab.get(),a.jb.get(),c,d,n,m);if(p.linearAdSequenceRenderer&&!y){i_(b,p,v);if(p.linearAdSequenceRenderer.adLayoutMetadata){if(!aTa(p.linearAdSequenceRenderer))return new BA("Received invalid LinearAdSequenceRenderer.")}else if(null== +p.linearAdSequenceRenderer.linearAds)return new BA("Received invalid LinearAdSequenceRenderer.");var A;if(null==(A=p.linearAdSequenceRenderer.adStart)?0:A.adMessageRenderer){b=p.linearAdSequenceRenderer.adStart.adMessageRenderer;if(!uCa(b))return new BA("Invalid AdMessageRenderer.");c=p.linearAdSequenceRenderer.linearAds;return cUa(a.Va.get(),a.Ab.get(),a.jb.get(),a.vb.get(),q,w,b,g_(p.linearAdSequenceRenderer.adLayoutMetadata)?p.linearAdSequenceRenderer.adLayoutMetadata:void 0,c,d,e,h,n,l,a.loadPolicy, +a.Da.get())}return hUa(a.Ab.get(),a.jb.get(),q,w,p.linearAdSequenceRenderer.linearAds,g_(p.linearAdSequenceRenderer.adLayoutMetadata)?p.linearAdSequenceRenderer.adLayoutMetadata:void 0,d,e,h,n,l,a.loadPolicy,a.Da.get())}if(!p.remoteSlotsRenderer||f){if(p.instreamVideoAdRenderer&&!y)return i_(b,p,v),ZTa(a.Ab.get(),a.jb.get(),q,w,p.instreamVideoAdRenderer,d,e,h,n,l,a.loadPolicy,a.Da.get());if(p.instreamSurveyAdRenderer)return jUa(a.Ab.get(),a.jb.get(),p.instreamSurveyAdRenderer,q,w,d,n);if(null!=p.sandwichedLinearAdRenderer)return bTa(p.sandwichedLinearAdRenderer)? +p.sandwichedLinearAdRenderer.adVideoStart.adMessageRenderer?(b=p.sandwichedLinearAdRenderer.adVideoStart.adMessageRenderer,uCa(b)?(c=p.sandwichedLinearAdRenderer.linearAd.instreamVideoAdRenderer)?VTa(b,c,q,a.Va.get(),a.Ab.get(),a.jb.get(),a.vb.get(),w,d,e,h,n,l,a.loadPolicy,a.Da.get()):new BA("Missing IVAR from Sandwich"):new BA("Invalid AdMessageRenderer.")):hUa(a.Ab.get(),a.jb.get(),q,w,[p.sandwichedLinearAdRenderer.adVideoStart,p.sandwichedLinearAdRenderer.linearAd],void 0,d,e,h,n,l,a.loadPolicy, +a.Da.get()):new BA("Received invalid SandwichedLinearAdRenderer.");if(null!=p.videoAdTrackingRenderer)return HTa(a.Ab.get(),a.jb.get(),p.videoAdTrackingRenderer,q,w,d,n)}}return[]}; +G_=function(a){g.K.call(this);this.j=a}; +Zz=function(a,b,c,d){a.j().Qi(b,d);c=c();a=a.j();H_(a.dc,"ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",b,d,c);b=g.r(c);for(c=b.next();!c.done;c=b.next())a:{d=a;c=c.value;KJ(d.dc,"ADS_CLIENT_EVENT_TYPE_SLOT_RECEIVED",c);KJ(d.dc,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",c);try{var e=d.j;if(g.fb(c.slotId))throw new BA("Slot ID was empty");if(KZ(e,c))throw new BA("Duplicate registration for slot.",{slotId:c.slotId,slotEntryTriggerType:c.Mb.triggerType});if(!e.Ee.Sn.has(c.slotType))throw new BA("No fulfillment adapter factory registered for slot of type: "+ +c.slotType);if(!e.Ee.Qo.has(c.slotType))throw new BA("No SlotAdapterFactory registered for slot of type: "+c.slotType);a_(e,"TRIGGER_CATEGORY_SLOT_ENTRY",c.Mb?[c.Mb]:[]);a_(e,"TRIGGER_CATEGORY_SLOT_FULFILLMENT",c.Vb);a_(e,"TRIGGER_CATEGORY_SLOT_EXPIRATION",c.Zb);var f=d.j,h=c.slotType+"_"+c.slotPhysicalPosition,l=WZ(f,h);if(KZ(f,c))throw new BA("Duplicate slots not supported");l.set(c.slotId,new WSa(c));f.j.set(h,l)}catch(S){eA(S,c,void 0,void 0,S.yr);break a}KZ(d.j,c).I=!0;try{var m=d.j,n=KZ(m,c), +p=c.Mb,q=m.Ee.Cj.get(p.triggerType);q&&(q.qk("TRIGGER_CATEGORY_SLOT_ENTRY",p,c,null),n.ra.set(p.triggerId,q));for(var v=g.r(c.Vb),w=v.next();!w.done;w=v.next()){var y=w.value,A=m.Ee.Cj.get(y.triggerType);A&&(A.qk("TRIGGER_CATEGORY_SLOT_FULFILLMENT",y,c,null),n.W.set(y.triggerId,A))}for(var B=g.r(c.Zb),E=B.next();!E.done;E=B.next()){var G=E.value,H=m.Ee.Cj.get(G.triggerType);H&&(H.qk("TRIGGER_CATEGORY_SLOT_EXPIRATION",G,c,null),n.V.set(G.triggerId,H))}var I=m.Ee.Sn.get(c.slotType).get().Se(m.B,c); +n.J=I;var O=m.Ee.Qo.get(c.slotType).get().Se(m.D,c);O.init();n.u=O}catch(S){eA(S,c,void 0,void 0,S.yr);HZ(d,c,!0);break a}KJ(d.dc,"ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",c);d.j.Th(c);for(var L=g.r(d.Md),P=L.next();!P.done;P=L.next())P.value.Th(c);PZ(d,c)}}; +I_=function(a,b,c,d){this.Uo=b;this.El=c;this.visible=d;this.triggerType="TRIGGER_TYPE_MEDIA_TIME_RANGE";this.triggerId=a(this.triggerType)}; +J_=function(a,b,c,d){g.K.call(this);var e=this;this.Qb=a;this.Ab=b;this.Tb=c;this.j=new Map;d.get().addListener(this);g.cf(this,function(){d.get().removeListener(e)})}; +Hua=function(a,b){var c=0x8000000000000;for(var d=0,e=g.r(b.Vb),f=e.next();!f.done;f=e.next())f=f.value,f instanceof I_?(c=Math.min(c,f.El.start),d=Math.max(d,f.El.end)):eA("Found unexpected fulfillment trigger for throttled slot.",b,null,{fulfillmentTrigger:f});c=new zo(c,d);d="throttledadcuerange:"+b.slotId;a.j.set(d,b);a.Tb.get().addCueRange(d,c.start,c.end,!1,a)}; +K_=function(){g.K.apply(this,arguments);this.lj=!0;this.yj=new Map;this.j=new Map}; +qUa=function(a,b){a=g.r(a.yj.values());for(var c=a.next();!c.done;c=a.next())if(c.value.layoutId===b)return!0;return!1}; +L_=function(a,b){a=g.r(a.j.values());for(var c=a.next();!c.done;c=a.next()){c=g.r(c.value);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.layoutId===b)return d}eA("Trying to retrieve an unknown layout",void 0,void 0,{isEmpty:String(g.fb(b)),layoutId:b})}; +B_=function(a,b){this.j=b;this.triggerType="TRIGGER_TYPE_CLOSE_REQUESTED";this.triggerId=a(this.triggerType)}; +x_=function(a,b,c){this.Df=b;this.j=c;this.triggerType="TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON";this.triggerId=a(this.triggerType)}; +o_=function(a,b){this.Df=b;this.triggerType="TRIGGER_TYPE_LAYOUT_ID_EXITED";this.triggerId=a(this.triggerType)}; +r_=function(a){this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED";this.triggerId=a(this.triggerType)}; +M_=function(a,b){this.j=b;this.slotType="SLOT_TYPE_PLAYER_BYTES";this.layoutType="LAYOUT_TYPE_MEDIA";this.triggerType="TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED";this.triggerId=a(this.triggerType)}; +N_=function(a,b){this.j=b;this.slotType="SLOT_TYPE_IN_PLAYER";this.triggerType="TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED";this.triggerId=a(this.triggerType)}; +t_=function(a,b){this.layoutId=b;this.triggerType="TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED";this.triggerId=a(this.triggerType)}; +s_=function(a,b){this.j=b;this.triggerType="TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID";this.triggerId=a(this.triggerType)}; +rUa=function(a,b){this.opportunityType="OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED";this.associatedSlotId=b;this.triggerType="TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED";this.triggerId=a(this.triggerType)}; +uTa=function(a){this.triggerType="TRIGGER_TYPE_PLAYBACK_MINIMIZED";this.triggerId=a(this.triggerType)}; +O_=function(a,b,c){this.layoutId=b;this.offsetMs=c;this.triggerType="TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER";this.triggerId=a(this.triggerType)}; +P_=function(a,b){this.layoutId=b;this.triggerType="TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME";this.triggerId=a(this.triggerType)}; +Q_=function(a,b,c){this.layoutId=b;this.offsetMs=c;this.triggerType="TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER";this.triggerId=a(this.triggerType)}; +p_=function(a,b){this.Df=b;this.triggerType="TRIGGER_TYPE_SKIP_REQUESTED";this.triggerId=a(this.triggerType)}; +q_=function(a,b){this.Df=b;this.triggerType="TRIGGER_TYPE_SURVEY_SUBMITTED";this.triggerId=a(this.triggerType)}; +w_=function(a,b){this.durationMs=45E3;this.Df=b;this.triggerType="TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER";this.triggerId=a(this.triggerType)}; +sUa=function(a){var b=[new bZ(a.Tw),new UY(a.instreamAdPlayerOverlayRenderer),new eZ(a.DR),new MY(a.adPlacementConfig),new jZ(a.videoLengthSeconds),new xZ(a.WI)];a.CN&&b.push(new QY(a.CN));return b}; +tUa=function(a,b,c,d,e,f){a=c.nI?c.nI:iA(f,"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",a);var h={layoutId:a,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Xa:b};return{layoutId:a,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Rb:new Map,xd:[new o_(function(l){return jA(f,l)},c.Tw)], +Tc:[],Pc:[],Uc:[],Yc:[],Xa:b,Aa:d,vc:e(h),adLayoutLoggingData:c.instreamAdPlayerOverlayRenderer.adLayoutLoggingData}}; +R_=function(a){var b=this;this.Va=a;this.j=function(c){return jA(b.Va.get(),c)}}; +uUa=function(a,b,c,d,e,f){c=new kY([new VY(c),new MY(d)]);b=iA(a.Va.get(),"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",b);d={layoutId:b,layoutType:"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",Xa:"core"};return{layoutId:b,layoutType:"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",Rb:new Map,xd:[new o_(function(h){return jA(a.Va.get(),h)},e)], +Tc:[],Pc:[],Uc:[],Yc:[],Xa:"core",Aa:c,vc:f(d),adLayoutLoggingData:void 0}}; +S_=function(a,b,c,d,e){var f=sUa(d);return tUa(b,c,d,new kY(f),e,a.Va.get())}; +vUa=function(a,b,c,d,e){var f=sUa(d);f.push(new KY(d.LW));f.push(new LY(d.NW));return tUa(b,c,d,new kY(f),e,a.Va.get())}; +E_=function(a,b,c,d,e,f,h,l,m,n){b=iA(a.Va.get(),c,b);var p={layoutId:b,layoutType:c,Xa:"core"},q=new Map;h&&q.set("impression",h);h=[new M_(a.j,e)];n&&h.push(new x_(a.j,n,["normal"]));return{layoutId:b,layoutType:c,Rb:q,xd:h,Tc:[],Pc:[],Uc:[],Yc:[],Xa:"core",Aa:new kY([d,new MY(f),new bZ(e)]),vc:l(p),adLayoutLoggingData:m}}; +F_=function(a,b,c,d,e,f,h,l,m){b=iA(a.Va.get(),c,b);var n={layoutId:b,layoutType:c,Xa:"core"},p=new Map;h&&p.set("impression",h);return{layoutId:b,layoutType:c,Rb:p,xd:[new t_(a.j,b),new M_(a.j,e)],Tc:[],Pc:[],Uc:[],Yc:[],Xa:"core",Aa:new kY([d,new MY(f),new bZ(e)]),vc:l(n),adLayoutLoggingData:m}}; +v_=function(a,b,c){var d=[];d.push(new N_(a.j,c));b&&d.push(b);return d}; +u_=function(a,b,c,d,e,f,h){var l={layoutId:b,layoutType:c,Xa:"core"};return{layoutId:b,layoutType:c,Rb:new Map,xd:h,Tc:[new B_(a.j,b)],Pc:[],Uc:[],Yc:[],Xa:"core",Aa:new kY([new HY(d),new MY(e)]),vc:f(l),adLayoutLoggingData:d.adLayoutLoggingData}}; +n_=function(a,b,c,d,e,f,h,l){var m={layoutId:b,layoutType:f,Xa:"core"};return{layoutId:b,layoutType:f,Rb:new Map,xd:[new o_(a.j,c)],Tc:[],Pc:[],Uc:[],Yc:[],Xa:"core",Aa:new kY([new MY(d)].concat(g.t(h))),vc:e(m),adLayoutLoggingData:l}}; +MTa=function(a,b,c,d,e,f,h,l,m,n,p,q){a=y_(a,b,c,d,e,f,h,l,p,q);b=a.Yx;c=new cZ(a.FD);d=a.Tc;0=.25*d||c)&&t1(a,"first_quartile"),(b>=.5*d||c)&&t1(a,"midpoint"),(b>=.75*d||c)&&t1(a,"third_quartile"),a=a.qa,b*=1E3,c=a.D())){for(;a.Ce&&h.Xw(p,e-d);return p}; +SVa=function(a,b){var c=lY(b.Aa,"metadata_type_sodar_extension_data");if(c)try{XUa(0,c)}catch(d){eA("Unexpected error when loading Sodar",a,b,{error:d})}}; +TVa=function(a,b,c,d,e,f){b2(a,b,new g.sJ(c,new g.$J),d,e,!1,f)}; +b2=function(a,b,c,d,e,f,h){f=void 0===f?!0:f;p1(c)&&q1(e,0,null)&&(!Z0(a,"impression")&&h&&h(),W0(a,"impression"));Z0(a,"impression")&&(g.uJ(c,4)&&!g.uJ(c,2)&&a.Mf("pause"),0>tJ(c,4)&&!(0>tJ(c,2))&&a.Mf("resume"),g.uJ(c,16)&&.5<=e&&a.Mf("seek"),f&&g.uJ(c,2)&&c2(a,c.state,b,d,e))}; +c2=function(a,b,c,d,e,f){if(Z0(a,"impression")){var h=1>=Math.abs(d-e);d2(a,b,h?d:e,c,d,f);h&&W0(a,"complete")}}; +d2=function(a,b,c,d,e,f){Y0(a,1E3*c);0>=e||0>=c||(null==b?0:g.W(b,16))||(null==b?0:g.W(b,32))||(q1(c,.25*e,d)&&(f&&!Z0(a,"first_quartile")&&f("first"),W0(a,"first_quartile")),q1(c,.5*e,d)&&(f&&!Z0(a,"midpoint")&&f("second"),W0(a,"midpoint")),q1(c,.75*e,d)&&(f&&!Z0(a,"third_quartile")&&f("third"),W0(a,"third_quartile")))}; +UVa=function(a,b){Z0(a,"impression")&&a.Mf(b?"fullscreen":"end_fullscreen")}; +VVa=function(a){Z0(a,"impression")&&a.Mf("clickthrough")}; +WVa=function(a){a.Mf("active_view_measurable")}; +XVa=function(a){Z0(a,"impression")&&!Z0(a,"seek")&&a.Mf("active_view_fully_viewable_audible_half_duration")}; +YVa=function(a){Z0(a,"impression")&&!Z0(a,"seek")&&a.Mf("active_view_viewable")}; +ZVa=function(a){Z0(a,"impression")&&!Z0(a,"seek")&&a.Mf("audio_audible")}; +$Va=function(a){Z0(a,"impression")&&!Z0(a,"seek")&&a.Mf("audio_measurable")}; +aWa=function(a,b,c,d,e,f,h,l,m,n,p,q){this.callback=a;this.slot=b;this.layout=c;this.De=d;this.j=e;this.Ba=f;this.zd=h;this.Db=l;this.ue=m;this.Da=n;this.Pa=p;this.Qa=q;this.UC=!0;this.Dc=this.u=null}; +bWa=function(a,b,c){var d;a.Pa.get().Qh("ads_qua","cpn."+lY(a.layout.Aa,"metadata_type_content_cpn")+";acpn."+(null==(d=a.Qa.get().Gf(2))?void 0:d.clientPlaybackNonce)+";qt."+b+";clr."+c)}; +cWa=function(a,b){var c,d,e;a.Pa.get().Qh("ads_imp","cpn."+lY(a.layout.Aa,"metadata_type_content_cpn")+";acpn."+(null==(c=a.Qa.get().Gf(2))?void 0:c.clientPlaybackNonce)+";clr."+b+";skp."+!!(null==(d=lY(a.layout.Aa,"metadata_type_instream_ad_player_overlay_renderer"))?0:null==(e=d.skipOrPreviewRenderer)?0:e.skipAdRenderer))}; +e2=function(a){return{enterMs:lY(a.Aa,"metadata_type_layout_enter_ms"),exitMs:lY(a.Aa,"metadata_type_layout_exit_ms")}}; +f2=function(a,b,c,d,e,f,h,l,m,n,p,q,v,w){Z1.call(this,a,b,c,d,e,h,l,m,n,q);this.zd=f;this.ue=p;this.Db=v;this.Da=w;this.Dc=this.u=null}; +dWa=function(a,b){var c;a.Pa.get().Qh("ads_imp","acpn."+(null==(c=a.Qa.get().Gf(2))?void 0:c.clientPlaybackNonce)+";clr."+b)}; +eWa=function(a,b,c){var d;a.Pa.get().Qh("ads_qua","cpn."+lY(a.layout.Aa,"metadata_type_content_cpn")+";acpn."+(null==(d=a.Qa.get().Gf(2))?void 0:d.clientPlaybackNonce)+";qt."+b+";clr."+c)}; +g2=function(a,b,c,d,e,f,h,l,m,n,p,q,v,w,y,A,B,E,G){this.gf=a;this.u=b;this.Qa=c;this.De=d;this.Ba=e;this.Pa=f;this.zd=h;this.Ie=l;this.Db=m;this.ue=n;this.oe=p;this.Tb=q;this.Nd=v;this.fd=w;this.df=y;this.Hb=A;this.qf=B;this.Da=E;this.j=G}; +h2=function(a){g.K.call(this);this.j=a;this.Lb=new Map}; +i2=function(a,b){for(var c=[],d=g.r(a.Lb.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger.j===b.layoutId&&c.push(e);c.length&&TZ(a.j(),c)}; +j2=function(a,b){g.K.call(this);var c=this;this.C=a;this.u=new Map;this.B=new Map;this.j=null;b.get().addListener(this);g.cf(this,function(){b.get().removeListener(c)}); +var d;this.j=(null==(d=b.get().Pr)?void 0:d.slotId)||null}; +fWa=function(a,b){var c=[];a=g.r(a.values());for(var d=a.next();!d.done;d=a.next())d=d.value,d.slot.slotId===b&&c.push(d);return c}; +k2=function(a){this.G=a}; +gWa=function(a,b,c,d,e){GI.call(this,"image-companion",a,b,c,d,e)}; +l2=function(a,b,c,d,e,f,h,l){b1.call(this,a,b,c,d);this.Pa=e;this.gf=f;this.J=l;this.lj=!0;this.C=null;this.D=lY(c.Aa,"metadata_type_linked_player_bytes_layout_id");this.gf().Md.add(this);a=lY(c.Aa,"metadata_type_ad_placement_config");this.I=new T0(c.Rb,this.Pa,a,c.layoutId)}; +hWa=function(){var a=["metadata_type_image_companion_ad_renderer","metadata_type_linked_player_bytes_layout_id"];U0().forEach(function(b){a.push(b)}); +return{me:a,yf:["LAYOUT_TYPE_COMPANION_WITH_IMAGE"]}}; +iWa=function(a,b,c,d,e){GI.call(this,"shopping-companion",a,b,c,d,e)}; +m2=function(a,b,c,d,e,f,h,l){b1.call(this,a,b,c,d);this.Pa=e;this.gf=f;this.J=l;this.lj=!0;this.C=null;this.D=lY(c.Aa,"metadata_type_linked_player_bytes_layout_id");this.gf().Md.add(this);a=lY(c.Aa,"metadata_type_ad_placement_config");this.I=new T0(c.Rb,this.Pa,a,c.layoutId)}; +jWa=function(){var a=["metadata_type_shopping_companion_carousel_renderer","metadata_type_linked_player_bytes_layout_id"];U0().forEach(function(b){a.push(b)}); +return{me:a,yf:["LAYOUT_TYPE_COMPANION_WITH_SHOPPING"]}}; +kWa=function(a,b,c,d,e){GI.call(this,"ads-engagement-panel",a,b,c,d,e)}; +n2=function(a,b,c,d,e,f,h,l){b1.call(this,a,b,c,d);this.Pa=e;this.gf=f;this.J=l;this.lj=!0;this.C=null;this.D=lY(c.Aa,"metadata_type_linked_player_bytes_layout_id");this.gf().Md.add(this);a=lY(c.Aa,"metadata_type_ad_placement_config");this.I=new T0(c.Rb,this.Pa,a,c.layoutId)}; +lWa=function(){var a=["metadata_type_ads_engagement_panel_renderer","metadata_type_linked_player_bytes_layout_id"];U0().forEach(function(b){a.push(b)}); +return{me:a,yf:["LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON"]}}; +mWa=function(a,b,c,d,e){this.Xb=a;this.Pa=b;this.gf=c;this.j=d;this.Db=e}; +o2=function(a,b,c){GI.call(this,"player-underlay",a,{},b,c);this.j=c}; +p2=function(a,b,c,d){b1.call(this,a,b,c,d)}; +nWa=function(a){this.Xb=a}; +oWa=function(a,b,c,d){GI.call(this,"survey-interstitial",a,b,c,d)}; +q2=function(a,b,c,d,e){b1.call(this,c,a,b,d);this.Pa=e;a=lY(b.Aa,"metadata_type_ad_placement_config");this.C=new T0(b.Rb,e,a,b.layoutId)}; +r2=function(a){return Math.round(a.width)+"x"+Math.round(a.height)}; +pWa=function(a,b,c){c=void 0===c?s2:c;c.widtha.width*a.height*.2)return{OE:3,MA:501,errorMessage:"ad("+r2(c)+") to container("+r2(a)+") ratio exceeds limit."};if(c.height>a.height/3-b)return{OE:3,MA:501,errorMessage:"ad("+r2(c)+") covers container("+r2(a)+") center."}}; +qWa=function(a,b){var c=lY(a.Aa,"metadata_type_ad_placement_config");return new T0(a.Rb,b,c,a.layoutId)}; +t2=function(a){return lY(a.Aa,"metadata_type_invideo_overlay_ad_renderer")}; +rWa=function(a,b,c,d){GI.call(this,"invideo-overlay",a,b,c,d);this.j=d}; +u2=function(a,b,c,d,e,f,h,l,m,n,p,q){b1.call(this,f,a,b,e);this.Pa=c;this.C=h;this.Ba=l;this.Hb=m;this.Da=n;this.I=p;this.D=q;this.N=qWa(b,c)}; +sWa=function(){var a=["metadata_type_invideo_overlay_ad_renderer"];U0().forEach(function(b){a.push(b)}); +return{me:a,yf:["LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY","LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY"]}}; +v2=function(a,b,c,d,e,f,h,l,m,n,p,q,v){b1.call(this,f,a,b,e);this.Pa=c;this.C=h;this.N=l;this.Ba=m;this.Hb=n;this.Da=p;this.I=q;this.D=v;this.V=qWa(b,c)}; +tWa=function(){for(var a=["metadata_type_invideo_overlay_ad_renderer"],b=g.r(U0()),c=b.next();!c.done;c=b.next())a.push(c.value);return{me:a,yf:["LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY"]}}; +w2=function(a){this.Ba=a;this.j=!1}; +uWa=function(a,b,c,d,e,f){b1.call(this,c,a,b,d);this.Ba=e;this.Da=f}; +vWa=function(a,b,c){GI.call(this,"survey",a,{},b,c)}; +wWa=function(a,b,c,d,e,f,h){b1.call(this,c,a,b,d);this.C=e;this.Ba=f;this.Da=h}; +xWa=function(a,b,c,d,e,f,h,l,m,n){this.Xb=a;this.Ba=b;this.Pa=c;this.C=d;this.Db=e;this.u=f;this.B=h;this.Hb=l;this.Da=m;this.j=n}; +x2=function(a){g.K.call(this);this.B=a;this.lj=!0;this.Lb=new Map;this.j=new Map;this.u=new Map}; +yWa=function(a,b){var c=[];if(b=a.j.get(b.layoutId)){b=g.r(b);for(var d=b.next();!d.done;d=b.next())(d=a.u.get(d.value.triggerId))&&c.push(d)}return c}; +zWa=function(a,b,c,d,e){g.K.call(this);var f=this;this.Va=Y(function(){return new gA}); +g.M(this,this.Va);this.jb=Y(function(){return new R_(f.Va)}); +g.M(this,this.jb);this.Cc=Y(function(){return new K_}); +g.M(this,this.Cc);this.Qb=Y(function(){return new G_(a)}); +g.M(this,this.Qb);this.Ab=Y(function(){return new e0(f.Va,f.jb,f.Da)}); +g.M(this,this.Ab);this.zd=Y(function(){return new k0}); +g.M(this,this.zd);this.df=Y(function(){return new HI(b.R())}); +g.M(this,this.df);this.Xb=Y(function(){return new T1(b)}); +g.M(this,this.Xb);this.Hb=Y(function(){return new e_(e)}); +g.M(this,this.Hb);this.Nd=Y(function(){return new TJ(b)}); +g.M(this,this.Nd);this.Tb=Y(function(){return new m0(b)}); +g.M(this,this.Tb);this.oe=Y(function(){return new W1(b)}); +g.M(this,this.oe);this.fd=Y(function(){return new n0(b)}); +g.M(this,this.fd);this.Da=Y(function(){return new o0(b)}); +g.M(this,this.Da);this.Qe=Y(function(){return new S1(d)}); +g.M(this,this.Qe);this.vb=Y(function(){return new sY(f.Da)}); +g.M(this,this.vb);this.Hd=Y(function(){return new C_(f.Va,f.Ab,f.jb,f.Da,f.vb,"SLOT_TYPE_ABOVE_FEED",f.Ci)}); +g.M(this,this.Hd);this.qf=Y(function(){return new X1(b)}); +g.M(this,this.qf);this.Be=Y(function(){return new Y1}); +g.M(this,this.Be);this.Xm=Y(function(){return new I0}); +g.M(this,this.Xm);this.Qa=Y(function(){return new D0(b,f.zd,f.Da)}); +g.M(this,this.Qa);this.dc=new j0(this.Da,this.vb,this.Qa);g.M(this,this.dc);this.Ie=Y(function(){return new V1(b,f.Da,f.Pa)}); +g.M(this,this.Ie);this.De=Y(function(){return new k2(b)}); +g.M(this,this.De);this.Ba=Y(function(){return new E0(b,f.Qa,f.Da)}); +g.M(this,this.Ba);this.ue=Y(function(){return new J0}); +this.Db=Y(function(){return new r0(f.Ba,b)}); +g.M(this,this.Db);this.Pa=Y(function(){return new w0(b,f.Cc,f.Db,f.Qa)}); +g.M(this,this.Pa);this.Yg=new C1(D1,y2,function(l,m,n,p){return S_(f.jb.get(),l,m,n,p)},this.Qb,this.Ab,this.jb,this.vb,this.Da,this.Qa); +g.M(this,this.Yg);this.Gc=new fA(this.Qb,this.Hd,c,this.Da,a,this.Qa,this.Ba);g.M(this,this.Gc);var h=new l0(b,this.Gc,this.Ba,this.Qa,this.Ie);this.uf=Y(function(){return h}); +this.lq=h;this.Ci=new B1(this.Qb,this.Ab,this.uf,this.Ie,this.Ba,this.Da,this.Pa,this.De);g.M(this,this.Ci);this.Ge=new J_(this.Qb,this.Ab,this.Tb,this.uf);g.M(this,this.Ge);this.Hc=new Yz(this.Qb,this.Ab,this.Hd,this.Qa,this.Ge,c);g.M(this,this.Hc);this.Pg=Y(function(){return new P0(f.Qe,f.jb,f.vb,f.Da,f.De)}); +g.M(this,this.Pg);this.ud=Y(function(){return new Q0}); +g.M(this,this.ud);this.Re=new I1(a,this.Xb);g.M(this,this.Re);this.wb=new J1(a);g.M(this,this.wb);this.Ir=new h2(a);g.M(this,this.Ir);this.hf=new K1(a,this.uf);g.M(this,this.hf);this.Yd=new M1(a,this.Tb,this.Ba,this.Qa);g.M(this,this.Yd);this.Ms=new j2(a,this.Qa);g.M(this,this.Ms);this.Zc=new O1(a);g.M(this,this.Zc);this.Vg=new P1(a);g.M(this,this.Vg);this.Lt=new x2(a);g.M(this,this.Lt);this.td=Y(function(){return new E1}); +g.M(this,this.td);this.Zg=Y(function(){return new F1(f.Ba)}); +g.M(this,this.Zg);this.yN=Y(function(){return new mWa(f.Xb,f.Pa,a,f.Cc,f.Db)}); +g.M(this,this.yN);this.Og=Y(function(){return new S0(f.Hc)}); +g.M(this,this.Og);this.Rg=Y(function(){return new $0(f.Pa,f.Zc,f.Db)}); +g.M(this,this.Rg);this.Xg=Y(function(){return new g2(a,f.Zc,f.Qa,f.De,f.Ba,f.Pa,f.zd,f.Ie,f.Db,f.ue,f.oe,f.Tb,f.Nd,f.fd,f.df,f.Hb,f.qf,f.Da,f.Cc)}); +g.M(this,this.Xg);this.CR=Y(function(){return new NVa(f.Ba,f.Pa,f.Da)}); +g.M(this,this.CR);this.jl=Y(function(){return new xWa(f.Xb,f.Ba,f.Pa,f.Cc,f.Db,f.Ir,f.Lt,f.Hb,f.Da,c)}); +g.M(this,this.jl);this.fT=Y(function(){return new nWa(f.Xb)}); +g.M(this,this.fT);this.nG=new Q1(a,this.Xm,this.Va);g.M(this,this.nG);this.yl=new R1(a,this.Be,this.vb,this.Qa,this.Va,this.Da);g.M(this,this.yl);this.Ee={Xs:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Hc],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Ci],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.Yg],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Gc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Ge]]),Sn:new Map([["SLOT_TYPE_AD_BREAK_REQUEST", +this.Pg],["SLOT_TYPE_ABOVE_FEED",this.ud],["SLOT_TYPE_FORECASTING",this.ud],["SLOT_TYPE_IN_PLAYER",this.ud],["SLOT_TYPE_PLAYER_BYTES",this.ud],["SLOT_TYPE_PLAYER_UNDERLAY",this.ud],["SLOT_TYPE_PLAYBACK_TRACKING",this.ud]]),Cj:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Re],["TRIGGER_TYPE_SURVEY_SUBMITTED",this.Re],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.wb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.wb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.wb], +["TRIGGER_TYPE_SLOT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.wb],["TRIGGER_TYPE_SLOT_ID_UNSCHEDULED",this.wb],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.wb],["TRIGGER_TYPE_CLOSE_REQUESTED",this.Ir],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hf],["TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER", +this.Yd],["TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER",this.Yd],["TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME",this.Yd],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Yd],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Yd],["TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED",this.Yd],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.Yd],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.Ms],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.Ms],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED", +this.Zc],["TRIGGER_TYPE_ON_SLOT_SELF_ENTER_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Vg],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER",this.Lt]]),Qo:new Map([["SLOT_TYPE_ABOVE_FEED",this.td],["SLOT_TYPE_AD_BREAK_REQUEST",this.td],["SLOT_TYPE_FORECASTING",this.td],["SLOT_TYPE_IN_PLAYER",this.td],["SLOT_TYPE_PLAYER_BYTES",this.Zg],["SLOT_TYPE_PLAYER_UNDERLAY",this.td],["SLOT_TYPE_PLAYBACK_TRACKING",this.td]]), +xo:new Map([["SLOT_TYPE_ABOVE_FEED",this.yN],["SLOT_TYPE_AD_BREAK_REQUEST",this.Og],["SLOT_TYPE_FORECASTING",this.Rg],["SLOT_TYPE_PLAYER_BYTES",this.Xg],["SLOT_TYPE_PLAYBACK_TRACKING",this.CR],["SLOT_TYPE_IN_PLAYER",this.jl],["SLOT_TYPE_PLAYER_UNDERLAY",this.fT]])};this.listeners=[this.Cc.get()];this.Ks={Hc:this.Hc,lm:this.Zc,Ao:this.Be.get(),oh:this.Da.get(),Wa:this.Hb.get(),wq:this.Ba.get(),Gc:this.Gc,il:this.Va.get(),zo:this.Xm.get(),Zj:this.Re,Mi:this.Cc.get(),xl:this.Qa.get()}}; +AWa=function(a,b,c,d,e,f,h,l,m,n){this.Xb=a;this.Ba=b;this.Pa=c;this.C=d;this.Db=e;this.u=f;this.B=h;this.Hb=l;this.Da=m;this.j=n}; +BWa=function(a,b,c,d,e){g.K.call(this);var f=this;this.Va=Y(function(){return new gA}); +g.M(this,this.Va);this.jb=Y(function(){return new R_(f.Va)}); +g.M(this,this.jb);this.Cc=Y(function(){return new K_}); +g.M(this,this.Cc);this.Qb=Y(function(){return new G_(a)}); +g.M(this,this.Qb);this.Ab=Y(function(){return new e0(f.Va,f.jb,f.Da)}); +g.M(this,this.Ab);this.zd=Y(function(){return new k0}); +g.M(this,this.zd);this.df=Y(function(){return new HI(b.R())}); +g.M(this,this.df);this.Xb=Y(function(){return new T1(b)}); +g.M(this,this.Xb);this.Hb=Y(function(){return new e_(e)}); +g.M(this,this.Hb);this.Nd=Y(function(){return new TJ(b)}); +g.M(this,this.Nd);this.Tb=Y(function(){return new m0(b)}); +g.M(this,this.Tb);this.oe=Y(function(){return new W1(b)}); +g.M(this,this.oe);this.fd=Y(function(){return new n0(b)}); +g.M(this,this.fd);this.Da=Y(function(){return new o0(b)}); +g.M(this,this.Da);this.Qe=Y(function(){return new S1(d)}); +g.M(this,this.Qe);this.vb=Y(function(){return new sY(f.Da)}); +g.M(this,this.vb);this.Hd=Y(function(){return new C_(f.Va,f.Ab,f.jb,f.Da,f.vb,null,f.Ci)}); +g.M(this,this.Hd);this.qf=Y(function(){return new X1(b)}); +g.M(this,this.qf);this.Be=Y(function(){return new Y1}); +g.M(this,this.Be);this.Xm=Y(function(){return new I0}); +g.M(this,this.Xm);this.Qa=Y(function(){return new D0(b,f.zd,f.Da)}); +g.M(this,this.Qa);this.dc=new j0(this.Da,this.vb,this.Qa);g.M(this,this.dc);this.Ie=Y(function(){return new V1(b,f.Da,f.Pa)}); +this.Ba=Y(function(){return new E0(b,f.Qa,f.Da)}); +g.M(this,this.Ba);this.Db=Y(function(){return new r0(f.Ba,b)}); +g.M(this,this.Db);this.Pa=Y(function(){return new w0(b,f.Cc,f.Db,f.Qa)}); +g.M(this,this.Pa);this.ue=Y(function(){return new J0}); +g.M(this,this.ue);this.Yg=new C1(D1,y2,function(l,m,n,p){return S_(f.jb.get(),l,m,n,p)},this.Qb,this.Ab,this.jb,this.vb,this.Da,this.Qa); +g.M(this,this.Yg);this.Gc=new fA(this.Qb,this.Hd,c,this.Da,a,this.Qa,this.Ba);g.M(this,this.Gc);var h=new l0(b,this.Gc,this.Ba,this.Qa,this.Ie);this.uf=Y(function(){return h}); +this.lq=h;this.Ci=new B1(this.Qb,this.Ab,this.uf,this.Ie,this.Ba,this.Da,this.Pa);g.M(this,this.Ci);this.Ge=new J_(this.Qb,this.Ab,this.Tb,this.uf);g.M(this,this.Ge);this.Hc=new Yz(this.Qb,this.Ab,this.Hd,this.Qa,this.Ge,c);g.M(this,this.Hc);this.Pg=Y(function(){return new P0(f.Qe,f.jb,f.vb,f.Da)}); +g.M(this,this.Pg);this.ud=Y(function(){return new Q0}); +g.M(this,this.ud);this.Re=new I1(a,this.Xb);g.M(this,this.Re);this.wb=new J1(a);g.M(this,this.wb);this.Ir=new h2(a);g.M(this,this.Ir);this.hf=new K1(a,this.uf);g.M(this,this.hf);this.Yd=new M1(a,this.Tb,this.Ba,this.Qa);g.M(this,this.Yd);this.Zc=new O1(a);g.M(this,this.Zc);this.Vg=new P1(a);g.M(this,this.Vg);this.Lt=new x2(a);g.M(this,this.Lt);this.td=Y(function(){return new E1}); +g.M(this,this.td);this.Zg=Y(function(){return new F1(f.Ba)}); +g.M(this,this.Zg);this.Og=Y(function(){return new S0(f.Hc)}); +g.M(this,this.Og);this.Rg=Y(function(){return new $0(f.Pa,f.Zc,f.Db)}); +g.M(this,this.Rg);this.jl=Y(function(){return new AWa(f.Xb,f.Ba,f.Pa,f.Cc,f.Db,f.Ir,f.Lt,f.Hb,f.Da,c)}); +g.M(this,this.jl);this.Xg=Y(function(){return new A1(a,f.Zc,f.Pa,f.Db,f.ue,f.oe,f.Qa,f.Ba,f.Tb,f.Nd,f.fd,f.df,f.Hb,f.qf,f.Da)}); +g.M(this,this.Xg);this.nG=new Q1(a,this.Xm,this.Va);g.M(this,this.nG);this.yl=new R1(a,this.Be,this.vb,this.Qa,this.Va,this.Da);g.M(this,this.yl);this.Ee={Xs:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Hc],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Ci],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.Yg],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Gc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Ge]]),Sn:new Map([["SLOT_TYPE_AD_BREAK_REQUEST", +this.Pg],["SLOT_TYPE_FORECASTING",this.ud],["SLOT_TYPE_IN_PLAYER",this.ud],["SLOT_TYPE_PLAYER_BYTES",this.ud]]),Cj:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Re],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.wb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.wb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY", +this.wb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.wb],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.wb],["TRIGGER_TYPE_CLOSE_REQUESTED",this.Ir],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hf],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Yd],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Yd],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.Yd],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_SLOT_SELF_ENTER_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID", +this.hf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Vg],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER",this.Lt]]),Qo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.td],["SLOT_TYPE_FORECASTING",this.td],["SLOT_TYPE_IN_PLAYER",this.td],["SLOT_TYPE_PLAYER_BYTES",this.Zg]]),xo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Og],["SLOT_TYPE_FORECASTING",this.Rg],["SLOT_TYPE_IN_PLAYER",this.jl],["SLOT_TYPE_PLAYER_BYTES",this.Xg]])};this.listeners=[this.Cc.get()];this.Ks={Hc:this.Hc,lm:null,Ao:this.Be.get(), +oh:this.Da.get(),Wa:this.Hb.get(),wq:this.Ba.get(),Gc:this.Gc,il:this.Va.get(),zo:this.Xm.get(),Zj:this.Re,Mi:this.Cc.get(),xl:this.Qa.get()}}; +CWa=function(a,b,c,d,e){g.K.call(this);var f=this;this.Va=Y(function(){return new gA}); +g.M(this,this.Va);this.jb=Y(function(){return new R_(f.Va)}); +g.M(this,this.jb);this.Cc=Y(function(){return new K_}); +g.M(this,this.Cc);this.Qb=Y(function(){return new G_(a)}); +g.M(this,this.Qb);this.Ab=Y(function(){return new e0(f.Va,f.jb,f.Da)}); +g.M(this,this.Ab);this.zd=Y(function(){return new k0}); +g.M(this,this.zd);this.df=Y(function(){return new HI(b.R())}); +g.M(this,this.df);this.Xb=Y(function(){return new T1(b)}); +g.M(this,this.Xb);this.Hb=Y(function(){return new e_(e)}); +g.M(this,this.Hb);this.Nd=Y(function(){return new TJ(b)}); +g.M(this,this.Nd);this.Tb=Y(function(){return new m0(b)}); +g.M(this,this.Tb);this.oe=Y(function(){return new W1(b)}); +g.M(this,this.oe);this.fd=Y(function(){return new n0(b)}); +g.M(this,this.fd);this.Da=Y(function(){return new o0(b)}); +g.M(this,this.Da);this.Qe=Y(function(){return new S1(d)}); +g.M(this,this.Qe);this.vb=Y(function(){return new sY(f.Da)}); +g.M(this,this.vb);this.Hd=Y(function(){return new C_(f.Va,f.Ab,f.jb,f.Da,f.vb,null,null)}); +g.M(this,this.Hd);this.qf=Y(function(){return new X1(b)}); +g.M(this,this.qf);this.Be=Y(function(){return new Y1}); +g.M(this,this.Be);this.Qa=Y(function(){return new D0(b,f.zd,f.Da)}); +g.M(this,this.Qa);this.dc=new j0(this.Da,this.vb,this.Qa);g.M(this,this.dc);this.Ba=Y(function(){return new E0(b,f.Qa,f.Da)}); +g.M(this,this.Ba);this.Db=Y(function(){return new r0(f.Ba,b)}); +g.M(this,this.Db);this.Pa=Y(function(){return new w0(b,f.Cc,f.Db,f.Qa)}); +g.M(this,this.Pa);this.ue=Y(function(){return new J0}); +g.M(this,this.ue);this.Yg=new C1(D1,y2,function(l,m,n,p){return S_(f.jb.get(),l,m,n,p)},this.Qb,this.Ab,this.jb,this.vb,this.Da,this.Qa); +g.M(this,this.Yg);this.Gc=new fA(this.Qb,this.Hd,c,this.Da,a,this.Qa,this.Ba);g.M(this,this.Gc);var h=new l0(b,this.Gc,this.Ba,this.Qa);this.uf=Y(function(){return h}); +this.lq=h;this.Ge=new J_(this.Qb,this.Ab,this.Tb,this.uf);g.M(this,this.Ge);this.Hc=new Yz(this.Qb,this.Ab,this.Hd,this.Qa,this.Ge,c);g.M(this,this.Hc);this.Pg=Y(function(){return new P0(f.Qe,f.jb,f.vb,f.Da)}); +g.M(this,this.Pg);this.ud=Y(function(){return new Q0}); +g.M(this,this.ud);this.Re=new I1(a,this.Xb);g.M(this,this.Re);this.wb=new J1(a);g.M(this,this.wb);this.hf=new K1(a,this.uf);g.M(this,this.hf);this.Yd=new M1(a,this.Tb,this.Ba,this.Qa);g.M(this,this.Yd);this.Zc=new O1(a);g.M(this,this.Zc);this.Vg=new P1(a);g.M(this,this.Vg);this.td=Y(function(){return new E1}); +g.M(this,this.td);this.Zg=Y(function(){return new F1(f.Ba)}); +g.M(this,this.Zg);this.Og=Y(function(){return new S0(f.Hc)}); +g.M(this,this.Og);this.Rg=Y(function(){return new $0(f.Pa,f.Zc,f.Db)}); +g.M(this,this.Rg);this.xR=Y(function(){return new i1(f.Xb,f.Ba,f.Pa,f.Cc,c)}); +g.M(this,this.xR);this.Xg=Y(function(){return new A1(a,f.Zc,f.Pa,f.Db,f.ue,f.oe,f.Qa,f.Ba,f.Tb,f.Nd,f.fd,f.df,f.Hb,f.qf,f.Da)}); +g.M(this,this.Xg);this.yl=new R1(a,this.Be,this.vb,this.Qa,this.Va,this.Da);g.M(this,this.yl);this.Ee={Xs:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Hc],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.Yg],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Gc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Ge]]),Sn:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Pg],["SLOT_TYPE_FORECASTING",this.ud],["SLOT_TYPE_IN_PLAYER",this.ud],["SLOT_TYPE_PLAYER_BYTES", +this.ud]]),Cj:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Re],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.wb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.wb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.wb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED", +this.hf],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Yd],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Yd],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_SLOT_SELF_ENTER_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Vg]]),Qo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.td],["SLOT_TYPE_ABOVE_FEED",this.td],["SLOT_TYPE_FORECASTING",this.td],["SLOT_TYPE_IN_PLAYER",this.td],["SLOT_TYPE_PLAYER_BYTES", +this.Zg]]),xo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Og],["SLOT_TYPE_FORECASTING",this.Rg],["SLOT_TYPE_IN_PLAYER",this.xR],["SLOT_TYPE_PLAYER_BYTES",this.Xg]])};this.listeners=[this.Cc.get()];this.Ks={Hc:this.Hc,lm:null,Ao:this.Be.get(),oh:this.Da.get(),Wa:this.Hb.get(),wq:this.Ba.get(),Gc:this.Gc,il:this.Va.get(),zo:null,Zj:this.Re,Mi:this.Cc.get(),xl:this.Qa.get()}}; +DWa=function(a,b,c,d,e){g.K.call(this);var f=this;this.Va=Y(function(){return new gA}); +g.M(this,this.Va);this.jb=Y(function(){return new R_(f.Va)}); +g.M(this,this.jb);this.Cc=Y(function(){return new K_}); +g.M(this,this.Cc);this.Qb=Y(function(){return new G_(a)}); +g.M(this,this.Qb);this.Ab=Y(function(){return new e0(f.Va,f.jb,f.Da)}); +g.M(this,this.Ab);this.zd=Y(function(){return new k0}); +g.M(this,this.zd);this.df=Y(function(){return new HI(b.R())}); +g.M(this,this.df);this.Xb=Y(function(){return new T1(b)}); +g.M(this,this.Xb);this.Hb=Y(function(){return new e_(e)}); +g.M(this,this.Hb);this.Nd=Y(function(){return new TJ(b)}); +g.M(this,this.Nd);this.Tb=Y(function(){return new m0(b)}); +g.M(this,this.Tb);this.oe=Y(function(){return new W1(b)}); +g.M(this,this.oe);this.fd=Y(function(){return new n0(b)}); +g.M(this,this.fd);this.Da=Y(function(){return new o0(b)}); +g.M(this,this.Da);this.Qe=Y(function(){return new S1(d)}); +g.M(this,this.Qe);this.vb=Y(function(){return new sY(f.Da)}); +g.M(this,this.vb);this.Hd=Y(function(){return new C_(f.Va,f.Ab,f.jb,f.Da,f.vb,null,null)}); +g.M(this,this.Hd);this.qf=Y(function(){return new X1(b)}); +g.M(this,this.qf);this.Be=Y(function(){return new Y1}); +g.M(this,this.Be);this.Qa=Y(function(){return new D0(b,f.zd,f.Da)}); +g.M(this,this.Qa);this.dc=new j0(this.Da,this.vb,this.Qa);g.M(this,this.dc);this.Ba=Y(function(){return new E0(b,f.Qa,f.Da)}); +g.M(this,this.Ba);this.Db=Y(function(){return new r0(f.Ba,b)}); +g.M(this,this.Db);this.Pa=Y(function(){return new w0(b,f.Cc,f.Db,f.Qa)}); +g.M(this,this.Pa);this.ue=Y(function(){return new J0}); +g.M(this,this.ue);this.Yg=new C1(D1,y2,function(l,m,n,p){return S_(f.jb.get(),l,m,n,p)},this.Qb,this.Ab,this.jb,this.vb,this.Da,this.Qa); +g.M(this,this.Yg);this.Gc=new fA(this.Qb,this.Hd,c,this.Da,a,this.Qa,this.Ba);g.M(this,this.Gc);var h=new l0(b,this.Gc,this.Ba,this.Qa);this.uf=Y(function(){return h}); +this.lq=h;this.Ge=new J_(this.Qb,this.Ab,this.Tb,this.uf);g.M(this,this.Ge);this.Hc=new Yz(this.Qb,this.Ab,this.Hd,this.Qa,this.Ge,c);g.M(this,this.Hc);this.Pg=Y(function(){return new P0(f.Qe,f.jb,f.vb,f.Da)}); +g.M(this,this.Pg);this.ud=Y(function(){return new Q0}); +g.M(this,this.ud);this.Re=new I1(a,this.Xb);g.M(this,this.Re);this.wb=new J1(a);g.M(this,this.wb);this.hf=new K1(a,this.uf);g.M(this,this.hf);this.Yd=new M1(a,this.Tb,this.Ba,this.Qa);g.M(this,this.Yd);this.Zc=new O1(a);g.M(this,this.Zc);this.Vg=new P1(a);g.M(this,this.Vg);this.td=Y(function(){return new E1}); +g.M(this,this.td);this.Zg=Y(function(){return new F1(f.Ba)}); +g.M(this,this.Zg);this.Og=Y(function(){return new S0(f.Hc)}); +g.M(this,this.Og);this.Rg=Y(function(){return new $0(f.Pa,f.Zc,f.Db)}); +g.M(this,this.Rg);this.jl=Y(function(){return new i1(f.Xb,f.Ba,f.Pa,f.Cc,c)}); +g.M(this,this.jl);this.Xg=Y(function(){return new A1(a,f.Zc,f.Pa,f.Db,f.ue,f.oe,f.Qa,f.Ba,f.Tb,f.Nd,f.fd,f.df,f.Hb,f.qf,f.Da)}); +g.M(this,this.Xg);this.yl=new R1(a,this.Be,this.vb,this.Qa,this.Va,this.Da);g.M(this,this.yl);this.Ee={Xs:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Hc],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.Yg],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Gc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Ge]]),Sn:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Pg],["SLOT_TYPE_FORECASTING",this.ud],["SLOT_TYPE_IN_PLAYER",this.ud],["SLOT_TYPE_PLAYER_BYTES", +this.ud]]),Cj:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Re],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.wb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.wb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.wb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED", +this.hf],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Yd],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_SLOT_SELF_ENTER_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Vg]]),Qo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.td],["SLOT_TYPE_FORECASTING",this.td],["SLOT_TYPE_IN_PLAYER",this.td],["SLOT_TYPE_PLAYER_BYTES",this.Zg]]),xo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Og],["SLOT_TYPE_FORECASTING", +this.Rg],["SLOT_TYPE_IN_PLAYER",this.jl],["SLOT_TYPE_PLAYER_BYTES",this.Xg]])};this.listeners=[this.Cc.get()];this.Ks={Hc:this.Hc,lm:null,Ao:this.Be.get(),oh:this.Da.get(),Wa:this.Hb.get(),wq:this.Ba.get(),Gc:this.Gc,il:this.Va.get(),zo:null,Zj:this.Re,Mi:this.Cc.get(),xl:this.Qa.get()}}; +z2=function(a,b,c,d,e,f,h,l,m){g1.call(this,a,b,c,d,e,f,h,m);this.Sk=l}; +EWa=function(){var a=jVa();a.me.push("metadata_type_ad_info_ad_metadata");return a}; +FWa=function(a,b,c,d,e,f){this.Xb=a;this.Ba=b;this.Pa=c;this.u=d;this.Sk=e;this.j=f}; +GWa=function(a,b,c,d,e){g.K.call(this);var f=this;this.Va=Y(function(){return new gA}); +g.M(this,this.Va);this.jb=Y(function(){return new R_(f.Va)}); +g.M(this,this.jb);this.Cc=Y(function(){return new K_}); +g.M(this,this.Cc);this.Qb=Y(function(){return new G_(a)}); +g.M(this,this.Qb);this.Ab=Y(function(){return new e0(f.Va,f.jb,f.Da)}); +g.M(this,this.Ab);this.zd=Y(function(){return new k0}); +g.M(this,this.zd);this.Sk=Y(function(){return new LVa(b)}); +g.M(this,this.Sk);this.df=Y(function(){return new HI(b.R())}); +g.M(this,this.df);this.Xb=Y(function(){return new T1(b)}); +g.M(this,this.Xb);this.Hb=Y(function(){return new e_(e)}); +g.M(this,this.Hb);this.Nd=Y(function(){return new TJ(b)}); +g.M(this,this.Nd);this.Tb=Y(function(){return new m0(b)}); +g.M(this,this.Tb);this.oe=Y(function(){return new W1(b)}); +g.M(this,this.oe);this.fd=Y(function(){return new n0(b)}); +g.M(this,this.fd);this.Da=Y(function(){return new o0(b)}); +g.M(this,this.Da);this.Qe=Y(function(){return new S1(d)}); +g.M(this,this.Qe);this.vb=Y(function(){return new sY(f.Da)}); +g.M(this,this.vb);this.Hd=Y(function(){return new C_(f.Va,f.Ab,f.jb,f.Da,f.vb,null,null)}); +g.M(this,this.Hd);this.qf=Y(function(){return new X1(b)}); +g.M(this,this.qf);this.Be=Y(function(){return new Y1}); +g.M(this,this.Be);this.Qa=Y(function(){return new D0(b,f.zd,f.Da)}); +g.M(this,this.Qa);this.dc=new j0(this.Da,this.vb,this.Qa);g.M(this,this.dc);this.Ba=Y(function(){return new E0(b,f.Qa,f.Da)}); +g.M(this,this.Ba);this.Db=Y(function(){return new r0(f.Ba,b)}); +g.M(this,this.Db);this.Pa=Y(function(){return new w0(b,f.Cc,f.Db,f.Qa)}); +g.M(this,this.Pa);this.ue=Y(function(){return new J0}); +g.M(this,this.ue);this.Yg=new C1(yVa,y2,function(l,m,n,p){return vUa(f.jb.get(),l,m,n,p)},this.Qb,this.Ab,this.jb,this.vb,this.Da,this.Qa); +g.M(this,this.Yg);this.Gc=new fA(this.Qb,this.Hd,c,this.Da,a,this.Qa,this.Ba);g.M(this,this.Gc);var h=new l0(b,this.Gc,this.Ba,this.Qa);this.uf=Y(function(){return h}); +this.lq=h;this.Ge=new J_(this.Qb,this.Ab,this.Tb,this.uf);g.M(this,this.Ge);this.Hc=new Yz(this.Qb,this.Ab,this.Hd,this.Qa,this.Ge,c);g.M(this,this.Hc);this.Pg=Y(function(){return new P0(f.Qe,f.jb,f.vb,f.Da)}); +g.M(this,this.Pg);this.ud=Y(function(){return new Q0}); +g.M(this,this.ud);this.Re=new I1(a,this.Xb);g.M(this,this.Re);this.wb=new J1(a);g.M(this,this.wb);this.hf=new K1(a,this.uf);g.M(this,this.hf);this.Yd=new M1(a,this.Tb,this.Ba,this.Qa);g.M(this,this.Yd);this.Zc=new O1(a);g.M(this,this.Zc);this.Vg=new P1(a);g.M(this,this.Vg);this.td=Y(function(){return new E1}); +g.M(this,this.td);this.Zg=Y(function(){return new F1(f.Ba)}); +g.M(this,this.Zg);this.Og=Y(function(){return new S0(f.Hc)}); +g.M(this,this.Og);this.Rg=Y(function(){return new $0(f.Pa,f.Zc,f.Db)}); +g.M(this,this.Rg);this.Xg=Y(function(){return new A1(a,f.Zc,f.Pa,f.Db,f.ue,f.oe,f.Qa,f.Ba,f.Tb,f.Nd,f.fd,f.df,f.Hb,f.qf,f.Da)}); +g.M(this,this.Xg);this.xT=Y(function(){return new FWa(f.Xb,f.Ba,f.Pa,f.Cc,f.Sk,c)}); +g.M(this,this.xT);this.yl=new R1(a,this.Be,this.vb,this.Qa,this.Va,this.Da);g.M(this,this.yl);this.Ee={Xs:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Hc],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.Yg],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Gc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Ge]]),Sn:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Pg],["SLOT_TYPE_FORECASTING",this.ud],["SLOT_TYPE_IN_PLAYER",this.ud],["SLOT_TYPE_PLAYER_BYTES", +this.ud]]),Cj:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Re],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.wb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.wb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.wb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED", +this.hf],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Yd],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Yd],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_SLOT_SELF_ENTER_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Vg]]),Qo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.td],["SLOT_TYPE_FORECASTING",this.td],["SLOT_TYPE_IN_PLAYER",this.td],["SLOT_TYPE_PLAYER_BYTES",this.Zg]]),xo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST", +this.Og],["SLOT_TYPE_FORECASTING",this.Rg],["SLOT_TYPE_IN_PLAYER",this.xT],["SLOT_TYPE_PLAYER_BYTES",this.Xg]])};this.listeners=[this.Cc.get()];this.Ks={Hc:this.Hc,lm:null,Ao:this.Be.get(),oh:this.Da.get(),Wa:this.Hb.get(),wq:this.Ba.get(),Gc:this.Gc,il:this.Va.get(),zo:null,Zj:this.Re,Mi:this.Cc.get(),xl:this.Qa.get()}}; +HWa=function(a,b,c,d,e,f){this.Xb=a;this.Ba=b;this.Pa=c;this.u=d;this.Sk=e;this.j=f}; +IWa=function(a,b,c,d,e){g.K.call(this);var f=this;this.Va=Y(function(){return new gA}); +g.M(this,this.Va);this.jb=Y(function(){return new R_(f.Va)}); +g.M(this,this.jb);this.Cc=Y(function(){return new K_}); +g.M(this,this.Cc);this.Qb=Y(function(){return new G_(a)}); +g.M(this,this.Qb);this.Ab=Y(function(){return new e0(f.Va,f.jb,f.Da)}); +g.M(this,this.Ab);this.zd=Y(function(){return new k0}); +g.M(this,this.zd);this.Sk=Y(function(){return new LVa(b)}); +g.M(this,this.Sk);this.df=Y(function(){return new HI(b.R())}); +g.M(this,this.df);this.Xb=Y(function(){return new T1(b)}); +g.M(this,this.Xb);this.Hb=Y(function(){return new e_(e)}); +g.M(this,this.Hb);this.Nd=Y(function(){return new TJ(b)}); +g.M(this,this.Nd);this.Tb=Y(function(){return new m0(b)}); +g.M(this,this.Tb);this.oe=Y(function(){return new W1(b)}); +g.M(this,this.oe);this.fd=Y(function(){return new n0(b)}); +g.M(this,this.fd);this.Da=Y(function(){return new o0(b)}); +g.M(this,this.Da);this.Qe=Y(function(){return new S1(d)}); +g.M(this,this.Qe);this.vb=Y(function(){return new sY(f.Da)}); +g.M(this,this.vb);this.Hd=Y(function(){return new C_(f.Va,f.Ab,f.jb,f.Da,f.vb,null,f.Ci,3)}); +g.M(this,this.Hd);this.qf=Y(function(){return new X1(b)}); +g.M(this,this.qf);this.Be=Y(function(){return new Y1}); +g.M(this,this.Be);this.Qa=Y(function(){return new D0(b,f.zd,f.Da)}); +g.M(this,this.Qa);this.dc=new j0(this.Da,this.vb,this.Qa);g.M(this,this.dc);this.Ie=Y(function(){return new V1(b,f.Da,f.Pa)}); +g.M(this,this.Ie);this.De=Y(function(){return new k2(b)}); +g.M(this,this.De);this.Ba=Y(function(){return new E0(b,f.Qa,f.Da)}); +g.M(this,this.Ba);this.ue=Y(function(){return new J0}); +this.Db=Y(function(){return new r0(f.Ba,b)}); +g.M(this,this.Db);this.Pa=Y(function(){return new w0(b,f.Cc,f.Db,f.Qa)}); +g.M(this,this.Pa);this.Gc=new fA(this.Qb,this.Hd,c,this.Da,a,this.Qa,this.Ba);g.M(this,this.Gc);var h=new l0(b,this.Gc,this.Ba,this.Qa,this.Ie);this.uf=Y(function(){return h}); +this.lq=h;this.Yg=new C1(zVa,y2,function(l,m,n,p){return vUa(f.jb.get(),l,m,n,p)},this.Qb,this.Ab,this.jb,this.vb,this.Da,this.Qa); +g.M(this,this.Yg);this.Ci=new B1(this.Qb,this.Ab,this.uf,this.Ie,this.Ba,this.Da,this.Pa,this.De);g.M(this,this.Ci);this.Ge=new J_(this.Qb,this.Ab,this.Tb,this.uf);g.M(this,this.Ge);this.Hc=new Yz(this.Qb,this.Ab,this.Hd,this.Qa,this.Ge,c);g.M(this,this.Hc);this.Pg=Y(function(){return new P0(f.Qe,f.jb,f.vb,f.Da,f.De)}); +g.M(this,this.Pg);this.ud=Y(function(){return new Q0}); +g.M(this,this.ud);this.Re=new I1(a,this.Xb);g.M(this,this.Re);this.wb=new J1(a);g.M(this,this.wb);this.hf=new K1(a,this.uf);g.M(this,this.hf);this.Yd=new M1(a,this.Tb,this.Ba,this.Qa);g.M(this,this.Yd);this.Ms=new j2(a,this.Qa);g.M(this,this.Ms);this.Zc=new O1(a);g.M(this,this.Zc);this.Vg=new P1(a);g.M(this,this.Vg);this.td=Y(function(){return new E1}); +g.M(this,this.td);this.Zg=Y(function(){return new F1(f.Ba)}); +g.M(this,this.Zg);this.Og=Y(function(){return new S0(f.Hc)}); +g.M(this,this.Og);this.Rg=Y(function(){return new $0(f.Pa,f.Zc,f.Db)}); +g.M(this,this.Rg);this.Xg=Y(function(){return new g2(a,f.Zc,f.Qa,f.De,f.Ba,f.Pa,f.zd,f.Ie,f.Db,f.ue,f.oe,f.Tb,f.Nd,f.fd,f.df,f.Hb,f.qf,f.Da,f.Cc)}); +g.M(this,this.Xg);this.jl=Y(function(){return new HWa(f.Xb,f.Ba,f.Pa,f.Cc,f.Sk,c)}); +g.M(this,this.jl);this.yl=new R1(a,this.Be,this.vb,this.Qa,this.Va,this.Da);g.M(this,this.yl);this.Ee={Xs:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Hc],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Ci],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.Yg],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Gc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Ge]]),Sn:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Pg],["SLOT_TYPE_FORECASTING",this.ud], +["SLOT_TYPE_IN_PLAYER",this.ud],["SLOT_TYPE_PLAYER_BYTES",this.ud]]),Cj:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Re],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.wb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.wb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.wb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.wb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED", +this.wb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hf],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Yd],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Yd],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.Ms],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.Ms],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_SLOT_SELF_ENTER_REQUESTED",this.Zc],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Vg]]),Qo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST", +this.td],["SLOT_TYPE_FORECASTING",this.td],["SLOT_TYPE_IN_PLAYER",this.td],["SLOT_TYPE_PLAYER_BYTES",this.Zg]]),xo:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Og],["SLOT_TYPE_FORECASTING",this.Rg],["SLOT_TYPE_PLAYER_BYTES",this.Xg],["SLOT_TYPE_IN_PLAYER",this.jl]])};this.listeners=[this.Cc.get()];this.Ks={Hc:this.Hc,lm:null,Ao:this.Be.get(),oh:this.Da.get(),Wa:this.Hb.get(),wq:this.Ba.get(),Gc:this.Gc,il:this.Va.get(),zo:null,Zj:this.Re,Mi:this.Cc.get(),xl:this.Qa.get()}}; +KWa=function(a,b,c,d){g.K.call(this);var e=this;this.j=JWa(function(){return e.u},a,b,c,d); +g.M(this,this.j);this.u=(new c_(this.j)).B();g.M(this,this.u)}; +A2=function(a){return a.j.Ks}; +JWa=function(a,b,c,d,e){try{var f=b.R();if(g.lG(f))var h=new zWa(a,b,c,d,e);else if(g.oG(f))h=new BWa(a,b,c,d,e);else if("WEB_MUSIC_EMBEDDED_PLAYER"===aG(f))h=new DWa(a,b,c,d,e);else if(dG(f))h=new CWa(a,b,c,d,e);else if(g.VF(f))h=new GWa(a,b,c,d,e);else if(g.UF(f))h=new IWa(a,b,c,d,e);else throw new TypeError("Unknown web interface");return h}catch(l){return h=b.R(),eA("Unexpected interface not supported in Ads Control Flow",void 0,void 0,{platform:h.deviceParams.cplatform,interface:h.deviceParams.c, +P2a:h.deviceParams.cver,O2a:h.deviceParams.ctheme,N2a:h.deviceParams.cplayer,i3a:h.playerStyle}),new WUa(a,b,c,d,e)}}; +B2=function(a,b){this.j=a;this.lm=b}; +LWa=function(a){yL.call(this,a)}; +MWa=function(a,b,c,d,e,f){GL.call(this,a,b,{F:"div",L:"ytp-ad-timed-pie-countdown-container",S:[{F:"svg",L:"ytp-ad-timed-pie-countdown",T:{viewBox:"0 0 20 20"},S:[{F:"circle",L:"ytp-ad-timed-pie-countdown-background",T:{r:"10",cx:"10",cy:"10"}},{F:"circle",L:"ytp-ad-timed-pie-countdown-inner",T:{r:"5",cx:"10",cy:"10"}},{F:"circle",L:"ytp-ad-timed-pie-countdown-outer",T:{r:"10",cx:"10",cy:"10"}}]}]},"timed-pie-countdown",c,d,e,f);this.C=this.ya("ytp-ad-timed-pie-countdown-inner");this.B=Math.ceil(10* +Math.PI);this.hide()}; +NWa=function(a,b,c,d,e,f,h){$K.call(this,a,b,{F:"div",L:"ytp-ad-action-interstitial",T:{tabindex:"0"},S:[{F:"div",L:"ytp-ad-action-interstitial-background-container"},{F:"div",L:"ytp-ad-action-interstitial-slot",S:[{F:"div",L:"ytp-ad-action-interstitial-card",S:[{F:"div",L:"ytp-ad-action-interstitial-image-container"},{F:"div",L:"ytp-ad-action-interstitial-headline-container"},{F:"div",L:"ytp-ad-action-interstitial-description-container"},{F:"div",L:"ytp-ad-action-interstitial-action-button-container"}]}]}]}, +"ad-action-interstitial",c,d,e);this.LK=f;this.rE=h;this.navigationEndpoint=this.u=this.skipButton=this.B=this.actionButton=null;this.W=this.ya("ytp-ad-action-interstitial-image-container");this.D=new uL(this.api,this.bb,this.layoutId,this.j,this.Wa,"ytp-ad-action-interstitial-image");g.M(this,this.D);this.D.xa(this.W);this.Ha=this.ya("ytp-ad-action-interstitial-headline-container");this.N=new EL(this.api,this.bb,this.layoutId,this.j,this.Wa,"ytp-ad-action-interstitial-headline");g.M(this,this.N); +this.N.xa(this.Ha);this.Ea=this.ya("ytp-ad-action-interstitial-description-container");this.I=new EL(this.api,this.bb,this.layoutId,this.j,this.Wa,"ytp-ad-action-interstitial-description");g.M(this,this.I);this.I.xa(this.Ea);this.Ra=this.ya("ytp-ad-action-interstitial-background-container");this.va=new uL(this.api,this.bb,this.layoutId,this.j,this.Wa,"ytp-ad-action-interstitial-background",!0);g.M(this,this.va);this.va.xa(this.Ra);this.La=this.ya("ytp-ad-action-interstitial-action-button-container"); +this.C=new $y;g.M(this,this.C);this.hide()}; +OWa=function(a){var b=g.eh("html5-video-player");b&&g.N(b,"ytp-ad-display-override",a)}; +SWa=function(a,b,c,d,e){$K.call(this,a,b,{F:"div",L:"ytp-ad-overlay-slot",S:[{F:"div",L:"ytp-ad-overlay-container"}]},"invideo-overlay",c,d,e);this.N=[];this.eb=this.Ea=this.D=this.La=this.va=null;this.Ra=!1;this.I=null;this.W=0;b=this.ya("ytp-ad-overlay-container");this.Ha=new PL(b,45E3,6E3,.3,.4);g.M(this,this.Ha);this.C=PWa(this);g.M(this,this.C);this.C.xa(b);this.B=QWa(this);g.M(this,this.B);this.B.xa(b);this.u=RWa(this);g.M(this,this.u);this.u.xa(b);a.K("web_rounded_containers")&&g.ho(b,"ytp-rounded-overlay-ad"); +this.hide()}; +PWa=function(a){var b=new g.ZK({F:"div",L:"ytp-ad-text-overlay",S:[{F:"div",L:"ytp-ad-overlay-ad-info-button-container"},{F:"div",L:"ytp-ad-overlay-close-container",S:[{F:"button",L:"ytp-ad-overlay-close-button",S:[nL(TWa)]}]},{F:"div",L:"ytp-ad-overlay-title",Z:"{{title}}"},{F:"div",L:"ytp-ad-overlay-desc",Z:"{{description}}"},{F:"div",Ca:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],Z:"{{displayUrl}}"}]});a.P(b.ya("ytp-ad-overlay-title"),"click",function(c){C2(a,b.element,c)}); +a.P(b.ya("ytp-ad-overlay-link"),"click",function(c){C2(a,b.element,c)}); +a.P(b.ya("ytp-ad-overlay-close-container"),"click",a.ek);b.hide();return b}; +QWa=function(a){var b=new g.ZK({F:"div",Ca:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],S:[{F:"div",L:"ytp-ad-overlay-ad-info-button-container"},{F:"div",L:"ytp-ad-overlay-close-container",S:[{F:"button",L:"ytp-ad-overlay-close-button",S:[nL(TWa)]}]},{F:"div",L:"ytp-ad-overlay-text-image",S:[{F:"img",T:{src:"{{imageUrl}}"}}]},{F:"div",L:"ytp-ad-overlay-title",Z:"{{title}}"},{F:"div",L:"ytp-ad-overlay-desc",Z:"{{description}}"},{F:"div",Ca:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"], +Z:"{{displayUrl}}"}]});a.P(b.ya("ytp-ad-overlay-title"),"click",function(c){C2(a,b.element,c)}); +a.P(b.ya("ytp-ad-overlay-link"),"click",function(c){C2(a,b.element,c)}); +a.P(b.ya("ytp-ad-overlay-close-container"),"click",a.ek);a.P(b.ya("ytp-ad-overlay-text-image"),"click",a.z2);b.hide();return b}; +RWa=function(a){var b=new g.ZK({F:"div",L:"ytp-ad-image-overlay",S:[{F:"div",L:"ytp-ad-overlay-ad-info-button-container"},{F:"div",L:"ytp-ad-overlay-close-container",S:[{F:"button",L:"ytp-ad-overlay-close-button",S:[nL(TWa)]}]},{F:"div",L:"ytp-ad-overlay-image",S:[{F:"img",T:{src:"{{imageUrl}}",width:"{{width}}",height:"{{height}}"}}]}]});a.P(b.ya("ytp-ad-overlay-image"),"click",function(c){C2(a,b.element,c)}); +a.P(b.ya("ytp-ad-overlay-close-container"),"click",a.ek);b.hide();return b}; +VWa=function(a,b){if(b){var c=b.adHoverTextButtonRenderer||null;if(null==c)g.qz(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else if(b=g.eh("video-ads ytp-ad-module")||null,null==b)g.qz(Error("Could not locate the root ads container element to attach the ad info dialog."));else if(a.Ea=new g.ZK({F:"div",L:"ytp-ad-overlay-ad-info-dialog-container"}),g.M(a,a.Ea),a.Ea.xa(b),b=new DL(a.api,a.bb,a.layoutId,a.j,a.Wa,a.Ea.element,!1),g.M(a,b),b.init(FI("ad-info-hover-text-button"), +c,a.macros),a.I){b.xa(a.I,0);b.subscribe("f",a.H_,a);b.subscribe("e",a.FJ,a);a.P(a.I,"click",a.I_);var d=g.eh("ytp-ad-button",b.element);a.P(d,"click",function(){var e,f;if(g.av(null==(e=c.button)?void 0:null==(f=e.buttonRenderer)?void 0:f.serviceEndpoint,UWa))a.Ra=2===a.api.getPlayerState(1),a.api.pauseVideo();else a.api.onAdUxClicked("ad-info-hover-text-button",a.layoutId)}); +a.eb=b}else g.qz(Error("Ad info button container within overlay ad was not present."))}else g.rz(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))}; +XWa=function(a,b){if(WWa(a,D2)||a.api.wf())return!1;var c=aL(b.title),d=aL(b.description);if(g.fb(c)||g.fb(d))return!1;a.Ai(a.C.element,b.trackingParams||null);a.C.Ja("title",aL(b.title));a.C.Ja("description",aL(b.description));a.C.Ja("displayUrl",aL(b.displayUrl));b.navigationEndpoint&&g.dc(a.N,b.navigationEndpoint);a.C.show();a.Ha.start();a.Ta(a.C.element,!0);a.P(a.C.element,"mouseover",function(){a.W++}); +return!0}; +YWa=function(a,b){if(WWa(a,D2)||a.api.wf())return!1;var c=aL(b.title),d=aL(b.description);if(g.fb(c)||g.fb(d))return!1;a.Ai(a.B.element,b.trackingParams||null);a.B.Ja("title",aL(b.title));a.B.Ja("description",aL(b.description));a.B.Ja("displayUrl",aL(b.displayUrl));a.B.Ja("imageUrl",MEa(b.image));b.navigationEndpoint&&g.dc(a.N,b.navigationEndpoint);a.La=b.imageNavigationEndpoint||null;a.B.show();a.Ha.start();a.Ta(a.B.element,!0);a.P(a.B.element,"mouseover",function(){a.W++}); +return!0}; +ZWa=function(a,b){if(a.api.wf())return!1;var c=NEa(b.image),d=c;c.widthdocument.documentMode)c=qg;else{var d=document;"function"===typeof HTMLTemplateElement&&(d=g.mh("TEMPLATE").content.ownerDocument);d=d.implementation.createHTMLDocument("").createElement("DIV");d.style.cssText=c;c=Aka(d.style)}b=eda(c,dda({"background-image":'url("'+b+'")'}));a.style.cssText=pg(b)}}; +oXa=function(a){var b=g.eh("html5-video-player");b&&g.N(b,"ytp-ad-display-override",a)}; +L2=function(a,b,c,d){yL.call(this,a);this.api=a;this.Wa=c;this.u={};this.J=b;a=new g.X({F:"div",Ca:["video-ads","ytp-ad-module"]});g.M(this,a);JF&&g.ho(a.element,"ytp-ads-tiny-mode");this.D=new TK(a.element);g.M(this,this.D);g.AN(this.api,a.element,4);LUa(d)&&(d=new g.X({F:"div",Ca:["ytp-ad-underlay"]}),g.M(this,d),this.B=new TK(d.element),g.M(this,this.B),g.AN(this.api,d.element,0));g.M(this,fFa())}; +pXa=function(a,b){a=g.Ef(a.u,b.id,null);null==a&&g.rz(Error("Component not found for element id: "+b.id));return a||null}; +qXa=function(a){g.bO.call(this,a);var b=this;this.u=this.bb=null;this.created=!1;this.lr=new zK(this.player);this.B=function(){function d(){return b.bb} +if(null!=b.u)return b.u;var e=mEa({Kr:a.getVideoData(1)});e=new JSa({MW:new B2(function(){return b.bb},A2(b.j).lm), +wr:e.vY(),tX:d,l_:d,Zj:A2(b.j).Zj,jk:e.QH(),xl:A2(b.j).xl,G:b.player,oh:A2(b.j).oh,Pa:b.j.j.Pa,Mi:A2(b.j).Mi,fd:b.j.j.fd});b.u=e.YV;return b.u}; +this.j=new KWa(this.player,this,this.lr,this.B);g.M(this,this.j);var c=a.R();!bG(c)||g.UF(c)||dG(c)||(g.M(this,new L2(a,function(){return b.bb},A2(this.j).Wa,A2(this.j).oh)),g.M(this,new LWa(a)))}; +rXa=function(a){a.created!==a.loaded&&eA("Created and loaded are out of sync")}; +sXa=function(a,b){b===a.Su&&(a.Su=void 0)}; +tXa=function(a){a.bb?A2(a.j).Gc.iI()||a.bb.iI()||A2(a.j).wq.Sr():eA("AdService is null when calling maybeUnlockPrerollIfReady")}; +uXa=function(a){a=g.r(A2(a.j).Mi.yj.keys());for(var b=a.next();!b.done;b=a.next())if(b=b.value,"SLOT_TYPE_PLAYER_BYTES"===b.slotType&&"core"===b.Xa)return!0;return!1}; +vXa=function(a){a=g.r(A2(a.j).Mi.yj.values());for(var b=a.next();!b.done;b=a.next())if("LAYOUT_TYPE_MEDIA_BREAK"===b.value.layoutType)return!0;return!1}; +Iua=function(a,b,c,d){c=void 0===c?"":c;d=void 0===d?"":d;var e=A2(a.j).oh,f=a.player.getVideoData(1),h=f&&f.getPlayerResponse()||{};h=h&&h.playerConfig&&h.playerConfig.daiConfig&&h.playerConfig.daiConfig.enableDai||!1;f=f&&f.nf()||!1;e=wXa(b,e,h,f,A2(a.j).il);Lua(A2(a.j).Hc,c,e.HD,b,d);a.bb&&0>>0)+"_",e=0;return b}); +fa("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;cb?-c:c}}); +fa("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991}); +fa("Array.prototype.entries",function(a){return a?a:function(){return Ba(this,function(b,c){return[b,c]})}}); +fa("Array.prototype.keys",function(a){return a?a:function(){return Ba(this,function(b){return b})}}); +fa("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}}); +fa("Object.setPrototypeOf",function(a){return a||ka}); +fa("Set",function(a){function b(c){this.j=new Map;if(c){c=g.r(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.j.size} +if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(g.r([c]));if(!d.has(c)||1!=d.size||d.add(c)!=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]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a; +b.prototype.add=function(c){c=0===c?0:c;this.j.set(c,c);this.size=this.j.size;return this}; +b.prototype.delete=function(c){c=this.j.delete(c);this.size=this.j.size;return c}; +b.prototype.clear=function(){this.j.clear();this.size=0}; +b.prototype.has=function(c){return this.j.has(c)}; +b.prototype.entries=function(){return this.j.entries()}; +b.prototype.values=function(){return this.j.values()}; +b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})}; +return b}); +fa("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l}; +var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h=e}}); +fa("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ca(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h=f}}); +fa("String.prototype.repeat",function(a){return a?a:function(b){var c=Ca(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); +fa("Array.prototype.values",function(a){return a?a:function(){return Ba(this,function(b,c){return c})}}); +fa("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}}); +fa("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));cc&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cc?Math.max(f+c,0):Math.min(c,f);d=0>d?Math.max(f+d,0):Math.min(d,f);e=0>e?Math.max(f+e,0):Math.min(e,f);if(cd;)--e in this?this[--c]=this[e]:delete this[--c];return this}}); +fa("Int8Array.prototype.copyWithin",Ea);fa("Uint8Array.prototype.copyWithin",Ea);fa("Uint8ClampedArray.prototype.copyWithin",Ea);fa("Int16Array.prototype.copyWithin",Ea);fa("Uint16Array.prototype.copyWithin",Ea);fa("Int32Array.prototype.copyWithin",Ea);fa("Uint32Array.prototype.copyWithin",Ea);fa("Float32Array.prototype.copyWithin",Ea);fa("Float64Array.prototype.copyWithin",Ea);fa("Number.parseInt",function(a){return a||parseInt}); +Ci=Ci||{};g.C=this||self;Qa="closure_uid_"+(1E9*Math.random()>>>0);naa=0;g.Xa(Za,Error);Za.prototype.name="CustomError";var yda;g.Xa(bb,Za);bb.prototype.name="AssertionError";var xe=void 0,we,Jba="undefined"!==typeof TextDecoder,taa,saa="undefined"!==typeof TextEncoder;var kb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},yaa=/&/g,zaa=//g,Baa=/"/g,Caa=/'/g,Daa=/\x00/g,xaa=/[\x00&<>"']/;var GXa=g.Ha("yt.config_.EXPERIMENTS_FLAGS.html5_enable_client_hints_override");var sb;if(null!=GXa&&GXa){var HXa=g.C.navigator;sb=HXa?HXa.userAgentData||null:null}else sb=null;var Maa,Qk,Nl;Maa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0); +for(var c=0;cc&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1}; +g.tc=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;fparseFloat(NXa)){MXa=String(PXa);break a}}MXa=NXa}var xc=MXa,Xaa={},QXa;if(g.C.document&&g.Dc){var RXa=Waa();QXa=RXa?RXa:parseInt(xc,10)||void 0}else QXa=void 0;var Yaa=QXa;var TF,xI;g.pB=Bb();TF=Jb()||vb("iPod");xI=vb("iPad");g.LF=Faa();g.bE=Cb();g.Zv=Fb()&&!Lb();var $aa={},Gc=null;var Hc="undefined"!==typeof Uint8Array,cba,Kc={};var dba;Oc.prototype.isEmpty=function(){return null==this.qd};var Wc="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol(void 0):void 0;var Qd,od=Object.freeze(Zc([])),SXa="undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.hasInstance;g.k=Pd.prototype;g.k.toJSON=function(){var a=this.pd;return Qd?a:kd(a,nba,oba)}; +g.k.clone=function(){var a=kd(this.pd,pba,hba);ad(a);Nd=a;a=new this.constructor(a);Nd=null;ae(a,this);return a}; +g.k.isMutable=function(){return!ed(this)}; +g.k.Xp=function(){return ed(this)}; +g.k.toString=function(){return this.pd.toString()}; +var Nd;var Eba,Bba;Eba="function"===typeof Uint8Array.prototype.slice;g.de=0;g.ee=0;Bba="function"===typeof BigInt;g.k=g.fe.prototype;g.k.init=function(a,b,c,d){d=void 0===d?{}:d;this.xB=void 0===d.xB?!1:d.xB;a&&(a=ce(a),this.u=a.buffer,this.D=a.Xp,this.C=b||0,this.B=void 0!==c?this.C+c:this.u.length,this.j=this.C)}; +g.k.clear=function(){this.u=null;this.D=!1;this.j=this.B=this.C=0;this.xB=!1}; +g.k.reset=function(){this.j=this.C}; +g.k.advance=function(a){ge(this,this.j+a)}; +g.k.hB=aa(0);var Gba=[];te.prototype.reset=function(){this.j.reset();this.B=this.j.j;this.u=this.C=-1}; +te.prototype.advance=function(a){this.j.advance(a)}; +var aU=[];var Mba;ze.prototype.length=function(){return this.j.length}; +ze.prototype.end=function(){var a=this.j;this.j=[];return a};g.u(Ie,Pd);Ie.prototype.GA=function(){return this}; +if(SXa){var TXa={};Object.defineProperties(Ie,(TXa[Symbol.hasInstance]=jba(function(){throw Error(void 0);}),TXa))};var Je,Ne,Me,Le,UXa,VXa,WXa,Q2,XXa,R2,YXa;Je=Symbol();Ne=Symbol();Me=Symbol();Le=Symbol();UXa=g.Se(function(a,b,c){if(1!==a.u)return!1;a=g.oe(a.j);wd(b,c,a,0);return!0},g.Te); +VXa=g.Se(function(a,b,c){if(0!==a.u)return!1;a=g.he(a.j);wd(b,c,a,0);return!0},g.Ue); +WXa=g.Se(function(a,b,c){if(0!==a.u)return!1;a=g.me(a.j);wd(b,c,a,0);return!0},g.Ve); +g.N2=g.Se(function(a,b,c){if(2!==a.u)return!1;g.D(b,c,g.ye(a));return!0},g.nca); +g.O2=g.Se(function(a,b,c,d,e){if(2!==a.u)return!1;g.ve(a,Jd(b,c,d),e);return!0},function(a,b,c,d,e){b=Cd(b,d,c); +if(null!=b)for(d=0;d>>0);return!0},function(a,b,c){b=g.md(b,c); +null!=b&&null!=b&&(g.Ge(a,c,0),Ae(a.j,b))}); +YXa=g.Se(function(a,b,c){if(0!==a.u)return!1;g.D(b,c,g.me(a.j));return!0},function(a,b,c){b=g.md(b,c); +null!=b&&(b=parseInt(b,10),g.Ge(a,c,0),Pba(a.j,b))});g.u(g.J,Ie);g.J.prototype.GA=function(){if(ed(this)){var a={WG:!0};var b=ed(this);if(b&&!a.WG)throw Error("copyRepeatedFields must be true for frozen messages");b||gba(this.pd);var c=new this.constructor;this.C&&(c.C=this.C.slice());for(var d=this.pd,e=0;e>>0);g.Xa(g.Uf,g.K);g.Uf.prototype[xca]=!0;g.k=g.Uf.prototype;g.k.addEventListener=function(a,b,c,d){g.Nf(this,a,b,c,d)}; +g.k.removeEventListener=function(a,b,c,d){Mca(this,a,b,c,d)}; +g.k.dispatchEvent=function(a){var b=this.Ha;if(b){var c=[];for(var d=1;b;b=b.Ha)c.push(b),++d}b=this.Cb;d=a.type||a;if("string"===typeof a)a=new g.df(a,b);else if(a instanceof g.df)a.target=a.target||b;else{var e=a;a=new g.df(d,b);g.If(a,e)}e=!0;if(c)for(var f=c.length-1;!a.u&&0<=f;f--){var h=a.currentTarget=c[f];e=Vf(h,d,!0,a)&&e}a.u||(h=a.currentTarget=b,e=Vf(h,d,!0,a)&&e,a.u||(e=Vf(h,d,!1,a)&&e));if(c)for(f=0;!a.u&&fl?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.j.cookie=a+"="+b+c+h+l+d+(null!=e?";samesite="+ +e:"")}; +g.k.get=function(a,b){for(var c=a+"=",d=(this.j.cookie||"").split(";"),e=0,f;ed&&this.Eaw||401===w||0===w);y&&(c.u=A.concat(c.u),c.qa||c.j.enabled||c.j.start());b&&b("net-send-failed",w)},v=function(){c.Ra?c.Ra.send(n,p,q):c.ub(n,p,q)}; +m?m.then(function(w){n.Bt["Content-Encoding"]="gzip";n.Bt["Content-Type"]="application/binary";n.body=w;n.gX=2;v()},function(){v()}):v()}}}}; +g.k.yH=function(){this.flush()}; +g.u(hfa,g.df);bfa.prototype.Se=function(a,b){b=void 0===b?0:b;var c=this.j.clone();var d=Date.now().toString();c=g.D(c,4,d);a=Ed(c,Li,3,a);b&&g.D(a,14,b);return a};lfa.prototype.Se=function(){var a=new Ni(this.I,this.ra?this.ra:ai,"0",this.J,this.B,this.C,!1,this.Ea,void 0,void 0,this.N?this.N:void 0);this.W&&Mi(a.I,this.W);if(this.u){var b=this.u,c=Oi(a.I);g.D(c,7,b)}this.D&&(a.N=this.D);this.j&&(a.W=this.j);this.V&&((b=this.V)?(a.C||(a.C=new bi),b=Rd(b),g.D(a.C,4,b)):a.C&&vd(a.C,4));this.qa&&(b=this.qa,a.C||(a.C=new bi),tba(a.C,2,b));this.Y&&(b=this.Y,a.Ua=!0,efa(a,b));this.va&&jfa(a.I,this.va);return a};Pi.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new kea,c=[],d=0;d>>3;1!=f.B&&2!=f.B&&15!=f.B&&Uj(f,h,l,"unexpected tag");f.j=1;f.u=0;f.C=0} +function c(m){f.C++;5==f.C&&m&240&&Uj(f,h,l,"message length too long");f.u|=(m&127)<<7*(f.C-1);m&128||(f.j=2,f.N=0,"undefined"!==typeof Uint8Array?f.D=new Uint8Array(f.u):f.D=Array(f.u),0==f.u&&e())} +function d(m){f.D[f.N++]=m;f.N==f.u&&e()} +function e(){if(15>f.B){var m={};m[f.B]=f.D;f.J.push(m)}f.j=0} +for(var f=this,h=a instanceof Array?a:new Uint8Array(a),l=0;lb||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?bk(this,7):7==c?bk(this,8):d||bk(this,3)),this.u||(this.u=iga(this.j),null==this.u&&bk(this,5)),2this.B){var h=a.length;c=[];try{if(this.u.uB())for(var l=0;lthis.B){l=e.slice(this.B);this.B=e.length;try{var n=this.u.parse(l);null!=n&&this.D&&this.D(n)}catch(p){bk(this,5);ck(this);break a}}4==b?(0!=e.length|| +this.V?bk(this,2):bk(this,4),ck(this)):bk(this,1)}}}catch(p){bk(this,6),ck(this)}};g.k=jga.prototype;g.k.Do=function(a,b){var c=this.u[a];c||(c=[],this.u[a]=c);c.push(b);return this}; +g.k.addListener=function(a,b){this.Do(a,b);return this}; +g.k.removeListener=function(a,b){var c=this.u[a];c&&g.Zb(c,b);(a=this.j[a])&&g.Zb(a,b);return this}; +g.k.once=function(a,b){var c=this.j[a];c||(c=[],this.j[a]=c);c.push(b);return this}; +g.k.v0=function(a){var b=this.u.data;b&&kga(a,b);(b=this.j.data)&&kga(a,b);this.j.data=[]}; +g.k.q2=function(){switch(this.B.getStatus()){case 1:dk(this,"readable");break;case 5:case 6:case 4:case 7:case 3:dk(this,"error");break;case 8:dk(this,"close");break;case 2:dk(this,"end")}};lga.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return mga(function(h){var l=h.vC(),m=h.getMetadata(),n=pga(e,!1);m=qga(e,m,n,f+l.getName());var p=rga(n,l.u,!0);h=l.j(h.j);n.send(m,"POST",h);return p},this.C).call(this,Pfa(d,b,c))};ek.prototype.create=function(a,b){return jj(this.j,this.u+"/$rpc/google.internal.waa.v1.Waa/Create",a,b||{},nYa)}; +ek.prototype.ping=function(a,b){return jj(this.j,this.u+"/$rpc/google.internal.waa.v1.Waa/Ping",a,b||{},oYa)};var tga={toString:function(a){var b=[],c=0;a-=-2147483648;b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(a%52);for(a=Math.floor(a/52);0=this.I&&this.B.resolve();var b=new Si(this.logger,"C");a=this.C(a.by);b.done();if(a instanceof Uint8Array)return a;b=new Ofa(a);a=this.j;a=Bd(a,We,3===yd(a,S2)?3:-1);if(!a){a=new We;var c=Ec(b.B);Fd(a,2,c);Dd(this.j,We,3,S2,a)}b=new Uint8Array(b.u);Fd(a,1,b);return g.Re(this.j,cYa)}; +g.u(mk,jk);mk.prototype.gw=function(){return this.j}; +g.u(nk,jk);nk.prototype.gw=function(){if(this.j){var a=this.j;this.j=void 0;return a}return this.C}; +hk.prototype.isReady=function(){return!!this.j}; +hk.prototype.ready=function(){var a=this;return g.z(function(b){return g.x(b,a.u.promise,0)})}; +hk.prototype.gw=function(a){if(!this.j)throw Error("SGK:Not ready");var b=new Si(this.logger,this.j.u);try{return this.j.gw(a)}catch(e){b=new Si(this.logger,"e");var c=new ik(5,e);this.logger.sz(c.code);var d;null==(d=this.onError)||d.call(this,c);return(new nk(c)).gw()}finally{b.done()}};var hra={rOa:0,oOa:1,lOa:2,mOa:3,nOa:4,qOa:5,pOa:6};var $l;$l=["av.default","js","unreleased"].slice(-1)[0];var Pl=document,Dk=window;var Gga={NONE:0,Zma:1},kha={QT:0,nNa:1,mNa:2,oNa:3},Xk={ET:"a",Dma:"d",VIDEO:"v"};pk.prototype.isVisible=function(){return this.Bs?.3<=this.Id:.5<=this.Id};var zk={Jga:0,Noa:1},iha={NONE:0,Cta:1,Tqa:2};qk.prototype.getValue=function(){return this.qd}; +g.u(rk,qk);rk.prototype.setValue=function(a){if(null!==this.qd||!g.Af(this.u,a))return!1;this.qd=a;return!0}; +g.u(sk,qk);sk.prototype.setValue=function(a){if(null!==this.qd||"number"!==typeof a)return!1;this.qd=a;return!0}; +g.u(tk,qk);tk.prototype.setValue=function(a){if(null!==this.qd||"string"!==typeof a)return!1;this.qd=a;return!0};uk.prototype.disable=function(){this.u=!1}; +uk.prototype.enable=function(){this.u=!0}; +uk.prototype.isEnabled=function(){return this.u}; +uk.prototype.reset=function(){this.j={};this.u=!0;this.B={}};var mia=!g.Dc&&!Fb();Ak.prototype.now=function(){return 0}; +Ak.prototype.u=function(){return 0}; +Ak.prototype.B=function(){return 0}; +Ak.prototype.j=function(){return 0};g.u(Ck,Ak);Ck.prototype.now=function(){return Bk()&&Dk.performance.now?Dk.performance.now():Ak.prototype.now.call(this)}; +Ck.prototype.u=function(){return Bk()&&Dk.performance.memory?Dk.performance.memory.totalJSHeapSize||0:Ak.prototype.u.call(this)}; +Ck.prototype.B=function(){return Bk()&&Dk.performance.memory?Dk.performance.memory.usedJSHeapSize||0:Ak.prototype.B.call(this)}; +Ck.prototype.j=function(){return Bk()&&Dk.performance.memory?Dk.performance.memory.jsHeapSizeLimit||0:Ak.prototype.j.call(this)};var Jga=$f(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}}); +g.C.addEventListener("test",null,b)}catch(c){}return a});Kga.prototype.isVisible=function(){return 1===Gk(Pl)};g.fg("csi.gstatic.com");g.fg("googleads.g.doubleclick.net");g.fg("partner.googleadservices.com");g.fg("pubads.g.doubleclick.net");g.fg("securepubads.g.doubleclick.net");g.fg("tpc.googlesyndication.com");var Mga={Y9:"allow-forms",Z9:"allow-modals",a$:"allow-orientation-lock",b$:"allow-pointer-lock",c$:"allow-popups",d$:"allow-popups-to-escape-sandbox",e$:"allow-presentation",f$:"allow-same-origin",g$:"allow-scripts",h$:"allow-top-navigation",i$:"allow-top-navigation-by-user-activation"},Qga=$f(function(){return Nga()});var Uga=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");Lk.prototype.pe=function(a,b,c){a=a+"//"+b+c;var d=Yga(this)-c.length;if(0>d)return"";this.j.sort(function(n,p){return n-p}); +c=null;b="";for(var e=0;e=m.length){d-=m.length;a+=m;b=this.B;break}c=null==c?f:c}}d="";null!=c&&(d=b+"trn="+c);return a+d};Sk.prototype.setInterval=function(a,b){return Dk.setInterval(a,b)}; +Sk.prototype.clearInterval=function(a){Dk.clearInterval(a)}; +Sk.prototype.setTimeout=function(a,b){return Dk.setTimeout(a,b)}; +Sk.prototype.clearTimeout=function(a){Dk.clearTimeout(a)};eha.prototype.getContext=function(){if(!this.j){if(!Dk)throw Error("Context has not been set and window is undefined.");this.j=Rk(Sk)}return this.j};g.u(Vk,g.J);var mja=[Vk,1,UXa,2,VXa,3,VXa,4,VXa,5,WXa];var jha={yLa:1,xW:2,tDa:3};lha.prototype.ZJ=function(a){if("string"===typeof a&&0!=a.length){var b=this.featureSet;if(b.u){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=decodeURIComponent(d[0]);1=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.k.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.k.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.k.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.k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};sl.prototype.equals=function(a,b){return!!a&&(!(void 0===b?0:b)||this.volume==a.volume)&&this.B==a.B&&ql(this.j,a.j)&&!0};tl.prototype.equals=function(a,b){return this.C.equals(a.C,void 0===b?!1:b)&&this.N==a.N&&ql(this.B,a.B)&&ql(this.I,a.I)&&this.j==a.j&&this.D==a.D&&this.u==a.u&&this.J==a.J};var wYa={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Nm={rW:"start",VT:"firstquartile",jW:"midpoint",sW:"thirdquartile",LT:"complete",ERROR:"error",iW:"metric",PAUSE:"pause",oW:"resume",pW:"skip",wW:"viewable_impression",kW:"mute",uW:"unmute",XT:"fullscreen",ST:"exitfullscreen",KT:"bufferstart",JT:"bufferfinish",ZT:"fully_viewable_audible_half_duration_impression",hW:"measurable_impression",CT:"abandon",RT:"engagedview",cU:"impression",OT:"creativeview",gW:"loaded",wMa:"progress", +CLOSE:"close",Zfa:"collapse",dJa:"overlay_resize",eJa:"overlay_unmeasurable_impression",fJa:"overlay_unviewable_impression",hJa:"overlay_viewable_immediate_impression",gJa:"overlay_viewable_end_of_session_impression",PT:"custom_metric_viewable",jIa:"verification_debug",FT:"audio_audible",HT:"audio_measurable",GT:"audio_impression"},Zja="start firstquartile midpoint thirdquartile resume loaded".split(" "),$ja=["start","firstquartile","midpoint","thirdquartile"],Nia=["abandon"],gn={UNKNOWN:-1,rW:0, +VT:1,jW:2,sW:3,LT:4,iW:5,PAUSE:6,oW:7,pW:8,wW:9,kW:10,uW:11,XT:12,ST:13,ZT:14,hW:15,CT:16,RT:17,cU:18,OT:19,gW:20,PT:21,KT:22,JT:23,GT:24,HT:25,FT:26};var zha={c7:"addEventListener",Vqa:"getMaxSize",Wqa:"getScreenSize",Xqa:"getState",Yqa:"getVersion",cNa:"removeEventListener",Aua:"isViewable"};g.k=g.vl.prototype;g.k.clone=function(){return new g.vl(this.left,this.top,this.width,this.height)}; +g.k.contains=function(a){return a instanceof g.Gg?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.k.distance=function(a){var b=a.x=this.N?a:this;b!==this.j?(this.I=this.j.I,Ul(this)):this.I!==this.j.I&&(this.I=this.j.I,Ul(this))}; +g.k.Rp=function(a){if(a.u===this.j){var b=!this.C.equals(a,this.V);this.C=a;b&&Rha(this)}}; +g.k.jn=function(){return this.V}; +g.k.dispose=function(){this.qa=!0}; +g.k.isDisposed=function(){return this.qa};g.k=Vl.prototype;g.k.AF=function(){return!0}; +g.k.zx=function(){}; +g.k.dispose=function(){if(!this.isDisposed()){var a=this.u;g.Zb(a.D,this);a.V&&this.jn()&&Qha(a);this.zx();this.W=!0}}; +g.k.isDisposed=function(){return this.W}; +g.k.Lp=function(){return this.u.Lp()}; +g.k.Vn=function(){return this.u.Vn()}; +g.k.Dv=function(){return this.u.Dv()}; +g.k.bz=function(){return this.u.bz()}; +g.k.Ov=function(){}; +g.k.Rp=function(){this.qp()}; +g.k.jn=function(){return this.Y};g.k=Wl.prototype;g.k.Vn=function(){return this.j.Vn()}; +g.k.Dv=function(){return this.j.Dv()}; +g.k.bz=function(){return this.j.bz()}; +g.k.create=function(a,b,c){var d=null;this.j&&(d=this.iB(a,b,c),Tl(this.j,d));return d}; +g.k.FM=function(){return this.Ax()}; +g.k.Ax=function(){return!1}; +g.k.init=function(a){return this.j.initialize()?(Tl(this.j,this),this.C=a,!0):!1}; +g.k.Ov=function(a){0==a.Vn()&&this.C(a.Dv(),this)}; +g.k.Rp=function(){}; +g.k.jn=function(){return!1}; +g.k.dispose=function(){this.D=!0}; +g.k.isDisposed=function(){return this.D}; +g.k.Lp=function(){return{}};Xl.prototype.add=function(a,b,c){++this.B;a=new Sha(a,b,c);this.j.push(new Sha(a.j,a.qd,a.u+this.B/4096));this.u=!0;return this};Xha.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Zl(this.j);0=h;h=!(0=h)||c;this.j[e].update(f&&l,d,!f||h)}};hm.prototype.update=function(a,b,c,d){this.J=-1!=this.J?Math.min(this.J,b.Id):b.Id;this.Y=Math.max(this.Y,b.Id);this.ra=-1!=this.ra?Math.min(this.ra,b.Ui):b.Ui;this.va=Math.max(this.va,b.Ui);this.eb.update(b.Ui,c.Ui,b.j,a,d);this.u.update(b.Id,c.Id,b.j,a,d);c=d||c.Bs!=b.Bs?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.j;this.La.update(c,a,b)}; +hm.prototype.qo=function(){return this.La.B>=this.Ya};if(Pl&&Pl.URL){var xYa=Pl.URL,yYa;if(yYa=!!xYa){var zYa;a:{if(xYa){var AYa=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var U2=AYa.exec(decodeURIComponent(xYa));if(U2){zYa=U2[1]&&1=(this.Bs()?.3:.5),this.xL(f,a,d),this.lastUpdateTime=b,0=e||0>=b||0>=c||0>=d||(e/=b,b=c/d,a=a.clone(),e>b?(c/=e,d=(d-c)/2,0=a.bottom||a.left>=a.right?new ol(0,0,0,0):a;a=this.u.C;b=e=d=0;0<(this.j.bottom-this.j.top)*(this.j.right-this.j.left)&&(this.MP(c)?c=new ol(0,0,0,0):(d=Ol().C,b=new ol(0,d.height,d.width,0),d=lm(c,this.j),e=lm(c,Ol().j),b=lm(c,b)));c=c.top>=c.bottom||c.left>=c.right?new ol(0,0,0, +0):rl(c,-this.j.left,-this.j.top);Ql()||(e=d=0);this.J=new tl(a,this.element,this.j,c,d,e,this.timestamp,b)}; +g.k.getName=function(){return this.u.getName()};var FYa=new ol(0,0,0,0);g.u(Gm,Fm);g.k=Gm.prototype;g.k.AF=function(){this.B();return!0}; +g.k.Rp=function(){Fm.prototype.qp.call(this)}; +g.k.RN=function(){}; +g.k.EG=function(){}; +g.k.qp=function(){this.B();Fm.prototype.qp.call(this)}; +g.k.Ov=function(a){a=a.isActive();a!==this.I&&(a?this.B():(Ol().j=new ol(0,0,0,0),this.j=new ol(0,0,0,0),this.C=new ol(0,0,0,0),this.timestamp=-1));this.I=a};var Y2={},Lia=(Y2.firstquartile=0,Y2.midpoint=1,Y2.thirdquartile=2,Y2.complete=3,Y2);g.u(Im,mm);g.k=Im.prototype;g.k.jn=function(){return!0}; +g.k.po=function(){return 2==this.uh}; +g.k.WO=function(a){return oia(this,a,Math.max(1E4,this.B/3))}; +g.k.Fa=function(a,b,c,d,e,f,h){var l=this,m=this.J(this)||{};g.If(m,e);this.B=m.duration||this.B;this.V=m.isVpaid||this.V;this.Ha=m.isYouTube||this.Ha;e=Dia(this,b);1===Cia(this)&&(f=e);mm.prototype.Fa.call(this,a,b,c,d,m,f,h);this.Ps&&this.Ps.u&&g.tc(this.I,function(n){n.D(l)})}; +g.k.xL=function(a,b,c){mm.prototype.xL.call(this,a,b,c);Lm(this).update(a,b,this.Eg,c);this.eb=qm(this.Eg)&&qm(b);-1==this.va&&this.Ya&&(this.va=this.Oh().B.j);this.wg.B=0;a=this.qo();b.isVisible()&&zm(this.wg,"vs");a&&zm(this.wg,"vw");Ml(b.volume)&&zm(this.wg,"am");qm(b)&&zm(this.wg,"a");this.Qv&&zm(this.wg,"f");-1!=b.u&&(zm(this.wg,"bm"),1==b.u&&zm(this.wg,"b"));qm(b)&&b.isVisible()&&zm(this.wg,"avs");this.eb&&a&&zm(this.wg,"avw");0this.j.N&&(this.j=this,Ul(this)),this.N=a);return 2==a};an.prototype.sample=function(){dn(this,Tm(),!1)}; +an.prototype.C=function(){var a=Ql(),b=jl();a?(ll||(ml=b,g.tc(Sm.j,function(c){var d=c.Oh();d.Ha=Cm(d,b,1!=c.uh)})),ll=!0):(this.J=lja(this,b),ll=!1,Mia=b,g.tc(Sm.j,function(c){c.sy&&(c.Oh().N=b)})); +dn(this,Tm(),!a)}; +var bn=Rk(an);var oja=null,Fn="",Bn=!1;var rja=qja().tm,fn=qja().xm;var uja={Poa:"visible",Dca:"audible",nVa:"time",rVa:"timetype"},vja={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)}}; +tja.prototype.setTime=function(a,b,c){"ms"==b?(this.B=a,this.C=-1):(this.B=-1,this.C=a);this.D=void 0===c?"tos":c;return this};g.u(kn,Dm);kn.prototype.getId=function(){return this.J}; +kn.prototype.I=function(){return!0}; +kn.prototype.j=function(a){var b=a.Oh(),c=a.getDuration();return Nl(this.N,function(d){if(void 0!=d.j)var e=xja(d,b);else b:{switch(d.D){case "mtos":e=d.u?b.D.B:b.B.j;break b;case "tos":e=d.u?b.D.j:b.B.j;break b}e=0}0==e?d=!1:(d=-1!=d.B?d.B:void 0!==c&&0=d);return d})};g.u(ln,yja);ln.prototype.u=function(){return null}; +ln.prototype.B=function(){return[]};g.u(mn,xia);mn.prototype.j=function(a){var b=new xm;b.j=ym(a,CYa);b.u=ym(a,EYa);return b};g.u(nn,Dm);nn.prototype.j=function(a){return Fia(a)};g.u(on,yja);g.u(pn,Dm);pn.prototype.j=function(a){return a.Oh().qo()};g.u(qn,Em);qn.prototype.j=function(a){var b=g.Wb(this.J,xk(Yk().featureSet,"ovms"));return!a.Wp&&(0!=a.uh||b)};g.u(rn,on);rn.prototype.u=function(){return new qn(this.j)}; +rn.prototype.B=function(){return[new pn("viewable_impression",this.j),new nn(this.j)]};g.u(sn,Gm);sn.prototype.B=function(){var a=g.Ha("ima.admob.getViewability"),b=xk(this.featureSet,"queryid");"function"===typeof a&&b&&a(b)}; +sn.prototype.getName=function(){return"gsv"};g.u(tn,Wl);tn.prototype.getName=function(){return"gsv"}; +tn.prototype.Ax=function(){var a=Ol();Yk();return a.u&&!1}; +tn.prototype.iB=function(a,b,c){return new sn(this.j,b,c)};g.u(un,Gm);un.prototype.B=function(){var a=this,b=g.Ha("ima.bridge.getNativeViewability"),c=xk(this.featureSet,"queryid");"function"===typeof b&&c&&b(c,function(d){g.Cf(d)&&a.D++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.j=Kha(d.opt_nativeViewBounds||{});var h=a.u.C;h.j=f?FYa.clone():Kha(e);a.timestamp=d.opt_nativeTime||-1;Ol().j=h.j;d=d.opt_nativeVolume;void 0!==d&&(h.volume=d)})}; +un.prototype.getName=function(){return"nis"};g.u(vn,Wl);vn.prototype.getName=function(){return"nis"}; +vn.prototype.Ax=function(){var a=Ol();Yk();return a.u&&!1}; +vn.prototype.iB=function(a,b,c){return new un(this.j,b,c)};g.u(wn,Sl);g.k=wn.prototype;g.k.yx=function(){return null!=this.u.ql}; +g.k.TO=function(){var a={};this.Ea&&(a.mraid=this.Ea);this.ra&&(a.mlc=1);a.mtop=this.u.s4;this.J&&(a.mse=this.J);this.Ha&&(a.msc=1);a.mcp=this.u.compatibility;return a}; +g.k.Bq=function(a){var b=g.za.apply(1,arguments);try{return this.u.ql[a].apply(this.u.ql,b)}catch(c){il(538,c,.01,function(d){d.method=a})}}; +g.k.initialize=function(){var a=this;if(this.isInitialized)return!this.bz();this.isInitialized=!0;if(2===this.u.compatibility)return this.J="ng",this.fail("w"),!1;if(1===this.u.compatibility)return this.J="mm",this.fail("w"),!1;Ol().N=!0;this.B.document.readyState&&"complete"==this.B.document.readyState?Cja(this):jm(this.B,"load",function(){Tk().setTimeout(hl(292,function(){return Cja(a)}),100)},292); +return!0}; +g.k.DM=function(){var a=Ol(),b=Hja(this,"getMaxSize");a.j=new ol(0,b.width,b.height,0)}; +g.k.EM=function(){Ol().C=Hja(this,"getScreenSize")}; +g.k.dispose=function(){Eja(this);Sl.prototype.dispose.call(this)};g.k=yn.prototype;g.k.ly=function(a){nm(a,!1);Zia(a)}; +g.k.DC=function(){}; +g.k.gA=function(a,b,c,d){var e=this;b=c?b:-1;c=this.lO();a=new Im(Dk,a,b,7,this.ZG(),c.u(),c.B());a.ah=d;Dga(a.featureSet);wk(a.featureSet,"queryid",a.ah);a.ZJ("");ria(a,function(){return e.kP.apply(e,g.t(g.za.apply(0,arguments)))},function(){return e.VY.apply(e,g.t(g.za.apply(0,arguments)))}); +(d=Rk(Um).j)&&nia(a,d);a.Bi.bq&&Rk(hja);return a}; +g.k.Ov=function(a){switch(a.Vn()){case 0:if(a=Rk(Um).j)a=a.j,g.Zb(a.D,this),a.V&&this.jn()&&Qha(a);An();break;case 2:cn()}}; +g.k.Rp=function(){}; +g.k.jn=function(){return!1}; +g.k.VY=function(a,b){a.Wp=!0;switch(a.Fm()){case 1:Nja(a,b);break;case 2:this.kK(a)}this.AK()}; +g.k.eZ=function(a){var b=a.J(a);b&&(b=b.volume,a.gb=Ml(b)&&0a&&Number.isInteger(a)&&this.data_[a]!==b&&(this.data_[a]=b,this.j=-1)}; +Wn.prototype.get=function(a){return!!this.data_[a]};g.Xa(g.Xn,g.K);g.k=g.Xn.prototype;g.k.start=function(){this.stop();this.C=!1;var a=kka(this),b=lka(this);a&&!b&&this.u.mozRequestAnimationFrame?(this.j=g.Nf(this.u,"MozBeforePaint",this.B),this.u.mozRequestAnimationFrame(null),this.C=!0):this.j=a&&b?a.call(this.u,this.B):this.u.setTimeout(Oca(this.B),20)}; +g.k.stop=function(){if(this.isActive()){var a=kka(this),b=lka(this);a&&!b&&this.u.mozRequestAnimationFrame?Rf(this.j):a&&b?b.call(this.u,this.j):this.u.clearTimeout(this.j)}this.j=null}; +g.k.isActive=function(){return null!=this.j}; +g.k.gV=function(){this.C&&this.j&&Rf(this.j);this.j=null;this.I.call(this.D,g.Wa())}; +g.k.ea=function(){this.stop();g.Xn.Le.ea.call(this)};g.Xa(g.Zn,g.K);g.k=g.Zn.prototype;g.k.Bx=0;g.k.ea=function(){g.Zn.Le.ea.call(this);this.stop();delete this.j;delete this.u}; +g.k.start=function(a){this.stop();this.Bx=g.Ph(this.B,void 0!==a?a:this.ph)}; +g.k.stop=function(){this.isActive()&&g.C.clearTimeout(this.Bx);this.Bx=0}; +g.k.isActive=function(){return 0!=this.Bx}; +g.k.HM=function(){this.Bx=0;this.j&&this.j.call(this.u)};co.prototype[Symbol.iterator]=function(){return this}; +co.prototype.next=function(){var a=this.j.next();return{value:a.done?void 0:this.u.call(void 0,a.value),done:a.done}};lo.prototype.bj=function(){return new mo(this.u())}; +lo.prototype[Symbol.iterator]=function(){return new no(this.u())}; +lo.prototype.j=function(){return new no(this.u())}; +g.u(mo,g.om);mo.prototype.next=function(){return this.u.next()}; +mo.prototype[Symbol.iterator]=function(){return new no(this.u)}; +mo.prototype.j=function(){return new no(this.u)}; +g.u(no,lo);no.prototype.next=function(){return this.B.next()};g.k=g.po.prototype;g.k.Rj=function(){ro(this);for(var a=[],b=0;b2*this.size&&ro(this),!0):!1}; +g.k.get=function(a,b){return qo(this.u,a)?this.u[a]:b}; +g.k.set=function(a,b){qo(this.u,a)||(this.size+=1,this.j.push(a),this.Kq++);this.u[a]=b}; +g.k.forEach=function(a,b){for(var c=this.Tn(),d=0;d=d.j.length)return g.V2;var f=d.j[b++];return g.pm(a?f:d.u[f])}; +return e};g.Xa(g.so,g.Uf);g.k=g.so.prototype;g.k.Oc=function(){return 1==this.j}; +g.k.tD=function(){this.Pj("begin")}; +g.k.Nz=function(){this.Pj("end")}; +g.k.onFinish=function(){this.Pj("finish")}; +g.k.Pj=function(a){this.dispatchEvent(a)};var NYa=$f(function(){if(g.Dc)return g.yc("10.0");var a=g.mh("DIV"),b=g.kf?"-webkit":zl?"-moz":g.Dc?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!fYa.test("div"))throw Error("");if("DIV"in hYa)throw Error("");b=void 0;var d="";if(c)for(h in c)if(Object.prototype.hasOwnProperty.call(c,h)){if(!fYa.test(h))throw Error("");var e=c[h];if(null!=e){var f=h;if(e instanceof dg)e=eg(e);else if("style"==f.toLowerCase()){if(!g.Pa(e))throw Error(""); +e instanceof og||(e=dda(e));e=pg(e)}else{if(/^on/i.test(f))throw Error("");if(f.toLowerCase()in gYa)if(e instanceof hg)e=Vca(e).toString();else if(e instanceof kg)e=g.lg(e);else if("string"===typeof e)e=g.mg(e).Qj();else throw Error("");}e.Qm&&(e=e.Qj());f=f+'="'+gb(String(e))+'"';d+=" "+f}}var h="":(b=oda(b),h+=">"+g.wg(b).toString()+"");h=xg(h);g.rda(a,h);return""!=g.Al(a.firstChild,"transition")});g.Xa(to,g.so);g.k=to.prototype;g.k.play=function(){if(this.Oc())return!1;this.tD();this.Pj("play");this.startTime=g.Wa();this.j=1;if(NYa())return g.yl(this.u,this.J),this.C=g.Ph(this.g3,void 0,this),!0;this.BF(!1);return!1}; +g.k.g3=function(){g.Jl(this.u);qka(this.u,this.N);g.yl(this.u,this.D);this.C=g.Ph((0,g.Ta)(this.BF,this,!1),1E3*this.I)}; +g.k.stop=function(){this.Oc()&&this.BF(!0)}; +g.k.BF=function(a){g.yl(this.u,"transition","");g.C.clearTimeout(this.C);g.yl(this.u,this.D);this.endTime=g.Wa();this.j=0;if(a)this.Pj("stop");else this.onFinish();this.Nz()}; +g.k.ea=function(){this.stop();to.Le.ea.call(this)}; +g.k.pause=function(){};var ska={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0};uo("Element","attributes")||uo("Node","attributes");uo("Element","innerHTML")||uo("HTMLElement","innerHTML");uo("Node","nodeName");uo("Node","nodeType");uo("Node","parentNode");uo("Node","childNodes");uo("HTMLElement","style")||uo("Element","style");uo("HTMLStyleElement","sheet");var yka=uka("getPropertyValue"),zka=uka("setProperty");uo("Element","namespaceURI")||uo("Node","namespaceURI");var xka={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};var Dka,Cka,Bka,Eka;Dka=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]");g.OYa=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");g.PYa=RegExp("^[^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"); +g.vo=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");Cka=/^http:\/\/.*/;g.QYa=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");Bka=/\s+/;Eka=/[\d\u06f0-\u06f9]/;g.xo.prototype.clone=function(){return new g.xo(this.j,this.J,this.B,this.D,this.C,this.I,this.u,this.N)}; +g.xo.prototype.equals=function(a){return this.j==a.j&&this.J==a.J&&this.B==a.B&&this.D==a.D&&this.C==a.C&&this.I==a.I&&this.u==a.u&&this.N==a.N};zo.prototype.clone=function(){return new zo(this.start,this.end)};var RYa=new WeakMap;(function(){if(sSa){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.rb()))?a[1]:"0"}return tT?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(g.rb()))?a[0].replace(/_/g,"."):"10"):g.Yu?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.rb()))?a[1]:""):JXa||KXa||LXa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.rb()))?a[1].replace(/_/g,"."):""):""})();var Gka=function(){if(g.pB)return Ao(/Firefox\/([0-9.]+)/);if(g.Dc||g.yw||g.KF)return xc;if(g.bE){if(Lb()||Ob()){var a=Ao(/CriOS\/([0-9.]+)/);if(a)return a}return Ao(/Chrome\/([0-9.]+)/)}if(g.Zv&&!Lb())return Ao(/Version\/([0-9.]+)/);if(TF||xI){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.rb()))return a[1]+"."+a[2]}else if(g.LF)return(a=Ao(/Android\s+([0-9.]+)/))?a:Ao(/Version\/([0-9.]+)/);return""}();g.Xa(g.Co,g.K);g.k=g.Co.prototype;g.k.subscribe=function(a,b,c){var d=this.u[a];d||(d=this.u[a]=[]);var e=this.I;this.j[e]=a;this.j[e+1]=b;this.j[e+2]=c;this.I=e+3;d.push(e);return e}; +g.k.unsubscribe=function(a,b,c){if(a=this.u[a]){var d=this.j;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Kg(a)}return!1}; +g.k.Kg=function(a){var b=this.j[a];if(b){var c=this.u[b];0!=this.C?(this.B.push(a),this.j[a+1]=function(){}):(c&&g.Zb(c,a),delete this.j[a],delete this.j[a+1],delete this.j[a+2])}return!!b}; +g.k.X=function(a,b){var c=this.u[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e=c.length)return g.V2;var e=c.key(b++);if(a)return g.pm(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return g.pm(e)}; +return d}; +g.k.clear=function(){this.j.clear()}; +g.k.key=function(a){return this.j.key(a)};g.Xa(Jo,Io);g.Xa(Mka,Io);g.Xa(Lo,Ho);var Nka={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},Ko=null;g.k=Lo.prototype;g.k.isAvailable=function(){return!!this.j}; +g.k.set=function(a,b){this.j.setAttribute(Mo(a),b);No(this)}; +g.k.get=function(a){a=this.j.getAttribute(Mo(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; +g.k.remove=function(a){this.j.removeAttribute(Mo(a));No(this)}; +g.k.bj=function(a){var b=0,c=this.j.XMLDocument.documentElement.attributes,d=new g.om;d.next=function(){if(b>=c.length)return g.V2;var e=c[b++];if(a)return g.pm(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return g.pm(e)}; +return d}; +g.k.clear=function(){for(var a=this.j.XMLDocument.documentElement,b=a.attributes.length;0=b)){if(1==b)a.length=0;else{a[0]=a.pop();a=0;b=this.j;for(var d=b.length,e=b[a];a>1;){var f=2*a+1,h=2*a+2;f=he.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}}; +g.k.Rj=function(){for(var a=this.j,b=[],c=a.length,d=0;d=I.Jn)||l.j.version>=O||l.j.objectStoreNames.contains(H)||E.push(H)}m=E;if(0===m.length){A.Ma(5);break}n=Object.keys(c.options.iq);p=l.objectStoreNames(); +if(c.Ic.options.version+ +1)throw v.close(),c.C=!1,Ena(c,w);return A.return(v);case 10:throw b(),q instanceof Error&&!g.T("ytidb_async_stack_killswitch")&&(q.stack=q.stack+"\n"+h.substring(h.indexOf("\n")+1)),$v(q,c.name,"",null!=(y=c.options.version)?y:-1);}})} +function b(){c.j===d&&(c.j=void 0)} +var c=this;if(!this.C)throw Ena(this);if(this.j)return this.j;var d,e={blocking:function(f){f.close()}, +closed:b,U4:b,upgrade:this.options.upgrade};return this.j=d=a()};var ww=new tw("YtIdbMeta",{iq:{databases:{Jn:1}},upgrade:function(a,b){b(1)&&g.iw(a,"databases",{keyPath:"actualName"})}});var Aw,zw=new function(){}(new function(){});new g.Xi;g.k=Ew.prototype;g.k.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(Dw(this)&&this.Ue){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.dg.set(d,this.Te).then(function(e){d.id=e;c.Uf.mf()&&Fw(c,d)}).catch(function(e){Fw(c,d); +Gw(c,e)})}else this.No(a,b)}; +g.k.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(Dw(this)&&this.Ue){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.fb&&this.fb("nwl_skip_retry")&&(e.skipRetry=c);if(this.Uf.mf()||this.fb&&this.fb("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var f=b.onError?b.onError:function(){}; +b.onError=function(h,l){return g.z(function(m){if(1==m.j)return g.x(m,d.dg.set(e,d.Te).catch(function(n){Gw(d,n)}),2); +f(h,l);g.pa(m)})}}this.No(a,b,e.skipRetry)}else this.dg.set(e,this.Te).catch(function(h){d.No(a,b,e.skipRetry); +Gw(d,h)})}else this.No(a,b,this.fb&&this.fb("nwl_skip_retry")&&c)}; +g.k.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(Dw(this)&&this.Ue){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0},e=!1,f=b.onSuccess?b.onSuccess:function(){}; +d.options.onSuccess=function(h,l){void 0!==d.id?c.dg.vv(d.id,c.Te):e=!0;c.Uf.Co&&c.fb&&c.fb("vss_network_hint")&&c.Uf.Co(!0);f(h,l)}; +this.No(d.url,d.options);this.dg.set(d,this.Te).then(function(h){d.id=h;e&&c.dg.vv(d.id,c.Te)}).catch(function(h){Gw(c,h)})}else this.No(a,b)}; +g.k.CA=function(){var a=this;if(!Dw(this))throw g.aw("throttleSend");this.j||(this.j=this.ll.Fh(function(){var b;return g.z(function(c){if(1==c.j)return g.x(c,a.dg.XO("NEW",a.Te),2);if(3!=c.j)return b=c.u,b?g.x(c,Fw(a,b),3):(a.TN(),c.return());a.j&&(a.j=0,a.CA());g.pa(c)})},this.MS))}; +g.k.TN=function(){this.ll.Tk(this.j);this.j=0};Iw.prototype.toString=function(){return this.topic};var x_a=g.Ha("ytPubsub2Pubsub2Instance")||new g.Co;g.Co.prototype.subscribe=g.Co.prototype.subscribe;g.Co.prototype.unsubscribeByKey=g.Co.prototype.Kg;g.Co.prototype.publish=g.Co.prototype.X;g.Co.prototype.clear=g.Co.prototype.clear;g.Fa("ytPubsub2Pubsub2Instance",x_a);var Lw=g.Ha("ytPubsub2Pubsub2SubscribedKeys")||{};g.Fa("ytPubsub2Pubsub2SubscribedKeys",Lw);var Mw=g.Ha("ytPubsub2Pubsub2TopicToKeys")||{};g.Fa("ytPubsub2Pubsub2TopicToKeys",Mw);var Xna=g.Ha("ytPubsub2Pubsub2IsAsync")||{}; +g.Fa("ytPubsub2Pubsub2IsAsync",Xna);g.Fa("ytPubsub2Pubsub2SkipSubKey",null);g.u(Pw,tw);Pw.prototype.B=function(a,b,c){c=void 0===c?{}:c;return(this.options.Mw?Nna:Mna)(a,b,Object.assign({},c))}; +Pw.prototype.delete=function(a){a=void 0===a?{}:a;return(this.options.Mw?Rna:Ona)(this.name,a)};var Rw;var y_a={},foa=g.Qw("ServiceWorkerLogsDatabase",{iq:(y_a.SWHealthLog={Jn:1},y_a),Mw:!0,upgrade:function(a,b){b(1)&&g.nw(g.iw(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, +version:1});var Xw={},loa=0;Yw.prototype.requestComplete=function(a,b){b&&(this.u=!0);a=this.removeParams(a);this.j.get(a)||this.j.set(a,b)}; +Yw.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.j.get(a))?!1:!1===a&&this.u?!0:null}; +Yw.prototype.removeParams=function(a){return a.split("?")[0]}; +Yw.prototype.removeParams=Yw.prototype.removeParams;Yw.prototype.isEndpointCFR=Yw.prototype.isEndpointCFR;Yw.prototype.requestComplete=Yw.prototype.requestComplete;Yw.getInstance=Zw;var cx;g.u(ex,g.Uf);g.k=ex.prototype;g.k.mf=function(){return this.j.mf()}; +g.k.Co=function(a){this.j.j=a}; +g.k.EY=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; +g.k.WX=function(){this.u=!0}; +g.k.Na=function(a,b){return this.j.Na(a,b)}; +g.k.nA=function(a){a=Tn(this.j,a);a.then(function(b){g.T("use_cfr_monitor")&&Zw().requestComplete("generate_204",b)}); +return a}; +ex.prototype.sendNetworkCheckRequest=ex.prototype.nA;ex.prototype.listen=ex.prototype.Na;ex.prototype.enableErrorFlushing=ex.prototype.WX;ex.prototype.getWindowStatus=ex.prototype.EY;ex.prototype.networkStatusHint=ex.prototype.Co;ex.prototype.isNetworkAvailable=ex.prototype.mf;ex.getInstance=noa;g.u(g.fx,g.Uf);g.fx.prototype.mf=function(){var a=g.Ha("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.u)():!0}; +g.fx.prototype.Co=function(a){var b=g.Ha("yt.networkStatusManager.instance.networkStatusHint").bind(this.u);b&&b(a)}; +g.fx.prototype.nA=function(a){var b=this,c;return g.z(function(d){c=g.Ha("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.u);return g.T("skip_network_check_if_cfr")&&Zw().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.Co((null==(f=window.navigator)?void 0:f.onLine)||!0);e(b.mf())})):c?d.return(c(a)):d.return(!0)})};var ix;g.u(gx,Ew);gx.prototype.writeThenSend=function(a,b){b||(b={});g.Tv()||(this.Ue=!1);Ew.prototype.writeThenSend.call(this,a,b)}; +gx.prototype.sendThenWrite=function(a,b,c){b||(b={});g.Tv()||(this.Ue=!1);Ew.prototype.sendThenWrite.call(this,a,b,c)}; +gx.prototype.sendAndWrite=function(a,b){b||(b={});g.Tv()||(this.Ue=!1);Ew.prototype.sendAndWrite.call(this,a,b)}; +gx.prototype.awaitInitialization=function(){return this.u.promise};var qx=0,sx=0,tx,rx=g.C.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1,potentialEsfErrorCounter:sx};g.Fa("ytNetworklessLoggingInitializationOptions",rx);g.ux.prototype.isReady=function(){!this.config_&&Sma()&&(this.config_=g.xv());return!!this.config_};var z_a=0,wx=g.kf?"webkit":zl?"moz":g.Dc?"ms":g.KF?"o":"",A_a=g.Ha("ytDomDomGetNextId")||function(){return++z_a}; +g.Fa("ytDomDomGetNextId",A_a);var yoa={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};yx.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; +yx.prototype.LP=function(){return this.event?!1===this.event.returnValue:!1}; +yx.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; +yx.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var zx=g.C.ytEventsEventsListeners||{};g.Fa("ytEventsEventsListeners",zx);var Boa=g.C.ytEventsEventsCounter||{count:0};g.Fa("ytEventsEventsCounter",Boa);var Cra=$f(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}}); +window.addEventListener("test",null,b)}catch(c){}return a}),Coa=$f(function(){var a=!1; +try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); +window.addEventListener("test",null,b)}catch(c){}return a});var AF=window.ytcsi&&window.ytcsi.now?window.ytcsi.now:window.performance&&window.performance.timing&&window.performance.now&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.Xa(Kx,g.K);Kx.prototype.V=function(a){void 0===a.j&&zoa(a);var b=a.j;void 0===a.u&&zoa(a);this.j=new g.Gg(b,a.u)}; +Kx.prototype.Np=function(){return this.j||new g.Gg}; +Kx.prototype.W=function(){if(this.j){var a=AF();if(0!=this.C){var b=this.I,c=this.j,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.C);this.u[this.B]=.5c;c++)b+=this.u[c]||0;3<=b&&this.J();this.D=d}this.C=a;this.I=this.j;this.B=(this.B+1)%4}}; +Kx.prototype.ea=function(){window.clearInterval(this.N);g.Bx(this.Y)};var Ox={};var B_a,Rx,Tx;B_a=g.C.ytPubsubPubsubInstance||new g.Co;Rx=g.C.ytPubsubPubsubSubscribedKeys||{};Tx=g.C.ytPubsubPubsubTopicToKeys||{};g.Sx=g.C.ytPubsubPubsubIsSynchronous||{};g.Co.prototype.subscribe=g.Co.prototype.subscribe;g.Co.prototype.unsubscribeByKey=g.Co.prototype.Kg;g.Co.prototype.publish=g.Co.prototype.X;g.Co.prototype.clear=g.Co.prototype.clear;g.Fa("ytPubsubPubsubInstance",B_a);g.Fa("ytPubsubPubsubTopicToKeys",Tx);g.Fa("ytPubsubPubsubIsSynchronous",g.Sx); +g.Fa("ytPubsubPubsubSubscribedKeys",Rx);Xx.prototype.storePayload=function(a,b){this.store.push({payload:b,keys:a});b=[void 0===a.auth?"undefined":a.auth,void 0===a.isJspb?"undefined":a.isJspb,void 0===a.cttAuthInfo?"undefined":a.cttAuthInfo].join("/");this.j[b]?this.j[b]++:this.j[b]=1;this.j[b]>=this.policy.maxBatchSize&&(this.policy.onBatchSizeExceeded(a),this.j[b]=0);return b}; +Xx.prototype.extractMatchingEntries=function(a){for(var b=[],c=[],d=g.r(this.store),e=d.next();!e.done;e=d.next()){e=e.value;a:{var f=a;var h=Object.keys(f);h=g.r(h);for(var l=h.next();!l.done;l=h.next())if(l=l.value,e.keys[l]!==f[l]){f=!1;break a}f=!0}f?b.push(e.payload):c.push(e)}this.store=c;c=0;d=Joa(this,a);a=[];d=g.r(d);for(e=d.next();!e.done;e=d.next())e=e.value,c+=this.j[e],a.push([e,this.j[e]]),this.j[e]=0;c!==b.length&&iu(new g.Rv("Transport IMS extracted entries count != keyCounter sum", +a,b.length));return b}; +Xx.prototype.getSequenceCount=function(a){var b=Joa(this,a);a=0;b=g.r(b);for(var c=b.next();!c.done;c=b.next())a+=this.j[c.value];return a}; +Xx.prototype.getSequenceCount=Xx.prototype.getSequenceCount;Xx.prototype.extractMatchingEntries=Xx.prototype.extractMatchingEntries;Xx.prototype.storePayload=Xx.prototype.storePayload;var Qoa=g.cu("initial_gel_batch_timeout",2E3),Zoa=Math.pow(2,16)-1,fy=void 0,hy=new Koa,gy=new Koa,ny=!0,dy=g.C.ytLoggingTransportGELQueue_||new Map;g.Fa("ytLoggingTransportGELQueue_",dy);var ey=g.C.ytLoggingTransportGELProtoQueue_||new Map;g.Fa("ytLoggingTransportGELProtoQueue_",ey);var my=g.C.ytLoggingTransportTokensToCttTargetIds_||{};g.Fa("ytLoggingTransportTokensToCttTargetIds_",my);var ly=g.C.ytLoggingTransportTokensToJspbCttTargetIds_||{}; +g.Fa("ytLoggingTransportTokensToJspbCttTargetIds_",ly);var by={};var oy=g.C.ytLoggingGelSequenceIdObj_||{};g.Fa("ytLoggingGelSequenceIdObj_",oy);var Qy,Ry,tra=g.ux,LRa=!1;var apa=g.C.ytLoggingGelSequenceIdObj_||{};g.Fa("ytLoggingGelSequenceIdObj_",apa);var MRa={adNotify:function(a){var b=new kq;try{return a.adMediaTimeSec&&g.D(b,1,a.adMediaTimeSec),a.adMediaTimeMs&&g.D(b,6,a.adMediaTimeMs),a.timeToAdBreakSec&&g.D(b,2,a.timeToAdBreakSec),a.clientScreenNonce&&g.D(b,3,a.clientScreenNonce),a.clientPlaybackNonce&&g.D(b,4,a.clientPlaybackNonce),a.videoAdBreakOffsetSec&&g.D(b,5,a.videoAdBreakOffsetSec),a.videoAdBreakOffsetMs&&g.D(b,7,a.videoAdBreakOffsetMs),b}catch(c){}}, +biscottiBasedDetection:function(a){var b=new Hr;try{return a.detected&&g.D(b,1,a.detected),a.source&&g.D(b,2,a.source),b}catch(c){}}, +adNotifyFilled:function(a){var b=new jq;try{return a.t_&&g.D(b,1,iZa[a.t_]),b}catch(c){}}, +idbTransactionEnded:function(a){var b=new gt;try{return a.objectStoreNames&&g.D(b,1,a.objectStoreNames),a.duration&&b.wj(a.duration),a.isSuccessful&&g.D(b,3,a.isSuccessful),a.connectionHasUnknownAbortedTransaction&&g.D(b,4,a.connectionHasUnknownAbortedTransaction),a.tryCount&&g.D(b,5,a.tryCount),a.tag&&g.D(b,6,LZa[a.tag]),b}catch(c){}}, +idbUnexpectedlyClosed:function(a){var b=new ht;try{return a.dbName&&g.D(b,1,a.dbName),a.dbVersion&&g.D(b,2,a.dbVersion),b}catch(c){}}, +flowEvent:function(a){var b=new Zs;try{a.flowNonce&&g.D(b,1,a.flowNonce);if(a.flowEventType){a:{var c=a.flowEventType,d=new Ys;try{c.qY&&g.D(d,1,FZa[c.qY]);c.flowEventType&&g.D(d,2,c.flowEventType);var e=d;break a}catch(Eb){}e=void 0}F(b,Ys,2,e)}if(a.flowMetadata){a:{var f=a.flowMetadata,h=new Xs;try{if(f.notaireContext){b:{var l=f.notaireContext,m=new us;try{if(l.serverInfo){c:{var n=l.serverInfo,p=new ts;try{n.id&&g.D(p,1,n.id);n.forceLog&&g.D(p,2,n.forceLog);var q=p;break c}catch(Eb){}q=void 0}F(m, +ts,1,q)}if(l.clientInfo){c:{var v=l.clientInfo,w=new rs;try{v.timeSinceReceivedMs&&g.D(w,1,v.timeSinceReceivedMs);var y=w;break c}catch(Eb){}y=void 0}F(m,rs,2,y)}var A=m;break b}catch(Eb){}A=void 0}F(h,us,1,A)}if(f.offlineTransferStatusChangedContext){b:{var B=f.offlineTransferStatusChangedContext,E=new As;try{if(B.offlineTransferStatusChanged){var G=Lpa(B.offlineTransferStatusChanged);F(E,xs,1,G)}var H=E;break b}catch(Eb){}H=void 0}F(h,As,2,H)}if(f.offlineOrchestrationContext){b:{var I=f.offlineOrchestrationContext, +O=new ws;try{I.entityType&&g.D(O,1,I.entityType);I.entityId&&g.D(O,7,I.entityId);I.y_&&g.D(O,6,g_a[I.y_]);I.x_&&g.D(O,2,f_a[I.x_]);I.z_&&g.D(O,10,h_a[I.z_]);I.isRetryable&&g.D(O,3,I.isRetryable);if(I.orchestrationAction){var L=Lqa(I.orchestrationAction);F(O,vs,4,L)}if(I.additionalOrchestrationActions){var P=Lqa(I.additionalOrchestrationActions);Jd(O,5,vs,P)}I.intervalSinceEnqueuedMs&&g.D(O,8,I.intervalSinceEnqueuedMs);I.executionIntervalMs&&g.D(O,9,I.executionIntervalMs);var S=O;break b}catch(Eb){}S= +void 0}F(h,ws,3,S)}if(f.shortsCreationContext){b:{var ca=f.shortsCreationContext,R=new Ks;try{ca.n4&&g.xd(R,1,r_a[ca.n4]);var na=R;break b}catch(Eb){}na=void 0}F(h,Ks,4,na)}if(f.mdxConnectionContext){b:{var sa=f.mdxConnectionContext,Aa=new os;try{sa.isReconnection&&g.D(Aa,1,sa.isReconnection);sa.PX&&g.D(Aa,2,OZa[sa.PX]);sa.isRetry&&g.D(Aa,3,sa.isRetry);var wa=Aa;break b}catch(Eb){}wa=void 0}F(h,os,5,wa)}if(f.premiumMultiStepPurchaseContext){b:{var ta=f.premiumMultiStepPurchaseContext,Ma=new Hs;try{if(ta.selectedOption){c:{var Ka= +ta.selectedOption,qa=new Gs;try{Ka.Ez&&g.D(qa,1,ZYa[Ka.Ez]);Ka.pz&&g.D(qa,2,Oy[Ka.pz]);Ka.itemExternalId&&g.D(qa,3,Ka.itemExternalId);var nb=qa;break c}catch(Eb){}nb=void 0}F(Ma,Gs,1,nb)}ta.pz&&g.D(Ma,2,Oy[ta.pz]);ta.ot&&g.D(Ma,3,Py[ta.ot]);ta.landingPageVariantId&&g.D(Ma,4,ta.landingPageVariantId);ta.jY&&g.D(Ma,5,RZa[ta.jY]);ta.themeKey&&g.D(Ma,6,ta.themeKey);ta.r4&&g.D(Ma,7,SZa[ta.r4]);var Sb=Ma;break b}catch(Eb){}Sb=void 0}F(h,Hs,6,Sb)}if(f.mdxReceiverConnectionContext){b:{var Ua=f.mdxReceiverConnectionContext, +$a=new ps;try{Ua.isFromAppLaunch&&g.D($a,1,Ua.isFromAppLaunch);Ua.MX&&g.D($a,2,NZa[Ua.MX]);Ua.supportsSmoothPairing&&g.D($a,3,Ua.supportsSmoothPairing);Ua.hasManuallyPairedRemotesOnAppStartup&&g.D($a,4,Ua.hasManuallyPairedRemotesOnAppStartup);Ua.c_&&g.D($a,5,UYa[Ua.c_]);Ua.mdxSenderConnectedCounter&&g.D($a,6,Ua.mdxSenderConnectedCounter);Ua.mY&&g.D($a,7,MZa[Ua.mY]);Ua.appReloadCount&&g.D($a,8,Ua.appReloadCount);var bc=$a;break b}catch(Eb){}bc=void 0}F(h,ps,7,bc)}if(f.parentToolsOnboardingContext){b:{var Sa= +f.parentToolsOnboardingContext,ab=new Cs;try{Sa.o5&&g.D(ab,1,fZa[Sa.o5]);if(Sa.kidsFlowInfo){c:{var tb=Sa.kidsFlowInfo,fc=new Bs;try{tb.FZ&&g.D(fc,1,cZa[tb.FZ]);tb.flowLabel&&g.D(fc,2,tb.flowLabel);tb.jZ&&g.D(fc,3,dZa[tb.jZ]);tb.hostClientVersion&&g.D(fc,4,tb.hostClientVersion);var Tb=fc;break c}catch(Eb){}Tb=void 0}F(ab,Bs,2,Tb)}Sa.EZ&&g.D(ab,3,bZa[Sa.EZ]);Sa.XW&&g.D(ab,4,eZa[Sa.XW]);Sa.isKidSignedIn&&g.D(ab,5,Sa.isKidSignedIn);Sa.alreadyOnboardedYtk&&g.D(ab,6,Sa.alreadyOnboardedYtk);Sa.alreadyOnboardedSupex&& +g.D(ab,7,Sa.alreadyOnboardedSupex);var Lc=ab;break b}catch(Eb){}Lc=void 0}F(h,Cs,8,Lc)}if(f.hashtagAutoCompleteContext){b:{var nc=f.hashtagAutoCompleteContext,bd=new ds;try{nc.suggestionSelected&&g.D(bd,1,nc.suggestionSelected);var cd=bd;break b}catch(Eb){}cd=void 0}F(h,ds,9,cd)}if(f.liveStreamingContext){b:{var ob=f.liveStreamingContext,Pb=new ns;try{ob.jX&&g.D(Pb,1,hZa[ob.jX]);ob.isAutoDashboard&&g.D(Pb,2,ob.isAutoDashboard);ob.externalVideoId&&g.D(Pb,3,ob.externalVideoId);ob.iX&&Pb.setBroadcastConferenceType(gZa[ob.iX]); +if(ob.eventData){c:{var Hb=ob.eventData,gc=new ms;try{if(Hb.webrtcHandshakeOffer){d:{var Kb=Hb.webrtcHandshakeOffer,hc=new ls;try{Kb.localVideoSsrc&&g.D(hc,1,Kb.localVideoSsrc);Kb.localAudioSsrc&&g.D(hc,2,Kb.localAudioSsrc);Kb.participantId&&g.D(hc,3,Kb.participantId);var Ga=hc;break d}catch(Eb){}Ga=void 0}F(gc,ls,1,Ga)}if(Hb.webrtcHandshakeAnswer){d:{var Ia=Hb.webrtcHandshakeAnswer,Sd=new js;try{Ia.remoteVideoSsrc&&g.D(Sd,1,Ia.remoteVideoSsrc);Ia.remoteAudioSsrc&&g.D(Sd,2,Ia.remoteAudioSsrc);var Ja= +Sd;break d}catch(Eb){}Ja=void 0}F(gc,js,2,Ja)}if(Hb.webrtcHandshakeError){d:{var Mc=Hb.webrtcHandshakeError,vf=new ks;try{Mc.description&&vf.setDescription(Mc.description);var ie=vf;break d}catch(Eb){}ie=void 0}F(gc,ks,3,ie)}if(Hb.costreamStartNotification){d:{var je=Hb.costreamStartNotification,ke=new hs;try{je.broadcastStartTimeMs&&g.D(ke,1,je.broadcastStartTimeMs);var Td=ke;break d}catch(Eb){}Td=void 0}F(gc,hs,4,Td)}if(Hb.remoteParticipant){d:{var Ce=Hb.remoteParticipant,pe=new is;try{Ce.videoSsrc&& +g.D(pe,1,Ce.videoSsrc);Ce.audioSsrc&&g.D(pe,2,Ce.audioSsrc);var td=pe;break d}catch(Eb){}td=void 0}F(gc,is,5,td)}var yb=gc;break c}catch(Eb){}yb=void 0}F(Pb,ms,5,yb)}var pb=Pb;break b}catch(Eb){}pb=void 0}F(h,ns,10,pb)}if(f.touAppealContext){b:{var rc=f.touAppealContext,id=new Ps;try{rc.scope&&g.D(id,1,rc.scope);if(rc.videoId){var le=id.setVideoId;c:{var Pe=rc.videoId,Fc=new Ns;try{Pe.externalVideoId&&g.D(Fc,1,Pe.externalVideoId);var Ud=Fc;break c}catch(Eb){}Ud=void 0}le.call(id,Ud)}if(rc.videoThumbnailId){c:{var Ad= +rc.videoThumbnailId,Vd=new Os;try{Ad.externalVideoId&&g.D(Vd,1,Ad.externalVideoId);Ad.thumbnailVersion&&g.D(Vd,3,Ad.thumbnailVersion);Ad.checksum&&g.D(Vd,4,Ad.checksum);var rg=Vd;break c}catch(Eb){}rg=void 0}Dd(id,Os,3,u3,rg)}if(rc.playlistId){c:{var Wd=rc.playlistId,Pc=new Ms;try{Wd.externalPlaylistId&&g.D(Pc,1,Wd.externalPlaylistId);var qe=Pc;break c}catch(Eb){}qe=void 0}Dd(id,Ms,4,u3,qe)}rc.urlHostname&&g.zd(id,5,u3,rc.urlHostname);rc.encodedTouViolativeContentId&&g.D(id,6,rc.encodedTouViolativeContentId); +rc.encodedChannelTouViolativeContentId&&g.D(id,7,rc.encodedChannelTouViolativeContentId);var Qc=id;break b}catch(Eb){}Qc=void 0}F(h,Ps,11,Qc)}if(f.dragAndDropContext){b:{var De=f.dragAndDropContext,Xd=new bs;try{if(De.rootVe){var ef=By(De.rootVe);F(Xd,as,1,ef)}if(De.ve){var ih=By(De.ve);F(Xd,as,2,ih)}var Ig=Xd;break b}catch(Eb){}Ig=void 0}F(h,bs,12,Ig)}if(f.socialSuggestionsContext){b:{var ff=f.socialSuggestionsContext,oc=new Ls;try{ff.u4&&g.D(oc,1,UZa[ff.u4]);ff.suggestionSelected&&g.D(oc,2,ff.suggestionSelected); +ff.source&&g.D(oc,3,VZa[ff.source]);var Yd=oc;break b}catch(Eb){}Yd=void 0}F(h,Ls,13,Yd)}if(f.featureEnablementContext){b:{var Gd=f.featureEnablementContext,Zd=new cs;try{Gd.feature&&g.D(Zd,1,rqa[Gd.feature]);var Jg=Zd;break b}catch(Eb){}Jg=void 0}F(h,cs,14,Jg)}if(f.iapContext){b:{var pc=f.iapContext,zc=new fs;try{if(pc.playIapProduct){c:{var Rc=pc.playIapProduct,Mb=new gs;try{Rc.packageId&&g.D(Mb,1,Rc.packageId);Rc.productId&&g.D(Mb,2,Rc.productId);var Hd=Mb;break c}catch(Eb){}Hd=void 0}Dd(zc,gs, +1,DZa,Hd)}pc.source&&g.D(zc,2,HZa[pc.source]);pc.attributionId&&g.D(zc,3,pc.attributionId);pc.externalVideoId&&g.D(zc,4,pc.externalVideoId);pc.externalChannelId&&g.D(zc,5,pc.externalChannelId);var Kg=zc;break b}catch(Eb){}Kg=void 0}F(h,fs,15,Kg)}if(f.shoppingCheckoutContext){b:{var gf=f.shoppingCheckoutContext,re=new Js;try{if(gf.shoppingFlowParams){c:{var Lg=gf.shoppingFlowParams,ii=new Is;try{Lg.a6&&g.D(ii,1,$Za[Lg.a6]);var Qe=ii;break c}catch(Eb){}Qe=void 0}F(re,Is,1,Qe)}gf.m4&&g.D(re,2,TZa[gf.m4]); +var Zf=re;break b}catch(Eb){}Zf=void 0}F(h,Js,16,Zf)}if(f.ypcCancellationContext){b:{var Hh=f.ypcCancellationContext,Ee=new Vs;try{Hh.pz&&g.D(Ee,1,Oy[Hh.pz]);Hh.ot&&g.D(Ee,2,Py[Hh.ot]);var sg=Ee;break b}catch(Eb){}sg=void 0}F(h,Vs,17,sg)}if(f.ypcBrowseOffersContext){b:{var Mg=f.ypcBrowseOffersContext,Ng=new Us;try{if(Mg.commerceFlowLoggingParams){var aj=Pqa(Mg.commerceFlowLoggingParams);F(Ng,Ts,1,aj)}Mg.Ez&&g.D(Ng,2,$Ya[Mg.Ez]);Mg.qH&&g.D(Ng,3,zZa[Mg.qH]);var jh=Ng;break b}catch(Eb){}jh=void 0}F(h, +Us,18,jh)}if(f.mdxStreamTransferContext){b:{var hf=f.mdxStreamTransferContext,Vc=new qs;try{hf.AX&&g.D(Vc,1,PZa[hf.AX]);var wf=Vc;break b}catch(Eb){}wf=void 0}F(h,qs,19,wf)}if(f.pdgBuyFlowContext){b:{var xf=f.pdgBuyFlowContext,Og=new Fs;try{xf.ot&&g.D(Og,1,Py[xf.ot]);if(xf.entryPointClickedContext){c:{var tg=xf.entryPointClickedContext,Db=new Ds;try{tg.M4&&g.zd(Db,1,EZa,l_a[tg.M4]);tg.K4&&g.zd(Db,2,EZa,k_a[tg.K4]);tg.l4&&g.zd(Db,3,EZa,j_a[tg.l4]);var bj=Db;break c}catch(Eb){}bj=void 0}F(Og,Ds,2,bj)}if(xf.itemSelectionPageDisplayedContext){c:{var ji= +xf.itemSelectionPageDisplayedContext,Uk=new Es;try{ji.L4&&g.D(Uk,1,m_a[ji.L4]);var Kj=Uk;break c}catch(Eb){}Kj=void 0}F(Og,Es,3,Kj)}var kh=Og;break b}catch(Eb){}kh=void 0}F(h,Fs,20,kh)}if(f.ypcPurchaseContext){b:{var zf=f.ypcPurchaseContext,cj=new Ws;try{if(zf.commerceFlowLoggingParams){var Cn=Pqa(zf.commerceFlowLoggingParams);F(cj,Ts,1,Cn)}zf.Ez&&g.D(cj,2,$Ya[zf.Ez]);zf.h5&&g.D(cj,3,ZZa[zf.h5]);zf.d3&&g.D(cj,4,aZa[zf.d3]);var Lj=cj;break b}catch(Eb){}Lj=void 0}F(h,Ws,21,Lj)}if(f.webViewContext){b:{var Id= +f.webViewContext,Pg=new Rs;try{Id.hostname&&g.D(Pg,1,Id.hostname);Id.U5&&g.D(Pg,2,u_a[Id.U5]);Id.isLoaded&&g.D(Pg,3,Id.isLoaded);Id.webViewEngagementSec&&g.D(Pg,4,Id.webViewEngagementSec);var es=Pg;break b}catch(Eb){}es=void 0}F(h,Rs,22,es)}if(f.videoSuggestionsContext){b:{var ki=f.videoSuggestionsContext,Dn=new Qs;try{ki.type&&g.D(Dn,1,VYa[ki.type]);ki.serializedSuggestionData&&Fd(Dn,2,ki.serializedSuggestionData);var qp=Dn;break b}catch(Eb){}qp=void 0}F(h,Qs,23,qp)}var En=h;break a}catch(Eb){}En= +void 0}F(b,Xs,3,En)}a.rY&&g.D(b,4,GZa[a.rY]);a.flowEventStatus&&g.D(b,5,a.flowEventStatus);a.csn&&b.Xf(a.csn);a.can&&g.D(b,7,a.can);return b}catch(Eb){}}, +idbQuotaExceeded:function(a){var b=new et;try{return a.deviceStorageUsageMbytes&&g.D(b,1,a.deviceStorageUsageMbytes),a.deviceStorageQuotaMbytes&&g.D(b,2,a.deviceStorageQuotaMbytes),a.isIframe&&g.D(b,3,a.isIframe),a.isSw&&g.D(b,4,a.isSw),a.dbName&&g.D(b,5,a.dbName),a.objectStoreNames&&g.D(b,6,a.objectStoreNames),a.transactionCount&&g.D(b,7,a.transactionCount),a.transactionMode&&g.D(b,8,a.transactionMode),b}catch(c){}}, +idbTransactionAborted:function(a){var b=new ft;try{return a.objectStoreNames&&g.D(b,1,a.objectStoreNames),a.hasWindowUnloaded&&g.D(b,2,a.hasWindowUnloaded),a.transactionCount&&g.D(b,3,a.transactionCount),a.transactionDuration&&g.D(b,4,a.transactionDuration),a.dbDuration&&g.D(b,5,a.dbDuration),b}catch(c){}}, +streamzIncremented:function(a){var b=new St;try{return a.serializedIncrementBatch&&Fd(b,1,a.serializedIncrementBatch),b}catch(c){}}, +sliEventBatch:function(a){var b=new Ur;try{if(a.loggedEvents){var c=sra(a.loggedEvents);Jd(b,1,Qr,c)}if(a.unloggedEvents){var d=sra(a.unloggedEvents);Jd(b,2,Qr,d)}a.playerClientVersion&&g.D(b,3,a.playerClientVersion);a.player_canary_state&&g.D(b,4,yZa[a.player_canary_state]);if(a.dimensions){a:{var e=a.dimensions,f=new Tr;try{e.playerClientVersion&&g.D(f,1,e.playerClientVersion);e.player_canary_state&&g.D(f,2,yZa[e.player_canary_state]);var h=f;break a}catch(l){}h=void 0}F(b,Tr,5,h)}return b}catch(l){}}, +playbackAssociated:function(a){var b=new jt;try{a.cpn&&g.D(b,1,a.cpn);if(a.playbackVe){var c=By(a.playbackVe);F(b,as,2,c)}a.csn&&b.Xf(a.csn);if(a.queueInfo){a:{var d=a.queueInfo,e=new kt;try{if(d.enqueueingVe){var f=By(d.enqueueingVe);F(e,as,1,f)}d.enqueueingCsn&&g.D(e,2,d.enqueueingCsn);d.clientEnqueueingTimeMs&&g.D(e,3,d.clientEnqueueingTimeMs);var h=e;break a}catch(l){}h=void 0}F(b,kt,4,h)}return b}catch(l){}}, +autoplayTriggered:function(a){var b=new Wr;try{return a.intentional&&g.D(b,1,a.intentional),b}catch(c){}}, +webPlayerApiCalled:function(a){var b=new Tt;try{return a.callerUrl&&g.D(b,1,a.callerUrl),a.methodName&&g.D(b,2,a.methodName),a.origin&&g.D(b,3,a.origin),a.playerStyle&&g.D(b,4,a.playerStyle),b}catch(c){}}, +embedsAdEvent:function(a){var b=new Vr;try{return a.Ur&&g.D(b,1,BZa[a.Ur]),a.break_type&&g.D(b,2,AZa[a.break_type]),a.packageName&&g.D(b,3,a.packageName),a.embedUrl&&g.D(b,4,a.embedUrl),a.QW&&g.D(b,5,CZa[a.QW]),a.youtubeHost&&g.D(b,6,a.youtubeHost),b}catch(c){}}, +embedsShouldRequestStorageAccessResult:function(a){var b=new Zr;try{return a.result&&g.D(b,1,a.result),a.returnsUndefined&&g.D(b,2,a.returnsUndefined),b}catch(c){}}, +embedsRequestStorageAccessState:function(a){var b=new Yr;try{return a.isCued&&g.D(b,1,a.isCued),a.isAutoplayBlocked&&g.D(b,2,a.isAutoplayBlocked),b}catch(c){}}, +embedsRequestStorageAccessFailedState:function(a){var b=new Xr;try{return a.state&&b.Qc(a.state),b}catch(c){}}, +heartbeatActionPlayerHalted:function(a){var b=new bt;try{return a.serializedServerContext&&Fd(b,1,a.serializedServerContext),a.enforcedPolicyToHaltOnNetworkFailure&&g.D(b,2,a.enforcedPolicyToHaltOnNetworkFailure),b}catch(c){}}, +heartbeatActionPlayerTransitioned:function(a){var b=new ct;try{return a.reason&&g.D(b,1,IZa[a.reason]),a.trigger&&g.D(b,2,JZa[a.trigger]),a.serializedServerContext&&Fd(b,3,a.serializedServerContext),b}catch(c){}}, +embedsItpWatchLaterResult:function(a){var b=new $r;try{return a.accepted&&g.D(b,1,a.accepted),b}catch(c){}}, +html5PlayerHealthEvent:function(a){var b=new dt;try{return a.started&&g.D(b,1,a.started),a.y4&&g.D(b,2,YZa[a.y4]),a.joinLatencySecs&&g.D(b,4,a.joinLatencySecs),a.playTimeSecs&&g.D(b,5,a.playTimeSecs),a.rebufferTimeSecs&&g.D(b,6,a.rebufferTimeSecs),a.j3&&g.D(b,7,KZa[a.j3]),a.isAd&&g.D(b,8,a.isAd),a.live_mode&&g.D(b,9,XZa[a.live_mode]),a.isGapless&&g.D(b,10,a.isGapless),a.hasDrm&&g.D(b,11,a.hasDrm),a.seekCount&&g.D(b,12,a.seekCount),a.networkErrorCount&&g.D(b,13,a.networkErrorCount),a.nonNetworkErrorCount&& +g.D(b,14,a.nonNetworkErrorCount),a.isServerStitchedDai&&g.D(b,15,a.isServerStitchedDai),b}catch(c){}}, +adsClientStateChange:function(a){var b=new Sq;try{if(a.cuepointTrigger){a:{var c=a.cuepointTrigger,d=new Hq;try{c.type&&g.D(d,1,nZa[c.type]);c.event&&g.D(d,2,mZa[c.event]);c.cuepointId&&g.D(d,3,c.cuepointId);c.totalCueDurationMs&&g.D(d,4,c.totalCueDurationMs);c.playheadTimeMs&&g.D(d,5,c.playheadTimeMs);c.cueStartTimeMs&&g.D(d,6,c.cueStartTimeMs);c.cuepointReceivedTimeMs&&g.D(d,7,c.cuepointReceivedTimeMs);c.contentCpn&&g.D(d,8,c.contentCpn);c.externalChannelId&&g.D(d,9,c.externalChannelId);var e=d; +break a}catch(Ia){}e=void 0}Dd(b,Hq,1,Z2,e)}if(a.daiStateTrigger){a:{var f=a.daiStateTrigger,h=new Mq;try{f.contentCpn&&g.D(h,1,f.contentCpn);f.totalCueDurationMs&&g.D(h,2,f.totalCueDurationMs);f.filledAdsDurationMs&&g.D(h,3,f.filledAdsDurationMs);f.eH&&g.D(h,4,tZa[f.eH]);f.cH&&g.D(h,5,rZa[f.cH]);f.dH&&g.D(h,6,sZa[f.dH]);f.Tr&&g.D(h,7,uZa[f.Tr]);f.externalChannelId&&g.D(h,8,f.externalChannelId);if(f.adClientData){var l=My(f.adClientData);F(h,Aq,9,l)}var m=h;break a}catch(Ia){}m=void 0}Dd(b,Mq,2,Z2, +m)}if(a.daiAdBreakCriticalError){a:{var n=a.daiAdBreakCriticalError,p=new Iq;try{n.contentCpn&&g.D(p,1,n.contentCpn);n.Tr&&g.D(p,2,uZa[n.Tr]);n.externalChannelId&&g.D(p,3,n.externalChannelId);n.msg&&g.D(p,4,n.msg);n.cueIdentifier&&g.D(p,5,n.cueIdentifier);var q=p;break a}catch(Ia){}q=void 0}Dd(b,Iq,3,Z2,q)}if(a.daiAdBreakWarning){a:{var v=a.daiAdBreakWarning,w=new Kq;try{v.contentCpn&&g.D(w,1,v.contentCpn);v.Tr&&g.D(w,2,uZa[v.Tr]);v.externalChannelId&&g.D(w,3,v.externalChannelId);v.msg&&g.D(w,4,v.msg); +v.cueIdentifier&&g.D(w,5,v.cueIdentifier);var y=w;break a}catch(Ia){}y=void 0}Dd(b,Kq,4,Z2,y)}if(a.daiAdBreakInfo){a:{var A=a.daiAdBreakInfo,B=new Jq;try{A.contentCpn&&g.D(B,1,A.contentCpn);A.totalCueDurationMs&&g.D(B,2,A.totalCueDurationMs);A.filledAdsDurationMs&&g.D(B,3,A.filledAdsDurationMs);A.eH&&g.D(B,4,tZa[A.eH]);A.cH&&g.D(B,5,rZa[A.cH]);A.dH&&g.D(B,6,sZa[A.dH]);A.externalChannelId&&g.D(B,7,A.externalChannelId);A.cueIdentifier&&g.D(B,8,A.cueIdentifier);A.qZ&&g.D(B,9,vZa[A.qZ]);A.msg&&g.D(B, +10,A.msg);A.filledAdCount&&g.D(B,11,A.filledAdCount);var E=B;break a}catch(Ia){}E=void 0}Dd(b,Jq,5,Z2,E)}if(a.visibilityErrorDebugInfo){a:{var G=a.visibilityErrorDebugInfo,H=new Rq;try{G.elementName&&g.D(H,1,G.elementName);G.contentVideoPlaybackEventId&&g.D(H,2,G.contentVideoPlaybackEventId);G.errorList&&g.D(H,3,G.errorList);G.htmlDump&&g.D(H,4,G.htmlDump);var I=H;break a}catch(Ia){}I=void 0}Dd(b,Rq,6,Z2,I)}if(a.playbackTimelineAdBreakStateTrigger){a:{var O=a.playbackTimelineAdBreakStateTrigger,L= +new Qq;try{O.cueIdentifier&&g.D(L,1,O.cueIdentifier);O.timestampUnixEpochSec&&g.D(L,2,O.timestampUnixEpochSec);O.OW&&g.D(L,3,oZa[O.OW]);O.Z3&&g.D(L,4,pZa[O.Z3]);O.timestampUnixEpochMs&&g.D(L,5,O.timestampUnixEpochMs);var P=L;break a}catch(Ia){}P=void 0}Dd(b,Qq,7,Z2,P)}if(a.extraLongAdBreakDebugInfo){a:{var S=a.extraLongAdBreakDebugInfo,ca=new Pq;try{S.contentVideoPlaybackEventId&&g.D(ca,1,S.contentVideoPlaybackEventId);if(S.adPlacementKindCuepointInitiatedCueRange){var R=Ny(S.adPlacementKindCuepointInitiatedCueRange); +F(ca,Oq,2,R)}if(S.adPlacementConfigImpliedCueRange){var na=Ny(S.adPlacementConfigImpliedCueRange);F(ca,Oq,3,na)}if(S.adPlacementKindMillisecondsInitiatedCueRange){var sa=Ny(S.adPlacementKindMillisecondsInitiatedCueRange);F(ca,Oq,4,sa)}S.cueIdentifier&&g.D(ca,5,S.cueIdentifier);var Aa=ca;break a}catch(Ia){}Aa=void 0}Dd(b,Pq,8,Z2,Aa)}if(a.comparePyvAdTagInfo){a:{var wa=a.comparePyvAdTagInfo,ta=new Gq;try{wa.pyvAdTagUrlFromPlayer&&g.D(ta,1,wa.pyvAdTagUrlFromPlayer);wa.pyvAdTagUrlFromWatchNext&&g.D(ta, +2,wa.pyvAdTagUrlFromWatchNext);var Ma=ta;break a}catch(Ia){}Ma=void 0}Dd(b,Gq,9,Z2,Ma)}if(a.driftRecoveryInfo){a:{var Ka=a.driftRecoveryInfo,qa=new Nq;try{Ka.contentCpn&&g.D(qa,1,Ka.contentCpn);Ka.cueIdentifier&&g.D(qa,2,Ka.cueIdentifier);Ka.driftRecoveryMs&&g.D(qa,3,Ka.driftRecoveryMs);Ka.breakDurationMs&&g.D(qa,4,Ka.breakDurationMs);Ka.driftFromHeadMs&&g.D(qa,5,Ka.driftFromHeadMs);Ka.appliedDriftRecoveryMs&&g.D(qa,6,Ka.appliedDriftRecoveryMs);Ka.destinationMs&&g.D(qa,7,Ka.destinationMs);if(Ka.adClientData){var nb= +My(Ka.adClientData);F(qa,Aq,8,nb)}var Sb=qa;break a}catch(Ia){}Sb=void 0}Dd(b,Nq,10,Z2,Sb)}if(a.adsClientEvent){a:{var Ua=a.adsClientEvent,$a=new Fq;try{Ua.Ur&&g.D($a,1,lZa[Ua.Ur]);if(Ua.adClientData){var bc=My(Ua.adClientData);F($a,Aq,3,bc)}Ua.serializedAdServingData&&Fd($a,4,Ua.serializedAdServingData);Ua.eventOrder&&g.D($a,5,Ua.eventOrder);Ua.serializedSlotAdServingData&&Fd($a,6,Ua.serializedSlotAdServingData);if(Ua.errorInfo){b:{var Sa=Ua.errorInfo,ab=new Eq;try{Sa.Tr&&g.D(ab,1,kZa[Sa.Tr]);Sa.gY&& +g.D(ab,2,jZa[Sa.gY]);var tb=ab;break b}catch(Ia){}tb=void 0}F($a,Eq,7,tb)}var fc=$a;break a}catch(Ia){}fc=void 0}Dd(b,Fq,11,Z2,fc)}if(a.daiAdStateTracking){a:{var Tb=a.daiAdStateTracking,Lc=new Lq;try{Tb.Ur&&g.D(Lc,1,qZa[Tb.Ur]);Tb.contentCpn&&g.D(Lc,2,Tb.contentCpn);Tb.externalChannelId&&g.D(Lc,3,Tb.externalChannelId);Tb.adCpn&&g.D(Lc,4,Tb.adCpn);Tb.adCount&&g.D(Lc,5,Tb.adCount);Tb.msg&&g.D(Lc,6,Tb.msg);var nc=Lc;break a}catch(Ia){}nc=void 0}Dd(b,Lq,12,Z2,nc)}if(a.adTrimmingInfo){a:{var bd=a.adTrimmingInfo, +cd=new Bq;try{bd.contentCpn&&g.D(cd,1,bd.contentCpn);bd.cueIdentifier&&g.D(cd,2,bd.cueIdentifier);if(bd.adMediaInfo){b:{var ob=bd.adMediaInfo,Pb=new Cq;try{ob.externalVideoId&&g.D(Pb,1,ob.externalVideoId);ob.originalMediaDurationMs&&g.D(Pb,2,ob.originalMediaDurationMs);ob.trimmedMediaDurationMs&&g.D(Pb,3,ob.trimmedMediaDurationMs);var Hb=Pb;break b}catch(Ia){}Hb=void 0}Jd(cd,3,Cq,Hb)}var gc=cd;break a}catch(Ia){}gc=void 0}Dd(b,Bq,13,Z2,gc)}if(a.adsAttributionEvent){a:{var Kb=a.adsAttributionEvent, +hc=new Dq;try{Kb.fY&&g.D(hc,1,wZa[Kb.fY]);Kb.bX&&g.D(hc,2,xZa[Kb.bX]);Kb.innerErrorDomain&&g.D(hc,3,Kb.innerErrorDomain);Kb.innerErrorCode&&g.D(hc,4,Kb.innerErrorCode);var Ga=hc;break a}catch(Ia){}Ga=void 0}Dd(b,Dq,14,Z2,Ga)}return b}catch(Ia){}}, +offlineTransferStatusChanged:Lpa,offlineStateSnapshot:function(a){var b=new Rt;try{if(a.offlineVideos){a:{var c=a.offlineVideos,d=new Ot;try{c.id&&g.D(d,1,c.id);c.P5&&g.D(d,2,QZa[c.P5]);c.pendingStateFlags&&g.D(d,3,c.pendingStateFlags);c.totalBytes&&g.D(d,21,c.totalBytes);c.downloadedBytes&&g.D(d,4,c.downloadedBytes);c.wK&&g.D(d,5,zy[c.wK]);c.a4&&g.D(d,6,Epa[c.a4]);c.playerResponseSavedTimeMs&&g.D(d,7,c.playerResponseSavedTimeMs);c.offlineStateUpdateTimeMs&&g.D(d,8,c.offlineStateUpdateTimeMs);c.offlineStateExpiresInS&& +g.D(d,9,c.offlineStateExpiresInS);c.durationInS&&g.D(d,10,c.durationInS);c.isInPlaylist&&g.D(d,11,c.isInPlaylist);c.TW&&g.D(d,12,yy[c.TW]);c.QX&&g.D(d,13,yy[c.QX]);if(c.captions){b:{var e=c.captions,f=new Pt;try{e.format&&g.D(f,1,e.format);e.isDownloaded&&g.D(f,2,e.isDownloaded);var h=f;break b}catch(tb){}h=void 0}Jd(d,14,Pt,h)}c.tL&&g.D(d,15,Hpa[c.tL]);c.lastPlaybackTimestampMs&&g.D(d,16,c.lastPlaybackTimestampMs);if(c.offlineSuspendedStates){b:{var l=c.offlineSuspendedStates,m=new Mt;try{l.totalDownloadedBytes&& +g.D(m,1,l.totalDownloadedBytes);l.totalSegmentCount&&g.D(m,2,l.totalSegmentCount);l.backgroundTransitionCount&&g.D(m,3,l.backgroundTransitionCount);l.totalDurationMs&&g.D(m,4,l.totalDurationMs);l.downloadErrorCount&&g.D(m,5,l.downloadErrorCount);l.totalDownloadedSizePercent&&g.D(m,6,l.totalDownloadedSizePercent);var n=m;break b}catch(tb){}n=void 0}Jd(d,17,Mt,n)}c.streamInLocalStorage&&g.D(d,18,c.streamInLocalStorage);c.streamInInternalStorage&&g.D(d,19,c.streamInInternalStorage);if(c.storageIdStates){b:{var p= +c.storageIdStates,q=new Nt;try{p.storageId&&g.D(q,1,p.storageId);p.D4&&g.D(q,2,WZa[p.D4]);var v=q;break b}catch(tb){}v=void 0}F(d,Nt,20,v)}c.cotn&&g.D(d,22,c.cotn);if(c.additionalVideoClientState){var w=new Lt;F(d,Lt,23,w)}if(c.offlineVideoEntityMigrationState){b:{var y=c.offlineVideoEntityMigrationState,A=new Qt;try{y.isInOfflineStore&&g.D(A,1,y.isInOfflineStore);y.isPlaybackDataEntityPresent&&g.D(A,2,y.isPlaybackDataEntityPresent);y.wasPlaybackDataEntityUsedToFillVideoState&&g.D(A,3,y.wasPlaybackDataEntityUsedToFillVideoState); +y.isTransferEntityPresent&&g.D(A,4,y.isTransferEntityPresent);y.wasTransferEntityUsedToFillVideoState&&g.D(A,5,y.wasTransferEntityUsedToFillVideoState);y.offlineStoreCaptionTrackCount&&g.D(A,6,y.offlineStoreCaptionTrackCount);y.entityStoreCaptionTrackCount&&g.D(A,7,y.entityStoreCaptionTrackCount);y.isMetadataEntityPresent&&g.D(A,8,y.isMetadataEntityPresent);var B=A;break b}catch(tb){}B=void 0}F(d,Qt,24,B)}var E=d;break a}catch(tb){}E=void 0}Jd(b,1,Ot,E)}if(a.offlinePlaylists){a:{var G=a.offlinePlaylists, +H=new Kt;try{G.id&&g.D(H,1,G.id);G.videoIds&&g.xd(H,2,G.videoIds);G.videoCount&&g.D(H,3,G.videoCount);G.successCount&&g.D(H,4,G.successCount);G.failCount&&g.D(H,5,G.failCount);G.pendingCount&&g.D(H,6,G.pendingCount);G.disabledCount&&g.D(H,7,G.disabledCount);G.deletedCount&&g.D(H,8,G.deletedCount);G.wK&&g.D(H,9,zy[G.wK]);G.isPlaylistOwner&&g.D(H,10,G.isPlaylistOwner);G.lastSyncTimeMs&&g.D(H,11,G.lastSyncTimeMs);G.G3&&g.D(H,12,i_a[G.G3]);var I=H;break a}catch(tb){}I=void 0}Jd(b,2,Kt,I)}a.freeDiskSpaceBytes&& +g.D(b,3,a.freeDiskSpaceBytes);a.lastOfflineUsageTimeMs&&g.D(b,4,a.lastOfflineUsageTimeMs);a.lastOfflinePlaybackTimeMs&&g.D(b,5,a.lastOfflinePlaybackTimeMs);a.lastOfflineSaveTimeMs&&g.D(b,6,a.lastOfflineSaveTimeMs);a.lastOfflineDownloadSuccessTimeMs&&g.D(b,7,a.lastOfflineDownloadSuccessTimeMs);a.isBatteryCharging&&g.D(b,8,a.isBatteryCharging);a.hH&&g.D(b,9,yy[a.hH]);a.batteryLevelPercentage&&g.D(b,10,a.batteryLevelPercentage);a.isPostMigrationState&&g.D(b,11,a.isPostMigrationState);if(a.offlineCacheVerificationFailure){a:{var O= +a.offlineCacheVerificationFailure,L=new Dt;try{O.numUncachedVideos&&g.D(L,1,O.numUncachedVideos);O.numTotalCompletedVideos&&g.D(L,2,O.numTotalCompletedVideos);if(O.uncachedVideos){b:{var P=O.uncachedVideos,S=new Et;try{P.videoId&&S.setVideoId(P.videoId);P.itag&&g.D(S,6,P.itag);P.Vr&&g.D(S,2,e_a[P.Vr]);P.isCachedExternally&&g.D(S,3,P.isCachedExternally);P.o3&&g.D(S,4,e_a[P.o3]);P.previousFailureReasonTimestampMs&&g.D(S,5,P.previousFailureReasonTimestampMs);P.VK&&g.D(S,7,Ay[P.VK]);P.blockSizeBytes&& +g.D(S,8,P.blockSizeBytes);if(P.streamVerificationFailedBlocks){c:{var ca=P.streamVerificationFailedBlocks,R=new Ft;try{ca.itag&&g.D(R,1,ca.itag);ca.startingByte&&g.D(R,2,ca.startingByte);var na=R;break c}catch(tb){}na=void 0}Jd(S,9,Ft,na)}P.q3&&g.D(S,10,Ay[P.q3]);P.W3&&g.D(S,11,Ay[P.W3]);P.V3&&g.D(S,12,e_a[P.V3]);var sa=S;break b}catch(tb){}sa=void 0}Jd(L,3,Et,sa)}var Aa=L;break a}catch(tb){}Aa=void 0}F(b,Dt,12,Aa)}if(a.additionalOfflineClientState){a:{var wa=a.additionalOfflineClientState,ta=new Jt; +try{if(wa.mainAppAdditionalOfflineClientState){b:{var Ma=wa.mainAppAdditionalOfflineClientState,Ka=new It;try{if(Ma.downloadRecsVideos){c:{var qa=Ma.downloadRecsVideos,nb=new Gt;try{qa.videoId&&nb.setVideoId(qa.videoId);qa.surrogateVideoId&&g.D(nb,2,qa.surrogateVideoId);var Sb=nb;break c}catch(tb){}Sb=void 0}Jd(Ka,1,Gt,Sb)}if(Ma.smartDownloadVideos){c:{var Ua=Ma.smartDownloadVideos,$a=new Ht;try{Ua.externalVideoId&&g.D($a,1,Ua.externalVideoId);Ua.videoSid&&g.D($a,2,Ua.videoSid);var bc=$a;break c}catch(tb){}bc= +void 0}Jd(Ka,2,Ht,bc)}var Sa=Ka;break b}catch(tb){}Sa=void 0}F(ta,It,1,Sa)}var ab=ta;break a}catch(tb){}ab=void 0}F(b,Jt,13,ab)}return b}catch(tb){}}},NRa={adNotify:function(a,b,c){var d=new Wt; +Dd(d,kq,184,ty,a);c?ry(d,c,b):sy(d,b)}, +biscottiBasedDetection:function(a,b,c){var d=new Wt;Dd(d,Hr,439,ty,a);c?ry(d,c,b):sy(d,b)}, +adNotifyFilled:function(a,b,c){var d=new Wt;Dd(d,jq,300,ty,a);c?ry(d,c,b):sy(d,b)}, +idbTransactionEnded:function(a,b,c){var d=new Wt;Dd(d,gt,352,ty,a);c?ry(d,c,b):sy(d,b)}, +idbUnexpectedlyClosed:function(a,b,c){var d=new Wt;Dd(d,ht,348,ty,a);c?ry(d,c,b):sy(d,b)}, +flowEvent:function(a,b,c){var d=new Wt;Dd(d,Zs,304,ty,a);c?ry(d,c,b):sy(d,b)}, +idbQuotaExceeded:function(a,b,c){var d=new Wt;Dd(d,et,351,ty,a);c?ry(d,c,b):sy(d,b)}, +idbTransactionAborted:function(a,b,c){var d=new Wt;Dd(d,ft,353,ty,a);c?ry(d,c,b):sy(d,b)}, +streamzIncremented:function(a,b,c){var d=new Wt;Dd(d,St,126,ty,a);c?ry(d,c,b):sy(d,b)}, +sliEventBatch:function(a,b,c){var d=new Wt;Dd(d,Ur,344,ty,a);c?ry(d,c,b):sy(d,b)}, +playbackAssociated:fpa,autoplayTriggered:function(a,b,c){var d=new Wt;Dd(d,Wr,209,ty,a);c?ry(d,c,b):sy(d,b)}, +webPlayerApiCalled:function(a,b,c){var d=new Wt;Dd(d,Tt,76,ty,a);c?ry(d,c,b):sy(d,b)}, +embedsAdEvent:function(a,b,c){var d=new Wt;Dd(d,Vr,327,ty,a);c?ry(d,c,b):sy(d,b)}, +embedsShouldRequestStorageAccessResult:function(a,b,c){var d=new Wt;Dd(d,Zr,251,ty,a);c?ry(d,c,b):sy(d,b)}, +embedsRequestStorageAccessState:function(a,b,c){var d=new Wt;Dd(d,Yr,256,ty,a);c?ry(d,c,b):sy(d,b)}, +embedsRequestStorageAccessFailedState:function(a,b,c){var d=new Wt;Dd(d,Xr,257,ty,a);c?ry(d,c,b):sy(d,b)}, +heartbeatActionPlayerHalted:function(a,b,c){var d=new Wt;Dd(d,bt,332,ty,a);c?ry(d,c,b):sy(d,b)}, +heartbeatActionPlayerTransitioned:function(a,b,c){var d=new Wt;Dd(d,ct,330,ty,a);c?ry(d,c,b):sy(d,b)}, +embedsItpWatchLaterResult:function(a,b,c){var d=new Wt;Dd(d,$r,266,ty,a);c?ry(d,c,b):sy(d,b)}, +html5PlayerHealthEvent:function(a,b,c){var d=new Wt;Dd(d,dt,293,ty,a);c?ry(d,c,b):sy(d,b)}, +adsClientStateChange:function(a,b,c){var d=new Wt;Dd(d,Sq,197,ty,a);c?ry(d,c,b):sy(d,b)}, +offlineTransferStatusChanged:function(a,b,c){var d=new Wt;Dd(d,xs,2,ty,a);c?ry(d,c,b):sy(d,b)}, +offlineStateSnapshot:function(a,b,c){var d=new Wt;Dd(d,Rt,22,ty,a);c?ry(d,c,b):sy(d,b)}};var ORa=!1,Sy=void 0,Ty=void 0,ura=g.ux;var vra=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]);var Ara={};g.u($y,g.K);$y.prototype.P=function(a,b,c,d,e){c=hu((0,g.Ta)(c,d||this.Ya));c={target:a,name:b,callback:c};var f;e&&Cra()&&(f={passive:!0});a.addEventListener(b,c.callback,f);this.I.push(c);return c}; +$y.prototype.uc=function(a){for(var b=0;b=this.start&&(aL_a.length)J_a=void 0;else{var M_a=K_a.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);J_a=M_a&&6==M_a.length?Number(M_a[5].replace("_",".")):0}var yI=J_a,RO=0<=yI;RO&&0<=g.rb().search("Safari")&&g.rb().search("Version");g.u(BA,Za);g.u(CA,Hw);g.u(eva,Hw);var mva=new Iw("aft-recorded",CA),N_a=new Iw("timing-sent",eva);var N3=window,EA=N3.performance||N3.mozPerformance||N3.msPerformance||N3.webkitPerformance||new fva;var lva=!1,oB={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'script[name="mobile-c3"]':"mcj",'link[rel="stylesheet"][name="mobile-c3"]':"mcc",'script[name="player-plasma-ias-phone/base"]':"mcppj",'script[name="player-plasma-ias-tablet/base"]':"mcptj",'link[rel="stylesheet"][name="mobile-polymer-player-ias"]':"mcpc", +'link[rel="stylesheet"][name="mobile-polymer-player-svg-ias"]':"mcpsc",'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"}, +xva=(0,g.Ta)(EA.clearResourceTimings||EA.webkitClearResourceTimings||EA.mozClearResourceTimings||EA.msClearResourceTimings||EA.oClearResourceTimings||g.Yf,EA);var O3={},rva=(O3.auto_search="LATENCY_ACTION_AUTO_SEARCH",O3.ad_to_ad="LATENCY_ACTION_AD_TO_AD",O3.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",O3["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",O3.app_startup="LATENCY_ACTION_APP_STARTUP",O3["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",O3["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",O3["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",O3["song.analytics"]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS", +O3.browse="LATENCY_ACTION_BROWSE",O3.cast_splash="LATENCY_ACTION_CAST_SPLASH",O3.channels="LATENCY_ACTION_CHANNELS",O3.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",O3["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",O3["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",O3["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",O3["channel.content.promotions"]="LATENCY_ACTION_CREATOR_PROMOTION_LIST",O3["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT", +O3["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",O3["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",O3["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",O3["channel.music_storefront"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT",O3["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS",O3["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",O3["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",O3["channel.live_streaming"]= +"LATENCY_ACTION_CREATOR_LIVE_STREAMING",O3.chips="LATENCY_ACTION_CHIPS",O3["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",O3["dialog.video_copyright"]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT",O3["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",O3.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",O3.embed="LATENCY_ACTION_EMBED",O3.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",O3.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF", +O3.explore="LATENCY_ACTION_EXPLORE",O3.home="LATENCY_ACTION_HOME",O3.library="LATENCY_ACTION_LIBRARY",O3.live="LATENCY_ACTION_LIVE",O3.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",O3.onboarding="LATENCY_ACTION_ONBOARDING",O3.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",O3.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",O3.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",O3.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",O3["post.comments"]= +"LATENCY_ACTION_CREATOR_POST_COMMENTS",O3["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",O3.prebuffer="LATENCY_ACTION_PREBUFFER",O3.prefetch="LATENCY_ACTION_PREFETCH",O3.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",O3.profile_switcher="LATENCY_ACTION_LOGIN",O3.reel_watch="LATENCY_ACTION_REEL_WATCH",O3.results="LATENCY_ACTION_RESULTS",O3["promotion.edit"]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT",O3.search_ui="LATENCY_ACTION_SEARCH_UI",O3.search_suggest="LATENCY_ACTION_SUGGEST",O3.search_zero_state= +"LATENCY_ACTION_SEARCH_ZERO_STATE",O3.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",O3.seek="LATENCY_ACTION_PLAYER_SEEK",O3.settings="LATENCY_ACTION_SETTINGS",O3.store="LATENCY_ACTION_STORE",O3.tenx="LATENCY_ACTION_TENX",O3.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",O3.watch="LATENCY_ACTION_WATCH",O3.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",O3["watch,watch7"]="LATENCY_ACTION_WATCH",O3["watch,watch7_html5"]="LATENCY_ACTION_WATCH",O3["watch,watch7ad"]="LATENCY_ACTION_WATCH",O3["watch,watch7ad_html5"]= +"LATENCY_ACTION_WATCH",O3.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",O3.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",O3["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",O3["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",O3["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",O3["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",O3["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",O3["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",O3["video.live_streaming"]= +"LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",O3["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",O3["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",O3.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",O3.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",O3.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",O3),P3={},sva=(P3.ad_allowed="adTypesAllowed",P3.yt_abt="adBreakType",P3.ad_cpn="adClientPlaybackNonce",P3.ad_docid="adVideoId", +P3.yt_ad_an="adNetworks",P3.ad_at="adType",P3.aida="appInstallDataAgeMs",P3.browse_id="browseId",P3.p="httpProtocol",P3.t="transportProtocol",P3.cs="commandSource",P3.cpn="clientPlaybackNonce",P3.ccs="creatorInfo.creatorCanaryState",P3.ctop="creatorInfo.topEntityType",P3.csn="clientScreenNonce",P3.docid="videoId",P3.GetHome_rid="requestIds",P3.GetSearch_rid="requestIds",P3.GetPlayer_rid="requestIds",P3.GetWatchNext_rid="requestIds",P3.GetBrowse_rid="requestIds",P3.GetLibrary_rid="requestIds",P3.is_continuation= +"isContinuation",P3.is_nav="isNavigation",P3.b_p="kabukiInfo.browseParams",P3.is_prefetch="kabukiInfo.isPrefetch",P3.is_secondary_nav="kabukiInfo.isSecondaryNav",P3.nav_type="kabukiInfo.navigationType",P3.prev_browse_id="kabukiInfo.prevBrowseId",P3.query_source="kabukiInfo.querySource",P3.voz_type="kabukiInfo.vozType",P3.yt_lt="loadType",P3.mver="creatorInfo.measurementVersion",P3.yt_ad="isMonetized",P3.nr="webInfo.navigationReason",P3.nrsu="navigationRequestedSameUrl",P3.pnt="performanceNavigationTiming", +P3.prt="playbackRequiresTap",P3.plt="playerInfo.playbackType",P3.pis="playerInfo.playerInitializedState",P3.paused="playerInfo.isPausedOnLoad",P3.yt_pt="playerType",P3.fmt="playerInfo.itag",P3.yt_pl="watchInfo.isPlaylist",P3.yt_pre="playerInfo.preloadType",P3.yt_ad_pr="prerollAllowed",P3.pa="previousAction",P3.yt_red="isRedSubscriber",P3.rce="mwebInfo.responseContentEncoding",P3.rc="resourceInfo.resourceCache",P3.scrh="screenHeight",P3.scrw="screenWidth",P3.st="serverTimeMs",P3.ssdm="shellStartupDurationMs", +P3.br_trs="tvInfo.bedrockTriggerState",P3.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",P3.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",P3.label="tvInfo.label",P3.is_mdx="tvInfo.isMdx",P3.preloaded="tvInfo.isPreloaded",P3.aac_type="tvInfo.authAccessCredentialType",P3.upg_player_vis="playerInfo.visibilityState",P3.query="unpluggedInfo.query",P3.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",P3.yt_vst="videoStreamType",P3.vph="viewportHeight",P3.vpw="viewportWidth",P3.yt_vis= +"isVisible",P3.rcl="mwebInfo.responseContentLength",P3.GetSettings_rid="requestIds",P3.GetTrending_rid="requestIds",P3.GetMusicSearchSuggestions_rid="requestIds",P3.REQUEST_ID="requestIds",P3),tva="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized navigationRequestedSameUrl performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "), +Q3={},uva=(Q3.ccs="CANARY_STATE_",Q3.mver="MEASUREMENT_VERSION_",Q3.pis="PLAYER_INITIALIZED_STATE_",Q3.yt_pt="LATENCY_PLAYER_",Q3.pa="LATENCY_ACTION_",Q3.ctop="TOP_ENTITY_TYPE_",Q3.yt_vst="VIDEO_STREAM_TYPE_",Q3),vva="all_vc ap aq c cbr cbrand cbrver cmodel cos cosver cplatform ctheme cver ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" ");var V={LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING:179,LATENCY_ACTION_KIDS_PROFILE_SWITCHER:90,LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER:100,LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC:46,LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR:37,LATENCY_ACTION_SPINNER_DISPLAYED:14,LATENCY_ACTION_PLAYABILITY_CHECK:10,LATENCY_ACTION_PROCESS:9,LATENCY_ACTION_APP_STARTUP:5,LATENCY_ACTION_COMMERCE_TRANSACTION:184,LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC:173,LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC:172, +LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC:171,LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC:170,LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC:169,LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC:168,LATENCY_ACTION_GET_OFFERS_RPC:167,LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC:166,LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC:165,LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC:164,LATENCY_ACTION_GET_OFFER_DETAILS_RPC:163,LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC:162,LATENCY_ACTION_GET_TIP_MODULE_RPC:161,LATENCY_ACTION_HANDLE_TRANSACTION_RPC:160, +LATENCY_ACTION_COMPLETE_TRANSACTION_RPC:159,LATENCY_ACTION_GET_CART_RPC:158,LATENCY_ACTION_THUMBNAIL_FETCH:156,LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK:154,LATENCY_ACTION_SHARE_VIDEO:153,LATENCY_ACTION_AD_TO_VIDEO_INT:152,LATENCY_ACTION_ABANDONED_BROWSE:151,LATENCY_ACTION_PLAYER_ROTATION:150,LATENCY_ACTION_GENERIC_WEB_VIEW:183,LATENCY_ACTION_SHOPPING_IN_APP:124,LATENCY_ACTION_PLAYER_ATTESTATION:121,LATENCY_ACTION_PLAYER_SEEK:119,LATENCY_ACTION_SUPER_STICKER_BUY_FLOW:114,LATENCY_ACTION_DOWNLOADS_DATA_ACCESS:180, +LATENCY_ACTION_BLOCKS_PERFORMANCE:148,LATENCY_ACTION_ASSISTANT_QUERY:138,LATENCY_ACTION_ASSISTANT_SETTINGS:137,LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF:129,LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF:128,LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE:127,LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION:123,LATENCY_ACTION_NETWORKLESS_PERFORMANCE:122,LATENCY_ACTION_DOWNLOADS_EXPANSION:133,LATENCY_ACTION_ENTITY_TRANSFORM:131,LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER:96,LATENCY_ACTION_EMBEDS_SET_VIDEO:95, +LATENCY_ACTION_SETTINGS:93,LATENCY_ACTION_ABANDONED_STARTUP:81,LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY:80,LATENCY_ACTION_MEDIA_BROWSER_SEARCH:79,LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE:78,LATENCY_ACTION_WHO_IS_WATCHING:77,LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH:76,LATENCY_ACTION_LITE_SWITCH_ACCOUNT:73,LATENCY_ACTION_ELEMENTS_PERFORMANCE:70,LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION:69,LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION:65,LATENCY_ACTION_OFFLINE_STORE_START:61,LATENCY_ACTION_REEL_EDITOR:58, +LATENCY_ACTION_CHANNEL_SUBSCRIBE:56,LATENCY_ACTION_CHANNEL_PREVIEW:55,LATENCY_ACTION_PREFETCH:52,LATENCY_ACTION_ABANDONED_WATCH:45,LATENCY_ACTION_LOAD_COMMENT_REPLIES:26,LATENCY_ACTION_LOAD_COMMENTS:25,LATENCY_ACTION_EDIT_COMMENT:24,LATENCY_ACTION_NEW_COMMENT:23,LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING:19,LATENCY_ACTION_EMBED:18,LATENCY_ACTION_MDX_LAUNCH:15,LATENCY_ACTION_RESOLVE_URL:13,LATENCY_ACTION_CAST_SPLASH:149,LATENCY_ACTION_MDX_STREAM_TRANSFER:178,LATENCY_ACTION_MDX_CAST:120,LATENCY_ACTION_MDX_COMMAND:12, +LATENCY_ACTION_REEL_SELECT_SEGMENT:136,LATENCY_ACTION_ACCELERATED_EFFECTS:145,LATENCY_ACTION_EDIT_AUDIO_GEN:182,LATENCY_ACTION_UPLOAD_AUDIO_MIXER:147,LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING:157,LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING:146,LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK:130,LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD:125,LATENCY_ACTION_SHORTS_VIDEO_INGESTION:155,LATENCY_ACTION_SHORTS_GALLERY:107,LATENCY_ACTION_SHORTS_TRIM:105,LATENCY_ACTION_SHORTS_EDIT:104,LATENCY_ACTION_SHORTS_CAMERA:103, +LATENCY_ACTION_PARENT_TOOLS_DASHBOARD:102,LATENCY_ACTION_PARENT_TOOLS_COLLECTION:101,LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS:116,LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS:115,LATENCY_ACTION_MUSIC_ALBUM_DETAIL:72,LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL:71,LATENCY_ACTION_STORE:175,LATENCY_ACTION_CHIPS:68,LATENCY_ACTION_SEARCH_ZERO_STATE:67,LATENCY_ACTION_LIVE_PAGINATION:117,LATENCY_ACTION_LIVE:20,LATENCY_ACTION_PREBUFFER:40,LATENCY_ACTION_TENX:39,LATENCY_ACTION_KIDS_PROFILE_SETTINGS:94,LATENCY_ACTION_KIDS_WATCH_IT_AGAIN:92, +LATENCY_ACTION_KIDS_SECRET_CODE:91,LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS:89,LATENCY_ACTION_KIDS_ONBOARDING:88,LATENCY_ACTION_KIDS_VOICE_SEARCH:82,LATENCY_ACTION_KIDS_CURATED_COLLECTION:62,LATENCY_ACTION_KIDS_LIBRARY:53,LATENCY_ACTION_CREATOR_PROMOTION_LIST:186,LATENCY_ACTION_CREATOR_PROMOTION_EDIT:185,LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS:38,LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION:74,LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING:141,LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS:142,LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC:51, +LATENCY_ACTION_CREATOR_VIDEO_EDITOR:50,LATENCY_ACTION_CREATOR_VIDEO_EDIT:36,LATENCY_ACTION_CREATOR_VIDEO_COMMENTS:34,LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS:33,LATENCY_ACTION_CREATOR_SONG_ANALYTICS:176,LATENCY_ACTION_CREATOR_POST_LIST:112,LATENCY_ACTION_CREATOR_POST_EDIT:110,LATENCY_ACTION_CREATOR_POST_COMMENTS:111,LATENCY_ACTION_CREATOR_LIVE_STREAMING:108,LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT:174,LATENCY_ACTION_CREATOR_DIALOG_UPLOADS:86,LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES:87,LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS:32, +LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS:48,LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS:139,LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT:177,LATENCY_ACTION_CREATOR_CHANNEL_MUSIC:99,LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION:43,LATENCY_ACTION_CREATOR_CHANNEL_EDITING:113,LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD:49,LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT:44,LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS:66,LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS:31,LATENCY_ACTION_CREATOR_ARTIST_PROFILE:85,LATENCY_ACTION_CREATOR_ARTIST_CONCERTS:84, +LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS:83,LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE:140,LATENCY_ACTION_EXPERIMENTAL_WATCH_UI:181,LATENCY_ACTION_STORYBOARD_THUMBNAILS:118,LATENCY_ACTION_SEARCH_THUMBNAILS:59,LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD:54,LATENCY_ACTION_VOICE_ASSISTANT:47,LATENCY_ACTION_SEARCH_UI:35,LATENCY_ACTION_SUGGEST:30,LATENCY_ACTION_AUTO_SEARCH:126,LATENCY_ACTION_DOWNLOADS:98,LATENCY_ACTION_EXPLORE:75,LATENCY_ACTION_VIDEO_LIST:63,LATENCY_ACTION_HOME_RESUME:60,LATENCY_ACTION_SUBSCRIPTIONS_LIST:57, +LATENCY_ACTION_THUMBNAIL_LOAD:42,LATENCY_ACTION_FIRST_THUMBNAIL_LOAD:29,LATENCY_ACTION_SUBSCRIPTIONS_FEED:109,LATENCY_ACTION_SUBSCRIPTIONS:28,LATENCY_ACTION_TRENDING:27,LATENCY_ACTION_LIBRARY:21,LATENCY_ACTION_VIDEO_THUMBNAIL:8,LATENCY_ACTION_SHOW_MORE:7,LATENCY_ACTION_VIDEO_PREVIEW:6,LATENCY_ACTION_PREBUFFER_VIDEO:144,LATENCY_ACTION_PREFETCH_VIDEO:143,LATENCY_ACTION_DIRECT_PLAYBACK:132,LATENCY_ACTION_REEL_WATCH:41,LATENCY_ACTION_AD_TO_AD:22,LATENCY_ACTION_VIDEO_TO_AD:17,LATENCY_ACTION_AD_TO_VIDEO:16, +LATENCY_ACTION_ONBOARDING:135,LATENCY_ACTION_LOGIN:97,LATENCY_ACTION_BROWSE:11,LATENCY_ACTION_CHANNELS:4,LATENCY_ACTION_WATCH:3,LATENCY_ACTION_RESULTS:2,LATENCY_ACTION_HOME:1,LATENCY_ACTION_STARTUP:106,LATENCY_ACTION_UNKNOWN:0};V[V.LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING";V[V.LATENCY_ACTION_KIDS_PROFILE_SWITCHER]="LATENCY_ACTION_KIDS_PROFILE_SWITCHER";V[V.LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER]="LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER"; +V[V.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC";V[V.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR";V[V.LATENCY_ACTION_SPINNER_DISPLAYED]="LATENCY_ACTION_SPINNER_DISPLAYED";V[V.LATENCY_ACTION_PLAYABILITY_CHECK]="LATENCY_ACTION_PLAYABILITY_CHECK";V[V.LATENCY_ACTION_PROCESS]="LATENCY_ACTION_PROCESS";V[V.LATENCY_ACTION_APP_STARTUP]="LATENCY_ACTION_APP_STARTUP";V[V.LATENCY_ACTION_COMMERCE_TRANSACTION]="LATENCY_ACTION_COMMERCE_TRANSACTION"; +V[V.LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC]="LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC";V[V.LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC]="LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC";V[V.LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC]="LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC";V[V.LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC]="LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC";V[V.LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC]="LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC"; +V[V.LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC]="LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC";V[V.LATENCY_ACTION_GET_OFFERS_RPC]="LATENCY_ACTION_GET_OFFERS_RPC";V[V.LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC]="LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC";V[V.LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC]="LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC";V[V.LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC]="LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC";V[V.LATENCY_ACTION_GET_OFFER_DETAILS_RPC]="LATENCY_ACTION_GET_OFFER_DETAILS_RPC"; +V[V.LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC]="LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC";V[V.LATENCY_ACTION_GET_TIP_MODULE_RPC]="LATENCY_ACTION_GET_TIP_MODULE_RPC";V[V.LATENCY_ACTION_HANDLE_TRANSACTION_RPC]="LATENCY_ACTION_HANDLE_TRANSACTION_RPC";V[V.LATENCY_ACTION_COMPLETE_TRANSACTION_RPC]="LATENCY_ACTION_COMPLETE_TRANSACTION_RPC";V[V.LATENCY_ACTION_GET_CART_RPC]="LATENCY_ACTION_GET_CART_RPC";V[V.LATENCY_ACTION_THUMBNAIL_FETCH]="LATENCY_ACTION_THUMBNAIL_FETCH"; +V[V.LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK]="LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK";V[V.LATENCY_ACTION_SHARE_VIDEO]="LATENCY_ACTION_SHARE_VIDEO";V[V.LATENCY_ACTION_AD_TO_VIDEO_INT]="LATENCY_ACTION_AD_TO_VIDEO_INT";V[V.LATENCY_ACTION_ABANDONED_BROWSE]="LATENCY_ACTION_ABANDONED_BROWSE";V[V.LATENCY_ACTION_PLAYER_ROTATION]="LATENCY_ACTION_PLAYER_ROTATION";V[V.LATENCY_ACTION_GENERIC_WEB_VIEW]="LATENCY_ACTION_GENERIC_WEB_VIEW";V[V.LATENCY_ACTION_SHOPPING_IN_APP]="LATENCY_ACTION_SHOPPING_IN_APP"; +V[V.LATENCY_ACTION_PLAYER_ATTESTATION]="LATENCY_ACTION_PLAYER_ATTESTATION";V[V.LATENCY_ACTION_PLAYER_SEEK]="LATENCY_ACTION_PLAYER_SEEK";V[V.LATENCY_ACTION_SUPER_STICKER_BUY_FLOW]="LATENCY_ACTION_SUPER_STICKER_BUY_FLOW";V[V.LATENCY_ACTION_DOWNLOADS_DATA_ACCESS]="LATENCY_ACTION_DOWNLOADS_DATA_ACCESS";V[V.LATENCY_ACTION_BLOCKS_PERFORMANCE]="LATENCY_ACTION_BLOCKS_PERFORMANCE";V[V.LATENCY_ACTION_ASSISTANT_QUERY]="LATENCY_ACTION_ASSISTANT_QUERY";V[V.LATENCY_ACTION_ASSISTANT_SETTINGS]="LATENCY_ACTION_ASSISTANT_SETTINGS"; +V[V.LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF";V[V.LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF";V[V.LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE]="LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE";V[V.LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION]="LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION";V[V.LATENCY_ACTION_NETWORKLESS_PERFORMANCE]="LATENCY_ACTION_NETWORKLESS_PERFORMANCE"; +V[V.LATENCY_ACTION_DOWNLOADS_EXPANSION]="LATENCY_ACTION_DOWNLOADS_EXPANSION";V[V.LATENCY_ACTION_ENTITY_TRANSFORM]="LATENCY_ACTION_ENTITY_TRANSFORM";V[V.LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER]="LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER";V[V.LATENCY_ACTION_EMBEDS_SET_VIDEO]="LATENCY_ACTION_EMBEDS_SET_VIDEO";V[V.LATENCY_ACTION_SETTINGS]="LATENCY_ACTION_SETTINGS";V[V.LATENCY_ACTION_ABANDONED_STARTUP]="LATENCY_ACTION_ABANDONED_STARTUP";V[V.LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY]="LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY"; +V[V.LATENCY_ACTION_MEDIA_BROWSER_SEARCH]="LATENCY_ACTION_MEDIA_BROWSER_SEARCH";V[V.LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE]="LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE";V[V.LATENCY_ACTION_WHO_IS_WATCHING]="LATENCY_ACTION_WHO_IS_WATCHING";V[V.LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH]="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH";V[V.LATENCY_ACTION_LITE_SWITCH_ACCOUNT]="LATENCY_ACTION_LITE_SWITCH_ACCOUNT";V[V.LATENCY_ACTION_ELEMENTS_PERFORMANCE]="LATENCY_ACTION_ELEMENTS_PERFORMANCE"; +V[V.LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION]="LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION";V[V.LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION]="LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION";V[V.LATENCY_ACTION_OFFLINE_STORE_START]="LATENCY_ACTION_OFFLINE_STORE_START";V[V.LATENCY_ACTION_REEL_EDITOR]="LATENCY_ACTION_REEL_EDITOR";V[V.LATENCY_ACTION_CHANNEL_SUBSCRIBE]="LATENCY_ACTION_CHANNEL_SUBSCRIBE";V[V.LATENCY_ACTION_CHANNEL_PREVIEW]="LATENCY_ACTION_CHANNEL_PREVIEW";V[V.LATENCY_ACTION_PREFETCH]="LATENCY_ACTION_PREFETCH"; +V[V.LATENCY_ACTION_ABANDONED_WATCH]="LATENCY_ACTION_ABANDONED_WATCH";V[V.LATENCY_ACTION_LOAD_COMMENT_REPLIES]="LATENCY_ACTION_LOAD_COMMENT_REPLIES";V[V.LATENCY_ACTION_LOAD_COMMENTS]="LATENCY_ACTION_LOAD_COMMENTS";V[V.LATENCY_ACTION_EDIT_COMMENT]="LATENCY_ACTION_EDIT_COMMENT";V[V.LATENCY_ACTION_NEW_COMMENT]="LATENCY_ACTION_NEW_COMMENT";V[V.LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING]="LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING";V[V.LATENCY_ACTION_EMBED]="LATENCY_ACTION_EMBED"; +V[V.LATENCY_ACTION_MDX_LAUNCH]="LATENCY_ACTION_MDX_LAUNCH";V[V.LATENCY_ACTION_RESOLVE_URL]="LATENCY_ACTION_RESOLVE_URL";V[V.LATENCY_ACTION_CAST_SPLASH]="LATENCY_ACTION_CAST_SPLASH";V[V.LATENCY_ACTION_MDX_STREAM_TRANSFER]="LATENCY_ACTION_MDX_STREAM_TRANSFER";V[V.LATENCY_ACTION_MDX_CAST]="LATENCY_ACTION_MDX_CAST";V[V.LATENCY_ACTION_MDX_COMMAND]="LATENCY_ACTION_MDX_COMMAND";V[V.LATENCY_ACTION_REEL_SELECT_SEGMENT]="LATENCY_ACTION_REEL_SELECT_SEGMENT";V[V.LATENCY_ACTION_ACCELERATED_EFFECTS]="LATENCY_ACTION_ACCELERATED_EFFECTS"; +V[V.LATENCY_ACTION_EDIT_AUDIO_GEN]="LATENCY_ACTION_EDIT_AUDIO_GEN";V[V.LATENCY_ACTION_UPLOAD_AUDIO_MIXER]="LATENCY_ACTION_UPLOAD_AUDIO_MIXER";V[V.LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING]="LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING";V[V.LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING]="LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING";V[V.LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK]="LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK";V[V.LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD]="LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD"; +V[V.LATENCY_ACTION_SHORTS_VIDEO_INGESTION]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION";V[V.LATENCY_ACTION_SHORTS_GALLERY]="LATENCY_ACTION_SHORTS_GALLERY";V[V.LATENCY_ACTION_SHORTS_TRIM]="LATENCY_ACTION_SHORTS_TRIM";V[V.LATENCY_ACTION_SHORTS_EDIT]="LATENCY_ACTION_SHORTS_EDIT";V[V.LATENCY_ACTION_SHORTS_CAMERA]="LATENCY_ACTION_SHORTS_CAMERA";V[V.LATENCY_ACTION_PARENT_TOOLS_DASHBOARD]="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD";V[V.LATENCY_ACTION_PARENT_TOOLS_COLLECTION]="LATENCY_ACTION_PARENT_TOOLS_COLLECTION"; +V[V.LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS";V[V.LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS";V[V.LATENCY_ACTION_MUSIC_ALBUM_DETAIL]="LATENCY_ACTION_MUSIC_ALBUM_DETAIL";V[V.LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL]="LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL";V[V.LATENCY_ACTION_STORE]="LATENCY_ACTION_STORE";V[V.LATENCY_ACTION_CHIPS]="LATENCY_ACTION_CHIPS";V[V.LATENCY_ACTION_SEARCH_ZERO_STATE]="LATENCY_ACTION_SEARCH_ZERO_STATE"; +V[V.LATENCY_ACTION_LIVE_PAGINATION]="LATENCY_ACTION_LIVE_PAGINATION";V[V.LATENCY_ACTION_LIVE]="LATENCY_ACTION_LIVE";V[V.LATENCY_ACTION_PREBUFFER]="LATENCY_ACTION_PREBUFFER";V[V.LATENCY_ACTION_TENX]="LATENCY_ACTION_TENX";V[V.LATENCY_ACTION_KIDS_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PROFILE_SETTINGS";V[V.LATENCY_ACTION_KIDS_WATCH_IT_AGAIN]="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN";V[V.LATENCY_ACTION_KIDS_SECRET_CODE]="LATENCY_ACTION_KIDS_SECRET_CODE";V[V.LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS"; +V[V.LATENCY_ACTION_KIDS_ONBOARDING]="LATENCY_ACTION_KIDS_ONBOARDING";V[V.LATENCY_ACTION_KIDS_VOICE_SEARCH]="LATENCY_ACTION_KIDS_VOICE_SEARCH";V[V.LATENCY_ACTION_KIDS_CURATED_COLLECTION]="LATENCY_ACTION_KIDS_CURATED_COLLECTION";V[V.LATENCY_ACTION_KIDS_LIBRARY]="LATENCY_ACTION_KIDS_LIBRARY";V[V.LATENCY_ACTION_CREATOR_PROMOTION_LIST]="LATENCY_ACTION_CREATOR_PROMOTION_LIST";V[V.LATENCY_ACTION_CREATOR_PROMOTION_EDIT]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT"; +V[V.LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS";V[V.LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION";V[V.LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING";V[V.LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS";V[V.LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC"; +V[V.LATENCY_ACTION_CREATOR_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR";V[V.LATENCY_ACTION_CREATOR_VIDEO_EDIT]="LATENCY_ACTION_CREATOR_VIDEO_EDIT";V[V.LATENCY_ACTION_CREATOR_VIDEO_COMMENTS]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS";V[V.LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS";V[V.LATENCY_ACTION_CREATOR_SONG_ANALYTICS]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS";V[V.LATENCY_ACTION_CREATOR_POST_LIST]="LATENCY_ACTION_CREATOR_POST_LIST"; +V[V.LATENCY_ACTION_CREATOR_POST_EDIT]="LATENCY_ACTION_CREATOR_POST_EDIT";V[V.LATENCY_ACTION_CREATOR_POST_COMMENTS]="LATENCY_ACTION_CREATOR_POST_COMMENTS";V[V.LATENCY_ACTION_CREATOR_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_LIVE_STREAMING";V[V.LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT";V[V.LATENCY_ACTION_CREATOR_DIALOG_UPLOADS]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS";V[V.LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES"; +V[V.LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS";V[V.LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS";V[V.LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS";V[V.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT";V[V.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC";V[V.LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION"; +V[V.LATENCY_ACTION_CREATOR_CHANNEL_EDITING]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING";V[V.LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD]="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD";V[V.LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT";V[V.LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS";V[V.LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS";V[V.LATENCY_ACTION_CREATOR_ARTIST_PROFILE]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE"; +V[V.LATENCY_ACTION_CREATOR_ARTIST_CONCERTS]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS";V[V.LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS";V[V.LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE";V[V.LATENCY_ACTION_EXPERIMENTAL_WATCH_UI]="LATENCY_ACTION_EXPERIMENTAL_WATCH_UI";V[V.LATENCY_ACTION_STORYBOARD_THUMBNAILS]="LATENCY_ACTION_STORYBOARD_THUMBNAILS";V[V.LATENCY_ACTION_SEARCH_THUMBNAILS]="LATENCY_ACTION_SEARCH_THUMBNAILS"; +V[V.LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD]="LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD";V[V.LATENCY_ACTION_VOICE_ASSISTANT]="LATENCY_ACTION_VOICE_ASSISTANT";V[V.LATENCY_ACTION_SEARCH_UI]="LATENCY_ACTION_SEARCH_UI";V[V.LATENCY_ACTION_SUGGEST]="LATENCY_ACTION_SUGGEST";V[V.LATENCY_ACTION_AUTO_SEARCH]="LATENCY_ACTION_AUTO_SEARCH";V[V.LATENCY_ACTION_DOWNLOADS]="LATENCY_ACTION_DOWNLOADS";V[V.LATENCY_ACTION_EXPLORE]="LATENCY_ACTION_EXPLORE";V[V.LATENCY_ACTION_VIDEO_LIST]="LATENCY_ACTION_VIDEO_LIST"; +V[V.LATENCY_ACTION_HOME_RESUME]="LATENCY_ACTION_HOME_RESUME";V[V.LATENCY_ACTION_SUBSCRIPTIONS_LIST]="LATENCY_ACTION_SUBSCRIPTIONS_LIST";V[V.LATENCY_ACTION_THUMBNAIL_LOAD]="LATENCY_ACTION_THUMBNAIL_LOAD";V[V.LATENCY_ACTION_FIRST_THUMBNAIL_LOAD]="LATENCY_ACTION_FIRST_THUMBNAIL_LOAD";V[V.LATENCY_ACTION_SUBSCRIPTIONS_FEED]="LATENCY_ACTION_SUBSCRIPTIONS_FEED";V[V.LATENCY_ACTION_SUBSCRIPTIONS]="LATENCY_ACTION_SUBSCRIPTIONS";V[V.LATENCY_ACTION_TRENDING]="LATENCY_ACTION_TRENDING"; +V[V.LATENCY_ACTION_LIBRARY]="LATENCY_ACTION_LIBRARY";V[V.LATENCY_ACTION_VIDEO_THUMBNAIL]="LATENCY_ACTION_VIDEO_THUMBNAIL";V[V.LATENCY_ACTION_SHOW_MORE]="LATENCY_ACTION_SHOW_MORE";V[V.LATENCY_ACTION_VIDEO_PREVIEW]="LATENCY_ACTION_VIDEO_PREVIEW";V[V.LATENCY_ACTION_PREBUFFER_VIDEO]="LATENCY_ACTION_PREBUFFER_VIDEO";V[V.LATENCY_ACTION_PREFETCH_VIDEO]="LATENCY_ACTION_PREFETCH_VIDEO";V[V.LATENCY_ACTION_DIRECT_PLAYBACK]="LATENCY_ACTION_DIRECT_PLAYBACK";V[V.LATENCY_ACTION_REEL_WATCH]="LATENCY_ACTION_REEL_WATCH"; +V[V.LATENCY_ACTION_AD_TO_AD]="LATENCY_ACTION_AD_TO_AD";V[V.LATENCY_ACTION_VIDEO_TO_AD]="LATENCY_ACTION_VIDEO_TO_AD";V[V.LATENCY_ACTION_AD_TO_VIDEO]="LATENCY_ACTION_AD_TO_VIDEO";V[V.LATENCY_ACTION_ONBOARDING]="LATENCY_ACTION_ONBOARDING";V[V.LATENCY_ACTION_LOGIN]="LATENCY_ACTION_LOGIN";V[V.LATENCY_ACTION_BROWSE]="LATENCY_ACTION_BROWSE";V[V.LATENCY_ACTION_CHANNELS]="LATENCY_ACTION_CHANNELS";V[V.LATENCY_ACTION_WATCH]="LATENCY_ACTION_WATCH";V[V.LATENCY_ACTION_RESULTS]="LATENCY_ACTION_RESULTS"; +V[V.LATENCY_ACTION_HOME]="LATENCY_ACTION_HOME";V[V.LATENCY_ACTION_STARTUP]="LATENCY_ACTION_STARTUP";V[V.LATENCY_ACTION_UNKNOWN]="LATENCY_ACTION_UNKNOWN";var aB={LATENCY_NETWORK_MOBILE:2,LATENCY_NETWORK_WIFI:1,LATENCY_NETWORK_UNKNOWN:0};aB[aB.LATENCY_NETWORK_MOBILE]="LATENCY_NETWORK_MOBILE";aB[aB.LATENCY_NETWORK_WIFI]="LATENCY_NETWORK_WIFI";aB[aB.LATENCY_NETWORK_UNKNOWN]="LATENCY_NETWORK_UNKNOWN"; +var bB={CONN_INVALID:31,CONN_CELLULAR_5G_NSA:12,CONN_CELLULAR_5G_SA:11,CONN_WIFI_METERED:10,CONN_CELLULAR_5G:9,CONN_DISCO:8,CONN_CELLULAR_UNKNOWN:7,CONN_CELLULAR_4G:6,CONN_CELLULAR_3G:5,CONN_CELLULAR_2G:4,CONN_WIFI:3,CONN_NONE:2,CONN_UNKNOWN:1,CONN_DEFAULT:0};bB[bB.CONN_INVALID]="CONN_INVALID";bB[bB.CONN_CELLULAR_5G_NSA]="CONN_CELLULAR_5G_NSA";bB[bB.CONN_CELLULAR_5G_SA]="CONN_CELLULAR_5G_SA";bB[bB.CONN_WIFI_METERED]="CONN_WIFI_METERED";bB[bB.CONN_CELLULAR_5G]="CONN_CELLULAR_5G"; +bB[bB.CONN_DISCO]="CONN_DISCO";bB[bB.CONN_CELLULAR_UNKNOWN]="CONN_CELLULAR_UNKNOWN";bB[bB.CONN_CELLULAR_4G]="CONN_CELLULAR_4G";bB[bB.CONN_CELLULAR_3G]="CONN_CELLULAR_3G";bB[bB.CONN_CELLULAR_2G]="CONN_CELLULAR_2G";bB[bB.CONN_WIFI]="CONN_WIFI";bB[bB.CONN_NONE]="CONN_NONE";bB[bB.CONN_UNKNOWN]="CONN_UNKNOWN";bB[bB.CONN_DEFAULT]="CONN_DEFAULT"; +var cB={DETAILED_NETWORK_TYPE_NR_NSA:126,DETAILED_NETWORK_TYPE_NR_SA:125,DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED:124,DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT:123,DETAILED_NETWORK_TYPE_DISCONNECTED:122,DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN:121,DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN:120,DETAILED_NETWORK_TYPE_WIMAX:119,DETAILED_NETWORK_TYPE_ETHERNET:118,DETAILED_NETWORK_TYPE_BLUETOOTH:117,DETAILED_NETWORK_TYPE_WIFI:116,DETAILED_NETWORK_TYPE_LTE:115,DETAILED_NETWORK_TYPE_HSPAP:114,DETAILED_NETWORK_TYPE_EHRPD:113, +DETAILED_NETWORK_TYPE_EVDO_B:112,DETAILED_NETWORK_TYPE_UMTS:111,DETAILED_NETWORK_TYPE_IDEN:110,DETAILED_NETWORK_TYPE_HSUPA:109,DETAILED_NETWORK_TYPE_HSPA:108,DETAILED_NETWORK_TYPE_HSDPA:107,DETAILED_NETWORK_TYPE_EVDO_A:106,DETAILED_NETWORK_TYPE_EVDO_0:105,DETAILED_NETWORK_TYPE_CDMA:104,DETAILED_NETWORK_TYPE_1_X_RTT:103,DETAILED_NETWORK_TYPE_GPRS:102,DETAILED_NETWORK_TYPE_EDGE:101,DETAILED_NETWORK_TYPE_UNKNOWN:0};cB[cB.DETAILED_NETWORK_TYPE_NR_NSA]="DETAILED_NETWORK_TYPE_NR_NSA"; +cB[cB.DETAILED_NETWORK_TYPE_NR_SA]="DETAILED_NETWORK_TYPE_NR_SA";cB[cB.DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED]="DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED";cB[cB.DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT]="DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT";cB[cB.DETAILED_NETWORK_TYPE_DISCONNECTED]="DETAILED_NETWORK_TYPE_DISCONNECTED";cB[cB.DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN";cB[cB.DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN"; +cB[cB.DETAILED_NETWORK_TYPE_WIMAX]="DETAILED_NETWORK_TYPE_WIMAX";cB[cB.DETAILED_NETWORK_TYPE_ETHERNET]="DETAILED_NETWORK_TYPE_ETHERNET";cB[cB.DETAILED_NETWORK_TYPE_BLUETOOTH]="DETAILED_NETWORK_TYPE_BLUETOOTH";cB[cB.DETAILED_NETWORK_TYPE_WIFI]="DETAILED_NETWORK_TYPE_WIFI";cB[cB.DETAILED_NETWORK_TYPE_LTE]="DETAILED_NETWORK_TYPE_LTE";cB[cB.DETAILED_NETWORK_TYPE_HSPAP]="DETAILED_NETWORK_TYPE_HSPAP";cB[cB.DETAILED_NETWORK_TYPE_EHRPD]="DETAILED_NETWORK_TYPE_EHRPD";cB[cB.DETAILED_NETWORK_TYPE_EVDO_B]="DETAILED_NETWORK_TYPE_EVDO_B"; +cB[cB.DETAILED_NETWORK_TYPE_UMTS]="DETAILED_NETWORK_TYPE_UMTS";cB[cB.DETAILED_NETWORK_TYPE_IDEN]="DETAILED_NETWORK_TYPE_IDEN";cB[cB.DETAILED_NETWORK_TYPE_HSUPA]="DETAILED_NETWORK_TYPE_HSUPA";cB[cB.DETAILED_NETWORK_TYPE_HSPA]="DETAILED_NETWORK_TYPE_HSPA";cB[cB.DETAILED_NETWORK_TYPE_HSDPA]="DETAILED_NETWORK_TYPE_HSDPA";cB[cB.DETAILED_NETWORK_TYPE_EVDO_A]="DETAILED_NETWORK_TYPE_EVDO_A";cB[cB.DETAILED_NETWORK_TYPE_EVDO_0]="DETAILED_NETWORK_TYPE_EVDO_0";cB[cB.DETAILED_NETWORK_TYPE_CDMA]="DETAILED_NETWORK_TYPE_CDMA"; +cB[cB.DETAILED_NETWORK_TYPE_1_X_RTT]="DETAILED_NETWORK_TYPE_1_X_RTT";cB[cB.DETAILED_NETWORK_TYPE_GPRS]="DETAILED_NETWORK_TYPE_GPRS";cB[cB.DETAILED_NETWORK_TYPE_EDGE]="DETAILED_NETWORK_TYPE_EDGE";cB[cB.DETAILED_NETWORK_TYPE_UNKNOWN]="DETAILED_NETWORK_TYPE_UNKNOWN";var dB={LATENCY_PLAYER_RTSP:7,LATENCY_PLAYER_HTML5_INLINE:6,LATENCY_PLAYER_HTML5_FULLSCREEN:5,LATENCY_PLAYER_HTML5:4,LATENCY_PLAYER_FRAMEWORK:3,LATENCY_PLAYER_FLASH:2,LATENCY_PLAYER_EXO:1,LATENCY_PLAYER_UNKNOWN:0}; +dB[dB.LATENCY_PLAYER_RTSP]="LATENCY_PLAYER_RTSP";dB[dB.LATENCY_PLAYER_HTML5_INLINE]="LATENCY_PLAYER_HTML5_INLINE";dB[dB.LATENCY_PLAYER_HTML5_FULLSCREEN]="LATENCY_PLAYER_HTML5_FULLSCREEN";dB[dB.LATENCY_PLAYER_HTML5]="LATENCY_PLAYER_HTML5";dB[dB.LATENCY_PLAYER_FRAMEWORK]="LATENCY_PLAYER_FRAMEWORK";dB[dB.LATENCY_PLAYER_FLASH]="LATENCY_PLAYER_FLASH";dB[dB.LATENCY_PLAYER_EXO]="LATENCY_PLAYER_EXO";dB[dB.LATENCY_PLAYER_UNKNOWN]="LATENCY_PLAYER_UNKNOWN"; +var eB={LATENCY_AD_BREAK_TYPE_POSTROLL:3,LATENCY_AD_BREAK_TYPE_MIDROLL:2,LATENCY_AD_BREAK_TYPE_PREROLL:1,LATENCY_AD_BREAK_TYPE_UNKNOWN:0};eB[eB.LATENCY_AD_BREAK_TYPE_POSTROLL]="LATENCY_AD_BREAK_TYPE_POSTROLL";eB[eB.LATENCY_AD_BREAK_TYPE_MIDROLL]="LATENCY_AD_BREAK_TYPE_MIDROLL";eB[eB.LATENCY_AD_BREAK_TYPE_PREROLL]="LATENCY_AD_BREAK_TYPE_PREROLL";eB[eB.LATENCY_AD_BREAK_TYPE_UNKNOWN]="LATENCY_AD_BREAK_TYPE_UNKNOWN";var fB={LATENCY_ACTION_ERROR_STARTUP_TIMEOUT:1,LATENCY_ACTION_ERROR_UNSPECIFIED:0}; +fB[fB.LATENCY_ACTION_ERROR_STARTUP_TIMEOUT]="LATENCY_ACTION_ERROR_STARTUP_TIMEOUT";fB[fB.LATENCY_ACTION_ERROR_UNSPECIFIED]="LATENCY_ACTION_ERROR_UNSPECIFIED";var gB={LIVE_STREAM_MODE_WINDOW:5,LIVE_STREAM_MODE_POST:4,LIVE_STREAM_MODE_LP:3,LIVE_STREAM_MODE_LIVE:2,LIVE_STREAM_MODE_DVR:1,LIVE_STREAM_MODE_UNKNOWN:0};gB[gB.LIVE_STREAM_MODE_WINDOW]="LIVE_STREAM_MODE_WINDOW";gB[gB.LIVE_STREAM_MODE_POST]="LIVE_STREAM_MODE_POST";gB[gB.LIVE_STREAM_MODE_LP]="LIVE_STREAM_MODE_LP"; +gB[gB.LIVE_STREAM_MODE_LIVE]="LIVE_STREAM_MODE_LIVE";gB[gB.LIVE_STREAM_MODE_DVR]="LIVE_STREAM_MODE_DVR";gB[gB.LIVE_STREAM_MODE_UNKNOWN]="LIVE_STREAM_MODE_UNKNOWN";var hB={VIDEO_STREAM_TYPE_VOD:3,VIDEO_STREAM_TYPE_DVR:2,VIDEO_STREAM_TYPE_LIVE:1,VIDEO_STREAM_TYPE_UNSPECIFIED:0};hB[hB.VIDEO_STREAM_TYPE_VOD]="VIDEO_STREAM_TYPE_VOD";hB[hB.VIDEO_STREAM_TYPE_DVR]="VIDEO_STREAM_TYPE_DVR";hB[hB.VIDEO_STREAM_TYPE_LIVE]="VIDEO_STREAM_TYPE_LIVE";hB[hB.VIDEO_STREAM_TYPE_UNSPECIFIED]="VIDEO_STREAM_TYPE_UNSPECIFIED"; +var iB={YT_IDB_TRANSACTION_TYPE_READ:2,YT_IDB_TRANSACTION_TYPE_WRITE:1,YT_IDB_TRANSACTION_TYPE_UNKNOWN:0};iB[iB.YT_IDB_TRANSACTION_TYPE_READ]="YT_IDB_TRANSACTION_TYPE_READ";iB[iB.YT_IDB_TRANSACTION_TYPE_WRITE]="YT_IDB_TRANSACTION_TYPE_WRITE";iB[iB.YT_IDB_TRANSACTION_TYPE_UNKNOWN]="YT_IDB_TRANSACTION_TYPE_UNKNOWN";var jB={PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN:2,PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT:1,PLAYER_ROTATION_TYPE_UNKNOWN:0};jB[jB.PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN]="PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN"; +jB[jB.PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT]="PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT";jB[jB.PLAYER_ROTATION_TYPE_UNKNOWN]="PLAYER_ROTATION_TYPE_UNKNOWN";var yva="actionVisualElement spinnerInfo resourceInfo playerInfo commentInfo mdxInfo watchInfo thumbnailLoadInfo creatorInfo unpluggedInfo reelInfo subscriptionsFeedInfo requestIds mediaBrowserActionInfo musicLoadActionInfo shoppingInfo webViewInfo prefetchInfo accelerationSession commerceInfo webInfo tvInfo kabukiInfo mwebInfo musicInfo".split(" ");var TA=g.C.ytLoggingLatencyUsageStats_||{};g.Fa("ytLoggingLatencyUsageStats_",TA);RA.prototype.tick=function(a,b,c,d){UA(this,"tick_"+a+"_"+b)||(c={timestamp:c,cttAuthInfo:d},g.T("web_csi_via_jspb")?(d=new Ct,g.D(d,1,a),g.D(d,2,b),a=new Wt,Dd(a,Ct,5,ty,d),sy(a,c)):g.Mv("latencyActionTicked",{tickName:a,clientActionNonce:b},c))}; +RA.prototype.info=function(a,b,c){var d=Object.keys(a).join("");UA(this,"info_"+d+"_"+b)||(a=Object.assign({},a),a.clientActionNonce=b,g.Mv("latencyActionInfo",a,{cttAuthInfo:c}))}; +RA.prototype.jspbInfo=function(a,b,c){for(var d="",e=0;e=e.length?(b.append(e),a-=e.length):a?(b.append(new Uint8Array(e.buffer,e.byteOffset,a)),c.append(new Uint8Array(e.buffer,e.byteOffset+a,e.length-a)),a=0):c.append(e);return{IC:b,So:c}}; +TB.prototype.isFocused=function(a){return a>=this.B&&aa.Ia&&this.index.getFirstSegmentNumber()<=a.Ia+1}; +g.k.update=function(a,b,c){this.index.append(a);awa(this.index,c);this.index.u=b}; +g.k.Sf=function(){return this.Yv()?!0:ZC.prototype.Sf.call(this)}; +g.k.fp=function(a,b){var c=this.index.getSegmentURL(a),d=this.index.getStartTime(a),e=this.index.getDuration(a),f;b?e=f=0:f=0c&&(this.segments=this.segments.slice(b))}}; +g.k.sC=function(){return this.Om}; +g.k.zv=function(a){if(!this.mm)return SB.prototype.zv.call(this,a);if(!this.segments.length)return null;var b=this.segments[this.segments.length-1];if(a=b.endTime)b=b.Ia+Math.floor((a-b.endTime)/this.Zh+1);else{b=lc(this.segments,function(d){return a=d.endTime?1:0}); +if(0<=b)return this.segments[b];var c=-(b+1);b=this.segments[c-1];c=this.segments[c];b=Math.floor((a-b.endTime)/((c.startTime-b.endTime)/(c.Ia-b.Ia-1))+1)+b.Ia}return this.zm(b)}; +g.k.zm=function(a){if(!this.mm)return SB.prototype.zm.call(this,a);if(!this.segments.length)return null;var b=zD(this,a);if(0<=b)return this.segments[b];var c=-(b+1);b=this.Zh;if(0===c)var d=Math.max(0,this.segments[0].startTime-(this.segments[0].Ia-a)*b);else c===this.segments.length?(d=this.segments[this.segments.length-1],d=d.endTime+(a-d.Ia-1)*b):(d=this.segments[c-1],b=this.segments[c],b=(b.startTime-d.endTime)/(b.Ia-d.Ia-1),d=d.endTime+(a-d.Ia-1)*b);return new RB(a,d,b,0,"sq/"+a,void 0,void 0, +!0)};g.u(BD,uD);g.k=BD.prototype;g.k.jz=function(){return!0}; +g.k.Sf=function(){return!0}; +g.k.ep=function(a){return this.Cs()&&a.u&&!a.Ae||!a.j.index.AI(a.Ia)}; +g.k.Mp=function(){}; +g.k.Dm=function(a,b){return"number"!==typeof a||isFinite(a)?uD.prototype.Dm.call(this,a,void 0===b?!1:b):new pD([new dD(3,this,void 0,"mlLiveGetReqInfoStubForTime",-1,void 0,this.zk,void 0,this.zk*this.info.Pb)],"")}; +g.k.fp=function(a,b){var c=void 0===c?!1:c;if(AD(this.index,a))return uD.prototype.fp.call(this,a,b);var d=this.index.getStartTime(a);return new pD([new dD(c?6:3,this,void 0,"mlLiveCreateReqInfoForSeg",a,d,void 0,void 0,b?0:this.zk*this.info.Pb,!b)],0<=a?"sq/"+a:"")};g.u(CD,ZC);g.k=CD.prototype;g.k.Wm=function(){return!1}; +g.k.Cs=function(){return!1}; +g.k.jz=function(){return!1}; +g.k.Mp=function(){return new pD([new dD(1,this,void 0,"otfInit")],this.I)}; +g.k.Bu=function(){return null}; +g.k.Cx=function(a){this.ep(a);return hxa(this,lD(a),!1)}; +g.k.Dm=function(a,b){b=void 0===b?!1:b;a=this.index.getSegmentNumberForTime(a);b&&(a=Math.min(this.index.getLastSegmentNumber(),a+1));return hxa(this,a,!0)}; +g.k.eI=function(a){1===a.info.type&&(this.j||(this.j=ewa(a.j)),a.u&&"http://youtube.com/streaming/otf/durations/112015"===a.u.uri&&ixa(this,a.u))}; +g.k.ep=function(a){return 0===a.u?!0:this.index.getLastSegmentNumber()>a.Ia&&this.index.getFirstSegmentNumber()<=a.Ia+1}; +g.k.OH=function(){return 0}; +g.k.VJ=function(){return!1};g.k=DD.prototype;g.k.getOffset=function(a){return this.offsets[a]}; +g.k.getStartTime=function(a){return this.j[a]/this.B}; +g.k.getStartTimeInPeriod=function(){return 0}; +g.k.getIngestionTime=function(){return NaN}; +g.k.getDuration=function(a){a=this.getDurationTicks(a);return 0<=a?a/this.B:-1}; +g.k.getDurationTicks=function(a){return a+1=this.getLastSegmentNumber())return 0;var c=0;for(b=this.getStartTime(a)+b;athis.getStartTime(a);a++)c=Math.max(c,this.getByteLength(a)/this.getDuration(a));return c}; +g.k.resize=function(a){a+=2;var b=this.offsets;this.offsets=new Float64Array(a+1);var c=this.j;this.j=new Float64Array(a+1);for(a=0;athis.info.u||4===this.info.type)return!0;var b=GD(this),c=b.getUint32(0,!1);b=b.getUint32(4,!1);a.infotype=this.info.type.toString();a.slicesize=c.toString();a.boxtype=b.toString();if(2===this.info.type)return c===this.info.u&&1936286840===b;if(3===this.info.type&&0===this.info.Gb)return 1836019558===b||1936286840=== +b||1937013104===b||1718909296===b||1701671783===b||1936419184===b}else if(2===this.info.j.info.containerType){if(4>this.info.u||4===this.info.type)return!0;c=GD(this).getUint32(0,!1);a.ebm=c.toString();if(3===this.info.type&&0===this.info.Gb)return 524531317===c||440786851===c}return!0};g.u(JD,ZC);g.k=JD.prototype;g.k.Mp=function(a){var b=new dD(2,this,this.indexRange,"indexInfo"),c=[new dD(1,this,this.initRange,"initInfo"),b];0=this.index.getOffset(c+1);)c++;return KD(this,c,b,a.u).j}; +g.k.ep=function(a){hD(a);return this.Sf()?!0:a.range.end+1this.info.contentLength&&(b=new aD(b.start,this.info.contentLength-1)),new pD([new dD(4,a.j,b,"getNextRequestInfoByLength")]);4===a.type&&(a=this.Dw(a),a=a[a.length-1]);var c=0,d=a.range.start+a.Gb+a.u;3===a.type&&(hD(a),c=a.Ia,d===a.range.end+1&&(c+=1));return KD(this,c,d,b)}; +g.k.Cx=function(){return null}; +g.k.Dm=function(a,b){b=void 0===b?!1:b;a=this.index.getSegmentNumberForTime(a);b&&(a=Math.min(this.index.getLastSegmentNumber(),a+1));return KD(this,a,this.index.getOffset(a),0)}; +g.k.Wm=function(){return!0}; +g.k.Cs=function(){return!0}; +g.k.jz=function(){return!1}; +g.k.OH=function(){return this.indexRange.length+this.initRange.length}; +g.k.VJ=function(){return this.indexRange&&this.initRange&&this.initRange.end+1===this.indexRange.start?!0:!1};LD.prototype.isMultiChannelAudio=function(){return 2this.oC()?(this.kc.appendWindowEnd=b,this.kc.appendWindowStart=a):(this.kc.appendWindowStart=a,this.kc.appendWindowEnd=b))}; +g.k.VH=function(){return this.timestampOffset}; +g.k.pE=function(a){nU?this.timestampOffset=a:this.supports(1)&&(this.kc.timestampOffset=a)}; +g.k.wd=function(){return nU?this.timestampOffset:this.supports(1)?this.kc.timestampOffset:0}; +g.k.yg=function(a){if(void 0===a?0:a)return this.CB||this.Ph()||(this.PN=this.yg(!1),this.CB=!0),this.PN;try{return this.kc?this.kc.buffered:this.Jf?this.Jf.webkitSourceBuffered(this.id):fE([0],[Infinity])}catch(b){return fE([],[])}}; +g.k.Ph=function(){var a;return(null==(a=this.kc)?void 0:a.updating)||!1}; +g.k.Jp=function(){return this.bD}; +g.k.tC=function(){return this.TP}; +g.k.vL=function(a,b){this.containerType!==a&&(this.supports(4),oE()&&this.kc.changeType(b));this.containerType=a}; +g.k.uC=function(){return this.Je}; +g.k.isView=function(){return!1}; +g.k.supports=function(a){switch(a){case 1:var b;return void 0!==(null==(b=this.kc)?void 0:b.timestampOffset);case 0:var c;return!(null==(c=this.kc)||!c.appendBuffer);case 2:var d;return!(null==(d=this.kc)||!d.remove);case 3:var e,f;return!!((null==(e=this.kc)?0:e.addEventListener)&&(null==(f=this.kc)?0:f.removeEventListener));case 4:return!(!this.kc||!this.kc.changeType);default:return!1}}; +g.k.GB=function(){return!this.Ph()}; +g.k.isLocked=function(){return!1}; +g.k.Ob=function(a){a.to=this.wd();a.up=this.Ph();var b,c=(null==(b=this.kc)?void 0:b.appendWindowStart)||0,d;b=(null==(d=this.kc)?void 0:d.appendWindowEnd)||Infinity;a.aw=c.toFixed(3)+"-"+b.toFixed(3);try{a.bu=gE(this.yg())}catch(e){}return a}; +g.k.ea=function(){this.supports(3)&&(this.kc.removeEventListener("updateend",this.Sc),this.kc.removeEventListener("error",this.Sc));g.cz.prototype.ea.call(this)}; +g.k.GE=function(a,b,c){if(!this.supports(2)||this.Ph())return!1;var d=this.yg(),e=hE(d,a);if(0>e)return!1;try{if(b&&e+1g0a){Y3=g0a;break a}}var h0a=Z3.match("("+g.uf(e0a).join("|")+")");Y3=h0a?e0a[h0a[0]]:0}else Y3=void 0}var QF=Y3,PF=0<=QF;var mza={RED:"red",p1a:"white"};var kza={J9:"adunit",jma:"detailpage",Rma:"editpage",ana:"embedded",fna:"embedded_unbranded",xxa:"leanback",ULa:"previewpage",vMa:"profilepage",vW:"unplugged",YKa:"playlistoverview",sSa:"sponsorshipsoffer",HPa:"shortspage",lra:"handlesclaiming",bU:"immersivelivepage"};xya.prototype.fb=function(a){return"true"===this.flags[a]};var yya=Promise.resolve(),Bya=window.queueMicrotask?window.queueMicrotask.bind(window):zya;YE.prototype.canPlayType=function(a,b){a=a.canPlayType?a.canPlayType(b):!1;Wu?a=a||i0a[b]:2.2===QF?a=a||j0a[b]:Pu()&&(a=a||k0a[b]);return!!a}; +YE.prototype.isTypeSupported=function(a){return this.J?window.cast.receiver.platform.canDisplayType(a):aE(a)}; +var j0a={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},k0a={"application/x-mpegURL":"maybe"},i0a={"application/x-mpegURL":"maybe"};aF.prototype.enqueue=function(a,b){this.queue.push({url:a,options:b});Iya(this)}; +aF.prototype.flush=function(){for(;this.queue.length;){var a=this.queue.shift();g.Cu(a.url,a.options)}};g.u(bF,g.cz);bF.prototype.add=function(a,b){!this.items[a]&&(b.Xx||b.JB||b.IA)&&(this.items[a]=Fca(b),this.X("vast_info_card_add",a))}; +bF.prototype.remove=function(a){var b=this.get(a);delete this.items[a];return b}; +bF.prototype.get=function(a){return this.items[a]||null}; +bF.prototype.isEmpty=function(){return g.Cf(this.items)};var YF={qza:1,rza:2,sza:3,1:"LOAD_POLICY_ALWAYS",2:"LOAD_POLICY_BY_PREFERENCE",3:"LOAD_POLICY_BY_REQUEST"};var Jya=!1,dF,eF,fF,gF,hF;iF.prototype.encrypt=function(a){var b=a.length;a=new Uint8Array(a.buffer.slice(a.byteOffset,a.byteOffset+b));for(var c=this.u,d=0;dthis.j;)a[d++]^=c[this.j++];for(var e=b-(b-d)%16;d=this.j&&(this.u=!0);for(;a--;)this.values[this.valueIndex]=b,this.valueIndex=(this.valueIndex+1)%this.j;this.C=!0}; +yF.prototype.Nh=function(){return this.I?(zF(this,this.B-this.I)+zF(this,this.B)+zF(this,this.B+this.I))/3:zF(this,this.B)};g.u(gza,g.K);var lza="blogger gac books docs duo google-live google-one play shopping chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" "),qza={uda:"cbrand",Dda:"cbr",Eda:"cbrver",wta:"c",zta:"cver",yta:"ctheme",xta:"cplayer",sDa:"cmodel",bFa:"cnetwork",bJa:"cos",cJa:"cosver",qKa:"cplatform"};g.u(eG,g.K);g.k=eG.prototype;g.k.K=function(a){return this.experiments.fb(a)}; +g.k.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=g.hG(this);d&&"www.youtube.com"===c?d="https://youtu.be/"+a:g.UF(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,Wu&&(a=Wla())&&(b.ebc=a));return g.wi(d,b)}; +g.k.getVideoEmbedCode=function(a,b,c,d){b="https://"+g.hG(this)+"/embed/"+b;d&&(b=g.wi(b,{list:d}));d=c.width;c=c.height;b=g.Vg(b);return'')}; +g.k.supportsGaplessAudio=function(){return g.bE&&!Wu&&74<=wma()||g.pB&&g.yc(68)?!0:!1}; +g.k.getPlayerType=function(){return this.deviceParams.cplayer}; +var tza=["www.youtube-nocookie.com","youtube.googleapis.com","www.youtubeeducation.com","youtubeeducation.com"];g.k=CG.prototype;g.k.zg=function(){return this.j}; +g.k.Dx=function(){return null}; +g.k.JM=function(){var a=this.Dx();return a?(a=g.nu(a.j),Number(a.expire)):NaN}; +g.k.vK=function(){}; +g.k.getHeight=function(){return this.j.video.height};uza.prototype.Se=function(){xza(this);var a=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],b={};a:if(this.j)var c=this.j;else{c="";for(var d=g.r(this.B),e=d.next();!e.done;e=d.next())if(e=e.value,e.Ic){if(e.Ic.getIsDefault()){c=e.Ic.getId();break a}c||(c=e.Ic.getId())}}d=g.r(this.B);for(var f=d.next();!f.done;f=d.next())if(e=f.value,this.I||!e.Ic||e.Ic.getId()===c)b[e.itag]||(b[e.itag]=[]),b[e.itag].push(e);c=g.r(this.u);for(e=c.next();!e.done;e=c.next())if(d=e.value,e=b[d.j])for(e=g.r(e),f=e.next();!f.done;f= +e.next()){var h=a,l=h.push;f=f.value;var m="#EXT-X-MEDIA:TYPE=AUDIO,",n="YES",p="audio";if(f.Ic){p=f.Ic;var q=p.getId().split(".")[0];q&&(m+='LANGUAGE="'+q+'",');(this.j?this.j===p.getId():p.getIsDefault())||(n="NO");p=p.getName()}q="";null!==d&&(q=d.itag.toString());q=EG(this,f.url,q);m=m+('NAME="'+p+'",DEFAULT='+(n+',AUTOSELECT=YES,GROUP-ID="'))+(wza(f,d)+'",URI="'+(q+'"'));l.call(h,m)}c=g.r(this.D);for(d=c.next();!d.done;d=c.next())d=d.value,e=n0a,d=(h=d.Ic)?'#EXT-X-MEDIA:URI="'+EG(this,d.url)+ +'",TYPE=SUBTITLES,GROUP-ID="'+e+'",LANGUAGE="'+h.getId()+'",NAME="'+h.getName()+'",DEFAULT=NO,AUTOSELECT=YES':void 0,d&&a.push(d);c=0f.getHeight())&&c.push(f)}return c}; +DH.prototype.I=function(a,b,c,d){return new g.CH(a,b,c,d)};g.u(EH,g.CH);g.k=EH.prototype;g.k.jB=function(){return this.u.getNumberOfSegments()}; +g.k.kB=function(a){var b=this.rows*this.columns*this.D,c=this.u,d=c.getLastSegmentNumber();a=c.getSegmentNumberForTime(a);return a>d-b?-1:a}; +g.k.Cu=function(){return this.u.getLastSegmentNumber()}; +g.k.DF=function(){return this.u.getFirstSegmentNumber()}; +g.k.KM=function(a){this.u=a};g.u(FH,DH);FH.prototype.u=function(a,b){return DH.prototype.u.call(this,"$N|"+a,b)}; +FH.prototype.I=function(a,b,c){return new EH(a,b,c,this.isLive)};g.u(g.HH,g.cz);g.k=g.HH.prototype;g.k.R=function(){return this.Oa}; +g.k.K=function(a){return this.Oa.K(a)}; +g.k.cg=function(){return!this.isLivePlayback||this.allowLiveDvr}; +g.k.hasSupportedAudio51Tracks=function(){var a;return!(null==(a=this.Ed)||!a.Eb)}; +g.k.TQ=function(){this.isDisposed()||(this.j.u||this.j.unsubscribe("refresh",this.TQ,this),this.bO(-1))}; +g.k.bO=function(a){if(!this.isLivePlayback||!this.N||"fairplay"!=this.N.flavor){var b=Qxa(this.j,this.hF);if(0=this.V&&(g.qz(Error("durationMs was specified incorrectly with a value of: "+this.V)),this.Zi());this.fl();this.G.addEventListener("progresssync",this.Y)}; +g.k.Im=function(){vJ.prototype.Im.call(this);this.gg("adabandonedreset",!0)}; +g.k.fl=function(){var a=this.G.R();mB("apbs",void 0,"video_to_ad");g.$A("ad_at","0_0","video_to_ad");vJ.prototype.fl.call(this);this.D=a.K("disable_rounding_ad_notify")?this.G.getCurrentTime():Math.floor(this.G.getCurrentTime());this.I=this.D+this.V/1E3;g.cG(a)?this.G.Ka("onAdMessageChange",{renderer:this.B.j,startTimeSecs:this.D}):rCa(this,[new EJ(this.B.j)]);a=(a=this.G.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.Bz(),c=this.B.j.videoAdBreakOffsetMsInt64;b&&g.Mv("adNotify",{clientScreenNonce:b, +adMediaTimeMs:Math.floor(1E3*this.I),timeToAdBreakSec:Math.ceil(this.I-this.D),clientPlaybackNonce:a,videoAdBreakOffsetMs:Number(c)});if(this.J){this.W=!0;b=this.B.j;if(!DJ(b)){g.rz(Error("adMessageRenderer is not augmented on ad started"));return}a=b.slot;b=b.layout;c=g.r(this.J.listeners);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a,f=b;FCa(d.j(),e);SZ(d.j(),e,f)}}g.W(this.G.zb(1),512)&&(g.rz(Error("player stuck during adNotify")),a=(a=this.G.getVideoData(1))&&a.clientPlaybackNonce|| +"",b=g.Bz(),c=this.B.j.videoAdBreakOffsetMsInt64,b&&g.Mv("adNotifyFailure",{clientScreenNonce:b,adMediaTimeMs:Math.floor(1E3*this.I),timeToAdBreakSec:Math.ceil(this.I-this.D),clientPlaybackNonce:a,videoAdBreakOffsetMs:c}),this.Zi())}; +g.k.Zi=function(){vJ.prototype.Zi.call(this);this.gg("adended",!0)}; +g.k.Jm=function(a){g.rz(new g.Rv("Player error during adNotify.",{errorCode:a}));vJ.prototype.Jm.call(this,a);this.gg("aderror",!0)}; +g.k.gg=function(a,b){(void 0===b?0:b)||g.rz(Error("TerminateAd directly called from other class during adNotify."));this.G.removeEventListener("progresssync",this.Y);this.Fr();xCa(this,a);"adended"===a||"aderror"===a?this.X("adnotifyexitednormalorerror"):this.X(a)}; +g.k.dispose=function(){this.G.removeEventListener("progresssync",this.Y);xCa(this);vJ.prototype.dispose.call(this)}; +g.k.Fr=function(){g.cG(this.G.R())?this.G.Ka("onAdMessageChange",{renderer:null,startTimeSecs:this.D}):vJ.prototype.Fr.call(this)};IJ.prototype.sendAdsPing=function(a){this.B.send(a,yCa(this),{})}; +IJ.prototype.Ff=function(a){var b=this;if(a){var c=yCa(this);Array.isArray(a)?a.forEach(function(d){return b.j.executeCommand(d,c)}):this.j.executeCommand(a,c)}};g.u(JJ,vJ);g.k=JJ.prototype;g.k.Iy=function(){return{currentTime:this.G.getCurrentTime(2,!1),duration:this.B.u,isPlaying:SBa(this.G),isVpaid:!1,isYouTube:!0,volume:this.G.isMuted()?0:this.G.getVolume()/100}}; +g.k.lB=function(){var a=this.B.j.legacyInfoCardVastExtension,b=this.B.Nf();a&&b&&this.G.R().Y.add(b,{Xx:a});try{var c=this.B.j.sodarExtensionData;if(c&&c.siub&&c.bgub&&c.scs&&c.bgp)try{Bga(c.siub,c.scs,c.bgub,c.bgp)}catch(e){var d=g.fg("//tpc.googlesyndication.com/sodar/%{path}");g.rz(new g.Rv("Load Sodar Error.",d instanceof dg,d.constructor===dg,{Message:e.message,"Escaped injector basename":g.Vg(c.siub),"BG vm basename":c.bgub}));if(d.constructor===dg)throw e;}}catch(e){g.qz(e)}EI(this.G,!1);a= +YBa(this.B);b=this.G.R();a.iv_load_policy=b.isMobile||g.cG(b)||g.nG(b)?3:1;b=this.G.getVideoData(1);b.Ah&&(a.ctrl=b.Ah);b.Wh&&(a.ytr=b.Wh);b.Kn&&(a.ytrcc=b.Kn);b.isMdxPlayback&&(a.mdx="1");a.vvt&&(a.vss_credentials_token=a.vvt,b.Ej&&(a.vss_credentials_token_type=b.Ej),b.mdxEnvironment&&(a.mdx_environment=b.mdxEnvironment));this.X("adunstarted",-1);this.V?this.I.start():(this.G.cueVideoByPlayerVars(a,2),this.I.start(),this.G.playVideo(2))}; +g.k.Wy=function(){vJ.prototype.Wy.call(this);this.X("adpause",2)}; +g.k.Xy=function(){vJ.prototype.Xy.call(this);this.X("adplay",1)}; +g.k.fl=function(){vJ.prototype.fl.call(this);this.I.stop();this.W.P(this.G,g.uA("bltplayback"),this.iV);var a=new g.sA(0x7ffffffffffff,0x8000000000000,{id:"bltcompletion",namespace:"bltplayback",priority:2});this.G.le([a],2);a=NJ(this);this.D.va=a;if(this.G.isMuted()){a=this.j;var b=this.G.isMuted();gJ(a)||iJ(a,b?"mute":"unmute")}this.X("adplay",1);if(null!==this.J){a=null!==this.D.j.getVideoData(1)?this.D.j.getVideoData(1).clientPlaybackNonce:"";b=BCa(this);for(var c=this.B,d=ACa(this),e=g.r(this.J.listeners), +f=e.next();!f.done;f=e.next()){f=f.value;var h=b,l=c,m=d,n=[],p=l.Nf(),q=l.getVideoUrl();p&&n.push(new RY(p));q&&n.push(new SY(q));(q=(p=l.j)&&p.playerOverlay&&p.playerOverlay.instreamAdPlayerOverlayRenderer)?(n.push(new UY(q)),(q=q.elementId)&&n.push(new cZ(q))):eA("instreamVideoAdRenderer without instreamAdPlayerOverlayRenderer");(p=p&&p.playerUnderlay)&&n.push(new VY(p));l.j.adNextParams&&n.push(new FY(l.j.adNextParams||""));(p=l.qa)&&n.push(new GY(p));(p=f.Qa.get().Gf(2))?(n.push(new KY({channelId:p.Ek, +channelThumbnailUrl:p.profilePicture,channelTitle:p.author,videoTitle:p.title})),n.push(new LY(p.isListed))):eA("Expected meaningful PlaybackData on ad started.");n.push(new NY(l.B));n.push(new jZ(l.u));n.push(new TY(a));n.push(new fZ({current:this}));p=l.Ha;null!=p.kind&&n.push(new MY(p));(p=l.Ea)&&n.push(new wZ(p));void 0!==m&&n.push(new xZ(m));f.j?eA(f.j.layoutId===h?"Received repeat AD_START event.":"Received a new AD_START event before received AD_ENDED event."):CCa(f,h,n,!0,l.j.adLayoutLoggingData)}}this.G.Ka("onAdStart", +NJ(this));a=g.r(this.B.j.impressionCommands||[]);for(b=a.next();!b.done;b=a.next())this.D.executeCommand(b.value,this.macros)}; +g.k.iV=function(a){"bltcompletion"==a.getId()&&(this.G.Af("bltplayback",2),jJ(this.j,this.getDuration()),MJ(this,"adended"))}; +g.k.Zi=function(){vJ.prototype.Zi.call(this);this.gg("adended");for(var a=g.r(this.B.j.completeCommands||[]),b=a.next();!b.done;b=a.next())this.D.executeCommand(b.value,this.macros)}; +g.k.Im=function(){vJ.prototype.Im.call(this);this.gg("adabandoned")}; +g.k.eE=function(){var a=this.j;fJ(a)||nJ(a,"clickthrough");this.C||(a=this.j,fJ(a)||nJ(a,"unmuted_clickthrough"))}; +g.k.Rz=function(){this.bI()}; +g.k.bI=function(){vJ.prototype.bI.call(this);this.gg("adended")}; +g.k.Jm=function(a){vJ.prototype.Jm.call(this,a);this.gg("aderror")}; +g.k.gg=function(a){this.I.stop();EI(this.G,!0);"adabandoned"!=a&&this.G.Ka("onAdComplete");MJ(this,a);this.G.Ka("onAdEnd",NJ(this));this.X(a)}; +g.k.Fr=function(){var a=this.G.R();g.cG(a)&&(g.nG(a)||a.K("enable_topsoil_wta_for_halftime")||a.K("enable_topsoil_wta_for_halftime_live_infra")||g.cG(a))?this.G.Ka("onAdInfoChange",null):vJ.prototype.Fr.call(this)}; +g.k.hS=function(){this.CZ&&this.G.playVideo()}; +g.k.CZ=function(){return 2==this.G.getPlayerState(2)}; +g.k.zO=function(a,b){if(!Number.isFinite(a))return g.qz(Error("Playing the video after the current media has finished is not supported")),"";if(b<=a)return g.qz(Error("Start time is not earlier than end time")),"";var c=1E3*this.B.u,d=YBa(this.B);d=this.G.Uu(d,"",2,c,a,b);a+c>b&&this.G.Xw(d,b-a);return d}; +g.k.dispose=function(){SBa(this.G)&&!this.V&&this.G.stopVideo(2);MJ(this,"adabandoned");vJ.prototype.dispose.call(this)};OJ.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.identifier;var c=this.j[b];c?b=c:(c={iy:null,ZP:-Infinity},b=this.j[b]=c);c=a.startSecs+a.j/1E3;if(!(cyI&&(a=Math.max(.1,a)),this.pB(a))}; +g.k.stopVideo=function(){var a=this;if(!this.B)if(A0a){if(!this.C){var b=new UJ;b.then(void 0,function(){}); +this.C=b;B0a&&this.pause();g.xu(function(){a.C===b&&(YJ(a),b.resolve())},200)}}else YJ(this)}; +g.k.Iv=function(){var a=this.Sg();return 0b.j.getCurrentTime(2,!1)&&!b.j.R().K("html5_dai_pseudogapless_seek_killswitch")))){c=b.ad;if(c.iz()){var d= +b.B.G.R().K("html5_dai_enable_active_view_creating_completed_adblock");cka(c.I,d)}b.ad.D.seek=!0}0>tJ(a,4)&&!(0>tJ(a,2))&&(b=this.j,c=b.j,fJ(c)||rJ(c,"resume"),b.C||(b=b.j,fJ(b)||rJ(b,"unmuted_resume")));!this.G.R().experiments.fb("html5_dai_handle_suspended_state_killswitch")&&this.daiEnabled&&g.uJ(a,512)&&!g.hK(a.state)&&this.D.Ow()}}}; +g.k.onVideoDataChange=function(){return this.daiEnabled?$Ca(this):!1}; +g.k.resume=function(){this.j&&this.j.hS()}; +g.k.Bp=function(){this.j&&this.j.gg("adended")}; +g.k.ym=function(){this.Bp()}; +g.k.lk=function(a){this.kh.lk(a)}; +g.k.jV=function(a){this.kh.j.Ka("onAdUxUpdate",a)}; +g.k.onAdUxClicked=function(a){this.j.Ag(a)}; +g.k.LO=function(){return 0}; +g.k.MO=function(){return 1}; +g.k.nL=function(a){this.daiEnabled&&this.u.I&&this.u.j.start<=a&&a=this.C?this.B.j:this.B.j.slice(this.C)).some(function(a){return a.Tv()})}; +g.k.oz=function(){return this.I instanceof QI||this.I instanceof zJ}; +g.k.BR=function(){this.daiEnabled?CI(this.G)&&$Ca(this):LDa(this)}; +g.k.Ex=function(a){var b=KDa(a);this.I&&b&&this.N!==b&&(b?DEa(this.kh):FEa(this.kh),this.N=b);this.I=a;this.daiEnabled&&(this.C=this.B.j.findIndex(function(c){return c===a})); +jK.prototype.Ex.call(this,a)}; +g.k.OI=function(a){var b=this;jK.prototype.OI.call(this,a);a.subscribe("adnotifyexitednormalorerror",function(){return void nK(b)})}; +g.k.ym=function(){this.C=this.B.j.length;this.j&&this.j.gg("adended");nK(this)}; +g.k.Bp=function(){this.onAdEnd()}; +g.k.onAdEnd=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.daiEnabled||(this.lk(0),a?nK(this,b):LDa(this))}; +g.k.FQ=function(){if(1==this.B.u)this.I instanceof AJ&&g.rz(Error("AdNotify error with FailureMode.TERMINATING")),nK(this);else this.onAdEnd()}; +g.k.zC=function(){var a=0>=this.C?this.B.j:this.B.j.slice(this.C);return 0tJ(a,16)&&(this.J.forEach(this.tJ,this),this.J.clear())}; +g.k.K2=function(){if(this.u)this.u.onVideoDataChange()}; +g.k.N2=function(){if(CI(this.j)&&this.u){var a=this.j.getCurrentTime(2,!1),b=this.u;b.j&&sCa(b.j,a)}}; +g.k.B_=function(){this.Ra=!0;if(this.u){var a=this.u;a.j&&a.j.Im()}}; +g.k.N_=function(a){if(this.u)this.u.onAdUxClicked(a)}; +g.k.O2=function(){if(2==this.j.getPresentingPlayerType()&&this.u){var a=this.u.j,b=a.j,c=a.G.isMuted();gJ(b)||iJ(b,c?"mute":"unmute");a.C||(b=a.G.isMuted(),iJ(a.j,b?"unmuted_mute":"unmuted_unmute"))}}; +g.k.D0=function(a){if(this.u){var b=this.u.j,c=b.j;fJ(c)||nJ(c,a?"fullscreen":"end_fullscreen");b.C||(b=b.j,fJ(b)||nJ(b,a?"unmuted_fullscreen":"unmuted_end_fullscreen"))}}; +g.k.eh=function(a,b){this.j.eh(a,b);a=g.r(a);for(b=a.next();!b.done;b=a.next())b=b.value,this.rr.delete(b),this.B.delete(b)}; +g.k.D5=function(){for(var a=[],b=g.r(this.rr),c=b.next();!c.done;c=b.next())c=c.value,xA(c)||a.push(c);b=this.j.app;1!==b.getPresentingPlayerType()||MX(b,"cuerangemarkersupdated",a)}; +g.k.lk=function(a){this.j.lk(a);switch(a){case 1:this.OC=1;break;case 0:this.OC=0}}; +g.k.MK=function(){var a=this.j.getVideoData(2);return a?a.isListed&&!this.N:!1}; +g.k.Bp=function(){this.u&&this.u.zs()&&this.u.Bp()}; +g.k.ym=function(){this.u&&this.u.zs()&&this.u.ym()}; +g.k.fC=function(){}; +g.k.LB=function(){}; +g.k.Wb=function(a){if(this.u){var b=this.u;b.j&&sCa(b.j,a)}}; +g.k.executeCommand=function(a,b,c){this.ub.executeCommand(a,b,AEa(this,void 0===c?null:c))}; +g.k.isDaiEnabled=function(){return!1}; +g.k.JO=function(){return this.qa}; +g.k.KO=function(){return this.Ea};g.u(SK,g.K);SK.prototype.append=function(a){if(!this.u)throw Error("This does not support the append operation");this.j.appendChild(a.j)}; +g.u(TK,SK);g.u(IEa,g.K);var KEa=1;g.u(g.VK,g.K);g.k=g.VK.prototype; +g.k.createElement=function(a,b){b=b||"svg"===a.F;var c=a.L,d=a.Ca;if(b){var e=document.createElementNS("http://www.w3.org/2000/svg",a.F);g.rG&&(a.T||(a.T={}),a.T.focusable="false")}else e=g.mh(a.F);if(c){if(c=WK(this,e,"class",c))XK(this,e,"class",c),this.Lc[c]=e}else if(d){c=g.r(d);for(var f=c.next();!f.done;f=c.next())this.Lc[f.value]=e;XK(this,e,"class",d.join(" "))}d=a.Z;c=a.S;if(d)b=WK(this,e,"child",d),void 0!==b&&e.appendChild(g.nh(b));else if(c)for(d=0,c=g.r(c),f=c.next();!f.done;f=c.next())if(f= +f.value)if("string"===typeof f)f=WK(this,e,"child",f),null!=f&&e.appendChild(g.nh(f));else if(f.element)e.appendChild(f.element);else{var h=f;f=this.createElement(h,b);e.appendChild(f);h.Nb&&(h=UK(),f.id=h,f=document.createElementNS("http://www.w3.org/2000/svg","use"),f.setAttribute("class","ytp-svg-shadow"),f.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+h),g.ph(e,f,d++))}if(a=a.T)for(b=e,d=g.r(Object.keys(a)),c=d.next();!c.done;c=d.next())c=c.value,f=a[c],XK(this,b,c,"string"===typeof f? +WK(this,b,c,f):f);return e}; +g.k.ya=function(a){return this.Lc[a]}; +g.k.xa=function(a,b){"number"===typeof b?g.ph(a,this.element,b):a.appendChild(this.element)}; +g.k.detach=function(){g.qh(this.element)}; +g.k.update=function(a){for(var b=g.r(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,this.Ja(c,a[c])}; +g.k.Ja=function(a,b){(a=this.Ne["{{"+a+"}}"])&&XK(this,a[0],a[1],b)}; +g.k.ea=function(){this.Lc={};this.Ne={};this.detach();g.K.prototype.ea.call(this)};g.u(g.X,g.VK);g.k=g.X.prototype;g.k.Sd=function(a,b){this.Ja(b||"content",a)}; +g.k.show=function(){this.tb||(g.yl(this.element,"display",""),this.tb=!0)}; +g.k.hide=function(){this.tb&&(g.yl(this.element,"display","none"),this.tb=!1)}; +g.k.lc=function(a){this.ra=a}; +g.k.Na=function(a,b,c){return this.P(this.element,a,b,c)}; +g.k.P=function(a,b,c,d){c=(0,g.Ta)(c,d||this);d={target:a,type:b,listener:c};this.listeners.push(d);a.addEventListener(b,c);return d}; +g.k.uc=function(a){var b=this;this.listeners.forEach(function(c,d){c===a&&(c=b.listeners.splice(d,1)[0],c.target.removeEventListener(c.type,c.listener))})}; +g.k.focus=function(){var a=this.element;uh(a);a.focus()}; +g.k.ea=function(){for(;this.listeners.length;){var a=this.listeners.pop();a&&a.target.removeEventListener(a.type,a.listener)}g.VK.prototype.ea.call(this)};g.u(g.ZK,g.X);g.ZK.prototype.subscribe=function(a,b,c){return this.Ua.subscribe(a,b,c)}; +g.ZK.prototype.unsubscribe=function(a,b,c){return this.Ua.unsubscribe(a,b,c)}; +g.ZK.prototype.Kg=function(a){return this.Ua.Kg(a)}; +g.ZK.prototype.X=function(a){return this.Ua.X.apply(this.Ua,[a].concat(g.t(g.za.apply(1,arguments))))};var D0a=new WeakSet;g.u($K,g.ZK);g.k=$K.prototype;g.k.bind=function(a){if(!this.Ya&&a.renderer){var b=this.api.R().K("enable_macro_substitution_on_html5")?{}:Object.assign({},HEa(this.api),a.macros);this.init(a.id,a.renderer,b,a)}return Promise.resolve()}; +g.k.init=function(a,b,c){this.Ya=a;this.element.setAttribute("id",this.Ya);this.ub&&g.ho(this.element,this.ub);this.V=b&&b.adRendererCommands;this.macros=c;this.J=b.trackingParams||null;null!=this.J&&this.Ai(this.element,this.J)}; +g.k.clear=function(){}; +g.k.hide=function(){g.ZK.prototype.hide.call(this);null!=this.J&&this.Ta(this.element,!1)}; +g.k.show=function(){g.ZK.prototype.show.call(this);if(!this.Cb){this.Cb=!0;var a=this.V&&this.V.impressionCommand;a&&this.kE(a,null)}null!=this.J&&this.Ta(this.element,!0)}; +g.k.onClick=function(a){if(this.J&&!D0a.has(a)){var b=this.element;this.api.Nm(b)&&this.tb&&this.api.qb(b,this.j);D0a.add(a)}if(a=this.V&&this.V.clickCommand)a=this.LR(a),this.kE(a,this.OO())}; +g.k.LR=function(a){return a}; +g.k.OO=function(){return null}; +g.k.oV=function(a){var b=this.Y;b.J=!0;b.u=a.touches.length;b.j.isActive()&&(b.j.stop(),b.D=!0);a=a.touches;b.I=JEa(b,a)||1!=a.length;var c=a.item(0);b.I||!c?(b.N=Infinity,b.V=Infinity):(b.N=c.clientX,b.V=c.clientY);for(c=b.B.length=0;cMath.pow(5,2))b.C=!0}; +g.k.mV=function(a){if(this.Y){var b=this.Y,c=a.changedTouches;c&&b.J&&1==b.u&&!b.C&&!b.D&&!b.I&&JEa(b,c)&&(b.W=a,b.j.start());b.u=a.touches.length;0===b.u&&(b.J=!1,b.C=!1,b.B.length=0);b.D=!1}}; +g.k.kE=function(a){this.api.R().K("enable_macro_substitution_on_html5")?(0Math.random())&&g.rz(Error("Found AdImage without valid image URL")):(this.u?g.yl(this.element,"backgroundImage","url("+c+")"):fh(this.element,{src:c}),fh(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),b&&b.adRendererCommands&&b.adRendererCommands.clickCommand?this.element.classList.add("ytp-ad-clickable-element"):this.element.classList.remove("ytp-ad-clickable-element"), +this.show())}; +uL.prototype.clear=function(){this.hide()};g.u(vL,$K);g.k=vL.prototype;g.k.hide=function(){$K.prototype.hide.call(this);this.C&&this.C.focus()}; +g.k.show=function(){this.C=document.activeElement;$K.prototype.show.call(this);this.D.focus()}; +g.k.init=function(a,b,c){$K.prototype.init.call(this,a,b,c);this.B=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.qz(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.qz(Error("ConfirmDialogRenderer.cancelLabel was not set.")):iFa(this,b):g.qz(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; +g.k.clear=function(){g.bz(this.u);this.hide()}; +g.k.qJ=function(){this.hide()}; +g.k.EF=function(){var a=this.B.cancelEndpoint;a&&(this.api.R().K("enable_macro_substitution_on_html5")?this.layoutId?this.Wa.executeCommand(a,this.layoutId):g.qz(Error("Missing layoutId for confirm dialog.")):AL(this.Wa,a,this.macros));this.hide()}; +g.k.rJ=function(){var a=this.B.confirmNavigationEndpoint||this.B.confirmEndpoint;a&&(this.api.R().K("enable_macro_substitution_on_html5")?this.layoutId?this.Wa.executeCommand(a,this.layoutId):g.qz(Error("Missing layoutId for confirm dialog.")):AL(this.Wa,a,this.macros));this.hide()};g.u(wL,$K);g.k=wL.prototype; +g.k.init=function(a,b,c){$K.prototype.init.call(this,a,b,c);this.B=b;if(null==b.defaultText&&null==b.defaultIcon)g.qz(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.qz(Error("ToggleButtonRenderer cannot have toggled icon set without a default icon."));else{if(b.style){switch(b.style.styleType){case "STYLE_UNKNOWN":case "STYLE_DEFAULT":a="ytp-ad-toggle-button-default-style";break;default:a=null}null!=a&&g.ho(this.C,a)}a={};b.defaultText? +(c=g.zA(b.defaultText),g.fb(c)||(a.buttonText=c,this.u.setAttribute("aria-label",c))):g.Kl(this.va,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip,this.u.hasAttribute("aria-label")||this.W.setAttribute("aria-label",b.defaultTooltip));b.defaultIcon?(c=nL(b.defaultIcon),this.Ja("untoggledIconTemplateSpec",c),b.toggledIcon?(this.N=!0,c=nL(b.toggledIcon),this.Ja("toggledIconTemplateSpec",c)):(g.Kl(this.I,!0),g.Kl(this.D,!1)),g.Kl(this.u,!1)):g.Kl(this.W,!1);g.Cf(a)||this.update(a);b.isToggled&& +(g.ho(this.C,"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));xL(this);this.P(this.element,"change",this.LM);this.show()}}; +g.k.onClick=function(a){0a&&g.qz(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.Ra&&g.ho(this.B.element,"countdown-next-to-thumbnail");a=b.durationMilliseconds;this.va=null==a||0===a?this.u.Bv():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview);this.C.init(FI("ad-text"),d,c);(d=this.api.getVideoData(1))&& +d.Xl&&b.thumbnail?this.I.init(FI("ad-image"),b.thumbnail,c):this.N.hide()}; +g.k.clear=function(){this.hide()}; +g.k.hide=function(){this.B.hide();this.C.hide();this.I.hide();IL(this);GL.prototype.hide.call(this)}; +g.k.show=function(){HL(this);this.B.show();this.C.show();this.I.show();GL.prototype.show.call(this)}; +g.k.qt=function(){this.hide()}; +g.k.xq=function(){if(null!=this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.Ha&&a>=this.va?(this.W.hide(),this.Ha=!0,this.X("i")):this.C&&this.C.isTemplated()&&(a=Math.max(0,Math.ceil((this.va-a)/1E3)),a!=this.La&&(FL(this.C,{TIME_REMAINING:String(a)}),this.La=a)))}};g.u(NL,GL);g.k=NL.prototype; +g.k.init=function(a,b,c){GL.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.actionButton&&b.actionButton.buttonRenderer&&b.actionButton.buttonRenderer.navigationEndpoint){a=this.api.getVideoData(2);if(null!=a)if(b.image&&b.image.thumbnail){var d=b.image.thumbnail.thumbnails;null!=d&&0=this.va&&(IL(this),g.jo(this.element,"ytp-flyout-cta-inactive"),this.api.R().K("disable_tabbing_before_flyout_ad_elements_appear")&&this.B.element.removeAttribute("tabIndex"))}}; +g.k.qt=function(){this.clear()}; +g.k.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.OM.bind(this))}; +g.k.show=function(){this.B&&this.B.show();GL.prototype.show.call(this)}; +g.k.hide=function(){this.B&&this.B.hide();GL.prototype.hide.call(this)}; +g.k.OM=function(a){"hidden"==a?this.show():this.hide()};g.u(OL,$K);g.k=OL.prototype; +g.k.init=function(a,b,c){$K.prototype.init.call(this,a,b,c);this.u=b;if(this.u.rectangle)for(this.C.init(FI("toggle-button"),this.u.likeButton.toggleButtonRenderer,c),this.B.init(FI("toggle-button"),this.u.dislikeButton.toggleButtonRenderer,c),this.P(this.element,"change",this.PM),this.D.show(100),this.show(),a=g.r(this.u&&this.u.impressionCommands||[]),b=a.next();!b.done;b=a.next())b=b.value,this.api.R().K("enable_macro_substitution_on_html5")?this.layoutId?this.Wa.executeCommand(b,this.layoutId): +g.qz(Error("Missing layoutId for instream user sentiment.")):AL(this.Wa,b,this.macros)}; +g.k.clear=function(){this.hide()}; +g.k.hide=function(){this.C.hide();this.B.hide();$K.prototype.hide.call(this)}; +g.k.show=function(){this.C.show();this.B.show();$K.prototype.show.call(this)}; +g.k.PM=function(){oka(this.element,"ytp-ad-instream-user-sentiment-selected");this.u.postMessageAction&&this.api.Ka("onYtShowToast",this.u.postMessageAction);this.D.hide()}; +g.k.onClick=function(a){0=this.N&&xFa(this,!0)};g.u(SL,oL);SL.prototype.init=function(a,b,c){oL.prototype.init.call(this,a,b,c);a=!1;null!=b.text&&(a=g.zA(b.text),a=!g.fb(a));a?null==b.navigationEndpoint?g.rz(Error("No visit advertiser clickthrough provided in renderer,")):"STYLE_UNKNOWN"!==b.style?g.rz(Error("Button style was not a link-style type in renderer,")):this.show():g.rz(Error("No visit advertiser text was present in the renderer."))};g.u(TL,$K);TL.prototype.init=function(a,b,c){$K.prototype.init.call(this,a,b,c);a=b.text;g.fb(aL(a))?g.rz(Error("SimpleAdBadgeRenderer has invalid or empty text")):(a&&a.text&&(b=a.text,this.u&&(b=this.api.R(),b=a.text+" "+(b&&b.isMobile?"\u2022":"\u00b7")),b={text:b,isTemplated:a.isTemplated},a.style&&(b.style=a.style),a.targetId&&(b.targetId=a.targetId),a=new EL(this.api,this.bb,this.layoutId,this.j,this.Wa),a.init(FI("simple-ad-badge"),b,c),a.xa(this.element),g.M(this,a)),this.show())}; +TL.prototype.clear=function(){this.hide()};g.u(UL,GI);g.u(VL,g.cz);g.k=VL.prototype;g.k.Bv=function(){return this.durationMs}; +g.k.stop=function(){this.j&&this.Sc.uc(this.j)}; +g.k.Wb=function(a){this.u={seekableStart:0,seekableEnd:this.durationMs/1E3,current:a.current};this.X("h")}; +g.k.getProgressState=function(){return this.u}; +g.k.bd=function(a){g.uJ(a,2)&&this.X("g")};g.u(WL,g.cz);g.k=WL.prototype;g.k.Bv=function(){return this.durationMs}; +g.k.start=function(){this.u||(this.u=!0,this.timer.start())}; +g.k.stop=function(){this.u&&(this.u=!1,this.timer.stop())}; +g.k.Wb=function(){this.j+=100;var a=!1;this.j>this.durationMs&&(this.j=this.durationMs,this.timer.stop(),a=!0);this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:this.j/1E3};this.bb&&this.bb.Wb(this.B.current);this.X("h");a&&this.X("g")}; +g.k.getProgressState=function(){return this.B};g.u(ZL,GL);g.k=ZL.prototype;g.k.init=function(a,b,c){GL.prototype.init.call(this,a,b,c);var d;if(null==b?0:null==(d=b.templatedCountdown)?0:d.templatedAdText){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){iu(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.B=new EL(this.api,this.bb,this.layoutId,this.j,this.Wa);this.B.init(FI("ad-text"),a,{});this.B.xa(this.element);g.M(this,this.B)}this.show()}; +g.k.clear=function(){this.hide()}; +g.k.hide=function(){IL(this);GL.prototype.hide.call(this)}; +g.k.qt=function(){this.hide()}; +g.k.xq=function(){if(null!=this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&this.B&&(a=(this.u instanceof VL?void 0!==this.videoAdDurationSeconds?this.videoAdDurationSeconds:a.seekableEnd:void 0!==this.videoAdDurationSeconds?this.videoAdDurationSeconds:this.u instanceof WL?a.seekableEnd:this.api.getDuration(2,!1))-a.current,FL(this.B,{FORMATTED_AD_DURATION_REMAINING:String(g.XL(a)),TIME_REMAINING:String(Math.ceil(a))}))}}; +g.k.show=function(){HL(this);GL.prototype.show.call(this)};g.u($L,EL);$L.prototype.onClick=function(a){EL.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.u(eM,g.ZK);eM.prototype.Wb=function(){var a=this.u.getProgressState();this.xc.style.width=100*dM(new aM(a.seekableStart,a.seekableEnd),a.current,0)+"%"}; +eM.prototype.onStateChange=function(){g.UF(this.api.R())||(2===this.api.getPresentingPlayerType()?-1===this.j&&(this.show(),this.j=this.u.subscribe("h",this.Wb,this),this.Wb()):-1!==this.j&&(this.hide(),this.u.Kg(this.j),this.j=-1))};g.u(fM,$K); +fM.prototype.init=function(a,b,c,d){$K.prototype.init.call(this,a,b,c);b.skipOrPreviewRenderer&&(a=b.skipOrPreviewRenderer,a.skipAdRenderer?(c=new RL(this.api,this.bb,this.layoutId,this.j,this.Wa,this.u,this.N),c.xa(this.I),c.init(FI("skip-button"),a.skipAdRenderer,this.macros),g.M(this,c)):a.adPreviewRenderer&&(c=new LL(this.api,this.bb,this.layoutId,this.j,this.Wa,this.u,!1),c.xa(this.I),c.init(FI("ad-preview"),a.adPreviewRenderer,this.macros),ML(c),g.M(this,c)));b.brandInteractionRenderer&&(a= +b.brandInteractionRenderer.brandInteractionRenderer,c=new OL(this.api,this.bb,this.layoutId,this.j,this.Wa),c.xa(this.W),c.init(FI("instream-user-sentiment"),a,this.macros),g.M(this,c));b.flyoutCtaRenderer&&(a=b.flyoutCtaRenderer,a.flyoutCtaRenderer&&(c=new NL(this.api,this.bb,this.layoutId,this.j,this.Wa,this.u),g.M(this,c),c.xa(this.D),c.init(FI("flyout-cta"),a.flyoutCtaRenderer,this.macros)));d=d&&d.videoAdDurationSeconds;b.adBadgeRenderer&&(a=b.adBadgeRenderer.simpleAdBadgeRenderer,null==a&&(a= +{text:{text:"Ad",isTemplated:!1}}),c=new TL(this.api,this.bb,this.layoutId,this.j,this.Wa,!0),g.M(this,c),c.xa(this.B),c.init(FI("simple-ad-badge"),a,this.macros));b.adDurationRemaining&&(a=b.adDurationRemaining.adDurationRemainingRenderer,null==a&&(a={templatedCountdown:{templatedAdText:{text:"{FORMATTED_AD_DURATION_REMAINING}",isTemplated:!0}}}),d=new ZL(this.api,this.bb,this.layoutId,this.j,this.Wa,this.u,d),g.M(this,d),d.xa(this.B),d.init(FI("ad-duration-remaining"),a,this.macros));b.adInfoRenderer&& +(d=b.adInfoRenderer,d.adHoverTextButtonRenderer&&(a=new DL(this.api,this.bb,this.layoutId,this.j,this.Wa,this.element),g.M(this,a),a.xa(this.B),a.init(FI("ad-info-hover-text-button"),d.adHoverTextButtonRenderer,this.macros)));b.visitAdvertiserRenderer&&(b=b.visitAdvertiserRenderer,b.buttonRenderer&&(d=zFa(this)&&this.C?this.C:this.B))&&(a=new SL(this.api,this.bb,this.layoutId,this.j,this.Wa),g.M(this,a),a.xa(d),a.init(FI("visit-advertiser"),b.buttonRenderer,this.macros));(b=this.api.R())&&!RF(b)&& +"3"==b.controlsType&&(b=new eM(this.api,this.u),b.xa(this.va),g.M(this,b));this.api.R().K("enable_updated_html5_player_focus_style")&&g.ho(this.element,"ytp-ad-player-overlay-updated-focus-style");this.show()}; +fM.prototype.clear=function(){this.hide()};g.Fa("yt.pubsub.publish",g.Wx);var tM={identityType:"UNAUTHENTICATED_IDENTITY_TYPE_UNKNOWN"};var mM=Symbol("injectionDeps");kM.prototype.toString=function(){return"InjectionToken("+this.name+")"}; +JFa.prototype.resolve=function(a){return a instanceof lM?nM(this,a.key,[],!0):nM(this,a,[])};var DM;var m4={},LFa=(m4.WEB_UNPLUGGED="^unplugged/",m4.WEB_UNPLUGGED_ONBOARDING="^unplugged/",m4.WEB_UNPLUGGED_OPS="^unplugged/",m4.WEB_UNPLUGGED_PUBLIC="^unplugged/",m4.WEB_CREATOR="^creator/",m4.WEB_KIDS="^kids/",m4.WEB_EXPERIMENTS="^experiments/",m4.WEB_MUSIC="^music/",m4.WEB_REMIX="^music/",m4.WEB_MUSIC_EMBEDDED_PLAYER="^music/",m4.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",m4);qM.prototype.D=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?tM:c;var d={context:g.uK(a.clickTrackingParams,!1,this.C)};var e=this.j(a);if(e){this.u(d,e,b);var f;b=g.pM(this.B());(e=null==(f=g.av(a.commandMetadata,YYa))?void 0:f.apiUrl)&&(b=e);f=Bma(bv(b));a=g.T("kevlar_response_command_processor_page")?Object.assign({},{command:a},void 0):Object.assign({},void 0);d={input:f,Aq:cv(f),Rm:d,config:a};d.config.Ar?d.config.Ar.identity=c:d.config.Ar={identity:c};return d}g.qz(new g.Rv("Error: Failed to create Request from Command.", +a))}; +g.da.Object.defineProperties(qM.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return!1}}});g.u(rM,qM);rM.prototype.D=function(){return{input:"/getDatasyncIdsEndpoint",Aq:cv("/getDatasyncIdsEndpoint","GET"),Rm:{}}}; +rM.prototype.B=function(){return[]}; +rM.prototype.j=function(){}; +rM.prototype.u=function(){};var E0a={},NFa=(E0a.GET_DATASYNC_IDS=oM(rM),E0a);var SFa="tokens consistency mss client_location entities response_received_commands store PLAYER_PRELOAD".split(" "),UFa=["type.googleapis.com/youtube.api.pfiinnertube.YoutubeApiInnertube.BrowseResponse"];var XFa=new kM("INNERTUBE_TRANSPORT_TOKEN");g.u(vM,qM);vM.prototype.B=function(){return G_a}; +vM.prototype.j=function(a){return g.av(a,s_a)||void 0}; +vM.prototype.u=function(a,b,c){c=void 0===c?{}:c;b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params);c.botguardResponse&&(a.botguardResponse=c.botguardResponse);c.feature&&(a.clientFeature=c.feature)}; +g.da.Object.defineProperties(vM.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return!0}}});g.u(wM,qM);wM.prototype.B=function(){return H_a}; +wM.prototype.j=function(a){return g.av(a,q_a)||void 0}; +wM.prototype.u=function(a,b){b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params)}; +g.da.Object.defineProperties(wM.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return!0}}});g.u(xM,qM);xM.prototype.B=function(){return D_a}; +xM.prototype.j=function(a){return g.av(a,xIa)||void 0}; +xM.prototype.u=function(a,b,c){a.feedbackTokens=[];b.feedbackToken&&a.feedbackTokens.push(b.feedbackToken);if(b=b.cpn||c.cpn)a.feedbackContext={cpn:b};a.isFeedbackTokenUnencrypted=!!c.is_feedback_token_unencrypted;a.shouldMerge=!1;c.extra_feedback_tokens&&(a.shouldMerge=!0,a.feedbackTokens=a.feedbackTokens.concat(c.extra_feedback_tokens))}; +g.da.Object.defineProperties(xM.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return!0}}});g.u(yM,qM);yM.prototype.B=function(){return E_a}; +yM.prototype.j=function(a){return g.av(a,p_a)||void 0}; +yM.prototype.u=function(a,b){b.params&&(a.params=b.params);b.secondaryParams&&(a.secondaryParams=b.secondaryParams)};g.u(zM,qM);zM.prototype.B=function(){return F_a}; +zM.prototype.j=function(a){return g.av(a,n_a)||void 0}; +zM.prototype.u=function(a,b){b.actions&&(a.actions=b.actions);b.params&&(a.params=b.params);b.playlistId&&(a.playlistId=b.playlistId)};g.u(AM,qM);AM.prototype.B=function(){return C_a}; +AM.prototype.j=function(a){return g.av(a,c_a)}; +AM.prototype.u=function(a,b,c){c=void 0===c?{}:c;b.serializedShareEntity&&(a.serializedSharedEntity=b.serializedShareEntity);c.includeListId&&(a.includeListId=!0)};var IFa=new kM("NETWORK_SLI_TOKEN");BM.prototype.fetch=function(a,b){var c=this,d,e;return g.z(function(f){c.j&&(d=mi(g.pi(5,zi(a,"key")))||"/UNKNOWN_PATH",c.j.start(d));e=new window.Request(a,b);return g.T("web_fetch_promise_cleanup_killswitch")?f.return(Promise.resolve(fetch(e).then(function(h){return c.handleResponse(h)}).catch(function(h){g.rz(h)}))):f.return(fetch(e).then(function(h){return c.handleResponse(h)}).catch(function(h){g.rz(h)}))})}; +BM.prototype.handleResponse=function(a){var b=a.text().then(function(c){return JSON.parse(c.replace(")]}'",""))}); +a.redirected||a.ok?this.j&&this.j.success():(this.j&&this.j.failure(),b=b.then(function(c){g.rz(new g.Rv("Error: API fetch failed",a.status,a.url,c));return Object.assign({},c,{errorMetadata:{status:a.status}})})); +return b}; +BM[mM]=[new lM];var WFa=new kM("NETWORK_MANAGER_TOKEN");var CM;FM.prototype.fetch=function(a,b,c){var d=this;return new Promise(function(e){var f=new XMLHttpRequest;f.onerror=function(){e(d.handleResponse(a,f.status,f.response))}; +f.onload=function(){e(d.handleResponse(a,f.status,f.response))}; +if(null==c?0:c.lw)f.onreadystatechange=function(p){c.lw(f,p)}; +var h;f.open(null!=(h=b.method)?h:"GET",a,!0);f.responseType="text";f.withCredentials=!0;if(b.headers){h=g.r(Object.entries(b.headers));for(var l=h.next();!l.done;l=h.next()){var m=g.r(l.value);l=m.next().value;m=m.next().value;f.setRequestHeader(l,m)}}var n;f.send(null!=(n=b.body)?n:null)})}; +FM.prototype.handleResponse=function(a,b,c){c=c.replace(")]}'","");try{var d=JSON.parse(c)}catch(e){g.rz(new g.Rv("JSON parsing failed after XHR fetch",a,b,c)),d={}}200!==b&&(g.rz(new g.Rv("XHR API fetch failed",a,b,c)),d=Object.assign({},d,{errorMetadata:{status:b}}));return d};var ZFa=[],SM=!1;TM.getInstance=function(){var a=g.Ha("ytglobal.storage_");a||(a=new TM,g.Fa("ytglobal.storage_",a));return a}; +TM.prototype.estimate=function(){var a,b,c;return g.z(function(d){a=navigator;return(null==(b=a.storage)?0:b.estimate)?d.return(a.storage.estimate()):(null==(c=a.webkitTemporaryStorage)?0:c.queryUsageAndQuota)?d.return(bGa()):d.return()})}; +g.Fa("ytglobal.storageClass_",TM);Kv.prototype.vz=function(a){this.handleError(a)}; +Kv.prototype.logEvent=function(a,b){switch(a){case "IDB_DATA_CORRUPTED":g.T("idb_data_corrupted_killswitch")||this.j("idbDataCorrupted",b);break;case "IDB_UNEXPECTEDLY_CLOSED":this.j("idbUnexpectedlyClosed",b);break;case "IS_SUPPORTED_COMPLETED":g.T("idb_is_supported_completed_killswitch")||this.j("idbIsSupportedCompleted",b);break;case "QUOTA_EXCEEDED":dGa(this,b);break;case "TRANSACTION_ENDED":this.B&&this.j("idbTransactionEnded",b);break;case "TRANSACTION_UNEXPECTEDLY_ABORTED":a=Object.assign({}, +b,{hasWindowUnloaded:this.u}),this.j("idbTransactionAborted",a)}};g.k=UM.prototype; +g.k.initialize=function(a,b,c){if(a.program){var d,e=null!=(d=a.interpreterScript)?d:null,f;d=null!=(f=a.interpreterUrl)?f:null;a.interpreterSafeScript&&(e=a.interpreterSafeScript,g.fg("From proto message. b/166824318"),e=Tca(e.privateDoNotAccessOrElseSafeScriptWrappedValue||"").toString());a.interpreterSafeUrl&&(f=a.interpreterSafeUrl,g.fg("From proto message. b/166824318"),d=g.ig(f.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue||"").toString());fGa(this,e,d,a.program,b,c)}else g.rz(Error("Cannot initialize botguard without program"))}; +g.k.isInitialized=function(){return!!this.Vy()}; +g.k.getState=function(){return this.state}; +g.k.invoke=function(a){a=void 0===a?{}:a;var b=this.Vy();if(b){var c={by:a};if(b.WB)throw Error("Already disposed");a=Vi();var d;null!=(d=b.Hr)&&d.u.j.Yq("/client_streamz/bg/fsc",d.fh);d=b.S4([c.by,c.q4]);var e;null!=(e=b.Hr)&&e.B.dh(Vi()-a,e.fh);b=d}else b=null;return b}; +g.k.dispose=function(){this.ea()}; +g.k.ea=function(){this.HK(null);this.Qc(8)}; +g.k.Vy=function(){return this.j}; +g.k.HK=function(a){g.af(this.j);this.j=a}; +g.k.Qc=function(a){this.state=a};g.u(WM,UM);WM.prototype.ea=function(){this.Qc(8)}; +WM.prototype.Vy=function(){return hGa()}; +WM.prototype.HK=function(a){g.af(hGa());g.Fa("yt.abuse.playerAttLoader",a)};var XM,ZM;g.VM=new WM;XM=0;ZM=[];var lGa=new Set(["embed_config","endscreen_ad_tracking","home_group_info","ic_track"]);var vGa={phone:"SMALL_FORM_FACTOR",tablet:"LARGE_FORM_FACTOR"},wGa={android:"ANDROID","android.k":"ANDROID_KIDS","android.m":"ANDROID_MUSIC","android.up":"ANDROID_UNPLUGGED",youtube:"WEB","youtube.m":"WEB_REMIX","youtube.up":"WEB_UNPLUGGED",ytios:"IOS","ytios.k":"IOS_KIDS","ytios.m":"IOS_MUSIC","ytios.up":"IOS_UNPLUGGED"},xGa={desktop:"DESKTOP",phone:"MOBILE",tablet:"TABLET"},uGa={preroll:"BREAK_PREROLL",midroll:"BREAK_MIDROLL",postroll:"BREAK_POSTROLL"},sGa={0:"YT_KIDS_AGE_UP_MODE_UNKNOWN",1:"YT_KIDS_AGE_UP_MODE_OFF", +2:"YT_KIDS_AGE_UP_MODE_TWEEN",3:"YT_KIDS_AGE_UP_MODE_PRESCHOOL"},tGa={0:"MDX_CONTROL_MODE_UNKNOWN",1:"MDX_CONTROL_MODE_REMOTE",2:"MDX_CONTROL_MODE_VOICE"};g.u(gN,g.K);gN.prototype.ea=function(){this.N=this.u=this.B=this.I=this.j=this.J=this.D=this.C=void 0};var n4={},DGa=(n4["api.invalidparam"]=2,n4.auth=150,n4["drm.auth"]=150,n4["heartbeat.net"]=150,n4["heartbeat.servererror"]=150,n4["heartbeat.stop"]=150,n4["html5.unsupportedads"]=5,n4["fmt.noneavailable"]=5,n4["fmt.decode"]=5,n4["fmt.unplayable"]=5,n4["html5.missingapi"]=5,n4["html5.unsupportedlive"]=5,n4["drm.unavailable"]=5,n4);var FGa=new Set("endSeconds startSeconds mediaContentUrl suggestedQuality videoId rct rctn".split(" "));g.u(jN,g.K);g.k=jN.prototype; +g.k.handleExternalCall=function(a,b,c){var d=this.state.D[a],e=this.state.J[a],f=d;if(e)if(c&&mA(c,I_a))f=e;else if(!d)throw Error('API call from an untrusted origin: "'+c+'"');d=this.app.R();d.Kl&&!this.state.N.has(a)&&(this.state.N.add(a),g.Mv("webPlayerApiCalled",{callerUrl:d.loaderUrl,methodName:a,origin:c||void 0,playerStyle:d.playerStyle||void 0}));if(f){c=!1;d=g.r(b);for(e=d.next();!e.done;e=d.next())if(String(e.value).includes("javascript:")){c=!0;break}c&&g.rz(Error('Dangerous call to "'+a+ +'" with ['+b+"]."));return f.apply(this,b)}throw Error('Unknown API method: "'+a+'".');}; +g.k.isExternalMethodAvailable=function(a,b){return this.state.D[a]?!0:!!(this.state.J[a]&&b&&mA(b,I_a))}; +g.k.getBandwidthEstimate=function(){return DF(this.app.R().schedule)}; +g.k.reportPlaybackIssue=function(a){a=void 0===a?"":a;var b=g.oN(this.app);b&&(a={gpu:(0,g.bW)(),d:a},b.handleError(new zG("feedback",a)))}; +g.k.getApiInterface=function(){return Array.from(this.state.C)}; +g.k.getInternalApiInterface=function(){return g.uf(this.state.j)}; +g.k.SW=function(a,b){if("string"===typeof b){var c=function(){var d=g.za.apply(0,arguments);g.Ha(b).apply(window,d)}; +this.state.I[b]=c}else c=b;this.app.Rn.subscribe(a,c)}; +g.k.A3=function(a,b){if("string"===typeof b){var c=this.state.I[b];g.Df(this.state.I,b);b=c}this.app.Rn.unsubscribe(a,b)}; +g.k.getPlayerState=function(){return hSa(this.app)}; +g.k.cueVideoByPlayerVars=function(a,b){this.app.cueVideoByPlayerVars(a,b||this.playerType)}; +g.k.loadVideoByPlayerVars=function(a,b,c,d,e){this.app.loadVideoByPlayerVars(a,c||this.playerType,b,d,e)}; +g.k.preloadVideoByPlayerVars=function(a,b,c,d,e){c=void 0===c?NaN:c;this.app.preloadVideoByPlayerVars(a,b||this.playerType,c,void 0===d?"":d,void 0===e?"":e)}; +g.k.seekTo=function(a,b,c){this.j&&cY(this.app,!0,this.playerType);gY(this.app,a,b,c,this.playerType)}; +g.k.seekToChapterWithAnimation=function(a){this.app.seekToChapterWithAnimation(a)}; +g.k.startSeekCsiAction=function(){this.app.ej().D.j=(0,g.U)()}; +g.k.seekToStreamTime=function(a,b,c){this.j&&cY(this.app,!0,this.playerType);var d=this.app,e=this.playerType;b=void 0===b?!0:b;var f=void 0===f?!1:f;var h=g.oN(d,e),l=0;h&&h.getStreamTimeOffset()&&!h.wd()&&(l=h.getStreamTimeOffset());gY(d,a-l,b,c,e,f)}; +g.k.getStreamTimeOffset=function(){var a=g.oN(this.app,1);return a?a.getStreamTimeOffset():0}; +g.k.seekToLiveHead=function(a,b){var c=g.oN(this.app,this.playerType);c&&(c=c.getVideoData())&&c.isLivePlayback&&gY(this.app,Infinity,a,b,this.playerType)}; +g.k.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)}; +g.k.getMediaReferenceTime=function(){var a=this.app.getIngestionTime(this.playerType);return isNaN(a)?this.getCurrentTime():a}; +g.k.getDuration=function(){return this.app.getDuration(this.playerType)}; +g.k.getVolume=function(){return this.app.Bh.volume}; +g.k.setVolume=function(a){LGa(this,a)}; +g.k.isMuted=function(){return this.app.Bh.muted}; +g.k.mute=function(){MGa(this)}; +g.k.unMute=function(){NGa(this)}; +g.k.getPlayerMode=function(){var a={};this.app.getVideoData().C&&(a.pfp={enableIma:this.app.R().jh&&this.app.Wc().allowImaMonetization,autoplay:sI(this.app.Wc()),mutedAutoplay:this.app.Wc().mutedAutoplay});return a}; +g.k.playVideo=function(){this.j&&cY(this.app,!0,this.playerType);var a=this.app.getPresentingPlayerType();if(2===a&&!this.app.ze()){var b=oO(this.app.ob());if(!uXa(b)){b.Zm("control_play");return}if(vXa(b))return}3===a?wN(this.app.ob()).Zm("control_play"):this.app.playVideo(a)}; +g.k.pauseVideo=function(){var a=this.app.getPresentingPlayerType();if(2===a&&!this.app.ze()){var b=oO(this.app.ob());if(!uXa(b)){b.Zm("control_pause");return}}3===a?wN(this.app.ob()).Zm("control_pause"):this.app.pauseVideo(a)}; +g.k.stopVideo=function(){var a=this.app;a.U.Yb&&a.Sa.X("pageTransition");a.stopVideo()}; +g.k.clearVideo=function(){}; +g.k.getPlaybackRate=function(){return g.oN(this.app,1).getPlaybackRate()}; +g.k.setPlaybackRate=function(a){"number"===typeof a&&this.app.setPlaybackRate(a)}; +g.k.getAvailablePlaybackRates=function(){var a=this.app.R();if(a.Ed){var b=a.u||a.K("web_player_admin_origin_killswitch")?a.ancestorOrigins[0]:window.location.origin;a=["https://admin.youtube.com","https://viacon.corp.google.com","https://yurt.corp.google.com"].includes(b)||a.Rl?Q_a:P_a}else a=[1];return a}; +g.k.getPlaybackQuality=function(a){return(a=g.oN(this.app,a))?a.getPlaybackQuality():"unknown"}; +g.k.setPlaybackQuality=function(){}; +g.k.getAvailableQualityLevels=function(){var a=g.oN(this.app,this.playerType);return a?(a=g.Pk(a.Hp(),function(b){return b.quality}),a.length&&("auto"===a[0]&&a.shift(),a=a.concat(["auto"])),a):[]}; +g.k.getAvailableQualityLabels=function(){var a=g.oN(this.app,this.playerType);return a?g.Pk(a.Hp(),function(b){return b.qualityLabel}):[]}; +g.k.getVideoBytesLoaded=function(){return this.getVideoLoadedFraction()}; +g.k.getVideoBytesTotal=function(){return 1}; +g.k.getVideoLoadedFraction=function(){return this.app.getVideoLoadedFraction()}; +g.k.getVideoStartBytes=function(){return 0}; +g.k.getSize=function(){var a=this.app.Za().getPlayerSize();return{width:a.width,height:a.height}}; +g.k.setSize=function(){this.app.Za().resize()}; +g.k.channelSubscribed=function(){this.Ka("SUBSCRIBE",this.app.Wc().Ek)}; +g.k.channelUnsubscribed=function(){this.Ka("UNSUBSCRIBE",this.app.Wc().Ek)}; +g.k.getStatsForNerds=function(){return this.app.getStatsForNerds()}; +g.k.setScreenLayer=function(a){this.app.setScreenLayer(a)}; +g.k.getCurrentPlaylistSequence=function(){return g.oN(this.app).getPlaylistSequenceForTime(this.app.getCurrentTime())}; +g.k.getPlaylistSequenceForTime=function(a){return g.oN(this.app).getPlaylistSequenceForTime(a)}; +g.k.shouldSendVisibilityState=function(){return!0}; +g.k.updateFullerscreenEduButtonVisibility=function(a){var b=ySa(this.app);b&&(b.u=a,b.Fa())}; +g.k.updateFullerscreenEduButtonSubtleModeState=function(a){var b=ySa(this.app);b&&(g.N(b.element,"ytp-fullerscreen-edu-button-subtle",a),a&&!b.C&&(b.element.setAttribute("title","Scroll for details"),g.cf(b,g.$O(b.B.pc(),b.element)),b.C=!0))}; +g.k.confirmYpcRental=function(){var a=g.oN(this.app,this.playerType);a&&a.rf("ypc_clickwrap")}; +g.k.setHomeGroupInfo=function(a){this.app.R().homeGroupInfo=a}; +g.k.setConnectedRemoteApps=function(a){this.app.R().Ll=a}; +g.k.setLivingRoomAppMode=function(a){this.app.R().livingRoomAppMode=fv("LIVING_ROOM_APP_MODE_UNSPECIFIED",a,HYa)}; +g.k.setEnablePrivacyFilter=function(a){this.app.R().enablePrivacyFilter=void 0===a?!1:a}; +g.k.isPictureInPictureAllowed=function(){return this.app.Wc().DI}; +g.k.togglePictureInPicture=function(){this.app.togglePictureInPicture()}; +g.k.loadModule=function(a){"captions"===a&&(a=g.jO(this.app.ob()))&&!a.loaded&&a.load()}; +g.k.unloadModule=function(a){"captions"===a&&(a=g.jO(this.app.ob()))&&a.loaded&&a.x5()}; +g.k.loadVideoById=function(a,b,c){a&&(a=iN(a,b,c),a=this.app.loadVideoByPlayerVars(a,this.playerType),this.j&&cY(this.app,a,this.playerType))}; +g.k.cueVideoById=function(a,b,c){a=iN(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)}; +g.k.loadVideoByUrl=function(a,b,c){a=EGa(a,b,c);a=this.app.loadVideoByPlayerVars(a,this.playerType);this.j&&cY(this.app,a,this.playerType)}; +g.k.cueVideoByUrl=function(a,b,c){a=EGa(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)}; +g.k.getVideoUrl=function(){var a=this.app.R();if(a.N)return"";var b=this.app.Wc(),c=void 0;b.isLivePlayback||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)}; +g.k.getDebugText=function(){return this.app.getDebugText()}; +g.k.getVideoEmbedCode=function(){var a=this.app.R();if(a.N)return"";var b=this.app.Wc();return a.getVideoEmbedCode(b.isPrivate?"":b.title,this.app.Wc().videoId,this.app.Za().getPlayerSize(),this.getPlaylistId()||void 0)}; +g.k.addCueRange=function(a,b,c){return eY(this.app,a,b,c)}; +g.k.addUtcCueRange=function(a,b,c,d,e){return oSa(this.app,a,b,c,d,e)}; +g.k.removeCueRange=function(a){return pSa(this.app,a)}; +g.k.loadPlaylist=function(a,b,c,d){this.app.loadPlaylist(a,b,c,d);this.j&&cY(this.app,!0,this.playerType)}; +g.k.cuePlaylist=function(a,b,c,d){this.app.cuePlaylist(a,b,c,d)}; +g.k.nextVideo=function(){this.app.nextVideo();this.j&&cY(this.app,!0,this.playerType)}; +g.k.previousVideo=function(){this.app.previousVideo();this.j&&cY(this.app,!0,this.playerType)}; +g.k.playVideoAt=function(a){this.app.playVideoAt(a);this.j&&cY(this.app,!0,this.playerType)}; +g.k.setShuffle=function(a){var b=this.app.getPlaylist();b&&b.setShuffle(a)}; +g.k.setLoop=function(a){var b=this.app.getPlaylist();b&&(b.loop=a)}; +g.k.AY=function(){var a=this.app.getPlaylist();if(!a)return null;for(var b=[],c=0;c=c.zc.length)c=!1;else{d=g.r(c.zc);for(e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof FG)){c=!1;break a}var f=a.Ic.getId();e.B&&(vza(e.B,f),e.u=null)}c.Vl=a;c=!0}c&&iX(b)&&(b.X("internalaudioformatchange",b.videoData,!0),b.ma("hlsaudio",{id:a.id}))}}}; +g.k.lY=function(){return this.getAvailableAudioTracks()}; +g.k.getAvailableAudioTracks=function(){return g.oN(this.app,this.playerType).getAvailableAudioTracks()}; +g.k.getMaxPlaybackQuality=function(){var a=g.oN(this.app,this.playerType);return a&&a.getVideoData().u?yB(a.Ke?OV(a.Wg,a.Ke,a.Zr()):GH):"unknown"}; +g.k.getUserPlaybackQualityPreference=function(){var a=g.oN(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"}; +g.k.getSubtitlesUserSettings=function(){var a=g.jO(this.app.ob());return a?a.CY():null}; +g.k.resetSubtitlesUserSettings=function(){g.jO(this.app.ob()).I3()}; +g.k.setMinimized=function(a){this.app.setMinimized(a)}; +g.k.setInlinePreview=function(a){this.app.setInlinePreview(a)}; +g.k.setGlobalCrop=function(a){this.app.Za().setGlobalCrop(a)}; +g.k.getVisibilityState=function(){var a=this.wf();return this.app.getVisibilityState(this.Bg(),this.isFullscreen()||RF(this.app.R()),a,this.isInline(),this.app.Vv(),this.app.Sv())}; +g.k.isMutedByMutedAutoplay=function(){return this.app.Bz}; +g.k.isInline=function(){return this.app.isInline()}; +g.k.setInternalSize=function(a,b){this.app.Za().setInternalSize(new g.Qg(a,b))}; +g.k.wd=function(){var a=g.oN(this.app);return a?a.wd():0}; +g.k.wf=function(){return this.app.wf()}; +g.k.Bg=function(){var a=g.oN(this.app,this.playerType);return!!a&&a.Bg()}; +g.k.isFullscreen=function(){return this.app.isFullscreen()}; +g.k.setSafetyMode=function(a){this.app.R().enableSafetyMode=a}; +g.k.canPlayType=function(a){return this.app.canPlayType(a)}; +g.k.updatePlaylist=function(a){if(a){var b=this.getPlaylistId(),c=!1;if(b&&b!==a.list)if(this.K("player_enable_playback_playlist_change"))c=!0;else return;void 0!==a.external_list&&this.app.setIsExternalPlaylist(a.external_list);var d=a.video;(b=this.app.getPlaylist())&&!c?this.isFullscreen()&&((c=d[b.index])&&c.encrypted_id!==g.XN(b).videoId||(a.index=b.index)):RX(this.app,{list:a.list,index:a.index,playlist_length:d.length});ZN(this.app.getPlaylist(),a);this.Ka("onPlaylistUpdate")}else this.app.updatePlaylist()}; +g.k.updateVideoData=function(a,b){var c=g.oN(this.app,this.playerType||1);c&&g.KH(c.getVideoData(),a,b)}; +g.k.updateEnvironmentData=function(a){$F(this.app.R(),a,!1)}; +g.k.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; +g.k.setCardsVisible=function(a,b,c){var d=g.sO(this.app.ob());d&&d.ri()&&d.setCardsVisible(a,b,c)}; +g.k.productsInVideoVisibilityUpdated=function(a){this.X("changeProductsInVideoVisibility",a)}; +g.k.setInline=function(a){this.app.setInline(a)}; +g.k.isAtLiveHead=function(a,b){return this.app.isAtLiveHead(a,void 0===b?!0:b)}; +g.k.getVideoAspectRatio=function(){return this.app.Za().getVideoAspectRatio()}; +g.k.getPreferredQuality=function(){var a=g.oN(this.app);return a?a.getPreferredQuality():"unknown"}; +g.k.setPlaybackQualityRange=function(a,b){var c=g.oN(this.app,this.playerType);c&&g.rRa(c,g.vB(a,b||a,!0,"m"),!0)}; +g.k.onAdUxClicked=function(a,b){this.X("aduxclicked",a,b)}; +g.k.showAirplayPicker=function(){this.app.showAirplayPicker()}; +g.k.addBgVersionChangeCallback=function(a){this.app.addBgVersionChangeCallback(a)}; +g.k.dispatchReduxAction=function(a){g.TH.dispatch(a)}; +g.k.changeMarkerVisibility=function(a,b){var c=this.app.getVideoData(),d=!1;a?b.forEach(function(e){c.Dd.includes(e)||(c.Dd.push(e),d=!0)}):b.forEach(function(e){c.visibleOnLoadKeys.includes(e)||g.Zb(c.Dd,e)&&(d=!0)}); +d&&this.X("updatemarkervisibility")}; +g.k.X=function(a){var b=g.za.apply(1,arguments);this.app.R().C&&("videodatachange"===a||"resize"===a||"cardstatechange"===a)&&this.app.Rn.X.apply(this.app.Rn,[a].concat(g.t(b)));this.app.Ho.X.apply(this.app.Ho,[a].concat(g.t(b)))}; +g.k.Ka=function(a){var b=g.za.apply(1,arguments);this.app.Rn.X.apply(this.app.Rn,[a].concat(g.t(b)));this.app.Ho.X.apply(this.app.Ho,[a].concat(g.t(b)))}; +g.k.getFeedbackProductData=function(){return this.app.getFeedbackProductData()}; +g.k.logImaAdEvent=function(a,b){this.app.R().jh&&this.app.Wc().allowImaMonetization&&(a={adSource:"EMBEDS_AD_SOURCE_IMA",breakType:b,embedUrl:g.Bea(this.app.R().loaderUrl),eventType:a,youtubeHost:g.qi(this.app.R().qa)||""},g.Mv("embedsAdEvent",a))}; +g.k.K=function(a){return this.app.R().K(a)}; +g.k.ea=function(){if(this.element){var a=this.element,b;for(b in this.state.j)this.state.j.hasOwnProperty(b)&&(a[b]=null);this.element=null}g.K.prototype.ea.call(this)};g.u(rN,jN);g.k=rN.prototype;g.k.addCueRange=function(a,b,c,d,e){return eY(this.app,a,b,c,d,e)}; +g.k.getPlayerState=function(a){return hSa(this.app,a)}; +g.k.nextVideo=function(a,b){this.app.nextVideo(a,b)}; +g.k.previousVideo=function(a){this.app.previousVideo(a)}; +g.k.seekBy=function(a,b,c){gY(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)}; +g.k.seekTo=function(a,b,c,d){gY(this.app,a,b,c,d||this.playerType)}; +g.k.getStoryboardFormat=function(){return this.app.getStoryboardFormat()}; +g.k.getCurrentTime=function(a,b){if(2===this.app.getAppState()&&5===this.getPlayerState()){var c;return(null==(c=this.app.getVideoData())?void 0:c.startSeconds)||0}return a?this.app.getCurrentTime(a,b):jN.prototype.getCurrentTime.call(this)}; +g.k.getDuration=function(a,b){if(3===this.getPresentingPlayerType()){var c;return(null==(c=wN(this.app.ob()).getProgressState())?void 0:c.duration)||0}return a?this.app.getDuration(a,b):jN.prototype.getDuration.call(this)}; +g.k.getProgressState=function(a){if(3===this.getPresentingPlayerType())return wN(this.app.ob()).getProgressState();var b=this.app.getVideoData(),c=(g.oN(this.app,a)||g.oN(this.app)).getPlayerType();a:{var d=this.app.getVideoData();var e;if(null==(e=d.progressBarStartPosition)?0:e.utcTimeMillis)if(d=Number(d.progressBarStartPosition.utcTimeMillis)/1E3,!isNaN(d)){d=RGa(this,d,a);break a}d=0}var f;a:{e=this.app.getVideoData();if(null==(f=e.progressBarEndPosition)?0:f.utcTimeMillis)if(f=Number(e.progressBarEndPosition.utcTimeMillis)/ +1E3,!isNaN(f)){f=RGa(this,f,a);break a}f=0}e=this.getCurrentTime(a);a=this.getDuration(a);var h=this.app.getIngestionTime(c),l=this.app.isAtLiveHead(c),m=this.app.Iv(),n=this.app.getMinSeekableTime(c);var p=this.app;(c=g.oN(p,c))?(c=PX(p,c),c=$X(p,oS(c),c)):c=0;return{airingStart:d,airingEnd:f,allowSeeking:this.app.cg(),clipEnd:b.clipEnd,clipStart:b.clipStart,current:e,displayedStart:-1,duration:a,ingestionTime:h,isAtLiveHead:l,loaded:m,seekableStart:n,seekableEnd:c}}; +g.k.getVideoLoadedFraction=function(a){return this.app.getVideoLoadedFraction(a)}; +g.k.getCurrentBroadcastId=function(){return null}; +g.k.handleGlobalKeyDown=function(a,b,c,d,e,f,h){b=void 0===b?!1:b;c=void 0===c?!1:c;d=void 0===d?!1:d;e=void 0===e?!1:e;var l=g.qN(this);l&&l.handleGlobalKeyDown(a,b,c,d,e,f,h)}; +g.k.handleGlobalKeyUp=function(a,b,c,d,e,f,h){b=void 0===b?!1:b;c=void 0===c?!1:c;d=void 0===d?!1:d;e=void 0===e?!1:e;var l=g.qN(this);l&&l.handleGlobalKeyUp(a,b,c,d,e,f,h)}; +g.k.setSizeStyle=function(a,b){this.app.setSizeStyle(a,b)}; +g.k.showControls=function(){var a=g.qN(this);a&&a.showControls(!0)}; +g.k.hideControls=function(){var a=g.qN(this);a&&a.showControls(!1)}; +g.k.getVideoContentRect=function(a){a=this.app.Za().getVideoContentRect(a);return{left:a.left,top:a.top,width:a.width,height:a.height}}; +g.k.setFauxFullscreen=function(a){g.Wy();this.app.wk(a?2:0)}; +g.k.toggleFullscreen=function(){function a(c){g.rz(c)} +var b=this.app.R();if(b.externalFullscreen){if(!g.oG(b))return this.isFullscreen()?Yy(window.document.documentElement):Vy(window.document.documentElement).catch(a)}else if(g.Wy()||b.I)return this.isFullscreen()?Yy(Xy()):"3"!==b.controlsType&&g.Wy()?Vy(this.app.Za().element).catch(a):(b=this.app.Qd().tf())?Vy(b).catch(a):Promise.reject(Error("Media element missing"));this.Ka("onFullscreenToggled",this.isFullscreen());return Promise.resolve(void 0)}; +g.k.cancelPlayback=function(){var a=oO(this.app.ob());a&&a.created&&a.destroy();(a=g.oN(this.app))&&a.stopVideo();(a=this.app.ob().ge.get("endscreen"))&&a.wZ()&&g.vN(this.app.Sa,!0)}; +g.k.stopVideo=function(){var a=this.app.R();!a.K("disable_new_pause_state3")&&jG(a)&&"blazer"!==a.playerStyle?this.cancelPlayback():jN.prototype.stopVideo.call(this)}; +g.k.getVideoStats=function(){return g.oN(this.app,this.playerType).Ob(!0)}; +g.k.toggleSubtitles=function(){var a=g.jO(this.app.ob());a&&a.c5()}; +g.k.getDebugText=function(a){return this.app.getDebugText(a)}; +g.k.setSphericalProperties=function(a){if(a){var b=g.yN(this.app.ob());b&&b.setSphericalProperties(a,!0)}}; +g.k.getSphericalProperties=function(){var a=g.yN(this.app.ob());return a?a.getSphericalProperties():{}}; +g.k.setVolume=function(a,b){LGa(this,a,b)}; +g.k.mute=function(a){MGa(this,a)}; +g.k.unMute=function(a){NGa(this,a)}; +g.k.mutedAutoplay=function(){this.K("embeds_enable_muted_autoplay")&&this.app.mutedAutoplay()}; +g.k.loadModule=function(a){if("annotations_module"===a){var b=g.sO(this.app.ob());b&&!b.loaded&&b.load()}jN.prototype.loadModule.call(this,a)}; +g.k.unloadModule=function(a){if("annotations_module"===a){var b=g.sO(this.app.ob());b&&b.loaded&&b.unload()}jN.prototype.unloadModule.call(this,a)}; +g.k.setOption=function(a,b,c){if(!b)return null;var d=this.app.ob();switch(a){case "ad":return(a=oO(d))&&a.xg&&a.xg(b,c);case "kids":return(a=pO(d))&&a.xg(b,c);case "remote":return(a=wN(d))&&a.xg(b,c);case "unplugged":return(a=g.qO(d))&&a.xg(b,c);case "annotations_module":return(a=g.sO(d))&&a.xg(b,c);case "creatorendscreen":return(a=tO(d))&&a.xg(b,c)}return jN.prototype.setOption.call(this,a,b,c)}; +g.k.getOptions=function(a){var b=this.app.ob();switch(a){case "ad":var c,d;return(null==(c=oO(b))?void 0:null==(d=c.getOptions)?void 0:d.call(c))||null;case "remote":var e,f;return(null==(e=wN(b))?void 0:null==(f=e.getOptions)?void 0:f.call(e))||null;case "annotations_module":var h,l;return(null==(h=g.sO(b))?void 0:null==(l=h.getOptions)?void 0:l.call(h))||null;case "creatorendscreen":var m,n;return(null==(m=tO(b))?void 0:null==(n=m.getOptions)?void 0:n.call(m))||null;case "unplugged":var p,q;return(null== +(p=g.qO(b))?void 0:null==(q=p.getOptions)?void 0:q.call(p))||null;case "kids":var v,w;return(null==(v=pO(b))?void 0:null==(w=v.getOptions)?void 0:w.call(v))||null}if(!a){a=jN.prototype.getOptions.call(this);if(!a)return a;oO(b)&&a.push("ad");wN(b)&&a.push("remote");g.sO(b)&&a.push("annotations_module");tO(b)&&a.push("creatorendscreen");g.qO(b)&&a.push("unplugged");pO(b)&&a.push("kids");return a}return jN.prototype.getOptions.call(this,a)}; +g.k.getPlayerSize=function(){var a=this.app.Za().getPlayerSize();return{width:a.width,height:a.height}}; +g.k.wakeUpControls=function(){var a=g.qN(this);a&&a.un()}; +g.k.setCenterCrop=function(a){this.app.Za().setCenterCrop(a)}; +g.k.getLoopVideo=function(){return this.app.getLoopVideo()}; +g.k.setLoopVideo=function(a){this.app.setLoopVideo(a)}; +var PGa="BASE_URL BASE_YT_URL adformat adaptive_fmts allow_embed authuser autoplay cc_load_policy cpn dash dashmpd disable_native_context_menu disablekb docid el enable_faster_speeds enablecastapi end external_fullscreen fmt_list hl hlsdvr hlsvp iurl iurlhq iurlmq length_seconds live_playback osig override_hl partnerid pipable playsinline plid post_live_playback postid ps public rel show_loop_video_toggle start startSeconds status suggestedQuality timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoId".split(" "), +QGa="adformat allow_embed authuser autohide autonav autoplay c cbr cbrver cc_load_policy controls cos cosver cr csi_page_type cver cyc dash dashmpd disablekb el enablecastapi enablecsi end external_fullscreen external_list fs hl host_language innertube_api_key innertube_api_version innertube_context_client_version iurl iurlhq iurlmq iv_load_policy jsapicallback length_seconds live_playback live_storyboard_spec loaderUrl osig override_hl pageid partnerid pipable player_params player_wide playsinline plid postid profile_picture ps rel show_miniplayer_button showinfo showwatchlater start startSeconds status storyboard_spec suggestedQuality timestamp title tkn token transparent_background ucid url_encoded_fmt_stream_map use_miniplayer_ui use_native_controls videoId video_id vss_host watermark".split(" ");g.u(g.tN,rN);g.k=g.tN.prototype;g.k.Gl=function(a,b,c,d,e,f,h){return this.app.Gl(a,b,c,d,e,f,h)}; +g.k.Dy=function(){return this.app.Dy()}; +g.k.Gp=aa(4);g.k.ob=function(){return this.app.ob()}; +g.k.Ve=function(){var a=this.ob().ge.get("endscreen");return!!a&&a.Ve()}; +g.k.getRootNode=function(){return this.Za().element}; +g.k.R=function(){return this.app.R()}; +g.k.Jv=aa(6);g.k.Cm=function(a){return this.app.Cm(a)}; +g.k.Em=function(){return this.settingsMenu}; +g.k.Py=function(){return this.FF}; +g.k.zb=function(a){return this.app.zb(a)}; +g.k.Za=function(){return this.app.Za()}; +g.k.getPlaylist=function(){return this.app.getPlaylist()}; +g.k.getVideoData=function(a){var b=g.oN(this.app,a);if(!b)return null;b=b.getVideoData();var c;if(b.enableServerStitchedDai&&2===a){a=this.app;if(null==(b=a.Rd))b=void 0;else{var d=a.getCurrentTime();b=b.yp?void 0:null==(c=JS(b,1E3*d))?void 0:c.videoData}c=b||a.getVideoData()}else c=b;return c}; +g.k.Ii=function(a){return this.app.Ii(a)}; +g.k.isWidescreen=function(){return this.app.isWidescreen()}; +g.k.isHdr=function(){var a=g.oN(this.app);return a?a.isHdr():!1}; +g.k.nz=function(){return this.app.nz()}; +g.k.Jw=function(a){this.app.Jw(a)}; +g.k.fg=function(a,b,c,d,e){this.app.Kf(a,b,c,d,e)}; +g.k.Po=function(a,b){this.app.Po(a,b)}; +g.k.playVideo=function(a){try{if(3===this.getPresentingPlayerType()){wN(this.app.ob()).Zm("control_play");return}if(2===this.getPresentingPlayerType()){var b=oO(this.app.ob());if(b&&vXa(b))return}}catch(c){g.qz(c)}this.app.playVideo(a)}; +g.k.stopVideo=function(a){g.oN(this.app,a).stopVideo()}; +g.k.Jo=function(a){g.oN(this.app,a).Jo()}; +g.k.addEventListener=function(a,b){this.app.Ho.subscribe(a,b)}; +g.k.removeEventListener=function(a,b){this.app.Ho.unsubscribe(a,b)}; +g.k.X=function(a){rN.prototype.X.call.apply(rN.prototype.X,[this,a].concat(g.t(g.za.apply(1,arguments))))}; +g.k.lk=function(a){this.app.lk(a)}; +g.k.setPlaybackQuality=function(a){this.setPlaybackQualityRange(a,a)}; +g.k.Hp=function(){var a={},b=g.oN(this.app).Hp();b=g.r(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a[c.quality]=c;return a}; +g.k.Ey=function(){return g.oN(this.app).Ey()}; +g.k.My=aa(10);g.k.hE=function(a){this.app.hE(a);a&&uSa(this.app,a)}; +g.k.getDebugText=function(a){return this.app.getDebugText(a)}; +g.k.getVideoUrl=function(a,b,c,d){var e=this.getPresentingPlayerType(),f=2===e;if(d&&f||3===e)f=!1,e=1;d=this.getVideoData(e);if(!d)return"";var h;a||d.isLivePlayback||(h=Math.floor(this.getCurrentTime(e)));a=f?void 0:this.getPlaylistId()||void 0;b&&"WL"===a&&(a=void 0);return this.app.getVideoUrl(d.videoId,a,h,b,c)}; +g.k.Ny=aa(12);g.k.wl=aa(16);g.k.dw=function(a,b){this.ob().dw(a,b)}; +g.k.ri=function(){var a=g.sO(this.ob());return!!a&&a.ri()}; +g.k.nm=function(){var a=g.sO(this.ob());return!!a&&a.nm()}; +g.k.setCardsVisible=function(a,b,c){var d=g.sO(this.ob());d&&d.setCardsVisible(a,b,c)}; +g.k.productsInVideoVisibilityUpdated=function(a){this.X("changeProductsInVideoVisibility",a)}; +g.k.Gw=aa(17);g.k.Rt=function(){var a=g.oN(this.app);a&&a.Rt()}; +g.k.oA=function(a){this.Ka("onVideoAreaChange");this.Ka(a?"onShowControls":"onHideControls")}; +g.k.Sj=function(a,b){var c=g.qN(this);if(c)return c.Sj(a,b);a=this.app.Za().Ji();return new g.vl(0,0,a.width,a.height)}; +g.k.Pp=function(){return this.app.Pp()}; +g.k.kz=function(){var a=this.ob().ge.get("heartbeat");return!!a&&a.kz()}; +g.k.cg=function(){var a=this.R();if(a.Ea||a.disableSeek)return!1;a=g.oN(this.app);if(!a)return!1;var b=a.getVideoData();return!b.isValid()||g.iI(b)||2===this.getPresentingPlayerType()&&!this.app.ze()||a.Km()&&3!==this.getPresentingPlayerType()?!1:!0}; +g.k.gz=function(){var a;return(null==(a=g.oN(this.app))?void 0:a.gz)||!1}; +g.k.isOrchestrationLeader=function(){return this.app.isOrchestrationLeader()}; +g.k.Dq=function(){var a=g.oN(this.app);a&&a.Dq()}; +g.k.sendVideoStatsEngageEvent=function(a,b,c){this.app.sendVideoStatsEngageEvent(a,c,b)}; +g.k.le=function(a,b,c){this.app.Px(a,b,c)}; +g.k.eh=function(a,b){this.app.bE(a,b)}; +g.k.Af=function(a,b){var c=this.app,d=g.oN(c,b);d&&(a=d.Ih.Af(a),b&&c.getPresentingPlayerType()!==b||MX(c,"cuerangesremoved",a))}; +g.k.rf=function(a,b){(b=g.oN(this.app,b))&&b.rf(a)}; +g.k.Km=function(){var a=g.oN(this.app);return a?a.Km():!0}; +g.k.setPlaybackRate=function(a,b){this.app.setPlaybackRate(a,b)}; +g.k.setVolume=function(a){a=g.Cg(a,0,100);nN(this.app,{volume:a,muted:this.isMuted()},!0)}; +g.k.mute=function(){nN(this.app,{muted:!0,volume:this.getVolume()},!0)}; +g.k.unMute=function(){nN(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)}; +g.k.setLoopVideo=function(a){this.app.setLoopVideo(a)}; +g.k.getLoopVideo=function(){return this.app.getLoopVideo()}; +g.k.Qd=function(){return this.app.Qd()}; +g.k.ej=function(){return this.app.ej()}; +g.k.Hi=function(a){return this.app.Hi(a)}; +g.k.getBandwidthEstimate=function(){return DF(this.R().schedule)}; +g.k.rb=function(a,b,c,d){this.R().Ua&&this.app.Vp.rb(a,b,c,void 0===d?!1:d)}; +g.k.Ai=function(a,b,c){this.R().Ua&&this.app.Vp.Ai(a,b,void 0===c?!1:c)}; +g.k.xk=function(a,b){this.R().Ua&&this.app.Vp.xk(a,b)}; +g.k.qb=function(a,b){this.R().Ua&&this.app.Vp.click(a,b)}; +g.k.Ta=function(a,b,c){if(this.R().Ua){var d=this.app.Vp;d.elements.has(a);b?d.j.add(a):d.j.delete(a);var e=g.Bz(),f=a.visualElement;d.u.has(a)?e&&f&&(b?g.Jz(e,[f]):g.Kz(e,[f])):b&&!d.B.has(a)&&(e&&f&&g.Gz(e,f,c),d.B.add(a))}}; +g.k.Nm=function(a){return this.R().Ua?this.app.Vp.Nm(a):!1}; +g.k.Fc=function(){return g.oN(this.app)}; +g.k.getPresentingPlayerType=function(a){return this.app.getPresentingPlayerType(a)}; +g.k.Io=function(){this.app.Io()}; +g.k.ey=function(a,b){return this.app.ey(a,b)}; +g.k.pn=function(a){this.app.pn(a)}; +g.k.SI=function(){this.app.SI()}; +g.k.Uu=function(a,b,c,d,e,f,h){return this.app.Uu(a,b,c,d,e,f,h)}; +g.k.ez=function(a,b,c,d,e,f,h){return this.app.ez(a,b,c,d,e,f,h)}; +g.k.rq=function(a){this.app.rq(a)}; +g.k.Gr=function(a,b){b=void 0===b?Infinity:b;this.app.Gr(void 0===a?-1:a,b)}; +g.k.Xw=function(a,b,c){this.app.Xw(a,b,c)}; +g.k.Kp=function(){return this.app.Kp()}; +g.k.ZB=function(a,b,c){this.app.ZB(a,b,void 0===c?0:c)}; +g.k.Wv=function(){return this.app.Wv()}; +g.k.clearQueue=function(){this.app.clearQueue()}; +g.k.ze=function(){return this.app.ze()}; +g.k.aq=function(a,b,c){return this.app.aq(a,b,c)}; +g.k.ma=function(a,b,c,d){c=void 0===c?!1:c;var e;null==(e=g.oN(this.app,d))||e.ma(a,b,c)}; +g.k.qE=function(){return this.app.qE()}; +g.k.requestStorageAccess=function(a,b){this.app.requestStorageAccess(a,b)}; +g.k.lJ=function(a,b){this.X("aduxmouseover",a,b)}; +g.k.kJ=function(a,b){this.X("aduxmouseout",a,b)}; +g.k.FJ=function(a,b){this.X("muteadaccepted",a,b)}; +g.k.VC=function(){return this.app.Za().VC()}; +g.k.Kw=function(a){this.app.Za().Kw(a)}; +g.k.zl=function(){var a=g.oN(this.app);return a?a.zl():!1}; +g.k.EK=function(a){this.app.EK(a)};g.u(g.CN,g.ZK);g.k=g.CN.prototype;g.k.show=function(){var a=this.qh();g.ZK.prototype.show.call(this);this.va&&(this.J.P(window,"blur",this.Ib),this.J.P(document,"click",this.rV));a||this.X("show",!0)}; +g.k.hide=function(){var a=this.qh();g.ZK.prototype.hide.call(this);VGa(this);a&&this.X("show",!1)}; +g.k.od=function(a,b){this.u=a;this.V.show();b?(this.N||(this.N=this.J.P(this.G,"appresize",this.EN)),this.EN()):this.N&&(this.J.uc(this.N),this.N=void 0)}; +g.k.EN=function(){var a=g.qN(this.G);this.u&&a.nt(this.element,this.u)}; +g.k.Ib=function(){var a=this.qh();VGa(this);this.V.hide();a&&this.X("show",!1)}; +g.k.rV=function(a){var b=Dx(a);b&&(g.sh(this.element,b)||this.u&&g.sh(this.u,b)||!g.YL(a))||this.Ib()}; +g.k.qh=function(){return this.tb&&4!==this.V.state};g.u(EN,g.CN);EN.prototype.od=function(){g.CN.prototype.od.call(this);this.dialog.focus()};g.u(g.FN,g.ZK);g.FN.prototype.Ig=function(a){this.Ja("label",a)}; +g.FN.prototype.Ja=function(a,b){g.ZK.prototype.Ja.call(this,a,b);this.X("size-change")};g.u(IN,g.FN);IN.prototype.lc=function(a){this.u&&this.G.Ta(this.element,this.j&&a)}; +IN.prototype.C=function(){var a,b,c=null==(a=this.G.getVideoData())?void 0:null==(b=a.accountLinkingConfig)?void 0:b.linked;if(c&&!this.j){var d;a=null==(d=this.G.getVideoData())?void 0:d.accountLinkingConfig;var e;this.Ig(JN(null==a?void 0:null==(e=a.menuData)?void 0:e.connectedMenuLabel));var f,h,l;this.B=new EN(this.G,JN(null==a?void 0:null==(f=a.menuData)?void 0:f.connectedDialogTitle),JN(null==a?void 0:null==(h=a.menuData)?void 0:h.connectedDialogMessage),JN(null==a?void 0:null==(l=a.menuData)? +void 0:l.confirmButtonText));g.M(this,this.B);var m;d=(null==a?void 0:null==(m=a.menuData)?void 0:m.trackingParams)||null;(this.u=!!d)&&this.G.xk(this.element,d);this.ib.Bc(this);this.j=!0}else!c&&this.j&&(this.ib.Bf(this),this.j=!1)}; +IN.prototype.onClick=function(){this.u&&this.G.qb(this.element);this.ib.Ib();this.B&&this.B.od()};g.u(KN,g.K);KN.prototype.K=function(a){return this.api.K(a)};g.u(LN,KN);LN.prototype.onVideoDataChange=function(a){if(!a.accountLinkingConfig){var b,c=null==(b=a.getPlayerResponse())?void 0:b.accountLinkingConfig;a.accountLinkingConfig=c}var d;if(b=null==(d=a.accountLinkingConfig)?void 0:d.alsParam)a.aQ=b}; +LN.prototype.setAccountLinkState=function(a){this.api.getVideoData().aQ=a;this.api.Rt()}; +LN.prototype.updateAccountLinkingConfig=function(a){var b=this.api.getVideoData(),c=b.accountLinkingConfig;c&&(c.linked=a);this.api.X("videodatachange","dataupdated",b,this.api.getPresentingPlayerType())};g.u(MN,g.FN);MN.prototype.onClick=function(){this.setValue(!this.checked);this.X("select",this.checked)}; +MN.prototype.getValue=function(){return this.checked}; +MN.prototype.setValue=function(a){this.checked=a;this.element.setAttribute("aria-checked",String(this.checked))};g.u(NN,MN);NN.prototype.Fa=function(a){a?this.j||(this.ib.Bc(this),this.j=!0):this.j&&(this.ib.Bf(this),this.j=!1);this.j&&this.setValue(WGa())}; +NN.prototype.ea=function(){this.j&&this.ib.Bf(this);MN.prototype.ea.call(this)};g.u(ON,KN);ON.prototype.updateCinematicSettings=function(a){this.j=a;var b;null==(b=this.menuItem)||b.Fa(a);this.api.X("onCinematicSettingsVisibilityChange",a)};g.u(YGa,KN);g.u(PN,KN);PN.prototype.getAvailableQualityData=function(){var a=this.api.getVideoData();if(!a)return[];var b=[],c,d,e=null==(c=a.getPlayerResponse())?void 0:null==(d=c.playabilityStatus)?void 0:d.paygatedQualitiesMetadata;c=new Map(((null==e?void 0:e.qualityDetails)||[]).map(function(h){return[h.key,h.value]})); +if(d=null==e?void 0:e.restrictedAdaptiveFormats){e=[];d=g.r(d);for(var f=d.next();!f.done;f=d.next())f=f.value,f=WD(f.mimeType,f.quality,f.itag.toString(),f.width.toString(),f.height.toString(),f.qualityLabel),e.push(f);a=XH(a);BB(a,e,[]);d=[];e=g.r(e);for(f=e.next();!f.done;f=e.next())f=f.value,!0===CB(a,f,this.api.R().j)&&d.push(f);b=b.concat($Ga(d,!1,c))}a=this.api.Ey();b=b.concat($Ga(a,!0,c));c=[];a={};b=g.r(b);for(e=b.next();!e.done;e=b.next())e=e.value,d=e.quality,a[d]||(c.push(e),a[d]=!0); +return c};g.u(QN,KN);QN.prototype.ea=function(){this.u&&(window.clearInterval(this.u),this.u=void 0);KN.prototype.ea.call(this)}; +QN.prototype.DH=function(a){var b=this;return g.z(function(c){return b.j?c.return(b.j.ready().then(function(){return cHa(b,a)})):c.return(Promise.reject("web po not ready"))})};g.u(dHa,g.K);RN.prototype.pJ=function(){this.u=(0,g.U)()}; +RN.prototype.reset=function(){this.j=this.u=NaN}; +RN.prototype.uJ=function(a,b){if(a.clientPlaybackNonce&&!isNaN(this.j)){if(.1>Math.random()){b=b?"pbp":"pbs";var c={startTime:this.j};!this.U.K("web_player_csi_ctt_killswitch")&&a.I&&(c.cttAuthInfo={token:a.I,videoId:a.videoId});ZA("seek",c);g.$A("cpn",a.clientPlaybackNonce,"seek");isNaN(this.u)||XA("pl_ss",this.u,"seek");XA(b,(0,g.U)(),"seek")}this.reset()}};TN.prototype.reset=function(){VA(this.timerName)}; +TN.prototype.tick=function(a,b){XA(a,b,this.timerName)}; +TN.prototype.To=function(a){var b=this.timerName;lB(a,b)?a=!1:(XA(a,void 0,b),a=!0);return a}; +TN.prototype.info=function(a,b){g.$A(a,b,this.timerName)};g.u(VN,g.cz);g.k=VN.prototype;g.k.hasNext=function(a){return this.loop||!!a||this.index+1([^<>]+)<\/a>/;g.u(JO,g.YD);JO.prototype.wh=function(){NHa(this)}; +JO.prototype.onVideoDataChange=function(){var a=this,b=this.G.getVideoData();if(b.isValid()){var c=this.G.R(),d=[],e="";if(!c.N){var f=LHa(this);c.K("enable_web_media_session_metadata_fix")&&g.VF(c)&&f?(d=MHa(f.thumbnailDetails),f.album&&(e=g.zA(f.album))):d=[{src:b.If("mqdefault.jpg")||"",sizes:"320x180",type:"image/jpeg"}]}NHa(this);KHa(this);this.mediaSession.metadata=new MediaMetadata({title:b.title,artist:b.author,artwork:d,album:e});c=b=null;g.xN(this.G)&&(this.j.delete("nexttrack"),this.j.delete("previoustrack"), +b=function(){a.G.nextVideo()},c=function(){a.G.previousVideo()}); +KO(this,"nexttrack",b);KO(this,"previoustrack",c)}}; +JO.prototype.ea=function(){this.mediaSession.playbackState="none";this.mediaSession.metadata=null;for(var a=g.r(this.j),b=a.next();!b.done;b=a.next())KO(this,b.value,null);g.YD.prototype.ea.call(this)};g.u(LO,g.X);g.k=LO.prototype;g.k.onClick=function(a){g.AO(a,this.G,!0);this.G.qb(this.element)}; +g.k.onVideoDataChange=function(a,b){PHa(this,b);this.Zd&&QHa(this,this.Zd)}; +g.k.bd=function(a){var b=this.G.getVideoData();this.videoId!==b.videoId&&PHa(this,b);this.j&&QHa(this,a.state);this.Zd=a.state}; +g.k.od=function(){this.C.show();this.G.X("paidcontentoverlayvisibilitychange",!0);this.G.Ta(this.element,!0)}; +g.k.Ib=function(){this.C.hide();this.G.X("paidcontentoverlayvisibilitychange",!1);this.G.Ta(this.element,!1)};g.u(MO,g.X);MO.prototype.hide=function(){this.j.stop();this.message.style.display="none";g.X.prototype.hide.call(this)}; +MO.prototype.onStateChange=function(a){this.Qc(a.state)}; +MO.prototype.Qc=function(a){if(g.W(a,128))var b=!1;else{var c;b=(null==(c=this.api.Fc())?0:c.Yp)?!1:g.W(a,16)||g.W(a,1)?!0:!1}b?this.j.start():this.hide()}; +MO.prototype.u=function(){this.message.style.display="block"};g.u(NO,g.CN);NO.prototype.onMutedAutoplayChange=function(a){this.B&&(a?(RHa(this),this.od()):(this.j&&this.qb(),this.Ib()))}; +NO.prototype.wh=function(a){this.api.isMutedByMutedAutoplay()&&g.uJ(a,2)&&this.Ib()}; +NO.prototype.onClick=function(){this.api.unMute();this.qb()}; +NO.prototype.qb=function(){this.clicked||(this.clicked=!0,this.api.qb(this.element))};g.u(g.PO,g.YD);g.k=g.PO.prototype;g.k.init=function(){var a=this.api,b=a.zb();this.MC=a.getPlayerSize();this.Sb(b);this.vn();this.xb()}; +g.k.onVideoDataChange=function(a,b){var c=this.KI!==b.videoId;if(c||"newdata"===a)a=this.api,a.isFullscreen()||(this.MC=a.getPlayerSize());c&&(this.KI=b.videoId,c=this.Xd,c.ra=b&&0=b){this.py=!0;b=this.api.getPlayerSize().width/3;var c=this.api.getRootNode().getBoundingClientRect(),d=a.targetTouches[0].clientX-c.left;c=a.targetTouches[0].clientY-c.top;var e=10*(this.Dz-1);02*b&&d<3*b&&(this.zw(1,d,c,e),this.api.seekBy(10*this.api.getPlaybackRate()));g.Gx(a)}this.WP=Date.now();this.fS.start()}}; +g.k.Q1=function(a){if(!UHa(this,a)){if(!THa(this)&&SO(this,a)&&!this.XB.isActive()){if(g.oG(this.api.R())&&this.api.zb().isCued()){var b=void 0===b?{}:b;WA();PA();VA();HA(!1);b.cttAuthInfo&&(IA().cttAuthInfo=b.cttAuthInfo);au("TIMING_AFT_KEYS",[]);b.R2a?YA({loadType:"hot"}):YA({loadType:"warm"});au("TIMING_ACTION","");delete g.Q("TIMING_INFO",{}).yt_lt;XA("_start",b.startTime,void 0);b=["pbs","pbu"];OA("").info.actionType="watch";b&&au("TIMING_AFT_KEYS",b);au("TIMING_ACTION","watch");if(g.T("web_csi_via_jspb")){b= +g.Q("TIMING_INFO",{});var c=new zt;b=g.r(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=g.r(d.value);d=e.next().value;e=e.next().value;switch(d){case "GetBrowse_rid":var f=new At;g.D(f,1,d);g.D(f,2,String(e));Bt(c,f);break;case "GetGuide_rid":f=new At;g.D(f,1,d);g.D(f,2,String(e));Bt(c,f);break;case "GetHome_rid":f=new At;g.D(f,1,d);g.D(f,2,String(e));Bt(c,f);break;case "GetPlayer_rid":f=new At;g.D(f,1,d);g.D(f,2,String(e));Bt(c,f);break;case "GetSearch_rid":f=new At;g.D(f,1,d);g.D(f, +2,String(e));Bt(c,f);break;case "GetSettings_rid":f=new At;g.D(f,1,d);g.D(f,2,String(e));Bt(c,f);break;case "GetTrending_rid":f=new At;g.D(f,1,d);g.D(f,2,String(e));Bt(c,f);break;case "GetWatchNext_rid":f=new At;g.D(f,1,d);g.D(f,2,String(e));Bt(c,f);break;case "yt_red":g.D(c,14,!!e);break;case "yt_ad":g.D(c,9,!!e)}}kB(c);c=new zt;c=g.D(c,25,!0);c=g.D(c,1,V[QA(g.Q("TIMING_ACTION"))]);(b=g.Q("PREVIOUS_ACTION"))&&g.D(c,13,V[QA(b)]);(b=g.Q("CLIENT_PROTOCOL"))&&g.D(c,33,b);(b=g.Q("CLIENT_TRANSPORT"))&& +g.D(c,34,b);(b=g.Bz())&&"UNDEFINED_CSN"!==b&&g.D(c,4,b);b=nB();1!==b&&-1!==b||g.D(c,6,!0);b=JA();a:{d=kva();for(e=0;ethis.api.getPlayerSize().width||290>this.api.getPlayerSize().height)}; +g.k.XC=function(){return this.Dg()&&(240>this.api.getPlayerSize().width||140>this.api.getPlayerSize().height)}; +g.k.mz=function(){var a=this.api.R();if(!g.MF(a)||!a.K("embeds_enable_allow_watch_again_endscreen_for_eligible_shorts")||"EMBEDDED_PLAYER_MODE_DEFAULT"!==(a.W||"EMBEDDED_PLAYER_MODE_DEFAULT")||this.api.getPlaylist())return!1;a=this.MC;var b;return!(null==(b=this.api.getVideoData())||!b.isShortsEligible)&&a.width<=a.height}; +g.k.Uj=function(){return this.EE}; +g.k.Em=function(){return null}; +g.k.Py=function(){return null}; +g.k.Sj=function(){var a=this.api.Za().getPlayerSize();return new g.vl(0,0,a.width,a.height)}; +g.k.handleGlobalKeyDown=function(){return!1}; +g.k.handleGlobalKeyUp=function(){return!1}; +g.k.nt=function(){}; +g.k.showControls=function(a){void 0!==a&&this.api.Za().oA(a)}; +g.k.un=function(){}; +g.k.aP=function(){return null};g.u(TO,g.cz);g.k=TO.prototype;g.k.Bv=function(){return 1E3*this.api.getDuration(this.Fl,!1)}; +g.k.stop=function(){this.j&&this.Sc.uc(this.j)}; +g.k.Wb=function(){var a=this.api.getProgressState(this.Fl);this.u={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:this.api.R().K("halftime_ux_killswitch")?a.current:this.api.getCurrentTime(this.Fl,!1)};this.X("h")}; +g.k.getProgressState=function(){return this.u}; +g.k.bd=function(a){g.uJ(a,2)&&this.X("g")};g.u(UO,g.X);UO.prototype.onClick=function(){this.G.Ka("BACK_CLICKED")};g.u(g.VO,g.X);g.VO.prototype.show=function(){g.X.prototype.show.call(this);g.$n(this.j)}; +g.VO.prototype.hide=function(){this.u.stop();g.X.prototype.hide.call(this)}; +g.VO.prototype.Ht=function(a){a?g.W(this.G.zb(),64)||WO(this,jL(),"Play"):(a=this.G.getVideoData(),a.isLivePlayback&&!a.allowLiveDvr?WO(this,cFa(),"Stop live playback"):WO(this,YEa(),"Pause"))};g.u(ZO,g.X);g.k=ZO.prototype;g.k.od=function(){this.G.R().K("player_new_info_card_format")&&g.go(this.G.getRootNode(),"ytp-cards-teaser-shown")&&!g.MF(this.G.R())||(this.u.show(),g.Wx("iv-button-shown"))}; +g.k.Ib=function(){g.Wx("iv-button-hidden");this.u.hide()}; +g.k.qh=function(){return this.tb&&4!==this.u.state}; +g.k.ea=function(){this.j&&this.j();g.X.prototype.ea.call(this)}; +g.k.J0=function(){g.Wx("iv-button-mouseover")}; +g.k.onClicked=function(a){this.G.ri();var b=g.go(this.G.getRootNode(),"ytp-cards-teaser-shown");g.Wx("iv-teaser-clicked",b);a=0===a.screenX&&0===a.screenY;this.G.setCardsVisible(!this.G.nm(),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.u(aP,g.X);g.k=aP.prototype;g.k.hT=function(){this.G.ri()&&this.G.nm()&&this.qh()&&this.Ib()}; +g.k.ZK=function(){this.Ib();!this.G.ri()&&this.G.R().K("enable_error_corrections_infocards_icon_web")&&this.Gh.Ib();g.Wx("iv-teaser-clicked",null!=this.j);this.onClickCommand?this.G.Ka("innertubeCommand",this.onClickCommand):this.G.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}; +g.k.tV=function(){g.Wx("iv-teaser-mouseover");this.j&&this.j.stop()}; +g.k.w2=function(a){this.G.R().K("player_new_info_card_format")&&!g.MF(this.G.R())?this.Gh.Ib():this.G.R().K("enable_error_corrections_infocards_icon_web")&&this.Gh.od();this.j||!a||this.G.nm()||this.u&&this.u.isActive()||(this.od(a),g.Wx("iv-teaser-shown"))}; +g.k.od=function(a){this.onClickCommand=a.onClickCommand;this.Ja("text",a.teaserText);this.element.setAttribute("dir",g.wo(a.teaserText));this.C.show();this.u=new g.Zn(function(){g.ho(this.G.getRootNode(),"ytp-cards-teaser-shown");this.G.K("player_new_info_card_format")&&!g.MF(this.G.R())&&this.Gh.Ib();this.yL()},0,this); +this.u.start();YO(this.Gh,!1);this.j=new g.Zn(this.Ib,580+a.durationMs,this);this.j.start();this.D.push(this.Na("mouseover",this.RM,this));this.D.push(this.Na("mouseout",this.QM,this))}; +g.k.yL=function(){if(!this.G.R().K("player_new_info_card_format")&&g.MF(this.G.R())&&this.tb){var a=this.Gh.element.offsetLeft,b=g.eh("ytp-cards-button-icon"),c=this.G.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.Gh.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}}; +g.k.uX=function(){g.MF(this.G.R())&&this.V.Dg()&&this.tb&&this.N.start()}; +g.k.RM=function(){this.I.stop();this.j&&this.j.isActive()&&this.J.start()}; +g.k.QM=function(){this.J.stop();this.j&&!this.j.isActive()&&this.I.start()}; +g.k.X0=function(){this.j&&this.j.stop()}; +g.k.W0=function(){this.Ib()}; +g.k.ek=function(){this.Ib()}; +g.k.Ib=function(){!this.j||this.B&&this.B.isActive()||(g.Wx("iv-teaser-hidden"),this.C.hide(),g.jo(this.G.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.Zn(function(){for(var a=g.r(this.D),b=a.next();!b.done;b=a.next())this.uc(b.value);this.D=[];this.j&&(this.j.dispose(),this.j=null);YO(this.Gh,!0);!this.G.ri()&&this.G.R().K("enable_error_corrections_infocards_icon_web")&&this.Gh.Ib()},330,this),this.B.start())}; +g.k.qh=function(){return this.tb&&4!==this.C.state}; +g.k.ea=function(){var a=this.G.getRootNode();a&&g.jo(a,"ytp-cards-teaser-shown");g.bf(this.u,this.B,this.j);g.X.prototype.ea.call(this)};var p4={},bP=(p4.BUTTON="ytp-button",p4.TITLE_NOTIFICATIONS="ytp-title-notifications",p4.TITLE_NOTIFICATIONS_ON="ytp-title-notifications-on",p4.TITLE_NOTIFICATIONS_OFF="ytp-title-notifications-off",p4.NOTIFICATIONS_ENABLED="ytp-notifications-enabled",p4);g.u(cP,g.X);cP.prototype.onClick=function(){this.api.qb(this.element);var a=!this.j;this.Ja("label",a?"Stop getting notified about every new video":"Get notified about every new video");this.Ja("pressed",a);YHa(this,a)};g.u(g.eP,g.X);g.eP.prototype.u=function(){g.ho(this.element,"ytp-sb-subscribed")}; +g.eP.prototype.B=function(){g.jo(this.element,"ytp-sb-subscribed")};g.u(fP,g.X);g.k=fP.prototype;g.k.nK=function(){bIa(this);this.channel.classList.remove("ytp-title-expanded")}; +g.k.isExpanded=function(){return this.channel.classList.contains("ytp-title-expanded")}; +g.k.uH=function(){if($Ha(this)&&!this.isExpanded()){this.Ja("flyoutUnfocusable","false");this.Ja("channelTitleFocusable","0");this.B&&this.B.stop();this.subscribeButton&&(this.subscribeButton.show(),this.api.Ta(this.subscribeButton.element,!0));var a=this.api.getVideoData();this.u&&a.rk&&a.subscribed&&(this.u.show(),this.api.Ta(this.u.element,!0));this.channel.classList.add("ytp-title-expanded");this.channel.classList.add("ytp-title-show-expanded")}}; +g.k.NG=function(){this.Ja("flyoutUnfocusable","true");this.Ja("channelTitleFocusable","-1");this.B&&this.B.start()}; +g.k.Fa=function(){var a=this.api.getVideoData(),b=this.api.R(),c=!1;2===this.api.getPresentingPlayerType()?c=!!a.videoId&&!!a.isListed&&!!a.author&&!!a.Cd&&!!a.profilePicture:g.MF(b)&&(c=!!a.videoId&&!!a.Cd&&!!a.profilePicture&&!(a.C&&b.pfpChazalUi)&&!b.B&&!(b.I&&200>this.api.getPlayerSize().width));var d=g.vG(this.api.R())+a.Cd;g.MF(b)&&(d=cIa(this,d));var e=a.Cd,f=a.profilePicture;b=g.MF(b)?a.expandedTitle:a.author;e=void 0===e?"":e;f=void 0===f?"":f;b=void 0===b?"":b;if(c){var h=this.api.R();e= +g.vG(h)+e;g.MF(h)&&(e=cIa(this,e));this.J!==f&&(this.j.style.backgroundImage="url("+f+")",this.J=f);this.Ja("channelLink",e);this.Ja("channelLogoLabel",g.HJ("Photo image of $CHANNEL_NAME",{CHANNEL_NAME:b}));g.ho(this.api.getRootNode(),"ytp-title-enable-channel-logo")}else g.jo(this.api.getRootNode(),"ytp-title-enable-channel-logo");this.api.Ta(this.j,c&&this.ra);this.subscribeButton&&(this.subscribeButton.channelId=a.Ek);this.Ja("expandedTitle",a.expandedTitle);this.Ja("channelTitleLink",d);this.Ja("expandedSubtitle", +a.expandedSubtitle)};g.u(gP,g.ZK);gP.prototype.PQ=function(){this.X("size-change")}; +gP.prototype.focus=function(){this.content.focus()}; +gP.prototype.JQ=function(){this.X("back")};g.u(g.hP,gP);g.hP.prototype.Bc=function(a,b){if(void 0===b?0:b)this.items.push(a),this.menuItems.element.appendChild(a.element);else{b=g.kc(this.items,a,eIa);if(0<=b)return;b=~b;g.ic(this.items,b,0,a);g.ph(this.menuItems.element,a.element,b)}a.subscribe("size-change",this.EJ,this);this.menuItems.X("size-change")}; +g.hP.prototype.Bf=function(a){a.unsubscribe("size-change",this.EJ,this);this.isDisposed()||(g.Zb(this.items,a),this.menuItems.element.removeChild(a.element),this.menuItems.X("size-change"))}; +g.hP.prototype.EJ=function(){this.menuItems.X("size-change")}; +g.hP.prototype.focus=function(){for(var a=0,b=0;bb.top&&b.right>b.left?b:null;b=this.size;a=a.clone();b=b.clone();d&&(h=b,e=5,65==(e&65)&&(a.x=d.right)&&(e&=-2),132==(e&132)&&(a.y< +d.top||a.y>=d.bottom)&&(e&=-5),a.xd.right&&(h.width=Math.min(d.right-a.x,f+h.width-d.left),h.width=Math.max(h.width,0))),a.x+h.width>d.right&&e&1&&(a.x=Math.max(d.right-h.width,d.left)),a.yd.bottom&&(h.height=Math.min(d.bottom-a.y,f+h.height-d.top),h.height=Math.max(h.height,0))),a.y+h.height>d.bottom&&e&4&&(a.y=Math.max(d.bottom-h.height,d.top))); +d=new g.vl(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.El(this.element,new g.Gg(d.left,d.top));g.bz(this.B);this.B.P(document,"contextmenu",this.z0);this.B.P(this.G,"fullscreentoggled",this.onFullscreenToggled);this.B.P(this.G,"pageTransition",this.xV)}; +g.k.z0=function(a){if(!g.Hx(a)){var b=Dx(a);g.sh(this.element,b)||this.Ib();this.G.R().disableNativeContextMenu&&g.Gx(a)}}; +g.k.onFullscreenToggled=function(){this.Ib();kIa(this)}; +g.k.xV=function(){this.Ib()};g.u(g.tP,g.X);g.tP.prototype.onClick=function(){var a=this,b,c,d,e;return g.z(function(f){if(1==f.j)return b=a.api.R(),c=a.api.getVideoData(),d=a.api.getPlaylistId(),e=b.getVideoUrl(c.videoId,d,void 0,!0),g.x(f,mIa(a,e),2);f.u&&lIa(a);a.api.qb(a.element);g.pa(f)})}; +g.tP.prototype.Fa=function(){var a=this.api.R(),b=this.api.getVideoData();this.Ja("icon",{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z"}}]});this.Ja("title-attr","Copy link");var c=this.api.Za().getPlayerSize().width;this.visible= +!!b.videoId&&c>=this.u&&b.Yl&&!(b.C&&a.pfpChazalUi);g.N(this.element,"ytp-copylink-button-visible",this.visible);g.YK(this,this.visible);vP(this.tooltip);this.api.Ta(this.element,this.visible&&this.ra)}; +g.tP.prototype.lc=function(a){g.X.prototype.lc.call(this,a);this.api.Ta(this.element,this.visible&&a)}; +g.tP.prototype.ea=function(){g.X.prototype.ea.call(this);g.jo(this.element,"ytp-copylink-button-visible")};g.u(wP,g.X);g.k=wP.prototype;g.k.show=function(){g.X.prototype.show.call(this);g.$n(this.j)}; +g.k.hide=function(){this.u.stop();g.jo(this.element,"ytp-chapter-seek");g.jo(this.element,"ytp-time-seeking");g.X.prototype.hide.call(this)}; +g.k.zw=function(a,b,c,d){this.Aw(a,d)}; +g.k.Aw=function(a,b){g.bo(this.j);this.u.start();this.element.setAttribute("data-side",-1===a?"back":"forward");g.jo(this.element,"ytp-chapter-seek");this.Ja("chapterSeekText","");a=g.HJ("$TOTAL_SEEK_TIME seconds",{TOTAL_SEEK_TIME:b.toString()});this.Ja("seekTime",a)}; +g.k.dE=function(a,b){g.bo(this.j);this.u.start();switch(a){case -1:a="back";break;case 1:a="forward";break;default:a=""}this.element.setAttribute("data-side",a);g.ho(this.element,"ytp-chapter-seek");this.Ja("chapterSeekText",b);this.Ja("seekTime","")};g.u(xP,g.X);g.k=xP.prototype;g.k.show=function(){g.X.prototype.show.call(this);g.$n(this.u)}; +g.k.hide=function(){this.B.stop();g.jo(this.element,"ytp-chapter-seek");g.jo(this.element,"ytp-time-seeking");g.X.prototype.hide.call(this)}; +g.k.zw=function(a,b,c,d){var e=-1===a?this.D:this.C;e&&this.G.qb(e);g.bo(this.u);this.B.start();this.element.setAttribute("data-side",-1===a?"back":"forward");var f=3*this.G.Za().getPlayerSize().height;e=this.G.Za().getPlayerSize();e=e.width/3-3*e.height;this.j.style.width=f+"px";this.j.style.height=f+"px";1===a?(this.j.style.left="",this.j.style.right=e+"px"):-1===a&&(this.j.style.right="",this.j.style.left=e+"px");var h=2.5*f;f=h/2;var l=this.ya("ytp-doubletap-ripple");l.style.width=h+"px";l.style.height= +h+"px";1===a?(a=this.G.Za().getPlayerSize().width-b+Math.abs(e),l.style.left="",l.style.right=a-f+"px"):-1===a&&(a=Math.abs(e)+b,l.style.right="",l.style.left=a-f+"px");l.style.top="calc((33% + "+Math.round(c)+"px) - "+f+"px)";if(c=this.ya("ytp-doubletap-ripple"))c.classList.remove("ytp-doubletap-ripple"),c.classList.add("ytp-doubletap-ripple");nIa(this,d)}; +g.k.Aw=function(a,b){var c=this.G.Za().getPlayerSize();g.bo(this.u);this.B.start();this.element.setAttribute("data-side",-1===a?"back":"forward");g.ho(this.element,"ytp-time-seeking");this.j.style.width="110px";this.j.style.height="110px";1===a?(this.j.style.right="",this.j.style.left=.8*c.width-30+"px"):-1===a&&(this.j.style.right="",this.j.style.left=.1*c.width-15+"px");this.j.style.top=.5*c.height+15+"px";nIa(this,b)}; +g.k.dE=function(a,b){g.bo(this.u);this.B.start();switch(a){case -1:a="back";break;case 1:a="forward";break;default:a=""}this.element.setAttribute("data-side",a);this.j.style.width="0";this.j.style.height="0";g.ho(this.element,"ytp-chapter-seek");this.Ja("seekText",b);this.Ja("seekTime","")};var G0a={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(G0a).reduce(function(a,b){a[G0a[b]]=b;return a},{}); +var H0a={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(H0a).reduce(function(a,b){a[H0a[b]]=b;return a},{}); +var I0a={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(I0a).reduce(function(a,b){a[I0a[b]]=b;return a},{});var J0a,K0a;J0a=[{option:"#fff",text:"White"},{option:"#ff0",text:"Yellow"},{option:"#0f0",text:"Green"},{option:"#0ff",text:"Cyan"},{option:"#00f",text:"Blue"},{option:"#f0f",text:"Magenta"},{option:"#f00",text:"Red"},{option:"#080808",text:"Black"}];K0a=[{option:0,text:yP(0)},{option:.25,text:yP(.25)},{option:.5,text:yP(.5)},{option:.75,text:yP(.75)},{option:1,text:yP(1)}]; +g.CP=[{option:"fontFamily",text:"Font family",options:[{option:1,text:"Monospaced Serif"},{option:2,text:"Proportional Serif"},{option:3,text:"Monospaced Sans-Serif"},{option:4,text:"Proportional Sans-Serif"},{option:5,text:"Casual"},{option:6,text:"Cursive"},{option:7,text:"Small Capitals"}]},{option:"color",text:"Font color",options:J0a},{option:"fontSizeIncrement",text:"Font size",options:[{option:-2,text:yP(.5)},{option:-1,text:yP(.75)},{option:0,text:yP(1)},{option:1,text:yP(1.5)},{option:2, +text:yP(2)},{option:3,text:yP(3)},{option:4,text:yP(4)}]},{option:"background",text:"Background color",options:J0a},{option:"backgroundOpacity",text:"Background opacity",options:K0a},{option:"windowColor",text:"Window color",options:J0a},{option:"windowOpacity",text:"Window opacity",options:K0a},{option:"charEdgeStyle",text:"Character edge style",options:[{option:0,text:"None"},{option:4,text:"Drop Shadow"},{option:1,text:"Raised"},{option:2,text:"Depressed"},{option:3,text:"Outline"}]},{option:"textOpacity", +text:"Font opacity",options:[{option:.25,text:yP(.25)},{option:.5,text:yP(.5)},{option:.75,text:yP(.75)},{option:1,text:yP(1)}]}];g.u(g.BP,g.YD);g.k=g.BP.prototype; +g.k.lP=function(a){var b=!1,c=g.Ix(a),d=Dx(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,h=!1,l=this.api.R();g.Hx(a)?(e=!1,h=!0):l.Ng&&(e=!1);if(9===c)b=!0;else{if(d)switch(c){case 32:case 13:if("BUTTON"===d.tagName||"A"===d.tagName||"INPUT"===d.tagName)b=!0,e=!1;else if(e){var m=d.getAttribute("role");!m||"option"!==m&&"button"!==m&&0!==m.indexOf("menuitem")||(b=!0,d.click(),f=!0)}break;case 37:case 39:case 36:case 35:b="slider"===d.getAttribute("role");break;case 38:case 40:m=d.getAttribute("role"), +d=38===c?d.previousSibling:d.nextSibling,"slider"===m?b=!0:e&&("option"===m?(d&&"option"===d.getAttribute("role")&&d.focus(),f=b=!0):m&&0===m.indexOf("menuitem")&&(d&&d.hasAttribute("role")&&0===d.getAttribute("role").indexOf("menuitem")&&d.focus(),f=b=!0))}if(e&&!f)switch(c){case 38:f=Math.min(this.api.getVolume()+5,100);XO(this.Ec,f,!1);this.api.setVolume(f);h=f=!0;break;case 40:f=Math.max(this.api.getVolume()-5,0);XO(this.Ec,f,!0);this.api.setVolume(f);h=f=!0;break;case 36:this.api.cg()&&(this.api.startSeekCsiAction(), +this.api.seekTo(0),h=f=!0);break;case 35:this.api.cg()&&(this.api.startSeekCsiAction(),this.api.seekTo(Infinity),h=f=!0)}}b&&AP(this,!0);(b||h)&&this.Xd.un();(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code))&&g.Gx(a);l.C&&(a={keyCode:g.Ix(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.Hx(a),fullscreen:this.api.isFullscreen()},this.api.Ka("onKeyPress",a))}; +g.k.mP=function(a){this.handleGlobalKeyUp(g.Ix(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)}; +g.k.handleGlobalKeyUp=function(a){var b=!1,c=g.yN(this.api.ob());c&&(c=c.Eq)&&c.tb&&(c.hP(a),b=!0);9===a&&(AP(this,!0),b=!0);return b}; +g.k.handleGlobalKeyDown=function(a,b,c,d,e,f){var h=!1;e=this.api.R();if(e.Ng)return h;var l=g.yN(this.api.ob());if(l&&(l=l.Eq)&&l.tb)switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:h=l.gP(a)}e.D||h||(h=f||String.fromCharCode(a).toLowerCase(),this.u+=h,0==="awesome".indexOf(this.u)?(h=!0,7===this.u.length&&oka(this.api.getRootNode(),"ytp-color-party")):(this.u=h,h=0==="awesome".indexOf(this.u)));if(!h){l=this.api.getVideoData();var m,n;f=null==(m=this.xc)?void 0:null== +(n=m.u)?void 0:n.isEnabled;m=l?l.oi:[];n=tT?d:c;switch(a){case 80:b&&!e.Ea&&(WO(this.Ec,aFa(),"Previous"),this.api.previousVideo(),h=!0);break;case 78:b&&!e.Ea&&(WO(this.Ec,hL(),"Next"),this.api.nextVideo(),h=!0);break;case 74:this.api.cg()&&(this.api.startSeekCsiAction(),this.j?this.j.Aw(-1,10):WO(this.Ec,{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]}), +this.api.seekBy(-10*this.api.getPlaybackRate()),h=!0);break;case 76:this.api.cg()&&(this.api.startSeekCsiAction(),this.j?this.j.Aw(1,10):WO(this.Ec,{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]}), +this.api.seekBy(10*this.api.getPlaybackRate()),h=!0);break;case 37:this.api.cg()&&(this.api.startSeekCsiAction(),n?(n=qIa(m,1E3*this.api.getCurrentTime()),-1!==n&&null!=this.j&&(this.j.dE(-1,m[n].title),this.api.seekTo(m[n].startTime/1E3),h=!0)):(this.j?this.j.Aw(-1,5):WO(this.Ec,{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]}), +this.api.seekBy(-5*this.api.getPlaybackRate()),h=!0));break;case 39:this.api.cg()&&(this.api.startSeekCsiAction(),n?(n=pIa(m,1E3*this.api.getCurrentTime()),-1!==n&&null!=this.j&&(this.j.dE(1,m[n].title),this.api.seekTo(m[n].startTime/1E3),h=!0)):(null!=this.j?this.j.Aw(1,5):WO(this.Ec,{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]}), +this.api.seekBy(5*this.api.getPlaybackRate()),h=!0));break;case 77:this.api.isMuted()?(this.api.unMute(),XO(this.Ec,this.api.getVolume(),!1)):(this.api.mute(),XO(this.Ec,0,!0));h=!0;break;case 32:case 75:e.Ea||(f?this.xc.zH():(h=!g.fK(this.api.zb()),this.Ec.Ht(h),h?this.api.playVideo():this.api.pauseVideo()),h=!0);break;case 190:b?e.Ed&&(h=this.api.getPlaybackRate(),this.api.setPlaybackRate(h+.25,!0),WHa(this.Ec,!1),h=!0):this.api.cg()&&(tIa(this,1),h=!0);break;case 188:b?e.Ed&&(h=this.api.getPlaybackRate(), +this.api.setPlaybackRate(h-.25,!0),WHa(this.Ec,!0),h=!0):this.api.cg()&&(tIa(this,-1),h=!0);break;case 70:FHa(this.api)&&(this.api.toggleFullscreen().catch(function(){}),h=!0); +break;case 27:f?(this.xc.EO(),h=!0):this.C()&&(h=!0)}if("3"!==e.controlsType)switch(a){case 67:g.jO(this.api.ob())&&(e=this.api.getOption("captions","track"),this.api.toggleSubtitles(),XHa(this.Ec,!e||e&&!e.displayName),h=!0);break;case 79:DP(this,"textOpacity");break;case 87:DP(this,"windowOpacity");break;case 187:case 61:DP(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:DP(this,"fontSizeIncrement",!0,!0)}var p;b||c||d||(48<=a&&57>=a?p=a-48:96<=a&&105>=a&&(p=a-96));null!=p&&this.api.cg()&& +(this.api.startSeekCsiAction(),a=this.api.getProgressState(),this.api.seekTo(p/10*(a.seekableEnd-a.seekableStart)+a.seekableStart),h=!0);h&&this.Xd.un()}return h}; +g.k.ea=function(){g.bo(this.B);g.YD.prototype.ea.call(this)};g.u(EP,g.X);EP.prototype.Fa=function(){var a=g.MF(this.G.R())&&g.xN(this.G)&&g.W(this.G.zb(),128),b=this.G.getPlayerSize();this.visible=this.j.Dg()&&!a&&240<=b.width&&!(this.G.getVideoData().C&&this.G.R().pfpChazalUi);g.N(this.element,"ytp-overflow-button-visible",this.visible);this.visible&&vP(this.tooltip);this.G.Ta(this.element,this.visible&&this.ra)}; +EP.prototype.lc=function(a){g.X.prototype.lc.call(this,a);this.G.Ta(this.element,this.visible&&a)}; +EP.prototype.ea=function(){g.X.prototype.ea.call(this);g.jo(this.element,"ytp-overflow-button-visible")};g.u(FP,g.CN);g.k=FP.prototype;g.k.zV=function(a){a=Dx(a);g.sh(this.element,a)&&(g.sh(this.j,a)||g.sh(this.closeButton,a)||DN(this))}; +g.k.Ib=function(){g.CN.prototype.Ib.call(this);this.tooltip.Nj(this.element)}; +g.k.show=function(){this.tb&&this.G.X("OVERFLOW_PANEL_OPENED");g.CN.prototype.show.call(this);this.element.setAttribute("aria-modal","true");uIa(this,!0)}; +g.k.hide=function(){g.CN.prototype.hide.call(this);this.element.removeAttribute("aria-modal");uIa(this,!1)}; +g.k.onFullscreenToggled=function(a){!a&&this.qh()&&DN(this)}; +g.k.focus=function(){for(var a=g.r(this.actionButtons),b=a.next();!b.done;b=a.next())if(b=b.value,b.tb){b.focus();break}};g.u(HP,g.X);HP.prototype.onClick=function(a){g.AO(a,this.api)&&this.api.playVideoAt(this.index)};g.u(IP,g.CN);g.k=IP.prototype;g.k.show=function(){g.CN.prototype.show.call(this);this.B.P(this.api,"videodatachange",this.GF);this.B.P(this.api,"onPlaylistUpdate",this.GF);this.GF()}; +g.k.hide=function(){g.CN.prototype.hide.call(this);g.bz(this.B);this.updatePlaylist(null)}; +g.k.GF=function(){this.updatePlaylist(this.api.getPlaylist())}; +g.k.iE=function(){var a=this.playlist,b=a.u;if(b===this.C)this.selected.element.setAttribute("aria-checked","false"),this.selected=this.j[a.index];else{for(var c=g.r(this.j),d=c.next();!d.done;d=c.next())d.value.dispose();c=a.length;this.j=[];for(d=0;dthis.api.Za().getPlayerSize().width&&!a);this.playlist&&2!==this.api.getPresentingPlayerType()?(this.update({text:g.HJ("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.playlist.index+1),PLAYLIST_LENGTH:String(this.playlist.length)}),title:g.HJ("Playlist: $PLAYLIST_NAME",{PLAYLIST_NAME:this.playlist.title})}),this.tb||(this.show(),vP(this.tooltip)),this.visible=!0,this.lc(!0)): +this.tb&&(this.hide(),this.lc(!1),vP(this.tooltip))}; +JP.prototype.lc=function(a){g.X.prototype.lc.call(this,a);this.api.Ta(this.element,this.visible&&a)}; +JP.prototype.j=function(){this.playlist&&this.playlist.unsubscribe("shuffle",this.Fa,this);(this.playlist=this.api.getPlaylist())&&this.playlist.subscribe("shuffle",this.Fa,this);this.Fa()};g.u(KP,g.X);g.k=KP.prototype;g.k.s0=function(){this.C?NP(this):LP(this)}; +g.k.r0=function(){this.C?(OP(this),this.I=!0):LP(this)}; +g.k.C_=function(){this.D=!0;MP(this,1);this.G.X("promotooltipacceptbuttonclicked",this.acceptButton);OP(this);this.u&&this.G.qb(this.acceptButton)}; +g.k.y0=function(){this.D=!0;MP(this,2);OP(this);this.u&&this.G.qb(this.dismissButton)}; +g.k.AV=function(a){if(1===this.G.getPresentingPlayerType()||2===this.G.getPresentingPlayerType()&&this.N){var b=!0,c=g.eh("ytp-ad-overlay-ad-info-dialog-container"),d=Dx(a);if(this.B&&d&&g.sh(this.B,d))this.B=null;else{1===this.G.getPresentingPlayerType()&&d&&Array.from(d.classList).forEach(function(l){l.startsWith("ytp-ad")&&(b=!1)}); +var e=yIa(this.tooltipRenderer),f;if("TOOLTIP_DISMISS_TYPE_TAP_ANYWHERE"===(null==(f=this.tooltipRenderer.dismissStrategy)?void 0:f.type))e&&(b=b&&!g.sh(this.element,d));else{var h;"TOOLTIP_DISMISS_TYPE_TAP_INTERNAL"===(null==(h=this.tooltipRenderer.dismissStrategy)?void 0:h.type)&&(b=e?!1:b&&g.sh(this.element,d))}this.j&&this.tb&&!c&&(!d||b&&g.YL(a))&&(this.D=!0,OP(this))}}}; +g.k.xb=function(){this.I||(this.j||(this.j=vIa(this)),NP(this))}; +var wIa={"ytp-settings-button":g.lL()};g.u(PP,g.X);PP.prototype.onStateChange=function(a){this.Qc(a.state)}; +PP.prototype.Qc=function(a){g.YK(this,g.W(a,2))}; +PP.prototype.onClick=function(){this.G.zb();this.G.playVideo()};g.u(g.QP,g.X);g.k=g.QP.prototype;g.k.onClick=function(){var a=this.api.R(),b=this.api.getVideoData(this.api.getPresentingPlayerType()),c=this.api.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);if(navigator.share)try{var d=navigator.share({title:b.title,url:a});d instanceof Promise&&d.catch(this.oP)}catch(e){e instanceof Error&&this.oP(e)}else this.j.Wk(),DN(this.u,this.element,!1);this.api.qb(this.element)}; +g.k.Fa=function(){var a=this.api.R(),b=this.api.getVideoData(),c=g.MF(a)&&g.xN(this.api)&&g.W(this.api.zb(),128);this.Ja("icon",{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]});a=a.disableSharing&&2!==this.api.getPresentingPlayerType()|| +!b.showShareButton||b.Yl||c||b.C&&a.pfpChazalUi;c=this.api.Za().getPlayerSize().width;this.visible=!!b.videoId&&c>=this.B&&!a;g.N(this.element,"ytp-share-button-visible",this.visible);g.YK(this,this.visible);vP(this.tooltip);this.api.Ta(this.element,this.visible&&this.ra)}; +g.k.lc=function(a){g.X.prototype.lc.call(this,a);this.api.Ta(this.element,this.visible&&a)}; +g.k.ea=function(){g.X.prototype.ea.call(this);g.jo(this.element,"ytp-share-button-visible")}; +g.k.oP=function(a){"InvalidStateError"!==a.name&&"AbortError"!==a.name&&("NotAllowedError"===a.name?(this.j.Wk(),DN(this.u,this.element,!1)):g.qz(a))};g.u(g.RP,g.CN);g.k=g.RP.prototype;g.k.BV=function(a){a=Dx(a);g.sh(this.D,a)||g.sh(this.closeButton,a)||DN(this)}; +g.k.Ib=function(){g.CN.prototype.Ib.call(this);this.tooltip.Nj(this.element)}; +g.k.show=function(){var a=this.tb;g.CN.prototype.show.call(this);this.Fa();a||this.api.Ka("onSharePanelOpened")}; +g.k.PZ=function(){this.tb&&this.Fa()}; +g.k.Fa=function(){var a=this;g.ho(this.element,"ytp-share-panel-loading");g.jo(this.element,"ytp-share-panel-fail");var b=this.api.getVideoData(),c=this.api.getPlaylistId()&&this.C.checked;b.getSharePanelCommand&&uM(this.api.Cm(),b.getSharePanelCommand,{includeListId:c}).then(function(d){a.isDisposed()||(g.jo(a.element,"ytp-share-panel-loading"),AIa(a,d))}); +b=this.api.getVideoUrl(!0,!0,!1,!1);g.XF(this.api.R())&&(b=g.wi(b,g.aN({},"emb_share")));this.Ja("link",b);this.Ja("linkText",b);this.Ja("shareLinkWithUrl",g.HJ("Share link $URL",{URL:b}));DO(this.B)}; +g.k.onFullscreenToggled=function(a){!a&&this.qh()&&DN(this)}; +g.k.focus=function(){this.B.focus()}; +g.k.ea=function(){g.CN.prototype.ea.call(this);zIa(this)};g.u(UP,g.X);g.k=UP.prototype;g.k.nJ=function(){}; +g.k.oJ=function(){}; +g.k.uA=function(){return!0}; +g.k.x4=function(){if(this.expanded){this.qa.show();var a=this.I.element.scrollWidth}else a=this.I.element.scrollWidth,this.qa.hide();this.Ya=34+a;g.N(this.badge.element,"ytp-suggested-action-badge-expanded",this.expanded);this.badge.element.style.width=(this.expanded?34:this.Ya)+"px";this.Y.start()}; +g.k.aY=function(){this.badge.element.style.width=(this.expanded?this.Ya:34)+"px";this.Ha.start()}; +g.k.B5=function(){g.N(this.badge.element,"ytp-suggested-action-badge-with-offline-slate",!0)}; +g.k.Dj=function(){this.uA()?this.N.show():this.N.hide();BIa(this)}; +g.k.CV=function(){this.enabled=!1;this.Dj()}; +g.k.A5=function(){this.Dj()}; +g.k.g0=function(a){this.Ra=1===a;this.Dj();g.N(this.badge.element,"ytp-suggested-action-badge-with-offline-slate",!1)}; +g.k.C0=function(){g.N(this.badge.element,"ytp-suggested-action-badge-fullscreen",this.G.isFullscreen());this.Dj()};g.u(VP,UP);g.k=VP.prototype;g.k.ea=function(){WP(this);UP.prototype.ea.call(this)}; +g.k.nJ=function(a){a.target!==this.dismissButton.element&&(DIa(this,!1),this.G.Ka("innertubeCommand",this.onClickCommand))}; +g.k.oJ=function(){this.B=!0;DIa(this,!0);this.Dj()}; +g.k.t1=function(a){this.Ea=a;this.Dj()}; +g.k.j1=function(a){var b=this.G.getVideoData();b&&b.videoId===this.videoId&&this.va&&(this.V=a,a||(a=3+this.G.getCurrentTime(),this.le(a)))}; +g.k.onVideoDataChange=function(a,b){if(a=!!b.videoId&&this.videoId!==b.videoId)this.videoId=b.videoId,this.B=!1,this.j=!0,this.V=this.va=this.u=this.J=!1,WP(this);if(a||!b.videoId)this.D=this.C=!1;a=b.shoppingOverlayRenderer;this.Ea=this.enabled=!1;if(a){this.enabled=!0;if(!this.C){var c,d=null==(c=a.badgeInteractionLogging)?void 0:c.trackingParams;(this.C=!!d)&&this.G.xk(this.badge.element,d||null)}if(!this.D){var e;if(this.D=!(null==(e=a.dismissButton)||!e.trackingParams)){var f;this.G.xk(this.dismissButton.element, +(null==(f=a.dismissButton)?void 0:f.trackingParams)||null)}}this.text=g.zA(a.text);var h;if(c=null==(h=a.dismissButton)?void 0:h.a11yLabel)this.Ua=g.zA(c);this.onClickCommand=a.onClickCommand;this.timing=a.timing;dI(b)?this.V=this.va=!0:this.le()}CIa(this);TP(this);this.Dj()}; +g.k.uA=function(){return!this.Ea&&this.enabled&&!this.B&&!this.eb.Dg()&&!this.Ra&&!this.V&&(this.u||this.j)}; +g.k.zf=function(a){(this.u=a)?(SP(this),TP(this,!1)):(WP(this),this.W.start());this.Dj()}; +g.k.le=function(a){a=void 0===a?0:a;var b=[],c=this.timing.visible,d=this.timing.expanded;c&&b.push(new g.sA(1E3*(c.startSec+a),1E3*(c.endSec+a),{priority:9,namespace:"shopping_overlay_visible"}));d&&b.push(new g.sA(1E3*(d.startSec+a),1E3*(d.endSec+a),{priority:9,namespace:"shopping_overlay_expanded"}));this.G.le(b)};g.u(XP,g.CN);XP.prototype.show=function(){g.CN.prototype.show.call(this);this.j.start()}; +XP.prototype.hide=function(){g.CN.prototype.hide.call(this);this.j.stop()}; +XP.prototype.Qp=function(a,b){"dataloaded"===a&&((this.bf=b.bf,this.Kd=b.Kd,isNaN(this.bf)||isNaN(this.Kd))?this.B&&(this.G.Af("intro"),this.G.removeEventListener(g.uA("intro"),this.I),this.G.removeEventListener(g.vA("intro"),this.D),this.G.removeEventListener("onShowControls",this.C),this.hide(),this.B=!1):(this.G.addEventListener(g.uA("intro"),this.I),this.G.addEventListener(g.vA("intro"),this.D),this.G.addEventListener("onShowControls",this.C),a=new g.sA(this.bf,this.Kd,{priority:9,namespace:"intro"}), +this.G.le([a]),this.B=!0))};g.u(YP,g.X);YP.prototype.onClick=function(){this.G.Dq()}; +YP.prototype.Fa=function(){var a=!0;g.MF(this.G.R())&&(a=a&&480<=this.G.Za().getPlayerSize().width);g.YK(this,a);this.Ja("icon",this.G.Bg()?{F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,T:{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"}}]}:{F:"svg", +T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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"}}]})};new zv("yt.autonav");g.u(ZP,g.X);g.k=ZP.prototype; +g.k.Fx=function(){var a;if(a=3!==this.G.getPresentingPlayerType()&&g.BN(this.G)&&400<=this.G.Za().getPlayerSize().width)a=this.Wc(),a=this.G.R().K("client_respect_autoplay_switch_button_renderer")?!!a.autoplaySwitchButtonRenderer:!1!==a.t5;if(a)this.j||(this.j=!0,g.YK(this,this.j),this.G.R().K("web_player_autonav_toggle_always_listen")||EIa(this),a=this.Wc(),this.SM(a.autonavState),this.G.Ta(this.element,this.j));else if(this.j=!1,g.YK(this,this.j),!this.G.R().K("web_player_autonav_toggle_always_listen")){this.G.R().K("web_player_autonav_toggle_always_listen");a= +g.r(this.u);for(var b=a.next();!b.done;b=a.next())this.uc(b.value)}}; +g.k.SM=function(a){GIa(this)?this.isChecked=1!==a:((a=1!==a)||(g.rv.getInstance(),a=g.T("web_autonav_allow_off_by_default")&&!g.tv(0,141)&&g.Q("AUTONAV_OFF_BY_DEFAULT")?!1:!g.tv(0,140)),this.isChecked=a);FIa(this)}; +g.k.onClick=function(){this.isChecked=!this.isChecked;this.G.hE(this.isChecked?2:1);FIa(this);if(GIa(this)){var a=this.Wc().autoplaySwitchButtonRenderer;this.isChecked&&(null==a?0:a.onEnabledCommand)?this.G.Ka("innertubeCommand",a.onEnabledCommand):!this.isChecked&&(null==a?0:a.onDisabledCommand)&&this.G.Ka("innertubeCommand",a.onDisabledCommand)}this.G.qb(this.element)}; +g.k.getValue=function(){return this.isChecked}; +g.k.setValue=function(a){this.isChecked=a;this.ya("ytp-autonav-toggle-button").setAttribute("aria-checked",String(this.isChecked))}; +g.k.Wc=function(){var a;this.G.R().K("web_player_autonav_toggle_app_video_data_killswitch")||(a=1);return this.G.getVideoData(a)};g.u(g.aQ,g.X);g.aQ.prototype.ea=function(){this.ctx=null;g.X.prototype.ea.call(this)};g.u(bQ,g.X);bQ.prototype.onClick=function(){this.G.Ka("innertubeCommand",this.j)}; +bQ.prototype.J=function(a){a!==this.D&&(this.update({title:a}),this.D=a);a?this.show():this.hide()}; +bQ.prototype.I=function(){this.B.disabled=null==this.j;g.N(this.B,"ytp-chapter-container-disabled",this.B.disabled);this.Wb()};g.u(cQ,bQ);cQ.prototype.onClickCommand=function(a){g.av(a,SH)&&this.Wb()}; +cQ.prototype.updateVideoData=function(a,b){var c;this.j=null==(c=b.V5)?void 0:c.command;bQ.prototype.I.call(this)}; +cQ.prototype.Wb=function(){var a="",b=this.C.j,c=this.G.getLoopRange();c=!this.G.K("web_repeating_chapters")&&c||"clips"===(null==c?void 0:c.type);if(1d!==a>b){var e=c;c=d;d=e}a>c&&b>d&&this.xJ()}}; +g.k.disable=function(){var a=this;if(!this.message){var b=(null!=xx(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK":"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK").split(/\$(BEGIN|END)_LINK/);this.message=new g.CN(this.G,{F:"div",Ca:["ytp-popup","ytp-generic-popup"],T:{role:"alert",tabindex:"0"},S:[b[0],{F:"a",T:{href:"https://support.google.com/youtube/answer/6276924", +target:this.G.R().J},Z:b[2]},b[4]]},100,!0);this.message.hide();g.M(this,this.message);this.message.subscribe("show",function(c){a.u.xv(a.message,c)}); +g.AN(this.G,this.message.element,4);this.element.setAttribute("aria-disabled","true");this.element.setAttribute("aria-haspopup","true");(0,this.j)();this.j=null}}; +g.k.Fa=function(){var a=FHa(this.G),b=this.G.R().I&&250>this.G.getPlayerSize().width;g.YK(this,a&&!b);this.G.Ta(this.element,this.tb)}; +g.k.wk=function(a){if(a){var b={F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"g",L:"ytp-fullscreen-button-corner-2",S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{F:"g",L:"ytp-fullscreen-button-corner-3",S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{F:"g",L:"ytp-fullscreen-button-corner-0",S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{F:"g", +L:"ytp-fullscreen-button-corner-1",S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=EO(this.G,"Exit full screen","f");document.activeElement===this.element&&this.G.getRootNode().focus()}else b={F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},S:[{F:"g",L:"ytp-fullscreen-button-corner-0",S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{F:"g",L:"ytp-fullscreen-button-corner-1",S:[{F:"path", +Nb:!0,L:"ytp-svg-fill",T:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{F:"g",L:"ytp-fullscreen-button-corner-2",S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{F:"g",L:"ytp-fullscreen-button-corner-3",S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=EO(this.G,"Full screen","f");a=this.message?null:a;this.update({title:a,icon:b});vP(this.u.pc())}; +g.k.ea=function(){this.message||((0,this.j)(),this.j=null);g.X.prototype.ea.call(this)};g.u(iQ,bQ);iQ.prototype.onClickCommand=function(a){g.av(a,b_a)&&this.Wb()}; +iQ.prototype.updateVideoData=function(){var a,b;this.j=null==(a=IIa(this))?void 0:null==(b=a.onTap)?void 0:b.innertubeCommand;bQ.prototype.I.call(this)}; +iQ.prototype.Wb=function(){var a="",b=this.C.N,c,d=null==(c=IIa(this))?void 0:c.headerTitle;c=d?g.zA(d):"";d=this.G.getLoopRange();d=!this.G.K("web_repeating_chapters")&&d||"clips"===(null==d?void 0:d.type);1a&&this.delay.start()}; +var L0a=new g.xo(0,0,.4,0,.2,1,1,1),NIa=/[0-9.-]+|[^0-9.-]+/g;g.u(g.oQ,g.X);g.k=g.oQ.prototype;g.k.TM=function(a){this.visible=300<=a.width;g.YK(this,this.visible);this.G.Ta(this.element,this.visible&&this.ra)}; +g.k.Y0=function(){this.G.R().va?this.G.isMuted()?this.G.unMute():this.G.mute():DN(this.message,this.element,!0);this.G.qb(this.element)}; +g.k.onVolumeChange=function(a){this.setVolume(a.volume,a.muted)}; +g.k.setVolume=function(a,b){var c=this,d=b?0:a/100,e=this.G.R();a=0===d?1:50=YIa(this)){this.api.seekTo(a,!1);g.yl(this.B,"transform","translateX("+this.u+"px)");var b=g.XL(a),c=g.HJ("Seek to $PROGRESS",{PROGRESS:g.XL(a,!0)});this.update({ariamin:0,ariamax:Math.floor(this.api.getDuration()),arianow:Math.floor(a),arianowtext:c,seekTime:b})}else this.u=this.I}; +g.k.FV=function(){var a=300>(0,g.U)()-this.qa;if(5>Math.abs(this.J)&&!a){this.qa=(0,g.U)();a=this.N+this.J;var b=this.C/2-a;this.JF(a);this.IF(a+b);uQ(this);this.api.qb(this.B)}uQ(this)}; +g.k.mw=function(){vQ(this,this.api.getCurrentTime())}; +g.k.play=function(a){this.api.seekTo(ZIa(this,this.u));this.api.playVideo();a&&this.api.qb(this.playButton)}; +g.k.enable=function(){this.isEnabled||(this.isEnabled=!0,this.va=this.api.getCurrentTime(),g.N(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled),this.Y=this.P(this.element,"wheel",this.GV),this.Ta(this.isEnabled))}; +g.k.disable=function(){this.isEnabled=!1;this.hide();g.N(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled);this.Y&&this.uc(this.Y);this.Ta(this.isEnabled)}; +g.k.reset=function(){this.disable();this.D=[];this.W=!1}; +g.k.Ta=function(a){this.api.Ta(this.element,a);this.api.Ta(this.B,a);this.api.Ta(this.dismissButton,a);this.api.Ta(this.playButton,a)}; +g.k.ea=function(){for(;this.j.length;){var a=void 0;null==(a=this.j.pop())||a.dispose()}g.X.prototype.ea.call(this)}; +g.u(WIa,g.X);g.u(wQ,g.X);g.u($Ia,g.X);g.u(xQ,g.X);cJa.prototype.update=function(a,b,c,d){this.width=b;this.u=c;this.D=d;this.j=b-c-d;this.position=g.Cg(a,c,c+this.j);this.C=this.position-c;this.B=this.C/this.j};g.u(BQ,g.X);g.u(g.DQ,g.ZK);g.k=g.DQ.prototype; +g.k.jT=function(){var a=!1,b=this.api.getVideoData();if(!b)return a;this.api.Af("timedMarkerCueRange");EQ(this);for(var c=g.r(b.Dd),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=this.Nc[d])?void 0:e.markers;if(f){a=g.r(f);for(e=a.next();!e.done;e=a.next()){f=e.value;e=new BQ;var h=void 0;e.title=(null==(h=f.title)?void 0:h.simpleText)||"";e.timeRangeStartMillis=Number(f.startMillis);e.j=Number(f.durationMillis);var l=h=void 0;e.onActiveCommand=null!=(l=null==(h=f.onActive)?void 0: +h.innertubeCommand)?l:void 0;gJa(this,e)}FQ(this,this.N);a=this.N;e=this.Oe;f=[];h=null;for(l=0;lm&&(h.end=m);m=rIa(m,m+p);f.push(m);h=m;e[m.id]=a[l].onActiveCommand}}this.api.le(f);this.cf=this.Nc[d];a=!0}}b.kQ=this.N;g.N(this.element,"ytp-timed-markers-enabled",a);return a}; +g.k.xb=function(){g.GQ(this);KQ(this);FQ(this,this.N);var a;null==(a=this.u)||vQ(a,this.api.getCurrentTime())}; +g.k.onClickCommand=function(a){if(a=g.av(a,SH)){var b=a.key;a.isVisible&&b&&HQ(this,b)}}; +g.k.B2=function(a){this.api.Ka("innertubeCommand",this.Oe[a.id])}; +g.k.Wb=function(){KQ(this);var a=this.api.getCurrentTime();(athis.clipEnd)&&this.aE()}; +g.k.IV=function(a){if(!g.Hx(a)){var b=!1;switch(g.Ix(a)){case 36:this.api.seekTo(0);b=!0;break;case 35:this.api.seekTo(Infinity);b=!0;break;case 34:this.api.seekBy(-60);b=!0;break;case 33:this.api.seekBy(60);b=!0;break;case 38:this.api.seekBy(5);b=!0;break;case 40:this.api.seekBy(-5),b=!0}b&&g.Gx(a)}}; +g.k.Qp=function(a,b){this.updateVideoData(b,"newdata"===a)}; +g.k.OY=function(){this.Qp("newdata",this.api.getVideoData())}; +g.k.updateVideoData=function(a,b){b=void 0===b?!1:b;var c=!!a&&a.isValid();c&&(zI(a)||NQ(this)?this.rd=!1:this.rd=a.allowLiveDvr,g.N(this.api.getRootNode(),"ytp-enable-live-buffer",!(null==a||!zI(a))));sJa(this,this.api.cg());if(b){if(c){b=a.clipEnd;this.clipStart=a.clipStart;this.clipEnd=b;QQ(this);for(LQ(this,this.Y,this.Eb);0m&&(c=m,b=-this.va,m=dM(this.B,m)*JQ(this).j+b,a.position=m), +b=this.B.u;NQ(this)&&(b=this.B.u);m=f||g.XL(this.rd?c-this.B.j:c-b);b=a.position+this.rg;c-=this.api.wd();var n;if(null==(n=this.u)||!n.isEnabled)if(this.api.Ii()){if(1=n);d=this.tooltip.scale;l=(isNaN(l)?0:l)-45*d;this.api.K("web_key_moments_markers")?this.cf?(n=oIa(this.N,1E3*c),n=null!=n?this.N[n].title:""):(n=zP(this.j,1E3*c),n=this.j[n].title):(n=zP(this.j,1E3*c),n=this.j[n].title);n||(l+=16*d);.6===this.tooltip.scale&&(l=n?110:126);d=zP(this.j,1E3*c);this.eb=lJa(this,c,d)?d:lJa(this,c,d+1)?d+1:-1;g.N(this.api.getRootNode(),"ytp-progress-bar-snap",-1!==this.eb&&1=h.visibleTimeRangeStartMillis&&p<=h.visibleTimeRangeEndMillis&&(n=h.label,m=g.XL(h.decorationTimeMillis/1E3),d=!0)}this.Kd!==d&&(this.Kd=d,this.api.Ta(this.Fd,this.Kd));g.N(this.api.getRootNode(),"ytp-progress-bar-decoration",d);d=320*this.tooltip.scale;e=n.length*(this.C?8.55:5.7);e=e<=d?e:d;h=e<160*this.tooltip.scale;d=3;!h&&e/2>a.position&&(d=1);!h&&e/2>this.D-a.position&&(d=2);this.api.R().I&&(l-=10); +this.I.length&&this.I[0].isValid&&(l-=14*(this.C?2:1),this.Ha||(this.Ha=!0,this.api.Ta(this.qa,this.Ha)));var q;if(CQ(this)&&((null==(q=this.u)?0:q.isEnabled)||0=.5*b?(this.u.enable(),vQ(this.u,this.api.getCurrentTime()),rJa(this,b)):VQ(this)}else if(this.Bd=0,g.jo(this.element,"ytp-pull-ui"),g.jo(this.element,"ytp-pulling"),this.J&&(this.J.dispose(),this.J=null),0l||1l&&a.J.start();a.La&&(a.La=!1,a.api.Ta(a.gb,a.La))}); +this.J.start()}if(g.W(this.api.zb(),32)||3===this.api.getPresentingPlayerType()){var d;if(null==(d=this.u)?0:d.isEnabled)this.api.pauseVideo();else{this.api.startSeekCsiAction();if(1=e.visibleTimeRangeStartMillis&&1E3*b<=e.visibleTimeRangeEndMillis&&this.api.qb(this.Fd)}g.jo(this.element,"ytp-drag"); +this.Pe&&!g.W(this.api.zb(),2)&&this.api.playVideo()}}}; +g.k.A1=function(a,b){var c=this,d=!1,e=!1;a=JQ(this);1===this.j.length&&!CQ(this)&&3600<=bM(this.B)&&(mJa(this,this.Ld-b-10,a.position,a.B),e=!0,d=this.V>.1*(this.C?60:40),a=JQ(this));g.N(this.element,"ytp-pull-ui",e);d&&g.ho(this.element,"ytp-pulling");d=0;a.u&&0>=a.position?d=-1:a.D&&a.position>=a.width&&(d=1);if(this.Bd!==d&&(this.Bd=d,this.J&&(this.J.dispose(),this.J=null),d)){var f=(0,g.U)();this.J=new g.Xn(function(){var l=c.D*(c.Ya-1);c.va=g.Cg(c.va+c.Bd*((0,g.U)()-f)*.3,0,l);MQ(c);c.api.seekTo(PQ(c, +JQ(c)),!1);0=this.md.items.length&&this.hide();this.md.Bf(a);a=this.Mo;a.u=0=b;g.YK(this,a);this.G.Ta(this.element,a)}; +dR.prototype.B=function(){if(this.ib.tb)this.ib.Ib();else{var a=g.jO(this.G.ob());a&&!a.loaded&&(a.xg("tracklist",{includeAsr:!0}).length||a.load());this.G.qb(this.element);this.ib.od(this.element)}}; +dR.prototype.updateBadge=function(){var a=this.G.isHdr(),b=this.G.getPresentingPlayerType(),c=2!==b&&3!==b,d=g.zN(this.G),e=c&&!!g.yN(this.G.ob());b=e&&1===d.displayMode;d=e&&2===d.displayMode;c=(e=b||d)||!c?null:this.G.getPlaybackQuality();g.N(this.element,"ytp-hdr-quality-badge",a);g.N(this.element,"ytp-hd-quality-badge",!a&&("hd1080"===c||"hd1440"===c));g.N(this.element,"ytp-4k-quality-badge",!a&&"hd2160"===c);g.N(this.element,"ytp-5k-quality-badge",!a&&"hd2880"===c);g.N(this.element,"ytp-8k-quality-badge", +!a&&"highres"===c);g.N(this.element,"ytp-3d-badge-grey",!a&&e&&b);g.N(this.element,"ytp-3d-badge",!a&&e&&d)};g.u(fR,MN);fR.prototype.isLoaded=function(){var a=g.sO(this.G.ob());return void 0!==a&&a.loaded}; +fR.prototype.Fa=function(){void 0!==g.sO(this.G.ob())&&3!==this.G.getPresentingPlayerType()?this.j||(this.ib.Bc(this),this.j=!0):this.j&&(this.ib.Bf(this),this.j=!1);this.setValue(this.isLoaded())}; +fR.prototype.onSelect=function(a){this.isLoaded();a?this.G.loadModule("annotations_module"):this.G.unloadModule("annotations_module");this.G.X("annotationvisibility",a)}; +fR.prototype.ea=function(){this.j&&this.ib.Bf(this);MN.prototype.ea.call(this)};g.u(g.gR,g.FN);g.k=g.gR.prototype;g.k.open=function(){g.nP(this.ib,this.u)}; +g.k.Hj=function(a){uJa(this);this.options[a].element.setAttribute("aria-checked","true");this.Sd(this.Rk(a));this.B=a}; +g.k.DG=function(a,b,c){var d=this;b=new g.FN({F:"div",Ca:["ytp-menuitem"],T:{tabindex:"0",role:"menuitemradio","aria-checked":c?"true":void 0},S:[{F:"div",Ca:["ytp-menuitem-label"],Z:"{{label}}"}]},b,this.Rk(a,!0));b.Na("click",function(){d.Mg(a)}); +return b}; +g.k.enable=function(a){this.C?a||(this.C=!1,this.Du(!1)):a&&(this.C=!0,this.Du(!0))}; +g.k.Du=function(a){a?this.ib.Bc(this):this.ib.Bf(this)}; +g.k.Mg=function(a){this.X("select",a)}; +g.k.Rk=function(a){return a.toString()}; +g.k.JV=function(a){g.Hx(a)||39!==g.Ix(a)||(this.open(),g.Gx(a))}; +g.k.ea=function(){this.C&&this.ib.Bf(this);g.FN.prototype.ea.call(this);for(var a=g.r(Object.keys(this.options)),b=a.next();!b.done;b=a.next())this.options[b.value].dispose()};g.u(iR,g.gR);iR.prototype.Fa=function(){var a=this.G.getAvailableAudioTracks();1(a.deltaX||-a.deltaY)?-this.D:this.D;this.Ft(b);g.Gx(a)}; +g.k.LV=function(a){a=(a-g.Gl(this.u).x)/this.J*this.range+this.minimumValue;this.Ft(a)}; +g.k.Ft=function(a,b){b=void 0===b?"":b;a=g.Cg(a,this.minimumValue,this.maximumValue);""===b&&(b=a.toString());this.Ja("valuenow",a);this.Ja("valuetext",b);this.N.style.left=(a-this.minimumValue)/this.range*(this.J-this.W)+"px";this.j=a}; +g.k.focus=function(){this.Y.focus()};g.u(sR,qR);sR.prototype.V=function(){this.G.setPlaybackRate(this.j,!0)}; +sR.prototype.Ft=function(a){qR.prototype.Ft.call(this,a,tR(this,a).toString());this.B&&(rR(this),this.qa())}; +sR.prototype.va=function(){var a=this.G.getPlaybackRate();tR(this,this.j)!==a&&(this.Ft(a),rR(this))};g.u(uR,g.ZK);uR.prototype.focus=function(){this.j.focus()};g.u(yJa,gP);g.u(vR,g.gR);g.k=vR.prototype;g.k.Rk=function(a){return"1"===a?"Normal":a.toLocaleString()}; +g.k.Fa=function(){var a=this.G.getPresentingPlayerType();this.enable(2!==a&&3!==a);BJa(this)}; +g.k.Du=function(a){g.gR.prototype.Du.call(this,a);a?(this.J=this.P(this.G,"onPlaybackRateChange",this.onPlaybackRateChange),BJa(this),zJa(this,this.G.getPlaybackRate())):(this.uc(this.J),this.J=null)}; +g.k.onPlaybackRateChange=function(a){var b=this.G.getPlaybackRate();this.I.includes(b)||AJa(this,b);zJa(this,a)}; +g.k.Mg=function(a){g.gR.prototype.Mg.call(this,a);a===this.j?this.G.setPlaybackRate(this.D,!0):this.G.setPlaybackRate(Number(a),!0);this.ib.Ti()};g.u(xR,g.gR);g.k=xR.prototype;g.k.Hj=function(a){g.gR.prototype.Hj.call(this,a)}; +g.k.getKey=function(a){return a.option.toString()}; +g.k.getOption=function(a){return this.settings[a]}; +g.k.Rk=function(a){return this.getOption(a).text||""}; +g.k.Mg=function(a){g.gR.prototype.Mg.call(this,a);this.X("settingChange",this.setting,this.settings[a].option)};g.u(yR,g.hP);yR.prototype.Jg=function(a){for(var b=g.r(Object.keys(a)),c=b.next();!c.done;c=b.next()){var d=c.value;if(c=this.eq[d]){var e=a[d].toString();d=!!a[d+"Override"];c.options[e]&&(c.Hj(e),c.D.element.setAttribute("aria-checked",String(!d)),c.j.element.setAttribute("aria-checked",String(d)))}}}; +yR.prototype.Ri=function(a,b){this.X("settingChange",a,b)};g.u(zR,g.gR);zR.prototype.getKey=function(a){return a.languageCode}; +zR.prototype.Rk=function(a){return this.languages[a].languageName||""}; +zR.prototype.Mg=function(a){this.X("select",a);this.G.qb(this.element);g.rP(this.ib)};g.u(AR,g.gR);g.k=AR.prototype;g.k.getKey=function(a){return g.Cf(a)?"__off__":a.displayName}; +g.k.Rk=function(a){return"__off__"===a?"Off":"__translate__"===a?"Auto-translate":"__contribute__"===a?"Add subtitles/CC":("__off__"===a?{}:this.tracks[a]).displayName}; +g.k.Mg=function(a){"__translate__"===a?this.j.open():"__contribute__"===a?(this.G.pauseVideo(),this.G.isFullscreen()&&this.G.toggleFullscreen(),a=g.$M(this.G.R(),this.G.getVideoData()),g.iM(a)):(this.G.qb(this.element),this.G.setOption("captions","track","__off__"===a?{}:this.tracks[a]),g.gR.prototype.Mg.call(this,a),this.ib.Ti())}; +g.k.Fa=function(){var a=this.G.getOptions();a=a&&-1!==a.indexOf("captions");var b=this.G.getVideoData();b=b&&b.IB;var c,d=!(null==(c=this.G.getVideoData())||!g.wI(c));c={};if(a||b){if(a){var e=this.G.getOption("captions","track");c=this.G.getOption("captions","tracklist",{includeAsr:!0});var f=d?[]:this.G.getOption("captions","translationLanguages");this.tracks=g.uc(c,this.getKey,this);d=g.Pk(c,this.getKey);if(f.length&&!g.Cf(e)){var h=e.translationLanguage;if(h&&h.languageName){var l=h.languageName; +h=f.findIndex(function(m){return m.languageName===l}); +Uaa(f,h)}DJa(this.j,f);d.push("__translate__")}f=this.getKey(e)}else this.tracks={},d=[],f="__off__";d.unshift("__off__");this.tracks.__off__={};b&&d.unshift("__contribute__");this.tracks[f]||(this.tracks[f]=e,d.push(f));g.hR(this,d);this.Hj(f);e&&e.translationLanguage?this.j.Hj(this.j.getKey(e.translationLanguage)):uJa(this.j);a&&this.D.Jg(this.G.getSubtitlesUserSettings());this.J.Sd(c&&c.length?" ("+c.length+")":"");this.X("size-change");this.G.Ta(this.element,!0);this.enable(!0)}else this.enable(!1)}; +g.k.NV=function(a){var b=this.G.getOption("captions","track");b=g.Gf(b);b.translationLanguage=this.j.languages[a];this.G.setOption("captions","track",b)}; +g.k.Ri=function(a,b){if("reset"===a)this.G.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.G.updateSubtitlesUserSettings(c)}EJa(this,!0);this.I.start();this.D.Jg(this.G.getSubtitlesUserSettings())}; +g.k.e2=function(a){a||g.bo(this.I)}; +g.k.ea=function(){g.bo(this.I);g.gR.prototype.ea.call(this)};g.u(BR,g.pP);g.k=BR.prototype;g.k.initialize=function(){if(!this.isInitialized){this.isInitialized=!0;var a=new mR(this.G,this);g.M(this,a);a=new AR(this.G,this);g.M(this,a);this.G.R().B||(a=new fR(this.G,this),g.M(this,a));this.G.R().Ed&&(a=new vR(this.G,this),g.M(this,a));this.G.R().rd&&!this.G.R().K("web_player_move_autonav_toggle")&&(a=new jR(this.G,this),g.M(this,a));a=new iR(this.G,this);g.M(this,a);this.G.X("settingsMenuInitialized");eR(this.settingsButton,this.md.items.length)}}; +g.k.Bc=function(a){this.initialize();this.md.Bc(a);eR(this.settingsButton,this.md.items.length)}; +g.k.Bf=function(a){this.tb&&1>=this.md.items.length&&this.hide();this.md.Bf(a);eR(this.settingsButton,this.md.items.length)}; +g.k.od=function(a){this.initialize();0=b;g.YK(this,c);this.G.Ta(this.element,c);a&&this.Ja("pressed",this.isEnabled())};g.u(g.FR,g.X);g.k=g.FR.prototype; +g.k.Wb=function(){var a=this.api.Za().getPlayerSize().width,b=this.J;this.api.R().I&&(b=400);b=a>=b&&(!HR(this)||!g.W(this.api.zb(),64));g.YK(this,b);g.N(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.api.getProgressState();if(b){b=this.api.getPresentingPlayerType();var c=this.api.R().K("halftime_ux_killswitch")?a.current:this.api.getCurrentTime(b,!1);this.u&&(c-=a.airingStart);GR(this)&&(c-=this.sb.startTimeMs/1E3);c=g.XL(c);this.B!==c&&(this.Ja("currenttime",c),this.B=c);b=GR(this)? +g.XL((this.sb.endTimeMs-this.sb.startTimeMs)/1E3):g.XL(this.api.R().K("halftime_ux_killswitch")?a.duration:this.api.getDuration(b,!1));this.C!==b&&(this.Ja("duration",b),this.C=b)}a=a.isAtLiveHead;!HR(this)||this.I===a&&this.D===this.isPremiere||(this.I=a,this.D=this.isPremiere,this.Wb(),b=this.liveBadge.element,b.disabled=a,this.liveBadge.Sd(this.isPremiere?"Premiere":"Live"),a?this.j&&(this.j(),this.j=null,b.removeAttribute("title")):(b.title="Skip ahead to live broadcast.",this.j=g.$O(this.tooltip, +this.liveBadge.element)));a=this.api.getLoopRange();b=this.sb!==a;this.sb=a;b&&ER(this)}; +g.k.onLoopRangeChange=function(a){var b=this.sb!==a;this.sb=a;b&&(this.Wb(),ER(this))}; +g.k.P2=function(){this.api.setLoopRange(null)}; +g.k.onVideoDataChange=function(a,b,c){this.updateVideoData((this.api.R().K("enable_topsoil_wta_for_halftime")||this.api.R().K("enable_topsoil_wta_for_halftime_live_infra"))&&2===c?this.api.getVideoData(1):b);this.Wb();ER(this)}; +g.k.updateVideoData=function(a){this.isLiveVideo=a.isLivePlayback&&!a.Cb;this.u=zI(a);this.isPremiere=a.isPremiere;g.N(this.element,"ytp-live",HR(this))}; +g.k.onClick=function(a){a.target===this.liveBadge.element&&(this.api.seekTo(Infinity),this.api.playVideo())}; +g.k.ea=function(){this.j&&this.j();g.X.prototype.ea.call(this)};g.u(KR,g.X);g.k=KR.prototype;g.k.Eo=function(){var a=this.j.Qf();this.C!==a&&(this.C=a,JR(this,this.api.getVolume(),this.api.isMuted()))}; +g.k.WM=function(a){g.YK(this,350<=a.width)}; +g.k.QV=function(a){if(!g.Hx(a)){var b=g.Ix(a),c=null;37===b?c=this.volume-5:39===b?c=this.volume+5:36===b?c=0:35===b&&(c=100);null!==c&&(c=g.Cg(c,0,100),0===c?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(c)),g.Gx(a))}}; +g.k.OV=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.api.setVolume(this.volume+(0>b?-10:10)):this.api.setVolume(this.volume+g.Cg(b/10,-10,10));g.Gx(a)}; +g.k.l2=function(){IR(this,this.u,!0,this.B,this.j.Uj());this.V=this.volume;this.api.isMuted()&&this.api.unMute()}; +g.k.PV=function(a){var b=this.C?78:52,c=this.C?18:12;a-=g.Gl(this.N).x;this.api.setVolume(100*g.Cg((a-c/2)/(b-c),0,1))}; +g.k.j2=function(){IR(this,this.u,!1,this.B,this.j.Uj());0===this.volume&&(this.api.mute(),this.api.setVolume(this.V))}; +g.k.onVolumeChange=function(a){JR(this,a.volume,a.muted)}; +g.k.cO=function(){IR(this,this.u,this.isDragging,this.B,this.j.Uj())}; +g.k.ea=function(){g.X.prototype.ea.call(this);g.jo(this.J,"ytp-volume-slider-active")};g.u(g.LR,g.X);g.LR.prototype.onVideoDataChange=function(){var a=this.api.getVideoData(1).C,b=this.api.R();this.visible=!!this.api.getVideoData().videoId&&!(a&&b.pfpChazalUi);g.YK(this,this.visible);this.api.Ta(this.element,this.visible&&this.ra);this.visible&&(a=this.api.getVideoUrl(!0,!1,!1,!0),this.Ja("url",a));b.B&&(this.j&&(this.uc(this.j),this.j=null),this.element.removeAttribute("href"),this.element.removeAttribute("title"),this.element.removeAttribute("aria-label"),g.ho(this.element,"no-link"))}; +g.LR.prototype.onClick=function(a){var b=this.api.R(),c=this.api.getVideoUrl(!g.YL(a),!1,!0,!0);if(g.MF(b)||g.XF(b)){var d={};b.ra&&g.MF(b)&&g.bN(d,b.loaderUrl);c=g.wi(c,g.aN(d,"emb_logo"))}g.BO(c,this.api,a);this.api.qb(this.element)}; +g.LR.prototype.xb=function(){var a={F:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},S:[{F:"path",Nb:!0,L:"ytp-svg-fill",T:{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 "}}]}; +if(g.XF(this.api.R())){var b=this.ya("ytp-youtube-music-button"),c=300>this.api.getPlayerSize().width;a=c?{F:"svg",T:{fill:"none",height:"24",width:"24"},S:[{F:"circle",T:{cx:"12",cy:"12",fill:"red",r:"12"}},{F:"ellipse",T:{cx:"12.18",cy:"12",fill:"red",rx:"7.308",ry:"7.2",stroke:"#fff","stroke-width":"1.2"}},{F:"path",T:{d:"M9.74 15.54l6.32-3.54-6.32-3.54v7.09z",fill:"#fff"}}]}:{F:"svg",T:{viewBox:"0 0 80 24"},S:[{F:"ellipse",T:{cx:"12.18",cy:"12",fill:"red",rx:"12.18",ry:"12"}},{F:"ellipse",T:{cx:"12.18", +cy:"12",fill:"red",rx:"7.308",ry:"7.2",stroke:"#fff","stroke-width":"1.2"}},{F:"path",T:{d:"M9.74 15.54l6.32-3.54-6.32-3.54v7.09zM37.43 9.64c-.57 2.85-1.01 6.33-1.25 7.77h-.16c-.18-1.48-.62-4.94-1.22-7.75L33.31 2.67h-4.52v18.85h2.80V5.98l.27 1.45 2.85 14.08h2.80l2.80-14.08.3-1.45v15.54h2.80V2.67h-4.56l-1.43 6.96zM51.01 18.69c-.25.51-.81.87-1.36.87-.64 0-.90-.49-.90-1.70V7.75H45.54v10.29c0 2.54.85 3.70 2.75 3.70 1.29 0 2.33-.56 3.05-1.90h.07l.27 1.68h2.50V7.75h-3.19v10.94h.00zM60.39 13.19c-1.04-.74-1.69-1.23-1.69-2.31 0-.76.37-1.19 1.25-1.19.90 0 1.20.60 1.22 2.67l2.68-.11c.20-3.34-.92-4.74-3.87-4.74-2.73 0-4.07 1.19-4.07 3.63 0 2.22 1.11 3.23 2.92 4.56 1.55 1.16 2.45 1.82 2.45 2.76 0 .72-.46 1.21-1.27 1.21-.95 0-1.50-.87-1.36-2.40l-2.71.04c-.41 2.85.76 4.51 3.91 4.51 2.75 0 4.19-1.23 4.19-3.70-.00-2.24-1.16-3.14-3.66-4.94zM68.87 7.75h-3.05v13.77h3.06V7.75zM67.36 2.31c-1.18 0-1.73.42-1.73 1.91 0 1.52.55 1.90 1.73 1.90 1.20 0 1.73-.38 1.73-1.90 0-1.41-.53-1.91-1.73-1.91zM79.15 16.56l-2.80-.13c0 2.42-.27 3.21-1.22 3.21-.95 0-1.11-.87-1.11-3.73v-2.67c0-2.76.18-3.63 1.13-3.63.88 0 1.11.83 1.11 3.39l2.77-.17c.18-2.13-.09-3.59-.94-4.42-.62-.60-1.57-.89-2.89-.89-3.10 0-4.37 1.61-4.37 6.15v1.93c0 4.67 1.08 6.17 4.26 6.17 1.34 0 2.27-.27 2.89-.85.90-.81 1.24-2.20 1.18-4.34z", +fill:"#fff"}}]};g.N(b,"ytp-youtube-music-logo-icon-only",c)}this.Ja("logoSvg",a)}; +g.LR.prototype.lc=function(a){g.X.prototype.lc.call(this,a);this.api.Ta(this.element,this.visible&&a)};g.u(MR,g.YD);g.k=MR.prototype;g.k.Vd=function(){this.xc.Wb();this.ai.Wb()}; +g.k.ul=function(){this.KF();if(this.Xd.u){this.Vd();var a;null==(a=this.N)||a.show()}else{g.VR(this.xc.tooltip);var b;null==(b=this.N)||b.hide()}}; +g.k.Ts=function(){this.Vd();this.ye.start()}; +g.k.KF=function(){var a=!this.G.R().isMobile&&300>g.tJa(this.xc)&&this.G.zb().Oc()&&!!window.requestAnimationFrame,b=!a;this.Xd.u||(a=b=!1);b?this.J||(this.J=this.P(this.G,"progresssync",this.Vd)):this.J&&(this.uc(this.J),this.J=null);a?this.ye.isActive()||this.ye.start():this.ye.stop()}; +g.k.xb=function(){var a=this.B.Qf(),b=this.G.Za().getPlayerSize(),c=NR(this),d=Math.max(b.width-2*c,100);if(this.Ra!==b.width||this.La!==a){this.Ra=b.width;this.La=a;var e=JJa(this);this.j.element.style.width=e+"px";this.j.element.style.left=c+"px";g.UQ(this.xc,c,e,a);this.B.pc().LF=e}c=this.settingsMenu;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-OR(this))));c.maxWidth=Math.min(570*(a?1.5:1),d);c.rB=e;c.Zw();this.KF();!this.G.R().K("html5_player_bottom_linear_gradient")&&this.G.R().K("html5_player_dynamic_bottom_gradient")&& +g.$P(this.Ua,b.height)}; +g.k.onVideoDataChange=function(){var a=this.G.getVideoData();this.qa.style.background=a.C?a.Ua:"";g.YK(this.W,a.cG)};g.u(PR,UP);g.k=PR.prototype;g.k.nJ=function(a){a.target!==this.dismissButton.element&&(this.onClickCommand&&this.G.Ka("innertubeCommand",this.onClickCommand),this.B=!0,this.N.hide())}; +g.k.oJ=function(){this.B=!0;this.N.hide()}; +g.k.onVideoDataChange=function(a,b){"newdata"===a&&(this.u=this.B=!1,QR(this));a=b.suggestedAction;if(null==b.shoppingOverlayRenderer&&a){this.j=this.J=this.enabled=!0;this.text=(b=a.title)?g.zA(b):"View Chapters";var c=g.av(a.trigger,dBa);if(c){b=[];var d=c.timeRangeStartMillis;c=c.timeRangeEndMillis;null!=d&&null!=c&&b.push(new g.sA(d,c,{priority:9,namespace:"suggested_action_button_visible"}));this.G.le(b)}this.onClickCommand=a.tapCommand;CIa(this);TP(this);this.Dj()}}; +g.k.uA=function(){return!this.B&&this.enabled&&(this.u||this.j)}; +g.k.zf=function(a){this.B||((this.u=a)?SP(this):(QR(this),this.W.start()),this.Dj())}; +g.k.ea=function(){QR(this);UP.prototype.ea.call(this)};var q4={},RR=(q4.CHANNEL_NAME="ytp-title-channel-name",q4.FULLERSCREEN_LINK="ytp-title-fullerscreen-link",q4.LINK="ytp-title-link",q4.SESSIONLINK="yt-uix-sessionlink",q4.SUBTEXT="ytp-title-subtext",q4.TEXT="ytp-title-text",q4.TITLE="ytp-title",q4);g.u(SR,g.X);SR.prototype.onClick=function(a){this.api.qb(this.element);var b=this.api.R(),c=this.api.getVideoUrl(!g.YL(a),!1,!0);if(g.MF(b)){var d={};b.ra&&g.bN(d,b.loaderUrl);c=g.wi(c,g.aN(d,"emb_title"))}g.BO(c,this.api,a)}; +SR.prototype.Fa=function(){var a=this.api.getVideoData(),b=this.api.R();this.Ja("title",a.title);KJa(this);if(2===this.api.getPresentingPlayerType()){var c=this.api.getVideoData();c.videoId&&c.isListed&&c.author&&c.Cd&&c.profilePicture?(this.Ja("channelLink",c.Cd),this.Ja("channelName",c.author),this.Ja("channelTitleFocusable","0")):KJa(this)}c=b.externalFullscreen||!this.api.isFullscreen()&&b.Kb;g.N(this.link,RR.FULLERSCREEN_LINK,c);b.N||!a.videoId||c||a.C&&b.pfpChazalUi||b.B?this.j&&(this.Ja("url", +null),this.uc(this.j),this.j=null):(this.Ja("url",this.api.getVideoUrl(!0)),this.j||(this.j=this.P(this.link,"click",this.onClick)));b.B&&this.Ja("channelName",g.MF(b)?a.expandedTitle:a.author)};g.u(g.TR,g.X);g.k=g.TR.prototype;g.k.VQ=function(a,b){a<=this.B&&this.B<=b&&(a=this.B,this.B=NaN,MJa(this,a))}; +g.k.JZ=function(){GAa(this.j,this.B,160*this.scale)}; +g.k.Ol=function(){switch(this.type){case 2:var a=this.u;a.removeEventListener("mouseout",this.V);a.addEventListener("mouseover",this.C);a.removeEventListener("blur",this.V);a.addEventListener("focus",this.C);PJa(this);break;case 3:PJa(this);break;case 1:this.j&&(this.j.unsubscribe("l",this.VQ,this),this.j=null),this.api.removeEventListener("videoready",this.W),this.Y.stop()}this.type=null;this.J&&this.D.hide()}; +g.k.Nj=function(){if(this.u)for(var a=0;a(b.height-d.height)/2?l.y-f.height-12:l.y+d.height+12);a.style.top=f+(e||0)+"px";a.style.left=c+"px"}; +g.k.ul=function(a){a&&(this.tooltip.Nj(this.Aj.element),this.Lf&&this.tooltip.Nj(this.Lf.j.element));this.RC&&(g.N(this.contextMenu.element,"ytp-autohide",a),g.N(this.contextMenu.element,"ytp-autohide-active",!0));g.PO.prototype.ul.call(this,a)}; +g.k.mJ=function(){g.PO.prototype.mJ.call(this);this.RC&&(g.N(this.contextMenu.element,"ytp-autohide-active",!1),this.RC&&(this.contextMenu.hide(),this.yh&&this.yh.hide()))}; +g.k.Sj=function(a,b){var c=this.api.Za().getPlayerSize();c=new g.vl(0,0,c.width,c.height);if(a||this.Xd.u&&!this.Cq()){if(this.api.R().Jk||b)a=this.Qf()?this.MG:this.LG,c.top+=a,c.height-=a;this.Lf&&(c.height-=OR(this.Lf))}return c}; +g.k.Eo=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","YouTube Video Player in Fullscreen"),this.api.R().externalFullscreen||(b.parentElement.insertBefore(this.iC.element,b),b.parentElement.insertBefore(this.hC.element,b.nextSibling))):g.gu(Error("Player not in DOM.")):(b.setAttribute("aria-label","YouTube Video Player"),this.iC.detach(),this.hC.detach());this.xb();this.vn()}; +g.k.Qf=function(){var a=this.api.R();return this.api.isFullscreen()&&!a.I||!1}; +g.k.showControls=function(a){this.SB=!a;this.Dk()}; +g.k.xb=function(){var a=this.Qf();this.tooltip.scale=a?1.5:1;this.contextMenu&&g.N(this.contextMenu.element,"ytp-big-mode",a);this.Dk();if(this.Dg()&&this.yh)this.Yi&&GP(this.yh,this.Yi),this.shareButton&&GP(this.yh,this.shareButton),this.Hh&&GP(this.yh,this.Hh);else{if(this.yh){a=this.yh;for(var b=g.r(a.actionButtons),c=b.next();!c.done;c=b.next())c.value.detach();a.actionButtons=[]}this.Yi&&!g.sh(this.di.element,this.Yi.element)&&this.Yi.xa(this.di.element);this.shareButton&&!g.sh(this.di.element, +this.shareButton.element)&&this.shareButton.xa(this.di.element);this.Hh&&!g.sh(this.di.element,this.Hh.element)&&this.Hh.xa(this.di.element)}this.vn();g.PO.prototype.xb.call(this)}; +g.k.MH=function(){if(UJa(this)&&!g.xN(this.api))return!1;var a=this.api.getVideoData();return!g.MF(this.api.R())||2===this.api.getPresentingPlayerType()||!this.Jh||((a=this.Jh||a.Jh)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&g.av(a.videoDetails,CBa)||null):a=null:a=null,a&&a.collapsedRenderer&&a.expandedRenderer)?g.PO.prototype.MH.call(this):!1}; +g.k.vn=function(){g.PO.prototype.vn.call(this);this.api.Ta(this.title.element,!!this.Tm);this.uw&&this.uw.lc(!!this.Tm);this.channelAvatar.lc(!!this.Tm);this.overflowButton&&this.overflowButton.lc(this.Dg()&&!!this.Tm);this.shareButton&&this.shareButton.lc(!this.Dg()&&!!this.Tm);this.Yi&&this.Yi.lc(!this.Dg()&&!!this.Tm);this.Hh&&this.Hh.lc(!this.Dg()&&!!this.Tm);if(!this.Tm){this.tooltip.Nj(this.Aj.element);for(var a=0;a=b)return m.return();if(!a.U.K("html5_onesie_host_racing_during_prewarming"))return(c=a.j.get(0))&&$Ja(a,c),m.Ma(0);d=g.TE(a.U.experiments,"html5_onesie_prewarm_cooldown_ms");e=a.j.values();f=g.r(e);h=f.next()}if(4!=m.j){if(h.done)return m.Ma(0);l=h.value;if(a.isDisposed())return m.return();$Ja(a,l);return d?g.x(m,XJa(d),4):m.Ma(4)}h=f.next(); +return m.Ma(3)})}; +gS.prototype.start=function(){this.startTimestamp=(0,g.U)()}; +gS.prototype.end=function(){this.endTimestamp=(0,g.U)()};var iS=[],PRa=!1;g.bW=$f(function(){var a="";try{var b=g.mh("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.u(g.jS,VJ);g.k=g.jS.prototype;g.k.isView=function(){return!0}; +g.k.mK=function(){var a=this.mediaElement.getCurrentTime();if(ae?this.Kf("next_player_future"):(this.D=d,this.B=Cxa(a,c,d,!0),this.C=Cxa(a,e,h,!1),a=this.u.getVideoData().clientPlaybackNonce,this.j.ma("gaplessPrep",{cpn:a}),nS(this.j,this.B),this.j.setMediaElement(iKa(b,c,d,!this.j.getVideoData().isAd())), +mS(this,2),oKa(this))))}else this.Kf("no-elem")}; +g.k.Eu=function(a){var b=a===nKa(this).vS,c=b?this.B.j:this.B.u;b=b?this.C.j:this.C.u;if(c.isActive&&!b.isActive){var d=this.D;iE(a.yg(),d-.01)&&(mS(this,4),c.isActive=!1,c.PA=c.PA||c.isActive,this.u.ma("sbh",{}),b.isActive=!0,b.PA=b.PA||b.isActive);a=this.C.u;this.C.j.isActive&&a.isActive&&mS(this,5)}}; +g.k.aR=function(){4<=this.status.status&&6>this.status.status&&this.Kf("player-reload-after-handoff")}; +g.k.Kf=function(a,b){b=void 0===b?{}:b;if(!this.isDisposed()&&!this.isFinished()){var c=4<=this.status.status&&"player-reload-after-handoff"!==a;this.status={status:Infinity,error:a};if(this.j&&this.u){var d=this.u.getVideoData().clientPlaybackNonce;this.j.yd(new zG("dai.transitionfailure",Object.assign(b,{cpn:d,transitionTimeMs:this.Cl,msg:a})));a=this.j;a.videoData.Ea=!1;c&&JV(a);a.Ga&&FNa(a.Ga)}this.qn.reject(void 0);this.dispose()}}; +g.k.ea=function(){mKa(this);this.j.unsubscribe("newelementrequired",this.aR,this);if(this.B){var a=this.B.u;this.B.j.Wd.unsubscribe("updateend",this.Eu,this);a.Wd.unsubscribe("updateend",this.Eu,this)}g.K.prototype.ea.call(this)}; +g.k.bd=function(a){g.uJ(a,128)&&this.Kf("player-error-event")};g.u(pS,g.K);pS.prototype.clearQueue=function(){this.C&&this.C.reject("Queue cleared");qS(this)}; +pS.prototype.Wv=function(){return!this.j}; +pS.prototype.ea=function(){qS(this);g.K.prototype.ea.call(this)};g.u(vS,g.cz);g.k=vS.prototype;g.k.getVisibilityState=function(a,b,c,d,e,f){return a?4:sKa()?3:b?2:c?1:d?5:e?7:f?8:0}; +g.k.wk=function(a){this.fullscreen!==a&&(this.fullscreen=a,this.zf())}; +g.k.setMinimized=function(a){this.B!==a&&(this.B=a,this.zf())}; +g.k.setInline=function(a){this.inline!==a&&(this.inline=a,this.zf())}; +g.k.Iw=function(a){this.pictureInPicture!==a&&(this.pictureInPicture=a,this.zf())}; +g.k.setImmersivePreview=function(a){this.u!==a&&(this.u=a,this.zf())}; +g.k.Bg=function(){return this.j}; +g.k.isFullscreen=function(){return 0!==this.fullscreen}; +g.k.Fv=function(){return this.fullscreen}; +g.k.wf=function(){return this.B}; +g.k.isInline=function(){return this.inline}; +g.k.isBackground=function(){return sKa()}; +g.k.Vv=function(){return this.pictureInPicture}; +g.k.Sv=function(){return this.u}; +g.k.zf=function(){this.X("visibilitychange");var a=this.getVisibilityState(this.Bg(),this.isFullscreen(),this.wf(),this.isInline(),this.Vv(),this.Sv());a!==this.D&&this.X("visibilitystatechange");this.D=a}; +g.k.ea=function(){vKa(this.C);g.cz.prototype.ea.call(this)};g.u(g.zS,g.K);g.k=g.zS.prototype; +g.k.onCueRangeEnter=function(a){this.Yb+=1;this.Ea.push(a);var b=a.getId(),c=""===b;this.Ld&&this.Yb>=this.Ld&&c&&(this.Yb=0,mV(this.oa,{reason:"avDesyncWorkaround"}));this.ub.add(a.u);c||this.oa.ma("sdai",{enterAdCueRange:1});if(this.Ya&&!this.j){this.Ya=!1;if(!c){var d=this.u.get(b);d&&(this.U.K("web_player_ss_record_join_mid_ad_break_killswitch")||(c=this.oa.getCurrentTime(),HS(this,{Od:a,isAd:!0,ao:!0,hg:c,adCpn:b},{isAd:!1,ao:!1,hg:c})),this.api.X("serverstitchedvideochange",d.Dc,d.gp),this.oa.ma("sdai", +DS(this,"midab",d)),this.Oj=1)}this.I=!1}else if(this.j){if(this.j.ao)this.oa.ma("sdai",{a_pair_of_same_transition_occurs_enter:1,acpn:this.j.adCpn,transitionTime:this.j.hg,cpn:b,currentTime:this.oa.getCurrentTime()}),this.U.K("web_player_same_transition_fallback_killswitch")||(d=this.oa.getCurrentTime(),a={Od:a,isAd:!c,ao:!0,hg:d,adCpn:b},b={Od:this.j.Od,isAd:this.j.isAd,ao:!1,hg:d,adCpn:this.j.adCpn},this.j.Od&&this.ub.delete(this.j.Od.u),HS(this,a,b));else{if(this.j.Od===a){this.oa.ma("sdai",{same_cue_range_pair_enter:1, +acpn:this.j.adCpn,transitionTime:this.j.hg,cpn:b,currentTime:this.oa.getCurrentTime(),cueRangeStartTime:a.start,cueRangeEndTime:a.end});this.j=void 0;return}if(this.j.adCpn===b){b&&this.oa.ma("sdai",{dchtsc:b});this.j=void 0;return}a={Od:a,isAd:!c,ao:!0,hg:this.oa.getCurrentTime(),adCpn:b};HS(this,a,this.j)}this.j=void 0;this.I=!1}else this.j={Od:a,isAd:!c,ao:!0,hg:this.oa.getCurrentTime(),adCpn:b}}; +g.k.onCueRangeExit=function(a){if(this.U.K("web_player_same_transition_fallback_killswitch")||this.ub.has(a.u)){this.ub.delete(a.u);this.Ea=this.Ea.filter(function(d){return d!==a}); +this.Ya&&(this.I=this.Ya=!1,this.oa.ma("sdai",{cref:1}));var b=a.getId(),c=""===b;if(this.j){if(this.j.ao){if(this.j.Od===a){this.oa.ma("sdai",{same_cue_range_pair_exit:1,acpn:this.j.adCpn,transitionTime:this.j.hg,cpn:b,currentTime:this.oa.getCurrentTime(),cueRangeStartTime:a.start,cueRangeEndTime:a.end});this.j=void 0;return}if(this.j.adCpn===b){b&&this.oa.ma("sdai",{dchtsc:b});this.j=void 0;return}c={Od:a,isAd:!c,ao:!1,hg:this.oa.getCurrentTime(),adCpn:b};HS(this,this.j,c)}else this.oa.ma("sdai", +{a_pair_of_same_transition_occurs_exit:1,pendingCpn:this.j.adCpn,transitionTime:this.j.hg,upcomingCpn:b,contentCpn:this.oa.getVideoData().clientPlaybackNonce,currentTime:this.oa.getCurrentTime()});this.j=void 0;this.I=!1}else this.j={Od:a,isAd:!c,ao:!1,hg:this.oa.getCurrentTime(),adCpn:b};this.U.K("web_player_halftime_dai")&&(b=this.u.get(b),this.isLiveNow&&b&&this.oa.getCurrentTime()=a.wA&&m.set("skipsq",""+a.wA);(h=this.oa.getVideoData().clientPlaybackNonce)&&m.set("cpn",h);q=[];a.Jj&&(q=LKa(this,a.Jj),0=b+f)b=a.end;else{if(h=!1,a?bthis.B;)(c=this.data.shift())&&cT(this,c,!0);aT(this)}; +bT.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.data.find(function(d){return d.key===a}); +c&&(cT(this,c,b),g.$b(this.data,function(d){return d.key===a}),aT(this))}; +bT.prototype.ea=function(){var a=this;g.K.prototype.ea.call(this);this.data.forEach(function(b){cT(a,b,!0)}); +this.data=[]};g.eT.prototype.info=function(){}; +var eLa=new Map;g.u(fT,g.K);fT.prototype.rC=function(a){if(a)return this.u.get(a)}; +fT.prototype.ea=function(){dT(this.j);dT(this.u);g.K.prototype.ea.call(this)};g.u(gT,g.Co);gT.prototype.X=function(a){var b=g.za.apply(1,arguments);if(this.D.has(a))return this.D.get(a).push(b),!0;var c=!1;try{for(b=[b],this.D.set(a,b);b.length;)c=g.Co.prototype.X.call.apply(g.Co.prototype.X,[this,a].concat(g.t(b.shift())))}finally{this.D.delete(a)}return c};hT.prototype.add=function(a){this.j=(this.j+1)%this.data.length;this.data[this.j]=a}; +hT.prototype.forEach=function(a){for(var b=this.j+1;bc?new g.Qg(b.width*g.TE(this.app.R().experiments,"player_underlay_video_width_fraction"),b.height):b}; +g.k.getVideoAspectRatio=function(){return isNaN(this.aJ)?lLa(this):this.aJ}; +g.k.getVideoContentRect=function(a){var b=this.Ji();a=mLa(this,b,this.getVideoAspectRatio(),a);return new g.vl((b.width-a.width)/2,(b.height-a.height)/2,a.width,a.height)}; +g.k.Kw=function(a){this.XJ=a;this.resize()}; +g.k.VC=function(){return this.OD}; +g.k.onMutedAutoplayChange=function(){pT(this)}; +g.k.setInternalSize=function(a){g.Rg(this.Cy,a)||(this.Cy=a,this.resize())}; +g.k.ea=function(){this.QG&&g.Vx(this.QG);this.Xh();g.X.prototype.ea.call(this)};g.k=oLa.prototype;g.k.click=function(a,b){this.elements.has(a);this.j.has(a);var c=g.Bz();c&&a.visualElement&&g.Lz(c,a.visualElement,b)}; +g.k.rb=function(a,b,c,d){var e=this;d=void 0===d?!1:d;this.elements.has(a);this.elements.add(a);c=cua(c);a.visualElement=c;var f=g.Bz(),h=g.Az();f&&h&&g.Fz(void 0,f,h,[c]);g.cf(b,function(){pLa(e,a)}); +d&&this.u.add(a)}; +g.k.Ai=function(a,b,c){var d=this;c=void 0===c?!1:c;this.elements.has(a);this.elements.add(a);g.cf(b,function(){pLa(d,a)}); +c&&this.u.add(a)}; +g.k.mO=function(a,b){this.clientPlaybackNonce!==b&&(this.clientPlaybackNonce=b,kDa(pK(),a),qLa(this))}; +g.k.xk=function(a,b){this.elements.has(a);b&&(a.visualElement=g.uz(b))}; +g.k.Nm=function(a){return this.elements.has(a)};g.u(uT,g.X); +uT.prototype.setValue=function(a,b){for(var c=0;c+2this.policy.N&&(null==(c=this.B)?0:TD(c.info))&&(null==(d=this.nextVideo)||!TD(d.info))&&(this.N=!0)}};ST.prototype.dispose=function(){this.Y=!0}; +ST.prototype.isDisposed=function(){return this.Y}; +g.u(ZT,Error);cU.prototype.skip=function(a){this.offset+=a}; +cU.prototype.getOffset=function(){return this.offset};gU.prototype.dj=function(){this.u=[];jU(this);fU(this)}; +gU.prototype.Vi=function(a){this.La=this.u.shift().info;a.info.equals(this.La)}; +gU.prototype.Um=function(){return!!this.I.info.audio}; +gU.prototype.getDuration=function(){return this.I.index.getMaxKnownEndTime()};g.k=pU.prototype;g.k.IH=function(){return 0}; +g.k.sC=function(){return null}; +g.k.SO=function(){return null}; +g.k.isComplete=function(){return 3<=this.state}; +g.k.isFailed=function(){return 5===this.state}; +g.k.ag=function(){return this.lastError}; +g.k.onStateChange=function(){}; +g.k.Qc=function(a){var b=this.state;this.state=a;this.onStateChange(b);this.callback&&this.callback(this,b)}; +g.k.hq=function(a){a&&this.state=this.xhr.HEADERS_RECEIVED}; +g.k.getResponseHeader=function(a){try{return this.xhr.getResponseHeader(a)}catch(b){return""}}; +g.k.Fy=function(){return+this.getResponseHeader("content-length")}; +g.k.bl=function(){return this.B}; +g.k.dA=function(){return 200<=this.status&&300>this.status&&!!this.B}; +g.k.rh=function(){return 0a-this.C&&LU(this)||PMa(this,a,b);this.callbacks.Vs(a,b)}; +g.k.tq=function(){this.callbacks.tq()}; +g.k.deactivate=function(){this.isActive&&(this.isActive=!1)}; +g.k.Es=function(){return this.u>this.ED&&MU(this,this.u)}; +g.k.now=function(){return(0,g.U)()};g.k=PU.prototype;g.k.start=function(a){var b={credentials:"include",cache:"no-store"};Object.assign(b,this.V);this.B&&(b.signal=this.B.signal);a=new Request(a,b);fetch(a).then(this.Y,this.onError).then(void 0,Lv)}; +g.k.onDone=function(){this.isDisposed()||this.callbacks.tq()}; +g.k.getResponseHeader=function(a){return this.D?this.D.get(a):null}; +g.k.ws=function(){return!!this.D}; +g.k.bl=function(){return this.u}; +g.k.Fy=function(){return+this.getResponseHeader("content-length")}; +g.k.dA=function(){return 200<=this.status&&300>this.status&&!!this.u}; +g.k.rh=function(){return!!this.j.totalLength}; +g.k.Vi=function(){this.rh();var a=this.j;this.j=new TB;return a}; +g.k.Gg=function(){this.rh();return this.j}; +g.k.isDisposed=function(){return this.I}; +g.k.abort=function(){this.fn&&this.fn.cancel().catch(function(){}); +this.B&&this.B.abort();this.I=!0}; +g.k.Qw=function(){return!0}; +g.k.WD=function(){return this.J}; +g.k.kf=function(){return this.errorMessage};QU.prototype.feed=function(a){for(UB(this.j,a);;){var b=0;b=g.r(VMa(this.j,b));a=b.next().value;b=b.next().value;b=g.r(VMa(this.j,b));var c=b.next().value;b=b.next().value;if(0>a||0>c||!(b+c<=this.j.totalLength))break;b=this.j.split(b).So.split(c);c=b.So;this.callbacks.tR(a,b.IC);this.j=c}}; +QU.prototype.dispose=function(){this.j=new TB};g.k=RU.prototype;g.k.onDone=function(){if(!this.isDisposed){this.status=this.xhr.status;try{this.response=this.xhr.response,this.u=this.response.byteLength}catch(a){}this.j=!0;this.callbacks.tq()}}; +g.k.lw=function(){2===this.xhr.readyState&&this.callbacks.nw()}; +g.k.Vd=function(a){this.isDisposed||(this.status=this.xhr.status,this.j||(this.u=a.loaded),this.callbacks.Vs((0,g.U)(),a.loaded))}; +g.k.ws=function(){return 2<=this.xhr.readyState}; +g.k.getResponseHeader=function(a){try{return this.xhr.getResponseHeader(a)}catch(b){return iu(Error("Could not read XHR header "+a)),""}}; +g.k.Fy=function(){return+this.getResponseHeader("content-length")}; +g.k.bl=function(){return this.u}; +g.k.dA=function(){return 200<=this.status&&300>this.status&&this.j&&!!this.u}; +g.k.rh=function(){return this.j&&!!this.response&&!!this.response.byteLength}; +g.k.Vi=function(){this.rh();var a=this.response;this.response=void 0;return new TB([new Uint8Array(a)])}; +g.k.Gg=function(){this.rh();return new TB([new Uint8Array(this.response)])}; +g.k.abort=function(){this.isDisposed=!0;this.xhr.abort()}; +g.k.Qw=function(){return!1}; +g.k.WD=function(){return!1}; +g.k.kf=function(){return""};g.u(VU,pU);g.k=VU.prototype;g.k.pe=function(){return this.Cf.pe()}; +g.k.Cv=function(){var a=IU(this.timing);a.shost=NB(this.Cf.xi);this.Fg&&(a.rc=this.Fg.toString());a.itag=this.info.j[0].j.info.itag;a.ml=""+ +this.info.j[0].j.Sf();a.sq=""+this.info.j[0].Ia;this.Cf&&(a.ifi=""+ +PB(this.info.u.C));410!==this.Fg&&500!==this.Fg&&503!==this.Fg||(a.fmt_unav="true");var b,c=null==(b=this.xhr)?void 0:b.kf();c&&(a.msg=c);this.yA&&(a.smb="1");this.Fe&&(b=this.Fe.uq(),b.length&&jxa(b[0],a));this.info.Am()&&(a.sdai="1");return a}; +g.k.PO=function(){return TMa(this.timing)}; +g.k.kf=function(){return this.xhr.kf()||""}; +g.k.Es=function(){return this.isComplete()||this.timing.Es()}; +g.k.Vs=function(){!this.isDisposed()&&this.xhr&&(this.Fg=this.xhr.status,this.ww()?this.hq(2):!this.wP&&this.Es()&&(this.hq(),this.wP=!0))}; +g.k.nw=function(){if(!this.isDisposed()&&this.xhr){if(!this.fv&&this.xhr.ws()&&this.xhr.getResponseHeader("X-Walltime-Ms")){var a=Number(this.xhr.getResponseHeader("X-Walltime-Ms"));this.fv=((0,g.U)()-a)/1E3}this.xhr.ws()&&this.xhr.getResponseHeader("X-Restrict-Formats-Hint")&&this.policy.St&&!kya()&&g.Pz("yt-player-headers-readable",!0,2592E3);a=Number(this.xhr.getResponseHeader("X-Head-Seqnum"));var b=Number(this.xhr.getResponseHeader("X-Head-Time-Millis"));this.Om=a||this.Om;this.Zn=b||this.Zn}}; +g.k.tq=function(){var a=this.xhr;!this.isDisposed()&&a&&(this.gE.stop(),this.Fg=a.status,a=lNa(this,a),5===a?UU(this):this.Qc(a))}; +g.k.canRetry=function(){this.isDisposed();var a=SU(this),b=this.info.Am()?this.policy.Mt:this.policy.cf;return a.timedOut=.8*this.Bw?(this.Ko++,b=this.Ko>=this.policy.Ll):this.Ko=0):(b=this.timing,b.nj&&OU(b,b.now()),a-=b.N,this.policy.zi&&01E3*b);this.Ko&&this.callback&&this.callback(this,this.state);b?mNa(this,!1):this.gE.start()}}; +g.k.dispose=function(){pU.prototype.dispose.call(this);this.gE.dispose();this.policy.Eh||WU(this)}; +g.k.Nw=function(){if(!this.uq().length)return[];this.HC=!0;return this.Fe.Nw()}; +g.k.ww=function(){if(1>this.state)return!1;if(this.Fe&&this.Fe.sf.length)return!0;var a;return(null==(a=this.xhr)?0:a.rh())?!0:!1}; +g.k.uq=function(){this.Xn(!1);return this.Fe?this.Fe.uq():[]}; +g.k.Xn=function(a){if(a||this.xhr.ws()&&this.xhr.rh()&&!kNa(this)&&!this.jt){if(!this.Fe){var b;this.xhr.Qw()?b=qD(this.info):b=this.xhr.bl();this.Fe=new qU(this.info.j,b)}for(;this.xhr.rh();)this.Uw?this.Uw.feed(this.xhr.Vi()):rU(this.Fe,this.xhr.Vi(),a&&!this.xhr.rh())}}; +g.k.tR=function(a,b){switch(a){case 21:a=b.split(1).So;rU(this.Fe,a,!1);break;case 22:this.cT=!0;break;case 43:if(a=cH(new YG(b),1))this.info.Tj(this.Cf,a),this.dT=!0}}; +g.k.bl=function(){return this.xhr.bl()}; +g.k.IH=function(){return this.fv}; +g.k.Xr=function(){return this.WC()?2:1}; +g.k.WC=function(){if(!this.policy.C.Xi||!isNaN(this.info.Of)&&0this.info.j[0].Ia?!1:!0}; +g.k.TH=function(){return+this.xhr.getResponseHeader("X-Segment-Lmt")||0}; +g.k.sC=function(){this.xhr&&(this.Om=Number(this.xhr.getResponseHeader("X-Head-Seqnum")));return this.Om}; +g.k.SO=function(){this.xhr&&(this.Zn=Number(this.xhr.getResponseHeader("X-Head-Time-Millis")));return this.Zn};g.u(XU,g.K); +XU.prototype.Nv=function(a){var b=a.info.j[0].j,c=a.ag();if(OB(b.u.j)){var d=g.Cc(a.kf());this.Ga.ma("dldbrerr",{em:d||"none"})}d=a.info.j[0].Ia;var e=DLa(this.B,a.info.j[0].C,d);"net.badstatus"===c&&(this.J+=1);if(a.canRetry()){if(!(a.info.u.u>=this.policy.Mt&&this.u&&a.info.Am()&&"net.badstatus"===a.ag()&&this.u.Nv(e,d))){d=(b.info.video&&1b&&d.u.pop();a.B.length?a.u=g.Qb(g.Qb(a.B).info.j):a.C.u.length?a.u=hU(a.C).info:a.u=vU(a);a.u&&bf||f!==h)&&b.ma("sbu_mismatch",{b:gE(e),c:b.currentTime,s:nD(d)})},0))}this.Ij()}; +g.k.V_=function(a){if(this.mediaSource){var b=vU(a===this.mediaSource.j?this.audioTrack:this.videoTrack);if(a=a.RH())for(var c=0;c=c||cthis.B&&(this.B=c,g.Cf(this.j)||(this.j={},this.C.stop(),this.u.stop())),this.j[b]=a,g.$n(this.u))}}; +tV.prototype.D=function(){for(var a=g.r(Object.keys(this.j)),b=a.next();!b.done;b=a.next()){var c=b.value;b=this.X;for(var d=this.B,e=this.j[c].match(oi),f=[],h=g.r(e[6].split("&")),l=h.next();!l.done;l=h.next())l=l.value,0===l.indexOf("cpi=")?f.push("cpi="+d.toString()):0===l.indexOf("ek=")?f.push("ek="+g.Tg(c)):f.push(l);e[6]="?"+f.join("&");c="skd://"+e.slice(2).join("");e=2*c.length;d=new Uint8Array(e+4);d[0]=e%256;d[1]=(e-d[0])/256;for(e=0;e=a.size||(a.forEach(function(c,d){var e=PE(b.u)?d:c;d=new Uint8Array(PE(b.u)?c:d);PE(b.u)&&mOa(d);c=g.Bc(d,4);mOa(d);d=g.Bc(d,4);b.j[c]?b.j[c].status=e:b.j[d]?b.j[d].status=e:b.j[c]={type:"",status:e}}),kOa(this,","),uV(this,{onkeystatuschange:1}),this.status="kc",this.X("keystatuseschange",this))}; +g.k.error=function(a,b,c,d){this.isDisposed()||(this.X("licenseerror",a,b,c,d),"drm.provision"===a&&(a=(Date.now()-this.I)/1E3,this.I=NaN,this.X("ctmp","provf",{et:a.toFixed(3)})));AG(b)&&this.dispose()}; +g.k.shouldRetry=function(a,b){return this.va&&this.J?!1:!a&&this.requestNumber===b.requestNumber}; +g.k.ea=function(){this.j={};g.cz.prototype.ea.call(this)}; +g.k.Ob=function(){var a={ctype:this.N.contentType||"",length:this.N.initData.length,requestedKeyIds:this.qa,cryptoPeriodIndex:this.cryptoPeriodIndex};this.B&&(a.keyStatuses=this.j);return a}; +g.k.zg=function(){var a=this.D.join();if(wV(this)){var b=new Set,c;for(c in this.j)"usable"!==this.j[c].status&&b.add(this.j[c].type);a+="/UKS."+Array.from(b)}return a+="/"+this.cryptoPeriodIndex}; +g.k.pe=function(){return this.url};g.u(zV,g.K);g.k=zV.prototype;g.k.TV=function(a){if(this.D){var b=a.messageType||"license-request";this.D(new Uint8Array(a.message),b)}}; +g.k.qq=function(){this.J&&this.J(this.j.keyStatuses)}; +g.k.iR=function(a){this.D&&this.D(a.message,"license-request")}; +g.k.hR=function(a){if(this.B){if(this.u){var b=this.u.error.code;a=this.u.error.systemCode}else b=a.errorCode,a=a.systemCode;this.B("t.prefixedKeyError;c."+b+";sc."+a,b,a)}}; +g.k.gR=function(){this.I&&this.I()}; +g.k.update=function(a){var b=this;if(this.j)return this.j.update(a).then(null,hu(function(c){pOa(b,"t.update",c)})); +this.u?this.u.update(a):this.element.addKey?this.element.addKey(this.N.keySystem,a,this.initData,this.sessionId):this.element.webkitAddKey&&this.element.webkitAddKey(this.N.keySystem,a,this.initData,this.sessionId);return Iu()}; +g.k.ea=function(){this.j&&this.j.close();this.element=null;g.K.prototype.ea.call(this)};g.u(AV,g.K);g.k=AV.prototype;g.k.attach=function(){var a=this;if(this.j.keySystemAccess)return this.j.keySystemAccess.createMediaKeys().then(function(b){a.isDisposed()||(a.u=b,a.element.setMediaKeys(b))}); +OE(this.j)?this.B=new (NE())(this.j.keySystem):QE(this.j)?(this.B=new (NE())(this.j.keySystem),this.element.webkitSetMediaKeys(this.B)):(az(this.D,this.element,["keymessage","webkitkeymessage"],this.WV),az(this.D,this.element,["keyerror","webkitkeyerror"],this.VV),az(this.D,this.element,["keyadded","webkitkeyadded"],this.UV));return null}; +g.k.setServerCertificate=function(){return"widevine"===this.j.flavor&&this.j.Hk&&this.u.setServerCertificate?this.u.setServerCertificate(this.j.Hk):null}; +g.k.createSession=function(a,b){var c=a.initData;if(this.j.keySystemAccess){b&&b("createsession");var d=this.u.createSession();RE(this.j)&&(c=qOa(c,this.j.Ya));b&&b("genreq");a=d.generateRequest(a.contentType,c);var e=new zV(null,null,null,d,null);a.then(function(){b&&b("genreqsuccess")},hu(function(f){pOa(e,"t.generateRequest",f)})); +return e}if(OE(this.j))return sOa(this,c);if(QE(this.j))return rOa(this,c);this.element.generateKeyRequest?this.element.generateKeyRequest(this.j.keySystem,c):this.element.webkitGenerateKeyRequest(this.j.keySystem,c);return this.C=new zV(this.element,this.j,c,null,null)}; +g.k.WV=function(a){var b=BV(this,a);b&&b.iR(a)}; +g.k.VV=function(a){var b=BV(this,a);b&&b.hR(a)}; +g.k.UV=function(a){var b=BV(this,a);b&&b.gR(a)}; +g.k.getMetrics=function(){if(this.u&&this.u.getMetrics)try{var a=this.u.getMetrics()}catch(b){}return a}; +g.k.ea=function(){this.B=this.u=null;var a;null==(a=this.C)||a.dispose();a=g.r(Object.values(this.I));for(var b=a.next();!b.done;b=a.next())b.value.dispose();this.I={};g.K.prototype.ea.call(this);delete this.element};g.u(CV,g.K); +CV.prototype.init=function(){var a=this,b,c;return g.z(function(d){if(1==d.j)return g.yl(a.j,{position:"absolute",width:"1px",height:"1px",display:"block"}),a.j.src=a.B.B,document.body.appendChild(a.j),a.C.P(a.j,"encrypted",a.I),b=[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}],g.x(d,navigator.requestMediaKeySystemAccess("com.youtube.fairplay",b),2);c=d.u;a.B.keySystemAccess=c;a.u=new AV(a.j, +a.B);g.M(a,a.u);a.u.attach();g.pa(d)})}; +CV.prototype.I=function(a){if(!this.isDisposed()){var b=new Uint8Array(a.initData);a=new $T(b,a.initDataType);var c=RNa(b).replace("skd://","https://"),d={},e=this.u.createSession(a,function(){}); +e&&(g.M(this,e),this.D.push(e),bOa(e,function(f){nOa(f,e.j,c,d)},function(){},function(){},function(){}))}}; +CV.prototype.ea=function(){this.D=[];this.j&&this.j.parentNode&&this.j.parentNode.removeChild(this.j);g.K.prototype.ea.call(this)};g.u(DV,sV); +DV.prototype.I=function(a){var b;if(!(b=!this.C)){a:{if((b=a.cryptoPeriodIndex)&&0=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}}c=!1}c=!c}c?c=0:(c=a.j,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.X("log_qoe",{wvagt:"delay."+ +c,cpi:a.cryptoPeriodIndex,reqlen:this.j.length});this.C&&0>=c?tOa(this,a):(this.j.push({time:b+c,info:a}),g.$n(this.u,c))}}; +DV.prototype.ea=function(){this.j=[];sV.prototype.ea.call(this)};EV.prototype.get=function(a){a=this.findIndex(a);return-1!==a?this.values[a]:null}; +EV.prototype.remove=function(a){a=this.findIndex(a);-1!==a&&(this.keys.splice(a,1),this.values.splice(a,1))}; +EV.prototype.set=function(a,b){var c=this.findIndex(a);-1!==c?this.values[c]=b:(this.keys.push(a),this.values.push(b))}; +EV.prototype.findIndex=function(a){return g.Vb(this.keys,function(b){return g.qc(a,b)})};g.u(GV,g.cz);g.k=GV.prototype;g.k.XV=function(a){this.ji({onecpt:1});a.initData&&yOa(this,new Uint8Array(a.initData),a.initDataType)}; +g.k.b1=function(a){this.ji({onndky:1});yOa(this,a.initData,a.contentType)}; +g.k.jw=function(a){this.ji({onneedkeyinfo:1});this.U.K("html5_eme_loader_sync")&&(this.J.get(a.initData)||this.J.set(a.initData,a));xOa(this,a)}; +g.k.DN=function(a){this.B.push(a);HV(this)}; +g.k.createSession=function(a){var b=zOa(this)?cMa(a):g.Bc(a.initData);this.u.get(b);this.ra=!0;a=new vV(this.videoData,this.U,a,this.drmSessionId);this.u.set(b,a);a.subscribe("ctmp",this.KQ,this);a.subscribe("keystatuseschange",this.qq,this);a.subscribe("licenseerror",this.uD,this);a.subscribe("newlicense",this.cR,this);a.subscribe("newsession",this.dR,this);a.subscribe("sessionready",this.pR,this);a.subscribe("fairplay_next_need_key_info",this.UQ,this);dOa(a,this.C)}; +g.k.cR=function(a){this.isDisposed()||(this.ji({onnelcswhb:1}),a&&!this.heartbeatParams&&(this.heartbeatParams=a,this.X("heartbeatparams",a)))}; +g.k.dR=function(){this.isDisposed()||(this.ji({newlcssn:1}),this.B.shift(),this.ra=!1,HV(this))}; +g.k.pR=function(){if(OE(this.j)&&(this.ji({onsnrdy:1}),this.Ea--,0===this.Ea)){var a=this.W;a.element.msSetMediaKeys(a.B)}}; +g.k.qq=function(a){if(!this.isDisposed()){!this.va&&this.videoData.K("html5_log_drm_metrics_on_key_statuses")&&(AOa(this),this.va=!0);this.ji({onksch:1});if(!wV(a)&&g.yw&&"com.microsoft.playready"===a.u.keySystem&&navigator.requestMediaKeySystemAccess)var b="large";else{b=[];var c=!0;if(wV(a))for(var d=g.r(Object.keys(a.j)),e=d.next();!e.done;e=d.next())e=e.value,"usable"===a.j[e].status&&b.push(a.j[e].type),"unknown"!==a.j[e].status&&(c=!1);if(!wV(a)||c)b=a.D;b=g.Wb(b,"UHD2")||g.Wb(b,"UHD2HDR")? +"highres":g.Wb(b,"UHD1")||g.Wb(b,"UHD1HDR")?"hd2160":g.Wb(b,"HD")||g.Wb(b,"HDHDR")?"hd1080":g.Wb(b,"HD720")||g.Wb(b,"HD720HDR")?"hd720":"large"}a:{c=g.vB("auto",b,!1,"l");if(this.videoData.Gi){if(this.N.equals(c))break a}else if(Fva(this.N,b))break a;this.N=c;this.X("qualitychange");this.ji({updtlq:b})}this.X("keystatuseschange",a)}}; +g.k.KQ=function(a,b){this.isDisposed()||this.X("ctmp",a,b)}; +g.k.UQ=function(a,b){this.isDisposed()||this.X("fairplay_next_need_key_info",a,b)}; +g.k.uD=function(a,b,c,d){this.isDisposed()||(this.videoData.K("html5_log_drm_metrics_on_error")&&AOa(this),this.X("licenseerror",a,b,c,d))}; +g.k.Zr=function(){return this.N}; +g.k.ea=function(){this.j.keySystemAccess&&this.element&&this.element.setMediaKeys(null);this.element=null;this.B=[];for(var a=g.r(this.u.values()),b=a.next();!b.done;b=a.next())b=b.value,b.unsubscribe("ctmp",this.KQ,this),b.unsubscribe("keystatuseschange",this.qq,this),b.unsubscribe("licenseerror",this.uD,this),b.unsubscribe("newlicense",this.cR,this),b.unsubscribe("newsession",this.dR,this),b.unsubscribe("sessionready",this.pR,this),b.unsubscribe("fairplay_next_need_key_info",this.UQ,this),b.dispose(); +this.u.clear();FV(this.I);FV(this.J);this.heartbeatParams=null;g.cz.prototype.ea.call(this)}; +g.k.Ob=function(){for(var a={systemInfo:this.j.Ob(),sessions:[]},b=g.r(this.u.values()),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.Ob());return a}; +g.k.zg=function(){return 0>=this.u.size?"no session":""+this.u.values().next().value.zg()+(this.D?"/KR":"")}; +g.k.ji=function(a,b){b=void 0===b?!1:b;this.isDisposed()||(yG(a),(xG(this.U)||b)&&this.X("ctmp","drmlog",a))};g.u(KV,g.K);KV.prototype.YC=function(){return this.u}; +KV.prototype.handleError=function(a){var b=this;FOa(this,a);if(("html5.invalidstate"!==a.errorCode&&"fmt.unplayable"!==a.errorCode&&"fmt.unparseable"!==a.errorCode||!MV(this,a.errorCode,a.details))&&!HOa(this,a))if(AG(a.severity)){var c,d=null==(c=this.oa.Ga)?void 0:c.je.j;if("net.badstatus"===a.errorCode&&(1===a.severity||a.details.fmt_unav)&&d&&d.isLocked())var e="FORMAT_UNAVAILABLE";else if(!this.Oa.D&&"auth"===a.errorCode&&"429"===a.details.rc){e="TOO_MANY_REQUESTS";var f="6"}this.oa.fg(a.errorCode, +a.severity,e,yG(a.details),f)}else this.oa.X("nonfatalerror",a),c=/^pp/.test(this.videoData.clientPlaybackNonce),this.yd(a.errorCode,a.details),c&&"manifest.net.connect"===a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.videoData.clientPlaybackNonce+"&t="+(0,g.U)(),aS(a,"manifest",function(h){b.D=!0;b.ma("pathprobe",h)},function(h){b.yd(h.errorCode,h.details)}))}; +KV.prototype.ma=function(a,b){this.oa.hc.ma(a,b)}; +KV.prototype.yd=function(a,b){b=yG(b);this.oa.hc.yd(a,b)};NV.prototype.setPlaybackRate=function(a){this.playbackRate=a}; +NV.prototype.K=function(a){return this.U.K(a)};g.u(QV,g.K);QV.prototype.bd=function(a){YOa(this);this.playerState=a.state;0<=this.B&&g.uJ(a,16)&&this.seekCount++;a.state.isError()&&this.send()}; +QV.prototype.onError=function(a){"player.fatalexception"!==a&&(a.match(O0a)?this.networkErrorCount++:this.nonNetworkErrorCount++)}; +QV.prototype.send=function(){if(!(this.C||0>this.u)){YOa(this);var a=g.sS(this.j)-this.u,b="PLAYER_PLAYBACK_STATE_UNKNOWN",c=this.playerState.getData();this.playerState.isError()?b=c&&"auth"===c.errorCode?"PLAYER_PLAYBACK_STATE_UNKNOWN":"PLAYER_PLAYBACK_STATE_ERROR":g.W(this.playerState,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.W(this.playerState,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.W(this.playerState,16)||g.W(this.playerState,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.W(this.playerState,1)&&g.W(this.playerState, +4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.W(this.playerState,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING":g.W(this.playerState,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.W(this.playerState,8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");c=DRa[eI(this.j.videoData)];a:switch(this.j.U.playerCanaryState){case "canary":var d="HTML5_PLAYER_CANARY_TYPE_EXPERIMENT";break a;case "holdback":d="HTML5_PLAYER_CANARY_TYPE_CONTROL";break a;default:d="HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"}var e=0>this.B?a:this.B-this.u;a=this.j.U.Ne+ +36E5<(0,g.U)();b={started:0<=this.B,stateAtSend:b,joinLatencySecs:e,playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:d,isAd:this.j.videoData.isAd(),liveMode:c,hasDrm:!!g.cI(this.j.videoData),isGapless:this.j.videoData.Ea,isServerStitchedDai:this.j.videoData.enableServerStitchedDai};a||g.Mv("html5PlayerHealthEvent",b);this.j.K("html5_health_to_qoe")&& +(b.muted=a,this.J(b));this.C=!0;this.dispose()}}; +QV.prototype.ea=function(){this.C||this.send();g.K.prototype.ea.call(this)}; +var O0a=/\bnet\b/;var $Oa=window;var ZOa=/[?&]cpn=/;g.u(g.WV,g.K);g.k=g.WV.prototype;g.k.QY=function(){var a=g.sS(this.j);XV(this,a)}; +g.k.Ky=function(){return this.va}; +g.k.reportStats=function(a){a=void 0===a?NaN:a;if(!this.isDisposed()&&(a=0<=a?a:g.sS(this.j),-1<["PL","B","S"].indexOf(this.Zd)&&(!g.Cf(this.u)||a>=this.C+30)&&(g.VV(this,a,"vps",[this.Zd]),this.C=a),!g.Cf(this.u))){7E3===this.sequenceNumber&&g.rz(Error("Sent over 7000 pings"));if(!(7E3<=this.sequenceNumber)){ZV(this,a);var b=a,c=this.j.oa.Ty(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.ub,h=e&&!this.Kb;d>c.totalVideoFrames||5E3=this.playTimeSecs&&(this.j.oa.Mz(),this.u.qoealert=["1"],this.Ra=!0)),"B"!==a||"PL"!==this.Zd&&"PB"!==this.Zd||(this.ra=!0),this.C=c),"PL"===this.Zd&&("B"===a||"S"===a)||xG(this.j.U)? +ZV(this,c):(this.Ua||"PL"!==a||(this.Ua=!0,YV(this,c,this.j.oa.Ry())),XV(this,c)),"PL"===a&&g.$n(this.yc),g.VV(this,c,"vps",[a]),this.Zd=a,this.C=this.Ya=c,this.D=!0);a=b.getData();g.W(b,128)&&a&&ePa(this,c,a.errorCode,a.bC,a.VR);(g.W(b,2)||g.W(b,128))&&this.reportStats(c);b.Oc()&&!this.I&&(0<=this.B&&(this.u.user_intent=[this.B.toString()]),this.I=!0);$V(this)}; +g.k.Sz=function(a){var b=g.sS(this.j);g.VV(this,b,"vfs",[a.j.id,a.u,this.Yb,a.reason]);this.Yb=a.j.id;var c=this.j.oa.getPlayerSize();if(0b-this.lastUpdateTime+2||lPa(this,a,b))){var d=this.j.hj();c=d.volume;var e=c!==this.W;d=d.muted;d!==this.V?(this.V=d,c=!0):(!e||0<=this.D||(this.W=c,this.D=b),c=b-this.D,0<=this.D&&2=this.j.videoData.ub;a&&(this.B&&this.j.videoData.ub&&(a=kW(this,"delayplay"),a.Ld=!0,a.send(),this.W=!0),rPa(this))}; +g.k.bd=function(a){this.isDisposed()||(g.W(a.state,2)?(this.currentPlayerState="paused",g.uJ(a,2)&&this.B&&pW(this).send()):g.W(a.state,8)?(this.currentPlayerState="playing",this.B&&isNaN(this.D)&&lW(this,!1)):this.currentPlayerState="paused")}; +g.k.ea=function(){g.K.prototype.ea.call(this);oW(this);jPa(this.u)}; +g.k.Ob=function(){return hW(kW(this,"playback"))}; +g.k.Yw=function(){this.j.videoData.J.eventLabel=qI(this.j.videoData);this.j.videoData.J.playerStyle=this.j.U.playerStyle;this.j.videoData.og&&(this.j.videoData.J.feature="pyv");this.j.videoData.J.vid=this.j.videoData.videoId;var a=this.j.videoData.J;var b=this.j.videoData;b=b.isAd()||!!b.og;a.isAd=b}; +g.k.Hi=function(a){var b=kW(this,"engage");b.N=a;return mPa(b,wPa(this.j))};vPa.prototype.isEmpty=function(){return this.endTime===this.startTime};rW.prototype.K=function(a){return this.U.K(a)}; +var xPa={other:1,none:2,wifi:3,cellular:7};g.u(g.sW,g.K);g.k=g.sW.prototype;g.k.bd=function(a){if(g.uJ(a,1024)||g.uJ(a,512)||g.uJ(a,4)){var b=this.C;0<=b.B||(b.u=-1,b.delay.stop());this.qoe&&(b=this.qoe,b.I||(b.B=-1))}if(this.u.videoData.enableServerStitchedDai&&this.nh){var c;null==(c=this.B.get(this.nh))||c.bd(a)}else this.j&&this.j.bd(a);this.qoe&&this.qoe.bd(a);this.C.bd(a)}; +g.k.Vd=function(){if(this.u.videoData.enableServerStitchedDai&&this.nh){var a;null==(a=this.B.get(this.nh))||a.Vd()}else this.j&&this.j.Vd()}; +g.k.yd=function(a,b){this.qoe&&fPa(this.qoe,a,b);this.C.onError(a)}; +g.k.Sz=function(a){this.qoe&&this.qoe.Sz(a)}; +g.k.Kz=function(a){this.qoe&&this.qoe.Kz(a)}; +g.k.onPlaybackRateChange=function(a){if(this.qoe)this.qoe.onPlaybackRateChange(a)}; +g.k.oq=aa(36);g.k.ma=function(a,b,c){this.qoe&&this.qoe.ma(a,b,c)}; +g.k.fA=function(a,b,c){this.qoe&&this.qoe.fA(a,b,c)}; +g.k.eA=function(a){this.qoe&&this.qoe.eA(a)}; +g.k.zt=function(a,b,c){this.qoe&&this.qoe.zt(a,b,c)}; +g.k.nq=aa(39);g.k.wl=aa(14);g.k.Ky=function(){if(this.qoe)return this.qoe.Ky()}; +g.k.Ob=function(){if(this.u.videoData.enableServerStitchedDai&&this.nh){var a;null==(a=this.B.get(this.nh))||a.Ob()}else if(this.j)return this.j.Ob();return{}}; +g.k.Hi=function(a){return this.j?this.j.Hi(a):function(){}}; +g.k.Yw=function(){this.j&&this.j.Yw()};g.u(tW,g.K);g.k=tW.prototype;g.k.le=function(a,b){this.Pl();b&&2E3<=this.j.array.length&&this.zy("captions",1E4);b=this.j;if(1b.array.length)b.array=b.array.concat(a),b.array.sort(b.j);else{a=g.r(a);for(var c=a.next();!c.done;c=a.next())c=c.value,!b.array.length||0a&&this.C.start()))}; +g.k.pH=function(a){var b=[];if(!a.length)return b;for(var c=0;ca&&(a=(a-this.u)/this.Y(),this.C.start(a)))}}; +g.k.IP=function(){if(this.started&&!this.isDisposed()){this.C.stop();var a=this.D();g.W(a,32)&&this.W.start();for(var b=g.W(this.D(),2)?0x8000000000000:1E3*this.N(),c=g.W(a,2),d=[],e=[],f=g.r(this.B),h=f.next();!h.done;h=f.next())h=h.value,h.active&&(c?0x8000000000000>h.end:!h.contains(b))&&e.push(h);d=d.concat(this.tH(e));f=e=null;c?(a=HPa(this.j,0x7ffffffffffff),e=a.filter(function(l){return 0x8000000000000>l.end}),f=IPa(this.j)):a=this.u<=b&&gK(a)?GPa(this.j,this.u,b):HPa(this.j,b); +d=d.concat(this.pH(a));e&&(d=d.concat(this.tH(e)));f&&(d=d.concat(this.pH(f)));this.u=b;LPa(this,d)}}; +g.k.ea=function(){this.B=[];this.j.array=[];g.K.prototype.ea.call(this)}; +g.lS.QC(tW,{le:"crmacr",pH:"crmncr",tH:"crmxcr",IP:"crmis",eh:"crmrcr"});g.u(xW,g.cz);xW.prototype.oo=function(){return this.J}; +xW.prototype.al=function(){return Math.max(this.N()-RPa(this,!0),this.videoData.getMinSeekableTime())};g.u(CW,g.K);CW.prototype.bd=function(){g.$n(this.B)}; +CW.prototype.D=function(){var a=this,b=this.oa.Qd(),c=this.oa.getPlayerState();if(b&&!c.isError()){var d=b.getCurrentTime(),e=8===c.state&&d>this.j,f=g.W(c,8)&&g.W(c,16),h=this.oa.Pp().isBackground()||c.isSuspended();DW(this,this.va,f&&!h,e,"qoe.slowseek",function(){},"timeout"); +f=f&&isFinite(this.j)&&0d+5;w=p&&m&&w;DW(this,this.J,w&&!h,p&&!m,"qoe.longrebuffer",n,"jiggle_cmt");DW(this,this.N,w&&!h,p&&!m,"qoe.longrebuffer",l,"new_elem_nnr");if(f){var y=f.getCurrentTime();n=b.qs();n=xxa(n,y);n=!f.Cg()&&d===n;DW(this,this.Ua,p&&m&&n&&!h,p&&!m&&!n,"qoe.longrebuffer",function(){b.seekTo(y)},"seek_to_loader")}n={}; +if(!this.U.K("html5_watchdog_log_extrainfo_killswitch")){w=hE(q,Math.max(d-3.5,0));var A=0<=w&&d>q.end(w)-1.1,B=0<=w&&w+1B;n.close2edge=A;n.gapsize=B;n.buflen=q.length}DW(this,this.V,p&&m&&!h,p&&!m,"qoe.longrebuffer",function(){},"timeout",n); +q=c.isSuspended();q=g.Wb(this.oa.hk,"ad")&&!q;DW(this,this.I,q,!q,"qoe.start15s",function(){a.oa.rf("ad")},"ads_preroll_timeout"); +q=this.oa.getVideoData();v=.5>d-this.C;n=q.isAd()&&p&&!m&&v;p=function(){var E=a.oa,G=E.Qg.Fc();(!G||!E.videoData.isAd()||G.getVideoData().Dc!==E.getVideoData().Dc)&&E.videoData.ze||E.fg("ad.rebuftimeout",2,"RETRYABLE_ERROR","skipslad.vid."+E.videoData.videoId)}; +DW(this,this.Ha,n,!n,"ad.rebuftimeout",p,"skip_slow_ad");m=q.isAd()&&m&&iE(b.Sg(),d+5)&&v;DW(this,this.La,m,!m,"ad.rebuftimeout",p,"skip_slow_ad_buf");DW(this,this.Ra,g.fK(c)&&g.W(c,64)&&!h,e,"qoe.start15s",function(){},"timeout"); +DW(this,this.W,!!f&&!f.mediaSource&&g.fK(c),e,"qoe.start15s",l,"newElemMse");this.C=d;this.B.start()}}; +CW.prototype.yd=function(a,b,c){b=this.Ob(b);b.wn=c;b.wdup=this.u[a]?"1":"0";this.oa.yd(new zG(a,b));this.u[a]=!0}; +CW.prototype.Ob=function(a){a=Object.assign(this.oa.Ob(!0),a.Ob());this.j&&(a.stt=this.j.toFixed(3));delete a.uga;delete a.euri;delete a.referrer;delete a.fexp;delete a.vm;return a}; +AW.prototype.reset=function(){this.j=this.triggerTimestamp=this.u=this.startTimestamp=0;this.B=!1}; +AW.prototype.Ob=function(){var a={},b=(0,g.U)();this.startTimestamp&&(a.wsd=(b-this.startTimestamp).toFixed());this.triggerTimestamp&&(a.wtd=(b-this.triggerTimestamp).toFixed());this.j&&(a.wssd=(b-this.j).toFixed());return a};g.u(FW,g.K);g.k=FW.prototype;g.k.setMediaElement=function(a){g.bz(this.La);(this.mediaElement=a)?(fQa(this),EW(this)):HW(this)}; +g.k.bd=function(a){this.W.bd(a);this.K("html5_exponential_memory_for_sticky")&&(a.state.Oc()?g.$n(this.Y):this.Y.stop());if(this.mediaElement)if(8===a.jq.state&&gK(a.state)&&g.hK(a.state)){a=this.mediaElement.getCurrentTime();var b=this.mediaElement.Sg();var c=this.K("manifestless_post_live_ufph")||this.K("manifestless_post_live")?hE(b,Math.max(a-3.5,0)):hE(b,a-3.5);0<=c&&a>b.end(c)-1.1&&c+1b.start(c+1)-b.end(c)&&(c=b.start(c+1)+.2,.2>Math.abs(this.Ua-c)||(this.oa.ma("seekover",{b:gE(b, +"_"),cmt:a}),this.Ua=c,this.seekTo(c,{ys:!0,re:"playbacktimeline_postLiveDisc"})))}else(null==(b=a.state)?0:8===b.state)&&!this.videoData.La&&0=this.Pd())||!g.iI(this.videoData))||this.oa.ma("seeknotallowed",{st:v,mst:this.Pd()});if(!l)return this.B&&(this.B=null,KW(this)),Ih(this.getCurrentTime());if(.005>Math.abs(a-this.j)&&this.N)return this.D;h&&(v=a,(2<= +this.U.V||this.K("html5_log_seek_reasons"))&&this.oa.ma("seekreason",{reason:h,tgt:v}));this.N&&HW(this);this.D||(this.D=new UJ);a&&!isFinite(a)&&GW(this,!1);if(h=!c)h=a,h=JW(this)&&!(this.mediaElement&&0e.videoData.endSeconds&&isFinite(f)&&wX(e);fb.start&&wX(this.oa);return this.D}; +g.k.Pd=function(a){if(!this.videoData.isLivePlayback)return this.videoData.Pd();var b;if(!this.K("html5_linear_live_max_seekable_killswitch")&&zI(this.videoData)&&(null==(b=this.mediaElement)?0:b.Hn())&&this.videoData.j)return a=this.getCurrentTime(),OBa(1E3*this.getIngestionTime(a))+a;if(OH(this.videoData)&&this.videoData.Li&&this.videoData.j)return this.videoData.j.Pd()+this.timestampOffset;if(this.videoData.B&&this.videoData.B.j){if(!a&&this.u)return this.u.al();a=this.videoData.Pd();this.policy.j&& +this.mediaElement&&(a=Math.max(a,ZCa(this.mediaElement)));return a+this.timestampOffset}return this.mediaElement?Ru()?OBa(this.mediaElement.nB().getTime()):WJ(this.mediaElement)+this.timestampOffset||this.timestampOffset:this.timestampOffset}; +g.k.getMinSeekableTime=function(){var a=this.videoData?this.videoData.getMinSeekableTime()+this.timestampOffset:this.timestampOffset;if(zI(this.videoData)&&this.videoData.j){var b,c=Number(null==(b=this.videoData.progressBarStartPosition)?void 0:b.utcTimeMillis)/1E3;b=this.getCurrentTime();b=this.getIngestionTime(b)-b;if(!isNaN(c)&&!isNaN(b))return Math.max(a,c-b)}return a}; +g.k.ea=function(){IW(this,null);this.W.dispose();g.K.prototype.ea.call(this)}; +g.k.Ob=function(){var a={};this.Ga&&Object.assign(a,this.Ga.Ob());this.mediaElement&&Object.assign(a,this.mediaElement.Ob());return a}; +g.k.zl=function(a){var b=this;this.oa.ma("sdai",{skipad:1,t:a.toFixed(3)});this.qa=a;this.C=this.j=a+=1;KW(this).then(function(c){cQa(b,c)},function(){HW(b)})}; +g.k.LJ=function(a){this.timestampOffset=a}; +g.k.getStreamTimeOffset=function(){return OH(this.videoData)?0:this.videoData.j?this.videoData.j.getStreamTimeOffset():0}; +g.k.wd=function(){return this.timestampOffset}; +g.k.getIngestionTime=function(a){return this.videoData.j.getIngestionTime(a-this.timestampOffset)}; +g.k.gs=function(){if(!this.mediaElement)return 0;if(jI(this.videoData)){var a=ZCa(this.mediaElement)+this.timestampOffset-this.getMinSeekableTime(),b=this.Pd()-this.getMinSeekableTime();return Math.max(0,Math.min(1,a/b))}return this.mediaElement.gs()}; +g.k.vD=function(a){this.I&&(this.I.j=a.audio.index)}; +g.k.K=function(a){return this.U&&this.U.K(a)};LW.prototype.isFinished=function(){return this.finished}; +LW.prototype.start=function(){this.started=!0}; +LW.prototype.reset=function(){this.finished=this.started=!1};MW.prototype.encrypt=function(a){(0,g.U)();return(new vF(this.j.j)).encrypt(a,this.iv)}; +MW.prototype.decrypt=function(a,b){(0,g.U)();return(new vF(this.j.j)).decrypt(a,b)};g.u(NW,g.K);g.k=NW.prototype;g.k.rh=function(a){var b;return!(null==(b=this.ke.get(a))||!b.sf.totalLength)}; +g.k.Vi=function(a){a=this.ke.get(a);var b=a.sf;a.BB+=b.totalLength;a.sf=new TB;return b}; +g.k.Rf=function(a){return this.ke.get(a).Rf}; +g.k.Tg=function(a){return this.ke.get(a).Tg}; +g.k.hq=function(){for(var a=g.r(this.ke.values()),b=a.next();!b.done;b=a.next())b=b.value,b.aK&&(b.Vd&&b.Vd(),b.aK=!1)}; +g.k.Pz=function(a){(a=this.ke.get(a))&&!a.Tg&&(a.Tg=!0)}; +g.k.ea=function(){g.K.prototype.ea.call(this);for(var a=g.r(this.ke.keys()),b=a.next();!b.done;b=a.next())OW(this,b.value);this.ke.clear()};QW.prototype.decrypt=function(a){var b=this,c,d,e,f,h,l;return g.z(function(m){switch(m.j){case 1:if(b.j.length&&!b.j[0].isEncrypted)return m.return();b.u=!0;b.Yj.Rc("omd_s");c=new Uint8Array(16);lF()?d=new uF(a):e=new vF(a);case 2:if(!b.j.length||!b.j[0].isEncrypted){m.Ma(3);break}f=b.j.shift();if(!d){h=e.decrypt(YB(f.buffer),c);m.Ma(4);break}return g.x(m,d.decrypt(YB(f.buffer),c),5);case 5:h=m.u;case 4:l=h;for(var n=0;n=e.ON||0>=e.nE||0>=e.durationMs||0>e.startTimeMs?PW(a,f):c.lQ.push(e))),dX(b))):(this.j[f]={sP:!1,Um:m,headers:[h]},b=this.Gd,b.Tf?(e=f.split(";")[0],b.Tf.has(e)|| +(a=new NW(b),b.Tf.set(e,a),g.M(b,a)),null==(d=b.Tf.get(e))||kQa(d,f,m)):null==(e=b.qe)||kQa(e,f,m));break;case 21:KQa(this,b,!1);break;case 12:KQa(this,b,!0);break;case 22:this.Pz(b);break;case 37:b=dH(b,YMa);if(b.zG||b.AL)f=this.Gd,f.Wr=b,b.videoId&&f.IO.set(b.videoId,b);break;default:this.Gd.jj&&this.Gd.ma("ombup","id."+a+";len."+c+";ignored.1")}}; +g.k.Pz=function(a){var b=aC(a,0);this.Gd.jj&&this.Gd.ma("ombup","id.22;len."+a.totalLength+";hid."+b);(a=this.B[b]||null)&&this.Gd.Pz(a);a&&(b=this.j[a],1===b.headers.length&&b.headers[0].mE||nQa(this.queue,a))}; +g.k.HJ=function(a,b){var c=this,d,e,f,h,l,m,n,p,q,v,w;return g.z(function(y){switch(y.j){case 1:c.Gd.HJ();d=YB(a);if(!b){f=d;y.Ma(2);break}return g.x(y,TQa(c.Gd,d,c.iv),3);case 3:f=y.u;case 2:e=f;if(!c.Gd.enableCompression){y.Ma(4);break}return g.x(y,uQa(e),5);case 5:e=y.u,c.Gd.ma("decompression",{ds:"DecompressionStream"in window});case 4:try{h=dH(e,hNa)}catch(A){return l=A instanceof Error?{name:A.name,message:A.message}:{},l.webcrypto=""+ +!!lF(),l.enc=""+ +c.C,m=new zG("onesie.response.parse", +l),y.return(Promise.reject(m))}if(1!==h.onesieProxyStatus)return n={st:h.onesieProxyStatus,webcrypto:""+ +!!lF(),textencoder:""+ +!!g.C.TextEncoder},p=new zG("onesie.response.badproxystatus",n),y.return(Promise.reject(p));if(200!==h.httpStatus)return q={st:h.httpStatus},v=new zG("onesie.response.badstatus",q),y.return(Promise.reject(v));w=g.gC(h.body);return y.return(w)}})}; +g.k.Rc=function(a){this.Gd.Rc(a)}; +g.k.To=function(a){return this.Gd.To(a)};g.u(eX,g.K);g.k=eX.prototype;g.k.Rc=function(a){this.oa.Rc(a)}; +g.k.To=function(a){return this.oa.To(a)}; +g.k.tR=function(a,b){this.Yj.feed(a,b)}; +g.k.vJ=function(){this.Rc("orfb");this.TC=!0;if(UQa(this)&&this.xhr){var a={rc:this.xhr.status,lb:this.xhr.bl(),rt:(1E3*TMa(this.hn)).toFixed(),shost:g.qi(this.pw),trigger:"o1"};this.ma("pathprobe",yG(a))}}; +g.k.HJ=function(){this.Rc("orpr");this.Rc("opr_r");this.vP=!0}; +g.k.BJ=function(){if(this.Tf)for(var a=g.r(this.Tf.keys()),b=a.next();!b.done;b=a.next()){var c=void 0;null==(c=this.Tf.get(b.value))||c.hq()}else null==(a=this.qe)||a.hq()}; +g.k.ma=function(a,b,c){this.oa.ma(a,b,void 0===c?!1:c)}; +g.k.Pz=function(a){var b;null==(b=RW(this,a))||b.Pz(a)}; +g.k.fetch=function(){var a=this,b,c,d,e,f,h,l,m,n,p,q,v,w,y,A,B,E;return g.z(function(G){switch(G.j){case 1:a.ow.start();a.Rc("ogpd");a.Rc("or_i");if(b=RQa(a.videoData,a.Sp)){G.Ma(2);break}return g.x(G,SQa(a.videoData,a.Sp),3);case 3:b=G.u;case 2:if(!b)return a.logger.info("Onesie URL creation failed."),c={url:"0"},d=new zG("onesie.unavailable.hotconfig",c),a.fail(d),G.return(a.qn);a.pS=NB(b);f=g.wG(g.uI(a.videoData));h=f.getValue();G.Ma(4);break;case 5:h=G.u;case 4:l=h;var H=a.playerRequest,I=a.U, +O=a.videoData,L=eS(a.pS);L=void 0===L?!1:L;var P=I.zi,S="https://youtubei.googleapis.com/youtubei/"+P.innertubeApiVersion+"/player";P.uI&&l||(S=S+"?key="+P.innertubeApiKey);P=[{name:"Content-Type",value:"application/json"}];l&&P.push({name:"Authorization",value:"Bearer "+l});P.push({name:"User-Agent",value:g.rb()});g.Q("EOM_VISITOR_DATA")?P.push({name:"X-Goog-EOM-Visitor-Id",value:g.Q("EOM_VISITOR_DATA")}):(O=O.visitorData||g.Q("VISITOR_DATA"))&&P.push({name:"X-Goog-Visitor-Id",value:O});(I=g.LE(I.experiments, +"debug_sherlog_username"))&&P.push({name:"X-Youtube-Sherlog-Username",value:I});H=gwa(JSON.stringify(H));m={url:S,httpHeaders:P,postBody:H,proxiedByTrustedBandaid:L,skipResponseEncryption:L};g.ra(G,6);if(!lF()){P=a.U;I=a.videoData;O=a.oa.getPlayerSize();var ca=a.oa.getVisibilityState();L=a.bH.onesieUstreamerConfig;S=null==(n=a.videoData.gN)?void 0:n.QA;var R=a.CD,na=lH(m,gNa);H={encryptedClientKey:R.j.encryptedClientKey,serializeResponseAsJson:!0,enableAdPlacementsPreroll:P.K("html5_onesie_ads"), +enableCompressionResponseOnly:OQa(P,!!m.skipResponseEncryption)};m.skipResponseEncryption?H.unencryptedOnesieInnertubeRequest=na:(na=R.encrypt(na),H.encryptedOnesieInnertubeRequest=na,(0,g.U)(),na=Qya(new Pya(R.j.B),na,R.iv),H.hmac=na,H.iv=R.iv);P=NQa(P,I,O,ca);e={vI:H,eO:P,onesieUstreamerConfig:L,QA:S};G.Ma(8);break}return g.x(G,QQa(m,a.CD,a.U,a.videoData,a.oa.getPlayerSize(),a.oa.getVisibilityState(),a.bH.onesieUstreamerConfig,null==(p=a.videoData.gN)?void 0:p.QA),9);case 9:e=G.u;case 8:g.ua(G, +7);break;case 6:return q=g.va(G),a.logger.info("Failed to create OnesieRequestProto."),a.fail(q),G.return(a.qn);case 7:return a.enableCompression=e.vI.enableCompressionResponseOnly,a.Rc("osor"),v=pHa(),w=lH(e,eNa),y={method:"POST",body:w,headers:{"Content-Type":"text/plain",Referer:location.origin}},A=a.K("html5_onesie_media_capabilities"),L=b,H=a.videoData,S=WQa(a),P=A,P=void 0===P?!1:P,L.set("ack","1"),L.set("cpn",H.clientPlaybackNonce),L.set("opr","1"),I=H.R(),I.K("html5_onesie_ads")||(L.set("oaad", +"0"),L.set("oavd","0")),L.set("por","1"),lF()||L.set("onem","1"),0=a.start);return a}; +g.k.oo=function(){return this.jd.oo()}; +g.k.Oc=function(){return this.playerState.Oc()}; +g.k.lz=function(){return this.playerState.lz()&&this.videoData.Sq}; +g.k.getPlayerState=function(){return this.playerState}; +g.k.getPlayerType=function(){return this.playerType}; +g.k.getPreferredQuality=function(){if(this.Ke){var a=this.Ke;a=a.videoData.Lu.compose(a.videoData.ZS);a=yB(a)}else a="auto";return a}; +g.k.My=aa(9);g.k.isGapless=function(){return!!this.mediaElement&&this.mediaElement.isView()}; +g.k.setMediaElement=function(a){if(this.mediaElement&&a.tf()===this.mediaElement.tf()&&(a.isView()||this.mediaElement.isView())){if(a.isView()||!this.mediaElement.isView())g.bz(this.bx),this.mediaElement=a,ARa(this),this.jd.setMediaElement(this.mediaElement)}else{this.mediaElement&&this.Xh();if(!this.playerState.isError()){var b=cK(this.playerState,512);g.W(b,8)&&!g.W(b,2)&&(b=bK(b,1));a.isView()&&(b=cK(b,64));this.Sb(b)}this.mediaElement=a;this.mediaElement.setLoop(this.loop);this.mediaElement.setPlaybackRate(this.playbackRate); +ARa(this);this.jd.setMediaElement(this.mediaElement);this.K("html5_prewarm_media_source")&&!this.Uk.qz&&UCa(this.mediaElement)}}; +g.k.Xh=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;if(this.mediaElement){var c=this.getCurrentTime();0this.mediaElement.getCurrentTime()&& +this.Ga)return;break;case "resize":KRa(this);this.videoData.u&&"auto"===this.videoData.u.video.quality&&this.X("internalvideoformatchange",this.videoData,!1);break;case "pause":if(this.KN&&g.W(this.playerState,8)&&!g.W(this.playerState,1024)&&0===this.getCurrentTime()&&g.Zv){rX(this,"safari_autoplay_disabled");return}}if(this.mediaElement&&this.mediaElement.Hf()===b){this.X("videoelementevent",a);b=this.playerState;if(!g.W(b,128)){c=this.Ux;var e=this.mediaElement;d=b.state;e=e?e:a.target;var f=e.getCurrentTime(); +if(!g.W(b,64)||"ended"!==a.type&&"pause"!==a.type){var h=e.Tg()||1Math.abs(f-e.getDuration()),l="pause"===a.type&&e.Tg();f="ended"===a.type||"waiting"===a.type||"timeupdate"===a.type&&!g.W(b,4)&&!uW(c,f);if(l||h&&f)0a-this.aD))this.aD=a,b!==this.Bg()&&(a=this.visibility,a.j!==b&&(a.j=b,a.zf()),this.ma("airplay",{rbld:b}),LV(this)),this.X("airplayactivechange")}; +g.k.Yy=function(a){if(this.Ga){var b=this.Ga,c=b.u,d=b.currentTime,e=Date.now()-c.W;c.W=NaN;c.ma("sdai",{adfetchdone:a,d:e});a&&!isNaN(c.D)&&FLa(c,d,c.D,c.B);IT(c,4,"adf");nV(b)}}; +g.k.Wb=function(a){var b=this;a=void 0===a?!1:a;if(this.mediaElement&&this.videoData){$Pa(this.jd,this.Oc());var c=this.getCurrentTime();this.Ga&&(g.W(this.playerState,4)&&g.iI(this.videoData)||ONa(this.Ga,c));5Math.abs(m-h)?(b.ma("setended",{ct:h,bh:l,dur:m,live:n}),n&&b.K("html5_set_ended_in_pfx_live_cfl")||(b.mediaElement.hs()?b.seekTo(0,{re:"videoplayer_loop"}):tS(b))):(g.hK(b.playerState)||GX(b,"progress_fix"),b.Sb(bK(b.playerState,1)))):(m&&!n&&!p&&0n-1&&b.ma("misspg",{t:h.toFixed(2),d:n.toFixed(2),r:m.toFixed(2),bh:l.toFixed(2)})),g.W(b.playerState,4)&&g.hK(b.playerState)&&5tJ(b,8)||g.uJ(b,1024))&&this.Ns.stop();!g.uJ(b,8)||this.videoData.La||g.W(b.state,1024)||this.Ns.start();g.W(b.state,8)&&0>tJ(b,16)&&!g.W(b.state,32)&&!g.W(b.state, +2)&&this.playVideo();g.W(b.state,2)&&jI(this.videoData)&&(this.wj(this.getCurrentTime()),this.Wb(!0));g.uJ(b,2)&&this.xK(!0);g.uJ(b,128)&&this.Jo();this.videoData.j&&this.videoData.isLivePlayback&&!this.kT&&(0>tJ(b,8)?(a=this.videoData.j,a.B&&a.B.stop()):g.uJ(b,8)&&this.videoData.j.resume());this.jd.bd(b);this.hc.bd(b);if(c&&!this.isDisposed())try{for(var h=g.r(this.ND),l=h.next();!l.done;l=h.next()){var m=l.value;this.Ih.bd(m);this.X("statechange",m)}}finally{this.ND.length=0}}}; +g.k.Mz=function(){this.videoData.isLivePlayback||this.X("connectionissue")}; +g.k.IJ=function(){this.Bb.tick("qoes")}; +g.k.uD=function(a,b,c,d){a:{var e=this.Uk;d=void 0===d?"LICENSE":d;c=c.substr(0,256);var f=AG(b);"drm.keyerror"===a&&this.xe&&1e.C&&(a="drm.sessionlimitexhausted",f=!1);if(f)if(e.videoData.u&&e.videoData.u.video.isHdr())IOa(e,a);else{if(e.oa.fg(a,b,d,c),BOa(e,{detail:c}))break a}else e.yd(a,{detail:c});"drm.sessionlimitexhausted"===a&&(e.ma("retrydrm",{sessionLimitExhausted:1}),e.C++,HRa(e.oa))}}; +g.k.L0=function(){var a=this,b=g.TE(this.U.experiments,"html5_license_constraint_delay"),c=$u();b&&c?(b=new g.Zn(function(){tX(a);oX(a)},b),g.M(this,b),b.start()):(tX(this),oX(this))}; +g.k.Oz=function(a){this.X("heartbeatparams",a)}; +g.k.qq=function(a){this.ma("keystatuses",xV(a));var b="auto",c=!1;this.videoData.u&&(b=this.videoData.u.video.quality,c=this.videoData.u.video.isHdr());if(this.K("html5_drm_check_all_key_error_states")){var d=lOa(b,c);d=wV(a)?yV(a,d):a.D.includes(d)}else{a:{b=lOa(b,c);for(d in a.j)if("output-restricted"===a.j[d].status){var e=a.j[d].type;if(""===b||"AUDIO"===e||b===e){d=!0;break a}}d=!1}d=!d}b=a.Y&&d;c&&!b?IOa(this.Uk):d||yV(a,"AUDIO")&&yV(a,"SD")||(a=xV(a),this.qK?(this.X("drmoutputrestricted"), +this.K("html5_report_fatal_drm_restricted_error_killswitch")||this.fg("drm.keyerror",2,void 0,"info."+a)):(this.qK=!0,this.yd(new zG("qoe.restart",Object.assign({},{retrydrm:1},a))),uX(this),HRa(this)))}; +g.k.O0=function(){if(!this.videoData.La&&this.mediaElement&&!this.isBackground()){var a="0";0=c.u.size){var d="ns;";c.V||(d+="nr;");c=d+="ql."+c.B.length}else c=xV(c.u.values().next().value),c=yG(c);b.drmp=c}var e;Object.assign(a,(null==(e=this.Ga)?void 0:e.Ob())||{});var f;Object.assign(a,(null==(f=this.mediaElement)?void 0: +f.Ob())||{})}this.hc.yd("qoe.start15s",yG(a));this.X("loadsofttimeout")}}; +g.k.wj=function(a){this.videoData.lengthSeconds!==a&&(this.videoData.lengthSeconds=a,oX(this))}; +g.k.xK=function(a){var b=this;a=void 0===a?!1:a;if(!this.zB){lB("att_s","player_att")||mB("att_s",void 0,"player_att");var c=new g.oGa(this.videoData);if("c1a"in c.j&&!g.VM.isInitialized()&&(mB("att_wb",void 0,"player_att"),2===this.wG&&.01>Math.random()&&g.rz(Error("Botguard not available after 2 attempts")),!a&&5>this.wG)){g.$n(this.xG);this.wG++;return}if("c1b"in c.j){var d=BPa(this.hc);d&&rGa(c).then(function(e){e&&!b.zB&&d?(mB("att_f",void 0,"player_att"),d(e),b.zB=!0):mB("att_e",void 0,"player_att")}, +function(){mB("att_e",void 0,"player_att")})}else(a=g.pGa(c))?(mB("att_f",void 0,"player_att"),APa(this.hc,a),this.zB=!0):mB("att_e",void 0,"player_att")}}; +g.k.Pd=function(a){return this.jd.Pd(void 0===a?!1:a)}; +g.k.getMinSeekableTime=function(){return this.jd.getMinSeekableTime()}; +g.k.wd=function(){return this.jd?this.jd.wd():0}; +g.k.getStreamTimeOffset=function(){return this.jd?this.jd.getStreamTimeOffset():0}; +g.k.Un=function(){var a=0;this.U.K("web_player_ss_media_time_offset")&&(a=0===this.getStreamTimeOffset()?this.wd():this.getStreamTimeOffset());return a}; +g.k.setPlaybackRate=function(a){var b;this.playbackRate!==a&&PV(this.Wg,null==(b=this.videoData.B)?void 0:b.videoInfos)&&(this.Wg.setPlaybackRate(a),uX(this));this.playbackRate=a;this.mediaElement&&this.mediaElement.setPlaybackRate(a)}; +g.k.getPlaybackRate=function(){return this.playbackRate}; +g.k.getPlaybackQuality=function(){var a="unknown";if(this.videoData.u&&(a=this.videoData.u.video.quality,"auto"===a&&this.mediaElement)){var b=pJ(this);b&&0=+c),b.dis=this.mediaElement.getStyle("display"));(a=a?(0,g.bW)():null)&&(b.gpu=a);b.debug_playbackQuality=this.Sa.getPlaybackQuality(1);b.debug_date=(new Date).toString();delete b.uga;delete b.q;return JSON.stringify(b,null,2)}; +g.k.getFeedbackProductData=function(){var a={player_debug_info:this.getDebugText(!0),player_experiment_ids:this.R().experiments.experimentIds.join(", ")},b=this.zb().getData();b&&(a.player_error_code=b.errorCode,a.player_error_details=JSON.stringify(b.errorDetail));return a}; +g.k.getPresentingPlayerType=function(a){if(1===this.appState)return 1;if(KX(this))return 3;var b;return a&&(null==(b=this.Rd)?0:b.isAdPlaying(this.getCurrentTime()))?2:g.oN(this).getPlayerType()}; +g.k.zb=function(a){return 3===this.getPresentingPlayerType()?wN(this.wc).Zd:g.oN(this,a).getPlayerState()}; +g.k.getAppState=function(){return this.appState}; +g.k.NJ=function(a){switch(a.type){case "loadedmetadata":UN(this.Bb,"fvb");UN(this.Bb,"fvb_r");this.jE.start();a=g.r(this.Fw);for(var b=a.next();!b.done;b=a.next())b=b.value,oSa(this,b.id,b.J5,b.I5,void 0,!1);this.Fw=[];break;case "loadstart":UN(this.Bb,"gv");break;case "progress":case "timeupdate":2<=kE(a.target.Sg())&&UN(this.Bb,"l2s");break;case "playing":g.rG&&this.jE.start();if(g.cG(this.U))a=!1;else{b=g.yN(this.ob());a="none"===this.mediaElement.getStyle("display")||0===Sg(this.mediaElement.getSize()); +var c=qT(this.template),d=this.Fb.getVideoData(),e=g.VF(this.U)||g.XF(this.U);d=VH(d);b=!c||b||e||d||this.U.Bd;a=a&&!b}a&&(this.Fb.ma("hidden",{},!0),this.getVideoData().Yb||(this.getVideoData().Yb=1,this.bR(null),this.Fb.playVideo()))}}; +g.k.onLoadProgress=function(a,b){this.Sa.Ka("onLoadProgress",b)}; +g.k.o2=function(){this.Sa.X("playbackstalledatstart")}; +g.k.onVideoProgress=function(a,b){a=QX(this,a);b=$X(this,a.getCurrentTime(),a);this.Sa.Ka("onVideoProgress",b)}; +g.k.onAutoplayBlocked=function(){this.Sa.Ka("onAutoplayBlocked")}; +g.k.C1=function(){this.Sa.X("progresssync")}; +g.k.Y_=function(a){if(1===this.getPresentingPlayerType()){g.uJ(a,1)&&!g.W(a.state,64)&&this.Wc().isLivePlayback&&this.kb.isAtLiveHead()&&1=1E3*(this.getDuration()-1)){gSa(this);return}bSa(this)}if(g.W(a.state,128)){var b=a.state;this.cancelPlayback(5);b=b.getData();JSON.stringify({errorData:b,debugInfo:this.getDebugText(!0)});this.Sa.Ka("onError",hN(b.errorCode));this.Sa.Ka("onDetailedError",{errorCode:b.errorCode, +errorDetail:b.errorDetail,message:b.errorMessage,messageKey:b.rH});6048E5<(0,g.U)()-this.U.Ne&&this.Sa.Ka("onReloadRequired")}b={};if(a.state.Oc()&&!g.hK(a.state)&&!lB("pbresume","ad_to_video")&&lB("_start","ad_to_video")){var c=this.getVideoData();b.clientPlaybackNonce=c.clientPlaybackNonce;c.videoId&&(b.videoId=c.videoId);YA(b,"ad_to_video");if(this.K("html5_csi_delay_pbresume")){if(lB("plev","ad_to_video")&&!isNaN(this.Bb.u))if(b=1E3*(this.getCurrentTime()-this.Bb.u),0>b){var d;null==(d=g.oN(this))|| +d.ma("csir",{ossms:b})}else if(1E5Math.random()&&g.Mv("autoplayTriggered",{intentional:this.HP});this.eQ=!1;this.wc.UB();this.K("web_player_defer_ad")&&(this.vr?g.$n(this.vr):this.ZD());this.Sa.Ka("onPlaybackStartExternal");this.U.K("mweb_client_log_screen_associated");(function(){var c=g.Bz(a.nS||(a.wf()?3:0));if(c&&"UNDEFINED_CSN"!== +c)if(a.U.K("il_via_jspb")){var d=new jt,e=a.getVideoData().clientPlaybackNonce;g.D(d,1,e).Xf(c);a.U.K("web_playback_associated_ve")&&a.getVideoData().ra&&(e=g.uz(a.getVideoData().ra),g.Gz(c,e),c=e.getAsJspb(),F(d,as,2,c));if(a.U.K("kevlar_playback_associated_queue")&&a.getVideoData().queueInfo){c=a.getVideoData().queueInfo;e=new kt;if(null==c?0:c.enqueueingVe)if(null==c?0:c.enqueueingVe.trackingParams){var f=g.uz(c.enqueueingVe.trackingParams);f=f.getAsJspb();F(e,as,1,f)}else g.rz(new g.Rv("Cannot map enqueueingVe from a client VE ")); +(null==c?0:c.enqueueingCsn)&&g.D(e,2,c.enqueueingCsn);(null==c?0:c.clientEnqueueingTimeMs)&&g.D(e,3,Number(c.clientEnqueueingTimeMs));F(d,kt,4,e)}c={};a.K("web_playback_associated_log_ctt")&&a.getVideoData().I&&(c.cttAuthInfo={token:a.getVideoData().I,videoId:a.getVideoData().videoId});fpa(d,c)}else d={cpn:a.getVideoData().clientPlaybackNonce,csn:c},a.U.K("web_playback_associated_ve")&&a.getVideoData().ra&&(e=g.uz(a.getVideoData().ra),g.Gz(c,e),d.playbackVe=e.getAsJson()),a.U.K("kevlar_playback_associated_queue")&& +a.getVideoData().queueInfo&&(d.queueInfo=a.getVideoData().queueInfo),c={},a.K("web_playback_associated_log_ctt")&&a.getVideoData().I&&(c.cttAuthInfo={token:a.getVideoData().I,videoId:a.getVideoData().videoId}),g.Mv("playbackAssociated",d,c);else g.rz(new g.Rv("CSN Missing or undefined during playback association"))})(); +var b={};!this.K("web_player_csi_ctt_killswitch")&&this.getVideoData().I&&(b.cttAuthInfo={token:this.getVideoData().I,videoId:this.getVideoData().videoId});ZA("player_att",b);this.getVideoData().botguardData&&(g.lG(this.U)||"MWEB"===aG(this.U)?g.Cv(g.Ev(),function(){WX(a)}):WX(this)); +this.lE()}; +g.k.zJ=function(){this.Sa.X("internalAbandon");this.K("html5_ad_module_cleanup_killswitch")||aY(this)}; +g.k.QQ=function(a){a=a.j;!isNaN(a)&&0window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.mediaElement.yy())}; +g.k.N0=function(a){3!==this.getPresentingPlayerType()&&this.Sa.X("liveviewshift",a)}; +g.k.playVideo=function(a){if(a=g.oN(this,a))2===this.appState?VX(this):(null!=this.Gk&&this.Gk.tb&&this.Gk.start(),g.W(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())}; +g.k.pauseVideo=function(a){(a=g.oN(this,a))&&a.pauseVideo()}; +g.k.stopVideo=function(){var a=this.kb.getVideoData(),b=new g.HH(this.U,{video_id:a.HI||a.videoId,oauth_token:a.oauthToken});b.Zf=g.Gf(a.Zf);this.cancelPlayback(6);dY(this,b,1);null!=this.Gk&&this.Gk.stop()}; +g.k.cancelPlayback=function(a,b){Nw(this.Jq);this.Jq=0;var c=g.oN(this,b);c&&(2===b&&1===c.getPlayerType()&&PBa(this.Wc())?c.ma("canclpb",{r:"no_adpb_ssdai"}):(this.U.K("html5_high_res_logging")&&c.ma("canclpb",{r:a}),1!==this.appState&&2!==this.appState&&(c===this.Fb&&nO(this.wc,a),1===b&&(c.stopVideo(),aY(this)),c.Jo(),MX(this,"cuerangesremoved",c.Yk()),c.Ih.reset(),this.ex&&c.isGapless()&&(c.Xh(!0),c.setMediaElement(this.mediaElement)))))}; +g.k.sendVideoStatsEngageEvent=function(a,b,c){(b=g.oN(this,b))&&this.U.enabledEngageTypes.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()}; +g.k.Hi=function(a){var b=g.oN(this);return b&&this.U.enabledEngageTypes.has(a.toString())?b.Hi(a):null}; +g.k.updatePlaylist=function(){jG(this.U)?SX(this):g.MF(this.U)&&TX(this);this.Sa.Ka("onPlaylistUpdate")}; +g.k.setSizeStyle=function(a,b){this.zS=a;this.CI=b;this.Sa.X("sizestylechange",a,b);this.template.resize()}; +g.k.isWidescreen=function(){return this.CI}; +g.k.wf=function(){return this.visibility.wf()}; +g.k.isInline=function(){return this.visibility.isInline()}; +g.k.Vv=function(){return this.visibility.Vv()}; +g.k.Sv=function(){return this.visibility.Sv()}; +g.k.nz=function(){return this.zS}; +g.k.getAdState=function(){if(3===this.getPresentingPlayerType())return wN(this.wc).getAdState();if(!this.ze()){var a=oO(this.ob());if(a)return a.getAdState()}return-1}; +g.k.N1=function(a){var b=this.template.getVideoContentRect();wl(this.XP,b)||(this.XP=b,this.Fb&&tX(this.Fb),this.kb&&this.kb!==this.Fb&&tX(this.kb),1===this.Fv()&&this.Tz&&tSa(this,!0));this.LI&&g.Rg(this.LI,a)||(this.Sa.X("appresize",a),this.LI=a)}; +g.k.cg=function(){return this.Sa.cg()}; +g.k.h2=function(){2===this.getPresentingPlayerType()&&this.kd.isManifestless()&&!this.K("web_player_manifestless_ad_signature_expiration_killswitch")?ZKa(this.kd):(this.Rd&&(MS(this.Rd),aY(this)),aSa(this,"signature"))}; +g.k.bR=function(){this.Xh();LX(this)}; +g.k.d1=function(a){"manifest.net.badstatus"===a.errorCode&&"401"===a.details.rc&&this.Sa.Ka("onPlayerRequestAuthFailed")}; +g.k.Mz=function(){this.Sa.Ka("CONNECTION_ISSUE")}; +g.k.Oz=function(a){this.Sa.X("heartbeatparams",a)}; +g.k.hE=function(a){this.Sa.Ka("onAutonavChangeRequest",1!==a)}; +g.k.Qd=function(){return this.mediaElement}; +g.k.setBlackout=function(a){this.U.Bd=a;this.Fb&&(this.Fb.Rt(),this.U.va&&vSa(this))}; +g.k.f1=function(){var a=g.oN(this);if(a){var b=!this.Sa.kz();(a.rP=b)||a.Ns.stop();if(a.videoData.j)if(b)a.videoData.j.resume();else{var c=a.videoData.j;c.B&&c.B.stop()}a.U.K("html5_suspend_loader")&&a.Ga&&(b?a.Ga.resume():BX(a,!0));a.U.K("html5_fludd_suspend")&&(g.W(a.playerState,2)||b?g.W(a.playerState,512)&&b&&a.Sb(cK(a.playerState,512)):a.Sb(bK(a.playerState,512)));a=a.hc;a.qoe&&(a=a.qoe,g.VV(a,g.sS(a.j),"stream",[b?"A":"I"]))}}; +g.k.onLoadedMetadata=function(){this.Sa.Ka("onLoadedMetadata")}; +g.k.onDrmOutputRestricted=function(){this.Sa.Ka("onDrmOutputRestricted")}; +g.k.vG=function(){this.K("html5_skip_empty_load")&&(x0a=!0);YCa=this.K("html5_ios_force_seek_to_zero_on_stop");y0a=this.K("html5_ios7_force_play_on_stall");z0a=this.K("html5_ios4_seek_above_zero");A0a=this.K("html5_use_async_stopVideo");B0a=this.K("html5_pause_for_async_stopVideo");zxa=this.K("html5_retain_source_buffer_appends_for_debugging");this.K("html5_mediastream_applies_timestamp_offset")&&(nU=!0);this.K("html5_dont_override_default_sample_desc_index")&&(uwa=!0);var a=g.TE(this.U.experiments, +"html5_cobalt_override_quic");a&&cKa(0a)){var e;if((c=null==(e=this.getVideoData())?void 0:e.oi)&&aq.start&&dE;E++)if(A=(A<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(w.charAt(E)),4==E%5){for(var G="",H=0;6>H;H++)G="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(A&31)+G,A>>=5;B+=G}w=B.substr(0,4)+" "+B.substr(4,4)+" "+B.substr(8,4)}else w="";l={video_id_and_cpn:c.videoId+" / "+w,codecs:"",dims_and_frames:"",bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:n.toFixed(2)+" s",date:""+(new Date).toString(),drm_style:p?"":"display:none",drm:p,debug_info:d, +bandwidth_style:v,network_activity_style:v,network_activity_bytes:m.toFixed(0)+" KB",shader_info:q,shader_info_style:q?"":"display:none",playback_categories:""};m=e.clientWidth+"x"+e.clientHeight+(1I)if(c.latencyClass&&"UNKNOWN"!==c.latencyClass)switch(c.latencyClass){case "NORMAL":a="Optimized for Normal Latency";break;case "LOW":a="Optimized for Low Latency";break;case "ULTRALOW":a= +"Optimized for Ultra Low Latency";break;default:a="Unknown Latency Setting"}else a=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";e+=a;(I=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(e+=", seq "+I.sequence);l.live_mode=e}b.isGapless()&&(l.playback_categories+="Gapless ");l.playback_categories_style=l.playback_categories?"":"display:none";l.bandwidth_samples=jT(h,"bandwidth");l.network_activity_samples=jT(h,"networkactivity");l.live_latency_samples=jT(h, +"livelatency");l.buffer_health_samples=jT(h,"bufferhealth");b=g.wI(c);if(c.cotn||b)l.cotn_and_local_media=(c.cotn?c.cotn:"null")+" / "+b;l.cotn_and_local_media_style=l.cotn_and_local_media?"":"display:none";ZH(c,"web_player_release_debug")?(l.release_name="youtube.player.web_20220814_00_RC00",l.release_style=""):l.release_style="display:none";return l}; +g.k.getVideoUrl=function(a,b,c,d,e){return this.sb&&this.sb.postId?(a=this.U.getVideoUrl(a),a=zi(a,"v"),a.replace("/watch","/clip/"+this.sb.postId)):this.U.getVideoUrl(a,b,c,d,e)}; +var D4={};g.Fa("yt.player.Application.create",g.JX.create);g.Fa("yt.player.Application.createAlternate",g.JX.create);Hra(mz(),{Bo:[{zz:/Unable to load player module/,weight:20},{zz:/Failed to fetch/,weight:500},{zz:/XHR API fetch failed/,weight:10},{zz:/JSON parsing failed after XHR fetch/,weight:10},{zz:/Retrying OnePlatform request/,weight:10}]});var S0a=g.Ha("ytcsi.tick");S0a&&S0a("pe");var CSa=new Map([["unspecified","CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"],["core","CONTROL_FLOW_MANAGER_LAYER_CORE"],["adapter","CONTROL_FLOW_MANAGER_LAYER_ADAPTER"],["surface","CONTROL_FLOW_MANAGER_LAYER_SURFACE"],["external","CONTROL_FLOW_MANAGER_LAYER_EXTERNAL"]]),ASa=new Map([["normal",{At:"ADS_CLIENT_EVENT_TYPE_NORMAL_EXIT_LAYOUT_REQUESTED",Kt:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_NORMALLY"}],["skipped",{At:"ADS_CLIENT_EVENT_TYPE_SKIP_EXIT_LAYOUT_REQUESTED",Kt:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_SKIP"}], +["muted",{At:"ADS_CLIENT_EVENT_TYPE_MUTE_EXIT_LAYOUT_REQUESTED",Kt:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_MUTE"}],["abandoned",{At:"ADS_CLIENT_EVENT_TYPE_ABANDON_EXIT_LAYOUT_REQUESTED",Kt:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABANDON"}],["user_input_submitted",{At:"ADS_CLIENT_EVENT_TYPE_USER_INPUT_SUBMITTED_EXIT_LAYOUT_REQUESTED",Kt:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_USER_INPUT_SUBMITTED"}],["user_cancelled",{At:"ADS_CLIENT_EVENT_TYPE_USER_CANCELLED_EXIT_LAYOUT_REQUESTED",Kt:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_USER_CANCELLED"}], +["error",{At:"ADS_CLIENT_EVENT_TYPE_ABORTED_EXIT_LAYOUT_REQUESTED",Kt:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABORTED"}]]);var T0a={eNa:"replaceUrlMacros",kIa:"onAboutThisAdPopupClosed",Moa:"executeCommand"};tY.prototype.Bm=function(){return"adLifecycleCommand"}; +tY.prototype.handle=function(a){var b=this;switch(a.action){case "END_LINEAR_AD":g.Dh(function(){b.controller.Bp()}); +break;case "END_LINEAR_AD_PLACEMENT":g.Dh(function(){b.controller.ym()}); +break;case "FILL_ABOVE_FEED_SLOT":g.Dh(function(){a.elementId&&b.controller.fC(a.elementId)}); +break;case "CLEAR_ABOVE_FEED_SLOT":g.Dh(function(){b.controller.LB()})}}; +tY.prototype.Yn=function(a){this.handle(a)};uY.prototype.Bm=function(){return"clearCueRangesCommand"}; +uY.prototype.handle=function(){var a=this.UG();g.Dh(function(){a.eh(Array.from(a.rr))})}; +uY.prototype.Yn=function(a){this.handle(a)};vY.prototype.Bm=function(){return"muteAdEndpoint"}; +vY.prototype.handle=function(a){HSa(this,a)}; +vY.prototype.Yn=function(a,b){HSa(this,a,b)};wY.prototype.Bm=function(){return"openPopupAction"}; +wY.prototype.handle=function(){}; +wY.prototype.Yn=function(a){this.handle(a)};xY.prototype.Bm=function(){return"pingingEndpoint"}; +xY.prototype.handle=function(){}; +xY.prototype.Yn=function(a){this.handle(a)};yY.prototype.Bm=function(){return"urlEndpoint"}; +yY.prototype.handle=function(a,b){b=Object.assign({},b);if(i0(this.LD,"h5_inplayer_enable_adcpn_macro_substitution_for_click_pings")){var c=this.xl.Gf(2);c&&(b.AD_CPN=c.clientPlaybackNonce)}a=g.Sn(a.url,b);"1"===(new g.Cj(a)).u.get("ase")?g.iM(a,void 0,void 0,a+"&asr=1"):g.iM(a)}; +yY.prototype.Yn=function(a,b,c){if(i0(this.LD,"enable_macro_substitution_on_html5")){var d=this.handle;var e=this.Pa.get(),f=L_(e.u.get(),b);f?b=x0(e,y0(f),f,void 0,c):(eA("Trying to ping from an unknown layout",void 0,void 0,{layoutId:b}),b={});d.call(this,a,b)}else this.handle(a,{})};zY.prototype.Bm=function(){return"adPingingEndpoint"}; +zY.prototype.handle=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.wr.send(a,b,c)}; +zY.prototype.Yn=function(a,b,c){z0(this.Pa.get(),a,b,void 0,c)};AY.prototype.Bm=function(){return"changeEngagementPanelVisibilityAction"}; +AY.prototype.handle=function(a){this.G.Ka("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:a})}; +AY.prototype.Yn=function(a){this.handle(a)};BY.prototype.Bm=function(){return"loggingUrls"}; +BY.prototype.handle=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;a=g.r(a);for(var d=a.next();!d.done;d=a.next())d=d.value,this.jk.send(d.baseUrl,b,c,d.headers)}; +BY.prototype.Yn=function(a,b,c){a=g.r(a);for(var d=a.next();!d.done;d=a.next())d=d.value,i0(this.LD,"enable_macro_substitution_on_html5")?z0(this.Pa.get(),d.baseUrl,b,d.headers,c):z0(this.Pa.get(),d.baseUrl,b,d.headers)};g.u(JSa,g.K);CY.prototype.get=function(){return this.value}; +g.u(DY,CY);DY.prototype.getType=function(){return"metadata_type_action_companion_ad_renderer"}; +g.u(EY,CY);EY.prototype.getType=function(){return"metadata_type_ads_engagement_panel_renderer"}; +g.u(FY,CY);FY.prototype.getType=function(){return"metadata_type_ad_next_params"}; +g.u(GY,CY);GY.prototype.getType=function(){return"metadata_type_ad_video_clickthrough_endpoint"}; +g.u(HY,CY);HY.prototype.getType=function(){return"metadata_type_invideo_overlay_ad_renderer"}; +g.u(IY,CY);IY.prototype.getType=function(){return"metadata_type_image_companion_ad_renderer"}; +g.u(JY,CY);JY.prototype.getType=function(){return"metadata_type_shopping_companion_carousel_renderer"}; +g.u(KY,CY);KY.prototype.getType=function(){return"metadata_type_ad_info_ad_metadata"}; +g.u(LY,CY);LY.prototype.getType=function(){return"metadata_ad_video_is_listed"}; +g.u(MY,CY);MY.prototype.getType=function(){return"metadata_type_ad_placement_config"}; +g.u(NY,CY);NY.prototype.getType=function(){return"metadata_type_ad_pod_info"}; +g.u(OY,CY);OY.prototype.getType=function(){return"metadata_type_ad_pod_skip_index"}; +g.u(PY,CY);PY.prototype.getType=function(){return"metadata_type_ad_pod_skip_target"}; +g.u(QY,CY);QY.prototype.getType=function(){return"metadata_type_ad_pod_skip_target_callback_ref"}; +g.u(RY,CY);RY.prototype.getType=function(){return"metadata_type_ad_video_id"}; +g.u(SY,CY);SY.prototype.getType=function(){return"metadata_type_ad_video_url"}; +g.u(TY,CY);TY.prototype.getType=function(){return"metadata_type_content_cpn"}; +g.u(UY,CY);UY.prototype.getType=function(){return"metadata_type_instream_ad_player_overlay_renderer"}; +g.u(VY,CY);VY.prototype.getType=function(){return"metadata_type_player_underlay_renderer"}; +g.u(WY,CY);WY.prototype.getType=function(){return"metadata_type_shrunken_player_bytes_config"}; +g.u(XY,CY);XY.prototype.getType=function(){return"metadata_type_ad_action_interstitial_renderer"}; +g.u(YY,CY);YY.prototype.getType=function(){return"metadata_type_valid_survey_text_interstitial_renderer"}; +g.u(ZY,CY);ZY.prototype.getType=function(){return"METADATA_TYPE_VALID_INSTREAM_SURVEY_AD_RENDERER_FOR_DAI"}; +g.u($Y,CY);$Y.prototype.getType=function(){return"METADATA_TYPE_VALID_INSTREAM_SURVEY_AD_RENDERER_FOR_VOD"}; +g.u(aZ,CY);aZ.prototype.getType=function(){return"metadata_type_sliding_text_player_overlay_renderer"}; +g.u(bZ,CY);bZ.prototype.getType=function(){return"metadata_type_linked_player_bytes_layout_id"}; +g.u(cZ,CY);cZ.prototype.getType=function(){return"metadata_type_linked_in_player_layout_id"}; +g.u(dZ,CY);dZ.prototype.getType=function(){return"metadata_type_linked_in_player_slot_id"}; +g.u(eZ,CY);eZ.prototype.getType=function(){return"metadata_type_player_bytes_callback"}; +g.u(fZ,CY);fZ.prototype.getType=function(){return"metadata_type_player_bytes_callback_ref"}; +g.u(gZ,CY);gZ.prototype.getType=function(){return"metadata_type_player_bytes_layout_controls_callback_ref"}; +g.u(hZ,CY);hZ.prototype.getType=function(){return"metadata_type_sub_layouts"}; +g.u(iZ,CY);iZ.prototype.getType=function(){return"metadata_type_cue_point"}; +g.u(jZ,CY);jZ.prototype.getType=function(){return"metadata_type_video_length_seconds"}; +g.u(kZ,CY);kZ.prototype.getType=function(){return"metadata_type_player_vars"}; +g.u(lZ,CY);lZ.prototype.getType=function(){return"metadata_type_sodar_extension_data"}; +g.u(mZ,CY);mZ.prototype.getType=function(){return"metadata_type_layout_enter_ms"}; +g.u(nZ,CY);nZ.prototype.getType=function(){return"metadata_type_layout_exit_ms"}; +g.u(oZ,CY);oZ.prototype.getType=function(){return"metadata_type_media_sub_layout_index"}; +g.u(pZ,CY);pZ.prototype.getType=function(){return"metadata_type_dai"}; +g.u(qZ,CY);qZ.prototype.getType=function(){return"metadata_type_ad_intro"}; +g.u(rZ,CY);rZ.prototype.getType=function(){return"metadata_type_client_forecasting_ad_renderer"}; +g.u(sZ,CY);sZ.prototype.getType=function(){return"metadata_type_drift_recovery_ms"}; +g.u(tZ,CY);tZ.prototype.getType=function(){return"metadata_type_fulfilled_layout"}; +g.u(uZ,CY);uZ.prototype.getType=function(){return"metadata_type_ad_break_request_data"}; +g.u(vZ,CY);vZ.prototype.getType=function(){return"metadata_type_ad_break_response_data"}; +g.u(wZ,CY);wZ.prototype.getType=function(){return"metadata_type_remote_slots_data"}; +g.u(xZ,CY);xZ.prototype.getType=function(){return"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"}; +g.u(yZ,CY);yZ.prototype.getType=function(){return"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS"}; +g.u(zZ,CY);zZ.prototype.getType=function(){return"metadata_type_legacy_info_card_vast_extension"}; +g.u(AZ,CY);AZ.prototype.getType=function(){return"metadata_type_valid_ad_message_renderer"}; +g.u(BZ,CY);BZ.prototype.getType=function(){return"METADATA_TYPE_INTERACTIONS_AND_PROGRESS_LAYOUT_COMMANDS"}; +g.u(CZ,CY);CZ.prototype.getType=function(){return"metadata_type_served_from_live_infra"}; +g.u(DZ,CY);DZ.prototype.getType=function(){return"metadata_type_survey_overlay"}; +g.u(EZ,CY);EZ.prototype.getType=function(){return"metadata_type_active_view_traffic_type"}; +g.u(FZ,CY);FZ.prototype.getType=function(){return"metadata_type_ssdai_ads_config"};var YSa=new Map([["TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL","trigger_category_layout_exit_normal"],["TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED","trigger_category_layout_exit_user_skipped"],["TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED","trigger_category_layout_exit_user_muted"],["TRIGGER_CATEGORY_SLOT_EXPIRATION","trigger_category_slot_expiration"],["TRIGGER_CATEGORY_SLOT_FULFILLMENT","trigger_category_slot_fulfillment"],["TRIGGER_CATEGORY_SLOT_ENTRY","trigger_category_slot_entry"],["TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED", +"trigger_category_layout_exit_user_input_submitted"],["TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED","trigger_category_layout_exit_user_cancelled"]]);g.u(GZ,g.K);g.k=GZ.prototype;g.k.SH=function(a,b){return this.j.SH(a,b)}; +g.k.Qi=function(a,b){H_(this.dc,"ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_RECEIVED",a,b);for(var c=g.r(this.Md),d=c.next();!d.done;d=c.next())d.value.Qi(a,b)}; +g.k.Vf=function(a){if(JZ(this.j,a)){KJ(this.dc,"ADS_CLIENT_EVENT_TYPE_SLOT_ENTERED",a);this.j.Vf(a);for(var b=g.r(this.Md),c=b.next();!c.done;c=b.next())c.value.Vf(a);LSa(this,a)}}; +g.k.Wf=function(a){if(JZ(this.j,a)){KJ(this.dc,"ADS_CLIENT_EVENT_TYPE_SLOT_EXITED",a);this.j.Wf(a);for(var b=g.r(this.Md),c=b.next();!c.done;c=b.next())c.value.Wf(a);JZ(this.j,a)&&KZ(this.j,a).D&&HZ(this,a,!1)}}; +g.k.zD=function(a){KJ(this.dc,"ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLMENT_CANCELLED",a);JZ(this.j,a)&&(this.j.zD(a),HZ(this,a,!1))}; +g.k.Kc=function(a,b){if(JZ(this.j,a)){LZ(this.dc,"ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED",a,b);for(var c=g.r(this.Md),d=c.next();!d.done;d=c.next())d.value.Kc(a,b)}}; +g.k.hd=function(a,b,c){if(JZ(this.j,a)){LZ(this.dc,BSa(c),a,b);this.j.hd(a,b);for(var d=g.r(this.Md),e=d.next();!e.done;e=d.next())e.value.hd(a,b,c);(c=XZ(this.j,a))&&b.layoutId===c.layoutId&&VSa(this,a,!1)}}; +g.k.eg=function(a,b,c){eA(c,a,b,void 0,c.yr);HZ(this,a,!0)}; +g.k.ea=function(){var a=XSa(this.j);a=g.r(a);for(var b=a.next();!b.done;b=a.next())HZ(this,b.value,!1);g.K.prototype.ea.call(this)};WSa.prototype.isActive=function(){switch(this.j){case "entered":case "rendering":case "rendering_stop_requested":case "exit_requested":return!0;default:return!1}};g.u(MZ,Za);g.u($Z,g.K);g.k=$Z.prototype;g.k.SH=function(a,b){b=WZ(this,a+"_"+b);a=[];b=g.r(b.values());for(var c=b.next();!c.done;c=b.next())a.push(c.value.slot);return a}; +g.k.Th=function(a){a=KZ(this,a);"not_scheduled"!==a.j&&YZ(a.slot,a.j,"onSlotScheduled");a.j="scheduled"}; +g.k.By=function(a){a=KZ(this,a);a.C="fill_requested";a.J.By()}; +g.k.Vf=function(a){a=KZ(this,a);"enter_requested"!==a.j&&YZ(a.slot,a.j,"onSlotEntered");a.j="entered"}; +g.k.zD=function(a){KZ(this,a).C="fill_canceled"}; +g.k.Wf=function(a){a=KZ(this,a);"exit_requested"!==a.j&&YZ(a.slot,a.j,"onSlotExited");a.j="scheduled"}; +g.k.hd=function(a,b){a=KZ(this,a);null!=a.layout&&a.layout.layoutId===b.layoutId&&("rendering_stop_requested"!==a.j&&YZ(a.slot,a.j,"onLayoutExited"),a.j="entered")};g.u(c_,g.K);c_.prototype.B=function(){return this.u};g.u(d_,g.K);d_.prototype.get=function(){this.isDisposed()&&eA("Tried to retrieve object during dispose",void 0,void 0,{type:typeof this.j});this.j||(this.j=this.u());return this.j};e_.prototype.executeCommand=function(a,b){OK(this.j(),a,b)}; +e_.prototype.Ff=function(a,b){aEa(this.j(),a,b)};g.u(G_,g.K);g.u(J_,g.K);J_.prototype.onCueRangeEnter=function(){}; +J_.prototype.onCueRangeExit=function(a){var b=this,c=this.j.get(a);c&&(this.j.delete(a),this.Tb.get().removeCueRange(a),Zz(this.Qb.get(),"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",function(){var d=b.Ab.get();d=hA(d.Va.get(),"SLOT_TYPE_AD_BREAK_REQUEST");return[Object.assign({},c,{slotId:d,Mb:c.Mb?xUa(c.slotId,d,c.Mb):void 0,Vb:yUa(c.slotId,d,c.Vb),Zb:yUa(c.slotId,d,c.Zb)})]},c.slotId))}; +J_.prototype.Pi=function(){for(var a=g.r(this.j.keys()),b=a.next();!b.done;b=a.next())b=b.value,this.Tb.get().removeCueRange(b);this.j.clear()}; +J_.prototype.vl=function(){};g.u(K_,g.K);g.k=K_.prototype;g.k.Th=function(){}; +g.k.vj=function(a){var b=this;g.Cv(g.Ev(),function(){var c=b.j.get(a);c&&eA("Expected layouts to be properly unscheduled",a,void 0,{slotType:a.slotType,layoutTypes:[].concat(g.t(c)).map(function(d){return d.layoutType})})},0)}; +g.k.Vf=function(){}; +g.k.uj=function(){}; +g.k.Wf=function(){}; +g.k.fk=function(){}; +g.k.gk=function(){}; +g.k.rj=function(a,b){this.j.has(a)||this.j.set(a,new Set);this.j.get(a).add(b)}; +g.k.sj=function(a,b){this.yj.has(a)&&this.yj.get(a)===b&&eA("Unscheduled a Layout that is currently entered.",a,b);if(this.j.has(a)){var c=this.j.get(a);c.has(b)?(c.delete(b),0===c.size&&this.j.delete(a)):eA("Trying to unscheduled a Layout that was not scheduled.",a,b)}else eA("Trying to unscheduled a Layout that was not scheduled.",a,b)}; +g.k.Kc=function(a,b){this.yj.set(a,b)}; +g.k.hd=function(a){this.yj.delete(a)}; +g.k.Qi=function(){};Z_.prototype.clone=function(a){var b=this;return new Z_(function(){return b.triggerId},a)};$_.prototype.clone=function(a){var b=this;return new $_(function(){return b.triggerId},a)};a0.prototype.clone=function(a){var b=this;return new a0(function(){return b.triggerId},a)};b0.prototype.clone=function(a){var b=this;return new b0(function(){return b.triggerId},a)};c0.prototype.clone=function(a){var b=this;return new c0(function(){return b.triggerId},a)};d0.prototype.clone=function(a){var b=this;return new d0(function(){return b.triggerId},a)};g.u(h0,g.K);h0.prototype.logEvent=function(a){H_(this,a)}; +h0.prototype.u=function(){var a=this.Da.get();return(g.cG(a.G.R())?a.G.R().K("html5_enable_ads_client_monitoring_log_tv"):!0)&&!this.Da.get().G.R().K("html5_disable_client_tmp_logs")};g.u(j0,h0);j0.prototype.u=function(){var a=h0.prototype.u.call(this),b=i0(this.Da.get(),"disable_pacf_logging_for_memory_limited_tv")?this.j.get().u():!0;var c=this.Da.get();c=g.cG(c.G.R())?c.G.R().K("use_session_based_sampling")?c.j:c.G.R().K("sample_pacf_events_on_tv")?Math.random()=this.u.length)throw new BA("Invalid sub layout rendering adapter length when scheduling composite layout.",{length:String(this.u.length)});var a=lY(this.yb().Aa,"metadata_type_ad_pod_skip_target_callback_ref");a&&(a.current=this);a=g.r(this.u);for(var b=a.next();!b.done;b=a.next())b=b.value,b.init(),QZ(this.B,this.slot,b.yb()),RZ(this.B,this.slot,b.yb())}; +g.k.zq=function(){var a=lY(this.yb().Aa,"metadata_type_ad_pod_skip_target_callback_ref");a&&(a.current=null);a=g.r(this.u);for(var b=a.next();!b.done;b=a.next())b=b.value,LJ(this.B,this.slot,b.yb()),b.release()}; +g.k.Zs=function(a,b){var c=this.u[this.j];b.layoutId!==l1(c,a,b)?eA("pauseLayout for a PlayerBytes layout that is not currently active",a,b):c.Zs()}; +g.k.Ct=function(a,b){var c=this.u[this.j];b.layoutId!==l1(c,a,b)?eA("resumeLayout for a PlayerBytes layout that is not currently active",a,b):c.Ct()}; +g.k.Rz=function(a,b){var c=this.u[this.j];b.layoutId!==l1(c,a,b)?eA("onSkipRequested for a PlayerBytes layout that is not currently active",c.Xc(),c.yb(),{requestingSlot:a,requestingLayout:b}):n1(this,c.Xc(),c.yb(),"skipped")}; +g.k.Gq=function(){-1===this.j&&m1(this,this.j+1)}; +g.k.s2=function(a,b){SZ(this.B,a,b)}; +g.k.Hq=function(a,b){var c=this;this.j!==this.u.length?(a=this.u[this.j],a.Yf(a.yb(),b),this.D=function(){c.callback.hd(c.slot,c.layout,b)}):this.callback.hd(this.slot,this.layout,b)}; +g.k.Kc=function(a,b){var c=this.u[this.j];c&&c.Kc(a,b)}; +g.k.hd=function(a,b,c){j1.prototype.hd.call(this,a,b,c);var d=this.u[this.j];d&&d.hd(a,b,c)}; +g.k.jQ=function(){var a=this.u[this.j];a&&a.EC()}; +g.k.Oi=function(a){var b=this.u[this.j];b&&b.Oi(a)}; +g.k.jR=function(a){var b=this.u[this.j];b&&b.tj(a)}; +g.k.eg=function(a,b){-1===this.j&&(this.callback.Kc(this.slot,this.layout),this.j++);var c=this.u[this.j];c?c.Cz(a,b):eA("No active adapter found onLayoutError in PlayerBytesVodCompositeLayoutRenderingAdapter",void 0,void 0,{activeSubLayoutIndex:String(this.j),layoutId:this.yb().layoutId})}; +g.k.onFullscreenToggled=function(a){var b=this.u[this.j];if(b)b.onFullscreenToggled(a)}; +g.k.Ug=function(a){var b=this.u[this.j];b&&b.Ug(a)}; +g.k.pj=function(a){var b=this.u[this.j];b&&b.pj(a)}; +g.k.onVolumeChange=function(){var a=this.u[this.j];if(a)a.onVolumeChange()}; +g.k.u2=function(a,b,c){n1(this,a,b,c)}; +g.k.t2=function(a,b){n1(this,a,b,"error")};g.u(s1,g.K);g.k=s1.prototype;g.k.Xc=function(){return this.slot}; +g.k.yb=function(){return this.layout}; +g.k.init=function(){var a=lY(this.layout.Aa,"metadata_type_video_length_seconds"),b=lY(this.layout.Aa,"metadata_type_active_view_traffic_type");MI(this.layout.Rb)&&t0(this.Db.get(),this.layout.layoutId,b,a,this);B0(this.Pa.get(),this);this.Up()}; +g.k.release=function(){MI(this.layout.Rb)&&u0(this.Db.get(),this.layout.layoutId);C0(this.Pa.get(),this);this.zq()}; +g.k.Zs=function(){}; +g.k.Ct=function(){}; +g.k.startRendering=function(a){a.layoutId!==this.layout.layoutId?this.callback.eg(this.slot,a,new MZ("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType))):(this.j="rendering_start_requested",TBa(this.df.get(),1)?(this.D(-1),this.Gq(a),this.Yu(!1)):this.Cz("ui_unstable",new MZ("Failed to render media layout because ad ui unstable.")))}; +g.k.Kc=function(a,b){if(b.layoutId===this.layout.layoutId){this.j="rendering";this.C=this.Ba.get().isMuted()||0===this.Ba.get().getVolume();t1(this,"impression");t1(this,"start");if(this.Ba.get().isMuted()){v1(this,"mute");var c;a=(null==(c=r1(this))?void 0:c.muteCommands)||[];this.Hb.get().Ff(a,this.layout.layoutId)}if(this.Ba.get().isFullscreen()){this.Mf("fullscreen");var d;c=(null==(d=r1(this))?void 0:d.fullscreenCommands)||[];this.Hb.get().Ff(c,this.layout.layoutId)}this.Nd.get().yK();this.D(1); +this.XQ();var e;d=(null==(e=r1(this))?void 0:e.impressionCommands)||[];this.Hb.get().Ff(d,this.layout.layoutId)}}; +g.k.Cz=function(a,b){this.ra={OE:3,MA:"load_timeout"===a?402:400,errorMessage:b.message};t1(this,"error");var c;a=(null==(c=r1(this))?void 0:c.errorCommands)||[];this.Hb.get().Ff(a,this.layout.layoutId);this.callback.eg(this.slot,this.layout,b)}; +g.k.EC=function(){this.J()}; +g.k.iP=function(){if("rendering"===this.j){v1(this,"pause");var a,b=(null==(a=r1(this))?void 0:a.pauseCommands)||[];this.Hb.get().Ff(b,this.layout.layoutId);this.D(2)}}; +g.k.jP=function(){if("rendering"===this.j){v1(this,"resume");var a,b=(null==(a=r1(this))?void 0:a.resumeCommands)||[];this.Hb.get().Ff(b,this.layout.layoutId)}}; +g.k.Yf=function(a,b){if(a.layoutId!==this.layout.layoutId)this.callback.eg(this.slot,a,new MZ("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType)));else if("rendering_stop_requested"!==this.j){this.j="rendering_stop_requested";this.N=b;if(i0(this.Da.get(),"html5_track_termination_during_request"))switch(b){case "normal":t1(this,"complete");break;case "skipped":t1(this,"skip");break;case "abandoned":Z0(this.u, +"impression")&&t1(this,"abandon")}this.Hq(a,b)}}; +g.k.hd=function(a,b,c){if(b.layoutId===this.layout.layoutId)switch(this.j="not_rendering",this.N=void 0,(a="normal"!==c||this.position+1===this.Y)&&this.Yu(a),this.YQ(c),this.D(0),c){case "abandoned":if(Z0(this.u,"impression")){i0(this.Da.get(),"html5_track_termination_during_request")||t1(this,"abandon");var d,e=(null==(d=r1(this))?void 0:d.abandonCommands)||[];this.Hb.get().Ff(e,this.layout.layoutId)}break;case "normal":i0(this.Da.get(),"html5_track_termination_during_request")||t1(this,"complete"); +d=(null==(e=r1(this))?void 0:e.completeCommands)||[];this.Hb.get().Ff(d,this.layout.layoutId);break;case "skipped":i0(this.Da.get(),"html5_track_termination_during_request")||t1(this,"skip");var f;d=(null==(f=r1(this))?void 0:f.skipCommands)||[];this.Hb.get().Ff(d,this.layout.layoutId)}}; +g.k.Hv=function(){return this.layout.layoutId}; +g.k.EH=function(){return this.ra}; +g.k.tj=function(a){if("not_rendering"!==this.j){this.W||(a=new g.sJ(a.state,new g.$J),this.W=!0);var b=2===this.Ba.get().getPresentingPlayerType();"rendering_start_requested"===this.j?b&&p1(a)&&this.V():b?g.uJ(a,2)?this.XM():(p1(a)?this.D(1):g.uJ(a,4)&&!g.uJ(a,2)&&this.iP(),0>tJ(a,4)&&!(0>tJ(a,2))&&this.jP()):this.EC()}}; +g.k.Iz=function(){if("rendering"===this.j){W0(this.u,"active_view_measurable");var a,b=(null==(a=r1(this))?void 0:a.activeViewMeasurableCommands)||[];this.Hb.get().Ff(b,this.layout.layoutId)}}; +g.k.Hz=function(){if("rendering"===this.j){W0(this.u,"active_view_fully_viewable_audible_half_duration");var a,b=(null==(a=r1(this))?void 0:a.activeViewFullyViewableAudibleHalfDurationCommands)||[];this.Hb.get().Ff(b,this.layout.layoutId)}}; +g.k.Jz=function(){if("rendering"===this.j){W0(this.u,"active_view_viewable");var a,b=(null==(a=r1(this))?void 0:a.activeViewViewableCommands)||[];this.Hb.get().Ff(b,this.layout.layoutId)}}; +g.k.Fz=function(){if("rendering"===this.j){W0(this.u,"audio_audible");var a,b=(null==(a=r1(this))?void 0:a.activeViewAudioAudibleCommands)||[];this.Hb.get().Ff(b,this.layout.layoutId)}}; +g.k.Gz=function(){if("rendering"===this.j){W0(this.u,"audio_measurable");var a,b=(null==(a=r1(this))?void 0:a.activeViewAudioMeasurableCommands)||[];this.Hb.get().Ff(b,this.layout.layoutId)}}; +g.k.Yu=function(a){this.Nd.get().Yu(lY(this.layout.Aa,"metadata_type_ad_placement_config").kind,a,this.position,this.Y,!1)}; +g.k.onFullscreenToggled=function(a){if("rendering"===this.j)if(a){this.Mf("fullscreen");var b,c=(null==(b=r1(this))?void 0:b.fullscreenCommands)||[];this.Hb.get().Ff(c,this.layout.layoutId)}else this.Mf("end_fullscreen"),b=(null==(c=r1(this))?void 0:c.endFullscreenCommands)||[],this.Hb.get().Ff(b,this.layout.layoutId)}; +g.k.onVolumeChange=function(){if("rendering"===this.j)if(this.Ba.get().isMuted()){v1(this,"mute");var a,b=(null==(a=r1(this))?void 0:a.muteCommands)||[];this.Hb.get().Ff(b,this.layout.layoutId)}else v1(this,"unmute"),a=(null==(b=r1(this))?void 0:b.unmuteCommands)||[],this.Hb.get().Ff(a,this.layout.layoutId)}; +g.k.Ug=function(){}; +g.k.pj=function(){}; +g.k.dk=function(){}; +g.k.Mf=function(a){i0(this.Da.get(),"av_call_once_per_event_pair")?this.u.Mf(a,!this.C):(this.u.Mf(a),this.C||(a=PI(a))&&this.u.Mf(a))};g.u(w1,s1);g.k=w1.prototype;g.k.Up=function(){}; +g.k.zq=function(){var a=this.Pa.get();a.xE===this&&(a.xE=null);this.timer.stop()}; +g.k.Gq=function(){UUa(this.Ba.get());this.Pa.get().xE=this;lB("pbp")||lB("pbs")||mB("pbp");lB("pbp","watch")||lB("pbs","watch")||mB("pbp",void 0,"watch");this.V()}; +g.k.XQ=function(){rVa(this)}; +g.k.XM=function(){}; +g.k.Zs=function(){this.timer.stop();s1.prototype.iP.call(this)}; +g.k.Ct=function(){rVa(this);s1.prototype.jP.call(this)}; +g.k.Gv=function(){return lY(this.yb().Aa,"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS")}; +g.k.Hq=function(){this.timer.stop()}; +g.k.Wb=function(){var a=Date.now(),b=a-this.B;this.B=a;this.Ql+=b;this.Ql>=this.Gv()?(this.Ql=this.Gv(),u1(this,this.Ql/1E3,!0),x1(this,this.Ql),this.J()):(u1(this,this.Ql/1E3),x1(this,this.Ql))}; +g.k.YQ=function(){}; +g.k.Oi=function(){};g.u(y1,s1);g.k=y1.prototype;g.k.Up=function(){lY(this.yb().Aa,"metadata_type_player_bytes_callback_ref").current=this;this.shrunkenPlayerBytesConfig=lY(this.yb().Aa,"metadata_type_shrunken_player_bytes_config")}; +g.k.zq=function(){lY(this.yb().Aa,"metadata_type_player_bytes_callback_ref").current=null;this.B&&this.Tb.get().removeCueRange(this.B);this.B=void 0;this.I.dispose()}; +g.k.Gq=function(a){var b=lY(a.Aa,"metadata_type_ad_video_id"),c=lY(a.Aa,"metadata_type_legacy_info_card_vast_extension");b&&c&&this.qf.get().G.R().Y.add(b,{Xx:c});(b=lY(a.Aa,"metadata_type_sodar_extension_data"))&&XUa(this.ue.get(),b);VUa(this.Ba.get(),!1);(b=this.Da.get().G.R().experiments.fb("html5_load_ads_instead_of_cue"))?(c=this.oe.get(),a=lY(a.Aa,"metadata_type_player_vars"),c.G.loadVideoByPlayerVars(a,!1,2)):(c=this.oe.get(),a=lY(a.Aa,"metadata_type_player_vars"),c.G.cueVideoByPlayerVars(a, +2));this.I.start();b||this.oe.get().G.playVideo(2)}; +g.k.XQ=function(){this.I.stop();this.B="adcompletioncuerange:"+this.yb().layoutId;this.Tb.get().addCueRange(this.B,0x7ffffffffffff,0x8000000000000,!1,this,2,2);var a;(this.adCpn=(null==(a=this.Qa.get().Gf(2))?void 0:a.clientPlaybackNonce)||"")||eA("Media layout confirmed started, but ad CPN not set.");this.fd.get().Ka("onAdStart",this.adCpn)}; +g.k.XM=function(){this.J()}; +g.k.Gv=function(){var a;return null==(a=this.Qa.get().Gf(2))?void 0:a.playbackDurationMs}; +g.k.eE=function(){this.u.Mf("clickthrough")}; +g.k.Hq=function(){this.I.stop();VUa(this.Ba.get(),!0);var a;(null==(a=this.shrunkenPlayerBytesConfig)?0:a.shouldRequestShrunkenPlayerBytes)&&this.Ba.get().Kw(!1)}; +g.k.onCueRangeEnter=function(a){a!==this.B?eA("Received CueRangeEnter signal for unknown layout.",this.Xc(),this.yb(),{cueRangeId:a}):(this.Tb.get().removeCueRange(this.B),this.B=void 0,a=lY(this.yb().Aa,"metadata_type_video_length_seconds"),u1(this,a,!0),i0(this.Da.get(),"av_call_early_terminal_event")?t1(this,"complete"):W0(this.u,"complete"))}; +g.k.YQ=function(a){"abandoned"!==a&&this.fd.get().Ka("onAdComplete");this.fd.get().Ka("onAdEnd",this.adCpn)}; +g.k.onCueRangeExit=function(){}; +g.k.Oi=function(a){"rendering"===this.j&&(this.shrunkenPlayerBytesConfig&&this.shrunkenPlayerBytesConfig.shouldRequestShrunkenPlayerBytes&&a>=(this.shrunkenPlayerBytesConfig.playerProgressOffsetSeconds||0)&&this.Ba.get().Kw(!0),u1(this,a))};g.u(z1,j1);g.k=z1.prototype;g.k.Xc=function(){return this.j.Xc()}; +g.k.yb=function(){return this.j.yb()}; +g.k.Up=function(){this.j.init()}; +g.k.zq=function(){this.j.release()}; +g.k.Zs=function(){this.j.Zs()}; +g.k.Ct=function(){this.j.Ct()}; +g.k.Rz=function(a,b){eA("Unexpected onSkipRequested from PlayerBytesVodSingleLayoutRenderingAdapter. Skip should be handled by Triggers",this.Xc(),this.yb(),{requestingSlot:a,requestingLayout:b})}; +g.k.Gq=function(a){this.j.startRendering(a)}; +g.k.Hq=function(a,b){this.j.Yf(a,b)}; +g.k.Kc=function(a,b){this.j.Kc(a,b)}; +g.k.hd=function(a,b,c){j1.prototype.hd.call(this,a,b,c);this.j.hd(a,b,c);b.layoutId===this.yb().layoutId&&this.Nd.get().Ow()}; +g.k.jQ=function(){this.j.EC()}; +g.k.Oi=function(a){this.j.Oi(a)}; +g.k.jR=function(a){this.j.tj(a)}; +g.k.eg=function(a,b){this.j.Cz(a,b)}; +g.k.onFullscreenToggled=function(a){this.j.onFullscreenToggled(a)}; +g.k.Ug=function(a){this.j.Ug(a)}; +g.k.pj=function(a){this.j.pj(a)}; +g.k.onVolumeChange=function(){this.j.onVolumeChange()};A1.prototype.Se=function(a,b,c,d){if(a=uVa(a,b,c,d,this.gf,this.j,this.Pa,this.Db,this.ue,this.oe,this.Qa,this.Ba,this.Tb,this.Nd,this.fd,this.df,this.Hb,this.qf,this.Da))return a;throw new MZ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+mY(d.Aa)+" in PlayerBytesVodOnlyLayoutRenderingAdapterFactory.");};g.u(B1,g.K);g.k=B1.prototype;g.k.ZQ=function(a){if(!this.j){var b;null==(b=this.De)||b.get().rq(a.identifier);return!1}vVa(this,this.j,a);return!0}; +g.k.RQ=function(){}; +g.k.Pi=function(a){this.j&&this.j.contentCpn!==a&&(eA("Fetch instructions carried over from previous content video",void 0,void 0,{contentCpn:a,fetchInstructionsCpn:this.j.contentCpn}),this.j=null)}; +g.k.vl=function(a){this.j&&this.j.contentCpn!==a&&eA("Expected content video of the current fetch instructions to end",void 0,void 0,{contentCpn:a,fetchInstructionsCpn:this.j.contentCpn},!0);this.j=null}; +g.k.ea=function(){g.K.prototype.ea.call(this);this.j=null};g.u(C1,g.K);g.k=C1.prototype;g.k.Kc=function(a,b){var c=this;if("LAYOUT_TYPE_MEDIA"===b.layoutType&&CJ(b,this.B)){var d=this.Qa.get().Gf(2),e=this.j(b,d||void 0,this.Da.get().G.R().experiments.fb("enable_post_ad_perception_survey_in_tvhtml5"));e?Zz(this.Qb.get(),"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",function(){var f=[AUa(c.Ab.get(),e.contentCpn,e.Tw,function(h){return c.u(h.slotId,"core",e,rY(c.vb.get(),h))},e.BP)]; +e.instreamAdPlayerUnderlayRenderer&&LUa(c.Da.get())&&f.push(wVa(c,e,e.instreamAdPlayerUnderlayRenderer));return f}):eA("Expected MediaLayout to carry valid opportunity on entered",a,b)}}; +g.k.Th=function(){}; +g.k.vj=function(){}; +g.k.Vf=function(){}; +g.k.uj=function(){}; +g.k.Wf=function(){}; +g.k.fk=function(){}; +g.k.gk=function(){}; +g.k.rj=function(){}; +g.k.sj=function(){}; +g.k.Qi=function(){}; +g.k.hd=function(){};var y2=["metadata_type_content_cpn","metadata_type_player_bytes_callback_ref","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config"];g.k=AVa.prototype;g.k.init=function(){}; +g.k.Xc=function(){return this.slot}; +g.k.aC=function(){this.callback.Vf(this.slot)}; +g.k.cC=function(){this.callback.Wf(this.slot)}; +g.k.release=function(){};E1.prototype.Se=function(a,b){return new AVa(a,b)};g.k=BVa.prototype;g.k.init=function(){}; +g.k.Xc=function(){return this.slot}; +g.k.aC=function(){G0(this.Ba.get(),"ad-showing");this.callback.Vf(this.slot)}; +g.k.cC=function(){this.callback.Wf(this.slot);H0(this.Ba.get(),"ad-showing")}; +g.k.release=function(){};g.k=CVa.prototype;g.k.init=function(){}; +g.k.Xc=function(){return this.slot}; +g.k.aC=function(){G0(this.Ba.get(),"ad-showing");G0(this.Ba.get(),"ad-interrupting");this.u=this.Ba.get().isAtLiveHead();this.j=Math.ceil(Date.now()/1E3);this.callback.Vf(this.slot)}; +g.k.cC=function(){H0(this.Ba.get(),"ad-showing");H0(this.Ba.get(),"ad-interrupting");var a=this.u?Infinity:this.Ba.get().getCurrentTimeSec(1,!0)+Math.floor(Date.now()/1E3)-this.j;this.Ba.get().G.seekTo(a,void 0,void 0,1);this.callback.Wf(this.slot)}; +g.k.release=function(){};g.k=DVa.prototype;g.k.init=function(){}; +g.k.Xc=function(){return this.slot}; +g.k.aC=function(){G0(this.Ba.get(),"ad-showing");G0(this.Ba.get(),"ad-interrupting");this.callback.Vf(this.slot)}; +g.k.cC=function(){this.Ba.get().Sr();H0(this.Ba.get(),"ad-showing");H0(this.Ba.get(),"ad-interrupting");this.callback.Wf(this.slot)}; +g.k.release=function(){this.Ba.get().Sr()};F1.prototype.Se=function(a,b){if(aA(b,["metadata_type_dai"],"SLOT_TYPE_PLAYER_BYTES"))return new BVa(a,b,this.Ba);if(b.Mb instanceof I_&&aA(b,["metadata_type_served_from_live_infra"],"SLOT_TYPE_PLAYER_BYTES"))return new CVa(a,b,this.Ba);if(aA(b,[],"SLOT_TYPE_PLAYER_BYTES"))return new DVa(a,b,this.Ba);throw new BA("Unsupported slot with type "+b.slotType+" and client metadata: "+(mY(b.Aa)+" in PlayerBytesSlotAdapterFactory."));};g.u(H1,g.K);H1.prototype.j=function(a){for(var b=[],c=g.r(this.Lb.values()),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.trigger;e instanceof p_&&"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED"===d.category&&e.Df===a&&b.push(d)}b.length?TZ(this.MF(),b):eA("Mute requested but no registered triggers can be activated.")};g.u(I1,H1);g.k=I1.prototype;g.k.Ag=function(a,b){if(b)if("survey-submit"===a)EVa(this,b);else if("skip-button"===a){a=[];for(var c=g.r(this.Lb.values()),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.trigger;e instanceof p_&&"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED"===d.category&&e.Df===b&&a.push(d)}a.length&&TZ(this.MF(),a)}else"survey-single-select-answer-button"===a&&EVa(this,b)}; +g.k.fI=function(a){H1.prototype.j.call(this,a)}; +g.k.qk=function(a,b,c,d){if(this.Lb.has(b.triggerId))throw new BA("Tried to register duplicate trigger for slot.");if(!(b instanceof q_||b instanceof p_))throw new BA("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdUxUpdateTriggerAdapter.");this.Lb.set(b.triggerId,new G1(a,b,c,d))}; +g.k.Ck=function(a){this.Lb.delete(a.triggerId)}; +g.k.dI=function(){}; +g.k.cI=function(){}; +g.k.FC=function(){};g.u(J1,g.K);g.k=J1.prototype; +g.k.qk=function(a,b,c,d){if(this.Lb.has(b.triggerId))throw new BA("Tried to register duplicate trigger for slot.");if(!(b instanceof Z_||b instanceof $_||b instanceof a0||b instanceof b0||b instanceof c0||b instanceof d0||b instanceof N_||b instanceof V_||b instanceof o_||b instanceof x_||b instanceof M_||b instanceof U_))throw new BA("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdsControlFlowEventTriggerAdapter");a=new G1(a,b,c,d);this.Lb.set(b.triggerId,a);b instanceof +c0&&this.D.has(b.hh)&&TZ(this.j(),[a]);b instanceof Z_&&this.B.has(b.hh)&&TZ(this.j(),[a]);b instanceof V_&&this.u.has(b.Df)&&TZ(this.j(),[a])}; +g.k.Ck=function(a){this.Lb.delete(a.triggerId)}; +g.k.Th=function(a){this.D.add(a.slotId);for(var b=[],c=g.r(this.Lb.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof c0&&a.slotId===d.trigger.hh&&b.push(d);0tJ(a,16)){a=g.r(this.j);for(var b=a.next();!b.done;b=a.next())this.onCueRangeEnter(b.value,!0);this.j.clear()}}; +g.k.Th=function(){}; +g.k.vj=function(){}; +g.k.uj=function(){}; +g.k.Vf=function(){}; +g.k.Wf=function(){}; +g.k.fk=function(){}; +g.k.gk=function(){}; +g.k.rj=function(){}; +g.k.sj=function(){}; +g.k.Kc=function(a,b){a=g.r(this.Lb.values());for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.bundle.trigger;c=c.Or;if(L1(d)&&d.layoutId===b.layoutId){var e=1E3*this.Ba.get().getCurrentTimeSec(1,!1);d instanceof P_?d=0:(d=e+d.offsetMs,e=0x7ffffffffffff);this.Tb.get().addCueRange(c,d,e,!1,this)}}}; +g.k.hd=function(a,b,c){var d=this;a={};for(var e=g.r(this.Lb.values()),f=e.next();!f.done;a={jx:a.jx,Bn:a.Bn},f=e.next())f=f.value,a.Bn=f.bundle.trigger,a.jx=f.Or,L1(a.Bn)&&a.Bn.layoutId===b.layoutId?HUa(this.Tb.get(),a.jx):a.Bn instanceof W_&&a.Bn.layoutId===b.layoutId&&"user_cancelled"===c&&(this.Tb.get().removeCueRange(a.jx),g.Cv(g.Ev(),function(h){return function(){d.Tb.get().addCueRange(h.jx,h.Bn.El.start,h.Bn.El.end,h.Bn.visible,d)}}(a)))}; +g.k.Qi=function(){}; +g.k.Oi=function(){}; +g.k.onFullscreenToggled=function(){}; +g.k.Ug=function(){}; +g.k.pj=function(){}; +g.k.onVolumeChange=function(){}; +g.k.dk=function(){};g.u(O1,g.K);g.k=O1.prototype;g.k.qk=function(a,b,c,d){if(this.Lb.has(b.triggerId))throw new BA("Tried to register duplicate trigger for slot.");if(!(b instanceof t_||b instanceof Y_))throw new BA("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OnLayoutSelfRequestedTriggerAdapter");this.Lb.set(b.triggerId,new G1(a,b,c,d))}; +g.k.Ck=function(a){this.Lb.delete(a.triggerId)}; +g.k.Bp=function(){}; +g.k.ym=function(){}; +g.k.Kc=function(a,b){"SLOT_TYPE_ABOVE_FEED"===a.slotType&&(null!=this.j?eA("called onLayoutEntered with AboveFeedSlot but there is already a layout entered"):this.j=b.layoutId)}; +g.k.hd=function(a){"SLOT_TYPE_ABOVE_FEED"===a.slotType&&(this.j=null)}; +g.k.Th=function(){}; +g.k.vj=function(){}; +g.k.uj=function(){}; +g.k.Vf=function(a){"SLOT_TYPE_ABOVE_FEED"===a.slotType&&(null!=this.u?eA("called onSlotEntered with AboveFeedSlot but there is already a slot entered"):this.u=a.slotId)}; +g.k.Wf=function(a){"SLOT_TYPE_ABOVE_FEED"===a.slotType&&(null===this.u?eA("called onSlotExited with AboveFeedSlot but there is no entered slot"):this.u=null)}; +g.k.fk=function(){}; +g.k.gk=function(){}; +g.k.rj=function(){}; +g.k.sj=function(){}; +g.k.Qi=function(){}; +g.k.LB=function(){null!=this.j&&o1(this,this.j)}; +g.k.fC=function(a){if(null===this.u){for(var b=[],c=g.r(this.Lb.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof Y_&&d.trigger.slotId===a&&b.push(d);b.length&&TZ(this.B(),b)}};g.u(P1,g.K);g.k=P1.prototype;g.k.Qi=function(a,b){for(var c=[],d=g.r(this.Lb.values()),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.trigger;f.opportunityType===a&&(f.associatedSlotId&&f.associatedSlotId!==b||c.push(e))}c.length&&TZ(this.j(),c)}; +g.k.qk=function(a,b,c,d){if(this.Lb.has(b.triggerId))throw new BA("Tried to register duplicate trigger for slot.");if(!(b instanceof rUa))throw new BA("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OpportunityEventTriggerAdapter");this.Lb.set(b.triggerId,new G1(a,b,c,d))}; +g.k.Ck=function(a){this.Lb.delete(a.triggerId)}; +g.k.Th=function(){}; +g.k.vj=function(){}; +g.k.uj=function(){}; +g.k.Vf=function(){}; +g.k.Wf=function(){}; +g.k.fk=function(){}; +g.k.gk=function(){}; +g.k.rj=function(){}; +g.k.sj=function(){}; +g.k.Kc=function(){}; +g.k.hd=function(){};g.u(Q1,g.K);Q1.prototype.ea=function(){this.Xm.get().removeListener(this);g.K.prototype.ea.call(this)};g.u(R1,g.K);R1.prototype.ea=function(){this.Be.get().removeListener(this);g.K.prototype.ea.call(this)};S1.prototype.fetch=function(a){var b=a.pO;return this.lr.fetch(a.rT,{gy:void 0===a.gy?void 0:a.gy,Od:b}).then(function(c){return HVa(c,b)})};g.u(T1,g.K);g.k=T1.prototype;g.k.addListener=function(a){this.listeners.push(a)}; +g.k.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})}; +g.k.tE=function(a){IVa(this,a,1)}; +g.k.onAdUxClicked=function(a,b){U1(this,function(c){c.Ag(a,b)})}; +g.k.lJ=function(a){U1(this,function(b){b.dI(a)})}; +g.k.kJ=function(a){U1(this,function(b){b.cI(a)})}; +g.k.O_=function(a){U1(this,function(b){b.FC(a)})};g.u(V1,g.K);g.k=V1.prototype; +g.k.Pi=function(){this.C=new OJ(this,KUa(this.Da.get()));this.u=new PJ;var a=this.G.getVideoData(1);if(!a.enableServerStitchedDai){var b=this.G.getVideoData(1),c;(null==(c=this.j)?void 0:c.clientPlaybackNonce)!==b.clientPlaybackNonce&&(null!=this.j&&this.j.unsubscribe("cuepointupdated",this.sJ,this),b.subscribe("cuepointupdated",this.sJ,this),this.j=b)}this.FE.length=0;var d;b=(null==(d=a.j)?void 0:Qxa(d,0))||[];d=g.r(b);for(b=d.next();!b.done;b=d.next())b=b.value,this.mq(b)&&eA("Unexpected a GetAdBreak to go out without player waiting", +void 0,void 0,{cuePointId:b.identifier,cuePointEvent:b.event,contentCpn:a.clientPlaybackNonce})}; +g.k.vl=function(){}; +g.k.addListener=function(a){this.listeners.push(a)}; +g.k.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})}; +g.k.GJ=function(a){this.FE.push(a);for(var b=!1,c=g.r(this.listeners),d=c.next();!d.done;d=c.next())b=d.value.ZQ(a)||b;this.B=b}; +g.k.SQ=function(a){g.sc(this.u.j,1E3*a);for(var b=g.r(this.listeners),c=b.next();!c.done;c=b.next())c.value.RQ(a)}; +g.k.mq=function(a){KVa(this,a);this.C.reduce(a);a=this.B;this.B=!1;return a}; +g.k.sJ=function(a){var b=this.G.getVideoData(1).isDaiEnabled();if(b||!g.nG(this.G.R())){a=g.r(a);for(var c=a.next();!c.done;c=a.next())c=c.value,KVa(this,c),b?this.C.reduce(c):0!==this.G.getCurrentTime(1)&&"start"===c.event&&this.GJ(c)}}; +g.k.ea=function(){null!=this.j&&(this.j.unsubscribe("cuepointupdated",this.sJ,this),this.j=null);this.listeners.length=0;this.FE.length=0;g.K.prototype.ea.call(this)};Y1.prototype.addListener=function(a){this.listeners.push(a)}; +Y1.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})};g.k=MVa.prototype;g.k.Xc=function(){return this.slot}; +g.k.yb=function(){return this.layout}; +g.k.init=function(){this.Ba.get().addListener(this);this.Ba.get().RB.push(this)}; +g.k.release=function(){this.Ba.get().removeListener(this);SUa(this.Ba.get(),this)}; +g.k.startRendering=function(a){this.callback.Kc(this.slot,a)}; +g.k.Yf=function(a,b){this.callback.hd(this.slot,a,b)}; +g.k.dk=function(a){switch(a.id){case "part2viewed":W0(this.j,"start");break;case "videoplaytime25":W0(this.j,"first_quartile");break;case "videoplaytime50":W0(this.j,"midpoint");break;case "videoplaytime75":W0(this.j,"third_quartile");break;case "videoplaytime100":W0(this.j,"complete");break;case "engagedview":if(!q0(this.Da.get())){W0(this.j,"progress");break}cVa(this.j)||W0(this.j,"progress");break;case "conversionview":case "videoplaybackstart":case "videoplayback2s":case "videoplayback10s":break; +default:eA("Cue Range ID unknown in DiscoveryLayoutRenderingAdapter",this.slot,this.layout)}}; +g.k.onVolumeChange=function(){}; +g.k.pj=function(){}; +g.k.Ug=function(){}; +g.k.onFullscreenToggled=function(){}; +g.k.tj=function(){}; +g.k.Oi=function(){}; +g.k.OQ=function(a){q0(this.Da.get())&&cVa(this.j)&&Y0(this.j,1E3*a,!1)};NVa.prototype.Se=function(a,b,c,d){b=["metadata_type_ad_placement_config"];for(var e=g.r(U0()),f=e.next();!f.done;f=e.next())b.push(f.value);if(R0(d,{me:b,yf:["LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER"]}))return new MVa(a,c,d,this.Ba,this.Pa,this.Da);throw new MZ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+mY(d.Aa)+" in PlaybackTrackingLayoutRenderingAdapterFactory.");};g.k=Z1.prototype;g.k.Xc=function(){return this.slot}; +g.k.yb=function(){return this.layout}; +g.k.init=function(){this.Ie.get().addListener(this);this.Ba.get().addListener(this);this.Up();var a=lY(this.layout.Aa,"metadata_type_layout_enter_ms"),b=lY(this.layout.Aa,"metadata_type_layout_exit_ms"),c,d=null==(c=this.Qa.get().Pr)?void 0:c.clientPlaybackNonce;c=this.layout.vc.adClientDataEntry;A0(this.Pa.get(),{daiStateTrigger:{filledAdsDurationMs:b-a,contentCpn:d,adClientData:c}});var e=this.Ie.get();e=QJ(e.u,a,b);null!==e&&(A0(this.Pa.get(),{daiStateTrigger:{filledAdsDurationMs:e-a,contentCpn:d, +cueDurationChange:"DAI_CUE_DURATION_CHANGE_SHORTER",adClientData:c}}),this.De.get().Gr(e,b))}; +g.k.release=function(){this.zq();this.Ie.get().removeListener(this);this.Ba.get().removeListener(this)}; +g.k.startRendering=function(){this.Gq();this.callback.Kc(this.slot,this.layout)}; +g.k.Yf=function(a,b){this.Hq(b);null!==this.driftRecoveryMs&&($1(this,{driftRecoveryMs:this.driftRecoveryMs.toString(),breakDurationMs:Math.round(OVa(this)-lY(this.layout.Aa,"metadata_type_layout_enter_ms")).toString(),driftFromHeadMs:Math.round(1E3*this.Ba.get().G.Kp()).toString()}),this.driftRecoveryMs=null);this.callback.hd(this.slot,this.layout,b)}; +g.k.ZQ=function(){return!1}; +g.k.RQ=function(a){var b=lY(this.layout.Aa,"metadata_type_layout_enter_ms"),c=lY(this.layout.Aa,"metadata_type_layout_exit_ms");a*=1E3;if(b<=a&&aa.width&&i2(this.C,this.layout)}; +g.k.onVolumeChange=function(){}; +g.k.Oi=function(){}; +g.k.onFullscreenToggled=function(){}; +g.k.Ug=function(){}; +g.k.tj=function(){}; +g.k.dk=function(){}; +g.k.ea=function(){b1.prototype.ea.call(this)}; +g.k.release=function(){b1.prototype.release.call(this);this.Ba.get().removeListener(this)};xWa.prototype.Se=function(a,b,c,d){if(b=h1(a,c,d,this.Xb,this.Ba,this.Pa,this.C,this.j))return b;if(R0(d,tWa()))return new v2(c,d,this.Pa,this.Db,this.Xb,a,this.u,this.B,this.Ba,this.Hb,this.Da,this.j,new w2(this.Ba));if(R0(d,sWa()))return new u2(c,d,this.Pa,this.Db,this.Xb,a,this.u,this.Ba,this.Hb,this.Da,this.j,new w2(this.Ba));if(R0(d,{me:["METADATA_TYPE_VALID_INSTREAM_SURVEY_AD_RENDERER_FOR_VOD"],yf:["LAYOUT_TYPE_SURVEY"]}))return new wWa(c,d,a,this.Xb,this.u,this.Ba,this.Da);if(R0(d,{me:["metadata_type_player_bytes_layout_controls_callback_ref", +"metadata_type_valid_survey_text_interstitial_renderer","metadata_type_ad_placement_config"],yf:["LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT"]}))return new q2(c,d,a,this.Xb,this.Pa);if(R0(d,{me:["metadata_type_valid_ad_message_renderer"],yf:["LAYOUT_TYPE_TEXT_BANNER_OVERLAY"]}))return new uWa(c,d,a,this.Xb,this.Ba,this.Da);throw new MZ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+mY(d.Aa)+" in WebDesktopMainInPlayerLayoutRenderingAdapterFactory.");};g.u(x2,g.K);g.k=x2.prototype;g.k.qk=function(a,b,c,d){if(this.Lb.has(b.triggerId))throw new BA("Tried to register duplicate trigger for slot.");if(!(b instanceof w_))throw new BA("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");this.Lb.set(b.triggerId,new G1(a,b,c,d));a=this.j.has(b.Df)?this.j.get(b.Df):new Set;a.add(b);this.j.set(b.Df,a)}; +g.k.Ck=function(a){this.Lb.delete(a.triggerId);if(!(a instanceof w_))throw new BA("Incorrect TriggerType: Tried to unregister trigger of type "+a.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");var b=this.u.get(a.triggerId);b&&(b.dispose(),this.u.delete(a.triggerId));if(b=this.j.get(a.Df))b.delete(a),0===b.size&&this.j.delete(a.Df)}; +g.k.Th=function(){}; +g.k.vj=function(){}; +g.k.uj=function(){}; +g.k.Vf=function(){}; +g.k.Wf=function(){}; +g.k.fk=function(){}; +g.k.gk=function(){}; +g.k.rj=function(){}; +g.k.sj=function(){}; +g.k.Qi=function(){}; +g.k.Kc=function(a,b){var c=this;if(this.j.has(b.layoutId)){b=this.j.get(b.layoutId);a={};b=g.r(b);for(var d=b.next();!d.done;a={kx:a.kx},d=b.next())a.kx=d.value,d=new g.Zn(function(e){return function(){var f=c.Lb.get(e.kx.triggerId);TZ(c.B(),[f])}}(a),a.kx.durationMs),d.start(),this.u.set(a.kx.triggerId,d)}}; +g.k.hd=function(){};g.u(zWa,g.K);AWa.prototype.Se=function(a,b,c,d){if(b=h1(a,c,d,this.Xb,this.Ba,this.Pa,this.C,this.j))return b;if(R0(d,tWa()))return new v2(c,d,this.Pa,this.Db,this.Xb,a,this.u,this.B,this.Ba,this.Hb,this.Da,this.j,new w2(this.Ba));if(R0(d,sWa()))return new u2(c,d,this.Pa,this.Db,this.Xb,a,this.u,this.Ba,this.Hb,this.Da,this.j,new w2(this.Ba));throw new MZ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+mY(d.Aa)+" in WebEmbeddedInPlayerLayoutRenderingAdapterFactory.");};g.u(BWa,g.K);g.u(CWa,g.K);g.u(DWa,g.K);g.u(z2,g1);z2.prototype.startRendering=function(a){g1.prototype.startRendering.call(this,a);lY(this.layout.Aa,"metadata_ad_video_is_listed")&&(a=lY(this.layout.Aa,"metadata_type_ad_info_ad_metadata"),this.Sk.get().G.Ka("onAdMetadataAvailable",a))};FWa.prototype.Se=function(a,b,c,d){if(R0(d,EWa()))return new z2(a,c,d,this.Xb,this.Ba,this.Pa,this.u,this.Sk,this.j);throw new MZ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+mY(d.Aa)+" in WebRemixInPlayerLayoutRenderingAdapterFactory.");};g.u(GWa,g.K);HWa.prototype.Se=function(a,b,c,d){if(R0(d,EWa()))return new z2(a,c,d,this.Xb,this.Ba,this.Pa,this.u,this.Sk,this.j);if(a=h1(a,c,d,this.Xb,this.Ba,this.Pa,this.u,this.j))return a;throw new MZ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+mY(d.Aa)+" in WebUnpluggedInPlayerLayoutRenderingAdapterFactory.");};g.u(IWa,g.K);g.u(KWa,g.K);KWa.prototype.B=function(){return this.u};B2.prototype.fC=function(a){this.lm.fC(a)}; +B2.prototype.LB=function(){try{this.lm.LB()}catch(a){}}; +B2.prototype.Bp=function(){this.j().Bp()}; +B2.prototype.ym=function(){this.j().ym()};g.u(LWa,yL); +LWa.prototype.C=function(a){var b=a.content;if("shopping-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1);this.j.Ka("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,shoppingCompanionCarouselRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.u,interactionLoggingClientData:b.j});break;case 3:this.j.Ka("updateKevlarOrC3Companion",{})}else if("action-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1); +this.j.Ka("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,actionCompanionAdRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.u,interactionLoggingClientData:b.j});break;case 3:b.renderer&&(b=this.j.getVideoData(1),this.j.Ka("updateKevlarOrC3Companion",{contentVideoId:b&&b.videoId})),this.j.Ka("updateKevlarOrC3Companion",{})}else if("image-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1);this.j.Ka("updateKevlarOrC3Companion", +{contentVideoId:a&&a.videoId,imageCompanionAdRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.u,interactionLoggingClientData:b.j});break;case 3:b=this.j.getVideoData(1),this.j.Ka("updateKevlarOrC3Companion",{contentVideoId:b&&b.videoId}),this.j.Ka("updateKevlarOrC3Companion",{})}else if("ads-engagement-panel"===b.componentType)switch(b=b.renderer,a.actionType){case 1:case 2:this.j.Ka("updateEngagementPanelAction",b.addAction);this.j.Ka("changeEngagementPanelVisibility", +b.expandAction);break;case 3:this.j.Ka("changeEngagementPanelVisibility",b.hideAction),this.j.Ka("updateEngagementPanelAction",b.removeAction)}};g.u(MWa,GL);g.k=MWa.prototype;g.k.init=function(a,b,c){GL.prototype.init.call(this,a,b,c);g.yl(this.C,"stroke-dasharray","0 "+this.B);this.show()}; +g.k.clear=function(){this.hide()}; +g.k.hide=function(){IL(this);GL.prototype.hide.call(this)}; +g.k.show=function(){HL(this);GL.prototype.show.call(this)}; +g.k.qt=function(){this.hide()}; +g.k.xq=function(){if(this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&g.yl(this.C,"stroke-dasharray",a.current/a.seekableEnd*this.B+" "+this.B)}};g.u(NWa,$K);g.k=NWa.prototype; +g.k.init=function(a,b,c){$K.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.backgroundImage&&b.backgroundImage.thumbnail)if(b.actionButton&&b.actionButton.buttonRenderer)if(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a)g.qz(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+a));else if(b.navigationEndpoint){var d=this.api.getVideoData(2);if(null!=d){var e=b.image.thumbnail.thumbnails;null!= +e&&0=this.C?(this.I.hide(),this.N=!0):this.messageText&&this.messageText.isTemplated()&&(a=Math.max(0,Math.ceil((this.C-a)/1E3)),a!==this.W&&(FL(this.messageText,{TIME_REMAINING:String(a)}),this.W=a)))}};g.u(cXa,$K);g.k=cXa.prototype; +g.k.init=function(a,b,c){$K.prototype.init.call(this,a,b,{});if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.actionButton&&b.actionButton.buttonRenderer){this.C.init(FI("ad-image"),b.image,c);this.B.init(FI("ad-text"),b.headline,c);this.D.init(FI("ad-text"),b.description,c);a=["ytp-ad-underlay-action-button"];this.api.R().K("use_blue_buttons_for_desktop_player_underlay")&&a.push("ytp-ad-underlay-action-button-blue");this.actionButton=new oL(this.api,this.bb,this.layoutId,this.j, +this.Wa,a);if(b.backgroundColor){a=this.element;var d=b.backgroundColor;d&=16777215;var e=[(d&16711680)>>16,(d&65280)>>8,d&255];d=e[0];var f=e[1];e=e[2];d=Number(d);f=Number(f);e=Number(e);if(d!=(d&255)||f!=(f&255)||e!=(e&255))throw Error('"('+d+","+f+","+e+'") is not a valid RGB color');f=d<<16|f<<8|e;d=16>d?"#"+(16777216|f).toString(16).slice(1):"#"+f.toString(16);g.yl(a,"background-color",d)}g.M(this,this.actionButton);this.actionButton.xa(this.I);this.actionButton.init(FI("button"),b.actionButton.buttonRenderer, +c);b=g.TE(this.api.R().experiments,"player_underlay_video_width_fraction");this.api.R().K("place_shrunken_video_on_left_of_player")?(c=this.u,g.jo(c,"ytp-ad-underlay-left-container"),g.ho(c,"ytp-ad-underlay-right-container"),g.yl(this.u,"margin-left",Math.round(100*(b+.02))+"%")):(c=this.u,g.jo(c,"ytp-ad-underlay-right-container"),g.ho(c,"ytp-ad-underlay-left-container"));g.yl(this.u,"width",Math.round(100*(1-b-.04))+"%");this.api.VC()&&this.show();this.api.addEventListener("playerUnderlayVisibilityChange", +this.UL.bind(this));this.api.addEventListener("resize",this.nP.bind(this))}else g.qz(Error("InstreamAdPlayerUnderlayRenderer has no button."));else g.qz(Error("InstreamAdPlayerUnderlayRenderer has no description AdText."));else g.qz(Error("InstreamAdPlayerUnderlayRenderer has no headline AdText."));else g.qz(Error("InstreamAdPlayerUnderlayRenderer has no image."))}; +g.k.show=function(){dXa(!0);this.actionButton&&this.actionButton.show();$K.prototype.show.call(this)}; +g.k.hide=function(){dXa(!1);this.actionButton&&this.actionButton.hide();$K.prototype.hide.call(this)}; +g.k.clear=function(){this.api.removeEventListener("playerUnderlayVisibilityChange",this.UL.bind(this));this.api.removeEventListener("resize",this.nP.bind(this));this.hide()}; +g.k.onClick=function(a){$K.prototype.onClick.call(this,a);this.actionButton&&g.sh(this.actionButton.element,a.target)&&this.api.pauseVideo()}; +g.k.UL=function(a){"transitioning"===a?(this.u.classList.remove("ytp-ad-underlay-clickable"),this.show()):"visible"===a?this.u.classList.add("ytp-ad-underlay-clickable"):"hidden"===a&&(this.hide(),this.u.classList.remove("ytp-ad-underlay-clickable"))}; +g.k.nP=function(a){1200a?g.qz(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+a)):b.timeoutCommands?b.text?b.ctaButton&&b.ctaButton.buttonRenderer?b.brandImage?b.backgroundImage&&b.backgroundImage.thumbnailLandscapePortraitRenderer&&b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape?(this.layoutId||g.qz(Error("Missing layoutId for survey interstitial.")),nXa(this.interstitial, +b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape),nXa(this.logoImage,b.brandImage),g.th(this.text,g.zA(b.text)),this.actionButton=new oL(this.api,this.bb,this.layoutId,this.j,this.Wa,["ytp-ad-survey-interstitial-action-button"]),g.M(this,this.actionButton),this.actionButton.xa(this.B),this.actionButton.init(FI("button"),b.ctaButton.buttonRenderer,c),this.actionButton.show(),this.u=new VL(this.api,1E3*a),this.u.subscribe("g",function(){d.transition.hide()}),g.M(this,this.u),this.P(this.element, +"click",function(e){var f=e.target===d.interstitial; +e=d.actionButton.element.contains(e.target);if(f||e)if(d.transition.hide(),f)d.api.onAdUxClicked(d.componentType,d.layoutId)}),this.transition.show(100)):g.qz(Error("SurveyTextInterstitialRenderer has no landscape background image.")):g.qz(Error("SurveyTextInterstitialRenderer has no brandImage.")):g.qz(Error("SurveyTextInterstitialRenderer has no button.")):g.qz(Error("SurveyTextInterstitialRenderer has no text.")):g.qz(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; +K2.prototype.clear=function(){this.hide()}; +K2.prototype.show=function(){oXa(!0);$K.prototype.show.call(this)}; +K2.prototype.hide=function(){oXa(!1);$K.prototype.hide.call(this)};var U0a="ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser".split(" ").concat(["shopping-companion","action-companion","image-companion","ads-engagement-panel"]);g.u(L2,yL); +L2.prototype.C=function(a){var b=a.id,c=a.content,d=c.componentType;if(!U0a.includes(d))switch(a.actionType){case 1:a=this.J();var e=this.api,f=this.Wa,h=c.layoutId,l=c.j,m=c instanceof xJ?c.LK:!1,n=c instanceof xJ||c instanceof UL?c.rE:!1;l=void 0===l?{}:l;m=void 0===m?!1:m;n=void 0===n?!1:n;switch(d){case "invideo-overlay":a=new SWa(e,a,h,l,f);break;case "player-overlay":a=new fM(e,a,h,l,f,new TO(e),n);break;case "survey":a=new J2(e,a,h,l,f);break;case "ad-action-interstitial":a=new NWa(e,a,h,l, +f,m,n);break;case "survey-interstitial":a=new K2(e,a,h,l,f);break;case "ad-message":a=new aXa(e,a,h,l,f,new TO(e,1));break;case "player-underlay":a=new cXa(e,a,h,l,f);break;default:a=null}if(!a){g.rz(Error("No UI component returned from ComponentFactory for type: "+d));break}g.yf(this.u,b)?g.rz(Error("Ad UI component already registered: "+b)):this.u[b]=a;a.bind(c);c instanceof o2?this.B?this.B.append(a.rK):g.qz(Error("Underlay view was not created but UnderlayRenderer was created")):this.D.append(a.rK); +break;case 2:b=pXa(this,a);if(null==b)break;b.bind(c);break;case 3:c=pXa(this,a),null!=c&&(g.af(c),g.yf(this.u,b)?g.Df(this.u,b):g.rz(Error("Ad UI component does not exist: "+b)))}}; +L2.prototype.ea=function(){g.bf(Object.values(this.u));this.u={};yL.prototype.ea.call(this)};g.u(qXa,g.bO);g.k=qXa.prototype;g.k.create=function(){try{rXa(this),this.load(),this.created=!0,rXa(this)}catch(a){eA(a instanceof Error?a:String(a))}}; +g.k.load=function(){g.bO.prototype.load.call(this);var a=A2(this.j).oh;Nua(a.G.R().K("html5_reduce_ecatcher_errors"));try{this.player.getRootNode().classList.add("ad-created")}catch(l){eA(l instanceof Error?l:String(l))}var b=this.B(),c=this.player.getVideoData(1),d=c&&c.videoId||"",e=c&&c.getPlayerResponse()||{},f=(e&&e.adPlacements||[]).map(function(l){return l.adPlacementRenderer}); +e=e.playerConfig&&e.playerConfig.daiConfig&&e.playerConfig.daiConfig.enableDai||!1;var h=c&&c.nf()||!1;a=wXa(f,a,e,h,A2(this.j).il);f=c&&c.clientPlaybackNonce||"";c=c&&c.Dr||!1;h=1E3*this.player.getDuration(1);this.bb=new QK(this,this.player,this.lr,b,A2(this.j));wEa(this.bb,a.Vx);this.j.j.lq.Pi(f,h,c,a.HD,a.HD.concat(a.Vx),e,d);RK(this.bb)}; +g.k.destroy=function(){var a=this.player.getVideoData(1);this.j.j.lq.vl(a&&a.clientPlaybackNonce||"");this.unload();this.created=!1}; +g.k.unload=function(){g.bO.prototype.unload.call(this);Nua(!1);try{this.player.getRootNode().classList.remove("ad-created")}catch(b){eA(b instanceof Error?b:String(b))}if(null!==this.bb){var a=this.bb;this.bb=null;a.dispose()}null!=this.u&&(a=this.u,this.u=null,a.dispose());this.lr.reset()}; +g.k.xj=function(){return!1}; +g.k.MK=function(){return null===this.bb?!1:this.bb.MK()}; +g.k.Zm=function(a){null!==this.bb&&this.bb.Zm(a)}; +g.k.getAdState=function(){return this.bb?this.bb.OC:-1}; +g.k.getOptions=function(){return Object.values(T0a)}; +g.k.xg=function(a,b){b=void 0===b?{}:b;switch(a){case "replaceUrlMacros":return a=b,a.url?(b=$I(this.player),Object.assign(b,a.l2a),this.bb&&!b.AD_CPN&&(b.AD_CPN=this.bb.nC()),a=g.Sn(a.url,b)):a=null,a;case "onAboutThisAdPopupClosed":this.kq(b);break;case "executeCommand":this.executeCommand(b);break;default:return null}}; +g.k.mq=function(a){var b;return!(null==(b=this.j.j.Ie)||!b.get().mq(a))}; +g.k.kq=function(a){a.isMuted&&lEa(this.bb,A2(this.j).Mi,A2(this.j).Zj,a.layoutId);this.Su&&this.Su.kq()}; +g.k.executeCommand=function(a){A2(this.j).Wa.executeCommand(a.command,a.layoutId)};g.aO("ad",qXa);var yXa=g.Dc&&xXa();g.u(g.M2,g.X);g.M2.prototype.onClick=function(){this.G.Ka("onExpandMiniplayer")};})(_yt_player); diff --git a/DreamBooth_files/bibtex.txt b/DreamBooth_files/bibtex.txt new file mode 100644 index 0000000..e9e3034 --- /dev/null +++ b/DreamBooth_files/bibtex.txt @@ -0,0 +1,6 @@ +@article{ruiz2022dreambooth, + title={DreamBooth: Fine Tuning Text-to-image Diffusion Models for Subject-Driven Generation}, + author={Ruiz, Nataniel and Li, Yuanzhen and Jampani, Varun and Pritch, Yael and Rubinstein, Michael and Aberman, Kfir}, + booktitle={arXiv preprint arxiv:2208.12242}, + year={2022} +} diff --git a/DreamBooth_files/cast_sender(1).js b/DreamBooth_files/cast_sender(1).js new file mode 100644 index 0000000..9ee7480 --- /dev/null +++ b/DreamBooth_files/cast_sender(1).js @@ -0,0 +1,105 @@ +(function(){/* + + Copyright The Closure Library Authors. + SPDX-License-Identifier: Apache-2.0 +*/ +'use strict';var f,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(h){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(h||"")+"_"+d++,h)};return e}); +da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c>>0),ma=0,na=function(a, +b,c){return a.call.apply(a.bind,arguments)},oa=function(a,b,c){if(!a)throw Error();if(2/g,xa=/"/g,ya=/'/g,za=/\x00/g,Aa=/[\x00&<>"']/;function Ba(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}function B(a){return-1!=Ba().indexOf(a)};var Ca={},C=function(a,b,c){this.g=c===Ca?a:""};C.prototype.toString=function(){return this.g.toString()};var Da=function(a){if(a instanceof C&&a.constructor===C)return a.g;ra("expected object of type SafeHtml, got '"+a+"' of type "+la(a));return"type_error:SafeHtml"},Ea=new C(r.trustedTypes&&r.trustedTypes.emptyHTML||"",0,Ca);var Fa={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Ga=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=Da(Ea);return!b.parentElement});var Ia=function(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=r.document.createElement("div");return a.replace(Ha,function(d,e){var h=b[d];if(h)return h;"#"==e.charAt(0)&&(e=Number("0"+e.slice(1)),isNaN(e)||(h=String.fromCharCode(e)));if(!h){h=d+" ";if(void 0===A){e=null;var k=r.trustedTypes;if(k&&k.createPolicy){try{e=k.createPolicy("goog#html",{createHTML:y,createScript:y,createScriptURL:y})}catch(l){r.console&&r.console.error(l.message)}A=e}else A=e}h=(e=A)?e.createHTML(h):h; +h=new C(h,null,Ca);if(c.tagName&&Fa[c.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+c.tagName+".");if(Ga())for(;c.lastChild;)c.removeChild(c.lastChild);c.innerHTML=Da(h);h=c.firstChild.nodeValue.slice(0,-1)}return b[d]=h})},Ja=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})}, +Ha=/&([^;\s<&]+);?/g;chrome.cast.Xa=function(a,b,c,d,e){this.sessionRequest=a;this.sessionListener=b;this.receiverListener=c;this.autoJoinPolicy=d||chrome.cast.ja.TAB_AND_ORIGIN_SCOPED;this.defaultActionPolicy=e||chrome.cast.ma.CREATE_SESSION;this.customDialLaunchCallback=null;this.invisibleSender=!1;this.additionalSessionRequests=[]};x("chrome.cast.ApiConfig",chrome.cast.Xa);chrome.cast.ib=function(a,b){this.appName=a;this.launchParameter=b||null};x("chrome.cast.DialRequest",chrome.cast.ib); +chrome.cast.gb=function(a,b,c){this.receiver=a;this.appState=b;this.extraData=c||null};x("chrome.cast.DialLaunchData",chrome.cast.gb);chrome.cast.hb=function(a,b){this.doLaunch=a;this.launchParameter=b||null};x("chrome.cast.DialLaunchResponse",chrome.cast.hb); +chrome.cast.Hb=function(a,b,c,d,e){c=void 0===c?chrome.cast.timeout.requestSession:c;this.appId=a;this.capabilities=Array.isArray(b)?b:[];this.requestSessionTimeout=c;this.dialRequest=this.language=null;this.androidReceiverCompatible=void 0===d?!1:d;this.credentialsData=void 0===e?null:e};x("chrome.cast.SessionRequest",chrome.cast.Hb); +chrome.cast.Ab=function(a,b,c,d){this.label=a;a=b;Aa.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(ua,"&")),-1!=a.indexOf("<")&&(a=a.replace(va,"<")),-1!=a.indexOf(">")&&(a=a.replace(wa,">")),-1!=a.indexOf('"')&&(a=a.replace(xa,""")),-1!=a.indexOf("'")&&(a=a.replace(ya,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(za,"�")));this.friendlyName=a;this.capabilities=c||[];this.volume=d||null;this.receiverType=chrome.cast.Aa.CAST;this.displayStatus=this.isActiveInput=null}; +x("chrome.cast.Receiver",chrome.cast.Ab);chrome.cast.Cb=function(a,b){this.statusText=a;this.appImages=b;this.showStop=null};x("chrome.cast.ReceiverDisplayStatus",chrome.cast.Cb);chrome.cast.Da=function(){this.requestSession=6E4;this.getDialAppInfo=this.sendCustomMessage=this.setReceiverVolume=this.stopSession=this.leaveSession=3E3};x("chrome.cast.Timeout",chrome.cast.Da);chrome.cast.timeout=new chrome.cast.Da;x("chrome.cast.timeout",chrome.cast.timeout);chrome.cast.Wa="auto-join"; +chrome.cast.ub="cast-session_";chrome.cast.media.nb={SDR:"sdr",HDR:"hdr",DV:"dv"};x("chrome.cast.media.HdrType",chrome.cast.media.nb);chrome.cast.media.ob={AAC:"aac",AC3:"ac3",MP3:"mp3",TS:"ts",TS_AAC:"ts_aac",E_AC3:"e_ac3",FMP4:"fmp4"};x("chrome.cast.media.HlsSegmentFormat",chrome.cast.media.ob);chrome.cast.media.pb={MPEG2_TS:"mpeg2_ts",FMP4:"fmp4"};x("chrome.cast.media.HlsVideoSegmentFormat",chrome.cast.media.pb);chrome.cast.media.sb={PAUSE:"pause",SEEK:"seek",STREAM_VOLUME:"stream_volume",STREAM_MUTE:"stream_mute"}; +x("chrome.cast.media.MediaCommand",chrome.cast.media.sb);chrome.cast.media.yb={ALBUM:"ALBUM",PLAYLIST:"PLAYLIST",AUDIOBOOK:"AUDIOBOOK",RADIO_STATION:"RADIO_STATION",PODCAST_SERIES:"PODCAST_SERIES",TV_SERIES:"TV_SERIES",VIDEO_PLAYLIST:"VIDEO_PLAYLIST",LIVE_TV:"LIVE_TV",MOVIE:"MOVIE"};x("chrome.cast.media.QueueType",chrome.cast.media.yb);chrome.cast.media.W={GENERIC_CONTAINER:0,AUDIOBOOK_CONTAINER:1};x("chrome.cast.media.ContainerType",chrome.cast.media.W); +chrome.cast.media.G={GENERIC:0,MOVIE:1,TV_SHOW:2,MUSIC_TRACK:3,PHOTO:4,AUDIOBOOK_CHAPTER:5};x("chrome.cast.media.MetadataType",chrome.cast.media.G);chrome.cast.media.F={IDLE:"IDLE",PLAYING:"PLAYING",PAUSED:"PAUSED",BUFFERING:"BUFFERING"};x("chrome.cast.media.PlayerState",chrome.cast.media.F);chrome.cast.media.X={OFF:"REPEAT_OFF",ALL:"REPEAT_ALL",SINGLE:"REPEAT_SINGLE",ALL_AND_SHUFFLE:"REPEAT_ALL_AND_SHUFFLE"};x("chrome.cast.media.RepeatMode",chrome.cast.media.X); +chrome.cast.media.Db={PLAYBACK_START:"PLAYBACK_START",PLAYBACK_PAUSE:"PLAYBACK_PAUSE"};x("chrome.cast.media.ResumeState",chrome.cast.media.Db);chrome.cast.media.Ca={BUFFERED:"BUFFERED",LIVE:"LIVE",OTHER:"OTHER"};x("chrome.cast.media.StreamType",chrome.cast.media.Ca);chrome.cast.media.qb={CANCELLED:"CANCELLED",INTERRUPTED:"INTERRUPTED",FINISHED:"FINISHED",ERROR:"ERROR"};x("chrome.cast.media.IdleReason",chrome.cast.media.qb);chrome.cast.media.Pb={TEXT:"TEXT",AUDIO:"AUDIO",VIDEO:"VIDEO"}; +x("chrome.cast.media.TrackType",chrome.cast.media.Pb);chrome.cast.media.Mb={SUBTITLES:"SUBTITLES",CAPTIONS:"CAPTIONS",DESCRIPTIONS:"DESCRIPTIONS",CHAPTERS:"CHAPTERS",METADATA:"METADATA"};x("chrome.cast.media.TextTrackType",chrome.cast.media.Mb);chrome.cast.media.Ib={NONE:"NONE",OUTLINE:"OUTLINE",DROP_SHADOW:"DROP_SHADOW",RAISED:"RAISED",DEPRESSED:"DEPRESSED"};x("chrome.cast.media.TextTrackEdgeType",chrome.cast.media.Ib);chrome.cast.media.Nb={NONE:"NONE",NORMAL:"NORMAL",ROUNDED_CORNERS:"ROUNDED_CORNERS"}; +x("chrome.cast.media.TextTrackWindowType",chrome.cast.media.Nb);chrome.cast.media.Jb={SANS_SERIF:"SANS_SERIF",MONOSPACED_SANS_SERIF:"MONOSPACED_SANS_SERIF",SERIF:"SERIF",MONOSPACED_SERIF:"MONOSPACED_SERIF",CASUAL:"CASUAL",CURSIVE:"CURSIVE",SMALL_CAPITALS:"SMALL_CAPITALS"};x("chrome.cast.media.TextTrackFontGenericFamily",chrome.cast.media.Jb);chrome.cast.media.Kb={NORMAL:"NORMAL",BOLD:"BOLD",BOLD_ITALIC:"BOLD_ITALIC",ITALIC:"ITALIC"};x("chrome.cast.media.TextTrackFontStyle",chrome.cast.media.Kb); +chrome.cast.media.Qb={LIKE:"LIKE",DISLIKE:"DISLIKE",FOLLOW:"FOLLOW",UNFOLLOW:"UNFOLLOW"};x("chrome.cast.media.UserAction",chrome.cast.media.Qb);chrome.cast.media.oa=function(){this.customData=null};x("chrome.cast.media.GetStatusRequest",chrome.cast.media.oa);chrome.cast.media.sa=function(){this.customData=null};x("chrome.cast.media.PauseRequest",chrome.cast.media.sa);chrome.cast.media.ua=function(){this.customData=null};x("chrome.cast.media.PlayRequest",chrome.cast.media.ua);chrome.cast.media.Eb=function(){this.customData=this.resumeState=this.currentTime=null};x("chrome.cast.media.SeekRequest",chrome.cast.media.Eb); +chrome.cast.media.Ba=function(){this.customData=null};x("chrome.cast.media.StopRequest",chrome.cast.media.Ba);chrome.cast.media.Vb=function(a){this.volume=a;this.customData=null};x("chrome.cast.media.VolumeRequest",chrome.cast.media.Vb); +chrome.cast.media.rb=function(a){this.type="LOAD";this.requestId=0;this.sessionId=null;this.media=a;this.activeTrackIds=null;this.autoplay=!0;this.atvCredentialsType=this.atvCredentials=this.credentialsType=this.credentials=void 0;this.customData=this.currentTime=null;this.queueData=this.playbackRate=void 0};x("chrome.cast.media.LoadRequest",chrome.cast.media.rb);chrome.cast.media.vb=function(a){this.type="PRECACHE";this.requestId=0;this.precacheData=a}; +chrome.cast.media.jb=function(a,b){this.requestId=0;this.activeTrackIds=a||null;this.textTrackStyle=b||null};x("chrome.cast.media.EditTracksInfoRequest",chrome.cast.media.jb);chrome.cast.media.V=function(a){this.containerType=a=void 0===a?chrome.cast.media.W.GENERIC_CONTAINER:a;this.containerDuration=this.containerImages=this.sections=this.title=void 0};x("chrome.cast.media.ContainerMetadata",chrome.cast.media.V); +chrome.cast.media.MediaMetadata=function(a){this.metadataType=this.type=a;this.queueItemId=this.sectionStartTimeInContainer=this.sectionStartAbsoluteTime=this.sectionStartTimeInMedia=this.sectionDuration=void 0};x("chrome.cast.media.MediaMetadata",chrome.cast.media.MediaMetadata);chrome.cast.media.na=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.G.GENERIC);this.releaseDate=this.releaseYear=this.images=this.subtitle=this.title=void 0};q(chrome.cast.media.na,chrome.cast.media.MediaMetadata); +x("chrome.cast.media.GenericMediaMetadata",chrome.cast.media.na);chrome.cast.media.qa=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.G.MOVIE);this.releaseDate=this.releaseYear=this.images=this.subtitle=this.studio=this.title=void 0};q(chrome.cast.media.qa,chrome.cast.media.MediaMetadata);x("chrome.cast.media.MovieMediaMetadata",chrome.cast.media.qa); +chrome.cast.media.Ea=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.G.TV_SHOW);this.originalAirdate=this.releaseYear=this.images=this.episode=this.episodeNumber=this.season=this.seasonNumber=this.episodeTitle=this.title=this.seriesTitle=void 0};q(chrome.cast.media.Ea,chrome.cast.media.MediaMetadata);x("chrome.cast.media.TvShowMediaMetadata",chrome.cast.media.Ea); +chrome.cast.media.ra=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.G.MUSIC_TRACK);this.releaseDate=this.releaseYear=this.images=this.discNumber=this.trackNumber=this.artistName=this.songName=this.composer=this.artist=this.albumArtist=this.title=this.albumName=void 0};q(chrome.cast.media.ra,chrome.cast.media.MediaMetadata);x("chrome.cast.media.MusicTrackMediaMetadata",chrome.cast.media.ra); +chrome.cast.media.ta=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.G.PHOTO);this.creationDateTime=this.height=this.width=this.longitude=this.latitude=this.images=this.location=this.artist=this.title=void 0};q(chrome.cast.media.ta,chrome.cast.media.MediaMetadata);x("chrome.cast.media.PhotoMediaMetadata",chrome.cast.media.ta); +chrome.cast.media.ia=function(){chrome.cast.media.V.call(this,chrome.cast.media.W.AUDIOBOOK_CONTAINER);this.releaseDate=this.publisher=this.narrators=this.authors=void 0};q(chrome.cast.media.ia,chrome.cast.media.V);x("chrome.cast.media.AudiobookContainerMetadata",chrome.cast.media.ia);chrome.cast.media.ha=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.G.AUDIOBOOK_CHAPTER);this.images=this.subtitle=this.bookTitle=this.chapterNumber=this.title=this.chapterTitle=void 0}; +q(chrome.cast.media.ha,chrome.cast.media.MediaMetadata);x("chrome.cast.media.AudiobookChapterMediaMetadata",chrome.cast.media.ha); +chrome.cast.media.tb=function(a,b){this.contentId=a;this.contentUrl=void 0;this.streamType=chrome.cast.media.Ca.BUFFERED;this.contentType=b;this.metadata=null;this.atvEntity=this.entity=void 0;this.duration=null;this.startAbsoluteTime=void 0;this.customData=this.textTrackStyle=this.tracks=null;this.userActionStates=this.hlsVideoSegmentFormat=this.hlsSegmentFormat=this.vmapAdsRequest=this.breakClips=this.breaks=void 0};x("chrome.cast.media.MediaInfo",chrome.cast.media.tb); +chrome.cast.media.wa=function(a){this.itemId=null;this.media=a;this.autoplay=!0;this.startTime=0;this.playbackDuration=null;this.preloadTime=0;this.customData=this.activeTrackIds=null};x("chrome.cast.media.QueueItem",chrome.cast.media.wa);chrome.cast.media.eb="CC1AD845";x("chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID",chrome.cast.media.eb);chrome.cast.media.timeout={};chrome.cast.media.timeout.load=0;x("chrome.cast.media.timeout.load",chrome.cast.media.timeout.load); +chrome.cast.media.timeout.T=0;x("chrome.cast.media.timeout.getStatus",chrome.cast.media.timeout.T);chrome.cast.media.timeout.play=0;x("chrome.cast.media.timeout.play",chrome.cast.media.timeout.play);chrome.cast.media.timeout.pause=0;x("chrome.cast.media.timeout.pause",chrome.cast.media.timeout.pause);chrome.cast.media.timeout.seek=0;x("chrome.cast.media.timeout.seek",chrome.cast.media.timeout.seek);chrome.cast.media.timeout.stop=0;x("chrome.cast.media.timeout.stop",chrome.cast.media.timeout.stop); +chrome.cast.media.timeout.U=0;x("chrome.cast.media.timeout.setVolume",chrome.cast.media.timeout.U);chrome.cast.media.timeout.S=0;x("chrome.cast.media.timeout.editTracksInfo",chrome.cast.media.timeout.S);chrome.cast.media.timeout.v=0;x("chrome.cast.media.timeout.queue",chrome.cast.media.timeout.v);chrome.cast.media.Ob=function(a,b){this.trackId=a;this.trackContentType=this.trackContentId=null;this.type=b;this.customData=this.subtype=this.language=this.name=null};x("chrome.cast.media.Track",chrome.cast.media.Ob); +chrome.cast.media.Lb=function(){this.customData=this.fontStyle=this.fontGenericFamily=this.fontFamily=this.fontScale=this.windowRoundedCornerRadius=this.windowColor=this.windowType=this.edgeColor=this.edgeType=this.backgroundColor=this.foregroundColor=null};x("chrome.cast.media.TextTrackStyle",chrome.cast.media.Lb);chrome.cast.media.xb=function(a){this.type="QUEUE_LOAD";this.sessionId=this.requestId=null;this.items=a;this.startIndex=0;this.repeatMode=chrome.cast.media.X.OFF;this.customData=null}; +x("chrome.cast.media.QueueLoadRequest",chrome.cast.media.xb);chrome.cast.media.va=function(a){this.type="QUEUE_INSERT";this.sessionId=this.requestId=null;this.items=a;this.customData=this.insertBefore=null};x("chrome.cast.media.QueueInsertItemsRequest",chrome.cast.media.va);chrome.cast.media.zb=function(a){this.type="QUEUE_UPDATE";this.sessionId=this.requestId=null;this.items=a;this.customData=null};x("chrome.cast.media.QueueUpdateItemsRequest",chrome.cast.media.zb); +chrome.cast.media.P=function(){this.type="QUEUE_UPDATE";this.customData=this.jump=this.currentItemId=this.sessionId=this.requestId=null};x("chrome.cast.media.QueueJumpRequest",chrome.cast.media.P);chrome.cast.media.za=function(){this.type="QUEUE_UPDATE";this.customData=this.repeatMode=this.sessionId=this.requestId=null};x("chrome.cast.media.QueueSetPropertiesRequest",chrome.cast.media.za); +chrome.cast.media.xa=function(a){this.type="QUEUE_REMOVE";this.sessionId=this.requestId=null;this.itemIds=a;this.customData=null};x("chrome.cast.media.QueueRemoveItemsRequest",chrome.cast.media.xa);chrome.cast.media.ya=function(a){this.type="QUEUE_REORDER";this.sessionId=this.requestId=null;this.itemIds=a;this.customData=this.insertBefore=null};x("chrome.cast.media.QueueReorderItemsRequest",chrome.cast.media.ya); +chrome.cast.media.Ya=function(a,b,c){this.id=a;this.breakClipIds=b;this.position=c;this.duration=void 0;this.isWatched=!1;this.isEmbedded=void 0};x("chrome.cast.media.Break",chrome.cast.media.Ya);chrome.cast.media.Za=function(a){this.id=a;this.vastAdsRequest=this.customData=this.hlsSegmentFormat=this.clickThroughUrl=this.posterUrl=this.whenSkippable=this.duration=this.title=this.contentType=this.contentUrl=this.contentId=void 0};x("chrome.cast.media.BreakClip",chrome.cast.media.Za); +chrome.cast.media.Sb=function(){this.adsResponse=this.adTagUrl=void 0};x("chrome.cast.media.VastAdsRequest",chrome.cast.media.Sb);chrome.cast.media.ab=function(){this.whenSkippable=this.breakClipId=this.breakId=this.currentBreakClipTime=this.currentBreakTime=void 0};x("chrome.cast.media.BreakStatus",chrome.cast.media.ab);chrome.cast.media.pa=function(a,b,c,d){this.start=a;this.end=b;this.isMovingWindow=c;this.isLiveDone=d};x("chrome.cast.media.LiveSeekableRange",chrome.cast.media.pa); +chrome.cast.media.wb=function(a,b,c,d,e,h,k){this.id=a;this.queueType=this.entity=void 0;this.name=b;this.description=c;this.repeatMode=d;this.shuffle=!1;this.items=e;this.startIndex=h;this.startTime=k;this.containerMetadata=void 0};x("chrome.cast.media.QueueData",chrome.cast.media.wb);chrome.cast.media.Rb=function(a){this.userAction=a;this.customData=void 0};x("chrome.cast.media.UserActionState",chrome.cast.media.Rb);chrome.cast.media.Tb=function(a,b,c){this.width=a;this.height=b;this.hdrType=c}; +x("chrome.cast.media.VideoInformation",chrome.cast.media.Tb);chrome.cast.media.h=function(a,b){this.sessionId=a;this.mediaSessionId=b;this.media=null;this.videoInfo=this.queueData=void 0;this.playbackRate=1;this.playerState=chrome.cast.media.F.IDLE;this.currentTime=0;this.g=-1;this.supportedMediaCommands=[];this.volume=new chrome.cast.Volume;this.items=this.preloadedItemId=this.loadingItemId=this.currentItemId=this.customData=this.activeTrackIds=this.idleReason=null;this.repeatMode=chrome.cast.media.X.OFF;this.breakStatus=void 0;this.l=!1;this.i=[];this.liveSeekableRange= +void 0};f=chrome.cast.media.h.prototype;f.T=function(a,b,c){a||(a=new chrome.cast.media.oa);D.o(this,"MEDIA_GET_STATUS",a,b,c,chrome.cast.media.timeout.T)};f.play=function(a,b,c){this.Ka(D,a,b,c)};f.Ka=function(a,b,c,d){b||(b=new chrome.cast.media.ua);a.o(this,"PLAY",b,c,d,chrome.cast.media.timeout.play)};f.pause=function(a,b,c){this.Ja(D,a,b,c)};f.Ja=function(a,b,c,d){b||(b=new chrome.cast.media.sa);a.o(this,"PAUSE",b,c,d,chrome.cast.media.timeout.pause)}; +f.seek=function(a,b,c){D.o(this,"SEEK",a,b,c,chrome.cast.media.timeout.seek)};f.stop=function(a,b,c){a||(a=new chrome.cast.media.Ba);D.o(this,"STOP_MEDIA",a,b,c,chrome.cast.media.timeout.stop)};f.U=function(a,b,c){D.o(this,"MEDIA_SET_VOLUME",a,b,c,chrome.cast.media.timeout.U)};f.S=function(a,b,c){D.o(this,"EDIT_TRACKS_INFO",a,b,c,chrome.cast.media.timeout.S)};f.mc=function(a,b,c){D.o(this,"QUEUE_INSERT",a,b,c,chrome.cast.media.timeout.v)}; +f.lc=function(a,b,c){D.o(this,"QUEUE_INSERT",new chrome.cast.media.va([a]),b,c,chrome.cast.media.timeout.v)};f.wc=function(a,b,c){D.o(this,"QUEUE_UPDATE",a,b,c,chrome.cast.media.timeout.v)};f.rc=function(a,b){var c=new chrome.cast.media.P;c.jump=-1;D.o(this,"QUEUE_UPDATE",c,a,b,chrome.cast.media.timeout.v)};f.qc=function(a,b){var c=new chrome.cast.media.P;c.jump=1;D.o(this,"QUEUE_UPDATE",c,a,b,chrome.cast.media.timeout.v)}; +f.nc=function(a,b,c){if(!(0>Ka(this,a))){var d=new chrome.cast.media.P;d.currentItemId=a;D.o(this,"QUEUE_UPDATE",d,b,c,chrome.cast.media.timeout.v)}};f.vc=function(a,b,c){var d=new chrome.cast.media.za;d.repeatMode=a;D.o(this,"QUEUE_UPDATE",d,b,c,chrome.cast.media.timeout.v)};f.tc=function(a,b,c){D.o(this,"QUEUE_REMOVE",a,b,c,chrome.cast.media.timeout.v)};f.sc=function(a,b,c){0>Ka(this,a)||D.o(this,"QUEUE_REMOVE",new chrome.cast.media.xa([a]),b,c,chrome.cast.media.timeout.v)}; +f.uc=function(a,b,c){D.o(this,"QUEUE_REORDER",a,b,c,chrome.cast.media.timeout.v)};f.pc=function(a,b,c,d){var e=Ka(this,a);if(!(0>e))if(0>b)d&&d(new chrome.cast.Error(chrome.cast.C.INVALID_PARAMETER));else if(e==b)c&&c();else{var h=null;b=b>e?b+1:b;bthis.media.duration&&-1!=this.media.duration&&(a=this.media.duration);0>a&&(a=0);return a}return this.currentTime};f.cc=function(){if(this.breakStatus&&void 0!==this.breakStatus.currentBreakTime)return this.playerState==chrome.cast.media.F.PLAYING&&0<=this.g?this.breakStatus.currentBreakTime+(Date.now()-this.g)/1E3:this.breakStatus.currentBreakTime}; +f.bc=function(){if(this.breakStatus&&void 0!==this.breakStatus.currentBreakClipTime)return this.playerState==chrome.cast.media.F.PLAYING&&0<=this.g?this.breakStatus.currentBreakClipTime+(Date.now()-this.g)/1E3:this.breakStatus.currentBreakClipTime}; +f.dc=function(){if(this.liveSeekableRange&&void 0!==this.liveSeekableRange.start&&void 0!==this.liveSeekableRange.end){if(this.playerState==chrome.cast.media.F.PLAYING&&0<=this.g){var a=(Date.now()-this.g)/1E3,b=new chrome.cast.media.pa;b.isMovingWindow=this.liveSeekableRange.isMovingWindow;b.isLiveDone=this.liveSeekableRange.isLiveDone;b.start=b.isMovingWindow?this.liveSeekableRange.start+a:this.liveSeekableRange.start;b.end=b.isLiveDone?this.liveSeekableRange.end:this.liveSeekableRange.end+a;return b}return this.liveSeekableRange}}; +f.aa=function(a){this.M(D,a)};f.M=function(a,b){a.Xb(this,b)};f.da=function(a){this.O(D,a)};f.O=function(a,b){D.yc(this,b)};var Ka=function(a,b){return ta(a.items,function(c){return c.itemId==b})};x("chrome.cast.media.Media",chrome.cast.media.h);chrome.cast.media.h.prototype.removeUpdateListenerWithContext=chrome.cast.media.h.prototype.O;chrome.cast.media.h.prototype.removeUpdateListener=chrome.cast.media.h.prototype.da;chrome.cast.media.h.prototype.addUpdateListenerWithContext=chrome.cast.media.h.prototype.M; +chrome.cast.media.h.prototype.addUpdateListener=chrome.cast.media.h.prototype.aa;chrome.cast.media.h.prototype.getEstimatedLiveSeekableRange=chrome.cast.media.h.prototype.dc;chrome.cast.media.h.prototype.getEstimatedBreakClipTime=chrome.cast.media.h.prototype.bc;chrome.cast.media.h.prototype.getEstimatedBreakTime=chrome.cast.media.h.prototype.cc;chrome.cast.media.h.prototype.getEstimatedTime=chrome.cast.media.h.prototype.ec;chrome.cast.media.h.prototype.supportsCommand=chrome.cast.media.h.prototype.Hc; +chrome.cast.media.h.prototype.queueMoveItemToNewIndex=chrome.cast.media.h.prototype.pc;chrome.cast.media.h.prototype.queueReorderItems=chrome.cast.media.h.prototype.uc;chrome.cast.media.h.prototype.queueRemoveItem=chrome.cast.media.h.prototype.sc;chrome.cast.media.h.prototype.queueRemoveItems=chrome.cast.media.h.prototype.tc;chrome.cast.media.h.prototype.queueSetRepeatMode=chrome.cast.media.h.prototype.vc;chrome.cast.media.h.prototype.queueJumpToItem=chrome.cast.media.h.prototype.nc; +chrome.cast.media.h.prototype.queueNext=chrome.cast.media.h.prototype.qc;chrome.cast.media.h.prototype.queuePrev=chrome.cast.media.h.prototype.rc;chrome.cast.media.h.prototype.queueUpdateItems=chrome.cast.media.h.prototype.wc;chrome.cast.media.h.prototype.queueAppendItem=chrome.cast.media.h.prototype.lc;chrome.cast.media.h.prototype.queueInsertItems=chrome.cast.media.h.prototype.mc;chrome.cast.media.h.prototype.editTracksInfo=chrome.cast.media.h.prototype.S; +chrome.cast.media.h.prototype.setVolume=chrome.cast.media.h.prototype.U;chrome.cast.media.h.prototype.stop=chrome.cast.media.h.prototype.stop;chrome.cast.media.h.prototype.seek=chrome.cast.media.h.prototype.seek;chrome.cast.media.h.prototype.pauseWithContext=chrome.cast.media.h.prototype.Ja;chrome.cast.media.h.prototype.pause=chrome.cast.media.h.prototype.pause;chrome.cast.media.h.prototype.playWithContext=chrome.cast.media.h.prototype.Ka;chrome.cast.media.h.prototype.play=chrome.cast.media.h.prototype.play; +chrome.cast.media.h.prototype.getStatus=chrome.cast.media.h.prototype.T;var D=null;var La=function(a,b,c){this.sessionId=a;this.namespaceName=b;this.message=c};var Ma=function(a,b){this.type="SET_VOLUME";this.requestId=0;this.volume=a;this.expectedVolume=b||null};var Na=function(a){this.type="STOP";this.requestId=0;this.sessionId=a||null};chrome.cast.j=function(a,b,c,d,e){this.sessionId=a;this.appId=b;this.displayName=c;this.statusText=null;this.appImages=d;this.receiver=e;this.senderApps=[];this.namespaces=[];this.media=[];this.status=chrome.cast.L.CONNECTED;this.transportId=""};f=chrome.cast.j.prototype;f.Fc=function(a,b,c){this.Sa(D,a,b,c)};f.Sa=function(a,b,c,d){b=new Ma(new chrome.cast.Volume(b,null),this.receiver.volume);a.setReceiverVolume(this.sessionId,b,c,d)};f.Ec=function(a,b,c){this.Ra(D,a,b,c)}; +f.Ra=function(a,b,c,d){a=new Ma(new chrome.cast.Volume(null,b),this.receiver.volume);D.setReceiverVolume(this.sessionId,a,c,d)};f.getDialAppInfo=function(a,b){this.Ia(D,a,b)};f.Ia=function(a,b,c){a.getDialAppInfo(b,c)};f.hc=function(a,b){D.leaveSession(this.sessionId,a,b)};f.stop=function(a,b){this.Ua(D,a,b)};f.Ua=function(a,b,c){a.Oa(new Na(this.sessionId),b,c,chrome.cast.timeout.stopSession)};f.sendMessage=function(a,b,c,d){this.Qa(D,a,b,c,d)}; +f.Qa=function(a,b,c,d,e){a.Bc(new La(this.sessionId,b,c),d,e)};f.aa=function(a){this.M(D,a)};f.M=function(a,b){a.Zb(this.sessionId,b)};f.da=function(a){this.O(D,a)};f.O=function(a,b){a.Ac(this.sessionId,b)};f.Yb=function(a,b){this.Ga(D,a,b)};f.Ga=function(a,b,c){a.Wb(this.sessionId,b,c)};f.Y=function(a){this.Fa(D,a)};f.Fa=function(a,b){a.Y(this.sessionId,b)};f.ba=function(a){this.La(D,a)};f.La=function(a,b){a.ba(this.sessionId,b)};f.zc=function(a,b){this.Ma(D,a,b)}; +f.Ma=function(a,b,c){a.xc(this.sessionId,b,c)};f.ic=function(a,b,c){a.sessionId=this.sessionId;D.Pa(a,"LOAD",b,c)};f.oc=function(a,b,c){a.sessionId=this.sessionId;D.Pa(a,"QUEUE_LOAD",b,c)};x("chrome.cast.Session",chrome.cast.j);chrome.cast.j.prototype.queueLoad=chrome.cast.j.prototype.oc;chrome.cast.j.prototype.loadMedia=chrome.cast.j.prototype.ic;chrome.cast.j.prototype.removeMessageListenerWithContext=chrome.cast.j.prototype.Ma;chrome.cast.j.prototype.removeMessageListener=chrome.cast.j.prototype.zc; +chrome.cast.j.prototype.removeMediaListenerWithContext=chrome.cast.j.prototype.La;chrome.cast.j.prototype.removeMediaListener=chrome.cast.j.prototype.ba;chrome.cast.j.prototype.addMediaListenerWithContext=chrome.cast.j.prototype.Fa;chrome.cast.j.prototype.addMediaListener=chrome.cast.j.prototype.Y;chrome.cast.j.prototype.addMessageListenerWithContext=chrome.cast.j.prototype.Ga;chrome.cast.j.prototype.addMessageListener=chrome.cast.j.prototype.Yb; +chrome.cast.j.prototype.removeUpdateListenerWithContext=chrome.cast.j.prototype.O;chrome.cast.j.prototype.removeUpdateListener=chrome.cast.j.prototype.da;chrome.cast.j.prototype.addUpdateListenerWithContext=chrome.cast.j.prototype.M;chrome.cast.j.prototype.addUpdateListener=chrome.cast.j.prototype.aa;chrome.cast.j.prototype.sendMessageWithContext=chrome.cast.j.prototype.Qa;chrome.cast.j.prototype.sendMessage=chrome.cast.j.prototype.sendMessage;chrome.cast.j.prototype.stopWithContext=chrome.cast.j.prototype.Ua; +chrome.cast.j.prototype.stop=chrome.cast.j.prototype.stop;chrome.cast.j.prototype.leave=chrome.cast.j.prototype.hc;chrome.cast.j.prototype.getDialAppInfoWithContext=chrome.cast.j.prototype.Ia;chrome.cast.j.prototype.getDialAppInfo=chrome.cast.j.prototype.getDialAppInfo;chrome.cast.j.prototype.setReceiverMutedWithContext=chrome.cast.j.prototype.Ra;chrome.cast.j.prototype.setReceiverMuted=chrome.cast.j.prototype.Ec;chrome.cast.j.prototype.setReceiverVolumeLevelWithContext=chrome.cast.j.prototype.Sa; +chrome.cast.j.prototype.setReceiverVolumeLevel=chrome.cast.j.prototype.Fc;var Oa=function(a,b){this.g=a[r.Symbol.iterator]();this.i=b};Oa.prototype[Symbol.iterator]=function(){return this};Oa.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.i.call(void 0,a.value),done:a.done}};var Pa=function(a,b){return new Oa(a,b)};var Qa=Object.freeze||function(a){return a};var E=function(){};E.prototype.next=function(){return Ra};var Ra=Qa({done:!0,value:void 0});E.prototype.s=function(){return this};var Sa=function(a){if(a instanceof E)return a;if("function"==typeof a.s)return a.s(!1);if(t(a)){var b=0,c=new E;c.next=function(){for(;;){if(b>=a.length)return Ra;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},F=function(a,b){if(t(a))sa(a,b);else for(a=Sa(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var Ta=function(a){if(a instanceof G||a instanceof H||a instanceof I)return a;if("function"==typeof a.next)return new G(function(){return a});if("function"==typeof a[Symbol.iterator])return new G(function(){return a[Symbol.iterator]()});if("function"==typeof a.s)return new G(function(){return a.s()});throw Error("Not an iterator or iterable.");},G=function(a){this.g=a};G.prototype.s=function(){return new H(this.g())};G.prototype[Symbol.iterator]=function(){return new I(this.g())};G.prototype.i=function(){return new I(this.g())}; +var H=function(a){this.g=a};q(H,E);H.prototype.next=function(){return this.g.next()};H.prototype[Symbol.iterator]=function(){return new I(this.g)};H.prototype.i=function(){return new I(this.g)};var I=function(a){G.call(this,function(){return a});this.l=a};q(I,G);I.prototype.next=function(){return this.l.next()};var J=function(a,b){this.i={};this.g=[];this.l=this.size=0;var c=arguments.length;if(12*a.size&&K(a),!0):!1},K=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Ra;var h=d.g[b++];return{value:a?h:d.i[h],done:!1}};return e};var L=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Va=function(a,b){this.requestId=a;this.m=b;this.Va=null};Va.prototype.i=function(){};var Wa=function(){this.g=new J},Xa=function(a,b){a.g.set(b.requestId,b);b.Va=setTimeout(function(){M(a.g,b.requestId);b.i()},b.m)},Ya=function(a,b){var c=a.g.get(b);if(!c)return null;clearTimeout(c.Va);M(a.g,b);return c};var N=function(a,b,c,d){Va.call(this,a,d||6E5);this.l=b;this.g=c};q(N,Va);N.prototype.i=function(){this.g(new chrome.cast.Error(chrome.cast.C.TIMEOUT))};var O=function(a,b,c,d){this.type=a;this.message=b;this.sequenceNumber=void 0!==c?c:-1;this.timeoutMillis=d||0;this.clientId=""};var P=function(a){this.l=a;this.i=String(Date.now())+String(Math.floor(1E5*Math.random()));this.g=null},Za=function(a,b){if(!a.g)return"No active session";b.clientId=a.i;b=JSON.stringify(b);if(32768>=8);b[c++]=e}a=void 0;void 0===a&&(a=0);if(!S)for(S={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var h=c.concat(d[e].split(""));ob[e]=h;for(var k=0;k>2];p=a[(p&3)<<4|v>>4];v=a[(v&15)<<2|l>>6];l=a[l&63];c[e++]=""+k+p+v+l}k=0;l=d;switch(b.length-h){case 2:k=b[h+1],l=a[(k&15)<<2]||d;case 1:b=b[h],c[e]=""+a[b>>2]+a[(b&3)<<4|k>>4]+l+d}b=c.join("")}return b};var rb=function(a){if(a.N&&"function"==typeof a.N)return a.N();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(t(a)){for(var b=[],c=a.length,d=0;d"}else d=void 0===c?"undefined":null===c?"null":typeof c;w("Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLScriptElement",d)}a instanceof A&&a.constructor===A?d=a.g:(d=typeof a,w("expected object of type TrustedResourceUrl, got '"+a+"' of type "+("object"!= +d?d:a?Array.isArray(a)?"array":d:"null")),d="type_error:TrustedResourceUrl");c.src=d;(d=c.ownerDocument&&c.ownerDocument.defaultView)&&d!=m?d=q(d.document):(null===p&&(p=q(m.document)),d=p);d&&c.setAttribute("nonce",d);(document.head||document.documentElement).appendChild(c)},I=function(){var a=B(),b=[];if(1=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,h=0;8>h;h++){f=g.yo(a,c);var l=(g.yo(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else fh;h++)fc.Xt;c={Xt:c.Xt}, +c.Xt++){var d=new g.X({F:"a",L:"ytp-suggestion-link",T:{href:"{{link}}",target:a.J,"aria-label":"{{aria_label}}"},S:[{F:"div",L:"ytp-suggestion-image",S:[{F:"div",T:{"data-is-live":"{{is_live}}"},L:"ytp-suggestion-duration",Z:"{{duration}}"}]},{F:"div",L:"ytp-suggestion-title",T:{title:"{{hover_title}}"},Z:"{{title}}"},{F:"div",L:"ytp-suggestion-author",Z:"{{views_or_author}}"}]});g.M(this,d);d.xa(this.suggestions.element);var e=d.ya("ytp-suggestion-link");g.yl(e,"transitionDelay",c.Xt/20+"s");this.C.P(e, +"click",function(f){return function(h){var l=b.suggestionData[f.Xt],m=l.sessionData;g.AO(h,b.api,b.J,m||void 0)&&b.api.Gl(l.videoId,m,l.playlistId)}}(c)); +this.u.push(d)}g.M(this,this.next);this.next.xa(this.element);this.next.Na("click",this.jU,this);this.C.P(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.Za().getPlayerSize());this.onVideoDataChange();this.show()},e6=function(a){return a.suggestionData.length*(a.tileWidth+a.B)},n4a=function(a){a.next.element.style.bottom=a.D+"px"; +a.previous.element.style.bottom=a.D+"px";var b=a.j,c=a.containerWidth-e6(a);g.N(a.element,"ytp-scroll-min",0<=b);g.N(a.element,"ytp-scroll-max",b<=c)},o4a=function(a){for(var b=0;ba.Yt;a={Yt:a.Yt},a.Yt++){var d=new g.X({F:"a",L:"ytp-suggestion-link",T:{href:"{{link}}",target:b.J,"aria-label":"{{aria_label}}"},S:[{F:"div",L:"ytp-suggestion-image"},{F:"div",L:"ytp-suggestion-overlay",T:{style:"{{blink_rendering_hack}}","aria-hidden":"{{aria_hidden}}"},S:[{F:"div",L:"ytp-suggestion-title",Z:"{{title}}"},{F:"div",L:"ytp-suggestion-author", +Z:"{{author_and_views}}"},{F:"div",T:{"data-is-live":"{{is_live}}"},L:"ytp-suggestion-duration",Z:"{{duration}}"}]}]});g.M(this,d);d.xa(this.suggestions.element);var e=d.ya("ytp-suggestion-link");g.yl(e,"transitionDelay",a.Yt/20+"s");this.j.P(e,"click",function(f){return function(h){var l=f.Yt;if(1E3>(0,g.U)()-c.W)g.Gx(h),document.activeElement.blur();else{l=c.suggestionData[l];var m=l.sessionData;g.AO(h,c.api,c.J,m||void 0)&&c.api.Gl(l.videoId,m,l.playlistId)}}}(a)); +this.B.push(d)}g.M(this,this.next);this.next.xa(this.element);this.next.Na("click",this.lU,this);b=new g.X({F:"button",Ca:["ytp-button","ytp-collapse"],T:{"aria-label":"Hide more videos"},S:[g.bFa()]});g.M(this,b);b.xa(this.element);b.Na("click",this.k0,this);g.M(this,this.expandButton);this.expandButton.xa(this.element);this.expandButton.Na("click",this.l0,this);this.j.P(this.api,"appresize",this.xb);this.j.P(this.api,"fullscreentoggled",this.Eo);this.j.P(this.api,"presentingplayerstatechange",this.bd); +this.j.P(this.api,"videodatachange",this.onVideoDataChange);this.xb(this.api.Za().getPlayerSize());this.onVideoDataChange()},k6=function(a){var b=a.I.Qf()?32:16; +b=a.V/2+b;a.next.element.style.bottom=b+"px";a.previous.element.style.bottom=b+"px";b=a.u;var c=a.containerWidth-a.suggestionData.length*(a.tileWidth+8);g.N(a.element,"ytp-scroll-min",0<=b);g.N(a.element,"ytp-scroll-max",b<=c)},v4a=function(a){for(var b=0;bb&&this.delay.start()};g.u(m4a,g.X);g.k=m4a.prototype;g.k.hide=function(){this.I=!0;g.X.prototype.hide.call(this)}; +g.k.show=function(){this.I=!1;g.X.prototype.show.call(this)}; +g.k.isHidden=function(){return this.I}; +g.k.jU=function(){this.scrollTo(this.j-this.containerWidth)}; +g.k.kU=function(){this.scrollTo(this.j+this.containerWidth)}; +g.k.resize=function(a,b){var c=this.api.R(),d=16/9,e=650<=a.width,f=480>a.width||290>a.height,h=Math.min(this.suggestionData.length,this.u.length);if(150>=Math.min(a.width,a.height)||0===h||!c.Mc)this.hide();else{var l;if(e){var m=l=28;this.B=16}else this.B=m=l=8;if(f){var n=6;e=14;var p=12;f=24;c=12}else n=8,e=18,p=16,f=36,c=16;a=a.width-(48+l+m);l=Math.ceil(a/150);l=Math.min(3,l);l=a/l-this.B;m=Math.floor(l/d);b&&m+100>b&&50l||g.xN(this.api)?this.hide():this.show();for(b=0;bl?"none":""}h=e+n+p+4;this.D=h+c+(m-f)/2;this.suggestions.element.style.height=m+h+"px";this.tileWidth=l;this.containerWidth=a;this.j=0;e6(this);this.suggestions.element.scrollLeft= +-0;n4a(this)}}; +g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.R();this.J=a.C?!1:b.u;a.suggestions?this.suggestionData=g.wm(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0; +o4a(this);a.C?this.title.update({title:g.HJ("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:a.author})}):this.title.update({title:"More videos on YouTube"})}; +g.k.scrollTo=function(a){a=g.Cg(a,this.containerWidth-e6(this),0);this.N.start(this.j,a,1E3);this.j=a;n4a(this)};g.u(f6,g.FO);f6.prototype.show=function(){g.FO.prototype.show.call(this);q4a(this,this.api.Za().getPlayerSize())}; +f6.prototype.resize=function(a){g.FO.prototype.resize.call(this,a);this.j&&(q4a(this,a),g.N(this.element,"related-on-error-overlay-visible",!this.j.isHidden()))}; +f6.prototype.u=function(a){g.FO.prototype.u.call(this,a);var b=this.api.getVideoData();if(b.fK||b.playerErrorMessageRenderer)(a=b.fK)?s4a(this,a):b.playerErrorMessageRenderer&&s4a(this,b.playerErrorMessageRenderer);else{var c;a.Vk&&(b.Vt?r4a(b.Vt)?c=g.AA(b.Vt):c=g.GO(g.zA(b.Vt)):c=g.GO(a.Vk),this.Sd(c,"subreason"))}};g.u(g6,g.X);g6.prototype.wh=function(){this.api.zb().isCued()||(this.hide(),this.api.Ta(this.element,!1))}; +g6.prototype.j=function(){var a=this.api.getVideoData(),b=this.api.R(),c=this.api.getVideoData().C,d=b.Nc,e=!b.Mc,f=this.u.Dg(),h=g.XF(b);b=b.B;d||f||c||e||h||b||!a.videoId?(this.hide(),this.api.Ta(this.element,!1)):(a=t4a(this),this.Ja("url",a),this.show())}; +g6.prototype.onClick=function(a){var b=t4a(this);g.BO(b,this.api,a);this.api.qb(this.element)}; +g6.prototype.show=function(){this.api.zb().isCued()&&(g.X.prototype.show.call(this),this.api.Nm(this.element)&&this.api.Ta(this.element,!0))};g.u(h6,g.X);h6.prototype.wh=function(){var a=this.api.zb();!this.api.cg()||g.W(a,2)&&g.uN(this.api)||g.W(a,64)?(this.api.Ta(this.j,!1),this.api.Ta(this.forwardButton,!1),this.hide()):(this.show(),this.api.Ta(this.j,!0),this.api.Ta(this.forwardButton,!0))}; +h6.prototype.u=function(){this.api.seekBy(-10*this.api.getPlaybackRate());this.api.qb(this.j)}; +h6.prototype.B=function(){this.api.seekBy(10*this.api.getPlaybackRate());this.api.qb(this.forwardButton)};g.u(i6,g.X);i6.prototype.u=function(){var a=this.api.zb(),b=this.api.getVideoData();this.api.R().K("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&(g.W(a,2)&&!this.tb?(this.show(),this.j.show(),a=this.api.getVideoData(),this.Ja("text",a.cN),g.N(this.element,"ytp-muted-autoplay-show-end-panel",!0),this.api.Ta(this.element,this.tb),this.api.Ka("onMutedAutoplayEnds")):this.hide())}; +i6.prototype.onClick=function(){var a=this.api.getVideoData(),b=this.api.getCurrentTime();a.mutedAutoplay=!1;a.endSeconds=NaN;g.KH(a);this.api.loadVideoById(a.videoId,b);this.api.qb(this.element);this.hide()};g.u(j6,g.X);j6.prototype.j=function(){var a=this.api.zb(),b=this.api.getVideoData();this.api.R().K("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&!g.W(a,2)?this.tb||(g.X.prototype.show.call(this),this.B.start(),this.api.Ta(this.element,this.tb)):this.hide()}; +j6.prototype.u=function(){g.N(this.element,"ytp-muted-autoplay-hide-watermark",!0)}; +j6.prototype.onClick=function(){var a=this.api.getVideoData(),b=this.api.getCurrentTime();a.mutedAutoplay=!1;a.endSeconds=NaN;g.KH(a);this.api.loadVideoById(a.videoId,b);this.api.qb(this.element)};g.u(u4a,g.X);g.k=u4a.prototype;g.k.hide=function(){g.jo(this.api.getRootNode(),"ytp-expand-pause-overlay");g.X.prototype.hide.call(this)}; +g.k.k0=function(){this.D=!0;g.jo(this.api.getRootNode(),"ytp-expand-pause-overlay");this.expandButton.focus()}; +g.k.l0=function(){this.D=!1;g.ho(this.api.getRootNode(),"ytp-expand-pause-overlay");this.focus()}; +g.k.lU=function(){this.scrollTo(this.u-this.containerWidth)}; +g.k.mU=function(){this.scrollTo(this.u+this.containerWidth)}; +g.k.Eo=function(){this.xb(this.api.Za().getPlayerSize())}; +g.k.bd=function(a){if(!(g.W(a.state,1)||g.W(a.state,16)||g.W(a.state,32))){var b=!this.api.R().K("embeds_disable_pauseoverlay_on_autoplay_blocked_killswitch")&&g.W(a.state,1024);!g.W(a.state,4)||g.W(a.state,2)||b?this.C.hide():this.suggestionData.length&&(this.D||(g.ho(this.api.getRootNode(),"ytp-expand-pause-overlay"),k6(this)),this.C.show(),this.W=(0,g.U)())}}; +g.k.xb=function(a){var b=16/9,c=this.I.Qf();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;da.width)&&!this.u||!a&&this.u){var b=new g.X(l4a()),c=this.ya("ytp-watermark");g.N(c,"ytp-watermark-small",a);g.oh(c);b.xa(c);this.u=a}};g.u(x4a,g.bO);g.k=x4a.prototype;g.k.xj=function(){return!1}; +g.k.create=function(){var a=this.G.R(),b=g.qN(this.G),c,d=null==(c=this.G.getVideoData())?void 0:c.clientPlaybackNonce;d&&g.$A("cpn",d);!a.Mc||a.B||b.mz()||(this.B=new u4a(this.G,b),g.M(this,this.B),g.AN(this.G,this.B.element,4));a.K("embeds_enable_muted_autoplay")&&(this.u=new j6(this.G),g.M(this,this.u),g.AN(this.G,this.u.element,4),this.I=new i6(this.G),g.M(this,this.I),g.AN(this.G,this.I.element,4));if(a.Nc||this.u)this.watermark=new w4a(this.G),g.M(this,this.watermark),g.AN(this.G,this.watermark.element, +8);this.C=new g6(this.G,b);g.M(this,this.C);g.AN(this.G,this.C.element,8);a.isMobile&&(this.D=new h6(this.G),g.M(this,this.D),g.AN(this.G,this.D.element,4));this.j.P(this.G,"appresize",this.xb);this.j.P(this.G,"presentingplayerstatechange",this.wh);this.j.P(this.G,"videodatachange",this.onVideoDataChange);this.j.P(this.G,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.j.P(this.G,"onAdStart",this.onAdStart);this.j.P(this.G,"onAdComplete",this.onAdComplete);this.j.P(this.G,"onAdSkip",this.onAdSkip); +this.j.P(this.G,"onAdStateChange",this.onAdStateChange);this.Sb(this.G.zb());this.player.rf("embed")}; +g.k.xb=function(){var a=this.G.Za().getPlayerSize();this.vf&&this.vf.resize(a)}; +g.k.wh=function(a){this.Sb(a.state)}; +g.k.Sb=function(a){g.W(a,128)?(this.vf||(this.vf=new f6(this.G),g.M(this,this.vf),g.AN(this.G,this.vf.element,4)),this.vf.u(a.getData()),this.vf.show(),g.ho(this.G.getRootNode(),"ytp-embed-error")):this.vf&&(this.vf.dispose(),this.vf=null,g.jo(this.G.getRootNode(),"ytp-embed-error"))}; +g.k.onMutedAutoplayStarts=function(){this.G.getVideoData().mutedAutoplay&&this.u&&this.watermark&&this.watermark.xa(this.u.bottomButtons,0)}; +g.k.onVideoDataChange=function(){var a=this.G.getVideoData();this.watermark&&this.u&&!a.mutedAutoplay&&g.sh(this.u.element,this.watermark.element)&&g.AN(this.G,this.watermark.element,8);this.G.R().B&&this.B&&this.B.detach()}; +g.k.onAdStart=function(){l6(this,"EMBEDS_AD_EVENT_TYPE_AD_STARTED")}; +g.k.onAdComplete=function(){l6(this,"EMBEDS_AD_EVENT_TYPE_AD_COMPLETED")}; +g.k.onAdSkip=function(){l6(this,"EMBEDS_AD_EVENT_TYPE_AD_SKIPPED")}; +g.k.onAdStateChange=function(a){2===a&&l6(this,"EMBEDS_AD_EVENT_TYPE_AD_PAUSED")};g.aO("embed",x4a);})(_yt_player); diff --git a/DreamBooth_files/fetch-polyfill.js b/DreamBooth_files/fetch-polyfill.js new file mode 100644 index 0000000..21165e5 --- /dev/null +++ b/DreamBooth_files/fetch-polyfill.js @@ -0,0 +1,24 @@ +/* + + Copyright (c) 2014-2016 GitHub, Inc. + SPDX-License-Identifier: MIT +*/ +(function(self){if(self.fetch)return;var support={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(support.arrayBuffer){var viewClasses=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]", +"[object Float32Array]","[object Float64Array]"];var isDataView=function(obj){return obj&&DataView.prototype.isPrototypeOf(obj)};var isArrayBufferView=ArrayBuffer.isView||function(obj){return obj&&viewClasses.indexOf(Object.prototype.toString.call(obj))>-1}}function normalizeName(name){if(typeof name!=="string")name=String(name);if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name))throw new TypeError("Invalid character in header field name");return name.toLowerCase()}function normalizeValue(value){if(typeof value!== +"string")value=String(value);return value}function iteratorFor(items){var iterator={next:function(){var value=items.shift();return{done:value===undefined,value:value}}};if(support.iterable)iterator[Symbol.iterator]=function(){return iterator};return iterator}function Headers(headers){this.map={};if(headers instanceof Headers)headers.forEach(function(value,name){this.append(name,value)},this);else if(headers)Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])}, +this)}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var list=this.map[name];if(!list){list=[];this.map[name]=list}list.push(value)};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null};Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))}; +Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]};Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};Headers.prototype.keys=function(){var items=[];this.forEach(function(value,name){items.push(name)});return iteratorFor(items)};Headers.prototype.values=function(){var items=[];this.forEach(function(value){items.push(value)}); +return iteratorFor(items)};Headers.prototype.entries=function(){var items=[];this.forEach(function(value,name){items.push([name,value])});return iteratorFor(items)};if(support.iterable)Headers.prototype[Symbol.iterator]=Headers.prototype.entries;function consumed(body){if(body.bodyUsed)return Promise.reject(new TypeError("Already read"));body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})} +function readBlobAsArrayBuffer(blob){var reader=new FileReader;var promise=fileReaderReady(reader);reader.readAsArrayBuffer(blob);return promise}function readBlobAsText(blob){var reader=new FileReader;var promise=fileReaderReady(reader);reader.readAsText(blob);return promise}function readArrayBufferAsText(buf){var view=new Uint8Array(buf);var chars=new Array(view.length);for(var i=0;i-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(typeof input==="string")this.url=input;else{if(input.bodyUsed)throw new TypeError("Already read"); +this.url=input.url;this.credentials=input.credentials;if(!options.headers)this.headers=new Headers(input.headers);this.method=input.method;this.mode=input.mode;if(!body&&input._bodyInit!=null){body=input._bodyInit;input.bodyUsed=true}}this.credentials=options.credentials||this.credentials||"omit";if(options.headers||!this.headers)this.headers=new Headers(options.headers);this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method=== +"GET"||this.method==="HEAD")&&body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(body)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function parseHeaders(rawHeaders){var headers= +new Headers;rawHeaders.split("\r\n").forEach(function(line){var parts=line.split(":");var key=parts.shift().trim();if(key){var value=parts.join(":").trim();headers.append(key,value)}});return headers}Body.call(Request.prototype);function Response(bodyInit,options){if(!options)options={};this.type="default";this.status="status"in options?options.status:200;this.ok=this.status>=200&&this.status<300;this.statusText="statusText"in options?options.statusText:"OK";this.headers=new Headers(options.headers); +this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1)throw new RangeError("Invalid status code"); +return new Response(null,{status:status,headers:{location:url}})};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request=new Request(input,init);var xhr=new XMLHttpRequest;xhr.onload=function(){var options={status:xhr.status,statusText:xhr.statusText,headers:parseHeaders(xhr.getAllResponseHeaders()||"")};options.url="responseURL"in xhr?xhr.responseURL:options.headers.get("X-Request-URL");var body="response"in +xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.ontimeout=function(){reject(new TypeError("Network request failed"))};xhr.open(request.method,request.url,true);if(request.credentials==="include")xhr.withCredentials=true;if("responseType"in xhr&&support.blob)xhr.responseType="blob";request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});xhr.send(typeof request._bodyInit==="undefined"? +null:request._bodyInit)})};self.fetch.polyfill=true})(typeof self!=="undefined"?self:this); diff --git a/DreamBooth_files/framework.png b/DreamBooth_files/framework.png new file mode 100644 index 0000000..93d6e2a Binary files /dev/null and b/DreamBooth_files/framework.png differ diff --git a/DreamBooth_files/longprompt.png b/DreamBooth_files/longprompt.png new file mode 100644 index 0000000..a49e823 Binary files /dev/null and b/DreamBooth_files/longprompt.png differ diff --git a/DreamBooth_files/multilingual.png b/DreamBooth_files/multilingual.png new file mode 100644 index 0000000..4cd6eb1 Binary files /dev/null and b/DreamBooth_files/multilingual.png differ diff --git a/DreamBooth_files/remote.js b/DreamBooth_files/remote.js new file mode 100644 index 0000000..dd91bf8 --- /dev/null +++ b/DreamBooth_files/remote.js @@ -0,0 +1,734 @@ +(function(g){var window=this;'use strict';var jab=function(a,b){this.u=a>>>0;this.j=b>>>0},lab=function(a){if(!a)return kab||(kab=new jab(0,0)); +if(!/^\d+$/.test(a))return null;g.Cba(a);return new jab(g.de,g.ee)},mab=function(a,b,c){null!=c&&("string"===typeof c&&lab(c),g.Ge(a,b,1),"number"===typeof c?(a=a.j,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,g.de=b,g.ee=c,g.Be(a,g.de),g.Be(a,g.ee)):(c=lab(c),a=a.j,b=c.j,g.Be(a,c.u),g.Be(a,b)))},nab=function(a,b,c){b=g.qba(b,c); +null!=b&&(g.Ge(a,c,0),a.j.j.push(b?1:0))},pab=function(a){g.J.call(this,a,-1,oab)},qab=function(a){g.J.call(this,a)},rab=function(a){g.J.call(this,a)},sab=function(a){g.J.call(this,a)},tab=function(a){g.J.call(this,a)},X7=function(a){g.Mj(a,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^g.Wa()).toString(36)); +return a},Y7=function(a,b,c){Array.isArray(c)||(c=[String(c)]); +g.cga(a.u,b,c)},uab=function(a){if(a instanceof g.om)return a; +if("function"==typeof a.bj)return a.bj(!1);if(g.Oa(a)){var b=0,c=new g.om;c.next=function(){for(;;){if(b>=a.length)return g.V2;if(b in a)return g.pm(a[b++]);b++}}; +return c}throw Error("Not implemented");},vab=function(a,b,c){if(g.Oa(a))g.tc(a,b,c); +else for(a=uab(a);;){var d=a.next();if(d.done)break;b.call(c,d.value,void 0,a)}},wab=function(a,b){var c=[]; +vab(b,function(d){try{var e=g.Go.prototype.u.call(this,d,!0)}catch(f){if("Storage: Invalid value was encountered"==f)return;throw f;}void 0===e?c.push(d):g.Kka(e)&&c.push(d)},a); +return c},xab=function(a,b){wab(a,b).forEach(function(c){g.Go.prototype.remove.call(this,c)},a)},yab=function(a){if(a.V){if(a.V.locationOverrideToken)return{locationOverrideToken:a.V.locationOverrideToken}; +if(null!=a.V.latitudeE7&&null!=a.V.longitudeE7)return{latitudeE7:a.V.latitudeE7,longitudeE7:a.V.longitudeE7}}return null},zab=function(a,b){g.Wb(a,b)||a.push(b)},Aab=function(a){var b=0,c; +for(c in a)b++;return b},Bab=function(a,b){return g.Af(a,b)},Cab=function(a){try{return g.C.JSON.parse(a)}catch(b){}a=String(a); +if(/^\s*$/.test(a)?0:/^[\],:{}\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,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},Z7=function(a){if(g.C.JSON)try{return g.C.JSON.parse(a)}catch(b){}return Cab(a)},Dab=function(a,b,c,d){var e=new g.Cj(null); +a&&g.Dj(e,a);b&&g.Ej(e,b);c&&g.Fj(e,c);d&&(e.J=d);return e},$7=function(a,b){g.Sx[a]=!0; +var c=g.Qx();c&&c.publish.apply(c,arguments);g.Sx[a]=!1},a8=function(a){this.name=this.id=""; +this.clientName="UNKNOWN_INTERFACE";this.app="";this.type="REMOTE_CONTROL";this.obfuscatedGaiaId=this.avatar=this.username="";this.capabilities=new Set;this.experiments=new Set;this.theme="u";new g.po;this.model=this.brand="";this.year=0;this.chipset=this.osVersion=this.os="";this.mdxDialServerType="MDX_DIAL_SERVER_TYPE_UNKNOWN";a&&(this.id=a.id||a.name,this.name=a.name,this.clientName=a.clientName?a.clientName.toUpperCase():"UNKNOWN_INTERFACE",this.app=a.app,this.type=a.type||"REMOTE_CONTROL",this.username= +a.user||"",this.avatar=a.userAvatarUri||"",this.obfuscatedGaiaId=a.obfuscatedGaiaId||"",this.theme=a.theme||"u",Eab(this,a.capabilities||""),Fab(this,a.experiments||""),this.brand=a.brand||"",this.model=a.model||"",this.year=a.year||0,this.os=a.os||"",this.osVersion=a.osVersion||"",this.chipset=a.chipset||"",this.mdxDialServerType=a.mdxDialServerType||"MDX_DIAL_SERVER_TYPE_UNKNOWN",a=a.deviceInfo)&&(a=JSON.parse(a),this.brand=a.brand||"",this.model=a.model||"",this.year=a.year||0,this.os=a.os||"", +this.osVersion=a.osVersion||"",this.chipset=a.chipset||"",this.clientName=a.clientName?a.clientName.toUpperCase():"UNKNOWN_INTERFACE",this.mdxDialServerType=a.mdxDialServerType||"MDX_DIAL_SERVER_TYPE_UNKNOWN")},Eab=function(a,b){a.capabilities.clear(); +g.wm(b.split(","),g.Va(Bab,Gab)).forEach(function(c){a.capabilities.add(c)})},Fab=function(a,b){a.experiments.clear(); +b.split(",").forEach(function(c){a.experiments.add(c)})},b8=function(a){a=a||{}; +this.name=a.name||"";this.id=a.id||a.screenId||"";this.token=a.token||a.loungeToken||"";this.uuid=a.uuid||a.dialId||"";this.idType=a.screenIdType||"normal"},c8=function(a,b){return!!b&&(a.id==b||a.uuid==b)},Hab=function(a){return{name:a.name, +screenId:a.id,loungeToken:a.token,dialId:a.uuid,screenIdType:a.idType}},Iab=function(a){return new b8(a)},Jab=function(a){return Array.isArray(a)?g.Pk(a,Iab):[]},d8=function(a){return a?'{name:"'+a.name+'",id:'+a.id.substr(0,6)+"..,token:"+((a.token?".."+a.token.slice(-6):"-")+",uuid:"+(a.uuid?".."+a.uuid.slice(-6):"-")+",idType:"+a.idType+"}"):"null"},Kab=function(a){return Array.isArray(a)?"["+g.Pk(a,d8).join(",")+"]":"null"},Lab=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, +function(a){var b=16*Math.random()|0; +return("x"==a?b:b&3|8).toString(16)})},Mab=function(a){return g.Pk(a,function(b){return{key:b.id, +name:b.name}})},Nab=function(a,b){return g.Ub(a,function(c){return c||b?!c!=!b?!1:c.id==b.id:!0})},e8=function(a,b){return g.Ub(a,function(c){return c8(c,b)})},Oab=function(){var a=(0,g.Nz)(); +a&&xab(a,a.j.bj(!0))},f8=function(){var a=g.Qz("yt-remote-connected-devices")||[]; +g.mc(a);return a},Pab=function(a){if(g.Xb(a))return[]; +var b=a[0].indexOf("#"),c=-1==b?a[0]:a[0].substring(0,b);return g.Pk(a,function(d,e){return 0==e?d:d.substring(c.length)})},Qab=function(a){g.Pz("yt-remote-connected-devices",a,86400)},g8=function(){if(Rab)return Rab; +var a=g.Qz("yt-remote-device-id");a||(a=Lab(),g.Pz("yt-remote-device-id",a,31536E3));for(var b=f8(),c=1,d=a;g.Wb(b,d);)c++,d=a+"#"+c;return Rab=d},Sab=function(){var a=f8(),b=g8(); +g.Sz()&&g.sc(a,b);a=Pab(a);if(g.Xb(a))try{g.Nu("remote_sid")}catch(c){}else try{g.Lu("remote_sid",a.join(","),-1)}catch(c){}},Uab=function(){return g.Qz("yt-remote-session-browser-channel")},Vab=function(){return g.Qz("yt-remote-local-screens")||[]},Wab=function(){g.Pz("yt-remote-lounge-token-expiration",!0,86400)},Xab=function(a){5b.length)return t8;b=b.slice(d,d+c);a.W=d+c;return b},s8=function(a){a.Eb=Date.now()+a.Cb; +Rbb(a,a.Cb)},Rbb=function(a,b){if(null!=a.V)throw Error("WatchDog timer not null"); +a.V=q8((0,g.Ta)(a.BU,a),b)},w8=function(a){a.V&&(g.C.clearTimeout(a.V),a.V=null)},v8=function(a){a.D.Rf()||a.Ea||Sbb(a.D,a)},u8=function(a){w8(a); +g.af(a.Ua);a.Ua=null;a.gb.stop();g.Sj(a.eb);if(a.j){var b=a.j;a.j=null;b.abort();b.dispose()}},Pbb=function(a,b){try{var c=a.D; +if(0!=c.jg&&(c.j==a||Tbb(c.u,a)))if(!a.Ra&&Tbb(c.u,a)&&3==c.jg){try{var d=c.Ld.j.parse(b)}catch(A){d=null}if(Array.isArray(d)&&3==d.length){var e=d;if(0==e[0])a:{if(!c.N){if(c.j)if(c.j.ra+3E3e[2]&&c.gb&&0==c.Y&&!c.W&&(c.W=q8((0,g.Ta)(c.EU,c),6E3));if(1>=Vbb(c.u)&&c.Nc){try{c.Nc()}catch(A){}c.Nc=void 0}}else z8(c,11)}else if((a.Ra||c.j==a)&&x8(c),!g.fb(b))for(e=c.Ld.j.parse(b),b=0;b=a.C:!1},Vbb=function(a){return a.u?1:a.j?a.j.size:0},Tbb=function(a,b){return a.u?a.u==b:a.j?a.j.has(b):!1},Wbb=function(a, +b){a.j?a.j.add(b):a.u=b},Ybb=function(a,b){a.u&&a.u==b?a.u=null:a.j&&a.j.has(b)&&a.j.delete(b)},ccb=function(a){if(null!=a.u)return a.B.concat(a.u.Y); +if(null!=a.j&&0!==a.j.size){var b=a.B;a=g.r(a.j.values());for(var c=a.next();!c.done;c=a.next())b=b.concat(c.value.Y);return b}return g.cc(a.B)},dcb=function(a,b){var c=new Hbb; +if(g.C.Image){var d=new Image;d.onload=g.Va(B8,c,d,"TestLoadImage: loaded",!0,b);d.onerror=g.Va(B8,c,d,"TestLoadImage: error",!1,b);d.onabort=g.Va(B8,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=g.Va(B8,c,d,"TestLoadImage: timeout",!1,b);g.C.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4); +d.src=a}else b(!1)},B8=function(a,b,c,d,e){try{b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(f){}},ecb=function(){this.j=new n8},fcb=function(a,b,c){var d=c||""; +try{g.Bj(a,function(e,f){var h=e;g.Pa(e)&&(h=g.fi(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e; +}},C8=function(a,b,c){return c&&c.tZ?c.tZ[a]||b:b},gcb=function(a){this.B=[]; +this.Lc=this.rd=this.Ha=this.yc=this.j=this.Fd=this.va=this.Ea=this.J=this.Eb=this.V=null;this.Pe=this.Ua=0;this.Ne=C8("failFast",!1,a);this.gb=this.W=this.N=this.I=this.D=null;this.zc=!0;this.Dd=this.Ra=-1;this.Yb=this.Y=this.ra=0;this.He=C8("baseRetryDelayMs",5E3,a);this.bf=C8("retryDelaySeedMs",1E4,a);this.Oe=C8("forwardChannelMaxRetries",2,a);this.Cd=C8("forwardChannelRequestTimeoutMs",2E4,a);this.Ed=a&&a.J3a||void 0;this.Kd=a&&a.H3a||!1;this.Ya=void 0;this.La=a&&a.N4||!1;this.C="";this.u=new acb(a&& +a.s2a);this.Ld=new ecb;this.Cb=a&&a.H2a||!1;this.ub=a&&a.z2a||!1;this.Cb&&this.ub&&(this.ub=!1);this.Eh=a&&a.n2a||!1;a&&a.J2a&&(this.zc=!1);this.Mc=!this.Cb&&this.zc&&a&&a.w2a||!1;this.Nc=void 0;this.Bd=0;this.eb=!1;this.qa=null;this.cf=!a||!1!==a.y2a;this.Kb=null},y8=function(a){a.j&&(hcb(a),a.j.cancel(),a.j=null)},icb=function(a){y8(a); +a.N&&(g.C.clearTimeout(a.N),a.N=null);x8(a);a.u.cancel();a.I&&("number"===typeof a.I&&g.C.clearTimeout(a.I),a.I=null)},A8=function(a){bcb(a.u)||a.I||(a.I=!0,g.Dh(a.dM,a),a.ra=0)},kcb=function(a,b){if(Vbb(a.u)>=a.u.C-(a.I?1:0))return!1; +if(a.I)return a.B=b.Y.concat(a.B),!0;if(1==a.jg||2==a.jg||a.ra>=(a.Ne?0:a.Oe))return!1;a.I=q8((0,g.Ta)(a.dM,a,b),jcb(a,a.ra));a.ra++;return!0},mcb=function(a,b){var c; +b?c=b.zc:c=a.Ua++;var d=a.Ha.clone();g.Mj(d,"SID",a.C);g.Mj(d,"RID",c);g.Mj(d,"AID",a.Ra);D8(a,d);a.J&&a.V&&g.Qj(d,a.J,a.V);c=new r8(a,a.C,c,a.ra+1);null===a.J&&(c.Ha=a.V);b&&(a.B=b.Y.concat(a.B));b=lcb(a,c,1E3);c.setTimeout(Math.round(.5*a.Cd)+Math.round(.5*a.Cd*Math.random()));Wbb(a.u,c);Kbb(c,d,b)},D8=function(a,b){a.Ea&&g.of(a.Ea,function(c,d){g.Mj(b,d,c)}); +a.D&&g.Bj({},function(c,d){g.Mj(b,d,c)})},lcb=function(a,b,c){c=Math.min(a.B.length,c); +var d=a.D?(0,g.Ta)(a.D.FU,a.D,a):null;a:for(var e=a.B,f=-1;;){var h=["count="+c];-1==f?0n)f=Math.max(0,e[m].j-100),l=!1;else try{fcb(p,h,"req"+n+"_")}catch(q){d&&d(p)}}if(l){d=h.join("&");break a}}a=a.B.splice(0,c);b.Y=a;return d},Zbb=function(a){a.j||a.N||(a.Yb=1,g.Dh(a.cM,a),a.Y=0)},Ubb=function(a){if(a.j||a.N||3<=a.Y)return!1; +a.Yb++;a.N=q8((0,g.Ta)(a.cM,a),jcb(a,a.Y));a.Y++;return!0},hcb=function(a){null!=a.qa&&(g.C.clearTimeout(a.qa),a.qa=null)},ncb=function(a){a.j=new r8(a,a.C,"rpc",a.Yb); +null===a.J&&(a.j.Ha=a.V);a.j.ub=0;var b=a.rd.clone();g.Mj(b,"RID","rpc");g.Mj(b,"SID",a.C);g.Mj(b,"CI",a.gb?"0":"1");g.Mj(b,"AID",a.Ra);g.Mj(b,"TYPE","xmlhttp");D8(a,b);a.J&&a.V&&g.Qj(b,a.J,a.V);a.Ya&&a.j.setTimeout(a.Ya);var c=a.j;a=a.Lc;c.La=1;c.J=X7(b.clone());c.N=null;c.va=!0;Jbb(c,a)},x8=function(a){null!=a.W&&(g.C.clearTimeout(a.W),a.W=null)},Sbb=function(a,b){var c=null; +if(a.j==b){x8(a);hcb(a);a.j=null;var d=2}else if(Tbb(a.u,b))c=b.Y,Ybb(a.u,b),d=1;else return;if(0!=a.jg)if(b.B)if(1==d){c=b.N?b.N.length:0;b=Date.now()-b.ra;var e=a.ra;d=Dbb();d.dispatchEvent(new Gbb(d,c,b,e));A8(a)}else Zbb(a);else{var f=b.Kb;e=b.getLastError();if(3==e||0==e&&0b.length)return Acb;b=b.slice(d,d+c);a.cB=d+c;return b},Ecb=function(a,b){a.uu=Date.now(); +K8(a);var c=b?window.location.hostname:"";a.Zo=a.Xo.clone();g.Mj(a.Zo,"DOMAIN",c);g.Mj(a.Zo,"t",a.I);try{a.Dl=new ActiveXObject("htmlfile")}catch(m){L8(a);a.Yo=7;I8(22);M8(a);return}var d="";if(b){var e="";for(b=0;b"==f)f=e+"\\x3e";else{if(f in N8)f=N8[f];else if(f in Dcb)f=N8[f]=Dcb[f];else{var h=f.charCodeAt(0);if(31h)var l=f;else{if(256>h){if(l="\\x",16>h||256h&&(l+="0");l+=h.toString(16).toUpperCase()}f= +N8[f]=l}f=e+f}e=f}d+=' + + + + +
+

An Empirical Study and Analysis of Text-to-Image Generation Using Large Language Model-Powered Textual Representation

+

+ Zhiyu Tan1, + Mengping Yang1, + Hao Yang1 , +
+ Ye Qian1, + Luozheng Qin2, + Cheng Zhang3, + Hao Li4† + +
+ 1InfTech, + 2Soochow University, + 3Carnegie Mellon University, + 4Fudan University, +
+
+Corresponding author & Project leader +

+
+ +

+ [ECCV Paper]      + [Arxiv]      + [Code]      + [BibTeX] +

+ +
+
+

Abstract

+

One critical prerequisite for faithful text-to-image generation is the accurate understanding of text inputs. Existing methods leverage the text encoder of the CLIP model to represent input prompts. However, the pre-trained CLIP model can merely encode English with a maximum token length of 77. Moreover, the model capacity of the text encoder from CLIP is relatively limited compared to Large Language Models (LLMs), which offer multilingual input, accommodate longer context, and achieve superior text representation. In this paper, we investigate LLMs as the text encoder to improve the language understanding in text-to-image generation. Unfortunately, training text-to-image generative model with LLMs from scratch demands significant computational resources and data. To this end, we introduce a three-stage training pipeline that effectively and efficiently integrates the existing text-to-image model with LLMs. Specifically, we propose a lightweight adapter that enables fast training of the text-to-image model using the textual representations from LLMs. Extensive experiments demonstrate that our model supports not only multilingual but also longer input context with superior image generation quality.

+
+
+

Method

+
+
+

The main idea of our method is a lightweight but effective adapter module to align the text features of LLMs with that of the visual-aware CLIP. In this way, LLMs could capture the visual clues contained in the input prompts, thereby drive text-to-image diffusion models to produce appropriate images. Specifically, we decompose the training procedure into three distinct stages. First, we adapt the features of LLMs into diffusion training process by aligning them with those from CLIP models, only adapter is optimized in this stage. Then, we improve the synthesis quality through end-to-end text-image training. After that, the aesthetic appeal of the generated images is enhanced by further finetuning on a carefully-curated dataset. By doing so, the textual representation capabilities of LLMs can be fully activated and the model performance is well improved in terms of text alignment, synthesis quality and image aesthetics. Notably, our model is trained with a fraction of the resources required by most text-to-image diffusion models while achieving superior synthesis quality and supporting multilingual input.

+ +

To verify the effectiveness of our proposed model, we conduct extensive empirical investigation on both English and Chinese prompts datasets, it turns out our model achieves favourable zero-shot FID, CLIP-s and Aes scores under various settings. Besides, user studies demonstrate that our model could produce images that are preferred by human. Furthermore, we also conduct various and comprehensive ablation study on the proposed three training stages, which fully confirms the effectiveness of the proposed training pipeline and training stages.

+
+
+

Results

+

Our proposed model could not only produce images with high visual quality given English input prompts (left), but also enables multilingual understanding capability for various language driven T2I generation (middle), as well as grasps much longer contextual information for generation (right)

+ +
+
+

Multilingual T2I Generation

+

Surprisingly, our model could understand these texts well and generate images with corresponding captions. This amazing feature indicates that our model successfully integrates the powerful language understanding ability of LLMs into the T2I generation process, and fully exploit the potential of LLMs.

+
+
+
+
+

Long Prompt T2I Generation

+

Our model could capture the meaning of prompts that are much longer than 77 tokens and synthesize images that well align with prompts, whereas prior methods usually fail under such setting. This further reflects the powerful language understanding capability and synthesis quality of our method.

+
+
+
+
+

Comparison with Other Baselines

+

Qualitative comparison of our model and competing methods. For models that do not support multilingual text conditions, we translate the given prompts into corresponding language to generate images. Our proposed method could produce images with better synthesis quality, accurate text-image alignment and higher visual quality.

+
+
+
+
+

BibTex

+ @article{ruiz2022dreambooth,
+   title={DreamBooth: Fine Tuning Text-to-image Diffusion Models for Subject-Driven Generation},
+   author={Ruiz, Nataniel and Li, Yuanzhen and Jampani, Varun and Pritch, Yael and Rubinstein, Michael and Aberman, Kfir},
+   booktitle={arXiv preprint arxiv:2208.12242},
+   year={2022}
+ }
+
+ +