var _yt_player={};(function(g){var window=this;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ /* SPDX-License-Identifier: Apache-2.0 */ /* (The MIT License) Copyright (C) 2014 by Vitaly Puzrin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------------------------------------------------------------------- Ported from zlib, which is under the following license https://github.com/madler/zlib/blob/master/zlib.h zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.8, April 28th, 2013 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). */ /* The MIT License (MIT) Copyright (c) 2015-present Dan Abramov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ 'use strict';var aa,baa,caa,oa,daa,pa,eaa,sa,va,ya,za,gaa,haa,Ia,Ja,iaa,jaa,La,kaa,Ma,Pa,Qa,Wa,Xa,maa,naa,nb,oaa,ob,qb,rb,ub,vb,paa,qaa,yb,saa,taa,Qb,uaa,Wb,vaa,waa,Sb,xaa,yaa,zaa,Aaa,Caa,Baa,Daa,fc,Eaa,hc,jc,lc,uc,xc,yc,zc,Ac,Cc,Maa,Dc,Gc,Ec,Naa,Oaa,Paa,Qaa,Hc,Raa,Ic,Jc,Kc,Saa,Lc,Nc,Uaa,Vaa,Xaa,Tc,Uc,$aa,Vc,Yc,aba,bba,bd,id,cba,td,vd,fba,gba,wd,lba,Bd,iba,kba,zd,yd,Gd,Hd,mba,Id,nba,Kd,Ld,oba,Od,Sd,rba,tba,wba,Xd,Bba,ce,Iba,Gba,Hba,Jba,Lba,Mba,Oba,Rba,le,Tba,oe,te,xe,Ae,Ke,Uba,Vba,Wba,Xba,Ne,Oe,$e, $ba,bca,aca,bf,lf,cca,kf,Me,Bf,eca,Df,Cf,Le,Ff,fca,Gf,Hf,Rf,gca,ica,kca,Xf,Yf,Zf,oca,qca,ag,rca,$f,vca,Vf,mca,xca,uca,sca,tca,yca,wca,bg,pca,og,Aca,Bca,Cca,Dca,Eca,Fca,Gca,Hca,Ica,qg,Jca,Mca,Nca,Oca,Tca,ug,Sca,Pca,Vca,Xca,Zca,wg,xg,bda,zg,Ag,dda,Cg,Bg,eda,Pg,fda,gda,Qg,Rg,Vg,hda,Wg,ida,jda,Xg,Sg,kda,Zg,Yg,$g,ah,bh,ch,dh,lda,nda,fh,oda,pda,gh,Bh,Eh,rda,sda,uda,vda,xda,Fh,yda,Gh,zda,Hh,Ada,Ih,Jh,Bda,Kh,Lh,Mh,Cda,Ph,Dda,Eda,Rh,Sh,Gda,Th,Uh,Vh,Wh,Hda,Ida,oi,pi,qi,Jda,Kda,Lda,Mda,ri,si,Oda,Pda,ti,ui,vi, Rda,yi,Sda,Tda,xi,zi,Qda,wi,Ai,Uda,Vda,Wda,Bi,Ci,Di,Ei,Xda,Yi,$i,M,$da,Zda,bea,cea,bj,dea,eea,dj,ej,gj,fj,ij,hj,jj,mj,oj,gea,hea,pj,qj,Cj,Ej,Dj,iea,jea,Gj,Hj,Ij,Fj,Jj,fea,kea,lea,N,Lj,Mj,nj,Nj,Oj,mea,Pj,nea,oea,Qj,pea,Rj,Sj,qea,Tj,rea,Vj,sea,Wj,Xj,Yj,vk,wk,xk,Q,yk,zk,R,Ak,S,tea,Bk,xea,Ck,Gk,Aea,Bea,Cea,zea,Dea,Ik,Hea,Iea,Jea,Jk,Kea,Lea,Dk,Mea,Gea,Mk,Nk,Ok,Pk,Qk,Rk,Oea,Pea,Sk,Qea,Tk,Uk,Vk,ol,pl,ql,rl,Sea,Tea,Vea,Uea,Wea,ul,vl,wl,Yea,Zea,$ea,xl,yl,zl,Al,Dl,El,bfa,Il,cfa,Jl,Kl,Ll,dfa,efa,um,ffa,vm,wm, ifa,xm,ym,zm,Am,Bm,Cm,Dm,Em,Fm,jfa,Im,kfa,lfa,mfa,ofa,nfa,Gm,Hm,pfa,qfa,Km,sfa,Jm,Lm,tfa,Nm,ufa,xfa,Om,Pm,yfa,Afa,Bfa,Dfa,Cfa,Efa,Rm,Ffa,Um,Ifa,Ym,Zm,$m,Jfa,tn,un,vn,Kfa,Lfa,Mfa,wn,Ofa,xn,Pfa,Qfa,Tfa,Sfa,Rfa,Ufa,Vfa,zn,Wfa,Xfa,Yfa,aga,Zfa,An,cga,Bn,dga,ega,Cn,En,fga,Fn,Gn,Hn,hga,Jn,jga,kga,lga,mga,nga,Ln,Mn,Pn,oga,qga,pga,rga,sga,vga,Qn,Rn,Sn,Tn,Un,Vn,Wn,Xn,wga,Yn,Zn,$n,ao,bo,Aga,xga,fo,zga,go,yga,eo,co,io,Cga,ko,jo,Dga,Ega,qo,ro,to,Hga,so,Xo,Iga,Yo,Fga,Lga,Mga,Nga,ap,bp,cp,Oga,dp,ep,fp,gp,Pga,hp, ip,jp,Qga,Rga,kp,Sga,lp,Vga,Wga,Xga,Yga,Tga,mp,np,op,pp,$ga,aha,Zga,qp,bha,cha,dha,up,eha,vp,wp,gha,hha,xp,yp,zp,Ap,Bp,Cp,Dp,Ep,iha,Fp,Gp,jha,lha,kha,Hp,mha,nha,oha,Ip,Jp,Kp,Lp,Mp,Np,Op,pha,Pp,Qp,Rp,qha,sha,tha,Tp,Vp,Up,Xp,Yp,Zp,vha,wha,$p,aq,bq,yha,zha,Cha,Aha,Dha,Hha,gr,Gha,Eha,hr,ir,Iha,jr,Jha,kr,Lha,Kha,Mha,Nha,or,pr,Oha,Pha,Qha,qr,rr,Rha,sr,Sha,Tha,Vha,Zha,tr,$ha,aia,bia,cia,dia,wr,eia,fia,gia,Dr,Cr,Br,hia,iia,jia,Er,Fr,Gr,lia,Lr,Mr,Nr,Or,Pr,Qr,nia,oia,pia,Rr,Tr,Ur,Yr,Zr,bs,ria,tia,sia,uia,via, hs,wia,xia,is,yia,zia,Aia,Bia,ms,ks,ns,os,ps,Cia,Dia,Eia,qs,rs,ts,Fia,Gia,Hia,us,Iia,vs,ws,Jia,Kia,Lia,Mia,Nia,Oia,xs,ys,zs,Bs,Ria,Ls,Ms,Sia,Qia,As,Tia,Ns,Os,Ps,Rs,Qs,Uia,Via,Wia,Ss,Yia,Ts,$ia,aja,bja,cja,dja,eja,fja,gja,Ws,Xs,Ys,ija,hja,jja,kja,$s,lja,at,mja,nja,bt,ct,dt,oja,et,ft,pja,gt,ht,jt,kt,lt,mt,nt,ot,qja,rja,sja,tja,pt,uja,wja,vja,rt,tt,yja,xja,Dja,Cja,ut,Eja,Fja,Gja,Ija,Hja,Jja,vt,Kja,Lja,xt,Mja,Nja,Oja,Pja,zt,Qja,At,Rja,Bt,Ct,Tja,Dt,Uja,Et,Ft,Vja,Wja,Gt,It,Yja,Jt,Xja,Zja,$ja,aka,cka,Kt, dka,Nt,Ot,fka,gka,jka,kka,Pt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Yt,Zt,$t,au,oka,nka,pka,rka,qka,tka,mka,ska,lka,bu,cu,vka,wka,xka,gu,hu,iu,du,zka,ju,uka,Bka,Cka,Aka,ku,lu,mu,nu,Dka,yka,Eka,ou,Fka,Gka,Hka,Ika,Jka,Mka,Nka,Oka,Pka,Qka,Tka,ru,Vka,qu,uu,Wka,vu,xu,yu,Xka,Yka,Fu,Zka,$ka,Gu,ala,Ru,Ou,Pu,Qu,bla,Uu,Tu,dla,Wu,ela,gla,Xu,hla,ila,nla,jla,av,bv,sla,cv,dv,ev,ula,hv,vla,wla,iv,yla,kv,lv,mv,zla,ov,pv,qv,rv,uv,vv,Bla,Cla,yv,zv,Av,Bv,Cv,Dv,Dla,Ela,Fla,Gla,Hla,Ila,Ev,Jla,Lv,Kla,Lla,Mla,Mv,Ov,Pv,Qv,Tv,Uv,Vv,Ola, Yv,Zv,$v,Pla,Qla,aw,Rla,Sla,cw,$la,ama,bma,dw,cma,dma,gma,hma,gw,ima,iw,jw,kw,lw,mw,nw,ow,pw,qw,rw,tw,uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Dw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Ow,Pw,Qw,Rw,Sw,Tw,Uw,Vw,Ww,Xw,Yw,Zw,$w,ax,bx,cx,dx,ex,fx,gx,hx,ix,jma,jx,kx,lx,nx,ox,px,qx,rx,sx,tx,ux,vx,wx,xx,yx,zx,Ax,Bx,Cx,Dx,Ex,kma,Fx,Gx,Hx,Ix,Jx,Kx,Lx,Mx,Nx,Ox,Qx,Rx,Sx,Tx,Ux,Vx,Wx,Xx,Yx,Zx,$x,ay,by,cy,dy,ey,fy,gy,hy,iy,jy,ky,ly,my,ny,oy,py,qy,ry,sy,ty,uy,vy,wy,yy,zy,Ay,By,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,wz,xz,yz,zz,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,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,lma,mma,nma,oma,uA,vA,AA,BA,pma,qma,CA,rma,sma,tma,DA,uma,vma,wma,xma,yma,zma,Ama,Bma,Cma,Dma,EA,Ema,FA,GA,Fma,Gma,HA,Hma,Ima,Jma,Kma,Lma,Mma,Nma,Oma,IA,Pma,Qma,Rma,JA,Sma,Tma,KA,LA,Uma,MA,NA,Vma,OA,PA,Wma,QA,RA,Xma,Yma,SA,Zma,$ma,TA,ana,bna,cna,dna,ena,fna,gna,hna,ina,jna, UA,kna,lna,VA,mna,WA,XA,nna,ona,YA,pna,qna,ZA,rna,$A,sna,aB,bB,cB,dB,tna,eB,fB,gB,hB,una,iB,jB,vna,wna,kB,lB,mB,xna,nB,yna,zna,Ana,oB,Bna,Cna,Dna,pB,Ena,Fna,qB,rB,Gna,sB,tB,Hna,uB,Ina,vB,Jna,Kna,Lna,xB,zB,Nna,Mna,Ona,Pna,FB,GB,HB,IB,aoa,KB,LB,boa,MB,NB,coa,Qna,OB,foa,ioa,PB,koa,moa,VB,noa,ooa,qoa,uoa,soa,toa,voa,poa,YB,XB,woa,$B,aC,bC,yoa,zoa,Aoa,Boa,Coa,Doa,hC,Eoa,jC,Foa,Goa,kC,Ioa,Joa,nC,pC,Koa,Loa,qC,rC,sC,tC,Noa,uC,Poa,Ooa,Roa,wC,Soa,Woa,Uoa,Voa,Xoa,Yoa,$oa,Zoa,cpa,yC,dpa,BC,epa,fpa,AC,CC,hpa, ipa,lpa,GC,mpa,npa,HC,IC,JC,LC,ppa,rpa,RC,spa,tpa,upa,vpa,wpa,zpa,Apa,Bpa,ypa,Cpa,Epa,Gpa,YC,Hpa,aD,ZC,dD,eD,Jpa,Mpa,jD,kD,lD,mD,Qpa,oD,Spa,Tpa,Upa,rD,Wpa,Xpa,Vpa,Ypa,Zpa,$pa,aqa,uD,bqa,xD,eqa,fqa,cqa,gqa,hqa,kqa,jqa,BD,dqa,mqa,nqa,ED,oqa,pqa,GD,HD,qqa,sqa,JD,tqa,uqa,wqa,yqa,MD,zqa,Aqa,Bqa,Cqa,Dqa,Eqa,Fqa,Gqa,OD,Hqa,QD,Jqa,Kqa,Lqa,Mqa,Nqa,Oqa,VD,Rqa,Uqa,WD,Vqa,Xqa,Qqa,Yqa,Zqa,$qa,Sqa,Tqa,RD,Pqa,UD,Wqa,TD,SD,ara,bra,cra,dra,era,fra,lra,gra,ZD,$D,aE,ora,qra,pra,mra,rra,tra,dE,vra,yra,gE,xra,Ira,zra, Hra,kE,Jra,Mra,lE,jE,Kra,Lra,Nra,nE,Pra,Qra,Rra,Sra,Tra,Ura,Vra,Ora,Xra,Yra,Zra,$ra,asa,pE,qE,rE,esa,sE,fsa,gsa,uE,vE,jsa,isa,ksa,msa,osa,nsa,rsa,vsa,tsa,GE,ysa,Asa,FE,zsa,HE,IE,Bsa,Csa,Dsa,KE,Fsa,NE,ME,OE,PE,QE,Hsa,Isa,SE,Jsa,TE,Lsa,Msa,Nsa,Psa,Qsa,Osa,WE,Ssa,Rsa,Tsa,XE,Vsa,YE,Xsa,ZE,Zsa,$E,Ysa,aF,bF,bta,hta,jta,gta,fta,ita,eF,kta,sta,ota,pta,qta,ata,Bta,Dta,Ata,Gta,zta,dF,Fta,nta,rta,Cta,lta,dta,cta,eta,gF,yta,nF,Qta,Pta,Uta,Xta,Wta,Zta,pF,sF,aua,bua,cua,dua,eua,fua,gua,uF,iua,jua,kua,lua,mua,nua, oua,qua,rua,yF,tua,vua,uua,wua,yua,zua,Dua,Bua,Fua,Eua,Hua,Gua,zF,Lpa,Pua,Mua,Rua,Sua,Tua,Uua,$ua,dva,eva,gva,fva,hva,JF,jva,IF,cva,bva,FF,nva,lva,SF,RF,VF,WF,YF,pva,ZF,bG,cG,qva,rva,tva,uva,vva,wva,xva,yva,zva,Ava,Bva,iG,Dva,Eva,Gva,Hva,Iva,Jva,Kva,Lva,Ova,Pva,kG,lG,Qva,mG,Rva,oG,Tva,Sva,qG,rG,sG,tG,Uva,uG,Vva,Wva,Xva,vG,Yva,bwa,Zva,awa,$va,cwa,wG,dwa,ewa,fwa,gwa,xG,iwa,lwa,kwa,yG,mwa,zG,AG,BG,DG,EG,nwa,owa,pwa,FG,qwa,GG,HG,KG,MG,swa,rwa,NG,twa,uwa,OG,PG,QG,RG,UG,wwa,VG,WG,XG,YG,xwa,ywa,aH,zwa,bH, Cwa,Ewa,Gwa,Iwa,Kwa,Mwa,dH,Nwa,eH,Owa,Rwa,Swa,gH,Uwa,iH,jH,kH,lH,mH,nH,oH,Wwa,pH,Vwa,Xwa,qH,Zwa,Ywa,rH,exa,fxa,sH,tH,vH,gxa,hxa,xH,yH,AH,ixa,BH,MH,kxa,zH,nxa,oxa,rxa,sxa,txa,vxa,qxa,wxa,xxa,yxa,NH,mxa,Bxa,pxa,OH,Dxa,Fxa,RH,Gxa,Hxa,SH,Ixa,PH,Jxa,TH,Kxa,Exa,UH,Mxa,VH,Rxa,Pxa,Oxa,Nxa,Txa,XH,YH,ZH,$H,aI,bI,cI,Yxa,eI,Zxa,aya,$xa,bya,cya,dya,fya,eya,gya,jya,kya,gI,hI,iI,lya,jI,kI,lI,oI,nya,oya,mI,nI,mya,rya,sya,pI,vya,tya,qI,rI,sI,wya,tI,uI,xya,yya,zya,Aya,Bya,vI,wI,xI,yI,zI,AI,BI,CI,DI,EI,FI,Cya,GI,Dya, Eya,Fya,Gya,HI,II,JI,Hya,KI,LI,MI,Iya,NI,OI,PI,QI,RI,SI,TI,UI,VI,Jya,WI,XI,YI,Kya,ZI,$I,aJ,bJ,Lya,cJ,dJ,Mya,eJ,Nya,fJ,Oya,hJ,iJ,Pya,jJ,kJ,lJ,gJ,mJ,nJ,oJ,Rya,Tya,Uya,pJ,Vya,qJ,Wya,sJ,Xya,Yya,Zya,bza,cza,dza,eza,fza,gza,$ya,DJ,jza,kza,lza,mza,aza,oza,uJ,pza,qza,FJ,rza,GJ,wJ,sza,vJ,nza,HJ,vza,uza,yJ,zJ,JJ,IJ,wza,KJ,xza,LJ,zza,yza,MJ,NJ,OJ,PJ,Aza,Bza,Dza,Eza,RJ,SJ,Iza,TJ,Mza,Oza,Qza,Rza,VJ,Tza,Uza,Wza,Xza,Yza,Zza,$za,aAa,$J,aK,bAa,dAa,cAa,eAa,fAa,gAa,eK,gK,hK,iK,jK,kK,hAa,lK,mK,fK,oK,pK,jAa,kAa,iAa,nAa, oAa,pAa,qAa,rAa,sAa,tAa,uAa,vAa,wAa,xAa,yAa,zAa,AAa,BAa,CAa,qK,rK,DAa,sK,tK,EAa,FAa,GAa,HAa,IAa,uK,JAa,KAa,LAa,MAa,vK,NAa,OAa,wK,PAa,QAa,xK,RAa,yK,SAa,TAa,UAa,zK,VAa,YAa,AK,ZAa,aBa,WAa,XAa,BK,$Aa,cBa,dBa,DK,EK,FK,GK,HK,gBa,JK,LK,hBa,OK,PK,jBa,kBa,QK,RK,SK,lBa,UK,VK,WK,mBa,XK,nBa,YK,iBa,ZK,$K,aL,bL,dL,pBa,qBa,rBa,eL,fL,gL,hL,sBa,iL,jL,kL,lL,mL,nL,oL,pL,qL,uBa,vBa,xBa,yBa,vL,sL,wL,zBa,ABa,BBa,CBa,xL,yL,DBa,EBa,FBa,tL,GBa,HBa,zL,IBa,KBa,LBa,BL,CL,DL,EL,FL,OBa,IL,KL,JL,LL,QBa,ML,RBa,SBa,UBa,TBa,PL,VBa, WBa,ZBa,XBa,YBa,QL,aCa,bCa,cCa,eCa,dCa,fCa,gCa,iCa,hCa,jCa,kCa,lCa,mCa,nCa,oCa,pCa,qCa,rCa,sCa,tCa,uCa,vCa,wCa,xCa,yCa,zCa,TL,ACa,UL,VL,CCa,DCa,WL,ECa,XL,FCa,YL,GCa,ZL,HCa,ICa,JCa,KCa,$L,LCa,MCa,NCa,aM,bM,cM,dM,eM,OCa,fM,gM,hM,PCa,iM,QCa,RCa,SCa,jM,kM,TCa,UCa,VCa,lM,mM,Cza,WCa,XCa,nM,YCa,oM,pM,qM,rM,sM,tM,uM,vM,ZCa,wM,xM,$Ca,aDa,bDa,yM,VM,dDa,iDa,kDa,jDa,mDa,nDa,lDa,pDa,qDa,rDa,dN,vDa,xDa,ADa,BDa,CDa,eN,EDa,IDa,fN,JDa,FDa,KDa,gN,LDa,ODa,NDa,SDa,PDa,hN,iN,YDa,cEa,aEa,fEa,eEa,hEa,ZDa,$Da,bEa,dEa,iEa, jEa,kEa,nEa,qEa,oEa,tEa,BEa,AEa,uEa,CEa,wEa,xEa,vEa,GEa,IEa,KEa,OEa,REa,SEa,UEa,WEa,YEa,XEa,fFa,$Ea,ZEa,gFa,jFa,kFa,lFa,mFa,pN,wDa,pFa,nFa,rN,qFa,rFa,uN,uFa,vFa,tFa,vN,wFa,wN,xN,bK,yN,uDa,zN,xFa,lAa,yFa,AN,zFa,AFa,BFa,BN,CN,CFa,DN,EN,FN,GN,HN,DFa,EFa,IN,FFa,GFa,JN,HFa,KN,CK,LN,MN,IFa,NN,JFa,KFa,yDa,sFa,ON,cK,QJ,kN,LFa,MFa,PN,XDa,jN,NFa,qN,NEa,MEa,mEa,lN,PEa,TEa,VEa,TDa,hFa,OFa,DEa,yEa,QN,zDa,QFa,PFa,lEa,QEa,RFa,iFa,mN,UDa,WDa,MDa,LEa,JEa,sEa,pEa,HDa,GDa,DDa,FEa,zEa,aFa,QDa,RDa,dFa,eFa,bFa,cFa,HEa, UFa,SFa,RN,TFa,SN,EJ,xJ,hza,tJ,VFa,TN,UN,VN,aO,XFa,cO,ZFa,$Fa,aGa,bGa,dGa,cGa,eGa,fGa,fO,iO,gGa,hGa,jGa,iGa,kGa,lGa,mGa,nGa,oGa,pGa,kO,lO,sGa,mO,nO,tGa,uGa,vGa,wGa,oO,xGa,pO,yGa,zGa,qO,sO,wO,AGa,xO,yO,zO,AO,BO,CO,DO,EO,FO,GO,HO,BGa,IO,JO,KO,LO,MO,NO,CGa,DGa,OO,EGa,SO,HGa,IGa,TO,KGa,JGa,LGa,MGa,VO,WO,XO,Z,OGa,YO,TGa,XGa,YGa,ZGa,gHa,jHa,oHa,pHa,NHa,OHa,PHa,qHa,sHa,yHa,UHa,CHa,YHa,WHa,$Ha,aIa,XHa,bIa,aJa,iIa,bJa,jIa,kIa,fP,dJa,fJa,hJa,gJa,eJa,pIa,DIa,EIa,lJa,nJa,GIa,HIa,JIa,KIa,LIa,uJa,NIa,QIa,XIa,CJa, yJa,zJa,EJa,HJa,GJa,IJa,JJa,RJa,KJa,iP,OJa,XJa,YJa,ZJa,$Ja,aKa,dKa,iKa,MKa,LKa,mP,nP,oP,pP,qP,rP,TKa,tP,sP,VKa,RKa,SKa,WKa,UKa,uP,XKa,Kpa,ZKa,YKa,aLa,cLa,eLa,fLa,gLa,dLa,hLa,mLa,lLa,xP,oLa,pLa,qLa,rLa,zP,yP,sLa,tLa,uLa,wLa,BP,DP,FP,xLa,GP,HP,yLa,CLa,ELa,DLa,GLa,NLa,OLa,JP,FLa,BLa,ALa,zLa,NP,KP,MP,SP,TP,RLa,SLa,UP,RP,WLa,TLa,ULa,XLa,VP,WP,ZLa,$La,YP,ZP,$P,aQ,bQ,aMa,bMa,cMa,cQ,dQ,fQ,eMa,fMa,eQ,gMa,jMa,kMa,gQ,lMa,jQ,mMa,kQ,mQ,oMa,lQ,nQ,pMa,rMa,sMa,tMa,pQ,qQ,vQ,wMa,sQ,wQ,yQ,xMa,zQ,uQ,xQ,yMa,AQ,zMa,BQ, AMa,rQ,tQ,uMa,vMa,CQ,BMa,CMa,DMa,DQ,EQ,FQ,EMa,GQ,HQ,FMa,IQ,GMa,JQ,KQ,LQ,HMa,IMa,JMa,KMa,LMa,MQ,MMa,NMa,OMa,PMa,QMa,RMa,NQ,OQ,SMa,PQ,WMa,XMa,YMa,ZMa,$Ma,RQ,SQ,QQ,TMa,aNa,bNa,cNa,dNa,TQ,UQ,eNa,VQ,WQ,fNa,gNa,XQ,hNa,iNa,mNa,nNa,jNa,kNa,lNa,oNa,YQ,ZQ,$Q,pNa,qNa,aR,bR,rNa,cR,sNa,uNa,tNa,dR,vNa,wNa,xNa,yNa,zNa,ANa,CNa,DNa,eR,ENa,GNa,INa,HNa,hR,LLa,LP,MNa,NNa,ONa,PNa,QNa,RNa,IP,gR,SNa,iR,XNa,YNa,ZNa,$Na,jR,dOa,aOa,bOa,fOa,gOa,hOa,iOa,eOa,jOa,kR,lR,mR,kOa,lOa,nR,mOa,nOa,oOa,pOa,VNa,rOa,MLa,HLa,tOa,pR,rR,sR, tR,uR,vR,qR,uOa,wOa,yR,zOa,xOa,BOa,COa,AOa,yOa,DOa,EOa,FOa,DR,GOa,HOa,JOa,KOa,QLa,ER,LOa,OOa,OP,POa,QOa,ROa,JLa,KLa,FR,GR,HR,IR,SOa,TOa,JR,UOa,KR,LR,VOa,MR,WOa,NR,XOa,OR,PR,QR,RR,ZOa,$Oa,SR,aPa,bPa,YOa,TR,cPa,ePa,gPa,fPa,dPa,tPa,qPa,wPa,lS,mS,hPa,rPa,BJ,iS,pS,xPa,tS,zPa,$R,uS,ZR,APa,pPa,xS,yS,CPa,DPa,EPa,FPa,GPa,HPa,IPa,zS,JPa,OPa,NPa,KPa,MPa,LPa,AS,PPa,BS,QPa,RPa,TPa,UPa,VPa,$Pa,GS,HS,cQa,IS,JS,dQa,gQa,hQa,iQa,jQa,KS,lQa,pQa,qQa,xQa,BQa,uQa,vQa,DQa,TS,EQa,GQa,FQa,HQa,VS,YS,IQa,US,JQa,ZS,KQa,OQa, LQa,RQa,NQa,gRa,pRa,rT,qRa,sRa,dRa,fT,rRa,kT,sT,bRa,uRa,tRa,tT,cT,eRa,ARa,wRa,xRa,yRa,zRa,BRa,uT,CRa,ERa,FRa,wT,GRa,bT,hT,DRa,hRa,MQa,lRa,BT,iT,vRa,IT,JT,KT,TRa,URa,qT,MT,VRa,NT,WRa,jT,XRa,cRa,YRa,LRa,gT,VQa,ZRa,TQa,SQa,PQa,QT,hSa,jSa,kSa,lSa,mSa,ST,nSa,pSa,qSa,TT,sSa,tSa,WT,XT,VT,vSa,uSa,wSa,xSa,ySa,dU,fU,ASa,gU,BSa,CSa,HSa,ISa,rU,KSa,sU,LSa,NSa,uU,OSa,yU,zU,AU,BU,CU,PSa,RSa,QSa,SSa,TSa,USa,DU,EU,VSa,XSa,YSa,ZSa,IU,eTa,dTa,JU,gTa,LU,hTa,iTa,jTa,kTa,lTa,MU,nTa,mTa,oTa,pTa,NU,OU,qTa,sTa,tTa,PU,uTa, QU,vTa,yTa,RU,wTa,BTa,zTa,ATa,xTa,SU,FTa,DTa,ETa,GTa,TU,HTa,ITa,JTa,UU,KTa,LTa,MTa,XU,VU,NTa,YU,OTa,$U,aV,QTa,ZU,STa,bV,dV,TTa,eV,fV,gV,UTa,XTa,WTa,iV,jV,kV,$Ta,YTa,ZTa,lV,aUa,eUa,cUa,bUa,dUa,mV,gUa,hUa,nV,jUa,kUa,lUa,iUa,nUa,mUa,qUa,oUa,pUa,tUa,uUa,vUa,wUa,sUa,yUa,zUa,xUa,rUa,AUa,BUa,CUa,DUa,EUa,FUa,oV,KUa,IUa,JUa,pV,LUa,HUa,MUa,qV,rV,NUa,OUa,PUa,sV,QUa,RUa,SUa,TUa,UUa,VUa,YUa,WUa,ZUa,$Ua,aVa,bVa,dVa,CV,DV,EV,eVa,BV,iVa,hVa,jVa,kVa,lVa,mVa,nVa,oVa,pVa,vVa,IV,yVa,BVa,AVa,zVa,tVa,uVa,qVa,rVa,wVa,JV, KV,CVa,kU,zSa,MV,DVa,FVa,EVa,xVa,HVa,IVa,JVa,OV,KVa,VV,MVa,NVa,OVa,QVa,PVa,RVa,WV,XV,SVa,VVa,WVa,ZV,UVa,XVa,YVa,TVa,$V,ZVa,cW,$Va,aWa,bW,bWa,cWa,dWa,eWa,fWa,iWa,jWa,hWa,mWa,kWa,gW,hW,oWa,jW,kW,pWa,rWa,mW,qWa,sWa,tWa,uWa,wWa,vWa,xWa,yWa,zWa,AWa,BWa,rW,sW,DWa,CWa,vW,tW,uW,EWa,FWa,wW,GWa,HWa,JWa,LWa,KWa,xW,MWa,NWa,IWa,SWa,TWa,UWa,XWa,WWa,VWa,YWa,ZWa,yW,zW,$Wa,aXa,bXa,cXa,AW,DW,dXa,eXa,fXa,gXa,hXa,iXa,FW,jXa,kXa,nXa,GW,oXa,mXa,HW,IW,pXa,qXa,tXa,rXa,sXa,LW,uXa,wXa,xXa,zXa,AXa,MW,NW,BXa,vXa,DXa,CXa,OW, PW,QW,TW,UW,EXa,FXa,GXa,HXa,XW,IXa,YW,JXa,ZW,MXa,NXa,OXa,QXa,RXa,SXa,PXa,UXa,TXa,VXa,YXa,cX,$Xa,ZXa,WXa,XXa,aYa,bYa,dX,eX,cYa,dYa,eYa,fYa,gYa,hYa,jYa,kYa,RYa,MYa,NYa,KYa,UYa,jX,VYa,ZYa,mX,$Ya,WYa,iX,pX,oX,kX,qX,cZa,dZa,rX,lX,SYa,bZa,nX,XYa,aZa,eZa,fX,tX,fZa,gZa,YYa,uX,vX,iZa,wX,jZa,zX,AX,kZa,lZa,nZa,oZa,mZa,BX,CX,pZa,qZa,rZa,sZa,tZa,vZa,xZa,wZa,uZa,zZa,yZa,DX,EX,AZa,CZa,DZa,FX,BZa,EZa,FZa,GZa,HX,KX,JX,IZa,HZa,JZa,LX,KZa,LZa,NZa,MZa,OZa,PZa,QZa,OX,RZa,gWa,SZa,TZa,UZa,VZa,WZa,YZa,ZZa,$Za,XZa,a_a,b_a, c_a,d_a,e_a,SX,g_a,TX,i_a,UX,h_a,k_a,l_a,j_a,VX,m_a,o_a,p_a,n_a,XX,YX,ZX,r_a,$X,u_a,v_a,w_a,aY,x_a,y_a,z_a,A_a,B_a,D_a,s_a,E_a,bY,F_a,G_a,H_a,dY,I_a,J_a,K_a,P_a,T_a,R_a,M_a,gY,L_a,S_a,iY,V_a,U_a,jY,X_a,Y_a,Z_a,a0a,b0a,$_a,c0a,RTa,nY,d0a,e0a,oY,g0a,f0a,h0a,o0a,tY,p0a,q0a,vY,r0a,xY,wY,s0a,i0a,yY,u0a,v0a,x0a,zY,y0a,AY,A0a,z0a,BY,m0a,rY,B0a,C0a,D0a,E0a,F0a,j0a,l0a,sY,pY,I0a,J0a,CY,EY,FY,K0a,L0a,M0a,N0a,DY,G0a,O0a,P0a,H0a,T0a,X0a,JY,Y0a,Z0a,V0a,LY,$0a,a1a,S0a,b1a,W0a,c1a,MY,KY,d1a,f1a,e1a,IY,h1a,PY,i1a, NY,QY,OY,RY,j1a,SY,k1a,n1a,m1a,p1a,q1a,o1a,VY,UY,s1a,t1a,u1a,v1a,w1a,y1a,x1a,z1a,XY,YY,A1a,ZY,B1a,D1a,H1a,E1a,F1a,G1a,I1a,gZ,J1a,K1a,L1a,M1a,N1a,O1a,P1a,Q1a,R1a,S1a,hZ,U1a,V1a,W1a,iZ,jZ,kZ,lZ,mZ,nZ,oZ,X1a,pZ,Y1a,c2a,f2a,g2a,h2a,i2a,tZ,uZ,e2a,b2a,j2a,rZ,Z1a,k2a,qZ,sZ,$1a,a2a,vZ,l2a,m2a,d2a,n2a,o2a,s2a,p2a,t2a,u2a,q2a,r2a,v2a,w2a,x2a,tQa,AQa,z2a,y2a,xZ,E2a,C2a,D2a,A2a,F2a,yZ,B2a,zZ,AZ,G2a,H2a,I2a,BZ,K2a,L2a,CZ,M2a,DZ,N2a,O2a,P2a,Q2a,S2a,T2a,$2a,W2a,R2a,b3a,c3a,X2a,Y2a,V2a,Z2a,FZ,U2a,a3a,i3a,g3a,f3a, e3a,d3a,HZ,j3a,JZ,l3a,KZ,m3a,n3a,o3a,LZ,MZ,NZ,q3a,r3a,p3a,u3a,v3a,w3a,OZ,PZ,x3a,y3a,z3a,B3a,A3a,C3a,D3a,QZ,E3a,F3a,SZ,TZ,RZ,G3a,H3a,J3a,K3a,I3a,UZ,L3a,M3a,O3a,N3a,Q3a,P3a,R3a,S3a,T3a,U3a,aZ,V3a,W3a,X3a,Y3a,Z3a,$3a,a4a,$Y,b4a,WZ,XZ,c4a,d4a,e4a,YZ,f4a,fZ,g4a,h4a,cZ,dZ,l4a,$Z,b_,m4a,n4a,d_,a_,ZZ,e_,j4a,i4a,k4a,f_,p4a,q4a,o4a,r4a,bZ,s4a,c_,t4a,u4a,v4a,w4a,x4a,y4a,s3a,t3a,z4a,A4a,g_,D4a,B4a,E4a,G4a,h_,H4a,I4a,J4a,j_,m_,L4a,P4a,N4a,Q4a,M4a,O4a,K4a,R4a,S4a,n_,T4a,o_,W4a,Y4a,$4a,d5a,l5a,n5a,o5a,m5a,p5a,q5a, r5a,q_,t5a,x5a,z5a,r_,A5a,s5a,B5a,C5a,s_,D5a,E5a,F5a,G5a,u_,N5a,M5a,z_,O5a,L5a,R5a,S5a,T5a,V5a,W5a,X5a,Y5a,Z5a,$5a,b6a,c6a,d6a,a6a,C_,t_,e6a,f6a,A_,h6a,U5a,B_,i6a,j6a,m6a,n6a,k6a,l6a,q6a,p6a,r6a,s6a,o6a,t6a,u6a,D_,v6a,w6a,x6a,A6a,z6a,y6a,E_,B6a,D6a,E6a,F6a,H_,I_,T1a,G6a,J_,J6a,I6a,H6a,K6a,M6a,N6a,L6a,K_,P6a,Q6a,R6a,W6a,V6a,X6a,Z6a,h3a,S6a,U6a,T6a,Y6a,eZ,EZ,i_,$6a,a7a,b7a,c7a,d7a,C6a,L_,k_,e7a,F4a,N_,O_,f7a,P_,g7a,h7a,i7a,j7a,k7a,l7a,n7a,m7a,p7a,q7a,u7a,r7a,t7a,v7a,R_,z7a,x7a,y7a,C7a,D7a,E7a,F7a,G7a, Q_,H7a,B7a,w7a,S_,I7a,s7a,J7a,T_,L7a,M7a,N7a,K7a,U_,Q7a,P7a,T7a,S7a,R7a,U7a,V7a,V_,W7a,X7a,b8a,Z7a,$7a,a8a,c8a,d8a,e8a,g8a,f8a,h8a,i8a,j8a,l8a,n8a,m8a,o8a,k8a,p8a,r8a,t8a,q8a,u8a,v8a,x8a,w8a,y8a,s8a,X_,z8a,A8a,B8a,D8a,F8a,G8a,I8a,J8a,K8a,L8a,O8a,P8a,N8a,Q8a,R8a,S8a,U8a,T8a,X8a,a0,GY,V8a,W8a,Y8a,d0,$8a,Z8a,a9a,c9a,d9a,g9a,e9a,j9a,e0,f9a,k9a,f0,m9a,h0,j0,n9a,g0,o9a,k0,r9a,q9a,l9a,s9a,t9a,i0,u9a,l0,v9a,p9a,M8a,c0,HY,x9a,Q0a,y9a,R0a,z9a,A9a,B9a,C9a,n0,D9a,F9a,G9a,H9a,E9a,I9a,J9a,o0,K9a,L9a,M9a,p0,MBa, N9a,O9a,P9a,r0,S9a,T9a,t0,U9a,V9a,R9a,s0,q0,Q9a,w0,v0,x0,u0,Z9a,a$a,c$a,e$a,X9a,b$a,f$a,Y9a,g$a,h$a,j$a,y0,k$a,l$a,i$a,z0,n$a,m$a,o$a,$9a,p$a,d$a,W9a,A0,v$a,s$a,w$a,t$a,r$a,x$a,q$a,A$a,B0,B$a,D$a,uL,F$a,H$a,I$a,J$a,G0,K$a,k0a,M$a,H0,Y7a,N$a,P$a,L$a,lY,F0,Q$a,R$a,l_,M0,g6a,G$a,L0,C0,U$a,V$a,X$a,W$a,O$a,J0,Y$a,N0,Z$a,Q_a,aab,$$a,O6a,W_,W_a,bab,t0a,VTa,I0,cab,eab,dab,O_a,fab,hab,T$a,E$a,jab,iab,K0,D0,kab,P0,hY,mab,nab,uY,oab,pab,qab,N_a,O0,G_,rab,Cab,xab,Eab,wab,Fab,vab,R0,mY,Kab,Gab,Iab,Hab,Mab,U0, V0,Pab,Oab,Nab,X0,Bab,b1,Rab,a1,W0,Uab,Wab,Xab,yab,Vab,e1,Yab,Aab,Z0,Qab,Y0,dbb,ebb,T0,fbb,hbb,ibb,gbb,h1,Sab,i1,j1,jbb,$0,Lab,$ab,Zab,kbb,lbb,mbb,nbb,c1,obb,d1,pbb,rbb,S0,k1,Jab,sbb,tbb,zab,g1,f1,ubb,vbb,l1,m1,l1a,wbb,xbb,ybb,zbb,n1,Bbb,Fbb,Ibb,Ebb,Abb,o1,p1,q1,Sbb,Rbb,r1,s1,Ubb,Vbb,Wbb,bBa,Tbb,PBa,Xbb,t1,Zbb,Ybb,$bb,u1,v1,acb,w1,nN,bcb,sN,oFa,ccb,VDa,NL,OL,dcb,ecb,fcb,x1,hcb,icb,y1,A1,B1,lcb,mcb,C1,ncb,jcb,kcb,ocb,pcb,D1,qcb,E1,rcb,RL,scb,tcb,mAa,nK,ucb,vcb,wcb,F1,zcb,ycb,G1,H1,Acb,Bcb,z1,Ccb,Dcb, Ecb,I1,J1,Fcb,K1,L1,Gcb,M1,N1,Hcb,O1,P1,Icb,Jcb,$Ba,Q1,Kcb,Mcb,Lcb,R1,S1,T1,Ncb,Ocb,Pcb,Qcb,Rcb,Scb,Tcb,Vcb,V1,Ucb,W1,Wcb,Xcb,Ycb,Zcb,$cb,ddb,adb,bdb,cdb,fdb,hdb,idb,jdb,gdb,X1,kdb,ldb,mdb,ndb,odb,Z1,pdb,$1,a2,b2,qdb,rdb,tdb,udb,vdb,wdb,ydb,xdb,zdb,e2,f2,Cdb,Adb,Bdb,g2,Edb,Fdb,h2,i2,Gdb,j2,Idb,k2,Jdb,Kdb,Ldb,l2,m2,n2,Mdb,Ndb,Odb,Rdb,Qdb,o2,Sdb,Tdb,Udb,tDa,Pdb,Vdb,Ydb,Zdb,aeb,aaa,ka;aa=function(a){return function(){return aaa[a].apply(this,arguments)}}; g.ca=function(a,b){return aaa[a]=b}; baa=function(a){var b=0;return function(){return bb?null:"string"===typeof a?a.charAt(b):a[b]}; yb=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)}; uaa=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.Rb(a,-(c+1),0,b)}; g.dc=function(a,b,c){var d={};(0,g.cc)(a,function(e,f){d[b.call(c,e,f,a)]=e}); return d}; yaa=function(a){for(var b=[],c=0;c")&&(a=a.replace(Iaa,">"));-1!=a.indexOf('"')&&(a=a.replace(Jaa,"""));-1!=a.indexOf("'")&&(a=a.replace(Kaa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Laa,"�"));return a}; g.ic=function(a,b){return-1!=a.indexOf(b)}; jc=function(a,b){return g.ic(a.toLowerCase(),b.toLowerCase())}; g.mc=function(a,b){var c=0;a=kc(String(a)).split(".");b=kc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0}; g.oc=function(){var a=g.Ra.navigator;return a&&(a=a.userAgent)?a:""}; uc=function(a){return rc||sc?tc?tc.brands.some(function(b){return(b=b.brand)&&g.ic(b,a)}):!1:!1}; xc=function(a){return g.ic(g.oc(),a)}; yc=function(){return rc||sc?!!tc&&0=a}; Xaa=function(a){return g.Sc?"webkit"+a:a.toLowerCase()}; Tc=function(a,b){g.wb.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.j=null;a&&this.init(a,b)}; Uc=function(a){return!(!a||!a[Yaa])}; $aa=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Cd=e;this.key=++Zaa;this.removed=this.TG=!1}; Vc=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.Cd=null}; g.Wc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)}; g.Xc=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}; Yc=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}; g.Zc=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1}; aba=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0}; g.ad=function(a){for(var b in a)return b}; bba=function(a){for(var b in a)return a[b]}; bd=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}; g.cd=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}; g.gd=function(a,b){return null!==a&&b in a}; g.hd=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1}; id=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}; cba=function(a,b){return(b=id(a,b))&&a[b]}; g.jd=function(a){for(var b in a)return!1;return!0}; g.dba=function(a){for(var b in a)delete a[b]}; g.kd=function(a,b){b in a&&delete a[b]}; g.ld=function(a,b,c){return null!==a&&b in a?a[b]:c}; g.pd=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0}; g.qd=function(a){var b={},c;for(c in a)b[c]=a[c];return b}; g.rd=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=g.rd(a[c]);return b}; g.sd=function(a,b){for(var c,d,e=1;ea.B&&(a.B++,b.next=a.j,a.j=b)}; Id=function(a){return function(){return a}}; g.Jd=function(){}; nba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}}; Kd=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}; Ld=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}}; oba=function(a,b){var c=0;return function(d){g.Ra.clearTimeout(c);var e=arguments;c=g.Ra.setTimeout(function(){a.apply(b,e)},50)}}; Od=function(){if(void 0===Nd){var a=null,b=g.Ra.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:nb,createScript:nb,createScriptURL:nb})}catch(c){g.Ra.console&&g.Ra.console.error(c.message)}Nd=a}else Nd=a}return Nd}; g.Pd=function(a,b){this.E_=a===pba&&b||"";this.e4=qba}; g.Qd=function(a){return a instanceof g.Pd&&a.constructor===g.Pd&&a.e4===qba?a.E_:"type_error:Const"}; g.Rd=function(a){return new g.Pd(pba,a)}; Sd=function(a){this.WQ=a;this.zn=!0}; rba=function(a){return a instanceof Sd&&a.constructor===Sd?a.WQ:"type_error:SafeScript"}; tba=function(a){var b=Od();a=b?b.createScript(a):a;return new Sd(a,sba)}; g.Vd=function(a){this.ZQ=a}; g.Wd=function(a){return a instanceof g.Vd&&a.constructor===g.Vd?a.ZQ:"type_error:TrustedResourceUrl"}; wba=function(a,b){var c=g.Qd(a);if(!uba.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(vba,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 g.Pd?g.Qd(d):encodeURIComponent(String(d))}); return Xd(a)}; Xd=function(a){var b=Od();a=b?b.createScriptURL(a):a;return new g.Vd(a,xba)}; g.Yd=function(a){this.YQ=a}; g.Zd=function(a){return a instanceof g.Yd&&a.constructor===g.Yd?a.YQ:"type_error:SafeUrl"}; g.ae=function(a){if(a instanceof g.Yd)return a;a="object"==typeof a&&a.zn?a.Nk():String(a);yba.test(a)?a=new g.Yd(a,$d):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(zba)?new g.Yd(a,$d):null);return a}; Bba=function(a){if(a instanceof g.Yd)return a;a="object"==typeof a&&a.zn?a.Nk():String(a);a:{var b=a;if(Aba){try{var c=new URL(b)}catch(d){b="https:";break a}b=c.protocol}else b:{c=document.createElement("a");try{c.href=b}catch(d){b=void 0;break b}b=c.protocol;b=":"===b||""===b?"https:":b}}"javascript:"!==b||(a="about:invalid#zClosurez");return new g.Yd(a,$d)}; g.be=function(a){this.XQ=a;this.zn=!0}; ce=function(a){return a instanceof g.be&&a.constructor===g.be?a.XQ:"type_error:SafeStyle"}; Iba=function(a){if(a instanceof g.Yd)return'url("'+g.Zd(a).replace(/a*b?a+b:a}; oe=function(a,b,c){return a+c*(b-a)}; g.pe=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}; te=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; g.ue=function(a,b){this.width=a;this.height=b}; g.ve=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; g.we=function(a){return encodeURIComponent(String(a))}; xe=function(a){return decodeURIComponent(a.replace(/\+/g," "))}; g.ye=function(a){return a=hc(a)}; g.ze=function(a){return null==a?"":String(a)}; Ae=function(a){for(var b=0,c=0;c>>0;return b}; Ke=function(a){var b=Number(a);return 0==b&&g.gc(a)?NaN:b}; Uba=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; Vba=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()}; Wba=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})}; Xba=function(a){var b=1;a=a.split(":");for(var c=[];0a}; Df=function(a,b,c){if(!b&&!c)return null;var d=b?String(b).toUpperCase():null;return Cf(a,function(e){return(!d||e.nodeName==d)&&(!c||"string"===typeof e.className&&g.Cb(e.className.split(/\s+/),c))},!0)}; Cf=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}; Le=function(a){this.j=a||g.Ra.document||document}; Ff=function(a){"function"!==typeof g.Ra.setImmediate||g.Ra.Window&&g.Ra.Window.prototype&&!Cc()&&g.Ra.Window.prototype.setImmediate==g.Ra.setImmediate?(Ef||(Ef=fca()),Ef(a)):g.Ra.setImmediate(a)}; fca=function(){var a=g.Ra.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!xc("Presto")&&(a=function(){var e=g.mf("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.fb)(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&&!Ac()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.sV;c.sV=null;e()}}; return function(e){d.next={sV:e};d=d.next;b.port2.postMessage(0)}}return function(e){g.Ra.setTimeout(e,0)}}; Gf=function(a){g.Ra.setTimeout(function(){throw a;},0)}; Hf=function(){this.B=this.j=null}; Rf=function(){this.next=this.scope=this.kD=null}; g.Uf=function(a,b){Sf||gca();Tf||(Sf(),Tf=!0);hca.add(a,b)}; gca=function(){if(g.Ra.Promise&&g.Ra.Promise.resolve){var a=g.Ra.Promise.resolve(void 0);Sf=function(){a.then(ica)}}else Sf=function(){Ff(ica)}}; ica=function(){for(var a;a=hca.remove();){try{a.kD.call(a.scope)}catch(b){Gf(b)}mba(jca,a)}Tf=!1}; g.Wf=function(a){this.j=0;this.N=void 0;this.D=this.B=this.C=null;this.G=this.K=!1;if(a!=g.Jd)try{var b=this;a.call(void 0,function(c){Vf(b,2,c)},function(c){Vf(b,3,c)})}catch(c){Vf(this,3,c)}}; kca=function(){this.next=this.context=this.B=this.C=this.j=null;this.D=!1}; Xf=function(a,b,c){var d=lca.get();d.C=a;d.B=b;d.context=c;return d}; Yf=function(a){if(a instanceof g.Wf)return a;var b=new g.Wf(g.Jd);Vf(b,2,a);return b}; Zf=function(a){return new g.Wf(function(b,c){c(a)})}; g.nca=function(a,b,c){mca(a,b,c,null)||g.Uf(g.gb(b,a))}; oca=function(a){return new g.Wf(function(b,c){a.length||b(void 0);for(var d=0,e;d=a.D&&a.Ux()}; Bca=function(a,b){return a.K.has(b)?void 0:a.B.get(b)}; Cca=function(a){for(var b=0;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}; Nca=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1e?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}; g.sg=function(a,b){void 0===b&&(b=0);Pca();b=Qca[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.tg=function(a,b){if(Rca&&!b)a=g.Ra.btoa(a);else{for(var c=[],d=0,e=0;e>=8);c[d++]=f}a=g.sg(c,b)}return a}; Tca=function(a){var b=[];Sca(a,function(c){b.push(c)}); return b}; ug=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):g.ic("=.",a[b-1])&&(c=g.ic("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Sca(a,function(f){d[e++]=f}); return e!==c?d.subarray(0,e):d}; Sca=function(a,b){function c(m){for(;d>4);64!=h&&(b(f<<4&240|h>>2),64!=l&&b(h<<6&192|l))}}; Pca=function(){if(!vg){vg={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Qca[c]=d;for(var e=0;e "+a)}; gda=function(a){return 0==a.length?Ag():new zg(a,yg)}; Qg=function(a){if("string"===typeof a)return{buffer:Zca(a),Xv:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Xv:!1};if(a.constructor===Uint8Array)return{buffer:a,Xv:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Xv:!1};if(a.constructor===zg)return{buffer:Bg(a)||xg(),Xv:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Xv:!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"); }; Rg=function(){return"function"===typeof BigInt}; Vg=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=g.v(Sg(c,a)),b=c.next().value,a=c.next().value,c=b);Tg=c>>>0;Ug=a>>>0}; hda=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=4294967296*b+(a>>>0);return c?-a:a}; Wg=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Rg()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/1E7),c%=1E7),c=b+ida(c)+ida(a));return c}; ida=function(a){a=String(a);return"0000000".slice(a.length)+a}; jda=function(){var a=Tg,b=Ug;b&2147483648?Rg()?a=""+(BigInt(b|0)<>>0)):(b=g.v(Sg(a,b)),a=b.next().value,b=b.next().value,a="-"+Wg(a,b)):a=Wg(a,b);return a}; Xg=function(a){if(16>a.length)Vg(Number(a));else if(Rg())a=BigInt(a),Tg=Number(a&BigInt(4294967295))>>>0,Ug=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);Ug=Tg=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)),Ug*=1E6,Tg=1E6*Tg+d,4294967296<=Tg&&(Ug+=Math.trunc(Tg/4294967296),Ug>>>=0,Tg>>>=0);b&&(b=g.v(Sg(Tg,Ug)),a=b.next().value,b=b.next().value,Tg=a,Ug=b)}}; Sg=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]}; kda=function(a,b){this.B=null;this.G=!1;this.j=this.C=this.D=0;this.init(a,void 0,void 0,b)}; Zg=function(a){var b=0,c=0,d=0,e=a.B,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)return hda(b>>>0,c>>>0);throw Pg();}; Yg=function(a,b){a.j=b;if(b>a.C)throw fda(a.C,b);}; $g=function(a){var b=a.B,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 Pg();Yg(a,c);return e}; ah=function(a){var b=a.B,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}; bh=function(a){var b=ah(a);return 4294967296*ah(a)+(b>>>0)}; ch=function(a){var b=ah(a),c=ah(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)}; dh=function(a){for(var b=0,c=a.j,d=c+10,e=a.B;cb)throw Error("Tried to read a negative byte length: "+b);var c=a.j,d=c+b;if(d>a.C)throw fda(b,a.C-c);a.j=d;return c}; nda=function(a,b){if(0==b)return Ag();var c=lda(a,b);a.IG&&a.G?c=a.B.subarray(c,c+b):(a=a.B,b=c+b,c=c===b?xg():mda?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return gda(c)}; fh=function(a,b){if(eh.length){var c=eh.pop();c.init(a,void 0,void 0,b);a=c}else a=new kda(a,b);this.j=a;this.C=this.j.j;this.B=this.D=-1;oda(this,b)}; oda=function(a,b){b=void 0===b?{}:b;a.wN=void 0===b.wN?!1:b.wN}; pda=function(a){var b=a.j;if(b.j==b.C)return!1;a.C=a.j.j;var c=$g(a.j)>>>0;b=c>>>3;c&=7;if(!(0<=c&&5>=c))throw eda(c,a.C);if(1>b)throw Error("Invalid field number: "+b+" (at position "+a.C+")");a.D=b;a.B=c;return!0}; gh=function(a){switch(a.B){case 0:0!=a.B?gh(a):dh(a.j);break;case 1:a.j.advance(8);break;case 2:if(2!=a.B)gh(a);else{var b=$g(a.j)>>>0;a.j.advance(b)}break;case 5:a.j.advance(4);break;case 3:b=a.D;do{if(!pda(a))throw Error("Unmatched start-group tag: stream EOF");if(4==a.B){if(a.D!=b)throw Error("Unmatched end-group tag");break}gh(a)}while(1);break;default:throw eda(a.B,a.C);}}; Bh=function(a,b,c){var d=a.j.C,e=$g(a.j)>>>0,f=a.j.j+e,h=f-d;0>=h&&(a.j.C=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.C=d}; Eh=function(a){var b=$g(a.j)>>>0;a=a.j;var c=lda(a,b);a=a.B;if(qda){var d=a,e;(e=Ch)||(e=Ch=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===Dh){try{e.decode(new Uint8Array([128]))}catch(p){}try{e.decode(new Uint8Array([97])),Dh=!0}catch(p){Dh=!1}}!Dh&&(Ch=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?qg():(m=a[f++],194>l||128!==(m&192)?(f--,qg()):c.push((l&31)<<6|m&63)): 240>l?f>=b-1?qg():(m=a[f++],128!==(m&192)||224===l&&160>m||237===l&&160<=m||128!==((d=a[f++])&192)?(f--,qg()):c.push((l&15)<<12|(m&63)<<6|d&63)):244>=l?f>=b-2?qg():(m=a[f++],128!==(m&192)||0!==(l<<28)+(m-144)>>30||128!==((d=a[f++])&192)||128!==((e=a[f++])&192)?(f--,qg()):(l=(l&7)<<18|(m&63)<<12|(d&63)<<6|e&63,l-=65536,c.push((l>>10&1023)+55296,(l&1023)+56320))):qg(),8192<=c.length&&(h=Jca(h,c),c.length=0);f=Jca(h,c)}return f}; rda=function(a){var b=$g(a.j)>>>0;return nda(a.j,b)}; sda=function(a,b){this.B=a>>>0;this.j=b>>>0}; uda=function(a){if(!a)return tda||(tda=new sda(0,0));if(!/^\d+$/.test(a))return null;Xg(a);return new sda(Tg,Ug)}; vda=function(a,b){this.B=a>>>0;this.j=b>>>0}; xda=function(a){if(!a)return wda||(wda=new vda(0,0));if(!/^-?\d+$/.test(a))return null;Xg(a);return new vda(Tg,Ug)}; Fh=function(){this.j=[]}; yda=function(a,b,c){for(;0>>7|c<<25)>>>0,c>>>=7;a.j.push(b)}; Gh=function(a,b){for(;127>>=7;a.j.push(b)}; zda=function(a,b){if(0<=b)Gh(a,b);else{for(var c=0;9>c;c++)a.j.push(b&127|128),b>>=7;a.j.push(1)}}; Hh=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)}; Ada=function(){this.C=[];this.B=0;this.j=new Fh}; Ih=function(a,b){0!==b.length&&(a.C.push(b),a.B+=b.length)}; Jh=function(a,b,c){Gh(a.j,8*b+c)}; Bda=function(a,b,c){null!=c&&("string"===typeof c&&uda(c),Jh(a,b,1),"number"===typeof c?(a=a.j,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,Tg=b,Ug=c,Hh(a,Tg),Hh(a,Ug)):(c=uda(c),a=a.j,b=c.j,Hh(a,c.B),Hh(a,b)))}; Kh=function(a,b,c){Jh(a,b,2);Gh(a.j,c.length);Ih(a,a.j.end());Ih(a,c)}; Lh=function(a,b,c,d){this.iL=a;this.jL=b;this.j=c;this.P0=d}; Mh=function(a){return Array.prototype.slice.call(a)}; Cda=function(a){var b=Nh(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Mh(a)),Oh(a,b|1))}; Ph=function(a,b,c){return c?a|b:a&~b}; Dda=function(){var a=[];Qh(a,1);return a}; Eda=function(a,b){Oh(b,(a|0)&-14591)}; Rh=function(a,b){Oh(b,(a|34)&-14557)}; Sh=function(a){a=a>>14&1023;return 0===a?536870912:a}; Gda=function(a){return!(!a||"object"!==typeof a||a.Mib!==Fda)}; Th=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}; Uh=function(a,b,c,d){if(null==a){if(!c)throw Error();}else if("string"===typeof a)a=a?new zg(a,yg):Ag();else if(a.constructor!==zg)if(wg(a))a=d?gda(a):a.length?new zg(new Uint8Array(a),yg):Ag();else{if(!b)throw Error();a=void 0}return a}; Vh=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Nh(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;Oh(a,d|1);return!0}; Wh=function(a){if(a&2)throw Error();}; Hda=function(a,b){if("number"!==typeof b||0>b||b>=a.length)throw Error();}; Ida=function(a,b){(b=Xh?b[Xh]:void 0)&&(a[Xh]=Mh(b))}; oi=function(){var a=Error();Aaa(a,"incident");Gf(a)}; pi=function(a){a=Error(a);Aaa(a,"warning");return a}; qi=function(a){if(null!=a&&"number"!==typeof a)throw Error("Value of float/double field must be a number, found "+typeof a+": "+a);return a}; Jda=function(a){if(null==a)return a;if("number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)}; Kda=function(a){return a.displayName||a.name||"unknown type name"}; Lda=function(a){if("boolean"!==typeof a)throw Error("Expected boolean but got "+Xa(a)+": "+a);return a}; Mda=function(a){if(null==a||"boolean"===typeof a)return a;if("number"===typeof a)return!!a}; ri=function(a){var b=typeof a;return"number"===b?Number.isFinite(a):"string"!==b?!1:Nda.test(a)}; si=function(a){Number.isFinite(a)||oi();return a}; Oda=function(a){return a}; Pda=function(a){if("number"!==typeof a)throw pi("int32");Number.isFinite(a)||oi();return a}; ti=function(a){return null==a?a:Pda(a)}; ui=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a}; vi=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a}; Rda=function(a,b){b=!!b;if(!ri(a))throw pi("int64");return"string"===typeof a?wi(a,b):b?Qda(a,b):xi(a,!1)}; yi=function(a){return null==a?a:Rda(a)}; Sda=function(a){return"-"===a[0]?!1:20>a.length?!0:20===a.length&&184467>Number(a.substring(0,6))}; Tda=function(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337a.length?!0:19===a.length&&922337>Number(a.substring(0,6))}; xi=function(a,b){ri(a);a=Math.trunc(a);b&&!Number.isSafeInteger(a)&&(Vg(a),a=hda(Tg,Ug));return a}; zi=function(a){ri(a);return a=Math.trunc(a)}; Qda=function(a,b){ri(a);a=Math.trunc(a);!b||Number.isSafeInteger(a)?a=String(a):(b=String(a),Tda(b)?a=b:(Vg(a),a=jda()));return a}; wi=function(a,b){ri(a);var c=Math.trunc(Number(a));if(Number.isSafeInteger(c))return String(c);c=a.indexOf(".");-1!==c&&(a=a.substring(0,c));b&&(Tda(a)||(Xg(a),a=jda()));return a}; Ai=function(a,b){ri(a);var c=Math.trunc(Number(a));if(Number.isSafeInteger(c)&&(!b||0<=c))return String(c);b=a.indexOf(".");-1!==b&&(a=a.substring(0,b));Sda(a)||(Xg(a),a=Wg(Tg,Ug));return a}; Uda=function(a){var b=!!b;if(!ri(a))throw pi("uint64");"string"===typeof a?b=Ai(a,b):b?(ri(a),a=Math.trunc(a),!b||0<=a&&Number.isSafeInteger(a)?b=String(a):(b=String(a),Sda(b)||(Vg(a),b=Wg(Tg,Ug)))):b=zi(a);return b}; Vda=function(a){if(null==a)return a;if(ri(a)){if("string"===typeof a)return Ai(a,!1);if("number"===typeof a)return zi(a)}}; Wda=function(a){if(null==a||"string"===typeof a||wg(a)||a instanceof zg)return a}; Bi=function(a){if("string"!==typeof a)throw Error();return a}; Ci=function(a){if(null!=a&&"string"!==typeof a)throw Error();return a}; Di=function(a){return null==a||"string"===typeof a?a:void 0}; Ei=function(a,b){if(!(a instanceof b))throw Error("Expected instanceof "+Kda(b)+" but got "+(a&&Kda(a.constructor)));return a}; Xda=function(a,b,c){if(null!=a&&"object"===typeof a&&a.eJ===Fi)return a;if(Array.isArray(a)){var d=Nh(a),e=d;0===e&&(e|=c&32);e|=c&2;e!==d&&Oh(a,e);return new b(a)}}; Yi=function(a,b){Xi=b;a=new a(b);Xi=void 0;return a}; $i=function(a){switch(typeof a){case "boolean":return Zi||(Zi=[0,void 0,!0]);case "number":return 0=Sh(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+(+!!(b&512)-1);if(b=f||e){e=b;if(b&256)f=a[a.length-1];else{if(null==d)return e;f=a[f+(+!!(b&512)-1)]={};e|=256}f[c]=d;e!==b&&Oh(a,e);return e}a[c+(+!!(b&512)-1)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b}; jj=function(a,b,c){return void 0!==fea(a,b,c,!1)}; mj=function(a,b,c,d,e){var f=b&2,h=fj(a,b,c,e);Array.isArray(h)||(h=kj);var l=!(d&2);d=!(d&1);var m=!!(b&32),n=Nh(h);0!==n||!m||f||l?n&1||(n|=1,Oh(h,n)):(n|=33,Oh(h,n));f?(a=!1,n&2||(Qh(h,34),a=!!(4&n)),(d||a)&&Object.freeze(h)):(f=!!(2&n)||!!(2048&n),d&&f?(h=Mh(h),d=1,m&&!l&&(d|=32),Oh(h,d),hj(a,b,c,h,e)):l&&n&32&&!f&&lj(h,32));return h}; oj=function(a,b,c,d,e,f){e=void 0===e?2:e;a=a.ea;var h=cj(a);2&h&&(e=1);f=!!f;var l=mj(a,h,b,1|(f?2:0),d);h=cj(a);var m=Nh(l),n=m,p=!!(2&m),q=!!(4&m),r=p&&q;if(!(4&m)){q&&(l=Mh(l),n=0,m=nj(m,h,f),p=!!(2&m),h=hj(a,h,b,l,d));for(var t=q=0;qd||d>b.length)throw Error();f=Nh(b);b[d]=c(e,!!(4&f)&&!!(4096&f));return a}; Gj=function(a,b,c,d){var e=a.ea,f=cj(e);Wh(f);(c=Fj(e,f,c))&&c!==b&&null!=d&&(f=hj(e,f,c));hj(e,f,b,d);return a}; Hj=function(a,b,c,d){var e=cj(a);Wh(e);(c=Fj(a,e,c))&&c!==b&&(e=hj(a,e,c));hj(a,e,b,d)}; Ij=function(a,b,c){a=a.ea;return Fj(a,cj(a),b)===c?c:-1}; Fj=function(a,b,c){for(var d=0,e=0;e=f){Object.assign(b[b.length-1]={},l);break}h=!0}f=b;c=!c;l=cj(a.ea);a=Sh(l);l=+!!(l&512)-1;for(var m,n,p=0;ph&&(q-=h,h=a[++f]);for(;m>>=7,a.B++;c.push(e);a.B++}}; Qea=function(a){return function(){var b=new Ada;Gea(this.ea,b,Jk(a));Ih(b,b.j.end());for(var c=new Uint8Array(b.B),d=b.C,e=d.length,f=0,h=0;ht;t+=4)r[t/4]=q[t]<<24|q[t+1]<<16|q[t+2]<<8|q[t+3];for(t=16;80>t;t++)q=r[t-3]^r[t-8]^r[t-14]^r[t-16],r[t]=(q<<1|q>>>31)&4294967295;q=e[0];var u=e[1],x=e[2],B=e[3],F=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var G=B^u&(x^B);var H=1518500249}else G=u^x^B,H=1859775393;else 60>t?(G=u&x|B&(u|x),H=2400959708):(G=u^x^B,H=3395469782);G=((q<<5|q>>>27)&4294967295)+G+F+H+r[t]&4294967295;F=B;B=x;x=(u<<30|u>>>2)&4294967295;u=q;q=G}e[0]=e[0]+q&4294967295;e[1]=e[1]+u&4294967295;e[2]= e[2]+x&4294967295;e[3]=e[3]+B&4294967295;e[4]=e[4]+F&4294967295} function c(q,r){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var t=[],u=0,x=q.length;un?c(l,56-n):c(l,64-(n-56));for(var t=63;56<=t;t--)f[t]=r&255,r>>>=8;b(f);for(t=r=0;5>t;t++)for(var u=24;0<=u;u-=8)q[r++]=e[t]>>u&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,r5:function(){for(var q=d(),r="",t=0;tb?a:a.slice(0,b)}; Jl=function(a,b){if(a){a=a.split("&");for(var c=0;cc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}; Ll=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 xe(a.slice(d,-1!==e?e:0))}; wm=function(a,b){for(var c=a.search(gfa),d=0,e,f=[];0<=(e=ffa(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(hfa,"$1")}; ifa=function(a,b,c){return um(wm(a,b),b,c)}; xm=function(a){this.ea=M(a)}; ym=function(a){this.ea=M(a)}; zm=function(a){this.ea=M(a)}; Am=function(a){this.ea=M(a)}; Bm=function(a){this.ea=M(a)}; Cm=function(a){this.ea=M(a)}; Dm=function(a){this.ea=M(a,35)}; Em=function(a){this.ea=M(a,19)}; Fm=function(a){this.ea=M(a,7)}; jfa=function(a){this.ea=M(a)}; Im=function(a){g.J.call(this);var b=this;this.componentId="";this.B=[];this.Ka="";this.Na=this.Ea=-1;this.Fa=!1;this.N=this.experimentIds=null;this.qa=this.Aa=this.K=this.D=0;this.Sa=1;this.timeoutMillis=0;this.Z=!1;this.logSource=a.logSource;this.nz=a.nz||function(){}; this.C=new Gm(a.logSource,a.Sz);this.network=a.network;this.bB=a.bB||null;this.Va=g.gb(Tba,0,1);this.ma=a.qca||null;this.sessionIndex=a.sessionIndex||null;this.WC=a.WC||!1;this.pageId=a.pageId||null;this.logger=null;this.withCredentials=!a.QV;this.Sz=a.Sz||!1;var c=R(new Am,1,1);Hm(this.C,c);this.G=new g.Bl(1E4,3E5,.1);this.j=new yl(this.G.getValue());a=kfa(this,a.iV);g.xd(this.j,"tick",a,!1,this);this.Y=new yl(6E5);g.xd(this.Y,"tick",a,!1,this);this.WC||this.Y.start();this.Sz||(g.xd(document,"visibilitychange", function(){"hidden"===document.visibilityState&&b.HN()}),g.xd(document,"pagehide",this.HN,!1,this))}; kfa=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}}; lfa=function(a){a.ma||(a.ma=.01>a.Va()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.ma}; mfa=function(a,b){a.G=new g.Bl(1>b?1:b,3E5,.1);a.j.setInterval(a.G.getValue())}; ofa=function(a){nfa(a,function(b,c){b=um(b,"format","json");var d=!1;try{d=bf().navigator.sendBeacon(b,c.Aj())}catch(e){}a.Z&&!d&&(a.Z=!1);return d})}; nfa=function(a,b){if(0!==a.B.length){var c=wm(lfa(a),"format");c=efa(c,"auth",a.nz(),"authuser",a.sessionIndex||"0");for(var d=0;10>d&&a.B.length;++d){var e=a.B.slice(0,32),f=a.C.build(e,a.D,a.K,a.bB,a.Aa,a.qa);if(!b(c,f)){++a.K;break}a.D=0;a.K=0;a.Aa=0;a.qa=0;a.B=a.B.slice(e.length)}a.j.enabled&&a.j.stop()}}; Gm=function(a,b){this.Sz=b=void 0===b?!1:b;this.B=this.locale=null;this.j=new Em;Number.isInteger(a)&&this.j.CF(a);b||(this.locale=document.documentElement.getAttribute("lang"));Hm(this,new Am)}; Hm=function(a,b){N(a.j,Am,1,b);gj(b,1)||R(b,1,1);a.Sz||(b=Jm(a),Pj(b,5)||Q(b,5,a.locale));a.B&&(b=Jm(a),g.Kj(b,ym,9)||N(b,ym,9,a.B))}; pfa=function(a,b){jj(Km(a),zm,11)&&(a=Lm(a),R(a,1,b))}; qfa=function(a,b){jj(Km(a),zm,11)&&(a=Lm(a),Wj(a,2,b))}; Km=function(a){return g.Kj(a.j,Am,1)}; sfa=function(a,b){var c=void 0===c?rfa:c;b(bf(),c).then(function(d){a.B=d;d=Jm(a);N(d,ym,9,a.B);return!0}).catch(function(){return!1})}; Jm=function(a){a=Km(a);var b=g.Kj(a,zm,11);b||(b=new zm,N(a,zm,11,b));return b}; Lm=function(a){a=Jm(a);var b=g.Kj(a,xm,10);b||(b=new xm,Wj(b,2,!1),N(a,xm,10,b));return b}; g.Mm=function(a){return(new tfa).Aj(a)}; tfa=function(){}; Nm=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f>1,b),wn(a,a.length>>1)]}; xn=function(a,b,c){c=void 0===c?[]:c;this.maxItems=a;this.j=void 0===b?0:b;this.B=c}; Pfa=function(a){var b=globalThis.sessionStorage.getItem("iU5q-!O9@$");if(!b)return new xn(a);var c=b.split(",");if(2>c.length)return globalThis.sessionStorage.removeItem("iU5q-!O9@$"),new xn(a);b=c.slice(1);1===b.length&&""===b[0]&&(b=[]);c=Number(c[0]);return isNaN(c)||0>c||c>b.length?(globalThis.sessionStorage.removeItem("iU5q-!O9@$"),new xn(a)):new xn(a,c,b)}; Qfa=function(a,b){this.logger=b;this.index=Pfa(a)}; Tfa=function(a,b,c,d,e){var f=new vn(a.logger,"W"),h=(4-(yn.length+c.length)%4)%4,l=new Uint8Array(4+h+yn.length+4+c.length),m=new DataView(l.buffer),n=0;m.setUint32(n,4294967295*Math.random());n=n+4+h;l.set(yn,n);n+=yn.length;m.setUint32(n,e);l.set(c,n+4);Rfa(l,d);b=Sfa(null!=b?b:[]);a.index.ph(b,function(p){globalThis.sessionStorage.removeItem(p)})?Mfa(b,g.sg(l))?(a.logger.RI("s"),f.done()):a.logger.RI("t"):a.logger.RI("i")}; Sfa=function(a){var b=g.v(Ofa(a,yn));a=b.next().value;b=b.next().value;return a.toString(16)+b.toString(16)}; Rfa=function(a,b){var c=Ofa(b);a=new Uint32Array(a.buffer);b=a[0];var d=g.v(c);c=d.next().value;d=d.next().value;for(var e=1;en;n++)h=h>>>8|h<<24,h+=f|0,h^=l+38293,f=f<<3|f>>>29,f^=h,m=m>>>8|m<<24,m+=l|0,m^=n+38293,l=l<<3|l>>>29,l^=m;f=[f,h];a[e]^=f[0];e+1>>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=Zfa(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,h=f,l=0;12<=h;h-=12,l+=12)c+=An(a,l),d+=An(a,l+4),e+=An(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 $fa.toString(e)}; Zfa=function(a){for(var b=[],c=0;c]/.test(c))throw Error("Forbidden characters in style string: "+c);return new g.be(c,ke)}; mga=function(a){if(!a)return null;a=Pj(a,4);return null===a||void 0===a?null:Xd(a)}; g.Kn=function(a,b){b=Jn(b);void 0!==b&&(a.href=b)}; nga=function(a,b,c,d){if(0===a.length)throw Error("");a=a.map(function(f){if(f instanceof Fn)f=f.j;else throw Error("");return f}); var e=c.toLowerCase();if(a.every(function(f){return 0!==e.indexOf(f)}))throw Error('Attribute "'+c+'" does not match any of the allowed prefixes.'); b.setAttribute(c,d)}; Ln=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);}; Mn=function(a){var b,c,d=null==(c=(b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:c.call(b,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)}; g.Nn=function(a,b){a.src=g.Wd(b);Mn(a)}; g.On=function(a,b,c){var d=window;a=Jn(a);return void 0!==a?d.open(a,b,c):null}; Pn=function(){this.j={};this.B=null}; oga=function(){Pn.instance||(Pn.instance=new Pn);return Pn.instance}; qga=function(a,b,c,d){if(!b&&!c)return Promise.resolve();if(!d)return pga(b,c);var e;(e=a.j)[d]||(e[d]=new Promise(function(f,h){pga(b,c).then(function(){a.B=d;f()},function(l){delete a.j[d]; h(l)})})); return a.j[d]}; pga=function(a,b){return b?rga(b):a?sga(a):Promise.resolve()}; rga=function(a){return new Promise(function(b,c){var d=g.mf("SCRIPT"),e=mga(a)||kga(tga);g.Nn(d,e);d.onload=function(){g.rf(d);b()}; d.onerror=function(){g.rf(d);c(Error("EWLS"))}; (g.We("HEAD")[0]||document.documentElement).appendChild(d)})}; sga=function(a){return new Promise(function(b){var c=g.mf("SCRIPT");if(a){var d=Pj(a,6);d=null===d||void 0===d?null:tba(d)}else d=null;c.textContent=rba(d);Mn(c);(g.We("HEAD")[0]||document.documentElement).appendChild(c);g.rf(c);b()})}; vga=function(a){for(var b=new Uint8Array(a.length),c=0;c=b.length)b=String.fromCharCode.apply(null,b);else{a="";for(c=0;cb)throw Error("Bad port number "+b);a.D=b}else a.D=null}; qo=function(a,b,c){b instanceof so?(a.B=b,Fga(a.B,a.N)):(c||(b=to(b,Gga)),a.B=new so(b,a.N))}; g.uo=function(a,b,c){a.B.set(b,c)}; g.vo=function(a){return a instanceof g.mo?a.clone():new g.mo(a)}; ro=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; to=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Hga),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; Hga=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; so=function(a,b){this.B=this.j=null;this.C=a||null;this.D=!!b}; Xo=function(a){a.j||(a.j=new Map,a.B=0,a.C&&Jl(a.C,function(b,c){a.add(xe(b),c)}))}; Iga=function(a,b){Xo(a);b=Yo(a,b);return a.j.has(b)}; g.Jga=function(a,b,c){a.remove(b);0>7,a.error.code].concat(gha(b)))}; Fp=function(a,b,c){zp.call(this,a);this.K=b;this.clientState=c;this.C="S";this.B="q"}; Gp=function(a){g.J.call(this);var b=this;this.j=void 0;this.D=new g.Dn;this.state=1;this.C=0;this.cache=this.B=void 0;this.lz=a.lz;this.RY=a.RY;this.onError=a.onError;this.logger=a.njb?new Kfa:new Lfa(a.Vi,a.OC);this.addOnDisposeCallback(function(){b.j&&(b.j.dispose(),b.j=void 0)})}; jha=function(a,b,c,d){if(!d)throw new yp(4,Error("PMD:Undefined"));d=d(Cg(pj(b,1)));if(!(d instanceof Function))throw new yp(16,Error("APF:Failed"));return new Bp(a.logger,c,d,Sj(b,3),1E3*Sj(b,2),function(){return a.cache})}; lha=function(a){var b,c,d,e,f,h,l,m,n,p,q,r,t,u,x,B,F,G,H,O;return g.I(function(P){switch(P.j){case 1:b=void 0,c=a.isReady()?6E4:1E3,d=new g.Bl(c,6E5,.25,2),e=1;case 2:if(!(2>=e)){P.La(4);break}g.Ca(P,5);a.state=3;a.C=e-1;return g.y(P,a.B&&1===e?a.B:a.iD(e),7);case 7:f=P.B;a.B=void 0;a.state=4;h=new vn(a.logger,"b");var Y=oga();Y=qga(Y,g.Kj(f,dga,1),g.Kj(f,ega,2),g.Uj(f,3));return g.y(P,Y,8);case 8:return a.state=5,l=new En({challenge:f}),m=[],g.y(P,Hp(a,l.snapshot({G0:m}),new yp(15,"MDA:Timeout")), 9);case 9:return n=P.B,p=g.v(m),r=q=p.next().value,h.done(),a.state=6,g.y(P,Hp(a,a.logger.tP("g",e,a.lz.eW(n)),new yp(10,"BWB:Timeout")),10);case 10:return t=P.B,a.state=7,u=new vn(a.logger,"i"),g.Uj(t,4)?(l.dispose(),Y=new Dp(a.logger,g.Uj(t,4),1E3*Sj(t,2))):Sj(t,3)?Y=jha(a,t,l,r):(l.dispose(),Y=new Cp(a.logger,Cg(pj(t,1)),1E3*Sj(t,2))),x=Y,u.done(),F=B=void 0,null==(F=(B=a).RY)||F.call(B,Cg(pj(t,1))),a.state=8,P.return(x);case 5:G=g.Ea(P);b=G instanceof yp?G:G instanceof wp?new yp(20,G):G instanceof tn?new yp(11,G):new yp(12,G);a.logger.mE(b.code);O=H=void 0;null==(O=(H=a).onError)||O.call(H,b);a:{if(G instanceof tn)switch(G.code){case 2:case 13:case 14:case 4:Y=!0;break a;default:Y=!1;break a}Y=G instanceof yp?20!==G.code:!0}if(!Y)throw b;return g.y(P,kha(a,d.getValue()),11);case 11:g.Cl(d);case 3:e++;P.La(2);break;case 4:throw b;}})}; kha=function(a,b){b=eha(b);g.L(a,b);b.start();return b.Z}; Hp=function(a,b,c){return Promise.race([b,kha(a,12E4).then(function(){return Promise.reject(c)})])}; mha=function(a){var b,c,d;g.I(function(e){switch(e.j){case 1:return b=void 0,g.Ca(e,5),g.y(e,lha(a),7);case 7:b=e.B;g.Da(e,6);break;case 5:c=g.Ea(e);if(a.j){a.logger.mE(13);e.La(0);break}a.logger.mE(14);b=new Ep(a.logger,c instanceof yp?c:new yp(14,c instanceof Error?c:Error(String(c))));case 6:return d=void 0,null==(d=a.j)||d.dispose(),a.j=b,a.D.resolve(),g.Ca(e,8),g.y(e,a.j.D.promise,10);case 10:g.Da(e,1);break;case 8:g.Ea(e),e.La(0)}})}; nha=function(a,b){b=Object.assign({},b);b.Py&&!a.cache&&(a.cache=new Qfa(Math.min(b.Py.P7,150),a.logger));var c;if(!a.isReady()&&(null==(c=b.Py)?0:c.I4)){a:{c=a.cache;var d=xp(b,a.logger),e=b.Py.nV,f=new vn(c.logger,"R");d=Sfa(null!=d?d:[]);var h=globalThis.sessionStorage.getItem(d);if(h){try{var l=ug(h);Rfa(l,e)}catch(q){globalThis.sessionStorage.removeItem(d);c.logger.eA("c");c=void 0;break a}for(e=4;7>e&&0===l[e];)e++;for(h=0;h=h)globalThis.sessionStorage.removeItem(d),c.logger.eA("e");else{l=new Uint8Array(l.buffer,e+4);f.done();c.logger.eA("a");c=l;break a}}else c.logger.eA("m");c=void 0}if(c)return c}var m;c=null!=(m=a.j)?m:new Fp(a.logger,a.C,a.state);m=new vn(a.logger,c.C);try{if(a.isDisposed())throw new yp(21,"BNT:disposed");return c.G(b)}catch(q){m=new vn(a.logger,"e");var n=q instanceof yp?q:new yp(5,q);a.logger.mE(n.code); var p;null==(p=a.onError)||p.call(a,n);c=new Ep(a.logger,n);return c.G(b)}finally{m.done()}}; oha=function(a){var b={};g.cc(a,function(c){var d=c.event,e=b[d];b.hasOwnProperty(d)?null!==e&&(c.equals(e)||(b[d]=null)):b[d]=c}); taa(a,function(c){return null===b[c.event]})}; Ip=function(){this.Ce=0;this.j=!1;this.B=-1;this.Yv=!1;this.qk=0}; Jp=function(){this.Vd=null;this.j=!1}; Kp=function(a){Jp.call(this);this.C=a}; Lp=function(){Jp.call(this)}; Mp=function(){Jp.call(this)}; Np=function(){this.j={};this.B=!0;this.C={}}; Op=function(a,b,c){a.j[b]||(a.j[b]=new Kp(c));return a.j[b]}; pha=function(a){a.j.queryid||(a.j.queryid=new Mp)}; Pp=function(a,b,c){(a=a.j[b])&&a.B(c)}; Qp=function(a,b){if(g.gd(a.C,b))return a.C[b];if(a=a.j[b])return a.getValue()}; Rp=function(a){var b={},c=g.Xc(a.j,function(d){return d.j}); g.Wc(c,function(d,e){d=void 0!==a.C[e]?String(a.C[e]):d.j&&null!==d.Vd?String(d.Vd):"";0e?encodeURIComponent(Iha(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; Jha=function(a){var b=1,c;for(c in a.B)b=c.length>b?c.length:b;return 3997-b-a.C.length-1}; kr=function(a,b){this.j=a;this.depth=b}; Lha=function(){function a(l,m){return null==l?m:l} var b=gr(),c=Math.max(b.length-1,0),d=Hha(b);b=d.j;var e=d.B,f=d.C,h=[];f&&h.push(new kr([f.url,f.YO?2:0],a(f.depth,1)));e&&e!=f&&h.push(new kr([e.url,2],0));b.url&&b!=f&&h.push(new kr([b.url,0],a(b.depth,c)));d=g.lr(h,function(l,m){return h.slice(0,h.length-m)}); !b.url||(f||e)&&b!=f||(e=zha(b.url))&&d.push([new kr([e,1],a(b.depth,c))]);d.push([]);return g.lr(d,function(l){return Kha(c,l)})}; Kha=function(a,b){g.mr(b,function(e){return 0<=e.depth}); var c=nr(b,function(e,f){return Math.max(e,f.depth)},-1),d=yaa(c+2); d[0]=a;g.cc(b,function(e){return d[e.depth+1]=e.j}); return d}; Mha=function(){var a=void 0===a?Lha():a;return a.map(function(b){return jr(b)})}; Nha=function(a){var b=!1;b=void 0===b?!1:b;Wp.google_image_requests||(Wp.google_image_requests=[]);var c=Aha("IMG",Wp.document);b&&(c.attributionSrc="");c.src=a;Wp.google_image_requests.push(c)}; or=function(a){var b="dh";if(a.dh&&a.hasOwnProperty(b))return a.dh;var c=new a;a.dh=c;a.hasOwnProperty(b);return c}; pr=function(){this.B=new vha;this.j=Up()?new Vp:new Tp}; Oha=function(){qr();var a=Wp.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&"function"===typeof Wp.setInterval&&"function"===typeof Wp.clearInterval&&"function"===typeof Wp.setTimeout&&"function"===typeof Wp.clearTimeout)}; Pha=function(){qr();return Mha()}; Qha=function(){}; qr=function(){var a=or(Qha);if(!a.j){if(!Wp)throw Error("Context has not been set and window is undefined.");a.j=or(pr)}return a.j}; rr=function(a){this.ea=M(a)}; Rha=function(a){this.C=a;this.j=-1;this.B=this.D=0}; sr=function(a,b){return function(){var c=g.Ka.apply(0,arguments);if(-1Math.random())}; eia=function(a){a&&xr&&vr()&&(xr.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),xr.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; fia=function(){var a=yr;this.j=zr;this.aW="jserror";this.VR=!0;this.CM=null;this.B=this.vP;this.hd=void 0===a?null:a}; gia=function(a,b,c){var d=Ar;return sr(tr().j.j,function(){try{if(d.hd&&d.hd.j){var e=d.hd.start(a.toString(),3);var f=b();d.hd.end(e)}else f=b()}catch(l){var h=d.VR;try{eia(e),h=d.B(a,new Br(Cr(l)),void 0,c)}catch(m){d.vP(217,m)}if(!h)throw l;}return f})()}; Dr=function(a,b,c,d){return sr(tr().j.j,function(){var e=g.Ka.apply(0,arguments);return gia(a,function(){return b.apply(c,e)},d)})}; Cr=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}; Br=function(a){aia.call(this,Error(a),{message:a})}; hia=function(){Wp&&"undefined"!=typeof Wp.google_measure_js_timing&&(Wp.google_measure_js_timing||yr.disable())}; iia=function(a){Ar.CM=function(b){g.cc(a,function(c){c(b)})}}; jia=function(a,b){return gia(a,b)}; Er=function(a,b){return Dr(a,b)}; Fr=function(a,b,c,d){Ar.vP(a,b,c,d)}; Gr=function(){return Date.now()-kia}; lia=function(){var a=tr().C,b=0<=Hr?Gr()-Hr:-1,c=Ir?Gr()-Jr:-1,d=0<=Kr?Gr()-Kr:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];Fr(637,Error(),.001);var f=b;-1!=c&&cd?500:h}; Lr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}; Mr=function(a){return a.right-a.left}; Nr=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}; Or=function(a,b,c){b instanceof g.pe?(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}; Pr=function(a,b,c){var d=new Lr(0,0,0,0);this.time=a;this.volume=null;this.C=b;this.j=d;this.B=c}; Qr=function(a,b,c,d,e,f,h,l){this.D=a;this.N=b;this.C=c;this.K=d;this.j=e;this.G=f;this.B=h;this.Z=l}; nia=function(a){var b=a!==a.top,c=a.top===Dha(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),aba(mia,function(h){return"function"===typeof f[h]})||(e=1)); return{Mn:f,compatibility:e,Bba:d}}; oia=function(){var a=window.document;return a&&"function"===typeof a.elementFromPoint}; pia=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.ue(b.innerWidth,b.innerHeight)).round():$ba(b||window).round()}catch(d){return new g.ue(-12245933,-12245933)}}; Rr=function(a,b,c){try{a&&(b=b.top);var d=pia(a,b,c),e=d.height,f=d.width;if(-12245933===f)return new Lr(f,f,f,f);var h=bca(Ne(b.document).j),l=h.x,m=h.y;return new Lr(m,l+f,m+e,l)}catch(n){return new Lr(-12245933,-12245933,-12245933,-12245933)}}; g.Sr=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}; Tr=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.Vr=function(a,b,c){if("string"===typeof b)(b=Ur(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Ur(c,d);f&&(c.style[f]=e)}}; Ur=function(a,b){var c=qia[b];if(!c){var d=Uba(b);c=d;void 0===a.style[d]&&(d=(g.Sc?"Webkit":Wr?"Moz":g.af?"ms":null)+Wba(d),void 0!==a.style[d]&&(c=d));qia[b]=c}return c}; g.Xr=function(a,b){var c=a.style[Uba(b)];return"undefined"!==typeof c?c:a.style[Ur(a,b)]||""}; Yr=function(a,b){var c=Me(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}; Zr=function(a,b){return Yr(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}; g.as=function(a,b,c){if(b instanceof g.pe){var d=b.x;b=b.y}else d=b,b=c;a.style.left=g.$r(d,!1);a.style.top=g.$r(b,!1)}; bs=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; ria=function(a){if(g.af&&!g.Rc(8))return a.offsetParent;var b=Me(a),c=Zr(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=Zr(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.cs=function(a){var b=Me(a),c=new g.pe(0,0);var d=b?Me(b):document;d=!g.af||g.Rc(9)||"CSS1Compat"==Ne(d).j.compatMode?d.documentElement:d.body;if(a==d)return c;a=bs(a);b=bca(Ne(b).j);c.x=a.left+b.x;c.y=a.top+b.y;return c}; tia=function(a,b){var c=new g.pe(0,0),d=bf(Me(a));if(!Nc(d,"parent"))return c;do{var e=d==b?g.cs(a):sia(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.ds=function(a,b){a=uia(a);b=uia(b);return new g.pe(a.x-b.x,a.y-b.y)}; sia=function(a){a=bs(a);return new g.pe(a.left,a.top)}; uia=function(a){if(1==a.nodeType)return sia(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.pe(a.clientX,a.clientY)}; g.es=function(a,b,c){if(b instanceof g.ue)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=g.$r(b,!0);a.style.height=g.$r(c,!0)}; g.$r=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; g.fs=function(a){var b=via;if("none"!=Zr(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}; via=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Sc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=bs(a),new g.ue(a.right-a.left,a.bottom-a.top)):new g.ue(b,c)}; g.gs=function(a,b){a.style.display=b?"":"none"}; hs=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b}; wia=function(a){return new Lr(a.top,a.right,a.bottom,a.left)}; xia=function(a){var b=a.top||0,c=a.left||0;return new Lr(b,c+(a.width||0),b+(a.height||0),c)}; is=function(a){return null!=a&&0<=a&&1>=a}; yia=function(){var a=g.oc();return a?js("AmazonWebAppPlatform;Android TV;Apple TV;AppleTV;BRAVIA;BeyondTV;Freebox;GoogleTV;HbbTV;LongTV;MiBOX;MiTV;NetCast.TV;Netcast;Opera TV;PANASONIC;POV_TV;SMART-TV;SMART_TV;SWTV;Smart TV;SmartTV;TV Store;UnionTV;WebOS".split(";"),function(b){return jc(a,b)})||jc(a,"OMI/")&&!jc(a,"XiaoMi/")?!0:jc(a,"Presto")&&jc(a,"Linux")&&!jc(a,"X11")&&!jc(a,"Android")&&!jc(a,"Mobi"):!1}; zia=function(){this.C=!aq(Wp.top);this.isMobileDevice=$p()||wha();var a=gr();this.domain=0c.height?m>p?(d=m,e=n):(d=p,e=q):mb.B?!1:a.jb.j?!1:typeof a.Vdtypeof b.Vd?!1:a.Vdc++;){if(a===b)return!0;try{if(a=g.sf(a)||a){var d=Me(a),e=d&&bf(d),f=e&&e.frameElement;f&&(a=f)}}catch(h){break}}return!1}; Via=function(a,b,c){if(!a||!b)return!1;b=Or(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;aq(window.top)&&window.top&&window.top.document&&(window=window.top);if(!oia())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Me(c))&&b.defaultView&&b.defaultView.frameElement)&&Uia(b,a);var d=a===c;a=!d&&a&&Cf(a,function(e){return e===c}); return!(b||d||a)}; Wia=function(a,b,c,d){return ks().C?!1:0>=Mr(a)||0>=a.getHeight()?!0:c&&d?jia(208,function(){return Via(a,b,c)}):!1}; Ss=function(a,b,c){g.J.call(this);this.position=Xia.clone();this.aJ=this.XH();this.sP=-2;this.Sba=Date.now();this.S_=-1;this.Lp=b;this.OI=null;this.aD=!1;this.pJ=null;this.opacity=-1;this.requestSource=c;this.aca=!1;this.xP=function(){}; this.k0=function(){}; this.Lj=new tha;this.Lj.Nt=a;this.Lj.j=a;this.Et=!1;this.vv={JP:null,IP:null};this.t_=!0;this.MF=null;this.Kz=this.w7=!1;tr().K++;this.Nh=this.hO();this.N_=-1;this.Zf=null;this.hasCompleted=this.s7=!1;this.Ic=new Np;sha(this.Ic);Yia(this);1==this.requestSource?Pp(this.Ic,"od",1):Pp(this.Ic,"od",0)}; Yia=function(a){a=a.Lj.Nt;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:Zia&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+Vba()):!!a.getAttribute("data-"+Vba());b&&(ks().B=!0)}; Ts=function(a,b){b!=a.Kz&&(a.Kz=b,a=ks(),b?a.K++:0c?0:a}; bja=function(a,b,c){if(a.Zf){a.Zf.Fs();var d=a.Zf.N,e=d.D,f=e.j;if(null!=d.K){var h=d.C;a.pJ=new g.pe(h.left-f.left,h.top-f.top)}f=a.HK()?Math.max(d.j,d.G):d.j;h={};null!==e.volume&&(h.volume=e.volume);e=a.yW(d);a.OI=d;a.Ra(f,b,c,!1,h,e,d.Z)}}; cja=function(a){if(a.aD&&a.MF){var b=1==Qp(a.Ic,"od"),c=ks().j,d=a.MF,e=a.Zf?a.Zf.getName():"ns",f=new g.ue(Mr(c),c.getHeight());c=a.HK();a={Iba:e,pJ:a.pJ,yca:f,HK:c,Ce:a.Nh.Ce,sca:b};if(b=d.B){b.Fs();e=b.N;f=e.D.j;var h=null,l=null;null!=e.K&&f&&(h=e.C,h=new g.pe(h.left-f.left,h.top-f.top),l=new g.ue(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.j,e.G):e.j;c={Iba:b.getName(),pJ:h,yca:l,HK:c,sca:!1,Ce:e}}else c=null;c&&Oia(d,a,c)}}; dja=function(a,b,c){b&&(a.xP=b);c&&(a.k0=c)}; g.Us=function(){}; g.Vs=function(a){return{value:a,done:!1}}; eja=function(){this.D=this.j=this.C=this.B=this.G=0}; fja=function(a){var b={};var c=g.kb()-a.G;b=(b.ptlt=c,b);(c=a.B)&&(b.pnk=c);(c=a.C)&&(b.pnc=c);(c=a.D)&&(b.pnmm=c);(a=a.j)&&(b.pns=a);return b}; gja=function(){Ip.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.mediaTime=-1}; Ws=function(a){return is(a.volume)&&0Math.max(1E4,a.C/3)?0:b);var c=a.N(a)||{};c=void 0!==c.currentTime?c.currentTime:a.ma;var d=c-a.ma,e=0;0<=d?(a.qa+=b,a.Ka+=Math.max(b-d,0),e=Math.min(d,a.qa)):a.Sa+=Math.abs(d);0!=d&&(a.qa=0);-1==a.Va&&0=a.C/2:0=a.Fa:!1:!1}; uja=function(a){var b=hs(a.Nh.Ce,2),c=a.Mg.C,d=a.Nh,e=ot(a),f=nt(e.D),h=nt(e.K),l=nt(d.volume),m=hs(e.N,2),n=hs(e.qa,2),p=hs(d.Ce,2),q=hs(e.Aa,2),r=hs(e.Fa,2);d=hs(d.qk,2);a=a.kt().clone();a.round();e=Os(e,!1);return{xca:b,WD:c,fJ:f,UI:h,EC:l,gJ:m,WI:n,Ce:p,iJ:q,XI:r,qk:d,position:a,kJ:e}}; wja=function(a,b){vja(a.j,b,function(){return{xca:0,WD:void 0,fJ:-1,UI:-1,EC:-1,gJ:-1,WI:-1,Ce:-1,iJ:-1,XI:-1,qk:-1,position:void 0,kJ:[]}}); a.j[b]=uja(a)}; vja=function(a,b,c){for(var d=a.length;dc.time?b:c},a[0])}; Et=function(a){a=void 0===a?Wp:a;ts.call(this,new os(a,2))}; Ft=function(){var a=Vja();os.call(this,Wp.top,a,"geo")}; Vja=function(){tr();var a=ks();return a.C||a.B?0:2}; Wja=function(){}; Gt=function(){this.done=!1;this.j={s4:0,XU:0,qjb:0,TV:0,LO:-1,e5:0,d5:0,f5:0,Fba:0};this.G=null;this.K=!1;this.C=null;this.N=0;this.B=new ns(this)}; It=function(){var a=Ht;a.K||(a.K=!0,Xja(a,function(){return a.D.apply(a,g.ra(g.Ka.apply(0,arguments)))}),a.D())}; Yja=function(){or(Wja);var a=or(zt);null!=a.j&&a.j.j?Cia(a.j.j):ks().update(Wp)}; Jt=function(a,b,c){if(!a.done&&(a.B.cancel(),0!=b.length)){a.C=null;try{Yja();var d=Gr();tr().G=d;if(null!=or(zt).j)for(var e=0;eg.cd(hka).length?null:nr(b,function(c,d){d=d.toLowerCase().split("=");if(2!=d.length||void 0===ika[d[0]]||!ika[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}}; kka=function(a,b){if(void 0==a.j)return 0;switch(a.G){case "mtos":return a.B?Ls(b.j,a.j):Ls(b.B,a.j);case "tos":return a.B?Bs(b.j,a.j):Bs(b.B,a.j)}return 0}; Pt=function(a,b,c,d){et.call(this,b,d);this.N=a;this.Z=c}; Qt=function(){}; Rt=function(a){et.call(this,"fully_viewable_audible_half_duration_impression",a)}; St=function(a){this.j=a}; Tt=function(a,b){et.call(this,a,b)}; Ut=function(a){ft.call(this,"measurable_impression",a)}; Vt=function(){St.apply(this,arguments)}; Wt=function(a,b,c){jt.call(this,a,b,c)}; Xt=function(a){a=void 0===a?Wp:a;ts.call(this,new os(a,2))}; Yt=function(a,b,c){jt.call(this,a,b,c)}; Zt=function(a){a=void 0===a?Wp:a;ts.call(this,new os(a,2))}; $t=function(){os.call(this,Wp,2,"mraid");this.Ka=0;this.qa=this.Aa=!1;this.N=null;this.B=nia(this.C);this.D.j=new Lr(0,0,0,0);this.Na=!1}; au=function(a,b,c){a.fu("addEventListener",b,c)}; oka=function(a){tr().D=!!a.fu("isViewable");au(a,"viewableChange",lka);"loading"===a.fu("getState")?au(a,"ready",mka):nka(a)}; nka=function(a){"string"===typeof a.B.Mn.AFMA_LIDAR?(a.Aa=!0,pka(a)):(a.B.compatibility=3,a.N="nc",a.fail("w"))}; pka=function(a){a.qa=!1;var b=1==Qp(tr().Ic,"rmmt"),c=!!a.fu("isViewable");(b?!c:1)&&qr().setTimeout(Er(524,function(){a.qa||(qka(a),Fr(540,Error()),a.N="mt",a.fail("w"))}),500); rka(a);au(a,a.B.Mn.AFMA_LIDAR,ska)}; rka=function(a){var b=1==Qp(tr().Ic,"sneio"),c=void 0!==a.B.Mn.AFMA_LIDAR_EXP_1,d=void 0!==a.B.Mn.AFMA_LIDAR_EXP_2;(b=b&&d)&&(a.B.Mn.AFMA_LIDAR_EXP_2=!0);c&&(a.B.Mn.AFMA_LIDAR_EXP_1=!b)}; qka=function(a){a.fu("removeEventListener",a.B.Mn.AFMA_LIDAR,ska);a.Aa=!1}; tka=function(a,b){if("loading"===a.fu("getState"))return new g.ue(-1,-1);b=a.fu(b);if(!b)return new g.ue(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new g.ue(-1,-1):new g.ue(a,b)}; mka=function(){try{var a=or($t);a.fu("removeEventListener","ready",mka);nka(a)}catch(b){Fr(541,b)}}; ska=function(a,b){try{var c=or($t);c.qa=!0;var d=a?new Lr(a.y,a.x+a.width,a.y+a.height,a.x):new Lr(0,0,0,0);var e=Gr(),f=ms();var h=new Pr(e,f,c);h.j=d;h.volume=b;c.zt(h)}catch(l){Fr(542,l)}}; lka=function(a){var b=tr(),c=or($t);a&&!b.D&&(b.D=!0,c.Na=!0,c.N&&c.fail("w",!0))}; bu=function(){this.isInitialized=!1;this.j=this.B=null;var a={};this.K=(a.start=this.a7,a.firstquartile=this.V6,a.midpoint=this.X6,a.thirdquartile=this.b7,a.complete=this.S6,a.error=this.T6,a.pause=this.LQ,a.resume=this.VZ,a.skip=this.Z6,a.viewable_impression=this.Ap,a.mute=this.FB,a.unmute=this.FB,a.fullscreen=this.W6,a.exitfullscreen=this.U6,a.fully_viewable_audible_half_duration_impression=this.Ap,a.measurable_impression=this.Ap,a.abandon=this.LQ,a.engagedview=this.Ap,a.impression=this.Ap,a.creativeview= this.Ap,a.progress=this.FB,a.custom_metric_viewable=this.Ap,a.bufferstart=this.LQ,a.bufferfinish=this.VZ,a.audio_measurable=this.Ap,a.audio_audible=this.Ap,a);a={};this.N=(a.overlay_resize=this.Y6,a.abandon=this.zO,a.close=this.zO,a.collapse=this.zO,a.overlay_unmeasurable_impression=function(b){return rt(b,"overlay_unmeasurable_impression",ms())},a.overlay_viewable_immediate_impression=function(b){return rt(b,"overlay_viewable_immediate_impression",ms())},a.overlay_unviewable_impression=function(b){return rt(b, "overlay_unviewable_impression",ms())},a.overlay_viewable_end_of_session_impression=function(b){return rt(b,"overlay_viewable_end_of_session_impression",ms())},a); tr().B=3;uka(this)}; cu=function(a,b,c,d){a=a.kF(null,d,!0,b);a.D=c;Oja([a]);return a}; vka=function(a,b,c){oha(b);var d=a.j;g.cc(b,function(e){var f=g.lr(e.criteria,function(h){var l=jka(h);if(null==l)h=null;else if(h=new gka,null!=l.visible&&(h.j=l.visible/100),null!=l.audible&&(h.B=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=Eaa(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);h.setTime(l,n,m)}return h}); js(f,function(h){return null==h})||sja(c,new Pt(e.id,e.event,f,d))})}; wka=function(){var a=[],b=tr();a.push(or(Ft));Qp(b.Ic,"mvp_lv")&&a.push(or($t));b=[new Xt,new Zt];b.push(new At(a));b.push(new Et(Wp));return b}; xka=function(a){if(!a.isInitialized){a.isInitialized=!0;try{var b=Gr(),c=tr(),d=ks();Hr=b;c.C=79463069;"o"!==a.B&&(bka=Dha(Wp));if(Oha()){Ht.j.XU=0;Ht.j.LO=Gr()-b;var e=wka(),f=or(zt);f.B=e;Qja(f,function(){du()})?Ht.done||(Zja(),ps(f.j.j,a),It()):d.C?du():It()}else eu=!0}catch(h){throw wt.reset(),h; }}}; gu=function(a){Ht.B.cancel();fu=a;Ht.done=!0}; hu=function(a){if(a.B)return a.B;var b=or(zt).j;if(b)switch(b.getName()){case "nis":a.B="n";break;case "gsv":a.B="m"}a.B||(a.B="h");return a.B}; iu=function(a,b,c){if(null==a.j)return b.JB|=4,!1;a=yka(a.j,c,b);b.JB|=a;return 0==a}; du=function(){var a=[new Et(Wp)],b=or(zt);b.B=a;Qja(b,function(){gu("i")})?Ht.done||(Zja(),It()):gu("i")}; zka=function(a,b){if(!a.Jb){var c=rt(a,"start",ms());c=a.MQ.j(c).j;var d={id:"lidarv"};d.r=b;d.sv="959";null!==Lt&&(d.v=Lt);Jl(c,function(e,f){return d[e]="mtos"==e||"tos"==e?f:encodeURIComponent(f)}); b=cka();Jl(b,function(e,f){return d[e]=encodeURIComponent(f)}); b="//pagead2.googlesyndication.com/pagead/gen_204?"+ws(vs(new us,d));Mia(b);a.Jb=!0}}; ju=function(a,b,c){Jt(Ht,[a],!ms());wja(a,c);4!=c&&vja(a.Aa,c,a.XH);return rt(a,b,ms())}; uka=function(a){aka(function(){var b=Aka();null!=a.B&&(b.sdk=a.B);var c=or(zt);null!=c.j&&(b.avms=c.j.getName());return b})}; Bka=function(a,b,c,d){var e=Kja(wt,c);null!==e&&e.Ui!==b&&(a.oH(e),e=null);e||(b=a.kF(c,Gr(),!1,b),0==wt.B.length&&(tr().C=79463069),Pja([b]),e=b,e.D=hu(a),d&&(e.Ya=d));return e}; Cka=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)}; nla=function(a){if(!a)return Yu;var b=document.createElement("div").style;jla(a).forEach(function(c){var d=g.Sc&&c in kla?c:c.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");fc(d,"--")||fc(d,"var")||(c=ila(lla,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[c])||"",c=gla(c),null!=c&&ila(mla,b,b.setProperty?"setProperty":"setAttribute",[d,c]))}); return Oba(g.Rd("Output of CSS sanitizer"),b.cssText||"")}; jla=function(a){g.Za(a)?a=g.Jb(a):(a=g.cd(a),g.Fb(a,"cssText"));return a}; g.$u=function(a){var b,c=b=0,d=!1;a=a.split(ola);for(var e=0;e=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,h=0;8>h;h++){f=bv(a,c);var l=(bv(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++)fg.kb()}; g.jv=function(a){this.j=a}; yla=function(){}; kv=function(){}; lv=function(a){this.j=a}; mv=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.j=a}; zla=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.j=a}; ov=function(a,b){this.B=a;this.j=null;if(g.af&&!g.Rc(9)){nv||(nv=new g.Su);this.j=nv.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)),nv.set(a,this.j));try{this.j.load(this.B)}catch(c){this.j=null}}}; pv=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Ala[b]})}; qv=function(a){try{a.j.save(a.B)}catch(b){throw"Storage mechanism: Quota exceeded";}}; rv=function(a,b){this.B=a;this.j=b+"::"}; g.tv=function(a){var b=new mv;return b.isAvailable()?a?new rv(b,a):b:null}; uv=function(a,b){this.j=a;this.Vd=b}; vv=function(a){this.j=[];if(a)a:{if(a instanceof vv){var b=a.xp();a=a.hm();if(0>=this.j.length){for(var c=this.j,d=0;df?1:2048>f?2:65536>f?3:4}var l=new xv.Dx(e);for(b=c=0;cf?l[c++]=f:(2048>f?l[c++]=192|f>>>6:(65536>f?l[c++]=224|f>>>12:(l[c++]=240|f>>>18,l[c++]=128|f>>>12&63),l[c++]=128|f>>> 6&63),l[c++]=128|f&63);return l}; yv=function(a){for(var b=a.length;0<=--b;)a[b]=0}; zv=function(a,b,c,d,e){this.C_=a;this.L5=b;this.K5=c;this.y5=d;this.T7=e;this.kX=a&&a.length}; Av=function(a,b){this.UV=a;this.mA=0;this.Au=b}; Bv=function(a,b){a.xg[a.pending++]=b&255;a.xg[a.pending++]=b>>>8&255}; Cv=function(a,b,c){a.Vh>16-c?(a.dj|=b<>16-a.Vh,a.Vh+=c-16):(a.dj|=b<>>=1,c<<=1;while(0<--b);return c>>>1}; Ela=function(a,b,c){var d=Array(16),e=0,f;for(f=1;15>=f;f++)d[f]=e=e+c[f-1]<<1;for(c=0;c<=b;c++)e=a[2*c+1],0!==e&&(a[2*c]=Dla(d[e]++,e))}; Fla=function(a){var b;for(b=0;286>b;b++)a.Oj[2*b]=0;for(b=0;30>b;b++)a.Bv[2*b]=0;for(b=0;19>b;b++)a.Ki[2*b]=0;a.Oj[512]=1;a.zr=a.zB=0;a.mm=a.matches=0}; Gla=function(a){8e?Iv[e]:Iv[256+(e>>>7)];Dv(a,h,c);l=Jv[h];0!==l&&(e-=Kv[h],Cv(a,e,l))}}while(da.Sq;){var m=a.Eg[++a.Sq]=2>l?++l:0;c[2*m]=1;a.depth[m]=0;a.zr--;e&&(a.zB-=d[2*m+1])}b.mA=l;for(h=a.Sq>>1;1<=h;h--)Ev(a,c,h);m=f;do h=a.Eg[1],a.Eg[1]=a.Eg[a.Sq--],Ev(a,c,1),d=a.Eg[1],a.Eg[--a.Ez]=h,a.Eg[--a.Ez]=d,c[2*m]=c[2*h]+c[2*d],a.depth[m]=(a.depth[h]>=a.depth[d]?a.depth[h]:a.depth[d])+1,c[2*h+1]=c[2*d+1]=m,a.Eg[1]=m++,Ev(a,c,1);while(2<= a.Sq);a.Eg[--a.Ez]=a.Eg[1];h=b.UV;m=b.mA;d=b.Au.C_;e=b.Au.kX;f=b.Au.L5;var n=b.Au.K5,p=b.Au.T7,q,r=0;for(q=0;15>=q;q++)a.Aq[q]=0;h[2*a.Eg[a.Ez]+1]=0;for(b=a.Ez+1;573>b;b++){var t=a.Eg[b];q=h[2*h[2*t+1]+1]+1;q>p&&(q=p,r++);h[2*t+1]=q;if(!(t>m)){a.Aq[q]++;var u=0;t>=n&&(u=f[t-n]);var x=h[2*t];a.zr+=x*(q+u);e&&(a.zB+=x*(d[2*t+1]+u))}}if(0!==r){do{for(q=p-1;0===a.Aq[q];)q--;a.Aq[q]--;a.Aq[q+1]+=2;a.Aq[p]--;r-=2}while(0m||(h[2*d+1]!==q&&(a.zr+=(q- h[2*d+1])*h[2*d],h[2*d+1]=q),t--)}Ela(c,l,a.Aq)}; Kla=function(a,b,c){var d,e=-1,f=b[1],h=0,l=7,m=4;0===f&&(l=138,m=3);b[2*(c+1)+1]=65535;for(d=0;d<=c;d++){var n=f;f=b[2*(d+1)+1];++h=h?a.Ki[34]++:a.Ki[36]++,h=0,e=n,0===f?(l=138,m=3):n===f?(l=6,m=3):(l=7,m=4))}}; Lla=function(a,b,c){var d,e=-1,f=b[1],h=0,l=7,m=4;0===f&&(l=138,m=3);for(d=0;d<=c;d++){var n=f;f=b[2*(d+1)+1];if(!(++h=h?(Dv(a,17,a.Ki),Cv(a,h-3,3)):(Dv(a,18,a.Ki),Cv(a,h-11,7));h=0;e=n;0===f?(l=138,m=3):n===f?(l=6,m=3):(l=7,m=4)}}}; Mla=function(a){var b=4093624447,c;for(c=0;31>=c;c++,b>>>=1)if(b&1&&0!==a.Oj[2*c])return 0;if(0!==a.Oj[18]||0!==a.Oj[20]||0!==a.Oj[26])return 1;for(c=32;256>c;c++)if(0!==a.Oj[2*c])return 1;return 0}; Mv=function(a,b,c){a.xg[a.TC+2*a.mm]=b>>>8&255;a.xg[a.TC+2*a.mm+1]=b&255;a.xg[a.jP+a.mm]=c&255;a.mm++;0===b?a.Oj[2*c]++:(a.matches++,b--,a.Oj[2*(Fv[c]+256+1)]++,a.Bv[2*(256>b?Iv[b]:Iv[256+(b>>>7)])]++);return a.mm===a.lE-1}; Ov=function(a,b){a.msg=Nv[b];return b}; Pv=function(a){for(var b=a.length;0<=--b;)a[b]=0}; Qv=function(a){var b=a.state,c=b.pending;c>a.Ke&&(c=a.Ke);0!==c&&(xv.Ly(a.output,b.xg,b.UE,c,a.vA),a.vA+=c,b.UE+=c,a.kS+=c,a.Ke-=c,b.pending-=c,0===b.pending&&(b.UE=0))}; Tv=function(a,b){var c=0<=a.Ik?a.Ik:-1,d=a.Bb-a.Ik,e=0;if(0>>3;var h=a.zB+3+7>>>3;h<=f&&(f=h)}else f=h=d+5;if(d+4<=f&&-1!==c)Cv(a,b?1:0,3),Hla(a,c,d);else if(4===a.strategy||h===f)Cv(a,2+(b?1:0),3),Jla(a,Rv,Sv);else{Cv(a,4+(b?1:0),3);c=a.MI.mA+1;d=a.nH.mA+1;e+=1;Cv(a,c-257,5);Cv(a,d-1,5);Cv(a,e-4,4);for(f=0;f>>8&255;a.xg[a.pending++]=b&255}; Ola=function(a,b){var c=a.jY,d=a.Bb,e=a.jl,f=a.yY,h=a.Bb>a.Zi-262?a.Bb-(a.Zi-262):0,l=a.window,m=a.Hu,n=a.Vp,p=a.Bb+258,q=l[d+e-1],r=l[d+e];a.jl>=a.OW&&(c>>=2);f>a.lc&&(f=a.lc);do{var t=b;if(l[t+e]===r&&l[t+e-1]===q&&l[t]===l[d]&&l[++t]===l[d+1]){d+=2;for(t++;l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&de){a.kA=b;e=t;if(t>=f)break;q=l[d+e-1];r=l[d+e]}}}while((b=n[b&m])>h&&0!== --c);return e<=a.lc?e:a.lc}; Yv=function(a){var b=a.Zi,c;do{var d=a.J0-a.lc-a.Bb;if(a.Bb>=b+(b-262)){xv.Ly(a.window,a.window,b,b,0);a.kA-=b;a.Bb-=b;a.Ik-=b;var e=c=a.nI;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Vp[--e],a.Vp[e]=f>=b?f-b:0;while(--c);d+=b}if(0===a.oe.cj)break;e=a.oe;c=a.window;f=a.Bb+a.lc;var h=e.cj;h>d&&(h=d);0===h?c=0:(e.cj-=h,xv.Ly(c,e.input,e.Dw,h,f),1===e.state.wrap?e.Qd=Wv(e.Qd,c,h,f):2===e.state.wrap&&(e.Qd=Xv(e.Qd,c,h,f)),e.Dw+=h,e.tx+=h,c=h);a.lc+=c;if(3<=a.lc+a.ph)for(d=a.Bb-a.ph, a.De=a.window[d],a.De=(a.De<a.lc+a.ph););}while(262>a.lc&&0!==a.oe.cj)}; Zv=function(a,b){for(var c;;){if(262>a.lc){Yv(a);if(262>a.lc&&0===b)return 1;if(0===a.lc)break}c=0;3<=a.lc&&(a.De=(a.De<a.Bb?a.Bb:2;return 4===b?(Tv(a,!0),0===a.oe.Ke?3:4):a.mm&&(Tv(a,!1),0===a.oe.Ke)?1:2}; $v=function(a,b){for(var c,d;;){if(262>a.lc){Yv(a);if(262>a.lc&&0===b)return 1;if(0===a.lc)break}c=0;3<=a.lc&&(a.De=(a.De<=a.Ve&&(1===a.strategy||3===a.Ve&&4096a.Bb?a.Bb:2;return 4===b?(Tv(a,!0),0===a.oe.Ke?3:4):a.mm&&(Tv(a,!1),0===a.oe.Ke)?1:2}; Pla=function(a,b){for(var c,d,e,f=a.window;;){if(258>=a.lc){Yv(a);if(258>=a.lc&&0===b)return 1;if(0===a.lc)break}a.Ve=0;if(3<=a.lc&&0a.lc&&(a.Ve=a.lc)}3<=a.Ve?(c=Mv(a,1,a.Ve-3),a.lc-=a.Ve,a.Bb+=a.Ve,a.Ve=0):(c=Mv(a,0,a.window[a.Bb]),a.lc--,a.Bb++);if(c&&(Tv(a,!1),0===a.oe.Ke))return 1}a.ph=0;return 4=== b?(Tv(a,!0),0===a.oe.Ke?3:4):a.mm&&(Tv(a,!1),0===a.oe.Ke)?1:2}; Qla=function(a,b){for(var c;;){if(0===a.lc&&(Yv(a),0===a.lc)){if(0===b)return 1;break}a.Ve=0;c=Mv(a,0,a.window[a.Bb]);a.lc--;a.Bb++;if(c&&(Tv(a,!1),0===a.oe.Ke))return 1}a.ph=0;return 4===b?(Tv(a,!0),0===a.oe.Ke?3:4):a.mm&&(Tv(a,!1),0===a.oe.Ke)?1:2}; aw=function(a,b,c,d,e){this.y6=a;this.S7=b;this.k8=c;this.R7=d;this.func=e}; Rla=function(){this.oe=null;this.status=0;this.xg=null;this.wrap=this.pending=this.UE=this.tm=0;this.Kd=null;this.yn=0;this.method=8;this.Xz=-1;this.Hu=this.BS=this.Zi=0;this.window=null;this.J0=0;this.head=this.Vp=null;this.yY=this.OW=this.strategy=this.level=this.uP=this.jY=this.jl=this.lc=this.kA=this.Bb=this.ww=this.IZ=this.Ve=this.Ik=this.Qq=this.Pq=this.DO=this.nI=this.De=0;this.Oj=new xv.mq(1146);this.Bv=new xv.mq(122);this.Ki=new xv.mq(78);Pv(this.Oj);Pv(this.Bv);Pv(this.Ki);this.lV=this.nH= this.MI=null;this.Aq=new xv.mq(16);this.Eg=new xv.mq(573);Pv(this.Eg);this.Ez=this.Sq=0;this.depth=new xv.mq(573);Pv(this.depth);this.Vh=this.dj=this.ph=this.matches=this.zB=this.zr=this.TC=this.mm=this.lE=this.jP=0}; Sla=function(a,b){if(!a||!a.state||5b)return a?Ov(a,-2):-2;var c=a.state;if(!a.output||!a.input&&0!==a.cj||666===c.status&&4!==b)return Ov(a,0===a.Ke?-5:-2);c.oe=a;var d=c.Xz;c.Xz=b;if(42===c.status)if(2===c.wrap)a.Qd=0,Uv(c,31),Uv(c,139),Uv(c,8),c.Kd?(Uv(c,(c.Kd.text?1:0)+(c.Kd.At?2:0)+(c.Kd.extra?4:0)+(c.Kd.name?8:0)+(c.Kd.comment?16:0)),Uv(c,c.Kd.time&255),Uv(c,c.Kd.time>>8&255),Uv(c,c.Kd.time>>16&255),Uv(c,c.Kd.time>>24&255),Uv(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),Uv(c,c.Kd.os& 255),c.Kd.extra&&c.Kd.extra.length&&(Uv(c,c.Kd.extra.length&255),Uv(c,c.Kd.extra.length>>8&255)),c.Kd.At&&(a.Qd=Xv(a.Qd,c.xg,c.pending,0)),c.yn=0,c.status=69):(Uv(c,0),Uv(c,0),Uv(c,0),Uv(c,0),Uv(c,0),Uv(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),Uv(c,3),c.status=113);else{var e=8+(c.BS-8<<4)<<8;e|=(2<=c.strategy||2>c.level?0:6>c.level?1:6===c.level?2:3)<<6;0!==c.Bb&&(e|=32);c.status=113;Vv(c,e+(31-e%31));0!==c.Bb&&(Vv(c,a.Qd>>>16),Vv(c,a.Qd&65535));a.Qd=1}if(69===c.status)if(c.Kd.extra){for(e= c.pending;c.yn<(c.Kd.extra.length&65535)&&(c.pending!==c.tm||(c.Kd.At&&c.pending>e&&(a.Qd=Xv(a.Qd,c.xg,c.pending-e,e)),Qv(a),e=c.pending,c.pending!==c.tm));)Uv(c,c.Kd.extra[c.yn]&255),c.yn++;c.Kd.At&&c.pending>e&&(a.Qd=Xv(a.Qd,c.xg,c.pending-e,e));c.yn===c.Kd.extra.length&&(c.yn=0,c.status=73)}else c.status=73;if(73===c.status)if(c.Kd.name){e=c.pending;do{if(c.pending===c.tm&&(c.Kd.At&&c.pending>e&&(a.Qd=Xv(a.Qd,c.xg,c.pending-e,e)),Qv(a),e=c.pending,c.pending===c.tm)){var f=1;break}f=c.yne&&(a.Qd=Xv(a.Qd,c.xg,c.pending-e,e));0===f&&(c.yn=0,c.status=91)}else c.status=91;if(91===c.status)if(c.Kd.comment){e=c.pending;do{if(c.pending===c.tm&&(c.Kd.At&&c.pending>e&&(a.Qd=Xv(a.Qd,c.xg,c.pending-e,e)),Qv(a),e=c.pending,c.pending===c.tm)){f=1;break}f=c.yne&&(a.Qd=Xv(a.Qd,c.xg,c.pending-e,e));0===f&&(c.status=103)}else c.status= 103;103===c.status&&(c.Kd.At?(c.pending+2>c.tm&&Qv(a),c.pending+2<=c.tm&&(Uv(c,a.Qd&255),Uv(c,a.Qd>>8&255),a.Qd=0,c.status=113)):c.status=113);if(0!==c.pending){if(Qv(a),0===a.Ke)return c.Xz=-1,0}else if(0===a.cj&&(b<<1)-(4>=8,c.Vh-=8)):5!==b&&(Cv(c,0,3),Hla(c,0,0),3===b&&(Pv(c.head),0===c.lc&&(c.Bb=0,c.Ik=0,c.ph=0))),Qv(a),0===a.Ke))return c.Xz=-1,0}if(4!==b)return 0;if(0>=c.wrap)return 1;2===c.wrap?(Uv(c,a.Qd&255),Uv(c,a.Qd>>8&255),Uv(c,a.Qd>>16&255),Uv(c,a.Qd>>24&255),Uv(c,a.tx&255),Uv(c,a.tx>>8&255),Uv(c,a.tx>>16&255),Uv(c,a.tx>>24&255)):(Vv(c,a.Qd>>>16),Vv(c,a.Qd&65535));Qv(a);0a.Iu&&(a.Iu+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.oe=new Tla;this.oe.Ke=0;var b=this.oe;var c=a.level,d=a.method,e=a.Iu,f=a.Z7,h=a.strategy;if(b){var l=1;-1===c&&(c=6);0>e?(l=0,e=-e):15f||9e||15c||9h||4c.wrap&&(c.wrap=-c.wrap);c.status=c.wrap?42:113;b.Qd=2===c.wrap?0:1;c.Xz=0;if(!Ula){d=Array(16);for(f=h=0;28>f;f++)for(Hv[f]=h,e=0;e< 1<f;f++)for(Kv[f]=h,e=0;e<1<>=7;30>f;f++)for(Kv[f]=h<<7,e=0;e<1<=e;e++)d[e]=0;for(e=0;143>=e;)Rv[2*e+1]=8,e++,d[8]++;for(;255>=e;)Rv[2*e+1]=9,e++,d[9]++;for(;279>=e;)Rv[2*e+1]=7,e++,d[7]++;for(;287>=e;)Rv[2*e+1]=8,e++,d[8]++;Ela(Rv,287,d);for(e=0;30>e;e++)Sv[2*e+1]=5,Sv[2*e]=Dla(e,5);Vla=new zv(Rv,Gv,257,286,15);Wla=new zv(Sv,Jv,0,30,15);Xla=new zv([],Yla,0,19,7);Ula=!0}c.MI=new Av(c.Oj,Vla); c.nH=new Av(c.Bv,Wla);c.lV=new Av(c.Ki,Xla);c.dj=0;c.Vh=0;Fla(c);c=0}else c=Ov(b,-2);0===c&&(b=b.state,b.J0=2*b.Zi,Pv(b.head),b.uP=bw[b.level].S7,b.OW=bw[b.level].y6,b.yY=bw[b.level].k8,b.jY=bw[b.level].R7,b.Bb=0,b.Ik=0,b.lc=0,b.ph=0,b.Ve=b.jl=2,b.ww=0,b.De=0);b=c}}else b=-2;if(0!==b)throw Error(Nv[b]);a.header&&(b=this.oe)&&b.state&&2===b.state.wrap&&(b.state.Kd=a.header);if(a.UC){var n;"string"===typeof a.UC?n=Cla(a.UC):"[object ArrayBuffer]"===Zla.call(a.UC)?n=new Uint8Array(a.UC):n=a.UC;a=this.oe; f=n;h=f.length;if(a&&a.state)if(n=a.state,b=n.wrap,2===b||1===b&&42!==n.status||n.lc)b=-2;else{1===b&&(a.Qd=Wv(a.Qd,f,h,0));n.wrap=0;h>=n.Zi&&(0===b&&(Pv(n.head),n.Bb=0,n.Ik=0,n.ph=0),c=new xv.Dx(n.Zi),xv.Ly(c,f,h-n.Zi,n.Zi,0),f=c,h=n.Zi);c=a.cj;d=a.Dw;e=a.input;a.cj=h;a.Dw=0;a.input=f;for(Yv(n);3<=n.lc;){f=n.Bb;h=n.lc-2;do n.De=(n.De<=c[55]&&(-10===c[54]?((0,c[35])(c[80],(0,c[13+Math.pow(7,2)%355])(),c[11]),(0,c[76])(c[30],c[37]),(0,c[41])(c[17],c[53]),c[5])((0,c[35])(c[80],(0,c[62])(),c[11]),c[41],c[16],c[2]):((((0,c[65])(c[2],c[55]),c[65])(c[59],c[32]),(0,c[10])(c[48],c[53]),c[76])(c[12],c[80]),c[29])(c[59],c[47])),2!==c[8]&&(c[16]==-5954+Math.pow(2,3)- -5938&&(((0,c[76])(c[75],c[2]),c[63839+-186*Math.pow(7,3)])(c[27],c[2]),"true")||(0,c[5])((0,c[41])(c[19],c[59]),c[65],c[53],c[71])),-7=c[75]&&(7==c[75]||(((0,c[46])((0,c[22])(c[74],c[73]),c[47],c[Math.pow(8,2)+-4485+4474],c[5]),(0,c[10])(c[29],c[53]),(0,c[41])(c[20],c[74]),c[41])(c[208%Math.pow(1,4)- -42],c[53]),(0,c[46])((0,c[16])(c[49],(0,c[18])(),c[40]),c[11],c[80]),0))&&(0,c[35])((0,c[25])((0,c[12])((0,c[65])(c[7],(0,c[10])(),c[41]),c[71],(0,c[71])(c[75],c[32]),c[9],c[32]),c[12],(0,c[65])(c[32],(0,c[5])(),c[41]),c[24],(0,c[65])(c[28],(0,c[54])(),c[41]),c[53],c[67]),c[71], c[55],c[18]),10!=c[9]&&(0,c[24])(c[50],c[67]),-7!=c[26]&&(-4===c[20]&&(((((0,c[70])(c[18]),c[0])(c[17],c[32]),c[34])(c[32],c[26]),(0,c[0])(c[44],c[28]),c[65])(c[28],(0,c[5])(),c[41])*(0,c[0])(c[6],c[67]),"true")||(((0,c[59])(c[28],c[69]),c[12])((0,c[70])(c[67]),c[47],(0,c[47])(c[63],c[9]),c[26],c[31-79%Math.pow(2,2)]),c[23])((0,c[24])(c[73],c[10505+Math.pow(5,5)+-13592]),c[24],c[44],c[16])),5===c[74]&&((0,c[new Date("1970-01-01T01:45:13.000+01:45")/1E3])((0,c[65])(c[41],(0,c[38])(),c[7]),c[48],c[74], c[41]),"NaN")||((0,c[71])(c[16],c[10]),c[24])(c[64],c[Math.pow(6,5)+103-7816])}catch(d){(0,c[13])((0,c[65])(c[41],(0,c[67])(),c[7]),c[65],c[41],(0,c[new Date("1969-12-31T17:01:16.000-07:00")/1E3])(),c[7]),(0,c[24])(c[5],c[41]),(((0,c[65])(c[16],(0,c[67])(),c[7]),c[48])(c[37],c[20]),c[65])(c[41],(0,c[38])(),c[7]),(0,c[71])(c[20],c[50])}try{7c[81]&&((0,c[14])(c[16],c[49]),(0,c[24])(c[34],c[47]),c[14])(c[47],c[15])^(0,c[29])(c[new Date("1969-12-31T21:45:32.000-02:15")/1E3]),-7<=c[34]&&((0,c[76])((((0,c[6])(c[66],c[49]),c[11])(c[49]),c[65])(c[32],c[25]),c[45],(0,c[44])((0,c[50])(c[12]),c[61],c[3],c[29]),c[3],c[66]),[])||(0,c[Math.pow(4,5)+3480+-4469])((0,c[72])(c[69],c[79]),(0,c[30])(c[44],c[18]),c[2],(0,c[49])(c[79],c[41]),c[72],((0,c[49])(c[79],c[12]),c[72])(c[27],c[79]),c[63],c[new Date("1970-01-01T06:30:00.000+06:30")/ 1E3])}catch(d){(0,c[55])(c[79],(0,c[38])(),c[31]),((0,c[30])(c[5],c[22]),c[55])(c[22],(0,c[77])(),c[31])}}catch(d){return"enhanced_except_3JkBo-b-_w8_"+a}return b.join("")}; g.hw=function(a){this.name=a}; iw=function(a){this.ea=M(a)}; jw=function(a){this.ea=M(a)}; kw=function(a){this.ea=M(a)}; lw=function(a){this.ea=M(a)}; mw=function(a){this.ea=M(a)}; nw=function(a){this.ea=M(a)}; ow=function(a){this.ea=M(a)}; pw=function(a){this.ea=M(a)}; qw=function(a){this.ea=M(a)}; rw=function(a){this.ea=M(a)}; tw=function(a){this.ea=M(a)}; uw=function(a){this.ea=M(a)}; vw=function(a){this.ea=M(a)}; ww=function(a){this.ea=M(a)}; xw=function(a){this.ea=M(a)}; yw=function(a){this.ea=M(a)}; zw=function(a){this.ea=M(a)}; Aw=function(a){this.ea=M(a)}; Bw=function(a){this.ea=M(a)}; Cw=function(a){this.ea=M(a)}; Dw=function(a){this.ea=M(a)}; Ew=function(a){this.ea=M(a)}; Fw=function(a){this.ea=M(a)}; Gw=function(a){this.ea=M(a)}; Hw=function(a){this.ea=M(a)}; Iw=function(a){this.ea=M(a)}; Jw=function(a){this.ea=M(a)}; Kw=function(a){this.ea=M(a)}; Lw=function(a){this.ea=M(a)}; Mw=function(a){this.ea=M(a)}; Nw=function(a){this.ea=M(a)}; Ow=function(a){this.ea=M(a)}; Pw=function(a){this.ea=M(a)}; Qw=function(a){this.ea=M(a)}; Rw=function(a){this.ea=M(a)}; Sw=function(a){this.ea=M(a)}; Tw=function(a){this.ea=M(a)}; Uw=function(a){this.ea=M(a)}; Vw=function(a){this.ea=M(a)}; Ww=function(a){this.ea=M(a)}; Xw=function(a){this.ea=M(a)}; Yw=function(a){this.ea=M(a)}; Zw=function(a){this.ea=M(a)}; $w=function(a){this.ea=M(a)}; ax=function(a){this.ea=M(a)}; bx=function(a){this.ea=M(a)}; cx=function(a){this.ea=M(a)}; dx=function(a){this.ea=M(a)}; ex=function(a){this.ea=M(a)}; fx=function(a){this.ea=M(a)}; gx=function(a){this.ea=M(a)}; hx=function(a){this.ea=M(a)}; ix=function(a){this.ea=M(a)}; jma=function(a){this.ea=M(a)}; jx=function(a){this.ea=M(a)}; kx=function(a){this.ea=M(a)}; lx=function(a){this.ea=M(a)}; nx=function(a){this.ea=M(a)}; ox=function(a){this.ea=M(a)}; px=function(a){this.ea=M(a)}; qx=function(a){this.ea=M(a)}; rx=function(a){this.ea=M(a)}; sx=function(a){this.ea=M(a)}; tx=function(a){this.ea=M(a)}; ux=function(a){this.ea=M(a)}; vx=function(a){this.ea=M(a)}; wx=function(a){this.ea=M(a)}; xx=function(a){this.ea=M(a)}; yx=function(a){this.ea=M(a)}; zx=function(a){this.ea=M(a)}; Ax=function(a){this.ea=M(a)}; Bx=function(a){this.ea=M(a)}; Cx=function(a){this.ea=M(a)}; Dx=function(a){this.ea=M(a)}; Ex=function(a){this.ea=M(a)}; kma=function(a,b){return Xj(a,1,b)}; Fx=function(a){this.ea=M(a)}; Gx=function(a){this.ea=M(a)}; Hx=function(a){this.ea=M(a)}; Ix=function(a){this.ea=M(a)}; Jx=function(a){this.ea=M(a)}; Kx=function(a){this.ea=M(a)}; Lx=function(a){this.ea=M(a)}; Mx=function(a){this.ea=M(a)}; Nx=function(a){this.ea=M(a)}; Ox=function(a){this.ea=M(a)}; g.Px=function(a){this.ea=M(a)}; Qx=function(a){this.ea=M(a)}; Rx=function(a){this.ea=M(a)}; Sx=function(a){this.ea=M(a)}; Tx=function(a){this.ea=M(a)}; Ux=function(a){this.ea=M(a)}; Vx=function(a){this.ea=M(a)}; Wx=function(a){this.ea=M(a)}; Xx=function(a){this.ea=M(a)}; Yx=function(a){this.ea=M(a)}; Zx=function(a){this.ea=M(a)}; $x=function(a){this.ea=M(a)}; ay=function(a){this.ea=M(a)}; by=function(a){this.ea=M(a)}; cy=function(a){this.ea=M(a)}; dy=function(a){this.ea=M(a)}; ey=function(a){this.ea=M(a)}; fy=function(a){this.ea=M(a)}; gy=function(a){this.ea=M(a)}; hy=function(a){this.ea=M(a)}; iy=function(a){this.ea=M(a)}; jy=function(a){this.ea=M(a)}; ky=function(a){this.ea=M(a)}; ly=function(a){this.ea=M(a)}; my=function(a){this.ea=M(a)}; ny=function(a){this.ea=M(a)}; oy=function(a){this.ea=M(a)}; py=function(a){this.ea=M(a)}; qy=function(a){this.ea=M(a)}; ry=function(a){this.ea=M(a)}; sy=function(a){this.ea=M(a)}; ty=function(a){this.ea=M(a)}; uy=function(a){this.ea=M(a)}; vy=function(a){this.ea=M(a)}; wy=function(a){this.ea=M(a)}; yy=function(a){this.ea=M(a)}; zy=function(a){this.ea=M(a)}; Ay=function(a){this.ea=M(a)}; By=function(a){this.ea=M(a)}; Cy=function(a){this.ea=M(a)}; Dy=function(a){this.ea=M(a)}; Ey=function(a){this.ea=M(a)}; Fy=function(a){this.ea=M(a)}; Gy=function(a){this.ea=M(a)}; Hy=function(a){this.ea=M(a)}; Iy=function(a){this.ea=M(a)}; Jy=function(a){this.ea=M(a)}; Ky=function(a){this.ea=M(a)}; Ly=function(a){this.ea=M(a)}; My=function(a){this.ea=M(a)}; Ny=function(a){this.ea=M(a)}; Oy=function(a){this.ea=M(a)}; Py=function(a){this.ea=M(a)}; Qy=function(a){this.ea=M(a)}; Ry=function(a){this.ea=M(a)}; Sy=function(a){this.ea=M(a)}; Ty=function(a){this.ea=M(a)}; Uy=function(a){this.ea=M(a)}; Vy=function(a){this.ea=M(a)}; Wy=function(a){this.ea=M(a)}; Xy=function(a){this.ea=M(a)}; Yy=function(a){this.ea=M(a)}; Zy=function(a){this.ea=M(a)}; $y=function(a){this.ea=M(a)}; az=function(a){this.ea=M(a)}; bz=function(a){this.ea=M(a)}; cz=function(a){this.ea=M(a)}; dz=function(a){this.ea=M(a)}; ez=function(a){this.ea=M(a)}; fz=function(a){this.ea=M(a)}; gz=function(a){this.ea=M(a)}; hz=function(a){this.ea=M(a)}; iz=function(a){this.ea=M(a)}; jz=function(a){this.ea=M(a)}; kz=function(a){this.ea=M(a)}; lz=function(a){this.ea=M(a)}; mz=function(a){this.ea=M(a)}; nz=function(a){this.ea=M(a)}; oz=function(a){this.ea=M(a)}; pz=function(a){this.ea=M(a)}; qz=function(a){this.ea=M(a)}; rz=function(a){this.ea=M(a)}; sz=function(a){this.ea=M(a)}; tz=function(a){this.ea=M(a)}; g.uz=function(a){this.ea=M(a)}; g.vz=function(a){this.ea=M(a)}; wz=function(a){this.ea=M(a)}; xz=function(a){this.ea=M(a)}; yz=function(a){this.ea=M(a)}; zz=function(a){this.ea=M(a)}; Az=function(a){this.ea=M(a)}; Bz=function(a){this.ea=M(a)}; Cz=function(a){this.ea=M(a)}; Dz=function(a){this.ea=M(a)}; Ez=function(a){this.ea=M(a)}; Fz=function(a){this.ea=M(a)}; Gz=function(a){this.ea=M(a)}; Hz=function(a){this.ea=M(a)}; Iz=function(a){this.ea=M(a)}; Jz=function(a){this.ea=M(a)}; Kz=function(a){this.ea=M(a)}; Lz=function(a){this.ea=M(a)}; Mz=function(a){this.ea=M(a)}; Nz=function(a){this.ea=M(a)}; Oz=function(a){this.ea=M(a)}; Pz=function(a){this.ea=M(a)}; Qz=function(a){this.ea=M(a)}; Rz=function(a){this.ea=M(a)}; Sz=function(a){this.ea=M(a)}; Tz=function(a){this.ea=M(a)}; Uz=function(a){this.ea=M(a)}; Vz=function(a){this.ea=M(a)}; Wz=function(a){this.ea=M(a)}; Xz=function(a){this.ea=M(a)}; Yz=function(a){this.ea=M(a)}; Zz=function(a){this.ea=M(a)}; $z=function(a){this.ea=M(a)}; aA=function(a){this.ea=M(a)}; bA=function(a){this.ea=M(a)}; cA=function(a){this.ea=M(a)}; dA=function(a){this.ea=M(a)}; eA=function(a){this.ea=M(a)}; fA=function(a){this.ea=M(a)}; gA=function(a){this.ea=M(a)}; hA=function(a){this.ea=M(a)}; iA=function(a){this.ea=M(a)}; jA=function(a){this.ea=M(a)}; kA=function(a){this.ea=M(a)}; lA=function(a){this.ea=M(a)}; mA=function(a){this.ea=M(a)}; nA=function(a){this.ea=M(a)}; oA=function(a){this.ea=M(a)}; pA=function(a){this.ea=M(a)}; qA=function(a){this.ea=M(a)}; rA=function(a){this.ea=M(a)}; sA=function(a){this.ea=M(a)}; tA=function(a){this.ea=M(a)}; lma=function(a){this.ea=M(a)}; mma=function(a){this.ea=M(a)}; nma=function(a){this.ea=M(a)}; oma=function(a){this.ea=M(a)}; uA=function(a){this.ea=M(a)}; vA=function(a){this.ea=M(a)}; AA=function(a){this.ea=M(a)}; BA=function(a){this.ea=M(a)}; pma=function(a){this.ea=M(a)}; qma=function(a){this.ea=M(a)}; CA=function(a){this.ea=M(a)}; rma=function(a){this.ea=M(a)}; sma=function(a){this.ea=M(a)}; tma=function(a){this.ea=M(a)}; DA=function(a){this.ea=M(a)}; uma=function(a){this.ea=M(a)}; vma=function(a){this.ea=M(a)}; wma=function(a){this.ea=M(a)}; xma=function(a){this.ea=M(a)}; yma=function(a){this.ea=M(a)}; zma=function(a){this.ea=M(a)}; Ama=function(a){this.ea=M(a)}; Bma=function(a){this.ea=M(a)}; Cma=function(a){this.ea=M(a)}; Dma=function(a){this.ea=M(a)}; EA=function(a){this.ea=M(a)}; Ema=function(a){this.ea=M(a)}; FA=function(a){this.ea=M(a)}; GA=function(a){this.ea=M(a)}; Fma=function(a){this.ea=M(a)}; Gma=function(a){this.ea=M(a)}; HA=function(a){this.ea=M(a)}; Hma=function(a){this.ea=M(a)}; Ima=function(a){this.ea=M(a)}; Jma=function(a){this.ea=M(a)}; Kma=function(a){this.ea=M(a)}; Lma=function(a){this.ea=M(a)}; Mma=function(a){this.ea=M(a)}; Nma=function(a){this.ea=M(a)}; Oma=function(a){this.ea=M(a)}; IA=function(a){this.ea=M(a)}; Pma=function(a){this.ea=M(a)}; Qma=function(a){this.ea=M(a)}; Rma=function(a){this.ea=M(a)}; JA=function(a){this.ea=M(a)}; Sma=function(a){this.ea=M(a)}; Tma=function(a){this.ea=M(a)}; KA=function(a){this.ea=M(a)}; LA=function(a){this.ea=M(a)}; Uma=function(a){this.ea=M(a)}; MA=function(a){this.ea=M(a)}; NA=function(a){this.ea=M(a)}; Vma=function(a){this.ea=M(a)}; OA=function(a){this.ea=M(a)}; PA=function(a){this.ea=M(a)}; Wma=function(a){this.ea=M(a)}; QA=function(a){this.ea=M(a)}; RA=function(a){this.ea=M(a)}; Xma=function(a){this.ea=M(a)}; Yma=function(a){this.ea=M(a)}; SA=function(a){this.ea=M(a)}; Zma=function(a){this.ea=M(a)}; $ma=function(a){this.ea=M(a)}; TA=function(a){this.ea=M(a)}; ana=function(a){this.ea=M(a)}; bna=function(a){this.ea=M(a)}; cna=function(a){this.ea=M(a)}; dna=function(a){this.ea=M(a)}; ena=function(a){this.ea=M(a)}; fna=function(a){this.ea=M(a)}; gna=function(a){this.ea=M(a)}; hna=function(a){this.ea=M(a)}; ina=function(a){this.ea=M(a)}; jna=function(a){this.ea=M(a)}; UA=function(a){this.ea=M(a)}; kna=function(a){this.ea=M(a)}; lna=function(a){this.ea=M(a)}; VA=function(a){this.ea=M(a)}; mna=function(a){this.ea=M(a)}; WA=function(a){this.ea=M(a)}; XA=function(a){this.ea=M(a)}; nna=function(a){this.ea=M(a)}; ona=function(a){this.ea=M(a)}; YA=function(a){this.ea=M(a)}; pna=function(a){this.ea=M(a)}; qna=function(a,b){N(a,vA,1,b)}; ZA=function(a){this.ea=M(a)}; rna=function(a,b){return N(a,vA,1,b)}; $A=function(a){this.ea=M(a)}; sna=function(a,b){return N(a,vA,2,b)}; aB=function(a){this.ea=M(a)}; bB=function(a){this.ea=M(a)}; cB=function(a){this.ea=M(a)}; dB=function(a){this.ea=M(a)}; tna=function(a){this.ea=M(a)}; eB=function(a){this.ea=M(a)}; fB=function(a){var b=new eB;return Q(b,1,a)}; gB=function(a,b){return Q(a,2,b)}; hB=function(a){this.ea=M(a)}; una=function(a){this.ea=M(a)}; iB=function(a){this.ea=M(a)}; jB=function(a,b){Nj(a,68,eB,b)}; vna=function(a){this.ea=M(a)}; wna=function(a){this.ea=M(a)}; kB=function(a){this.ea=M(a)}; lB=function(a){this.ea=M(a)}; mB=function(a){this.ea=M(a)}; xna=function(a){this.ea=M(a)}; nB=function(a){this.ea=M(a)}; yna=function(a){this.ea=M(a)}; zna=function(a){this.ea=M(a)}; Ana=function(a){this.ea=M(a)}; oB=function(a){this.ea=M(a)}; Bna=function(a){this.ea=M(a)}; Cna=function(a){this.ea=M(a)}; Dna=function(a){this.ea=M(a)}; pB=function(a){this.ea=M(a)}; Ena=function(a){this.ea=M(a)}; Fna=function(a){this.ea=M(a)}; qB=function(a){this.ea=M(a)}; rB=function(a){this.ea=M(a)}; Gna=function(a){this.ea=M(a)}; sB=function(a){this.ea=M(a)}; tB=function(a){this.ea=M(a)}; Hna=function(a){this.ea=M(a)}; uB=function(a){this.ea=M(a,492)}; Ina=function(a){this.ea=M(a)}; vB=function(a){this.ea=M(a)}; Jna=function(a){this.ea=M(a)}; Kna=function(){return g.Ta("yt.ads.biscotti.lastId_")||""}; Lna=function(a){g.Sa("yt.ads.biscotti.lastId_",a)}; xB=function(){var a=arguments;1m.status,r=500<=m.status&&600>m.status;if(n||q||r)p=qoa(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.Ra;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===PB(p.xhr))return Zf(new XB("Request retried too many times","net.retryexhausted",p.xhr,p));p=Math.pow(2,c-m+1)*n;var q=0a;a++)this.B.push(0);this.C=0;this.qa=g.EC(window,"mousemove",(0,g.fb)(this.Y,this));this.Z=g.SB((0,g.fb)(this.ma,this),25)}; IC=function(a){g.J.call(this);this.N=[];this.gb=a||this}; JC=function(a,b,c,d){for(var e=0;e=f)eqa(a,m,t,h,u,b.join(),e),l=u;B.La(2);break;case 4:return B.return(Promise.reject(l))}})}; eqa=function(a,b,c,d,e,f,h){b=c-b;e?(e instanceof g.nD&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&kD("QUOTA_EXCEEDED",{dbName:mD(a.j.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:h.mode}),e instanceof g.nD&&"UNKNOWN_ABORT"===e.type&&(c-=a.C,0>c&&c>=Math.pow(2,31)&&(c=0),kD("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.B=!0),fqa(a,!1,d,f,b,h.tag),jD(e)):fqa(a,!0,d, f,b,h.tag)}; fqa=function(a,b,c,d,e,f){kD("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.B,duration:e,isSuccessful:b,tryCount:c,tag:void 0===f?"IDB_TRANSACTION_TAG_UNKNOWN":f})}; cqa=function(a){this.j=a}; g.CD=function(a,b,c){a.j.createIndex(b,c,{unique:!1})}; gqa=function(a,b){return g.DD(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})}; g.iqa=function(a,b){return"getAll"in IDBObjectStore.prototype?g.tD(a.j.getAll(b,void 0)):hqa(a,b)}; hqa=function(a,b){var c=[];return g.DD(a,{query:b},function(d){c.push(d.getValue());return d.continue()}).then(function(){return c})}; kqa=function(a){return"getAllKeys"in IDBObjectStore.prototype?g.tD(a.j.getAllKeys(void 0,void 0)):jqa(a)}; jqa=function(a){var b=[];return g.lqa(a,{query:void 0},function(c){b.push(c.aI());return c.continue()}).then(function(){return b})}; g.zD=function(a,b,c){return g.tD(a.j.put(b,c))}; g.DD=function(a,b,c){a=a.j.openCursor(b.query,b.direction);return ED(a).then(function(d){return $pa(d,c)})}; g.lqa=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 uD(a).then(function(e){return $pa(e,c)})}; BD=function(a){var b=this;this.j=a;this.C=new Map;this.B=!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.B){e=g.nD;for(var f=b.j.objectStoreNames,h=[],l=0;l=B},x); x.done.catch(function(B){e(B)})}catch(B){e(B)}}); h.addEventListener("success",function(){var t=h.result;m&&t.addEventListener("versionchange",function(){m(f())}); t.addEventListener("close",function(){kD("IDB_UNEXPECTEDLY_CLOSED",{dbName:mD(a),dbVersion:t.version});n&&n()}); d(f())}); h.addEventListener("error",function(){e(h.error)}); l&&h.addEventListener("blocked",function(){l()})})}; pqa=function(a,b,c){c=void 0===c?{}:c;return oqa(a,b,c)}; GD=function(a,b){b=void 0===b?{}:b;var c,d,e,f;return g.I(function(h){if(1==h.j)return g.Ca(h,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.blocked)&&c.addEventListener("blocked",function(){e()}),g.y(h,Zpa(c),4); if(2!=h.j)return g.Da(h,0);f=g.Ea(h);throw Spa(f,a,"",-1);})}; HD=function(a,b){this.name=a;this.options=b;this.C=!0;this.G=this.D=0}; qqa=function(a,b){return new g.nD("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})}; g.ID=function(a,b){if(!b)throw g.qD("openWithToken",mD(a.name));return a.open()}; sqa=function(a,b){var c;return g.I(function(d){if(1==d.j)return g.y(d,g.ID(rqa,b),2);c=d.B;return d.return(g.yD(c,["databases"],{Wb:!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.zD(f,a).then(function(){})})}))})}; JD=function(a,b){var c;return g.I(function(d){if(1==d.j)return a?g.y(d,g.ID(rqa,b),2):d.return();c=d.B;return d.return(c.delete("databases",a))})}; tqa=function(a,b){var c,d;return g.I(function(e){return 1==e.j?(c=[],g.y(e,g.ID(rqa,b),2)):3!=e.j?(d=e.B,g.y(e,g.yD(d,["databases"],{Wb:!0,mode:"readonly"},function(f){c.length=0;return g.DD(f.objectStore("databases"),{},function(h){a(h.getValue())&&c.push(h.getValue());return h.continue()})}),3)):e.return(c)})}; uqa=function(a,b){return tqa(function(c){return c.publicName===a&&void 0!==c.userIdentifier},b)}; wqa=function(){var a,b,c,d;return g.I(function(e){switch(e.j){case 1:a=Jpa();if(null==(b=a)?0:b.hasSucceededOnce)return e.return(!0);if(KD&&kC()&&!Ioa()||g.LD)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.Ca(e,2);d={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0}; return g.y(e,sqa(d,vqa),4);case 4:return g.y(e,JD("yt-idb-test-do-not-use",vqa),5);case 5:return e.return(!0);case 2:return g.Ea(e),e.return(!1)}})}; yqa=function(){if(void 0!==xqa)return xqa;iD=!0;return xqa=wqa().then(function(a){iD=!1;var b;if(null!=(b=Ipa())&&b.j){var c;b={hasSucceededOnce:(null==(c=Jpa())?void 0:c.hasSucceededOnce)||a};var d;null==(d=Ipa())||d.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0)}return a})}; MD=function(){return g.Ta("ytglobal.idbToken_")||void 0}; g.ND=function(){var a=MD();return a?Promise.resolve(a):yqa().then(function(b){(b=b?vqa:void 0)&&g.Sa("ytglobal.idbToken_",b);return b})}; zqa=function(a){if(!g.XC())throw a=new g.nD("AUTH_INVALID",{dbName:a}),jD(a),a;var b=g.WC();return{actualName:a+":"+b,publicName:a,userIdentifier:b}}; Aqa=function(a,b,c,d){var e,f,h,l,m,n;return g.I(function(p){switch(p.j){case 1:return f=null!=(e=Error().stack)?e:"",g.y(p,g.ND(),2);case 2:h=p.B;if(!h)throw l=g.qD("openDbImpl",a,b),g.AB("ytidb_async_stack_killswitch")||(l.stack=l.stack+"\n"+f.substring(f.indexOf("\n")+1)),jD(l),l;lD(a);m=c?{actualName:a,publicName:a,userIdentifier:void 0}:zqa(a);g.Ca(p,3);return g.y(p,sqa(m,h),5);case 5:return g.y(p,pqa(m.actualName,b,d),6);case 6:return p.return(p.B);case 3:return n=g.Ea(p),g.Ca(p,7),g.y(p,JD(m.actualName, h),9);case 9:g.Da(p,8);break;case 7:g.Ea(p);case 8:throw n;}})}; Bqa=function(a,b,c){c=void 0===c?{}:c;return Aqa(a,b,!1,c)}; Cqa=function(a,b,c){c=void 0===c?{}:c;return Aqa(a,b,!0,c)}; Dqa=function(a,b){b=void 0===b?{}:b;var c,d;return g.I(function(e){if(1==e.j)return g.y(e,g.ND(),2);if(3!=e.j){c=e.B;if(!c)return e.return();lD(a);d=zqa(a);return g.y(e,GD(d.actualName,b),3)}return g.y(e,JD(d.actualName,c),0)})}; Eqa=function(a,b,c){a=a.map(function(d){return g.I(function(e){return 1==e.j?g.y(e,GD(d.actualName,b),2):g.y(e,JD(d.actualName,c),0)})}); return Promise.all(a).then(function(){})}; Fqa=function(a){var b=void 0===b?{}:b;var c,d;return g.I(function(e){if(1==e.j)return g.y(e,g.ND(),2);if(3!=e.j){c=e.B;if(!c)return e.return();lD(a);return g.y(e,uqa(a,c),3)}d=e.B;return g.y(e,Eqa(d,b,c),0)})}; Gqa=function(a,b){b=void 0===b?{}:b;var c;return g.I(function(d){if(1==d.j)return g.y(d,g.ND(),2);if(3!=d.j){c=d.B;if(!c)return d.return();lD(a);return g.y(d,GD(a,b),3)}return g.y(d,JD(a,c),0)})}; OD=function(a,b){HD.call(this,a,b);this.options=b;lD(a)}; Hqa=function(a,b){var c;return function(){c||(c=new OD(a,b));return c}}; g.PD=function(a,b){return Hqa(a,b)}; QD=function(a){return g.ID(Iqa(),a)}; Jqa=function(a,b,c,d){var e,f,h;return g.I(function(l){switch(l.j){case 1:return e={config:a,hashData:b,timestamp:void 0!==d?d:(0,g.vD)()},g.y(l,QD(c),2);case 2:return f=l.B,g.y(l,f.clear("hotConfigStore"),3);case 3:return g.y(l,g.AD(f,"hotConfigStore",e),4);case 4:return h=l.B,l.return(h)}})}; Kqa=function(a,b,c,d,e){var f,h,l;return g.I(function(m){switch(m.j){case 1:return f={config:a,hashData:b,configData:c,timestamp:void 0!==e?e:(0,g.vD)()},g.y(m,QD(d),2);case 2:return h=m.B,g.y(m,h.clear("coldConfigStore"),3);case 3:return g.y(m,g.AD(h,"coldConfigStore",f),4);case 4:return l=m.B,m.return(l)}})}; Lqa=function(a){var b,c;return g.I(function(d){return 1==d.j?g.y(d,QD(a),2):3!=d.j?(b=d.B,c=void 0,g.y(d,g.yD(b,["coldConfigStore"],{mode:"readwrite",Wb:!0},function(e){return g.FD(e.objectStore("coldConfigStore").index("coldTimestampIndex"),{direction:"prev"},function(f){c=f.getValue()})}),3)):d.return(c)})}; Mqa=function(a){var b,c;return g.I(function(d){return 1==d.j?g.y(d,QD(a),2):3!=d.j?(b=d.B,c=void 0,g.y(d,g.yD(b,["hotConfigStore"],{mode:"readwrite",Wb:!0},function(e){return g.FD(e.objectStore("hotConfigStore").index("hotTimestampIndex"),{direction:"prev"},function(f){c=f.getValue()})}),3)):d.return(c)})}; Nqa=function(){return g.I(function(a){return g.y(a,Fqa("ytGcfConfig"),0)})}; Oqa=function(){g.J.call(this);this.B=[];this.j=[];var a=g.Ta("yt.gcf.config.hotUpdateCallbacks");a?(this.B=[].concat(g.ra(a)),this.j=a):(this.j=[],g.Sa("yt.gcf.config.hotUpdateCallbacks",this.j))}; VD=function(){var a=this;this.G=!1;this.C=this.D=0;this.K=new Oqa;this.Hd={xib:function(){a.G=!0}, Ghb:function(){return a.j}, zjb:function(b){RD(a,b)}, Ir:function(b){a.Ir(b)}, ujb:function(b){Pqa(a,b)}, Y5:function(){return a.coldHashData}, g6:function(){return a.hotHashData}, Vhb:function(){return a.B}, Ohb:function(){return SD()}, Qhb:function(){return TD()}, Phb:function(){return g.Ta("yt.gcf.config.coldHashData")}, Rhb:function(){return g.Ta("yt.gcf.config.hotHashData")}, Ojb:function(){Qqa(a)}, ojb:function(){a.Ir(void 0);UD(a);delete VD.instance}, wjb:function(b){a.C=b}, Lhb:function(){return a.C}}}; Rqa=function(){if(!VD.instance){var a=new VD;VD.instance=a}return VD.instance}; Uqa=function(a){var b;g.I(function(c){if(1==c.j)return g.AB("start_client_gcf")||g.AB("delete_gcf_config_db")?g.AB("start_client_gcf")?g.y(c,g.ND(),3):c.La(2):c.return();2!=c.j&&((b=c.B)&&g.XC()&&!g.AB("delete_gcf_config_db")?(a.G=!0,Qqa(a)):(Sqa(a),Tqa(a)));return g.AB("delete_gcf_config_db")?g.y(c,Nqa(),0):c.La(0)})}; WD=function(){var a;return null!=(a=TD())?a:g.yB("RAW_HOT_CONFIG_GROUP")}; Vqa=function(a){var b,c,d,e,f,h;return g.I(function(l){switch(l.j){case 1:if(a.B)return l.return(TD());if(!a.G)return b=g.qD("getHotConfig IDB not initialized"),FB(b),l.return(Promise.reject(b));c=MD();d=g.yB("TIME_CREATED_MS");if(!c){e=g.qD("getHotConfig token error");FB(e);l.La(2);break}return g.y(l,Mqa(c),3);case 3:if((f=l.B)&&f.timestamp>d)return RD(a,f.config),a.Ir(f.hashData),l.return(TD());case 2:Tqa(a);if(!(c&&a.B&&a.hotHashData)){l.La(4);break}return g.y(l,Jqa(a.B,a.hotHashData,c,d),4);case 4:return a.B? l.return(TD()):(h=new g.VC("Config not available in ytConfig"),FB(h),l.return(Promise.reject(h)))}})}; Xqa=function(a){var b,c,d,e,f,h;return g.I(function(l){switch(l.j){case 1:if(a.j)return l.return(SD());if(!a.G)return b=g.qD("getColdConfig IDB not initialized"),FB(b),l.return(Promise.reject(b));c=MD();d=g.yB("TIME_CREATED_MS");if(!c){e=g.qD("getColdConfig");FB(e);l.La(2);break}return g.y(l,Lqa(c),3);case 3:if((f=l.B)&&f.timestamp>d)return Pqa(a,f.config),Wqa(a,f.configData),UD(a,f.hashData),l.return(SD());case 2:Sqa(a);if(!(c&&a.j&&a.coldHashData&&a.configData)){l.La(4);break}return g.y(l,Kqa(a.j, a.coldHashData,a.configData,c,d),4);case 4:return a.j?l.return(SD()):(h=new g.VC("Config not available in ytConfig"),FB(h),l.return(Promise.reject(h)))}})}; Qqa=function(a){if(!a.B||!a.j){if(!MD()){var b=g.qD("scheduleGetConfigs");FB(b)}a.D||(a.D=g.tu.Hi(function(){return g.I(function(c){switch(c.j){case 1:return g.Ca(c,2),g.y(c,Vqa(a),4);case 4:g.Da(c,3);break;case 2:g.Ea(c);case 3:return g.Ca(c,5),g.y(c,Xqa(a),7);case 7:g.Da(c,6);break;case 5:g.Ea(c);case 6:a.D&&(a.D=0),g.Aa(c)}})},100))}}; Yqa=function(a,b,c){var d,e,f;return g.I(function(h){switch(h.j){case 1:if(!g.AB("start_client_gcf")){h.La(0);break}c&&RD(a,c);a.Ir(b);d=MD();if(!d){h.La(3);break}if(c){h.La(4);break}return g.y(h,Mqa(d),5);case 5:e=h.B,c=null==(f=e)?void 0:f.config;case 4:return g.y(h,Jqa(c,b,d),3);case 3:if(c)for(var l=c,m=g.v(a.K.j),n=m.next();!n.done;n=m.next())n=n.value,n(l);g.Aa(h)}})}; Zqa=function(a,b,c){var d,e,f,h;return g.I(function(l){if(1==l.j){if(!g.AB("start_client_gcf"))return l.La(0);UD(a,b);return(d=MD())?c?l.La(4):g.y(l,Lqa(d),5):l.La(0)}4!=l.j&&(e=l.B,c=null==(f=e)?void 0:f.config);if(!c)return l.La(0);h=c.configData;return g.y(l,Kqa(c,b,h,d),0)})}; $qa=function(){var a=Rqa(),b=(0,g.vD)()-a.C;if(!(0!==a.C&&bAra||h=Fra&&(iE++,g.AB("abandon_compression_after_N_slow_zips")?hE===g.BB("compression_disable_point")&&iE>Gra&&(fE=!1):fE=!1);Hra(b);d.headers||(d.headers={});d.headers["Content-Encoding"]="gzip";d.postBody=a;d.postParams=void 0;e(c,d)}; Ira=function(a){var b=void 0===b?!1:b;var c=void 0===c?!1:c;var d=(0,g.vD)(),e={startTime:d,ticks:{},infos:{}},f=b?g.Ta("yt.logging.gzipForFetch",!1):!0;if(fE&&f){if(!a.body)return a;try{var h=c?a.body:"string"===typeof a.body?a.body:JSON.stringify(a.body);f=h;if(!c&&"string"===typeof h){var l=zra(h);if(null!=l&&(l>Ara||l=Fra)if(iE++,g.AB("abandon_compression_after_N_slow_zips")||g.AB("abandon_compression_after_N_slow_zips_lr")){b=iE/hE;var n=Gra/g.BB("compression_disable_point");0=n&&(fE=!1)}else fE=!1;Hra(e)}}a.headers=Object.assign({},{"Content-Encoding":"gzip"},a.headers||{});a.body=f;return a}catch(p){return FB(p),a}}else return a}; zra=function(a){try{return(new Blob(a.split(""))).size}catch(b){return FB(b),null}}; Hra=function(a){g.AB("gel_compression_csi_killswitch")||!g.AB("log_gel_compression_latency")&&!g.AB("log_gel_compression_latency_lr")||rra("gel_compression",a,{sampleRate:.1})}; kE=function(a){var b=this;this.PG=this.jg=!1;this.potentialEsfErrorCounter=this.j=0;this.handleError=function(){}; this.Cz=function(){}; this.now=Date.now;this.YC=!1;this.Hd={vjb:function(p){b.Ff=p}, Pjb:function(){b.DB()}, M4:function(){b.VM()}, TD:function(p){return g.I(function(q){return g.y(q,b.TD(p),0)})}, oK:function(p,q){return b.oK(p,q)}, sK:function(){b.sK()}}; var c;this.M_=null!=(c=a.M_)?c:100;var d;this.YZ=null!=(d=a.YZ)?d:1;var e;this.RZ=null!=(e=a.RZ)?e:2592E6;var f;this.LZ=null!=(f=a.LZ)?f:12E4;var h;this.XZ=null!=(h=a.XZ)?h:5E3;var l;this.Ff=null!=(l=a.Ff)?l:void 0;this.uH=!!a.uH;var m;this.YG=null!=(m=a.YG)?m:.1;var n;this.WJ=null!=(n=a.WJ)?n:10;a.handleError&&(this.handleError=a.handleError);a.Cz&&(this.Cz=a.Cz);a.YC&&(this.YC=a.YC);a.PG&&(this.PG=a.PG);this.jb=a.jb;this.Jn=a.Jn;this.qh=a.qh;this.gh=a.gh;this.sendFn=a.sendFn;this.CQ=a.CQ;this.RP= a.RP;jE(this)&&(!this.jb||this.jb("networkless_logging"))&&Jra(this)}; Jra=function(a){jE(a)&&!a.YC&&(a.jg=!0,a.uH&&Math.random()<=a.YG&&a.qh.R4(a.Ff),a.sK(),a.gh.Lh()&&a.DB(),a.gh.Ta(a.CQ,a.DB.bind(a)),a.gh.Ta(a.RP,a.VM.bind(a)))}; Mra=function(a,b){if(!jE(a))throw Error("IndexedDB is not supported: updateRequestHandlers");var c=b.options.onError?b.options.onError:function(){}; b.options.onError=function(e,f){var h,l,m,n;return g.I(function(p){switch(p.j){case 1:h=Kra(f);(l=Lra(f))&&a.jb&&a.jb("web_enable_error_204")&&a.handleError(Error("Request failed due to compression"),b.url,f);if(!(a.jb&&a.jb("nwl_consider_error_code")&&h||a.jb&&!a.jb("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.WJ)){p.La(2);break}if(!a.gh.xK){p.La(3);break}return g.y(p,a.gh.xK(),3);case 3:if(a.gh.Lh()){p.La(2);break}c(e,f);if(!a.jb||!a.jb("nwl_consider_error_code")||void 0===(null==(m= b)?void 0:m.id)){p.La(6);break}return g.y(p,a.qh.vR(b.id,a.Ff,!1),6);case 6:return p.return();case 2:if(a.jb&&a.jb("nwl_consider_error_code")&&!h&&a.potentialEsfErrorCounter>a.WJ)return p.return();a.potentialEsfErrorCounter++;if(void 0===(null==(n=b)?void 0:n.id)){p.La(8);break}return b.sendCount=a?!1:!0}; Lra=function(a){var b;a=null==a?void 0:null==(b=a.error)?void 0:b.code;return!(400!==a&&415!==a)}; Nra=function(){if(mE)return mE();var a={};mE=g.PD("LogsDatabaseV2",{vr:(a.LogsRequestsStore={Sm:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&g.wD(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.j.indexNames.contains("newRequest")&&d.j.deleteIndex("newRequest"),g.CD(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&xD(b,"sapisid");c(9)&&xD(b,"SWHealthLog")}, version:9});return mE()}; nE=function(a){return g.ID(Nra(),a)}; Pra=function(a,b){var c,d,e,f;return g.I(function(h){if(1==h.j)return c={startTime:(0,g.vD)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},g.y(h,nE(b),2);if(3!=h.j)return d=h.B,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:g.yB("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),g.y(h,g.AD(d,"LogsRequestsStore",e),3);f=h.B;c.ticks.tc=(0,g.vD)();Ora(c);return h.return(f)})}; Qra=function(a,b){var c,d,e,f,h,l,m;return g.I(function(n){if(1==n.j)return c={startTime:(0,g.vD)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},ticks:{}},g.y(n,nE(b),2);if(3!=n.j)return d=n.B,e=g.yB("INNERTUBE_CONTEXT_CLIENT_NAME",0),f=[a,e,0],h=[a,e,(0,g.vD)()],l=IDBKeyRange.bound(f,h),m=void 0,g.y(n,g.yD(d,["LogsRequestsStore"],{mode:"readwrite",Wb:!0},function(p){return g.FD(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.ticks.tc=(0,g.vD)();Ora(c);return n.return(m)})}; Rra=function(a,b){var c;return g.I(function(d){if(1==d.j)return g.y(d,nE(b),2);c=d.B;return d.return(g.yD(c,["LogsRequestsStore"],{mode:"readwrite",Wb:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(h){if(h)return h.status="QUEUED",g.zD(f,h).then(function(){return h})})}))})}; Sra=function(a,b,c,d){c=void 0===c?!0:c;var e;return g.I(function(f){if(1==f.j)return g.y(f,nE(b),2);e=f.B;return f.return(g.yD(e,["LogsRequestsStore"],{mode:"readwrite",Wb:!0},function(h){var l=h.objectStore("LogsRequestsStore");return l.get(a).then(function(m){return m?(m.status="NEW",c&&(m.sendCount+=1),void 0!==d&&(m.options.compress=d),g.zD(l,m).then(function(){return m})):g.sD.resolve(void 0)})}))})}; Tra=function(a,b){var c;return g.I(function(d){if(1==d.j)return g.y(d,nE(b),2);c=d.B;return d.return(c.delete("LogsRequestsStore",a))})}; Ura=function(a){var b,c;return g.I(function(d){if(1==d.j)return g.y(d,nE(a),2);b=d.B;c=(0,g.vD)()-2592E6;return g.y(d,g.yD(b,["LogsRequestsStore"],{mode:"readwrite",Wb:!0},function(e){return g.DD(e.objectStore("LogsRequestsStore"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})}; Vra=function(){g.I(function(a){return g.y(a,Fqa("LogsDatabaseV2"),0)})}; Ora=function(a){g.AB("nwl_csi_killswitch")||rra("networkless_performance",a,{sampleRate:1})}; Xra=function(a){return g.ID(Wra(),a)}; Yra=function(a){var b,c;g.I(function(d){if(1==d.j)return g.y(d,Xra(a),2);b=d.B;c=(0,g.vD)()-2592E6;return g.y(d,g.yD(b,["SWHealthLog"],{mode:"readwrite",Wb:!0},function(e){return g.DD(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})}; Zra=function(a){var b;return g.I(function(c){if(1==c.j)return g.y(c,Xra(a),2);b=c.B;return g.y(c,b.clear("SWHealthLog"),0)})}; g.oE=function(a,b,c,d,e,f,h){e=void 0===e?"":e;f=void 0===f?!1:f;h=void 0===h?!1:h;if(a)if(c&&!g.iC()){if(a){a=g.Zd(g.In(a));if(a===g.de.toString()||a.startsWith("data"))a="";else{var l=void 0===l?{}:l;a instanceof g.ee?l=a:(a=String(a).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),l.jjb&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1 ")),l.ijb&&(a=a.replace(/(\r\n|\n|\r)/g,"
")),l.kjb&&(a=a.replace(/(\t+)/g,'$1')), l=g.je(a));a=g.we(g.Mm(g.ie(l).toString()))}g.gc(a)||(l=lf("IFRAME",{src:'javascript:""',style:"display:none"}),Me(l).body.appendChild(l))}}else if(e)poa(a,b,"POST",e,d);else if(g.yB("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d||h)poa(a,b,"GET","",d,void 0,f,h);else{b:{try{var m=new Qka({url:a});if(m.C&&m.B||m.D){var n=El(g.Gl(5,a));var p=!(!n||!n.endsWith("/aclk")||"1"!==vm(a,"ri"));break b}}catch(q){}p=!1}p?$ra(a)?(b&&b(),l=!0):l=!1:l=!1;l||asa(a,b)}}; $ra=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1}; asa=function(a,b){var c=new Image,d=""+bsa++;csa[d]=c;c.onload=c.onerror=function(){b&&csa[d]&&b();delete csa[d]}; c.src=a}; pE=function(){this.j=new Map;this.B=!1}; qE=function(){if(!pE.instance){var a=g.Ta("yt.networkRequestMonitor.instance")||new pE;g.Sa("yt.networkRequestMonitor.instance",a);pE.instance=a}return pE.instance}; rE=function(){dsa||(dsa=new eD("yt.offline"));return dsa}; esa=function(a){if(g.AB("offline_error_handling")){var b=rE().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);rE().set("errors",b,2592E3,!0)}}; sE=function(){g.Ed.call(this);var a=this;this.B=!1;this.j=Vka();this.j.Ta("networkstatus-online",function(){if(a.B&&g.AB("offline_error_handling")){var b=rE().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new g.VC(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;g.DB(d)}rE().set("errors",{},2592E3,!0)}}})}; fsa=function(){if(!sE.instance){var a=g.Ta("yt.networkStatusManager.instance")||new sE;g.Sa("yt.networkStatusManager.instance",a);sE.instance=a}return sE.instance}; g.tE=function(a){a=void 0===a?{}:a;g.Ed.call(this);var b=this;this.j=this.D=0;this.B=fsa();var c=g.Ta("yt.networkStatusManager.instance.listen").bind(this.B);c&&(a.rateLimit?(this.rateLimit=a.rateLimit,c("networkstatus-online",function(){gsa(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){gsa(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){b.dispatchEvent("publicytnetworkstatus-online")}),c("networkstatus-offline",function(){b.dispatchEvent("publicytnetworkstatus-offline")})))}; gsa=function(a,b){a.rateLimit?a.j?(g.tu.Ij(a.D),a.D=g.tu.Hi(function(){a.C!==b&&(a.dispatchEvent(b),a.C=b,a.j=(0,g.vD)())},a.rateLimit-((0,g.vD)()-a.j))):(a.dispatchEvent(b),a.C=b,a.j=(0,g.vD)()):a.dispatchEvent(b)}; uE=function(){var a=kE.call;hsa||(hsa=new g.tE({Lib:!0,mhb:!0}));a.call(kE,this,{qh:{R4:Ura,fz:Tra,zW:Qra,O7:Rra,vR:Sra,set:Pra},gh:hsa,handleError:function(b,c,d){var e,f=null==d?void 0:null==(e=d.error)?void 0:e.code;if(400===f||415===f){var h;FB(new g.VC(b.message,c,null==d?void 0:null==(h=d.error)?void 0:h.code),void 0,void 0,void 0,!0)}else g.DB(b)}, Cz:FB,sendFn:isa,now:g.vD,K0:esa,Jn:g.bD(),CQ:"publicytnetworkstatus-online",RP:"publicytnetworkstatus-offline",uH:!0,YG:.1,WJ:g.BB("potential_esf_error_limit",10),jb:g.AB,YC:!(g.XC()&&"www.youtube-nocookie.com"!==g.Hl(document.location.toString()))});this.B=new g.Dn;g.AB("networkless_immediately_drop_all_requests")&&Vra();Gqa("LogsDatabaseV2")}; vE=function(){var a=g.Ta("yt.networklessRequestController.instance");a||(a=new uE,g.Sa("yt.networklessRequestController.instance",a),g.AB("networkless_logging")&&g.ND().then(function(b){a.Ff=b;Jra(a);a.B.resolve();a.uH&&Math.random()<=a.YG&&a.Ff&&Yra(a.Ff);g.AB("networkless_immediately_drop_sw_health_store")&&jsa(a)})); return a}; jsa=function(a){var b;g.I(function(c){if(!a.Ff)throw b=g.qD("clearSWHealthLogsDb"),b;return c.return(Zra(a.Ff).catch(function(d){a.handleError(d)}))})}; isa=function(a,b,c,d){d=void 0===d?!1:d;b=g.AB("web_fp_via_jspb")?Object.assign({},b):b;g.AB("use_cfr_monitor")&&ksa(a,b);if(g.AB("use_request_time_ms_header"))b.headers&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,g.vD)())));else{var e;if(null==(e=b.postParams)?0:e.requestTimeMs)b.postParams.requestTimeMs=Math.round((0,g.vD)())}c&&0===Object.keys(b).length?g.oE(a):b.compress?b.postBody?("string"!==typeof b.postBody&&(b.postBody=JSON.stringify(b.postBody)),gE(a,b.postBody,b,g.WB, d)):gE(a,JSON.stringify(b.postParams),b,voa,d):g.WB(a,b)}; ksa=function(a,b){var c=b.onError?b.onError:function(){}; b.onError=function(e,f){qE().requestComplete(a,!1);c(e,f)}; var d=b.onSuccess?b.onSuccess:function(){}; b.onSuccess=function(e,f){qE().requestComplete(a,!0);d(e,f)}}; g.wE=function(a){this.config_=null;a?this.config_=a:ara()&&(this.config_=g.XD())}; g.xE=function(a,b,c,d){function e(p){try{if((void 0===p?0:p)&&d.retry&&!d.networklessOptions.bypassNetworkless)f.method="POST",d.networklessOptions.writeThenSend?vE().writeThenSend(n,f):vE().sendAndWrite(n,f);else if(d.compress){var q=!d.networklessOptions.writeThenSend;if(f.postBody){var r=f.postBody;"string"!==typeof r&&(r=JSON.stringify(f.postBody));gE(n,r,f,g.WB,q)}else gE(n,JSON.stringify(f.postParams),f,voa,q)}else g.AB("web_all_payloads_via_jspb")?g.WB(n,f):voa(n,f)}catch(t){if("InvalidAccessError"== t.name)FB(Error("An extension is blocking network request."));else throw t;}} !g.yB("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&FB(new g.VC("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady())throw a=new g.VC("innertube xhrclient not ready",b,c,d),g.DB(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,compress:d.compress};f.headers["Content-Type"]||(f.headers["Content-Type"]="application/json");c="";var h=a.config_.vX;h&&(c=h);var l=a.config_.wX||!1;h=lra(l,c,d);Object.assign(f.headers,h);(h=f.headers.Authorization)&&!c&&l&&(f.headers["x-origin"]=window.location.origin);b="/youtubei/"+a.config_.innertubeApiVersion+"/"+b;l={alt:"json"};var m=a.config_.QO&&h;m=m&&h.startsWith("Bearer");m||(l.key=a.config_.innertubeApiKey);var n=KB(""+c+b,l);g.Ta("ytNetworklessLoggingInitializationOptions")&& lsa.isNwlInitialized?yqa().then(function(p){e(p)}):e(!1)}; g.CE=function(a,b,c){var d=g.yE();if(d&&b){var e=d.subscribe(a,function(){var f=arguments;var h=function(){zE[e]&&b.apply&&"function"==typeof b.apply&&b.apply(c||window,f)}; try{g.AE[a]?h():g.RB(h,0)}catch(l){g.DB(l)}},c); zE[e]=!0;BE[a]||(BE[a]=[]);BE[a].push(e);return e}return 0}; msa=function(a){var b=g.CE("LOGGED_IN",function(c){a.apply(void 0,arguments);g.DE(b)})}; g.DE=function(a){var b=g.yE();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),g.cc(a,function(c){b.unsubscribeByKey(c);delete zE[c]}))}; g.EE=function(a,b){var c=g.yE();return c?c.publish.apply(c,arguments):!1}; osa=function(a){var b=g.yE();if(b)if(b.clear(a),a)nsa(a);else for(var c in BE)nsa(c)}; g.yE=function(){return g.Ra.ytPubsubPubsubInstance}; nsa=function(a){BE[a]&&(a=BE[a],g.cc(a,function(b){zE[b]&&delete zE[b]}),a.length=0)}; g.ssa=function(a,b,c){c=void 0===c?null:c;if(window.spf&&spf.script){c="";if(a){var d=a.indexOf("jsbin/"),e=a.lastIndexOf(".js"),f=d+6;-1f&&(c=a.substring(f,e),c=c.replace(psa,""),c=c.replace(qsa,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else rsa(a,b,c)}; rsa=function(a,b,c){c=void 0===c?null:c;var d=tsa(a),e=document.getElementById(d),f=e&&$oa(e),h=e&&!f;f?b&&b():(b&&(f=g.CE(d,b),b=""+g.db(b),usa[b]=f),h||(e=vsa(a,d,function(){if(!$oa(e)){var l=e;l&&(l.dataset?l.dataset[Zoa()]="true":nga([new Fn(wsa[0].toLowerCase(),xsa)],l,"data-loaded","true".toString()));g.EE(d);g.RB(g.gb(osa,d),0)}},c)))}; vsa=function(a,b,c,d){d=void 0===d?null:d;var e=g.mf("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.Nn(e,g.fw(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; tsa=function(a){var b=document.createElement("a");g.Kn(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Ae(a)}; GE=function(a){var b=g.Ka.apply(1,arguments);if(!FE(a)||b.some(function(d){return!FE(d)}))throw Error("Only objects may be merged."); b=g.v(b);for(var c=b.next();!c.done;c=b.next())ysa(a,c.value);return a}; ysa=function(a,b){for(var c in b)if(FE(b[c])){if(c in a&&!FE(a[c]))throw Error("Cannot merge an object into a non-object.");c in a||(a[c]={});ysa(a[c],b[c])}else if(zsa(b[c])){if(c in a&&!zsa(a[c]))throw Error("Cannot merge an array into a non-array.");c in a||(a[c]=[]);Asa(a[c],b[c])}else a[c]=b[c];return a}; Asa=function(a,b){b=g.v(b);for(var c=b.next();!c.done;c=b.next())c=c.value,FE(c)?a.push(ysa({},c)):zsa(c)?a.push(Asa([],c)):a.push(c);return a}; FE=function(a){return"object"===typeof a&&!Array.isArray(a)}; zsa=function(a){return"object"===typeof a&&Array.isArray(a)}; HE=function(a){g.J.call(this);this.B=a}; IE=function(a){HE.call(this,!0);this.j=a}; Bsa=function(a,b){g.J.call(this);var c=this;this.C=[];this.N=!1;this.B=0;this.G=this.K=this.D=!1;this.ma=null;var d=(0,g.fb)(a,b);this.j=new g.Bu(function(){return d(c.ma)},300); g.L(this,this.j);this.Y=this.Z=Infinity}; Csa=function(a,b){if(!b)return!1;for(var c=0;c=d.length&&Ysa(b)===d[0])return d;for(var e=[],f=0;f=a?mta||(mta=nta(function(){f();mta=void 0},0)):10<=h-m&&(ota(c,d.tier),l.D=h)}; fta=function(a,b){if("log_event"===a.endpoint){dF(a);var c=eF(a),d=new Map;d.set(c,[a.payload]);var e=cta(a.payload)||"";b&&(hF=new b);return new g.Wf(function(f,h){hF&&hF.isReady()?pta(d,hF,f,h,{bypassNetworkless:!0},!0,gF(e)):f()})}}; ita=function(a,b,c){if("log_event"===b.endpoint){dF(void 0,b);var d=eF(b,!0),e=new Map;e.set(d,[b.payload.toJSON()]);c&&(hF=new c);return new g.Wf(function(f){hF&&hF.isReady()?qta(e,hF,f,{bypassNetworkless:!0},!0,gF(a)):f()})}}; eF=function(a,b){var c="";if(a.dangerousLogToVisitorSession)c="visitorOnlyApprovedKey";else if(a.cttAuthInfo){if(void 0===b?0:b){b=a.cttAuthInfo.token;c=a.cttAuthInfo;var d=new vB;c.videoId?d.setVideoId(c.videoId):c.playlistId&&Gj(d,2,iF,Ci(c.playlistId));jF[b]=d}else b=a.cttAuthInfo,c={},b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId),kF[a.cttAuthInfo.token]=c;c=a.cttAuthInfo.token}return c}; kta=function(a,b,c,d){a=void 0===a?{}:a;c=void 0===c?!1:c;new g.Wf(function(e,f){var h=lta(c,d),l=h.C;h.C=!1;rta(h.B);rta(h.j);h.j=0;hF&&hF.isReady()?void 0===d&&g.AB("enable_web_tiered_gel")?sta(e,f,a,b,c,300,l):sta(e,f,a,b,c,d,l):(ota(c,d),e())})}; sta=function(a,b,c,d,e,f,h){var l=hF;c=void 0===c?{}:c;e=void 0===e?!1:e;f=void 0===f?200:f;h=void 0===h?!1:h;var m=new Map,n=new Map,p={isJspb:e,cttAuthInfo:d,tier:f},q={isJspb:e,cttAuthInfo:d};if(void 0!==d)e?(b=g.AB("enable_web_tiered_gel")?bF().smartExtractMatchingEntries({keys:[p,q],sizeLimit:1E3}):bF().extractMatchingEntries(q),m.set(d,b),qta(m,l,a,c,!1,h)):(m=g.AB("enable_web_tiered_gel")?bF().smartExtractMatchingEntries({keys:[p,q],sizeLimit:1E3}):bF().extractMatchingEntries(q),n.set(d,m), pta(n,l,a,b,c,!1,h));else if(e){b=g.v(Object.keys(fF));for(d=b.next();!d.done;d=b.next())n=d.value,f=g.AB("enable_web_tiered_gel")?bF().smartExtractMatchingEntries({keys:[p,q],sizeLimit:1E3}):bF().extractMatchingEntries({isJspb:!0,cttAuthInfo:n}),0=xta&&c():c()},e); d.B=e}; pta=function(a,b,c,d,e,f,h){e=void 0===e?{}:e;var l=Math.round((0,g.vD)()),m=a.size,n=yta(h);a=g.v(a);var p=a.next();for(h={};!p.done;h={mJ:h.mJ,batchRequest:h.batchRequest,dangerousLogToVisitorSession:h.dangerousLogToVisitorSession,CJ:h.CJ,uJ:h.uJ},p=a.next()){var q=g.v(p.value);p=q.next().value;q=q.next().value;h.batchRequest=g.rd({context:g.hra(b.config_||g.XD())});if(!g.Za(q)&&!g.AB("throw_err_when_logevent_malformed_killswitch")){d();break}h.batchRequest.events=q;(q=kF[p])&&zta(h.batchRequest, p,q);delete kF[p];h.dangerousLogToVisitorSession="visitorOnlyApprovedKey"===p;Ata(h.batchRequest,l,h.dangerousLogToVisitorSession);Bta(e);h.CJ=function(r){g.AB("start_client_gcf")&&g.tu.Hi(function(){return g.I(function(t){return g.y(t,Cta(r),0)})}); m--;m||c()}; h.mJ=0;h.uJ=function(r){return function(){r.mJ++;if(e.bypassNetworkless&&1===r.mJ)try{g.xE(b,n,r.batchRequest,Dta({writeThenSend:!0},r.dangerousLogToVisitorSession,r.CJ,r.uJ,f)),lF=!1}catch(t){g.DB(t),d()}m--;m||c()}}(h); try{g.xE(b,n,h.batchRequest,Dta(e,h.dangerousLogToVisitorSession,h.CJ,h.uJ,f)),lF=!1}catch(r){g.DB(r),d()}}}; qta=function(a,b,c,d,e,f){d=void 0===d?{}:d;var h=Math.round((0,g.vD)()),l={value:a.size},m=new Map([].concat(g.ra(a)));m=g.v(m);for(var n=m.next();!n.done;n=m.next()){var p=g.v(n.value).next().value,q=a.get(p);n=new Jna;var r=b.config_||g.XD(),t=new Vx,u=new g.Px;Q(u,1,r.PO);Q(u,2,r.OO);R(u,16,r.uX);Q(u,17,r.innertubeContextClientVersion);if(r.yI){var x=r.yI,B=new Jx;x.coldConfigData&&Q(B,1,x.coldConfigData);x.appInstallData&&Q(B,6,x.appInstallData);x.coldHashData&&Q(B,3,x.coldHashData);x.hotHashData&& B.Ir(x.hotHashData);N(u,Jx,62,B)}(x=g.Ra.devicePixelRatio)&&1!=x&&xk(u,65,x);x=Nna();""!==x&&Q(u,54,x);x=Ona();if(0Ita&&(a=1);xB("BATCH_CLIENT_COUNTER",a);return a}; zta=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}]}; dF=function(a,b){if(!g.Ta("yt.logging.transport.enableScrapingForTest")){var c=Mna("il_payload_scraping");if("enable_il_payload_scraping"===(void 0!==c?String(c):""))Jta=[],g.Sa("yt.logging.transport.enableScrapingForTest",!0),g.Sa("yt.logging.transport.scrapedPayloadsForTesting",Jta),g.Sa("yt.logging.transport.payloadToScrape","visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged".split(" ")),g.Sa("yt.logging.transport.getScrapedPayloadFromClientEventsFunction"), g.Sa("yt.logging.transport.scrapeClientEvent",!0);else return}c=g.Ta("yt.logging.transport.scrapedPayloadsForTesting");var d=g.Ta("yt.logging.transport.payloadToScrape");b&&(b=b.payload,(b=g.Ta("yt.logging.transport.getScrapedPayloadFromClientEventsFunction").bind(b)())&&c.push(b));b=g.Ta("yt.logging.transport.scrapeClientEvent");if(d&&1<=d.length)for(var e=0;e>3;switch(e&7){case 0:e=Eua(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=Eua(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}; Hua=function(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;dMath.random()){b=b||null;c=c||null;a=a instanceof Error?a:new g.VC(a);if(a.args)for(var f=g.v(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.BF(a)}}; g.IG=function(a,b){this.state=a;this.AA=b}; KG=function(a,b){return g.JG(a.state,b)&&!g.JG(a.AA,b)?1:!g.JG(a.state,b)&&g.JG(a.AA,b)?-1:0}; g.LG=function(a,b){return 0e&&(b+="0"));if(0f&&(b+="0");b+=f+":";10>c&&(b+="0");d=b+c}return 0<=a?d:"-"+d}; g.TG=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)}; UG=function(a,b,c,d,e,f){zG.call(this,a,{I:"span",S:"ytp-ad-duration-remaining"},"ad-duration-remaining",b,c,d,e);this.videoAdDurationSeconds=f;this.B=null;this.hide()}; wwa=function(a,b,c,d){yG.call(this,a,b,c,d,"ytp-video-ad-top-bar-title","ad-title")}; VG=function(a,b){this.B=a;this.j=b}; WG=function(a,b,c){if(!a.getLength())return null!=c?c:Infinity;a=(b-a.B)/a.getLength();return g.me(a,0,1)}; XG=function(a,b){g.aG.call(this,{I:"div",S:"ytp-ad-persistent-progress-bar-container",V:[{I:"div",S:"ytp-ad-persistent-progress-bar"}]});this.api=a;this.B=b;g.L(this,this.B);this.Qc=this.Ga("ytp-ad-persistent-progress-bar");this.j=-1;this.T(a,"presentingplayerstatechange",this.onStateChange);this.hide();this.onStateChange()}; YG=function(a,b,c,d,e,f){bG.call(this,a,{I:"div",S:"ytp-ad-player-overlay",V:[{I:"div",S:"ytp-ad-player-overlay-flyout-cta"},{I:"div",S:"ytp-ad-player-overlay-instream-info"},{I:"div",S:"ytp-ad-player-overlay-skip-or-preview"},{I:"div",S:"ytp-ad-player-overlay-progress-bar"},{I:"div",S:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay",b,c,d);this.Y=f;this.D=this.Ga("ytp-ad-player-overlay-flyout-cta");this.api.U().L("web_rounded_thumbnails")&&this.D.classList.add("ytp-ad-player-overlay-flyout-cta-rounded"); this.B=this.Ga("ytp-ad-player-overlay-instream-info");this.C=null;xwa(this)&&(a=lf("div"),g.Ju(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 wwa(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),c.Da(a),c.init(RF("ad-title"),{text:b.title},this.macros),g.L(this,c)),this.C=a);this.G=this.Ga("ytp-ad-player-overlay-skip-or-preview");this.Fa=this.Ga("ytp-ad-player-overlay-progress-bar"); this.qa=this.Ga("ytp-ad-player-overlay-instream-user-sentiment");this.j=e;g.L(this,this.j);this.hide()}; xwa=function(a){a=a.api.U();return g.ZG(a)&&a.B}; ywa=function(a,b,c){var d={};b&&(d.v=b);c&&(d.list=c);a={name:a,locale:void 0,feature:void 0};for(var e in d)a[e]=d[e];d=g.tm("/sharing_services",a);g.oE(d)}; g.$G=function(a){a&=16777215;var b=[(a&16711680)>>16,(a&65280)>>8,a&255];a=b[0];var c=b[1];b=b[2];a=Number(a);c=Number(c);b=Number(b);if(a!=(a&255)||c!=(c&255)||b!=(b&255))throw Error('"('+a+","+c+","+b+'") is not a valid RGB color');c=a<<16|c<<8|b;return 16>a?"#"+(16777216|c).toString(16).slice(1):"#"+c.toString(16)}; aH=function(a){this.j=new iv(a)}; zwa=function(){var a=!1;try{a=!!window.sessionStorage.getItem("session_logininfo")}catch(b){a=!0}return g.AB("copy_login_info_to_st_cookie")&&("WEB"===g.yB("INNERTUBE_CLIENT_NAME")||"WEB_CREATOR"===g.yB("INNERTUBE_CLIENT_NAME"))&&a}; bH=function(a){if(g.yB("LOGGED_IN",!0)&&zwa()){var b=g.yB("VALID_SESSION_TEMPDATA_DOMAINS",[]);var c=g.Hl(window.location.href);c&&b.push(c);c=g.Hl(a);g.Cb(b,c)||!c&&fc(a,"/")?(b=Il(a),(b=cfa(b))?(b=wua(b),b=(b=g.fC(b)||null)?IB(b):{}):b=null):b=null;null==b&&(b={});c=b;var d=void 0;zwa()?(d||(d=g.yB("LOGIN_INFO")),d?(c.session_logininfo=d,c=!0):c=!1):c=!1;c&&vua(a,b)}}; g.Awa=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;a=g.tm(a,b);bH(a);c=g.In(a+c);d=d.location;c=Jn(c);void 0!==c&&(d.href=c)}; g.Bwa=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.yB("EVENT_ID");d&&(b.ei||(b.ei=d));b&&vua(a,b);c||(bH(a),(window.ytspf||{}).enabled?spf.navigate(a):g.Awa(a))}; g.cH=function(a,b,c,d){c&&vua(a,c);c=g.In(a);var e=g.Zd(c);a!=e&&FB(Error("Unsafe window.open URL: "+a));a=e;b=b||Ae(a).toString(36);try{var f;if("2"===(null==(f=IB(a))?void 0:f.ase)){a=Cwa(a);bH(a);g.AB("update_ytWindow_library_use_closure_window_library")?g.On(a,b,"attributionsrc"):window.open(a,b,"attributionsrc");return}}catch(l){g.DB(l)}if(d){a=Cwa(a);try{var h=encodeURIComponent(d);bH(a);g.AB("update_ytWindow_library_use_closure_window_library")?g.On(a,b,"attributionsrc="+h):window.open(a,b, "attributionsrc="+h);return}catch(l){g.DB(l)}}bH(a);g.AB("update_ytWindow_library_use_closure_window_library")?g.On(c,b):window.open(a,b)}; Cwa=function(a){if("www.googleadservices.com"!==g.Hl(a))return a;var b,c;return"function"===typeof(null==(b=document.featurePolicy)?void 0:b.features)&&(null==(c=document.featurePolicy)?0:c.features().includes("attribution-reporting"))?a+"&nis=6":a+"&nis=5"}; Ewa=function(a){Dwa=a&&a.data}; Gwa=function(a){Fwa=a&&a.data}; Iwa=function(a){Hwa=a&&a.data}; Kwa=function(){Jwa=Hwa=Fwa=Dwa=null}; Mwa=function(){var a=void 0===a?window.location.href:a;if(g.AB("kevlar_disable_theme_param"))return null;El(g.Gl(5,a));try{var b=g.JB(a).theme;return Lwa.get(b)||null}catch(c){}return null}; dH=function(){this.j={};if(this.B=yoa()){var a=g.fC("CONSISTENCY");a&&Nwa(this,{encryptedTokenJarContents:a})}}; Nwa=function(a,b){if(b.encryptedTokenJarContents&&(a.j[b.encryptedTokenJarContents]=b,"string"===typeof b.expirationSeconds)){var c=Number(b.expirationSeconds);setTimeout(function(){delete a.j[b.encryptedTokenJarContents]},1E3*c); a.B&&g.eC("CONSISTENCY",b.encryptedTokenJarContents,c,void 0,!0)}}; eH=function(){var a=g.yB("LOCATION_PLAYABILITY_TOKEN");"TVHTML5"===g.yB("INNERTUBE_CLIENT_NAME")&&(this.localStorage=Owa(this))&&(a=this.localStorage.get("yt-location-playability-token"));a&&(this.locationPlayabilityToken=a,this.j=void 0)}; Owa=function(a){return void 0===a.localStorage?new eD("yt-client-location"):a.localStorage}; g.fH=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;var d=g.yB("INNERTUBE_CONTEXT");if(!d)return g.AF(Error("Error: No InnerTubeContext shell provided in ytconfig.")),{};d=g.rd(d);g.AB("web_no_tracking_params_in_shell_killswitch")||delete d.clickTracking;d.client||(d.client={});var e=d.client;"MWEB"===e.clientName&&(e.clientFormFactor=g.yB("IS_TABLET")?"LARGE_FORM_FACTOR":"SMALL_FORM_FACTOR");e.screenWidthPoints=window.innerWidth;e.screenHeightPoints=window.innerHeight;e.screenPixelDensity=Math.round(window.devicePixelRatio|| 1);e.screenDensityFloat=window.devicePixelRatio||1;e.utcOffsetMinutes=-Math.floor((new Date).getTimezoneOffset());var f=void 0===f?!1:f;g.SC();var h="USER_INTERFACE_THEME_LIGHT";g.TC(0,165)?h="USER_INTERFACE_THEME_DARK":g.TC(0,174)?h="USER_INTERFACE_THEME_LIGHT":!g.AB("kevlar_legacy_browsers")&&window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(h="USER_INTERFACE_THEME_DARK");f=f?h:Mwa()||h;e.userInterfaceTheme=f;if(!b){if(f= Epa())e.connectionType=f;g.AB("web_log_effective_connection_type")&&(f=Gpa())&&(d.client.effectiveConnectionType=f)}var l;if(g.AB("web_log_memory_total_kbytes")&&(null==(l=g.Ra.navigator)?0:l.deviceMemory)){var m;l=null==(m=g.Ra.navigator)?void 0:m.deviceMemory;d.client.memoryTotalKbytes=""+1E6*l}g.AB("web_gcf_hashes_innertube")&&(f=$qa())&&(m=f.coldConfigData,l=f.coldHashData,f=f.hotHashData,d.client.configInfo=d.client.configInfo||{},d.client.configInfo.coldConfigData=m,d.client.configInfo.coldHashData= l,d.client.configInfo.hotHashData=f);m=g.JB(g.Ra.location.href);!g.AB("web_populate_internal_geo_killswitch")&&m.internalcountrycode&&(e.internalGeo=m.internalcountrycode);"MWEB"===e.clientName||"WEB"===e.clientName?(e.mainAppWebInfo={graftUrl:g.Ra.location.href},g.AB("kevlar_woffle")&&tpa.instance&&(m=tpa.instance,e.mainAppWebInfo.pwaInstallabilityStatus=!m.j&&m.B?"PWA_INSTALLABILITY_STATUS_CAN_BE_INSTALLED":"PWA_INSTALLABILITY_STATUS_UNKNOWN"),e.mainAppWebInfo.webDisplayMode=upa(),e.mainAppWebInfo.isWebNativeShareAvailable= navigator&&void 0!==navigator.share):"TVHTML5"===e.clientName&&(!g.AB("web_lr_app_quality_killswitch")&&(m=g.yB("LIVING_ROOM_APP_QUALITY"))&&(e.tvAppInfo=Object.assign(e.tvAppInfo||{},{appQuality:m})),m=g.yB("LIVING_ROOM_CERTIFICATION_SCOPE"))&&(e.tvAppInfo=Object.assign(e.tvAppInfo||{},{certificationScope:m}));if(!g.AB("web_populate_time_zone_itc_killswitch")){a:{if("undefined"!==typeof Intl)try{var n=(new Intl.DateTimeFormat).resolvedOptions().timeZone;break a}catch(H){}n=void 0}n&&(e.timeZone= n)}(n=Nna())?e.experimentsToken=n:delete e.experimentsToken;n=Ona();dH.instance||(dH.instance=new dH);d.request=Object.assign({},d.request,{internalExperimentFlags:n,consistencyTokenJars:bd(dH.instance.j)});!g.AB("web_prequest_context_killswitch")&&(n=g.yB("INNERTUBE_CONTEXT_PREQUEST_CONTEXT"))&&(d.request.externalPrequestContext=n);e=g.SC();n=g.TC(0,58);e=e.get("gsml","");d.user=Object.assign({},d.user);n&&(d.user.enableSafetyMode=n);e&&(d.user.lockedSafetyMode=!0);g.AB("warm_op_csn_cleanup")?c&& (b=g.xF())&&(d.clientScreenNonce=b):!b&&(b=g.xF())&&(d.clientScreenNonce=b);a&&(d.clickTracking={clickTrackingParams:a});if(a=g.Ta("yt.mdx.remote.remoteClient_"))d.remoteClient=a;eH.getInstance().setLocationOnInnerTubeContext(d);try{var p=OB(),q=p.bid;delete p.bid;d.adSignalsInfo={params:[],bid:q};for(var r=g.v(Object.entries(p)),t=r.next();!t.done;t=r.next()){var u=g.v(t.value),x=u.next().value,B=u.next().value;p=x;q=B;a=void 0;null==(a=d.adSignalsInfo.params)||a.push({key:p,value:""+q})}var F;if(g.AB("add_ifa_to_tvh5_requests")&& "TVHTML5"===(null==(F=d.client)?void 0:F.clientName)){var G=g.yB("INNERTUBE_CONTEXT");G.adSignalsInfo&&(d.adSignalsInfo.advertisingId=G.adSignalsInfo.advertisingId,d.adSignalsInfo.limitAdTracking=G.adSignalsInfo.limitAdTracking)}}catch(H){g.AF(H)}return d}; Rwa=function(a,b){if(!a)return!1;var c,d=null==(c=g.U(a,Pwa))?void 0:c.signal;if(d&&b.mx)return!!b.mx[d];var e;if((c=null==(e=g.U(a,Qwa))?void 0:e.request)&&b.jN)return!!b.jN[c];for(var f in a)if(b.fN[f])return!0;return!1}; Swa=function(a,b){var c,d=null==(c=g.U(a,Pwa))?void 0:c.signal;if(d&&b.mx&&(c=b.mx[d]))return c();var e;if((c=null==(e=g.U(a,Qwa))?void 0:e.request)&&b.jN&&(e=b.jN[c]))return e();for(var f in a)if(b.fN[f]&&(a=b.fN[f]))return a()}; gH=function(a){return function(){return new a}}; Uwa=function(a){var b=void 0===b?"UNKNOWN_INTERFACE":b;if(1===a.length)return a[0];var c=Twa[b];if(c){var d=new RegExp(c),e=g.v(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,d.exec(c))return c}var f=[];Object.entries(Twa).forEach(function(h){var l=g.v(h);h=l.next().value;l=l.next().value;b!==h&&f.push(l)}); d=new RegExp(f.join("|"));a.sort(function(h,l){return h.length-l.length}); e=g.v(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,!d.exec(c))return c;return a[0]}; g.hH=function(a){return"/youtubei/v1/"+Uwa(a)}; iH=function(){}; jH=function(){}; kH=function(a){return g.Ta("ytcsi."+(a||"")+"data_")||Vwa(a)}; lH=function(){var a=kH();a.info||(a.info={});return a.info}; mH=function(a){a=kH(a);a.metadata||(a.metadata={});return a.metadata}; nH=function(a){a=kH(a);a.tick||(a.tick={});return a.tick}; oH=function(a){a=kH(a);if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}else a.gel={gelTicks:{},gelInfos:{}};return a.gel}; Wwa=function(a){a=oH(a);a.gelInfos||(a.gelInfos={});return a.gelInfos}; pH=function(a){var b=kH(a).nonce;b||(b=g.LE(16),kH(a).nonce=b);return b}; Vwa=function(a){var b={tick:{},info:{}};g.Sa("ytcsi."+(a||"")+"data_",b);return b}; Xwa=function(){var a=g.Ta("ytcsi.debug");a||(a=[],g.Sa("ytcsi.debug",a),g.Sa("ytcsi.reference",{}));return a}; qH=function(a){a=a||"";var b=Ywa();if(b[a])return b[a];var c=Xwa(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);return b[a]=d}; Zwa=function(a){a=a||"";var b=Ywa();b[a]&&delete b[a];var c=Xwa(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);b[a]=d}; Ywa=function(){var a=g.Ta("ytcsi.reference");if(a)return a;Xwa();return g.Ta("ytcsi.reference")}; rH=function(a){return $wa[a]||"LATENCY_ACTION_UNKNOWN"}; exa=function(a,b,c){c=oH(c);if(c.gelInfos)c.gelInfos[a]=!0;else{var d={};c.gelInfos=(d[a]=!0,d)}if(a.match("_rid")){var e=a.split("_rid")[0];a="REQUEST_ID"}if(a in axa){c=axa[a];g.Cb(bxa,c)&&(b=!!b);a in cxa&&"string"===typeof b&&(b=cxa[a]+b.toUpperCase());a=b;b=c.split(".");for(var f=d={},h=0;h1E5*Math.random()&&(c=new g.VC("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||g.BF(c)),!0):!1}; gxa=function(){this.timing={};this.clearResourceTimings=function(){}; this.webkitClearResourceTimings=function(){}; this.mozClearResourceTimings=function(){}; this.msClearResourceTimings=function(){}; this.oClearResourceTimings=function(){}}; hxa=function(){var a;if(g.AB("csi_use_performance_navigation_timing")||g.AB("csi_use_performance_navigation_timing_tvhtml5")){var b,c,d,e=null==wH?void 0:null==(a=wH.getEntriesByType)?void 0:null==(b=a.call(wH,"navigation"))?void 0:null==(c=b[0])?void 0:null==(d=c.toJSON)?void 0:d.call(c);e?(e.requestStart=xH(e.requestStart),e.responseEnd=xH(e.responseEnd),e.redirectStart=xH(e.redirectStart),e.redirectEnd=xH(e.redirectEnd),e.domainLookupEnd=xH(e.domainLookupEnd),e.connectStart=xH(e.connectStart), e.connectEnd=xH(e.connectEnd),e.responseStart=xH(e.responseStart),e.secureConnectionStart=xH(e.secureConnectionStart),e.domainLookupStart=xH(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=wH.timing}else a=wH.timing;return a}; xH=function(a){return Math.round(yH()+a)}; yH=function(){return(g.AB("csi_use_time_origin")||g.AB("csi_use_time_origin_tvhtml5"))&&wH.timeOrigin?Math.floor(wH.timeOrigin):wH.timing.navigationStart}; AH=function(a,b){zH("_start",a,b)}; ixa=function(a,b,c,d){if(null!==b){if("yt_lt"===a){var e="string"===typeof b?b:""+b;mH(c).loadType=e}(a=exa(a,b,c))&&BH(a,c,d)}}; BH=function(a,b,c){c=void 0===c?!1:c;if(!g.AB("web_csi_action_sampling_enabled")||!kH(b).actionDisabled)if(g.AB("web_csi_via_jspb")&&!c){c=new iB;var d=Object.keys(a);a=Object.values(a);for(var e=0;e=yH()&&0c.duration?d:c},{duration:0}))&&0=c)c=!1;else{var d=pH(a);c=0!==Tua(d)%c}c&&(kH(a).actionDisabled=!0);qH(a||"").info.actionType=a;b.cttAuthInfo&&(kH(a).cttAuthInfo=b.cttAuthInfo);xB(a+"TIMING_ACTION",a);g.EB(AH)(b.startTime,a);c={actionType:rH(a)};(d=g.xF())&&"UNDEFINED_CSN"!==d&&(c.clientScreenNonce=d);g.QH(c,a);yxa(!0,a)})()}; Gxa=function(a){g.EB(function(){Exa(a);Zwa(a);OH(a)})()}; Hxa=function(a,b,c,d){g.EB(ixa)(a,b,c,d)}; g.QH=function(a,b,c){g.EB(BH)(a,b,void 0===c?!1:c)}; SH=function(a,b,c){return g.EB(zH)(a,b,c)}; Ixa=function(a){g.EB(wxa)("above_the_fold",a,void 0)}; PH=function(a,b){return g.EB(function(){var c=nH(b);return a in c})()}; Jxa=function(a,b){return g.EB(function(){if(PH(a,b))return!1;SH(a,void 0,b);return!0})()}; TH=function(a,b,c){g.EB(function(){if(!PH("_start",c)||PH(a,c))return!1;SH(a,b,c);return!0})()}; Kxa=function(){g.EB(function(){var a=pH();requestAnimationFrame(function(){setTimeout(function(){a===pH()&&SH("ftl",void 0,void 0)},0)})})()}; Exa=function(a){PH("_start",a)&&SH("aa",void 0,a)}; UH=function(a,b,c,d){this.BN=a;this.gh=b;this.j=c;this.D=d;this.C=void 0;this.B=new Map;a.mx||(a.mx={});a.mx=Object.assign({},Lxa,a.mx)}; Mxa=function(a,b,c,d){if(void 0!==UH.instance){if(d=UH.instance,a=[a!==d.BN,b!==d.gh,c!==d.j,!1,!1,!1,void 0!==d.C],a.some(function(e){return e}))throw new g.VC("InnerTubeTransportService is already initialized",a); }else UH.instance=new UH(a,b,c,d)}; VH=function(a,b,c){var d=void 0===d?YD:d;var e=Swa(b,a.BN);if(!e)return Zf(new g.VC("Error: No request builder found for command.",b));var f=e.G(b,c,d);return f?(bH(f.input),new g.Wf(function(h){var l,m,n;return g.I(function(p){if(1==p.j)return m="cors"===(null==(l=f.du)?void 0:l.mode)?"cors":void 0,a.j.I_?(n=Nxa(a,f.config,m),p.La(2)):g.y(p,Oxa(a,f.config,m),3);2!=p.j&&(n=p.B);h(Pxa(a,f,n));g.Aa(p)})})):Zf(new g.VC("Error: Failed to build request for command.",b))}; g.WH=function(a,b,c,d,e){e=void 0===e?{Wu:{identity:YD}}:e;var f=void 0===f?!0:f;b.context||(b.context=g.fH(d,f));return new g.Wf(function(h){var l,m,n,p,q;return g.I(function(r){if(1==r.j)return l=zoa(c),m=MB(l)?"same-origin":"cors",a.j.I_?(n=Nxa(a,e,m),r.La(2)):g.y(r,Oxa(a,e,m),3);2!=r.j&&(n=r.B);var t=n;p=Aoa(zoa(c),t);q={input:p,du:Boa(p),Ip:b,config:e};h(Pxa(a,q,n));g.Aa(r)})})}; Rxa=function(a,b,c){var d;if(b&&!(null==b?0:null==(d=b.sequenceMetaData)?0:d.skipProcessing)&&a.D){d=g.v(Qxa);for(var e=d.next();!e.done;e=d.next())e=e.value,a.D[e]&&a.D[e].handleResponse(b,c)}}; Pxa=function(a,b,c){var d,e,f,h,l,m,n,p,q,r,t,u,x,B,F,G,H,O,P,Y,la,na,ua,ma,wa,ea,Ba,ba,Ua;return g.I(function(z){switch(z.j){case 1:z.La(2);break;case 3:if((d=z.B)&&!d.isExpired())return z.return(Promise.resolve(d.j()));case 2:if(!(null==(e=b)?0:null==(f=e.Ip)?0:f.context)){z.La(4);break}h=b.Ip.context;z.La(5);break;case 5:l=g.v([]),m=l.next();case 7:if(m.done){z.La(4);break}n=m.value;return g.y(z,n.ljb(h),8);case 8:m=l.next();z.La(7);break;case 4:if(null==(p=a.C)||!p.Djb(b.input,b.Ip)){z.La(11); break}return g.y(z,a.C.Kib(b.input,b.Ip),12);case 12:return q=z.B,g.AB("kevlar_process_local_innertube_responses_killswitch")||Rxa(a,q,b),z.return(q);case 11:return(u=null==(t=b.config)?void 0:t.Vi)&&a.B.has(u)&&g.AB("web_memoize_inflight_requests")?r=a.B.get(u):(x=JSON.stringify(b.Ip),G=null!=(F=null==(B=b.du)?void 0:B.headers)?F:{},b.du=Object.assign({},b.du,{headers:Object.assign({},G,c)}),H=Object.assign({},b.du),"POST"===b.du.method&&(H=Object.assign({},H,{body:x})),(null==(O=b.config)?0:O.Paa)&& SH(b.config.Paa),P=function(){return a.gh.fetch(b.input,H,b.config)},r=P(),u&&a.B.set(u,r)),g.y(z,r,13); case 13:if((Y=z.B)&&"error"in Y&&(null==(la=Y)?0:null==(na=la.error)?0:na.details))for(ua=Y.error.details,ma=g.v(ua),wa=ma.next();!wa.done;wa=ma.next())ea=wa.value,(Ba=ea["@type"])&&-1=b||!c&&d.height>=b))return d;for(b=a.length-1;0<=b;b--)if(c&&a[b].width||!c&&a[b].height)return a[b];return a[0]}; dya=function(){this.state=1;this.j=null}; fya=function(a,b,c,d,e,f){var h=void 0===h?"trayride":h;c?(a.Dc(2),g.ssa(c,function(){if(window[h])eya(a,d,h,e);else{a.Dc(3);var l=tsa(c),m=document.getElementById(l);m&&(osa(l),m.parentNode.removeChild(m));g.BF(new g.VC("Unable to load Botguard","from "+c))}},f)):b?(f=g.mf("SCRIPT"),b instanceof Sd?(f.textContent=rba(b),Mn(f)):f.textContent=b,f.nonce=le(),document.head.appendChild(f),document.head.removeChild(f),window[h]?eya(a,d,h,e):(a.Dc(4),g.BF(new g.VC("Unable to load Botguard from JS")))): g.BF(new g.VC("Unable to load VM; no url or JS provided"))}; eya=function(a,b,c,d){a.Dc(5);try{var e=new En({program:b,globalName:c,Eaa:g.AB("att_web_record_metrics")});e.wba.then(function(){a.Dc(6);d&&d(b)}); a.MR(e)}catch(f){a.Dc(7),f instanceof Error&&g.BF(f)}}; gya=function(a,b){var c=g.fI;a=void 0===a?{}:a;b=void 0===b?3E3:b;return c.fG()?Promise.race([new Promise(function(d,e){setTimeout(function(){setTimeout(function(){setTimeout(function(){e(Error("Timed out waiting for snapshot"))},0)},0)},b)}), new Promise(function(d){c.fG()?c.E0({uv:a}).then(d):d(null)})]):Promise.resolve(null)}; jya=function(){if(!g.AB("disable_biscotti_fetch_for_ad_blocker_detection")&&!g.AB("disable_biscotti_fetch_entirely_for_all_web_clients")&&Loa()){var a=g.yB("PLAYER_VARS",{});if("1"!=g.ld(a,"privembed",!1)&&!Poa(a)){var b=function(){hya=!0;"google_ad_status"in window?xB("DCLKSTAT",1):xB("DCLKSTAT",2)}; try{g.ssa("//static.doubleclick.net/instream/ad_status.js",b)}catch(c){}iya.push(g.tu.Hi(function(){if(!(hya||"google_ad_status"in window)){try{if(b){var c=""+g.db(b),d=usa[c];d&&g.DE(d)}}catch(e){}hya=!0;xB("DCLKSTAT",3)}},5E3))}}}; kya=function(){var a=Number(g.yB("DCLKSTAT",0));return isNaN(a)?0:a}; gI=function(){var a=g.Ta("yt.abuse.playerAttLoader");return a&&["bgvma","bgvmb","bgvmc"].every(function(b){return b in a})?a:null}; hI=function(){dya.apply(this,arguments)}; iI=function(){}; lya=function(a,b,c){for(var d=!1,e=g.v(a.Cl.entries()),f=e.next();!f.done;f=e.next())f=g.v(f.value).next().value,"SLOT_TYPE_PLAYER_BYTES"===f.slotType&&"core"===f.bb&&(d=!0);if(d){a:if(!c){a=g.v(a.Cl.entries());for(c=a.next();!c.done;c=a.next())if(d=g.v(c.value),c=d.next().value,d=d.next().value,"SLOT_TYPE_IN_PLAYER"===c.slotType&&"core"===c.bb){c=d.layoutId;break a}c=void 0}c?b.wO(c):HG("No triggering layout ID available when attempting to mute.")}}; jI=function(a,b){this.qj=a;this.Xk=b}; kI=function(){}; lI=function(){}; oI=function(a){g.J.call(this);var b=this;this.Id=a;this.Bf=new Map;this.j=new Map;mI(this,"commandExecutorCommand",function(c,d,e){b.Yg(c.commands,d,e)}); nI(this,"commandExecutorCommand",function(c,d,e){mya(b,c.commands,d,e)}); mI(this,"clickTrackingParams",function(){}); nI(this,"clickTrackingParams",function(){})}; nya=function(a,b){mI(a,b.vp(),function(c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;b.handle(c,d,e)})}; oya=function(a,b){nI(a,b.vp(),function(c,d,e){b.ut(c,d,e)})}; mI=function(a,b,c){a.isDisposed();a.Bf.get(b)&&g.AF(Error("Extension name "+b+" already registered"));a.Bf.set(b,c)}; nI=function(a,b,c){a.isDisposed();a.j.get(b)&&g.AF(Error("Extension name "+b+" already registered"));a.j.set(b,c)}; mya=function(a,b,c,d){b=void 0===b?[]:b;a.isDisposed();var e=[],f=[],h=g.v(b);for(b=h.next();!b.done;b=h.next())b=b.value,g.U(b,pya)||g.U(b,qya)?e.push(b):f.push(b);e=g.v(e);for(b=e.next();!b.done;b=e.next())pI(a,b.value,c,d);f=g.v(f);for(b=f.next();!b.done;b=f.next())pI(a,b.value,c,d)}; rya=function(a,b){a.Id.get().Qa("innertubeCommand",{openPopupAction:b})}; sya=function(a,b){a.Id.get().Qa("innertubeCommand",{confirmDialogEndpoint:b})}; pI=function(a,b,c,d){a.isDisposed();b.loggingUrls&&tya(a,"loggingUrls",b.loggingUrls,c,d);b=g.v(Object.entries(b));for(var e=b.next();!e.done;e=b.next()){var f=g.v(e.value);e=f.next().value;f=f.next().value;"openPopupAction"===e?rya(a,f):"confirmDialogEndpoint"===e?sya(a,f):uya.hasOwnProperty(e)||tya(a,e,f,c,d)}}; vya=function(a,b,c,d,e){e=void 0===e?{}:e;if((a=a.Bf.get(b))&&"function"===typeof a)try{a(c,d,e)}catch(f){g.AF(f)}else b=new g.VC("Unhandled field",b),g.BF(b)}; tya=function(a,b,c,d,e){if((a=a.j.get(b))&&"function"===typeof a)try{a(c,d,e)}catch(f){g.AF(f)}else b=new g.VC("Unhandled field",b),g.BF(b)}; qI=function(a,b,c){this.Un=a;this.naa=b;this.Pa=c}; rI=function(a){this.value=a}; sI=function(a){this.value=a}; wya=function(a){this.value=a}; tI=function(a){this.value=a}; uI=function(a){this.value=a}; xya=function(){rI.apply(this,arguments)}; yya=function(a){this.value=a}; zya=function(a){this.value=a}; Aya=function(a){this.value=a}; Bya=function(a){this.value=a}; vI=function(a){this.value=a}; wI=function(a){this.value=a}; xI=function(a){this.value=a}; yI=function(a){this.value=a}; zI=function(a){this.value=a}; AI=function(){rI.apply(this,arguments)}; BI=function(a){this.value=a}; CI=function(a){this.value=a}; DI=function(a){this.value=a}; EI=function(a){this.value=a}; FI=function(a){this.value=a}; Cya=function(a){this.value=a}; GI=function(a){this.value=a}; Dya=function(a){this.value=a}; Eya=function(a){this.value=a}; Fya=function(a){this.value=a}; Gya=function(a){this.value=a}; HI=function(a){this.value=a}; II=function(a){this.value=a}; JI=function(a){this.value=a}; Hya=function(a){this.value=a}; KI=function(a){this.value=a}; LI=function(a){this.value=a}; MI=function(a){this.value=a}; Iya=function(a){this.value=a}; NI=function(a){this.value=a}; OI=function(a){this.value=a}; PI=function(a){this.value=a}; QI=function(a){this.value=a}; RI=function(a){this.value=a}; SI=function(a){this.value=a}; TI=function(a){this.value=a}; UI=function(a){this.value=a}; VI=function(a){this.value=a}; Jya=function(a){this.value=a}; WI=function(a){this.value=a}; XI=function(a){this.value=a}; YI=function(a){this.value=a}; Kya=function(a){this.value=a}; ZI=function(a){this.value=a}; $I=function(a){this.value=a}; aJ=function(a){this.value=a}; bJ=function(){rI.apply(this,arguments)}; Lya=function(a){this.value=a}; cJ=function(){rI.apply(this,arguments)}; dJ=function(){rI.apply(this,arguments)}; Mya=function(){rI.apply(this,arguments)}; eJ=function(){rI.apply(this,arguments)}; Nya=function(a){this.value=a}; fJ=function(a){this.value=a}; Oya=function(a){this.value=a}; hJ=function(a,b,c){if(c&&!c.includes(a.layoutType))return!1;b=g.v(b);for(c=b.next();!c.done;c=b.next())if(!gJ(a.Ca,c.value))return!1;return!0}; iJ=function(){return""}; Pya=function(a,b){switch(a){case "TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL":return 0;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED":return 1;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED":return 2;case "TRIGGER_CATEGORY_SLOT_EXPIRATION":return 3;case "TRIGGER_CATEGORY_SLOT_FULFILLMENT":return 4;case "TRIGGER_CATEGORY_SLOT_ENTRY":return 5;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED":return 6;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED":return 7;default:return b(a),8}}; jJ=function(a,b,c,d){d=void 0===d?!1:d;ub.call(this,a);this.Fk=c;this.Uu=d;this.args=[];b&&this.args.push(b)}; kJ=function(a,b,c,d){d=void 0===d?!1:d;ub.call(this,a);this.Fk=c;this.Uu=d;this.args=[];b&&this.args.push(b)}; lJ=function(a){var b=new Map;a.forEach(function(c){b.set(c.getType(),c)}); this.j=b}; gJ=function(a,b){return a.j.has(b)}; mJ=function(a,b){a=a.j.get(b);if(void 0!==a)return a.get()}; nJ=function(a){return Array.from(a.j.keys())}; oJ=function(a,b,c){if(c&&c!==a.slotType)return!1;b=g.v(b);for(c=b.next();!c.done;c=b.next())if(!gJ(a.Ca,c.value))return!1;return!0}; Rya=function(a){var b;return(null==(b=Qya.get(a))?void 0:b.ox)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"}; Tya=function(a,b){var c={type:b.slotType,controlFlowManagerLayer:Sya.get(b.bb)||"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"};b.slotEntryTrigger&&(c.entryTriggerType=b.slotEntryTrigger.triggerType);1!==b.slotPhysicalPosition&&(c.slotPhysicalPosition=b.slotPhysicalPosition);if(a){c.debugData={slotId:b.slotId};if(a=b.slotEntryTrigger)c.debugData.slotEntryTriggerData=pJ(a);a=b.slotFulfillmentTriggers;c.debugData.fulfillmentTriggerData=[];a=g.v(a);for(var d=a.next();!d.done;d=a.next())c.debugData.fulfillmentTriggerData.push(pJ(d.value)); b=b.slotExpirationTriggers;c.debugData.expirationTriggerData=[];b=g.v(b);for(a=b.next();!a.done;a=b.next())c.debugData.expirationTriggerData.push(pJ(a.value))}return c}; Uya=function(a,b){var c={type:b.layoutType,controlFlowManagerLayer:Sya.get(b.bb)||"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"};a&&(c.debugData={layoutId:b.layoutId});return c}; pJ=function(a,b){var c={type:a.triggerType};null!=b&&(c.category=b);null!=a.triggeringSlotId&&(c.triggerSourceData||(c.triggerSourceData={}),c.triggerSourceData.associatedSlotId=a.triggeringSlotId);null!=a.triggeringLayoutId&&(c.triggerSourceData||(c.triggerSourceData={}),c.triggerSourceData.associatedLayoutId=a.triggeringLayoutId);return c}; Vya=function(a,b,c,d){b={opportunityType:b};a&&(d||c)&&(d=g.lr(d||[],function(e){return Tya(a,e)}),b.debugData=Object.assign({},c&&0=b?b:0;this.j=a=a.B.length+1||0>c)HG("Unexpected target sublayout index",a.slot,a.layout,{targetSubLayoutIndex:c});else{a.j=c;if(c===a.B.length){var e=a.Xa.get().lf(1).clientPlaybackNonce;CK(a.D,a.layout)}else e=a.B[c].wb().layoutId;a.Pc.get().finishSegmentByCpn(b.layoutId,e)}})}; XAa=function(a,b,c,d){BK(a,b,c,"skipped",function(){$Aa(a,d)})}; BK=function(a,b,c,d,e){if(!a.K){var f=a.B[a.j];f?(f.wb().layoutId!==c.layoutId&&HG("SubLayout mismatch in exitSubLayout",b,c,{exitingSubLayout:c.layoutId,activeSubLayout:f.wb().layoutId}),a.K=!0,f.sf(f.wb(),d),gza(a.C,b,c,d),a.K=!1,a.G=!1,a.Z?(a.Z(),bBa(a.Tc.get())):e()):HG("No active adapter when exitSubLayout in PlayerBytesVodCompositeLayoutRenderingAdapter. This should never happen.",b,c)}}; $Aa=function(a,b){a.j===a.B.length-1?(a.j++,CK(a.D,a.layout),bBa(a.Tc.get())):cBa(a,b)}; cBa=function(a,b){if(-1===a.j&&(a.callback.Kc(a.slot,a.layout),0=1.3*Math.floor(16*f/9)||a>=1.3*f)return b;b=e}return"tiny"}; OK=function(a,b,c){c=void 0===c?{}:c;this.id=a;this.mimeType=b;0=b)return c}catch(d){}return-1}; hL=function(a,b){return 0<=gL(a,b)}; sBa=function(a,b){if(!a)return NaN;b=gL(a,b);return 0<=b?a.start(b):NaN}; iL=function(a,b){if(!a)return NaN;b=gL(a,b);return 0<=b?a.end(b):NaN}; jL=function(a){return a&&a.length?a.end(a.length-1):NaN}; kL=function(a,b){a=iL(a,b);return 0<=a?a-b:0}; lL=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 eL(d,e)}; mL=function(a,b,c,d){g.TF.call(this);var e=this;this.Md=a;this.start=b;this.end=c;this.isActive=d;this.appendWindowStart=0;this.appendWindowEnd=Infinity;this.timestampOffset=0;this.aX={error:function(){!e.isDisposed()&&e.isActive&&e.oa("error",e)}, updateend:function(){!e.isDisposed()&&e.isActive&&e.oa("updateend",e)}}; g.UF(this.Md,this.aX);this.gG=this.isActive}; nL=function(a,b,c,d,e,f){g.TF.call(this);var h=this;this.hc=a;this.hh=b;this.id=c;this.containerType=d;this.ub=e;this.fh=f;this.mP=this.iE=this.Kf=null;this.aH=!1;this.appendWindowStart=this.timestampOffset=0;this.RM=eL([],[]);this.LC=!1;this.hE=[];this.jB=tBa?[]:void 0;this.Cd=function(m){return h.oa(m.type,h)}; var l;if(null==(l=this.hc)?0:l.addEventListener)this.hc.addEventListener("updateend",this.Cd),this.hc.addEventListener("error",this.Cd)}; oL=function(){return window.SourceBuffer?!!SourceBuffer.prototype.changeType:!1}; pL=function(a,b){this.resource=a;this.j=void 0===b?!1:b;this.B=!1}; qL=function(a,b,c){c=void 0===c?!1:c;g.J.call(this);this.mediaElement=a;this.Ua=b;this.isView=c;this.K=0;this.D=!1;this.G=!0;this.Y=0;this.callback=null;this.Z=!1;this.Ua||(this.hh=this.mediaElement.Ab());this.events=new g.IK(this);g.L(this,this.events);this.C=new pL(this.Ua?window.URL.createObjectURL(this.Ua):this.hh.webkitMediaSourceURL,!0);a=this.Ua||this.hh;JC(this.events,a,["sourceopen","webkitsourceopen"],this.z$);JC(this.events,a,["sourceclose","webkitsourceclose"],this.y$);this.N={updateend:this.X2}}; uBa=function(){return!!(window.MediaSource||rL&&window.ManagedMediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)}; vBa=function(a,b){sL(a)?g.Uf(function(){b(a)}):a.callback=b}; xBa=function(a,b,c){if(wBa){var d;tL(a.mediaElement,{l:"mswssb",sr:null==(d=a.mediaElement.ra)?void 0:uL(d)},!1);g.UF(b,a.N,a);g.UF(c,a.N,a)}a.j=b;a.B=c;g.L(a,b);g.L(a,c)}; yBa=function(a,b,c,d){d=b.mimeType+(void 0===d?"":d);var e=c.mimeType;b=b.ub;c=c.ub;var f,h=null==(f=a.Ua)?void 0:f.addSourceBuffer(e),l;f="fakesb"===d.split(";")[0]?void 0:null==(l=a.Ua)?void 0:l.addSourceBuffer(d);a.hh&&(a.hh.webkitSourceAddId("0",e),a.hh.webkitSourceAddId("1",d));l=new nL(h,a.hh,"0",iBa(e),c,!1);d=new nL(f,a.hh,"1",iBa(d),b,!0);xBa(a,l,d)}; vL=function(a){return!!a.j||!!a.B}; sL=function(a){try{return"open"===wL(a)}catch(b){return!1}}; wL=function(a){if(a.Ua)return a.Ua.readyState;switch(a.hh.webkitSourceState){case a.hh.SOURCE_OPEN:return"open";case a.hh.SOURCE_ENDED:return"ended";default:return"closed"}}; zBa=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)||rL&&window.ManagedMediaSource}; ABa=function(a){sL(a)&&(a.Ua?a.Ua.endOfStream():a.hh.webkitSourceEndOfStream(a.hh.EOS_NO_ERROR))}; BBa=function(a,b,c,d){if(!a.j||!a.B)return null;var e=a.j.isView()?a.j.Md:a.j,f=a.B.isView()?a.B.Md:a.B,h=new qL(a.mediaElement,a.Ua,!0);h.C=a.C;xBa(h,new mL(e,b,c,d),new mL(f,b,c,d));sL(a)||a.j.cq(a.j.Rc());return h}; CBa=function(a){var b;null==(b=a.j)||b.Ry();var c;null==(c=a.B)||c.Ry();a.G=!1}; xL=function(){var a=this;this.NZ=this.UZ=paa;this.promise=new g.Wf(function(b,c){a.UZ=b;a.NZ=c})}; yL=function(){g.J.call(this);this.vI=!1;this.resource=null;this.N=this.K=!1;this.D=new g.Ed;this.ra=null;g.L(this,this.D)}; DBa=function(a){a=a.GD();return 1>a.length?NaN:a.end(a.length-1)}; EBa=function(a){!a.B&&uBa()&&(a.C?a.C.then(function(){return EBa(a)}):a.Gf()||(a.B=a.Kq()))}; FBa=function(a){a.B&&(a.B.dispose(),a.B=void 0)}; tL=function(a,b,c){var d;(null==(d=a.ra)?0:d.Nc())&&a.ra.va("rms",b,void 0===c?!1:c)}; GBa=function(a,b,c){a.isPaused()||a.getCurrentTime()>b||10=.25*d||c)&&a.Sc("first_quartile"),(b>=.5*d||c)&&a.Sc("midpoint"),(b>=.75*d||c)&&a.Sc("third_quartile"),a=a.zaa,b*=1E3,c=a.G())){for(;a.De&&h.ZF(p,e-d);return p}; gCa=function(a,b){var c=mJ(b.Ca,"metadata_type_sodar_extension_data");if(c)try{Aza(0,c)}catch(d){HG("Unexpected error when loading Sodar",a,b,{error:d})}}; iCa=function(a,b,c,d,e,f){hCa(a,b,new g.IG(c,new g.AL),d,e,!1,f)}; hCa=function(a,b,c,d,e,f,h){f=void 0===f?!0:f;dBa(c)&&DK(e,0,null)&&(!pK(a,"impression")&&h&&h(),a.Sc("impression"));pK(a,"impression")&&(g.LG(c,4)&&!g.LG(c,2)&&a.yh("pause"),0>KG(c,4)&&!(0>KG(c,2))&&a.yh("resume"),g.LG(c,16)&&.5<=e&&a.yh("seek"),f&&g.LG(c,2)&&jCa(a,c.state,b,d,e))}; jCa=function(a,b,c,d,e,f,h){if(pK(a,"impression")){var l=1>=Math.abs(d-e);kCa(a,b,l?d:e,c,d,f,h&&l);l&&a.Sc("complete")}}; kCa=function(a,b,c,d,e,f,h){oK(a,1E3*c,h);0>=e||0>=c||(null==b?0:g.JG(b,16))||(null==b?0:g.JG(b,32))||(DK(c,.25*e,d)&&(f&&!pK(a,"first_quartile")&&f("first"),a.Sc("first_quartile")),DK(c,.5*e,d)&&(f&&!pK(a,"midpoint")&&f("second"),a.Sc("midpoint")),DK(c,.75*e,d)&&(f&&!pK(a,"third_quartile")&&f("third"),a.Sc("third_quartile")))}; lCa=function(a,b){pK(a,"impression")&&a.yh(b?"fullscreen":"end_fullscreen")}; mCa=function(a){pK(a,"impression")&&a.yh("clickthrough")}; nCa=function(a){a.yh("active_view_measurable")}; oCa=function(a){pK(a,"impression")&&!pK(a,"seek")&&a.yh("active_view_fully_viewable_audible_half_duration")}; pCa=function(a){pK(a,"impression")&&!pK(a,"seek")&&a.yh("active_view_viewable")}; qCa=function(a){pK(a,"impression")&&!pK(a,"seek")&&a.yh("audio_audible")}; rCa=function(a){pK(a,"impression")&&!pK(a,"seek")&&a.yh("audio_measurable")}; sCa=function(a,b,c,d,e,f,h,l,m,n,p,q){this.callback=a;this.slot=b;this.layout=c;this.Pc=d;this.qb=e;this.Ja=f;this.ue=h;this.Hb=l;this.rf=m;this.Ha=n;this.Pa=p;this.Xa=q;this.CI=!0;this.Yc=this.Lc=null;this.adCpn=void 0}; tCa=function(a,b,c){var d;a.Pa.get().ji("ads_qua","cpn."+mJ(a.layout.Ca,"metadata_type_content_cpn")+";acpn."+(null==(d=a.Xa.get().lf(2))?void 0:d.clientPlaybackNonce)+";qt."+b+";clr."+c)}; uCa=function(a,b){var c,d;a.Pa.get().ji("ads_imp","cpn."+mJ(a.layout.Ca,"metadata_type_content_cpn")+";acpn."+(null==(c=a.Xa.get().lf(2))?void 0:c.clientPlaybackNonce)+";clr."+b+";skp."+!!g.U(null==(d=mJ(a.layout.Ca,"metadata_type_instream_ad_player_overlay_renderer"))?void 0:d.skipOrPreviewRenderer,SL))}; vCa=function(a){return{enterMs:mJ(a.Ca,"metadata_type_layout_enter_ms"),exitMs:mJ(a.Ca,"metadata_type_layout_exit_ms")}}; wCa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t){QL.call(this,a,b,c,d,e,h,l,m,n,q);this.ue=f;this.rf=p;this.Hb=r;this.Ha=t;this.Yc=this.Lc=null}; xCa=function(a,b){var c;a.Pa.get().ji("ads_imp","acpn."+(null==(c=a.Xa.get().lf(2))?void 0:c.clientPlaybackNonce)+";clr."+b)}; yCa=function(a,b,c){var d;a.Pa.get().ji("ads_qua","cpn."+mJ(a.layout.Ca,"metadata_type_content_cpn")+";acpn."+(null==(d=a.Xa.get().lf(2))?void 0:d.clientPlaybackNonce)+";qt."+b+";clr."+c)}; zCa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t,u,x,B,F,G,H){this.Ie=a;this.Zd=b;this.B=c;this.Xa=d;this.Pc=e;this.Ja=f;this.Pa=h;this.ue=l;this.Ef=m;this.Hb=n;this.rf=p;this.Ae=q;this.Ac=r;this.Tc=t;this.Id=u;this.eg=x;this.Ub=B;this.qg=F;this.Ha=G;this.j=H}; TL=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t,u,x,B){this.Ie=a;this.Zd=b;this.j=c;this.Pa=d;this.Hb=e;this.rf=f;this.Ae=h;this.Xa=l;this.Ja=m;this.Ac=n;this.Tc=p;this.Id=q;this.eg=r;this.Ub=t;this.qg=u;this.Ha=x;this.Pc=B}; ACa=function(a,b,c,d){SF.call(this,"survey-interstitial",a,b,c,d)}; UL=function(a,b,c,d,e){eK.call(this,c,a,b,d);this.Pa=e;a=mJ(b.Ca,"metadata_type_ad_placement_config");this.qb=new lK(b.Tb,e,a,b.layoutId)}; VL=function(a){return Math.round(a.width)+"x"+Math.round(a.height)}; CCa=function(a,b,c){c=void 0===c?BCa:c;c.widtha.width*a.height*.2)return{hL:3,cG:501,errorMessage:"ad("+VL(c)+") to container("+VL(a)+") ratio exceeds limit."};if(c.height>a.height/3-b)return{hL:3,cG:501,errorMessage:"ad("+VL(c)+") covers container("+VL(a)+") center."}}; DCa=function(a,b){var c=mJ(a.Ca,"metadata_type_ad_placement_config");return new lK(a.Tb,b,c,a.layoutId)}; WL=function(a){return mJ(a.Ca,"metadata_type_invideo_overlay_ad_renderer")}; ECa=function(a,b,c,d){SF.call(this,"invideo-overlay",a,b,c,d);this.interactionLoggingClientData=d}; XL=function(a,b,c,d,e,f,h,l,m,n,p,q){eK.call(this,f,a,b,e);this.Pa=c;this.D=h;this.Ja=l;this.Ub=m;this.Ha=n;this.K=p;this.G=q;this.qb=DCa(b,c)}; FCa=function(){var a=["metadata_type_invideo_overlay_ad_renderer"];mK().forEach(function(b){a.push(b)}); return{ge:a,mf:["LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY","LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY"]}}; YL=function(a,b,c,d,e,f,h,l,m,n,p,q,r){eK.call(this,f,a,b,e);this.Pa=c;this.D=h;this.N=l;this.Ja=m;this.Ub=n;this.Ha=p;this.K=q;this.G=r;this.qb=DCa(b,c)}; GCa=function(){for(var a=["metadata_type_invideo_overlay_ad_renderer"],b=g.v(mK()),c=b.next();!c.done;c=b.next())a.push(c.value);return{ge:a,mf:["LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY"]}}; ZL=function(a){this.Ja=a;this.j=!1}; HCa=function(a,b,c){SF.call(this,"survey",a,{},b,c)}; ICa=function(a,b,c,d,e,f,h){eK.call(this,c,a,b,d);this.D=e;this.Ja=f;this.Ha=h}; JCa=function(a,b,c,d,e,f,h,l,m,n){this.zc=a;this.Ja=b;this.Pa=c;this.D=d;this.Hb=e;this.B=f;this.C=h;this.Ub=l;this.Ha=m;this.j=n}; KCa=function(a,b,c,d,e,f,h,l,m,n){this.zc=a;this.Ja=b;this.Pa=c;this.D=d;this.Hb=e;this.B=f;this.C=h;this.Ub=l;this.Ha=m;this.j=n}; $L=function(a,b,c,d,e,f,h,l,m){wK.call(this,a,b,c,d,e,f,h,m);this.Rm=l}; LCa=function(){var a=PAa();a.ge.push("metadata_type_ad_info_ad_metadata");return a}; MCa=function(a,b,c,d,e,f){this.zc=a;this.Ja=b;this.Pa=c;this.B=d;this.Rm=e;this.j=f}; NCa=function(a,b,c,d,e,f,h){this.zc=a;this.Ja=b;this.Pa=c;this.B=d;this.Rm=e;this.j=f;this.Ha=h}; aM=function(a,b){this.slotId=b;this.triggerType="TRIGGER_TYPE_AD_BREAK_STARTED";this.triggerId=a(this.triggerType)}; bM=function(a,b){this.j=a;this.B=b.length;this.adBreakLengthSeconds=b.reduce(function(d,e){return d+e},0); var c=0;for(a+=1;au?new kJ("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.",{offsetStartMs:d,offsetEndMs:u},"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START",u===c&&d-500<=u):new cv(d,u),a=c instanceof kJ?c:new kM(iJ,b,c,!1,a.id)):a=new kJ("Not able to create MediaTimeRangeTrigger")}else if(a.contentVideoIdEndedTrigger)a=a.contentVideoIdEndedTrigger?new eM(iJ,b,!1,a.id):new kJ("Not able to create ContentVideoIdEndedTrigger"); else{if(a.layoutIdEnteredTrigger){var x;b=null!=(x=a.layoutIdEnteredTrigger)&&x.triggeringLayoutId?new gM(iJ,a.layoutIdEnteredTrigger.triggeringLayoutId,a.id):new kJ("Not able to create LayoutIdEnteredTrigger")}else b=new kJ("Not able to convert an AdsControlflowTrigger.");a=b}b=a}a=b}b=a}a=b}b=a}a=b}b=a}a=b}return a}; EDa=function(a,b,c,d,e,f,h,l){return null===b?new kJ("Invalid slot type when get discovery companion fromActionCompanionAdRenderer",{slotType:b,ActionCompanionAdRenderer:d}):[DDa(a,b,h,f,function(m){var n=m.slotId;m=l(m);var p=d.adLayoutLoggingData,q=new lJ([new sI(d),new vI(e)]);n=QJ(c.fb.get(),"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",n);var r={layoutId:n,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",bb:"core"};return{layoutId:n,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",Tb:new Map, layoutExitNormalTriggers:[new mM(c.j,h)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:q,uc:m(r),adLayoutLoggingData:p}})]}; IDa=function(a,b,c,d,e,f){if(!f)for(b=g.v(b),f=b.next();!f.done;f=b.next())f=f.value,fN(a,f.renderer,f.config.adPlacementConfig.kind);a=Array.from(a.values()).filter(function(p){return FDa(p)}); b=[];f=g.v(a);for(var h=f.next(),l={};!h.done;l={Hs:l.Hs},h=f.next()){l.Hs=h.value;h=g.v(l.Hs.zM);for(var m=h.next(),n={};!m.done;n={Rl:n.Rl},m=h.next())n.Rl=m.value,m=function(p,q){return function(r){return p.Rl.mN(r,q.Hs.instreamVideoAdRenderer.elementId,p.Rl.yM)}}(n,l),n.Rl.isContentVideoCompanion?b.push(GDa(c,d,e,l.Hs.instreamVideoAdRenderer.elementId,n.Rl.associatedCompositePlayerBytesLayoutId,n.Rl.adSlotLoggingData,m)):1=l?function(){return new kJ("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:h})}:function(m,n){var p=sEa(m,c,d,function(q){var r=n(q),t=q.slotId; q=kEa(h);t=QJ(e.fb.get(),"LAYOUT_TYPE_SURVEY",t);var u={layoutId:t,layoutType:"LAYOUT_TYPE_SURVEY",bb:"core"},x=new iM(e.j,d),B=new oM(e.j,t),F=new vM(e.j,t),G=new WCa(e.j);return{layoutId:t,layoutType:"LAYOUT_TYPE_SURVEY",Tb:new Map,layoutExitNormalTriggers:[x,G],layoutExitSkipTriggers:[B],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[F],Zc:[],bb:"core",Ca:new lJ([new Eya(h),new vI(b),new $I(l/1E3),new cJ(q)]),uc:r(u),adLayoutLoggingData:h.adLayoutLoggingData}}); m=qEa(a,c,p.slotId,d,e,m,n);return m instanceof kJ?m:[p].concat(g.ra(m))}}; BEa=function(a,b,c,d,e,f,h){h=void 0===h?!1:h;var l=[];try{var m=[];if(c.renderer.linearAdSequenceRenderer)var n=function(x){x=uEa(x.slotId,c,b,e(x),d,f,h);m=x.Mba;return x.l5}; else if(c.renderer.instreamVideoAdRenderer)n=function(x){var B=x.slotId;x=e(x);var F=h,G=c.config.adPlacementConfig,H=vEa(G),O=H.YV,P=H.cW;H=c.renderer.instreamVideoAdRenderer;var Y;if(null==H?0:null==(Y=H.playerOverlay)?0:Y.instreamSurveyAdRenderer)throw new TypeError("Survey overlay should not be set on single video.");var la=wEa(H,F);Y=Math.min(O+1E3*la.videoLengthSeconds,P);F=new bM(0,[la.videoLengthSeconds]);P=la.videoLengthSeconds;var na=la.playerVars,ua=la.instreamAdPlayerOverlayRenderer,ma= la.adVideoId,wa=xEa(c),ea=la.Tb;la=la.WU;var Ba=null==H?void 0:H.adLayoutLoggingData;H=null==H?void 0:H.sodarExtensionData;B=QJ(b.fb.get(),"LAYOUT_TYPE_MEDIA",B);var ba={layoutId:B,layoutType:"LAYOUT_TYPE_MEDIA",bb:"core"};return{layoutId:B,layoutType:"LAYOUT_TYPE_MEDIA",Tb:ea,layoutExitNormalTriggers:[new QCa(b.j)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:new lJ([new BI(d),new NI(P),new OI(na),new RI(O),new SI(Y),ua&&new CI(ua), new vI(G),new AI(ma),new wI(F),new WI(wa),H&&new QI(H),new KI({current:null}),new UI({}),new eJ(la)].filter(yEa)),uc:x(ba),adLayoutLoggingData:Ba}}; else throw new TypeError("Expected valid AdPlacementRenderer for DAI");var p=zEa(a,d,c.adSlotLoggingData,n);l.push(p);for(var q=g.v(m),r=q.next();!r.done;r=q.next()){var t=r.value,u=t(a,e);if(u instanceof kJ)return u;l.push.apply(l,g.ra(u))}}catch(x){return new kJ(x,{errorMessage:x.message,AdPlacementRenderer:c,numberOfSurveyRenderers:AEa(c)})}return l}; AEa=function(a){a=(a.renderer.linearAdSequenceRenderer||{}).linearAds;return null!=a&&a.length?a.filter(function(b){var c,d;return null!=(null==(c=g.U(b,zM))?void 0:null==(d=c.playerOverlay)?void 0:d.instreamSurveyAdRenderer)}).length:0}; uEa=function(a,b,c,d,e,f,h){var l=b.config.adPlacementConfig,m=vEa(l),n=m.YV,p=m.cW;m=(b.renderer.linearAdSequenceRenderer||{}).linearAds;if(null==m||!m.length)throw new TypeError("Expected linear ads");var q=[],r={F_:n,G_:0,Jba:q};m=m.map(function(u){return CEa(a,u,r,c,d,l,e,p,h)}).map(function(u,x){x=new bM(x,q); return u(x)}); var t=m.map(function(u){return u.m5}); return{l5:DEa(c,a,n,t,l,xEa(b),d,p,f),Mba:m.map(function(u){return u.Lba})}}; CEa=function(a,b,c,d,e,f,h,l,m){var n=wEa(g.U(b,zM),m),p=c.F_,q=c.G_,r=Math.min(p+1E3*n.videoLengthSeconds,l);c.F_=r;c.G_++;c.Jba.push(n.videoLengthSeconds);var t,u,x=null==(t=g.U(b,zM))?void 0:null==(u=t.playerOverlay)?void 0:u.instreamSurveyAdRenderer;if("nPpU29QrbiU"===n.adVideoId&&null==x)throw new TypeError("Survey slate media has no survey overlay");return function(B){var F=n.playerVars;2<=B.B&&(F.slot_pos=B.j);F.autoplay="1";var G,H;F=n.videoLengthSeconds;var O=n.playerVars,P=n.Tb,Y=n.WU,la= n.instreamAdPlayerOverlayRenderer,na=n.adVideoId,ua=null==(G=g.U(b,zM))?void 0:G.adLayoutLoggingData;G=null==(H=g.U(b,zM))?void 0:H.sodarExtensionData;H=QJ(d.fb.get(),"LAYOUT_TYPE_MEDIA",a);var ma={layoutId:H,layoutType:"LAYOUT_TYPE_MEDIA",bb:"adapter"};B={layoutId:H,layoutType:"LAYOUT_TYPE_MEDIA",Tb:P,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"adapter",Ca:new lJ([new BI(h),new NI(F),new OI(O),new RI(p),new SI(r), new TI(q),new KI({current:null}),la&&new CI(la),new vI(f),new AI(na),new wI(B),G&&new QI(G),x&&new Mya(x),new UI({}),new eJ(Y)].filter(yEa)),uc:e(ma),adLayoutLoggingData:ua};F=tEa(g.U(b,zM),f,h,B.layoutId,d);return{m5:B,Lba:F}}}; wEa=function(a,b){if(!a)throw new TypeError("Expected instream video ad renderer");if(!a.playerVars)throw new TypeError("Expected player vars in url encoded string");var c=IB(a.playerVars),d=Number(c.length_seconds);if(isNaN(d))throw new TypeError("Expected valid length seconds in player vars");var e=Number(a.trimmedMaxNonSkippableAdDurationMs);d=isNaN(e)?d:Math.min(d,e/1E3);e=a.playerOverlay||{};e=void 0===e.instreamAdPlayerOverlayRenderer?null:e.instreamAdPlayerOverlayRenderer;var f=c.video_id; f||(f=(f=a.externalVideoId)?f:void 0);if(!f)throw new TypeError("Expected valid video id in IVAR");if(b&&0===d){var h;b=null!=(h=EEa[f])?h:d}else b=d;return{playerVars:c,videoLengthSeconds:b,instreamAdPlayerOverlayRenderer:e,adVideoId:f,Tb:a.pings?kK(a.pings):new Map,WU:jK(a.pings)}}; xEa=function(a){a=Number(a.driftRecoveryMs);return isNaN(a)||0>=a?null:a}; vEa=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{YV:b,cW:a}}; GEa=function(a,b,c,d,e,f,h,l){var m=c.pings;return m?[FEa(a,f,e,function(n){var p=n.slotId;n=l(n);var q=c.adLayoutLoggingData;p=QJ(b.fb.get(),"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",p);var r={layoutId:p,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",bb:"core"};return{layoutId:p,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",Tb:kK(m),layoutExitNormalTriggers:[new mM(b.j,f)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:new lJ([new vI(d), new eJ(jK(m)),new NI(h/1E3)]),uc:n(r),adLayoutLoggingData:q}})]:new kJ("VideoAdTrackingRenderer without VideoAdTracking pings filled.",{videoAdTrackingRenderer:c})}; IEa=function(a,b,c,d,e,f,h,l){a=HEa(a,c,f,h,d,function(m){var n=m.slotId;m=l(m);n=QJ(b.fb.get(),"LAYOUT_TYPE_FORECASTING",n);var p={layoutId:n,layoutType:"LAYOUT_TYPE_FORECASTING",bb:"core"},q=new Map,r=e.impressionUrls;r&&q.set("impression",r);return{layoutId:n,layoutType:"LAYOUT_TYPE_FORECASTING",Tb:q,layoutExitNormalTriggers:[new lM(b.j,n)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:new lJ([new Jya(e),new vI(c)]),uc:m(p)}}); return a instanceof kJ?a:[a]}; KEa=function(a,b,c,d,e,f,h){return[JEa(a,f,d,function(l){var m=l.slotId;l=h(l);m=QJ(b.fb.get(),"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",m);var n={layoutId:m,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",bb:"core"};return{layoutId:m,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Tb:new Map,layoutExitNormalTriggers:[new mM(b.j,f)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:new lJ([new CI(e),new vI(c)]),uc:l(n),adLayoutLoggingData:e.adLayoutLoggingData}})]}; OEa=function(a,b,c,d,e,f,h,l){a=LEa(a,c,f,h,d,function(m,n){var p=m.slotId;m=l(m);var q=e.contentSupportedRenderer;q?q.textOverlayAdContentRenderer?(q=QJ(b.fb.get(),"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",p),n=MEa(b,q,"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",e,c,m,NEa(b,n,p))):q.enhancedTextOverlayAdContentRenderer?(q=QJ(b.fb.get(),"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",p),n=MEa(b,q,"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",e,c,m,NEa(b,n,p))):q.imageOverlayAdContentRenderer?(q=QJ(b.fb.get(),"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY", p),n=NEa(b,n,p),n.push(new ZCa(b.j,q)),n=MEa(b,q,"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY",e,c,m,n)):n=new jJ("InvideoOverlayAdRenderer without appropriate sub renderer"):n=new jJ("InvideoOverlayAdRenderer without contentSupportedRenderer");return n}); return a instanceof kJ?a:[a]}; REa=function(a,b,c,d,e,f,h,l,m){var n=Number(d.durationMilliseconds);return isNaN(n)?new kJ("Expected valid duration for AdActionInterstitialRenderer."):function(p){return PEa(b,p.slotId,c,d,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 QEa(a,q,e,function(r,t){var u=r.slotId;r=h(r);u=QJ(b.fb.get(),"LAYOUT_TYPE_ENDCAP", u);return mEa(b,u,t,c,r,"LAYOUT_TYPE_ENDCAP",[new GI(d),l],d.adLayoutLoggingData)})},m,f-1,d.adLayoutLoggingData,f)}}; SEa=function(a,b,c,d){if(!c.playerVars)return new kJ("No playerVars available in AdIntroRenderer.");var e=IB(c.playerVars);e.autoplay="1";return function(f){var h=f.slotId;f=d(f);h=QJ(a.fb.get(),"LAYOUT_TYPE_MEDIA",h);var l={layoutId:h,layoutType:"LAYOUT_TYPE_MEDIA",bb:"adapter"};return{wk:{layoutId:h,layoutType:"LAYOUT_TYPE_MEDIA",Tb:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"adapter",Ca:new lJ([new VI({}), new vI(b),new KI({current:null}),new OI(e)]),uc:f(l)},Vl:[new hM(a.j,h,["error"])],Kj:[],Wy:[],Vy:[]}}}; UEa=function(a,b,c,d,e,f,h,l,m,n){n=void 0===n?!1:n;var p=jEa(e);if(!mDa(e,n))return new kJ("Received invalid InstreamSurveyAdRenderer for VOD composite survey.",{InstreamSurveyAdRenderer:e});if(0>=p)return new kJ("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:e});var q=nEa(a,b,e,f,c,d,h);return q instanceof kJ?q:function(r){return TEa(b,r.slotId,c,p,e,kEa(e),h(r),q,l,m)}}; WEa=function(a,b,c,d,e,f,h,l){function m(q){return QEa(a,q,d,n)} function n(q,r){var t=q.slotId;q=h(q);t=QJ(b.fb.get(),"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",t);return mEa(b,t,r,c,q,"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",[new Dya(e),f],e.adLayoutLoggingData)} if(!rDa(e))return new kJ("Received invalid SurveyTextInterstitialRenderer.",{SurveyTextInterstitialRenderer:e});var p=1E3*e.timeoutSeconds;return function(q){var r={impressionCommands:e.impressionCommands,completeCommands:e.timeoutCommands,skipCommands:e.dismissCommands},t=h(q);q=VEa(b,q.slotId,c,p,r,new Map,t,m,void 0,lN(b,c,e.layoutId,"createSubLayoutVodMediaBreakLayoutForSurveyInterstitial"));r=new II(q.LJ);t=new xI(l);return{wk:{layoutId:q.layoutId,layoutType:q.layoutType,Tb:q.Tb,layoutExitNormalTriggers:[], layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:q.bb,Ca:new lJ([].concat(g.ra(q.Ty),[r,t])),uc:q.uc,adLayoutLoggingData:q.adLayoutLoggingData},Vl:[],Kj:q.layoutExitMuteTriggers,Wy:q.layoutExitUserInputSubmittedTriggers,Vy:q.Zc,Hg:q.Hg}}}; YEa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t,u,x){a=cK(a,"SLOT_TYPE_PLAYER_BYTES");d=MDa(b,h,d,e,a,n,p);if(d instanceof kJ)return d;var B;h=null==(B=mJ(d.Ca,"metadata_type_fulfilled_layout"))?void 0:B.layoutId;if(!h)return new kJ("Invalid adNotify layout");b=XEa(h,b,c,e,f,m,l,n,q,r,t,u,x);return b instanceof kJ?b:[d].concat(g.ra(b))}; XEa=function(a,b,c,d,e,f,h,l,m,n,p,q,r){c=ZEa(b,c,d,f,h,l,m,n,p,q,r);$Ea(f)?(d=aFa(b,a),a=cK(b.fb.get(),"SLOT_TYPE_IN_PLAYER"),f=QJ(b.fb.get(),"LAYOUT_TYPE_SURVEY",a),l=bFa(b,d,l),b=[].concat(g.ra(l.slotExpirationTriggers),[new dM(b.j,f)]),a=c({slotId:l.slotId,slotType:l.slotType,slotPhysicalPosition:l.slotPhysicalPosition,slotEntryTrigger:l.slotEntryTrigger,slotFulfillmentTriggers:l.slotFulfillmentTriggers,slotExpirationTriggers:b,bb:l.bb},{slotId:a,layoutId:f}),e=a instanceof kJ?a:{Qw:Object.assign({}, l,{slotExpirationTriggers:b,Ca:new lJ([new XI(a.layout)]),adSlotLoggingData:e}),wg:a.wg}):e=QDa(b,a,l,e,c);return e instanceof kJ?e:[].concat(g.ra(e.wg),[e.Qw])}; fFa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t){b=ZEa(a,b,c,e,f,h,m,n,p,q,r,t);$Ea(e)?(e=cFa(a,c,h,l),e instanceof kJ?a=e:(l=cK(a.fb.get(),"SLOT_TYPE_IN_PLAYER"),m=QJ(a.fb.get(),"LAYOUT_TYPE_SURVEY",l),h=[].concat(g.ra(e.slotExpirationTriggers),[new dM(a.j,m)]),l=b({slotId:e.slotId,slotType:e.slotType,slotPhysicalPosition:e.slotPhysicalPosition,bb:e.bb,slotEntryTrigger:e.slotEntryTrigger,slotFulfillmentTriggers:e.slotFulfillmentTriggers,slotExpirationTriggers:h},{slotId:l,layoutId:m}),a=l instanceof kJ? l:{Qw:{slotId:e.slotId,slotType:e.slotType,slotPhysicalPosition:e.slotPhysicalPosition,slotEntryTrigger:dFa(a,c,e.slotId,e.slotEntryTrigger),slotFulfillmentTriggers:eFa(a,c,e.slotId,e.slotFulfillmentTriggers),slotExpirationTriggers:h,bb:e.bb,Ca:new lJ([new fJ(mN(c)),new XI(l.layout)]),adSlotLoggingData:d},wg:l.wg})):a=RDa(a,c,h,l,d,m.Cc,b);return a instanceof kJ?a:a.wg.concat(a.Qw)}; $Ea=function(a){a=g.v(a);for(var b=a.next();!b.done;b=a.next())if(g.U(b.value,TM))return!0;return!1}; ZEa=function(a,b,c,d,e,f,h,l,m,n,p,q){return function(r,t){if(NL(p)&&OL(p))a:{var u=gFa(d,c,p);if(u instanceof kJ)t=u;else{for(var x=0,B=[],F=[],G=[],H=[],O=[],P=[],Y=new LI({current:null}),la=new zI({current:null}),na=!1,ua=[],ma=0,wa=[],ea=0;ea=m)return new kJ("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:c});var n=new LI({current:null}),p=nEa(a,b,c,n,d,f,h);return iFa(a,d,f,m,e,function(q,r){var t=q.slotId,u=kEa(c);q=h(q);var x,B=null!=(x=lN(b,d,c.layoutId,"createMediaBreakLayoutAndAssociatedInPlayerSlotForVodSurvey"))? x:QJ(b.fb.get(),"LAYOUT_TYPE_MEDIA_BREAK",t);t={layoutId:B,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",bb:"core"};x=p(B,r);mJ(x.Ca,"metadata_type_fulfilled_layout")||HG("Could not retrieve overlay layout ID during VodMediaBreakLayout for survey creation. This should never happen.");u=[new vI(d),new aJ(m),new cJ(u),n];return{X7:{layoutId:B,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",Tb:new Map,layoutExitNormalTriggers:[new lM(b.j,B)],layoutExitSkipTriggers:[new oM(b.j,r.layoutId)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[new vM(b.j, r.layoutId)],Zc:[],bb:"core",Ca:new lJ(u),uc:q(t)},j7:x}})}; kFa=function(a){if(!qDa(a))return!1;var b=g.U(a.adVideoStart,oN);return b?g.U(a.linearAd,zM)&&aDa(b)?!0:(HG("Invalid Sandwich with notify"),!1):!1}; lFa=function(a){if(null==a.linearAds)return!1;a=g.U(a.adStart,oN);return a?aDa(a)?!0:(HG("Invalid LASR with notify"),!1):!1}; mFa=function(a){if(!pDa(a))return!1;a=g.U(a.adStart,oN);return a?aDa(a)?!0:(HG("Invalid LASR with notify"),!1):!1}; pN=function(a,b,c,d,e,f,h,l){this.fb=a;this.Mb=b;this.Eb=c;this.Ha=d;this.Zb=e;this.j=f;this.Mj=h;this.loadPolicy=void 0===l?1:l}; wDa=function(a,b,c,d,e,f,h,l,m){var n=[];if(0===b.length&&0===d.length&&0===c.length)return n;b=b.filter(bDa);var p=c.filter(kDa),q=d.filter(bDa),r=new Map,t=YDa(b),u=c.some(function(ea){var Ba;return"SLOT_TYPE_PLAYER_BYTES"===(null==ea?void 0:null==(Ba=ea.adSlotMetadata)?void 0:Ba.slotType)}); c=c.some(function(ea){var Ba;return"SLOT_TYPE_PLAYER_UNDERLAY"===(null==ea?void 0:null==(Ba=ea.adSlotMetadata)?void 0:Ba.slotType)}); if(u||c)c=cEa(p,b,l,e,t,a.Zb.get(),a.loadPolicy,r,a.Ha.get(),a.fb.get()),c instanceof kJ?HG(c,void 0,void 0,{contentCpn:e}):n.push.apply(n,g.ra(c));c=g.v(b);for(var x=c.next();!x.done;x=c.next()){x=x.value;var B=nFa(a,r,x,e,f,h,u,l,t,m,p);B instanceof kJ?HG(B,void 0,void 0,{renderer:x.renderer,config:x.config.adPlacementConfig,kind:x.config.adPlacementConfig.kind,contentCpn:e,daiEnabled:h}):n.push.apply(n,g.ra(B))}oFa(a.Ha.get())||(f=pFa(a,q,e,l,t,r),n.push.apply(n,g.ra(f)));if(null===a.j||h&&!l.MV){var F, G,H;a=l.Cc&&1===b.length&&"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===(null==(F=b[0].config)?void 0:null==(G=F.adPlacementConfig)?void 0:G.kind)&&(null==(H=b[0].renderer)?void 0:H.adBreakServiceRenderer);if(!n.length&&!a){var O,P,Y,la;HG("Expected slots parsed from AdPlacementRenderers for DAI",void 0,void 0,{"AdPlacementRenderer count":b.length,contentCpn:e,"first APR kind":null==(O=b[0])?void 0:null==(P=O.config)?void 0:null==(Y=P.adPlacementConfig)?void 0:Y.kind,renderer:null==(la=b[0])?void 0:la.renderer})}return n}F= d.filter(bDa);n.push.apply(n,g.ra(IDa(r,F,a.Mb.get(),a.j,e,u)));if(!n.length){var na,ua,ma,wa;HG("Expected slots parsed from AdPlacementRenderers",void 0,void 0,{"AdPlacementRenderer count":b.length,contentCpn:e,daiEnabled:h.toString(),"first APR kind":null==(na=b[0])?void 0:null==(ua=na.config)?void 0:null==(ma=ua.adPlacementConfig)?void 0:ma.kind,renderer:null==(wa=b[0])?void 0:wa.renderer})}return n}; pFa=function(a,b,c,d,e,f){function h(r){return qJ(a.Zb.get(),r)} var l=[];b=g.v(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&&kFa(p)?(HG("Found AdNotify with SandwichedLinearAdRenderer"),q=g.U(p.adVideoStart,oN),p=g.U(p.linearAd,zM),fN(f,n,m.config.adPlacementConfig.kind),n=void 0,q=NDa(null==(n=q)?void 0:n.layout.layoutId,a.Mb.get(),a.Eb.get(),m.config.adPlacementConfig,m.adSlotLoggingData,p,c,d,h,e,a.loadPolicy,a.Ha.get(),a.Zb.get()),q instanceof kJ?HG(q):l.push.apply(l,g.ra(q))): q&&(!q.adLayoutMetadata&&lFa(q)||q.adLayoutMetadata&&mFa(q))&&(HG("Found AdNotify with LinearAdSequenceRenderer"),fN(f,n,m.config.adPlacementConfig.kind),n=void 0,p=XEa(null==(n=g.U(q.adStart,oN))?void 0:n.layout.layoutId,a.Mb.get(),a.Eb.get(),m.config.adPlacementConfig,m.adSlotLoggingData,q.linearAds,xM(q.adLayoutMetadata)?q.adLayoutMetadata:void 0,c,d,h,e,a.loadPolicy,a.Ha.get()),p instanceof kJ?HG(p):l.push.apply(l,g.ra(p)))}return l}; nFa=function(a,b,c,d,e,f,h,l,m,n,p){function q(F){return qJ(a.Zb.get(),F)} var r=c.renderer,t=c.config.adPlacementConfig,u=t.kind,x=c.adSlotLoggingData,B=l.MV&&"AD_PLACEMENT_KIND_START"===u;B=f&&!B;if(null!=r.adsEngagementPanelRenderer)return gN(b,c.elementId,u,r.adsEngagementPanelRenderer.isContentVideoEngagementPanel,r.adsEngagementPanelRenderer.adVideoId,r.adsEngagementPanelRenderer.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Eb.get(),Y=r.adsEngagementPanelRenderer,la=qJ(a.Zb.get(),F);return qN(P,F.slotId,"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON", new wya(Y),G,H,Y.impressionPings,la,r.adsEngagementPanelRenderer.adLayoutLoggingData,O)}),[]; if(null!=r.actionCompanionAdRenderer){if(r.actionCompanionAdRenderer.showWithoutLinkedMediaLayout)return EDa(a.Mb.get(),a.j,a.Eb.get(),r.actionCompanionAdRenderer,t,x,d,q);gN(b,c.elementId,u,r.actionCompanionAdRenderer.isContentVideoCompanion,r.actionCompanionAdRenderer.adVideoId,r.actionCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Eb.get(),Y=r.actionCompanionAdRenderer,la=qJ(a.Zb.get(),F);return qN(P,F.slotId,"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON", new sI(Y),G,H,Y.impressionPings,la,r.actionCompanionAdRenderer.adLayoutLoggingData,O)})}else if(r.imageCompanionAdRenderer)gN(b,c.elementId,u,r.imageCompanionAdRenderer.isContentVideoCompanion,r.imageCompanionAdRenderer.adVideoId,r.imageCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Eb.get(),Y=r.imageCompanionAdRenderer,la=qJ(a.Zb.get(),F); return qN(P,F.slotId,"LAYOUT_TYPE_COMPANION_WITH_IMAGE",new yya(Y),G,H,Y.impressionPings,la,r.imageCompanionAdRenderer.adLayoutLoggingData,O)}); else if(r.shoppingCompanionCarouselRenderer)gN(b,c.elementId,u,r.shoppingCompanionCarouselRenderer.isContentVideoCompanion,r.shoppingCompanionCarouselRenderer.adVideoId,r.shoppingCompanionCarouselRenderer.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Eb.get(),Y=r.shoppingCompanionCarouselRenderer,la=qJ(a.Zb.get(),F);return qN(P,F.slotId,"LAYOUT_TYPE_COMPANION_WITH_SHOPPING",new zya(Y),G,H,Y.impressionPings,la,r.shoppingCompanionCarouselRenderer.adLayoutLoggingData,O)}); else if(r.adBreakServiceRenderer){if(!CDa(c))return[];if("AD_PLACEMENT_KIND_PAUSE"===u)return BDa(a.Mb.get(),t,x,c.renderer.adBreakServiceRenderer,d);if("AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"!==u)return ADa(a.Mb.get(),t,x,c.renderer.adBreakServiceRenderer,d,e,f);if(!a.Mj)return new kJ("Received AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED with no CuePointOpportunityAdapter set for interface");l.Cc||HG("Received non-live cue point triggered AdBreakServiceRenderer",void 0,void 0,{kind:u,adPlacementConfig:t, daiEnabledForContentVideo:String(f),isServedFromLiveInfra:String(l.Cc),clientPlaybackNonce:l.clientPlaybackNonce});qFa(a.Mj,{adPlacementRenderer:c,contentCpn:d,PC:e})}else{if(r.clientForecastingAdRenderer)return IEa(a.Mb.get(),a.Eb.get(),t,x,r.clientForecastingAdRenderer,d,e,q);if(r.invideoOverlayAdRenderer)return OEa(a.Mb.get(),a.Eb.get(),t,x,r.invideoOverlayAdRenderer,d,e,q);if(r.instreamAdPlayerOverlayRenderer)return KEa(a.Mb.get(),a.Eb.get(),t,x,r.instreamAdPlayerOverlayRenderer,d,q);if((r.linearAdSequenceRenderer|| r.instreamVideoAdRenderer)&&B)return BEa(a.Mb.get(),a.Eb.get(),c,d,q,n,!a.Ha.get().J.U().L("html5_override_ad_video_length_killswitch"));if(r.linearAdSequenceRenderer&&!B){if(h)return[];fN(b,r,u);if(r.linearAdSequenceRenderer.adLayoutMetadata){if(!pDa(r.linearAdSequenceRenderer))return new kJ("Received invalid LinearAdSequenceRenderer.")}else if(null==r.linearAdSequenceRenderer.linearAds)return new kJ("Received invalid LinearAdSequenceRenderer.");if(g.U(r.linearAdSequenceRenderer.adStart,oN)){HG("Found AdNotify in LinearAdSequenceRenderer"); b=g.U(r.linearAdSequenceRenderer.adStart,oN);if(!$Ca(b))return new kJ("Invalid AdMessageRenderer.");c=r.linearAdSequenceRenderer.linearAds;return YEa(a.fb.get(),a.Mb.get(),a.Eb.get(),a.Zb.get(),t,x,b,xM(r.linearAdSequenceRenderer.adLayoutMetadata)?r.linearAdSequenceRenderer.adLayoutMetadata:void 0,c,d,e,l,q,m,a.loadPolicy,a.Ha.get())}return fFa(a.Mb.get(),a.Eb.get(),t,x,r.linearAdSequenceRenderer.linearAds,xM(r.linearAdSequenceRenderer.adLayoutMetadata)?r.linearAdSequenceRenderer.adLayoutMetadata: void 0,d,e,l,q,m,a.loadPolicy,a.Ha.get(),p)}if(!r.remoteSlotsRenderer||f){if(r.instreamVideoAdRenderer&&!B){if(h)return[];fN(b,r,u);return SDa(a.Mb.get(),a.Eb.get(),t,x,r.instreamVideoAdRenderer,d,e,l,q,m,a.loadPolicy,a.Ha.get(),a.Zb.get(),p)}if(r.instreamSurveyAdRenderer)return jFa(a.Mb.get(),a.Eb.get(),r.instreamSurveyAdRenderer,t,x,d,q,nN(a.Ha.get(),"supports_multi_step_on_desktop"));if(null!=r.sandwichedLinearAdRenderer)return qDa(r.sandwichedLinearAdRenderer)?g.U(r.sandwichedLinearAdRenderer.adVideoStart, oN)?(HG("Found AdNotify in SandwichedLinearAdRenderer"),b=g.U(r.sandwichedLinearAdRenderer.adVideoStart,oN),$Ca(b)?(c=g.U(r.sandwichedLinearAdRenderer.linearAd,zM))?ODa(b,c,t,a.fb.get(),a.Mb.get(),a.Eb.get(),a.Zb.get(),x,d,e,l,q,m,a.loadPolicy,a.Ha.get()):new kJ("Missing IVAR from Sandwich"):new kJ("Invalid AdMessageRenderer.")):fFa(a.Mb.get(),a.Eb.get(),t,x,[r.sandwichedLinearAdRenderer.adVideoStart,r.sandwichedLinearAdRenderer.linearAd],void 0,d,e,l,q,m,a.loadPolicy,a.Ha.get()):new kJ("Received invalid SandwichedLinearAdRenderer."); if(null!=r.videoAdTrackingRenderer)return GEa(a.Mb.get(),a.Eb.get(),r.videoAdTrackingRenderer,t,x,d,e,q)}}return[]}; rN=function(a,b,c,d,e,f,h,l){g.J.call(this);var m=this;this.Rb=a;this.Mb=b;this.Ef=d;this.Ja=e;this.Ha=f;this.Pa=h;this.Pc=l;this.j=null;c.get().addListener(this);this.addOnDisposeCallback(function(){c.isDisposed()||c.get().removeListener(m)}); d.get().addListener(this);this.addOnDisposeCallback(function(){d.isDisposed()||d.get().removeListener(m)})}; qFa=function(a,b){if(a.j)HG("Unexpected multiple fetch instructions for the current content");else{a.j=b;b=g.v(a.Ef.get().XK);for(var c=b.next();!c.done;c=b.next())rFa(a,a.j,c.value)}}; rFa=function(a,b,c){var d=a.Ja.get().getCurrentTimeSec(1,!1);a.Ha.get().J.U().Nc()&&a.Pa.get().ji("sdai","onopp.1;evt."+c.event+";start."+c.startSecs.toFixed(3)+";d."+c.Xh.toFixed(3));bK(a.Rb.get(),"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",function(){var e=a.Mb.get(),f=b.adPlacementRenderer.renderer.adBreakServiceRenderer,h=b.contentCpn,l=b.adPlacementRenderer.adSlotLoggingData,m=sN(a.Ha.get()),n=a.Pa;if(e.Ha.get().J.U().experiments.jb("enable_smearing_expansion_dai")){var p=g.rJ(e.Ha.get().J.U().experiments, "max_prefetch_window_sec_for_livestream_optimization");var q=g.rJ(e.Ha.get().J.U().experiments,"min_prefetch_offset_sec_for_livestream_optimization");m={Xn:sFa(c),gF:!1,cueProcessedMs:1E3*d};var r=c.startSecs+c.Xh;if(0===d)m.qp=new cv(0,1E3*r);else{q=c.startSecs-q;var t=q-d;m.qp=0>=t?new cv(1E3*q,1E3*r):new cv(1E3*Math.floor(d+Math.random()*Math.min(t,p)),1E3*r)}p=m}else p={Xn:sFa(c),gF:!1},r=c.startSecs+c.Xh,c.startSecs<=d?m=new cv(1E3*(c.startSecs-4),1E3*r):(q=Math.max(0,c.startSecs-d-10),m=new cv(1E3* Math.floor(d+Math.random()*(m?0===d?0:Math.min(q,5):q)),1E3*r)),p.qp=m;f=zDa(e,f,h,p,l,[new Iya(c)]);e.Ha.get().J.U().experiments.jb("html5_add_dai_smearing_to_qoe")?(h=n.get(),e=p.qp.start/1E3-d,n=c.startSecs-d,null!=(h=h.J.Bd())&&(h=h.wc(),h.qoe&&(h=h.qoe,h.provider.W.L("html5_add_dai_smearing_to_qoe")&&(l=1E3*g.tN(h.provider),p=h.j.daism||[],p.push("t."+l.toFixed(0)+";smw."+(1E3*e).toFixed(0)+";smo."+(1E3*n).toFixed(0)),h.j.daism=p)))):n.get().ji("daism","ct."+Date.now()+";cmt."+d+";smw."+(p.qp.start/ 1E3-d)+";tw."+(c.startSecs-d)+";cid."+c.identifier.replaceAll(":","_")+";sid."+f.slotId);return[f]})}; uN=function(a){var b,c=null==(b=mJ(a.Ca,"metadata_type_player_bytes_callback_ref"))?void 0:b.current;if(!c)return null;b=mJ(a.Ca,"metadata_type_ad_pod_skip_target_callback_ref");var d=a.layoutId,e=mJ(a.Ca,"metadata_type_content_cpn"),f=mJ(a.Ca,"metadata_type_instream_ad_player_overlay_renderer"),h=mJ(a.Ca,"metadata_type_player_overlay_layout_renderer"),l=mJ(a.Ca,"metadata_type_player_underlay_renderer"),m=mJ(a.Ca,"metadata_type_ad_placement_config"),n=mJ(a.Ca,"metadata_type_video_length_seconds"); var p=gJ(a.Ca,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds")?mJ(a.Ca,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"):gJ(a.Ca,"metadata_type_layout_enter_ms")&&gJ(a.Ca,"metadata_type_layout_exit_ms")?(mJ(a.Ca,"metadata_type_layout_exit_ms")-mJ(a.Ca,"metadata_type_layout_enter_ms"))/1E3:void 0;return{jq:d,contentCpn:e,PQ:c,AM:b,instreamAdPlayerOverlayRenderer:f,playerOverlayLayoutRenderer:h,instreamAdPlayerUnderlayRenderer:l,adPlacementConfig:m,videoLengthSeconds:n,bJ:p,inPlayerLayoutId:mJ(a.Ca,"metadata_type_linked_in_player_layout_id"), inPlayerSlotId:mJ(a.Ca,"metadata_type_linked_in_player_slot_id")}}; uFa=function(a,b){return tFa(a,b)}; vFa=function(a,b){b=tFa(a,b);if(!b)return null;var c;b.bJ=null==(c=mJ(a.Ca,"metadata_type_ad_pod_info"))?void 0:c.adBreakRemainingLengthSeconds;return b}; tFa=function(a,b){var c,d=null==(c=mJ(a.Ca,"metadata_type_player_bytes_callback_ref"))?void 0:c.current;if(!d)return null;gJ(a.Ca,"metadata_ad_video_is_listed")?c=mJ(a.Ca,"metadata_ad_video_is_listed"):b?c=b.isListed:(HG("No layout metadata nor AdPlayback specified for ad video isListed"),c=!1);gJ(a.Ca,"metadata_type_ad_info_ad_metadata")?b=mJ(a.Ca,"metadata_type_ad_info_ad_metadata"):b?b={channelId:b.Gl,channelThumbnailUrl:b.profilePicture,channelTitle:b.author,videoTitle:b.title}:(HG("No layout metadata nor AdPlayback specified for AdMetaData"), b={channelId:"",channelThumbnailUrl:"",channelTitle:"",videoTitle:""});return{t4:b,adPlacementConfig:mJ(a.Ca,"metadata_type_ad_placement_config"),u4:c,contentCpn:mJ(a.Ca,"metadata_type_content_cpn"),inPlayerLayoutId:mJ(a.Ca,"metadata_type_linked_in_player_layout_id"),inPlayerSlotId:mJ(a.Ca,"metadata_type_linked_in_player_slot_id"),instreamAdPlayerOverlayRenderer:mJ(a.Ca,"metadata_type_instream_ad_player_overlay_renderer"),playerOverlayLayoutRenderer:void 0,instreamAdPlayerUnderlayRenderer:void 0, bJ:void 0,PQ:d,jq:a.layoutId,videoLengthSeconds:mJ(a.Ca,"metadata_type_video_length_seconds")}}; vN=function(a,b,c,d,e,f,h,l,m){g.J.call(this);this.j=a;this.C=b;this.B=c;this.Rb=d;this.Mb=e;this.Eb=f;this.Zb=h;this.Ha=l;this.Xa=m;this.nj=!0}; wFa=function(a,b,c){return WDa(a.Mb.get(),b.contentCpn,b.jq,function(d){return XDa(a.Eb.get(),d.slotId,c,b.adPlacementConfig,b.jq,qJ(a.Zb.get(),d))})}; wN=function(a,b,c,d,e,f,h,l){g.J.call(this);this.Rb=a;this.ze=b;this.j=c;this.Ha=d;this.B=e;this.Xa=f;this.Ja=h;this.Tc=l}; xN=function(a){g.J.call(this);this.j=a}; bK=function(a,b,c,d){a.j().Si(b,d);c=c();a=a.j();a.kc.j("ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",b,d,c);b=g.v(c);for(c=b.next();!c.done;c=b.next())a:{d=a;c=c.value;EJ(d.kc,"ADS_CLIENT_EVENT_TYPE_SLOT_RECEIVED",c);EJ(d.kc,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",c);try{var e=d.j;if(g.gc(c.slotId))throw new kJ("Slot ID was empty",void 0,"ADS_CLIENT_ERROR_MESSAGE_INVALID_SLOT");if(wJ(e,c))throw new kJ("Duplicate registration for slot.",{slotId:c.slotId,slotEntryTriggerType:c.slotEntryTrigger.triggerType}, "ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");if(!e.Bf.Gq.has(c.slotType))throw new kJ("No fulfillment adapter factory registered for slot of type: "+c.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_FULFILLMENT_ADAPTER_REGISTERED");if(!e.Bf.Nr.has(c.slotType))throw new kJ("No SlotAdapterFactory registered for slot of type: "+c.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_SLOT_ADAPTER_REGISTERED");vza(e,"TRIGGER_CATEGORY_SLOT_ENTRY",c.slotEntryTrigger?[c.slotEntryTrigger]:[]);vza(e,"TRIGGER_CATEGORY_SLOT_FULFILLMENT", c.slotFulfillmentTriggers);vza(e,"TRIGGER_CATEGORY_SLOT_EXPIRATION",c.slotExpirationTriggers);var f=d.j,h=c.slotType+"_"+c.slotPhysicalPosition,l=GJ(f,h);if(wJ(f,c))throw new kJ("Duplicate slots not supported",void 0,"ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");l.set(c.slotId,new qza(c));f.j.set(h,l)}catch(na){na instanceof kJ&&na.Fk?(tJ(d.kc,"ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED",na.Fk,c),HG(na,c,void 0,void 0,na.Uu)):(tJ(d.kc,"ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR", c),HG(na,c));break a}wJ(d.j,c).K=!0;try{var m=d.j,n=wJ(m,c),p=c.slotEntryTrigger,q=m.Bf.El.get(p.triggerType);q&&(q.rl("TRIGGER_CATEGORY_SLOT_ENTRY",p,c,null),n.Aa.set(p.triggerId,q));for(var r=g.v(c.slotFulfillmentTriggers),t=r.next();!t.done;t=r.next()){var u=t.value,x=m.Bf.El.get(u.triggerType);x&&(x.rl("TRIGGER_CATEGORY_SLOT_FULFILLMENT",u,c,null),n.ma.set(u.triggerId,x))}for(var B=g.v(c.slotExpirationTriggers),F=B.next();!F.done;F=B.next()){var G=F.value,H=m.Bf.El.get(G.triggerType);H&&(H.rl("TRIGGER_CATEGORY_SLOT_EXPIRATION", G,c,null),n.Y.set(G.triggerId,H))}var O=m.Bf.Gq.get(c.slotType).get().build(m.C,c);n.N=O;var P=m.Bf.Nr.get(c.slotType).get().build(m.G,c);P.init();n.B=P}catch(na){na instanceof kJ&&na.Fk?(tJ(d.kc,"ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED",na.Fk,c),HG(na,c,void 0,void 0,na.Uu)):(tJ(d.kc,"ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR",c),HG(na,c));uJ(d,c,!0);break a}EJ(d.kc,"ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",c);d.j.Ti(c);for(var Y=g.v(d.Je),la=Y.next();!la.done;la= Y.next())la.value.Ti(c);$ya(d,c)}}; yN=function(a,b,c,d){g.J.call(this);var e=this;this.Rb=a;this.Mb=b;this.Ac=c;this.j=new Map;d.get().addListener(this);this.addOnDisposeCallback(function(){d.isDisposed()||d.get().removeListener(e)})}; uDa=function(a,b){var c=0x8000000000000;for(var d=0,e=g.v(b.slotFulfillmentTriggers),f=e.next();!f.done;f=e.next())f=f.value,f instanceof kM?(c=Math.min(c,f.j.start),d=Math.max(d,f.j.end)):HG("Found unexpected fulfillment trigger for throttled slot.",b,null,{fulfillmentTrigger:f});c=new cv(c,d);d="throttledadcuerange:"+b.slotId;a.j.set(d,b);a.Ac.get().addCueRange(d,c.start,c.end,!1,a)}; zN=function(){g.J.apply(this,arguments);this.nj=!0;this.Cl=new Map;this.j=new Map}; xFa=function(a,b){a=g.v(a.Cl.values());for(var c=a.next();!c.done;c=a.next())if(c.value.layoutId===b)return!0;return!1}; lAa=function(a,b){a=g.v(a.j.values());for(var c=a.next();!c.done;c=a.next()){c=g.v(c.value);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.layoutId===b)return d}HG("Trying to retrieve an unknown layout",void 0,void 0,{isEmpty:String(g.gc(b)),layoutId:b})}; yFa=function(a,b){this.callback=a;this.slot=b}; AN=function(){}; zFa=function(a,b,c){this.callback=a;this.slot=b;this.Ja=c}; AFa=function(a,b,c){this.callback=a;this.slot=b;this.Ja=c;this.B=!1;this.j=0}; BFa=function(a,b,c){this.callback=a;this.slot=b;this.Ja=c}; BN=function(a){this.Ja=a}; CN=function(a){g.J.call(this);this.OL=a;this.Xb=new Map}; CFa=function(a,b){for(var c=[],d=g.v(a.Xb.values()),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.trigger;f instanceof vM&&f.triggeringLayoutId===b&&c.push(e)}c.length?DJ(a.OL(),c):HG("Survey is submitted but no registered triggers can be activated.")}; DN=function(a,b,c){CN.call(this,a);var d=this;this.Ha=c;b.get().addListener(this);this.addOnDisposeCallback(function(){b.isDisposed()||b.get().removeListener(d)})}; EN=function(a){g.J.call(this);this.j=a;this.nj=!0;this.Xb=new Map;this.G=new Set;this.C=new Set;this.D=new Set;this.K=new Set;this.B=new Set}; FN=function(a){g.J.call(this);this.j=a;this.Xb=new Map}; GN=function(a,b){for(var c=[],d=g.v(a.Xb.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger.j===b.layoutId&&c.push(e);c.length&&DJ(a.j(),c)}; HN=function(a,b){g.J.call(this);var c=this;this.j=a;this.Xb=new Map;b.get().addListener(this);this.addOnDisposeCallback(function(){b.isDisposed()||b.get().removeListener(c)})}; DFa=function(a,b,c,d){var e=[];a=g.v(a.values());for(var f=a.next();!f.done;f=a.next())if(f=f.value,f.trigger instanceof mM){var h=f.trigger.j===b;h===c?e.push(f):d&&h&&(HG("Firing OnNewPlaybackAfterContentVideoIdTrigger from presumed cached playback CPN match.",void 0,void 0,{cpn:b}),e.push(f))}return e}; EFa=function(a){return a instanceof XCa||a instanceof YCa||a instanceof nM}; IN=function(a,b,c,d){g.J.call(this);var e=this;this.B=a;this.Ac=b;this.Ja=c;this.Xa=d;this.nj=!0;this.Xb=new Map;this.j=new Set;c.get().addListener(this);this.addOnDisposeCallback(function(){c.isDisposed()||c.get().removeListener(e)})}; FFa=function(a,b,c,d,e,f,h,l,m,n){if(a.Xa.get().lf(1).clientPlaybackNonce!==m)throw new kJ("Cannot register CueRange-based trigger for different content CPN",{trigger:c});a.Xb.set(c.triggerId,{bv:new wM(b,c,d,e),xv:f});a.Ac.get().addCueRange(f,h,l,n,a)}; GFa=function(a,b){a=g.v(a.Xb.entries());for(var c=a.next();!c.done;c=a.next()){var d=g.v(c.value);c=d.next().value;d=d.next().value;if(b===d.xv)return c}return""}; JN=function(a,b){g.J.call(this);var c=this;this.D=a;this.B=new Map;this.C=new Map;this.j=null;b.get().addListener(this);this.addOnDisposeCallback(function(){b.isDisposed()||b.get().removeListener(c)}); var d;this.j=(null==(d=b.get().zv)?void 0:d.slotId)||null}; HFa=function(a,b){var c=[];a=g.v(a.values());for(var d=a.next();!d.done;d=a.next())d=d.value,d.slot.slotId===b&&c.push(d);return c}; KN=function(a){g.J.call(this);this.j=a;this.nj=!0;this.Xb=new Map}; CK=function(a,b){b=b.layoutId;for(var c=[],d=g.v(a.Xb.values()),e=d.next();!e.done;e=d.next())if(e=e.value,e.trigger instanceof lM){var f;if(f=e.trigger.layoutId===b)f=(f=iza.get(e.category))?"normal"===f:!1;f&&c.push(e)}c.length&&DJ(a.j(),c)}; LN=function(a){g.J.call(this);this.j=a;this.nj=!0;this.Xb=new Map}; MN=function(a){g.J.call(this);this.C=a;this.nj=!0;this.Xb=new Map;this.j=new Map;this.B=new Map}; IFa=function(a,b){var c=[];if(b=a.j.get(b.layoutId)){b=g.v(b);for(var d=b.next();!d.done;d=b.next())(d=a.B.get(d.value.triggerId))&&c.push(d)}return c}; NN=function(a){g.J.call(this);this.j=a;this.Xb=new Map}; JFa=function(a,b){for(var c=[],d=g.v(a.Xb.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger instanceof aM&&e.trigger.slotId===b&&c.push(e);1<=c.length&&DJ(a.j(),c)}; KFa=function(a,b){var c={slotId:cK(b,"SLOT_TYPE_IN_PLAYER"),slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,slotEntryTrigger:void 0,slotFulfillmentTriggers:[],slotExpirationTriggers:[],bb:"surface",Ca:new lJ([])},d=Object,e=d.assign;b=QJ(b,"LAYOUT_TYPE_TEXT_BANNER_OVERLAY",c.slotId);b={layoutId:b,layoutType:"LAYOUT_TYPE_TEXT_BANNER_OVERLAY",Tb:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"surface",Ca:new lJ([]), uc:Wya(!1,c.slotId,c.slotType,c.slotPhysicalPosition,c.bb,c.slotEntryTrigger,c.slotFulfillmentTriggers,c.slotExpirationTriggers,b,"LAYOUT_TYPE_TEXT_BANNER_OVERLAY","surface")};return e.call(d,{},a,{p7:!0,slot:c,layout:b})}; yDa=function(a,b,c,d){var e=a.kind;d=d?!1:!a.hideCueRangeMarker;switch(e){case "AD_PLACEMENT_KIND_START":return d={Xn:new cv(-0x8000000000000,-0x8000000000000),gF:d},null!=c&&(d.qp=new cv(-0x8000000000000,-0x8000000000000)),d;case "AD_PLACEMENT_KIND_END":return d={Xn:new cv(0x7ffffffffffff,0x8000000000000),gF:d},null!=c&&(d.qp=new cv(Math.max(0,b-c),0x8000000000000)),d;case "AD_PLACEMENT_KIND_MILLISECONDS":e=a.adTimeOffset;e.offsetStartMilliseconds||HG("AD_PLACEMENT_KIND_MILLISECONDS missing start milliseconds."); e.offsetEndMilliseconds||HG("AD_PLACEMENT_KIND_MILLISECONDS missing end milliseconds.");a=Number(e.offsetStartMilliseconds);e=Number(e.offsetEndMilliseconds);-1===e&&(e=b);if(Number.isNaN(a)||Number.isNaN(e)||a>e)return new kJ("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.",{offsetStartMs:a,offsetEndMs:e},"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START",e===b&&a-500<=e);d={Xn:new cv(a,e),gF:d};if(null!=c){a=Math.max(0,a-c);if(a===e)return d;d.qp=new cv(a,e)}return d; default:return new kJ("AdPlacementKind not supported in convertToRange.",{kind:e,adPlacementConfig:a})}}; sFa=function(a){var b=1E3*a.startSecs;return new cv(b,b+1E3*a.Xh)}; ON=function(){this.B=new Map;this.j=new Map;this.C=new Map}; cK=function(a,b){if(g.yB("GENERATE_DETERMINSTIC_ADS_CONTROL_FLOW_IDS")){var c=a.B.get(b)||0;c++;a.B.set(b,c);return b+"_"+c}return g.LE(16)}; QJ=function(a,b,c){if(g.yB("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.LE(16)}; kN=function(a,b){if(g.yB("GENERATE_DETERMINSTIC_ADS_CONTROL_FLOW_IDS")){var c=a.C.get(b)||0;c++;a.C.set(b,c);return b+"_"+c}return g.LE(16)}; LFa=function(a){var b=[new HI(a.jq),new Hya(a.PQ),new vI(a.adPlacementConfig),new NI(a.videoLengthSeconds),new $I(a.bJ)];a.instreamAdPlayerOverlayRenderer&&b.push(new CI(a.instreamAdPlayerOverlayRenderer));a.playerOverlayLayoutRenderer&&b.push(new DI(a.playerOverlayLayoutRenderer));a.AM&&b.push(new zI(a.AM));return b}; MFa=function(a,b,c,d,e,f){a=c.inPlayerLayoutId?c.inPlayerLayoutId:QJ(f,"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",a);var h,l,m=c.instreamAdPlayerOverlayRenderer?null==(h=c.instreamAdPlayerOverlayRenderer)?void 0:h.adLayoutLoggingData:null==(l=c.playerOverlayLayoutRenderer)?void 0:l.adLayoutLoggingData;h={layoutId:a,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",bb:b};return{layoutId:a,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Tb:new Map,layoutExitNormalTriggers:[new iM(function(n){return kN(f, n)},c.jq)], layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:b,Ca:d,uc:e(h),adLayoutLoggingData:m}}; PN=function(a,b){var c=this;this.fb=a;this.Ha=b;this.j=function(d){return kN(c.fb.get(),d)}}; XDa=function(a,b,c,d,e,f){c=new lJ([new EI(c),new vI(d)]);b=QJ(a.fb.get(),"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",b);d={layoutId:b,layoutType:"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",bb:"core"};return{layoutId:b,layoutType:"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",Tb:new Map,layoutExitNormalTriggers:[new iM(function(h){return kN(a.fb.get(),h)},e)], layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:c,uc:f(d),adLayoutLoggingData:void 0}}; jN=function(a,b,c,d,e){var f=LFa(d);return MFa(b,c,d,new lJ(f),e,a.fb.get())}; NFa=function(a,b,c,d,e){var f=LFa(d);f.push(new Aya(d.t4));f.push(new Bya(d.u4));return MFa(b,c,d,new lJ(f),e,a.fb.get())}; qN=function(a,b,c,d,e,f,h,l,m,n){b=QJ(a.fb.get(),c,b);var p={layoutId:b,layoutType:c,bb:"core"},q=new Map;h&&q.set("impression",h);h=[new UCa(a.j,e)];n&&h.push(new hM(a.j,n,["normal"]));return{layoutId:b,layoutType:c,Tb:q,layoutExitNormalTriggers:h,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:new lJ([d,new vI(f),new HI(e)]),uc:l(p),adLayoutLoggingData:m}}; NEa=function(a,b,c){var d=[];d.push(new VCa(a.j,c));b&&d.push(b);return d}; MEa=function(a,b,c,d,e,f,h){var l={layoutId:b,layoutType:c,bb:"core"};return{layoutId:b,layoutType:c,Tb:new Map,layoutExitNormalTriggers:h,layoutExitSkipTriggers:[new dM(a.j,b)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:new lJ([new xya(d),new vI(e)]),uc:f(l),adLayoutLoggingData:d.adLayoutLoggingData}}; mEa=function(a,b,c,d,e,f,h,l){var m={layoutId:b,layoutType:f,bb:"core"};return{layoutId:b,layoutType:f,Tb:new Map,layoutExitNormalTriggers:[new iM(a.j,c)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Zc:[],bb:"core",Ca:new lJ([new vI(d)].concat(g.ra(h))),uc:e(m),adLayoutLoggingData:l}}; lN=function(a,b,c,d){if(a.Ha.get().qf("AD_PLACEMENT_KIND_START"===b.kind))if(void 0===c)HG("Expected SSAP layout ID in renderer",void 0,void 0,{caller:d});else return c}; PEa=function(a,b,c,d,e,f,h,l,m,n,p,q,r){a=VEa(a,b,c,e,f,h,l,m,q,lN(a,c,d.layoutId,"createSubLayoutVodSkippableMediaBreakLayoutForEndcap"),r);b=a.Ty;c=new II(a.LJ);d=a.layoutExitSkipTriggers;0b;b++)c[e]=b,d[b]=e,e^=e<<1^(e>>7&&283);WN=new Uint8Array(256);XN=VN(256);YN=VN(256);ZN=VN(256);$N=VN(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;WN[f]=e;b=e<<1^(e>>7&&283);var h=b^e;XN[f]=b<<24|e<<16|e<<8|h;YN[f]=h<<24|XN[f]>>>8;ZN[f]=e<<24|YN[f]>>>8;$N[f]=e<<24|ZN[f]>>>8}WFa=!0}e=VN(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=(WN[a>>16&255]^d)<<24|WN[a>>8&255]<<16|WN[a&255]<<8|WN[a>>>24],d=d<<1^(d>>7&&283)),e[c]=e[c-4]^a;this.key=e}; XFa=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=XN[c>>>24]^YN[d>>16&255]^ZN[e>>8&255]^$N[f&255]^b[n++],l=XN[d>>>24]^YN[e>>16&255]^ZN[f>>8&255]^$N[c&255]^b[n++],m=XN[e>>>24]^YN[f>>16&255]^ZN[c>>8&255]^$N[d&255]^b[n++],f=XN[f>>>24]^YN[c>>16&255]^ZN[d>>8&255]^$N[e&255]^b[n++],c=h,d=l,e=m;a=a.B;h=b[40];a[0]=WN[c>>>24]^h>>>24;a[1]=WN[d>>16&255]^h>>16&255;a[2]=WN[e>>8&255]^ h>>8&255;a[3]=WN[f&255]^h&255;h=b[41];a[4]=WN[d>>>24]^h>>>24;a[5]=WN[e>>16&255]^h>>16&255;a[6]=WN[f>>8&255]^h>>8&255;a[7]=WN[c&255]^h&255;h=b[42];a[8]=WN[e>>>24]^h>>>24;a[9]=WN[f>>16&255]^h>>16&255;a[10]=WN[c>>8&255]^h>>8&255;a[11]=WN[d&255]^h&255;h=b[43];a[12]=WN[f>>>24]^h>>>24;a[13]=WN[c>>16&255]^h>>16&255;a[14]=WN[d>>8&255]^h>>8&255;a[15]=WN[e&255]^h&255}; cO=function(){if(!YFa&&!g.LD){if(bO)return bO;var a;bO=null==(a=window.crypto)?void 0:a.subtle;var b,c,d;if((null==(b=bO)?0:b.importKey)&&(null==(c=bO)?0:c.sign)&&(null==(d=bO)?0:d.encrypt))return bO;bO=void 0}}; ZFa=function(){this.C=this.j=0;this.B=Array.from({length:dO.length}).fill(0)}; $Fa=function(){}; aGa=function(a){this.name=a;this.startTimeMs=(0,g.vD)();this.j=!1}; bGa=function(){this.j=new $Fa}; dGa=function(a,b,c,d){if(b&&"object"===typeof b&&"then"in b&&"function"===typeof b.then){var e=function(f){cGa(a,c,(0,g.vD)()-d);return f}; return b.then(e,e)}cGa(a,c,(0,g.vD)()-d);return b}; cGa=function(a,b,c,d){d=void 0===d?1:d;0<=c&&(b in a.j||(a.j[b]=new ZFa),a.j[b].zi(c,d))}; eGa=function(){}; fGa=function(a){if(!eO.isActive())return a.exports.AES128CTRCipher_encrypt.bind(a.exports);var b=a.j?"oals":"oalw";return function(c,d,e){eO.wm(b,function(){a.exports.AES128CTRCipher_encrypt(c,d,e)})}}; fO=function(a,b){g.J.call(this);var c=this;this.j=a;this.B=fGa(this.j);this.cipher=this.j.exports.AES128CTRCipher_create(b.byteOffset);this.addOnDisposeCallback(function(){c.j.exports.AES128CTRCipher_release(c.cipher)})}; g.gO=function(a){this.D=a}; g.hO=function(a){g.J.call(this);this.B=a}; iO=function(a,b){g.J.call(this);this.j=a;this.C=b}; gGa=function(a){this.G=new Uint8Array(64);this.C=new Uint8Array(64);this.D=0;this.K=new Uint8Array(64);this.B=0;this.G.set(a);this.C.set(a);for(a=0;64>a;a++)this.G[a]^=92,this.C[a]^=54;this.reset()}; hGa=function(a,b,c){for(var d=a.N,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],r,t,u,x=0;64>x;)16>x?(d[x]=u=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[x-2],t=d[x-15],u=d[x-7]+d[x-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),d[x]=u),r=q+jO[x]+u+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&n^~m&p),t=((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+(e&f^e&h^f&h),q=r+t,l+=r,x++,16>x?(d[x]=u=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r= d[x-2],t=d[x-15],u=d[x-7]+d[x-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),d[x]=u),r=p+jO[x]+u+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&m^~l&n),t=((q>>>2|q<<30)^(q>>>13|q<<19)^(q>>>22|q<<10))+(q&e^q&f^e&f),p=r+t,h+=r,x++,16>x?(d[x]=u=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[x-2],t=d[x-15],u=d[x-7]+d[x-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),d[x]=u),r=n+jO[x]+u+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&l^ ~h&m),t=((p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10))+(p&q^p&e^q&e),n=r+t,f+=r,x++,16>x?(d[x]=u=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[x-2],t=d[x-15],u=d[x-7]+d[x-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),d[x]=u),r=m+jO[x]+u+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&h^~f&l),t=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&p^n&q^p&q),u=q,q=l,l=u,u=p,p=h,h=u,u=n,n=f,f=u,m=e+r,e=r+t,x++;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}; jGa=function(a){var b=new Uint8Array(32),c=64-a.B;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;iGa(a);return b}; iGa=function(a){a.j=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];a.N=[];a.N.length=64;a.D=0;a.B=0}; kGa=function(a){this.j=a}; lGa=function(a,b,c){a=new gGa(a.j);a.update(b);a.update(c);b=jGa(a);a.update(a.G);a.update(b);b=jGa(a);a.reset();return b}; mGa=function(a){this.B=a}; nGa=function(a,b,c,d){var e,f,h;return g.I(function(l){switch(l.j){case 1:if(a.j){l.La(2);break}return g.y(l,d.importKey("raw",a.B,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),3);case 3:a.j=l.B;case 2:return e=new Uint8Array(b.length+c.length),e.set(b),e.set(c,b.length),f={name:"HMAC",hash:"SHA-256"},g.y(l,d.sign(f,a.j,e),4);case 4:return h=l.B,l.return(new Uint8Array(h))}})}; oGa=function(a,b,c){a.C||(a.C=new kGa(a.B));return lGa(a.C,b,c)}; pGa=function(a,b,c){var d,e;return g.I(function(f){if(1==f.j){d=cO();if(!d)return f.return(oGa(a,b,c));g.Ca(f,3);return g.y(f,nGa(a,b,c,d),5)}if(3!=f.j)return f.return(f.B);e=g.Ea(f);g.BF(e);YFa=!0;return f.return(oGa(a,b,c))})}; kO=function(){var a=qGa;var b=void 0===b?[]:b;var c=void 0===c?[]:c;b=ama.apply(null,[bma.apply(null,g.ra(b))].concat(g.ra(c)));this.store=dma(a,void 0,b)}; g.rGa=function(a,b,c){for(var d=Object.assign({},a),e=g.v(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.ra(h),g.ra(l)):l;else if(!Array.isArray(l)&&g.$a(l)&&!Array.isArray(h)&&g.$a(h))d[f]=g.rGa(h,l,c);else if(typeof l===typeof h)d[f]=l;else return b=new g.VC("Attempted to merge fields of differing types.",{name:"DeepMergeError",key:f,Yib:h,updateValue:l}), g.AF(b),a}return d}; lO=function(a){var b=this;a=void 0===a?[]:a;this.j=[];this.C=this.B=0;this.D=void 0;this.totalLength=0;a.forEach(function(c){b.append(c)})}; sGa=function(a,b){return 0===a.j.length?!1:(a=a.j[a.j.length-1])&&a.buffer===b.buffer&&a.byteOffset+a.length===b.byteOffset}; mO=function(a,b){b=g.v(b.j);for(var c=b.next();!c.done;c=b.next())a.append(c.value)}; nO=function(a,b,c){return a.split(b).Bm.split(c).qI}; tGa=function(a){a.D=void 0;a.B=0;a.C=0}; uGa=function(a,b,c){a.isFocused(b);return b-a.C+c<=a.j[a.B].length}; vGa=function(a){if(!a.D){var b=a.j[a.B];a.D=new DataView(b.buffer,b.byteOffset,b.length)}return a.D}; wGa=function(a,b,c){b=void 0===b?0:b;c=void 0===c?-1:c;if(!a.totalLength||!c)return new DataView(new ArrayBuffer(0));0>c&&(c=a.totalLength-b);a.focus(b);if(!uGa(a,b,c)){var d=a.B,e=a.C;a.focus(b+c-1);e=new Uint8Array(a.C+a.j[a.B].length-e);for(var f=0,h=d;h<=a.B;h++)e.set(a.j[h],f),f+=a.j[h].length;a.j.splice(d,a.B-d+1,e);tGa(a);a.focus(b)}d=a.j[a.B];return new DataView(d.buffer,d.byteOffset+b-a.C,c)}; oO=function(a,b,c){a=wGa(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}; xGa=function(a,b,c){a=oO(a,void 0===b?0:b,void 0===c?-1:c);b=new Uint8Array(a.length);try{b.set(a)}catch(d){for(c=0;ce&&bf)tO[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;tO[e++]=55296|f>>10;f=56320|f&1023}tO[e++]=f}}f=String.fromCharCode.apply(String,tO); 1024>e&&(f=f.substr(0,e));c.push(f)}return c.join("")}; wO=function(a,b){var c;if(null==(c=vO)?0:c.encodeInto)return b=vO.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}; AGa=function(a){if(vO)return vO.encode(a);var b=new Uint8Array(Math.ceil(1.2*a.length)),c=wO(a,b);b.lengthc&&(b=b.subarray(0,c));return b}; xO=function(a){this.j=a;this.pos=0;this.B=-1}; yO=function(a){var b=pO(a.j,a.pos);++a.pos;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=pO(a.j,a.pos),++a.pos,d*=128,c+=(b&127)*d;return c}; zO=function(a,b){var c=a.B;for(a.B=-1;a.pos+1<=a.j.totalLength;){0>c&&(c=yO(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.B=c;break}c=-1;switch(e){case 0:yO(a);break;case 1:a.pos+=8;break;case 2:d=yO(a);a.pos+=d;break;case 5:a.pos+=4}}return!1}; AO=function(a,b){if(zO(a,b))return yO(a)}; BO=function(a,b){if(zO(a,b))return!!yO(a)}; CO=function(a,b){if(zO(a,b)){b=yO(a);var c=oO(a.j,a.pos,b);a.pos+=b;return c}}; DO=function(a,b){if(a=CO(a,b))return g.uO(a)}; EO=function(a,b,c){if(a=CO(a,b))return c(new xO(new lO([a])))}; FO=function(a,b){for(var c=[];zO(a,b);)c.push(yO(a));return c.length?c:void 0}; GO=function(a,b,c){for(var d=[],e;e=CO(a,b);)d.push(c(new xO(new lO([e]))));return d.length?d:void 0}; HO=function(a,b){a=a instanceof Uint8Array?new lO([a]):a;return b(new xO(a))}; BGa=function(a,b){a=void 0===a?4096:a;this.B=b;this.pos=0;this.C=[];b=void 0;if(this.B)try{var c=this.B.exports.malloc(a);b=new Uint8Array(this.B.exports.memory.buffer,c,a)}catch(d){}b||(b=new Uint8Array(a));this.j=b;this.view=new DataView(this.j.buffer,this.j.byteOffset,this.j.byteLength)}; IO=function(a,b){var c=a.pos+b;if(!(a.j.length>=c)){for(b=2*a.j.length;bd;d++)a.view.setUint8(a.pos,c&127|128),c>>=7,a.pos+=1;b=Math.floor(b/268435456)}for(IO(a,4);127>=7,a.pos+=1;a.view.setUint8(a.pos,b);a.pos+=1}; KO=function(a,b,c){void 0!==c&&(JO(a,8*b),JO(a,c))}; LO=function(a,b,c){void 0!==c&&KO(a,b,c?1:0)}; MO=function(a,b,c){void 0!==c&&(JO(a,8*b+2),b=c.length,JO(a,b),IO(a,b),a.j.set(c,a.pos),a.pos+=b)}; NO=function(a,b,c){void 0!==c&&(CGa(a,b,Math.ceil(Math.log2(4*c.length+2)/7)),IO(a,1.2*c.length),b=wO(c,a.j.subarray(a.pos)),a.pos+b>a.j.length&&(IO(a,b),b=wO(c,a.j.subarray(a.pos))),a.pos+=b,DGa(a))}; CGa=function(a,b,c){c=void 0===c?2:c;JO(a,8*b+2);a.C.push(a.pos);a.C.push(c);a.pos+=c}; DGa=function(a){for(var b=a.C.pop(),c=a.C.pop(),d=a.pos-c-b;b--;){var e=b?128:0;a.view.setUint8(c++,d&127|e);d>>=7}}; OO=function(a,b,c,d,e){c&&(CGa(a,b,void 0===e?3:e),d(a,c),DGa(a))}; EGa=function(a){a.B&&a.j.buffer!==a.B.exports.memory.buffer&&(a.j=new Uint8Array(a.B.exports.memory.buffer,a.j.byteOffset,a.j.byteLength),a.view=new DataView(a.j.buffer,a.j.byteOffset,a.j.byteLength));return new Uint8Array(a.j.buffer,a.j.byteOffset,a.pos)}; g.PO=function(a,b,c){c=new BGa(4096,c);b(c,a);return EGa(c)}; g.QO=function(a){var b=new xO(new lO([ug(decodeURIComponent(a))]));a=DO(b,2);b=AO(b,4);var c=FGa[b];if("undefined"===typeof c)throw a=new g.VC("Failed to recognize field number",{name:"EntityKeyHelperError",yhb:b}),g.AF(a),a;return{G5:b,entityType:c,entityId:a}}; g.RO=function(a,b){var c=new BGa;MO(c,2,AGa(a));a=GGa[b];if("undefined"===typeof a)throw b=new g.VC("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:b}),g.AF(b),b;KO(c,4,a);KO(c,5,1);b=EGa(c);return encodeURIComponent(g.sg(b))}; SO=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))}; HGa=function(a,b,c,d,e){var f=a[b];if(null==f||!f[c])return a;d=g.rGa(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))}; IGa=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.AF(Error("Missing entity key")),d;if("ENTITY_MUTATION_TYPE_REPLACE"===e.type){if(!e.payload)return g.AF(new g.VC("REPLACE entity mutation is missing a payload",{entityKey:e.entityKey})),d;var l=g.ad(e.payload); return SO(d,l,e.entityKey,e.payload[l])}if("ENTITY_MUTATION_TYPE_DELETE"===e.type){e=e.entityKey;try{var m=g.QO(e).entityType;l=SO(d,m,e)}catch(q){if(q instanceof Error)g.AF(new g.VC("Failed to deserialize entity key",{entityKey:e,DQ:q.message})),l=d;else throw q;}return l}if("ENTITY_MUTATION_TYPE_UPDATE"===e.type){if(!e.payload)return g.AF(new g.VC("UPDATE entity mutation is missing a payload",{entityKey:e.entityKey})),d;l=g.ad(e.payload);var n,p;return HGa(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 SO(a,c.entityType,c.key,c.F5);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 SO(h,e,l,f[l])},d)},a); case "UPDATE_ENTITY":return c=b.payload,HGa(a,c.entityType,c.key,c.F5,c.Rib);default:return a}}; TO=function(a,b,c){return a[b]?a[b][c]||null:null}; KGa=function(a){var b=a.hours||0;var c=a.minutes||0,d=a.seconds||0;b=d+60*c+3600*b+86400*(a.days||0)+604800*(a.weeks||0)+2629800*(a.months||0)+31557600*(a.years||0);0>=b?b={hours:0,minutes:0,seconds:0}:(a=b,b=Math.floor(a/3600),a%=3600,c=Math.floor(a/60),d=Math.floor(a%60),b={hours:b,minutes:c,seconds:d});var e=void 0===b.hours?0:b.hours;c=void 0===b.minutes?0:b.minutes;a=void 0===b.seconds?0:b.seconds;d=0c?JGa().format(c):(new Intl.NumberFormat("en-u-nu-latn")).format(c);b.push(c);c=JGa().format(a);b.push(c);c=":";"da fi id si sl sr sr-Latn".split(" ").includes(UO)&&(c=".");return b.join(c)}; JGa=function(){return new Intl.NumberFormat("en-u-nu-latn",{minimumIntegerDigits:2})}; LGa=function(a,b){var c,d;a=(null==(c=a.watchEndpointSupportedAuthorizationTokenConfig)?void 0:null==(d=c.videoAuthorizationToken)?void 0:d.credentialTransferTokens)||[];for(c=0;ca}; eLa=function(a,b){dLa(a.program,b.Haa)&&(TH("bg_i",void 0,"player_att"),g.fI.initialize(a,function(){TH("bg_l",void 0,"player_att");bLa=(0,g.vD)()},b.cspNonce))}; fLa=function(a){a=void 0===a?{}:a;return g.fI.invoke(a)}; gLa=function(a){var b=g.BB("botguard_async_snapshot_timeout_ms",3E3);a=void 0===a?{}:a;return gya(a,b)}; dLa=function(a,b){return a?g.fI.isLoading()?!1:cLa(b):!1}; hLa=function(a){a=a.split("");vP.Rr(a,41);vP.ls(a,2);vP.xl(a,25);vP.Rr(a,35);vP.Rr(a,24);vP.xl(a,8);vP.Rr(a,6);vP.ls(a,2);return a.join("")}; g.iLa=function(a,b){return a.Ka+"timedtext_video?ref=player&v="+b.videoId}; g.wP=function(a,b){a.feature=b;return a}; g.jLa=function(a){var b=this;this.videoData=a;a={};this.B=(a.c1a=function(){var c=[];if(g.fI.isInitialized()){var d="";b.videoData&&b.videoData.Hk&&(d=b.videoData.Hk+("&r1b="+b.videoData.clientPlaybackNonce));var e={};d=(e.atr_challenge=d,e);TH("bg_v",void 0,"player_att");d=fLa(d);TH("bg_s",void 0,"player_att");d?c.push("r1a="+d):c.push("r1c=2")}else TH("bg_e",void 0,"player_att"),window.trayride||window.botguard?c.push("r1c=1"):c.push("r1c=4");c.push("r1d="+g.fI.getState());return c.join("&")},a.c6a= function(c){return"r6a="+(Number(c.c)^kya())},a.c6b=function(c){return"r6b="+(Number(c.c)^Number(g.yB("CATSTAT",0)))},a); this.videoData&&this.videoData.Hk?this.j=IB(this.videoData.Hk):this.j={}}; g.kLa=function(a){if(a.videoData&&a.videoData.Hk){for(var b=[a.videoData.Hk],c=g.v(Object.keys(a.B)),d=c.next();!d.done;d=c.next())d=d.value,a.j[d]&&a.B[d]&&(d=a.B[d](a.j))&&b.push(d);return b.join("&")}return null}; mLa=function(a){var b={};Object.assign(b,a.B);g.AB("player_attestation_bg_async")&&(b.c1a=function(){return lLa(a)}); if(a.videoData&&a.videoData.Hk){for(var c=[a.videoData.Hk],d=g.v(Object.keys(b)),e=d.next();!e.done;e=d.next())e=e.value,a.j[e]&&b[e]&&(e=b[e](a.j))&&c.push(e);return new Promise(function(f,h){Promise.all(c).then(function(l){f(l.filter(function(m){return!!m}).join("&"))},h)})}return Promise.resolve(null)}; g.nLa=function(a,b){eLa(a,{Haa:g.rJ(b.experiments,"bg_vm_reinit_threshold"),cspNonce:b.cspNonce})}; lLa=function(a){function b(e){return e+"&r1d="+g.fI.getState()} if(!g.fI.isInitialized())return TH("bg_e",void 0,"player_att"),window.trayride||window.botguard?Promise.resolve(b("r1c=1")):Promise.resolve(b("r1c=4"));var c="";a.videoData&&a.videoData.Hk&&(c=a.videoData.Hk+("&r1b="+a.videoData.clientPlaybackNonce));a={};var d=(a.atr_challenge=c,a);return new Promise(function(e){TH("bg_v",void 0,"player_att");gLa(d).then(function(f){f?(TH("bg_s",void 0,"player_att"),e(b("r1a="+f))):(TH("bg_e",void 0,"player_att"),e(b("r1c=2")))},function(){TH("bg_e",void 0,"player_att"); e(b("r1c=3"))})})}; xP=function(a){a=void 0===a?2592E3:a;if(0(0,g.vD)()-1E3*a))return 0;a=g.OC("yt-player-quality");if("string"===typeof a){if(a=g.KK[a],0a.previousQuality)return 1;if(a.quality=b)}; GP=function(a){return"["+a.B+"-"+a.j+", override: "+(a.C+", reason: "+a.reason+"]")}; HP=function(a,b,c){this.videoInfos=a;this.j=b;this.audioTracks=[];if(this.j){a=new Set;null==c||c({ainfolen:this.j.length});b=g.v(this.j);for(var d=b.next();!d.done;d=b.next())if(d=d.value,!d.Oc||a.has(d.Oc.id)){var e=void 0,f=void 0,h=void 0;null==(h=c)||h({atkerr:!!d.Oc,itag:d.itag,xtag:d.j,lang:(null==(e=d.Oc)?void 0:e.name)||"",langid:(null==(f=d.Oc)?void 0:f.id)||""})}else e=new g.AP(d.id,d.Oc),a.add(d.Oc.id),this.audioTracks.push(e);null==c||c({atklen:this.audioTracks.length})}}; yLa=function(){g.J.apply(this,arguments);this.j=null}; CLa=function(a,b,c,d,e,f){if(a.j)return a.j;var h={},l=new Set,m={};if(IP(d)){for(var n in d.j)d.j.hasOwnProperty(n)&&(a=d.j[n],m[a.info.ub]=[a.info]);return m}n=zLa(b,d,h);f&&e({aftsrt:JP(n)});for(var p={},q=g.v(Object.keys(n)),r=q.next();!r.done;r=q.next()){r=r.value;for(var t=g.v(n[r]),u=t.next();!u.done;u=t.next()){u=u.value;var x=u.itag,B=void 0,F=r+"_"+((null==(B=u.video)?void 0:B.fps)||0);p.hasOwnProperty(F)?!0===p[F]?m[r].push(u):h[x]=p[F]:(B=KP(b,u,c,d.isLive,l),!0!==B?(h[x]=B,"disablevp9hfr"=== B&&(p[F]="disablevp9hfr")):(m[r]=m[r]||[],m[r].push(u),p[F]=!0))}}f&&e({bfflt:JP(m)});for(var G in m)m.hasOwnProperty(G)&&(d=G,m[d]&&m[d][0].fh()&&(m[d]=m[d],m[d]=ALa(b,m[d],h),m[d]=BLa(m[d],h)));f&&e(h);b=g.v(l.values());for(d=b.next();!d.done;d=b.next())(d=c.B.get(d.value))&&--d.WZ;f&&e({aftflt:JP(m)});a.j=g.Xc(m,function(H){return!!H.length}); return a.j}; ELa=function(a,b,c,d,e,f,h,l){l=void 0===l?!1:l;if(b.pd&&h&&1h?q=c:b.Od&&e===h&&NLa(p[c])&&(q=c));"9"===q&&p.h&&NP(p.h)>NP(p["9"])&&(q="h");b.Jb&&d.isLive&&"("===q&&p.H&&1440>NP(p["("])&&(q="H");m&&f({vfmly:OLa(q)});b=p[q];if(!b.length)return m&&f({novfmly:OLa(q)}), aC();MP(b);return bC(new HP(b,a,n))}; GLa=function(a){var b=!(!a.mac3&&!a.MAC3),c=!(!a.meac3&&!a.MEAC3);return!(!a.m&&!a.M)||b||c}; NLa=function(a){a=g.v(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.itag&&PLa.has(b.itag))return!0;return!1}; OLa=function(a){switch(a){case "*":return"v8e";case "(":return"v9e";case "(h":return"v9he";default:return a}}; JP=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=c;b.push(OLa(d));d=g.v(a[d]);for(var e=d.next();!e.done;e=d.next())b.push(e.value.itag)}return b.join(".")}; FLa=function(a,b,c,d,e,f){var h={},l={};g.Wc(b,function(m,n){m=m.filter(function(p){var q=p.itag;if(!p.je)return l[q]="noenc",!1;if(f.Db&&"(h"===p.ub&&f.tb)return l[q]="lichdr",!1;if("("===p.ub||"(h"===p.ub){if(a.C&&c&&"widevine"===c.flavor){var r=p.mimeType+"; experimental=allowed";(r=!!p.je[c.flavor]&&!!c.j[r])||(l[q]=p.je[c.flavor]?"unspt":"noflv");return r}if(!OP(a,PP.CRYPTOBLOCKFORMAT)&&!a.Aa||a.ma)return l[q]=a.ma?"disvp":"vpsub",!1}return c&&p.je[c.flavor]&&c.j[p.mimeType]?!0:(l[q]=c?p.je[c.flavor]? "unspt":"noflv":"nosys",!1)}); m.length&&(h[n]=m)}); d&&Object.entries(l).length&&e(l);return h}; BLa=function(a,b){var c=nr(a,function(d,e){return 32c&&(a=a.filter(function(d){if(32a.K)return"max"+a.K;if(a.ob&&"h"===b.ub&&b.video&&1080a.Sb)return"ratecap";a=QLa(c,b);return!0!== a?a:!0}; MP=function(a,b){b=void 0===b?[]:b;g.Xb(a,function(c,d){var e=d.Sb-c.Sb;if(!c.fh()||!d.fh())return e;var f=d.video.height*d.video.width-c.video.height*c.video.width;!f&&b&&0a.Ad())a.segments=[];else{var c=yb(a.segments,function(d){return d.Oa>=b},a); 0a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-bc;c++){var d=a.getInt8(b+c);if(48>d||122d;d++)c[d]=a.getInt8(b.offset+16+d);return c}; pQ=function(a,b){this.j=a;this.pos=0;this.start=b||0}; qQ=function(a){return a.pos>=a.j.byteLength}; vQ=function(a,b,c){var d=new pQ(c);if(!rQ(d,a))return!1;d=sQ(d);if(!tQ(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=d.start+d.pos;var e=uQ(d,!0);d=a+(d.start+d.pos-b)+e;d=9b;b++)c=256*c+zQ(a);return c}for(var d=128,e=0;6>e&&d>c;e++)c=256*c+zQ(a),d*=128;return b?c-d:c}; xQ=function(a){var b=uQ(a,!0);a.pos+=b}; yMa=function(a){if(!tQ(a,440786851,!0))return null;var b=a.pos;uQ(a,!1);var c=uQ(a,!0)+a.pos-b;a.pos=b+c;if(!tQ(a,408125543,!1))return null;uQ(a,!0);if(!tQ(a,357149030,!0))return null;var d=a.pos;uQ(a,!1);var e=uQ(a,!0)+a.pos-d;a.pos=d+e;if(!tQ(a,374648427,!0))return null;var f=a.pos;uQ(a,!1);var h=uQ(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}; AQ=function(a){var b=a.pos;a.pos=0;var c=1E6;rQ(a,[408125543,357149030,2807729])&&(c=wQ(a));a.pos=b;return c}; zMa=function(a,b){var c=a.pos;a.pos=0;if(160!==a.j.getUint8(a.pos)&&!BQ(a)||!tQ(a,160))return a.pos=c,NaN;uQ(a,!0);var d=a.pos;if(!tQ(a,161))return a.pos=c,NaN;uQ(a,!0);zQ(a);var e=zQ(a)<<8|zQ(a);a.pos=d;if(!tQ(a,155))return a.pos=c,NaN;d=wQ(a);a.pos=c;return(e+d)*b/1E9}; BQ=function(a){if(!AMa(a)||!tQ(a,524531317))return!1;uQ(a,!0);return!0}; AMa=function(a){if(a.Fn()){if(!tQ(a,408125543))return!1;uQ(a,!0)}return!0}; rQ=function(a,b){for(var c=0;c=Math.abs(a.D-b.C)||a.Oa+1===b.Oa&&0===b.Yb&&a.df?!0:!1}; IMa=function(a){return a.Oa+(a.df?1:0)}; JMa=function(a){1===a.length||g.mr(a,function(c){return!!c.range}); for(var b=1;b=b.range.start+b.Yb&&a.range.start+a.Yb+a.B<=b.range.start+b.Yb+b.B:a.Oa===b.Oa&&a.Yb>=b.Yb&&(a.Yb+a.B<=b.Yb+b.B||b.df)}; QMa=function(a,b){return a.j!==b.j?!1:4===a.type&&3===b.type&&a.j.og()?(a=a.j.hB(a),js(a,function(c){return QMa(c,b)})):a.Oa===b.Oa&&!!b.B&&b.Yb+b.B>a.Yb&&b.Yb+b.B<=a.Yb+a.B}; RMa=function(a,b){var c=b.Oa;a.G="updateWithSegmentInfo";a.Oa=c;if(a.startTime!==b.startTime||a.duration!==b.duration)a.startTime=b.startTime,a.duration=b.duration,FMa(a)}; NQ=function(a,b){var c=this;this.eb=a;this.D=this.j=null;this.G=this.Zg=NaN;this.K=this.requestId=null;this.Hd={kib:function(){return c.range}}; this.resource=a[0].j.resource;this.B=b||"";this.eb[0].range&&0e.timedOut&&1>e.j&&6!==d)return!1;var f=e.timedOut+e.j;a=aNa(a,b);c=RQ(c,SP(a));return 6===d?c.Bb.Gi?1E3*Math.pow(1.6,c-b.Gi):0;return 0===b?!0:a.N+b<(0,g.vD)()}; dNa=function(a,b,c){a.j.set(b,c);a.C.set(b,c);a.D&&a.D.set(b,c)}; TQ=function(a,b,c,d){this.initRange=c;this.indexRange=d;this.j=null;this.C=!1;this.K=0;this.D=this.B=null;this.info=b;this.resource=new SQ(a)}; UQ=function(a,b,c,d,e,f){f=void 0===f?0:f;TQ.call(this,a,b,d,void 0);this.G=c;this.Bj=f;this.index=e||new g.XP}; eNa=function(a,b,c,d,e){this.Oa=a;this.startSecs=b;this.Xh=c;this.j=d||NaN;this.B=e||NaN}; VQ=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""}; WQ=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 WP(n,e,f,NaN,"sq/"+(n+1)));e+=f;h--}a.index.append(c)}}; aR=function(a,b){this.info=a;this.j=b;this.B=null;this.D=-1;this.timestampOffset=0;this.G=!1;this.C=this.info.j.Rz()&&!this.info.Yb}; bR=function(a){return wGa(a.j)}; rNa=function(a,b){a.j.getLength();b=Math.min(b,a.info.B);var c=a.j.split(b);return[new aR(new HQ(a.info.type,a.info.j,a.info.range,a.info.G,a.info.Oa,a.info.startTime,a.info.duration,a.info.Yb,b,!1,a.info.zj,a.info.clipId),c.qI),new aR(new HQ(a.info.type,a.info.j,a.info.range,a.info.G,a.info.Oa,a.info.startTime,a.info.duration,a.info.Yb+b,a.info.B-b,a.info.df,a.info.zj,a.info.clipId),c.Bm)]}; cR=function(a,b,c){var d;if(!(d=!LQ(a.info,b.info)||a.info.df)){if(c=void 0===c?!1:c)c=b.j,c=!(c.j.length?sGa(a.j,c.j[0]):1);d=c}if(d)return null;c=new HQ(a.info.type,a.info.j,a.info.range,a.info.G,a.info.Oa,a.info.startTime,a.info.duration,a.info.Yb,a.info.B,a.info.df,a.info.zj,a.info.clipId);d=b.info;c.B+=d.B;c.range&&(c.K+=d.K);c.D=d.D;c.df=d.df;d=new lO;mO(d,a.j);mO(d,b.j);c=new aR(c,d);c.B=b.B||a.B;return c}; sNa=function(a){g.TK(a.info.j.info)||a.info.j.info.Me();if(-1!==a.D)return a.D;if(a.B&&fMa(a.B))return a.D=fMa(a.B),a.D;if(g.TK(a.info.j.info)){var b=bR(a);for(var c=a.info.j.j,d=NaN,e=NaN,f=0;lQ(b,f);){var h=mQ(b,f);1936286840===h.type?e=h.data.getUint32(h.dataOffset+8):1836476516===h.type?e=g.iQ(h):1952867444===h.type&&isNaN(d)&&(d=g.nMa(h));f=nQ(h.type)?f+8:f+h.size}!e&&c&&(e=jQ(c));b=d/e}else b=new pQ(bR(a)),c=a.C?b:new pQ(new DataView(a.info.j.j.buffer)),d=AQ(c),c=b.pos,b.pos=0,BQ(b)?tQ(b,231)? (d=wQ(b)*d/1E9,b.pos=c,b=d):(b.pos=c,b=NaN):(b.pos=c,b=NaN);a.D=b||a.info.C;return a.D}; uNa=function(a,b){0e)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}; dR=function(a,b){b=void 0===b?!1:b;var c=vNa(a);a=b?0:a.info.K;return c||a}; vNa=function(a){g.TK(a.info.j.info)||a.info.j.info.Me();if(a.B&&7===a.info.type)return a.B.Bj;if(g.TK(a.info.j.info)){var b=bR(a);var c=0;b=g.oQ(b,1936286840);b=g.v(b);for(var d=b.next();!d.done;d=b.next())d=oMa(d.value),c+=d.dS[0]/d.Du;c=c||NaN;if(!(0<=c))a:{c=bR(a);b=a.info.j.j;for(var e=d=0,f=0;lQ(c,d);){var h=mQ(c,d);if(1836476516===h.type)e=g.iQ(h);else if(1836019558===h.type){!e&&b&&(e=jQ(b));if(!e){c=NaN;break a}var l=kQ(h.data,h.dataOffset,1953653094),m=e,n=kQ(l.data,l.dataOffset,1952868452); l=kQ(l.data,l.dataOffset,1953658222);var p=$P(n);$P(n);p&2&&$P(n);n=p&8?$P(n):0;var q=$P(l),r=q&1;p=q&4;var t=q&256,u=q&512,x=q&1024;q&=2048;var B=aQ(l);r&&$P(l);p&&$P(l);for(var F=r=0;Fa.Z&&a.isLivePlayback;a.Ya=Number(VQ(c,a.D+":earliestMediaSequence"))||0;if(d=Date.parse(gNa(VQ(c,a.D+":mpdResponseTime"))))a.ma=((0,g.vD)()-d)/1E3;a.isLive&&0>=c.getElementsByTagName("SegmentTimeline").length||g.mr(c.getElementsByTagName("Period"),a.baa,a);a.state=2;a.oa("loaded");eOa(a)}return a}).xk(function(c){if(c instanceof XB){var d=c.xhr; a.Fg=d.status}a.state=3;a.oa("loaderror");return Zf(d)})}; gOa=function(a,b,c){return fOa(new hR(a,b,c),a)}; hOa=function(a){return a.isLive&&(0,g.vD)()-a.Ka>=a.Z}; iOa=function(a){a.G&&a.G.stop()}; eOa=function(a){var b=a.Z;isFinite(b)&&(hOa(a)?a.refresh():(b=Math.max(0,a.Ka+b-(0,g.vD)()),a.G||(a.G=new g.Bu(a.refresh,b,a),g.L(a,a.G)),a.G.start(b)))}; jOa=function(a){a=a.j;for(var b in a){var c=a[b].index;if(c.isLoaded())return c.Ad()+1}return 0}; kR=function(a){return a.jd?a.jd-(a.N||a.timestampOffset):0}; lR=function(a){return a.Jb?a.Jb-(a.N||a.timestampOffset):0}; mR=function(a){if(!isNaN(a.Aa))return a.Aa;var b=a.j,c;for(c in b){var d=b[c].index;if(d.isLoaded()&&!YK(b[c].info.mimeType)){b=0;for(c=d.hn();c<=d.Ad();c++)b+=d.getDuration(c);b/=d.yz();b=.5*Math.round(b/.5);10=navigator.hardwareConcurrency&&(a=480);b.coreCount=navigator.hardwareConcurrency;Eoa()&&(b.isArm=1,a=240);if(c){var f,h;if(d=null==(f=c.videoInfos.find(function(l){return QK(l)}))?void 0:null==(h=f.B)?void 0:h.powerEfficient)a=8192,b.isEfficient=1; c=c.videoInfos[0].video;f=Math.min(zP("1",c.fps),zP("1",30));b.perfCap=f;a=Math.min(a,f);c.isHdr()&&!d&&(b.hdr=1,a*=.75)}else c=zP("1",30),b.perfCap30=c,a=Math.min(a,c),c=zP("1",60),b.perfCap60=c,a=Math.min(a,c);return b.av1Threshold=a}; pR=function(a,b,c,d){this.flavor=a;this.keySystem=b;this.B=c;this.experiments=d;this.j={};this.Ya=this.keySystemAccess=null;this.ey=this.gy=-1;this.Ll=null;this.C=!!d&&d.jb("edge_nonprefixed_eme")}; rR=function(a){return a.C?!1:!a.keySystemAccess&&!!qR()&&"com.microsoft.playready"===a.keySystem}; sR=function(a){return"com.microsoft.playready"===a.keySystem}; tR=function(a){return!a.keySystemAccess&&!!qR()&&"com.apple.fps.1_0"===a.keySystem}; uR=function(a){return"com.youtube.fairplay"===a.keySystem}; vR=function(a){return"com.youtube.fairplay.sbdl"===a.keySystem}; g.wR=function(a){return"fairplay"===a.flavor}; qR=function(){var a=window,b=a.MSMediaKeys;kC()&&!b&&(b=a.WebKitMediaKeys);return b&&b.isTypeSupported?b:null}; uOa=function(a){if(!navigator.requestMediaKeySystemAccess)return!1;if(g.cL&&!g.iC())return ev("45");if(g.LD||g.af)return a.jb("edge_nonprefixed_eme");if(g.xR)return ev("47");if(g.pD){if(a.jb("html5_enable_safari_fairplay"))return!1;if(a=g.rJ(a,"html5_safari_desktop_eme_min_version"))return ev(a)}return!0}; wOa=function(a,b,c,d){var e=jC(),f=(c=e||c&&kC())?["com.youtube.fairplay"]:["com.widevine.alpha"];b&&f.unshift("com.youtube.widevine.l3");e&&d&&f.unshift("com.youtube.fairplay.sbdl");return c?f:a?[].concat(g.ra(f),g.ra(vOa.playready)):[].concat(g.ra(vOa.playready),g.ra(f))}; yR=function(a,b,c,d,e){d=void 0===d?!1:d;g.J.call(this);this.Ia=b;this.useCobaltWidevine=d;this.va=e;this.B=[];this.C={};this.j={};this.callback=null;this.G=!1;this.D=[];this.initialize(a,!c)}; zOa=function(a,b){a.callback=b;a.D=[];uOa(a.Ia.experiments)?xOa(a):yOa(a)}; xOa=function(a){if(!a.isDisposed())if(0===a.B.length)a.callback(a.D);else{var b=a.B[0],c=a.C[b],d=AOa(a,c);if(zR&&zR.keySystem===b&&zR.Qaa===JSON.stringify(d))a.va("remksa",{re:!0}),BOa(a,c,zR.keySystemAccess);else{var e,f;a.va("remksa",{re:!1,ok:null!=(f=null==(e=zR)?void 0:e.keySystem)?f:""});zR=void 0;(AR.isActive()?AR.wm("emereq",function(){return navigator.requestMediaKeySystemAccess(b,d)}):navigator.requestMediaKeySystemAccess(b,d)).then(VO(function(h){BOa(a,c,h,d)}),VO(function(){a.G=!a.G&& "widevine"===a.C[a.B[0]].flavor; a.G||a.B.shift();xOa(a)}))}}}; BOa=function(a,b,c,d){if(!a.isDisposed()){d&&(zR={keySystem:b.keySystem,keySystemAccess:c,Qaa:JSON.stringify(d)});b.keySystemAccess=c;if(sR(b)){c=aL();d=g.v(Object.keys(a.j[b.flavor]));for(var e=d.next();!e.done;e=d.next())e=e.value,b.j[e]=!!c.canPlayType(e)}else{c=b.keySystemAccess.getConfiguration();if(c.audioCapabilities)for(d=g.v(c.audioCapabilities),e=d.next();!e.done;e=d.next())COa(a,b,e.value);if(c.videoCapabilities)for(c=g.v(c.videoCapabilities),d=c.next();!d.done;d=c.next())COa(a,b,d.value)}a.D.push(b); a.useCobaltWidevine||a.L("html5_enable_vp9_fairplay")&&vR(b)?(a.B.shift(),xOa(a)):a.callback(a.D)}}; COa=function(a,b,c){a.L("log_robustness_for_drm")?b.j[c.contentType]=c.robustness||!0:b.j[c.contentType]=!0}; AOa=function(a,b){var c={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};if(a.L("html5_enable_vp9_fairplay")&&uR(b))return c.audioCapabilities.push({contentType:'audio/mp4; codecs="mp4a.40.5"'}),c.videoCapabilities.push({contentType:'video/mp4; codecs="avc1.4d400b"'}),[c];sR(b)&&(c.initDataTypes=["keyids","cenc"]);for(var d=g.v(Object.keys(a.j[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.G?h.push({contentType:e}):f?h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(g.cL&&g.gC("windows nt")&&!a.L("html5_drm_enable_moho")||h.push({contentType:e,robustness:"HW_SECURE_ALL"}),f=e,a.L("html5_enable_cobalt_experimental_vp9_decoder")&&e.includes("vp09")&&(f=e+"; experimental=allowed"),h.push({contentType:f,robustness:"SW_SECURE_DECODE"}),"MWEB"===g.BR(a.Ia)&&(pC()||hC())&&(a.va("swcrypto",{}),h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"})))}return[c]}; yOa=function(a){if(qR()&&g.pD)a.D.push(new pR("fairplay","com.apple.fps.1_0","",a.Ia.experiments));else{var b=DOa(),c=g.zb(a.B,function(d){var e=a.C[d],f=!1,h=!1,l;for(l in a.j[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.D.push(a.C[c]);a.B=[]}a.callback(a.D)}; DOa=function(){var a=qR();if(a){var b=a.isTypeSupported;return function(d,e){return b(e,d)}}var c=aL(); return c&&(c.addKey||c.webkitAddKey)?function(d,e){return!!c.canPlayType(d,e)}:function(){return!1}}; EOa=function(a){this.experiments=a;this.Z=g.rJ(this.experiments,"html5_min_progress_event_interval_ms")||50;this.D=0;this.C=this.Z/1E3;this.ma=(this.G=this.experiments.jb("html5_consider_end_stall"))&&CR;this.N=this.experiments.jb("html5_ignore_stall_from_no_data_timeouts");this.K=this.experiments.jb("html5_ignore_stall_from_data_timeouts");this.B=this.experiments.jb("html5_measure_max_progress_handling");this.Y=(this.j=this.experiments.jb("html5_record_ump_timing"))&&this.experiments.jb("html5_use_ump_timing")}; FOa=function(a,b){this.j=void 0;this.experimentIds=a?a.split(","):[];this.flags=GB(b||"","&");a={};b=g.v(this.experimentIds);for(var c=b.next();!c.done;c=b.next())a[c.value]=!0;this.experiments=a}; g.rJ=function(a,b){return Number(a.flags[b])||0}; DR=function(a,b){return(a=a.flags[b])?a.toString():""}; GOa=function(a){if(a=a.flags.html5_web_po_experiment_ids)if(a=a.replace(/\[ *(.*?) *\]/,"$1"))return a.split(",").map(Number);return[]}; HOa=function(a){if(a.j)return a.j;if(1>=a.experimentIds.length)return a.j=a.experimentIds,a.j;var b=[].concat(g.ra(a.experimentIds)).map(function(d){return Number(d)}); b.sort();for(var c=b.length-1;0=f&&f>d&&!0===QLa(a,e,c)&&(d=f)}return d}; g.MOa=function(a,b){b=void 0===b?!1:b;return ER()&&a.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')||!b&&a.canPlayType(aL(),"application/x-mpegURL")?!0:!1}; OOa=function(a){NOa(function(){for(var b=g.v(Object.keys(PP)),c=b.next();!c.done;c=b.next())OP(a,PP[c.value])})}; OP=function(a,b){b.name in a.N||(a.N[b.name]=POa(a,b));return a.N[b.name]}; POa=function(a,b){if(a.G)return!!a.G[b.name];if(b===PP.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===PP.AV1_CODECS)return a.isTypeSupported("video/mp4; codecs="+b.valid)&&!a.isTypeSupported("video/mp4; codecs="+b.Cn);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.Cn)}; QOa=function(a){a.C||(a.C=!0,a.j=!0)}; ROa=function(a,b){var c=0;a.B.has(b)&&(c=a.B.get(b).M5);a.B.set(b,{M5:c+1,WZ:Math.pow(2,c+1)});a.j=!0}; JLa=function(a,b,c){var d;c=(null==(d=c.video)?void 0:d.fps)||0;return a.D.has(b+"_"+c)}; KLa=function(a,b,c){var d,e=(null==(d=c.video)?void 0:d.fps)||0;d=b+"_"+e;if(!a.D.has(d)){var f=!!c.audio;b={itag:c.itag,ub:b,di:f};f?b.numChannels=c.audio.numChannels:(f=c.video,b.maxWidth=null==f?void 0:f.width,b.maxHeight=null==f?void 0:f.height,b.maxFramerate=e,OP(a,PP.BITRATE)&&(b.xw=8*c.Sb),b.v7=null==f?void 0:f.isHdr());a.D.set(d,b)}}; FR=function(){g.TF.call(this);this.items={}}; GR=function(){g.gO.apply(this,arguments)}; HR=function(){g.hO.apply(this,arguments)}; IR=function(a,b){if(b.buffer!==a.exports.memory.buffer){var c=new Uint8Array(a.exports.memory.buffer,a.exports.malloc(b.byteLength),b.byteLength);c.set(b)}iO.call(this,a,c||b);c&&this.j.exports.free(c.byteOffset)}; SOa=function(a,b,c){this.encryptedClientKey=b;this.G=c;this.j=new Uint8Array(a.buffer,0,16);this.C=new Uint8Array(a.buffer,16)}; TOa=function(a){a.B||(a.B=new GR(a.j));return a.B}; JR=function(a){try{return ug(a)}catch(b){return null}}; UOa=function(a,b){if(!b&&a)try{b=JSON.parse(a)}catch(e){}if(b){a=b.clientKey?JR(b.clientKey):null;var c=b.encryptedClientKey?JR(b.encryptedClientKey):null,d=b.keyExpiresInSeconds?1E3*Number(b.keyExpiresInSeconds)+(0,g.vD)():null;a&&c&&d&&(this.j=new SOa(a,c,d));b.onesieUstreamerConfig&&(this.onesieUstreamerConfig=JR(b.onesieUstreamerConfig)||void 0);this.baseUrl=b.baseUrl}}; KR=function(a){this.j=this.B=0;this.alpha=Math.exp(Math.log(.5)/a)}; LR=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.resolution=b;this.B=0;this.C=!1;this.iz=!0;this.j=Math.round(a*this.resolution);this.values=Array(this.j);for(a=0;a=aS;m=b?b.useNativeControls:a.use_native_controls;this.Z=g.YR(this)&&this.B;n=this.B&&!this.Z;m=g.bS(this)||!l&&qC(n,m)?"3":"1";n=b?b.controlsType:a.controls;this.controlsType="0"!==n&&0!==n?m:"0";this.Gi=this.B;this.color=rC("red",b?b.progressBarColor:a.color,oPa);m=this.L("embeds_web_enable_modestbranding_deprecation")? !1:qC(!1,(null==b?0:b.embedsHostFlags)?b.embedsHostFlags.allowModestbranding:a.modestbranding);this.To="3"===this.controlsType||m&&"red"===this.color;this.Hc=!this.D;this.Nl=(m=!this.Hc&&!$R(this)&&!this.Aa&&!this.N&&!ZR(this))&&!this.To&&"1"===this.controlsType;this.ye=g.cS(this)&&m&&"0"===this.controlsType&&!this.Nl;this.Jp=this.Uo=l;this.Ed=("3"===this.controlsType||this.B||qC(!1,a.use_media_volume))&&!this.Z;this.Mm=lC&&!g.Pc(601)?!1:!0;this.No=this.D||!1;this.kd=$R(this)?"":(this.loaderUrl|| a.post_message_origin||"").substring(0,128);this.widgetReferrer=tC("",b?b.widgetReferrer:a.widget_referrer);var p;b?b.disableCastApi&&(p=!1):p=a.enablecastapi;p=!this.K||qC(!0,p);l=!0;b&&b.disableMdxCast&&(l=!1);this.Yj=this.L("enable_cast_for_web_unplugged")&&g.dS(this)&&l||this.L("enable_cast_on_music_web")&&g.ZG(this)&&l||p&&l&&"1"===this.controlsType&&!this.B&&($R(this)||g.cS(this)||g.eS(this))&&!g.fS(this);this.Ep=!!window.document.pictureInPictureEnabled||qBa();p=b?!!b.supportsAutoplayOverride: qC(!1,a.autoplayoverride);this.Ug=!(this.B&&!g.YR(this))&&!g.gC("nintendo wiiu")||p;p=b?!!b.enableMutedAutoplay:qC(!1,a.mutedautoplay);this.Ho=this.L("embeds_enable_muted_autoplay")&&g.YR(this);this.Fi=p&&!1;p=($R(this)||ZR(this))&&"blazer"===this.playerStyle;this.Uk=b?!!b.disableFullscreen:!qC(!0,a.fs);l=g.vC(g.gS(this))&&g.YR(this);this.Nb=!this.Uk&&(p||g.zC())&&!l;this.Cm=this.L("uniplayer_block_pip")&&(hC()&&ev(58)&&!pC()||KD);p=g.YR(this)&&!this.Km;var q;b?void 0!==b.disableRelatedVideos&&(q= !b.disableRelatedVideos):q=a.rel;this.Pd=p||qC(!this.N,q);this.Ll=qC(!1,b?b.enableContentOwnerRelatedVideos:a.co_rel);this.Y=pC()&&0=aS?"_top":"_blank";this.Tg=g.eS(this);this.wl=qC("blazer"===this.playerStyle,b?b.enableCsiLogging:a.enablecsi);switch(this.playerStyle){case "blogger":q="bl";break;case "gmail":q="gm";break;case "gac":q="ga";break;case "books":q="gb";break;case "docs":q="gd";break;case "duo":q="gu";break;case "google-live":q="gl";break;case "google-one":q="go";break;case "play":q= "gp";break;case "chat":q="hc";break;case "hangouts-meet":q="hm";break;case "photos-edu":case "picasaweb":q="pw";break;default:q="yt"}this.Ea=q;this.qa=tC("",b?b.authorizedUserIndex:a.authuser);this.jc=g.YR(this)&&(this.jd||!yoa()||this.tb);var r;b?void 0!==b.disableWatchLater&&(r=!b.disableWatchLater):r=a.showwatchlater;this.Od=((q=!this.jc)||!!this.qa&&q)&&qC(!this.Aa,this.K?r:void 0);this.Pe=b?b.isMobileDevice||!!b.disableKeyboardControls:qC(!1,a.disablekb);this.loop=qC(!1,a.loop);this.pageId=tC("", b?b.initialDelegatedSessionId:a.pageid);this.ip=qC(!0,a.canplaylive);this.ob=qC(!1,a.livemonitor);this.disableSharing=qC(this.N,b?b.disableSharing:a.ss);(r=b&&this.L("fill_video_container_size_override_from_wpcc")?b.videoContainerOverride:a.video_container_override)?(q=r.split("x"),2!==q.length?r=null:(r=Number(q[0]),q=Number(q[1]),r=isNaN(r)||isNaN(q)||0>=r*q?null:new g.ue(r,q))):r=null;this.Nm=r;this.mute=b?!!b.startMuted:qC(!1,a.mute);this.storeUserVolume=!this.mute&&qC("0"!==this.controlsType, b?b.storeUserVolume:a.store_user_volume);r=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy="3"===this.controlsType?3:rC(void 0,r,hS);this.captionsLanguagePreference=b?b.captionsLanguagePreference||"":tC("",a.cc_lang_pref);r=rC(2,b?b.captionsLanguageLoadPolicy:a.cc_load_policy,hS);"3"===this.controlsType&&2===r&&(r=3);this.Db=r;this.gj=b?b.hl||"en_US":tC("en_US",a.hl);this.region=b?b.contentRegion||"US":tC("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":tC("en",a.host_language); this.Io=!this.jd&&Math.random()Math.random();this.ql=a.onesie_hot_config||(null==b?0:b.onesieHotConfig)?new UOa(a.onesie_hot_config,null==b?void 0:b.onesieHotConfig):void 0;this.isTectonic=b?!!b.isTectonic:!!a.isTectonic;this.playerCanaryState=c;this.playerCanaryStage=null==b?void 0:b.canaryStage;this.Of=new ePa;g.L(this,this.Of);this.Hm=qC(!1,a.force_gvi); this.datasyncId=(null==b?void 0:b.datasyncId)||g.yB("DATASYNC_ID");this.Ro=g.yB("LOGGED_IN",!1);this.jj=(null==b?void 0:b.allowWoffleManagement)||!1;this.Il=Infinity;this.livingRoomPoTokenId=null==b?void 0:b.livingRoomPoTokenId;this.L("html5_high_res_logging_always")?this.Qf=!0:this.Qf=100*Math.random()u.width*u.height*u.fps)u=G}else r.push(G)}else l[F]="disdrmhfr";t.reduce(function(P, Y){return Y.Ih().isEncrypted()&&P},!0)&&(q=p); e=Math.max(e,0);p=u||{};n=void 0===p.fps?0:p.fps;u=void 0===p.width?0:p.width;p=void 0===p.height?0:p.height;B=a.L("html5_native_audio_track_switching");t.push(NPa(r,c,d,f,"93",u,p,n,m,"auto",e,q,x,B));Object.entries(l).length&&h(l);return yS(a.G,t,wPa(a,b),!1)}; NPa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t){for(var u=0,x="",B=g.v(a),F=B.next();!F.done;F=B.next())F=F.value,x||(x=F.itag),F.audioChannels&&F.audioChannels>u&&(u=F.audioChannels,x=F.itag);e=new OK(e,"application/x-mpegURL",{audio:new JK(0,u),video:new LK(f,h,l,null,void 0,n,void 0,r),je:q,sY:x});a=new CPa(a,b,c?[c]:[],d,!!t);a.D=p?p:1369843;return new zS(e,a,m)}; KPa=function(a){a=g.v(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}; MPa=function(a,b){for(var c=g.v(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[d][0];if(!e.width&&e.je===b.je&&!e.audioChannels)return d}return""}; LPa=function(a){for(var b=new Set,c=g.v(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.v(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.v(c);for(e=b.next();!e.done;e=b.next())delete a[e.value]}; AS=function(a,b){this.j=a;this.B=b}; PPa=function(a,b,c,d){var e=[];c=g.v(c);for(var f=c.next();!f.done;f=c.next()){var h=f.value;if(h.url){f=new g.QP(h.url,!0);if(h.s){var l=h.sp,m=hLa(decodeURIComponent(h.s));f.set(l,encodeURIComponent(m))}l=g.v(Object.keys(d));for(m=l.next();!m.done;m=l.next())m=m.value,f.set(m,d[m]);h=ZK(h.type,h.quality,h.itag,h.width,h.height);e.push(new AS(h,f))}}return yS(a.G,e,wPa(a,b),!1)}; BS=function(a,b){this.j=a;this.B=b}; QPa=function(a,b,c){var d=[];c=g.v(c);for(var e=c.next();!e.done;e=c.next())if((e=e.value)&&e.url){var f=ZK(e.type,"medium","0");d.push(new BS(f,e.url))}return yS(a.G,d,wPa(a,b),!1)}; RPa=function(a,b){var c=[],d=ZK(b.type,"auto",b.itag);c.push(new BS(d,b.url));return yS(a.G,c,!1,!0)}; TPa=function(a){return a&&SPa[a]?SPa[a]:null}; UPa=function(a){if(a=a.commonConfig)this.url=a.url,this.urlQueryOverride=a.urlQueryOverride,a.ustreamerConfig&&(this.Ao=JR(a.ustreamerConfig)||void 0)}; VPa=function(a,b){var c;if(b=null==b?void 0:null==(c=b.watchEndpointSupportedOnesieConfig)?void 0:c.html5PlaybackOnesieConfig)a.qZ=new UPa(b)}; g.CS=function(a){a=void 0===a?{}:a;this.languageCode=a.languageCode||"";this.languageName=a.languageName||null;this.kind=a.kind||"";this.name=void 0===a.name?null:a.name;this.displayName=a.displayName||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;this.xtags=a.xtags||"";this.captionId=a.captionId||""}; g.ES=function(a){var b={languageCode:a.languageCode,languageName:a.languageName,displayName:g.DS(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.xtags&&(b.xtags=a.xtags);a.captionId&&(b.captionId=a.captionId);a.translationLanguage&&(b.translationLanguage=a.translationLanguage);return b}; g.FS=function(a){return a.translationLanguage?a.translationLanguage.languageCode:a.languageCode}; g.WPa=function(a){var b=a.vssId;a.translationLanguage&&b&&(b="t"+b+"."+g.FS(a));return b}; g.DS=function(a){var b=[];if(a.displayName)b.push(a.displayName);else{var c=a.languageName||"";b.push(c);"asr"===a.kind&&-1===c.indexOf("(")&&b.push(" (\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0438\u0442\u0440\u044b)");a.name&&b.push(" - "+a.name)}a.translationLanguage&&b.push(" >> "+a.translationLanguage.languageName);return b.join("")}; $Pa=function(a,b,c,d){a||(a=b&&XPa.hasOwnProperty(b)&&YPa.hasOwnProperty(b)?YPa[b]+"_"+XPa[b]:void 0);b=a;if(!b)return null;a=b.match(ZPa);if(!a||5!==a.length)return null;if(a=b.match(ZPa)){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}; GS=function(a,b){for(var c={},d=g.v(Object.keys(aQa)),e=d.next();!e.done;e=d.next()){e=e.value;var f=b?b+e:e;f=a[f+"_webp"]||a[f];g.UJ(f)&&(c[aQa[e]]=f)}return c}; HS=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.v(Object.keys(bQa)),d=c.next();!d.done;d=c.next()){var e=Number(d.value);d=bQa[e];for(var f=g.v(a),h=f.next();!h.done;h=f.next())if(h=h.value,h.width>=e){e=cQa(h.url);g.UJ(e)&&(b[d]=e);break}}(a=a.pop())&&1280<=a.width&&(a=cQa(a.url),g.UJ(a)&&(b["maxresdefault.jpg"]=a));return b}; cQa=function(a){return a.startsWith("//")?"https:"+a:a}; IS=function(a){return a&&a.baseUrl||""}; JS=function(a){a=g.JB(a);for(var b=g.v(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}; dQa=function(a,b){a.botguardData=b.playerAttestationRenderer.botguardData;b=b.playerAttestationRenderer.challenge;null!=b&&(a.Hk=b)}; gQa=function(a,b){b=g.v(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.interstitials.map(function(h){var l=g.U(h,eQa);if(l)return{is_yto_interstitial:!0,raw_player_response:l};if(h=g.U(h,fQa))return Object.assign({is_yto_interstitial:!0},IB(h))}); d=g.v(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,uo:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":a.interstitials=a.interstitials.concat({time:0x7ffffffffffff,playerVars:e,uo: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, uo:0===f?5:7})}}}; hQa=function(a,b){if(b=b.find(function(c){return!(!c||!c.tooltipRenderer)}))a.tooltipRenderer=b.tooltipRenderer}; iQa=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)}; jQa=function(a,b){null!=b?(a.kp=b,a.Ld=!0):(a.kp="",a.Ld=!1)}; KS=function(a,b){this.type=a||"";this.id=b||""}; g.kQa=function(a){return new KS(a.substr(0,2),a.substr(2))}; g.LS=function(a,b){this.Ia=a;this.author="";this.cD=null;this.playlistLength=0;this.j=this.sessionData=null;this.Z={};this.title="";if(b){this.author=b.author||b.playlist_author||"";this.title=b.playlist_title||"";if(a=b.session_data)this.sessionData=GB(a,"&");var c;this.j=(null==(c=b.thumbnail_ids)?void 0:c.split(",")[0])||null;this.Z=GS(b,"playlist_");this.videoId=b.video_id||void 0;if(c=b.list)switch(b.listType){case "user_uploads":this.playlistId=(new KS("UU","PLAYER_"+c)).toString();break;default:if(a= b.playlist_length)this.playlistLength=Number(a)||0;this.playlistId=g.kQa(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.MS=function(a,b){this.Ia=a;this.Ds=this.author="";this.cD=null;this.isUpcoming=this.isLivePlayback=!1;this.lengthSeconds=0;this.ow=this.lengthText="";this.sessionData=null;this.Z={};this.title="";if(b){this.ariaLabel=b.aria_label||void 0;this.author=b.author||"";this.Ds=b.Ds||"";if(a=b.endscreen_autoplay_session_data)this.cD=GB(a,"&");this.dD=b.dD;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.ow=b.ow||"";this.publishedTimeText=b.publishedTimeText||void 0;if(a=b.session_data)this.sessionData=GB(a,"&");this.shortViewCount=b.short_view_count_text||void 0;this.Z=GS(b);this.title=b.title||"";this.videoId=b.docid||b.video_id||b.videoId||b.id||void 0;this.watchUrl=b.watchUrl||void 0}}; lQa=function(a){var b,c,d=null==(b=a.getWatchNextResponse())?void 0:null==(c=b.contents)?void 0:c.twoColumnWatchNextResults,e,f,h,l,m;a=null==(e=a.getWatchNextResponse())?void 0:null==(f=e.playerOverlays)?void 0:null==(h=f.playerOverlayRenderer)?void 0:null==(l=h.endScreen)?void 0:null==(m=l.watchNextEndScreenRenderer)?void 0:m.results;if(!a){var n,p;a=null==d?void 0:null==(n=d.endScreen)?void 0:null==(p=n.endScreen)?void 0:p.results}return a}; g.oQa=function(a){var b,c,d;a=g.U(null==(b=a.getWatchNextResponse())?void 0:null==(c=b.playerOverlays)?void 0:null==(d=c.playerOverlayRenderer)?void 0:d.decoratedPlayerBarRenderer,mQa);return g.U(null==a?void 0:a.playerBar,nQa)}; pQa=function(a){this.j=a.playback_progress_0s_url;this.C=a.playback_progress_2s_url;this.B=a.playback_progress_10s_url}; qQa=function(){if(void 0===NS){try{window.localStorage.removeItem("yt-player-lv")}catch(b){}a:{try{var a=!!self.localStorage}catch(b){a=!1}if(a&&(a=g.tv(g.WC()+"::yt-player"))){NS=new aH(a);break a}NS=void 0}}return NS}; g.OS=function(){var a=qQa();if(!a)return{};try{var b=a.get("yt-player-lv");return JSON.parse(b||"{}")}catch(c){return{}}}; g.rQa=function(a){var b=qQa();b&&(a=JSON.stringify(a),b.set("yt-player-lv",a))}; g.PS=function(a){return g.OS()[a]||0}; g.QS=function(a,b){var c=g.OS();b!==c[a]&&(0!==b?c[a]=b:delete c[a],g.rQa(c))}; g.RS=function(a){return g.I(function(b){return b.return(g.ID(sQa(),a))})}; xQa=function(a,b,c,d,e,f,h,l){var m,n,p,q,r,t;return g.I(function(u){switch(u.j){case 1:return m=g.PS(a),4===m?u.return(4):g.y(u,g.ND(),2);case 2:n=u.B;if(!n)throw g.qD("wiac");if(!l||void 0===h){u.La(3);break}return g.y(u,tQa(l,h),4);case 4:h=u.B;case 3:return p=c.lastModified||"0",g.y(u,g.RS(n),5);case 5:return q=u.B,g.Ca(u,6),SS++,g.y(u,g.yD(q,["index","media"],{mode:"readwrite",tag:"IDB_TRANSACTION_TAG_WIAC",Wb:!0},function(x){if(void 0!==f&&void 0!==h){var B=""+a+"|"+b.id+"|"+p+"|"+String(f).padStart(10, "0");B=g.zD(x.objectStore("media"),h,B)}else B=g.sD.resolve(void 0);var F=uQa(a,b.fh()),G=uQa(a,!b.fh()),H={fmts:vQa(d),format:c||{}};F=g.zD(x.objectStore("index"),H,F);var O=-1===d.downloadedEndTime;H=O?x.objectStore("index").get(G):g.sD.resolve(void 0);var P={fmts:"music",format:{}};x=O&&e&&!b.fh()?g.zD(x.objectStore("index"),P,G):g.sD.resolve(void 0);return g.sD.all([x,H,B,F]).then(function(Y){Y=g.v(Y);Y.next();Y=Y.next().value;SS--;var la=g.PS(a);if(4!==la&&O&&e||void 0!==Y&&g.wQa(Y.fmts))la= 1,g.QS(a,la);return la})}),8); case 8:return u.return(u.B);case 6:r=g.Ea(u);SS--;t=g.PS(a);if(4===t)return u.return(t);g.QS(a,4);throw r;}})}; g.yQa=function(a){var b,c;return g.I(function(d){if(1==d.j)return g.y(d,g.ND(),2);if(3!=d.j){b=d.B;if(!b)throw g.qD("ri");return g.y(d,g.RS(b),3)}c=d.B;return d.return(g.yD(c,["index"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRI"},function(e){var f=IDBKeyRange.bound(a+"|",a+"~");return g.iqa(e.objectStore("index"),f).then(function(h){return h.map(function(l){return l?l.format:{}})})}))})}; BQa=function(a,b,c,d,e){var f,h,l;return g.I(function(m){if(1==m.j)return g.y(m,g.ND(),2);if(3!=m.j){f=m.B;if(!f)throw g.qD("rc");return g.y(m,g.RS(f),3)}h=m.B;l=g.yD(h,["media"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRM",Wb:zQa},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 AQa(e,n)}).catch(function(n){throw new g.VC("Error while reading chunk: "+n.name+", "+n.message); })):m.return(l)})}; g.wQa=function(a){return a?"music"===a?!0:a.includes("dlt=-1")||!a.includes("dlt="):!1}; uQa=function(a,b){return""+a+"|"+(b?"v":"a")}; vQa=function(a){var b={};return HB((b.dlt=a.downloadedEndTime.toString(),b.mket=a.maxKnownEndTime.toString(),b.avbr=a.averageByteRate.toString(),b))}; DQa=function(a){var b={},c={};a=g.v(a);for(var d=a.next();!d.done;d=a.next()){var e=d.value,f=e.split("|");e.match(g.CQa)?(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.v(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}; TS=function(a){g.TF.call(this);this.j=null;this.C=new Bla;this.j=null;this.K=new Set;this.crossOrigin=a||""}; EQa=function(a,b,c){for(c=US(a,c);0<=c;){var d=a.levels[c];if(d.isLoaded(VS(d,b))&&(d=g.WS(d,b)))return d;c--}return g.WS(a.levels[0],b)}; GQa=function(a,b,c){c=US(a,c);for(var d,e;0<=c;c--)if(d=a.levels[c],e=VS(d,b),!d.isLoaded(e)){d=a;var f=c,h=f+"-"+e;d.K.has(h)||(d.K.add(h),d.C.ph(f,{TX:f,qY:e}))}FQa(a)}; FQa=function(a){if(!a.j&&!a.C.isEmpty()){var b=a.C.remove();a.j=HQa(a,b)}}; HQa=function(a,b){var c=document.createElement("img");a.crossOrigin&&(c.crossOrigin=a.crossOrigin);c.src=a.levels[b.TX].bf(b.qY);c.onload=function(){var d=b.TX,e=b.qY;null!==a.j&&(a.j.onload=null,a.j=null);d=a.levels[d];d.loaded.add(e);FQa(a);var f=d.columns*d.rows;e*=f;d=Math.min(e+f-1,d.OH()-1);e=[e,d];a.oa("l",e[0],e[1])}; return c}; g.XS=function(a,b,c,d){this.level=a;this.D=b;this.loaded=new Set;this.level=a;this.D=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.C=a[6];this.signature=a[7];this.videoLength=d}; VS=function(a,b){return Math.floor(b/(a.columns*a.rows))}; g.WS=function(a,b){b>=a.QL()&&a.Wx();var c=VS(a,b),d=a.columns*a.rows,e=b%d;b=e%a.columns;e=Math.floor(e/a.columns);var f=a.Wx()+1-d*c;if(f=b)return a.D.set(b,d),d;a.D.set(b,c-1);return c-1}; JQa=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.XS.call(this,a,b,c,0);this.B=null;this.G=d?2:0}; ZS=function(a,b,c,d){YS.call(this,a,0,void 0,b,!(void 0===d||!d));for(a=0;aeT?!1:!0,a.isLivePlayback=!0;else if(Qc.isLive){$k.livestream="1";a.allowLiveDvr=Qc.isLiveDvrEnabled?ER()?!0:mC&&5>eT?!1:!0:!1;a.Ea=27;Qc.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);var Co=Qc.latencyClass;Co&&(a.latencyClass=aRa[Co]||"UNKNOWN");var rq=Qc.liveChunkReadahead;rq&&(a.liveChunkReadahead=rq);var al=qq&&qq.livePlayerConfig;if(al){al.hasSubfragmentedFmp4&&(a.hasSubfragmentedFmp4=!0);al.hasSubfragmentedWebm&&(a.RD=!0);al.defraggedFromSubfragments&&(a.defraggedFromSubfragments= !0);var sq=al.liveExperimentalContentId;sq&&(a.liveExperimentalContentId=Number(sq));var Do=al.isLiveHeadPlayable;a.L("html5_live_head_playable")&&null!=Do&&(a.isLiveHeadPlayable=Do)}fn=!0}else Qc.isUpcoming&&(fn=!0);fn&&(a.isLivePlayback=!0,$k.adformat&&"8"!==$k.adformat.split("_")[1]||a.Fa.push("heartbeat"),a.Vo=!0)}var tq=Qc.isPrivate;void 0!==tq&&(a.isPrivate=qC(a.isPrivate,tq))}if(na){var Eo=Qc||null,Yl=!1,kk=na.errorScreen;Yl=kk&&(kk.playerLegacyDesktopYpcOfferRenderer||kk.playerLegacyDesktopYpcTrailerRenderer|| kk.ypcTrailerRenderer)?!0:Eo&&Eo.isUpcoming?!0:["OK","LIVE_STREAM_OFFLINE","FULLSCREEN_ONLY"].includes(na.status);if(!Yl){a.errorCode=TPa(na.errorCode)||"auth";var Zl=kk&&kk.playerErrorMessageRenderer;if(Zl){a.playerErrorMessageRenderer=Zl;var uq=Zl.reason;uq&&(a.errorReason=g.dG(uq));var Fo=Zl.subreason;Fo&&(a.Ym=g.dG(Fo),a.iy=Fo)}else a.errorReason=na.reason||null;var Go=na.status;if("LOGIN_REQUIRED"===Go)a.errorDetail="1";else if("CONTENT_CHECK_REQUIRED"===Go)a.errorDetail="2";else if("AGE_CHECK_REQUIRED"=== Go){var vq=na.errorScreen,xj=vq&&vq.playerKavRenderer;a.errorDetail=xj&&xj.kavUrl?"4":"3"}else a.errorDetail=na.isBlockedInRestrictedMode?"5":"0"}}var bl=a.playerResponse.interstitialPods;bl&&gQa(a,bl);a.Va&&a.eventId&&(a.Va=LB(a.Va,{ei:a.eventId}));var li=a.playerResponse.captions;if(li&&li.playerCaptionsTracklistRenderer)a:{var mg=li.playerCaptionsTracklistRenderer;a.captionTracks=[];if(mg.captionTracks)for(var $l=g.v(mg.captionTracks),Ho=$l.next();!Ho.done;Ho=$l.next()){var mi=Ho.value,wq=PQa(mi.baseUrl); if(!wq)break a;var Io={is_translateable:!!mi.isTranslatable,languageCode:mi.languageCode,languageName:mi.name&&g.dG(mi.name),url:wq,vss_id:mi.vssId,kind:mi.kind};a.U().L("html5_support_caption_entry_display_name")&&(Io.name=mi.trackName,Io.displayName=mi.name&&g.dG(mi.name));a.captionTracks.push(new g.CS(Io))}a.VB=mg.audioTracks||[];a.QU=mg.defaultAudioTrackIndex||0;a.Cx=[];if(mg.translationLanguages)for(var xq=g.v(mg.translationLanguages),gn=xq.next();!gn.done;gn=xq.next()){var Pf=gn.value,Qf={}; Qf.languageCode=Pf.languageCode;Qf.languageName=g.dG(Pf.languageName);if(Pf.translationSourceTrackIndices){Qf.translationSourceTrackIndices=[];for(var Qi=g.v(Pf.translationSourceTrackIndices),wh=Qi.next();!wh.done;wh=Qi.next())Qf.translationSourceTrackIndices.push(wh.value)}if(Pf.excludeAudioTrackIndices){Qf.excludeAudioTrackIndices=[];var am=g.v(Pf.excludeAudioTrackIndices);for(wh=am.next();!wh.done;wh=am.next())Qf.excludeAudioTrackIndices.push(wh.value)}a.Cx.push(Qf)}a.XB=[];if(mg.defaultTranslationSourceTrackIndices){var Ri= g.v(mg.defaultTranslationSourceTrackIndices);for(wh=Ri.next();!wh.done;wh=Ri.next())a.XB.push(wh.value)}a.Bx=!!mg.contribute&&!!mg.contribute.captionsMetadataRenderer}a.clipConfig=a.playerResponse.clipConfig;a.clipConfig&&null!=a.clipConfig.startTimeMs&&(a.wP=.001*Number(a.clipConfig.startTimeMs));a.playerResponse&&a.playerResponse.playerConfig&&a.playerResponse.playerConfig.webPlayerConfig&&a.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting&&iQa(a,a.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting); var xh;a.compositeLiveIngestionOffsetToken=null==(xh=a.playerResponse.playbackTracking)?void 0:xh.compositeLiveIngestionOffsetToken;var yj;a.compositeLiveStatusToken=null==(yj=a.playerResponse.playbackTracking)?void 0:yj.compositeLiveStatusToken}NQa(a,b);b.queue_info&&(a.queueInfo=b.queue_info);var cl=b.hlsdvr;null!=cl&&(a.allowLiveDvr="1"==cl?ER()?!0:mC&&5>eT?!1:!0:!1);a.adQueryId=b.ad_query_id||null;a.NB||(a.NB=b.encoded_ad_safety_reason||null);a.uU=b.agcid||null;a.jG=b.ad_id||null;a.lG=b.ad_sys|| null;a.sC=b.encoded_ad_playback_context||null;a.ll=qC(a.ll,b.infringe||b.muted);a.IU=b.authkey;a.oU=b.authuser;a.mutedAutoplay=qC(a.mutedAutoplay,b&&b.playmuted)&&a.L("embeds_enable_muted_autoplay");a.nL=qC(a.nL,b&&b.mutedautoplay)&&a.L("embeds_enable_muted_autoplay");var bm=b.length_seconds;bm&&(a.lengthSeconds="string"===typeof bm?Ke(bm):bm);if(a.isAd()||a.Mm||!g.vC(g.gS(a.Ia)))a.endSeconds=sC(a.endSeconds,a.iP||b.end||b.endSeconds);else{var cm=a.lengthSeconds;switch(g.gS(a.Ia)){case "EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT":30< cm?a.limitedPlaybackDurationInSeconds=30:30>cm&&10c&&(oL()||d.L("html5_format_hybridization"))&&(r.j.supportsChangeType=+oL(),r.Ii=c);2160<=c&&(r.Fa=!0);uLa()&&(r.j.serveVp9OverAv1IfHigherRes=0,r.Hc=!1);r.DM=b;r.Ya=g.LD||Koa()&&!b?!1:!0;r.Y=d.L("html5_format_hybridization");r.Jb=d.L("html5_disable_encrypted_vp9_live_non_2k_4k");jC()&&a.playerResponse&&a.playerResponse.playerConfig&&a.playerResponse.playerConfig.webPlayerConfig&&a.playerResponse.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(r.D=!0, r.G=!0);a.Y&&a.isAd()&&(a.wx&&(r.ma=a.wx),a.Uw&&(r.C=a.Uw));r.Va=a.isLivePlayback&&a.pj()&&a.Ia.L("html5_drm_live_audio_51");r.tb=a.aC;return a.Ge=r}; qRa=function(a){return a.Ia.L("html5_disable_av1")||a.L("html5_gapless_shorts_disable_av1")&&a.Ia.supportsGaplessShorts()&&g.pT(a)?!0:!1}; sRa=function(a){SH("drm_pb_s",void 0,a.Ka);a.Ya||a.j&&LP(a.j);var b={};a.j&&(b=CLa(a.Hx,rT(a),a.Ia.G,a.j,function(c){return a.oa("ctmp","fmtflt",c)},!0)); b=new yR(b,a.Ia,a.GU,a.useCobaltWidevine?jC()?rRa(a):!1:!1,function(c,d){a.va(c,d)}); g.L(a,b);a.Jo=!1;a.loading=!0;zOa(b,function(c){SH("drm_pb_f",void 0,a.Ka);for(var d=g.v(c),e=d.next();!e.done;e=d.next())switch(e=e.value,e.flavor){case "fairplay":e.Ya=a.Ya;e.gy=a.gy;e.ey=a.ey;break;case "widevine":e.Ll=a.Ll}a.Lo=c;if(0p&&(p=t.Ih().audio.numChannels)}2=a.C.videoInfos.length)&&(b=UK(a.C.videoInfos[0]),b!=("fairplay"==a.K.flavor)))for(c=g.v(a.Lo),d=c.next();!d.done;d=c.next())if(d=d.value,b==("fairplay"==d.flavor)){a.K=d;break}}; uT=function(a,b){a.kd=b;BRa(a,new HP(g.lr(a.kd,function(c){return c.Ih()})))}; CRa=function(a){var b={cpn:a.clientPlaybackNonce,c:a.Ia.j.c,cver:a.Ia.j.cver};a.qy&&(b.ptk=a.qy,b.oid=a.FS,b.ptchn=a.O0,b.pltype=a.GS,a.Kx&&(b.m=a.Kx));return b}; g.vT=function(a){return fT(a)&&a.Ya?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.B&&a.B.je||null}; ERa=function(a){var b=a.playerResponse&&a.playerResponse.paidContentOverlay&&a.playerResponse.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.dG(b.text):a.paidContentOverlayText}; FRa=function(a){var b=a.playerResponse&&a.playerResponse.paidContentOverlay&&a.playerResponse.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Ke(b.durationMs):a.paidContentOverlayDurationMs}; wT=function(a){var b="";if(a.qM)return a.qM;a.isLivePlayback&&(b=a.allowLiveDvr?"dvr":a.isPremiere?"lp":a.rb?"window":"live");a.le&&(b="post");return b}; g.xT=function(a,b){return"string"!==typeof a.keywords[b]?null:a.keywords[b]}; GRa=function(a){return!!a.gj||!!a.QP||!!a.uy||!!a.vy||a.HX||a.N.focEnabled||a.N.rmktEnabled}; g.yT=function(a){return!!(a.Hc||a.Qf||a.Jl||a.hlsvp||a.Pv())}; bT=function(a){if(a.L("html5_onesie")&&a.errorCode)return!1;var b=g.Cb(a.Fa,"ypc");a.ypcPreview&&(b=!1);return a.Ee()&&!a.loading&&(g.yT(a)||g.Cb(a.Fa,"heartbeat")||b)}; hT=function(a,b){a=aoa(a);var c={};if(b){b=g.v(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.v(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}; DRa=function(a){var b=a.getAvailableAudioTracks();b=b.concat(a.ql);for(var c=0;c(b?parseInt(b[1],10):NaN);c=a.Ia;c=("TVHTML5_CAST"===g.BR(c)||"TVHTML5"===g.BR(c)&&(c.j.cver.startsWith("6.20130725")||c.j.cver.startsWith("6.20130726")))&&"MUSIC"===a.Ia.j.ctheme;var d;if(d=!a.mj)c||(c=a.Ia,c= "TVHTML5"===g.BR(c)&&c.j.cver.startsWith("7")),d=c;d&&!b&&(b="MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"===a.musicVideoType,c=(a.L("cast_prefer_audio_only_for_atv_and_uploads")||a.L("kabuki_pangea_prefer_audio_only_for_atv_and_uploads"))&&"MUSIC_VIDEO_TYPE_ATV"===a.musicVideoType,b||c||a.isExternallyHostedPodcast)&&(a.mj=!0);return a.Ia.deviceIsAudioOnly||a.mj&&a.Ia.K}; MT=function(a){var b,c,d;return a.isDaiEnabled()&&!!(null==(b=a.playerResponse)?0:null==(c=b.playerConfig)?0:null==(d=c.daiConfig)?0:d.ssaEnabledPlayback)}; VRa=function(a){return isNaN(a)?0:Math.max((Date.now()-a)/1E3-30,0)}; NT=function(a){return!(!a.Om||!a.Ia.K)&&a.Pv()}; WRa=function(a){return a.enablePreroll&&a.enableServerStitchedDai}; jT=function(a){if(a.lX||a.cotn||!a.j||a.j.isOtf)return!1;if(a.L("html5_use_sabr_requests_for_debugging"))return!0;var b=!a.j.Cc&&!a.pj(),c=b&&CR&&a.L("html5_enable_sabr_vod_streaming_xhr");b=b&&!CR&&a.L("html5_enable_sabr_vod_non_streaming_xhr");var d=XRa(a),e;if(e=a.L("html5_enable_sabr_drm_vod_streaming_xhr")&&a.pj()&&!a.j.Cc&&CR)e=a.Jx,e="1"===e?!1:"6"===e||"4"===e?!1:!0;(c=c||b||d||e)&&!a.yy&&a.va("sabr",{loc:"m"},!0);return c&&!!a.yy}; XRa=function(a){if(a.enableServerStitchedDai)return!1;var b=a.Cc()&&!a.pj(),c=b&&CR&&a.L("html5_enable_sabr_live_streaming_xhr")&&a.L("html5_sabr_live");b=b&&!CR&&a.L("html5_enable_sabr_live_non_streaming_xhr")&&a.L("html5_sabr_live");var d=a.Cc()&&"ULTRALOW"!==a.latencyClass&&!a.isLowLatencyLiveStream,e=c&&a.le&&a.L("html5_sabr_post_live"),f=c&&a.isPremiere&&a.L("html5_sabr_premiere");d=(g.AT(a)||BT(a))&&d;var h=(g.AT(a)||BT(a))&&a.isLowLatencyLiveStream&&a.L("html5_sabr_live_low_latency");a=(g.AT(a)|| BT(a))&&"ULTRALOW"===a.latencyClass&&a.L("html5_sabr_live_ultra_low_latency");return c&&(e||f||d||h||a)||b}; g.OT=function(a){return a.PV&&jT(a)}; cRa=function(a){var b;if(b=!!a.cotn)b=a.videoId,b=!!b&&1===g.PS(b);return b&&!a.Om}; g.PT=function(a){if(!a.j||!a.B||!a.D)return!1;var b=a.j.j;return!!b[a.B.id]&&TP(b[a.B.id].resource.j)&&!!b[a.D.id]&&TP(b[a.D.id].resource.j)}; YRa=function(a){return a.sy?["OK","LIVE_STREAM_OFFLINE"].includes(a.sy.status):!0}; LRa=function(a){return(a=a.Go)&&a.showError?a.showError:!1}; gT=function(a,b){return a.L(b)?!0:(a.fflags||"").includes(b+"=true")}; VQa=function(a){return a.L("html5_heartbeat_iff_heartbeat_params_filled")}; ZRa=function(a){return(a=/html5_log_experiment_id_from_player_response_to_ctmp=([0-9]+)/.exec(a.fflags))?a[1]:null}; TQa=function(a,b){b.inlineMetricEnabled&&(a.inlineMetricEnabled=!0);b.playback_progress_0s_url&&(a.vy=new pQa(b));if(b=b.video_masthead_ad_quartile_urls)a.QP=b.quartile_0_url,a.QS=b.quartile_25_url,a.RS=b.quartile_50_url,a.SS=b.quartile_75_url,a.PS=b.quartile_100_url,a.uy=b.quartile_0_urls,a.pS=b.quartile_25_urls,a.CS=b.quartile_50_urls,a.DS=b.quartile_75_urls,a.fR=b.quartile_100_urls}; SQa=function(a){var b={};a=g.v(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}; PQa=function(a){if(a){if(Qza(a))return a;a=Rza(a);if(Qza(a,!0))return a}return""}; g.$Ra=function(a){return a.captionsLanguagePreference||a.Ia.captionsLanguagePreference||g.xT(a,"yt:cc_default_lang")||a.Ia.gj}; QT=function(a){return!(!a.isLivePlayback||!a.hasProgressBarBoundaries())}; g.mT=function(a){var b;return a.PB||(null==(b=a.suggestions)?void 0:b[0])||null}; g.RT=function(a){var b=a.U(),c=g.aSa(b),d=a.Aa;d&&(c.clickTracking={clickTrackingParams:d});d=c.client||{};var e="EMBED",f=IT(a);"leanback"===f?e="WATCH":b.L("gvi_channel_client_screen")&&"profilepage"===f?e="CHANNEL":a.ob?e="LIVE_MONITOR":"detailpage"===f?e="WATCH_FULL_SCREEN":"adunit"===f?e="ADUNIT":"sponsorshipsoffer"===f&&(e="UNKNOWN");d.clientScreen=e;if(b=a.kidsAppInfo)d.kidsAppInfo=JSON.parse(b);(e=a.Ko)&&!b&&(d.kidsAppInfo={contentSettings:{ageUpMode:bSa[e]}});a.Cy&&(d.unpluggedAppInfo={enableFilterMode:!0}); if(b=a.ma)d.unpluggedLocationInfo=b;c.client=d;d=c.request||{};a.Ji&&(d.isPrefetch=!0);if(b=a.mdxEnvironment)d.mdxEnvironment=b;if(b=a.mdxControlMode)d.mdxControlMode=cSa[b];c.request=d;d=c.user||{};if(b=a.qa)d.credentialTransferTokens=[{token:b,scope:"VIDEO"}];if(b=a.tb)d.delegatePurchases={oauthToken:b},d.kidsParent={oauthToken:b};c.user=d;if(d=a.contextParams)c.activePlayers=[{playerContextParams:d}];if(a=a.clientScreenNonce)c.clientScreenNonce=a;return c}; g.aSa=function(a){var b=g.fH(),c=b.client||{};if(a.forcedExperiments){var d=a.forcedExperiments.split(","),e=[];d=g.v(d);for(var f=d.next();!f.done;f=d.next())e.push(Number(f.value));c.experimentIds=e}if(e=a.homeGroupInfo)c.homeGroupInfo=JSON.parse(e);if(e=a.getPlayerType())c.playerType=e;if(e=a.j.ctheme)c.theme=e;if(e=a.livingRoomAppMode)c.tvAppInfo=Object.assign({},c.tvAppInfo,{livingRoomAppMode:e});e=a.deviceYear;a.L("html5_propagate_device_year")&&e&&(c.tvAppInfo=Object.assign({},c.tvAppInfo, {deviceYear:e}));if(e=a.livingRoomPoTokenId)c.tvAppInfo=Object.assign({},c.tvAppInfo,{livingRoomPoTokenId:e});b.client=c;c=b.user||{};a.enableSafetyMode&&(c=Object.assign({},c,{enableSafetyMode:!0}));a.pageId&&(c=Object.assign({},c,{onBehalfOfUser:a.pageId}));b.user=c;if(a=a.kd)b.thirdParty={embedUrl:a};return b}; hSa=function(a,b,c){var d=a.videoId,e=g.RT(a),f=a.U(),h={html5Preference:"HTML5_PREF_WANTS",lactMilliseconds:String(OE()),referer:document.location.toString(),signatureTimestamp:19676};g.SC();a.isAutonav&&(h.autonav=!0);g.TC(0,141)&&(h.autonavState=g.TC(0,140)?"STATE_OFF":"STATE_ON");h.autoCaptionsDefaultOn=g.TC(0,66);TRa(a)&&(h.autoplay=!0);f.K&&a.cycToken&&(h.cycToken=a.cycToken);f.enablePrivacyFilter&&(h.enablePrivacyFilter=!0);a.isFling&&(h.fling=!0);var l=a.forceAdsUrl;if(l){var m={},n=[];l= l.split(",");l=g.v(l);for(var p=l.next();!p.done;p=l.next()){p=p.value;var q=p.split("|");3!==q.length||p.includes("=")||(q[0]="breaktype="+q[0],q[1]="offset="+q[1],q[2]="url="+q[2]);p={adtype:"video_ad"};q=g.v(q);for(var r=q.next();!r.done;r=q.next()){var t=g.v(r.value.split("="));r=t.next().value;t=eaa(t);p[r]=t.join("=")}q=p.url;r=p.presetad;t=p.viralresponseurl;var u=Number(p.campaignid);if("in_display_ad"===p.adtype)q&&(m.url=q),r&&(m.presetAd=r),t&&(m.viralAdResponseUrl=t),u&&(m.viralCampaignId= String(u));else if("video_ad"===p.adtype){var x={offset:{kind:"OFFSET_MILLISECONDS",value:String(Number(p.offset)||0)}};if(p=dSa[p.breaktype])x.breakType=p;q&&(x.url=q);r&&(x.presetAd=r);t&&(x.viralAdResponseUrl=t);u&&(x.viralCampaignId=String(u));n.push(x)}}h.forceAdParameters={videoAds:n,inDisplayAd:m}}a.isInlinePlaybackNoAd&&(h.isInlinePlaybackNoAd=!0);a.isLivingRoomDeeplink&&(h.isLivingRoomDeeplink=!0);m=a.rM;if(null!=m){m={startWalltime:String(m)};if(n=a.Em)m.manifestDuration=String(n||14400); h.liveContext=m}a.mutedAutoplay&&(h.mutedAutoplay=!0);if(a.Sf?0:a.Tg)h.splay=!0;m=a.vnd;5===m&&(h.vnd=m);m={};if(n=a.isMdxPlayback)m.triggeredByMdx=n;if(n=a.qv)m.skippableAdsSupported=n.split(",").includes("ska");if(p=a.vl){n=a.ES;l=[];p=g.v(p.split(","));for(q=p.next();!q.done;q=p.next())if(r=q.value)if((q=r.startsWith("!"))&&(r=r.substr(1)),r=r.split("-"),!(3>r.length)){q={applicationState:q?"INACTIVE":"ACTIVE",clientFormFactor:eSa[r[1]]||"UNKNOWN_FORM_FACTOR",clientName:fSa[r[0]]||"UNKNOWN_INTERFACE", clientVersion:r[2]||"",platform:gSa[r[1]]||"UNKNOWN_PLATFORM"};r={};if(n){t=void 0;try{t=JSON.parse(n)}catch(B){g.BF(B)}t&&(r={params:[{key:"ms",value:t.ms}]},t.advertising_id&&(r.advertisingId=t.advertising_id),void 0!==t.limit_ad_tracking&&null!==t.limit_ad_tracking&&(r.limitAdTracking=t.limit_ad_tracking),q.osName=t.os_name,q.userAgent=t.user_agent,q.windowHeightPoints=t.window_height_points,q.windowWidthPoints=t.window_width_points)}l.push({adSignalsInfo:r,remoteClient:q})}m.remoteContexts=l}n= a.sourceContainerPlaylistId;l=a.serializedMdxMetadata;if(n||l)p={},n&&(p.mdxPlaybackContainerInfo={sourceContainerPlaylistId:n}),l&&(p.serializedMdxMetadata=l),m.mdxPlaybackSourceContext=p;h.mdxContext=m;m=b.width;0d&&(d=-(d+1));g.qf(a,b,d);b.setAttribute("data-layer",String(c))}; g.qU=function(a){var b=a.U();if(!b.Ge)return!1;var c=a.getVideoData();if(!c||3===a.getPresentingPlayerType())return!1;var d=(!c.isLiveDefaultBroadcast||b.L("allow_poltergust_autoplay"))&&!QT(c);d=c.isLivePlayback&&(!b.L("allow_live_autoplay")||!d);var e=c.isLivePlayback&&b.L("allow_live_autoplay_on_mweb");a=a.getPlaylist();a=!!a&&a.Rk();var f=c.Na&&c.Na.playerOverlays||null;f=!!(f&&f.playerOverlayRenderer&&f.playerOverlayRenderer.autoplay);f=c.Ld&&f;return!c.ypcPreview&&(!d||e)&&!g.Cb(c.Fa,"ypc")&& !a&&(!g.YR(b)||f)}; HSa=function(a){a=g.aU(a.app);if(!a)return!1;var b=a.getVideoData();if(!b.B||!b.B.video||1080>b.B.video.j||b.KZ)return!1;var c=/^qsa/.test(b.clientPlaybackNonce),d="r";0<=b.B.id.indexOf(";")&&(c=/^[a-p]/.test(b.clientPlaybackNonce),d="x");return c?(a.va("iqss",{trigger:d},!0),!0):!1}; ISa=function(){RC.apply(this,arguments);this.ex={}}; rU=function(){JSa||(JSa=new ISa);return JSa}; KSa=function(a,b){b?a.ex.Authorization="Bearer "+b:delete a.ex.Authorization}; sU=function(a,b,c,d){function e(h){var l=!(204!==h.status&&200!==h.status&&!h.response),m;h={succ:""+ +l,rc:h.status,lb:(null==(m=h.response)?void 0:m.byteLength)||0,rt:((0,g.vD)()-f).toFixed(),shost:g.Hl(a),trigger:b};LSa(h,a);c&&c(h);d&&!l&&d(new FK("pathprobe.net",h))} var f=(0,g.vD)();g.WB(a,{format:"RAW",responseType:"arraybuffer",timeout:1E4,onFinish:e,onTimeout:e})}; LSa=function(a,b){var c;(null==(c=window.performance)?0:c.getEntriesByName)&&(b=performance.getEntriesByName(b))&&b.length&&(b=b[0],a.pedns=(b.domainLookupEnd-b.startTime).toFixed(),a.pecon=(b.connectEnd-b.domainLookupEnd).toFixed(),a.perqs=(b.requestStart-b.connectEnd).toFixed(),MSa&&(a.perqsa=b.requestStart+(performance.timeOrigin||performance.timing.navigationStart)))}; g.tU=function(a,b,c,d){d=void 0===d?!1:d;g.aG.call(this,b);var e=this;this.J=a;this.Ea=d;this.N=new g.IK(this);this.ma=new g.CG(this,c,!0,void 0,void 0,function(){e.jW()}); g.L(this,this.N);g.L(this,this.ma)}; NSa=function(a){a.B&&(document.activeElement&&g.zf(a.element,document.activeElement)&&(Bf(a.B),a.B.focus()),a.B.setAttribute("aria-expanded","false"),a.B=void 0);g.KC(a.N);a.Y=void 0}; uU=function(a,b,c){a.Vj()?a.Pb():a.rd(b,c)}; OSa=function(a,b,c,d){d=new g.V({I:"div",Ma:["ytp-linked-account-popup-button"],xa:d,X:{role:"button",tabindex:"0"}});b=new g.V({I:"div",S:"ytp-linked-account-popup",X:{role:"dialog","aria-modal":"true",tabindex:"-1"},V:[{I:"div",S:"ytp-linked-account-popup-title",xa:b},{I:"div",S:"ytp-linked-account-popup-description",xa:c},{I:"div",S:"ytp-linked-account-popup-buttons",V:[d]}]});g.tU.call(this,a,{I:"div",S:"ytp-linked-account-popup-container",V:[b]},100);var e=this;this.dialog=b;g.L(this,this.dialog); d.Ta("click",function(){e.Pb()}); g.L(this,d);g.pU(this.J,this.element,4);this.hide()}; g.wU=function(a,b,c,d){g.aG.call(this,a);this.priority=b;c&&g.vU(this,c);d&&this.Yd(d)}; g.xU=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{I:c?"a":"div",Ma:b,X:a,V:[{I:"div",S:"ytp-menuitem-icon",xa:"{{icon}}"},{I:"div",S:"ytp-menuitem-label",xa:"{{label}}"},{I:"div",S:"ytp-menuitem-content",xa:"{{content}}"}]}}; yU=function(a,b){a.updateValue("icon",b)}; g.vU=function(a,b){a.updateValue("label",b)}; zU=function(a){g.wU.call(this,g.xU({"aria-haspopup":"true"},["ytp-linked-account-menuitem"]),2);var b=this;this.J=a;this.B=this.j=!1;this.Kb=a.qn();a.createServerVe(this.element,this,!0);this.T(this.J,"settingsMenuVisibilityChanged",function(c){b.ac(c)}); this.T(this.J,"videodatachange",this.D);this.Ta("click",this.onClick);this.D()}; AU=function(a){return a?g.dG(a):""}; BU=function(a){g.J.call(this);this.api=a}; CU=function(a){BU.call(this,a);var b=this;VT(a,"setAccountLinkState",function(c){b.setAccountLinkState(c)}); VT(a,"updateAccountLinkingConfig",function(c){b.updateAccountLinkingConfig(c)}); a.addEventListener("videodatachange",function(c,d){b.onVideoDataChange(d)}); a.addEventListener("settingsMenuInitialized",function(){b.menuItem=new zU(b.api);g.L(b,b.menuItem)})}; PSa=function(a){BU.call(this,a);this.events=new g.IK(a);g.L(this,this.events);this.events.T(a,"videoready",function(b){if(1===a.getPresentingPlayerType()){var c,d,e={playerDebugData:{pmlSignal:!!(null==(c=b.getPlayerResponse())?0:null==(d=c.adPlacements)?0:d.some(function(f){var h;return null==f?void 0:null==(h=f.adPlacementRenderer)?void 0:h.renderer})), contentCpn:b.clientPlaybackNonce}};g.gD("adsClientStateChange",e)}})}; RSa=function(a){g.V.call(this,{I:"button",Ma:["ytp-button"],X:{title:"{{title}}","aria-label":"{{label}}","data-priority":"2","data-tooltip-target-id":"ytp-autonav-toggle-button"},V:[{I:"div",S:"ytp-autonav-toggle-button-container",V:[{I:"div",S:"ytp-autonav-toggle-button",X:{"aria-checked":"true"}}]}]});this.J=a;this.B=[];this.j=!1;this.isChecked=!0;a.createClientVe(this.element,this,113681);this.T(a,"presentingplayerstatechange",this.nC);this.Ta("click",this.onClick);this.J.U().L("web_player_autonav_toggle_always_listen")&& QSa(this);dU(a,this.element,this);this.nC()}; QSa=function(a){a.B.push(a.T(a.J,"videodatachange",a.nC));a.B.push(a.T(a.J,"videoplayerreset",a.nC));a.B.push(a.T(a.J,"onPlaylistUpdate",a.nC));a.B.push(a.T(a.J,"autonavchange",a.QT))}; SSa=function(a){a.isChecked=a.isChecked;a.Ga("ytp-autonav-toggle-button").setAttribute("aria-checked",String(a.isChecked));var b=a.isChecked?"\u0410\u0432\u0442\u043e\u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e":"\u0410\u0432\u0442\u043e\u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043e";a.updateValue("title", b);a.updateValue("label",b);a.J.Eh()}; TSa=function(a){return a.J.U().L("web_player_autonav_use_server_provided_state")&&gRa(a.Fd())}; USa=function(a){BU.call(this,a);var b=this;this.events=new g.IK(a);g.L(this,this.events);this.events.T(a,"standardControlsInitialized",function(){var c=new RSa(a);g.L(b,c);a.yq(c)})}; DU=function(a,b){g.wU.call(this,g.xU({role:"menuitemcheckbox","aria-checked":"false"}),b,a,{I:"div",S:"ytp-menuitem-toggle-checkbox"});this.checked=!1;this.Ta("click",this.onClick)}; EU=function(a,b){a.checked=b;a.element.setAttribute("aria-checked",String(a.checked))}; VSa=function(a){var b=!a.U().Uk&&3!==a.getPresentingPlayerType();return a.isFullscreen()||b}; g.FU=function(a,b,c,d){var e=a.currentTarget;if((void 0===c||!c)&&g.TG(a))return a.preventDefault(),!0;b.pauseVideo();a=e.getAttribute("href");g.Bwa(a,d,!0);return!1}; g.GU=function(a,b,c){if(mS(b.U())&&2!==b.getPresentingPlayerType()){if(g.TG(c))return b.isFullscreen()&&!b.U().externalFullscreen&&b.toggleFullscreen(),c.preventDefault(),!0}else if(b.U().L("embeds_enable_webview_nonjs_navigation")&&g.YR(b.U())&&(pC()||nC()))b=c.target,b instanceof HTMLAnchorElement&&g.Kn(b,hga(a));else{var d=g.TG(c);d&&b.pauseVideo();g.Bwa(a,void 0,!0);d&&(g.cH(a),c.preventDefault())}return!1}; XSa=function(){var a=WSa.includes("ru")?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,X:{d:"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z", fill:"#fff"}}]}:{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,X:{d:"M11,11 C9.9,11 9,11.9 9,13 L9,23 C9,24.1 9.9,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M11,17 L14,17 L14,19 L11,19 L11,17 L11,17 Z M20,23 L11,23 L11,21 L20,21 L20,23 L20,23 Z M25,23 L22,23 L22,21 L25,21 L25,23 L25,23 Z M25,19 L16,19 L16,17 L25,17 L25,19 L25,19 Z",fill:"#fff"}}]};a.S="ytp-subtitles-button-icon";return a}; YSa=function(){return{I:"div",S:"ytp-spinner-container",V:[{I:"div",S:"ytp-spinner-rotator",V:[{I:"div",S:"ytp-spinner-left",V:[{I:"div",S:"ytp-spinner-circle"}]},{I:"div",S:"ytp-spinner-right",V:[{I:"div",S:"ytp-spinner-circle"}]}]}]}}; ZSa=function(a){if(document.createRange){var b=document.createRange();b&&(b.selectNodeContents(a),a=window.getSelection())&&(a.removeAllRanges(),a.addRange(b))}}; g.HU=function(a){return a.U().L("web_modern_player_settings")?$Sa:a.U().L("web_modern_player_settings_quality_bottom")?aTa:bTa}; IU=function(a){var b=a.L("web_player_use_cinematic_label_2")?"\u0424\u043e\u043d\u043e\u0432\u0430\u044f \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430":"\u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435";DU.call(this,b,g.HU(a).oL);var c=this;this.J=a;this.j=!1;this.B=new g.Bu(function(){g.Lu(c.element,"ytp-menuitem-highlighted")},0); this.Kb=a.qn();yU(this,{I:"svg",X:{height:"24",viewBox:"0 0 24 24",width:"24"},V:[{I:"path",X:{d:"M21 7v10H3V7h18m1-1H2v12h20V6zM11.5 2v3h1V2h-1zm1 17h-1v3h1v-3zM3.79 3 6 5.21l.71-.71L4.5 2.29 3.79 3zm2.92 16.5L6 18.79 3.79 21l.71.71 2.21-2.21zM19.5 2.29 17.29 4.5l.71.71L20.21 3l-.71-.71zm0 19.42.71-.71L18 18.79l-.71.71 2.21 2.21z",fill:"white"}}]});this.subscribe("select",this.D,this);this.Ta(cTa,this.C);g.L(this,this.B)}; eTa=function(a){BU.call(this,a);var b=this;this.j=!1;a.addEventListener("settingsMenuInitialized",function(){dTa(b)}); a.addEventListener("highlightSettingsMenu",function(c){dTa(b);var d=b.menuItem;"menu_item_cinematic_lighting"===c&&(g.Ju(d.element,"ytp-menuitem-highlighted"),g.Ju(d.element,"ytp-menuitem-highlight-transition-enabled"),d.B.start())}); VT(a,"updateCinematicSettings",function(c){b.updateCinematicSettings(c)})}; dTa=function(a){a.menuItem||(a.menuItem=new IU(a.api),g.L(a,a.menuItem),a.menuItem.Ra(a.j))}; JU=function(a){g.V.call(this,{I:"a",Ma:["ytp-cultural-moment-overlay","ytp-hip-hop-50-overlay","ytp-button"],X:{title:"{{title}}","aria-label":"{{aria_label}}",href:"{{url}}",target:"_blank"}});var b=this;this.api=a;this.api.createClientVe(this.element,this,188815);this.T(this.element,"click",function(c){c.preventDefault();b.api.logClick(b.element);b.api.Qa("innertubeCommand",b.command)}); dU(this.api,this.element,this)}; gTa=function(a){BU.call(this,a);var b=this;this.B=new g.Bu(this.j,1E4,this);this.D=!1;this.C=!0;this.events=new g.IK(a);g.L(this,this.events);g.L(this,this.B);this.events.T(a,"basechromeinitialized",function(){g.L(b,b.culturalMomentOverlay);b.culturalMomentOverlay=new JU(b.api);b.G=new g.V({I:"div",Ma:["ytp-player-content","ytp-cultural-moment-player-content"],V:[b.culturalMomentOverlay]});g.pU(b.api,b.G.element,4);b.culturalMomentOverlay.hide()}); this.events.T(a,"presentingplayerstatechange",function(){b.j()}); this.events.T(a,"onHideControls",function(){b.C=!1;b.j()}); this.events.T(a,"onShowControls",function(){b.C=!0;b.B.start();b.j()}); this.events.T(a,"videodatachange",function(){var c,d,e,f=null==(c=a.getVideoData())?void 0:null==(d=c.getWatchNextResponse())?void 0:null==(e=d.playerOverlays)?void 0:e.playerOverlayRenderer;c=g.U(null==f?void 0:f.culturalMomentOverlay,fTa);(null==c?0:c.endpoint)&&null!=(d=b.culturalMomentOverlay)&&(e=c.endpoint,d.command=e,(f=g.U(e,g.pG))?d.updateValue("url",f.url):d.updateValue("url",g.U(e,g.KU).canonicalBaseUrl));(null==c?0:c.tooltipText)&&null!=(d=b.culturalMomentOverlay)&&(e=g.dG(c.tooltipText), d.updateValue("title",e),d.updateValue("aria_label",e));b.D=!!c;b.D&&b.B.start();b.j()})}; LU=function(a){BU.call(this,a);var b=this;this.j={};this.events=new g.IK(a);g.L(this,this.events);this.events.T(a,"videodatachange",function(){b.onVideoDataChange()}); this.events.T(a,g.YJ("embargo"),function(c){b.api.Yn(!0);var d,e=null!=(d=b.j[c.id])?d:[];d=g.v(e);for(e=d.next();!e.done;e=d.next()){var f=e.value;b.api.hideControls();b.api.zg("auth",2,"This video isn't available in your current playback area",EK({embargoed:1,id:c.id,idx:c.B,start:c.start}));e=void 0;(f=null==(e=f.embargo)?void 0:e.onTrigger)&&b.api.Qa("innertubeCommand",f)}})}; hTa=function(a,b){var c;return null==(c=b.onEnter)?void 0:c.some(a.B)}; iTa=function(a,b){b=g.v(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0,e=Number(null==(d=c.playbackPosition)?void 0:d.utcTimeMillis)/1E3,f=void 0;d=e+Number(null==(f=c.duration)?void 0:f.seconds);f="embargo_"+e;a.api.addUtcCueRange(f,e,d,"embargo",!1);c.onEnter&&(a.j[f]=c.onEnter.filter(a.B))}}; jTa=function(a){BU.call(this,a);var b=this;this.j=[];this.events=new g.IK(a);g.L(this,this.events);VT(a,"addEmbedsConversionTrackingParams",function(c){b.api.U().Mo&&b.addEmbedsConversionTrackingParams(c)}); this.events.T(a,"veClickLogged",function(c){b.api.hasVe(c)&&(c=Rj(c.visualElement.getAsJspb(),2),b.j.push(c))})}; kTa=function(a){BU.call(this,a);var b=this;this.events=new g.IK(a);g.L(this,this.events);this.events.T(a,"initialvideodatacreated",function(c){rP(qP(),16623);b.j=g.xF();var d=a.U().Ug&&!c.Sf;if(KT(c)&&d){rP(qP(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"});if(c.getWatchNextResponse()){var e,f=null==(e=c.getWatchNextResponse())?void 0:e.trackingParams;f&&tP(f)}if(c.getPlayerResponse()){var h;(c=null==(h=c.getPlayerResponse())?void 0:h.trackingParams)&&tP(c)}}else rP(qP(), 32594,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"}),c.hg&&(h=null==(f=c.hg)?void 0:f.trackingParams)&&tP(h)}); this.events.T(a,"loadvideo",function(){rP(qP(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED",parentCsn:b.j})}); this.events.T(a,"cuevideo",function(){rP(qP(),32594,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED",parentCsn:b.j})}); this.events.T(a,"largeplaybuttonclicked",function(c){rP(qP(),27240,c.visualElement)}); this.events.T(a,"playlistnextbuttonclicked",function(c){rP(qP(),27240,c.visualElement)}); this.events.T(a,"playlistprevbuttonclicked",function(c){rP(qP(),27240,c.visualElement)}); this.events.T(a,"playlistautonextvideo",function(){rP(qP(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"})})}; lTa=function(a){var b;return(null==(b=((null==a?void 0:a.messageRenderers)||[]).find(function(c){return!!c.timeCounterRenderer}))?void 0:b.timeCounterRenderer)||null}; MU=function(a){g.V.call(this,{I:"div",Ma:["ytp-player-content","ytp-iv-player-content"],V:[{I:"div",S:"ytp-free-preview-countdown-timer",V:[{I:"span",xa:"{{label}}"},{I:"span",S:"ytp-free-preview-countdown-timer-separator",xa:"\u2022"},{I:"span",xa:"{{duration}}"}]}]});this.api=a;this.j=null;this.C=this.B=0;this.T(this.api,"videodatachange",this.onVideoDataChange);this.api.createClientVe(this.element,this,191284)}; nTa=function(a,b){a.j||(a.B=b,a.C=(0,g.vD)(),a.j=new g.zu(function(){mTa(a)},null),mTa(a))}; mTa=function(a){var b=Math,c=b.round,d=Math.min((0,g.vD)()-a.C,a.B);b=c.call(b,(a.B-d)/1E3);a.updateValue("duration",KGa({seconds:b}));0>=b&&a.j?oTa(a):a.j&&a.j.start()}; oTa=function(a){a.j&&(a.j.dispose(),a.j=null)}; pTa=function(a){BU.call(this,a);var b=this;this.events=new g.IK(a);g.L(this,this.events);this.events.T(a,"basechromeinitialized",function(){b.j=new MU(a);g.L(b,b.j);g.pU(a,b.j.element,4);b.j.hide()})}; NU=function(a){g.V.call(this,{I:"button",Ma:["ytp-fullerscreen-edu-button","ytp-button"],V:[{I:"div",Ma:["ytp-fullerscreen-edu-text"],xa:"\u041f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u0435 \u044d\u043a\u0440\u0430\u043d \u0432\u043d\u0438\u0437, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e"},{I:"div",Ma:["ytp-fullerscreen-edu-chevron"], V:[{I:"svg",X:{height:"100%",viewBox:"0 0 24 24",width:"100%"},V:[{I:"path",X:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}],X:{"data-priority":"1"}});this.Wa=a;this.j=new g.CG(this,250,void 0,100);this.C=this.B=!1;a.createClientVe(this.element,this,61214);g.L(this,this.j);this.T(a,"fullscreentoggled",this.Ra);this.T(a,"presentingplayerstatechange",this.Ra);this.Ta("click",this.onClick);this.Ra()}; OU=function(a){BU.call(this,a);var b=this;this.events=new g.IK(a);g.L(this,this.events);VT(this.api,"updateFullerscreenEduButtonSubtleModeState",function(d){b.updateFullerscreenEduButtonSubtleModeState(d)}); VT(this.api,"updateFullerscreenEduButtonVisibility",function(d){b.updateFullerscreenEduButtonVisibility(d)}); var c=a.U();a.L("external_fullscreen_with_edu")&&c.externalFullscreen&&mS(c)&&"1"===c.controlsType&&this.events.T(a,"standardControlsInitialized",function(){b.j=new NU(a);g.L(b,b.j);a.yq(b.j)})}; qTa=function(a){g.V.call(this,{I:"div",S:"ytp-gated-actions-overlay",V:[{I:"div",S:"ytp-gated-actions-overlay-background",V:[{I:"div",S:"ytp-gated-actions-overlay-background-overlay"}]},{I:"button",Ma:["ytp-gated-actions-overlay-miniplayer-close-button","ytp-button"],X:{"aria-label":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},V:[g.hG()]},{I:"div",S:"ytp-gated-actions-overlay-bar",V:[{I:"div",S:"ytp-gated-actions-overlay-text-container",V:[{I:"div",S:"ytp-gated-actions-overlay-title",xa:"{{title}}"}, {I:"div",S:"ytp-gated-actions-overlay-subtitle",xa:"{{subtitle}}"}]},{I:"div",S:"ytp-gated-actions-overlay-button-container"}]}]});var b=this;this.api=a;this.background=this.Ga("ytp-gated-actions-overlay-background");this.B=this.Ga("ytp-gated-actions-overlay-button-container");this.j=[];this.T(this.Ga("ytp-gated-actions-overlay-miniplayer-close-button"),"click",function(){b.api.Qa("onCloseMiniplayer")}); this.hide()}; sTa=function(a,b){var c=0,d={};for(c=0;c e&&(e=l.width,f="url("+l.url+")")}c.background.style.backgroundImage=f;sTa(c,d.actionButtons||[]);c.show()}else c.hide()}); g.pU(this.api,this.j.element,4)}; PU=function(a){BU.call(this,a);var b=this;XT(this.api,"getSphericalProperties",function(){return b.getSphericalProperties()}); XT(this.api,"setSphericalProperties",function(){b.setSphericalProperties.apply(b,g.ra(g.Ka.apply(0,arguments)))}); WT(this.api,"getSphericalProperties",function(){return 2===b.api.getPresentingPlayerType()?{}:b.getSphericalProperties()}); WT(this.api,"setSphericalProperties",function(){var c=g.Ka.apply(0,arguments);2!==b.api.getPresentingPlayerType()&&b.setSphericalProperties.apply(b,g.ra(c))})}; uTa=function(a){BU.call(this,a);VT(a,"createClientVe",this.createClientVe.bind(this));VT(a,"createServerVe",this.createServerVe.bind(this));VT(a,"destroyVe",this.destroyVe.bind(this));VT(a,"hasVe",this.hasVe.bind(this));VT(a,"logClick",this.logClick.bind(this));VT(a,"logVisibility",this.logVisibility.bind(this));VT(a,"setTrackingParams",this.setTrackingParams.bind(this))}; QU=function(a){BU.call(this,a);var b=this;this.events=new g.IK(a);g.L(this,this.events);VT(this.api,"seekToChapterWithAnimation",function(c){b.seekToChapterWithAnimation(c)}); VT(this.api,"seekToTimeWithAnimation",function(c,d){b.seekToTimeWithAnimation(c,d)}); VT(this.api,"setMacroMarkers",function(c){b.setMacroMarkers(a,c)})}; vTa=function(a,b,c){var d=1E3*a.api.getCurrentTime()=c.width||!c.height||0>=c.height||g.UJ(c.url)&&b.push({src:c.url||"",sizes:c.width+"x"+c.height,type:"image/jpeg"}));return b}; xTa=function(a){a=a.api.Qb();a=a.isCued()||a.isError()?"none":g.GL(a)?"playing":"paused";navigator.mediaSession.playbackState=a}; SU=function(a){BU.call(this,a);var b=this;this.B=new Map;this.C=this.j=void 0;this.compositeVideoState=null;this.events=new g.IK(a);g.L(this,this.events);this.events.T(a,"modulecreated",function(c){var d;a:{var e,f,h,l=null==(e=b.api.getVideoData())?void 0:null==(f=e.getPlayerResponse())?void 0:null==(h=f.overlay)?void 0:h.playerControlsOverlayRenderer;if(l&&(e=g.U(l.compositeVideoOverlay,CTa),null==e?0:null==(d=e.sources)?0:d.length))for(d=g.v(null==e?void 0:e.sources),e=d.next();!e.done;e=d.next())if(e= e.value,e.isActive){d=e;break a}d=void 0}"captions"===c&&void 0!==(null==d?void 0:d.topLeftCornerX)&&void 0!==(null==d?void 0:d.topLeftCornerY)&&void 0!==(null==d?void 0:d.width)&&void 0!==(null==d?void 0:d.height)&&b.api.cL({top:d.topLeftCornerY,right:1-d.topLeftCornerX-d.width,bottom:1-d.topLeftCornerY-d.height,left:d.topLeftCornerX})}); this.events.T(a,"videodatachange",function(c){var d=b.api.getVideoData();b.j=void 0;b.B.clear();b.api.hf("compositeembargo",1);var e=null==d?void 0:d.mL.get("PLAYER_CUE_RANGE_SET_IDENTIFIER_EMBARGO");(null==e?0:e.length)?DTa(b,e.filter(function(f){return ETa(b,f)})):(null==d?0:d.cueRanges)&&DTa(b,d.cueRanges.filter(function(f){return ETa(b,f)})); "dataupdated"===c&&(null==d?void 0:d.compositeLiveStatusToken)!==b.C&&(b.C=null==d?void 0:d.compositeLiveStatusToken,b.api.zo())}); this.events.T(a,g.YJ("compositeembargo"),function(c){var d;if((null==(d=b.j)?void 0:d.id)!==c.id&&(b.api.Yn(!0),b.B.has(c.id))){var e=b.B.get(c.id);d=b.api.getVideoData();e=g.v(e);for(var f=e.next();!f.done;f=e.next()){var h=void 0;f=null==(h=f.value.compositeEmbargo)?void 0:h.embargoStatusToken;d.jw!==f&&(d.jw=f,b.api.zo());FTa(b,c)}}}); this.events.T(a,g.ZJ("compositeembargo"),function(c){var d;if((null==(d=b.j)?void 0:d.id)===c.id&&(b.api.Yn(!1),b.B.has(c.id))){if(c=b.api.getVideoData())c.jw=void 0;b.api.zo();FTa(b)}}); this.events.T(a,"heartbeatRequest",function(c){null!==b.compositeVideoState&&(c.playbackState||(c.playbackState={}),c.playbackState.compositeVideoState=b.compositeVideoState)}); this.events.T(a,"onPlaybackAudioChange",function(){b.api.zo()}); VT(a,"setCompositeParam",function(c){b.compositeVideoState=c})}; FTa=function(a,b){var c;(null==(c=a.j)?void 0:c.id)!==(null==b?void 0:b.id)&&(a.j&&(a.B.delete(a.j.id),a.api.Xp([a.j],1)),a.j=b)}; DTa=function(a,b){b=g.v(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value,e=void 0;c=Number(null==(e=d.playbackRelativePosition)?void 0:e.utcTimeMs)/1E3;var f=void 0;e=c+Number(null==(f=d.duration)?void 0:f.seconds);f="composite_embargo_"+c;d.onEnter&&(d=d.onEnter.filter(a.D),d.length&&(a.B.set(f,d),a.api.addUtcCueRange(f,c,e,"compositeembargo",!1)))}}; ETa=function(a,b){var c;return null==(c=b.onEnter)?void 0:c.some(a.D)}; GTa=function(a){BU.call(this,a);VT(this.api,"queueOfflineAction",this.queueOfflineAction.bind(this));VT(this.api,"updateDownloadState",this.updateDownloadState.bind(this));VT(this.api,"pauseVideoDownload",this.pauseVideoDownload.bind(this));VT(this.api,"resumeVideoDownload",this.resumeVideoDownload.bind(this));VT(this.api,"isOrchestrationLeader",this.isOrchestrationLeader.bind(this));VT(this.api,"refreshAllStaleEntities",this.refreshAllStaleEntities.bind(this))}; TU=function(a){BU.call(this,a);var b=this;VT(a,"getAvailableQualityData",function(){return b.getAvailableQualityData()}); VT(a,"getAvailableQualityDataAndMessaging",function(){return b.getAvailableQualityDataAndMessaging()})}; HTa=function(a,b,c){var d=[],e=b?156595:151874;a=g.v(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}; ITa=function(a){for(var b=0,c=0;cf.start&&dG;G++)if(F=(F<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(x.charAt(G)),4==G%5){for(var H="",O=0;6>O;O++)H="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(F&31)+H,F>>=5;B+=H}x=B.substr(0,4)+ " "+B.substr(4,4)+" "+B.substr(8,4)}else x="";m={video_id_and_cpn:String(c.videoId)+" / "+x,codecs:"",dims_and_frames:"",bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:p.toFixed(2)+" s",date:""+(new Date).toString(),drm_style:r?"":"display:none",drm:r,debug_info:d,extra_debug_info:"",bandwidth_style:u,network_activity_style:u,network_activity_bytes:n.toFixed(0)+" KB",shader_info:t,shader_info_style:t?"":"display:none",playback_categories:""};n=e.clientWidth+"x"+e.clientHeight+(1P)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;(P= b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(e+=", seq "+P.sequence);m.live_mode=e}b.isGapless()&&(m.playback_categories+="Gapless ");m.playback_categories_style=m.playback_categories?"":"display:none";m.bandwidth_samples=fV(l,"bandwidth");m.network_activity_samples=fV(l,"networkactivity");m.live_latency_samples=fV(l,"livelatency");m.buffer_health_samples=fV(l,"bufferhealth");b=g.PT(c);if(c.cotn||b)m.cotn_and_local_media=(c.cotn?c.cotn:"null")+" / "+b;m.cotn_and_local_media_style=m.cotn_and_local_media? "":"display:none";gT(c,"web_player_release_debug")?(m.release_name="youtube.player.web_20231114_01_RC00",m.release_style=""):m.release_style="display:none";m.debug_info&&0=m.debug_info.length+q.length?m.debug_info+=" "+q:m.extra_debug_info=q;m.extra_debug_info_style=m.extra_debug_info&&0>31));KO(a,16,b.C7);KO(a,17,b.detailedNetworkType);KO(a,18,b.V4);KO(a,19,b.U4);KO(a,21,b.Eba);KO(a,23,b.J4);KO(a,28,b.RQ);KO(a,29,b.Uba);KO(a,34,b.visibility);c=b.playbackRate;if(void 0!==c){var d=new ArrayBuffer(4);(new Float32Array(d))[0]=c;c=(new Uint32Array(d))[0];if(void 0!==c)for(JO(a,285),IO(a,4),d=0;4>d;)a.view.setUint8(a.pos,c&255),c>>=8,a.pos+=1,d+=1}KO(a,36,b.x5); OO(a,38,b.mediaCapabilities,iUa,3);KO(a,39,b.Tba);KO(a,40,b.Cv);KO(a,44,b.playerState);LO(a,46,b.u5);KO(a,48,b.eba);KO(a,50,b.ev);KO(a,51,b.qx);KO(a,54,b.Yp);LO(a,56,b.c8);KO(a,57,b.a5);LO(a,58,b.Vn);KO(a,59,b.Ii);KO(a,60,b.Cw);LO(a,61,b.isPrefetch)}; kUa=function(a){return{JM:FO(a,2),videoId:DO(a,3),zS:AO(a,4)}}; lUa=function(a){return{JI:FO(a,1)}}; iUa=function(a,b){var c;if(b.gL)for(c=0;c=a.length?0:b}; UUa=function(a){var b=a.index-1;return 0>b?a.length-1:b}; g.tV=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.aT(a.Ia,b),g.L(a,e),e.Mm=!0,e.startSeconds=a.startSeconds||e.clipStart||0,a.listId&&(e.playlistId=a.listId.toString()));return e}; VUa=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.tV(a);a.items=[];for(var d=g.v(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.B++;a.j&&a.j()}}; YUa=function(a,b){var c,d,e,f,h,l,m;return g.I(function(n){if(1==n.j){c=g.dI();var p=a.U(),q={context:g.RT(a),playbackContext:{contentPlaybackContext:{ancestorOrigins:p.ancestorOrigins}}};p=p.embedConfig;var r=b.docid||b.video_id||b.videoId||b.id;if(!r){r=b.raw_embedded_player_response;if(!r){var t=b.embedded_player_response;t&&(r=JSON.parse(t))}if(r){var u,x,B,F,G,H;r=(null==(H=g.U(null==(u=r)?void 0:null==(x=u.embedPreview)?void 0:null==(B=x.thumbnailPreviewRenderer)?void 0:null==(F=B.playButton)? void 0:null==(G=F.buttonRenderer)?void 0:G.navigationEndpoint,g.lT))?void 0:H.videoId)||null}else r=null}u=(u=r)?u:void 0;x=a.playlistId?a.playlistId:b.list;B=b.listType;if(x){var O;"user_uploads"===B?O={username:x}:O={playlistId:x};WUa(p,u,b,O);q.playlistRequest=O}else b.playlist?(O={templistVideoIds:b.playlist.toString().split(",")},WUa(p,u,b,O),q.playlistRequest=O):u&&(O={videoId:u},p&&(O.serializedThirdPartyEmbedConfig=p),q.singleVideoRequest=O);d=q;e=g.hH(XUa);g.Ca(n,2);return g.y(n,g.WH(c,d, e),4)}if(2!=n.j)return f=n.B,h=a.U(),b.raw_embedded_player_response=f,h.Fa=Ooa(b,g.YR(h)),h.C="EMBEDDED_PLAYER_MODE_PFL"===h.Fa,f&&(l=f,l.trackingParams&&tP(l.trackingParams)),n.return(new g.aT(h,b));m=g.Ea(n);m instanceof Error||(m=Error("b259802748"));g.AF(m);return n.return(a)})}; WUa=function(a,b,c,d){c.index&&(d.playlistIndex=String(Number(c.index)+1));d.videoId=b?b:"";a&&(d.serializedThirdPartyEmbedConfig=a)}; g.vV=function(a,b){uV.get(a);uV.set(a,b)}; g.wV=function(a){g.TF.call(this);this.loaded=!1;this.player=a}; ZUa=function(){this.B=[];this.j=[]}; g.xV=function(a,b){return b?a.j.concat(a.B):a.j}; g.yV=function(a,b){switch(b.kind){case "asr":$Ua(b,a.B);break;default:$Ua(b,a.j)}}; $Ua=function(a,b){g.zb(b,function(c){return a.equals(c)})||b.push(a)}; g.zV=function(a){g.J.call(this);this.W=a;this.B=new ZUa;this.D=[];this.N=[]}; g.AV=function(a,b,c){g.zV.call(this,a);this.audioTrack=c;this.j=null;this.C=!1;this.D=b.Cx;this.N=b.XB;this.C=g.pT(b)}; aVa=function(){this.j=10;this.Yi=!1}; bVa=function(a,b){b=void 0===b?{}:b;var c=void 0===b.RD?!1:b.RD,d=new aVa;d.Yi=(void 0===b.hasSubfragmentedFmp4?!1:b.hasSubfragmentedFmp4)||c;d.j=g.rJ(a.experiments,"html5_streaming_xhr_time_based_consolidation_ms")||d.j;return d}; g.cVa=function(a){this.Ia=a;this.N=new aVa;this.Lo=this.Ko=!1;this.Nl=2;this.ma=20971520;this.Sa=8388608;this.Y=120;this.Hc=62914560;this.Nm=g.rJ(this.Ia.experiments,"html5_min_readbehind_secs");this.Dz=g.rJ(this.Ia.experiments,"html5_min_readbehind_cap_secs");this.Pm=this.Ia.L("html5_offline_reset_media_stream_on_unresumable_slices");this.Sb=NaN;this.So=this.Yk=this.Ax=2;this.gj=1024*BV(this,"html5_request_size_min_kb",64);this.Fa=2097152;this.Cx=BV(this,"html5_bypass_contention_secs");this.Ro=1048576; this.Em=!1;this.Ji=BV(this,"html5_repredict_interval_ms",1800);this.By=BV(this,"html5_head_miss_secs",5);this.Vz=BV(this,"html5_min_upgrade_health_secs",10);this.Ya=15;this.Pf=1;this.K=1.15;this.Z=1.05;this.ql=1;this.Uz=BV(this,"html5_min_seconds_between_format_selections",8);this.Ay=BV(this,"html5_max_buffer_health_for_downgrade_secs",15);this.Ll=BV(this,"html5_max_buffer_health_for_downgrade_prop",.5);this.Fu=CR;this.Ug=this.Nb=!1;this.Fi=6;this.B=!1;this.vC=g.rJ(this.Ia.experiments,"html5_top_shelf_format_byterate_factor")|| 1.2;this.pd=g.rJ(this.Ia.experiments,"html5_min_startup_buffered_media_duration_secs");this.Mo=g.rJ(this.Ia.experiments,"html5_post_interrupt_readahead");this.Ix=this.Ia.L("html5_disable_classic_alr");this.Oo=g.rJ(this.Ia.experiments,"html5_probe_primary_delay_base_ms")||5E3;this.mw=100;this.Tf=10;this.yA=6;this.Ep=BV(this,"html5_ssdai_failure_retry_limit",3);this.Cm=this.Ia.experiments.jb("html5_clone_original_for_fallback_location");this.Gi=BV(this,"html5_min_failures_to_delay_retry",1);this.PB= this.Ia.L("html5_apply_min_failures");this.Rf=!1;this.rb=g.rJ(this.Ia.experiments,"html5_subsegment_readahead_target_buffer_health_secs");this.mj=g.rJ(this.Ia.experiments,"html5_subsegment_readahead_timeout_secs");this.sC=g.rJ(this.Ia.experiments,"html5_subsegment_readahead_min_buffer_health_secs");this.jj=g.rJ(this.Ia.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");this.tC=g.rJ(this.Ia.experiments,"html5_subsegment_readahead_min_load_speed");this.jw=g.rJ(this.Ia.experiments, "html5_subsegment_readahead_load_speed_check_interval");this.uC=g.rJ(this.Ia.experiments,"html5_subsegment_readahead_seek_latency_fudge");this.Tg=BV(this,"html5_hopeless_secs",15);this.Kl=1;this.jd=!1;this.XB=this.Ia.L("html5_restrict_streaming_xhr_on_sqless_requests");this.Cy=g.rJ(this.Ia.experiments,"html5_max_headm_for_streaming_xhr");this.WF=this.Ia.L("html5_pipeline_manifestless_allow_nonstreaming");this.kG=this.Ia.L("html5_prefer_server_bwe3");this.wy=this.Ia.L("html5_last_slice_transition"); this.qC=this.Ia.L("html5_store_xhr_headers_readable");this.Vo=this.Pe=this.Nj=!1;this.Ml=g.rJ(this.Ia.experiments,"html5_max_drift_per_track_secs");this.Go=this.Ia.L("html5_no_placeholder_rollbacks");this.rC=this.Ia.L("html5_subsegment_readahead_enable_mffa");this.Ge=this.Ia.L("html5_allow_video_keyframe_without_audio");this.hF=this.Ia.L("html5_enable_vp9_fairplay");this.Om=!1;this.Db=!0;this.ye=this.Ka=this.Jb=!1;this.Hl=!0;this.To=!1;this.C="";this.Zx=1048576;this.Pd=[];this.iy=this.Ia.L("html5_woffle_resume"); this.Uk=this.Ia.L("html5_abs_buffer_health");this.uy=this.Ia.L("html5_interruption_resets_seeked_time");this.My=g.rJ(this.Ia.experiments,"html5_max_live_dvr_window_plus_margin_secs")||46800;this.Ea=!1;this.Il=this.Ia.L("html5_explicitly_dispose_xhr");this.Po=!1;this.ll=!this.Ia.L("html5_encourage_array_coalescing");this.wl=!1;this.VB=this.Ia.L("html5_restart_on_unexpected_detach");this.Ii=0;this.Sf="";this.sy=this.Ia.L("html5_filter_non_efficient_formats_for_safari");this.Ia.L("html5_format_hybridization"); this.NB=this.Ia.L("html5_abort_before_separate_init");this.ZB=Ioa();this.aC=this.Ia.L("html5_serialize_server_stitched_ad_request");this.Ex=this.Ia.L("html5_skip_buffer_check_seek_to_head");this.kd=!1;this.Bx=this.Ia.L("html5_attach_po_token_to_bandaid");this.Lm=g.rJ(this.Ia.experiments,"html5_max_redirect_response_length")||8192;this.ij=this.Ia.L("html5_rewrite_timestamps_for_webm");this.gb=this.Ia.L("html5_only_media_duration_for_discontinuities");this.UB=g.rJ(this.Ia.experiments,"html5_resource_bad_status_delay_scaling")|| 1;this.Ia.L("html5_onesie_live");this.wC=this.Ia.L("html5_onesie_premieres");this.gy=this.Ia.L("html5_drop_onesie_for_live_mode_mismatch");this.QA=g.rJ(this.Ia.experiments,"html5_onesie_live_ttl_secs")||8;this.Io=g.rJ(this.Ia.experiments,"html5_attach_num_random_bytes_to_bandaid");this.dF=g.rJ(this.Ia.experiments,"html5_onesie_request_timeout_ms")||3E3;this.D=!1;this.Aa=this.Ia.L("html5_ssdai_use_post_for_media")&&this.Ia.L("gab_return_sabr_ssdai_config");this.xx=this.Ia.L("html5_use_post_for_media"); this.tb=this.Ia.L("html5_use_live_ump_heartbeat");this.Od=this.Ia.L("html5_use_sps_ump_part");this.useUmp=this.Ia.L("html5_use_ump")||this.tb||this.Od;this.Na=this.qa=!1;this.No=this.Ia.L("html5_prefer_drc");this.TB=this.Ia.L("html5_reset_primary_stats_on_redirector_failure");this.Ia.L("html5_remap_to_original_host_when_redirected");this.Im=this.Qf=this.j=!1;this.Za=this.Ia.L("html5_enable_sabr_format_selection");this.Fx=this.Ia.L("html5_iterative_seeking_buffered_time");this.Yj=this.Ia.L("html5_use_network_error_code_enums"); this.Jx=this.Ia.L("html5_disable_overlapping_requests");this.qy=this.Ia.L("html5_fallback_to_cabr_on_net_bad_status");this.G=!1;this.Of=this.Ia.L("html5_disable_bandwidth_cofactors_for_sabr");this.enableServerDrivenRequestCancellation=this.Ia.L("html5_enable_server_driven_request_cancellation");this.oy=this.Ia.L("html5_enable_sabr_request_timing");this.dc=this.Ia.L("html5_enable_server_format_filter");this.ey=this.Ia.L("html5_drc_edit_sync_workaround");this.jy=this.Ia.L("html5_enable_lawnmower"); this.Hx=this.Ia.Nc()?g.rJ(this.Ia.experiments,"html5_continuous_goodput_probe_interval_ms"):0;this.vy=g.rJ(this.Ia.experiments,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN;this.Ho=g.rJ(this.Ia.experiments,"html5_normal_latency_mffa_ms")||NaN;this.nA=g.rJ(this.Ia.experiments,"html5_mffa_ms_proxima_override")||this.Ho;this.YB=this.Ia.L("html5_retry_quota_exceeded_via_seek");this.Uw=this.Ia.L("html5_use_goodput_request_for_probing");this.zy=this.Ia.L("html5_live_defrag_only_h264_playbacks");this.yy= this.Ia.L("html5_live_defrag_only_h264_formats");this.xC=this.Ia.L("html5_use_managed_media_source_buffering");this.lG=this.Ia.L("html5_record_now");this.Hm=this.Ia.L("html5_consume_onesie_media_bytes_on_mismatch_for_sabr");this.He=!1;this.Jm=g.rJ(this.Ia.experiments,"html5_drm_byterate_soft_cap");this.Km=g.rJ(this.Ia.experiments,"html5_drm_live_byterate_soft_cap");this.Qo=!1;this.Va=this.Ia.L("html5_use_sabr_error_http_response_code");this.yC=this.Ia.L("html5_use_target_duration");this.Jl=!1;this.Ow= this.Ia.L("html5_track_overshoot");this.ob=this.Ia.L("html5_sabr_report_request_cancellation_info");this.bC=this.Ia.L("html5_sabr_update_av1_hybrid_threshold");this.Df=this.Jo=this.Jp=!1;this.ip=this.Ia.L("html5_spoof_4k");this.wx=this.Ed=!1;this.Mm=BV(this,"html5_min_media_duration_for_cabr_slice");this.kz=this.ll?0:BV(this,"html5_min_media_duration_for_append_prop");this.SB=this.Ia.L("html5_remove_defrag_without_frame_level_streaming");this.jc=this.Ia.L("html5_log_audio_switching_latency");this.Uo= !1;this.py=this.Ia.L("html5_enable_sabr_web_po_token");this.Gx=this.Ia.L("html5_consume_all_buffered_bytes_one_poll");this.Kx=this.Ia.L("html5_disable_urgent_adaptation");this.OB=this.Ia.L("html5_apply_constraints_in_client_for_sabr")}; dVa=function(a,b,c){c=void 0===c?!1:c;1080Math.random()){var B=new g.VC("Unable to load player module",b,document.location&&document.location.origin);g.AF(B)}Ff(e);r&&r(x)}; var t=m,u=t.onreadystatechange;t.onreadystatechange=function(x){switch(t.readyState){case "loaded":case "complete":Ff(f)}u&&u(x)}; l&&((h=a.J.U().cspNonce)&&m.setAttribute("nonce",h),g.Nn(m,g.fw(b)),h=g.We("HEAD")[0]||document.body,h.insertBefore(m,h.firstChild),a.addOnDisposeCallback(function(){m.parentNode&&m.parentNode.removeChild(m)}))}; IVa=function(a,b,c,d,e){g.TF.call(this);var f=this;this.target=a;this.WG=b;this.B=0;this.K=!1;this.D=new g.pe(NaN,NaN);this.j=new g.IK(this);this.Aa=this.C=this.N=null;g.L(this,this.j);b=d||e?4E3:3E3;this.Y=new g.Bu(function(){OV(f,1,!1)},b,this); g.L(this,this.Y);this.ma=new g.Bu(function(){OV(f,2,!1)},b,this); g.L(this,this.ma);this.qa=new g.Bu(function(){OV(f,512,!1)},b,this); g.L(this,this.qa);this.Ea=3E3;d||(this.C=this.j.T(a,"mouseover",this.Aw),this.j.T(a,"mousemove",this.b3),this.j.T(a,"mouseleave",this.g8));Wr?this.j.T(a,"keypress",this.A7):this.j.T(a,"focusin",this.Q5);this.G=this.j.T(a,"mousedown",this.TT);this.Z=this.j.T(a,"touchstart",this.UT,void 0,!0);OV(this,640,!0)}; JVa=function(a){OV(a,4,!1);a.N&&(a.j.Mc(a.N),a.N=null,a.C=a.j.T(a.target,"mouseover",a.Aw));a.C&&(a.j.Mc(a.C),a.C=a.j.T(a.target,"mouseover",a.Aw))}; OV=function(a,b,c){a.isDisposed();var d=!a.B;c?(a.B|=b,b&1&&a.Y.start(),b&2&&a.ma.start()):(a.B&=~b,b&1&&a.Y.stop(),b&2&&a.ma.stop(),b&512&&a.qa.stop());a.B&512&&!(a.B&128)&&g.Cu(a.qa,a.Ea);b=!a.B;d!==b&&a.oa("autohideupdate",b)}; g.QV=function(a){g.V.call(this,{I:"button",Ma:["ytp-large-play-button","ytp-button"],X:{"aria-label":"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c",title:"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c"},V:["{{largePlayButtonChildren}}"]});this.api=a;this.T(a,"videodatachange",this.Ra);this.T(a,"basechromeinitialized",this.kca);a=this.api.U();a.Z&&PV&&(this.Ta("click",this.B6,this),this.Ta("touchstart",this.taa,this));g.cS(a)&&g.Ju(this.element,"ytp-large-play-button-red-bg");this.api.createClientVe(this.element, this,28572);this.Ra()}; g.RV=function(a){var b=a.U(),c=["ytp-cued-thumbnail-overlay"];b.N&&c.push("ytp-exp-contain-thumbnail");b.L("web_player_show_frame_zero_when_cued")&&c.push("ytp-exp-frame0");g.V.call(this,{I:"div",Ma:c,V:[{I:"div",S:"ytp-cued-thumbnail-overlay-image"}]});b=this.Ga("ytp-cued-thumbnail-overlay");c=new g.QV(a);g.L(this,c);c.Da(b);this.D=new g.IK(this);g.L(this,this.D);this.api=a;this.G=this.Ga("ytp-cued-thumbnail-overlay-image");this.C=c;this.B=new g.CG(this,250);g.L(this,this.B);this.j=new g.Bu(this.Ra, 0,this);g.L(this,this.j);this.Ra();this.T(a,"appresize",this.Ib);this.T(a,"presentingplayerstatechange",this.onStateChange);this.T(a,"ypcStateChanged",this.Z$);$R(a.U())&&this.T(a,"videoplayerreset",this.Iw)}; KVa=function(a){if(!a.api.L("web_player_show_frame_zero_when_cued"))return!1;var b=a.api.getCurrentTime();a=a.api.Qb();a=g.JG(a,64)&&g.JG(a,1);return 0===b&&a}; g.SV=function(a){g.V.call(this,{I:"div",Ma:["ytp-error"],X:{role:"alert"},V:[{I:"div",S:"ytp-error-content",V:[{I:"div",S:"ytp-error-icon-container",V:[{I:"svg",X:{fill:"#fff",viewBox:"0 0 48 48"},V:[{I:"path",X:{d:"M0 0h48v48H0V0z",fill:"none"}},{I:"path",X:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z","fill-opacity":"0.7"}}]}]},{I:"div",S:"ytp-error-content-wrap", V:[{I:"div",S:"ytp-error-content-wrap-reason",xa:"{{content}}"},{I:"div",S:"ytp-error-content-wrap-subreason",xa:"{{subreason}}"}]}]}]});this.api=a;this.keys=[]}; g.TV=function(a){a=a.split(LVa);for(var b=[],c=0;c1+b&&a.api.toggleFullscreen()}; TVa=function(a){a=hC()&&67<=Coa()&&!a.api.U().Z;return!g.gC("tizen")&&!VR&&!a&&!0}; $V=function(a,b){b=void 0===b?2:b;g.TF.call(this);this.api=a;this.j=null;this.Cd=new IC(this);g.L(this,this.Cd);this.B=vwa;this.Cd.T(this.api,"presentingplayerstatechange",this.Td);this.j=this.Cd.T(this.api,"progresssync",this.Gc);this.uo=b;1===this.uo&&this.Gc()}; ZVa=function(a){g.V.call(this,{I:"button",Ma:["ytp-button","ytp-back-button"],V:[{I:"div",S:"ytp-arrow-back-icon",V:[{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 -12 36 36",width:"100%"},V:[{I:"path",X:{d:"M0 0h24v24H0z",fill:"none"}},{I:"path",Bc:!0,X:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",fill:"#fff"}}]}]}]});this.J=a;g.$F(this,a.U().Kl);this.Ta("click",this.onClick)}; g.aW=function(a){g.V.call(this,{I:"div",V:[{I:"div",S:"ytp-bezel-text-wrapper",V:[{I:"div",S:"ytp-bezel-text",xa:"{{title}}"}]},{I:"div",S:"ytp-bezel",X:{role:"status","aria-label":"{{label}}"},V:[{I:"div",S:"ytp-bezel-icon",xa:"{{icon}}"}]}]});this.J=a;this.B=new g.Bu(this.show,10,this);this.j=new g.Bu(this.hide,500,this);g.L(this,this.B);g.L(this,this.j);this.hide()}; cW=function(a,b,c){if(0>=b){c=Pva();b="\u0437\u0432\u0443\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d";var d=0}else c=c?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,X:{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"}}]}:{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,X:{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+"\u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c";bW(a,c,b,d+"%")}; $Va=function(a,b){b=b?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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"}}]}:zva();var c=a.J.getPlaybackRate(),d=g.dK("\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f\u00a0\u2013 $RATE",{RATE:String(c)});bW(a,b,d,c+"x")}; aWa=function(a,b){b=b?"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b":"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b";bW(a,XSa(),b)}; bW=function(a,b,c,d){d=void 0===d?"":d;a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.Eu(a.j);a.B.start();a.updateValue("title",d);g.Nu(a.element,"ytp-bezel-text-hide",!d)}; bWa=function(a,b,c){g.V.call(this,{I:"button",Ma:["ytp-button","ytp-cards-button"],X:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.YR(a.U()))},V:[{I:"span",S:"ytp-cards-button-icon-default",V:[{I:"div",S:"ytp-cards-button-icon",V:[a.U().L("player_new_info_card_format")?Bva():{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"}, V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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"}}]}]},{I:"div",S:"ytp-cards-button-title",xa:"\u041e \u0432\u0438\u0434\u0435\u043e"}]},{I:"span",S:"ytp-cards-button-icon-shopping",V:[{I:"div",S:"ytp-cards-button-icon",V:[{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",S:"ytp-svg-shadow", X:{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"}},{I:"path",S:"ytp-svg-fill",X:{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"}},{I:"path",S:"ytp-svg-shadow-fill",X:{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"}}]}]},{I:"div", S:"ytp-cards-button-title",xa:"\u041f\u043e\u043a\u0443\u043f\u043a\u0438"}]}]});this.J=a;this.sb=b;this.C=c;this.j=null;this.B=new g.CG(this,250,!0,100);g.L(this,this.B);g.Nu(this.C,"ytp-show-cards-title",g.YR(a.U()));this.hide();this.Ta("click",this.L8);this.Ta("mouseover",this.f9);this.DK(!0)}; cWa=function(a,b,c){g.V.call(this,{I:"div",S:"ytp-cards-teaser",V:[{I:"div",S:"ytp-cards-teaser-box"},{I:"div",S:"ytp-cards-teaser-text",V:a.U().L("player_new_info_card_format")?[{I:"button",S:"ytp-cards-teaser-info-icon",X:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438","aria-haspopup":"true"},V:[Bva()]},{I:"span",S:"ytp-cards-teaser-label",xa:"{{text}}"},{I:"button",S:"ytp-cards-teaser-close-button",X:{"aria-label":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"}, V:[g.hG()]}]:[{I:"span",S:"ytp-cards-teaser-label",xa:"{{text}}"}]}]});var d=this;this.J=a;this.sb=b;this.Vg=c;this.D=new g.CG(this,250,!1,250);this.j=null;this.N=new g.Bu(this.t9,300,this);this.K=new g.Bu(this.s9,2E3,this);this.G=[];this.B=null;this.Y=new g.Bu(function(){d.element.style.margin="0"},250); this.onClickCommand=this.C=null;g.L(this,this.D);g.L(this,this.N);g.L(this,this.K);g.L(this,this.Y);a.U().L("player_new_info_card_format")?(g.Ju(a.getRootNode(),"ytp-cards-teaser-dismissible"),this.T(this.Ga("ytp-cards-teaser-close-button"),"click",this.Pp),this.T(this.Ga("ytp-cards-teaser-info-icon"),"click",this.eS),this.T(this.Ga("ytp-cards-teaser-label"),"click",this.eS)):this.Ta("click",this.eS);this.T(c.element,"mouseover",this.XT);this.T(c.element,"mouseout",this.VT);this.T(a,"cardsteasershow", this.G$);this.T(a,"cardsteaserhide",this.Pb);this.T(a,"cardstatechange",this.l0);this.T(a,"presentingplayerstatechange",this.l0);this.T(a,"appresize",this.TL);this.T(a,"onShowControls",this.TL);this.T(a,"onHideControls",this.T4);this.Ta("mouseenter",this.f3)}; dWa=function(a){g.V.call(this,{I:"button",Ma:[dW.BUTTON,dW.TITLE_NOTIFICATIONS],X:{"aria-pressed":"{{pressed}}","aria-label":"{{label}}"},V:[{I:"div",S:dW.TITLE_NOTIFICATIONS_ON,X:{title:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435","aria-label":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430\u0445 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b"}, V:[g.Fva()]},{I:"div",S:dW.TITLE_NOTIFICATIONS_OFF,X:{title:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435","aria-label":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430\u0445 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b"}, V:[{I:"svg",X:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},V:[{I:"path",X:{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.createClientVe(this.element,this,36927);this.Ta("click",this.onClick,this);this.updateValue("pressed",!1);this.updateValue("label","\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435")}; eWa=function(a,b){a.j=b;a.element.classList.toggle(dW.NOTIFICATIONS_ENABLED,a.j);var c=a.api.getVideoData();c?(b=b?c.tL:c.sL)?(a=a.api.jn())?VH(a,b):g.AF(Error("No innertube service available when updating notification preferences.")):g.AF(Error("No update preferences command available.")):g.AF(Error("No video data when updating notification preferences."))}; g.eW=function(a,b,c){var d=void 0===d?800:d;var e=void 0===e?600:e;a=fWa(a,b);if(a=g.On(a,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes"))msa(function(){c()}),a.moveTo((screen.width-d)/2,(screen.height-e)/2)}; fWa=function(a,b){var c=document.location.protocol;return efa(c+"//"+a+"/signin?context=popup","feature",b,"next",c+"//"+location.hostname+"/post_login")}; g.fW=function(a,b,c,d,e,f,h,l,m,n,p,q){q=void 0===q?null:q;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 r=p.U(),t=r.userDisplayName&&g.cS(r);g.V.call(this,{I:"div",Ma:["ytp-button","ytp-sb"],V:[{I:"div",S:"ytp-sb-subscribe",X:t?{title:g.dK("\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a $USER_NAME",{USER_NAME:r.userDisplayName}),"aria-label":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u0430\u043d\u0430\u043b", "data-tooltip-image":APa(r),"data-tooltip-opaque":String(g.YR(r)),tabindex:"0",role:"button"}:{"aria-label":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u0430\u043d\u0430\u043b"},V:[{I:"div",S:"ytp-sb-text",V:[{I:"div",S:"ytp-sb-icon"},a]},b?{I:"div",S:"ytp-sb-count",xa:b}:""]},{I:"div",S:"ytp-sb-unsubscribe",X:t?{title:g.dK("\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0430 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435 $USER_NAME", {USER_NAME:r.userDisplayName}),"aria-label":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0430 \u043a\u0430\u043d\u0430\u043b","data-tooltip-image":APa(r),"data-tooltip-opaque":String(g.YR(r)),tabindex:"0",role:"button"}:{"aria-label":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0430 \u043a\u0430\u043d\u0430\u043b"},V:[{I:"div",S:"ytp-sb-text",V:[{I:"div",S:"ytp-sb-icon"},c]}, d?{I:"div",S:"ytp-sb-count",xa:d}:""]}],X:{"aria-live":"polite"}});var u=this;this.channelId=h;this.sb=q;this.J=p;var x=this.Ga("ytp-sb-subscribe"),B=this.Ga("ytp-sb-unsubscribe");f&&g.Ju(this.element,"ytp-sb-classic");if(e){l?this.j():this.B();var F=function(){if(r.qa){var H=u.channelId;if(m||n){var O={c:H};var P;g.fI.isInitialized()&&(P=fLa(O));O=P||"";if(P=p.getVideoData())if(P=P.subscribeCommand){var Y=p.jn();Y?(VH(Y,P,{botguardResponse:O,feature:m}),p.Qa("SUBSCRIBE",H)):g.AF(Error("No innertube service available when updating subscriptions."))}else g.AF(Error("No subscribe command in videoData.")); else g.AF(Error("No video data available when updating subscription."))}B.focus();B.removeAttribute("aria-hidden");x.setAttribute("aria-hidden","true")}else g.eW(g.jS(u.J.U()),"sb_button",u.C)},G=function(){var H=u.channelId; if(m||n){var O=p.getVideoData();VH(p.jn(),O.unsubscribeCommand,{feature:m});p.Qa("UNSUBSCRIBE",H)}x.focus();x.removeAttribute("aria-hidden");B.setAttribute("aria-hidden","true")}; this.T(x,"click",F);this.T(B,"click",G);this.T(x,"keypress",function(H){13===H.keyCode&&F(H)}); this.T(B,"keypress",function(H){13===H.keyCode&&G(H)}); this.T(p,"SUBSCRIBE",this.j);this.T(p,"UNSUBSCRIBE",this.B);this.sb&&t&&(this.tooltip=this.sb.qc(),gWa(this.tooltip),this.addOnDisposeCallback(g.cU(this.tooltip,x)),this.addOnDisposeCallback(g.cU(this.tooltip,B)))}else g.Ju(x,"ytp-sb-disabled"),g.Ju(B,"ytp-sb-disabled")}; iWa=function(a,b){g.V.call(this,{I:"div",S:"ytp-title-channel",V:[{I:"div",S:"ytp-title-beacon"},{I:"a",S:"ytp-title-channel-logo",X:{href:"{{channelLink}}",target:a.U().Y,"aria-label":"{{channelLogoLabel}}"}},{I:"div",S:"ytp-title-expanded-overlay",X:{"aria-hidden":"{{flyoutUnfocusable}}"},V:[{I:"div",S:"ytp-title-expanded-heading",V:[{I:"div",S:"ytp-title-expanded-title",V:[{I:"a",xa:"{{expandedTitle}}",X:{href:"{{channelTitleLink}}",target:a.U().Y,"aria-hidden":"{{shouldHideExpandedTitleForA11y}}", tabIndex:"{{channelTitleFocusable}}"}}]},{I:"div",S:"ytp-title-expanded-subtitle",xa:"{{expandedSubtitle}}",X:{"aria-hidden":"{{shouldHideExpandedSubtitleForA11y}}"}}]}]}]});var c=this;this.api=a;this.sb=b;this.channel=this.Ga("ytp-title-channel");this.j=this.Ga("ytp-title-channel-logo");this.channelName=this.Ga("ytp-title-expanded-title");this.G=this.Ga("ytp-title-expanded-overlay");this.C=this.B=this.subscribeButton=null;this.D=!1;a.createClientVe(this.j,this,36925);a.createClientVe(this.channelName, this,37220);g.YR(this.api.U())&&hWa(this);this.T(a,"videodatachange",this.Ra);this.T(a,"videoplayerreset",this.Ra);this.api.L("web_player_ve_conversion_fixes_for_channel_info")&&(this.T(this.channelName,"click",function(d){c.api.logClick(c.channelName);g.On(gW(c));d.preventDefault()}),this.T(this.j,"click",this.K8)); this.Ra()}; jWa=function(a){if(!a.api.U().jc){var b=a.api.getVideoData(),c=new g.fW("\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f",null,"\u0412\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b",null,!0,!1,b.Gl,b.subscribed,"channel_avatar",null,a.api,a.sb);a.api.createServerVe(c.element,a);var d;a.api.setTrackingParams(c.element,(null==(d=b.subscribeButtonRenderer)?void 0:d.trackingParams)||null);a.T(c.element,"click",function(){a.api.logClick(c.element)}); a.subscribeButton=c;g.L(a,a.subscribeButton);a.subscribeButton.Da(a.G);a.subscribeButton.hide();var e=new dWa(a.api);a.B=e;g.L(a,e);e.Da(a.G);e.hide();a.T(a.api,"SUBSCRIBE",function(){b.Il&&(e.show(),a.api.logVisibility(e.element,!0))}); a.T(a.api,"UNSUBSCRIBE",function(){b.Il&&(e.hide(),a.api.logVisibility(e.element,!1),eWa(e,!1))})}}; hWa=function(a){var b=a.api.U();jWa(a);a.updateValue("flyoutUnfocusable","true");a.updateValue("channelTitleFocusable","-1");a.updateValue("shouldHideExpandedTitleForA11y","true");a.updateValue("shouldHideExpandedSubtitleForA11y","true");b.B||b.tb?a.T(a.j,"click",function(c){a.api.L("web_player_ve_conversion_fixes_for_channel_info")||(kWa(a)&&(c.preventDefault(),a.isExpanded()?a.fH():a.DH()),a.api.logClick(a.j))}):(a.T(a.channel,"mouseenter",a.DH),a.T(a.channel,"mouseleave",a.fH),a.T(a.channel,"focusin", a.DH),a.T(a.channel,"focusout",function(c){a.channel.contains(c.relatedTarget)||a.fH()}),a.T(a.j,"click",function(){a.api.L("web_player_ve_conversion_fixes_for_channel_info")||a.api.logClick(a.j)})); a.C=new g.Bu(function(){a.isExpanded()&&(a.api.L("web_player_ve_conversion_fixes_for_channel_info")&&a.api.logVisibility(a.channelName,!1),a.subscribeButton&&(a.subscribeButton.hide(),a.api.logVisibility(a.subscribeButton.element,!1)),a.B&&(a.B.hide(),a.api.logVisibility(a.B.element,!1)),a.channel.classList.remove("ytp-title-expanded"),a.channel.classList.add("ytp-title-show-collapsed"))},500); g.L(a,a.C);a.T(a.channel,lWa,function(){mWa(a)}); a.T(a.api,"onHideControls",a.uR);a.T(a.api,"appresize",a.uR);a.T(a.api,"fullscreentoggled",a.uR)}; mWa=function(a){a.channel.classList.remove("ytp-title-show-collapsed");a.channel.classList.remove("ytp-title-show-expanded")}; kWa=function(a){var b=a.api.getPlayerSize();return g.YR(a.api.U())&&524<=b.width}; gW=function(a){var b=a.api.U(),c=a.api.getVideoData();c=g.vS(b)+c.jc;if(!g.YR(b))return c;b={};g.ZT(a.api,"addEmbedsConversionTrackingParams",[b]);g.wP(b,"emb_ch_name_ex");return g.tm(c,b)}; hW=function(a,b,c,d,e,f){var h={I:"div",S:"ytp-panel"};if(c){var l="ytp-panel-back-button";var m="ytp-panel-title";var n={I:"div",S:"ytp-panel-header",V:[{I:"div",Ma:["ytp-panel-back-button-container"],V:[{X:{"aria-label":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443 \u043c\u0435\u043d\u044e"},I:"button",Ma:["ytp-button",l]}]},{I:"span",Ma:[m],V:[c]}]};if(e){var p="ytp-panel-options";n.V.push({I:"button",Ma:["ytp-button", p],V:[d]})}h.V=[n]}d=!1;f&&(f={I:"div",S:"ytp-panel-footer",V:[f]},d=!0,h.V?h.V.push(f):h.V=[f]);g.aG.call(this,h);this.content=b;d&&h.V?b.Da(this.element,h.V.length-1):b.Da(this.element);this.gX=!1;this.fX=d;c&&(c=this.Ga(l),m=this.Ga(m),this.T(c,"click",this.FY),this.T(m,"click",this.FY),this.gX=!0,e&&(p=this.Ga(p),this.T(p,"click",e)));b.subscribe("size-change",this.KY,this);this.T(a,"fullscreentoggled",this.KY);this.J=a}; g.iW=function(a,b,c,d,e,f){b=void 0===b?null:b;var h={role:"menu"};b&&(h.id=b);b=new g.aG({I:"div",S:"ytp-panel-menu",X:h});hW.call(this,a,b,c,d,e,f);this.menuItems=b;this.items=[];g.L(this,this.menuItems)}; g.nWa=function(a){for(var b=g.v(a.items),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.pQ,a);a.items=[];g.pf(a.menuItems.element);a.menuItems.oa("size-change")}; oWa=function(a,b){return b.priority-a.priority}; jW=function(a){var b=g.xU({"aria-haspopup":"true"});g.wU.call(this,b,a);this.Ta("keydown",this.j)}; kW=function(a,b){a.element.setAttribute("aria-haspopup",String(b))}; pWa=function(a,b){g.V.call(this,{I:"div",S:"ytp-user-info-panel",X:{"aria-label":"\u0421\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435"},V:a.U().qa&&!a.L("embeds_web_always_enable_signed_out_state")?[{I:"div",S:"ytp-user-info-panel-icon",xa:"{{icon}}"},{I:"div",S:"ytp-user-info-panel-content",V:[{I:"div",S:"ytp-user-info-panel-info",X:{tabIndex:"{{userInfoFocusable}}",role:"text"},xa:"{{watchingAsUsername}}"},{I:"div",S:"ytp-user-info-panel-info", X:{tabIndex:"{{userInfoFocusable2}}",role:"text"},xa:"{{watchingAsEmail}}"}]}]:[{I:"div",S:"ytp-user-info-panel-icon",xa:"{{icon}}"},{I:"div",S:"ytp-user-info-panel-content",V:[{I:"div",V:[{I:"text",X:{tabIndex:"{{userInfoFocusable}}"},xa:"\u0412\u044b \u0432\u044b\u0448\u043b\u0438 \u0438\u0437 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430"}]},{I:"div",S:"ytp-user-info-panel-login",V:[{I:"a",X:{tabIndex:"{{userInfoFocusable2}}",role:"button"},xa:a.U().jc?"":"\u0412\u043e\u0439\u0442\u0438 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 YouTube"}]}]}]}); this.Wa=a;this.j=b;a.U().qa||a.U().jc||(a=this.Ga("ytp-user-info-panel-login"),this.T(a,"click",this.j3));this.closeButton=new g.V({I:"button",Ma:["ytp-collapse","ytp-button"],X:{title:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},V:[g.jG()]});this.closeButton.Da(this.element);g.L(this,this.closeButton);this.T(window,"blur",this.hide);this.T(document,"click",this.g3);this.Ra()}; rWa=function(a,b,c,d){g.iW.call(this,a);this.Kb=c;this.Uc=d;this.getVideoUrl=new jW(6);this.vn=new jW(5);this.fn=new jW(4);this.pc=new jW(3);this.nF=new g.wU(g.xU({href:"{{href}}",target:this.J.U().Y},void 0,!0),2,"\u0420\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435\u043c");this.showVideoInfo=new g.wU(g.xU(),1,"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0434\u043b\u044f \u0441\u0438\u0441\u0430\u0434\u043c\u0438\u043d\u043e\u0432"); this.Zy=new g.aG({I:"div",Ma:["ytp-copytext","ytp-no-contextmenu"],X:{draggable:"false",tabindex:"1"},xa:"{{text}}"});this.FV=new hW(this.J,this.Zy);this.bG=this.Bt=null;g.YR(this.J.U())&&(this.closeButton=new g.V({I:"button",Ma:["ytp-collapse","ytp-button"],X:{title:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},V:[g.jG()]}),g.L(this,this.closeButton),this.closeButton.Da(this.element),this.closeButton.Ta("click",this.W4,this));g.YR(this.J.U())&&(this.Bl=new g.wU(g.xU(),8,"\u0410\u043a\u043a\u0430\u0443\u043d\u0442"), g.L(this,this.Bl),this.od(this.Bl,!0),this.Bl.Ta("click",this.t$,this),a.createClientVe(this.Bl.element,this.Bl,137682));this.J.U().Lm&&(this.Vk=new DU("\u041f\u043e\u0432\u0442\u043e\u0440",7),g.L(this,this.Vk),this.od(this.Vk,!0),this.Vk.Ta("click",this.m9,this),a.createClientVe(this.Vk.element,this.Vk,28661));g.L(this,this.getVideoUrl);this.od(this.getVideoUrl,!0);this.getVideoUrl.Ta("click",this.d9,this);a.createClientVe(this.getVideoUrl.element,this.getVideoUrl,28659);g.L(this,this.vn);this.od(this.vn, !0);this.vn.Ta("click",this.e9,this);a.createClientVe(this.vn.element,this.vn,28660);g.L(this,this.fn);this.od(this.fn,!0);this.fn.Ta("click",this.c9,this);a.createClientVe(this.fn.element,this.fn,28658);g.L(this,this.pc);this.od(this.pc,!0);this.pc.Ta("click",this.b9,this);g.L(this,this.nF);this.od(this.nF,!0);this.nF.Ta("click",this.b$,this);g.L(this,this.showVideoInfo);this.od(this.showVideoInfo,!0);this.showVideoInfo.Ta("click",this.u$,this);g.L(this,this.Zy);this.Zy.Ta("click",this.Q8,this); g.L(this,this.FV);b=document.queryCommandSupported&&document.queryCommandSupported("copy");43<=Qaa("Chromium")&&(b=!0);40>=Qaa("Firefox")&&(b=!1);b&&(this.Bt=new g.V({I:"textarea",S:"ytp-html5-clipboard",X:{readonly:"",tabindex:"-1"}}),g.L(this,this.Bt),this.Bt.Da(this.element));var e;null==(e=this.Bl)||yU(e,Iva());var f;null==(f=this.Vk)||yU(f,{I:"svg",X:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},V:[{I:"path",X:{d:"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z", fill:"white"}}]});yU(this.pc,{I:"svg",X:{height:"24",viewBox:"0 0 24 24",width:"24"},V:[{I:"path",X:{"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"}}]});yU(this.nF,{I:"svg",X:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},V:[{I:"path",X:{"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"}}]});yU(this.showVideoInfo,Ava());this.T(a,"onLoopChange",this.onLoopChange);this.T(a,"videodatachange",this.onVideoDataChange);qWa(this);this.EF(this.J.getVideoData())}; mW=function(a,b){var c=!1;if(a.Bt){var d=a.Bt.element;d.value=b;d.select();try{c=document.execCommand("copy")}catch(e){}}c?a.Kb.Pb():(a.Zy.Yd(b,"text"),g.lW(a.Kb,a.FV),ZSa(a.Zy.element),a.Bt&&(a.Bt=null,qWa(a)));return c}; qWa=function(a){var b=!!a.Bt;g.vU(a.pc,b?"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0442\u043b\u0430\u0434\u043a\u0435");kW(a.pc,!b);g.vU(a.fn,b?"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c HTML-\u043a\u043e\u0434":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043d\u0438\u044f"); kW(a.fn,!b);g.vU(a.getVideoUrl,b?"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e");kW(a.getVideoUrl,!b);g.vU(a.vn,b?"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438"); kW(a.vn,!b);yU(a.fn,b?xva():null);yU(a.getVideoUrl,b?iG():null);yU(a.vn,b?iG():null)}; sWa=function(a){return g.YR(a.J.U())?a.Bl:a.Vk}; g.nW=function(a,b){g.tU.call(this,a,{I:"div",Ma:["ytp-popup",b||""]},100,!0);this.j=[];this.K=this.G=null;this.maxHeight=this.maxWidth=0;this.size=new g.ue(0,0);this.Ta("keydown",this.l3)}; tWa=function(a){var b=a.j[a.j.length-1];if(b){g.es(a.element,a.maxWidth||"100%",a.maxHeight||"100%");g.Vr(b.element,"width","");g.Vr(b.element,"height","");g.Vr(b.element,"maxWidth","100%");g.Vr(b.element,"maxHeight","100%");g.Vr(b.content.element,"height","");var c=g.fs(b.element);c.width+=1;c.height+=1;g.Vr(b.element,"width",c.width+"px");g.Vr(b.element,"height",c.height+"px");g.Vr(b.element,"maxWidth","");g.Vr(b.element,"maxHeight","");var d=0;b.gX&&(d=b.Ga("ytp-panel-header"),d=g.fs(d).height); var e=0;b.fX&&(e=b.Ga("ytp-panel-footer"),g.Vr(e,"width",c.width+"px"),e=g.fs(e).height);g.Vr(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];uWa(a,b,c,!0)}}; uWa=function(a,b,c,d){vWa(a);b&&(b.unsubscribe("size-change",a.HB,a),b.unsubscribe("back",a.wj,a));c.subscribe("size-change",a.HB,a);c.subscribe("back",a.wj,a);if(a.Cb){g.Ju(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.Da(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;tWa(a);g.es(a.element,e);a.G=new g.Bu(function(){wWa(a,b,c,d)},20,a); a.G.start()}else c.Da(a.element),b&&b.detach()}; wWa=function(a,b,c,d){a.G.dispose();a.G=null;g.Ju(a.element,"ytp-popup-animating");d?(g.Ju(b.element,"ytp-panel-animate-forward"),g.Lu(c.element,"ytp-panel-animate-back")):(g.Ju(b.element,"ytp-panel-animate-back"),g.Lu(c.element,"ytp-panel-animate-forward"));g.es(a.element,a.size);a.K=new g.Bu(function(){g.Lu(a.element,"ytp-popup-animating");b.detach();g.Mu(b.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);a.K.dispose();a.K=null},250,a); a.K.start()}; vWa=function(a){a.G&&g.Du(a.G);a.K&&g.Du(a.K)}; g.pW=function(a,b,c){g.nW.call(this,a);this.sb=b;this.Uc=c;this.D=new g.IK(this);this.qa=new g.Bu(this.L$,1E3,this);this.Aa=this.C=null;g.L(this,this.D);g.L(this,this.qa);a.createClientVe(this.element,this,28656);g.Ju(this.element,"ytp-contextmenu");xWa(this);this.hide()}; xWa=function(a){g.KC(a.D);var b=a.J.U();"gvn"===b.playerStyle||b.B||b.tb||(b=a.J.kb(),a.D.T(b,"contextmenu",a.O8),a.D.T(b,"touchstart",a.n3,null,!0),a.D.T(b,"touchmove",a.lZ,null,!0),a.D.T(b,"touchend",a.lZ,null,!0))}; yWa=function(a){a.J.isFullscreen()?g.pU(a.J,a.element,10):a.Da(document.body)}; g.qW=function(a,b,c){c=void 0===c?240:c;g.V.call(this,{I:"button",Ma:["ytp-button","ytp-copylink-button"],X:{title:"{{title-attr}}","data-tooltip-opaque":String(g.YR(a.U()))},V:[{I:"div",S:"ytp-copylink-icon",xa:"{{icon}}"},{I:"div",S:"ytp-copylink-title",xa:"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",X:{"aria-hidden":"true"}}]});this.api=a;this.sb=b;this.j=c;this.visible=!1;this.tooltip=this.sb.qc();b=a.U();gWa(this.tooltip);g.Nu(this.element, "ytp-show-copylink-title",g.YR(b)&&!g.fS(b));a.createClientVe(this.element,this,86570);this.Ta("click",this.onClick);this.T(a,"videodatachange",this.Ra);this.T(a,"videoplayerreset",this.Ra);this.T(a,"appresize",this.Ra);this.Ra();this.addOnDisposeCallback(g.cU(this.tooltip,this.element))}; zWa=function(a){var b=a.api.U(),c=a.api.getVideoData(),d=a.api.kb().getPlayerSize().width,e=b.C;return!!c.videoId&&d>=a.j&&c.Qo&&!(c.Ld&&b.ma)&&!g.mU(a.api)&&!e}; AWa=function(a){a.updateValue("icon",tva());if(a.api.U().B)a.tooltip.HF(a.element,"\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430");else{a.updateValue("title-attr","\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430");a.tooltip.Eh();a.tooltip.HF(a.element); var b=a.Ta("mouseleave",function(){a.Mc(b);a.Ra();a.tooltip.ej()})}}; BWa=function(a,b){return g.I(function(c){if(1==c.j)return g.Ca(c,2),g.y(c,navigator.clipboard.writeText(b),4);if(2!=c.j)return c.return(!0);g.Ea(c);var d=c.return,e=!1,f=g.mf("TEXTAREA");f.value=b;f.setAttribute("readonly","");var h=a.api.getRootNode();h.appendChild(f);if(KD){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)})}; rW=function(a){g.V.call(this,{I:"div",S:"ytp-doubletap-ui-legacy",V:[{I:"div",S:"ytp-doubletap-fast-forward-ve"},{I:"div",S:"ytp-doubletap-rewind-ve"},{I:"div",S:"ytp-doubletap-static-circle",V:[{I:"div",S:"ytp-doubletap-ripple"}]},{I:"div",S:"ytp-doubletap-overlay-a11y"},{I:"div",S:"ytp-doubletap-seek-info-container",V:[{I:"div",S:"ytp-doubletap-arrows-container",V:[{I:"span",S:"ytp-doubletap-base-arrow"},{I:"span",S:"ytp-doubletap-base-arrow"},{I:"span",S:"ytp-doubletap-base-arrow"}]},{I:"div", S:"ytp-doubletap-tooltip",V:[{I:"div",S:"ytp-chapter-seek-text-legacy",xa:"{{seekText}}"},{I:"div",S:"ytp-doubletap-tooltip-label",xa:"{{seekTime}}"}]}]}]});this.J=a;this.D=new g.Bu(this.show,10,this);this.B=new g.Bu(this.hide,700,this);this.K=this.C=0;this.G=!1;this.j=this.Ga("ytp-doubletap-static-circle");g.L(this,this.D);g.L(this,this.B);this.hide();this.N=this.Ga("ytp-doubletap-fast-forward-ve");this.Y=this.Ga("ytp-doubletap-rewind-ve");this.J.createClientVe(this.N,this,28240);this.J.createClientVe(this.Y, this,28239);this.J.logVisibility(this.N,!0);this.J.logVisibility(this.Y,!0);this.G=a.L("web_show_cumulative_seek_time")}; sW=function(a,b,c){a.C=b===a.K?a.C+c:c;a.K=b;var d=a.J.kb().getPlayerSize();a.G?a.B.stop():g.Eu(a.B);a.D.start();a.element.setAttribute("data-side",-1===b?"back":"forward");g.Ju(a.element,"ytp-time-seeking");a.j.style.width="110px";a.j.style.height="110px";1===b?(a.j.style.right="",a.j.style.left=.8*d.width-30+"px"):-1===b&&(a.j.style.right="",a.j.style.left=.1*d.width-15+"px");a.j.style.top=.5*d.height+15+"px";CWa(a,a.G?a.C:c)}; DWa=function(a,b,c){g.Eu(a.B);a.D.start();switch(b){case -1:b="back";break;case 1:b="forward";break;default:b=""}a.element.setAttribute("data-side",b);a.j.style.width="0";a.j.style.height="0";g.Ju(a.element,"ytp-chapter-seek");a.updateValue("seekText",c);a.updateValue("seekTime","")}; CWa=function(a,b){b=g.dK("$TOTAL_SEEK_TIME \u0441\u0435\u043a.",{TOTAL_SEEK_TIME:b.toString()});a.updateValue("seekTime",b)}; vW=function(a,b,c,d){c=void 0===c?!0:c;d=void 0===d?!1:d;g.V.call(this,{I:"div",S:"ytp-suggested-action"});var e=this;this.J=a;this.sb=b;this.Za=this.ma=this.Y=this.C=this.B=this.K=this.expanded=this.enabled=this.Ka=!1;this.Va=new g.Bu(function(){e.badge.element.style.width=""},200,this); this.Fa=new g.Bu(function(){tW(e);uW(e)},200,this); this.dismissButton=new g.V({I:"button",Ma:["ytp-suggested-action-badge-dismiss-button-icon","ytp-button"]});g.L(this,this.dismissButton);this.D=new g.V({I:"div",S:"ytp-suggested-action-badge-expanded-content-container",V:[{I:"label",S:"ytp-suggested-action-badge-title",xa:"{{badgeLabel}}"},this.dismissButton]});g.L(this,this.D);this.Ea=new g.V({I:"div",S:"ytp-suggested-action-badge-icon-container",V:[c?{I:"div",S:"ytp-suggested-action-badge-icon"}:""]});g.L(this,this.Ea);this.badge=new g.V({I:d?"div": "button",Ma:["ytp-button","ytp-suggested-action-badge","ytp-suggested-action-badge-with-controls"],V:[this.Ea,this.D]});g.L(this,this.badge);this.badge.Da(this.element);this.N=new g.CG(this.badge,250,!1,100);g.L(this,this.N);this.Sa=new g.CG(this.D,250,!1,100);g.L(this,this.Sa);this.Ya=new g.zu(this.Dba,null,this);g.L(this,this.Ya);this.Na=new g.zu(this.E5,null,this);g.L(this,this.Na);g.L(this,this.Va);g.L(this,this.Fa);this.J.createServerVe(this.badge.element,this.badge,!0);this.J.createServerVe(this.dismissButton.element, this.dismissButton,!0);this.T(this.J,"onHideControls",function(){e.tJ(!1)}); this.T(this.J,"onShowControls",function(){e.tJ(!0)}); this.T(this.badge.element,"click",this.qJ);this.T(this.dismissButton.element,"click",this.xE);this.T(this.J,"pageTransition",this.ZT);this.T(this.J,"appresize",this.Fm);this.T(this.J,"fullscreentoggled",this.a9);this.T(this.J,"cardstatechange",this.H8);this.T(this.J,"annotationvisibility",this.lca,this);this.T(this.J,"offlineslatestatechange",this.mca,this)}; tW=function(a){g.Nu(a.badge.element,"ytp-suggested-action-badge-with-controls",a.Y||!a.K)}; uW=function(a,b){var c=a.GK();a.expanded!==c&&(a.expanded=c,void 0===b||b?(a.Ya.stop(),a.Na.stop(),a.Va.stop(),a.Ya.start()):(g.$F(a.D,a.expanded),g.Nu(a.badge.element,"ytp-suggested-action-badge-expanded",a.expanded)),EWa(a))}; EWa=function(a){a.B&&a.J.logVisibility(a.badge.element,a.xB());a.C&&a.J.logVisibility(a.dismissButton.element,a.xB()&&a.GK())}; FWa=function(a){var b=a.text||"",c=g.Ze("ytp-suggested-action-badge-title",a.element);c&&g.Af(c,b);a.badge.element.setAttribute("aria-label",b);a.dismissButton.element.setAttribute("aria-label",a.ob?a.ob:"")}; wW=function(a,b){b?a.C&&a.J.logClick(a.dismissButton.element):a.B&&a.J.logClick(a.badge.element)}; GWa=function(a,b){vW.call(this,a,b,!1,!0);this.qa=[];this.rb=[];this.K=!0;this.badge.element.classList.add("ytp-featured-product");this.Aa=new g.V({I:"div",S:"ytp-featured-product-open-in-new"});g.L(this,this.Aa);this.countdownTimer=new g.V({I:"text",S:"ytp-featured-product-countdown",xa:"{{content}}"});this.countdownTimer.hide();g.L(this,this.countdownTimer);this.G=new g.V({I:"div",S:"ytp-featured-product-trending",V:[{I:"div",S:"ytp-featured-product-trending-icon"},{I:"text",S:"ytp-featured-product-trending-text", xa:"{{trendingOffer}}"}]});this.G.hide();g.L(this,this.G);this.infoButton=new g.V({I:"button",Ma:["ytp-featured-product-info-icon","ytp-button"]});this.infoButton.hide();g.L(this,this.infoButton);this.banner=new g.V({I:"a",S:"ytp-featured-product-container",V:[{I:"div",S:"ytp-featured-product-thumbnail",V:[{I:"img",X:{src:"{{thumbnail}}"}},this.Aa]},{I:"div",S:"ytp-featured-product-details",V:[{I:"text",S:"ytp-featured-product-title",xa:"{{title}}"},{I:"text",S:"ytp-featured-product-price",xa:"{{price}}"}, {I:"div",V:[{I:"text",S:"ytp-featured-product-vendor",xa:"{{vendor}}"},{I:"text",S:"ytp-featured-product-affiliate-disclaimer",xa:"{{affiliateDisclaimer}}"},this.countdownTimer,this.G]}]},this.infoButton,this.dismissButton]});g.L(this,this.banner);this.banner.Da(this.D.element);this.T(this.J,g.YJ("featured_product"),this.nba);this.T(this.J,g.ZJ("featured_product"),this.fB);this.T(this.J,"videodatachange",this.onVideoDataChange);this.T(this.infoButton.element,"click",this.g9)}; HWa=function(a){var b,c,d,e,f,h;return a.G.Cb||(null==(b=a.j)?0:null==(c=b.bannerData)?0:null==(d=c.itemData)?0:d.affiliateDisclaimer)?null:null==(e=a.j)?void 0:null==(f=e.bannerData)?void 0:null==(h=f.itemData)?void 0:h.vendorName}; JWa=function(a,b){xW(a);if(b){var c=g.oT.getState().entities;c=TO(c,"featuredProductsEntity",b);if(null!=c&&c.productsData){b=[];c=g.v(c.productsData);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;if(null!=(e=d)&&e.identifier&&d.featuredSegments){a.qa.push(d);var f=void 0;e=g.v(null==(f=d)?void 0:f.featuredSegments);for(f=e.next();!f.done;f=e.next()){var h=f.value;f=IWa(h.startTimeSec);void 0!==f&&(h=IWa(h.endTimeSec),b.push(new g.XJ(1E3*f,void 0===h?0x7ffffffffffff:1E3*h,{id:d.identifier, namespace:"featured_product"})))}}}a.J.tf(b)}}}; LWa=function(a){if(a.trendingOfferEntityKey){var b=g.oT.getState().entities;if(b=TO(b,"trendingOfferEntity",a.trendingOfferEntityKey)){var c,d,e;b.encodedSkuId!==(null==(c=a.j)?void 0:null==(d=c.bannerData)?void 0:null==(e=d.itemData)?void 0:e.encodedOfferSkuId)?KWa(a):(a.G.update({trendingOffer:b.shortLabel+" \u2022 "+b.countLabel}),a.G.show(),a.banner.update({vendor:HWa(a)}))}else KWa(a)}else KWa(a)}; KWa=function(a){a.G.hide();a.banner.update({vendor:HWa(a)})}; xW=function(a){a.qa=[];a.fB();a.J.hf("featured_product")}; MWa=function(a){var b,c,d,e,f=null==(b=a.j)?void 0:null==(c=b.bannerData)?void 0:null==(d=c.itemData)?void 0:null==(e=d.hiddenProductOptions)?void 0:e.dropTimestampMs;b=(Number(f)-Date.now())/1E3;a.countdownTimer.Yd(KGa({seconds:b}));if(0a)))return a}; SWa=function(a,b,c){g.V.call(this,{I:"div",Ma:["ytp-info-panel-action-item"],V:[{I:"div",S:"ytp-info-panel-action-item-disclaimer",xa:"{{disclaimer}}"},{I:"a",Ma:["ytp-info-panel-action-item-button","ytp-button"],X:{role:"button",href:"{{url}}",target:"_blank",rel:"noopener"},V:[{I:"div",S:"ytp-info-panel-action-item-icon",xa:"{{icon}}"},{I:"div",S:"ytp-info-panel-action-item-label",xa:"{{label}}"}]}]});this.J=a;this.j=c;this.disclaimer=this.Ga("ytp-info-panel-action-item-disclaimer");this.button= this.Ga("ytp-info-panel-action-item-button");this.Ee=!1;this.J.createServerVe(this.element,this,!0);this.Ta("click",this.onClick);a="";c=g.U(null==b?void 0:b.onTap,PF);var d=g.U(c,g.pG);this.Ee=!1;d?(a=d.url||"",a.startsWith("//")&&(a="https:"+a),this.Ee=!0,g.Kn(this.button,g.In(a))):(d=g.U(c,OWa))&&!this.j?((a=d.phoneNumbers)&&0b);d=a.next())c++;return 0===c?c:c-1}; $Wa=function(a,b){for(var c=0,d=g.v(a),e=d.next();!e.done;e=d.next()){e=e.value;if(b=e.timeRangeStartMillis&&b=a.C&&!b}; qXa=function(a,b){"InvalidStateError"!==b.name&&"AbortError"!==b.name&&("NotAllowedError"===b.name?(a.sb.Pj(),uU(a.B,a.element,!1)):g.AF(b))}; g.KW=function(a,b){var c=WF(),d=a.U();c={I:"div",S:"ytp-share-panel",X:{id:WF(),role:"dialog","aria-labelledby":c},V:[{I:"div",S:"ytp-share-panel-inner-content",V:[{I:"div",S:"ytp-share-panel-title",X:{id:c},xa:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f"},{I:"a",Ma:["ytp-share-panel-link","ytp-no-contextmenu"],X:{href:"{{link}}",target:d.Y,title:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u043e\u0439","aria-label":"{{shareLinkWithUrl}}"}, xa:"{{linkText}}"},{I:"label",S:"ytp-share-panel-include-playlist",V:[{I:"input",S:"ytp-share-panel-include-playlist-checkbox",X:{type:"checkbox",checked:"true"}},"\u0412 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0430"]},{I:"div",S:"ytp-share-panel-loading-spinner",V:[YSa()]},{I:"div",S:"ytp-share-panel-service-buttons",xa:"{{buttons}}"},{I:"div",S:"ytp-share-panel-error",xa:"\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435."}]}, {I:"button",Ma:["ytp-share-panel-close","ytp-button"],X:{title:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},V:[g.hG()]}]};g.tU.call(this,a,c,250);var e=this;this.moreButton=null;this.api=a;this.tooltip=b.qc();this.C=[];this.G=this.Ga("ytp-share-panel-inner-content");this.closeButton=this.Ga("ytp-share-panel-close");this.T(this.closeButton,"click",this.Pb);this.addOnDisposeCallback(g.cU(this.tooltip,this.closeButton));this.D=this.Ga("ytp-share-panel-include-playlist-checkbox");this.T(this.D,"click", this.Ra);this.j=this.Ga("ytp-share-panel-link");this.addOnDisposeCallback(g.cU(this.tooltip,this.j));this.api.createClientVe(this.j,this,164503);this.T(this.j,"click",function(f){f.preventDefault();e.api.logClick(e.j);var h=e.api.getVideoUrl(!0,!0,!1,!1);h=rXa(e,h);g.GU(h,e.api,f)&&e.api.Qa("SHARE_CLICKED")}); this.Ta("click",this.v3);this.T(a,"videoplayerreset",this.hide);this.T(a,"fullscreentoggled",this.onFullscreenToggled);this.T(a,"onLoopRangeChange",this.N7);this.hide()}; tXa=function(a,b){sXa(a);for(var c=b.links||b.shareTargets,d=0,e={},f=0;fd;e={Kt:e.Kt,yl:e.yl},f++){e.Kt=c[f];a:switch(e.Kt.img||e.Kt.iconId){case "facebook":var h={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},V:[{I:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",X:{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={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},V:[{I:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",X:{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}if(h){var l=e.Kt.sname||e.Kt.serviceName;e.yl=new g.V({I:"a",Ma:["ytp-share-panel-service-button","ytp-button"],X:{href:e.Kt.url,target:"_blank",title:l},V:[h]});e.yl.Ta("click",function(p){return function(q){if(g.TG(q)){var r=p.Kt.url;var t=void 0===t?{}:t;t.target=t.target||"YouTube";t.width=t.width||"600";t.height=t.height||"600";var u=t;u||(u={});t=window;var x=r instanceof g.Yd?r:g.ae("undefined"!=typeof r.href?r.href:String(r))||g.de;var B=void 0!== self.crossOriginIsolated,F="strict-origin-when-cross-origin";window.Request&&(F=(new Request("/")).referrerPolicy);var G="unsafe-url"===F;F=u.noreferrer;if(B&&F){if(G)throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");F=!1}r=u.target||r.target;B=[];for(var H in u)switch(H){case "width":case "height":case "top":case "left":B.push(H+"="+u[H]);break;case "target":case "noopener":case "noreferrer":break;default:B.push(H+"="+(u[H]? 1:0))}H=B.join(",");Jc()&&t.navigator&&t.navigator.standalone&&r&&"_self"!=r?(u=g.mf("A"),x=x instanceof g.Yd?x:Bba(x),u.href=g.Zd(x),u.target=r,F&&(u.rel="noreferrer"),x=document.createEvent("MouseEvent"),x.initMouseEvent("click",!0,!0,t,1),u.dispatchEvent(x),t={}):F?(t=Rba("",t,r,H),x=g.Zd(x),t&&(g.rS&&g.ic(x,";")&&(x="'"+x.replace(/'/g,"%27")+"'"),t.opener=null,""===x&&(x="javascript:''"),g.Rd("b/12014412, meta tag with sanitized URL"),x='',x=g.je(x),(u=t.document)&&u.write&&(u.write(g.ie(x)),u.close()))):((t=Rba(x,t,r,H))&&u.noopener&&(t.opener=null),t&&u.noreferrer&&(t.opener=null));t&&(t.opener||(t.opener=window),t.focus());q.preventDefault()}}}(e)); e.yl.addOnDisposeCallback(g.cU(a.tooltip,e.yl.element));"Facebook"===l?a.api.createClientVe(e.yl.element,e.yl,164504):"Twitter"===l&&a.api.createClientVe(e.yl.element,e.yl,164505);a.T(e.yl.element,"click",function(p){return function(){a.api.logClick(p.yl.element)}}(e)); a.api.logVisibility(e.yl.element,!0);a.C.push(e.yl);d++}}var m=b.more||b.moreLink,n=new g.V({I:"a",Ma:["ytp-share-panel-service-button","ytp-button"],V:[{I:"span",S:"ytp-share-panel-service-button-more",V:[{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},V:[{I:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",X:{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"}}]}]}],X:{href:m,target:"_blank",title:"\u0415\u0449\u0451"}});n.Ta("click",function(p){var q=m;a.api.logClick(a.moreButton.element);q=rXa(a,q);g.GU(q,a.api,p)&&a.api.Qa("SHARE_CLICKED")}); n.addOnDisposeCallback(g.cU(a.tooltip,n.element));a.api.createClientVe(n.element,n,164506);a.T(n.element,"click",function(){a.api.logClick(n.element)}); a.api.logVisibility(n.element,!0);a.C.push(n);a.moreButton=n;a.updateValue("buttons",a.C)}; rXa=function(a,b){var c={};g.YR(a.api.U())&&(g.ZT(a.api,"addEmbedsConversionTrackingParams",[c]),b=g.tm(b,g.wP(c,"emb_share")));return b}; sXa=function(a){for(var b=g.v(a.C),c=b.next();!c.done;c=b.next())c=c.value,c.detach(),g.sb(c);a.C=[]}; LW=function(a){return void 0===a||void 0===a.startSec||void 0===a.endSec?!1:!0}; uXa=function(a,b){a.startSec+=b;a.endSec+=b}; wXa=function(a,b){vW.call(this,a,b);this.G=this.j=this.isContentForward=this.Aa=!1;vXa(this);this.T(this.J,"changeProductsInVideoVisibility",this.J9);this.T(this.J,"videodatachange",this.onVideoDataChange)}; xXa=function(a){a.qa&&a.Ea.element.removeChild(a.qa.element);a.qa=void 0}; zXa=function(a,b){return b.map(function(c){var d,e;if((c=null==(d=g.U(c,yXa))?void 0:null==(e=d.thumbnail)?void 0:e.thumbnails)&&0!==c.length)return c[0].url}).filter(function(c){return void 0!==c}).map(function(c){c=new g.V({I:"img", S:"ytp-suggested-action-product-thumbnail",X:{alt:"",src:c}});g.L(a,c);return c})}; AXa=function(a,b){a.isContentForward=b;g.Nu(a.badge.element,"ytp-suggested-action-badge-content-forward",b)}; MW=function(a){var b=a.isContentForward&&!a.GK();g.Nu(a.badge.element,"ytp-suggested-action-badge-preview-collapsed",b&&a.j);g.Nu(a.badge.element,"ytp-suggested-action-badge-preview-expanded",b&&a.G)}; NW=function(a,b,c){return new g.XJ(1E3*a,1E3*b,{priority:9,namespace:c})}; BXa=function(a){a.J.hf("shopping_overlay_visible");a.J.hf("shopping_overlay_preview_collapsed");a.J.hf("shopping_overlay_preview_expanded");a.J.hf("shopping_overlay_expanded")}; vXa=function(a){a.T(a.J,g.YJ("shopping_overlay_visible"),function(){a.vg(!0)}); a.T(a.J,g.ZJ("shopping_overlay_visible"),function(){a.vg(!1)}); a.T(a.J,g.YJ("shopping_overlay_expanded"),function(){a.ma=!0;uW(a)}); a.T(a.J,g.ZJ("shopping_overlay_expanded"),function(){a.ma=!1;uW(a)}); a.T(a.J,g.YJ("shopping_overlay_preview_collapsed"),function(){a.j=!0;MW(a)}); a.T(a.J,g.ZJ("shopping_overlay_preview_collapsed"),function(){a.j=!1;MW(a)}); a.T(a.J,g.YJ("shopping_overlay_preview_expanded"),function(){a.G=!0;MW(a)}); a.T(a.J,g.ZJ("shopping_overlay_preview_expanded"),function(){a.G=!1;MW(a)})}; DXa=function(a,b){g.V.call(this,{I:"div",S:"ytp-shorts-title-channel",V:[{I:"a",S:"ytp-shorts-title-channel-logo",X:{href:"{{channelLink}}",target:a.U().Y,"aria-label":"{{channelLogoLabel}}"}},{I:"div",S:"ytp-shorts-title-expanded-heading",V:[{I:"div",S:"ytp-shorts-title-expanded-title",V:[{I:"a",xa:"{{expandedTitle}}",X:{href:"{{channelTitleLink}}",target:a.U().Y,tabIndex:"0"}}]}]}]});var c=this;this.api=a;this.sb=b;this.j=this.Ga("ytp-shorts-title-channel-logo");this.channelName=this.Ga("ytp-shorts-title-expanded-title"); this.subscribeButton=null;a.createClientVe(this.j,this,36925);this.T(this.j,"click",function(d){c.api.L("web_player_ve_conversion_fixes_for_channel_info")?(c.api.logClick(c.j),g.On(OW(c)),d.preventDefault()):c.api.logClick(c.j)}); a.createClientVe(this.channelName,this,37220);this.api.L("web_player_ve_conversion_fixes_for_channel_info")&&this.T(this.channelName,"click",function(d){c.api.logClick(c.channelName);g.On(OW(c));d.preventDefault()}); CXa(this);this.T(a,"videodatachange",this.Ra);this.T(a,"videoplayerreset",this.Ra);this.Ra()}; CXa=function(a){if(!a.api.U().jc){var b=a.api.getVideoData(),c=new g.fW("\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f",null,"\u0412\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b",null,!0,!1,b.Gl,b.subscribed,"channel_avatar",null,a.api,a.sb);a.api.createServerVe(c.element,a);var d;a.api.setTrackingParams(c.element,(null==(d=b.subscribeButtonRenderer)?void 0:d.trackingParams)||null);a.T(c.element,"click",function(){a.api.logClick(c.element)}); a.subscribeButton=c;g.L(a,a.subscribeButton);a.subscribeButton.Da(a.element)}}; OW=function(a){var b=a.api.U(),c=a.api.getVideoData();c=g.vS(b)+c.jc;if(!g.YR(b))return c;b={};g.ZT(a.api,"addEmbedsConversionTrackingParams",[b]);g.wP(b,"emb_ch_name_ex");return g.tm(c,b)}; PW=function(a){g.tU.call(this,a,{I:"button",Ma:["ytp-skip-intro-button","ytp-popup","ytp-button"],V:[{I:"div",S:"ytp-skip-intro-button-text",xa:"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0437\u0430\u0441\u0442\u0430\u0432\u043a\u0443"}]},100);var b=this;this.C=!1;this.j=new g.Bu(function(){b.hide()},5E3); this.Pe=this.Gi=NaN;g.L(this,this.j);this.K=function(){b.show()}; this.G=function(){b.hide()}; this.D=function(){var c=b.J.getCurrentTime();c>b.Gi/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 "+r+"px/"+l+"px "+m+"px"}; FXa=function(a){return a.L("web_big_boards")?a.pg()?a.L("web_big_boards_enable_in_miniplayer"):a.isInline()?a.L("web_big_boards_enable_in_inline"):!0:!1}; g.VW=function(a,b){g.V.call(this,{I:"div",S:"ytp-storyboard-framepreview",V:[{I:"div",S:"ytp-storyboard-framepreview-timestamp",xa:"{{timestamp}}"},{I:"div",S:"ytp-storyboard-framepreview-img"}]});this.api=a;this.D=this.Ga("ytp-storyboard-framepreview-img");this.B=null;this.C=NaN;this.events=new g.IK(this);this.j=new g.CG(this,100);g.L(this,this.events);g.L(this,this.j);this.T(this.api,"presentingplayerstatechange",this.Td);b&&this.T(this.element,"click",function(){b.tp()}); FXa(this.api)&&g.Ju(this.element,"ytp-storyboard-framepreview-big-boards")}; GXa=function(a,b){var c=!!a.B;a.B=b;a.B?(c||(a.events.T(a.api,"videodatachange",function(){GXa(a,a.api.Tj())}),a.events.T(a.api,"progresssync",a.We),a.events.T(a.api,"appresize",a.G)),a.C=NaN,HXa(a),a.j.show(200)):(c&&g.KC(a.events),a.j.hide(),a.j.stop())}; HXa=function(a){var b=a.B,c=a.api.getCurrentTime(),d=a.api.kb().getPlayerSize(),e=US(b,d.width);e=IQa(b,e,c);a.update({timestamp:g.SG(c)});e!==a.C&&(a.C=e,GQa(b,e,d.width),b=EQa(b,e,d.width),EXa(a.D,b,d.width,d.height))}; g.WW=function(a,b){g.V.call(this,{I:"button",Ma:["ytp-fullscreen-button","ytp-button"],X:{title:"{{title}}","aria-keyshortcuts":"f","data-priority":"10","data-title-no-tooltip":"{{data-title-no-tooltip}}"},xa:"{{icon}}"});this.J=a;this.sb=b;this.message=null;this.j=g.cU(this.sb.qc(),this.element);this.B=new g.Bu(this.P4,2E3,this);g.L(this,this.B);this.T(a,"fullscreentoggled",this.xm);this.T(a,"presentingplayerstatechange",this.Ra);this.T(a,"resize",this.Ra);this.Ta("click",this.onClick);g.zC()&&(b= this.J.kb(),this.T(b,fpa(),this.fQ),this.T(b,epa(document),this.xr));a.U().Nb||a.U().Z||this.disable();a.createClientVe(this.element,this,139117);this.Ra();this.xm(a.isFullscreen())}; XW=function(a,b,c){g.V.call(this,{I:"button",Ma:["ytp-button","ytp-jump-button"],X:{title:"{{title}}","aria-keyshortcuts":"{{aria-keyshortcuts}}","data-title-no-tooltip":"{{data-title-no-tooltip}}"},V:[0=h)break}a.K=d;a.frameCount=b.OH();a.interval=b.j/1E3||a.api.getDuration()/a.frameCount}for(;a.thumbnails.length>a.K.length;)d= void 0,null==(d=a.thumbnails.pop())||d.dispose();for(;a.thumbnails.lengthc.length;)d=void 0,null==(d=a.D.pop())||d.dispose(); for(;a.D.length-c?-b/c*a.interval*.5:-(b+c/2)/c*a.interval}; ZXa=function(a){return-((a.C.offsetWidth||(a.frameCount-1)*a.N*a.scale)-a.j/2)}; WXa=function(){g.V.call(this,{I:"div",S:"ytp-fine-scrubbing-thumbnail"})}; XXa=function(){g.V.call(this,{I:"div",S:"ytp-fine-scrubbing-chapter-title",V:[{I:"div",S:"ytp-fine-scrubbing-chapter-title-content",xa:"{{chapterTitle}}"}]})}; aYa=function(a){g.V.call(this,{I:"div",S:"ytp-heat-map-chapter",V:[{I:"svg",S:"ytp-heat-map-svg",X:{height:"100%",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 1000 100",width:"100%"},V:[{I:"defs",V:[{I:"clipPath",X:{id:"{{id}}"},V:[{I:"path",S:"ytp-heat-map-path",X:{d:"",fill:"white"}}]}]},{I:"rect",S:"ytp-heat-map-graph",X:{"clip-path":"url(#hm_1)",fill:"white","fill-opacity":"0.2",height:"100%",width:"100%",x:"0",y:"0"}},{I:"rect",S:"ytp-heat-map-hover",X:{"clip-path":"url(#hm_1)",fill:"white", height:"100%",x:"0",y:"0"}},{I:"rect",S:"ytp-heat-map-play",X:{"clip-path":"url(#hm_1)",height:"100%",x:"0",y:"0"}}]}]});this.api=a;this.K=this.Ga("ytp-heat-map-svg");this.C=this.Ga("ytp-heat-map-path");this.G=this.Ga("ytp-heat-map-graph");this.D=this.Ga("ytp-heat-map-play");this.B=this.Ga("ytp-heat-map-hover");this.Ee=!1;this.j=60;a=""+g.db(this);this.update({id:a});a="url(#"+a+")";this.G.setAttribute("clip-path",a);this.D.setAttribute("clip-path",a);this.B.setAttribute("clip-path",a);this.api.L("web_heat_map_v2")&& g.Ju(this.api.getRootNode(),"ytp-heat-map-v2")}; bYa=function(a,b){0=h&&x<=p&&f.push(r)}0l)a.j[c].width=n;else{a.j[c].width=0;var p=a,q=c,r=p.j[q-1];void 0!==r&&0a.rb&&(a.rb=m/f),d=!0)}c++}}return d}; jX=function(a){if(a.N){var b=a.api.getProgressState(),c=a.api.getVideoData();if(!(c&&c.enableServerStitchedDai&&c.enablePreroll)||isFinite(b.current)){var d;c=(null==(d=a.api.getVideoData())?0:QT(d))&&b.airingStart&&b.airingEnd?VYa(a,b.airingStart,b.airingEnd):VYa(a,b.seekableStart,b.seekableEnd);d=WG(c,b.loaded,0);b=WG(c,b.current,0);var e=a.C.B!==c.B||a.C.j!==c.j;a.C=c;kX(a,b,d);e&&WYa(a);XYa(a)}}}; VYa=function(a,b,c){return YYa(a)?new VG(Math.max(b,a.Fb.startTimeMs/1E3),Math.min(c,a.Fb.endTimeMs/1E3)):new VG(b,c)}; ZYa=function(a,b){var c;if("repeatChapter"===(null==(c=a.Fb)?void 0:c.type)||"repeatChapter"===(null==b?void 0:b.type))b&&(b=a.j[zW(a.j,b.startTimeMs)],g.Nu(b.j,"ytp-repeating-chapter",!1)),a.Fb&&(b=a.j[zW(a.j,a.Fb.startTimeMs)],g.Nu(b.j,"ytp-repeating-chapter",!0)),a.j.forEach(function(d){g.Nu(d.j,"ytp-exp-chapter-hover-container",!a.Fb)})}; mX=function(a,b){var c=a.C;c=c.B+b.B*c.getLength();if(1=a.j.length?!1:4>Math.abs(b-a.j[c].startTime/1E3)/a.C.j*(a.N-(a.D?3:2)*a.Aa)}; WYa=function(a){a.Tf.style.removeProperty("height");for(var b=g.v(Object.keys(a.Ka)),c=b.next();!c.done;c=b.next())aZa(a,c.value);nX(a);kX(a,a.ma,a.ob)}; iX=function(a){var b=a.gb.x;b=g.me(b,0,a.N);a.Of.update(b,a.N);return a.Of}; pX=function(a){return(a.D?135:90)-oX(a)}; oX=function(a){var b=48,c=a.api.U();a.D?b=54:g.YR(c)&&!c.B&&(b=40);return b}; kX=function(a,b,c){a.ma=b;a.ob=c;var d=iX(a),e=a.C.j;var f=a.C;f=f.B+a.ma*f.getLength();var h=g.dK("$PLAY_PROGRESS (\u043e\u0431\u0449\u0430\u044f \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c $DURATION)",{PLAY_PROGRESS:g.SG(f,!0),DURATION:g.SG(e,!0)}),l=zW(a.j,1E3*f);l=a.j[l].title;a.update({ariamin:Math.floor(a.C.B),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:l?l+" "+h:h});e=a.clipStart;f=a.clipEnd;a.Fb&&2!==a.api.getPresentingPlayerType()&&(e=a.Fb.startTimeMs/ 1E3,f=a.Fb.endTimeMs/1E3);e=WG(a.C,e,0);l=WG(a.C,f,1);h=a.api.getVideoData();f=g.me(b,e,l);c=(null==h?0:g.PT(h))?1:g.me(c,e,l);b=SYa(a,b,d);g.Vr(a.Ug,"transform","translateX("+b+"px)");qX(a,d,e,f,"PLAY_PROGRESS");(null==h?0:QT(h))?(b=a.api.getProgressState().seekableEnd)&&qX(a,d,f,WG(a.C,b),"LIVE_BUFFER"):qX(a,d,e,c,"LOAD_PROGRESS");if(a.api.L("web_player_heat_map_played_bar")){var m;null!=(m=a.G[0])&&m.D.setAttribute("width",(100*f).toFixed(2)+"%")}}; qX=function(a,b,c,d,e){var f=a.j.length,h=b.j-a.Aa*(a.D?3:2),l=c*h;c=lX(a,l);var m=d*h;h=lX(a,m);"HOVER_PROGRESS"===e&&(h=lX(a,b.j*d,!0),m=b.j*d-bZa(a,b.j*d)*(a.D?3:2));b=Math.max(l-cZa(a,c),0);for(d=c;d=a.j.length)return a.N;for(var c=0,d=0;de.width)b-=e.width;else break;d++}return d===a.j.length?d-1:d}; SYa=function(a,b,c){for(var d=b*a.C.j*1E3,e=-1,f=g.v(a.j),h=f.next();!h.done;h=f.next())h=h.value,d>h.startTime&&0e?0:e)+c.D}; bZa=function(a,b){for(var c=a.j.length,d=0,e=g.v(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.D?3:2,d++;else break;return d===c?c-1:d}; g.sX=function(a,b,c,d){var e=a.N!==c,f=a.D!==d;a.Rf=b;a.N=c;a.D=d;fX(a)&&null!=(b=a.B)&&(b.scale=d?1.5:1);WYa(a);1===a.j.length&&(a.j[0].width=c||0);e&&g.hX(a);a.B&&f&&fX(a)&&(a.B.isEnabled&&(c=a.D?135:90,d=c-oX(a),a.Za.style.height=c+"px",g.Vr(a.qa,"transform","translateY("+-d+"px)"),g.Vr(a.Qc,"transform","translateY("+-d+"px)")),YXa(a.B))}; nX=function(a){var b=!!a.Fb&&2!==a.api.getPresentingPlayerType(),c=a.clipStart,d=a.clipEnd,e=!0,f=!0;b&&a.Fb?(c=a.Fb.startTimeMs/1E3,d=a.Fb.endTimeMs/1E3):(e=c>a.C.B,f=0a.ma);g.Nu(a.Tf,"ytp-scrubber-button-hover",c===d&&1b||b===a.D)){a.D=b;b=a.N*a.scale;var c=a.Aa*a.scale,d=EQa(a.B,a.D,b);EXa(a.bg,d,b,c,!0);a.Fa.start()}}; WZa=function(a){var b=a.j;3===a.type&&a.Ka.stop();a.api.removeEventListener("appresize",a.Ea);a.ma||b.setAttribute("title",a.C);a.C="";a.j=null}; YZa=function(a,b){g.V.call(this,{I:"button",Ma:["ytp-watch-later-button","ytp-button"],X:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.YR(a.U()))},V:[{I:"div",S:"ytp-watch-later-icon",xa:"{{icon}}"},{I:"div",S:"ytp-watch-later-title",xa:"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0437\u0436\u0435"}]});this.J=a;this.icon=null;this.visible=this.isRequestPending=this.j=!1;this.tooltip=b.qc();gWa(this.tooltip);a.createClientVe(this.element,this, 28665);this.Ta("click",this.onClick,this);this.T(a,"videoplayerreset",this.Iw);this.T(a,"appresize",this.pC);this.T(a,"videodatachange",this.pC);this.T(a,"presentingplayerstatechange",this.pC);this.pC();a=this.J.U();var c=g.OC("yt-player-watch-later-pending");a.D&&c?(sLa(),XZa(this)):this.Ra(2);g.Nu(this.element,"ytp-show-watch-later-title",g.YR(a));this.addOnDisposeCallback(g.cU(b.qc(),this.element))}; ZZa=function(a){var b=a.J.getPlayerSize(),c=a.J.U(),d=a.J.getVideoData(),e=g.YR(c)&&g.lU(a.J)&&g.JG(a.J.Qb(),128),f=c.C;return c.Od&&240<=b.width&&!d.isAd()&&d.Od&&!e&&!(d.Ld&&c.ma)&&!g.mU(a.J)&&!f}; $Za=function(a,b){g.eW(g.jS(a.J.U()),"wl_button",function(){sLa({videoId:b});window.location.reload()})}; XZa=function(a){if(!a.isRequestPending){a.isRequestPending=!0;a.Ra(3);var b=a.J.getVideoData();b=a.j?b.removeFromWatchLaterCommand:b.addToWatchLaterCommand;var c=a.J.jn(),d=a.j?function(){a.j=!1;a.isRequestPending=!1;a.Ra(2);a.J.U().K&&a.J.Qa("WATCH_LATER_VIDEO_REMOVED")}:function(){a.j=!0; a.isRequestPending=!1;a.Ra(1);a.J.U().B&&a.tooltip.HF(a.element);a.J.U().K&&a.J.Qa("WATCH_LATER_VIDEO_ADDED")}; VH(c,b).then(d,function(){a.isRequestPending=!1;a.Ra(4,"\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.");a.J.U().K&&a.J.Qa("WATCH_LATER_ERROR","\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.")})}}; a_a=function(a,b){if(b!==a.icon){switch(b){case 3:var c=YSa();break;case 1:c=tva();break;case 2:c={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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:c={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path", Bc:!0,X:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.updateValue("icon",c);a.icon=b}}; g.QX=function(){g.YV.apply(this,arguments);this.AI=(this.Uq=g.YR(this.api.U()))&&(this.api.U().B||pC()||nC());this.bN=48;this.cN=69;this.gp=this.hg=null;this.St=[];this.TK=this.wh=this.UK=this.Av=this.Uc=null;this.UF=[];this.contextMenu=this.Jg=this.overflowButton=this.Qh=this.Vg=this.searchButton=this.Li=this.shareButton=this.Bo=this.Sg=this.title=this.channelAvatar=this.backButton=this.UA=this.tooltip=null;this.KM=!1;this.aF=this.Kp=this.mD=this.nD=null;this.HQ=this.zP=this.iH=!1}; b_a=function(a){var b=a.api.U(),c=g.JG(a.api.Qb(),128);return b.D&&c&&!a.api.isFullscreen()}; c_a=function(a){if(a.Jf()&&!g.mU(a.api)&&a.Qh){var b=a.api.L("web_player_hide_overflow_button_if_empty_menu");!a.Bo||b&&!ZZa(a.Bo)||fXa(a.Qh,a.Bo);!a.shareButton||b&&!pXa(a.shareButton)||fXa(a.Qh,a.shareButton);!a.Li||b&&!zWa(a.Li)||fXa(a.Qh,a.Li)}else{if(a.Qh){b=a.Qh;for(var c=g.v(b.actionButtons),d=c.next();!d.done;d=c.next())d.value.detach();b.actionButtons=[]}a.searchButton&&!g.zf(a.Sg.element,a.searchButton.element)&&a.searchButton.Da(a.Sg.element);a.Bo&&!g.zf(a.Sg.element,a.Bo.element)&&a.Bo.Da(a.Sg.element); a.shareButton&&!g.zf(a.Sg.element,a.shareButton.element)&&a.shareButton.Da(a.Sg.element);a.Li&&!g.zf(a.Sg.element,a.Li.element)&&a.Li.Da(a.Sg.element)}}; d_a=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!==Yr(b,"display")&&"true"!==b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=d_a(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndexc.nB||0>c.ju||0>f||0>d||0>c.Hr||0>h)return $X(a,b),[];a=FQ(c.nB,c.Hr);b=c.SP||0;return[new HQ(3,e,a,"makeSliceInfosMediaBytes",c.ju-1,d/h,f/h,b, a.length-b,void 0,c.zj,c.clipId)]}return 0>c.ju?($X(a,b),[]):(null==(h=a.manifest)?0:h.Cc)?(a=e.Bj,[new HQ(3,e,void 0,"makeSliceInfosMediaBytes",c.ju,void 0,a,void 0,a*e.info.Sb,!0,c.zj,c.clipId)]):[]}; B_a=function(a,b,c){a.manifest=b;a.Oh=c;b=g.v(a.qd);for(c=b.next();!c.done;c=b.next()){var d=g.v(c.value);c=d.next().value;d=d.next().value;for(var e=g.v(d.d_),f=e.next();!f.done;f=e.next()){f=f.value;var h=A_a(a,c,f);z_a(a,f.Gp,d,h)}}}; D_a=function(a,b,c,d){a.logger.debug(function(){return"[addStreamData] formatId: "+c+", bytes: "+d.getLength()}); (a=a.qd.get(c))&&!a.eh&&(C_a&&(a.yw.has(b)||a.yw.set(b,{data:new lO,PM:0,DI:!1}),mO(a.yw.get(b).data,d)),mO(a.Mf,d),a.bytesReceived+=d.getLength(),a.bR=!0)}; s_a=function(a,b){a.logger.debug(function(){return"[closeStream] formatId: "+b}); var c=a.qd.get(b);c&&!c.eh&&(c.eh=!0,c.We&&c.We(),E_a(a)&&a.C.DY())}; E_a=function(a){a=g.v(a.qd.values());for(var b=a.next();!b.done;b=a.next())if(!b.value.eh)return!1;return!0}; bY=function(a,b){var c,d;null==(c=window.h5vcc)||null==(d=c.settings)||d.set(a,b)}; F_a=function(){var a=window.H5vccPlatformService,b="";if(a&&a.has("dev.cobalt.coat.clientloginfo")&&(a=a.open("dev.cobalt.coat.clientloginfo",function(){}))){var c=a.send(new ArrayBuffer(0)); c&&(b=String.fromCharCode.apply(String,g.ra(new Uint8Array(c))));a.close()}return b}; G_a=function(){for(var a=cY.length;4>a;a++){var b=g.mf("VIDEO");b.load();cY.push(new g.cV(b))}}; H_a=function(a,b,c,d){var e=c.getVideoData(),f=b.getVideoData();if(c.getPlayerState().isError())return{msg:"player-error"};c=f.C;if(b.Ni()>d/1E3+1)return{msg:"in-the-past"};if(f.isLivePlayback&&!isFinite(d))return{msg:"live-infinite"};(b=b.kf())&&b.isView()&&(b=b.mediaElement);if(b&&12m&&(f=m-200,a.N=!0);h&&l.getCurrentTime()>=f/1E3?a.K():(a.B=l,h&&(h=f,f=a.B,a.app.Wa.addEventListener(g.YJ("vqueued"),a.K),h=isFinite(h)||h/1E3>f.getDuration()?h:0x8000000000000,a.G=new g.XJ(h,0x8000000000000,{namespace:"vqueued"}),f.addCueRange(a.G)));h=d/=1E3;f=b.getVideoData().j;d&&f&&a.B&&(l=d,m=0, b.getVideoData().isLivePlayback&&(h=Math.min(c/1E3,hY(a.B,!0)),m=Math.max(0,h-a.B.getCurrentTime()),l=Math.min(d,hY(b)+m)),h=kOa(f,l)||d,h!==d&&a.j.va("qvaln",{st:d,at:h,rm:m,ct:l}));b=h;d=a.j;d.getVideoData().Ji=!0;d.getVideoData().Y=!0;g.kY(d,!0);f={};a.B&&(f=g.tN(a.B.wc().provider),h=a.B.getVideoData().clientPlaybackNonce,f={crt:(1E3*f).toFixed(),cpn:h});d.va("queued",f);0!==b&&d.seekTo(b+.01,{Uv:!0,jS:3,xd:"videoqueuer_queued"});a.C=new K_a(a.Z,a.app.Bd(),a.j,c,a.app,e);c=a.C;Infinity!==c.status.status&& (gY(c,1),c.j.subscribe("internalvideodatachange",c.Vu,c),c.B.subscribe("internalvideodatachange",c.Vu,c),c.j.subscribe("mediasourceattached",c.Vu,c),c.B.subscribe("statechange",c.Td,c),c.j.subscribe("newelementrequired",c.VY,c),c.Vu());return a.D}; U_a=function(a){var b,c,d,e;g.I(function(f){switch(f.j){case 1:if(a.isDisposed()||!a.D||!a.j)return f.return();a.N&&lY(a.app.Bd(),!0,!1);b=null;if(!a.C){f.La(2);break}g.Ca(f,3);return g.y(f,P_a(a.C),5);case 5:g.Da(f,2);break;case 3:b=c=g.Ea(f);case 2:if(!a.j)return f.return();g.fY.wm("vqsp",function(){mY(a.app,a.j)}); g.fY.wm("vqpv",function(){a.app.playVideo()}); b&&(a.j?W_a(a.j,b.message):null==(d=a.B)||d.va("gapsp",{}));e=a.D;jY(a);e&&e.resolve();return f.return(Promise.resolve())}})}; jY=function(a){if(a.B){if(a.G){var b=a.B;a.app.Wa.removeEventListener(g.YJ("vqueued"),a.K);b.removeCueRange(a.G)}a.B=null;a.G=null}a.C&&(6!==a.C.status.status&&(b=a.C,Infinity!==b.status.status&&1!==b.G&&b.Ig("Canceled")),a.C=null);a.D=null;a.j&&a.j!==g.aU(a.app,1)&&a.j!==a.app.Bd()&&a.j.dispose();a.j=null;a.N=!1}; X_a=function(a){var b;return(null==(b=a.C)?void 0:b.currentVideoDuration)||-1}; Y_a=function(a,b,c){if(a.gw())return"qine";if(null==a.j||a.j.isDisposed()||null==a.j.getVideoData())return"qpd";if(b.videoId!==a.j.Ue())return"vinm";if(0>=X_a(a))return"ivd";if(1!==c)return"upt";var d;null==(d=a.C)?a=void 0:5!==d.getStatus().status?a="niss":null!=H_a(d.policy,d.j,d.B,d.Dm)?a="pge":(c=S_a(d),b=c.OR,a=g.rJ(d.Rd.U().experiments,"html5_shorts_gapless_next_buffer_in_seconds"),d=d.K+a,c=hL(c.q_.uf(),d),b=hL(b.uf(),d),a=!(0c)){b=new nY(a.W,b,c,a.j,d);d=g.v(d);for(c=d.next();!c.done;c=d.next()){c=c.value;var e=c.Zl();e&&e!==a.j.Zl()&&a.B.set(e,[c])}a.j.j.set(b.Hh(),b)}}; oY=function(a,b){return a.B.get(b)}; g0a=function(a,b,c,d,e,f){return new f0a(c,c+(d||0),!d,b,a,e,f)}; f0a=function(a,b,c,d,e,f,h){g.J.call(this);this.Ec=a;this.B=b;this.C=c;this.type=d;this.D=e;this.videoData=f;this.VI=h;this.j=new Map;DRa(f)}; h0a=function(a){this.end=this.start=a}; g.qY=function(a,b,c){g.J.call(this);var d=this;this.api=a;this.W=b;this.ra=c;this.Na=new Map;this.Za=new Map;this.Sa=new Map;this.G=new Map;this.C=[];this.ma=[];this.B=new Map;this.pd=new Map;this.qa=new Map;this.Hc=NaN;this.Db=this.rb=this.jc=null;this.dc=new g.Bu(function(){i0a(d,d.Hc,d.jc||void 0)}); this.events=new g.IK(this);this.Nb=g.rJ(this.W.experiments,"web_player_ss_dai_ad_fetching_timeout_ms")||1E4;this.Y=new g.Bu(function(){d.Fa=!0;var e=d.ra,f=d.Nb;e.va("sdai",{aftimeout:f});e.me(new FK("ad.fetchtimeout",{timeout:f}));j0a(d);d.MD(!1)},this.Nb); this.Fa=!1;this.N=new Map;this.Jb=[];this.Ea=null;this.Pe=new Set;this.Ka=[];this.jd=[];this.ye=[];this.Ed=[];this.j=void 0;this.ob=0;this.gb=!0;this.Z=!1;this.Va=[];this.Pd=new Set;this.He=new Set;this.Ge=new Set;this.D=0;this.Aa=null;this.tb=new Set;this.Od=0;this.jp=this.kd=!1;this.K="";this.Hd={Ahb:function(){return d.G}, Hhb:function(){return d.C}, Bhb:function(){return d.B}}; this.ra.getPlayerType();k0a(this.ra,this);this.Ya=this.W.Nc();g.L(this,this.dc);g.L(this,this.events);g.L(this,this.Y);pY(this)||(this.events.T(this.api,g.YJ("serverstitchedcuerange"),this.onCueRangeEnter),this.events.T(this.api,g.ZJ("serverstitchedcuerange"),this.onCueRangeExit))}; o0a=function(a,b,c,d,e,f,h,l){var m=l0a(a,f,f+e);a.Fa&&a.ra.va("sdai",{adaftto:1});a.jp&&a.ra.va("sdai",{adfbk:1,enter:f,len:e,aid:l});var n=a.ra;h=void 0===h?f+e:h;f===h&&!e&&a.W.L("html5_allow_zero_duration_ads_on_timeline")&&a.ra.va("sdai",{attl0d:1});f>h&&rY(a,{reason:"enterTime_greater_than_return",Ec:f,Ud:h});var p=1E3*n.Jd();fn&&rY(a,{reason:"parent_return_greater_than_content_duration",Ud:h,ajb:n}); n=null;p=g.Vb(a.ma,{Ud:f},function(q,r){return q.Ud-r.Ud}); 0<=p&&(n=a.ma[p],n.Ud>f&&m0a(a,b.video_id||"",f,h,n));if(m&&n)for(p=0;pd?-1*(d+2):d;return 0<=d&&(a=a.ma[d],a.Ud>=c)?{Vm:a,zA:b}:{Vm:void 0,zA:b}}; wY=function(a,b){var c="";pY(a)?(c=b/1E3-a.yp(),c=a.ra.Az(c)):(b=s0a(a,b))&&(c=b.getId());return c?a.B.get(c):void 0}; s0a=function(a,b){a=g.v(a.G.values());for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.start<=b&&c.end>=b)return c}; i0a=function(a,b,c){var d=a.Db||a.api.Bd().getPlayerState();yY(a,!0);a.ra.seekTo(b,c);a=a.api.Bd();b=a.getPlayerState();g.GL(d)&&!g.GL(b)?a.playVideo():d.isPaused()&&!b.isPaused()&&a.pauseVideo()}; yY=function(a,b){a.Hc=NaN;a.jc=null;a.dc.stop();a.rb&&b&&t0a(a.rb);a.Db=null;a.rb=null}; u0a=function(a){var b=void 0===b?-1:b;var c=void 0===c?Infinity:c;for(var d=[],e=g.v(a.ma),f=e.next();!f.done;f=e.next())f=f.value,(f.Ecc)&&d.push(f);a.ma=d;d=g.v(a.G.values());for(e=d.next();!e.done;e=d.next())e=e.value,e.start>=b&&e.end<=c&&(a.ra.removeCueRange(e),a.G.delete(e.getId()),a.ra.va("sdai",{rmAdCR:1}));d=xY(a,b/1E3);b=d.Vm;d=d.zA;if(b&&(d=1E3*d-b.Ec,e=b.Ec+d,b.durationMs=d,b.Ud=e,d=a.G.get(b.cpn))){e=g.v(a.C);for(f=e.next();!f.done;f=e.next())f=f.value,f.start===d.end?f.start= b.Ec+b.durationMs:f.end===d.start&&(f.end=b.Ec);d.start=b.Ec;d.end=b.Ec+b.durationMs}if(b=xY(a,c/1E3).Vm){var h;d="playback_timelinePlaybackId_"+b.Yc+"_video_id_"+(null==(h=b.videoData)?void 0:h.videoId)+"_durationMs_"+b.durationMs+"_enterTimeMs_"+b.Ec+"_parentReturnTimeMs_"+b.Ud;a.nE("Invalid_clearEndTimeMs_"+c+"_that_falls_during_"+d+"._Child_playbacks_can_only_have_duration_updated_not_their_start.")}}; v0a=function(a){a.Na.clear();a.Za.clear();a.Sa.clear();a.G.clear();a.C=[];a.ma=[];a.B.clear();a.pd.clear();a.qa.clear();a.N.clear();a.Jb=[];a.Ea=null;a.Pe.clear();a.Ka=[];a.jd=[];a.ye=[];a.Ed=[];a.Va=[];a.Pd.clear();a.He.clear();a.Ge.clear();a.tb.clear();a.Fa=!1;a.j=void 0;a.ob=0;a.gb=!0;a.Z=!1;a.D=0;a.Aa=null;a.Od=0;a.kd=!1;a.jp=!1;a.K="";a.Y.isActive()&&sY(a)}; x0a=function(a,b,c,d,e,f){if(!a.jp)if(g.w0a(a,c))a.Ya&&a.ra.va("sdai",{gdu:"undec",seg:c,itag:e});else if(b=zY(a,b,c,d,f),!(MT(a.ra.getVideoData())&&(null==b?0:b.bP)))return b}; zY=function(a,b,c,d,e){var f=a.N.get(c);if(!f){b+=a.yp();b=xY(a,b,1);if(b.Vm)return b.Vm;b=AY(a,c-1,null!=d?d:2);if(e)return a.ra.va("sdai",{misscue:e,sq:c,type:d,prevsstate:null==b?void 0:b.Hy,prevrecord:a.N.has(c-1)}),a.N.get(c-1);if(2===(null==b?void 0:b.Hy))return a.N.get(c-1)}return f}; y0a=function(a){if(a.Va.length)for(var b=g.v(a.Va),c=b.next();!c.done;c=b.next())a.onCueRangeExit(c.value);c=g.v(a.G.values());for(b=c.next();!b.done;b=c.next())a.ra.removeCueRange(b.value);c=g.v(a.C);for(b=c.next();!b.done;b=c.next())a.ra.removeCueRange(b.value);a.G.clear();a.C=[];a.Na.clear();a.Za.clear();a.Sa.clear();a.j||(a.gb=!0)}; AY=function(a,b,c){if(1===c){if(a.Na.has(b))return a.Na.get(b)}else{if(2===c&&a.Za.has(b))return a.Za.get(b);if(3===c&&a.Sa.has(b))return a.Sa.get(b)}}; A0a=function(a,b,c,d){if(d)for(d=0;dc){var f=e.end;e.end=b;z0a(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.ra.removeCueRange(e);if(a.Va.includes(e))a.onCueRangeExit(e);a.C.splice(d,1);continue}d++}else z0a(a,b,c)}; z0a=function(a,b,c){b=p0a(b,c);c=!0;g.Zb(a.C,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.ra.removeCueRange(e):c=!1;a.C.splice(d,1);continue}}d++}if(c)for(a.ra.addCueRange(b),b=a.ra.hD("serverstitchedcuerange",36E5),b=g.v(b),c=b.next();!c.done;c=b.next())a.G.delete(c.value.getId())}; BY=function(a,b,c){if(void 0===c||!c){c=g.v(a.Jb);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.Jb.push(new h0a(b))}}; g.w0a=function(a,b){a=g.v(a.Jb);for(var c=a.next();!c.done;c=a.next())if(c=c.value,b>=c.start&&b<=c.end)return!0;return!1}; m0a=function(a,b,c,d,e){var f;b={reason:"overlapping_playbacks",Wib:b,Ec:c,Ud:d,thb:e.Yc,uhb:(null==(f=e.videoData)?void 0:f.videoId)||"",qhb:e.durationMs,rhb:e.Ec,shb:e.Ud};rY(a,b)}; rY=function(a,b){a=a.ra;a.va("timelineerror",b);a.me(new FK("dai.timelineerror",b))}; B0a=function(a,b){var c=[];a=a.qa.get(b);if(!a)return[];a=g.v(a);for(b=a.next();!b.done;b=a.next())b=b.value,b.cpn&&c.push(b.cpn);return c}; C0a=function(a,b,c){var d=0;a=a.qa.get(c);if(!a)return-1;a=g.v(a);for(c=a.next();!c.done;c=a.next()){if(c.value.cpn===b)return d;d++}return-1}; D0a=function(a,b){var c=[];a=a.qa.get(b);if(!a)return[];a=g.v(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}; E0a=function(a,b){var c=0;a=a.qa.get(b);if(!a)return 0;a=g.v(a);for(b=a.next();!b.done;b=a.next())b=b.value,0!==b.durationMs&&b.Ud!==b.Ec&&c++;return c}; F0a=function(a,b,c){var d=!1;if(c&&(c=a.qa.get(c))){c=g.v(c);for(var e=c.next();!e.done;e=c.next())e=e.value,0!==e.durationMs&&e.Ud!==e.Ec&&(e=e.cpn,b===e&&(d=!0),d&&!a.He.has(e)&&(a.ra.va("sdai",{decoratedAd:e}),a.He.add(e)))}}; j0a=function(a){a.Ya&&a.ra.va("sdai",{adf:"0_"+((new Date).getTime()/1E3-a.Od)+"_isTimeout_"+a.Fa})}; l0a=function(a,b,c){if(a.Ka.length)for(var d=g.v(a.Ka),e=d.next(),f={};!e.done;f={yv:f.yv},e=d.next()){f.yv=e.value;e=1E3*f.yv.startSecs;var h=1E3*f.yv.Xh+e;if(b>e&&be&&cb?-1*(b+2):b])}}; DY=function(a,b){if(a=N0a(a,b)){a=g.v(a.segments);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Hh()<=b&&c.Dv()>b)return c}}; G0a=function(a,b){var c;if(a.j)for(c=a.B.shift();c&&c!==a.j;)c=a.B.shift();else c=a.B.shift();if(c)return a.dk.has(c)?O0a(a,c):3===b&&(a.G.stop(),a.api.playVideo(1)),a.C.set(a.Ng,b),P0a(a,c),!1;a.G.stop();return!0}; O0a=function(a,b){b=oY(a.timeline,b);if(null==b?0:b.length)a.api.pauseVideo(),a.G.start(b[0].VI)}; P0a=function(a,b){if(a.Ng!==b){var c=a.ra.getVideoData(),d=c.clientPlaybackNonce,e=a.Ng;a.Ng=b;var f=!1;""===e&&(e=d,f=!0);b=oY(a.timeline,a.Ng);if(null==b?0:b.length){var h=b[0];b=h.getType();c=e===d?c:a.cz.get(e);var l=a.C.get(e);l?a.C.delete(e):l=f?1:2;a:{var m=a.Ng;if(!a.Wl.has(m))for(var n=g.v(a.Wl),p=n.next();!p.done;p=n.next()){var q=g.v(p.value);p=q.next().value;q=q.next().value;if(q.getId().includes(m)){m=p;break a}}}n=m;p=a.ra.TH();p.Xg!==n&&(q=p.wc(p.Xg),m=p.wc(n),p.Xg=n,m!==q&&(q.qoe&& (n=q.qoe,n.provider.W.Nc()&&n.va("ssap",{qoesus:"1",vid:n.provider.videoData.videoId}),isNaN(n.G)||g.UB(n.G)),m.resume()));m=a.ra.getCurrentTime();n=Math.max(0,m-CY(a,e)/1E3);p=Math.max(0,m-CY(a,a.Ng)/1E3);q=3===l;h=h.getVideoData();var r=a.ra.TH(),t=e,u=a.Ng,x=r.wc(t),B=r.wc(u),F,G=t===(null==(F=x.getVideoData())?void 0:F.clientPlaybackNonce),H;F=u===(null==(H=B.getVideoData())?void 0:H.clientPlaybackNonce);var O;H=G?(null==(O=x.getVideoData())?void 0:O.videoId)||"":"nvd";var P;O=F?(null==(P=B.getVideoData())? void 0:P.videoId)||"":"nvd";if(G){var Y;null!=(Y=x.qoe)&&GY(Y,4,q?4:0,u,O,n)}if(F){HY(B);var la;null!=(la=B.qoe)&&GY(la,4,q?5:1,t,H,p);Q0a(B)}r.j.has(t)&&(R0a(r.j.get(t)),r.j.delete(t));var na;PUa(e,a.Ng,d,m,h,null!=(na=a.D.get(e))?na:m);a.D.delete(e);a.api.oa("videodatachange","newdata",h,b,f?void 0:c,l);a.dk.delete(e);a.j="";(null==h?0:h.startSeconds)&&1===b&&a.Z&&(d=h.startSeconds,e=oY(a.timeline,a.ra.getVideoData().clientPlaybackNonce),null==e?0:e.length)&&(a.ra.seekTo(d+e[0].Hh()/1E3,{WR:!0}), a.Z=!1);2===b?a.N++:a.N=0}}}; H0a=function(a){a.ra.lF(Array.from(a.Wl.values()));a.Wl.clear()}; T0a=function(a,b,c){g.J.call(this);var d=this;this.api=a;this.W=b;this.j=c;this.K=new Map;this.B=[];this.C=this.N=null;this.ma=NaN;this.G=this.D=this.Y=null;this.Z=new g.Bu(function(){S0a(d,d.ma,d.Y||void 0)}); this.qa=[];this.Aa=new g.Bu(function(){var e=d.qa.pop();if(e){var f=e.Yc,h=e.playerVars;e=e.playerType;h&&(h.prefer_gapless=!0,d.api.preloadVideoByPlayerVars(h,e,NaN,"",f),d.qa.length&&g.Cu(d.Aa,4500))}}); this.events=new g.IK(this);c.getPlayerType();g.L(this,this.Z);g.L(this,this.Aa);g.L(this,this.events);this.events.T(this.api,g.YJ("childplayback"),this.onCueRangeEnter);this.events.T(this.api,"onQueuedVideoLoaded",this.onQueuedVideoLoaded);this.events.T(this.api,"presentingplayerstatechange",this.fk)}; X0a=function(a,b,c,d,e,f){var h=b.cpn,l=b.docid||b.video_id||b.videoId||b.id,m=a.j;f=void 0===f?e+d:f;if(e>f)return IY(a,"enterAfterReturn enterTimeMs="+e+" is greater than parentReturnTimeMs="+f.toFixed(3),h,l),"";var n=1E3*m.Jd();if(en)return m="returnAfterDuration parentReturnTimeMs="+f.toFixed(3)+" is greater than parentDurationMs="+n+". And timestampOffset in seconds is "+ m.Rc(),IY(a,m,h,l),"";n=null;for(var p=g.v(a.B),q=p.next();!q.done;q=p.next()){q=q.value;if(e>=q.Ec&&eq.Ec)return IY(a,"overlappingReturn",h,l),"";if(f===q.Ec)return IY(a,"outOfOrder",h,l),"";e===q.Ud&&(n=q)}h="cs_childplayback_"+U0a++;l={Qe:JY(d,!0),Dm:Infinity,target:null};var r={Yc:h,playerVars:b,playerType:c,durationMs:d,Ec:e,Ud:f,Rs:l};a.B=a.B.concat(r).sort(function(x,B){return x.Ec-B.Ec}); n?V0a(a,n,{Qe:JY(n.durationMs,!0),Dm:n.Rs.Dm,target:r}):(b={Qe:JY(e,!1),Dm:e,target:r},a.K.set(b.Qe,b),m.addCueRange(b.Qe));b=!0;if(a.j===a.api.Bd()&&(m=1E3*m.getCurrentTime(),m>=r.Ec&&mb)break;if(f>b)return{Vm:d,zA:b-e};c=f-d.Ud/1E3}return{Vm:null,zA:b-c}}; S0a=function(a,b,c){c=void 0===c?{}:c;var d=a.G||a.api.Bd().getPlayerState();MY(a,!0);b=isFinite(b)?b:a.j.Jq();var e=a1a(a,b);b=e.Vm;e=e.zA;var f=b&&!KY(a,b)||!b&&a.j!==a.api.Bd(),h=1E3*e;h=a.C&&a.C.start<=h&&h<=a.C.end;!f&&h||LY(a);b?W0a(a,b,e,c,d):b1a(a,e,c,d)}; b1a=function(a,b,c,d){var e=a.j,f=a.api.Bd();e!==f&&a.api.eB();e.seekTo(b,Object.assign({},{xd:"application_timelinemanager"},c));c1a(a,d)}; W0a=function(a,b,c,d,e){var f=KY(a,b);if(!f){b.playerVars.prefer_gapless=!0;var h=new g.aT(a.W,b.playerVars);h.Yc=b.Yc;a.api.Mt(h,b.playerType)}h=a.api.Bd();f||h.addCueRange(b.Rs.Qe);h.seekTo(c,Object.assign({},{xd:"application_timelinemanager"},d));c1a(a,e)}; c1a=function(a,b){a=a.api.Bd();var c=a.getPlayerState();g.GL(b)&&!g.GL(c)?a.playVideo():b.isPaused()&&!c.isPaused()&&a.pauseVideo()}; MY=function(a,b){a.ma=NaN;a.Y=null;a.Z.stop();a.D&&b&&t0a(a.D);a.G=null;a.D=null}; KY=function(a,b){a=a.api.Bd();return!!a&&a.getVideoData().Yc===b.Yc}; d1a=function(a){var b=a.B.find(function(e){return KY(a,e)}); if(b){var c=a.api.Bd();LY(a);var d=new g.AL(8);b=$0a(a,b)/1E3;b1a(a,b,{},d);c.va("forceParentTransition",{childPlayback:1});a.j.va("forceParentTransition",{parentPlayback:1})}}; f1a=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.v(a.K),h=f.next();!h.done;h=f.next()){var l=g.v(h.value);h=l.next().value;l=l.next().value;l.Dm>=d&&l.target&&l.target.Ud<=e&&(a.j.removeCueRange(h),a.K.delete(h))}d=b;e=c;f=[];h=g.v(a.B);for(l=h.next();!l.done;l=h.next())if(l=l.value,l.Ec>=d&&l.Ud<=e){var m=a;m.N===l&&LY(m);KY(m,l)&&m.api.eB()}else f.push(l);a.B=f;d=a1a(a,b/1E3);b=d.Vm;d=d.zA;b&&(d*=1E3,e1a(a,b,d,b.Ud===b.Ec+b.durationMs?b.Ec+d:b.Ud));(b=a1a(a,c/1E3).Vm)&& IY(a,"Invalid clearEndTimeMs="+c+" that falls during playback={timelinePlaybackId="+(b.Yc+" video_id="+b.playerVars.video_id+" durationMs="+b.durationMs+" enterTimeMs="+b.Ec+" parentReturnTimeMs="+b.Ud+"}.Child playbacks can only have duration updated not their start."))}; e1a=function(a,b,c,d){b.durationMs=c;b.Ud=d;d={Qe:JY(c,!0),Dm:c,target:null};V0a(a,b,d);KY(a,b)&&1E3*a.api.Bd().getCurrentTime()>c&&(b=$0a(a,b)/1E3,c=a.api.Bd().getPlayerState(),b1a(a,b,{},c))}; IY=function(a,b,c,d){a.j.va("timelineerror",{e:b,cpn:c?c:void 0,videoId:d?d:void 0})}; h1a=function(a){a&&"web"!==a&&g1a.includes(a)}; PY=function(a,b){g.J.call(this);var c=this;this.data=[];this.C=a||NaN;this.B=b||null;this.j=new g.Bu(function(){NY(c);OY(c)}); g.L(this,this.j)}; i1a=function(a){NY(a);return a.data.map(function(b){return b.value})}; NY=function(a){var b=(0,g.vD)();a.data.forEach(function(c){c.expire=d;d++)c.push(d/100);c={threshold:c,trackVisibility:!0,delay:1E3};(this.B=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.B.observe(a)}; n1a=function(a){g.V.call(this,{I:"div",Ma:["html5-video-player"],X:{tabindex:"-1",id:a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId:a.config.attrs.id},V:[{I:"div",S:g.TY.VIDEO_CONTAINER,X:{"data-layer":"0"}}]});var b=this;this.app=a;this.Yy=this.Ga(g.TY.VIDEO_CONTAINER);this.XA=new g.Sr(0,0,0,0);this.vc=null;this.YJ=new g.Sr(0,0,0,0);this.rO=this.DP=this.CP=NaN;this.rI=this.VJ=this.SQ=this.vV=!1;this.iN=NaN;this.eP=!1;this.pE=null;this.eQ=function(){b.element.focus()}; this.EJ=function(){b.app.Wa.oa("playerUnderlayVisibilityChange","visible");b.vc.classList.remove(g.TY.VIDEO_CONTAINER_TRANSITIONING);b.vc.removeEventListener(cTa,b.EJ);b.vc.removeEventListener("transitioncancel",b.EJ)}; 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.U();e.transparentBackground&&this.Cs("ytp-transparent");"0"===e.controlsType&&this.Cs("ytp-hide-controls");g.Ju(this.element,"ytp-exp-bottom-control-flexbox");e.L("web_imp_caption_window")&&g.Ju(this.element,"ytp-modern-caption");e.L("enable_new_paid_product_placement")&&!g.qS(e)&&g.Ju(this.element,"ytp-exp-ppp-update");e.L("html5_enable_ssap")&&g.Ju(this.element,"ytp-ssap");this.element.dataset.version=l1a(a);this.s_=!1;this.lD=new g.ue(NaN,NaN);m1a(this);this.T(a.Wa,"onMutedAutoplayChange", this.onMutedAutoplayChange)}; m1a=function(a){function b(){a.vc&&UY(a);VY(a)!==a.eP&&a.resize()} function c(h,l){a.xt(h,l)} function d(h){h.getVideoData()&&a.updateVideoData(h.getVideoData())} function e(){a.YJ=new g.Sr(0,0,0,0);a.XA=new g.Sr(0,0,0,0)} var f=a.app.Wa;f.addEventListener("initializingmode",e);f.addEventListener("videoplayerreset",d);f.addEventListener("videodatachange",c);f.addEventListener("presentingplayerstatechange",b);a.addOnDisposeCallback(function(){f.removeEventListener("initializingmode",e);f.removeEventListener("videoplayerreset",d);f.removeEventListener("videodatachange",c);f.removeEventListener("presentingplayerstatechange",b)})}; p1a=function(a){var b=g.aU(a.app),c=b=b?b.getVideoData():null;if(null==b?0:g.OT(b))c=a.app.Wa.getVideoData();if(c){if(g.CT(c)||g.DT(c)||g.FT(c))return 16/9;if(pRa(c)&&c.C.j)return a=c.C.videoInfos[0].video,o1a(a.width,a.height)}return(a=a.vc)?o1a(a.videoWidth,a.videoHeight):16/9}; q1a=function(a,b,c,d){var e=c,f=o1a(b.width,b.height);a.vV?e=cf?{width:b.width,height:b.width/e,aspectRatio:e}:ee?a.width=a.height*c:cMath.abs(r1a*b-a)||1>Math.abs(r1a/a-b)?r1a:a/b}; VY=function(a){if(1===a.app.getAppState())return!1;if(6===a.app.getAppState())return!0;var b=g.aU(a.app);if(!b||b.Bp())return!1;a=a.app.Wa.Qb();b=!g.JG(a,2)||b&&b.getVideoData().Y;var c=g.JG(a,1024);return a&&b&&!c&&!a.isCued()}; UY=function(a){var b="3"===a.app.U().controlsType&&!a.rI&&VY(a)&&!a.app.uA||!1;a.vc.controls=b;a.vc.tabIndex=b?0:-1;b?a.vc.removeEventListener("focus",a.eQ):a.vc.addEventListener("focus",a.eQ)}; s1a=function(a){var b=a.Uj(),c=1,d=!1,e=q1a(a,b,a.getVideoAspectRatio()),f=a.app.U(),h=f.L("enable_desktop_player_underlay"),l=Joa(),m=g.rJ(f.experiments,"player_underlay_min_player_width");m=h&&a.SQ&&a.getPlayerSize().width>m;if(VY(a)){var n=p1a(a);var p=isNaN(n)||g.LD||WY&&g.pD||m;KD&&!g.Pc(601)?n=e.aspectRatio:p=p||"3"===f.controlsType;p?m?(p=f.L("place_shrunken_video_on_left_of_player"),n=.02*a.getPlayerSize().width,p=p?n:a.getPlayerSize().width-b.width-n,p=new g.Sr(p,0,b.width,b.height)):p=new g.Sr(0, 0,b.width,b.height):(c=e.aspectRatio/n,p=new g.Sr((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1===c&&g.pD&&(n=p.width-b.height*n,0Math.max(p.width-e.width,p.height-e.height));if(l||a.s_)a.vc.style.display="";a.eP=!0}else{p=-b.height;KD?p*=window.devicePixelRatio:g.rS&&(p-=window.screen.height);p=new g.Sr(0,p,b.width,b.height);if(l||a.s_)a.vc.style.display="none";a.eP=!1}Tr(a.YJ,p)||(a.YJ=p,g.dS(f)?(a.vc.style.setProperty("width", p.width+"px","important"),a.vc.style.setProperty("height",p.height+"px","important")):g.es(a.vc,p.getSize()),d=new g.pe(p.left,p.top),g.as(a.vc,Math.round(d.x),Math.round(d.y)),d=!0);b=new g.Sr((b.width-e.width)/2,(b.height-e.height)/2,e.width,e.height);Tr(a.XA,b)||(a.XA=b,d=!0);g.Vr(a.vc,"transform",1===c?"":"scaleX("+c+")");h&&m!==a.VJ&&(m&&(a.vc.addEventListener(cTa,a.EJ),a.vc.addEventListener("transitioncancel",a.EJ),a.vc.classList.add(g.TY.VIDEO_CONTAINER_TRANSITIONING)),a.VJ=m,a.app.Wa.oa("playerUnderlayVisibilityChange", a.VJ?"transitioning":"hidden"));return d}; t1a=function(){this.csn=g.xF();this.clientPlaybackNonce=null;this.elements=new Set;this.C=new Set;this.j=new Set;this.B=new Set}; u1a=function(a){if(a.csn!==g.xF())if("UNDEFINED_CSN"===a.csn)a.csn=g.xF();else{var b=g.xF(),c=g.wF();if(b&&c){a.csn=b;for(var d=g.v(a.elements),e=d.next();!e.done;e=d.next())(e=e.value.visualElement)&&e.isClientVe()&&b&&c&&(g.AB("combine_ve_grafts")?sP(qP(),e,c):g.EB(g.HF)(void 0,b,c,e))}if(b)for(a=g.v(a.j),e=a.next();!e.done;e=a.next())(c=e.value.visualElement)&&c.isClientVe()&&g.LF(b,c)}}; v1a=function(a,b){this.wd=a;this.policy=b;this.playbackRate=1}; w1a=function(a,b){var c=Math.min(2.5,RR(a.wd));a=XY(a);return b-c*a}; y1a=function(a,b,c,d,e){e=void 0===e?!1:e;a.policy.Uk&&(d=Math.abs(d));d/=a.playbackRate;var f=1/SR(a.wd);c=Math.max(.9*(d-3),RR(a.wd)+2048*f)/f*.8/(b+c);c=Math.min(c,d);0e&&(a=e);return Infinity>a?a/1E3:a}; ZY=function(a,b,c,d,e){this.Ba=a;this.manifest=b;this.videoTrack=c;this.audioTrack=d;this.policy=e;this.seekCount=this.j=0;this.G=!1;this.B=this.manifest.isManifestless&&!this.manifest.le;this.D=null;this.C=0}; B1a=function(a,b,c){if(!a.policy.G){a=b.j.index;var d=b.B.Oa;a.Dp(d)||c&&c.Oa===d?(b.G=!a.Dp(d),b.ma=!a.Dp(d)):(b.G=!0,b.ma=!0)}}; D1a=function(a,b,c,d,e){if(!b.j.og()){if(!(d=0===c||!!b.C.length&&b.C[0]instanceof $Y))a:{if(b.C.length&&(d=b.C[0],d instanceof aZ&&d.jh&&d.Fj)){d=!0;break a}d=!1}d||a.policy.j||bZ(b);return c}var f=cZ(b,c);if(!isNaN(f))return f;if(a.Ba.ZO(1E3*c))return c;e.KI||(b.Jk(),a.Ba.qK(!0));return d&&(a=iL(d.uf(),c),!isNaN(a))?(dZ(b,a+C1a),c):dZ(b,c)}; H1a=function(a,b,c,d){if(a.Yf()&&a.j){var e=E1a(a,b,c);if(-1!==e){a.videoTrack.G=!1;a.audioTrack.G=!1;a.B=!0;a.C=0;g.Uf(function(){a.Ba.va("seekreason",{reason:"behindMinSq",tgt:e});F1a(a,e)}); return}}c?a.videoTrack.ma=!1:a.audioTrack.ma=!1;var f=a.policy.Ex||!a.B;0<=cZ(a.videoTrack,a.j)&&0<=cZ(a.audioTrack,a.j)&&f?((a.videoTrack.G||a.audioTrack.G)&&a.Ba.va("iterativeSeeking",{status:"done",count:a.seekCount}),a.videoTrack.G=!1,a.audioTrack.G=!1):d&&g.Uf(function(){if(a.B||!a.policy.Db)G1a(a);else{var h=b.startTime,l=b.duration,m=c?a.videoTrack.G:a.audioTrack.G,n=-1!==a.videoTrack.K&&-1!==a.audioTrack.K,p=a.j>=h&&a.ja.seekCount?(a.seekCount++,a.Ba.va("iterativeSeeking",{status:"inprogress",count:a.seekCount,target:a.j,actual:h,duration:l,isVideo:c}),a.seek(a.j,{})):(a.Ba.va("iterativeSeeking",{status:"incomplete",count:a.seekCount,target:a.j,actual:h}),a.seekCount=0,a.videoTrack.G=!1,a.audioTrack.G= !1,eZ(a.Ba,h+.1,{Uv:!0,xd:"chunkSelectorSynchronizeMedia",zq:!0})))}})}; E1a=function(a,b,c){if(!a.Yf())return-1;c=(c?a.videoTrack:a.audioTrack).j.index;var d=c.Jh(a.j);return(c.Dp(a.manifest.nf)||b.Oa===a.manifest.nf)&&da.D&&(a.D=NaN,a.G=NaN);if(a.j&&a.j.Oa===d){e=a.j;var f=e.Wg,h=c.Ut(f);d=b.eb[0].Oa;a.va("sdai",{onqevt:f.event,sq:d,gab:h});if(h)"predictStart"!==f.event?e.QD?iZ(a,4,"cue"):(a.D=b.eb[0].Oa,a.G=b.eb[0].C,a.va("sdai",{joinad:a.B,sg:a.D,st:a.G.toFixed(3)}),a.Y=Date.now(),iZ(a,2,"join"),c.hI(e.Wg)):(a.N=b.eb[0].Oa+ Math.max(Math.ceil(-f.j/5E3),1),a.va("sdai",{onpred:b.eb[0].Oa,est:a.N}),a.Y=Date.now(),iZ(a,3,"predict"),c.hI(e.Wg));else if(1===a.B){b=b.eb[0].C;var l;(null==(l=a.C)?0:l.xN(b))?(T1a(a.Ba,b,b,d),iZ(a,4,"sk2had")):iZ(a,5,"nogab")}}else 1===a.B&&iZ(a,5,"noad")}}; V1a=function(a,b,c){return(0>c||c===a.D)&&!isNaN(a.G)?a.G:b}; W1a=function(a,b){if(a.j){var c=a.j.Wg.Xh-(b.startTime+a.K-a.j.Wg.startSecs);0>=c||(c=new dQ(a.j.Wg.startSecs-(isNaN(a.K)?0:a.K),c,a.j.Wg.context,a.j.Wg.identifier,"stop",a.j.Wg.j+1E3*b.duration),a.va("cuepointdiscontinuity",{segNum:b.Oa}),hZ(a,c,b.Oa))}}; iZ=function(a,b,c){a.B!==b&&(a.va("sdai",{setsst:b,old:a.B,r:c}),a.B=b)}; jZ=function(a,b,c,d){(void 0===d?0:d)?iZ(a,1,"sk2h"):0a.policy.Ii,l=e<=a.policy.Ii?QK(d):PK(d);if(!f||h||l)c[e]=d}return c}; rZ=function(a,b){a.j=b;var c=a.K.videoInfos;if(!a.j.isLocked()){var d=(0,g.vD)();c=g.Zs(c,function(r){if(r.Sb>this.policy.Sb)return!1;var t=this.manifest.j[r.id];return oZ(this.G).get(r.id)>d?!1:4=r.video.width&&480>=r.video.height}))}0b.j)&&(e=e.filter(function(r){return r.video&&(!r.B||r.B.powerEfficient)})); if(0c.NG.video.width?(g.Db(e,b),b--):vZ(a,c.DG)*a.policy.K>vZ(a,c.NG)&&(g.Db(e,b-1),b--);var q=e[e.length-1];a.Za=!!a.C&&!!a.C.info&&a.C.info.ub!==q.ub;a.logger.debug(function(){return"Constraint: "+GP(a.j)+", "+e.length+" fmts selectable, max selectable fmt: "+$K(q)}); a.D=e;a.Va.clear();c=!1;for(b=0;bd}; qZ=function(a){if(!a.B||!a.policy.C&&!a.B.info.Oc){var b=a.K.j;a.B&&a.policy.No&&(b=b.filter(function(d){return d.audio.j===a.B.info.audio.j}),b.length||(b=a.K.j)); a.B=a.manifest.j[b[0].id];if(1a.j.j:k2a(a,a.B))a.B=a.manifest.j[g.xb(b).id]}}}; sZ=function(a){if(!a.nextVideo||!a.policy.C)if(a.j.isLocked())a.nextVideo=360>=a.j.j?a.manifest.j[a.D[0].id]:a.manifest.j[g.xb(a.D).id],a.logger.debug(function(){return"Select max fmt: "+$K(a.nextVideo.info)}); else{for(var b=Math.min(a.Z,a.D.length-1),c=YY(a.Ea),d=vZ(a,a.B.info),e=c/a.policy.Z-d;0=f);b++);a.nextVideo=a.manifest.j[a.D[b].id];a.Z!==b&&a.logger.info(function(){return"Adapt to: "+$K(a.nextVideo.info)+", bandwidth: "+c.toFixed(0)+", bandwidth to downgrade: "+e.toFixed(0)+", bandwidth to upgrade: "+f.toFixed(0)+", constraint: "+GP(a.j)}); a.Z=b}}; $1a=function(a){var b=a.policy.Z,c=YY(a.Ea),d=c/b-vZ(a,a.B.info);b=g.Bb(a.D,function(e){return vZ(this,e)b&&(b=0);a.Z=b;a.nextVideo=a.manifest.j[a.D[b].id];a.logger.info(function(){return"Initial selected fmt: "+$K(a.nextVideo.info)+", bandwidth: "+c.toFixed(0)+", max video byterate: "+d.toFixed(0)})}; a2a=function(a){if(a.ob.length){var b=a.ob,c=function(d,e){if("f"===d.info.ub||b.includes(WK(d.info,a.manifest.Cc)))return d;for(var f={},h=0;h=m+100?h=!0:n+100=f){var n=0;if(a.Xc){var p=EY(a.Xc,1E3*l);p&&(n=p.pm/1E3)}p=Object.assign({},a.Wd[e]);var q=a.Wd[e].formatId;q=a.manifest.K.get(q.itag+";"+(q.lmt||0)+";"+q.xtags);f=Math.max(l,f);l=q.index.Jh(f+.1-n);var r=q.index.getStartTime(l)+n;l+=+(.1=Math.abs(b.startTimeMs-c.startTimeMs)){if(b.durationMs>c.durationMs+100){a=b.formatId;var f=b.eq,h=b.hj;b.formatId=c.formatId;b.durationMs=c.durationMs;b.eq=c.eq;b.NA=c.durationMs;b.hj=c.hj;c.formatId=a;c.startTimeMs=e;c.OA=e;c.durationMs=d-e;c.NA=c.durationMs; c.eq=f;c.hj=h;return!1}b.formatId=c.formatId;return!0}d>c.startTimeMs&&(b.durationMs=c.startTimeMs-b.startTimeMs,b.NA=b.durationMs);return!1}; r2a=function(a,b,c){return b.itag!==c.itag||b.xtags!==c.xtags?!1:a.manifest.Cc||b.lmt===c.lmt}; v2a=function(a,b,c){if(a.logger&&a.policy.Jl){for(var d=[],e=0;e=d.length)return;if(0>c)throw Error("Missing data");a.D=a.C;a.B=0}for(e={};c=e)break;if(1886614376===d.getUint32(c+4)){var f=32;if(0=a.j.getLength())throw Error();return pO(a.j,a.offset++)}; O2a=function(a,b){b=void 0===b?!1:b;var c=N2a(a);if(1===c){b=-1;for(c=0;7>c;c++){var d=N2a(a);-1===b&&255!==d&&(b=0);-1e&&d>c;e++)c=256*c+N2a(a),d*=128;return b?c:c-d}; P2a=function(a){try{var b=O2a(a,!0),c=O2a(a,!1);return{id:b,size:c}}catch(d){return{id:-1,size:-1}}}; Q2a=function(a){for(var b=new DZ(a),c=-1,d=0,e=0;!d||!e;){var f=P2a(b),h=f.id;f=f.size;if(0>h)return;if(176===h){if(2!==f)return;d=b.gm()}else if(186===h){if(2!==f)return;e=b.gm()}374648427===h?c=b.gm()+f:408125543!==h&&174!==h&&224!==h&&b.skip(f)}b=xGa(a,0,c);c=new DataView(b.buffer);c.setUint16(d,3840);c.setUint16(e,2160);d=new lO([b]);mO(d,a);return d}; S2a=function(a,b,c){var d=this;this.Ba=a;this.policy=b;this.K=c;this.logger=new g.WX("dash");this.B=[];this.j=null;this.Aa=-1;this.Y=0;this.Fa=NaN;this.ma=0;this.C=NaN;this.Z=this.Na=0;this.Ya=-1;this.Ka=this.G=this.D=this.Ea=null;this.Za=this.Va=NaN;this.N=this.qa=this.Sa=this.gb=null;this.ob=!1;this.timestampOffset=0;this.Hd={EW:function(){return d.B}}; if(this.policy.C){var e=this.K,f=this.policy.C;this.policy.Na&&a.va("atv",{ap:this.policy.Na});this.N=new z2a(this.policy,e,function(h,l,m){EZ(a,new CZ(d.policy.C,2,{ZE:new M2a(f,h,e.info,l,m)}))}); this.N.Z.promise.then(function(h){d.N=null;1===h?EZ(a,new CZ(d.policy.C,h)):d.Ba.va("offlineerr",{status:h.toString()})},function(h){var l=(h.message||"none").replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"); h instanceof AZ&&!h.j?(d.logger.info(function(){return"Assertion failed: "+l}),d.Ba.va("offlinenwerr",{em:l}),R2a(d),EZ(a,new CZ(d.policy.C,4))):(d.logger.info(function(){return"Failed to write to disk: "+l}),d.Ba.va("dldbwerr",{em:l}),R2a(d),EZ(a,new CZ(d.policy.C,4,{uI:!0})))})}}; T2a=function(a){return a.B.length?a.B[0]:null}; $2a=function(a,b,c,d){d=void 0===d?0:d;if(a.G){var e=a.G.Yb+a.G.B;if(0=Math.abs(e.C-f.C)&&e.Oa===f.Oa?0:HMa(e,f)))||U2a(a,"d")}else if(0=a.Aa&&0===a.Y){var h=a.j.j;e=f=-1;if(c){for(var l=0;l+8e&&(f=-1)}else{h=new DZ(h);for(m=l=!1;;){n=h.gm();var p=P2a(h),q=p.id;p=p.size;if(!(0f&&(f=n),m))break;163===q&&(f=Math.max(0,f),e=h.gm()+p);if(160===q){0>f&&(e=f=h.gm()+p);break}h.skip(p)}}0>f&&(e=-1)}if(0>f)break;a.Aa=f;a.Y=e-f}if(a.Aa>d)break;a.Aa?(d=X2a(a,a.Aa),d.C&&Y2a(a,d),V2a(a,b,d),Z2a(a,d),a.Aa=0):a.Y&&(d=X2a(a,0>a.Y?Infinity:a.Y),a.Y-=d.j.getLength(),Z2a(a,d))}}a.j&&a.j.info.df&&(Z2a(a,a.j),a.j=null)}; W2a=function(a,b){!b.info.j.Gn()&&0===b.info.Yb&&(g.TK(b.info.j.info)||b.info.j.info.Me())&&yNa(b);if(1===b.info.type)try{Y2a(a,b),a3a(a,b)}catch(e){g.AF(e);var c=MQ(b.info);c.hms="1";a.Ba.handleError("fmt.unparseable",c||{},1)}c=b.info.j;c.vO(b);a.N&&E2a(a.N,b);if(c.og()&&a.policy.j)a:{a=a.Ba.manifest;b=b.info.clipId;c=VK(c.info,a.Cc);if(b){var d=SNa(a,c);if(a.Fa[d])break a;a.Fa[d]=b}a.Ea.push(c)}}; R2a=function(a){var b;null==(b=a.N)||b.dispose();a.N=null}; b3a=function(a){var b=a.B.reduce(function(c,d){return c+d.j.getLength()},0); a.j&&(b+=a.j.j.getLength());return b}; c3a=function(a){if(a.qa&&!a.policy.Go){var b=a.Ba;b.manifest.isManifestless&&nR(b.manifest,a.qa.Oa,!!a.K.info.video)}a.qa=null;a.D=null;a.G=a.gb;a.C=a.G?a.C-a.ma:NaN;FZ(a)}; X2a=function(a,b){var c=a.j;b=Math.min(b,c.j.getLength());if(b===c.j.getLength())return a.j=null,c;c=rNa(c,b);a.j=c[1];return c[0]}; Y2a=function(a,b){b.j.getLength();var c=bR(b);if(kBa(b.info.j.info)&&"bt2020"===b.info.j.info.video.primaries){var d=new pQ(c);rQ(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;PK(d)&&!kBa(d)&&(d=bR(b),(new pQ(d)).Fn(),vQ([408125543,374648427,174,224],21936,d));b.info.j.info.fh()&&(d=b.info.j,d.info&&d.info.video&&"MESH"===d.info.video.projectionType&&!d.B&&(g.TK(d.info)?d.B=mMa(c):d.info.Me()&&(d.B=wMa(c)))); b.info.j.info.Me()&&b.info.fh()&&(c=bR(b),(new pQ(c)).Fn(),vQ([408125543,374648427,174,224],30320,c)&&vQ([408125543,374648427,174,224],21432,c));if(a.policy.ZB&&b.info.j.info.Me()){c=bR(b);var e=new pQ(c);if(rQ(e,[408125543,374648427,174,29637])){d=uQ(e,!0);e=e.start+e.pos;for(var f=0;fm||(e&&b.skip(4),f&&b.skip(4),e=aQ(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.Ea&&!!a.Ea.K.D)if(b=c.info.fh())b=wNa(c),h=a.Ea,GZ?(l=1/b,b=HZ(a,b)>=HZ(h)+l):b=a.getDuration()>=h.getDuration(),b=!b;b&&d3a(c)&&(b=a.Ea,GZ?(l=wNa(c),h=1/l,l=HZ(a,l),b=HZ(b)+h-l):b=b.getDuration()- a.getDuration(),b=1+b/c.info.duration,lMa(bR(c),b))}else{h=!1;a.D||(yNa(c),c.B&&(a.D=c.B,h=!0,f=c.info,d=c.B.j,f.G="updateWithEmsg",f.Oa=d,f=c.B,f.D&&(a.K.index.B=!f.D),f=c.info.j.info,d=bR(c),g.TK(f)?rMa(d,1701671783):f.Me()&&vQ([408125543],307544935,d)));a:if((f=dR(c,a.policy.gb))&&xNa(c))l=e3a(a,c),a.Z+=l,f-=l,a.ma+=f,a.C=a.policy.ij?a.C+f:NaN;else{if(a.policy.Vo){if(d=m=a.Ba.zq(sNa(c),1),0<=a.C&&7!==c.info.type){if(a.policy.ij&&isNaN(a.Va)){g.BF(new g.VC("Missing duration while processing previous chunk", c.info.Sd()));a.Ba.isOffline()&&!a.policy.Pm||f3a(a,c,d);U2a(a,"m");break a}var n=m-a.C,p=n-a.Z,q=c.info.Oa,r=a.Ka?a.Ka.Oa:-1,t=a.Za,u=a.Va,x=a.policy.Ml&&n>a.policy.Ml,B=10Math.abs(a.C-d);if(1E-4l&&f>a.Ya)&&m){d=Math.max(.95,Math.min(1.05,(c-(h-e))/c));if(g.TK(b.info.j.info))lMa(bR(b),d);else if(b.info.j.info.Me()&&(f=e-h,!g.TK(b.info.j.info)&&(b.info.j.info.Me(),d=new pQ(bR(b)),l=b.C?d:new pQ(new DataView(b.info.j.j.buffer)),dR(b,!0)))){var n= 1E3*f,p=AQ(l);l=d.pos;d.pos=0;if(160===d.j.getUint8(d.pos)||BQ(d))if(tQ(d,160))if(uQ(d,!0),tQ(d,155)){if(f=d.pos,m=uQ(d,!0),d.pos=f,n=1E9*n/p,p=wQ(d),n=p+Math.max(.7*-p,Math.min(p,n)),n=Math.sign(n)*Math.floor(Math.abs(n)),!(Math.ceil(Math.log(n)/Math.log(2)/8)>m)){d.pos=f+1;for(f=m-1;0<=f;f--)d.j.setUint8(d.pos+f,n&255),n>>>=8;d.pos=l}}else d.pos=l;else d.pos=l;else d.pos=l}d=dR(b,a.policy.gb);d=c-d}d&&b.info.j.info.Me()&&a.Ba.va("webmDurationAdjustment",{durationAdjustment:d,videoDrift:e+d,audioDrift:h})}return d}; d3a=function(a){return a.info.j.Gn()&&a.info.Oa===a.info.j.index.Ad()}; HZ=function(a,b){b=(b=void 0===b?0:b)?Math.round(a.timestampOffset*b)/b:a.timestampOffset;a.K.D&&b&&(b+=a.K.D.j);return b+a.getDuration()}; j3a=function(a,b){0>b||(a.B.forEach(function(c){uNa(c,b)}),a.timestampOffset=b)}; JZ=function(a,b){var c=this;this.Lb=a;this.requestNumber=++k3a;this.j=this.now();this.N=this.Nb=NaN;this.Z=this.j;this.B=this.dc=this.G=0;this.D=this.j;this.Sa=this.Fa=this.Va=this.pd=this.Hc=this.qa=this.Aa=this.C=0;this.K=void 0;this.Ya=0;this.Ea=this.isActive=!1;this.Jb=this.ob=0;this.Hd={Eib:function(){return c.fp}}; this.wd=b.wd;this.snapshot=aPa(this.wd);this.policy=this.wd.Ea;this.Wq=!!b.Wq;this.Yw=b.Yw;b.AN&&(IZ||(IZ=AGa("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.")),this.K=new Uint8Array(2048));var d;this.fp=null!=(d=b.fp)?d:!1;XOa(this.wd)}; l3a=function(a){a.Va=Math.max(a.Va,a.G-a.Hc);a.Fa=Math.max(a.Fa,a.Z-a.pd);a.qa=0}; KZ=function(a,b,c){if(a.K){if(a.Ya+20>a.K.length){var d=new Uint8Array(2*a.K.length);d.set(a.K);a.K=d}m3a(a,Math.ceil(b)-Math.ceil(a.Z));m3a(a,Math.max(0,Math.ceil(c/1024)-Math.ceil(a.G/1024)))}if(a.policy.j){d=b-a.Z;var e=c-a.G;a.dc=e;a.Sa=Math.max(a.Sa,e/(d+.01)*1E3)}a.Z=b;a.G=c;a.qa&&c>a.qa&&l3a(a)}; m3a=function(a,b){for(;31>=5;a.K[a.Ya++]=IZ[b]}; n3a=function(a){return a.K?g.uO(a.K.subarray(0,a.Ya)):""}; o3a=function(a,b){a.url=b;window.performance&&!performance.onresourcetimingbufferfull&&(performance.onresourcetimingbufferfull=function(){performance.clearResourceTimings()})}; LZ=function(a){a.isActive&&(a.isActive=!1)}; MZ=function(a,b){JZ.call(this,a,b);this.rb=this.Db=!1;this.ma=this.Y=Infinity;this.Ka=NaN;this.tb=!1;this.Za=NaN;this.jc=0;this.gD=b.gD||1;this.GQ=b.GQ||this.gD;this.Wk=b.Wk;this.Oa=b.Oa;this.Zg=b.Zg;p3a(this);this.oR(this.j);this.Na=(this.Za-this.j)/1E3}; NZ=function(a,b,c){a.Wq||(b=Math.max(b,a.policy.C),NR(a.wd,b,c,b))}; q3a=function(a,b){return b?a.GI()?!0:2048<=b:!1}; r3a=function(a){return(a.D-a.j)/1E3}; p3a=function(a){a.Ka=a.j+1E3*a.snapshot.delay;a.tb=!1}; u3a=function(a,b){if(a.Wk&&void 0!==a.Oa&&void 0!==a.Zg){var c=Math,d=c.min,e=a.Y;var f=a.Wk;var h=a.j;if(s3a(f,a.Oa))f=b;else{var l=0;f.Yi&&(l=.2);f=h+1E3*(f.Cj+l)}a.Y=d.call(c,e,f);c=Math;d=c.min;e=a.ma;f=a.Wk;h=a.j;l=t3a(f,a.Oa,a.Zg);2!==l&&(b=l?b:h+1E3*f.Cj,f.Yi&&(b+=1E3*f.Cj));a.ma=d.call(c,e,b);a.Y<=a.j?p3a(a):(a.Ka=a.Y,a.tb=!0)}}; v3a=function(a){a.Wk&&u3a(a,a.now());return a.tb}; w3a=function(a,b){if(b+1<=a.totalLength){var c=pO(a,b);c=128>c?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=pO(a,b++);else if(2===c)c=pO(a,b++),a=pO(a,b++),a=(c&63)+64*a;else if(3===c){c=pO(a,b++);var d=pO(a,b++);a=pO(a,b++);a=(c&31)+32*(d+256*a)}else if(4===c){c=pO(a,b++);d=pO(a,b++);var e=pO(a,b++);a=pO(a,b++);a=(c&15)+16*(d+256*(e+256*a))}else c=b+1,a.focus(c),uGa(a,c,4)?a=vGa(a).getUint32(c-a.C,!0):(d=pO(a,c+2)+256*pO(a,c+3),a=pO(a,c)+256*(pO(a,c+ 1)+256*d)),b+=5;return[a,b]}; OZ=function(a){this.Lb=a;this.j=new lO}; PZ=function(a,b){this.info=a;this.callback=b;this.state=1;this.RA=this.CO=!1;this.yg=null}; x3a=function(a){return g.mr(a.info.eb,function(b){return 3===b.type})}; y3a=function(a,b,c,d){var e=this;d=void 0===d?{}:d;this.policy=b;this.Lb=c;this.status=0;this.j=new lO;this.B=0;this.isDisposed=this.C=!1;this.D=0;this.xhr=new XMLHttpRequest;this.xhr.open(d.method||"GET",a);if(d.headers)for(a=d.headers,b=g.v(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,this.xhr.setRequestHeader(c,a[c]);this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(){return e.IA()}; this.xhr.onload=function(){return e.onDone()}; this.xhr.onerror=function(){return e.onError()}; this.xhr.fetch(function(f){e.j.append(f);e.B+=f.length;f=(0,g.vD)();f-e.D>e.policy.j&&(e.Lb.Xt(f,e.B),e.D=f)},function(){},d.body||null)}; z3a=function(a,b){var c=this;this.j=a;this.Lb=b;this.loaded=this.status=0;this.error="";a=EQ(this.j.get("range")||"");if(!a)throw Error("bad range");this.range=a;this.B=new lO;this.vF().then(function(){c.Lb.yr()},function(d){c.error=""+d||"unknown_err"; c.Lb.yr()})}; B3a=function(a,b,c,d){var e=this;d=void 0===d?{}:d;this.policy=b;this.Lb=c;this.Y=d;this.status=0;this.response=void 0;this.Z=this.B=0;this.K=this.N=!1;this.errorMessage="";this.qa=function(f){if(f)if(e.status=f.status,f.ok&&f.body&&204!==e.status)e.status=e.status||242,e.C=f.body.getReader(),e.isDisposed()?e.C.cancel().catch(function(){}):(e.G=f.headers,e.Lb.Kw(),A3a(e)); else e.onDone();else e.onError(Error("null_response"))}; this.ma=function(f){var h=(0,g.vD)();e.isDisposed()||(f.done?(e.C=void 0,e.onDone()):(f=f.value,e.B+=f.length,e.j.append(f),A3a(e),f=(0,g.vD)(),f-e.Z>e.policy.j&&(e.Z=f,e.Lb.Xt(h,e.B))))}; this.onError=function(f){e.errorMessage=String(f);e.N=!0;e.onDone()}; this.j=new lO;this.D=window.AbortController?new AbortController:void 0;this.start(a)}; A3a=function(a){a.C.read().then(a.ma,a.onError).then(void 0,Lpa)}; C3a=function(a,b,c){var d=this;c=void 0===c?{}:c;this.Lb=b;this.B=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.v(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.IA(f)}; a=VO(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",VO(function(f){d.We(f)}),!1)}; D3a=function(a,b,c,d,e){if(TP(a.base))return new z3a(a,c);a=a.bf();return d?wLa()?new y3a(a,b,c,e):new B3a(a,b,c,e):new C3a(a,c,e)}; QZ=function(a,b,c,d,e,f,h,l,m){m=void 0===m?!1:m;g.J.call(this);this.Lb=a;this.policy=b;this.qe=c;this.resource=d;this.timing=e;this.logger=f;this.D=h;this.Lw=l;this.G=m;this.lastError=null;this.j=0;this.C=!1;this.B=new g.Bu(this.Oaa,this.policy.Ji,this)}; E3a=function(a){a.Lb.Wv()||(a.resource.N=(0,g.vD)(),a=RZ(a),a.B=(0,g.vD)(),a.started+=1)}; F3a=function(a,b,c){a.timing.PP((0,g.vD)(),b,c);if(!a.Lb.Wv()&&(b=a.resource,b.B=0,b.G=0,b.K=0,ZMa(RZ(a)),null!=(b=a.Lw)&&(a=a.qe.base,!((0,g.vD)()this.policy.Cy?!1:!0:!1)c=null,this.policy.yy&& this.policy.Nj?c=[1]:h&&(c=[]),null!=c&&(this.policy.SB&&c.push(2),this.qe.set("defsel",c.join(",")));this.Gd=new QZ(this,this.policy,this.qe,this.info.resource,this.timing,this.logger,d,p);this.VE=f||null;this.RA=V3a(this);E3a(this.Gd);d=void 0;if(this.policy.xx||this.yk||this.policy.Aa){d={method:"POST"};f=(0,g.VZ)([120,0]);if(this.yk||this.policy.xx)d.body=f;this.policy.Aa&&(p=this.info.qt(),d.body=p?g.PO(p,g.GUa):f)}if(this.jh&&this.Fj){this.qe.set("iwts","1");d={method:"POST"};f={eba:1E3*this.jh}; var x;p=null==(x=this.info.qt())?void 0:x.oB;x=g.PO({Is:f,oB:p||void 0,videoPlaybackUstreamerConfig:this.Fj},g.GUa);d.body=x}if(this.Wv()||a.Uw&&5===this.info.eb[0].type)d=void 0;try{this.xhr=D3a(this.qe,this.policy.N,this.timing,b,d),this.Gd.B.start(),this.policy.lG&&o3a(this.timing,this.bf()),this.logger.debug(function(){return"Sent, itag="+u.qe.get("itag")+" seg="+u.info.eb[0].Oa+" range="+u.qe.get("range")+" time="+Math.round(u.info.eb[0].C)+"-"+Math.round(g.xb(u.info.eb).D)+" rtp="+(u.timing.bI()- Date.now()).toFixed(0)}),g.Uf(function(){})}catch(B){W3a(this,B,!0)}}; V3a=function(a){if(!(PQ(a.info)&&a.info.fp()&&a.policy.jd&&a.VE)||2<=a.info.resource.B||0b&&c.B.pop();g4a(a);a.B&&b=b&&(e.B.pop(),e.C-=dR(l,e.policy.gb),f=l.info)}f&&(e.G=0c?dZ(a,d):a.B=a.j.xs(b-1,!1).eb[0]}; d_=function(a,b){var c;for(c=0;c=a.Aa:c}; e_=function(a){var b;return ZZ(a)||a_(a,null==(b=a.D.Tn())?void 0:b.info)}; j4a=function(a){var b=[],c=XZ(a);c&&b.push(c);b=g.Hb(b,a.D.un());c=g.v(a.C);for(var d=c.next();!d.done;d=c.next()){d=d.value;for(var e=g.v(d.info.eb),f=e.next(),h={};!f.done;h={gB:h.gB},f=e.next())h.gB=f.value,d.CO&&(b=g.Zs(b,function(l){return function(m){return!PMa(m,l.gB)}}(h))),(KQ(h.gB)||4===h.gB.type)&&b.push(h.gB)}a.B&&!GMa(a.B,g.xb(b),a.B.j.Gn())&&b.push(a.B); return b}; i4a=function(a,b){if(!a.length)return!1;for(b+=1;b=b){b=f;break a}}b=e}return 0>b?NaN:i4a(a,c?b:0)?a[b].startTime:NaN}; f_=function(a){return!(!a.B||a.B.j===a.j)}; p4a=function(a){return f_(a)&&a.j.og()&&a.B.j.info.Sbb&&d.Db)return!0;var c=a.Ad();return bb)return 1;c=a.Ad();return bd)return 0;a=RQ(c,bNa(a.info.resource,!0,b));return a.j||a.timedOut||a.started?0:2}; A4a=function(a,b,c){if(!(b.Oo&&a.isComplete()&&a.canRetry()&&QQ(a.info.resource,b,c)))return 0;a=RQ(c,bNa(a.info.resource,!1,b));return a.B+b.Oo*$Ma(a,b,!0)>(0,g.vD)()?0:1}; g_=function(a,b,c,d,e,f,h,l,m,n,p,q,r){g.J.call(this);var t=this;this.Ba=a;this.policy=b;this.videoTrack=c;this.audioTrack=d;this.D=e;this.j=f;this.timing=h;this.G=l;this.schedule=m;this.manifest=n;this.C=p;this.Y=q;this.OK=r;this.ma=!1;this.fF="";this.Wk=null;this.Zg=NaN;this.Aa=!1;this.B=null;this.jh=this.Z=NaN;this.Fj=null;this.qa=this.K=0;this.logger=new g.WX("dash");this.Hd={aP:function(u,x){return t.aP(u,x)}}; 0f&&(c=d.j.Vx(d,e-h.B)))),d=c):(0>d.Oa&&(c=MQ(d),c.pr=""+b.C.length,a.Ba.Yf()&&(c.sk="1"),c.snss=d.G,a.Ba.va("nosq",c)),d=h.lC(d));if(a.policy.qa)for(c=g.v(d.eb),e=c.next();!e.done;e=c.next())e.value.type=7}else d.j.Gn()?(c=y1a(a.G,b.j.info.Sb,c.j.info.Sb,0),d=d.j.Vx(d,c)):d=d.j.lC(d);if(a.B){var l=d.eb[0].j.info.id;c=a.j;e=d.eb[0].Oa;c=0>e&&!isNaN(c.D)? c.D:e;e=V1a(a.j,d.eb[0].C,c);var m=b===a.audioTrack?1:2;f=d.eb[0].j.info.ub;h=l.split(";")[0];a:{var n=a.j;if(n.j){var p=n.j.Wg.event;if(n.j.Oa===c){n="predictStart"===p?void 0:n.j.Wg.event;break a}if(n.j.Oa===c-1){n="start"===p||"continue"===p?p:void 0;break a}}n=void 0}if(a.policy.Aa&&0!==a.j.B){var q=a.B.qt(e,c,l,m,f,n);0>c&&2===m&&jZ(a.j,0,0,!0);if(q){var r;l=(null==(r=q.oB)?void 0:r.Ns)||"";var t;r=(null==(t=q.oB)?void 0:t.v_)||-1;a.Ba.va("sdai",{ssdaiinfo:"1",ds:l,skipsq:r,itag:h,f:f,sg:c,st:e.toFixed(3)}); d.D=q}}else if(t=a.B.pz(e,c,l,m,f,n),0>c&&2===m&&jZ(a.j,0,0,!0),t){r={dec_sq:c,itag:h,st:e.toFixed(3)};if(a.policy.aC&&b.isRequestPending(c-1)){a.Ba.va("sdai",{wt_daistate_on_sg:c-1});return}a.Ba.va("sdai",r);t&&(d.j=new g.QP(t));a.policy.B&&(t=d.resource.C.get("id")||"",r=(null==(q=d.j)?void 0:q.get("id"))||"",t!==r&&a.Ba.va("stmidmismatch",{cid:t,aid:r}))}else 5!==a.j.B&&a.Ba.va("sdai",{nodec_sq:c,itag:h,st:e.toFixed(3)})}a.policy.wl&&-1!==d.eb[0].Oa&&d.eb[0].Oa=e.N?(e.va("sdai",{haltrq:f+1,est:e.N}),d=!1):d=2!==e.B;if(!d||!cNa(b.B?b.B.j.resource:b.j.resource,a.policy,a.D)||a.Ba.isSuspended&&(!TR(a.schedule)||a.Ba.qH))return!1;if(a.policy.C&&5<=SS)return g.Cu(a.Ba.oE),!1;if(a.manifest.isManifestless){if(0=a.policy.Kl||!a.policy.WF&&0=a.policy.Nl)return!1;d=b.B;if(!d)return!0;4===d.type&&d.j.og()&&(b.B=g.xb(d.j.hB(d)),d=b.B); if(!IQ(d)&&!d.j.ws(d))return!1;f=a.manifest.le||a.manifest.C;if(a.manifest.isManifestless&&f){f=b.j.index.Ad();var h=c.j.index.Ad();f=Math.min(f,h);if(0=f)return b.Aa=f,c.Aa=f,!1}if(d.j.info.audio&&4===d.type||IQ(d))return!1;f=!b.G&&!c.G;if(e=!e)e=d.D,e=!!(c.B&&!a_(c,c.B)&&c.B.DE4a(a,b)?(E4a(a,b),!1):(a=b.hc)&&a.isLocked()?!1:!0}; E4a=function(a,b){var c=a.j;c=c.j?c.j.Wg:null;if(a.policy.qa&&c)return c.startSecs+c.Xh+15;b=i_(a.Ba,b);0f){if(a.policy.B){var n=e.timing.ys();n.rst=e.state;n.strm=e.xhr.BB();n.cncl=e.xhr&&e.Gd.C?1:0;e.Wv()&&(n.shost=SP(e.qe.base),n.pb=e.info.C);a.Ba.va("rqs",n)}e.j_&&a.Ba.va("sbwe3",{},!0)}if(!a.isDisposed()&&2<=e.state){var p=a.timing,q=e.info.eb[0].j,r=!p.G&&q.info.video,t=!p.B&&q.info.audio;3===e.state?r?p.tick("vrr"):t&&p.tick("arr"):4===e.state?r?(p.G=e.bf(),g.bD(),dD(4)):t&&(p.B=e.bf()):e.cw()&&r&&(g.bD(),dD(4));var u=a.Ba;a.jh&&e.QG&&u&&(a.jh=NaN,a.Ba.LR(e.QG),a.Ba.eN(),a.Ba.va("cabrUtcSeek", {mediaTimeSeconds:e.QG}));e.mB&&a.jh&&e.mB&&!e.mB.action&&(a.Ba.ZI(a.jh),a.jh=NaN,a.Ba.va("cabrUtcSeekFallback",{targetUtcTimeSeconds:a.jh}));a.policy.Od&&e.gq&&a.Ba.LE(e.gq);if(3===e.state){d_(l,e);PQ(e.info)&&j_(a,l,h,!0);if(a.B){var x=e.info.pz();x&&a.B.Qk(e.info.eb[0].Oa,h.info.id,x)}a.Ba.Af()}else if(e.isComplete()&&5===e.info.eb[0].type){if(4===e.state){var B=(e.info.eb[0].j.info.video?a.videoTrack:a.audioTrack).C[0]||null;B&&B instanceof aZ&&B.Kv()&&B.EB(!0)}e.dispose()}else{e.En()||H4a(a, e);var F;(null==(F=e.Zz)?0:F.JI)&&a.Ba.vJ(e.Zz.JI);if(4===e.state)I4a(a,e),a.j&&U1a(a.j,e.info,a.B);else if(a.policy.Fu&&e.il()&&!e.isComplete()&&!I4a(a,e)&&!e.En())break a;e.En()&&(a.vt(e),isNaN(a.jh)||(a.Ba.ZI(a.jh),a.jh=NaN));a.Ba.Af();var G=A4a(e,a.policy,a.D);G4a(a,e,G)}}}}}catch(H){f=a.ma?1:0,a.ma=!0,e=GK(f),f=HK(H,f),a.Ba.handleError(f.errorCode,f.details,f.severity),e||a.Ba.Jk()}},d)}; H4a=function(a,b){if(b.RA&&2<=b.state&&3!==b.state){var c=b.xhr.getResponseHeader("X-Response-Itag");if(c){a.logger.debug(function(){return"Applying streamer-selected format "+c}); var d=l2a(a.C,c),e=b.info.C;e&&(e-=d.gO(),d.C=!0,b.info.eb[0].j.C=!1,$3a(b,d.Jv(e)),k_(a.Ba,a.videoTrack,d),w4a(a.videoTrack,d),a.Ba.zQ(d.info.video.quality),(e=b.mO())&&d.info.lastModified&&d.info.lastModified!==+e&&d_(a.videoTrack,b))}else b.RA=!1}}; I4a=function(a,b){if(a.policy.useUmp&&b.isDisposed())return!1;try{var c=b.info.eb[0].j,d=c.info.video?a.videoTrack:a.audioTrack;if(a.manifest.isManifestless&&d){a.K=0;d.N&&(b.isDisposed(),b.isComplete()||b.il(),d.N=!1);b.RN()&&a.Ba.cH.Ek(1,b.RN());var e=b.PH(),f=b.sW();nOa(a.manifest,e,f)}if(b.info.fp()&&!SMa(b.info))for(var h=g.v(b.vk()),l=h.next();!l.done;l=h.next())f4a(d,l.value);for(a.Ba.getCurrentTime();d.C.length&&4===d.C[0].state;){var m=d.C.shift();e4a(d,m);d.Ka=m.nW()}d.C.length&&e4a(d,d.C[0]); var n=!!fZ(d);n&&b instanceof $Y&&(c.info.di()?K1a(a.timing):J1a(a.timing));return n}catch(p){b=b.Iq();b.origin="hrhs";a:{a=a.Ba;c=p;if(c instanceof Error){b.msg||(b.msg=""+c.message);b.name||(b.name=""+c.name);if(c instanceof g.VC&&c.args)for(d=g.v(Object.entries(c.args)),e=d.next();!e.done;e=d.next())f=g.v(e.value),e=f.next().value,f=f.next().value,b["arg"+e]=""+f;g.BF(c);if("WARNING"===c.level){l_(a.ra,b);break a}}a.handleError("fmt.unplayable",b,1)}return!1}}; J4a=function(a){var b=a.videoTrack.j.index;a.Wk=new y4a({Nj:a.policy.Nj,Yi:a.policy.N.Yi,Cj:b.Cj,Ad:function(){return b.Ad()}, Fv:function(){return b.Fv()}})}; j_=function(a,b,c,d){if(!(c.og()||c.Rz()||c.C||!cNa(c.resource,a.policy,a.D)||"f"===c.info.ub||a.policy.j)){if(d){d=a.G;var e=c.info;d=x1a(d,e.video?d.policy.Ax:d.policy.Yk,e.Sb)}else d=0;d=c.Jv(d);a=h_(a,d);SMa(d)&&d4a(b,a);c.C=!0}}; m_=function(a,b,c,d,e,f){g.J.call(this);this.Ba=a;this.Oh=b;this.videoTrack=c;this.audioTrack=d;this.manifest=e;this.N=f;this.B=$S;this.logger=new g.WX("sabr");this.videoInfos=this.G=this.N.videoInfos;this.C=this.Z=this.N.j;this.j=new mZ(b,f);K4a(this)}; L4a=function(a,b){var c=[];b=g.v(b);for(var d=b.next();!d.done;d=b.next())c.push(VK(d.value,a.manifest.Cc));return c}; P4a=function(a,b){a.logger.debug("setConstraint: "+GP(b));"m"===b.reason?b.isLocked()&&M4a(a,b.j):N4a(a,b)?O4a(a,b.B,b.j):a.videoInfos=a.G;a.B=b}; N4a=function(a,b){return a.Oh.OB?!0:"l"===b.reason||"b"===b.reason||"o"===b.reason}; Q4a=function(a,b){return b.isLocked()&&a.j.C||void 0===a.B?!1:b.equals(a.B)}; M4a=function(a,b){var c=a.j.j;if(c){var d=g.zb(a.videoInfos,function(e){return e.id===c}); d&&d.video.j===b?a.videoInfos=[d]:(O4a(a,b,b),pZ(a.j,""));a.j.C=!1}else O4a(a,b,b)}; O4a=function(a,b,c){a.videoInfos=a.G;a.videoInfos=g.Zs(a.videoInfos,function(d){return d.video.j>=b&&d.video.j<=c})}; K4a=function(a){var b=g.zb(a.Z,function(c){var d;return!(null==(d=c.Oc)||!d.isDefault)}); b&&(a.C=[b])}; R4a=function(a,b){return a.map(function(c){return WK(c,b)})}; S4a=function(a){var b;if(null==(b=a.B)?0:b.isLocked())return a.videoInfos;var c=oZ(a.j);b=g.Zs(a.videoInfos,function(d){return!c.has(d.id)}); X1a(a.j)&&(b=g.Zs(b,function(d){return 854>=d.video.width&&480>=d.video.height})); return b}; n_=function(a){this.B={};this.logger=new g.WX(a)}; T4a=function(a){return a.itag+";"+(a.lmt||0)+";"+(a.xtags||"")}; o_=function(a,b){JZ.call(this,a,b);this.Ka=!0;this.ma=!1;this.Na=this.Y=0}; W4a=function(a){var b=NK[a],c=U4a[b],d=V4a[a];if(!d||!c)return null;var e=new LK(d.width,d.height,d.fps);c=VNa(c,e,b);return new OK(a,c,{video:e,Sb:d.bitrate/8})}; Y4a=function(a){var b=U4a[NK[a]],c=X4a[a];return c&&b?new OK(a,b,{audio:new JK(c.audioSampleRate,c.numChannels)}):null}; $4a=function(a,b){var c=[];b=g.v(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=Z4a[d]||0;a.j&&e>a.j||c.push(d)}return c}; d5a=function(a,b,c){b.push.apply(b,g.ra(a5a[a]||[]));c.L("html5_early_media_for_drm")&&(c.L("html5_add_drm_formats_to_test_format")?b.push.apply(b,g.ra(b5a[a]||[])):b.push.apply(b,g.ra(c5a[a]||[])))}; l5a=function(a,b){var c=rT(a),d=a.U().G;if(p_&&!d.j)return p_;var e=[],f=[],h={},l=[].concat(g.ra(e5a));a.L("html5_early_media_for_drm")&&(a.L("html5_add_drm_formats_to_test_format")&&(l.push(f5a),l.push(g5a),l.push(h5a),l.push(i5a)),a.L("allow_vp9_1080p_mq_enc")&&l.push(j5a));var m=[].concat(g.ra(k5a));c.Z&&(m[0]=["141"]);l=g.v(l);for(var n=l.next();!n.done;n=l.next()){var p=!1;n=g.v(n.value);for(var q=n.next();!q.done;q=n.next()){q=q.value;var r=W4a(q);if(r&&r.video&&!(QK(r)&&!c.Fa&&r.video.j>c.Ii)){var t= g.rJ(a.U().experiments,"html5_drm_live_byterate_soft_cap");0t||(p?(e.push(q),d5a(q,e,a)):(r=KP(c,r,d),!0===r?(p=!0,e.push(q),d5a(q,e,a)):h[q]=r))}}}m=g.v(m);for(l=m.next();!l.done;l=m.next())for(l=g.v(l.value),q=l.next();!q.done;q=l.next())if(p=q.value,(n=Y4a(p))&&n.audio&&(a.L("html5_onesie_51_audio")||!RK(n)&&!SK(n)))if(n=KP(c,n,d),!0===n){f.push(p);d5a(p,f,a);break}else h[p]=n;c.B&&b("orfmts",h);p_={video:e,audio:f};d.j=!1;return p_}; n5a=function(a){return{Q_:GO(a,1,m5a),Aba:DO(a,2)}}; o5a=function(a){return{VI:AO(a,1)}}; m5a=function(a){return{clipId:DO(a,1),Xr:EO(a,2,p5a),OP:EO(a,3,o5a)}}; p5a=function(a){return{N0:DO(a,1),BZ:AO(a,2),J7:AO(a,3),YX:AO(a,4),ZX:AO(a,5),CZ:AO(a,6)}}; q5a=function(a){return{type:AO(a,1),scope:AO(a,2),value:CO(a,3),sendByDefault:BO(a,4)}}; r5a=function(a){n_.call(this,"sabr");this.Lb=a}; q_=function(a,b,c,d,e,f,h){g.J.call(this);this.policy=a;this.info=b;this.manifest=c;this.Lb=e;this.logger=new g.WX("sabr");this.yk=new OZ(this);this.Zaa=new r5a(this);this.rg=new ZX(this);this.state=1;this.b_=!1;this.qR=0;this.clipId="";this.policy.oy?this.Xe=new o_(this,f):this.Xe=new MZ(this,f);e=this.policy;e=TMa(b.resource,s5a(b,e,d),e);b.ew()&&e.set("probe","1");this.qe=e;this.qe.set("rn",""+this.ot());B_a(this.rg,c,a);this.Gd=new QZ(this,this.policy,this.qe,b.resource,this.Xe,this.logger,d, h,this.policy.enableServerDrivenRequestCancellation);E3a(this.Gd);a={method:"POST"};a.body=b.B;try{this.xhr=D3a(this.qe,this.policy.N,this.Xe,CR,a),this.Gd.B.start()}catch(l){g.BF(l)}}; t5a=function(a,b){var c=-1,d=-1,e=-1,f;if(null==(f=a.pR)?0:f.items)for(a=g.v(a.pR.items),f=a.next();!f.done;f=a.next())f=f.value,bt)&&!0===KP(f,r,l)){m.push({B0:u5a[NK[q]],maxWidth:r.video.width,maxHeight:r.video.height,maxFramerate:r.video.fps});break}}}}h=g.v(h);for(n= h.next();!n.done;n=h.next())for(n=g.v(n.value),q=n.next();!q.done;q=n.next())if(p=q.value,(q=Y4a(p))&&q.audio&&(d.L("html5_onesie_51_audio")||!RK(q)&&!SK(q))&&!0===KP(f,q,l)){e.push({audioCodec:v5a[NK[p]],numChannels:q.audio.numChannels});break}b.mediaCapabilities={gL:m,MG:e}}var u;if(null==(u=a.Oh)?0:u.j&&u.dc){u=d.G;l=[];m=[];if((e=u.D)&&0h.xw&&(h.xw=n))}l.push(h)}}b.mediaCapabilities={gL:l,MG:m,d7:3}}var x,B;if((null==(x=a.Oh)?0:x.j&&x.Ia.L("html5_enable_sabr_hybrid_codec"))||(null==(B=a.Oh)?0:B.j&&B.dc)){b.Vn=f.Vn;var F;b.Ii=d.L("html5_sabr_update_av1_hybrid_threshold")?null==(F=a.Oh)?void 0:F.Ii:f.Ii}d.L("html5_prefer_drc")&& (b.u5=!0);b.RQ=a.SC;a.jr&&(b.Uba=(0,g.vD)()-a.jr);a.isPrefetch&&d.L("html5_report_prefetch_requests")&&(b.isPrefetch=!0);CR||(b.c8=!0);d=1E3*RR(d.schedule);0a.Cw&&(b.Cw=a.Cw);c=c.getPlaybackRate();1!==c&&(b.playbackRate=c);var H;(null==(H=a.Oh)?0:H.ob)&&a.Yp&&(b.ev=a.ev,b.qx=a.qx,b.Yp=a.Yp);return b}; z5a=function(a,b,c,d){b={playbackCookie:null==b?void 0:b.playbackCookie};d&&(b.dR=d);b.bL=[];if(g.OT(a)&&0a;a++)v_[a]=255>=a?9:7;H5a.length=32;H5a.fill(5);w_.length=286;w_.fill(0);for(a=261;285>a;a++)w_[a]=Math.floor((a-261)/4);x_[257]=3;for(a=258;285>a;a++){var b=x_[a-1];b+=1<a;a++)I5a[a]=3>=a?0:Math.floor((a-2)/2);for(a=y_[0]=1;30>a;a++)b=y_[a-1],b+=1<a.output.length&&(a.output=new Uint8Array(2*a.C),a.C=0,a.B=0,a.D=!1,a.j=0,a.register=0)}a.output.length!==a.C&&(a.output=a.output.subarray(0,a.C));return a.error?new Uint8Array(0):a.output}; N5a=function(a,b,c){b=L5a(b);c=L5a(c);for(var d=a.data,e=a.output,f=a.C,h=a.register,l=a.j,m=a.B;;){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.B=m,256a.j){var c=a.data,d=a.B;d>c.length&&(a.error=!0);a.register|=(c[d+1]<<8)+c[d]<>4;for(O5a(a,7);0>c;)c=b[z_(a,1)-c];return c>>4}; z_=function(a,b){for(;a.j=a.data.length)return a.error=!0,0;a.register|=a.data[a.B++]<>=b;a.j-=b;return c}; O5a=function(a,b){a.j-=b;a.register>>=b}; L5a=function(a){for(var b=[],c=g.v(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}; R5a=function(a,b){var c,d,e,f,h,l,m,n,p,q,r,t;return g.I(function(u){switch(u.j){case 1:if(b)try{c=b.exports.malloc(a.length);(new Uint8Array(b.exports.memory.buffer,c,a.length)).set(a);d=b.exports.getInflatedSize(c,a.length);e=b.exports.malloc(d);if(f=eO.wm(b.j?"gza":"gzw",function(){return b.exports.inflateGzip(c,a.length,e)}))throw Error("inflateGzip="+f); h=new Uint8Array(d);h.set(new Uint8Array(b.exports.memory.buffer,e,d));b.exports.free(e);b.exports.free(c);return u.return(h)}catch(x){g.AF(x),b.reload()}if(!("DecompressionStream"in window))return eO.isActive()?u.return(eO.wm("gzj",function(){return g.P5a(new g.J5a(a))})):u.return(g.P5a(new g.J5a(a))); l=new DecompressionStream("gzip");m=l.writable.getWriter();m.write(a);m.close();n=l.readable.getReader();p=new lO([]);if(eO.isActive())return u.return(eO.wm("gzn",function(){var x,B,F;return g.I(function(G){if(1==G.j)return g.y(G,n.read(),5);if(4!=G.j){x=G.B;B=x.value;if(F=x.done)return G.La(4);p.append(B);return G.La(1)}return G.return(oO(p))})})); case 2:return g.y(u,n.read(),5);case 5:q=u.B;r=q.value;if(t=q.done){u.La(4);break}p.append(r);u.La(2);break;case 4:return u.return(oO(p))}})}; S5a=function(a){n_.call(this,"onesie");this.ud=a;this.j={};this.D=!0;this.C=null;this.queue=new G5a(this);this.G={}}; T5a=function(a){var b=a.queue;b.j.length&&b.j[0].isEncrypted&&!b.B&&(b.j.length=0);b=g.v(Object.keys(a.j));for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=a.j[c];if(!d.dX){var e=a.queue;e.j.push({videoId:d.videoId,formatId:c,isEncrypted:!1});e.B||u_(e)}}}; V5a=function(a,b){var c=b.getLength(),d=!1;switch(a.C){case 0:a.rQ(b,a.D).then(function(f){var h=a.ud;h.Nd("oprr");h.playerResponse=f;h.yP||(h.sF=!1);A_(h)},function(f){a.ud.fail(f)}); break;case 2:a.Nd("ormk");b=oO(b);var e;a.queue.decrypt(b,!U5a(a.ud),null==(e=a.ud.U())?void 0:e.Za);break;default:d=!0}a.ud.jm&&a.ud.va("ombup","id.11;pt."+a.C+";len."+c+(d?";ignored.1":""));a.C=null}; W5a=function(a){return new Promise(function(b){setTimeout(b,a)})}; X5a=function(a,b){var c=DR(b.W.experiments,"debug_bandaid_hostname");if(c)b=TX(b,c);else{var d;b=null==(d=b.j.get(0))?void 0:d.location.clone()}if((d=b)&&a.videoId){b=JR(a.videoId);a=[];if(b)for(b=g.v(b),c=b.next();!c.done;c=b.next())a.push(c.value.toString(16).padStart(2,"0"));d.set("id",a.join(""));return d}}; Y5a=function(a,b,c){c=void 0===c?0:c;var d,e;return g.I(function(f){if(1==f.j)return d=[],d.push(b.load()),0d;d=f>d;if((!h||!d)&&a.policy.B&&a.policy.Df){var l=a.Ba.pc();l.car=e;l.vac=f;l.mar=c;l.mvr=b;l.tar=a.B.targetAudioReadaheadMs;l.tvr=a.B.targetVideoReadaheadMs;a.Ba.va("sabrrnm",l)}return!h||!d}; l6a=function(a,b,c){var d={wd:a.wd,Yw:function(f,h){a.ra.jF(f,h)}, fp:a.policy.Of,AN:a.policy.B},e=s5a(b,a.policy,a.D)?2:1;e!==a.G&&(a.G=e,o6a(a));c=n6a(a,c);A5a(b,c,a.Ba.Mk());b=new q_(a.policy,b,a.manifest,a.D,a,d,a.Ba.zz());gZ(a.timing);return b}; q6a=function(a,b){if(!b.isDisposed()&&!a.isDisposed()){if(a.policy.B&&b.isComplete()&&b instanceof q_){var c=a.Ba,d=c.va;var e=Object.assign(b.Xe.ys(),{rst:b.state,strm:b.xhr.BB(),d:n3a(b.Xe),cncl:b.xhr&&b.Gd.C?1:0});e=Object.assign(C5a(b.info),e);d.call(c,"rqs",e)}if(b.isComplete()&&b.ew())b.dispose();else{if(b.FX())o6a(a),p6a(a);else if(b.En())a.vt(b);else{if(a.Ba.isSuspended&&!b.isComplete())return;p6a(a)}b.isDisposed()||b instanceof C_||(b.isComplete()?c=A4a(b,a.policy,a.D):(c=z4a(b,a.policy, a.D),1===c&&(a.Y=!0)),0!==c&&(b=new r_(1,b.info.resource),b.j=2===c,l6a(a,b)))}}a.Ba.Af()}; p6a=function(a){for(;a.j.length&&a.j[0].jX(a.Ue());){var b=a.j.shift();r6a(a,b)}a.j.length&&r6a(a,a.j[0])}; r6a=function(a,b){if(a.policy.Za){var c=new Set(b.Hq(a.Ue()));c=g.v(c);for(var d=c.next();!d.done;d=c.next()){var e=d.value;if(!(d=!(b instanceof C_))){var f=a.C,h=f.manifest.Cc;d=R4a(f.C,h);f=R4a(f.videoInfos,h);d=d.includes(e)||f.includes(e)}if(d&&b.il(e,a.Ue())){d=b.vk(e,a.Ue());e=b.un(e,a.Ue());if(a.policy.D&&(f=e[0].j.info,(h=a.Ba.Mk())&&f)){var l=b.mW();l!==h.ra.getVideoData().clientPlaybackNonce&&(h=oY(h.timeline,l))&&(h=h[0].getVideoData())&&(f.di()?h.D=f:h.B=f)}d=g.v(d);for(h=d.next();!h.done;h= d.next()){f=h.value;a.policy.B&&b instanceof C_&&a.Ba.va("omblss",{s:f.info.Sd()});h=f.info.j.info.di();if(!EV(a.policy))if(l=f.info.j,h){var m=a.C;l!==m.D&&(m.D=l,m.GA(l,m.audioTrack))}else m=a.C,l!==m.K&&(m.K=l,m.GA(l,m.videoTrack));l=h?a.audioTrack:a.videoTrack;b instanceof C_&&(l.N=!1,b instanceof C_&&(h?K1a(a.timing):J1a(a.timing)));YZ(l,e,f)}}}}else for(e=b.lW()||uZ(a.N),c=new Set(b.Hq(a.Ue())),a.policy.D?d=c:d=[(null==(f=e.video)?void 0:WK(f.info,a.manifest.Cc))||"",(null==(h=e.audio)?void 0: WK(h.info,a.manifest.Cc))||""],e=g.v(d),d=e.next();!d.done;d=e.next())if(d=d.value,c.has(d)&&b.il(d,a.Ue()))for(f=b.vk(d,a.Ue()),f=g.v(f),h=f.next();!h.done;h=f.next()){h=h.value;a.policy.B&&b instanceof C_&&a.Ba.va("omblss",{s:h.info.Sd()});l=b.un(d,a.Ue());var n=(m=h.info.j.info.di())?a.audioTrack:a.videoTrack;b instanceof C_&&(n.N=!1,b instanceof C_&&(m?K1a(a.timing):J1a(a.timing)));YZ(n,l,h)}}; s6a=function(a,b){for(var c=[],d=0;d=a.policy.jw,h=!1;if(f){var l=0;!isNaN(b)&&b>a.G&&(l=b-a.G,a.G=b);l/e=a.policy.mj&&!a.C;if(!f&&!c&&y6a(a,b))return NaN;c&&(a.C=!0);a:{d=h;c=(0,g.vD)()/1E3-(a.Uy.Oi()||0)-a.N.B-a.policy.rb;f=a.B.startTime;c=f+c;if(d){if(isNaN(b)){E_(a,NaN,"n",b);f=NaN;break a}d=b-a.policy.jj;d=f.C&&d<=f.D){d=!0;break a}d=!1}if(!d)return a.va("ostmf",{ct:a.currentTime,a:b.j.info.di()}),!1;a.policy.Hm&&null!=(a=a.Aa)&&(a.qd.get(c).FG=!0);return!0}; E6a=function(a){if(!a.manifest.Cc)return!0;var b=a.ra.getVideoData();if(b.L("html5_skip_live_preroll_onesie")&&G_(a.ra))return a.va("ombpa",{}),!1;var c,d;if(a.policy.gy&&!!(null==(c=a.ma)?0:null==(d=c.VX)?0:d.raa)!==a.manifest.le)return a.va("ombplmm",{}),!1;c=b.Db||b.liveUtcStartSeconds||b.jj;if(a.manifest.le&&c)return a.va("ombplst",{}),!1;if(a.manifest.qa)return a.va("ombab",{}),!1;c=Date.now();return pOa(a.manifest)&&!isNaN(a.Ea)&&c-a.Ea>1E3*a.policy.QA?(a.va("ombttl",{}),!1):a.manifest.nf&& a.manifest.C||!a.policy.wC&&a.manifest.isPremiere||tT(b)?!1:!0}; F6a=function(a,b){var c=b.j,d=a.manifest.Cc;if(E6a(a))if(a.Aa&&a.Aa.qd.has(WK(c.info,d))){if(d=WK(c.info,d),D6a(a,b)){var e=new NQ(a.Aa.un(d)),f=function(h){try{if(h.En())a.handleError(h.Og(),h.Iq()),d_(b,h),PQ(h.info)&&j_(a.D,b,c,!0),a.Af();else if(I4a(a.D,h)){var l;null==(l=a.C)||U1a(l,h.info,a.Y);a.Af()}}catch(m){h=HK(m),a.handleError(h.errorCode,h.details,h.severity),a.Jk()}}; c.C=!0;SMa(e)&&(d4a(b,new $Y(a.policy,d,e,a.Aa,f)),gZ(a.timing))}}else a.va("ombfmt",{})}; H_=function(a,b){b=b||a.videoTrack&&a.videoTrack.B&&a.videoTrack.B.startTime||a.currentTime;var c=k_,d=a.videoTrack,e=a.j;b=e.nextVideo&&e.nextVideo.index.Jh(b)||0;e.Fa!==b&&(e.Ka={},e.Fa=b,rZ(e,e.j));b=!e.j.isLocked()&&-1b.j&&"b"===b.reason;d||e||c?l_(a.ra,{reattachOnConstraint:d?"u":e?"drm":"perf",lo:b.B,up:b.j}):K_(a)}}else if(!d2a(a.j,b)&&a.videoTrack){a.logger.debug(function(){return"Setting constraint: r="+b.reason+" u="+b.j}); c=a.j.j;L6a(a,f2a(a.j,b));H_(a);d=b.isLocked()&&"m"===b.reason&&a.j.Aa;e=a.policy.Pe&&"l"===b.reason&&f_(a.videoTrack);c=c.j>b.j&&"b"===b.reason;var f=a.j.Za&&!oL();d||e||c||f?l_(a.ra,{reattachOnConstraint:d?"u":e?"drm":f?"codec":"perf"}):K_(a)}}; N6a=function(a,b,c){if((!a.Ua||sL(a.Ua)&&!a.policy.Em)&&!a.B.Yf()&&(CV(a.policy)||f_(b)&&b.j.og()&&a.j.qa)){var d=a.currentTime+z1a(a.Z,b,c);a.logger.debug(function(){return"Clearing back to "+d.toFixed(3)}); m4a(b,d)}}; L6a=function(a,b){b&&(a.logger.debug(function(){return"Logging new format: "+$K(b.video.info)}),O6a(a.ra,new lZ(b.video,b.reason))); if(a.j.Ya){var c=uZ(a.j,"a");a.ra.Fw(new lZ(c.audio,c.reason))}}; K_=function(a){g.Cu(a.rb)}; P6a=function(a,b){var c=(0,g.vD)()-b,d=1E3*b_(a.audioTrack,!0),e=1E3*b_(a.videoTrack,!0);a.logger.debug(function(){return"Appends paused for "+c}); if(a.policy.B&&(a.va("apdpe",{dur:c.toFixed(),abuf:d.toFixed(),vbuf:e.toFixed()}),DV(a.policy))){var f=YY(a.Z);a.va("sdps",{ct:b,ah:d.toFixed(),vh:e.toFixed(),mr:A1a(a.Z,a.Zq,f),bw:f.toFixed(),js:a.Yf(),re:+a.Zq,ps:(a.policy.jG||"").toString(),rn:(a.policy.hG||"").toString()})}}; Q6a=function(a){var b=a.policy;if(b.D&&b.Ia.L("html5_pause_ssap_append_on_nonvideo")&&(x4a(a.videoTrack)||x4a(a.audioTrack)))return"ssap";if(v4a(a.videoTrack))return a.logger.debug("Pausing appends for server-selectable format"),"ssf";if(a.policy.Om||e_(a.audioTrack)||e_(a.videoTrack)&&"f"!==a.videoTrack.j.info.ub)return"";if(a.B.Yf()){var c=a.Z;b=a.videoTrack;var d=a.audioTrack;if(c.policy.j){var e=c.policy.pd;DV(c.policy)&&(e=A1a(c,!1,YY(c)));c=e;b=b_(d,!0)>=c&&b_(b,!0)>=c}else b.C.length||d.C.length? (e=b.j.info.Sb+d.j.info.Sb,e=10*(1-YY(c)/e),c=Math.max(e,c.policy.pd),b=b_(d,!0)>=c&&b_(b,!0)>=c):b=!0;if(!b)return"abr";b=a.videoTrack;if(0a.currentTime||360r4a(f.Z))return a.B.Yf()&&K_(a),!1;S6a(a,b,c,d.info);if(a.manifest.B&&0===d.info.Yb){if(e=T6a(b,c,d))f=XZ(b),a.va("initchg",{it:d.info.j.info.id,sr:!!f&&f.j===d.info.j,ty:d.info.type,seg:d.info.Oa});f=g.TK(d.info.j.info);a.policy.Nb&&f&&!e&&zNa(d)}e= a.K&&!!a.K.D&&b.j.info.audio;f=a.manifest.isManifestless||d.C;if(!(a.manifest.B&&0!==d.info.Yb||f&&!e)&&U6a(a,c,d))return!0;if(e)return!1;e=i_(a,b);if(d.info.C>a.currentTime+e)return a.policy.j&&!a.Fa&&(a.Fa=(0,g.vD)()),!1;a.Fa&&(a.Fa=0);var h;a.policy.jc&&c===(null==(h=a.Ua)?void 0:h.j)&&a.Va&&(0===c.gI()?(a.Va=!1,a.policy.jc=!1):a.Ya=c.gI());if(!V6a(a,c,d))return!1;b.nu(d);i2a(a.j,d.info);a.logger.debug(function(){return"Appended "+d.info.Sd()+", buffered: "+fL(c.uf())}); return!0}; V6a=function(a,b,c){var d=a.policy.Ea?(0,g.vD)():0,e=c.C?c.info.j.j:null,f=c.j;c.C&&(f=X6a(a,c,f)||f);var h=oO(f);f=a.policy.Ea?(0,g.vD)():0;e=Y6a(a,b,h,c.info,e);a.policy.Ea&&(!c.info.Yb||c.info.df||10>c.info.C)&&(b=b.pc({as:c.info.Sd(),pdur:Math.round(f-d),adur:Math.round((0,g.vD)()-f)}),b.omt=(a.getCurrentTime()+a.Rc()).toFixed(3),b.to=a.Rc(),a.va("sba",b));if("s"===e)return a.Ka&&(a.logger.debug("Retry succeed, back to normal append logic."),a.Ka=!1,a.ob=!1),a.gb=0,!0;if("i"===e||"x"===e)return Z6a(a, "checked",e,c.info),!1;if("q"===e){if(!a.Ka)return a.logger.debug("QuotaExceeded, retrying."),a.Ka=!0,!1;if(a.policy.YB&&!a.ob)return a.ob=!0,a.ra.seekTo(a.currentTime,{xd:"quotaExceeded",zq:!0}),!1;c.info.fh()?(b=a.policy,b.ma=Math.floor(.8*b.ma),b.Hc=Math.floor(.8*b.Hc),b.Y=Math.floor(.8*b.Y)):(b=a.policy,b.Sa=Math.floor(.8*b.Sa),b.Y=Math.floor(.8*b.Y));CV(a.policy)?nZ(a.G.j,c.info.j,!1):tZ(a.j,c.info.j)}l_(a.ra,{reattachOnAppend:e});return!1}; X6a=function(a,b,c){var d;if(d=a.policy.ip&&a.Ua&&!a.Ua.Z&&!a.ra.wH())b=b.info.j.info,d=b.Me()&&PK(b)&&b.video&&3840>b.video.width&&b.video.width>b.video.height;if(d&&(a.Ua.Z=!0,dL('video/webm; codecs="vp09.00.50.08.01.01.01.01.00"; width=3840; height=2160')))return c=Q2a(c),a.policy.B&&a.va("sp4k",{s:!!c}),c}; Z6a=function(a,b,c,d){var e="fmt.unplayable",f=1;"x"===c||"m"===c?(e="fmt.unparseable",CV(a.policy)?!d.j.info.video||0a.gb?(a.gb++,e="html5.invalidstate",f=0):e="fmt.unplayable");d=MQ(d);var h;d.mrs=null==(h=a.Ua)?void 0:wL(h);d.origin=b;d.reason=c;a.handleError(e,d,f)}; h3a=function(a,b,c,d,e){var f=a.manifest;var h=!1,l=-1;for(p in f.j){var m=YK(f.j[p].info.mimeType)||f.j[p].info.fh();if(d===m)if(m=f.j[p].index,m.Dp(b.Oa)){if(!f.Sa){h=b;var n=m.Zm(h.Oa);n&&n.startTime!==h.startTime?(m.segments=[],m.PL(h),h=!0):h=!1}h&&(l=b.Oa)}else m.PL(b),h=!0}if(0<=l){var p={};f.oa("clienttemp","resetMflIndex",(p[d?"v":"a"]=l,p),!1)}f=h;H1a(a.B,b,d,f);a.C.oQ(b,c,d,e);b.Oa===a.manifest.nf&&f&&lR(a.manifest)&&b.startTime>lR(a.manifest)&&(a.manifest.Jb=b.startTime+(isNaN(a.timestampOffset)? 0:a.timestampOffset),a.B.Yf()&&a.B.j=b&&C6a(a,d.startTime,!1)}); return c&&c.startTimea.getCurrentTime())return c.start/1E3;return Infinity}; g.M_=function(a){this.Xc=a}; N_=function(){g.TF.apply(this,arguments)}; O_=function(a,b,c,d){N_.call(this);var e=this;this.C=-1;this.j={};this.D=new g.Bu(this.G,0,this);g.L(this,this.D);this.B=new g.Bu(function(){e.isDisposed()||(e.D.start(Math.random()*c),e.B.start(b))},a,this); g.L(this,this.B);d.subscribe("fairplay_next_need_key_info",this.K,this)}; f7a=function(a){if(!(28>=a.length))for(var b=(0,g.VZ)([60,0,75,0,73,0,68,0,62,0]),c=28;cd;++d)b[d]=a[c+2*d];a=sO(b);a=ug(a);if(!a)break;c=a[0];a[0]=a[3];a[3]=c;c=a[1];a[1]=a[2];a[2]=c;c=a[4];a[4]=a[5];a[5]=c;c=a[6];a[6]=a[7];a[7]=c;return a}c++}}; P_=function(a,b){N_.call(this);var c=this;this.C=a;this.j=[];this.B=new g.Bu(function(){c.oa("log_qoe",{wvagt:"timer",reqlen:c.j?c.j.length:-1});if(c.j){if(0d;d++)c[2*d]=''.charCodeAt(d);a=a.C.createSession("video/mp4",b,c);return new S_(null,null,null,null,a)}; N7a=function(a,b){var c=a.K[b.sessionId];!c&&a.D&&(c=a.D,a.D=null,c.sessionId=b.sessionId,a.K[b.sessionId]=c);return c}; K7a=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=c&&(a=.75*c),b=.5*(c-a),c=new O_(b,c,c-b-a,this)):c=null;break a;case "widevine":c=new P_(c,this);break a;default:c=null}if(this.G=c)g.L(this,this.G),this.G.subscribe("rotated_need_key_info_ready",this.aV,this),this.G.subscribe("log_qoe",this.bj,this);uOa(this.W.experiments);this.bj({cks:this.j.Ih()})}; P7a=function(a){var b=a.D.HM();b?b.then(VO(function(){R7a(a)}),VO(function(c){if(!a.isDisposed()){g.AF(c); var d="t.a";c instanceof DOMException&&(d+=";n."+c.name+";m."+c.message);a.oa("licenseerror","drm.unavailable",1,d,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}})):(a.bj({mdkrdy:1}),a.Y=!0); a.ma&&(b=a.ma.HM())}; T7a=function(a,b,c){a.Sa=!0;c=new BZ(b,c);a.W.L("html5_eme_loader_sync")&&(a.K.get(b)||a.K.set(b,c));S7a(a,c)}; S7a=function(a,b){if(!a.isDisposed()){a.bj({onInitData:1});if(a.W.L("html5_eme_loader_sync")&&a.videoData.C&&a.videoData.C.j){var c=a.N.get(b.initData);b=a.K.get(b.initData);if(!c||!b)return;b=c;c=b.initData;a.K.remove(c);a.N.remove(c)}a.bj({initd:b.initData.length,ct:b.contentType});if("widevine"===a.j.flavor)if(a.Fa&&!a.videoData.isLivePlayback)V_(a);else{if(!(a.W.L("vp9_drm_live")&&a.videoData.isLivePlayback&&b.Me)){a.Fa=!0;c=b.cryptoPeriodIndex;var d=b.j;K2a(b);b.Me||(d&&b.j!==d?a.oa("ctmp","cpsmm", {emsg:d,pssh:b.j}):c&&b.cryptoPeriodIndex!==c&&a.oa("ctmp","cpimm",{emsg:c,pssh:b.cryptoPeriodIndex}));a.oa("widevine_set_need_key_info",b)}}else a.aV(b)}}; R7a=function(a){if(!a.isDisposed())if(a.W.L("html5_drm_set_server_cert")&&!g.CJ(a.W)||vR(a.j)){var b=a.D.setServerCertificate();b?b.then(VO(function(c){a.W.Nc()&&a.oa("ctmp","ssc",{success:c})}),VO(function(c){a.oa("ctmp","ssce",{n:c.name, m:c.message})})).then(VO(function(){U7a(a)})):U7a(a)}else U7a(a)}; U7a=function(a){a.isDisposed()||(a.Y=!0,a.bj({onmdkrdy:1}),V_(a))}; V7a=function(a){return"widevine"===a.j.flavor&&a.videoData.L("html5_drm_cpi_license_key")}; V_=function(a){if((a.Sa||a.W.L("html5_widevine_use_fake_pssh"))&&a.Y&&!a.Ea){for(;a.C.length;){var b=a.C[0],c=V7a(a)?L2a(b):g.sg(b.initData);if(vR(a.j)&&!b.B)a.C.shift();else{if(a.B.get(c))if("fairplay"!==a.j.flavor||vR(a.j)){a.C.shift();continue}else a.B.delete(c);K2a(b);break}}a.C.length&&a.createSession(a.C[0])}}; W7a=function(a){var b;if(b=g.iC()){var c;b=!(null==(c=a.D.B)||!c.getMetrics)}b&&(b=a.D.getMetrics())&&(b=g.uO(b),a.oa("ctmp","drm",{metrics:b}))}; X7a=function(a){g.J.call(this);var b=this;this.ra=a;this.Ia=this.ra.U();this.videoData=this.ra.getVideoData();this.kE=0;this.G=this.B=!1;this.D=0;this.C=g.rJ(this.Ia.experiments,"html5_delayed_retry_count");this.j=new g.Bu(function(){W_(b.ra)},g.rJ(this.Ia.experiments,"html5_delayed_retry_delay_ms")); g.L(this,this.j)}; b8a=function(a,b,c){var d=a.videoData.B,e=a.videoData.D;if(("progressive.net.retryexhausted"===b||"fmt.unplayable"===b||"fmt.decode"===b)&&!a.ra.bl.D&&d&&"22"===d.itag)return a.ra.bl.D=!0,a.me("qoe.restart",{reason:"fmt.unplayable.22"}),Y7a(a.ra),!0;var f=!1;if(a.videoData.isExternallyHostedPodcast){if(f=a.videoData.o8)c.mimeType=f.type,a.va("3pp",{url:f.url});c.ns="3pp";a.ra.zg(b,1,"VIDEO_UNAVAILABLE",EK((new FK(b,c,1)).details));return!0}var h=a.kE+3E4<(0,g.vD)()||a.j.isActive();if(a.Ia.L("html5_empty_src")&& a.videoData.isAd()&&"fmt.unplayable"===b&&/Empty src/.test(""+c.msg))return c.origin="emptysrc",a.me("auth",c),!0;h||RTa(a.ra.xn())||(c.nonfg="paused",h=!0,a.ra.pauseVideo());("fmt.decode"===b||"fmt.unplayable"===b)&&(null==e?0:RK(e)||SK(e))&&(ROa(a.Ia.G,e.ub),c.acfallexp=e.ub,f=h=!0);!h&&0=a.Ia.dc)return!1;b.exiled=""+a.Ia.dc;a.me("qoe.start15s",b);a.ra.oa("playbackstalledatstart");return!0}; $7a=function(a){return a.B?!0:"yt"===a.Ia.Ea?a.videoData.Sa?25>a.videoData.Nb:!a.videoData.Nb:!1}; a8a=function(a){if(!a.B){a.B=!0;var b=a.ra.getPlayerState();b=b.isPaused()||b.isSuspended();a.ra.Zn();b&&!NT(a.videoData)||a.ra.oa("signatureexpired")}}; c8a=function(a,b){if((a=a.ra.kf())&&("fmt.unplayable"===b.errorCode||"html5.invalidstate"===b.errorCode)){var c=a.Og();b.details.merr=c?c.toString():"0";b.details.mmsg=a.wf()}}; d8a=function(a){return"net.badstatus"===a.errorCode&&(1===a.severity||!!a.details.fmt_unav)}; e8a=function(a,b){return a.Ia.L("html5_use_network_error_code_enums")&&403===b.details.rc||"403"===b.details.rc?(a=b.errorCode,"net.badstatus"===a||"manifest.net.retryexhausted"===a):!1}; g8a=function(a,b){if(!e8a(a,b)&&!a.B)return!1;b.details.sts="19676";if($7a(a))return GK(b.severity)&&(b=Object.assign({e:b.errorCode},b.details),b=new FK("qoe.restart",b)),a.me(b.errorCode,b.details),a8a(a),!0;6048E5<(0,g.vD)()-a.Ia.Rf&&f8a(a,"signature");return!1}; f8a=function(a,b){try{window.location.reload(),a.me("qoe.restart",{detail:"pr."+b})}catch(c){}}; h8a=function(a,b){var c=a.Ia.G;c.K=!1;c.j=!0;a.me("qoe.restart",{e:void 0===b?"fmt.noneavailable":b,detail:"hdr"});W_(a.ra,!0)}; i8a=function(a,b,c,d){this.videoData=a;this.j=b;this.reason=c;this.B=d}; j8a=function(a,b,c){this.W=a;this.IF=b;this.ra=c;this.N=this.G=this.j=this.C=this.K=this.B=0;this.D=!1;this.Z=g.rJ(this.W.experiments,"html5_displayed_frame_rate_downgrade_threshold")||45}; l8a=function(a,b,c){!a.W.L("html5_tv_ignore_capable_constraint")&&g.CJ(a.W)&&(c=c.compose(k8a(a,b)));return c}; n8a=function(a,b){var c,d=m8a(a,null==(c=b.j)?void 0:c.videoInfos);c=a.ra.getPlaybackRate();return 1(0,g.vD)()-a.C?0:f||0a.Z||!e||g.CJ(a.W))return!1;a.j=(60e?a.j+1:0;if(3!==a.j)return!1;q8a(a,b.videoData.B);a.ra.va("dfd",Object.assign({dr:c.droppedVideoFrames,de:c.totalVideoFrames},s8a()));return!0}; q8a=function(a,b){var c=b.ub,d=b.video.fps;b=b.video.j-1;var e=yP();c=rLa(c,d);0<+e[c]&&(b=Math.min(+e[c],b));e[c]!==b&&(e[c]=b,g.NC("yt-player-performance-cap",e,604800));a.ra.po()}; u8a=function(a,b){if(!b.j.j)return a.D?new BP(0,360,!1,"b"):$S;for(var c=!1,d=!1,e=g.v(b.j.videoInfos),f=e.next();!f.done;f=e.next())QK(f.value)?c=!0:d=!0;d=c&&d;c=0;f=g.rJ(a.W.experiments,"html5_performance_cap_floor");e=a.W.B?240:f;var h=g.v(b.j.videoInfos);for(f=h.next();!f.done;f=h.next()){var l=f.value;if(!d||!QK(l))if(f=zP(l.ub,l.video.fps),l=l.video.j,Math.max(f,e)>=l){c=l;break}}b=b.j.videoInfos[0];if(a=a.L("html5_ps4_shorts_1080p_soft_cap")&&!g.gC("ps4 pro")&&Goa())a=b.video,a=1e?(c&&(d=w8a(a,c,d)),new BP(0,d,!1,"e")):$S}; w8a=function(a,b,c){if(a.L("html5_optimality_defaults_chooses_next_higher")&&c)for(a=b.j.videoInfos,b=1;ba.B)){var b=g.tN(a.provider),c=b-a.D;a.D=b;8===a.playerState.state?a.playTimeSecs+=c:g.HL(a.playerState)&&!g.JG(a.playerState,16)&&(a.rebufferTimeSecs+=c)}}; B8a=function(a){var b;switch(null==(b=a.W.playerCanaryStage)?void 0:b.toLowerCase()){case "xsmall":return"HTML5_PLAYER_CANARY_STAGE_XSMALL";case "small":return"HTML5_PLAYER_CANARY_STAGE_SMALL";case "medium":return"HTML5_PLAYER_CANARY_STAGE_MEDIUM";case "large":return"HTML5_PLAYER_CANARY_STAGE_LARGE";default:return"HTML5_PLAYER_CANARY_STAGE_UNSPECIFIED"}}; D8a=function(a,b){b?C8a.test(a):(a=g.JB(a),Object.keys(a).includes("cpn"))}; F8a=function(a,b,c,d,e,f,h){var l={format:"RAW"},m={};if(MB(a)&&NB()){if(h){var n;2!==(null==(n=E8a.uaChPolyfill)?void 0:n.state.type)?h=null:(h=E8a.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.yB("EOM_VISITOR_DATA"))?m["X-Goog-EOM-Visitor-Id"]=h:d?m["X-Goog-Visitor-Id"]= d:g.yB("VISITOR_DATA")&&(m["X-Goog-Visitor-Id"]=g.yB("VISITOR_DATA"));c&&(m["X-Goog-PageId"]=c);(d=b.qa)&&!pS(b)&&(m["X-Goog-AuthUser"]=d);b.experiments.jb("enable_eom_webview_header")&&g.yB("WEBVIEW_EOM",!1)&&(m["X-Yt-Webview-Eom"]="1");e&&(m.Authorization="Bearer "+e);h||m["X-Goog-Visitor-Id"]||e||c||d?l.withCredentials=!0:b.L("html5_send_cpn_with_options")&&C8a.test(a)&&(l.withCredentials=!0)}0h;h++)f+="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(52*Math.random())];d.videoDecoderName=f;d.elapsedTimeMs=e;b.push(d)}return b}; J8a=function(a,b){KO(a,1,b.elapsedTimeMs);NO(a,3,b.videoDecoderName)}; K8a=function(a,b){NO(a,1,b.cpn);KO(a,2,b.sequenceNumber);NO(a,3,b.serializedWatchEndpointLoggingContext);var c;if(b.decoderInfo)for(c=0;ca.C.wY+100&&a.C){var d=a.C,e=d.isAd;c=1E3*c-d.wY;a.Sa=1E3*b-d.Xaa-c-d.Jaa;c=(0,g.vD)()-c;b=a.Sa;d=a.provider.videoData;var f=d.isAd();if(e||f){f=(e?"ad":"video")+"_to_"+(f?"ad":"video");var h={};d.G&&(h.cttAuthInfo={token:d.G,videoId:d.videoId});h.startTime=c-b;RH(f,h);g.QH({targetVideoId:d.videoId,targetCpn:d.clientPlaybackNonce},f);SH("pbs",c,f)}else c=a.provider.ra.ai(),c.K!==d.clientPlaybackNonce? (c.G=d.clientPlaybackNonce,c.B=b):g.pT(d)||g.BF(new g.VC("CSI timing logged before gllat",{cpn:d.clientPlaybackNonce}));a.va("gllat",{l:a.Sa.toFixed(),prev_ad:+e});delete a.C}}; O8a=function(a,b){b=void 0===b?NaN:b;b=0<=b?b:g.tN(a.provider);var c=a.provider.ra.HD(),d=c.Sr-(a.Ya||0);0a.j)&&2=a.provider.videoData.gb;return!!b}; l9a=function(a){a.provider.videoData.remarketingUrl&&!a.Fa&&(i0(a,a.provider.videoData.remarketingUrl),a.Fa=!0);a.provider.videoData.youtubeRemarketingUrl&&!a.Na&&(i0(a,a.provider.videoData.youtubeRemarketingUrl),a.Na=!0);a.provider.videoData.googleRemarketingUrl&&!a.Aa&&(i0(a,a.provider.videoData.googleRemarketingUrl),a.Aa=!0);a.provider.videoData.ppvRemarketingUrl&&!a.Ea&&(i0(a,a.provider.videoData.ppvRemarketingUrl),a.Ea=!0);a.GB()}; s9a=function(a){if(!a.isDisposed()&&a.B){a.K="paused";var b=k0(a);b.isFinal=!0;b.send();a.dispose()}}; t9a=function(a,b,c){if(!a.ma){c||(c=g0(a,"atr"));c.attestationResponse=b;try{c.send()}catch(d){if("Unknown Error"!==d.message)throw d;}a.ma=!0}}; i0=function(a,b){var c=a.provider.W;g.wS(a.provider.W,g.LT(a.provider.videoData)).then(function(d){var e=a.provider.W.pageId,f=a.provider.W.sendVisitorIdHeader?a.provider.videoData.visitorData:void 0,h=a.provider.W.L("vss_pings_using_networkless")||a.provider.W.L("kevlar_woffle"),l=a.provider.W.L("allow_skip_networkless");d=F8a(b,c,e,f,d);G8a(b,d,{token:a.provider.videoData.G,iS:a.provider.videoData.Gm,mdxEnvironment:a.provider.videoData.mdxEnvironment},c,void 0,h&&!l,!1,!0)})}; u9a=function(){this.endTime=this.startTime=-1;this.G="-";this.playbackRate=1;this.visibilityState=0;this.D="";this.B=0;this.compositeLiveStatusToken=this.C=void 0;this.volume=this.connectionType=0;this.muted=!1;this.j=this.clipId="-";this.previouslyEnded=!1}; l0=function(a,b,c){this.videoData=a;this.W=b;this.ra=c;this.j=void 0}; g.tN=function(a){return v9a(a)()}; v9a=function(a){if(!a.j){var b=g.gb(function(d){var e=(0,g.vD)();d&&631152E6>=e&&(a.ra.va("ytnerror",{issue:28799967,value:""+e}),e=(new Date).getTime()+2);return e},a.W.L("html5_validate_yt_now")),c=b(); a.j=function(){return Math.round(b()-c)/1E3}; a.ra.tQ()}return a.j}; p9a=function(a){var b=a.ra.Mq()||{};b.fs=a.ra.ZD();b.volume=a.ra.getVolume();b.muted=a.ra.isMuted()?1:0;b.mos=b.muted;b.inview=a.ra.xD();b.size=a.ra.oD();b.clipid=a.ra.oz();a=a.videoData;var c={};a.B&&(c.fmt=a.B.itag,a.D&&a.D.itag!=a.B.itag&&(c.afmt=a.D.itag));c.ei=a.eventId;c.list=a.playlistId;c.cpn=a.clientPlaybackNonce;a.videoId&&(c.v=a.videoId);a.ll&&(c.infringe=1);(a.Sf?0:a.Tg)&&(c.splay=1);var d=wT(a);d&&(c.live=d);a.aq&&(c.sautoplay=1);a.fl&&(c.autoplay=1);a.wy&&(c.sdetail=a.wy);a.Ea&&(c.partnerid= a.Ea);a.osid&&(c.osid=a.osid);a.YB&&(c.cc=g.WPa(a.YB));return Object.assign(b,c)}; M8a=function(a){if(navigator.connection&&navigator.connection.type)return w9a[navigator.connection.type]||w9a.other;if(g.CJ(a.W)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 30}return 0}; c0=function(a){var b=new u9a,c;b.G=(null==(c=p9a(a).cc)?void 0:c.toString())||"-";b.playbackRate=a.ra.getPlaybackRate();c=a.ra.getVisibilityState();0!==c&&(b.visibilityState=c);a.W.Jb&&(b.B=1);b.C=a.videoData.jw;b.compositeLiveStatusToken=a.videoData.compositeLiveStatusToken;c=a.ra.getAudioTrack();c.Oc&&c.Oc.id&&"und"!==c.Oc.id&&(b.D=c.Oc.id);b.connectionType=M8a(a);b.volume=a.ra.getVolume();b.muted=a.ra.isMuted();b.clipId=a.ra.oz()||"-";b.j=a.videoData.jU||"-";return b}; g.m0=function(a,b){g.J.call(this);var c=this;this.provider=a;this.C=new Map;this.Hd={iib:function(){return c.qoe}}; this.provider.videoData.Ee()&&!this.provider.videoData.Jl&&(this.j=new f0(this.provider),g.L(this,this.j),this.qoe=new g.$_(this.provider,b),g.L(this,this.qoe),this.provider.videoData.enableServerStitchedDai&&(this.Xg=this.provider.videoData.clientPlaybackNonce)&&this.C.set(this.Xg,this.j));if("canary"===a.W.playerCanaryState||"holdback"===a.W.playerCanaryState)this.B=new X_(this.provider),g.L(this,this.B)}; HY=function(a){a.B&&z8a(a.B);a.qoe&&X8a(a.qoe)}; x9a=function(a){if(a.qoe){a=a.qoe;a.provider.videoData.Mo&&a0(a,a.provider.videoData.Mo);if(a.provider.videoData.isLivePlayback){var b=a.provider.videoData.j;kT(a.provider.videoData)&&a0(a,"manifestless");b&&mR(b)&&a0(a,"live-segment-"+mR(b).toFixed(1))}jT(a.provider.videoData)&&a0(a,"sabr");a.provider.videoData.gatewayExperimentGroup&&(b=a.provider.videoData.gatewayExperimentGroup,"EXPERIMENT_GROUP_SPIKY_AD_BREAK_EXPERIMENT"===b?b="spkadtrt":"EXPERIMENT_GROUP_SPIKY_AD_BREAK_CONTROL"===b&&(b="spkadctrl"), a0(a,b));"yt"!==a.provider.W.Ea&&(a.j.len=[a.provider.videoData.lengthSeconds.toFixed(2)]);a.provider.videoData.cotn&&!NT(a.provider.videoData)&&a.gK(!0);a.provider.W.Nc()&&(b=F_a())&&a.va("cblt",{m:b});tT(a.provider.videoData)&&(a.provider.ra.getProximaLatencyPreference()?a0(a,"proximaui"):a0(a,"proximaexp"))}}; Q0a=function(a){a.j&&m9a(a.j);if(a.B){a=a.B;var b=g.tN(a.provider);0>a.j&&(a.j=b,a.delay.start());a.B=b;a.D=b}}; y9a=function(a){if(a.provider.videoData.enableServerStitchedDai&&a.Xg){var b;null!=(b=a.C.get(a.Xg))&&d0(b.j)}else a.j&&d0(a.j.j)}; R0a=function(a){a.B&&a.B.send();if(a.qoe){var b=a.qoe;if(b.K){"PL"===b.gf&&(b.gf="N");var c=g.tN(b.provider);g.Z_(b,c,"vps",[b.gf]);b.N||(0<=b.B&&(b.j.user_intent=[b.B.toString()]),b.N=!0);b.provider.W.Nc()&&b.va("finalized",{});b.Ka=!0;b.reportStats(c)}}if(a.provider.videoData.enableServerStitchedDai)for(b=g.v(a.C.values()),c=b.next();!c.done;c=b.next())s9a(c.value);else a.j&&s9a(a.j);a.dispose()}; z9a=function(a,b){a.j&&t9a(a.j,b)}; A9a=function(a){if(!a.j)return null;var b=g0(a.j,"atr");return function(c){a.j&&t9a(a.j,c,b)}}; B9a=function(a,b,c,d){c.adFormat=c.Df;var e=b.ra;b=new f0(new l0(c,b.W,{getDuration:function(){return c.lengthSeconds}, getCurrentTime:function(){return e.getCurrentTime()}, Ni:function(){return e.Ni()}, Mk:function(){return e.Mk()}, HD:function(){return e.HD()}, getPlayerSize:function(){return e.getPlayerSize()}, getAudioTrack:function(){return c.getAudioTrack()}, getPlaybackRate:function(){return e.getPlaybackRate()}, LD:function(){return e.LD()}, getVisibilityState:function(){return e.getVisibilityState()}, ai:function(){return e.ai()}, Mq:function(){return e.Mq()}, getVolume:function(){return e.getVolume()}, isMuted:function(){return e.isMuted()}, ZD:function(){return e.ZD()}, oz:function(){return e.oz()}, xD:function(){return e.xD()}, oD:function(){return e.oD()}, getProximaLatencyPreference:function(){return e.getProximaLatencyPreference()}, tQ:function(){e.tQ()}, zE:function(){e.zE()}, va:function(f,h){e.va(f,h)}})); b.C=d;g.L(a,b);return b}; C9a=function(){this.Zu=0;this.C=this.Eu=this.Sr=this.B=NaN;this.j={};this.bandwidthEstimate=NaN}; n0=function(a,b,c){g.J.call(this);var d=this;this.W=a;this.ra=b;this.B=c;this.j=new Map;this.Xg="";this.Hd={xp:function(){return Array.from(d.j.keys())}}}; D9a=function(){this.j=g.Vza;this.array=[]}; F9a=function(a,b,c){var d=[];for(b=E9a(a,b);bc)break}return d}; G9a=function(a,b){var c=[];a=g.v(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}; H9a=function(a){return a.array.slice(E9a(a,0x7ffffffffffff),a.array.length)}; E9a=function(a,b){a=Wb(a.array,function(c){return b-c.start||1}); return 0>a?-(a+1):a}; I9a=function(a,b){var c=NaN;a=g.v(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.timeStamp=c;return!1}; N9a=function(a,b){this.videoData=a;this.j=b}; O9a=function(a,b,c){return ARa(b,c).then(function(){return bC(new N9a(b,b.C))},function(d){d instanceof Error&&g.BF(d); var e=bL('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f=dL('audio/mp4; codecs="mp4a.40.2"'),h=e||f,l=b.isLivePlayback&&!g.MOa(a.G,!0);d="fmt.noneavailable";l?d="html5.unsupportedlive":h||(d="html5.missingapi");h=l||!h?2:1;e={buildRej:"1",a:b.Pv(),d:!!b.Hc,drm:b.pj(),f18:0<=b.Qf.indexOf("itag=18"),c18:e};b.j&&(b.pj()?(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=dL('video/mp4; codecs="avc1.42001E"'), e.cVP9=dL('video/webm; codecs="vp9"'));b.K&&(e.drmsys=b.K.keySystem,f=0,b.K.j&&(f=Object.keys(b.K.j).length),e.drmst=f);return new FK(d,e,h)})}; P9a=function(a){this.G=a;this.C=this.B=0;this.D=new dV(50)}; r0=function(a,b,c){g.TF.call(this);this.videoData=a;this.experiments=b;this.Z=c;this.B=[];this.D=0;this.C=!0;this.G=!1;this.K=0;c=new Q9a;"ULTRALOW"===a.latencyClass&&(c.D=!1);a.ob?c.B=3:g.AT(a)&&(c.B=2);"NORMAL"===a.latencyClass&&(c.G=!0);var d=g.rJ(b,"html5_liveness_drift_proxima_override");tT(a)&&d&&(c.j=d);if(g.gC("trident/")||g.gC("edge/"))c.C=Math.max(c.C,g.rJ(b,"html5_platform_minimum_readahead_seconds")||3);g.rJ(b,"html5_minimum_readahead_seconds")&&(c.C=g.rJ(b,"html5_minimum_readahead_seconds")); g.rJ(b,"html5_maximum_readahead_seconds")&&(c.K=g.rJ(b,"html5_maximum_readahead_seconds"));b.jb("html5_force_adaptive_readahead")&&(c.D=!0);if(b=g.rJ(b,"html5_liveness_drift_chunk_override"))c.j=b;sT(a)&&(c.j=(c.j+1)/5,"LOW"===a.latencyClass&&(c.j*=2));this.policy=c;this.N=1!==this.policy.B;this.j=q0(this,R9a(this,isNaN(a.liveChunkReadahead)?3:a.liveChunkReadahead,a))}; S9a=function(a,b){if(b)return b=a.videoData,b=R9a(a,isNaN(b.liveChunkReadahead)?3:b.liveChunkReadahead,b),q0(a,b);if(a.B.length){if(1=c-a}; U9a=function(a,b,c){b=t0(a,b);c||b?b&&(a.C=!0):a.C=!1;a.N=2===a.policy.B||3===a.policy.B&&a.C}; V9a=function(a,b){b=t0(a,b);a.G!==b&&a.oa("livestatusshift",b);a.G=b}; R9a=function(a,b,c){c.ob&&b--;sT(c)&&(b=1);tT(c)&&(a=g.rJ(a.experiments,"html5_live_chunk_readahead_proxima_override"))&&(b=a);return b}; s0=function(a){return a.videoData.j?mR(a.videoData.j)||5:5}; q0=function(a,b){b=Math.max(Math.max(1,Math.ceil(a.policy.C/s0(a))),b);return Math.min(Math.min(8,Math.floor(a.policy.K/s0(a))),b)}; Q9a=function(){this.C=0;this.K=Infinity;this.D=!0;this.j=2;this.B=1;this.G=!1}; w0=function(a){g.J.call(this);this.ra=a;this.W=this.ra.U();this.D=this.j=0;this.C=new g.Bu(this.Af,1E3,this);this.Sa=new u0({delayMs:g.rJ(this.W.experiments,"html5_seek_timeout_delay_ms")});this.ma=new u0({delayMs:g.rJ(this.W.experiments,"html5_long_rebuffer_threshold_ms")});this.Va=v0(this,"html5_seek_set_cmt");this.Aa=v0(this,"html5_seek_jiggle_cmt");this.Fa=v0(this,"html5_seek_new_elem");this.ob=v0(this,"html5_unreported_seek_reseek");this.Z=v0(this,"html5_long_rebuffer_jiggle_cmt");this.Y=new u0({delayMs:2E4}); this.Ea=v0(this,"html5_seek_new_elem_shorts");this.Na=v0(this,"html5_seek_new_media_source_shorts_reuse");this.Ka=v0(this,"html5_seek_new_media_element_shorts_reuse");this.N=v0(this,"html5_gapless_handoff_started_long_rebuffer");this.K=v0(this,"html5_gapless_handoff_close_end_long_rebuffer");this.G=v0(this,"html5_ads_preroll_lock_timeout");this.Ya=new u0({delayMs:g.rJ(this.W.experiments,"html5_skip_slow_ad_delay_ms")||5E3,bz:!this.W.L("html5_report_slow_ads_as_error")});this.Za=new u0({delayMs:g.rJ(this.W.experiments, "html5_skip_slow_ad_delay_ms")||5E3,bz:!this.W.L("html5_skip_slow_buffering_ad")});this.gb=new u0({delayMs:g.rJ(this.W.experiments,"html5_slow_start_timeout_delay_ms")});this.qa=v0(this,"html5_slow_start_no_media_source");this.B={};g.L(this,this.C)}; v0=function(a,b){var c=g.rJ(a.W.experiments,b+"_delay_ms");a=a.W.L(b+"_cfl");return new u0({delayMs:c,bz:a})}; x0=function(a,b,c,d,e,f,h,l){b.test(c)?(a.me(e,b,h),b.bz||f()):(b.mK&&b.B&&!b.D?(c=(0,g.vD)(),d?b.j||(b.j=c):b.j=0,f=!d&&c-b.B>b.mK,c=b.j&&c-b.j>b.mR||f?b.D=!0:!1):c=!1,c&&(l=Object.assign({},a.pc(b),l),l.wn=h,l.we=e,l.wsuc=d,a.ra.va("workaroundReport",l),d&&(b.reset(),a.B[e]=!1)))}; u0=function(a){var b=void 0===a?{}:a;a=void 0===b.delayMs?0:b.delayMs;var c=void 0===b.mR?1E3:b.mR,d=void 0===b.mK?3E4:b.mK;b=void 0===b.bz?!1:b.bz;this.j=this.B=this.C=this.startTimestamp=0;this.D=!1;this.G=Math.ceil(a/1E3);this.mR=c;this.mK=d;this.bz=b}; Z9a=function(a){g.J.call(this);var b=this;this.ra=a;this.W=this.ra.U();this.videoData=this.ra.getVideoData();this.policy=new W9a;this.Ea=new w0(this.ra);this.playbackData=null;this.rb=new g.IK;this.N=this.B=this.Ba=this.mediaElement=null;this.j=NaN;this.C=0;this.Na=NaN;this.D=null;this.Sa=NaN;this.G=this.Y=null;this.ma=!1;this.ob=g.rJ(this.W.experiments,"html5_qoe_lh_max_report_count");this.tb=g.rJ(this.W.experiments,"html5_qoe_lh_min_duration_ms");this.Db=NaN;this.dc=0;this.qa=!1;this.Ka=new g.Bu(function(){X9a(b, !1)},2E3); this.jc=new g.Bu(function(){y0(b)}); this.Za=new g.Bu(function(){b.ma=!0;Y9a(b,{})}); this.timestampOffset=0;this.Aa=!0;this.Ya=0;this.Nb=NaN;this.Fa=new g.Bu(function(){var c=b.W.Of;c.j+=1E4/36E5;c.j-c.C>1/6&&(dPa(c),c.C=c.j);b.Fa.start()},1E4); this.gb=this.Va=!1;this.Z=0;this.K=-1;this.Jb=!1;g.L(this,this.Ea);g.L(this,this.rb);g.L(this,this.Ka);g.L(this,this.Za);g.L(this,this.jc);g.L(this,this.Fa)}; a$a=function(a,b){a.playbackData=b;a.videoData.isLivePlayback&&(a.N=new P9a(function(){a:{if(a.playbackData&&a.playbackData.j.j){if(kT(a.videoData)&&a.Ba){var c=a.Ba.cH.Oi()||0;break a}if(a.videoData.j){c=a.videoData.j.ma;break a}}c=0}return c}),a.B=new r0(a.videoData,a.W.experiments,function(){return a.Le(!0)})); $9a(a)||(a.C=a.C||(g.OT(a.videoData)?0:a.videoData.startSeconds)||0)}; c$a=function(a,b){(a.Ba=b)?b$a(a,!0):z0(a)}; e$a=function(a,b){var c=a.getCurrentTime(),d=a.isAtLiveHead(c);if(a.N&&d){var e=a.N;if(e.j&&!(c>=e.B&&ce.D||3E3>g.kb()-e.K||(e.K=g.kb(),e.B.push(f),50=a.ob,0!==a.tb&&b<=a.tb||c||(b=a.ra.wc(),b.qoe&&P8a(b.qoe,d),a.Va=d,a.dc++,a.Db=a.getCurrentTime())))}; X9a=function(a,b){if(a.B){var c=a.B;var d=a.getCurrentTime();!t0(c,d)&&c.Xq()?(c.policy.G&&(c.policy.j=Math.max(c.policy.j+1,10)),c=Infinity):c=d=a.Le()-.1){a.j= a.Le();a.D.resolve(a.Le());lY(a.ra);return}try{var c=a.j-a.timestampOffset;a.mediaElement.seekTo(c);a.Ea.j=c;a.Sa=c;a.C=a.j}catch(d){}}}}; k$a=function(a){if(!a.mediaElement||0===a.mediaElement.Ak()||a.mediaElement.hasError())return!1;var b=0a.Le()||dMath.random())try{g.BF(new g.VC("b/152131571",btoa(f)))}catch(Y){}return u.return(Promise.reject(new FK(r,{backend:"gvi"},t)))}})}; A$a=function(a,b){function c(B){return d(B.xhr)} function d(B){if(!a.isDisposed()){B=B?B.status:-1;var F=0,G=((0,g.vD)()-p).toFixed();G=e.L("html5_use_network_error_code_enums")?{backend:"gvi",rc:B,rt:G}:{backend:"gvi",rc:""+B,rt:G};var H="manifest.net.connect";429===B?(H="auth",F=2):200r.j&&3!==r.provider.ra.getVisibilityState()&&z8a(r)}q.qoe&&(q=q.qoe,q.Za&&0>q.B&&q.provider.W.Pf&& X8a(q));p.Ba&&C0(p);p.W.Oo&&!p.videoData.backgroundable&&p.mediaElement&&!p.Kh()&&(p.isBackground()&&p.mediaElement.yG()?(p.va("bgmobile",{suspend:1}),p.Zn(!0,!0)):p.isBackground()||D0(p)&&p.va("bgmobile",{resume:1}))}; this.Hd={Qp:function(q){p.Qp(q)}, xjb:function(q){p.Be=q}, bib:function(){return p.gA}, TH:function(){return p.hA}, Ehb:function(){return p.KG}}; this.logger.debug(function(){return"creating, type "+b}); this.Mi=new o0(function(){return p.getCurrentTime()},function(){return p.getPlaybackRate()},function(){return p.getPlayerState()},function(q,r){q!==g.YJ("endcr")||g.JG(p.playerState,32)||lY(p); e(q,r,p.playerType)}); g.L(this,this.Mi);g.L(this,this.fd);F$a(this,m);this.videoData.subscribe("dataupdated",this.U$,this);this.videoData.subscribe("dataloaded",this.aN,this);this.videoData.subscribe("dataloaderror",this.handleError,this);this.videoData.subscribe("ctmp",this.va,this);this.videoData.subscribe("ctmpstr",this.fK,this);this.nN();a0a(this.vg);this.visibility.subscribe("visibilitystatechange",this.vg)}; uL=function(a){return a.L("html5_not_reset_media_source")&&!a.pj()&&!a.videoData.isLivePlayback&&g.pT(a.videoData)}; F$a=function(a,b){if(2===a.playerType||a.W.Qo)b.e0=!0;var c=$Pa(b.Df,b.kz,a.W.D,a.W.K);c&&(b.adFormat=c);2===a.playerType&&(b.fl=!0);if(a.isFullscreen()||a.W.D)c=g.OC("yt-player-autonavstate"),b.autonavState=c||(a.W.D?2:a.videoData.autonavState);b.endSeconds&&b.endSeconds>b.startSeconds&&F0(a,b.endSeconds)}; H$a=function(a){if(a.videoData.Y){var b=a.Rd.Bd();a.videoData.Uw=a.videoData.Uw||(null==b?void 0:b.TN());a.videoData.wx=a.videoData.wx||(null==b?void 0:b.WN())}if(LRa(a.videoData)||!YRa(a.videoData))b=a.videoData.errorDetail,a.zg(a.videoData.errorCode||"auth",2,unescape(a.videoData.errorReason),b,b,a.videoData.Ym||void 0);a.videoData.Rf=a.getUserAudio51Preference();a.L("html5_generate_content_po_token")&&G$a(a)}; I$a=function(a){R0a(a.gA);g.sb(a.gA);for(var b=a.hA,c=g.v(b.j.values()),d=c.next();!d.done;d=c.next())R0a(d.value);b.j.clear();g.sb(a.hA)}; J$a=function(a){return a.mediaElement&&a.mediaElement.Ou()?a.mediaElement.Ab():null}; G0=function(a){if(a.L("html5_check_video_data_errors_before_playback_start")&&a.videoData.errorCode)return!1;if(a.videoData.Ee())return!0;a.zg("api.invalidparam",2,void 0,"invalidVideodata.1");return!1}; g.kY=function(a,b){(b=void 0===b?!1:b)||g.OT(a.videoData)||HY(a.wc());a.Gt=b;!G0(a)||a.Up.Ht()?g.CJ(a.W)&&a.videoData.isLivePlayback&&a.Up.Ht()&&!a.Up.finished&&!a.Gt&&a.aN():(a.Up.start(),b=a.wc(),g.tN(b.provider),b.qoe&&S8a(b.qoe),a.aN())}; K$a=function(a){var b=a.videoData;D$a(a).then(void 0,function(c){a.videoData!==b||b.isDisposed()||(c=HK(c),"auth"===c.errorCode&&a.videoData.errorDetail?a.zg(c.errorCode,2,unescape(a.videoData.errorReason),EK(c.details),a.videoData.errorDetail,a.videoData.Ym||void 0):a.handleError(c))})}; k0a=function(a,b){a.Xc=b;a.Ba&&b7a(a.Ba,new g.M_(b))}; M$a=function(a){if(!g.JG(a.playerState,128))if(a.videoData.isLoaded(),a.logger.debug("finished loading playback data"),a.Tp=g.Jb(a.videoData.Fa),g.yT(a.videoData)){a.Vb.tick("bpd_s");H0(a).then(function(){a.Vb.tick("bpd_c");if(!a.isDisposed()){a.Gt&&(a.xc(DL(DL(a.playerState,512),1)),D0(a));var c=a.videoData;c.endSeconds&&c.endSeconds>c.startSeconds&&F0(a,c.endSeconds);a.Up.finished=!0;I0(a,"dataloaded");a.Br.Ht()&&L$a(a);y8a(a.bl,a.ag)}}); a.L("html5_log_media_perf_info")&&a.va("loudness",{v:a.videoData.Of.toFixed(3)},!0);var b=ZRa(a.videoData);b&&a.va("playerResponseExperiment",{id:b},!0);a.GM()}else I0(a,"dataloaded")}; H0=function(a){J0(a);a.ag=null;var b=O9a(a.W,a.videoData,a.Kh());a.SE=b;a.SE.then(function(c){N$a(a,c)},function(c){a.isDisposed()||(c=HK(c),a.visibility.isBackground()?(K0(a,"vp_none_avail"),a.SE=null,a.Up.reset()):(a.Up.finished=!0,a.zg(c.errorCode,c.severity,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",EK(c.details))))}); return b}; Y7a=function(a){a.logger.debug("Updating for format change");H0(a).then(function(){return D0(a)}); g.GL(a.playerState)&&a.playVideo()}; N$a=function(a,b){if(!a.isDisposed()&&!b.videoData.isDisposed()){a.logger.debug("finished building playback data");a.ag=b;a$a(a.fd,a.ag);if(a.videoData.isLivePlayback){var c=j1a(a.Rd.Pt,a.videoData.videoId)||a.Ba&&!isNaN(a.Ba.Ea);c=a.L("html5_onesie_live")&&c;0gPa(b.W.Of,"sticky-lifetime")?"auto":EP[xP()]:d=EP[xP()],d=g.CP("auto",d,!1,"s");if(DP(d)){d=k8a(b,c);var e=d.compose,f;a:if((f=c.j)&&f.videoInfos.length){for(var h=g.v(f.videoInfos),l=h.next();!l.done;l=h.next()){l=l.value;var m=void 0;if(null==(m=l.B)?0:m.smooth){f=l.video.j;break a}}f=f.videoInfos[0].video.j}else f=0;Eoa()&&!g.CJ(b.W)&&PK(c.j.videoInfos[0])&& (f=Math.min(f,g.KK.large));d=e.call(d,new BP(0,f,!1,"o"));e=d.compose;f=4320;!b.W.B||g.cS(b.W)||b.W.L("hls_for_vod")||b.W.L("mweb_remove_360p_cap")||(f=g.KK.medium);(h=g.rJ(b.W.experiments,"html5_default_quality_cap"))&&c.j.j&&(b.W.L("html5_always_apply_default_quality_cap")||!c.videoData.pk&&!c.videoData.je)&&(f=Math.min(f,h));h=g.rJ(b.W.experiments,"html5_random_playback_cap");l=/[a-h]$/;h&&l.test(c.videoData.clientPlaybackNonce)&&(f=Math.min(f,h));if(l=h=g.rJ(b.W.experiments,"html5_hfr_quality_cap"))a:{l= c.j;if(l.j)for(l=g.v(l.videoInfos),m=l.next();!m.done;m=l.next())if(32h&&0!==h&&b.j===h)){var l;f=m8a(c,null==(l=e.j)?void 0:l.videoInfos);l=c.ra.getPlaybackRate();1n&&(n+=l.j);for(var p=0;pa.Ua.getDuration()&&a.Ua.zl(e)}else a.Ua.zl(d);J6a(a.Ba,a.Ua,c);a.oa("mediasourceattached")}}; O6a=function(a,b){R$a(a,b.reason,b.j.info,b.videoId)}; W_=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;var d,e,f;return g.I(function(h){if(1==h.j){a.Ba&&a.Ba.Ov();a.Ba&&a.Ba.isDisposed()&&J0(a);if(a.L("html5_enable_vp9_fairplay")&&a.pj()&&null!=(d=a.videoData.j)){var l=d,m;for(m in l.j)l.j.hasOwnProperty(m)&&(l.j[m].j=null,l.j[m].C=!1)}a.xc(DL(a.playerState,2048));a.oa("newelementrequired");return b?g.y(h,H0(a),2):h.La(2)}a.videoData.Cc()&&(null==(e=a.Ba)?0:e.Ea)&&((f=a.isAtLiveHead())&&iT(a.videoData)?a.seekTo(Infinity,{xd:"videoPlayer_getNewElement"}): a.videoData.le&&a.Ba&&(l=a.Ba,l.manifest.Cc&&(l.manifest.le||l.manifest.C||l.manifest.isPremiere?(l.seek(0,{xd:"loader_resetSqless"}),l.videoTrack.N=!0,l.audioTrack.N=!0,l.videoTrack.G=!0,l.audioTrack.G=!0):pOa(l.manifest)&&L_(l))));c&&a.seekTo(0);g.JG(a.playerState,8)&&a.playVideo();g.Aa(h)})}; W_a=function(a,b){a.va("newelem",{r:b});W_(a)}; bab=function(a,b){a.Vb.D.WP();g.JG(a.playerState,32)||(a.xc(DL(a.playerState,32,null==b?void 0:b.seekSource)),g.JG(a.playerState,8)&&a.pauseVideo(!0),a.oa("beginseeking",a));a.Gc()}; t0a=function(a,b){b=null==b?void 0:b.seekSource;g.JG(a.playerState,32)?(a.xc(FL(a.playerState,16,32,b)),a.oa("endseeking",a)):g.JG(a.playerState,2)||a.xc(DL(a.playerState,16,b));a.Vb.D.bQ(a.videoData,a.playerState.isPaused())}; VTa=function(a){var b=0,c="";if(a.Xc){if(a.Xc.jp)return"D,";b=a.Xc.SN()}else a.yc&&(b=a.yc.SN(),c=a.yc.Ng.substring(0,4));return 0a.KX+6283){if(!(!a.isAtLiveHead()||a.videoData.j&&hOa(a.videoData.j))){var b=a.wc();if(b.qoe){b=b.qoe;var c=b.provider.ra.HD(),d=g.tN(b.provider);N8a(b,d,c);c=c.C;isNaN(c)||g.Z_(b,d,"e2el",[c.toFixed(3)])}}g.AJ(a.W)&&a.va("rawlat",{l:gV(a.aS,"rawlivelatency").toFixed(3)});a.KX=Date.now()}a.videoData.B&&UK(a.videoData.B)&&(b=J$a(a))&&b.videoHeight!==a.lP&&(a.lP=b.videoHeight,R$a(a,"a",T$a(a,a.videoData.Za)))}; T$a=function(a,b){if("auto"===b.j.video.quality&&UK(b.Ih())&&a.videoData.kd)for(var c=g.v(a.videoData.kd),d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()===a.lP&&"auto"!==d.j.video.quality)return d.Ih();return b.Ih()}; E$a=function(a){if(!iT(a.videoData))return NaN;var b=0;a.Ba&&a.videoData.j&&(b=kT(a.videoData)?a.Ba.cH.Oi()||0:a.videoData.j.ma);return(0,g.vD)()/1E3-a.Ze()-b}; jab=function(a){a.mediaElement&&a.mediaElement.Kh()&&(a.NI=(0,g.vD)());a.W.Vo?g.RB(function(){iab(a)},0):iab(a)}; iab=function(a){var b;if(null==(b=a.Ua)||!b.lm()){if(a.mediaElement)try{a.RJ=a.mediaElement.playVideo()}catch(d){K0(a,"err."+d)}if(a.RJ){var c=a.RJ;c.then(void 0,function(d){a.logger.debug(function(){return"playMediaElement failed: "+d}); if(!g.JG(a.playerState,4)&&!g.JG(a.playerState,256)&&a.RJ===c)if(d&&"AbortError"===d.name&&d.message&&d.message.includes("load"))a.logger.debug(function(){return"ignore play media element failure: "+d.message}); else{var e="promise";d&&d.name&&(e+=";m."+d.name);K0(a,e);a.hV=!0;a.videoData.Sf=!0}})}}}; K0=function(a,b){g.JG(a.playerState,128)||(a.xc(FL(a.playerState,1028,9)),a.va("dompaused",{r:b}),a.oa("onAutoplayBlocked"))}; D0=function(a){if(!a.mediaElement||!a.videoData.C)return!1;var b,c=null;if(null==(b=a.videoData.C)?0:b.j){c=Z$a(a);var d;null==(d=a.Ba)||d.resume()}else J0(a),a.videoData.Za&&(c=a.videoData.Za.mC());b=c;d=a.mediaElement.yG();c=!1;d&&d.equals(b)||(kab(a,b),c=!0);g.JG(a.playerState,2)||(b=a.fd,b.G||!(0=Math.abs(b-c)||1E-6>=Math.abs(b-d)||b>=c&&b<=d}; Wab=function(a){var b,c=null==(b=g.aU(a))?void 0:b.Ba;a.L("html5_gapless_use_loop_range")&&a.U().supportsGaplessShorts()&&a.Gb&&g.pT(a.getVideoData())&&c&&c.policy.Ka&&(b=g.rJ(a.U().experiments,"html5_gapless_loop_seek_offset_in_milli"),a.setLoopRange({startTimeMs:0,endTimeMs:1E3*Vab(a)-b}))}; Xab=function(a){if(!(g.JG(a.xb.getPlayerState(),64)&&a.Fd().isLivePlayback&&5E3>a.Fb.startTimeMs)){if("repeatChapter"===a.Fb.type){var b,c=null==(b=zSa(a.zb()))?void 0:b.Gh(),d;b=null==(d=a.getVideoData())?void 0:d.Uk;c instanceof g.YV&&b&&(d=b[zW(b,a.Fb.startTimeMs)],c.ax(0,d.title));isNaN(Number(a.Fb.loopCount))?a.Fb.loopCount=0:a.Fb.loopCount++;1===a.Fb.loopCount&&a.J.Qa("innertubeCommand",a.getVideoData().e7)}c={xd:"application_loopRangeStart"};"clips"===a.Fb.type&&(c.seekSource=58);a.xb.seekTo(.001* a.Fb.startTimeMs,c)}}; yab=function(a,b){var c=a.Wa.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}; Vab=function(a,b){b=g.aU(a,b);if(!b)return 0;b=U0(a,b);return e1(a,hY(b),b)}; e1=function(a,b,c){if(a.If(c)){c=c.getVideoData();if(f1(a))c=b;else{a=a.Xc;for(var d=g.v(a.B),e=d.next();!e.done;e=d.next())if(e=e.value,c.Yc===e.Yc){b+=e.Ec/1E3;break}d=b;a=g.v(a.B);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Yc===e.Yc)break;var f=e.Ec/1E3;if(fd?e=!0:1d.length||(d[0]in Gbb&&(f.clientName=Gbb[d[0]]),d[1]in Hbb&&(f.platform=Hbb[d[1]]),f.applicationState=h,f.clientVersion=2=d?f():(a.actionType=a.D?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.jg=!0,PH("_start",a.actionType)&&Tbb(a)))}; Vbb=function(a,b){a=g.v(b);for(b=a.next();!b.done;b=a.next())if((b=b.value.renderer)&&(b.instreamVideoAdRenderer||b.linearAdSequenceRenderer||b.sandwichedLinearAdRenderer||b.instreamSurveyAdRenderer)){SH("ad_i");g.QH({isMonetized:!0});break}}; Wbb=function(a){var b=a.J.getVideoData(1);if(!a.J.L("html5_no_video_to_ad_on_preroll")||null!=b&&b.Sa)a.B=!1,b={},a.j&&a.videoId&&(b.cttAuthInfo={token:a.j,videoId:a.videoId}),RH("video_to_ad",b)}; bBa=function(a){a.B=!1;var b={};a.j&&a.videoId&&(b.cttAuthInfo={token:a.j,videoId:a.videoId});RH("ad_to_video",b);Tbb(a)}; Tbb=function(a){if(a.jg)if(a.J.L("html5_no_video_to_ad_on_preroll_reset")&&"AD_PLACEMENT_KIND_START"===a.C&&"video_to_ad"===a.actionType)OH("video_to_ad");else if(a.J.L("web_csi_via_jspb")){var b=new hB;b=R(b,8,2);var c=new iB;c=R(c,21,Xbb(a.C));c=R(c,7,4);b=N(c,hB,22,b);b=R(b,53,a.videoStreamType);"ad_to_video"===a.actionType?(a.contentCpn&&Q(b,76,a.contentCpn),a.videoId&&Q(b,78,a.videoId)):(a.adCpn&&Q(b,76,a.adCpn),a.adVideoId&&Q(b,78,a.adVideoId));a.adFormat&&Q(b,12,a.adFormat);a.contentCpn&&Q(b, 8,a.contentCpn);a.videoId&&b.setVideoId(a.videoId);a.adCpn&&Q(b,28,a.adCpn);a.adVideoId&&Q(b,20,a.adVideoId);g.EB(MH)(b,a.actionType)}else b={adBreakType:PBa(a.C),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)),a.adFormat&&(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),g.QH(b,a.actionType)}; PBa=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"}}; Xbb=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}}; t1=function(a){g.J.call(this);this.J=a;this.j=new Map;this.B=new IC(this);g.L(this,this.B);this.B.T(this.J,g.YJ("ad"),this.onCueRangeEnter,this);this.B.T(this.J,g.ZJ("ad"),this.onCueRangeExit,this)}; Zbb=function(a,b){(b=a.j.get(b))&&Ybb(a,b)}; Ybb=function(a,b){a.J.Xp([b.Qe],b.uo);a.j.delete(b.Qe.id)}; $bb=function(a,b,c,d,e){g.XJ.call(this,b,c,{id:a,namespace:"ad",priority:e,visible:d})}; u1=function(a){this.J=a}; v1=function(a){this.J=a}; acb=function(a){return a.J.U().L("enable_active_view_lr_shorts_video")}; w1=function(a){var b,c,d,e,f;return null!=(f=null==(b=a.J.getVideoData(1))?void 0:null==(c=b.getPlayerResponse())?void 0:null==(d=c.playerConfig)?void 0:null==(e=d.ssapConfig)?void 0:e.ssapPrerollEnabled)?f:!1}; nN=function(a,b){return a.J.U().L(b)}; bcb=function(a){return a.J.U().L("substitute_ad_cpn_macro_in_ssdai")}; sN=function(a){var b,c,d;return(null==(b=a.J.getVideoData(1).getPlayerResponse())?void 0:null==(c=b.playerConfig)?void 0:null==(d=c.daiConfig)?void 0:d.enableServerStitchedDai)||!1}; oFa=function(a){return a.J.U().L("html5_enable_vod_slar_with_notify_pacf")}; ccb=function(a){return a.J.U().L("html5_recognize_predict_start_cue_point")}; VDa=function(a){return a.J.U().experiments.jb("enable_desktop_player_underlay")}; NL=function(a){return a.J.U().experiments.jb("html5_load_ads_instead_of_cue")}; OL=function(a){return a.J.U().experiments.jb("html5_preload_ads")}; dcb=function(a){return a.J.U().experiments.jb("html5_rebase_video_to_ad_timeline")}; ecb=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}}; fcb=function(){g.TF.call(this);var a=this;this.j={};this.addOnDisposeCallback(function(){for(var b=g.v(Object.keys(a.j)),c=b.next();!c.done;c=b.next())delete a.j[c.value]})}; x1=function(){if(null===gcb){gcb=new fcb;or(ou).B="b";var a=or(ou),b="h"==hu(a)||"b"==hu(a),c=!(tr(),!1);b&&c&&(a.D=!0,a.G=new Dja)}return gcb}; hcb=function(a,b,c){a.j[b]=c}; icb=function(a){switch(a){case "abandon":case "unmuted_abandon":return"abandon";case "active_view_fully_viewable_audible_half_duration":return"fully_viewable_audible_half_duration_impression";case "active_view_measurable":return"measurable_impression";case "active_view_viewable":return"viewable_impression";case "audio_audible":return"audio_audible";case "audio_measurable":return"audio_measurable";case "complete":case "unmuted_complete":return"complete";case "end_fullscreen":case "unmuted_end_fullscreen":return"exitfullscreen"; case "first_quartile":case "unmuted_first_quartile":return"firstquartile";case "fullscreen":case "unmuted_fullscreen":return"fullscreen";case "impression":case "unmuted_impression":return"impression";case "midpoint":case "unmuted_midpoint":return"midpoint";case "mute":case "unmuted_mute":return"mute";case "pause":case "unmuted_pause":return"pause";case "progress":case "unmuted_progress":return"progress";case "resume":case "unmuted_resume":return"resume";case "skip":case "unmuted_skip":return"skip"; case "start":case "unmuted_start":return"start";case "third_quartile":case "unmuted_third_quartile":return"thirdquartile";case "unmute":case "unmuted_unmute":return"unmute";default:return null}}; y1=function(a,b){this.Ja=a;this.J=b;this.j=new Map;x1().subscribe("adactiveviewmeasurable",this.EA,this);x1().subscribe("adfullyviewableaudiblehalfdurationimpression",this.DA,this);x1().subscribe("adviewableimpression",this.FA,this);x1().subscribe("adaudioaudible",this.BA,this);x1().subscribe("adaudiomeasurable",this.CA,this)}; A1=function(a,b,c,d,e){e=void 0===e?null:e;a.j.has(b)?HG("Unexpected registration of layout in LidarApi"):(a.j.set(b,e),Pp(tr().Ic,"fmd",1),Nka(or(ou),c),hcb(x1(),b,{aO:function(){return d?{currentTime:a.Ja.get().getCurrentTimeSec(2,!1),duration:d,isPlaying:2===a.Ja.get().getPresentingPlayerType()&&1===z1(a.Ja.get(),2),Fib:!1,Gib:!0,volume:a.Ja.get().isMuted()?0:a.Ja.get().getVolume()/100}:{}}}))}; B1=function(a,b){a.j.has(b)?(a.j.delete(b),delete x1().j[b]):HG("Unexpected unregistration of layout in LidarApi")}; lcb=function(a,b){var c={};jcb(a,c,b);kcb(c);c.LACT=C1(function(){return OE().toString()}); c.VIS=C1(function(){return a.getVisibilityState().toString()}); c.SDKV="h.3.0";c.VOL=C1(function(){return a.isMuted()?"0":Math.round(a.getVolume()).toString()}); c.VED="";return c}; mcb=function(a,b){var c={};if(b)return c;if(!a.kind)return g.AF(Error("AdPlacementConfig without kind")),c;if("AD_PLACEMENT_KIND_MILLISECONDS"===a.kind||"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===a.kind){if(!a.adTimeOffset||!a.adTimeOffset.offsetStartMilliseconds)return g.AF(Error("malformed AdPlacementConfig")),c;c.MIDROLL_POS=C1(Id(Math.round(Ke(a.adTimeOffset.offsetStartMilliseconds)/1E3).toString()))}else c.MIDROLL_POS=C1(Id("0"));return c}; C1=function(a){return{toString:function(){return a()}}}; ncb=function(a,b,c){function d(l,m){(m=c[m])&&(f[l]=m)} function e(l,m){(m=c[m])&&(f[l]=h(m))} if(!c||g.jd(c))return a;var f=Object.assign({},a),h=b?encodeURIComponent:function(l){return l}; e("DV_VIEWABILITY","doubleVerifyViewability");e("IAS_VIEWABILITY","integralAdsViewability");e("MOAT_INIT","moatInit");e("MOAT_VIEWABILITY","moatViewability");d("GOOGLE_VIEWABILITY","googleViewability");d("VIEWABILITY","viewability");return f}; jcb=function(a,b,c){b.CPN=C1(function(){var d;(d=a.getVideoData(1))?d=d.clientPlaybackNonce:(g.BF(Error("Video data is null.")),d=null);return d}); b.AD_MT=C1(function(){return Math.round(Math.max(0,1E3*(null!=c?c:a.getCurrentTime(2,!1)))).toString()}); b.MT=C1(function(){return Math.round(Math.max(0,1E3*a.getCurrentTime(1,!1))).toString()}); b.P_H=C1(function(){return a.kb().Uj().height.toString()}); b.P_W=C1(function(){return a.kb().Uj().width.toString()}); b.PV_H=C1(function(){return a.kb().getVideoContentRect().height.toString()}); b.PV_W=C1(function(){return a.kb().getVideoContentRect().width.toString()})}; kcb=function(a){a.CONN=C1(Id("0"));a.WT=C1(function(){return Date.now().toString()})}; ocb=function(){}; pcb=function(a,b,c,d,e){var f,h,l,m,n,p,q,r,t,u,x,B;g.I(function(F){switch(F.j){case 1:f=!!b.scrubReferrer;h=g.pu(b.baseUrl,ncb(c,f,d));l={};(null==(m=a.j())?0:m.jb("enable_eom_webview_header"))&&MB(h)&&g.yB("WEBVIEW_EOM",!1)&&(l["X-Yt-Webview-Eom"]="1");if(!b.headers){F.La(2);break}n=a.B();if(!n.j){p=n.getValue();F.La(3);break}return g.y(F,n.j,4);case 4:p=F.B;case 3:q=p;r=g.v(b.headers);for(t=r.next();!t.done;t=r.next())switch(u=t.value,u.headerType){case "VISITOR_ID":g.yB("VISITOR_DATA")&&(l["X-Goog-Visitor-Id"]= g.yB("VISITOR_DATA"));break;case "EOM_VISITOR_ID":g.yB("EOM_VISITOR_DATA")&&(l["X-Goog-EOM-Visitor-Id"]=g.yB("EOM_VISITOR_DATA"));break;case "USER_AUTH":q&&(l.Authorization="Bearer "+q);break;case "PLUS_PAGE_ID":(x=a.D())&&(l["X-Goog-PageId"]=x);break;case "AUTH_USER":B=a.C();!q&&B&&(l["X-Goog-AuthUser"]=B);break;case "ATTRIBUTION_REPORTING_ELIGIBLE":l["Attribution-Reporting-Eligible"]="event-source"}"X-Goog-EOM-Visitor-Id"in l&&"X-Goog-Visitor-Id"in l&&delete l["X-Goog-Visitor-Id"];case 2:g.oE(h, void 0,f,0!==Object.keys(l).length?l:void 0,"",!0,e),g.Aa(F)}})}; D1=function(a,b,c,d){this.N=a;this.Z=b;this.G=c;this.K=d}; qcb=function(a){this.Su=a}; E1=function(a,b,c,d){var e=void 0===e?new D1(function(){var f=a.U(),h=a.getVideoData(1);return g.wS(f,h?g.LT(h):"")},function(){return a.U().pageId},function(){return a.U().qa},function(){return a.U().experiments}):e; this.J=a;this.B=b;this.Hb=c;this.Xa=d;this.Su=e;this.PK=null;this.j=new Map;this.TA=new qcb(e)}; rcb=function(a,b,c,d,e){var f=lAa(a.B.get(),c);f?(c=nK(a,mAa(f),f,void 0,void 0,d),b.hasOwnProperty("baseUrl")?a.Su.send(b,c):a.TA.send(b,c,{},e)):HG("Trying to ping from an unknown layout",void 0,void 0,{layoutId:c})}; RL=function(a,b){g.gD("adsClientStateChange",b)}; scb=function(a,b){a.j.has(b.vz())?HG("Trying to register an existing AdErrorInfoSupplier."):a.j.set(b.vz(),b)}; tcb=function(a,b){a.j.delete(b.vz())||HG("Trying to unregister a AdErrorInfoSupplier that has not been registered yet.")}; mAa=function(a){var b=mJ(a.Ca,"metadata_type_ad_placement_config");a=mJ(a.Ca,"metadata_type_media_sub_layout_index");return{adPlacementConfig:b,lY:a}}; nK=function(a,b,c,d,e,f){var h=c?ucb(a):{};c=c?vcb(a,c.layoutId):{};var l=wcb(a),m,n=null!=e?e:null==(m=a.Xa.get().lf(2))?void 0:m.clientPlaybackNonce;a.J.U().L("enable_player_logging_lr_home_infeed_ads")&&!n&&(n=a.Xa.get().lf(1).clientPlaybackNonce);e={};d=Object.assign({},lcb(a.J,d),mcb(b.adPlacementConfig,a.J.L("h5_disable_client_subs_slot_pos")),c,h,l,(e.FINAL=C1(function(){return"1"}),e.AD_CPN=C1(function(){return n||""}),e)); a.J.L("h5_disable_client_subs_slot_pos")||(d.SLOT_POS=C1(function(){return(b.lY||0).toString()})); a={};f=Object.assign({},d,f);d=g.v(Object.values(xcb));for(h=d.next();!h.done;h=d.next())h=h.value,e=f[h],null!=e&&null!=e.toString()&&(a[h]=e.toString());return a}; ucb=function(a){var b={},c,d=null==(c=a.PK)?void 0:c.Wi/1E3;null!=d&&(b.SURVEY_ELAPSED_MS=C1(function(){return Math.round(1E3*d).toString()})); b.SURVEY_LOCAL_TIME_EPOCH_S=C1(function(){return Math.round(Date.now()/1E3).toString()}); return b}; vcb=function(a,b){a=a.j.get(b);if(!a)return{};a=a.ON();if(!a)return{};b={};return b.YT_ERROR_CODE=a.hL.toString(),b.ERRORCODE=a.cG.toString(),b.ERROR_MSG=a.errorMessage,b}; wcb=function(a){var b={},c=a.J.getVideoData(1);b.ASR=C1(function(){var d;return null!=(d=null==c?void 0:c.NB)?d:null}); b.EI=C1(function(){var d;return null!=(d=null==c?void 0:c.eventId)?d:null}); return b}; F1=function(a,b,c){g.J.call(this);this.J=a;this.ue=b;this.Ha=c;this.listeners=[];this.qP=null;this.BM=new Map;b=new g.IK(this);g.L(this,b);b.T(a,"videodatachange",this.T$);b.T(a,"serverstitchedvideochange",this.q$);this.zv=this.lf()}; zcb=function(a,b,c){var d=ycb(a,b,c);a.zv=d;a.listeners.forEach(function(e){e.yJ(d)})}; ycb=function(a,b,c){var d=b.author,e=b.clientPlaybackNonce,f=b.isListed,h=b.Yc,l=b.title,m=b.pk,n=b.vl,p=b.isMdxPlayback,q=b.Gm,r=b.mdxEnvironment,t=b.isAutonav,u=b.aq,x=b.fl,B=b.fv,F=b.videoId||"",G=b.profilePicture||"",H=b.Gl||"";b=b.qv||void 0;h=a.ue.get().j.get(h)||{layoutId:null,slotId:null};var O=a.J.getVideoData(1),P=O.Cc();O=O.getPlayerResponse();c=1E3*a.J.getDuration(c);a=1E3*a.J.getDuration(1);var Y,la,na=(null==O?void 0:null==(Y=O.playerConfig)?void 0:null==(la=Y.daiConfig)?void 0:la.enableDai)|| !1,ua,ma;Y=(null==O?void 0:null==(ua=O.playerConfig)?void 0:null==(ma=ua.daiConfig)?void 0:ma.enablePreroll)||!1;return Object.assign({},h,{videoId:F,author:d,clientPlaybackNonce:e,maa:c,PC:a,daiEnabled:na,MV:Y,isListed:f,Cc:P,profilePicture:G,title:l,Gl:H,pk:m,vl:n,qv:b,isMdxPlayback:p,Gm:q,mdxEnvironment:r,isAutonav:t,aq:u,fl:x,fv:B})}; G1=function(a,b,c){g.J.call(this);this.J=a;this.Xa=b;this.Ha=c;this.listeners=[];this.hH=[];this.j=function(){HG("Called 'doUnlockPreroll' before it's initialized.")}; b=new IC(this);c=new g.IK(this);g.L(this,c);g.L(this,b);b.T(a,"progresssync",this.R9);b.T(a,"presentingplayerstatechange",this.I9);b.T(a,"fullscreentoggled",this.onFullscreenToggled);b.T(a,"onVolumeChange",this.onVolumeChange);b.T(a,"minimized",this.rh);b.T(a,"overlayvisibilitychange",this.al);b.T(a,"resize",this.Ib);c.T(a,g.YJ("appad"),this.Zk)}; H1=function(a){w1(a.Ha.get())||a.j()}; Acb=function(a,b){a.hH=a.hH.filter(function(c){return c!==b})}; Bcb=function(a,b){var c;b=null!=(c=a.Xa.get().BM.get(b))?c:null;if(null===b)return HG("Expected ad video start time on playback timeline"),0;a=a.J.getCurrentTime(2,!0);return a=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{i5:new cv(b,c),n7:new dQ(b,c-b,a.context,a.identifier,a.event,a.j)}}; Jcb=function(){this.j=[]}; $Ba=function(a,b,c){var d=g.Vb(a.j,b);if(0<=d)return b;b=-d-1;return b>=a.j.length||a.j[b]>c?null:a.j[b]}; Q1=function(a,b,c){g.J.call(this);this.J=a;this.Ha=b;this.Pa=c;this.listeners=[];this.D=!1;this.XK=[];this.B=null;this.G=new P1(this,ccb(b.get()));this.C=new Jcb;this.j=null}; Kcb=function(a,b){a.XK.push(b);for(var c=!1,d=g.v(a.listeners),e=d.next();!e.done;e=d.next())c=e.value.UY(b)||c;a.D=c}; Mcb=function(a,b){RL(a.Pa.get(),{cuepointTrigger:{event:Lcb(b.event),cuepointId:b.identifier,totalCueDurationMs:1E3*b.Xh,playheadTimeMs:b.j,cueStartTimeMs:1E3*b.startSecs,cuepointReceivedTimeMs:Date.now(),contentCpn:a.J.getVideoData(1).clientPlaybackNonce}})}; Lcb=function(a){switch(a){case "unknown":return"CUEPOINT_EVENT_UNKNOWN";case "start":return"CUEPOINT_EVENT_START";case "continue":return"CUEPOINT_EVENT_CONTINUE";case "stop":return"CUEPOINT_EVENT_STOP";case "predictStart":return"CUEPOINT_EVENT_PREDICT_START";default:return Ln(a,"Unexpected cuepoint event")}}; R1=function(a){this.J=a}; S1=function(a){this.J=a}; T1=function(a){this.J=a}; Ncb=function(a){this.J=a}; Ocb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=LJ(function(){return new ON}); g.L(this,this.fb);this.Eb=LJ(function(){return new PN(f.fb,f.Ha)}); g.L(this,this.Eb);this.Vc=LJ(function(){return new zN}); g.L(this,this.Vc);this.Rb=LJ(function(){return new xN(a)}); g.L(this,this.Rb);this.Mb=LJ(function(){return new QN(f.fb,f.Eb,f.Ha)}); g.L(this,this.Mb);this.ue=LJ(function(){return new UN}); g.L(this,this.ue);this.eg=LJ(function(){return new M1(b.U())}); g.L(this,this.eg);this.zc=LJ(function(){return new N1(b)}); g.L(this,this.zc);this.Ub=LJ(function(){return new MJ(e)}); g.L(this,this.Ub);this.Tc=LJ(function(){return new s1(b)}); g.L(this,this.Tc);this.Ac=LJ(function(){return new t1(b)}); g.L(this,this.Ac);this.Ae=LJ(function(){return new R1(b)}); g.L(this,this.Ae);this.Id=LJ(function(){return new u1(b)}); g.L(this,this.Id);this.Ha=LJ(function(){return new v1(b)}); g.L(this,this.Ha);this.Uf=LJ(function(){return new L1(d)}); g.L(this,this.Uf);this.Zb=LJ(function(){return new sJ(f.Ha)}); g.L(this,this.Zb);this.ze=LJ(function(){return new pN(f.fb,f.Mb,f.Eb,f.Ha,f.Zb,"SLOT_TYPE_ABOVE_FEED",f.Mj)}); g.L(this,this.ze);this.qg=LJ(function(){return new S1(b)}); g.L(this,this.qg);this.Ln=LJ(function(){return new OJ}); g.L(this,this.Ln);this.Xa=LJ(function(){return new F1(b,f.ue,f.Ha)}); g.L(this,this.Xa);this.kc=new TN(this.Ha,this.Zb,this.Xa);g.L(this,this.kc);this.Ef=LJ(function(){return new Q1(b,f.Ha,f.Pa)}); g.L(this,this.Ef);this.Pc=LJ(function(){return new T1(b)}); g.L(this,this.Pc);this.Ja=LJ(function(){return new G1(b,f.Xa,f.Ha)}); g.L(this,this.Ja);this.rf=LJ(function(){return new PJ}); this.Hb=LJ(function(){return new y1(f.Ja,b)}); g.L(this,this.Hb);this.Pa=LJ(function(){return new E1(b,f.Vc,f.Hb,f.Xa)}); g.L(this,this.Pa);this.wi=new vN(uN,U1,function(l,m,n,p){return jN(f.Eb.get(),l,m,n,p)},this.Rb,this.Mb,this.Eb,this.Zb,this.Ha,this.Xa); g.L(this,this.wi);this.bd=new wN(this.Rb,this.ze,c,this.Ha,a,this.Xa,this.Ja,this.Tc);g.L(this,this.bd);var h=new r1(b,this.bd,this.Ja,this.Xa,this.Ef);this.Bg=LJ(function(){return h}); this.Tt=h;this.Mj=new rN(this.Rb,this.Mb,this.Bg,this.Ef,this.Ja,this.Ha,this.Pa,this.Pc);g.L(this,this.Mj);this.Cf=new yN(this.Rb,this.Mb,this.Ac,this.Bg);g.L(this,this.Cf);this.md=new dN(this.Ha,this.Rb,this.Mb,this.ze,this.Xa,this.Cf,c);g.L(this,this.md);this.Uh=LJ(function(){return new $J(f.Uf,f.Eb,f.Zb,f.Ha,f.Pa,f.Ja,f.Pc)}); g.L(this,this.Uh);this.ke=LJ(function(){return new aK}); g.L(this,this.ke);this.Vf=new DN(a,this.zc,this.Ha);g.L(this,this.Vf);this.Ob=new EN(a);g.L(this,this.Ob);this.ov=new FN(a);g.L(this,this.ov);this.gg=new HN(a,this.Bg);g.L(this,this.gg);this.Ye=new IN(a,this.Ac,this.Ja,this.Xa);g.L(this,this.Ye);this.qw=new JN(a,this.Xa);g.L(this,this.qw);this.Fe=new KN(a);g.L(this,this.Fe);this.Zd=new NN(a);g.L(this,this.Zd);this.oi=new LN(a);g.L(this,this.oi);this.sx=new MN(a);g.L(this,this.sx);this.Zd=new NN(a);g.L(this,this.Zd);this.Xd=LJ(function(){return new AN}); g.L(this,this.Xd);this.xi=LJ(function(){return new BN(f.Ja)}); g.L(this,this.xi);this.VU=LJ(function(){return new HAa(f.zc,f.Pa,a,f.Vc,f.Hb)}); g.L(this,this.VU);this.Th=LJ(function(){return new tK(f.md,f.Rb,f.fb)}); g.L(this,this.Th);this.Zh=LJ(function(){return new vK(f.Ha,f.Pa,f.Fe,f.Hb)}); g.L(this,this.Zh);this.ri=LJ(function(){return new zCa(a,f.Zd,f.Fe,f.Xa,f.Pc,f.Ja,f.Pa,f.ue,f.Ef,f.Hb,f.rf,f.Ae,f.Ac,f.Tc,f.Id,f.eg,f.Ub,f.qg,f.Ha,f.Vc)}); g.L(this,this.ri);this.yZ=LJ(function(){return new TAa(f.Ja,f.Pa,f.Ha,f.Hb)}); g.L(this,this.yZ);this.An=LJ(function(){return new JCa(f.zc,f.Ja,f.Pa,f.Vc,f.Hb,f.ov,f.sx,f.Ub,f.Ha,c)}); g.L(this,this.An);this.h0=LJ(function(){return new JAa(f.zc)}); g.L(this,this.h0);this.xM=new K1(a,this.Ln,this.fb);g.L(this,this.xM);this.Bf={Mw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.md],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Mj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.wi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.bd],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Cf]]),Gq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_ABOVE_FEED",this.ke],["SLOT_TYPE_FORECASTING", this.ke],["SLOT_TYPE_IN_PLAYER",this.ke],["SLOT_TYPE_PLAYER_BYTES",this.ke],["SLOT_TYPE_PLAYER_UNDERLAY",this.ke],["SLOT_TYPE_PLAYBACK_TRACKING",this.ke]]),El:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Vf],["TRIGGER_TYPE_SURVEY_SUBMITTED",this.Vf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Ob],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Ob],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_EXITED", this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Ob],["TRIGGER_TYPE_SLOT_ID_UNSCHEDULED",this.Ob],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.Ob],["TRIGGER_TYPE_CLOSE_REQUESTED",this.ov],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.gg],["TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER",this.Ye],["TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER", this.Ye],["TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME",this.Ye],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ye],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ye],["TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED",this.Ye],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.Ye],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.qw],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.qw],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Fe],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID", this.gg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.oi],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER",this.sx],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Nr:new Map([["SLOT_TYPE_ABOVE_FEED",this.Xd],["SLOT_TYPE_AD_BREAK_REQUEST",this.Xd],["SLOT_TYPE_FORECASTING",this.Xd],["SLOT_TYPE_IN_PLAYER",this.Xd],["SLOT_TYPE_PLAYER_BYTES",this.xi],["SLOT_TYPE_PLAYER_UNDERLAY",this.Xd],["SLOT_TYPE_PLAYBACK_TRACKING",this.Xd]]),lr:new Map([["SLOT_TYPE_ABOVE_FEED",this.VU],["SLOT_TYPE_AD_BREAK_REQUEST", this.Th],["SLOT_TYPE_FORECASTING",this.Zh],["SLOT_TYPE_PLAYER_BYTES",this.ri],["SLOT_TYPE_PLAYBACK_TRACKING",this.yZ],["SLOT_TYPE_IN_PLAYER",this.An],["SLOT_TYPE_PLAYER_UNDERLAY",this.h0]])};this.listeners=[this.Vc.get()];this.nw={md:this.md,Qj:this.Ha.get(),ib:this.Ub.get(),Rw:this.Ja.get(),bd:this.bd,Ct:this.fb.get(),aA:this.Ln.get(),Xk:this.Vf,qj:this.Vc.get(),Un:this.Xa.get()}}; Pcb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=LJ(function(){return new ON}); g.L(this,this.fb);this.Eb=LJ(function(){return new PN(f.fb,f.Ha)}); g.L(this,this.Eb);this.Vc=LJ(function(){return new zN}); g.L(this,this.Vc);this.Rb=LJ(function(){return new xN(a)}); g.L(this,this.Rb);this.Mb=LJ(function(){return new QN(f.fb,f.Eb,f.Ha)}); g.L(this,this.Mb);this.ue=LJ(function(){return new UN}); g.L(this,this.ue);this.eg=LJ(function(){return new M1(b.U())}); g.L(this,this.eg);this.zc=LJ(function(){return new N1(b)}); g.L(this,this.zc);this.Ub=LJ(function(){return new MJ(e)}); g.L(this,this.Ub);this.Tc=LJ(function(){return new s1(b)}); g.L(this,this.Tc);this.Ac=LJ(function(){return new t1(b)}); g.L(this,this.Ac);this.Ae=LJ(function(){return new R1(b)}); g.L(this,this.Ae);this.Id=LJ(function(){return new u1(b)}); g.L(this,this.Id);this.Ha=LJ(function(){return new v1(b)}); g.L(this,this.Ha);this.Uf=LJ(function(){return new L1(d)}); g.L(this,this.Uf);this.Zb=LJ(function(){return new sJ(f.Ha)}); g.L(this,this.Zb);this.ze=LJ(function(){return new pN(f.fb,f.Mb,f.Eb,f.Ha,f.Zb,null,f.Mj)}); g.L(this,this.ze);this.qg=LJ(function(){return new S1(b)}); g.L(this,this.qg);this.Ln=LJ(function(){return new OJ}); g.L(this,this.Ln);this.Xa=LJ(function(){return new F1(b,f.ue,f.Ha)}); g.L(this,this.Xa);this.kc=new TN(this.Ha,this.Zb,this.Xa);g.L(this,this.kc);this.Ef=LJ(function(){return new Q1(b,f.Ha,f.Pa)}); this.Ja=LJ(function(){return new G1(b,f.Xa,f.Ha)}); g.L(this,this.Ja);this.Hb=LJ(function(){return new y1(f.Ja,b)}); g.L(this,this.Hb);this.Pa=LJ(function(){return new E1(b,f.Vc,f.Hb,f.Xa)}); g.L(this,this.Pa);this.rf=LJ(function(){return new PJ}); g.L(this,this.rf);this.wi=new vN(uN,U1,function(l,m,n,p){return jN(f.Eb.get(),l,m,n,p)},this.Rb,this.Mb,this.Eb,this.Zb,this.Ha,this.Xa); g.L(this,this.wi);this.bd=new wN(this.Rb,this.ze,c,this.Ha,a,this.Xa,this.Ja,this.Tc);g.L(this,this.bd);var h=new r1(b,this.bd,this.Ja,this.Xa,this.Ef);this.Bg=LJ(function(){return h}); this.Tt=h;this.Mj=new rN(this.Rb,this.Mb,this.Bg,this.Ef,this.Ja,this.Ha,this.Pa);g.L(this,this.Mj);this.Cf=new yN(this.Rb,this.Mb,this.Ac,this.Bg);g.L(this,this.Cf);this.md=new dN(this.Ha,this.Rb,this.Mb,this.ze,this.Xa,this.Cf,c);g.L(this,this.md);this.Uh=LJ(function(){return new $J(f.Uf,f.Eb,f.Zb,f.Ha,f.Pa,f.Ja)}); g.L(this,this.Uh);this.ke=LJ(function(){return new aK}); g.L(this,this.ke);this.Vf=new DN(a,this.zc,this.Ha);g.L(this,this.Vf);this.Ob=new EN(a);g.L(this,this.Ob);this.ov=new FN(a);g.L(this,this.ov);this.gg=new HN(a,this.Bg);g.L(this,this.gg);this.Ye=new IN(a,this.Ac,this.Ja,this.Xa);g.L(this,this.Ye);this.Fe=new KN(a);g.L(this,this.Fe);this.oi=new LN(a);g.L(this,this.oi);this.sx=new MN(a);g.L(this,this.sx);this.Pc=LJ(function(){return new T1(b)}); g.L(this,this.Pc);this.Zd=new NN(a);g.L(this,this.Zd);this.Xd=LJ(function(){return new AN}); g.L(this,this.Xd);this.xi=LJ(function(){return new BN(f.Ja)}); g.L(this,this.xi);this.Th=LJ(function(){return new tK(f.md,f.Rb,f.fb)}); g.L(this,this.Th);this.Zh=LJ(function(){return new vK(f.Ha,f.Pa,f.Fe,f.Hb)}); g.L(this,this.Zh);this.An=LJ(function(){return new KCa(f.zc,f.Ja,f.Pa,f.Vc,f.Hb,f.ov,f.sx,f.Ub,f.Ha,c)}); g.L(this,this.An);this.ri=LJ(function(){return new TL(a,f.Zd,f.Fe,f.Pa,f.Hb,f.rf,f.Ae,f.Xa,f.Ja,f.Ac,f.Tc,f.Id,f.eg,f.Ub,f.qg,f.Ha,f.Pc)}); g.L(this,this.ri);this.xM=new K1(a,this.Ln,this.fb);g.L(this,this.xM);this.Bf={Mw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.md],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Mj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.wi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.bd],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Cf]]),Gq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ke],["SLOT_TYPE_IN_PLAYER", this.ke],["SLOT_TYPE_PLAYER_BYTES",this.ke]]),El:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Vf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Ob],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Ob],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_SCHEDULED", this.Ob],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.Ob],["TRIGGER_TYPE_CLOSE_REQUESTED",this.ov],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.gg],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ye],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ye],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.Ye],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Fe],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.gg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.oi],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER", this.sx],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Nr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Xd],["SLOT_TYPE_FORECASTING",this.Xd],["SLOT_TYPE_IN_PLAYER",this.Xd],["SLOT_TYPE_PLAYER_BYTES",this.xi]]),lr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Th],["SLOT_TYPE_FORECASTING",this.Zh],["SLOT_TYPE_IN_PLAYER",this.An],["SLOT_TYPE_PLAYER_BYTES",this.ri]])};this.listeners=[this.Vc.get()];this.nw={md:this.md,Qj:this.Ha.get(),ib:this.Ub.get(),Rw:this.Ja.get(),bd:this.bd,Ct:this.fb.get(),aA:this.Ln.get(), Xk:this.Vf,qj:this.Vc.get(),Un:this.Xa.get()}}; Qcb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=LJ(function(){return new ON}); g.L(this,this.fb);this.Eb=LJ(function(){return new PN(f.fb,f.Ha)}); g.L(this,this.Eb);this.Vc=LJ(function(){return new zN}); g.L(this,this.Vc);this.Rb=LJ(function(){return new xN(a)}); g.L(this,this.Rb);this.Mb=LJ(function(){return new QN(f.fb,f.Eb,f.Ha)}); g.L(this,this.Mb);this.ue=LJ(function(){return new UN}); g.L(this,this.ue);this.eg=LJ(function(){return new M1(b.U())}); g.L(this,this.eg);this.zc=LJ(function(){return new N1(b)}); g.L(this,this.zc);this.Ub=LJ(function(){return new MJ(e)}); g.L(this,this.Ub);this.Tc=LJ(function(){return new s1(b)}); g.L(this,this.Tc);this.Ac=LJ(function(){return new t1(b)}); g.L(this,this.Ac);this.Ae=LJ(function(){return new R1(b)}); g.L(this,this.Ae);this.Id=LJ(function(){return new u1(b)}); g.L(this,this.Id);this.Ha=LJ(function(){return new v1(b)}); g.L(this,this.Ha);this.Uf=LJ(function(){return new L1(d)}); g.L(this,this.Uf);this.Zb=LJ(function(){return new sJ(f.Ha)}); g.L(this,this.Zb);this.ze=LJ(function(){return new pN(f.fb,f.Mb,f.Eb,f.Ha,f.Zb,null,null)}); g.L(this,this.ze);this.qg=LJ(function(){return new S1(b)}); g.L(this,this.qg);this.Xa=LJ(function(){return new F1(b,f.ue,f.Ha)}); g.L(this,this.Xa);this.kc=new TN(this.Ha,this.Zb,this.Xa);g.L(this,this.kc);this.Ja=LJ(function(){return new G1(b,f.Xa,f.Ha)}); g.L(this,this.Ja);this.Hb=LJ(function(){return new y1(f.Ja,b)}); g.L(this,this.Hb);this.Pa=LJ(function(){return new E1(b,f.Vc,f.Hb,f.Xa)}); g.L(this,this.Pa);this.rf=LJ(function(){return new PJ}); g.L(this,this.rf);this.wi=new vN(uN,U1,function(l,m,n,p){return jN(f.Eb.get(),l,m,n,p)},this.Rb,this.Mb,this.Eb,this.Zb,this.Ha,this.Xa); g.L(this,this.wi);this.bd=new wN(this.Rb,this.ze,c,this.Ha,a,this.Xa,this.Ja,this.Tc);g.L(this,this.bd);var h=new r1(b,this.bd,this.Ja,this.Xa);this.Bg=LJ(function(){return h}); this.Tt=h;this.Cf=new yN(this.Rb,this.Mb,this.Ac,this.Bg);g.L(this,this.Cf);this.md=new dN(this.Ha,this.Rb,this.Mb,this.ze,this.Xa,this.Cf,c);g.L(this,this.md);this.Uh=LJ(function(){return new $J(f.Uf,f.Eb,f.Zb,f.Ha,f.Pa,f.Ja)}); g.L(this,this.Uh);this.ke=LJ(function(){return new aK}); g.L(this,this.ke);this.Vf=new DN(a,this.zc,this.Ha);g.L(this,this.Vf);this.Ob=new EN(a);g.L(this,this.Ob);this.gg=new HN(a,this.Bg);g.L(this,this.gg);this.Ye=new IN(a,this.Ac,this.Ja,this.Xa);g.L(this,this.Ye);this.Fe=new KN(a);g.L(this,this.Fe);this.oi=new LN(a);g.L(this,this.oi);this.Pc=LJ(function(){return new T1(b)}); g.L(this,this.Pc);this.Zd=new NN(a);g.L(this,this.Zd);this.Xd=LJ(function(){return new AN}); g.L(this,this.Xd);this.xi=LJ(function(){return new BN(f.Ja)}); g.L(this,this.xi);this.Th=LJ(function(){return new tK(f.md,f.Rb,f.fb)}); g.L(this,this.Th);this.Zh=LJ(function(){return new vK(f.Ha,f.Pa,f.Fe,f.Hb)}); g.L(this,this.Zh);this.sZ=LJ(function(){return new SAa(f.zc,f.Ja,f.Pa,f.Vc,c,f.Ha)}); g.L(this,this.sZ);this.ri=LJ(function(){return new TL(a,f.Zd,f.Fe,f.Pa,f.Hb,f.rf,f.Ae,f.Xa,f.Ja,f.Ac,f.Tc,f.Id,f.eg,f.Ub,f.qg,f.Ha,f.Pc)}); g.L(this,this.ri);this.Bf={Mw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.md],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.wi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.bd],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Cf]]),Gq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ke],["SLOT_TYPE_IN_PLAYER",this.ke],["SLOT_TYPE_PLAYER_BYTES",this.ke]]),El:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Vf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED", this.Ob],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Ob],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Ob],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Ob],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.gg],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ye],["TRIGGER_TYPE_MEDIA_TIME_RANGE", this.Ye],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Fe],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.gg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.oi],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Nr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Xd],["SLOT_TYPE_ABOVE_FEED",this.Xd],["SLOT_TYPE_FORECASTING",this.Xd],["SLOT_TYPE_IN_PLAYER",this.Xd],["SLOT_TYPE_PLAYER_BYTES",this.xi]]),lr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Th],["SLOT_TYPE_FORECASTING",this.Zh],["SLOT_TYPE_IN_PLAYER", this.sZ],["SLOT_TYPE_PLAYER_BYTES",this.ri]])};this.listeners=[this.Vc.get()];this.nw={md:this.md,Qj:this.Ha.get(),ib:this.Ub.get(),Rw:this.Ja.get(),bd:this.bd,Ct:this.fb.get(),aA:null,Xk:this.Vf,qj:this.Vc.get(),Un:this.Xa.get()}}; Rcb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=LJ(function(){return new ON}); g.L(this,this.fb);this.Eb=LJ(function(){return new PN(f.fb,f.Ha)}); g.L(this,this.Eb);this.Vc=LJ(function(){return new zN}); g.L(this,this.Vc);this.Rb=LJ(function(){return new xN(a)}); g.L(this,this.Rb);this.Mb=LJ(function(){return new QN(f.fb,f.Eb,f.Ha)}); g.L(this,this.Mb);this.ue=LJ(function(){return new UN}); g.L(this,this.ue);this.eg=LJ(function(){return new M1(b.U())}); g.L(this,this.eg);this.zc=LJ(function(){return new N1(b)}); g.L(this,this.zc);this.Ub=LJ(function(){return new MJ(e)}); g.L(this,this.Ub);this.Tc=LJ(function(){return new s1(b)}); g.L(this,this.Tc);this.Ac=LJ(function(){return new t1(b)}); g.L(this,this.Ac);this.Ae=LJ(function(){return new R1(b)}); g.L(this,this.Ae);this.Id=LJ(function(){return new u1(b)}); g.L(this,this.Id);this.Ha=LJ(function(){return new v1(b)}); g.L(this,this.Ha);this.Uf=LJ(function(){return new L1(d)}); g.L(this,this.Uf);this.Zb=LJ(function(){return new sJ(f.Ha)}); g.L(this,this.Zb);this.ze=LJ(function(){return new pN(f.fb,f.Mb,f.Eb,f.Ha,f.Zb,null,null)}); g.L(this,this.ze);this.qg=LJ(function(){return new S1(b)}); g.L(this,this.qg);this.Xa=LJ(function(){return new F1(b,f.ue,f.Ha)}); g.L(this,this.Xa);this.kc=new TN(this.Ha,this.Zb,this.Xa);g.L(this,this.kc);this.Ja=LJ(function(){return new G1(b,f.Xa,f.Ha)}); g.L(this,this.Ja);this.Hb=LJ(function(){return new y1(f.Ja,b)}); g.L(this,this.Hb);this.Pa=LJ(function(){return new E1(b,f.Vc,f.Hb,f.Xa)}); g.L(this,this.Pa);this.rf=LJ(function(){return new PJ}); g.L(this,this.rf);this.wi=new vN(uN,U1,function(l,m,n,p){return jN(f.Eb.get(),l,m,n,p)},this.Rb,this.Mb,this.Eb,this.Zb,this.Ha,this.Xa); g.L(this,this.wi);this.bd=new wN(this.Rb,this.ze,c,this.Ha,a,this.Xa,this.Ja,this.Tc);g.L(this,this.bd);var h=new r1(b,this.bd,this.Ja,this.Xa);this.Bg=LJ(function(){return h}); this.Tt=h;this.Cf=new yN(this.Rb,this.Mb,this.Ac,this.Bg);g.L(this,this.Cf);this.md=new dN(this.Ha,this.Rb,this.Mb,this.ze,this.Xa,this.Cf,c);g.L(this,this.md);this.Uh=LJ(function(){return new $J(f.Uf,f.Eb,f.Zb,f.Ha,f.Pa,f.Ja)}); g.L(this,this.Uh);this.ke=LJ(function(){return new aK}); g.L(this,this.ke);this.Vf=new DN(a,this.zc,this.Ha);g.L(this,this.Vf);this.Ob=new EN(a);g.L(this,this.Ob);this.gg=new HN(a,this.Bg);g.L(this,this.gg);this.Ye=new IN(a,this.Ac,this.Ja,this.Xa);g.L(this,this.Ye);this.Fe=new KN(a);g.L(this,this.Fe);this.oi=new LN(a);g.L(this,this.oi);this.Pc=LJ(function(){return new T1(b)}); g.L(this,this.Pc);this.Zd=new NN(a);g.L(this,this.Zd);this.Xd=LJ(function(){return new AN}); g.L(this,this.Xd);this.xi=LJ(function(){return new BN(f.Ja)}); g.L(this,this.xi);this.Th=LJ(function(){return new tK(f.md,f.Rb,f.fb)}); g.L(this,this.Th);this.Zh=LJ(function(){return new vK(f.Ha,f.Pa,f.Fe,f.Hb)}); g.L(this,this.Zh);this.An=LJ(function(){return new SAa(f.zc,f.Ja,f.Pa,f.Vc,c,f.Ha)}); g.L(this,this.An);this.ri=LJ(function(){return new TL(a,f.Zd,f.Fe,f.Pa,f.Hb,f.rf,f.Ae,f.Xa,f.Ja,f.Ac,f.Tc,f.Id,f.eg,f.Ub,f.qg,f.Ha,f.Pc)}); g.L(this,this.ri);this.Bf={Mw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.md],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.wi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.bd],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Cf]]),Gq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ke],["SLOT_TYPE_IN_PLAYER",this.ke],["SLOT_TYPE_PLAYER_BYTES",this.ke]]),El:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Vf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED", this.Ob],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Ob],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Ob],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Ob],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.gg],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ye],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED", this.Fe],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.gg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.oi],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Nr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Xd],["SLOT_TYPE_FORECASTING",this.Xd],["SLOT_TYPE_IN_PLAYER",this.Xd],["SLOT_TYPE_PLAYER_BYTES",this.xi]]),lr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Th],["SLOT_TYPE_FORECASTING",this.Zh],["SLOT_TYPE_IN_PLAYER",this.An],["SLOT_TYPE_PLAYER_BYTES",this.ri]])};this.listeners=[this.Vc.get()]; this.nw={md:this.md,Qj:this.Ha.get(),ib:this.Ub.get(),Rw:this.Ja.get(),bd:this.bd,Ct:this.fb.get(),aA:null,Xk:this.Vf,qj:this.Vc.get(),Un:this.Xa.get()}}; Scb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=LJ(function(){return new ON}); g.L(this,this.fb);this.Eb=LJ(function(){return new PN(f.fb,f.Ha)}); g.L(this,this.Eb);this.Vc=LJ(function(){return new zN}); g.L(this,this.Vc);this.Rb=LJ(function(){return new xN(a)}); g.L(this,this.Rb);this.Mb=LJ(function(){return new QN(f.fb,f.Eb,f.Ha)}); g.L(this,this.Mb);this.ue=LJ(function(){return new UN}); g.L(this,this.ue);this.Rm=LJ(function(){return new Ncb(b)}); g.L(this,this.Rm);this.eg=LJ(function(){return new M1(b.U())}); g.L(this,this.eg);this.zc=LJ(function(){return new N1(b)}); g.L(this,this.zc);this.Ub=LJ(function(){return new MJ(e)}); g.L(this,this.Ub);this.Tc=LJ(function(){return new s1(b)}); g.L(this,this.Tc);this.Ac=LJ(function(){return new t1(b)}); g.L(this,this.Ac);this.Ae=LJ(function(){return new R1(b)}); g.L(this,this.Ae);this.Id=LJ(function(){return new u1(b)}); g.L(this,this.Id);this.Ha=LJ(function(){return new v1(b)}); g.L(this,this.Ha);this.Uf=LJ(function(){return new L1(d)}); g.L(this,this.Uf);this.Zb=LJ(function(){return new sJ(f.Ha)}); g.L(this,this.Zb);this.ze=LJ(function(){return new pN(f.fb,f.Mb,f.Eb,f.Ha,f.Zb,null,null)}); g.L(this,this.ze);this.qg=LJ(function(){return new S1(b)}); g.L(this,this.qg);this.Xa=LJ(function(){return new F1(b,f.ue,f.Ha)}); g.L(this,this.Xa);this.kc=new TN(this.Ha,this.Zb,this.Xa);g.L(this,this.kc);this.Ja=LJ(function(){return new G1(b,f.Xa,f.Ha)}); g.L(this,this.Ja);this.Hb=LJ(function(){return new y1(f.Ja,b)}); g.L(this,this.Hb);this.Pa=LJ(function(){return new E1(b,f.Vc,f.Hb,f.Xa)}); g.L(this,this.Pa);this.rf=LJ(function(){return new PJ}); g.L(this,this.rf);this.wi=new vN(uFa,U1,function(l,m,n,p){return NFa(f.Eb.get(),l,m,n,p)},this.Rb,this.Mb,this.Eb,this.Zb,this.Ha,this.Xa); g.L(this,this.wi);this.bd=new wN(this.Rb,this.ze,c,this.Ha,a,this.Xa,this.Ja,this.Tc);g.L(this,this.bd);var h=new r1(b,this.bd,this.Ja,this.Xa);this.Bg=LJ(function(){return h}); this.Tt=h;this.Cf=new yN(this.Rb,this.Mb,this.Ac,this.Bg);g.L(this,this.Cf);this.md=new dN(this.Ha,this.Rb,this.Mb,this.ze,this.Xa,this.Cf,c);g.L(this,this.md);this.Uh=LJ(function(){return new $J(f.Uf,f.Eb,f.Zb,f.Ha,f.Pa,f.Ja)}); g.L(this,this.Uh);this.ke=LJ(function(){return new aK}); g.L(this,this.ke);this.Vf=new DN(a,this.zc,this.Ha);g.L(this,this.Vf);this.Ob=new EN(a);g.L(this,this.Ob);this.gg=new HN(a,this.Bg);g.L(this,this.gg);this.Ye=new IN(a,this.Ac,this.Ja,this.Xa);g.L(this,this.Ye);this.Fe=new KN(a);g.L(this,this.Fe);this.oi=new LN(a);g.L(this,this.oi);this.Pc=LJ(function(){return new T1(b)}); g.L(this,this.Pc);this.Zd=new NN(a);g.L(this,this.Zd);this.Xd=LJ(function(){return new AN}); g.L(this,this.Xd);this.xi=LJ(function(){return new BN(f.Ja)}); g.L(this,this.xi);this.Th=LJ(function(){return new tK(f.md,f.Rb,f.fb)}); g.L(this,this.Th);this.Zh=LJ(function(){return new vK(f.Ha,f.Pa,f.Fe,f.Hb)}); g.L(this,this.Zh);this.ri=LJ(function(){return new TL(a,f.Zd,f.Fe,f.Pa,f.Hb,f.rf,f.Ae,f.Xa,f.Ja,f.Ac,f.Tc,f.Id,f.eg,f.Ub,f.qg,f.Ha,f.Pc)}); g.L(this,this.ri);this.H0=LJ(function(){return new MCa(f.zc,f.Ja,f.Pa,f.Vc,f.Rm,c)}); g.L(this,this.H0);this.Bf={Mw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.md],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.wi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.bd],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Cf]]),Gq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ke],["SLOT_TYPE_IN_PLAYER",this.ke],["SLOT_TYPE_PLAYER_BYTES",this.ke]]),El:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Vf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED", this.Ob],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Ob],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Ob],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Ob],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.gg],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ye],["TRIGGER_TYPE_MEDIA_TIME_RANGE", this.Ye],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Fe],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.gg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.oi],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Nr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Xd],["SLOT_TYPE_FORECASTING",this.Xd],["SLOT_TYPE_IN_PLAYER",this.Xd],["SLOT_TYPE_PLAYER_BYTES",this.xi]]),lr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Th],["SLOT_TYPE_FORECASTING",this.Zh],["SLOT_TYPE_IN_PLAYER",this.H0],["SLOT_TYPE_PLAYER_BYTES", this.ri]])};this.listeners=[this.Vc.get()];this.nw={md:this.md,Qj:this.Ha.get(),ib:this.Ub.get(),Rw:this.Ja.get(),bd:this.bd,Ct:this.fb.get(),aA:null,Xk:this.Vf,qj:this.Vc.get(),Un:this.Xa.get()}}; Tcb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=LJ(function(){return new ON}); g.L(this,this.fb);this.Eb=LJ(function(){return new PN(f.fb,f.Ha)}); g.L(this,this.Eb);this.Vc=LJ(function(){return new zN}); g.L(this,this.Vc);this.Rb=LJ(function(){return new xN(a)}); g.L(this,this.Rb);this.Mb=LJ(function(){return new QN(f.fb,f.Eb,f.Ha)}); g.L(this,this.Mb);this.ue=LJ(function(){return new UN}); g.L(this,this.ue);this.Rm=LJ(function(){return new Ncb(b)}); g.L(this,this.Rm);this.eg=LJ(function(){return new M1(b.U())}); g.L(this,this.eg);this.zc=LJ(function(){return new N1(b)}); g.L(this,this.zc);this.Ub=LJ(function(){return new MJ(e)}); g.L(this,this.Ub);this.Tc=LJ(function(){return new s1(b)}); g.L(this,this.Tc);this.Ac=LJ(function(){return new t1(b)}); g.L(this,this.Ac);this.Ae=LJ(function(){return new R1(b)}); g.L(this,this.Ae);this.Id=LJ(function(){return new u1(b)}); g.L(this,this.Id);this.Ha=LJ(function(){return new v1(b)}); g.L(this,this.Ha);this.Uf=LJ(function(){return new L1(d)}); g.L(this,this.Uf);this.Zb=LJ(function(){return new sJ(f.Ha)}); g.L(this,this.Zb);this.ze=LJ(function(){return new pN(f.fb,f.Mb,f.Eb,f.Ha,f.Zb,null,f.Mj,3)}); g.L(this,this.ze);this.qg=LJ(function(){return new S1(b)}); g.L(this,this.qg);this.Xa=LJ(function(){return new F1(b,f.ue,f.Ha)}); g.L(this,this.Xa);this.kc=new TN(this.Ha,this.Zb,this.Xa);g.L(this,this.kc);this.Ef=LJ(function(){return new Q1(b,f.Ha,f.Pa)}); g.L(this,this.Ef);this.Pc=LJ(function(){return new T1(b)}); g.L(this,this.Pc);this.Ja=LJ(function(){return new G1(b,f.Xa,f.Ha)}); g.L(this,this.Ja);this.rf=LJ(function(){return new PJ}); this.Hb=LJ(function(){return new y1(f.Ja,b)}); g.L(this,this.Hb);this.Pa=LJ(function(){return new E1(b,f.Vc,f.Hb,f.Xa)}); g.L(this,this.Pa);this.bd=new wN(this.Rb,this.ze,c,this.Ha,a,this.Xa,this.Ja,this.Tc);g.L(this,this.bd);var h=new r1(b,this.bd,this.Ja,this.Xa,this.Ef);this.Bg=LJ(function(){return h}); this.Tt=h;this.wi=new vN(vFa,U1,function(l,m,n,p){return NFa(f.Eb.get(),l,m,n,p)},this.Rb,this.Mb,this.Eb,this.Zb,this.Ha,this.Xa); g.L(this,this.wi);this.Mj=new rN(this.Rb,this.Mb,this.Bg,this.Ef,this.Ja,this.Ha,this.Pa,this.Pc);g.L(this,this.Mj);this.Cf=new yN(this.Rb,this.Mb,this.Ac,this.Bg);g.L(this,this.Cf);this.md=new dN(this.Ha,this.Rb,this.Mb,this.ze,this.Xa,this.Cf,c);g.L(this,this.md);this.Uh=LJ(function(){return new $J(f.Uf,f.Eb,f.Zb,f.Ha,f.Pa,f.Ja,f.Pc)}); g.L(this,this.Uh);this.ke=LJ(function(){return new aK}); g.L(this,this.ke);this.Vf=new DN(a,this.zc,this.Ha);g.L(this,this.Vf);this.Ob=new EN(a);g.L(this,this.Ob);this.gg=new HN(a,this.Bg);g.L(this,this.gg);this.Ye=new IN(a,this.Ac,this.Ja,this.Xa);g.L(this,this.Ye);this.qw=new JN(a,this.Xa);g.L(this,this.qw);this.Fe=new KN(a);g.L(this,this.Fe);this.oi=new LN(a);g.L(this,this.oi);this.Zd=new NN(a);g.L(this,this.Zd);this.Xd=LJ(function(){return new AN}); g.L(this,this.Xd);this.xi=LJ(function(){return new BN(f.Ja)}); g.L(this,this.xi);this.Th=LJ(function(){return new tK(f.md,f.Rb,f.fb)}); g.L(this,this.Th);this.Zh=LJ(function(){return new vK(f.Ha,f.Pa,f.Fe,f.Hb)}); g.L(this,this.Zh);this.ri=LJ(function(){return new zCa(a,f.Zd,f.Fe,f.Xa,f.Pc,f.Ja,f.Pa,f.ue,f.Ef,f.Hb,f.rf,f.Ae,f.Ac,f.Tc,f.Id,f.eg,f.Ub,f.qg,f.Ha,f.Vc)}); g.L(this,this.ri);this.An=LJ(function(){return new NCa(f.zc,f.Ja,f.Pa,f.Vc,f.Rm,c,f.Ha)}); g.L(this,this.An);this.Bf={Mw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.md],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Mj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.wi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.bd],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Cf]]),Gq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ke],["SLOT_TYPE_IN_PLAYER",this.ke],["SLOT_TYPE_PLAYER_BYTES",this.ke]]),El:new Map([["TRIGGER_TYPE_SKIP_REQUESTED", this.Vf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Ob],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Ob],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Ob],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Ob],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Ob],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.gg],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED", this.Ye],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ye],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.qw],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.qw],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Fe],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.gg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.oi],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Nr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Xd],["SLOT_TYPE_FORECASTING",this.Xd],["SLOT_TYPE_IN_PLAYER",this.Xd],["SLOT_TYPE_PLAYER_BYTES", this.xi]]),lr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Th],["SLOT_TYPE_FORECASTING",this.Zh],["SLOT_TYPE_PLAYER_BYTES",this.ri],["SLOT_TYPE_IN_PLAYER",this.An]])};this.listeners=[this.Vc.get()];this.nw={md:this.md,Qj:this.Ha.get(),ib:this.Ub.get(),Rw:this.Ja.get(),bd:this.bd,Ct:this.fb.get(),aA:null,Xk:this.Vf,qj:this.Vc.get(),Un:this.Xa.get()}}; Vcb=function(a,b,c,d){g.J.call(this);var e=this;this.j=Ucb(function(){return e.B},a,b,c,d); g.L(this,this.j);this.B=(new zza(this.j)).C();g.L(this,this.B)}; V1=function(a){return a.j.nw}; Ucb=function(a,b,c,d,e){try{var f=b.U();if(g.oS(f))var h=new Ocb(a,b,c,d,e);else if(g.qS(f))h=new Pcb(a,b,c,d,e);else if("WEB_MUSIC_EMBEDDED_PLAYER"===g.BR(f))h=new Rcb(a,b,c,d,e);else if(iS(f))h=new Qcb(a,b,c,d,e);else if(g.ZG(f))h=new Scb(a,b,c,d,e);else if(g.dS(f))h=new Tcb(a,b,c,d,e);else throw new TypeError("Unknown web interface");return h}catch(l){return h=b.U(),HG("Unexpected interface not supported in Ads Control Flow",void 0,void 0,{platform:h.j.cplatform,interface:h.j.c,Aib:h.j.cver,zib:h.j.ctheme, yib:h.j.cplayer,fjb:h.playerStyle}),new Fcb(a,b,c,d,e)}}; W1=function(a){this.Wm=a}; Wcb=function(a){var b=new W1(a.Wm),c=new qcb(b);return{U5:function(){return b}, j6:function(){return c}}}; Xcb=function(a){vG.call(this,a)}; Ycb=function(a,b,c,d,e){zG.call(this,a,{I:"div",S:"ytp-ad-timed-pie-countdown-container",V:[{I:"svg",S:"ytp-ad-timed-pie-countdown",X:{viewBox:"0 0 20 20"},V:[{I:"circle",S:"ytp-ad-timed-pie-countdown-background",X:{r:"10",cx:"10",cy:"10"}},{I:"circle",S:"ytp-ad-timed-pie-countdown-inner",X:{r:"5",cx:"10",cy:"10"}},{I:"circle",S:"ytp-ad-timed-pie-countdown-outer",X:{r:"10",cx:"10",cy:"10"}}]}]},"timed-pie-countdown",b,c,d,e);this.D=this.Ga("ytp-ad-timed-pie-countdown-container");this.C=this.Ga("ytp-ad-timed-pie-countdown-inner"); this.G=this.Ga("ytp-ad-timed-pie-countdown-outer");this.B=Math.ceil(10*Math.PI);this.hide()}; Zcb=function(a,b,c,d,e,f){bG.call(this,a,{I:"div",S:"ytp-ad-action-interstitial",X:{tabindex:"0"},V:[{I:"div",S:"ytp-ad-action-interstitial-background-container"},{I:"div",S:"ytp-ad-action-interstitial-slot",V:[{I:"div",S:"ytp-ad-action-interstitial-instream-info"},{I:"div",S:"ytp-ad-action-interstitial-card",V:[{I:"div",S:"ytp-ad-action-interstitial-image-container"},{I:"div",S:"ytp-ad-action-interstitial-headline-container"},{I:"div",S:"ytp-ad-action-interstitial-description-container"},{I:"div", S:"ytp-ad-action-interstitial-action-button-container"}]}]}]},"ad-action-interstitial",b,c,d);this.TR=e;this.FK=f;this.navigationEndpoint=this.j=this.skipButton=this.B=this.actionButton=null;this.Va=this.Ga("ytp-ad-action-interstitial-instream-info");this.Fa=this.Ga("ytp-ad-action-interstitial-image-container");this.Y=new sG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,"ytp-ad-action-interstitial-image");g.L(this,this.Y);this.Y.Da(this.Fa);this.Na=this.Ga("ytp-ad-action-interstitial-headline-container"); this.G=new yG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,"ytp-ad-action-interstitial-headline");g.L(this,this.G);this.G.Da(this.Na);this.qa=this.Ga("ytp-ad-action-interstitial-description-container");this.D=new yG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,"ytp-ad-action-interstitial-description");g.L(this,this.D);this.D.Da(this.qa);this.ob=this.Ga("ytp-ad-action-interstitial-background-container");this.Ka=new sG(this.api,this.layoutId,this.interactionLoggingClientData, this.ib,"ytp-ad-action-interstitial-background",!0);g.L(this,this.Ka);this.Ka.Da(this.ob);this.gb=this.Ga("ytp-ad-action-interstitial-action-button-container");this.slot=this.Ga("ytp-ad-action-interstitial-slot");this.C=new IC;g.L(this,this.C);this.hide()}; $cb=function(a){var b=g.Ze("html5-video-player");b&&g.Nu(b,"ytp-ad-display-override",a)}; ddb=function(a,b,c,d){bG.call(this,a,{I:"div",S:"ytp-ad-overlay-slot",V:[{I:"div",S:"ytp-ad-overlay-container"}]},"invideo-overlay",b,c,d);this.Y=[];this.ob=this.Fa=this.D=this.gb=this.Na=null;this.Va=!1;this.G=null;this.qa=0;a=this.Ga("ytp-ad-overlay-container");this.Ka=new FG(a,45E3,6E3,.3,.4);g.L(this,this.Ka);this.C=adb(this);g.L(this,this.C);this.C.Da(a);this.B=bdb(this);g.L(this,this.B);this.B.Da(a);this.j=cdb(this);g.L(this,this.j);this.j.Da(a);this.hide()}; adb=function(a){var b=new g.aG({I:"div",S:"ytp-ad-text-overlay",V:[{I:"div",S:"ytp-ad-overlay-ad-info-button-container"},{I:"div",S:"ytp-ad-overlay-close-container",V:[{I:"button",S:"ytp-ad-overlay-close-button",V:[kG(edb)]}]},{I:"div",S:"ytp-ad-overlay-title",xa:"{{title}}"},{I:"div",S:"ytp-ad-overlay-desc",xa:"{{description}}"},{I:"div",Ma:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],xa:"{{displayUrl}}"}]});a.T(b.Ga("ytp-ad-overlay-title"),"click",function(c){X1(a,b.element,c)}); a.T(b.Ga("ytp-ad-overlay-link"),"click",function(c){X1(a,b.element,c)}); a.T(b.Ga("ytp-ad-overlay-close-container"),"click",a.Pp);b.hide();return b}; bdb=function(a){var b=new g.aG({I:"div",Ma:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],V:[{I:"div",S:"ytp-ad-overlay-ad-info-button-container"},{I:"div",S:"ytp-ad-overlay-close-container",V:[{I:"button",S:"ytp-ad-overlay-close-button",V:[kG(edb)]}]},{I:"div",S:"ytp-ad-overlay-text-image",V:[{I:"img",X:{src:"{{imageUrl}}"}}]},{I:"div",S:"ytp-ad-overlay-title",xa:"{{title}}"},{I:"div",S:"ytp-ad-overlay-desc",xa:"{{description}}"},{I:"div",Ma:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"], xa:"{{displayUrl}}"}]});a.T(b.Ga("ytp-ad-overlay-title"),"click",function(c){X1(a,b.element,c)}); a.T(b.Ga("ytp-ad-overlay-link"),"click",function(c){X1(a,b.element,c)}); a.T(b.Ga("ytp-ad-overlay-close-container"),"click",a.Pp);a.T(b.Ga("ytp-ad-overlay-text-image"),"click",a.H$);b.hide();return b}; cdb=function(a){var b=new g.aG({I:"div",S:"ytp-ad-image-overlay",V:[{I:"div",S:"ytp-ad-overlay-ad-info-button-container"},{I:"div",S:"ytp-ad-overlay-close-container",V:[{I:"button",S:"ytp-ad-overlay-close-button",V:[kG(edb)]}]},{I:"div",S:"ytp-ad-overlay-image",V:[{I:"img",X:{src:"{{imageUrl}}",width:"{{width}}",height:"{{height}}"}}]}]});a.T(b.Ga("ytp-ad-overlay-image"),"click",function(c){X1(a,b.element,c)}); a.T(b.Ga("ytp-ad-overlay-close-container"),"click",a.Pp);b.hide();return b}; fdb=function(a,b){if(b){var c=g.U(b,$M)||null;if(null==c)g.AF(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else if(b=g.Ze("video-ads ytp-ad-module")||null,null==b)g.AF(Error("Could not locate the root ads container element to attach the ad info dialog."));else if(a.Fa=new g.aG({I:"div",S:"ytp-ad-overlay-ad-info-dialog-container"}),g.L(a,a.Fa),a.Fa.Da(b),b=new xG(a.api,a.layoutId,a.interactionLoggingClientData,a.ib,a.Fa.element,!1),g.L(a,b),b.init(RF("ad-info-hover-text-button"), c,a.macros),a.G){b.Da(a.G,0);b.subscribe("f",a.q8,a);b.subscribe("e",a.qQ,a);a.T(a.G,"click",a.r8);var d=g.Ze("ytp-ad-button",b.element);a.T(d,"click",function(){var e;if(g.U(null==(e=g.U(c.button,g.bN))?void 0:e.serviceEndpoint,jwa))a.Va=2===a.api.getPlayerState(1),a.api.pauseVideo();else a.api.onAdUxClicked("ad-info-hover-text-button",a.layoutId)}); a.ob=b}else g.AF(Error("Ad info button container within overlay ad was not present."))}else g.BF(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))}; hdb=function(a,b){if(gdb(a,Y1)||a.api.pg())return!1;var c=cG(b.title),d=cG(b.description);if(g.gc(c)||g.gc(d))return!1;a.createServerVe(a.C.element,b.trackingParams||null);a.C.updateValue("title",cG(b.title));a.C.updateValue("description",cG(b.description));a.C.updateValue("displayUrl",cG(b.displayUrl));b.navigationEndpoint&&g.Kb(a.Y,b.navigationEndpoint);a.C.show();a.Ka.start();a.logVisibility(a.C.element,!0);a.T(a.C.element,"mouseover",function(){a.qa++}); return!0}; idb=function(a,b){if(gdb(a,Y1)||a.api.pg())return!1;var c=cG(b.title),d=cG(b.description);if(g.gc(c)||g.gc(d))return!1;a.createServerVe(a.B.element,b.trackingParams||null);a.B.updateValue("title",cG(b.title));a.B.updateValue("description",cG(b.description));a.B.updateValue("displayUrl",cG(b.displayUrl));a.B.updateValue("imageUrl",qva(b.image));b.navigationEndpoint&&g.Kb(a.Y,b.navigationEndpoint);a.gb=b.imageNavigationEndpoint||null;a.B.show();a.Ka.start();a.logVisibility(a.B.element,!0);a.T(a.B.element, "mouseover",function(){a.qa++}); return!0}; jdb=function(a,b){if(a.api.pg())return!1;var c=rva(b.image),d=c;c.widthdocument.documentMode)c=Yu;else{var d=document.implementation.createHTMLDocument("").createElement("DIV");d.style.cssText=c;c=nla(d.style)}b=new g.be([c,lga(Ddb,b)].map(jga).join(""),ke);a.style.cssText=ce(b)}}; Fdb=function(a){var b=g.Ze("html5-video-player");b&&g.Nu(b,"ytp-ad-display-override",a)}; h2=function(a,b,c,d,e){zG.call(this,a,{I:"div",S:"ytp-preview-ad",V:[{I:"div",S:"ytp-preview-ad__text"}]},"preview-ad",b,c,d,e);var f=this;this.B=0;this.C=-1;this.G=this.Ga("ytp-preview-ad__text");this.transition=new g.CG(this,400,!1,100,function(){f.hide()},function(){f.show()}); g.L(this,this.transition);this.hide()}; i2=function(a,b,c,d){bG.call(this,a,{I:"img",S:"ytp-ad-avatar"},"ad-avatar",b,c,d);this.hide()}; Gdb=function(a){switch(a.size){case "AD_AVATAR_SIZE_XXS":return 16;case "AD_AVATAR_SIZE_XS":return 24;case "AD_AVATAR_SIZE_S":return 32;case "AD_AVATAR_SIZE_M":return 36;case "AD_AVATAR_SIZE_L":return 56;case "AD_AVATAR_SIZE_XL":return 72;default:return 36}}; j2=function(a,b,c,d){bG.call(this,a,{I:"button",S:"ytp-ad-button-vm"},"ad-button",b,c,d);this.buttonText=this.buttonIcon=null;this.hide()}; Idb=function(a){this.content=a.content;if(a.commandRuns){a=g.v(a.commandRuns);for(var b=a.next();!b.done;b=a.next())b=b.value,this.loggingDirectives=g.U(b,Hdb),b.onTap&&(this.interaction={onTap:b.onTap})}}; k2=function(a,b,c,d){bG.call(this,a,{I:"div",S:"ad-simple-attributed-string"},"ad-simple-attributed-string",b,c,d);this.hide()}; Jdb=function(a,b,c,d,e){zG.call(this,a,{I:"div",Ma:["ytp-ad-avatar-lockup-card--inactive","ytp-ad-avatar-lockup-card"],V:[{I:"div",S:"ytp-ad-avatar-lockup-card__text_container"}]},"ad-avatar-lockup-card",b,c,d,e);this.B=0;this.adAvatar=new i2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.adAvatar);g.qf(this.element,this.adAvatar.element,0);this.headline=new k2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.headline);this.headline.Da(this.Ga("ytp-ad-avatar-lockup-card__text_container")); this.headline.element.classList.add("ytp-ad-avatar-lockup-card__headline");this.description=new k2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.description);this.description.Da(this.Ga("ytp-ad-avatar-lockup-card__text_container"));this.description.element.classList.add("ytp-ad-avatar-lockup-card__description");this.adButton=new j2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.adButton);this.adButton.Da(this.element);this.hide()}; Kdb=function(a,b,c,d){bG.call(this,a,{I:"button",S:"ytp-skip-ad-button",V:[{I:"div",S:"ytp-skip-ad-button__text"}]},"skip-button",b,c,d);var e=this;this.B=!1;this.D=this.Ga("ytp-skip-ad-button__text");this.transition=new g.CG(this,500,!1,100,function(){e.hide()},function(){e.show()}); g.L(this,this.transition);this.j=new FG(this.element,15E3,5E3,.5,.5);g.L(this,this.j);this.hide()}; Ldb=function(a,b,c,d,e){zG.call(this,a,{I:"div",S:"ytp-skip-ad"},"skip-ad",b,c,d,e);this.skipOffsetMilliseconds=0;this.isSkippable=!1;this.B=new h2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j);g.L(this,this.B);this.B.Da(this.element);this.C=new Kdb(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.C);this.C.Da(this.element);this.hide()}; l2=function(a,b,c,d){bG.call(this,a,{I:"button",S:"ytp-visit-advertiser-link"},"visit-advertiser-link",b,c,d);this.hide()}; m2=function(a,b,c,d,e){bG.call(this,a,{I:"div",S:"ytp-ad-player-overlay-layout",V:[{I:"div",S:"ytp-ad-player-overlay-layout__player-card-container"},{I:"div",S:"ytp-ad-player-overlay-layout__ad-info-container"},{I:"div",S:"ytp-ad-player-overlay-layout__skip-or-preview-container"}]},"player-overlay-layout",b,c,d);this.j=e;this.G=this.Ga("ytp-ad-player-overlay-layout__player-card-container");this.B=this.Ga("ytp-ad-player-overlay-layout__ad-info-container");this.D=this.Ga("ytp-ad-player-overlay-layout__skip-or-preview-container"); this.hide()}; n2=function(a,b,c){vG.call(this,a);this.api=a;this.ib=b;this.B={};a=new g.V({I:"div",Ma:["video-ads","ytp-ad-module"]});g.L(this,a);VR&&g.Ju(a.element,"ytp-ads-tiny-mode");this.G=new IE(a.element);g.L(this,this.G);g.pU(this.api,a.element,4);VDa(c)&&(c=new g.V({I:"div",Ma:["ytp-ad-underlay"]}),g.L(this,c),this.C=new IE(c.element),g.L(this,this.C),g.pU(this.api,c.element,0));g.L(this,Rva())}; Mdb=function(a,b){a=g.ld(a.B,b.id,null);null==a&&g.BF(Error("Component not found for element id: "+b.id));return a||null}; Ndb=function(a){g.wV.call(this,a);var b=this;this.B=null;this.created=!1;this.C=new n1(this.player);this.D=function(){if(null!=b.B)return b.B;var d=Wcb({Wm:a.getVideoData(1)});d=new Sbb({Su:d.U5(),Xk:V1(b.j).Xk,TA:d.j6(),Un:V1(b.j).Un,J:b.player,Qj:V1(b.j).Qj,Pa:b.j.j.Pa,qj:V1(b.j).qj,Id:b.j.j.Id});b.B=d.N3;return b.B}; this.j=new Vcb(this.player,this,this.C,this.D);g.L(this,this.j);var c=a.U();!BJ(c)||g.dS(c)||iS(c)||(g.L(this,new n2(a,V1(this.j).ib,V1(this.j).Qj)),g.L(this,new Xcb(a)))}; Odb=function(a){a.created!==a.loaded&&HG("Created and loaded are out of sync")}; Rdb=function(a){g.wV.prototype.load.call(a);var b=V1(a.j).Qj;try{a.player.getRootNode().classList.add("ad-created")}catch(l){HG(l instanceof Error?l:String(l))}var c=a.player.getVideoData(1),d=c&&c.videoId||"",e=c&&c.getPlayerResponse()||{},f=(!a.player.U().experiments.jb("debug_ignore_ad_placements")&&e&&e.adPlacements||[]).map(function(l){return l.adPlacementRenderer}),h=((null==e?void 0:e.adSlots)||[]).map(function(l){return g.U(l,sDa)}); e=e.playerConfig&&e.playerConfig.daiConfig&&e.playerConfig.daiConfig.enableDai||!1;c&&c.Cc();b=Pdb(f,h,b,V1(a.j).Ct);f=c&&c.clientPlaybackNonce||"";c=c&&c.fv||!1;h=1E3*a.player.getDuration(1);Qdb(a);a.j.j.Tt.ek(f,h,c,b.OJ,b.ZU,b.OJ,e,d)}; Qdb=function(a){var b,c;if(c=!((null==(b=a.player.getVideoData(1))?0:b.fv)||g.yB("SERVED_VIA_SPF_HISTORY")))b=a.player.U(),c=BJ(b)&&!g.AJ(b)&&"desktop-polymer"===b.playerStyle;c&&(a=vSa(a.player),a.addEventListener("updateKevlarOrC3Companion",Ewa),a.addEventListener("updateEngagementPanelAction",Gwa),a.addEventListener("changeEngagementPanelVisibility",Iwa),window.addEventListener("yt-navigate-start",Kwa))}; o2=function(a,b){b===a.As&&(a.As=void 0)}; Sdb=function(a){var b=V1(a.j).bd,c=b.B().lO("SLOT_TYPE_PLAYER_BYTES",1);b=b.Xa.get().lf(1).clientPlaybackNonce;var d=!1;c=g.v(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f="SLOT_TYPE_PLAYER_BYTES"===e.slotType&&e.slotEntryTrigger instanceof cM?e.slotEntryTrigger.Ur:void 0;f&&f===b&&(d&&HG("More than 1 preroll playerBytes slot detected",e),d=!0)}d||H1(V1(a.j).Rw)}; Tdb=function(a){if(w1(V1(a.j).Qj))return!0;var b="";a=g.v(V1(a.j).qj.Cl.keys());for(var c=a.next();!c.done;c=a.next()){c=c.value;if("SLOT_TYPE_PLAYER_BYTES"===c.slotType&&"core"===c.bb)return!0;b+=c.slotType+" "}.01>Math.random()&&HG("Ads Playback Not Managed By Controlflow",void 0,null,{slotTypes:b});return!1}; Udb=function(a){a=g.v(V1(a.j).qj.Cl.values());for(var b=a.next();!b.done;b=a.next())if("LAYOUT_TYPE_MEDIA_BREAK"===b.value.layoutType)return!0;return!1}; tDa=function(a,b,c,d,e){c=void 0===c?[]:c;d=void 0===d?"":d;e=void 0===e?"":e;var f=V1(a.j).Qj,h=a.player.getVideoData(1);h&&h.getPlayerResponse();h&&h.Cc();c=Pdb(b,c,f,V1(a.j).Ct);xDa(V1(a.j).md,d,c.OJ,c.ZU,b,e)}; Pdb=function(a,b,c,d){b={OJ:[],ZU:b};a=g.v(a);for(var e=a.next();!e.done;e=a.next())if((e=e.value)&&null!=e.renderer){var f=e.renderer;if(!c.J.U().L("html5_enable_vod_lasr_with_notify_pacf")){var h=void 0,l=void 0,m=void 0,n=void 0,p=d;g.U(null==(n=f.sandwichedLinearAdRenderer)?void 0:n.adVideoStart,oN)?(h=g.U(null==(m=f.sandwichedLinearAdRenderer)?void 0:m.adVideoStart,oN),p=KFa(h,p),g.EF(f.sandwichedLinearAdRenderer.adVideoStart,oN,p)):g.U(null==(l=f.linearAdSequenceRenderer)?void 0:l.adStart,oN)&& (m=g.U(null==(h=f.linearAdSequenceRenderer)?void 0:h.adStart,oN),p=KFa(m,p),g.EF(f.linearAdSequenceRenderer.adStart,oN,p))}b.OJ.push(e)}return b}; Vdb=function(){if(!g.af)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}; g.p2=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;a=g.je(a);return b.parseFromString(g.ie(a),"application/xml")}if(Wdb){b=new ActiveXObject("MSXML2.DOMDocument");b.resolveExternals=!1;b.validateOnParse=!1;try{b.setProperty("ProhibitDTD",!0),b.setProperty("MaxXMLSize",2048),b.setProperty("MaxElementDepth",256)}catch(c){}b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");}; g.q2=function(a){g.J.call(this);this.callback=a;this.j=new av(0,0,.4,0,.2,1,1,1);this.delay=new g.zu(this.next,window,this);g.L(this,this.delay)}; g.Xdb=function(a){var b=a.U();if(!b.Pd||b.C||!g.YR(b))return!1;b=g.bU(a);return g.mU(a)?(a=b.Ok(),315<=Math.min(a.width,a.height)):!b.Jf()}; g.r2=function(a,b){g.V.call(this,{I:"div",S:"ytp-more-videos-view",X:{tabIndex:"-1"}});var c=this;this.api=a;this.sb=b;this.B=!0;this.D=new g.IK(this);this.C=[];this.suggestionData=[];this.columns=this.containerWidth=this.Y=this.G=this.j=0;this.title=new g.V({I:"h2",S:"ytp-related-title",xa:"{{title}}"});this.previous=new g.V({I:"button",Ma:["ytp-button","ytp-previous"],X:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"}, V:[g.fG()]});this.N=new g.q2(function(d){c.suggestions.element.scrollLeft=-d}); this.next=new g.V({I:"button",Ma:["ytp-button","ytp-next"],X:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},V:[g.gG()]});g.L(this,this.D);this.K=a.U().D;g.L(this,this.title);this.title.Da(this.element);this.suggestions=new g.V({I:"div",S:"ytp-suggestions"});g.L(this,this.suggestions);this.suggestions.Da(this.element);g.L(this,this.previous);this.previous.Da(this.element); this.previous.Ta("click",this.F1,this);g.L(this,this.N);Ydb(this);g.L(this,this.next);this.next.Da(this.element);this.next.Ta("click",this.E1,this);this.D.T(this.api,"appresize",this.Ib);this.D.T(this.api,"fullscreentoggled",this.xr);this.D.T(this.api,"videodatachange",this.onVideoDataChange);this.Ib(this.api.kb().getPlayerSize());this.onVideoDataChange()}; Ydb=function(a){for(var b={Iz:0};16>b.Iz;b={Iz:b.Iz},++b.Iz){var c=new g.V({I:"a",S:"ytp-suggestion-link",X:{href:"{{link}}",target:a.api.U().Y,"aria-label":"{{aria_label}}"},V:[{I:"div",S:"ytp-suggestion-image"},{I:"div",S:"ytp-suggestion-overlay",X:{style:"{{blink_rendering_hack}}","aria-hidden":"{{aria_hidden}}"},V:[{I:"div",S:"ytp-suggestion-title",xa:"{{title}}"},{I:"div",S:"ytp-suggestion-author",xa:"{{author_and_views}}"},{I:"div",X:{"data-is-live":"{{is_live}}"},S:"ytp-suggestion-duration", xa:"{{duration}}"}]}]});g.L(a,c);var d=c.Ga("ytp-suggestion-link");g.Vr(d,"transitionDelay",b.Iz/20+"s");a.D.T(d,"click",function(e){return function(f){var h=e.Iz;if(a.B){var l=a.suggestionData[h],m=l.sessionData;a.K&&a.api.L("web_player_log_click_before_generating_ve_conversion_params")?(a.api.logClick(a.C[h].element),h=l.Pk(),l={},g.FSa(a.api,l,"emb_rel_pause"),h=g.tm(h,l),g.GU(h,a.api,f)):g.FU(f,a.api,a.K,m||void 0)&&a.api.Co(l.videoId,m,l.playlistId)}else f.preventDefault(),document.activeElement.blur()}}(b)); c.Da(a.suggestions.element);a.C.push(c);a.api.createServerVe(c.element,c)}}; Zdb=function(a){if(a.api.U().L("web_player_log_click_before_generating_ve_conversion_params"))for(var b=Math.floor(-a.j/(a.G+8)),c=Math.min(b+a.columns,a.suggestionData.length)-1;b<=c;b++)a.api.logVisibility(a.C[b].element,!0)}; g.s2=function(a){var b=a.sb.Xf()?32:16;b=a.Y/2+b;a.next.element.style.bottom=b+"px";a.previous.element.style.bottom=b+"px";b=a.j;var c=a.containerWidth-a.suggestionData.length*(a.G+8);g.Nu(a.element,"ytp-scroll-min",0<=b);g.Nu(a.element,"ytp-scroll-max",b<=c)}; aeb=function(a){for(var b=a.suggestionData.length,c=0;cb)for(;16>b;++b)c=a.C[b].Ga("ytp-suggestion-link"),g.Vr(c,"display","none");g.s2(a)}; aaa=[];ka="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; g.ia=caa(this);oa("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)} function c(f,h){this.j=f;ka(this,"description",{configurable:!0,writable:!0,value:h})} if(a)return a;c.prototype.toString=function(){return this.j}; var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b}); oa("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=e}}); oa("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ma(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}}); oa("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}}); oa("String.prototype.repeat",function(a){return a?a:function(b){var c=Ma(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); oa("Set",function(a){function b(c){this.j=new Map;if(c){c=g.v(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.v([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}); oa("Array.prototype.values",function(a){return a?a:function(){return La(this,function(b,c){return c})}}); oa("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}}); oa("Math.log2",function(a){return a?a:function(b){return Math.log(b)/Math.LN2}}); oa("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push(b[d]);return c}}); oa("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}}); oa("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);c>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}}); oa("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c; })})}}); oa("Array.prototype.findIndex",function(a){return a?a:function(b,c){return kaa(this,b,c).i}}); oa("Math.sign",function(a){return a?a:function(b){b=Number(b);return 0===b||isNaN(b)?b:0c?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}}); oa("Int8Array.prototype.copyWithin",Qa);oa("Uint8Array.prototype.copyWithin",Qa);oa("Uint8ClampedArray.prototype.copyWithin",Qa);oa("Int16Array.prototype.copyWithin",Qa);oa("Uint16Array.prototype.copyWithin",Qa);oa("Int32Array.prototype.copyWithin",Qa);oa("Uint32Array.prototype.copyWithin",Qa);oa("Float32Array.prototype.copyWithin",Qa);oa("Float64Array.prototype.copyWithin",Qa); oa("Math.clz32",function(a){return a?a:function(b){b=Number(b)>>>0;if(0===b)return 32;var c=0;0===(b&4294901760)&&(b<<=16,c+=16);0===(b&4278190080)&&(b<<=8,c+=8);0===(b&4026531840)&&(b<<=4,c+=4);0===(b&3221225472)&&(b<<=2,c+=2);0===(b&2147483648)&&c++;return c}}); oa("Number.parseInt",function(a){return a||parseInt}); oa("String.raw",function(a){return a?a:function(b,c){if(null==b)throw new TypeError("Cannot convert undefined or null to object");for(var d=b.raw,e=d.length,f="",h=0;h>>0);laa=0;g.k=ob.prototype;g.k.v4=function(a){var b=g.Ka.apply(1,arguments),c=this.QN(b);c?c.push(new oaa(a)):this.k_(a,b)}; g.k.k_=function(a){var b=this.getKey(g.Ka.apply(1,arguments));this.j.set(b,[new oaa(a)])}; g.k.QN=function(){var a=this.getKey(g.Ka.apply(0,arguments));return this.j.has(a)?this.j.get(a):void 0}; g.k.X5=function(){var a=this.QN(g.Ka.apply(0,arguments));return a&&a.length?a[0]:void 0}; g.k.clear=function(){this.j.clear()}; g.k.getKey=function(){var a=g.Ka.apply(0,arguments);return a?a.join(","):"key"};g.w(qb,ob);qb.prototype.D=function(a){var b=g.Ka.apply(1,arguments),c=0,d=this.X5(b);d&&(c=d.j);this.k_(c+a,b)};g.w(rb,ob);rb.prototype.zi=function(a){this.v4(a,g.Ka.apply(1,arguments))};g.k=g.J.prototype;g.k.Tx=!1;g.k.isDisposed=function(){return this.Tx}; g.k.dispose=function(){this.Tx||(this.Tx=!0,this.ya())}; g.k.addOnDisposeCallback=function(a,b){this.Tx?void 0!==b?a.call(b):a():(this.Pm||(this.Pm=[]),this.Pm.push(void 0!==b?(0,g.fb)(a,b):a))}; g.k.ya=function(){if(this.Pm)for(;this.Pm.length;)this.Pm.shift()()};g.lb(ub,Error);ub.prototype.name="CustomError";var Yba;g.lb(vb,ub);vb.prototype.name="AssertionError";g.wb.prototype.stopPropagation=function(){this.B=!0}; g.wb.prototype.preventDefault=function(){this.defaultPrevented=!0};var raa,nr,js;raa=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.cc=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;f/g,Jaa=/"/g,Kaa=/'/g,Laa=/\x00/g,Faa=/[\x00&<>"']/;var tc,leb=g.Ra.navigator;tc=leb?leb.userAgentData||null:null;Lc[" "]=function(){};var Wr,WY,qbb,meb,neb,oeb,UR,VR,peb;g.WR=zc();g.af=Ac();g.LD=xc("Edge");g.rS=g.LD||g.af;Wr=xc("Gecko")&&!(jc(g.oc(),"WebKit")&&!xc("Edge"))&&!(xc("Trident")||xc("MSIE"))&&!xc("Edge");g.Sc=jc(g.oc(),"WebKit")&&!xc("Edge");WY=Kc();qbb=Saa();g.oC=Raa();meb=Ic();neb=xc("iPad");oeb=xc("iPod");UR=Jc();VR=jc(g.oc(),"KaiOS"); a:{var qeb="",reb=function(){var a=g.oc();if(Wr)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.LD)return/Edge\/([\d\.]+)/.exec(a);if(g.af)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Sc)return/WebKit\/(\S+)/.exec(a);if(g.WR)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); reb&&(qeb=reb?reb[1]:"");if(g.af){var seb=Vaa();if(null!=seb&&seb>parseFloat(qeb)){peb=String(seb);break a}}peb=qeb}var Oc=peb,Taa={},teb;if(g.Ra.document&&g.af){var ueb=Vaa();teb=ueb?ueb:parseInt(Oc,10)||void 0}else teb=void 0;var Waa=teb;var lWa=Xaa("AnimationEnd"),cTa=Xaa("TransitionEnd");g.lb(Tc,g.wb);var veb={2:"touch",3:"pen",4:"mouse"}; Tc.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?Wr&&(Nc(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=g.Sc||void 0!== a.offsetX?a.offsetX:a.layerX,this.offsetY=g.Sc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"=== typeof a.pointerType?a.pointerType:veb[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.j=a;a.defaultPrevented&&Tc.Nf.preventDefault.call(this)}; Tc.prototype.stopPropagation=function(){Tc.Nf.stopPropagation.call(this);this.j.stopPropagation?this.j.stopPropagation():this.j.cancelBubble=!0}; Tc.prototype.preventDefault=function(){Tc.Nf.preventDefault.call(this);var a=this.j;a.preventDefault?a.preventDefault():a.returnValue=!1};var Yaa="closure_listenable_"+(1E6*Math.random()|0);var Zaa=0;var eba="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");g.k=td.prototype;g.k.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.j++);var h=vd(a,b,d,e);-1>>0);g.lb(g.Ed,g.J);g.Ed.prototype[Yaa]=!0;g.k=g.Ed.prototype;g.k.addEventListener=function(a,b,c,d){g.xd(this,a,b,c,d)}; g.k.removeEventListener=function(a,b,c,d){lba(this,a,b,c,d)}; g.k.dispatchEvent=function(a){var b=this.JQ;if(b){var c=[];for(var d=1;b;b=b.JQ)c.push(b),++d}b=this.r4;d=a.type||a;if("string"===typeof a)a=new g.wb(a,b);else if(a instanceof g.wb)a.target=a.target||b;else{var e=a;a=new g.wb(d,b);g.sd(a,e)}e=!0;if(c)for(var f=c.length-1;!a.B&&0<=f;f--){var h=a.currentTarget=c[f];e=Gd(h,d,!0,a)&&e}a.B||(h=a.currentTarget=b,e=Gd(h,d,!0,a)&&e,a.B||(e=Gd(h,d,!1,a)&&e));if(c)for(f=0;!a.B&&feh.length&&eh.push(this)}; g.k.clear=function(){this.B=null;this.G=!1;this.j=this.C=this.D=0;this.IG=!1}; g.k.reset=function(){this.j=this.D}; g.k.advance=function(a){Yg(this,this.j+a)}; var eh=[];fh.prototype.free=function(){this.j.clear();this.B=this.D=-1;100>t2.length&&t2.push(this)}; fh.prototype.reset=function(){this.j.reset();this.C=this.j.j;this.B=this.D=-1}; fh.prototype.advance=function(a){this.j.advance(a)}; var t2=[];var tda,wda;Fh.prototype.length=function(){return this.j.length}; Fh.prototype.end=function(){var a=this.j;this.j=[];return a};var u2="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;Math.max.apply(Math,g.ra(Object.values({FGa:1,zGa:2,qGa:4,AVa:8,zVa:16,TRa:32,yra:64,F9a:128,vDa:256,sDa:512,AGa:1024,WCa:2048,z6a:4096,XCa:8192})));var Qh=u2?function(a,b){a[u2]|=b}:function(a,b){void 0!==a.Bn?a.Bn|=b:Object.defineProperties(a,{Bn:{value:b, configurable:!0,writable:!0,enumerable:!1}})},lj=u2?function(a,b){a[u2]&=~b}:function(a,b){void 0!==a.Bn&&(a.Bn&=~b)},Nh=u2?function(a){return a[u2]|0}:function(a){return a.Bn|0},cj=u2?function(a){return a[u2]}:function(a){return a.Bn},Oh=u2?function(a,b){a[u2]=b}:function(a,b){void 0!==a.Bn?a.Bn=b:Object.defineProperties(a,{Bn:{value:b, configurable:!0,writable:!0,enumerable:!1}})};var Fi={},Fda={},Ceb,aea=!keb,kj,Deb=[];Oh(Deb,55);kj=Object.freeze(Deb);var Xh,aj;var Nda=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var Xi,Zi,Yda;Object.freeze({});g.k=S.prototype;g.k.toJSON=function(){if(Ceb)var a=Bk(this,this.ea,!1);else a=bj(this.ea,dea,void 0,void 0,!1,!1),a=Bk(this,a,!0);return a}; g.k.Aj=function(){Ceb=!0;try{return JSON.stringify(this.toJSON(),$da)}finally{Ceb=!1}}; g.k.clone=function(){var a=this.ea;return Yi(this.constructor,dj(a,cj(a),!1))}; g.k.Xv=function(){return!!(Nh(this.ea)&2)}; g.k.eJ=Fi;g.k.toString=function(){return Bk(this,this.ea,!1).toString()};var yea=Symbol(),Ek,Fk,Hk=Symbol(),Fea=Symbol(),Kk=Symbol(),Lk=Symbol(),Eeb=Mk(function(a,b,c){if(1!==a.B)return!1;Ok(b,c,ch(a.j));return!0},Pk),Feb=Mk(function(a,b,c){if(1!==a.B)return!1; a=ch(a.j);Ok(b,c,0===a?void 0:a);return!0},Pk),Geb=Mk(function(a,b,c,d){if(1!==a.B)return!1; Hj(b,c,d,ch(a.j));return!0},Pk),Heb=Mk(function(a,b,c){if(0!==a.B)return!1; Ok(b,c,Zg(a.j));return!0},Qk),Ieb=Mk(function(a,b,c){if(0!==a.B)return!1; a=Zg(a.j);Ok(b,c,0===a?void 0:a);return!0},Qk),Jeb=Mk(function(a,b,c,d){if(0!==a.B)return!1; Hj(b,c,d,Zg(a.j));return!0},Qk),Keb=Mk(function(a,b,c){if(0!==a.B)return!1; Ok(b,c,$g(a.j));return!0},Rk),Leb=Mk(function(a,b,c){if(0!==a.B)return!1; a=$g(a.j);Ok(b,c,0===a?void 0:a);return!0},Rk),Meb=Mk(function(a,b,c,d){if(0!==a.B)return!1; Hj(b,c,d,$g(a.j));return!0},Rk),Neb=Mk(function(a,b,c){if(1!==a.B)return!1; Ok(b,c,bh(a.j));return!0},function(a,b,c){Bda(a,c,Vda(b))}),Oeb=Nk(function(a,b,c){if(1!==a.B&&2!==a.B)return!1; b=mj(b,cj(b),c,2,!1);if(2==a.B)for(c=$g(a.j)>>>0,c=a.j.j+c;a.j.j>>0);return!0},function(a,b,c){b=vi(b); null!=b&&null!=b&&(Jh(a,c,0),Gh(a.j,b))}),Veb=Mk(function(a,b,c){if(0!==a.B)return!1; Ok(b,c,$g(a.j));return!0},function(a,b,c){b=ui(b); null!=b&&(b=parseInt(b,10),Jh(a,c,0),zda(a.j,b))});g.w(Uk,S);Uk.yb=[1,2,3,4];g.w(Vk,S);var tl=[1,2,3],Web=[0,tl,Seb,Meb,Qeb];var Xeb=[0,w2,[0,Eeb,Heb]];g.w(ol,S);var sl=[1,2,3],Yeb=[0,sl,Jeb,Geb,x2,Xeb];g.w(pl,S);pl.yb=[1];var Zeb=[0,w2,Web,Yeb];var $eb=[0,[1,2,3],x2,[0,v2,-1,Peb],x2,[0,v2,-1,Keb,Peb],x2,[0,v2]];g.w(ql,S);ql.prototype.vp=function(){var a=nea(this,3,void 0,3,!0);Hda(a);return a[void 0]}; ql.yb=[3,6,4];ql.prototype.j=Qea([0,v2,$eb,Reb,w2,Zeb,Neb,Oeb]);g.w(rl,S);rl.yb=[1];var Xea={};g.k=ul.prototype;g.k.isEnabled=function(){if(!g.Ra.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{TI:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0}; g.k.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.pjb;d=c.cba||!1;var f=c.domain||void 0;var h=c.path||void 0;var l=c.TI}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===l&&(l=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";l=0>l?"":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.Eaa||401===a||0===a}; Gm.prototype.CF=function(a){this.j.CF(a);return this}; Gm.prototype.build=function(a,b,c,d,e,f){b=void 0===b?0:b;e=void 0===e?0:e;f=void 0===f?0:f;c=void 0===c?0:c;if(jj(Km(this),zm,11)){var h=Lm(this);Xj(h,3,c)}jj(Km(this),zm,11)&&(c=Lm(this),Xj(c,4,e));jj(Km(this),zm,11)&&(e=Lm(this),Xj(e,5,f));f=this.j.clone();e=Date.now().toString();f=ij(f,4,yi(e));a=Mj(f,Dm,3,a);d&&(f=new zl,d=Xj(f,13,d),f=new Al,d=N(f,zl,2,d),f=new Cm,d=N(f,Al,1,d),d=R(d,2,9),N(a,Cm,18,d));b&&vk(a,14,b);return a};tfa.prototype.Aj=function(a){var b=[];Nm(this,a,b);return b.join("")}; var wfa={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},vfa=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;Om.prototype.C=null;Om.prototype.getOptions=function(){return this.C||(this.C=this.D())};var bfb;g.lb(Pm,Om);Pm.prototype.j=function(){var a=yfa(this);return a?new ActiveXObject(a):new XMLHttpRequest}; Pm.prototype.D=function(){var a={};yfa(this)&&(a[0]=!0,a[1]=!0);return a}; bfb=new Pm;g.lb(g.Qm,g.Ed);var Gfa=/^https?$/i,cfb=["POST","PUT"],zfa=[];g.k=g.Qm.prototype;g.k.S4=function(){this.dispose();g.Fb(zfa,this)}; g.k.send=function(a,b,c,d){if(this.j)throw Error("[goog.net.XhrIo] Object is active with another request="+this.ma+"; newUri="+a);b=b?b.toUpperCase():"GET";this.ma=a;this.D="";this.B=0;this.Ea=!1;this.C=!0;this.j=this.Z?this.Z.j():bfb.j();this.Aa=this.Z?this.Z.getOptions():bfb.getOptions();this.j.onreadystatechange=(0,g.fb)(this.fZ,this);try{this.getStatus(),this.Fa=!0,this.j.open(b,String(a),!0),this.Fa=!1}catch(h){this.getStatus();Dfa(this,h);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)=== Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=g.v(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()}); e=g.Ra.FormData&&a instanceof g.Ra.FormData;!g.Cb(cfb,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=g.v(c);for(d=b.next();!d.done;d=b.next())c=g.v(d.value),d=c.next().value,c=c.next().value,this.j.setRequestHeader(d,c);this.Ka&&(this.j.responseType=this.Ka);"withCredentials"in this.j&&this.j.withCredentials!==this.K&&(this.j.withCredentials=this.K);try{Ffa(this),0>>3;1!=f.C&&2!=f.C&&15!=f.C&&bp(f,h,l,"unexpected tag");f.j=1;f.B=0;f.D=0} function c(m){f.D++;5==f.D&&m&240&&bp(f,h,l,"message length too long");f.B|=(m&127)<<7*(f.D-1);m&128||(f.j=2,f.Z=0,"undefined"!==typeof Uint8Array?f.G=new Uint8Array(f.B):f.G=Array(f.B),0==f.B&&e())} function d(m){f.G[f.Z++]=m;f.Z==f.B&&e()} function e(){if(15>f.C){var m={};m[f.C]=f.G;f.N.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?ip(this,7):7==c?ip(this,8):d||ip(this,3)),this.B||(this.B=Pga(this.j),null==this.B&&ip(this,5)),2this.C){var h=a.length;c=[];try{if(this.B.EG())for(var l=0;lthis.C){l=e.slice(this.C);this.C=e.length;try{var n=this.B.parse(l);null!=n&&this.G&&this.G(n)}catch(p){ip(this,5);jp(this);break a}}4==b?(0!=e.length|| this.Y?ip(this,2):ip(this,4),jp(this)):ip(this,1)}}}catch(p){ip(this,6),jp(this)}};g.k=Qga.prototype;g.k.on=function(a,b){var c=this.B[a];c||(c=[],this.B[a]=c);c.push(b);return this}; g.k.addListener=function(a,b){this.on(a,b);return this}; g.k.removeListener=function(a,b){var c=this.B[a];c&&g.Fb(c,b);(a=this.j[a])&&g.Fb(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.S8=function(a){var b=this.B.data;b&&Rga(a,b);(b=this.j.data)&&Rga(a,b);this.j.data=[]}; g.k.B$=function(){switch(this.C.getStatus()){case 1:kp(this,"readable");break;case 5:case 6:case 4:case 7:case 3:kp(this,"error");break;case 8:kp(this,"close");break;case 2:kp(this,"end")}};Sga.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return Tga(function(h){var l=h.UH(),m=h.getMetadata(),n=Wga(e,!1);m=Xga(e,m,n,f+l.getName());var p=Yga(n,l.B,!0);h=l.j(h.j);n.send(m,"POST",h);return p},this.D).call(this,wga(d,b,c))};mp.prototype.create=function(a,b){return lp(this.j,this.B+"/$rpc/google.internal.waa.v1.Waa/Create",a,b||{},gfb)}; mp.prototype.ping=function(a,b){return lp(this.j,this.B+"/$rpc/google.internal.waa.v1.Waa/Ping",a,b||{},ifb)};var pfb=1,tp=new WeakMap;g.w(np,g.J);np.prototype.signal=function(){var a=new pp(!1);this.signals.add(a);g.L(this,a);return a}; np.prototype.Wz=function(a){this.signals.has(a);return a.Wz()}; g.w(pp,g.J);g.k=pp.prototype;g.k.HM=function(){var a=this,b=pfb++;qp(function(){$ga(a,b)}); return b}; g.k.detach=function(a){var b=this;qp(function(){var c=b.slots.get(a);c&&c.OV()})}; g.k.value=function(a){return this.promise(!0,a)}; g.k.Wz=function(){return this.OX}; g.k.next=function(a){return this.promise(!1,a)}; g.k.promise=function(a,b){var c=this,d=qca();qp(function(){if(c.isDisposed())d.reject(new bg("Signal initially disposed"));else if(b&&b.isDisposed())d.reject(new bg("Owner initially disposed"));else if(a&&c.oV&&c.eX)d.resolve(c.OX);else if(c.iB.add(d),ag(d.promise,function(){c.iB.delete(d)}),b){var e=function(){d.reject(new bg("Owner asynchronously disposed"))}; ag(d.promise,function(){var f=tp.get(b);f&&g.Fb(f,e)}); dha(b,e)}}); return d.promise}; g.k.ya=function(){var a=this;g.J.prototype.ya.call(this);qp(function(){for(var b=g.v(a.slots.values()),c=b.next();!c.done;c=b.next())c=c.value.OV,c();a.slots.clear();b=g.v(a.iB);for(c=b.next();!c.done;c=b.next())c.value.reject(new bg("Signal asynchronously disposed"));a.iB.clear()})}; var rp=[],sp=!1;g.w(up,g.J);up.prototype.start=function(){var a=this;if(this.isDisposed())throw new wp("Cannot start a disposed timer.");if(!this.K){this.D=0;if(this.N){var b=Date.now();this.handle=setInterval(function(){a.D=0=this.ma&&this.D.resolve();var b=xp(a,this.logger),c=new vn(this.logger,"C"),d=this.Z(b);c.done();if(void 0===d)throw new yp(17,Error("YNJ:Undefined"));if(!(d instanceof Uint8Array))throw new yp(18,Error("ODM:Invalid"));var e;if(null==(e=a.Py)?0:e.Hba){var f;null==(f=this.N())||Tfa(f,b,d,a.Py.nV,this.K)}return d}; g.w(Cp,zp);Cp.prototype.j=function(){return this.K}; g.w(Dp,zp);Dp.prototype.j=function(){return ug(this.K)}; Dp.prototype.G=function(){return this.K}; g.w(Ep,zp);Ep.prototype.j=function(){if(this.K)return this.K;this.K=iha(this,function(a){return"_"+aga(a)}); return iha(this,function(a){return a})}; g.w(Fp,zp);Fp.prototype.j=function(a){var b=xp(a,this.logger);if(118>24&255,a>>16&255,a>>8&255,a&255]);a=new Uint8Array(2+d.length+b.length);a[0]=34;a[1]=d.length+b.length;a.set(d,2);a.set(b,2+d.length);b=a.subarray(2);for(d=c=c.length;dd)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.C;break}c=null==c?f:c}}d="";null!=c&&(d=b+"trn="+c);return a+d};pr.prototype.setInterval=function(a,b){return Wp.setInterval(a,b)}; pr.prototype.clearInterval=function(a){Wp.clearInterval(a)}; pr.prototype.setTimeout=function(a,b){return Wp.setTimeout(a,b)}; pr.prototype.clearTimeout=function(a){Wp.clearTimeout(a)};g.w(rr,S);rr.prototype.j=Qea([0,Feb,Ieb,-2,Leb]);var Xha={EYa:1,m4:2,FRa:3};Zha.prototype.aR=function(a){if("string"===typeof a&&0!=a.length){var b=this.Ic;if(b.B){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};Pr.prototype.equals=function(a,b){return!!a&&(!(void 0===b?0:b)||this.volume==a.volume)&&this.C==a.C&&Nr(this.j,a.j)&&!0};Qr.prototype.Ab=function(){return this.N}; Qr.prototype.equals=function(a,b){return this.D.equals(a.D,void 0===b?!1:b)&&this.N==a.N&&Nr(this.C,a.C)&&Nr(this.K,a.K)&&this.j==a.j&&this.G==a.G&&this.B==a.B&&this.Z==a.Z};var rfb={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},qt={d4:"start",v1:"firstquartile",T3:"midpoint",f4:"thirdquartile",b1:"complete",ERROR:"error",S3:"metric",PAUSE:"pause",Z3:"resume",a4:"skip",l4:"viewable_impression",V3:"mute",j4:"unmute",w1:"fullscreen",t1:"exitfullscreen",Y0:"bufferstart",X0:"bufferfinish",z1:"fully_viewable_audible_half_duration_impression",R3:"measurable_impression",Q0:"abandon",s1:"engagedview",C1:"impression",e1:"creativeview",Q3:"loaded",f_a:"progress", CLOSE:"close",ira:"collapse",DWa:"overlay_resize",EWa:"overlay_unmeasurable_impression",FWa:"overlay_unviewable_impression",HWa:"overlay_viewable_immediate_impression",GWa:"overlay_viewable_end_of_session_impression",j1:"custom_metric_viewable",T0:"audio_audible",V0:"audio_measurable",U0:"audio_impression"},Kka="start firstquartile midpoint thirdquartile resume loaded".split(" "),Lka=["start","firstquartile","midpoint","thirdquartile"],Bja=["abandon"],Mt={UNKNOWN:-1,d4:0,v1:1,T3:2,f4:3,b1:4,S3:5, PAUSE:6,Z3:7,a4:8,l4:9,V3:10,j4:11,w1:12,t1:13,z1:14,R3:15,Q0:16,s1:17,C1:18,e1:19,Q3:20,j1:21,Y0:22,X0:23,U0:27,V0:28,T0:29};var mia={Eda:"addEventListener",cDa:"getMaxSize",dDa:"getScreenSize",eDa:"getState",fDa:"getVersion",B_a:"removeEventListener",LGa:"isViewable"};g.k=g.Sr.prototype;g.k.clone=function(){return new g.Sr(this.left,this.top,this.width,this.height)}; g.k.contains=function(a){return a instanceof g.pe?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.getSize=function(){return new g.ue(this.width,this.height)}; g.k.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; g.k.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; g.k.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; g.k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var qia={};zia.prototype.update=function(a){a&&a.document&&(this.N=Rr(!1,a,this.isMobileDevice),this.j=Rr(!0,a,this.isMobileDevice),Bia(this,a),Aia(this,a))};ns.prototype.cancel=function(){qr().clearTimeout(this.j);this.j=null}; ns.prototype.schedule=function(){var a=this,b=qr(),c=tr().j.j;this.j=b.setTimeout(sr(c,Er(143,function(){a.B++;a.C.sample()})),lia())};g.k=os.prototype;g.k.iC=function(){return!1}; g.k.initialize=function(){return this.isInitialized=!0}; g.k.qz=function(){return this.j.Fa}; g.k.PD=function(){return this.j.ma}; g.k.fail=function(a,b){if(!this.ma||(void 0===b?0:b))this.ma=!0,this.Fa=a,this.Z=0,this.j!=this||qs(this)}; g.k.getName=function(){return this.j.Sa}; g.k.Zs=function(){return this.j.tW()}; g.k.tW=function(){return{}}; g.k.Nq=function(){return this.j.Z}; g.k.CT=function(){var a=ks();a.j=Rr(!0,this.C,a.isMobileDevice)}; g.k.DT=function(){Aia(ks(),this.C)}; g.k.JW=function(){return this.D.j}; g.k.sample=function(){}; g.k.isActive=function(){return this.j.K}; g.k.Bz=function(a){var b=this.j;this.j=a.Nq()>=this.Z?a:this;b!==this.j?(this.K=this.j.K,qs(this)):this.K!==this.j.K&&(this.K=this.j.K,qs(this))}; g.k.zt=function(a){if(a.B===this.j){var b=!this.D.equals(a,this.Y);this.D=a;b&&Eia(this)}}; g.k.Zp=function(){return this.Y}; g.k.dispose=function(){this.Ea=!0}; g.k.isDisposed=function(){return this.Ea};g.k=rs.prototype;g.k.LL=function(){return!0}; g.k.vG=function(){}; g.k.dispose=function(){if(!this.isDisposed()){var a=this.B;g.Fb(a.G,this);a.Y&&this.Zp()&&Dia(a);this.vG();this.ma=!0}}; g.k.isDisposed=function(){return this.ma}; g.k.Zs=function(){return this.B.Zs()}; g.k.Nq=function(){return this.B.Nq()}; g.k.qz=function(){return this.B.qz()}; g.k.PD=function(){return this.B.PD()}; g.k.Bz=function(){}; g.k.zt=function(){this.Fs()}; g.k.Zp=function(){return this.qa};g.k=ts.prototype;g.k.Nq=function(){return this.j.Nq()}; g.k.qz=function(){return this.j.qz()}; g.k.PD=function(){return this.j.PD()}; g.k.create=function(a,b,c){var d=null;this.j&&(d=this.wG(a,b,c),ps(this.j,d));return d}; g.k.ET=function(){return this.jC()}; g.k.jC=function(){return!1}; g.k.init=function(a){return this.j.initialize()?(ps(this.j,this),this.D=a,!0):!1}; g.k.Bz=function(a){0==a.Nq()&&this.D(a.qz(),this)}; g.k.zt=function(){}; g.k.Zp=function(){return!1}; g.k.dispose=function(){this.G=!0}; g.k.isDisposed=function(){return this.G}; g.k.Zs=function(){return{}};us.prototype.add=function(a,b,c){++this.C;a=new Fia(a,b,c);this.j.push(new Fia(a.j,a.Vd,a.B+this.C/4096));this.B=!0;return this};Kia.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=ws(this.j);0=h;h=!(0=h)||c;this.j[e].update(f&&l,d,!f||h)}};Ns.prototype.update=function(a,b,c,d){this.N=-1!=this.N?Math.min(this.N,b.Ce):b.Ce;this.qa=Math.max(this.qa,b.Ce);this.Aa=-1!=this.Aa?Math.min(this.Aa,b.qk):b.qk;this.Fa=Math.max(this.Fa,b.qk);this.gb.update(b.qk,c.qk,b.j,a,d);this.B.update(b.Ce,c.Ce,b.j,a,d);c=d||c.Yv!=b.Yv?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.j;this.Sa.update(c,a,b)}; Ns.prototype.er=function(){return this.Sa.C>=this.Za};if(ls&&ls.URL){var sfb=ls.URL,tfb;if(tfb=!!sfb){var ufb;a:{if(sfb){var vfb=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var B2=vfb.exec(decodeURIComponent(sfb));if(B2){ufb=B2[1]&&1=(this.Yv()?.3:.5),this.vS(f,a,d),this.Lp=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 Lr(0,0,0,0):a;a=this.B.D;b=e=d=0;0<(this.j.bottom-this.j.top)*(this.j.right-this.j.left)&&(this.DX(c)?c=new Lr(0,0,0,0):(d=ks().D,b=new Lr(0,d.height,d.width,0),d=Rs(c,this.j),e=Rs(c,ks().j),b=Rs(c,b)));c=c.top>=c.bottom||c.left>=c.right?new Lr(0,0,0, 0):Or(c,-this.j.left,-this.j.top);ms()||(e=d=0);this.N=new Qr(a,this.element,this.j,c,d,e,this.timestamp,b)}; g.k.getName=function(){return this.B.getName()};var Afb=new Lr(0,0,0,0);g.w(jt,ht);g.k=jt.prototype;g.k.LL=function(){this.C();return!0}; g.k.zt=function(){ht.prototype.Fs.call(this)}; g.k.qV=function(){}; g.k.SM=function(){}; g.k.Fs=function(){this.C();ht.prototype.Fs.call(this)}; g.k.Bz=function(a){a=a.isActive();a!==this.K&&(a?this.C():(ks().j=new Lr(0,0,0,0),this.j=new Lr(0,0,0,0),this.D=new Lr(0,0,0,0),this.timestamp=-1));this.K=a};var F2={},zja=(F2.firstquartile=0,F2.midpoint=1,F2.thirdquartile=2,F2.complete=3,F2);g.w(lt,Ss);g.k=lt.prototype;g.k.Zp=function(){return!0}; g.k.In=function(){return 2==this.bk}; g.k.yW=function(a){return aja(this,a,Math.max(1E4,this.C/3))}; g.k.Ra=function(a,b,c,d,e,f,h){var l=this,m=this.N(this)||{};g.sd(m,e);this.C=m.duration||this.C;this.Y=m.isVpaid||this.Y;this.Na=m.isYouTube||this.Na;qr();this.ob=!1;e=rja(this,b);1===qja(this)&&(f=e);Ss.prototype.Ra.call(this,a,b,c,d,m,f,h);this.qr&&this.qr.C&&g.cc(this.K,function(n){n.B(l)})}; g.k.vS=function(a,b,c){Ss.prototype.vS.call(this,a,b,c);ot(this).update(a,b,this.Nh,c);this.gb=Ws(this.Nh)&&Ws(b);-1==this.Fa&&this.Za&&(this.Fa=this.lj().C.j);this.Mg.C=0;a=this.er();b.isVisible()&&at(this.Mg,"vs");a&&at(this.Mg,"vw");is(b.volume)&&at(this.Mg,"am");Ws(b)?at(this.Mg,"a"):at(this.Mg,"mut");this.Kz&&at(this.Mg,"f");-1!=b.B&&(at(this.Mg,"bm"),1==b.B&&(at(this.Mg,"b"),Ws(b)&&at(this.Mg,"umutb")));Ws(b)&&b.isVisible()&&at(this.Mg,"avs");this.gb&&a&&at(this.Mg,"avw");0this.j.Z&&(this.j=this,qs(this)),this.Z=a);return 2==a};Gt.prototype.sample=function(){Jt(this,xt(),!1)}; Gt.prototype.D=function(){var a=ms(),b=Gr();a?(Ir||(Jr=b,g.cc(wt.j,function(c){var d=c.lj();d.Na=dt(d,b,1!=c.bk)})),Ir=!0):(this.N=$ja(this,b),Ir=!1,Aja=b,g.cc(wt.j,function(c){c.aD&&(c.lj().Z=b)})); Jt(this,xt(),!a)}; var Ht=or(Gt);var bka=null,fu="",eu=!1;var eka=dka().bp,Lt=dka().hp;var hka={MAa:"visible",Xma:"audible",h8a:"time",k8a:"timetype"},ika={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)}}; gka.prototype.setTime=function(a,b,c){"ms"==b?(this.C=a,this.D=-1):(this.C=-1,this.D=a);this.G=void 0===c?"tos":c;return this};g.w(Pt,et);Pt.prototype.getId=function(){return this.N}; Pt.prototype.K=function(){return!0}; Pt.prototype.j=function(a){var b=a.lj(),c=a.getDuration();return js(this.Z,function(d){if(void 0!=d.j)var e=kka(d,b);else b:{switch(d.G){case "mtos":e=d.B?b.G.C:b.C.j;break b;case "tos":e=d.B?b.G.j:b.C.j;break b}e=0}0==e?d=!1:(d=-1!=d.C?d.C:void 0!==c&&0=d);return d})};g.w(Qt,kja);Qt.prototype.j=function(a){var b=new jja;b.j=$s(a,xfb);b.B=$s(a,zfb);return b};g.w(Rt,et);Rt.prototype.j=function(a){return tja(a)};g.w(St,pja);g.w(Tt,et);Tt.prototype.j=function(a){return a.lj().er()};g.w(Ut,ft);Ut.prototype.j=function(a){var b=g.Cb(this.N,Qp(tr().Ic,"ovms"));return!a.Et&&(0!=a.bk||b)};g.w(Vt,St);Vt.prototype.B=function(){return new Ut(this.j)}; Vt.prototype.C=function(){return[new Tt("viewable_impression",this.j),new Rt(this.j)]};g.w(Wt,jt);Wt.prototype.C=function(){var a=g.Ta("ima.admob.getViewability"),b=Qp(this.Ic,"queryid");"function"===typeof a&&b&&a(b)}; Wt.prototype.getName=function(){return"gsv"};g.w(Xt,ts);Xt.prototype.getName=function(){return"gsv"}; Xt.prototype.jC=function(){var a=ks();tr();return a.B&&!1}; Xt.prototype.wG=function(a,b,c){return new Wt(this.j,b,c)};g.w(Yt,jt);Yt.prototype.C=function(){var a=this,b=g.Ta("ima.bridge.getNativeViewability"),c=Qp(this.Ic,"queryid");"function"===typeof b&&c&&b(c,function(d){g.jd(d)&&a.G++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.j=xia(d.opt_nativeViewBounds||{});var h=a.B.D;h.j=f?Afb.clone():xia(e);a.timestamp=d.opt_nativeTime||-1;ks().j=h.j;d=d.opt_nativeVolume;void 0!==d&&(h.volume=d)})}; Yt.prototype.getName=function(){return"nis"};g.w(Zt,ts);Zt.prototype.getName=function(){return"nis"}; Zt.prototype.jC=function(){var a=ks();tr();return a.B&&!1}; Zt.prototype.wG=function(a,b,c){return new Yt(this.j,b,c)};g.w($t,os);g.k=$t.prototype;g.k.iC=function(){return null!=this.B.Mn}; g.k.tW=function(){var a={};this.Ka&&(a.mraid=this.Ka);this.Aa&&(a.mlc=1);a.mtop=this.B.Bba;this.N&&(a.mse=this.N);this.Na&&(a.msc=1);a.mcp=this.B.compatibility;return a}; g.k.fu=function(a){var b=g.Ka.apply(1,arguments);try{return this.B.Mn[a].apply(this.B.Mn,b)}catch(c){Fr(538,c,.01,function(d){d.method=a})}}; g.k.initialize=function(){var a=this;if(this.isInitialized)return!this.PD();this.isInitialized=!0;if(2===this.B.compatibility)return this.N="ng",this.fail("w"),!1;if(1===this.B.compatibility)return this.N="mm",this.fail("w"),!1;ks().Z=!0;this.C.document.readyState&&"complete"==this.C.document.readyState?oka(this):Ps(this.C,"load",function(){qr().setTimeout(Er(292,function(){return oka(a)}),100)},292); return!0}; g.k.CT=function(){var a=ks(),b=tka(this,"getMaxSize");a.j=new Lr(0,b.width,b.height,0)}; g.k.DT=function(){ks().D=tka(this,"getScreenSize")}; g.k.dispose=function(){qka(this);os.prototype.dispose.call(this)};var Uha=new function(a,b){this.key=a;this.defaultValue=void 0===b?!1:b;this.valueType="boolean"}("45378663");g.k=bu.prototype;g.k.oH=function(a){Ts(a,!1);Nja(a)}; g.k.fI=function(){}; g.k.kF=function(a,b,c,d){var e=this;a=new lt(Wp,a,c?b:-1,7,this.oN(),this.HV());a.Ui=d;pha(a.Ic);Pp(a.Ic,"queryid",a.Ui);a.aR("");dja(a,function(){return e.TW.apply(e,g.ra(g.Ka.apply(0,arguments)))},function(){return e.R6.apply(e,g.ra(g.Ka.apply(0,arguments)))}); (d=or(zt).j)&&$ia(a,d);a.Lj.Nt&&or(Wja);return a}; g.k.Bz=function(a){switch(a.Nq()){case 0:if(a=or(zt).j)a=a.j,g.Fb(a.G,this),a.Y&&this.Zp()&&Dia(a);du();break;case 2:It()}}; g.k.zt=function(){}; g.k.Zp=function(){return!1}; g.k.R6=function(a,b){a.Et=!0;switch(a.zp()){case 1:zka(a,b);break;case 2:this.nR(a)}}; g.k.a7=function(a){var b=a.N(a);b&&(b=b.volume,a.rb=is(b)&&0a&&Number.isInteger(a)&&this.data[a]!==b&&(this.data[a]=b,this.j=-1)}; uu.prototype.get=function(a){return!!this.data[a]};var wu;g.lb(g.zu,g.J);g.k=g.zu.prototype;g.k.start=function(){this.stop();this.D=!1;var a=Xka(this),b=Yka(this);a&&!b&&this.B.mozRequestAnimationFrame?(this.j=g.xd(this.B,"MozBeforePaint",this.C),this.B.mozRequestAnimationFrame(null),this.D=!0):this.j=a&&b?a.call(this.B,this.C):this.B.setTimeout(nba(this.C),20)}; g.k.stop=function(){if(this.isActive()){var a=Xka(this),b=Yka(this);a&&!b&&this.B.mozRequestAnimationFrame?Bd(this.j):a&&b?b.call(this.B,this.j):this.B.clearTimeout(this.j)}this.j=null}; g.k.isActive=function(){return null!=this.j}; g.k.T2=function(){this.D&&this.j&&Bd(this.j);this.j=null;this.K.call(this.G,g.kb())}; g.k.ya=function(){this.stop();g.zu.Nf.ya.call(this)};g.lb(g.Bu,g.J);g.k=g.Bu.prototype;g.k.kC=0;g.k.ya=function(){g.Bu.Nf.ya.call(this);this.stop();delete this.j;delete this.B}; g.k.start=function(a){this.stop();this.kC=g.ng(this.C,void 0!==a?a:this.Pi)}; g.k.stop=function(){this.isActive()&&g.Ra.clearTimeout(this.kC);this.kC=0}; g.k.isActive=function(){return 0!=this.kC}; g.k.GT=function(){this.kC=0;this.j&&this.j.call(this.B)};Fu.prototype[Symbol.iterator]=function(){return this}; Fu.prototype.next=function(){var a=this.j.next();return{value:a.done?void 0:this.B.call(void 0,a.value),done:a.done}};Ou.prototype.Ck=function(){return new Pu(this.B())}; Ou.prototype[Symbol.iterator]=function(){return new Qu(this.B())}; Ou.prototype.j=function(){return new Qu(this.B())}; g.w(Pu,g.Us);Pu.prototype.next=function(){return this.B.next()}; Pu.prototype[Symbol.iterator]=function(){return new Qu(this.B)}; Pu.prototype.j=function(){return new Qu(this.B)}; g.w(Qu,Ou);Qu.prototype.next=function(){return this.C.next()};g.k=g.Su.prototype;g.k.hm=function(){Uu(this);for(var a=[],b=0;b2*this.size&&Uu(this),!0):!1}; g.k.get=function(a,b){return Tu(this.B,a)?this.B[a]:b}; g.k.set=function(a,b){Tu(this.B,a)||(this.size+=1,this.j.push(a),this.Gu++);this.B[a]=b}; g.k.forEach=function(a,b){for(var c=this.xp(),d=0;d=d.j.length)return g.C2;var f=d.j[b++];return g.Vs(a?f:d.B[f])}; return e};g.lb(g.Vu,g.Ed);g.k=g.Vu.prototype;g.k.isPlaying=function(){return 1==this.j}; g.k.isPaused=function(){return-1==this.j}; g.k.rJ=function(){this.Xl("begin")}; g.k.wr=function(){this.Xl("end")}; g.k.onFinish=function(){this.Xl("finish")}; g.k.Xl=function(a){this.dispatchEvent(a)};var Hfb=Kd(function(){if(g.af)return!0;var a=g.mf("DIV"),b=g.Sc?"-webkit":Wr?"-moz":g.af?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!yeb.test("div"))throw Error("");if("DIV"in Aeb)throw Error("");b=void 0;var d="";if(c)for(n in c)if(Object.prototype.hasOwnProperty.call(c,n)){if(!yeb.test(n))throw Error("");var e=c[n];if(null!=e){var f=void 0;var h=n;if(e instanceof g.Pd)e=g.Qd(e);else if("style"==h.toLowerCase()){if(!g.$a(e))throw Error(""); if(!(e instanceof g.be)){var l="";for(f in e)if(Object.prototype.hasOwnProperty.call(e,f)){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var m=e[f];null!=m&&(m=Array.isArray(m)?m.map(Iba).join(" "):Iba(m),l+=f+":"+m+";")}e=l?new g.be(l,ke):Yu}e=ce(e)}else{if(/^on/i.test(h))throw Error("");if(h.toLowerCase()in zeb)if(e instanceof g.Vd)e=g.Wd(e).toString();else if(e instanceof g.Yd)e=g.Zd(e);else if("string"===typeof e)e=(g.ae(e)||g.de).Nk();else throw Error(""); }e.zn&&(e=e.Nk());f=h+'="'+hc(String(e))+'"';d+=" "+f}}var n="":(b=Mba(b),n+=">"+g.ie(b).toString()+"");n=g.je(n);g.Qba(a,n);return""!=g.Xr(a.firstChild,"transition")});g.lb(Wu,g.Vu);g.k=Wu.prototype;g.k.play=function(){if(this.isPlaying())return!1;this.rJ();this.Xl("play");this.startTime=g.kb();this.j=1;if(Hfb())return g.Vr(this.B,this.K),this.C=g.ng(this.jaa,void 0,this),!0;this.ML(!1);return!1}; g.k.jaa=function(){g.fs(this.B);dla(this.B,this.N);g.Vr(this.B,this.D);this.C=g.ng((0,g.fb)(this.ML,this,!1),1E3*this.G)}; g.k.stop=function(){this.isPlaying()&&this.ML(!0)}; g.k.ML=function(a){g.Vr(this.B,"transition","");g.Ra.clearTimeout(this.C);g.Vr(this.B,this.D);this.endTime=g.kb();this.j=0;if(a)this.Xl("stop");else this.onFinish();this.wr()}; g.k.ya=function(){this.stop();Wu.Nf.ya.call(this)}; g.k.pause=function(){};var fla={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};Xu("Element","attributes")||Xu("Node","attributes");Xu("Element","innerHTML")||Xu("HTMLElement","innerHTML");Xu("Node","nodeName");Xu("Node","nodeType");Xu("Node","parentNode");Xu("Node","childNodes");Xu("HTMLElement","style")||Xu("Element","style");Xu("HTMLStyleElement","sheet");var lla=hla("getPropertyValue"),mla=hla("setProperty");Xu("Element","namespaceURI")||Xu("Node","namespaceURI");var kla={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};var qla,$db,pla,ola,rla;qla=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]");$db=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");g.Ifb=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.Zu=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]");pla=/^http:\/\/.*/;g.Jfb=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");ola=/\s+/;rla=/[\d\u06f0-\u06f9]/;av.prototype.clone=function(){return new av(this.j,this.C,this.x1,this.y1,this.x2,this.y2,this.B,this.D)}; av.prototype.equals=function(a){return this.j==a.j&&this.C==a.C&&this.x1==a.x1&&this.y1==a.y1&&this.x2==a.x2&&this.y2==a.y2&&this.B==a.B&&this.D==a.D};cv.prototype.clone=function(){return new cv(this.start,this.end)}; cv.prototype.getLength=function(){return this.end-this.start};(function(){if(qbb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.oc()))?a[1]:"0"}return WY?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(g.oc()))?a[0].replace(/_/g,"."):"10"):g.oC?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.oc()))?a[1]:""):meb||neb||oeb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.oc()))?a[1].replace(/_/g,"."):""):""})();var tla=function(){if(g.xR)return dv(/Firefox\/([0-9.]+)/);if(g.af||g.LD||g.WR)return Oc;if(g.cL){if(Jc()||Kc()){var a=dv(/CriOS\/([0-9.]+)/);if(a)return a}return dv(/Chrome\/([0-9.]+)/)}if(g.pD&&!Jc())return dv(/Version\/([0-9.]+)/);if(lC||mC){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.oc()))return a[1]+"."+a[2]}else if(g.mPa)return(a=dv(/Android\s+([0-9.]+)/))?a:dv(/Version\/([0-9.]+)/);return""}();g.lb(g.fv,g.J);g.k=g.fv.prototype;g.k.subscribe=function(a,b,c){var d=this.B[a];d||(d=this.B[a]=[]);var e=this.K;this.j[e]=a;this.j[e+1]=b;this.j[e+2]=c;this.K=e+3;d.push(e);return e}; g.k.unsubscribe=function(a,b,c){if(a=this.B[a]){var d=this.j;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Bh(a)}return!1}; g.k.Bh=function(a){var b=this.j[a];if(b){var c=this.B[b];0!=this.D?(this.C.push(a),this.j[a+1]=function(){}):(c&&g.Fb(c,a),delete this.j[a],delete this.j[a+1],delete this.j[a+2])}return!!b}; g.k.oa=function(a,b){var c=this.B[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e=c.length)return g.C2;var e=c.key(b++);if(a)return g.Vs(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return g.Vs(e)}; return d}; g.k.clear=function(){this.j.clear()}; g.k.key=function(a){return this.j.key(a)};g.lb(mv,lv);g.lb(zla,lv);g.lb(ov,kv);var Ala={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},nv=null;g.k=ov.prototype;g.k.isAvailable=function(){return!!this.j}; g.k.set=function(a,b){this.j.setAttribute(pv(a),b);qv(this)}; g.k.get=function(a){a=this.j.getAttribute(pv(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; g.k.remove=function(a){this.j.removeAttribute(pv(a));qv(this)}; g.k.Ck=function(a){var b=0,c=this.j.XMLDocument.documentElement.attributes,d=new g.Us;d.next=function(){if(b>=c.length)return g.C2;var e=c[b++];if(a)return g.Vs(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return g.Vs(e)}; return d}; g.k.clear=function(){for(var a=this.j.XMLDocument.documentElement,b=a.attributes.length;0>1;if(b[d].getKey()>c.getKey())b[a]=b[d],a=d;else break}b[a]=c}; g.k.remove=function(){var a=this.j,b=a.length,c=a[0];if(!(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.hm=function(){for(var a=this.j,b=[],c=a.length,d=0;d>>16&65535|0;for(var f;0!==c;){f=2E3H2;H2++){G2=H2;for(var Pfb=0;8>Pfb;Pfb++)G2=G2&1?3988292384^G2>>>1:G2>>>1;Ofb[H2]=G2}Xv=function(a,b,c,d){c=d+c;for(a^=-1;d>>8^Ofb[(a^b[d])&255];return a^-1};var Nv={};Nv={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};var Gv=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Jv=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Yla=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Nla=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Rv=Array(576);yv(Rv);var Sv=Array(60);yv(Sv);var Iv=Array(512);yv(Iv);var Fv=Array(256);yv(Fv);var Hv=Array(29);yv(Hv);var Kv=Array(30);yv(Kv);var Vla,Wla,Xla,Ula=!1;var bw;bw=[new aw(0,0,0,0,function(a,b){var c=65535;for(c>a.tm-5&&(c=a.tm-5);;){if(1>=a.lc){Yv(a);if(0===a.lc&&0===b)return 1;if(0===a.lc)break}a.Bb+=a.lc;a.lc=0;var d=a.Ik+c;if(0===a.Bb||a.Bb>=d)if(a.lc=a.Bb-d,a.Bb=d,Tv(a,!1),0===a.oe.Ke)return 1;if(a.Bb-a.Ik>=a.Zi-262&&(Tv(a,!1),0===a.oe.Ke))return 1}a.ph=0;if(4===b)return Tv(a,!0),0===a.oe.Ke?3:4;a.Bb>a.Ik&&Tv(a,!1);return 1}), new aw(4,4,8,4,Zv),new aw(4,5,16,8,Zv),new aw(4,6,32,32,Zv),new aw(4,4,16,16,$v),new aw(8,16,32,32,$v),new aw(8,16,128,128,$v),new aw(8,32,128,256,$v),new aw(32,128,258,1024,$v),new aw(32,258,258,4096,$v)];var Tla={};Tla=function(){this.input=null;this.tx=this.cj=this.Dw=0;this.output=null;this.kS=this.Ke=this.vA=0;this.msg="";this.state=null;this.rN=2;this.Qd=0};var Zla=Object.prototype.toString; cw.prototype.push=function(a,b){var c=this.oe,d=this.options.chunkSize;if(this.ended)return!1;var e=b===~~b?b:!0===b?4:0;"string"===typeof a?c.input=Cla(a):"[object ArrayBuffer]"===Zla.call(a)?c.input=new Uint8Array(a):c.input=a;c.Dw=0;c.cj=c.input.length;do{0===c.Ke&&(c.output=new xv.Dx(d),c.vA=0,c.Ke=d);a=Sla(c,e);if(1!==a&&0!==a)return this.wr(a),this.ended=!0,!1;if(0===c.Ke||0===c.cj&&(4===e||2===e))if("string"===this.options.to){var f=xv.UR(c.output,c.vA);b=f;f=f.length;if(65537>f&&(b.subarray&& Nfb||!b.subarray))b=String.fromCharCode.apply(null,xv.UR(b,f));else{for(var h="",l=0;lc;c++)b+=this.B[c]||0;3<=b&&this.N();this.G=d}this.D=a;this.K=this.j;this.C=(this.C+1)%4}}; HC.prototype.ya=function(){g.UB(this.Z);g.FC(this.qa)};g.w(IC,g.J);IC.prototype.T=function(a,b,c,d,e){c=g.EB((0,g.fb)(c,d||this.gb));c={target:a,name:b,callback:c};var f;e&&opa()&&(f={passive:!0});a.addEventListener(b,c.callback,f);this.N.push(c);return c}; IC.prototype.Mc=function(a){for(var b=0;b=O.Sm)||l.j.version>=P||l.j.objectStoreNames.contains(H)||F.push(H)}m=F;if(0===m.length){x.La(5);break}n=Object.keys(c.options.vr);p= l.objectStoreNames();if(c.Gc.options.version+1)throw r.close(),c.C=!1,qqa(c,t);return x.return(r);case 8:throw b(), q instanceof Error&&!g.AB("ytidb_async_stack_killswitch")&&(q.stack=q.stack+"\n"+h.substring(h.indexOf("\n")+1)),Spa(q,c.name,"",null!=(u=c.options.version)?u:-1);}})} function b(){c.j===d&&(c.j=void 0)} var c=this;if(!this.C)throw qqa(this);if(this.j)return this.j;var d,e={blocking:function(f){f.close()}, closed:b,Oba:b,upgrade:this.options.upgrade};return this.j=d=a()};var rqa=new HD("YtIdbMeta",{vr:{databases:{Sm:1}},upgrade:function(a,b){b(1)&&g.wD(a,"databases",{keyPath:"actualName"})}});var xqa,vqa=new function(){}(new function(){});new g.Dn;g.w(OD,HD);OD.prototype.B=function(a,b,c){c=void 0===c?{}:c;return(this.options.shared?Cqa:Bqa)(a,b,Object.assign({},c))}; OD.prototype.delete=function(a){a=void 0===a?{}:a;return(this.options.shared?Gqa:Dqa)(this.name,a)};var iib={},Iqa=g.PD("ytGcfConfig",{vr:(iib.coldConfigStore={Sm:1},iib.hotConfigStore={Sm:1},iib),shared:!1,upgrade:function(a,b){b(1)&&(g.CD(g.wD(a,"hotConfigStore",{keyPath:"key",autoIncrement:!0}),"hotTimestampIndex","timestamp"),g.CD(g.wD(a,"coldConfigStore",{keyPath:"key",autoIncrement:!0}),"coldTimestampIndex","timestamp"))}, version:1});g.w(Oqa,g.J);Oqa.prototype.ya=function(){for(var a=g.v(this.B),b=a.next();!b.done;b=a.next()){var c=this.j;b=c.indexOf(b.value);0<=b&&c.splice(b,1)}this.B.length=0;g.J.prototype.ya.call(this)};VD.prototype.Ir=function(a){this.hotHashData=a;g.Sa("yt.gcf.config.hotHashData",this.hotHashData||null)};ZD.prototype.Aj=function(){return{version:this.version,args:this.args}};$D.prototype.toString=function(){return this.topic};var jib=g.Ta("ytPubsub2Pubsub2Instance")||new g.fv;g.fv.prototype.subscribe=g.fv.prototype.subscribe;g.fv.prototype.unsubscribeByKey=g.fv.prototype.Bh;g.fv.prototype.publish=g.fv.prototype.oa;g.fv.prototype.clear=g.fv.prototype.clear;g.Sa("ytPubsub2Pubsub2Instance",jib);var bE=g.Ta("ytPubsub2Pubsub2SubscribedKeys")||{};g.Sa("ytPubsub2Pubsub2SubscribedKeys",bE);var cE=g.Ta("ytPubsub2Pubsub2TopicToKeys")||{};g.Sa("ytPubsub2Pubsub2TopicToKeys",cE);var nra=g.Ta("ytPubsub2Pubsub2IsAsync")||{}; g.Sa("ytPubsub2Pubsub2IsAsync",nra);g.Sa("ytPubsub2Pubsub2SkipSubKey",null);var ura=void 0,sra=void 0;var Ara=g.BB("max_body_size_to_compress",5E5),Bra=g.BB("min_body_size_to_compress",500),fE=!0,iE=0,hE=0,Fra=g.BB("compression_performance_threshold_lr",250),Gra=g.BB("slow_compressions_before_abandon_count",4),wra=!1,eE=new Map,Dra=1,Cra=!0;g.k=kE.prototype;g.k.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(jE(this)&&this.jg){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.qh.set(d,this.Ff).then(function(e){d.id=e;c.gh.Lh()&&c.TD(d)}).catch(function(e){c.TD(d); lE(c,e)})}else this.sendFn(a,b)}; g.k.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(jE(this)&&this.jg){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.jb&&this.jb("nwl_skip_retry")&&(e.skipRetry=c);if(this.gh.Lh()||this.jb&&this.jb("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var f=b.onError?b.onError:function(){}; b.onError=function(h,l){return g.I(function(m){if(1==m.j)return g.y(m,d.qh.set(e,d.Ff).catch(function(n){lE(d,n)}),2); f(h,l);g.Aa(m)})}}this.sendFn(a,b,e.skipRetry)}else this.qh.set(e,this.Ff).catch(function(h){d.sendFn(a,b,e.skipRetry); lE(d,h)})}else this.sendFn(a,b,this.jb&&this.jb("nwl_skip_retry")&&c)}; g.k.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(jE(this)&&this.jg){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.qh.fz(d.id,c.Ff):e=!0;c.gh.Bw&&c.jb&&c.jb("vss_network_hint")&&c.gh.Bw(!0);f(h,l)}; this.sendFn(d.url,d.options,void 0,!0);this.qh.set(d,this.Ff).then(function(h){d.id=h;e&&c.qh.fz(d.id,c.Ff)}).catch(function(h){lE(c,h)})}else this.sendFn(a,b,void 0,!0)}; g.k.DB=function(){var a=this;if(!jE(this))throw Error("IndexedDB is not supported: throttleSend");this.j||(this.j=this.Jn.Hi(function(){var b;return g.I(function(c){if(1==c.j)return g.y(c,a.qh.zW("NEW",a.Ff),2);if(3!=c.j)return b=c.B,b?g.y(c,a.TD(b),3):(a.VM(),c.return());a.j&&(a.j=0,a.DB());g.Aa(c)})},this.M_))}; g.k.VM=function(){this.Jn.Ij(this.j);this.j=0}; g.k.TD=function(a){var b=this,c;return g.I(function(d){switch(d.j){case 1:if(!jE(b))throw Error("IndexedDB is not supported: immediateSend");if(void 0===a.id){d.La(2);break}return g.y(d,b.qh.O7(a.id,b.Ff),3);case 3:(c=d.B)||b.Cz(Error("The request cannot be found in the database."));case 2:if(b.oK(a,b.RZ)){d.La(4);break}b.Cz(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===a.id){d.La(5);break}return g.y(d,b.qh.fz(a.id,b.Ff),5);case 5:return d.return();case 4:a.skipRetry|| (a=Mra(b,a));if(!a){d.La(0);break}if(!a.skipRetry||void 0===a.id){d.La(8);break}return g.y(d,b.qh.fz(a.id,b.Ff),8);case 8:b.sendFn(a.url,a.options,!!a.skipRetry),g.Aa(d)}})}; g.k.oK=function(a,b){a=a.timestamp;return this.now()-a>=b?!1:!0}; g.k.sK=function(){var a=this;if(!jE(this))throw Error("IndexedDB is not supported: retryQueuedRequests");this.qh.zW("QUEUED",this.Ff).then(function(b){b&&!a.oK(b,a.LZ)?a.Jn.Hi(function(){return g.I(function(c){if(1==c.j)return void 0===b.id?c.La(2):g.y(c,a.qh.vR(b.id,a.Ff),2);a.sK();g.Aa(c)})}):a.gh.Lh()&&a.DB()})};var mE;var Ota={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135, mangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28, nextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42, assetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225, liveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationStreamWebrtcStats:288,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71,visualElementShown:72,visualElementHidden:73, visualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87,spacecastSummaryRequested:88, spacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137,vrCopresencePartyStats:153, vrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129,buyFlowStarted:136,mbsConnectionInitiated:138, mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165,buyFlowEvent:167,kidsParentalGateTracking:168, kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177,transactionFlowPaymentCallBackReceived:387, transactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186,outOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189, ypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205,ypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258, ypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218,watchTimeSegment:219,appWidthLayoutError:221, accountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243,deviceContextEvent:244,templateResolutionException:245, musicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267,ytbFileOpened:268,tfliteModelError:269,apiTest:270, yongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293,watchRestoreAttempt:294,liteAccountSignIn:296, notaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317,tvhtml5UnexpectedRestart:319,tvhtml5StabilityTraceEvent:478, tvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,appShellAssetLoadReport:337,tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340, iosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,webViewBottomSheetResized:359,activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361, mdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,parentToolsChildWelcomeChosenEvent:378,browseThumbnailPreloadEvent:379,finalPayload:380, mdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,prefetchRequested:395,prefetchableCommandExecuted:396,gelDebuggingEvent:399,webLinkTtsPlayEnd:400, clipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,sfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419,sfvEffectGlThreadBlockedEvent:420, mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,offlineTransferStarted:4,musicOfflineMixtapePreferencesChanged:16,mangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77, dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,biscottiBasedDetection:439,coWatchStateChange:440,embedsVideoDataDidChange:441,shortsFirst:443,cruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447, tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,youtubeClearcutEvent:461,offlineBrowseFallbackEvent:463,getCtvTokenEvent:464,startupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476, tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,crossDeviceNotificationTransfer:487,androidIntentEvent:488,unpluggedAmbientInterludesCounterfactualEvent:489,keyPlaysPlayback:490,vssData:491};var kib={},Wra=g.PD("ServiceWorkerLogsDatabase",{vr:(kib.SWHealthLog={Sm:1},kib),shared:!0,upgrade:function(a,b){b(1)&&g.CD(g.wD(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, version:1});var csa={},bsa=0;pE.prototype.requestComplete=function(a,b){b&&(this.B=!0);a=this.removeParams(a);this.j.get(a)||this.j.set(a,b)}; pE.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.j.get(a))?!1:!1===a&&this.B?!0:null}; pE.prototype.removeParams=function(a){return a.split("?")[0]}; pE.prototype.removeParams=pE.prototype.removeParams;pE.prototype.isEndpointCFR=pE.prototype.isEndpointCFR;pE.prototype.requestComplete=pE.prototype.requestComplete;pE.getInstance=qE;var dsa;g.w(sE,g.Ed);g.k=sE.prototype;g.k.Lh=function(){return this.j.Lh()}; g.k.Bw=function(a){this.j.j=a}; g.k.w6=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; g.k.B5=function(){this.B=!0}; g.k.Ta=function(a,b){return this.j.Ta(a,b)}; g.k.xK=function(a){a=qu(this.j,a);a.then(function(b){g.AB("use_cfr_monitor")&&qE().requestComplete("generate_204",b)}); return a}; sE.prototype.sendNetworkCheckRequest=sE.prototype.xK;sE.prototype.listen=sE.prototype.Ta;sE.prototype.enableErrorFlushing=sE.prototype.B5;sE.prototype.getWindowStatus=sE.prototype.w6;sE.prototype.networkStatusHint=sE.prototype.Bw;sE.prototype.isNetworkAvailable=sE.prototype.Lh;sE.getInstance=fsa;g.w(g.tE,g.Ed);g.tE.prototype.Lh=function(){var a=g.Ta("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.B)():!0}; g.tE.prototype.Bw=function(a){var b=g.Ta("yt.networkStatusManager.instance.networkStatusHint").bind(this.B);b&&b(a)}; g.tE.prototype.xK=function(a){var b=this,c;return g.I(function(d){c=g.Ta("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.B);return g.AB("skip_network_check_if_cfr")&&qE().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.Bw((null==(f=window.navigator)?void 0:f.onLine)||!0);e(b.Lh())})):c?d.return(c(a)):d.return(!0)})};var hsa;g.w(uE,kE);uE.prototype.writeThenSend=function(a,b){b||(b={});g.XC()||(this.jg=!1);kE.prototype.writeThenSend.call(this,a,b)}; uE.prototype.sendThenWrite=function(a,b,c){b||(b={});g.XC()||(this.jg=!1);kE.prototype.sendThenWrite.call(this,a,b,c)}; uE.prototype.sendAndWrite=function(a,b){b||(b={});g.XC()||(this.jg=!1);kE.prototype.sendAndWrite.call(this,a,b)}; uE.prototype.awaitInitialization=function(){return this.B.promise};var lsa=g.Ra.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1};g.Sa("ytNetworklessLoggingInitializationOptions",lsa);g.wE.prototype.isReady=function(){!this.config_&&ara()&&(this.config_=g.XD());return!!this.config_};var lib,zE,BE;lib=g.Ra.ytPubsubPubsubInstance||new g.fv;zE=g.Ra.ytPubsubPubsubSubscribedKeys||{};BE=g.Ra.ytPubsubPubsubTopicToKeys||{};g.AE=g.Ra.ytPubsubPubsubIsSynchronous||{};g.fv.prototype.subscribe=g.fv.prototype.subscribe;g.fv.prototype.unsubscribeByKey=g.fv.prototype.Bh;g.fv.prototype.publish=g.fv.prototype.oa;g.fv.prototype.clear=g.fv.prototype.clear;g.Sa("ytPubsubPubsubInstance",lib);g.Sa("ytPubsubPubsubTopicToKeys",BE);g.Sa("ytPubsubPubsubIsSynchronous",g.AE); g.Sa("ytPubsubPubsubSubscribedKeys",zE);var psa=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,qsa=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/,usa={};g.w(HE,g.J);HE.prototype.append=function(a){if(!this.B)throw Error("This does not support the append operation");a=a.Ab();this.Ab().appendChild(a)}; g.w(IE,HE);IE.prototype.Ab=function(){return this.j};g.w(Bsa,g.J);var JE=Date.now().toString();var Gsa={};var RE=Symbol("injectionDeps");PE.prototype.toString=function(){return"InjectionToken("+this.name+")"}; Hsa.prototype.resolve=function(a){return a instanceof QE?SE(this,a.key,[],!0):SE(this,a,[])};var Ksa;var UE=window;var VE=g.AB("web_enable_lifecycle_monitoring")&&0!==Lsa(),Usa=g.AB("web_enable_lifecycle_monitoring");Psa.prototype.cancel=function(){for(var a=g.v(this.j),b=a.next();!b.done;b=a.next())b=b.value,void 0===b.jobId||b.ZJ||this.scheduler.Ij(b.jobId),b.ZJ=!0;this.B.resolve()};g.k=WE.prototype;g.k.install=function(a){this.plugins.push(a);return this}; g.k.uninstall=function(){var a=this;g.Ka.apply(0,arguments).forEach(function(b){b=a.plugins.indexOf(b);-1Math.pow(5,2))b.D=!0}; g.k.U2=function(a){if(this.Aa){var b=this.Aa,c=a.changedTouches;c&&b.N&&1==b.B&&!b.D&&!b.G&&!b.K&&Csa(b,c)&&(b.ma=a,b.j.start());b.B=a.touches.length;0===b.B&&(b.N=!1,b.D=!1,b.C.length=0);b.G=!1}}; g.k.wF=function(a){this.layoutId?this.ib.executeCommand(a,this.layoutId):g.AF(new g.VC("There is undefined layoutId when calling the runCommand method.",{componentType:this.componentType}))}; g.k.createServerVe=function(a,b){this.api.createServerVe(a,this);this.api.setTrackingParams(a,b)}; g.k.logVisibility=function(a,b){this.api.hasVe(a)&&this.api.logVisibility(a,b,this.interactionLoggingClientData)}; g.k.ya=function(){this.clear(null);this.Mc(this.rb);for(var a=g.v(this.Ea),b=a.next();!b.done;b=a.next())this.Mc(b.value);g.aG.prototype.ya.call(this)};g.w(lG,bG); lG.prototype.init=function(a,b,c){bG.prototype.init.call(this,a,b,c);this.j=b;if(null==b.text&&null==b.icon)g.BF(Error("ButtonRenderer did not have text or an icon set."));else{switch(b.style||null){case "STYLE_UNKNOWN":a="ytp-ad-button-link";break;default:a=null}null!=a&&g.Ju(this.element,a);null!=b.text&&(a=g.dG(b.text),g.gc(a)||(this.element.setAttribute("aria-label",a),this.C=new g.aG({I:"span",S:"ytp-ad-button-text",xa:a}),g.L(this,this.C),this.C.Da(this.element)));this.api.U().L("use_accessibility_data_on_desktop_player_button")&&b.accessibilityData&& b.accessibilityData.accessibilityData&&b.accessibilityData.accessibilityData.label&&!g.gc(b.accessibilityData.accessibilityData.label)&&this.element.setAttribute("aria-label",b.accessibilityData.accessibilityData.label);null!=b.icon&&(b=kG(b.icon),null!=b&&(this.B=new g.aG({I:"span",S:"ytp-ad-button-icon",V:[b]}),g.L(this,this.B)),this.D?g.qf(this.element,this.B.element,0):this.B.Da(this.element))}}; lG.prototype.clear=function(){this.hide()}; lG.prototype.onClick=function(a){bG.prototype.onClick.call(this,a);a=g.v(Qva(this));for(var b=a.next();!b.done;b=a.next())b=b.value,this.layoutId?this.ib.executeCommand(b,this.layoutId):g.AF(Error("Missing layoutId for button."));this.api.onAdUxClicked(this.componentType,this.layoutId)};g.w(mG,g.J);mG.prototype.ya=function(){this.B&&g.FC(this.B);this.j.clear();nG=null;g.J.prototype.ya.call(this)}; mG.prototype.register=function(a,b){b&&this.j.set(a,b)}; var nG=null;g.w(qG,bG); qG.prototype.init=function(a,b,c){bG.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&g.U(b.button,g.bN)||null;null==b?g.AF(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new lG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),g.L(this,this.button),this.button.init(RF("button"),b,this.macros),a&&this.button.element.setAttribute("aria-label",g.dG(a)),this.button.Da(this.element),this.G&&!g.Iu(this.button.element,"ytp-ad-clickable")&&g.Ju(this.button.element, "ytp-ad-clickable"),a&&(this.B=new g.aG({I:"div",S:"ytp-ad-hover-text-container"}),this.D&&(b=new g.aG({I:"div",S:"ytp-ad-hover-text-callout"}),b.Da(this.B.element),g.L(this,b)),g.L(this,this.B),this.B.Da(this.element),b=oG(a),g.qf(this.B.element,b,0)),this.show())}; qG.prototype.hide=function(){this.button&&this.button.hide();this.B&&this.B.hide();bG.prototype.hide.call(this)}; qG.prototype.show=function(){this.button&&this.button.show();bG.prototype.show.call(this)};g.w(sG,bG); sG.prototype.init=function(a,b,c){bG.prototype.init.call(this,a,b,c);c=(a=b.thumbnail)&&rG(a)||"";g.gc(c)?.01>Math.random()&&g.BF(Error("Found AdImage without valid image URL")):(this.j?g.Vr(this.element,"backgroundImage","url("+c+")"):$e(this.element,{src:c}),$e(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())}; sG.prototype.clear=function(){this.hide()};g.w(tG,bG);g.k=tG.prototype;g.k.hide=function(){bG.prototype.hide.call(this);this.C&&this.C.focus()}; g.k.show=function(){this.C=document.activeElement;bG.prototype.show.call(this);this.D.focus()}; g.k.init=function(a,b,c){bG.prototype.init.call(this,a,b,c);this.B=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.AF(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.AF(Error("ConfirmDialogRenderer.cancelLabel was not set.")):Uva(this,b):g.AF(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; g.k.clear=function(){g.KC(this.j);this.hide()}; g.k.YP=function(){this.hide()}; g.k.NL=function(){var a=this.B.cancelEndpoint;a&&(this.layoutId?this.ib.executeCommand(a,this.layoutId):g.AF(Error("Missing layoutId for confirm dialog.")));this.hide()}; g.k.ZP=function(){var a=this.B.confirmNavigationEndpoint||this.B.confirmEndpoint;a&&(this.layoutId?this.ib.executeCommand(a,this.layoutId):g.AF(Error("Missing layoutId for confirm dialog.")));this.hide()};g.w(uG,bG);g.k=uG.prototype; g.k.init=function(a,b,c){bG.prototype.init.call(this,a,b,c);this.B=b;if(null==b.defaultText&&null==b.defaultIcon)g.AF(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.AF(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.Ju(this.D,a)}a={};b.defaultText? (c=g.dG(b.defaultText),g.gc(c)||(a.buttonText=c,this.j.setAttribute("aria-label",c),this.api.U().experiments.jb("fix_h5_toggle_button_a11y")&&this.C.setAttribute("aria-label",c))):g.gs(this.Fa,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip,this.j.hasAttribute("aria-label")||this.C.setAttribute("aria-label",b.defaultTooltip));b.defaultIcon?(c=kG(b.defaultIcon),this.updateValue("untoggledIconTemplateSpec",c),b.toggledIcon?(this.qa=!0,c=kG(b.toggledIcon),this.updateValue("toggledIconTemplateSpec", c)):(g.gs(this.Y,!0),g.gs(this.G,!1)),g.gs(this.j,!1)):g.gs(this.C,!1);g.jd(a)||this.update(a);b.isToggled&&(g.Ju(this.D,"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));Vva(this);this.T(this.element,"change",this.HT);this.show()}}; g.k.onClick=function(a){0a&&g.AF(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.ob&&(this.D?g.Ju(this.B.element,"modern-countdown-next-to-thumbnail"):g.Ju(this.B.element,"countdown-next-to-thumbnail"));a=b.durationMilliseconds;this.Ka=null==a||0===a?this.j.dn():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview); this.C.init(RF("ad-text"),d,c);(d=this.api.getVideoData(1))&&d.Km&&b.thumbnail?this.G.init(RF("ad-image"),b.thumbnail,c):(this.qa.hide(),this.D&&this.ob&&g.Ju(this.C.element,"ytp-ad-preview-text-modern-postroll"))}; g.k.clear=function(){this.hide()}; g.k.hide=function(){this.B.hide();this.C.hide();this.G.hide();BG(this);zG.prototype.hide.call(this)}; g.k.show=function(){AG(this);this.B.show();this.C.show();this.G.show();zG.prototype.show.call(this)}; g.k.Wp=function(){this.hide()}; g.k.Wn=function(){if(null!=this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.Va&&a>=this.Ka?(this.Fa.hide(),this.Va=!0,this.oa("i")):this.C&&this.C.isTemplated()&&(a=Math.max(0,Math.ceil((this.Ka-a)/1E3)),a!=this.gb&&(mwa(this.C,{TIME_REMAINING:String(a)}),this.gb=a)))}};g.w(owa,zG);g.k=owa.prototype; g.k.init=function(a,b,c){zG.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if((a=b.actionButton&&g.U(b.actionButton,g.bN))&&a.navigationEndpoint){var d=this.api.getVideoData(2);if(null!=d)if(b.image&&b.image.thumbnail){var e=b.image.thumbnail.thumbnails;null!=e&&0=this.Fa&&(BG(this),g.Lu(this.element,"ytp-flyout-cta-inactive"),this.B.element.removeAttribute("tabIndex"))}}; g.k.Wp=function(){this.clear()}; g.k.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.JT.bind(this))}; g.k.show=function(){this.B&&this.B.show();zG.prototype.show.call(this)}; g.k.hide=function(){this.B&&this.B.hide();zG.prototype.hide.call(this)}; g.k.JT=function(a){"hidden"==a?this.show():this.hide()};g.w(pwa,bG);g.k=pwa.prototype; g.k.init=function(a,b,c){bG.prototype.init.call(this,a,b,c);this.j=b;if(this.j.rectangle)for(a=this.j.likeButton&&g.U(this.j.likeButton,N2),b=this.j.dislikeButton&&g.U(this.j.dislikeButton,N2),this.C.init(RF("toggle-button"),a,c),this.B.init(RF("toggle-button"),b,c),this.T(this.element,"change",this.KT),this.D.show(100),this.show(),c=g.v(this.j&&this.j.impressionCommands||[]),a=c.next();!a.done;a=c.next())a=a.value,this.layoutId?this.ib.executeCommand(a,this.layoutId):g.AF(Error("Missing layoutId for instream user sentiment."))}; g.k.clear=function(){this.hide()}; g.k.hide=function(){this.C.hide();this.B.hide();bG.prototype.hide.call(this)}; g.k.show=function(){this.C.show();this.B.show();bG.prototype.show.call(this)}; g.k.KT=function(){ala(this.element,"ytp-ad-instream-user-sentiment-selected");this.j.postMessageAction&&this.api.Qa("onYtShowToast",this.j.postMessageAction);this.D.hide()}; g.k.onClick=function(a){0=this.G&&twa(this,!0)};g.w(uwa,lG);uwa.prototype.init=function(a,b,c){lG.prototype.init.call(this,a,b,c);a=!1;null!=b.text&&(a=g.dG(b.text),a=!g.gc(a));a?null==b.navigationEndpoint?g.BF(Error("No visit advertiser clickthrough provided in renderer,")):"STYLE_UNKNOWN"!==b.style?g.BF(Error("Button style was not a link-style type in renderer,")):this.show():g.BF(Error("No visit advertiser text was present in the renderer."))};g.w(OG,bG);OG.prototype.init=function(a,b,c){bG.prototype.init.call(this,a,b,c);a=b.text;g.gc(cG(a))?g.BF(Error("SimpleAdBadgeRenderer has invalid or empty text")):(a&&a.text&&(b=a.text,this.j&&(b=this.api.U(),b=a.text+" "+(b&&b.B?"\u2022":"\u00b7")),b={text:b,isTemplated:a.isTemplated},a.style&&(b.style=a.style),a.targetId&&(b.targetId=a.targetId),a=new yG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),a.init(RF("simple-ad-badge"),b,c),a.Da(this.element),g.L(this,a)),this.show())}; OG.prototype.clear=function(){this.hide()};g.w(PG,SF);g.w(QG,g.TF);g.k=QG.prototype;g.k.dn=function(){return this.durationMs}; g.k.stop=function(){this.j&&this.Cd.Mc(this.j)}; g.k.Gc=function(a){this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:a.current};this.oa("h")}; g.k.getProgressState=function(){return this.B}; g.k.Td=function(a){g.LG(a,2)&&this.oa("g")};g.w(RG,g.TF);g.k=RG.prototype;g.k.dn=function(){return this.durationMs}; g.k.start=function(){this.j||(this.j=!0,this.timer.start())}; g.k.stop=function(){this.j&&(this.j=!1,this.timer.stop())}; g.k.Gc=function(){this.Wi+=100;var a=!1;this.Wi>this.durationMs&&(this.Wi=this.durationMs,this.timer.stop(),a=!0);this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:this.Wi/1E3};this.oa("h");a&&this.oa("g")}; g.k.getProgressState=function(){return this.B};g.w(UG,zG);g.k=UG.prototype;g.k.init=function(a,b,c){zG.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){g.BF(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.B=new yG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);this.B.init(RF("ad-text"),a,{});this.B.Da(this.element);g.L(this,this.B)}this.show()}; g.k.clear=function(){this.hide()}; g.k.hide=function(){BG(this);zG.prototype.hide.call(this)}; g.k.Wp=function(){this.hide()}; g.k.Wn=function(){if(null!=this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&this.B&&(a=(this.j instanceof QG?void 0!==this.videoAdDurationSeconds?this.videoAdDurationSeconds:a.seekableEnd:void 0!==this.videoAdDurationSeconds?this.videoAdDurationSeconds:this.j instanceof RG?a.seekableEnd:this.api.getDuration(2,!1))-a.current,mwa(this.B,{FORMATTED_AD_DURATION_REMAINING:String(g.SG(a)),TIME_REMAINING:String(Math.ceil(a))}))}}; g.k.show=function(){AG(this);zG.prototype.show.call(this)};g.w(wwa,yG);wwa.prototype.onClick=function(a){yG.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};VG.prototype.getLength=function(){return this.j-this.B};g.w(XG,g.aG);XG.prototype.Gc=function(){var a=this.B.getProgressState();a=WG(new VG(a.seekableStart,a.seekableEnd),a.current,0);this.Qc.style.width=100*a+"%"}; XG.prototype.onStateChange=function(){g.dS(this.api.U())||(2===this.api.getPresentingPlayerType()?-1===this.j&&(this.show(),this.j=this.B.subscribe("h",this.Gc,this),this.Gc()):-1!==this.j&&(this.hide(),this.B.Bh(this.j),this.j=-1))};g.w(YG,bG); YG.prototype.init=function(a,b,c,d){bG.prototype.init.call(this,a,b,c);b.skipOrPreviewRenderer&&(c=b.skipOrPreviewRenderer,a=g.U(c,SL),c=g.U(c,aN),a?(c=new NG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,this.Y),c.Da(this.G),c.init(RF("skip-button"),a,this.macros),g.L(this,c)):c&&(a=new EG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,!1),a.Da(this.G),a.init(RF("ad-preview"),c,this.macros),nwa(a),g.L(this,a)));b.brandInteractionRenderer&&(a=b.brandInteractionRenderer.brandInteractionRenderer, c=new pwa(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),c.Da(this.qa),c.init(RF("instream-user-sentiment"),a,this.macros),g.L(this,c));if(a=g.U(b,Sfb))if(a=g.U(a,Sfb))c=new owa(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,!!b.showWithoutLinkedMediaLayout),g.L(this,c),c.Da(this.D),c.init(RF("flyout-cta"),a,this.macros);d=d&&d.videoAdDurationSeconds;b.adBadgeRenderer&&(a=b.adBadgeRenderer.simpleAdBadgeRenderer,null==a&&(a={text:{text:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430", isTemplated:!1}}),c=new OG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,!0),g.L(this,c),c.Da(this.B),c.init(RF("simple-ad-badge"),a,this.macros));b.adDurationRemaining&&!b.showWithoutLinkedMediaLayout&&(a=b.adDurationRemaining.adDurationRemainingRenderer,null==a&&(a={templatedCountdown:{templatedAdText:{text:"{FORMATTED_AD_DURATION_REMAINING}",isTemplated:!0}}}),d=new UG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,d),g.L(this,d),d.Da(this.B),d.init(RF("ad-duration-remaining"), a,this.macros));b.adInfoRenderer&&(d=g.U(b.adInfoRenderer,$M))&&(a=new xG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.element),g.L(this,a),a.Da(this.B),a.init(RF("ad-info-hover-text-button"),d,this.macros));b.visitAdvertiserRenderer&&(d=g.U(b.visitAdvertiserRenderer,g.bN))&&(a=xwa(this)&&this.C?this.C:this.B)&&(b=new uwa(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),g.L(this,b),b.Da(a),b.init(RF("visit-advertiser"),d,this.macros),vu(b.element),d=yu(b.element), xu(b.element,d+" This link opens in new tab"));(b=this.api.U())&&!g.bS(b)&&"3"==b.controlsType&&(b=new XG(this.api,this.j),b.Da(this.Fa),g.L(this,b));this.api.U().L("enable_updated_html5_player_focus_style")&&g.Ju(this.element,"ytp-ad-player-overlay-updated-focus-style");this.show()}; YG.prototype.clear=function(){this.hide()};aH.prototype.set=function(a,b,c){c=void 0!==c?Date.now()+c:void 0;this.j.set(a,b,c)}; aH.prototype.get=function(a){return this.j.get(a)}; aH.prototype.remove=function(a){this.j.remove(a)};var Dwa=null,Fwa=null,Hwa=null,Jwa=null;g.Sa("yt.www.ads.eventcache.getLastCompanionData",function(){return Dwa}); g.Sa("yt.www.ads.eventcache.getLastPlaShelfData",function(){return null}); g.Sa("yt.www.ads.eventcache.getLastUpdateEngagementPanelAction",function(){return Fwa}); g.Sa("yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction",function(){return Hwa}); g.Sa("yt.www.ads.eventcache.getLastScrollToEngagementPanelCommand",function(){return Jwa});var Lwa=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]);dH.prototype.handleResponse=function(a,b){if(!b)throw Error("request needs to be passed into ConsistencyService");var c,d;b=(null==(c=b.Ip.context)?void 0:null==(d=c.request)?void 0:d.consistencyTokenJars)||[];var e;(a=null==(e=a.responseContext)?void 0:e.consistencyTokenJar)&&this.replace(b,a)}; dH.prototype.replace=function(a,b){a=g.v(a);for(var c=a.next();!c.done;c=a.next())delete this.j[c.value.encryptedTokenJarContents];Nwa(this,b)};var pib=window.location.hostname.split(".").slice(-2).join("."),U2;eH.getInstance=function(){U2=g.Ta("yt.clientLocationService.instance");U2||(U2=new eH,g.Sa("yt.clientLocationService.instance",U2));return U2}; g.k=eH.prototype; g.k.setLocationOnInnerTubeContext=function(a){a.client||(a.client={});this.j?(a.client.locationInfo||(a.client.locationInfo={}),a.client.locationInfo.latitudeE7=Math.floor(1E7*this.j.coords.latitude),a.client.locationInfo.longitudeE7=Math.floor(1E7*this.j.coords.longitude),a.client.locationInfo.horizontalAccuracyMeters=Math.round(this.j.coords.accuracy),a.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0):this.locationPlayabilityToken&&(a.client.locationPlayabilityToken=this.locationPlayabilityToken)}; g.k.handleResponse=function(a){var b;a=null==(b=a.responseContext)?void 0:b.locationPlayabilityToken;void 0!==a&&(this.locationPlayabilityToken=a,this.j=void 0,"TVHTML5"===g.yB("INNERTUBE_CLIENT_NAME")?(this.localStorage=Owa(this))&&this.localStorage.set("yt-location-playability-token",a,15552E3):g.eC("YT_CL",JSON.stringify({loctok:a}),15552E3,pib,!0))}; g.k.clearLocationPlayabilityToken=function(a){"TVHTML5"===a?(this.localStorage=Owa(this))&&this.localStorage.remove("yt-location-playability-token"):g.xoa("YT_CL")}; g.k.getCurrentPositionFromGeolocation=function(){var a=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition))return Promise.reject(Error("Geolocation unsupported"));var b=!1,c=1E4;"MWEB"===g.yB("INNERTUBE_CLIENT_NAME")&&(b=!0,c=15E3);return new Promise(function(d,e){navigator.geolocation.getCurrentPosition(function(f){a.j=f;d(f)},function(f){e(f)},{enableHighAccuracy:b, maximumAge:0,timeout:c})})}; g.k.createUnpluggedLocationInfo=function(a){var b={};a=a.coords;if(null==a?0:a.latitude)b.latitudeE7=Math.floor(1E7*a.latitude);if(null==a?0:a.longitude)b.longitudeE7=Math.floor(1E7*a.longitude);if(null==a?0:a.accuracy)b.locationRadiusMeters=Math.round(a.accuracy);return b}; g.k.createLocationInfo=function(a){var b={};a=a.coords;if(null==a?0:a.latitude)b.latitudeE7=Math.floor(1E7*a.latitude);if(null==a?0:a.longitude)b.longitudeE7=Math.floor(1E7*a.longitude);return b};var V2={},Twa=(V2.WEB_UNPLUGGED="^unplugged/",V2.WEB_UNPLUGGED_ONBOARDING="^unplugged/",V2.WEB_UNPLUGGED_OPS="^unplugged/",V2.WEB_UNPLUGGED_PUBLIC="^unplugged/",V2.WEB_CREATOR="^creator/",V2.WEB_KIDS="^kids/",V2.WEB_EXPERIMENTS="^experiments/",V2.WEB_MUSIC="^music/",V2.WEB_REMIX="^music/",V2.WEB_MUSIC_EMBEDDED_PLAYER="^music/",V2.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",V2);iH.prototype.G=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?YD:c;var d={context:g.fH(a.clickTrackingParams,!1,this.D)};var e=this.j(a);if(e){this.B(d,e,b);var f;b=g.hH(this.C());(e=null==(f=g.U(a.commandMetadata,g.J2))?void 0:f.apiUrl)&&(b=e);f=Aoa(zoa(b));a=Object.assign({},{command:a},void 0);d={input:f,du:Boa(f),Ip:d,config:a};d.config.Wu?d.config.Wu.identity=c:d.config.Wu={identity:c};return d}g.AF(new g.VC("Error: Failed to create Request from Command.",a))}; g.ia.Object.defineProperties(iH.prototype,{D:{configurable:!0,enumerable:!0,get:function(){return!1}}});g.w(jH,iH);jH.prototype.G=function(){return{input:"/getDatasyncIdsEndpoint",du:Boa("/getDatasyncIdsEndpoint","GET"),Ip:{}}}; jH.prototype.C=function(){return[]}; jH.prototype.j=function(){}; jH.prototype.B=function(){};var qib={},Lxa=(qib.GET_DATASYNC_IDS=gH(jH),qib);var W2={},$wa=(W2.auto_search="LATENCY_ACTION_AUTO_SEARCH",W2.ad_to_ad="LATENCY_ACTION_AD_TO_AD",W2.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",W2["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",W2.app_startup="LATENCY_ACTION_APP_STARTUP",W2["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",W2["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",W2["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",W2["asset.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS", W2["asset.composition"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION",W2["asset.composition_ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP",W2["asset.composition_policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY",W2["asset.embeds"]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS",W2["asset.issues"]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES",W2["asset.licenses"]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES",W2["asset.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA",W2["asset.ownership"]= "LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP",W2["asset.policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY",W2["asset.references"]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES",W2["asset.shares"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES",W2["asset.sound_recordings"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS",W2["asset_group.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS",W2["asset_group.campaigns"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS",W2["asset_group.claimed_videos"]= "LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS",W2["asset_group.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA",W2["song.analytics"]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS",W2.browse="LATENCY_ACTION_BROWSE",W2.cast_splash="LATENCY_ACTION_CAST_SPLASH",W2.channels="LATENCY_ACTION_CHANNELS",W2.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",W2["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",W2["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS", W2["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",W2["channel.content.promotions"]="LATENCY_ACTION_CREATOR_PROMOTION_LIST",W2["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",W2["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",W2["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",W2["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",W2["channel.music_storefront"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT",W2["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS", W2["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",W2["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",W2["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",W2.chips="LATENCY_ACTION_CHIPS",W2.commerce_transaction="LATENCY_ACTION_COMMERCE_TRANSACTION",W2["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",W2["dialog.video_copyright"]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT",W2["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS", W2.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",W2.embed="LATENCY_ACTION_EMBED",W2.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",W2.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",W2.explore="LATENCY_ACTION_EXPLORE",W2.home="LATENCY_ACTION_HOME",W2.library="LATENCY_ACTION_LIBRARY",W2.live="LATENCY_ACTION_LIVE",W2.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",W2.mini_app="LATENCY_ACTION_MINI_APP_PLAY",W2.onboarding="LATENCY_ACTION_ONBOARDING", W2.owner="LATENCY_ACTION_CREATOR_CMS_DASHBOARD",W2["owner.allowlist"]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST",W2["owner.analytics"]="LATENCY_ACTION_CREATOR_CMS_ANALYTICS",W2["owner.art_tracks"]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS",W2["owner.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSETS",W2["owner.asset_groups"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS",W2["owner.bulk"]="LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY",W2["owner.campaigns"]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS",W2["owner.channel_invites"]= "LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES",W2["owner.channels"]="LATENCY_ACTION_CREATOR_CMS_CHANNELS",W2["owner.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS",W2["owner.claims"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",W2["owner.claims.manual"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",W2["owner.delivery"]="LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY",W2["owner.delivery_templates"]="LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES",W2["owner.issues"]="LATENCY_ACTION_CREATOR_CMS_ISSUES", W2["owner.licenses"]="LATENCY_ACTION_CREATOR_CMS_LICENSES",W2["owner.pitch_music"]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC",W2["owner.policies"]="LATENCY_ACTION_CREATOR_CMS_POLICIES",W2["owner.releases"]="LATENCY_ACTION_CREATOR_CMS_RELEASES",W2["owner.reports"]="LATENCY_ACTION_CREATOR_CMS_REPORTS",W2["owner.videos"]="LATENCY_ACTION_CREATOR_CMS_VIDEOS",W2.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",W2.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",W2.parent_tools_dashboard= "LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",W2.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",W2["playlist.videos"]="LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST",W2["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",W2["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",W2.prebuffer="LATENCY_ACTION_PREBUFFER",W2.prefetch="LATENCY_ACTION_PREFETCH",W2.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",W2.profile_switcher="LATENCY_ACTION_LOGIN",W2.reel_watch="LATENCY_ACTION_REEL_WATCH",W2.results="LATENCY_ACTION_RESULTS", W2["promotion.edit"]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT",W2.search_ui="LATENCY_ACTION_SEARCH_UI",W2.search_suggest="LATENCY_ACTION_SUGGEST",W2.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",W2.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",W2.seek="LATENCY_ACTION_PLAYER_SEEK",W2.settings="LATENCY_ACTION_SETTINGS",W2.store="LATENCY_ACTION_STORE",W2.tenx="LATENCY_ACTION_TENX",W2.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",W2.watch="LATENCY_ACTION_WATCH",W2.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN", W2["watch,watch7"]="LATENCY_ACTION_WATCH",W2["watch,watch7_html5"]="LATENCY_ACTION_WATCH",W2["watch,watch7ad"]="LATENCY_ACTION_WATCH",W2["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",W2.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",W2.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",W2["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",W2["video.claims"]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS",W2["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",W2["video.copyright"]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT", W2["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",W2["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",W2["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",W2["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",W2["video.live_streaming"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",W2["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",W2["video.policy"]="LATENCY_ACTION_CREATOR_VIDEO_POLICY",W2["video.rights_management"]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT", W2["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",W2.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",W2.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",W2.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",W2.gel_compression="LATENCY_ACTION_GEL_COMPRESSION",W2.gel_jspb_serialize="LATENCY_ACTION_GEL_JSPB_SERIALIZE",W2),X2={},axa=(X2.ad_allowed="adTypesAllowed",X2.yt_abt="adBreakType",X2.ad_cpn="adClientPlaybackNonce",X2.ad_docid="adVideoId", X2.yt_ad_an="adNetworks",X2.ad_at="adType",X2.aida="appInstallDataAgeMs",X2.browse_id="browseId",X2.p="httpProtocol",X2.t="transportProtocol",X2.cpn="clientPlaybackNonce",X2.ccs="creatorInfo.creatorCanaryState",X2.ctop="creatorInfo.topEntityType",X2.csn="clientScreenNonce",X2.docid="videoId",X2.GetHome_rid="requestIds",X2.GetSearch_rid="requestIds",X2.GetPlayer_rid="requestIds",X2.GetWatchNext_rid="requestIds",X2.GetBrowse_rid="requestIds",X2.GetLibrary_rid="requestIds",X2.is_continuation="isContinuation", X2.is_nav="isNavigation",X2.b_p="kabukiInfo.browseParams",X2.is_prefetch="kabukiInfo.isPrefetch",X2.is_secondary_nav="kabukiInfo.isSecondaryNav",X2.nav_type="kabukiInfo.navigationType",X2.prev_browse_id="kabukiInfo.prevBrowseId",X2.query_source="kabukiInfo.querySource",X2.voz_type="kabukiInfo.vozType",X2.yt_lt="loadType",X2.mver="creatorInfo.measurementVersion",X2.yt_ad="isMonetized",X2.nr="webInfo.navigationReason",X2.nrsu="navigationRequestedSameUrl",X2.pnt="performanceNavigationTiming",X2.prt= "playbackRequiresTap",X2.plt="playerInfo.playbackType",X2.pis="playerInfo.playerInitializedState",X2.paused="playerInfo.isPausedOnLoad",X2.yt_pt="playerType",X2.fmt="playerInfo.itag",X2.yt_pl="watchInfo.isPlaylist",X2.yt_pre="playerInfo.preloadType",X2.yt_ad_pr="prerollAllowed",X2.pa="previousAction",X2.yt_red="isRedSubscriber",X2.rce="mwebInfo.responseContentEncoding",X2.rc="resourceInfo.resourceCache",X2.scrh="screenHeight",X2.scrw="screenWidth",X2.st="serverTimeMs",X2.ssdm="shellStartupDurationMs", X2.br_trs="tvInfo.bedrockTriggerState",X2.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",X2.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",X2.label="tvInfo.label",X2.is_mdx="tvInfo.isMdx",X2.preloaded="tvInfo.isPreloaded",X2.aac_type="tvInfo.authAccessCredentialType",X2.upg_player_vis="playerInfo.visibilityState",X2.query="unpluggedInfo.query",X2.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",X2.yt_vst="videoStreamType",X2.vph="viewportHeight",X2.vpw="viewportWidth",X2.yt_vis= "isVisible",X2.rcl="mwebInfo.responseContentLength",X2.GetSettings_rid="requestIds",X2.GetTrending_rid="requestIds",X2.GetMusicSearchSuggestions_rid="requestIds",X2.REQUEST_ID="requestIds",X2),bxa="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(" "), Y2={},cxa=(Y2.ccs="CANARY_STATE_",Y2.mver="MEASUREMENT_VERSION_",Y2.pis="PLAYER_INITIALIZED_STATE_",Y2.yt_pt="LATENCY_PLAYER_",Y2.pa="LATENCY_ACTION_",Y2.ctop="TOP_ENTITY_TYPE_",Y2.yt_vst="VIDEO_STREAM_TYPE_",Y2),dxa="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 X={LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE:269,LATENCY_ACTION_THUMBNAIL_LOAD:42,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_SEARCH_OVERVIEW_ANSWER:277,LATENCY_ACTION_MINI_APP_PLAY:249, LATENCY_ACTION_DMA_CONSENT_FLOW:247,LATENCY_ACTION_GEL_FETCH:248,LATENCY_ACTION_GEL_JSPB_SERIALIZE:243,LATENCY_ACTION_GEL_COMPRESSION:215,LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE:204,LATENCY_ACTION_COMMERCE_ACTION_COMMAND_RPC:203,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:244,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_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_CONNECT_TO_SESSION:190,LATENCY_ACTION_MDX_STREAM_TRANSFER:178,LATENCY_ACTION_MDX_CAST:120,LATENCY_ACTION_MDX_COMMAND:12,LATENCY_ACTION_MOBILE_LIVE_NAV_MDE:231,LATENCY_ACTION_REEL_SELECT_SEGMENT:136,LATENCY_ACTION_ACCELERATED_EFFECTS:145, LATENCY_ACTION_DYNAMIC_CREATION_ASSET_IMAGE_DOWNLOAD:272,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_VIDEO_DOWNLOAD:271,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_AUDIO_DOWNLOAD:270,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_IMAGE:275,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_VIDEO:274,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_AUDIO:273,LATENCY_ACTION_GET_SHORTS_SOURCE_VIDEO:278,LATENCY_ACTION_SHORTS_AUTO_CROP_DATA_DOWNLOAD:267,LATENCY_ACTION_SHORTS_FETCH_DYNAMIC_ASSET:251,LATENCY_ACTION_SHORTS_LOAD_PROJECT:234, LATENCY_ACTION_SHORTS_TRIM_TO_EDITOR_TRANSCODING:229,LATENCY_ACTION_EDIT_AUDIO_GEN:182,LATENCY_ACTION_UPLOAD_AUDIO_MIXER:147,LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING_RECOMPOSITION:262,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_CAMERA_AUDIO_DOWNLOAD:240,LATENCY_ACTION_SHORTS_VIDEO_INGESTION:155,LATENCY_ACTION_SHORTS_RECOMPOSITION_TRANSCODING:264, LATENCY_ACTION_SHORTS_RECOMPOSITION:263,LATENCY_ACTION_SHORTS_GALLERY:107,LATENCY_ACTION_SHORTS_TRIM:105,LATENCY_ACTION_SHORTS_EDIT:104,LATENCY_ACTION_SHORTS_CAMERA:103,LATENCY_ACTION_NON_CREATION_MODES_GLOBAL_ENTRYPOINT:239,LATENCY_ACTION_CREATION_MODES_MODE_SWITCH:236,LATENCY_ACTION_CREATION_MODES_GLOBAL_ENTRYPOINT:235,LATENCY_ACTION_SWITCH_CAMERA:246,LATENCY_ACTION_OPEN_CAMERA:245,LATENCY_ACTION_MEDIA_ENGINE_TRANSCODE:250,LATENCY_ACTION_MEDIA_ENGINE_DISPLAY_FIRST_FRAME:242,LATENCY_ACTION_MEDIA_ENGINE_EXPORT:241, LATENCY_ACTION_PRODUCER_IMPORT_LOCAL_MEDIA:233,LATENCY_ACTION_PRODUCER_EXPORT_PROJECT:193,LATENCY_ACTION_PRODUCER_EDITOR:192,LATENCY_ACTION_PARENT_TOOLS_DASHBOARD:102,LATENCY_ACTION_PARENT_TOOLS_COLLECTION:101,LATENCY_ACTION_MUSIC_OFFLINE_PLAYLIST_DETAIL:238,LATENCY_ACTION_MUSIC_OFFLINE_ALBUM_DETAIL:237,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_VIDEO_TRANSLATIONS:38, LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT:219,LATENCY_ACTION_CREATOR_VIDEO_POLICY:217,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_COPYRIGHT:218,LATENCY_ACTION_CREATOR_VIDEO_COMMENTS:34,LATENCY_ACTION_CREATOR_VIDEO_CLAIMS:216,LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS:33, LATENCY_ACTION_CREATOR_SONG_ANALYTICS:176,LATENCY_ACTION_CREATOR_PROMOTION_LIST:186,LATENCY_ACTION_CREATOR_PROMOTION_EDIT:185,LATENCY_ACTION_CREATOR_POST_LIST:112,LATENCY_ACTION_CREATOR_POST_EDIT:110,LATENCY_ACTION_CREATOR_POST_COMMENTS:111,LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST:265,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_CMS_VIDEOS:202, LATENCY_ACTION_CREATOR_CMS_REPORTS:201,LATENCY_ACTION_CREATOR_CMS_RELEASES:226,LATENCY_ACTION_CREATOR_CMS_POLICIES:225,LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC:224,LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING:200,LATENCY_ACTION_CREATOR_CMS_LICENSES:223,LATENCY_ACTION_CREATOR_CMS_ISSUES:191,LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES:252,LATENCY_ACTION_CREATOR_CMS_DASHBOARD:199,LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY:198,LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS:197,LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES:261, LATENCY_ACTION_CREATOR_CMS_CHANNELS:196,LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS:222,LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY:253,LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS:214,LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES:254,LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES:209,LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY:208,LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP:207,LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA:205,LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES:212,LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES:206,LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA:258, LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS:260,LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS:259,LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS:257,LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS:221,LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS:210,LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY:256,LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP:255,LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION:213,LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS:211,LATENCY_ACTION_CREATOR_CMS_ASSETS:195, LATENCY_ACTION_CREATOR_CMS_ART_TRACKS:220,LATENCY_ACTION_CREATOR_CMS_ANALYTICS:194,LATENCY_ACTION_CREATOR_CMS_ALLOWLIST:227,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_FINE_SCRUBBING_THUMBNAILS:228,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_PLAYLIST_AGGREGATION:266,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_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_AD_TO_AD:22, LATENCY_ACTION_VIDEO_TO_AD:17,LATENCY_ACTION_AD_TO_VIDEO:16,LATENCY_ACTION_DIRECT_PLAYBACK:132,LATENCY_ACTION_IMAGE_LOAD:268,LATENCY_ACTION_PREBUFFER_VIDEO:144,LATENCY_ACTION_PREFETCH_VIDEO:143,LATENCY_ACTION_STARTUP:106,LATENCY_ACTION_ELEMENTS_PERFORMANCE:70,LATENCY_ACTION_INFRASTRUCTURE_CONTAINER:276,LATENCY_ACTION_INLINE_TO_WATCH:232,LATENCY_ACTION_MUSIC_IMMERSIVE_WATCH:230,LATENCY_ACTION_ONBOARDING:135,LATENCY_ACTION_LOGIN:97,LATENCY_ACTION_REEL_WATCH:41,LATENCY_ACTION_WATCH:3,LATENCY_ACTION_RESULTS:2, LATENCY_ACTION_CHANNELS:4,LATENCY_ACTION_HOME:1,LATENCY_ACTION_BROWSE:11,LATENCY_ACTION_USER_ACTION:189,LATENCY_ACTION_INFRASTRUCTURE:188,LATENCY_ACTION_PAGE_NAVIGATION:187,LATENCY_ACTION_UNKNOWN:0};X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE";X[X.LATENCY_ACTION_THUMBNAIL_LOAD]="LATENCY_ACTION_THUMBNAIL_LOAD";X[X.LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING"; X[X.LATENCY_ACTION_KIDS_PROFILE_SWITCHER]="LATENCY_ACTION_KIDS_PROFILE_SWITCHER";X[X.LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER]="LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER";X[X.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC";X[X.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR";X[X.LATENCY_ACTION_SPINNER_DISPLAYED]="LATENCY_ACTION_SPINNER_DISPLAYED";X[X.LATENCY_ACTION_PLAYABILITY_CHECK]="LATENCY_ACTION_PLAYABILITY_CHECK"; X[X.LATENCY_ACTION_PROCESS]="LATENCY_ACTION_PROCESS";X[X.LATENCY_ACTION_APP_STARTUP]="LATENCY_ACTION_APP_STARTUP";X[X.LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER]="LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER";X[X.LATENCY_ACTION_MINI_APP_PLAY]="LATENCY_ACTION_MINI_APP_PLAY";X[X.LATENCY_ACTION_DMA_CONSENT_FLOW]="LATENCY_ACTION_DMA_CONSENT_FLOW";X[X.LATENCY_ACTION_GEL_FETCH]="LATENCY_ACTION_GEL_FETCH";X[X.LATENCY_ACTION_GEL_JSPB_SERIALIZE]="LATENCY_ACTION_GEL_JSPB_SERIALIZE"; X[X.LATENCY_ACTION_GEL_COMPRESSION]="LATENCY_ACTION_GEL_COMPRESSION";X[X.LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE]="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE";X[X.LATENCY_ACTION_COMMERCE_ACTION_COMMAND_RPC]="LATENCY_ACTION_COMMERCE_ACTION_COMMAND_RPC";X[X.LATENCY_ACTION_COMMERCE_TRANSACTION]="LATENCY_ACTION_COMMERCE_TRANSACTION";X[X.LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC]="LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC";X[X.LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC]="LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC"; X[X.LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC]="LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC";X[X.LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC]="LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC";X[X.LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC]="LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC";X[X.LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC]="LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC";X[X.LATENCY_ACTION_GET_OFFERS_RPC]="LATENCY_ACTION_GET_OFFERS_RPC";X[X.LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC]="LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC"; X[X.LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC]="LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC";X[X.LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC]="LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC";X[X.LATENCY_ACTION_GET_OFFER_DETAILS_RPC]="LATENCY_ACTION_GET_OFFER_DETAILS_RPC";X[X.LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC]="LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC";X[X.LATENCY_ACTION_GET_TIP_MODULE_RPC]="LATENCY_ACTION_GET_TIP_MODULE_RPC"; X[X.LATENCY_ACTION_HANDLE_TRANSACTION_RPC]="LATENCY_ACTION_HANDLE_TRANSACTION_RPC";X[X.LATENCY_ACTION_COMPLETE_TRANSACTION_RPC]="LATENCY_ACTION_COMPLETE_TRANSACTION_RPC";X[X.LATENCY_ACTION_GET_CART_RPC]="LATENCY_ACTION_GET_CART_RPC";X[X.LATENCY_ACTION_THUMBNAIL_FETCH]="LATENCY_ACTION_THUMBNAIL_FETCH";X[X.LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK]="LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK";X[X.LATENCY_ACTION_SHARE_VIDEO]="LATENCY_ACTION_SHARE_VIDEO";X[X.LATENCY_ACTION_AD_TO_VIDEO_INT]="LATENCY_ACTION_AD_TO_VIDEO_INT"; X[X.LATENCY_ACTION_ABANDONED_BROWSE]="LATENCY_ACTION_ABANDONED_BROWSE";X[X.LATENCY_ACTION_PLAYER_ROTATION]="LATENCY_ACTION_PLAYER_ROTATION";X[X.LATENCY_ACTION_GENERIC_WEB_VIEW]="LATENCY_ACTION_GENERIC_WEB_VIEW";X[X.LATENCY_ACTION_SHOPPING_IN_APP]="LATENCY_ACTION_SHOPPING_IN_APP";X[X.LATENCY_ACTION_PLAYER_ATTESTATION]="LATENCY_ACTION_PLAYER_ATTESTATION";X[X.LATENCY_ACTION_PLAYER_SEEK]="LATENCY_ACTION_PLAYER_SEEK";X[X.LATENCY_ACTION_SUPER_STICKER_BUY_FLOW]="LATENCY_ACTION_SUPER_STICKER_BUY_FLOW"; X[X.LATENCY_ACTION_DOWNLOADS_DATA_ACCESS]="LATENCY_ACTION_DOWNLOADS_DATA_ACCESS";X[X.LATENCY_ACTION_BLOCKS_PERFORMANCE]="LATENCY_ACTION_BLOCKS_PERFORMANCE";X[X.LATENCY_ACTION_ASSISTANT_QUERY]="LATENCY_ACTION_ASSISTANT_QUERY";X[X.LATENCY_ACTION_ASSISTANT_SETTINGS]="LATENCY_ACTION_ASSISTANT_SETTINGS";X[X.LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF";X[X.LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF"; X[X.LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN]="LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN";X[X.LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE]="LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE";X[X.LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION]="LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION";X[X.LATENCY_ACTION_NETWORKLESS_PERFORMANCE]="LATENCY_ACTION_NETWORKLESS_PERFORMANCE";X[X.LATENCY_ACTION_DOWNLOADS_EXPANSION]="LATENCY_ACTION_DOWNLOADS_EXPANSION";X[X.LATENCY_ACTION_ENTITY_TRANSFORM]="LATENCY_ACTION_ENTITY_TRANSFORM"; X[X.LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER]="LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER";X[X.LATENCY_ACTION_EMBEDS_SET_VIDEO]="LATENCY_ACTION_EMBEDS_SET_VIDEO";X[X.LATENCY_ACTION_SETTINGS]="LATENCY_ACTION_SETTINGS";X[X.LATENCY_ACTION_ABANDONED_STARTUP]="LATENCY_ACTION_ABANDONED_STARTUP";X[X.LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY]="LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY";X[X.LATENCY_ACTION_MEDIA_BROWSER_SEARCH]="LATENCY_ACTION_MEDIA_BROWSER_SEARCH"; X[X.LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE]="LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE";X[X.LATENCY_ACTION_WHO_IS_WATCHING]="LATENCY_ACTION_WHO_IS_WATCHING";X[X.LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH]="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH";X[X.LATENCY_ACTION_LITE_SWITCH_ACCOUNT]="LATENCY_ACTION_LITE_SWITCH_ACCOUNT";X[X.LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION]="LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION";X[X.LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION]="LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION"; X[X.LATENCY_ACTION_OFFLINE_STORE_START]="LATENCY_ACTION_OFFLINE_STORE_START";X[X.LATENCY_ACTION_REEL_EDITOR]="LATENCY_ACTION_REEL_EDITOR";X[X.LATENCY_ACTION_CHANNEL_SUBSCRIBE]="LATENCY_ACTION_CHANNEL_SUBSCRIBE";X[X.LATENCY_ACTION_CHANNEL_PREVIEW]="LATENCY_ACTION_CHANNEL_PREVIEW";X[X.LATENCY_ACTION_PREFETCH]="LATENCY_ACTION_PREFETCH";X[X.LATENCY_ACTION_ABANDONED_WATCH]="LATENCY_ACTION_ABANDONED_WATCH";X[X.LATENCY_ACTION_LOAD_COMMENT_REPLIES]="LATENCY_ACTION_LOAD_COMMENT_REPLIES"; X[X.LATENCY_ACTION_LOAD_COMMENTS]="LATENCY_ACTION_LOAD_COMMENTS";X[X.LATENCY_ACTION_EDIT_COMMENT]="LATENCY_ACTION_EDIT_COMMENT";X[X.LATENCY_ACTION_NEW_COMMENT]="LATENCY_ACTION_NEW_COMMENT";X[X.LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING]="LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING";X[X.LATENCY_ACTION_EMBED]="LATENCY_ACTION_EMBED";X[X.LATENCY_ACTION_MDX_LAUNCH]="LATENCY_ACTION_MDX_LAUNCH";X[X.LATENCY_ACTION_RESOLVE_URL]="LATENCY_ACTION_RESOLVE_URL";X[X.LATENCY_ACTION_CAST_SPLASH]="LATENCY_ACTION_CAST_SPLASH"; X[X.LATENCY_ACTION_MDX_CONNECT_TO_SESSION]="LATENCY_ACTION_MDX_CONNECT_TO_SESSION";X[X.LATENCY_ACTION_MDX_STREAM_TRANSFER]="LATENCY_ACTION_MDX_STREAM_TRANSFER";X[X.LATENCY_ACTION_MDX_CAST]="LATENCY_ACTION_MDX_CAST";X[X.LATENCY_ACTION_MDX_COMMAND]="LATENCY_ACTION_MDX_COMMAND";X[X.LATENCY_ACTION_MOBILE_LIVE_NAV_MDE]="LATENCY_ACTION_MOBILE_LIVE_NAV_MDE";X[X.LATENCY_ACTION_REEL_SELECT_SEGMENT]="LATENCY_ACTION_REEL_SELECT_SEGMENT";X[X.LATENCY_ACTION_ACCELERATED_EFFECTS]="LATENCY_ACTION_ACCELERATED_EFFECTS"; X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_IMAGE_DOWNLOAD]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_IMAGE_DOWNLOAD";X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_VIDEO_DOWNLOAD]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_VIDEO_DOWNLOAD";X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_AUDIO_DOWNLOAD]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_AUDIO_DOWNLOAD";X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_IMAGE]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_IMAGE"; X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_VIDEO]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_VIDEO";X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_AUDIO]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_AUDIO";X[X.LATENCY_ACTION_GET_SHORTS_SOURCE_VIDEO]="LATENCY_ACTION_GET_SHORTS_SOURCE_VIDEO";X[X.LATENCY_ACTION_SHORTS_AUTO_CROP_DATA_DOWNLOAD]="LATENCY_ACTION_SHORTS_AUTO_CROP_DATA_DOWNLOAD";X[X.LATENCY_ACTION_SHORTS_FETCH_DYNAMIC_ASSET]="LATENCY_ACTION_SHORTS_FETCH_DYNAMIC_ASSET"; X[X.LATENCY_ACTION_SHORTS_LOAD_PROJECT]="LATENCY_ACTION_SHORTS_LOAD_PROJECT";X[X.LATENCY_ACTION_SHORTS_TRIM_TO_EDITOR_TRANSCODING]="LATENCY_ACTION_SHORTS_TRIM_TO_EDITOR_TRANSCODING";X[X.LATENCY_ACTION_EDIT_AUDIO_GEN]="LATENCY_ACTION_EDIT_AUDIO_GEN";X[X.LATENCY_ACTION_UPLOAD_AUDIO_MIXER]="LATENCY_ACTION_UPLOAD_AUDIO_MIXER";X[X.LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING_RECOMPOSITION]="LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING_RECOMPOSITION";X[X.LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING]="LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING"; X[X.LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING]="LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING";X[X.LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK]="LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK";X[X.LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD]="LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD";X[X.LATENCY_ACTION_SHORTS_CAMERA_AUDIO_DOWNLOAD]="LATENCY_ACTION_SHORTS_CAMERA_AUDIO_DOWNLOAD";X[X.LATENCY_ACTION_SHORTS_VIDEO_INGESTION]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION"; X[X.LATENCY_ACTION_SHORTS_RECOMPOSITION_TRANSCODING]="LATENCY_ACTION_SHORTS_RECOMPOSITION_TRANSCODING";X[X.LATENCY_ACTION_SHORTS_RECOMPOSITION]="LATENCY_ACTION_SHORTS_RECOMPOSITION";X[X.LATENCY_ACTION_SHORTS_GALLERY]="LATENCY_ACTION_SHORTS_GALLERY";X[X.LATENCY_ACTION_SHORTS_TRIM]="LATENCY_ACTION_SHORTS_TRIM";X[X.LATENCY_ACTION_SHORTS_EDIT]="LATENCY_ACTION_SHORTS_EDIT";X[X.LATENCY_ACTION_SHORTS_CAMERA]="LATENCY_ACTION_SHORTS_CAMERA";X[X.LATENCY_ACTION_NON_CREATION_MODES_GLOBAL_ENTRYPOINT]="LATENCY_ACTION_NON_CREATION_MODES_GLOBAL_ENTRYPOINT"; X[X.LATENCY_ACTION_CREATION_MODES_MODE_SWITCH]="LATENCY_ACTION_CREATION_MODES_MODE_SWITCH";X[X.LATENCY_ACTION_CREATION_MODES_GLOBAL_ENTRYPOINT]="LATENCY_ACTION_CREATION_MODES_GLOBAL_ENTRYPOINT";X[X.LATENCY_ACTION_SWITCH_CAMERA]="LATENCY_ACTION_SWITCH_CAMERA";X[X.LATENCY_ACTION_OPEN_CAMERA]="LATENCY_ACTION_OPEN_CAMERA";X[X.LATENCY_ACTION_MEDIA_ENGINE_TRANSCODE]="LATENCY_ACTION_MEDIA_ENGINE_TRANSCODE";X[X.LATENCY_ACTION_MEDIA_ENGINE_DISPLAY_FIRST_FRAME]="LATENCY_ACTION_MEDIA_ENGINE_DISPLAY_FIRST_FRAME"; X[X.LATENCY_ACTION_MEDIA_ENGINE_EXPORT]="LATENCY_ACTION_MEDIA_ENGINE_EXPORT";X[X.LATENCY_ACTION_PRODUCER_IMPORT_LOCAL_MEDIA]="LATENCY_ACTION_PRODUCER_IMPORT_LOCAL_MEDIA";X[X.LATENCY_ACTION_PRODUCER_EXPORT_PROJECT]="LATENCY_ACTION_PRODUCER_EXPORT_PROJECT";X[X.LATENCY_ACTION_PRODUCER_EDITOR]="LATENCY_ACTION_PRODUCER_EDITOR";X[X.LATENCY_ACTION_PARENT_TOOLS_DASHBOARD]="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD";X[X.LATENCY_ACTION_PARENT_TOOLS_COLLECTION]="LATENCY_ACTION_PARENT_TOOLS_COLLECTION"; X[X.LATENCY_ACTION_MUSIC_OFFLINE_PLAYLIST_DETAIL]="LATENCY_ACTION_MUSIC_OFFLINE_PLAYLIST_DETAIL";X[X.LATENCY_ACTION_MUSIC_OFFLINE_ALBUM_DETAIL]="LATENCY_ACTION_MUSIC_OFFLINE_ALBUM_DETAIL";X[X.LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS";X[X.LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS";X[X.LATENCY_ACTION_MUSIC_ALBUM_DETAIL]="LATENCY_ACTION_MUSIC_ALBUM_DETAIL";X[X.LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL]="LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL"; X[X.LATENCY_ACTION_STORE]="LATENCY_ACTION_STORE";X[X.LATENCY_ACTION_CHIPS]="LATENCY_ACTION_CHIPS";X[X.LATENCY_ACTION_SEARCH_ZERO_STATE]="LATENCY_ACTION_SEARCH_ZERO_STATE";X[X.LATENCY_ACTION_LIVE_PAGINATION]="LATENCY_ACTION_LIVE_PAGINATION";X[X.LATENCY_ACTION_LIVE]="LATENCY_ACTION_LIVE";X[X.LATENCY_ACTION_PREBUFFER]="LATENCY_ACTION_PREBUFFER";X[X.LATENCY_ACTION_TENX]="LATENCY_ACTION_TENX";X[X.LATENCY_ACTION_KIDS_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PROFILE_SETTINGS"; X[X.LATENCY_ACTION_KIDS_WATCH_IT_AGAIN]="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN";X[X.LATENCY_ACTION_KIDS_SECRET_CODE]="LATENCY_ACTION_KIDS_SECRET_CODE";X[X.LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS";X[X.LATENCY_ACTION_KIDS_ONBOARDING]="LATENCY_ACTION_KIDS_ONBOARDING";X[X.LATENCY_ACTION_KIDS_VOICE_SEARCH]="LATENCY_ACTION_KIDS_VOICE_SEARCH";X[X.LATENCY_ACTION_KIDS_CURATED_COLLECTION]="LATENCY_ACTION_KIDS_CURATED_COLLECTION"; X[X.LATENCY_ACTION_KIDS_LIBRARY]="LATENCY_ACTION_KIDS_LIBRARY";X[X.LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS";X[X.LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT";X[X.LATENCY_ACTION_CREATOR_VIDEO_POLICY]="LATENCY_ACTION_CREATOR_VIDEO_POLICY";X[X.LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION";X[X.LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING"; X[X.LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS";X[X.LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC";X[X.LATENCY_ACTION_CREATOR_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR";X[X.LATENCY_ACTION_CREATOR_VIDEO_EDIT]="LATENCY_ACTION_CREATOR_VIDEO_EDIT";X[X.LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT";X[X.LATENCY_ACTION_CREATOR_VIDEO_COMMENTS]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS"; X[X.LATENCY_ACTION_CREATOR_VIDEO_CLAIMS]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS";X[X.LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_SONG_ANALYTICS]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_PROMOTION_LIST]="LATENCY_ACTION_CREATOR_PROMOTION_LIST";X[X.LATENCY_ACTION_CREATOR_PROMOTION_EDIT]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT";X[X.LATENCY_ACTION_CREATOR_POST_LIST]="LATENCY_ACTION_CREATOR_POST_LIST"; X[X.LATENCY_ACTION_CREATOR_POST_EDIT]="LATENCY_ACTION_CREATOR_POST_EDIT";X[X.LATENCY_ACTION_CREATOR_POST_COMMENTS]="LATENCY_ACTION_CREATOR_POST_COMMENTS";X[X.LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST]="LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST";X[X.LATENCY_ACTION_CREATOR_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_LIVE_STREAMING";X[X.LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT";X[X.LATENCY_ACTION_CREATOR_DIALOG_UPLOADS]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS"; X[X.LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES";X[X.LATENCY_ACTION_CREATOR_CMS_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_VIDEOS";X[X.LATENCY_ACTION_CREATOR_CMS_REPORTS]="LATENCY_ACTION_CREATOR_CMS_REPORTS";X[X.LATENCY_ACTION_CREATOR_CMS_RELEASES]="LATENCY_ACTION_CREATOR_CMS_RELEASES";X[X.LATENCY_ACTION_CREATOR_CMS_POLICIES]="LATENCY_ACTION_CREATOR_CMS_POLICIES";X[X.LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC"; X[X.LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING";X[X.LATENCY_ACTION_CREATOR_CMS_LICENSES]="LATENCY_ACTION_CREATOR_CMS_LICENSES";X[X.LATENCY_ACTION_CREATOR_CMS_ISSUES]="LATENCY_ACTION_CREATOR_CMS_ISSUES";X[X.LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES]="LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES";X[X.LATENCY_ACTION_CREATOR_CMS_DASHBOARD]="LATENCY_ACTION_CREATOR_CMS_DASHBOARD";X[X.LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY]="LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY"; X[X.LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS";X[X.LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES]="LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES";X[X.LATENCY_ACTION_CREATOR_CMS_CHANNELS]="LATENCY_ACTION_CREATOR_CMS_CHANNELS";X[X.LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS";X[X.LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY]="LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS"; X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES]="LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP]="LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA]="LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES"; X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS"; X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION"; X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSETS]="LATENCY_ACTION_CREATOR_CMS_ASSETS";X[X.LATENCY_ACTION_CREATOR_CMS_ART_TRACKS]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS";X[X.LATENCY_ACTION_CREATOR_CMS_ANALYTICS]="LATENCY_ACTION_CREATOR_CMS_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_CMS_ALLOWLIST]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST";X[X.LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS"; X[X.LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS";X[X.LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS";X[X.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT";X[X.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC";X[X.LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION"; X[X.LATENCY_ACTION_CREATOR_CHANNEL_EDITING]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING";X[X.LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD]="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD";X[X.LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT";X[X.LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS";X[X.LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_ARTIST_PROFILE]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE"; X[X.LATENCY_ACTION_CREATOR_ARTIST_CONCERTS]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS";X[X.LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE";X[X.LATENCY_ACTION_EXPERIMENTAL_WATCH_UI]="LATENCY_ACTION_EXPERIMENTAL_WATCH_UI";X[X.LATENCY_ACTION_FINE_SCRUBBING_THUMBNAILS]="LATENCY_ACTION_FINE_SCRUBBING_THUMBNAILS";X[X.LATENCY_ACTION_STORYBOARD_THUMBNAILS]="LATENCY_ACTION_STORYBOARD_THUMBNAILS"; X[X.LATENCY_ACTION_SEARCH_THUMBNAILS]="LATENCY_ACTION_SEARCH_THUMBNAILS";X[X.LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD]="LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD";X[X.LATENCY_ACTION_VOICE_ASSISTANT]="LATENCY_ACTION_VOICE_ASSISTANT";X[X.LATENCY_ACTION_SEARCH_UI]="LATENCY_ACTION_SEARCH_UI";X[X.LATENCY_ACTION_SUGGEST]="LATENCY_ACTION_SUGGEST";X[X.LATENCY_ACTION_AUTO_SEARCH]="LATENCY_ACTION_AUTO_SEARCH";X[X.LATENCY_ACTION_PLAYLIST_AGGREGATION]="LATENCY_ACTION_PLAYLIST_AGGREGATION"; X[X.LATENCY_ACTION_DOWNLOADS]="LATENCY_ACTION_DOWNLOADS";X[X.LATENCY_ACTION_EXPLORE]="LATENCY_ACTION_EXPLORE";X[X.LATENCY_ACTION_VIDEO_LIST]="LATENCY_ACTION_VIDEO_LIST";X[X.LATENCY_ACTION_HOME_RESUME]="LATENCY_ACTION_HOME_RESUME";X[X.LATENCY_ACTION_SUBSCRIPTIONS_LIST]="LATENCY_ACTION_SUBSCRIPTIONS_LIST";X[X.LATENCY_ACTION_FIRST_THUMBNAIL_LOAD]="LATENCY_ACTION_FIRST_THUMBNAIL_LOAD";X[X.LATENCY_ACTION_SUBSCRIPTIONS_FEED]="LATENCY_ACTION_SUBSCRIPTIONS_FEED";X[X.LATENCY_ACTION_SUBSCRIPTIONS]="LATENCY_ACTION_SUBSCRIPTIONS"; X[X.LATENCY_ACTION_TRENDING]="LATENCY_ACTION_TRENDING";X[X.LATENCY_ACTION_LIBRARY]="LATENCY_ACTION_LIBRARY";X[X.LATENCY_ACTION_VIDEO_THUMBNAIL]="LATENCY_ACTION_VIDEO_THUMBNAIL";X[X.LATENCY_ACTION_SHOW_MORE]="LATENCY_ACTION_SHOW_MORE";X[X.LATENCY_ACTION_VIDEO_PREVIEW]="LATENCY_ACTION_VIDEO_PREVIEW";X[X.LATENCY_ACTION_AD_TO_AD]="LATENCY_ACTION_AD_TO_AD";X[X.LATENCY_ACTION_VIDEO_TO_AD]="LATENCY_ACTION_VIDEO_TO_AD";X[X.LATENCY_ACTION_AD_TO_VIDEO]="LATENCY_ACTION_AD_TO_VIDEO"; X[X.LATENCY_ACTION_DIRECT_PLAYBACK]="LATENCY_ACTION_DIRECT_PLAYBACK";X[X.LATENCY_ACTION_IMAGE_LOAD]="LATENCY_ACTION_IMAGE_LOAD";X[X.LATENCY_ACTION_PREBUFFER_VIDEO]="LATENCY_ACTION_PREBUFFER_VIDEO";X[X.LATENCY_ACTION_PREFETCH_VIDEO]="LATENCY_ACTION_PREFETCH_VIDEO";X[X.LATENCY_ACTION_STARTUP]="LATENCY_ACTION_STARTUP";X[X.LATENCY_ACTION_ELEMENTS_PERFORMANCE]="LATENCY_ACTION_ELEMENTS_PERFORMANCE";X[X.LATENCY_ACTION_INFRASTRUCTURE_CONTAINER]="LATENCY_ACTION_INFRASTRUCTURE_CONTAINER"; X[X.LATENCY_ACTION_INLINE_TO_WATCH]="LATENCY_ACTION_INLINE_TO_WATCH";X[X.LATENCY_ACTION_MUSIC_IMMERSIVE_WATCH]="LATENCY_ACTION_MUSIC_IMMERSIVE_WATCH";X[X.LATENCY_ACTION_ONBOARDING]="LATENCY_ACTION_ONBOARDING";X[X.LATENCY_ACTION_LOGIN]="LATENCY_ACTION_LOGIN";X[X.LATENCY_ACTION_REEL_WATCH]="LATENCY_ACTION_REEL_WATCH";X[X.LATENCY_ACTION_WATCH]="LATENCY_ACTION_WATCH";X[X.LATENCY_ACTION_RESULTS]="LATENCY_ACTION_RESULTS";X[X.LATENCY_ACTION_CHANNELS]="LATENCY_ACTION_CHANNELS";X[X.LATENCY_ACTION_HOME]="LATENCY_ACTION_HOME"; X[X.LATENCY_ACTION_BROWSE]="LATENCY_ACTION_BROWSE";X[X.LATENCY_ACTION_USER_ACTION]="LATENCY_ACTION_USER_ACTION";X[X.LATENCY_ACTION_INFRASTRUCTURE]="LATENCY_ACTION_INFRASTRUCTURE";X[X.LATENCY_ACTION_PAGE_NAVIGATION]="LATENCY_ACTION_PAGE_NAVIGATION";X[X.LATENCY_ACTION_UNKNOWN]="LATENCY_ACTION_UNKNOWN";var CH={LATENCY_NETWORK_MOBILE:2,LATENCY_NETWORK_WIFI:1,LATENCY_NETWORK_UNKNOWN:0};CH[CH.LATENCY_NETWORK_MOBILE]="LATENCY_NETWORK_MOBILE";CH[CH.LATENCY_NETWORK_WIFI]="LATENCY_NETWORK_WIFI"; CH[CH.LATENCY_NETWORK_UNKNOWN]="LATENCY_NETWORK_UNKNOWN";var DH={CONN_INVALID:31,CONN_WIRED:30,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};DH[DH.CONN_INVALID]="CONN_INVALID";DH[DH.CONN_WIRED]="CONN_WIRED";DH[DH.CONN_CELLULAR_5G_NSA]="CONN_CELLULAR_5G_NSA";DH[DH.CONN_CELLULAR_5G_SA]="CONN_CELLULAR_5G_SA"; DH[DH.CONN_WIFI_METERED]="CONN_WIFI_METERED";DH[DH.CONN_CELLULAR_5G]="CONN_CELLULAR_5G";DH[DH.CONN_DISCO]="CONN_DISCO";DH[DH.CONN_CELLULAR_UNKNOWN]="CONN_CELLULAR_UNKNOWN";DH[DH.CONN_CELLULAR_4G]="CONN_CELLULAR_4G";DH[DH.CONN_CELLULAR_3G]="CONN_CELLULAR_3G";DH[DH.CONN_CELLULAR_2G]="CONN_CELLULAR_2G";DH[DH.CONN_WIFI]="CONN_WIFI";DH[DH.CONN_NONE]="CONN_NONE";DH[DH.CONN_UNKNOWN]="CONN_UNKNOWN";DH[DH.CONN_DEFAULT]="CONN_DEFAULT"; var EH={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};EH[EH.DETAILED_NETWORK_TYPE_NR_NSA]="DETAILED_NETWORK_TYPE_NR_NSA"; EH[EH.DETAILED_NETWORK_TYPE_NR_SA]="DETAILED_NETWORK_TYPE_NR_SA";EH[EH.DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED]="DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED";EH[EH.DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT]="DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT";EH[EH.DETAILED_NETWORK_TYPE_DISCONNECTED]="DETAILED_NETWORK_TYPE_DISCONNECTED";EH[EH.DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN";EH[EH.DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN"; EH[EH.DETAILED_NETWORK_TYPE_WIMAX]="DETAILED_NETWORK_TYPE_WIMAX";EH[EH.DETAILED_NETWORK_TYPE_ETHERNET]="DETAILED_NETWORK_TYPE_ETHERNET";EH[EH.DETAILED_NETWORK_TYPE_BLUETOOTH]="DETAILED_NETWORK_TYPE_BLUETOOTH";EH[EH.DETAILED_NETWORK_TYPE_WIFI]="DETAILED_NETWORK_TYPE_WIFI";EH[EH.DETAILED_NETWORK_TYPE_LTE]="DETAILED_NETWORK_TYPE_LTE";EH[EH.DETAILED_NETWORK_TYPE_HSPAP]="DETAILED_NETWORK_TYPE_HSPAP";EH[EH.DETAILED_NETWORK_TYPE_EHRPD]="DETAILED_NETWORK_TYPE_EHRPD";EH[EH.DETAILED_NETWORK_TYPE_EVDO_B]="DETAILED_NETWORK_TYPE_EVDO_B"; EH[EH.DETAILED_NETWORK_TYPE_UMTS]="DETAILED_NETWORK_TYPE_UMTS";EH[EH.DETAILED_NETWORK_TYPE_IDEN]="DETAILED_NETWORK_TYPE_IDEN";EH[EH.DETAILED_NETWORK_TYPE_HSUPA]="DETAILED_NETWORK_TYPE_HSUPA";EH[EH.DETAILED_NETWORK_TYPE_HSPA]="DETAILED_NETWORK_TYPE_HSPA";EH[EH.DETAILED_NETWORK_TYPE_HSDPA]="DETAILED_NETWORK_TYPE_HSDPA";EH[EH.DETAILED_NETWORK_TYPE_EVDO_A]="DETAILED_NETWORK_TYPE_EVDO_A";EH[EH.DETAILED_NETWORK_TYPE_EVDO_0]="DETAILED_NETWORK_TYPE_EVDO_0";EH[EH.DETAILED_NETWORK_TYPE_CDMA]="DETAILED_NETWORK_TYPE_CDMA"; EH[EH.DETAILED_NETWORK_TYPE_1_X_RTT]="DETAILED_NETWORK_TYPE_1_X_RTT";EH[EH.DETAILED_NETWORK_TYPE_GPRS]="DETAILED_NETWORK_TYPE_GPRS";EH[EH.DETAILED_NETWORK_TYPE_EDGE]="DETAILED_NETWORK_TYPE_EDGE";EH[EH.DETAILED_NETWORK_TYPE_UNKNOWN]="DETAILED_NETWORK_TYPE_UNKNOWN";var FH={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}; FH[FH.LATENCY_PLAYER_RTSP]="LATENCY_PLAYER_RTSP";FH[FH.LATENCY_PLAYER_HTML5_INLINE]="LATENCY_PLAYER_HTML5_INLINE";FH[FH.LATENCY_PLAYER_HTML5_FULLSCREEN]="LATENCY_PLAYER_HTML5_FULLSCREEN";FH[FH.LATENCY_PLAYER_HTML5]="LATENCY_PLAYER_HTML5";FH[FH.LATENCY_PLAYER_FRAMEWORK]="LATENCY_PLAYER_FRAMEWORK";FH[FH.LATENCY_PLAYER_FLASH]="LATENCY_PLAYER_FLASH";FH[FH.LATENCY_PLAYER_EXO]="LATENCY_PLAYER_EXO";FH[FH.LATENCY_PLAYER_UNKNOWN]="LATENCY_PLAYER_UNKNOWN"; var GH={LATENCY_AD_BREAK_TYPE_POSTROLL:3,LATENCY_AD_BREAK_TYPE_MIDROLL:2,LATENCY_AD_BREAK_TYPE_PREROLL:1,LATENCY_AD_BREAK_TYPE_UNKNOWN:0};GH[GH.LATENCY_AD_BREAK_TYPE_POSTROLL]="LATENCY_AD_BREAK_TYPE_POSTROLL";GH[GH.LATENCY_AD_BREAK_TYPE_MIDROLL]="LATENCY_AD_BREAK_TYPE_MIDROLL";GH[GH.LATENCY_AD_BREAK_TYPE_PREROLL]="LATENCY_AD_BREAK_TYPE_PREROLL";GH[GH.LATENCY_AD_BREAK_TYPE_UNKNOWN]="LATENCY_AD_BREAK_TYPE_UNKNOWN";var HH={LATENCY_ACTION_ERROR_STARTUP_TIMEOUT:1,LATENCY_ACTION_ERROR_UNSPECIFIED:0}; HH[HH.LATENCY_ACTION_ERROR_STARTUP_TIMEOUT]="LATENCY_ACTION_ERROR_STARTUP_TIMEOUT";HH[HH.LATENCY_ACTION_ERROR_UNSPECIFIED]="LATENCY_ACTION_ERROR_UNSPECIFIED";var IH={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};IH[IH.LIVE_STREAM_MODE_WINDOW]="LIVE_STREAM_MODE_WINDOW";IH[IH.LIVE_STREAM_MODE_POST]="LIVE_STREAM_MODE_POST";IH[IH.LIVE_STREAM_MODE_LP]="LIVE_STREAM_MODE_LP"; IH[IH.LIVE_STREAM_MODE_LIVE]="LIVE_STREAM_MODE_LIVE";IH[IH.LIVE_STREAM_MODE_DVR]="LIVE_STREAM_MODE_DVR";IH[IH.LIVE_STREAM_MODE_UNKNOWN]="LIVE_STREAM_MODE_UNKNOWN";var JH={VIDEO_STREAM_TYPE_VOD:3,VIDEO_STREAM_TYPE_DVR:2,VIDEO_STREAM_TYPE_LIVE:1,VIDEO_STREAM_TYPE_UNSPECIFIED:0};JH[JH.VIDEO_STREAM_TYPE_VOD]="VIDEO_STREAM_TYPE_VOD";JH[JH.VIDEO_STREAM_TYPE_DVR]="VIDEO_STREAM_TYPE_DVR";JH[JH.VIDEO_STREAM_TYPE_LIVE]="VIDEO_STREAM_TYPE_LIVE";JH[JH.VIDEO_STREAM_TYPE_UNSPECIFIED]="VIDEO_STREAM_TYPE_UNSPECIFIED"; var KH={YT_IDB_TRANSACTION_TYPE_READ:2,YT_IDB_TRANSACTION_TYPE_WRITE:1,YT_IDB_TRANSACTION_TYPE_UNKNOWN:0};KH[KH.YT_IDB_TRANSACTION_TYPE_READ]="YT_IDB_TRANSACTION_TYPE_READ";KH[KH.YT_IDB_TRANSACTION_TYPE_WRITE]="YT_IDB_TRANSACTION_TYPE_WRITE";KH[KH.YT_IDB_TRANSACTION_TYPE_UNKNOWN]="YT_IDB_TRANSACTION_TYPE_UNKNOWN";var LH={PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN:2,PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT:1,PLAYER_ROTATION_TYPE_UNKNOWN:0};LH[LH.PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN]="PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN"; LH[LH.PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT]="PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT";LH[LH.PLAYER_ROTATION_TYPE_UNKNOWN]="PLAYER_ROTATION_TYPE_UNKNOWN";var jxa="actionVisualElement spinnerInfo cacheAttempts resourceInfo preloadThumbnailInfo startupEdgeCaseInfo playerInfo commentInfo mdxInfo watchInfo thumbnailLoadInfo imageLoadInfo creatorInfo unpluggedInfo reelInfo subscriptionsFeedInfo requestIds mediaBrowserActionInfo musicLoadActionInfo shoppingInfo webViewInfo prefetchInfo accelerationSession commerceInfo inlineToWatchInfo mediaEngineMetadata miniAppInfo dynamicAssetFetchInfo webInfo tvInfo kabukiInfo mwebInfo musicInfo transcodingContext creationModesContext cameraMetadata producerMediaAssetMetadata".split(" ");g.w(fxa,ZD);var Axa=new $D("aft-recorded",fxa);var uH=g.Ra.ytLoggingLatencyUsageStats_||{};g.Sa("ytLoggingLatencyUsageStats_",uH);sH.prototype.tick=function(a,b,c,d){vH(this,"tick_"+a+"_"+b)||(c={timestamp:c,cttAuthInfo:d},g.AB("web_csi_via_jspb")?(d=new vna,Q(d,1,a),Q(d,2,b),a=g.AB("jspb_sparse_encoded_pivot")?new uB([{}]):new uB,Lj(a,vna,5,tF,d),sF("latencyActionTicked",a,c)):g.gD("latencyActionTicked",{tickName:a,clientActionNonce:b},c))}; sH.prototype.info=function(a,b,c){var d=Object.keys(a).join("");vH(this,"info_"+d+"_"+b)||(a=Object.assign({},a),a.clientActionNonce=b,g.gD("latencyActionInfo",a,{cttAuthInfo:c}))}; sH.prototype.jspbInfo=function(a,b,c){for(var d="",e=0;e=this.start&&(athis.B.length)throw new kJ("Invalid sub layout rendering adapter length when scheduling composite layout.",{length:String(this.B.length)});var a=mJ(this.wb().Ca,"metadata_type_ad_pod_skip_target_callback_ref");a&&(a.current=this);a=g.v(this.B);for(var b=a.next();!b.done;b=a.next())b=b.value,b.init(),cza(this.C,this.slot,b.wb()),dza(this.C,this.slot,b.wb());if(this.qf())for(this.Xa.get().addListener(this), a=g.v(this.B),b=a.next();!b.done;b=a.next())(b=mJ(b.value.wb().Ca,"metadata_type_player_vars"))&&this.Ae.get().addPlayerResponseForAssociation(b)}; g.k.au=function(){var a=mJ(this.wb().Ca,"metadata_type_ad_pod_skip_target_callback_ref");a&&(a.current=null);a=g.v(this.B);for(var b=a.next();!b.done;b=a.next())b=b.value,eza(this.C,this.slot,b.wb()),b.release();this.qf()&&this.Xa.get().removeListener(this)}; g.k.yJ=function(){}; g.k.GJ=function(a,b){var c=this,d=this.B[this.j];d&&this.G&&(d.wb().layoutId!==a&&HG("Unexpected active subLRA when previous playback ends",this.slot,this.layout),this.N=function(e){e.layoutId!==a&&HG("Unexpected previous CPN when sublayout exit is confirmed",c.slot,c.layout);c.B.some(function(f){return f.wb().layoutId===b})||(c.j=c.B.length,CK(c.D,c.layout))},d.ZW())}; g.k.FJ=function(a){var b=this.B.findIndex(function(c){return c.wb().layoutId===a}); -1!==b&&(-1===this.j&&JFa(this.Zd,this.slot.slotId),cBa(this,b))}; g.k.Ar=function(a,b){var c=this.B[this.j];b.layoutId!==AK(c,a,b)?HG("pauseLayout for a PlayerBytes layout that is not currently active",a,b):c.Ar()}; g.k.Fr=function(a,b){var c=this.B[this.j];b.layoutId!==AK(c,a,b)?HG("resumeLayout for a PlayerBytes layout that is not currently active",a,b):c.Fr()}; g.k.LA=function(a,b){var c=this.B[this.j];this.j===this.B.length-1&&HG("Unexpected skip requested during the last sublayout",c.Jc(),c.wb(),{requestingSlot:a,requestingLayout:b});b.layoutId!==AK(c,a,b)?HG("onSkipRequested for a PlayerBytes layout that is not currently active",c.Jc(),c.wb(),{requestingSlot:a,requestingLayout:b}):aBa(this,c.Jc(),c.wb(),"skipped")}; g.k.yu=function(){this.qf()||-1===this.j&&$Aa(this,this.j+1)}; g.k.C$=function(a,b){fza(this.C,a,b)}; g.k.Pr=function(a,b){var c=this;this.j===this.B.length?this.callback.Wc(this.slot,this.layout,b):(a=this.B[this.j],a.sf(a.wb(),b),this.Z=function(){c.callback.Wc(c.slot,c.layout,b)},this.qf()&&this.Pc.get().finishSegmentByCpn(a.wb().layoutId,this.Xa.get().lf(1).clientPlaybackNonce))}; g.k.Kc=function(a,b){var c=this.B[this.j];c&&c.Kc(a,b)}; g.k.Wc=function(a,b,c){zK.prototype.Wc.call(this,a,b,c);var d=this.B[this.j];d&&d.Wc(a,b,c)}; g.k.hY=function(){var a=this.B[this.j];a&&a.iI()}; g.k.Ri=function(a){var b=this.B[this.j];b&&b.Ri(a)}; g.k.dZ=function(a){var b=this.B[this.j];b&&b.uj(a)}; g.k.zf=function(a,b,c){-1===this.j&&(this.callback.Kc(this.slot,this.layout),this.j++);var d=this.B[this.j];d?d.wA(a,b,c):HG("No active adapter found onLayoutError in PlayerBytesVodCompositeLayoutRenderingAdapter",void 0,void 0,{activeSubLayoutIndex:String(this.j),layoutId:this.wb().layoutId})}; g.k.onFullscreenToggled=function(a){var b=this.B[this.j];if(b)b.onFullscreenToggled(a)}; g.k.rh=function(a){var b=this.B[this.j];b&&b.rh(a)}; g.k.sj=function(a){var b=this.B[this.j];b&&b.sj(a)}; g.k.onVolumeChange=function(){var a=this.B[this.j];if(a)a.onVolumeChange()}; g.k.E$=function(a,b,c){this.qf()?ZAa(this,b,c):aBa(this,a,b,c)}; g.k.qF=function(a,b,c){WAa(this,b,this.j+1,c)}; g.k.D$=function(a,b,c,d){this.qf()?HG("Unexpected sublayout error",a,b,{errorMessage:c.message,errorType:d}):aBa(this,a,b,"error")};var tib,b3,eBa; tib={Dia:"ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"AUTHENTICATION_EXPIRED",nna:"AUTHENTICATION_MALFORMED",ona:"AUTHENTICATION_MISSING",Ana:"BAD_REQUEST",Doa:"CAST_SESSION_DEVICE_MISMATCHED",Eoa:"CAST_SESSION_VIDEO_MISMATCHED",Foa:"CAST_TOKEN_EXPIRED",Goa:"CAST_TOKEN_FAILED",Hoa:"CAST_TOKEN_MALFORMED",npa:"CGI_PARAMS_MALFORMED",opa:"CGI_PARAMS_MISSING",Vta:"DEVICE_FALLBACK",yva:"GENERIC_WITH_LINK_AND_CPN",zva:"ERROR_HDCP",Eva:"LICENSE",Hva:"VIDEO_UNAVAILABLE",VCa:"FORMAT_UNAVAILABLE",bDa:"GEO_FAILURE", qEa:"HTML5_AUDIO_RENDERER_ERROR",rEa:"GENERIC_WITHOUT_LINK",sEa:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",tEa:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",uEa:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT",DEa:"HTML5_SPS_UMP_STATUS_REJECTED",LFa:"INVALID_DRM_MESSAGE",i_a:"PURCHASE_NOT_FOUND",j_a:"PURCHASE_REFUNDED",C_a:"RENTAL_EXPIRED",J_a:"RETRYABLE_ERROR",H0a:"SERVER_ERROR",a2a:"SIGNATURE_EXPIRED",g5a:"STOPPED_BY_ANOTHER_PLAYBACK",o6a:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",p6a:"STREAMING_NOT_ALLOWED", q6a:"STREAM_LICENSE_NOT_FOUND",o8a:"TOO_MANY_REQUESTS",p8a:"TOO_MANY_REQUESTS_WITH_LINK",r8a:"TOO_MANY_STREAMS_PER_ENTITLEMENT",s8a:"TOO_MANY_STREAMS_PER_USER",gdb:"UNSUPPORTED_DEVICE",ydb:"VIDEO_FORBIDDEN",Kdb:"VIDEO_NOT_FOUND"};b3={}; g.UV=(b3.ALREADY_PINNED_ON_A_DEVICE="\u0412\u044b \u0443\u0436\u0435 \u0441\u043a\u0430\u0447\u0430\u043b\u0438 \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u043e\u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0435\u043c. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u0437\u0434\u0435\u0441\u044c, \u043e\u0442\u043a\u0440\u0435\u043f\u0438\u0442\u0435 \u0435\u0433\u043e \u043e\u0442 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.",b3.DEVICE_FALLBACK= "\u0412\u0438\u0434\u0435\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435.",b3.GENERIC_WITH_LINK_AND_CPN="\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435. \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f: $CPN. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK", b3.LICENSE="\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043e \u0438\u0437-\u0437\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439.",b3.VIDEO_UNAVAILABLE="\u041e\u0448\u0438\u0431\u043a\u0430",b3.FORMAT_UNAVAILABLE="\u042d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0432 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.", b3.GEO_FAILURE="\u042d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0435.",b3.HTML5_AUDIO_RENDERER_ERROR="\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0430\u0443\u0434\u0438\u043e. \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440.", b3.GENERIC_WITHOUT_LINK="\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",b3.HTML5_NO_AVAILABLE_FORMATS_FALLBACK="\u042d\u0442\u043e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f",b3.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK="\u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0435\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e\u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432. $BEGIN_LINK\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043e \u0432\u0438\u0434\u0435\u043e HTML5.$END_LINK", b3.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043e \u0432 \u044d\u0442\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0435\u043b\u044c\u0437\u044f. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435\u2026$END_LINK",b3.HTML5_SPS_UMP_STATUS_REJECTED="\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u043b\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435\u2026$END_LINK", b3.INVALID_DRM_MESSAGE="\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b DRM.",b3.PURCHASE_NOT_FOUND="\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u044d\u0442\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e.", b3.PURCHASE_REFUNDED="\u041f\u043e \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u0432\u043e\u0437\u0432\u0440\u0430\u0442 \u0441\u0440\u0435\u0434\u0441\u0442\u0432.",b3.RENTAL_EXPIRED="\u0412\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u043a\u0430\u0442\u0430 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u043e\u0441\u044c.",b3.CAST_SESSION_DEVICE_MISMATCHED="\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432 \u0441\u0435\u0430\u043d\u0441\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u043c\u0443.", b3.CAST_SESSION_VIDEO_MISMATCHED="\u0412\u0438\u0434\u0435\u043e \u0432 \u0441\u0435\u0430\u043d\u0441\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u043c\u0443.",b3.CAST_TOKEN_FAILED="\u0421\u0435\u0430\u043d\u0441 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u043b\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.", b3.CAST_TOKEN_EXPIRED="\u0412\u0440\u0435\u043c\u044f \u0441\u0435\u0430\u043d\u0441\u0430 \u0438\u0441\u0442\u0435\u043a\u043b\u043e. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443.",b3.CAST_TOKEN_MALFORMED="\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0441\u0435\u0430\u043d\u0441. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u043b\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.", b3.SERVER_ERROR="\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",b3.STOPPED_BY_ANOTHER_PLAYBACK="\u0412\u0438\u0434\u0435\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0430\u0448\u0435\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440.", b3.STREAM_LICENSE_NOT_FOUND="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0440\u0432\u0430\u043d\u043e. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",b3.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED="\u0417\u0430 \u0441\u0443\u0442\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432/IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.", b3.STREAMING_NOT_ALLOWED="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u0438\u0434\u0435\u043e \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u043e \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443.",b3.RETRYABLE_ERROR="\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.", b3.TOO_MANY_REQUESTS="\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e, \u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442.",b3.TOO_MANY_REQUESTS_WITH_LINK="\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043d\u0430 YouTube, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043f\u043e $BEGIN_LINK\u044d\u0442\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435$END_LINK.", b3.TOO_MANY_STREAMS_PER_USER="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0445\u0441\u044f \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0443.", b3.TOO_MANY_STREAMS_PER_ENTITLEMENT="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e.",b3.UNSUPPORTED_DEVICE= "\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c.",b3.VIDEO_FORBIDDEN="\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0432\u0438\u0434\u0435\u043e \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d.",b3.VIDEO_NOT_FOUND="\u041d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u0432\u0438\u0434\u0435\u043e.", b3); eBa={300:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"ALREADY_PINNED_ON_A_DEVICE",303:"STOPPED_BY_ANOTHER_PLAYBACK",304:"TOO_MANY_STREAMS_PER_USER",305:"TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"VIDEO_NOT_FOUND",401:"GEO_FAILURE",402:"STREAMING_NOT_ALLOWED",403:"UNSUPPORTED_DEVICE",405:"VIDEO_FORBIDDEN",500:"PURCHASE_NOT_FOUND",501:"RENTAL_EXPIRED",502:"PURCHASE_REFUNDED",5E3:"BAD_REQUEST",5001:"CGI_PARAMS_MISSING",5002:"CGI_PARAMS_MALFORMED",5100:"AUTHENTICATION_MISSING",5101:"AUTHENTICATION_MALFORMED",5102:"AUTHENTICATION_EXPIRED", 5200:"CAST_TOKEN_MALFORMED",5201:"CAST_TOKEN_EXPIRED",5202:"CAST_TOKEN_FAILED",5203:"CAST_SESSION_VIDEO_MISMATCHED",5204:"CAST_SESSION_DEVICE_MISMATCHED",6E3:"INVALID_DRM_MESSAGE",7E3:"SERVER_ERROR",8E3:"RETRYABLE_ERROR"};var uib;var vib=g.oc(),wib=vib.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!wib||2>wib.length)uib=void 0;else{var xib=vib.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);uib=xib&&6===xib.length?Number(xib[5].replace("_",".")):0}var eT=uib,PV=0<=eT;g.w(g.IK,IC);g.IK.prototype.T=function(a,b,c,d,e){return IC.prototype.T.call(this,a,b,c,d,e)};var c3={},WNa=(c3.FAIRPLAY="fairplay",c3.PLAYREADY="playready",c3.WIDEVINE="widevine",c3.CLEARKEY=null,c3.FLASHACCESS=null,c3.UNKNOWN=null,c3.WIDEVINE_CLASSIC=null,c3);JK.prototype.isMultiChannelAudio=function(){return 2this.pD()?(this.hc.appendWindowEnd=b,this.hc.appendWindowStart=a):(this.hc.appendWindowStart=a,this.hc.appendWindowEnd=b))}; g.k.oO=function(){return this.timestampOffset}; g.k.cq=function(a){GZ?this.timestampOffset=a:this.supports(1)&&(this.hc.timestampOffset=a)}; g.k.Rc=function(){return GZ?this.timestampOffset:this.supports(1)?this.hc.timestampOffset:0}; g.k.uf=function(a){if(void 0===a?0:a)return this.LC||this.Xj()||(this.RM=this.uf(!1),this.LC=!0),this.RM;try{return this.hc?this.hc.buffered:this.hh?this.hh.webkitSourceBuffered(this.id):eL([0],[Infinity])}catch(b){return eL([],[])}}; g.k.Xj=function(){var a;return(null==(a=this.hc)?void 0:a.updating)||!1}; g.k.lm=function(){return this.aH}; g.k.TO=function(){return!this.aH&&this.Xj()}; g.k.Ry=function(){this.aH=!1}; g.k.Tz=function(a){var b=null==a?void 0:a.ub;a=null==a?void 0:a.containerType;return!b&&!a||b===this.ub&&a===this.containerType}; g.k.Ev=function(){return this.iE}; g.k.QH=function(){return this.mP}; g.k.tS=function(a,b){this.containerType!==a&&(this.supports(4),oL()&&this.hc.changeType(b));this.containerType=a}; g.k.SH=function(){return this.Kf}; g.k.isView=function(){return!1}; g.k.supports=function(a){switch(a){case 1:var b;return void 0!==(null==(b=this.hc)?void 0:b.timestampOffset);case 0:var c;return!(null==(c=this.hc)||!c.appendBuffer);case 2:var d;return!(null==(d=this.hc)||!d.remove);case 3:var e,f;return!!((null==(e=this.hc)?0:e.addEventListener)&&(null==(f=this.hc)?0:f.removeEventListener));case 4:return!(!this.hc||!this.hc.changeType);default:return!1}}; g.k.VG=function(){return!this.Xj()}; g.k.isLocked=function(){return!1}; g.k.pc=function(a){a.to=this.Rc();a.up=this.Xj();var b,c=(null==(b=this.hc)?void 0:b.appendWindowStart)||0,d;b=(null==(d=this.hc)?void 0:d.appendWindowEnd)||Infinity;a.aw=c.toFixed(3)+"-"+b.toFixed(3);try{a.bu=fL(this.uf())}catch(e){}return a}; g.k.gI=function(){var a;return(null==(a=this.hc)?void 0:a.writeHead)||0}; g.k.RH=function(){for(var a={},b=0;beT&&(a=Math.max(.1,a)),this.setCurrentTime(a))}; g.k.Zn=function(){if(!this.B&&this.Ua)if(this.Ua.G)try{var a;tL(this,{l:"mer",sr:null==(a=this.ra)?void 0:uL(a),rs:wL(this.Ua)});this.Ua.clear();this.B=this.Ua;this.Ua=void 0}catch(b){a=new g.VC("Error while clearing Media Source in MediaElement: "+b.name+", "+b.message),g.AF(a),this.stopVideo()}else this.stopVideo()}; g.k.stopVideo=function(){var a=this;if(!this.B){var b;null==(b=this.Ua)||CBa(b);if(Kib){if(!this.C){var c=new xL;c.then(void 0,function(){}); this.C=c;Lib&&this.pause();g.RB(function(){a.C===c&&(KBa(a),c.resolve())},200)}}else KBa(this)}}; g.k.wz=function(){var a=this.Fh();return 0performance.now()?c-Date.now()+performance.now():c;c=this.B||this.Ua;if((null==c?0:c.lm())||b<=((null==c?void 0:c.K)||0)){var d;tL(this,{l:"mede",sr:null==(d=this.ra)?void 0:uL(d),et:a.type});return!1}if(this.vI)return tL(this,{l:"medes",et:a.type}),c&&"seeking"===a.type&&(c.K=performance.now(),this.vI=!1),!1}return this.D.dispatchEvent(a)}; g.k.yN=function(){this.K=!1}; g.k.uN=function(){this.K=!0;this.sB(!0)}; g.k.zV=function(){this.K&&!this.VH()&&this.sB(!0)}; g.k.equals=function(a){return!!a&&a.Ab()===this.Ab()}; g.k.ya=function(){this.N&&this.removeEventListener("volumechange",this.zV);Kib&&KBa(this);g.J.prototype.ya.call(this)}; var Kib=!1,Lib=!1,Jib=!1,JBa=!1;g.k=g.AL.prototype;g.k.isPaused=function(){return g.JG(this,4)}; g.k.isPlaying=function(){return g.JG(this,8)&&!g.JG(this,512)&&!g.JG(this,64)&&!g.JG(this,2)}; g.k.isCued=function(){return g.JG(this,64)&&!g.JG(this,8)&&!g.JG(this,4)}; g.k.isError=function(){return g.JG(this,128)}; g.k.isSuspended=function(){return g.JG(this,512)}; g.k.dE=function(){return g.JG(this,64)&&g.JG(this,4)}; g.k.toString=function(){return"PSt."+this.state.toString(16)}; var i3={},j3=(i3.BUFFERING="buffering-mode",i3.CUED="cued-mode",i3.ENDED="ended-mode",i3.PAUSED="paused-mode",i3.PLAYING="playing-mode",i3.SEEKING="seeking-mode",i3.UNSTARTED="unstarted-mode",i3);g.w(KL,g.J);g.k=KL.prototype;g.k.Jc=function(){return this.slot}; g.k.wb=function(){return this.layout}; g.k.init=function(){var a=mJ(this.layout.Ca,"metadata_type_video_length_seconds"),b=mJ(this.layout.Ca,"metadata_type_active_view_traffic_type");iK(this.layout.Tb)&&A1(this.Hb.get(),this.layout.layoutId,b,a,this);scb(this.Pa.get(),this);this.Dt()}; g.k.release=function(){iK(this.layout.Tb)&&B1(this.Hb.get(),this.layout.layoutId);tcb(this.Pa.get(),this);this.au()}; g.k.Ar=function(){}; g.k.Fr=function(){}; g.k.startRendering=function(a){if(a.layoutId!==this.layout.layoutId)this.callback.zf(this.slot,a,new jJ("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED");else{this.Lc="rendering_start_requested";var b=this.eg.get();b.W.experiments.jb("disable_safari_ui_status_check")||(b.W.B&&g.pD?0:b.W.B||g.AJ(b.W)||g.CJ(b.W)|| iS(b.W)||!g.pD)?b=!0:(b=g.Ze("video-ads"),b=null!=b&&"none"!==Yr(b,"display"));b?(this.cF(-1),this.yu(a),this.OG(!1)):this.wA("ui_unstable",new jJ("Failed to render media layout because ad ui unstable.",void 0,"ADS_CLIENT_ERROR_MESSAGE_AD_UI_UNSTABLE"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")}}; g.k.Kc=function(a,b){if(b.layoutId===this.layout.layoutId){this.Lc="rendering";this.fE=this.Ja.get().isMuted()||0===this.Ja.get().getVolume();this.Sc("impression");this.Sc("start");if(this.Ja.get().isMuted()){this.vx("mute");var c;a=(null==(c=JL(this))?void 0:c.muteCommands)||[];this.Ub.get().Yg(a,this.layout.layoutId)}if(this.Ja.get().isFullscreen()){this.yh("fullscreen");var d;c=(null==(d=JL(this))?void 0:d.fullscreenCommands)||[];this.Ub.get().Yg(c,this.layout.layoutId)}d=this.Tc.get();d.jg&&!d.B&& (d.D=!1,d.B=!0,"ad_to_video"!==d.actionType&&(d.J.L("html5_no_video_to_ad_on_preroll")?TH("pbs",void 0,d.actionType):SH("pbs",void 0,d.actionType),g.AB("finalize_all_timelines")&&Gxa(d.actionType)));this.cF(1);this.SY();var e;d=(null==(e=JL(this))?void 0:e.impressionCommands)||[];this.Ub.get().Yg(d,this.layout.layoutId)}}; g.k.wA=function(a,b,c){this.Ru={hL:3,cG:"load_timeout"===a?402:400,errorMessage:b.message};this.Sc("error");var d;a=(null==(d=JL(this))?void 0:d.errorCommands)||[];this.Ub.get().Yg(a,this.layout.layoutId);this.callback.zf(this.slot,this.layout,b,c)}; g.k.iI=function(){this.qf()&&HG("Unexpected ad player in SSAP",this.slot,this.layout);this.gH()}; g.k.ZW=function(){this.gH()}; g.k.RW=function(){if("rendering"===this.Lc){this.vx("pause");var a,b=(null==(a=JL(this))?void 0:a.pauseCommands)||[];this.Ub.get().Yg(b,this.layout.layoutId);this.cF(2)}}; g.k.SW=function(){if("rendering"===this.Lc){this.vx("resume");var a,b=(null==(a=JL(this))?void 0:a.resumeCommands)||[];this.Ub.get().Yg(b,this.layout.layoutId)}}; g.k.sf=function(a,b){if(a.layoutId!==this.layout.layoutId)this.callback.zf(this.slot,a,new jJ("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED");else if("rendering_stop_requested"!==this.Lc){this.Lc="rendering_stop_requested";this.layoutExitReason=b;switch(b){case "normal":this.Sc("complete");break;case "skipped":this.Sc("skip"); break;case "abandoned":pK(this.qb,"impression")&&this.Sc("abandon")}this.Pr(a,b)}}; g.k.Wc=function(a,b,c){if(b.layoutId===this.layout.layoutId)switch(this.Lc="not_rendering",this.layoutExitReason=void 0,(a="normal"!==c||this.position+1===this.U_)&&this.OG(a),this.TY(c),this.cF(0),c){case "abandoned":if(pK(this.qb,"impression")){var d,e=(null==(d=JL(this))?void 0:d.abandonCommands)||[];this.Ub.get().Yg(e,this.layout.layoutId)}break;case "normal":d=(null==(e=JL(this))?void 0:e.completeCommands)||[];this.Ub.get().Yg(d,this.layout.layoutId);break;case "skipped":var f;d=(null==(f=JL(this))? void 0:f.skipCommands)||[];this.Ub.get().Yg(d,this.layout.layoutId)}}; g.k.vz=function(){return this.layout.layoutId}; g.k.ON=function(){return this.Ru}; g.k.uj=function(a){if("not_rendering"!==this.Lc){this.c_||(a=new g.IG(a.state,new g.AL),this.c_=!0);if(!this.qf()){var b=2===this.Ja.get().getPresentingPlayerType();if("rendering_start_requested"===this.Lc){b&&dBa(a)&&this.hN();return}if(!b){this.iI();return}if(g.LG(a,2)){this.UW();return}}dBa(a)?this.cF(1):g.LG(a,4)&&!g.LG(a,2)&&this.RW();0>KG(a,4)&&!(0>KG(a,2))&&this.SW()}}; g.k.EA=function(){if("rendering"===this.Lc){this.qb.Sc("active_view_measurable");var a,b=(null==(a=JL(this))?void 0:a.activeViewMeasurableCommands)||[];this.Ub.get().Yg(b,this.layout.layoutId)}}; g.k.DA=function(){if("rendering"===this.Lc){this.qb.Sc("active_view_fully_viewable_audible_half_duration");var a,b=(null==(a=JL(this))?void 0:a.activeViewFullyViewableAudibleHalfDurationCommands)||[];this.Ub.get().Yg(b,this.layout.layoutId)}}; g.k.FA=function(){if("rendering"===this.Lc){this.qb.Sc("active_view_viewable");var a,b=(null==(a=JL(this))?void 0:a.activeViewViewableCommands)||[];this.Ub.get().Yg(b,this.layout.layoutId)}}; g.k.BA=function(){if("rendering"===this.Lc){this.qb.Sc("audio_audible");var a,b=(null==(a=JL(this))?void 0:a.activeViewAudioAudibleCommands)||[];this.Ub.get().Yg(b,this.layout.layoutId)}}; g.k.CA=function(){if("rendering"===this.Lc){this.qb.Sc("audio_measurable");var a,b=(null==(a=JL(this))?void 0:a.activeViewAudioMeasurableCommands)||[];this.Ub.get().Yg(b,this.layout.layoutId)}}; g.k.OG=function(a){this.Tc.get().OG(mJ(this.layout.Ca,"metadata_type_ad_placement_config").kind,a,this.position,this.U_,!1)}; g.k.onFullscreenToggled=function(a){if("rendering"===this.Lc)if(a){this.yh("fullscreen");var b,c=(null==(b=JL(this))?void 0:b.fullscreenCommands)||[];this.Ub.get().Yg(c,this.layout.layoutId)}else this.yh("end_fullscreen"),b=(null==(c=JL(this))?void 0:c.endFullscreenCommands)||[],this.Ub.get().Yg(b,this.layout.layoutId)}; g.k.onVolumeChange=function(){if("rendering"===this.Lc)if(this.Ja.get().isMuted()){this.vx("mute");var a,b=(null==(a=JL(this))?void 0:a.muteCommands)||[];this.Ub.get().Yg(b,this.layout.layoutId)}else this.vx("unmute"),a=(null==(b=JL(this))?void 0:b.unmuteCommands)||[],this.Ub.get().Yg(a,this.layout.layoutId)}; g.k.rh=function(){}; g.k.al=function(){}; g.k.sj=function(){}; g.k.Zk=function(){}; g.k.yh=function(a){this.qb.yh(a,!this.fE)}; g.k.Sc=function(a){this.qb.Sc(a,!this.fE)}; g.k.vx=function(a){this.qb.vx(a,!this.fE)}; g.k.qf=function(){var a=mJ(this.slot.Ca,"metadata_type_eligible_for_ssap");return void 0===a?(HG("Expected SSAP eligibility for PlayerBytes sub layout",this.slot,this.layout),!1):this.Ha.get().qf(a)};g.w(RBa,KL);g.k=RBa.prototype;g.k.Dt=function(){}; g.k.au=function(){var a=this.Pa.get();a.PK===this&&(a.PK=null);this.timer.stop()}; g.k.yu=function(){QBa(this);this.qf()||Dcb(this.Ja.get());this.Pa.get().PK=this;PH("pbp")||PH("pbs")||TH("pbp");PH("pbp","watch")||PH("pbs","watch")||TH("pbp",void 0,"watch");this.hN()}; g.k.SY=function(){UBa(this)}; g.k.UW=function(){}; g.k.Ar=function(){this.timer.stop();KL.prototype.RW.call(this)}; g.k.Fr=function(){UBa(this);KL.prototype.SW.call(this)}; g.k.sz=function(){return mJ(this.wb().Ca,"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS")}; g.k.Pr=function(){this.timer.stop()}; g.k.Gc=function(){var a=Date.now(),b=a-this.pP;this.pP=a;this.Wi+=b;this.Wi>=this.sz()?(this.Wi=this.sz(),LL(this,this.Wi/1E3,!0),TBa(this,this.Wi),this.qf()?this.callback.qF(this.Jc(),this.wb(),"normal"):this.gH()):(LL(this,this.Wi/1E3),TBa(this,this.Wi))}; g.k.TY=function(){}; g.k.Ri=function(){};g.w(PL,KL);g.k=PL.prototype;g.k.Dt=function(){mJ(this.wb().Ca,"metadata_type_player_bytes_callback_ref").current=this;this.shrunkenPlayerBytesConfig=mJ(this.wb().Ca,"metadata_type_shrunken_player_bytes_config")}; g.k.au=function(){mJ(this.wb().Ca,"metadata_type_player_bytes_callback_ref").current=null;this.tv&&this.Ac.get().removeCueRange(this.tv);this.tv=void 0;var a;null==(a=this.cJ)||a.dispose();this.oA&&this.oA.dispose()}; g.k.yu=function(a){var b=NL(this.Ha.get()),c=OL(this.Ha.get());if(b&&c&&!this.qf()){c=mJ(a.Ca,"metadata_type_preload_player_vars");var d=g.rJ(this.Ha.get().J.U().experiments,"html5_preload_wait_time_secs");c&&this.oA&&this.oA.start(1E3*d)}c=mJ(a.Ca,"metadata_type_ad_video_id");d=mJ(a.Ca,"metadata_type_legacy_info_card_vast_extension");c&&d&&this.qg.get().J.U().Na.add(c,{XG:d});(c=mJ(a.Ca,"metadata_type_sodar_extension_data"))&&Aza(this.rf.get(),c);Ecb(this.Ja.get(),!1);QBa(this);if(this.qf())this.hN(); else{b?(c=this.Ae.get(),a=mJ(a.Ca,"metadata_type_player_vars"),c.J.loadVideoByPlayerVars(a,!1,2)):(c=this.Ae.get(),a=mJ(a.Ca,"metadata_type_player_vars"),c.J.cueVideoByPlayerVars(a,2));var e;null==(e=this.cJ)||e.start();b||this.Ae.get().J.playVideo(2)}}; g.k.SY=function(){var a;null==(a=this.cJ)||a.stop();this.tv="adcompletioncuerange:"+this.wb().layoutId;this.Ac.get().addCueRange(this.tv,0x7ffffffffffff,0x8000000000000,!1,this,2,2);var b;(this.adCpn=(null==(b=this.Xa.get().lf(2))?void 0:b.clientPlaybackNonce)||"")||HG("Media layout confirmed started, but ad CPN not set.");this.Id.get().Qa("onAdStart",this.adCpn)}; g.k.UW=function(){this.gH()}; g.k.sz=function(){var a;return null==(a=this.Xa.get().lf(2))?void 0:a.maa}; g.k.lK=function(){this.qb.yh("clickthrough")}; g.k.Pr=function(){var a;null==(a=this.cJ)||a.stop();this.oA&&this.oA.stop();Ecb(this.Ja.get(),!0);var b;(null==(b=this.shrunkenPlayerBytesConfig)?0:b.shouldRequestShrunkenPlayerBytes)&&this.Ja.get().vB(!1)}; g.k.onCueRangeEnter=function(a){a!==this.tv?HG("Received CueRangeEnter signal for unknown layout.",this.Jc(),this.wb(),{cueRangeId:a}):(this.Ac.get().removeCueRange(this.tv),this.tv=void 0,a=mJ(this.wb().Ca,"metadata_type_video_length_seconds"),LL(this,a,!0),this.Sc("complete"))}; g.k.TY=function(a){"abandoned"!==a&&this.Id.get().Qa("onAdComplete");this.Id.get().Qa("onAdEnd",this.adCpn)}; g.k.onCueRangeExit=function(){}; g.k.Ri=function(a){"rendering"===this.Lc&&(this.shrunkenPlayerBytesConfig&&this.shrunkenPlayerBytesConfig.shouldRequestShrunkenPlayerBytes&&a>=(this.shrunkenPlayerBytesConfig.playerProgressOffsetSeconds||0)&&this.Ja.get().vB(!0),LL(this,a))};g.w(WBa,zK);g.k=WBa.prototype;g.k.Jc=function(){return this.j.Jc()}; g.k.wb=function(){return this.j.wb()}; g.k.Dt=function(){this.j.init()}; g.k.au=function(){this.j.release()}; g.k.Ar=function(){this.j.Ar()}; g.k.Fr=function(){this.j.Fr()}; g.k.LA=function(a,b){HG("Unexpected onSkipRequested from PlayerBytesVodSingleLayoutRenderingAdapter. Skip should be handled by Triggers",this.Jc(),this.wb(),{requestingSlot:a,requestingLayout:b})}; g.k.yu=function(a){this.j.startRendering(a)}; g.k.Pr=function(a,b){this.j.sf(a,b)}; g.k.Kc=function(a,b){this.j.Kc(a,b)}; g.k.Wc=function(a,b,c){zK.prototype.Wc.call(this,a,b,c);this.j.Wc(a,b,c);b.layoutId===this.wb().layoutId&&bBa(this.Tc.get())}; g.k.hY=function(){this.j.iI()}; g.k.Ri=function(a){this.j.Ri(a)}; g.k.dZ=function(a){this.j.uj(a)}; g.k.zf=function(a,b,c){this.j.wA(a,b,c)}; g.k.onFullscreenToggled=function(a){this.j.onFullscreenToggled(a)}; g.k.rh=function(a){this.j.rh(a)}; g.k.sj=function(a){this.j.sj(a)}; g.k.onVolumeChange=function(){this.j.onVolumeChange()};g.k=QL.prototype;g.k.Jc=function(){return this.slot}; g.k.wb=function(){return this.layout}; g.k.init=function(){this.Ef.get().addListener(this);this.Ja.get().addListener(this);this.Dt();var a=mJ(this.layout.Ca,"metadata_type_layout_enter_ms"),b=mJ(this.layout.Ca,"metadata_type_layout_exit_ms"),c,d=null==(c=this.Xa.get().zv)?void 0:c.clientPlaybackNonce;c=this.layout.uc.adClientDataEntry;RL(this.Pa.get(),{daiStateTrigger:{filledAdsDurationMs:b-a,contentCpn:d,adClientData:c}});var e=this.Ef.get();e=$Ba(e.C,a,b);null!==e&&(RL(this.Pa.get(),{daiStateTrigger:{filledAdsDurationMs:e-a,contentCpn:d, cueDurationChange:"DAI_CUE_DURATION_CHANGE_SHORTER",adClientData:c}}),this.Pc.get().Qy(e,b))}; g.k.release=function(){this.au();this.Ef.get().removeListener(this);this.Ja.get().removeListener(this)}; g.k.startRendering=function(){this.yu();this.callback.Kc(this.slot,this.layout)}; g.k.sf=function(a,b){this.Pr(b);null!==this.driftRecoveryMs&&(bCa(this,{driftRecoveryMs:this.driftRecoveryMs.toString(),breakDurationMs:Math.round(aCa(this)-mJ(this.layout.Ca,"metadata_type_layout_enter_ms")).toString(),driftFromHeadMs:Math.round(1E3*this.Ja.get().J.Hv()).toString()}),this.driftRecoveryMs=null);this.callback.Wc(this.slot,this.layout,b)}; g.k.UY=function(){return!1}; g.k.MY=function(a){var b=mJ(this.layout.Ca,"metadata_type_layout_enter_ms"),c=mJ(this.layout.Ca,"metadata_type_layout_exit_ms");a*=1E3;if(b<=a&&aa.width&&GN(this.D,this.layout)}; g.k.onVolumeChange=function(){}; g.k.Ri=function(){}; g.k.onFullscreenToggled=function(){}; g.k.rh=function(){}; g.k.al=function(){}; g.k.uj=function(){}; g.k.Zk=function(){}; g.k.ya=function(){eK.prototype.ya.call(this)}; g.k.release=function(){eK.prototype.release.call(this);this.Ja.get().removeListener(this)};JCa.prototype.build=function(a,b,c,d){if(b=yK(a,c,d,this.zc,this.Ja,this.Pa,this.D,this.j,this.Ha))return b;if(sK(d,GCa()))return new YL(c,d,this.Pa,this.Hb,this.zc,a,this.B,this.C,this.Ja,this.Ub,this.Ha,this.j,new ZL(this.Ja));if(sK(d,FCa()))return new XL(c,d,this.Pa,this.Hb,this.zc,a,this.B,this.Ja,this.Ub,this.Ha,this.j,new ZL(this.Ja));if(sK(d,{ge:["METADATA_TYPE_VALID_INSTREAM_SURVEY_AD_RENDERER_FOR_VOD"],mf:["LAYOUT_TYPE_SURVEY"]}))return new ICa(c,d,a,this.zc,this.B,this.Ja,this.Ha);if(sK(d, {ge:["metadata_type_player_bytes_layout_controls_callback_ref","metadata_type_valid_survey_text_interstitial_renderer","metadata_type_ad_placement_config"],mf:["LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT"]}))return new UL(c,d,a,this.zc,this.Pa);if(sK(d,RAa()))return new xK(c,d,a,this.zc,this.Ja,this.Ha);throw new jJ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+nJ(d.Ca)+" in WebDesktopMainInPlayerLayoutRenderingAdapterFactory.");};KCa.prototype.build=function(a,b,c,d){if(b=yK(a,c,d,this.zc,this.Ja,this.Pa,this.D,this.j,this.Ha))return b;if(sK(d,GCa()))return new YL(c,d,this.Pa,this.Hb,this.zc,a,this.B,this.C,this.Ja,this.Ub,this.Ha,this.j,new ZL(this.Ja));if(sK(d,FCa()))return new XL(c,d,this.Pa,this.Hb,this.zc,a,this.B,this.Ja,this.Ub,this.Ha,this.j,new ZL(this.Ja));throw new jJ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+nJ(d.Ca)+" in WebEmbeddedInPlayerLayoutRenderingAdapterFactory.");};g.w($L,wK);$L.prototype.startRendering=function(a){wK.prototype.startRendering.call(this,a);mJ(this.layout.Ca,"metadata_ad_video_is_listed")&&(a=mJ(this.layout.Ca,"metadata_type_ad_info_ad_metadata"),this.Rm.get().J.Qa("onAdMetadataAvailable",a))};MCa.prototype.build=function(a,b,c,d){if(sK(d,LCa()))return new $L(a,c,d,this.zc,this.Ja,this.Pa,this.B,this.Rm,this.j);throw new jJ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+nJ(d.Ca)+" in WebRemixInPlayerLayoutRenderingAdapterFactory.");};NCa.prototype.build=function(a,b,c,d){if(sK(d,LCa()))return new $L(a,c,d,this.zc,this.Ja,this.Pa,this.B,this.Rm,this.j);if(a=yK(a,c,d,this.zc,this.Ja,this.Pa,this.B,this.j,this.Ha))return a;throw new jJ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+nJ(d.Ca)+" in WebUnpluggedInPlayerLayoutRenderingAdapterFactory.");};pM.prototype.clone=function(a){var b=this;return new pM(function(){return b.triggerId},a)};qM.prototype.clone=function(a){var b=this;return new qM(function(){return b.triggerId},a)};rM.prototype.clone=function(a){var b=this;return new rM(function(){return b.triggerId},a)};sM.prototype.clone=function(a){var b=this;return new sM(function(){return b.triggerId},a)};tM.prototype.clone=function(a){var b=this;return new tM(function(){return b.triggerId},a)};uM.prototype.clone=function(a){var b=this;return new uM(function(){return b.triggerId},a)};g.w(dN,g.J);var gEa={layoutExitMuteTriggers:[],layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],Zc:[],layoutExitUserInputSubmittedTriggers:[]};var EEa={WVdDU7FEFNo:15,"c-6Sb-muKCY":6,"O9f9wIR-UI8":6,"JNL-wFYNAP0":15,dLYcTkdHPNA:15,ZdVP0_LJZUE:15,VXcUXyDNdEI:15,VGQ8C9uQc_I:15,"o2HqYt-U7YU":15,rwNqPgKVbus:15,ATgzDto2XcY:15,attyPCCLlC4:15,w3aSYOeWyYU:15,wZMtuR2zzRA:30,e3TvPYADCQA:15,eMOw2R8yUHg:15,"6lLyZenufEY":15,"4q_FdWfUxR4":15,"3NOPsNQV0zY":15,IcEJuv4zMSI:15,"8Eo9vaW_CqY":15,O0DMDUDJK88:15,wnboazT1Lio:15,ZfRdOlbXmog:5,"X-sKfjrb7uc":15,RCVZbiJbZA0:6,"7syqtZsUUwY":15,OrlZSFgzFVA:15,ulrgBGVttFg:15,"1qC82K99ecI":15,E9lmhFAK78w:30,QSJFJNk_VSg:15, "i-8wX-g3FjI":30,vgSkhTaAP6U:15,iqslKcmG9zA:15,VkNDKDDDSWA:15,"2-Sj3oWDJCk":6,z4zsVPqUVnc:15,xKc7UMf8V4s:15,wwrWuIYPaDE:6,"_5NVge-Kmpk":6,"eUdn6DcJx-4":6,gxvBLc_C6Io:15,O40oPma0obU:15,"6xXRRLxj3DA":15,T5sMvex24Os:15,"74ccAT84jIY":15,"YTlgTC-KM2U":15,XxcipO9EBWc:15,zI7xwG4M62k:15,XrUrvpDMmOk:15,H5KIgG21WjA:15,R94pfM1wcac:6,"TD0-7fMqNOE":5,_evnWGoDAT8:15,Wov4GF3oUSM:6,DKcQEuGWmp4:15,kp4aH06VQBg:15,CI3LdgGodUw:15,lcQzcg6e73Y:15};var hS={oNa:1,pNa:2,qNa:3,1:"LOAD_POLICY_ALWAYS",2:"LOAD_POLICY_BY_PREFERENCE",3:"LOAD_POLICY_BY_REQUEST"};g.w(rN,g.J);g.k=rN.prototype;g.k.UY=function(a){if(!this.j){var b;null==(b=this.Pc)||b.get().Wt(a.identifier);return!1}rFa(this,this.j,a);return!0}; g.k.MY=function(){}; g.k.ek=function(a){this.j&&this.j.contentCpn!==a&&(HG("Fetch instructions carried over from previous content video",void 0,void 0,{contentCpn:a,fetchInstructionsCpn:this.j.contentCpn}),this.j=null)}; g.k.Pn=function(a){this.j&&this.j.contentCpn!==a&&HG("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.ya=function(){g.J.prototype.ya.call(this);this.j=null};var U1=["metadata_type_content_cpn","metadata_type_player_bytes_callback_ref","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config"],Mib=["metadata_type_content_cpn","metadata_type_player_bytes_callback_ref","metadata_type_player_overlay_layout_renderer","metadata_type_ad_placement_config"];g.w(vN,g.J);g.k=vN.prototype;g.k.Kc=function(a,b){var c=this;if("LAYOUT_TYPE_MEDIA"===b.layoutType&&(hJ(b,this.C)||hJ(b,Mib))){var d=this.Xa.get().lf(2),e=this.j(b,d||void 0,this.Ha.get().J.U().experiments.jb("enable_post_ad_perception_survey_in_tvhtml5"));e?bK(this.Rb.get(),"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",function(){var f=[UDa(c.Mb.get(),e.contentCpn,e.jq,function(h){return c.B(h.slotId,"core",e,qJ(c.Zb.get(),h))},e.inPlayerSlotId)]; e.instreamAdPlayerUnderlayRenderer&&VDa(c.Ha.get())&&f.push(wFa(c,e,e.instreamAdPlayerUnderlayRenderer));return f}):HG("Expected MediaLayout to carry valid opportunity on entered",a,b)}}; g.k.Ti=function(){}; g.k.nk=function(){}; g.k.Qg=function(){}; g.k.hk=function(){}; g.k.Rg=function(){}; g.k.jk=function(){}; g.k.lk=function(){}; g.k.tj=function(){}; g.k.Ph=function(){}; g.k.Si=function(){}; g.k.Wc=function(){};g.w(wN,g.J);wN.prototype.ek=function(a,b,c,d,e,f,h){var l=this,m=this.Xa.get().lf(1);m.fv?H1(this.Ja.get()):(Vbb(this.Tc.get(),d),bK(this.Rb.get(),"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",function(){return wDa(l.ze.get(),d,e,f,a,b,h,m,"")}),Sdb(this.j))}; wN.prototype.Pn=function(){};g.w(xN,g.J);g.w(yN,g.J);yN.prototype.onCueRangeEnter=function(){}; yN.prototype.onCueRangeExit=function(a){var b=this,c=this.j.get(a);c&&(this.j.delete(a),this.Ac.get().removeCueRange(a),bK(this.Rb.get(),"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",function(){var d=b.Mb.get();d=cK(d.fb.get(),"SLOT_TYPE_AD_BREAK_REQUEST");return[Object.assign({},c,{slotId:d,slotEntryTrigger:c.slotEntryTrigger?PFa(c.slotId,d,c.slotEntryTrigger):void 0,slotFulfillmentTriggers:QFa(c.slotId,d,c.slotFulfillmentTriggers),slotExpirationTriggers:QFa(c.slotId,d,c.slotExpirationTriggers)})]}, c.slotId))}; yN.prototype.ek=function(){for(var a=g.v(this.j.keys()),b=a.next();!b.done;b=a.next())b=b.value,this.Ac.get().removeCueRange(b);this.j.clear()}; yN.prototype.Pn=function(){};g.w(zN,g.J);g.k=zN.prototype;g.k.Ti=function(){}; g.k.nk=function(a){var b=this;g.$C(g.bD(),function(){var c=b.j.get(a);c&&HG("Expected layouts to be properly unscheduled",a,void 0,{slotType:a.slotType,layoutTypes:[].concat(g.ra(c)).map(function(d){return d.layoutType})})},0)}; g.k.Qg=function(){}; g.k.hk=function(){}; g.k.Rg=function(){}; g.k.jk=function(){}; g.k.lk=function(){}; g.k.tj=function(a,b){this.j.has(a)||this.j.set(a,new Set);this.j.get(a).add(b)}; g.k.Ph=function(a,b){this.Cl.has(a)&&this.Cl.get(a)===b&&HG("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)):HG("Trying to unscheduled a Layout that was not scheduled.",a,b)}else HG("Trying to unscheduled a Layout that was not scheduled.",a,b)}; g.k.Kc=function(a,b){this.Cl.set(a,b)}; g.k.Wc=function(a){this.Cl.delete(a)}; g.k.Si=function(){};g.k=yFa.prototype;g.k.init=function(){}; g.k.Jc=function(){return this.slot}; g.k.zH=function(){this.callback.Qg(this.slot)}; g.k.CH=function(){this.callback.Rg(this.slot)}; g.k.release=function(){};AN.prototype.build=function(a,b){return new yFa(a,b)};g.k=zFa.prototype;g.k.init=function(){}; g.k.Jc=function(){return this.slot}; g.k.zH=function(){I1(this.Ja.get(),"ad-showing");this.callback.Qg(this.slot)}; g.k.CH=function(){this.callback.Rg(this.slot);J1(this.Ja.get(),"ad-showing")}; g.k.release=function(){};g.k=AFa.prototype;g.k.init=function(){}; g.k.Jc=function(){return this.slot}; g.k.zH=function(){I1(this.Ja.get(),"ad-showing");I1(this.Ja.get(),"ad-interrupting");this.B=this.Ja.get().isAtLiveHead();this.j=Math.ceil(Date.now()/1E3);this.callback.Qg(this.slot)}; g.k.CH=function(){J1(this.Ja.get(),"ad-showing");J1(this.Ja.get(),"ad-interrupting");var a=this.B?Infinity:this.Ja.get().getCurrentTimeSec(1,!0)+Math.floor(Date.now()/1E3)-this.j;this.Ja.get().J.seekTo(a,void 0,void 0,1);this.callback.Rg(this.slot)}; g.k.release=function(){};g.k=BFa.prototype;g.k.init=function(){}; g.k.Jc=function(){return this.slot}; g.k.zH=function(){I1(this.Ja.get(),"ad-showing");I1(this.Ja.get(),"ad-interrupting");this.callback.Qg(this.slot)}; g.k.CH=function(){H1(this.Ja.get());J1(this.Ja.get(),"ad-showing");J1(this.Ja.get(),"ad-interrupting");this.callback.Rg(this.slot)}; g.k.release=function(){H1(this.Ja.get())};BN.prototype.build=function(a,b){if(oJ(b,["metadata_type_dai"],"SLOT_TYPE_PLAYER_BYTES"))return new zFa(a,b,this.Ja);if(b.slotEntryTrigger instanceof kM&&oJ(b,["metadata_type_served_from_live_infra"],"SLOT_TYPE_PLAYER_BYTES"))return new AFa(a,b,this.Ja);if(oJ(b,[],"SLOT_TYPE_PLAYER_BYTES"))return new BFa(a,b,this.Ja);throw new kJ("Unsupported slot with type "+b.slotType+" and client metadata: "+(nJ(b.Ca)+" in PlayerBytesSlotAdapterFactory."));};g.w(CN,g.J);CN.prototype.j=function(a){for(var b=[],c=g.v(this.Xb.values()),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.trigger;e instanceof oM&&"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED"===d.category&&e.triggeringLayoutId===a&&b.push(d)}b.length?DJ(this.OL(),b):HG("Mute requested but no registered triggers can be activated.")};g.w(DN,CN);g.k=DN.prototype;g.k.nh=function(a,b){if(b)if("skip-button"===a){a=[];for(var c=g.v(this.Xb.values()),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.trigger;e instanceof oM&&"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED"===d.category&&e.triggeringLayoutId===b&&a.push(d)}a.length&&DJ(this.OL(),a)}else nN(this.Ha.get(),"supports_multi_step_on_desktop")?"ad-action-submit-survey"===a&&CFa(this,b):"survey-submit"===a?CFa(this,b):"survey-single-select-answer-button"===a&&CFa(this,b)}; g.k.wO=function(a){CN.prototype.j.call(this,a)}; g.k.rl=function(a,b,c,d){if(this.Xb.has(b.triggerId))throw new kJ("Tried to register duplicate trigger for slot.");if(!(b instanceof vM||b instanceof oM))throw new kJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdUxUpdateTriggerAdapter.");this.Xb.set(b.triggerId,new wM(a,b,c,d))}; g.k.Fl=function(a){this.Xb.delete(a.triggerId)}; g.k.uO=function(){}; g.k.tO=function(){}; g.k.jI=function(){};g.w(EN,g.J);g.k=EN.prototype; g.k.rl=function(a,b,c,d){if(this.Xb.has(b.triggerId))throw new kJ("Tried to register duplicate trigger for slot.");if(!(b instanceof pM||b instanceof qM||b instanceof rM||b instanceof sM||b instanceof tM||b instanceof uM||b instanceof VCa||b instanceof gM||b instanceof iM||b instanceof hM||b instanceof UCa||b instanceof fM))throw new kJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdsControlFlowEventTriggerAdapter");a=new wM(a,b,c,d);this.Xb.set(b.triggerId,a);b instanceof tM&&this.G.has(b.triggeringSlotId)&&DJ(this.j(),[a]);b instanceof pM&&this.C.has(b.triggeringSlotId)&&DJ(this.j(),[a]);b instanceof gM&&this.B.has(b.triggeringLayoutId)&&DJ(this.j(),[a])}; g.k.Fl=function(a){this.Xb.delete(a.triggerId)}; g.k.Ti=function(a){this.G.add(a.slotId);for(var b=[],c=g.v(this.Xb.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof tM&&a.slotId===d.trigger.triggeringSlotId&&b.push(d);0KG(a,16)){a=g.v(this.j);for(var b=a.next();!b.done;b=a.next())this.onCueRangeEnter(b.value,!0);this.j.clear()}}; g.k.Ti=function(){}; g.k.nk=function(){}; g.k.hk=function(){}; g.k.Qg=function(){}; g.k.Rg=function(){}; g.k.jk=function(){}; g.k.lk=function(){}; g.k.tj=function(){}; g.k.Ph=function(){}; g.k.Kc=function(a,b){a=g.v(this.Xb.values());for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.bv.trigger;c=c.xv;if(EFa(d)&&d.layoutId===b.layoutId){var e=1E3*this.Ja.get().getCurrentTimeSec(1,!1);d instanceof nM?d=0:(d=e+d.offsetMs,e=0x7ffffffffffff);this.Ac.get().addCueRange(c,d,e,!1,this)}}}; g.k.Wc=function(a,b,c){var d=this;a=g.v(this.Xb.values());for(var e=a.next(),f={};!e.done;f={QC:f.QC,Tr:f.Tr},e=a.next())e=e.value,f.Tr=e.bv.trigger,f.QC=e.xv,EFa(f.Tr)&&f.Tr.layoutId===b.layoutId?Zbb(this.Ac.get(),f.QC):f.Tr instanceof jM&&f.Tr.layoutId===b.layoutId&&"user_cancelled"===c&&(this.Ac.get().removeCueRange(f.QC),g.$C(g.bD(),function(h){return function(){d.Ac.get().addCueRange(h.QC,h.Tr.j.start,h.Tr.j.end,h.Tr.visible,d)}}(f)))}; g.k.Si=function(){}; g.k.Ri=function(){}; g.k.onFullscreenToggled=function(){}; g.k.rh=function(){}; g.k.al=function(){}; g.k.sj=function(){}; g.k.onVolumeChange=function(){}; g.k.Zk=function(){};g.w(JN,g.J);g.k=JN.prototype; g.k.rl=function(a,b,c,d){if(this.B.has(b.triggerId)||this.C.has(b.triggerId))throw new kJ("Tried to re-register the trigger.");a=new wM(a,b,c,d);if(a.trigger instanceof RCa)this.B.set(a.trigger.triggerId,a);else if(a.trigger instanceof QCa)this.C.set(a.trigger.triggerId,a);else throw new kJ("Incorrect TriggerType: Tried to register trigger of type "+a.trigger.triggerType+" in LiveStreamBreakTransitionTriggerAdapter");this.B.has(a.trigger.triggerId)&&a.slot.slotId===this.j&&DJ(this.D(),[a])}; g.k.Fl=function(a){this.B.delete(a.triggerId);this.C.delete(a.triggerId)}; g.k.yJ=function(a){a=a.slotId;if(this.j!==a){var b=[];null!=this.j&&b.push.apply(b,g.ra(HFa(this.C,this.j)));null!=a&&b.push.apply(b,g.ra(HFa(this.B,a)));this.j=a;b.length&&DJ(this.D(),b)}}; g.k.GJ=function(){}; g.k.FJ=function(){};g.w(KN,g.J);g.k=KN.prototype;g.k.rl=function(a,b,c,d){if(this.Xb.has(b.triggerId))throw new kJ("Tried to register duplicate trigger for slot.");if(!(b instanceof lM))throw new kJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OnLayoutSelfRequestedTriggerAdapter");this.Xb.set(b.triggerId,new wM(a,b,c,d))}; g.k.Fl=function(a){this.Xb.delete(a.triggerId)}; g.k.Kc=function(){}; g.k.Wc=function(){}; g.k.Ti=function(){}; g.k.nk=function(){}; g.k.hk=function(){}; g.k.Qg=function(){}; g.k.Rg=function(){}; g.k.jk=function(){}; g.k.lk=function(){}; g.k.tj=function(){}; g.k.Ph=function(){}; g.k.Si=function(){};g.w(LN,g.J);g.k=LN.prototype;g.k.Si=function(a,b){for(var c=[],d=g.v(this.Xb.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&&DJ(this.j(),c)}; g.k.rl=function(a,b,c,d){if(this.Xb.has(b.triggerId))throw new kJ("Tried to register duplicate trigger for slot.");if(!(b instanceof Cza))throw new kJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OpportunityEventTriggerAdapter");this.Xb.set(b.triggerId,new wM(a,b,c,d))}; g.k.Fl=function(a){this.Xb.delete(a.triggerId)}; g.k.Ti=function(){}; g.k.nk=function(){}; g.k.hk=function(){}; g.k.Qg=function(){}; g.k.Rg=function(){}; g.k.jk=function(){}; g.k.lk=function(){}; g.k.tj=function(){}; g.k.Ph=function(){}; g.k.Kc=function(){}; g.k.Wc=function(){};g.w(MN,g.J);g.k=MN.prototype;g.k.rl=function(a,b,c,d){if(this.Xb.has(b.triggerId))throw new kJ("Tried to register duplicate trigger for slot.");if(!(b instanceof ZCa))throw new kJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");this.Xb.set(b.triggerId,new wM(a,b,c,d));a=this.j.has(b.triggeringLayoutId)?this.j.get(b.triggeringLayoutId):new Set;a.add(b);this.j.set(b.triggeringLayoutId,a)}; g.k.Fl=function(a){this.Xb.delete(a.triggerId);if(!(a instanceof ZCa))throw new kJ("Incorrect TriggerType: Tried to unregister trigger of type "+a.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");var b=this.B.get(a.triggerId);b&&(b.dispose(),this.B.delete(a.triggerId));if(b=this.j.get(a.triggeringLayoutId))b.delete(a),0===b.size&&this.j.delete(a.triggeringLayoutId)}; g.k.Ti=function(){}; g.k.nk=function(){}; g.k.hk=function(){}; g.k.Qg=function(){}; g.k.Rg=function(){}; g.k.jk=function(){}; g.k.lk=function(){}; g.k.tj=function(){}; g.k.Ph=function(){}; g.k.Si=function(){}; g.k.Kc=function(a,b){var c=this;if(this.j.has(b.layoutId)){a=this.j.get(b.layoutId);a=g.v(a);var d=a.next();for(b={};!d.done;b={VF:b.VF},d=a.next())b.VF=d.value,d=new g.Bu(function(e){return function(){var f=c.Xb.get(e.VF.triggerId);DJ(c.C(),[f])}}(b),b.VF.durationMs),d.start(),this.B.set(b.VF.triggerId,d)}}; g.k.Wc=function(){};g.w(NN,g.J);NN.prototype.rl=function(a,b,c,d){if(this.Xb.has(b.triggerId))throw new kJ("Tried to register duplicate trigger for slot.");if(!(b instanceof aM))throw new kJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in VideoTransitionTriggerAdapter.");this.Xb.set(b.triggerId,new wM(a,b,c,d))}; NN.prototype.Fl=function(a){this.Xb.delete(a.triggerId)};g.w(SN,g.J);SN.prototype.logEvent=function(a){this.j(a)}; SN.prototype.j=function(a,b,c,d,e,f,h,l,m,n,p){var q=this;p=void 0===p?0:p;nN(this.Ha.get(),"h5_enable_pacf_debug_logs")&&console.log("[PACF]: "+a,"slot:",e,"layout:",f,"Opportunity:",{opportunityType:b,associatedSlotId:c,Jjb:d,Njb:h,adSlotLoggingData:l,adLayoutLoggingData:m});try{p&&0this.j;)a[d++]^=c[this.j++];for(var e=b-(b-d)%16;db;b++)this.counter[b]=a[4*b]<<24|a[4*b+1]<<16|a[4*b+2]<<8|a[4*b+3];this.j=16};var YFa=!1;(function(){function a(d){for(var e=new Uint8Array(d.length),f=0;f=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{qI:b,Bm:c}}; g.k.isFocused=function(a){return a>=this.C&&adjb){o3=djb;break a}}var ejb=p3.match("("+Object.keys(bjb).join("|")+")");o3=ejb?bjb[ejb[0]]:0}else o3=void 0}var aS=o3,nPa=0<=aS;var E8a=window;var $Ka=Kd(function(){var a,b;return null==(b=(a=window).matchMedia)?void 0:b.call(a,"(prefers-reduced-motion: reduce)").matches});var bLa;g.fI=new hI;bLa=0;var vP={ls:function(a,b){a.splice(0,b)}, Rr:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}, xl:function(a){a.reverse()}};var z$a=new Set(["embed_config","endscreen_ad_tracking","home_group_info","ic_track"]);var kPa={Lha:"adunit",Uta:"detailpage",Kua:"editpage",Sua:"embedded",gKa:"leanback",XYa:"previewpage",e_a:"profilepage",HU:"unplugged",fYa:"playlistoverview",a5a:"sponsorshipsoffer",T1a:"shortspage",pDa:"handlesclaiming",TEa:"immersivelivepage",jsa:"creatormusic",UEa:"immersivelivepreviewpage"};var QQa={iua:1,nva:2,PAUSED:3,1:"DISABLED",2:"ENABLED",3:"PAUSED"};var CR=wLa()?!0:"function"===typeof window.fetch&&window.ReadableStream&&window.AbortController&&!g.LD?!0:!1;g.AP.prototype.getLanguageInfo=function(){return this.Oc}; g.AP.prototype.getXtags=function(){if(!this.xtags){var a=this.id.split(";");1a.Oa&&this.index.hn()<=a.Oa+1}; g.k.update=function(a,b,c){this.index.append(a);ZLa(this.index,c);this.index.B=b}; g.k.og=function(){return this.Rz()?!0:TQ.prototype.og.call(this)}; g.k.xs=function(a,b){var c=this.index.cI(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.PH=function(){return this.Fp}; g.k.mz=function(a){if(!this.Tm)return g.XP.prototype.mz.call(this,a);if(!this.segments.length)return null;var b=this.segments[this.segments.length-1];if(a=b.endTime)b=b.Oa+Math.floor((a-b.endTime)/this.Cj+1);else{b=Wb(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.Oa-b.Oa-1))+1)+b.Oa}return this.Zm(b)}; g.k.Zm=function(a){if(!this.Tm)return g.XP.prototype.Zm.call(this,a);if(!this.segments.length)return null;var b=YQ(this,a);if(0<=b)return this.segments[b];var c=-(b+1);b=this.Cj;if(0===c)var d=Math.max(0,this.segments[0].startTime-(this.segments[0].Oa-a)*b);else c===this.segments.length?(d=this.segments[this.segments.length-1],d=d.endTime+(a-d.Oa-1)*b):(d=this.segments[c-1],b=this.segments[c],b=(b.startTime-d.endTime)/(b.Oa-d.Oa-1),d=d.endTime+(a-d.Oa-1)*b);return new WP(a,d,b,0,"sq/"+a,void 0,void 0, !0)};g.w(ZQ,UQ);g.k=ZQ.prototype;g.k.bE=function(){return!0}; g.k.og=function(){return!0}; g.k.ws=function(a){return this.Zv()&&a.B&&!a.df||!a.j.index.cP(a.Oa)}; g.k.Jv=function(){}; g.k.Lq=function(a,b){return"number"!==typeof a||isFinite(a)?UQ.prototype.Lq.call(this,a,void 0===b?!1:b):new NQ([new HQ(3,this,void 0,"mlLiveGetReqInfoStubForTime",-1,void 0,this.Bj,void 0,this.Bj*this.info.Sb)],"")}; g.k.xs=function(a,b){var c=void 0===c?!1:c;if(this.index.Dp(a))return UQ.prototype.xs.call(this,a,b);var d=this.index.getStartTime(a),e=Math.round(this.Bj*this.info.Sb),f=hjb?this.Bj:0;b&&(f=e=0);return new NQ([new HQ(c?7:3,this,void 0,"mlLiveCreateReqInfoForSeg",a,d,f,void 0,e,!b)],0<=a?"sq/"+a:"")}; var hjb=!1;g.w($Q,TQ);g.k=$Q.prototype;g.k.Gn=function(){return!1}; g.k.Zv=function(){return!1}; g.k.bE=function(){return!1}; g.k.Jv=function(){return new NQ([new HQ(1,this,void 0,"otfInit")],this.G)}; g.k.Vx=function(){return null}; g.k.lC=function(a){this.ws(a);return pNa(this,IMa(a),!1)}; g.k.Lq=function(a,b){b=void 0===b?!1:b;a=this.index.Jh(a);b&&(a=Math.min(this.index.Ad(),a+1));return pNa(this,a,!0)}; g.k.vO=function(a){1===a.info.type&&(this.j||(this.j=xGa(a.j)),a.B&&"http://youtube.com/streaming/otf/durations/112015"===a.B.uri&&qNa(this,a.B))}; g.k.ws=function(a){return 0===a.B?!0:this.index.Ad()>a.Oa&&this.index.hn()<=a.Oa+1}; g.k.gO=function(){return 0}; g.k.NQ=function(){return!1};g.k=g.BNa.prototype;g.k.Dp=function(a){return a<=this.Ad()}; g.k.gm=function(a){return this.offsets[a]}; g.k.getStartTime=function(a){return this.Sh[a]/this.j}; g.k.ZN=function(a){return this.getStartTime(a)+this.getDuration(a)}; g.k.eI=aa(2);g.k.Ze=function(){return NaN}; g.k.getDuration=function(a){a=this.oW(a);return 0<=a?a/this.j:-1}; g.k.oW=function(a){return a+1=this.Ad())return 0;var c=0;for(b=this.getStartTime(a)+b;athis.getStartTime(a);a++)c=Math.max(c,CNa(this,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.Sh;this.Sh=new Float64Array(a+1);for(a=0;a=b+c)break}e.length||g.AF(new g.VC("b189619593",""+a,""+b,""+c));return new NQ(e)}; g.k.OT=function(a){for(var b=this.hB(a.info),c=a.info.range.start+a.info.Yb,d=[],e=0;e=this.index.gm(c+1);)c++;return this.FD(c,b,a.B).eb}; g.k.ws=function(a){IQ(a);return this.og()?!0:a.range.end+1this.info.contentLength&&(b=new DQ(b.start,this.info.contentLength-1)),new NQ([new HQ(4,a.j,b,"getNextRequestInfoByLength",void 0,void 0,void 0,void 0,void 0,void 0,void 0,a.clipId)]);4===a.type&&(a=this.hB(a),a=a[a.length-1]);var c=0,d=a.range.start+a.Yb+a.B;3===a.type&&(IQ(a),c=a.Oa,d===a.range.end+1&&(c+=1));return this.FD(c,d,b)}; g.k.lC=function(){return null}; g.k.Lq=function(a,b,c){b=void 0===b?!1:b;a=this.index.Jh(a);b&&(a=Math.min(this.index.Ad(),a+1));return this.FD(a,this.index.gm(a),0,c)}; g.k.Gn=function(){return!0}; g.k.Zv=function(){return!0}; g.k.bE=function(){return!1}; g.k.gO=function(){return this.indexRange.length+this.initRange.length}; g.k.NQ=function(){return this.indexRange&&this.initRange&&this.initRange.end+1===this.indexRange.start?!0:!1};var r3={},UNa=(r3.COLOR_PRIMARIES_BT709="bt709",r3.COLOR_PRIMARIES_BT2020="bt2020",r3.COLOR_PRIMARIES_UNKNOWN=null,r3.COLOR_PRIMARIES_UNSPECIFIED=null,r3),s3={},FNa=(s3.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",s3.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",s3.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",s3.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",s3.COLOR_TRANSFER_CHARACTERISTICS_UNKNOWN=null,s3.COLOR_TRANSFER_CHARACTERISTICS_UNSPECIFIED=null,s3);g.fR.prototype.getName=function(){return this.name}; g.fR.prototype.getId=function(){return this.id}; g.fR.prototype.getIsDefault=function(){return this.isDefault}; g.fR.prototype.toString=function(){return this.name}; g.fR.prototype.getName=g.fR.prototype.getName;g.fR.prototype.getId=g.fR.prototype.getId;g.fR.prototype.getIsDefault=g.fR.prototype.getIsDefault;var KNa=/action_display_post/;var LNa;g.w(hR,g.TF);g.k=hR.prototype;g.k.isLoading=function(){return 1===this.state}; g.k.En=function(){return 3===this.state}; g.k.baa=function(a){var b=a.getElementsByTagName("Representation");if(0=this.j&&(this.C=!0);for(;a--;)this.values[this.B]=b,this.B=(this.B+1)%this.j;this.iz=!0}; LR.prototype.Oi=function(){return this.K?(MR(this,this.D-this.K)+MR(this,this.D)+MR(this,this.D+this.K))/3:MR(this,this.D)};g.w(WOa,g.J);WOa.prototype.Fa=function(){var a;null==(a=this.qa)||a.start();if(TR(this)&&this.policy.N){var b;null==(b=this.Rd)||b.tE()}};g.w(ePa,g.J);var lPa="blogger gac books docs duo google-live google-one play shopping chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" "),vPa={Qla:"caoe",foa:"cbrand",ooa:"cbr",poa:"cbrver",hra:"ccrv",EFa:"c",HFa:"cver",GFa:"ctheme",FFa:"cplayer",ERa:"cmodel",rSa:"cnetwork",xWa:"cos",yWa:"cosver",rXa:"cplatform"};g.w(tPa,g.J);g.k=tPa.prototype;g.k.L=function(a){return this.experiments.jb(a)}; g.k.getVideoUrl=function(a,b,c,d,e,f){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=g.kS(this);e="www.youtube.com"===c;!f&&d&&e?f="https://youtu.be/"+a:g.dS(this)?(f="https://"+c+"/fire",b.v=a):(f&&e?(f=this.protocol+"://"+c+"/shorts/"+a,d&&(b.feature="share")):(f=this.protocol+"://"+c+"/watch",b.v=a),KD&&(a=Kna())&&(b.ebc=a));return g.tm(f,b)}; g.k.getVideoEmbedCode=function(a,b,c,d){b="https://"+g.kS(this)+"/embed/"+b;d&&(b=g.tm(b,{list:d}));d=c.width;c=c.height;b=g.ye(b);a=g.ye(null!=a?a:"YouTube video player");return'')}; g.k.supportsGaplessAudio=function(){return g.cL&&!KD&&74<=Coa()||g.xR&&g.Pc(68)?!0:!1}; g.k.supportsGaplessShorts=function(){return this.L("html5_enable_short_gapless")?!0:!1}; g.k.getPlayerType=function(){return this.j.cplayer}; g.k.Nc=function(){return this.Qf}; var BPa=["www.youtube-nocookie.com","youtube.googleapis.com","www.youtubeeducation.com","youtubeeducation.com"],uPa=["EMBEDDED_PLAYER_LITE_MODE_UNKNOWN","EMBEDDED_PLAYER_LITE_MODE_NONE","EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT","EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT"],yPa=[19];g.k=xS.prototype;g.k.Ih=function(){return this.j}; g.k.mC=function(){return null}; g.k.pW=function(){var a=this.mC();return a?(a=g.JB(a.resource),Number(a.expire)):NaN}; g.k.DR=function(){}; g.k.getHeight=function(){return this.j.video.height};CPa.prototype.build=function(){GPa(this);var a=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],b={};a:if(this.j)var c=this.j;else{c="";for(var d=g.v(this.C),e=d.next();!e.done;e=d.next())if(e=e.value,e.Oc){if(e.Oc.getIsDefault()){c=e.Oc.getId();break a}c||(c=e.Oc.getId())}}d=g.v(this.C);for(var f=d.next();!f.done;f=d.next())if(e=f.value,this.K||!e.Oc||e.Oc.getId()===c)b[e.itag]||(b[e.itag]=[]),b[e.itag].push(e);c=g.v(this.B);for(e=c.next();!e.done;e=c.next())if(d=e.value,e=b[d.j])for(e=g.v(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.Oc){p=f.Oc;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=EPa(this,f.url,q);m=m+('NAME="'+p+'",DEFAULT='+(n+',AUTOSELECT=YES,GROUP-ID="'))+(FPa(f,d)+'",URI="'+(q+'"'));l.call(h,m)}c=g.v(this.G);for(d=c.next();!d.done;d=c.next())d=d.value,e=ojb,d=(h=d.Oc)?'#EXT-X-MEDIA:URI="'+EPa(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}; YS.prototype.G=function(a,b,c,d){return new g.XS(a,b,c,d)};g.w(JQa,g.XS);g.k=JQa.prototype;g.k.OH=function(){return this.B.yz()}; g.k.BG=function(a){var b=this.rows*this.columns*this.G,c=this.B,d=c.Ad();a=c.Jh(a);return a>d-b?-1:a}; g.k.Wx=function(){return this.B.Ad()}; g.k.QL=function(){return this.B.hn()}; g.k.PT=function(a){this.B=a};g.w(ZS,YS);ZS.prototype.B=function(a,b){return YS.prototype.B.call(this,"$N|"+a,b)}; ZS.prototype.G=function(a,b,c){return new JQa(a,b,c,this.isLive)};g.w(g.aT,g.TF);g.k=g.aT.prototype;g.k.U=function(){return this.Ia}; g.k.L=function(a){return this.Ia.L(a)}; g.k.Mh=function(){return!this.isLivePlayback||this.allowLiveDvr}; g.k.hasSupportedAudio51Tracks=function(){var a;return!(null==(a=this.Ge)||!a.rb)}; g.k.OY=function(){this.isDisposed()||(this.j.B||this.j.unsubscribe("refresh",this.OY,this),this.xV(-1))}; g.k.xV=function(a){if(!this.isLivePlayback||!this.K||"fairplay"!=this.K.flavor){var b=$Na(this.j,this.pM);if(0d?d:r);return{airingStart:e,airingEnd:h,allowSeeking:this.app.Mh(),clipEnd:b.clipEnd, clipStart:b.clipStart,current:f,displayedStart:-1,duration:a,ingestionTime:l,isAtLiveHead:m,loaded:n,seekableStart:p,seekableEnd:q,offset:c,viewerLivestreamJoinMediaTime:d}}; g.k.isNotServable=function(a){if(a!==this.app.config.args.video_id)return!1;var b=(a=(a=g.aU(this.app,1))?a.getPlayerState():null)?a.lh:null;return!!(a&&b&&g.JG(a,128)&&5===pSa(b.errorCode))}; g.k.supportsGaplessAudio=function(){return this.app.U().supportsGaplessAudio()}; g.k.supportsGaplessShorts=function(){return this.app.U().supportsGaplessShorts()}; g.k.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;this.app.enqueueVideoByPlayerVars(a,b,c,void 0===d?"":d)}; g.k.clearQueue=function(){this.app.clearQueue()}; g.k.Gh=function(){return g.bU(this)}; g.k.sendAbandonmentPing=function(){var a=g.aU(this.app);a&&a.sendAbandonmentPing()}; g.k.setAutonavState=function(a,b){b=void 0===b?!1:b;if(this.L("web_player_autonav_use_server_provided_state")&&!b&&(b=this.app.Fd(),null==b?0:gRa(b))){if(this.L("web_player_autonav_server_provided_state_pause_killswitch"))return;if(3===a)3!==b.autonavState&&(b.TB=b.autonavState);else if(void 0!==b.TB)a=b.TB,b.TB=void 0;else return}sbb(this.app,a)}; g.k.setAutonav=function(a,b){this.setAutonavState(a?2:1,void 0===b?!1:b)}; g.k.setLoopRange=function(a){this.app.setLoopRange(a)}; g.k.getLoopRange=function(){return this.app.getLoopRange()}; g.k.hasSupportedAudio51Tracks=function(){var a;return!(null==(a=g.aU(this.app,this.playerType))||!a.hasSupportedAudio51Tracks())}; g.k.setUserAudio51Preference=function(a,b){b=void 0===b?!1:b;var c=g.aU(this.app,this.playerType);c&&c.setUserAudio51Preference(a,b)}; g.k.getUserAudio51Preference=function(){var a,b;return null!=(b=null==(a=g.aU(this.app,this.playerType))?void 0:a.getUserAudio51Preference())?b:1}; g.k.setProximaLatencyPreference=function(a){var b=g.aU(this.app,this.playerType);b&&b.setProximaLatencyPreference(a)}; g.k.getProximaLatencyPreference=function(){var a=g.aU(this.app,this.playerType);return a?a.getProximaLatencyPreference():0}; g.k.isProximaLatencyEligible=function(){var a=g.aU(this.app,this.playerType);return a?a.isProximaLatencyEligible():!1}; g.k.getAppState=function(){return this.app.getAppState()}; g.k.updateLastActiveTime=function(){ME()}; g.k.setBlackout=function(a){this.app.setBlackout(a)}; g.k.setUserEngagement=function(a){this.app.U().Jm!==a&&(this.app.U().Jm=a,(a=g.aU(this.app,this.playerType))&&L0(a))}; g.k.updateSubtitlesUserSettings=function(a,b){b=void 0===b?!0:b;g.HV(this.app.zb()).s0(a,b)}; g.k.getCaptionWindowContainerId=function(){var a=g.HV(this.app.zb());return a?a.getCaptionWindowContainerId():""}; g.k.toggleSubtitlesOn=function(){var a=g.HV(this.app.zb());a&&a.T_()}; g.k.isSubtitlesOn=function(){var a=g.HV(this.app.zb());return a?a.isSubtitlesOn():!1}; g.k.ZH=function(){var a=this.app.getPresentingPlayerType(!0);2===a&&this.app.If()&&(a=1);return a}; g.k.getPlayerResponse=function(){var a=g.aU(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null}; g.k.getWatchNextResponse=function(){var a=g.aU(this.app,this.playerType);return a?a.getVideoData().getWatchNextResponse():null}; g.k.getHeartbeatResponse=function(){var a=g.aU(this.app,this.playerType);return a?a.getVideoData().getHeartbeatResponse():null}; g.k.getStoryboardFrame=function(a,b){var c=this.app.Tj();if(!c)return null;b=c.levels[b];return b?(a=g.WS(b,a))?{column:a.column,columns:a.columns,height:a.zw,row:a.row,rows:a.rows,url:a.url,width:a.rE}:null:null}; g.k.getStoryboardFrameIndex=function(a,b){var c=this.app.Tj();if(!c)return-1;b=c.levels[b];if(!b)return-1;a-=this.Rc();return b.BG(a)}; g.k.getStoryboardLevel=function(a){var b=this.app.Tj();return b?(b=b.levels[a])?{index:a,intervalMs:b.j,maxFrameIndex:b.Wx(),minFrameIndex:b.QL()}:null:null}; g.k.getNumberOfStoryboardLevels=function(){var a=this.app.Tj();return a?a.levels.length:0}; g.k.I5=function(){return this.getAudioTrack()}; g.k.getAudioTrack=function(){var a=g.aU(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().ql}; g.k.setAudioTrack=function(a,b){3===this.ZH()&&kU(this.app.zb()).AE("control_set_audio_track",a);var c=g.aU(this.app,this.playerType);if(c)if(c.isDisposed()||g.JG(c.playerState,128))a=!1;else{var d;if(null==(d=c.videoData.C)?0:d.j){d=b?c.getCurrentTime()-c.Rc():NaN;if(b){var e=d$a(c.fd);c.va("aswh",{id:a.id,xtags:a.xtags,bh:e.toFixed(3)})}c.Ba.setAudioTrack(a,d,b)}else if(V$a(c)){b:{b=c.mediaElement.audioTracks();for(d=0;d=b.kd.length)b=!1;else{d=g.v(b.kd);for(e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof zS)){b=!1;break b}var f=a.Oc.getId();e.B&&(DPa(e.B,f),e.resource=null)}b.Oo=a;b=!0}b&&D0(c)&&(c.oa("internalaudioformatchange",c.videoData,!0),c.va("hlsaudio",{id:a.id}))}a=!0}else a=!1;return a}; g.k.J5=function(){return this.getAvailableAudioTracks()}; g.k.getAvailableAudioTracks=function(){return g.aU(this.app,this.playerType).getAvailableAudioTracks()}; g.k.getMaxPlaybackQuality=function(){var a=g.aU(this.app,this.playerType);return a&&a.getVideoData().B?FP(a.ag?l8a(a.bl,a.ag,a.Gv()):$S):"unknown"}; g.k.getUserPlaybackQualityPreference=function(){var a=g.aU(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"}; g.k.getSubtitlesUserSettings=function(){var a=g.HV(this.app.zb());return a?a.p6():null}; g.k.resetSubtitlesUserSettings=function(){g.HV(this.app.zb()).Raa()}; g.k.setMinimized=function(a){this.app.setMinimized(a)}; g.k.setOverlayVisibility=function(a){this.oa("overlayvisibilitychange",a)}; g.k.setInlinePreview=function(a){this.app.setInlinePreview(a)}; g.k.setGlobalCrop=function(a){this.app.kb().setGlobalCrop(a)}; g.k.getVisibilityState=function(){var a=this.pg();return this.app.getVisibilityState(this.Kh(),this.isFullscreen()||g.bS(this.app.U()),a,this.isInline(),this.app.Ft(),this.app.Oz())}; g.k.isMutedByMutedAutoplay=function(){return this.app.uA}; g.k.isInline=function(){return this.app.isInline()}; g.k.setInternalSize=function(a,b){this.app.kb().setInternalSize(new g.ue(a,b))}; g.k.Rc=function(){var a=g.aU(this.app);return a?a.Rc():0}; g.k.pg=function(){return this.app.pg()}; g.k.Kh=function(){var a=g.aU(this.app,this.playerType);return!!a&&a.Kh()}; g.k.isFullscreen=function(){return this.app.isFullscreen()}; g.k.setSafetyMode=function(a){this.app.U().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;b&&b!==a.list&&(c=!0);void 0!==a.external_list&&(this.app.Yh=qC(!1,a.external_list));var d=a.video;(b=this.app.getPlaylist())&&!c?this.isFullscreen()&&((c=d[b.index])&&c.encrypted_id!==g.tV(b).videoId||(a.index=b.index)):Y0(this.app,{list:a.list,index:a.index,playlist_length:d.length});VUa(this.app.getPlaylist(),a);this.Qa("onPlaylistUpdate")}else this.app.updatePlaylist()}; g.k.updateVideoData=function(a,b){var c=g.aU(this.app,this.playerType||1);c&&g.dT(c.getVideoData(),a,b)}; g.k.updateEnvironmentData=function(a){qPa(this.app.U(),a,!1)}; g.k.kba=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; g.k.productsInVideoVisibilityUpdated=function(a){this.oa("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.kb().getVideoAspectRatio()}; g.k.getPreferredQuality=function(){var a=g.aU(this.app);return a?a.getPreferredQuality():"unknown"}; g.k.getPlaybackQualityLabel=function(a){if(a=g.aU(this.app,a)){var b,c;return(null==(c=null==(b=a.getVideoData().B)?void 0:b.video)?void 0:c.qualityLabel)||""}return""}; g.k.setPlaybackQualityRange=function(a,b,c){var d=g.aU(this.app,this.playerType);d&&g.S$a(d,g.CP(a,b||a,!0,"m"),!0,c)}; g.k.onAdUxClicked=function(a,b){this.oa("aduxclicked",a,b)}; g.k.showAirplayPicker=function(){this.app.showAirplayPicker()}; g.k.dispatchReduxAction=function(a){g.oT.dispatch(a)}; g.k.changeMarkerVisibility=function(a,b){var c=this.app.getVideoData(),d=!1;a?b.forEach(function(e){c.ye.includes(e)||(c.ye.push(e),d=!0)}):b.forEach(function(e){c.visibleOnLoadKeys.includes(e)||g.Fb(c.ye,e)&&(d=!0)}); d&&this.oa("updatemarkervisibility")}; g.k.highlightSettingsMenuItem=function(a){this.oa("highlightSettingsMenu",a)}; g.k.openSettingsMenuItem=function(a){this.oa("openSettingsMenuItem",a)}; g.k.oa=function(a){var b=g.Ka.apply(1,arguments);this.app.U().K&&("videodatachange"===a||"resize"===a||"cardstatechange"===a)&&this.app.Dq.oa.apply(this.app.Dq,[a].concat(g.ra(b)));this.app.Dr.oa.apply(this.app.Dr,[a].concat(g.ra(b)))}; g.k.Qa=function(a){var b=g.Ka.apply(1,arguments);this.app.Dq.oa.apply(this.app.Dq,[a].concat(g.ra(b)));this.app.Dr.oa.apply(this.app.Dr,[a].concat(g.ra(b)))}; g.k.getFeedbackProductData=function(){return this.app.getFeedbackProductData()}; g.k.setFauxFullscreen=function(a){g.zC();this.app.xm(a?2:0)}; g.k.L=function(a){return this.app.U().L(a)}; g.k.Xf=function(){return g.bU(this).Xf()}; g.k.Jf=function(){return g.bU(this).Jf()}; g.k.Wj=function(){return g.bU(this).Wj()}; g.k.qc=function(){return this.Gh().qc()}; g.k.ej=function(){var a=g.Ka.apply(0,arguments),b;(b=this.qc()).ej.apply(b,g.ra(a))}; g.k.Eh=function(){this.qc().Eh()}; g.k.FO=function(){this.qc().FO()}; g.k.oh=function(){this.qc().hide()}; g.k.KK=function(a,b,c,d,e,f,h,l){this.qc().KK(a,b,c,d,e,f,h,l)}; g.k.HF=function(a,b){this.qc().HF(a,b)}; g.k.Cr=function(a,b,c,d,e){this.Gh().Cr(a,b,c,d,e)}; g.k.DK=function(a){this.qc().AK(a)}; g.k.yq=function(a){this.Gh().yq(a)}; g.k.Ps=function(a,b){this.Gh().Ps(a,b)}; g.k.mp=function(a,b){this.Gh().mp(a,b)}; g.k.Pj=function(){this.Gh().Pj()}; g.k.rB=function(a,b){this.Gh().rB(a,b)}; g.k.Kr=aa(6);g.k.mu=aa(8);g.k.zm=aa(11);g.k.ym=aa(14);g.k.ax=function(a,b){this.Gh().ax(a,b)}; g.k.tp=function(){this.Gh().tp()}; g.k.getDebugText=function(a){return this.app.getDebugText(a)}; g.k.ya=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.J.prototype.ya.call(this)};g.w(fU,g.UT);g.k=fU.prototype;g.k.getApiInterface=function(){return Array.from(this.state.D)}; g.k.y4=function(a,b){if("string"===typeof b){var c=function(){var d=g.Ka.apply(0,arguments);g.Ta(b).apply(window,d)}; this.state.K[b]=c}else c=b;this.app.Dq.subscribe(a,c)}; g.k.Kaa=function(a,b){if("string"===typeof b){var c=this.state.K[b];g.kd(this.state.K,b);b=c}this.app.Dq.unsubscribe(a,b)}; g.k.l6=function(){return Yab(this.app)}; g.k.fba=function(a,b,c){wSa(this)&&(i1(this.app,!0,this.playerType),k1(this.app,a,b,c,this.playerType))}; g.k.Z5=function(){return this.app.getCurrentTime(this.playerType)}; g.k.getMediaReferenceTime=function(){var a=this.app.Ze(this.playerType);return isNaN(a)?this.getCurrentTime():a}; g.k.d6=function(){return this.app.getDuration(this.playerType)}; g.k.vba=function(a){this.EK(a,!1)}; g.k.i8=function(){this.lJ(!1)}; g.k.fca=function(){this.aL(!1)}; g.k.getPlayerMode=function(){var a={};this.app.getVideoData().Ld&&(a.pfp={enableIma:this.app.U().ma&&this.app.Fd().allowImaMonetization,autoplay:KT(this.app.Fd()),mutedAutoplay:this.app.Fd().mutedAutoplay});return a}; g.k.iaa=function(){i1(this.app,!0,this.playerType);this.OQ()}; g.k.pauseVideo=function(a){var b=this.app.getPresentingPlayerType();if(2!==b||this.app.If()||Tdb(KV(this.app.zb())))3===b?kU(this.app.zb()).AE("control_pause"):this.app.pauseVideo(b,a)}; g.k.Gba=function(){var a=this.app,b=!1;a.W.Hc&&(a.Wa.oa("pageTransition"),b=!0);a.stopVideo(b)}; g.k.clearVideo=function(){}; g.k.getAvailablePlaybackRates=function(){var a=this.app.U();return a.enableSpeedOptions?["https://admin.youtube.com","https://viacon.corp.google.com","https://yurt.corp.google.com"].includes(a.D?a.ancestorOrigins[0]:window.location.origin)||a.Ko?nib:mib:[1]}; g.k.getPlaybackQuality=function(a){return(a=g.aU(this.app,a))?a.getPlaybackQuality():"unknown"}; g.k.pba=function(){}; g.k.getAvailableQualityLevels=function(){var a=g.aU(this.app,this.playerType);return a?(a=g.lr(a.Ws(),function(b){return b.quality}),a.length&&("auto"===a[0]&&a.shift(),a=a.concat(["auto"])),a):[]}; g.k.q6=function(){return this.LW()}; g.k.r6=function(){return 1}; g.k.LW=function(){return this.getVideoLoadedFraction()}; g.k.u6=function(){return 0}; g.k.getSize=function(){var a=this.app.kb().getPlayerSize();return{width:a.width,height:a.height}}; g.k.setSize=function(){this.app.kb().resize()}; g.k.F7=function(a,b,c){a=this.loadVideoById(a,b,c);i1(this.app,a,this.playerType)}; g.k.cueVideoById=function(a,b,c){a=TT(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)}; g.k.H7=function(a,b,c){a=this.loadVideoByUrl(a,b,c);i1(this.app,a,this.playerType)}; g.k.cueVideoByUrl=function(a,b,c){a=qSa(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)}; g.k.v6=function(){var a=this.app.U();if(a.Aa)return"";var b=this.app.Fd(),c=void 0;b.isLivePlayback||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)}; g.k.b6=function(){return this.app.getDebugText()}; g.k.getVideoEmbedCode=function(){var a=this.app.U();if(a.Aa)return"";var b=this.app.Fd();return a.getVideoEmbedCode(b.isPrivate?"":b.title,this.app.Fd().videoId,this.app.kb().getPlayerSize(),this.getPlaylistId()||void 0)}; g.k.w4=function(a,b,c){return kbb(this.app,a,b,c)}; g.k.removeCueRange=function(a){return mbb(this.app,a)}; g.k.E7=function(a,b,c,d){this.loadPlaylist(a,b,c,d);i1(this.app,!0,this.playerType)}; g.k.cuePlaylist=function(a,b,c,d){this.app.cuePlaylist(a,b,c,d)}; g.k.j8=function(){this.nextVideo();i1(this.app,!0,this.playerType)}; g.k.uaa=function(){this.previousVideo();i1(this.app,!0,this.playerType)}; g.k.haa=function(a){this.playVideoAt(a);i1(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.n6=function(){var a=this.app.getPlaylist();if(!a)return null;for(var b=[],c=0;ca)){var c=this.api.getVideoData(),d=c.Uk;if(d&&a=this.position&&(this.G=!0));this.element.style.left=this.position+"%";this.element.style.top=this.position+"%";this.D.start(2E4)};g.w($Ta,BU);g.w(lV,g.J);lV.prototype.j=function(){var a=(0,g.vD)()-this.startTime;a=aa&&this.delay.start()}; var rjb=new av(0,0,.4,0,.2,1,1,1),fUa=/[0-9.-]+|[^0-9.-]+/g;g.w(mV,g.V);mV.prototype.onClick=function(){var a=this.api.app;a.Wa.Qa("SIZE_CLICKED",!a.fP);this.api.logClick(this.element)}; mV.prototype.Ra=function(){g.$F(this,this.api.dP()&&!this.api.isFullscreen()&&3!==this.api.getPresentingPlayerType());if(this.Cb){var a=this.api.hw();if(this.hw!==a){var b=a?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,X:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,X:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z", fill:"#fff","fill-rule":"evenodd"}}]};null==this.hw?this.updateValue("icon",b):eUa(this.transition,this.element,b);this.hw=a;b=g.eU(this.api,"\u0420\u0435\u0436\u0438\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","t");var c=g.eU(this.api,"\u0428\u0438\u0440\u043e\u043a\u0438\u0439 \u044d\u043a\u0440\u0430\u043d","t");this.updateValue("title",a?b:c);this.update({"data-title-no-tooltip":a?"\u0420\u0435\u0436\u0438\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e": "\u0428\u0438\u0440\u043e\u043a\u0438\u0439 \u044d\u043a\u0440\u0430\u043d"});this.api.Eh()}}this.api.logVisibility(this.element,this.Cb)};g.w(gUa,BU);g.w(hUa,BU);nV.prototype.send=function(a,b){var c;return g.I(function(d){if(1==d.j)return g.Ca(d,2),g.y(d,YB(a,b),4);if(2!=d.j)return d.return(d.B);c=g.Ea(d);if(c instanceof XB)throw new tn($m(PB(c.xhr)),c.message);throw c;})}; nV.prototype.iD=function(a,b){var c=this,d,e,f,h,l,m;return g.I(function(n){if(1==n.j){var p=new Qn;d=yk(p,1,c.Vi);a&&yk(d,2,a);b&&yk(d,3,b);return g.y(n,c.send(c.B,Object.assign({},{postBody:d.Aj()},c.j)),2)}e=n.B;f=ffb(e.xhr.responseText);h=pj(f,2);if(!h.isEmpty()){if(g.iC()&&10>Doa())throw Error("Unsupported");l=ug(dda(h));return n.return(vga(l))}m=g.Kj(f,Cn,1);if(!m)throw Error("Missing field");return n.return(m)})}; nV.prototype.eW=function(a){var b=this,c,d;return g.I(function(e){if(1==e.j){var f=new Rn;f=yk(f,1,b.Vi);c=yk(f,2,a);return g.y(e,b.send(b.C,Object.assign({},{postBody:c.Aj()},b.j)),2)}d=e.B;return e.return(hfb(d.xhr.responseText))})};g.w(oV,BU);oV.prototype.ya=function(){this.C&&(g.UB(this.C),this.C=void 0);BU.prototype.ya.call(this)}; oV.prototype.NN=function(a){var b=this;return g.I(function(c){return b.j?c.return(b.j.ready().then(function(){b.Vb.Ci("pot_if");return LUa(b,a)})):c.return(Promise.reject("web po not ready"))})}; oV.prototype.GP=function(a){return LUa(this,a)}; oV.prototype.wS=function(){this.j&&!this.j.isReady()&&pV(this)};g.w(MUa,BU);g.w(qV,g.J);qV.prototype.j=function(){for(var a=g.v(g.Ka.apply(0,arguments)),b=a.next();!b.done;b=a.next())(b=b.value)&&this.features.push(b)}; qV.prototype.ya=function(){for(var a=this.features.length-1;0<=a;a--)this.features[a].dispose();this.features.length=0;g.J.prototype.ya.call(this)};rV.prototype.WP=function(){this.B=(0,g.vD)()}; rV.prototype.reset=function(){this.j=this.B=NaN}; rV.prototype.bQ=function(a,b){if(a.clientPlaybackNonce&&!isNaN(this.j)){if(.01>Math.random()){b=b?"pbp":"pbs";var c={startTime:this.j};a.G&&(c.cttAuthInfo={token:a.G,videoId:a.videoId});RH("seek",c);g.QH({clientPlaybackNonce:a.clientPlaybackNonce},"seek");isNaN(this.B)||SH("pl_ss",this.B,"seek");SH(b,(0,g.vD)(),"seek")}this.reset()}};g.k=NUa.prototype;g.k.reset=function(){OH(this.timerName)}; g.k.tick=function(a,b){SH(a,b,this.timerName)}; g.k.Ci=function(a){return Jxa(a,this.timerName)}; g.k.Cu=function(a){ML(a,void 0,this.timerName)}; g.k.UD=function(a){g.QH(a,this.timerName)};g.w(RUa,g.TF);g.k=RUa.prototype;g.k.Rk=function(a){return this.loop||!!a||this.index+1([^<>]+)<\/a>/;g.w(OVa,g.V);g.k=OVa.prototype;g.k.onClick=function(a){g.FU(a,this.J,!0);this.J.logClick(this.element)}; g.k.onVideoDataChange=function(a,b){QVa(this,b);this.gf&&RVa(this,this.gf)}; g.k.Td=function(a){var b=this.J.getVideoData();this.videoId!==b.videoId&&QVa(this,b);this.j&&RVa(this,a.state);this.gf=a.state}; g.k.rd=function(){this.D.show();this.J.oa("paidcontentoverlayvisibilitychange",!0);this.J.logVisibility(this.element,!0)}; g.k.Pb=function(){this.D.hide();this.J.oa("paidcontentoverlayvisibilitychange",!1);this.J.logVisibility(this.element,!1)};g.w(WV,g.V);WV.prototype.hide=function(){this.j.stop();this.message.style.display="none";g.V.prototype.hide.call(this)}; WV.prototype.onStateChange=function(a){this.Dc(a.state)}; WV.prototype.Dc=function(a){if(g.JG(a,128))var b=!1;else{var c;b=(null==(c=this.api.Bd())?0:c.Gt)?!1:g.JG(a,16)||g.JG(a,1)?!0:!1}b?this.j.start():this.hide()}; WV.prototype.B=function(){this.message.style.display="block"};g.w(XV,g.tU);XV.prototype.onMutedAutoplayChange=function(a){this.C&&(a?(SVa(this),this.rd()):(this.j&&this.logClick(),this.Pb()))}; XV.prototype.fk=function(a){this.api.isMutedByMutedAutoplay()&&g.LG(a,2)&&this.Pb()}; XV.prototype.onClick=function(){this.api.unMute();this.logClick()}; XV.prototype.logClick=function(){this.clicked||(this.clicked=!0,this.api.logClick(this.element))};g.w(g.YV,g.IK);g.k=g.YV.prototype;g.k.init=function(){var a=this.api,b=a.Qb();this.xI=a.getPlayerSize();this.xc(b);this.kq();this.Ib();this.api.oa("basechromeinitialized",this);this.nO()&&this.api.oa("standardControlsInitialized")}; g.k.onVideoDataChange=function(a,b){var c=this.jE!==b.videoId;if(c||"newdata"===a){a=this.api;a.isFullscreen()||(this.xI=a.getPlayerSize());var d;(null==(d=this.api.getVideoData(1))?0:g.OT(d))&&this.zk()}c&&(this.jE=b.videoId,c=this.jf,c.Ea=3E3,OV(c,512,!0),this.kq());this.api.L("web_render_jump_buttons")&&b.showSeekingControls&&(this.w_=572)}; g.k.H9=function(){this.onVideoDataChange("newdata",this.api.getVideoData())}; g.k.ou=function(){var a=this.api.Gk()&&this.api.Yo(),b=this.api.Pz();return this.iH||a||this.EO||b}; g.k.zk=function(){var a=!this.ou();g.Nu(this.api.getRootNode(),"ytp-menu-shown",!a);var b;(null==(b=this.api.getVideoData(1))?0:g.OT(b))&&g.Nu(this.api.getRootNode(),"ytp-hide-controls",!a)}; g.k.WG=function(a){try{if(!g.zf(this.api.getRootNode(),a))return!1}catch(b){return!1}for(;a&&!Bf(a);)a=a===this.api.getRootNode()?null:g.sf(a);return!!a}; g.k.On=function(a){var b=this.api.getRootNode();g.Nu(b,"ytp-autohide",a);g.Nu(b,"ytp-autohide-active",!0);this.fV.start(a?250:100);a&&(this.VK=!1,g.Lu(b,"ytp-touch-mode"));this.kN=!a;this.api.yK(!a)}; g.k.VP=function(){var a=this.api.getRootNode();g.Nu(a,"ytp-autohide-active",!1)}; g.k.l$=function(){this.lS=!0}; g.k.k$=function(a){if(this.api.U().L("player_doubletap_to_seek")||this.api.U().Z)this.lS=!1,this.mS&&this.Mc(this.mS),0===this.uE&&ZV(this,a)?(this.sI(),this.sH.start(),this.mS=this.T(this.api.kb(),"touchmove",this.l$,void 0,!0)):this.sH.stop();WVa(this)&&ZV(this,a)&&!this.api.U().Z&&UVa(this);var b=this.rS.Vj();if(!g.YR(this.api.U())&&UR&&XVa(this,a))b&&a.preventDefault();else if(this.VK=!0,g.Ju(this.api.getRootNode(),"ytp-touch-mode"),this.jf.iq(),this.api.U().L("player_doubletap_to_seek")||this.api.U().Z)if(b= this.api.Qb(),!(!this.api.Mh()||g.JG(b,2)&&g.iU(this.api)||g.JG(b,64))){b=Date.now()-this.MX;this.uE+=1;if(350>=b){this.ZC=!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.uE-1);02*b&&d<3*b&&(this.mF(1,d,c,e),this.api.seekBy(10*this.api.getPlaybackRate()));a.preventDefault()}else PV&&this.api.U().Z&& ZV(this,a)&&a.preventDefault();this.MX=Date.now();this.SZ.start()}}; g.k.j$=function(){this.HP.HO=!1;this.api.oa("rootnodemousedown",this.HP)}; g.k.f$=function(a){this.HP.HO||XVa(this,a)||(WVa(this)||!ZV(this,a)||this.sH.isActive()||(UVa(this),a.preventDefault()),this.ZC&&(this.ZC=!1))}; g.k.sI=function(){}; g.k.lx=function(){}; g.k.mF=function(){}; g.k.ax=function(){}; g.k.Qr=function(){var a=this.api.Qb();g.JG(a,2)&&g.iU(this.api)||(g.GL(a)?this.api.pauseVideo():(this.Xm&&(a=this.Xm.C,document.activeElement===a.element&&this.api.oa("largeplaybuttonclicked",a.element)),this.api.jA(),this.api.playVideo(),this.Xm&&document.activeElement===this.Xm.C.element&&(null==(a=this.nO())?a=0:a.playButton?(a.playButton.focus(),a=!0):a=!1,a||this.api.getRootNode().focus())))}; g.k.g$=function(a){var b=this,c=this.api.getPresentingPlayerType();if(!VVa(this,GC(a)))if(a=this.api.U(),(this.api.U().L("player_doubletap_to_seek")||this.api.U().Z)&&this.ZC)this.ZC=!1;else if(a.Nb&&3!==c)try{this.api.toggleFullscreen().catch(function(d){b.ND(d)})}catch(d){this.ND(d)}}; g.k.ND=function(a){String(a).includes("fullscreen error")?g.BF(a):g.AF(a)}; g.k.h$=function(a){YVa(this,.3,a.scale);a.preventDefault()}; g.k.i$=function(a){YVa(this,.1,a.scale)}; g.k.Ib=function(){var a=this.api.kb().getPlayerSize(),b=this.api.getRootNode(),c=650<=a.width;this.jf.resize();g.Nu(b,"ytp-fullscreen",this.api.isFullscreen());g.Nu(b,"ytp-large-width-mode",c);g.Nu(b,"ytp-small-mode",this.Jf());g.Nu(b,"ytp-tiny-mode",this.HI());g.Nu(b,"ytp-big-mode",this.Xf());this.Dg&&this.Dg.resize(a)}; g.k.fk=function(a){this.xc(a.state);this.kq()}; g.k.mu=aa(7);g.k.cO=function(){var a=!!this.jE&&!this.api.yf()&&!this.IQ,b=2===this.api.getPresentingPlayerType(),c=this.api.U();if(b){if(neb&&c.L("enable_visit_advertiser_support_on_ipad_mweb"))return!1;b=KV(this.api.zb());a&&(a=(a=b.player.getVideoData(2))?a.isListed&&!g.AJ(b.player.U()):!1);return a}return a&&(c.Ml||this.api.isFullscreen()||c.Yk)}; g.k.kq=function(){var a=this.cO();this.Dn!==a&&(this.Dn=a,g.Nu(this.api.getRootNode(),"ytp-hide-info-bar",!a))}; g.k.xc=function(a){var b=a.isCued()||this.api.Bp()&&3!==this.api.getPresentingPlayerType();b!==this.isCued&&(this.isCued=b,this.nS&&this.Mc(this.nS),this.nS=this.T(this.api.kb(),"touchstart",this.k$,void 0,b));var c=a.isPlaying()&&!g.JG(a,32)||this.api.cE();OV(this.jf,128,!c);c=3===this.api.getPresentingPlayerType();OV(this.jf,256,c);c=this.api.getRootNode();if(g.JG(a,2))var d=[j3.ENDED];else d=[],g.JG(a,8)?d.push(j3.PLAYING):g.JG(a,4)&&d.push(j3.PAUSED),g.JG(a,1)&&!g.JG(a,32)&&d.push(j3.BUFFERING), g.JG(a,32)&&d.push(j3.SEEKING),g.JG(a,64)&&d.push(j3.UNSTARTED);g.Yb(this.uM,d)||(g.Mu(c,this.uM),this.uM=d,g.Ku(c,d));d=this.api.U();var e=g.JG(a,2);a:{var f=this.api.U();var h=f.controlsType;switch(h){case "2":case "0":f=!1;break a}f="3"===h&&!g.JG(a,2)||this.isCued||(2!==this.api.getPresentingPlayerType()?0:Udb(KV(this.api.zb())))||this.api.Pz()||g.YR(f)&&2===this.api.getPresentingPlayerType()?!1:!0}g.Nu(c,"ytp-hide-controls",!f);g.Nu(c,"ytp-native-controls","3"===d.controlsType&&!b&&!e&&!this.EO); g.JG(a,128)&&!g.YR(d)?(this.Dg||(this.Dg=new g.SV(this.api),g.L(this,this.Dg),g.pU(this.api,this.Dg.element,4)),this.Dg.B(a.lh),this.Dg.show()):this.Dg&&(this.Dg.dispose(),this.Dg=null)}; g.k.Pj=function(){return this.api.Gk()&&this.api.Yo()?(this.api.qB(!1,!1),!0):this.api.yf()?(g.jU(this.api,!0),!0):!1}; g.k.onMutedAutoplayChange=function(a){this.EO=a;this.zk()}; g.k.Xf=function(){return!1}; g.k.Jf=function(){return!this.Xf()&&(this.api.getPlayerSize().widththis.api.getPlayerSize().height)}; g.k.HI=function(){return this.Jf()&&(240>this.api.getPlayerSize().width||140>this.api.getPlayerSize().height)}; g.k.Wj=function(){return this.VK}; g.k.qn=function(){return null}; g.k.KH=function(){return null}; g.k.Ok=function(){var a=this.api.kb().getPlayerSize();return new g.Sr(0,0,a.width,a.height)}; g.k.handleGlobalKeyDown=function(){return!1}; g.k.handleGlobalKeyUp=function(){return!1}; g.k.Cr=function(){}; g.k.showControls=function(a){void 0!==a&&this.api.kb().yK(a)}; g.k.iq=function(){}; g.k.nO=function(){return null}; g.k.dO=function(){return this.xI};g.w($V,g.TF);g.k=$V.prototype;g.k.dn=function(){return 1E3*this.api.getDuration(this.uo,!1)}; g.k.stop=function(){this.j&&this.Cd.Mc(this.j)}; g.k.Gc=function(){var a=this.api.getProgressState(this.uo);this.B={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:this.api.getCurrentTime(this.uo,!1)};this.oa("h")}; g.k.getProgressState=function(){return this.B}; g.k.Td=function(a){g.LG(a,2)&&this.oa("g")};g.w(ZVa,g.V);ZVa.prototype.onClick=function(){this.J.Qa("BACK_CLICKED")};g.w(g.aW,g.V);g.aW.prototype.show=function(){g.V.prototype.show.call(this);g.Cu(this.j)}; g.aW.prototype.hide=function(){this.B.stop();g.V.prototype.hide.call(this)}; g.aW.prototype.lx=function(a){a?g.JG(this.J.Qb(),64)||bW(this,Kva(),"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c"):(a=this.J.getVideoData(),a.isLivePlayback&&!a.allowLiveDvr?bW(this,Ova(),"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u0443\u044e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e"):bW(this,Hva(),"\u041f\u0430\u0443\u0437\u0430"))};g.w(bWa,g.V);g.k=bWa.prototype;g.k.DK=function(a){a?this.j=g.cU(this.sb.qc(),this.element):(this.j=this.j,this.j(),this.j=null)}; g.k.rd=function(){this.J.U().L("player_new_info_card_format")&&g.Iu(this.J.getRootNode(),"ytp-cards-teaser-shown")&&!g.YR(this.J.U())||(this.B.show(),g.EE("iv-button-shown"))}; g.k.Pb=function(){g.EE("iv-button-hidden");this.B.hide()}; g.k.Vj=function(){return this.Cb&&4!==this.B.state}; g.k.ya=function(){this.j&&this.j();g.V.prototype.ya.call(this)}; g.k.f9=function(){g.EE("iv-button-mouseover")}; g.k.L8=function(a){this.J.Gk();var b=g.Iu(this.J.getRootNode(),"ytp-cards-teaser-shown");g.EE("iv-teaser-clicked",b);var c;if(null==(c=this.J.getVideoData())?0:g.GT(c)){var d;a=null==(d=this.J.getVideoData())?void 0:g.HT(d);(null==a?0:a.onIconTapCommand)&&this.J.Qa("innertubeCommand",a.onIconTapCommand)}else d=0===a.screenX&&0===a.screenY,this.J.qB(!this.J.Yo(),d,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.w(cWa,g.V);g.k=cWa.prototype;g.k.l0=function(){this.J.Gk()&&this.J.Yo()&&this.Vj()&&this.Pb()}; g.k.eS=function(){this.Pb();!this.J.Gk()&&this.J.U().L("enable_error_corrections_infocards_icon_web")&&this.Vg.Pb();g.EE("iv-teaser-clicked",null!=this.j);if(this.onClickCommand)this.J.Qa("innertubeCommand",this.onClickCommand);else{var a;(null==(a=this.J.getVideoData())?0:g.GT(a))||this.J.qB(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}}; g.k.f3=function(){g.EE("iv-teaser-mouseover");this.j&&this.j.stop()}; g.k.G$=function(a){this.J.U().L("player_new_info_card_format")&&!g.YR(this.J.U())?this.Vg.Pb():this.J.U().L("enable_error_corrections_infocards_icon_web")&&this.Vg.rd();this.j||!a||this.J.Yo()||this.B&&this.B.isActive()||(this.rd(a),g.EE("iv-teaser-shown"))}; g.k.rd=function(a){this.onClickCommand=a.onClickCommand;this.updateValue("text",a.teaserText);this.element.setAttribute("dir",g.$u(a.teaserText));this.D.show();this.B=new g.Bu(function(){g.Ju(this.J.getRootNode(),"ytp-cards-teaser-shown");this.J.L("player_new_info_card_format")&&!g.YR(this.J.U())&&this.Vg.Pb();this.TL()},0,this); this.B.start();this.Vg.DK(!1);this.j=new g.Bu(this.Pb,580+a.durationMs,this);this.j.start();this.G.push(this.Ta("mouseover",this.XT,this));this.G.push(this.Ta("mouseout",this.VT,this))}; g.k.TL=function(){if(!this.J.U().L("player_new_info_card_format")&&g.YR(this.J.U())&&this.Cb){var a=this.Vg.element.offsetLeft,b=g.Ze("ytp-cards-button-icon"),c=this.J.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.Vg.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}}; g.k.T4=function(){g.YR(this.J.U())&&this.sb.Jf()&&this.Cb&&this.Y.start()}; g.k.XT=function(){this.K.stop();this.j&&this.j.isActive()&&this.N.start()}; g.k.VT=function(){this.N.stop();this.j&&!this.j.isActive()&&this.K.start()}; g.k.t9=function(){this.j&&this.j.stop()}; g.k.s9=function(){this.Pb()}; g.k.Pp=function(){this.Pb()}; g.k.Pb=function(){!this.j||this.C&&this.C.isActive()||(g.EE("iv-teaser-hidden"),this.D.hide(),g.Lu(this.J.getRootNode(),"ytp-cards-teaser-shown"),this.C=new g.Bu(function(){for(var a=g.v(this.G),b=a.next();!b.done;b=a.next())this.Mc(b.value);this.G=[];this.j&&(this.j.dispose(),this.j=null);this.Vg.DK(!0);!this.J.Gk()&&this.J.U().L("enable_error_corrections_infocards_icon_web")&&this.Vg.Pb()},330,this),this.C.start())}; g.k.Vj=function(){return this.Cb&&4!==this.D.state}; g.k.ya=function(){var a=this.J.getRootNode();a&&g.Lu(a,"ytp-cards-teaser-shown");g.tb(this.B,this.C,this.j);g.V.prototype.ya.call(this)};var z3={},dW=(z3.BUTTON="ytp-button",z3.TITLE_NOTIFICATIONS="ytp-title-notifications",z3.TITLE_NOTIFICATIONS_ON="ytp-title-notifications-on",z3.TITLE_NOTIFICATIONS_OFF="ytp-title-notifications-off",z3.NOTIFICATIONS_ENABLED="ytp-notifications-enabled",z3);g.w(dWa,g.V); dWa.prototype.onClick=function(){this.api.logClick(this.element);var a=!this.j;this.updateValue("label",a?"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435"); this.updateValue("pressed",a);eWa(this,a)};g.Sa("yt.pubsub.publish",g.EE);g.w(g.fW,g.V);g.fW.prototype.C=function(){window.location.reload()}; g.fW.prototype.j=function(){g.Ju(this.element,"ytp-sb-subscribed")}; g.fW.prototype.B=function(){g.Lu(this.element,"ytp-sb-subscribed")};g.w(iWa,g.V);g.k=iWa.prototype;g.k.K8=function(a){this.api.logClick(this.j);var b=this.api.U();b.B||b.tb?kWa(this)&&(this.isExpanded()?this.fH():this.DH()):g.On(gW(this));a.preventDefault()}; g.k.uR=function(){mWa(this);this.channel.classList.remove("ytp-title-expanded")}; g.k.isExpanded=function(){return this.channel.classList.contains("ytp-title-expanded")}; g.k.DH=function(){if(kWa(this)&&!this.isExpanded()){this.updateValue("flyoutUnfocusable","false");this.updateValue("channelTitleFocusable","0");this.updateValue("shouldHideExpandedTitleForA11y","false");this.updateValue("shouldHideExpandedSubtitleForA11y","false");this.C&&this.C.stop();this.api.L("web_player_ve_conversion_fixes_for_channel_info")&&this.api.logVisibility(this.channelName,!0);this.subscribeButton&&(this.subscribeButton.show(),this.api.logVisibility(this.subscribeButton.element,!0)); var a=this.api.getVideoData();this.B&&a.Il&&a.subscribed&&(this.B.show(),this.api.logVisibility(this.B.element,!0));this.channel.classList.add("ytp-title-expanded");this.channel.classList.add("ytp-title-show-expanded")}}; g.k.fH=function(){this.updateValue("flyoutUnfocusable","true");this.updateValue("channelTitleFocusable","-1");this.updateValue("shouldHideExpandedTitleForA11y","true");this.updateValue("shouldHideExpandedSubtitleForA11y","true");this.C&&this.C.start()}; g.k.Ra=function(){var a=this.api.U();g.$F(this,!g.mU(this.api));var b=this.api.getVideoData(),c=this.api.U(),d=this.api.getVideoData();this.D=!1;var e=!!d.videoId&&!!d.jc&&!!d.profilePicture;2===this.api.getPresentingPlayerType()?this.D=e&&!!d.isListed&&!!d.author:g.YR(c)&&(this.D=e&&!(d.Ld&&c.ma)&&!c.C&&!(c.Z&&200>this.api.getPlayerSize().width));c=b.profilePicture;a=g.YR(a)?b.expandedTitle:b.author;c=void 0===c?"":c;a=void 0===a?"":a;this.D?(this.K!==c&&(this.j.style.backgroundImage="url("+c+")", this.K=c),this.api.L("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelLink",gW(this)),this.updateValue("channelLogoLabel",g.dK('\u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0430\u0432\u0442\u043e\u0440\u0430 \u043a\u0430\u043d\u0430\u043b\u0430 "$CHANNEL_NAME"',{CHANNEL_NAME:a})),g.Ju(this.api.getRootNode(),"ytp-title-enable-channel-logo")):g.Lu(this.api.getRootNode(),"ytp-title-enable-channel-logo");this.api.logVisibility(this.j,this.D&&this.Z);this.subscribeButton&& (this.subscribeButton.channelId=b.Gl);this.updateValue("expandedTitle",b.expandedTitle);this.api.L("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelTitleLink",gW(this));this.updateValue("expandedSubtitle",b.expandedSubtitle)}; g.k.ac=function(a){g.V.prototype.ac.call(this,a);this.api.logVisibility(this.j,this.D&&a)};g.w(hW,g.aG);hW.prototype.KY=function(){this.oa("size-change")}; hW.prototype.focus=function(){this.content.focus()}; hW.prototype.FY=function(){this.oa("back")};g.w(g.iW,hW);g.k=g.iW.prototype;g.k.od=function(a,b){if(void 0===b?0:b)this.items.push(a),this.menuItems.element.appendChild(a.element);else{b=g.Vb(this.items,a,oWa);if(0<=b)return;b=~b;g.Rb(this.items,b,0,a);g.qf(this.menuItems.element,a.element,b)}a.subscribe("size-change",this.pQ,this);this.menuItems.oa("size-change")}; g.k.uh=function(a){a.unsubscribe("size-change",this.pQ,this);this.isDisposed()||(g.Fb(this.items,a),this.menuItems.element.removeChild(a.element),this.menuItems.oa("size-change"))}; g.k.pQ=function(){this.menuItems.oa("size-change")}; g.k.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.Sr(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.as(this.element,new g.pe(d.left,d.top));g.KC(this.D);this.D.T(document,"contextmenu",this.X8);this.D.T(this.J,"fullscreentoggled",this.onFullscreenToggled);this.D.T(this.J,"pageTransition",this.m3)}; g.k.X8=function(a){if(!a.defaultPrevented){var b=GC(a);g.zf(this.element,b)||this.Pb();this.J.U().disableNativeContextMenu&&a.preventDefault()}}; g.k.onFullscreenToggled=function(){this.Pb();yWa(this)}; g.k.m3=function(){this.Pb()};g.w(g.qW,g.V);g.qW.prototype.onClick=function(){var a=this,b,c,d,e;return g.I(function(f){if(1==f.j)return b=a.api.U(),c=a.api.getVideoData(),d=a.api.getPlaylistId(),e=b.getVideoUrl(c.videoId,d,void 0,!0),g.y(f,BWa(a,e),2);f.B&&AWa(a);a.api.logClick(a.element);g.Aa(f)})}; g.qW.prototype.Ra=function(){this.updateValue("icon",{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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.updateValue("title-attr","\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443"); this.visible=zWa(this);g.Nu(this.element,"ytp-copylink-button-visible",this.visible);g.$F(this,this.visible);this.tooltip.Eh();this.api.logVisibility(this.element,this.visible&&this.Z)}; g.qW.prototype.ac=function(a){g.V.prototype.ac.call(this,a);this.api.logVisibility(this.element,this.visible&&a)}; g.qW.prototype.ya=function(){g.V.prototype.ya.call(this);g.Lu(this.element,"ytp-copylink-button-visible")};g.w(rW,g.V);rW.prototype.show=function(){g.V.prototype.show.call(this);g.Cu(this.B)}; rW.prototype.hide=function(){this.D.stop();this.C=0;g.Lu(this.element,"ytp-chapter-seek");g.Lu(this.element,"ytp-time-seeking");g.V.prototype.hide.call(this)}; rW.prototype.mF=function(a,b,c,d){this.C=a===this.K?this.C+d:d;this.K=a;var e=-1===a?this.Y:this.N;e&&this.J.logClick(e);this.G?this.B.stop():g.Eu(this.B);this.D.start();this.element.setAttribute("data-side",-1===a?"back":"forward");var f=3*this.J.kb().getPlayerSize().height;e=this.J.kb().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.Ga("ytp-doubletap-ripple");l.style.width=h+"px";l.style.height=h+"px";1===a?(a=this.J.kb().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.Ga("ytp-doubletap-ripple"))c.classList.remove("ytp-doubletap-ripple"),c.classList.add("ytp-doubletap-ripple");CWa(this,this.G?this.C:d)};g.w(vW,g.V);g.k=vW.prototype;g.k.qJ=function(){}; g.k.xE=function(){}; g.k.xB=function(){return!0}; g.k.Dba=function(){if(this.expanded){this.Sa.show();var a=this.D.element.scrollWidth}else a=this.D.element.scrollWidth,this.Sa.hide();this.tb=34+a;g.Nu(this.badge.element,"ytp-suggested-action-badge-expanded",this.expanded);this.badge.element.style.width=(this.expanded?34:this.tb)+"px";this.Na.start()}; g.k.E5=function(){this.badge.element.style.width=(this.expanded?this.tb:34)+"px";this.Va.start()}; g.k.tJ=function(a){this.Y=a;uW(this);tW(this);this.Fm()}; g.k.mca=function(){g.Nu(this.badge.element,"ytp-suggested-action-badge-with-offline-slate",!0)}; g.k.GK=function(){return this.ma||this.Y||!this.K}; g.k.Fm=function(){this.xB()?this.N.show():this.N.hide();EWa(this)}; g.k.ZT=function(){this.enabled=!1;this.Fm()}; g.k.lca=function(){this.Fm()}; g.k.H8=function(a){this.Za=1===a;this.Fm();g.Nu(this.badge.element,"ytp-suggested-action-badge-with-offline-slate",!1)}; g.k.a9=function(){g.Nu(this.badge.element,"ytp-suggested-action-badge-fullscreen",this.J.isFullscreen());this.Fm()};g.w(GWa,vW);g.k=GWa.prototype;g.k.g9=function(){this.J.Qa("innertubeCommand",this.dc);this.J.logClick(this.infoButton.element)}; g.k.xB=function(){return!!this.j}; g.k.GK=function(){return!!this.j}; g.k.qJ=function(a){a.target===this.dismissButton.element||a.target===this.infoButton.element?a.preventDefault():(this.Db&&this.J.Qa("innertubeCommand",this.Db),wW(this,!1))}; g.k.xE=function(){wW(this,!0);var a,b;(null==(a=this.j)?0:null==(b=a.bannerData)?0:b.dismissedStatusKey)&&this.rb.push(this.j.bannerData.dismissedStatusKey);this.fB()}; g.k.ZT=function(){this.fB();xW(this)}; g.k.nba=function(a){var b=this,c;if(a.id!==(null==(c=this.j)?void 0:c.identifier)){this.fB();c=g.v(this.qa);for(var d=c.next();!d.done;d=c.next()){var e=d.value,f=void 0,h=void 0;if((d=null==(f=e)?void 0:null==(h=f.bannerData)?void 0:h.itemData)&&e.identifier===a.id){h=f=void 0;var l=(null==(f=e)?void 0:null==(h=f.bannerData)?void 0:h.dismissedStatusKey)||"";if(this.rb.includes(l))break;this.j=e;this.banner.element.setAttribute("aria-label",d.accessibilityLabel||"");d.trackingParams&&(this.B=!0,this.J.setTrackingParams(this.badge.element, d.trackingParams));this.N.show();uW(this);g.$F(this.Aa,!d.stayInApp);NWa(this);LWa(this);this.Db=g.U(d.onTapCommand,PF);e=d.thumbnailSources||[];f=this.J.L("enable_out_of_stock_text_all_surfaces");h=void 0;this.banner.update({thumbnail:null==(h=e[0])?void 0:h.url,title:d.productTitle,price:f&&d.priceReplacementText?d.priceReplacementText:d.price,affiliateDisclaimer:d.affiliateDisclaimer,vendor:HWa(this)});l=h=f=e=void 0;(null==(e=d)?0:null==(f=e.hiddenProductOptions)?0:f.showDropCountdown)&&(null== (h=d)?0:null==(l=h.hiddenProductOptions)?0:l.dropTimestampMs)&&(this.gb=new g.Bu(function(){MWa(b)},1E3),this.Aa.hide(),this.countdownTimer.show(),MWa(this))}}}}; g.k.fB=function(){this.j&&(this.j=void 0,this.Fm())}; g.k.onVideoDataChange=function(a,b){var c=this;"dataloaded"===a&&xW(this);a=this.J.L("web_player_enable_vod_featured_product_banner_on_desktop");var d,e,f=null==b?void 0:null==(d=b.getPlayerResponse())?void 0:null==(e=d.videoDetails)?void 0:e.isLiveContent;if(a||f){this.J.L("web_player_enable_info_button_in_banner_on_desktop")&&a&&!f?this.infoButton.show():this.infoButton.hide();var h,l,m;b=g.U(null==(h=b.getWatchNextResponse())?void 0:null==(l=h.playerOverlays)?void 0:null==(m=l.playerOverlayRenderer)? void 0:m.productsInVideoOverlayRenderer,Bhb);var n=null==b?void 0:b.featuredProductsEntityKey;this.trendingOfferEntityKey=null==b?void 0:b.trendingOfferEntityKey;var p;if(h=null==b?void 0:null==(p=b.dismissButton)?void 0:p.trackingParams)this.J.setTrackingParams(this.dismissButton.element,h),this.C=!0;var q;(p=null==b?void 0:null==(q=b.dismissButton)?void 0:q.a11yLabel)&&this.dismissButton.element.setAttribute("aria-label",g.dG(p));this.dc=null==b?void 0:b.onClickCommand;this.qa.length||(JWa(this, n),LWa(this));var r;null==(r=this.Nb)||r.call(this);this.Nb=g.oT.subscribe(function(){JWa(c,n);LWa(c)})}else{var t; null==(t=this.Nb)||t.call(this);this.fB()}}; g.k.ya=function(){xW(this);NWa(this);vW.prototype.ya.call(this)};g.w(SWa,g.V);SWa.prototype.onClick=function(){this.J.logClick(this.element,this.B)};g.w(TWa,g.tU);g.k=TWa.prototype;g.k.show=function(){g.tU.prototype.show.call(this);this.J.oa("infopaneldetailvisibilitychange",!0);this.J.logVisibility(this.element,!0);UWa(this,!0)}; g.k.hide=function(){g.tU.prototype.hide.call(this);this.J.oa("infopaneldetailvisibilitychange",!1);this.J.logVisibility(this.element,!1);UWa(this,!1)}; g.k.getId=function(){return this.D}; g.k.wp=function(){return this.itemData.length}; g.k.onVideoDataChange=function(a,b){if(b){var c,d,e,f;this.update({title:(null==(c=b.Cm)?void 0:null==(d=c.title)?void 0:d.content)||"",body:(null==(e=b.Cm)?void 0:null==(f=e.bodyText)?void 0:f.content)||""});var h;a=(null==(h=b.Cm)?void 0:h.trackingParams)||null;this.J.setTrackingParams(this.element,a);h=g.v(this.itemData);for(a=h.next();!a.done;a=h.next())a.value.dispose();this.itemData=[];var l;if(null==(l=b.Cm)?0:l.ctaButtons)for(b=g.v(b.Cm.ctaButtons),l=b.next();!l.done;l=b.next())if(l=g.U(l.value, sgb))l=new SWa(this.J,l,this.j),l.Ee&&(this.itemData.push(l),l.Da(this.items))}}; g.k.ya=function(){this.hide();g.tU.prototype.ya.call(this)};g.w(XWa,g.V);g.k=XWa.prototype;g.k.onVideoDataChange=function(a,b){WWa(this,b);this.gf&&ZWa(this,this.gf)}; g.k.Td=function(a){var b=this.J.getVideoData();this.videoId!==b.videoId&&WWa(this,b);ZWa(this,a.state);this.gf=a.state}; g.k.LY=function(a){(this.D=a)?this.hide():this.j&&this.show()}; g.k.q3=function(){this.B||this.rd();this.showControls=!0}; g.k.o3=function(){this.B||this.Pb();this.showControls=!1}; g.k.rd=function(){this.j&&!this.D&&(this.C.show(),this.J.oa("infopanelpreviewvisibilitychange",!0),this.J.logVisibility(this.element,!0))}; g.k.Pb=function(){this.j&&!this.D&&(this.C.hide(),this.J.oa("infopanelpreviewvisibilitychange",!1),this.J.logVisibility(this.element,!1))}; g.k.rba=function(){this.B=!1;this.showControls||this.Pb()};var tjb={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(tjb).reduce(function(a,b){a[tjb[b]]=b;return a},{}); var ujb={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(ujb).reduce(function(a,b){a[ujb[b]]=b;return a},{}); var vjb={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(vjb).reduce(function(a,b){a[vjb[b]]=b;return a},{});var wjb,xjb;wjb=[{option:"#fff",text:"\u0411\u0435\u043b\u044b\u0439"},{option:"#ff0",text:"\u0416\u0435\u043b\u0442\u044b\u0439"},{option:"#0f0",text:"\u0417\u0435\u043b\u0435\u043d\u044b\u0439"},{option:"#0ff",text:"\u0413\u043e\u043b\u0443\u0431\u043e\u0439"},{option:"#00f",text:"\u0421\u0438\u043d\u0438\u0439"},{option:"#f0f",text:"\u041f\u0443\u0440\u043f\u0443\u0440\u043d\u044b\u0439"},{option:"#f00",text:"\u041a\u0440\u0430\u0441\u043d\u044b\u0439"},{option:"#080808",text:"\u0427\u0435\u0440\u043d\u044b\u0439"}]; xjb=[{option:0,text:yW(0)},{option:.25,text:yW(.25)},{option:.5,text:yW(.5)},{option:.75,text:yW(.75)},{option:1,text:yW(1)}]; g.CW=[{option:"fontFamily",text:"\u0421\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0448\u0440\u0438\u0444\u0442\u043e\u0432",options:[{option:1,text:"\u041c\u043e\u043d\u043e\u0448\u0438\u0440\u0438\u043d\u043d\u044b\u0439 \u0441 \u0437\u0430\u0441\u0435\u0447\u043a\u0430\u043c\u0438"},{option:2,text:"\u041f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0441 \u0437\u0430\u0441\u0435\u0447\u043a\u0430\u043c\u0438"},{option:3,text:"\u041c\u043e\u043d\u043e\u0448\u0438\u0440\u0438\u043d\u043d\u044b\u0439 \u0431\u0435\u0437 \u0437\u0430\u0441\u0435\u0447\u0435\u043a"}, {option:4,text:"\u041f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0435\u0437 \u0437\u0430\u0441\u0435\u0447\u0435\u043a"},{option:5,text:"\u041e\u0431\u044b\u0447\u043d\u044b\u0439"},{option:6,text:"\u041a\u0443\u0440\u0441\u0438\u0432"},{option:7,text:"\u041c\u0430\u043b\u044b\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435"}]},{option:"color",text:"\u0426\u0432\u0435\u0442 \u0448\u0440\u0438\u0444\u0442\u0430",options:wjb},{option:"fontSizeIncrement", text:"\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",options:[{option:-2,text:yW(.5)},{option:-1,text:yW(.75)},{option:0,text:yW(1)},{option:1,text:yW(1.5)},{option:2,text:yW(2)},{option:3,text:yW(3)},{option:4,text:yW(4)}]},{option:"background",text:"\u0426\u0432\u0435\u0442 \u0444\u043e\u043d\u0430",options:wjb},{option:"backgroundOpacity",text:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0444\u043e\u043d\u0430",options:xjb},{option:"windowColor", text:"\u0426\u0432\u0435\u0442 \u043e\u043a\u043d\u0430",options:wjb},{option:"windowOpacity",text:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u043e\u043a\u043d\u0430",options:xjb},{option:"charEdgeStyle",text:"\u0421\u0442\u0438\u043b\u044c \u043a\u043e\u043d\u0442\u0443\u0440\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",options:[{option:0,text:"\u0411\u0435\u0437 \u043a\u043e\u043d\u0442\u0443\u0440\u0430"},{option:4,text:"\u0421 \u0442\u0435\u043d\u044c\u044e"}, {option:1,text:"\u041f\u0440\u0438\u043f\u043e\u0434\u043d\u044f\u0442\u044b\u0439"},{option:2,text:"\u0423\u0442\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439"},{option:3,text:"\u0413\u0440\u0430\u043d\u0438\u0446\u044b"}]},{option:"textOpacity",text:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0448\u0440\u0438\u0444\u0442\u0430",options:[{option:.25,text:yW(.25)},{option:.5,text:yW(.5)},{option:.75,text:yW(.75)},{option:1,text:yW(1)}]}];var yjb=[27,9,33,34,13,32,187,61,43,189,173,95,79,87,67,80,78,75,70,65,68,87,83,107,221,109,219];g.w(g.BW,g.IK);g.k=g.BW.prototype; g.k.VW=function(a){a.repeat||(this.C.wI=!1);var b=!1,c=a.keyCode,d=GC(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey&&(!g.$T(this.api.app)||yjb.includes(c)),f=!1,h=!1,l=this.api.U();a.defaultPrevented?(e=!1,h=!0):l.Pe&&!g.$T(this.api.app)&&(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);cW(this.Uc,f,!1);this.api.setVolume(f);h=f=!0;break;case 40:f=Math.max(this.api.getVolume()-5,0); cW(this.Uc,f,!0);this.api.setVolume(f);h=f=!0;break;case 36:this.api.Mh()&&(this.api.startSeekCsiAction(),this.api.seekTo(0,void 0,void 0,void 0,79),h=f=!0);break;case 35:this.api.Mh()&&(this.api.startSeekCsiAction(),this.api.seekTo(Infinity,void 0,void 0,void 0,80),h=f=!0)}}b&&AW(this,!0);(b||h)&&this.jf.iq();(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code,a.repeat))&&a.preventDefault();l.K&&(a={keyCode:a.keyCode,altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey, shiftKey:a.shiftKey,handled:a.defaultPrevented,fullscreen:this.api.isFullscreen()},this.api.Qa("onKeyPress",a))}; g.k.WW=function(a){this.handleGlobalKeyUp(a.keyCode,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)&&a.preventDefault()}; g.k.handleGlobalKeyUp=function(a,b,c,d,e,f,h){this.api.oa("keyboardserviceglobalkeyup",{keyCode:a,shiftKey:b,ctrlKey:c,altKey:d,metaKey:e,key:f,code:h});b=!1;if(this.C.wI)return b;(c=g.nU(this.api.zb()))&&(c=c.wu)&&c.Cb&&(c.QW(a),b=!0);switch(a){case 9:AW(this,!0);b=!0;break;case 32:if(this.api.L("web_speedmaster_spacebar_control")&&!this.G&&!this.api.U().Pe){var l,m;a=null==(l=this.Qc)?void 0:null==(m=l.B)?void 0:m.isEnabled;b=this.Qr(a)}}return b}; g.k.handleGlobalKeyDown=function(a,b,c,d,e,f,h,l){l||(this.C.wI=!1);var m=!1,n=this.api.U();if(n.Pe&&!g.$T(this.api.app))return m;var p=g.nU(this.api.zb());if(p&&(p=p.wu)&&p.Cb)switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:m=p.PW(a)}n.N||m||(m=f||String.fromCharCode(a).toLowerCase(),this.B+=m,0==="awesome".indexOf(this.B)?(m=!0,7===this.B.length&&ala(this.api.getRootNode(),"ytp-color-party")):(this.B=m,m=0==="awesome".indexOf(this.B)));if(!m&&(!g.$T(this.api.app)|| yjb.includes(a))){var q=this.api.getVideoData(),r,t;p=null==(r=this.Qc)?void 0:null==(t=r.B)?void 0:t.isEnabled;r=q?q.Uk:[];t=WY?d:c;switch(a){case 80:b&&!n.Sa&&(bW(this.Uc,Lva(),"\u041d\u0430\u0437\u0430\u0434"),this.api.previousVideo(),m=!0);break;case 78:b&&!n.Sa&&(bW(this.Uc,Eva(),"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435"),this.api.nextVideo(),m=!0);break;case 74:this.api.Mh()&&(this.api.startSeekCsiAction(),this.j?sW(this.j,-1,10):bW(this.Uc,{I:"svg",X:{height:"100%",version:"1.1", viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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(),void 0,void 0,73),m=!0);break;case 76:this.api.Mh()&&(this.api.startSeekCsiAction(),this.j?sW(this.j,1,10):bW(this.Uc,{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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(),void 0,void 0,74),m=!0);break;case 37:this.api.Mh()&&(this.api.startSeekCsiAction(),t?(t=bXa(r,1E3*this.api.getCurrentTime()),-1!==t&&null!=this.j&&(DWa(this.j,-1,r[t].title),this.api.seekTo(r[t].startTime/1E3,void 0,void 0,void 0,53),m=!0)):(this.j?sW(this.j,-1,5):bW(this.Uc,{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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(),void 0,void 0,71),m=!0));break;case 39:this.api.Mh()&&(this.api.startSeekCsiAction(),t?(t=aXa(r,1E3*this.api.getCurrentTime()),-1!==t&&null!=this.j&&(DWa(this.j,1,r[t].title),this.api.seekTo(r[t].startTime/1E3,void 0,void 0,void 0,52),m=!0)):(null!=this.j?sW(this.j,1,5):bW(this.Uc,{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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(),void 0,void 0,72),m=!0));break;case 77:this.api.isMuted()?(this.api.unMute(),cW(this.Uc,this.api.getVolume(),!1)):(this.api.mute(),cW(this.Uc,0,!0));m=!0;break;case 32:m=this.api.L("web_speedmaster_spacebar_control")?!this.api.U().Sa:this.Qr(p);break;case 75:m=this.Qr(p);break;case 190:b?n.enableSpeedOptions&&(m=this.api.getPlaybackRate(),this.api.setPlaybackRate(m+.25,!0),$Va(this.Uc,!1),m=!0):this.api.Mh()&&(this.step(1),m=!0);break;case 188:b?n.enableSpeedOptions&& (m=this.api.getPlaybackRate(),this.api.setPlaybackRate(m-.25,!0),$Va(this.Uc,!0),m=!0):this.api.Mh()&&(this.step(-1),m=!0);break;case 70:VSa(this.api)&&(this.api.toggleFullscreen().catch(function(){}),m=!0); break;case 27:p?(this.Qc.tp(),m=!0):this.K()&&(m=!0)}if("3"!==n.controlsType)switch(a){case 67:g.HV(this.api.zb())&&(n=this.api.getOption("captions","track"),this.api.toggleSubtitles(),aWa(this.Uc,!n||n&&!n.displayName),m=!0);break;case 79:DW(this,"textOpacity");break;case 87:DW(this,"windowOpacity");break;case 187:case 61:DW(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:DW(this,"fontSizeIncrement",!0,!0)}var u;b||c||d||(48<=a&&57>=a?u=a-48:96<=a&&105>=a&&(u=a-96));null!=u&&this.api.Mh()&& (this.api.startSeekCsiAction(),n=this.api.getProgressState(),this.api.seekTo(u/10*(n.seekableEnd-n.seekableStart)+n.seekableStart,void 0,void 0,void 0,81),m=!0);m&&this.jf.iq()}this.G||this.api.oa("keyboardserviceglobalkeydown",{keyCode:a,shiftKey:b,ctrlKey:c,altKey:d,metaKey:e,key:f,code:h,repeat:l},this.C);return m}; g.k.step=function(a){this.api.Mh();if(this.api.Qb().isPaused()){var b=this.api.getVideoData().B;b&&(b=b.video)&&this.api.seekBy(a/(b.fps||30),void 0,void 0,0this.api.kb().getPlayerSize().width&&!a);g.mU(this.api)?this.hide():this.playlist&&2!==this.api.getPresentingPlayerType()?(this.update({text:g.dK("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.playlist.index+1),PLAYLIST_LENGTH:String(this.playlist.getLength())}),title:g.dK('\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442 "$PLAYLIST_NAME"',{PLAYLIST_NAME:this.playlist.title})}), this.Cb||(this.show(),this.tooltip.Eh()),this.visible=!0,this.ac(!0)):this.Cb&&this.hide()}; FW.prototype.ac=function(a){g.V.prototype.ac.call(this,a);this.api.logVisibility(this.element,this.visible&&a)}; FW.prototype.j=function(){this.playlist&&this.playlist.unsubscribe("shuffle",this.Ra,this);(this.playlist=this.api.getPlaylist())&&this.playlist.subscribe("shuffle",this.Ra,this);this.Ra()};g.w(jXa,g.V);g.k=jXa.prototype;g.k.t3=function(){this.D?nXa(this):mXa(this)}; g.k.s3=function(){this.D?(GW(this),this.K=!0):mXa(this)}; g.k.p8=function(){this.G=!0;this.BF(1);this.J.oa("promotooltipacceptbuttonclicked",this.acceptButton);GW(this);this.B&&this.J.logClick(this.acceptButton)}; g.k.V8=function(){this.G=!0;this.BF(2);GW(this);this.B&&this.J.logClick(this.dismissButton)}; g.k.u3=function(a){if(1===this.J.getPresentingPlayerType()||2===this.J.getPresentingPlayerType()&&this.N){var b=!0,c=g.Ze("ytp-ad-overlay-ad-info-dialog-container"),d=GC(a);if(this.C&&d&&g.zf(this.C,d))this.C=null;else{1===this.J.getPresentingPlayerType()&&d&&Array.from(d.classList).forEach(function(l){l.startsWith("ytp-ad")&&(b=!1)}); var e=oXa(this.tooltipRenderer),f;if("TOOLTIP_DISMISS_TYPE_TAP_ANYWHERE"===(null==(f=this.tooltipRenderer.dismissStrategy)?void 0:f.type))e&&(b=b&&!g.zf(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.zf(this.element,d))}this.j&&this.Cb&&!c&&(!d||b&&g.TG(a))&&(this.G=!0,GW(this))}}}; g.k.BF=function(a){var b=this.tooltipRenderer.promoConfig;if(b){switch(a){case 0:var c;if(null==(c=b.impressionEndpoints)?0:c.length)var d=b.impressionEndpoints[0];break;case 1:d=b.acceptCommand;break;case 2:d=b.dismissCommand}var e;a=null==(e=g.U(d,rgb))?void 0:e.feedbackToken;d&&a&&(e={feedbackTokens:[a]},a=this.J.jn(),(null==a?0:Rwa(d,a.BN))&&VH(a,d,e))}}; g.k.Ib=function(){this.K||(this.j||(this.j=kXa(this)),nXa(this))}; var lXa={"ytp-settings-button":g.Nva()};g.w(HW,g.V);HW.prototype.onStateChange=function(a){this.Dc(a.state)}; HW.prototype.Dc=function(a){g.$F(this,g.JG(a,2))}; HW.prototype.onClick=function(){this.J.Qb();this.J.playVideo()};g.w(IW,g.V);IW.prototype.onClick=function(a){this.api.logClick(this.element);var b=g.tm(this.api.U().Ka,{focusSearch:"true"}),c={};g.ZT(this.api,"addEmbedsConversionTrackingParams",[c]);g.wP(c,"emb_search");b=g.tm(b,c);g.On(b);a.preventDefault()}; IW.prototype.j=function(){if(this.api.L("embeds_web_enable_search_button")){var a=this.api.U();var b=this.api.getVideoData(),c=this.api.kb().getPlayerSize().width;a=g.YR(a)&&c>=this.B&&!a.C&&!b.isAd()&&!g.mU(this.api)}else a=!1;this.visible=a;g.$F(this,this.visible);g.Nu(this.element,"ytp-search-button-visible",this.visible);g.Nu(this.element,"ytp-show-search-title",!this.sb.Jf());this.api.logVisibility(this.element,this.visible&&this.Z)}; IW.prototype.ac=function(a){g.V.prototype.ac.call(this,a);this.api.logVisibility(this.element,this.visible&&a)};g.w(g.JW,g.V);g.k=g.JW.prototype;g.k.zm=aa(10);g.k.onClick=function(){var a=this,b=this.api.U(),c=this.api.getVideoData(this.api.getPresentingPlayerType()),d=this.api.getPlaylistId();b=b.getVideoUrl(c.videoId,d,void 0,!0);if(navigator.share)try{var e=navigator.share({title:c.title,url:b});e instanceof Promise&&e.catch(function(f){qXa(a,f)})}catch(f){f instanceof Error&&qXa(this,f)}else this.sb.Pj(),uU(this.B,this.element,!1); this.api.logClick(this.element)}; g.k.Ra=function(){var a=this.api.U(),b=g.mU(this.api);g.Nu(this.element,"ytp-show-share-title",g.YR(a)&&!g.fS(a)&&!b);this.sb.Xf()&&b?(a=(this.api.kb().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.Vr(this.element,"right",a+"px")):b&&g.Vr(this.element,"right","0px");this.updateValue("icon",{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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"}}]}); this.visible=pXa(this);g.Nu(this.element,"ytp-share-button-visible",this.visible);g.$F(this,this.visible);this.tooltip.Eh();this.api.logVisibility(this.element,pXa(this)&&this.Z)}; g.k.ac=function(a){g.V.prototype.ac.call(this,a);this.api.logVisibility(this.element,this.visible&&a)}; g.k.ya=function(){g.V.prototype.ya.call(this);g.Lu(this.element,"ytp-share-button-visible")};g.w(g.KW,g.tU);g.k=g.KW.prototype;g.k.v3=function(a){a=GC(a);g.zf(this.G,a)||g.zf(this.closeButton,a)||uU(this)}; g.k.Pb=function(){g.tU.prototype.Pb.call(this);this.tooltip.ej(this.element);this.api.logVisibility(this.j,!1);for(var a=g.v(this.C),b=a.next();!b.done;b=a.next())b=b.value,this.api.hasVe(b.element)&&this.api.logVisibility(b.element,!1)}; g.k.show=function(){var a=this.Cb;g.tU.prototype.show.call(this);this.Ra();a||this.api.Qa("onSharePanelOpened")}; g.k.N7=function(){this.Cb&&this.Ra()}; g.k.Ra=function(){var a=this;g.Ju(this.element,"ytp-share-panel-loading");g.Lu(this.element,"ytp-share-panel-fail");var b=this.api.getVideoData(),c=this.api.getPlaylistId()&&this.D.checked;b.getSharePanelCommand&&VH(this.api.jn(),b.getSharePanelCommand,{includeListId:c}).then(function(d){a.isDisposed()||(g.Lu(a.element,"ytp-share-panel-loading"),tXa(a,d))}); b=this.api.getVideoUrl(!0,!0,!1,!1);g.fS(this.api.U())&&(b=g.tm(b,g.wP({},"emb_share")));this.updateValue("link",b);this.updateValue("linkText",b);this.updateValue("shareLinkWithUrl",g.dK("\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0441\u0441\u044b\u043b\u043a\u0443: $URL",{URL:b}));ZSa(this.j);this.api.logVisibility(this.j,!0)}; g.k.onFullscreenToggled=function(a){!a&&this.Vj()&&uU(this)}; g.k.focus=function(){this.j.focus()}; g.k.ya=function(){g.tU.prototype.ya.call(this);sXa(this)};g.w(wXa,vW);g.k=wXa.prototype;g.k.ya=function(){BXa(this);vW.prototype.ya.call(this)}; g.k.qJ=function(a){a.target!==this.dismissButton.element&&(wW(this,!1),this.J.Qa("innertubeCommand",this.onClickCommand))}; g.k.xE=function(){this.Ka=!0;wW(this,!0);this.Fm()}; g.k.J9=function(a){this.Aa=a;this.Fm()}; g.k.onVideoDataChange=function(a,b){if(a=!!b.videoId&&this.videoId!==b.videoId)this.videoId=b.videoId,this.Ka=!1,this.Y=!0,this.K=this.ma=!1,BXa(this),AXa(this,!1),this.G=this.j=!1,MW(this),xXa(this);if(a||!b.videoId)this.C=this.B=!1;var c,d;if(null==b?0:null==(c=b.getPlayerResponse())?0:null==(d=c.videoDetails)?0:d.isLiveContent)this.vg(!1);else{var e,f,h;b=g.U(null==(e=b.getWatchNextResponse())?void 0:null==(f=e.playerOverlays)?void 0:null==(h=f.playerOverlayRenderer)?void 0:h.productsInVideoOverlayRenderer, Bhb);this.Aa=this.enabled=!1;if(b){if(this.J.L("web_player_enable_vod_featured_product_banner_on_desktop")&&(e=null==b?void 0:b.featuredProductsEntityKey)){f=g.oT.getState().entities;var l;if(null==(l=TO(f,"featuredProductsEntity",e))?0:l.productsData){this.vg(!1);return}}this.enabled=!0;if(!this.B){var m;l=null==(m=b.badgeInteractionLogging)?void 0:m.trackingParams;(this.B=!!l)&&this.J.setTrackingParams(this.badge.element,l||null)}if(!this.C){var n;if(this.C=!(null==(n=b.dismissButton)||!n.trackingParams)){var p; this.J.setTrackingParams(this.dismissButton.element,(null==(p=b.dismissButton)?void 0:p.trackingParams)||null)}}b.isContentForward&&(m=b.productsData,AXa(this,!0),xXa(this),m=zXa(this,m),n=[],0this.api.getPlayerSize().width));var d=b.profilePicture;a=g.YR(a)?b.expandedTitle:b.author;d=void 0===d?"":d; a=void 0===a?"":a;c?(this.B!==d&&(this.j.style.backgroundImage="url("+d+")",this.B=d),this.api.L("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelLink",OW(this)),this.updateValue("channelLogoLabel",g.dK('\u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0430\u0432\u0442\u043e\u0440\u0430 \u043a\u0430\u043d\u0430\u043b\u0430 "$CHANNEL_NAME"',{CHANNEL_NAME:a})),g.Ju(this.api.getRootNode(),"ytp-title-enable-channel-logo")):g.Lu(this.api.getRootNode(),"ytp-title-enable-channel-logo"); this.api.logVisibility(this.j,c&&this.Z);this.api.L("web_player_ve_conversion_fixes_for_channel_info")&&this.api.logVisibility(this.channelName,c&&this.Z);this.subscribeButton&&(this.subscribeButton.channelId=b.Gl);this.updateValue("expandedTitle",b.expandedTitle);this.api.L("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelTitleLink",OW(this))};g.w(PW,g.tU);PW.prototype.show=function(){g.tU.prototype.show.call(this);this.j.start()}; PW.prototype.hide=function(){g.tU.prototype.hide.call(this);this.j.stop()}; PW.prototype.xt=function(a,b){"dataloaded"===a&&((this.Gi=b.Gi,this.Pe=b.Pe,isNaN(this.Gi)||isNaN(this.Pe))?this.C&&(this.J.hf("intro"),this.J.removeEventListener(g.YJ("intro"),this.K),this.J.removeEventListener(g.ZJ("intro"),this.G),this.J.removeEventListener("onShowControls",this.D),this.hide(),this.C=!1):(this.J.addEventListener(g.YJ("intro"),this.K),this.J.addEventListener(g.ZJ("intro"),this.G),this.J.addEventListener("onShowControls",this.D),a=new g.XJ(this.Gi,this.Pe,{priority:9,namespace:"intro"}), this.J.tf([a]),this.C=!0))};g.w(QW,g.V);QW.prototype.onClick=function(){this.J.uu()}; QW.prototype.Ra=function(){var a=!0;g.YR(this.J.U())&&(a=a&&480<=this.J.kb().getPlayerSize().width);g.$F(this,a);this.updateValue("icon",this.J.Kh()?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,X:{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"}}]}: {I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.w(g.SW,g.V);g.SW.prototype.ya=function(){this.j=null;g.V.prototype.ya.call(this)};g.w(TW,g.V);TW.prototype.onClick=function(){this.J.Qa("innertubeCommand",this.B)}; TW.prototype.N=function(a){a!==this.G&&(this.update({title:a,ariaLabel:a}),this.G=a);a?this.show():this.hide()}; TW.prototype.K=function(){this.j.disabled=null==this.B;g.Nu(this.j,"ytp-chapter-container-disabled",this.j.disabled);this.Gc()};g.w(UW,TW);UW.prototype.onClickCommand=function(a){g.U(a,nT)&&this.Gc()}; UW.prototype.updateVideoData=function(a,b){var c,d,e;a=g.U(null==(c=b.getWatchNextResponse())?void 0:null==(d=c.playerOverlays)?void 0:null==(e=d.playerOverlayRenderer)?void 0:e.decoratedPlayerBarRenderer,mQa);var f;this.B=null==(f=g.U(null==a?void 0:a.playerBarActionButton,g.bN))?void 0:f.command;TW.prototype.K.call(this)}; UW.prototype.Gc=function(){var a="",b=this.D.j,c,d="clips"===(null==(c=this.J.getLoopRange())?void 0:c.type);if(1d!==a>b){var e=c;c=d;d=e}a>c&&b>d&&this.fQ()}}; g.k.disable=function(){var a=this;if(!this.message){var b=(null!=yC(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK":"\u041f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u044d\u0442\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK").split(/\$(BEGIN|END)_LINK/); this.message=new g.tU(this.J,{I:"div",Ma:["ytp-popup","ytp-generic-popup"],X:{role:"alert",tabindex:"0"},V:[b[0],{I:"a",X:{href:"https://support.google.com/youtube/answer/6276924",target:this.J.U().Y},xa:b[2]},b[4]]},100,!0);this.message.hide();g.L(this,this.message);this.message.subscribe("show",function(c){a.sb.Ps(a.message,c)}); g.pU(this.J,this.message.element,4);this.element.setAttribute("aria-disabled","true");this.element.setAttribute("aria-haspopup","true");(0,this.j)();this.j=null}}; g.k.Ra=function(){var a=VSa(this.J),b=this.J.U().Z&&250>this.J.getPlayerSize().width;g.$F(this,a&&!b);this.J.logVisibility(this.element,this.Cb)}; g.k.xm=function(a){if(a){var b={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"g",S:"ytp-fullscreen-button-corner-2",V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-3",V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-0",V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{I:"g", S:"ytp-fullscreen-button-corner-1",V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.eU(this.J,"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430","f");this.update({"data-title-no-tooltip":"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430"}); document.activeElement===this.element&&this.J.getRootNode().focus();document.B&&document.j().catch(function(c){g.BF(c)})}else b={I:"svg", X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"g",S:"ytp-fullscreen-button-corner-0",V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-1",V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-2",V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-3", V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.eU(this.J,"\u0412\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d","f"),this.update({"data-title-no-tooltip":"\u0412\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d"});a=this.message?null:a;this.update({title:a,icon:b});this.sb.qc().Eh()}; g.k.ya=function(){this.message||((0,this.j)(),this.j=null);g.V.prototype.ya.call(this)};g.w(XW,g.V);XW.prototype.onClick=function(){this.J.logClick(this.element);this.J.seekBy(this.j,!0);var a=this.sb.LH();a&&sW(a,0this.j&&a.push("backwards"),this.element.classList.add.apply(this.element.classList,g.ra(a)),g.Cu(this.B))};g.w(YW,TW);YW.prototype.onClickCommand=function(a){g.U(a,Ahb)&&this.Gc()}; YW.prototype.updateVideoData=function(){var a,b;this.B=null==(a=JXa(this))?void 0:null==(b=a.onTap)?void 0:b.innertubeCommand;TW.prototype.K.call(this)}; YW.prototype.Gc=function(){var a="",b=this.D.K,c,d=null==(c=JXa(this))?void 0:c.headerTitle;c=d?g.dG(d):"";var e;d="clips"===(null==(e=this.J.getLoopRange())?void 0:e.type);1=ZXa(this)?(this.api.seekTo(a,!1,void 0,void 0,25),this.api.L("web_fix_fine_scrubbing_drag")?g.Vr(this.Aa,"transform","translateX("+(this.B-this.j/2)+"px)"):g.Vr(this.C,"transform","translateX("+this.B+"px)"),TXa(this,a)):this.B=this.G))}; g.k.x3=function(){var a=300>(0,g.vD)()-this.Sa;if(5>Math.abs(this.Y)&&!a){this.Sa=(0,g.vD)();a=this.qa+this.Y;var b=this.j/2-a;this.XL(a);this.WL(a+b);VXa(this);this.api.logClick(this.C)}VXa(this)}; g.k.JA=function(){cX(this,this.api.getCurrentTime())}; g.k.play=function(a){this.api.seekTo($Xa(this,this.B),void 0,void 0,void 0,26);this.api.playVideo();a&&this.api.logClick(this.playButton)}; g.k.onExit=function(a){this.api.seekTo(this.Na,void 0,void 0,void 0,63);this.api.playVideo();a&&this.api.logClick(this.dismissButton)}; g.k.Ib=function(a,b){this.Ka=a;this.j=b;cX(this,this.api.getCurrentTime())}; g.k.enable=function(){this.isEnabled||(this.isEnabled=!0,this.Na=this.api.getCurrentTime(),TXa(this,this.Na),g.Nu(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled),this.Fa=this.T(this.element,"wheel",this.y3),this.logVisibility(this.isEnabled))}; g.k.disable=function(){this.isEnabled=!1;this.hide();g.Nu(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled);this.Fa&&this.Mc(this.Fa);this.logVisibility(this.isEnabled)}; g.k.reset=function(){this.disable();this.K=[];this.Ea=!1}; g.k.logVisibility=function(a){this.api.logVisibility(this.element,a);this.api.logVisibility(this.C,a);this.api.logVisibility(this.dismissButton,a);this.api.logVisibility(this.playButton,a)}; g.k.ya=function(){for(;this.D.length;){var a=void 0;null==(a=this.D.pop())||a.dispose()}g.V.prototype.ya.call(this)}; g.w(WXa,g.V);g.w(XXa,g.V);g.w(aYa,g.V);g.w(dX,g.V);dX.prototype.Ab=function(a){return"PLAY_PROGRESS"===a?this.K:"LOAD_PROGRESS"===a?this.G:"LIVE_BUFFER"===a?this.D:this.B};dYa.prototype.update=function(a,b,c,d){c=void 0===c?0:c;this.width=b;this.D=c;this.j=b-c-(void 0===d?0:d);this.position=g.me(a,c,c+this.j);this.C=this.position-c;this.B=this.C/this.j};g.w(eYa,g.V);g.w(g.gX,g.aG);g.k=g.gX.prototype; g.k.n0=function(){var a=!1,b=this.api.getVideoData();if(!b)return a;this.api.hf("timedMarkerCueRange");hYa(this);for(var c=g.v(b.ye),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=this.Na[d])?void 0:e.markerType;e=void 0;var h=null==(e=this.Na[d])?void 0:e.markers;if(!h)break;if("MARKER_TYPE_TIMESTAMPS"===f){a=g.v(h);for(f=a.next();!f.done;f=a.next()){e=f.value;f=new eYa;h=void 0;f.title=(null==(h=e.title)?void 0:h.simpleText)||"";f.timeRangeStartMillis=Number(e.startMillis);f.j= Number(e.durationMillis);var l=h=void 0;f.onActiveCommand=null!=(l=null==(h=e.onActive)?void 0:h.innertubeCommand)?l:void 0;MYa(this,f)}NYa(this,this.K);a=this.K;f=this.ye;e=[];h=null;for(l=0;lm&&(h.end=m);m=cXa(m,m+p);e.push(m);h=m;f[m.id]=a[l].onActiveCommand}}this.api.tf(e);this.Df=this.Na[d];a=!0}else if("MARKER_TYPE_HEATMAP"===f){d=this.Na[d];p=n=e=m=l=h=void 0;if(d&& d.markers){f=null!=(e=null==(p=d.markersMetadata)?void 0:null==(n=p.heatmapMetadata)?void 0:n.minHeightDp)?e:0;e=null!=(h=null==(m=d.markersMetadata)?void 0:null==(l=m.heatmapMetadata)?void 0:l.maxHeightDp)?h:60;h=this.j.length;l=null;for(m=0;m=p&&u<=q&&n.push(t)}0this.clipEnd)&&this.jK()}; g.k.z3=function(a){if(!a.defaultPrevented){var b=!1;switch(a.keyCode){case 36:this.api.seekTo(0,void 0,void 0,void 0,79);b=!0;break;case 35:this.api.seekTo(Infinity,void 0,void 0,void 0,80);b=!0;break;case 34:this.api.seekBy(-60,void 0,void 0,76);b=!0;break;case 33:this.api.seekBy(60,void 0,void 0,75);b=!0;break;case 38:this.api.seekBy(5,void 0,void 0,72);b=!0;break;case 40:this.api.seekBy(-5,void 0,void 0,71),b=!0}b&&a.preventDefault()}}; g.k.xt=function(a,b){this.updateVideoData(b,"newdata"===a)}; g.k.J6=function(){this.xt("newdata",this.api.getVideoData())}; g.k.updateVideoData=function(a,b){b=void 0===b?!1:b;var c=!!a&&a.Ee();c&&(QT(a)||YYa(this)?this.Ge=!1:this.Ge=a.allowLiveDvr,g.Nu(this.api.getRootNode(),"ytp-enable-live-buffer",!(null==a||!QT(a))));gZa(this,this.api.Mh());if(b){if(c){b=a.clipEnd;this.clipStart=a.clipStart;this.clipEnd=b;nX(this);for(kX(this,this.ma,this.ob);0m&&(c=m,a.position=WG(this.C,m)*iX(this).j),b=this.C.B;YYa(this)&& (b=this.C.B);m=f||g.SG(this.Ge?c-this.C.j:c-b);b=a.position+this.Rf;c-=this.api.Rc();var n;if(null==(n=this.B)||!n.isEnabled)if(this.api.Tj()){if(1=n);d=this.tooltip.scale;l=(isNaN(l)?0:l)-45*d;this.api.L("web_key_moments_markers")?this.Df?(n=$Wa(this.K,1E3*c),n=null!=n?this.K[n].title:""):(n=zW(this.j,1E3*c),n=this.j[n].title):(n=zW(this.j,1E3*c),n=this.j[n].title);n||(l+=16*d);.6===this.tooltip.scale&&(l=n?110:126);d=zW(this.j,1E3*c);this.Ya=$Ya(this,c,d)?d:$Ya(this,c,d+1)?d+1:-1;g.Nu(this.api.getRootNode(),"ytp-progress-bar-snap",-1!==this.Ya&&1=h.visibleTimeRangeStartMillis&&p<=h.visibleTimeRangeEndMillis&&(n=h.label,m=g.SG(h.decorationTimeMillis/1E3),d=!0)}this.Od!==d&&(this.Od=d,this.api.logVisibility(this.kd,this.Od));g.Nu(this.api.getRootNode(),"ytp-progress-bar-decoration",d);d=320*this.tooltip.scale;e=n.length*(this.D?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.N-a.position&&(d=2);this.api.U().Z&& (l-=10);this.G.length&&this.G[0].Ee&&(l-=14*(this.D?2:1),this.Fa||(this.Fa=!0,this.api.logVisibility(this.qa,this.Fa)));var q;if(fX(this)&&((null==(q=this.B)?0:q.isEnabled)||0=.5*a?(this.B.enable(),cX(this.B,this.api.getCurrentTime()),fZa(this,a)):tX(this)}if(g.JG(this.api.Qb(),32)||3===this.api.getPresentingPlayerType()){var b;if(null==(b=this.B)?0:b.isEnabled)this.api.pauseVideo();else{this.api.startSeekCsiAction();if(1=c.visibleTimeRangeStartMillis&&1E3*a<=c.visibleTimeRangeEndMillis&&this.api.logClick(this.kd)}g.Lu(this.element,"ytp-drag");this.He&&!g.JG(this.api.Qb(),2)&&this.api.playVideo()}}}; g.k.O9=function(a,b){a=iX(this);a=mX(this,a);this.api.seekTo(a,!1,void 0,void 0,7);var c;fX(this)&&(null==(c=this.B)?0:c.Ea)&&(cX(this.B,a),this.B.isEnabled||(this.Va=g.me(this.Sf-b-10,0,pX(this)),fZa(this,this.Va)))}; g.k.oh=function(){this.tooltip.FO()}; g.k.HY=function(){this.Fb||(this.updateValue("clipstarticon",uva()),this.updateValue("clipendicon",uva()),g.Ju(this.element,"ytp-clip-hover"))}; g.k.GY=function(){this.Fb||(this.updateValue("clipstarticon",wva()),this.updateValue("clipendicon",vva()),g.Lu(this.element,"ytp-clip-hover"))}; g.k.jK=function(){this.clipStart=0;this.clipEnd=Infinity;nX(this);kX(this,this.ma,this.ob)}; g.k.oca=function(a){a=g.v(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.Ka[c]){var d=g.mf("DIV");b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);this.Ka[c]=b;this.dc[c]=d;g.Hu(d,b.style);aZa(this,c);this.api.U().L("disable_ad_markers_on_content_progress_bar")||this.j[0].C.appendChild(d)}}else eZa(this,b)}; g.k.Laa=function(a){a=g.v(a);for(var b=a.next();!b.done;b=a.next())eZa(this,b.value)}; g.k.tp=function(a){this.B&&(this.B.onExit(null!=a),tX(this))}; g.k.IN=function(a){this.B&&(this.B.play(null!=a),tX(this))}; g.k.ya=function(){gZa(this,!1);g.aG.prototype.ya.call(this)};g.w(uX,g.V);uX.prototype.isActive=function(){return!!this.J.getOption("remote","casting")}; uX.prototype.Ra=function(){var a=!1;this.J.getOptions().includes("remote")&&(a=1=c;g.$F(this,a);this.J.logVisibility(this.element,a)}; vX.prototype.C=function(){if(this.Kb.Cb)this.Kb.Pb();else{var a=g.HV(this.J.zb());a&&!a.loaded&&(a.Dh("tracklist",{includeAsr:!0}).length||a.load());this.J.logClick(this.element);this.Kb.rd(this.element)}}; vX.prototype.updateBadge=function(){var a=this.J.isHdr(),b=this.J.getPresentingPlayerType(),c=2!==b&&3!==b,d=g.oU(this.J),e=c&&!!g.nU(this.J.zb());b=e&&1===d.displayMode;d=e&&2===d.displayMode;c=(e=b||d)||!c?null:this.J.getPlaybackQuality();g.Nu(this.element,"ytp-hdr-quality-badge",a);g.Nu(this.element,"ytp-hd-quality-badge",!a&&("hd1080"===c||"hd1440"===c));g.Nu(this.element,"ytp-4k-quality-badge",!a&&"hd2160"===c);g.Nu(this.element,"ytp-5k-quality-badge",!a&&"hd2880"===c);g.Nu(this.element,"ytp-8k-quality-badge", !a&&"highres"===c);g.Nu(this.element,"ytp-3d-badge-grey",!a&&e&&b);g.Nu(this.element,"ytp-3d-badge",!a&&e&&d)};g.w(wX,DU);wX.prototype.isLoaded=function(){var a=g.NV(this.J.zb());return void 0!==a&&a.loaded}; wX.prototype.Ra=function(){void 0!==g.NV(this.J.zb())&&3!==this.J.getPresentingPlayerType()?this.j||(this.Kb.od(this),this.j=!0):this.j&&(this.Kb.uh(this),this.j=!1);EU(this,this.isLoaded())}; wX.prototype.onSelect=function(a){this.isLoaded();a?this.J.loadModule("annotations_module"):this.J.unloadModule("annotations_module");this.J.oa("annotationvisibility",a)}; wX.prototype.ya=function(){this.j&&this.Kb.uh(this);DU.prototype.ya.call(this)};g.w(g.xX,g.wU);g.k=g.xX.prototype;g.k.open=function(){g.lW(this.Kb,this.B)}; g.k.Hj=function(a){jZa(this);this.options[a].element.setAttribute("aria-checked","true");this.Yd(this.Bk(a));this.C=a}; g.k.OM=function(a,b,c){var d=this;b=new g.wU({I:"div",Ma:["ytp-menuitem"],X:{tabindex:"0",role:"menuitemradio","aria-checked":c?"true":"false"},V:[{I:"div",Ma:["ytp-menuitem-label"],xa:"{{label}}"}]},b,this.Bk(a,!0));b.Ta("click",function(){d.kh(a)}); return b}; g.k.enable=function(a){this.K?a||(this.K=!1,this.Xx(!1)):a&&(this.K=!0,this.Xx(!0))}; g.k.Xx=function(a){a?this.Kb.od(this):this.Kb.uh(this)}; g.k.kh=function(a){this.oa("select",a)}; g.k.Bk=function(a){return a.toString()}; g.k.A3=function(a){a.defaultPrevented||39!==a.keyCode||(this.open(),a.preventDefault())}; g.k.ya=function(){this.K&&this.Kb.uh(this);g.wU.prototype.ya.call(this);for(var a=g.v(Object.keys(this.options)),b=a.next();!b.done;b=a.next())this.options[b.value].dispose()};g.w(zX,g.xX);zX.prototype.Ra=function(){var a=this.J.getAvailableAudioTracks();1(a.deltaX||-a.deltaY)?-this.N:this.N;this.jx(b);a.preventDefault()}; g.k.C3=function(a){a=(a-g.cs(this.C).x)/this.ma*this.range+this.B;this.jx(a)}; g.k.jx=function(a,b){b=void 0===b?"":b;a=g.me(a,this.B,this.D);""===b&&(b=a.toString());this.updateValue("valuenow",a);this.updateValue("valuetext",b);this.qa.style.left=(a-this.B)/this.range*(this.ma-this.Ea)+"px";this.j=a}; g.k.focus=function(){this.Fa.focus()};g.w(CX,BX);CX.prototype.Aa=function(){this.J.setPlaybackRate(this.j,!0)}; CX.prototype.jx=function(a){BX.prototype.jx.call(this,a,qZa(this,a).toString());this.G&&(pZa(this),this.Ka())}; CX.prototype.updateValues=function(){var a=this.J.getPlaybackRate();qZa(this,this.j)!==a&&(this.jx(a),pZa(this))};g.w(rZa,g.aG);rZa.prototype.focus=function(){this.j.focus()};g.w(sZa,hW);g.w(tZa,g.xX);g.k=tZa.prototype;g.k.Bk=function(a){return"1"===a?"\u041e\u0431\u044b\u0447\u043d\u0430\u044f":a.toLocaleString()}; g.k.Ra=function(){var a=this.J.getPresentingPlayerType();this.enable(2!==a&&3!==a);xZa(this)}; g.k.Xx=function(a){g.xX.prototype.Xx.call(this,a);a?(this.N=this.T(this.J,"onPlaybackRateChange",this.onPlaybackRateChange),xZa(this),vZa(this,this.J.getPlaybackRate())):(this.Mc(this.N),this.N=null)}; g.k.onPlaybackRateChange=function(a){var b=this.J.getPlaybackRate();this.G.includes(b)||wZa(this,b);vZa(this,a)}; g.k.kh=function(a){g.xX.prototype.kh.call(this,a);a===this.j?this.J.setPlaybackRate(this.D,!0):this.J.setPlaybackRate(Number(a),!0);this.Kb.wj()};g.w(zZa,g.xX);g.k=zZa.prototype;g.k.Hj=function(a){g.xX.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.Bk=function(a){return this.getOption(a).text||""}; g.k.kh=function(a){g.xX.prototype.kh.call(this,a);this.oa("settingChange",this.N,this.settings[a].option)};g.w(DX,g.iW);DX.prototype.ih=function(a){for(var b=g.v(Object.keys(a)),c=b.next();!c.done;c=b.next()){var d=c.value;if(c=this.Qt[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)))}}}; DX.prototype.gk=function(a,b){this.oa("settingChange",a,b)};g.w(EX,g.xX);EX.prototype.getKey=function(a){return a.languageCode}; EX.prototype.Bk=function(a){return this.languages[a].languageName||""}; EX.prototype.kh=function(a){this.oa("select",a);this.J.logClick(this.element);g.oW(this.Kb)};g.w(CZa,g.xX);g.k=CZa.prototype;g.k.getKey=function(a){return g.jd(a)?"__off__":a.displayName}; g.k.Bk=function(a){return"__off__"===a?"\u0412\u044b\u043a\u043b.":"__translate__"===a?"\u041f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438":"__contribute__"===a?"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044b":"__correction__"===a?"\u041f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432":("__off__"===a?{}:this.tracks[a]).displayName}; g.k.kh=function(a){if("__translate__"===a)this.j.open();else if("__contribute__"===a){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();var b=g.iLa(this.J.U(),this.J.getVideoData());g.cH(b)}else if("__correction__"===a){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();var c=DZa(this);FX(this,c);g.xX.prototype.kh.call(this,this.getKey(c));var d,e;c=null==(b=this.J.getVideoData().getPlayerResponse())?void 0:null==(d=b.captions)?void 0:null==(e=d.playerCaptionsTracklistRenderer)? void 0:e.openTranscriptCommand;this.J.Qa("innertubeCommand",c);this.Kb.wj();this.D&&this.J.logClick(this.D)}else{if("__correction__"===a){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();b=DZa(this);FX(this,b);g.xX.prototype.kh.call(this,this.getKey(b));var f,h;b=null==(c=this.J.getVideoData().getPlayerResponse())?void 0:null==(f=c.captions)?void 0:null==(h=f.playerCaptionsTracklistRenderer)?void 0:h.openTranscriptCommand;this.J.Qa("innertubeCommand",b)}else this.J.logClick(this.element), FX(this,"__off__"===a?{}:this.tracks[a]),g.xX.prototype.kh.call(this,a);this.Kb.wj()}}; g.k.Ra=function(){var a=this.J.getOptions();a=a&&-1!==a.indexOf("captions");var b=this.J.getVideoData(),c=b&&b.Bx,d,e=!(null==(d=this.J.getVideoData())||!g.PT(d));d={};if(a||c){var f;if(a){var h=this.J.getOption("captions","track");d=this.J.getOption("captions","tracklist",{includeAsr:!0});var l=e?[]:this.J.getOption("captions","translationLanguages");this.tracks=g.dc(d,this.getKey,this);e=g.lr(d,this.getKey);var m=DZa(this),n,p;b.L("suggest_caption_correction_menu_item")&&m&&(null==(f=b.getPlayerResponse())? 0:null==(n=f.captions)?0:null==(p=n.playerCaptionsTracklistRenderer)?0:p.openTranscriptCommand)&&e.push("__correction__");if(l.length&&!g.jd(h)){if((f=h.translationLanguage)&&f.languageName){var q=f.languageName;f=l.findIndex(function(r){return r.languageName===q}); zaa(l,f)}AZa(this.j,l);e.push("__translate__")}f=this.getKey(h)}else this.tracks={},e=[],f="__off__";e.unshift("__off__");this.tracks.__off__={};c&&e.unshift("__contribute__");this.tracks[f]||(this.tracks[f]=h,e.push(f));g.yX(this,e);this.Hj(f);h&&h.translationLanguage?this.j.Hj(this.j.getKey(h.translationLanguage)):jZa(this.j);a&&this.G.ih(this.J.getSubtitlesUserSettings());this.countLabel.Yd(d&&d.length?" ("+d.length+")":"");this.oa("size-change");this.J.logVisibility(this.element,!0);this.enable(!0)}else this.enable(!1)}; g.k.E3=function(a){var b=this.J.getOption("captions","track");b=g.qd(b);b.translationLanguage=this.j.languages[a];FX(this,b)}; g.k.gk=function(a,b){if("reset"===a)this.J.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.J.updateSubtitlesUserSettings(c)}BZa(this,!0);this.N.start();this.G.ih(this.J.getSubtitlesUserSettings())}; g.k.s$=function(a){a||g.Eu(this.N)}; g.k.ya=function(){g.Eu(this.N);g.xX.prototype.ya.call(this)}; g.k.open=function(){g.xX.prototype.open.call(this);this.options.__correction__&&!this.D&&(this.D=this.options.__correction__.element,this.J.createClientVe(this.D,this,167341),this.J.logVisibility(this.D,!0))};g.w(EZa,g.nW);g.k=EZa.prototype; g.k.initialize=function(){if(!this.isInitialized){var a=this.J.U();this.isInitialized=!0;this.gR=new lZa(this.J,this);g.L(this,this.gR);var b=new CZa(this.J,this);g.L(this,b);a.C||(b=new wX(this.J,this),g.L(this,b));a.enableSpeedOptions&&(b=new tZa(this.J,this),g.L(this,b));(g.YR(a)||a.N)&&(a.B||a.tb)&&(b=new kZa(this.J,this),g.L(this,b));a.Ge&&!a.L("web_player_move_autonav_toggle")&&(a=new AX(this.J,this),g.L(this,a));a=new zX(this.J,this);g.L(this,a);this.J.oa("settingsMenuInitialized");iZa(this.settingsButton, this.Wf.wp())}}; g.k.od=function(a){this.initialize();this.Wf.od(a);iZa(this.settingsButton,this.Wf.wp())}; g.k.uh=function(a){this.Cb&&1>=this.Wf.wp()&&this.hide();this.Wf.uh(a);iZa(this.settingsButton,this.Wf.wp())}; g.k.rd=function(a){this.initialize();0=b;g.$F(this,c);this.J.logVisibility(this.element,c);a? this.updateValue("pressed",this.isEnabled()):this.updateValue("pressed",!1)};g.w(g.IX,g.V);g.k=g.IX.prototype; g.k.Gc=function(){var a=this.api.kb().getPlayerSize().width,b=this.N;this.api.U().Z&&(b=400);b=a>=b&&(!KX(this)||!g.JG(this.api.Qb(),64));g.$F(this,b);g.Nu(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.api.getProgressState();if(b){b=this.api.getPresentingPlayerType();var c=this.api.getCurrentTime(b,!1);this.B&&(c-=a.airingStart);JX(this)&&(c-=this.Fb.startTimeMs/1E3);c=g.SG(c);this.C!==c&&(this.updateValue("currenttime",c),this.C=c);b=JX(this)?g.SG((this.Fb.endTimeMs-this.Fb.startTimeMs)/ 1E3):g.SG(this.api.getDuration(b,!1));this.D!==b&&(this.updateValue("duration",b),this.D=b)}a=a.isAtLiveHead;!KX(this)||this.K===a&&this.G===this.isPremiere||(this.K=a,this.G=this.isPremiere,this.Gc(),b=this.liveBadge.element,b.disabled=a,this.liveBadge.Yd(this.isPremiere?"\u041f\u0440\u0435\u043c\u044c\u0435\u0440\u0430":"\u0412 \u044d\u0444\u0438\u0440\u0435"),a?this.j&&(this.j(),this.j=null,b.removeAttribute("title")):(b.title="\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043f\u0440\u044f\u043c\u043e\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438", this.j=g.cU(this.tooltip,this.liveBadge.element)));a=this.api.getLoopRange();b=this.Fb!==a;this.Fb=a;b&&HX(this)}; g.k.onLoopRangeChange=function(a){var b=this.Fb!==a;this.Fb=a;b&&(this.Gc(),HX(this))}; g.k.V$=function(){this.api.setLoopRange(null)}; g.k.onVideoDataChange=function(a,b,c){this.updateVideoData((this.api.U().L("enable_topsoil_wta_for_halftime")||this.api.U().L("enable_topsoil_wta_for_halftime_live_infra"))&&2===c?this.api.getVideoData(1):b);this.Gc();HX(this)}; g.k.updateVideoData=function(a){this.aE=a.isLivePlayback&&!a.ob;this.B=QT(a);this.isPremiere=a.isPremiere;g.Nu(this.element,"ytp-live",KX(this))}; g.k.onClick=function(a){a.target===this.liveBadge.element&&(this.api.seekTo(Infinity,void 0,void 0,void 0,33),this.api.playVideo())}; g.k.ya=function(){this.j&&this.j();g.V.prototype.ya.call(this)};g.w(IZa,g.V);g.k=IZa.prototype;g.k.xr=function(){var a=this.sb.Xf();this.C!==a&&(this.C=a,HZa(this,this.api.getVolume(),this.api.isMuted()))}; g.k.dU=function(a){g.$F(this,350<=a.width)}; g.k.H3=function(a){if(!a.defaultPrevented){var b=a.keyCode,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.me(c,0,100),0===c?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(c)),a.preventDefault())}}; g.k.F3=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.me(b/10,-10,10));a.preventDefault()}; g.k.x$=function(){LX(this,this.j,!0,this.B,this.sb.Wj());this.Y=this.volume;this.api.isMuted()&&this.api.unMute()}; g.k.G3=function(a){var b=this.C?78:52,c=this.C?18:12;a-=g.cs(this.N).x;this.api.setVolume(100*g.me((a-c/2)/(b-c),0,1))}; g.k.w$=function(){LX(this,this.j,!1,this.B,this.sb.Wj());0===this.volume&&(this.api.mute(),this.api.setVolume(this.Y))}; g.k.onVolumeChange=function(a){HZa(this,a.volume,a.muted)}; g.k.yV=function(){LX(this,this.j,this.isDragging,this.B,this.sb.Wj())}; g.k.ya=function(){g.V.prototype.ya.call(this);g.Lu(this.K,"ytp-volume-slider-active")};g.w(g.MX,g.V); g.MX.prototype.onVideoDataChange=function(){var a=this.api.getVideoData(1).Ld,b=this.api.U();this.visible=!!this.api.getVideoData().videoId&&!(a&&b.ma);g.$F(this,this.visible);this.api.logVisibility(this.element,this.visible&&this.Z);this.visible&&(a=this.api.getVideoUrl(!0,!1,!1,!0),this.updateValue("url",a));b.C&&(this.j&&(this.Mc(this.j),this.j=null),this.element.removeAttribute("href"),this.element.removeAttribute("title"),this.element.removeAttribute("aria-label"),g.Ju(this.element,"no-link")); this.Ib()}; g.MX.prototype.onClick=function(a){this.api.L("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=this.api.U(),c=this.api.getVideoUrl(!g.TG(a),!1,!0,!0);if(g.YR(b)||g.fS(b)){var d={};g.YR(b)&&g.ZT(this.api,"addEmbedsConversionTrackingParams",[d]);c=g.tm(c,g.wP(d,"emb_logo"))}g.GU(c,this.api,a);this.api.L("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)}; g.MX.prototype.Ib=function(){var a={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},V:[{I:"path",Bc:!0,S:"ytp-svg-fill",X:{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.fS(this.api.U())){var b=this.Ga("ytp-youtube-music-button"),c=300>this.api.getPlayerSize().width;a=c?{I:"svg",X:{fill:"none",height:"24",width:"24"},V:[{I:"circle",X:{cx:"12",cy:"12",fill:"red",r:"12"}},{I:"ellipse",X:{cx:"12.18",cy:"12",fill:"red",rx:"7.308",ry:"7.2",stroke:"#fff","stroke-width":"1.2"}},{I:"path",X:{d:"M9.74 15.54l6.32-3.54-6.32-3.54v7.09z",fill:"#fff"}}]}:{I:"svg",X:{viewBox:"0 0 80 24"},V:[{I:"ellipse",X:{cx:"12.18",cy:"12",fill:"red",rx:"12.18",ry:"12"}},{I:"ellipse",X:{cx:"12.18", cy:"12",fill:"red",rx:"7.308",ry:"7.2",stroke:"#fff","stroke-width":"1.2"}},{I:"path",X:{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.Nu(b,"ytp-youtube-music-logo-icon-only",c)}else g.mU(this.api)&&(a={I:"svg",X:{fill:"none",height:"100%",viewBox:"-10 -8 67 36",width:"100%"},V:[{I:"path",X:{d:"m.73 13.78 2.57-.05c-.05 2.31.36 3.04 1.34 3.04.95 0 1.34-.61 1.34-1.88 0-1.88-.97-2.83-2.37-4.04C1.47 8.99.55 7.96.55 5.23c0-2.60 1.15-4.14 4.17-4.14 2.91 0 4.12 1.70 3.71 5.20l-2.57.15c.05-2.39-.20-3.22-1.26-3.22-.97 0-1.31.64-1.31 1.82 0 1.77.74 2.31 2.34 3.84 1.98 1.88 3.09 2.98 3.09 5.54 0 3.24-1.26 4.48-4.20 4.48-3.06.02-4.30-1.62-3.78-5.12ZM9.67.74h2.83V4.58c0 1.15-.05 1.95-.15 2.93h.05c.54-1.15 1.44-1.75 2.60-1.75 1.75 0 2.5 1.23 2.5 3.35v9.53h-2.83V9.32c0-1.03-.25-1.54-.90-1.54-.48 0-.92.28-1.23.79V18.65H9.70V.74h-.02ZM18.67 13.27v-1.82c0-4.07 1.18-5.64 3.99-5.64 2.80 0 3.86 1.62 3.86 5.64v1.82c0 3.96-1.00 5.59-3.94 5.59-2.98 0-3.91-1.67-3.91-5.59Zm5 1.03v-3.94c0-1.72-.25-2.60-1.08-2.60-.79 0-1.05.87-1.05 2.60v3.94c0 1.80.25 2.62 1.05 2.62.82 0 1.08-.82 1.08-2.62ZM27.66 6.03h2.19l.25 2.73h.10c.28-2.01 1.21-3.01 2.39-3.01.15 0 .30.02.51.05l-.15 3.27c-1.18-.25-2.13-.05-2.57.72V18.63h-2.73V6.03ZM34.80 15.67V8.27h-1.03V6.05h1.15l.36-3.73h2.11V6.05h1.93v2.21h-1.80v6.98c0 1.18.15 1.44.61 1.44.41 0 .77-.05 1.10-.18l.36 1.80c-.85.41-1.93.54-2.60.54-1.82-.02-2.21-.97-2.21-3.19ZM40.26 14.81l2.39-.05c-.12 1.39.36 2.19 1.21 2.19.72 0 1.13-.46 1.13-1.10 0-.87-.79-1.46-2.16-2.5-1.62-1.23-2.60-2.16-2.60-4.20 0-2.24 1.18-3.32 3.63-3.32 2.60 0 3.63 1.28 3.42 4.35l-2.39.10c-.02-1.90-.28-2.44-1.08-2.44-.77 0-1.10.38-1.10 1.08 0 .97.56 1.44 1.49 2.11 2.21 1.64 3.24 2.47 3.24 4.53 0 2.26-1.28 3.40-3.73 3.40-2.78-.02-3.81-1.54-3.45-4.14Z", fill:"#fff"}}]});a.X=Object.assign({},a.X,{"aria-hidden":"true"});this.updateValue("logoSvg",a)}; g.MX.prototype.ac=function(a){g.V.prototype.ac.call(this,a);this.api.logVisibility(this.element,this.visible&&a)};g.w(KZa,g.IK);g.k=KZa.prototype;g.k.We=function(){g.JG(this.J.Qb(),2)||(this.Qc.Gc(),this.Ej.Gc())}; g.k.On=function(){this.YL();this.jf.B?this.We():this.Qc.oh()}; g.k.Ew=function(){this.We();this.xf.start()}; g.k.YL=function(){var a=!this.J.U().B&&300>g.hZa(this.Qc)&&this.J.Qb().isPlaying()&&!!window.requestAnimationFrame,b=!a;this.jf.B||(a=b=!1);b?this.Z||(this.Z=this.T(this.J,"progresssync",this.We)):this.Z&&(this.Mc(this.Z),this.Z=null);a?this.xf.isActive()||this.xf.start():this.xf.stop()}; g.k.Ib=function(){var a=this.sb.Xf(),b=this.J.kb().getPlayerSize(),c=MZa(this),d=Math.max(b.width-2*c,100);if(this.Ya!==b.width||this.Va!==a){this.Ya=b.width;this.Va=a;var e=NZa(this);this.B.element.style.width=e+"px";this.B.element.style.left=c+"px";g.sX(this.Qc,c,e,a);this.sb.qc().ZL=e}c=this.C;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-OZa(this))));c.maxWidth=Math.min(570*(a?1.5:1),d);c.maxHeight=e;c.HB();this.YL();this.J.U().L("html5_player_dynamic_bottom_gradient")&&g.RW(this.Za,b.height)}; g.k.onVideoDataChange=function(){var a=this.J.getVideoData();this.Ea.style.background=a.Ld?a.kp:"";this.ma&&IXa(this.ma,a.showSeekingControls);this.Y&&IXa(this.Y,a.showSeekingControls)}; g.k.Ab=function(){return this.B.element};g.w(PZa,vW);g.k=PZa.prototype;g.k.qJ=function(a){a.target!==this.dismissButton.element&&(this.onClickCommand&&this.J.Qa("innertubeCommand",this.onClickCommand),this.xE())}; g.k.xE=function(){this.enabled=!1;this.N.hide()}; g.k.onVideoDataChange=function(a,b){"dataloaded"===a&&QZa(this);a=[];var c,d,e,f;if(b=null==(f=g.U(null==(c=b.getWatchNextResponse())?void 0:null==(d=c.playerOverlays)?void 0:null==(e=d.playerOverlayRenderer)?void 0:e.suggestedActionsRenderer,Vhb))?void 0:f.suggestedActions)for(c=g.v(b),d=c.next();!d.done;d=c.next())(d=g.U(d.value,Whb))&&g.U(d.trigger,Uhb)&&a.push(d);if(0!==a.length){c=[];a=g.v(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=g.U(d.trigger,Uhb))f=(f=d.title)?g.dG(f):"View Chapters", b=e.timeRangeStartMillis,e=e.timeRangeEndMillis,null!=b&&null!=e&&d.tapCommand&&(c.push(new g.XJ(b,e,{priority:9,namespace:"suggested_action_button_visible",id:f})),this.suggestedActions[f]=d.tapCommand);this.J.tf(c)}}; g.k.xB=function(){return this.enabled}; g.k.vg=function(){this.enabled?this.Fa.start():tW(this);this.Fm()}; g.k.ya=function(){QZa(this);vW.prototype.ya.call(this)};var A3={},NX=(A3.CHANNEL_NAME="ytp-title-channel-name",A3.FULLERSCREEN_LINK="ytp-title-fullerscreen-link",A3.LINK="ytp-title-link",A3.SESSIONLINK="yt-uix-sessionlink",A3.SUBTEXT="ytp-title-subtext",A3.TEXT="ytp-title-text",A3.TITLE="ytp-title",A3);g.w(OX,g.V);OX.prototype.onClick=function(a){this.api.logClick(this.element);var b=this.api.U(),c=this.api.getVideoUrl(!g.TG(a),!1,!0);g.YR(b)&&(b={},g.ZT(this.api,"addEmbedsConversionTrackingParams",[b]),c=g.tm(c,g.wP(b,"emb_title")));g.GU(c,this.api,a)}; OX.prototype.Ra=function(){var a=this.api.getVideoData(),b=this.api.U();this.updateValue("title",a.title);var c={I:"a",S:NX.CHANNEL_NAME,X:{href:"{{channelLink}}",target:"_blank"},xa:"{{channelName}}"};this.api.U().C&&(c={I:"span",S:NX.CHANNEL_NAME,xa:"{{channelName}}",X:{tabIndex:"{{channelSubtextFocusable}}"}});this.updateValue("subtextElement",c);RZa(this);2===this.api.getPresentingPlayerType()&&(c=this.api.getVideoData(),c.videoId&&c.isListed&&c.author&&c.jc&&c.profilePicture?(this.updateValue("channelLink", c.jc),this.updateValue("channelName",c.author),this.updateValue("channelTitleFocusable","0")):RZa(this));c=b.externalFullscreen||!this.api.isFullscreen()&&b.Yk;g.Nu(this.link,NX.FULLERSCREEN_LINK,c);b.Aa||!a.videoId||c||a.Ld&&b.ma||b.C?this.j&&(this.updateValue("url",null),this.Mc(this.j),this.j=null):(this.updateValue("url",this.api.getVideoUrl(!0)),this.j||(this.j=this.T(this.link,"click",this.onClick)));b.C&&(this.element.classList.add("ytp-no-link"),this.updateValue("channelName",g.YR(b)?a.expandedTitle: a.author),this.updateValue("channelTitleFocusable","0"),this.updateValue("channelSubtextFocusable","0"))};g.w(g.PX,g.V);g.k=g.PX.prototype;g.k.AK=function(a){if(null!=this.type)if(a)switch(this.type){case 3:case 2:TZa(this);this.K.show();break;default:this.K.show()}else this.K.hide();this.Y=a}; g.k.KK=function(a,b,c,d,e,f,h,l){if(!this.Na||this.env.Z){3===this.type&&this.oh();1!==this.type&&(g.Hu(this.element,"ytp-tooltip ytp-bottom"),(FXa(this.api)||this.api.isInline())&&g.Ju(this.element,"ytp-rounded-tooltip"),this.type=1,this.Y&&this.K.show(),this.B&&this.B.dispose(),(this.B=this.api.Tj())&&this.B.subscribe("l",this.QY,this));if(l){var m=g.fs(this.bg).height||this.Aa;this.Sa.style.bottom=m+2+"px"}this.update({text:c,title:null!=f?f:"",eduText:null!=l?l:""});g.Nu(this.text,"ytp-tooltip-text-no-title", 1===this.type&&!f);this.api.isInline()&&g.Ju(this.text,"ytp-modern-tooltip-text");g.Nu(this.element,"ytp-text-detail",!!d);c=-1;this.B&&(c=US(this.B,this.N*this.scale),this.env.L("web_l3_storyboard")&&4===this.B.levels.length&&(c=this.B.levels.length-1),c=IQa(this.B,c,b));VZa(this,c);if(h)switch(b=g.fs(this.element).width,h){case 1:this.title.style.right="0";this.title.style.textAlign="left";break;case 2:this.title.style.right=b+"px";this.title.style.textAlign="right";break;case 3:this.title.style.right= b/2+"px",this.title.style.textAlign="center"}UZa(this,!!d,a,e)}}; g.k.FO=function(){1===this.type&&this.oh()}; g.k.HF=function(a,b){if(this.type)if(3===this.type)this.oh();else return;SZa(this,a,3,b)}; g.k.Eh=function(){this.j&&!this.ma&&this.j.hasAttribute("title")&&(this.C=this.j.getAttribute("title")||"",this.j.removeAttribute("title"),this.Y&&TZa(this))}; g.k.QY=function(a,b){a<=this.D&&this.D<=b&&(a=this.D,this.D=NaN,VZa(this,a))}; g.k.D7=function(){GQa(this.B,this.D,this.N*this.scale)}; g.k.oh=function(){switch(this.type){case 2:var a=this.j;a.removeEventListener("mouseout",this.qa);a.addEventListener("mouseover",this.G);a.removeEventListener("blur",this.qa);a.addEventListener("focus",this.G);WZa(this);break;case 3:WZa(this);break;case 1:this.B&&(this.B.unsubscribe("l",this.QY,this),this.B=null),this.api.removeEventListener("videoready",this.Ea),this.Fa.stop()}this.type=null;this.Y&&this.K.hide()}; g.k.ej=function(){if(this.j)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.On=function(a){a&&(this.tooltip.ej(this.wh.element),this.Jg&&this.tooltip.ej(this.Jg.Ab()));this.AI&&(g.Nu(this.contextMenu.element,"ytp-autohide",a),g.Nu(this.contextMenu.element,"ytp-autohide-active",!0));g.YV.prototype.On.call(this,a)}; g.k.VP=function(){g.YV.prototype.VP.call(this);this.AI&&(g.Nu(this.contextMenu.element,"ytp-autohide-active",!1),this.AI&&(this.contextMenu.hide(),this.Qh&&this.Qh.hide()))}; g.k.Ok=function(a,b){var c=this.api.kb().getPlayerSize();c=new g.Sr(0,0,c.width,c.height);if(a||this.jf.B&&!this.ou()){if(this.api.U().Ml||b)a=this.Xf()?this.cN:this.bN,c.top+=a,c.height-=a;this.Jg&&(c.height-=OZa(this.Jg))}return c}; g.k.xr=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435"),this.api.U().externalFullscreen||(b.parentElement.insertBefore(this.nD.element,b),b.parentElement.insertBefore(this.mD.element,b.nextSibling))):g.AF(Error("Player not in DOM.")):(b.setAttribute("aria-label", "\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube"),this.nD.detach(),this.mD.detach());this.Ib();this.kq()}; g.k.Xf=function(){var a=this.api.U();return this.api.isFullscreen()&&!a.Z||!1}; g.k.showControls=function(a){this.iH=!a;this.zk()}; g.k.Ib=function(){var a=this.Xf();this.tooltip.scale=a?1.5:1;this.contextMenu&&g.Nu(this.contextMenu.element,"ytp-big-mode",a);this.zk();this.api.L("web_player_hide_overflow_button_if_empty_menu")||c_a(this);this.kq();var b=g.mU(this.api);b&&a?(a=(this.api.kb().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.Vr(this.wh.element,"padding-left",a+"px"),g.Vr(this.wh.element,"padding-right",a+"px")):b&&(g.Vr(this.wh.element,"padding-left",""),g.Vr(this.wh.element,"padding-right",""));g.YV.prototype.Ib.call(this)}; g.k.cO=function(){if(b_a(this)&&!g.lU(this.api))return!1;var a=this.api.getVideoData();return!g.YR(this.api.U())||2===this.api.getPresentingPlayerType()||!this.hg||((a=this.hg||a.hg)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&g.U(a.videoDetails,IRa)||null):a=null:a=null,a&&a.collapsedRenderer&&a.expandedRenderer)?g.YV.prototype.cO.call(this):!1}; g.k.kq=function(){g.YV.prototype.kq.call(this);this.api.logVisibility(this.title.element,!!this.Dn);this.UA&&this.UA.ac(!!this.Dn);this.channelAvatar.ac(!!this.Dn);this.overflowButton&&this.overflowButton.ac(this.Jf()&&!!this.Dn);this.shareButton&&this.shareButton.ac(!this.Jf()&&!!this.Dn);this.Bo&&this.Bo.ac(!this.Jf()&&!!this.Dn);this.searchButton&&this.searchButton.ac(!this.Jf()&&!!this.Dn);this.Li&&this.Li.ac(!this.Jf()&&!!this.Dn);if(!this.Dn){this.tooltip.ej(this.wh.element);for(var a=0;a=b)return d.return();(c=a.j.get(0))&&i_a(a,c);g.Aa(d)})}; var f_a={YYa:0,y0a:1,m_a:2,z0a:3,xsa:4,0:"PRIMARY",1:"SECONDARY",2:"RANDOM",3:"SENSITIVE_CONTENT",4:"C_YOUTUBE"};g.WX.prototype.info=function(){}; g.WX.prototype.debug=function(){}; var q_a=new Map;XX.prototype.vk=function(){if(!this.Mf.length)return[];var a=this.Mf;this.Mf=[];this.C=g.xb(a).info;return a}; XX.prototype.TE=function(){return this.Mf};g.w(ZX,g.J);g.k=ZX.prototype;g.k.Hq=function(){return Array.from(this.qd.keys())}; g.k.nu=function(a){a=this.qd.get(a);var b=a.Mf;a.Oy+=b.getLength();a.Mf=new lO;return b}; g.k.eh=function(a){return this.qd.get(a).eh}; g.k.gi=function(a){return this.qd.get(a).gi}; g.k.KA=function(a,b,c){this.qd.get(a)||y_a(this,a,b);b=this.qd.get(a);this.manifest?(a=A_a(this,a,c),z_a(this,c.Gp,b,a)):(c.Fn?b.rX=c.Hr:b.dJ.push(c),b.d_.push(c))}; g.k.un=function(a){var b;return(null==(b=this.qd.get(a))?void 0:b.eb)||[]}; g.k.xA=function(){for(var a=g.v(this.qd.values()),b=a.next();!b.done;b=a.next())b=b.value,b.bR&&(b.We&&b.We(),b.bR=!1)}; g.k.Rp=function(a,b){this.logger.debug(function(){return"[onMediaEnd] formatId: "+b}); var c=this.qd.get(b);C_a&&(c.yw.get(a).DI=!0);c&&!c.gi&&(c.gi=!0)}; g.k.vk=function(a){var b;if(null==(b=this.Oh)?0:b.Ed){var c=this.qd.get(a);if(c){b=g.v(c.yw);for(var d=b.next();!d.done;d=b.next()){var e=g.v(d.value);d=e.next().value;e=e.next().value;var f=c.LK.get(d);if(JQ(f[0])){if(!e.DI)continue;var h=e.data;h.getLength();var l=0,m=[];f=g.v(f);for(var n=f.next();!n.done;n=f.next()){n=n.value;var p=n.B,q=nO(h,l,p);l+=p;m.push(new aR(n,q))}c.qE.push.apply(c.qE,g.ra(m))}else if(!f[0].range||0e?this.Ig("next_player_future"):(this.K=d,this.currentVideoDuration=d-c,this.C=BBa(a,c,d,!0),this.D=BBa(a,e,h,!1),a=this.B.getVideoData().clientPlaybackNonce,this.j.va("gaplessPrep",{cpn:a}),Q_a(this.j,this.C),this.j.setMediaElement(M_a(b, c,d,!this.j.getVideoData().isAd())),gY(this,2),T_a(this))))}else this.Ig("no-elem")}; g.k.Yx=function(a){var b=a===S_a(this).OR,c=b?this.C.j:this.C.B;b=b?this.D.j:this.D.B;if(c.isActive&&!b.isActive){var d=this.K;hL(a.uf(),d-.01)&&(gY(this,4),c.isActive=!1,c.gG=c.gG||c.isActive,(1===this.G?this.j:this.B).va("sbh",{}),b.isActive=!0,b.gG=b.gG||b.isActive,0!==this.G&&(this.j.getVideoData().AU=!0));a=this.D.B;this.D.j.isActive&&a.isActive&&(gY(this,5),0!==this.G&&(this.j.va("sbs",{}),this.Rd.U().L("html5_gapless_use_loop_range")||this.Rd.setLoopRange({startTimeMs:0,endTimeMs:1E3*this.currentVideoDuration- g.rJ(this.Rd.U().experiments,"html5_gapless_loop_seek_offset_in_milli")})))}}; g.k.VY=function(){this.Yq()&&this.Ig("player-reload-after-handoff")}; g.k.Ig=function(a,b){b=void 0===b?{}:b;if(!this.isDisposed()&&6!==this.status.status){var c=4<=this.status.status&&"player-reload-after-handoff"!==a;this.status={status:Infinity,error:a};if(this.j&&this.B){var d=this.B.getVideoData().clientPlaybackNonce;this.j.me(new FK("dai.transitionfailure",Object.assign(b,{cpn:d,transitionTimeMs:this.Dm,msg:a})));b=this.j;b.videoData.Y=!1;c&&W_(b);b.Ba&&J_(b.Ba)}this.hq.reject(a);this.dispose()}}; g.k.Yq=function(){return 4<=this.status.status&&6>this.status.status}; g.k.ya=function(){R_a(this);this.j.unsubscribe("newelementrequired",this.VY,this);if(this.C){var a=this.C.B;this.C.j.Md.unsubscribe("updateend",this.Yx,this);a.Md.unsubscribe("updateend",this.Yx,this)}g.J.prototype.ya.call(this)}; g.k.Td=function(a){g.LG(a,128)&&this.Ig("player-error-event")};g.w(iY,g.J);iY.prototype.clearQueue=function(){this.D&&this.D.reject("Queue cleared");jY(this)}; iY.prototype.gw=function(){return!this.j}; iY.prototype.Yq=function(){var a;return(null==(a=this.C)?void 0:a.Yq())||!1}; iY.prototype.ya=function(){jY(this);g.J.prototype.ya.call(this)};g.w(c0a,g.TF);g.k=c0a.prototype;g.k.getVisibilityState=function(a,b,c,d,e,f){return a?4:Z_a()?3:b?2:c?1:d?5:e?7:f?8:0}; g.k.xm=function(a){this.fullscreen!==a&&(this.fullscreen=a,this.vg())}; g.k.setMinimized=function(a){this.B!==a&&(this.B=a,this.vg())}; g.k.setInline=function(a){this.inline!==a&&(this.inline=a,this.vg())}; g.k.tB=function(a){this.pictureInPicture!==a&&(this.pictureInPicture=a,this.vg())}; g.k.Kh=function(){return this.j}; g.k.isFullscreen=function(){return 0!==this.fullscreen}; g.k.rz=function(){return this.fullscreen}; g.k.pg=function(){return this.B}; g.k.isInline=function(){return this.inline}; g.k.isBackground=function(){return Z_a()}; g.k.Ft=function(){return this.pictureInPicture}; g.k.Oz=function(){return!1}; g.k.vg=function(){this.oa("visibilitychange");var a=this.getVisibilityState(this.Kh(),this.isFullscreen(),this.pg(),this.isInline(),this.Ft(),this.Oz());a!==this.D&&this.oa("visibilitystatechange");this.D=a}; g.k.ya=function(){b0a(this.C);g.TF.prototype.ya.call(this)};g.w(nY,g.J);nY.prototype.Hh=function(){return this.Ec||0}; nY.prototype.Dv=function(){return this.C||0}; nY.prototype.Lf=function(){for(;this.segments.length;){var a=void 0;null==(a=this.segments.pop())||a.dispose()}this.B.clear()}; nY.prototype.ya=function(){this.Lf()}; g.w(f0a,g.J);g.k=f0a.prototype;g.k.Hh=function(){return this.Ec}; g.k.Dv=function(){return this.B}; g.k.getType=function(){return this.type}; g.k.getVideoData=function(){return this.videoData}; g.k.Zl=function(){return this.videoData.clientPlaybackNonce}; g.k.EF=function(a){DRa(a);this.videoData=a};g.w(g.qY,g.J);g.k=g.qY.prototype; g.k.onCueRangeEnter=function(a){this.Va.push(a);var b=a.getId(),c=""===b;this.tb.add(a.B);var d=this.B.get(b);if(!c&&(this.ra.va("sdai",{enterAdCueRange:1}),MT(this.ra.getVideoData())&&(null==d?0:d.bP)))return;if(this.gb&&!this.j)this.gb=!1,!c&&d&&(c=this.ra.getCurrentTime(),vY(this,{Qe:a,isAd:!0,Vq:!0,Ah:c,adCpn:b},{isAd:!1,Vq:!1,Ah:c}),this.api.oa("serverstitchedvideochange",d.Yc,d.Bs),this.ra.va("sdai",tY("midab",d)),this.D=1),this.Z=!1;else if(this.j){if(this.j.Vq)this.ra.va("sdai",{a_pair_of_same_transition_occurs_enter:1, acpn:this.j.adCpn,transitionTime:this.j.Ah,cpn:b,currentTime:this.ra.getCurrentTime()}),d=this.ra.getCurrentTime(),a={Qe:a,isAd:!c,Vq:!0,Ah:d,adCpn:b},b={Qe:this.j.Qe,isAd:this.j.isAd,Vq:!1,Ah:d,adCpn:this.j.adCpn},this.j.Qe&&this.tb.delete(this.j.Qe.B),vY(this,a,b);else{if(this.j.Qe===a){this.ra.va("sdai",{same_cue_range_pair_enter:1,acpn:this.j.adCpn,transitionTime:this.j.Ah,cpn:b,currentTime:this.ra.getCurrentTime(),cueRangeStartTime:a.start,cueRangeEndTime:a.end});this.j=void 0;return}if(this.j.adCpn=== b){b&&this.ra.va("sdai",{dchtsc:b});this.j=void 0;return}a={Qe:a,isAd:!c,Vq:!0,Ah:this.ra.getCurrentTime(),adCpn:b};vY(this,a,this.j)}this.j=void 0;this.Z=!1}else this.j={Qe:a,isAd:!c,Vq:!0,Ah:this.ra.getCurrentTime(),adCpn:b}}; g.k.onCueRangeExit=function(a){var b=a.getId(),c=""===b,d=this.B.get(b);if(MT(this.ra.getVideoData())&&!c&&d){if(d.bP)return;if(this.ra.TM()){var e=d.Ec,f=e+d.durationMs;d.bP=!0;this.N.clear();this.ra.lR(e/1E3,f/1E3)}else this.ra.va("lifa",{remove:0})}if(this.tb.has(a.B))if(this.tb.delete(a.B),this.Va=this.Va.filter(function(h){return h!==a}),this.gb&&(this.Z=this.gb=!1,this.ra.va("sdai",{cref:1})),this.j){if(this.j.Vq){if(this.j.Qe===a){this.ra.va("sdai",{same_cue_range_pair_exit:1, acpn:this.j.adCpn,transitionTime:this.j.Ah,cpn:b,currentTime:this.ra.getCurrentTime(),cueRangeStartTime:a.start,cueRangeEndTime:a.end});this.j=void 0;return}if(this.j.adCpn===b){b&&this.ra.va("sdai",{dchtsc:b});this.j=void 0;return}b={Qe:a,isAd:!c,Vq:!1,Ah:this.ra.getCurrentTime(),adCpn:b};vY(this,this.j,b)}else this.ra.va("sdai",{a_pair_of_same_transition_occurs_exit:1,pendingCpn:this.j.adCpn,transitionTime:this.j.Ah,upcomingCpn:b,contentCpn:this.ra.getVideoData().clientPlaybackNonce,currentTime:this.ra.getCurrentTime()}); this.j=void 0;this.Z=!1}else this.j={Qe:a,isAd:!c,Vq:!1,Ah:this.ra.getCurrentTime(),adCpn:b};else this.ra.va("sdai",{ignore_single_exit:1})}; g.k.seekTo=function(a,b,c,d){a=void 0===a?0:a;b=void 0===b?{}:b;d=void 0===d?null:d;this.Z=!0;if(void 0===c?0:c)i0a(this,a,b);else{c=this.api.Bd();var e=c===this.rb?this.Db:null;yY(this,!1);this.Hc=a;this.jc=b;null!=d&&this.dc.start(d);c&&(this.Db=e||c.getPlayerState(),bab(c),this.rb=c)}}; g.k.ya=function(){yY(this,!1);u0a(this);v0a(this);g.J.prototype.ya.call(this)}; g.k.NR=function(a){this.kd=a;this.ra.va("sdai",{swebm:a})}; g.k.Qk=function(a,b,c){if(c&&b){var d=this.N.get(a);if(d){d.locations||(d.locations=new Map);var e=Number(b.split(";")[0]);c=new g.QP(c);this.Ya&&this.ra.va("sdai",{hdlredir:1,itag:b,seg:a,hostport:SP(c)});d.locations.set(e,c)}}}; g.k.qt=function(a,b,c,d,e,f){var h=3===d;e=x0a(this,a,b,d,c,f);if(!e)return BY(this,b,h),e=g.w0a(this,b)?"undec":"ncp",this.ra.va("sdai",{gvprp:e,mt:a,seg:b,tt:d,itag:c,ce:f}),null;h||this.N.set(b,e);a=e.Qm;var l;d=(null==(l=AY(this,b-1,d))?void 0:l.Ns)||"";""===d&&this.ra.va("sdai",{eds:1});l=JR(e.ssdaiAdsConfig||"")||void 0;c=this.ra.getVideoData();var m;f=(null==(m=c.B)?void 0:m.containerType)||0;m=c.RU[f];b=e.nx&&b>=e.nx?e.nx:void 0;return{oB:{wM:a?B0a(this,a):[],E4:l,Ns:d,v_:b,vca:Ke(m.split(";")[0]), wca:m.split(";")[1]||""}}}; g.k.pz=function(a,b,c,d,e,f){var h=Number(c.split(";")[0]);e=3===d;a=x0a(this,a,b,d,c,f);this.Ya&&this.ra.va("sdai",{gdu:1,seg:b,itag:h,pb:""+!!a});if(!a)return BY(this,b,e),null;a.locations||(a.locations=new Map);if(!a.locations.has(h)){var l,m;f=null==(l=a.videoData.getPlayerResponse())?void 0:null==(m=l.streamingData)?void 0:m.adaptiveFormats;if(!f)return this.ra.va("sdai",{gdu:"noadpfmts",seg:b,itag:h}),BY(this,b,e),null;l=f.find(function(u){return u.itag===h}); if(!l||!l.url){var n=a.videoData.videoId;a=[];d=g.v(f);for(var p=d.next();!p.done;p=d.next())a.push(p.value.itag);this.ra.va("sdai",{gdu:"nofmt",seg:b,vid:n,itag:h,fullitag:c,itags:a.join(",")});BY(this,b,e);return null}a.locations.set(h,new g.QP(l.url,!0))}l=a.locations.get(h);if(!l)return this.ra.va("sdai",{gdu:"nourl",seg:b,itag:h}),BY(this,b,e),null;l=new CQ(l);this.kd&&(l.get("dvc")?this.ra.va("sdai",{dvc:l.get("dvc")||""}):l.set("dvc","webm"));var q;(m=null==(q=AY(this,b-1,d))?void 0:q.Ns)&& l.set("daistate",m);a.nx&&b>=a.nx&&l.set("skipsq",""+a.nx);(m=this.ra.getVideoData().clientPlaybackNonce)&&l.set("cpn",m);q=[];a.Qm&&(q=B0a(this,a.Qm),0d?(this.vu(a,c,!0),this.ra.seekTo(d),!0):!1}; g.k.vu=function(a,b,c){c=void 0===c?!1:c;if(a=zY(this,a,b)){var d=a.Qm;if(d){this.ra.va("sdai",{skipadonsq:b,sts:c,abid:d,acpn:a.cpn,avid:a.videoData.videoId});c=this.qa.get(d);if(!c)return;c=g.v(c);for(d=c.next();!d.done;d=c.next())d.value.nx=b}this.K=a.cpn;y0a(this)}}; g.k.wR=function(){for(var a=g.v(this.ma),b=a.next();!b.done;b=a.next())b.value.nx=NaN;y0a(this);this.ra.va("sdai",{rsac:"resetSkipAd",sac:this.K});this.K=""}; g.k.YF=aa(43); g.k.wQ=function(a,b,c,d,e,f,h,l,m){m&&(h?this.Za.set(a,{Ns:m,Hy:l}):this.Na.set(a,{Ns:m,Hy:l}));if(h){if(d.length&&e.length)for(this.K&&this.K===d[0]&&this.ra.va("sdai",{skipfail:1,sq:a,acpn:this.K}),a=b+this.yp(),h=0;h=b+h)b=m.end;else{var n=!1;m?(b=h){this.C.set(a,c);if(c=this.Wl.get(a))this.ra.removeCueRange(c),this.Wl.delete(a);this.D.set(a,this.ra.getCurrentTime());if(c=this.Wl.get(b))for(c=c.getId().split(","),c=g.v(c),f=c.next();!f.done;f=c.next())f=f.value,f!==b&&this.dk.has(f)&&(this.dk.delete(f),this.KF.add(f));this.ra.seekTo(e.Hh()/1E3);d&&this.api.playVideo(1);return[a]}}}return[]}; g.k.Jd=function(){var a=1E3*this.ra.getCurrentTime();return(a=DY(this,a))&&1===a.getType()?a.Hh()/1E3:0}; g.k.Pz=function(){var a=oY(this.timeline,this.Ng);return(null==a?0:a.length)?a[0].C:!1}; g.k.seekTo=function(a,b){b=void 0===b?{}:b;var c=K0a(this,this.ra.getCurrentTime());this.ra.seekTo(a+c/1E3,b)}; g.k.onCueRangeEnter=function(a){if(!this.K.has(a.getId())){for(var b=a.getId().split(","),c=0;cc+1)for(d=c+1;dthis.C;)(c=this.data.shift())&&QY(this,c,!0);OY(this)}; g.k.remove=function(a,b){b=void 0===b?!1:b;var c=this.data.find(function(d){return d.key===a}); c&&(QY(this,c,b),g.Gb(this.data,function(d){return d.key===a}),OY(this))}; g.k.Lf=function(){var a;if(a=void 0===a?!1:a)for(var b=g.v(this.data),c=b.next();!c.done;c=b.next())QY(this,c.value,a);this.data=[];OY(this)}; g.k.ya=function(){var a=this;g.J.prototype.ya.call(this);this.data.forEach(function(b){QY(a,b,!0)}); this.data=[]};g.w(RY,g.J);RY.prototype.NH=function(a){if(a)return this.B.get(a)}; RY.prototype.ya=function(){this.j.Lf();this.B.Lf();g.J.prototype.ya.call(this)};g.w(SY,g.fv);SY.prototype.oa=function(a){var b=g.Ka.apply(1,arguments);if(this.G.has(a))return this.G.get(a).push(b),!0;var c=!1;try{for(b=[b],this.G.set(a,b);b.length;)c=g.fv.prototype.oa.call.apply(g.fv.prototype.oa,[this,a].concat(g.ra(b.shift())))}finally{this.G.delete(a)}return c};g.w(k1a,g.J);k1a.prototype.ya=function(){g.J.prototype.ya.call(this);this.j=null;this.B&&this.B.disconnect()};g.zjb=Kd(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}});var B3;B3={};g.TY=(B3.STOP_EVENT_PROPAGATION="html5-stop-propagation",B3.IV_DRAWER_ENABLED="ytp-iv-drawer-enabled",B3.IV_DRAWER_OPEN="ytp-iv-drawer-open",B3.MAIN_VIDEO="html5-main-video",B3.VIDEO_CONTAINER="html5-video-container",B3.VIDEO_CONTAINER_TRANSITIONING="html5-video-container-transitioning",B3.HOUSE_BRAND="house-brand",B3);g.w(n1a,g.V);g.k=n1a.prototype;g.k.Cs=function(){g.Ku(this.element,g.Ka.apply(0,arguments))}; g.k.yj=function(){this.vc&&(this.vc.removeEventListener("focus",this.eQ),g.rf(this.vc),this.vc=null)}; g.k.sN=function(){this.isDisposed();var a=this.app.U();a.Mm||this.Cs("tag-pool-enabled");a.N&&this.Cs(g.TY.HOUSE_BRAND);"gvn"===a.playerStyle&&(this.Cs("ytp-gvn"),this.element.style.backgroundColor="transparent");a.Hc&&(this.iN=g.CE("yt-dom-content-change",this.resize,this));this.T(window,"orientationchange",this.resize,this);this.T(window,"resize",this.resize,this)}; g.k.yK=function(a){g.bS(this.app.U());this.rI=!a;UY(this)}; g.k.resize=function(){if(this.vc){var a=this.Uj();if(!a.isEmpty()){var b=!g.ve(a,this.XA.getSize()),c=s1a(this);b&&(this.XA.width=a.width,this.XA.height=a.height);a=this.app.U();(c||b||a.Hc)&&this.app.Wa.oa("resize",this.getPlayerSize())}}}; g.k.xt=function(a,b){this.updateVideoData(b)}; g.k.updateVideoData=function(a){if(this.vc){var b=this.app.U();KD&&(this.vc.setAttribute("x-webkit-airplay","allow"),a.title?this.vc.setAttribute("title",a.title):this.vc.removeAttribute("title"));vRa(a)||oBa&&!window.MediaSource&&window.ManagedMediaSource||b.L("html5_disable_airplay")?this.vc.setAttribute("disableremoteplayback",""):this.vc.removeAttribute("disableremoteplayback");this.vc.setAttribute("controlslist","nodownload");b.Jp&&a.videoId&&(this.vc.poster=a.Pg("default.jpg"))}b=g.xT(a,"yt:bgcolor"); this.Yy.style.backgroundColor=b?b:"";this.CP=Noa(g.xT(a,"yt:stretch"));this.DP=Noa(g.xT(a,"yt:crop"),!0);g.Nu(this.element,"ytp-dni",a.Ld);this.resize()}; g.k.setGlobalCrop=function(a){this.rO=Noa(a,!0);this.resize()}; g.k.setCenterCrop=function(a){this.vV=a;this.resize()}; g.k.xm=function(){}; g.k.getPlayerSize=function(){var a=this.app.U(),b=this.app.Wa.isFullscreen();if(b&&hC())return new g.ue(window.outerWidth,window.outerHeight);if(b||a.No){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.pE&&this.pE.media===a||(this.pE=window.matchMedia(a));var c=this.pE&&this.pE.matches}if(c)return new g.ue(window.innerWidth,window.innerHeight)}else if(!isNaN(this.lD.width)&&!isNaN(this.lD.height))return this.lD.clone();return new g.ue(this.element.clientWidth, this.element.clientHeight)}; g.k.Uj=function(){var a=this.app.U().L("enable_desktop_player_underlay"),b=this.getPlayerSize(),c=g.rJ(this.app.U().experiments,"player_underlay_min_player_width");return a&&this.SQ&&b.width>c?new g.ue(b.width*g.rJ(this.app.U().experiments,"player_underlay_video_width_fraction"),b.height):b}; g.k.getVideoAspectRatio=function(){return isNaN(this.CP)?p1a(this):this.CP}; g.k.getVideoContentRect=function(a){var b=this.Uj();a=q1a(this,b,this.getVideoAspectRatio(),a);return new g.Sr((b.width-a.width)/2,(b.height-a.height)/2,a.width,a.height)}; g.k.vB=function(a){this.SQ=a;this.resize()}; g.k.eE=function(){return this.VJ}; g.k.onMutedAutoplayChange=function(){UY(this)}; g.k.setInternalSize=function(a){g.ve(this.lD,a)||(this.lD=a,this.resize())}; g.k.ya=function(){this.iN&&g.DE(this.iN);this.yj();g.V.prototype.ya.call(this)};g.k=t1a.prototype;g.k.click=function(a,b){this.elements.has(a);this.j.has(a);var c=g.xF();c&&a.visualElement&&g.OF(c,a.visualElement,b)}; g.k.createClientVe=function(a,b,c,d){var e=this;d=void 0===d?!1:d;this.elements.has(a);this.elements.add(a);c=iua(c);a.visualElement=c;var f=g.xF(),h=g.wF();f&&h&&(g.AB("combine_ve_grafts")?sP(qP(),c,h):g.EB(g.HF)(void 0,f,h,c));b.addOnDisposeCallback(function(){e.destroyVe(a)}); d&&this.B.add(a)}; g.k.createServerVe=function(a,b,c){var d=this;c=void 0===c?!1:c;this.elements.has(a);this.elements.add(a);b.addOnDisposeCallback(function(){d.destroyVe(a)}); c&&this.B.add(a)}; g.k.destroyVe=function(a){this.elements.has(a);this.elements.delete(a);this.C.delete(a);this.j.delete(a);this.B.delete(a)}; g.k.IV=function(a,b){this.clientPlaybackNonce!==b&&(this.clientPlaybackNonce=b,rP(qP(),a),u1a(this))}; g.k.setTrackingParams=function(a,b){this.elements.has(a);b&&(a.visualElement=g.vF(b))}; g.k.hasVe=function(a){return this.elements.has(a)};v1a.prototype.setPlaybackRate=function(a){this.playbackRate=Math.max(1,a)}; v1a.prototype.getPlaybackRate=function(){return this.playbackRate};ZY.prototype.seek=function(a,b){a!==this.j&&(this.seekCount=0);this.j=a;var c=this.videoTrack.B,d=this.audioTrack.B,e=this.audioTrack.hc,f=D1a(this,this.videoTrack,a,this.videoTrack.hc,b);b=D1a(this,this.audioTrack,this.policy.Ge?a:f,e,b);a=Math.max(a,f,b);this.G=!0;this.manifest.isManifestless&&(B1a(this,this.videoTrack,c),B1a(this,this.audioTrack,d));return a}; ZY.prototype.Yf=function(){return this.G}; ZY.prototype.LR=function(a){this.C=a}; var C1a=2/24;I1a.prototype.tick=function(a,b){this.ticks[a]=b?window.performance.timing.navigationStart+b:(0,g.vD)()};g.w(S1a,g.TF);g.k=S1a.prototype; g.k.oQ=function(a,b,c,d){if(this.C&&d){d=[];var e=[],f=[],h=void 0,l=0;b&&(d=b.j,e=b.B,f=b.D,h=b.C,l=b.Hy);this.C.wQ(a.Oa,a.startTime,this.B,d,e,f,c,l,h)}if(c){if(b&&!this.Aa.has(a.Oa)){c=a.startTime;d=[];for(e=0;ethis.policy.Ii&&(null==(d=this.C)?0:QK(d.info))&&(null==(e=this.nextVideo)||!QK(e.info))&&(this.qa=!0)}};o2a.prototype.cq=function(a){this.timestampOffset=a};z2a.prototype.dispose=function(){this.qa=!0}; z2a.prototype.isDisposed=function(){return this.qa}; g.w(AZ,Error);var lab=new Uint8Array([0,0,0,38,112,115,115,104,0,0,0,0,237,239,139,169,121,214,74,206,163,200,39,220,213,29,33,237,0,0,0,6,72,227,220,149,155,6]);DZ.prototype.skip=function(a){this.offset+=a}; DZ.prototype.gm=function(){return this.offset};g.k=S2a.prototype;g.k.EW=function(){return this.B}; g.k.Tn=function(){return this.B.length?this.B[this.B.length-1]:null}; g.k.Jk=function(){this.B=[];FZ(this);R2a(this)}; g.k.nu=function(a){this.Sa=this.B.shift().info;a.info.equals(this.Sa)}; g.k.un=function(){return g.lr(this.B,function(a){return a.info})}; g.k.di=function(){return!!this.K.info.audio}; g.k.getDuration=function(){return this.K.index.jt()};var k3a=0;g.k=JZ.prototype;g.k.Kw=function(){this.Nb=this.now();this.Lb.Kw()}; g.k.Xt=function(a,b){var c=this.policy.B?(0,g.vD)():0;KZ(this,a,b);a-this.Dd)?(this.C+=c,0this.GQ&&q3a(this,this.B)}; g.k.bI=function(){return this.Za}; g.k.oR=function(a){a=void 0===a?this.now():a;if(this.Wk){u3a(this,a);if(this.gb?this.GI():this.Y!==this.ma){var b=this.ma;if(ac&&(c=0);c=1E3*(c*this.snapshot.stall+c/this.snapshot.byterate);this.Za=c=this.Hn()?c+a:c+Math.max(a,b)}; g.k.MH=function(){return this.now()-this.N}; g.k.jO=function(){return 1E3*(this.B-this.Aa)/this.MH()||0}; g.k.GW=function(){return this.N};OZ.prototype.feed=function(a){mO(this.j,a);this.Af()}; OZ.prototype.Af=function(){if(this.D){if(!this.j.getLength())return;var a=this.j.split(this.C-this.B),b=a.qI;a=a.Bm;if(!this.Lb.Hw(this.D,b,this.B,this.C))return;this.B+=b.getLength();this.j=a;this.B===this.C&&(this.D=this.C=this.B=void 0)}for(;;){var c=0;a=g.v(w3a(this.j,c));b=a.next().value;c=a.next().value;c=g.v(w3a(this.j,c));a=c.next().value;c=c.next().value;if(0>b||0>a)break;if(!(c+a<=this.j.totalLength)){if(!(this.Lb.Hw&&c+1<=this.j.totalLength))break;c=this.j.split(c).Bm;this.Lb.Hw(b,c,0, a)&&(this.D=b,this.B=c.getLength(),this.C=a,this.j=new lO([]));break}a=this.j.split(c).Bm.split(a);c=a.Bm;this.Lb.MA(b,a.qI);this.j=c}}; OZ.prototype.dispose=function(){this.j=new lO};g.k=PZ.prototype;g.k.RN=function(){return 0}; g.k.PH=function(){return null}; g.k.sW=function(){return null}; g.k.Ht=function(){return 1<=this.state}; g.k.isComplete=function(){return 3<=this.state}; g.k.En=function(){return 5===this.state}; g.k.onStateChange=function(){}; g.k.Dc=function(a){var b=this.state;this.state=a;this.onStateChange(b);this.callback&&this.callback(this,b)}; g.k.xA=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.tD=function(){return+this.getResponseHeader("content-length")}; g.k.pn=function(){return this.B}; g.k.Vw=function(){return 200<=this.status&&300>this.status&&!!this.B}; g.k.Sk=function(){return 0this.status&&!!this.B}; g.k.Sk=function(){return!!this.j.getLength()}; g.k.kx=function(){this.Sk();var a=this.j;this.j=new lO;return a}; g.k.QJ=function(){this.Sk();return this.j}; g.k.isDisposed=function(){return this.K}; g.k.abort=function(){this.C&&this.C.cancel().catch(function(){}); this.D&&this.D.abort();this.K=!0}; g.k.BB=function(){return!0}; g.k.dK=function(){return this.N}; g.k.wf=function(){return this.errorMessage};g.k=C3a.prototype;g.k.onDone=function(){if(!this.isDisposed){this.status=this.xhr.status;try{this.response=this.xhr.response,this.B=this.response.byteLength}catch(a){}this.j=!0;this.Lb.yr()}}; g.k.IA=function(){2===this.xhr.readyState&&this.Lb.Kw()}; g.k.We=function(a){this.isDisposed||(this.status=this.xhr.status,this.j||(this.B=a.loaded),this.Lb.Xt((0,g.vD)(),a.loaded))}; g.k.Qv=function(){return 2<=this.xhr.readyState}; g.k.getResponseHeader=function(a){try{return this.xhr.getResponseHeader(a)}catch(b){return g.BF(Error("Could not read XHR header "+a)),""}}; g.k.tD=function(){return+this.getResponseHeader("content-length")}; g.k.pn=function(){return this.B}; g.k.Vw=function(){return 200<=this.status&&300>this.status&&this.j&&!!this.B}; g.k.Sk=function(){return this.j&&!!this.response&&!!this.response.byteLength}; g.k.kx=function(){this.Sk();var a=this.response;this.response=void 0;return new lO([new Uint8Array(a)])}; g.k.QJ=function(){this.Sk();return new lO([new Uint8Array(this.response)])}; g.k.abort=function(){this.isDisposed=!0;this.xhr.abort()}; g.k.BB=function(){return!1}; g.k.dK=function(){return!1}; g.k.wf=function(){return""};g.w(QZ,g.J);g.k=QZ.prototype;g.k.Oaa=function(){if(!this.isDisposed()){var a=(0,g.vD)(),b=!1;if(this.timing.Hn()){if(this.G)return;var c=this.timing.bI();this.timing.oR();var d=this.timing.bI();d-c>=.8*this.policy.Ji?(this.j++,this.logger.debug(function(){return"Mispredicted by "+(d-c).toFixed(0)}),b=5<=this.j):this.j=0}else{var e=a-this.timing.FW(); 01E3*a)&&this.logger.debug(function(){return"Elbow late by "+e.toFixed(3)})}0this.state)return!1;if(this.yg&&this.yg.Mf.length)return!0;var a;return(null==(a=this.xhr)?0:a.Sk())?!0:!1}; g.k.TE=function(){this.im(!1);return this.yg?this.yg.TE():[]}; g.k.im=function(a){try{if(a||this.xhr.Qv()&&this.xhr.Sk()&&!X3a(this)&&!this.RA)this.yg||(this.yg=new XX(this.policy,this.info.eb)),this.xhr.Sk()&&(this.yk?this.yk.feed(this.xhr.kx()):YX(this.yg,this.xhr.kx(),a&&!this.xhr.Sk()))}catch(b){this.yk?W3a(this,b):g.BF(b)}}; g.k.MA=function(a,b){switch(a){case 21:a=b.split(1).Bm;Z3a(this,a);break;case 22:this.f0=!0;YX(this.yg,new lO([]),!0);break;case 43:if(a=DO(new xO(b),1))this.info.Qk(this.qe,a),this.ZK=!0;break;case 45:b=wUa(new xO(b));a=b.uK;b=b.vK;a&&b&&(this.QG=a/b);break;case 44:this.mB=Q3a(new xO(b));var c,d,e;this.policy.Va&&!this.timing.Ea&&4===(null==(c=this.mB)?void 0:c.action)&&(null==(d=this.mB)?0:null==(e=d.a_)?0:e.Qs)&&(this.Qs=this.mB.a_.Qs);break;case 53:this.policy.tb&&(a=O3a(new xO(b)).l8)&&(this.sE|| (this.sE=new g.Bu(this.U7,a,this)),this.sE.start());break;case 60:this.Zz=lUa(new xO(b));break;case 58:this.policy.Od&&(a=new xO(b),this.gq={gq:AO(a,1),Iaa:AO(a,2)})}}; g.k.Hw=function(a,b,c,d){this.timing.policy.j&&!c&&this.timing.Hw(d);if(21!==a)return!1;if(a=this.policy.Mm)if(d=b.getLength()+c===d,a*=this.info.eb[0].j.info.Sb,!d&&b.getLength() this.info.eb[0].Oa)return!1;return!0}; g.k.mO=function(){return+this.xhr.getResponseHeader("X-Segment-Lmt")||0}; g.k.PH=function(){this.xhr&&(this.Fp=Number(this.xhr.getResponseHeader("X-Head-Seqnum")));return this.Fp}; g.k.sW=function(){this.xhr&&(this.Rq=Number(this.xhr.getResponseHeader("X-Head-Time-Millis")));return this.Rq}; g.k.Og=function(){return this.Gd.Og()}; g.k.U7=function(){!this.isDisposed()&&this.xhr&&(this.R_="heartbeat",this.EB(!1))};g.w($Y,PZ);g.k=$Y.prototype;g.k.onStateChange=function(){this.isDisposed()&&($X(this.rg,this.formatId),this.j.dispose())}; g.k.Iq=function(){var a=v_a(this.rg,this.formatId),b;var c=(null==(b=this.rg.qd.get(this.formatId))?void 0:b.bytesReceived)||0;var d;b=(null==(d=this.rg.qd.get(this.formatId))?void 0:d.Oy)||0;return{expected:a,received:c,bytesShifted:b,sliceLength:w_a(this.rg,this.formatId),isEnded:this.rg.gi(this.formatId)}}; g.k.nW=function(){return 0}; g.k.cw=function(){return!0}; g.k.vk=function(){return this.rg.vk(this.formatId)}; g.k.TE=function(){return[]}; g.k.il=function(){return this.rg.il(this.formatId)}; g.k.Og=function(){return this.lastError}; g.k.Kv=function(){return 0};g.k=b4a.prototype;g.k.Tn=function(){return this.D.Tn()}; g.k.nu=function(a){this.D.nu(a);var b;null!=(b=this.Z)&&(b.j=s2a(b,b.Wd,b.PA,b.j,a),b.C=a);this.Sb=Math.max(this.Sb,a.info.j.info.Sb||0)}; g.k.getDuration=function(){if(this.policy.D){var a=this.Ba.Mk();if(a)return FY(a)}return this.j.index.jt()}; g.k.Jk=function(){bZ(this);this.D.Jk()}; g.k.fO=function(){return this.D}; g.k.isRequestPending=function(a){return this.C.length?a===this.C[this.C.length-1].info.eb[0].Oa:!1}; g.k.cq=function(a){var b;null==(b=this.Z)||b.cq(a)};g.w(g_,g.J);g_.prototype.aP=function(a,b){if(!f_(a)||!a.j.og())return!1;var c=this.policy.Ay;0=this.policy.Ep&&this.B&&OQ(a.info)&&"net.badstatus"===c&&this.B.vt(e,d))){d=(b.info.video&&1d?(this.C+=c,.2c.hJ||0c.FP)){this.qR=(0,g.vD)();var d;null==(d=this.pF)||d.stop();this.policy.ob&&(d=this.Lb,a={ev:Math.round(b*a/1E3),qx:a},d.policy.ob&&(d.Z=a,d.Yp++));this.Gd.EB(!1)}}}}; g.k.GE=function(a){this.Lb.GE(a)}; g.k.uQ=function(a){this.b_=!0;this.info.resource.Qk(this.qe,a.redirectUrl)}; g.k.KE=function(a){this.Xe instanceof o_&&this.Xe.KE(a)}; g.k.DE=function(a){this.Xe instanceof o_&&this.Xe.DE(a)}; g.k.xQ=function(a,b,c){this.Lb.xQ(a,b,c,this.ot())}; g.k.BE=function(a){if(EV(this.policy)){var b=a.formatId,c=T4a({itag:b.itag,lmt:b.lmt,xtags:b.xtags}),d,e,f=new DQ((null==(d=a.sX)?void 0:d.first)||0,(null==(e=a.sX)?void 0:e.JX)||0),h,l;d=new DQ((null==(h=a.indexRange)?void 0:h.first)||0,(null==(l=a.indexRange)?void 0:l.JX)||0);this.manifest.K.get(c)||(h=a.KN||{},h.mimeType=a.mimeType,h.itag=b.itag,h.lastModified=""+(b.lmt||0),h.xtags=b.xtags,b=this.manifest,l=jR(""),h=iR(h,null),gR(b,new eR(l,h,f,d)));this.Lb.BE(c,XK(a.mimeType||""),a.videoId)}}; g.k.IE=function(a){a.uK&&a.vK&&this.Lb.IE(a)}; g.k.HA=function(a){this.Lb.HA(a)}; g.k.FE=function(a,b,c){this.Lb.FE(a,b,c)}; g.k.JE=function(a){this.policy.dc&&this.Lb.JE(a)}; g.k.HE=function(a){this.Lb.HE(a,this.ot())}; g.k.canRetry=function(){this.isDisposed();return this.Gd.canRetry(!1)}; g.k.dispose=function(){if(!this.isDisposed()){g.J.prototype.dispose.call(this);this.Gd.dispose();var a;null==(a=this.pF)||a.dispose();this.Dc(-1);this.Fy()}}; g.k.Dc=function(a){this.state=a;q6a(this.Lb,this)}; g.k.ew=function(){return this.info.ew()}; g.k.KA=function(a,b,c){c.clipId&&(this.clipId=c.clipId);this.rg.KA(a,b,c);this.policy.Hm&&(this.rg.qd.get(a).FG=!0)}; g.k.Rp=function(a,b){this.rg.Rp(a,b)}; g.k.vk=function(a){return this.rg.vk(a)}; g.k.un=function(a){return this.rg.un(a)}; g.k.il=function(a){return this.rg.il(a)}; g.k.Hq=function(){return this.rg.Hq()}; g.k.Xs=function(){return 1}; g.k.ot=function(){return this.Xe.requestNumber}; g.k.mW=function(){return this.clipId}; g.k.DY=function(){this.Fy()}; g.k.Fy=function(){LZ(this.Xe);var a;null==(a=this.xhr)||a.abort()}; g.k.isComplete=function(){return 3<=this.state}; g.k.FX=function(){return 3===this.state}; g.k.En=function(){return 5===this.state}; g.k.jX=function(){return this.isComplete()}; g.k.Ht=function(){return 1<=this.state}; g.k.Wv=function(){return!1}; g.k.Kv=function(){return 0}; g.k.lW=function(){var a;return null==(a=this.info.data)?void 0:a.QM}; g.k.YW=function(){}; g.k.HW=function(){return B5a(this.info)}; g.k.Og=function(){return this.Gd.Og()}; g.k.Iq=function(){var a=G3a(this.Gd);Object.assign(a,C5a(this.info));a.req="sabr";a.rn=this.ot();var b;if(null==(b=this.xhr)?0:b.status)a.rc=this.policy.Yj?this.xhr.status:this.xhr.status.toString();var c;(b=null==(c=this.xhr)?void 0:c.wf())&&(a.msg=b);this.qR&&(c=t5a(this,this.qR-this.Xe.GW()),a.letm=c.B7,a.mrbps=c.hJ,a.mram=c.FP);return a};var y5a={WEB:1,MWEB:2,TVHTML5:7,WEB_UNPLUGGED:41,WEB_EMBEDDED_PLAYER:56,TVHTML5_AUDIO:57,TV_UNPLUGGED_CAST:58,TVHTML5_KIDS:59,WEB_MUSIC:61,WEB_CREATOR:62,TVHTML5_UNPLUGGED:65,WEB_REMIX:67,TVHTML5_SIMPLY:75,WEB_KIDS:76,TVHTML5_SIMPLY_EMBEDDED_PLAYER:85,WEB_MUSIC_EMBEDDED_PLAYER:86,WEB_MUSIC_ANALYTICS:31,WEB_GAMING:32,WEB_EXPERIMENTS:42,WEB_HEROES:60,WEB_UNPLUGGED_ONBOARDING:69,WEB_UNPLUGGED_OPS:70,WEB_UNPLUGGED_PUBLIC:71,TVHTML5_VR:72,TVHTML5_FOR_KIDS:93};r_.prototype.ew=function(){return 1===this.requestType}; r_.prototype.VN=function(){var a;return(null==(a=this.Lb)?void 0:a.VN())||0};g.w(s_,g.J);s_.prototype.encrypt=function(a){(0,g.vD)();if(this.B)var b=this.B;else this.C?(b=new IR(this.C,this.j.j),g.L(this,b),this.B=b):this.B=new HR(this.j.j),b=this.B;return b.encrypt(a,this.iv)}; s_.prototype.decrypt=function(a,b){(0,g.vD)();return(new HR(this.j.j)).decrypt(a,b)};G5a.prototype.decrypt=function(a,b,c){var d=this,e,f,h,l,m,n;return g.I(function(p){switch(p.j){case 1:if(d.j.length&&!d.j[0].isEncrypted)return p.return();d.B=!0;d.qm.Nd("omd_s");e=new Uint8Array(16);b?c?h=new IR(c,a):h=new HR(a):f=new GR(a);case 2:if(!d.j.length||!d.j[0].isEncrypted){p.La(4);break}l=d.j.shift();if(!f){m=h.decrypt(oO(l.buffer),e);p.La(5);break}return g.y(p,f.decrypt(oO(l.buffer),e),6);case 6:m=p.B;case 5:n=m;for(var q=0;qMath.abs(this.j[0].HW()-a)}; g.k.vt=function(a){if(a instanceof C_)this.j.pop();else{var b=1;a.canRetry()&&(this.j.pop(),null==a||a.dispose(),b=0);this.Ba.handleError(a.Og(),a.Iq(),b);!this.policy.qy||"net.badstatus"!==a.Og()&&"net.connect"!==a.Og()||this.Ba.XC(a.Iq())}}; g.k.Sp=function(a){this.B=a;this.K=(0,g.vD)()+(a.backoffTimeMs||0)}; g.k.GE=function(a){if(void 0!==a.action){var b={};b.reason=a.Baa;b.action=a.action;switch(a.action){case 1:this.Ba.rH(b);break;case 0:this.Ba.XC(b);break;case 2:this.Ba.handleError("sabr.config",b,1)}}}; g.k.xQ=function(a,b,c,d){if(this.policy.D){for(var e=this.Ba,f=e.va,h="",l=g.v(a),m=l.next();!m.done;m=l.next()){m=m.value;h+=".cid."+m.clipId;if(m.Xr){var n=m.Xr;h+=".vid."+n.N0+(".pst."+n.BZ)+(".ps."+n.CZ)+(".lst."+n.J7)+(".ld."+n.YX)+(".ls."+n.ZX)}m.OP&&(h+=".nonv."+m.OP.VI)}f.call(e,"ssap",{rn:d,v:b,tl:h});if(d=this.Ba.Mk())if(e=b,e=void 0===e?"":e,d.Vba!==e&&(d.Vba=e,(h=d.timeline.j)&&h.getVideoData())){e=[];f=h.getVideoData();h=h.Zl();l=new Map;m=[];n=[];var p=0,q=0,r=0,t=[];a=g.v(a);for(var u= a.next();!u.done;u=a.next()){var x=u.value,B=x.clipId;if(B){var F;if(x.Xr){r=x.Xr.YX||0;var G=x.Xr.ZX||1;u=(x.Xr.BZ||0)/(x.Xr.CZ||1)*1E3;G=r/G*1E3;r=F=u+G}else u=r,G=0,F=u,d.KF.has(B)||d.dk.add(B);var H=void 0,O=null!=(H=l.get(B))?H:0;H=u;var P=F,Y=oY(d.timeline,B);if(null!=Y&&Y.length){Oh||h!==l)&&b.va("sbu_mismatch",{b:fL(f),c:b.currentTime,s:e.Sd()})},0)}}this.Af()}; g.k.y8=function(a){if(this.Ua){var b=XZ(a===this.Ua.j?this.audioTrack:this.videoTrack);if(a=a.kO())for(var c=0;c=c||cthis.C&&(this.C=c,g.jd(this.j)||(this.j={},this.D.stop(),this.B.stop())),this.j[b]=a,g.Cu(this.B))}}; O_.prototype.G=function(){for(var a=g.v(Object.keys(this.j)),b=a.next();!b.done;b=a.next()){var c=b.value;b=this.oa;for(var d=this.C,e=this.j[c].match(Fl),f=[],h=g.v(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.we(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=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}}c=!1}c?(c=a.j,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30))):c=0;this.oa("log_qoe",{wvagt:"delay."+c,cpi:a.cryptoPeriodIndex,reqlen:this.j.length}); 0>=c?g7a(this,a):(this.j.push({time:b+c,info:a}),g.Cu(this.B,c))}}; P_.prototype.ya=function(){this.j=[];N_.prototype.ya.call(this)};var M3={},o7a=(M3.DRM_TRACK_TYPE_AUDIO="AUDIO",M3.DRM_TRACK_TYPE_SD="SD",M3.DRM_TRACK_TYPE_HD="HD",M3.DRM_TRACK_TYPE_UHD1="UHD1",M3);g.w(k7a,g.J);g.w(q7a,g.TF);g.k=q7a.prototype;g.k.Qp=function(a){var b=this;this.isDisposed()||0>=a.size||(a.forEach(function(c,d){var e=sR(b.B)?d:c;d=new Uint8Array(sR(b.B)?c:d);sR(b.B)&&H7a(d);c=g.sg(d,4);H7a(d);d=g.sg(d,4);b.j[c]?b.j[c].status=e:b.j[d]?b.j[d].status=e:b.j[c]={type:"",status:e}}),C7a(this,","),Q_(this,{onkeystatuschange:1}),this.status="kc",this.oa("keystatuseschange",this))}; g.k.error=function(a,b,c,d){this.isDisposed()||(this.oa("licenseerror",a,b,c,d),"drm.provision"===a&&(a=(Date.now()-this.K)/1E3,this.K=NaN,this.oa("ctmp","provf",{et:a.toFixed(3)})));GK(b)&&this.dispose()}; g.k.shouldRetry=function(a,b){return this.Fa&&this.N?!1:!a&&this.requestNumber===b.requestNumber}; g.k.ya=function(){this.j={};g.TF.prototype.ya.call(this)}; g.k.pc=function(){var a={ctype:this.Y.contentType||"",length:this.Y.initData.length,requestedKeyIds:this.Ea,cryptoPeriodIndex:this.cryptoPeriodIndex};this.C&&(a.keyStatuses=this.j);return a}; g.k.Ih=function(){var a=this.D.join();if(R_(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.bf=function(){return this.url};g.w(S_,g.J);g.k=S_.prototype;g.k.J3=function(a){if(this.G){var b=a.messageType||"license-request";this.G(new Uint8Array(a.message),b)}}; g.k.Qp=function(){this.N&&this.N(this.j.keyStatuses)}; g.k.cZ=function(a){this.G&&this.G(a.message,"license-request")}; g.k.bZ=function(a){if(this.C){if(this.B){var b=this.B.error.code;a=this.B.error.systemCode}else b=a.errorCode,a=a.systemCode;this.C("t.prefixedKeyError;c."+b+";sc."+a,b,a)}}; g.k.aZ=function(){this.K&&this.K()}; g.k.update=function(a){var b=this;if(this.j)return(AR.isActive()?AR.wm("emeupd",function(){return b.j.update(a)}):this.j.update(a)).then(null,VO(function(c){J7a(b,"t.update",c)})); this.B?this.B.update(a):this.element.addKey?this.element.addKey(this.Z.keySystem,a,this.initData,this.sessionId):this.element.webkitAddKey&&this.element.webkitAddKey(this.Z.keySystem,a,this.initData,this.sessionId);return bC()}; g.k.ya=function(){this.j&&(this.Y?this.j.close().catch(g.BF):this.j.close());this.element=null;g.J.prototype.ya.call(this)};g.w(T_,g.J);g.k=T_.prototype;g.k.HM=function(){var a=this;if(this.j.keySystemAccess)return(AR.isActive()?AR.wm("emenew",function(){return a.j.keySystemAccess.createMediaKeys()}):this.j.keySystemAccess.createMediaKeys()).then(function(c){if(!a.isDisposed())if(a.B=c,AR.isActive())AR.wm("emeset",function(){return a.element.setMediaKeys(c)}); else{var d;null==(d=a.element)||d.setMediaKeys(c)}}); if(rR(this.j))this.C=new (qR())(this.j.keySystem);else if(tR(this.j)){this.C=new (qR())(this.j.keySystem);var b;null==(b=this.element)||b.webkitSetMediaKeys(this.C)}else AR.isActive()&&this.va("emev",{v:"01b"}),JC(this.G,this.element,["keymessage","webkitkeymessage"],this.M3),JC(this.G,this.element,["keyerror","webkitkeyerror"],this.L3),JC(this.G,this.element,["keyadded","webkitkeyadded"],this.K3);return null}; g.k.setServerCertificate=function(){return this.B.setServerCertificate?"widevine"===this.j.flavor&&this.j.Ll?this.B.setServerCertificate(this.j.Ll):vR(this.j)&&this.j.Ya?this.B.setServerCertificate(this.j.Ya):null:null}; g.k.createSession=function(a,b){var c=a.initData;if(this.j.keySystemAccess){b&&b("createsession");var d=this.B.createSession();uR(this.j)?c=K7a(c,this.j.Ya):vR(this.j)&&(c=f7a(c)||new Uint8Array(0));b&&b("genreq");var e=AR.isActive()?AR.wm("emegen",function(){return d.generateRequest(a.contentType,c)}):d.generateRequest(a.contentType,c); var f=new S_(null,null,null,d,null,this.N);e.then(function(){b&&b("genreqsuccess")},VO(function(l){J7a(f,"t.generateRequest",l)})); return f}if(rR(this.j))return M7a(this,c);if(tR(this.j))return L7a(this,c);if(null==(e=this.element)?0:e.generateKeyRequest)this.element.generateKeyRequest(this.j.keySystem,c);else{var h;null==(h=this.element)||h.webkitGenerateKeyRequest(this.j.keySystem,c)}return this.D=new S_(this.element,this.j,c,null,null,this.N)}; g.k.M3=function(a){var b=N7a(this,a);b&&b.cZ(a)}; g.k.L3=function(a){var b=N7a(this,a);b&&b.bZ(a)}; g.k.K3=function(a){var b=N7a(this,a);b&&b.aZ(a)}; g.k.getMetrics=function(){if(this.B&&this.B.getMetrics)try{var a=this.B.getMetrics()}catch(b){}return a}; g.k.ya=function(){this.C=this.B=null;var a;null==(a=this.D)||a.dispose();a=g.v(Object.values(this.K));for(var b=a.next();!b.done;b=a.next())b.value.dispose();this.K={};g.J.prototype.ya.call(this);delete this.element};g.k=U_.prototype;g.k.get=function(a){a=this.findIndex(a);return-1!==a?this.values[a]:null}; g.k.remove=function(a){a=this.findIndex(a);-1!==a&&(this.keys.splice(a,1),this.values.splice(a,1))}; g.k.Lf=function(){this.keys=[];this.values=[]}; g.k.set=function(a,b){var c=this.findIndex(a);-1!==c?this.values[c]=b:(this.keys.push(a),this.values.push(b))}; g.k.findIndex=function(a){return g.Bb(this.keys,function(b){return g.Yb(a,b)})};g.w(Q7a,g.TF);g.k=Q7a.prototype;g.k.Z8=function(a){this.bj({onecpt:1});a.initData&&T7a(this,new Uint8Array(a.initData),a.initDataType)}; g.k.w9=function(a){this.bj({onndky:1});T7a(this,a.initData,a.contentType)}; g.k.Gw=function(a){this.bj({onneedkeyinfo:1});this.W.L("html5_eme_loader_sync")&&(this.N.get(a.initData)||this.N.set(a.initData,a));S7a(this,a)}; g.k.aV=function(a){this.C.push(a);V_(this)}; g.k.createSession=function(a){var b=V7a(this)?L2a(a):g.sg(a.initData);this.B.get(b);this.Ea=!0;a=new q7a(this.videoData,this.W,a,this.drmSessionId);this.B.set(b,a);a.subscribe("ctmp",this.sJ,this);a.subscribe("keystatuseschange",this.Qp,this);a.subscribe("licenseerror",this.wJ,this);a.subscribe("newlicense",this.XY,this);a.subscribe("newsession",this.YY,this);a.subscribe("sessionready",this.jZ,this);a.subscribe("fairplay_next_need_key_info",this.PY,this);this.W.L("html5_enable_vp9_fairplay")&&a.subscribe("qualitychange", this.xS,this);u7a(a,this.D)}; g.k.XY=function(a){this.isDisposed()||(this.bj({onnelcswhb:1}),a&&!this.heartbeatParams&&(this.heartbeatParams=a,this.oa("heartbeatparams",a)))}; g.k.YY=function(){this.isDisposed()||(this.bj({newlcssn:1}),this.C.shift(),this.Ea=!1,V_(this))}; g.k.jZ=function(){if(rR(this.j)&&(this.bj({onsnrdy:1}),this.Na--,0===this.Na)){var a=this.ma,b,c;null==(b=a.element)||null==(c=b.msSetMediaKeys)||c.call(b,a.C)}}; g.k.Qp=function(a){if(!this.isDisposed()){!this.Ka&&this.videoData.L("html5_log_drm_metrics_on_key_statuses")&&(W7a(this),this.Ka=!0);this.bj({onksch:1});var b=this.xS;if(!R_(a)&&g.LD&&"com.microsoft.playready"===a.B.keySystem&&navigator.requestMediaKeySystemAccess)var c="large";else{c=[];var d=!0;if(R_(a))for(var e=g.v(Object.keys(a.j)),f=e.next();!f.done;f=e.next())f=f.value,"usable"===a.j[f].status&&c.push(a.j[f].type),"unknown"!==a.j[f].status&&(d=!1);if(!R_(a)||d)c=a.D;c=B7a(c)}b.call(this,c); this.oa("keystatuseschange",a)}}; g.k.sJ=function(a,b){this.isDisposed()||this.oa("ctmp",a,b)}; g.k.PY=function(a,b){this.isDisposed()||this.oa("fairplay_next_need_key_info",a,b)}; g.k.wJ=function(a,b,c,d){this.isDisposed()||(this.videoData.L("html5_log_drm_metrics_on_error")&&W7a(this),this.oa("licenseerror",a,b,c,d))}; g.k.Gv=function(){return this.Z}; g.k.xS=function(a){var b=g.CP("auto",a,!1,"l");if(this.videoData.wl){if(this.Z.equals(b))return}else if(xLa(this.Z,a))return;this.Z=b;this.oa("qualitychange");this.bj({updtlq:a})}; g.k.ya=function(){this.j.keySystemAccess&&this.element&&(this.Aa?this.element.setMediaKeys(null).catch(g.BF):this.element.setMediaKeys(null));this.element=null;this.C=[];for(var a=g.v(this.B.values()),b=a.next();!b.done;b=a.next())b=b.value,b.unsubscribe("ctmp",this.sJ,this),b.unsubscribe("keystatuseschange",this.Qp,this),b.unsubscribe("licenseerror",this.wJ,this),b.unsubscribe("newlicense",this.XY,this),b.unsubscribe("newsession",this.YY,this),b.unsubscribe("sessionready",this.jZ,this),b.unsubscribe("fairplay_next_need_key_info", this.PY,this),this.W.L("html5_enable_vp9_fairplay")&&b.unsubscribe("qualitychange",this.xS,this),b.dispose();this.B.clear();this.K.Lf();this.N.Lf();this.heartbeatParams=null;g.TF.prototype.ya.call(this)}; g.k.pc=function(){for(var a={systemInfo:this.j.pc(),sessions:[]},b=g.v(this.B.values()),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.pc());return a}; g.k.Ih=function(){return 0>=this.B.size?"no session":""+this.B.values().next().value.Ih()+(this.G?"/KR":"")}; g.k.bj=function(a,b){b=void 0===b?!1:b;this.isDisposed()||(EK(a),(this.W.Nc()||b)&&this.oa("ctmp","drmlog",a))};g.w(X7a,g.J);g.k=X7a.prototype;g.k.wH=function(){return!!this.kE}; g.k.II=function(){return this.B}; g.k.handleError=function(a){var b=this;c8a(this,a);if(("html5.invalidstate"!==a.errorCode&&"fmt.unplayable"!==a.errorCode&&"fmt.unparseable"!==a.errorCode||!b8a(this,a.errorCode,a.details))&&!g8a(this,a)){if("yt"!==this.Ia.Ea&&e8a(this,a)&&this.videoData.Ro&&(0,g.vD)()/1E3>this.videoData.Ro&&"hm"===this.Ia.Ea){var c=Object.assign({e:a.errorCode},a.details);c.stalesigexp="1";c.expire=this.videoData.Ro;c.init=this.videoData.IS/1E3;c.now=(0,g.vD)()/1E3;c.systelapsed=((0,g.vD)()-this.videoData.IS)/1E3; a=new FK(a.errorCode,c,2);this.ra.zg(a.errorCode,2,"SIGNATURE_EXPIRED",EK(a.details))}if(GK(a.severity)){var d;c=null==(d=this.ra.Ba)?void 0:d.j.j;if(this.Ia.L("html5_use_network_error_code_enums"))if(d8a(a)&&c&&c.isLocked())var e="FORMAT_UNAVAILABLE";else{if(!this.Ia.N&&"auth"===a.errorCode&&429===a.details.rc){e="TOO_MANY_REQUESTS";var f="6"}}else d8a(a)&&c&&c.isLocked()?e="FORMAT_UNAVAILABLE":this.Ia.N||"auth"!==a.errorCode||"429"!==a.details.rc||(e="TOO_MANY_REQUESTS",f="6");this.ra.zg(a.errorCode, a.severity,e,EK(a.details),f)}else this.ra.oa("nonfatalerror",a),d=/^pp/.test(this.videoData.clientPlaybackNonce),this.me(a.errorCode,a.details),d&&"manifest.net.connect"===a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.videoData.clientPlaybackNonce+"&t="+(0,g.vD)(),sU(a,"manifest",function(h){b.G=!0;b.va("pathprobe",h)},function(h){b.me(h.errorCode,h.details)}))}}; g.k.va=function(a,b){this.ra.wc().va(a,b)}; g.k.me=function(a,b){b=EK(b);this.ra.wc().me(a,b)};j8a.prototype.L=function(a){return this.W.L(a)};g.w(X_,g.J);X_.prototype.Td=function(a){A8a(this);this.playerState=a.state;0<=this.B&&g.LG(a,16)&&this.seekCount++;a.state.isError()&&this.send()}; X_.prototype.onError=function(a){if("player.fatalexception"!==a||this.provider.L("html5_exception_to_health"))"sabr.fallback"===a&&(this.encounteredSabrFallback=!0),a.match(Ajb)?this.networkErrorCount++:this.nonNetworkErrorCount++}; X_.prototype.send=function(){if(!(this.C||0>this.j)){A8a(this);var a=g.tN(this.provider)-this.j,b="PLAYER_PLAYBACK_STATE_UNKNOWN",c=this.playerState.lh;this.playerState.isError()?b=c&&"auth"===c.errorCode?"PLAYER_PLAYBACK_STATE_UNKNOWN":"PLAYER_PLAYBACK_STATE_ERROR":g.JG(this.playerState,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.JG(this.playerState,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.JG(this.playerState,16)||g.JG(this.playerState,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.JG(this.playerState,1)&&g.JG(this.playerState, 4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.JG(this.playerState,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING":g.JG(this.playerState,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.JG(this.playerState,8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");c=gab[wT(this.provider.videoData)];a:switch(this.provider.W.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=B8a(this.provider), f=0>this.B?a:this.B-this.j;a=this.provider.W.Rf+36E5<(0,g.vD)();b={started:0<=this.B,stateAtSend:b,joinLatencySecs:f,playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:d,playerCanaryStage:e,isAd:this.provider.videoData.isAd(),liveMode:c,hasDrm:!!g.vT(this.provider.videoData),isGapless:this.provider.videoData.Y,isServerStitchedDai:this.provider.videoData.enableServerStitchedDai, encounteredSabrFallback:this.encounteredSabrFallback};a||g.gD("html5PlayerHealthEvent",b);this.C=!0;this.dispose()}}; X_.prototype.ya=function(){this.C||this.send();g.J.prototype.ya.call(this)}; var Ajb=/\bnet\b/;var C8a=/[?&]cpn=/;var H8a=Math.pow(10,8);g.w(g.$_,g.J);g.k=g.$_.prototype;g.k.M6=function(){var a=g.tN(this.provider);L8a(this,a)}; g.k.zD=function(){return this.Sa}; g.k.DD=function(){return{YA:this.YA,ZA:this.ZA}}; g.k.DF=function(a,b){this.YA=a;this.ZA=b}; g.k.reportStats=function(a){a=void 0===a?NaN:a;if(!this.isDisposed()&&(a=0<=a?a:g.tN(this.provider),-1<["PL","B","S"].indexOf(this.gf)&&(!g.jd(this.j)||a>=this.D+30)&&(g.Z_(this,a,"vps",[this.gf]),this.D=a),!g.jd(this.j))){7E3===this.sequenceNumber&&g.BF(Error("Sent over 7000 pings"));if(!(7E3<=this.sequenceNumber)){O8a(this,a);var b=a,c=this.provider.ra.LD(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.YA,h=e&&!this.ZA;d>c.totalVideoFrames||5E3=this.playTimeSecs&&(this.provider.ra.zE(),this.j.qoealert=["1"],this.rb=!0)),"B"!==d||"PL"!==this.gf&&"PB"!==this.gf||(this.Aa=!0),this.D=c);"PL"===this.gf&&("B"===d||"S"===d)||this.provider.W.Nc()?O8a(this,c):(this.tb||"PL"!==d||(this.tb= !0,N8a(this,c,this.provider.ra.HD())),L8a(this,c));"PL"===d&&g.Cu(this.jd);var e=[d];a=a.state.seekSource;"S"===d&&a&&e.push("ss."+a);g.Z_(this,c,"vps",e);this.gf=d;this.D=this.Jb=c;this.K=!0}d=b.lh;g.JG(b,128)&&d&&(d.cK=d.cK||"",T8a(this,c,d.errorCode,d.BH,d.cK));(g.JG(b,2)||g.JG(b,128))&&this.reportStats(c);b.isPlaying()&&!this.N&&(0<=this.B&&(this.j.user_intent=[this.B.toString()]),this.N=!0);R8a(this)}; g.k.ME=function(a){var b=g.tN(this.provider);g.Z_(this,b,"vfs",[a.j.id,a.B,this.Hc,a.reason]);this.Hc=a.j.id;var c=this.provider.ra.getPlayerSize();if(0=this.provider.ra.getDuration()-.1&&(this.previouslyEnded=!0);if(a!==this.j||a9a(this,a,b)){var c;if(!(c=ab-this.Lp+2||a9a(this,a,b))){c=this.provider.ra.getVolume();var d=c!==this.Y,e=this.provider.ra.isMuted()?1:0;e!==this.Z?(this.Z=e,c=!0):(!d||0<=this.D||(this.Y=c,this.D=b),c=b-this.D,0<=this.D&&2KG(a,64)||0>KG(a,512))&&(a=r9a(this,!1),a.G=b,a.send())}else this.K="paused"}; g.k.ya=function(){g.J.prototype.ya.call(this);j0(this);Z8a(this.j)}; g.k.pc=function(){return e9a(g0(this,"playback"))}; g.k.GB=function(){this.provider.videoData.N.eventLabel=IT(this.provider.videoData);this.provider.videoData.N.playerStyle=this.provider.W.playerStyle;this.provider.videoData.gj&&(this.provider.videoData.N.feature="pyv");this.provider.videoData.N.vid=this.provider.videoData.videoId;var a=this.provider.videoData.N;var b=this.provider.videoData;b=b.isAd()||!!b.gj;a.isAd=b}; g.k.Sj=function(a){var b=g0(this,"engage");b.Y=a;return g9a(b,v9a(this.provider))};u9a.prototype.isEmpty=function(){return this.endTime===this.startTime};l0.prototype.L=function(a){return this.W.L(a)}; l0.prototype.getCurrentTime=function(){if(g.OT(this.videoData)){var a=this.ra.Mk();if(a){var b=this.ra.getCurrentTime(),c;a=((null==(c=EY(a,1E3*b))?void 0:c.pm)||0)/1E3;return b-a}}return this.ra.getCurrentTime()}; l0.prototype.Ni=function(){if(g.OT(this.videoData)){var a=this.ra.Mk();if(a){var b=this.ra.Ni(),c;a=(null==(c=EY(a,1E3*b))?NaN:c.pm)/1E3||0;return b-a}}return this.ra.Ni()}; var w9a={other:1,none:2,wifi:3,cellular:7,ethernet:30};g.w(g.m0,g.J);g.k=g.m0.prototype;g.k.Td=function(a){if(g.LG(a,1024)||g.LG(a,512)||g.LG(a,4)){if(this.B){var b=this.B;0<=b.B||(b.j=-1,b.delay.stop())}this.qoe&&(b=this.qoe,b.N||(b.B=-1))}if(this.provider.videoData.enableServerStitchedDai&&this.Xg){var c;null==(c=this.C.get(this.Xg))||c.Td(a)}else this.j&&this.j.Td(a);this.qoe&&this.qoe.Td(a);this.B&&this.B.Td(a)}; g.k.We=function(){if(this.provider.videoData.enableServerStitchedDai&&this.Xg){var a;null==(a=this.C.get(this.Xg))||a.We()}else this.j&&this.j.We()}; g.k.Yn=function(a){this.qoe&&this.qoe.Yn(a)}; g.k.me=function(a,b){this.qoe&&U8a(this.qoe,a,b);if(this.B)this.B.onError(a)}; g.k.ME=function(a){this.qoe&&this.qoe.ME(a)}; g.k.wE=function(a){this.qoe&&this.qoe.wE(a)}; g.k.onPlaybackRateChange=function(a){if(this.qoe)this.qoe.onPlaybackRateChange(a);this.j&&d0(this.j.j)}; g.k.Vt=aa(47);g.k.va=function(a,b,c){this.qoe&&this.qoe.va(a,b,c)}; g.k.iF=function(a,b,c){this.qoe&&this.qoe.iF(a,b,c)}; g.k.Xw=function(){this.qoe&&this.qoe.Xw()}; g.k.dB=function(a,b,c){this.qoe&&this.qoe.dB(a,b,c)}; g.k.Qn=aa(26);g.k.zD=function(){if(this.qoe)return this.qoe.zD()}; g.k.pc=function(){if(this.provider.videoData.enableServerStitchedDai&&this.Xg){var a;null==(a=this.C.get(this.Xg))||a.pc()}else if(this.j)return this.j.pc();return{}}; g.k.DD=function(){var a;return null==(a=this.qoe)?void 0:a.DD()}; g.k.DF=function(a,b){var c;null==(c=this.qoe)||c.DF(a,b)}; g.k.Sj=function(a){return this.j?this.j.Sj(a):function(){}}; g.k.GB=function(){this.j&&this.j.GB()}; g.k.getVideoData=function(){return this.provider.videoData}; g.k.resume=function(){this.qoe&&this.qoe.resume()};g.w(n0,g.J);n0.prototype.nN=function(a,b){if(!this.j.has(a)){b=new l0(b,this.W,this.ra);var c=Math.round(1E3*g.tN(this.B.provider));c=new g.m0(b,c);b=this.B.getVideoData();this.j.set(a,c);a=g.OT(b);if(c.qoe){c=c.qoe;var d=b.videoId||"";c.contentCpn=b.clientPlaybackNonce;c.qa=d;c.Ea=a}}}; n0.prototype.wc=function(a){a=a||this.Xg;return this.j.get(a)||this.B};g.w(o0,g.J);g.k=o0.prototype;g.k.tf=function(a,b){this.Fo();b&&2E3<=this.j.array.length&&this.hD("captions",1E4);b=this.j;if(1b.array.length)b.array=b.array.concat(a),b.array.sort(b.j);else{a=g.v(a);for(var c=a.next();!c.done;c=a.next())c=c.value,!b.array.length||0a&&this.D.start()))}; g.k.DN=function(a){var b=[];if(!a.length)return b;for(var c=0;ca&&(a=(a-this.B)/this.qa(),this.D.start(a)))}}; g.k.zX=function(){if(this.started&&!this.isDisposed()){this.D.stop();var a=this.G();g.JG(a,32)&&this.ma.start();for(var b=g.JG(this.G(),2)?0x8000000000000:1E3*this.Z(),c=g.JG(a,2),d=[],e=[],f=g.v(this.C),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.FN(e));f=e=null;c?(a=G9a(this.j,0x7ffffffffffff),e=a.filter(function(l){return 0x8000000000000>l.end}),f=H9a(this.j)):a=this.B<=b&&OBa(a)?F9a(this.j,this.B,b):G9a(this.j,b); d=d.concat(this.DN(a));e&&(d=d.concat(this.FN(e)));f&&(d=d.concat(this.DN(f)));this.B=b;L9a(this,d)}}; g.k.ya=function(){this.C=[];this.j.array=[];g.J.prototype.ya.call(this)}; g.fY.zI(o0,{tf:"crmacr",DN:"crmncr",FN:"crmxcr",zX:"crmis",Xp:"crmrcr"});g.w(r0,g.TF);r0.prototype.Xq=function(){return this.N}; r0.prototype.Jq=function(){return Math.max(this.Z()-s0(this)*this.j,this.videoData.Jd())};g.w(w0,g.J);w0.prototype.Td=function(){g.Cu(this.C)}; w0.prototype.Af=function(){var a=this,b=this.ra.kf(),c=this.ra.getPlayerState();if(b&&!c.isError()){var d=b.getCurrentTime(),e=8===c.state&&d>this.j,f=g.JG(c,8)&&g.JG(c,16),h=this.ra.xn().isBackground()||c.isSuspended();x0(this,this.Sa,f&&!h,e,"qoe.slowseek",function(){},"timeout"); var l=isFinite(this.j);l=f&&l&&IBa(b,this.j);var m=!d||10d+5,x=m&&q&&u,B=this.ra.getVideoData();x0(this,this.Ea,.002>d&&.002>this.j&&f&&g.CJ(this.W)&&g.pT(B)&&!h,e,"qoe.slowseek",l,"slow_seek_shorts");x0(this,this.Z,x&&!h,m&&!q,"qoe.longrebuffer",p,"jiggle_cmt");x0(this,this.Y,x&&!h,m&&!q,"qoe.longrebuffer",l,"new_elem_nnr");if(n){var F=n.getCurrentTime();f=b.Lv();f=sBa(f,F);f=!n.Yf()&&d===f;x0(this,this.ob,m&&q&&f&&!h,m&&!q&&!f,"qoe.longrebuffer", function(){b.seekTo(F)},"seek_to_loader")}f={}; p=gL(r,Math.max(d-3.5,0));x=0<=p&&d>r.end(p)-1.1;var G=0<=p&&p+1G;f.close2edge=x;f.gapsize=G;f.buflen=r.length;x0(this,this.ma,m&&q&&!h,m&&!q,"qoe.longrebuffer",function(){},"timeout",f); t=c.isSuspended();t=G_(this.ra)&&!t;x0(this,this.G,t,!t,"qoe.start15s",function(){a.ra.Ag("ad")},"ads_preroll_timeout"); f=.5>d-this.D;p=B.isAd()&&m&&!q&&f;t=function(){var H=a.ra,O=H.Rd.Bd();(!O||!H.videoData.isAd()||O.getVideoData().Yc!==H.getVideoData().Yc)&&H.videoData.If||H.zg("ad.rebuftimeout",2,"RETRYABLE_ERROR","skipslad.vid."+H.videoData.videoId)}; x0(this,this.Ya,p,!p,"ad.rebuftimeout",t,"skip_slow_ad");f=B.isAd()&&q&&hL(b.Fh(),d+5)&&f;x0(this,this.Za,f,!f,"ad.rebuftimeout",t,"skip_slow_ad_buf");x0(this,this.gb,g.GL(c)&&g.JG(c,64)&&!h,e,"qoe.start15s",function(){},"timeout"); x0(this,this.qa,!!n&&!n.Ua&&g.GL(c),e,"qoe.start15s",l,"newElemMse");e=kL(r,0);n=g.JG(c,16)||g.JG(c,32);e=!h&&g.GL(c)&&q&&!n&&(g.JG(c,64)||0===d)&&5hY(this.ra)-d&&!u&&this.ra.Yq();x0(this,this.K,g.pT(B)&&c&&q&&h,m&&!q,"qoe.longrebuffer",function(){W_(a.ra,!1,!0)},"handoff_end_long_buffer_reload"); this.D=d;this.C.start()}}; w0.prototype.me=function(a,b,c){b=this.pc(b);b.wn=c;b.wdup=this.B[a]?"1":"0";this.ra.me(new FK(a,b));this.B[a]=!0}; w0.prototype.pc=function(a){a=Object.assign(this.ra.pc(!0),a.pc());this.j&&(a.stt=this.j.toFixed(3));this.ra.getVideoData().isLivePlayback&&(a.ct=this.ra.getCurrentTime().toFixed(3),a.to=this.ra.Rc().toFixed(3));delete a.uga;delete a.euri;delete a.referrer;delete a.fexp;delete a.vm;return a}; u0.prototype.reset=function(){this.j=this.B=this.C=this.startTimestamp=0;this.D=!1}; u0.prototype.test=function(a){if(!this.G||this.B)return!1;if(!a)return this.reset(),!1;a=(0,g.vD)();if(!this.startTimestamp)this.startTimestamp=a,this.C=0;else if(this.C>=this.G)return this.B=a,!0;this.C+=1;return!1}; u0.prototype.pc=function(){var a={},b=(0,g.vD)();this.startTimestamp&&(a.wsd=(b-this.startTimestamp).toFixed());this.B&&(a.wtd=(b-this.B).toFixed());this.j&&(a.wssd=(b-this.j).toFixed());return a};g.w(Z9a,g.J);g.k=Z9a.prototype;g.k.setMediaElement=function(a){g.KC(this.rb);(this.mediaElement=a)?(n$a(this),y0(this)):z0(this)}; g.k.Td=function(a){this.Ea.Td(a);this.L("html5_exponential_memory_for_sticky")&&(a.state.isPlaying()?g.Cu(this.Fa):this.Fa.stop());if(this.mediaElement)if(8===a.AA.state&&OBa(a.state)&&g.HL(a.state)){a=this.mediaElement.getCurrentTime();var b=this.mediaElement.Fh();var c=this.L("manifestless_post_live_ufph")||this.L("manifestless_post_live")?gL(b,Math.max(a-3.5,0)):gL(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.Nb-c)||(this.ra.va("seekover", {b:fL(b,"_"),cmt:a}),this.Nb=c,this.seekTo(c,{Uv:!0,xd:"seektimeline_postLiveDisc"})))}else(null==(b=a.state)?0:8===b.state)&&!this.gb&&((this.W.L("embeds_enable_muted_autoplay")||g.vC(g.gS(this.W)))&&0=this.Le())||!g.AT(this.videoData))||this.ra.va("seeknotallowed",{st:x,mst:this.Le()});if(!p)return this.D&&(this.D=null,h$a(this)),Yf(this.getCurrentTime());if(.005>Math.abs(a- this.j)&&this.ma)return this.G;h&&(x=a,(this.W.Nc()||this.L("html5_log_seek_reasons"))&&this.ra.va("seekreason",{reason:h,tgt:x}));this.ma&&z0(this);this.G||(this.G=new xL);a&&!isFinite(a)&&b$a(this,!1);(h=n||c)||(h=a,h=!(this.videoData.isLivePlayback&&this.videoData.C&&!this.videoData.C.j&&!(this.mediaElement&&0e.videoData.endSeconds;e.W.L("embeds_enable_muted_autoplay")&&(h=h&&f>e.videoData.limitedPlaybackDurationInSeconds);e.Cq&&h&&isFinite(f)&&Q$a(e);fb.start&& Q$a(this.ra);return this.G}; g.k.Le=function(a){if(!this.videoData.isLivePlayback)return rab(this.ra);var b;return QT(this.videoData)&&(null==(b=this.mediaElement)?0:b.isPaused())&&this.videoData.j?(a=this.getCurrentTime(),VRa(1E3*this.Ze(a))+a):kT(this.videoData)&&this.videoData.rb&&this.videoData.j?this.videoData.j.Le()+this.timestampOffset:this.videoData.C&&this.videoData.C.j?!a&&this.B?this.B.Jq():rab(this.ra)+this.timestampOffset:this.mediaElement?jC()?VRa(this.mediaElement.zG().getTime()):DBa(this.mediaElement)+this.timestampOffset|| this.timestampOffset:this.timestampOffset}; g.k.Jd=function(){if(g.OT(this.videoData)){var a=this.ra;g.OT(a.videoData);var b,c;return null!=(c=null==(b=a.yc)?void 0:b.Jd())?c:a.videoData.Jd()}b=this.videoData?this.videoData.Jd()+this.timestampOffset:this.timestampOffset;return QT(this.videoData)&&this.videoData.j&&(c=Number(null==(a=this.videoData.progressBarStartPosition)?void 0:a.utcTimeMillis)/1E3,a=this.getCurrentTime(),a=this.Ze(a)-a,!isNaN(c)&&!isNaN(a))?Math.max(b,c-a):b}; g.k.JN=function(){this.G||this.seekTo(this.C,{xd:"seektimeline_forceResumeTime_singleMediaSourceTransition",seekSource:15})}; g.k.FI=function(){return this.ma&&!isFinite(this.j)}; g.k.ya=function(){c$a(this,null);this.Ea.dispose();g.J.prototype.ya.call(this)}; g.k.pc=function(){var a={};this.Ba&&Object.assign(a,this.Ba.pc());this.mediaElement&&Object.assign(a,this.mediaElement.pc());return a}; g.k.yQ=function(a){this.timestampOffset=a}; g.k.getStreamTimeOffset=function(){return kT(this.videoData)?0:this.videoData.j?this.videoData.j.getStreamTimeOffset():0}; g.k.Rc=function(){return this.timestampOffset}; g.k.Ze=function(a){return this.videoData.j.Ze(a-this.timestampOffset)}; g.k.Iv=function(){if(!this.mediaElement)return 0;if(BT(this.videoData)){var a=this.mediaElement,b=a.Fh();a=(0=a.start);return a}; g.k.Xq=function(){return this.fd.Xq()}; g.k.isPlaying=function(){return this.playerState.isPlaying()}; g.k.dE=function(){return this.playerState.dE()&&this.videoData.Hm}; g.k.getPlayerState=function(){return this.playerState}; g.k.getPlayerType=function(){return this.playerType}; g.k.getPreferredQuality=function(){if(this.ag){var a=this.ag;a=a.videoData.My.compose(a.videoData.OU);a=FP(a)}else a="auto";return a}; g.k.BD=aa(21);g.k.isGapless=function(){return!!this.mediaElement&&this.mediaElement.isView()}; g.k.setMediaElement=function(a){this.logger.debug("set media element");if(this.mediaElement&&a.Ab()===this.mediaElement.Ab()&&(a.isView()||this.mediaElement.isView())){if(a.isView()||!this.mediaElement.isView())g.KC(this.KB),this.mediaElement=a,this.mediaElement.ra=this,cab(this),this.fd.setMediaElement(this.mediaElement)}else{this.mediaElement&&this.yj();if(!this.playerState.isError()){var b=EL(this.playerState,512);g.JG(b,8)&&!g.JG(b,2)&&(b=DL(b,1));a.isView()&&(b=EL(b,64));this.xc(b)}this.mediaElement= a;this.mediaElement.ra=this;tS(this.W)&&this.mediaElement.setLoop(this.loop);this.mediaElement.setPlaybackRate(this.playbackRate);cab(this);this.fd.setMediaElement(this.mediaElement);this.L("html5_prewarm_media_source")&&!this.Kk.wH()&&EBa(this.mediaElement)}}; g.k.yj=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.logger.debug("remove media element");if(this.mediaElement){var c=this.getCurrentTime();0this.mediaElement.getCurrentTime()&&this.Ba)return;this.L("html5_ignore_unexpected_waiting_cfl")&&(this.mediaElement.isPaused()||21E3*e+100)&&(h=N0a(d,f))){e=!1;f=void 0;h=g.v(h.segments);for(l=h.next();!l.done;l=h.next()){l=l.value;if(e){f=l;break}l.Zl()===d.Ng&&(e=!0)}(e=null==(c=f)?void 0:c.Zl())&&d.finishSegmentByCpn(d.Ng,e,2)}}}break;case "resize":qab(this);this.videoData.B&&"auto"===this.videoData.B.video.quality&& this.oa("internalvideoformatchange",this.videoData,!1);break;case "pause":if(this.hV&&g.JG(this.playerState,8)&&!g.JG(this.playerState,1024)&&0===this.getCurrentTime()&&g.pD){K0(this,"safari_autoplay_disabled");return}}if(this.mediaElement&&this.mediaElement.Gf()===b){this.L("html5_restore_time_after_unpause")&&m$a(this.fd,a);this.oa("videoelementevent",a);b=this.playerState;c=this.videoData.clientPlaybackNonce;var m=g.OT(this.videoData)&&this.yc?FY(this.yc):void 0;if(!g.JG(b,128)){d=this.IC;f=this.mediaElement; h=this.W.experiments;e=b.state;f=f?f:a.target;l=f.getCurrentTime();if(!g.JG(b,64)||"ended"!==a.type&&"pause"!==a.type){m=m||f.getDuration();m=f.gi()||1Math.abs(l-m);var n="pause"===a.type&&f.gi();l="ended"===a.type||"waiting"===a.type||"timeupdate"===a.type&&!g.JG(b,4)&&!p0(d,l);if(n||m&&l)0a-this.NI||(this.NI=a,b!==this.Kh()&&(a=this.visibility,a.j!==b&&(a.j=b,a.vg()),this.va("airplay",{rbld:b}),Y7a(this)),this.oa("airplayactivechange"))}; g.k.MD=function(a){if(this.Ba){var b=this.Ba,c=b.C,d=b.currentTime,e=Date.now()-c.Y;c.Y=NaN;c.va("sdai",{adfetchdone:a,d:e});a&&!isNaN(c.G)&&3!==c.B&&T1a(c.Ba,d,c.G,c.D);c.N=NaN;iZ(c,4,3===c.B?"adfps":"adf");K_(b)}}; g.k.Gc=function(a){var b=this;a=void 0===a?!1:a;if(this.mediaElement&&this.videoData){e$a(this.fd,this.isPlaying());var c=this.getCurrentTime();this.Ba&&(g.JG(this.playerState,4)&&g.AT(this.videoData)||c7a(this.Ba,c));5Math.abs(m-h)?(b.va("setended",{ct:h,bh:l,dur:m,live:n}),b.mediaElement.gt()?(b.logger.debug("seek to 0 because of looping"),b.seekTo(0,{xd:"videoplayer_loop"})):lY(b)):(g.HL(b.playerState)||nab(b,"progress_fix"),b.xc(DL(b.playerState,1)))):(m&&!n&&!p&&0n-1&&b.va("misspg",{t:h.toFixed(2), d:n.toFixed(2),r:m.toFixed(2),bh:l.toFixed(2)})),b.playerState.isPaused()&&g.HL(b.playerState)&&5KG(b,8)||g.LG(b,1024))&& this.uw.stop();!g.LG(b,8)||this.videoData.Sa||g.JG(b.state,1024)||this.uw.start();g.JG(b.state,8)&&0>KG(b,16)&&!g.JG(b.state,32)&&!g.JG(b.state,2)&&this.playVideo();g.JG(b.state,2)&&BT(this.videoData)&&(this.zl(this.getCurrentTime()),this.Gc(!0));g.LG(b,2)&&this.ER(!0);g.LG(b,128)&&this.Zn();this.videoData.j&&this.videoData.isLivePlayback&&!this.o0&&(0>KG(b,8)?iOa(this.videoData.j):g.LG(b,8)&&this.videoData.j.resume());this.fd.Td(b);this.wc().Td(b);if(c&&!this.isDisposed())try{for(var e=g.v(this.UJ), f=e.next();!f.done;f=e.next()){var h=f.value;this.Mi.Td(h);this.oa("statechange",h)}}finally{this.UJ.length=0}}}; g.k.zE=function(){this.videoData.isLivePlayback||this.L("html5_disable_connection_issue_event")||this.oa("connectionissue")}; g.k.tQ=function(){this.Vb.tick("qoes")}; g.k.JN=function(){this.fd.JN()}; g.k.wJ=function(a,b,c,d){a:{var e=this.Kk;d=void 0===d?"LICENSE":d;c=c.substr(0,256);var f=GK(b);"drm.keyerror"===a&&this.Be&&1e.D&&(a="drm.sessionlimitexhausted",f=!1);if(f)if(e.videoData.B&&e.videoData.B.video.isHdr())h8a(e,a);else{if(e.ra.zg(a,b,d,c),Z7a(e,{detail:c}))break a}else e.me(a,{detail:c});"drm.sessionlimitexhausted"===a&&(e.va("retrydrm",{sessionLimitExhausted:1}),e.D++,mab(e.ra))}}; g.k.i9=function(){var a=this,b=g.rJ(this.W.experiments,"html5_license_constraint_delay"),c=Koa();b&&c?(b=new g.Bu(function(){L0(a);I0(a)},b),g.L(this,b),b.start()):(L0(this),I0(this))}; g.k.CE=function(a){this.oa("heartbeatparams",a)}; g.k.Qp=function(a){this.va("keystatuses",D7a(a));var b="auto",c=!1;this.videoData.B&&(b=this.videoData.B.video.quality,c=this.videoData.B.video.isHdr());if(this.L("html5_drm_check_all_key_error_states")){var d=E7a(b,c);d=R_(a)?F7a(a,d):a.D.includes(d)}else{a:{b=E7a(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}if(this.L("html5_enable_vp9_fairplay")){if(c)if(a.Z){var f;if(null==(f=this.Be)?0:vR(f.j))if(null==(c=this.Be))c= 0;else{b=f=void 0;e=g.v(c.B.values());for(var h=e.next();!h.done;h=e.next())h=h.value,f||(f=G7a(h,"SD")),b||(b=G7a(h,"AUDIO"));c.bj({sd:f,audio:b});c="output-restricted"===f||"output-restricted"===b}else c=!d;if(c){this.va("drm",{dshdr:1});h8a(this.Kk);return}}else{this.videoData.aC||(this.videoData.aC=!0,this.va("drm",{dphdr:1}),W_(this,!0));return}var l;if(null==(l=this.Be)?0:vR(l.j))return}else if(l=a.Z&&d,c&&!l){h8a(this.Kk);return}d||F7a(a,"AUDIO")&&F7a(a,"SD")||(this.logger.debug("All formats are output restricted, Retry or Abort"), a=D7a(a),this.yR?(this.logger.debug("Output restricted, playback cannot continue"),this.oa("drmoutputrestricted"),this.L("html5_report_fatal_drm_restricted_error_killswitch")||this.zg("drm.keyerror",2,void 0,"info."+a)):(this.yR=!0,this.me(new FK("qoe.restart",Object.assign({},{retrydrm:1},a))),C0(this),mab(this)))}; g.k.k9=function(){if(!this.videoData.Sa&&this.mediaElement&&!this.isBackground()){var a="0";0=b.B.size){var c="ns;";b.Y||(c+="nr;");b=c+="ql."+b.C.length}else b=D7a(b.B.values().next().value),b=EK(b);a.drmp=b}var d;Object.assign(a,(null==(d=this.Ba)?void 0:d.pc())||{});var e;Object.assign(a,(null==(e=this.mediaElement)?void 0:e.pc())||{});this.wc().me("qoe.start15s",EK(a));this.oa("loadsofttimeout")}}; g.k.zl=function(a){this.videoData.lengthSeconds!==a&&(this.videoData.lengthSeconds=a,I0(this))}; g.k.ER=function(a){var b=this;a=void 0===a?!1:a;if(!this.LG){PH("att_s","player_att")||TH("att_s",void 0,"player_att");var c=new g.jLa(this.videoData);if("c1a"in c.j&&!g.fI.isInitialized()){TH("att_wb",void 0,"player_att");2===this.IM&&.01>Math.random()&&g.BF(Error("Botguard not available after 2 attempts"));if(a)return;if(5>this.IM){g.Cu(this.KG);this.IM++;return}}if("c1b"in c.j){var d=A9a(this.wc());d&&mLa(c).then(function(e){e&&!b.LG&&d?(TH("att_f",void 0,"player_att"),d(e),b.LG=!0):TH("att_e", void 0,"player_att")},function(){TH("att_e",void 0,"player_att")})}else(a=g.kLa(c))?(TH("att_f",void 0,"player_att"),z9a(this.wc(),a),this.LG=!0):TH("att_e",void 0,"player_att")}}; g.k.Le=function(a){return this.fd.Le(void 0===a?!1:a)}; g.k.Jd=function(){return this.fd.Jd()}; g.k.Rc=function(){return this.fd?this.fd.Rc():0}; g.k.getStreamTimeOffset=function(){return this.fd?this.fd.getStreamTimeOffset():0}; g.k.yp=function(){var a=0;this.W.L("web_player_ss_media_time_offset")&&(a=0===this.getStreamTimeOffset()?this.Rc():this.getStreamTimeOffset());return a}; g.k.setPlaybackRate=function(a){var b;this.playbackRate!==a&&m8a(this.bl,null==(b=this.videoData.C)?void 0:b.videoInfos)&&C0(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.B&&(a=this.videoData.B.video.quality,"auto"===a&&this.mediaElement)){var b=J$a(this);b&&0=+c),b.dis=this.mediaElement.ID("display"));(a=a?(0,g.b0)():null)&&(b.gpu=a);b.debug_playbackQuality=this.Wa.getPlaybackQuality(1);b.debug_date=(new Date).toString();b.timestamp=Date.now();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.U().experiments.experimentIds.join(", "),player_release:"youtube.player.web_20231114_01_RC00"},b=this.Qb().lh;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(W0(this))return 3;var b;if(a&&(null==(b=this.Oe)?0:r0a(b,this.getCurrentTime())))return 2;var c;return g.OT(this.getVideoData())&&(null==(c=this.yc)?0:M0a(c))?2:g.aU(this).getPlayerType()}; g.k.Pz=function(){return g.OT(this.getVideoData())&&this.yc?this.yc.Pz():!1}; g.k.Qb=function(a){return 3===this.getPresentingPlayerType()?kU(this.Dd).gf:g.aU(this,a).getPlayerState()}; g.k.getAppState=function(){return this.appState}; g.k.AQ=function(a){switch(a.type){case "loadedmetadata":this.rK.start();a=g.v(this.lB);for(var b=a.next();!b.done;b=a.next())b=b.value,lbb(this,b.id,b.uca,b.tca,void 0,!1);this.lB=[];break;case "loadstart":this.Vb.Cu("gv");break;case "progress":case "timeupdate":2<=jL(a.target.Fh())&&this.Vb.Cu("l2s");break;case "playing":g.rS&&this.rK.start();if(g.CJ(this.W))a=!1;else{b=g.nU(this.zb());a="none"===this.mediaElement.ID("display")||0===this.mediaElement.getSize().area();var c=VY(this.template),d=this.Gb.getVideoData(), e=g.ZG(this.W)||g.fS(this.W);d=qT(d);b=!c||b||e||d||this.W.Jb;a=a&&!b}a&&(this.Gb.va("hidden",{},!0),this.getVideoData().Nb||(this.getVideoData().Nb=1,this.WY(),this.Gb.playVideo()))}}; g.k.onLoadProgress=function(a,b){this.Wa.Qa("onLoadProgress",b)}; g.k.A$=function(){this.Wa.oa("playbackstalledatstart")}; g.k.onVideoProgress=function(a,b){a=V0(this,a);b=e1(this,a.getCurrentTime(),a);this.Wa.Qa("onVideoProgress",b)}; g.k.onAutoplayBlocked=function(){this.Wa.Qa("onAutoplayBlocked")}; g.k.Q9=function(){this.Wa.oa("progresssync")}; g.k.E9=function(){this.Wa.Qa("onPlaybackPauseAtStart")}; g.k.B8=function(a){if(1===this.getPresentingPlayerType()){g.LG(a,1)&&!g.JG(a.state,64)&&this.Fd().isLivePlayback&&this.xb.isAtLiveHead()&&1=1E3*(this.getDuration()-1)){Xab(this);return}Kab(this)}if(g.JG(a.state,128)){var b=a.state;this.cancelPlayback(5);b=b.lh;JSON.stringify({errorData:b,debugInfo:this.getDebugText(!0)});this.Wa.Qa("onError",pSa(b.errorCode));this.Wa.Qa("onDetailedError",{errorCode:b.errorCode, errorDetail:b.errorDetail,message:b.errorMessage,messageKey:b.EN,cpn:b.cpn});6048E5<(0,g.vD)()-this.W.Rf&&this.Wa.Qa("onReloadRequired")}b={};if(a.state.isPlaying()&&!g.HL(a.state)&&!PH("pbresume","ad_to_video")&&PH("_start","ad_to_video")){var c=this.getVideoData();b.clientPlaybackNonce=c.clientPlaybackNonce;c.videoId&&(b.videoId=c.videoId);g.QH(b,"ad_to_video");SH("pbresume",void 0,"ad_to_video");BVa(this.Dd)}this.Wa.oa("applicationplayerstatechange",a)}}; g.k.oZ=function(a){3!==this.getPresentingPlayerType()&&this.Wa.oa("presentingplayerstatechange",a)}; g.k.fk=function(a){T0(this,IL(a.state));g.JG(a.state,1024)&&this.Wa.isMutedByMutedAutoplay()&&(c1(this,{muted:!1,volume:this.Di.volume},!1),d1(this,!1))}; g.k.x8=function(a,b,c){"newdata"===a&&Aab(this);b=c.clipConfig;"dataloaded"===a&&b&&null!=b.startTimeMs&&null!=b.endTimeMs&&this.setLoopRange({startTimeMs:Math.floor(Number(b.startTimeMs)),endTimeMs:Math.floor(Number(b.endTimeMs)),postId:b.postId,type:"clips"})}; g.k.wE=function(){this.Wa.Qa("onPlaybackAudioChange",this.Wa.getAudioTrack().Oc.name)}; g.k.ME=function(a){var b=this.Gb.getVideoData();a===b&&this.Wa.Qa("onPlaybackQualityChange",a.B.video.quality)}; g.k.onVideoDataChange=function(a,b,c){this.logger.debug(function(){return"on video data change "+a+", player type "+b.getPlayerType()+", vid "+c.videoId}); b===this.xb&&(this.W.mj=c.oauthToken);if(b===this.xb){this.getVideoData().enableServerStitchedDai&&!this.Oe?this.Oe=new g.qY(this.Wa,this.W,this.xb):!this.getVideoData().enableServerStitchedDai&&this.Oe&&(this.Oe.dispose(),this.Oe=null);var d,e;!g.OT(this.getVideoData())||"newdata"!==a&&"dataloaded"!==a||this.getVideoData().clientPlaybackNonce===(null==(d=this.Pw.j)?void 0:null==(e=d.getVideoData())?void 0:e.clientPlaybackNonce)?!g.OT(this.getVideoData())&&this.yc&&(this.yc.dispose(),this.yc=null): (this.Pw.Lf(),d=g0a(this.Pw,1,0,1E3*this.getDuration(1),this.getVideoData()),d0a(this.Pw,d),this.yc&&(this.yc.dispose(),this.yc=null),this.yc=new I0a(this.Wa,this.Pw,this.xb))}if("newdata"===a)this.logger.debug("new video data, destroy modules"),JV(this.Dd,2),this.Wa.oa("videoplayerreset",b);else{if(!this.mediaElement)return;"dataloaded"===a&&(this.Gb===this.xb?(qPa(c.Ia,c.JS),Pab(this)):Nab(this));1===b.getPlayerType()&&(this.W.Ya&&tbb(this),this.getVideoData().isLivePlayback&&!this.W.ip&&this.Ig("html5.unsupportedlive", 2,"DEVICE_FALLBACK"),c.isLoaded()&&((GRa(c)||this.getVideoData().Ax)&&mSa(this.Ky,this.getVideoData(),this.xb),c.hasProgressBarBoundaries()&&ebb(this)));this.Wa.oa("videodatachange",a,c,b.getPlayerType())}this.Wa.Qa("onVideoDataChange",{type:a,playertype:b.getPlayerType()});this.wK();(d=c.uF)?this.Tq.IV(d,c.clientPlaybackNonce):u1a(this.Tq)}; g.k.ZG=function(){Y0(this,null);this.Wa.Qa("onPlaylistUpdate")}; g.k.CY=function(a){var b=a.getId(),c=this.Fd(),d=!this.isInline();if(!c.inlineMetricEnabled&&!this.W.experiments.jb("enable_player_logging_lr_home_infeed_ads")||d){if("part2viewed"===b){if(c.eU&&g.oE(c.eU),c.QP&&l1(this,c.QP),c.uy)for(var e={CPN:this.getVideoData().clientPlaybackNonce},f=g.v(c.uy),h=f.next();!h.done;h=f.next())l1(this,g.pu(h.value,e))}else"conversionview"===b?this.xb.GB():"engagedview"===b&&c.gj&&(e={CPN:this.getVideoData().clientPlaybackNonce},g.oE(g.pu(c.gj,e)));c.gU&&(e=a.getId(), e=KB(c.gU,{label:e}),g.oE(e));switch(b){case "videoplaytime25":c.QS&&l1(this,c.QS);c.pS&&m1(this,c.pS);c.kU&&g.oE(c.kU);break;case "videoplaytime50":c.RS&&l1(this,c.RS);c.CS&&m1(this,c.CS);c.pU&&g.oE(c.pU);break;case "videoplaytime75":c.SS&&l1(this,c.SS);c.DS&&m1(this,c.DS);c.rU&&g.oE(c.rU);break;case "videoplaytime100":c.PS&&l1(this,c.PS),c.fR&&m1(this,c.fR),c.iU&&g.oE(c.iU)}(e=this.getVideoData().Ax)&&dbb(this,e,a.getId())&&dbb(this,e,a.getId()+"gaia")}if(c.inlineMetricEnabled&&!d)switch(b){case "videoplaybackstart":var l, m=null==(l=c.vy)?void 0:l.j;m&&l1(this,m);break;case "videoplayback2s":(l=null==(m=c.vy)?void 0:m.C)&&l1(this,l);break;case "videoplayback10s":var n;(l=null==(n=c.vy)?void 0:n.B)&&l1(this,l)}this.xb.removeCueRange(a)}; g.k.P9=function(a){delete this.bK[a.getId()];this.xb.removeCueRange(a);a:{a=this.getVideoData();var b,c,d,e,f,h,l,m,n,p,q=(null==(b=a.Na)?void 0:null==(c=b.contents)?void 0:null==(d=c.singleColumnWatchNextResults)?void 0:null==(e=d.autoplay)?void 0:null==(f=e.autoplay)?void 0:f.sets)||(null==(h=a.Na)?void 0:null==(l=h.contents)?void 0:null==(m=l.twoColumnWatchNextResults)?void 0:null==(n=m.autoplay)?void 0:null==(p=n.autoplay)?void 0:p.sets);if(q)for(b=g.v(q),c=b.next();!c.done;c=b.next())if(c=c.value, e=d=void 0,c=c.autoplayVideo||(null==(d=c.autoplayVideoRenderer)?void 0:null==(e=d.autoplayEndpointRenderer)?void 0:e.endpoint),d=g.U(c,g.lT),f=e=void 0,null!=c&&(null==(e=d)?void 0:e.videoId)===a.videoId&&(null==(f=d)?0:f.continuePlayback)){a=c;break a}a=null}(b=g.U(a,g.lT))&&this.Wa.Qa("onPlayVideo",{sessionData:{autonav:"1",itct:null==a?void 0:a.clickTrackingParams},videoId:b.videoId,watchEndpoint:b})}; g.k.bq=function(a){var b=this;a!==this.appState&&(this.logger.debug(function(){return"app state change "+b.appState+" -> "+a}),2===a&&1===this.getPresentingPlayerType()&&(T0(this,-1),T0(this,5)),this.appState=a,this.Wa.oa("appstatechange",a))}; g.k.Ig=function(a,b,c,d,e){this.xb.zg(a,b,c,d,e)}; g.k.Lr=function(a,b){this.xb.handleError(new FK(a,b))}; g.k.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.aU(this,a);if(!c)return!1;a=U0(this,c);c=V0(this,c);return a!==c?a.isAtLiveHead(e1(this,c.getCurrentTime(),c),!0):a.isAtLiveHead(void 0,b)}; g.k.Hv=function(){var a=g.aU(this);return a?U0(this,a).Hv():0}; g.k.seekTo=function(a,b,c,d,e){b=!1!==b;if(d=g.aU(this,d))2===this.appState&&a1(this),this.If(d)?f1(this)?this.Oe.seekTo(a,{seekSource:e},b,c):this.Xc.seekTo(a,{seekSource:e},b,c):g.OT(this.getVideoData())&&this.yc?this.yc.seekTo(a,{XF:!b,qS:c,xd:"application",seekSource:e}):d.seekTo(a,{XF:!b,qS:c,xd:"application",seekSource:e})}; g.k.seekBy=function(a,b,c,d){this.seekTo(this.getCurrentTime()+a,b,c,d)}; g.k.JA=function(){this.Wa.Qa("SEEK_COMPLETE")}; g.k.p$=function(a,b){var c=a.getVideoData();if(1===this.appState||2===this.appState)c.startSeconds=b;2===this.appState?g.JG(a.getPlayerState(),512)||a1(this):this.Wa.Qa("SEEK_TO",b)}; g.k.onAirPlayActiveChange=function(){this.Wa.oa("airplayactivechange");this.W.L("html5_external_airplay_events")&&this.Wa.Qa("onAirPlayActiveChange",this.Wa.Kh())}; g.k.onAirPlayAvailabilityChange=function(){this.Wa.oa("airplayavailabilitychange");this.W.L("html5_external_airplay_events")&&this.Wa.Qa("onAirPlayAvailabilityChange",this.Wa.YD())}; g.k.showAirplayPicker=function(){var a;null==(a=this.Gb)||a.uu()}; g.k.WP=function(){this.Wa.oa("beginseeking")}; g.k.bQ=function(){this.Wa.oa("endseeking")}; g.k.getStoryboardFormat=function(a){return(a=g.aU(this,a))?U0(this,a).getVideoData().getStoryboardFormat():null}; g.k.Tj=function(a){return(a=g.aU(this,a))?U0(this,a).getVideoData().Tj():null}; g.k.If=function(a){a=a||this.Gb;var b=!1;if(a){a=a.getVideoData();if(f1(this))a=a===this.Oe.ra.getVideoData();else a:if(b=this.Xc,a===b.j.getVideoData()&&b.B.length)a=!0;else{b=g.v(b.B);for(var c=b.next();!c.done;c=b.next())if(a.Yc===c.value.Yc){a=!0;break a}a=!1}b=a}return b}; g.k.BC=function(a,b,c,d,e,f,h){this.logger.debug(function(){return"Adding video to timeline id="+a.video_id+"\n lengthMs="+d+" enterTimeMs="+e}); var l="",m=f1(this),n;null==(n=g.aU(this))||n.va("appattl",{sstm:this.Oe?1:0,ssenable:this.getVideoData().enableServerStitchedDai,susstm:m});l=m?o0a(this.Oe,a,b,c,d,e,f,h):X0a(this.Xc,a,c,d,e,f);this.logger.debug(function(){return"Video added to timeline id="+a.video_id+" timelinePlaybackId="+l}); return l}; g.k.VD=function(a,b,c,d,e,f,h){if(f1(this)){var l=o0a(this.Oe,a,b,c,d,e,f,h);this.logger.debug(function(){return"Remaining video added to timeline id="+a.video_id+" timelinePlaybackId="+l})}return""}; g.k.Wt=function(a){var b;null==(b=this.Oe)||b.Wt(a)}; g.k.Qy=function(a,b){a=void 0===a?-1:a;b=void 0===b?Infinity:b;f1(this)||f1a(this.Xc,a,b)}; g.k.ZF=function(a,b,c){if(f1(this)){var d=this.Oe,e=d.pd.get(a);e?(void 0===c&&(c=e.Ud),e.durationMs=b,e.Ud=c):d.nE("Invalid_timelinePlaybackId_"+a+"_specified")}else{d=this.Xc;e=null;for(var f=g.v(d.B),h=f.next();!h.done;h=f.next())if(h=h.value,h.Yc===a){e=h;break}e?(void 0===c&&(c=e.Ud),e1a(d,e,b,c)):IY(d,"InvalidTimelinePlaybackId timelinePlaybackId="+a)}}; g.k.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;d=void 0===d?"":d;this.If();a=new g.aT(this.W,a);d&&(a.Yc=d);fbb(this,a,b,c)}; g.k.queueNextVideo=function(a,b,c,d,e){c=void 0===c?NaN:c;a=this.preloadVideoByPlayerVars(a,void 0===b?1:b,c,void 0===d?"":d,void 0===e?"":e);b=this.Bd();a&&b&&(c=this.xo.Z,d=b.getVideoData(),e=a.getVideoData(),d.U().supportsGaplessShorts()?d.fl||e.fl?c={nq:"autoplay"}:d.Y?(c=H_a(c,b,a,Infinity),c=null!=c?{nq:c.msg}:null):c={nq:"client"}:c={nq:"env"},null!=c?(b.va("sgap",c),b.getVideoData().Y&&(b.videoData.Y=!1,b.Ba&&J_(b.Ba))):(a=a.getVideoData(),b=this.C0,b.j!==a&&(b.j=a,b.B=1,a.isLoaded()?b.C(): b.j.subscribe("dataloaded",b.C,b))))}; g.k.yH=function(a,b,c,d){var e=this;c=void 0===c?0:c;d=void 0===d?0:d;var f=g.aU(this);f&&(U0(this,f).o0=!0);V_a(this.xo,a,b,c,d).then(function(){e.Wa.Qa("onQueuedVideoLoaded")},function(){})}; g.k.gw=function(){return this.xo.gw()}; g.k.clearQueue=function(){this.logger.debug("Clearing queue");this.xo.clearQueue()}; g.k.loadVideoByPlayerVars=function(a,b,c,d,e){b=void 0===b?1:b;if(2===b&&this.Fd().enableServerStitchedDai&&this.xb&&!G_(this.xb)){var f;null==(f=this.xb)||f.va("lvonss",{vid:(null==a?void 0:a.videoId)||"",ptype:b});return!1}var h=!1;f=new g.aT(this.W,a);g.qS(this.W)&&!f.fl&&sV(this.Vb);var l,m=null!=(l=f.Ka)?l:"";this.Vb.timerName=m;this.Vb.Ci("pl_i");this.L("web_player_early_cpn")&&f.clientPlaybackNonce&&this.Vb.UD({clientPlaybackNonce:f.clientPlaybackNonce});if(this.U().supportsGaplessShorts()&& !this.L("html5_shorts_gapless_always_fallback")){l=Y_a(this.xo,f,b);if(null==l){T0(this,-1);a=this.xo;a.app.setLoopRange(null);a.app.getVideoData().bC=!0;var n,p;null==(n=a.j)||null==(p=n.Ba)||p.resume();var q;null==(q=a.j)||HY(q.wc());a.app.seekTo(X_a(a));if(!a.app.Qb(b).isPlaying()){var r;null==(r=g.aU(a.app))||r.playVideo(!0)}a.K();return!0}this.xo.clearQueue();var t;null==(t=g.aU(this))||t.va("sgap",{f:l})}if(e){for(;f.nm.length&&f.nm[0].isExpired();)f.nm.shift();n=f.nm.length-1;h=0Math.random()&&g.gD("autoplayTriggered",{intentional:this.yX});this.aY=!1;BVa(this.Dd);this.L("web_player_defer_ad")&&Oab(this);this.Wa.Qa("onPlaybackStartExternal");(this.W.L("mweb_client_log_screen_associated"),iS(this.W))||a();var c={};this.getVideoData().G&&(c.cttAuthInfo={token:this.getVideoData().G,videoId:this.getVideoData().videoId});c.sampleRate= 20;RH("player_att",c);if(this.getVideoData().botguardData||this.L("fetch_att_independently"))g.oS(this.W)||"MWEB"===g.BR(this.W)?g.$C(g.bD(),function(){b1(b)}):b1(this); this.wK();Wab(this)}; g.k.hQ=function(){this.Wa.oa("internalAbandon");g1(this)}; g.k.onApiChange=function(){this.W.K&&this.Gb?this.Wa.Qa("onApiChange",this.Gb.getPlayerType()):this.Wa.Qa("onApiChange")}; g.k.r9=function(){var a=this.mediaElement;a={volume:g.me(Math.floor(100*a.getVolume()),0,100),muted:a.VH()};a.muted||d1(this,!1);this.Di=g.qd(a);this.Wa.Qa("onVolumeChange",a)}; g.k.mutedAutoplay=function(){var a=this.getVideoData().videoId;isNaN(this.KP)&&(this.KP=this.getVideoData().startSeconds);a&&(this.loadVideoByPlayerVars({video_id:a,playmuted:!0,start:this.KP}),this.Wa.Qa("onMutedAutoplayStarts"))}; g.k.onFullscreenChange=function(){var a=pbb(this);this.xm(a?1:0);rbb(this,!!a)}; g.k.xm=function(a){var b=!!a,c=!!this.rz()!==b;this.visibility.xm(a);this.template.xm(b);this.L("html5_media_fullscreen")&&!b&&this.mediaElement&&pbb(this)===this.mediaElement.Ab()&&this.mediaElement.fD();this.template.resize();c&&this.Vb.tick("fsc");c&&(this.Wa.oa("fullscreentoggled",b),a=this.Fd(),b={fullscreen:b,videoId:a.dM||a.videoId,time:this.getCurrentTime()},this.Wa.getPlaylistId()&&(b.listId=this.Wa.getPlaylistId()),this.Wa.Qa("onFullscreenChange",b))}; g.k.isFullscreen=function(){return this.visibility.isFullscreen()}; g.k.rz=function(){return this.visibility.rz()}; g.k.d$=function(){this.Gb&&(0!==this.rz()&&1!==this.rz()||this.xm(pbb(this)?1:0),this.W.Cm&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.mediaElement&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.mediaElement.fD())}; g.k.j9=function(a){3!==this.getPresentingPlayerType()&&this.Wa.oa("liveviewshift",a)}; g.k.playVideo=function(a){this.logger.debug(function(){return"play video, player type "+a}); var b=g.aU(this,a);b&&(2===this.appState?(g.qS(this.W)&&sV(this.Vb),a1(this)):g.JG(b.getPlayerState(),2)?(this.seekTo(0),this.W.Nc()&&b.va("szro",{})):b.playVideo())}; g.k.pauseVideo=function(a,b){(a=g.aU(this,a))&&a.pauseVideo(b)}; g.k.stopVideo=function(a){a=void 0===a?!1:a;this.logger.debug(function(){return"stop video"}); var b=this.xb.getVideoData(),c=new g.aT(this.W,{video_id:b.dM||b.videoId,oauth_token:b.oauthToken});c.Z=g.qd(b.Z);a&&(c.qU=!0);this.cancelPlayback(6);j1(this,c,1)}; g.k.cancelPlayback=function(a,b){var c=this;this.logger.debug(function(){return"start cancel playback, type "+b}); var d=g.aU(this,b);d?2===b&&1===d.getPlayerType()&&WRa(this.Fd())?d.va("canclpb",{r:"no_adpb_ssdai"}):(this.W.Nc()&&d.va("canclpb",{r:a}),1===this.appState||2===this.appState?this.logger.debug(function(){return"cancel playback end, app not started, state "+c.appState}):(d===this.Gb&&(this.logger.debug("cancel playback, destroy modules"),JV(this.Dd,a)),1===b&&(d.stopVideo(),g1(this)),d.Zn(void 0,6!==a),S0(this,"cuerangesremoved",d.fm()),d.Mi.reset(),this.xo&&d.isGapless()&&(d.yj(!0),d.setMediaElement(this.mediaElement)))): this.logger.debug("cancel playback end, no player to cancel")}; g.k.sendVideoStatsEngageEvent=function(a,b,c){(b=g.aU(this,b))&&zPa(this.W,a)?b.sendVideoStatsEngageEvent(a,c):c&&c()}; g.k.Sj=function(a){var b=g.aU(this);return b&&zPa(this.W,a)?b.Sj(a):null}; g.k.updatePlaylist=function(){mS(this.W)?Z0(this):g.YR(this.W)&&Qab(this);this.Wa.Qa("onPlaylistUpdate")}; g.k.setSizeStyle=function(a,b){this.u_=a;this.fP=b;this.Wa.oa("sizestylechange",a,b);this.template.resize()}; g.k.hw=function(){return this.fP}; g.k.pg=function(){return this.visibility.pg()}; g.k.isInline=function(){return this.visibility.isInline()}; g.k.Ft=function(){return this.visibility.Ft()}; g.k.Oz=function(){return this.visibility.Oz()}; g.k.dP=function(){return this.u_}; g.k.getAdState=function(){if(3===this.getPresentingPlayerType())return kU(this.Dd).getAdState();if(!this.If()){var a=KV(this.zb());if(a)return a.getAdState()}return-1}; g.k.c$=function(a){var b=this.template.getVideoContentRect();Tr(this.PX,b)||(this.PX=b,this.Gb&&L0(this.Gb),this.xb&&this.xb!==this.Gb&&L0(this.xb),1===this.rz()&&this.PE&&rbb(this,!0));this.nP&&g.ve(this.nP,a)||(this.Wa.oa("appresize",a),this.nP=a)}; g.k.Mh=function(){return this.Wa.Mh()}; g.k.v$=function(){2===this.getPresentingPlayerType()&&this.Xc.isManifestless()?d1a(this.Xc):(this.Oe&&(u0a(this.Oe),g1(this)),Jab(this,"signature"))}; g.k.WY=function(){this.yj();R0(this)}; g.k.x9=function(a){"manifest.net.badstatus"===a.errorCode&&a.details.rc===(this.W.experiments.jb("html5_use_network_error_code_enums")?401:"401")&&this.Wa.Qa("onPlayerRequestAuthFailed")}; g.k.zE=function(){this.Wa.Qa("CONNECTION_ISSUE")}; g.k.CE=function(a){this.Wa.oa("heartbeatparams",a)}; g.k.nK=function(a){this.Wa.Qa("onAutonavChangeRequest",1!==a)}; g.k.kf=function(){return this.mediaElement}; g.k.setBlackout=function(a){this.W.Jb!==a&&(this.W.Jb=a,this.Gb&&(this.Gb.zo(),this.W.Ya&&tbb(this),this.Gb.Yn(a)))}; g.k.z9=function(){var a=g.aU(this);if(a){var b=!this.Wa.cE();(a.bX=b)||a.uw.stop();a.videoData.j&&(b?a.videoData.j.resume():iOa(a.videoData.j));a.Ba&&(b?a.Ba.resume():O0(a,!0));g.JG(a.playerState,2)||b?g.JG(a.playerState,512)&&b&&a.xc(EL(a.playerState,512)):a.xc(DL(a.playerState,512));a=a.wc();a.qoe&&(a=a.qoe,g.Z_(a,g.tN(a.provider),"stream",[b?"A":"I"]))}}; g.k.onLoadedMetadata=function(){this.Wa.Qa("onLoadedMetadata")}; g.k.onDrmOutputRestricted=function(){this.Wa.Qa("onDrmOutputRestricted")}; g.k.GM=function(){Kib=this.L("html5_use_async_stopVideo");Lib=this.L("html5_pause_for_async_stopVideo");Jib=this.L("html5_not_reset_media_source");JBa=this.L("html5_rebase_video_to_ad_timeline");wBa=this.L("html5_not_reset_media_source");Iib=this.L("html5_not_reset_media_source");tBa=this.L("html5_retain_source_buffer_appends_for_debugging");this.L("html5_mediastream_applies_timestamp_offset")&&(GZ=!0);this.L("html5_support_managed_media_source")&&(rL=oBa=!0);VMa=this.L("html5_prefer_slice_length"); hjb=this.L("html5_use_target_duration");var a=g.rJ(this.W.experiments,"html5_cobalt_override_quic");a&&bY("QUIC",+(0=this.B.startSecs&&c.startSecs<=this.B.startSecs+this.B.Xh)?HG("Latest Endemic Live Web cue point overlaps with previous cue point"):(this.B=c,Kcb(this, c)))}}; g.k.ya=function(){null!=this.j&&(this.j.unsubscribe("cuepointupdated",this.aQ,this),this.j=null);this.listeners.length=0;this.XK.length=0;g.J.prototype.ya.call(this)};R1.prototype.addPlayerResponseForAssociation=function(a){this.J.addPlayerResponseForAssociation(a)};g.k=T1.prototype;g.k.BC=function(a,b,c,d,e,f,h){return this.J.BC(a,b,c,d,e,f,h)}; g.k.Qy=function(a,b){this.J.Qy(a,b)}; g.k.ZF=function(a,b,c){this.J.ZF(a,b,c)}; g.k.Wt=function(a){this.J.Wt(a)}; g.k.VD=function(a,b,c,d,e,f,h){this.J.VD(a,b,c,d,e,f,h)}; g.k.Mr=function(){return this.J.Mr()}; g.k.finishSegmentByCpn=function(a,b){this.J.finishSegmentByCpn(a,b)};g.w(Ocb,g.J);g.w(Pcb,g.J);g.w(Qcb,g.J);g.w(Rcb,g.J);g.w(Scb,g.J);g.w(Tcb,g.J);g.w(Vcb,g.J);Vcb.prototype.C=function(){return this.B};g.w(W1,ocb);W1.prototype.B=function(){return this.Wm?g.wS(this.Wm.U(),g.LT(this.Wm)):bC("")}; W1.prototype.D=function(){return this.Wm?this.Wm.U().pageId:""}; W1.prototype.C=function(){return this.Wm?this.Wm.U().qa:""}; W1.prototype.j=function(){return this.Wm?this.Wm.U().experiments:void 0};g.w(Xcb,vG); Xcb.prototype.D=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.Qa("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,shoppingCompanionCarouselRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.j,interactionLoggingClientData:b.interactionLoggingClientData});break;case 3:this.j.Qa("updateKevlarOrC3Companion",{})}else if("action-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1); this.j.Qa("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,actionCompanionAdRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.j,interactionLoggingClientData:b.interactionLoggingClientData});break;case 3:b.renderer&&(b=this.j.getVideoData(1),this.j.Qa("updateKevlarOrC3Companion",{contentVideoId:b&&b.videoId})),this.j.Qa("updateKevlarOrC3Companion",{})}else if("image-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1);this.j.Qa("updateKevlarOrC3Companion", {contentVideoId:a&&a.videoId,imageCompanionAdRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.j,interactionLoggingClientData:b.interactionLoggingClientData});break;case 3:b=this.j.getVideoData(1),this.j.Qa("updateKevlarOrC3Companion",{contentVideoId:b&&b.videoId}),this.j.Qa("updateKevlarOrC3Companion",{})}else if("ads-engagement-panel"===b.componentType)switch(b=b.renderer,a.actionType){case 1:case 2:this.j.Qa("updateEngagementPanelAction",b.addAction);this.j.Qa("changeEngagementPanelVisibility", b.expandAction);break;case 3:this.j.Qa("changeEngagementPanelVisibility",b.hideAction),this.j.Qa("updateEngagementPanelAction",b.removeAction)}};g.w(Ycb,zG);g.k=Ycb.prototype;g.k.init=function(a,b,c){zG.prototype.init.call(this,a,b,c);g.Vr(this.C,"stroke-dasharray","0 "+this.B);this.api.U().L("enable_dark_mode_style_endcap_timed_pie_countdown")&&(this.C.classList.add("ytp-ad-timed-pie-countdown-inner-light"),this.G.classList.add("ytp-ad-timed-pie-countdown-outer-light"));this.api.U().L("enable_dsa_ad_badge_for_action_endcap_on_web")&&this.D.classList.add("ytp-ad-timed-pie-countdown-container-upper-right");this.show()}; g.k.clear=function(){this.hide()}; g.k.hide=function(){BG(this);zG.prototype.hide.call(this)}; g.k.show=function(){AG(this);zG.prototype.show.call(this)}; g.k.Wp=function(){this.hide()}; g.k.Wn=function(){if(this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&g.Vr(this.C,"stroke-dasharray",a.current/a.seekableEnd*this.B+" "+this.B)}};g.w(Zcb,bG);g.k=Zcb.prototype; g.k.init=function(a,b,c){bG.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&&g.U(b.actionButton,g.bN))if(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a)g.AF(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.D.hide(),this.qa=!0):this.messageText&&this.messageText.isTemplated()&&(a=Math.max(0,Math.ceil((this.C-a)/1E3)),a!==this.G&&(mwa(this.messageText,{TIME_REMAINING:String(a)}),this.G=a)))}};g.w(ndb,bG);g.k=ndb.prototype; g.k.init=function(a,b,c){bG.prototype.init.call(this,a,b,{});b.image&&b.image.thumbnail?b.headline?b.description?b.actionButton&&g.U(b.actionButton,g.bN)?(this.C.init(RF("ad-image"),b.image,c),this.B.init(RF("ad-text"),b.headline,c),this.D.init(RF("ad-text"),b.description,c),a=["ytp-ad-underlay-action-button"],this.api.U().L("use_blue_buttons_for_desktop_player_underlay")&&a.push("ytp-ad-underlay-action-button-blue"),this.actionButton=new lG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib, a),b.backgroundColor&&g.Vr(this.element,"background-color",g.$G(b.backgroundColor)),g.L(this,this.actionButton),this.actionButton.Da(this.G),this.actionButton.init(RF("button"),g.U(b.actionButton,g.bN),c),b=g.rJ(this.api.U().experiments,"player_underlay_video_width_fraction"),this.api.U().L("place_shrunken_video_on_left_of_player")?(c=this.j,g.Lu(c,"ytp-ad-underlay-left-container"),g.Ju(c,"ytp-ad-underlay-right-container"),g.Vr(this.j,"margin-left",Math.round(100*(b+.02))+"%")):(c=this.j,g.Lu(c,"ytp-ad-underlay-right-container"), g.Ju(c,"ytp-ad-underlay-left-container")),g.Vr(this.j,"width",Math.round(100*(1-b-.04))+"%"),this.api.eE()&&this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.US.bind(this)),this.api.addEventListener("resize",this.XW.bind(this))):g.AF(Error("InstreamAdPlayerUnderlayRenderer has no button.")):g.AF(Error("InstreamAdPlayerUnderlayRenderer has no description AdText.")):g.AF(Error("InstreamAdPlayerUnderlayRenderer has no headline AdText.")):g.AF(Error("InstreamAdPlayerUnderlayRenderer has no image."))}; g.k.show=function(){odb(!0);this.actionButton&&this.actionButton.show();bG.prototype.show.call(this)}; g.k.hide=function(){odb(!1);this.actionButton&&this.actionButton.hide();bG.prototype.hide.call(this)}; g.k.clear=function(){this.api.removeEventListener("playerUnderlayVisibilityChange",this.US.bind(this));this.api.removeEventListener("resize",this.XW.bind(this));this.hide()}; g.k.onClick=function(a){bG.prototype.onClick.call(this,a);this.actionButton&&g.zf(this.actionButton.element,a.target)&&this.api.pauseVideo()}; g.k.US=function(a){"transitioning"===a?(this.j.classList.remove("ytp-ad-underlay-clickable"),this.show()):"visible"===a?this.j.classList.add("ytp-ad-underlay-clickable"):"hidden"===a&&(this.hide(),this.j.classList.remove("ytp-ad-underlay-clickable"))}; g.k.XW=function(a){1200a)g.AF(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+a));else if(b.timeoutCommands)if(b.text)if(b.ctaButton&&g.U(b.ctaButton,g.bN))if(b.brandImage)if(b.backgroundImage&&g.U(b.backgroundImage,cN)&&g.U(b.backgroundImage,cN).landscape){this.layoutId||g.AF(Error("Missing layoutId for survey interstitial."));Edb(this.interstitial, g.U(b.backgroundImage,cN).landscape);Edb(this.logoImage,b.brandImage);g.Af(this.text,g.dG(b.text));var e=["ytp-ad-survey-interstitial-action-button"];this.api.U().L("web_modern_buttons_bl_survey")&&e.push("ytp-ad-survey-interstitial-action-button-rounded");this.actionButton=new lG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,e);g.L(this,this.actionButton);this.actionButton.Da(this.B);this.actionButton.init(RF("button"),g.U(b.ctaButton,g.bN),c);this.actionButton.show();this.j=new QG(this.api, 1E3*a);this.j.subscribe("g",function(){d.transition.hide()}); g.L(this,this.j);this.T(this.element,"click",function(f){var h=f.target===d.interstitial;f=d.actionButton.element.contains(f.target);if(h||f)if(d.transition.hide(),h)d.api.onAdUxClicked(d.componentType,d.layoutId)}); this.transition.show(100)}else g.AF(Error("SurveyTextInterstitialRenderer has no landscape background image."));else g.AF(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.AF(Error("SurveyTextInterstitialRenderer has no button."));else g.AF(Error("SurveyTextInterstitialRenderer has no text."));else g.AF(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; g2.prototype.clear=function(){this.hide()}; g2.prototype.show=function(){Fdb(!0);bG.prototype.show.call(this)}; g2.prototype.hide=function(){Fdb(!1);bG.prototype.hide.call(this)};g.w(h2,zG);g.k=h2.prototype; g.k.init=function(a,b){zG.prototype.init.call(this,a,b,{});if(b.durationMilliseconds){if(0>b.durationMilliseconds){g.AF(Error("DurationMilliseconds was specified incorrectly in AdPreview with a value of: "+b.durationMilliseconds));return}this.B=b.durationMilliseconds}else this.B=this.j.dn();var c;if(null==(c=b.previewText)||!c.text||g.gc(b.previewText.text))g.AF(Error("No text is returned for AdPreview."));else{this.D=b.previewText;b.previewText.isTemplated||g.Af(this.G,b.previewText.text);var d; if(null==(d=this.api.getVideoData(1))?0:d.Km)if(b.previewImage){var e,f;(a=(null==(f=cya((null==(e=b.previewImage)?void 0:e.sources)||[],52,!1))?void 0:f.url)||"")&&a.length?(this.previewImage=new g.aG({I:"img",S:"ytp-preview-ad__image",X:{src:"{{imageUrl}}"}}),this.previewImage.updateValue("imageUrl",a),g.L(this,this.previewImage),this.previewImage.Da(this.element)):g.AF(Error("Failed to get imageUrl in AdPreview."))}else g.AF(Error("No image is returned for AdPreview."))}}; g.k.clear=function(){this.hide()}; g.k.hide=function(){BG(this);zG.prototype.hide.call(this)}; g.k.show=function(){AG(this);zG.prototype.show.call(this)}; g.k.Wp=function(){this.hide()}; g.k.Wn=function(){if(this.j){var a=this.j.getProgressState();if(null!=a&&a.current)if(a=1E3*a.current,a>=this.B)this.transition.hide();else{var b;if(null==(b=this.D)?0:b.isTemplated)if(b=Math.max(0,Math.ceil((this.B-a)/1E3)),b!==this.C){var c,d;(a=null==(c=this.D)?void 0:null==(d=c.text)?void 0:d.replace("{TIME_REMAINING}",String(b)))&&g.Af(this.G,a);this.C=b}}}};g.w(i2,bG); i2.prototype.init=function(a,b){bG.prototype.init.call(this,a,b,{});var c,d;if((a=(null==(d=cya((null==(c=b.image)?void 0:c.sources)||[],Gdb(b),!0))?void 0:d.url)||"")&&a.length){c=this.Ga("ytp-ad-avatar");c.src=a;var e,f;if(d=null==(e=b.interaction)?void 0:null==(f=e.accessibility)?void 0:f.label)c.alt=d;switch(b.size){case "AD_AVATAR_SIZE_XXS":this.element.classList.add("ytp-ad-avatar--size-xxs");break;case "AD_AVATAR_SIZE_XS":this.element.classList.add("ytp-ad-avatar--size-xs");break;case "AD_AVATAR_SIZE_S":this.element.classList.add("ytp-ad-avatar--size-s"); break;case "AD_AVATAR_SIZE_M":this.element.classList.add("ytp-ad-avatar--size-m");break;case "AD_AVATAR_SIZE_L":this.element.classList.add("ytp-ad-avatar--size-l");break;case "AD_AVATAR_SIZE_XL":this.element.classList.add("ytp-ad-avatar--size-xl");break;default:this.element.classList.add("ytp-ad-avatar--size-m")}switch(b.style){case "AD_AVATAR_STYLE_ROUNDED_CORNER":this.element.classList.add("ytp-ad-avatar--rounded-corner");break;default:this.element.classList.add("ytp-ad-avatar--circular")}}else g.AF(Error("Failed to get imageUrl in AdAvatar."))}; i2.prototype.clear=function(){this.hide()}; i2.prototype.onClick=function(a){a.stopPropagation();bG.prototype.onClick.call(this,a)};g.w(j2,bG); j2.prototype.init=function(a,b){bG.prototype.init.call(this,a,b,{});var c;a=null==(c=b.label)?void 0:c.content;if((c=null!=a&&!g.gc(a))||b.icon){c&&(this.buttonText=new g.aG({I:"span",S:"ytp-ad-button__text",xa:a}),g.L(this,this.buttonText),this.buttonText.Da(this.element));var d,e,f=(null==(d=b.interaction)?0:null==(e=d.accessibility)?0:e.label)||c?a:"";f&&xu(this.element,f+" This link opens in new tab");vu(this.element);b.icon&&(d=kG(b.icon),null!=d&&(this.buttonIcon=new g.aG({I:"span",S:"ytp-ad-button__icon", V:[d]}),g.L(this,this.buttonIcon),b.iconLeading?(g.qf(this.element,this.buttonIcon.element,0),this.buttonIcon.element.classList.add("ytp-ad-button__icon--leading")):(this.buttonIcon.Da(this.element),this.buttonIcon.element.classList.add("ytp-ad-button__icon--trailing"))));this.element.classList.add("ytp-ad-button--style-filled");switch(b.size){case "AD_BUTTON_SIZE_COMPACT":this.element.classList.add("ytp-ad-button--size-compact");break;case "AD_BUTTON_SIZE_LARGE":this.element.classList.add("ytp-ad-button--size-large"); break;default:this.element.classList.add("ytp-ad-button--size-default")}}else g.BF(Error("AdButton does not have label or an icon."))}; j2.prototype.clear=function(){this.hide()}; j2.prototype.onClick=function(a){a.stopPropagation();bG.prototype.onClick.call(this,a)};g.w(k2,bG);k2.prototype.init=function(a,b){bG.prototype.init.call(this,a,b,{});if(a=b.content){g.Af(this.element,a);var c,d;b=(null==(c=b.interaction)?void 0:null==(d=c.accessibility)?void 0:d.label)||a;this.element.setAttribute("aria-label",b)}else g.AF(Error("AdSimpleAttributedString does not have text content"))}; k2.prototype.clear=function(){this.hide()}; k2.prototype.onClick=function(a){a.stopPropagation();bG.prototype.onClick.call(this,a)};g.w(Jdb,zG);g.k=Jdb.prototype; g.k.init=function(a,b){zG.prototype.init.call(this,a,b,{});if(a=g.U(b.avatar,agb)){var c=b.headline;if(c){var d=b.description;if(d){var e=g.U(b.button,bgb);e?(this.adAvatar.init(RF("ad-avatar"),a),this.headline.init(RF("ad-simple-attributed-string"),new Idb(c)),this.description.init(RF("ad-simple-attributed-string"),new Idb(d)),this.adButton.init(RF("ad-button"),e),this.B=b.startMs||0,this.api.eE()||this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.VS.bind(this)),AG(this)): g.AF(Error("No AdButtonViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.AF(Error("No description is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.AF(Error("No headline is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.AF(Error("No AdAvatarViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}; g.k.Wn=function(){if(this.j){var a=this.j.getProgressState();a&&a.current&&1E3*a.current>=this.B&&(BG(this),this.element.classList.remove("ytp-ad-avatar-lockup-card--inactive"))}}; g.k.Wp=function(){this.clear()}; g.k.onClick=function(a){a.stopPropagation();zG.prototype.onClick.call(this,a);this.api.pauseVideo()}; g.k.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.VS.bind(this))}; g.k.show=function(){this.adAvatar.show();this.headline.show();this.description.show();this.adButton.show();zG.prototype.show.call(this)}; g.k.hide=function(){this.adAvatar.hide();this.headline.hide();this.description.hide();this.adButton.hide();zG.prototype.hide.call(this)}; g.k.VS=function(a){"hidden"===a?this.show():this.hide()};g.w(Kdb,bG);g.k=Kdb.prototype; g.k.init=function(a,b){bG.prototype.init.call(this,a,b,{});if(!b.label||g.gc(b.label))g.AF(Error("No label is returned for SkipAdButton."));else if(g.Af(this.D,b.label),a=kG({iconType:"SKIP_NEXT"}),null==a)g.AF(Error("Unable to retrieve icon for SkipAdButton"));else if(this.C=new g.aG({I:"span",S:"ytp-skip-ad-button__icon",V:[a]}),g.L(this,this.C),this.C.Da(this.element),this.api.U().experiments.jb("enable_skip_to_next_messaging")&&(b=g.ze(b.targetId)))this.B=!0,this.element.setAttribute("data-tooltip-target-id",b), this.element.setAttribute("data-tooltip-target-fixed","")}; g.k.onClick=function(a){a&&a.preventDefault();var b,c,d=null!=(c=null==(b=this.api.getVideoData(1))?void 0:b.clientPlaybackNonce)?c:"";if(!this.api.U().L("ab_sa_ef")||0!==GG(a,{contentCpn:d})){bG.prototype.onClick.call(this,a);if(!this.api.U().L("ab_sa_ef")){var e,f;b={contentCpn:null!=(f=null==(e=this.api.getVideoData(1))?void 0:e.clientPlaybackNonce)?f:""};GG(a,b)}this.api.onAdUxClicked(this.componentType,this.layoutId)}}; g.k.clear=function(){this.j.reset();this.hide()}; g.k.hide=function(){bG.prototype.hide.call(this)}; g.k.show=function(){this.j.start();bG.prototype.show.call(this);this.B&&this.api.U().experiments.jb("enable_skip_to_next_messaging")&&this.api.oa("showpromotooltip",this.element)};g.w(Ldb,zG);g.k=Ldb.prototype;g.k.init=function(a,b){zG.prototype.init.call(this,a,b,{});if(a=g.U(b.preskipState,cgb)){var c=g.U(b.skippableState,egb);c?(null!=b.skipOffsetMilliseconds?this.skipOffsetMilliseconds=b.skipOffsetMilliseconds:(g.BF(Error("No skipOffsetMilliseconds is returned in SkipAdViewModel.")),this.skipOffsetMilliseconds=5E3),this.B.init(RF("preview-ad"),a),this.B.transition.show(100),this.C.init(RF("skip-button"),c),this.show()):g.AF(Error("No SkipAdButtonViewModel is returned in SkipAdViewModel."))}else g.AF(Error("No AdPreviewViewModel is returned in SkipAdViewModel."))}; g.k.show=function(){AG(this);zG.prototype.show.call(this)}; g.k.hide=function(){!this.isSkippable&&this.B?this.B.hide():this.C&&this.C.hide();BG(this);zG.prototype.hide.call(this)}; g.k.clear=function(){this.B&&this.B.clear();this.C&&this.C.clear();BG(this);zG.prototype.hide.call(this)}; g.k.Wp=function(){this.hide()}; g.k.Wn=function(){if(1E3*this.j.getProgressState().current>=this.skipOffsetMilliseconds&&!this.isSkippable){this.isSkippable=!0;var a;null!=(a=this.B)&&a.transition.hide();var b;null!=(b=this.C)&&b.transition.show()}};g.w(l2,bG); l2.prototype.init=function(a,b){bG.prototype.init.call(this,a,b,{});if(b.label||b.icon){var c;(null==(c=b.label)?0:c.content)&&!g.gc(b.label.content)&&(this.linkText=new g.aG({I:"span",S:"ytp-visit-advertiser-link__text",xa:b.label.content}),g.L(this,this.linkText),this.linkText.Da(this.element));b.icon&&(a=kG(b.icon),null!=a&&(this.j=new g.aG({I:"span",S:"ytp-visit-advertiser-link__icon",V:[a]}),g.L(this,this.j),this.j.Da(this.element)));var d,e;if(null==(d=b.interaction)?0:null==(e=d.accessibility)?0: e.label)this.element.setAttribute("aria-label",b.interaction.accessibility.label);else{var f;(null==(f=b.label)?0:f.content)&&!g.gc(b.label.content)&&this.element.setAttribute("aria-label",b.label.content)}this.show()}else g.AF(Error("No label or icon found in VisitAdvertiserLink."))}; l2.prototype.clear=function(){this.hide()};g.w(m2,bG); m2.prototype.init=function(a,b,c,d){bG.prototype.init.call(this,a,b,{});b.skipOrPreview&&(c=b.skipOrPreview,a=g.U(c,fgb),c=g.U(c,cgb),a?(this.vu=new Ldb(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j),g.L(this,this.vu),this.vu.Da(this.D),this.vu.init(RF("skip-ad"),a)):c&&(this.C=new h2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j),g.L(this,this.C),this.C.Da(this.D),this.C.init(RF("ad-preview"),c),this.C.transition.show(100)));b.playerAdCard&&(a= g.U(b.playerAdCard,dgb))&&(this.playerAdCard=new Jdb(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j),g.L(this,this.playerAdCard),this.playerAdCard.Da(this.G),this.playerAdCard.init(RF("ad-avatar-lockup-card"),a));b.adBadgeRenderer&&(a=g.U(b.adBadgeRenderer,Yfb))&&(this.adBadge=new OG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,!0),g.L(this,this.adBadge),this.adBadge.Da(this.B),this.adBadge.init(RF("simple-ad-badge"),a,this.macros));b.adDurationRemaining&& (a=g.U(b.adDurationRemaining,Rfb))&&(this.adDurationRemaining=new UG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,d.videoAdDurationSeconds),g.L(this,this.adDurationRemaining),this.adDurationRemaining.Da(this.B),this.adDurationRemaining.init(RF("ad-duration-remaining"),a,this.macros));b.adInfoRenderer&&(d=g.U(b.adInfoRenderer,$M))&&(this.adInfoButton=new xG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.element),g.L(this,this.adInfoButton),this.adInfoButton.Da(this.B), this.adInfoButton.init(RF("ad-info-hover-text-button"),d,this.macros));b.visitAdvertiserLink&&(b=g.U(b.visitAdvertiserLink,ggb))&&(this.visitAdvertiserLink=new l2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),g.L(this,this.visitAdvertiserLink),this.visitAdvertiserLink.Da(this.B),this.visitAdvertiserLink.init(RF("visit-advertiser-link"),b));this.show()}; m2.prototype.clear=function(){this.hide()};var Ejb="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.w(n2,vG); n2.prototype.D=function(a){var b=a.id,c=a.content,d=c.componentType;if(!Ejb.includes(d))switch(a.actionType){case 1:a=this.api;var e=this.ib,f=c.layoutId,h=c.interactionLoggingClientData,l=c instanceof qK?c.TR:!1,m=c instanceof qK||c instanceof PG?c.FK:!1;h=void 0===h?{}:h;l=void 0===l?!1:l;m=void 0===m?!1:m;switch(d){case "invideo-overlay":a=new ddb(a,f,h,e);break;case "player-overlay":a=new YG(a,f,h,e,new $V(a),m);break;case "player-overlay-layout":a=new m2(a,f,h,e,new $V(a));break;case "survey":a= new f2(a,f,h,e);break;case "ad-action-interstitial":a=new Zcb(a,f,h,e,l,m);break;case "survey-interstitial":a=new g2(a,f,h,e);break;case "ad-message":a=new ldb(a,f,h,e,new $V(a,1));break;case "player-underlay":a=new ndb(a,f,h,e);break;default:a=null}if(!a){g.BF(Error("No UI component returned from ComponentFactory for type: "+d));break}g.gd(this.B,b)?g.BF(Error("Ad UI component already registered: "+b)):this.B[b]=a;a.bind(c);c instanceof IAa?this.C?this.C.append(a.zR):g.AF(Error("Underlay view was not created but UnderlayRenderer was created")): this.G.append(a.zR);break;case 2:b=Mdb(this,a);if(null==b)break;b.bind(c);break;case 3:c=Mdb(this,a),null!=c&&(g.sb(c),g.gd(this.B,b)?g.kd(this.B,b):g.BF(Error("Ad UI component does not exist: "+b)))}}; n2.prototype.ya=function(){g.tb(Object.values(this.B));this.B={};vG.prototype.ya.call(this)};g.w(Ndb,g.wV);g.k=Ndb.prototype;g.k.create=function(){try{Odb(this),this.load(),this.created=!0,Odb(this)}catch(a){HG(a instanceof Error?a:String(a))}}; g.k.load=function(){try{Rdb(this)}finally{w1(V1(this.j).Qj)&&this.player.Ag("ad",1)}}; g.k.destroy=function(){var a=this.player.getVideoData(1);this.j.j.Tt.Pn(a&&a.clientPlaybackNonce||"");this.unload();this.created=!1}; g.k.unload=function(){g.wV.prototype.unload.call(this);try{this.player.getRootNode().classList.remove("ad-created")}catch(b){HG(b instanceof Error?b:String(b))}if(null!=this.B){var a=this.B;this.B=null;a.dispose()}this.C.reset()}; g.k.Al=function(){return!1}; g.k.getAdState=function(){return-1}; g.k.getOptions=function(){return Object.values(Cjb)}; g.k.Dh=function(a,b){b=void 0===b?{}:b;switch(a){case "replaceUrlMacros":return a=b,a.url?(b=lcb(this.player),Object.assign(b,a.Sgb),a=g.pu(a.url,b)):a=null,a;case "onAboutThisAdPopupClosed":this.Op(b);break;case "executeCommand":a=b;a.command&&a.layoutId&&this.executeCommand(a);break;default:return null}}; g.k.Ut=function(a){var b;return!(null==(b=this.j.j.Ef)||!b.get().Ut(a))}; g.k.Op=function(a){a.isMuted&&lya(V1(this.j).qj,V1(this.j).Xk,a.layoutId);this.As&&this.As.Op()}; g.k.executeCommand=function(a){V1(this.j).ib.executeCommand(a.command,a.layoutId)};g.Sa("yt.player.Application.create",g.Q0.create);g.Sa("yt.player.Application.createAlternate",g.Q0.create);Bua(Dua(),{rr:[{qA:/Unable to load player module/,weight:20},{qA:/Failed to fetch/,weight:500},{qA:/XHR API fetch failed/,weight:10},{qA:/JSON parsing failed after XHR fetch/,weight:10},{qA:/Retrying OnePlatform request/,weight:10},{qA:/CSN Missing or undefined during playback association/,weight:100}]});var Fjb=g.Ta("ytcsi.tick");Fjb&&Fjb("pe");g.vV("ad",Ndb);var Wdb=g.af&&Vdb();g.Gjb=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.Sa("yt.msgs_",g.Gjb);g.w(g.q2,g.J);g.q2.prototype.start=function(a,b,c){this.config={from:a,to:b,duration:c,startTime:(0,g.vD)()};this.next()}; g.q2.prototype.stop=function(){this.delay.stop();this.config=void 0}; g.q2.prototype.next=function(){if(this.config){var a=this.config,b=a.from,c=a.to,d=a.duration;a=a.startTime;var e=(0,g.vD)()-a;a=this.j;d=sla(a,e/d);if(0==d)a=a.C;else if(1==d)a=a.D;else{e=oe(a.C,a.y1,d);var f=oe(a.y1,a.y2,d);a=oe(a.y2,a.D,d);e=oe(e,f,d);f=oe(f,a,d);a=oe(e,f,d)}a=g.me(a,0,1);this.callback(b+(c-b)*a);1>a&&this.delay.start()}};g.w(g.r2,g.V);g.k=g.r2.prototype;g.k.SD=function(){return 0