var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var _yt_player={};(function(g){var window=this;/* (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. */ /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ /* SPDX-License-Identifier: Apache-2.0 */ 'use strict';var aa,baa,caa,fa,daa,eaa,faa,ha,ka,ma,na,jaa,kaa,ua,xa,laa,maa,za,naa,Ba,Ca,Da,Ha,oaa,qaa,raa,Ta,saa,Va,Wa,Xa,bb,db,taa,uaa,ib,waa,xaa,wb,yaa,Bb,zaa,Aaa,yb,Baa,Caa,Daa,Faa,Eaa,Gaa,Lb,Haa,Mb,Ob,Qb,Ub,dc,ec,gc,hc,ic,jc,Paa,kc,mc,lc,Qaa,Raa,Saa,nc,oc,Taa,pc,rc,sc,Uaa,Vaa,tc,vc,Xaa,Yaa,$aa,Cc,Dc,cba,Ec,Hc,dba,eba,Kc,Qc,fba,iba,cd,ed,jba,kba,fd,pba,rd,mba,oba,id,hd,zd,Ad,qba,Bd,rba,Dd,Ed,sba,Kd,Ld,Md,Od,wba,xba,Pd,zba,Cba,Qd,Rd,Eba,Jba,Td,Yd,Zd,Lba,Kba,Qba,Rba,be,Sba,Uba,Vba,Wba,fe,ge,$ba, ke,le,ne,qe,se,ve,we,aca,bca,cca,dca,ze,Ae,Ie,gca,ica,hca,Ke,Me,jca,Le,kca,ye,af,mca,cf,bf,xe,ef,nca,oca,ff,gf,pca,rca,tca,qf,rf,sf,xca,uf,yca,tf,Cca,of,vca,Eca,Bca,zca,Aca,Fca,Dca,vf,Af,Hca,Ica,Jca,Kca,Lca,Mca,Nca,Oca,Cf,Pca,Df,Qca,Tca,Uca,Vca,$ca,Hf,Zca,Wca,bda,dda,fda,Jf,Mf,ida,Of,Pf,Rf,Qf,kda,Sf,mda,oda,lda,Vf,Xf,Wf,Yf,Zf,$f,ag,pda,rda,cg,sda,tda,dg,eg,hg,vda,wda,yda,zda,Bda,sg,Cda,tg,Dda,ug,Eda,vg,Fda,Gda,Hda,wg,Ida,xg,zg,Jda,Kda,Ag,Bg,Cg,Dg,Lda,Mda,Eg,Fg,Gg,Ig,Hg,Jg,Mg,Nda,Oda,Pda,Qda,Rda,Sda, Ng,Vda,Uda,Wda,H,Qg,Rg,Tg,Yda,Ug,Vg,Zda,$da,Wg,aea,Xg,Yg,$g,Zg,bea,Xda,bh,cea,ch,I,dh,eh,fh,gh,dea,hh,oh,ph,eea,ih,rh,fea,sh,gea,hea,iea,jea,uh,kea,lea,mea,oea,nea,wh,ah,J,pea,qea,tea,uea,wea,xea,yea,zea,Aea,rea,sea,Cea,Dea,Eea,Fea,Ch,Gea,Hea,Iea,Jea,yh,vea,Bea,Dh,Eh,Fh,Gh,Kea,Lea,Mea,Nea,Hh,Pea,Ih,Qea,Sea,Jh,Kh,Uea,Vea,Wea,Lh,Zea,afa,bfa,dfa,cfa,efa,Uh,Vh,Wh,gfa,hfa,ifa,Xh,kfa,ai,lfa,ofa,bi,ci,pfa,di,ei,rfa,sfa,ii,ji,ki,tfa,mi,si,ufa,ti,ui,xfa,zfa,Afa,Cfa,Bfa,Dfa,wi,Efa,zi,Di,Ei,Fi,qh,Jfa,Gi,Mfa, Ofa,Pfa,Ii,Rfa,Sfa,Tfa,Vfa,Ufa,Wfa,Qfa,Hi,Xfa,Yfa,$fa,Ji,Ki,aga,Li,Mi,cga,dga,Ni,Vi,Wi,Xi,Yi,ega,Zi,fga,gga,hga,kga,iga,$i,lga,aj,mga,nga,bj,dj,oga,pga,qga,ej,rga,fj,gj,hj,uga,ij,jj,kj,nj,vga,xga,wga,yga,zga,Aga,oj,pj,Bga,Dga,Gga,qj,rj,sj,tj,Hga,uj,vj,wj,xj,Mga,Jga,Aj,Lga,Bj,Kga,zj,yj,Dj,Oga,Fj,Ej,Pga,Qga,Qj,Rj,Tj,Tga,Sj,Wj,Uga,Xj,Rga,Xga,Yga,Zga,ak,bk,ck,$ga,dk,ek,fk,gk,aha,hk,ik,jk,bha,cha,kk,dha,Ega,gha,hha,iha,jha,eha,kha,lha,lk,mk,ok,pk,qk,rk,sk,mha,tk,nk,uk,vk,nha,oha,pha,qha,rha,sha,tha,uha, wk,xk,yk,zk,Ak,Bk,Ck,vha,Dk,Ek,Jk,wha,yha,zha,Lk,Nk,Mk,Pk,Qk,Rk,Bha,Cha,Sk,Tk,Uk,Eha,Fha,Iha,Gha,Jha,Nha,Vk,Mha,Kha,Wk,Xk,Oha,Yk,Pha,Zk,Rha,Qha,Sha,Tha,bl,cl,Uha,Vha,Wha,dl,el,Xha,fl,Yha,Zha,$ha,dia,gl,eia,fia,gia,hia,iia,kl,jia,kia,lia,rl,ql,pl,mia,nia,oia,sl,tl,ul,qia,zl,Al,Bl,Cl,Dl,El,sia,tia,uia,Fl,Hl,Il,Ml,Nl,Ql,wia,yia,xia,zia,Aia,bm,Bia,Cia,cm,Dia,Eia,Fia,Gia,gm,em,hm,im,jm,Hia,Iia,Jia,km,lm,mm,Kia,Lia,Mia,nm,Nia,om,pm,Oia,Pia,Qia,Ria,Sia,Tia,Uia,rm,sm,tm,vm,Xia,wm,xm,Yia,Wia,um,Zia,ym,zm, Am,Cm,Bm,$ia,aja,bja,Dm,dja,Em,fja,gja,hja,ija,jja,kja,lja,mja,Hm,Im,Jm,oja,nja,Lm,pja,Mm,qja,Nm,rja,sja,Om,Pm,Qm,tja,Rm,Sm,uja,Tm,Um,Vm,Wm,Xm,Ym,Zm,$m,vja,wja,xja,yja,an,zja,Bja,Aja,cn,dn,Dja,Cja,Ija,Hja,en,Jja,Kja,Lja,Nja,Mja,Oja,fn,Pja,Qja,hn,Rja,Sja,Tja,Uja,jn,Vja,kn,Wja,ln,mn,Yja,nn,Zja,on,pn,$ja,aka,qn,yn,cka,zn,bka,dka,eka,fka,hka,An,ika,Dn,En,kka,lka,oka,pka,Fn,Gn,Hn,In,Jn,Kn,Ln,Mn,Nn,On,Pn,Qn,Rn,tka,ska,uka,wka,vka,yka,rka,xka,qka,Sn,Tn,Aka,Bka,Cka,Xn,Yn,Zn,Un,Eka,$n,zka,Gka,Hka,Ika,Fka, ao,bo,co,eo,Jka,Dka,Kka,fo,Lka,Mka,Nka,Oka,Pka,Ska,ho,Tka,io,Uka,Xka,lo,Zka,ko,no,$ka,ala,bla,uo,dla,ela,vo,fla,Go,Do,Eo,Fo,gla,Jo,Io,hla,Lo,ila,kla,Mo,lla,mla,rla,nla,Po,Qo,wla,Ro,So,To,yla,Wo,zla,Ala,Xo,Cla,Zo,$o,ap,Dla,cp,dp,ep,lp,np,op,Fla,pp,Gla,rp,sp,tp,up,vp,wp,Hla,Ila,Jla,Kla,Lla,Mla,xp,Nla,Ep,Ola,Pla,Qla,Fp,Hp,Ip,Jp,Mp,Np,Op,Sla,Rp,Sp,Tp,Tla,Ula,Up,Vla,Wla,Wp,Xp,dma,ema,Yp,fma,gma,jma,aq,bq,lma,dq,eq,fq,gq,hq,iq,jq,kq,lq,mq,nq,oq,pq,qq,rq,sq,tq,uq,vq,wq,xq,yq,zq,Aq,Bq,Cq,Dq,Eq,Fq,Gq,Hq,Iq, Jq,Kq,Lq,Mq,Nq,Oq,Pq,Qq,Rq,Sq,Tq,Uq,Vq,Wq,Xq,Yq,Zq,$q,ar,br,cr,dr,er,fr,gr,hr,ir,jr,kr,lr,mr,wma,nr,or,pr,qr,rr,sr,tr,ur,vr,Ama,xr,Cr,Er,Fr,Gr,Hr,Ir,Jr,Kr,Lr,Mr,Nr,Or,Pr,Qr,Rr,Sr,Tr,Ur,Vr,Wr,Xr,Yr,Zr,$r,as,bs,cs,ds,es,fs,gs,hs,is,js,ks,ls,ms,ns,os,ps,qs,rs,ts,us,vs,ws,xs,ys,zs,As,Bs,Cs,Ds,Es,Fs,Gs,Hs,Is,Js,Ks,Ls,Ms,Ns,Os,Ps,Qs,Rs,Ss,Ts,Us,Vs,Ws,Xs,Ys,Zs,$s,at,bt,ct,dt,et,ft,gt,ht,jt,kt,lt,mt,nt,ot,pt,qt,rt,tt,ut,vt,wt,xt,zt,At,Bt,Ct,Dt,Et,Ft,Gt,Ht,It,Jt,Kt,Lt,Mt,Nt,Ot,Pt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Yt, Zt,$t,au,bu,cu,du,eu,fu,gu,hu,iu,ju,ku,lu,mu,nu,ou,pu,qu,ru,tu,uu,vu,wu,xu,yu,zu,Au,Bu,Cu,Du,Eu,Fu,Gu,Hu,Iu,Ju,Ku,Lu,Mu,Pu,Ru,Su,Tu,Uu,Vu,Wu,Xu,Yu,Zu,$u,av,bv,cv,dv,ev,fv,gv,hv,iv,jv,kv,lv,mv,nv,ov,pv,qv,rv,tv,uv,vv,wv,xv,yv,zv,Av,Bv,Cv,Dv,Ev,mna,Fv,nna,Gv,pna,Hv,Iv,Jv,Kv,Lv,Mv,Nv,Ov,Pv,Qv,Rv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,aw,bw,cw,dw,ew,fw,gw,hw,iw,jw,kw,lw,mw,nw,ow,pw,Ana,Bna,rw,uw,xw,Cna,yw,Dna,Cw,Dw,Ew,Fw,Gw,Iw,Jw,Hna,Kw,Lw,Mw,Ena,Nw,Kna,Nna,Ow,Pna,Rna,Tw,Sna,Tna,Una,Yna,Wna,Xna,Ww,Uw,Yw,Xw,Zna,$w, ax,bx,$na,aoa,ix,boa,kx,lx,coa,mx,nx,eoa,qx,sx,tx,hx,ux,foa,vx,wx,xx,yx,zx,Ax,Bx,Cx,hoa,Dx,Gx,Fx,joa,moa,koa,loa,noa,ooa,Jx,poa,qoa,Kx,roa,Px,Qx,Rx,soa,toa,voa,xoa,Vx,Yx,Wx,ay,by,dy,yoa,ky,ly,my,ny,py,qy,sy,Doa,Eoa,uy,Foa,Goa,wy,Hoa,Ioa,yy,zy,Joa,Ay,Koa,Dy,Moa,Noa,By,Ooa,Poa,Roa,Qoa,Hy,Loa,Toa,Uoa,Voa,Ky,Woa,Xoa,My,Ny,Yoa,Zoa,Qy,$oa,apa,bpa,cpa,Vy,dpa,epa,fpa,gpa,hpa,ipa,jpa,kpa,Xy,lpa,Zy,npa,opa,ppa,qpa,rpa,oz,tpa,upa,vpa,wpa,spa,xpa,ypa,$y,az,dz,ez,pz,cz,bz,zpa,Hpa,Apa,Bpa,Cpa,Dpa,Epa,Lpa,Fpa,tz, uz,wz,Npa,Az,zz,vz,Opa,Dz,Ypa,Xpa,Cz,Wpa,Fz,Zpa,bqa,Gz,Ez,$pa,aqa,cqa,Iz,eqa,fqa,gqa,hqa,iqa,jqa,kqa,dqa,mqa,nqa,oqa,pqa,qqa,Lz,Mz,Oz,sqa,Pz,tqa,uqa,Sz,Tz,wqa,vqa,xqa,zqa,Xz,Yz,Bqa,Cqa,Fqa,cA,dA,eA,Gqa,iA,jA,mA,lA,kA,oA,Jqa,Iqa,wA,xA,Kqa,yA,AA,Lqa,CA,DA,Mqa,FA,EA,Nqa,GA,Pqa,Qqa,Oqa,Sqa,Tqa,IA,PA,Rqa,QA,RA,Yqa,XA,Xqa,bra,cra,Wqa,ara,$qa,HA,YA,OA,VA,Zqa,$A,hra,gra,kra,eB,mra,cB,nra,pra,tra,ura,qra,fB,iB,jB,wra,hB,kB,lB,nB,yra,zra,Cra,Fra,Dra,xB,wB,Gra,vB,yB,zB,Ira,Kra,DB,EB,Lra,N,FB,Mra,Nra,HB,Ora, Qra,IB,Rra,JB,KB,LB,MB,OB,Tra,Ura,Vra,Wra,Xra,Yra,gy,fsa,csa,hsa,isa,jsa,msa,TB,psa,ksa,lsa,rsa,ssa,osa,usa,UB,VB,vsa,XB,ZB,$B,aC,bC,cC,xsa,dC,eC,fC,gC,Csa,Esa,Gsa,Hsa,iC,Jsa,Ksa,oC,pC,Lsa,Msa,qC,tC,Nsa,Osa,wC,xC,yC,zC,AC,BC,CC,Psa,DC,EC,Rsa,Qsa,FC,Xsa,GC,Ysa,HC,IC,KC,Zsa,$sa,MC,NC,OC,bta,QC,RC,cta,dta,fta,gta,UC,ita,WC,jta,XC,hD,VC,mta,iD,pta,qta,rta,ota,sta,tta,lD,kD,lta,wta,nta,mD,yta,Ata,pD,Bta,oD,rD,Cta,nD,Dta,sD,zta,Eta,tD,vD,yD,AD,Gta,BD,CD,Kta,Mta,Lta,Ota,JD,ED,Nta,Jta,Ita,Hta,ID,FD,HD,Tta, Uta,Vta,SD,TD,Wta,UD,VD,RD,$ta,Xta,Yta,aua,WD,bua,YD,cua,ZD,$D,aE,bE,dua,eua,cE,fua,dE,gua,hua,eE,gE,kE,iua,lE,mE,nE,oE,pE,qE,rE,jua,sE,uE,lua,mua,tE,vE,pua,qua,wE,rua,zE,sua,AE,CE,tua,BE,DE,uua,FE,wua,xua,HE,IE,NE,zua,KE,OE,QE,Aua,SE,ME,PE,Bua,TE,Cua,UE,Dua,JE,LE,yua,RE,VE,Eua,Fua,WE,Gua,XE,Hua,YE,ZE,aF,Iua,$E,bF,Jua,Kua,cF,dF,eF,fF,gF,Mua,hF,iF,Nua,jF,Oua,kF,lF,mF,Pua,nF,Qua,Rua,Sua,pF,oF,Tua,Uua,Vua,Wua,qF,rF,sF,tF,Xua,Yua,vF,Zua,wF,xF,$ua,ava,yF,bva,cva,gva,hva,dva,eva,fva,zF,BF,AF,CF,DF,iva, jva,EF,FF,kva,GF,HF,lva,JF,mva,KF,nva,ova,pva,qva,LF,rva,NF,OF,PF,sva,uva,RF,QF,VF,OD,WF,fG,ND,MD,gG,hG,Lua,vva,iG,jG,kG,TF,lG,wva,oG,pG,rG,xva,sG,tG,uG,vG,wG,xG,yva,yG,zG,zva,AG,BG,DG,Ava,EG,FG,GG,Bva,Cva,Dva,LG,HG,MG,NG,Eva,Fva,Gva,OG,QG,Qta,GD,Kva,Lva,Mva,Nva,Ova,Pva,DD,PG,Qva,TG,UG,Tva,Uva,Vva,VG,Zva,Wva,Xva,awa,bwa,WG,$va,cwa,XG,YG,ZG,dwa,ewa,$G,fwa,gwa,hwa,RG,iwa,cH,kwa,lwa,mwa,eH,dH,nwa,owa,pwa,qwa,rwa,Rta,Pta,gH,hH,iH,kH,lH,mH,nH,oH,jH,sH,twa,uH,vwa,vH,ywa,zwa,wwa,uwa,Awa,Bwa,Cwa,xH,Ewa,yH, Sta,zH,Fwa,Hwa,KD,Iwa,Jwa,Kwa,Lwa,BH,Mwa,CH,DH,JH,Owa,MH,OH,Pwa,Qwa,Rwa,PH,QH,RH,UH,VH,Swa,Uwa,Twa,Vwa,Wwa,Xwa,Ywa,Zwa,$wa,XH,YH,ZH,axa,bxa,$H,cxa,aI,bI,dxa,cI,exa,dI,fxa,eI,fI,gI,hI,gxa,hxa,jxa,iI,kxa,ixa,jI,EI,AI,GI,JI,KI,lxa,sxa,BI,DI,NI,wxa,SI,qI,TI,pI,UI,zI,XI,YI,ZI,$I,aJ,bJ,yxa,zxa,cJ,Axa,Bxa,Cxa,Dxa,dJ,Exa,Jxa,Ixa,Fxa,Hxa,Gxa,eJ,Kxa,fJ,Lxa,Mxa,Oxa,Pxa,Qxa,Uxa,kJ,lJ,Xxa,mJ,nJ,Yxa,$xa,cya,dya,eya,oJ,qJ,rJ,sJ,tJ,uJ,vJ,wJ,xJ,gya,yJ,hya,zJ,AJ,BJ,CJ,DJ,EJ,iya,jya,FJ,kya,JJ,nya,oya,KJ,LJ,pya,rya, tya,RJ,uya,YJ,Eya,yya,zya,Gya,ZJ,Hya,FAa,EAa,JAa,aK,dK,LAa,$J,eK,fK,gBa,kBa,hBa,jBa,sK,BK,DK,LBa,wBa,mK,EK,KBa,xBa,rK,MBa,GK,uBa,OBa,NBa,jK,qK,UBa,QBa,RBa,SBa,TBa,VBa,HK,WBa,XBa,JK,KK,YBa,MK,iK,oK,CBa,iBa,GBa,PK,pK,PBa,XK,ZK,$K,bL,aL,jCa,CK,kCa,dL,lCa,eL,vBa,gL,cCa,nK,mCa,nBa,mBa,Zxa,hL,iL,oCa,jL,kL,lL,nL,mL,oL,pCa,qCa,pL,rL,rCa,sCa,sL,tL,uL,vL,tCa,uCa,wL,vCa,xL,yL,zL,AL,BL,CL,wCa,FL,xCa,GL,IL,ACa,HL,BCa,yCa,zCa,CCa,DCa,ECa,JL,KL,LL,GCa,ML,ICa,HCa,OL,QL,LCa,UL,SL,OCa,NCa,PCa,XL,MCa,YL,TL,ZL,WL,VL, RL,aM,bM,dM,fM,SCa,TCa,RCa,gM,hM,iM,jM,kM,UCa,lM,mM,VCa,nM,oM,pM,YCa,WCa,tM,ZCa,$Ca,uM,aDa,xM,yM,bDa,gDa,zM,hDa,AM,BM,iDa,CM,jDa,kDa,lDa,mDa,nDa,DM,EM,pDa,qDa,oDa,sDa,rDa,FM,GM,vDa,wDa,JG,xDa,yDa,HM,zDa,IM,BDa,JM,LM,MM,NM,OM,SM,UM,VM,CDa,DDa,WM,EDa,FDa,XM,GDa,ZM,HDa,IDa,JDa,KDa,$M,ODa,QDa,RDa,TDa,SDa,UDa,bN,VDa,iN,jN,kN,lN,mN,nN,ZDa,pN,oN,$Da,XDa,YDa,aEa,qN,bEa,sN,rN,uN,wN,xN,cEa,dEa,eEa,fEa,yN,AN,jEa,mEa,gEa,BN,vEa,CN,DN,xEa,wEa,zEa,AEa,CEa,BEa,DEa,EEa,FEa,GEa,IN,JN,HEa,IEa,JEa,KEa,LEa,MEa,QN,OEa, PEa,ON,PN,NEa,SEa,TEa,RN,WEa,UEa,YEa,XEa,ZEa,SN,QCa,$Ea,KCa,aFa,bFa,cFa,TN,iFa,eFa,fFa,gFa,jFa,UN,kFa,mFa,nFa,lFa,hFa,oFa,YM,qFa,rFa,pFa,WN,XN,sFa,tFa,YN,$N,vFa,aO,cO,eO,fO,wFa,xFa,yFa,gO,AFa,BFa,CFa,DFa,EFa,FFa,GFa,lO,HFa,mO,oO,IFa,JFa,KFa,pO,LFa,MFa,NFa,tO,uO,vO,OFa,wO,PFa,yO,RFa,QFa,zO,AO,BO,CO,SFa,DO,EO,TFa,FO,GO,XFa,UFa,WFa,VFa,HO,IO,JO,YFa,ZFa,$Fa,KO,bGa,eGa,dGa,LO,MO,NO,OO,PO,RO,SO,TO,UO,VO,WO,XO,gGa,fGa,ZO,hGa,$O,aP,bP,cP,dP,gP,hP,iP,jP,kP,lP,mP,nP,jGa,oP,kGa,nGa,oGa,rP,qGa,tP,uP,vP,sGa,wP, xGa,vGa,uGa,tGa,zGa,xP,yP,zP,AP,BP,CP,DP,GP,CGa,EGa,IP,JP,KP,W,GGa,LP,LGa,PGa,QGa,RGa,XGa,ZGa,cHa,dHa,vHa,wHa,xHa,eHa,gHa,lHa,AHa,CHa,XP,EHa,BHa,qIa,LHa,rIa,MHa,YP,tIa,vIa,xIa,wIa,uIa,OHa,WHa,BIa,CIa,YHa,ZHa,aIa,bIa,cIa,JIa,eIa,hIa,mIa,RIa,NIa,OIa,TIa,VIa,UIa,WIa,XIa,gQ,YIa,dQ,bJa,iJa,hQ,jJa,kJa,nJa,rJa,UJa,TJa,kQ,YJa,fy,$Ja,ZJa,lQ,bKa,aKa,cKa,nQ,oQ,qQ,eKa,fKa,gKa,dKa,kKa,jKa,rKa,tKa,uKa,vKa,OQ,PQ,xKa,QQ,yKa,SQ,TQ,RQ,dFa,zKa,AKa,BKa,YQ,DKa,ZQ,EKa,FKa,GKa,HKa,aR,IKa,bR,LKa,MKa,cR,NKa,dR,eR,fR,gR,PKa, QKa,rR,sR,vR,wR,xR,yR,zR,AR,RKa,SKa,BR,CR,ER,FR,TKa,GR,UKa,HR,VKa,IR,JR,WKa,YKa,ZKa,LR,bLa,aLa,MR,cLa,dLa,eLa,fLa,NR,hLa,gLa,QR,RR,SR,kLa,iLa,jLa,UR,mLa,TR,lLa,VR,nLa,oLa,pLa,WR,YR,ZR,qLa,rLa,$R,sLa,aS,bS,tLa,uLa,dS,eS,xLa,vLa,yLa,zLa,ALa,BLa,CLa,nS,oS,ELa,DLa,GLa,FLa,JLa,KLa,HLa,ILa,MLa,LLa,NLa,OLa,PLa,QLa,TLa,SLa,ULa,sS,ZLa,vS,aMa,wS,XLa,YLa,uS,VLa,$La,xS,yS,zS,kR,WQ,BS,DS,cMa,bMa,eMa,FS,fMa,ES,gMa,hMa,iMa,LS,MS,RS,kMa,lMa,SS,TS,mMa,nMa,oMa,pMa,US,rMa,qMa,sMa,VS,WS,tMa,vMa,wMa,ZS,XS,xMa,yMa,uMa, $S,aT,dT,zMa,AMa,cT,fT,eT,hT,jT,BMa,nT,DMa,CMa,FMa,oT,mT,pT,GMa,HMa,sT,tT,uT,vT,xT,IMa,JMa,KMa,zT,MMa,LMa,NMa,OMa,PMa,QMa,RMa,FT,GT,HT,SMa,KT,IT,JT,TMa,UMa,LT,MT,NT,OT,PT,XMa,RT,QT,YMa,ZMa,$Ma,ST,TT,aNa,bNa,cNa,dNa,UT,XT,eNa,gNa,hNa,$T,aU,iNa,bU,cU,dU,eU,jNa,gU,hU,lNa,fU,iU,mNa,nNa,qNa,oNa,pNa,rNa,sNa,uNa,tNa,vNa,lU,oU,mU,wNa,pU,qU,yNa,xNa,zNa,ANa,tU,uU,BNa,CNa,DNa,xU,ENa,yU,FNa,zU,AU,GNa,BU,HNa,LNa,JNa,INa,KNa,PNa,QNa,RNa,SNa,UNa,VNa,WNa,TNa,XNa,YNa,aOa,FU,cOa,bOa,ZNa,$Na,eOa,dOa,fOa,GU,HU,gOa,hOa, iOa,jOa,kOa,lOa,mOa,nOa,vOa,qOa,rOa,oOa,yOa,MU,zOa,COa,QU,DOa,EOa,OU,LU,TU,SU,NU,UU,IOa,JOa,VU,PU,wOa,HOa,RU,AOa,GOa,KOa,FOa,IU,XU,LOa,MOa,BOa,YU,ZU,$U,OOa,aV,bV,cV,POa,dV,QOa,eV,ROa,hV,iV,SOa,jV,kV,TOa,VOa,WOa,UOa,lV,mV,nV,oV,pV,XOa,YOa,ZOa,$Oa,aPa,cPa,ePa,dPa,bPa,gPa,fPa,qV,rV,hPa,jPa,kPa,sV,iPa,lPa,mPa,tV,vV,yV,xV,oPa,nPa,pPa,zV,qPa,rPa,tPa,sPa,uPa,vPa,wPa,CV,xPa,kT,BPa,DT,yPa,CPa,APa,ET,zPa,DPa,FPa,GPa,HPa,EPa,IPa,JPa,KPa,LPa,MPa,NPa,HV,OPa,IV,QPa,JV,SPa,KV,RPa,UPa,VPa,TPa,LV,WPa,MV,NV,XPa,YPa, ZPa,$Pa,aQa,fQa,jQa,hQa,cQa,RV,bQa,iQa,TV,lQa,kQa,UV,nQa,pQa,qQa,oQa,rQa,ZV,sQa,$V,tQa,AQa,eW,BQa,CQa,gW,DQa,EQa,hW,FQa,uQa,iW,HQa,IQa,KQa,jW,LQa,kW,NQa,MQa,lW,yQa,cW,OQa,PQa,QQa,RQa,SQa,vQa,xQa,dW,aW,mW,TQa,VQa,ZQa,oW,$Qa,aRa,XQa,qW,bRa,cRa,UQa,dRa,YQa,eRa,rW,pW,fRa,hRa,gRa,nW,jRa,tW,kRa,uW,sW,mRa,nRa,lRa,wW,pRa,xW,qRa,tRa,sRa,vRa,wRa,uRa,AW,zW,yRa,zRa,ARa,BRa,CRa,DRa,FRa,ERa,CW,DW,GRa,HRa,JRa,NRa,KRa,LRa,MRa,ORa,PRa,QRa,KW,RRa,SRa,TRa,LW,MW,NW,URa,ZRa,aSa,bSa,SW,TW,UW,VW,YRa,cSa,PW,VRa,dSa,OW,QW, WRa,XRa,RW,eSa,fSa,$Ra,gSa,iSa,hSa,jSa,kSa,lSa,mSa,xya,Dya,oSa,nSa,XW,tSa,rSa,sSa,pSa,uSa,YW,qSa,ZW,$W,vSa,wSa,xSa,ySa,ASa,BSa,aX,CSa,DSa,ESa,FSa,HSa,ISa,cX,PSa,LSa,GSa,RSa,MSa,NSa,KSa,OSa,dX,JSa,QSa,XSa,VSa,USa,TSa,SSa,fX,YSa,gX,bTa,hX,eTa,kX,dTa,iX,cTa,iTa,fTa,jX,jTa,$Sa,mTa,gTa,aTa,hTa,nTa,lX,mX,oTa,pTa,rTa,qTa,tTa,sTa,uTa,vTa,nX,oX,wTa,pX,xTa,rX,yTa,qX,zTa,FW,ATa,CTa,DTa,EW,HTa,tX,uX,ITa,KTa,JTa,vX,LTa,JW,MTa,NTa,HW,IW,RTa,xX,yX,STa,AX,wX,BX,PTa,OTa,QTa,CX,UTa,VTa,TTa,GW,zX,WTa,XTa,YTa,ZTa,kTa, lTa,$Ta,aUa,DX,fUa,bUa,gUa,hUa,iUa,eUa,jUa,lUa,EX,GX,nUa,oUa,mUa,pUa,HX,qUa,sUa,vUa,AUa,xUa,zUa,FUa,GUa,EUa,HUa,IUa,KUa,LUa,JUa,JX,MUa,OUa,PUa,QUa,RUa,SUa,NUa,TUa,UUa,KX,GTa,LX,WUa,XUa,ETa,FTa,YUa,ZUa,$Ua,aVa,VUa,bVa,cVa,dVa,gVa,hVa,jVa,mVa,nVa,iVa,MX,NX,kVa,lVa,oVa,pVa,rVa,yVa,xVa,TX,zVa,wVa,CVa,DVa,EVa,FVa,GVa,HVa,IVa,JVa,VX,OX,LVa,MVa,qVa,UX,OVa,KVa,PVa,QVa,WX,SVa,UVa,TVa,RVa,VVa,WVa,XVa,YVa,aWa,$Va,ZVa,XX,bWa,dWa,eWa,ZX,$X,fWa,hWa,iWa,jWa,bY,kUa,dY,gWa,kWa,nWa,pWa,WSa,lWa,mWa,oWa,bX,cUa,qWa,rWa, sWa,tWa,cWa,uWa,FX,vWa,fY,gY,wWa,hY,xWa,yWa,zWa,AWa,BWa,DWa,CWa,FWa,GWa,JWa,HWa,IWa,KWa,jY,OWa,MWa,NWa,RWa,SWa,TWa,UWa,VWa,iY,WWa,QWa,LWa,kY,XWa,YWa,lY,$Wa,aXa,bXa,ZWa,mY,eXa,dXa,hXa,gXa,fXa,iXa,jXa,nY,kXa,pY,oXa,lXa,mXa,nXa,pXa,qXa,rXa,tXa,sXa,uXa,vXa,wXa,yXa,AXa,zXa,BXa,xXa,CXa,EXa,GXa,HXa,DXa,IXa,JXa,LXa,KXa,MXa,FXa,rY,NXa,OXa,QXa,SXa,TXa,UXa,VXa,YXa,XXa,ZXa,$Xa,aYa,cYa,bYa,fYa,uY,gYa,dYa,eYa,hYa,xY,jYa,iYa,kYa,lYa,mYa,oYa,nYa,rYa,yY,sYa,zY,uYa,BY,DY,vYa,AY,wYa,EY,yYa,tYa,zYa,AYa,CY,BYa,CYa,DYa, xYa,WXa,wY,FYa,GYa,HYa,IYa,JYa,KYa,LYa,NYa,OYa,PYa,MYa,QYa,RYa,GY,SYa,TYa,HY,IY,UYa,VYa,WYa,JY,ZYa,LY,$Ya,aZa,KY,YYa,XYa,OY,NY,PY,MY,bZa,fZa,hZa,jZa,kZa,dZa,iZa,lZa,eZa,mZa,nZa,pZa,QY,qZa,oZa,RY,rZa,gZa,sZa,cZa,SY,yZa,vZa,zZa,wZa,uZa,AZa,tZa,DZa,TY,EZa,GZa,KG,IZa,LZa,$L,YY,MZa,wQa,OZa,ZY,qY,PZa,RZa,NZa,XV,JZa,SZa,TZa,aY,cY,dZ,NVa,KZa,cZ,UY,WZa,XZa,ZZa,YZa,QZa,aZ,a_a,eZ,b_a,gQa,c_a,oY,mQa,d_a,GQa,$Y,e_a,g_a,f_a,eQa,h_a,j_a,VZa,HZa,l_a,k_a,bZ,VY,m_a,gZ,SV,n_a,o_a,fW,p_a,q_a,r_a,dQa,fZ,$Za,D_a,x_a,w_a, F_a,v_a,iZ,YV,I_a,G_a,K_a,lZ,mZ,L_a,M_a,oZ,C_a,tZ,O_a,sZ,nZ,Q_a,R_a,y_a,wZ,S_a,B_a,qZ,N_a,pZ,Y_a,kZ,Z_a,yZ,P_a,zZ,AZ,$_a,rZ,J_a,U_a,T_a,a0a,b0a,c0a,d0a,$Q,e0a,uZ,f0a,h0a,jZ,BZ,i0a,H_a,j0a,k0a,A_a,xZ,vZ,l0a,z_a,m0a,CZ,DZ,rRa,n0a,EZ,CB,FZ,GZ,p0a,r0a,s0a,HZ,t0a,JZ,u0a,v0a,KZ,IZ,w0a,LZ,MZ,NZ,x0a,OZ,PZ,QZ,RZ,SZ,TZ,z0a,y0a,UZ,VZ,A0a,WZ,XZ,B0a,C0a,D0a,YZ,ZZ,$Z,a_,b_,c_,d_,e_,E0a,f_,g_,h_,F0a,i_,G0a,H0a,I0a,J0a,j_,k_,l_,K0a,m_,n_,o_,L0a,p_,q_,r_,s_,t_,u_,v_,w_,x_,M0a,y_,z_,N0a,O0a,A_,B_,C_,D_,P0a,E_,F_,Q0a, G_,R0a,H_,S0a,dDa,eDa,fDa,XCa,T0a,X0a,Y0a,Z0a,wM,P_,qM,U0a,Q_,b1a,c1a,d1a,e1a,V0a,g1a,J_,h1a,i1a,R_,j1a,S_,L_,k1a,K_,f1a,T_,n1a,m1a,N_,O_,V_,U_,o1a,W_,q1a,p1a,r1a,X,X_,Y_,Z_,s1a,$_,c0,u1a,w1a,x1a,y1a,A1a,B1a,d0,e0,f0,g0,h0,i0,C1a,j0,k0,l0,m0,E1a,I1a,n0,J1a,F1a,K1a,o0,L1a,O1a,N1a,S1a,P1a,p0,q0,Y1a,$1a,Z1a,d2a,c2a,f2a,a2a,b2a,g2a,i2a,j2a,h2a,l2a,m2a,p2a,s2a,q2a,w2a,F2a,E2a,x2a,G2a,z2a,A2a,y2a,J2a,L2a,Q2a,T2a,U2a,W2a,X2a,Z2a,a3a,$2a,g3a,c3a,b3a,h3a,k3a,l3a,m3a,n3a,A0,Jra,q3a,o3a,C0,BB,D0,E0,Hra,F0,s3a, t3a,y0,B2a,u3a,v3a,w3a,v2a,x3a,G0,y3a,P2a,z3a,A3a,H0,X1a,r0,B3a,B0,O2a,N2a,o2a,R2a,V2a,Y2a,T1a,i3a,C3a,H2a,C2a,D3a,I0,E3a,J0,F3a,K0,L0,M0,N0,O0,z1a,H3a,G3a,n2a,S2a,I3a,j3a,U1a,W1a,M1a,M2a,u2a,r2a,H1a,G1a,D1a,I2a,D2a,d3a,Q1a,R1a,e3a,f3a,K2a,L3a,J3a,P0,K3a,Q0,vM,M_,$0a,I_,M3a,R0,S0,T0,U0,O3a,N3a,P3a,V0,W0,Q3a,z0,X0,R3a,p3a,W0a,S3a,T3a,V1a,s0,t0,U3a,Y0,V3a,W3a,$0,a1,Y3a,c1,Z3a,$3a,X3a,b1,a4a,b4a,c4a,d1,f4a,e4a,e1,VN,g4a,h4a,Z0,i4a,j4a,k4a,f1,g1,l4a,h1,i1,m4a,n4a,o4a,p4a,q4a,r4a,s4a,t4a,u4a,v4a,j1,k1, w4a,l1,m1,n1,o1,p1,q1,r1,y4a,x4a,z4a,A4a,B4a,s1,C4a,D4a,t1,u1,v1,E4a,F4a,G4a,w1,H4a,x1,I4a,y1,J4a,z1,K4a,A1,L4a,N4a,B1,Q4a,M4a,O4a,P4a,R4a,D1,S4a,T4a,U4a,F1,E1,G1,V4a,W4a,X4a,Z4a,Y4a,H1,$4a,a5a,c5a,b5a,I1,J1,r3a,d5a,K1,e5a,L1,g5a,h5a,f5a,i5a,M1,j5a,k5a,l5a,N1,O1,P1,m5a,Q1,R1,S1,n5a,o5a,T1,p5a,q5a,U1,C1,V1,W1,X1,cDa,Y1,r5a,Z1,s5a,$1,a2,u5a,t5a,b2,c2,d2,v5a,w5a,x5a,e2,y5a,z5a,A5a,C5a,B5a,D5a,E5a,G5a,F5a,H5a,I5a,J5a,K5a,L5a,M5a,N5a,O5a,P5a,Q5a,R5a,S5a,T5a,U5a,V5a,W5a,X5a,f2,g2,h2,Y5a,Z5a,$5a,a6a,b6a, c6a,d6a,e6a,f6a,g6a,h6a,i6a,j6a,k6a,l6a,i2,m6a,n6a,j2,k2,p6a,q6a,l2,r6a,m2,s6a,n2,t6a,o2,u6a,v6a,w6a,p2,x6a,y6a,z6a,A6a,B6a,C6a,r2,D6a,E6a,F6a,G6a,H6a,J6a,s2,I6a,K6a,L6a,M6a,N6a,R6a,O6a,P6a,Q6a,T6a,V6a,W6a,X6a,U6a,t2,Y6a,Z6a,$6a,a7a,b7a,v2,c7a,w2,x2,y2,d7a,f7a,g7a,h7a,i7a,k7a,j7a,l7a,z2,A2,o7a,m7a,n7a,B2,p7a,q7a,C2,r7a,s7a,t7a,w7a,x7a,y7a,z7a,A7a,AB,v7a,B7a,F7a,H7a,aaa,ea,xi,La,paa;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]}; ib=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)}; yaa=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.xb(a,-(c+1),0,b)}; g.Hb=function(a,b,c){var d={};(0,g.Gb)(a,function(e,f){d[b.call(c,e,f,a)]=e}); return d}; Caa=function(a){for(var b=[],c=0;c")&&(a=a.replace(Laa,">"));-1!=a.indexOf('"')&&(a=a.replace(Maa,"""));-1!=a.indexOf("'")&&(a=a.replace(Naa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Oaa,"�"));return a}; g.Pb=function(a,b){return-1!=a.indexOf(b)}; Qb=function(a,b){return g.Pb(a.toLowerCase(),b.toLowerCase())}; g.Vb=function(a,b){var c=0;a=Rb(String(a)).split(".");b=Rb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0}; g.Zb=function(){var a=g.Ea.navigator;return a&&(a=a.userAgent)?a:""}; dc=function(a){return $b||bc?cc?cc.brands.some(function(b){return(b=b.brand)&&g.Pb(b,a)}):!1:!1}; ec=function(a){return g.Pb(g.Zb(),a)}; gc=function(){return $b||bc?!!cc&&0=a}; $aa=function(a){return g.Bc?"webkit"+a:a.toLowerCase()}; Cc=function(a,b){g.eb.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=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.j=null;a&&this.init(a,b)}; Dc=function(a){return!(!a||!a[aba])}; cba=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.qd=e;this.key=++bba;this.removed=this.SE=!1}; Ec=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.qd=null}; g.Fc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)}; g.Gc=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}; Hc=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}; g.Ic=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1}; dba=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0}; g.Jc=function(a){for(var b in a)return b}; eba=function(a){for(var b in a)return a[b]}; Kc=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}; g.Lc=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}; g.Oc=function(a,b){return null!==a&&b in a}; g.Pc=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1}; Qc=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}; fba=function(a,b){return(b=Qc(a,b))&&a[b]}; g.Rc=function(a){for(var b in a)return!1;return!0}; g.gba=function(a){for(var b in a)delete a[b]}; g.Sc=function(a,b){b in a&&delete a[b]}; g.Tc=function(a,b,c){return null!==a&&b in a?a[b]:c}; g.Wc=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.Xc=function(a){var b={},c;for(c in a)b[c]=a[c];return b}; g.Yc=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.Yc(a[c]);return b}; g.Zc=function(a,b){for(var c,d,e=1;ea.u&&(a.u++,b.next=a.j,a.j=b)}; Bd=function(a){return function(){return a}}; g.Cd=function(){}; rba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}}; Dd=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}; Ed=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}}; sba=function(a,b){var c=0;return function(d){g.Ea.clearTimeout(c);var e=arguments;c=g.Ea.setTimeout(function(){a.apply(b,e)},50)}}; Kd=function(){if(void 0===Jd){var a=null,b=g.Ea.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:Ta,createScript:Ta,createScriptURL:Ta})}catch(c){g.Ea.console&&g.Ea.console.error(c.message)}Jd=a}else Jd=a}return Jd}; Ld=function(a,b){this.j=a===tba&&b||"";this.u=uba}; Md=function(a){return a instanceof Ld&&a.constructor===Ld&&a.u===uba?a.j:"type_error:Const"}; g.Nd=function(a){return new Ld(tba,a)}; Od=function(a,b){this.j=b===vba?a:"";this.Ro=!0}; wba=function(a){return a instanceof Od&&a.constructor===Od?a.j:"type_error:SafeScript"}; xba=function(a){var b=Kd();a=b?b.createScript(a):a;return new Od(a,vba)}; Pd=function(a,b){this.j=b===yba?a:""}; zba=function(a){return a instanceof Pd&&a.constructor===Pd?a.j:"type_error:TrustedResourceUrl"}; Cba=function(a,b){var c=Md(a);if(!Aba.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(Bba,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 Ld?Md(d):encodeURIComponent(String(d))}); return Qd(a)}; Qd=function(a){var b=Kd();a=b?b.createScriptURL(a):a;return new Pd(a,yba)}; Rd=function(a,b){this.j=b===Dba?a:""}; g.Sd=function(a){return a instanceof Rd&&a.constructor===Rd?a.j:"type_error:SafeUrl"}; Eba=function(a){var b=a.indexOf("#");0a*b?a+b:a}; ke=function(a,b,c){return a+c*(b-a)}; le=function(a,b){return 1E-6>=Math.abs(a-b)}; g.me=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}; ne=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; g.oe=function(a,b){this.width=a;this.height=b}; g.pe=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; qe=function(a){return a.width*a.height}; g.re=function(a){return encodeURIComponent(String(a))}; se=function(a){return decodeURIComponent(a.replace(/\+/g," "))}; g.te=function(a){return a=Ob(a)}; g.ue=function(a){return null==a?"":String(a)}; ve=function(a){for(var b=0,c=0;c>>0;return b}; we=function(a){var b=Number(a);return 0==b&&g.Nb(a)?NaN:b}; aca=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; bca=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()}; cca=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})}; dca=function(a){var b=1;a=a.split(":");for(var c=[];0a}; cf=function(a,b,c){if(!b&&!c)return null;var d=b?String(b).toUpperCase():null;return bf(a,function(e){return(!d||e.nodeName==d)&&(!c||"string"===typeof e.className&&g.nb(e.className.split(/\s+/),c))},!0)}; bf=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}; xe=function(a){this.j=a||g.Ea.document||document}; ef=function(a){"function"!==typeof g.Ea.setImmediate||g.Ea.Window&&g.Ea.Window.prototype&&!jc()&&g.Ea.Window.prototype.setImmediate==g.Ea.setImmediate?(df||(df=nca()),df(a)):g.Ea.setImmediate(a)}; nca=function(){var a=g.Ea.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ec("Presto")&&(a=function(){var e=g.Ne("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.Pa)(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&&!ic()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.jS;c.jS=null;e()}}; return function(e){d.next={jS:e};d=d.next;b.port2.postMessage(0)}}return function(e){g.Ea.setTimeout(e,0)}}; oca=function(a){g.Ea.setTimeout(function(){throw a;},0)}; ff=function(){this.u=this.j=null}; gf=function(){this.next=this.scope=this.fn=null}; g.kf=function(a,b){hf||pca();jf||(hf(),jf=!0);qca.add(a,b)}; pca=function(){if(g.Ea.Promise&&g.Ea.Promise.resolve){var a=g.Ea.Promise.resolve(void 0);hf=function(){a.then(rca)}}else hf=function(){ef(rca)}}; rca=function(){for(var a;a=qca.remove();){try{a.fn.call(a.scope)}catch(b){oca(b)}qba(sca,a)}jf=!1}; g.pf=function(a){this.j=0;this.J=void 0;this.C=this.u=this.B=null;this.D=this.I=!1;if(a!=g.Cd)try{var b=this;a.call(void 0,function(c){of(b,2,c)},function(c){of(b,3,c)})}catch(c){of(this,3,c)}}; tca=function(){this.next=this.context=this.u=this.B=this.j=null;this.C=!1}; qf=function(a,b,c){var d=uca.get();d.B=a;d.u=b;d.context=c;return d}; rf=function(a){if(a instanceof g.pf)return a;var b=new g.pf(g.Cd);of(b,2,a);return b}; sf=function(a){return new g.pf(function(b,c){c(a)})}; g.wca=function(a,b,c){vca(a,b,c,null)||g.kf(g.Qa(b,a))}; xca=function(a){return new g.pf(function(b,c){a.length||b(void 0);for(var d=0,e;d=a.C&&a.Sw()}; Ica=function(a,b){return a.I.has(b)?void 0:a.u.get(b)}; Jca=function(a){for(var b=0;b "+a)}; Df=function(){throw Error("Invalid UTF8");}; Qca=function(a,b){b=String.fromCharCode.apply(null,b);return null==a?b:a+b}; Tca=function(a){var b=!1;b=void 0===b?!1:b;if(Rca){if(b&&/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a))throw Error("Found an unpaired surrogate");a=(Sca||(Sca=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;ef)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}; Uca=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.Ff=function(a,b){void 0===b&&(b=0);Wca();b=Xca[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.Gf=function(a,b){if(Yca&&!b)a=g.Ea.btoa(a);else{for(var c=[],d=0,e=0;e>=8);c[d++]=f}a=g.Ff(c,b)}return a}; $ca=function(a){var b=[];Zca(a,function(c){b.push(c)}); return b}; Hf=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):g.Pb("=.",a[b-1])&&(c=g.Pb("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Zca(a,function(f){d[e++]=f}); return e!==c?d.subarray(0,e):d}; Zca=function(a,b){function c(m){for(;d>4);64!=h&&(b(f<<4&240|h>>2),64!=l&&b(h<<6&192|l))}}; Wca=function(){if(!If){If={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Xca[c]=d;for(var e=0;ea;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=g.t(lda(c,a)),b=c.next().value,a=c.next().value,c=b);Tf=c>>>0;Uf=a>>>0}; oda=function(a){if(16>a.length)mda(Number(a));else if(nda)a=BigInt(a),Tf=Number(a&BigInt(4294967295))>>>0,Uf=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);Uf=Tf=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)),Uf*=1E6,Tf=1E6*Tf+d,4294967296<=Tf&&(Uf+=Tf/4294967296|0,Tf%=4294967296);b&&(b=g.t(lda(Tf,Uf)),a=b.next().value,b=b.next().value,Tf=a,Uf=b)}}; lda=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]}; Vf=function(a,b){this.u=null;this.D=!1;this.j=this.B=this.C=0;this.init(a,void 0,void 0,b)}; Xf=function(a){var b=0,c=0,d=0,e=a.u,f=a.j;do{var h=e[f++];b|=(h&127)<d&&h&128);32>4);for(d=3;32>d&&h&128;d+=7)h=e[f++],c|=(h&127)<h){a=b>>>0;h=c>>>0;if(c=h&2147483648)a=~a+1>>>0,h=~h>>>0,0==a&&(h=h+1>>>0);a=4294967296*h+(a>>>0);return c?-a:a}throw Cf();}; Wf=function(a,b){a.j=b;if(b>a.B)throw Pca(a.B,b);}; Yf=function(a){var b=a.u,c=a.j,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Cf();Wf(a,c);return e}; Zf=function(a){var b=a.u,c=a.j,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0}; $f=function(a){var b=Zf(a),c=Zf(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)}; ag=function(a){for(var b=0,c=a.j,d=c+10,e=a.u;cb)throw Error("Tried to read a negative byte length: "+b);var c=a.j,d=c+b;if(d>a.B)throw Pca(b,a.B-c);a.j=d;return c}; rda=function(a,b){if(0==b)return Pf();var c=pda(a,b);a.LE&&a.D?c=a.u.subarray(c,c+b):(a=a.u,b=c+b,c=c===b?Mf():qda?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return kda(c)}; cg=function(a,b){if(bg.length){var c=bg.pop();c.init(a,void 0,void 0,b);a=c}else a=new Vf(a,b);this.j=a;this.B=this.j.j;this.u=this.C=-1;sda(this,b)}; sda=function(a,b){b=void 0===b?{}:b;a.QK=void 0===b.QK?!1:b.QK}; tda=function(a){var b=a.j;if(b.j==b.B)return!1;a.B=a.j.j;var c=Yf(a.j)>>>0;b=c>>>3;c&=7;if(!(0<=c&&5>=c))throw Oca(c,a.B);if(1>b)throw Error("Invalid field number: "+b+" (at position "+a.B+")");a.C=b;a.u=c;return!0}; dg=function(a){switch(a.u){case 0:0!=a.u?dg(a):ag(a.j);break;case 1:a.j.advance(8);break;case 2:if(2!=a.u)dg(a);else{var b=Yf(a.j)>>>0;a.j.advance(b)}break;case 5:a.j.advance(4);break;case 3:b=a.C;do{if(!tda(a))throw Error("Unmatched start-group tag: stream EOF");if(4==a.u){if(a.C!=b)throw Error("Unmatched end-group tag");break}dg(a)}while(1);break;default:throw Oca(a.u,a.B);}}; eg=function(a,b,c){var d=a.j.B,e=Yf(a.j)>>>0,f=a.j.j+e,h=f-d;0>=h&&(a.j.B=f,c(b,a,void 0,void 0,void 0),h=f-a.j.j);if(h)throw Error("Message parsing ended unexpectedly. Expected to read "+(e+" bytes, instead read "+(e-h)+" bytes, either the data ended unexpectedly or the message misreported its own length"));a.j.j=f;a.j.B=d}; hg=function(a){var b=Yf(a.j)>>>0;a=a.j;var c=pda(a,b);a=a.u;if(uda){var d=a,e;(e=fg)||(e=fg=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===gg){try{e.decode(new Uint8Array([128]))}catch(p){}try{e.decode(new Uint8Array([97])),gg=!0}catch(p){gg=!1}}!gg&&(fg=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?Df():(m=a[f++],194>l||128!==(m&192)?(f--,Df()):c.push((l&31)<<6|m&63)): 240>l?f>=b-1?Df():(m=a[f++],128!==(m&192)||224===l&&160>m||237===l&&160<=m||128!==((d=a[f++])&192)?(f--,Df()):c.push((l&15)<<12|(m&63)<<6|d&63)):244>=l?f>=b-2?Df():(m=a[f++],128!==(m&192)||0!==(l<<28)+(m-144)>>30||128!==((d=a[f++])&192)||128!==((e=a[f++])&192)?(f--,Df()):(l=(l&7)<<18|(m&63)<<12|(d&63)<<6|e&63,l-=65536,c.push((l>>10&1023)+55296,(l&1023)+56320))):Df(),8192<=c.length&&(h=Qca(h,c),c.length=0);f=Qca(h,c)}return f}; vda=function(a){var b=Yf(a.j)>>>0;return rda(a.j,b)}; wda=function(a,b){this.u=a>>>0;this.j=b>>>0}; yda=function(a){if(!a)return xda||(xda=new wda(0,0));if(!/^\d+$/.test(a))return null;oda(a);return new wda(Tf,Uf)}; zda=function(a,b){this.u=a>>>0;this.j=b>>>0}; Bda=function(a){if(!a)return Ada||(Ada=new zda(0,0));if(!/^-?\d+$/.test(a))return null;oda(a);return new zda(Tf,Uf)}; sg=function(){this.j=[]}; Cda=function(a,b,c){for(;0>>7|c<<25)>>>0,c>>>=7;a.j.push(b)}; tg=function(a,b){for(;127>>=7;a.j.push(b)}; Dda=function(a,b){if(0<=b)tg(a,b);else{for(var c=0;9>c;c++)a.j.push(b&127|128),b>>=7;a.j.push(1)}}; ug=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)}; Eda=function(){this.B=[];this.u=0;this.j=new sg}; vg=function(a,b){0!==b.length&&(a.B.push(b),a.u+=b.length)}; Fda=function(a,b){wg(a,b,2);b=a.j.end();vg(a,b);b.push(a.u);return b}; Gda=function(a,b){var c=b.pop();for(c=a.u+a.j.length()-c;127>>=7,a.u++;b.push(c);a.u++}; Hda=function(a,b){if(b=b.fC){vg(a,a.j.end());for(var c=0;c>>0,c=Math.floor((c-b)/4294967296)>>>0,Tf=b,Uf=c,ug(a,Tf),ug(a,Uf)):(c=yda(c),a=a.j,b=c.j,ug(a,c.u),ug(a,b)))}; xg=function(a,b,c){wg(a,b,2);tg(a.j,c.length);vg(a,a.j.end());vg(a,c)}; zg=function(a,b){if(yg)return a[yg]|=b;if(void 0!==a.To)return a.To|=b;Object.defineProperties(a,{To:{value:b,configurable:!0,writable:!0,enumerable:!1}});return b}; Jda=function(a,b){var c=Ag(a);(c&b)!==b&&(Object.isFrozen(a)&&(a=Array.prototype.slice.call(a)),Bg(a,c|b));return a}; Kda=function(a,b){yg?a[yg]&&(a[yg]&=~b):void 0!==a.To&&(a.To&=~b)}; Ag=function(a){var b;yg?b=a[yg]:b=a.To;return null==b?0:b}; Bg=function(a,b){yg?a[yg]=b:void 0!==a.To?a.To=b:Object.defineProperties(a,{To:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a}; Cg=function(a){zg(a,1);return a}; Dg=function(a){return!!(Ag(a)&2)}; Lda=function(a){zg(a,16);return a}; Mda=function(a,b){Bg(b,(a|0)&-51)}; Eg=function(a,b){Bg(b,(a|18)&-41)}; Fg=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}; Gg=function(a,b,c,d){if(null==a){if(!c)throw Error();}else if("string"===typeof a)a=a?new Of(a,Nf):Pf();else if(a.constructor!==Of)if(Jf(a))a=d?kda(a):a.length?new Of(new Uint8Array(a),Nf):Pf();else{if(!b)throw Error();a=void 0}return a}; Ig=function(a){Hg(Ag(a.Sd))}; Hg=function(a){if(a&2)throw Error();}; Jg=function(a){var b=a.length;(b=b?a[b-1]:void 0)&&Fg(b)?b.g=1:(b={},a.push((b.g=1,b)))}; Mg=function(a){if(null!=a&&"number"!==typeof a)throw Error("Value of float/double field must be a number|null|undefined, found "+typeof a+": "+a);return a}; Nda=function(a){return a.displayName||a.name||"unknown type name"}; Oda=function(a){return null==a?a:!!a}; Pda=function(a){return a}; Qda=function(a){return a}; Rda=function(a){return a}; Sda=function(a){return a}; Ng=function(a,b){if(!(a instanceof b))throw Error("Expected instanceof "+Nda(b)+" but got "+(a&&Nda(a.constructor)));return a}; Vda=function(a,b,c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.MM===Og)return a;if(!e)return c?d&2?(a=b[Tda])?b=a:(a=new b,zg(a.Sd,18),b=b[Tda]=a):b=new b:b=void 0,b;Uda(a,d);return new b(a)}; Uda=function(a,b){var c=Ag(a),d=c;0===d&&(d|=b&16);d|=b&2;d!==c&&Bg(a,d)}; Wda=function(a){var b=a.C+a.ju;0<=b&&Number.isInteger(b);return a.Pm||(a.Pm=a.Sd[b]={})}; g.Pg=function(a,b,c){return-1===b?null:b>=a.C?a.Pm?a.Pm[b]:void 0:c&&a.Pm&&(c=a.Pm[b],null!=c)?c:a.Sd[b+a.ju]}; H=function(a,b,c,d){Ig(a);return Qg(a,b,c,d)}; Qg=function(a,b,c,d){a.D&&(a.D=void 0);if(b>=a.C||d)return Wda(a)[b]=c,a;a.Sd[b+a.ju]=c;(c=a.Pm)&&b in c&&delete c[b];return a}; Rg=function(a,b,c){return void 0!==Xda(a,b,c,!1)}; Tg=function(a,b,c,d,e){var f=g.Pg(a,b,d);Array.isArray(f)||(f=Sg);var h=Ag(f);h&1||Cg(f);if(e)h&2||zg(f,18),c&1||Object.freeze(f);else{e=!(c&2);var l=h&2;c&1||!l?e&&h&16&&!l&&Kda(f,16):(f=Cg(Array.prototype.slice.call(f)),Qg(a,b,f,d))}return f}; Yda=function(a,b){var c=g.Pg(a,b);var d=null==c?c:"number"===typeof c||"NaN"===c||"Infinity"===c||"-Infinity"===c?Number(c):void 0;null!=d&&d!==c&&Qg(a,b,d);return d}; Ug=function(a,b){var c=g.Pg(a,b),d=Gg(c,!0,!0,!!(Ag(a.Sd)&18));null!=d&&d!==c&&Qg(a,b,d);return d}; Vg=function(a,b,c,d,e){var f=Dg(a.Sd),h=Tg(a,b,e||1,d,f),l=Ag(h);if(!(l&4)){Object.isFrozen(h)&&(h=Cg(h.slice()),Qg(a,b,h,d));for(var m=0,n=0;mc||c>=a.length)throw Error();return a[c]}; hea=function(a,b){th=b;a=new a(b);th=void 0;return a}; iea=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "object":if(a)if(Array.isArray(a)){if(0!==(Ag(a)&128))return a=Array.prototype.slice.call(a),Jg(a),a}else{if(Jf(a))return bda(a);if(a instanceof Of){var b=a.j;return null==b?"":"string"===typeof b?b:a.j=bda(b)}}}return a}; jea=function(a,b,c,d,e,f){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&Ag(a)&1?void 0:f&&Ag(a)&2?a:uh(a,b,c,void 0!==d,e,f);else if(Fg(a)){var h={},l;for(l in a)h[l]=jea(a[l],b,c,d,e,f);a=h}else a=b(a,d);return a}}; uh=function(a,b,c,d,e,f){var h=Ag(a);d=d?!!(h&16):void 0;a=Array.prototype.slice.call(a);for(var l=0;lh&&"number"!==typeof a[h]){var l=a[h++];c(b,l)}for(;hd?-2147483648:0)?-d:d,1.7976931348623157E308>>0,Tf=0;else if(2.2250738585072014E-308>d)b=d/Math.pow(2,-1074),Uf=(c|b/4294967296)>>>0,Tf=b>>>0;else{var e=d;b=0;if(2<=e)for(;2<=e&&1023>b;)b++,e/=2;else for(;1>e&&-1022>>0;Tf=4503599627370496*d>>>0}ug(a, Tf);ug(a,Uf)}}; Fh=function(a,b,c){b=g.Pg(b,c);null!=b&&("string"===typeof b&&Bda(b),null!=b&&(wg(a,c,0),"number"===typeof b?(a=a.j,mda(b),Cda(a,Tf,Uf)):(c=Bda(b),Cda(a.j,c.u,c.j))))}; Gh=function(a,b,c){a:if(b=g.Pg(b,c),null!=b){switch(typeof b){case "string":b=+b;break a;case "number":break a}b=void 0}null!=b&&null!=b&&(wg(a,c,0),Dda(a.j,b))}; Kea=function(a,b,c){b=Oda(g.Pg(b,c));null!=b&&(wg(a,c,0),a.j.j.push(b?1:0))}; Lea=function(a,b,c){b=g.Pg(b,c);null!=b&&xg(a,c,Tca(b))}; Mea=function(a,b,c,d,e){b=bh(b,d,c);null!=b&&(c=Fda(a,c),e(b,a),Gda(a,c))}; Nea=function(a){return function(){var b=new Eda;Bea(this,b,Ch(a));vg(b,b.j.end());for(var c=new Uint8Array(b.u),d=b.B,e=d.length,f=0,h=0;hw;w+=4)r[w/4]=q[w]<<24|q[w+1]<<16|q[w+2]<<8|q[w+3];for(w=16;80>w;w++)q=r[w-3]^r[w-8]^r[w-14]^r[w-16],r[w]=(q<<1|q>>>31)&4294967295;q=e[0];var x=e[1],z=e[2],B=e[3],E=e[4];for(w=0;80>w;w++){if(40>w)if(20>w){var G=B^x&(z^B);var F=1518500249}else G=x^z^B,F=1859775393;else 60>w?(G=x&z|B&(x|z),F=2400959708):(G=x^z^B,F=3395469782);G=((q<<5|q>>>27)&4294967295)+G+E+F+r[w]&4294967295;E=B;B=z;z=(x<<30|x>>>2)&4294967295;x=q;q=G}e[0]=e[0]+q&4294967295;e[1]=e[1]+x&4294967295;e[2]= e[2]+z&4294967295;e[3]=e[3]+B&4294967295;e[4]=e[4]+E&4294967295} function c(q,r){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var w=[],x=0,z=q.length;xn?c(l,56-n):c(l,64-(n-56));for(var w=63;56<=w;w--)f[w]=r&255,r>>>=8;b(f);for(w=r=0;5>w;w++)for(var x=24;0<=x;x-=8)q[r++]=e[w]>>x&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,Z1:function(){for(var q=d(),r="",w=0;wc&&(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]}; ki=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 se(a.slice(d,-1!==e?e:0))}; ui=function(a,b){for(var c=a.search(vfa),d=0,e,f=[];0<=(e=ufa(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(wfa,"$1")}; xfa=function(a,b,c){return si(ui(a,b),b,c)}; g.vi=function(a){g.yd.call(this);this.headers=new Map;this.Y=a||null;this.C=!1;this.ya=this.j=null;this.oa="";this.u=0;this.D="";this.I=this.Ja=this.ea=this.Fa=!1;this.T=0;this.Aa=null;this.Ra="";this.Ta=this.J=!1}; zfa=function(a,b,c,d,e,f,h){var l=new g.vi;yfa.push(l);b&&l.Qa("complete",b);l.qG("ready",l.F1);f&&(l.T=Math.max(0,f));h&&(l.J=h);l.send(a,c,d,e)}; Afa=function(a){return g.Je&&"number"===typeof a.timeout&&void 0!==a.ontimeout}; Cfa=function(a,b){a.C=!1;a.j&&(a.I=!0,a.j.abort(),a.I=!1);a.D=b;a.u=5;Bfa(a);wi(a)}; Bfa=function(a){a.Fa||(a.Fa=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}; Dfa=function(a){if(a.C&&"undefined"!=typeof xi)if(a.ya[1]&&4==g.yi(a)&&2==a.getStatus())a.getStatus();else if(a.ea&&4==g.yi(a))g.xf(a.XV,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.getStatus();a.C=!1;try{if(zi(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.u=6;try{var b=2a.Fb()?"https://web.archive.org/web/20230406005043/https://www.google.com/log?format=json&hasfast=true":"https://web.archive.org/web/20230406005043/https://play.google.com/log?format=json&hasfast=true");return a.oa}; Tfa=function(a,b){a.I=new g.Yh(1>b?1:b,3E5,.1);a.j.setInterval(a.I.getValue())}; Vfa=function(a){Ufa(a,function(b,c){b=si(b,"format","json");var d=!1;try{d=Ke().navigator.sendBeacon(b,c.mp())}catch(e){}a.ya&&!d&&(a.ya=!1);return d})}; Ufa=function(a,b){if(0!==a.u.length){var c=ui(Sfa(a),"format");c=mi(c,"auth",a.Ta(),"authuser",a.sessionIndex||"0");for(var d=0;10>d&&a.u.length;++d){var e=a.u.slice(0,32),f=a.D.yf(e,a.T,a.J);if(!b(c,f)){++a.J;break}a.T=0;a.J=0;a.u=a.u.slice(e.length)}a.j.enabled&&a.j.stop()}}; Wfa=function(a){g.eb.call(this,"event-logged",void 0);this.j=a}; Qfa=function(a,b){this.B=b=void 0===b?!1:b;this.u=this.locale=null;this.j=new Mfa;H(this.j,2,a);b||(this.locale=document.documentElement.getAttribute("lang"));Hi(this,new qh)}; Hi=function(a,b){I(a.j,qh,1,b);g.Pg(b,1)||H(b,1,1);a.B||(b=Ji(a),g.Pg(b,5)||H(b,5,a.locale));a.u&&(b=Ji(a),bh(b,Ei,9)||I(b,Ei,9,a.u))}; Xfa=function(a,b){Rg(bh(a.j,qh,1),Fi,11)&&(a=Ki(a),H(a,1,b))}; Yfa=function(a,b){Rg(bh(a.j,qh,1),Fi,11)&&(a=Ki(a),H(a,2,b))}; $fa=function(a,b){var c=void 0===c?Zfa:c;b(Ke(),c).then(function(d){a.u=d;d=Ji(a);I(d,Ei,9,a.u);return!0}).catch(function(){return!1})}; Ji=function(a){a=bh(a.j,qh,1);var b=bh(a,Fi,11);b||(b=new Fi,I(a,Fi,11,b));return b}; Ki=function(a){a=Ji(a);var b=bh(a,Di,10);b||(b=new Di,H(b,2,!1),I(a,Di,10,b));return b}; aga=function(a,b,c){zfa(a.url,function(d){d=d.target;zi(d)?b(g.Ai(d)):c(d.getStatus())},a.requestType,a.body,a.Sv,a.timeoutMillis,a.withCredentials)}; Li=function(a,b){g.C.call(this);this.I=a;this.Fa=b;this.C="https://web.archive.org/web/20230406005043/https://play.google.com/log?format=json&hasfast=true";this.D=!1;this.oa=aga;this.j=""}; Mi=function(a,b,c,d,e,f){a=void 0===a?-1:a;b=void 0===b?"":b;c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;g.C.call(this);f?b=f:(a=new Li(a,"0"),a.j=b,g.D(this,a),""!=c&&(a.C=c),d&&(a.D=!0),e&&(a.u=e),b=a.yf());this.j=b}; cga=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}}; dga=function(a){switch(a){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS"; default:return""}}; Ni=function(a,b,c){c=void 0===c?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c}; Vi=function(){var a,b,c;return null!=(c=null==(a=globalThis.performance)?void 0:null==(b=a.now)?void 0:b.call(a))?c:Date.now()}; Wi=function(a,b){this.logger=a;this.j=b;this.startMillis=Vi()}; Xi=function(){}; Yi=function(a,b){this.Jg=a;a=new Li(1654,"0");a.u="10";if(b){var c=new Pea;b=aea(c,b,Pda);a.B=b}b=new Mi(1654,"","",!1,"",a.yf());b=new g.Bf(b);this.clientError=new Mca(b);this.u=new Lca(b);this.B=new Kca(b);this.j=new Nca(b)}; ega=function(a){this.j=a;this.j.oo("/client_streamz/bg/fiec",{gh:3,fh:"rk"},{gh:2,fh:"ec"})}; Zi=function(a,b,c){a.j.Jp("/client_streamz/bg/fiec",b,c)}; fga=function(a){this.j=a;this.j.JE("/client_streamz/bg/fil",{gh:3,fh:"rk"})}; gga=function(a){this.j=a;this.j.oo("/client_streamz/bg/fsc",{gh:3,fh:"rk"})}; hga=function(a){this.j=a;this.j.JE("/client_streamz/bg/fsl",{gh:3,fh:"rk"})}; kga=function(a){function b(){c-=d;c-=e;c^=e>>>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=iga(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,h=f,l=0;12<=h;h-=12,l+=12)c+=$i(a,l),d+=$i(a,l+4),e+=$i(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 jga.toString(e)}; iga=function(a){for(var b=[],c=0;c=n.length)n=String.fromCharCode.apply(null,n);else{p="";for(var q=0;qb)throw Error("Bad port number "+b);a.C=b}else a.C=null}; Qj=function(a,b,c){b instanceof Sj?(a.u=b,Rga(a.u,a.J)):(c||(b=Tj(b,Sga)),a.u=new Sj(b,a.J))}; g.Uj=function(a,b,c){a.u.set(b,c)}; g.Vj=function(a){return a instanceof g.Hj?a.clone():new g.Hj(a)}; Rj=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; Tj=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Tga),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; Tga=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; Sj=function(a,b){this.u=this.j=null;this.B=a||null;this.C=!!b}; Wj=function(a){a.j||(a.j=new Map,a.u=0,a.B&&ii(a.B,function(b,c){a.add(se(b),c)}))}; Uga=function(a,b){Wj(a);b=Xj(a,b);return a.j.has(b)}; g.Vga=function(a,b,c){a.remove(b);0>7,a.error.code].concat(g.Ef(b)))}; tk=function(a,b,c){mk.call(this,a);this.I=b;this.clientState=c;this.B="S";this.u="q"}; nk=function(a){return new Promise(function(b){return void setTimeout(b,a)})}; uk=function(a,b){return Promise.race([a,nk(12E4).then(b)])}; vk=function(a){this.j=void 0;this.C=new g.cj;this.state=1;this.B=0;this.u=void 0;this.Ju=a.Ju;this.IV=a.IV;this.onError=a.onError;this.logger=a.j7a?new Xi:new Yi(a.Jg,a.sS);this.hD=!!a.hD}; nha=function(a,b){var c=lha(a);return new vk({Jg:a,Ju:c,onError:b,sS:void 0,hD:void 0})}; oha=function(a,b,c){var d=window.webpocb;if(!d)throw new lk(4,Error("PMD:Undefined"));d=d(Rf(Wg(b,1)));if(!(d instanceof Function))throw new lk(16,Error("APF:Failed"));return new pk(a.logger,c,d,ih(ph(b,3),0),1E3*ih(ph(b,2),0))}; pha=function(a,b){return uk(a.logger.EM("c",void 0===b?1:b,Dga(a.Ju)),function(){return Promise.reject(new lk(10,"JVZ:Timeout"))})}; qha=function(a){var b,c,d,e,f,h,l,m,n,p,q,r,w,x,z,B;return g.A(function(E){switch(E.j){case 1:b=void 0,c=a.isReady()?6E4:1E3,d=new g.Yh(c,6E5,.25,2),e=1;case 2:if(!(2>=e)){E.Ka(4);break}g.ra(E,5);a.state=3;a.B=e-1;return g.y(E,a.u&&1===e?a.u:pha(a,e),7);case 7:return f=E.u,a.u=void 0,a.state=4,h=new Wi(a.logger,"b"),g.y(E,xga(f),8);case 8:return l=new dj({challenge:f}),a.state=5,g.y(E,uk(l.snapshot({}),function(){return Promise.reject(new lk(15,"MDA:Timeout"))}),9); case 9:return m=E.u,h.done(),a.state=6,g.y(E,uk(a.logger.EM("g",e,Gga(a.Ju,m)),function(){return Promise.reject(new lk(10,"BWB:Timeout"))}),10); case 10:n=E.u;a.state=7;p=new Wi(a.logger,"i");if(rh(n,4)){l.dispose();var G=new rk(a.logger,rh(n,4),1E3*ih(ph(n,2),0))}else ih(ph(n,3),0)?G=oha(a,n,l):(l.dispose(),G=new qk(a.logger,Rf(Wg(n,1)),1E3*ih(ph(n,2),0)));q=G;p.done();w=r=void 0;null==(w=(r=a).IV)||w.call(r,Rf(Wg(n,1)));a.state=8;return E.return(q);case 5:x=g.ta(E);b=x instanceof lk?x:x instanceof Ni?new lk(11,x):new lk(12,x);a.logger.vC(b.code);B=z=void 0;null==(B=(z=a).onError)||B.call(z,b);a:{if(x instanceof Ni)switch(x.code){case 2:case 13:case 14:case 4:break; default:G=!1;break a}G=!0}if(!G)throw b;return g.y(E,nk(d.getValue()),11);case 11:g.Zh(d);case 3:e++;E.Ka(2);break;case 4:throw b;}})}; rha=function(a){var b,c,d;g.A(function(e){switch(e.j){case 1:return b=void 0,g.ra(e,4),g.y(e,qha(a),6);case 6:b=e.u;g.sa(e,5);break;case 4:c=g.ta(e);if(a.j){a.logger.vC(13);e.Ka(0);break}a.logger.vC(14);c instanceof lk||(c=new lk(14,c instanceof Error?c:Error(String(c))));b=new sk(a.logger,c,!a.hD);case 5:return d=void 0,null==(d=a.j)||d.dispose(),a.j=b,a.C.resolve(),g.y(e,a.j.D.promise,1)}})}; sha=function(a){a=a.url;var b=/[?&]dsh=1(&|$)/.test(a);this.B=!b&&/[?&]ae=1(&|$)/.test(a);this.C=!b&&/[?&]ae=2(&|$)/.test(a);if((this.j=/[?&]adurl=([^&]*)/.exec(a))&&this.j[1]){try{var c=decodeURIComponent(this.j[1])}catch(d){c=null}this.u=c}}; tha=function(a,b,c,d,e){var f=window,h=c?"//web.archive.org/web/20230406005043/https://pagead2.googlesyndication.com/bg/"+g.te(c)+".js":"";c=f.document;var l={};b&&(l._scs_=b);l._bgu_=h;l._bgp_=d;l._li_="v_h.3.0.0.0";e&&(l._upb_=e);(b=f.GoogleTyFxhY)&&"function"==typeof b.push||(b=f.GoogleTyFxhY=[]);b.push(l);b=ze(c).createElement("SCRIPT");b.type="text/javascript";b.async=!0;a=Cba(g.Nd("//web.archive.org/web/20230406005043/https://tpc.googlesyndication.com/sodar/%{path}"),{path:g.te(a)+".js"});g.lj(b,a);(f=(f.GoogleTyFxhYEET||{})[b.src])?f():c.getElementsByTagName("head")[0].appendChild(b)}; uha=function(a){var b={};g.Gb(a,function(c){var d=c.event,e=b[d];b.hasOwnProperty(d)?null!==e&&(c.equals(e)||(b[d]=null)):b[d]=c}); xaa(a,function(c){return null===b[c.event]})}; wk=function(){this.Zd=0;this.j=!1;this.u=-1;this.Wu=!1;this.Tj=0}; xk=function(){this.u=null;this.j=!1}; yk=function(a){xk.call(this);this.C=a}; zk=function(){xk.call(this)}; Ak=function(){xk.call(this)}; Bk=function(){this.j={};this.u=!0;this.B={}}; Ck=function(a,b,c){a.j[b]||(a.j[b]=new yk(c));return a.j[b]}; vha=function(a){a.j.queryid||(a.j.queryid=new Ak)}; Dk=function(a,b,c){(a=a.j[b])&&a.B(c)}; Ek=function(a,b){if(g.Oc(a.B,b))return a.B[b];if(a=a.j[b])return a.getValue()}; Jk=function(a){var b={},c=g.Gc(a.j,function(d){return d.j}); g.Fc(c,function(d,e){d=void 0!==a.B[e]?String(a.B[e]):d.j&&null!==d.u?String(d.u):"";0e?encodeURIComponent(Oha(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; Pha=function(a){var b=1,c;for(c in a.u)b=c.length>b?c.length:b;return 3997-b-a.B.length-1}; Zk=function(a,b){this.j=a;this.depth=b}; Rha=function(){function a(l,m){return null==l?m:l} var b=Vk(),c=Math.max(b.length-1,0),d=Nha(b);b=d.j;var e=d.u,f=d.B,h=[];f&&h.push(new Zk([f.url,f.nM?2:0],a(f.depth,1)));e&&e!=f&&h.push(new Zk([e.url,2],0));b.url&&b!=f&&h.push(new Zk([b.url,0],a(b.depth,c)));d=g.vh(h,function(l,m){return h.slice(0,h.length-m)}); !b.url||(f||e)&&b!=f||(e=Fha(b.url))&&d.push([new Zk([e,1],a(b.depth,c))]);d.push([]);return g.vh(d,function(l){return Qha(c,l)})}; Qha=function(a,b){g.$k(b,function(e){return 0<=e.depth}); var c=al(b,function(e,f){return Math.max(e,f.depth)},-1),d=Caa(c+2); d[0]=a;g.Gb(b,function(e){return d[e.depth+1]=e.j}); return d}; Sha=function(){var a=void 0===a?Rha():a;return a.map(function(b){return Yk(b)})}; Tha=function(a){var b=!1;b=void 0===b?!1:b;Ok.google_image_requests||(Ok.google_image_requests=[]);var c=Gha("IMG",Ok.document);b&&(c.attributionSrc="");c.src=a;Ok.google_image_requests.push(c)}; bl=function(a){var b="Qg";if(a.Qg&&a.hasOwnProperty(b))return a.Qg;var c=new a;a.Qg=c;a.hasOwnProperty(b);return c}; cl=function(){this.u=new Bha;this.j=Mk()?new Nk:new Lk}; Uha=function(){dl();var a=Ok.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&"function"===typeof Ok.setInterval&&"function"===typeof Ok.clearInterval&&"function"===typeof Ok.setTimeout&&"function"===typeof Ok.clearTimeout)}; Vha=function(){dl();return Sha()}; Wha=function(){}; dl=function(){return bl(Wha).getContext()}; el=function(a){J.call(this,a)}; Xha=function(a){this.B=a;this.j=-1;this.u=this.C=0}; fl=function(a,b){return function(){var c=g.ya.apply(0,arguments);if(-1Math.random())}; jia=function(a){a&&ll&&jl()&&(ll.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),ll.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; kia=function(){var a=ml;this.j=nl;this.SS="jserror";this.QO=!0;this.aK=null;this.u=this.GM;this.Gc=void 0===a?null:a}; lia=function(a,b,c){var d=ol;return fl(gl().j.j,function(){try{if(d.Gc&&d.Gc.j){var e=d.Gc.start(a.toString(),3);var f=b();d.Gc.end(e)}else f=b()}catch(l){var h=d.QO;try{jia(e),h=d.u(a,new pl(ql(l)),void 0,c)}catch(m){d.GM(217,m)}if(!h)throw l;}return f})()}; rl=function(a,b,c,d){return fl(gl().j.j,function(){var e=g.ya.apply(0,arguments);return lia(a,function(){return b.apply(c,e)},d)})}; ql=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}; pl=function(a){fia.call(this,Error(a),{message:a})}; mia=function(){Ok&&"undefined"!=typeof Ok.google_measure_js_timing&&(Ok.google_measure_js_timing||ml.disable())}; nia=function(a){ol.aK=function(b){g.Gb(a,function(c){c(b)})}}; oia=function(a,b){return lia(a,b)}; sl=function(a,b){return rl(a,b)}; tl=function(a,b,c,d){ol.GM(a,b,c,d)}; ul=function(){return Date.now()-pia}; qia=function(){var a=gl().B,b=0<=vl?ul()-vl:-1,c=wl?ul()-xl:-1,d=0<=yl?ul()-yl:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];tl(637,Error(),.001);var f=b;-1!=c&&cd?500:h}; zl=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}; Al=function(a){return a.right-a.left}; Bl=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}; Cl=function(a,b,c){b instanceof g.me?(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}; Dl=function(a,b,c){var d=new zl(0,0,0,0);this.time=a;this.volume=null;this.B=b;this.j=d;this.u=c}; El=function(a,b,c,d,e,f,h,l){this.C=a;this.J=b;this.B=c;this.I=d;this.j=e;this.D=f;this.u=h;this.T=l}; sia=function(a){var b=a!==a.top,c=a.top===Jha(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),dba(ria,function(h){return"function"===typeof f[h]})||(e=1)); return{Ym:f,compatibility:e,C8:d}}; tia=function(){var a=window.document;return a&&"function"===typeof a.elementFromPoint}; uia=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.oe(b.innerWidth,b.innerHeight)).round():gca(b||window).round()}catch(d){return new g.oe(-12245933,-12245933)}}; Fl=function(a,b,c){try{a&&(b=b.top);var d=uia(a,b,c),e=d.height,f=d.width;if(-12245933===f)return new zl(f,f,f,f);var h=ica(ze(b.document).j),l=h.x,m=h.y;return new zl(m,l+f,m+e,l)}catch(n){return new zl(-12245933,-12245933,-12245933,-12245933)}}; g.Gl=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}; Hl=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.Jl=function(a,b,c){if("string"===typeof b)(b=Il(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Il(c,d);f&&(c.style[f]=e)}}; Il=function(a,b){var c=via[b];if(!c){var d=aca(b);c=d;void 0===a.style[d]&&(d=(g.Bc?"Webkit":Kl?"Moz":g.Je?"ms":null)+cca(d),void 0!==a.style[d]&&(c=d));via[b]=c}return c}; g.Ll=function(a,b){var c=a.style[aca(b)];return"undefined"!==typeof c?c:a.style[Il(a,b)]||""}; Ml=function(a,b){var c=ye(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}; Nl=function(a,b){return Ml(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}; g.Pl=function(a,b,c){if(b instanceof g.me){var d=b.x;b=b.y}else d=b,b=c;a.style.left=g.Ol(d,!1);a.style.top=g.Ol(b,!1)}; Ql=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; wia=function(a){if(g.Je&&!g.Ac(8))return a.offsetParent;var b=ye(a),c=Nl(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=Nl(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.Rl=function(a){var b=ye(a),c=new g.me(0,0);var d=b?ye(b):document;d=!g.Je||g.Ac(9)||"CSS1Compat"==ze(d).j.compatMode?d.documentElement:d.body;if(a==d)return c;a=Ql(a);b=ica(ze(b).j);c.x=a.left+b.x;c.y=a.top+b.y;return c}; yia=function(a,b){var c=new g.me(0,0),d=Ke(ye(a));if(!vc(d,"parent"))return c;do{var e=d==b?g.Rl(a):xia(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.Sl=function(a,b){a=zia(a);b=zia(b);return new g.me(a.x-b.x,a.y-b.y)}; xia=function(a){a=Ql(a);return new g.me(a.left,a.top)}; zia=function(a){if(1==a.nodeType)return xia(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.me(a.clientX,a.clientY)}; g.Zl=function(a,b,c){if(b instanceof g.oe)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=g.Ol(b,!0);a.style.height=g.Ol(c,!0)}; g.Ol=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; g.$l=function(a){var b=Aia;if("none"!=Nl(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}; Aia=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Bc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ql(a),new g.oe(a.right-a.left,a.bottom-a.top)):new g.oe(b,c)}; g.am=function(a,b){a.style.display=b?"":"none"}; bm=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b}; Bia=function(a){return new zl(a.top,a.right,a.bottom,a.left)}; Cia=function(a){var b=a.top||0,c=a.left||0;return new zl(b,c+(a.width||0),b+(a.height||0),c)}; cm=function(a){return null!=a&&0<=a&&1>=a}; Dia=function(){var a=g.Zb();return a?dm("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;MiBOX".split(";"),function(b){return Qb(a,b)})||Qb(a,"OMI/")&&!Qb(a,"XiaoMi/")?!0:Qb(a,"Presto")&&Qb(a,"Linux")&&!Qb(a,"X11")&&!Qb(a,"Android")&&!Qb(a,"Mobi"):!1}; Eia=function(){this.B=!Tk(Ok.top);this.isMobileDevice=Sk()||Cha();var a=Vk();this.domain=0c.height?m>p?(d=m,e=n):(d=p,e=q):mb.B?!1:a.ub.u?!1:typeof a.jtypeof b.j?!1:a.jc++;){if(a===b)return!0;try{if(a=g.Ye(a)||a){var d=ye(a),e=d&&Ke(d),f=e&&e.frameElement;f&&(a=f)}}catch(h){break}}return!1}; aja=function(a,b,c){if(!a||!b)return!1;b=Cl(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;Tk(window.top)&&window.top&&window.top.document&&(window=window.top);if(!tia())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=ye(c))&&b.defaultView&&b.defaultView.frameElement)&&$ia(b,a);var d=a===c;a=!d&&a&&bf(a,function(e){return e===c}); return!(b||d||a)}; bja=function(a,b,c,d){return em().B?!1:0>=Al(a)||0>=a.getHeight()?!0:c&&d?oia(208,function(){return aja(a,b,c)}):!1}; Dm=function(a,b,c){g.C.call(this);this.position=cja.clone();this.yG=this.MF();this.DM=-2;this.T8=Date.now();this.KX=-1;this.Yo=b;this.pG=null;this.gB=!1;this.JG=null;this.opacity=-1;this.requestSource=c;this.a9=!1;this.IM=function(){}; this.bY=function(){}; this.Bj=new zha;this.Bj.Ps=a;this.Bj.j=a;this.Js=!1;this.Cu={TM:null,SM:null};this.pX=!0;this.ND=null;this.yy=this.P3=!1;gl().I++;this.Ah=this.yL();this.GX=-1;this.qf=null;this.hasCompleted=this.M3=!1;this.Cc=new Bk;yha(this.Cc);dja(this);1==this.requestSource?Dk(this.Cc,"od",1):Dk(this.Cc,"od",0)}; dja=function(a){a=a.Bj.Ps;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:eja&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+bca()):!!a.getAttribute("data-"+bca());b&&(em().u=!0)}; Em=function(a,b){b!=a.yy&&(a.yy=b,a=em(),b?a.I++:0c?0:a}; hja=function(a,b,c){if(a.qf){a.qf.Cr();var d=a.qf.J,e=d.C,f=e.j;if(null!=d.I){var h=d.B;a.JG=new g.me(h.left-f.left,h.top-f.top)}f=a.QH()?Math.max(d.j,d.D):d.j;h={};null!==e.volume&&(h.volume=e.volume);e=a.uT(d);a.pG=d;a.La(f,b,c,!1,h,e,d.T)}}; ija=function(a){if(a.gB&&a.ND){var b=1==Ek(a.Cc,"od"),c=em().j,d=a.ND,e=a.qf?a.qf.getName():"ns",f=new g.oe(Al(c),c.getHeight());c=a.QH();a={H8:e,JG:a.JG,w9:f,QH:c,Zd:a.Ah.Zd,p9:b};if(b=d.u){b.Cr();e=b.J;f=e.C.j;var h=null,l=null;null!=e.I&&f&&(h=e.B,h=new g.me(h.left-f.left,h.top-f.top),l=new g.oe(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.j,e.D):e.j;c={H8:b.getName(),JG:h,w9:l,QH:c,p9:!1,Zd:e}}else c=null;c&&Uia(d,a,c)}}; jja=function(a,b,c){b&&(a.IM=b);c&&(a.bY=c)}; g.Fm=function(){}; g.Gm=function(a){return{value:a,done:!1}}; kja=function(){this.C=this.j=this.B=this.u=this.D=0}; lja=function(a){var b={};var c=g.Ra()-a.D;b=(b.ptlt=c,b);(c=a.u)&&(b.pnk=c);(c=a.B)&&(b.pnc=c);(c=a.C)&&(b.pnmm=c);(a=a.j)&&(b.pns=a);return b}; mja=function(){wk.call(this);this.fullscreen=!1;this.volume=void 0;this.B=!1;this.mediaTime=-1}; Hm=function(a){return cm(a.volume)&&0Math.max(1E4,a.B/3)?0:b);var c=a.J(a)||{};c=void 0!==c.currentTime?c.currentTime:a.ea;var d=c-a.ea,e=0;0<=d?(a.oa+=b,a.Ja+=Math.max(b-d,0),e=Math.min(d,a.oa)):a.Ra+=Math.abs(d);0!=d&&(a.oa=0);-1==a.Ta&&0=a.B/2:0=a.Fa:!1:!1}; zja=function(a){var b=bm(a.Ah.Zd,2),c=a.Ng.B,d=a.Ah,e=$m(a),f=Zm(e.C),h=Zm(e.I),l=Zm(d.volume),m=bm(e.J,2),n=bm(e.oa,2),p=bm(d.Zd,2),q=bm(e.Aa,2),r=bm(e.Fa,2);d=bm(d.Tj,2);a=a.ws().clone();a.round();e=zm(e,!1);return{v9:b,dC:c,CG:f,vG:h,OA:l,DG:m,wG:n,Zd:p,FG:q,xG:r,Tj:d,position:a,HG:e}}; Bja=function(a,b){Aja(a.j,b,function(){return{v9:0,dC:void 0,CG:-1,vG:-1,OA:-1,DG:-1,wG:-1,Zd:-1,FG:-1,xG:-1,Tj:-1,position:void 0,HG:[]}}); a.j[b]=zja(a)}; Aja=function(a,b,c){for(var d=a.length;dc.time?b:c},a[0])}; on=function(a){a=void 0===a?Ok:a;mm.call(this,new im(a,2))}; pn=function(){var a=$ja();im.call(this,Ok.top,a,"geo")}; $ja=function(){gl();var a=em();return a.B||a.u?0:2}; aka=function(){}; qn=function(){this.done=!1;this.j={W0:0,RR:0,m7a:0,LS:0,bM:-1,Q1:0,P1:0,R1:0,G8:0};this.D=null;this.I=!1;this.B=null;this.J=0;this.u=new hm(this)}; yn=function(){var a=xn;a.I||(a.I=!0,bka(a,function(){return a.C.apply(a,g.u(g.ya.apply(0,arguments)))}),a.C())}; cka=function(){bl(aka);var a=bl(jn);null!=a.j&&a.j.j?Hia(a.j.j):em().update(Ok)}; zn=function(a,b,c){if(!a.done&&(a.u.cancel(),0!=b.length)){a.B=null;try{cka();var d=ul();gl().D=d;if(null!=bl(jn).j)for(var e=0;eg.Lc(mka).length?null:al(b,function(c,d){d=d.toLowerCase().split("=");if(2!=d.length||void 0===nka[d[0]]||!nka[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}}; pka=function(a,b){if(void 0==a.j)return 0;switch(a.D){case "mtos":return a.u?wm(b.j,a.j):wm(b.u,a.j);case "tos":return a.u?vm(b.j,a.j):vm(b.u,a.j)}return 0}; Fn=function(a,b,c,d){Rm.call(this,b,d);this.J=a;this.T=c}; Gn=function(){}; Hn=function(a){Rm.call(this,"fully_viewable_audible_half_duration_impression",a)}; In=function(a){this.j=a}; Jn=function(a,b){Rm.call(this,a,b)}; Kn=function(a){Sm.call(this,"measurable_impression",a)}; Ln=function(){In.apply(this,arguments)}; Mn=function(a,b,c){Vm.call(this,a,b,c)}; Nn=function(a){a=void 0===a?Ok:a;mm.call(this,new im(a,2))}; On=function(a,b,c){Vm.call(this,a,b,c)}; Pn=function(a){a=void 0===a?Ok:a;mm.call(this,new im(a,2))}; Qn=function(){im.call(this,Ok,2,"mraid");this.Ja=0;this.oa=this.Aa=!1;this.J=null;this.u=sia(this.B);this.C.j=new zl(0,0,0,0);this.Ma=!1}; Rn=function(a,b,c){a.ut("addEventListener",b,c)}; tka=function(a){gl().C=!!a.ut("isViewable");Rn(a,"viewableChange",qka);"loading"===a.ut("getState")?Rn(a,"ready",rka):ska(a)}; ska=function(a){"string"===typeof a.u.Ym.AFMA_LIDAR?(a.Aa=!0,uka(a)):(a.u.compatibility=3,a.J="nc",a.fail("w"))}; uka=function(a){a.oa=!1;var b=1==Ek(gl().Cc,"rmmt"),c=!!a.ut("isViewable");(b?!c:1)&&dl().setTimeout(sl(524,function(){a.oa||(vka(a),tl(540,Error()),a.J="mt",a.fail("w"))}),500); wka(a);Rn(a,a.u.Ym.AFMA_LIDAR,xka)}; wka=function(a){var b=1==Ek(gl().Cc,"sneio"),c=void 0!==a.u.Ym.AFMA_LIDAR_EXP_1,d=void 0!==a.u.Ym.AFMA_LIDAR_EXP_2;(b=b&&d)&&(a.u.Ym.AFMA_LIDAR_EXP_2=!0);c&&(a.u.Ym.AFMA_LIDAR_EXP_1=!b)}; vka=function(a){a.ut("removeEventListener",a.u.Ym.AFMA_LIDAR,xka);a.Aa=!1}; yka=function(a,b){if("loading"===a.ut("getState"))return new g.oe(-1,-1);b=a.ut(b);if(!b)return new g.oe(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new g.oe(-1,-1):new g.oe(a,b)}; rka=function(){try{var a=bl(Qn);a.ut("removeEventListener","ready",rka);ska(a)}catch(b){tl(541,b)}}; xka=function(a,b){try{var c=bl(Qn);c.oa=!0;var d=a?new zl(a.y,a.x+a.width,a.y+a.height,a.x):new zl(0,0,0,0);var e=ul(),f=gm();var h=new Dl(e,f,c);h.j=d;h.volume=b;c.Ds(h)}catch(l){tl(542,l)}}; qka=function(a){var b=gl(),c=bl(Qn);a&&!b.C&&(b.C=!0,c.Ma=!0,c.J&&c.fail("w",!0))}; Sn=function(){this.isInitialized=!1;this.j=this.u=null;var a={};this.J=(a.start=this.y3,a.firstquartile=this.t3,a.midpoint=this.v3,a.thirdquartile=this.z3,a.complete=this.q3,a.error=this.r3,a.pause=this.PN,a.resume=this.UW,a.skip=this.x3,a.viewable_impression=this.Io,a.mute=this.Tz,a.unmute=this.Tz,a.fullscreen=this.u3,a.exitfullscreen=this.s3,a.fully_viewable_audible_half_duration_impression=this.Io,a.measurable_impression=this.Io,a.abandon=this.PN,a.engagedview=this.Io,a.impression=this.Io,a.creativeview= this.Io,a.progress=this.Tz,a.custom_metric_viewable=this.Io,a.bufferstart=this.PN,a.bufferfinish=this.UW,a.audio_measurable=this.Io,a.audio_audible=this.Io,a);a={};this.T=(a.overlay_resize=this.w3,a.abandon=this.QL,a.close=this.QL,a.collapse=this.QL,a.overlay_unmeasurable_impression=function(b){return cn(b,"overlay_unmeasurable_impression",gm())},a.overlay_viewable_immediate_impression=function(b){return cn(b,"overlay_viewable_immediate_impression",gm())},a.overlay_unviewable_impression=function(b){return cn(b, "overlay_unviewable_impression",gm())},a.overlay_viewable_end_of_session_impression=function(b){return cn(b,"overlay_viewable_end_of_session_impression",gm())},a); gl().u=3;zka(this);this.B=!1}; Tn=function(a,b,c,d){b=a.qD(null,d,!0,b);b.C=c;Tja([b],a.B);return b}; Aka=function(a,b,c){uha(b);var d=a.j;g.Gb(b,function(e){var f=g.vh(e.criteria,function(h){var l=oka(h);if(null==l)h=null;else if(h=new lka,null!=l.visible&&(h.j=l.visible/100),null!=l.audible&&(h.u=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=Haa(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);h.setTime(l,n,m)}return h}); dm(f,function(h){return null==h})||xja(c,new Fn(e.id,e.event,f,d))})}; Bka=function(){var a=[],b=gl();a.push(bl(pn));Ek(b.Cc,"mvp_lv")&&a.push(bl(Qn));b=[new Nn,new Pn];b.push(new kn(a));b.push(new on(Ok));return b}; Cka=function(a){if(!a.isInitialized){a.isInitialized=!0;try{var b=ul(),c=gl(),d=em();vl=b;c.B=79463069;"o"!==a.u&&(gka=Jha(Ok));if(Uha()){xn.j.RR=0;xn.j.bM=ul()-b;var e=Bka(),f=bl(jn);f.u=e;Vja(f,function(){Un()})?xn.done||(dka(),jm(f.j.j,a),yn()):d.B?Un():yn()}else Vn=!0}catch(h){throw gn.reset(),h; }}}; Xn=function(a){xn.u.cancel();Wn=a;xn.done=!0}; Yn=function(a){if(a.u)return a.u;var b=bl(jn).j;if(b)switch(b.getName()){case "nis":a.u="n";break;case "gsv":a.u="m"}a.u||(a.u="h");return a.u}; Zn=function(a,b,c){if(null==a.j)return b.Zz|=4,!1;a=Dka(a.j,c,b);b.Zz|=a;return 0==a}; Un=function(){var a=[new on(Ok)],b=bl(jn);b.u=a;Vja(b,function(){Xn("i")})?xn.done||(dka(),yn()):Xn("i")}; Eka=function(a,b){if(!a.Fb){var c=cn(a,"start",gm());c=a.QN.j(c).j;var d={id:"lidarv"};d.r=b;d.sv="950";null!==Bn&&(d.v=Bn);ii(c,function(e,f){return d[e]="mtos"==e||"tos"==e?f:encodeURIComponent(f)}); b=hka();ii(b,function(e,f){return d[e]=encodeURIComponent(f)}); b="//web.archive.org/web/20230406005043/https://pagead2.googlesyndication.com/pagead/gen_204?"+pm(om(new nm,d));Sia(b);a.Fb=!0}}; $n=function(a,b,c){zn(xn,[a],!gm());Bja(a,c);4!=c&&Aja(a.Aa,c,a.MF);return cn(a,b,gm())}; zka=function(a){fka(function(){var b=Fka();null!=a.u&&(b.sdk=a.u);var c=bl(jn);null!=c.j&&(b.avms=c.j.getName());return b})}; Gka=function(a,b,c,d){if(a.B)var e=fn(gn,b);else e=Pja(gn,c),null!==e&&e.gi!==b&&(a.bB(e),e=null);e||(b=a.qD(c,ul(),!1,b),0==gn.u.length&&(gl().B=79463069),Uja([b]),e=b,e.C=Yn(a),d&&(e.Za=d));return e}; Hka=function(a){g.Gb(gn.j,function(b){3==b.Ji&&a.bB(b)})}; Ika=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)}; rla=function(a){if(!a)return $d;var b=document.createElement("div").style;nla(a).forEach(function(c){var d=g.Bc&&c in ola?c:c.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Lb(d,"--")||Lb(d,"var")||(c=mla(pla,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[c])||"",c=kla(c),null!=c&&mla(qla,b,b.setProperty?"setProperty":"setAttribute",[d,c]))}); return Wba(g.Nd("Output of CSS sanitizer"),b.cssText||"")}; nla=function(a){g.Ia(a)?a=g.tb(a):(a=g.Lc(a),g.qb(a,"cssText"));return a}; g.Oo=function(a){var b,c=b=0,d=!1;a=a.split(sla);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=Qo(a,c);var l=(Qo(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.Ra()}; g.Yo=function(a){this.j=a}; Cla=function(){}; Zo=function(){}; $o=function(a){this.j=a}; ap=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.j=a}; Dla=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.j=a}; cp=function(a,b){this.u=a;this.j=null;if(g.Je&&!g.Ac(9)){bp||(bp=new g.Ho);this.j=bp.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)),bp.set(a,this.j));try{this.j.load(this.u)}catch(c){this.j=null}}}; dp=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Ela[b]})}; ep=function(a){try{a.j.save(a.u)}catch(b){throw"Storage mechanism: Quota exceeded";}}; lp=function(a,b){this.u=a;this.j=b+"::"}; g.mp=function(a){var b=new ap;return b.isAvailable()?a?new lp(b,a):b:null}; np=function(a,b){this.j=a;this.u=b}; op=function(a){this.j=[];if(a)a:{if(a instanceof op){var b=a.Xp();a=a.Il();if(0>=this.j.length){for(var c=this.j,d=0;df?1:2048>f?2:65536>f?3:4}var l=new qp.Cw(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}; rp=function(a){for(var b=a.length;0<=--b;)a[b]=0}; sp=function(a,b,c,d,e){this.wX=a;this.w2=b;this.v2=c;this.g2=d;this.l4=e;this.bU=a&&a.length}; tp=function(a,b){this.MS=a;this.Sy=0;this.Ct=b}; up=function(a,b){a.ag[a.pending++]=b&255;a.ag[a.pending++]=b>>>8&255}; vp=function(a,b,c){a.Lh>16-c?(a.Wi|=b<>16-a.Lh,a.Lh+=c-16):(a.Wi|=b<>>=1,c<<=1;while(0<--b);return c>>>1}; Ila=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]=Hla(d[e]++,e))}; Jla=function(a){var b;for(b=0;286>b;b++)a.Dj[2*b]=0;for(b=0;30>b;b++)a.Iu[2*b]=0;for(b=0;19>b;b++)a.Di[2*b]=0;a.Dj[512]=1;a.Eq=a.Nz=0;a.Ml=a.matches=0}; Kla=function(a){8e?Bp[e]:Bp[256+(e>>>7)];wp(a,h,c);l=Cp[h];0!==l&&(e-=Dp[h],vp(a,e,l))}}while(da.iq;){var m=a.jg[++a.iq]=2>l?++l:0;c[2*m]=1;a.depth[m]=0;a.Eq--;e&&(a.Nz-=d[2*m+1])}b.Sy=l;for(h=a.iq>>1;1<=h;h--)xp(a,c,h);m=f;do h=a.jg[1],a.jg[1]=a.jg[a.iq--],xp(a,c,1),d=a.jg[1],a.jg[--a.wy]=h,a.jg[--a.wy]=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.jg[1]=m++,xp(a,c,1);while(2<= a.iq);a.jg[--a.wy]=a.jg[1];h=b.MS;m=b.Sy;d=b.Ct.wX;e=b.Ct.bU;f=b.Ct.w2;var n=b.Ct.v2,p=b.Ct.l4,q,r=0;for(q=0;15>=q;q++)a.Lp[q]=0;h[2*a.jg[a.wy]+1]=0;for(b=a.wy+1;573>b;b++){var w=a.jg[b];q=h[2*h[2*w+1]+1]+1;q>p&&(q=p,r++);h[2*w+1]=q;if(!(w>m)){a.Lp[q]++;var x=0;w>=n&&(x=f[w-n]);var z=h[2*w];a.Eq+=z*(q+x);e&&(a.Nz+=z*(d[2*w+1]+x))}}if(0!==r){do{for(q=p-1;0===a.Lp[q];)q--;a.Lp[q]--;a.Lp[q+1]+=2;a.Lp[p]--;r-=2}while(0m||(h[2*d+1]!==q&&(a.Eq+=(q- h[2*d+1])*h[2*d],h[2*d+1]=q),w--)}Ila(c,l,a.Lp)}; Ola=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.Di[34]++:a.Di[36]++,h=0,e=n,0===f?(l=138,m=3):n===f?(l=6,m=3):(l=7,m=4))}}; Pla=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?(wp(a,17,a.Di),vp(a,h-3,3)):(wp(a,18,a.Di),vp(a,h-11,7));h=0;e=n;0===f?(l=138,m=3):n===f?(l=6,m=3):(l=7,m=4)}}}; Qla=function(a){var b=4093624447,c;for(c=0;31>=c;c++,b>>>=1)if(b&1&&0!==a.Dj[2*c])return 0;if(0!==a.Dj[18]||0!==a.Dj[20]||0!==a.Dj[26])return 1;for(c=32;256>c;c++)if(0!==a.Dj[2*c])return 1;return 0}; Fp=function(a,b,c){a.ag[a.aB+2*a.Ml]=b>>>8&255;a.ag[a.aB+2*a.Ml+1]=b&255;a.ag[a.tM+a.Ml]=c&255;a.Ml++;0===b?a.Dj[2*c]++:(a.matches++,b--,a.Dj[2*(yp[c]+256+1)]++,a.Iu[2*(256>b?Bp[b]:Bp[256+(b>>>7)])]++);return a.Ml===a.uC-1}; Hp=function(a,b){a.msg=Gp[b];return b}; Ip=function(a){for(var b=a.length;0<=--b;)a[b]=0}; Jp=function(a){var b=a.state,c=b.pending;c>a.qe&&(c=a.qe);0!==c&&(qp.Ax(a.Sj,b.ag,b.aD,c,a.Yy),a.Yy+=c,b.aD+=c,a.kP+=c,a.qe-=c,b.pending-=c,0===b.pending&&(b.aD=0))}; Mp=function(a,b){var c=0<=a.rk?a.rk:-1,d=a.zb-a.rk,e=0;if(0>>3;var h=a.Nz+3+7>>>3;h<=f&&(f=h)}else f=h=d+5;if(d+4<=f&&-1!==c)vp(a,b?1:0,3),Lla(a,c,d);else if(4===a.strategy||h===f)vp(a,2+(b?1:0),3),Nla(a,Kp,Lp);else{vp(a,4+(b?1:0),3);c=a.nG.Sy+1;d=a.iF.Sy+1;e+=1;vp(a,c-257,5);vp(a,d-1,5);vp(a,e-4,4);for(f=0;f>>8&255;a.ag[a.pending++]=b&255}; Sla=function(a,b){var c=a.XU,d=a.zb,e=a.Nk,f=a.mV,h=a.zb>a.Ri-262?a.zb-(a.Ri-262):0,l=a.window,m=a.Jt,n=a.ip,p=a.zb+258,q=l[d+e-1],r=l[d+e];a.Nk>=a.ET&&(c>>=2);f>a.Yb&&(f=a.Yb);do{var w=b;if(l[w+e]===r&&l[w+e-1]===q&&l[w]===l[d]&&l[++w]===l[d+1]){d+=2;for(w++;l[++d]===l[++w]&&l[++d]===l[++w]&&l[++d]===l[++w]&&l[++d]===l[++w]&&l[++d]===l[++w]&&l[++d]===l[++w]&&l[++d]===l[++w]&&l[++d]===l[++w]&&de){a.Qy=b;e=w;if(w>=f)break;q=l[d+e-1];r=l[d+e]}}}while((b=n[b&m])>h&&0!== --c);return e<=a.Yb?e:a.Yb}; Rp=function(a){var b=a.Ri,c;do{var d=a.wY-a.Yb-a.zb;if(a.zb>=b+(b-262)){qp.Ax(a.window,a.window,b,b,0);a.Qy-=b;a.zb-=b;a.rk-=b;var e=c=a.ZF;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.ip[--e],a.ip[e]=f>=b?f-b:0;while(--c);d+=b}if(0===a.Ud.Vi)break;e=a.Ud;c=a.window;f=a.zb+a.Yb;var h=e.Vi;h>d&&(h=d);0===h?c=0:(e.Vi-=h,qp.Ax(c,e.input,e.xv,h,f),1===e.state.wrap?e.Cd=Pp(e.Cd,c,h,f):2===e.state.wrap&&(e.Cd=Qp(e.Cd,c,h,f)),e.xv+=h,e.jw+=h,c=h);a.Yb+=c;if(3<=a.Yb+a.Sh)for(d=a.zb-a.Sh, a.je=a.window[d],a.je=(a.je<a.Yb+a.Sh););}while(262>a.Yb&&0!==a.Ud.Vi)}; Sp=function(a,b){for(var c;;){if(262>a.Yb){Rp(a);if(262>a.Yb&&0===b)return 1;if(0===a.Yb)break}c=0;3<=a.Yb&&(a.je=(a.je<a.zb?a.zb:2;return 4===b?(Mp(a,!0),0===a.Ud.qe?3:4):a.Ml&&(Mp(a,!1),0===a.Ud.qe)?1:2}; Tp=function(a,b){for(var c,d;;){if(262>a.Yb){Rp(a);if(262>a.Yb&&0===b)return 1;if(0===a.Yb)break}c=0;3<=a.Yb&&(a.je=(a.je<=a.Ge&&(1===a.strategy||3===a.Ge&&4096a.zb?a.zb:2;return 4===b?(Mp(a,!0),0===a.Ud.qe?3:4):a.Ml&&(Mp(a,!1),0===a.Ud.qe)?1:2}; Tla=function(a,b){for(var c,d,e,f=a.window;;){if(258>=a.Yb){Rp(a);if(258>=a.Yb&&0===b)return 1;if(0===a.Yb)break}a.Ge=0;if(3<=a.Yb&&0a.Yb&&(a.Ge=a.Yb)}3<=a.Ge?(c=Fp(a,1,a.Ge-3),a.Yb-=a.Ge,a.zb+=a.Ge,a.Ge=0):(c=Fp(a,0,a.window[a.zb]),a.Yb--,a.zb++);if(c&&(Mp(a,!1),0===a.Ud.qe))return 1}a.Sh=0;return 4=== b?(Mp(a,!0),0===a.Ud.qe?3:4):a.Ml&&(Mp(a,!1),0===a.Ud.qe)?1:2}; Ula=function(a,b){for(var c;;){if(0===a.Yb&&(Rp(a),0===a.Yb)){if(0===b)return 1;break}a.Ge=0;c=Fp(a,0,a.window[a.zb]);a.Yb--;a.zb++;if(c&&(Mp(a,!1),0===a.Ud.qe))return 1}a.Sh=0;return 4===b?(Mp(a,!0),0===a.Ud.qe?3:4):a.Ml&&(Mp(a,!1),0===a.Ud.qe)?1:2}; Up=function(a,b,c,d,e){this.T2=a;this.j4=b;this.z4=c;this.i4=d;this.func=e}; Vla=function(){this.Ud=null;this.status=0;this.ag=null;this.wrap=this.pending=this.aD=this.Rl=0;this.zd=null;this.Km=0;this.method=8;this.My=-1;this.Jt=this.GP=this.Ri=0;this.window=null;this.wY=0;this.head=this.ip=null;this.mV=this.ET=this.strategy=this.level=this.FM=this.XU=this.Nk=this.Yb=this.Qy=this.zb=this.tv=this.wW=this.Ge=this.rk=this.gq=this.fq=this.VL=this.ZF=this.je=0;this.Dj=new qp.Dp(1146);this.Iu=new qp.Dp(122);this.Di=new qp.Dp(78);Ip(this.Dj);Ip(this.Iu);Ip(this.Di);this.dS=this.iF= this.nG=null;this.Lp=new qp.Dp(16);this.jg=new qp.Dp(573);Ip(this.jg);this.wy=this.iq=0;this.depth=new qp.Dp(573);Ip(this.depth);this.Lh=this.Wi=this.Sh=this.matches=this.Nz=this.Eq=this.aB=this.Ml=this.uC=this.tM=0}; Wla=function(a,b){if(!a||!a.state||5b)return a?Hp(a,-2):-2;var c=a.state;if(!a.Sj||!a.input&&0!==a.Vi||666===c.status&&4!==b)return Hp(a,0===a.qe?-5:-2);c.Ud=a;var d=c.My;c.My=b;if(42===c.status)if(2===c.wrap)a.Cd=0,Np(c,31),Np(c,139),Np(c,8),c.zd?(Np(c,(c.zd.text?1:0)+(c.zd.Es?2:0)+(c.zd.Or?4:0)+(c.zd.name?8:0)+(c.zd.comment?16:0)),Np(c,c.zd.time&255),Np(c,c.zd.time>>8&255),Np(c,c.zd.time>>16&255),Np(c,c.zd.time>>24&255),Np(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),Np(c,c.zd.os&255),c.zd.Or&& c.zd.Or.length&&(Np(c,c.zd.Or.length&255),Np(c,c.zd.Or.length>>8&255)),c.zd.Es&&(a.Cd=Qp(a.Cd,c.ag,c.pending,0)),c.Km=0,c.status=69):(Np(c,0),Np(c,0),Np(c,0),Np(c,0),Np(c,0),Np(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),Np(c,3),c.status=113);else{var e=8+(c.GP-8<<4)<<8;e|=(2<=c.strategy||2>c.level?0:6>c.level?1:6===c.level?2:3)<<6;0!==c.zb&&(e|=32);c.status=113;Op(c,e+(31-e%31));0!==c.zb&&(Op(c,a.Cd>>>16),Op(c,a.Cd&65535));a.Cd=1}if(69===c.status)if(c.zd.Or){for(e=c.pending;c.Km<(c.zd.Or.length& 65535)&&(c.pending!==c.Rl||(c.zd.Es&&c.pending>e&&(a.Cd=Qp(a.Cd,c.ag,c.pending-e,e)),Jp(a),e=c.pending,c.pending!==c.Rl));)Np(c,c.zd.Or[c.Km]&255),c.Km++;c.zd.Es&&c.pending>e&&(a.Cd=Qp(a.Cd,c.ag,c.pending-e,e));c.Km===c.zd.Or.length&&(c.Km=0,c.status=73)}else c.status=73;if(73===c.status)if(c.zd.name){e=c.pending;do{if(c.pending===c.Rl&&(c.zd.Es&&c.pending>e&&(a.Cd=Qp(a.Cd,c.ag,c.pending-e,e)),Jp(a),e=c.pending,c.pending===c.Rl)){var f=1;break}f=c.Kme&&(a.Cd=Qp(a.Cd,c.ag,c.pending-e,e));0===f&&(c.Km=0,c.status=91)}else c.status=91;if(91===c.status)if(c.zd.comment){e=c.pending;do{if(c.pending===c.Rl&&(c.zd.Es&&c.pending>e&&(a.Cd=Qp(a.Cd,c.ag,c.pending-e,e)),Jp(a),e=c.pending,c.pending===c.Rl)){f=1;break}f=c.Kme&&(a.Cd=Qp(a.Cd,c.ag,c.pending-e,e));0===f&&(c.status=103)}else c.status=103;103===c.status&& (c.zd.Es?(c.pending+2>c.Rl&&Jp(a),c.pending+2<=c.Rl&&(Np(c,a.Cd&255),Np(c,a.Cd>>8&255),a.Cd=0,c.status=113)):c.status=113);if(0!==c.pending){if(Jp(a),0===a.qe)return c.My=-1,0}else if(0===a.Vi&&(b<<1)-(4>=8,c.Lh-=8)):5!==b&&(vp(c,0,3),Lla(c,0,0),3===b&&(Ip(c.head),0===c.Yb&&(c.zb=0,c.rk=0,c.Sh=0))),Jp(a),0===a.qe))return c.My=-1,0}if(4!==b)return 0;if(0>=c.wrap)return 1;2===c.wrap?(Np(c,a.Cd&255),Np(c,a.Cd>>8&255),Np(c,a.Cd>>16&255),Np(c,a.Cd>>24&255),Np(c,a.jw&255),Np(c,a.jw>>8&255),Np(c,a.jw>>16&255),Np(c,a.jw>>24&255)):(Op(c,a.Cd>>>16),Op(c,a.Cd&65535));Jp(a);0a.Kt&&(a.Kt+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.Ud=new Xla;this.Ud.qe=0;var b=this.Ud;var c=a.level,d=a.method,e=a.Kt,f=a.q4,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.Cd=2===c.wrap?0:1;c.My=0;if(!Yla){d=Array(16);for(f=h=0;28>f;f++)for(Ap[f]=h,e=0;e< 1<f;f++)for(Dp[f]=h,e=0;e<1<>=7;30>f;f++)for(Dp[f]=h<<7,e=0;e<1<=e;e++)d[e]=0;for(e=0;143>=e;)Kp[2*e+1]=8,e++,d[8]++;for(;255>=e;)Kp[2*e+1]=9,e++,d[9]++;for(;279>=e;)Kp[2*e+1]=7,e++,d[7]++;for(;287>=e;)Kp[2*e+1]=8,e++,d[8]++;Ila(Kp,287,d);for(e=0;30>e;e++)Lp[2*e+1]=5,Lp[2*e]=Hla(e,5);Zla=new sp(Kp,zp,257,286,15);$la=new sp(Lp,Cp,0,30,15);ama=new sp([],bma,0,19,7);Yla=!0}c.nG=new tp(c.Dj,Zla); c.iF=new tp(c.Iu,$la);c.dS=new tp(c.Di,ama);c.Wi=0;c.Lh=0;Jla(c);c=0}else c=Hp(b,-2);0===c&&(b=b.state,b.wY=2*b.Ri,Ip(b.head),b.FM=Vp[b.level].j4,b.ET=Vp[b.level].T2,b.mV=Vp[b.level].z4,b.XU=Vp[b.level].i4,b.zb=0,b.rk=0,b.Yb=0,b.Sh=0,b.Ge=b.Nk=2,b.tv=0,b.je=0);b=c}}else b=-2;if(0!==b)throw Error(Gp[b]);a.header&&(b=this.Ud)&&b.state&&2===b.state.wrap&&(b.state.zd=a.header);if(a.cB){var n;"string"===typeof a.cB?n=Gla(a.cB):"[object ArrayBuffer]"===cma.call(a.cB)?n=new Uint8Array(a.cB):n=a.cB;a=this.Ud; f=n;h=f.length;if(a&&a.state)if(n=a.state,b=n.wrap,2===b||1===b&&42!==n.status||n.Yb)b=-2;else{1===b&&(a.Cd=Pp(a.Cd,f,h,0));n.wrap=0;h>=n.Ri&&(0===b&&(Ip(n.head),n.zb=0,n.rk=0,n.Sh=0),c=new qp.Cw(n.Ri),qp.Ax(c,f,h-n.Ri,n.Ri,0),f=c,h=n.Ri);c=a.Vi;d=a.xv;e=a.input;a.Vi=h;a.xv=0;a.input=f;for(Rp(n);3<=n.Yb;){f=n.zb;h=n.Yb-2;do n.je=(n.je<c[new Date("1970-01-01T09:16:09.000+09:15")/ 1E3]&&(c[56]==Math.pow(7,2)%212+-51||((0,c[-166*Math.pow(3,3)- -4511])(c[27],c[63]),null))&&(0,c[79])(c[15],c[22],(0,c[new Date("1970-01-01T05:01:23.000+05:00")/1E3])())}catch(d){(0,c[79])(c[75],c[31],(0,c[65])())}try{5<=c[50]&&((0,c[19])(c[24],c[2]),"undefined")||(0,c[52])(c[53],c[36]),(7<=c[51]||((0,c[56])((0,c[42])(c[50],c[60]),c[8],c[34]),(0,c[42])(c[41],c[2]),0))&&(0,c[56])((0,c[56])((0,c[44])(c[53],c[16]),c[22],c[17]),c[34],c[new Date("1970-01-01T10:00:08.000+10:00")/1E3],c[68])}catch(d){(0,c[52])(c[31], c[32]),(0,c[52])(c[50],c[183*Math.pow(8,1)+-1432])}finally{(-10>c[38]||((0,c[66])((0,c[-125374- -245*Math.pow(8,3)])((0,c[2])(c[85],c[12],(0,c[6])()),c[17],c[41]),c[62],c[32],c[35]),0))&&(0,c[10])((0,c[2])(c[25],c[12],(0,c[Math.pow(6,4)-120-1148])()),c[2],(0,c[17])(c[70]),c[85],c[32],(0,c[6])())}try{-1!==c[21]&&(-10==c[24]||(((((((0,c[54])(c[70],c[-89- -144*Math.pow(1,4)]),c[53])(c[6],c[33]),((0,c[63])(c[71],c[37]),c[Math.pow(7,1)+3- -43])(c[48],c[33])^(0,c[53])(c[49],c[33]),c[63])(c[13],c[new Date("1969-12-31T15:15:09.000-08:45")/ 1E3]),c[63])(c[13],c[66]),c[67])((0,c[30])(c[84],c[13]),c[30],c[73],c[33]),c[78])(c[64],c[354%Math.pow(1,2)- -62]),""))&&(0,c[65])((0,c[78])(c[71],c[22]),(0,c[11])((0,c[Math.pow(6,2)+20566-20599])(c[26],c[42],(0,c[7])()),c[18],(0,c[3])(c[86],c[13],(0,c[76])()),c[33]),c[new Date("1969-12-31T19:46:17.000-04:15")/1E3],c[3],(0,c[53])(c[70],c[42]),(0,c[3])(c[26],c[33],(0,c[14%Math.pow(7,2)-7])()),(0,c[19])(c[71]),(0,c[67])((0,c[3])(c[86],c[33],(0,c[76])()),c[30],c[79],c[33]),c[86],c[33],(0,c[29])()),-4!== c[16]&&((0,c[53])(c[59],c[new Date("1970-01-01T10:30:13.000+10:30")/1E3]),c[67])((0,c[55])(c[64],c[25]),c[11],c[80],c[31])%(0,c[65])(c[47],c[0]),5!=c[7]&&((0,c[46])((0,c[43])(c[12],c[80]),c[1],(0,c[26])(c[19],c[2]),c[33],c[48]),/()'/)||((0,c[65])(c[20],c[87]),(0,c[65])(c[Math.pow(4,1)%77- -24],c[80]),c[1])(c[51],c[19]),-1m.status,r=500<=m.status&&600>m.status;if(n||q||r)p=Una(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.Ea;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===Ow(p.xhr))return sf(new Xw("Request retried too many times","net.retryexhausted",p.xhr,p));p=Math.pow(2,c-m+1)*n;var q=0=f)Moa(a,m,w,h,x,b.join(),e),l=x;B.Ka(2);break;case 3:return B.return(Promise.reject(l))}})}; Moa=function(a,b,c,d,e,f,h){b=c-b;e?(e instanceof g.oy&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&ly("QUOTA_EXCEEDED",{dbName:ny(a.j.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:h.mode}),e instanceof g.oy&&"UNKNOWN_ABORT"===e.type&&(c-=a.B,0>c&&c>=Math.pow(2,31)&&(c=0),ly("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.u=!0),Noa(a,!1,d,f,b,h.tag),ky(e)):Noa(a,!0,d, f,b,h.tag)}; Noa=function(a,b,c,d,e,f){ly("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.u,duration:e,isSuccessful:b,tryCount:c,tag:void 0===f?"IDB_TRANSACTION_TAG_UNKNOWN":f})}; By=function(a){this.j=a}; g.Iy=function(a,b,c){a.j.createIndex(b,c,{unique:!1})}; Ooa=function(a,b){return g.Jy(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})}; Poa=function(a,b,c){var d=[];return g.Jy(a,{query:b},function(e){if(!(void 0!==c&&d.length>=c))return d.push(e.getValue()),e.continue()}).then(function(){return d})}; Roa=function(a){return"getAllKeys"in IDBObjectStore.prototype?yy(a.j.getAllKeys(void 0,void 0)):Qoa(a)}; Qoa=function(a){var b=[];return g.Soa(a,{query:void 0},function(c){b.push(c.OF());return c.continue()}).then(function(){return b})}; g.Fy=function(a,b,c){return yy(a.j.put(b,c))}; g.Jy=function(a,b,c){a=a.j.openCursor(b.query,b.direction);return Ky(a).then(function(d){return zy(d,c)})}; g.Soa=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 Ay(a).then(function(e){return zy(e,c)})}; Hy=function(a){var b=this;this.j=a;this.B=new Map;this.u=!1;this.done=new Promise(function(c,d){b.j.addEventListener("complete",function(){c()}); b.j.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.j.error)}); b.j.addEventListener("abort",function(){var e=b.j.error;if(e)d(e);else if(!b.u){e=g.oy;for(var f=b.j.objectStoreNames,h=[],l=0;l=c))return d.push(e.getValue()),e.continue()}).then(function(){return d})}; g.Ly=function(a,b,c){a=a.j.openCursor(void 0===b.query?null:b.query,void 0===b.direction?"next":b.direction);return Ky(a).then(function(d){return zy(d,c)})}; Voa=function(a,b){this.request=a;this.cursor=b}; Ky=function(a){return yy(a).then(function(b){return b?new Voa(a,b):null})}; Woa=function(a,b,c){return new Promise(function(d,e){function f(){r||(r=new Koa(h.result,{closed:q}));return r} var h=void 0!==b?self.indexedDB.open(a,b):self.indexedDB.open(a);var l=c.blocked,m=c.blocking,n=c.O8,p=c.upgrade,q=c.closed,r;h.addEventListener("upgradeneeded",function(w){try{if(null===w.newVersion)throw Error("Invariant: newVersion on IDbVersionChangeEvent is null");if(null===h.transaction)throw Error("Invariant: transaction on IDbOpenDbRequest is null");w.dataLoss&&"none"!==w.dataLoss&&ly("IDB_DATA_CORRUPTED",{reason:w.dataLossMessage||"unknown reason",dbName:ny(a)});var x=f(),z=new Hy(h.transaction); p&&p(x,function(B){return w.oldVersion=B},z); z.done.catch(function(B){e(B)})}catch(B){e(B)}}); h.addEventListener("success",function(){var w=h.result;m&&w.addEventListener("versionchange",function(){m(f())}); w.addEventListener("close",function(){ly("IDB_UNEXPECTEDLY_CLOSED",{dbName:ny(a),dbVersion:w.version});n&&n()}); d(f())}); h.addEventListener("error",function(){e(h.error)}); l&&h.addEventListener("blocked",function(){l()})})}; Xoa=function(a,b,c){c=void 0===c?{}:c;return Woa(a,b,c)}; My=function(a,b){b=void 0===b?{}:b;var c,d,e,f;return g.A(function(h){if(1==h.j)return g.ra(h,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.blocked)&&c.addEventListener("blocked",function(){e()}),g.y(h,Ioa(c),4); if(2!=h.j)return g.sa(h,0);f=g.ta(h);throw sy(f,a,"",-1);})}; Ny=function(a,b){this.name=a;this.options=b;this.B=!0;this.D=this.C=0}; Yoa=function(a,b){return new g.oy("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})}; g.Oy=function(a,b){if(!b)throw g.ty("openWithToken",ny(a.name));return a.open()}; Zoa=function(a,b){var c;return g.A(function(d){if(1==d.j)return g.y(d,g.Oy(Py,b),2);c=d.u;return d.return(g.Ey(c,["databases"],{Ub:!0,mode:"readwrite"},function(e){var f=e.objectStore("databases");return f.get(a.actualName).then(function(h){if(h?a.actualName!==h.actualName||a.publicName!==h.publicName||a.userIdentifier!==h.userIdentifier:1)return g.Fy(f,a).then(function(){})})}))})}; Qy=function(a,b){var c;return g.A(function(d){if(1==d.j)return a?g.y(d,g.Oy(Py,b),2):d.return();c=d.u;return d.return(c.delete("databases",a))})}; $oa=function(a,b){var c,d;return g.A(function(e){return 1==e.j?(c=[],g.y(e,g.Oy(Py,b),2)):3!=e.j?(d=e.u,g.y(e,g.Ey(d,["databases"],{Ub:!0,mode:"readonly"},function(f){c.length=0;return g.Jy(f.objectStore("databases"),{},function(h){a(h.getValue())&&c.push(h.getValue());return h.continue()})}),3)):e.return(c)})}; apa=function(a,b){return $oa(function(c){return c.publicName===a&&void 0!==c.userIdentifier},b)}; bpa=function(){var a,b,c,d;return g.A(function(e){switch(e.j){case 1:a=dy();if(null==(b=a)?0:b.hasSucceededOnce)return e.return(!0);if(Ry&&mx()&&!nx()||g.Sy)return e.return(!1);try{if(c=self,!(c.indexedDB&&c.IDBIndex&&c.IDBKeyRange&&c.IDBObjectStore))return e.return(!1)}catch(f){return e.return(!1)}if(!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return e.return(!1);g.ra(e,2);d={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0}; return g.y(e,Zoa(d,Ty),4);case 4:return g.y(e,Qy("yt-idb-test-do-not-use",Ty),5);case 5:return e.return(!0);case 2:return g.ta(e),e.return(!1)}})}; cpa=function(){if(void 0!==Uy)return Uy;jy=!0;return Uy=bpa().then(function(a){jy=!1;var b;if(null!=(b=cy())&&b.j){var c;b={hasSucceededOnce:(null==(c=dy())?void 0:c.hasSucceededOnce)||a};var d;null==(d=cy())||d.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0)}return a})}; Vy=function(){return g.Ga("ytglobal.idbToken_")||void 0}; g.Wy=function(){var a=Vy();return a?Promise.resolve(a):cpa().then(function(b){(b=b?Ty:void 0)&&g.Fa("ytglobal.idbToken_",b);return b})}; dpa=function(a){if(!g.Ux())throw a=new g.oy("AUTH_INVALID",{dbName:a}),ky(a),a;var b=g.Tx();return{actualName:a+":"+b,publicName:a,userIdentifier:b}}; epa=function(a,b,c,d){var e,f,h,l,m,n;return g.A(function(p){switch(p.j){case 1:return f=null!=(e=Error().stack)?e:"",g.y(p,g.Wy(),2);case 2:h=p.u;if(!h)throw l=g.ty("openDbImpl",a,b),g.vw("ytidb_async_stack_killswitch")||(l.stack=l.stack+"\n"+f.substring(f.indexOf("\n")+1)),ky(l),l;my(a);m=c?{actualName:a,publicName:a,userIdentifier:void 0}:dpa(a);g.ra(p,3);return g.y(p,Zoa(m,h),5);case 5:return g.y(p,Xoa(m.actualName,b,d),6);case 6:return p.return(p.u);case 3:return n=g.ta(p),g.ra(p,7),g.y(p,Qy(m.actualName, h),9);case 9:g.sa(p,8);break;case 7:g.ta(p);case 8:throw n;}})}; fpa=function(a,b,c){c=void 0===c?{}:c;return epa(a,b,!1,c)}; gpa=function(a,b,c){c=void 0===c?{}:c;return epa(a,b,!0,c)}; hpa=function(a,b){b=void 0===b?{}:b;var c,d;return g.A(function(e){if(1==e.j)return g.y(e,g.Wy(),2);if(3!=e.j){c=e.u;if(!c)return e.return();my(a);d=dpa(a);return g.y(e,My(d.actualName,b),3)}return g.y(e,Qy(d.actualName,c),0)})}; ipa=function(a,b,c){a=a.map(function(d){return g.A(function(e){return 1==e.j?g.y(e,My(d.actualName,b),2):g.y(e,Qy(d.actualName,c),0)})}); return Promise.all(a).then(function(){})}; jpa=function(a){var b=void 0===b?{}:b;var c,d;return g.A(function(e){if(1==e.j)return g.y(e,g.Wy(),2);if(3!=e.j){c=e.u;if(!c)return e.return();my(a);return g.y(e,apa(a,c),3)}d=e.u;return g.y(e,ipa(d,b,c),0)})}; kpa=function(a,b){b=void 0===b?{}:b;var c;return g.A(function(d){if(1==d.j)return g.y(d,g.Wy(),2);if(3!=d.j){c=d.u;if(!c)return d.return();my(a);return g.y(d,My(a,b),3)}return g.y(d,Qy(a,c),0)})}; Xy=function(a,b){Ny.call(this,a,b);this.options=b;my(a)}; lpa=function(a,b){var c;return function(){c||(c=new Xy(a,b));return c}}; g.Yy=function(a,b){return lpa(a,b)}; Zy=function(a){return g.Oy(mpa(),a)}; npa=function(a,b,c,d){var e,f,h;return g.A(function(l){switch(l.j){case 1:return e={config:a,hashData:b,timestamp:void 0!==d?d:(0,g.M)()},g.y(l,Zy(c),2);case 2:return f=l.u,g.y(l,f.clear("hotConfigStore"),3);case 3:return g.y(l,g.Gy(f,"hotConfigStore",e),4);case 4:return h=l.u,l.return(h)}})}; opa=function(a,b,c,d,e){var f,h,l;return g.A(function(m){switch(m.j){case 1:return f={config:a,hashData:b,configData:c,timestamp:void 0!==e?e:(0,g.M)()},g.y(m,Zy(d),2);case 2:return h=m.u,g.y(m,h.clear("coldConfigStore"),3);case 3:return g.y(m,g.Gy(h,"coldConfigStore",f),4);case 4:return l=m.u,m.return(l)}})}; ppa=function(a){var b,c;return g.A(function(d){return 1==d.j?g.y(d,Zy(a),2):3!=d.j?(b=d.u,c=void 0,g.y(d,g.Ey(b,["coldConfigStore"],{mode:"readwrite",Ub:!0},function(e){return g.Ly(e.objectStore("coldConfigStore").index("coldTimestampIndex"),{direction:"prev"},function(f){c=f.getValue()})}),3)):d.return(c)})}; qpa=function(a){var b,c;return g.A(function(d){return 1==d.j?g.y(d,Zy(a),2):3!=d.j?(b=d.u,c=void 0,g.y(d,g.Ey(b,["hotConfigStore"],{mode:"readwrite",Ub:!0},function(e){return g.Ly(e.objectStore("hotConfigStore").index("hotTimestampIndex"),{direction:"prev"},function(f){c=f.getValue()})}),3)):d.return(c)})}; rpa=function(){return g.A(function(a){return g.y(a,jpa("ytGcfConfig"),0)})}; oz=function(){var a=this;this.D=!1;this.B=this.C=0;this.hf={C6a:function(){a.D=!0}, W5a:function(){return a.j}, u7a:function(b){$y(a,b)}, q7a:function(b){az(a,b)}, L2:function(){return a.coldHashData}, M2:function(){return a.hotHashData}, h6a:function(){return a.u}, a6a:function(){return bz()}, d6a:function(){return cz()}, b6a:function(){return g.Ga("yt.gcf.config.coldHashData")}, e6a:function(){return g.Ga("yt.gcf.config.hotHashData")}, J7a:function(){spa(a)}, k7a:function(){dz(a,"hotHash");ez(a,"coldHash");delete oz.instance}, s7a:function(b){a.B=b}, X5a:function(){return a.B}}}; tpa=function(){oz.instance||(oz.instance=new oz);return oz.instance}; upa=function(a){var b;g.A(function(c){if(1==c.j)return g.vw("gcf_config_store_enabled")||g.vw("delete_gcf_config_db")?g.vw("gcf_config_store_enabled")?g.y(c,g.Wy(),3):c.Ka(2):c.return();2!=c.j&&((b=c.u)&&g.Ux()&&!g.vw("delete_gcf_config_db")?(a.D=!0,spa(a)):(az(a,g.tw("RAW_COLD_CONFIG_GROUP")),ez(a,g.tw("SERIALIZED_COLD_HASH_DATA")),pz(a,a.j.configData),$y(a,g.tw("RAW_HOT_CONFIG_GROUP")),dz(a,g.tw("SERIALIZED_HOT_HASH_DATA"))));return g.vw("delete_gcf_config_db")?g.y(c,rpa(),0):c.Ka(0)})}; vpa=function(a){var b,c,d,e,f,h;return g.A(function(l){switch(l.j){case 1:if(a.u)return l.return(cz());if(!a.D)return b=g.ty("getHotConfig IDB not initialized"),Cw(b),l.return(Promise.reject(b));c=Vy();d=g.tw("TIME_CREATED_MS");if(!c){e=g.ty("getHotConfig token error");Cw(e);l.Ka(2);break}return g.y(l,qpa(c),3);case 3:if((f=l.u)&&f.timestamp>d)return $y(a,f.config),dz(a,f.hashData),l.return(cz());case 2:$y(a,g.tw("RAW_HOT_CONFIG_GROUP"));dz(a,g.tw("SERIALIZED_HOT_HASH_DATA"));if(!(c&&a.u&&a.hotHashData)){l.Ka(4); break}return g.y(l,npa(a.u,a.hotHashData,c,d),4);case 4:return a.u?l.return(cz()):(h=new g.Sx("Config not available in ytConfig"),Cw(h),l.return(Promise.reject(h)))}})}; wpa=function(a){var b,c,d,e,f,h;return g.A(function(l){switch(l.j){case 1:if(a.j)return l.return(bz());if(!a.D)return b=g.ty("getColdConfig IDB not initialized"),Cw(b),l.return(Promise.reject(b));c=Vy();d=g.tw("TIME_CREATED_MS");if(!c){e=g.ty("getColdConfig");Cw(e);l.Ka(2);break}return g.y(l,ppa(c),3);case 3:if((f=l.u)&&f.timestamp>d)return az(a,f.config),pz(a,f.configData),ez(a,f.hashData),l.return(bz());case 2:az(a,g.tw("RAW_COLD_CONFIG_GROUP"));ez(a,g.tw("SERIALIZED_COLD_HASH_DATA"));pz(a,a.j.configData); if(!(c&&a.j&&a.coldHashData&&a.configData)){l.Ka(4);break}return g.y(l,opa(a.j,a.coldHashData,a.configData,c,d),4);case 4:return a.j?l.return(bz()):(h=new g.Sx("Config not available in ytConfig"),Cw(h),l.return(Promise.reject(h)))}})}; spa=function(a){if(!a.u||!a.j){if(!Vy()){var b=g.ty("scheduleGetConfigs");Cw(b)}a.C||(a.C=g.mo.Bi(function(){return g.A(function(c){if(1==c.j)return g.y(c,vpa(a),2);if(3!=c.j)return g.y(c,wpa(a),3);a.C&&(a.C=0);g.oa(c)})},100))}}; xpa=function(a,b,c){var d,e,f;return g.A(function(h){if(1==h.j){if(!g.vw("update_log_event_config"))return h.Ka(0);c&&$y(a,c);dz(a,b);return(d=Vy())?c?h.Ka(4):g.y(h,qpa(d),5):h.Ka(0)}4!=h.j&&(e=h.u,c=null==(f=e)?void 0:f.config);return g.y(h,npa(c,b,d),0)})}; ypa=function(a,b,c){var d,e,f,h;return g.A(function(l){if(1==l.j){if(!g.vw("update_log_event_config"))return l.Ka(0);ez(a,b);return(d=Vy())?c?l.Ka(4):g.y(l,ppa(d),5):l.Ka(0)}4!=l.j&&(e=l.u,c=null==(f=e)?void 0:f.config);if(!c)return l.Ka(0);h=c.configData;return g.y(l,opa(c,b,h,d),0)})}; $y=function(a,b){a.u=b;g.Fa("yt.gcf.config.hotConfigGroup",a.u)}; az=function(a,b){a.j=b;g.Fa("yt.gcf.config.coldConfigGroup",a.j)}; dz=function(a,b){a.hotHashData=b;g.Fa("yt.gcf.config.hotHashData",a.hotHashData)}; ez=function(a,b){a.coldHashData=b;g.Fa("yt.gcf.config.coldHashData",a.coldHashData)}; pz=function(a,b){a.configData=b;g.Fa("yt.gcf.config.coldConfigData",a.configData)}; cz=function(){return g.Ga("yt.gcf.config.hotConfigGroup")}; bz=function(){return g.Ga("yt.gcf.config.coldConfigGroup")}; zpa=function(){return"INNERTUBE_API_KEY"in qw&&"INNERTUBE_API_VERSION"in qw}; g.qz=function(){return{innertubeApiKey:g.tw("INNERTUBE_API_KEY"),innertubeApiVersion:g.tw("INNERTUBE_API_VERSION"),dG:g.tw("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),dM:g.tw("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),nU:g.tw("INNERTUBE_CONTEXT_CLIENT_NAME",1),innertubeContextClientVersion:g.tw("INNERTUBE_CONTEXT_CLIENT_VERSION"),fM:g.tw("INNERTUBE_CONTEXT_HL"),eM:g.tw("INNERTUBE_CONTEXT_GL"),oU:g.tw("INNERTUBE_HOST_OVERRIDE")||"",pU:!!g.tw("INNERTUBE_USE_THIRD_PARTY_AUTH",!1),gM:!!g.tw("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT", !1),appInstallData:g.tw("SERIALIZED_CLIENT_CONFIG_DATA")}}; g.rz=function(a){var b={client:{hl:a.fM,gl:a.eM,clientName:a.dM,clientVersion:a.innertubeContextClientVersion,configInfo:a.dG}};navigator.userAgent&&(b.client.userAgent=String(navigator.userAgent));var c=g.Ea.devicePixelRatio;c&&1!=c&&(b.client.screenDensityFloat=String(c));c=xw();""!==c&&(b.client.experimentsToken=c);c=yw();0Ppa||l=Tpa&&(Upa++,g.vw("abandon_compression_after_N_slow_zips")?Spa===g.ww("compression_disable_point")&&Upa>Vpa&&(Bz=!1):Bz=!1);Wpa(h,f);if(Xpa(m,b)||!g.vw("only_compress_gel_if_smaller"))c.headers||(c.headers={}),c.headers["Content-Encoding"]= "gzip",c.postBody=m,c.postParams=void 0}d(a,c)}catch(p){Cw(p),d(a,c)}else d(a,c)}; Ypa=function(a){var b=void 0===b?!1:b;var c=(0,g.M)(),d={startTime:c};c={startTime:c,ticks:{},infos:{}};if(void 0!==Xp){if(!a.body)return a;try{var e="string"===typeof a.body?a.body:JSON.stringify(a.body),f=Cz(e);if(f>Ppa||f=Math.random()&&wz("gel_compression_latency_payload",b))}; Fz=function(a){var b=this;this.OE=this.Wf=!1;this.potentialEsfErrorCounter=this.j=0;this.handleError=function(){}; this.uy=function(){}; this.now=Date.now;this.eB=!1;this.hf={r7a:function(p){b.Af=p}, K7a:function(){b.Qz()}, A1:function(){b.qK()}, ZB:function(p){return g.A(function(q){return g.y(q,b.ZB(p),0)})}, CH:function(p,q){return b.CH(p,q)}, FH:function(){b.FH()}}; var c;this.FX=null!=(c=a.FX)?c:100;var d;this.XW=null!=(d=a.XW)?d:1;var e;this.QW=null!=(e=a.QW)?e:2592E6;var f;this.JW=null!=(f=a.JW)?f:12E4;var h;this.WW=null!=(h=a.WW)?h:5E3;var l;this.Af=null!=(l=a.Af)?l:void 0;this.mF=!!a.mF;var m;this.XE=null!=(m=a.XE)?m:.1;var n;this.kH=null!=(n=a.kH)?n:10;a.handleError&&(this.handleError=a.handleError);a.uy&&(this.uy=a.uy);a.eB&&(this.eB=a.eB);a.OE&&(this.OE=a.OE);this.qb=a.qb;this.Um=a.Um;this.kh=a.kh;this.Vg=a.Vg;this.Mq=a.Mq;this.JN=a.JN;this.WM=a.WM;Ez(this)&& (!this.qb||this.qb("networkless_logging"))&&Zpa(this)}; Zpa=function(a){Ez(a)&&!a.eB&&(a.Wf=!0,a.mF&&Math.random()<=a.XE&&a.kh.E1(a.Af),a.FH(),a.Vg.Uh()&&a.Qz(),a.Vg.Qa(a.JN,a.Qz.bind(a)),a.Vg.Qa(a.WM,a.qK.bind(a)))}; bqa=function(a,b){if(!Ez(a))throw g.ty("updateRequestHandlers");var c=b.options.onError?b.options.onError:function(){}; b.options.onError=function(e,f){var h,l,m,n;return g.A(function(p){switch(p.j){case 1:h=$pa(f);(l=aqa(f))&&a.qb&&a.qb("web_enable_error_204")&&a.handleError(Error("Request failed due to compression"),b.url,f);if(!(a.qb&&a.qb("nwl_consider_error_code")&&h||a.qb&&!a.qb("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.kH)){p.Ka(2);break}if(!a.Vg.IH){p.Ka(3);break}return g.y(p,a.Vg.IH(),3);case 3:if(a.Vg.Uh()){p.Ka(2);break}c(e,f);if(!a.qb||!a.qb("nwl_consider_error_code")||void 0===(null==(m= b)?void 0:m.id)){p.Ka(6);break}return g.y(p,a.kh.qO(b.id,a.Af,!1),6);case 6:return p.return();case 2:if(a.qb&&a.qb("nwl_consider_error_code")&&!h&&a.potentialEsfErrorCounter>a.kH)return p.return();a.potentialEsfErrorCounter++;if(void 0===(null==(n=b)?void 0:n.id)){p.Ka(8);break}return b.sendCount=a?!1:!0}; aqa=function(a){var b;a=null==a?void 0:null==(b=a.error)?void 0:b.code;return!(400!==a&&415!==a)}; cqa=function(){if(Hz)return Hz();var a={};Hz=g.Yy("LogsDatabaseV2",{Aq:(a.LogsRequestsStore={xm:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&g.Cy(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.j.indexNames.contains("newRequest")&&d.j.deleteIndex("newRequest"),g.Iy(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&Dy(b,"sapisid");c(9)&&Dy(b,"SWHealthLog")}, version:9});return Hz()}; Iz=function(a){return g.Oy(cqa(),a)}; eqa=function(a,b){var c,d,e,f,h;return g.A(function(l){if(1==l.j)return c={startTime:(0,g.M)(),transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},d={startTime:(0,g.M)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},g.y(l,Iz(b),2);if(3!=l.j)return e=l.u,f=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:g.tw("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),g.y(l,g.Gy(e,"LogsRequestsStore",f),3);h=l.u;c.X8=(0,g.M)();d.ticks.tc=(0,g.M)();dqa(d,c);return l.return(h)})}; fqa=function(a,b){var c,d,e,f,h,l,m,n;return g.A(function(p){if(1==p.j)return c={startTime:(0,g.M)(),transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},d={startTime:(0,g.M)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},ticks:{}},g.y(p,Iz(b),2);if(3!=p.j)return e=p.u,f=g.tw("INNERTUBE_CONTEXT_CLIENT_NAME",0),h=[a,f,0],l=[a,f,(0,g.M)()],m=IDBKeyRange.bound(h,l),n=void 0,g.y(p,g.Ey(e,["LogsRequestsStore"],{mode:"readwrite",Ub:!0},function(q){return g.Ly(q.objectStore("LogsRequestsStore").index("newRequestV2"), {query:m,direction:"prev"},function(r){r.getValue()&&(n=r.getValue(),"NEW"===a&&(n.status="QUEUED",r.update(n)))})}),3); c.X8=(0,g.M)();d.ticks.tc=(0,g.M)();dqa(d,c);return p.return(n)})}; gqa=function(a,b){var c;return g.A(function(d){if(1==d.j)return g.y(d,Iz(b),2);c=d.u;return d.return(g.Ey(c,["LogsRequestsStore"],{mode:"readwrite",Ub:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(h){if(h)return h.status="QUEUED",g.Fy(f,h).then(function(){return h})})}))})}; hqa=function(a,b,c,d){c=void 0===c?!0:c;var e;return g.A(function(f){if(1==f.j)return g.y(f,Iz(b),2);e=f.u;return f.return(g.Ey(e,["LogsRequestsStore"],{mode:"readwrite",Ub:!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.Fy(l,m).then(function(){return m})):g.vy.resolve(void 0)})}))})}; iqa=function(a,b){var c;return g.A(function(d){if(1==d.j)return g.y(d,Iz(b),2);c=d.u;return d.return(c.delete("LogsRequestsStore",a))})}; jqa=function(a){var b,c;return g.A(function(d){if(1==d.j)return g.y(d,Iz(a),2);b=d.u;c=(0,g.M)()-2592E6;return g.y(d,g.Ey(b,["LogsRequestsStore"],{mode:"readwrite",Ub:!0},function(e){return g.Jy(e.objectStore("LogsRequestsStore"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})}; kqa=function(){g.A(function(a){return g.y(a,jpa("LogsDatabaseV2"),0)})}; dqa=function(a,b){g.vw("nwl_csi_killswitch")||(g.vw("use_new_cml")?Opa("networkless_performance",a,{sampleRate:1}):.01>=Math.random()&&wz("nwl_transaction_latency_payload",b))}; mqa=function(a){return g.Oy(lqa(),a)}; nqa=function(a){var b,c;g.A(function(d){if(1==d.j)return g.y(d,mqa(a),2);b=d.u;c=(0,g.M)()-2592E6;return g.y(d,g.Ey(b,["SWHealthLog"],{mode:"readwrite",Ub:!0},function(e){return g.Jy(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})}; oqa=function(a){var b;return g.A(function(c){if(1==c.j)return g.y(c,mqa(a),2);b=c.u;return g.y(c,b.clear("SWHealthLog"),0)})}; g.Jz=function(a,b,c,d,e,f){e=void 0===e?"":e;f=void 0===f?!1:f;if(a)if(c&&!g.jx()){if(a){a=g.Sd(g.Ud(a));if("about:invalid#zClosurez"===a||a.startsWith("data"))a="";else{var h=void 0===h?{}:h;a=a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");h.f7a&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1 "));h.e7a&&(a=a.replace(/(\r\n|\n|\r)/g,"
"));h.g7a&&(a=a.replace(/(\t+)/g,'$1'));h=g.de(a);a=g.re(g.$h(g.ce(h).toString()))}g.Nb(a)|| (h=Me("IFRAME",{src:'javascript:""',style:"display:none"}),ye(h).body.appendChild(h))}}else if(e)Uw(a,b,"POST",e,d);else if(g.tw("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d)Uw(a,b,"GET","",d,void 0,f);else{b:{try{var l=new sha({url:a});if(l.B&&l.u||l.C){var m=ei(g.gi(5,a));var n=!(!m||!m.endsWith("/aclk")||"1"!==ti(a,"ri"));break b}}catch(p){}n=!1}n?pqa(a)?(b&&b(),h=!0):h=!1:h=!1;h||qqa(a,b)}}; pqa=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1}; qqa=function(a,b){var c=new Image,d=""+rqa++;Kz[d]=c;c.onload=c.onerror=function(){b&&Kz[d]&&b();delete Kz[d]}; c.src=a}; Lz=function(){this.j=new Map;this.u=!1}; Mz=function(){if(!Lz.instance){var a=g.Ga("yt.networkRequestMonitor.instance")||new Lz;g.Fa("yt.networkRequestMonitor.instance",a);Lz.instance=a}return Lz.instance}; Oz=function(){Nz||(Nz=new by("yt.offline"));return Nz}; sqa=function(a){if(g.vw("offline_error_handling")){var b=Oz().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);Oz().set("errors",b,2592E3,!0)}}; Pz=function(){g.yd.call(this);var a=this;this.u=!1;this.j=Zka();this.j.Qa("networkstatus-online",function(){if(a.u&&g.vw("offline_error_handling")){var b=Oz().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new g.Sx(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;g.Aw(d)}Oz().set("errors",{},2592E3,!0)}}})}; tqa=function(){if(!Pz.instance){var a=g.Ga("yt.networkStatusManager.instance")||new Pz;g.Fa("yt.networkStatusManager.instance",a);Pz.instance=a}return Pz.instance}; g.Qz=function(a){a=void 0===a?{}:a;g.yd.call(this);var b=this;this.j=this.D=0;this.u=tqa();var c=g.Ga("yt.networkStatusManager.instance.listen").bind(this.u);c&&(a.qH?(this.qH=a.qH,c("networkstatus-online",function(){uqa(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){uqa(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){b.dispatchEvent("publicytnetworkstatus-online")}),c("networkstatus-offline",function(){b.dispatchEvent("publicytnetworkstatus-offline")})))}; uqa=function(a,b){a.qH?a.j?(g.mo.zm(a.D),a.D=g.mo.Bi(function(){a.C!==b&&(a.dispatchEvent(b),a.C=b,a.j=(0,g.M)())},a.qH-((0,g.M)()-a.j))):(a.dispatchEvent(b),a.C=b,a.j=(0,g.M)()):a.dispatchEvent(b)}; Sz=function(){var a=Fz.call;Rz||(Rz=new g.Qz({O6a:!0,F5a:!0}));a.call(Fz,this,{kh:{E1:jqa,Sx:iqa,vT:fqa,d4:gqa,qO:hqa,set:eqa},Vg:Rz,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;Cw(new g.Sx(b.message,c,null==d?void 0:null==(h=d.error)?void 0:h.code),void 0,void 0,void 0,!0)}else g.Aw(b)}, uy:Cw,Mq:vqa,now:g.M,xY:sqa,Um:g.Zx(),JN:"publicytnetworkstatus-online",WM:"publicytnetworkstatus-offline",mF:!0,XE:.1,kH:g.ww("potential_esf_error_limit",10),qb:g.vw,eB:!(g.Ux()&&"www.youtube-nocookie.com"!==g.hi(document.location.toString()))});this.u=new g.cj;g.vw("networkless_immediately_drop_all_requests")&&kqa();kpa("LogsDatabaseV2")}; Tz=function(){var a=g.Ga("yt.networklessRequestController.instance");a||(a=new Sz,g.Fa("yt.networklessRequestController.instance",a),g.vw("networkless_logging")&&g.Wy().then(function(b){a.Af=b;Zpa(a);a.u.resolve();a.mF&&Math.random()<=a.XE&&a.Af&&nqa(a.Af);g.vw("networkless_immediately_drop_sw_health_store")&&wqa(a)})); return a}; wqa=function(a){var b;g.A(function(c){if(!a.Af)throw b=g.ty("clearSWHealthLogsDb"),b;return c.return(oqa(a.Af).catch(function(d){a.handleError(d)}))})}; vqa=function(a,b,c){g.vw("use_cfr_monitor")&&xqa(a,b);if(g.vw("use_request_time_ms_header"))b.headers&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,g.M)())));else{var d;if(null==(d=b.postParams)?0:d.requestTimeMs)b.postParams.requestTimeMs=Math.round((0,g.M)())}c&&0===Object.keys(b).length?g.Jz(a):b.compress?b.postBody?("string"!==typeof b.postBody&&(b.postBody=JSON.stringify(b.postBody)),Dz(a,b.postBody,b,g.Vw)):Dz(a,JSON.stringify(b.postParams),b,Ww):g.Vw(a,b)}; xqa=function(a,b){var c=b.onError?b.onError:function(){}; b.onError=function(e,f){Mz().requestComplete(a,!1);c(e,f)}; var d=b.onSuccess?b.onSuccess:function(){}; b.onSuccess=function(e,f){Mz().requestComplete(a,!0);d(e,f)}}; g.Uz=function(a){this.config_=null;a?this.config_=a:zpa()&&(this.config_=g.qz())}; g.Vz=function(a,b,c,d){function e(p){try{if((void 0===p?0:p)&&d.retry&&!d.hV.bypassNetworkless)f.method="POST",d.hV.writeThenSend?Tz().writeThenSend(n,f):Tz().sendAndWrite(n,f);else if(d.compress)if(f.postBody){var q=f.postBody;"string"!==typeof q&&(q=JSON.stringify(f.postBody));Dz(n,q,f,g.Vw)}else Dz(n,JSON.stringify(f.postParams),f,Ww);else g.vw("web_all_payloads_via_jspb")?g.Vw(n,f):Ww(n,f)}catch(r){if("InvalidAccessError"==r.name)Cw(Error("An extension is blocking network request."));else throw r; }} !g.tw("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&Cw(new g.Sx("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady())throw a=new g.Sx("innertube xhrclient not ready",b,c,d),g.Aw(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_.oU;h&&(c=h);var l=a.config_.pU||!1;h=Lpa(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_.gM&&h;m=m&&h.startsWith("Bearer");m||(l.key=a.config_.innertubeApiKey);var n=Iw(""+c+b,l);g.Ga("ytNetworklessLoggingInitializationOptions")&& yqa.isNwlInitialized?cpa().then(function(p){e(p)}):e(!1)}; zqa=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=Wz+"VisibilityState";if(b in a)return a[b]}; Xz=function(a,b){var c;dm(a,function(d){c=b[d];return!!c}); return c}; Yz=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;try{if(a=a||window.event){this.event=a;for(var b in a)b in Aqa||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget; if(d)try{d=d.nodeName?d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.j=a.pageX;this.u=a.pageY}}catch(e){}}; Bqa=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.j=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.u=a.clientY+b}}; Cqa=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Qc(Zz,function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,h=g.Ja(e[4])&&g.Ja(d)&&g.Wc(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||h)})}; g.$z=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Cqa(a,b,c,d);if(e)return e;e=++Dqa.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var h=f?function(l){l=new Yz(l);if(!bf(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new Yz(l); l.currentTarget=a;return c.call(a,l)}; h=g.Bw(h);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Eqa()||"boolean"===typeof d?a.addEventListener(b,h,d):a.addEventListener(b,h,!!d.capture)):a.attachEvent("on"+b,h);Zz[e]=[a,b,c,h,d];return e}; Fqa=function(a,b){var c=document.body||document;return g.$z(c,"click",function(d){var e=bf(d.target,function(f){return f===c||b(f)},!0); e&&e!==c&&!e.disabled&&(d.currentTarget=e,a.call(e,d))})}; g.aA=function(a){a&&("string"==typeof a&&(a=[a]),g.Gb(a,function(b){if(b in Zz){var c=Zz[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Eqa()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Zz[b]}}))}; g.bA=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}; cA=function(a){a=a||window.event;var b;a.composedPath&&"function"===typeof a.composedPath?b=a.composedPath():b=a.path;return b&&b.length?b[0]:g.bA(a)}; dA=function(a){a=a||window.event;var b=a.relatedTarget;b||("mouseover"==a.type?b=a.fromElement:"mouseout"==a.type&&(b=a.toElement));return b}; eA=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&("number"!==typeof b&&(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),"number"!==typeof c&&(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.me(b,c)}; g.fA=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()}; g.gA=function(a){a=a||window.event;return!1===a.returnValue||a.uU&&a.uU()}; g.hA=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which}; Gqa=function(a){return Fqa(a,function(b){return g.xo(b,"ytp-ad-has-logging-urls")})}; g.Hqa=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.$z(a,b,function(){g.aA(e);c.apply(a,arguments)},d)}; iA=function(a){for(var b in Zz)Zz[b][0]==a&&g.aA(b)}; jA=function(a){this.J=a;this.j=null;this.C=0;this.I=null;this.D=0;this.u=[];for(a=0;4>a;a++)this.u.push(0);this.B=0;this.oa=g.$z(window,"mousemove",(0,g.Pa)(this.Y,this));this.T=g.Rw((0,g.Pa)(this.ea,this),25)}; mA=function(){var a={},b=void 0===a.P7?!1:a.P7;a=void 0===a.j2?!0:a.j2;if(null==g.Ga("_lact",window)){var c=parseInt(g.tw("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;g.Fa("_lact",c,window);g.Fa("_fact",c,window);-1==c&&kA();g.$z(document,"keydown",kA);g.$z(document,"keyup",kA);g.$z(document,"mousedown",kA);g.$z(document,"mouseup",kA);b?g.$z(window,"touchmove",function(){lA("touchmove",200)},{passive:!0}):(g.$z(window,"resize",function(){lA("resize",200)}),a&&g.$z(window,"scroll",function(){lA("scroll", 200)})); new jA(function(){lA("mouse",100)}); g.$z(document,"touchstart",kA,{passive:!0});g.$z(document,"touchend",kA,{passive:!0})}}; lA=function(a,b){nA[a]||(nA[a]=!0,g.mo.Bi(function(){kA();nA[a]=!1},b))}; kA=function(){null==g.Ga("_lact",window)&&(mA(),g.Ga("_lact",window));var a=Date.now();g.Fa("_lact",a,window);-1==g.Ga("_fact",window)&&g.Fa("_fact",a,window);(a=g.Ga("ytglobal.ytUtilActivityCallback_"))&&a()}; oA=function(){var a=g.Ga("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)}; g.tA=function(a,b,c){var d=g.pA();if(d&&b){var e=d.subscribe(a,function(){var f=arguments;var h=function(){qA[e]&&b.apply&&"function"==typeof b.apply&&b.apply(c||window,f)}; try{g.rA[a]?h():g.Qw(h,0)}catch(l){g.Aw(l)}},c); qA[e]=!0;sA[a]||(sA[a]=[]);sA[a].push(e);return e}return 0}; g.uA=function(a){var b=g.pA();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),g.Gb(a,function(c){b.unsubscribeByKey(c);delete qA[c]}))}; g.vA=function(a,b){var c=g.pA();return c?c.publish.apply(c,arguments):!1}; Jqa=function(a){var b=g.pA();if(b)if(b.clear(a),a)Iqa(a);else for(var c in sA)Iqa(c)}; g.pA=function(){return g.Ea.ytPubsubPubsubInstance}; Iqa=function(a){sA[a]&&(a=sA[a],g.Gb(a,function(b){qA[b]&&delete qA[b]}),a.length=0)}; wA=function(a){this.name=a}; xA=function(a){this.key=a}; Kqa=function(){this.u=new Map;this.j=new Map}; yA=function(a,b){a.u.set(b.aO,b)}; AA=function(a,b,c,d){d=void 0===d?!1:d;if(-1=d.length&&EA(b)===d[0])return d;for(var e=[],f=0;f=a?NA||(NA=OA(function(){PA({writeThenSend:!0},g.vw("flush_only_full_queue")?b:void 0,c);NA=void 0},0)):10<=e-f&&(Rqa(c),c?LA.B=e:MA.B=e)}; Sqa=function(a,b){g.vw("web_all_payloads_via_jspb")&&Cw(new g.Sx("transport.logIsolatedGelPayload called in JSPB only experiment"));if("log_event"===a.endpoint){HA(a);var c=IA(a),d=new Map;d.set(c,[a.payload]);b&&(KA=new b);return new g.pf(function(e,f){KA&&KA.isReady()?QA(d,KA,e,f,{bypassNetworkless:!0},!0):e()})}}; Tqa=function(a,b){if("log_event"===a.endpoint){HA(void 0,a);var c=IA(a,!0),d=new Map;d.set(c,[a.payload.toJSON()]);b&&(KA=new b);return new g.pf(function(e){KA&&KA.isReady()?RA(d,KA,e,{bypassNetworkless:!0},!0):e()})}}; IA=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 ow;c.videoId?d.setVideoId(c.videoId):c.playlistId&&$g(d,2,SA,c.playlistId);TA[b]=d}else b=a.cttAuthInfo,c={},b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId),UA[a.cttAuthInfo.token]=c;c=a.cttAuthInfo.token}return c}; PA=function(a,b,c){a=void 0===a?{}:a;c=void 0===c?!1:c;!c&&g.vw("web_all_payloads_via_jspb")&&Cw(new g.Sx("transport.flushLogs called for JSON in JSPB only experiment"));new g.pf(function(d,e){c?(VA(LA.u),VA(LA.j),LA.j=0):(VA(MA.u),VA(MA.j),MA.j=0);if(KA&&KA.isReady()){var f=a,h=c,l=KA;f=void 0===f?{}:f;h=void 0===h?!1:h;var m=new Map,n=new Map;if(void 0!==b)h?(e=GA().extractMatchingEntries({isJspb:h,cttAuthInfo:b}),m.set(b,e),RA(m,l,d,f)):(m=GA().extractMatchingEntries({isJspb:h,cttAuthInfo:b}), n.set(b,m),QA(n,l,d,e,f));else if(h){e=g.t(Object.keys(JA));for(h=e.next();!h.done;h=e.next())n=h.value,h=GA().extractMatchingEntries({isJspb:!0,cttAuthInfo:n}),0dra&&(a=1);rw("BATCH_CLIENT_COUNTER",a);return a}; Wqa=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}]}; ara=function(a,b,c){if(c.lf())var d=1;else if(c.getPlaylistId())d=2;else return;I(a,ow,4,c);a=a.getContext()||new Hr;c=bh(a,Gr,3)||new Gr;var e=new Fr;e.setToken(b);H(e,1,d);hh(c,12,Fr,e);I(a,Gr,3,c)}; $qa=function(a){for(var b=[],c=0;cf&&(c=a.substring(f,e),c=c.replace(Ara,""),c=c.replace(Bra,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Cra(a,b,c)}; Cra=function(a,b,c){c=void 0===c?null:c;var d=Dra(a),e=document.getElementById(d),f=e&&ura(e),h=e&&!f;f?b&&b():(b&&(f=g.tA(d,b),b=""+g.Oa(b),Era[b]=f),h||(e=Fra(a,d,function(){ura(e)||(tra(e,"loaded","true"),g.vA(d),g.Qw(g.Qa(Jqa,d),0))},c)))}; Fra=function(a,b,c,d){d=void 0===d?null:d;var e=g.Ne("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.lj(e,g.$p(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; Dra=function(a){var b=document.createElement("a");g.ee(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+ve(a)}; xB=function(a){var b=g.ya.apply(1,arguments);if(!vB(a)||b.some(function(d){return!vB(d)}))throw Error("Only objects may be merged."); b=g.t(b);for(var c=b.next();!c.done;c=b.next())wB(a,c.value);return a}; wB=function(a,b){for(var c in b)if(vB(b[c])){if(c in a&&!vB(a[c]))throw Error("Cannot merge an object into a non-object.");c in a||(a[c]={});wB(a[c],b[c])}else if(yB(b[c])){if(c in a&&!yB(a[c]))throw Error("Cannot merge an array into a non-array.");c in a||(a[c]=[]);Gra(a[c],b[c])}else a[c]=b[c];return a}; Gra=function(a,b){b=g.t(b);for(var c=b.next();!c.done;c=b.next())c=c.value,vB(c)?a.push(wB({},c)):yB(c)?a.push(Gra([],c)):a.push(c);return a}; vB=function(a){return"object"===typeof a&&!Array.isArray(a)}; yB=function(a){return"object"===typeof a&&Array.isArray(a)}; zB=function(a,b,c,d,e,f,h){g.C.call(this);this.Ca=a;this.Zb=b;this.Lb=c;this.Yd=d;this.Wa=e;this.u=f;this.j=h}; Ira=function(a,b,c){if(c.Pz){if(a.Ca.get().F.V().K("h5_check_forecasting_renderer_for_throttled_midroll")){var d=c.ao.filter(function(e){var f;return null!=(null==(f=e.renderer)?void 0:f.clientForecastingAdRenderer)}); 0!==d.length?AB(a.j,d,b.slotId,c.ssdaiAdsConfig):BB(a.Zb.get(),"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",function(){return[]},b.slotId)}else BB(a.Zb.get(),"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",function(){return[]},b.slotId); Hra(a.u,b)}else AB(a.j,c.ao,b.slotId,c.ssdaiAdsConfig)}; Kra=function(a,b,c,d,e){var f=a.Wa.get().gg(1);BB(a.Zb.get(),"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",function(){return Jra(a.Yd.get(),c,[],d,f.clientPlaybackNonce,f.xS,f.daiEnabled,f,e)},b)}; DB=function(a,b,c){if(c&&c!==a.slotType)return!1;b=g.t(b);for(c=b.next();!c.done;c=b.next())if(!CB(a.Ba,c.value))return!1;return!0}; EB=function(){return""}; Lra=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}}; N=function(a,b,c,d){d=void 0===d?!1:d;bb.call(this,a);this.nk=c;this.du=d;this.args=[];b&&this.args.push(b)}; FB=function(a,b,c){this.Wq=b;this.triggerType="TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED";this.triggerId=c||a(this.triggerType)}; Mra=function(a){if("JavaException"===a.name)return!0;a=a.stack;return a.includes("chrome://")||a.includes("chrome-extension://")||a.includes("moz-extension://")}; Nra=function(){this.Dr=[];this.zq=[]}; HB=function(){if(!GB){var a=GB=new Nra;a.zq.length=0;a.Dr.length=0;Ora(a,Pra)}return GB}; Ora=function(a,b){b.zq&&a.zq.push.apply(a.zq,b.zq);b.Dr&&a.Dr.push.apply(a.Dr,b.Dr)}; Qra=function(a){function b(){return a.charCodeAt(d++)} var c=a.length,d=0;do{var e=IB(b);if(Infinity===e)break;var f=e>>3;switch(e&7){case 0:e=IB(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=IB(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}; Rra=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.Sx(a);if(a.args)for(var f=g.t(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.QB(a)}}; VB=function(a,b,c,d,e,f,h,l){g.C.call(this);this.Zb=a;this.Yd=b;this.UJ=c;this.Ca=d;this.j=e;this.Wa=f;this.Ha=h;this.Lc=l}; vsa=function(a){for(var b=Array(a),c=0;ce)return new N("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 Ro(a,e),lD:d};if(null!=c){a=Math.max(0,a-c);if(a===e)return d;d.Tp=new Ro(a,e)}return d; default:return new N("AdPlacementKind not supported in convertToRange.",{kind:e,adPlacementConfig:a})}}; Osa=function(a){var b=1E3*a.startSecs;return new Ro(b,b+1E3*a.Og)}; wC=function(a){return g.Ga("ytcsi."+(a||"")+"data_")||Psa(a)}; xC=function(){var a=wC();a.info||(a.info={});return a.info}; yC=function(a){a=wC(a);a.metadata||(a.metadata={});return a.metadata}; zC=function(a){a=wC(a);a.tick||(a.tick={});return a.tick}; AC=function(a){a=wC(a);if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}else a.gel={gelTicks:{},gelInfos:{}};return a.gel}; BC=function(a){a=AC(a);a.gelInfos||(a.gelInfos={});return a.gelInfos}; CC=function(a){var b=wC(a).nonce;b||(b=g.YB(16),wC(a).nonce=b);return b}; Psa=function(a){var b={tick:{},info:{}};g.Fa("ytcsi."+(a||"")+"data_",b);return b}; DC=function(){var a=g.Ga("ytcsi.debug");a||(a=[],g.Fa("ytcsi.debug",a),g.Fa("ytcsi.reference",{}));return a}; EC=function(a){a=a||"";var b=Qsa();if(b[a])return b[a];var c=DC(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);return b[a]=d}; Rsa=function(a){a=a||"";var b=Qsa();b[a]&&delete b[a];var c=DC(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);b[a]=d}; Qsa=function(){var a=g.Ga("ytcsi.reference");if(a)return a;DC();return g.Ga("ytcsi.reference")}; FC=function(a){return Ssa[a]||"LATENCY_ACTION_UNKNOWN"}; Xsa=function(a,b,c){c=AC(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 Tsa){c=Tsa[a];g.nb(Usa,c)&&(b=!!b);a in Vsa&&"string"===typeof b&&(b=Vsa[a]+b.toUpperCase());a=b;b=c.split(".");for(var f=d={},h=0;h1E5*Math.random()&&(c=new g.Sx("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||g.QB(c)),!0):!1}; Zsa=function(){this.timing={};this.clearResourceTimings=function(){}; this.webkitClearResourceTimings=function(){}; this.mozClearResourceTimings=function(){}; this.msClearResourceTimings=function(){}; this.oClearResourceTimings=function(){}}; $sa=function(){var a;if(g.vw("csi_use_performance_navigation_timing")||g.vw("csi_use_performance_navigation_timing_tvhtml5")){var b,c,d,e=null==LC?void 0:null==(a=LC.getEntriesByType)?void 0:null==(b=a.call(LC,"navigation"))?void 0:null==(c=b[0])?void 0:null==(d=c.toJSON)?void 0:d.call(c);e?(e.requestStart=MC(e.requestStart),e.responseEnd=MC(e.responseEnd),e.redirectStart=MC(e.redirectStart),e.redirectEnd=MC(e.redirectEnd),e.domainLookupEnd=MC(e.domainLookupEnd),e.connectStart=MC(e.connectStart), e.connectEnd=MC(e.connectEnd),e.responseStart=MC(e.responseStart),e.secureConnectionStart=MC(e.secureConnectionStart),e.domainLookupStart=MC(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=LC.timing}else a=LC.timing;return a}; MC=function(a){return Math.round(NC()+a)}; NC=function(){return(g.vw("csi_use_time_origin")||g.vw("csi_use_time_origin_tvhtml5"))&&LC.timeOrigin?Math.floor(LC.timeOrigin):LC.timing.navigationStart}; OC=function(a){this.j=a}; g.PC=function(a){return new OC({trackingParams:a})}; bta=function(a){var b=ata++;return new OC({veType:a,veCounter:b,elementIndex:void 0,dataElement:void 0,youtubeData:void 0,jspbYoutubeData:void 0})}; QC=function(a){a=void 0===a?0:a;return 0===a?"client-screen-nonce":"client-screen-nonce."+a}; RC=function(a){a=void 0===a?0:a;return 0===a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a}; cta=function(a){return g.tw(RC(void 0===a?0:a))}; g.SC=function(a){return(a=cta(void 0===a?0:a))?new OC({veType:a,youtubeData:void 0,jspbYoutubeData:void 0}):null}; dta=function(){var a=g.tw("csn-to-ctt-auth-info");a||(a={},rw("csn-to-ctt-auth-info",a));return a}; g.TC=function(a){a=g.tw(QC(void 0===a?0:a));if(!a&&!g.tw("USE_CSN_FALLBACK",!0))return null;a||(a="UNDEFINED_CSN");return a?a:null}; fta=function(a){for(var b=g.t(Object.values(eta)),c=b.next();!c.done;c=b.next())if(g.TC(c.value)===a)return!0;return!1}; gta=function(a,b,c){var d=dta();(c=g.TC(c))&&delete d[c];b&&(d[a]=b)}; UC=function(a){return dta()[a]}; ita=function(a,b,c,d){c=void 0===c?0:c;if(a!==g.tw(QC(c))||b!==g.tw(RC(c)))if(gta(a,d,c),rw(QC(c),a),rw(RC(c),b),b=function(){setTimeout(function(){if(a)if(g.vw("web_time_via_jspb")){var e=new qv;H(e,1,hta);H(e,2,a);var f=new mw;dh(f,qv,111,NB,e);MB(f)}else g.hy("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:hta,clientScreenNonce:a})},0)},"requestAnimationFrame"in window)try{window.requestAnimationFrame(b)}catch(e){b()}else b()}; WC=function(a,b){VC("_start",a,b)}; jta=function(a,b,c,d){if(null!==b){if("yt_lt"===a){var e="string"===typeof b?b:""+b;yC(c).loadType=e}(a=Xsa(a,b,c))&&XC(a,c,d)}}; XC=function(a,b,c){if(!g.vw("web_csi_via_jspb")||(void 0===c?0:c))c=EC(b||""),xB(c.info,a),a.loadType&&(c=a.loadType,yC(b).loadType=c),xB(BC(b),a),c=CC(b),b=wC(b).cttAuthInfo,IC().info(a,c,b);else{c=new Rv;var d=Object.keys(a);a=Object.values(a);for(var e=0;e=NC()&&0c.duration?d:c},{duration:0}))&&0=b)}; BD=function(a,b){this.videoInfos=a;this.j=b;this.audioTracks=[];if(this.j){a=new Set;b=g.t(this.j);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.Oc&&!a.has(c.Oc.id)){var d=new g.uD(c.id,c.Oc);a.add(c.Oc.id);this.audioTracks.push(d)}}}; CD=function(){g.C.apply(this,arguments);this.j=null}; Kta=function(a,b,c,d,e,f){if(a.j)return a.j;var h={},l=new Set,m={};if(DD(d)){for(var n in d.j)d.j.hasOwnProperty(n)&&(a=d.j[n],m[a.info.Mb]=[a.info]);return m}n=Hta(b,d,h);f&&e({aftsrt:ED(n)});for(var p={},q=g.t(Object.keys(n)),r=q.next();!r.done;r=q.next()){r=r.value;for(var w=g.t(n[r]),x=w.next();!x.done;x=w.next()){x=x.value;var z=x.itag,B=void 0,E=r+"_"+((null==(B=x.video)?void 0:B.fps)||0);p.hasOwnProperty(E)?!0===p[E]?m[r].push(x):h[z]=p[E]:(B=FD(b,x,c,d.isLive,l),!0!==B?(h[z]=B,"disablevp9hfr"=== B&&(p[E]="disablevp9hfr")):(m[r]=m[r]||[],m[r].push(x),p[E]=!0))}}f&&e({bfflt:ED(m)});for(var G in m)m.hasOwnProperty(G)&&(d=G,m[d]&&m[d][0].Sg()&&(m[d]=m[d],m[d]=Ita(b,m[d],h),m[d]=Jta(m[d],h)));f&&e(h);b=g.t(l.values());for(d=b.next();!d.done;d=b.next())(d=c.u.get(d.value))&&--d.VW;f&&e({aftflt:ED(m)});a.j=g.Gc(m,function(F){return!!F.length}); return a.j}; Mta=function(a,b,c,d,e,f,h){if(b.Xc&&h&&1n&&(e=c));"9"===e&&m.h&&ID(m.h)>ID(m["9"])&&(e="h");b.ac&&d.isLive&&"("===e&&m.H&&1440>ID(m["("])&&(e="H");l&&f({vfmly:JD(e)});b=m[e];if(!b.length)return l&&f({novfmly:JD(e)}),ax();HD(b);return bx(new BD(b, a))}; Ota=function(a,b){var c=b.I&&!(!a.mac3&&!a.MAC3),d=b.J&&!(!a.meac3&&!a.MEAC3);return b.ya&&!(!a.m&&!a.M)||c||d}; JD=function(a){switch(a){case "*":return"v8e";case "(":return"v9e";case "(h":return"v9he";default:return a}}; ED=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=c;b.push(JD(d));d=g.t(a[d]);for(var e=d.next();!e.done;e=d.next())b.push(e.value.itag)}return b.join(".")}; Nta=function(a,b,c,d,e,f){var h={},l={};g.Fc(b,function(m,n){m=m.filter(function(p){var q=p.itag;if(!p.Qd)return l[q]="noenc",!1;if(f.hc&&"(h"===p.Mb&&f.pc)return l[q]="lichdr",!1;if("("===p.Mb||"(h"===p.Mb){if(a.B&&c&&"widevine"===c.flavor){var r=p.mimeType+"; experimental=allowed";(r=!!p.Qd[c.flavor]&&!!c.j[r])||(l[q]=p.Qd[c.flavor]?"unspt":"noflv");return r}if(!KD(a,LD.CRYPTOBLOCKFORMAT)&&!a.Aa||a.ea)return l[q]=a.ea?"disvp":"vpsub",!1}return c&&p.Qd[c.flavor]&&c.j[p.mimeType]?!0:(l[q]=c?p.Qd[c.flavor]? "unspt":"noflv":"nosys",!1)}); m.length&&(h[n]=m)}); d&&Object.entries(l).length&&e(l);return h}; Jta=function(a,b){var c=al(a,function(d,e){return 32c&&(a=a.filter(function(d){if(32a.T)return"max"+a.T;if(a.Fb&&"h"===b.Mb&&b.video&&1080a.pd())a.segments=[];else{var c=ib(a.segments,function(d){return d.Oa>=b},a); 0c&&(c=a.totalLength-b);a.focus(b);if(!bE(a,b,c)){var d=a.u,e=a.B;a.focus(b+c-1);e=new Uint8Array(a.B+a.j[a.u].length-e);for(var f=0,h=d;h<=a.u;h++)e.set(a.j[h],f),f+=a.j[h].length;a.j.splice(d,a.u-d+1,e);aE(a);a.focus(b)}d=a.j[a.u];return new DataView(d.buffer,d.byteOffset+b-a.B,c)}; cE=function(a,b,c){a=eua(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}; fua=function(a){a=cE(a,0,-1);var b=new Uint8Array(a.length);try{b.set(a)}catch(d){for(var c=0;ce&&bf)hE[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;hE[e++]=55296|f>>10;f=56320|f&1023}hE[e++]=f}}f=String.fromCharCode.apply(String,hE); 1024>e&&(f=f.substr(0,e));c.push(f)}return c.join("")}; kE=function(a,b){var c;if(null==(c=jE)?0:c.encodeInto)return b=jE.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}; iua=function(a){if(jE)return jE.encode(a);var b=new Uint8Array(Math.ceil(1.2*a.length)),c=kE(a,b);b.lengthc&&(b=b.subarray(0,c));return b}; lE=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.j=(this.u=e)?0:8;this.dataOffset=this.offset+this.j}; mE=function(a){var b=a.data.getUint8(a.offset+a.j);a.j+=1;return b}; nE=function(a){var b=a.data.getUint16(a.offset+a.j);a.j+=2;return b}; oE=function(a){var b=a.data.getInt32(a.offset+a.j);a.j+=4;return b}; pE=function(a){var b=a.data.getUint32(a.offset+a.j);a.j+=4;return b}; qE=function(a){var b=a.data;var c=a.offset+a.j;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.j+=8;return b}; rE=function(a,b){b=void 0===b?NaN:b;if(isNaN(b))var c=a.size;else for(c=a.j;ca.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-bc;c++){var d=a.getInt8(b+c);if(48>d||122d;d++)c[d]=a.getInt8(b.offset+16+d);return c}; HE=function(a,b){this.j=a;this.pos=0;this.start=b||0}; IE=function(a){return a.pos>=a.j.byteLength}; NE=function(a,b,c){var d=new HE(c);if(!JE(d,a))return!1;d=KE(d);if(!LE(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=d.start+d.pos;var e=ME(d,!0);d=a+(d.start+d.pos-b)+e;d=9b;b++)c=256*c+SE(a);return c}for(var d=128,e=0;6>e&&d>c;e++)c=256*c+SE(a),d*=128;return b?c-d:c}; PE=function(a){var b=ME(a,!0);a.pos+=b}; Bua=function(a){if(!LE(a,440786851,!0))return null;var b=a.pos;ME(a,!1);var c=ME(a,!0)+a.pos-b;a.pos=b+c;if(!LE(a,408125543,!1))return null;ME(a,!0);if(!LE(a,357149030,!0))return null;var d=a.pos;ME(a,!1);var e=ME(a,!0)+a.pos-d;a.pos=d+e;if(!LE(a,374648427,!0))return null;var f=a.pos;ME(a,!1);var h=ME(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}; TE=function(a){var b=a.pos;a.pos=0;var c=1E6;JE(a,[408125543,357149030,2807729])&&(c=OE(a));a.pos=b;return c}; Cua=function(a,b){var c=a.pos;a.pos=0;if(160!==a.j.getUint8(a.pos)&&!UE(a)||!LE(a,160))return a.pos=c,NaN;ME(a,!0);var d=a.pos;if(!LE(a,161))return a.pos=c,NaN;ME(a,!0);SE(a);var e=SE(a)<<8|SE(a);a.pos=d;if(!LE(a,155))return a.pos=c,NaN;d=OE(a);a.pos=c;return(e+d)*b/1E9}; UE=function(a){if(!Dua(a)||!LE(a,524531317))return!1;ME(a,!0);return!0}; Dua=function(a){if(a.Rm()){if(!LE(a,408125543))return!1;ME(a,!0)}return!0}; JE=function(a,b){for(var c=0;cd.timedOut&&1>d.j)return!1;d=d.timedOut+d.j;a=$E(a,b);c=YE(c,SD(a));return c.timedOut+c.j+ +(b.Mn&&!c.C)b.Yg?1E3*Math.pow(b.Oh,c-b.Yg):0;return 0===b?!0:a.J+b<(0,g.M)()}; Kua=function(a,b,c){a.j.set(b,c);a.B.set(b,c);a.C&&a.C.set(b,c)}; cF=function(a,b,c,d){this.T=a;this.initRange=c;this.indexRange=d;this.j=null;this.C=!1;this.J=0;this.D=this.B=null;this.info=b;this.u=new ZE(a)}; dF=function(a,b,c){return Lua(a.info,b,c)}; eF=function(a,b){this.start=a;this.end=b;this.length=b-a+1}; fF=function(a){a=a.split("-");var b=Number(a[0]),c=Number(a[1]);if(!isNaN(b)&&!isNaN(c)&&2===a.length&&(a=new eF(b,c),!isNaN(a.start)&&!isNaN(a.end)&&!isNaN(a.length)&&0=b.range.start+b.Pb&&a.range.start+a.Pb+a.u<=b.range.start+b.Pb+b.u:a.Oa===b.Oa&&a.Pb>=b.Pb&&(a.Pb+a.u<=b.Pb+b.u||b.Xe)}; Wua=function(a,b){return a.j!==b.j?!1:4===a.type&&3===b.type&&a.j.Eg()?(a=a.j.wz(a),dm(a,function(c){return Wua(c,b)})):a.Oa===b.Oa&&!!b.u&&b.Pb+b.u>a.Pb&&b.Pb+b.u<=a.Pb+a.u}; qF=function(a,b){var c=b.Oa;a.D="updateWithSegmentInfo";a.Oa=c;if(a.startTime!==b.startTime||a.duration!==b.duration)a.startTime=b.startTime,a.duration=b.duration,Nua(a)}; rF=function(a,b){var c=this;this.gb=a;this.J=this.u=null;this.D=this.Pg=NaN;this.I=this.requestId=null;this.hf={s6a:function(){return c.range}}; this.j=a[0].j.u;this.B=b||"";this.gb[0].range&&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 WD(n,e,f,NaN,"sq/"+(n+1)));e+=f;h--}a.index.append(c)}}; EF=function(a,b,c){this.info=a;this.j=b;this.B=c;this.u=null;this.D=-1;this.timestampOffset=0;this.I=!1;this.C=this.info.j.Iy()&&!this.info.Pb}; FF=function(a){return eua(a.j)}; kva=function(a,b){if(1!==a.info.j.info.containerType||a.info.Pb||!a.info.Xe)return!0;a=FF(a);for(var c=0,d=0;c+4e)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}; KF=function(a,b){b=void 0===b?!1:b;var c=nva(a);a=b?0:a.info.I;return c||a}; nva=function(a){g.IF(a.info.j.info)||a.info.j.info.Fe();if(a.u&&6===a.info.type)return a.u.Xj;if(g.IF(a.info.j.info)){var b=FF(a);var c=0;b=g.GE(b,1936286840);b=g.t(b);for(var d=b.next();!d.done;d=b.next())d=tua(d.value),c+=d.aP[0]/d.hw;c=c||NaN;if(!(0<=c))a:{c=FF(a);b=a.info.j.j;for(var e=d=0,f=0;BE(c,d);){var h=CE(c,d);if(1836476516===h.type)e=g.yE(h);else if(1836019558===h.type){!e&&b&&(e=zE(b));if(!e){c=NaN;break a}var l=AE(h.data,h.dataOffset,1953653094),m=e,n=AE(l.data,l.dataOffset,1952868452); l=AE(l.data,l.dataOffset,1953658222);var p=oE(n);oE(n);p&2&&oE(n);n=p&8?oE(n):0;var q=oE(l),r=q&1;p=q&4;var w=q&256,x=q&512,z=q&1024;q&=2048;var B=pE(l);r&&oE(l);p&&oE(l);for(var E=r=0;E=1.3*Math.floor(16*f/9)||a>=1.3*f)return b;b=e}return"tiny"}; VF=function(a,b,c){c=void 0===c?{}:c;this.id=a;this.mimeType=b;0=b)return c}catch(d){}return-1}; xG=function(a,b){return 0<=wG(a,b)}; yva=function(a,b){if(!a)return NaN;b=wG(a,b);return 0<=b?a.start(b):NaN}; yG=function(a,b){if(!a)return NaN;b=wG(a,b);return 0<=b?a.end(b):NaN}; zG=function(a){return a&&a.length?a.end(a.length-1):NaN}; zva=function(a,b){a=yG(a,b);return 0<=a?a-b:0}; AG=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 uG(d,e)}; BG=function(a,b,c,d){g.rC.call(this);var e=this;this.Fd=a;this.start=b;this.end=c;this.isActive=d;this.appendWindowStart=0;this.appendWindowEnd=Infinity;this.timestampOffset=0;this.RT={error:function(){!e.isDisposed()&&e.isActive&&e.ma("error",e)}, updateend:function(){!e.isDisposed()&&e.isActive&&e.ma("updateend",e)}}; g.sC(this.Fd,this.RT);this.dE=this.isActive}; DG=function(a,b,c,d,e,f){g.rC.call(this);var h=this;this.Vb=a;this.vg=b;this.id=c;this.containerType=d;this.Mb=e;this.Sg=f;this.wM=this.rC=this.Df=null;this.ZE=!1;this.appendWindowStart=this.timestampOffset=0;this.nK=uG([],[]);this.UA=!1;this.xz=CG?[]:void 0;this.qd=function(m){return h.ma(m.type,h)}; var l;if(null==(l=this.Vb)?0:l.addEventListener)this.Vb.addEventListener("updateend",this.qd),this.Vb.addEventListener("error",this.qd)}; Ava=function(a,b){b.isEncrypted()&&(a.wM=a.rC);3===b.type&&(a.Df=b)}; EG=function(){return window.SourceBuffer?!!SourceBuffer.prototype.changeType:!1}; FG=function(a,b){this.j=a;this.u=void 0===b?!1:b;this.B=!1}; GG=function(a,b,c){c=void 0===c?!1:c;g.C.call(this);this.mediaElement=a;this.Xa=b;this.isView=c;this.I=0;this.C=!1;this.D=!0;this.T=0;this.callback=null;this.Xa||(this.vg=this.mediaElement.xb());this.events=new g.nG(this);g.D(this,this.events);this.B=new FG(this.Xa?window.URL.createObjectURL(this.Xa):this.vg.webkitMediaSourceURL,!0);a=this.Xa||this.vg;lB(this.events,a,["sourceopen","webkitsourceopen"],this.Y6);lB(this.events,a,["sourceclose","webkitsourceclose"],this.X6);this.J={updateend:this.r_}}; Bva=function(){return!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)}; Cva=function(a,b){HG(a)?g.kf(function(){b(a)}):a.callback=b}; Dva=function(a,b,c){if(IG){var d;JG(a.mediaElement,{l:"mswssb",sr:null==(d=a.mediaElement.va)?void 0:KG(d)},!1);g.sC(b,a.J,a);g.sC(c,a.J,a)}a.j=b;a.u=c;g.D(a,b);g.D(a,c)}; LG=function(a){return!!a.j||!!a.u}; HG=function(a){try{return"open"===MG(a)}catch(b){return!1}}; MG=function(a){if(a.Xa)return a.Xa.readyState;switch(a.vg.webkitSourceState){case a.vg.SOURCE_OPEN:return"open";case a.vg.SOURCE_ENDED:return"ended";default:return"closed"}}; NG=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)}; Eva=function(a,b,c,d){if(!a.j||!a.u)return null;var e=a.j.isView()?a.j.Fd:a.j,f=a.u.isView()?a.u.Fd:a.u,h=new GG(a.mediaElement,a.Xa,!0);h.B=a.B;Dva(h,new BG(e,b,c,d),new BG(f,b,c,d));HG(a)||a.j.Sq(a.j.Md());return h}; Fva=function(a){var b;null==(b=a.j)||b.Gx();var c;null==(c=a.u)||c.Gx();a.D=!1}; Gva=function(a){return OG(function(b,c){return g.Zw(b,c,4,1E3)},a,{format:"RAW", method:"GET",withCredentials:!0})}; g.Hva=function(a){var b;a.responseType&&"text"!==a.responseType?"arraybuffer"===a.responseType&&(b=gE(new Uint8Array(a.response))):b=a.responseText;return!b||2048a.T&&a.isLivePlayback;a.Fa=Number(wF(c,a.D+":earliestMediaSequence"))||0;if(d=Date.parse(ava(wF(c,a.D+":mpdResponseTime"))))a.ea=(Date.now()-d)/1E3;a.isLive&&0>=c.getElementsByTagName("SegmentTimeline").length||g.$k(c.getElementsByTagName("Period"),a.C7,a);a.state=2;a.ma("loaded");$va(a)}return a}).Zj(function(c){if(c instanceof Xw){var d=c.xhr; a.Fg=d.status}a.state=3;a.ma("loaderror");return sf(d)})}; bwa=function(a,b,c){return awa(new QG(a,b,c),a)}; WG=function(a){return a.isLive&&(0,g.M)()-a.ya>=a.T}; $va=function(a){var b=a.T;isFinite(b)&&(WG(a)?a.refresh():(b=Math.max(0,a.ya+b-(0,g.M)()),a.C||(a.C=new g.qo(a.refresh,b,a),g.D(a,a.C)),a.C.start(b)))}; cwa=function(a){a=a.j;for(var b in a){var c=a[b].index;if(c.isLoaded())return c.pd()+1}return 0}; XG=function(a){return a.Bd?a.Bd-(a.J||a.timestampOffset):0}; YG=function(a){return a.hc?a.hc-(a.J||a.timestampOffset):0}; ZG=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()){b=0;for(c=d.Gm();c<=d.pd();c++)b+=d.getDuration(c);b/=d.py();b=.5*Math.round(b/.5);10(0,g.M)()-1E3*a))return 0;if(jwa){if(a=g.rB("yt-player-quality"),null==a?0:a.quality)return a.quality}else if(a=g.rB("yt-player-quality"),"string"===typeof a){if(a=g.wD[a],0a.previousQuality)return 1;if(a.quality=navigator.hardwareConcurrency&&(a=480);b.coreCount=navigator.hardwareConcurrency;boa()&&(b.isArm=1,a=240);if(c){var e,f;if(d=null==(e=c.videoInfos.find(function(h){return fG(h)}))?void 0:null==(f=e.j)?void 0:f.powerEfficient)a=8192,b.isEfficient=1; c=c.videoInfos[0].video;e=Math.min(eH("1",c.fps),eH("1",30));b.perfCap=e;a=Math.min(a,e);c.isHdr()&&!d&&(b.hdr=1,a*=.75)}else c=eH("1",30),b.perfCap30=c,a=Math.min(a,c),c=eH("1",60),b.perfCap60=c,a=Math.min(a,c);return b.av1Threshold=a}; hH=function(a){return a?function(){try{return a.apply(this,arguments)}catch(b){g.PB(b)}}:a}; iH=function(a,b,c,d){this.flavor=a;this.keySystem=b;this.u=c;this.experiments=d;this.j={};this.Za=this.keySystemAccess=null;this.Yw=this.Zw=-1;this.ol=null;this.B=!!d&&d.qb("edge_nonprefixed_eme")}; kH=function(a){return a.B?!1:!a.keySystemAccess&&!!jH()&&"com.microsoft.playready"===a.keySystem}; lH=function(a){return"com.microsoft.playready"===a.keySystem}; mH=function(a){return!a.keySystemAccess&&!!jH()&&"com.apple.fps.1_0"===a.keySystem}; nH=function(a){return"com.youtube.fairplay"===a.keySystem}; oH=function(a){return"com.youtube.fairplay.sbdl"===a.keySystem}; g.pH=function(a){return"fairplay"===a.flavor}; jH=function(){var a=window,b=a.MSMediaKeys;mx()&&!b&&(b=a.WebKitMediaKeys);return b&&b.isTypeSupported?b:null}; sH=function(a){if(!navigator.requestMediaKeySystemAccess)return!1;if(g.qG&&!g.jx())return To("45");if(g.Sy||g.Je)return a.qb("edge_nonprefixed_eme");if(g.qH)return To("47");if(g.ry){if(a.qb("html5_enable_safari_fairplay"))return!1;if(a=g.rH(a,"html5_safari_desktop_eme_min_version"))return To(a)}return!0}; twa=function(a,b,c,d){var e=kx(),f=(c=e||c&&mx())?["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.u(f),g.u(tH.playready)):[].concat(g.u(tH.playready),g.u(f))}; uH=function(a,b,c,d,e){d=void 0===d?!1:d;g.C.call(this);this.D=b;this.useCobaltWidevine=d;this.xa=e;this.u=[];this.B={};this.j={};this.callback=null;this.I=!1;this.C=[];this.J=this.K("html5_store_probed_media_key_system_access");this.initialize(a,!c)}; vwa=function(a,b){a.callback=b;a.C=[];sH(a.D.experiments)?vH(a):uwa(a)}; vH=function(a){if(!a.isDisposed())if(0===a.u.length)a.callback(a.C);else{var b=a.u[0],c=a.B[b],d=wwa(a,c);if(a.J){var e=xwa[b];if(e){ywa(a,c,e);return}}navigator.requestMediaKeySystemAccess(b,d).then(hH(function(f){ywa(a,c,f)}),hH(function(){a.I=!a.I&&"widevine"===a.B[a.u[0]].flavor; a.I||a.u.shift();vH(a)}))}}; ywa=function(a,b,c){if(!a.isDisposed()){a.J&&(xwa[b.keySystem]=c);b.keySystemAccess=c;if(lH(b)){c=oG();for(var d=g.t(Object.keys(a.j[b.flavor])),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.t(c.audioCapabilities),e=d.next();!e.done;e=d.next())zwa(a,b,e.value);if(c.videoCapabilities)for(c=g.t(c.videoCapabilities),d=c.next();!d.done;d=c.next())zwa(a,b,d.value)}a.C.push(b);a.useCobaltWidevine||a.K("html5_enable_vp9_fairplay")&& oH(b)?(a.u.shift(),vH(a)):a.callback(a.C)}}; zwa=function(a,b,c){a.K("log_robustness_for_drm")?b.j[c.contentType]=c.robustness||!0:b.j[c.contentType]=!0}; wwa=function(a,b){var c={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};if(a.K("html5_enable_vp9_fairplay")&&nH(b))return c.audioCapabilities.push({contentType:'audio/mp4; codecs="mp4a.40.5"'}),c.videoCapabilities.push({contentType:'video/mp4; codecs="avc1.4d400b"'}),[c];lH(b)&&(c.initDataTypes=["keyids","cenc"]);for(var d=g.t(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.I?h.push({contentType:e}):f?h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(g.qG&&hx("windows nt")&&!a.K("html5_drm_enable_moho")||h.push({contentType:e,robustness:"HW_SECURE_ALL"}),f=e,a.K("html5_enable_cobalt_experimental_vp9_decoder")&&e.includes("vp09")&&(f=e+"; experimental=allowed"),h.push({contentType:f,robustness:"SW_SECURE_DECODE"}),a.K("html5_query_sw_secure_crypto_for_android")&&"MWEB"===g.wH(a.D)&&(sx()||ix())&&(a.xa("swcrypto",{}),h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"})))}return[c]}; uwa=function(a){if(jH()&&g.ry)a.C.push(new iH("fairplay","com.apple.fps.1_0","",a.D.experiments));else{var b=Awa(),c=g.jb(a.u,function(d){var e=a.B[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.C.push(a.B[c]);a.u=[]}a.callback(a.C)}; Awa=function(){var a=jH();if(a){var b=a.isTypeSupported;return function(d,e){return b(e,d)}}var c=oG(); return c&&(c.addKey||c.webkitAddKey)?function(d,e){return!!c.canPlayType(d,e)}:function(){return!1}}; Bwa=function(){this.j=0}; Cwa=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=Dw(b||"","&");a={};b=g.t(this.experimentIds);for(var c=b.next();!c.done;c=b.next())a[c.value]=!0;this.experiments=a}; g.rH=function(a,b){return Number(a.flags[b])||0}; xH=function(a,b){return(a=a.flags[b])?a.toString():""}; Ewa=function(a){return Dwa.then(a)}; yH=function(a,b,c){this.experiments=a;this.oa=b;this.Aa=void 0===c?!1:c;this.J=!!g.Ga("cast.receiver.platform.canDisplayType");this.I={};this.Y=!1;this.u=new Map;this.T=!0;this.D=!this.experiments.qb("html5_disable_protected_hdr");this.j=this.B=!1;this.ea=this.experiments.qb("html5_disable_vp9_encrypted");a=g.Ga("cast.receiver.platform.getValue");this.C=!this.J&&a&&a("max-video-resolution-vpx")||null}; Sta=function(a,b,c){c=void 0===c?1:c;var d=b.itag;if("0"===d)return!0;var e=b.mimeType;if(b.Fe()&&kx()&&a.experiments.qb("html5_appletv_disable_vp9"))return"dwebm";if(fG(b)&&a.Y)return"dav1";if(b.video&&(b.video.isHdr()||"bt2020"===b.video.primaries)&&!(KD(a,LD.EOTF)||window.matchMedia&&(window.matchMedia("(dynamic-range: high), (video-dynamic-range: high)").matches||24=f&&f>d&&!0===Sta(a,e,c)&&(d=f)}return d}; g.AH=function(a,b){b=void 0===b?!1:b;return zH()&&a.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')||!b&&a.canPlayType(oG(),"application/x-mpegURL")?!0:!1}; Hwa=function(a){Gwa(function(){for(var b=g.t(Object.keys(LD)),c=b.next();!c.done;c=b.next())KD(a,LD[c.value])})}; KD=function(a,b){b.name in a.I||(a.I[b.name]=Iwa(a,b));return a.I[b.name]}; Iwa=function(a,b){if(a.C)return!!a.C[b.name];if(b===LD.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===LD.AV1_CODECS)return a.isTypeSupported("video/mp4; codecs="+b.valid)&&!a.isTypeSupported("video/mp4; codecs="+b.Qm);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.Qm)}; Jwa=function(a){a.T=!1;a.j=!0}; Kwa=function(a){a.B||(a.B=!0,a.j=!0)}; Lwa=function(a,b){var c=0;a.u.has(b)&&(c=a.u.get(b).z2);a.u.set(b,{z2:c+1,VW:Math.pow(2,c+1)});a.j=!0}; BH=function(){var a=this;this.queue=[];this.C=0;this.j=this.u=!1;this.B=function(){a.u=!1;a.bf()}}; Mwa=function(a){a.j||(Gwa(function(){a.bf()}),a.j=!0)}; CH=function(){g.rC.call(this);this.items={}}; DH=function(a){return window.Int32Array?new Int32Array(a):Array(a)}; JH=function(a){this.counter=[0,0,0,0];this.u=new Uint8Array(16);this.j=16;if(!Nwa){var b,c=new Uint8Array(256),d=new Uint8Array(256);var e=1;for(b=0;256>b;b++)c[e]=b,d[b]=e,e^=e<<1^(e>>7&&283);EH=new Uint8Array(256);FH=DH(256);GH=DH(256);HH=DH(256);IH=DH(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;EH[f]=e;b=e<<1^(e>>7&&283);var h=b^e;FH[f]=b<<24|e<<16|e<<8|h;GH[f]=h<<24|FH[f]>>>8;HH[f]=e<<24|GH[f]>>>8;IH[f]=e<<24|HH[f]>>>8}Nwa=!0}e=DH(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=(EH[a>>16&255]^d)<<24|EH[a>>8&255]<<16|EH[a&255]<<8|EH[a>>>24],d=d<<1^(d>>7&&283)),e[c]=e[c-4]^a;this.key=e}; Owa=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=FH[c>>>24]^GH[d>>16&255]^HH[e>>8&255]^IH[f&255]^b[n++],l=FH[d>>>24]^GH[e>>16&255]^HH[f>>8&255]^IH[c&255]^b[n++],m=FH[e>>>24]^GH[f>>16&255]^HH[c>>8&255]^IH[d&255]^b[n++],f=FH[f>>>24]^GH[c>>16&255]^HH[d>>8&255]^IH[e&255]^b[n++],c=h,d=l,e=m;a=a.u;h=b[40];a[0]=EH[c>>>24]^h>>>24;a[1]=EH[d>>16&255]^h>>16&255;a[2]=EH[e>>8&255]^ h>>8&255;a[3]=EH[f&255]^h&255;h=b[41];a[4]=EH[d>>>24]^h>>>24;a[5]=EH[e>>16&255]^h>>16&255;a[6]=EH[f>>8&255]^h>>8&255;a[7]=EH[c&255]^h&255;h=b[42];a[8]=EH[e>>>24]^h>>>24;a[9]=EH[f>>16&255]^h>>16&255;a[10]=EH[c>>8&255]^h>>8&255;a[11]=EH[d&255]^h&255;h=b[43];a[12]=EH[f>>>24]^h>>>24;a[13]=EH[c>>16&255]^h>>16&255;a[14]=EH[d>>8&255]^h>>8&255;a[15]=EH[e&255]^h&255}; MH=function(){if(!KH&&!g.Sy){if(LH)return LH;var a;LH=null==(a=window.crypto)?void 0:a.subtle;var b,c,d;if((null==(b=LH)?0:b.importKey)&&(null==(c=LH)?0:c.sign)&&(null==(d=LH)?0:d.encrypt))return LH;LH=void 0}}; OH=function(){this.B=this.j=0;this.u=Array.from({length:NH.length}).fill(0)}; Pwa=function(){}; Qwa=function(a){this.name=a;this.startTimeMs=(0,g.M)();this.j=!1}; Rwa=function(){this.j=new Pwa}; PH=function(a,b,c,d){d=void 0===d?1:d;0<=c&&(b in a.j||(a.j[b]=new OH),a.j[b].ji(c,d))}; QH=function(){}; RH=function(a,b){g.C.call(this);var c=this;this.j=a;this.cipher=this.j.AES128CTRCipher_create(b.byteOffset);g.ab(this,function(){c.j.AES128CTRCipher_release(c.cipher)})}; g.SH=function(a){this.C=a}; g.TH=function(a){this.u=a}; UH=function(a,b){this.j=a;this.D=b}; VH=function(a){this.D=new Uint8Array(64);this.B=new Uint8Array(64);this.C=0;this.I=new Uint8Array(64);this.u=0;this.D.set(a);this.B.set(a);for(a=0;64>a;a++)this.D[a]^=92,this.B[a]^=54;this.reset()}; Swa=function(a,b,c){for(var d=a.J,e=a.j[0],f=a.j[1],h=a.j[2],l=a.j[3],m=a.j[4],n=a.j[5],p=a.j[6],q=a.j[7],r,w,x,z=0;64>z;)16>z?(d[z]=x=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[z-2],w=d[z-15],x=d[z-7]+d[z-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3),d[z]=x),r=q+WH[z]+x+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&n^~m&p),w=((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+(e&f^e&h^f&h),q=r+w,l+=r,z++,16>z?(d[z]=x=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r= d[z-2],w=d[z-15],x=d[z-7]+d[z-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3),d[z]=x),r=p+WH[z]+x+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&m^~l&n),w=((q>>>2|q<<30)^(q>>>13|q<<19)^(q>>>22|q<<10))+(q&e^q&f^e&f),p=r+w,h+=r,z++,16>z?(d[z]=x=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[z-2],w=d[z-15],x=d[z-7]+d[z-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3),d[z]=x),r=n+WH[z]+x+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&l^ ~h&m),w=((p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10))+(p&q^p&e^q&e),n=r+w,f+=r,z++,16>z?(d[z]=x=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[z-2],w=d[z-15],x=d[z-7]+d[z-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3),d[z]=x),r=m+WH[z]+x+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&h^~f&l),w=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&p^n&q^p&q),x=q,q=l,l=x,x=p,p=h,h=x,x=n,n=f,f=x,m=e+r,e=r+w,z++;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}; Uwa=function(a){var b=new Uint8Array(32),c=64-a.u;55f;f++){var h=e%256;d[c-f]=h;e=(e-h)/256}a.update(d);for(c=0;8>c;c++)b[4*c]=a.j[c]>>>24,b[4*c+1]=a.j[c]>>>16&255,b[4*c+2]=a.j[c]>>>8&255,b[4*c+3]=a.j[c]&255;Twa(a);return b}; Twa=function(a){a.j=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];a.J=[];a.J.length=64;a.C=0;a.u=0}; Vwa=function(a){this.j=a}; Wwa=function(a,b,c){a=new VH(a.j);a.update(b);a.update(c);b=Uwa(a);a.update(a.D);a.update(b);b=Uwa(a);a.reset();return b}; Xwa=function(a){this.u=a}; Ywa=function(a,b,c,d){var e,f,h,l;return g.A(function(m){switch(m.j){case 1:if(a.j){m.Ka(2);break}e=a;return g.y(m,d.importKey("raw",a.u,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),3);case 3:e.j=m.u;case 2:return f=new Uint8Array(b.length+c.length),f.set(b),f.set(c,b.length),h={name:"HMAC",hash:"SHA-256"},g.y(m,d.sign(h,a.j,f),4);case 4:return l=m.u,m.return(new Uint8Array(l))}})}; Zwa=function(a,b,c){a.B||(a.B=new Vwa(a.u));return Wwa(a.B,b,c)}; $wa=function(a,b,c){var d,e;return g.A(function(f){if(1==f.j){d=MH();if(!d)return f.return(Zwa(a,b,c));g.ra(f,3);return g.y(f,Ywa(a,b,c,d),5)}if(3!=f.j)return f.return(f.u);e=g.ta(f);g.QB(e);KH=!0;return f.return(Zwa(a,b,c))})}; XH=function(){g.SH.apply(this,arguments)}; YH=function(){g.TH.apply(this,arguments)}; ZH=function(a,b){if(b.buffer!==a.memory.buffer){var c=new Uint8Array(a.memory.buffer,a.malloc(b.byteLength),b.byteLength);c.set(b)}UH.call(this,a,c||b);this.u=new Set;this.C=!1;c&&this.u.add(c.byteOffset)}; axa=function(a,b,c){this.encryptedClientKey=b;this.D=c;this.j=new Uint8Array(a.buffer,0,16);this.B=new Uint8Array(a.buffer,16)}; bxa=function(a){a.u||(a.u=new XH(a.j));return a.u}; $H=function(a){try{return Hf(a)}catch(b){return null}}; cxa=function(a,b){if(!b&&a)try{b=JSON.parse(a)}catch(e){}if(b){a=b.clientKey?$H(b.clientKey):null;var c=b.encryptedClientKey?$H(b.encryptedClientKey):null,d=b.keyExpiresInSeconds?1E3*Number(b.keyExpiresInSeconds)+(0,g.M)():null;a&&c&&d&&(this.j=new axa(a,c,d));b.onesieUstreamerConfig&&(this.onesieUstreamerConfig=$H(b.onesieUstreamerConfig)||void 0);this.baseUrl=b.baseUrl}}; aI=function(a){this.j=this.u=0;this.alpha=Math.exp(Math.log(.5)/a)}; bI=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.resolution=b;this.u=0;this.B=!1;this.D=!0;this.j=Math.round(a*this.resolution);this.values=Array(this.j);for(a=0;a=sI;f=b?b.useNativeControls:a.use_native_controls;this.J=g.oI(this)&& this.u;d=this.u&&!this.J;f=g.tI(this)||!h&&xx(d,f)?"3":"1";d=b?b.controlsType:a.controls;this.controlsType="0"!==d&&0!==d?f:"0";this.dh=this.u;this.color=yx("red",b?b.progressBarColor:a.color,qxa);this.Yn="3"===this.controlsType||xx(!1,b?b.embedsShowModestBranding:a.modestbranding)&&"red"===this.color;this.Qc=!this.C;this.jm=(f=!this.Qc&&!qI(this)&&!this.oa&&!this.T&&!pI(this))&&!this.Yn&&"1"===this.controlsType;this.Hd=g.uI(this)&&f&&"0"===this.controlsType&&!this.jm;this.uq=this.Zn=h;this.wd=("3"=== this.controlsType||this.u||xx(!1,a.use_media_volume))&&!this.J;this.mm=ox&&!g.xc(601)?!1:!0;this.Sn=this.C||!1;this.Xc=qI(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=Ax("",b?b.widgetReferrer:a.widget_referrer);var l;b?b.disableCastApi&&(l=!1):l=a.enablecastapi;l=!this.I||xx(!0,l);h=!0;b&&b.disableMdxCast&&(h=!1);this.hc=this.K("enable_cast_for_web_unplugged")&&g.vI(this)&&h||this.K("enable_cast_on_music_web")&&g.wI(this)&&h||l&&h&&"1"===this.controlsType&& !this.u&&(qI(this)||g.uI(this)||"profilepage"===this.Fa)&&!g.xI(this);this.Xo=!!window.document.pictureInPictureEnabled||sG();l=b?!!b.supportsAutoplayOverride:xx(!1,a.autoplayoverride);this.al=!(this.u&&(!g.oI(this)||!this.K("embeds_web_enable_mobile_autoplay")))&&!hx("nintendo wiiu")||l;l=b?!!b.enableMutedAutoplay:xx(!1,a.mutedautoplay);this.Wo=this.K("embeds_enable_muted_autoplay")&&g.oI(this);this.ah=l&&!1;l=(qI(this)||pI(this))&&"blazer"===this.playerStyle;this.ij=b?!!b.disableFullscreen:!xx(!0, a.fs);this.Tb=!this.ij&&(l||g.gB());this.cm=this.K("uniplayer_block_pip")&&(ix()&&To(58)&&!sx()||Ry);l=g.oI(this)&&!this.jl;var m;b?void 0!==b.disableRelatedVideos&&(m=!b.disableRelatedVideos):m=a.rel;this.Bd=l||xx(!this.T,m);this.rl=xx(!1,b?b.enableContentOwnerRelatedVideos:a.co_rel);this.Y=sx()&&0=sI?"_top":"_blank";this.Zg="profilepage"===this.Fa;this.Wk=xx("blazer"===this.playerStyle,b?b.enableCsiLogging:a.enablecsi);switch(this.playerStyle){case "blogger":m="bl";break;case "gmail":m= "gm";break;case "gac":m="ga";break;case "books":m="gb";break;case "docs":m="gd";break;case "duo":m="gu";break;case "google-live":m="gl";break;case "google-one":m="go";break;case "play":m="gp";break;case "chat":m="hc";break;case "hangouts-meet":m="hm";break;case "photos-edu":case "picasaweb":m="pw";break;default:m="yt"}this.Ja=m;this.authUser=Ax("",b?b.authorizedUserIndex:a.authuser);this.Ec=g.oI(this)&&(this.fb||!$na()||this.tb);var n;b?void 0!==b.disableWatchLater&&(n=!b.disableWatchLater):n=a.showwatchlater; this.Yl=((m=!this.Ec)||!!this.authUser&&m)&&xx(!this.oa,this.I?n:void 0);this.hj=b?b.isMobileDevice||!!b.disableKeyboardControls:xx(!1,a.disablekb);this.loop=xx(!1,a.loop);this.pageId=Ax("",b?b.initialDelegatedSessionId:a.pageid);this.Po=xx(!0,a.canplaylive);this.pc=xx(!1,a.livemonitor);this.disableSharing=xx(this.T,b?b.disableSharing:a.ss);(n=b&&this.K("fill_video_container_size_override_from_wpcc")?b.videoContainerOverride:a.video_container_override)?(m=n.split("x"),2!==m.length?n=null:(n=Number(m[0]), m=Number(m[1]),n=isNaN(n)||isNaN(m)||0>=n*m?null:new g.oe(n,m))):n=null;this.nm=n;this.mute=b?!!b.startMuted:xx(!1,a.mute);this.storeUserVolume=!this.mute&&xx("0"!==this.controlsType,b?b.storeUserVolume:a.store_user_volume);n=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy="3"===this.controlsType?3:yx(void 0,n,yI);this.captionsLanguagePreference=b?b.captionsLanguagePreference||"":Ax("",a.cc_lang_pref);n=yx(2,b?b.captionsLanguageLoadPolicy:a.cc_load_policy,yI);"3"===this.controlsType&& 2===n&&(n=3);this.Fb=n;this.Mh=b?b.hl||"en_US":Ax("en_US",a.hl);this.region=b?b.contentRegion||"US":Ax("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":Ax("en",a.host_language);this.Nn=!this.fb&&Math.random()Math.random();this.Pk=a.onesie_hot_config||(null==b?0:b.onesieHotConfig)?new cxa(a.onesie_hot_config,null==b?void 0:b.onesieHotConfig):void 0;this.isTectonic=b?!!b.isTectonic:!!a.isTectonic;this.playerCanaryState=c;this.vf=new jxa;g.D(this,this.vf);this.fm=xx(!1,a.force_gvi);this.datasyncId=(null==b?void 0:b.datasyncId)||g.tw("DATASYNC_ID");this.Wn=g.tw("LOGGED_IN",!1);this.Zi= (null==b?void 0:b.allowWoffleManagement)||!1;this.Zl=0;this.livingRoomPoTokenId=null==b?void 0:b.livingRoomPoTokenId;this.K("html5_high_res_logging_always")?this.xf=!0:this.xf=100*Math.random()<(g.rH(this.experiments,"html5_unrestricted_layer_high_res_logging_percent")||g.rH(this.experiments,"html5_high_res_logging_percent"));this.K("html5_ping_queue")&&(this.Qk=new BH);this.Xl=g.rH(this.experiments,"html5_defer_modules_delay_time_millis")}; g.FI=function(a){var b;if(null==(b=a.webPlayerContextConfig)||!b.embedsEnableLiteUx||a.fb||a.T)return"EMBEDDED_PLAYER_LITE_MODE_NONE";a=g.rH(a.experiments,"embeds_web_lite_mode");return void 0===a?"EMBEDDED_PLAYER_LITE_MODE_UNKNOWN":0<=a&&ax.width*x.height*x.fps)x=G}else r.push(G)}else l[E]="disdrmhfr";w.reduce(function(O, U){return U.rh().isEncrypted()&&O},!0)&&(q=p); e=Math.max(e,0);p=x||{};n=void 0===p.fps?0:p.fps;x=void 0===p.width?0:p.width;p=void 0===p.height?0:p.height;B=a.K("html5_native_audio_track_switching");w.push(Ixa(r,c,d,f,"93",x,p,n,m,"auto",e,q,z,B));Object.entries(l).length&&h(l);return bJ(a.D,w,GI(a,b))}; Ixa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,w){for(var x=0,z="",B=g.t(a),E=B.next();!E.done;E=B.next())E=E.value,z||(z=E.itag),E.audioChannels&&E.audioChannels>x&&(x=E.audioChannels,z=E.itag);e=new VF(e,"application/x-mpegURL",{audio:new PF(0,x),video:new RF(f,h,l,null,void 0,n,void 0,r),Qd:q,gV:z});a=new yxa(a,b,c?[c]:[],d,!!w);a.C=p?p:1369843;return new dJ(e,a,m)}; Fxa=function(a){a=g.t(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}; Hxa=function(a,b){for(var c=g.t(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[d][0];if(!e.width&&e.Qd===b.Qd&&!e.audioChannels)return d}return""}; Gxa=function(a){for(var b=new Set,c=g.t(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.t(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.t(c);for(e=b.next();!e.done;e=b.next())delete a[e.value]}; eJ=function(a,b){this.j=a;this.u=b}; Kxa=function(a,b,c,d){var e=[];c=g.t(c);for(var f=c.next();!f.done;f=c.next()){var h=f.value;if(h.url){f=new g.QD(h.url,!0);if(h.s){var l=h.sp,m=Vta(decodeURIComponent(h.s));f.set(l,encodeURIComponent(m))}l=g.t(Object.keys(d));for(m=l.next();!m.done;m=l.next())m=m.value,f.set(m,d[m]);h=lG(h.type,h.quality,h.itag,h.width,h.height);e.push(new eJ(h,f))}}return bJ(a.D,e,GI(a,b))}; fJ=function(a,b){this.j=a;this.u=b}; Lxa=function(a,b,c){var d=[];c=g.t(c);for(var e=c.next();!e.done;e=c.next())if((e=e.value)&&e.url){var f=lG(e.type,"medium","0");d.push(new fJ(f,e.url))}return bJ(a.D,d,GI(a,b))}; Mxa=function(a,b){var c=[],d=lG(b.type,"auto",b.itag);c.push(new fJ(d,b.url));return bJ(a.D,c,!1)}; Oxa=function(a){return a&&Nxa[a]?Nxa[a]:null}; Pxa=function(a){if(a=a.commonConfig)this.url=a.url,this.urlQueryOverride=a.urlQueryOverride,a.ustreamerConfig&&(this.eE=$H(a.ustreamerConfig)||void 0)}; Qxa=function(a,b){var c;if(b=null==b?void 0:null==(c=b.watchEndpointSupportedOnesieConfig)?void 0:c.html5PlaybackOnesieConfig)a.iW=new Pxa(b)}; g.gJ=function(a){a=void 0===a?{}:a;this.languageCode=a.languageCode||"";this.languageName=a.languageName||null;this.kind=a.kind||"";this.name=a.name||null;this.id=a.id||null;this.j=a.is_servable||!1;this.u=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.iJ=function(a){var b={languageCode:a.languageCode,languageName:a.languageName,displayName:g.hJ(a),kind:a.kind,name:a.name,id:a.id,is_servable:a.j,is_default:a.isDefault,is_translateable:a.u,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.jJ=function(a){return a.translationLanguage?a.translationLanguage.languageCode:a.languageCode}; g.hJ=function(a){var b=a.languageName||"",c=[b];"asr"===a.kind&&-1===b.indexOf("(")&&c.push(" (Automatic Captions)");a.name&&c.push(" - "+a.name);a.translationLanguage&&c.push(" >> "+a.translationLanguage.languageName);return c.join("")}; Uxa=function(a,b,c,d){a||(a=b&&Rxa.hasOwnProperty(b)&&Sxa.hasOwnProperty(b)?Sxa[b]+"_"+Rxa[b]:void 0);b=a;if(!b)return null;a=b.match(Txa);if(!a||5!==a.length)return null;if(a=b.match(Txa)){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}; kJ=function(a,b){for(var c={},d=g.t(Object.keys(Vxa)),e=d.next();!e.done;e=d.next()){e=e.value;var f=b?b+e:e;f=a[f+"_webp"]||a[f];g.hC(f)&&(c[Vxa[e]]=f)}return c}; lJ=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.t(Object.keys(Wxa)),d=c.next();!d.done;d=c.next()){var e=Number(d.value);d=Wxa[e];for(var f=g.t(a),h=f.next();!h.done;h=f.next())if(h=h.value,h.width>=e){e=Xxa(h.url);g.hC(e)&&(b[d]=e);break}}(a=a.pop())&&1280<=a.width&&(a=Xxa(a.url),g.hC(a)&&(b["maxresdefault.jpg"]=a));return b}; Xxa=function(a){return a.startsWith("//")?"https:"+a:a}; mJ=function(a){return a&&a.baseUrl||""}; nJ=function(a){a=g.Hw(a);for(var b=g.t(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}; Yxa=function(a,b){a.botguardData=b.playerAttestationRenderer.botguardData;b=b.playerAttestationRenderer.challenge;null!=b&&(a.qk=b)}; $xa=function(a,b){a.captionTracks=[];if(b.captionTracks)for(var c=g.t(b.captionTracks),d=c.next();!d.done;d=c.next()){d=d.value;var e=Zxa(d.baseUrl);if(!e)return;d=new g.gJ({is_translateable:!!d.isTranslatable,languageCode:d.languageCode,languageName:d.name&&g.uC(d.name),url:e,vss_id:d.vssId,kind:d.kind});a.captionTracks.push(d)}a.rK=b.audioTracks||[];a.iS=b.defaultAudioTrackIndex||0;a.sK=b.translationLanguages?g.vh(b.translationLanguages,function(f){return{languageCode:f.languageCode,languageName:g.uC(f.languageName)}}): []; a.MW=[];if(b.recommendedTranslationTargetIndices)for(c=g.t(b.recommendedTranslationTargetIndices),d=c.next();!d.done;d=c.next())a.MW.push(d.value);a.WE=!!b.contribute&&!!b.contribute.captionsMetadataRenderer}; cya=function(a,b){b=g.t(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.interstitials.map(function(h){var l=g.K(h,aya);if(l)return{is_yto_interstitial:!0,raw_player_response:l};if(h=g.K(h,bya))return Object.assign({is_yto_interstitial:!0},Fw(h))}); d=g.t(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,Fn:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":a.interstitials=a.interstitials.concat({time:0x7ffffffffffff,playerVars:e,Fn: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, Fn:0===f?5:7})}}}; dya=function(a,b){if(b=b.find(function(c){return!(!c||!c.tooltipRenderer)}))a.tooltipRenderer=b.tooltipRenderer}; eya=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)}; oJ=function(){var a=fya;var b=void 0===b?[]:b;var c=void 0===c?[]:c;b=dma.apply(null,[ema.apply(null,g.u(b))].concat(g.u(c)));this.store=gma(a,void 0,b)}; g.pJ=function(a,b,c){for(var d=Object.assign({},a),e=g.t(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.u(h),g.u(l)):l;else if(!Array.isArray(l)&&g.Ja(l)&&!Array.isArray(h)&&g.Ja(h))d[f]=g.pJ(h,l,c);else if(typeof l===typeof h)d[f]=l;else return b=new g.Sx("Attempted to merge fields of differing types.",{name:"DeepMergeError",key:f,V6a:h,updateValue:l}),g.PB(b), a}return d}; qJ=function(a){this.j=a;this.pos=0;this.u=-1}; rJ=function(a){var b=dE(a.j,a.pos);++a.pos;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=dE(a.j,a.pos),++a.pos,d*=128,c+=(b&127)*d;return c}; sJ=function(a,b){var c=a.u;for(a.u=-1;a.pos+1<=a.j.totalLength;){0>c&&(c=rJ(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.u=c;break}c=-1;switch(e){case 0:rJ(a);break;case 1:a.pos+=8;break;case 2:d=rJ(a);a.pos+=d;break;case 5:a.pos+=4}}return!1}; tJ=function(a,b){if(sJ(a,b))return rJ(a)}; uJ=function(a,b){if(sJ(a,b))return!!rJ(a)}; vJ=function(a,b){if(sJ(a,b)){b=rJ(a);var c=cE(a.j,a.pos,b);a.pos+=b;return c}}; wJ=function(a,b){if(a=vJ(a,b))return g.iE(a)}; xJ=function(a,b,c){if(a=vJ(a,b))return c(new qJ(new YD([a])))}; gya=function(a,b,c){for(var d=[],e;e=vJ(a,b);)d.push(c(new qJ(new YD([e]))));return d.length?d:void 0}; yJ=function(a,b){a=a instanceof Uint8Array?new YD([a]):a;return b(new qJ(a))}; hya=function(a,b){a=void 0===a?4096:a;this.u=b;this.pos=0;this.B=[];b=void 0;if(this.u)try{var c=this.u.exports.malloc(a);b=new Uint8Array(this.u.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)}; zJ=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(zJ(a,4);127>=7,a.pos+=1;a.view.setUint8(a.pos,b);a.pos+=1}; BJ=function(a,b,c){void 0!==c&&(AJ(a,b<<3|0),AJ(a,c))}; CJ=function(a,b,c){void 0!==c&&BJ(a,b,c?1:0)}; DJ=function(a,b,c){void 0!==c&&(AJ(a,b<<3|2),b=c.length,AJ(a,b),zJ(a,b),a.j.set(c,a.pos),a.pos+=b)}; EJ=function(a,b,c){void 0!==c&&(iya(a,b,Math.ceil(Math.log2(4*c.length+2)/7)),zJ(a,1.2*c.length),b=kE(c,a.j.subarray(a.pos)),a.pos+b>a.j.length&&(zJ(a,b),b=kE(c,a.j.subarray(a.pos))),a.pos+=b,jya(a))}; iya=function(a,b,c){c=void 0===c?2:c;AJ(a,b<<3|2);a.B.push(a.pos);a.B.push(c);a.pos+=c}; jya=function(a){for(var b=a.B.pop(),c=a.B.pop(),d=a.pos-c-b;b--;){var e=b?128:0;a.view.setUint8(c++,d&127|e);d>>=7}}; FJ=function(a,b,c,d,e){c&&(iya(a,b,void 0===e?3:e),d(a,c),jya(a))}; kya=function(a){a.u&&a.j.buffer!==a.u.exports.memory.buffer&&(a.j=new Uint8Array(a.u.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.GJ=function(a,b,c){c=new hya(4096,c);b(c,a);return kya(c)}; g.HJ=function(a){var b=new qJ(new YD([Hf(decodeURIComponent(a))]));a=wJ(b,2);b=tJ(b,4);var c=lya[b];if("undefined"===typeof c)throw a=new g.Sx("Failed to recognize field number",{name:"EntityKeyHelperError",R5a:b}),g.PB(a),a;return{o2:b,entityType:c,entityId:a}}; g.IJ=function(a,b){var c=new hya;DJ(c,2,iua(a));a=mya[b];if("undefined"===typeof a)throw b=new g.Sx("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:b}),g.PB(b),b;BJ(c,4,a);BJ(c,5,1);b=kya(c);return encodeURIComponent(g.Ff(b))}; JJ=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))}; nya=function(a,b,c,d,e){var f=a[b];if(null==f||!f[c])return a;d=g.pJ(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))}; oya=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.PB(Error("Missing entity key")),d;if("ENTITY_MUTATION_TYPE_REPLACE"===e.type){if(!e.payload)return g.PB(new g.Sx("REPLACE entity mutation is missing a payload",{entityKey:e.entityKey})),d;var l=g.Jc(e.payload); return JJ(d,l,e.entityKey,e.payload[l])}if("ENTITY_MUTATION_TYPE_DELETE"===e.type){e=e.entityKey;try{var m=g.HJ(e).entityType;l=JJ(d,m,e)}catch(q){if(q instanceof Error)g.PB(new g.Sx("Failed to deserialize entity key",{entityKey:e,KN:q.message})),l=d;else throw q;}return l}if("ENTITY_MUTATION_TYPE_UPDATE"===e.type){if(!e.payload)return g.PB(new g.Sx("UPDATE entity mutation is missing a payload",{entityKey:e.entityKey})),d;l=g.Jc(e.payload);var n,p;return nya(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 JJ(a,c.entityType,c.key,c.n2);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 JJ(h,e,l,f[l])},d)},a); case "UPDATE_ENTITY":return c=b.payload,nya(a,c.entityType,c.key,c.n2,c.Q6a);default:return a}}; KJ=function(a,b,c){return a[b]?a[b][c]||null:null}; LJ=function(a,b){this.type=a||"";this.id=b||""}; g.MJ=function(a){return new LJ(a.substr(0,2),a.substr(2))}; g.NJ=function(a,b){this.u=a;this.author="";this.iB=null;this.playlistLength=0;this.j=this.sessionData=null;this.ea={};this.title="";if(b){this.author=b.author||b.playlist_author||"";this.title=b.playlist_title||"";if(a=b.session_data)this.sessionData=Dw(a,"&");var c;this.j=(null==(c=b.thumbnail_ids)?void 0:c.split(",")[0])||null;this.ea=kJ(b,"playlist_");this.videoId=b.video_id||void 0;if(c=b.list)switch(b.listType){case "user_uploads":this.playlistId=(new LJ("UU","PLAYER_"+c)).toString();break;default:if(a= b.playlist_length)this.playlistLength=Number(a)||0;this.playlistId=g.MJ(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.OJ=function(a,b){this.j=a;this.Ar=this.author="";this.iB=null;this.isUpcoming=this.isLivePlayback=!1;this.lengthSeconds=0;this.hv=this.lengthText="";this.sessionData=null;this.ea={};this.title="";if(b){this.ariaLabel=b.aria_label||void 0;this.author=b.author||"";this.Ar=b.Ar||"";if(a=b.endscreen_autoplay_session_data)this.iB=Dw(a,"&");this.jB=b.jB;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.hv=b.hv||"";this.publishedTimeText=b.publishedTimeText||void 0;if(a=b.session_data)this.sessionData=Dw(a,"&");this.shortViewCount=b.short_view_count_text||void 0;this.ea=kJ(b);this.title=b.title||"";this.videoId=b.docid||b.video_id||b.videoId||b.id||void 0;this.watchUrl=b.watchUrl||void 0}}; pya=function(a){var b,c,d=null==(b=a.jd)?void 0:null==(c=b.contents)?void 0:c.twoColumnWatchNextResults,e,f,h,l,m;a=null==(e=a.jd)?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.QJ=function(a){var b,c,d;a=g.K(null==(b=a.jd)?void 0:null==(c=b.playerOverlays)?void 0:null==(d=c.playerOverlayRenderer)?void 0:d.decoratedPlayerBarRenderer,PJ);return g.K(null==a?void 0:a.playerBar,qya)}; rya=function(a){this.j=a.playback_progress_0s_url;this.B=a.playback_progress_2s_url;this.u=a.playback_progress_10s_url}; tya=function(a,b){var c=g.Ga("ytDebugData.callbacks");c||(c={},g.Fa("ytDebugData.callbacks",c));if(g.vw("web_dd_iu")||sya.includes(a))c[a]=b}; RJ=function(a){this.j=new Xo(a)}; uya=function(){if(void 0===SJ){try{window.localStorage.removeItem("yt-player-lv")}catch(b){}a:{try{var a=!!self.localStorage}catch(b){a=!1}if(a&&(a=g.mp(g.Tx()+"::yt-player"))){SJ=new RJ(a);break a}SJ=void 0}}return SJ}; g.TJ=function(){var a=uya();if(!a)return{};try{var b=a.get("yt-player-lv");return JSON.parse(b||"{}")}catch(c){return{}}}; g.vya=function(a){var b=uya();b&&(a=JSON.stringify(a),b.set("yt-player-lv",a))}; g.UJ=function(a){return g.TJ()[a]||0}; g.VJ=function(a,b){var c=g.TJ();b!==c[a]&&(0!==b?c[a]=b:delete c[a],g.vya(c))}; g.WJ=function(a){return g.A(function(b){return b.return(g.Oy(wya(),a))})}; YJ=function(a,b,c,d,e,f,h,l){var m,n,p,q,r,w;return g.A(function(x){switch(x.j){case 1:return m=g.UJ(a),4===m?x.return(4):g.y(x,g.Wy(),2);case 2:n=x.u;if(!n)throw g.ty("wiac");if(!l||void 0===h){x.Ka(3);break}return g.y(x,xya(l,h),4);case 4:h=x.u;case 3:return p=c.lastModified||"0",g.y(x,g.WJ(n),5);case 5:return q=x.u,g.ra(x,6),XJ++,g.y(x,g.Ey(q,["index","media"],{mode:"readwrite",tag:"IDB_TRANSACTION_TAG_WIAC",Ub:!0},function(z){if(void 0!==f&&void 0!==h){var B=""+a+"|"+b.id+"|"+p+"|"+String(f).padStart(10, "0");B=g.Fy(z.objectStore("media"),h,B)}else B=g.vy.resolve(void 0);var E=yya(a,b.Sg()),G=yya(a,!b.Sg()),F={fmts:zya(d),format:c||{}};E=g.Fy(z.objectStore("index"),F,E);var L=-1===d.downloadedEndTime;F=L?z.objectStore("index").get(G):g.vy.resolve(void 0);var O={fmts:"music",format:{}};z=L&&e&&!b.Sg()?g.Fy(z.objectStore("index"),O,G):g.vy.resolve(void 0);return g.vy.all([z,F,B,E]).then(function(U){U=g.t(U);U.next();U=U.next().value;XJ--;var ba=g.UJ(a);if(4!==ba&&L&&e||void 0!==U&&g.Aya(U.fmts))ba= 1,g.VJ(a,ba);return ba})}),8); case 8:return x.return(x.u);case 6:r=g.ta(x);XJ--;w=g.UJ(a);if(4===w)return x.return(w);g.VJ(a,4);throw r;}})}; g.Bya=function(a){var b,c;return g.A(function(d){if(1==d.j)return g.y(d,g.Wy(),2);if(3!=d.j){b=d.u;if(!b)throw g.ty("ri");return g.y(d,g.WJ(b),3)}c=d.u;return d.return(g.Ey(c,["index"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRI"},function(e){var f=IDBKeyRange.bound(a+"|",a+"~");return e.objectStore("index").getAll(f).then(function(h){return h.map(function(l){return l?l.format:{}})})}))})}; Eya=function(a,b,c,d,e){var f,h,l;return g.A(function(m){if(1==m.j)return g.y(m,g.Wy(),2);if(3!=m.j){f=m.u;if(!f)throw g.ty("rc");return g.y(m,g.WJ(f),3)}h=m.u;l=g.Ey(h,["media"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRM",Ub:Cya},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 Dya(e,n)}).catch(function(n){throw new g.Sx("Error while reading chunk: "+n.name+", "+n.message); })):m.return(l)})}; g.Aya=function(a){return a?"music"===a?!0:a.includes("dlt=-1")||!a.includes("dlt="):!1}; yya=function(a,b){return""+a+"|"+(b?"v":"a")}; zya=function(a){var b={};return Ew((b.dlt=a.downloadedEndTime.toString(),b.mket=a.maxKnownEndTime.toString(),b.avbr=a.averageByteRate.toString(),b))}; Gya=function(a){var b={},c={};a=g.t(a);for(var d=a.next();!d.done;d=a.next()){var e=d.value,f=e.split("|");e.match(g.Fya)?(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.t(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}; ZJ=function(a){g.rC.call(this);this.j=null;this.B=new Fla;this.j=null;this.I=new Set;this.crossOrigin=a||""}; Hya=function(a,b,c){for(c=$J(a,c);0<=c;){var d=a.levels[c];if(d.isLoaded(aK(d,b))&&(d=g.bK(d,b)))return d;c--}return g.bK(a.levels[0],b)}; FAa=function(a,b,c){c=$J(a,c);for(var d,e;0<=c;c--)if(d=a.levels[c],e=aK(d,b),!d.isLoaded(e)){d=a;var f=c,h=f+"-"+e;d.I.has(h)||(d.I.add(h),d.B.Sh(f,{MU:f,eV:e}))}EAa(a)}; EAa=function(a){if(!a.j&&!a.B.Cf()){var b=a.B.remove();a.j=JAa(a,b)}}; JAa=function(a,b){var c=document.createElement("img");a.crossOrigin&&(c.crossOrigin=a.crossOrigin);c.src=a.levels[b.MU].We(b.eV);c.onload=function(){var d=b.MU,e=b.eV;null!==a.j&&(a.j.onload=null,a.j=null);d=a.levels[d];d.loaded.add(e);EAa(a);var f=d.columns*d.rows;e*=f;d=Math.min(e+f-1,d.zE()-1);e=[e,d];a.ma("l",e[0],e[1])}; return c}; g.cK=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.B=a[6];this.C=a[7];this.videoLength=d}; aK=function(a,b){return Math.floor(b/(a.columns*a.rows))}; g.bK=function(a,b){b>=a.jJ()&&a.Uw();var c=aK(a,b),d=a.columns*a.rows,e=b%d;b=e%a.columns;e=Math.floor(e/a.columns);var f=a.Uw()+1-d*c;if(f=b)return a.C.set(b,d),d;a.C.set(b,c-1);return c-1}; eK=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.cK.call(this,a,b,c,0);this.u=null;this.I=d?2:0}; fK=function(a,b,c,d){dK.call(this,a,0,void 0,b,!(void 0===d||!d));for(a=0;alK?!1:!0,a.isLivePlayback=!0;else if(Wd.isLive){N7.livestream="1";a.allowLiveDvr=Wd.isLiveDvrEnabled?zH()?!0:px&&5>lK?!1:!0:!1;a.Fa=27;Wd.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);var rza=Wd.latencyClass;rza&&(a.latencyClass= tBa[rza]||"UNKNOWN");var sza=Wd.liveChunkReadahead;sza&&(a.liveChunkReadahead=sza);var gz=qza&&qza.livePlayerConfig;if(gz){gz.hasSubfragmentedFmp4&&(a.hasSubfragmentedFmp4=!0);gz.hasSubfragmentedWebm&&(a.Oo=!0);gz.defraggedFromSubfragments&&(a.defraggedFromSubfragments=!0);var tza=gz.liveExperimentalContentId;tza&&(a.liveExperimentalContentId=Number(tza));var uza=gz.isLiveHeadPlayable;a.K("html5_live_head_playable")&&null!=uza&&(a.isLiveHeadPlayable=uza)}O7=!0}else Wd.isUpcoming&&(O7=!0);O7&&(a.isLivePlayback= !0,N7.adformat&&"8"!==N7.adformat.split("_")[1]||a.Ja.push("heartbeat"),a.Wo=!0)}var vza=Wd.isPrivate;void 0!==vza&&(a.isPrivate=xx(a.isPrivate,vza))}if(pa){var wza=Wd||null,xza=!1,hz=pa.errorScreen;xza=hz&&(hz.playerLegacyDesktopYpcOfferRenderer||hz.playerLegacyDesktopYpcTrailerRenderer||hz.ypcTrailerRenderer)?!0:wza&&wza.isUpcoming?!0:["OK","LIVE_STREAM_OFFLINE","FULLSCREEN_ONLY"].includes(pa.status);if(!xza){a.errorCode=Oxa(pa.errorCode)||"auth";var AQ=hz&&hz.playerErrorMessageRenderer;if(AQ){a.playerErrorMessageRenderer= AQ;var yza=AQ.reason;yza&&(a.errorReason=g.uC(yza));var P7=AQ.subreason;P7&&(a.Bm=g.uC(P7),a.ax=P7)}else a.errorReason=pa.reason||null;var Q7=pa.status;if("LOGIN_REQUIRED"===Q7)a.errorDetail="1";else if("CONTENT_CHECK_REQUIRED"===Q7)a.errorDetail="2";else if("AGE_CHECK_REQUIRED"===Q7){var zza=pa.errorScreen,Aza=zza&&zza.playerKavRenderer;a.errorDetail=Aza&&Aza.kavUrl?"4":"3"}else a.errorDetail=pa.isBlockedInRestrictedMode?"5":"0"}}var Bza=a.playerResponse.interstitialPods;Bza&&cya(a,Bza);a.Ta&&a.eventId&& (a.Ta=Jw(a.Ta,{ei:a.eventId}));var R7=a.playerResponse.captions;R7&&R7.playerCaptionsTracklistRenderer&&$xa(a,R7.playerCaptionsTracklistRenderer);a.clipConfig=a.playerResponse.clipConfig;a.clipConfig&&null!=a.clipConfig.startTimeMs&&(a.PJ=.001*Number(a.clipConfig.startTimeMs));a.playerResponse&&a.playerResponse.playerConfig&&a.playerResponse.playerConfig.webPlayerConfig&&a.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting&&eya(a,a.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting)}jBa(a, b);b.queue_info&&(a.queueInfo=b.queue_info);var Cza=b.hlsdvr;null!=Cza&&(a.allowLiveDvr="1"==Cza?zH()?!0:px&&5>lK?!1:!0:!1);a.adQueryId=b.ad_query_id||null;a.Aw||(a.Aw=b.encoded_ad_safety_reason||null);a.bQ=b.agcid||null;a.rP=b.ad_id||null;a.IP=b.ad_sys||null;a.KI=b.encoded_ad_playback_context||null;a.Wk=xx(a.Wk,b.infringe||b.muted);a.pR=b.authkey;a.authUser=b.authuser;a.mutedAutoplay=xx(a.mutedAutoplay,b&&b.playmuted)&&a.K("embeds_enable_muted_autoplay");var BQ=b.length_seconds;BQ&&(a.lengthSeconds= "string"===typeof BQ?we(BQ):BQ);var Dza=!a.isAd()&&!a.al&&g.Ex(g.FI(a.B));if(Dza){var CQ=a.lengthSeconds;switch(g.FI(a.B)){case "EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT":30CQ&&10c&&(EG()||d.K("html5_format_hybridization"))&&(q.u.supportsChangeType=+EG(),q.C=c);2160<=c&&(q.Ja=!0);qwa()&&(q.u.serveVp9OverAv1IfHigherRes= 0,q.Qc=!1);q.bK=m;q.fb=g.Sy||tx()&&!m?!1:!0;q.oa=d.K("html5_format_hybridization");q.ac=d.K("html5_disable_encrypted_vp9_live_non_2k_4k");kx()&&a.playerResponse&&a.playerResponse.playerConfig&&a.playerResponse.playerConfig.webPlayerConfig&&a.playerResponse.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(q.I=!0,q.J=!0);a.fb&&a.isAd()&&(a.fA&&(q.Aa=a.fA),a.eA&&(q.D=a.eA));q.Za=a.isLivePlayback&&a.Kl()&&a.B.K("html5_drm_live_audio_51");q.pc=a.BI;return a.Yl=q}; LBa=function(a){rD("drm_pb_s",void 0,a.Ra);a.Za||a.j&&GD(a.j);var b={};a.j&&(b=Kta(a.Hw,DK(a),a.B.D,a.j,function(c){return a.ma("ctmp","fmtflt",c)},!0)); b=new uH(b,a.B,a.aQ,KBa(a),function(c,d){a.xa(c,d)}); g.D(a,b);a.Nn=!1;a.Ma=!0;vwa(b,function(c){rD("drm_pb_f",void 0,a.Ra);for(var d=g.t(c),e=d.next();!e.done;e=d.next())switch(e=e.value,e.flavor){case "fairplay":e.Za=a.Za;e.Zw=a.Zw;e.Yw=a.Yw;break;case "widevine":e.ol=a.ol}a.Qn=c;if(0p&&(p=w.rh().audio.numChannels)}2=a.C.videoInfos.length)&&(b=gG(a.C.videoInfos[0]),b!=("fairplay"==a.J.flavor)))for(c=g.t(a.Qn),d=c.next();!d.done;d=c.next())if(d=d.value,b==("fairplay"==d.flavor)){a.J=d;break}}; HK=function(a,b){a.Hd=b;VBa(a,new BD(g.vh(a.Hd,function(c){return c.rh()})))}; WBa=function(a){var b={cpn:a.clientPlaybackNonce,c:a.B.j.c,cver:a.B.j.cver};a.ix&&(b.ptk=a.ix,b.oid=a.NU,b.ptchn=a.EU,b.pltype=a.dV,a.Jw&&(b.m=a.Jw));return b}; g.IK=function(a){return mK(a)&&a.Za?(a={},a.fairplay="https://web.archive.org/web/20230406005043/https://youtube.com/api/drm/fps?ek=uninitialized",a):a.u&&a.u.Qd||null}; XBa=function(a){var b=a.playerResponse&&a.playerResponse.paidContentOverlay&&a.playerResponse.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.uC(b.text):a.paidContentOverlayText}; JK=function(a){var b=a.playerResponse&&a.playerResponse.paidContentOverlay&&a.playerResponse.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?we(b.durationMs):a.paidContentOverlayDurationMs}; KK=function(a){var b="";if(a.JJ)return a.JJ;a.isLivePlayback&&(b=a.allowLiveDvr?"dvr":a.isPremiere?"lp":a.wd?"window":"live");a.Qe&&(b="post");return b}; g.LK=function(a,b){return"string"!==typeof a.keywords[b]?null:a.keywords[b]}; YBa=function(a){return!!a.eh||!!a.hL||!!a.kx||!!a.lx||a.FR||a.Y.focEnabled||a.Y.rmktEnabled}; MK=function(a){return!!(a.Fb||a.wf||a.jl||a.hlsvp||a.Su())}; iK=function(a){if(a.K("html5_onesie")&&a.errorCode)return!1;var b=g.nb(a.Ja,"ypc");a.ypcPreview&&(b=!1);return a.Ee()&&!a.Ma&&(MK(a)||g.nb(a.Ja,"heartbeat")||b)}; oK=function(a,b){a=Gw(a);var c={};if(b){b=g.t(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.t(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}; CBa=function(a,b){a.K("embeds_web_enable_video_data_refactoring_player_overlay_renderer")||(a.showShareButton=!!b);var c,d,e=(null==(c=g.K(b,g.uK))?void 0:c.navigationEndpoint)||(null==(d=g.K(b,g.uK))?void 0:d.command);e&&(a.Wn=!!g.K(e,ZBa))}; iBa=function(a,b){var c=b.raw_embedded_player_response;if(!c){var d=b.embedded_player_response;d&&(c=JSON.parse(d))}c&&(a.kf=c);if(a.kf){a.embeddedPlayerConfig=a.kf.embeddedPlayerConfig||null;if(c=a.kf.videoFlags)c.playableInEmbed&&(a.allowEmbed=!0),c.isPrivate&&(a.isPrivate=!0),c.userDisplayName&&(b.user_display_name=c.userDisplayName),c.userDisplayImage&&(b.user_display_image=c.userDisplayImage);if(c=a.kf.embedPreview){c=c.thumbnailPreviewRenderer;d=c.controlBgHtml;a.K("embeds_web_enable_video_data_refactoring_embedded_player_response")|| (null!=d?(a.Xc=d,a.D=!0):(a.Xc="",a.D=!1));if(d=c.defaultThumbnail)a.ea=lJ(d),a.sampledThumbnailColor=d.sampledThumbnailColor;(d=g.K(null==c?void 0:c.videoDetails,$Ba))&&GBa(a,b,d);d=g.K(null==c?void 0:c.videoDetails,g.aCa);a.K("embeds_web_enable_video_data_refactoring_offline_and_progress_bar")||(a.Pk=!!c.addToWatchLaterButton);CBa(a,c.shareButton);if(null==d?0:d.musicVideoType)a.musicVideoType=d.musicVideoType;var e,f,h,l,m;if(d=g.K(null==(e=a.kf)?void 0:null==(f=e.embedPreview)?void 0:null==(h= f.thumbnailPreviewRenderer)?void 0:null==(l=h.playButton)?void 0:null==(m=l.buttonRenderer)?void 0:m.navigationEndpoint,g.wK))Qxa(a,d),a.videoId=d.videoId||a.videoId;c.videoDurationSeconds&&(a.lengthSeconds=we(c.videoDurationSeconds));c.webPlayerActionsPorting&&eya(a,c.webPlayerActionsPorting);if(e=g.K(null==c?void 0:c.playlist,bCa)){a.al=!0;f=[];h=Number(e.currentIndex);if(e.contents)for(l=0,m=e.contents.length;l(b?parseInt(b[1],10):NaN);c=a.B;c=("TVHTML5_CAST"===g.wH(c)||"TVHTML5"===g.wH(c)&&(c.j.cver.startsWith("6.20130725")||c.j.cver.startsWith("6.20130726")))&&"MUSIC"===a.B.j.ctheme;var d;if(d=!a.hj)c||(c=a.B,c="TVHTML5"===g.wH(c)&&c.j.cver.startsWith("7")), d=c;d&&!b&&(b="MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"===a.musicVideoType,c=(a.K("cast_prefer_audio_only_for_atv_and_uploads")||a.K("kabuki_pangea_prefer_audio_only_for_atv_and_uploads"))&&"MUSIC_VIDEO_TYPE_ATV"===a.musicVideoType,b||c)&&(a.hj=!0);return a.B.deviceIsAudioOnly||a.hj&&a.B.I}; kCa=function(a){return isNaN(a)?0:Math.max((Date.now()-a)/1E3-30,0)}; dL=function(a){return!(!a.mm||!a.B.I)&&a.Su()}; lCa=function(a){return a.enablePreroll&&a.enableServerStitchedDai}; eL=function(a){if(a.BR||a.cotn||!a.j||a.j.isOtf)return!1;if(a.K("html5_use_sabr_requests_for_debugging"))return!0;var b=!a.j.md&&!a.Kl(),c=b&&FK&&a.K("html5_enable_sabr_vod_streaming_xhr");b=b&&!FK&&a.K("html5_enable_sabr_vod_non_streaming_xhr");(c=c||b)&&!a.nx&&a.xa("sabr",{loc:"m"});return c&&!!a.nx}; vBa=function(a){var b;if(b=!!a.cotn)b=a.videoId,b=!!b&&1===g.UJ(b);return b&&!a.mm}; g.fL=function(a){if(!a.j||!a.u||!a.I)return!1;var b=a.j.j;return!!b[a.u.id]&&TD(b[a.u.id].u.j)&&!!b[a.I.id]&&TD(b[a.I.id].u.j)}; gL=function(a){return a.jx?["OK","LIVE_STREAM_OFFLINE"].includes(a.jx.status):!0}; cCa=function(a){return(a=a.nm)&&a.showError?a.showError:!1}; nK=function(a,b){return a.K(b)?!0:(a.fflags||"").includes(b+"=true")}; mCa=function(a){return(a=/html5_log_experiment_id_from_player_response_to_ctmp=([0-9]+)/.exec(a.fflags))?a[1]:null}; nBa=function(a,b){b.inlineMetricEnabled&&(a.inlineMetricEnabled=!0);b.playback_progress_0s_url&&(a.lx=new rya(b));if(b=b.video_masthead_ad_quartile_urls)a.hL=b.quartile_0_url,a.EX=b.quartile_25_url,a.UX=b.quartile_50_url,a.qY=b.quartile_75_url,a.lX=b.quartile_100_url,a.kx=b.quartile_0_urls,a.sM=b.quartile_25_urls,a.BM=b.quartile_50_urls,a.HM=b.quartile_75_urls,a.rM=b.quartile_100_urls}; mBa=function(a){var b={};a=g.t(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}; Zxa=function(a){if(a){if(Gsa(a))return a;a=Hsa(a);if(Gsa(a,!0))return a}return""}; g.nCa=function(a){return a.captionsLanguagePreference||a.B.captionsLanguagePreference||g.LK(a,"yt:cc_default_lang")||a.B.Mh}; hL=function(a){return!(!a.isLivePlayback||!a.hasProgressBarBoundaries())}; g.yK=function(a){var b;return a.Dw||(null==(b=a.suggestions)?void 0:b[0])||null}; iL=function(a,b){this.j=a;this.ea=b||{};this.I=String(Math.floor(1E9*Math.random()));this.D={};this.Y=this.T=0}; oCa=function(a){return jL(a)&&1==a.getPlayerState(2)}; jL=function(a){a=a.Nc();return void 0!==a&&2==a.getPlayerType()}; kL=function(a){a=a.V();return BI(a)&&!g.OI(a)&&"desktop-polymer"==a.playerStyle}; lL=function(a,b){var c=a.V();g.tI(c)||"3"!=c.controlsType||a.ib().ED(b)}; nL=function(a,b,c,d,e,f){c=void 0===c?{}:c;this.componentType=a;this.renderer=void 0===b?null:b;this.macros=c;this.layoutId=d;this.interactionLoggingClientData=e;this.j=f;this.id=mL(a)}; mL=function(a){return a+(":"+(pp.getInstance().j++).toString(36))}; oL=function(a){this.Z=a}; pCa=function(a,b){if(0===b||1===b&&(a.Z.u&&g.ry?0:a.Z.u||g.OI(a.Z)||g.CI(a.Z)||DI(a.Z)||!g.ry))return!0;a=g.He("video-ads");return null!=a&&"none"!==Ml(a,"display")}; qCa=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}}; pL=function(){g.rC.call(this);var a=this;this.j={};g.ab(this,function(){for(var b=g.t(Object.keys(a.j)),c=b.next();!c.done;c=b.next())delete a.j[c.value]})}; rL=function(){if(null===qL){qL=new pL;bl(fo).u="b";var a=bl(fo),b="h"==Yn(a)||"b"==Yn(a),c=!(gl(),!1);b&&c&&(a.D=!0,a.I=new Ija)}return qL}; rCa=function(a,b,c){a.j[b]=c}; sCa=function(){}; sL=function(a,b,c){this.j=a;this.D=b;this.B=c;this.u=b.length;this.adBreakLengthSeconds=b.reduce(function(d,e){return d+e},0); c=0;for(a+=1;ad?a:a.slice(0,d)))if(c&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:g.TC()},b)),f){var f=parseInt(f,10);isFinite(f)&&0=c*a.j.II||d)&&TL(a,"first_quartile");(b>=c*a.j.GJ||d)&&TL(a,"midpoint");(b>=c*a.j.IJ||d)&&TL(a,"third_quartile")}; PCa=function(a,b,c,d){d=void 0===d?!1:d;(b>=c*a.j.II||d)&&TL(a,"unmuted_first_quartile");(b>=c*a.j.GJ||d)&&TL(a,"unmuted_midpoint");(b>=c*a.j.IJ||d)&&TL(a,"unmuted_third_quartile")}; XL=function(a,b,c,d){if(null==a.B){if(cd||d>c)return;TL(a,b)}; MCa=function(a,b,c){if(0m.D&&m.Hi()}}; YCa=function(a,b){if(a.I&&a.Y){a.Y=!1;var c=a.u.j;if(nM(c)){var d=c.slot;c=c.layout;b=WCa(b);a=g.t(a.I.listeners);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=d,h=c,l=b;qM(e.j(),f,h,l);XCa(e.j(),f)}}else g.QB(Error("adMessageRenderer is not augmented on termination"))}}; WCa=function(a){switch(a){case "adabandonedreset":return"user_cancelled";case "adended":return"normal";case "aderror":return"error";case void 0:return g.QB(Error("AdNotify abandoned")),"abandoned";default:return g.QB(Error("Unexpected eventType for adNotify exit")),"abandoned"}}; g.rM=function(a,b,c){void 0===c?delete a[b.name]:a[b.name]=c}; g.sM=function(a,b){for(var c={},d=g.t(Object.keys(b)),e=d.next();!e.done;c={tI:c.tI},e=d.next())e=e.value,c.tI=b[e],a=a.replace(new RegExp("\\$"+e,"gi"),function(f){return function(){return f.tI}}(c)); return a}; tM=function(a,b,c,d){this.j=a;this.C=b;this.u=IL(c);this.B=d}; ZCa=function(a){for(var b={},c=g.t(Object.keys(a.u)),d=c.next();!d.done;d=c.next())d=d.value,b[d]=a.u[d].toString();return Object.assign(b,a.C)}; $Ca=function(a,b,c,d){new tM(a,b,c,d)}; uM=function(a,b,c,d,e,f,h,l,m){fM.call(this,a,b,c,d,e,1);var n=this;this.hG=!0;this.I=m;this.u=b;this.C=f;this.Y=new kB(this);g.D(this,this.Y);this.D=new g.qo(function(){n.Lo("load_timeout")},1E4); g.D(this,this.D);this.T=h}; aDa=function(a){if(a.T&&(a.F.V().experiments.qb("enable_topsoil_wta_for_halftime")||a.F.V().experiments.qb("enable_topsoil_wta_for_halftime_live_infra"))){var b=a.u.B,c=b.C,d=b.B,e=b.j;b=b.D;if(void 0===c)g.PB(Error("Expected ad break start time when a DAI ad starts"));else if(void 0===d)g.PB(Error("Expected ad break end time when a DAI ad starts"));else return e=b.slice(0,e).reduce(function(f,h){return f+h},0),Math.min(Math.max((d-c)/1E3-e,0),a.u.u)}}; xM=function(a,b){if(null!==a.I){var c=bDa(a);a=g.t(a.I.listeners);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=c;var f=b,h=!1;d.j||"aderror"!==f||(cDa(d,e,[],!1),dDa(d.B(),d.u),eDa(d.B(),d.u),fDa(d.B(),d.u),h=!0);if(d.j&&d.j.layoutId===e){switch(f){case "adabandoned":e="abandoned";break;case "aderror":e="error";break;default:e="normal"}qM(d.B(),d.u,d.j,e);if(h){e=d.B();h=d.u;vM(e.Qb,"ADS_CLIENT_EVENT_TYPE_SLOT_UNSCHEDULED",h);e=g.t(e.Id);for(f=e.next();!f.done;f=e.next())f.value.Rj(h);XCa(d.B(), d.u)}d.Ca.get().F.V().K("html5_send_layout_unscheduled_signal_for_externally_managed")&&d.C&&wM(d.B(),d.u,d.j);d.u=null;d.j=null;d.C=!1}}}}; yM=function(a){return(a=a.F.getVideoData(2))?a.clientPlaybackNonce:""}; bDa=function(a){if(a=a.u.j.elementId)return a;g.PB(Error("No elementId on VideoAd InstreamVideoAdRenderer"));return""}; gDa=function(a){function b(h,l){h=a.J7;var m=Object.assign({},{});m.FINAL=HL(Bd("1"));m.SLOT_POS=HL(Bd("0"));return KL(h,JL(m),l)} function c(h){return null==h?{create:function(){return null}}:{create:function(l,m,n){var p=b(l,m); m=a.oP(l,p);l=h(l,p,m,n);g.D(l,m);return l}}} var d=c(function(h,l,m){return new iM(a.F,h,l,m,a.nB,a.Ae)}),e=c(function(h,l,m){return new pM(a.F,h,l,m,a.nB,a.Ae,a.Nm,a.wq)}),f=c(function(h,l,m){return new lM(a.F,h,l,m,a.nB,a.Ae)}); this.X0=new UCa({create:function(h,l){var m=KL(b(h,l),JL(DCa(h)));l=a.oP(h,m);h=new uM(a.F,h,m,l,a.nB,a.Ae,a.daiEnabled,function(){return new $Ca(a.Ae,m,a.F,a.Sl)},a.xq,a.Gi); g.D(h,l);return h}},d,e,f)}; zM=function(a,b){this.u=a;this.j={};this.B=void 0===b?!1:b}; hDa=function(a,b){var c=a.startSecs+a.Og;c=0>=c?null:c;if(null===c)return null;switch(a.event){case "start":case "continue":case "stop":break;case "predictStart":if(b)break;return null;default:return null}b=Math.max(a.startSecs,0);return{T1:new Ro(b,c),I3:new cC(b,c-b,a.context,a.identifier,a.event,a.j)}}; AM=function(){this.j=[]}; BM=function(a,b,c){var d=g.Ab(a.j,b);if(0<=d)return b;b=-d-1;return b>=a.j.length||a.j[b]>c?null:a.j[b]}; iDa=function(){this.j=new AM}; CM=function(a){this.j=a}; jDa=function(a){a=[a,a.C].filter(function(d){return!!d}); for(var b=g.t(a),c=b.next();!c.done;c=b.next())c.value.u=!0;return a}; kDa=function(a,b,c){this.B=a;this.u=b;this.j=c;a.getCurrentTime()}; lDa=function(a,b,c){a.j&&DM({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.u}})}; mDa=function(a,b){a.j&&DM({adTrimmingInfo:{contentCpn:a.u,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.s1}})}; nDa=function(a,b){DM({daiStateTrigger:{errorType:a,contentCpn:b}})}; DM=function(a){g.hy("adsClientStateChange",a)}; EM=function(a){this.F=a;this.adVideoId=this.j=this.videoId=this.adCpn=this.contentCpn=null;this.C=!0;this.u=this.Wf=!1;this.adFormat=null;this.B="AD_PLACEMENT_KIND_UNKNOWN";this.actionType="unknown_type";this.videoStreamType="VIDEO_STREAM_TYPE_VOD"}; pDa=function(a,b,c,d,e,f){f();var h=a.F.getVideoData(1),l=a.F.getVideoData(2);h&&(a.contentCpn=h.clientPlaybackNonce,a.videoId=h.videoId,a.j=h.T);l&&(a.adCpn=l.clientPlaybackNonce,a.adVideoId=l.videoId,a.adFormat=l.adFormat);a.B=b;0>=d?f():(a.actionType=a.C?c?"unknown_type":"video_to_ad":c?"ad_to_video":"ad_to_ad",a.videoStreamType=e?"VIDEO_STREAM_TYPE_LIVE":"VIDEO_STREAM_TYPE_VOD","unknown_type"!==a.actionType&&(a.Wf=!0,nD("_start",a.actionType)&&oDa(a)))}; qDa=function(a,b){a=g.t(b);for(b=a.next();!b.done;b=a.next())if((b=b.value.renderer)&&(b.instreamVideoAdRenderer||b.linearAdSequenceRenderer||b.sandwichedLinearAdRenderer||b.instreamSurveyAdRenderer)){rD("ad_i");oD({isMonetized:!0});break}}; oDa=function(a){if(a.Wf)if(a.F.K("html5_no_video_to_ad_on_preroll_reset")&&"AD_PLACEMENT_KIND_START"===a.B&&"video_to_ad"===a.actionType)mD("video_to_ad");else if(a.F.K("web_csi_via_jspb")){var b=new Pv;b=H(b,8,2);var c=new Rv;c=H(c,21,rDa(a.B));c=H(c,7,4);b=I(c,Pv,22,b);b=H(b,53,a.videoStreamType);"ad_to_video"===a.actionType?(a.contentCpn&&H(b,76,a.contentCpn),a.videoId&&H(b,78,a.videoId)):(a.adCpn&&H(b,76,a.adCpn),a.adVideoId&&H(b,78,a.adVideoId));a.adFormat&&H(b,12,a.adFormat);a.contentCpn&&H(b, 8,a.contentCpn);a.videoId&&b.setVideoId(a.videoId);a.adCpn&&H(b,28,a.adCpn);a.adVideoId&&H(b,20,a.adVideoId);g.Bw(hD)(b,a.actionType)}else b={adBreakType:sDa(a.B),playerType:"LATENCY_PLAYER_HTML5",playerInfo:{preloadType:"LATENCY_PLAYER_PRELOAD_TYPE_PREBUFFER"},videoStreamType:a.videoStreamType},"ad_to_video"===a.actionType?(a.contentCpn&&(b.targetCpn=a.contentCpn),a.videoId&&(b.targetVideoId=a.videoId)):(a.adCpn&&(b.targetCpn=a.adCpn),a.adVideoId&&(b.targetVideoId=a.adVideoId)),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),oD(b,a.actionType)}; sDa=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"}}; rDa=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return 1;case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return 2;case "AD_PLACEMENT_KIND_END":return 3;default:return 0}}; g.uDa=function(a){return(a=tDa[a.toString()])?a:"LICENSE"}; FM=function(){g.C.call(this);this.YL=!1;this.B=null;this.T=this.J=!1;this.D=new g.yd;this.va=null;g.D(this,this.D)}; GM=function(a){a=a.NB();return 1>a.length?NaN:a.end(a.length-1)}; vDa=function(a){!a.u&&Bva()&&(a.C?a.C.then(function(){return vDa(a)}):a.Mf()||(a.u=a.qs()))}; wDa=function(a){a.u&&(a.u.dispose(),a.u=void 0)}; JG=function(a,b,c){var d;(null==(d=a.va)?0:d.Td())&&a.va.xa("rms",b,void 0===c?!1:c)}; xDa=function(a,b,c){a.Kp()||a.getCurrentTime()>b||10d.length||(d[0]in kEa&&(f.clientName=kEa[d[0]]),d[1]in lEa&&(f.platform=lEa[d[1]]),f.applicationState=h,f.clientVersion=2e&&(b+="0"));if(0f&&(b+="0");b+=f+":";10>c&&(b+="0");d=b+c}return 0<=a?d:"-"+d}; g.fP=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)}; gP=function(a,b,c,d,e,f){NO.call(this,a,{G:"span",N:"ytp-ad-duration-remaining"},"ad-duration-remaining",b,c,d,e);this.videoAdDurationSeconds=f;this.u=null;this.hide()}; hP=function(a,b,c,d){LO.call(this,a,b,c,d,"ytp-video-ad-top-bar-title","ad-title")}; iP=function(a,b){this.u=a;this.j=b}; jP=function(a){return a.j-a.u}; kP=function(a,b){return a.u+b*jP(a)}; lP=function(a,b,c){return jP(a)?g.ie((b-a.u)/jP(a),0,1):null!=c?c:Infinity}; mP=function(a,b){g.dO.call(this,{G:"div",N:"ytp-ad-persistent-progress-bar-container",W:[{G:"div",N:"ytp-ad-persistent-progress-bar"}]});this.api=a;this.u=b;g.D(this,this.u);this.Jc=this.Da("ytp-ad-persistent-progress-bar");this.j=-1;this.S(a,"presentingplayerstatechange",this.onStateChange);this.hide();this.onStateChange()}; nP=function(a,b,c,d,e,f){eO.call(this,a,{G:"div",N:"ytp-ad-player-overlay",W:[{G:"div",N:"ytp-ad-player-overlay-flyout-cta"},{G:"div",N:"ytp-ad-player-overlay-instream-info"},{G:"div",N:"ytp-ad-player-overlay-skip-or-preview"},{G:"div",N:"ytp-ad-player-overlay-progress-bar"},{G:"div",N:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay",b,c,d);this.J=f;this.C=this.Da("ytp-ad-player-overlay-flyout-cta");this.api.V().K("web_rounded_thumbnails")&&this.C.classList.add("ytp-ad-player-overlay-flyout-cta-rounded"); this.u=this.Da("ytp-ad-player-overlay-instream-info");this.B=null;jGa(this)&&(a=Me("div"),g.yo(a,"ytp-ad-player-overlay-top-bar-gradients"),b=this.u,b.parentNode&&b.parentNode.insertBefore(a,b),(b=this.api.getVideoData(2))&&b.isListed&&b.title&&(c=new hP(this.api,this.layoutId,this.interactionLoggingClientData,this.rb),c.Ea(a),c.init(mL("ad-title"),{text:b.title},this.macros),g.D(this,c)),this.B=a);this.D=this.Da("ytp-ad-player-overlay-skip-or-preview");this.ya=this.Da("ytp-ad-player-overlay-progress-bar"); this.Y=this.Da("ytp-ad-player-overlay-instream-user-sentiment");this.j=e;g.D(this,this.j);this.hide()}; jGa=function(a){a=a.api.V();return g.wI(a)&&a.u}; oP=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.ri("/sharing_services",a);g.Jz(d)}; g.pP=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)}; g.qP=function(a,b,c){b=kGa(b,c);if(b=fe(b,window,"loginPopup","width=800,height=600,resizable=yes,scrollbars=yes"))c=g.tA("LOGGED_IN",function(d){g.uA(g.tw("LOGGED_IN_PUBSUB_KEY"));rw("LOGGED_IN",!0);a(d)}),rw("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((screen.width-800)/2,(screen.height-600)/2)}; kGa=function(a,b){var c="/signin?context=popup";b&&(c=document.location.protocol+"//"+b+c);b=mi(c,"next",document.location.protocol+"//"+document.domain+"/post_login");a&&(b=mi(b,"feature",a));return b}; nGa=function(a,b){if(!a)return!1;var c,d=null==(c=g.K(a,lGa))?void 0:c.signal;if(d&&b.cw)return!!b.cw[d];var e;if((c=null==(e=g.K(a,mGa))?void 0:e.request)&&b.EK)return!!b.EK[c];for(var f in a)if(b.AK[f])return!0;return!1}; oGa=function(a,b){var c,d=null==(c=g.K(a,lGa))?void 0:c.signal;if(d&&b.cw&&(c=b.cw[d]))return c();var e;if((c=null==(e=g.K(a,mGa))?void 0:e.request)&&b.EK&&(e=b.EK[c]))return e();for(var f in a)if(b.AK[f]&&(a=b.AK[f]))return a()}; rP=function(a){return function(){return new a}}; qGa=function(a){var b=void 0===b?"UNKNOWN_INTERFACE":b;if(1===a.length)return a[0];var c=pGa[b];if(c){var d=new RegExp(c),e=g.t(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,d.exec(c))return c}var f=[];Object.entries(pGa).forEach(function(h){var l=g.t(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.t(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,!d.exec(c))return c;return a[0]}; g.sP=function(a){return"/youtubei/v1/"+qGa(a)}; tP=function(){}; uP=function(){}; vP=function(a,b,c,d){this.VK=a;this.Vg=b;this.j=c;this.C=d;this.B=void 0;this.u=new Map;a.cw||(a.cw={});a.cw=Object.assign({},rGa,a.cw)}; sGa=function(a,b,c,d){if(void 0!==vP.instance){if(d=vP.instance,a=[a!==d.VK,b!==d.Vg,c!==d.j,!1,!1,void 0!==d.B],a.some(function(e){return e}))throw new g.Sx("InnerTubeTransportService is already initialized",a); }else vP.instance=new vP(a,b,c,d)}; wP=function(a,b,c){var d=void 0===d?sz:d;var e=oGa(b,a.VK);if(!e)return sf(new g.Sx("Error: No request builder found for command.",b));var f=e.D(b,c,d);return f?new g.pf(function(h){var l,m,n;return g.A(function(p){if(1==p.j)return m="cors"===(null==(l=f.qt)?void 0:l.mode)?"cors":void 0,a.j.BX?(n=tGa(a,f.config,m),p.Ka(2)):g.y(p,uGa(a,f.config,m),3);2!=p.j&&(n=p.u);h(vGa(a,f,n));g.oa(p)})}):sf(new g.Sx("Error: Failed to build request for command.",b))}; g.zN=function(a,b,c,d,e){e=void 0===e?{mu:{identity:sz}}:e;var f=void 0===f?!0:f;b.context||(b.context=g.tN(d,f));return new g.pf(function(h){var l,m,n,p,q;return g.A(function(r){if(1==r.j)return l=ux(c),m=Kw(l)?"same-origin":"cors",a.j.BX?(n=tGa(a,e,m),r.Ka(2)):g.y(r,uGa(a,e,m),3);2!=r.j&&(n=r.u);var w=n;p=foa(ux(c),w);q={input:p,qt:vx(p),So:b,config:e};h(vGa(a,q,n));g.oa(r)})})}; xGa=function(a,b,c){var d;if(b&&!(null==b?0:null==(d=b.p7a)?0:d.D7a)&&a.C){d=g.t(wGa);for(var e=d.next();!e.done;e=d.next())e=e.value,a.C[e]&&a.C[e].handleResponse(b,c)}}; vGa=function(a,b,c){var d,e,f,h,l,m,n,p,q,r,w,x,z,B,E,G,F,L,O,U,ba,V,R,Y,P,pa,la,Ka,cb;return g.A(function(Na){switch(Na.j){case 1:Na.Ka(2);break;case 3:if((d=Na.u)&&!d.isExpired())return Na.return(Promise.resolve(d.j()));case 2:if(!(null==(e=b)?0:null==(f=e.So)?0:f.context)){Na.Ka(4);break}h=b.So.context;if(!g.vw("web_async_context_processor")){l=g.t([]);for(m=l.next();!m.done;m=l.next())n=m.value,n.i7a(h);Na.Ka(4);break}return g.y(Na,[].reduce(function(Ua,qa){return Ua.then(function(){return qa.h7a(h)})}, Promise.resolve()),4); case 4:if(null==(p=a.B)||!p.y7a(b.input,b.So)){Na.Ka(7);break}return g.y(Na,a.B.M6a(b.input,b.So),8);case 8:return q=Na.u,g.vw("kevlar_process_local_innertube_responses_killswitch")||xGa(a,q,b),Na.return(q);case 7:return(x=null==(w=b.config)?void 0:w.Jg)&&a.u.has(x)&&g.vw("web_memoize_inflight_requests")?r=a.u.get(x):(z=JSON.stringify(b.So),G=null!=(E=null==(B=b.qt)?void 0:B.headers)?E:{},b.qt=Object.assign({},b.qt,{headers:Object.assign({},G,c)}),F=Object.assign({},b.qt),"POST"===b.qt.method&&(F= Object.assign({},F,{body:z})),(null==(L=b.config)?0:L.h8)&&rD(b.config.h8),O=function(){return a.Vg.fetch(b.input,F,b.config)},r=O(),x&&a.u.set(x,r)),g.y(Na,r,9); case 9:if((U=Na.u)&&"error"in U&&(null==(ba=U)?0:null==(V=ba.error)?0:V.details))for(R=U.error.details,Y=g.t(R),P=Y.next();!P.done;P=Y.next())pa=P.value,(la=pa["@type"])&&-1a}; eKa=function(a,b){dKa(a.program,b.a8)&&(sD("bg_i",void 0,"player_att"),g.mQ.initialize(a,function(){var c=a.serverEnvironment;sD("bg_l",void 0,"player_att");pQ=(0,g.M)();for(var d=0;dr.length)){q={applicationState:q?"INACTIVE":"ACTIVE",clientFormFactor:oKa[r[1]]||"UNKNOWN_FORM_FACTOR",clientName:pKa[r[0]]||"UNKNOWN_INTERFACE",clientVersion:r[2]|| "",platform:qKa[r[1]]||"UNKNOWN_PLATFORM"};r=void 0;if(n){w=void 0;try{w=JSON.parse(n)}catch(B){g.QB(B)}w&&(r={params:[{key:"ms",value:w.ms}]},q.osName=w.os_name,q.userAgent=w.user_agent,q.windowHeightPoints=w.window_height_points,q.windowWidthPoints=w.window_width_points)}l.push({adSignalsInfo: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.We(a,b,d);b.setAttribute("data-layer",String(c))}; g.pR=function(a){var b=a.V();if(!b.pe)return!1;var c=a.getVideoData();if(!c||3===a.getPresentingPlayerType())return!1;var d=(!c.isLiveDefaultBroadcast||b.K("allow_poltergust_autoplay"))&&!hL(c);d=c.isLivePlayback&&(!b.K("allow_live_autoplay")||!d);var e=c.isLivePlayback&&b.K("allow_live_autoplay_on_mweb");a=a.getPlaylist();a=!!a&&a.Ck();var f=c.jd&&c.jd.playerOverlays||null;f=!!(f&&f.playerOverlayRenderer&&f.playerOverlayRenderer.autoplay);f=c.D&&f;return!c.ypcPreview&&(!d||e)&&!g.nb(c.Ja,"ypc")&& !a&&(!g.oI(b)||f)}; PKa=function(a){a=g.VQ(a.app);if(!a)return!1;var b=a.getVideoData();if(!b.u||!b.u.video||1080>b.u.video.j||b.KR)return!1;var c=/^qsa/.test(b.clientPlaybackNonce),d="r";0<=b.u.id.indexOf(";")&&(c=/^[a-p]/.test(b.clientPlaybackNonce),d="x");return c?(a.xa("iqss",{trigger:d},!0),!0):!1}; g.qR=function(a,b,c,d){d=void 0===d?!1:d;g.dO.call(this,b);var e=this;this.F=a;this.Fa=d;this.J=new g.nG(this);this.Y=new g.QO(this,c,!0,void 0,void 0,function(){e.bT()}); g.D(this,this.J);g.D(this,this.Y)}; QKa=function(a){a.u&&(document.activeElement&&g.Ze(a.element,document.activeElement)&&(af(a.u),a.u.focus()),a.u.setAttribute("aria-expanded","false"),a.u=void 0);g.mB(a.J);a.T=void 0}; rR=function(a,b,c){a.dj()?a.Bb():a.Sc(b,c)}; sR=function(a,b,c,d){d=new g.T({G:"div",Ia:["ytp-linked-account-popup-button"],qa:d,X:{role:"button",tabindex:"0"}});b=new g.T({G:"div",N:"ytp-linked-account-popup",X:{role:"dialog","aria-modal":"true",tabindex:"-1"},W:[{G:"div",N:"ytp-linked-account-popup-title",qa:b},{G:"div",N:"ytp-linked-account-popup-description",qa:c},{G:"div",N:"ytp-linked-account-popup-buttons",W:[d]}]});g.qR.call(this,a,{G:"div",N:"ytp-linked-account-popup-container",W:[b]},100);var e=this;this.dialog=b;g.D(this,this.dialog); d.Qa("click",function(){e.Bb()}); g.D(this,d);g.oR(this.F,this.element,4);this.hide()}; g.tR=function(a,b,c,d){g.dO.call(this,a);this.priority=b;c&&this.Fh(c);d&&this.le(d)}; g.uR=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?[]:b;c=void 0===c?!1:c;b.push("ytp-menuitem");"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex="0");return{G:c?"a":"div",Ia:b,X:a,W:[{G:"div",N:"ytp-menuitem-icon",qa:"{{icon}}"},{G:"div",N:"ytp-menuitem-label",qa:"{{label}}"},{G:"div",N:"ytp-menuitem-content",qa:"{{content}}"}]}}; vR=function(a,b){a.updateValue("icon",b)}; wR=function(a){g.tR.call(this,g.uR({"aria-haspopup":"true"},["ytp-linked-account-menuitem"]),2);var b=this;this.F=a;this.u=this.j=!1;this.ub=a.Im();a.Bg(this.element,this,!0);this.S(this.F,"settingsMenuVisibilityChanged",function(c){b.kc(c)}); this.S(this.F,"videodatachange",this.C);this.Qa("click",this.onClick);this.C()}; xR=function(a){return a?g.uC(a):""}; yR=function(a){g.C.call(this);this.api=a}; zR=function(a){yR.call(this,a);var b=this;RQ(a,"setAccountLinkState",function(c){b.setAccountLinkState(c)}); RQ(a,"updateAccountLinkingConfig",function(c){b.updateAccountLinkingConfig(c)}); a.addEventListener("videodatachange",function(c,d){b.onVideoDataChange(d)}); a.addEventListener("settingsMenuInitialized",function(){b.menuItem=new wR(b.api);g.D(b,b.menuItem)})}; AR=function(a){yR.call(this,a);var b=this;this.events=new g.nG(a);g.D(this,this.events);a.K("h5_enable_ad_blocker_client_enforcement")&&this.events.S(a,"videoready",function(c){a.isInline()||(c=c.getPlayerResponse())&&(b.isPremium(c)||RKa(b))}); a.K("fetch_bid_for_dclk_status")&&this.events.S(a,"videoready",function(c){var d,e={contentCpn:(null==(d=a.getVideoData(1))?void 0:d.clientPlaybackNonce)||""};2===a.getPresentingPlayerType()&&(e.adCpn=c.clientPlaybackNonce);g.Xx(g.Zx(),function(){TB("vr",e)})}); a.K("report_pml_debug_signal")&&this.events.S(a,"videoready",function(c){if(1===a.getPresentingPlayerType()){var d,e,f={playerDebugData:{pmlSignal:!!(null==(d=c.getPlayerResponse())?0:null==(e=d.adPlacements)?0:e.some(function(h){var l;return null==h?void 0:null==(l=h.adPlacementRenderer)?void 0:l.renderer})), contentCpn:c.clientPlaybackNonce}};g.hy("adsClientStateChange",f)}})}; RKa=function(a){var b,c;g.A(function(d){if(1==d.j)return g.y(d,msa(),2);if(b=d.u)c={openPopupAction:{popupType:"MODAL",popup:{adBlockMessageViewModel:{title:{content:"Support creators and YouTube community"},body:[{content:"Go ad-free experience with YouTube Premium."}]}}}},a.api.Na("innertubeCommand",c);g.oa(d)})}; SKa=function(){g.Mx();return g.Nx(0,192)?g.Nx(0,190):!g.vw("web_watch_cinematics_disabled_by_default")}; BR=function(a,b){g.tR.call(this,g.uR({role:"menuitemcheckbox","aria-checked":"false"}),b,a,{G:"div",N:"ytp-menuitem-toggle-checkbox"});this.checked=!1;this.Qa("click",this.onClick)}; CR=function(a,b){a.checked=b;a.element.setAttribute("aria-checked",String(a.checked))}; ER=function(a){var b=a.K("web_player_use_cinematic_label_2")?"Ambient mode":"Cinematic lighting";BR.call(this,b,13);var c=this;this.F=a;this.j=!1;this.u=new g.qo(function(){g.Ao(c.element,"ytp-menuitem-highlighted")},0); this.ub=a.Im();vR(this,{G:"svg",X:{height:"24",viewBox:"0 0 24 24",width:"24"},W:[{G:"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.C,this);this.Qa(DR,this.B);g.D(this,this.u)}; FR=function(a){yR.call(this,a);var b=this;this.j=!1;var c;this.K("web_cinematic_watch_settings")&&(null==(c=a.V().webPlayerContextConfig)?0:c.cinematicSettingsAvailable)&&(a.addEventListener("settingsMenuInitialized",function(){TKa(b)}),a.addEventListener("highlightSettingsMenu",function(d){TKa(b); var e=b.menuItem;"menu_item_cinematic_lighting"===d&&(g.yo(e.element,"ytp-menuitem-highlighted"),g.yo(e.element,"ytp-menuitem-highlight-transition-enabled"),e.u.start())}),RQ(a,"updateCinematicSettings",function(d){b.updateCinematicSettings(d)}))}; TKa=function(a){a.menuItem||(a.menuItem=new ER(a.api),g.D(a,a.menuItem),a.menuItem.La(a.j))}; GR=function(a){yR.call(this,a);var b=this;this.j={};this.events=new g.nG(a);g.D(this,this.events);this.K("enable_precise_embargos")&&!g.OI(this.api.V())&&(this.events.S(a,"videodatachange",function(){var c=b.api.getVideoData();b.api.Gf("embargo",1);(null==c?0:c.cueRanges)&&UKa(b,c)}),this.events.S(a,g.mC("embargo"),function(c){var d; c=null!=(d=b.j[c.id])?d:[];d=g.t(c);for(c=d.next();!c.done;c=d.next()){var e=c.value;b.api.hideControls();b.api.Kg("heartbeat.stop",2,"This video isn't available in your current playback area");c=void 0;(e=null==(c=e.embargo)?void 0:c.onTrigger)&&b.api.Na("innertubeCommand",e)}}))}; UKa=function(a,b){if(null!=b&&hL(b)||a.K("enable_discrete_live_precise_embargos")){var c;null==(c=b.cueRanges)||c.filter(function(d){var e;return null==(e=d.onEnter)?void 0:e.some(a.u)}).forEach(function(d){var e,f=Number(null==(e=d.playbackPosition)?void 0:e.utcTimeMillis)/1E3,h; e=f+Number(null==(h=d.duration)?void 0:h.seconds);h="embargo_"+f;a.api.addUtcCueRange(h,f,e,"embargo",!1);d.onEnter&&(a.j[h]=d.onEnter.filter(a.u))})}}; HR=function(a){yR.call(this,a);var b=this;this.j=[];this.events=new g.nG(a);g.D(this,this.events);RQ(a,"addEmbedsConversionTrackingParams",function(c){b.api.V().Rn&&b.addEmbedsConversionTrackingParams(c)}); this.events.S(a,"veClickLogged",function(c){b.api.Dk(c)&&(c=oh(c.visualElement.getAsJspb(),2),b.j.push(c))})}; VKa=function(a){yR.call(this,a);var b=this;this.events=new g.nG(a);g.D(this,this.events);a.K("embeds_web_enable_ve_logging_unification")&&a.V().C&&(this.events.S(a,"initialvideodatacreated",function(c){nN(mN(),16623);b.j=g.TC();if($K(c)){nN(mN(),27240,void 0,{aC:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"});if(c.jd){var d,e=null==(d=c.jd)?void 0:d.trackingParams;e&&pN(mN(),e)}if(c.getPlayerResponse()){var f;(c=null==(f=c.getPlayerResponse())?void 0:f.trackingParams)&&pN(mN(),c)}}else nN(mN(),32594, void 0,{aC:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"}),c.kf&&(f=null==(e=c.kf)?void 0:e.trackingParams)&&pN(mN(),f)}),this.events.S(a,"loadvideo",function(){nN(mN(),27240,void 0,{aC:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED", parentCsn:b.j})}),this.events.S(a,"cuevideo",function(){nN(mN(),32594,void 0,{aC:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED", parentCsn:b.j})}),this.events.S(a,"largeplaybuttonclicked",function(c){nN(mN(),27240,c.visualElement)}),this.events.S(a,"playlistnextbuttonclicked",function(c){nN(mN(),27240,c.visualElement)}),this.events.S(a,"playlistprevbuttonclicked",function(c){nN(mN(),27240,c.visualElement)}),this.events.S(a,"playlistautonextvideo",function(){nN(mN(),27240,void 0,{aC:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"})}))}; IR=function(a,b){g.T.call(this,{G:"button",Ia:["ytp-fullerscreen-edu-button","ytp-button"],W:[{G:"div",Ia:["ytp-fullerscreen-edu-text"],qa:"Scroll for details"},{G:"div",Ia:["ytp-fullerscreen-edu-chevron"],W:[{G:"svg",X:{height:"100%",viewBox:"0 0 24 24",width:"100%"},W:[{G:"path",X:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});this.Va=a;this.B=b;this.j=new g.QO(this,250,void 0,100);this.C=this.u=!1;a.sb(this.element,this,61214);this.B=b;g.D(this,this.j);this.S(a, "fullscreentoggled",this.La);this.S(a,"presentingplayerstatechange",this.La);this.Qa("click",this.onClick);this.La()}; JR=function(a){yR.call(this,a);var b=this;this.events=new g.nG(a);g.D(this,this.events);RQ(this.api,"updateFullerscreenEduButtonSubtleModeState",function(d){b.updateFullerscreenEduButtonSubtleModeState(d)}); RQ(this.api,"updateFullerscreenEduButtonVisibility",function(d){b.updateFullerscreenEduButtonVisibility(d)}); var c=a.V();a.K("external_fullscreen_with_edu")&&c.externalFullscreen&&KI(c)&&"1"===c.controlsType&&this.events.S(a,"basechromeinitialized",function(){var d=g.XQ(a);b.j=new IR(a,d);g.D(b,b.j);d.KE(b.j)})}; WKa=function(a){g.T.call(this,{G:"div",N:"ytp-gated-actions-overlay",W:[{G:"div",N:"ytp-gated-actions-overlay-background",W:[{G:"div",N:"ytp-gated-actions-overlay-background-overlay"}]},{G:"button",Ia:["ytp-gated-actions-overlay-miniplayer-close-button","ytp-button"],X:{"aria-label":"Close"},W:[g.jO()]},{G:"div",N:"ytp-gated-actions-overlay-bar",W:[{G:"div",N:"ytp-gated-actions-overlay-text-container",W:[{G:"div",N:"ytp-gated-actions-overlay-title",qa:"{{title}}"},{G:"div",N:"ytp-gated-actions-overlay-subtitle", qa:"{{subtitle}}"}]},{G:"div",N:"ytp-gated-actions-overlay-button-container"}]}]});var b=this;this.api=a;this.background=this.Da("ytp-gated-actions-overlay-background");this.u=this.Da("ytp-gated-actions-overlay-button-container");this.j=[];this.S(this.Da("ytp-gated-actions-overlay-miniplayer-close-button"),"click",function(){b.api.Na("onCloseMiniplayer")}); this.hide()}; YKa=function(a,b){var c=0,d={};for(c=0;ce&&(e=l.width,f="url("+l.url+")")}c.background.style.backgroundImage=f;YKa(c,d.actionButtons||[]);c.show()}else c.hide()}),g.oR(this.api,this.j.element,4))}; LR=function(a){yR.call(this,a);var b=this;this.u=new Map;this.j=void 0;this.events=new g.nG(a);g.D(this,this.events);this.events.S(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.K(l.compositeVideoOverlay,$Ka),null==e?0:null==(d=e.sources)?0:d.length))for(d=g.t(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.iI({top:d.topLeftCornerY,right:1-d.topLeftCornerX-d.width,bottom:1-d.topLeftCornerY-d.height,left:d.topLeftCornerX})}); this.K("html5_enable_composite_embargo")&&(this.events.S(a,"videodatachange",function(){b.j=void 0;b.u.clear();b.api.Gf("compositeembargo",1);var c=b.api.getVideoData();(null==c?0:c.cueRanges)&&aLa(b,c)}),this.events.S(a,g.mC("compositeembargo"),function(c){var d; if((null==(d=b.j)?void 0:d.id)!==c.id&&b.u.has(c.id)){var e=b.u.get(c.id);d=b.api.getVideoData();e=g.t(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.qz!==f&&(d.qz=f,b.api.Yq());bLa(b,c)}}}),this.events.S(a,g.nC("compositeembargo"),function(c){var d; if((null==(d=b.j)?void 0:d.id)===c.id&&b.u.has(c.id)){if(c=b.api.getVideoData())c.qz=void 0;b.api.Yq();bLa(b)}}))}; bLa=function(a,b){var c;(null==(c=a.j)?void 0:c.id)!==(null==b?void 0:b.id)&&(a.j&&(a.u.delete(a.j.id),a.api.Ch([a.j],1)),a.j=b)}; aLa=function(a,b){var c;b=null==(c=b.cueRanges)?void 0:c.filter(function(h){var l;return null==(l=h.onEnter)?void 0:l.some(a.B)}); if(null!=b&&b.length)for(c=g.t(b),b=c.next();!b.done;b=c.next()){var d=b.value,e=void 0;b=Number(null==(e=d.playbackRelativePosition)?void 0:e.utcTimeMs)/1E3;var f=void 0;e=b+Number(null==(f=d.duration)?void 0:f.seconds);f="composite_embargo_"+b;d.onEnter&&(d=d.onEnter.filter(a.B),d.length&&(a.u.set(f,d),a.api.addUtcCueRange(f,b,e,"compositeembargo",!1)))}}; MR=function(a){yR.call(this,a);var b=this;RQ(a,"getAvailableQualityData",function(){return b.getAvailableQualityData()})}; cLa=function(a,b,c){var d=[],e=b?156595:151874;a=g.t(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}; dLa=function(a){for(var b=0,c=0;cr.start&&dG;G++)if(B=(B<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(z.charAt(G)),4==G%5){for(var F="",L=0;6>L;L++)F="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(B&31)+F,B>>=5;E+=F}z=E.substr(0,4)+" "+E.substr(4,4)+" "+E.substr(8,4)}else z="";l={video_id_and_cpn:String(c.videoId)+ " / "+z,codecs:"",dims_and_frames:"",bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:n.toFixed(2)+" s",date:""+(new Date).toString(),drm_style:q?"":"display:none",drm:q,debug_info:d,extra_debug_info:"",bandwidth_style:x,network_activity_style:x,network_activity_bytes:m.toFixed(0)+" KB",shader_info:w,shader_info_style:w?"":"display:none",playback_categories:""};m=e.clientWidth+"x"+e.clientHeight+(1O)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;(O=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(e+=", seq "+O.sequence);l.live_mode= e}b.isGapless()&&(l.playback_categories+="Gapless ");l.playback_categories_style=l.playback_categories?"":"display:none";l.bandwidth_samples=eR(h,"bandwidth");l.network_activity_samples=eR(h,"networkactivity");l.live_latency_samples=eR(h,"livelatency");l.buffer_health_samples=eR(h,"bufferhealth");b=g.fL(c);if(c.cotn||b)l.cotn_and_local_media=(c.cotn?c.cotn:"null")+" / "+b;l.cotn_and_local_media_style=l.cotn_and_local_media?"":"display:none";nK(c,"web_player_release_debug")?(l.release_name="youtube.player.web_20230402_00_RC00", l.release_style=""):l.release_style="display:none";l.debug_info&&0=l.debug_info.length+p.length?l.debug_info+=" "+p:l.extra_debug_info=p;l.extra_debug_info_style=l.extra_debug_info&&0=a.length?0:b}; uLa=function(a){var b=a.index-1;return 0>b?a.length-1:b}; g.cS=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.hK(a.u,b),g.D(a,e),e.al=!0,e.startSeconds=a.startSeconds||e.clipStart||0,a.listId&&(e.playlistId=a.listId.toString()));return e}; dS=function(a,b){a.index=g.ie(b,0,a.length-1);a.startSeconds=0}; eS=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.cS(a);a.items=[];for(var d=g.t(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()}}; xLa=function(a,b){var c,d,e,f,h,l,m;return g.A(function(n){if(1==n.j){c=g.FP();var p=a.V(),q={context:g.NQ(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 w=b.embedded_player_response;w&&(r=JSON.parse(w))}if(r){var x,z,B,E,G,F;r=(null==(F=g.K(null==(x=r)?void 0:null==(z=x.embedPreview)?void 0:null==(B=z.thumbnailPreviewRenderer)?void 0:null==(E=B.playButton)? void 0:null==(G=E.buttonRenderer)?void 0:G.navigationEndpoint,g.wK))?void 0:F.videoId)||null}else r=null}x=(x=r)?x:void 0;z=a.playlistId?a.playlistId:b.list;B=b.listType;if(z){var L;"user_uploads"===B?L={username:z}:L={playlistId:z};vLa(p,x,b,L);q.playlistRequest=L}else b.playlist?(L={templistVideoIds:b.playlist.toString().split(",")},vLa(p,x,b,L),q.playlistRequest=L):x&&(L={videoId:x},p&&(L.serializedThirdPartyEmbedConfig=p),q.singleVideoRequest=L);d=q;e=g.sP(wLa);g.ra(n,2);return g.y(n,g.zN(c,d, e),4)}if(2!=n.j)return f=n.u,h=a.V(),b.raw_embedded_player_response=f,h.Ra=Dx(b,g.oI(h)),h.B="EMBEDDED_PLAYER_MODE_PFL"===h.Ra,f&&(l=f,l.trackingParams&&(q=l.trackingParams,pN(mN(),q))),n.return(new g.hK(h,b));m=g.ta(n);m instanceof Error||(m=Error("b259802748"));g.PB(m);return n.return(a)})}; vLa=function(a,b,c,d){c.index&&(d.playlistIndex=String(Number(c.index)+1));d.videoId=b?b:"";a&&(d.serializedThirdPartyEmbedConfig=a)}; g.gS=function(a,b){fS.get(a);fS.set(a,b)}; g.hS=function(a){g.rC.call(this);this.loaded=!1;this.player=a}; yLa=function(){this.u=[];this.j=[]}; g.iS=function(a,b){return b?a.j.concat(a.u):a.j}; g.jS=function(a,b){switch(b.kind){case "asr":zLa(b,a.u);break;default:zLa(b,a.j)}}; zLa=function(a,b){g.jb(b,function(c){return a.equals(c)})||b.push(a)}; g.kS=function(a){g.C.call(this);this.Z=a;this.j=new yLa;this.C=[]}; g.lS=function(a,b,c){g.kS.call(this,a);this.audioTrack=c;this.u=null;this.B=!1;this.eventId=null;this.C=b.sK;this.B=g.YK(b);this.eventId=b.eventId}; ALa=function(){this.j=this.ek=!1}; BLa=function(a){a=void 0===a?{}:a;var b=void 0===a.Oo?!1:a.Oo,c=new ALa;c.ek=(void 0===a.hasSubfragmentedFmp4?!1:a.hasSubfragmentedFmp4)||b;return c}; g.mS=function(a){this.j=a;this.C=new ALa;this.On=this.Nn=!1;this.ql=2;this.Y=20971520;this.ya=8388608;this.T=120;this.Ec=3145728;this.Bd=this.j.K("html5_platform_backpressure");this.kb=62914560;this.Qc=10485760;this.jm=g.rH(this.j.experiments,"html5_min_readbehind_secs");this.Yw=g.rH(this.j.experiments,"html5_min_readbehind_cap_secs");this.Xw=g.rH(this.j.experiments,"html5_max_readbehind_secs");this.yC=this.j.K("html5_trim_future_discontiguous_ranges");this.qm=this.j.K("html5_offline_reset_media_stream_on_unresumable_slices"); this.dc=NaN;this.Vn=this.Wk=this.Xo=2;this.Fa=2097152;this.gf=0;this.Un=1048576;this.hc=!1;this.Hd=1800;this.hm=this.ol=5;this.fb=15;this.uf=1;this.I=1.15;this.J=1.05;this.al=1;this.pm=!0;this.Ta=!1;this.Wn=.8;this.il=this.ac=!1;this.Xc=6;this.B=this.jb=!1;this.cj=g.rH(this.j.experiments,"html5_static_abr_resolution_shelf");this.Zg=g.rH(this.j.experiments,"html5_min_startup_buffered_media_duration_secs");this.Pn=g.rH(this.j.experiments,"html5_post_interrupt_readahead");this.Mn=!1;this.Rn=g.rH(this.j.experiments, "html5_probe_primary_delay_base_ms")||5E3;this.Zn=100;this.xf=10;this.ax=g.rH(this.j.experiments,"html5_offline_failure_retry_limit")||2;this.Zl=this.j.experiments.qb("html5_clone_original_for_fallback_location");this.Yg=1;this.Oh=1.6;this.Ic=!1;this.Fb=g.rH(this.j.experiments,"html5_subsegment_readahead_target_buffer_health_secs");this.ij=g.rH(this.j.experiments,"html5_subsegment_readahead_timeout_secs");this.vy=g.rH(this.j.experiments,"html5_subsegment_readahead_min_buffer_health_secs");this.hj= g.rH(this.j.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");this.Ky=g.rH(this.j.experiments,"html5_subsegment_readahead_min_load_speed");this.Yn=g.rH(this.j.experiments,"html5_subsegment_readahead_load_speed_check_interval");this.Ly=g.rH(this.j.experiments,"html5_subsegment_readahead_seek_latency_fudge");this.If=15;this.jl=1;this.wd=!1;this.ox=this.j.K("html5_restrict_streaming_xhr_on_sqless_requests");this.Iw=g.rH(this.j.experiments,"html5_max_headm_for_streaming_xhr"); this.ix=this.j.K("html5_pipeline_manifestless_allow_nonstreaming");this.kx=this.j.K("html5_prefer_server_bwe3");this.Hw=this.j.K("html5_last_slice_transition");this.Bx=this.j.K("html5_store_xhr_headers_readable");this.Op=!1;this.Sn=0;this.dh=2;this.Xn=this.Yl=!1;this.ll=g.rH(this.j.experiments,"html5_max_drift_per_track_secs");this.mm=this.j.K("html5_no_placeholder_rollbacks");this.Yx=this.j.K("html5_subsegment_readahead_enable_mffa");this.df=this.j.K("html5_allow_video_keyframe_without_audio");this.hx= this.j.K("html5_enable_vp9_fairplay");this.lm=this.j.K("html5_never_pause_appends");this.pc=!0;this.pe=this.Za=this.Tb=!1;this.cm=!0;this.Mh=!1;this.u="";this.Aw=1048576;this.oe=[];this.Dw=this.j.K("html5_woffle_resume");this.Pk=this.j.K("html5_abs_buffer_health");this.Ok=!1;this.Gw=this.j.K("html5_interruption_resets_seeked_time");this.Jw=g.rH(this.j.experiments,"html5_max_live_dvr_window_plus_margin_secs")||46800;this.Ra=!1;this.fl=this.j.K("html5_explicitly_dispose_xhr");this.Tn=!1;this.Sz=!this.j.K("html5_encourage_array_coalescing"); this.Xl=!1;this.nx=this.j.K("html5_restart_on_unexpected_detach");this.oa=0;this.fm="";this.hA=this.j.K("html5_disable_codec_for_playback_on_error");this.eh=!1;this.Fw=this.j.K("html5_filter_non_efficient_formats_for_safari");this.j.K("html5_format_hybridization");this.Iv=this.j.K("html5_abort_before_separate_init");this.qx=nx();this.Rf=!1;this.tx=this.j.K("html5_serialize_server_stitched_ad_request");this.Yz=this.j.K("html5_skip_buffer_check_seek_to_head");this.Pd=!1;this.qz=this.j.K("html5_attach_po_token_to_bandaid"); this.rl=g.rH(this.j.experiments,"html5_max_redirect_response_length")||8192;this.Zi=this.j.K("html5_rewrite_timestamps_for_webm");this.tb=this.j.K("html5_only_media_duration_for_discontinuities");this.mx=g.rH(this.j.experiments,"html5_resource_bad_status_delay_scaling")||1;this.j.K("html5_onesie_live");this.DC=this.j.K("html5_onesie_premieres");this.Bw=this.j.K("html5_drop_onesie_for_live_mode_mismatch");this.bx=g.rH(this.j.experiments,"html5_onesie_live_ttl_secs")||8;this.nm=g.rH(this.j.experiments, "html5_attach_num_random_bytes_to_bandaid");this.sx=this.j.K("html5_self_init_consolidation");this.gx=g.rH(this.j.experiments,"html5_onesie_request_timeout_ms")||3E3;this.Ja=this.j.K("html5_enable_ssap");this.Aa=this.j.K("html5_ssdai_use_post_for_media")&&this.j.K("gab_return_sabr_ssdai_config");this.Po=this.j.K("html5_use_post_for_media");this.Co=g.rH(this.j.experiments,"html5_url_padding_length");this.bp="";this.Wo=this.j.K("html5_post_body_in_string");this.jx=this.j.K("html5_post_body_as_prop"); this.useUmp=this.j.K("html5_use_ump")||this.j.K("html5_cabr_utc_seek");this.Qk=this.j.K("html5_cabr_utc_seek");this.Ma=this.ea=!1;this.Qn=this.j.K("html5_prefer_drc");this.lx=this.j.K("html5_reset_primary_stats_on_redirector_failure");this.j.K("html5_remap_to_original_host_when_redirected");this.D=!1;this.vf=this.j.K("html5_enable_sabr_format_selection");this.eA=this.j.K("html5_iterative_seeking_buffered_time");this.uq=this.j.K("html5_use_network_error_code_enums");this.gA=this.j.K("html5_disable_overlapping_requests"); this.fA=this.j.K("html5_disable_cabr_request_timeout_for_sabr");this.Ew=this.j.K("html5_fallback_to_cabr_on_net_bad_status");this.Od=this.j.K("html5_mitigate_quota_exceeded_retry_append");this.Zw=this.j.K("html5_mitigate_quota_exceeded_slice_splitting");this.ah=this.j.K("html5_mitigate_quota_exceeded_v2");this.wf=this.j.K("html5_enable_sabr_partial_segments");this.ZC=this.j.K("html5_sabr_live")}; CLa=function(a,b){1080>31));BJ(a,16,b.T3);BJ(a,18,b.K1);BJ(a,19,b.J1);BJ(a,21,b.F8);BJ(a,23,b.v1);BJ(a,28,b.L7);BJ(a,34,b.visibility);FJ(a,38,b.mediaCapabilities,DLa,3);BJ(a,39,b.U8);BJ(a,40,b.OS);CJ(a,46,b.e2);BJ(a,48,b.q8)}; ELa=function(a){for(var b=[];sJ(a,2);)b.push(rJ(a));return{iK:b.length?b:void 0,videoId:wJ(a,3),EP:tJ(a,4)}}; DLa=function(a,b){var c;if(b.DP)for(c=0;cMath.random()){var B=new g.Sx("Unable to load player module",b,document.location&&document.location.origin);g.PB(B)}ef(e);r&&r(z)}; var w=m,x=w.onreadystatechange;w.onreadystatechange=function(z){switch(w.readyState){case "loaded":case "complete":ef(f)}x&&x(z)}; l&&((h=a.F.V().cspNonce)&&m.setAttribute("nonce",h),g.lj(m,g.$p(b)),h=g.Be("HEAD")[0]||document.body,h.insertBefore(m,h.firstChild),g.ab(a,function(){m.parentNode&&m.parentNode.removeChild(m)}))}; FS=function(a,b,c,d,e){g.rC.call(this);var f=this;this.target=a;this.VE=b;this.u=0;this.I=!1;this.C=new g.me(NaN,NaN);this.j=new g.nG(this);this.Aa=this.B=this.J=null;g.D(this,this.j);b=d||e?4E3:3E3;this.Y=new g.qo(function(){ES(f,1,!1)},b,this); g.D(this,this.Y);this.ea=new g.qo(function(){ES(f,2,!1)},b,this); g.D(this,this.ea);this.oa=new g.qo(function(){ES(f,512,!1)},b,this); g.D(this,this.oa);this.ya=c&&0=c.width||!c.height||0>=c.height||g.hC(c.url)&&b.push({src:c.url||"",sizes:c.width+"x"+c.height,type:"image/jpeg"}));return b}; pMa=function(a){var b=a.F.Gb();b=b.isCued()||b.isError()?"none":g.RM(b)?"playing":"paused";a.mediaSession.playbackState=b}; US=function(a){g.T.call(this,{G:"div",N:"ytp-paid-content-overlay",X:{"aria-live":"assertive","aria-atomic":"true"}});this.F=a;this.videoId=null;this.B=!1;this.Re=this.j=null;var b=a.V();a.K("enable_new_paid_product_placement")&&!g.PI(b)?(this.u=new g.T({G:"a",N:"ytp-paid-content-overlay-link",X:{href:"{{href}}",target:"_blank"},W:[{G:"div",N:"ytp-paid-content-overlay-icon",qa:"{{icon}}"},{G:"div",N:"ytp-paid-content-overlay-text",qa:"{{text}}"},{G:"div",N:"ytp-paid-content-overlay-chevron",qa:"{{chevron}}"}]}), this.S(this.u.element,"click",this.onClick)):this.u=new g.T({G:"div",Ia:["ytp-button","ytp-paid-content-overlay-text"],qa:"{{text}}"});this.C=new g.QO(this.u,250,!1,100);g.D(this,this.u);this.u.Ea(this.element);g.D(this,this.C);this.F.Bg(this.element,this);this.S(a,"videodatachange",this.onVideoDataChange);this.S(a,"presentingplayerstatechange",this.ud)}; rMa=function(a,b){var c=XBa(b),d=JK(b);b.xf&&a.F.Mo()||(a.j?b.videoId&&b.videoId!==a.videoId&&(g.to(a.j),a.videoId=b.videoId,a.B=!!d,a.B&&c&&qMa(a,d,c,b)):c&&d&&qMa(a,d,c,b))}; qMa=function(a,b,c,d){a.j&&a.j.dispose();a.j=new g.qo(a.Bb,b,a);g.D(a,a.j);var e,f;b=null==(e=d.getPlayerResponse())?void 0:null==(f=e.paidContentOverlay)?void 0:f.paidContentOverlayRenderer;e=null==b?void 0:b.navigationEndpoint;var h;f=null==b?void 0:null==(h=b.icon)?void 0:h.iconType;var l;h=null==(l=g.K(e,g.xK))?void 0:l.url;a.F.Lg(a.element,(null==e?void 0:e.clickTrackingParams)||null);a.u.update({href:null!=h?h:"#",text:c,icon:"MONEY_HAND"===f?{G:"svg",X:{fill:"none",height:"100%",viewBox:"0 0 24 24", width:"100%"},W:[{G:"path",X:{d:"M6 9H5V5V4H6H19V5H6V9ZM21.72 16.04C21.56 16.8 21.15 17.5 20.55 18.05C20.47 18.13 18.42 20.01 14.03 20.01C13.85 20.01 13.67 20.01 13.48 20C11.3 19.92 8.51 19.23 5.4 18H2V10H5H6H7V6H21V13H16.72C16.37 13.59 15.74 14 15 14H12.7C13.01 14.46 13.56 15 14.5 15H15.02C16.07 15 17.1 14.64 17.92 13.98C18.82 13.26 20.03 13.22 20.91 13.84C21.58 14.32 21.9 15.19 21.72 16.04ZM15 10C15 9.45 14.55 9 14 9C13.45 9 13 9.45 13 10H15ZM20 11C19.45 11 19 11.45 19 12H20V11ZM19 7C19 7.55 19.45 8 20 8V7H19ZM8 8C8.55 8 9 7.55 9 7H8V8ZM8 10H12C12 8.9 12.9 8 14 8C15.1 8 16 8.9 16 10V10.28C16.59 10.63 17 11.26 17 12H18C18 10.9 18.9 10 20 10V9C18.9 9 18 8.1 18 7H10C10 8.1 9.1 9 8 9V10ZM5 13.5V11H3V17H5V13.5ZM20.33 14.66C19.81 14.29 19.1 14.31 18.6 14.71C17.55 15.56 16.29 16 15.02 16H14.5C12.62 16 11.67 14.46 11.43 13.64L11.24 13H15C15.55 13 16 12.55 16 12C16 11.45 15.55 11 15 11H6V13.5V17.16C8.9 18.29 11.5 18.93 13.52 19C17.85 19.15 19.85 17.34 19.87 17.32C20.33 16.9 20.62 16.4 20.74 15.84C20.84 15.37 20.68 14.91 20.33 14.66Z", fill:"white"}}]}:null,chevron:h?g.iO():null})}; sMa=function(a,b){a.j&&(g.S(b,8)&&a.B?(a.B=!1,a.Sc(),a.j.start()):(g.S(b,2)||g.S(b,64))&&a.videoId&&(a.videoId=null))}; VS=function(a){g.T.call(this,{G:"div",N:"ytp-spinner",W:[LS(),{G:"div",N:"ytp-spinner-message",qa:"If playback doesn't begin shortly, try restarting your device."}]});this.api=a;this.message=this.Da("ytp-spinner-message");this.j=new g.qo(this.show,500,this);g.D(this,this.j);this.S(a,"presentingplayerstatechange",this.onStateChange);this.S(a,"playbackstalledatstart",this.u);this.vc(a.Gb())}; WS=function(a){var b=xH(a.V().experiments,"mweb_muted_autoplay_animation"),c=[],d=[{G:"div",Ia:["ytp-unmute-icon"],W:[{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"ytp-svg-fill",X:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]}, {G:"div",Ia:["ytp-unmute-text"],qa:"Tap to unmute"}];"none"!==b&&(c.push("ytp-unmute-animated"),d.push({G:"div",Ia:["ytp-unmute-box"],W:[]}),"expand"===b?c.push("ytp-unmute-expand"):"shrink"===b&&c.push("ytp-unmute-shrink"));g.qR.call(this,a,{G:"button",Ia:["ytp-unmute","ytp-popup","ytp-button"].concat(c),W:[{G:"div",N:"ytp-unmute-inner",W:d}]},100);this.j=this.clicked=!1;this.api=a;this.api.sb(this.element,this,51663);this.S(a,"onMutedAutoplayChange",this.onMutedAutoplayChange,this);this.S(a,"presentingplayerstatechange", this.Ki);this.Qa("click",this.onClick,this);a=a.isMutedByMutedAutoplay()&&!g.oI(this.api.V());g.bO(this,a);a&&tMa(this);this.B=a}; tMa=function(a){a.j||(a.j=!0,a.api.Ua(a.element,!0))}; g.YS=function(a){g.nG.call(this);var b=this;this.api=a;this.KM=!1;this.Uo=null;this.fF=!1;this.fg=null;this.FK=this.dI=!1;this.mP=this.nP=null;this.IU=NaN;this.lP=this.fB=!1;this.CC=0;this.RJ=[];this.NN=!1;this.bC={height:0,width:0};var c=a.V(),d=a.ib();this.bC=a.getPlayerSize();this.YR=new g.qo(this.aN,0,this);g.D(this,this.YR);g.xI(c)||(this.Am=new g.IS(a),g.D(this,this.Am),g.oR(a,this.Am.element,4));if(uMa(this)){var e=new VS(a);g.D(this,e);e=e.element;g.oR(a,e,4)}var f=a.getVideoData();this.Te= new FS(d,function(l){return b.VE(l)},f,c.dh,!1); g.D(this,this.Te);this.Te.subscribe("autohideupdate",this.cn,this);if(!c.disablePaidContentOverlay){var h=new US(a);g.D(this,h);g.oR(a,h.element,4)}this.tP=new WS(a);g.D(this,this.tP);g.oR(this.api,this.tP.element,2);this.WL=this.api.isMutedByMutedAutoplay();this.S(a,"onMutedAutoplayChange",this.onMutedAutoplayChange);this.ZH=new g.qo(this.Rz,200,this);g.D(this,this.ZH);this.sC=f.videoId;this.RW=new g.qo(function(){b.CC=0},350); g.D(this,this.RW);this.lF=new g.qo(function(){b.lP||XS(b)},350,this); g.D(this,this.lF);f=a.getRootNode();f.setAttribute("aria-label","YouTube Video Player");switch(c.color){case "white":g.yo(f,"ytp-color-white")}g.xI(c)&&g.yo(f,"ytp-music-player");navigator.mediaSession&&null!=navigator.mediaSession.setActionHandler&&(f=new SS(a),g.D(this,f));this.S(a,"appresize",this.Eb);this.S(a,"presentingplayerstatechange",this.Ki);this.S(a,"videodatachange",this.onVideoDataChange);this.S(a,"videoplayerreset",this.i6);this.S(a,"autonavvisibility",function(){b.xp()}); this.S(a,"sizestylechange",function(){b.xp()}); this.S(d,"click",this.F6,this);this.S(d,"dblclick",this.G6,this);c.Tb&&(this.S(d,"gesturechange",this.H6,this),this.S(d,"gestureend",this.I6,this));this.Ts=[d.WA];this.Am&&this.Ts.push(this.Am.element);e&&this.Ts.push(e)}; vMa=function(a,b){if(!b)return!1;var c=a.api.ye();if(c.Vt()&&(c=c.xb())&&g.Ze(c,b))return c.controls;for(c=0;c1+b&&a.api.toggleFullscreen()}; uMa=function(a){a=ix()&&67<=aoa()&&!a.api.V().J;return!hx("tizen")&&!lI&&!a&&!0}; $S=function(a,b){b=void 0===b?2:b;g.rC.call(this);this.api=a;this.j=null;this.qd=new kB(this);g.D(this,this.qd);this.u=iGa;this.qd.S(this.api,"presentingplayerstatechange",this.ud);this.j=this.qd.S(this.api,"progresssync",this.yc);this.Fn=b;1===this.Fn&&this.yc()}; aT=function(a){g.T.call(this,{G:"button",Ia:["ytp-button","ytp-back-button"],W:[{G:"div",N:"ytp-arrow-back-icon",W:[{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 -12 36 36",width:"100%"},W:[{G:"path",X:{d:"M0 0h24v24H0z",fill:"none"}},{G:"path",Xb:!0,X:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",fill:"#fff"}}]}]}]});this.F=a;g.bO(this,a.V().ql);this.Qa("click",this.onClick)}; g.bT=function(a){g.T.call(this,{G:"div",W:[{G:"div",N:"ytp-bezel-text-wrapper",W:[{G:"div",N:"ytp-bezel-text",qa:"{{title}}"}]},{G:"div",N:"ytp-bezel",X:{role:"status","aria-label":"{{label}}"},W:[{G:"div",N:"ytp-bezel-icon",qa:"{{icon}}"}]}]});this.F=a;this.u=new g.qo(this.show,10,this);this.j=new g.qo(this.hide,500,this);g.D(this,this.u);g.D(this,this.j);this.hide()}; dT=function(a,b,c){if(0>=b){c=tO();b="muted";var d=0}else c=c?{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!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"}}]}:{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!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+"volume";cT(a,c,b,d+"%")}; zMa=function(a,b){b=b?{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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"}}]}:{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"ytp-svg-fill",X:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]};var c=a.F.getPlaybackRate(),d=g.sM("Speed is $RATE",{RATE:String(c)});cT(a,b,d,c+"x")}; AMa=function(a,b){b=b?"Subtitles/closed captions on":"Subtitles/closed captions off";cT(a,iMa(),b)}; cT=function(a,b,c,d){d=void 0===d?"":d;a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.to(a.j);a.u.start();a.updateValue("title",d);g.Co(a.element,"ytp-bezel-text-hide",!d)}; fT=function(a,b,c){g.T.call(this,{G:"button",Ia:["ytp-button","ytp-cards-button"],X:{"aria-label":"Show cards","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.oI(a.V()))},W:[{G:"span",N:"ytp-cards-button-icon-default",W:[{G:"div",N:"ytp-cards-button-icon",W:[a.V().K("player_new_info_card_format")?GFa():{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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"}}]}]}, {G:"div",N:"ytp-cards-button-title",qa:"Info"}]},{G:"span",N:"ytp-cards-button-icon-shopping",W:[{G:"div",N:"ytp-cards-button-icon",W:[{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",N:"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"}},{G:"path",N:"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"}},{G:"path",N:"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"}}]}]},{G:"div", N:"ytp-cards-button-title",qa:"Shopping"}]}]});this.F=a;this.B=b;this.C=c;this.j=null;this.u=new g.QO(this,250,!0,100);g.D(this,this.u);g.Co(this.C,"ytp-show-cards-title",g.oI(a.V()));this.hide();this.Qa("click",this.n5);this.Qa("mouseover",this.H5);eT(this,!0)}; eT=function(a,b){b?a.j=g.gT(a.B.Dc(),a.element):(a.j=a.j,a.j(),a.j=null)}; hT=function(a,b,c){g.T.call(this,{G:"div",N:"ytp-cards-teaser",W:[{G:"div",N:"ytp-cards-teaser-box"},{G:"div",N:"ytp-cards-teaser-text",W:a.V().K("player_new_info_card_format")?[{G:"button",N:"ytp-cards-teaser-info-icon",X:{"aria-label":"Show cards","aria-haspopup":"true"},W:[GFa()]},{G:"span",N:"ytp-cards-teaser-label",qa:"{{text}}"},{G:"button",N:"ytp-cards-teaser-close-button",X:{"aria-label":"Close"},W:[g.jO()]}]:[{G:"span",N:"ytp-cards-teaser-label",qa:"{{text}}"}]}]});var d=this;this.F=a;this.Y= b;this.Xi=c;this.C=new g.QO(this,250,!1,250);this.j=null;this.J=new g.qo(this.U5,300,this);this.I=new g.qo(this.T5,2E3,this);this.D=[];this.u=null;this.T=new g.qo(function(){d.element.style.margin="0"},250); this.onClickCommand=this.B=null;g.D(this,this.C);g.D(this,this.J);g.D(this,this.I);g.D(this,this.T);a.V().K("player_new_info_card_format")?(g.yo(a.getRootNode(),"ytp-cards-teaser-dismissible"),this.S(this.Da("ytp-cards-teaser-close-button"),"click",this.ep),this.S(this.Da("ytp-cards-teaser-info-icon"),"click",this.cP),this.S(this.Da("ytp-cards-teaser-label"),"click",this.cP)):this.Qa("click",this.cP);this.S(c.element,"mouseover",this.eR);this.S(c.element,"mouseout",this.dR);this.S(a,"cardsteasershow", this.f7);this.S(a,"cardsteaserhide",this.Bb);this.S(a,"cardstatechange",this.cY);this.S(a,"presentingplayerstatechange",this.cY);this.S(a,"appresize",this.AP);this.S(a,"onShowControls",this.AP);this.S(a,"onHideControls",this.H1);this.Qa("mouseenter",this.G_)}; jT=function(a){g.T.call(this,{G:"button",Ia:[iT.BUTTON,iT.TITLE_NOTIFICATIONS],X:{"aria-pressed":"{{pressed}}","aria-label":"{{label}}"},W:[{G:"div",N:iT.TITLE_NOTIFICATIONS_ON,X:{title:"Stop getting notified about every new video","aria-label":"Notify subscriptions"},W:[g.nO()]},{G:"div",N:iT.TITLE_NOTIFICATIONS_OFF,X:{title:"Get notified about every new video","aria-label":"Notify subscriptions"},W:[{G:"svg",X:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},W:[{G:"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.sb(this.element,this,36927);this.Qa("click",this.onClick,this);this.updateValue("pressed",!1);this.updateValue("label","Get notified about every new video")}; BMa=function(a,b){a.j=b;a.element.classList.toggle(iT.NOTIFICATIONS_ENABLED,a.j);var c=a.api.getVideoData();c?(b=b?c.NP:c.LP)?(a=a.api.Hm())?wP(a,b):g.PB(Error("No innertube service available when updating notification preferences.")):g.PB(Error("No update preferences command available.")):g.PB(Error("No video data when updating notification preferences."))}; g.lT=function(a,b,c,d,e,f,h,l,m,n,p,q,r){r=void 0===r?null:r;f&&(a=a.charAt(0)+a.substring(1).toLowerCase());var w=q.V(),x;p=w.K("shorts_mode_to_player_api")?q.Sb():null==(x=r)?void 0:x.Sb();if(f||p)c=c.charAt(0)+c.substring(1).toLowerCase();if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;x=w.userDisplayName&&g.uI(w);g.T.call(this,{G:"div",Ia:["ytp-button","ytp-sb"],W:[{G:"div",N:"ytp-sb-subscribe",X:x?{title:g.sM("Subscribe as $USER_NAME",{USER_NAME:w.userDisplayName}),"aria-label":"Subscribe to channel", "data-tooltip-image":UI(w),"data-tooltip-opaque":String(g.oI(w)),tabindex:"0",role:"button"}:{"aria-label":"Subscribe to channel"},W:[{G:"div",N:"ytp-sb-text",W:[{G:"div",N:"ytp-sb-icon"},a]},b?{G:"div",N:"ytp-sb-count",qa:b}:""]},{G:"div",N:"ytp-sb-unsubscribe",X:x?{title:g.sM("Subscribed as $USER_NAME",{USER_NAME:w.userDisplayName}),"aria-label":"Unsubscribe to channel","data-tooltip-image":UI(w),"data-tooltip-opaque":String(g.oI(w)),tabindex:"0",role:"button"}:{"aria-label":"Unsubscribe to channel"}, W:[{G:"div",N:"ytp-sb-text",W:[{G:"div",N:"ytp-sb-icon"},c]},d?{G:"div",N:"ytp-sb-count",qa:d}:""]}],X:{"aria-live":"polite"}});var z=this;this.channelId=h;this.B=r;this.F=q;var B=this.Da("ytp-sb-subscribe"),E=this.Da("ytp-sb-unsubscribe");f&&g.yo(this.element,"ytp-sb-classic");if(e){l?this.j():this.u();var G=function(){if(w.authUser){var L=z.channelId;if(m||n){var O={c:L};var U;g.mQ.isInitialized()&&(U=fKa(O));O=U||"";if(U=q.getVideoData())if(U=U.subscribeCommand){var ba=q.Hm();ba?(wP(ba,U,{botguardResponse:O, feature:m}),q.Na("SUBSCRIBE",L)):g.PB(Error("No innertube service available when updating subscriptions."))}else g.PB(Error("No subscribe command in videoData."));else g.PB(Error("No video data available when updating subscription."))}E.focus();E.removeAttribute("aria-hidden");B.setAttribute("aria-hidden","true")}else g.qP(z.C,"sb_button",g.HI(z.F.V()))},F=function(){var L=z.channelId; if(m||n){var O=q.getVideoData();wP(q.Hm(),O.unsubscribeCommand,{feature:m});q.Na("UNSUBSCRIBE",L)}B.focus();B.removeAttribute("aria-hidden");E.setAttribute("aria-hidden","true")}; this.S(B,"click",G);this.S(E,"click",F);this.S(B,"keypress",function(L){13===L.keyCode&&G(L)}); this.S(E,"keypress",function(L){13===L.keyCode&&F(L)}); this.S(q,"SUBSCRIBE",this.j);this.S(q,"UNSUBSCRIBE",this.u);this.B&&x&&(this.tooltip=this.B.Dc(),kT(this.tooltip),g.ab(this,g.gT(this.tooltip,B)),g.ab(this,g.gT(this.tooltip,E)))}else g.yo(B,"ytp-sb-disabled"),g.yo(E,"ytp-sb-disabled")}; nT=function(a,b){g.T.call(this,{G:"div",N:"ytp-title-channel",W:[{G:"div",N:"ytp-title-beacon"},{G:"a",N:"ytp-title-channel-logo",X:{href:"{{channelLink}}",target:a.V().Y,"aria-label":"{{channelLogoLabel}}"}},{G:"div",N:"ytp-title-expanded-overlay",X:{"aria-hidden":"{{flyoutUnfocusable}}"},W:[{G:"div",N:"ytp-title-expanded-heading",W:[{G:"div",N:"ytp-title-expanded-title",W:[{G:"a",qa:"{{expandedTitle}}",X:{href:"{{channelTitleLink}}",target:a.V().Y,"aria-hidden":"{{shouldHideExpandedTitleForA11y}}", tabIndex:"{{channelTitleFocusable}}"}}]},{G:"div",N:"ytp-title-expanded-subtitle",qa:"{{expandedSubtitle}}",X:{"aria-hidden":"{{shouldHideExpandedSubtitleForA11y}}"}}]}]}]});var c=this;this.api=a;this.C=b;this.channel=this.Da("ytp-title-channel");this.j=this.Da("ytp-title-channel-logo");this.channelName=this.Da("ytp-title-expanded-title");this.D=this.Da("ytp-title-expanded-overlay");this.B=this.u=this.subscribeButton=null;a.sb(this.j,this,36925);a.sb(this.channelName,this,37220);g.oI(this.api.V())&& CMa(this);this.S(a,"videodatachange",this.La);this.S(a,"videoplayerreset",this.La);this.api.K("web_player_ve_conversion_fixes_for_channel_info")&&(this.S(this.channelName,"click",function(d){c.api.ob(c.channelName);g.mj(window,mT(c));d.preventDefault()}),this.S(this.j,"click",this.k5)); this.La()}; DMa=function(a){if(!a.api.V().Ec){var b=a.api.getVideoData(),c=new g.lT("Subscribe",null,"Subscribed",null,!0,!1,b.dk,b.subscribed,"channel_avatar",null,null,a.api,a.C);a.api.Bg(c.element,a);var d;a.api.Lg(c.element,(null==(d=b.subscribeButtonRenderer)?void 0:d.trackingParams)||null);a.S(c.element,"click",function(){a.api.ob(c.element)}); a.subscribeButton=c;g.D(a,a.subscribeButton);a.subscribeButton.Ea(a.D);a.subscribeButton.hide();var e=new jT(a.api);a.u=e;g.D(a,e);e.Ea(a.D);e.hide();a.S(a.api,"SUBSCRIBE",function(){b.il&&(e.show(),a.api.Ua(e.element,!0))}); a.S(a.api,"UNSUBSCRIBE",function(){b.il&&(e.hide(),a.api.Ua(e.element,!1),BMa(e,!1))})}}; CMa=function(a){var b=a.api.V();DMa(a);a.updateValue("flyoutUnfocusable","true");a.updateValue("channelTitleFocusable","-1");a.updateValue("shouldHideExpandedTitleForA11y","true");a.updateValue("shouldHideExpandedSubtitleForA11y","true");b.u||b.tb?a.S(a.j,"click",function(c){a.api.K("web_player_ve_conversion_fixes_for_channel_info")||(oT(a)&&(c.preventDefault(),a.isExpanded()?a.dF():a.sF()),a.api.ob(a.j))}):(a.S(a.channel,"mouseenter",a.sF),a.S(a.channel,"mouseleave",a.dF),a.S(a.channel,"focusin", a.sF),a.S(a.channel,"focusout",function(c){a.channel.contains(c.relatedTarget)||a.dF()}),a.S(a.j,"click",function(){a.api.K("web_player_ve_conversion_fixes_for_channel_info")||a.api.ob(a.j)})); a.B=new g.qo(function(){a.isExpanded()&&(a.api.K("web_player_ve_conversion_fixes_for_channel_info")&&a.api.Ua(a.channelName,!1),a.subscribeButton&&(a.subscribeButton.hide(),a.api.Ua(a.subscribeButton.element,!1)),a.u&&(a.u.hide(),a.api.Ua(a.u.element,!1)),a.channel.classList.remove("ytp-title-expanded"),a.channel.classList.add("ytp-title-show-collapsed"))},500); g.D(a,a.B);a.S(a.channel,EMa,function(){FMa(a)}); a.S(a.api,"onHideControls",a.pO);a.S(a.api,"appresize",a.pO);a.S(a.api,"fullscreentoggled",a.pO)}; FMa=function(a){a.channel.classList.remove("ytp-title-show-collapsed");a.channel.classList.remove("ytp-title-show-expanded")}; oT=function(a){var b=a.api.getPlayerSize();return g.oI(a.api.V())&&524<=b.width}; mT=function(a){var b=a.api.V(),c=a.api.getVideoData();c=g.VI(b)+c.tb;if(!g.oI(b))return c;var d={};b.Aa&&g.uQ(d,a.api.V().loaderUrl);g.UQ(a.api,"addEmbedsConversionTrackingParams",[d]);g.tQ(d,"emb_ch_name_ex");return g.ri(c,d)}; pT=function(a,b,c,d,e,f){var h={G:"div",N:"ytp-panel"};if(c){var l="ytp-panel-back-button";var m="ytp-panel-title";var n={G:"div",N:"ytp-panel-header",W:[{G:"div",Ia:["ytp-panel-back-button-container"],W:[{X:{"aria-label":"Back to previous menu"},G:"button",Ia:["ytp-button",l]}]},{X:{tabindex:"0"},G:"span",Ia:[m],W:[c]}]};if(e){var p="ytp-panel-options";n.W.push({G:"button",Ia:["ytp-button",p],W:[d]})}h.W=[n]}d=!1;f&&(f={G:"div",N:"ytp-panel-footer",W:[f]},d=!0,h.W?h.W.push(f):h.W=[f]);g.dO.call(this, h);this.content=b;d&&h.W?b.Ea(this.element,h.W.length-1):b.Ea(this.element);this.XT=!1;this.VT=d;c&&(c=this.Da(l),m=this.Da(m),this.S(c,"click",this.tV),this.S(m,"click",this.tV),this.XT=!0,e&&(p=this.Da(p),this.S(p,"click",e)));b.subscribe("size-change",this.zV,this);this.S(a,"fullscreentoggled",this.zV);this.F=a}; GMa=function(a,b){var c=new g.dO({G:"div",N:"ytp-multi-item-panel"});a.content.Ea(c.element);b.Ea(c.element);a.content=c;c.Ea(a.element);g.D(a,c)}; g.qT=function(a,b,c,d,e,f){b=void 0===b?null:b;var h={role:"menu"};b&&(h.id=b);b=new g.dO({G:"div",N:"ytp-panel-menu",X:h});pT.call(this,a,b,c,d,e,f);this.menuItems=b;this.items=[];g.D(this,this.menuItems)}; g.rT=function(a){for(var b=g.t(a.items),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.uN,a);a.items=[];g.Ve(a.menuItems.element);a.menuItems.ma("size-change")}; HMa=function(a,b){return b.priority-a.priority}; sT=function(a){var b=g.uR({"aria-haspopup":"true"});g.tR.call(this,b,a);this.Qa("keydown",this.j)}; tT=function(a,b){a.element.setAttribute("aria-haspopup",String(b))}; uT=function(a,b){g.T.call(this,{G:"div",N:"ytp-user-info-panel",X:{"aria-label":"User info"},W:a.V().authUser&&!a.K("embeds_web_always_enable_signed_out_state")?[{G:"div",N:"ytp-user-info-panel-icon",qa:"{{icon}}"},{G:"div",N:"ytp-user-info-panel-content",W:[{G:"div",N:"ytp-user-info-panel-info",X:{tabIndex:"{{userInfoFocusable}}",role:"text"},qa:"{{watchingAsUsername}}"},{G:"div",N:"ytp-user-info-panel-info",X:{tabIndex:"{{userInfoFocusable2}}",role:"text"},qa:"{{watchingAsEmail}}"}]}]:[{G:"div", N:"ytp-user-info-panel-icon",qa:"{{icon}}"},{G:"div",N:"ytp-user-info-panel-content",W:[{G:"div",W:[{G:"text",X:{tabIndex:"{{userInfoFocusable}}"},qa:"Signed out"}]},{G:"div",N:"ytp-user-info-panel-login",W:[{G:"a",X:{tabIndex:"{{userInfoFocusable2}}",role:"button"},qa:a.V().Ec?"":"Sign in on YouTube"}]}]}]});this.Va=a;this.j=b;a.V().authUser||a.V().Ec||(a=this.Da("ytp-user-info-panel-login"),this.S(a,"click",this.I_));this.closeButton=new g.T({G:"button",Ia:["ytp-collapse","ytp-button"],X:{title:"Close"}, W:[g.sO()]});this.closeButton.Ea(this.element);g.D(this,this.closeButton);this.S(window,"blur",this.hide);this.S(document,"click",this.H_);this.La()}; vT=function(a,b,c,d){g.qT.call(this,a);this.ub=c;this.Rc=d;this.getVideoUrl=new sT(6);this.Jm=new sT(5);this.Em=new sT(4);this.qc=new sT(3);this.sD=new g.tR(g.uR({href:"{{href}}",target:this.F.V().Y},void 0,!0),2,"Troubleshoot playback issue");this.showVideoInfo=new g.tR(g.uR(),1,"Stats for nerds");this.Ox=new g.dO({G:"div",Ia:["ytp-copytext","ytp-no-contextmenu"],X:{draggable:"false",tabindex:"1"},qa:"{{text}}"});this.yS=new pT(this.F,this.Ox);this.XD=this.Gs=null;g.oI(this.F.V())&&this.F.K("embeds_web_enable_new_context_menu_triggering")&& (this.closeButton=new g.T({G:"button",Ia:["ytp-collapse","ytp-button"],X:{title:"Close"},W:[g.sO()]}),this.closeButton.Ea(this.element),this.closeButton.Qa("click",this.L1,this));g.oI(this.F.V())&&(this.Tk=new g.tR(g.uR(),8,"Account"),g.D(this,this.Tk),this.Kc(this.Tk,!0),this.Tk.Qa("click",this.S6,this),a.sb(this.Tk.element,this.Tk,137682));this.F.V().lm&&(this.Gk=new BR("Loop",7),g.D(this,this.Gk),this.Kc(this.Gk,!0),this.Gk.Qa("click",this.N5,this),a.sb(this.Gk.element,this.Gk,28661));g.D(this, this.getVideoUrl);this.Kc(this.getVideoUrl,!0);this.getVideoUrl.Qa("click",this.F5,this);a.sb(this.getVideoUrl.element,this.getVideoUrl,28659);g.D(this,this.Jm);this.Kc(this.Jm,!0);this.Jm.Qa("click",this.G5,this);a.sb(this.Jm.element,this.Jm,28660);g.D(this,this.Em);this.Kc(this.Em,!0);this.Em.Qa("click",this.E5,this);a.sb(this.Em.element,this.Em,28658);g.D(this,this.qc);this.Kc(this.qc,!0);this.qc.Qa("click",this.D5,this);g.D(this,this.sD);this.Kc(this.sD,!0);this.sD.Qa("click",this.B6,this);g.D(this, this.showVideoInfo);this.Kc(this.showVideoInfo,!0);this.showVideoInfo.Qa("click",this.T6,this);g.D(this,this.Ox);this.Ox.Qa("click",this.s5,this);g.D(this,this.yS);b=document.queryCommandSupported&&document.queryCommandSupported("copy");43<=nc("Chromium")&&(b=!0);40>=nc("Firefox")&&(b=!1);b&&(this.Gs=new g.T({G:"textarea",N:"ytp-html5-clipboard",X:{readonly:"",tabindex:"-1"}}),g.D(this,this.Gs),this.Gs.Ea(this.element));var e;null==(e=this.Tk)||vR(e,JFa());var f;null==(f=this.Gk)||vR(f,{G:"svg",X:{fill:"none", height:"24",viewBox:"0 0 24 24",width:"24"},W:[{G:"path",X:{d:"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z",fill:"white"}}]});vR(this.qc,{G:"svg",X:{height:"24",viewBox:"0 0 24 24",width:"24"},W:[{G:"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"}}]});vR(this.sD,{G:"svg",X:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},W:[{G:"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"}}]});vR(this.showVideoInfo,FFa());this.S(a,"onLoopChange",this.onLoopChange);this.S(a,"videodatachange",this.onVideoDataChange);IMa(this);this.HO(this.F.getVideoData())}; xT=function(a,b){var c=!1;if(a.Gs){var d=a.Gs.element;d.value=b;d.select();try{c=document.execCommand("copy")}catch(e){}}c?a.ub.Bb():(a.Ox.le(b,"text"),g.wT(a.ub,a.yS),MS(a.Ox.element),a.Gs&&(a.Gs=null,IMa(a)));return c}; IMa=function(a){var b=!!a.Gs;a.qc.Fh(b?"Copy debug info":"Get debug info");tT(a.qc,!b);a.Em.Fh(b?"Copy embed code":"Get embed code");tT(a.Em,!b);a.getVideoUrl.Fh(b?"Copy video URL":"Get video URL");tT(a.getVideoUrl,!b);a.Jm.Fh(b?"Copy video URL at current time":"Get video URL at current time");tT(a.Jm,!b);vR(a.Em,b?DFa():null);vR(a.getVideoUrl,b?lO():null);vR(a.Jm,b?lO():null)}; JMa=function(a){return g.oI(a.F.V())?a.Tk:a.Gk}; g.yT=function(a,b){g.qR.call(this,a,{G:"div",Ia:["ytp-popup",b||""]},100,!0);this.j=[];this.I=this.D=null;this.GE=this.maxWidth=0;this.size=new g.oe(0,0);this.Qa("keydown",this.J_)}; KMa=function(a){var b=a.j[a.j.length-1];if(b){g.Zl(a.element,a.maxWidth||"100%",a.GE||"100%");g.Jl(b.element,"width","");g.Jl(b.element,"height","");g.Jl(b.element,"maxWidth","100%");g.Jl(b.element,"maxHeight","100%");g.Jl(b.content.element,"height","");var c=g.$l(b.element);c.width+=1;c.height+=1;g.Jl(b.element,"width",c.width+"px");g.Jl(b.element,"height",c.height+"px");g.Jl(b.element,"maxWidth","");g.Jl(b.element,"maxHeight","");var d=0;b.XT&&(d=b.Da("ytp-panel-header"),d=g.$l(d).height);var e= 0;b.VT&&(e=b.Da("ytp-panel-footer"),g.Jl(e,"width",c.width+"px"),e=g.$l(e).height);g.Jl(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];zT(a,b,c,!0)}}; zT=function(a,b,c,d){LMa(a);b&&(b.unsubscribe("size-change",a.Xz,a),b.unsubscribe("back",a.mj,a));c.subscribe("size-change",a.Xz,a);c.subscribe("back",a.mj,a);if(a.vb){g.yo(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.Ea(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;KMa(a);g.Zl(a.element,e);a.D=new g.qo(function(){MMa(a,b,c,d)},20,a); a.D.start()}else c.Ea(a.element),b&&b.detach()}; MMa=function(a,b,c,d){a.D.dispose();a.D=null;g.yo(a.element,"ytp-popup-animating");d?(g.yo(b.element,"ytp-panel-animate-forward"),g.Ao(c.element,"ytp-panel-animate-back")):(g.yo(b.element,"ytp-panel-animate-back"),g.Ao(c.element,"ytp-panel-animate-forward"));g.Zl(a.element,a.size);a.I=new g.qo(function(){g.Ao(a.element,"ytp-popup-animating");b.detach();g.Bo(b.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);a.I.dispose();a.I=null},250,a); a.I.start()}; LMa=function(a){a.D&&g.so(a.D);a.I&&g.so(a.I)}; g.BT=function(a,b,c){g.yT.call(this,a);this.ya=b;this.Rc=c;this.C=new g.nG(this);this.ea=new g.qo(this.k7,1E3,this);this.oa=this.B=null;g.D(this,this.C);g.D(this,this.ea);a.sb(this.element,this,28656);g.yo(this.element,"ytp-contextmenu");NMa(this);this.hide()}; NMa=function(a){g.mB(a.C);var b=a.F.V();"gvn"===b.playerStyle||(b.u||b.tb)&&b.K("embeds_web_enable_new_context_menu_triggering")||(b=a.F.ib(),a.C.S(b,"contextmenu",a.q5),a.C.S(b,"touchstart",a.L_,null,!0),a.C.S(b,"touchmove",a.dW,null,!0),a.C.S(b,"touchend",a.dW,null,!0))}; OMa=function(a){a.F.isFullscreen()?g.oR(a.F,a.element,10):a.Ea(document.body)}; g.CT=function(a,b,c){c=void 0===c?240:c;g.T.call(this,{G:"button",Ia:["ytp-button","ytp-copylink-button"],X:{title:"{{title-attr}}","data-tooltip-opaque":String(g.oI(a.V()))},W:[{G:"div",N:"ytp-copylink-icon",qa:"{{icon}}"},{G:"div",N:"ytp-copylink-title",qa:"Copy link",X:{"aria-hidden":"true"}}]});this.api=a;this.j=b;this.u=c;this.visible=!1;this.tooltip=this.j.Dc();b=a.V();kT(this.tooltip);g.Co(this.element,"ytp-show-copylink-title",g.oI(b)&&!g.xI(b));a.sb(this.element,this,86570);this.Qa("click", this.onClick);this.S(a,"videodatachange",this.La);this.S(a,"videoplayerreset",this.La);this.S(a,"appresize",this.La);this.La();g.ab(this,g.gT(this.tooltip,this.element))}; PMa=function(a){var b=a.api.V(),c=a.api.getVideoData(),d=a.api.ib().getPlayerSize().width,e=b.K("shorts_mode_to_player_api")?a.api.Sb():a.j.Sb(),f=b.B;return!!c.videoId&&d>=a.u&&c.Wn&&!(c.D&&b.ea)&&!e&&!f}; QMa=function(a){a.updateValue("icon",gO());if(a.api.V().u)DT(a.tooltip,a.element,"Link copied to clipboard");else{a.updateValue("title-attr","Link copied to clipboard");ET(a.tooltip);DT(a.tooltip,a.element);var b=a.Qa("mouseleave",function(){a.Hc(b);a.La();a.tooltip.vk()})}}; RMa=function(a,b){return g.A(function(c){if(1==c.j)return g.ra(c,2),g.y(c,navigator.clipboard.writeText(b),4);if(2!=c.j)return c.return(!0);g.ta(c);var d=c.return,e=!1,f=g.Ne("TEXTAREA");f.value=b;f.setAttribute("readonly","");var h=a.api.getRootNode();h.appendChild(f);if(Ry){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)})}; FT=function(a){g.T.call(this,{G:"div",N:"ytp-doubletap-ui-legacy",W:[{G:"div",N:"ytp-doubletap-fast-forward-ve"},{G:"div",N:"ytp-doubletap-rewind-ve"},{G:"div",N:"ytp-doubletap-static-circle",W:[{G:"div",N:"ytp-doubletap-ripple"}]},{G:"div",N:"ytp-doubletap-overlay-a11y"},{G:"div",N:"ytp-doubletap-seek-info-container",W:[{G:"div",N:"ytp-doubletap-arrows-container",W:[{G:"span",N:"ytp-doubletap-base-arrow"},{G:"span",N:"ytp-doubletap-base-arrow"},{G:"span",N:"ytp-doubletap-base-arrow"}]},{G:"div", N:"ytp-doubletap-tooltip",W:[{G:"div",N:"ytp-chapter-seek-text-legacy",qa:"{{seekText}}"},{G:"div",N:"ytp-doubletap-tooltip-label",qa:"{{seekTime}}"}]}]}]});this.F=a;this.C=new g.qo(this.show,10,this);this.u=new g.qo(this.hide,700,this);this.I=this.B=0;this.D=!1;this.j=this.Da("ytp-doubletap-static-circle");g.D(this,this.C);g.D(this,this.u);this.hide();this.J=this.Da("ytp-doubletap-fast-forward-ve");this.T=this.Da("ytp-doubletap-rewind-ve");this.F.sb(this.J,this,28240);this.F.sb(this.T,this,28239); this.F.Ua(this.J,!0);this.F.Ua(this.T,!0);this.D=a.K("web_show_cumulative_seek_time")}; GT=function(a,b,c){a.B=b===a.I?a.B+c:c;a.I=b;var d=a.F.ib().getPlayerSize();a.D?a.u.stop():g.to(a.u);a.C.start();a.element.setAttribute("data-side",-1===b?"back":"forward");g.yo(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";SMa(a,a.D?a.B:c)}; HT=function(a,b,c){g.to(a.u);a.C.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.yo(a.element,"ytp-chapter-seek");a.updateValue("seekText",c);a.updateValue("seekTime","")}; SMa=function(a,b){b=g.sM("$TOTAL_SEEK_TIME seconds",{TOTAL_SEEK_TIME:b.toString()});a.updateValue("seekTime",b)}; KT=function(a,b,c){c=void 0===c?!0:c;g.T.call(this,{G:"div",N:"ytp-suggested-action"});var d=this;this.F=a;this.jb=b;this.Ta=this.D=this.u=this.B=this.j=this.I=this.expanded=this.enabled=this.ea=!1;this.Ma=new g.qo(function(){d.badge.element.style.width=""},200,this); this.Y=new g.qo(function(){IT(d);JT(d)},200,this); this.dismissButton=new g.T({G:"button",Ia:["ytp-suggested-action-badge-dismiss-button-icon","ytp-button"]});g.D(this,this.dismissButton);this.C=new g.T({G:"div",N:"ytp-suggested-action-badge-expanded-content-container",W:[{G:"label",N:"ytp-suggested-action-badge-title",qa:"{{badgeLabel}}"},this.dismissButton]});g.D(this,this.C);this.badge=new g.T({G:"button",Ia:["ytp-button","ytp-suggested-action-badge","ytp-suggested-action-badge-with-controls"],W:[c?{G:"div",N:"ytp-suggested-action-badge-icon"}: "",this.C]});g.D(this,this.badge);this.badge.Ea(this.element);this.J=new g.QO(this.badge,250,!1,100);g.D(this,this.J);this.ya=new g.QO(this.C,250,!1,100);g.D(this,this.ya);this.Ra=new g.oo(this.E8,null,this);g.D(this,this.Ra);this.oa=new g.oo(this.m2,null,this);g.D(this,this.oa);g.D(this,this.Ma);g.D(this,this.Y);this.F.Bg(this.badge.element,this.badge,!0);this.F.Bg(this.dismissButton.element,this.dismissButton,!0);this.S(this.F,"onHideControls",function(){d.u=!1;JT(d);IT(d);d.bk()}); this.S(this.F,"onShowControls",function(){d.u=!0;JT(d);IT(d);d.bk()}); this.S(this.badge.element,"click",this.KG);this.S(this.dismissButton.element,"click",this.KC);this.S(this.F,"pageTransition",this.M_);this.S(this.F,"appresize",this.bk);this.S(this.F,"fullscreentoggled",this.B5);this.S(this.F,"cardstatechange",this.h5);this.S(this.F,"annotationvisibility",this.j9,this);this.S(this.F,"offlineslatestatechange",this.k9,this)}; IT=function(a){g.Co(a.badge.element,"ytp-suggested-action-badge-with-controls",a.u||!a.I)}; JT=function(a,b){var c=a.D||a.u||!a.I;a.expanded!==c&&(a.expanded=c,void 0===b||b?(a.Ra.stop(),a.oa.stop(),a.Ma.stop(),a.Ra.start()):(g.bO(a.C,a.expanded),g.Co(a.badge.element,"ytp-suggested-action-badge-expanded",a.expanded)),TMa(a))}; TMa=function(a){a.j&&a.F.Ua(a.badge.element,a.Jz());a.B&&a.F.Ua(a.dismissButton.element,a.Jz()&&(a.D||a.u||!a.I))}; UMa=function(a){var b=a.text||"";g.$e(g.He("ytp-suggested-action-badge-title",a.element),b);cO(a.badge,b);cO(a.dismissButton,a.Za?a.Za:"")}; LT=function(a,b){b?a.B&&a.F.ob(a.dismissButton.element):a.j&&a.F.ob(a.badge.element)}; MT=function(a,b){KT.call(this,a,b,!1);this.Fa=[];this.I=!0;this.badge.element.classList.add("ytp-featured-product");this.banner=new g.T({G:"a",N:"ytp-featured-product-container",X:{href:"{{url}}",target:"_blank"},W:[{G:"div",N:"ytp-featured-product-thumbnail",W:[{G:"img",X:{src:"{{thumbnail}}"}},{G:"div",N:"ytp-featured-product-open-in-new"}]},{G:"div",N:"ytp-featured-product-details",W:[{G:"text",N:"ytp-featured-product-title",qa:"{{title}}"},{G:"text",N:"ytp-featured-product-vendor",qa:"{{vendor}}"}, {G:"text",N:"ytp-featured-product-price",qa:"{{price}}"}]},this.dismissButton]});g.D(this,this.banner);this.C.element.replaceChildren(this.banner.element);this.S(this.F,g.mC("featured_product"),this.t8);this.S(this.F,g.nC("featured_product"),this.hO);this.S(this.F,"videodatachange",this.onVideoDataChange)}; NT=function(a){a.Fa=[];a.F.Gf("featured_product")}; OT=function(a,b,c){g.T.call(this,{G:"div",Ia:["ytp-info-panel-action-item"],W:[{G:"div",N:"ytp-info-panel-action-item-disclaimer",qa:"{{disclaimer}}"},{G:"a",Ia:["ytp-info-panel-action-item-button","ytp-button"],X:{role:"button",href:"{{url}}",target:"_blank",rel:"noopener"},W:[{G:"div",N:"ytp-info-panel-action-item-icon",qa:"{{icon}}"},{G:"div",N:"ytp-info-panel-action-item-label",qa:"{{label}}"}]}]});this.F=a;this.j=c;this.disclaimer=this.Da("ytp-info-panel-action-item-disclaimer");this.button= this.Da("ytp-info-panel-action-item-button");this.Ee=!1;this.F.Bg(this.element,this,!0);this.Qa("click",this.onClick);a="";c=g.K(null==b?void 0:b.onTap,KR);var d=g.K(c,g.xK);this.Ee=!1;d?(a=d.url||"",a.startsWith("//")&&(a="https:"+a),this.Ee=!0,ij(this.button,g.Ud(a))):(d=g.K(c,VMa))&&!this.j?((a=d.phoneNumbers)&&0b);d=a.next())c++;return 0===c?c:c-1}; aNa=function(a,b){for(var c=0,d=g.t(a),e=d.next();!e.done;e=d.next()){e=e.value;if(b=e.timeRangeStartMillis&&b=a.C&&!b}; nNa=function(a,b){"InvalidStateError"!==b.name&&"AbortError"!==b.name&&("NotAllowedError"===b.name?(a.j.El(),rR(a.B,a.element,!1)):g.PB(b))}; g.kU=function(a,b){var c=YN(),d=a.V();c={G:"div",N:"ytp-share-panel",X:{id:YN(),role:"dialog","aria-labelledby":c},W:[{G:"div",N:"ytp-share-panel-inner-content",W:[{G:"div",N:"ytp-share-panel-title",X:{id:c},qa:"Share"},{G:"a",Ia:["ytp-share-panel-link","ytp-no-contextmenu"],X:{href:"{{link}}",target:d.Y,title:"Share link","aria-label":"{{shareLinkWithUrl}}"},qa:"{{linkText}}"},{G:"label",N:"ytp-share-panel-include-playlist",W:[{G:"input",N:"ytp-share-panel-include-playlist-checkbox",X:{type:"checkbox", checked:"true"}},"Include playlist"]},{G:"div",N:"ytp-share-panel-loading-spinner",W:[LS()]},{G:"div",N:"ytp-share-panel-service-buttons",qa:"{{buttons}}"},{G:"div",N:"ytp-share-panel-error",qa:"An error occurred while retrieving sharing information. Please try again later."}]},{G:"button",Ia:["ytp-share-panel-close","ytp-button"],X:{title:"Close"},W:[g.jO()]}]};g.qR.call(this,a,c,250);var e=this;this.moreButton=null;this.api=a;this.tooltip=b.Dc();this.B=[];this.D=this.Da("ytp-share-panel-inner-content"); this.closeButton=this.Da("ytp-share-panel-close");this.S(this.closeButton,"click",this.Bb);g.ab(this,g.gT(this.tooltip,this.closeButton));this.C=this.Da("ytp-share-panel-include-playlist-checkbox");this.S(this.C,"click",this.La);this.j=this.Da("ytp-share-panel-link");g.ab(this,g.gT(this.tooltip,this.j));this.api.sb(this.j,this,164503);this.S(this.j,"click",function(f){if(e.api.K("web_player_add_ve_conversion_logging_to_outbound_links")){g.fA(f);e.api.ob(e.j);var h=e.api.getVideoUrl(!0,!0,!1,!1);h= oNa(e,h);g.KS(h,e.api,f)&&e.api.Na("SHARE_CLICKED")}else e.api.ob(e.j)}); this.Qa("click",this.T_);this.S(a,"videoplayerreset",this.hide);this.S(a,"fullscreentoggled",this.onFullscreenToggled);this.S(a,"onLoopRangeChange",this.b4);this.hide()}; qNa=function(a,b){pNa(a);for(var c=b.links||b.shareTargets,d=0,e={},f=0;fd;e={er:e.er,gk:e.gk},f++){e.er=c[f];a:switch(e.er.img||e.er.iconId){case "facebook":var h={G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},W:[{G:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"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={G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},W:[{G:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"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.er.sname||e.er.serviceName;e.gk=new g.T({G:"a",Ia:["ytp-share-panel-service-button","ytp-button"],X:{href:e.er.url,target:"_blank",title:l},W:[h]});e.gk.Qa("click",function(p){return function(q){if(g.fP(q)){var r=p.er.url;var w=void 0===w?{}:w;w.target=w.target||"YouTube";w.width=w.width||"600";w.height=w.height||"600";var x=w;x||(x={});w=window;var z=r instanceof Rd?r:g.Ud("undefined"!=typeof r.href?r.href:String(r));var B=void 0!==self.crossOriginIsolated, E="strict-origin-when-cross-origin";window.Request&&(E=(new Request("/")).referrerPolicy);var G="unsafe-url"===E;E=x.noreferrer;if(B&&E){if(G)throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");E=!1}r=x.target||r.target;B=[];for(var F in x)switch(F){case "width":case "height":case "top":case "left":B.push(F+"="+x[F]);break;case "target":case "noopener":case "noreferrer":break;default:B.push(F+"="+(x[F]?1:0))}F=B.join(",");rc()&& w.navigator&&w.navigator.standalone&&r&&"_self"!=r?(x=g.Ne("A"),g.ee(x,z),x.target=r,E&&(x.rel="noreferrer"),z=document.createEvent("MouseEvent"),z.initMouseEvent("click",!0,!0,w,1),x.dispatchEvent(z),w={}):E?(w=fe("",w,r,F),z=g.Sd(z),w&&(g.QI&&g.Pb(z,";")&&(z="'"+z.replace(/'/g,"%27")+"'"),w.opener=null,""===z&&(z="javascript:''"),g.Nd("b/12014412, meta tag with sanitized URL"),z='',z=g.de(z),(x=w.document)&& x.write&&(x.write(g.ce(z)),x.close()))):((w=fe(z,w,r,F))&&x.noopener&&(w.opener=null),w&&x.noreferrer&&(w.opener=null));w&&(w.opener||(w.opener=window),w.focus());g.fA(q)}}}(e)); g.ab(e.gk,g.gT(a.tooltip,e.gk.element));"Facebook"===l?a.api.sb(e.gk.element,e.gk,164504):"Twitter"===l&&a.api.sb(e.gk.element,e.gk,164505);a.S(e.gk.element,"click",function(p){return function(){a.api.ob(p.gk.element)}}(e)); a.api.Ua(e.gk.element,!0);a.B.push(e.gk);d++}}var m=b.more||b.moreLink,n=new g.T({G:"a",Ia:["ytp-share-panel-service-button","ytp-button"],W:[{G:"span",N:"ytp-share-panel-service-button-more",W:[{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},W:[{G:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"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:"More"}});n.Qa("click",function(p){var q=m;a.api.K("web_player_add_ve_conversion_logging_to_outbound_links")&&(a.api.ob(a.moreButton.element),q=oNa(a,q));g.KS(q,a.api,p)&&a.api.Na("SHARE_CLICKED")}); g.ab(n,g.gT(a.tooltip,n.element));a.api.sb(n.element,n,164506);a.api.K("web_player_add_ve_conversion_logging_to_outbound_links")||a.S(n.element,"click",function(){a.api.ob(n.element)}); a.api.Ua(n.element,!0);a.B.push(n);a.moreButton=n;a.updateValue("buttons",a.B)}; oNa=function(a,b){var c=a.api.V(),d={};c.Aa&&g.oI(c)&&g.uQ(d,c.loaderUrl);g.oI(c)&&(g.UQ(a.api,"addEmbedsConversionTrackingParams",[d]),b=g.ri(b,g.tQ(d,"emb_share")));return b}; pNa=function(a){for(var b=g.t(a.B),c=b.next();!c.done;c=b.next())c=c.value,c.detach(),g.Ya(c);a.B=[]}; rNa=function(a,b){KT.call(this,a,b);var c=this;this.T=this.Fa=this.Ja=!1;this.S(this.F,g.mC("shopping_overlay_visible"),function(){c.Ig(!0)}); this.S(this.F,g.nC("shopping_overlay_visible"),function(){c.Ig(!1)}); this.S(this.F,g.mC("shopping_overlay_expanded"),function(){c.D=!0;JT(c)}); this.S(this.F,g.nC("shopping_overlay_expanded"),function(){c.D=!1;JT(c)}); this.S(this.F,"changeProductsInVideoVisibility",this.k6);this.S(this.F,"videodatachange",this.onVideoDataChange);this.S(this.F,"paidcontentoverlayvisibilitychange",this.d6)}; sNa=function(a){a.F.Gf("shopping_overlay_visible");a.F.Gf("shopping_overlay_expanded")}; uNa=function(a,b){g.T.call(this,{G:"div",N:"ytp-shorts-title-channel",W:[{G:"a",N:"ytp-shorts-title-channel-logo",X:{href:"{{channelLink}}",target:a.V().Y,"aria-label":"{{channelLogoLabel}}"}},{G:"div",N:"ytp-shorts-title-expanded-heading",W:[{G:"div",N:"ytp-shorts-title-expanded-title",W:[{G:"a",qa:"{{expandedTitle}}",X:{href:"{{channelTitleLink}}",target:a.V().Y,tabIndex:"0"}}]}]}]});var c=this;this.api=a;this.u=b;this.j=this.Da("ytp-shorts-title-channel-logo");this.subscribeButton=null;a.sb(this.j, this,36925);this.S(this.j,"click",function(){c.api.ob(c.j)}); tNa(this);this.S(a,"videodatachange",this.La);this.S(a,"videoplayerreset",this.La);this.La()}; tNa=function(a){if(!a.api.V().Ec){var b=a.api.getVideoData(),c=new g.lT("Subscribe",null,"Subscribed",null,!0,!1,b.dk,b.subscribed,"channel_avatar",null,null,a.api,a.u);a.api.Bg(c.element,a);var d;a.api.Lg(c.element,(null==(d=b.subscribeButtonRenderer)?void 0:d.trackingParams)||null);a.S(c.element,"click",function(){a.api.ob(c.element)}); a.subscribeButton=c;g.D(a,a.subscribeButton);a.subscribeButton.Ea(a.element)}}; vNa=function(a,b){var c={};a.api.V().Aa&&g.uQ(c,a.api.V().loaderUrl);g.UQ(a.api,"addEmbedsConversionTrackingParams",[c]);return g.ri(b,g.tQ(c,"emb_ch_name_ex"))}; lU=function(a){g.qR.call(this,a,{G:"button",Ia:["ytp-skip-intro-button","ytp-popup","ytp-button"],W:[{G:"div",N:"ytp-skip-intro-button-text",qa:"Skip Intro"}]},100);var b=this;this.B=!1;this.j=new g.qo(function(){b.hide()},5E3); this.gf=this.ah=NaN;g.D(this,this.j);this.I=function(){b.show()}; this.D=function(){b.hide()}; this.C=function(){var c=b.F.getCurrentTime();c>b.ah/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"}; g.vU=function(a,b){g.T.call(this,{G:"div",N:"ytp-storyboard-framepreview",W:[{G:"div",N:"ytp-storyboard-framepreview-img"}]});this.api=a;this.C=this.Da("ytp-storyboard-framepreview-img");this.u=null;this.B=NaN;this.events=new g.nG(this);this.j=new g.QO(this,100);g.D(this,this.events);g.D(this,this.j);this.S(this.api,"presentingplayerstatechange",this.ud);b&&this.S(this.element,"click",function(){b.Pr()})}; CNa=function(a,b){var c=!!a.u;a.u=b;a.u?(c||(a.events.S(a.api,"videodatachange",function(){CNa(a,a.api.Hj())}),a.events.S(a.api,"progresssync",a.Je),a.events.S(a.api,"appresize",a.D)),a.B=NaN,DNa(a),a.j.show(200)):(c&&g.mB(a.events),a.j.hide(),a.j.stop())}; DNa=function(a){var b=a.u,c=a.api.getCurrentTime(),d=a.api.ib().getPlayerSize(),e=$J(b,d.width);c=LAa(b,e,c);c!==a.B&&(a.B=c,FAa(b,c,d.width),b=Hya(b,c,d.width),BNa(a.C,b,d.width,d.height))}; g.wU=function(a,b){g.T.call(this,{G:"button",Ia:["ytp-fullscreen-button","ytp-button"],X:{title:"{{title}}","aria-keyshortcuts":"f","data-title-no-tooltip":"{{data-title-no-tooltip}}"},qa:"{{icon}}"});this.F=a;this.u=b;this.message=null;this.j=g.gT(this.u.Dc(),this.element);this.B=new g.qo(this.C1,2E3,this);g.D(this,this.B);this.S(a,"fullscreentoggled",this.Vl);this.S(a,"presentingplayerstatechange",this.La);this.Qa("click",this.onClick);g.gB()&&(b=this.F.ib(),this.S(b,wra(),this.lN),this.S(b,jB(document), this.Cq));a.V().Tb||a.V().J||this.disable();a.sb(this.element,this,139117);this.La();this.Vl(a.isFullscreen())}; xU=function(a,b,c){g.T.call(this,{G:"button",Ia:["ytp-button","ytp-jump-button"],X:{title:"{{title}}","aria-keyshortcuts":"{{aria-keyshortcuts}}","data-title-no-tooltip":"{{data-title-no-tooltip}}",style:"display: none;"},W:[0=h)break}a.D=d;a.frameCount=b.zE();a.interval=b.j/1E3||a.api.getDuration()/a.frameCount}for(;a.thumbnails.length>a.D.length;)d= void 0,null==(d=a.thumbnails.pop())||d.dispose();for(;a.thumbnails.lengthc.length;)d=void 0,null==(d=a.j.pop())||d.dispose(); for(;a.j.length-c?-b/c*a.interval*.5:-(b+c/2)/c*a.interval}; bOa=function(a){return-((a.B.offsetWidth||(a.frameCount-1)*a.I*a.scale)-a.C/2)}; ZNa=function(){g.T.call(this,{G:"div",N:"ytp-fine-scrubbing-thumbnail"})}; $Na=function(){g.T.call(this,{G:"div",N:"ytp-fine-scrubbing-chapter-title",W:[{G:"div",N:"ytp-fine-scrubbing-chapter-title-content",qa:"{{chapterTitle}}"}]})}; eOa=function(a,b,c,d){d=void 0===d?!1:d;b=new dOa(b||a,c||a);return{x:a.x+.2*((void 0===d?0:d)?-1*b.j:b.j),y:a.y+.2*((void 0===d?0:d)?-1*b.u:b.u)}}; dOa=function(a,b){this.u=this.j=0;this.j=b.x-a.x;this.u=b.y-a.y}; fOa=function(a){g.T.call(this,{G:"div",N:"ytp-heat-map-chapter",W:[{G:"svg",N:"ytp-heat-map-svg",X:{height:"100%",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 1000 100",width:"100%"},W:[{G:"defs",W:[{G:"clipPath",X:{id:"{{id}}"},W:[{G:"path",N:"ytp-heat-map-path",X:{d:"",fill:"white","fill-opacity":"0.6"}}]}]},{G:"rect",N:"ytp-heat-map-graph",X:{"clip-path":"url(#hm_1)",fill:"white","fill-opacity":"0.2",height:"100%",width:"100%",x:"0",y:"0"}},{G:"rect",N:"ytp-heat-map-hover",X:{"clip-path":"url(#hm_1)", height:"100%",x:"0",y:"0"}},{G:"rect",N:"ytp-heat-map-play",X:{"clip-path":"url(#hm_1)",height:"100%",x:"0",y:"0"}}]}]});this.api=a;this.I=this.Da("ytp-heat-map-svg");this.D=this.Da("ytp-heat-map-path");this.C=this.Da("ytp-heat-map-graph");this.B=this.Da("ytp-heat-map-play");this.u=this.Da("ytp-heat-map-hover");this.Ee=!1;this.j=60;a=""+g.Oa(this);this.update({id:a});a="url(#"+a+")";this.C.setAttribute("clip-path",a);this.B.setAttribute("clip-path",a);this.u.setAttribute("clip-path",a)}; GU=function(){g.T.call(this,{G:"div",N:"ytp-chapter-hover-container",W:[{G:"div",N:"ytp-progress-bar-padding"},{G:"div",N:"ytp-progress-list",W:[{G:"div",Ia:["ytp-play-progress","ytp-swatch-background-color"]},{G:"div",N:"ytp-progress-linear-live-buffer"},{G:"div",N:"ytp-load-progress"},{G:"div",N:"ytp-hover-progress"},{G:"div",N:"ytp-ad-progress-list"}]}]});this.startTime=NaN;this.title="";this.index=NaN;this.width=0;this.C=this.Da("ytp-progress-linear-live-buffer");this.B=this.Da("ytp-ad-progress-list"); this.D=this.Da("ytp-load-progress");this.I=this.Da("ytp-play-progress");this.u=this.Da("ytp-hover-progress");this.j=this.Da("ytp-chapter-hover-container")}; HU=function(a,b){g.Jl(a.j,"width",b)}; gOa=function(a,b){g.Jl(a.j,"margin-right",b+"px")}; hOa=function(){this.fraction=this.position=this.B=this.j=this.C=this.u=this.width=NaN}; iOa=function(){g.T.call(this,{G:"div",N:"ytp-timed-marker"});this.j=this.timeRangeStartMillis=NaN;this.title="";this.onActiveCommand=void 0}; jOa=function(a){return a.K("embeds_web_enable_video_data_refactoring_offline_and_progress_bar")}; g.JU=function(a,b){g.dO.call(this,{G:"div",N:"ytp-progress-bar-container",X:{"aria-disabled":"true"},W:[{G:"div",Ia:["ytp-heat-map-container"],W:[{G:"div",N:"ytp-heat-map-edu"}]},{G:"div",Ia:["ytp-progress-bar"],X:{tabindex:"0",role:"slider","aria-label":"Seek slider","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},W:[{G:"div",N:"ytp-chapters-container"},{G:"div",N:"ytp-marker-crenellation-list"},{G:"div",N:"ytp-timed-markers-container"}, {G:"div",N:"ytp-clip-start-exclude"},{G:"div",N:"ytp-clip-end-exclude"},{G:"div",N:"ytp-scrubber-container",W:[{G:"div",Ia:["ytp-scrubber-button","ytp-swatch-background-color"],W:[{G:"div",N:"ytp-scrubber-pull-indicator"}]}]}]},{G:"div",Ia:["ytp-fine-scrubbing-container"],W:[{G:"div",N:"ytp-fine-scrubbing-edu"}]},{G:"div",N:"ytp-bound-time-left",qa:"{{boundTimeLeft}}"},{G:"div",N:"ytp-bound-time-right",qa:"{{boundTimeRight}}"},{G:"div",N:"ytp-clip-start",X:{title:"{{clipstarttitle}}"},qa:"{{clipstarticon}}"}, {G:"div",N:"ytp-clip-end",X:{title:"{{clipendtitle}}"},qa:"{{clipendicon}}"}]});this.api=a;this.If=!1;this.D=this.dh=0;this.jb=1;this.uf=this.Y=0;this.J=null;this.Fa=this.wd=0;this.tb=this.Da("ytp-marker-crenellation-list");this.Za={};this.Xc={};this.clipEnd=Infinity;this.Ec=this.Da("ytp-clip-end");this.Pd=new g.nU(this.Ec,!0);this.Rf=this.Da("ytp-clip-end-exclude");this.Mh=this.Da("ytp-clip-start-exclude");this.clipStart=0;this.Qc=this.Da("ytp-clip-start");this.oe=new g.nU(this.Qc,!0);this.oa=this.pc= 0;this.Jc=this.Da("ytp-progress-bar");this.hc={};this.Od={};this.Hd=this.Da("ytp-chapters-container");this.eh=this.Da("ytp-timed-markers-container");this.j=[];this.T=[];this.xf={};this.Yg=null;this.kb=-1;this.ac=this.Ja=0;this.ea=null;this.vf=this.Da("ytp-scrubber-button");this.Oh=this.Da("ytp-scrubber-container");this.Tb=new g.me;this.Zg=new hOa;this.B=new iP(0,0);this.Db=null;this.C=this.Bd=!1;this.ah=null;this.ya=this.Da("ytp-heat-map-container");this.df=this.Da("ytp-heat-map-edu");this.I=[];this.heatMarkersDecorations= [];this.Fb=this.Da("ytp-fine-scrubbing-container");this.pe=this.Da("ytp-fine-scrubbing-edu");this.u=void 0;this.Ma=this.Ta=this.gf=this.Ra=!1;this.tooltip=b.Dc();g.ab(this,g.gT(this.tooltip,this.Ec));g.D(this,this.Pd);this.Pd.subscribe("hoverstart",this.wV,this);this.Pd.subscribe("hoverend",this.vV,this);this.S(this.Ec,"click",this.vH);g.ab(this,g.gT(this.tooltip,this.Qc));g.D(this,this.oe);this.oe.subscribe("hoverstart",this.wV,this);this.oe.subscribe("hoverend",this.vV,this);this.S(this.Qc,"click", this.vH);kOa(this);this.S(a,"resize",this.Eb);this.S(a,"presentingplayerstatechange",this.Y_);this.S(a,"videodatachange",this.Cs);this.S(a,"videoplayerreset",this.f3);this.S(a,"cuerangesadded",this.gY);this.S(a,"cuerangesremoved",this.d8);this.S(a,"cuerangemarkersupdated",this.gY);this.S(a,"onLoopRangeChange",this.jR);this.S(a,"innertubeCommand",this.onClickCommand);this.S(a,g.mC("timedMarkerCueRange"),this.i7);this.S(a,"updatemarkervisibility",this.eY);this.updateVideoData(a.getVideoData(),!0);this.jR(a.getLoopRange()); IU(this)&&!this.u&&(this.u=new XNa(this.api,this.tooltip),a=g.Rl(this.element).x||0,this.u.Eb(a,this.D),this.u.Ea(this.Fb),g.D(this,this.u),this.S(this.u.dismissButton,"click",this.Pr),this.S(this.u.playButton,"click",this.eL),this.S(this.u.element,"dblclick",this.eL));a=this.api.V();g.oI(a)&&a.u&&g.yo(this.element,"ytp-no-contextmenu");this.api.sb(this.ya,this,139609,!0);this.api.sb(this.df,this,140127,!0);this.api.sb(this.pe,this,151179,!0);this.api.sb(this.tb,this,145078,!0);this.api.K("web_modern_miniplayer")&& (this.element.hidden=!0)}; kOa=function(a){if(0===a.j.length){var b=new GU;a.j.push(b);g.D(a,b);b.Ea(a.Hd,0)}for(;1=h&&z<=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.ac&&(a.ac=m/f),d=!0)}c++}}return d}; MU=function(a){if(a.D){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:hL(d))&&b.airingStart&&b.airingEnd?zOa(a,b.airingStart,b.airingEnd):zOa(a,b.seekableStart,b.seekableEnd);d=lP(c,b.loaded,0);b=lP(c,b.current,0);var e=a.B.u!==c.u||a.B.j!==c.j;a.B=c;NU(a,b,d);e&&OU(a);AOa(a)}}}; zOa=function(a,b,c){return BOa(a)?new iP(Math.max(b,a.Db.startTimeMs/1E3),Math.min(c,a.Db.endTimeMs/1E3)):new iP(b,c)}; COa=function(a,b){var c;if("repeatChapter"===(null==(c=a.Db)?void 0:c.type)||"repeatChapter"===(null==b?void 0:b.type))b&&(b=a.j[TT(a.j,b.startTimeMs)],g.Co(b.j,"ytp-repeating-chapter",!1)),a.Db&&(b=a.j[TT(a.j,a.Db.startTimeMs)],g.Co(b.j,"ytp-repeating-chapter",!0)),a.j.forEach(function(d){g.Co(d.j,"ytp-exp-chapter-hover-container",!a.Db)})}; QU=function(a,b){var c=kP(a.B,b.fraction);if(1=a.j.length?!1:4>Math.abs(b-a.j[c].startTime/1E3)/a.B.j*(a.D-(a.C?3:2)*a.Ja)}; EOa=function(a,b,c,d){b=g.ie(b,0,a.C?60:40);a.Y=b;var e=a.jb;a.jb=b/(a.C?60:40)*(Math.max(jP(a.B)/a.D,1)-1)+1;b=a.D*a.jb;a.Fa=g.ie(d*b-c,0,b-a.D);e!==a.jb&&OU(a)}; OU=function(a){if(1!==a.j.length||FOa(a))a.vf.style.removeProperty("height");else{var b=LU(a),c=-b.u/b.j,d=(-b.u+b.width)/b.j,e=kca(a.tb),f=0;if(a.Y>.2*(a.C?60:40)){for(var h=jP(a.B)/60*d,l=Math.ceil(jP(a.B)/60*c);l=f;c--)g.Xe(e[c]);a.element.style.height=a.Y+(a.C?8:5)+"px";a.ma("height-change",a.Y);a.vf.style.height=a.Y+(a.C?20:13)+"px"}e=g.t(Object.keys(a.Za));for(f=e.next();!f.done;f=e.next())GOa(a,f.value);RU(a);NU(a,a.oa,a.pc)}; LU=function(a){var b=a.Tb.x,c=a.D*a.jb;b=g.ie(b,0,a.D);a.Zg.update(b,a.D,-a.Fa,-(c-a.Fa-a.D));return a.Zg}; TU=function(a){return(a.C?135:90)-SU(a)}; SU=function(a){var b=48,c=a.api.V();a.C?b=54:g.oI(c)&&!c.u&&(b=40);return b}; NU=function(a,b,c){a.oa=b;a.pc=c;var d=LU(a),e=a.B.j,f=kP(a.B,a.oa),h=g.sM("$PLAY_PROGRESS of $DURATION",{PLAY_PROGRESS:g.eP(f,!0),DURATION:g.eP(e,!0)}),l=TT(a.j,1E3*f);l=a.j[l].title;a.update({ariamin:Math.floor(a.B.u),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:l?l+" "+h:h});e=a.clipStart;f=a.clipEnd;a.Db&&2!==a.api.getPresentingPlayerType()&&(e=a.Db.startTimeMs/1E3,f=a.Db.endTimeMs/1E3);e=lP(a.B,e,0);l=lP(a.B,f,1);h=a.api.getVideoData();f=g.ie(b,e,l);c=(null==h?0:g.fL(h))?1:g.ie(c, e,l);b=wOa(a,b,d);g.Jl(a.Oh,"transform","translateX("+b+"px)");UU(a,d,e,f,"PLAY_PROGRESS");(null==h?0:hL(h))?(b=a.api.getProgressState().seekableEnd)&&UU(a,d,f,lP(a.B,b),"LIVE_BUFFER"):UU(a,d,e,c,"LOAD_PROGRESS");if(a.api.K("web_player_heat_map_played_bar")){var m;null!=(m=a.I[0])&&m.B.setAttribute("width",(100*f).toFixed(2)+"%")}}; UU=function(a,b,c,d,e){var f=a.j.length,h=b.j-a.Ja*(a.C?3:2),l=c*h;c=PU(a,l);var m=d*h;h=PU(a,m);"HOVER_PROGRESS"===e&&(h=PU(a,b.j*d,!0),m=b.j*d-HOa(a,b.j*d)*(a.C?3:2));b=Math.max(l-IOa(a,c),0);for(d=c;d=a.j.length)return a.D;for(var c=0,d=0;de.width)b-=e.width;else break;d++}return d===a.j.length?d-1:d}; wOa=function(a,b,c){for(var d=b*a.B.j*1E3,e=-1,f=g.t(a.j),h=f.next();!h.done;h=f.next())h=h.value,d>h.startTime&&0e?0:e)+c.u}; HOa=function(a,b){for(var c=a.j.length,d=0,e=g.t(a.j),f=e.next();!f.done;f=e.next())if(f=f.value,0!==f.width)if(b>f.width)b-=f.width,b-=a.C?3:2,d++;else break;return d===c?c-1:d}; g.WU=function(a,b,c,d){var e=a.D!==c,f=a.C!==d;a.dh=b;a.D=c;a.C=d;IU(a)&&null!=(b=a.u)&&(b.scale=d?1.5:1);OU(a);1===a.j.length&&(a.j[0].width=c||0);e&&g.KU(a);a.u&&f&&IU(a)&&(a.u.isEnabled&&(c=a.C?135:90,d=c-SU(a),a.Fb.style.height=c+"px",g.Jl(a.ya,"transform","translateY("+-d+"px)"),g.Jl(a.Jc,"transform","translateY("+-d+"px)")),aOa(a.u))}; RU=function(a){var b=!!a.Db&&2!==a.api.getPresentingPlayerType(),c=a.clipStart,d=a.clipEnd,e=!0,f=!0;b&&a.Db?(c=a.Db.startTimeMs/1E3,d=a.Db.endTimeMs/1E3):(e=c>a.B.u,f=0a.oa);g.Co(a.vf,"ytp-scrubber-button-hover",c===d&&1=this.bd.cI&&(c.showMiniplayerButton&&(this.I=new zU(a,b),g.D(this,this.I),this.I.Ea(this.j.element)),this.Aa.Ea(this.j.element),l.RN||this.Aa.hide(),c.Ic||(l=new tV(a,b),g.D(this,l),l.Ea(this.j.element)),c.hc&&(l=new YU(a,b,this.bd),g.D(this,l),l.Ea(this.j.element)),c.ol&&(c=new qU(a,b),g.D(this,c),c.Ea(this.j.element))); g.D(this,this.Za);this.Za.Ea(this.j.element);g.D(this,this.mf);this.S(a,"appresize",this.Eb);this.S(a,"fullscreentoggled",this.Eb);this.S(a,"presentingplayerstatechange",this.sJ);this.S(a,"videodatachange",this.onVideoDataChange);this.Eb()}; rPa=function(a,b){a.F.Gb().isCued()||b?b&&(a.ya.hide(),a.Fa.hide(),a.J&&a.J.kc(!1),a.D&&a.D.kc(!1),a.I&&a.I.kc(!1),a.u.Dc().vk(a.xb())):b||(a.ya.show(),a.Fa.show(),a.J&&a.J.kc(!0),a.D&&a.D.kc(!0),a.I&&a.I.kc(!0),a.cn())}; tPa=function(a){var b=a.F.ib().getPlayerSize().width;return Math.max(b-2*sPa(a),100)}; sPa=function(a){var b=a.u.og(),c=a.F.getVideoData().D,d=a.F.V().K("shorts_mode_to_player_api")?a.F.Sb():a.u.Sb(),e=0;a.u.og()&&d&&(e=(a.F.ib().getPlayerSize().width-a.F.getVideoContentRect().width)/2);return 12*(c?0:b?2:1)+e}; uPa=function(a){var b=a.u.og()?72:50;a=a.F.V();g.MI(a)&&(b=62,g.uI(a)&&(b=54));return b}; vPa=function(a,b){KT.call(this,a,b,!1);var c=this;this.suggestedActions={};this.S(this.F,"videodatachange",this.onVideoDataChange);this.S(this.F,g.mC("suggested_action_button_visible"),function(d){c.CO(d.id);c.enabled=!0;c.Ig()}); this.S(this.F,g.nC("suggested_action_button_visible"),function(d){c.enabled=!1;c.Ig();c.F.K("suggested_actions_clear_cuerange_after_use")&&c.F.removeCueRange(d.id)})}; wPa=function(a){a.suggestedActions={};a.F.Gf("suggested_action_button_visible")}; CV=function(a){g.T.call(this,{G:"div",N:BV.TITLE,W:[{G:"div",N:BV.TEXT,W:[{G:"a",Ia:[BV.LINK,BV.SESSIONLINK],X:{target:a.V().Y,href:"{{url}}","data-sessionlink":"feature=player-title",tabIndex:"{{channelTitleFocusable}}"},qa:"{{title}}"},{G:"div",N:BV.SUBTEXT,W:["{{subtextElement}}"]}]}]});this.api=a;this.j=null;this.link=this.Da(BV.LINK);a.sb(this.element,this,23851);this.S(a,"videodatachange",this.La);this.S(a,"videoplayerreset",this.La);this.La()}; xPa=function(a){a.updateValue("channelLink","");a.updateValue("channelName","");g.uI(a.api.V())?a.updateValue("channelTitleFocusable","0"):a.updateValue("channelTitleFocusable","-1")}; g.DV=function(a,b){g.T.call(this,{G:"div",W:[{G:"div",N:"ytp-tooltip-text-wrapper",X:{"aria-hidden":"{{ariaHidden}}"},W:[{G:"div",N:"ytp-tooltip-edu",W:[{G:"svg",X:{height:"100%",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",X:{d:"M14.1 36.75 12 34.65 24 22.65 36 34.65 33.9 36.75 24 26.85ZM14.1 24.1 12 22 24 10 36 22 33.9 24.1 24 14.2Z"}}]},{G:"span",qa:"{{eduText}}"}]},{G:"div",N:"ytp-tooltip-image"},{G:"div",N:"ytp-tooltip-title",W:[{G:"svg",X:{height:"100%",viewBox:"0 0 24 24",width:"100%"},W:[{G:"g", W:[{G:"rect",X:{fill:"none",height:"24",width:"24",x:"0"}}]},{G:"g",W:[{G:"g",W:[{G:"polygon",X:{points:"19,9 20.25,6.25 23,5 20.25,3.75 19,1 17.75,3.75 15,5 17.75,6.25"}},{G:"polygon",X:{points:"19,15 17.75,17.75 15,19 17.75,20.25 19,23 20.25,20.25 23,19 20.25,17.75"}},{G:"path",X:{d:"M11.5,9.5L9,4L6.5,9.5L1,12l5.5,2.5L9,20l2.5-5.5L17,12L11.5,9.5z M9.99,12.99L9,15.17l-0.99-2.18L5.83,12l2.18-0.99 L9,8.83l0.99,2.18L12.17,12L9.99,12.99z"}}]}]}]},{G:"span",qa:"{{title}}"}]},{G:"span",N:"ytp-tooltip-text", qa:"{{text}}"}]},{G:"div",N:"ytp-tooltip-bg",W:[{G:"div",N:"ytp-tooltip-duration",qa:"{{duration}}"}]}]});var c=this;this.api=a;this.Ra=b;this.env=this.api.V();this.Ma=this.env.u;this.bg=this.Da("ytp-tooltip-bg");this.Ta=this.Da("ytp-tooltip-edu");this.image=this.Da("ytp-tooltip-image");this.text=this.Da("ytp-tooltip-text");this.title=this.Da("ytp-tooltip-title");this.ea=function(d){(d=dA(d))&&g.Ze(c.j,d)||c.Ln()}; this.D=function(d){3===c.type&&c.Ln();(d=d.currentTarget)&&1===d.nodeType&&!c.type&&(d.removeEventListener("mouseover",c.D),d.addEventListener("mouseout",c.ea),d.removeEventListener("focus",c.D),d.addEventListener("blur",c.ea),yPa(c,d,2))}; this.oa=function(){c.Ln()}; this.j=null;this.I=new g.QO(this,100);this.type=null;this.Y=!1;this.u=null;this.C=NaN;this.B="";this.tJ=this.api.ib().getPlayerSize().width;this.T=!0;this.scale=1;this.J=160;this.Ja=90;this.ya=new g.qo(this.X3,250,this);this.Fa=new g.qo(this.Ln,5E3,this);g.D(this,this.I);g.D(this,this.ya);g.D(this,this.Fa);kI&&(a=this.Da("ytp-tooltip-text"),a.setAttribute("role","text"),a.setAttribute("aria-live","polite"));this.env.K("web_big_boards")&&(this.J=243,this.Ja=141)}; kT=function(a){a.element.setAttribute("aria-live","polite")}; BPa=function(a,b,c,d,e,f,h,l,m){if(!a.Ma||a.env.J){3===a.type&&a.Ln();1!==a.type&&(g.wo(a.element,"ytp-tooltip ytp-bottom"),(a.env.K("web_big_boards")||a.env.K("web_modern_scrubber")&&a.api.isInline())&&g.yo(a.element,"ytp-rounded-tooltip"),a.type=1,a.T&&a.I.show(),a.u&&a.u.dispose(),a.u=a.api.Hj(),a.u&&a.u.subscribe("l",a.HV,a));if(m){var n=g.$l(a.bg).height||90;a.Ta.style.bottom=n+2+"px"}a.update({text:d,title:null!=h?h:"",eduText:null!=m?m:""});g.Co(a.text,"ytp-tooltip-text-no-title",1===a.type&& !h);a.env.K("web_modern_scrubber")&&a.api.isInline()&&g.yo(a.text,"ytp-modern-tooltip-text");g.Co(a.element,"ytp-text-detail",!!e);d=-1;a.u&&(d=$J(a.u,a.J*a.scale),a.env.K("web_l3_storyboard")&&4===a.u.levels.length&&(d=a.u.levels.length-1),d=LAa(a.u,d,c));zPa(a,d);if(l)switch(c=g.$l(a.element).width,l){case 1:a.title.style.right="0";a.title.style.textAlign="left";break;case 2:a.title.style.right=c+"px";a.title.style.textAlign="right";break;case 3:a.title.style.right=c/2+"px",a.title.style.textAlign= "center"}APa(a,!!e,b,f)}}; g.EV=function(a){1===a.type&&a.Ln()}; g.gT=function(a,b){if(a.Ma)return function(){}; b.addEventListener("mouseover",a.D);b.addEventListener("focus",a.D);var c=b.getAttribute("title");c&&!b.hasAttribute("aria-label")&&b.setAttribute("aria-label",c);return function(){a.j===b&&a.Ln();b.removeEventListener("mouseover",a.D);b.removeEventListener("focus",a.D)}}; DT=function(a,b,c){if(a.type)if(3===a.type)a.Ln();else return;yPa(a,b,3,c)}; yPa=function(a,b,c,d){if(b&&!b.hasAttribute)a=new g.Sx("showElementTooltip called with non-element.",b.toString()),g.PB(a);else{isNaN(a.C)||(a.C=NaN,a.bg.style.background="");a.j=b;a.Y=!!d;d?a.B=d:(a.B=b.getAttribute("title"),b.removeAttribute("title"));g.wo(a.element,"ytp-tooltip");g.yo(a.element,"ytp-rounded-tooltip");var e=b.getAttribute("data-tooltip-image");e&&(a.image.style.backgroundImage="url("+e+")");d?a.update({ariaHidden:"false"}):a.update({ariaHidden:"true"});g.Co(a.element,"ytp-tooltip-image-enabled", !!e);b=b.getAttribute("data-tooltip-opaque");g.Co(a.element,"ytp-tooltip-opaque",!!b);a.type=c;a.api.addEventListener("appresize",a.oa);a.T&&(CPa(a),a.I.show(0))}}; CPa=function(a){if(a.j){var b=a.j.getAttribute("data-tooltip-text");if(a.B&&a.j.getAttribute("aria-label")!==a.B)var c=a.B;var d=a.j.getAttribute("aria-keyshortcuts"),e=a.j.getAttribute("data-title-no-tooltip");d&&e&&(c=g.sM("$BUTTON_TITLE keyboard shortcut $SHORTCUT_KEY",{BUTTON_TITLE:e,SHORTCUT_KEY:d}));c&&a.j.setAttribute("aria-label",c);if(b&&!a.Y){d=a.j;a.updateValue("text",b);c=d.getAttribute("data-duration");a.update({title:a.B,duration:c});d=d.getAttribute("data-preview");e=a.J*a.scale;var f= a.Ja*a.scale;a.bg.style.width=e+"px";a.bg.style.height=f+"px";a.bg.style.backgroundImage=d?"url("+d+")":"";a.bg.style.backgroundSize=e+"px "+f+"px";g.zo(a.element,["ytp-text-detail","ytp-preview"]);g.Co(a.element,"ytp-has-duration",!!c)}else a.updateValue("text",a.B),g.Bo(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);APa(a,!!b)}}; APa=function(a,b,c,d){var e=Math.min(a.tJ,300*a.scale);a.element.style.maxWidth=b?"":e+"px";a.Ra.Mv(a.element,a.j,c,1===a.type,d);a.element.style.top?g.yo(a.element,"ytp-bottom"):a.element.style.bottom&&g.yo(a.element,"ytp-top");3===a.type&&a.Fa.start()}; ET=function(a){a.j&&!a.Y&&a.j.hasAttribute("title")&&(a.B=a.j.getAttribute("title")||"",a.j.removeAttribute("title"),a.T&&CPa(a))}; zPa=function(a,b){g.Co(a.element,"ytp-preview",0<=b);if(!(0>b||b===a.C)){a.C=b;b=a.J*a.scale;var c=a.Ja*a.scale,d=Hya(a.u,a.C,b);BNa(a.bg,d,b,c,!0);a.ya.start()}}; DPa=function(a){var b=a.j;3===a.type&&a.Fa.stop();a.api.removeEventListener("appresize",a.oa);a.Y||b.setAttribute("title",a.B);a.B="";a.j=null}; FPa=function(a,b){g.T.call(this,{G:"button",Ia:["ytp-watch-later-button","ytp-button"],X:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.oI(a.V()))},W:[{G:"div",N:"ytp-watch-later-icon",qa:"{{icon}}"},{G:"div",N:"ytp-watch-later-title",qa:"Watch later"}]});this.F=a;this.u=b;this.icon=null;this.visible=this.isRequestPending=this.j=!1;this.tooltip=b.Dc();kT(this.tooltip);a.sb(this.element,this,28665);this.Qa("click",this.onClick,this);this.S(a,"videoplayerreset",this.Av); this.S(a,"appresize",this.HA);this.S(a,"videodatachange",this.HA);this.S(a,"presentingplayerstatechange",this.HA);this.HA();a=this.F.V();var c=g.rB("yt-player-watch-later-pending");a.C&&c?(nwa(),EPa(this)):this.La(2);g.Co(this.element,"ytp-show-watch-later-title",g.oI(a));g.ab(this,g.gT(b.Dc(),this.element))}; GPa=function(a){var b=a.F.getPlayerSize(),c=a.F.V(),d=a.F.getVideoData(),e=g.oI(c)&&g.lR(a.F)&&g.S(a.F.Gb(),128);a=c.K("shorts_mode_to_player_api")?a.F.Sb():a.u.Sb();var f=c.B;if(b=c.Yl&&240<=b.width&&!d.isAd())if(d.K("embeds_web_enable_video_data_refactoring_player_overlay_renderer")){b=!0;var h,l,m=null==(h=d.kf)?void 0:null==(l=h.embedPreview)?void 0:l.thumbnailPreviewRenderer;m&&(b=!!m.addToWatchLaterButton);if(g.uI(d.V())){var n,p;(h=null==(n=d.jd)?void 0:null==(p=n.playerOverlays)?void 0:p.playerOverlayRenderer)&& (b=!!h.addToMenu)}var q,r,w,x;if(null==(x=g.K(null==(q=d.jd)?void 0:null==(r=q.contents)?void 0:null==(w=r.twoColumnWatchNextResults)?void 0:w.desktopOverlay,vK))?0:x.suppressWatchLaterButton)b=!1}else b=d.Pk;return b&&!e&&!(d.D&&c.ea)&&!a&&!f}; HPa=function(a,b){g.qP(function(){nwa({videoId:b});window.location.reload()},"wl_button",g.HI(a.F.V()))}; EPa=function(a){if(!a.isRequestPending){a.isRequestPending=!0;a.La(3);var b=a.F.getVideoData();b=a.j?b.removeFromWatchLaterCommand:b.addToWatchLaterCommand;var c=a.F.Hm(),d=a.j?function(){a.j=!1;a.isRequestPending=!1;a.La(2);a.F.V().I&&a.F.Na("WATCH_LATER_VIDEO_REMOVED")}:function(){a.j=!0; a.isRequestPending=!1;a.La(1);a.F.V().u&&DT(a.tooltip,a.element);a.F.V().I&&a.F.Na("WATCH_LATER_VIDEO_ADDED")}; wP(c,b).then(d,function(){a.isRequestPending=!1;IPa(a,"An error occurred. Please try again later.")})}}; IPa=function(a,b){a.La(4,b);a.F.V().I&&a.F.Na("WATCH_LATER_ERROR",b)}; JPa=function(a,b){if(b!==a.icon){switch(b){case 3:var c=LS();break;case 1:c=gO();break;case 2:c={G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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={G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path", Xb:!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.FV=function(a){g.YS.call(this,a);var b=this;this.fG=(this.kq=g.oI(this.api.V()))&&(this.api.V().u||sx()||qx());this.xK=48;this.yK=69;this.Ao=null;this.Us=[];this.Rc=new g.bT(this.api);this.Hu=new FT(this.api);this.Gh=new g.T({G:"div",N:"ytp-chrome-top"});this.UD=[];this.tooltip=new g.DV(this.api,this);this.backButton=this.nz=null;this.channelAvatar=new nT(this.api,this);this.title=new CV(this.api,this);this.wi=new g.ZN({G:"div",N:"ytp-chrome-top-buttons"});this.Ei=this.shareButton=this.Gn=null; this.Xi=new fT(this.api,this,this.Gh.element);this.overflowButton=this.Bh=null;this.yg="1"===this.api.V().controlsType?new qPa(this.api,this,this.Te):null;this.contextMenu=new g.BT(this.api,this,this.Rc);this.jK=!1;this.wF=new g.T({G:"div",X:{tabindex:"0"}});this.vF=new g.T({G:"div",X:{tabindex:"0"}});this.gD=null;this.MN=this.KM=this.fF=!1;var c=a.ib(),d=a.V(),e=a.getVideoData();this.kq&&(g.yo(a.getRootNode(),"ytp-embed"),g.yo(a.getRootNode(),"ytp-embed-playlist"),this.fG&&(g.yo(a.getRootNode(), "ytp-embed-overlays-autohide"),g.yo(this.contextMenu.element,"ytp-embed-overlays-autohide")),this.xK=60,this.yK=89);a.V().B&&g.yo(a.getRootNode(),"ytp-embed-pfl");this.api.V().u&&(g.yo(a.getRootNode(),"ytp-mobile"),this.api.V().J&&g.yo(a.getRootNode(),"ytp-embed-mobile-exp"));this.kf=e&&e.kf;g.D(this,this.Rc);g.oR(a,this.Rc.element,4);g.D(this,this.Hu);g.oR(a,this.Hu.element,4);e=new g.T({G:"div",N:"ytp-gradient-top"});g.D(this,e);g.oR(a,e.element,1);this.jP=new g.QO(e,250,!0,100);g.D(this,this.jP); g.D(this,this.Gh);g.oR(a,this.Gh.element,1);this.iP=new g.QO(this.Gh,250,!0,100);g.D(this,this.iP);g.D(this,this.tooltip);g.oR(a,this.tooltip.element,4);var f=new cU(a);g.D(this,f);g.oR(a,f.element,5);f.subscribe("show",function(n){b.Qp(f,n)}); this.UD.push(f);this.nz=new dU(a,this,f);g.D(this,this.nz);d.ql&&(this.backButton=new aT(a),g.D(this,this.backButton),this.backButton.Ea(this.Gh.element));this.kq||this.nz.Ea(this.Gh.element);g.D(this,this.channelAvatar);this.channelAvatar.Ea(this.Gh.element);g.D(this,this.title);this.title.Ea(this.Gh.element);this.kq&&(e=new uNa(this.api,this),g.D(this,e),e.Ea(this.Gh.element));g.D(this,this.wi);this.wi.Ea(this.Gh.element);var h=new g.kU(a,this);g.D(this,h);g.oR(a,h.element,5);h.subscribe("show", function(n){b.Qp(h,n)}); this.UD.push(h);this.Gn=new FPa(a,this);g.D(this,this.Gn);this.Gn.Ea(this.wi.element);this.shareButton=new g.jU(a,this,h);g.D(this,this.shareButton);this.shareButton.Ea(this.wi.element);this.Ei=new g.CT(a,this);g.D(this,this.Ei);this.Ei.Ea(this.wi.element);this.kq&&this.nz.Ea(this.wi.element);g.D(this,this.Xi);this.Xi.Ea(this.wi.element);d.Qn&&(e=new lU(a),g.D(this,e),g.oR(a,e.element,4));d.B||(e=new hT(a,this,this.Xi),g.D(this,e),e.Ea(this.wi.element));this.Bh=new $T(a,this);g.D(this,this.Bh);g.oR(a, this.Bh.element,5);this.Bh.subscribe("show",function(){b.Qp(b.Bh,b.Bh.dj())}); this.UD.push(this.Bh);this.overflowButton=new g.ZT(a,this,this.Bh);g.D(this,this.overflowButton);this.overflowButton.Ea(this.wi.element);this.yg&&g.D(this,this.yg);"3"===d.controlsType&&(e=new iU(a,this),g.D(this,e),g.oR(a,e.element,9));g.D(this,this.contextMenu);this.contextMenu.subscribe("show",this.lY,this);e=new mP(a,new $S(a));g.D(this,e);g.oR(a,e.element,4);this.wF.Qa("focus",this.E2,this);g.D(this,this.wF);this.vF.Qa("focus",this.F2,this);g.D(this,this.vF);var l;(this.rq=d.dh?null:new g.VT(a, c,this.contextMenu,this.Te,this.Rc,this.Hu,function(){return b.El()},null==(l=this.yg)?void 0:l.Jc))&&g.D(this,this.rq); this.kq||(this.api.K("web_player_enable_featured_product_banner_on_desktop")?(this.WS=new MT(this.api,this),g.D(this,this.WS),g.oR(a,this.WS.element,4)):(this.nX=new rNa(this.api,this),g.D(this,this.nX),g.oR(a,this.nX.element,4)));this.AX=new vPa(this.api,this);g.D(this,this.AX);g.oR(a,this.AX.element,4);if(this.kq){var m=new PT(a,this.api.V().tb);g.D(this,m);g.oR(a,m.element,5);m.subscribe("show",function(n){b.Qp(m,n)}); c=new RT(a,this,m);g.D(this,c);g.oR(a,c.element,4)}this.Ts.push(this.Rc.element);this.S(a,"fullscreentoggled",this.Cq);this.S(a,"offlineslatestatechange",function(){b.api.mC()&&ES(b.Te,128,!1)}); this.S(a,"cardstatechange",function(){b.bl()}); this.S(a,"resize",this.r5);this.S(a,"videoplayerreset",this.Av);this.S(a,"showpromotooltip",this.P5)}; KPa=function(a){var b=a.api.V(),c=g.S(a.api.Gb(),128);return b.C&&c&&!a.api.isFullscreen()}; LPa=function(a){if(a.jh()&&!a.Sb()&&a.Bh){var b=a.api.K("web_player_hide_overflow_button_if_empty_menu");!a.Gn||b&&!GPa(a.Gn)||aU(a.Bh,a.Gn);!a.shareButton||b&&!mNa(a.shareButton)||aU(a.Bh,a.shareButton);!a.Ei||b&&!PMa(a.Ei)||aU(a.Bh,a.Ei)}else{if(a.Bh){b=a.Bh;for(var c=g.t(b.actionButtons),d=c.next();!d.done;d=c.next())d.value.detach();b.actionButtons=[]}a.Gn&&!g.Ze(a.wi.element,a.Gn.element)&&a.Gn.Ea(a.wi.element);a.shareButton&&!g.Ze(a.wi.element,a.shareButton.element)&&a.shareButton.Ea(a.wi.element); a.Ei&&!g.Ze(a.wi.element,a.Ei.element)&&a.Ei.Ea(a.wi.element)}}; MPa=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!==Ml(b,"display")&&"true"!==b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=MPa(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndexa;a++){var b=g.Ne("VIDEO");b.load();OV.push(new g.OR(b))}}; ZPa=function(){}; g.PV=function(a,b,c,d){d=void 0===d?!1:d;FM.call(this);this.mediaElement=a;this.start=b;this.end=c;this.j=d}; $Pa=function(a,b,c){var d=b.getVideoData(),e=a.getVideoData();if(b.getPlayerState().isError())return{msg:"player-error"};b=e.C;if(a.xk()>c/1E3+1)return{msg:"in-the-past"};if(e.isLivePlayback&&!isFinite(c))return{msg:"live-infinite"};(a=a.ye())&&a.isView()&&(a=a.mediaElement);if(a&&12h&&(e=h-200,a.J=!0);f.getCurrentTime()>=e/1E3?a.I():(a.u=f,f=e,e=a.u,a.app.Va.addEventListener(g.mC("vqueued"),a.I),f=isFinite(f)||f/1E3>e.getDuration()?f:0x8000000000000,a.D=new g.kC(f,0x8000000000000,{namespace:"vqueued"}),e.addCueRange(a.D));f=d/=1E3;e=b.getVideoData().j;if(d&&e&&a.u){h=d;var l=0;b.getVideoData().isLivePlayback&&(f=Math.min(c/1E3, SV(a.u,!0)),l=Math.max(0,f-a.u.getCurrentTime()),h=Math.min(d,SV(b)+l));f=dwa(e,h)||d;f!==d&&a.j.xa("qvaln",{st:d,at:f,rm:l,ct:h})}b=f;d=a.j;d.getVideoData().dh=!0;d.getVideoData().fb=!0;g.VV(d,!0);e={};a.u&&(e=g.WV(a.u.zc.provider),f=a.u.getVideoData().clientPlaybackNonce,e={crt:(1E3*e).toFixed(),cpn:f});d.xa("queued",e);0!==b&&d.seekTo(b+.01,{Uu:!0,hP:3,Ke:"videoqueuer_queued"});a.B=new aQa(a.T,a.app.Nc(),a.j,c);c=a.B;Infinity!==c.status.status&&(RV(c,1),c.j.subscribe("internalvideodatachange", c.fu,c),c.u.subscribe("internalvideodatachange",c.fu,c),c.j.subscribe("mediasourceattached",c.fu,c),c.u.subscribe("statechange",c.ud,c),c.j.subscribe("newelementrequired",c.MV,c),c.fu());return a.C}; kQa=function(a){var b,c,d;g.A(function(e){switch(e.j){case 1:if(a.isDisposed()||!a.C||!a.j)return e.return();a.J&&XV(a.app.Nc(),!0,!1);b=null;if(!a.B){e.Ka(2);break}g.ra(e,3);return g.y(e,fQa(a.B),5);case 5:g.sa(e,2);break;case 3:b=c=g.ta(e);case 2:if(!a.j)return e.return();g.QV.eO("vqsp",function(){YV(a.app,a.j)}); g.QV.eO("vqpv",function(){a.app.playVideo()}); b&&mQa(a.j,b.message);d=a.C;UV(a);return e.return(d.resolve(void 0))}})}; UV=function(a){if(a.u){var b=a.u;a.app.Va.removeEventListener(g.mC("vqueued"),a.I);b.removeCueRange(a.D);a.u=null;a.D=null}a.B&&(6!==a.B.status.status&&(b=a.B,Infinity!==b.status.status&&b.xg("Canceled")),a.B=null);a.C=null;a.j&&a.j!==g.VQ(a.app,1)&&a.j!==a.app.Nc()&&a.j.dispose();a.j=null;a.J=!1}; nQa=function(){var a=zqa();return!(!a||"visible"===a)}; pQa=function(a){var b=oQa();b&&document.addEventListener(b,a,!1)}; qQa=function(a){var b=oQa();b&&document.removeEventListener(b,a,!1)}; oQa=function(){if(document.visibilityState)var a="visibilitychange";else{if(!document[Wz+"VisibilityState"])return"";a=Wz+"visibilitychange"}return a}; rQa=function(){g.rC.call(this);var a=this;this.fullscreen=0;this.pictureInPicture=this.j=this.u=this.inline=!1;this.B=function(){a.Ig()}; pQa(this.B);this.C=this.getVisibilityState(this.wh(),this.isFullscreen(),this.pg(),this.isInline(),this.Fy(),this.Cy())}; ZV=function(a,b,c,d,e){e=void 0===e?[]:e;g.C.call(this);this.Z=a;this.jc=b;this.C=c;this.segments=e;this.j=void 0;this.u=new Map;this.B=new Map;if(e.length)for(this.j=e[0],a=g.t(e),b=a.next();!b.done;b=a.next())b=b.value,(c=b.Fl())&&this.u.set(c,b.xB())}; sQa=function(a,b,c,d,e){return new $V(c,c+(d||0),!d,b,a,new g.hK(a.Z,void 0),e)}; $V=function(a,b,c,d,e,f,h){g.C.call(this);this.jc=a;this.j=b;this.type=d;this.B=e;this.videoData=f;this.clipId=h;this.u=new Map}; tQa=function(a){this.end=this.start=a}; g.bW=function(a,b,c){g.C.call(this);var d=this;this.api=a;this.Z=b;this.va=c;this.jb="";this.ya=new Map;this.Ta=new Map;this.Ja=new Map;this.B=new Map;this.u=[];this.T=[];this.C=new Map;this.Ec=new Map;this.Y=new Map;this.Ic=NaN;this.pc=this.tb=null;this.hc=new g.qo(function(){uQa(d,d.Ic)}); this.events=new g.nG(this);this.ac=g.rH(this.Z.experiments,"web_player_ss_dai_ad_fetching_timeout_ms")||1E4;this.J=new g.qo(function(){d.Aa=!0;var e=d.va,f=d.ac;e.xa("sdai",{aftimeout:f});e.Nd(new YI("ad.fetchtimeout",{timeout:f}));vQa(d);d.UB(!1)},this.ac); this.Aa=!1;this.Za=new Map;this.Tb=[];this.oa=null;this.pe=new Set;this.Fa=[];this.Qc=[];this.Hd=[];this.wd=[];this.j=void 0;this.kb=0;this.fb=!0;this.D=!1;this.Ma=[];this.Bd=new Set;this.oe=new Set;this.Pd=new Set;this.Bl=0;this.ea=null;this.Fb=new Set;this.Od=0;this.Pp=this.Xc=!1;this.I="";this.va.getPlayerType();wQa(this.va,this);this.Ra=this.Z.Td();g.D(this,this.hc);g.D(this,this.events);g.D(this,this.J);aW(this)||(this.events.S(this.api,g.mC("serverstitchedcuerange"),this.onCueRangeEnter),this.events.S(this.api, g.nC("serverstitchedcuerange"),this.onCueRangeExit))}; AQa=function(a,b,c,d,e,f,h,l){var m=xQa(a,f,f+e);a.Aa&&a.va.xa("sdai",{adaftto:1});a.Pp&&a.va.xa("sdai",{adfbk:1,enter:f,len:e,aid:l});var n=a.va;h=void 0===h?f+e:h;f===h&&!e&&a.Z.K("html5_allow_zero_duration_ads_on_timeline")&&a.va.xa("sdai",{attl0d:1});f>h&&cW(a,{reason:"enterTime_greater_than_return",jc:f,Ed:h});var p=1E3*n.Ld();fn&&cW(a,{reason:"parent_return_greater_than_content_duration",Ed:h,X6a:n}); n=null;p=g.Ab(a.T,{Ed:f},function(q,r){return q.Ed-r.Ed}); 0<=p&&(n=a.T[p],n.Ed>f&&yQa(a,b.video_id||"",f,h,n));if(m&&n)for(p=0;pd?-1*(d+2):d;return 0<=d&&(a=a.T[d],a.Ed>=c)?{uo:a,bz:b}:{uo:void 0,bz:b}}; hW=function(a,b){var c="";aW(a)?(c=b/1E3-a.Zp(),c=a.va.qy(c)):(b=FQa(a,b))&&(c=b.getId());return c?a.C.get(c):void 0}; FQa=function(a,b){a=g.t(a.B.values());for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.start<=b&&c.end>=b)return c}; uQa=function(a,b){var c=a.pc||a.api.Nc().getPlayerState();iW(a,!0);a.va.seekTo(b);a=a.api.Nc();b=a.getPlayerState();g.RM(c)&&!g.RM(b)?a.playVideo():g.QM(c)&&!g.QM(b)&&a.pauseVideo()}; iW=function(a,b){a.Ic=NaN;a.hc.stop();a.tb&&b&&GQa(a.tb);a.pc=null;a.tb=null}; HQa=function(a){var b=void 0===b?-1:b;var c=void 0===c?Infinity:c;for(var d=[],e=g.t(a.T),f=e.next();!f.done;f=e.next())f=f.value,(f.jcc)&&d.push(f);a.T=d;d=g.t(a.B.values());for(e=d.next();!e.done;e=d.next())e=e.value,e.start>=b&&e.end<=c&&(a.va.removeCueRange(e),a.B.delete(e.getId()),a.va.xa("sdai",{rmAdCR:1}));d=EQa(a,b/1E3);b=d.uo;d=d.bz;if(b&&(d=1E3*d-b.jc,e=b.jc+d,b.durationMs=d,b.Ed=e,d=a.B.get(b.cpn))){e=g.t(a.u);for(f=e.next();!f.done;f=e.next())f=f.value,f.start===d.end?f.start= b.jc+b.durationMs:f.end===d.start&&(f.end=b.jc);d.start=b.jc;d.end=b.jc+b.durationMs}if(b=EQa(a,c/1E3).uo){var h;d="playback_timelinePlaybackId_"+b.Mc+"_video_id_"+(null==(h=b.videoData)?void 0:h.videoId)+"_durationMs_"+b.durationMs+"_enterTimeMs_"+b.jc+"_parentReturnTimeMs_"+b.Ed;a.wC("Invalid_clearEndTimeMs_"+c+"_that_falls_during_"+d+"._Child_playbacks_can_only_have_duration_updated_not_their_start.")}}; IQa=function(a){a.jb="";a.ya.clear();a.Ta.clear();a.Ja.clear();a.B.clear();a.u=[];a.T=[];a.C.clear();a.Ec.clear();a.Y.clear();a.Za.clear();a.Tb=[];a.oa=null;a.pe.clear();a.Fa=[];a.Qc=[];a.Hd=[];a.wd=[];a.Ma=[];a.Bd.clear();a.oe.clear();a.Pd.clear();a.Fb.clear();a.Aa=!1;a.j=void 0;a.kb=0;a.fb=!0;a.D=!1;a.Bl=0;a.ea=null;a.Od=0;a.Xc=!1;a.Pp=!1;a.I="";a.J.isActive()&&dW(a)}; KQa=function(a,b,c,d,e){if(!a.Pp)if(g.JQa(a,c))a.Ra&&a.va.xa("sdai",{gdu:"undec",seg:c,itag:e});else return jW(a,b,c,d)}; jW=function(a,b,c,d){var e=a.Za.get(c);if(!e){b+=a.Zp();b=EQa(a,b,1);var f;b.uo||2!==(null==(f=kW(a,c-1,null!=d?d:2))?void 0:f.LA)?e=b.uo:e=a.Za.get(c-1)}return e}; LQa=function(a){if(a.Ma.length)for(var b=g.t(a.Ma),c=b.next();!c.done;c=b.next())a.onCueRangeExit(c.value);c=g.t(a.B.values());for(b=c.next();!b.done;b=c.next())a.va.removeCueRange(b.value);c=g.t(a.u);for(b=c.next();!b.done;b=c.next())a.va.removeCueRange(b.value);a.B.clear();a.u=[];a.ya.clear();a.Ta.clear();a.Ja.clear();a.j||(a.fb=!0)}; kW=function(a,b,c,d){if(1===c){if(a.Z.K("html5_reset_daistate_on_audio_codec_change")&&d&&d!==a.jb&&(""!==a.jb&&(a.va.xa("sdai",{rstadaist:1,old:a.jb,"new":d}),a.ya.clear()),a.jb=d),a.ya.has(b))return a.ya.get(b)}else{if(2===c&&a.Ta.has(b))return a.Ta.get(b);if(3===c&&a.Ja.has(b))return a.Ja.get(b)}}; NQa=function(a,b,c,d){if(d)for(d=0;dc){var f=e.end;e.end=b;MQa(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.va.removeCueRange(e);if(a.Ma.includes(e))a.onCueRangeExit(e);a.u.splice(d,1);continue}d++}else MQa(a,b,c)}; MQa=function(a,b,c){b=BQa(b,c);c=!0;g.Fb(a.u,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.va.removeCueRange(e):c=!1;a.u.splice(d,1);continue}}d++}if(c)for(a.va.addCueRange(b),b=a.va.mB("serverstitchedcuerange",36E5),b=g.t(b),c=b.next();!c.done;c=b.next())a.B.delete(c.value.getId())}; lW=function(a,b,c){if(void 0===c||!c){c=g.t(a.Tb);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.Tb.push(new tQa(b))}}; g.JQa=function(a,b){a=g.t(a.Tb);for(var c=a.next();!c.done;c=a.next())if(c=c.value,b>=c.start&&b<=c.end)return!0;return!1}; yQa=function(a,b,c,d,e){var f;b={reason:"overlapping_playbacks",U6a:b,jc:c,Ed:d,M5a:e.Mc,N5a:(null==(f=e.videoData)?void 0:f.videoId)||"",J5a:e.durationMs,K5a:e.jc,L5a:e.Ed};cW(a,b)}; cW=function(a,b){a=a.va;a.xa("timelineerror",b);a.Nd(new YI("dai.timelineerror",b))}; OQa=function(a,b){var c=[];a=a.Y.get(b);if(!a)return[];a=g.t(a);for(b=a.next();!b.done;b=a.next())b=b.value,b.cpn&&c.push(b.cpn);return c}; PQa=function(a,b,c){var d=0;a=a.Y.get(c);if(!a)return-1;a=g.t(a);for(c=a.next();!c.done;c=a.next()){if(c.value.cpn===b)return d;d++}return-1}; QQa=function(a,b){var c=[];a=a.Y.get(b);if(!a)return[];a=g.t(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}; RQa=function(a,b){var c=0;a=a.Y.get(b);if(!a)return 0;a=g.t(a);for(b=a.next();!b.done;b=a.next())b=b.value,0!==b.durationMs&&b.Ed!==b.jc&&c++;return c}; SQa=function(a,b,c){var d=!1;if(c&&(c=a.Y.get(c))){c=g.t(c);for(var e=c.next();!e.done;e=c.next())e=e.value,0!==e.durationMs&&e.Ed!==e.jc&&(e=e.cpn,b===e&&(d=!0),d&&!a.oe.has(e)&&(a.va.xa("sdai",{decoratedAd:e}),a.oe.add(e)))}}; vQa=function(a){a.Ra&&a.va.xa("sdai",{adf:"0_"+((new Date).getTime()/1E3-a.Od)+"_isTimeout_"+a.Aa})}; xQa=function(a,b,c){if(a.Fa.length)for(var d={},e=g.t(a.Fa),f=e.next();!f.done;d={Mt:d.Mt},f=e.next()){d.Mt=f.value;f=1E3*d.Mt.startSecs;var h=1E3*d.Mt.Og+f;if(b>f&&bf&&ce?-1*(e+2):e])){if((c.C||0)=b?{clipId:a.Fl()||"",Ty:a.jc}:{clipId:"",Ty:0};a=g.t(c.segments);for(c=a.next();!c.done;c=a.next())if(c=c.value,c.jc<=b&&c.j>b)return{clipId:c.Fl()||"",Ty:c.jc}}else if(a.jc<=b&&a.j>=b)return{clipId:a.Fl()||"",Ty:a.jc};return{clipId:"",Ty:0}}; VQa=function(a,b,c){g.C.call(this);var d=this;this.api=a;this.Z=b;this.j=c;this.I=new Map;this.u=[];this.B=this.J=null;this.Y=NaN;this.D=this.C=null;this.T=new g.qo(function(){UQa(d,d.Y)}); this.ea=[];this.oa=new g.qo(function(){var e=d.ea.pop();if(e){var f=e.Mc,h=e.playerVars;e=e.playerType;h&&(h.prefer_gapless=!0,d.api.preloadVideoByPlayerVars(h,e,NaN,"",f),d.ea.length&&g.ro(d.oa,4500))}}); this.events=new g.nG(this);c.getPlayerType();g.D(this,this.T);g.D(this,this.oa);g.D(this,this.events);this.events.S(this.api,g.mC("childplayback"),this.onCueRangeEnter);this.events.S(this.api,"onQueuedVideoLoaded",this.onQueuedVideoLoaded);this.events.S(this.api,"presentingplayerstatechange",this.Ki)}; ZQa=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 nW(a,"enterAfterReturn enterTimeMs="+e+" is greater than parentReturnTimeMs="+f.toFixed(3),h,l),"";var n=1E3*m.Ld();if(en)return m="returnAfterDuration parentReturnTimeMs="+f.toFixed(3)+" is greater than parentDurationMs="+n+". And timestampOffset in seconds is "+ m.Md(),nW(a,m,h,l),"";n=null;for(var p=g.t(a.u),q=p.next();!q.done;q=p.next()){q=q.value;if(e>=q.jc&&eq.jc)return nW(a,"overlappingReturn",h,l),"";if(f===q.jc)return nW(a,"outOfOrder",h,l),"";e===q.Ed&&(n=q)}h="cs_childplayback_"+WQa++;l={ue:oW(d,!0),Cn:Infinity,target:null};var r={Mc:h,playerVars:b,playerType:c,durationMs:d,jc:e,Ed:f,Nr:l};a.u=a.u.concat(r).sort(function(z,B){return z.jc-B.jc}); n?XQa(a,n,{ue:oW(n.durationMs,!0),Cn:n.Nr.Cn,target:r}):(b={ue:oW(e,!1),Cn:e,target:r},a.I.set(b.ue,b),m.addCueRange(b.ue));b=!0;if(a.j===a.api.Nc()&&(m=1E3*m.getCurrentTime(),m>=r.jc&&mb)break;if(f>b)return{uo:d,bz:b-e};c=f-d.Ed/1E3}return{uo:null,bz:b-c}}; UQa=function(a,b){var c=a.D||a.api.Nc().getPlayerState();rW(a,!0);b=isFinite(b)?b:a.j.Wp();var d=cRa(a,b);b=d.uo;d=d.bz;var e=b&&!pW(a,b)||!b&&a.j!==a.api.Nc(),f=1E3*d;f=a.B&&a.B.start<=f&&f<=a.B.end;!e&&f||qW(a);b?YQa(a,b,d,c):dRa(a,d,c)}; dRa=function(a,b,c){var d=a.j,e=a.api.Nc();d!==e&&a.api.Iq();d.seekTo(b,{Ke:"application_timelinemanager"});eRa(a,c)}; YQa=function(a,b,c,d){var e=pW(a,b);if(!e){b.playerVars.prefer_gapless=!0;var f=new g.hK(a.Z,b.playerVars);f.Mc=b.Mc;a.api.Os(f,b.playerType)}f=a.api.Nc();e||f.addCueRange(b.Nr.ue);f.seekTo(c,{Ke:"application_timelinemanager"});eRa(a,d)}; eRa=function(a,b){a=a.api.Nc();var c=a.getPlayerState();g.RM(b)&&!g.RM(c)?a.playVideo():g.QM(b)&&!g.QM(c)&&a.pauseVideo()}; rW=function(a,b){a.Y=NaN;a.T.stop();a.C&&b&&GQa(a.C);a.D=null;a.C=null}; pW=function(a,b){a=a.api.Nc();return!!a&&a.getVideoData().Mc===b.Mc}; fRa=function(a){var b=a.u.find(function(e){return pW(a,e)}); if(b){var c=a.api.Nc();qW(a);var d=new g.KM(8);b=bRa(a,b)/1E3;dRa(a,b,d);c.xa("forceParentTransition",{childPlayback:1});a.j.xa("forceParentTransition",{parentPlayback:1})}}; hRa=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.t(a.I),h=f.next();!h.done;h=f.next()){var l=g.t(h.value);h=l.next().value;l=l.next().value;l.Cn>=d&&l.target&&l.target.Ed<=e&&(a.j.removeCueRange(h),a.I.delete(h))}d=b;e=c;f=[];h=g.t(a.u);for(l=h.next();!l.done;l=h.next())if(l=l.value,l.jc>=d&&l.Ed<=e){var m=a;m.J===l&&qW(m);pW(m,l)&&m.api.Iq()}else f.push(l);a.u=f;d=cRa(a,b/1E3);b=d.uo;d=d.bz;b&&(d*=1E3,gRa(a,b,d,b.Ed===b.jc+b.durationMs?b.jc+d:b.Ed));(b=cRa(a,c/1E3).uo)&& nW(a,"Invalid clearEndTimeMs="+c+" that falls during playback={timelinePlaybackId="+(b.Mc+" video_id="+b.playerVars.video_id+" durationMs="+b.durationMs+" enterTimeMs="+b.jc+" parentReturnTimeMs="+b.Ed+"}.Child playbacks can only have duration updated not their start."))}; gRa=function(a,b,c,d){b.durationMs=c;b.Ed=d;d={ue:oW(c,!0),Cn:c,target:null};XQa(a,b,d);pW(a,b)&&1E3*a.api.Nc().getCurrentTime()>c&&(b=bRa(a,b)/1E3,c=a.api.Nc().getPlayerState(),dRa(a,b,c))}; nW=function(a,b,c,d){a.j.xa("timelineerror",{e:b,cpn:c?c:void 0,videoId:d?d:void 0})}; jRa=function(a){a&&"web"!==a&&iRa.includes(a)}; tW=function(a,b){g.C.call(this);var c=this;this.data=[];this.B=a||NaN;this.u=b||null;this.j=new g.qo(function(){kRa(c);sW(c)}); g.D(this,this.j)}; kRa=function(a){var b=(0,g.M)();a.data.forEach(function(c){c.expire=d;d++)c.push(d/100);c={threshold:c,trackVisibility:!0,delay:1E3};(this.u=window.IntersectionObserver?new IntersectionObserver(function(e){e=e[e.length-1];"undefined"===typeof e.isVisible?b.j=null:b.j=e.isVisible?e.intersectionRatio:0},c):null)&&this.u.observe(a)}; tRa=function(a){g.T.call(this,{G:"div",Ia:["html5-video-player"],X:{tabindex:"-1",id:a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId:a.config.attrs.id},W:[{G:"div",N:g.yW.VIDEO_CONTAINER,X:{"data-layer":"0"}}]});var b=this;this.app=a;this.WA=this.Da(g.yW.VIDEO_CONTAINER);this.oz=new g.Gl(0,0,0,0);this.lc=null;this.mH=new g.Gl(0,0,0,0);this.HL=this.PM=this.OM=NaN;this.aG=this.iH=this.VN=this.nS=!1;this.DK=NaN;this.pM=!1;this.xC=null;this.jN=function(){b.element.focus()}; this.TG=function(){b.app.Va.ma("playerUnderlayVisibilityChange","visible");b.lc.classList.remove(g.yW.VIDEO_CONTAINER_TRANSITIONING);b.lc.removeEventListener(DR,b.TG);b.lc.removeEventListener("transitioncancel",b.TG)}; 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.V();e.transparentBackground&&this.yr("ytp-transparent");"0"===e.controlsType&&this.yr("ytp-hide-controls");g.yo(this.element,"ytp-exp-bottom-control-flexbox");e.K("enable_new_paid_product_placement")&&!g.PI(e)&&g.yo(this.element,"ytp-exp-ppp-update");tra(this.element,"version",rRa(a));this.oX=!1;this.pB=new g.oe(NaN,NaN);sRa(this);this.S(a.Va,"onMutedAutoplayChange",this.onMutedAutoplayChange)}; sRa=function(a){function b(){a.lc&&zW(a);AW(a)!==a.pM&&a.resize()} function c(h,l){a.Cs(h,l)} function d(h){h.getVideoData()&&a.updateVideoData(h.getVideoData())} function e(){a.mH=new g.Gl(0,0,0,0);a.oz=new g.Gl(0,0,0,0)} var f=a.app.Va;f.addEventListener("initializingmode",e);f.addEventListener("videoplayerreset",d);f.addEventListener("videodatachange",c);f.addEventListener("presentingplayerstatechange",b);g.ab(a,function(){f.removeEventListener("initializingmode",e);f.removeEventListener("videoplayerreset",d);f.removeEventListener("videodatachange",c);f.removeEventListener("presentingplayerstatechange",b)})}; vRa=function(a){var b=g.VQ(a.app);if(b=b?b.getVideoData():null){if(g.QK(b)||g.RK(b)||g.TK(b))return 16/9;if(BK(b)&&b.C.j)return a=b.C.videoInfos[0].video,uRa(a.width,a.height)}return(a=a.lc)?uRa(a.videoWidth,a.videoHeight):16/9}; wRa=function(a,b,c,d){var e=c,f=uRa(b.width,b.height);a.nS?e=cf?{width:b.width,height:b.width/e,aspectRatio:e}:ee?a.width=a.height*c:cMath.abs(xRa*b-a)||1>Math.abs(xRa/a-b)?xRa:a/b}; AW=function(a){if(1===a.app.getAppState())return!1;if(6===a.app.getAppState())return!0;var b=g.VQ(a.app);if(!b||b.Mo())return!1;a=a.app.Va.Gb();b=!g.S(a,2)||b&&b.getVideoData().fb;var c=g.S(a,1024);return a&&b&&!c&&!a.isCued()}; zW=function(a){var b="3"===a.app.V().controlsType&&!a.aG&&AW(a)&&!a.app.Xy||!1;a.lc.controls=b;a.lc.tabIndex=b?0:-1;b?a.lc.removeEventListener("focus",a.jN):a.lc.addEventListener("focus",a.jN)}; yRa=function(a){var b=a.Ij(),c=1,d=!1,e=wRa(a,b,a.getVideoAspectRatio()),f=a.app.V(),h=f.K("enable_desktop_player_underlay"),l=eoa(),m=g.rH(f.experiments,"player_underlay_min_player_width");m=h&&a.VN&&a.getPlayerSize().width>m;if(AW(a)){var n=vRa(a);var p=isNaN(n)||g.Sy||BW&&g.ry||m;Ry&&!g.xc(601)?n=e.aspectRatio:p=p||"3"===f.controlsType;p?m?(p=f.K("place_shrunken_video_on_left_of_player"),n=.02*a.getPlayerSize().width,p=p?n:a.getPlayerSize().width-b.width-n,p=new g.Gl(p,0,b.width,b.height)):p=new g.Gl(0, 0,b.width,b.height):(c=e.aspectRatio/n,p=new g.Gl((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1===c&&g.ry&&(n=p.width-b.height*n,0Math.max(p.width-e.width,p.height-e.height));if(l||a.oX)a.lc.style.display="";a.pM=!0}else{p=-b.height;Ry?p*=window.devicePixelRatio:g.QI&&(p-=window.screen.height);p=new g.Gl(0,p,b.width,b.height);if(l||a.oX)a.lc.style.display="none";a.pM=!1}Hl(a.mH,p)||(a.mH=p,g.vI(f)?(a.lc.style.setProperty("width", p.width+"px","important"),a.lc.style.setProperty("height",p.height+"px","important")):g.Zl(a.lc,p.getSize()),d=new g.me(p.left,p.top),g.Pl(a.lc,Math.round(d.x),Math.round(d.y)),d=!0);b=new g.Gl((b.width-e.width)/2,(b.height-e.height)/2,e.width,e.height);Hl(a.oz,b)||(a.oz=b,d=!0);g.Jl(a.lc,"transform",1===c?"":"scaleX("+c+")");h&&m!==a.iH&&(m&&(a.lc.addEventListener(DR,a.TG),a.lc.addEventListener("transitioncancel",a.TG),a.lc.classList.add(g.yW.VIDEO_CONTAINER_TRANSITIONING)),a.iH=m,a.app.Va.ma("playerUnderlayVisibilityChange", a.iH?"transitioning":"hidden"));return d}; zRa=function(){this.csn=g.TC();this.clientPlaybackNonce=null;this.elements=new Set;this.B=new Set;this.j=new Set;this.u=new Set}; ARa=function(a,b){a.elements.has(b);a.elements.delete(b);a.B.delete(b);a.j.delete(b);a.u.delete(b)}; BRa=function(a){if(a.csn!==g.TC())if("UNDEFINED_CSN"===a.csn)a.csn=g.TC();else{var b=g.TC(),c=g.SC();if(b&&c){a.csn=b;for(var d=g.t(a.elements),e=d.next();!e.done;e=d.next())(e=e.value.visualElement)&&e.isClientVe()&&g.Bw(g.aN)(void 0,b,c,e)}if(b)for(a=g.t(a.j),e=a.next();!e.done;e=a.next())(c=e.value.visualElement)&&c.isClientVe()&&g.eN(b,c)}}; CRa=function(a,b){this.schedule=a;this.policy=b;this.playbackRate=1}; DRa=function(a,b){var c=Math.min(2.5,dI(a.schedule));a=CW(a);return b-c*a}; FRa=function(a,b,c,d,e){e=void 0===e?!1:e;a.policy.Pk&&(d=Math.abs(d));d/=a.playbackRate;var f=1/fI(a.schedule);c=Math.max(.9*(d-3),dI(a.schedule)+2048*f)/f*a.policy.Wn/(b+c);if(!a.policy.gf||d)c=Math.min(c,d);a.policy.If&&e&&(c=Math.max(c,a.policy.If));return ERa(a,c,b)}; ERa=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.policy.Vn*c),Math.min(Math.min(a.policy.Fa,31*c),Math.ceil(b*c))))||65536}; CW=function(a){return fI(a.schedule,!a.policy.il,a.policy.Un)}; DW=function(a){return CW(a)/a.playbackRate}; GRa=function(a,b,c,d,e){this.Ga=a;this.Sa=b;this.videoTrack=c;this.audioTrack=d;this.policy=e;this.seekCount=this.j=0;this.C=!1;this.u=this.Sa.isManifestless&&!this.Sa.Qe;this.B=null}; HRa=function(a,b){var c=a.j.index,d=a.u.Oa;BF(c,d)||b&&b.Oa===d?(a.D=!BF(c,d),a.Y=!BF(c,d)):(a.D=!0,a.Y=!0)}; JRa=function(a,b,c){if(!a.j.Eg()){if(!(c=0===b||!!a.B.length&&a.B[0]instanceof EW))a:{if(a.B.length&&(c=a.B[0],c instanceof FW&&c.Yj&&c.vj)){c=!0;break a}c=!1}c||GW(a);return b}var d=HW(a,b);if(!isNaN(d))return d;a.wk();return c&&(c=yG(c.Dg(),b),!isNaN(c))?(IW(a,c+IRa),b):IW(a,b)}; NRa=function(a,b,c,d){if(a.ih()&&a.j){var e=KRa(a,b,c);if(-1!==e){a.videoTrack.D=!1;a.audioTrack.D=!1;a.u=!0;g.kf(function(){a.Ga.xa("seekreason",{reason:"behindMinSq",tgt:e});LRa(a,e)}); return}}c?a.videoTrack.Y=!1:a.audioTrack.Y=!1;var f=a.policy.Yz||!a.u;0<=HW(a.videoTrack,a.j)&&0<=HW(a.audioTrack,a.j)&&f?((a.videoTrack.D||a.audioTrack.D)&&a.Ga.xa("iterativeSeeking",{status:"done",count:a.seekCount}),a.videoTrack.D=!1,a.audioTrack.D=!1):d&&g.kf(function(){if(a.u||!a.policy.pc)MRa(a);else{var h=b.startTime,l=b.duration,m=c?a.videoTrack.D:a.audioTrack.D,n=-1!==a.videoTrack.I&&-1!==a.audioTrack.I,p=a.j>=h&&a.ja.seekCount?(a.seekCount++,a.Ga.xa("iterativeSeeking",{status:"inprogress",count:a.seekCount,target:a.j,actual:h,duration:l,isVideo:c}),a.seek(a.j)):(a.Ga.xa("iterativeSeeking",{status:"incomplete",count:a.seekCount,target:a.j,actual:h}),a.seekCount=0,a.videoTrack.D=!1,a.audioTrack.D=!1,a.Ga.va.seekTo(h+ .1,{Uu:!0,Ke:"chunkSelectorSynchronizeMedia",zr:!0})))}})}; KRa=function(a,b,c){if(!a.ih())return-1;c=(c?a.videoTrack:a.audioTrack).j.index;var d=c.uh(a.j);return(BF(c,a.Sa.He)||b.Oa===a.Sa.He)&&da.B&&(a.B=NaN,a.D=NaN);if(a.j&&a.j.Oa===d){d=a.j;e=d.jf;var f=c.Xs(e);a.xa("sdai",{onqevt:e.event,sq:b.gb[0].Oa,gab:f});f?"predictStart"!==e.event?d.XB?LW(a,4,"cue"):(a.B=b.gb[0].Oa,a.D=b.gb[0].B,a.xa("sdai",{joinad:a.u,sg:a.B,st:a.D.toFixed(3)}),a.Y=Date.now(),LW(a,2,"join"),c.UF(d.jf)):(a.J=b.gb[0].Oa+ Math.max(Math.ceil(-e.j/5E3),1),a.xa("sdai",{onpred:b.gb[0].Oa,est:a.J}),a.Y=Date.now(),LW(a,3,"predict"),c.UF(d.jf)):1===a.u&&LW(a,5,"nogab")}else 1===a.u&&LW(a,5,"noad")}}; SRa=function(a,b,c){return(0>c||c===a.B)&&!isNaN(a.D)?a.D:b}; TRa=function(a,b){if(a.j){var c=a.j.jf.Og-(b.startTime+a.I-a.j.jf.startSecs);0>=c||(c=new cC(a.j.jf.startSecs-(isNaN(a.I)?0:a.I),c,a.j.jf.context,a.j.jf.identifier,"stop",a.j.jf.j+1E3*b.duration),a.xa("cuepointdiscontinuity",{segNum:b.Oa}),KW(a,c,b.Oa))}}; LW=function(a,b,c){a.u!==b&&(a.xa("sdai",{setsst:b,old:a.u,r:c}),a.u=b)}; MW=function(a,b,c,d){(void 0===d?0:d)?LW(a,1,"sk2h"):0b)return!0;a.Aa.clear()}return!1}; UW=function(a,b){return new NW(a.I,a.j,b||a.B.reason)}; VW=function(a){return a.B.isLocked()}; YRa=function(a){a.Ra?a.Ra=!1:a.Y=(0,g.M)();a.T=!1;return new NW(a.I,a.j,a.B.reason)}; cSa=function(a,b){var c={};b=g.t(b);for(var d=b.next();!d.done;d=b.next())if((d=d.value)&&d.video){var e=d.video.j,f=c[e],h=f&&fG(f)&&f.video.j>a.policy.oa,l=e<=a.policy.oa?fG(d):OD(d);if(!f||h||l)c[e]=d}return c}; PW=function(a,b){a.B=b;var c=a.D.videoInfos;if(!VW(a)){var d=(0,g.M)();c=g.Km(c,function(q){if(q.dc>this.policy.dc)return!1;var r=this.Sa.j[q.id],w=r.info.Mb;return this.policy.hA&&this.Za.has(w)||this.Aa.get(q.id)>d||4=q.video.width&&480>=q.video.height}))}c.length||(c=a.D.videoInfos); var e=g.Km(c,b.C,b);if(VW(a)&&a.oa){var f=g.jb(c,function(q){return q.id===a.oa}); f?e=[f]:delete a.oa}f="m"===b.reason||"s"===b.reason;a.policy.Fw&&BW&&g.ry&&(!f||1080>b.j)&&(e=e.filter(function(q){return q.video&&(!q.j||q.j.powerEfficient)})); if(0c.gE.video.width?(g.pb(e,b),b--):RW(a,c.fE)*a.policy.I>RW(a,c.gE)&&(g.pb(e,b-1),b--);c=e[e.length-1];a.jb=!!a.j&&!!a.j.info&&a.j.info.Mb!==c.Mb;a.C=e;CLa(a.policy,c)}; VRa=function(a,b){b?a.u=a.Sa.j[b]:(b=g.jb(a.D.j,function(c){return!!c.Oc&&c.Oc.isDefault}),a.policy.Qn&&!b&&(b=g.jb(a.D.j,function(c){return c.audio.j})),b=b||a.D.j[0],a.u=a.Sa.j[b.id]); OW(a)}; dSa=function(a,b){for(var c=0;c+1d}; OW=function(a){if(!a.u||!a.policy.u&&!a.u.info.Oc){var b=a.D.j;a.u&&a.policy.Qn&&(b=b.filter(function(d){return d.audio.j===a.u.info.audio.j}),b.length||(b=a.D.j)); a.u=a.Sa.j[b[0].id];if(1a.B.j:dSa(a,a.u))a.u=a.Sa.j[g.fb(b).id]}}}; QW=function(a){a.policy.eh&&(a.Ma=a.Ma||new g.qo(function(){a.policy.eh&&a.j&&!TW(a)&&1===Math.floor(10*Math.random())?(SW(a,a.j),a.T=!0):a.Ma.start()},6E4),g.ro(a.Ma)); if(!a.nextVideo||!a.policy.u)if(VW(a))a.nextVideo=360>=a.B.j?a.Sa.j[a.C[0].id]:a.Sa.j[g.fb(a.C).id];else{for(var b=Math.min(a.J,a.C.length-1),c=DW(a.ya),d=RW(a,a.u.info),e=c/a.policy.J-d;0=f);b++);a.nextVideo=a.Sa.j[a.C[b].id];a.J!==b&&a.logger.info(function(){var h=a.B;return"Adapt to: "+wva(a.nextVideo.info)+", bandwidth: "+c.toFixed(0)+", bandwidth to downgrade: "+e.toFixed(0)+", bandwidth to upgrade: "+f.toFixed(0)+ ", constraint: ["+(h.u+"-"+h.j+", override: "+(h.B+", reason: "+h.reason+"]"))}); a.J=b}}; WRa=function(a){var b=a.policy.J,c=DW(a.ya),d=c/b-RW(a,a.u.info);b=g.lb(a.C,function(e){return RW(this,e)b&&(b=0);a.J=b;a.nextVideo=a.Sa.j[a.C[b].id];a.logger.info(function(){return"Initial selected fmt: "+wva(a.nextVideo.info)+", bandwidth: "+c.toFixed(0)+", max video byterate: "+d.toFixed(0)})}; XRa=function(a){if(a.kb.length){var b=a.kb,c=function(d,e){if("f"===d.info.Mb||b.includes(dF(d,a.Sa.md,a.Ga.lf())))return d;for(var f={},h=0;ha.policy.cj&&(c*=1.5);return c}; eSa=function(a,b){a=fba(a.Sa.j,function(c){return c.info.itag===b}); if(!a)throw Error("Itag "+b+" from server not known.");return a}; fSa=function(a){var b=[];if("m"===a.B.reason||"s"===a.B.reason)return b;if(Pva(a.Sa)){for(var c=Math.max(0,a.J-2);cMath.abs(m.startTimeMs+m.durationMs-f);n=!(q&&n&&p)}else n=1;n&&(d=hSa(a,f),m={formatId:c,startTimeMs:f,durationMs:0,WH:e,clipId:l},d+=1,b.splice(d,0,m));m.durationMs+=1E3*h.info.I;m.Xx=e;return d}; hSa=function(a,b){for(var c=-1,d=0;de&&(c=d);if(b>=f&&b<=e)return d}return c}; jSa=function(a){if(a.Vb){var b=a.Vb.Dg();if(0!==b.length){var c=[],d=1E3*b.start(0);b=1E3*b.end(b.length-1);for(var e=g.t(a.Ue),f=e.next();!f.done;f=e.next())f=f.value,f.startTimeMs+f.durationMsb?--a.j:c.push(f);if(0!==c.length){e=c[0];if(e.startTimeMsb&&a.j!==c.length-1&&(f=a.Sa.I.get(Qva(a.Sa,d.formatId)),b=f.index.uh(b/1E3),h=Math.max(0,b-1),h>=d.WH-a.u?(d.Xx=h+a.u,b=1E3*f.index.getStartTime(b),d.durationMs-=e-b):c.pop()),a.Ue=c)}}}}; kSa=function(a){var b=[],c=[].concat(g.u(a.kz));a.Ue.forEach(function(h){b.push(Object.assign({},h))}); for(var d=a.j,e=g.t(a.B.yT()),f=e.next();!f.done;f=e.next())d=iSa(a,b,c,d,f.value);b.forEach(function(h){h.startTimeMs&&(h.startTimeMs+=1E3*a.timestampOffset)}); return{Ue:b,kz:c}}; lSa=function(a){a.Ue=[];a.kz=[];a.j=-1}; mSa=function(a,b){this.u=(new TextEncoder).encode(a);this.j=(new TextEncoder).encode(b)}; xya=function(a,b){var c,d,e;return g.A(function(f){if(1==f.j){if(!b)return f.return(b);c=WW.At("woe");d=new g.SH(a.u);return g.y(f,d.encrypt(b,a.j),2)}e=f.u;WW.Qr(c,Math.ceil(b.byteLength/16));return f.return(e)})}; Dya=function(a,b){var c,d,e;return g.A(function(f){if(1==f.j){if(!b)return f.return(b);c=WW.At("wod");d=new g.SH(a.u);return g.y(f,d.decrypt(b,a.j),2)}e=f.u;WW.Qr(c,Math.ceil(b.byteLength/16));return f.return(e)})}; oSa=function(a,b,c){var d=this;this.policy=a;this.j=b;this.ya=c;this.C=this.u=0;this.Df=null;this.ea=new Set;this.Y=[];this.indexRange=this.initRange=null;this.T=new jI;this.oa=this.Aa=!1;this.hf={q6a:function(){return d.B}, V5a:function(){return d.chunkSize}, U5a:function(){return d.J}, T5a:function(){return d.I}}; (b=nSa(this))?(this.chunkSize=b.csz,this.B=Math.floor(b.clen/b.csz),this.J=b.ck,this.I=b.civ):(this.chunkSize=a.Aw,this.B=0,this.J=g.YB(16),this.I=g.YB(16));this.D=new Uint8Array(this.chunkSize);this.J&&this.I&&(this.crypto=new mSa(this.J,this.I))}; nSa=function(a){if(a.policy.oe&&a.policy.Dw)for(var b={},c=g.t(a.policy.oe),d=c.next();!d.done;b={hE:b.hE,iE:b.iE},d=c.next())if(d=g.Hw(d.value),b.hE=+d.clen,b.iE=+d.csz,0=d.length)return;if(0>c)throw Error("Missing data");a.C=a.B;a.u=0}for(e={};c=e)break;if(1886614376===d.getUint32(c+4)){var f=32;if(0=a.j.totalLength)throw Error();return dE(a.j,a.offset++)}; FSa=function(a,b){b=void 0===b?!1:b;var c=ESa(a);if(1===c){b=-1;for(c=0;7>c;c++){var d=ESa(a);-1===b&&255!==d&&(b=0);-1e&&d>c;e++)c=256*c+ESa(a),d*=128;return b?c:c-d}; HSa=function(a,b,c){var d=this;this.Ga=a;this.policy=b;this.I=c;this.logger=new g.vW("dash");this.u=[];this.j=null;this.Aa=-1;this.Y=0;this.Fa=NaN;this.ea=0;this.B=NaN;this.T=this.Ma=0;this.Za=-1;this.Ja=this.C=this.D=this.ya=null;this.fb=this.Ta=NaN;this.J=this.oa=this.Ra=this.jb=null;this.kb=!1;this.timestampOffset=0;this.hf={yT:function(){return d.u}}; if(this.policy.u){var e=this.I,f=this.policy.u;this.policy.Ma&&a.xa("atv",{ap:this.policy.Ma});this.J=new oSa(this.policy,e,function(h,l,m){bX(a,new aX(d.policy.u,2,{fD:new CSa(f,h,e.info,l,m)}))}); this.J.T.promise.then(function(h){d.J=null;1===h?bX(a,new aX(d.policy.u,h)):d.Ga.xa("offlineerr",{status:h.toString()})},function(h){var l=(h.message||"none").replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"); h instanceof $W&&!h.j?(d.logger.info(function(){return"Assertion failed: "+l}),d.Ga.xa("offlinenwerr",{em:l}),GSa(d),bX(a,new aX(d.policy.u,4))):(d.logger.info(function(){return"Failed to write to disk: "+l}),d.Ga.xa("dldbwerr",{em:l}),GSa(d),bX(a,new aX(d.policy.u,4,{cG:!0})))})}}; ISa=function(a){return a.u.length?a.u[0]:null}; cX=function(a){return a.u.length?a.u[a.u.length-1]:null}; PSa=function(a,b,c,d){d=void 0===d?0:d;if(a.C){var e=a.C.Pb+a.C.u;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 DSa(h);for(m=l=!1;;){n=h.Yp();var p=h;try{var q=FSa(p,!0),r=FSa(p,!1);var w=q;var x=r}catch(B){x=w=-1}p=w;var z=x;if(!(0f&&(f=n),m))break;163===p&&(f=Math.max(0,f),e=h.Yp()+z);if(160===p){0>f&&(e=f=h.Yp()+z);break}h.skip(z)}}0>f&&(e=-1)}if(0>f)break;a.Aa=f;a.Y=e-f}if(a.Aa>d)break;a.Aa?(d=MSa(a,a.Aa),d.C&&NSa(a,d),KSa(a,b,d),OSa(a,d),a.Aa=0):a.Y&&(d=MSa(a,0>a.Y?Infinity:a.Y),a.Y-=d.j.totalLength,OSa(a,d))}}a.j&&a.j.info.Xe&&(OSa(a,a.j),a.j=null)}; LSa=function(a,b){!b.info.j.Sm()&&0===b.info.Pb&&(g.IF(b.info.j.info)||b.info.j.info.Fe())&&qva(b);if(1===b.info.type)try{NSa(a,b),QSa(a,b)}catch(d){g.PB(d);var c=oF(b.info);c.hms="1";a.Ga.handleError("fmt.unparseable",c||{},1)}c=b.info.j;c.NL(b);a.J&&tSa(a.J,b);c.Eg()&&a.policy.D&&(a=a.Ga.Sa,a.Ja.push(hG(c.info,a.md)))}; GSa=function(a){var b;null==(b=a.J)||b.dispose();a.J=null}; RSa=function(a){var b=a.u.reduce(function(c,d){return c+d.j.totalLength},0); a.j&&(b+=a.j.j.totalLength);return b}; MSa=function(a,b){var c=a.j;b=Math.min(b,c.j.totalLength);if(b===c.j.totalLength)return a.j=null,c;c=GF(c,b);a.j=c[1];return c[0]}; NSa=function(a,b){var c=FF(b);if(WF(b.info.j.info)&&"bt2020"===b.info.j.info.video.primaries){var d=new HE(c);JE(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;OD(d)&&!WF(d)&&(d=FF(b),(new HE(d)).Rm(),NE([408125543,374648427,174,224],21936,d));b.info.j.info.Sg()&&(d=b.info.j,d.info&&d.info.video&&"MESH"===d.info.video.projectionType&&!d.B&&(g.IF(d.info)?d.B=sua(c):d.info.Fe()&&(d.B=zua(c))));b.info.j.info.Fe()&& b.info.Sg()&&(c=FF(b),(new HE(c)).Rm(),NE([408125543,374648427,174,224],30320,c)&&NE([408125543,374648427,174,224],21432,c));if(a.policy.qx&&b.info.j.info.Fe()){c=FF(b);var e=new HE(c);if(JE(e,[408125543,374648427,174,29637])){d=ME(e,!0);e=e.start+e.pos;for(var f=0;fm||(e&&b.skip(4),f&&b.skip(4),e=pE(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.ya&&!!a.ya.I.D)if(b=c.info.Sg())b=ova(c),h=a.ya,eX?(l=1/b,b=fX(a,b)>=fX(h)+l):b=a.getDuration()>=h.getDuration(),b=!b;b&&SSa(c)&&(b=a.ya,eX?(l=ova(c),h=1/l,l=fX(a,l),b=fX(b)+h-l):b=b.getDuration()- a.getDuration(),b=1+b/c.info.duration,rua(FF(c),b))}else{h=!1;a.D||(qva(c),c.u&&(a.D=c.u,h=!0,f=c.info,d=c.u.j,f.D="updateWithEmsg",f.Oa=d,f=c.u,f.C&&(a.I.index.u=!f.C),f=c.info.j.info,d=FF(c),g.IF(f)?FE(d,1701671783):f.Fe()&&NE([408125543],307544935,d)));a:if((f=KF(c,a.policy.tb))&&pva(c))l=TSa(a,c),a.T+=l,f-=l,a.ea+=f,a.B=a.policy.Zi?a.B+f:NaN;else{if(a.policy.Xn){if(d=m=a.Ga.zr(lva(c),1),0<=a.B&&6!==c.info.type){if(a.policy.Zi&&isNaN(a.Ta)){g.QB(new g.Sx("Missing duration while processing previous chunk", pF(c.info)));a.Ga.isOffline()&&!a.policy.qm||USa(a,c,d);JSa(a,"m");break a}var n=m-a.B,p=n-a.T,q=c.info.Oa,r=a.Ja?a.Ja.Oa:-1,w=a.fb,x=a.Ta,z=a.policy.ll&&n>a.policy.ll,B=10Math.abs(a.B-d);if(1E-4l&&f>a.Za)&&m){d=Math.max(.95,Math.min(1.05,(c-(h-e))/c));if(g.IF(b.info.j.info))rua(FF(b),d);else if(b.info.j.info.Fe()&&(f=e-h,!g.IF(b.info.j.info)&&(b.info.j.info.Fe(),d=new HE(FF(b)),l=b.C?d:new HE(new DataView(b.info.j.j.buffer)),KF(b,!0)))){var n= 1E3*f,p=TE(l);l=d.pos;d.pos=0;if(160===d.j.getUint8(d.pos)||UE(d))if(LE(d,160))if(ME(d,!0),LE(d,155)){if(f=d.pos,m=ME(d,!0),d.pos=f,n=1E9*n/p,p=OE(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=KF(b,a.policy.tb);d=c-d}d&&b.info.j.info.Fe()&&a.Ga.xa("webmDurationAdjustment",{durationAdjustment:d,videoDrift:e+d,audioDrift:h})}return d}; SSa=function(a){return a.info.j.Sm()&&a.info.Oa===a.info.j.index.pd()}; fX=function(a,b){b=(b=void 0===b?0:b)?Math.round(a.timestampOffset*b)/b:a.timestampOffset;a.I.D&&b&&(b+=a.I.D.j);return b+a.getDuration()}; YSa=function(a,b){0>b||(a.u.forEach(function(c){JF(c,b)}),a.timestampOffset=b)}; gX=function(a,b){var c=b.Kh,d=b.vz,e=void 0===b.lB?1:b.lB,f=void 0===b.XG?e:b.XG,h=void 0===b.Hr?!1:b.Hr,l=void 0===b.nq?!1:b.nq,m=void 0===b.UK?!1:b.UK,n=b.Hk,p=b.Oa;b=b.Pg;this.callbacks=a;this.requestNumber=++ZSa;this.j=this.now();this.Aa=this.Ra=NaN;this.Ja=0;this.C=this.j;this.u=0;this.Ta=this.j;this.ya=0;this.Za=this.Ma=this.isActive=!1;this.B=0;this.ea=NaN;this.J=this.D=Infinity;this.T=NaN;this.Fa=!1;this.Y=NaN;this.I=void 0;this.Kh=c;this.vz=d;this.policy=this.Kh.Aa;this.lB=e;this.XG=f;this.Hr= h;this.nq=l;m&&(this.I=[]);this.Hk=n;this.Oa=p;this.Pg=b;this.snapshot=gI(this.Kh);$Sa(this);aTa(this,this.j);this.ea=(this.Y-this.j)/1E3}; bTa=function(a,b){a.url=b;window.performance&&!performance.onresourcetimingbufferfull&&(performance.onresourcetimingbufferfull=function(){performance.clearResourceTimings()})}; hX=function(a){var b={rn:a.requestNumber,rt:(a.now()-a.j).toFixed(),lb:a.u,pt:(1E3*a.ea).toFixed(),pb:a.lB,stall:(1E3*a.B).toFixed(),ht:(a.Ra-a.j).toFixed(),elt:(a.Aa-a.j).toFixed(),elb:a.Ja};a.url&&OPa(b,a.url);return b}; eTa=function(a,b,c,d){if(!a.Ma){a.Ma=!0;if(!a.nq){cTa(a,b,c);dTa(a,b,c);var e=a.Wr();if(2===e&&d)iX(a,a.u/d,a.u);else if(2===e||1===e)d=(b-a.j)/1E3,(d<=a.policy.j||!a.policy.j)&&!a.Za&&jX(a)&&iX(a,d,c),jX(a)&&(d=a.Kh,d.j.Ci(1,a.B/Math.max(c,2048)),hI(d));c=a.Kh;b=(b-a.j)/1E3||.05;d=a.ea;e=a.Hr;c.I.Ci(b,a.u/b);c.C=(0,g.M)();e||c.u.Ci(1,b-d)}kX(a)}}; kX=function(a){a.isActive&&(a.isActive=!1)}; dTa=function(a,b,c){var d=(b-a.C)/1E3,e=c-a.u,f=a.Wr();if(a.isActive)1===f&&0e?(a.B+=d,.2d&&(d=0);d=1E3*(d*a.snapshot.stall+d/a.snapshot.byterate);d=jX(a)?d+b:d+Math.max(b,c);a.Y=d}; hTa=function(a,b){for(var c="";4095>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))}; nTa=function(a,b){if(b+1<=a.totalLength){var c=dE(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=dE(a,b++);else if(2===c)c=dE(a,b++),a=dE(a,b++),a=(c&63)+64*a;else if(3===c){c=dE(a,b++);var d=dE(a,b++);a=dE(a,b++);a=(c&31)+32*(d+256*a)}else if(4===c){c=dE(a,b++);d=dE(a,b++);var e=dE(a,b++);a=dE(a,b++);a=(c&15)+16*(d+256*(e+256*a))}else c=b+1,a.focus(c),bE(a,c,4)?a=dua(a).getUint32(c-a.B,!0):(d=dE(a,c+2)+256*dE(a,c+3),a=dE(a,c)+256*(dE(a,c+1)+ 256*d)),b+=5;return[a,b]}; lX=function(a){this.callbacks=a;this.j=new YD}; mX=function(a,b){this.info=a;this.callback=b;this.state=1;this.lz=this.UL=!1;this.ke=null}; oTa=function(a){return g.$k(a.info.gb,function(b){return 3===b.type})}; pTa=function(a,b,c,d){var e=this;d=void 0===d?{}:d;this.policy=b;this.callbacks=c;this.status=0;this.j=new YD;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.t(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.fz()}; this.xhr.onload=function(){return e.onDone()}; this.xhr.onerror=function(){return e.onError()}; this.xhr.fetch(function(f){e.u&&e.j.append(e.u);e.policy.j?e.j.append(f):e.u=f;e.B+=f.length;f=(0,g.M)();10this.policy.Iw?!1:!0:!1,a),this.Ad.j.start(),g.kf(function(){})}catch(z){CTa(this,z,!0)}}; ATa=function(a){if(!(tF(a.info)&&a.info.Hr()&&a.policy.wd&&a.bD)||2<=a.info.j.u||0=b&&(e.u.pop(),e.B-=KF(l,e.policy.tb),f=l.info)}f&&(e.C=0c?IW(a,d):a.u=a.j.wr(b-1,!1).gb[0]}; AX=function(a,b){var c;for(c=0;c=a.ea:c}; BX=function(a){var b;return wX(a)||!(null==(b=cX(a.C))||!jF(b.info))}; PTa=function(a){var b=[],c=uX(a);c&&b.push(c);b=g.sb(b,a.C.Go());c=g.t(a.B);for(var d=c.next();!d.done;d=c.next()){d=d.value;for(var e={},f=g.t(d.info.gb),h=f.next();!h.done;e={zw:e.zw},h=f.next())e.zw=h.value,d.UL&&(b=g.Km(b,function(l){return function(m){return!Vua(m,l.zw)}}(e))),(lF(e.zw)||4===e.zw.type)&&b.push(e.zw)}a.u&&!Oua(a.u,g.fb(b),a.u.j.Sm())&&b.push(a.u); return b}; OTa=function(a,b){if(!a.length)return!1;for(b+=1;b=b){b=f;break a}}b=e}return 0>b?NaN:OTa(a,c?b:0)?a[b].startTime:NaN}; CX=function(a){return!(!a.u||a.u.j===a.j)}; UTa=function(a){return CX(a)&&a.j.Eg()&&a.u.j.info.dcb&&a.Cb)return!0;var c=a.pd();return bb)return 1;c=a.pd();return b=f)return 1;d=b.dh;if(!d||e(0,g.M)()?0:1}; DX=function(a,b,c,d,e,f,h,l,m,n,p,q){g.C.call(this);this.Ga=a;this.policy=b;this.videoTrack=c;this.audioTrack=d;this.C=e;this.j=f;this.timing=h;this.D=l;this.schedule=m;this.Sa=n;this.B=p;this.ea=q;this.oa=!1;this.kD="";this.Hk=null;this.J=0;this.Pg=NaN;this.Y=!1;this.u=null;this.Yj=this.T=NaN;this.vj=null;this.I=0;this.logger=new g.vW("dash");0f&&(c=d.j.Tw(d,e-h.u)))),d=c):(0>d.Oa&&(c=oF(d),c.pr=""+b.B.length,a.Ga.ih()&&(c.sk="1"),c.snss=d.D,a.Ga.xa("nosq",c)),d=h.CA(d));if(a.policy.ea)for(c=g.t(d.gb),e=c.next();!e.done;e=c.next())e.value.type=6}else d.j.Sm()?(c=FRa(a.D,b.j.info.dc,c.j.info.dc,0),d=d.j.Tw(d,c)):d=d.j.CA(d);if(a.u){e= d.gb[0].j.info.id;c=a.j;h=d.gb[0].Oa;c=0>h&&!isNaN(c.B)?c.B:h;h=SRa(a.j,d.gb[0].B,c);f=b===a.audioTrack?1:2;var m=d.gb[0].j.info.Mb;l=e.split(";")[0];if(a.policy.Aa&&0!==a.j.u)e=a.u.zs(h,c,e,f,m),0>c&&2===f&&MW(a.j,0,0,!0),e&&(a.Ga.xa("sdai",{ssdaiinfo:"1",itag:l,f:m,sg:c,st:h.toFixed(3)}),d.J=e);else if(e=a.u.Dm(h,c,e,f,m),0>c&&2===f&&MW(a.j,0,0,!0),e){h={dec_sq:c,itag:l,st:h.toFixed(3)};if(a.policy.tx&&b.isRequestPending(c-1)){a.Ga.xa("sdai",{wt_daistate_on_sg:c-1});return}a.Ga.xa("sdai",h);e&& (d.u=new g.QD(e))}else 5!==a.j.u&&a.Ga.xa("sdai",{nodec_sq:c,itag:l,st:h.toFixed(3)})}a.policy.Xl&&-1!==d.gb[0].Oa&&d.gb[0].Oa=e.J?(e.xa("sdai",{haltrq:f+1,est:e.J}),d=!1):d=2!==e.u;if(!d||!Jua(b.u?b.u.j.u:b.j.u,a.policy,a.C)||a.Ga.isSuspended&&(!gxa(a.schedule)||a.Ga.jF))return!1;if(a.policy.u&&5<=XJ)return g.ro(a.Ga.sG),!1;if(a.Sa.isManifestless){if(0=a.policy.jl||!a.policy.ix&&0=a.policy.ql)return!1;d=b.u;if(!d)return!0;4===d.type&&d.j.Eg()&&(b.u=g.fb(d.j.wz(d)),d=b.u);if(!jF(d)&&!d.j.vr(d))return!1;f=a.Sa.Qe||a.Sa.B;if(a.Sa.isManifestless&&f){f=b.j.index.pd();var h=c.j.index.pd();f=Math.min(f,h);if(0= f)return b.ea=f,c.ea=f,!1}if(d.j.info.audio&&4===d.type)return!1;if(!a.policy.Bd&&UTa(b)&&!a.policy.hc)return!0;if(jF(d)||!a.policy.Bd&&xX(b)&&xX(b)+xX(c)>a.policy.Ec)return!1;f=!b.D&&!c.D;if(e=!e)e=d.C,e=!!(c.u&&!jF(c.u)&&c.u.CgUa(a,b)?(gUa(a,b),!1):(a=b.Vb)&&a.isLocked()?!1:!0}; gUa=function(a,b){var c=a.j;c=c.j?c.j.jf:null;if(a.policy.ea&&c)return c.startSecs+c.Og+15;b=cUa(a.Ga,b,!0);!VW(a.Ga.ze)&&0a.Ga.getCurrentTime())return c.start/1E3;return Infinity}; iUa=function(a,b,c){if(0!==c){a:if(b=b.info,c=2===c,b.u)b=null;else{var d=b.gb[0];if(b.range)var e=gF(b.range.start,Math.min(4096,b.C));else{if(b.B&&0<=b.B.indexOf("/range/")||"1"===b.j.B.get("defrag")||"1"===b.j.B.get("otf")){b=null;break a}e=gF(0,4096)}e=new rF([new iF(5,d.j,e,"createProbeRequestInfo"+d.D,d.Oa)],b.B);e.I=c;e.u=b.u;b=e}b&&eUa(a,b)}}; eUa=function(a,b){a.Ga.ML(b);var c=Xua(b);c={Kh:a.schedule,lB:c,XG:DRa(a.D,c),Hr:kF(b.gb[0]),nq:TD(b.j.j),UK:a.policy.B,vz:function(e,f){a.Ga.pD(e,f)}}; a.Hk&&(c.Oa=b.gb[0].Oa,c.Pg=b.Pg,c.Hk=a.Hk);var d={pu:Yua(b,a.Ga.getCurrentTime()),bD:a.policy.wd&&tF(b)&&b.gb[0].j.info.video?fSa(a.B):void 0,OD:a.policy.ea,poToken:a.Ga.DL(),Ev:a.Ga.GB(),kD:a.kD,Yj:isNaN(a.Yj)?null:a.Yj,vj:a.vj};return new FW(a.policy,b,c,a.C,function(e,f){try{a:{var h=e.info.gb[0].j,l=h.info.video?a.videoTrack:a.audioTrack;if(!(2<=e.state)||e.isComplete()||e.us()||!(!a.Ga.Xa||a.Ga.isSuspended||3f){if(a.policy.jb){var n=Object.assign(hX(e.timing),{rst:e.state,strm:e.xhr.ew(),d:iTa(e.timing)});a.Ga.xa("rqs",n)}e.hX&&a.Ga.xa("sbwe3",{},!0)}if(!a.isDisposed()&&2<=e.state){var p=a.timing,q=e.info.gb[0].j,r=!p.J&&q.info.video,w=!p.u&&q.info.audio;3===e.state?r?p.tick("vrr"):w&&p.tick("arr"):4===e.state?r?(p.J=e.We(),g.Zx(),ay(4)):w&&(p.u=e.We()):e.Yu()&&r&&(g.Zx(),ay(4));var x=a.Ga;a.Yj&&e.mK&&x&&(a.Yj=NaN,a.Ga.xa("cabrUtcSeek",{mediaTimeSeconds:e.mK}));if(3===e.state){AX(l, e);tF(e.info)&&EX(a,l,h,!0);if(a.u){var z=e.info.Dm();z&&a.u.Ak(e.info.gb[0].Oa,h.info.id,z)}a.Ga.bf()}else if(e.isComplete()&&5===e.info.gb[0].type){if(4===e.state){var B=(e.info.gb[0].j.info.video?a.videoTrack:a.audioTrack).B[0]||null;B&&B instanceof FW&&B.us()&&B.VD(!0)}e.dispose()}else{if(!e.Vo()&&e.lz&&2<=e.state&&3!==e.state){var E=e.xhr.getResponseHeader("X-Response-Itag");if(E){var G=eSa(a.B,E),F=e.info.C;if(F){var L=F-G.xL();G.C=!0;e.info.gb[0].j.C=!1;var O=G.Ou(L);e.info=O;if(e.ke){var U= e.ke,ba=O.gb;(ba.length!==U.gb.length||ba.lengtha.j||c.push(d)}return c}; vUa=function(a,b,c){b.push.apply(b,g.u(tUa[a]||[]));c.K("html5_early_media_for_drm")&&b.push.apply(b,g.u(uUa[a]||[]))}; AUa=function(a,b){var c=DK(a),d=a.V().D;if(IX&&!d.j)return IX;for(var e=[],f=[],h={},l=g.t(wUa),m=l.next();!m.done;m=l.next()){var n=!1;m=g.t(m.value);for(var p=m.next();!p.done;p=m.next()){p=p.value;var q=xUa(p);!q||!q.video||fG(q)&&!c.Ja&&q.video.j>c.C||(n?(e.push(p),vUa(p,e,a)):(q=FD(c,q,d),!0===q?(n=!0,e.push(p),vUa(p,e,a)):h[p]=q))}}l=g.t(yUa);for(n=l.next();!n.done;n=l.next())for(n=g.t(n.value),p=n.next();!p.done;p=n.next())if(m=p.value,(p=zUa(m))&&p.audio&&(a.K("html5_onesie_51_audio")||!ND(p)&& !MD(p)))if(p=FD(c,p,d),!0===p){f.push(m);vUa(m,f,a);break}else h[m]=p;c.B&&b("orfmts",h);IX={video:e,audio:f};d.j=!1;return IX}; xUa=function(a){var b=UF[a],c=BUa[b],d=CUa[a];if(!d||!c)return null;var e=new RF(d.width,d.height,d.fps);c=RG(c,e,b);return new VF(a,c,{video:e,dc:d.bitrate/8})}; zUa=function(a){var b=BUa[UF[a]],c=DUa[a];return c&&b?new VF(a,b,{audio:new PF(c.audioSampleRate,c.numChannels)}):null}; FUa=function(a){return{JX:gya(a,1,EUa)}}; GUa=function(a){return{P6a:tJ(a,1)}}; EUa=function(a){return{clipId:wJ(a,1),ZD:xJ(a,2,HUa),B4:xJ(a,3,GUa)}}; HUa=function(a){return{z9:wJ(a,1),K7:tJ(a,2),N6a:tJ(a,3),RK:tJ(a,4),hw:tJ(a,5)}}; IUa=function(a){return{first:tJ(a,1),FU:tJ(a,2)}}; KUa=function(a,b){FJ(a,1,b.formatId,JX,3);BJ(a,2,b.startTimeMs);BJ(a,3,b.durationMs);BJ(a,4,b.WH);BJ(a,5,b.Xx);FJ(a,9,b.s5a,JUa,3)}; LUa=function(a,b){EJ(a,1,b.videoId);BJ(a,2,b.Xm)}; JUa=function(a,b){var c;if(b.SR)for(c=0;cc.Az||0>c.vt||0>c.durationMs||0>c.startMs||0>c.Lq)return LX(a,b),[];b=gF(c.Az,c.Lq);var h;if(null==(h=a.j)?0:h.wf){var l=c.XM||0;var m=b.length-l}return[new iF(3,e,b,"makeSliceInfosMediaBytes",c.vt-1,c.startMs/1E3,c.durationMs/1E3,l,m)]}if(0>c.vt)return LX(a,b),[];var n;return(null==(n=a.Sa)?0:n.md)?(a=e.Xj,[new iF(3,e,void 0,"makeSliceInfosMediaBytes", c.vt,void 0,a,void 0,a*e.info.dc)]):[]}; $Ua=function(a,b,c){a.Sa=b;a.j=c;b=g.t(a.xd);for(c=b.next();!c.done;c=b.next()){var d=g.t(c.value);c=d.next().value;d=d.next().value;for(var e=g.t(d.bX),f=e.next();!f.done;f=e.next())f=ZUa(a,c,f.value),YUa(a,c,d,f)}}; aVa=function(a,b,c){(a=a.xd.get(b))&&!a.Rg&&(ZD(a.me,c),a.bytesReceived+=c.totalLength,a.YN=!0)}; VUa=function(a,b){if((b=a.xd.get(b))&&!b.Rg){b.Rg=!0;b.Je&&b.Je();a:{b=g.t(a.xd.values());for(var c=b.next();!c.done;c=b.next())if(!c.value.Rg){b=!1;break a}b=!0}b&&a.B.rV()}}; bVa=function(a,b,c,d,e,f){g.C.call(this);this.policy=a;this.info=b;this.Sa=c;this.callbacks=e;this.logger=new g.vW("sabr");this.uj=new lX(this);this.m8=new UUa(this);this.qg=new KX(this);this.state=1;this.zU=this.ZW=!1;this.clipId="";this.Dh=new gX(this,f);e=this.policy;f=void 0===b.B?aF(b.j,e,d):b.B;e=Iua(b.j,f,e);b.bv()&&e.set("probe","1");this.Me=e;this.Me.set("rn",""+this.PF());$Ua(this.qg,c,a);this.Ad=new pX(this,this.policy,this.Me,b.j,this.Dh,this.logger,d,this.policy.fA);xTa(this.Ad);a={method:"POST"}; a.body=b.C;try{this.xhr=vTa(this.Me,this.policy.C,this.Dh,FK,a),this.Ad.j.start()}catch(h){g.QB(h)}}; cVa=function(a,b){var c=-1,d=-1,e=-1,f;if(null==(f=a.lO)?0:f.items)for(a=g.t(a.lO.items),f=a.next();!f.done;f=a.next())f=f.value,ba;a++)PX[a]=255>=a?9:7;sVa.length=32;sVa.fill(5);QX.length=286;QX.fill(0);for(a=261;285>a;a++)QX[a]=Math.floor((a-261)/4);RX[257]=3;for(a=258;285>a;a++){var b=RX[a-1];b+=1<a;a++)tVa[a]=3>=a?0:Math.floor((a-2)/2);for(a=SX[0]=1;30>a;a++)b=SX[a-1],b+=1<a.Sj.length&&(a.Sj=new Uint8Array(2*a.B),a.B=0,a.u=0,a.C=!1,a.j=0,a.register=0)}a.Sj.length!==a.B&&(a.Sj=a.Sj.subarray(0,a.B));return a.error?new Uint8Array(0):a.Sj}; yVa=function(a,b,c){b=wVa(b);c=wVa(c);for(var d=a.data,e=a.Sj,f=a.B,h=a.register,l=a.j,m=a.u;;){if(15>l){if(m>d.length){a.error=!0;break}h|=(d[m+1]<<8)+d[m]<n)for(h>>=7;0>n;)n=b[(h&1)-n],h>>=1;else h>>=n&15;l-=n&15;n>>=4;if(256>n)e[f++]=n;else if(a.register=h,a.j=l,a.u=m,256a.j){var c=a.data,d=a.u;d>c.length&&(a.error=!0);a.register|=(c[d+1]<<8)+c[d]<>4;for(zVa(a,7);0>c;)c=b[TX(a,1)-c];return c>>4}; TX=function(a,b){for(;a.j=a.data.length)return a.error=!0,0;a.register|=a.data[a.u++]<>=b;a.j-=b;return c}; zVa=function(a,b){a.j-=b;a.register>>=b}; wVa=function(a){for(var b=[],c=g.t(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}; CVa=function(a,b){var c,d,e,f,h,l,m,n,p,q,r,w;return g.A(function(x){switch(x.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=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 x.return(h)}catch(z){g.PB(z),b.reload()}if(!("DecompressionStream"in window))return x.return(g.AVa(new g.uVa(a)));l=new DecompressionStream("gzip");m=l.writable.getWriter();m.write(a);m.close();n=l.readable.getReader();p=new YD([]);case 2:return g.y(x,n.read(),4);case 4:q=x.u;r=q.value;if(w=q.done){x.Ka(3);break}p.append(r);x.Ka(2);break;case 3:return x.return(cE(p))}})}; DVa=function(a){HX.call(this,"onesie");this.Xd=a;this.j={};this.C=!0;this.B=null;this.queue=new pVa(this)}; EVa=function(a){var b=a.queue;b.j.length&&b.j[0].isEncrypted&&!b.u&&(b.j.length=0);b=g.t(Object.keys(a.j));for(var c=b.next();!c.done;c=b.next())if(c=c.value,!a.j[c].UT){var d=a.queue;d.j.push({YO:c,isEncrypted:!1});d.u||rVa(d)}}; FVa=function(a,b){var c=b.totalLength,d=!1;switch(a.B){case 0:a.xN(b,a.C).then(function(e){var f=a.Xd;f.Wc("oprr");f.playerResponse=e;f.JM||(f.uD=!1);UX(f)},function(e){a.Xd.fail(e)}); break;case 2:a.Wc("ormk");b=cE(b);a.queue.decrypt(b);break;default:d=!0}a.Xd.Bk&&a.Xd.xa("ombup","id.11;pt."+a.B+";len."+c+(d?";ignored.1":""));a.B=null}; GVa=function(a){return new Promise(function(b){setTimeout(b,a)})}; HVa=function(a,b){var c=xH(b.Z.experiments,"debug_bandaid_hostname");if(c)b=JV(b,c);else if(c=b.j.get(0)){var d=c;if(b.Z.K("html5_onesie_host_racing_during_prewarming")){var e=b.j.values();e=g.t(e);for(var f=e.next();!f.done;f=e.next())f=f.value,MV(f)=a.policy.Yn,h=!1;if(f){var l=0;!isNaN(b)&&b>a.D&&(l=b-a.D,a.D=b);l/e=a.policy.ij&&!a.B;if(!f&&!c&&ZVa(a,b))return NaN;c&&(a.B=!0);a:{d=h;c=Date.now()/1E3-(a.Jx.aj()||0)-a.J.u-a.policy.Fb;f=a.u.startTime;c=f+c;if(d){if(isNaN(b)){XX(a,NaN,"n",b);f=NaN;break a}d=b-a.policy.hj;d=e.B&&c<=e.C){c=!0;break a}c=!1}return c?!0:(a.xa("ostmf",{ct:a.currentTime,a:b.j.info.Ek()}),!1)}; eWa=function(a,b){var c=b.j,d=a.Sa.md;if(a.Sa.md){var e=a.va.getVideoData(),f,h;if(a.policy.Bw&&!!(null==(f=a.Za)?0:null==(h=f.W3)?0:h.O7)!==a.Sa.Qe){a.xa("ombplmm",{});return}e=e.Ic||e.liveUtcStartSeconds||e.Zi;if(a.Sa.Qe&&e){a.xa("ombplst",{});return}if(a.Sa.oa){a.xa("ombab",{});return}e=Date.now();if(hwa(a.Sa)&&!isNaN(a.oa)&&e-a.oa>1E3*a.policy.bx){a.xa("ombttl",{});return}if(a.Sa.He&&a.Sa.B||!a.policy.DC&&a.Sa.isPremiere)return}e=a.lf();a.Y&&a.Y.xd.has(dF(c,d,e))?(d=dF(c,d,e),dWa(a,b)&&(e=new rF(a.Y.Go(d)), f=function(l){try{if(l.Vo())a.handleError(l.Ve(),l.Vp()),AX(b,l),tF(l.info)&&EX(a.j,b,c,!0),a.bf();else if(jUa(a.j,l)){var m;null==(m=a.u)||RRa(m,l.info,a.I);a.bf()}}catch(n){l=$I(n),a.handleError(l.errorCode,l.details,l.severity),a.wk()}},c.C=!0,sF(e)&&(ITa(b,new EW(a.policy,d,e,a.Y,f)),PRa(a.timing)))):a.xa("ombfmt",{})}; ZX=function(a,b){b=b||a.videoTrack&&a.videoTrack.u&&a.videoTrack.u.startTime||a.currentTime;var c=a.videoTrack,d=a.ze;b=d.nextVideo&&d.nextVideo.index.uh(b)||0;d.Fa!==b&&(d.Ja={},d.Fa=b,PW(d,d.B));b=!VW(d)&&-1(0,g.M)()-d.Y;var e=d.nextVideo&&3*RW(d,d.nextVideo.info)=b&&yX(c,!0)>=b;else if(c.B.length||d.B.length){var e=c.j.info.dc+d.j.info.dc;e=10*(1-DW(b)/e);b=Math.max(e,b.policy.Zg);c=yX(d,!0)>=b&&yX(c,!0)>=b}else c=!0;if(!c)return"abr";c=a.videoTrack;if(0a.currentTime||360(e?e.Oa:-1));if(f)return a.B.ih()&&dY(a),!1;lWa(a,b,c,d.info);if(a.Sa.u&&0===d.info.Pb){if(null==c.Yr()){e=uX(b);if(!(f=!e||e.j!==d.info.j)){b:if(e= e.J,f=d.info.J,e.length!==f.length)e=!1;else{for(var h=0;he)){a:{e=a.policy.Ra?(0,g.M)():0;f=d.C||d.B?d.info.j.j:null;h=d.j;d.B&&(h=new YD([]),ZD(h,d.B),ZD(h,d.j));var l=cE(h);h=a.policy.Ra?(0,g.M)(): 0;f=oWa(a,c,l,d.info,f);a.policy.Ra&&(!d.info.Pb||d.info.Xe||10>d.info.B)&&a.xa("sba",c.qc({as:pF(d.info),pdur:Math.round(h-e),adur:Math.round((0,g.M)()-h)}));if("s"===f)a.policy.Od&&a.J&&(a.J=!1),a.Ra=0,a=!0;else{if("i"===f||"x"===f)pWa(a,"checked",f,d.info);else{if("q"===f){if(a.policy.Od&&!a.J){a.policy.ah&&(a.J=!0);a=!1;break a}d.info.Sg()?(c=a.policy,c.Y=Math.floor(.8*c.Y),c.kb=Math.floor(.8*c.kb),c.T=Math.floor(.8*c.T)):(c=a.policy,c.ya=Math.floor(.8*c.ya),c.Qc=Math.floor(.8*c.Qc),c.T=Math.floor(.8* c.T));nS(a.policy)||SW(a.ze,d.info.j)}cY(a.va,{reattachOnAppend:f})}a=!1}}e=!a}if(e)return!1;b.Xv(d);return!0}; pWa=function(a,b,c,d){var e="fmt.unplayable",f=1;"x"===c||"m"===c?(e="fmt.unparseable",nS(a.policy)||d.j.info.video&&!TW(a.ze)&&SW(a.ze,d.j)):"i"===c&&(15>a.Ra?(a.Ra++,e="html5.invalidstate",f=0):e="fmt.unplayable");d=oF(d);var h;d.mrs=null==(h=a.Xa)?void 0:MG(h);d.origin=b;d.reason=c;a.handleError(e,d,f)}; WSa=function(a,b,c,d,e){var f=a.Sa;var h=!1,l=-1;for(p in f.j){var m=kG(f.j[p].info.mimeType)||f.j[p].info.Sg();if(d===m)if(h=f.j[p].index,BF(h,b.Oa)){m=b;var n=h.Eo(m.Oa);n&&n.startTime!==m.startTime?(h.segments=[],h.iJ(m),h=!0):h=!1;h&&(l=b.Oa)}else h.iJ(b),h=!0}if(0<=l){var p={};f.ma("clienttemp","resetMflIndex",(p[d?"v":"a"]=l,p),!1)}f=h;NRa(a.B,b,d,f);a.u.tN(b,c,d,e);b.Oa===a.Sa.He&&f&&YG(a.Sa)&&b.startTime>YG(a.Sa)&&(a.Sa.hc=b.startTime+(isNaN(a.timestampOffset)?0:a.timestampOffset),a.B.ih()&& a.B.j=b&&cWa(a,d.startTime,!1)}); return c&&c.startTime=a.length))for(var b=(0,g.sX)([60,0,75,0,73,0,68,0,62,0]),c=28;cd;++d)b[d]=a[c+2*d];a=gE(b);a=Hf(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++}}; hY=function(a,b){fY.call(this);var c=this;this.B=a;this.j=[];this.u=new g.qo(function(){c.ma("log_qoe",{wvagt:"timer",reqlen:c.j?c.j.length:-1});if(c.j){if(0d;d++)c[2*d]=''.charCodeAt(d);a=a.B.createSession("video/mp4",b,c);return new kY(null,null,null,null,a)}; bXa=function(a,b){var c=a.I[b.sessionId];!c&&a.C&&(c=a.C,a.C=null,c.sessionId=b.sessionId,a.I[b.sessionId]=c);return c}; ZWa=function(a,b){var c=a.subarray(4);c=new Uint16Array(c.buffer,c.byteOffset,c.byteLength/2);c=String.fromCharCode.apply(null,c).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e=a&&(c=.75*a),b=.5*(a-c),c=new gY(b,a,a-b-c,this)):c=null;break a;case "widevine":c=new hY(a,this);break a;default:c=null}if(this.D=c)g.D(this,this.D),this.D.subscribe("rotated_need_key_info_ready",this.TR,this),this.D.subscribe("log_qoe",this.Ti,this);sH(this.Z.experiments);this.Ti({cks:this.j.rh()})}; dXa=function(a){var b=a.C.attach();b?b.then(hH(function(){fXa(a)}),hH(function(c){if(!a.isDisposed()){g.PB(c); var d="t.a";c instanceof DOMException&&(d+=";n."+c.name+";m."+c.message);a.ma("licenseerror","drm.unavailable",1,d,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}})):(a.Ti({mdkrdy:1}),a.Y=!0); a.ea&&(b=a.ea.attach())}; hXa=function(a,b,c){a.Ma=!0;c=new ySa(b,c);a.Z.K("html5_eme_loader_sync")&&(a.I.get(b)||a.I.set(b,c));gXa(a,c)}; gXa=function(a,b){if(!a.isDisposed()){a.Ti({onInitData:1});if(a.Z.K("html5_eme_loader_sync")&&a.videoData.C&&a.videoData.C.j){var c=a.J.get(b.initData);b=a.I.get(b.initData);if(!c||!b)return;b=c;c=b.initData;a.I.remove(c);a.J.remove(c)}a.Ti({initd:b.initData.length,ct:b.contentType});if("widevine"===a.j.flavor)if(a.ya&&!a.videoData.isLivePlayback)nY(a);else{if(!(a.Z.K("vp9_drm_live")&&a.videoData.isLivePlayback&&b.Fe)){a.ya=!0;c=b.cryptoPeriodIndex;var d=b.j;ASa(b);b.Fe||(d&&b.j!==d?a.ma("ctmp","cpsmm", {emsg:d,pssh:b.j}):c&&b.cryptoPeriodIndex!==c&&a.ma("ctmp","cpimm",{emsg:c,pssh:b.cryptoPeriodIndex}));a.ma("widevine_set_need_key_info",b)}}else a.TR(b)}}; fXa=function(a){if(!a.isDisposed())if(a.Z.K("html5_drm_set_server_cert")&&!g.CI(a.Z)||oH(a.j)){var b=a.C.setServerCertificate();b?b.then(hH(function(c){a.Z.Td()&&a.ma("ctmp","ssc",{success:c})}),hH(function(c){a.ma("ctmp","ssce",{n:c.name, m:c.message})})).then(hH(function(){iXa(a)})):iXa(a)}else iXa(a)}; iXa=function(a){a.isDisposed()||(a.Y=!0,a.Ti({onmdkrdy:1}),nY(a))}; jXa=function(a){return"widevine"===a.j.flavor&&a.videoData.K("html5_drm_cpi_license_key")}; nY=function(a){if(a.Ma&&a.Y&&!a.Aa){for(;a.B.length;){var b=a.B[0],c=jXa(a)?BSa(b):g.Ff(b.initData);if(oH(a.j)&&!b.u)a.B.shift();else{if(a.u.get(c))if("fairplay"!==a.j.flavor||oH(a.j)){a.B.shift();continue}else a.u.delete(c);ASa(b);break}}a.B.length&&a.createSession(a.B[0])}}; kXa=function(a){var b;if(b=g.jx()){var c;b=!(null==(c=a.C.u)||!c.getMetrics)}b&&(b=a.C.getMetrics())&&(b=g.iE(b),a.ma("ctmp","drm",{metrics:b}))}; pY=function(a){g.C.call(this);var b=this;this.va=a;this.j=this.va.V();this.videoData=this.va.getVideoData();this.tC=0;this.I=this.B=!1;this.D=0;this.C=g.rH(this.j.experiments,"html5_delayed_retry_count");this.u=new g.qo(function(){oY(b.va)},g.rH(this.j.experiments,"html5_delayed_retry_delay_ms")); this.J=g.rH(this.j.experiments,"html5_url_signature_expiry_time_hours");g.D(this,this.u)}; oXa=function(a,b,c){var d=a.videoData.u,e=a.videoData.I;if(("progressive.net.retryexhausted"===b||"fmt.unplayable"===b||"fmt.decode"===b)&&!a.va.Mi.D&&d&&"22"===d.itag)return a.va.Mi.D=!0,a.Nd("qoe.restart",{reason:"fmt.unplayable.22"}),qY(a.va),!0;var f=!1,h=a.tC+3E4<(0,g.M)()||a.u.isActive();if(a.j.K("html5_empty_src")&&a.videoData.isAd()&&"fmt.unplayable"===b&&/Empty src/.test(""+c.msg))return c.origin="emptysrc",a.Nd("auth",c),!0;var l;if(l=!h)l=a.va.As(),l=!!(l.pg()||l.isInline()||l.isBackground()|| l.Fy()||l.Cy());l&&(c.nonfg="paused",h=!0,a.va.pauseVideo());("fmt.decode"===b||"fmt.unplayable"===b)&&(null==e?0:ND(e)||MD(e))&&(Lwa(a.j.D,e.Mb),c.acfallexp=e.Mb,f=h=!0);!h&&0=a.j.ac)return!1;b.exiled=""+a.j.ac;a.Nd("qoe.start15s",b);a.va.ma("playbackstalledatstart");return!0}; mXa=function(a){return a.B?!0:"yt"===a.j.Ja?a.videoData.kb?25>a.videoData.Ec:!a.videoData.Ec:!1}; nXa=function(a){if(!a.B){a.B=!0;var b=a.va.getPlayerState();b=g.QM(b)||b.isSuspended();a.va.yn();b&&!dL(a.videoData)||a.va.ma("signatureexpired")}}; pXa=function(a,b){if((a=a.va.ye())&&("fmt.unplayable"===b.errorCode||"html5.invalidstate"===b.errorCode)){var c=a.Ve();b.details.merr=c?c.toString():"0";b.details.mmsg=a.Bf()}}; qXa=function(a){return"net.badstatus"===a.errorCode&&(1===a.severity||!!a.details.fmt_unav)}; rXa=function(a,b){return a.j.K("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}; tXa=function(a,b){if(!rXa(a,b)&&!a.B)return!1;b.details.sts="19450";if(mXa(a))return ZI(b.severity)&&(b=Object.assign({e:b.errorCode},b.details),b=new YI("qoe.restart",b)),a.Nd(b.errorCode,b.details),nXa(a),!0;6048E5<(0,g.M)()-a.j.If&&sXa(a,"signature");return!1}; sXa=function(a,b){try{window.location.reload(),a.Nd("qoe.restart",{detail:"pr."+b})}catch(c){}}; uXa=function(a,b){var c=a.j.D;c.D=!1;c.j=!0;a.Nd("qoe.restart",{e:void 0===b?"fmt.noneavailable":b,detail:"hdr"});oY(a.va,!0)}; vXa=function(a,b,c,d){this.videoData=a;this.j=b;this.reason=c;this.u=d}; wXa=function(a,b,c){this.Z=a;this.KD=b;this.va=c;this.Y=this.I=this.J=this.u=this.j=this.C=this.T=this.B=0;this.D=!1}; yXa=function(a,b,c){!a.Z.K("html5_tv_ignore_capable_constraint")&&g.CI(a.Z)&&(c=c.compose(xXa(a,b)));return c}; AXa=function(a,b){var c,d=zXa(a,null==(c=b.j)?void 0:c.videoInfos);c=a.va.getPlaybackRate();return 1(0,g.M)()-a.C?0:f||0h?a.u+1:0;if(45<(n-m)/l||!e||g.CI(a.Z))return!1;a.j=d>e?a.j+1:0;if(3!==a.j)return!1;DXa(a,b.videoData.u);a.va.xa("dfd",Object.assign({dr:c.droppedVideoFrames,de:c.totalVideoFrames},FXa()));return!0}; HXa=function(a,b){return 0>=g.rH(a.Z.experiments,"hfr_dropped_framerate_fallback_threshold")||!(b&&b.video&&32=e){d=e;break}return new vD(0,d,!1,"b")}; JXa=function(a){a=a.va.As();return a.isInline()?new vD(0,480,!1,"v"):a.isBackground()&&60e?(c&&(d=KXa(a,c,d)),new vD(0,d,!1,"e")):gK}; KXa=function(a,b,c){if(a.K("html5_optimality_defaults_chooses_next_higher")&&c)for(a=b.j.videoInfos,b=1;ba.u)){var b=g.WV(a.provider),c=b-a.C;a.C=b;8===a.playerState.state?a.playTimeSecs+=c:g.TM(a.playerState)&&!g.S(a.playerState,16)&&(a.rebufferTimeSecs+=c)}}; QXa=function(a,b){b?PXa.test(a):(a=g.Hw(a),Object.keys(a).includes("cpn"))}; SXa=function(a,b,c,d,e,f,h){var l={format:"RAW"},m={};if(Kw(a)&&Lw()){if(h){var n;2!==(null==(n=RXa.uaChPolyfill)?void 0:n.state.type)?h=null:(h=RXa.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.tw("EOM_VISITOR_DATA"))?m["X-Goog-EOM-Visitor-Id"]=h:d?m["X-Goog-Visitor-Id"]= d:g.tw("VISITOR_DATA")&&(m["X-Goog-Visitor-Id"]=g.tw("VISITOR_DATA"));c&&(m["X-Goog-PageId"]=c);d=b.authUser;b.K("move_vss_away_from_login_info_cookie")&&d&&(m["X-Goog-AuthUser"]=d,m["X-Yt-Auth-Test"]="test");e&&(m.Authorization="Bearer "+e);h||m["X-Goog-Visitor-Id"]||e||c||b.K("move_vss_away_from_login_info_cookie")&&d?l.withCredentials=!0:b.K("html5_send_cpn_with_options")&&PXa.test(a)&&(l.withCredentials=!0)}0a.B.kV+100&&a.B){var d=a.B,e=d.isAd;c=1E3*c-d.kV;a.ya=1E3*b-d.l8-c-d.b8;c=(0,g.M)()-c;b=a.ya;d=a.provider.videoData;var f=d.isAd();if(e||f){f=(e?"ad":"video")+"_to_"+(f?"ad":"video");var h={};d.T&&(h.cttAuthInfo={token:d.T,videoId:d.videoId});h.startTime=c-b;pD(f,h);oD({targetVideoId:d.videoId,targetCpn:d.clientPlaybackNonce},f);rD("pbs",c,f)}else c=a.provider.va.Rh(),c.I!==d.clientPlaybackNonce? (c.D=d.clientPlaybackNonce,c.u=b):g.QB(new g.Sx("CSI timing logged before gllat",{cpn:d.clientPlaybackNonce}));a.xa("gllat",{l:a.ya.toFixed(),prev_ad:+e});delete a.B}}; YXa=function(a,b){b=void 0===b?NaN:b;b=0<=b?b:g.WV(a.provider);var c=a.provider.va.OB();if(a.provider.Z.K("html5_report_accurate_bwm")){var d=c.Bn-(a.J||0);0a.j)&&2=e&&(a.va.xa("ytnerror",{issue:28799967,value:""+e}),e=(new Date).getTime()+2);return e},a.Z.K("html5_validate_yt_now")),c=b(); a.j=function(){return Math.round(b()-c)/1E3}; a.va.AN()}return a.j}; xYa=function(a){var b=a.va.aq()||{};b.fs=a.va.hC();b.volume=a.va.getVolume();b.muted=a.va.isMuted()?1:0;b.mos=b.muted;b.inview=a.va.CB();b.size=a.va.rB();b.clipid=a.va.by();var c=Object,d=c.assign;a=a.videoData;var e={};a.u&&(e.fmt=a.u.itag,a.I&&a.I.itag!=a.u.itag&&(e.afmt=a.I.itag));e.ei=a.eventId;e.list=a.playlistId;e.cpn=a.clientPlaybackNonce;a.videoId&&(e.v=a.videoId);a.Wk&&(e.infringe=1);aL(a)&&(e.splay=1);var f=KK(a);f&&(e.live=f);a.Nq&&(e.sautoplay=1);a.qn&&(e.autoplay=1);a.mx&&(e.sdetail= a.mx);a.Fa&&(e.partnerid=a.Fa);a.osid&&(e.osid=a.osid);return d.call(c,b,e)}; WXa=function(a){if(navigator.connection&&navigator.connection.type)return EYa[navigator.connection.type]||EYa.other;if(g.CI(a.Z)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0}; wY=function(a){var b=new BYa,c;b.D=(null==(c=xYa(a).cc)?void 0:c.toString())||"-";b.playbackRate=a.va.getPlaybackRate();c=a.va.getVisibilityState();0!==c&&(b.visibilityState=c);a.Z.Pd&&(b.u=1);b.B=a.videoData.qz;c=a.va.getAudioTrack();c.Oc&&c.Oc.id&&"und"!==c.Oc.id&&(b.C=c.Oc.id);b.connectionType=WXa(a);b.volume=a.va.getVolume();b.muted=a.va.isMuted();b.clipId=a.va.by()||"-";b.j=a.videoData.XP||"-";return b}; g.FY=function(a){g.C.call(this);this.provider=a;this.qoe=this.j=null;this.Fi=void 0;this.u=new Map;this.provider.videoData.Ee()&&!this.provider.videoData.jl&&(this.j=new zY(this.provider),g.D(this,this.j),this.qoe=new g.tY(this.provider),g.D(this,this.qoe),this.provider.videoData.enableServerStitchedDai&&(this.Fi=this.provider.videoData.clientPlaybackNonce)&&this.u.set(this.Fi,this.j));this.B=new rY(this.provider);g.D(this,this.B)}; FYa=function(a){if(a.provider.videoData.enableServerStitchedDai&&a.Fi){var b;null!=(b=a.u.get(a.Fi))&&xY(b.j)}else a.j&&xY(a.j.j)}; GYa=function(a){a.B.send();if(a.qoe){var b=a.qoe;if(b.D){"PL"===b.Re&&(b.Re="N");var c=g.WV(b.provider);g.sY(b,c,"vps",[b.Re]);b.I||(0<=b.u&&(b.j.user_intent=[b.u.toString()]),b.I=!0);b.provider.Z.Td()&&b.xa("finalized",{});b.Aa=!0;b.reportStats(c)}}if(a.provider.videoData.enableServerStitchedDai)for(b=g.t(a.u.values()),c=b.next();!c.done;c=b.next())zYa(c.value);else a.j&&zYa(a.j);a.dispose()}; HYa=function(a,b){a.j&&AYa(a.j,b)}; IYa=function(a){if(!a.j)return null;var b=AY(a.j,"atr");return function(c){a.j&&AYa(a.j,c,b)}}; JYa=function(a,b,c,d){c.adFormat=c.uf;var e=b.va;b=new zY(new CYa(c,b.Z,{getDuration:function(){return c.lengthSeconds}, getCurrentTime:function(){return e.getCurrentTime()}, xk:function(){return e.xk()}, OB:function(){return e.OB()}, getPlayerSize:function(){return e.getPlayerSize()}, getAudioTrack:function(){return c.getAudioTrack()}, getPlaybackRate:function(){return e.getPlaybackRate()}, RB:function(){return e.RB()}, getVisibilityState:function(){return e.getVisibilityState()}, Rh:function(){return e.Rh()}, aq:function(){return e.aq()}, getVolume:function(){return e.getVolume()}, isMuted:function(){return e.isMuted()}, hC:function(){return e.hC()}, by:function(){return e.by()}, CB:function(){return e.CB()}, rB:function(){return e.rB()}, AN:function(){e.AN()}, MC:function(){e.MC()}, xa:function(f,h){e.xa(f,h)}})); b.B=d;g.D(a,b);return b}; KYa=function(){this.pu=0;this.B=this.Vq=this.Bn=this.u=NaN;this.j={};this.bandwidthEstimate=NaN}; LYa=function(){this.j=g.lC;this.array=[]}; NYa=function(a,b,c){var d=[];for(b=MYa(a,b);bc)break}return d}; OYa=function(a,b){var c=[];a=g.t(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}; PYa=function(a){return a.array.slice(MYa(a,0x7ffffffffffff),a.array.length)}; MYa=function(a,b){a=Bb(a.array,function(c){return b-c.start||1}); return 0>a?-(a+1):a}; QYa=function(a,b){var c=NaN;a=g.t(a.array);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.contains(b)&&(isNaN(c)||d.endb&&(isNaN(c)||d.starta.mediaTime+a.C&&b(d||!a.B?1500:400);a.mediaTime=b;a.u=c;return!1}; UYa=function(a,b){this.videoData=a;this.j=b}; VYa=function(a,b,c){return UBa(b,c).then(function(){return bx(new UYa(b,b.C))},function(d){d instanceof Error&&g.QB(d); var e=pG('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f=rG('audio/mp4; codecs="mp4a.40.2"'),h=e||f,l=b.isLivePlayback&&!g.AH(a.D,!0);d="fmt.noneavailable";l?d="html5.unsupportedlive":h||(d="html5.missingapi");h=l||!h?2:1;e={buildRej:"1",a:b.Su(),d:!!b.Fb,drm:b.Kl(),f18:0<=b.wf.indexOf("itag=18"),c18:e};b.j&&(b.Kl()?(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=rG('video/mp4; codecs="avc1.42001E"'), e.cVP9=rG('video/webm; codecs="vp9"'));b.J&&(e.drmsys=b.J.keySystem,f=0,b.J.j&&(f=Object.keys(b.J.j).length),e.drmst=f);return new YI(d,e,h)})}; WYa=function(a){this.D=a;this.B=this.u=0;this.C=new cR(50)}; JY=function(a,b,c){g.rC.call(this);this.videoData=a;this.experiments=b;this.T=c;this.u=[];this.C=0;this.B=!0;this.D=!1;this.I=0;c=new XYa;"ULTRALOW"===a.latencyClass&&(c.C=!1);a.pc?c.u=3:g.OK(a)&&(c.u=2);"NORMAL"===a.latencyClass&&(c.T=!0);var d=MBa(a);c.D=2===d||-1===d;c.D&&(c.ea++,21530001===GK(a)&&(c.I=g.rH(b,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN));if(hx("trident/")||hx("edge/"))c.B=Math.max(c.B,g.rH(b,"html5_platform_minimum_readahead_seconds")||3);g.rH(b,"html5_minimum_readahead_seconds")&& (c.B=g.rH(b,"html5_minimum_readahead_seconds"));g.rH(b,"html5_maximum_readahead_seconds")&&(c.Y=g.rH(b,"html5_maximum_readahead_seconds"));b.qb("html5_force_adaptive_readahead")&&(c.C=!0);switch(GK(a)){case 21530001:c.j=(c.j+1)/5,"LOW"===a.latencyClass&&(c.j*=2),c.J=b.qb("html5_live_smoothly_extend_max_seekable_time")}this.policy=c;this.J=1!==this.policy.u;b=isNaN(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.pc&&b--;a.isLowLatencyLiveStream&&"NORMAL"!==a.latencyClass||b++;switch(GK(a)){case 21530001:b= 1;break;case 2153E4:b=2}this.policy.D&&b++;this.j=YYa(this,b)}; ZYa=function(a,b){var c=a.j;(void 0===b?0:b)&&a.policy.J&&3===MBa(a.videoData)&&--c;return KY(a)*c}; LY=function(a,b){var c=a.Wp(),d=a.policy.j;a.D||(d=Math.max(d-1,0));a=d*KY(a);return b>=c-a}; $Ya=function(a,b,c){b=LY(a,b);c||b?b&&(a.B=!0):a.B=!1;a.J=2===a.policy.u||3===a.policy.u&&a.B}; aZa=function(a,b){b=LY(a,b);a.D!==b&&a.ma("livestatusshift",b);a.D=b}; KY=function(a){return a.videoData.j?ZG(a.videoData.j)||5:5}; YYa=function(a,b){b=Math.max(Math.max(a.policy.ea,Math.ceil(a.policy.B/KY(a))),b);return Math.min(Math.min(8,Math.floor(a.policy.Y/KY(a))),b)}; XYa=function(){this.ea=1;this.B=0;this.Y=Infinity;this.C=!0;this.j=2;this.u=1;this.D=!1;this.I=NaN;this.J=this.T=!1}; OY=function(a){g.C.call(this);this.va=a;this.Z=this.va.V();this.C=this.j=0;this.B=new g.qo(this.bf,1E3,this);this.ya=new MY({delayMs:g.rH(this.Z.experiments,"html5_seek_timeout_delay_ms")});this.T=new MY({delayMs:g.rH(this.Z.experiments,"html5_long_rebuffer_threshold_ms")});this.Fa=NY(this,"html5_seek_set_cmt");this.ea=NY(this,"html5_seek_jiggle_cmt");this.Aa=NY(this,"html5_seek_new_elem");this.Ta=NY(this,"html5_unreported_seek_reseek");this.I=NY(this,"html5_long_rebuffer_jiggle_cmt");this.J=new MY({delayMs:2E4}); this.oa=NY(this,"html5_seek_new_elem_shorts");this.D=NY(this,"html5_ads_preroll_lock_timeout");this.Ja=new MY({delayMs:g.rH(this.Z.experiments,"html5_skip_slow_ad_delay_ms")||5E3,Px:!this.Z.K("html5_report_slow_ads_as_error")});this.Ma=new MY({delayMs:g.rH(this.Z.experiments,"html5_skip_slow_ad_delay_ms")||5E3,Px:!this.Z.K("html5_skip_slow_buffering_ad")});this.Ra=new MY({delayMs:g.rH(this.Z.experiments,"html5_slow_start_timeout_delay_ms")});this.Y=NY(this,"html5_slow_start_no_media_source");this.u= {};g.D(this,this.B)}; NY=function(a,b){var c=g.rH(a.Z.experiments,b+"_delay_ms");a=a.Z.K(b+"_cfl");return new MY({delayMs:c,Px:a})}; PY=function(a,b,c,d,e,f,h,l){bZa(b,c)?(a.Nd(e,b,h),b.Px||f()):(b.zH&&b.u&&!b.C?(c=(0,g.M)(),d?b.j||(b.j=c):b.j=0,f=!d&&c-b.u>b.zH,c=b.j&&c-b.j>b.jO||f?b.C=!0:!1):c=!1,c&&(l=Object.assign({},a.qc(b),l),l.wn=h,l.we=e,l.wsuc=d,a.va.xa("workaroundReport",l),d&&(b.reset(),a.u[e]=!1)))}; MY=function(a){var b=void 0===a?{}:a;a=void 0===b.delayMs?0:b.delayMs;var c=void 0===b.jO?1E3:b.jO,d=void 0===b.zH?3E4:b.zH;b=void 0===b.Px?!1:b.Px;this.j=this.u=this.B=this.startTimestamp=0;this.C=!1;this.D=Math.ceil(a/1E3);this.jO=c;this.zH=d;this.Px=b}; bZa=function(a,b){if(!a.D||a.u)return!1;if(!b)return a.reset(),!1;b=(0,g.M)();if(!a.startTimestamp)a.startTimestamp=b,a.B=0;else if(a.B>=a.D)return a.u=b,!0;a.B+=1;return!1}; fZa=function(a){g.C.call(this);var b=this;this.va=a;this.Z=this.va.V();this.videoData=this.va.getVideoData();this.policy=new cZa(this.Z);this.ea=new OY(this.va);this.playbackData=null;this.Ra=new g.nG;this.I=this.j=this.Ga=this.mediaElement=null;this.u=NaN;this.C=0;this.ya=NaN;this.B=null;this.Fa=NaN;this.D=this.J=null;this.Y=this.T=!1;this.Aa=new g.qo(function(){dZa(b,!1)},2E3); this.jb=new g.qo(function(){QY(b)}); this.Ma=new g.qo(function(){b.T=!0;eZa(b)}); this.timestampOffset=0;this.Ta=!0;this.Ja=0;this.fb=NaN;this.oa=new g.qo(function(){var c=b.Z.vf;c.j+=1E4/36E5;c.j-c.B>1/6&&(ixa(c),c.B=c.j);b.oa.start()},1E4); this.Za=this.kb=!1;g.D(this,this.ea);g.D(this,this.Ra);g.D(this,this.Aa);g.D(this,this.Ma);g.D(this,this.jb);g.D(this,this.oa)}; hZa=function(a,b){a.playbackData=b;a.videoData.isLivePlayback&&(a.I=new WYa(function(){a:{if(a.playbackData&&a.playbackData.j.j){if(rK(a.videoData)&&a.Ga){var c=a.Ga.aF.aj()||0;break a}if(a.videoData.j){c=a.videoData.j.ea;break a}}c=0}return c}),a.j=new JY(a.videoData,a.Z.experiments,function(){return a.ge(!0)})); gZa(a)||(a.C=a.C||a.videoData.startSeconds||0)}; jZa=function(a,b){(a.Ga=b)?iZa(a,!0):RY(a)}; kZa=function(a,b){var c=a.getCurrentTime(),d=a.isAtLiveHead(c);if(a.I&&d){var e=a.I;if(e.j&&!(c>=e.u&&ce.C||3E3>g.Ra()-e.I||(e.I=g.Ra(),e.u.push(f),50=a.ge()-.1)a.u=a.ge(),a.B.resolve(a.ge()),XV(a.va);else try{var c=a.u-a.timestampOffset; a.mediaElement.seekTo(c);a.ea.j=c;a.Fa=c;a.C=a.u}catch(d){}}}; qZa=function(a){if(!a.mediaElement||0===a.mediaElement.hk()||0a.ge()||dMath.random())try{g.QB(new g.Sx("b/152131571",btoa(f)))}catch(U){}return x.return(Promise.reject(new YI(r,{backend:"gvi"},w)))}})}; DZa=function(a,b){function c(B){if(!a.isDisposed()){B=B?B.status:-1;var E=0,G=((0,g.M)()-p).toFixed();G=e.K("html5_use_network_error_code_enums")?{backend:"gvi",rc:B,rt:G}:{backend:"gvi",rc:""+B,rt:G};var F="manifest.net.connect";429===B?(F="auth",E=2):200r.j&&3!==r.provider.va.getVisibilityState()&& NXa(r);q.qoe&&(q=q.qoe,q.Ma&&0>q.u&&q.provider.Z.wf&&fYa(q));p.Ga&&UY(p);p.Z.Tn&&!p.videoData.backgroundable&&p.mediaElement&&!p.wh()&&(p.isBackground()&&p.mediaElement.CE()?(p.xa("bgmobile",{suspend:1}),p.yn(!0,!0)):p.isBackground()||VY(p)&&p.xa("bgmobile",{resume:1}));p.K("html5_log_tv_visibility_playerstate")&&g.CI(p.Z)&&p.xa("vischg",{vis:p.getVisibilityState(),ps:p.playerState.state.toString(16)})}; this.hf={gp:function(q){p.gp(q)}, t7a:function(q){p.xe=q}, k6a:function(){return p.zc}}; this.Yi=new GY(function(){return p.getCurrentTime()},function(){return p.getPlaybackRate()},function(){return p.getPlayerState()},function(q,r){q!==g.mC("endcr")||g.S(p.playerState,32)||XV(p); e(q,r,p.playerType)}); g.D(this,this.Yi);g.D(this,this.td);IZa(this,m);this.videoData.subscribe("dataupdated",this.t7,this);this.videoData.subscribe("dataloaded",this.wK,this);this.videoData.subscribe("dataloaderror",this.handleError,this);this.videoData.subscribe("ctmp",this.xa,this);this.videoData.subscribe("ctmpstr",this.fO,this);!this.zc||this.zc.isDisposed();this.zc=new g.FY(new CYa(this.videoData,this.Z,this));pQa(this.Ig);this.visibility.subscribe("visibilitystatechange",this.Ig)}; KG=function(a){return a.K("html5_not_reset_media_source")&&!a.Kl()&&!a.videoData.isLivePlayback&&g.YK(a.videoData)}; IZa=function(a,b){if(2===a.playerType||a.Z.Vn)b.oS=!0;var c=Uxa(b.uf,b.tx,a.Z.C,a.Z.I);c&&(b.adFormat=c);2===a.playerType&&(b.qn=!0);if(a.isFullscreen()||a.Z.C)c=g.rB("yt-player-autonavstate"),b.autonavState=c||(a.Z.C?2:a.videoData.autonavState);b.endSeconds&&b.endSeconds>b.startSeconds&&JZa(a,b.endSeconds)}; LZa=function(a){if(a.videoData.fb){var b=a.Tf.Nc();a.videoData.eA=a.videoData.eA||(null==b?void 0:b.nL());a.videoData.fA=a.videoData.fA||(null==b?void 0:b.qL())}if(cCa(a.videoData)||!gL(a.videoData))b=a.videoData.errorDetail,a.Kg(a.videoData.errorCode||"auth",2,unescape(a.videoData.errorReason),b,b,a.videoData.Bm||void 0);1===a.playerType&&XY.isActive()&&a.nH.start();a.videoData.cj=a.getUserAudio51Preference();a.K("html5_generate_content_po_token")&&KZa(a)}; $L=function(a){return a.mediaElement&&a.mediaElement.Vt()?a.mediaElement.xb():null}; YY=function(a){if(a.videoData.Ee())return!0;a.Kg("api.invalidparam",2,void 0,"invalidVideodata.1");return!1}; g.VV=function(a,b){b=void 0===b?!1:b;if(!b){var c=a.zc;NXa(c.B);c.qoe&&fYa(c.qoe)}a.Ks=b;!YY(a)||a.hp.Ls()?g.CI(a.Z)&&a.videoData.isLivePlayback&&a.hp.Ls()&&!a.hp.finished&&!a.Ks&&a.wK():(a.hp.start(),b=a.zc,g.WV(b.provider),b.qoe&&aYa(b.qoe),a.wK())}; MZa=function(a){var b=a.videoData;GZa(a).then(void 0,function(c){a.videoData!==b||b.isDisposed()||(c=$I(c),"auth"===c.errorCode&&a.videoData.errorDetail?a.Kg(c.errorCode,2,unescape(a.videoData.errorReason),XI(c.details),a.videoData.errorDetail,a.videoData.Bm||void 0):a.handleError(c))})}; wQa=function(a,b){a.Gd=b;a.Ga&&rWa(a.Ga,new g.eY(b))}; OZa=function(a){if(!g.S(a.playerState,128))if(a.videoData.isLoaded(),4!==a.playerType&&(a.pn=g.tb(a.videoData.Ja)),MK(a.videoData)){a.yb.tick("bpd_s");ZY(a).then(function(){a.yb.tick("bpd_c");if(!a.isDisposed()){a.Ks&&(a.uc(MM(MM(a.playerState,512),1)),VY(a));var c=a.videoData;c.endSeconds&&c.endSeconds>c.startSeconds&&JZa(a,c.endSeconds);a.hp.finished=!0;$Y(a,"dataloaded");a.Gq.Ls()&&NZa(a);MXa(a.Mi,a.Ef)}}); a.K("html5_log_media_perf_info")&&a.xa("loudness",{v:a.videoData.Oh.toFixed(3)},!0);var b=mCa(a.videoData);b&&a.xa("playerResponseExperiment",{id:b},!0);a.eK()}else $Y(a,"dataloaded")}; ZY=function(a){aZ(a);a.Ef=null;var b=VYa(a.Z,a.videoData,a.wh());a.YC=b;a.YC.then(function(c){PZa(a,c)},function(c){a.isDisposed()||(c=$I(c),a.visibility.isBackground()?(bZ(a,"vp_none_avail"),a.YC=null,a.hp.reset()):(a.hp.finished=!0,a.Kg(c.errorCode,c.severity,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",XI(c.details))))}); return b}; qY=function(a){ZY(a).then(function(){return VY(a)}); g.RM(a.playerState)&&a.playVideo()}; PZa=function(a,b){if(!a.isDisposed()&&!b.videoData.isDisposed()){a.Ef=b;hZa(a.td,a.Ef);if(a.videoData.isLivePlayback){var c=pRa(a.Tf.Rs,a.videoData.videoId)||a.Ga&&!isNaN(a.Ga.oa);c=a.K("html5_onesie_live")&&c;0iI(b.Z.vf,"sticky-lifetime")?"auto":zD[cH()]:d=zD[cH()],d=g.xD("auto",d,!1,"s");if(yD(d)){d=xXa(b,c);var e=d.compose,f;a:if((f=c.j)&&f.videoInfos.length){for(var h=g.t(f.videoInfos),l=h.next();!l.done;l=h.next()){l=l.value;var m=void 0;if(null==(m=l.j)?0:m.smooth){f=l.video.j;break a}}f=f.videoInfos[0].video.j}else f=0;boa()&&!g.CI(b.Z)&&OD(c.j.videoInfos[0])&& (f=Math.min(f,g.wD.large));d=e.call(d,new vD(0,f,!1,"o"));e=d.compose;f=4320;!b.Z.u||g.uI(b.Z)||b.Z.K("hls_for_vod")||b.Z.K("mweb_remove_360p_cap")||(f=g.wD.medium);(h=g.rH(b.Z.experiments,"html5_default_quality_cap"))&&c.j.j&&!c.videoData.Ni&&!c.videoData.Qd&&(f=Math.min(f,h));h=g.rH(b.Z.experiments,"html5_random_playback_cap");l=/[a-h]$/;h&&l.test(c.videoData.clientPlaybackNonce)&&(f=Math.min(f,h));if(l=h=g.rH(b.Z.experiments,"html5_hfr_quality_cap"))a:{l=c.j;if(l.j)for(l=g.t(l.videoInfos),m=l.next();!m.done;m= l.next())if(32h&&0!==h&&b.j===h)){var l;f=zXa(c,null==(l=e.j)?void 0:l.videoInfos);l=c.va.getPlaybackRate();1b.j&&"b"===b.reason;e=a.ze.jb&&!EG();c||d||b||e?cY(a.va,{reattchOnConstraint:c? "u":d?"drm":e?"codec":"perf"}):dY(a)}}}; WZa=function(a){var b;return!!(a.K("html5_native_audio_track_switching")&&g.ry&&(null==(b=a.videoData.u)?0:gG(b)))}; XZa=function(a){if(!WZa(a))return!1;var b;a=null==(b=a.mediaElement)?void 0:b.audioTracks();return!!(a&&1n&&(n+=l.j);for(var p=0;pa.Xa.getDuration()&&a.Xa.Rk(d)):a.Xa.Rk(e);var f=a.Ga,h=a.Xa;f.policy.ea&&(f.policy.Aa&&f.xa("loader",{setsmb:0}),f.wk(),f.policy.ea=!1);iWa(f);if(!LG(h)){var l=JW(f.videoTrack),m=JW(f.audioTrack),n=(l?l.info.j:f.videoTrack.j).info,p=(m?m.info.j:f.audioTrack.j).info,q=f.policy.fm,r=n.mimeType+(void 0===q?"":q),w=p.mimeType,x=n.Mb,z=p.Mb,B,E=null==(B=h.Xa)?void 0:B.addSourceBuffer(w), G,F="fakesb"===r.split(";")[0]?void 0:null==(G=h.Xa)?void 0:G.addSourceBuffer(r);h.vg&&(h.vg.webkitSourceAddId("0",w),h.vg.webkitSourceAddId("1",r));var L=new DG(E,h.vg,"0",TF(w),z,!1),O=new DG(F,h.vg,"1",TF(r),x,!0);Dva(h,L,O)}tX(f.videoTrack,h.u||null);tX(f.audioTrack,h.j||null);f.Xa=h;f.Xa.C=!0;f.resume();g.sC(h.j,f.Fa,f);g.sC(h.u,f.Fa,f);try{f.bf()}catch(U){g.PB(U)}a.ma("mediasourceattached")}}catch(U){g.QB(U),a.handleError(new YI("fmt.unplayable",{msi:"1",ename:U.name},1))}} c_a(a);a.Xa=b;KG(a)&&"open"===MG(a.Xa)?c(a.Xa):Cva(a.Xa,c)}; c_a=function(a){a.Ga?a.Ga.seek(a.getCurrentTime()-a.Md()).Zj(function(){}):QZa(a)}; oY=function(a,b){b=void 0===b?!1:b;var c,d,e;return g.A(function(f){if(1==f.j){a.Ga&&a.Ga.Ru();a.Ga&&a.Ga.isDisposed()&&aZ(a);if(a.K("html5_enable_vp9_fairplay")&&a.Kl()&&null!=(c=a.videoData.j)){var h=c,l;for(l in h.j)h.j.hasOwnProperty(l)&&(h.j[l].j=null,h.j[l].C=!1)}a.uc(MM(a.playerState,2048));a.ma("newelementrequired");return b?g.y(f,ZY(a),2):f.Ka(2)}a.videoData.md()&&(null==(d=a.Ga)?0:d.oa)&&(e=a.isAtLiveHead())&&pK(a.videoData)&&a.seekTo(Infinity,{Ke:"videoPlayer_getNewElement"});g.S(a.playerState, 8)&&a.playVideo();g.oa(f)})}; mQa=function(a,b){a.xa("newelem",{r:b});oY(a)}; d_a=function(a){a.yb.C.bN();g.S(a.playerState,32)||(a.uc(MM(a.playerState,32)),g.S(a.playerState,8)&&a.pauseVideo(!0),a.ma("beginseeking",a));a.yc()}; GQa=function(a){g.S(a.playerState,32)?(a.uc(OM(a.playerState,16,32)),a.ma("endseeking",a)):g.S(a.playerState,2)||a.uc(MM(a.playerState,16));a.yb.C.gN(a.videoData,g.QM(a.playerState))}; $Y=function(a,b){a.ma("internalvideodatachange",void 0===b?"dataupdated":b,a,a.videoData)}; e_a=function(a){for(var b=g.t("loadstart loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" ")),c=b.next();!c.done;c=b.next())a.aA.S(a.mediaElement,c.value,a.GN,a);a.Z.ol&&a.mediaElement.Vt()&&(a.aA.S(a.mediaElement,"webkitplaybacktargetavailabilitychanged",a.S4,a),a.aA.S(a.mediaElement,"webkitcurrentplaybacktargetiswirelesschanged",a.T4,a))}; g_a=function(a){window.clearInterval(a.eH);f_a(a)||(a.eH=g.Rw(function(){return f_a(a)},100))}; f_a=function(a){var b=a.mediaElement;b&&a.IG&&!a.videoData.kb&&!nD("vfp",a.yb.timerName)&&2<=b.hk()&&!b.Th()&&0b.j&&(b.j=c,b.delay.start());b.u=c;b.C=c;g.ro(a.gK);a.ma("playbackstarted");g.$x()&&((a=g.Ga("yt.scheduler.instance.clearPriorityThreshold"))?a():ay(0))}; h_a=function(a){var b=a.getCurrentTime(),c=a.Tf.Kd();!nD("pbs",a.yb.timerName)&&LC.measure&&LC.getEntriesByName&&(LC.getEntriesByName("mark_nr")[0]?Cta("mark_nr"):Cta());c.videoId&&a.yb.info("docid",c.videoId);c.eventId&&a.yb.info("ei",c.eventId);c.clientPlaybackNonce&&!a.K("web_player_early_cpn")&&a.yb.info("cpn",c.clientPlaybackNonce);0a.GU+6283){if(!(!a.isAtLiveHead()||a.videoData.j&&WG(a.videoData.j))){var b=a.zc;if(b.qoe){b=b.qoe;var c=b.provider.va.OB(),d=g.WV(b.provider);XXa(b,d,c);c=c.B;isNaN(c)||g.sY(b,d,"e2el",[c.toFixed(3)])}}g.OI(a.Z)&&a.xa("rawlat",{l:fR(a.VO,"rawlivelatency").toFixed(3)});a.GU=Date.now()}a.videoData.u&&gG(a.videoData.u)&&(b=$L(a))&&b.videoHeight!==a.vM&&(a.vM=b.videoHeight,TZa(a,"a",VZa(a,a.videoData.jb)))}; VZa=function(a,b){if("auto"===b.j.video.quality&&gG(b.rh())&&a.videoData.Hd)for(var c=g.t(a.videoData.Hd),d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()===a.vM&&"auto"!==d.j.video.quality)return d.rh();return b.rh()}; HZa=function(a){if(!pK(a.videoData))return NaN;var b=0;a.Ga&&a.videoData.j&&(b=rK(a.videoData)?a.Ga.aF.aj()||0:a.videoData.j.ea);return Date.now()/1E3-a.Lf()-b}; l_a=function(a){a.mediaElement&&a.mediaElement.wh()&&(a.oG=(0,g.M)());a.Z.Co?g.Qw(function(){k_a(a)},0):k_a(a)}; k_a=function(a){var b;if(null==(b=a.Xa)||!b.Jl()){if(a.mediaElement)try{a.dH=a.mediaElement.playVideo()}catch(d){bZ(a,"err."+d)}if(a.dH){var c=a.dH;c.then(void 0,function(d){if(!(g.S(a.playerState,4)||g.S(a.playerState,256)||a.dH!==c||d&&"AbortError"===d.name&&d.message&&d.message.includes("load"))){var e="promise";d&&d.name&&(e+=";m."+d.name);bZ(a,e);a.aS=!0;a.videoData.CI=!0}})}}}; bZ=function(a,b){g.S(a.playerState,128)||(a.uc(OM(a.playerState,1028,9)),a.xa("dompaused",{r:b}),a.ma("onAutoplayBlocked"))}; VY=function(a){if(!a.mediaElement||!a.videoData.C)return!1;var b,c=null;if(null==(b=a.videoData.C)?0:b.j){c=b_a(a);var d;null==(d=a.Ga)||d.resume()}else aZ(a),a.videoData.jb&&(c=a.videoData.jb.DA());b=c;d=a.mediaElement.CE();c=!1;d&&d.equals(b)||(m_a(a,b),c=!0);g.S(a.playerState,2)||(b=a.td,b.D||!(0=c&&b<=d}; R_a=function(a){if(!(g.S(a.Ab.getPlayerState(),64)&&a.Kd().isLivePlayback&&5E3>a.Db.startTimeMs)){if("repeatChapter"===a.Db.type){var b,c=null==(b=WQ(a.wb()))?void 0:b.Ku(),d;b=null==(d=a.getVideoData())?void 0:d.Ok;c instanceof g.YS&&b&&(d=b[TT(b,a.Db.startTimeMs)],c.iO(0,d.title));isNaN(Number(a.Db.loopCount))?a.Db.loopCount=0:a.Db.loopCount++;1===a.Db.loopCount&&a.F.Na("innertubeCommand",a.getVideoData().P0)}a.Ab.seekTo(.001*a.Db.startTimeMs,{Ke:"application_loopRangeStart"})}}; y_a=function(a,b){var c=a.Va.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}; wZ=function(a,b,c){if(a.nf(c)){c=c.getVideoData();if(vZ(a))c=b;else{a=a.Gd;for(var d=g.t(a.u),e=d.next();!e.done;e=d.next())if(e=e.value,c.Mc===e.Mc){b+=e.jc/1E3;break}d=b;a=g.t(a.u);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Mc===e.Mc)break;var f=e.jc/1E3;if(fd?e=!0:1=b?b:0;this.j=a=l?function(){return new N("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:h})}:function(m,n){var p=u2a(m,c,d,function(q){var r=n(q),w=q.slotId; q=m2a(h);w=aC(e.eb.get(),"LAYOUT_TYPE_SURVEY",w);var x={layoutId:w,layoutType:"LAYOUT_TYPE_SURVEY",bb:"core"},z=new e0(e.j,d),B=new k0(e.j,w),E=new l0(e.j,w),G=new v2a(e.j);return{layoutId:w,layoutType:"LAYOUT_TYPE_SURVEY",Rb:new Map,layoutExitNormalTriggers:[z,G],layoutExitSkipTriggers:[B],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[E],Tc:[],bb:"core",Ba:new EZ([new H0a(h),new $Z(b),new B_(l/1E3),new E_(q)]),Ac:r(x),adLayoutLoggingData:h.adLayoutLoggingData}}); m=s2a(a,c,p.slotId,d,e,m,n);return m instanceof N?m:[p].concat(g.u(m))}}; F2a=function(a,b,c,d,e,f){var h=[];try{var l=[];if(c.renderer.linearAdSequenceRenderer)var m=function(x){x=x2a(x.slotId,c,b,e(x),d,f);l=x.M8;return x.W1}; else if(c.renderer.instreamVideoAdRenderer)m=function(x){var z=x.slotId;x=e(x);var B=c.config.adPlacementConfig,E=y2a(B),G=E.RS;E=E.VS;var F=c.renderer.instreamVideoAdRenderer,L;if(null==F?0:null==(L=F.playerOverlay)?0:L.instreamSurveyAdRenderer)throw new TypeError("Survey overlay should not be set on single video.");var O=z2a(F);L=Math.min(G+1E3*O.videoLengthSeconds,E);E=new sL(0,[O.videoLengthSeconds],L);var U=O.videoLengthSeconds,ba=O.playerVars,V=O.instreamAdPlayerOverlayRenderer,R=O.adVideoId, Y=A2a(c),P=O.Rb;O=O.QR;var pa=null==F?void 0:F.adLayoutLoggingData;F=null==F?void 0:F.sodarExtensionData;z=aC(b.eb.get(),"LAYOUT_TYPE_MEDIA",z);var la={layoutId:z,layoutType:"LAYOUT_TYPE_MEDIA",bb:"core"};return{layoutId:z,layoutType:"LAYOUT_TYPE_MEDIA",Rb:P,layoutExitNormalTriggers:[new B2a(b.j)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"core",Ba:new EZ([new f_(d),new p_(U),new q_(ba),new t_(G),new u_(L),V&&new g_(V),new $Z(B),new e_(R), new a_(E),new y_(Y),F&&new s_(F),new m_({current:null}),new w_({}),new G_(O)].filter(C2a)),Ac:x(la),adLayoutLoggingData:pa}}; else throw new TypeError("Expected valid AdPlacementRenderer for DAI");var n=D2a(a,d,c.adSlotLoggingData,m);h.push(n);for(var p=g.t(l),q=p.next();!q.done;q=p.next()){var r=q.value,w=r(a,e);if(w instanceof N)return w;h.push.apply(h,g.u(w))}}catch(x){return new N(x,{errorMessage:x.message,AdPlacementRenderer:c,numberOfSurveyRenderers:E2a(c)})}return h}; E2a=function(a){a=(a.renderer.linearAdSequenceRenderer||{}).linearAds;return null!=a&&a.length?a.filter(function(b){var c,d;return null!=(null==(c=g.K(b,FN))?void 0:null==(d=c.playerOverlay)?void 0:d.instreamSurveyAdRenderer)}).length:0}; x2a=function(a,b,c,d,e,f){var h=b.config.adPlacementConfig,l=y2a(h),m=l.RS,n=l.VS;l=(b.renderer.linearAdSequenceRenderer||{}).linearAds;if(null==l||!l.length)throw new TypeError("Expected linear ads");var p=[],q={yX:m,zX:0,J8:p};l=l.map(function(w){return G2a(a,w,q,c,d,h,e,n)}).map(function(w,x){x=new sL(x,p,n); return w(x)}); var r=l.map(function(w){return w.X1}); return{W1:H2a(c,a,m,r,h,A2a(b),d,n,f),M8:l.map(function(w){return w.L8})}}; G2a=function(a,b,c,d,e,f,h,l){var m=z2a(g.K(b,FN)),n=c.yX,p=c.zX,q=Math.min(n+1E3*m.videoLengthSeconds,l);c.yX=q;c.zX++;c.J8.push(m.videoLengthSeconds);var r,w,x=null==(r=g.K(b,FN))?void 0:null==(w=r.playerOverlay)?void 0:w.instreamSurveyAdRenderer;if("nPpU29QrbiU"===m.adVideoId&&null==x)throw new TypeError("Survey slate media has no survey overlay");return function(z){var B=m.playerVars;2<=z.u&&(B.slot_pos=z.j);B.autoplay="1";var E,G;B=m.videoLengthSeconds;var F=m.playerVars,L=m.Rb,O=m.QR,U=m.instreamAdPlayerOverlayRenderer, ba=m.adVideoId,V=null==(E=g.K(b,FN))?void 0:E.adLayoutLoggingData;E=null==(G=g.K(b,FN))?void 0:G.sodarExtensionData;G=aC(d.eb.get(),"LAYOUT_TYPE_MEDIA",a);var R={layoutId:G,layoutType:"LAYOUT_TYPE_MEDIA",bb:"adapter"};z={layoutId:G,layoutType:"LAYOUT_TYPE_MEDIA",Rb:L,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"adapter",Ba:new EZ([new f_(h),new p_(B),new q_(F),new t_(n),new u_(q),new v_(p),new m_({current:null}), U&&new g_(U),new $Z(f),new e_(ba),new a_(z),E&&new s_(E),x&&new Q0a(x),new w_({}),new G_(O)].filter(C2a)),Ac:e(R),adLayoutLoggingData:V};B=w2a(g.K(b,FN),f,h,z.layoutId,d);return{X1:z,L8:B}}}; z2a=function(a){if(!a)throw new TypeError("Expected instream video ad renderer");if(!a.playerVars)throw new TypeError("Expected player vars in url encoded string");var b=Fw(a.playerVars),c=Number(b.length_seconds);if(isNaN(c))throw new TypeError("Expected valid length seconds in player vars");var d=Number(a.trimmedMaxNonSkippableAdDurationMs);c=isNaN(d)?c:Math.min(c,d/1E3);d=a.playerOverlay||{};d=void 0===d.instreamAdPlayerOverlayRenderer?null:d.instreamAdPlayerOverlayRenderer;var e=b.video_id;e|| (e=(e=a.externalVideoId)?e:void 0);if(!e)throw new TypeError("Expected valid video id in IVAR");return{playerVars:b,videoLengthSeconds:c,instreamAdPlayerOverlayRenderer:d,adVideoId:e,Rb:a.pings?vL(a.pings):new Map,QR:uL(a.pings)}}; A2a=function(a){a=Number(a.driftRecoveryMs);return isNaN(a)||0>=a?null:a}; y2a=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{RS:b,VS:a}}; J2a=function(a,b,c,d,e,f,h){var l=c.pings;return l?[I2a(a,f,e,function(m){var n=m.slotId;m=h(m);var p=c.adLayoutLoggingData;n=aC(b.eb.get(),"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",n);var q={layoutId:n,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",bb:"core"};return{layoutId:n,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",Rb:vL(l),layoutExitNormalTriggers:[new f0(b.j,f)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"core",Ba:new EZ([new $Z(d)]), Ac:m(q),adLayoutLoggingData:p}})]:new N("VideoAdTrackingRenderer without VideoAdTracking pings filled.",{videoAdTrackingRenderer:c})}; L2a=function(a,b,c,d,e,f,h,l){a=K2a(a,c,f,h,d,function(m){var n=m.slotId;m=l(m);n=aC(b.eb.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",Rb:q,layoutExitNormalTriggers:[new j0(b.j,n)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"core",Ba:new EZ([new M0a(e),new $Z(c)]),Ac:m(p)}}); return a instanceof N?a:[a]}; Q2a=function(a,b,c,d,e,f,h,l){a=M2a(a,c,f,h,d,function(m,n){var p=m.slotId;m=l(m);var q=e.contentSupportedRenderer;q?q.textOverlayAdContentRenderer?(q=aC(b.eb.get(),"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",p),n=N2a(b,q,"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",e,c,m,O2a(b,n,p))):q.enhancedTextOverlayAdContentRenderer?(q=aC(b.eb.get(),"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",p),n=N2a(b,q,"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",e,c,m,O2a(b,n,p))):q.imageOverlayAdContentRenderer?(q=aC(b.eb.get(),"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY", p),n=O2a(b,n,p),n.push(new P2a(b.j,q)),n=N2a(b,q,"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY",e,c,m,n)):n=new H_("InvideoOverlayAdRenderer without appropriate sub renderer"):n=new H_("InvideoOverlayAdRenderer without contentSupportedRenderer");return n}); return a instanceof N?a:[a]}; T2a=function(a,b,c,d,e,f,h,l,m){var n=Number(d.durationMilliseconds);return isNaN(n)?new N("Expected valid duration for AdActionInterstitialRenderer."):function(p){return R2a(b,p.slotId,c,n,{impressionCommands:void 0,abandonCommands:d.abandonCommands?[{commandExecutorCommand:d.abandonCommands}]:void 0,completeCommands:d.completionCommands},d.skipPings?new Map([["skip",d.skipPings]]):new Map,h(p),function(q){return S2a(a,q,e,function(r,w){var x=r.slotId;r=h(r);x=aC(b.eb.get(),"LAYOUT_TYPE_ENDCAP", x);return o2a(b,x,w,c,r,"LAYOUT_TYPE_ENDCAP",[new i_(d),l],d.adLayoutLoggingData)})},m,f-1,d.adLayoutLoggingData,f)}}; U2a=function(a,b,c,d){if(!c.playerVars)return new N("No playerVars available in AdIntroRenderer.");var e=Fw(c.playerVars);e.autoplay="1";return function(f){var h=f.slotId;f=d(f);h=aC(a.eb.get(),"LAYOUT_TYPE_MEDIA",h);var l={layoutId:h,layoutType:"LAYOUT_TYPE_MEDIA",bb:"adapter"};return{Wj:{layoutId:h,layoutType:"LAYOUT_TYPE_MEDIA",Rb:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"adapter",Ba:new EZ([new x_({}), new $Z(b),new m_({current:null}),new q_(e)]),Ac:f(l)},zl:[new i0(a.j,h,["error"])],Aj:[],Lx:[],Kx:[]}}}; W2a=function(a,b,c,d,e,f,h,l,m,n){n=void 0===n?!1:n;var p=l2a(e);if(!i2a(e,n))return new N("Received invalid InstreamSurveyAdRenderer for VOD composite survey.",{InstreamSurveyAdRenderer:e});if(0>=p)return new N("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:e});var q=p2a(a,b,e,f,c,d,h);return q instanceof N?q:function(r){return V2a(b,r.slotId,c,p,m2a(e),h(r),q,l,m)}}; X2a=function(a){if(isNaN(Number(a.timeoutSeconds))||!a.text||!a.ctaButton||!g.K(a.ctaButton,g.uK)||!a.brandImage)return!1;var b;return a.backgroundImage&&g.K(a.backgroundImage,x0)&&(null==(b=g.K(a.backgroundImage,x0))?0:b.landscape)?!0:!1}; Z2a=function(a,b,c,d,e,f,h,l){function m(q){return S2a(a,q,d,n)} function n(q,r){var w=q.slotId;q=h(q);w=aC(b.eb.get(),"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",w);return o2a(b,w,r,c,q,"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",[new G0a(e),f],e.adLayoutLoggingData)} if(!X2a(e))return new N("Received invalid SurveyTextInterstitialRenderer.",{SurveyTextInterstitialRenderer:e});var p=1E3*e.timeoutSeconds;return function(q){var r={impressionCommands:e.impressionCommands,completeCommands:e.timeoutCommands,skipCommands:e.dismissCommands},w=h(q);q=Y2a(b,q.slotId,c,p,r,new Map,w,m);r=new k_(q.YG);w=new b_(l);return{Wj:{layoutId:q.layoutId,layoutType:q.layoutType,Rb:q.Rb,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[], Tc:[],bb:q.bb,Ba:new EZ([].concat(g.u(q.Ix),[r,w])),Ac:q.Ac,adLayoutLoggingData:q.adLayoutLoggingData},zl:[],Aj:q.layoutExitMuteTriggers,Lx:q.layoutExitUserInputSubmittedTriggers,Kx:q.Tc,rg:q.rg}}}; a3a=function(a,b,c,d,e,f,h,l,m,n,p,q,r,w,x,z){a=$B(a,"SLOT_TYPE_PLAYER_BYTES");d=M1a(b,h,d,e,a,n,p);if(d instanceof N)return d;var B;h=null==(B=FZ(d.Ba,"metadata_type_fulfilled_layout"))?void 0:B.layoutId;if(!h)return new N("Invalid adNotify layout");b=$2a(h,b,c,e,f,m,l,n,q,r,w,x,z);return b instanceof N?b:[d].concat(g.u(b))}; $2a=function(a,b,c,d,e,f,h,l,m,n,p,q,r){c=b3a(b,c,d,f,h,l,m,n,p,q,r);c3a(f)?(d=d3a(b,a),a=$B(b.eb.get(),"SLOT_TYPE_IN_PLAYER"),f=aC(b.eb.get(),"LAYOUT_TYPE_SURVEY",a),l=e3a(b,d,l),b=[].concat(g.u(l.slotExpirationTriggers),[new y0(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 N?a:{Kv:Object.assign({}, l,{slotExpirationTriggers:b,Ba:new EZ([new z_(a.layout)]),adSlotLoggingData:e}),Zf:a.Zf}):e=Q1a(b,a,l,e,c);return e instanceof N?e:[].concat(g.u(e.Zf),[e.Kv])}; g3a=function(a,b,c,d,e,f,h,l,m,n,p,q,r){b=b3a(a,b,c,e,f,h,m,n,p,q,r);c3a(e)?(c=f3a(a,c,h,l),c instanceof N?d=c:(e=$B(a.eb.get(),"SLOT_TYPE_IN_PLAYER"),h=aC(a.eb.get(),"LAYOUT_TYPE_SURVEY",e),a=[].concat(g.u(c.slotExpirationTriggers),[new y0(a.j,h)]),e=b({slotId:c.slotId,slotType:c.slotType,slotPhysicalPosition:c.slotPhysicalPosition,bb:c.bb,slotEntryTrigger:c.slotEntryTrigger,slotFulfillmentTriggers:c.slotFulfillmentTriggers,slotExpirationTriggers:a},{slotId:e,layoutId:h}),d=e instanceof N?e:{Kv:{slotId:c.slotId, slotType:c.slotType,slotPhysicalPosition:c.slotPhysicalPosition,slotEntryTrigger:c.slotEntryTrigger,slotFulfillmentTriggers:c.slotFulfillmentTriggers,slotExpirationTriggers:a,bb:c.bb,Ba:new EZ([new z_(e.layout)]),adSlotLoggingData:d},Zf:e.Zf})):d=R1a(a,c,h,l,d,m.md,b);return d instanceof N?d:d.Zf.concat(d.Kv)}; c3a=function(a){a=g.t(a);for(var b=a.next();!b.done;b=a.next())if(g.K(b.value,a0))return!0;return!1}; b3a=function(a,b,c,d,e,f,h,l,m,n,p){return function(q,r){if(s0(p)&&t0(p))a:{var w=h3a(d);if(w instanceof N)r=w;else{for(var x=0,z=[],B=[],E=[],G=[],F=[],L=[],O=new n_({current:null}),U=new d_({current:null}),ba=!1,V=[],R=0,Y=[],P=0;P=m)return new N("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:c});var n=new n_({current:null}),p=p2a(a,b,c,n,d,f,h);return j3a(a,d,f,m,e,function(q,r){var w=q.slotId,x=m2a(c);q=h(q);w=aC(b.eb.get(),"LAYOUT_TYPE_MEDIA_BREAK",w);var z={layoutId:w,layoutType:"LAYOUT_TYPE_MEDIA_BREAK", bb:"core"},B=p(w,r);FZ(B.Ba,"metadata_type_fulfilled_layout")||UB("Could not retrieve overlay layout ID during VodMediaBreakLayout for survey creation. This should never happen.");x=[new $Z(d),new C_(m),new E_(x),n];return{o4:{layoutId:w,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",Rb:new Map,layoutExitNormalTriggers:[new j0(b.j,w)],layoutExitSkipTriggers:[new k0(b.j,r.layoutId)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[new l0(b.j,r.layoutId)],Tc:[],bb:"core",Ba:new EZ(x),Ac:q(z)}, E3:B}})}; l3a=function(a){if(!y1a(a))return!1;var b=g.K(a.adVideoStart,EN);return b?g.K(a.linearAd,FN)&&nM(b)?!0:(UB("Invalid Sandwich with notify"),!1):!1}; m3a=function(a){if(null==a.linearAds)return!1;a=g.K(a.adStart,EN);return a?nM(a)?!0:(UB("Invalid LASR with notify"),!1):!1}; n3a=function(a){if(!x1a(a))return!1;a=g.K(a.adStart,EN);return a?nM(a)?!0:(UB("Invalid LASR with notify"),!1):!1}; A0=function(a,b,c,d,e,f,h,l){this.eb=a;this.Lb=b;this.Cb=c;this.Ca=d;this.Jb=e;this.j=f;this.Cj=h;this.loadPolicy=void 0===l?1:l}; Jra=function(a,b,c,d,e,f,h,l,m){var n=[];if(0===b.length&&0===d.length)return n;b=b.filter(s1a);var p=c.filter(w1a),q=d.filter(s1a),r=new Map,w=Y1a(b);if(c=c.some(function(P){var pa;return"SLOT_TYPE_PLAYER_BYTES"===(null==P?void 0:null==(pa=P.adSlotMetadata)?void 0:pa.slotType)}))p=$1a(p,b,l,e,w,a.Jb.get(),a.loadPolicy,r,a.Ca.get(),a.eb.get()),p instanceof N?UB(p,void 0,void 0,{contentCpn:e}):n.push.apply(n,g.u(p)); p=g.t(b);for(var x=p.next();!x.done;x=p.next()){x=x.value;var z=o3a(a,r,x,e,f,h,c,l,w,m);z instanceof N?UB(z,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.u(z))}p3a(a.Ca.get())||(f=q3a(a,q,e,l,w,r),n.push.apply(n,g.u(f)));if(null===a.j||h&&!l.GS){var B,E,G;a=l.md&&1===b.length&&"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===(null==(B=b[0].config)?void 0:null==(E=B.adPlacementConfig)?void 0:E.kind)&& (null==(G=b[0].renderer)?void 0:G.adBreakServiceRenderer);if(!n.length&&!a){var F,L,O,U;UB("Expected slots parsed from AdPlacementRenderers for DAI",void 0,void 0,{"AdPlacementRenderer count":b.length,contentCpn:e,"first APR kind":null==(F=b[0])?void 0:null==(L=F.config)?void 0:null==(O=L.adPlacementConfig)?void 0:O.kind,renderer:null==(U=b[0])?void 0:U.renderer})}return n}B=d.filter(s1a);n.push.apply(n,g.u(I1a(r,B,a.Lb.get(),a.j,e,c)));if(!n.length){var ba,V,R,Y;UB("Expected slots parsed from AdPlacementRenderers", void 0,void 0,{"AdPlacementRenderer count":b.length,contentCpn:e,daiEnabled:h.toString(),"first APR kind":null==(ba=b[0])?void 0:null==(V=ba.config)?void 0:null==(R=V.adPlacementConfig)?void 0:R.kind,renderer:null==(Y=b[0])?void 0:Y.renderer})}return n}; q3a=function(a,b,c,d,e,f){function h(r){return JZ(a.Jb.get(),r)} var l=[];b=g.t(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&&l3a(p)?(q=g.K(p.adVideoStart,EN),p=g.K(p.linearAd,FN),n0(f,n,m.config.adPlacementConfig.kind),n=void 0,q=N1a(null==(n=q)?void 0:n.layout.layoutId,a.Lb.get(),a.Cb.get(),m.config.adPlacementConfig,m.adSlotLoggingData,p,c,d,h,e,a.loadPolicy,a.Ca.get(),a.Jb.get()),q instanceof N?UB(q):l.push.apply(l,g.u(q))):q&&(!q.adLayoutMetadata&&m3a(q)||q.adLayoutMetadata&& n3a(q))&&(n0(f,n,m.config.adPlacementConfig.kind),n=void 0,p=$2a(null==(n=g.K(q.adStart,EN))?void 0:n.layout.layoutId,a.Lb.get(),a.Cb.get(),m.config.adPlacementConfig,m.adSlotLoggingData,q.linearAds,Z_(q.adLayoutMetadata)?q.adLayoutMetadata:void 0,c,d,h,e,a.loadPolicy,a.Ca.get()),p instanceof N?UB(p):l.push.apply(l,g.u(p)))}return l}; o3a=function(a,b,c,d,e,f,h,l,m,n){function p(B){return JZ(a.Jb.get(),B)} var q=c.renderer,r=c.config.adPlacementConfig,w=r.kind,x=c.adSlotLoggingData,z=l.GS&&"AD_PLACEMENT_KIND_START"===w;z=f&&!z;if(null!=q.adsEngagementPanelRenderer)return o0(b,c.elementId,w,q.adsEngagementPanelRenderer.isContentVideoEngagementPanel,q.adsEngagementPanelRenderer.adVideoId,q.adsEngagementPanelRenderer.associatedCompositePlayerBytesLayoutId,r,x,function(B,E,G,F){var L=a.Cb.get(),O=q.adsEngagementPanelRenderer,U=JZ(a.Jb.get(),B);return B0(L,B.slotId,"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON", new A0a(O),E,G,O.impressionPings,U,q.adsEngagementPanelRenderer.adLayoutLoggingData,F)}),[]; if(null!=q.actionCompanionAdRenderer){if(q.actionCompanionAdRenderer.showWithoutLinkedMediaLayout)return E1a(a.Lb.get(),a.j,a.Cb.get(),q.actionCompanionAdRenderer,r,x,d,p);o0(b,c.elementId,w,q.actionCompanionAdRenderer.isContentVideoCompanion,q.actionCompanionAdRenderer.adVideoId,q.actionCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,r,x,function(B,E,G,F){var L=a.Cb.get(),O=q.actionCompanionAdRenderer,U=JZ(a.Jb.get(),B);return B0(L,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",new VZ(O), E,G,O.impressionPings,U,q.actionCompanionAdRenderer.adLayoutLoggingData,F)})}else if(q.imageCompanionAdRenderer)o0(b,c.elementId,w,q.imageCompanionAdRenderer.isContentVideoCompanion,q.imageCompanionAdRenderer.adVideoId,q.imageCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,r,x,function(B,E,G,F){var L=a.Cb.get(),O=q.imageCompanionAdRenderer,U=JZ(a.Jb.get(),B); return B0(L,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_IMAGE",new C0a(O),E,G,O.impressionPings,U,q.imageCompanionAdRenderer.adLayoutLoggingData,F)}); else if(q.shoppingCompanionCarouselRenderer)o0(b,c.elementId,w,q.shoppingCompanionCarouselRenderer.isContentVideoCompanion,q.shoppingCompanionCarouselRenderer.adVideoId,q.shoppingCompanionCarouselRenderer.associatedCompositePlayerBytesLayoutId,r,x,function(B,E,G,F){var L=a.Cb.get(),O=q.shoppingCompanionCarouselRenderer,U=JZ(a.Jb.get(),B);return B0(L,B.slotId,"LAYOUT_TYPE_COMPANION_WITH_SHOPPING",new D0a(O),E,G,O.impressionPings,U,q.shoppingCompanionCarouselRenderer.adLayoutLoggingData,F)}); else if(q.adBreakServiceRenderer){if(!B1a(c))return[];if("AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"!==w)return A1a(a.Lb.get(),r,x,c.renderer.adBreakServiceRenderer,d,e,f);if(!a.Cj)return new N("Received AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED with no CuePointOpportunityAdapter set for interface");l.md||UB("Received non-live cue point triggered AdBreakServiceRenderer",void 0,void 0,{kind:w,adPlacementConfig:r,daiEnabledForContentVideo:String(f),isServedFromLiveInfra:String(l.md),clientPlaybackNonce:l.clientPlaybackNonce}); r3a(a.Cj,{adPlacementRenderer:c,contentCpn:d,xS:e})}else{if(q.clientForecastingAdRenderer)return L2a(a.Lb.get(),a.Cb.get(),r,x,q.clientForecastingAdRenderer,d,e,p);if(q.invideoOverlayAdRenderer)return Q2a(a.Lb.get(),a.Cb.get(),r,x,q.invideoOverlayAdRenderer,d,e,p);if((q.linearAdSequenceRenderer||q.instreamVideoAdRenderer)&&z)return F2a(a.Lb.get(),a.Cb.get(),c,d,p,n);if(q.linearAdSequenceRenderer&&!z){if(h&&!c3a(q.linearAdSequenceRenderer.linearAds))return[];n0(b,q,w);if(q.linearAdSequenceRenderer.adLayoutMetadata){if(!x1a(q.linearAdSequenceRenderer))return new N("Received invalid LinearAdSequenceRenderer.")}else if(null== q.linearAdSequenceRenderer.linearAds)return new N("Received invalid LinearAdSequenceRenderer.");if(g.K(q.linearAdSequenceRenderer.adStart,EN)){b=g.K(q.linearAdSequenceRenderer.adStart,EN);if(!VCa(b))return new N("Invalid AdMessageRenderer.");c=q.linearAdSequenceRenderer.linearAds;return a3a(a.eb.get(),a.Lb.get(),a.Cb.get(),a.Jb.get(),r,x,b,Z_(q.linearAdSequenceRenderer.adLayoutMetadata)?q.linearAdSequenceRenderer.adLayoutMetadata:void 0,c,d,e,l,p,m,a.loadPolicy,a.Ca.get())}return g3a(a.Lb.get(),a.Cb.get(), r,x,q.linearAdSequenceRenderer.linearAds,Z_(q.linearAdSequenceRenderer.adLayoutMetadata)?q.linearAdSequenceRenderer.adLayoutMetadata:void 0,d,e,l,p,m,a.loadPolicy,a.Ca.get())}if(!q.remoteSlotsRenderer||f)if(!q.instreamVideoAdRenderer||z||h){if(q.instreamSurveyAdRenderer)return k3a(a.Lb.get(),a.Cb.get(),q.instreamSurveyAdRenderer,r,x,d,p,z0(a.Ca.get(),"supports_multi_step_on_desktop"));if(null!=q.sandwichedLinearAdRenderer)return y1a(q.sandwichedLinearAdRenderer)?g.K(q.sandwichedLinearAdRenderer.adVideoStart, EN)?(b=g.K(q.sandwichedLinearAdRenderer.adVideoStart,EN),VCa(b)?(c=g.K(q.sandwichedLinearAdRenderer.linearAd,FN))?O1a(b,c,r,a.eb.get(),a.Lb.get(),a.Cb.get(),a.Jb.get(),x,d,e,l,p,m,a.loadPolicy,a.Ca.get()):new N("Missing IVAR from Sandwich"):new N("Invalid AdMessageRenderer.")):g3a(a.Lb.get(),a.Cb.get(),r,x,[q.sandwichedLinearAdRenderer.adVideoStart,q.sandwichedLinearAdRenderer.linearAd],void 0,d,e,l,p,m,a.loadPolicy,a.Ca.get()):new N("Received invalid SandwichedLinearAdRenderer.");if(null!=q.videoAdTrackingRenderer)return J2a(a.Lb.get(), a.Cb.get(),q.videoAdTrackingRenderer,r,x,d,p)}else return n0(b,q,w),S1a(a.Lb.get(),a.Cb.get(),r,x,q.instreamVideoAdRenderer,d,e,l,p,m,a.loadPolicy,a.Ca.get(),a.Jb.get())}return[]}; C0=function(a){g.C.call(this);this.j=a}; BB=function(a,b,c,d){a.j().jj(b,d);c=c();a=a.j();a.Qb.j("ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",b,d,c);b=g.t(c);for(c=b.next();!c.done;c=b.next())a:{d=a;c=c.value;vM(d.Qb,"ADS_CLIENT_EVENT_TYPE_SLOT_RECEIVED",c);vM(d.Qb,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",c);try{var e=d.j;if(g.Nb(c.slotId))throw new N("Slot ID was empty",void 0,"ADS_CLIENT_ERROR_MESSAGE_INVALID_SLOT");if(L_(e,c))throw new N("Duplicate registration for slot.",{slotId:c.slotId,slotEntryTriggerType:c.slotEntryTrigger.triggerType}, "ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");if(!e.sf.Up.has(c.slotType))throw new N("No fulfillment adapter factory registered for slot of type: "+c.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_FULFILLMENT_ADAPTER_REGISTERED");if(!e.sf.Tq.has(c.slotType))throw new N("No SlotAdapterFactory registered for slot of type: "+c.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_SLOT_ADAPTER_REGISTERED");n1a(e,"TRIGGER_CATEGORY_SLOT_ENTRY",c.slotEntryTrigger?[c.slotEntryTrigger]:[]);n1a(e,"TRIGGER_CATEGORY_SLOT_FULFILLMENT", c.slotFulfillmentTriggers);n1a(e,"TRIGGER_CATEGORY_SLOT_EXPIRATION",c.slotExpirationTriggers);var f=d.j,h=c.slotType+"_"+c.slotPhysicalPosition,l=S_(f,h);if(L_(f,c))throw new N("Duplicate slots not supported",void 0,"ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");l.set(c.slotId,new i1a(c));f.j.set(h,l)}catch(V){V instanceof N&&V.nk?(I_(d.Qb,"ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED",V.nk,c),UB(V,c,void 0,void 0,V.du)):(I_(d.Qb,"ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR", c),UB(V,c));break a}L_(d.j,c).I=!0;try{var m=d.j,n=L_(m,c),p=c.slotEntryTrigger,q=m.sf.Zk.get(p.triggerType);q&&(q.Ul("TRIGGER_CATEGORY_SLOT_ENTRY",p,c,null),n.Aa.set(p.triggerId,q));for(var r=g.t(c.slotFulfillmentTriggers),w=r.next();!w.done;w=r.next()){var x=w.value,z=m.sf.Zk.get(x.triggerType);z&&(z.Ul("TRIGGER_CATEGORY_SLOT_FULFILLMENT",x,c,null),n.ea.set(x.triggerId,z))}for(var B=g.t(c.slotExpirationTriggers),E=B.next();!E.done;E=B.next()){var G=E.value,F=m.sf.Zk.get(G.triggerType);F&&(F.Ul("TRIGGER_CATEGORY_SLOT_EXPIRATION", G,c,null),n.Y.set(G.triggerId,F))}var L=m.sf.Up.get(c.slotType).get().yf(m.B,c);n.J=L;var O=m.sf.Tq.get(c.slotType).get().yf(m.D,c);O.init();n.u=O}catch(V){V instanceof N&&V.nk?(I_(d.Qb,"ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED",V.nk,c),UB(V,c,void 0,void 0,V.du)):(I_(d.Qb,"ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR",c),UB(V,c));J_(d,c,!0);break a}vM(d.Qb,"ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",c);d.j.Li(c);for(var U=g.t(d.Id),ba=U.next();!ba.done;ba=U.next())ba.value.Li(c); U0a(d,c)}}; D0=function(a,b,c,d){this.Wq=b;this.j=c;this.visible=d;this.triggerType="TRIGGER_TYPE_MEDIA_TIME_RANGE";this.triggerId=a(this.triggerType)}; E0=function(a,b,c,d){g.C.call(this);var e=this;this.Zb=a;this.Lb=b;this.xc=c;this.j=new Map;d.get().addListener(this);g.ab(this,function(){d.isDisposed()||d.get().removeListener(e)})}; Hra=function(a,b){var c=0x8000000000000;for(var d=0,e=g.t(b.slotFulfillmentTriggers),f=e.next();!f.done;f=e.next())f=f.value,f instanceof D0?(c=Math.min(c,f.j.start),d=Math.max(d,f.j.end)):UB("Found unexpected fulfillment trigger for throttled slot.",b,null,{fulfillmentTrigger:f});c=new Ro(c,d);d="throttledadcuerange:"+b.slotId;a.j.set(d,b);a.xc.get().addCueRange(d,c.start,c.end,!1,a)}; F0=function(){g.C.apply(this,arguments);this.Jj=!0;this.Uk=new Map;this.j=new Map}; s3a=function(a,b){a=g.t(a.Uk.values());for(var c=a.next();!c.done;c=a.next())if(c.value.layoutId===b)return!0;return!1}; t3a=function(a,b){a=g.t(a.j.values());for(var c=a.next();!c.done;c=a.next()){c=g.t(c.value);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.layoutId===b)return d}UB("Trying to retrieve an unknown layout",void 0,void 0,{isEmpty:String(g.Nb(b)),layoutId:b})}; y0=function(a,b){this.j=b;this.triggerType="TRIGGER_TYPE_CLOSE_REQUESTED";this.triggerId=a(this.triggerType)}; B2a=function(a){this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED";this.triggerId=a(this.triggerType)}; u3a=function(a,b){this.j=b;this.slotType="SLOT_TYPE_PLAYER_BYTES";this.layoutType="LAYOUT_TYPE_MEDIA";this.triggerType="TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED";this.triggerId=a(this.triggerType)}; v3a=function(a,b){this.j=b;this.slotType="SLOT_TYPE_IN_PLAYER";this.triggerType="TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED";this.triggerId=a(this.triggerType)}; w3a=function(a,b){this.opportunityType="OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED";this.associatedSlotId=b;this.triggerType="TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED";this.triggerId=a(this.triggerType)}; v2a=function(a){this.triggerType="TRIGGER_TYPE_PLAYBACK_MINIMIZED";this.triggerId=a(this.triggerType)}; x3a=function(a,b,c){this.layoutId=b;this.offsetMs=c;this.triggerType="TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER";this.triggerId=a(this.triggerType)}; G0=function(a,b){this.layoutId=b;this.triggerType="TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME";this.triggerId=a(this.triggerType)}; y3a=function(a,b,c){this.layoutId=b;this.offsetMs=c;this.triggerType="TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER";this.triggerId=a(this.triggerType)}; P2a=function(a,b){this.durationMs=45E3;this.triggeringLayoutId=b;this.triggerType="TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER";this.triggerId=a(this.triggerType)}; z3a=function(a){var b=[new j_(a.wp),new g_(a.instreamAdPlayerOverlayRenderer),new K0a(a.TN),new $Z(a.adPlacementConfig),new p_(a.videoLengthSeconds),new B_(a.zG)];a.YJ&&b.push(new d_(a.YJ));return b}; A3a=function(a,b,c,d,e,f){a=c.inPlayerLayoutId?c.inPlayerLayoutId:aC(f,"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",a);var h={layoutId:a,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",bb:b};return{layoutId:a,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Rb:new Map,layoutExitNormalTriggers:[new e0(function(l){return bC(f,l)},c.wp)], layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:b,Ba:d,Ac:e(h),adLayoutLoggingData:c.instreamAdPlayerOverlayRenderer.adLayoutLoggingData}}; H0=function(a){var b=this;this.eb=a;this.j=function(c){return bC(b.eb.get(),c)}}; X1a=function(a,b,c,d,e,f){c=new EZ([new h_(c),new $Z(d)]);b=aC(a.eb.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",Rb:new Map,layoutExitNormalTriggers:[new e0(function(h){return bC(a.eb.get(),h)},e)], layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"core",Ba:c,Ac:f(d),adLayoutLoggingData:void 0}}; r0=function(a,b,c,d,e){var f=z3a(d);return A3a(b,c,d,new EZ(f),e,a.eb.get())}; B3a=function(a,b,c,d,e){var f=z3a(d);f.push(new YZ(d.Z0));f.push(new ZZ(d.e1));return A3a(b,c,d,new EZ(f),e,a.eb.get())}; B0=function(a,b,c,d,e,f,h,l,m,n){b=aC(a.eb.get(),c,b);var p={layoutId:b,layoutType:c,bb:"core"},q=new Map;h&&q.set("impression",h);h=[new u3a(a.j,e)];n&&h.push(new i0(a.j,n,["normal"]));return{layoutId:b,layoutType:c,Rb:q,layoutExitNormalTriggers:h,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"core",Ba:new EZ([d,new $Z(f),new j_(e)]),Ac:l(p),adLayoutLoggingData:m}}; O2a=function(a,b,c){var d=[];d.push(new v3a(a.j,c));b&&d.push(b);return d}; N2a=function(a,b,c,d,e,f,h){var l={layoutId:b,layoutType:c,bb:"core"};return{layoutId:b,layoutType:c,Rb:new Map,layoutExitNormalTriggers:h,layoutExitSkipTriggers:[new y0(a.j,b)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"core",Ba:new EZ([new B0a(d),new $Z(e)]),Ac:f(l),adLayoutLoggingData:d.adLayoutLoggingData}}; o2a=function(a,b,c,d,e,f,h,l){var m={layoutId:b,layoutType:f,bb:"core"};return{layoutId:b,layoutType:f,Rb:new Map,layoutExitNormalTriggers:[new e0(a.j,c)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"core",Ba:new EZ([new $Z(d)].concat(g.u(h))),Ac:e(m),adLayoutLoggingData:l}}; R2a=function(a,b,c,d,e,f,h,l,m,n,p,q){a=Y2a(a,b,c,d,e,f,h,l,p,q);b=a.Ix;c=new k_(a.YG);d=a.layoutExitSkipTriggers;0=.25*d||c)&&a.hd("first_quartile"),(b>=.5*d||c)&&a.hd("midpoint"),(b>=.75*d||c)&&a.hd("third_quartile"),a=a.S7,b*=1E3,c=a.D())){for(;a.C=w?new Ro(1E3*q,1E3*r):new Ro(1E3*Math.floor(d+Math.random()*Math.min(w,p)),1E3*r)}p=m}else p={xn:Osa(c),lD:!1},r=c.startSecs+c.Og,c.startSecs<=d?m=new Ro(1E3*(c.startSecs-4),1E3*r):(q=Math.max(0,c.startSecs-d-10),m=new Ro(1E3*Math.floor(d+ Math.random()*(m?0===d?0:Math.min(q,5):q)),1E3*r)),p.Tp=m;e=z1a(e,f,h,p,l,[new L0a(c)]);n.get().Vh("daism","ct."+Date.now()+";cmt."+d+";smw."+(p.Tp.start/1E3-d)+";tw."+(c.startSecs-d)+";cid."+c.identifier.replace(":","")+";sid."+e.slotId);return[e]})}; K1=function(a,b,c,d,e,f,h,l,m){g.C.call(this);this.j=a;this.B=b;this.u=c;this.Zb=d;this.Lb=e;this.Cb=f;this.Jb=h;this.Ca=l;this.Wa=m;this.Jj=!0}; e5a=function(a,b,c){return W1a(a.Lb.get(),b.contentCpn,b.wp,function(d){return X1a(a.Cb.get(),d.slotId,c,b.adPlacementConfig,b.wp,JZ(a.Jb.get(),d))})}; L1=function(a){var b,c=null==(b=FZ(a.Ba,"metadata_type_player_bytes_callback_ref"))?void 0:b.current;if(!c)return null;b=FZ(a.Ba,"metadata_type_ad_pod_skip_target_callback_ref");var d=a.layoutId,e=FZ(a.Ba,"metadata_type_content_cpn"),f=FZ(a.Ba,"metadata_type_instream_ad_player_overlay_renderer"),h=FZ(a.Ba,"metadata_type_player_underlay_renderer"),l=FZ(a.Ba,"metadata_type_ad_placement_config"),m=FZ(a.Ba,"metadata_type_video_length_seconds");var n=CB(a.Ba,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds")? FZ(a.Ba,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"):CB(a.Ba,"metadata_type_layout_enter_ms")&&CB(a.Ba,"metadata_type_layout_exit_ms")?(FZ(a.Ba,"metadata_type_layout_exit_ms")-FZ(a.Ba,"metadata_type_layout_enter_ms"))/1E3:void 0;return{wp:d,contentCpn:e,TN:c,YJ:b,instreamAdPlayerOverlayRenderer:f,instreamAdPlayerUnderlayRenderer:h,adPlacementConfig:l,videoLengthSeconds:m,zG:n,inPlayerLayoutId:FZ(a.Ba,"metadata_type_linked_in_player_layout_id"),inPlayerSlotId:FZ(a.Ba,"metadata_type_linked_in_player_slot_id")}}; g5a=function(a,b){return f5a(a,b)}; h5a=function(a,b){b=f5a(a,b);if(!b)return null;var c;b.zG=null==(c=FZ(a.Ba,"metadata_type_ad_pod_info"))?void 0:c.adBreakRemainingLengthSeconds;return b}; f5a=function(a,b){var c,d=null==(c=FZ(a.Ba,"metadata_type_player_bytes_callback_ref"))?void 0:c.current;if(!d)return null;CB(a.Ba,"metadata_ad_video_is_listed")?c=FZ(a.Ba,"metadata_ad_video_is_listed"):b?c=b.isListed:(UB("No layout metadata nor AdPlayback specified for ad video isListed"),c=!1);CB(a.Ba,"metadata_type_ad_info_ad_metadata")?b=FZ(a.Ba,"metadata_type_ad_info_ad_metadata"):b?b={channelId:b.dk,channelThumbnailUrl:b.profilePicture,channelTitle:b.author,videoTitle:b.title}:(UB("No layout metadata nor AdPlayback specified for AdMetaData"), b={channelId:"",channelThumbnailUrl:"",channelTitle:"",videoTitle:""});return{Z0:b,adPlacementConfig:FZ(a.Ba,"metadata_type_ad_placement_config"),e1:c,contentCpn:FZ(a.Ba,"metadata_type_content_cpn"),inPlayerLayoutId:FZ(a.Ba,"metadata_type_linked_in_player_layout_id"),inPlayerSlotId:FZ(a.Ba,"metadata_type_linked_in_player_slot_id"),instreamAdPlayerOverlayRenderer:FZ(a.Ba,"metadata_type_instream_ad_player_overlay_renderer"),instreamAdPlayerUnderlayRenderer:void 0,zG:void 0,TN:d,wp:a.layoutId,videoLengthSeconds:FZ(a.Ba, "metadata_type_video_length_seconds")}}; i5a=function(a,b){this.callback=a;this.slot=b}; M1=function(){}; j5a=function(a,b,c){this.callback=a;this.slot=b;this.Ha=c}; k5a=function(a,b,c){this.callback=a;this.slot=b;this.Ha=c;this.u=!1;this.j=0}; l5a=function(a,b,c){this.callback=a;this.slot=b;this.Ha=c}; N1=function(a){this.Ha=a}; O1=function(a,b,c,d){this.category=a;this.trigger=b;this.slot=c;this.layout=d}; P1=function(a){g.C.call(this);this.NI=a;this.Wb=new Map}; m5a=function(a,b){for(var c=[],d=g.t(a.Wb.values()),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.trigger;f instanceof l0&&f.triggeringLayoutId===b&&c.push(e)}c.length?Q_(a.NI(),c):UB("Survey is submitted but no registered triggers can be activated.")}; Q1=function(a,b,c){P1.call(this,a);var d=this;this.Ca=c;b.get().addListener(this);g.ab(this,function(){b.isDisposed()||b.get().removeListener(d)})}; R1=function(a){g.C.call(this);this.j=a;this.Jj=!0;this.Wb=new Map;this.D=new Set;this.B=new Set;this.C=new Set;this.I=new Set;this.u=new Set}; S1=function(a,b){g.C.call(this);var c=this;this.j=a;this.Wb=new Map;b.get().addListener(this);g.ab(this,function(){b.isDisposed()||b.get().removeListener(c)})}; n5a=function(a,b,c,d){var e=[];a=g.t(a.values());for(var f=a.next();!f.done;f=a.next())if(f=f.value,f.trigger instanceof f0){var h=f.trigger.j===b;h===c?e.push(f):d&&h&&(UB("Firing OnNewPlaybackAfterContentVideoIdTrigger from presumed cached playback CPN match.",void 0,void 0,{cpn:b}),e.push(f))}return e}; o5a=function(a){return a instanceof x3a||a instanceof y3a||a instanceof G0}; T1=function(a,b,c,d){g.C.call(this);var e=this;this.u=a;this.xc=b;this.Ha=c;this.Wa=d;this.Jj=!0;this.Wb=new Map;this.j=new Set;c.get().addListener(this);g.ab(this,function(){c.isDisposed()||c.get().removeListener(e)})}; p5a=function(a,b,c,d,e,f,h,l,m,n){if(a.Wa.get().gg(1).clientPlaybackNonce!==m)throw new N("Cannot register CueRange-based trigger for different content CPN",{trigger:c});a.Wb.set(c.triggerId,{vu:new O1(b,c,d,e),Eu:f});a.xc.get().addCueRange(f,h,l,n,a)}; q5a=function(a,b){a=g.t(a.Wb.entries());for(var c=a.next();!c.done;c=a.next()){var d=g.t(c.value);c=d.next().value;d=d.next().value;if(b===d.Eu)return c}return""}; U1=function(a){g.C.call(this);this.j=a;this.Jj=!0;this.Wb=new Map}; C1=function(a,b){b=b.layoutId;for(var c=[],d=g.t(a.Wb.values()),e=d.next();!e.done;e=d.next())if(e=e.value,e.trigger instanceof j0){var f;if(f=e.trigger.layoutId===b)f=(f=a1a.get(e.category))?"normal"===f:!1;f&&c.push(e)}c.length&&Q_(a.j(),c)}; V1=function(a){g.C.call(this);this.j=a;this.Jj=!0;this.Wb=new Map}; W1=function(a,b,c){g.C.call(this);this.j=a;this.Wm=b;this.eb=c;this.Wm.get().addListener(this)}; X1=function(a,b,c,d,e,f){g.C.call(this);this.B=a;this.Ye=b;this.Jb=c;this.Wa=d;this.eb=e;this.Ca=f;this.j=this.u=null;this.C=!1;this.Ye.get().addListener(this)}; cDa=function(a,b,c,d,e){var f=$B(a.eb.get(),"SLOT_TYPE_PLAYER_BYTES");a.u={slotId:f,slotType:"SLOT_TYPE_PLAYER_BYTES",slotPhysicalPosition:1,slotEntryTrigger:void 0,slotFulfillmentTriggers:[],slotExpirationTriggers:[],bb:"surface",Ba:new EZ([])};a.j={layoutId:b,layoutType:"LAYOUT_TYPE_MEDIA",Rb:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Tc:[],bb:"surface",Ba:new EZ(c),Ac:u0a(IZ(a.Jb.get()),f,"SLOT_TYPE_PLAYER_BYTES", 1,"surface",void 0,[],[],b,"LAYOUT_TYPE_MEDIA","surface"),adLayoutLoggingData:e};Y0a(a.B(),a.u,a.j);d&&(Z0a(a.B(),a.u,a.j),a.C=!0,P_(a.B(),a.u,a.j))}; Y1=function(a){this.Wt=a}; r5a=function(a,b){if(!a)return{ao:[],Pz:!0,ssdaiAdsConfig:void 0};a.trackingParams&&pN(mN(),a.trackingParams);if(a.adThrottled)return{ao:[],Pz:!0,ssdaiAdsConfig:void 0};var c=a.playerAds;if(!c||!c.length)return{ao:[],Pz:!1,ssdaiAdsConfig:void 0};c=c.map(function(e){return e.adPlacementRenderer}).filter(function(e){return!(!e||!e.renderer)}); if(!c.length)return{ao:[],Pz:!1,ssdaiAdsConfig:void 0};if(0e&&h.Vz(p,e-d);return p}; E5a=function(a,b){var c=FZ(b.Ba,"metadata_type_sodar_extension_data");if(c)try{m4a(0,c)}catch(d){UB("Unexpected error when loading Sodar",a,b,{error:d})}}; G5a=function(a,b,c,d,e,f){F5a(a,b,new g.cM(c,new g.KM),d,e,!1,f)}; F5a=function(a,b,c,d,e,f,h){f=void 0===f?!0:f;R4a(c)&&D1(e,0,null)&&(!r1(a,"impression")&&h&&h(),a.hd("impression"));r1(a,"impression")&&(g.eM(c,4)&&!g.eM(c,2)&&a.nh("pause"),0>dM(c,4)&&!(0>dM(c,2))&&a.nh("resume"),g.eM(c,16)&&.5<=e&&a.nh("seek"),f&&g.eM(c,2)&&H5a(a,c.state,b,d,e))}; H5a=function(a,b,c,d,e,f){if(r1(a,"impression")){var h=1>=Math.abs(d-e);I5a(a,b,h?d:e,c,d,f);h&&a.hd("complete")}}; I5a=function(a,b,c,d,e,f){q1(a,1E3*c);0>=e||0>=c||(null==b?0:g.S(b,16))||(null==b?0:g.S(b,32))||(D1(c,.25*e,d)&&(f&&!r1(a,"first_quartile")&&f("first"),a.hd("first_quartile")),D1(c,.5*e,d)&&(f&&!r1(a,"midpoint")&&f("second"),a.hd("midpoint")),D1(c,.75*e,d)&&(f&&!r1(a,"third_quartile")&&f("third"),a.hd("third_quartile")))}; J5a=function(a,b){r1(a,"impression")&&a.nh(b?"fullscreen":"end_fullscreen")}; K5a=function(a){r1(a,"impression")&&a.nh("clickthrough")}; L5a=function(a){a.nh("active_view_measurable")}; M5a=function(a){r1(a,"impression")&&!r1(a,"seek")&&a.nh("active_view_fully_viewable_audible_half_duration")}; N5a=function(a){r1(a,"impression")&&!r1(a,"seek")&&a.nh("active_view_viewable")}; O5a=function(a){r1(a,"impression")&&!r1(a,"seek")&&a.nh("audio_audible")}; P5a=function(a){r1(a,"impression")&&!r1(a,"seek")&&a.nh("audio_measurable")}; Q5a=function(a,b,c,d,e,f,h,l,m,n,p,q){this.callback=a;this.slot=b;this.layout=c;this.rf=d;this.Ya=e;this.Ha=f;this.Vd=h;this.Nb=l;this.cf=m;this.Ca=n;this.Pa=p;this.Wa=q;this.hG=!0;this.Mc=this.Fc=null}; R5a=function(a,b,c){var d;a.Pa.get().Vh("ads_qua","cpn."+FZ(a.layout.Ba,"metadata_type_content_cpn")+";acpn."+(null==(d=a.Wa.get().gg(2))?void 0:d.clientPlaybackNonce)+";qt."+b+";clr."+c)}; S5a=function(a,b){var c,d;a.Pa.get().Vh("ads_imp","cpn."+FZ(a.layout.Ba,"metadata_type_content_cpn")+";acpn."+(null==(c=a.Wa.get().gg(2))?void 0:c.clientPlaybackNonce)+";clr."+b+";skp."+!!g.K(null==(d=FZ(a.layout.Ba,"metadata_type_instream_ad_player_overlay_renderer"))?void 0:d.skipOrPreviewRenderer,u0))}; T5a=function(a){return{enterMs:FZ(a.Ba,"metadata_type_layout_enter_ms"),exitMs:FZ(a.Ba,"metadata_type_layout_exit_ms")}}; U5a=function(a,b,c,d,e,f,h,l,m,n,p,q,r,w){e2.call(this,a,b,c,d,e,h,l,m,n,q);this.Vd=f;this.cf=p;this.Nb=r;this.Ca=w;this.Mc=this.Fc=null}; V5a=function(a,b){var c;a.Pa.get().Vh("ads_imp","acpn."+(null==(c=a.Wa.get().gg(2))?void 0:c.clientPlaybackNonce)+";clr."+b)}; W5a=function(a,b,c){var d;a.Pa.get().Vh("ads_qua","cpn."+FZ(a.layout.Ba,"metadata_type_content_cpn")+";acpn."+(null==(d=a.Wa.get().gg(2))?void 0:d.clientPlaybackNonce)+";qt."+b+";clr."+c)}; X5a=function(a,b,c,d,e,f,h,l,m,n,p,q,r,w,x,z,B,E,G){this.Se=a;this.u=b;this.Wa=c;this.rf=d;this.Ha=e;this.Pa=f;this.Vd=h;this.zf=l;this.Nb=m;this.cf=n;this.Oe=p;this.xc=q;this.Lc=r;this.yd=w;this.Sf=x;this.Ob=z;this.Xf=B;this.Ca=E;this.j=G}; f2=function(a){g.C.call(this);this.j=a;this.Wb=new Map}; g2=function(a,b){for(var c=[],d=g.t(a.Wb.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger.j===b.layoutId&&c.push(e);c.length&&Q_(a.j(),c)}; h2=function(a,b){g.C.call(this);var c=this;this.C=a;this.u=new Map;this.B=new Map;this.j=null;b.get().addListener(this);g.ab(this,function(){b.isDisposed()||b.get().removeListener(c)}); var d;this.j=(null==(d=b.get().Fu)?void 0:d.slotId)||null}; Y5a=function(a,b){var c=[];a=g.t(a.values());for(var d=a.next();!d.done;d=a.next())d=d.value,d.slot.slotId===b&&c.push(d);return c}; Z5a=function(a){this.F=a}; $5a=function(a,b,c,d,e){nL.call(this,"image-companion",a,b,c,d,e)}; a6a=function(a,b,c,d,e,f,h,l){t1.call(this,a,b,c,d);this.Pa=e;this.Se=f;this.I=l;this.Jj=!0;this.C=null;this.D=FZ(c.Ba,"metadata_type_linked_player_bytes_layout_id");this.Se().Id.add(this);a=FZ(c.Ba,"metadata_type_ad_placement_config");this.Ya=new n1(c.Rb,this.Pa,a,c.layoutId)}; b6a=function(){var a=["metadata_type_image_companion_ad_renderer","metadata_type_linked_player_bytes_layout_id"];o1().forEach(function(b){a.push(b)}); return{Ce:a,Of:["LAYOUT_TYPE_COMPANION_WITH_IMAGE"]}}; c6a=function(a,b,c,d,e){nL.call(this,"shopping-companion",a,b,c,d,e)}; d6a=function(a,b,c,d,e,f,h,l){t1.call(this,a,b,c,d);this.Pa=e;this.Se=f;this.I=l;this.Jj=!0;this.C=null;this.D=FZ(c.Ba,"metadata_type_linked_player_bytes_layout_id");this.Se().Id.add(this);a=FZ(c.Ba,"metadata_type_ad_placement_config");this.Ya=new n1(c.Rb,this.Pa,a,c.layoutId)}; e6a=function(){var a=["metadata_type_shopping_companion_carousel_renderer","metadata_type_linked_player_bytes_layout_id"];o1().forEach(function(b){a.push(b)}); return{Ce:a,Of:["LAYOUT_TYPE_COMPANION_WITH_SHOPPING"]}}; f6a=function(a,b,c,d,e,f){t1.call(this,a,b,c,d);this.Pa=e;this.Se=f;this.Jj=!0;this.Se().Id.add(this);a=FZ(c.Ba,"metadata_type_ad_placement_config");this.Ya=new n1(c.Rb,this.Pa,a,c.layoutId)}; g6a=function(){var a=["metadata_type_action_companion_ad_renderer"];o1().forEach(function(b){a.push(b)}); return{Ce:a,Of:["LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON"]}}; h6a=function(a,b,c,d,e){nL.call(this,"ads-engagement-panel",a,b,c,d,e)}; i6a=function(a,b,c,d,e,f,h,l){t1.call(this,a,b,c,d);this.Pa=e;this.Se=f;this.I=l;this.Jj=!0;this.C=null;this.D=FZ(c.Ba,"metadata_type_linked_player_bytes_layout_id");this.Se().Id.add(this);a=FZ(c.Ba,"metadata_type_ad_placement_config");this.Ya=new n1(c.Rb,this.Pa,a,c.layoutId)}; j6a=function(){var a=["metadata_type_ads_engagement_panel_renderer","metadata_type_linked_player_bytes_layout_id"];o1().forEach(function(b){a.push(b)}); return{Ce:a,Of:["LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON"]}}; k6a=function(a,b,c,d,e){this.wc=a;this.Pa=b;this.Se=c;this.j=d;this.Nb=e}; l6a=function(a,b,c){nL.call(this,"player-underlay",a,{},b,c);this.interactionLoggingClientData=c}; i2=function(a,b,c,d){t1.call(this,a,b,c,d)}; m6a=function(a){this.wc=a}; n6a=function(a,b,c,d){nL.call(this,"survey-interstitial",a,b,c,d)}; j2=function(a,b,c,d,e){t1.call(this,c,a,b,d);this.Pa=e;a=FZ(b.Ba,"metadata_type_ad_placement_config");this.Ya=new n1(b.Rb,e,a,b.layoutId)}; k2=function(a){return Math.round(a.width)+"x"+Math.round(a.height)}; p6a=function(a,b,c){c=void 0===c?o6a:c;c.widtha.width*a.height*.2)return{nI:3,YD:501,errorMessage:"ad("+k2(c)+") to container("+k2(a)+") ratio exceeds limit."};if(c.height>a.height/3-b)return{nI:3,YD:501,errorMessage:"ad("+k2(c)+") covers container("+k2(a)+") center."}}; q6a=function(a,b){var c=FZ(a.Ba,"metadata_type_ad_placement_config");return new n1(a.Rb,b,c,a.layoutId)}; l2=function(a){return FZ(a.Ba,"metadata_type_invideo_overlay_ad_renderer")}; r6a=function(a,b,c,d){nL.call(this,"invideo-overlay",a,b,c,d);this.interactionLoggingClientData=d}; m2=function(a,b,c,d,e,f,h,l,m,n,p,q){t1.call(this,f,a,b,e);this.Pa=c;this.C=h;this.Ha=l;this.Ob=m;this.Ca=n;this.I=p;this.D=q;this.Ya=q6a(b,c)}; s6a=function(){var a=["metadata_type_invideo_overlay_ad_renderer"];o1().forEach(function(b){a.push(b)}); return{Ce:a,Of:["LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY","LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY"]}}; n2=function(a,b,c,d,e,f,h,l,m,n,p,q,r){t1.call(this,f,a,b,e);this.Pa=c;this.C=h;this.J=l;this.Ha=m;this.Ob=n;this.Ca=p;this.I=q;this.D=r;this.Ya=q6a(b,c)}; t6a=function(){for(var a=["metadata_type_invideo_overlay_ad_renderer"],b=g.t(o1()),c=b.next();!c.done;c=b.next())a.push(c.value);return{Ce:a,Of:["LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY"]}}; o2=function(a){this.Ha=a;this.j=!1}; u6a=function(a,b,c){nL.call(this,"survey",a,{},b,c)}; v6a=function(a,b,c,d,e,f,h){t1.call(this,c,a,b,d);this.C=e;this.Ha=f;this.Ca=h}; w6a=function(a,b,c,d,e,f,h,l,m,n){this.wc=a;this.Ha=b;this.Pa=c;this.C=d;this.Nb=e;this.u=f;this.B=h;this.Ob=l;this.Ca=m;this.j=n}; p2=function(a){g.C.call(this);this.B=a;this.Jj=!0;this.Wb=new Map;this.j=new Map;this.u=new Map}; x6a=function(a,b){var c=[];if(b=a.j.get(b.layoutId)){b=g.t(b);for(var d=b.next();!d.done;d=b.next())(d=a.u.get(d.value.triggerId))&&c.push(d)}return c}; y6a=function(a,b,c,d,e){g.C.call(this);var f=this;this.eb=X(function(){return new ZB}); g.D(this,this.eb);this.Cb=X(function(){return new H0(f.eb)}); g.D(this,this.Cb);this.Pc=X(function(){return new F0}); g.D(this,this.Pc);this.Zb=X(function(){return new C0(a)}); g.D(this,this.Zb);this.Lb=X(function(){return new O0(f.eb,f.Cb,f.Ca)}); g.D(this,this.Lb);this.Vd=X(function(){return new S0}); g.D(this,this.Vd);this.Sf=X(function(){return new oL(b.V())}); g.D(this,this.Sf);this.wc=X(function(){return new Z1(b)}); g.D(this,this.wc);this.Ob=X(function(){return new X_(e)}); g.D(this,this.Ob);this.Lc=X(function(){return new EM(b)}); g.D(this,this.Lc);this.xc=X(function(){return new U0(b)}); g.D(this,this.xc);this.Oe=X(function(){return new b2(b)}); g.D(this,this.Oe);this.yd=X(function(){return new V0(b)}); g.D(this,this.yd);this.Ca=X(function(){return new W0(b)}); g.D(this,this.Ca);this.Jf=X(function(){return new Y1(d)}); g.D(this,this.Jf);this.Jb=X(function(){return new KZ(f.Ca)}); g.D(this,this.Jb);this.Yd=X(function(){return new A0(f.eb,f.Lb,f.Cb,f.Ca,f.Jb,"SLOT_TYPE_ABOVE_FEED",f.Cj)}); g.D(this,this.Yd);this.Xf=X(function(){return new c2(b)}); g.D(this,this.Xf);this.Ye=X(function(){return new d2}); g.D(this,this.Ye);this.Wm=X(function(){return new h1}); g.D(this,this.Wm);this.Wa=X(function(){return new d1(b,f.Vd,f.Ca)}); g.D(this,this.Wa);this.Qb=new R0(this.Ca,this.Jb,this.Wa);g.D(this,this.Qb);this.zf=X(function(){return new a2(b,f.Ca,f.Pa)}); g.D(this,this.zf);this.rf=X(function(){return new Z5a(b)}); g.D(this,this.rf);this.Ha=X(function(){return new e1(b,f.Wa,f.Ca)}); g.D(this,this.Ha);this.cf=X(function(){return new i1}); this.Nb=X(function(){return new Y0(f.Ha,b)}); g.D(this,this.Nb);this.Pa=X(function(){return new a1(b,f.Pc,f.Nb,f.Wa)}); g.D(this,this.Pa);this.ai=new K1(L1,q2,function(l,m,n,p){return r0(f.Cb.get(),l,m,n,p)},this.Zb,this.Lb,this.Cb,this.Jb,this.Ca,this.Wa); g.D(this,this.ai);this.Vc=new VB(this.Zb,this.Yd,c,this.Ca,a,this.Wa,this.Ha,this.Lc);g.D(this,this.Vc);var h=new T0(b,this.Vc,this.Ha,this.Wa,this.zf);this.eg=X(function(){return h}); this.Ws=h;this.Cj=new J1(this.Zb,this.Lb,this.eg,this.zf,this.Ha,this.Ca,this.Pa,this.rf);g.D(this,this.Cj);this.tf=new E0(this.Zb,this.Lb,this.xc,this.eg);g.D(this,this.tf);this.Yc=new zB(this.Ca,this.Zb,this.Lb,this.Yd,this.Wa,this.tf,c);g.D(this,this.Yc);this.Jh=X(function(){return new j1(f.Jf,f.Cb,f.Jb,f.Ca,f.Pa,f.Ha,f.rf)}); g.D(this,this.Jh);this.Rd=X(function(){return new k1}); g.D(this,this.Rd);this.Kf=new Q1(a,this.wc,this.Ca);g.D(this,this.Kf);this.Hb=new R1(a);g.D(this,this.Hb);this.Au=new f2(a);g.D(this,this.Au);this.Uf=new S1(a,this.eg);g.D(this,this.Uf);this.Ne=new T1(a,this.xc,this.Ha,this.Wa);g.D(this,this.Ne);this.ov=new h2(a,this.Wa);g.D(this,this.ov);this.Ie=new U1(a);g.D(this,this.Ie);this.Yh=new V1(a);g.D(this,this.Yh);this.gw=new p2(a);g.D(this,this.gw);this.Jd=X(function(){return new M1}); g.D(this,this.Jd);this.di=X(function(){return new N1(f.Ha)}); g.D(this,this.di);this.PR=X(function(){return new k6a(f.wc,f.Pa,a,f.Pc,f.Nb)}); g.D(this,this.PR);this.Ih=X(function(){return new m1(f.Yc)}); g.D(this,this.Ih);this.Ph=X(function(){return new s1(f.Ca,f.Pa,f.Ie,f.Nb)}); g.D(this,this.Ph);this.Zh=X(function(){return new X5a(a,f.Ie,f.Wa,f.rf,f.Ha,f.Pa,f.Vd,f.zf,f.Nb,f.cf,f.Oe,f.xc,f.Lc,f.yd,f.Sf,f.Ob,f.Xf,f.Ca,f.Pc)}); g.D(this,this.Zh);this.oW=X(function(){return new x5a(f.Ha,f.Pa,f.Ca)}); g.D(this,this.oW);this.Om=X(function(){return new w6a(f.wc,f.Ha,f.Pa,f.Pc,f.Nb,f.Au,f.gw,f.Ob,f.Ca,c)}); g.D(this,this.Om);this.aY=X(function(){return new m6a(f.wc)}); g.D(this,this.aY);this.VJ=new W1(a,this.Wm,this.eb);g.D(this,this.VJ);this.vn=new X1(a,this.Ye,this.Jb,this.Wa,this.eb,this.Ca);g.D(this,this.vn);this.sf={Fv:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Cj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.ai],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Vc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.tf]]),Up:new Map([["SLOT_TYPE_AD_BREAK_REQUEST", this.Jh],["SLOT_TYPE_ABOVE_FEED",this.Rd],["SLOT_TYPE_FORECASTING",this.Rd],["SLOT_TYPE_IN_PLAYER",this.Rd],["SLOT_TYPE_PLAYER_BYTES",this.Rd],["SLOT_TYPE_PLAYER_UNDERLAY",this.Rd],["SLOT_TYPE_PLAYBACK_TRACKING",this.Rd]]),Zk:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Kf],["TRIGGER_TYPE_SURVEY_SUBMITTED",this.Kf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Hb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Hb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Hb], ["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Hb],["TRIGGER_TYPE_SLOT_ID_UNSCHEDULED",this.Hb],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.Hb],["TRIGGER_TYPE_CLOSE_REQUESTED",this.Au],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.Uf],["TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER", this.Ne],["TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER",this.Ne],["TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME",this.Ne],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ne],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ne],["TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED",this.Ne],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.Ne],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.ov],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.ov],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED", this.Ie],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.Uf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Yh],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER",this.gw]]),Tq:new Map([["SLOT_TYPE_ABOVE_FEED",this.Jd],["SLOT_TYPE_AD_BREAK_REQUEST",this.Jd],["SLOT_TYPE_FORECASTING",this.Jd],["SLOT_TYPE_IN_PLAYER",this.Jd],["SLOT_TYPE_PLAYER_BYTES",this.di],["SLOT_TYPE_PLAYER_UNDERLAY",this.Jd],["SLOT_TYPE_PLAYBACK_TRACKING",this.Jd]]),tq:new Map([["SLOT_TYPE_ABOVE_FEED",this.PR],["SLOT_TYPE_AD_BREAK_REQUEST", this.Ih],["SLOT_TYPE_FORECASTING",this.Ph],["SLOT_TYPE_PLAYER_BYTES",this.Zh],["SLOT_TYPE_PLAYBACK_TRACKING",this.oW],["SLOT_TYPE_IN_PLAYER",this.Om],["SLOT_TYPE_PLAYER_UNDERLAY",this.aY]])};this.listeners=[this.Pc.get()];this.fv={Yc:this.Yc,xq:this.Ye.get(),Gi:this.Ca.get(),rb:this.Ob.get(),jt:this.Ha.get(),Vc:this.Vc,Nm:this.eb.get(),wq:this.Wm.get(),Ol:this.Kf,Kj:this.Pc.get(),un:this.Wa.get()}}; z6a=function(a,b,c,d,e,f,h,l,m,n){this.wc=a;this.Ha=b;this.Pa=c;this.C=d;this.Nb=e;this.u=f;this.B=h;this.Ob=l;this.Ca=m;this.j=n}; A6a=function(a,b,c,d,e){g.C.call(this);var f=this;this.eb=X(function(){return new ZB}); g.D(this,this.eb);this.Cb=X(function(){return new H0(f.eb)}); g.D(this,this.Cb);this.Pc=X(function(){return new F0}); g.D(this,this.Pc);this.Zb=X(function(){return new C0(a)}); g.D(this,this.Zb);this.Lb=X(function(){return new O0(f.eb,f.Cb,f.Ca)}); g.D(this,this.Lb);this.Vd=X(function(){return new S0}); g.D(this,this.Vd);this.Sf=X(function(){return new oL(b.V())}); g.D(this,this.Sf);this.wc=X(function(){return new Z1(b)}); g.D(this,this.wc);this.Ob=X(function(){return new X_(e)}); g.D(this,this.Ob);this.Lc=X(function(){return new EM(b)}); g.D(this,this.Lc);this.xc=X(function(){return new U0(b)}); g.D(this,this.xc);this.Oe=X(function(){return new b2(b)}); g.D(this,this.Oe);this.yd=X(function(){return new V0(b)}); g.D(this,this.yd);this.Ca=X(function(){return new W0(b)}); g.D(this,this.Ca);this.Jf=X(function(){return new Y1(d)}); g.D(this,this.Jf);this.Jb=X(function(){return new KZ(f.Ca)}); g.D(this,this.Jb);this.Yd=X(function(){return new A0(f.eb,f.Lb,f.Cb,f.Ca,f.Jb,null,f.Cj)}); g.D(this,this.Yd);this.Xf=X(function(){return new c2(b)}); g.D(this,this.Xf);this.Ye=X(function(){return new d2}); g.D(this,this.Ye);this.Wm=X(function(){return new h1}); g.D(this,this.Wm);this.Wa=X(function(){return new d1(b,f.Vd,f.Ca)}); g.D(this,this.Wa);this.Qb=new R0(this.Ca,this.Jb,this.Wa);g.D(this,this.Qb);this.zf=X(function(){return new a2(b,f.Ca,f.Pa)}); this.Ha=X(function(){return new e1(b,f.Wa,f.Ca)}); g.D(this,this.Ha);this.Nb=X(function(){return new Y0(f.Ha,b)}); g.D(this,this.Nb);this.Pa=X(function(){return new a1(b,f.Pc,f.Nb,f.Wa)}); g.D(this,this.Pa);this.cf=X(function(){return new i1}); g.D(this,this.cf);this.ai=new K1(L1,q2,function(l,m,n,p){return r0(f.Cb.get(),l,m,n,p)},this.Zb,this.Lb,this.Cb,this.Jb,this.Ca,this.Wa); g.D(this,this.ai);this.Vc=new VB(this.Zb,this.Yd,c,this.Ca,a,this.Wa,this.Ha,this.Lc);g.D(this,this.Vc);var h=new T0(b,this.Vc,this.Ha,this.Wa,this.zf);this.eg=X(function(){return h}); this.Ws=h;this.Cj=new J1(this.Zb,this.Lb,this.eg,this.zf,this.Ha,this.Ca,this.Pa);g.D(this,this.Cj);this.tf=new E0(this.Zb,this.Lb,this.xc,this.eg);g.D(this,this.tf);this.Yc=new zB(this.Ca,this.Zb,this.Lb,this.Yd,this.Wa,this.tf,c);g.D(this,this.Yc);this.Jh=X(function(){return new j1(f.Jf,f.Cb,f.Jb,f.Ca,f.Pa,f.Ha)}); g.D(this,this.Jh);this.Rd=X(function(){return new k1}); g.D(this,this.Rd);this.Kf=new Q1(a,this.wc,this.Ca);g.D(this,this.Kf);this.Hb=new R1(a);g.D(this,this.Hb);this.Au=new f2(a);g.D(this,this.Au);this.Uf=new S1(a,this.eg);g.D(this,this.Uf);this.Ne=new T1(a,this.xc,this.Ha,this.Wa);g.D(this,this.Ne);this.Ie=new U1(a);g.D(this,this.Ie);this.Yh=new V1(a);g.D(this,this.Yh);this.gw=new p2(a);g.D(this,this.gw);this.Jd=X(function(){return new M1}); g.D(this,this.Jd);this.di=X(function(){return new N1(f.Ha)}); g.D(this,this.di);this.Ih=X(function(){return new m1(f.Yc)}); g.D(this,this.Ih);this.Ph=X(function(){return new s1(f.Ca,f.Pa,f.Ie,f.Nb)}); g.D(this,this.Ph);this.Om=X(function(){return new z6a(f.wc,f.Ha,f.Pa,f.Pc,f.Nb,f.Au,f.gw,f.Ob,f.Ca,c)}); g.D(this,this.Om);this.Zh=X(function(){return new I1(a,f.Ie,f.Pa,f.Nb,f.cf,f.Oe,f.Wa,f.Ha,f.xc,f.Lc,f.yd,f.Sf,f.Ob,f.Xf,f.Ca)}); g.D(this,this.Zh);this.VJ=new W1(a,this.Wm,this.eb);g.D(this,this.VJ);this.vn=new X1(a,this.Ye,this.Jb,this.Wa,this.eb,this.Ca);g.D(this,this.vn);this.sf={Fv:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Cj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.ai],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Vc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.tf]]),Up:new Map([["SLOT_TYPE_AD_BREAK_REQUEST", this.Jh],["SLOT_TYPE_FORECASTING",this.Rd],["SLOT_TYPE_IN_PLAYER",this.Rd],["SLOT_TYPE_PLAYER_BYTES",this.Rd]]),Zk:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Kf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Hb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Hb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY", this.Hb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Hb],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.Hb],["TRIGGER_TYPE_CLOSE_REQUESTED",this.Au],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.Uf],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ne],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ne],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.Ne],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ie],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.Uf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED", this.Yh],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER",this.gw]]),Tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jd],["SLOT_TYPE_FORECASTING",this.Jd],["SLOT_TYPE_IN_PLAYER",this.Jd],["SLOT_TYPE_PLAYER_BYTES",this.di]]),tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Ih],["SLOT_TYPE_FORECASTING",this.Ph],["SLOT_TYPE_IN_PLAYER",this.Om],["SLOT_TYPE_PLAYER_BYTES",this.Zh]])};this.listeners=[this.Pc.get()];this.fv={Yc:this.Yc,xq:this.Ye.get(),Gi:this.Ca.get(),rb:this.Ob.get(),jt:this.Ha.get(),Vc:this.Vc, Nm:this.eb.get(),wq:this.Wm.get(),Ol:this.Kf,Kj:this.Pc.get(),un:this.Wa.get()}}; B6a=function(a,b,c,d,e){g.C.call(this);var f=this;this.eb=X(function(){return new ZB}); g.D(this,this.eb);this.Cb=X(function(){return new H0(f.eb)}); g.D(this,this.Cb);this.Pc=X(function(){return new F0}); g.D(this,this.Pc);this.Zb=X(function(){return new C0(a)}); g.D(this,this.Zb);this.Lb=X(function(){return new O0(f.eb,f.Cb,f.Ca)}); g.D(this,this.Lb);this.Vd=X(function(){return new S0}); g.D(this,this.Vd);this.Sf=X(function(){return new oL(b.V())}); g.D(this,this.Sf);this.wc=X(function(){return new Z1(b)}); g.D(this,this.wc);this.Ob=X(function(){return new X_(e)}); g.D(this,this.Ob);this.Lc=X(function(){return new EM(b)}); g.D(this,this.Lc);this.xc=X(function(){return new U0(b)}); g.D(this,this.xc);this.Oe=X(function(){return new b2(b)}); g.D(this,this.Oe);this.yd=X(function(){return new V0(b)}); g.D(this,this.yd);this.Ca=X(function(){return new W0(b)}); g.D(this,this.Ca);this.Jf=X(function(){return new Y1(d)}); g.D(this,this.Jf);this.Jb=X(function(){return new KZ(f.Ca)}); g.D(this,this.Jb);this.Yd=X(function(){return new A0(f.eb,f.Lb,f.Cb,f.Ca,f.Jb,null,null)}); g.D(this,this.Yd);this.Xf=X(function(){return new c2(b)}); g.D(this,this.Xf);this.Ye=X(function(){return new d2}); g.D(this,this.Ye);this.Wa=X(function(){return new d1(b,f.Vd,f.Ca)}); g.D(this,this.Wa);this.Qb=new R0(this.Ca,this.Jb,this.Wa);g.D(this,this.Qb);this.Ha=X(function(){return new e1(b,f.Wa,f.Ca)}); g.D(this,this.Ha);this.Nb=X(function(){return new Y0(f.Ha,b)}); g.D(this,this.Nb);this.Pa=X(function(){return new a1(b,f.Pc,f.Nb,f.Wa)}); g.D(this,this.Pa);this.cf=X(function(){return new i1}); g.D(this,this.cf);this.ai=new K1(L1,q2,function(l,m,n,p){return r0(f.Cb.get(),l,m,n,p)},this.Zb,this.Lb,this.Cb,this.Jb,this.Ca,this.Wa); g.D(this,this.ai);this.Vc=new VB(this.Zb,this.Yd,c,this.Ca,a,this.Wa,this.Ha,this.Lc);g.D(this,this.Vc);var h=new T0(b,this.Vc,this.Ha,this.Wa);this.eg=X(function(){return h}); this.Ws=h;this.tf=new E0(this.Zb,this.Lb,this.xc,this.eg);g.D(this,this.tf);this.Yc=new zB(this.Ca,this.Zb,this.Lb,this.Yd,this.Wa,this.tf,c);g.D(this,this.Yc);this.Jh=X(function(){return new j1(f.Jf,f.Cb,f.Jb,f.Ca,f.Pa,f.Ha)}); g.D(this,this.Jh);this.Rd=X(function(){return new k1}); g.D(this,this.Rd);this.Kf=new Q1(a,this.wc,this.Ca);g.D(this,this.Kf);this.Hb=new R1(a);g.D(this,this.Hb);this.Uf=new S1(a,this.eg);g.D(this,this.Uf);this.Ne=new T1(a,this.xc,this.Ha,this.Wa);g.D(this,this.Ne);this.Ie=new U1(a);g.D(this,this.Ie);this.Yh=new V1(a);g.D(this,this.Yh);this.Jd=X(function(){return new M1}); g.D(this,this.Jd);this.di=X(function(){return new N1(f.Ha)}); g.D(this,this.di);this.Ih=X(function(){return new m1(f.Yc)}); g.D(this,this.Ih);this.Ph=X(function(){return new s1(f.Ca,f.Pa,f.Ie,f.Nb)}); g.D(this,this.Ph);this.kW=X(function(){return new K4a(f.wc,f.Ha,f.Pa,f.Pc,c,f.Ca)}); g.D(this,this.kW);this.Zh=X(function(){return new I1(a,f.Ie,f.Pa,f.Nb,f.cf,f.Oe,f.Wa,f.Ha,f.xc,f.Lc,f.yd,f.Sf,f.Ob,f.Xf,f.Ca)}); g.D(this,this.Zh);this.vn=new X1(a,this.Ye,this.Jb,this.Wa,this.eb,this.Ca);g.D(this,this.vn);this.sf={Fv:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.ai],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Vc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.tf]]),Up:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jh],["SLOT_TYPE_FORECASTING",this.Rd],["SLOT_TYPE_IN_PLAYER",this.Rd],["SLOT_TYPE_PLAYER_BYTES", this.Rd]]),Zk:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Kf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Hb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Hb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Hb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED", this.Uf],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ne],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ne],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ie],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.Uf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Yh]]),Tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jd],["SLOT_TYPE_ABOVE_FEED",this.Jd],["SLOT_TYPE_FORECASTING",this.Jd],["SLOT_TYPE_IN_PLAYER",this.Jd],["SLOT_TYPE_PLAYER_BYTES",this.di]]),tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST", this.Ih],["SLOT_TYPE_FORECASTING",this.Ph],["SLOT_TYPE_IN_PLAYER",this.kW],["SLOT_TYPE_PLAYER_BYTES",this.Zh]])};this.listeners=[this.Pc.get()];this.fv={Yc:this.Yc,xq:this.Ye.get(),Gi:this.Ca.get(),rb:this.Ob.get(),jt:this.Ha.get(),Vc:this.Vc,Nm:this.eb.get(),wq:null,Ol:this.Kf,Kj:this.Pc.get(),un:this.Wa.get()}}; C6a=function(a,b,c,d,e){g.C.call(this);var f=this;this.eb=X(function(){return new ZB}); g.D(this,this.eb);this.Cb=X(function(){return new H0(f.eb)}); g.D(this,this.Cb);this.Pc=X(function(){return new F0}); g.D(this,this.Pc);this.Zb=X(function(){return new C0(a)}); g.D(this,this.Zb);this.Lb=X(function(){return new O0(f.eb,f.Cb,f.Ca)}); g.D(this,this.Lb);this.Vd=X(function(){return new S0}); g.D(this,this.Vd);this.Sf=X(function(){return new oL(b.V())}); g.D(this,this.Sf);this.wc=X(function(){return new Z1(b)}); g.D(this,this.wc);this.Ob=X(function(){return new X_(e)}); g.D(this,this.Ob);this.Lc=X(function(){return new EM(b)}); g.D(this,this.Lc);this.xc=X(function(){return new U0(b)}); g.D(this,this.xc);this.Oe=X(function(){return new b2(b)}); g.D(this,this.Oe);this.yd=X(function(){return new V0(b)}); g.D(this,this.yd);this.Ca=X(function(){return new W0(b)}); g.D(this,this.Ca);this.Jf=X(function(){return new Y1(d)}); g.D(this,this.Jf);this.Jb=X(function(){return new KZ(f.Ca)}); g.D(this,this.Jb);this.Yd=X(function(){return new A0(f.eb,f.Lb,f.Cb,f.Ca,f.Jb,null,null)}); g.D(this,this.Yd);this.Xf=X(function(){return new c2(b)}); g.D(this,this.Xf);this.Ye=X(function(){return new d2}); g.D(this,this.Ye);this.Wa=X(function(){return new d1(b,f.Vd,f.Ca)}); g.D(this,this.Wa);this.Qb=new R0(this.Ca,this.Jb,this.Wa);g.D(this,this.Qb);this.Ha=X(function(){return new e1(b,f.Wa,f.Ca)}); g.D(this,this.Ha);this.Nb=X(function(){return new Y0(f.Ha,b)}); g.D(this,this.Nb);this.Pa=X(function(){return new a1(b,f.Pc,f.Nb,f.Wa)}); g.D(this,this.Pa);this.cf=X(function(){return new i1}); g.D(this,this.cf);this.ai=new K1(L1,q2,function(l,m,n,p){return r0(f.Cb.get(),l,m,n,p)},this.Zb,this.Lb,this.Cb,this.Jb,this.Ca,this.Wa); g.D(this,this.ai);this.Vc=new VB(this.Zb,this.Yd,c,this.Ca,a,this.Wa,this.Ha,this.Lc);g.D(this,this.Vc);var h=new T0(b,this.Vc,this.Ha,this.Wa);this.eg=X(function(){return h}); this.Ws=h;this.tf=new E0(this.Zb,this.Lb,this.xc,this.eg);g.D(this,this.tf);this.Yc=new zB(this.Ca,this.Zb,this.Lb,this.Yd,this.Wa,this.tf,c);g.D(this,this.Yc);this.Jh=X(function(){return new j1(f.Jf,f.Cb,f.Jb,f.Ca,f.Pa,f.Ha)}); g.D(this,this.Jh);this.Rd=X(function(){return new k1}); g.D(this,this.Rd);this.Kf=new Q1(a,this.wc,this.Ca);g.D(this,this.Kf);this.Hb=new R1(a);g.D(this,this.Hb);this.Uf=new S1(a,this.eg);g.D(this,this.Uf);this.Ne=new T1(a,this.xc,this.Ha,this.Wa);g.D(this,this.Ne);this.Ie=new U1(a);g.D(this,this.Ie);this.Yh=new V1(a);g.D(this,this.Yh);this.Jd=X(function(){return new M1}); g.D(this,this.Jd);this.di=X(function(){return new N1(f.Ha)}); g.D(this,this.di);this.Ih=X(function(){return new m1(f.Yc)}); g.D(this,this.Ih);this.Ph=X(function(){return new s1(f.Ca,f.Pa,f.Ie,f.Nb)}); g.D(this,this.Ph);this.Om=X(function(){return new K4a(f.wc,f.Ha,f.Pa,f.Pc,c,f.Ca)}); g.D(this,this.Om);this.Zh=X(function(){return new I1(a,f.Ie,f.Pa,f.Nb,f.cf,f.Oe,f.Wa,f.Ha,f.xc,f.Lc,f.yd,f.Sf,f.Ob,f.Xf,f.Ca)}); g.D(this,this.Zh);this.vn=new X1(a,this.Ye,this.Jb,this.Wa,this.eb,this.Ca);g.D(this,this.vn);this.sf={Fv:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.ai],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Vc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.tf]]),Up:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jh],["SLOT_TYPE_FORECASTING",this.Rd],["SLOT_TYPE_IN_PLAYER",this.Rd],["SLOT_TYPE_PLAYER_BYTES", this.Rd]]),Zk:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Kf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Hb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Hb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Hb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED", this.Uf],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ne],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ie],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.Uf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Yh]]),Tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jd],["SLOT_TYPE_FORECASTING",this.Jd],["SLOT_TYPE_IN_PLAYER",this.Jd],["SLOT_TYPE_PLAYER_BYTES",this.di]]),tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Ih],["SLOT_TYPE_FORECASTING",this.Ph],["SLOT_TYPE_IN_PLAYER",this.Om],["SLOT_TYPE_PLAYER_BYTES", this.Zh]])};this.listeners=[this.Pc.get()];this.fv={Yc:this.Yc,xq:this.Ye.get(),Gi:this.Ca.get(),rb:this.Ob.get(),jt:this.Ha.get(),Vc:this.Vc,Nm:this.eb.get(),wq:null,Ol:this.Kf,Kj:this.Pc.get(),un:this.Wa.get()}}; r2=function(a,b,c,d,e,f,h,l,m){x1.call(this,a,b,c,d,e,f,h,m);this.wm=l}; D6a=function(){var a=I4a();a.Ce.push("metadata_type_ad_info_ad_metadata");return a}; E6a=function(a,b,c,d,e,f){this.wc=a;this.Ha=b;this.Pa=c;this.u=d;this.wm=e;this.j=f}; F6a=function(a,b,c,d,e){g.C.call(this);var f=this;this.eb=X(function(){return new ZB}); g.D(this,this.eb);this.Cb=X(function(){return new H0(f.eb)}); g.D(this,this.Cb);this.Pc=X(function(){return new F0}); g.D(this,this.Pc);this.Zb=X(function(){return new C0(a)}); g.D(this,this.Zb);this.Lb=X(function(){return new O0(f.eb,f.Cb,f.Ca)}); g.D(this,this.Lb);this.Vd=X(function(){return new S0}); g.D(this,this.Vd);this.wm=X(function(){return new v5a(b)}); g.D(this,this.wm);this.Sf=X(function(){return new oL(b.V())}); g.D(this,this.Sf);this.wc=X(function(){return new Z1(b)}); g.D(this,this.wc);this.Ob=X(function(){return new X_(e)}); g.D(this,this.Ob);this.Lc=X(function(){return new EM(b)}); g.D(this,this.Lc);this.xc=X(function(){return new U0(b)}); g.D(this,this.xc);this.Oe=X(function(){return new b2(b)}); g.D(this,this.Oe);this.yd=X(function(){return new V0(b)}); g.D(this,this.yd);this.Ca=X(function(){return new W0(b)}); g.D(this,this.Ca);this.Jf=X(function(){return new Y1(d)}); g.D(this,this.Jf);this.Jb=X(function(){return new KZ(f.Ca)}); g.D(this,this.Jb);this.Yd=X(function(){return new A0(f.eb,f.Lb,f.Cb,f.Ca,f.Jb,null,null)}); g.D(this,this.Yd);this.Xf=X(function(){return new c2(b)}); g.D(this,this.Xf);this.Ye=X(function(){return new d2}); g.D(this,this.Ye);this.Wa=X(function(){return new d1(b,f.Vd,f.Ca)}); g.D(this,this.Wa);this.Qb=new R0(this.Ca,this.Jb,this.Wa);g.D(this,this.Qb);this.Ha=X(function(){return new e1(b,f.Wa,f.Ca)}); g.D(this,this.Ha);this.Nb=X(function(){return new Y0(f.Ha,b)}); g.D(this,this.Nb);this.Pa=X(function(){return new a1(b,f.Pc,f.Nb,f.Wa)}); g.D(this,this.Pa);this.cf=X(function(){return new i1}); g.D(this,this.cf);this.ai=new K1(g5a,q2,function(l,m,n,p){return B3a(f.Cb.get(),l,m,n,p)},this.Zb,this.Lb,this.Cb,this.Jb,this.Ca,this.Wa); g.D(this,this.ai);this.Vc=new VB(this.Zb,this.Yd,c,this.Ca,a,this.Wa,this.Ha,this.Lc);g.D(this,this.Vc);var h=new T0(b,this.Vc,this.Ha,this.Wa);this.eg=X(function(){return h}); this.Ws=h;this.tf=new E0(this.Zb,this.Lb,this.xc,this.eg);g.D(this,this.tf);this.Yc=new zB(this.Ca,this.Zb,this.Lb,this.Yd,this.Wa,this.tf,c);g.D(this,this.Yc);this.Jh=X(function(){return new j1(f.Jf,f.Cb,f.Jb,f.Ca,f.Pa,f.Ha)}); g.D(this,this.Jh);this.Rd=X(function(){return new k1}); g.D(this,this.Rd);this.Kf=new Q1(a,this.wc,this.Ca);g.D(this,this.Kf);this.Hb=new R1(a);g.D(this,this.Hb);this.Uf=new S1(a,this.eg);g.D(this,this.Uf);this.Ne=new T1(a,this.xc,this.Ha,this.Wa);g.D(this,this.Ne);this.Ie=new U1(a);g.D(this,this.Ie);this.Yh=new V1(a);g.D(this,this.Yh);this.Jd=X(function(){return new M1}); g.D(this,this.Jd);this.di=X(function(){return new N1(f.Ha)}); g.D(this,this.di);this.Ih=X(function(){return new m1(f.Yc)}); g.D(this,this.Ih);this.Ph=X(function(){return new s1(f.Ca,f.Pa,f.Ie,f.Nb)}); g.D(this,this.Ph);this.Zh=X(function(){return new I1(a,f.Ie,f.Pa,f.Nb,f.cf,f.Oe,f.Wa,f.Ha,f.xc,f.Lc,f.yd,f.Sf,f.Ob,f.Xf,f.Ca)}); g.D(this,this.Zh);this.uY=X(function(){return new E6a(f.wc,f.Ha,f.Pa,f.Pc,f.wm,c)}); g.D(this,this.uY);this.vn=new X1(a,this.Ye,this.Jb,this.Wa,this.eb,this.Ca);g.D(this,this.vn);this.sf={Fv:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.ai],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Vc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.tf]]),Up:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jh],["SLOT_TYPE_FORECASTING",this.Rd],["SLOT_TYPE_IN_PLAYER",this.Rd],["SLOT_TYPE_PLAYER_BYTES", this.Rd]]),Zk:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Kf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Hb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Hb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Hb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED", this.Uf],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ne],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ne],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ie],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.Uf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Yh]]),Tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jd],["SLOT_TYPE_FORECASTING",this.Jd],["SLOT_TYPE_IN_PLAYER",this.Jd],["SLOT_TYPE_PLAYER_BYTES",this.di]]),tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Ih],["SLOT_TYPE_FORECASTING", this.Ph],["SLOT_TYPE_IN_PLAYER",this.uY],["SLOT_TYPE_PLAYER_BYTES",this.Zh]])};this.listeners=[this.Pc.get()];this.fv={Yc:this.Yc,xq:this.Ye.get(),Gi:this.Ca.get(),rb:this.Ob.get(),jt:this.Ha.get(),Vc:this.Vc,Nm:this.eb.get(),wq:null,Ol:this.Kf,Kj:this.Pc.get(),un:this.Wa.get()}}; G6a=function(a,b,c,d,e,f,h){this.wc=a;this.Ha=b;this.Pa=c;this.u=d;this.wm=e;this.j=f;this.Ca=h}; H6a=function(a,b,c,d,e){g.C.call(this);var f=this;this.eb=X(function(){return new ZB}); g.D(this,this.eb);this.Cb=X(function(){return new H0(f.eb)}); g.D(this,this.Cb);this.Pc=X(function(){return new F0}); g.D(this,this.Pc);this.Zb=X(function(){return new C0(a)}); g.D(this,this.Zb);this.Lb=X(function(){return new O0(f.eb,f.Cb,f.Ca)}); g.D(this,this.Lb);this.Vd=X(function(){return new S0}); g.D(this,this.Vd);this.wm=X(function(){return new v5a(b)}); g.D(this,this.wm);this.Sf=X(function(){return new oL(b.V())}); g.D(this,this.Sf);this.wc=X(function(){return new Z1(b)}); g.D(this,this.wc);this.Ob=X(function(){return new X_(e)}); g.D(this,this.Ob);this.Lc=X(function(){return new EM(b)}); g.D(this,this.Lc);this.xc=X(function(){return new U0(b)}); g.D(this,this.xc);this.Oe=X(function(){return new b2(b)}); g.D(this,this.Oe);this.yd=X(function(){return new V0(b)}); g.D(this,this.yd);this.Ca=X(function(){return new W0(b)}); g.D(this,this.Ca);this.Jf=X(function(){return new Y1(d)}); g.D(this,this.Jf);this.Jb=X(function(){return new KZ(f.Ca)}); g.D(this,this.Jb);this.Yd=X(function(){return new A0(f.eb,f.Lb,f.Cb,f.Ca,f.Jb,null,f.Cj,3)}); g.D(this,this.Yd);this.Xf=X(function(){return new c2(b)}); g.D(this,this.Xf);this.Ye=X(function(){return new d2}); g.D(this,this.Ye);this.Wa=X(function(){return new d1(b,f.Vd,f.Ca)}); g.D(this,this.Wa);this.Qb=new R0(this.Ca,this.Jb,this.Wa);g.D(this,this.Qb);this.zf=X(function(){return new a2(b,f.Ca,f.Pa)}); g.D(this,this.zf);this.rf=X(function(){return new Z5a(b)}); g.D(this,this.rf);this.Ha=X(function(){return new e1(b,f.Wa,f.Ca)}); g.D(this,this.Ha);this.cf=X(function(){return new i1}); this.Nb=X(function(){return new Y0(f.Ha,b)}); g.D(this,this.Nb);this.Pa=X(function(){return new a1(b,f.Pc,f.Nb,f.Wa)}); g.D(this,this.Pa);this.Vc=new VB(this.Zb,this.Yd,c,this.Ca,a,this.Wa,this.Ha,this.Lc);g.D(this,this.Vc);var h=new T0(b,this.Vc,this.Ha,this.Wa,this.zf);this.eg=X(function(){return h}); this.Ws=h;this.ai=new K1(h5a,q2,function(l,m,n,p){return B3a(f.Cb.get(),l,m,n,p)},this.Zb,this.Lb,this.Cb,this.Jb,this.Ca,this.Wa); g.D(this,this.ai);this.Cj=new J1(this.Zb,this.Lb,this.eg,this.zf,this.Ha,this.Ca,this.Pa,this.rf);g.D(this,this.Cj);this.tf=new E0(this.Zb,this.Lb,this.xc,this.eg);g.D(this,this.tf);this.Yc=new zB(this.Ca,this.Zb,this.Lb,this.Yd,this.Wa,this.tf,c);g.D(this,this.Yc);this.Jh=X(function(){return new j1(f.Jf,f.Cb,f.Jb,f.Ca,f.Pa,f.Ha,f.rf)}); g.D(this,this.Jh);this.Rd=X(function(){return new k1}); g.D(this,this.Rd);this.Kf=new Q1(a,this.wc,this.Ca);g.D(this,this.Kf);this.Hb=new R1(a);g.D(this,this.Hb);this.Uf=new S1(a,this.eg);g.D(this,this.Uf);this.Ne=new T1(a,this.xc,this.Ha,this.Wa);g.D(this,this.Ne);this.ov=new h2(a,this.Wa);g.D(this,this.ov);this.Ie=new U1(a);g.D(this,this.Ie);this.Yh=new V1(a);g.D(this,this.Yh);this.Jd=X(function(){return new M1}); g.D(this,this.Jd);this.di=X(function(){return new N1(f.Ha)}); g.D(this,this.di);this.Ih=X(function(){return new m1(f.Yc)}); g.D(this,this.Ih);this.Ph=X(function(){return new s1(f.Ca,f.Pa,f.Ie,f.Nb)}); g.D(this,this.Ph);this.Zh=X(function(){return new X5a(a,f.Ie,f.Wa,f.rf,f.Ha,f.Pa,f.Vd,f.zf,f.Nb,f.cf,f.Oe,f.xc,f.Lc,f.yd,f.Sf,f.Ob,f.Xf,f.Ca,f.Pc)}); g.D(this,this.Zh);this.Om=X(function(){return new G6a(f.wc,f.Ha,f.Pa,f.Pc,f.wm,c,f.Ca)}); g.D(this,this.Om);this.vn=new X1(a,this.Ye,this.Jb,this.Wa,this.eb,this.Ca);g.D(this,this.vn);this.sf={Fv:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Cj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.ai],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Vc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.tf]]),Up:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jh],["SLOT_TYPE_FORECASTING",this.Rd], ["SLOT_TYPE_IN_PLAYER",this.Rd],["SLOT_TYPE_PLAYER_BYTES",this.Rd]]),Zk:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Kf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Hb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Hb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Hb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Hb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED", this.Hb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.Uf],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ne],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ne],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.ov],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.ov],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ie],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.Uf],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.Yh]]),Tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Jd],["SLOT_TYPE_FORECASTING", this.Jd],["SLOT_TYPE_IN_PLAYER",this.Jd],["SLOT_TYPE_PLAYER_BYTES",this.di]]),tq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Ih],["SLOT_TYPE_FORECASTING",this.Ph],["SLOT_TYPE_PLAYER_BYTES",this.Zh],["SLOT_TYPE_IN_PLAYER",this.Om]])};this.listeners=[this.Pc.get()];this.fv={Yc:this.Yc,xq:this.Ye.get(),Gi:this.Ca.get(),rb:this.Ob.get(),jt:this.Ha.get(),Vc:this.Vc,Nm:this.eb.get(),wq:null,Ol:this.Kf,Kj:this.Pc.get(),un:this.Wa.get()}}; J6a=function(a,b,c,d){g.C.call(this);var e=this;this.j=I6a(function(){return e.u},a,b,c,d); g.D(this,this.j);this.u=(new q1a(this.j)).B();g.D(this,this.u)}; s2=function(a){return a.j.fv}; I6a=function(a,b,c,d,e){try{var f=b.V();if(g.MI(f))var h=new y6a(a,b,c,d,e);else if(g.PI(f))h=new A6a(a,b,c,d,e);else if("WEB_MUSIC_EMBEDDED_PLAYER"===g.wH(f))h=new C6a(a,b,c,d,e);else if(DI(f))h=new B6a(a,b,c,d,e);else if(g.wI(f))h=new F6a(a,b,c,d,e);else if(g.vI(f))h=new H6a(a,b,c,d,e);else throw new TypeError("Unknown web interface");return h}catch(l){return h=b.V(),UB("Unexpected interface not supported in Ads Control Flow",void 0,void 0,{platform:h.j.cplatform,interface:h.j.c,F6a:h.j.cver,E6a:h.j.ctheme, D6a:h.j.cplayer,b7a:h.playerStyle}),new l4a(a,b,c,d,e)}}; K6a=function(a){FO.call(this,a)}; L6a=function(a,b,c,d,e){NO.call(this,a,{G:"div",N:"ytp-ad-timed-pie-countdown-container",W:[{G:"svg",N:"ytp-ad-timed-pie-countdown",X:{viewBox:"0 0 20 20"},W:[{G:"circle",N:"ytp-ad-timed-pie-countdown-background",X:{r:"10",cx:"10",cy:"10"}},{G:"circle",N:"ytp-ad-timed-pie-countdown-inner",X:{r:"5",cx:"10",cy:"10"}},{G:"circle",N:"ytp-ad-timed-pie-countdown-outer",X:{r:"10",cx:"10",cy:"10"}}]}]},"timed-pie-countdown",b,c,d,e);this.B=this.Da("ytp-ad-timed-pie-countdown-inner");this.C=this.Da("ytp-ad-timed-pie-countdown-outer"); this.u=Math.ceil(10*Math.PI);this.hide()}; M6a=function(a,b,c,d,e,f){eO.call(this,a,{G:"div",N:"ytp-ad-action-interstitial",X:{tabindex:"0"},W:[{G:"div",N:"ytp-ad-action-interstitial-background-container"},{G:"div",N:"ytp-ad-action-interstitial-slot",W:[{G:"div",N:"ytp-ad-action-interstitial-card",W:[{G:"div",N:"ytp-ad-action-interstitial-image-container"},{G:"div",N:"ytp-ad-action-interstitial-headline-container"},{G:"div",N:"ytp-ad-action-interstitial-description-container"},{G:"div",N:"ytp-ad-action-interstitial-action-button-container"}]}]}]}, "ad-action-interstitial",b,c,d);this.NO=e;this.PH=f;this.navigationEndpoint=this.j=this.skipButton=this.u=this.actionButton=null;this.Y=this.Da("ytp-ad-action-interstitial-image-container");this.J=new BO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,"ytp-ad-action-interstitial-image");g.D(this,this.J);this.J.Ea(this.Y);this.Ja=this.Da("ytp-ad-action-interstitial-headline-container");this.D=new LO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,"ytp-ad-action-interstitial-headline"); g.D(this,this.D);this.D.Ea(this.Ja);this.Fa=this.Da("ytp-ad-action-interstitial-description-container");this.C=new LO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,"ytp-ad-action-interstitial-description");g.D(this,this.C);this.C.Ea(this.Fa);this.Ta=this.Da("ytp-ad-action-interstitial-background-container");this.ya=new BO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,"ytp-ad-action-interstitial-background",!0);g.D(this,this.ya);this.ya.Ea(this.Ta);this.Ma=this.Da("ytp-ad-action-interstitial-action-button-container"); this.slot=this.Da("ytp-ad-action-interstitial-slot");this.B=new kB;g.D(this,this.B);this.hide()}; N6a=function(a){var b=g.He("html5-video-player");b&&g.Co(b,"ytp-ad-display-override",a)}; R6a=function(a,b,c,d){eO.call(this,a,{G:"div",N:"ytp-ad-overlay-slot",W:[{G:"div",N:"ytp-ad-overlay-container"}]},"invideo-overlay",b,c,d);this.J=[];this.Za=this.ya=this.C=this.Ta=this.Ja=null;this.Ma=!1;this.D=null;this.Y=0;a=this.Da("ytp-ad-overlay-container");this.Fa=new WO(a,45E3,6E3,.3,.4);g.D(this,this.Fa);this.B=O6a(this);g.D(this,this.B);this.B.Ea(a);this.u=P6a(this);g.D(this,this.u);this.u.Ea(a);this.j=Q6a(this);g.D(this,this.j);this.j.Ea(a);this.hide()}; O6a=function(a){var b=new g.dO({G:"div",N:"ytp-ad-text-overlay",W:[{G:"div",N:"ytp-ad-overlay-ad-info-button-container"},{G:"div",N:"ytp-ad-overlay-close-container",W:[{G:"button",N:"ytp-ad-overlay-close-button",W:[uO(S6a)]}]},{G:"div",N:"ytp-ad-overlay-title",qa:"{{title}}"},{G:"div",N:"ytp-ad-overlay-desc",qa:"{{description}}"},{G:"div",Ia:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],qa:"{{displayUrl}}"}]});a.S(b.Da("ytp-ad-overlay-title"),"click",function(c){t2(a,b.element,c)}); a.S(b.Da("ytp-ad-overlay-link"),"click",function(c){t2(a,b.element,c)}); a.S(b.Da("ytp-ad-overlay-close-container"),"click",a.ep);b.hide();return b}; P6a=function(a){var b=new g.dO({G:"div",Ia:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],W:[{G:"div",N:"ytp-ad-overlay-ad-info-button-container"},{G:"div",N:"ytp-ad-overlay-close-container",W:[{G:"button",N:"ytp-ad-overlay-close-button",W:[uO(S6a)]}]},{G:"div",N:"ytp-ad-overlay-text-image",W:[{G:"img",X:{src:"{{imageUrl}}"}}]},{G:"div",N:"ytp-ad-overlay-title",qa:"{{title}}"},{G:"div",N:"ytp-ad-overlay-desc",qa:"{{description}}"},{G:"div",Ia:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"], qa:"{{displayUrl}}"}]});a.S(b.Da("ytp-ad-overlay-title"),"click",function(c){t2(a,b.element,c)}); a.S(b.Da("ytp-ad-overlay-link"),"click",function(c){t2(a,b.element,c)}); a.S(b.Da("ytp-ad-overlay-close-container"),"click",a.ep);a.S(b.Da("ytp-ad-overlay-text-image"),"click",a.g7);b.hide();return b}; Q6a=function(a){var b=new g.dO({G:"div",N:"ytp-ad-image-overlay",W:[{G:"div",N:"ytp-ad-overlay-ad-info-button-container"},{G:"div",N:"ytp-ad-overlay-close-container",W:[{G:"button",N:"ytp-ad-overlay-close-button",W:[uO(S6a)]}]},{G:"div",N:"ytp-ad-overlay-image",W:[{G:"img",X:{src:"{{imageUrl}}",width:"{{width}}",height:"{{height}}"}}]}]});a.S(b.Da("ytp-ad-overlay-image"),"click",function(c){t2(a,b.element,c)}); a.S(b.Da("ytp-ad-overlay-close-container"),"click",a.ep);b.hide();return b}; T6a=function(a,b){if(b){var c=g.K(b,v0)||null;if(null==c)g.PB(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else if(b=g.He("video-ads ytp-ad-module")||null,null==b)g.PB(Error("Could not locate the root ads container element to attach the ad info dialog."));else if(a.ya=new g.dO({G:"div",N:"ytp-ad-overlay-ad-info-dialog-container"}),g.D(a,a.ya),a.ya.Ea(b),b=new KO(a.api,a.layoutId,a.interactionLoggingClientData,a.rb,a.ya.element,!1),g.D(a,b),b.init(mL("ad-info-hover-text-button"), c,a.macros),a.D){b.Ea(a.D,0);b.subscribe("f",a.J4,a);b.subscribe("e",a.vN,a);a.S(a.D,"click",a.K4);var d=g.He("ytp-ad-button",b.element);a.S(d,"click",function(){var e;if(g.K(null==(e=g.K(c.button,g.uK))?void 0:e.serviceEndpoint,cGa))a.Ma=2===a.api.getPlayerState(1),a.api.pauseVideo();else a.api.onAdUxClicked("ad-info-hover-text-button",a.layoutId)}); a.Za=b}else g.PB(Error("Ad info button container within overlay ad was not present."))}else g.QB(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))}; V6a=function(a,b){if(U6a(a,u2)||a.api.pg())return!1;var c=fO(b.title),d=fO(b.description);if(g.Nb(c)||g.Nb(d))return!1;a.Bg(a.B.element,b.trackingParams||null);a.B.updateValue("title",fO(b.title));a.B.updateValue("description",fO(b.description));a.B.updateValue("displayUrl",fO(b.displayUrl));b.navigationEndpoint&&g.ub(a.J,b.navigationEndpoint);a.B.show();a.Fa.start();a.Ua(a.B.element,!0);a.S(a.B.element,"mouseover",function(){a.Y++}); return!0}; W6a=function(a,b){if(U6a(a,u2)||a.api.pg())return!1;var c=fO(b.title),d=fO(b.description);if(g.Nb(c)||g.Nb(d))return!1;a.Bg(a.u.element,b.trackingParams||null);a.u.updateValue("title",fO(b.title));a.u.updateValue("description",fO(b.description));a.u.updateValue("displayUrl",fO(b.displayUrl));a.u.updateValue("imageUrl",wFa(b.image));b.navigationEndpoint&&g.ub(a.J,b.navigationEndpoint);a.Ta=b.imageNavigationEndpoint||null;a.u.show();a.Fa.start();a.Ua(a.u.element,!0);a.S(a.u.element,"mouseover",function(){a.Y++}); return!0}; X6a=function(a,b){if(a.api.pg())return!1;var c=xFa(b.image),d=c;c.widthdocument.documentMode)c=$d;else{var d=document;"function"===typeof HTMLTemplateElement&&(d=g.Ne("TEMPLATE").content.ownerDocument);d=d.implementation.createHTMLDocument("").createElement("DIV");d.style.cssText=c;c=rla(d.style)}b=new Yd([c,Lba({"background-image":'url("'+b+'")'})].map(oga).join(""),Xd);a.style.cssText=Zd(b)}}; q7a=function(a){var b=g.He("html5-video-player");b&&g.Co(b,"ytp-ad-display-override",a)}; C2=function(a,b,c){FO.call(this,a);this.api=a;this.rb=b;this.u={};a=new g.T({G:"div",Ia:["video-ads","ytp-ad-module"]});g.D(this,a);lI&&g.yo(a.element,"ytp-ads-tiny-mode");this.D=new XN(a.element);g.D(this,this.D);g.oR(this.api,a.element,4);V1a(c)&&(c=new g.T({G:"div",Ia:["ytp-ad-underlay"]}),g.D(this,c),this.B=new XN(c.element),g.D(this,this.B),g.oR(this.api,c.element,0));g.D(this,PFa())}; r7a=function(a,b){a=g.Tc(a.u,b.id,null);null==a&&g.QB(Error("Component not found for element id: "+b.id));return a||null}; s7a=function(a){g.hS.call(this,a);var b=this;this.u=this.Ae=null;this.created=!1;this.Wt=new yN(this.player);this.B=function(){function d(){return b.Ae} if(null!=b.u)return b.u;var e=ZEa({Al:a.getVideoData(1)});e=new z0a({b1:d,au:e.H2(),G1:d,y4:d,Ol:s2(b.j).Ol,Sl:e.zL(),un:s2(b.j).un,F:b.player,Gi:s2(b.j).Gi,Pa:b.j.j.Pa,Kj:s2(b.j).Kj,yd:b.j.j.yd});b.u=e.lZ;return b.u}; this.j=new J6a(this.player,this,this.Wt,this.B);g.D(this,this.j);var c=a.V();!BI(c)||g.vI(c)||DI(c)||(g.D(this,new C2(a,s2(this.j).rb,s2(this.j).Gi)),g.D(this,new K6a(a)))}; t7a=function(a){a.created!==a.loaded&&UB("Created and loaded are out of sync")}; w7a=function(a){g.hS.prototype.load.call(a);var b=s2(a.j).Gi;usa(b.F.V().K("html5_reduce_ecatcher_errors"));try{a.player.getRootNode().classList.add("ad-created")}catch(n){UB(n instanceof Error?n:String(n))}var c=a.B(),d=a.player.getVideoData(1),e=d&&d.videoId||"",f=d&&d.getPlayerResponse()||{},h=(f&&f.adPlacements||[]).map(function(n){return n.adPlacementRenderer}),l=((null==f?void 0:f.adSlots)||[]).map(function(n){return g.K(n,u7a)}); f=f.playerConfig&&f.playerConfig.daiConfig&&f.playerConfig.daiConfig.enableDai||!1;var m=d&&d.md()||!1;b=v7a(h,l,b,f,m,s2(a.j).Nm);1<=b.uu.length&&g.MI(a.player.V())&&(null==d||d.xa("abv45",{rs:b.uu.map(function(n){return Object.keys(n.renderer||{}).join("_")}).join("__")})); h=d&&d.clientPlaybackNonce||"";d=d&&d.wu||!1;l=1E3*a.player.getDuration(1);a.Ae=new TN(a,a.player,a.Wt,c,s2(a.j));iFa(a.Ae,b.uu);a.j.j.Ws.Nj(h,l,d,b.aH,b.d1,b.aH.concat(b.uu),f,e);UN(a.Ae)}; x7a=function(a,b){b===a.vx&&(a.vx=void 0)}; y7a=function(a){a.Ae?s2(a.j).Vc.SL()||a.Ae.SL()||VN(s2(a.j).jt):UB("AdService is null when calling maybeUnlockPrerollIfReady")}; z7a=function(a){a=g.t(s2(a.j).Kj.Uk.keys());for(var b=a.next();!b.done;b=a.next())if(b=b.value,"SLOT_TYPE_PLAYER_BYTES"===b.slotType&&"core"===b.bb)return!0;return!1}; A7a=function(a){a=g.t(s2(a.j).Kj.Uk.values());for(var b=a.next();!b.done;b=a.next())if("LAYOUT_TYPE_MEDIA_BREAK"===b.value.layoutType)return!0;return!1}; AB=function(a,b,c,d){c=void 0===c?"":c;d=void 0===d?"":d;var e=s2(a.j).Gi,f=a.player.getVideoData(1),h=f&&f.getPlayerResponse()||{};h=h&&h.playerConfig&&h.playerConfig.daiConfig&&h.playerConfig.daiConfig.enableDai||!1;f=f&&f.md()||!1;e=v7a(b,[],e,h,f,s2(a.j).Nm);Kra(s2(a.j).Yc,c,e.aH,b,d);a.Ae&&0b.qw;b={qw:b.qw},++b.qw){var c=new g.T({G:"a",N:"ytp-suggestion-link",X:{href:"{{link}}",target:a.api.V().Y,"aria-label":"{{aria_label}}"},W:[{G:"div",N:"ytp-suggestion-image"},{G:"div",N:"ytp-suggestion-overlay",X:{style:"{{blink_rendering_hack}}","aria-hidden":"{{aria_hidden}}"},W:[{G:"div",N:"ytp-suggestion-title",qa:"{{title}}"},{G:"div",N:"ytp-suggestion-author",qa:"{{author_and_views}}"},{G:"div",X:{"data-is-live":"{{is_live}}"},N:"ytp-suggestion-duration", qa:"{{duration}}"}]}]});g.D(a,c);var d=c.Da("ytp-suggestion-link");g.Jl(d,"transitionDelay",b.qw/20+"s");a.B.S(d,"click",function(e){return function(f){if(a.u){var h=a.suggestionData[e.qw],l=h.sessionData;g.JS(f,a.api,a.J,l||void 0)&&a.api.Hn(h.videoId,l,h.playlistId)}else g.fA(f),document.activeElement.blur()}}(b)); c.Ea(a.suggestions.element);a.C.push(c)}}; g.F2=function(a){var b=a.D.og()?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.I+8);g.Co(a.element,"ytp-scroll-min",0<=b);g.Co(a.element,"ytp-scroll-max",b<=c)}; H7a=function(a){for(var b=a.suggestionData.length,c=0;cb)for(;16>b;++b)c=a.C[b].Da("ytp-suggestion-link"),g.Jl(c,"display","none");g.F2(a)}; aaa=[];ea="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.da=caa(this);fa("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;ea(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}); fa("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}}); fa("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ba(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h=f}}); fa("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}}); fa("String.prototype.repeat",function(a){return a?a:function(b){var c=Ba(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); fa("Set",function(a){function b(c){this.j=new Map;if(c){c=g.t(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.t([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a; b.prototype.add=function(c){c=0===c?0:c;this.j.set(c,c);this.size=this.j.size;return this}; b.prototype.delete=function(c){c=this.j.delete(c);this.size=this.j.size;return c}; b.prototype.clear=function(){this.j.clear();this.size=0}; b.prototype.has=function(c){return this.j.has(c)}; b.prototype.entries=function(){return this.j.entries()}; b.prototype.values=function(){return this.j.values()}; b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})}; return b}); fa("Array.prototype.values",function(a){return a?a:function(){return za(this,function(b,c){return c})}}); fa("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991}); fa("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}}); fa("Array.prototype.entries",function(a){return a?a:function(){return za(this,function(b,c){return[b,c]})}}); fa("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l}; var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;hc&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cc&&(c=Math.max(c+e,0));cb?-c:c}}); fa("Array.prototype.findIndex",function(a){return a?a:function(b,c){return naa(this,b,c).i}}); fa("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push(b[d]);return c}}); fa("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}}); fa("Int8Array.prototype.copyWithin",Da);fa("Uint8Array.prototype.copyWithin",Da);fa("Uint8ClampedArray.prototype.copyWithin",Da);fa("Int16Array.prototype.copyWithin",Da);fa("Uint16Array.prototype.copyWithin",Da);fa("Int32Array.prototype.copyWithin",Da);fa("Uint32Array.prototype.copyWithin",Da);fa("Float32Array.prototype.copyWithin",Da);fa("Float64Array.prototype.copyWithin",Da);fa("Number.parseInt",function(a){return a||parseInt}); xi=xi||{};g.Ea=this||self;La="closure_uid_"+(1E9*Math.random()>>>0);paa=0;g.k=Va.prototype;g.k.f1=function(a){var b=g.ya.apply(1,arguments),c=this.lL(b);c?c.push(new saa(a)):this.iX(a,b)}; g.k.iX=function(a){this.Ex.set(this.qT(g.ya.apply(1,arguments)),[new saa(a)])}; g.k.lL=function(){var a=this.qT(g.ya.apply(0,arguments));return this.Ex.has(a)?this.Ex.get(a):void 0}; g.k.K2=function(){var a=this.lL(g.ya.apply(0,arguments));return a&&a.length?a[0]:void 0}; g.k.clear=function(){this.Ex.clear()}; g.k.qT=function(){var a=g.ya.apply(0,arguments);return a?a.join(","):"key"};g.v(Wa,Va);Wa.prototype.B=function(a){var b=g.ya.apply(1,arguments),c=0,d=this.K2(b);d&&(c=d.mS);this.iX(c+a,b)};g.v(Xa,Va);Xa.prototype.ji=function(a){this.f1(a,g.ya.apply(1,arguments))};g.C.prototype.bp=!1;g.C.prototype.isDisposed=function(){return this.bp}; g.C.prototype.dispose=function(){this.bp||(this.bp=!0,this.ra())}; g.C.prototype.ra=function(){if(this.qm)for(;this.qm.length;)this.qm.shift()()};g.Sa(bb,Error);bb.prototype.name="CustomError";var eca;g.Sa(db,bb);db.prototype.name="AssertionError";g.eb.prototype.stopPropagation=function(){this.u=!0}; g.eb.prototype.preventDefault=function(){this.defaultPrevented=!0};var vaa,al,dm;vaa=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.Gb=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,Maa=/"/g,Naa=/'/g,Oaa=/\x00/g,Iaa=/[\x00&<>"']/;var cc,Q7a=g.Ea.navigator;cc=Q7a?Q7a.userAgentData||null:null;tc[" "]=function(){};var Kl,BW,g0a,R7a,S7a,T7a,kI,lI,U7a;g.mI=hc();g.Je=ic();g.Sy=ec("Edge");g.QI=g.Sy||g.Je;Kl=ec("Gecko")&&!(Qb(g.Zb(),"WebKit")&&!ec("Edge"))&&!(ec("Trident")||ec("MSIE"))&&!ec("Edge");g.Bc=Qb(g.Zb(),"WebKit")&&!ec("Edge");BW=sc();g0a=Uaa();g.rx=Taa();R7a=pc();S7a=ec("iPad");T7a=ec("iPod");kI=rc();lI=Qb(g.Zb(),"KaiOS"); a:{var V7a="",W7a=function(){var a=g.Zb();if(Kl)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.Sy)return/Edge\/([\d\.]+)/.exec(a);if(g.Je)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Bc)return/WebKit\/(\S+)/.exec(a);if(g.mI)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); W7a&&(V7a=W7a?W7a[1]:"");if(g.Je){var X7a=Yaa();if(null!=X7a&&X7a>parseFloat(V7a)){U7a=String(X7a);break a}}U7a=V7a}var wc=U7a,Waa={},Y7a;if(g.Ea.document&&g.Je){var Z7a=Yaa();Y7a=Z7a?Z7a:parseInt(wc,10)||void 0}else Y7a=void 0;var Zaa=Y7a;var EMa=$aa("AnimationEnd"),DR=$aa("TransitionEnd");g.Sa(Cc,g.eb);var $7a={2:"touch",3:"pen",4:"mouse"}; Cc.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)?Kl&&(vc(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.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:$7a[a.pointerType]||"";this.state=a.state;this.j=a;a.defaultPrevented&&Cc.Hf.preventDefault.call(this)}; Cc.prototype.stopPropagation=function(){Cc.Hf.stopPropagation.call(this);this.j.stopPropagation?this.j.stopPropagation():this.j.cancelBubble=!0}; Cc.prototype.preventDefault=function(){Cc.Hf.preventDefault.call(this);var a=this.j;a.preventDefault?a.preventDefault():a.returnValue=!1};var aba="closure_listenable_"+(1E6*Math.random()|0);var bba=0;var hba="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");cd.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.j++);var h=ed(a,b,d,e);-1>>0);g.Sa(g.yd,g.C);g.yd.prototype[aba]=!0;g.k=g.yd.prototype;g.k.addEventListener=function(a,b,c,d){g.gd(this,a,b,c,d)}; g.k.removeEventListener=function(a,b,c,d){pba(this,a,b,c,d)}; g.k.dispatchEvent=function(a){var b=this.Ma;if(b){var c=[];for(var d=1;b;b=b.Ma)c.push(b),++d}b=this.jb;d=a.type||a;if("string"===typeof a)a=new g.eb(a,b);else if(a instanceof g.eb)a.target=a.target||b;else{var e=a;a=new g.eb(d,b);g.Zc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.u&&0<=f;f--){var h=a.currentTarget=c[f];e=zd(h,d,!0,a)&&e}a.u||(h=a.currentTarget=b,e=zd(h,d,!0,a)&&e,a.u||(e=zd(h,d,!1,a)&&e));if(c)for(f=0;!a.u&&fbg.length&&bg.push(this)}; g.k.clear=function(){this.u=null;this.D=!1;this.j=this.B=this.C=0;this.LE=!1}; g.k.reset=function(){this.j=this.C}; g.k.advance=function(a){Wf(this,this.j+a)}; g.k.fJ=function(){var a=Zf(this);return 4294967296*Zf(this)+(a>>>0)}; var bg=[];cg.prototype.free=function(){this.j.clear();this.u=this.C=-1;100>G2.length&&G2.push(this)}; cg.prototype.reset=function(){this.j.reset();this.B=this.j.j;this.u=this.C=-1}; cg.prototype.advance=function(a){this.j.advance(a)}; var G2=[];var xda,Ada;sg.prototype.length=function(){return this.j.length}; sg.prototype.end=function(){var a=this.j;this.j=[];return a};var yg="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;var Og={},f8a,Sg=Object.freeze(Bg([],23));var Tda="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";var th;g.k=J.prototype;g.k.toJSON=function(){var a=this.Sd,b;f8a?b=a:b=uh(a,kea,lea,void 0,!1,!1);return b}; g.k.mp=function(){f8a=!0;try{return JSON.stringify(this.toJSON(),qea)}finally{f8a=!1}}; g.k.clone=function(){return wh(this,!1)}; g.k.mq=function(){return Dg(this.Sd)}; g.k.MM=Og;g.k.toString=function(){return this.Sd.toString()};var xh=Symbol(),Bh=Symbol(),Ah=Symbol(),zh=Symbol(),g8a=Dh(function(a,b,c){if(1!==a.u)return!1;H(b,c,$f(a.j));return!0},Eh),h8a=Dh(function(a,b,c){if(1!==a.u)return!1; a=$f(a.j);Xg(b,c,Mg(a),0);return!0},Eh),i8a=Dh(function(a,b,c,d){if(1!==a.u)return!1; $g(b,c,d,$f(a.j));return!0},Eh),j8a=Dh(function(a,b,c){if(0!==a.u)return!1; H(b,c,Xf(a.j));return!0},Fh),k8a=Dh(function(a,b,c){if(0!==a.u)return!1; a=Xf(a.j);Xg(b,c,a,0);return!0},Fh),l8a=Dh(function(a,b,c,d){if(0!==a.u)return!1; $g(b,c,d,Xf(a.j));return!0},Fh),m8a=Dh(function(a,b,c){if(0!==a.u)return!1; H(b,c,Yf(a.j));return!0},Gh),n8a=Dh(function(a,b,c){if(0!==a.u)return!1; a=Yf(a.j);Xg(b,c,a,0);return!0},Gh),o8a=Dh(function(a,b,c,d){if(0!==a.u)return!1; $g(b,c,d,Yf(a.j));return!0},Gh),p8a=Dh(function(a,b,c){if(1!==a.u)return!1; H(b,c,a.j.fJ());return!0},function(a,b,c){Ida(a,c,g.Pg(b,c))}),q8a=Dh(function(a,b,c){if(1!==a.u&&2!==a.u)return!1; b=Tg(b,c,0,!1,Dg(b.Sd));if(2==a.u){c=Vf.prototype.fJ;var d=Yf(a.j)>>>0;for(d=a.j.j+d;a.j.j>>0);return!0},function(a,b,c){b=ph(b,c); null!=b&&null!=b&&(wg(a,c,0),tg(a.j,b))}),Q8a=Dh(function(a,b,c){if(0!==a.u)return!1; H(b,c,Yf(a.j));return!0},function(a,b,c){b=g.Pg(b,c); null!=b&&(b=parseInt(b,10),wg(a,c,0),Dda(a.j,b))});g.v(Pea,J);var Oea=[1,2,3,4];g.v(Ih,J);var Th=[1,2,3],R8a=[Ih,1,u8a,Th,2,o8a,Th,3,s8a,Th];g.v(Qea,J);var S8a=[Qea,1,g8a,2,j8a];g.v(Sea,J);var Rea=[1],T8a=[Sea,1,I2,S8a];g.v(Jh,J);var Sh=[1,2,3],U8a=[Jh,1,l8a,Sh,2,i8a,Sh,3,w8a,T8a,Sh];g.v(Kh,J);var Tea=[1],V8a=[Kh,1,I2,R8a,2,v8a,U8a];g.v(Uea,J);var W8a=[Uea,1,H2,2,H2,3,r8a];g.v(Vea,J);var X8a=[Vea,1,H2,2,H2,3,m8a,4,r8a];g.v(Wea,J);var Y8a=[1,2],Z8a=[Wea,1,w8a,W8a,Y8a,2,w8a,X8a,Y8a];g.v(Lh,J);Lh.prototype.Fm=function(){var a=Vg(this,3,Sda,void 0,2);if(void 0>=a.length)throw Error();return a[void 0]}; var Xea=[3,6,4];Lh.prototype.j=Nea([Lh,1,H2,5,p8a,2,v8a,Z8a,3,t8a,6,q8a,4,I2,V8a]);g.v(Zea,J);var Yea=[1];var ffa={};g.k=Uh.prototype;g.k.isEnabled=function(){if(!g.Ea.navigator.cookieEnabled)return!1;if(!this.Cf())return!0;this.set("TESTCOOKIESENABLED","1",{uG: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.l7a;d=c.p8||!1;var f=c.domain||void 0;var h=c.path||void 0;var l=c.uG}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.Faw||401===w||0===w);x&&(c.u=z.concat(c.u),c.Aa||c.j.enabled||c.j.start());b&&b("net-send-failed",w);++c.J},r=function(){c.network?c.network.send(n,p,q):c.kb(n,p,q)}; m?m.then(function(w){n.Sv["Content-Encoding"]="gzip";n.Sv["Content-Type"]="application/binary";n.body=w;n.w1=2;r()},function(){r()}):r()}}}}; g.k.dL=function(){Yfa(this.D,!0);this.flush();Yfa(this.D,!1)}; g.v(Wfa,g.eb);Qfa.prototype.yf=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;if(Rg(bh(this.j,qh,1),Fi,11)){var d=Ki(this);H(d,3,c)}c=this.j.clone();d=Date.now().toString();c=H(c,4,d);a=fh(c,Gi,3,a);b&&H(a,14,b);return a};g.Sa(Li,g.C); Li.prototype.yf=function(){var a=new Ii(this.I,this.Y?this.Y:ifa,this.Fa,this.oa,this.C,this.D,!1,this.Ma,void 0,void 0,this.Aa?this.Aa:void 0);g.D(this,a);this.J&&Hi(a.D,this.J);if(this.u){var b=this.u,c=Ji(a.D);H(c,7,b)}this.ea&&(a.Y=this.ea);this.j&&(a.componentId=this.j);this.B&&((b=this.B)?(a.C||(a.C=new Xh),b=b.mp(),H(a.C,4,b)):a.C&&H(a.C,4,void 0,!1));this.ya&&(c=this.ya,a.C||(a.C=new Xh),b=a.C,c=null==c?Sg:Jda(c,1),H(b,2,c));this.T&&(b=this.T,a.Ra=!0,Tfa(a,b));this.Ja&&$fa(a.D,this.Ja);return a};g.v(Mi,g.C);Mi.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new Zea,c=[],d=0;d>>3;1!=f.B&&2!=f.B&&15!=f.B&&bk(f,h,l,"unexpected tag");f.j=1;f.u=0;f.C=0} function c(m){f.C++;5==f.C&&m&240&&bk(f,h,l,"message length too long");f.u|=(m&127)<<7*(f.C-1);m&128||(f.j=2,f.T=0,"undefined"!==typeof Uint8Array?f.D=new Uint8Array(f.u):f.D=Array(f.u),0==f.u&&e())} function d(m){f.D[f.T++]=m;f.T==f.u&&e()} function e(){if(15>f.B){var m={};m[f.B]=f.D;f.J.push(m)}f.j=0} for(var f=this,h=a instanceof Array?a:new Uint8Array(a),l=0;lb||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?ik(this,7):7==c?ik(this,8):d||ik(this,3)),this.u||(this.u=aha(this.j),null==this.u&&ik(this,5)),2this.B){var h=a.length;c=[];try{if(this.u.HE())for(var l=0;lthis.B){l=e.slice(this.B);this.B=e.length;try{var n=this.u.parse(l);null!=n&&this.D&&this.D(n)}catch(p){ik(this,5);jk(this);break a}}4==b?(0!=e.length|| this.Y?ik(this,2):ik(this,4),jk(this)):ik(this,1)}}}catch(p){ik(this,6),jk(this)}};g.k=bha.prototype;g.k.on=function(a,b){var c=this.u[a];c||(c=[],this.u[a]=c);c.push(b);return this}; g.k.addListener=function(a,b){this.on(a,b);return this}; g.k.removeListener=function(a,b){var c=this.u[a];c&&g.qb(c,b);(a=this.j[a])&&g.qb(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.u5=function(a){var b=this.u.data;b&&cha(a,b);(b=this.j.data)&&cha(a,b);this.j.data=[]}; g.k.a7=function(){switch(this.B.getStatus()){case 1:kk(this,"readable");break;case 5:case 6:case 4:case 7:case 3:kk(this,"error");break;case 8:kk(this,"close");break;case 2:kk(this,"end")}};dha.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return eha(function(h){var l=h.JF(),m=h.getMetadata(),n=hha(e,!1);m=iha(e,m,n,f+l.getName());var p=jha(n,l.u,!0);h=l.j(h.j);n.send(m,"POST",h);return p},this.C).call(this,Hga(d,b,c))};kha.prototype.create=function(a,b){return Ega(this.j,this.u+"/$rpc/google.internal.waa.v1.Waa/Create",a,b||{},d9a)};g.v(lk,Error);g.v(mk,g.C);mk.prototype.C=function(a){var b=this.j(a);a=new Wi(this.logger,this.u);b=g.Ff(b,2);a.done();return b}; g.v(pk,mk);pk.prototype.j=function(a){++this.J>=this.T&&this.D.resolve();var b=new Wi(this.logger,"C");a=this.I(a.Nx);b.done();if(void 0===a)throw new lk(17,Error("YNJ:Undefined"));if(!(a instanceof Uint8Array))throw new lk(18,Error("ODM:Invalid"));return a}; g.v(qk,mk);qk.prototype.j=function(){return this.I}; g.v(rk,mk);rk.prototype.j=function(){return Hf(this.I)}; rk.prototype.C=function(){return this.I}; g.v(sk,mk);sk.prototype.j=function(){if(this.I)return this.I;this.I=mha(this,function(a){return"_"+kga(a)}); return mha(this,function(a){return a})}; g.v(tk,mk);tk.prototype.j=function(a){var b;a=g.Ef(null!=(b=a.Nx)?b:"");if(118>24&255,c>>16&255,c>>8&255,c&255],a);for(c=b=b.length;cd)return"";this.j.sort(function(n,p){return n-p}); c=null;b="";for(var e=0;e=m.length){d-=m.length;a+=m;b=this.B;break}c=null==c?f:c}}d="";null!=c&&(d=b+"trn="+c);return a+d};cl.prototype.setInterval=function(a,b){return Ok.setInterval(a,b)}; cl.prototype.clearInterval=function(a){Ok.clearInterval(a)}; cl.prototype.setTimeout=function(a,b){return Ok.setTimeout(a,b)}; cl.prototype.clearTimeout=function(a){Ok.clearTimeout(a)};Wha.prototype.getContext=function(){if(!this.j){if(!Ok)throw Error("Context has not been set and window is undefined.");this.j=bl(cl)}return this.j};g.v(el,J);el.prototype.j=Nea([el,1,h8a,2,k8a,3,k8a,4,k8a,5,n8a]);var bia={hPa:1,R0:2,zIa:3};dia.prototype.XN=function(a){if("string"===typeof a&&0!=a.length){var b=this.Cc;if(b.u){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=decodeURIComponent(d[0]);1=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; g.k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; g.k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; g.k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; g.k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};Dl.prototype.equals=function(a,b){return!!a&&(!(void 0===b?0:b)||this.volume==a.volume)&&this.B==a.B&&Bl(this.j,a.j)&&!0};El.prototype.xb=function(){return this.J}; El.prototype.equals=function(a,b){return this.C.equals(a.C,void 0===b?!1:b)&&this.J==a.J&&Bl(this.B,a.B)&&Bl(this.I,a.I)&&this.j==a.j&&this.D==a.D&&this.u==a.u&&this.T==a.T};var l9a={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},bn={I0:"start",aZ:"firstquartile",t0:"midpoint",K0:"thirdquartile",LY:"complete",ERROR:"error",s0:"metric",PAUSE:"pause",E0:"resume",G0:"skip",Q0:"viewable_impression",v0:"mute",O0:"unmute",bZ:"fullscreen",XY:"exitfullscreen",JY:"bufferstart",IY:"bufferfinish",cZ:"fully_viewable_audible_half_duration_impression",r0:"measurable_impression",BY:"abandon",WY:"engagedview",fZ:"impression",OY:"creativeview",o0:"loaded",jQa:"progress", CLOSE:"close",Uka:"collapse",oNa:"overlay_resize",pNa:"overlay_unmeasurable_impression",qNa:"overlay_unviewable_impression",sNa:"overlay_viewable_immediate_impression",rNa:"overlay_viewable_end_of_session_impression",QY:"custom_metric_viewable",uMa:"verification_debug",EY:"audio_audible",GY:"audio_measurable",FY:"audio_impression"},Qka="start firstquartile midpoint thirdquartile resume loaded".split(" "),Rka=["start","firstquartile","midpoint","thirdquartile"],Gja=["abandon"],Cn={UNKNOWN:-1,I0:0, aZ:1,t0:2,K0:3,LY:4,s0:5,PAUSE:6,E0:7,G0:8,Q0:9,v0:10,O0:11,bZ:12,XY:13,cZ:14,r0:15,BY:16,WY:17,fZ:18,OY:19,o0:20,QY:21,JY:22,IY:23,FY:27,GY:28,EY:29};var ria={v$:"addEventListener",Xua:"getMaxSize",Yua:"getScreenSize",Zua:"getState",ava:"getVersion",GQa:"removeEventListener",zya:"isViewable"};g.k=g.Gl.prototype;g.k.clone=function(){return new g.Gl(this.left,this.top,this.width,this.height)}; g.k.contains=function(a){return a instanceof g.me?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; g.k.distance=function(a){var b=a.x=this.T?a:this;b!==this.j?(this.I=this.j.I,km(this)):this.I!==this.j.I&&(this.I=this.j.I,km(this))}; g.k.Ds=function(a){if(a.u===this.j){var b=!this.C.equals(a,this.Y);this.C=a;b&&Jia(this)}}; g.k.kp=function(){return this.Y}; g.k.dispose=function(){this.ya=!0}; g.k.isDisposed=function(){return this.ya};g.k=lm.prototype;g.k.gJ=function(){return!0}; g.k.zA=function(){}; g.k.dispose=function(){if(!this.isDisposed()){var a=this.u;g.qb(a.D,this);a.Y&&this.kp()&&Iia(a);this.zA();this.ea=!0}}; g.k.isDisposed=function(){return this.ea}; g.k.gs=function(){return this.u.gs()}; g.k.bq=function(){return this.u.bq()}; g.k.ey=function(){return this.u.ey()}; g.k.WB=function(){return this.u.WB()}; g.k.sy=function(){}; g.k.Ds=function(){this.Cr()}; g.k.kp=function(){return this.oa};g.k=mm.prototype;g.k.bq=function(){return this.j.bq()}; g.k.ey=function(){return this.j.ey()}; g.k.WB=function(){return this.j.WB()}; g.k.create=function(a,b,c){var d=null;this.j&&(d=this.yE(a,b,c),jm(this.j,d));return d}; g.k.RQ=function(){return this.AA()}; g.k.AA=function(){return!1}; g.k.init=function(a){return this.j.initialize()?(jm(this.j,this),this.C=a,!0):!1}; g.k.sy=function(a){0==a.bq()&&this.C(a.ey(),this)}; g.k.Ds=function(){}; g.k.kp=function(){return!1}; g.k.dispose=function(){this.D=!0}; g.k.isDisposed=function(){return this.D}; g.k.gs=function(){return{}};nm.prototype.add=function(a,b,c){++this.B;a=new Kia(a,b,c);this.j.push(new Kia(a.u,a.j,a.B+this.B/4096));this.u=!0;return this};Pia.prototype.toString=function(){var a="//web.archive.org/web/20230406005043/https://pagead2.googlesyndication.com//pagead/gen_204",b=pm(this.j);0=h;h=!(0=h)||c;this.j[e].update(f&&l,d,!f||h)}};ym.prototype.update=function(a,b,c,d){this.J=-1!=this.J?Math.min(this.J,b.Zd):b.Zd;this.oa=Math.max(this.oa,b.Zd);this.Aa=-1!=this.Aa?Math.min(this.Aa,b.Tj):b.Tj;this.Fa=Math.max(this.Fa,b.Tj);this.jb.update(b.Tj,c.Tj,b.j,a,d);this.u.update(b.Zd,c.Zd,b.j,a,d);c=d||c.Wu!=b.Wu?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.j;this.Ra.update(c,a,b)}; ym.prototype.qq=function(){return this.Ra.B>=this.fb};if(fm&&fm.URL){var m9a=fm.URL,n9a;if(n9a=!!m9a){var o9a;a:{if(m9a){var p9a=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var N2=p9a.exec(decodeURIComponent(m9a));if(N2){o9a=N2[1]&&1=(this.Wu()?.3:.5),this.yP(f,a,d),this.Yo=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 zl(0,0,0,0):a;a=this.u.C;b=e=d=0;0<(this.j.bottom-this.j.top)*(this.j.right-this.j.left)&&(this.vU(c)?c=new zl(0,0,0,0):(d=em().C,b=new zl(0,d.height,d.width,0),d=Cm(c,this.j),e=Cm(c,em().j),b=Cm(c,b)));c=c.top>=c.bottom||c.left>=c.right?new zl(0,0,0, 0):Cl(c,-this.j.left,-this.j.top);gm()||(e=d=0);this.J=new El(a,this.element,this.j,c,d,e,this.timestamp,b)}; g.k.getName=function(){return this.u.getName()};var u9a=new zl(0,0,0,0);g.v(Vm,Um);g.k=Vm.prototype;g.k.gJ=function(){this.B();return!0}; g.k.Ds=function(){Um.prototype.Cr.call(this)}; g.k.gS=function(){}; g.k.oK=function(){}; g.k.Cr=function(){this.B();Um.prototype.Cr.call(this)}; g.k.sy=function(a){a=a.isActive();a!==this.I&&(a?this.B():(em().j=new zl(0,0,0,0),this.j=new zl(0,0,0,0),this.C=new zl(0,0,0,0),this.timestamp=-1));this.I=a};var R2={},Eja=(R2.firstquartile=0,R2.midpoint=1,R2.thirdquartile=2,R2.complete=3,R2);g.v(Xm,Dm);g.k=Xm.prototype;g.k.kp=function(){return!0}; g.k.Tm=function(){return 2==this.Ji}; g.k.uT=function(a){return gja(this,a,Math.max(1E4,this.B/3))}; g.k.La=function(a,b,c,d,e,f,h){var l=this,m=this.J(this)||{};g.Zc(m,e);this.B=m.duration||this.B;this.Y=m.isVpaid||this.Y;this.Ma=m.isYouTube||this.Ma;e=wja(this,b);1===vja(this)&&(f=e);Dm.prototype.La.call(this,a,b,c,d,m,f,h);this.yq&&this.yq.B&&g.Gb(this.I,function(n){n.u(l)})}; g.k.yP=function(a,b,c){Dm.prototype.yP.call(this,a,b,c);$m(this).update(a,b,this.Ah,c);this.jb=Hm(this.Ah)&&Hm(b);-1==this.Fa&&this.fb&&(this.Fa=this.bj().B.j);this.Ng.B=0;a=this.qq();b.isVisible()&&Nm(this.Ng,"vs");a&&Nm(this.Ng,"vw");cm(b.volume)&&Nm(this.Ng,"am");Hm(b)?Nm(this.Ng,"a"):Nm(this.Ng,"mut");this.yy&&Nm(this.Ng,"f");-1!=b.u&&(Nm(this.Ng,"bm"),1==b.u&&(Nm(this.Ng,"b"),Hm(b)&&Nm(this.Ng,"umutb")));Hm(b)&&b.isVisible()&&Nm(this.Ng,"avs");this.jb&&a&&Nm(this.Ng,"avw");0this.j.T&&(this.j=this,km(this)),this.T=a);return 2==a};qn.prototype.sample=function(){zn(this,hn(),!1)}; qn.prototype.C=function(){var a=gm(),b=ul();a?(wl||(xl=b,g.Gb(gn.j,function(c){var d=c.bj();d.Ma=Qm(d,b,1!=c.Ji)})),wl=!0):(this.J=eka(this,b),wl=!1,Fja=b,g.Gb(gn.j,function(c){c.gB&&(c.bj().T=b)})); zn(this,hn(),!a)}; var xn=bl(qn);var gka=null,Wn="",Vn=!1;var jka=ika().zo,Bn=ika().Bo;var mka={Nsa:"visible",wha:"audible",nYa:"time",rYa:"timetype"},nka={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)}}; lka.prototype.setTime=function(a,b,c){"ms"==b?(this.B=a,this.C=-1):(this.B=-1,this.C=a);this.D=void 0===c?"tos":c;return this};g.v(Fn,Rm);Fn.prototype.getId=function(){return this.J}; Fn.prototype.I=function(){return!0}; Fn.prototype.j=function(a){var b=a.bj(),c=a.getDuration();return dm(this.T,function(d){if(void 0!=d.j)var e=pka(d,b);else b:{switch(d.D){case "mtos":e=d.u?b.D.B:b.B.j;break b;case "tos":e=d.u?b.D.j:b.B.j;break b}e=0}0==e?d=!1:(d=-1!=d.B?d.B:void 0!==c&&0=d);return d})};g.v(Gn,pja);Gn.prototype.j=function(a){var b=new Lm;b.j=Mm(a,r9a);b.u=Mm(a,t9a);return b};g.v(Hn,Rm);Hn.prototype.j=function(a){return yja(a)};g.v(In,uja);g.v(Jn,Rm);Jn.prototype.j=function(a){return a.bj().qq()};g.v(Kn,Sm);Kn.prototype.j=function(a){var b=g.nb(this.J,Ek(gl().Cc,"ovms"));return!a.Js&&(0!=a.Ji||b)};g.v(Ln,In);Ln.prototype.u=function(){return new Kn(this.j)}; Ln.prototype.B=function(){return[new Jn("viewable_impression",this.j),new Hn(this.j)]};g.v(Mn,Vm);Mn.prototype.B=function(){var a=g.Ga("ima.admob.getViewability"),b=Ek(this.Cc,"queryid");"function"===typeof a&&b&&a(b)}; Mn.prototype.getName=function(){return"gsv"};g.v(Nn,mm);Nn.prototype.getName=function(){return"gsv"}; Nn.prototype.AA=function(){var a=em();gl();return a.u&&!1}; Nn.prototype.yE=function(a,b,c){return new Mn(this.j,b,c)};g.v(On,Vm);On.prototype.B=function(){var a=this,b=g.Ga("ima.bridge.getNativeViewability"),c=Ek(this.Cc,"queryid");"function"===typeof b&&c&&b(c,function(d){g.Rc(d)&&a.D++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.j=Cia(d.opt_nativeViewBounds||{});var h=a.u.C;h.j=f?u9a.clone():Cia(e);a.timestamp=d.opt_nativeTime||-1;em().j=h.j;d=d.opt_nativeVolume;void 0!==d&&(h.volume=d)})}; On.prototype.getName=function(){return"nis"};g.v(Pn,mm);Pn.prototype.getName=function(){return"nis"}; Pn.prototype.AA=function(){var a=em();gl();return a.u&&!1}; Pn.prototype.yE=function(a,b,c){return new On(this.j,b,c)};g.v(Qn,im);g.k=Qn.prototype;g.k.yA=function(){return null!=this.u.Ym}; g.k.oT=function(){var a={};this.Ja&&(a.mraid=this.Ja);this.Aa&&(a.mlc=1);a.mtop=this.u.C8;this.J&&(a.mse=this.J);this.Ma&&(a.msc=1);a.mcp=this.u.compatibility;return a}; g.k.ut=function(a){var b=g.ya.apply(1,arguments);try{return this.u.Ym[a].apply(this.u.Ym,b)}catch(c){tl(538,c,.01,function(d){d.method=a})}}; g.k.initialize=function(){var a=this;if(this.isInitialized)return!this.WB();this.isInitialized=!0;if(2===this.u.compatibility)return this.J="ng",this.fail("w"),!1;if(1===this.u.compatibility)return this.J="mm",this.fail("w"),!1;em().T=!0;this.B.document.readyState&&"complete"==this.B.document.readyState?tka(this):Am(this.B,"load",function(){dl().setTimeout(sl(292,function(){return tka(a)}),100)},292); return!0}; g.k.PQ=function(){var a=em(),b=yka(this,"getMaxSize");a.j=new zl(0,b.width,b.height,0)}; g.k.QQ=function(){em().C=yka(this,"getScreenSize")}; g.k.dispose=function(){vka(this);im.prototype.dispose.call(this)};g.k=Sn.prototype;g.k.bB=function(a){Em(a,!1);Sja(a)}; g.k.TF=function(){}; g.k.qD=function(a,b,c,d){var e=this;a=new Xm(Ok,a,c?b:-1,7,this.JK(),this.AS());a.gi=d;vha(a.Cc);Dk(a.Cc,"queryid",a.gi);a.XN("");jja(a,function(){return e.KT.apply(e,g.u(g.ya.apply(0,arguments)))},function(){return e.o3.apply(e,g.u(g.ya.apply(0,arguments)))}); (d=bl(jn).j)&&fja(a,d);a.Bj.Ps&&bl(aka);return a}; g.k.sy=function(a){switch(a.bq()){case 0:if(a=bl(jn).j)a=a.j,g.qb(a.D,this),a.Y&&this.kp()&&Iia(a);Un();break;case 2:yn()}}; g.k.Ds=function(){}; g.k.kp=function(){return!1}; g.k.o3=function(a,b){a.Js=!0;switch(a.Ho()){case 1:Eka(a,b);break;case 2:this.kO(a)}this.AO()}; g.k.y3=function(a){var b=a.J(a);b&&(b=b.volume,a.kb=cm(b)&&0a&&Number.isInteger(a)&&this.data_[a]!==b&&(this.data_[a]=b,this.j=-1)}; no.prototype.get=function(a){return!!this.data_[a]};g.Sa(g.oo,g.C);g.k=g.oo.prototype;g.k.start=function(){this.stop();this.C=!1;var a=ala(this),b=bla(this);a&&!b&&this.u.mozRequestAnimationFrame?(this.j=g.gd(this.u,"MozBeforePaint",this.B),this.u.mozRequestAnimationFrame(null),this.C=!0):this.j=a&&b?a.call(this.u,this.B):this.u.setTimeout(rba(this.B),20)}; g.k.stop=function(){if(this.isActive()){var a=ala(this),b=bla(this);a&&!b&&this.u.mozRequestAnimationFrame?rd(this.j):a&&b?b.call(this.u,this.j):this.u.clearTimeout(this.j)}this.j=null}; g.k.isActive=function(){return null!=this.j}; g.k.q_=function(){this.C&&this.j&&rd(this.j);this.j=null;this.I.call(this.D,g.Ra())}; g.k.ra=function(){this.stop();g.oo.Hf.ra.call(this)};g.Sa(g.qo,g.C);g.k=g.qo.prototype;g.k.BA=0;g.k.ra=function(){g.qo.Hf.ra.call(this);this.stop();delete this.j;delete this.u}; g.k.start=function(a){this.stop();this.BA=g.xf(this.B,void 0!==a?a:this.Ii)}; g.k.stop=function(){this.isActive()&&g.Ea.clearTimeout(this.BA);this.BA=0}; g.k.isActive=function(){return 0!=this.BA}; g.k.TQ=function(){this.BA=0;this.j&&this.j.call(this.u)};uo.prototype[Symbol.iterator]=function(){return this}; uo.prototype.next=function(){var a=this.j.next();return{value:a.done?void 0:this.u.call(void 0,a.value),done:a.done}};Do.prototype.lk=function(){return new Eo(this.u())}; Do.prototype[Symbol.iterator]=function(){return new Fo(this.u())}; Do.prototype.j=function(){return new Fo(this.u())}; g.v(Eo,g.Fm);Eo.prototype.next=function(){return this.u.next()}; Eo.prototype[Symbol.iterator]=function(){return new Fo(this.u)}; Eo.prototype.j=function(){return new Fo(this.u)}; g.v(Fo,Do);Fo.prototype.next=function(){return this.B.next()};g.k=g.Ho.prototype;g.k.Il=function(){Jo(this);for(var a=[],b=0;b2*this.size&&Jo(this),!0):!1}; g.k.get=function(a,b){return Io(this.u,a)?this.u[a]:b}; g.k.set=function(a,b){Io(this.u,a)||(this.size+=1,this.j.push(a),this.It++);this.u[a]=b}; g.k.forEach=function(a,b){for(var c=this.Xp(),d=0;d=d.j.length)return g.O2;var f=d.j[b++];return g.Gm(a?f:d.u[f])}; return e};g.Sa(g.Ko,g.yd);g.k=g.Ko.prototype;g.k.fd=function(){return 1==this.j}; g.k.LG=function(){this.Cl("begin")}; g.k.Bq=function(){this.Cl("end")}; g.k.onFinish=function(){this.Cl("finish")}; g.k.Cl=function(a){this.dispatchEvent(a)};var C9a=Dd(function(){if(g.Je)return!0;var a=g.Ne("DIV"),b=g.Bc?"-webkit":Kl?"-moz":g.Je?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!c8a.test("div"))throw Error("");if("DIV"in e8a)throw Error("");b=void 0;var d="";if(c)for(h in c)if(Object.prototype.hasOwnProperty.call(c,h)){if(!c8a.test(h))throw Error("");var e=c[h];if(null!=e){var f=h;if(e instanceof Ld)e=Md(e);else if("style"==f.toLowerCase()){if(!g.Ja(e))throw Error("");e instanceof Yd||(e=Lba(e));e=Zd(e)}else{if(/^on/i.test(f))throw Error("");if(f.toLowerCase()in d8a)if(e instanceof Pd)e=zba(e).toString();else if(e instanceof Rd)e=g.Sd(e);else if("string"===typeof e)e=g.Ud(e).Hl();else throw Error("");}e.Ro&&(e=e.Hl());f=f+'="'+Ob(String(e))+'"';d+=" "+f}}var h="":(b=Vba(b),h+=">"+g.ce(b).toString()+"");h=g.de(h);g.Yba(a,h);return""!=g.Ll(a.firstChild,"transition")});g.Sa(Lo,g.Ko);g.k=Lo.prototype;g.k.play=function(){if(this.fd())return!1;this.LG();this.Cl("play");this.startTime=g.Ra();this.j=1;if(C9a())return g.Jl(this.u,this.J),this.C=g.xf(this.G7,void 0,this),!0;this.hJ(!1);return!1}; g.k.G7=function(){g.$l(this.u);hla(this.u,this.T);g.Jl(this.u,this.D);this.C=g.xf((0,g.Pa)(this.hJ,this,!1),1E3*this.I)}; g.k.stop=function(){this.fd()&&this.hJ(!0)}; g.k.hJ=function(a){g.Jl(this.u,"transition","");g.Ea.clearTimeout(this.C);g.Jl(this.u,this.D);this.endTime=g.Ra();this.j=0;if(a)this.Cl("stop");else this.onFinish();this.Bq()}; g.k.ra=function(){this.stop();Lo.Hf.ra.call(this)}; g.k.pause=function(){};var jla={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};Mo("Element","attributes")||Mo("Node","attributes");Mo("Element","innerHTML")||Mo("HTMLElement","innerHTML");Mo("Node","nodeName");Mo("Node","nodeType");Mo("Node","parentNode");Mo("Node","childNodes");Mo("HTMLElement","style")||Mo("Element","style");Mo("HTMLStyleElement","sheet");var pla=lla("getPropertyValue"),qla=lla("setProperty");Mo("Element","namespaceURI")||Mo("Node","namespaceURI");var ola={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};var ula,G7a,tla,sla,vla;ula=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]");G7a=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");g.D9a=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.No=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]");tla=/^http:\/\/.*/;g.E9a=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");sla=/\s+/;vla=/[\d\u06f0-\u06f9]/;Po.prototype.clone=function(){return new Po(this.j,this.J,this.B,this.D,this.C,this.I,this.u,this.T)}; Po.prototype.equals=function(a){return this.j==a.j&&this.J==a.J&&this.B==a.B&&this.D==a.D&&this.C==a.C&&this.I==a.I&&this.u==a.u&&this.T==a.T};Ro.prototype.clone=function(){return new Ro(this.start,this.end)};(function(){if(g0a){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Zb()))?a[1]:"0"}return BW?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(g.Zb()))?a[0].replace(/_/g,"."):"10"):g.rx?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Zb()))?a[1]:""):R7a||S7a||T7a?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Zb()))?a[1].replace(/_/g,"."):""):""})();var xla=function(){if(g.qH)return So(/Firefox\/([0-9.]+)/);if(g.Je||g.Sy||g.mI)return wc;if(g.qG){if(rc()||sc()){var a=So(/CriOS\/([0-9.]+)/);if(a)return a}return So(/Chrome\/([0-9.]+)/)}if(g.ry&&!rc())return So(/Version\/([0-9.]+)/);if(ox||px){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Zb()))return a[1]+"."+a[2]}else if(g.nI)return(a=So(/Android\s+([0-9.]+)/))?a:So(/Version\/([0-9.]+)/);return""}();g.Sa(g.Uo,g.C);g.k=g.Uo.prototype;g.k.subscribe=function(a,b,c){var d=this.u[a];d||(d=this.u[a]=[]);var e=this.I;this.j[e]=a;this.j[e+1]=b;this.j[e+2]=c;this.I=e+3;d.push(e);return e}; g.k.unsubscribe=function(a,b,c){if(a=this.u[a]){var d=this.j;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Hh(a)}return!1}; g.k.Hh=function(a){var b=this.j[a];if(b){var c=this.u[b];0!=this.C?(this.B.push(a),this.j[a+1]=function(){}):(c&&g.qb(c,a),delete this.j[a],delete this.j[a+1],delete this.j[a+2])}return!!b}; g.k.ma=function(a,b){var c=this.u[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e=c.length)return g.O2;var e=c.key(b++);if(a)return g.Gm(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return g.Gm(e)}; return d}; g.k.clear=function(){this.j.clear()}; g.k.key=function(a){return this.j.key(a)};g.Sa(ap,$o);g.Sa(Dla,$o);g.Sa(cp,Zo);var Ela={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},bp=null;g.k=cp.prototype;g.k.isAvailable=function(){return!!this.j}; g.k.set=function(a,b){this.j.setAttribute(dp(a),b);ep(this)}; g.k.get=function(a){a=this.j.getAttribute(dp(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; g.k.remove=function(a){this.j.removeAttribute(dp(a));ep(this)}; g.k.lk=function(a){var b=0,c=this.j.XMLDocument.documentElement.attributes,d=new g.Fm;d.next=function(){if(b>=c.length)return g.O2;var e=c[b++];if(a)return g.Gm(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return g.Gm(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.Il=function(){for(var a=this.j,b=[],c=a.length,d=0;d>>16&65535|0;for(var f;0!==c;){f=2E3T2;T2++){S2=T2;for(var K9a=0;8>K9a;K9a++)S2=S2&1?3988292384^S2>>>1:S2>>>1;J9a[T2]=S2}Qp=function(a,b,c,d){c=d+c;for(a^=-1;d>>8^J9a[(a^b[d])&255];return a^-1};var Gp={};Gp={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 zp=[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],Cp=[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],bma=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Rla=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Kp=Array(576);rp(Kp);var Lp=Array(60);rp(Lp);var Bp=Array(512);rp(Bp);var yp=Array(256);rp(yp);var Ap=Array(29);rp(Ap);var Dp=Array(30);rp(Dp);var Zla,$la,ama,Yla=!1;var Vp;Vp=[new Up(0,0,0,0,function(a,b){var c=65535;for(c>a.Rl-5&&(c=a.Rl-5);;){if(1>=a.Yb){Rp(a);if(0===a.Yb&&0===b)return 1;if(0===a.Yb)break}a.zb+=a.Yb;a.Yb=0;var d=a.rk+c;if(0===a.zb||a.zb>=d)if(a.Yb=a.zb-d,a.zb=d,Mp(a,!1),0===a.Ud.qe)return 1;if(a.zb-a.rk>=a.Ri-262&&(Mp(a,!1),0===a.Ud.qe))return 1}a.Sh=0;if(4===b)return Mp(a,!0),0===a.Ud.qe?3:4;a.zb>a.rk&&Mp(a,!1);return 1}), new Up(4,4,8,4,Sp),new Up(4,5,16,8,Sp),new Up(4,6,32,32,Sp),new Up(4,4,16,16,Tp),new Up(8,16,32,32,Tp),new Up(8,16,128,128,Tp),new Up(8,32,128,256,Tp),new Up(32,128,258,1024,Tp),new Up(32,258,258,4096,Tp)];var Xla={};Xla=function(){this.input=null;this.jw=this.Vi=this.xv=0;this.Sj=null;this.kP=this.qe=this.Yy=0;this.msg="";this.state=null;this.MK=2;this.Cd=0};var cma=Object.prototype.toString; Wp.prototype.push=function(a,b){var c=this.Ud,d=this.options.chunkSize;if(this.ended)return!1;var e=b===~~b?b:!0===b?4:0;"string"===typeof a?c.input=Gla(a):"[object ArrayBuffer]"===cma.call(a)?c.input=new Uint8Array(a):c.input=a;c.xv=0;c.Vi=c.input.length;do{0===c.qe&&(c.Sj=new qp.Cw(d),c.Yy=0,c.qe=d);a=Wla(c,e);if(1!==a&&0!==a)return this.Bq(a),this.ended=!0,!1;if(0===c.qe||0===c.Vi&&(4===e||2===e))if("string"===this.options.to){var f=qp.PO(c.Sj,c.Yy);b=f;f=f.length;if(65537>f&&(b.subarray&&I9a|| !b.subarray))b=String.fromCharCode.apply(null,qp.PO(b,f));else{for(var h="",l=0;la||a>c.length)throw Error();c[a]=b}; var Vma=[1];g.v(dt,J);dt.prototype.j=function(a,b){return hh(this,4,Rs,a,b)}; dt.prototype.B=function(a,b){return Yg(this,5,a,b)}; var Wma=[4,5];g.v(et,J);g.v(ft,J);g.v(gt,J);g.v(ht,J);ht.prototype.Mf=function(){return rh(this,2)};g.v(jt,J);jt.prototype.j=function(a,b){return hh(this,1,ht,a,b)}; var Xma=[1];g.v(kt,J);g.v(lt,J);lt.prototype.Mf=function(){return rh(this,2)};g.v(mt,J);mt.prototype.j=function(a,b){return hh(this,1,lt,a,b)}; var Yma=[1];g.v(nt,J);var bQ=[1,2,3];g.v(ot,J);ot.prototype.j=function(a,b){return hh(this,1,nt,a,b)}; var Zma=[1];g.v(pt,J);var SB=[2,3,4,5];g.v(qt,J);qt.prototype.getMessage=function(){return rh(this,1)};g.v(rt,J);g.v(tt,J);g.v(ut,J);g.v(vt,J);vt.prototype.Ci=function(a,b){return hh(this,5,ut,a,b)}; var $ma=[5];g.v(wt,J);var ana=[3];g.v(xt,J);g.v(zt,J);zt.prototype.B=function(a,b){return hh(this,19,ur,a,b)}; zt.prototype.j=function(a,b){return hh(this,20,tr,a,b)}; var bna=[19,20];g.v(At,J);g.v(Bt,J);g.v(Ct,J);Ct.prototype.j=function(a,b){return hh(this,2,At,a,b)}; Ct.prototype.setConfig=function(a){return I(this,Bt,3,a)}; Ct.prototype.I=function(a,b){return hh(this,5,At,a,b)}; Ct.prototype.B=function(a,b){return hh(this,9,Lr,a,b)}; var cna=[2,5,9];g.v(Dt,J);Dt.prototype.Fo=function(){return ih(g.Pg(this,2),0)};g.v(Et,J);Et.prototype.j=function(a,b){return hh(this,9,Dt,a,b)}; var dna=[9];g.v(Ft,J);g.v(Gt,J);g.v(Ht,J);g.v(It,J);g.v(Jt,J);Jt.prototype.getType=function(){return sh(this,2)}; Jt.prototype.j=function(a,b){return hh(this,3,It,a,b)}; var ena=[3];g.v(Kt,J);Kt.prototype.j=function(a,b){return hh(this,10,Ks,a,b)}; Kt.prototype.B=function(a,b){return hh(this,17,Et,a,b)}; var fna=[10,17];g.v(Lt,J);var pIa={dha:0,cha:1,Zga:2,aha:3,bha:4};g.v(Mt,J);Mt.prototype.Mf=function(){return rh(this,2)}; Mt.prototype.qB=function(){return rh(this,7)};var RHa={pia:0,oia:1,hia:2,iia:3,jia:4,kia:5,lia:6,mia:7};var XHa={hpa:0,ipa:3,jpa:1,gpa:2};var NHa={bqa:0,rpa:1,tpa:2,wpa:3,xpa:4,ypa:5,Apa:6,Bpa:7,Cpa:8,Dpa:9,Epa:10,Hpa:11,Ipa:12,Jpa:13,Kpa:14,Lpa:15,Npa:16,Qpa:17,Rpa:18,Spa:19,Tpa:20,Upa:21,Vpa:22,Wpa:23,Xpa:24,cqa:25,dqa:26,Opa:27,Ypa:28,Ppa:29,Gpa:30,zpa:31,Fpa:32,eqa:33,fqa:34,qpa:35,spa:36,Zpa:37,aqa:38,upa:39,Mpa:40};var QHa={wsa:0,tqa:1,Era:2,ssa:3,Hsa:4,Ara:5,Fra:6,xqa:7,zqa:8,yqa:9,Pra:10,zra:11,yra:12,Xra:13,csa:14,tsa:15,Fsa:16,wqa:17,lqa:18,Oqa:19,Dqa:20,Dra:21,Jra:22,usa:23,mqa:24,nqa:25,Ura:26,Fqa:116,Rqa:27,Sqa:28,Ora:29,uqa:30,Lqa:31,Cra:32,Nra:33,jqa:34,kqa:35,hqa:36,iqa:37,Gra:38,Hra:39,bsa:40,vqa:41,Gsa:42,Sra:43,Mra:44,Qra:45,Bra:46,Rra:47,Gqa:48,Aqa:49,Jsa:50,Qqa:51,Pqa:52,Bqa:53,Cqa:54,qsa:55,nsa:56,msa:57,rsa:58,Eqa:59,Hqa:60,Esa:61,Wra:62,Tra:63,Vra:64,Ira:65,isa:66,gsa:67,hsa:117,jsa:68,Mqa:69, Nqa:121,Isa:70,Kqa:71,ksa:72,lsa:73,Yra:74,Zra:75,Jqa:76,Iqa:77,Lra:78,vsa:79,Kra:80,gqa:81,rqa:115,pqa:120,qqa:122,sqa:123,Uqa:124,Tqa:125,oqa:126,fsa:127,dsa:128,esa:129,Xqa:82,Zqa:83,qra:84,ara:85,wra:86,Yqa:87,dra:88,kra:89,nra:90,sra:91,pra:92,rra:93,Wqa:94,fra:95,ora:96,hra:97,gra:98,Vqa:99,cra:100,tra:101,lra:102,xra:103,ura:104,ira:105,vra:106,mra:107,jra:118,ysa:108,Csa:109,Bsa:110,Asa:111,Dsa:112,zsa:113,xsa:114};var J$a={Pka:0,Oka:1,Mka:2,Nka:3};var VJa={cTa:0,JTa:1,OTa:2,wTa:3,xTa:4,yTa:5,QTa:39,RTa:6,MTa:7,ITa:50,PTa:69,KTa:70,LTa:71,GTa:74,zTa:32,ATa:44,BTa:33,NTa:8,CTa:9,DTa:10,FTa:11,ETa:12,HTa:73,dTa:56,eTa:57,fTa:58,gTa:59,hTa:60,iTa:61,nUa:13,oUa:14,pUa:15,xUa:16,sUa:17,zUa:18,yUa:19,uUa:20,vUa:21,qUa:34,wUa:35,tUa:36,rUa:49,mTa:37,nTa:38,pTa:40,rTa:41,qTa:42,sTa:43,tTa:51,oTa:52,lTa:67,jTa:22,kTa:23,VTa:24,bUa:25,cUa:62,aUa:26,YTa:27,UTa:48,STa:53,TTa:63,dUa:66,XTa:54,ZTa:68,eUa:72,WTa:75,vTa:64,uTa:65,fUa:28,iUa:29,hUa:30,gUa:31, kUa:45,mUa:46,lUa:47,jUa:55};var SJa={BUa:0,CUa:1,AUa:2};var XJa={FUa:0,EUa:1,DUa:2};var WJa={MUa:0,KUa:1,IUa:2,LUa:3,GUa:4,HUa:5,JUa:6};var CJa={dYa:0,cYa:1,bYa:2};var BJa={hYa:0,fYa:1,eYa:2,gYa:3};g.v(Nt,J);g.v(Ot,J);g.v(Pt,J);g.v(Qt,J);g.v(Rt,J);g.v(St,J);St.prototype.hasFeature=function(){return null!=g.Pg(this,2)};g.v(Tt,J);Tt.prototype.xB=function(){return rh(this,7)};g.v(Ut,J);g.v(Vt,J);g.v(Wt,J);Wt.prototype.getName=function(){return sh(this,1)}; Wt.prototype.getStatus=function(){return sh(this,2)}; Wt.prototype.getState=function(){return sh(this,3)}; Wt.prototype.vc=function(a){return H(this,3,a)};g.v(Xt,J);Xt.prototype.j=function(a,b){return hh(this,2,Wt,a,b)}; var gna=[2];g.v(Yt,J);g.v(Zt,J);Zt.prototype.j=function(a,b){return hh(this,1,Xt,a,b)}; Zt.prototype.B=function(a,b){return hh(this,2,Xt,a,b)}; var hna=[1,2];var RJa={uza:0,sza:1,tza:2};var zJa={qFa:0,kFa:1,nFa:2,rFa:3,lFa:4,mFa:5,oFa:6,pFa:7};var AJa={uFa:0,tFa:1,sFa:2};var yJa={RIa:0,SIa:1,QIa:2};var xJa={iJa:0,VIa:1,eJa:2,jJa:3,gJa:4,YIa:5,UIa:6,WIa:7,XIa:8,hJa:9,fJa:10,ZIa:11,cJa:12,dJa:13,bJa:14,aJa:15,TIa:16};var uJa={OWa:0,KWa:1,NWa:2,MWa:3,LWa:4};var tJa={SWa:0,QWa:1,RWa:2,PWa:3};var vJa={ZWa:0,VWa:1,XWa:2,TWa:3,YWa:4,UWa:5,WWa:6};var sJa={gXa:0,iXa:1,hXa:2,cXa:3,aXa:4,bXa:5,jXa:6,dXa:7,kXa:8,eXa:9,fXa:10};var wJa={nXa:0,mXa:1,lXa:2};var GJa={b0a:0,Z_a:1,Y_a:2,T_a:3,V_a:4,W_a:5,S_a:6,U_a:7,a0a:8,d0a:9,X_a:10,Q_a:11,R_a:12,c0a:13};var FJa={f0a:0,e0a:1};var NJa={B0a:0,g0a:1,A0a:2,z0a:3,F0a:4,E0a:5,y0a:19,k0a:6,m0a:7,u0a:8,l0a:24,x0a:25,v0a:20,o0a:21,i0a:22,w0a:23,h0a:9,j0a:10,n0a:11,p0a:12,q0a:13,r0a:14,t0a:15,s0a:16,C0a:17,D0a:18};var HJa={J0a:0,I0a:1,K0a:2,G0a:3,H0a:4};var DJa={Z0a:0,S0a:1,N0a:2,W0a:3,R0a:4,Y0a:5,M0a:6,O0a:7,T0a:8,P0a:9,U0a:10,V0a:11,Q0a:12,X0a:13};var JJa={h1a:0,f1a:1,d1a:2,e1a:3,g1a:4};var IJa={l1a:0,i1a:1,j1a:2,k1a:3};var EJa={p1a:0,o1a:1,n1a:2};var OJa={t1a:0,q1a:1,s1a:2};var PJa={N1a:0,M1a:1,L1a:2,J1a:3,K1a:4};var QJa={R1a:0,P1a:1,O1a:2,Q1a:3};var K$a={dla:0,Yka:1,Zka:2,Wka:3,ala:4,Xka:5};var FGa={N0:0,Wwa:1,Tua:2,Uua:3,vza:4,AJa:5,vha:6};var ZP={Ana:0,hna:101,nna:102,cna:103,fna:104,kna:105,lna:106,ona:107,pna:108,rna:109,sna:110,zna:111,mna:112,ina:113,qna:114,una:115,Bna:116,ena:117,jna:118,Cna:119,vna:120,wna:121,gna:122,dna:123,tna:124,yna:125,xna:126};var AIa={Lna:0,Ina:1,Jna:2,Gna:3,Hna:4,Fna:5,Kna:6};var L$a={Coa:0,Boa:1,zoa:2,Aoa:3};var M$a={Noa:0,Loa:1,Eoa:2,Koa:3,Doa:4,Hoa:5,Joa:6,Moa:7,Ioa:8,Goa:9,Foa:10};var N$a={Poa:0,Qoa:1,Ooa:2};g.v($t,J);g.v(au,J);g.v(bu,J);bu.prototype.getState=function(){return oh(this,1)}; bu.prototype.vc=function(a){return H(this,1,a)};g.v(cu,J);g.v(du,J);g.v(eu,J);g.v(fu,J);g.v(gu,J);gu.prototype.lf=function(){return rh(this,1)}; gu.prototype.setVideoId=function(a){return H(this,1,a)};g.v(hu,J);hu.prototype.Lg=function(a){gh(this,1,a)};g.v(iu,J);iu.prototype.Dk=function(){return Rg(this,hu,2)};g.v(ju,J);ju.prototype.hasFeature=function(){return null!=g.Pg(this,1)};g.v(ku,J);g.v(lu,J);g.v(mu,J);mu.prototype.Mf=function(){return sh(this,2)}; var O$a=[1];g.v(nu,J);g.v(ou,J);g.v(pu,J);g.v(qu,J);qu.prototype.getVideoAspectRatio=function(){return fea(this,2)};g.v(ru,J);g.v(tu,J);g.v(uu,J);g.v(vu,J);g.v(wu,J);g.v(xu,J);g.v(yu,J);g.v(zu,J);g.v(Au,J);g.v(Bu,J);g.v(Cu,J);Cu.prototype.getId=function(){return rh(this,1)};g.v(Du,J);g.v(Eu,J);g.v(Fu,J);Fu.prototype.j=function(a,b){return hh(this,5,Eu,a,b)}; var ina=[5];g.v(Gu,J);g.v(Hu,J);g.v(Iu,J);Iu.prototype.xB=function(){return rh(this,30)}; Iu.prototype.j=function(a,b){return hh(this,27,Hu,a,b)}; var jna=[27];g.v(Ju,J);g.v(Ku,J);g.v(Lu,J);g.v(Mu,J);var X2=[1,2,3,4];g.v(Pu,J);g.v(Ru,J);g.v(Su,J);g.v(Tu,J);g.v(Uu,J);g.v(Vu,J);g.v(Wu,J);g.v(Xu,J);g.v(Yu,J);g.v(Zu,J);g.v($u,J);g.v(av,J);av.prototype.j=function(a,b){return Yg(this,1,a,b)}; var kna=[1];g.v(bv,J);bv.prototype.Mf=function(){return sh(this,3)};g.v(cv,J);g.v(dv,J);g.v(ev,J);g.v(fv,J);fv.prototype.lf=function(){return bh(this,dv,2===Zg(this,Y2)?2:-1)}; fv.prototype.setVideoId=function(a){return dh(this,dv,2,Y2,a)}; fv.prototype.getPlaylistId=function(){return bh(this,cv,4===Zg(this,Y2)?4:-1)}; var Y2=[2,3,4,5];g.v(gv,J);gv.prototype.getType=function(){return sh(this,1)}; gv.prototype.lf=function(){return rh(this,3)}; gv.prototype.setVideoId=function(a){return H(this,3,a)};g.v(hv,J);g.v(iv,J);g.v(jv,J);var qJa=[3];g.v(kv,J);g.v(lv,J);g.v(mv,J);g.v(nv,J);g.v(ov,J);g.v(pv,J);g.v(qv,J);g.v(rv,J);g.v(tv,J);g.v(uv,J);uv.prototype.getStarted=function(){return ih(Oda(g.Pg(this,1)),!1)};g.v(vv,J);g.v(wv,J);g.v(xv,J);xv.prototype.getDuration=function(){return oh(this,2)}; xv.prototype.Rk=function(a){H(this,2,a)};g.v(yv,J);g.v(zv,J);g.v(Av,J);Av.prototype.xB=function(){return rh(this,1)};g.v(Bv,J);g.v(Cv,J);g.v(Dv,J);Dv.prototype.gg=function(){return bh(this,Bv,8)}; Dv.prototype.A3=function(){return Rg(this,Bv,8)}; Dv.prototype.getVideoData=function(){return bh(this,Cv,15)}; Dv.prototype.HO=function(a){I(this,Cv,15,a)}; var lna=[4];g.v(Ev,J);g.v(Fv,J);Fv.prototype.j=function(a){return H(this,2,a)};g.v(Gv,J);Gv.prototype.j=function(a){return H(this,1,a)}; var ona=[3];g.v(Hv,J);Hv.prototype.j=function(a){return H(this,1,a)}; Hv.prototype.Dk=function(){return Rg(this,hu,2)};g.v(Iv,J);Iv.prototype.j=function(a){return H(this,1,a)}; Iv.prototype.Dk=function(){return Rg(this,hu,2)};g.v(Jv,J);Jv.prototype.j=function(a){return H(this,1,a)}; Jv.prototype.Dk=function(){return Rg(this,hu,2)};g.v(Kv,J);Kv.prototype.j=function(a){return H(this,1,a)}; Kv.prototype.Dk=function(){return Rg(this,hu,2)};g.v(Lv,J);g.v(Mv,J);Mv.prototype.getId=function(){return rh(this,2)};g.v(Pv,J);Pv.prototype.getVisibilityState=function(){return sh(this,5)}; var qna=[16];g.v(Qv,J);g.v(Rv,J);Rv.prototype.getPlayerType=function(){return sh(this,7)}; Rv.prototype.lf=function(){return rh(this,19)}; Rv.prototype.setVideoId=function(a){return H(this,19,a)}; var rna=[83,68];g.v(Tv,J);g.v(Uv,J);g.v(Vv,J);Vv.prototype.lf=function(){return rh(this,1)}; Vv.prototype.setVideoId=function(a){return H(this,1,a)}; Vv.prototype.j=function(a,b){return hh(this,9,Uv,a,b)}; var sna=[9];g.v(Wv,J);Wv.prototype.j=function(a,b){return hh(this,3,Vv,a,b)}; var tna=[3];g.v(Xv,J);Xv.prototype.lf=function(){return rh(this,1)}; Xv.prototype.setVideoId=function(a){return H(this,1,a)};g.v(Yv,J);g.v(Zv,J);Zv.prototype.j=function(a,b){return hh(this,1,Xv,a,b)}; Zv.prototype.B=function(a,b){return hh(this,2,Yv,a,b)}; var una=[1,2];g.v($v,J);g.v(aw,J);aw.prototype.getId=function(){return rh(this,1)}; aw.prototype.j=function(a,b){return Yg(this,2,a,b)}; var vna=[2];g.v(bw,J);g.v(cw,J);g.v(dw,J);dw.prototype.j=function(a,b){return Yg(this,9,a,b)}; var wna=[9];g.v(ew,J);g.v(fw,J);g.v(gw,J);gw.prototype.getId=function(){return rh(this,1)}; gw.prototype.j=function(a,b){return hh(this,14,cw,a,b)}; gw.prototype.B=function(a,b){return hh(this,17,ew,a,b)}; var xna=[14,17];g.v(hw,J);hw.prototype.B=function(a,b){return hh(this,1,gw,a,b)}; hw.prototype.j=function(a,b){return hh(this,2,aw,a,b)}; var yna=[1,2];g.v(iw,J);g.v(jw,J);jw.prototype.getOrigin=function(){return rh(this,3)}; jw.prototype.Ve=function(){return oh(this,6)};g.v(kw,J);g.v(lw,J);g.v(mw,J);mw.prototype.getContext=function(){return bh(this,lw,33)}; var NB=[2,3,5,6,7,11,13,20,21,22,23,24,28,32,37,45,59,72,73,74,76,78,79,80,85,91,97,100,102,105,111,117,119,126,127,136,146,148,151,156,157,158,159,163,164,168,176,177,178,179,184,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,215,219,222,225,226,227,229,232,233,234,240,241,244,247,248,249,251,254,255,256,257,258,259,260,261,266,270,272,278,288,291,293,300,304,308,309,310,311,313,314,319,320,321,323,324,327,328,330,331,332,334,337,338,340,344,348,350,351,352,353,354, 355,356,357,358,361,363,364,368,369,370,373,374,375,378,380,381,383,388,389,402,403,410,411,412,413,414,415,416,417,418,423,424,425,426,427,429,430,431,439,441,444,448,458,469];var P$a={boa:0,Yna:1,Xna:2,aoa:3,Zna:4,Vna:5,Wna:6};var Q$a={Pta:0,Bta:1,Eta:2,Cta:3,Hta:4,Dta:5,mta:6,Mta:7,wta:8,gta:9,xta:10,Ita:11,Fta:12,pta:13,kta:14,nta:15,Ota:16,hta:17,ita:18,Nta:19,qta:20,lta:21,Lta:22,Uta:23,Tta:24,Qta:25,yta:26,Gta:27,Vta:28,rta:29,fta:30,Sta:31,Rta:32,vta:33,Yta:34,uta:35,Jta:36,Xta:37,zta:38,Kta:39,tta:40,sta:41,jta:42,Ata:43,Wta:44};var R$a={Jua:0,vua:1,yua:2,wua:3,Bua:4,xua:5,jua:6,Gua:7,qua:8,aua:9,rua:10,Cua:11,zua:12,nua:13,hua:14,kua:15,Iua:16,eua:17,fua:18,Hua:19,oua:20,iua:21,Fua:22,Nua:23,Mua:24,Kua:25,sua:26,Aua:27,Oua:28,pua:29,Zta:30,Lua:31,cua:32,Rua:33,Dua:34,Qua:35,tua:36,Eua:37,gua:38,uua:39,Pua:40};var S$a={Awa:0,zwa:1,Bwa:2};var T$a={Cva:0,Ava:1,wva:3,yva:4,zva:5,Bva:6,xva:7};var U$a={Iva:0,Fva:1,Hva:2,Gva:3,Eva:4,Dva:5};var V$a={vwa:0,rwa:1,swa:2,twa:3,uwa:4};var W$a={Gwa:0,Hwa:1,Iwa:2,Fwa:3,Dwa:4,Ewa:5};var MDa={qxa:0,Xwa:1,dxa:2,exa:4,kxa:8,fxa:16,gxa:32,pxa:64,oxa:128,Zwa:256,bxa:512,ixa:1024,axa:2048,cxa:4096,Ywa:8192,hxa:16384,lxa:32768,jxa:65536,mxa:131072,nxa:262144};var zIa={Uxa:0,Txa:1,Sxa:2,Rxa:4};var yIa={Zxa:0,Wxa:1,Xxa:2,aya:3,Yxa:4,Vxa:5};var X$a={Qsa:0,Psa:1,Osa:2};var Y$a={yFa:0,xFa:1,wFa:2};var Z$a={nGa:0,VFa:1,lGa:2,XFa:3,dGa:4,pGa:5,mGa:6,LFa:7,KFa:8,JFa:9,PFa:10,UFa:11,TFa:12,MFa:13,eGa:14,ZFa:15,bGa:16,BFa:17,kGa:18,FFa:19,aGa:20,AFa:21,cGa:22,SFa:23,CFa:24,EFa:25,hGa:26,oGa:27,iGa:28,YFa:29,NFa:30,QFa:31,RFa:32,IFa:33,qGa:34,GFa:35,OFa:36,fGa:37,DFa:38,zFa:39,HFa:41,WFa:42,gGa:43,jGa:44};var $$a={uGa:0,tGa:1,sGa:2,rGa:3};var THa={YGa:0,XGa:1,VGa:2,WGa:7,UGa:8,TGa:25,IGa:3,JGa:4,RGa:5,SGa:27,QGa:28,KGa:9,yGa:10,wGa:11,xGa:6,HGa:12,FGa:13,GGa:14,EGa:15,MGa:16,NGa:17,LGa:18,PGa:19,OGa:20,BGa:26,CGa:21,AGa:22,DGa:23,zGa:24,ZGa:29};var VHa={eHa:0,bHa:1,cHa:2,dHa:3,aHa:4};var UHa={jHa:0,hHa:1,iHa:2,fHa:3,gHa:4};var DHa={qHa:0,kHa:1,mHa:2,lHa:3,nHa:4,oHa:5,pHa:6,rHa:7};var LIa={uoa:0,soa:1,toa:2,poa:3,qoa:4,roa:5};var QIa={DLa:0,CLa:1,vLa:2,ALa:3,wLa:4,zLa:5,BLa:6,yLa:7,xLa:8};var lIa={XLa:0,PLa:1,YLa:2,WLa:4,TLa:8,SLa:16,RLa:32,ULa:64,QLa:128,VLa:256};var MIa={qMa:0,lMa:1,pMa:2,iMa:3,aMa:4,gMa:5,bMa:6,cMa:7,eMa:8,jMa:9,nMa:10,mMa:11,oMa:12,dMa:13,fMa:14,hMa:15,kMa:16,ZLa:17};var jIa={sLa:0,pLa:1,qLa:2,rLa:3};var oIa={KLa:0,MLa:1,JLa:2,FLa:3,LLa:4,GLa:5,HLa:6,ILa:7};var HHa={E1a:0,ila:1,jFa:2,FJa:3,HJa:4,IJa:5,CJa:6,xYa:7,YJa:8,XJa:9,DJa:10,GJa:11,bZa:12,nda:13,vda:14,oda:15,zOa:16,kLa:17,ZJa:18,cKa:19,OLa:20,bKa:21,ELa:22,rMa:23,hKa:24,uLa:25,EJa:26,uYa:27,DWa:28,QQa:29,Hia:30,l5a:31,tLa:32};var GHa={H1a:0,u$:1,tMa:2,sMa:3,SUCCESS:4,iYa:5,Rsa:6,FQa:7,vva:9,jla:10,ana:11,CANCELLED:12,PQa:13,EWa:14,JWa:15,a2a:16};var FHa={pZa:0,gZa:1,lZa:2,kZa:3,hZa:4,iZa:5,cZa:6,oZa:7,nZa:8,fZa:9,eZa:10,jZa:11,mZa:12,dZa:13};var PHa={oOa:0,fOa:1,jOa:2,hOa:3,nOa:4,iOa:5,mOa:6,lOa:7,kOa:8,gOa:9};var aab={wPa:0,vPa:1,uPa:2};var bab={zPa:0,xPa:1,yPa:2};var SHa={ORa:0,NRa:1,MRa:2};var cab={VRa:0,WRa:1};var mJa={cSa:0,aSa:1,bSa:2,dSa:3};var dab={jVa:0,hVa:1,iVa:2};var eab={GXa:0,CXa:1,DXa:2,EXa:3,FXa:4};var nIa={mVa:0,kVa:1,lVa:2};var PIa={GVa:0,DVa:1,EVa:2,FVa:3};var fIa={yga:0,xga:1,vga:2,wga:3};var FIa={cia:0,Wha:1,Zha:2,aia:3,Yha:4,bia:5,dia:6,Xha:7};var $Ha={Fla:0,Ela:1,Gla:2};var KHa={C1a:0,Bka:1,Cka:2,Aka:3,Dka:4};var JHa={D1a:0,mPa:1,XNa:2};var IIa={ata:0,Wsa:1,Ssa:2,Zsa:3,Usa:4,Xsa:5,Vsa:6,Tsa:7,Ysa:8};var KIa={ywa:0,xwa:1,wwa:2};var EIa={iFa:0,hFa:1,gFa:2};var HIa={rJa:0,qJa:1,pJa:2};var DIa={tRa:0,rRa:1,sRa:2};var dIa={mYa:0,lYa:1,kYa:2};var fab={EEa:0,AEa:1,BEa:2,CEa:3,DEa:4,FEa:5};var gab={xOa:0,uOa:1,sOa:2,pOa:3,tOa:4,vOa:5,qOa:6,rOa:7,wOa:8,yOa:9};var hab={LYa:0,KYa:1,MYa:2};var lJa={h5a:0,T4a:1,Z4a:2,Y4a:3,S4a:4,i5a:5,f5a:6,U4a:7,V4a:8,X4a:9,W4a:12,P4a:10,g5a:11,b5a:13,c5a:14,j5a:15,a5a:16,d5a:17,Q4a:18,e5a:19,R4a:20,k5a:21};var hJa={uxa:0,sxa:1,txa:2,rxa:3};g.v(nw,J);g.v(ow,J);ow.prototype.lf=function(){var a=1===Zg(this,SA)?1:-1;return g.Pg(this,a)}; ow.prototype.setVideoId=function(a){return $g(this,1,SA,a)}; ow.prototype.getPlaylistId=function(){var a=2===Zg(this,SA)?2:-1;return g.Pg(this,a)}; var SA=[1,2];g.v(pw,J);pw.prototype.getContext=function(){return bh(this,Hr,1)}; var zna=[3];var zK=new g.cq("changeKeyedMarkersVisibilityCommand");var iab=new g.cq("changeMarkersVisibilityCommand");var JBa=new g.cq("loadMarkersCommand");var DBa=new g.cq("shoppingOverlayRenderer");g.aCa=new g.cq("musicEmbeddedPlayerOverlayVideoDetailsRenderer");var jab=new g.cq("adFeedbackEndpoint");var WMa=new g.cq("phoneDialerEndpoint");var VMa=new g.cq("sendSmsEndpoint");var ZBa=new g.cq("copyTextEndpoint");var kab=new g.cq("webPlayerShareEntityServiceEndpoint");g.xK=new g.cq("urlEndpoint");g.wK=new g.cq("watchEndpoint");var lab=new g.cq("watchPlaylistEndpoint");var cQ={Gia:0,Fia:1,Eia:2,Cia:3,Dia:4};var kIa={WJa:0,UJa:1,VJa:2,TJa:3};var mab={mKa:0,lKa:1,jKa:2,kKa:3};var nab={qKa:0,nKa:1,oKa:2,pKa:3,rKa:4};var oab={hLa:0,cLa:1,iLa:2,eLa:3,VKa:4,NKa:37,yKa:5,vKa:36,AKa:38,IKa:39,JKa:40,EKa:41,gLa:42,BKa:27,SKa:31,UKa:6,WKa:7,XKa:8,YKa:9,ZKa:10,aLa:11,dLa:29,CKa:30,TKa:32,MKa:12,LKa:13,xKa:14,RKa:15,sKa:16,uKa:35,zKa:43,DKa:28,PKa:17,OKa:18,QKa:19,fLa:20,HKa:25,wKa:33,jLa:21,KKa:22,GKa:26,FKa:34,bLa:23,tKa:24};var SIa={oLa:0,mLa:1,lLa:2,nLa:3};var aQ={IWa:0,FWa:1,HWa:2,GWa:3};var IHa={aZa:0,OYa:1,NYa:2,TYa:3,ZYa:4,PYa:5,WYa:6,UYa:7,VYa:8,QYa:9,XYa:10,RYa:11,YYa:12,SYa:13};var iIa={NLa:0,iKa:1,aKa:2,fKa:3,gKa:4,dKa:5,eKa:6};var pab={RRa:0,QRa:1};var qab={JXa:0,IXa:1,HXa:2,KXa:3};var rab={NXa:0,MXa:1,LXa:2};var sab={XXa:0,RXa:1,SXa:2,TXa:5,WXa:7,YXa:8,UXa:9,VXa:10};var tab={QXa:0,PXa:1,OXa:2};var $Ka=new g.cq("compositeVideoOverlayRenderer");var fNa=new g.cq("miniplayerRenderer");var pBa=new g.cq("playerMutedAutoplayOverlayRenderer"),qBa=new g.cq("playerMutedAutoplayEndScreenRenderer");var aya=new g.cq("unserializedPlayerResponse"),rBa=new g.cq("unserializedPlayerResponse");var uab=new g.cq("playlistEditEndpoint");var Z2;g.uK=new g.cq("buttonRenderer");Z2=new g.cq("toggleButtonRenderer");var $P={F1a:0,FBa:4,vRa:1,rva:2,Kha:3,GBa:5,yRa:6,sva:7,tva:8,uva:9};var vab=new g.cq("resolveUrlCommandMetadata");var wab=new g.cq("modifyChannelNotificationPreferenceEndpoint");var QEa=new g.cq("pingingEndpoint");var xab=new g.cq("unsubscribeEndpoint");var HGa={I1a:0,wIa:1,sIa:2,rIa:3,SHa:71,RHa:4,uIa:5,xIa:6,vIa:16,tIa:69,THa:70,OHa:56,PHa:64,QHa:65,fIa:7,VHa:8,aIa:9,WHa:10,ZHa:11,YHa:12,XHa:13,cIa:43,iIa:44,jIa:45,kIa:46,lIa:47,mIa:48,nIa:49,oIa:50,pIa:51,qIa:52,gIa:53,hIa:54,eIa:63,UHa:14,dIa:15,bIa:68,a4a:17,j4a:18,t3a:19,Z3a:20,N3a:21,b4a:22,l3a:23,V3a:24,Q3a:25,x3a:26,j3a:27,E3a:28,Y3a:29,g3a:30,f3a:31,h3a:32,m3a:33,W3a:34,U3a:35,O3a:36,S3a:37,c4a:38,A3a:39,i4a:40,G3a:41,v3a:42,d4a:55,R3a:66,z4a:67,K3a:57,X3a:58,n3a:59,i3a:60,B3a:61,P3a:62};var yab={DSa:0,FSa:1,wSa:2,oSa:3,ASa:4,BSa:5,GSa:6,gSa:7,hSa:8,mSa:9,xSa:10,pSa:11,tSa:12,rSa:13,sSa:14,uSa:15,vSa:19,jSa:16,zSa:17,ySa:18,lSa:20,qSa:21,iSa:22,ESa:23,nSa:24,kSa:25,CSa:26};g.NK=new g.cq("subscribeButtonRenderer");var zab=new g.cq("subscribeEndpoint");var gIa={qVa:0,oVa:1,pVa:2};g.XKa=new g.cq("buttonViewModel");var MJa={YSa:0,ZSa:1,XSa:2,TSa:3,WSa:4,USa:5,SSa:6,VSa:7};var txa={NEa:"LIVING_ROOM_APP_MODE_UNSPECIFIED",KEa:"LIVING_ROOM_APP_MODE_MAIN",JEa:"LIVING_ROOM_APP_MODE_KIDS",LEa:"LIVING_ROOM_APP_MODE_MUSIC",MEa:"LIVING_ROOM_APP_MODE_UNPLUGGED",IEa:"LIVING_ROOM_APP_MODE_GAMING"};var yBa=new g.cq("autoplaySwitchButtonRenderer");var PJ,BBa,qya,xOa;PJ=new g.cq("decoratedPlayerBarRenderer");BBa=new g.cq("chapteredPlayerBarRenderer");qya=new g.cq("multiMarkersPlayerBarRenderer");xOa=new g.cq("chapterRenderer");g.pOa=new g.cq("markerRenderer");var vK=new g.cq("desktopOverlayConfigRenderer");var EBa=new g.cq("gatedActionsOverlayViewModel");var tOa=new g.cq("heatMarkerRenderer");var sOa=new g.cq("heatmapRenderer");var IBa=new g.cq("watchToWatchTransitionRenderer");var bCa=new g.cq("playlistPanelRenderer");var tK=new g.cq("suggestedActionTimeRangeTrigger"),zBa=new g.cq("suggestedActionsRenderer"),ABa=new g.cq("suggestedActionRenderer");var uOa=new g.cq("timedMarkerDecorationRenderer");var Aab={y4a:0,u4a:1,v4a:2,x4a:3,w4a:4,t4a:5,s4a:6,o4a:7,q4a:8,r4a:9,p4a:10,m4a:11,l4a:12,k4a:13,n4a:14};var PP={N0:0,USER:74,eha:459,TRACK:344,fha:493,tha:419,wya:494,Bia:337,LHa:237,kwa:236,Zma:3,A4a:78,D4a:248,AIa:79,pQa:246,K4a:247,LJa:382,KJa:383,JJa:384,pYa:235,VIDEO:4,G4a:186,tla:126,BXa:127,Bla:117,lQa:125,qRa:151,Tna:515,lla:6,eva:132,jva:154,hva:222,iva:155,fva:221,gva:156,AXa:209,zXa:210,T2a:7,EQa:124,nVa:96,wJa:97,a3a:93,b3a:275,Tha:110,Sha:120,tPa:121,Mwa:72,M2a:351,HSa:495,K2a:377,N2a:378,bta:496,dta:497,ISa:498,Uha:381,L2a:386,c3a:387,Yga:410,Axa:437,opa:338,Rha:380,s$:352,cOa:113,dOa:114, FYa:82,GYa:112,Rna:354,BYa:21,loa:523,noa:375,moa:514,pda:302,Cla:136,Nwa:85,Cda:22,L4a:23,JYa:252,IYa:253,Qha:254,mda:165,yXa:304,koa:408,nya:421,AYa:422,U2a:423,jRa:463,PLAYLIST:63,R2a:27,Q2a:28,S2a:29,qXa:30,tXa:31,sXa:324,uXa:32,eia:398,wXa:399,xXa:400,yJa:411,xJa:413,zJa:414,BJa:415,xQa:39,yQa:143,CQa:144,tQa:40,uQa:145,wQa:146,E2a:504,BQa:325,MOa:262,OOa:263,NOa:264,QOa:355,ROa:249,TOa:250,SOa:251,Vka:46,SRa:49,URa:50,gda:62,tHa:105,qya:242,CWa:397,CPa:83,bOa:135,Vga:87,Xga:153,Wga:187,Qga:89, Pga:88,Rga:139,Tga:91,Sga:104,Uga:137,Gka:99,T1a:100,uJa:326,Nna:148,Mna:149,oXa:150,pXa:395,xha:166,Dha:199,yha:534,Cha:167,zha:168,Hha:169,Iha:170,Aha:171,Bha:172,Eha:179,Fha:180,Jha:512,Gha:513,i2a:200,U1a:476,j2a:213,uha:191,POa:192,JOa:305,KOa:306,VOa:329,zVa:327,AVa:328,FOa:195,GOa:197,eOa:301,AOa:223,BOa:224,lya:227,Dxa:396,xya:356,sya:490,yya:394,Iia:230,Lha:297,n2a:298,kya:342,Una:346,Ksa:245,HYa:261,Qwa:265,Vwa:266,Rwa:267,Owa:268,Pwa:269,Uwa:270,Swa:271,Twa:272,yEa:303,pDa:391,qDa:503, sDa:277,GEa:499,HEa:500,wEa:501,zEa:278,rDa:489,Voa:332,Xoa:333,Toa:334,Woa:335,Uoa:336,Fka:340,fya:341,D2a:349,C2a:420,AQa:281,vQa:282,TRa:286,rXa:288,zQa:291,DQa:292,oDa:295,vXa:296,nDa:299,rda:417,Bya:308,M4a:309,N4a:310,O4a:311,bea:350,l2a:418,lwa:424,V1a:425,MJa:429,vJa:430,vya:426,yWa:460,tJa:427,SQa:428,TQa:542,RQa:461,BVa:464,yHa:431,wHa:432,DHa:433,vHa:434,AHa:435,BHa:436,xHa:438,CHa:439,EHa:453,zHa:454,uHa:472,GPa:516,FPa:517,IPa:518,HPa:544,JPa:519,tYa:520,DPa:521,EPa:522,tya:543,lPa:440, nPa:441,rPa:442,jPa:448,kPa:449,oPa:450,sPa:451,qPa:491,POST:445,iPa:446,pPa:447,MPa:456,NJa:483,NPa:529,LPa:458,XRa:480,YRa:502,ZRa:482,gya:452,KSa:465,LSa:466,bna:467,KPa:468,Yoa:469,Tka:470,Ska:471,rya:474,eya:475,Rla:477,hya:478,ova:479,WOa:484,UOa:485,IOa:486,HOa:487,wda:488,xoa:492,apa:505,joa:506,V2a:507,Kza:508,nva:509,pva:510,qva:511,m2a:524,O2a:530,zRa:531,Zoa:532,QSa:533,iya:535,Aya:536,oya:537,uya:538,jya:539,pya:540,mya:541};var Fta=new g.cq("cipher");var bya=new g.cq("playerVars");var sBa=new g.cq("playerVars");var $2=g.Ea.window,Bab,Cab,qw=(null==$2?void 0:null==(Bab=$2.yt)?void 0:Bab.config_)||(null==$2?void 0:null==(Cab=$2.ytcfg)?void 0:Cab.data_)||{};g.Fa("yt.config_",qw);var zw=[];var Ina=/^[\w.]*$/,Gna={q:!0,search_query:!0},Fna=String(Dw);var Jna=new function(){var a=window.document;this.j=window;this.u=a}; g.Fa("yt.ads_.signals_.getAdSignalsString",function(a){return Ew(Nw(a))});g.Ra();var Mna="XMLHttpRequest"in g.Ea?function(){return new XMLHttpRequest}:null;var Ona={Authorization:"AUTHORIZATION","X-Goog-EOM-Visitor-Id":"EOM_VISITOR_DATA","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-Youtube-Domain-Admin-State":"DOMAIN_ADMIN_STATE","X-Youtube-Chrome-Connected":"CHROME_CONNECTED_HEADER","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-YouTube-Delegation-Context":"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT","X-YouTube-Device":"DEVICE","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL", "X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM","X-Goog-AuthUser":"SESSION_INDEX","X-Goog-PageId":"DELEGATED_SESSION_ID"},Qna="app debugcss debugjs expflag force_ad_params force_ad_encrypted force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" ").concat(g.u(A9a)),Vna=!1,hEa=Tw;g.v(Xw,bb);$w.prototype.then=function(a,b,c){return this.j?this.j.then(a,b,c):1===this.B&&a?(a=a.call(c,this.u))&&"function"===typeof a.then?a:bx(a):2===this.B&&b?(a=b.call(c,this.u))&&"function"===typeof a.then?a:ax(a):this}; $w.prototype.getValue=function(){return this.u}; $w.prototype.$goog_Thenable=!0;var cx=!1;var Ry=ox||px;var goa=/^([0-9\.]+):([0-9\.]+)$/;g.v(Gx,bb);Gx.prototype.name="BiscottiError";g.v(Fx,bb);Fx.prototype.name="BiscottiMissingError";var Ix={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},Hx=null;Jx.prototype.tB=function(a,b){a={};var c=ifa([]);c&&(a.Authorization=c,c=b=null==b?void 0:b.sessionIndex,void 0===c&&(c=Number(g.tw("SESSION_INDEX",0)),c=isNaN(c)?0:c),g.vw("voice_search_auth_header_removal")||(a["X-Goog-AuthUser"]=c.toString()),"INNERTUBE_HOST_OVERRIDE"in qw||(a["X-Origin"]=window.location.origin),void 0===b&&"DELEGATED_SESSION_ID"in qw&&(a["X-Goog-PageId"]=g.tw("DELEGATED_SESSION_ID")));return a};var sz={identityType:"UNAUTHENTICATED_IDENTITY_TYPE_UNKNOWN"};var Ox=g.Ga("ytglobal.prefsUserPrefsPrefs_")||{};g.Fa("ytglobal.prefsUserPrefsPrefs_",Ox);var Lx;g.k=roa.prototype;g.k.get=function(a,b){Rx(a);Qx(a);a=void 0!==Ox[a]?Ox[a].toString():null;return null!=a?a:b?b:""}; g.k.set=function(a,b){Rx(a);Qx(a);if(null==b)throw Error("ExpectedNotNull");Ox[a]=b.toString()}; g.k.remove=function(a){Rx(a);Qx(a);delete Ox[a]}; g.k.save=function(){var a=!0;g.vw("web_secure_pref_cookie_killswitch")&&(a=!1);g.ex(this.j,this.dump(),63072E3,this.u,a)}; g.k.clear=function(){g.gba(Ox)}; g.k.dump=function(){var a=[],b;for(b in Ox)Ox.hasOwnProperty(b)&&a.push(b+"="+encodeURIComponent(String(Ox[b])));return a.join("&")}; g.k.parse=function(a){a=decodeURIComponent(a).split("&");for(var b=0;b=L.xm)||l.j.version>=O||l.j.objectStoreNames.contains(F)||E.push(F)}m=E;if(0===m.length){z.Ka(5);break}n=Object.keys(c.options.Aq);p=l.objectStoreNames(); if(c.Dc.options.version+1)throw r.close(),c.B=!1,Yoa(c,w);return z.return(r);case 8:throw b(),q instanceof Error&&!g.vw("ytidb_async_stack_killswitch")&& (q.stack=q.stack+"\n"+h.substring(h.indexOf("\n")+1)),sy(q,c.name,"",null!=(x=c.options.version)?x:-1);}})} function b(){c.j===d&&(c.j=void 0)} var c=this;if(!this.B)throw Yoa(this);if(this.j)return this.j;var d,e={blocking:function(f){f.close()}, closed:b,O8:b,upgrade:this.options.upgrade};return this.j=d=a()};var Py=new Ny("YtIdbMeta",{Aq:{databases:{xm:1}},upgrade:function(a,b){b(1)&&g.Cy(a,"databases",{keyPath:"actualName"})}});var Uy,Ty=new function(){}(new function(){});new g.cj;g.v(Xy,Ny);Xy.prototype.u=function(a,b,c){c=void 0===c?{}:c;return(this.options.shared?gpa:fpa)(a,b,Object.assign({},c))}; Xy.prototype.delete=function(a){a=void 0===a?{}:a;return(this.options.shared?kpa:hpa)(this.name,a)};var Dab={},mpa=g.Yy("ytGcfConfig",{Aq:(Dab.coldConfigStore={xm:1},Dab.hotConfigStore={xm:1},Dab),shared:!1,upgrade:function(a,b){b(1)&&(g.Iy(g.Cy(a,"hotConfigStore",{keyPath:"key",autoIncrement:!0}),"hotTimestampIndex","timestamp"),g.Iy(g.Cy(a,"coldConfigStore",{keyPath:"key",autoIncrement:!0}),"coldTimestampIndex","timestamp"))}, version:1});tz.prototype.mp=function(){return{version:this.version,args:this.args}};uz.prototype.toString=function(){return this.topic};var Eab=g.Ga("ytPubsub2Pubsub2Instance")||new g.Uo;g.Uo.prototype.subscribe=g.Uo.prototype.subscribe;g.Uo.prototype.unsubscribeByKey=g.Uo.prototype.Hh;g.Uo.prototype.publish=g.Uo.prototype.ma;g.Uo.prototype.clear=g.Uo.prototype.clear;g.Fa("ytPubsub2Pubsub2Instance",Eab);var xz=g.Ga("ytPubsub2Pubsub2SubscribedKeys")||{};g.Fa("ytPubsub2Pubsub2SubscribedKeys",xz);var yz=g.Ga("ytPubsub2Pubsub2TopicToKeys")||{};g.Fa("ytPubsub2Pubsub2TopicToKeys",yz);var Mpa=g.Ga("ytPubsub2Pubsub2IsAsync")||{}; g.Fa("ytPubsub2Pubsub2IsAsync",Mpa);g.Fa("ytPubsub2Pubsub2SkipSubKey",null);var Ppa=g.ww("max_body_size_to_compress",5E5),Qpa=g.ww("min_body_size_to_compress",500),Bz=!0,Upa=0,Spa=0,Tpa=g.ww("compression_performance_threshold",250),Vpa=g.ww("slow_compressions_before_abandon_count",10);g.k=Fz.prototype;g.k.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(Ez(this)&&this.Wf){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.kh.set(d,this.Af).then(function(e){d.id=e;c.Vg.Uh()&&c.ZB(d)}).catch(function(e){c.ZB(d); Gz(c,e)})}else this.Mq(a,b)}; g.k.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(Ez(this)&&this.Wf){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.qb&&this.qb("nwl_skip_retry")&&(e.skipRetry=c);if(this.Vg.Uh()||this.qb&&this.qb("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var f=b.onError?b.onError:function(){}; b.onError=function(h,l){return g.A(function(m){if(1==m.j)return g.y(m,d.kh.set(e,d.Af).catch(function(n){Gz(d,n)}),2); f(h,l);g.oa(m)})}}this.Mq(a,b,e.skipRetry)}else this.kh.set(e,this.Af).catch(function(h){d.Mq(a,b,e.skipRetry); Gz(d,h)})}else this.Mq(a,b,this.qb&&this.qb("nwl_skip_retry")&&c)}; g.k.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(Ez(this)&&this.Wf){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.kh.Sx(d.id,c.Af):e=!0;c.Vg.wv&&c.qb&&c.qb("vss_network_hint")&&c.Vg.wv(!0);f(h,l)}; this.Mq(d.url,d.options);this.kh.set(d,this.Af).then(function(h){d.id=h;e&&c.kh.Sx(d.id,c.Af)}).catch(function(h){Gz(c,h)})}else this.Mq(a,b)}; g.k.Qz=function(){var a=this;if(!Ez(this))throw g.ty("throttleSend");this.j||(this.j=this.Um.Bi(function(){var b;return g.A(function(c){if(1==c.j)return g.y(c,a.kh.vT("NEW",a.Af),2);if(3!=c.j)return b=c.u,b?g.y(c,a.ZB(b),3):(a.qK(),c.return());a.j&&(a.j=0,a.Qz());g.oa(c)})},this.FX))}; g.k.qK=function(){this.Um.zm(this.j);this.j=0}; g.k.ZB=function(a){var b=this,c,d;return g.A(function(e){switch(e.j){case 1:if(!Ez(b))throw c=g.ty("immediateSend"),c;if(void 0===a.id){e.Ka(2);break}return g.y(e,b.kh.d4(a.id,b.Af),3);case 3:(d=e.u)||b.uy(Error("The request cannot be found in the database."));case 2:if(b.CH(a,b.QW)){e.Ka(4);break}b.uy(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===a.id){e.Ka(5);break}return g.y(e,b.kh.Sx(a.id,b.Af),5);case 5:return e.return();case 4:a.skipRetry||(a=bqa(b,a));if(!a){e.Ka(0); break}if(!a.skipRetry||void 0===a.id){e.Ka(8);break}return g.y(e,b.kh.Sx(a.id,b.Af),8);case 8:b.Mq(a.url,a.options,!!a.skipRetry),g.oa(e)}})}; g.k.CH=function(a,b){a=a.timestamp;return this.now()-a>=b?!1:!0}; g.k.FH=function(){var a=this;if(!Ez(this))throw g.ty("retryQueuedRequests");this.kh.vT("QUEUED",this.Af).then(function(b){b&&!a.CH(b,a.JW)?a.Um.Bi(function(){return g.A(function(c){if(1==c.j)return void 0===b.id?c.Ka(2):g.y(c,a.kh.qO(b.id,a.Af),2);a.FH();g.oa(c)})}):a.Vg.Uh()&&a.Qz()})};var Hz;var Fab={},lqa=g.Yy("ServiceWorkerLogsDatabase",{Aq:(Fab.SWHealthLog={xm:1},Fab),shared:!0,upgrade:function(a,b){b(1)&&g.Iy(g.Cy(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, version:1});var Kz={},rqa=0;Lz.prototype.requestComplete=function(a,b){b&&(this.u=!0);a=this.removeParams(a);this.j.get(a)||this.j.set(a,b)}; Lz.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.j.get(a))?!1:!1===a&&this.u?!0:null}; Lz.prototype.removeParams=function(a){return a.split("?")[0]}; Lz.prototype.removeParams=Lz.prototype.removeParams;Lz.prototype.isEndpointCFR=Lz.prototype.isEndpointCFR;Lz.prototype.requestComplete=Lz.prototype.requestComplete;Lz.getInstance=Mz;var Nz;g.v(Pz,g.yd);g.k=Pz.prototype;g.k.Uh=function(){return this.j.Uh()}; g.k.wv=function(a){this.j.j=a}; g.k.S2=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; g.k.h2=function(){this.u=!0}; g.k.Qa=function(a,b){return this.j.Qa(a,b)}; g.k.IH=function(a){a=ko(this.j,a);a.then(function(b){g.vw("use_cfr_monitor")&&Mz().requestComplete("generate_204",b)}); return a}; Pz.prototype.sendNetworkCheckRequest=Pz.prototype.IH;Pz.prototype.listen=Pz.prototype.Qa;Pz.prototype.enableErrorFlushing=Pz.prototype.h2;Pz.prototype.getWindowStatus=Pz.prototype.S2;Pz.prototype.networkStatusHint=Pz.prototype.wv;Pz.prototype.isNetworkAvailable=Pz.prototype.Uh;Pz.getInstance=tqa;g.v(g.Qz,g.yd);g.Qz.prototype.Uh=function(){var a=g.Ga("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.u)():!0}; g.Qz.prototype.wv=function(a){var b=g.Ga("yt.networkStatusManager.instance.networkStatusHint").bind(this.u);b&&b(a)}; g.Qz.prototype.IH=function(a){var b=this,c;return g.A(function(d){c=g.Ga("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.u);return g.vw("skip_network_check_if_cfr")&&Mz().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.wv((null==(f=window.navigator)?void 0:f.onLine)||!0);e(b.Uh())})):c?d.return(c(a)):d.return(!0)})};var Rz;g.v(Sz,Fz);Sz.prototype.writeThenSend=function(a,b){b||(b={});g.Ux()||(this.Wf=!1);Fz.prototype.writeThenSend.call(this,a,b)}; Sz.prototype.sendThenWrite=function(a,b,c){b||(b={});g.Ux()||(this.Wf=!1);Fz.prototype.sendThenWrite.call(this,a,b,c)}; Sz.prototype.sendAndWrite=function(a,b){b||(b={});g.Ux()||(this.Wf=!1);Fz.prototype.sendAndWrite.call(this,a,b)}; Sz.prototype.awaitInitialization=function(){return this.u.promise};var yqa=g.Ea.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1};g.Fa("ytNetworklessLoggingInitializationOptions",yqa);g.Uz.prototype.isReady=function(){!this.config_&&zpa()&&(this.config_=g.qz());return!!this.config_};var Gab=0,Wz=g.Bc?"webkit":Kl?"moz":g.Je?"ms":g.mI?"o":"",Hab=g.Ga("ytDomDomGetNextId")||function(){return++Gab}; g.Fa("ytDomDomGetNextId",Hab);var Aqa={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};Yz.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; Yz.prototype.uU=function(){return this.event?!1===this.event.returnValue:!1}; Yz.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; Yz.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Zz=g.Ea.ytEventsEventsListeners||{};g.Fa("ytEventsEventsListeners",Zz);var Dqa=g.Ea.ytEventsEventsCounter||{count:0};g.Fa("ytEventsEventsCounter",Dqa);var xra=Dd(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a}),Eqa=Dd(function(){var a=!1; try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a});g.Sa(jA,g.C);jA.prototype.Y=function(a){void 0===a.j&&Bqa(a);var b=a.j;void 0===a.u&&Bqa(a);this.j=new g.me(b,a.u)}; jA.prototype.ws=function(){return this.j||new g.me}; jA.prototype.ea=function(){if(this.j){var a=(0,g.M)();if(0!=this.C){var b=this.I,c=this.j,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.C);this.u[this.B]=.5c;c++)b+=this.u[c]||0;3<=b&&this.J();this.D=d}this.C=a;this.I=this.j;this.B=(this.B+1)%4}}; jA.prototype.ra=function(){window.clearInterval(this.T);g.aA(this.oa)};var nA={};var Iab,qA,sA;Iab=g.Ea.ytPubsubPubsubInstance||new g.Uo;qA=g.Ea.ytPubsubPubsubSubscribedKeys||{};sA=g.Ea.ytPubsubPubsubTopicToKeys||{};g.rA=g.Ea.ytPubsubPubsubIsSynchronous||{};g.Uo.prototype.subscribe=g.Uo.prototype.subscribe;g.Uo.prototype.unsubscribeByKey=g.Uo.prototype.Hh;g.Uo.prototype.publish=g.Uo.prototype.ma;g.Uo.prototype.clear=g.Uo.prototype.clear;g.Fa("ytPubsubPubsubInstance",Iab);g.Fa("ytPubsubPubsubTopicToKeys",sA);g.Fa("ytPubsubPubsubIsSynchronous",g.rA); g.Fa("ytPubsubPubsubSubscribedKeys",qA);var zA=Symbol("injectionDeps");wA.prototype.toString=function(){return"InjectionToken("+this.name+")"}; Kqa.prototype.resolve=function(a){return a instanceof xA?AA(this,a.key,[],!0):AA(this,a,[])};var BA;DA.prototype.storePayload=function(a,b){a=EA(a);this.store[a]?this.store[a].push(b):(this.j={},this.store[a]=[b]);this.u++;return a}; DA.prototype.extractMatchingEntries=function(a){a=Mqa(this,a);for(var b=[],c=0;c=this.start&&(aSab.length)Qab=void 0;else{var Uab=Rab.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);Qab=Uab&&6===Uab.length?Number(Uab[5].replace("_",".")):0}var lK=Qab,GS=0<=lK;var g3={},Ssa=(g3.auto_search="LATENCY_ACTION_AUTO_SEARCH",g3.ad_to_ad="LATENCY_ACTION_AD_TO_AD",g3.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",g3["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",g3.app_startup="LATENCY_ACTION_APP_STARTUP",g3["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",g3["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",g3["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",g3["asset.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS", g3["asset.composition"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION",g3["asset.embeds"]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS",g3["asset.issues"]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES",g3["asset.licenses"]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES",g3["asset.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA",g3["asset.ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP",g3["asset.policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY",g3["asset.references"]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES", g3["asset.sound_recordings"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS",g3["song.analytics"]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS",g3.browse="LATENCY_ACTION_BROWSE",g3.cast_splash="LATENCY_ACTION_CAST_SPLASH",g3.channels="LATENCY_ACTION_CHANNELS",g3.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",g3["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",g3["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",g3["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST", g3["channel.content.promotions"]="LATENCY_ACTION_CREATOR_PROMOTION_LIST",g3["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",g3["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",g3["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",g3["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",g3["channel.music_storefront"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT",g3["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS",g3["channel.translations"]= "LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",g3["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",g3["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",g3.chips="LATENCY_ACTION_CHIPS",g3["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",g3["dialog.video_copyright"]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT",g3["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",g3.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",g3.embed="LATENCY_ACTION_EMBED", g3.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",g3.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",g3.explore="LATENCY_ACTION_EXPLORE",g3.home="LATENCY_ACTION_HOME",g3.library="LATENCY_ACTION_LIBRARY",g3.live="LATENCY_ACTION_LIVE",g3.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",g3.onboarding="LATENCY_ACTION_ONBOARDING",g3.owner="LATENCY_ACTION_CREATOR_CMS_DASHBOARD",g3["owner.allowlist"]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST",g3["owner.analytics"]= "LATENCY_ACTION_CREATOR_CMS_ANALYTICS",g3["owner.art_tracks"]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS",g3["owner.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSETS",g3["owner.asset_groups"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS",g3["owner.campaigns"]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS",g3["owner.channels"]="LATENCY_ACTION_CREATOR_CMS_CHANNELS",g3["owner.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS",g3["owner.claims"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",g3["owner.claims.manual"]= "LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",g3["owner.delivery"]="LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY",g3["owner.issues"]="LATENCY_ACTION_CREATOR_CMS_ISSUES",g3["owner.licenses"]="LATENCY_ACTION_CREATOR_CMS_LICENSES",g3["owner.pitch_music"]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC",g3["owner.policies"]="LATENCY_ACTION_CREATOR_CMS_POLICIES",g3["owner.releases"]="LATENCY_ACTION_CREATOR_CMS_RELEASES",g3["owner.reports"]="LATENCY_ACTION_CREATOR_CMS_REPORTS",g3["owner.videos"]="LATENCY_ACTION_CREATOR_CMS_VIDEOS", g3.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",g3.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",g3.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",g3.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",g3["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",g3["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",g3.prebuffer="LATENCY_ACTION_PREBUFFER",g3.prefetch="LATENCY_ACTION_PREFETCH",g3.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS", g3.profile_switcher="LATENCY_ACTION_LOGIN",g3.reel_watch="LATENCY_ACTION_REEL_WATCH",g3.results="LATENCY_ACTION_RESULTS",g3["promotion.edit"]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT",g3.search_ui="LATENCY_ACTION_SEARCH_UI",g3.search_suggest="LATENCY_ACTION_SUGGEST",g3.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",g3.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",g3.seek="LATENCY_ACTION_PLAYER_SEEK",g3.settings="LATENCY_ACTION_SETTINGS",g3.store="LATENCY_ACTION_STORE",g3.tenx="LATENCY_ACTION_TENX", g3.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",g3.watch="LATENCY_ACTION_WATCH",g3.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",g3["watch,watch7"]="LATENCY_ACTION_WATCH",g3["watch,watch7_html5"]="LATENCY_ACTION_WATCH",g3["watch,watch7ad"]="LATENCY_ACTION_WATCH",g3["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",g3.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",g3.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",g3["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",g3["video.claims"]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS", g3["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",g3["video.copyright"]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT",g3["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",g3["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",g3["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",g3["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",g3["video.live_streaming"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",g3["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION", g3["video.policy"]="LATENCY_ACTION_CREATOR_VIDEO_POLICY",g3["video.rights_management"]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT",g3["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",g3.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",g3.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",g3.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",g3.gel_compression="LATENCY_ACTION_GEL_COMPRESSION",g3.gel_jspb_serialize="LATENCY_ACTION_GEL_JSPB_SERIALIZE", g3),h3={},Tsa=(h3.ad_allowed="adTypesAllowed",h3.yt_abt="adBreakType",h3.ad_cpn="adClientPlaybackNonce",h3.ad_docid="adVideoId",h3.yt_ad_an="adNetworks",h3.ad_at="adType",h3.aida="appInstallDataAgeMs",h3.browse_id="browseId",h3.p="httpProtocol",h3.t="transportProtocol",h3.cs="commandSource",h3.cpn="clientPlaybackNonce",h3.ccs="creatorInfo.creatorCanaryState",h3.ctop="creatorInfo.topEntityType",h3.csn="clientScreenNonce",h3.docid="videoId",h3.GetHome_rid="requestIds",h3.GetSearch_rid="requestIds", h3.GetPlayer_rid="requestIds",h3.GetWatchNext_rid="requestIds",h3.GetBrowse_rid="requestIds",h3.GetLibrary_rid="requestIds",h3.is_continuation="isContinuation",h3.is_nav="isNavigation",h3.b_p="kabukiInfo.browseParams",h3.is_prefetch="kabukiInfo.isPrefetch",h3.is_secondary_nav="kabukiInfo.isSecondaryNav",h3.nav_type="kabukiInfo.navigationType",h3.prev_browse_id="kabukiInfo.prevBrowseId",h3.query_source="kabukiInfo.querySource",h3.voz_type="kabukiInfo.vozType",h3.yt_lt="loadType",h3.mver="creatorInfo.measurementVersion", h3.yt_ad="isMonetized",h3.nr="webInfo.navigationReason",h3.nrsu="navigationRequestedSameUrl",h3.pnt="performanceNavigationTiming",h3.prt="playbackRequiresTap",h3.plt="playerInfo.playbackType",h3.pis="playerInfo.playerInitializedState",h3.paused="playerInfo.isPausedOnLoad",h3.yt_pt="playerType",h3.fmt="playerInfo.itag",h3.yt_pl="watchInfo.isPlaylist",h3.yt_pre="playerInfo.preloadType",h3.yt_ad_pr="prerollAllowed",h3.pa="previousAction",h3.yt_red="isRedSubscriber",h3.rce="mwebInfo.responseContentEncoding", h3.rc="resourceInfo.resourceCache",h3.scrh="screenHeight",h3.scrw="screenWidth",h3.st="serverTimeMs",h3.ssdm="shellStartupDurationMs",h3.br_trs="tvInfo.bedrockTriggerState",h3.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",h3.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",h3.label="tvInfo.label",h3.is_mdx="tvInfo.isMdx",h3.preloaded="tvInfo.isPreloaded",h3.aac_type="tvInfo.authAccessCredentialType",h3.upg_player_vis="playerInfo.visibilityState",h3.query="unpluggedInfo.query",h3.upg_chip_ids_string= "unpluggedInfo.upgChipIdsString",h3.yt_vst="videoStreamType",h3.vph="viewportHeight",h3.vpw="viewportWidth",h3.yt_vis="isVisible",h3.rcl="mwebInfo.responseContentLength",h3.GetSettings_rid="requestIds",h3.GetTrending_rid="requestIds",h3.GetMusicSearchSuggestions_rid="requestIds",h3.REQUEST_ID="requestIds",h3),Usa="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(" "), i3={},Vsa=(i3.ccs="CANARY_STATE_",i3.mver="MEASUREMENT_VERSION_",i3.pis="PLAYER_INITIALIZED_STATE_",i3.yt_pt="LATENCY_PLAYER_",i3.pa="LATENCY_ACTION_",i3.ctop="TOP_ENTITY_TYPE_",i3.yt_vst="VIDEO_STREAM_TYPE_",i3),Wsa="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 Q={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_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_ELEMENTS_PERFORMANCE:70,LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION:69,LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION:65,LATENCY_ACTION_OFFLINE_STORE_START:61,LATENCY_ACTION_REEL_EDITOR:58,LATENCY_ACTION_CHANNEL_SUBSCRIBE:56,LATENCY_ACTION_CHANNEL_PREVIEW:55,LATENCY_ACTION_PREFETCH:52,LATENCY_ACTION_ABANDONED_WATCH:45,LATENCY_ACTION_LOAD_COMMENT_REPLIES:26,LATENCY_ACTION_LOAD_COMMENTS:25,LATENCY_ACTION_EDIT_COMMENT:24,LATENCY_ACTION_NEW_COMMENT:23,LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING:19, LATENCY_ACTION_EMBED:18,LATENCY_ACTION_MDX_LAUNCH:15,LATENCY_ACTION_RESOLVE_URL:13,LATENCY_ACTION_CAST_SPLASH:149,LATENCY_ACTION_MDX_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_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: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_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_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_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_DASHBOARD:199,LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY:198,LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS:197, LATENCY_ACTION_CREATOR_CMS_CHANNELS:196,LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS:222,LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS:214,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_GROUPS:221,LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS:210,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_DOWNLOADS:98,LATENCY_ACTION_EXPLORE:75,LATENCY_ACTION_VIDEO_LIST:63,LATENCY_ACTION_HOME_RESUME:60,LATENCY_ACTION_SUBSCRIPTIONS_LIST:57,LATENCY_ACTION_THUMBNAIL_LOAD:42,LATENCY_ACTION_FIRST_THUMBNAIL_LOAD:29,LATENCY_ACTION_SUBSCRIPTIONS_FEED:109,LATENCY_ACTION_SUBSCRIPTIONS:28,LATENCY_ACTION_TRENDING:27,LATENCY_ACTION_LIBRARY:21, LATENCY_ACTION_VIDEO_THUMBNAIL:8,LATENCY_ACTION_SHOW_MORE:7,LATENCY_ACTION_VIDEO_PREVIEW:6,LATENCY_ACTION_AD_TO_AD:22,LATENCY_ACTION_VIDEO_TO_AD:17,LATENCY_ACTION_AD_TO_VIDEO:16,LATENCY_ACTION_DIRECT_PLAYBACK:132,LATENCY_ACTION_PREBUFFER_VIDEO:144,LATENCY_ACTION_PREFETCH_VIDEO:143,LATENCY_ACTION_STARTUP:106,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};Q[Q.LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING";Q[Q.LATENCY_ACTION_KIDS_PROFILE_SWITCHER]="LATENCY_ACTION_KIDS_PROFILE_SWITCHER";Q[Q.LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER]="LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER"; Q[Q.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR";Q[Q.LATENCY_ACTION_SPINNER_DISPLAYED]="LATENCY_ACTION_SPINNER_DISPLAYED";Q[Q.LATENCY_ACTION_PLAYABILITY_CHECK]="LATENCY_ACTION_PLAYABILITY_CHECK";Q[Q.LATENCY_ACTION_PROCESS]="LATENCY_ACTION_PROCESS";Q[Q.LATENCY_ACTION_APP_STARTUP]="LATENCY_ACTION_APP_STARTUP";Q[Q.LATENCY_ACTION_GEL_JSPB_SERIALIZE]="LATENCY_ACTION_GEL_JSPB_SERIALIZE"; Q[Q.LATENCY_ACTION_GEL_COMPRESSION]="LATENCY_ACTION_GEL_COMPRESSION";Q[Q.LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE]="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE";Q[Q.LATENCY_ACTION_COMMERCE_ACTION_COMMAND_RPC]="LATENCY_ACTION_COMMERCE_ACTION_COMMAND_RPC";Q[Q.LATENCY_ACTION_COMMERCE_TRANSACTION]="LATENCY_ACTION_COMMERCE_TRANSACTION";Q[Q.LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC]="LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC";Q[Q.LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC]="LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC"; Q[Q.LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC]="LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC";Q[Q.LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC]="LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC";Q[Q.LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC]="LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC";Q[Q.LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC]="LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC";Q[Q.LATENCY_ACTION_GET_OFFERS_RPC]="LATENCY_ACTION_GET_OFFERS_RPC";Q[Q.LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC]="LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC"; Q[Q.LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC]="LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC";Q[Q.LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC]="LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC";Q[Q.LATENCY_ACTION_GET_OFFER_DETAILS_RPC]="LATENCY_ACTION_GET_OFFER_DETAILS_RPC";Q[Q.LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC]="LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC";Q[Q.LATENCY_ACTION_GET_TIP_MODULE_RPC]="LATENCY_ACTION_GET_TIP_MODULE_RPC"; Q[Q.LATENCY_ACTION_HANDLE_TRANSACTION_RPC]="LATENCY_ACTION_HANDLE_TRANSACTION_RPC";Q[Q.LATENCY_ACTION_COMPLETE_TRANSACTION_RPC]="LATENCY_ACTION_COMPLETE_TRANSACTION_RPC";Q[Q.LATENCY_ACTION_GET_CART_RPC]="LATENCY_ACTION_GET_CART_RPC";Q[Q.LATENCY_ACTION_THUMBNAIL_FETCH]="LATENCY_ACTION_THUMBNAIL_FETCH";Q[Q.LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK]="LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK";Q[Q.LATENCY_ACTION_SHARE_VIDEO]="LATENCY_ACTION_SHARE_VIDEO";Q[Q.LATENCY_ACTION_AD_TO_VIDEO_INT]="LATENCY_ACTION_AD_TO_VIDEO_INT"; Q[Q.LATENCY_ACTION_ABANDONED_BROWSE]="LATENCY_ACTION_ABANDONED_BROWSE";Q[Q.LATENCY_ACTION_PLAYER_ROTATION]="LATENCY_ACTION_PLAYER_ROTATION";Q[Q.LATENCY_ACTION_GENERIC_WEB_VIEW]="LATENCY_ACTION_GENERIC_WEB_VIEW";Q[Q.LATENCY_ACTION_SHOPPING_IN_APP]="LATENCY_ACTION_SHOPPING_IN_APP";Q[Q.LATENCY_ACTION_PLAYER_ATTESTATION]="LATENCY_ACTION_PLAYER_ATTESTATION";Q[Q.LATENCY_ACTION_PLAYER_SEEK]="LATENCY_ACTION_PLAYER_SEEK";Q[Q.LATENCY_ACTION_SUPER_STICKER_BUY_FLOW]="LATENCY_ACTION_SUPER_STICKER_BUY_FLOW"; Q[Q.LATENCY_ACTION_DOWNLOADS_DATA_ACCESS]="LATENCY_ACTION_DOWNLOADS_DATA_ACCESS";Q[Q.LATENCY_ACTION_BLOCKS_PERFORMANCE]="LATENCY_ACTION_BLOCKS_PERFORMANCE";Q[Q.LATENCY_ACTION_ASSISTANT_QUERY]="LATENCY_ACTION_ASSISTANT_QUERY";Q[Q.LATENCY_ACTION_ASSISTANT_SETTINGS]="LATENCY_ACTION_ASSISTANT_SETTINGS";Q[Q.LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF";Q[Q.LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF"; Q[Q.LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN]="LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN";Q[Q.LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE]="LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE";Q[Q.LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION]="LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION";Q[Q.LATENCY_ACTION_NETWORKLESS_PERFORMANCE]="LATENCY_ACTION_NETWORKLESS_PERFORMANCE";Q[Q.LATENCY_ACTION_DOWNLOADS_EXPANSION]="LATENCY_ACTION_DOWNLOADS_EXPANSION";Q[Q.LATENCY_ACTION_ENTITY_TRANSFORM]="LATENCY_ACTION_ENTITY_TRANSFORM"; Q[Q.LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER]="LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER";Q[Q.LATENCY_ACTION_EMBEDS_SET_VIDEO]="LATENCY_ACTION_EMBEDS_SET_VIDEO";Q[Q.LATENCY_ACTION_SETTINGS]="LATENCY_ACTION_SETTINGS";Q[Q.LATENCY_ACTION_ABANDONED_STARTUP]="LATENCY_ACTION_ABANDONED_STARTUP";Q[Q.LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY]="LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY";Q[Q.LATENCY_ACTION_MEDIA_BROWSER_SEARCH]="LATENCY_ACTION_MEDIA_BROWSER_SEARCH"; Q[Q.LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE]="LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE";Q[Q.LATENCY_ACTION_WHO_IS_WATCHING]="LATENCY_ACTION_WHO_IS_WATCHING";Q[Q.LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH]="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH";Q[Q.LATENCY_ACTION_LITE_SWITCH_ACCOUNT]="LATENCY_ACTION_LITE_SWITCH_ACCOUNT";Q[Q.LATENCY_ACTION_ELEMENTS_PERFORMANCE]="LATENCY_ACTION_ELEMENTS_PERFORMANCE";Q[Q.LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION]="LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION"; Q[Q.LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION]="LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION";Q[Q.LATENCY_ACTION_OFFLINE_STORE_START]="LATENCY_ACTION_OFFLINE_STORE_START";Q[Q.LATENCY_ACTION_REEL_EDITOR]="LATENCY_ACTION_REEL_EDITOR";Q[Q.LATENCY_ACTION_CHANNEL_SUBSCRIBE]="LATENCY_ACTION_CHANNEL_SUBSCRIBE";Q[Q.LATENCY_ACTION_CHANNEL_PREVIEW]="LATENCY_ACTION_CHANNEL_PREVIEW";Q[Q.LATENCY_ACTION_PREFETCH]="LATENCY_ACTION_PREFETCH";Q[Q.LATENCY_ACTION_ABANDONED_WATCH]="LATENCY_ACTION_ABANDONED_WATCH"; Q[Q.LATENCY_ACTION_LOAD_COMMENT_REPLIES]="LATENCY_ACTION_LOAD_COMMENT_REPLIES";Q[Q.LATENCY_ACTION_LOAD_COMMENTS]="LATENCY_ACTION_LOAD_COMMENTS";Q[Q.LATENCY_ACTION_EDIT_COMMENT]="LATENCY_ACTION_EDIT_COMMENT";Q[Q.LATENCY_ACTION_NEW_COMMENT]="LATENCY_ACTION_NEW_COMMENT";Q[Q.LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING]="LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING";Q[Q.LATENCY_ACTION_EMBED]="LATENCY_ACTION_EMBED";Q[Q.LATENCY_ACTION_MDX_LAUNCH]="LATENCY_ACTION_MDX_LAUNCH"; Q[Q.LATENCY_ACTION_RESOLVE_URL]="LATENCY_ACTION_RESOLVE_URL";Q[Q.LATENCY_ACTION_CAST_SPLASH]="LATENCY_ACTION_CAST_SPLASH";Q[Q.LATENCY_ACTION_MDX_CONNECT_TO_SESSION]="LATENCY_ACTION_MDX_CONNECT_TO_SESSION";Q[Q.LATENCY_ACTION_MDX_STREAM_TRANSFER]="LATENCY_ACTION_MDX_STREAM_TRANSFER";Q[Q.LATENCY_ACTION_MDX_CAST]="LATENCY_ACTION_MDX_CAST";Q[Q.LATENCY_ACTION_MDX_COMMAND]="LATENCY_ACTION_MDX_COMMAND";Q[Q.LATENCY_ACTION_MOBILE_LIVE_NAV_MDE]="LATENCY_ACTION_MOBILE_LIVE_NAV_MDE"; Q[Q.LATENCY_ACTION_REEL_SELECT_SEGMENT]="LATENCY_ACTION_REEL_SELECT_SEGMENT";Q[Q.LATENCY_ACTION_ACCELERATED_EFFECTS]="LATENCY_ACTION_ACCELERATED_EFFECTS";Q[Q.LATENCY_ACTION_SHORTS_LOAD_PROJECT]="LATENCY_ACTION_SHORTS_LOAD_PROJECT";Q[Q.LATENCY_ACTION_SHORTS_TRIM_TO_EDITOR_TRANSCODING]="LATENCY_ACTION_SHORTS_TRIM_TO_EDITOR_TRANSCODING";Q[Q.LATENCY_ACTION_EDIT_AUDIO_GEN]="LATENCY_ACTION_EDIT_AUDIO_GEN";Q[Q.LATENCY_ACTION_UPLOAD_AUDIO_MIXER]="LATENCY_ACTION_UPLOAD_AUDIO_MIXER"; Q[Q.LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING]="LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING";Q[Q.LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING]="LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING";Q[Q.LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK]="LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK";Q[Q.LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD]="LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD";Q[Q.LATENCY_ACTION_SHORTS_CAMERA_AUDIO_DOWNLOAD]="LATENCY_ACTION_SHORTS_CAMERA_AUDIO_DOWNLOAD"; Q[Q.LATENCY_ACTION_SHORTS_VIDEO_INGESTION]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION";Q[Q.LATENCY_ACTION_SHORTS_GALLERY]="LATENCY_ACTION_SHORTS_GALLERY";Q[Q.LATENCY_ACTION_SHORTS_TRIM]="LATENCY_ACTION_SHORTS_TRIM";Q[Q.LATENCY_ACTION_SHORTS_EDIT]="LATENCY_ACTION_SHORTS_EDIT";Q[Q.LATENCY_ACTION_SHORTS_CAMERA]="LATENCY_ACTION_SHORTS_CAMERA";Q[Q.LATENCY_ACTION_NON_CREATION_MODES_GLOBAL_ENTRYPOINT]="LATENCY_ACTION_NON_CREATION_MODES_GLOBAL_ENTRYPOINT";Q[Q.LATENCY_ACTION_CREATION_MODES_MODE_SWITCH]="LATENCY_ACTION_CREATION_MODES_MODE_SWITCH"; Q[Q.LATENCY_ACTION_CREATION_MODES_GLOBAL_ENTRYPOINT]="LATENCY_ACTION_CREATION_MODES_GLOBAL_ENTRYPOINT";Q[Q.LATENCY_ACTION_MEDIA_ENGINE_DISPLAY_FIRST_FRAME]="LATENCY_ACTION_MEDIA_ENGINE_DISPLAY_FIRST_FRAME";Q[Q.LATENCY_ACTION_MEDIA_ENGINE_EXPORT]="LATENCY_ACTION_MEDIA_ENGINE_EXPORT";Q[Q.LATENCY_ACTION_PRODUCER_IMPORT_LOCAL_MEDIA]="LATENCY_ACTION_PRODUCER_IMPORT_LOCAL_MEDIA";Q[Q.LATENCY_ACTION_PRODUCER_EXPORT_PROJECT]="LATENCY_ACTION_PRODUCER_EXPORT_PROJECT";Q[Q.LATENCY_ACTION_PRODUCER_EDITOR]="LATENCY_ACTION_PRODUCER_EDITOR"; Q[Q.LATENCY_ACTION_PARENT_TOOLS_DASHBOARD]="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD";Q[Q.LATENCY_ACTION_PARENT_TOOLS_COLLECTION]="LATENCY_ACTION_PARENT_TOOLS_COLLECTION";Q[Q.LATENCY_ACTION_MUSIC_OFFLINE_PLAYLIST_DETAIL]="LATENCY_ACTION_MUSIC_OFFLINE_PLAYLIST_DETAIL";Q[Q.LATENCY_ACTION_MUSIC_OFFLINE_ALBUM_DETAIL]="LATENCY_ACTION_MUSIC_OFFLINE_ALBUM_DETAIL";Q[Q.LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS"; Q[Q.LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS";Q[Q.LATENCY_ACTION_MUSIC_ALBUM_DETAIL]="LATENCY_ACTION_MUSIC_ALBUM_DETAIL";Q[Q.LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL]="LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL";Q[Q.LATENCY_ACTION_STORE]="LATENCY_ACTION_STORE";Q[Q.LATENCY_ACTION_CHIPS]="LATENCY_ACTION_CHIPS";Q[Q.LATENCY_ACTION_SEARCH_ZERO_STATE]="LATENCY_ACTION_SEARCH_ZERO_STATE";Q[Q.LATENCY_ACTION_LIVE_PAGINATION]="LATENCY_ACTION_LIVE_PAGINATION"; Q[Q.LATENCY_ACTION_LIVE]="LATENCY_ACTION_LIVE";Q[Q.LATENCY_ACTION_PREBUFFER]="LATENCY_ACTION_PREBUFFER";Q[Q.LATENCY_ACTION_TENX]="LATENCY_ACTION_TENX";Q[Q.LATENCY_ACTION_KIDS_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PROFILE_SETTINGS";Q[Q.LATENCY_ACTION_KIDS_WATCH_IT_AGAIN]="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN";Q[Q.LATENCY_ACTION_KIDS_SECRET_CODE]="LATENCY_ACTION_KIDS_SECRET_CODE";Q[Q.LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS"; Q[Q.LATENCY_ACTION_KIDS_ONBOARDING]="LATENCY_ACTION_KIDS_ONBOARDING";Q[Q.LATENCY_ACTION_KIDS_VOICE_SEARCH]="LATENCY_ACTION_KIDS_VOICE_SEARCH";Q[Q.LATENCY_ACTION_KIDS_CURATED_COLLECTION]="LATENCY_ACTION_KIDS_CURATED_COLLECTION";Q[Q.LATENCY_ACTION_KIDS_LIBRARY]="LATENCY_ACTION_KIDS_LIBRARY";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT"; Q[Q.LATENCY_ACTION_CREATOR_VIDEO_POLICY]="LATENCY_ACTION_CREATOR_VIDEO_POLICY";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR"; Q[Q.LATENCY_ACTION_CREATOR_VIDEO_EDIT]="LATENCY_ACTION_CREATOR_VIDEO_EDIT";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_COMMENTS]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_CLAIMS]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS";Q[Q.LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS";Q[Q.LATENCY_ACTION_CREATOR_SONG_ANALYTICS]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS"; Q[Q.LATENCY_ACTION_CREATOR_PROMOTION_LIST]="LATENCY_ACTION_CREATOR_PROMOTION_LIST";Q[Q.LATENCY_ACTION_CREATOR_PROMOTION_EDIT]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT";Q[Q.LATENCY_ACTION_CREATOR_POST_LIST]="LATENCY_ACTION_CREATOR_POST_LIST";Q[Q.LATENCY_ACTION_CREATOR_POST_EDIT]="LATENCY_ACTION_CREATOR_POST_EDIT";Q[Q.LATENCY_ACTION_CREATOR_POST_COMMENTS]="LATENCY_ACTION_CREATOR_POST_COMMENTS";Q[Q.LATENCY_ACTION_CREATOR_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_LIVE_STREAMING"; Q[Q.LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT";Q[Q.LATENCY_ACTION_CREATOR_DIALOG_UPLOADS]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS";Q[Q.LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES";Q[Q.LATENCY_ACTION_CREATOR_CMS_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_VIDEOS";Q[Q.LATENCY_ACTION_CREATOR_CMS_REPORTS]="LATENCY_ACTION_CREATOR_CMS_REPORTS";Q[Q.LATENCY_ACTION_CREATOR_CMS_RELEASES]="LATENCY_ACTION_CREATOR_CMS_RELEASES"; Q[Q.LATENCY_ACTION_CREATOR_CMS_POLICIES]="LATENCY_ACTION_CREATOR_CMS_POLICIES";Q[Q.LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC";Q[Q.LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING";Q[Q.LATENCY_ACTION_CREATOR_CMS_LICENSES]="LATENCY_ACTION_CREATOR_CMS_LICENSES";Q[Q.LATENCY_ACTION_CREATOR_CMS_ISSUES]="LATENCY_ACTION_CREATOR_CMS_ISSUES";Q[Q.LATENCY_ACTION_CREATOR_CMS_DASHBOARD]="LATENCY_ACTION_CREATOR_CMS_DASHBOARD"; Q[Q.LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY]="LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY";Q[Q.LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS";Q[Q.LATENCY_ACTION_CREATOR_CMS_CHANNELS]="LATENCY_ACTION_CREATOR_CMS_CHANNELS";Q[Q.LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS"; Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP]="LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA]="LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES"; Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS";Q[Q.LATENCY_ACTION_CREATOR_CMS_ASSETS]="LATENCY_ACTION_CREATOR_CMS_ASSETS"; Q[Q.LATENCY_ACTION_CREATOR_CMS_ART_TRACKS]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS";Q[Q.LATENCY_ACTION_CREATOR_CMS_ANALYTICS]="LATENCY_ACTION_CREATOR_CMS_ANALYTICS";Q[Q.LATENCY_ACTION_CREATOR_CMS_ALLOWLIST]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS"; Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_EDITING]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD]="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT"; Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS";Q[Q.LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS";Q[Q.LATENCY_ACTION_CREATOR_ARTIST_PROFILE]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE";Q[Q.LATENCY_ACTION_CREATOR_ARTIST_CONCERTS]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS";Q[Q.LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS";Q[Q.LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE"; Q[Q.LATENCY_ACTION_EXPERIMENTAL_WATCH_UI]="LATENCY_ACTION_EXPERIMENTAL_WATCH_UI";Q[Q.LATENCY_ACTION_FINE_SCRUBBING_THUMBNAILS]="LATENCY_ACTION_FINE_SCRUBBING_THUMBNAILS";Q[Q.LATENCY_ACTION_STORYBOARD_THUMBNAILS]="LATENCY_ACTION_STORYBOARD_THUMBNAILS";Q[Q.LATENCY_ACTION_SEARCH_THUMBNAILS]="LATENCY_ACTION_SEARCH_THUMBNAILS";Q[Q.LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD]="LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD";Q[Q.LATENCY_ACTION_VOICE_ASSISTANT]="LATENCY_ACTION_VOICE_ASSISTANT"; Q[Q.LATENCY_ACTION_SEARCH_UI]="LATENCY_ACTION_SEARCH_UI";Q[Q.LATENCY_ACTION_SUGGEST]="LATENCY_ACTION_SUGGEST";Q[Q.LATENCY_ACTION_AUTO_SEARCH]="LATENCY_ACTION_AUTO_SEARCH";Q[Q.LATENCY_ACTION_DOWNLOADS]="LATENCY_ACTION_DOWNLOADS";Q[Q.LATENCY_ACTION_EXPLORE]="LATENCY_ACTION_EXPLORE";Q[Q.LATENCY_ACTION_VIDEO_LIST]="LATENCY_ACTION_VIDEO_LIST";Q[Q.LATENCY_ACTION_HOME_RESUME]="LATENCY_ACTION_HOME_RESUME";Q[Q.LATENCY_ACTION_SUBSCRIPTIONS_LIST]="LATENCY_ACTION_SUBSCRIPTIONS_LIST"; Q[Q.LATENCY_ACTION_THUMBNAIL_LOAD]="LATENCY_ACTION_THUMBNAIL_LOAD";Q[Q.LATENCY_ACTION_FIRST_THUMBNAIL_LOAD]="LATENCY_ACTION_FIRST_THUMBNAIL_LOAD";Q[Q.LATENCY_ACTION_SUBSCRIPTIONS_FEED]="LATENCY_ACTION_SUBSCRIPTIONS_FEED";Q[Q.LATENCY_ACTION_SUBSCRIPTIONS]="LATENCY_ACTION_SUBSCRIPTIONS";Q[Q.LATENCY_ACTION_TRENDING]="LATENCY_ACTION_TRENDING";Q[Q.LATENCY_ACTION_LIBRARY]="LATENCY_ACTION_LIBRARY";Q[Q.LATENCY_ACTION_VIDEO_THUMBNAIL]="LATENCY_ACTION_VIDEO_THUMBNAIL";Q[Q.LATENCY_ACTION_SHOW_MORE]="LATENCY_ACTION_SHOW_MORE"; Q[Q.LATENCY_ACTION_VIDEO_PREVIEW]="LATENCY_ACTION_VIDEO_PREVIEW";Q[Q.LATENCY_ACTION_AD_TO_AD]="LATENCY_ACTION_AD_TO_AD";Q[Q.LATENCY_ACTION_VIDEO_TO_AD]="LATENCY_ACTION_VIDEO_TO_AD";Q[Q.LATENCY_ACTION_AD_TO_VIDEO]="LATENCY_ACTION_AD_TO_VIDEO";Q[Q.LATENCY_ACTION_DIRECT_PLAYBACK]="LATENCY_ACTION_DIRECT_PLAYBACK";Q[Q.LATENCY_ACTION_PREBUFFER_VIDEO]="LATENCY_ACTION_PREBUFFER_VIDEO";Q[Q.LATENCY_ACTION_PREFETCH_VIDEO]="LATENCY_ACTION_PREFETCH_VIDEO";Q[Q.LATENCY_ACTION_STARTUP]="LATENCY_ACTION_STARTUP"; Q[Q.LATENCY_ACTION_INLINE_TO_WATCH]="LATENCY_ACTION_INLINE_TO_WATCH";Q[Q.LATENCY_ACTION_MUSIC_IMMERSIVE_WATCH]="LATENCY_ACTION_MUSIC_IMMERSIVE_WATCH";Q[Q.LATENCY_ACTION_ONBOARDING]="LATENCY_ACTION_ONBOARDING";Q[Q.LATENCY_ACTION_LOGIN]="LATENCY_ACTION_LOGIN";Q[Q.LATENCY_ACTION_REEL_WATCH]="LATENCY_ACTION_REEL_WATCH";Q[Q.LATENCY_ACTION_WATCH]="LATENCY_ACTION_WATCH";Q[Q.LATENCY_ACTION_RESULTS]="LATENCY_ACTION_RESULTS";Q[Q.LATENCY_ACTION_CHANNELS]="LATENCY_ACTION_CHANNELS";Q[Q.LATENCY_ACTION_HOME]="LATENCY_ACTION_HOME"; Q[Q.LATENCY_ACTION_BROWSE]="LATENCY_ACTION_BROWSE";Q[Q.LATENCY_ACTION_USER_ACTION]="LATENCY_ACTION_USER_ACTION";Q[Q.LATENCY_ACTION_INFRASTRUCTURE]="LATENCY_ACTION_INFRASTRUCTURE";Q[Q.LATENCY_ACTION_PAGE_NAVIGATION]="LATENCY_ACTION_PAGE_NAVIGATION";Q[Q.LATENCY_ACTION_UNKNOWN]="LATENCY_ACTION_UNKNOWN";var YC={LATENCY_NETWORK_MOBILE:2,LATENCY_NETWORK_WIFI:1,LATENCY_NETWORK_UNKNOWN:0};YC[YC.LATENCY_NETWORK_MOBILE]="LATENCY_NETWORK_MOBILE";YC[YC.LATENCY_NETWORK_WIFI]="LATENCY_NETWORK_WIFI"; YC[YC.LATENCY_NETWORK_UNKNOWN]="LATENCY_NETWORK_UNKNOWN";var ZC={CONN_INVALID:31,CONN_CELLULAR_5G_NSA:12,CONN_CELLULAR_5G_SA:11,CONN_WIFI_METERED:10,CONN_CELLULAR_5G:9,CONN_DISCO:8,CONN_CELLULAR_UNKNOWN:7,CONN_CELLULAR_4G:6,CONN_CELLULAR_3G:5,CONN_CELLULAR_2G:4,CONN_WIFI:3,CONN_NONE:2,CONN_UNKNOWN:1,CONN_DEFAULT:0};ZC[ZC.CONN_INVALID]="CONN_INVALID";ZC[ZC.CONN_CELLULAR_5G_NSA]="CONN_CELLULAR_5G_NSA";ZC[ZC.CONN_CELLULAR_5G_SA]="CONN_CELLULAR_5G_SA";ZC[ZC.CONN_WIFI_METERED]="CONN_WIFI_METERED"; ZC[ZC.CONN_CELLULAR_5G]="CONN_CELLULAR_5G";ZC[ZC.CONN_DISCO]="CONN_DISCO";ZC[ZC.CONN_CELLULAR_UNKNOWN]="CONN_CELLULAR_UNKNOWN";ZC[ZC.CONN_CELLULAR_4G]="CONN_CELLULAR_4G";ZC[ZC.CONN_CELLULAR_3G]="CONN_CELLULAR_3G";ZC[ZC.CONN_CELLULAR_2G]="CONN_CELLULAR_2G";ZC[ZC.CONN_WIFI]="CONN_WIFI";ZC[ZC.CONN_NONE]="CONN_NONE";ZC[ZC.CONN_UNKNOWN]="CONN_UNKNOWN";ZC[ZC.CONN_DEFAULT]="CONN_DEFAULT"; var $C={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};$C[$C.DETAILED_NETWORK_TYPE_NR_NSA]="DETAILED_NETWORK_TYPE_NR_NSA"; $C[$C.DETAILED_NETWORK_TYPE_NR_SA]="DETAILED_NETWORK_TYPE_NR_SA";$C[$C.DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED]="DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED";$C[$C.DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT]="DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT";$C[$C.DETAILED_NETWORK_TYPE_DISCONNECTED]="DETAILED_NETWORK_TYPE_DISCONNECTED";$C[$C.DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN";$C[$C.DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN"; $C[$C.DETAILED_NETWORK_TYPE_WIMAX]="DETAILED_NETWORK_TYPE_WIMAX";$C[$C.DETAILED_NETWORK_TYPE_ETHERNET]="DETAILED_NETWORK_TYPE_ETHERNET";$C[$C.DETAILED_NETWORK_TYPE_BLUETOOTH]="DETAILED_NETWORK_TYPE_BLUETOOTH";$C[$C.DETAILED_NETWORK_TYPE_WIFI]="DETAILED_NETWORK_TYPE_WIFI";$C[$C.DETAILED_NETWORK_TYPE_LTE]="DETAILED_NETWORK_TYPE_LTE";$C[$C.DETAILED_NETWORK_TYPE_HSPAP]="DETAILED_NETWORK_TYPE_HSPAP";$C[$C.DETAILED_NETWORK_TYPE_EHRPD]="DETAILED_NETWORK_TYPE_EHRPD";$C[$C.DETAILED_NETWORK_TYPE_EVDO_B]="DETAILED_NETWORK_TYPE_EVDO_B"; $C[$C.DETAILED_NETWORK_TYPE_UMTS]="DETAILED_NETWORK_TYPE_UMTS";$C[$C.DETAILED_NETWORK_TYPE_IDEN]="DETAILED_NETWORK_TYPE_IDEN";$C[$C.DETAILED_NETWORK_TYPE_HSUPA]="DETAILED_NETWORK_TYPE_HSUPA";$C[$C.DETAILED_NETWORK_TYPE_HSPA]="DETAILED_NETWORK_TYPE_HSPA";$C[$C.DETAILED_NETWORK_TYPE_HSDPA]="DETAILED_NETWORK_TYPE_HSDPA";$C[$C.DETAILED_NETWORK_TYPE_EVDO_A]="DETAILED_NETWORK_TYPE_EVDO_A";$C[$C.DETAILED_NETWORK_TYPE_EVDO_0]="DETAILED_NETWORK_TYPE_EVDO_0";$C[$C.DETAILED_NETWORK_TYPE_CDMA]="DETAILED_NETWORK_TYPE_CDMA"; $C[$C.DETAILED_NETWORK_TYPE_1_X_RTT]="DETAILED_NETWORK_TYPE_1_X_RTT";$C[$C.DETAILED_NETWORK_TYPE_GPRS]="DETAILED_NETWORK_TYPE_GPRS";$C[$C.DETAILED_NETWORK_TYPE_EDGE]="DETAILED_NETWORK_TYPE_EDGE";$C[$C.DETAILED_NETWORK_TYPE_UNKNOWN]="DETAILED_NETWORK_TYPE_UNKNOWN";var aD={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}; aD[aD.LATENCY_PLAYER_RTSP]="LATENCY_PLAYER_RTSP";aD[aD.LATENCY_PLAYER_HTML5_INLINE]="LATENCY_PLAYER_HTML5_INLINE";aD[aD.LATENCY_PLAYER_HTML5_FULLSCREEN]="LATENCY_PLAYER_HTML5_FULLSCREEN";aD[aD.LATENCY_PLAYER_HTML5]="LATENCY_PLAYER_HTML5";aD[aD.LATENCY_PLAYER_FRAMEWORK]="LATENCY_PLAYER_FRAMEWORK";aD[aD.LATENCY_PLAYER_FLASH]="LATENCY_PLAYER_FLASH";aD[aD.LATENCY_PLAYER_EXO]="LATENCY_PLAYER_EXO";aD[aD.LATENCY_PLAYER_UNKNOWN]="LATENCY_PLAYER_UNKNOWN"; var bD={LATENCY_AD_BREAK_TYPE_POSTROLL:3,LATENCY_AD_BREAK_TYPE_MIDROLL:2,LATENCY_AD_BREAK_TYPE_PREROLL:1,LATENCY_AD_BREAK_TYPE_UNKNOWN:0};bD[bD.LATENCY_AD_BREAK_TYPE_POSTROLL]="LATENCY_AD_BREAK_TYPE_POSTROLL";bD[bD.LATENCY_AD_BREAK_TYPE_MIDROLL]="LATENCY_AD_BREAK_TYPE_MIDROLL";bD[bD.LATENCY_AD_BREAK_TYPE_PREROLL]="LATENCY_AD_BREAK_TYPE_PREROLL";bD[bD.LATENCY_AD_BREAK_TYPE_UNKNOWN]="LATENCY_AD_BREAK_TYPE_UNKNOWN";var cD={LATENCY_ACTION_ERROR_STARTUP_TIMEOUT:1,LATENCY_ACTION_ERROR_UNSPECIFIED:0}; cD[cD.LATENCY_ACTION_ERROR_STARTUP_TIMEOUT]="LATENCY_ACTION_ERROR_STARTUP_TIMEOUT";cD[cD.LATENCY_ACTION_ERROR_UNSPECIFIED]="LATENCY_ACTION_ERROR_UNSPECIFIED";var dD={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};dD[dD.LIVE_STREAM_MODE_WINDOW]="LIVE_STREAM_MODE_WINDOW";dD[dD.LIVE_STREAM_MODE_POST]="LIVE_STREAM_MODE_POST";dD[dD.LIVE_STREAM_MODE_LP]="LIVE_STREAM_MODE_LP"; dD[dD.LIVE_STREAM_MODE_LIVE]="LIVE_STREAM_MODE_LIVE";dD[dD.LIVE_STREAM_MODE_DVR]="LIVE_STREAM_MODE_DVR";dD[dD.LIVE_STREAM_MODE_UNKNOWN]="LIVE_STREAM_MODE_UNKNOWN";var eD={VIDEO_STREAM_TYPE_VOD:3,VIDEO_STREAM_TYPE_DVR:2,VIDEO_STREAM_TYPE_LIVE:1,VIDEO_STREAM_TYPE_UNSPECIFIED:0};eD[eD.VIDEO_STREAM_TYPE_VOD]="VIDEO_STREAM_TYPE_VOD";eD[eD.VIDEO_STREAM_TYPE_DVR]="VIDEO_STREAM_TYPE_DVR";eD[eD.VIDEO_STREAM_TYPE_LIVE]="VIDEO_STREAM_TYPE_LIVE";eD[eD.VIDEO_STREAM_TYPE_UNSPECIFIED]="VIDEO_STREAM_TYPE_UNSPECIFIED"; var fD={YT_IDB_TRANSACTION_TYPE_READ:2,YT_IDB_TRANSACTION_TYPE_WRITE:1,YT_IDB_TRANSACTION_TYPE_UNKNOWN:0};fD[fD.YT_IDB_TRANSACTION_TYPE_READ]="YT_IDB_TRANSACTION_TYPE_READ";fD[fD.YT_IDB_TRANSACTION_TYPE_WRITE]="YT_IDB_TRANSACTION_TYPE_WRITE";fD[fD.YT_IDB_TRANSACTION_TYPE_UNKNOWN]="YT_IDB_TRANSACTION_TYPE_UNKNOWN";var gD={PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN:2,PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT:1,PLAYER_ROTATION_TYPE_UNKNOWN:0};gD[gD.PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN]="PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN"; gD[gD.PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT]="PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT";gD[gD.PLAYER_ROTATION_TYPE_UNKNOWN]="PLAYER_ROTATION_TYPE_UNKNOWN";var kta="actionVisualElement spinnerInfo resourceInfo playerInfo commentInfo mdxInfo watchInfo thumbnailLoadInfo creatorInfo unpluggedInfo reelInfo subscriptionsFeedInfo requestIds mediaBrowserActionInfo musicLoadActionInfo shoppingInfo webViewInfo prefetchInfo accelerationSession commerceInfo inlineToWatchInfo mediaEngineMetadata webInfo tvInfo kabukiInfo mwebInfo musicInfo transcodingContext creationModesContext".split(" ");g.v(GC,tz);g.v(Ysa,tz);var vta=new uz("aft-recorded",GC),Vab=new uz("timing-sent",Ysa);var JC=g.Ea.ytLoggingLatencyUsageStats_||{};g.Fa("ytLoggingLatencyUsageStats_",JC);HC.prototype.tick=function(a,b,c,d){KC(this,"tick_"+a+"_"+b)||(c={timestamp:c,cttAuthInfo:d},g.vw("web_csi_via_jspb")?(d=new Tv,H(d,1,a),H(d,2,b),a=new mw,dh(a,Tv,5,NB,d),MB(a,c)):g.hy("latencyActionTicked",{tickName:a,clientActionNonce:b},c))}; HC.prototype.info=function(a,b,c){var d=Object.keys(a).join("");KC(this,"info_"+d+"_"+b)||(a=Object.assign({},a),a.clientActionNonce=b,g.hy("latencyActionInfo",a,{cttAuthInfo:c}))}; HC.prototype.jspbInfo=function(a,b,c){for(var d="",e=0;e=e.length?(b.append(e),a-=e.length):a?(b.append(new Uint8Array(e.buffer,e.byteOffset,a)),c.append(new Uint8Array(e.buffer,e.byteOffset+a,e.length-a)),a=0):c.append(e);return{YB:b,Vk:c}}; YD.prototype.isFocused=function(a){return a>=this.B&&aa.Oa&&this.index.Gm()<=a.Oa+1}; g.k.update=function(a,b,c){this.index.append(a);bua(this.index,c);this.index.u=b}; g.k.Eg=function(){return this.Iy()?!0:cF.prototype.Eg.call(this)}; g.k.wr=function(a,b){var c=this.index.QF(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.FF=function(){return this.Qo}; g.k.Zx=function(a){if(!this.ym)return g.XD.prototype.Zx.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.sj+1);else{b=Bb(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.Eo(b)}; g.k.Eo=function(a){if(!this.ym)return g.XD.prototype.Eo.call(this,a);if(!this.segments.length)return null;var b=AF(this,a);if(0<=b)return this.segments[b];var c=-(b+1);b=this.sj;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 WD(a,d,b,0,"sq/"+a,void 0,void 0, !0)};g.v(CF,vF);g.k=CF.prototype;g.k.lC=function(){return!0}; g.k.Eg=function(){return!0}; g.k.vr=function(a){return this.Xu()&&a.u&&!a.Xe||!a.j.index.oM(a.Oa)}; g.k.Ou=function(){}; g.k.ys=function(a,b){return"number"!==typeof a||isFinite(a)?vF.prototype.ys.call(this,a,void 0===b?!1:b):new rF([new iF(3,this,void 0,"mlLiveGetReqInfoStubForTime",-1,void 0,this.Xj,void 0,this.Xj*this.info.dc)],"")}; g.k.wr=function(a,b){var c=void 0===c?!1:c;if(BF(this.index,a))return vF.prototype.wr.call(this,a,b);var d=this.index.getStartTime(a);return new rF([new iF(c?6:3,this,void 0,"mlLiveCreateReqInfoForSeg",a,d,void 0,void 0,b?0:this.Xj*this.info.dc,!b)],0<=a?"sq/"+a:"")};g.v(DF,cF);g.k=DF.prototype;g.k.Sm=function(){return!1}; g.k.Xu=function(){return!1}; g.k.lC=function(){return!1}; g.k.Ou=function(){return new rF([new iF(1,this,void 0,"otfInit")],this.I)}; g.k.Tw=function(){return null}; g.k.CA=function(a){this.vr(a);return iva(this,nF(a),!1)}; g.k.ys=function(a,b){b=void 0===b?!1:b;a=this.index.uh(a);b&&(a=Math.min(this.index.pd(),a+1));return iva(this,a,!0)}; g.k.NL=function(a){1===a.info.type&&(this.j||(this.j=fua(a.j)),a.u&&"http://youtube.com/streaming/otf/durations/112015"===a.u.uri&&jva(this,a.u))}; g.k.vr=function(a){return 0===a.u?!0:this.index.pd()>a.Oa&&this.index.Gm()<=a.Oa+1}; g.k.xL=function(){return 0}; g.k.SN=function(){return!1};EF.prototype.verify=function(a){if(this.info.u!==this.j.totalLength)return a.slength=this.info.u.toString(),a.range=this.j.totalLength.toString(),!1;if(1===this.info.j.info.containerType){if(8>this.info.u||4===this.info.type)return!0;var b=FF(this),c=b.getUint32(0,!1);b=b.getUint32(4,!1);a.infotype=this.info.type.toString();a.slicesize=c.toString();a.boxtype=b.toString();if(2===this.info.type)return c===this.info.u&&1936286840===b;if(3===this.info.type&&0===this.info.Pb)return 1836019558===b||1936286840=== b||1937013104===b||1718909296===b||1701671783===b||1936419184===b}else if(2===this.info.j.info.containerType){if(4>this.info.u||4===this.info.type)return!0;c=FF(this).getUint32(0,!1);a.ebm=c.toString();if(3===this.info.type&&0===this.info.Pb)return 524531317===c||440786851===c}return!0};g.k=g.MF.prototype;g.k.Yp=function(a){return this.offsets[a]}; g.k.getStartTime=function(a){return this.rj[a]/this.j}; g.k.SF=aa(1);g.k.Lf=function(){return NaN}; g.k.getDuration=function(a){a=this.kT(a);return 0<=a?a/this.j:-1}; g.k.kT=function(a){return a+1=this.pd())return 0;var c=0;for(b=this.getStartTime(a)+b;athis.getStartTime(a);a++)c=Math.max(c,rva(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.rj;this.rj=new Float64Array(a+1);for(a=0;a=b+c)break}d.length||g.PB(new g.Sx("b189619593",""+a,""+b,""+c));return new rF(d)}; g.k.UQ=function(a){for(var b=this.wz(a.info),c=a.info.range.start+a.info.Pb,d=a.B,e=[],f=0;f=this.index.Yp(c+1);)c++;return this.LB(c,b,a.u).gb}; g.k.vr=function(a){jF(a);return this.Eg()?!0:a.range.end+1this.info.contentLength&&(b=new eF(b.start,this.info.contentLength-1)),new rF([new iF(4,a.j,b,"getNextRequestInfoByLength")]);4===a.type&&(a=this.wz(a),a=a[a.length-1]);var c=0,d=a.range.start+a.Pb+a.u;3===a.type&&(jF(a),c=a.Oa,d===a.range.end+1&&(c+=1));return this.LB(c,d,b)}; g.k.CA=function(){return null}; g.k.ys=function(a,b){b=void 0===b?!1:b;a=this.index.uh(a);b&&(a=Math.min(this.index.pd(),a+1));return this.LB(a,this.index.Yp(a),0)}; g.k.Sm=function(){return!0}; g.k.Xu=function(){return!0}; g.k.lC=function(){return!1}; g.k.xL=function(){return this.indexRange.length+this.initRange.length}; g.k.SN=function(){return this.indexRange&&this.initRange&&this.initRange.end+1===this.indexRange.start?!0:!1};PF.prototype.isMultiChannelAudio=function(){return 2this.sB()?(this.Vb.appendWindowEnd=b,this.Vb.appendWindowStart=a):(this.Vb.appendWindowStart=a,this.Vb.appendWindowEnd=b))}; g.k.EL=function(){return this.timestampOffset}; g.k.Sq=function(a){eX?this.timestampOffset=a:this.supports(1)&&(this.Vb.timestampOffset=a)}; g.k.Md=function(){return eX?this.timestampOffset:this.supports(1)?this.Vb.timestampOffset:0}; g.k.Dg=function(a){if(void 0===a?0:a)return this.UA||this.ej()||(this.nK=this.Dg(!1),this.UA=!0),this.nK;try{return this.Vb?this.Vb.buffered:this.vg?this.vg.webkitSourceBuffered(this.id):uG([0],[Infinity])}catch(b){return uG([],[])}}; g.k.ej=function(){var a;return(null==(a=this.Vb)?void 0:a.updating)||!1}; g.k.Jl=function(){return this.ZE}; g.k.jM=function(){return!this.ZE&&this.ej()}; g.k.Gx=function(){this.ZE=!1}; g.k.Jy=function(a){var b=null==a?void 0:a.Mb;a=null==a?void 0:a.containerType;return!b&&!a||b===this.Mb&&a===this.containerType}; g.k.Yr=function(){return this.rC}; g.k.HF=function(){return this.wM}; g.k.vP=function(a,b){this.containerType!==a&&(this.supports(4),EG()&&this.Vb.changeType(b));this.containerType=a}; g.k.IF=function(){return this.Df}; g.k.isView=function(){return!1}; g.k.supports=function(a){switch(a){case 1:var b;return void 0!==(null==(b=this.Vb)?void 0:b.timestampOffset);case 0:var c;return!(null==(c=this.Vb)||!c.appendBuffer);case 2:var d;return!(null==(d=this.Vb)||!d.remove);case 3:var e,f;return!!((null==(e=this.Vb)?0:e.addEventListener)&&(null==(f=this.Vb)?0:f.removeEventListener));case 4:return!(!this.Vb||!this.Vb.changeType);default:return!1}}; g.k.UE=function(){return!this.ej()}; g.k.isLocked=function(){return!1}; g.k.qc=function(a){a.to=this.Md();a.up=this.ej();var b,c=(null==(b=this.Vb)?void 0:b.appendWindowStart)||0,d;b=(null==(d=this.Vb)?void 0:d.appendWindowEnd)||Infinity;a.aw=c.toFixed(3)+"-"+b.toFixed(3);try{a.bu=vG(this.Dg())}catch(e){}return a}; g.k.ra=function(){this.supports(3)&&(this.Vb.removeEventListener("updateend",this.qd),this.Vb.removeEventListener("error",this.qd));g.rC.prototype.ra.call(this)}; g.k.gI=function(a,b,c){if(!this.supports(2)||this.ej())return!1;var d=this.Dg(),e=wG(d,a);if(0>e)return!1;try{if(b&&e+1pbb){v3=pbb;break a}}var qbb=w3.match("("+Object.keys(nbb).join("|")+")");v3=qbb?nbb[qbb[0]]:0}else v3=void 0}var sI=v3,rI=0<=sI;var qxa={RED:"red",E4a:"white"};var oxa={zda:"adunit",Dna:"detailpage",ooa:"editpage",woa:"embedded",yoa:"embedded_unbranded",HBa:"leanback",APa:"previewpage",iQa:"profilepage",GR:"unplugged",LOa:"playlistoverview",sVa:"sponsorshipsoffer",JSa:"shortspage",kva:"handlesclaiming",Lwa:"immersivelivepage"};Cwa.prototype.qb=function(a){return"true"===this.flags[a]};var Dwa=Promise.resolve(),Gwa=window.queueMicrotask?window.queueMicrotask.bind(window):Ewa;yH.prototype.canPlayType=function(a,b){a=a.canPlayType?a.canPlayType(b):!1;Ry?a=a||rbb[b]:2.2===sI?a=a||sbb[b]:ix()&&(a=a||tbb[b]);return!!a}; yH.prototype.isTypeSupported=function(a){return this.J?window.cast.receiver.platform.canDisplayType(a):rG(a)}; var sbb={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},tbb={"application/x-mpegURL":"maybe"},rbb={"application/x-mpegURL":"maybe"};BH.prototype.bf=function(){this.j=!1;if(this.queue.length&&!(this.u&&5>=this.queue.length&&15E3>(0,g.M)()-this.C)){var a=this.queue.shift(),b=a.url;a=a.options;a.timeout=1E4;g.Zw(b,a,3,1E3).then(this.B,this.B);this.u=!0;this.C=(0,g.M)();5this.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 KH=!1;(function(){function a(d){for(var e=new Uint8Array(d.length),f=0;f=this.j&&(this.B=!0);for(;a--;)this.values[this.u]=b,this.u=(this.u+1)%this.j;this.D=!0}; bI.prototype.aj=function(){return this.J?(cI(this,this.C-this.J)+cI(this,this.C)+cI(this,this.C+this.J))/3:cI(this,this.C)};g.v(jxa,g.C);jI.prototype.then=function(a,b){return this.promise.then(a,b)}; jI.prototype.resolve=function(a){this.u(a)}; jI.prototype.reject=function(a){this.j(a)};var pxa="blogger gac books docs duo google-live google-one play shopping chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" "),vxa={qia:"cbrand",zia:"cbr",Aia:"cbrver",vxa:"c",yxa:"cver",xxa:"ctheme",wxa:"cplayer",yIa:"cmodel",oJa:"cnetwork",mNa:"cos",nNa:"cosver",aOa:"cplatform"};g.v(EI,g.C);g.k=EI.prototype;g.k.K=function(a){return this.experiments.qb(a)}; g.k.getVideoUrl=function(a,b,c,d,e,f,h){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=g.II(this);e="www.youtube.com"===c;f=f&&this.K("embeds_enable_shorts_links_for_eligible_shorts");h&&this.K("fill_live_watch_url_in_watch_endpoint")&&e?h="https://"+c+"/live/"+a:!f&&d&&e?h="https://web.archive.org/web/20230406005043/https://youtu.be/"+a:g.vI(this)?(h="https://"+c+"/fire",b.v=a):(f&&e?(h=this.protocol+"://"+c+"/shorts/"+a,d&&(b.feature="share")):(h=this.protocol+"://"+c+"/watch",b.v=a),Ry&&(a=Ana())&&(b.ebc=a));return g.ri(h,b)}; g.k.getVideoEmbedCode=function(a,b,c,d){b="https://"+g.II(this)+"/embed/"+b;d&&(b=g.ri(b,{list:d}));d=c.width;c=c.height;b=g.te(b);a=g.te(null!=a?a:"YouTube video player");return'')}; g.k.supportsGaplessAudio=function(){return g.qG&&!Ry&&74<=aoa()||g.qH&&g.xc(68)?!0:!1}; g.k.getPlayerType=function(){return this.j.cplayer}; g.k.Td=function(){return this.xf}; var xxa=["www.youtube-nocookie.com","youtube.googleapis.com","www.youtubeeducation.com","youtubeeducation.com"],uxa=["EMBEDDED_PLAYER_LITE_MODE_UNKNOWN","EMBEDDED_PLAYER_LITE_MODE_NONE","EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT","EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT"];g.k=aJ.prototype;g.k.rh=function(){return this.j}; g.k.DA=function(){return null}; g.k.VQ=function(){var a=this.DA();return a?(a=g.Hw(a.j),Number(a.expire)):NaN}; g.k.xO=function(){}; g.k.getHeight=function(){return this.j.video.height};yxa.prototype.yf=function(){Bxa(this);var a=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],b={};a:if(this.j)var c=this.j;else{c="";for(var d=g.t(this.B),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.t(this.B);for(var f=d.next();!f.done;f=d.next())if(e=f.value,this.I||!e.Oc||e.Oc.getId()===c)b[e.itag]||(b[e.itag]=[]),b[e.itag].push(e);c=g.t(this.u);for(e=c.next();!e.done;e=c.next())if(d=e.value,e=b[d.j])for(e=g.t(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=cJ(this,f.url,q);m=m+('NAME="'+p+'",DEFAULT='+(n+',AUTOSELECT=YES,GROUP-ID="'))+(Axa(f,d)+'",URI="'+(q+'"'));l.call(h,m)}c=g.t(this.D);for(d=c.next();!d.done;d=c.next())d=d.value,e=wbb,d=(h=d.Oc)?'#EXT-X-MEDIA:URI="'+cJ(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}; dK.prototype.D=function(a,b,c,d){return new g.cK(a,b,c,d)};g.v(eK,g.cK);g.k=eK.prototype;g.k.zE=function(){return this.u.py()}; g.k.AE=function(a){var b=this.rows*this.columns*this.I,c=this.u,d=c.pd();a=c.uh(a);return a>d-b?-1:a}; g.k.Uw=function(){return this.u.pd()}; g.k.jJ=function(){return this.u.Gm()}; g.k.WQ=function(a){this.u=a};g.v(fK,dK);fK.prototype.u=function(a,b){return dK.prototype.u.call(this,"$N|"+a,b)}; fK.prototype.D=function(a,b,c){return new eK(a,b,c,this.isLive)};g.v(g.hK,g.rC);g.k=g.hK.prototype;g.k.V=function(){return this.B}; g.k.K=function(a){return this.B.K(a)}; g.k.yh=function(){return!this.isLivePlayback||this.allowLiveDvr}; g.k.hasSupportedAudio51Tracks=function(){var a;return!(null==(a=this.Yl)||!a.Tb)}; g.k.FV=function(){this.isDisposed()||(this.j.u||this.j.unsubscribe("refresh",this.FV,this),this.pS(-1))}; g.k.pS=function(a){if(!this.isLivePlayback||!this.J||"fairplay"!=this.J.flavor){var b=Vva(this.j,this.HJ);if(0=this.T&&(g.PB(Error("durationMs was specified incorrectly with a value of: "+this.T)),this.Hi());this.Lm();this.F.addEventListener("progresssync",this.ea)}; g.k.Ko=function(){fM.prototype.Ko.call(this);this.lh("adabandonedreset",!0)}; g.k.Lm=function(){var a=this.F.V();sD("apbs",void 0,"video_to_ad");fM.prototype.Lm.call(this);this.C=a.K("disable_rounding_ad_notify")?this.F.getCurrentTime():Math.floor(this.F.getCurrentTime());this.D=this.C+this.T/1E3;g.CI(a)?this.F.Na("onAdMessageChange",{renderer:this.u.j,startTimeSecs:this.C}):SCa(this,[new oM(this.u.j)]);a=(a=this.F.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.TC(),c=this.u.j.videoAdBreakOffsetMsInt64;b&&g.hy("adNotify",{clientScreenNonce:b,adMediaTimeMs:Math.floor(1E3* this.D),timeToAdBreakSec:Math.ceil(this.D-this.C),clientPlaybackNonce:a,videoAdBreakOffsetMs:Number(c)});if(this.I){this.Y=!0;b=this.u.j;if(!nM(b)){g.QB(Error("adMessageRenderer is not augmented on ad started"));return}a=b.slot;b=b.layout;c=g.t(this.I.listeners);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a,f=b;fDa(d.j(),e);P_(d.j(),e,f)}}g.S(this.F.Gb(1),512)&&(g.QB(Error("player stuck during adNotify")),a=(a=this.F.getVideoData(1))&&a.clientPlaybackNonce||"",b=g.TC(),c=this.u.j.videoAdBreakOffsetMsInt64, b&&g.hy("adNotifyFailure",{clientScreenNonce:b,adMediaTimeMs:Math.floor(1E3*this.D),timeToAdBreakSec:Math.ceil(this.D-this.C),clientPlaybackNonce:a,videoAdBreakOffsetMs:c}),this.Hi())}; g.k.Hi=function(){fM.prototype.Hi.call(this);this.lh("adended",!0)}; g.k.Lo=function(a){g.QB(new g.Sx("Player error during adNotify.",{errorCode:a}));fM.prototype.Lo.call(this,a);this.lh("aderror",!0)}; g.k.lh=function(a,b){(void 0===b?0:b)||g.QB(Error("TerminateAd directly called from other class during adNotify."));this.F.removeEventListener("progresssync",this.ea);this.xu();YCa(this,a);"adended"===a||"aderror"===a?this.ma("adnotifyexitednormalorerror"):this.ma(a)}; g.k.dispose=function(){this.F.removeEventListener("progresssync",this.ea);YCa(this);fM.prototype.dispose.call(this)}; g.k.xu=function(){g.CI(this.F.V())?this.F.Na("onAdMessageChange",{renderer:null,startTimeSecs:this.C}):fM.prototype.xu.call(this)};tM.prototype.sendAdsPing=function(a){this.B.send(a,ZCa(this),{})}; tM.prototype.Cg=function(a){var b=this;if(a){var c=ZCa(this);Array.isArray(a)?a.forEach(function(d){return b.j.executeCommand(d,c)}):this.j.executeCommand(a,c)}};g.v(uM,fM);g.k=uM.prototype;g.k.AB=function(){return{currentTime:this.F.getCurrentTime(2,!1),duration:this.u.u,isPlaying:oCa(this.F),isVpaid:!1,isYouTube:!0,volume:this.F.isMuted()?0:this.F.getVolume()/100}}; g.k.BE=function(){var a=this.u.j.legacyInfoCardVastExtension,b=this.u.lf();a&&b&&this.F.V().ya.add(b,{VA:a});try{var c=this.u.j.sodarExtensionData;if(c&&c.siub&&c.bgub&&c.scs&&c.bgp)try{tha(c.siub,c.scs,c.bgub,c.bgp)}catch(e){var d=g.Nd("//web.archive.org/web/20230406005043/https://tpc.googlesyndication.com/sodar/%{path}");g.QB(new g.Sx("Load Sodar Error.",d instanceof Ld,d.constructor===Ld,{Message:e.message,"Escaped injector basename":g.te(c.siub),"BG vm basename":c.bgub}));if(d.constructor===Ld)throw e;}}catch(e){g.PB(e)}lL(this.F,!1); a=vCa(this.u);b=this.F.V();a.iv_load_policy=b.u||g.CI(b)||g.OI(b)?3:1;b=this.F.getVideoData(1);b.Ni&&(a.ctrl=b.Ni);b.pj&&(a.ytr=b.pj);b.Mp&&(a.ytrcc=b.Mp);b.isMdxPlayback&&(a.mdx="1");a.vvt&&(a.vss_credentials_token=a.vvt,b.fk&&(a.vss_credentials_token_type=b.fk),b.mdxEnvironment&&(a.mdx_environment=b.mdxEnvironment));this.ma("adunstarted",-1);this.T?this.D.start():(this.F.cueVideoByPlayerVars(a,2),this.D.start(),this.F.playVideo(2))}; g.k.SB=function(){fM.prototype.SB.call(this);this.ma("adpause",2)}; g.k.TB=function(){fM.prototype.TB.call(this);this.ma("adplay",1)}; g.k.Lm=function(){fM.prototype.Lm.call(this);this.D.stop();this.Y.S(this.F,g.mC("bltplayback"),this.t_);var a=new g.kC(0x7ffffffffffff,0x8000000000000,{id:"bltcompletion",namespace:"bltplayback",priority:2});this.F.Be([a],2);a=yM(this);this.C.Fa=a;if(this.F.isMuted()){a=this.Ya;var b=this.F.isMuted();a.daiEnabled||TL(a,b?"mute":"unmute")}this.ma("adplay",1);if(null!==this.I){a=null!==this.C.j.getVideoData(1)?this.C.j.getVideoData(1).clientPlaybackNonce:"";b=bDa(this);for(var c=this.u,d=aDa(this), e=g.t(this.I.listeners),f=e.next();!f.done;f=e.next()){f=f.value;var h=b,l=c,m=d,n=[],p=l.lf(),q=l.getVideoUrl();p&&n.push(new e_(p));q&&n.push(new E0a(q));(q=(p=l.j)&&p.playerOverlay&&p.playerOverlay.instreamAdPlayerOverlayRenderer)?(n.push(new g_(q)),(q=q.elementId)&&n.push(new k_(q))):UB("instreamVideoAdRenderer without instreamAdPlayerOverlayRenderer");(p=p&&p.playerUnderlay)&&n.push(new h_(p));l.j.adNextParams&&n.push(new WZ(l.j.adNextParams||""));(p=l.ya)&&n.push(new XZ(p));(p=f.Wa.get().gg(2))? (n.push(new YZ({channelId:p.dk,channelThumbnailUrl:p.profilePicture,channelTitle:p.author,videoTitle:p.title})),n.push(new ZZ(p.isListed))):UB("Expected meaningful PlaybackData on ad started.");n.push(new a_(l.B));n.push(new p_(l.u));n.push(new f_(a));n.push(new m_({current:this}));p=l.Ma;null!=p.kind&&n.push(new $Z(p));(p=l.Ja)&&n.push(new A_(p));void 0!==m&&n.push(new B_(m));f.j?UB(f.j.layoutId===h?"Received repeat AD_START event.":"Received a new AD_START event before received AD_ENDED event."): cDa(f,h,n,!0,l.j.adLayoutLoggingData)}}this.F.Na("onAdStart",yM(this));a=g.t(this.u.j.impressionCommands||[]);for(b=a.next();!b.done;b=a.next())this.C.executeCommand(b.value,this.macros)}; g.k.t_=function(a){"bltcompletion"==a.getId()&&(this.F.Gf("bltplayback",2),UL(this.Ya,this.getDuration()),xM(this,"adended"))}; g.k.Hi=function(){fM.prototype.Hi.call(this);this.lh("adended");for(var a=g.t(this.u.j.completeCommands||[]),b=a.next();!b.done;b=a.next())this.C.executeCommand(b.value,this.macros)}; g.k.Ko=function(){fM.prototype.Ko.call(this);this.lh("adabandoned")}; g.k.yH=function(){var a=this.Ya;RL(a)||YL(a,"clickthrough");this.B||(a=this.Ya,RL(a)||YL(a,"unmuted_clickthrough"))}; g.k.SC=function(){this.JL()}; g.k.JL=function(){fM.prototype.JL.call(this);this.lh("adended")}; g.k.Lo=function(a){fM.prototype.Lo.call(this,a);this.lh("aderror")}; g.k.lh=function(a){this.D.stop();lL(this.F,!0);"adabandoned"!=a&&this.F.Na("onAdComplete");xM(this,a);this.F.Na("onAdEnd",yM(this));this.ma(a)}; g.k.xu=function(){var a=this.F.V();g.CI(a)&&(g.OI(a)||a.K("enable_topsoil_wta_for_halftime")||a.K("enable_topsoil_wta_for_halftime_live_infra")||g.CI(a))?this.F.Na("onAdInfoChange",null):fM.prototype.xu.call(this)}; g.k.TW=function(){this.Q3&&this.F.playVideo()}; g.k.Q3=function(){return 2==this.F.getPlayerState(2)}; g.k.QS=function(a,b){if(!Number.isFinite(a))return g.PB(Error("Playing the video after the current media has finished is not supported")),"";if(b<=a)return g.PB(Error("Start time is not earlier than end time")),"";var c=1E3*this.u.u,d=vCa(this.u);d=this.F.yx(d,"",2,c,a,b);a+c>b&&this.F.Vz(d,b-a);return d}; g.k.dispose=function(){oCa(this.F)&&!this.T&&this.F.stopVideo(2);xM(this,"adabandoned");fM.prototype.dispose.call(this)};zM.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.identifier;var c=this.j[b];c?b=c:(c={ZA:null,LU:-Infinity},b=this.j[b]=c);c=a.startSecs+a.j/1E3;if(!(clK&&(a=Math.max(.1,a)),this.setCurrentTime(a))}; g.k.yn=function(){if(!this.u&&this.Xa)if(this.Xa.D)try{var a;JG(this,{l:"mer",sr:null==(a=this.va)?void 0:KG(a),rs:MG(this.Xa)});this.Xa.clear();this.u=this.Xa;this.Xa=void 0}catch(c){a=new g.Sx("Error while clearing Media Source in MediaElement: "+c.name+", "+c.message);var b;null==(b=this.Xa)||Fva(b);g.PB(a);this.stopVideo()}else this.stopVideo()}; g.k.stopVideo=function(){var a=this;if(!this.u)if(Jbb){if(!this.C){var b=new jI;b.then(void 0,function(){}); this.C=b;Kbb&&this.pause();g.Qw(function(){a.C===b&&(IM(a),b.resolve())},200)}}else IM(this)}; g.k.ly=function(){var a=this.Qh();return 0performance.now()?c-Date.now()+performance.now():c;c=this.u||this.Xa;if((null==c?0:c.Jl())||b<=((null==c?void 0:c.I)||0)){var d;JG(this,{l:"mede",sr:null==(d=this.va)?void 0:KG(d)});return!1}if(this.YL)return c&&"seeking"===a.type&&(c.I=performance.now(),this.YL=!1),!1}return this.D.dispatchEvent(a)}; g.k.SK=function(){this.J=!1}; g.k.PK=function(){this.J=!0;this.Dz(!0)}; g.k.rS=function(){this.J&&!this.KF()&&this.Dz(!0)}; g.k.equals=function(a){return!!a&&a.xb()===this.xb()}; g.k.ra=function(){this.T&&this.removeEventListener("volumechange",this.rS);Jbb&&IM(this);g.C.prototype.ra.call(this)}; var Jbb=!1,Kbb=!1,Ibb=!1,ADa=!1;g.k=g.KM.prototype;g.k.getData=function(){return this.j}; g.k.fd=function(){return g.S(this,8)&&!g.S(this,512)&&!g.S(this,64)&&!g.S(this,2)}; g.k.isCued=function(){return g.S(this,64)&&!g.S(this,8)&&!g.S(this,4)}; g.k.isError=function(){return g.S(this,128)}; g.k.isSuspended=function(){return g.S(this,512)}; g.k.nC=function(){return g.S(this,64)&&g.S(this,4)}; g.k.toString=function(){return"PSt."+this.state.toString(16)}; var E3={},F3=(E3.BUFFERING="buffering-mode",E3.CUED="cued-mode",E3.ENDED="ended-mode",E3.PAUSED="paused-mode",E3.PLAYING="playing-mode",E3.SEEKING="seeking-mode",E3.UNSTARTED="unstarted-mode",E3);g.v(VM,g.rC);g.k=VM.prototype;g.k.Vu=function(){var a=this.u;return a.u instanceof wL||a.u instanceof FL||a.u instanceof xL}; g.k.cJ=function(){return this.u.u.Ut()}; g.k.LQ=function(){return this.u.j}; g.k.dJ=function(){return"AD_PLACEMENT_KIND_START"==this.u.j.j}; g.k.MQ=function(){return GL(this.u)}; g.k.FT=function(a){if(!pC(a)){this.Y&&(this.ya=this.F.isAtLiveHead(),this.Aa=Math.ceil(g.Ra()/1E3));var b=new CM(this.Ai);a=jDa(a);b.Ch(a)}this.NQ()}; g.k.xU=function(){return!0}; g.k.qC=function(){return this.J instanceof wL}; g.k.NQ=function(){var a=this.Ai;this.xU()&&(a.u&&YM(a,!1),a.u=this,this.Vu()&&oFa(a));this.D.VH();this.nW()}; g.k.nW=function(){this.J?this.EA(this.J):ZM(this)}; g.k.onAdEnd=function(a,b){b=void 0===b?!1:b;this.Tl(0);ZM(this,b)}; g.k.oV=function(){this.onAdEnd()}; g.k.F4=function(){TL(this.j.Ya,"active_view_measurable")}; g.k.I4=function(){var a=this.j.Ya;RL(a)||aM(a)||TL(a,"active_view_fully_viewable_audible_half_duration")}; g.k.L4=function(){}; g.k.M4=function(){}; g.k.N4=function(){}; g.k.O4=function(){}; g.k.R4=function(){var a=this.j.Ya;RL(a)||aM(a)||TL(a,"active_view_viewable")}; g.k.G4=function(){var a=this.j.Ya;RL(a)||aM(a)||TL(a,"audio_audible")}; g.k.H4=function(){var a=this.j.Ya;RL(a)||aM(a)||TL(a,"audio_measurable")}; g.k.hT=function(){return this.qC()?[this.NF()]:[]}; g.k.ud=function(a){if(null!==this.j){this.oa||(a=new g.cM(a.state,new g.KM),this.oa=!0);var b=a.state;if(g.eM(a,2))this.j.Hi();else{var c=a;(this.F.V().experiments.qb("html5_bulleit_handle_gained_playing_state")?c.state.fd()&&!c.yv.fd():c.state.fd())?(this.D.zO(),this.j.TB()):b.isError()?this.j.Lo(b.getData().errorCode):g.eM(a,4)&&(this.ea||this.j.SB())}if(null!==this.j){if(g.eM(a,16)&&(b=this.j.Ya,!(RL(b)||.5>b.u.getCurrentTime(2,!1)))){c=b.ad;if(c.jC()){var d=b.C.F.V().K("html5_dai_enable_active_view_creating_completed_adblock"); Uka(c.I,d)}b.ad.D.seek=!0}0>dM(a,4)&&!(0>dM(a,2))&&(b=this.j,c=b.Ya,RL(c)||bM(c,"resume"),b.B||(b=b.Ya,RL(b)||bM(b,"unmuted_resume")));this.daiEnabled&&g.eM(a,512)&&!g.TM(a.state)&&this.D.Lz()}}}; g.k.onVideoDataChange=function(){return this.daiEnabled?CDa(this):!1}; g.k.resume=function(){this.j&&this.j.TW()}; g.k.Wx=function(){this.j&&this.j.lh("adended")}; g.k.Mr=function(){this.Wx()}; g.k.Tl=function(a){this.Ai.Tl(a)}; g.k.u_=function(a){this.Ai.j.Na("onAdUxUpdate",a)}; g.k.onAdUxClicked=function(a){this.j.hh(a)}; g.k.fT=function(){return 0}; g.k.gT=function(){return 1}; g.k.pP=function(a){this.daiEnabled&&this.u.I&&this.u.j.start<=a&&a=this.C?this.B.j:this.B.j.slice(this.C)).some(function(a){return a.Dy()})}; g.k.qC=function(){return this.I instanceof wL||this.I instanceof jM}; g.k.nW=function(){this.daiEnabled?jL(this.F)&&CDa(this):xEa(this)}; g.k.EA=function(a){var b=wEa(a);this.I&&b&&this.T!==b&&(b?oFa(this.Ai):qFa(this.Ai),this.T=b);this.I=a;this.daiEnabled&&(this.C=this.B.j.findIndex(function(c){return c===a})); VM.prototype.EA.call(this,a)}; g.k.CM=function(a){var b=this;VM.prototype.CM.call(this,a);a.subscribe("adnotifyexitednormalorerror",function(){return void ZM(b)})}; g.k.Mr=function(){this.C=this.B.j.length;this.j&&this.j.lh("adended");ZM(this)}; g.k.Wx=function(){this.onAdEnd()}; g.k.onAdEnd=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.daiEnabled||(this.Tl(0),a?ZM(this,b):xEa(this))}; g.k.oV=function(){if(1==this.B.u)this.I instanceof kM&&g.QB(Error("AdNotify error with FailureMode.TERMINATING")),ZM(this);else this.onAdEnd()}; g.k.NF=function(){var a=0>=this.C?this.B.j:this.B.j.slice(this.C);return 0dM(a,16)&&(this.J.forEach(this.fN,this),this.J.clear())}; g.k.r7=function(){if(this.u)this.u.onVideoDataChange()}; g.k.u7=function(){if(jL(this.j)&&this.u){var a=this.j.getCurrentTime(2,!1),b=this.u;b.j&&TCa(b.j,a)}}; g.k.D4=function(){this.Ta=!0;if(this.u){var a=this.u;a.j&&a.j.Ko()}}; g.k.P4=function(a){if(this.u)this.u.onAdUxClicked(a)}; g.k.v7=function(){if(2==this.j.getPresentingPlayerType()&&this.u){var a=this.u.j,b=a.Ya,c=a.F.isMuted();b.daiEnabled||TL(b,c?"mute":"unmute");a.B||(b=a.F.isMuted(),TL(a.Ya,b?"unmuted_mute":"unmuted_unmute"))}}; g.k.C5=function(a){if(this.u){var b=this.u.j,c=b.Ya;RL(c)||YL(c,a?"fullscreen":"end_fullscreen");b.B||(b=b.Ya,RL(b)||YL(b,a?"unmuted_fullscreen":"unmuted_end_fullscreen"))}}; g.k.Ch=function(a,b){this.j.Ch(a,b);a=g.t(a);for(b=a.next();!b.done;b=a.next())b=b.value,this.Yt.delete(b),this.B.delete(b)}; g.k.m9=function(){for(var a=[],b=g.t(this.Yt),c=b.next();!c.done;c=b.next())c=c.value,pC(c)||a.push(c);this.j.wP(a,1)}; g.k.Tl=function(a){this.j.Tl(a);switch(a){case 1:this.eG=1;break;case 0:this.eG=0}}; g.k.OO=function(){var a=this.j.getVideoData(2);return a?a.isListed&&!this.T:!1}; g.k.Wx=function(){this.u&&this.u.Vu()&&this.u.Wx()}; g.k.Mr=function(){this.u&&this.u.Vu()&&this.u.Mr()}; g.k.yc=function(a){if(this.u){var b=this.u;b.j&&TCa(b.j,a)}}; g.k.executeCommand=function(a,b,c){var d=this.tb,e=d.executeCommand;if(c=void 0===c?null:c){var f=!!this.u&&this.u||null;f?(f=f.j,c=f.ad.jC()?VL(f.Ya,c):{}):c={}}else c={};e.call(d,a,b,c)}; g.k.isDaiEnabled=function(){return!1}; g.k.dT=function(){return this.ya}; g.k.eT=function(){return this.Ja};g.v(WN,g.C);WN.prototype.append=function(a){if(!this.u)throw Error("This does not support the append operation");a=a.xb();this.xb().appendChild(a)}; g.v(XN,WN);XN.prototype.xb=function(){return this.j};g.v(sFa,g.C);var xRa=16/9,Mbb=[.25,.5,.75,1,1.25,1.5,1.75,2],Nbb=Mbb.concat([3,4,5,6,7,8,9,10,15]);var uFa=1;g.v(g.ZN,g.C);g.k=g.ZN.prototype; g.k.createElement=function(a,b){b=b||"svg"===a.G;var c=a.N,d=a.Ia;if(b){var e=document.createElementNS("http://www.w3.org/2000/svg",a.G);g.QI&&(a.X||(a.X={}),a.X.focusable="false")}else e=g.Ne(a.G);if(c){if(c=$N(this,e,"class",c))aO(this,e,"class",c),this.Ic[c]=e}else if(d){c=g.t(d);for(var f=c.next();!f.done;f=c.next())this.Ic[f.value]=e;aO(this,e,"class",d.join(" "))}d=a.qa;c=a.W;if(d)b=$N(this,e,"child",d),void 0!==b&&e.appendChild(g.Te(b));else if(c)for(d=0,c=g.t(c),f=c.next();!f.done;f=c.next())if(f= f.value)if("string"===typeof f)f=$N(this,e,"child",f),null!=f&&e.appendChild(g.Te(f));else if(f.element)e.appendChild(f.element);else{var h=f;f=this.createElement(h,b);e.appendChild(f);h.Xb&&(h=YN(),f.id=h,f=document.createElementNS("http://www.w3.org/2000/svg","use"),f.setAttribute("class","ytp-svg-shadow"),f.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+h),g.We(e,f,d++))}if(a=a.X)for(b=e,d=g.t(Object.keys(a)),c=d.next();!c.done;c=d.next())c=c.value,f=a[c],aO(this,b,c,"string"===typeof f? $N(this,b,c,f):f);return e}; g.k.Da=function(a){return this.Ic[a]}; g.k.Ea=function(a,b){"number"===typeof b?g.We(a,this.element,b):a.appendChild(this.element)}; g.k.detach=function(){g.Xe(this.element)}; g.k.update=function(a){for(var b=g.t(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,this.updateValue(c,a[c])}; g.k.updateValue=function(a,b){(a=this.wf["{{"+a+"}}"])&&aO(this,a[0],a[1],b)}; g.k.ra=function(){this.Ic={};this.wf={};this.detach();g.C.prototype.ra.call(this)};g.v(g.T,g.ZN);g.k=g.T.prototype;g.k.le=function(a,b){this.updateValue(b||"content",a)}; g.k.show=function(){this.vb||(g.Jl(this.element,"display",""),this.vb=!0)}; g.k.hide=function(){this.vb&&(g.Jl(this.element,"display","none"),this.vb=!1)}; g.k.kc=function(a){this.Aa=a}; g.k.Qa=function(a,b,c){return this.S(this.element,a,b,c)}; g.k.S=function(a,b,c,d){c=(0,g.Pa)(c,d||this);d={target:a,type:b,listener:c};this.listeners.push(d);a.addEventListener(b,c);return d}; g.k.Hc=function(a){var b=this;this.listeners.forEach(function(c,d){c===a&&(c=b.listeners.splice(d,1)[0],c.target.removeEventListener(c.type,c.listener))})}; g.k.focus=function(){var a=this.element;af(a);a.focus()}; g.k.ra=function(){for(;this.listeners.length;){var a=this.listeners.pop();a&&a.target.removeEventListener(a.type,a.listener)}g.ZN.prototype.ra.call(this)};g.v(g.dO,g.T);g.dO.prototype.subscribe=function(a,b,c){return this.fb.subscribe(a,b,c)}; g.dO.prototype.unsubscribe=function(a,b,c){return this.fb.unsubscribe(a,b,c)}; g.dO.prototype.Hh=function(a){return this.fb.Hh(a)}; g.dO.prototype.ma=function(a){return this.fb.ma.apply(this.fb,[a].concat(g.u(g.ya.apply(1,arguments))))};var Obb=new WeakSet;g.v(eO,g.dO);g.k=eO.prototype;g.k.bind=function(a){this.Ra||a.renderer&&this.init(a.id,a.renderer,{},a);return Promise.resolve()}; g.k.init=function(a,b,c){this.Ra=a;this.element.setAttribute("id",this.Ra);this.kb&&g.yo(this.element,this.kb);this.T=b&&b.adRendererCommands;this.macros=c;this.I=b.trackingParams||null;null!=this.I&&this.Bg(this.element,this.I)}; g.k.clear=function(){}; g.k.hide=function(){g.dO.prototype.hide.call(this);null!=this.I&&this.Ua(this.element,!1)}; g.k.show=function(){g.dO.prototype.show.call(this);if(!this.tb){this.tb=!0;var a=this.T&&this.T.impressionCommand;a&&this.uO(a)}null!=this.I&&this.Ua(this.element,!0)}; g.k.onClick=function(a){if(this.I&&!Obb.has(a)){var b=this.element;this.api.Dk(b)&&this.vb&&this.api.ob(b,this.interactionLoggingClientData);Obb.add(a)}if(a=this.T&&this.T.clickCommand)a=this.yW(a),this.uO(a)}; g.k.yW=function(a){return a}; g.k.z_=function(a){var b=this.ea;b.J=!0;b.u=a.touches.length;b.j.isActive()&&(b.j.stop(),b.D=!0);a=a.touches;b.I=tFa(b,a)||1!=a.length;var c=a.item(0);b.I||!c?(b.T=Infinity,b.Y=Infinity):(b.T=c.clientX,b.Y=c.clientY);for(c=b.B.length=0;cMath.pow(5,2))b.C=!0}; g.k.x_=function(a){if(this.ea){var b=this.ea,c=a.changedTouches;c&&b.J&&1==b.u&&!b.C&&!b.D&&!b.I&&tFa(b,c)&&(b.ea=a,b.j.start());b.u=a.touches.length;0===b.u&&(b.J=!1,b.C=!1,b.B.length=0);b.D=!1}}; g.k.uO=function(a){this.layoutId?this.rb.executeCommand(a,this.layoutId):g.PB(new g.Sx("There is undefined layoutId when calling the runCommand method.",{componentType:this.componentType}))}; g.k.Bg=function(a,b){this.api.Bg(a,this);this.api.Lg(a,b)}; g.k.Ua=function(a,b){this.api.Dk(a)&&this.api.Ua(a,b,this.interactionLoggingClientData)}; g.k.ra=function(){this.clear(null);this.Hc(this.jb);for(var a=g.t(this.oa),b=a.next();!b.done;b=a.next())this.Hc(b.value);g.dO.prototype.ra.call(this)};g.v(vO,eO); vO.prototype.init=function(a,b,c){eO.prototype.init.call(this,a,b,c);this.j=b;if(null==b.text&&null==b.icon)g.QB(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.yo(this.element,a);null!=b.text&&(a=g.uC(b.text),g.Nb(a)||(this.element.setAttribute("aria-label",a),this.B=new g.dO({G:"span",N:"ytp-ad-button-text",qa:a}),g.D(this,this.B),this.B.Ea(this.element)));this.api.V().K("use_accessibility_data_on_desktop_player_button")&&b.accessibilityData&& b.accessibilityData.accessibilityData&&b.accessibilityData.accessibilityData.label&&!g.Nb(b.accessibilityData.accessibilityData.label)&&this.element.setAttribute("aria-label",b.accessibilityData.accessibilityData.label);null!=b.icon&&(b=uO(b.icon),null!=b&&(this.u=new g.dO({G:"span",N:"ytp-ad-button-icon",W:[b]}),g.D(this,this.u)),this.C?g.We(this.element,this.u.element,0):this.u.Ea(this.element))}}; vO.prototype.clear=function(){this.hide()}; vO.prototype.onClick=function(a){eO.prototype.onClick.call(this,a);a=g.t(OFa(this));for(var b=a.next();!b.done;b=a.next())b=b.value,this.layoutId?this.rb.executeCommand(b,this.layoutId):g.PB(Error("Missing layoutId for button."));this.api.onAdUxClicked(this.componentType,this.layoutId)};g.v(wO,g.C);wO.prototype.ra=function(){this.u&&g.aA(this.u);this.j.clear();xO=null;g.C.prototype.ra.call(this)}; wO.prototype.register=function(a,b){b&&this.j.set(a,b)}; var xO=null;g.v(zO,eO); zO.prototype.init=function(a,b,c){eO.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&g.K(b.button,g.uK)||null;null==b?g.PB(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new vO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb),g.D(this,this.button),this.button.init(mL("button"),b,this.macros),a&&this.button.element.setAttribute("aria-label",g.uC(a)),this.button.Ea(this.element),this.D&&!g.xo(this.button.element,"ytp-ad-clickable")&&g.yo(this.button.element, "ytp-ad-clickable"),a&&(this.u=new g.dO({G:"div",N:"ytp-ad-hover-text-container"}),this.C&&(b=new g.dO({G:"div",N:"ytp-ad-hover-text-callout"}),b.Ea(this.u.element),g.D(this,b)),g.D(this,this.u),this.u.Ea(this.element),b=yO(a),g.We(this.u.element,b,0)),this.show())}; zO.prototype.hide=function(){this.button&&this.button.hide();this.u&&this.u.hide();eO.prototype.hide.call(this)}; zO.prototype.show=function(){this.button&&this.button.show();eO.prototype.show.call(this)};g.v(BO,eO); BO.prototype.init=function(a,b,c){eO.prototype.init.call(this,a,b,c);c=(a=b.thumbnail)&&AO(a)||"";g.Nb(c)?.01>Math.random()&&g.QB(Error("Found AdImage without valid image URL")):(this.j?g.Jl(this.element,"backgroundImage","url("+c+")"):Ie(this.element,{src:c}),Ie(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())}; BO.prototype.clear=function(){this.hide()};g.v(CO,eO);g.k=CO.prototype;g.k.hide=function(){eO.prototype.hide.call(this);this.B&&this.B.focus()}; g.k.show=function(){this.B=document.activeElement;eO.prototype.show.call(this);this.C.focus()}; g.k.init=function(a,b,c){eO.prototype.init.call(this,a,b,c);this.u=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.PB(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.PB(Error("ConfirmDialogRenderer.cancelLabel was not set.")):SFa(this,b):g.PB(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; g.k.clear=function(){g.mB(this.j);this.hide()}; g.k.cN=function(){this.hide()}; g.k.kJ=function(){var a=this.u.cancelEndpoint;a&&(this.layoutId?this.rb.executeCommand(a,this.layoutId):g.PB(Error("Missing layoutId for confirm dialog.")));this.hide()}; g.k.dN=function(){var a=this.u.confirmNavigationEndpoint||this.u.confirmEndpoint;a&&(this.layoutId?this.rb.executeCommand(a,this.layoutId):g.PB(Error("Missing layoutId for confirm dialog.")));this.hide()};g.v(DO,eO);g.k=DO.prototype; g.k.init=function(a,b,c){eO.prototype.init.call(this,a,b,c);this.u=b;if(null==b.defaultText&&null==b.defaultIcon)g.PB(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.PB(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.yo(this.B,a)}a={};b.defaultText? (c=g.uC(b.defaultText),g.Nb(c)||(a.buttonText=c,this.j.setAttribute("aria-label",c))):g.am(this.ya,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip,this.j.hasAttribute("aria-label")||this.Y.setAttribute("aria-label",b.defaultTooltip));b.defaultIcon?(c=uO(b.defaultIcon),this.updateValue("untoggledIconTemplateSpec",c),b.toggledIcon?(this.J=!0,c=uO(b.toggledIcon),this.updateValue("toggledIconTemplateSpec",c)):(g.am(this.D,!0),g.am(this.C,!1)),g.am(this.j,!1)):g.am(this.Y,!1);g.Rc(a)||this.update(a); b.isToggled&&(g.yo(this.B,"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));EO(this);this.S(this.element,"change",this.XQ);this.show()}}; g.k.onClick=function(a){0a&&g.PB(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.Ta&&g.yo(this.u.element,"countdown-next-to-thumbnail");this.api.V().experiments.qb("uncover_ad_badge_on_RTL_tiny_window")&&g.yo(this.u.element,"ytp-ad-preview-container-larger-bottom");a=b.durationMilliseconds;this.ya=null==a||0===a?this.j.Fo():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText; else b.staticPreview&&(d=b.staticPreview);this.B.init(mL("ad-text"),d,c);(d=this.api.getVideoData(1))&&d.Vn&&b.thumbnail?this.C.init(mL("ad-image"),b.thumbnail,c):this.J.hide()}; g.k.clear=function(){this.hide()}; g.k.hide=function(){this.u.hide();this.B.hide();this.C.hide();PO(this);NO.prototype.hide.call(this)}; g.k.show=function(){OO(this);this.u.show();this.B.show();this.C.show();NO.prototype.show.call(this)}; g.k.Nv=function(){this.hide()}; g.k.kt=function(){if(null!=this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.Ja&&a>=this.ya?(this.Y.hide(),this.Ja=!0,this.ma("i")):this.B&&this.B.isTemplated()&&(a=Math.max(0,Math.ceil((this.ya-a)/1E3)),a!=this.Ma&&(MO(this.B,{TIME_REMAINING:String(a)}),this.Ma=a)))}};g.v(UO,NO);g.k=UO.prototype; g.k.init=function(a,b,c){NO.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if((a=b.actionButton&&g.K(b.actionButton,g.uK))&&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.ya&&(PO(this),g.Ao(this.element,"ytp-flyout-cta-inactive"),this.u.element.removeAttribute("tabIndex"))}}; g.k.Nv=function(){this.clear()}; g.k.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.ZQ.bind(this))}; g.k.show=function(){this.u&&this.u.show();NO.prototype.show.call(this)}; g.k.hide=function(){this.u&&this.u.hide();NO.prototype.hide.call(this)}; g.k.ZQ=function(a){"hidden"==a?this.show():this.hide()};g.v(VO,eO);g.k=VO.prototype; g.k.init=function(a,b,c){eO.prototype.init.call(this,a,b,c);this.j=b;if(this.j.rectangle)for(a=this.j.likeButton&&g.K(this.j.likeButton,Z2),b=this.j.dislikeButton&&g.K(this.j.dislikeButton,Z2),this.B.init(mL("toggle-button"),a,c),this.u.init(mL("toggle-button"),b,c),this.S(this.element,"change",this.aR),this.C.show(100),this.show(),c=g.t(this.j&&this.j.impressionCommands||[]),a=c.next();!a.done;a=c.next())a=a.value,this.layoutId?this.rb.executeCommand(a,this.layoutId):g.PB(Error("Missing layoutId for instream user sentiment."))}; g.k.clear=function(){this.hide()}; g.k.hide=function(){this.B.hide();this.u.hide();eO.prototype.hide.call(this)}; g.k.show=function(){this.B.show();this.u.show();eO.prototype.show.call(this)}; g.k.aR=function(){fla(this.element,"ytp-ad-instream-user-sentiment-selected");this.j.postMessageAction&&this.api.Na("onYtShowToast",this.j.postMessageAction);this.C.hide()}; g.k.onClick=function(a){0=this.J&&hGa(this,!0)};g.v($O,vO);$O.prototype.init=function(a,b,c){vO.prototype.init.call(this,a,b,c);a=!1;null!=b.text&&(a=g.uC(b.text),a=!g.Nb(a));a?null==b.navigationEndpoint?g.QB(Error("No visit advertiser clickthrough provided in renderer,")):"STYLE_UNKNOWN"!==b.style?g.QB(Error("Button style was not a link-style type in renderer,")):this.show():g.QB(Error("No visit advertiser text was present in the renderer."))};g.v(aP,eO);aP.prototype.init=function(a,b,c){eO.prototype.init.call(this,a,b,c);a=b.text;g.Nb(fO(a))?g.QB(Error("SimpleAdBadgeRenderer has invalid or empty text")):(a&&a.text&&(b=a.text,this.j&&(b=this.api.V(),b=a.text+" "+(b&&b.u?"\u2022":"\u00b7")),b={text:b,isTemplated:a.isTemplated},a.style&&(b.style=a.style),a.targetId&&(b.targetId=a.targetId),a=new LO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb),a.init(mL("simple-ad-badge"),b,c),a.Ea(this.element),g.D(this,a)),this.show())}; aP.prototype.clear=function(){this.hide()};g.v(bP,nL);g.v(cP,g.rC);g.k=cP.prototype;g.k.Fo=function(){return this.durationMs}; g.k.stop=function(){this.j&&this.qd.Hc(this.j)}; g.k.yc=function(a){this.u={seekableStart:0,seekableEnd:this.durationMs/1E3,current:a.current};this.ma("h")}; g.k.getProgressState=function(){return this.u}; g.k.ud=function(a){g.eM(a,2)&&this.ma("g")};g.v(dP,g.rC);g.k=dP.prototype;g.k.Fo=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.yc=function(){this.Pi+=100;var a=!1;this.Pi>this.durationMs&&(this.Pi=this.durationMs,this.timer.stop(),a=!0);this.u={seekableStart:0,seekableEnd:this.durationMs/1E3,current:this.Pi/1E3};this.Ae&&this.Ae.yc(this.u.current);this.ma("h");a&&this.ma("g")}; g.k.getProgressState=function(){return this.u};g.v(gP,NO);g.k=gP.prototype;g.k.init=function(a,b,c){NO.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.QB(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.u=new LO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb);this.u.init(mL("ad-text"),a,{});this.u.Ea(this.element);g.D(this,this.u)}this.show()}; g.k.clear=function(){this.hide()}; g.k.hide=function(){PO(this);NO.prototype.hide.call(this)}; g.k.Nv=function(){this.hide()}; g.k.kt=function(){if(null!=this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&this.u&&(a=(this.j instanceof cP?void 0!==this.videoAdDurationSeconds?this.videoAdDurationSeconds:a.seekableEnd:void 0!==this.videoAdDurationSeconds?this.videoAdDurationSeconds:this.j instanceof dP?a.seekableEnd:this.api.getDuration(2,!1))-a.current,MO(this.u,{FORMATTED_AD_DURATION_REMAINING:String(g.eP(a)),TIME_REMAINING:String(Math.ceil(a))}))}}; g.k.show=function(){OO(this);NO.prototype.show.call(this)};g.v(hP,LO);hP.prototype.onClick=function(a){LO.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.v(mP,g.dO);mP.prototype.yc=function(){var a=this.u.getProgressState();this.Jc.style.width=100*lP(new iP(a.seekableStart,a.seekableEnd),a.current,0)+"%"}; mP.prototype.onStateChange=function(){g.vI(this.api.V())||(2===this.api.getPresentingPlayerType()?-1===this.j&&(this.show(),this.j=this.u.subscribe("h",this.yc,this),this.yc()):-1!==this.j&&(this.hide(),this.u.Hh(this.j),this.j=-1))};g.v(nP,eO); nP.prototype.init=function(a,b,c,d){eO.prototype.init.call(this,a,b,c);b.skipOrPreviewRenderer&&(c=b.skipOrPreviewRenderer,a=g.K(c,u0),c=g.K(c,w0),a?(c=new ZO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,this.j,this.J),c.Ea(this.D),c.init(mL("skip-button"),a,this.macros),g.D(this,c)):c&&(a=new SO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,this.j,!1),a.Ea(this.D),a.init(mL("ad-preview"),c,this.macros),TO(a),g.D(this,a)));b.brandInteractionRenderer&&(a=b.brandInteractionRenderer.brandInteractionRenderer, c=new VO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb),c.Ea(this.Y),c.init(mL("instream-user-sentiment"),a,this.macros),g.D(this,c));if(a=g.K(b,N9a))if(a=g.K(a,N9a))c=new UO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,this.j),g.D(this,c),c.Ea(this.C),c.init(mL("flyout-cta"),a,this.macros);d=d&&d.videoAdDurationSeconds;b.adBadgeRenderer&&(a=b.adBadgeRenderer.simpleAdBadgeRenderer,null==a&&(a={text:{text:"Ad",isTemplated:!1}}),c=new aP(this.api,this.layoutId, this.interactionLoggingClientData,this.rb,!0),g.D(this,c),c.Ea(this.u),c.init(mL("simple-ad-badge"),a,this.macros));b.adDurationRemaining&&(a=b.adDurationRemaining.adDurationRemainingRenderer,null==a&&(a={templatedCountdown:{templatedAdText:{text:"{FORMATTED_AD_DURATION_REMAINING}",isTemplated:!0}}}),d=new gP(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,this.j,d),g.D(this,d),d.Ea(this.u),d.init(mL("ad-duration-remaining"),a,this.macros));b.adInfoRenderer&&(d=g.K(b.adInfoRenderer, v0))&&(a=new KO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,this.element),g.D(this,a),a.Ea(this.u),a.init(mL("ad-info-hover-text-button"),d,this.macros));b.visitAdvertiserRenderer&&(b=g.K(b.visitAdvertiserRenderer,g.uK))&&(d=jGa(this)&&this.B?this.B:this.u)&&(a=new $O(this.api,this.layoutId,this.interactionLoggingClientData,this.rb),g.D(this,a),a.Ea(d),a.init(mL("visit-advertiser"),b,this.macros),this.api.V().K("web_enable_instream_ads_link_definition_a11y_bugfix")&&a.element.setAttribute("role", "link"));(b=this.api.V())&&!g.tI(b)&&"3"==b.controlsType&&(b=new mP(this.api,this.j),b.Ea(this.ya),g.D(this,b));this.api.V().K("enable_updated_html5_player_focus_style")&&g.yo(this.element,"ytp-ad-player-overlay-updated-focus-style");this.show()}; nP.prototype.clear=function(){this.hide()};g.Fa("yt.pubsub.publish",g.vA);var H3={},pGa=(H3.WEB_UNPLUGGED="^unplugged/",H3.WEB_UNPLUGGED_ONBOARDING="^unplugged/",H3.WEB_UNPLUGGED_OPS="^unplugged/",H3.WEB_UNPLUGGED_PUBLIC="^unplugged/",H3.WEB_CREATOR="^creator/",H3.WEB_KIDS="^kids/",H3.WEB_EXPERIMENTS="^experiments/",H3.WEB_MUSIC="^music/",H3.WEB_REMIX="^music/",H3.WEB_MUSIC_EMBEDDED_PLAYER="^music/",H3.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",H3);tP.prototype.D=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?sz:c;var d={context:g.tN(a.clickTrackingParams,!1,this.C)};var e=this.j(a);if(e){this.u(d,e,b);var f;b=g.sP(this.B());(e=null==(f=g.K(a.commandMetadata,g.V2))?void 0:f.apiUrl)&&(b=e);f=foa(ux(b));a=Object.assign({},{command:a},void 0);d={input:f,qt:vx(f),So:d,config:a};d.config.mu?d.config.mu.identity=c:d.config.mu={identity:c};return d}g.PB(new g.Sx("Error: Failed to create Request from Command.",a))}; g.da.Object.defineProperties(tP.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return!1}}});g.v(uP,tP);uP.prototype.D=function(){return{input:"/getDatasyncIdsEndpoint",qt:vx("/getDatasyncIdsEndpoint","GET"),So:{}}}; uP.prototype.B=function(){return[]}; uP.prototype.j=function(){}; uP.prototype.u=function(){};var Pbb={},rGa=(Pbb.GET_DATASYNC_IDS=rP(uP),Pbb);var wGa="tokens consistency mss client_location entities response_received_commands store PLAYER_PRELOAD".split(" "),yGa=["type.googleapis.com/youtube.api.pfiinnertube.YoutubeApiInnertube.BrowseResponse"];var BGa=new wA("INNERTUBE_TRANSPORT_TOKEN");g.v(xP,tP);xP.prototype.B=function(){return Nab}; xP.prototype.j=function(a){return g.K(a,zab)||void 0}; xP.prototype.u=function(a,b,c){c=void 0===c?{}:c;b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params);c.botguardResponse&&(a.botguardResponse=c.botguardResponse);c.feature&&(a.clientFeature=c.feature)}; g.da.Object.defineProperties(xP.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return!0}}});g.v(yP,tP);yP.prototype.B=function(){return Oab}; yP.prototype.j=function(a){return g.K(a,xab)||void 0}; yP.prototype.u=function(a,b){b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params)}; g.da.Object.defineProperties(yP.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return!0}}});g.v(zP,tP);zP.prototype.B=function(){return Kab}; zP.prototype.j=function(a){return g.K(a,e$a)||void 0}; zP.prototype.u=function(a,b,c){a.feedbackTokens=[];b.feedbackToken&&a.feedbackTokens.push(b.feedbackToken);if(b=b.cpn||c.cpn)a.feedbackContext={cpn:b};a.isFeedbackTokenUnencrypted=!!c.is_feedback_token_unencrypted;a.shouldMerge=!1;c.extra_feedback_tokens&&(a.shouldMerge=!0,a.feedbackTokens=a.feedbackTokens.concat(c.extra_feedback_tokens))}; g.da.Object.defineProperties(zP.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return!0}}});g.v(AP,tP);AP.prototype.B=function(){return Lab}; AP.prototype.j=function(a){return g.K(a,wab)||void 0}; AP.prototype.u=function(a,b){b.params&&(a.params=b.params);b.secondaryParams&&(a.secondaryParams=b.secondaryParams)};g.v(BP,tP);BP.prototype.B=function(){return Mab}; BP.prototype.j=function(a){return g.K(a,uab)||void 0}; BP.prototype.u=function(a,b){b.actions&&(a.actions=b.actions);b.params&&(a.params=b.params);b.playlistId&&(a.playlistId=b.playlistId)};g.v(CP,tP);CP.prototype.B=function(){return Jab}; CP.prototype.j=function(a){return g.K(a,kab)}; CP.prototype.u=function(a,b,c){c=void 0===c?{}:c;b.serializedShareEntity&&(a.serializedSharedEntity=b.serializedShareEntity);c.includeListId&&(a.includeListId=!0)};var Qbb=new wA("NETWORK_SLI_TOKEN");DP.prototype.fetch=function(a,b){var c=this,d,e,f;return g.A(function(h){c.j&&(d=ei(g.gi(5,ui(a,"key")))||"/UNKNOWN_PATH",c.j.start(d));e=b;g.vw("wug_networking_gzip_request")&&(e=Ypa(b));f=new window.Request(a,e);return g.vw("web_fetch_promise_cleanup_killswitch")?h.return(Promise.resolve(fetch(f).then(function(l){return c.handleResponse(l)}).catch(function(l){g.QB(l)}))):h.return(fetch(f).then(function(l){return c.handleResponse(l)}).catch(function(l){g.QB(l)}))})}; DP.prototype.handleResponse=function(a){var b=a.text().then(function(c){return JSON.parse(c.replace(")]}'",""))}); a.redirected||a.ok?this.j&&this.j.success():(this.j&&this.j.P5a(),b=b.then(function(c){g.QB(new g.Sx("Error: API fetch failed",a.status,a.url,c));return Object.assign({},c,{errorMetadata:{status:a.status}})})); return b}; DP[zA]=[new xA(Qbb)];var AGa=new wA("NETWORK_MANAGER_TOKEN");var EP;GP.prototype.fetch=function(a,b,c){var d=this;return new Promise(function(e){var f=new XMLHttpRequest;f.onerror=function(){e(d.handleResponse(a,f.status,f.response))}; f.onload=function(){e(d.handleResponse(a,f.status,f.response))}; if(null==c?0:c.fz)f.onreadystatechange=function(p){c.fz(f,p)}; var h;f.open(null!=(h=b.method)?h:"GET",a,!0);f.responseType="text";f.withCredentials=!0;if(b.headers){h=g.t(Object.entries(b.headers));for(var l=h.next();!l.done;l=h.next()){var m=g.t(l.value);l=m.next().value;m=m.next().value;f.setRequestHeader(l,m)}}var n;f.send(null!=(n=b.body)?n:null)})}; GP.prototype.handleResponse=function(a,b,c){c=c.replace(")]}'","");try{var d=JSON.parse(c)}catch(e){g.QB(new g.Sx("JSON parsing failed after XHR fetch",a,b,c)),d={}}200!==b&&(g.QB(new g.Sx("XHR API fetch failed",a,b,c)),d=Object.assign({},d,{errorMetadata:{status:b}}));return d};var DGa=[],HP=!1;var s_a={adNotify:function(a){var b=new Qr;try{return void 0!==a.adMediaTimeSec&&H(b,1,a.adMediaTimeSec),void 0!==a.adMediaTimeMs&&H(b,6,a.adMediaTimeMs),void 0!==a.timeToAdBreakSec&&H(b,2,a.timeToAdBreakSec),void 0!==a.clientScreenNonce&&H(b,3,a.clientScreenNonce),void 0!==a.clientPlaybackNonce&&H(b,4,a.clientPlaybackNonce),void 0!==a.videoAdBreakOffsetSec&&H(b,5,a.videoAdBreakOffsetSec),void 0!==a.videoAdBreakOffsetMs&&H(b,7,a.videoAdBreakOffsetMs),b}catch(c){W(c)}}, biscottiBasedDetection:function(a){var b=new Mt;try{return void 0!==a.detected&&H(b,1,a.detected),void 0!==a.source&&H(b,2,a.source),void 0!==a.contentCpn&&H(b,3,a.contentCpn),void 0!==a.contentCsn&&H(b,4,a.contentCsn),void 0!==a.method&&H(b,5,a.method),void 0!==a.result&&H(b,6,a.result),void 0!==a.adCpn&&H(b,7,a.adCpn),void 0!==a.playbackType&&H(b,8,a.playbackType),b}catch(c){W(c)}}, adNotifyFilled:function(a){var b=new Pr;try{return void 0!==a.notifyCompositeType&&H(b,1,t$a[a.notifyCompositeType]),b}catch(c){W(c)}}, idbTransactionEnded:function(a){var b=new xv;try{return void 0!==a.objectStoreNames&&H(b,1,a.objectStoreNames),void 0!==a.duration&&b.Rk(a.duration),void 0!==a.isSuccessful&&H(b,3,a.isSuccessful),void 0!==a.connectionHasUnknownAbortedTransaction&&H(b,4,a.connectionHasUnknownAbortedTransaction),void 0!==a.tryCount&&H(b,5,a.tryCount),void 0!==a.tag&&H(b,6,W$a[a.tag]),b}catch(c){W(c)}}, idbUnexpectedlyClosed:function(a){var b=new yv;try{return void 0!==a.dbName&&H(b,1,a.dbName),void 0!==a.dbVersion&&H(b,2,a.dbVersion),b}catch(c){W(c)}}, flowEvent:function(a){var b=new pv;try{void 0!==a.flowNonce&&H(b,1,a.flowNonce);if(a.flowEventType){a:{var c=a.flowEventType,d=new ov;try{void 0!==c.flowEventNamespace&&H(d,1,Q$a[c.flowEventNamespace]);void 0!==c.flowEventType&&H(d,2,c.flowEventType);var e=d;break a}catch(va){W(va)}e=void 0}I(b,ov,2,e)}if(a.flowMetadata){a:{var f=a.flowMetadata,h=new nv;try{if(f.notaireContext){b:{var l=f.notaireContext,m=new Du;try{if(l.serverInfo){c:{var n=l.serverInfo,p=new Cu;try{void 0!==n.id&&H(p,1,n.id);void 0!== n.forceLog&&H(p,2,n.forceLog);var q=p;break c}catch(va){W(va)}q=void 0}I(m,Cu,1,q)}if(l.clientInfo){c:{var r=l.clientInfo,w=new Bu;try{void 0!==r.timeSinceReceivedMs&&H(w,1,r.timeSinceReceivedMs);var x=w;break c}catch(va){W(va)}x=void 0}I(m,Bu,2,x)}var z=m;break b}catch(va){W(va)}z=void 0}I(h,Du,1,z)}if(f.offlineTransferStatusChangedContext){b:{var B=f.offlineTransferStatusChangedContext,E=new Ju;try{if(B.offlineTransferStatusChanged){var G=qIa(B.offlineTransferStatusChanged);I(E,Iu,1,G)}var F=E; break b}catch(va){W(va)}F=void 0}I(h,Ju,2,F)}if(f.offlineOrchestrationContext){b:{var L=f.offlineOrchestrationContext,O=new Fu;try{void 0!==L.entityType&&H(O,1,L.entityType);void 0!==L.entityId&&H(O,7,L.entityId);void 0!==L.offlineOrchestrationActionType&&H(O,6,nab[L.offlineOrchestrationActionType]);void 0!==L.offlineOrchestrationActionResult&&H(O,2,mab[L.offlineOrchestrationActionResult]);void 0!==L.offlineOrchestrationFailureReason&&H(O,10,oab[L.offlineOrchestrationFailureReason]);void 0!==L.isRetryable&& H(O,3,L.isRetryable);void 0!==L.isRestored&&H(O,11,L.isRestored);if(L.orchestrationAction){var U=kJa(L.orchestrationAction);I(O,Eu,4,U)}L.additionalOrchestrationActions&&JP(O.j.bind(O),L.additionalOrchestrationActions,kJa);void 0!==L.intervalSinceEnqueuedMs&&H(O,8,L.intervalSinceEnqueuedMs);void 0!==L.executionIntervalMs&&H(O,9,L.executionIntervalMs);var ba=O;break b}catch(va){W(va)}ba=void 0}I(h,Fu,3,ba)}if(f.shortsCreationContext){b:{var V=f.shortsCreationContext,R=new av;try{void 0!==V.shortsCreationSurfaces&& KP(R.j.bind(R),V.shortsCreationSurfaces,yab);var Y=R;break b}catch(va){W(va)}Y=void 0}I(h,av,4,Y)}if(f.mdxConnectionContext){b:{var P=f.mdxConnectionContext,pa=new xu;try{void 0!==P.isReconnection&&H(pa,1,P.isReconnection);void 0!==P.disconnectReason&&H(pa,2,Z$a[P.disconnectReason]);void 0!==P.isRetry&&H(pa,3,P.isRetry);var la=pa;break b}catch(va){W(va)}la=void 0}I(h,xu,5,la)}if(f.premiumMultiStepPurchaseContext){b:{var Ka=f.premiumMultiStepPurchaseContext,cb=new Tu;try{if(Ka.selectedOption){c:{var Na= Ka.selectedOption,Ua=new Su;try{void 0!==Na.offerType&&H(Ua,1,a$a[Na.offerType]);void 0!==Na.itemType&&H(Ua,2,iQ[Na.itemType]);void 0!==Na.itemExternalId&&H(Ua,3,Na.itemExternalId);var qa=Ua;break c}catch(va){W(va)}qa=void 0}I(cb,Su,1,qa)}void 0!==Ka.itemType&&H(cb,2,iQ[Ka.itemType]);void 0!==Ka.productType&&H(cb,3,jQ[Ka.productType]);void 0!==Ka.landingPageVariantId&&H(cb,4,Ka.landingPageVariantId);void 0!==Ka.experimentStatus&&H(cb,5,aab[Ka.experimentStatus]);void 0!==Ka.themeKey&&H(cb,6,Ka.themeKey); void 0!==Ka.signupType&&H(cb,7,bab[Ka.signupType]);var kb=cb;break b}catch(va){W(va)}kb=void 0}I(h,Tu,6,kb)}if(f.mdxReceiverConnectionContext){b:{var $a=f.mdxReceiverConnectionContext,gb=new yu;try{void 0!==$a.isFromAppLaunch&&H(gb,1,$a.isFromAppLaunch);void 0!==$a.dialServerType&&H(gb,2,Y$a[$a.dialServerType]);void 0!==$a.supportsSmoothPairing&&H(gb,3,$a.supportsSmoothPairing);void 0!==$a.hasManuallyPairedRemotesOnAppStartup&&H(gb,4,$a.hasManuallyPairedRemotesOnAppStartup);void 0!==$a.mismatchedTheme&& H(gb,5,X9a[$a.mismatchedTheme]);void 0!==$a.mdxSenderConnectedCounter&&H(gb,6,$a.mdxSenderConnectedCounter);void 0!==$a.externalRouteSource&&H(gb,7,X$a[$a.externalRouteSource]);void 0!==$a.appReloadCount&&H(gb,8,$a.appReloadCount);var yc=gb;break b}catch(va){W(va)}yc=void 0}I(h,yu,7,yc)}if(f.parentToolsOnboardingContext){b:{var vb=f.parentToolsOnboardingContext,Wb=new Lu;try{void 0!==vb.triggerPoint&&H(Wb,1,l$a[vb.triggerPoint]);if(vb.kidsFlowInfo){c:{var Sb=vb.kidsFlowInfo,$c=new Ku;try{void 0!== Sb.kidsFlowVersion&&H($c,1,i$a[Sb.kidsFlowVersion]);void 0!==Sb.flowLabel&&H($c,2,Sb.flowLabel);void 0!==Sb.hostClientName&&H($c,3,j$a[Sb.hostClientName]);void 0!==Sb.hostClientVersion&&H($c,4,Sb.hostClientVersion);void 0!==Sb.kidsFlowType&&H($c,5,h$a[Sb.kidsFlowType]);var ud=$c;break c}catch(va){W(va)}ud=void 0}I(Wb,Ku,2,ud)}void 0!==vb.kidsCorpusPreferenceNew&&H(Wb,3,g$a[vb.kidsCorpusPreferenceNew]);void 0!==vb.appChoice&&H(Wb,4,k$a[vb.appChoice]);void 0!==vb.isKidSignedIn&&H(Wb,5,vb.isKidSignedIn); void 0!==vb.alreadyOnboardedYtk&&H(Wb,6,vb.alreadyOnboardedYtk);void 0!==vb.alreadyOnboardedSupex&&H(Wb,7,vb.alreadyOnboardedSupex);var ac=Wb;break b}catch(va){W(va)}ac=void 0}I(h,Lu,8,ac)}if(f.hashtagAutoCompleteContext){b:{var Uc=f.hashtagAutoCompleteContext,Ee=new ku;try{void 0!==Uc.suggestionSelected&&H(Ee,1,Uc.suggestionSelected);var qc=Ee;break b}catch(va){W(va)}qc=void 0}I(h,ku,9,qc)}if(f.liveStreamingContext){b:{var Jb=f.liveStreamingContext,Tb=new wu;try{void 0!==Jb.broadcastSource&&H(Tb, 1,r$a[Jb.broadcastSource]);void 0!==Jb.isAutoDashboard&&H(Tb,2,Jb.isAutoDashboard);void 0!==Jb.externalVideoId&&H(Tb,3,Jb.externalVideoId);void 0!==Jb.broadcastConferenceType&&H(Tb,4,p$a[Jb.broadcastConferenceType]);if(Jb.eventData){c:{var Kb=Jb.eventData,zc=new vu;try{if(Kb.webrtcHandshakeOffer){d:{var Mc=Kb.webrtcHandshakeOffer,Fd=new uu;try{void 0!==Mc.localVideoSsrc&&H(Fd,1,Mc.localVideoSsrc);void 0!==Mc.localAudioSsrc&&H(Fd,2,Mc.localAudioSsrc);void 0!==Mc.participantId&&H(Fd,3,Mc.participantId); var Xb=Fd;break d}catch(va){W(va)}Xb=void 0}I(zc,uu,1,Xb)}if(Kb.webrtcHandshakeAnswer){d:{var uc=Kb.webrtcHandshakeAnswer,Ma=new ru;try{void 0!==uc.remoteVideoSsrc&&H(Ma,1,uc.remoteVideoSsrc);void 0!==uc.remoteAudioSsrc&&H(Ma,2,uc.remoteAudioSsrc);var ad=Ma;break d}catch(va){W(va)}ad=void 0}I(zc,ru,2,ad)}if(Kb.webrtcHandshakeError){d:{var Oe=Kb.webrtcHandshakeError,ig=new tu;try{void 0!==Oe.description&&H(ig,1,Oe.description);var he=ig;break d}catch(va){W(va)}he=void 0}I(zc,tu,3,he)}if(Kb.costreamStartNotification){d:{var Kf= Kb.costreamStartNotification,Pe=new nu;try{void 0!==Kf.broadcastStartTimeMs&&H(Pe,1,Kf.broadcastStartTimeMs);var Vd=Pe;break d}catch(va){W(va)}Vd=void 0}I(zc,nu,4,Vd)}if(Kb.remoteParticipant){d:{var vd=Kb.remoteParticipant,wd=new pu;try{void 0!==vd.videoSsrc&&H(wd,1,vd.videoSsrc);void 0!==vd.audioSsrc&&H(wd,2,vd.audioSsrc);var Gd=wd;break d}catch(va){W(va)}Gd=void 0}I(zc,pu,5,Gd)}if(Kb.webcamEventData){d:{var Nc=Kb.webcamEventData,Hd=new qu;try{void 0!==Nc.videoFrameRate&&eh(Hd,1,Nc.videoFrameRate); void 0!==Nc.videoAspectRatio&&eh(Hd,2,Nc.videoAspectRatio);void 0!==Nc.videoHeight&&H(Hd,3,Nc.videoHeight);void 0!==Nc.videoWidth&&H(Hd,4,Nc.videoWidth);void 0!==Nc.videoCaptureCursor&&H(Hd,5,Nc.videoCaptureCursor);void 0!==Nc.videoCaptureSurface&&H(Hd,6,Nc.videoCaptureSurface);void 0!==Nc.videoCaptureAudioEnabled&&H(Hd,7,Nc.videoCaptureAudioEnabled);var yf=Hd;break d}catch(va){W(va)}yf=void 0}I(zc,qu,6,yf)}if(Kb.errorEventData){d:{var xd=Kb.errorEventData,kd=new ou;try{void 0!==xd.liveClientErrorType&& H(kd,1,n$a[xd.liveClientErrorType]);void 0!==xd.liveServerErrorType&&H(kd,2,o$a[xd.liveServerErrorType]);void 0!==xd.kioskClientApiErrorType&&H(kd,3,m$a[xd.kioskClientApiErrorType]);var fc=kd;break d}catch(va){W(va)}fc=void 0}I(zc,ou,7,fc)}var zb=zc;break c}catch(va){W(va)}zb=void 0}I(Tb,vu,5,zb)}void 0!==Jb.isMonetizationOn&&H(Tb,6,Jb.isMonetizationOn);void 0!==Jb.sharedmdeEnabled&&H(Tb,7,Jb.sharedmdeEnabled);void 0!==Jb.isScreencast&&H(Tb,8,Jb.isScreencast);void 0!==Jb.broadcastLifecycleStatus&& H(Tb,9,q$a[Jb.broadcastLifecycleStatus]);var Cb=Tb;break b}catch(va){W(va)}Cb=void 0}I(h,wu,10,Cb)}if(f.touAppealContext){b:{var ld=f.touAppealContext,Qe=new fv;try{void 0!==ld.scope&&H(Qe,1,ld.scope);if(ld.videoId){var Id=Qe.setVideoId;c:{var Oi=ld.videoId,Mh=new dv;try{void 0!==Oi.externalVideoId&&H(Mh,1,Oi.externalVideoId);var Yb=Mh;break c}catch(va){W(va)}Yb=void 0}Id.call(Qe,Yb)}if(ld.videoThumbnailId){c:{var md=ld.videoThumbnailId,lf=new ev;try{void 0!==md.externalVideoId&&H(lf,1,md.externalVideoId); void 0!==md.thumbnailVersion&&H(lf,3,md.thumbnailVersion);void 0!==md.checksum&&H(lf,4,md.checksum);var jg=lf;break c}catch(va){W(va)}jg=void 0}dh(Qe,ev,3,Y2,jg)}if(ld.playlistId){c:{var Nh=ld.playlistId,jh=new cv;try{void 0!==Nh.externalPlaylistId&&H(jh,1,Nh.externalPlaylistId);var Oh=jh;break c}catch(va){W(va)}Oh=void 0}dh(Qe,cv,4,Y2,Oh)}void 0!==ld.urlHostname&&$g(Qe,5,Y2,ld.urlHostname);void 0!==ld.encodedTouViolativeContentId&&H(Qe,6,ld.encodedTouViolativeContentId);void 0!==ld.encodedChannelTouViolativeContentId&& H(Qe,7,ld.encodedChannelTouViolativeContentId);var nd=Qe;break b}catch(va){W(va)}nd=void 0}I(h,fv,11,nd)}if(f.dragAndDropContext){b:{var mf=f.dragAndDropContext,kh=new iu;try{if(mf.rootVe){var Jj=LP(mf.rootVe);I(kh,hu,1,Jj)}if(mf.ve){var Fk=LP(mf.ve);I(kh,hu,2,Fk)}var bd=kh;break b}catch(va){W(va)}bd=void 0}I(h,iu,12,bd)}if(f.socialSuggestionsContext){b:{var od=f.socialSuggestionsContext,ni=new bv;try{void 0!==od.socialSuggestionsType&&H(ni,1,dab[od.socialSuggestionsType]);void 0!==od.suggestionSelected&& H(ni,2,od.suggestionSelected);void 0!==od.source&&H(ni,3,eab[od.source]);var Vc=ni;break b}catch(va){W(va)}Vc=void 0}I(h,bv,13,Vc)}if(f.featureEnablementContext){b:{var kg=f.featureEnablementContext,Pi=new ju;try{void 0!==kg.feature&&H(Pi,1,iHa[kg.feature]);var Kg=Pi;break b}catch(va){W(va)}Kg=void 0}I(h,ju,14,Kg)}if(f.iapContext){b:{var pd=f.iapContext,Re=new mu;try{if(pd.playIapProduct){c:{var Ph=pd.playIapProduct,zf=new lu;try{void 0!==Ph.packageId&&H(zf,1,Ph.packageId);void 0!==Ph.productId&& H(zf,2,Ph.productId);var lg=zf;break c}catch(va){W(va)}lg=void 0}dh(Re,lu,1,O$a,lg)}void 0!==pd.source&&H(Re,2,S$a[pd.source]);void 0!==pd.attributionId&&H(Re,3,pd.attributionId);void 0!==pd.externalVideoId&&H(Re,4,pd.externalVideoId);void 0!==pd.externalChannelId&&H(Re,5,pd.externalChannelId);var Qi=Re;break b}catch(va){W(va)}Qi=void 0}I(h,mu,15,Qi)}if(f.shoppingCheckoutContext){b:{var Fe=f.shoppingCheckoutContext,qd=new $u;try{if(Fe.shoppingFlowParams){var mg=nJa(Fe.shoppingFlowParams);I(qd,Yu, 1,mg)}void 0!==Fe.shoppingCheckoutErrorReason&&H(qd,2,cab[Fe.shoppingCheckoutErrorReason]);var ng=qd;break b}catch(va){W(va)}ng=void 0}I(h,$u,16,ng)}if(f.ypcCancellationContext){b:{var Lf=f.ypcCancellationContext,Qh=new lv;try{void 0!==Lf.itemType&&H(Qh,1,iQ[Lf.itemType]);void 0!==Lf.productType&&H(Qh,2,jQ[Lf.productType]);var og=Qh;break b}catch(va){W(va)}og=void 0}I(h,lv,17,og)}if(f.ypcBrowseOffersContext){b:{var Aa=f.ypcBrowseOffersContext,Lg=new kv;try{if(Aa.commerceFlowLoggingParams){var rn= rJa(Aa.commerceFlowLoggingParams);I(Lg,jv,1,rn)}void 0!==Aa.offerType&&H(Lg,2,b$a[Aa.offerType]);void 0!==Aa.entityType&&H(Lg,3,K$a[Aa.entityType]);var Tl=Lg;break b}catch(va){W(va)}Tl=void 0}I(h,kv,18,Tl)}if(f.mdxStreamTransferContext){b:{var Ul=f.mdxStreamTransferContext,Vl=new zu;try{void 0!==Ul.completedReason&&H(Vl,1,$$a[Ul.completedReason]);var Wl=Vl;break b}catch(va){W(va)}Wl=void 0}I(h,zu,19,Wl)}if(f.pdgBuyFlowContext){b:{var pg=f.pdgBuyFlowContext,Kj=new Ru;try{void 0!==pg.productType&&H(Kj, 1,jQ[pg.productType]);if(pg.entryPointClickedContext){c:{var lh=pg.entryPointClickedContext,oi=new Mu;try{void 0!==lh.superVodBuyFlowEntryPoint&&$g(oi,1,X2,sab[lh.superVodBuyFlowEntryPoint]);void 0!==lh.superChatBuyFlowEntryPoint&&$g(oi,2,X2,qab[lh.superChatBuyFlowEntryPoint]);void 0!==lh.sharedPdgBuyFlowEntryPoint&&$g(oi,3,X2,pab[lh.sharedPdgBuyFlowEntryPoint]);void 0!==lh.superStickerBuyFlowEntryPoint&&$g(oi,4,X2,rab[lh.superStickerBuyFlowEntryPoint]);var Lj=oi;break c}catch(va){W(va)}Lj=void 0}I(Kj, Mu,2,Lj)}if(pg.itemSelectionPageDisplayedContext){c:{var Mj=pg.itemSelectionPageDisplayedContext,Ri=new Pu;try{void 0!==Mj.superStickerBuyFlowType&&H(Ri,1,tab[Mj.superStickerBuyFlowType]);var Xl=Ri;break c}catch(va){W(va)}Xl=void 0}I(Kj,Pu,3,Xl)}var qg=Kj;break b}catch(va){W(va)}qg=void 0}I(h,Ru,20,qg)}if(f.ypcPurchaseContext){b:{var nf=f.ypcPurchaseContext,Nj=new mv;try{if(nf.commerceFlowLoggingParams){var fp=rJa(nf.commerceFlowLoggingParams);I(Nj,jv,1,fp)}void 0!==nf.offerType&&H(Nj,2,b$a[nf.offerType]); void 0!==nf.transactionType&&H(Nj,3,hab[nf.transactionType]);void 0!==nf.paymentProcessor&&H(Nj,4,c$a[nf.paymentProcessor]);var sn=Nj;break b}catch(va){W(va)}sn=void 0}I(h,mv,21,sn)}if(f.webViewContext){b:{var Ge=f.webViewContext,Se=new hv;try{void 0!==Ge.hostname&&H(Se,1,Ge.hostname);void 0!==Ge.webViewUseCase&&H(Se,2,Aab[Ge.webViewUseCase]);void 0!==Ge.isFirstPartyHost&&H(Se,5,Ge.isFirstPartyHost);void 0!==Ge.isLoaded&&H(Se,3,Ge.isLoaded);void 0!==Ge.webViewEngagementSec&&H(Se,4,Ge.webViewEngagementSec); var mh=Se;break b}catch(va){W(va)}mh=void 0}I(h,hv,22,mh)}if(f.videoSuggestionsContext){b:{var pi=f.videoSuggestionsContext,Gk=new gv;try{void 0!==pi.type&&H(Gk,1,Y9a[pi.type]);void 0!==pi.serializedSuggestionData&&gh(Gk,2,pi.serializedSuggestionData);void 0!==pi.videoId&&Gk.setVideoId(pi.videoId);var tn=Gk;break b}catch(va){W(va)}tn=void 0}I(h,gv,23,tn)}if(f.actionSheetContext){b:{var qi=f.actionSheetContext,Hk=new fu;try{void 0!==qi.parentScreenUiType&&H(Hk,1,qi.parentScreenUiType);var yr=Hk;break b}catch(va){W(va)}yr= void 0}I(h,fu,24,yr)}if(f.producerExportContext){b:{var gp=f.producerExportContext,zr=new Xu;try{if(gp.exportDetails){c:{var hp=gp.exportDetails,ip=new Wu;try{if(hp.project){var Yl=new Uu;I(ip,Uu,1,Yl)}if(hp.renderDetails){d:{var rg=hp.renderDetails,un=new Vu;try{void 0!==rg.sizeBytes&&Xg(un,1,rg.sizeBytes,0);void 0!==rg.pixelWidth&&Xg(un,2,rg.pixelWidth,0);void 0!==rg.pixelHeight&&Xg(un,3,rg.pixelHeight,0);var Ik=un;break d}catch(va){W(va)}Ik=void 0}I(ip,Vu,2,Ik)}var jp=ip;break c}catch(va){W(va)}jp= void 0}I(zr,Wu,1,jp)}var Ar=zr;break b}catch(va){W(va)}Ar=void 0}I(h,Xu,25,Ar)}if(f.downloadMyVideoContext){b:{var nh=f.downloadMyVideoContext,wa=new gu;try{void 0!==nh.videoId&&wa.setVideoId(nh.videoId);void 0!==nh.videoSid&&H(wa,2,nh.videoSid);void 0!==nh.downloadError&&H(wa,3,P$a[nh.downloadError]);void 0!==nh.totalAssetSize&&H(wa,4,nh.totalAssetSize);void 0!==nh.totalDownloadedPercent&&H(wa,5,nh.totalDownloadedPercent);void 0!==nh.mddDownloadErrorCode&&H(wa,6,nh.mddDownloadErrorCode);var XF=wa; break b}catch(va){W(va)}XF=void 0}I(h,gu,26,XF)}if(f.miniAppContext){b:{var kp=f.miniAppContext,Nu=new Au;try{void 0!==kp.miniAppId&&H(Nu,1,kp.miniAppId);void 0!==kp.miniAppReleaseId&&H(Nu,2,kp.miniAppReleaseId);var YF=Nu;break b}catch(va){W(va)}YF=void 0}I(h,Au,27,YF)}if(f.shoppingCartContext){b:{var ZF=f.shoppingCartContext,Si=new Zu;try{if(ZF.shoppingFlowParams){var vQ=nJa(ZF.shoppingFlowParams);I(Si,Yu,1,vQ)}var $F=Si;break b}catch(va){W(va)}$F=void 0}I(h,Zu,28,$F)}var aG=h;break a}catch(va){W(va)}aG= void 0}I(b,nv,3,aG)}void 0!==a.flowType&&H(b,4,R$a[a.flowType]);void 0!==a.flowEventStatus&&H(b,5,a.flowEventStatus);void 0!==a.csn&&H(b,6,a.csn);void 0!==a.can&&H(b,7,a.can);if(a.cuiAssociations){a:{var Ti=a.cuiAssociations,Br=new Or;try{Ti.association&&JP(Br.j.bind(Br),Ti.association,iJa);var fz=Br;break a}catch(va){W(va)}fz=void 0}I(b,Or,8,fz)}return b}catch(va){W(va)}}, idbQuotaExceeded:function(a){var b=new vv;try{return void 0!==a.deviceStorageUsageMbytes&&H(b,1,a.deviceStorageUsageMbytes),void 0!==a.deviceStorageQuotaMbytes&&H(b,2,a.deviceStorageQuotaMbytes),void 0!==a.isIframe&&H(b,3,a.isIframe),void 0!==a.isSw&&H(b,4,a.isSw),void 0!==a.dbName&&H(b,5,a.dbName),void 0!==a.objectStoreNames&&H(b,6,a.objectStoreNames),void 0!==a.transactionCount&&H(b,7,a.transactionCount),void 0!==a.transactionMode&&H(b,8,a.transactionMode),b}catch(c){W(c)}}, idbTransactionAborted:function(a){var b=new wv;try{return void 0!==a.objectStoreNames&&H(b,1,a.objectStoreNames),void 0!==a.hasWindowUnloaded&&H(b,2,a.hasWindowUnloaded),void 0!==a.transactionCount&&H(b,3,a.transactionCount),void 0!==a.transactionDuration&&H(b,4,a.transactionDuration),void 0!==a.dbDuration&&H(b,5,a.dbDuration),b}catch(c){W(c)}}, streamzIncremented:function(a){var b=new iw;try{return void 0!==a.serializedIncrementBatch&&gh(b,1,a.serializedIncrementBatch),b}catch(c){W(c)}}, sliEventBatch:function(a){var b=new Zt;try{a.loggedEvents&&JP(b.j.bind(b),a.loggedEvents,UJa);a.unloggedEvents&&JP(b.B.bind(b),a.unloggedEvents,UJa);void 0!==a.playerClientVersion&&H(b,3,a.playerClientVersion);void 0!==a.playerCanaryState&&H(b,4,J$a[a.playerCanaryState]);if(a.dimensions){a:{var c=a.dimensions,d=new Yt;try{void 0!==c.playerClientVersion&&H(d,1,c.playerClientVersion);void 0!==c.playerCanaryState&&H(d,2,J$a[c.playerCanaryState]);var e=d;break a}catch(f){W(f)}e=void 0}I(b,Yt,5,e)}return b}catch(f){W(f)}}, playbackAssociated:function(a){var b=new Av;try{void 0!==a.cpn&&H(b,1,a.cpn);if(a.playbackVe){var c=LP(a.playbackVe);I(b,hu,2,c)}void 0!==a.csn&&H(b,3,a.csn);if(a.queueInfo){a:{var d=a.queueInfo,e=new zv;try{if(d.enqueueingVe){var f=LP(d.enqueueingVe);I(e,hu,1,f)}void 0!==d.enqueueingCsn&&H(e,2,d.enqueueingCsn);void 0!==d.clientEnqueueingTimeMs&&H(e,3,d.clientEnqueueingTimeMs);var h=e;break a}catch(l){W(l)}h=void 0}I(b,zv,4,h)}return b}catch(l){W(l)}}, autoplayTriggered:function(a){var b=new au;try{return void 0!==a.intentional&&H(b,1,a.intentional),b}catch(c){W(c)}}, webPlayerApiCalled:function(a){var b=new jw;try{return void 0!==a.callerUrl&&H(b,1,a.callerUrl),void 0!==a.methodName&&H(b,2,a.methodName),void 0!==a.origin&&H(b,3,a.origin),void 0!==a.playerStyle&&H(b,4,a.playerStyle),void 0!==a.embeddedPlayerMode&&H(b,5,d$a[a.embeddedPlayerMode]),void 0!==a.errorCode&&H(b,6,a.errorCode),b}catch(c){W(c)}}, embedsAdEvent:function(a){var b=new $t;try{return void 0!==a.eventType&&H(b,1,M$a[a.eventType]),void 0!==a.breakType&&H(b,2,L$a[a.breakType]),void 0!==a.packageName&&H(b,3,a.packageName),void 0!==a.embedUrl&&H(b,4,a.embedUrl),void 0!==a.adSource&&H(b,5,N$a[a.adSource]),void 0!==a.youtubeHost&&H(b,6,a.youtubeHost),b}catch(c){W(c)}}, embedsShouldRequestStorageAccessResult:function(a){var b=new du;try{return void 0!==a.result&&H(b,1,a.result),void 0!==a.returnsUndefined&&H(b,2,a.returnsUndefined),b}catch(c){W(c)}}, embedsRequestStorageAccessState:function(a){var b=new cu;try{return void 0!==a.isCued&&H(b,1,a.isCued),void 0!==a.isAutoplayBlocked&&H(b,2,a.isAutoplayBlocked),b}catch(c){W(c)}}, embedsRequestStorageAccessFailedState:function(a){var b=new bu;try{return void 0!==a.state&&b.vc(a.state),b}catch(c){W(c)}}, heartbeatActionPlayerHalted:function(a){var b=new rv;try{return void 0!==a.serializedServerContext&&gh(b,1,a.serializedServerContext),void 0!==a.enforcedPolicyToHaltOnNetworkFailure&&H(b,2,a.enforcedPolicyToHaltOnNetworkFailure),b}catch(c){W(c)}}, heartbeatActionPlayerTransitioned:function(a){var b=new tv;try{return void 0!==a.reason&&H(b,1,T$a[a.reason]),void 0!==a.trigger&&H(b,2,U$a[a.trigger]),void 0!==a.serializedServerContext&&gh(b,3,a.serializedServerContext),b}catch(c){W(c)}}, embedsItpWatchLaterResult:function(a){var b=new eu;try{return void 0!==a.accepted&&H(b,1,a.accepted),b}catch(c){W(c)}}, html5PlayerHealthEvent:function(a){var b=new uv;try{return void 0!==a.started&&H(b,1,a.started),void 0!==a.stateAtSend&&H(b,2,gab[a.stateAtSend]),void 0!==a.joinLatencySecs&&eh(b,4,a.joinLatencySecs),void 0!==a.playTimeSecs&&eh(b,5,a.playTimeSecs),void 0!==a.rebufferTimeSecs&&eh(b,6,a.rebufferTimeSecs),void 0!==a.playerCanaryType&&H(b,7,V$a[a.playerCanaryType]),void 0!==a.isAd&&H(b,8,a.isAd),void 0!==a.liveMode&&H(b,9,fab[a.liveMode]),void 0!==a.isGapless&&H(b,10,a.isGapless),void 0!==a.hasDrm&&H(b, 11,a.hasDrm),void 0!==a.seekCount&&H(b,12,a.seekCount),void 0!==a.networkErrorCount&&H(b,13,a.networkErrorCount),void 0!==a.nonNetworkErrorCount&&H(b,14,a.nonNetworkErrorCount),void 0!==a.isServerStitchedDai&&H(b,15,a.isServerStitchedDai),b}catch(c){W(c)}}, adsClientStateChange:function(a){var b=new As;try{if(a.cuepointTrigger){a:{var c=a.cuepointTrigger,d=new ns;try{void 0!==c.type&&H(d,1,y$a[c.type]);void 0!==c.event&&H(d,2,x$a[c.event]);void 0!==c.cuepointId&&H(d,3,c.cuepointId);void 0!==c.totalCueDurationMs&&eh(d,4,c.totalCueDurationMs);void 0!==c.playheadTimeMs&&eh(d,5,c.playheadTimeMs);void 0!==c.cueStartTimeMs&&eh(d,6,c.cueStartTimeMs);void 0!==c.cuepointReceivedTimeMs&&eh(d,7,c.cuepointReceivedTimeMs);void 0!==c.contentCpn&&H(d,8,c.contentCpn); void 0!==c.externalChannelId&&H(d,9,c.externalChannelId);var e=d;break a}catch(Ma){W(Ma)}e=void 0}dh(b,ns,1,W2,e)}if(a.daiStateTrigger){a:{var f=a.daiStateTrigger,h=new ts;try{void 0!==f.contentCpn&&H(h,1,f.contentCpn);void 0!==f.totalCueDurationMs&&eh(h,2,f.totalCueDurationMs);void 0!==f.filledAdsDurationMs&&eh(h,3,f.filledAdsDurationMs);void 0!==f.cueStartChange&&H(h,4,E$a[f.cueStartChange]);void 0!==f.cueDurationChange&&H(h,5,C$a[f.cueDurationChange]);void 0!==f.cueDurationChangeReason&&H(h,6, D$a[f.cueDurationChangeReason]);void 0!==f.errorType&&H(h,7,F$a[f.errorType]);void 0!==f.externalChannelId&&H(h,8,f.externalChannelId);if(f.adClientData){var l=gQ(f.adClientData);I(h,gs,9,l)}var m=h;break a}catch(Ma){W(Ma)}m=void 0}dh(b,ts,2,W2,m)}if(a.daiAdBreakCriticalError){a:{var n=a.daiAdBreakCriticalError,p=new os;try{void 0!==n.contentCpn&&H(p,1,n.contentCpn);void 0!==n.errorType&&H(p,2,F$a[n.errorType]);void 0!==n.externalChannelId&&H(p,3,n.externalChannelId);void 0!==n.msg&&H(p,4,n.msg); void 0!==n.cueIdentifier&&H(p,5,n.cueIdentifier);var q=p;break a}catch(Ma){W(Ma)}q=void 0}dh(b,os,3,W2,q)}if(a.daiAdBreakWarning){a:{var r=a.daiAdBreakWarning,w=new qs;try{void 0!==r.contentCpn&&H(w,1,r.contentCpn);void 0!==r.errorType&&H(w,2,F$a[r.errorType]);void 0!==r.externalChannelId&&H(w,3,r.externalChannelId);void 0!==r.msg&&H(w,4,r.msg);void 0!==r.cueIdentifier&&H(w,5,r.cueIdentifier);var x=w;break a}catch(Ma){W(Ma)}x=void 0}dh(b,qs,4,W2,x)}if(a.daiAdBreakInfo){a:{var z=a.daiAdBreakInfo,B= new ps;try{void 0!==z.contentCpn&&H(B,1,z.contentCpn);void 0!==z.totalCueDurationMs&&H(B,2,z.totalCueDurationMs);void 0!==z.filledAdsDurationMs&&H(B,3,z.filledAdsDurationMs);void 0!==z.cueStartChange&&H(B,4,E$a[z.cueStartChange]);void 0!==z.cueDurationChange&&H(B,5,C$a[z.cueDurationChange]);void 0!==z.cueDurationChangeReason&&H(B,6,D$a[z.cueDurationChangeReason]);void 0!==z.externalChannelId&&H(B,7,z.externalChannelId);void 0!==z.cueIdentifier&&H(B,8,z.cueIdentifier);void 0!==z.infoType&&H(B,9,G$a[z.infoType]); void 0!==z.msg&&H(B,10,z.msg);void 0!==z.filledAdCount&&H(B,11,z.filledAdCount);var E=B;break a}catch(Ma){W(Ma)}E=void 0}dh(b,ps,5,W2,E)}if(a.visibilityErrorDebugInfo){a:{var G=a.visibilityErrorDebugInfo,F=new zs;try{void 0!==G.elementName&&H(F,1,G.elementName);void 0!==G.contentVideoPlaybackEventId&&H(F,2,G.contentVideoPlaybackEventId);void 0!==G.errorList&&H(F,3,G.errorList);void 0!==G.htmlDump&&H(F,4,G.htmlDump);var L=F;break a}catch(Ma){W(Ma)}L=void 0}dh(b,zs,6,W2,L)}if(a.playbackTimelineAdBreakStateTrigger){a:{var O= a.playbackTimelineAdBreakStateTrigger,U=new xs;try{void 0!==O.cueIdentifier&&H(U,1,O.cueIdentifier);void 0!==O.timestampUnixEpochSec&&H(U,2,O.timestampUnixEpochSec);void 0!==O.adRequestState&&H(U,3,z$a[O.adRequestState]);void 0!==O.segmentState&&H(U,4,A$a[O.segmentState]);void 0!==O.timestampUnixEpochMs&&H(U,5,O.timestampUnixEpochMs);var ba=U;break a}catch(Ma){W(Ma)}ba=void 0}dh(b,xs,7,W2,ba)}if(a.extraLongAdBreakDebugInfo){a:{var V=a.extraLongAdBreakDebugInfo,R=new ws;try{void 0!==V.contentVideoPlaybackEventId&& H(R,1,V.contentVideoPlaybackEventId);if(V.adPlacementKindCuepointInitiatedCueRange){var Y=hQ(V.adPlacementKindCuepointInitiatedCueRange);I(R,vs,2,Y)}if(V.adPlacementConfigImpliedCueRange){var P=hQ(V.adPlacementConfigImpliedCueRange);I(R,vs,3,P)}if(V.adPlacementKindMillisecondsInitiatedCueRange){var pa=hQ(V.adPlacementKindMillisecondsInitiatedCueRange);I(R,vs,4,pa)}void 0!==V.cueIdentifier&&H(R,5,V.cueIdentifier);var la=R;break a}catch(Ma){W(Ma)}la=void 0}dh(b,ws,8,W2,la)}if(a.comparePyvAdTagInfo){a:{var Ka= a.comparePyvAdTagInfo,cb=new ms;try{void 0!==Ka.pyvAdTagUrlFromPlayer&&H(cb,1,Ka.pyvAdTagUrlFromPlayer);void 0!==Ka.pyvAdTagUrlFromWatchNext&&H(cb,2,Ka.pyvAdTagUrlFromWatchNext);var Na=cb;break a}catch(Ma){W(Ma)}Na=void 0}dh(b,ms,9,W2,Na)}if(a.driftRecoveryInfo){a:{var Ua=a.driftRecoveryInfo,qa=new us;try{void 0!==Ua.contentCpn&&H(qa,1,Ua.contentCpn);void 0!==Ua.cueIdentifier&&H(qa,2,Ua.cueIdentifier);void 0!==Ua.driftRecoveryMs&&H(qa,3,Ua.driftRecoveryMs);void 0!==Ua.breakDurationMs&&H(qa,4,Ua.breakDurationMs); void 0!==Ua.driftFromHeadMs&&H(qa,5,Ua.driftFromHeadMs);void 0!==Ua.appliedDriftRecoveryMs&&H(qa,6,Ua.appliedDriftRecoveryMs);void 0!==Ua.destinationMs&&H(qa,7,Ua.destinationMs);if(Ua.adClientData){var kb=gQ(Ua.adClientData);I(qa,gs,8,kb)}var $a=qa;break a}catch(Ma){W(Ma)}$a=void 0}dh(b,us,10,W2,$a)}if(a.adsClientEvent){a:{var gb=a.adsClientEvent,yc=new ls;try{void 0!==gb.eventType&&H(yc,1,w$a[gb.eventType]);if(gb.adClientData){var vb=gQ(gb.adClientData);I(yc,gs,3,vb)}void 0!==gb.serializedAdServingData&& gh(yc,4,gb.serializedAdServingData);void 0!==gb.eventOrder&&H(yc,5,gb.eventOrder);void 0!==gb.serializedSlotAdServingData&&gh(yc,6,gb.serializedSlotAdServingData);if(gb.errorInfo){b:{var Wb=gb.errorInfo,Sb=new ks;try{void 0!==Wb.errorType&&H(Sb,1,v$a[Wb.errorType]);void 0!==Wb.errorMessage&&H(Sb,2,u$a[Wb.errorMessage]);var $c=Sb;break b}catch(Ma){W(Ma)}$c=void 0}I(yc,ks,7,$c)}var ud=yc;break a}catch(Ma){W(Ma)}ud=void 0}dh(b,ls,11,W2,ud)}if(a.daiAdStateTracking){a:{var ac=a.daiAdStateTracking,Uc=new rs; try{void 0!==ac.eventType&&H(Uc,1,B$a[ac.eventType]);void 0!==ac.contentCpn&&H(Uc,2,ac.contentCpn);void 0!==ac.externalChannelId&&H(Uc,3,ac.externalChannelId);void 0!==ac.adCpn&&H(Uc,4,ac.adCpn);void 0!==ac.adCount&&H(Uc,5,ac.adCount);void 0!==ac.msg&&H(Uc,6,ac.msg);var Ee=Uc;break a}catch(Ma){W(Ma)}Ee=void 0}dh(b,rs,12,W2,Ee)}if(a.adTrimmingInfo){a:{var qc=a.adTrimmingInfo,Jb=new is;try{void 0!==qc.contentCpn&&H(Jb,1,qc.contentCpn);void 0!==qc.cueIdentifier&&H(Jb,2,qc.cueIdentifier);qc.adMediaInfo&& JP(Jb.j.bind(Jb),qc.adMediaInfo,jJa);var Tb=Jb;break a}catch(Ma){W(Ma)}Tb=void 0}dh(b,is,13,W2,Tb)}if(a.adsAttributionEvent){a:{var Kb=a.adsAttributionEvent,zc=new js;try{void 0!==Kb.errorCode&&H(zc,1,H$a[Kb.errorCode]);void 0!==Kb.attributionStep&&H(zc,2,I$a[Kb.attributionStep]);void 0!==Kb.innerErrorDomain&&H(zc,3,Kb.innerErrorDomain);void 0!==Kb.innerErrorCode&&H(zc,4,Kb.innerErrorCode);var Mc=zc;break a}catch(Ma){W(Ma)}Mc=void 0}dh(b,js,14,W2,Mc)}if(a.playerDebugData){a:{var Fd=a.playerDebugData, Xb=new ys;try{void 0!==Fd.pmlSignal&&H(Xb,1,Fd.pmlSignal);void 0!==Fd.contentCpn&&H(Xb,2,Fd.contentCpn);var uc=Xb;break a}catch(Ma){W(Ma)}uc=void 0}dh(b,ys,15,W2,uc)}return b}catch(Ma){W(Ma)}}, offlineTransferStatusChanged:qIa,offlineStateSnapshot:function(a){var b=new hw;try{a.offlineVideos&&JP(b.B.bind(b),a.offlineVideos,RIa);a.offlinePlaylists&&JP(b.j.bind(b),a.offlinePlaylists,TIa);void 0!==a.freeDiskSpaceBytes&&H(b,3,a.freeDiskSpaceBytes);void 0!==a.lastOfflineUsageTimeMs&&H(b,4,a.lastOfflineUsageTimeMs);void 0!==a.lastOfflinePlaybackTimeMs&&H(b,5,a.lastOfflinePlaybackTimeMs);void 0!==a.lastOfflineSaveTimeMs&&H(b,6,a.lastOfflineSaveTimeMs);void 0!==a.lastOfflineDownloadSuccessTimeMs&& H(b,7,a.lastOfflineDownloadSuccessTimeMs);void 0!==a.isBatteryCharging&&H(b,8,a.isBatteryCharging);void 0!==a.detailedNetworkType&&H(b,9,ZP[a.detailedNetworkType]);void 0!==a.batteryLevelPercentage&&H(b,10,a.batteryLevelPercentage);void 0!==a.isPostMigrationState&&H(b,11,a.isPostMigrationState);if(a.offlineCacheVerificationFailure){a:{var c=a.offlineCacheVerificationFailure,d=new Wv;try{void 0!==c.numUncachedVideos&&H(d,1,c.numUncachedVideos);void 0!==c.numTotalCompletedVideos&&H(d,2,c.numTotalCompletedVideos); c.uncachedVideos&&JP(d.j.bind(d),c.uncachedVideos,VIa);var e=d;break a}catch(q){W(q)}e=void 0}I(b,Wv,12,e)}if(a.additionalOfflineClientState){a:{var f=a.additionalOfflineClientState,h=new $v;try{if(f.mainAppAdditionalOfflineClientState){b:{var l=f.mainAppAdditionalOfflineClientState,m=new Zv;try{l.downloadRecsVideos&&JP(m.j.bind(m),l.downloadRecsVideos,WIa);l.smartDownloadVideos&&JP(m.B.bind(m),l.smartDownloadVideos,XIa);var n=m;break b}catch(q){W(q)}n=void 0}I(h,Zv,1,n)}var p=h;break a}catch(q){W(q)}p= void 0}I(b,$v,13,p)}return b}catch(q){W(q)}}},t_a={adNotify:function(a,b,c){var d=new mw; dh(d,Qr,184,NB,a);c?LB(d,c,b):MB(d,b)}, biscottiBasedDetection:function(a,b,c){var d=new mw;dh(d,Mt,439,NB,a);c?LB(d,c,b):MB(d,b)}, adNotifyFilled:function(a,b,c){var d=new mw;dh(d,Pr,300,NB,a);c?LB(d,c,b):MB(d,b)}, idbTransactionEnded:function(a,b,c){var d=new mw;dh(d,xv,352,NB,a);c?LB(d,c,b):MB(d,b)}, idbUnexpectedlyClosed:function(a,b,c){var d=new mw;dh(d,yv,348,NB,a);c?LB(d,c,b):MB(d,b)}, flowEvent:function(a,b,c){var d=new mw;dh(d,pv,304,NB,a);c?LB(d,c,b):MB(d,b)}, idbQuotaExceeded:function(a,b,c){var d=new mw;dh(d,vv,351,NB,a);c?LB(d,c,b):MB(d,b)}, idbTransactionAborted:function(a,b,c){var d=new mw;dh(d,wv,353,NB,a);c?LB(d,c,b):MB(d,b)}, streamzIncremented:function(a,b,c){var d=new mw;dh(d,iw,126,NB,a);c?LB(d,c,b):MB(d,b)}, sliEventBatch:function(a,b,c){var d=new mw;dh(d,Zt,344,NB,a);c?LB(d,c,b):MB(d,b)}, playbackAssociated:Xra,autoplayTriggered:function(a,b,c){var d=new mw;dh(d,au,209,NB,a);c?LB(d,c,b):MB(d,b)}, webPlayerApiCalled:function(a,b,c){var d=new mw;dh(d,jw,76,NB,a);c?LB(d,c,b):MB(d,b)}, embedsAdEvent:function(a,b,c){var d=new mw;dh(d,$t,327,NB,a);c?LB(d,c,b):MB(d,b)}, embedsShouldRequestStorageAccessResult:function(a,b,c){var d=new mw;dh(d,du,251,NB,a);c?LB(d,c,b):MB(d,b)}, embedsRequestStorageAccessState:function(a,b,c){var d=new mw;dh(d,cu,256,NB,a);c?LB(d,c,b):MB(d,b)}, embedsRequestStorageAccessFailedState:function(a,b,c){var d=new mw;dh(d,bu,257,NB,a);c?LB(d,c,b):MB(d,b)}, heartbeatActionPlayerHalted:function(a,b,c){var d=new mw;dh(d,rv,332,NB,a);c?LB(d,c,b):MB(d,b)}, heartbeatActionPlayerTransitioned:function(a,b,c){var d=new mw;dh(d,tv,330,NB,a);c?LB(d,c,b):MB(d,b)}, embedsItpWatchLaterResult:function(a,b,c){var d=new mw;dh(d,eu,266,NB,a);c?LB(d,c,b):MB(d,b)}, html5PlayerHealthEvent:function(a,b,c){var d=new mw;dh(d,uv,293,NB,a);c?LB(d,c,b):MB(d,b)}, adsClientStateChange:function(a,b,c){var d=new mw;dh(d,As,197,NB,a);c?LB(d,c,b):MB(d,b)}, offlineTransferStatusChanged:function(a,b,c){var d=new mw;dh(d,Iu,2,NB,a);c?LB(d,c,b):MB(d,b)}, offlineStateSnapshot:function(a,b,c){var d=new mw;dh(d,hw,22,NB,a);c?LB(d,c,b):MB(d,b)}};kQ.getInstance=function(){var a=g.Ga("ytglobal.storage_");a||(a=new kQ,g.Fa("ytglobal.storage_",a));return a}; kQ.prototype.estimate=function(){var a,b,c;return g.A(function(d){a=navigator;return(null==(b=a.storage)?0:b.estimate)?d.return(a.storage.estimate()):(null==(c=a.webkitTemporaryStorage)?0:c.queryUsageAndQuota)?d.return(YJa()):d.return()})}; g.Fa("ytglobal.storageClass_",kQ);fy.prototype.wC=function(a){this.handleError(a)}; fy.prototype.logEvent=function(a,b){switch(a){case "IDB_DATA_CORRUPTED":g.vw("idb_data_corrupted_killswitch")||this.j("idbDataCorrupted",b);break;case "IDB_UNEXPECTEDLY_CLOSED":this.j("idbUnexpectedlyClosed",b);break;case "IS_SUPPORTED_COMPLETED":g.vw("idb_is_supported_completed_killswitch")||this.j("idbIsSupportedCompleted",b);break;case "QUOTA_EXCEEDED":$Ja(this,b);break;case "TRANSACTION_ENDED":this.B&&Math.random()<=g.ww("ytidb_transaction_ended_event_rate_limit_transaction",.1)&&this.j("idbTransactionEnded", b);break;case "TRANSACTION_UNEXPECTEDLY_ABORTED":a=Object.assign({},b,{hasWindowUnloaded:this.u}),this.j("idbTransactionAborted",a)}};g.k=lQ.prototype;g.k.initialize=function(a,b,c){if(a.program){var d,e=null!=(d=a.interpreterUrl)?d:null;if(a.interpreterSafeScript)d=xba(a.interpreterSafeScript.privateDoNotAccessOrElseSafeScriptWrappedValue||"");else{var f;d=null!=(f=a.interpreterScript)?f:null}a.interpreterSafeUrl&&(e=a.interpreterSafeUrl,g.Nd("From proto message. b/166824318"),e=Qd(e.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue||"").toString());bKa(this,d,e,a.program,b,c)}else g.QB(Error("Cannot initialize botguard without program"))}; g.k.isInitialized=function(){return this.cE()}; g.k.getState=function(){return this.state}; g.k.isLoading=function(){return 2===this.state}; g.k.invoke=function(a){a=void 0===a?{}:a;return this.cE()?this.tY({Nx:a}):null}; g.k.dispose=function(){this.ra()}; g.k.ra=function(){this.IO(null);this.vc(8)}; g.k.cE=function(){return!!this.j}; g.k.sY=function(a){return this.j.snapshot(a)}; g.k.tY=function(a){return this.j.rX(a)}; g.k.IO=function(a){g.Ya(this.j);this.j=a}; g.k.vc=function(a){this.state=a};g.v(oQ,lQ);g.k=oQ.prototype;g.k.ra=function(){this.vc(8)}; g.k.IO=function(a){var b;null==(b=nQ())||b.bgvma();a?(b={bgvma:a.dispose.bind(a),bgvmb:a.snapshot.bind(a),bgvmc:a.rX.bind(a)},g.Fa("yt.abuse.playerAttLoader",b),g.Fa("yt.abuse.playerAttLoaderRun",function(c){return a.snapshot(c)})):(g.Fa("yt.abuse.playerAttLoader",null),g.Fa("yt.abuse.playerAttLoaderRun",null))}; g.k.cE=function(){return!!nQ()}; g.k.sY=function(a){return nQ().bgvmb(a)}; g.k.tY=function(a){return nQ().bgvmc(a)};var pQ,rQ;g.mQ=new oQ;pQ=0;rQ=[];var CZa=new Set(["embed_config","endscreen_ad_tracking","home_group_info","ic_track"]);var oKa={phone:"SMALL_FORM_FACTOR",tablet:"LARGE_FORM_FACTOR"},pKa={android:"ANDROID","android.k":"ANDROID_KIDS","android.m":"ANDROID_MUSIC","android.up":"ANDROID_UNPLUGGED",youtube:"WEB","youtube.m":"WEB_REMIX","youtube.up":"WEB_UNPLUGGED",ytios:"IOS","ytios.k":"IOS_KIDS","ytios.m":"IOS_MUSIC","ytios.up":"IOS_UNPLUGGED"},qKa={desktop:"DESKTOP",phone:"MOBILE",tablet:"TABLET"},nKa={preroll:"BREAK_PREROLL",midroll:"BREAK_MIDROLL",postroll:"BREAK_POSTROLL"},lKa={0:"YT_KIDS_AGE_UP_MODE_UNKNOWN",1:"YT_KIDS_AGE_UP_MODE_OFF", 2:"YT_KIDS_AGE_UP_MODE_TWEEN",3:"YT_KIDS_AGE_UP_MODE_PRESCHOOL"},mKa={0:"MDX_CONTROL_MODE_UNKNOWN",1:"MDX_CONTROL_MODE_REMOTE",2:"MDX_CONTROL_MODE_VOICE"};g.v(PQ,g.C);PQ.prototype.ra=function(){this.T=this.u=this.B=this.I=this.j=this.J=this.D=this.C=void 0};var I3={},wKa=(I3["api.invalidparam"]=2,I3.auth=150,I3["drm.auth"]=150,I3["heartbeat.net"]=150,I3["heartbeat.servererror"]=150,I3["heartbeat.stop"]=150,I3["html5.unsupportedads"]=5,I3["fmt.noneavailable"]=5,I3["fmt.decode"]=5,I3["fmt.unplayable"]=5,I3["html5.missingapi"]=5,I3["html5.unsupportedlive"]=5,I3["drm.unavailable"]=5,I3["mrm.blocked"]=151,I3);g.v(QQ,g.C);g.k=QQ.prototype;g.k.handleExternalCall=function(a,b,c){var d=this.state.D[a],e=this.state.J[a],f=d;if(e)if(c&&eC(c,Pab))f=e;else if(!d)throw Error('API call from an untrusted origin: "'+c+'"');this.logApiCall(a,c);if(f){c=!1;d=g.t(b);for(e=d.next();!e.done;e=d.next())if(String(e.value).includes("javascript:")){c=!0;break}c&&g.QB(Error('Dangerous call to "'+a+'" with ['+b+"]."));return f.apply(this,b)}throw Error('Unknown API method: "'+a+'".');}; g.k.isExternalMethodAvailable=function(a,b){return this.state.D[a]?!0:!!(this.state.J[a]&&b&&eC(b,Pab))}; g.k.getBandwidthEstimate=function(){return fI(this.app.V().schedule)}; g.k.reportPlaybackIssue=function(a){a=void 0===a?"":a;var b=g.VQ(this.app);b&&(a={gpu:(0,g.vY)(),d:a},b.handleError(new YI("feedback",a)))}; g.k.getInternalApiInterface=function(){return g.Lc(this.state.j)}; g.k.logApiCall=function(a,b,c){var d=this.app.V();d.Nn&&!this.state.T.has(a)&&(this.state.T.add(a),g.hy("webPlayerApiCalled",{callerUrl:d.loaderUrl,methodName:a,origin:b||void 0,playerStyle:d.playerStyle||void 0,embeddedPlayerMode:d.Ra,errorCode:c}))}; g.k.cueVideoByPlayerVars=function(a,b){this.app.cueVideoByPlayerVars(a,b||this.playerType)}; g.k.loadVideoByPlayerVars=function(a,b,c,d,e){this.app.loadVideoByPlayerVars(a,c||this.playerType,b,d,e)}; g.k.preloadVideoByPlayerVars=function(a,b,c,d,e){c=void 0===c?NaN:c;this.app.preloadVideoByPlayerVars(a,b||this.playerType,c,void 0===d?"":d,void 0===e?"":e)}; g.k.seekToChapterWithAnimation=function(a){this.app.seekToChapterWithAnimation(a)}; g.k.seekToTimeWithAnimation=function(a,b){var c,d=null==(c=WQ(this.app.wb()))?void 0:c.Ku();d&&n0a(this.app,d,a,b)}; g.k.createSubtitlesModuleIfNeeded=function(){return this.app.createSubtitlesModuleIfNeeded()}; g.k.startSeekCsiAction=function(){this.app.Rh().C.j=(0,g.M)()}; g.k.seekToStreamTime=function(a,b,c){this.j&&zZ(this.app,!0,this.playerType);var d=this.app,e=this.playerType;b=void 0===b?!0:b;var f=void 0===f?!1:f;var h=g.VQ(d,e),l=0;h&&h.getStreamTimeOffset()&&!h.Md()&&(l=h.getStreamTimeOffset());BZ(d,a-l,b,c,e,f)}; g.k.getStreamTimeOffset=function(){var a=g.VQ(this.app,1);return a?a.getStreamTimeOffset():0}; g.k.seekToLiveHead=function(a,b){var c=g.VQ(this.app,this.playerType);c&&(c=c.getVideoData())&&c.isLivePlayback&&BZ(this.app,Infinity,a,b,this.playerType)}; g.k.requestSeekToWallTimeSeconds=function(a){var b=g.VQ(this.app,this.playerType);b&&b.nO(a)}; g.k.syncVolume=function(){var a=v_a(this.app);$Q(this.app,{volume:a.volume,muted:a.muted},!1)}; g.k.getAvailableQualityLabels=function(){var a=g.VQ(this.app,this.playerType);return a?g.vh(a.Vr(),function(b){return b.qualityLabel}):[]}; g.k.channelSubscribed=function(){this.Na("SUBSCRIBE",this.app.Kd().dk)}; g.k.channelUnsubscribed=function(){this.Na("UNSUBSCRIBE",this.app.Kd().dk)}; g.k.setScreenLayer=function(a){this.app.setScreenLayer(a)}; g.k.getCurrentPlaylistSequence=function(){return g.VQ(this.app).getPlaylistSequenceForTime(this.app.getCurrentTime())}; g.k.getPlaylistSequenceForTime=function(a){return g.VQ(this.app).getPlaylistSequenceForTime(a)}; g.k.shouldSendVisibilityState=function(){return!0}; g.k.confirmYpcRental=function(){var a=g.VQ(this.app,this.playerType);a&&a.cg("ypc_clickwrap")}; g.k.setHomeGroupInfo=function(a){this.app.V().homeGroupInfo=a}; g.k.setConnectedRemoteApps=function(a){this.app.V().On=a}; g.k.setLivingRoomAppMode=function(a){this.app.V().livingRoomAppMode=yx("LIVING_ROOM_APP_MODE_UNSPECIFIED",a,txa)}; g.k.setEnablePrivacyFilter=function(a){this.app.V().enablePrivacyFilter=void 0===a?!1:a}; g.k.togglePictureInPicture=function(){this.app.togglePictureInPicture()}; g.k.addUtcCueRange=function(a,b,c,d,e){return b0a(this.app,a,b,c,d,e)}; g.k.getPlaylistId=function(){var a=this.app.getPlaylist();return a&&a.listId?a.listId.toString():null}; g.k.R2=function(a){a=void 0===a?this.playerType:a;var b=this.BT(a);if(a=g.VQ(this.app,a)){a=a.getVideoData();b.hasProgressBarBoundaries=a.hasProgressBarBoundaries();b.isPremiere=a.isPremiere;b.itct=a.ya;var c;var d=a.hasProgressBarBoundaries()&&(null==(c=a.progressBarStartPosition)?0:c.utcTimeMillis)?we(a.progressBarStartPosition.utcTimeMillis):null;b.progressBarStartPositionUtcTimeMillis=d;var e;c=a.hasProgressBarBoundaries()&&(null==(e=a.progressBarEndPosition)?0:e.utcTimeMillis)?we(a.progressBarEndPosition.utcTimeMillis): null;b.progressBarEndPositionUtcTimeMillis=c;b.ypcOriginalItct=a.U0;b.ypcPreview=a.ypcPreview;b.paidContentOverlayText=XBa(a);b.paidContentOverlayDurationMs=JK(a);a.j&&DD(a.j)&&(b.usingLocalMedia="true");b.transitionEndpointAtEndOfStream=a.transitionEndpointAtEndOfStream}return b}; g.k.BT=function(a){a=void 0===a?this.playerType:a;var b=AKa(this,a);if(a=g.VQ(this.app,a)){a=a.getVideoData();b.backgroundable=a.backgroundable;b.eventId=a.eventId;b.cpn=a.clientPlaybackNonce;b.isLive=a.isLivePlayback;b.isWindowedLive=a.wd;b.isManifestless=rK(a);b.allowLiveDvr=a.allowLiveDvr;b.isListed=a.isListed;null!=a.liveUtcStartSeconds&&(b.liveUtcStartSeconds=a.liveUtcStartSeconds);a.Kl()&&(b.isEncrypted=!0);if(a.C)for(var c=g.t(a.C.videoInfos),d=c.next();!d.done;d=c.next()){var e=void 0;if(null== (e=d.value.video)?0:e.isHdr()){b.isHdr=!0;break}}var f,h;b.isMultiChannelAudio=!!(null==(f=a.I)?0:null==(h=f.audio)?0:h.isMultiChannelAudio())}return b}; g.k.getAdState=function(){return this.app.getAdState()}; g.k.isNotServable=function(a){if(a!==this.app.config.args.video_id)return!1;var b=(a=(a=g.VQ(this.app,1))?a.getPlayerState():null)?a.getData():null;return!!(a&&b&&g.S(a,128)&&5===xKa(b.errorCode))}; g.k.supportsGaplessAudio=function(){return this.app.V().supportsGaplessAudio()}; 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.sendAbandonmentPing=function(){var a=g.VQ(this.app);a&&a.sendAbandonmentPing()}; g.k.updateDownloadState=function(a,b){return this.app.updateDownloadState(a,b)}; g.k.queueOfflineAction=function(a,b,c,d){var e=this,f,h;return g.A(function(l){return 1==l.j?(f=BS(e.app.wb()))?g.y(l,f.V7([a],b,c,d),3):l.Ka(2):2!=l.j&&(h=l.u,h.length)?l.return(h[0]):l.return(Promise.reject())})}; g.k.pauseVideoDownload=function(a){this.app.pauseVideoDownload(a)}; g.k.resumeVideoDownload=function(a){var b=this;return g.A(function(c){return c.return(b.app.resumeVideoDownload(a))})}; g.k.refreshAllStaleEntities=function(a){return this.app.refreshAllStaleEntities(a)}; g.k.isOrchestrationLeader=function(){return this.app.isOrchestrationLeader()}; g.k.setAutonavState=function(a,b){b=void 0===b?!1:b;if(this.K("web_player_autonav_use_server_provided_state")&&!b&&(b=this.app.Kd(),null==b?0:sK(b))){if(this.K("web_player_autonav_server_provided_state_pause_killswitch"))return;if(3===a)3!==b.autonavState&&(b.MP=b.autonavState);else if(void 0!==b.MP)a=b.MP,b.MP=void 0;else return}j0a(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.VQ(this.app,this.playerType))||!a.hasSupportedAudio51Tracks())}; g.k.setUserAudio51Preference=function(a){var b=g.VQ(this.app,this.playerType);b&&b.setUserAudio51Preference(a)}; g.k.getUserAudio51Preference=function(){var a,b;return null!=(b=null==(a=g.VQ(this.app,this.playerType))?void 0:a.getUserAudio51Preference())?b:1}; g.k.getAppState=function(){return this.app.getAppState()}; g.k.updateLastActiveTime=function(){kA()}; g.k.setBlackout=function(a){this.app.setBlackout(a)}; g.k.setUserEngagement=function(a){this.app.V().il!==a&&(this.app.V().il=a,(a=g.VQ(this.app,this.playerType))&&cZ(a))}; g.k.updateSubtitlesUserSettings=function(a,b){b=void 0===b?!0:b;g.tS(this.app.wb()).iY(a,b)}; g.k.getCaptionWindowContainerId=function(){var a=g.tS(this.app.wb());return a?a.getCaptionWindowContainerId():""}; g.k.toggleSubtitlesOn=function(){var a=g.tS(this.app.wb());a&&a.LX()}; g.k.isSubtitlesOn=function(){var a=g.tS(this.app.wb());return a?a.isSubtitlesOn():!1}; g.k.getPresentingPlayerType=function(){var a=this.app.getPresentingPlayerType(!0);2===a&&this.app.nf()&&(a=1);return a}; g.k.getPlayerResponse=function(){var a=g.VQ(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null}; g.k.getHeartbeatResponse=function(){var a=g.VQ(this.app,this.playerType);return a?a.getVideoData().getHeartbeatResponse():null}; g.k.getStoryboardFrame=function(a,b){var c=this.app.Hj();if(!c)return null;b=c.levels[b];return b?(a=g.bK(b,a))?{column:a.column,columns:a.columns,height:a.uv,row:a.row,rows:a.rows,url:a.url,width:a.AC}:null:null}; g.k.getStoryboardFrameIndex=function(a,b){var c=this.app.Hj();if(!c)return-1;b=c.levels[b];if(!b)return-1;a-=this.Md();return b.AE(a)}; g.k.getStoryboardLevel=function(a){var b=this.app.Hj();return b?(b=b.levels[a])?{index:a,intervalMs:b.j,maxFrameIndex:b.Uw(),minFrameIndex:b.jJ()}:null:null}; g.k.getNumberOfStoryboardLevels=function(){var a=this.app.Hj();return a?a.levels.length:0}; g.k.t2=function(){return this.getAudioTrack()}; g.k.getAudioTrack=function(){var a=g.VQ(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().lm}; g.k.setAudioTrack=function(a,b){3===this.getPresentingPlayerType()&&kR(this.app.wb()).fp("control_set_audio_track",a);var c=g.VQ(this.app,this.playerType);if(c)if(c.isDisposed()||g.S(c.playerState,128))a=!1;else{var d;if(null==(d=c.videoData.C)?0:d.j)b=b?c.getCurrentTime()-c.Md():NaN,c.Ga.setAudioTrack(a,b);else if(XZa(c)){b:{b=c.mediaElement.audioTracks();for(d=0;d=b.Hd.length)b=!1;else{d=g.t(b.Hd);for(e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof dJ)){b=!1;break b}var f=a.Oc.getId();e.B&&(zxa(e.B,f),e.u=null)}b.Tn=a;b=!0}b&&VY(c)&&(c.ma("internalaudioformatchange",c.videoData,!0),c.xa("hlsaudio",{id:a.id}))}a=!0}else a=!1;return a}; g.k.u2=function(){return this.getAvailableAudioTracks()}; g.k.getAvailableAudioTracks=function(){return g.VQ(this.app,this.playerType).getAvailableAudioTracks()}; g.k.getMaxPlaybackQuality=function(){var a=g.VQ(this.app,this.playerType);return a&&a.getVideoData().u?AD(a.Ef?yXa(a.Mi,a.Ef,a.Mu()):gK):"unknown"}; g.k.getUserPlaybackQualityPreference=function(){var a=g.VQ(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"}; g.k.getSubtitlesUserSettings=function(){var a=g.tS(this.app.wb());return a?a.Q2():null}; g.k.resetSubtitlesUserSettings=function(){g.tS(this.app.wb()).i8()}; g.k.setMinimized=function(a){this.app.setMinimized(a)}; g.k.setInlinePreview=function(a){this.app.setInlinePreview(a)}; g.k.setGlobalCrop=function(a){this.app.ib().setGlobalCrop(a)}; g.k.getVisibilityState=function(){var a=this.pg();return this.app.getVisibilityState(this.wh(),this.isFullscreen()||g.tI(this.app.V()),a,this.isInline(),this.app.Fy(),this.app.Cy())}; g.k.isMutedByMutedAutoplay=function(){return this.app.Xy}; g.k.isInline=function(){return this.app.isInline()}; g.k.setInternalSize=function(a,b){this.app.ib().setInternalSize(new g.oe(a,b))}; g.k.Md=function(){var a=g.VQ(this.app);return a?a.Md():0}; g.k.pg=function(){return this.app.pg()}; g.k.wh=function(){var a=g.VQ(this.app,this.playerType);return!!a&&a.wh()}; g.k.isFullscreen=function(){return this.app.isFullscreen()}; g.k.setSafetyMode=function(a){this.app.V().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.Nh=xx(!1,a.external_list));var d=a.video;(b=this.app.getPlaylist())&&!c?this.isFullscreen()&&((c=d[b.index])&&c.encrypted_id!==g.cS(b).videoId||(a.index=b.index)):pZ(this.app,{list:a.list,index:a.index,playlist_length:d.length});eS(this.app.getPlaylist(),a);this.Na("onPlaylistUpdate")}else this.app.updatePlaylist()}; g.k.updateVideoData=function(a,b){var c=g.VQ(this.app,this.playerType||1);c&&g.kK(c.getVideoData(),a,b)}; g.k.updateEnvironmentData=function(a){AI(this.app.V(),a,!1)}; g.k.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; g.k.productsInVideoVisibilityUpdated=function(a){this.ma("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.ib().getVideoAspectRatio()}; g.k.getPreferredQuality=function(){var a=g.VQ(this.app);return a?a.getPreferredQuality():"unknown"}; g.k.getPlaybackQualityLabel=function(a){if(a=g.VQ(this.app,a)){var b,c;return(null==(c=null==(b=a.getVideoData().u)?void 0:b.video)?void 0:c.qualityLabel)||""}return""}; g.k.setPlaybackQualityRange=function(a,b,c){var d=g.VQ(this.app,this.playerType);d&&g.UZa(d,g.xD(a,b||a,!0,"m"),!0,c)}; g.k.onAdUxClicked=function(a,b){this.ma("aduxclicked",a,b)}; g.k.showAirplayPicker=function(){this.app.showAirplayPicker()}; g.k.dispatchReduxAction=function(a){g.AK.dispatch(a)}; g.k.changeMarkerVisibility=function(a,b){var c=this.app.getVideoData(),d=!1;a?b.forEach(function(e){c.pe.includes(e)||(c.pe.push(e),d=!0)}):b.forEach(function(e){c.visibleOnLoadKeys.includes(e)||g.qb(c.pe,e)&&(d=!0)}); d&&this.ma("updatemarkervisibility")}; g.k.highlightSettingsMenuItem=function(a){this.ma("highlightSettingsMenu",a)}; g.k.ma=function(a){var b=g.ya.apply(1,arguments);this.app.V().I&&("videodatachange"===a||"resize"===a||"cardstatechange"===a)&&this.app.Sp.ma.apply(this.app.Sp,[a].concat(g.u(b)));this.app.Hq.ma.apply(this.app.Hq,[a].concat(g.u(b)))}; g.k.Na=function(a){var b=g.ya.apply(1,arguments);this.app.Sp.ma.apply(this.app.Sp,[a].concat(g.u(b)));this.app.Hq.ma.apply(this.app.Hq,[a].concat(g.u(b)))}; g.k.getFeedbackProductData=function(){return this.app.getFeedbackProductData()}; g.k.K=function(a){return this.app.V().K(a)}; g.k.ra=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.C.prototype.ra.call(this)};var CKa=new Set("endSeconds startSeconds mediaContentUrl suggestedQuality videoId rct rctn".split(" "));g.v(ZQ,QQ);g.k=ZQ.prototype;g.k.getApiInterface=function(){return Array.from(this.state.C)}; g.k.h1=function(a,b){if("string"===typeof b){var c=function(){var d=g.ya.apply(0,arguments);g.Ga(b).apply(window,d)}; this.state.I[b]=c}else c=b;this.app.Sp.subscribe(a,c)}; g.k.c8=function(a,b){if("string"===typeof b){var c=this.state.I[b];g.Sc(this.state.I,b);b=c}this.app.Sp.unsubscribe(a,b)}; g.k.getPlayerState=function(){return S_a(this.app)}; g.k.seekTo=function(a,b,c){var d=g.FI(this.app.V()),e=this.app.getVideoData().al;if(!g.Ex(d)||e)this.j&&zZ(this.app,!0,this.playerType),BZ(this.app,a,b,c,this.playerType)}; g.k.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)}; g.k.getMediaReferenceTime=function(){var a=this.app.Lf(this.playerType);return isNaN(a)?this.getCurrentTime():a}; g.k.getDuration=function(){return this.app.getDuration(this.playerType)}; g.k.getVolume=function(){return this.app.xi.volume}; g.k.setVolume=function(a){FKa(this,a)}; g.k.isMuted=function(){return this.app.xi.muted}; g.k.mute=function(){GKa(this)}; g.k.unMute=function(){HKa(this)}; g.k.getPlayerMode=function(){var a={};this.app.getVideoData().D&&(a.pfp={enableIma:this.app.V().ea&&this.app.Kd().allowImaMonetization,autoplay:$K(this.app.Kd()),mutedAutoplay:this.app.Kd().mutedAutoplay});return a}; g.k.playVideo=function(){this.j&&zZ(this.app,!0,this.playerType);var a=this.app.getPresentingPlayerType();if(2===a&&!this.app.nf()){var b=yS(this.app.wb());if(!z7a(b)){b.fp("control_play");return}if(A7a(b))return}3===a?kR(this.app.wb()).fp("control_play"):this.app.playVideo(a)}; g.k.pauseVideo=function(){var a=this.app.getPresentingPlayerType();if(2===a&&!this.app.nf()){var b=yS(this.app.wb());if(!z7a(b)){b.fp("control_pause");return}}3===a?kR(this.app.wb()).fp("control_pause"):this.app.pauseVideo(a)}; g.k.stopVideo=function(){var a=this.app;a.Z.Qc&&a.Va.ma("pageTransition");a.stopVideo()}; g.k.clearVideo=function(){}; g.k.getPlaybackRate=function(){return g.VQ(this.app,1).getPlaybackRate()}; g.k.setPlaybackRate=function(a){"number"===typeof a&&this.app.setPlaybackRate(a)}; g.k.getAvailablePlaybackRates=function(){var a=this.app.V();return a.uf?["https://web.archive.org/web/20230406005043/https://admin.youtube.com","https://web.archive.org/web/20230406005043/https://viacon.corp.google.com","https://web.archive.org/web/20230406005043/https://yurt.corp.google.com"].includes(a.C?a.ancestorOrigins[0]:window.location.origin)||a.Pn?Nbb:Mbb:[1]}; g.k.getPlaybackQuality=function(a){return(a=g.VQ(this.app,a))?a.getPlaybackQuality():"unknown"}; g.k.setPlaybackQuality=function(){}; g.k.getAvailableQualityLevels=function(){var a=g.VQ(this.app,this.playerType);return a?(a=g.vh(a.Vr(),function(b){return b.quality}),a.length&&("auto"===a[0]&&a.shift(),a=a.concat(["auto"])),a):[]}; g.k.getVideoBytesLoaded=function(){return this.getVideoLoadedFraction()}; g.k.getVideoBytesTotal=function(){return 1}; g.k.getVideoLoadedFraction=function(){return this.app.getVideoLoadedFraction()}; g.k.getVideoStartBytes=function(){return 0}; g.k.getSize=function(){var a=this.app.ib().getPlayerSize();return{width:a.width,height:a.height}}; g.k.setSize=function(){this.app.ib().resize()}; g.k.loadModule=function(a){"captions"===a&&(a=g.tS(this.app.wb()))&&!a.loaded&&a.load()}; g.k.unloadModule=function(a){"captions"===a&&(a=g.tS(this.app.wb()))&&a.loaded&&a.i9()}; g.k.loadVideoById=function(a,b,c){a&&(a=YQ(a,b,c),a=this.app.loadVideoByPlayerVars(a,this.playerType),this.j&&zZ(this.app,a,this.playerType))}; g.k.cueVideoById=function(a,b,c){a=YQ(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)}; g.k.loadVideoByUrl=function(a,b,c){a=BKa(a,b,c);a=this.app.loadVideoByPlayerVars(a,this.playerType);this.j&&zZ(this.app,a,this.playerType)}; g.k.cueVideoByUrl=function(a,b,c){a=BKa(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)}; g.k.getVideoUrl=function(){var a=this.app.V();if(a.oa)return"";var b=this.app.Kd(),c=void 0;b.isLivePlayback||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)}; g.k.getDebugText=function(){return this.app.getDebugText()}; g.k.getVideoEmbedCode=function(){var a=this.app.V();if(a.oa)return"";var b=this.app.Kd();return a.getVideoEmbedCode(b.isPrivate?"":b.title,this.app.Kd().videoId,this.app.ib().getPlayerSize(),this.getPlaylistId()||void 0)}; g.k.addCueRange=function(a,b,c){return a0a(this.app,a,b,c)}; g.k.removeCueRange=function(a){return c0a(this.app,a)}; g.k.loadPlaylist=function(a,b,c,d){this.app.loadPlaylist(a,b,c,d);this.j&&zZ(this.app,!0,this.playerType)}; g.k.cuePlaylist=function(a,b,c,d){this.app.cuePlaylist(a,b,c,d)}; g.k.nextVideo=function(){this.app.nextVideo();this.j&&zZ(this.app,!0,this.playerType)}; g.k.previousVideo=function(){this.app.previousVideo();this.j&&zZ(this.app,!0,this.playerType)}; g.k.playVideoAt=function(a){this.app.playVideoAt(a);this.j&&zZ(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.O2=function(){var a=this.app.getPlaylist();if(!a)return null;for(var b=[],c=0;cMath.random()){b=b?"pbp":"pbs";var c={startTime:this.j};a.T&&(c.cttAuthInfo={token:a.T,videoId:a.videoId});pD("seek",c);g.qD("cpn",a.clientPlaybackNonce,"seek");isNaN(this.u)||rD("pl_ss",this.u,"seek");rD(b,(0,g.M)(),"seek")}this.reset()}};g.k=ZR.prototype;g.k.reset=function(){mD(this.timerName)}; g.k.tick=function(a,b){rD(a,b,this.timerName)}; g.k.ri=function(a){return Dta(a,this.timerName)}; g.k.Gt=function(a){YR(a,void 0,this.timerName)}; g.k.info=function(a,b){g.qD(a,b,this.timerName)};g.v(aS,g.rC);g.k=aS.prototype;g.k.Ck=function(a){return this.loop||!!a||this.index+1([^<>]+)<\/a>/;g.v(SS,g.nG);SS.prototype.Ki=function(){pMa(this)}; SS.prototype.onVideoDataChange=function(){var a=this,b=this.F.getVideoData();if(b.Ee()){var c=this.F.V(),d=[],e="";if(!c.oa){var f=nMa(this);c.K("enable_web_media_session_metadata_fix")&&g.wI(c)&&f?(d=oMa(f.thumbnailDetails),f.album&&(e=g.uC(f.album))):d=[{src:b.hg("mqdefault.jpg")||"",sizes:"320x180",type:"image/jpeg"}]}pMa(this);mMa(this);this.mediaSession.metadata=new MediaMetadata({title:b.title,artist:b.author,artwork:d,album:e});c=b=null;g.lR(this.F)&&(this.j.delete("nexttrack"),this.j.delete("previoustrack"), b=function(){a.F.nextVideo()},c=function(){a.F.previousVideo()}); TS(this,"nexttrack",b);TS(this,"previoustrack",c)}}; SS.prototype.ra=function(){this.mediaSession.playbackState="none";this.mediaSession.metadata=null;for(var a=g.t(this.j),b=a.next();!b.done;b=a.next())TS(this,b.value,null);g.nG.prototype.ra.call(this)};g.v(US,g.T);g.k=US.prototype;g.k.onClick=function(a){g.JS(a,this.F,!0);this.F.ob(this.element)}; g.k.onVideoDataChange=function(a,b){rMa(this,b);this.Re&&sMa(this,this.Re)}; g.k.ud=function(a){var b=this.F.getVideoData();this.videoId!==b.videoId&&rMa(this,b);this.j&&sMa(this,a.state);this.Re=a.state}; g.k.Sc=function(){this.C.show();this.F.ma("paidcontentoverlayvisibilitychange",!0);this.F.Ua(this.element,!0)}; g.k.Bb=function(){this.C.hide();this.F.ma("paidcontentoverlayvisibilitychange",!1);this.F.Ua(this.element,!1)};g.v(VS,g.T);VS.prototype.hide=function(){this.j.stop();this.message.style.display="none";g.T.prototype.hide.call(this)}; VS.prototype.onStateChange=function(a){this.vc(a.state)}; VS.prototype.vc=function(a){if(g.S(a,128))var b=!1;else{var c;b=(null==(c=this.api.Nc())?0:c.Ks)?!1:g.S(a,16)||g.S(a,1)?!0:!1}b?this.j.start():this.hide()}; VS.prototype.u=function(){this.message.style.display="block"};g.v(WS,g.qR);WS.prototype.onMutedAutoplayChange=function(a){this.B&&(a?(tMa(this),this.Sc()):(this.j&&this.ob(),this.Bb()))}; WS.prototype.Ki=function(a){this.api.isMutedByMutedAutoplay()&&g.eM(a,2)&&this.Bb()}; WS.prototype.onClick=function(){this.api.unMute();this.ob()}; WS.prototype.ob=function(){this.clicked||(this.clicked=!0,this.api.ob(this.element))};g.v(g.YS,g.nG);g.k=g.YS.prototype;g.k.init=function(){var a=this.api,b=a.Gb();this.bC=a.getPlayerSize();this.uc(b);this.xp();this.Eb();this.api.ma("basechromeinitialized",this)}; g.k.onVideoDataChange=function(a,b){var c=this.sC!==b.videoId;if(c||"newdata"===a)a=this.api,a.isFullscreen()||(this.bC=a.getPlayerSize());c&&(this.sC=b.videoId,c=this.Te,c.ya=b&&0=b){this.fB=!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.CC-1);02*b&&d<3*b&&(this.rD(1,d,c,e),this.api.seekBy(10*this.api.getPlaybackRate()));g.fA(a)}else GS&&this.api.K("embeds_web_enable_mobile_dtts")&& this.api.V().J&&ZS(this,a)&&g.fA(a);this.IU=Date.now();this.RW.start()}}; g.k.F6=function(a){xMa(this,a)||(wMa(this)||!ZS(this,a)||this.lF.isActive()||(g.PI(this.api.V())&&this.api.Gb().isCued()&&$R(this.api.Rh()),XS(this),g.fA(a)),this.fB&&(this.fB=!1))}; g.k.requestStorageAccess=function(){var a=this;this.api.requestStorageAccess(function(){g.hy("embedsRequestStorageAccessResult",{resolved:!0});pwa(!0);eB();window.location.reload()},function(){g.hy("embedsRequestStorageAccessResult",{resolved:!1}); a.Rz()})}; g.k.bG=function(){}; g.k.Zv=function(){}; g.k.rD=function(){}; g.k.iO=function(){}; g.k.Rz=function(){var a=this.api.Gb();g.S(a,2)&&g.iR(this.api)||(g.RM(a)?this.api.pauseVideo():(this.Am&&(a=this.Am.B,document.activeElement===a.element&&this.api.ma("largeplaybuttonclicked",a.element)),this.api.tG(),this.api.playVideo(),this.Am&&document.activeElement===this.Am.B.element&&this.api.getRootNode().focus()))}; g.k.G6=function(a){var b=this,c=this.api.getPresentingPlayerType();if(!vMa(this,cA(a)))if(a=this.api.V(),(this.api.V().K("player_doubletap_to_seek")||this.api.K("embeds_web_enable_mobile_dtts")&&this.api.V().J)&&this.fB)this.fB=!1;else if(a.Tb&&3!==c)try{this.api.toggleFullscreen().catch(function(d){b.VB(d)})}catch(d){this.VB(d)}}; g.k.VB=function(a){String(a).includes("fullscreen error")?g.QB(a):g.PB(a)}; g.k.H6=function(a){yMa(this,.3,a.scale);g.fA(a)}; g.k.I6=function(a){yMa(this,.1,a.scale)}; g.k.Eb=function(){var a=this.api.ib().getPlayerSize(),b=this.api.getRootNode(),c=650<=a.width;this.Te.resize();g.Co(b,"ytp-fullscreen",this.api.isFullscreen());g.Co(b,"ytp-large-width-mode",c);g.Co(b,"ytp-small-mode",this.jh());g.Co(b,"ytp-tiny-mode",this.lG());g.Co(b,"ytp-big-mode",this.og());this.fg&&this.fg.resize(a)}; g.k.Ki=function(a){this.uc(a.state);this.xp()}; g.k.GD=aa(31);g.k.uL=function(){var a=!!this.sC&&!this.api.Nf()&&!this.NN,b=2===this.api.getPresentingPlayerType(),c=this.api.V();if(b){if(S7a&&c.K("enable_visit_advertiser_support_on_ipad_mweb"))return!1;b=yS(this.api.wb());return a&&b.OO()}return a&&(c.hm||this.api.isFullscreen()||c.Ic)}; g.k.xp=function(){var a=this.uL();this.Uo!==a&&(this.Uo=a,g.Co(this.api.getRootNode(),"ytp-hide-info-bar",!a))}; g.k.uc=function(a){var b=a.isCued()||this.api.Mo()&&3!==this.api.getPresentingPlayerType();b!==this.isCued&&(this.isCued=b,this.nP&&this.Hc(this.nP),this.nP=this.S(this.api.ib(),"touchstart",this.J6,void 0,b));var c=a.fd()&&!g.S(a,32)||this.api.mC();ES(this.Te,128,!c);c=3===this.api.getPresentingPlayerType();ES(this.Te,256,c);c=this.api.getRootNode();if(g.S(a,2))var d=[F3.ENDED];else d=[],g.S(a,8)?d.push(F3.PLAYING):g.S(a,4)&&d.push(F3.PAUSED),g.S(a,1)&&!g.S(a,32)&&d.push(F3.BUFFERING),g.S(a,32)&& d.push(F3.SEEKING),g.S(a,64)&&d.push(F3.UNSTARTED);g.Eb(this.RJ,d)||(g.Bo(c,this.RJ),this.RJ=d,g.zo(c,d));d=this.api.V();var e=g.S(a,2);a:{var f=this.api.V();var h=f.controlsType;switch(h){case "2":case "0":f=!1;break a}f="3"===h&&!g.S(a,2)||this.isCued||(2!==this.api.getPresentingPlayerType()?0:A7a(yS(this.api.wb())))||g.oI(f)&&2===this.api.getPresentingPlayerType()?!1:!0}g.Co(c,"ytp-hide-controls",!f);g.Co(c,"ytp-native-controls","3"===d.controlsType&&!b&&!e&&!this.WL);g.S(a,128)&&!g.oI(d)?(this.fg|| (this.fg=new g.OS(this.api),g.D(this,this.fg),g.oR(this.api,this.fg.element,4)),this.fg.u(a.getData()),this.fg.show()):this.fg&&(this.fg.dispose(),this.fg=null)}; g.k.El=function(){return this.api.pk()&&this.api.po()?(this.api.Cz(!1,!1),!0):this.api.Nf()?(g.jR(this.api,!0),!0):!1}; g.k.onMutedAutoplayChange=function(a){this.WL=a;this.bl()}; g.k.og=function(){return!1}; g.k.jh=function(){return!this.og()&&(480>this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)}; g.k.lG=function(){return this.jh()&&(240>this.api.getPlayerSize().width||140>this.api.getPlayerSize().height)}; g.k.Sb=function(){var a=this.api.V();if(!g.oI(a)||"EMBEDDED_PLAYER_MODE_DEFAULT"!==(a.Ra||"EMBEDDED_PLAYER_MODE_DEFAULT")||this.api.getPlaylist())return!1;a=this.bC;var b,c;return a.width<=a.height&&!!(null==(b=this.api.getVideoData())?0:null==(c=b.embeddedPlayerConfig)?0:c.isShortsExperienceEligible)}; g.k.Ll=function(){return this.dI}; g.k.Im=function(){return null}; g.k.DF=function(){return null}; g.k.MB=function(){return null}; g.k.zk=function(){var a=this.api.ib().getPlayerSize();return new g.Gl(0,0,a.width,a.height)}; g.k.handleGlobalKeyDown=function(){return!1}; g.k.handleGlobalKeyUp=function(){return!1}; g.k.Mv=function(){}; g.k.showControls=function(a){void 0!==a&&this.api.ib().ED(a)}; g.k.vp=function(){}; g.k.GF=function(){return this.bC};g.v($S,g.rC);g.k=$S.prototype;g.k.Fo=function(){return 1E3*this.api.getDuration(this.Fn,!1)}; g.k.stop=function(){this.j&&this.qd.Hc(this.j)}; g.k.yc=function(){var a=this.api.getProgressState(this.Fn);this.u={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:this.api.getCurrentTime(this.Fn,!1)};this.ma("h")}; g.k.getProgressState=function(){return this.u}; g.k.ud=function(a){g.eM(a,2)&&this.ma("g")};g.v(aT,g.T);aT.prototype.onClick=function(){this.F.Na("BACK_CLICKED")};g.v(g.bT,g.T);g.bT.prototype.show=function(){g.T.prototype.show.call(this);g.ro(this.j)}; g.bT.prototype.hide=function(){this.u.stop();g.T.prototype.hide.call(this)}; g.bT.prototype.Zv=function(a){a?g.S(this.F.Gb(),64)||cT(this,pO(),"Play"):(a=this.F.getVideoData(),a.isLivePlayback&&!a.allowLiveDvr?cT(this,MFa(),"Stop live playback"):cT(this,IFa(),"Pause"))};g.v(fT,g.T);g.k=fT.prototype;g.k.Sc=function(){this.F.V().K("player_new_info_card_format")&&g.xo(this.F.getRootNode(),"ytp-cards-teaser-shown")&&!g.oI(this.F.V())||(this.u.show(),g.vA("iv-button-shown"))}; g.k.Bb=function(){g.vA("iv-button-hidden");this.u.hide()}; g.k.dj=function(){return this.vb&&4!==this.u.state}; g.k.ra=function(){this.j&&this.j();g.T.prototype.ra.call(this)}; g.k.H5=function(){g.vA("iv-button-mouseover")}; g.k.n5=function(a){this.F.pk();var b=g.xo(this.F.getRootNode(),"ytp-cards-teaser-shown");g.vA("iv-teaser-clicked",b);var c;if(null==(c=this.F.getVideoData())?0:g.UK(c)){var d;a=null==(d=this.F.getVideoData())?void 0:g.VK(d);(null==a?0:a.onIconTapCommand)&&this.F.Na("innertubeCommand",a.onIconTapCommand)}else d=0===a.screenX&&0===a.screenY,this.F.Cz(!this.F.po(),d,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.v(hT,g.T);g.k=hT.prototype;g.k.cY=function(){this.F.pk()&&this.F.po()&&this.dj()&&this.Bb()}; g.k.cP=function(){this.Bb();!this.F.pk()&&this.F.V().K("enable_error_corrections_infocards_icon_web")&&this.Xi.Bb();g.vA("iv-teaser-clicked",null!=this.j);if(this.onClickCommand)this.F.Na("innertubeCommand",this.onClickCommand);else{var a;(null==(a=this.F.getVideoData())?0:g.UK(a))||this.F.Cz(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}}; g.k.G_=function(){g.vA("iv-teaser-mouseover");this.j&&this.j.stop()}; g.k.f7=function(a){this.F.V().K("player_new_info_card_format")&&!g.oI(this.F.V())?this.Xi.Bb():this.F.V().K("enable_error_corrections_infocards_icon_web")&&this.Xi.Sc();this.j||!a||this.F.po()||this.u&&this.u.isActive()||(this.Sc(a),g.vA("iv-teaser-shown"))}; g.k.Sc=function(a){this.onClickCommand=a.onClickCommand;this.updateValue("text",a.teaserText);this.element.setAttribute("dir",g.Oo(a.teaserText));this.C.show();this.u=new g.qo(function(){g.yo(this.F.getRootNode(),"ytp-cards-teaser-shown");this.F.K("player_new_info_card_format")&&!g.oI(this.F.V())&&this.Xi.Bb();this.AP()},0,this); this.u.start();eT(this.Xi,!1);this.j=new g.qo(this.Bb,580+a.durationMs,this);this.j.start();this.D.push(this.Qa("mouseover",this.eR,this));this.D.push(this.Qa("mouseout",this.dR,this))}; g.k.AP=function(){if(!this.F.V().K("player_new_info_card_format")&&g.oI(this.F.V())&&this.vb){var a=this.Xi.element.offsetLeft,b=g.He("ytp-cards-button-icon"),c=this.F.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.Xi.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}}; g.k.H1=function(){g.oI(this.F.V())&&this.Y.jh()&&this.vb&&this.T.start()}; g.k.eR=function(){this.I.stop();this.j&&this.j.isActive()&&this.J.start()}; g.k.dR=function(){this.J.stop();this.j&&!this.j.isActive()&&this.I.start()}; g.k.U5=function(){this.j&&this.j.stop()}; g.k.T5=function(){this.Bb()}; g.k.ep=function(){this.Bb()}; g.k.Bb=function(){!this.j||this.B&&this.B.isActive()||(g.vA("iv-teaser-hidden"),this.C.hide(),g.Ao(this.F.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.qo(function(){for(var a=g.t(this.D),b=a.next();!b.done;b=a.next())this.Hc(b.value);this.D=[];this.j&&(this.j.dispose(),this.j=null);eT(this.Xi,!0);!this.F.pk()&&this.F.V().K("enable_error_corrections_infocards_icon_web")&&this.Xi.Bb()},330,this),this.B.start())}; g.k.dj=function(){return this.vb&&4!==this.C.state}; g.k.ra=function(){var a=this.F.getRootNode();a&&g.Ao(a,"ytp-cards-teaser-shown");g.Za(this.u,this.B,this.j);g.T.prototype.ra.call(this)};var K3={},iT=(K3.BUTTON="ytp-button",K3.TITLE_NOTIFICATIONS="ytp-title-notifications",K3.TITLE_NOTIFICATIONS_ON="ytp-title-notifications-on",K3.TITLE_NOTIFICATIONS_OFF="ytp-title-notifications-off",K3.NOTIFICATIONS_ENABLED="ytp-notifications-enabled",K3);g.v(jT,g.T);jT.prototype.onClick=function(){this.api.ob(this.element);var a=!this.j;this.updateValue("label",a?"Stop getting notified about every new video":"Get notified about every new video");this.updateValue("pressed",a);BMa(this,a)};g.v(g.lT,g.T);g.lT.prototype.C=function(){window.location.reload()}; g.lT.prototype.j=function(){g.yo(this.element,"ytp-sb-subscribed")}; g.lT.prototype.u=function(){g.Ao(this.element,"ytp-sb-subscribed")};g.v(nT,g.T);g.k=nT.prototype;g.k.k5=function(a){this.api.ob(this.j);var b=this.api.V();b.u||b.tb?oT(this)&&(this.isExpanded()?this.dF():this.sF()):g.mj(window,mT(this));a.preventDefault()}; g.k.pO=function(){FMa(this);this.channel.classList.remove("ytp-title-expanded")}; g.k.isExpanded=function(){return this.channel.classList.contains("ytp-title-expanded")}; g.k.Sb=function(){return this.api.V().K("shorts_mode_to_player_api")?!!this.api.Sb():!!this.C.Sb()}; g.k.sF=function(){if(oT(this)&&!this.isExpanded()){this.updateValue("flyoutUnfocusable","false");this.updateValue("channelTitleFocusable","0");this.updateValue("shouldHideExpandedTitleForA11y","false");this.updateValue("shouldHideExpandedSubtitleForA11y","false");this.B&&this.B.stop();this.api.K("web_player_ve_conversion_fixes_for_channel_info")&&this.api.Ua(this.channelName,!0);this.subscribeButton&&(this.subscribeButton.show(),this.api.Ua(this.subscribeButton.element,!0));var a=this.api.getVideoData(); this.u&&a.il&&a.subscribed&&(this.u.show(),this.api.Ua(this.u.element,!0));this.channel.classList.add("ytp-title-expanded");this.channel.classList.add("ytp-title-show-expanded")}}; g.k.dF=function(){this.updateValue("flyoutUnfocusable","true");this.updateValue("channelTitleFocusable","-1");this.updateValue("shouldHideExpandedTitleForA11y","true");this.updateValue("shouldHideExpandedSubtitleForA11y","true");this.B&&this.B.start()}; g.k.La=function(){var a=this.api.V();g.bO(this,!this.Sb());var b=this.api.getVideoData(),c=!1;2===this.api.getPresentingPlayerType()?c=!!b.videoId&&!!b.isListed&&!!b.author&&!!b.tb&&!!b.profilePicture:g.oI(a)&&(c=!!b.videoId&&!!b.tb&&!!b.profilePicture&&!(b.D&&a.ea)&&!a.B&&!(a.J&&200>this.api.getPlayerSize().width));var d=b.profilePicture;a=g.oI(a)?b.Zg:b.author;d=void 0===d?"":d;a=void 0===a?"":a;c?(this.I!==d&&(this.j.style.backgroundImage="url("+d+")",this.I=d),this.api.K("web_player_ve_conversion_fixes_for_channel_info")|| this.updateValue("channelLink",mT(this)),this.updateValue("channelLogoLabel",g.sM("Photo image of $CHANNEL_NAME",{CHANNEL_NAME:a})),g.yo(this.api.getRootNode(),"ytp-title-enable-channel-logo")):g.Ao(this.api.getRootNode(),"ytp-title-enable-channel-logo");this.api.Ua(this.j,c&&this.Aa);this.subscribeButton&&(this.subscribeButton.channelId=b.dk);this.updateValue("expandedTitle",b.Zg);this.api.K("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelTitleLink",mT(this));this.updateValue("expandedSubtitle", b.expandedSubtitle)};g.v(pT,g.dO);pT.prototype.zV=function(){this.ma("size-change")}; pT.prototype.focus=function(){this.content.focus()}; pT.prototype.tV=function(){this.ma("back")};g.v(g.qT,pT);g.k=g.qT.prototype;g.k.Kc=function(a,b){if(void 0===b?0:b)this.items.push(a),this.menuItems.element.appendChild(a.element);else{b=g.Ab(this.items,a,HMa);if(0<=b)return;b=~b;g.xb(this.items,b,0,a);g.We(this.menuItems.element,a.element,b)}a.subscribe("size-change",this.uN,this);this.menuItems.ma("size-change")}; g.k.wg=function(a){a.unsubscribe("size-change",this.uN,this);this.isDisposed()||(g.qb(this.items,a),this.menuItems.element.removeChild(a.element),this.menuItems.ma("size-change"))}; g.k.uN=function(){this.menuItems.ma("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.Gl(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.Pl(this.element,new g.me(d.left,d.top));g.mB(this.C);this.C.S(document,"contextmenu",this.y5);this.C.S(this.F,"fullscreentoggled",this.onFullscreenToggled);this.C.S(this.F,"pageTransition",this.K_)}; g.k.y5=function(a){if(!g.gA(a)){var b=cA(a);g.Ze(this.element,b)||this.Bb();this.F.V().disableNativeContextMenu&&g.fA(a)}}; g.k.onFullscreenToggled=function(){this.Bb();OMa(this)}; g.k.K_=function(){this.Bb()};g.v(g.CT,g.T);g.CT.prototype.onClick=function(){var a=this,b,c,d,e;return g.A(function(f){if(1==f.j)return b=a.api.V(),c=a.api.getVideoData(),d=a.api.getPlaylistId(),e=b.getVideoUrl(c.videoId,d,void 0,!0),g.y(f,RMa(a,e),2);f.u&&QMa(a);a.api.ob(a.element);g.oa(f)})}; g.CT.prototype.La=function(){this.updateValue("icon",{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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","Copy link");this.visible=PMa(this);g.Co(this.element,"ytp-copylink-button-visible", this.visible);g.bO(this,this.visible);ET(this.tooltip);this.api.Ua(this.element,this.visible&&this.Aa)}; g.CT.prototype.kc=function(a){g.T.prototype.kc.call(this,a);this.api.Ua(this.element,this.visible&&a)}; g.CT.prototype.ra=function(){g.T.prototype.ra.call(this);g.Ao(this.element,"ytp-copylink-button-visible")};g.v(FT,g.T);FT.prototype.show=function(){g.T.prototype.show.call(this);g.ro(this.u)}; FT.prototype.hide=function(){this.C.stop();this.B=0;g.Ao(this.element,"ytp-chapter-seek");g.Ao(this.element,"ytp-time-seeking");g.T.prototype.hide.call(this)}; FT.prototype.rD=function(a,b,c,d){this.B=a===this.I?this.B+d:d;this.I=a;var e=-1===a?this.T:this.J;e&&this.F.ob(e);this.D?this.u.stop():g.to(this.u);this.C.start();this.element.setAttribute("data-side",-1===a?"back":"forward");var f=3*this.F.ib().getPlayerSize().height;e=this.F.ib().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.Da("ytp-doubletap-ripple");l.style.width=h+"px";l.style.height=h+"px";1===a?(a=this.F.ib().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.Da("ytp-doubletap-ripple"))c.classList.remove("ytp-doubletap-ripple"),c.classList.add("ytp-doubletap-ripple");SMa(this,this.D?this.B:d)};g.v(KT,g.T);g.k=KT.prototype;g.k.KG=function(){}; g.k.KC=function(){}; g.k.Jz=function(){return!0}; g.k.E8=function(){if(this.expanded){this.ya.show();var a=this.C.element.scrollWidth}else a=this.C.element.scrollWidth,this.ya.hide();this.fb=34+a;g.Co(this.badge.element,"ytp-suggested-action-badge-expanded",this.expanded);this.badge.element.style.width=(this.expanded?34:this.fb)+"px";this.oa.start()}; g.k.m2=function(){this.badge.element.style.width=(this.expanded?this.fb:34)+"px";this.Ma.start()}; g.k.k9=function(){g.Co(this.badge.element,"ytp-suggested-action-badge-with-offline-slate",!0)}; g.k.bk=function(){this.Jz()?this.J.show():this.J.hide();TMa(this)}; g.k.M_=function(){this.enabled=!1;this.bk()}; g.k.j9=function(){this.bk()}; g.k.h5=function(a){this.Ta=1===a;this.bk();g.Co(this.badge.element,"ytp-suggested-action-badge-with-offline-slate",!1)}; g.k.B5=function(){g.Co(this.badge.element,"ytp-suggested-action-badge-fullscreen",this.F.isFullscreen());this.bk()};g.v(MT,KT);g.k=MT.prototype;g.k.Jz=function(){return!!this.T}; g.k.KG=function(a){a.target===this.dismissButton.element?a.preventDefault():LT(this,!1)}; g.k.KC=function(){LT(this,!0);this.hO()}; g.k.t8=function(a){var b;if(a.id!==(null==(b=this.T)?void 0:b.identifier)){var c=g.t(this.Fa);for(b=c.next();!b.done;b=c.next()){var d=b.value,e=void 0,f=void 0;if((b=null==(e=d)?void 0:null==(f=e.bannerData)?void 0:f.itemData)&&d.identifier===a.id){this.D=this.enabled=!0;this.expanded=this.expanded&&g.QM(this.F.Gb());this.T=d;cO(this.banner,b.accessibilityLabel||"");d=a=void 0;c=null==(d=g.K(g.K(b.onTapCommand,KR),g.xK))?void 0:d.url;this.banner.update({url:c,thumbnail:null==(a=(b.thumbnailSources|| [])[0])?void 0:a.url,title:b.productTitle,vendor:b.vendorName,price:b.price});b.trackingParams&&(this.j=!0,this.F.Lg(this.badge.element,b.trackingParams));JT(this);this.bk();return}}this.hO()}}; g.k.hO=function(){this.D=this.enabled=!1;this.T=void 0;this.bk()}; g.k.onVideoDataChange=function(a,b){var c=this;"dataloaded"===a&&NT(this);a=b.shoppingOverlayRenderer;var d=null==a?void 0:a.featuredProductsEntityKey,e;if(b=null==a?void 0:null==(e=a.dismissButton)?void 0:e.trackingParams)this.F.Lg(this.dismissButton.element,b),this.B=!0;var f;(e=null==a?void 0:null==(f=a.dismissButton)?void 0:f.a11yLabel)&&cO(this.dismissButton,g.uC(e));var h;null==(h=this.Ja)||h.call(this);this.Ja=g.AK.subscribe(function(){NT(c);if(d){var l=g.AK.getState().entities,m=KJ(l,"featuredProductsEntity", d);if(null!=m&&m.productsData){l=[];m=g.t(m.productsData);for(var n=m.next();!n.done;n=m.next()){n=n.value;var p=void 0;if(null!=(p=n)&&p.identifier&&n.featuredSegments){c.Fa.push(n);var q=void 0;p=g.t(null==(q=n)?void 0:q.featuredSegments);for(q=p.next();!q.done;q=p.next())(q=q.value)&&l.push(new g.kC(1E3*Number(q.startTimeSec),1E3*Number(q.endTimeSec)||0x7ffffffffffff,{id:n.identifier,namespace:"featured_product"}))}}c.F.Be(l)}}})}; g.k.ra=function(){NT(this);KT.prototype.ra.call(this)};g.v(OT,g.T);OT.prototype.onClick=function(){this.F.ob(this.element,this.u)};g.v(PT,g.qR);g.k=PT.prototype;g.k.show=function(){g.qR.prototype.show.call(this);this.F.ma("infopaneldetailvisibilitychange",!0);this.F.Ua(this.element,!0);XMa(this,!0)}; g.k.hide=function(){g.qR.prototype.hide.call(this);this.F.ma("infopaneldetailvisibilitychange",!1);this.F.Ua(this.element,!1);XMa(this,!1)}; g.k.getId=function(){return this.C}; g.k.Fj=function(){return this.itemData.length}; g.k.onVideoDataChange=function(a,b){if(b){var c,d,e,f;this.update({title:(null==(c=b.Zl)?void 0:null==(d=c.title)?void 0:d.content)||"",body:(null==(e=b.Zl)?void 0:null==(f=e.bodyText)?void 0:f.content)||""});var h;a=(null==(h=b.Zl)?void 0:h.trackingParams)||null;this.F.Lg(this.element,a);h=g.t(this.itemData);for(a=h.next();!a.done;a=h.next())a.value.dispose();this.itemData=[];var l;if(null==(l=b.Zl)?0:l.ctaButtons)for(b=g.t(b.Zl.ctaButtons),l=b.next();!l.done;l=b.next())if(l=g.K(l.value,f$a))l=new OT(this.F, l,this.j),l.Ee&&(this.itemData.push(l),l.Ea(this.items))}}; g.k.ra=function(){this.hide();g.qR.prototype.ra.call(this)};g.v(RT,g.T);g.k=RT.prototype;g.k.onVideoDataChange=function(a,b){QT(this,b);this.Re&&$Ma(this,this.Re)}; g.k.ud=function(a){var b=this.F.getVideoData();this.videoId!==b.videoId&&QT(this,b);$Ma(this,a.state);this.Re=a.state}; g.k.AV=function(a){(this.C=a)?this.hide():this.j&&this.show()}; g.k.O_=function(){this.u||this.Sc();this.showControls=!0}; g.k.N_=function(){this.u||this.Bb();this.showControls=!1}; g.k.Sc=function(){this.j&&!this.C&&(this.B.show(),this.F.ma("infopanelpreviewvisibilitychange",!0),this.F.Ua(this.element,!0))}; g.k.Bb=function(){this.j&&!this.C&&(this.B.hide(),this.F.ma("infopanelpreviewvisibilitychange",!1),this.F.Ua(this.element,!1))}; g.k.w8=function(){this.u=!1;this.showControls||this.Bb()};var Tbb={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(Tbb).reduce(function(a,b){a[Tbb[b]]=b;return a},{}); var Ubb={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(Ubb).reduce(function(a,b){a[Ubb[b]]=b;return a},{}); var Vbb={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(Vbb).reduce(function(a,b){a[Vbb[b]]=b;return a},{});var Wbb,Xbb;Wbb=[{option:"#fff",text:"White"},{option:"#ff0",text:"Yellow"},{option:"#0f0",text:"Green"},{option:"#0ff",text:"Cyan"},{option:"#00f",text:"Blue"},{option:"#f0f",text:"Magenta"},{option:"#f00",text:"Red"},{option:"#080808",text:"Black"}];Xbb=[{option:0,text:ST(0)},{option:.25,text:ST(.25)},{option:.5,text:ST(.5)},{option:.75,text:ST(.75)},{option:1,text:ST(1)}]; g.WT=[{option:"fontFamily",text:"Font family",options:[{option:1,text:"Monospaced Serif"},{option:2,text:"Proportional Serif"},{option:3,text:"Monospaced Sans-Serif"},{option:4,text:"Proportional Sans-Serif"},{option:5,text:"Casual"},{option:6,text:"Cursive"},{option:7,text:"Small Capitals"}]},{option:"color",text:"Font color",options:Wbb},{option:"fontSizeIncrement",text:"Font size",options:[{option:-2,text:ST(.5)},{option:-1,text:ST(.75)},{option:0,text:ST(1)},{option:1,text:ST(1.5)},{option:2, text:ST(2)},{option:3,text:ST(3)},{option:4,text:ST(4)}]},{option:"background",text:"Background color",options:Wbb},{option:"backgroundOpacity",text:"Background opacity",options:Xbb},{option:"windowColor",text:"Window color",options:Wbb},{option:"windowOpacity",text:"Window opacity",options:Xbb},{option:"charEdgeStyle",text:"Character edge style",options:[{option:0,text:"None"},{option:4,text:"Drop Shadow"},{option:1,text:"Raised"},{option:2,text:"Depressed"},{option:3,text:"Outline"}]},{option:"textOpacity", text:"Font opacity",options:[{option:.25,text:ST(.25)},{option:.5,text:ST(.5)},{option:.75,text:ST(.75)},{option:1,text:ST(1)}]}];var Ybb=[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.v(g.VT,g.nG);g.k=g.VT.prototype; g.k.LT=function(a){var b=!1,c=g.hA(a),d=cA(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey&&(!hNa(this)||Ybb.includes(c)),f=!1,h=!1,l=this.api.V();g.gA(a)?(e=!1,h=!0):l.hj&&(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);dT(this.Rc,f,!1);this.api.setVolume(f);h=f=!0;break;case 40:f=Math.max(this.api.getVolume()-5,0);dT(this.Rc,f,!0);this.api.setVolume(f);h=f=!0;break;case 36:this.api.yh()&& (this.api.startSeekCsiAction(),this.api.seekTo(0),h=f=!0);break;case 35:this.api.yh()&&(this.api.startSeekCsiAction(),this.api.seekTo(Infinity),h=f=!0)}}b&&UT(this,!0);(b||h)&&this.Te.vp();(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code))&&g.fA(a);l.I&&(a={keyCode:g.hA(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.gA(a),fullscreen:this.api.isFullscreen()},this.api.Na("onKeyPress",a))}; g.k.NT=function(a){this.handleGlobalKeyUp(g.hA(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)}; g.k.handleGlobalKeyUp=function(a){var b=!1,c=g.mR(this.api.wb());c&&(c=c.zt)&&c.vb&&(c.HT(a),b=!0);9===a&&(UT(this,!0),b=!0);return b}; g.k.handleGlobalKeyDown=function(a,b,c,d,e,f){var h=!1;e=this.api.V();if(e.hj)return h;var l=g.mR(this.api.wb());if(l&&(l=l.zt)&&l.vb)switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:h=l.GT(a)}e.T||h||(h=f||String.fromCharCode(a).toLowerCase(),this.u+=h,0==="awesome".indexOf(this.u)?(h=!0,7===this.u.length&&fla(this.api.getRootNode(),"ytp-color-party")):(this.u=h,h=0==="awesome".indexOf(this.u)));if(!h&&(!hNa(this)||Ybb.includes(a))){l=this.api.getVideoData();var m,n; f=null==(m=this.Jc)?void 0:null==(n=m.u)?void 0:n.isEnabled;m=l?l.Ok:[];n=BW?d:c;switch(a){case 80:b&&!e.Ta&&(cT(this.Rc,LFa(),"Previous"),this.api.previousVideo(),h=!0);break;case 78:b&&!e.Ta&&(cT(this.Rc,mO(),"Next"),this.api.nextVideo(),h=!0);break;case 74:this.api.yh()&&(this.api.startSeekCsiAction(),this.j?GT(this.j,-1,10):cT(this.Rc,{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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()),h=!0);break;case 76:this.api.yh()&&(this.api.startSeekCsiAction(),this.j?GT(this.j,1,10):cT(this.Rc,{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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()),h=!0);break;case 37:this.api.yh()&&(this.api.startSeekCsiAction(),n?(n=cNa(m,1E3*this.api.getCurrentTime()),-1!==n&&null!=this.j&&(HT(this.j,-1,m[n].title),this.api.seekTo(m[n].startTime/1E3),h=!0)):(this.j?GT(this.j,-1,5):cT(this.Rc,{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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()),h=!0));break;case 39:this.api.yh()&&(this.api.startSeekCsiAction(),n?(n=bNa(m,1E3*this.api.getCurrentTime()),-1!==n&&null!=this.j&&(HT(this.j,1,m[n].title),this.api.seekTo(m[n].startTime/1E3),h=!0)):(null!=this.j?GT(this.j,1,5):cT(this.Rc,{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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()),h=!0));break;case 77:this.api.isMuted()?(this.api.unMute(),dT(this.Rc,this.api.getVolume(),!1)):(this.api.mute(),dT(this.Rc,0,!0));h=!0;break;case 32:case 75:e.Ta||(this.api.K("web_paused_only_miniplayer_shortcut_expand")&&gNa(this)&&this.api.Na("onExpandMiniplayer"),f?this.Jc.eL():(h=!g.RM(this.api.Gb()),this.Rc.Zv(h),h?this.api.playVideo():this.api.pauseVideo()),h=!0);break;case 190:b?e.uf&&(h=this.api.getPlaybackRate(),this.api.setPlaybackRate(h+.25, !0),zMa(this.Rc,!1),h=!0):this.api.yh()&&(this.step(1),h=!0);break;case 188:b?e.uf&&(h=this.api.getPlaybackRate(),this.api.setPlaybackRate(h-.25,!0),zMa(this.Rc,!0),h=!0):this.api.yh()&&(this.step(-1),h=!0);break;case 70:hMa(this.api)&&(this.api.toggleFullscreen().catch(function(){}),h=!0); break;case 27:f?(this.Jc.Pr(),h=!0):this.C()&&(h=!0)}if("3"!==e.controlsType)switch(a){case 67:g.tS(this.api.wb())&&(e=this.api.getOption("captions","track"),this.api.toggleSubtitles(),AMa(this.Rc,!e||e&&!e.displayName),h=!0);break;case 79:XT(this,"textOpacity");break;case 87:XT(this,"windowOpacity");break;case 187:case 61:XT(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:XT(this,"fontSizeIncrement",!0,!0)}var p;b||c||d||(48<=a&&57>=a?p=a-48:96<=a&&105>=a&&(p=a-96));null!=p&&this.api.yh()&& (this.api.startSeekCsiAction(),a=this.api.getProgressState(),this.api.seekTo(p/10*(a.seekableEnd-a.seekableStart)+a.seekableStart),h=!0);h&&this.Te.vp()}return h}; g.k.step=function(a){this.api.yh();if(g.QM(this.api.Gb())){var b=this.api.getVideoData().u;b&&(b=b.video)&&this.api.seekBy(a/(b.fps||30))}}; g.k.ra=function(){g.to(this.B);g.nG.prototype.ra.call(this)};g.v(g.ZT,g.T);g.ZT.prototype.Pq=aa(33); g.ZT.prototype.La=function(){var a=this.F.V(),b=a.B||this.F.K("web_player_hide_overflow_button_if_empty_menu")&&this.Bh.Cf(),c=g.oI(a)&&g.lR(this.F)&&g.S(this.F.Gb(),128),d=this.F.getPlayerSize(),e=a.K("shorts_mode_to_player_api")?this.F.Sb():this.j.Sb();this.visible=this.j.jh()&&!c&&240<=d.width&&!(this.F.getVideoData().D&&a.ea)&&!b&&!this.u&&!e;g.Co(this.element,"ytp-overflow-button-visible",this.visible);this.visible&&ET(this.tooltip);this.F.Ua(this.element,this.visible&&this.Aa)}; g.ZT.prototype.kc=function(a){g.T.prototype.kc.call(this,a);this.F.Ua(this.element,this.visible&&a)}; g.ZT.prototype.ra=function(){g.T.prototype.ra.call(this);g.Ao(this.element,"ytp-overflow-button-visible")};g.v($T,g.qR);g.k=$T.prototype;g.k.P_=function(a){a=cA(a);g.Ze(this.element,a)&&(g.Ze(this.j,a)||g.Ze(this.closeButton,a)||rR(this))}; g.k.Bb=function(){g.qR.prototype.Bb.call(this);this.tooltip.vk(this.element)}; g.k.show=function(){this.vb&&this.F.ma("OVERFLOW_PANEL_OPENED");g.qR.prototype.show.call(this);this.element.setAttribute("aria-modal","true");iNa(this,!0)}; g.k.hide=function(){g.qR.prototype.hide.call(this);this.element.removeAttribute("aria-modal");iNa(this,!1)}; g.k.onFullscreenToggled=function(a){!a&&this.dj()&&rR(this)}; g.k.Cf=function(){return 0===this.actionButtons.length}; g.k.focus=function(){for(var a=g.t(this.actionButtons),b=a.next();!b.done;b=a.next())if(b=b.value,b.vb){b.focus();break}};g.v(bU,g.T);bU.prototype.onClick=function(a){g.JS(a,this.api)&&this.api.playVideoAt(this.index)};g.v(cU,g.qR);g.k=cU.prototype;g.k.show=function(){g.qR.prototype.show.call(this);this.B.S(this.api,"videodatachange",this.mJ);this.B.S(this.api,"onPlaylistUpdate",this.mJ);this.mJ()}; g.k.hide=function(){g.qR.prototype.hide.call(this);g.mB(this.B);this.updatePlaylist(null)}; g.k.mJ=function(){this.updatePlaylist(this.api.getPlaylist());this.api.V().B&&(this.Da("ytp-playlist-menu-title-name").removeAttribute("href"),this.C&&(this.Hc(this.C),this.C=null))}; g.k.DH=function(){var a=this.playlist,b=a.author,c=b?"by $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH":"$CURRENT_POSITION/$PLAYLIST_LENGTH",d={CURRENT_POSITION:String(a.index+1),PLAYLIST_LENGTH:String(a.length)};b&&(d.AUTHOR=b);this.update({title:a.title,subtitle:g.sM(c,d),playlisturl:this.api.getVideoUrl(!0)});b=a.B;if(b===this.D)this.selected.element.setAttribute("aria-checked","false"),this.selected=this.j[a.index];else{c=g.t(this.j);for(d=c.next();!d.done;d=c.next())d.value.dispose();c=a.length; this.j=[];for(d=0;dthis.api.ib().getPlayerSize().width&&!a);(this.api.V().K("shorts_mode_to_player_api")?this.api.Sb():this.u.Sb())?this.hide():this.playlist&&2!==this.api.getPresentingPlayerType()?(this.update({text:g.sM("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.playlist.index+1),PLAYLIST_LENGTH:String(this.playlist.length)}),title:g.sM("Playlist: $PLAYLIST_NAME",{PLAYLIST_NAME:this.playlist.title})}), this.vb||(this.show(),ET(this.tooltip)),this.visible=!0,this.kc(!0)):this.vb&&this.hide()}; dU.prototype.kc=function(a){g.T.prototype.kc.call(this,a);this.api.Ua(this.element,this.visible&&a)}; dU.prototype.j=function(){this.playlist&&this.playlist.unsubscribe("shuffle",this.La,this);(this.playlist=this.api.getPlaylist())&&this.playlist.subscribe("shuffle",this.La,this);this.La()};g.v(eU,g.T);g.k=eU.prototype;g.k.R_=function(){this.C?gU(this):fU(this)}; g.k.Q_=function(){this.C?(hU(this),this.I=!0):fU(this)}; g.k.E4=function(){this.D=!0;this.CD(1);this.F.ma("promotooltipacceptbuttonclicked",this.acceptButton);hU(this);this.u&&this.F.ob(this.acceptButton)}; g.k.x5=function(){this.D=!0;this.CD(2);hU(this);this.u&&this.F.ob(this.dismissButton)}; g.k.S_=function(a){if(1===this.F.getPresentingPlayerType()||2===this.F.getPresentingPlayerType()&&this.T){var b=!0,c=g.He("ytp-ad-overlay-ad-info-dialog-container"),d=cA(a);if(this.B&&d&&g.Ze(this.B,d))this.B=null;else{1===this.F.getPresentingPlayerType()&&d&&Array.from(d.classList).forEach(function(l){l.startsWith("ytp-ad")&&(b=!1)}); var e=lNa(this.tooltipRenderer),f;if("TOOLTIP_DISMISS_TYPE_TAP_ANYWHERE"===(null==(f=this.tooltipRenderer.dismissStrategy)?void 0:f.type))e&&(b=b&&!g.Ze(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.Ze(this.element,d))}this.j&&this.vb&&!c&&(!d||b&&g.fP(a))&&(this.D=!0,hU(this))}}}; g.k.CD=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.K(d,e$a))?void 0:e.feedbackToken;d&&a&&(e={feedbackTokens:[a]},a=this.F.Hm(),(null==a?0:nGa(d,a.VK))&&wP(a,d,e))}}; g.k.Eb=function(){this.I||(this.j||(this.j=jNa(this)),gU(this))}; var kNa={"ytp-settings-button":g.rO()};g.v(iU,g.T);iU.prototype.onStateChange=function(a){this.vc(a.state)}; iU.prototype.vc=function(a){g.bO(this,g.S(a,2))}; iU.prototype.onClick=function(){this.F.Gb();this.F.playVideo()};g.v(g.jU,g.T);g.k=g.jU.prototype;g.k.Qq=aa(35);g.k.onClick=function(){var a=this,b=this.api.V(),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){nNa(a,f)})}catch(f){f instanceof Error&&nNa(this,f)}else this.j.El(),rR(this.B,this.element,!1); this.api.ob(this.element)}; g.k.showShareButton=function(a){var b=!0;if(this.api.K("embeds_web_enable_video_data_refactoring_player_overlay_renderer")){var c,d,e=null==(c=a.kf)?void 0:null==(d=c.embedPreview)?void 0:d.thumbnailPreviewRenderer;e&&(b=!!e.shareButton);var f,h;(c=null==(f=a.jd)?void 0:null==(h=f.playerOverlays)?void 0:h.playerOverlayRenderer)&&(b=!!c.shareButton);var l,m,n,p;if(null==(p=g.K(null==(l=a.jd)?void 0:null==(m=l.contents)?void 0:null==(n=m.twoColumnWatchNextResults)?void 0:n.desktopOverlay,vK))?0:p.suppressShareButton)b= !1}else b=a.showShareButton;return b}; g.k.La=function(){var a=this.api.V(),b=a.K("shorts_mode_to_player_api")?this.api.Sb():this.j.Sb();g.Co(this.element,"ytp-show-share-title",g.oI(a)&&!g.xI(a)&&!b);this.j.og()&&b?(a=(this.api.ib().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.Jl(this.element,"right",a+"px")):b&&g.Jl(this.element,"right","0px");this.updateValue("icon",{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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=mNa(this);g.Co(this.element,"ytp-share-button-visible",this.visible);g.bO(this,this.visible);ET(this.tooltip);this.api.Ua(this.element,mNa(this)&&this.Aa)}; g.k.kc=function(a){g.T.prototype.kc.call(this,a);this.api.Ua(this.element,this.visible&&a)}; g.k.ra=function(){g.T.prototype.ra.call(this);g.Ao(this.element,"ytp-share-button-visible")};g.v(g.kU,g.qR);g.k=g.kU.prototype;g.k.T_=function(a){a=cA(a);g.Ze(this.D,a)||g.Ze(this.closeButton,a)||rR(this)}; g.k.Bb=function(){g.qR.prototype.Bb.call(this);this.tooltip.vk(this.element);this.api.Ua(this.j,!1);for(var a=g.t(this.B),b=a.next();!b.done;b=a.next())b=b.value,this.api.Dk(b.element)&&this.api.Ua(b.element,!1)}; g.k.show=function(){var a=this.vb;g.qR.prototype.show.call(this);this.La();a||this.api.Na("onSharePanelOpened")}; g.k.b4=function(){this.vb&&this.La()}; g.k.La=function(){var a=this;g.yo(this.element,"ytp-share-panel-loading");g.Ao(this.element,"ytp-share-panel-fail");var b=this.api.getVideoData(),c=this.api.getPlaylistId()&&this.C.checked;b.getSharePanelCommand&&wP(this.api.Hm(),b.getSharePanelCommand,{includeListId:c}).then(function(d){a.isDisposed()||(g.Ao(a.element,"ytp-share-panel-loading"),qNa(a,d))}); b=this.api.getVideoUrl(!0,!0,!1,!1);g.xI(this.api.V())&&(b=g.ri(b,g.tQ({},"emb_share")));this.updateValue("link",b);this.updateValue("linkText",b);this.updateValue("shareLinkWithUrl",g.sM("Share link $URL",{URL:b}));MS(this.j);this.api.Ua(this.j,!0)}; g.k.onFullscreenToggled=function(a){!a&&this.dj()&&rR(this)}; g.k.focus=function(){this.j.focus()}; g.k.ra=function(){g.qR.prototype.ra.call(this);pNa(this)};g.v(rNa,KT);g.k=rNa.prototype;g.k.ra=function(){sNa(this);KT.prototype.ra.call(this)}; g.k.KG=function(a){a.target!==this.dismissButton.element&&(LT(this,!1),this.F.Na("innertubeCommand",this.onClickCommand))}; g.k.KC=function(){this.ea=!0;LT(this,!0);this.bk()}; g.k.k6=function(a){this.Ja=a;this.bk()}; g.k.d6=function(a){var b=this.F.getVideoData();b&&b.videoId===this.videoId&&this.Fa&&(this.T=a,a||(a=3+this.F.getCurrentTime(),this.Be(a)))}; g.k.onVideoDataChange=function(a,b){if(a=!!b.videoId&&this.videoId!==b.videoId)this.videoId=b.videoId,this.ea=!1,this.u=!0,this.T=this.Fa=this.I=this.D=!1,sNa(this);if(a||!b.videoId)this.B=this.j=!1;var c,d,e;a=b.K("embeds_web_enable_video_data_refactoring_player_overlay_renderer")?g.K(null==(c=b.jd)?void 0:null==(d=c.playerOverlays)?void 0:null==(e=d.playerOverlayRenderer)?void 0:e.productsInVideoOverlayRenderer,DBa):b.shoppingOverlayRenderer;this.Ja=this.enabled=!1;if(a){this.enabled=!0;if(!this.j){var f; c=null==(f=a.badgeInteractionLogging)?void 0:f.trackingParams;(this.j=!!c)&&this.F.Lg(this.badge.element,c||null)}if(!this.B){var h;if(this.B=!(null==(h=a.dismissButton)||!h.trackingParams)){var l;this.F.Lg(this.dismissButton.element,(null==(l=a.dismissButton)?void 0:l.trackingParams)||null)}}this.text=g.uC(a.text);var m;if(f=null==(m=a.dismissButton)?void 0:m.a11yLabel)this.Za=g.uC(f);this.onClickCommand=a.onClickCommand;this.timing=a.timing;JK(b)?this.T=this.Fa=!0:this.Be()}UMa(this);JT(this);this.bk()}; g.k.Jz=function(){return!this.Ja&&this.enabled&&!this.ea&&!this.jb.jh()&&!this.Ta&&!this.T&&(this.I||this.u)}; g.k.Ig=function(a){(this.I=a)?(IT(this),JT(this,!1)):(sNa(this),this.Y.start());this.bk()}; g.k.Be=function(a){a=void 0===a?0:a;var b=[],c=this.timing.visible,d=this.timing.expanded;c&&b.push(new g.kC(1E3*(c.startSec+a),1E3*(c.endSec+a),{priority:9,namespace:"shopping_overlay_visible"}));d&&b.push(new g.kC(1E3*(d.startSec+a),1E3*(d.endSec+a),{priority:9,namespace:"shopping_overlay_expanded"}));this.F.Be(b)};g.v(uNa,g.T); uNa.prototype.La=function(){var a=this.api.V(),b=a.K("shorts_mode_to_player_api")?this.api.Sb():this.u.Sb();g.bO(this,g.oI(a)&&b);this.subscribeButton&&this.api.Ua(this.subscribeButton.element,this.vb);b=this.api.getVideoData();var c=!1;2===this.api.getPresentingPlayerType()?c=!!b.videoId&&!!b.isListed&&!!b.author&&!!b.tb&&!!b.profilePicture:g.oI(a)&&(c=!!b.videoId&&!!b.tb&&!!b.profilePicture&&!(b.D&&a.ea)&&!a.B&&!(a.J&&200>this.api.getPlayerSize().width));var d=g.VI(this.api.V())+b.tb;g.oI(a)&&(d= vNa(this,d));var e=b.tb,f=b.profilePicture;a=g.oI(a)?b.Zg:b.author;e=void 0===e?"":e;f=void 0===f?"":f;a=void 0===a?"":a;if(c){var h=this.api.V();e=g.VI(h)+e;g.oI(h)&&(e=vNa(this,e));this.B!==f&&(this.j.style.backgroundImage="url("+f+")",this.B=f);this.updateValue("channelLink",e);this.updateValue("channelLogoLabel",g.sM("Photo image of $CHANNEL_NAME",{CHANNEL_NAME:a}));g.yo(this.api.getRootNode(),"ytp-title-enable-channel-logo")}else g.Ao(this.api.getRootNode(),"ytp-title-enable-channel-logo");this.api.Ua(this.j, c&&this.Aa);this.subscribeButton&&(this.subscribeButton.channelId=b.dk);this.updateValue("expandedTitle",b.Zg);this.updateValue("channelTitleLink",d)};g.v(lU,g.qR);lU.prototype.show=function(){g.qR.prototype.show.call(this);this.j.start()}; lU.prototype.hide=function(){g.qR.prototype.hide.call(this);this.j.stop()}; lU.prototype.Cs=function(a,b){"dataloaded"===a&&((this.ah=b.ah,this.gf=b.gf,isNaN(this.ah)||isNaN(this.gf))?this.B&&(this.F.Gf("intro"),this.F.removeEventListener(g.mC("intro"),this.I),this.F.removeEventListener(g.nC("intro"),this.D),this.F.removeEventListener("onShowControls",this.C),this.hide(),this.B=!1):(this.F.addEventListener(g.mC("intro"),this.I),this.F.addEventListener(g.nC("intro"),this.D),this.F.addEventListener("onShowControls",this.C),a=new g.kC(this.ah,this.gf,{priority:9,namespace:"intro"}), this.F.Be([a]),this.B=!0))};g.v(g.nU,g.rC);g.k=g.nU.prototype;g.k.S=function(a,b){this.C.S(this.T,a,b,void 0,!this.j)}; g.k.cancel=function(){this.B&&(this.B=!1,this.ma("dragend",0,0,null));this.u&&(this.u=!1,this.ma("hoverend",0,0,null),oU(this),mU(this))}; g.k.vv=function(a){oU(this);this.S(pU("move"),this.fR);this.S(pU("out"),this.Wy);this.S("touchstart",this.oJ);this.j&&this.S(pU("down"),this.nJ);var b=g.bA(a);a=eA(a);this.u=!0;this.ma("hoverstart",a.x,a.y,b);this.ma("hovermove",a.x,a.y,b)}; g.k.fR=function(a){var b=g.bA(a);a=eA(a);if(this.D){var c=this.D;this.D=null;if(dA(c)===b&&ne(eA(c),a))return}this.ma("hovermove",a.x,a.y,b)}; g.k.Wy=function(a){var b=eA(a),c=dA(a);try{if(c&&g.Ze(this.target,c)){this.D=a;this.ma("hovermove",b.x,b.y,c);return}}catch(d){}oU(this);mU(this);this.u=!1;this.ma("hoverend",b.x,b.y,c)}; g.k.v4=function(a){this.vv(a);this.nJ(a)}; g.k.nJ=function(a){if("number"!==typeof a.button||0===a.button){oU(this);this.C.S(document,pU("move"),this.u4);this.C.S(document,pU("up"),this.U_);var b=g.bA(a);if(g.Bc)this.S("dragstart",this.b2);else if(g.fA(a),(g.QI||Kl)&&b)a:{for(var c=b;c;){if(af(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}document.activeElement.blur()}this.B=!0;a=eA(a);this.ma("dragstart",a.x,a.y,b);this.ma("dragmove",a.x,a.y,b)}}; g.k.b2=function(a){g.fA(a)}; g.k.u4=function(a){var b=g.bA(a);b===document&&(b=null);a=eA(a);this.ma("hovermove",a.x,a.y,b);this.ma("dragmove",a.x,a.y,b)}; g.k.U_=function(a){oU(this);this.B=!1;var b=cA(a),c=g.bA(a);a=eA(a);b&&g.Ze(this.target,b)?(this.S(pU("move"),this.fR),this.S(pU("out"),this.Wy),this.S(pU("down"),this.nJ),this.S("touchstart",this.oJ),this.ma("dragend",a.x,a.y,c)):(mU(this),this.u=!1,this.ma("dragend",a.x,a.y,c),this.ma("hoverend",a.x,a.y,c))}; g.k.oJ=function(a){var b=a.changedTouches[0];b&&(oU(this),this.S("touchmove",this.W8),this.S("touchend",this.gR),this.S("touchcancel",this.gR),this.I=b.identifier,a=g.bA(a),this.u||(this.u=!0,this.ma("hoverstart",b.pageX,b.pageY,a)),this.ma("hovermove",b.pageX,b.pageY,a),this.j&&(this.B=!0,this.ma("dragstart",b.pageX,b.pageY,a),this.ma("dragmove",b.pageX,b.pageY,a)))}; g.k.W8=function(a){var b=wNa(this,a);b&&(this.j&&g.fA(a),a=g.bA(a),this.ma("hovermove",b.pageX,b.pageY,a),this.j&&this.ma("dragmove",b.pageX,b.pageY,a))}; g.k.gR=function(a){var b=wNa(this,a);if(b){oU(this);mU(this);this.u=!1;var c=g.bA(a);this.j&&(this.J||g.fA(a),this.B=!1,this.ma("dragend",b.pageX,b.pageY,c));this.ma("hoverend",b.pageX,b.pageY,c)}}; g.k.ra=function(){this.j&&(g.Bc&&this.target.removeAttribute("draggable"),this.target.style.touchAction="");oU(this);g.rC.prototype.ra.call(this)};g.v(qU,g.T);qU.prototype.onClick=function(){this.F.xt()}; qU.prototype.La=function(){var a=!0;g.oI(this.F.V())&&(a=a&&480<=this.F.ib().getPlayerSize().width);g.bO(this,a);this.updateValue("icon",this.F.wh()?{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!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"}}]}: {G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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"}}]})};new by("yt.autonav");g.v(yNa,g.T);g.k=yNa.prototype; g.k.FA=function(){var a;if(a=3!==this.F.getPresentingPlayerType()&&g.pR(this.F)&&400<=this.F.ib().getPlayerSize().width){a=this.Kd();if(this.F.V().K("client_respect_autoplay_switch_button_renderer"))var b=!!a.autoplaySwitchButtonRenderer;else{if(this.F.K("embeds_web_enable_video_data_refactoring_player_overlay_renderer")){var c=!1;var d,e,f;if(null==(b=a.jd)?0:null==(d=b.contents)?0:null==(e=d.twoColumnWatchNextResults)?0:null==(f=e.autoplay)?0:f.autoplay)c=!0}else c=a.w0;b=!1!==c}a=b}if(a)this.j|| (this.j=!0,g.bO(this,this.j),this.F.V().K("web_player_autonav_toggle_always_listen")||xNa(this),b=this.Kd(),this.hR(b.autonavState),this.F.Ua(this.element,this.j));else if(this.j=!1,g.bO(this,this.j),!this.F.V().K("web_player_autonav_toggle_always_listen"))for(this.F.V().K("web_player_autonav_toggle_always_listen"),b=g.t(this.u),d=b.next();!d.done;d=b.next())this.Hc(d.value)}; g.k.hR=function(a){ANa(this)?this.isChecked=1!==a:((a=1!==a)||(g.Mx(),a=g.vw("web_autonav_allow_off_by_default")&&!g.Nx(0,141)&&g.tw("AUTONAV_OFF_BY_DEFAULT")?!1:!g.Nx(0,140)),this.isChecked=a);zNa(this)}; g.k.onClick=function(){this.isChecked=!this.isChecked;this.F.BH(this.isChecked?2:1);zNa(this);if(ANa(this)){var a=this.Kd().autoplaySwitchButtonRenderer;this.isChecked&&(null==a?0:a.onEnabledCommand)?this.F.Na("innertubeCommand",a.onEnabledCommand):!this.isChecked&&(null==a?0:a.onDisabledCommand)&&this.F.Na("innertubeCommand",a.onDisabledCommand)}this.F.ob(this.element)}; g.k.getValue=function(){return this.isChecked}; g.k.Kd=function(){return this.F.getVideoData(1)};g.v(g.sU,g.T);g.sU.prototype.ra=function(){this.j=null;g.T.prototype.ra.call(this)};g.v(tU,g.T);tU.prototype.onClick=function(){this.F.Na("innertubeCommand",this.j)}; tU.prototype.J=function(a){a!==this.D&&(this.update({title:a}),this.D=a);a?this.show():this.hide()}; tU.prototype.I=function(){this.B.disabled=null==this.j;g.Co(this.B,"ytp-chapter-container-disabled",this.B.disabled);this.yc()};g.v(uU,tU);uU.prototype.onClickCommand=function(a){g.K(a,zK)&&this.yc()}; uU.prototype.updateVideoData=function(a,b){var c;if(b.K("embeds_web_enable_video_data_refactoring_offline_and_progress_bar")){var d,e;a=g.K(null==(c=b.jd)?void 0:null==(d=c.playerOverlays)?void 0:null==(e=d.playerOverlayRenderer)?void 0:e.decoratedPlayerBarRenderer,PJ);c=g.K(null==a?void 0:a.playerBarActionButton,g.uK)}else c=b.J0;var f;this.j=null==(f=c)?void 0:f.command;tU.prototype.I.call(this)}; uU.prototype.yc=function(){var a="",b=this.C.j,c,d="clips"===(null==(c=this.F.getLoopRange())?void 0:c.type);if(1d!==a>b){var e=c;c=d;d=e}a>c&&b>d&&this.lN()}}; g.k.disable=function(){var a=this;if(!this.message){var b=(null!=Xz(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK":"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK").split(/\$(BEGIN|END)_LINK/);this.message=new g.qR(this.F,{G:"div",Ia:["ytp-popup","ytp-generic-popup"],X:{role:"alert",tabindex:"0"},W:[b[0],{G:"a",X:{href:"https://web.archive.org/web/20230406005043/https://support.google.com/youtube/answer/6276924", target:this.F.V().Y},qa:b[2]},b[4]]},100,!0);this.message.hide();g.D(this,this.message);this.message.subscribe("show",function(c){a.u.Vx(a.message,c)}); g.oR(this.F,this.message.element,4);this.element.setAttribute("aria-disabled","true");this.element.setAttribute("aria-haspopup","true");(0,this.j)();this.j=null}}; g.k.La=function(){var a=hMa(this.F),b=this.F.V().J&&250>this.F.getPlayerSize().width;g.bO(this,a&&!b);this.F.Ua(this.element,this.vb)}; g.k.Vl=function(a){if(a){var b={G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"g",N:"ytp-fullscreen-button-corner-2",W:[{G:"path",Xb:!0,N:"ytp-svg-fill",X:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{G:"g",N:"ytp-fullscreen-button-corner-3",W:[{G:"path",Xb:!0,N:"ytp-svg-fill",X:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{G:"g",N:"ytp-fullscreen-button-corner-0",W:[{G:"path",Xb:!0,N:"ytp-svg-fill",X:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{G:"g", N:"ytp-fullscreen-button-corner-1",W:[{G:"path",Xb:!0,N:"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.NS(this.F,"Exit full screen","f");this.update({"data-title-no-tooltip":"Exit full screen"});document.activeElement===this.element&&this.F.getRootNode().focus();this.F.K("html5_exit_pip_on_fullscreen")&&document.u&&document.j().catch(function(c){g.QB(c)})}else b={G:"svg", X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},W:[{G:"g",N:"ytp-fullscreen-button-corner-0",W:[{G:"path",Xb:!0,N:"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"}}]},{G:"g",N:"ytp-fullscreen-button-corner-1",W:[{G:"path",Xb:!0,N:"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"}}]},{G:"g",N:"ytp-fullscreen-button-corner-2",W:[{G:"path",Xb:!0,N:"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"}}]},{G:"g",N:"ytp-fullscreen-button-corner-3", W:[{G:"path",Xb:!0,N:"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.NS(this.F,"Full screen","f"),this.update({"data-title-no-tooltip":"Full screen"});a=this.message?null:a;this.update({title:a,icon:b});ET(this.u.Dc())}; g.k.ra=function(){this.message||((0,this.j)(),this.j=null);g.T.prototype.ra.call(this)};g.v(xU,g.T);xU.prototype.onClick=function(){this.F.ob(this.element);this.F.seekBy(this.j,!0);null!=this.C.Hu&>(this.C.Hu,0this.j&&a.push("backwards");this.element.classList.add.apply(this.element.classList,g.u(a));g.ro(this.u)}};g.v(yU,tU);yU.prototype.onClickCommand=function(a){g.K(a,iab)&&this.yc()}; yU.prototype.updateVideoData=function(){var a,b;this.j=null==(a=FNa(this))?void 0:null==(b=a.onTap)?void 0:b.innertubeCommand;tU.prototype.I.call(this)}; yU.prototype.yc=function(){var a="",b=this.C.T,c,d=null==(c=FNa(this))?void 0:c.headerTitle;c=d?g.uC(d):"";var e;d="clips"===(null==(e=this.F.getLoopRange())?void 0:e.type);1a&&this.delay.start()}; var Zbb=new Po(0,0,.4,0,.2,1,1,1),MNa=/[0-9.-]+|[^0-9.-]+/g;g.v(g.CU,g.T);g.k=g.CU.prototype;g.k.iR=function(a){this.visible=300<=a.width||this.Fa;g.bO(this,this.visible);this.F.Ua(this.element,this.visible&&this.Aa)}; g.k.V5=function(){this.F.V().Za?this.F.isMuted()?this.F.unMute():this.F.mute():rR(this.message,this.element,!0);this.F.ob(this.element)}; g.k.onVolumeChange=function(a){this.setVolume(a.volume,a.muted)}; g.k.setVolume=function(a,b){var c=this,d=b?0:a/100,e=this.F.V();a=0===d?1:50=bOa(this)){this.api.seekTo(a,!1);g.Jl(this.B,"transform","translateX("+this.u+"px)");var b=g.eP(a),c=g.sM("Seek to $PROGRESS",{PROGRESS:g.eP(a,!0)});this.update({ariamin:0,ariamax:Math.floor(this.api.getDuration()),arianow:Math.floor(a),arianowtext:c,seekTime:b})}else this.u=this.J}; g.k.W_=function(){var a=300>(0,g.M)()-this.Ja;if(5>Math.abs(this.T)&&!a){this.Ja=(0,g.M)();a=this.Y+this.T;var b=this.C/2-a;this.rJ(a);this.qJ(a+b);YNa(this);this.api.ob(this.B)}YNa(this)}; g.k.gz=function(){FU(this,this.api.getCurrentTime())}; g.k.play=function(a){this.api.seekTo(cOa(this,this.u));this.api.playVideo();a&&this.api.ob(this.playButton)}; g.k.Eb=function(a,b){this.Fa=a;this.C=b;FU(this,this.api.getCurrentTime())}; g.k.enable=function(){this.isEnabled||(this.isEnabled=!0,this.Ma=this.api.getCurrentTime(),g.Co(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled),this.ya=this.S(this.element,"wheel",this.X_),this.Ua(this.isEnabled))}; g.k.disable=function(){this.isEnabled=!1;this.hide();g.Co(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled);this.ya&&this.Hc(this.ya);this.Ua(this.isEnabled)}; g.k.reset=function(){this.disable();this.D=[];this.oa=!1}; g.k.Ua=function(a){this.api.Ua(this.element,a);this.api.Ua(this.B,a);this.api.Ua(this.dismissButton,a);this.api.Ua(this.playButton,a)}; g.k.ra=function(){for(;this.j.length;){var a=void 0;null==(a=this.j.pop())||a.dispose()}g.T.prototype.ra.call(this)}; g.v(ZNa,g.T);g.v($Na,g.T);g.v(fOa,g.T);g.v(GU,g.T);GU.prototype.xb=function(a){return"PLAY_PROGRESS"===a?this.I:"LOAD_PROGRESS"===a?this.D:"LIVE_BUFFER"===a?this.C:this.u};hOa.prototype.update=function(a,b,c,d){this.width=b;this.u=c;this.C=d;this.j=b-c-d;this.position=g.ie(a,c,c+this.j);this.B=this.position-c;this.fraction=this.B/this.j};g.v(iOa,g.T);g.v(g.JU,g.dO);g.k=g.JU.prototype; g.k.eY=function(){var a=!1,b=this.api.getVideoData();if(!b)return a;this.api.Gf("timedMarkerCueRange");lOa(this);for(var c=g.t(b.pe),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=this.Od[d])?void 0:e.markers;if(f){a=g.t(f);for(e=a.next();!e.done;e=a.next()){f=e.value;e=new iOa;var h=void 0;e.title=(null==(h=f.title)?void 0:h.simpleText)||"";e.timeRangeStartMillis=Number(f.startMillis);e.j=Number(f.durationMillis);var l=h=void 0;e.onActiveCommand=null!=(l=null==(h=f.onActive)?void 0: h.innertubeCommand)?l:void 0;qOa(this,e)}rOa(this,this.T);a=this.T;e=this.xf;f=[];h=null;for(l=0;lm&&(h.end=m);m=dNa(m,m+p);f.push(m);h=m;e[m.id]=a[l].onActiveCommand}}this.api.Be(f);this.Yg=this.Od[d];a=!0}}b.ZP=this.T;g.Co(this.element,"ytp-timed-markers-enabled",a);return a}; g.k.Eb=function(){g.KU(this);MU(this);rOa(this,this.T);if(this.u){var a=g.Rl(this.element).x||0;this.u.Eb(a,this.D)}}; g.k.onClickCommand=function(a){if(a=g.K(a,zK)){var b=a.key;a.isVisible&&b&&vOa(this,b)}}; g.k.i7=function(a){this.api.Na("innertubeCommand",this.xf[a.id])}; g.k.yc=function(){MU(this);var a=this.api.getCurrentTime();(athis.clipEnd)&&this.vH()}; g.k.Z_=function(a){if(!g.gA(a)){var b=!1;switch(g.hA(a)){case 36:this.api.seekTo(0);b=!0;break;case 35:this.api.seekTo(Infinity);b=!0;break;case 34:this.api.seekBy(-60);b=!0;break;case 33:this.api.seekBy(60);b=!0;break;case 38:this.api.seekBy(5);b=!0;break;case 40:this.api.seekBy(-5),b=!0}b&&g.fA(a)}}; g.k.Cs=function(a,b){this.updateVideoData(b,"newdata"===a)}; g.k.f3=function(){this.Cs("newdata",this.api.getVideoData())}; g.k.updateVideoData=function(a,b){b=void 0===b?!1:b;var c=!!a&&a.Ee();c&&(hL(a)||BOa(this)?this.Bd=!1:this.Bd=a.allowLiveDvr,g.Co(this.api.getRootNode(),"ytp-enable-live-buffer",!(null==a||!hL(a))));MOa(this,this.api.yh());if(b){if(c){b=a.clipEnd;this.clipStart=a.clipStart;this.clipEnd=b;RU(this);for(NU(this,this.oa,this.pc);0m&&(c=m,b=-this.Fa,m=lP(this.B,m)*LU(this).j+b,a.position=m), b=this.B.u;BOa(this)&&(b=this.B.u);m=f||g.eP(this.Bd?c-this.B.j:c-b);b=a.position+this.dh;c-=this.api.Md();var n;if(null==(n=this.u)||!n.isEnabled)if(this.api.Hj()){if(1=n);d=this.tooltip.scale;l=(isNaN(l)?0:l)-45*d;this.api.K("web_key_moments_markers")?this.Yg?(n=aNa(this.T,1E3*c),n=null!=n?this.T[n].title:""):(n=TT(this.j,1E3*c),n=this.j[n].title):(n=TT(this.j,1E3*c),n=this.j[n].title);n||(l+=16*d);.6===this.tooltip.scale&&(l=n?110:126);d=TT(this.j,1E3*c);this.kb=DOa(this,c,d)?d:DOa(this,c,d+1)?d+1:-1;g.Co(this.api.getRootNode(),"ytp-progress-bar-snap",-1!==this.kb&& 1=h.visibleTimeRangeStartMillis&&p<=h.visibleTimeRangeEndMillis&&(n=h.label,m=g.eP(h.decorationTimeMillis/1E3),d=!0)}this.gf!==d&&(this.gf=d,this.api.Ua(this.df,this.gf));g.Co(this.api.getRootNode(),"ytp-progress-bar-decoration",d);d=320*this.tooltip.scale;e=n.length*(this.C?8.55:5.7);e=e<=d?e:d;h=e<160*this.tooltip.scale;d=3;!h&&e/2>a.position&&(d=1);!h&&e/2>this.D-a.position&&(d=2); this.api.V().J&&(l-=10);this.I.length&&this.I[0].Ee&&(l-=14*(this.C?2:1),this.Ra||(this.Ra=!0,this.api.Ua(this.ya,this.Ra)));var q;if(IU(this)&&((null==(q=this.u)?0:q.isEnabled)||0=.5*b?(this.u.enable(),FU(this.u,this.api.getCurrentTime()),LOa(this,b)):XU(this)}else if(this.wd=0,g.Ao(this.element,"ytp-pull-ui"),g.Ao(this.element,"ytp-pulling"),this.J&&(this.J.dispose(),this.J=null),0l||1l&&a.J.start();a.Ta&&(a.Ta=!1,a.api.Ua(a.tb,a.Ta))}); this.J.start()}if(g.S(this.api.Gb(),32)||3===this.api.getPresentingPlayerType()){var d;if(null==(d=this.u)?0:d.isEnabled)this.api.pauseVideo();else{this.api.startSeekCsiAction();if(1=e.visibleTimeRangeStartMillis&&1E3*b<=e.visibleTimeRangeEndMillis&&this.api.ob(this.df)}g.Ao(this.element,"ytp-drag"); this.If&&!g.S(this.api.Gb(),2)&&this.api.playVideo()}}}; g.k.p6=function(a,b){var c=this,d=!1,e=!1;a=LU(this);1===this.j.length&&!FOa(this)&&3600<=jP(this.B)&&(EOa(this,this.uf-b-10,a.position,a.fraction),e=!0,d=this.Y>.1*(this.C?60:40),a=LU(this));g.Co(this.element,"ytp-pull-ui",e);d&&g.yo(this.element,"ytp-pulling");d=0;a.u&&0>=a.position?d=-1:a.C&&a.position>=a.width&&(d=1);if(this.wd!==d&&(this.wd=d,this.J&&(this.J.dispose(),this.J=null),d)){var f=(0,g.M)();this.J=new g.oo(function(){var l=c.D*(c.jb-1);c.Fa=g.ie(c.Fa+c.wd*((0,g.M)()-f)*.3,0,l);OU(c); c.api.seekTo(QU(c,LU(c)),!1);0=this.Dd.Fj()&&this.hide();this.Dd.wg(a);a=this.Kq;a.u=0=c;g.bO(this,a);this.F.Ua(this.element,a)}; dV.prototype.B=function(){if(this.ub.vb)this.ub.Bb();else{var a=g.tS(this.F.wb());a&&!a.loaded&&(a.qh("tracklist",{includeAsr:!0}).length||a.load());this.F.ob(this.element);this.ub.Sc(this.element)}}; dV.prototype.updateBadge=function(){var a=this.F.isHdr(),b=this.F.getPresentingPlayerType(),c=2!==b&&3!==b,d=g.nR(this.F),e=c&&!!g.mR(this.F.wb());b=e&&1===d.displayMode;d=e&&2===d.displayMode;c=(e=b||d)||!c?null:this.F.getPlaybackQuality();g.Co(this.element,"ytp-hdr-quality-badge",a);g.Co(this.element,"ytp-hd-quality-badge",!a&&("hd1080"===c||"hd1440"===c));g.Co(this.element,"ytp-4k-quality-badge",!a&&"hd2160"===c);g.Co(this.element,"ytp-5k-quality-badge",!a&&"hd2880"===c);g.Co(this.element,"ytp-8k-quality-badge", !a&&"highres"===c);g.Co(this.element,"ytp-3d-badge-grey",!a&&e&&b);g.Co(this.element,"ytp-3d-badge",!a&&e&&d)};g.v(eV,BR);eV.prototype.isLoaded=function(){var a=g.CS(this.F.wb());return void 0!==a&&a.loaded}; eV.prototype.La=function(){void 0!==g.CS(this.F.wb())&&3!==this.F.getPresentingPlayerType()?this.j||(this.ub.Kc(this),this.j=!0):this.j&&(this.ub.wg(this),this.j=!1);CR(this,this.isLoaded())}; eV.prototype.onSelect=function(a){this.isLoaded();a?this.F.loadModule("annotations_module"):this.F.unloadModule("annotations_module");this.F.ma("annotationvisibility",a)}; eV.prototype.ra=function(){this.j&&this.ub.wg(this);BR.prototype.ra.call(this)};g.v(g.fV,g.tR);g.k=g.fV.prototype;g.k.open=function(){g.wT(this.ub,this.u)}; g.k.xj=function(a){ROa(this);this.options[a].element.setAttribute("aria-checked","true");this.le(this.jk(a));this.B=a}; g.k.lK=function(a,b,c){var d=this;b=new g.tR({G:"div",Ia:["ytp-menuitem"],X:{tabindex:"0",role:"menuitemradio","aria-checked":c?"true":void 0},W:[{G:"div",Ia:["ytp-menuitem-label"],qa:"{{label}}"}]},b,this.jk(a,!0));b.Qa("click",function(){d.Xg(a)}); return b}; g.k.enable=function(a){this.I?a||(this.I=!1,this.Vw(!1)):a&&(this.I=!0,this.Vw(!0))}; g.k.Vw=function(a){a?this.ub.Kc(this):this.ub.wg(this)}; g.k.Xg=function(a){this.ma("select",a)}; g.k.jk=function(a){return a.toString()}; g.k.b0=function(a){g.gA(a)||39!==g.hA(a)||(this.open(),g.fA(a))}; g.k.ra=function(){this.I&&this.ub.wg(this);g.tR.prototype.ra.call(this);for(var a=g.t(Object.keys(this.options)),b=a.next();!b.done;b=a.next())this.options[b.value].dispose()};g.v(hV,g.fV);hV.prototype.La=function(){var a=this.F.getAvailableAudioTracks();1(a.deltaX||-a.deltaY)?-this.J:this.J;this.Vv(b);g.fA(a)}; g.k.e0=function(a){a=(a-g.Rl(this.B).x)/this.Y*this.range+this.u;this.Vv(a)}; g.k.Vv=function(a,b){b=void 0===b?"":b;a=g.ie(a,this.u,this.C);""===b&&(b=a.toString());this.updateValue("valuenow",a);this.updateValue("valuetext",b);this.ea.style.left=(a-this.u)/this.range*(this.Y-this.ya)+"px";this.j=a}; g.k.focus=function(){this.Fa.focus()};g.v(pV,oV);pV.prototype.oa=function(){this.F.setPlaybackRate(this.j,!0)}; pV.prototype.Vv=function(a){oV.prototype.Vv.call(this,a,YOa(this,a).toString());this.D&&(XOa(this),this.Ja())}; pV.prototype.updateValues=function(){var a=this.F.getPlaybackRate();YOa(this,this.j)!==a&&(this.Vv(a),XOa(this))};g.v(ZOa,g.dO);ZOa.prototype.focus=function(){this.j.focus()};g.v($Oa,pT);g.v(aPa,g.fV);g.k=aPa.prototype;g.k.jk=function(a){return"1"===a?"Normal":a.toLocaleString()}; g.k.La=function(){var a=this.F.getPresentingPlayerType();this.enable(2!==a&&3!==a);ePa(this)}; g.k.Vw=function(a){g.fV.prototype.Vw.call(this,a);a?(this.J=this.S(this.F,"onPlaybackRateChange",this.onPlaybackRateChange),ePa(this),cPa(this,this.F.getPlaybackRate())):(this.Hc(this.J),this.J=null)}; g.k.onPlaybackRateChange=function(a){var b=this.F.getPlaybackRate();this.D.includes(b)||dPa(this,b);cPa(this,a)}; g.k.Xg=function(a){g.fV.prototype.Xg.call(this,a);a===this.j?this.F.setPlaybackRate(this.C,!0):this.F.setPlaybackRate(Number(a),!0);this.ub.mj()};g.v(gPa,g.fV);g.k=gPa.prototype;g.k.xj=function(a){g.fV.prototype.xj.call(this,a)}; g.k.getKey=function(a){return a.option.toString()}; g.k.getOption=function(a){return this.settings[a]}; g.k.jk=function(a){return this.getOption(a).text||""}; g.k.Xg=function(a){g.fV.prototype.Xg.call(this,a);this.ma("settingChange",this.J,this.settings[a].option)};g.v(qV,g.qT);qV.prototype.Wg=function(a){for(var b=g.t(Object.keys(a)),c=b.next();!c.done;c=b.next()){var d=c.value;if(c=this.Ss[d]){var e=a[d].toString();d=!!a[d+"Override"];c.options[e]&&(c.xj(e),c.C.element.setAttribute("aria-checked",String(!d)),c.j.element.setAttribute("aria-checked",String(d)))}}}; qV.prototype.Pj=function(a,b){this.ma("settingChange",a,b)};g.v(rV,g.fV);rV.prototype.getKey=function(a){return a.languageCode}; rV.prototype.jk=function(a){return this.languages[a].languageName||""}; rV.prototype.Xg=function(a){this.ma("select",a);this.F.ob(this.element);g.AT(this.ub)};g.v(jPa,g.fV);g.k=jPa.prototype;g.k.getKey=function(a){return g.Rc(a)?"__off__":a.displayName}; g.k.jk=function(a){return"__off__"===a?"Off":"__translate__"===a?"Auto-translate":"__contribute__"===a?"Add subtitles/CC":"__correction__"===a?"Suggest caption corrections":("__off__"===a?{}:this.tracks[a]).displayName}; g.k.Xg=function(a){if("__translate__"===a)this.j.open();else if("__contribute__"===a){this.F.pauseVideo();this.F.isFullscreen()&&this.F.toggleFullscreen();var b=g.sQ(this.F.V(),this.F.getVideoData());g.PL(b)}else if("__correction__"===a){this.F.pauseVideo();this.F.isFullscreen()&&this.F.toggleFullscreen();var c=kPa(this);sV(this,c);g.fV.prototype.Xg.call(this,this.getKey(c));var d,e;c=null==(b=this.F.getVideoData().getPlayerResponse())?void 0:null==(d=b.captions)?void 0:null==(e=d.playerCaptionsTracklistRenderer)? void 0:e.openTranscriptCommand;this.F.Na("innertubeCommand",c);this.ub.mj();this.C&&this.F.ob(this.C)}else{if("__correction__"===a){this.F.pauseVideo();this.F.isFullscreen()&&this.F.toggleFullscreen();b=kPa(this);sV(this,b);g.fV.prototype.Xg.call(this,this.getKey(b));var f,h;b=null==(c=this.F.getVideoData().getPlayerResponse())?void 0:null==(f=c.captions)?void 0:null==(h=f.playerCaptionsTracklistRenderer)?void 0:h.openTranscriptCommand;this.F.Na("innertubeCommand",b)}else this.F.ob(this.element), sV(this,"__off__"===a?{}:this.tracks[a]),g.fV.prototype.Xg.call(this,a);this.ub.mj()}}; g.k.La=function(){var a=this.F.getOptions();a=a&&-1!==a.indexOf("captions");var b=this.F.getVideoData(),c=b&&b.WE,d,e=!(null==(d=this.F.getVideoData())||!g.fL(d));d={};if(a||c){var f;if(a){var h=this.F.getOption("captions","track");d=this.F.getOption("captions","tracklist",{includeAsr:!0});var l=e?[]:this.F.getOption("captions","translationLanguages");this.tracks=g.Hb(d,this.getKey,this);e=g.vh(d,this.getKey);var m=kPa(this),n,p;b.K("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.Rc(h)){if((f=h.translationLanguage)&&f.languageName){var q=f.languageName;f=l.findIndex(function(r){return r.languageName===q}); Daa(l,f)}hPa(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.gV(this,e);this.xj(f);h&&h.translationLanguage?this.j.xj(this.j.getKey(h.translationLanguage)):ROa(this.j);a&&this.D.Wg(this.F.getSubtitlesUserSettings());this.T.le(d&&d.length?" ("+d.length+")":"");this.ma("size-change");this.F.Ua(this.element,!0);this.enable(!0)}else this.enable(!1)}; g.k.g0=function(a){var b=this.F.getOption("captions","track");b=g.Xc(b);b.translationLanguage=this.j.languages[a];sV(this,b)}; g.k.Pj=function(a,b){if("reset"===a)this.F.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.F.updateSubtitlesUserSettings(c)}iPa(this,!0);this.J.start();this.D.Wg(this.F.getSubtitlesUserSettings())}; g.k.R6=function(a){a||g.to(this.J)}; g.k.ra=function(){g.to(this.J);g.fV.prototype.ra.call(this)}; g.k.open=function(){g.fV.prototype.open.call(this);this.options.__correction__&&!this.C&&(this.C=this.options.__correction__.element,this.F.sb(this.C,this,167341),this.F.Ua(this.C,!0))};g.v(lPa,g.yT);g.k=lPa.prototype; g.k.initialize=function(){if(!this.isInitialized){var a=this.F.V();this.isInitialized=!0;var b=new TOa(this.F,this);g.D(this,b);b=new jPa(this.F,this);g.D(this,b);a.B||(b=new eV(this.F,this),g.D(this,b));a.uf&&(b=new aPa(this.F,this),g.D(this,b));this.F.K("embeds_web_enable_new_context_menu_triggering")&&g.oI(a)&&(a.u||a.tb)&&(b=new SOa(this.F,this),g.D(this,b));a.pe&&!a.K("web_player_move_autonav_toggle")&&(a=new iV(this.F,this),g.D(this,a));a=new hV(this.F,this);g.D(this,a);this.F.ma("settingsMenuInitialized"); QOa(this.settingsButton,this.Dd.Fj())}}; g.k.Kc=function(a){this.initialize();this.Dd.Kc(a);QOa(this.settingsButton,this.Dd.Fj())}; g.k.wg=function(a){this.vb&&1>=this.Dd.Fj()&&this.hide();this.Dd.wg(a);QOa(this.settingsButton,this.Dd.Fj())}; g.k.Sc=function(a){this.initialize();0=b;g.bO(this,c);this.F.Ua(this.element,c);a&&this.updateValue("pressed",this.isEnabled())};g.v(g.wV,g.T);g.k=g.wV.prototype; g.k.yc=function(){var a=this.api.ib().getPlayerSize().width,b=this.J;this.api.V().J&&(b=400);b=a>=b&&(!yV(this)||!g.S(this.api.Gb(),64));g.bO(this,b);g.Co(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.u&&(c-=a.airingStart);xV(this)&&(c-=this.Db.startTimeMs/1E3);c=g.eP(c);this.B!==c&&(this.updateValue("currenttime",c),this.B=c);b=xV(this)?g.eP((this.Db.endTimeMs-this.Db.startTimeMs)/ 1E3):g.eP(this.api.getDuration(b,!1));this.C!==b&&(this.updateValue("duration",b),this.C=b)}a=a.isAtLiveHead;!yV(this)||this.I===a&&this.D===this.isPremiere||(this.I=a,this.D=this.isPremiere,this.yc(),b=this.liveBadge.element,b.disabled=a,this.liveBadge.le(this.isPremiere?"Premiere":"Live"),a?this.j&&(this.j(),this.j=null,b.removeAttribute("title")):(b.title="Skip ahead to live broadcast.",this.j=g.gT(this.tooltip,this.liveBadge.element)));a=this.api.getLoopRange();b=this.Db!==a;this.Db=a;b&&vV(this)}; g.k.onLoopRangeChange=function(a){var b=this.Db!==a;this.Db=a;b&&(this.yc(),vV(this))}; g.k.w7=function(){this.api.setLoopRange(null)}; g.k.onVideoDataChange=function(a,b,c){this.updateVideoData((this.api.V().K("enable_topsoil_wta_for_halftime")||this.api.V().K("enable_topsoil_wta_for_halftime_live_infra"))&&2===c?this.api.getVideoData(1):b);this.yc();vV(this)}; g.k.updateVideoData=function(a){this.kC=a.isLivePlayback&&!a.pc;this.u=hL(a);this.isPremiere=a.isPremiere;g.Co(this.element,"ytp-live",yV(this))}; g.k.onClick=function(a){a.target===this.liveBadge.element&&(this.api.seekTo(Infinity),this.api.playVideo())}; g.k.ra=function(){this.j&&this.j();g.T.prototype.ra.call(this)};g.v(oPa,g.T);g.k=oPa.prototype;g.k.Cq=function(){var a=this.j.og();this.C!==a&&(this.C=a,nPa(this,this.api.getVolume(),this.api.isMuted()))}; g.k.lR=function(a){g.bO(this,350<=a.width)}; g.k.k0=function(a){if(!g.gA(a)){var b=g.hA(a),c=null;37===b?c=this.volume-5:39===b?c=this.volume+5:36===b?c=0:35===b&&(c=100);null!==c&&(c=g.ie(c,0,100),0===c?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(c)),g.fA(a))}}; g.k.h0=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.ie(b/10,-10,10));g.fA(a)}; g.k.W6=function(){zV(this,this.u,!0,this.B,this.j.Ll());this.Y=this.volume;this.api.isMuted()&&this.api.unMute()}; g.k.j0=function(a){var b=this.C?78:52,c=this.C?18:12;a-=g.Rl(this.T).x;this.api.setVolume(100*g.ie((a-c/2)/(b-c),0,1))}; g.k.V6=function(){zV(this,this.u,!1,this.B,this.j.Ll());0===this.volume&&(this.api.mute(),this.api.setVolume(this.Y))}; g.k.onVolumeChange=function(a){nPa(this,a.volume,a.muted)}; g.k.qS=function(){zV(this,this.u,this.isDragging,this.B,this.j.Ll())}; g.k.ra=function(){g.T.prototype.ra.call(this);g.Ao(this.J,"ytp-volume-slider-active")};g.v(g.AV,g.T); g.AV.prototype.onVideoDataChange=function(){var a=this.api.getVideoData(1).D,b=this.api.V();this.visible=!!this.api.getVideoData().videoId&&!(a&&b.ea);g.bO(this,this.visible);this.api.Ua(this.element,this.visible&&this.Aa);this.visible&&(a=this.api.getVideoUrl(!0,!1,!1,!0),this.updateValue("url",a));b.B&&(this.j&&(this.Hc(this.j),this.j=null),this.element.removeAttribute("href"),this.element.removeAttribute("title"),this.element.removeAttribute("aria-label"),g.yo(this.element,"no-link"));this.Eb()}; g.AV.prototype.onClick=function(a){this.api.K("web_player_log_click_before_generating_ve_conversion_params")&&this.api.ob(this.element);var b=this.api.V(),c=this.api.getVideoUrl(!g.fP(a),!1,!0,!0);if(g.oI(b)||g.xI(b)){var d={};b.Aa&&g.oI(b)&&g.uQ(d,b.loaderUrl);g.oI(b)&&g.UQ(this.api,"addEmbedsConversionTrackingParams",[d]);c=g.ri(c,g.tQ(d,"emb_logo"))}g.KS(c,this.api,a);this.api.K("web_player_log_click_before_generating_ve_conversion_params")||this.api.ob(this.element)}; g.AV.prototype.Eb=function(){var a={G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},W:[{G:"path",Xb:!0,N:"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 "}}]}, b=this.api.V(),c=b.K("shorts_mode_to_player_api")?this.api.Sb():this.u.Sb();g.xI(b)?(b=this.Da("ytp-youtube-music-button"),a=(c=300>this.api.getPlayerSize().width)?{G:"svg",X:{fill:"none",height:"24",width:"24"},W:[{G:"circle",X:{cx:"12",cy:"12",fill:"red",r:"12"}},{G:"ellipse",X:{cx:"12.18",cy:"12",fill:"red",rx:"7.308",ry:"7.2",stroke:"#fff","stroke-width":"1.2"}},{G:"path",X:{d:"M9.74 15.54l6.32-3.54-6.32-3.54v7.09z",fill:"#fff"}}]}:{G:"svg",X:{viewBox:"0 0 80 24"},W:[{G:"ellipse",X:{cx:"12.18", cy:"12",fill:"red",rx:"12.18",ry:"12"}},{G:"ellipse",X:{cx:"12.18",cy:"12",fill:"red",rx:"7.308",ry:"7.2",stroke:"#fff","stroke-width":"1.2"}},{G:"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.Co(b,"ytp-youtube-music-logo-icon-only",c)):c&&(a={G:"svg",X:{fill:"none",height:"100%",viewBox:"-10 -8 67 36",width:"100%"},W:[{G:"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.AV.prototype.kc=function(a){g.T.prototype.kc.call(this,a);this.api.Ua(this.element,this.visible&&a)};g.v(qPa,g.nG);g.k=qPa.prototype;g.k.Je=function(){g.S(this.F.Gb(),2)||(this.Jc.yc(),this.tj.yc())}; g.k.cn=function(){this.sJ();if(this.Te.u){this.Je();var a;null==(a=this.tb)||a.show()}else{g.EV(this.Jc.tooltip);var b;null==(b=this.tb)||b.hide()}}; g.k.zv=function(){this.Je();this.mf.start()}; g.k.sJ=function(){var a=!this.F.V().u&&300>g.NOa(this.Jc)&&this.F.Gb().fd()&&!!window.requestAnimationFrame,b=!a;this.Te.u||(a=b=!1);b?this.Y||(this.Y=this.S(this.F,"progresssync",this.Je)):this.Y&&(this.Hc(this.Y),this.Y=null);a?this.mf.isActive()||this.mf.start():this.mf.stop()}; g.k.Eb=function(){var a=this.u.og(),b=this.F.ib().getPlayerSize(),c=sPa(this),d=Math.max(b.width-2*c,100);if(this.jb!==b.width||this.fb!==a){this.jb=b.width;this.fb=a;var e=tPa(this);this.C.element.style.width=e+"px";this.C.element.style.left=c+"px";g.WU(this.Jc,c,e,a);this.u.Dc().tJ=e}c=this.bd;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-uPa(this))));c.maxWidth=Math.min(570*(a?1.5:1),d);c.GE=e;c.Xz();this.sJ();this.F.V().K("html5_player_dynamic_bottom_gradient")&&g.rU(this.kb,b.height)}; g.k.onVideoDataChange=function(){var a=this.F.getVideoData(),b,c,d,e=null==(b=a.kf)?void 0:null==(c=b.embedPreview)?void 0:null==(d=c.thumbnailPreviewRenderer)?void 0:d.controlBgHtml;b=a.K("embeds_web_enable_video_data_refactoring_embedded_player_response")?!!e:a.D;e=a.K("embeds_web_enable_video_data_refactoring_embedded_player_response")?null!=e?e:"":a.Xc;this.Ja.style.background=b?e:"";g.bO(this.Aa,a.RN);this.oa&&ENa(this.oa,a.showSeekingControls);this.ea&&ENa(this.ea,a.showSeekingControls)}; g.k.xb=function(){return this.C.element};g.v(vPa,KT);g.k=vPa.prototype;g.k.KG=function(a){a.target!==this.dismissButton.element&&(this.onClickCommand&&this.F.Na("innertubeCommand",this.onClickCommand),this.KC())}; g.k.KC=function(){this.enabled=!1;this.J.hide()}; g.k.CO=function(a){this.text=a;UMa(this);this.onClickCommand=this.suggestedActions[a]}; g.k.onVideoDataChange=function(a,b){"dataloaded"===a&&wPa(this);if(this.F.K("embeds_web_enable_video_data_refactoring_player_overlay_renderer")){a=[];var c,d,e,f;if(b=null==(f=g.K(null==(c=b.jd)?void 0:null==(d=c.playerOverlays)?void 0:null==(e=d.playerOverlayRenderer)?void 0:e.suggestedActionsRenderer,zBa))?void 0:f.suggestedActions)for(c=g.t(b),d=c.next();!d.done;d=c.next())(d=g.K(d.value,ABa))&&g.K(d.trigger,tK)&&a.push(d)}else a=b.suggestedActions;c=a;if(0!==c.length){a=[];c=g.t(c);for(d=c.next();!d.done;d= c.next())if(d=d.value,e=g.K(d.trigger,tK))f=(f=d.title)?g.uC(f):"View Chapters",b=e.timeRangeStartMillis,e=e.timeRangeEndMillis,null!=b&&null!=e&&d.tapCommand&&(a.push(new g.kC(b,e,{priority:9,namespace:"suggested_action_button_visible",id:f})),this.suggestedActions[f]=d.tapCommand);this.F.Be(a)}}; g.k.Jz=function(){return this.enabled}; g.k.Ig=function(){this.enabled?this.Y.start():IT(this);this.bk()}; g.k.ra=function(){wPa(this);KT.prototype.ra.call(this)};var L3={},BV=(L3.CHANNEL_NAME="ytp-title-channel-name",L3.FULLERSCREEN_LINK="ytp-title-fullerscreen-link",L3.LINK="ytp-title-link",L3.SESSIONLINK="yt-uix-sessionlink",L3.SUBTEXT="ytp-title-subtext",L3.TEXT="ytp-title-text",L3.TITLE="ytp-title",L3);g.v(CV,g.T); CV.prototype.onClick=function(a){this.api.ob(this.element);var b=this.api.V(),c=this.api.getVideoUrl(!g.fP(a),!1,!0);if(g.oI(b)){var d={};b.Aa&&g.uQ(d,b.loaderUrl);g.UQ(this.api,"addEmbedsConversionTrackingParams",[d]);c=g.ri(c,g.tQ(d,"emb_title"))}g.KS(c,this.api,a)}; CV.prototype.La=function(){var a=this.api.getVideoData(),b=this.api.V();this.updateValue("title",a.title);var c={G:"a",N:BV.CHANNEL_NAME,X:{href:"{{channelLink}}",target:"_blank"},qa:"{{channelName}}"};this.api.V().B&&(c={G:"span",N:BV.CHANNEL_NAME,qa:"{{channelName}}",X:{tabIndex:"{{channelSubtextFocusable}}"}});this.updateValue("subtextElement",c);xPa(this);2===this.api.getPresentingPlayerType()&&(c=this.api.getVideoData(),c.videoId&&c.isListed&&c.author&&c.tb&&c.profilePicture?(this.updateValue("channelLink", c.tb),this.updateValue("channelName",c.author),this.updateValue("channelTitleFocusable","0")):xPa(this));c=b.externalFullscreen||!this.api.isFullscreen()&&b.Ic;g.Co(this.link,BV.FULLERSCREEN_LINK,c);b.oa||!a.videoId||c||a.D&&b.ea||b.B?this.j&&(this.updateValue("url",null),this.Hc(this.j),this.j=null):(this.updateValue("url",this.api.getVideoUrl(!0)),this.j||(this.j=this.S(this.link,"click",this.onClick)));b.B&&(this.element.classList.add("ytp-no-link"),this.updateValue("channelName",g.oI(b)?a.Zg: a.author),this.updateValue("channelTitleFocusable","0"),this.updateValue("channelSubtextFocusable","0"))};g.v(g.DV,g.T);g.k=g.DV.prototype;g.k.LH=function(a){if(null!=this.type)if(a)switch(this.type){case 3:case 2:CPa(this);this.I.show();break;default:this.I.show()}else this.I.hide();this.T=a}; g.k.HV=function(a,b){a<=this.C&&this.C<=b&&(a=this.C,this.C=NaN,zPa(this,a))}; g.k.X3=function(){FAa(this.u,this.C,this.J*this.scale)}; g.k.Ln=function(){switch(this.type){case 2:var a=this.j;a.removeEventListener("mouseout",this.ea);a.addEventListener("mouseover",this.D);a.removeEventListener("blur",this.ea);a.addEventListener("focus",this.D);DPa(this);break;case 3:DPa(this);break;case 1:this.u&&(this.u.unsubscribe("l",this.HV,this),this.u=null),this.api.removeEventListener("videoready",this.oa),this.ya.stop()}this.type=null;this.T&&this.I.hide()}; g.k.vk=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.cn=function(a){a&&(this.tooltip.vk(this.Gh.element),this.yg&&this.tooltip.vk(this.yg.xb()));this.fG&&(g.Co(this.contextMenu.element,"ytp-autohide",a),g.Co(this.contextMenu.element,"ytp-autohide-active",!0));g.YS.prototype.cn.call(this,a)}; g.k.aN=function(){g.YS.prototype.aN.call(this);this.fG&&(g.Co(this.contextMenu.element,"ytp-autohide-active",!1),this.fG&&(this.contextMenu.hide(),this.Bh&&this.Bh.hide()))}; g.k.zk=function(a,b){var c=this.api.ib().getPlayerSize();c=new g.Gl(0,0,c.width,c.height);if(a||this.Te.u&&!this.wt()){if(this.api.V().hm||b)a=this.og()?this.yK:this.xK,c.top+=a,c.height-=a;this.yg&&(c.height-=uPa(this.yg))}return c}; g.k.Cq=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","YouTube Video Player in Fullscreen"),this.api.V().externalFullscreen||(b.parentElement.insertBefore(this.wF.element,b),b.parentElement.insertBefore(this.vF.element,b.nextSibling))):g.PB(Error("Player not in DOM.")):(b.setAttribute("aria-label","YouTube Video Player"),this.wF.detach(),this.vF.detach());this.Eb();this.xp()}; g.k.og=function(){var a=this.api.V();return this.api.isFullscreen()&&!a.J||!1}; g.k.showControls=function(a){this.fF=!a;this.bl()}; g.k.Eb=function(){var a=this.og();this.tooltip.scale=a?1.5:1;this.contextMenu&&g.Co(this.contextMenu.element,"ytp-big-mode",a);this.bl();this.api.K("web_player_hide_overflow_button_if_empty_menu")||LPa(this);this.xp();var b=this.api.V().K("shorts_mode_to_player_api")?this.api.Sb():this.Sb();b&&a?(a=(this.api.ib().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.Jl(this.Gh.element,"padding-left",a+"px"),g.Jl(this.Gh.element,"padding-right",a+"px")):b&&(g.Jl(this.Gh.element,"padding-left", ""),g.Jl(this.Gh.element,"padding-right",""));g.YS.prototype.Eb.call(this)}; g.k.uL=function(){if(KPa(this)&&!g.lR(this.api))return!1;var a=this.api.getVideoData();return!g.oI(this.api.V())||2===this.api.getPresentingPlayerType()||!this.kf||((a=this.kf||a.kf)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&g.K(a.videoDetails,$Ba)||null):a=null:a=null,a&&a.collapsedRenderer&&a.expandedRenderer)?g.YS.prototype.uL.call(this):!1}; g.k.xp=function(){g.YS.prototype.xp.call(this);this.api.Ua(this.title.element,!!this.Uo);this.nz&&this.nz.kc(!!this.Uo);this.channelAvatar.kc(!!this.Uo);this.overflowButton&&this.overflowButton.kc(this.jh()&&!!this.Uo);this.shareButton&&this.shareButton.kc(!this.jh()&&!!this.Uo);this.Gn&&this.Gn.kc(!this.jh()&&!!this.Uo);this.Ei&&this.Ei.kc(!this.jh()&&!!this.Uo);if(!this.Uo){this.tooltip.vk(this.Gh.element);for(var a=0;a=b)return l.return();if(a.Z.K("html5_onesie_host_racing_during_prewarming"))for(c=a.j.values(),d=g.t(c),e=d.next();!e.done;e=d.next()){f=e.value;if(a.isDisposed())return l.return();SPa(a,f)}else(h=a.j.get(0))&&SPa(a,h);g.oa(l)})}; var PPa={BPa:0,ARa:1,sQa:2,BRa:3,dma:4,0:"PRIMARY",1:"SECONDARY",2:"RANDOM",3:"SENSITIVE_CONTENT",4:"C_YOUTUBE"};WPa.prototype.start=function(){this.startTimestamp=(0,g.M)()}; WPa.prototype.end=function(){this.endTimestamp=(0,g.M)()};var OV=[],u_a=!1;g.vY=Dd(function(){var a="";try{var b=g.Ne("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.v(g.PV,FM);g.k=g.PV.prototype;g.k.isView=function(){return!0}; g.k.oO=function(){var a=this.mediaElement.getCurrentTime();if(ae?this.xg("next_player_future"):(this.D=d,this.B=Eva(a,c,d,!0),this.C=Eva(a,e,h,!1),a=this.u.getVideoData().clientPlaybackNonce,this.j.xa("gaplessPrep",{cpn:a}),gQa(this.j,this.B),this.j.setMediaElement(cQa(b,c,d,!this.j.getVideoData().isAd())), RV(this,2),jQa(this))))}else this.xg("no-elem")}; g.k.Ww=function(a){var b=a===iQa(this).mX,c=b?this.B.j:this.B.u;b=b?this.C.j:this.C.u;if(c.isActive&&!b.isActive){var d=this.D;xG(a.Dg(),d-.01)&&(RV(this,4),c.isActive=!1,c.dE=c.dE||c.isActive,this.u.xa("sbh",{}),b.isActive=!0,b.dE=b.dE||b.isActive);a=this.C.u;this.C.j.isActive&&a.isActive&&RV(this,5)}}; g.k.MV=function(){4<=this.status.status&&6>this.status.status&&this.xg("player-reload-after-handoff")}; g.k.xg=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.u){var d=this.u.getVideoData().clientPlaybackNonce;this.j.Nd(new YI("dai.transitionfailure",Object.assign(b,{cpn:d,transitionTimeMs:this.Cn,msg:a})));a=this.j;a.videoData.fb=!1;c&&oY(a);a.Ga&&hWa(a.Ga)}this.tp.reject(void 0);this.dispose()}}; g.k.ra=function(){hQa(this);this.j.unsubscribe("newelementrequired",this.MV,this);if(this.B){var a=this.B.u;this.B.j.Fd.unsubscribe("updateend",this.Ww,this);a.Fd.unsubscribe("updateend",this.Ww,this)}g.C.prototype.ra.call(this)}; g.k.ud=function(a){g.eM(a,128)&&this.xg("player-error-event")};g.v(TV,g.C);TV.prototype.clearQueue=function(){this.C&&this.C.reject("Queue cleared");UV(this)}; TV.prototype.Gy=function(){return!this.j}; TV.prototype.ra=function(){UV(this);g.C.prototype.ra.call(this)};g.v(rQa,g.rC);g.k=rQa.prototype;g.k.getVisibilityState=function(a,b,c,d,e,f){return a?4:nQa()?3:b?2:c?1:d?5:e?7:f?8:0}; g.k.Vl=function(a){this.fullscreen!==a&&(this.fullscreen=a,this.Ig())}; g.k.setMinimized=function(a){this.u!==a&&(this.u=a,this.Ig())}; g.k.setInline=function(a){this.inline!==a&&(this.inline=a,this.Ig())}; g.k.Fz=function(a){this.pictureInPicture!==a&&(this.pictureInPicture=a,this.Ig())}; g.k.wh=function(){return this.j}; g.k.isFullscreen=function(){return 0!==this.fullscreen}; g.k.gy=function(){return this.fullscreen}; g.k.pg=function(){return this.u}; g.k.isInline=function(){return this.inline}; g.k.isBackground=function(){return nQa()}; g.k.Fy=function(){return this.pictureInPicture}; g.k.Cy=function(){return!1}; g.k.Ig=function(){this.ma("visibilitychange");var a=this.getVisibilityState(this.wh(),this.isFullscreen(),this.pg(),this.isInline(),this.Fy(),this.Cy());a!==this.C&&this.ma("visibilitystatechange");this.C=a}; g.k.ra=function(){qQa(this.B);g.rC.prototype.ra.call(this)};g.v(ZV,g.C);ZV.prototype.getCpnByClipId=function(a){if(this.u.has(a))return this.u.get(a);for(var b=g.t(this.segments),c=b.next();!c.done;c=b.next()){c=g.t(c.value.u.values());for(var d=c.next();!d.done;d=c.next())if(d=d.value.getCpnByClipId(a))return d}}; ZV.prototype.Ff=function(){for(;this.segments.length;){var a=void 0;null==(a=this.segments.pop())||a.dispose()}this.u.clear();this.B.clear()}; ZV.prototype.ra=function(){this.Ff()}; g.v($V,g.C);$V.prototype.getType=function(){return this.type}; $V.prototype.xB=function(){var a;return(null==(a=this.videoData)?void 0:a.clientPlaybackNonce)||""}; $V.prototype.getVideoData=function(){return this.videoData}; $V.prototype.Fl=function(){return this.clipId};g.v(g.bW,g.C);g.k=g.bW.prototype; g.k.onCueRangeEnter=function(a){this.Ma.push(a);var b=a.getId(),c=""===b;this.Fb.add(a.B);c||this.va.xa("sdai",{enterAdCueRange:1});if(this.fb&&!this.j){this.fb=!1;if(!c){var d=this.C.get(b);d&&(c=this.va.getCurrentTime(),gW(this,{ue:a,isAd:!0,lq:!0,oh:c,adCpn:b},{isAd:!1,lq:!1,oh:c}),this.api.ma("serverstitchedvideochange",d.Mc,d.xr),this.va.xa("sdai",eW("midab",d)),this.Bl=1)}this.D=!1}else if(this.j){if(this.j.lq)this.va.xa("sdai",{a_pair_of_same_transition_occurs_enter:1,acpn:this.j.adCpn,transitionTime:this.j.oh, cpn:b,currentTime:this.va.getCurrentTime()}),d=this.va.getCurrentTime(),a={ue:a,isAd:!c,lq:!0,oh:d,adCpn:b},b={ue:this.j.ue,isAd:this.j.isAd,lq:!1,oh:d,adCpn:this.j.adCpn},this.j.ue&&this.Fb.delete(this.j.ue.B),gW(this,a,b);else{if(this.j.ue===a){this.va.xa("sdai",{same_cue_range_pair_enter:1,acpn:this.j.adCpn,transitionTime:this.j.oh,cpn:b,currentTime:this.va.getCurrentTime(),cueRangeStartTime:a.start,cueRangeEndTime:a.end});this.j=void 0;return}if(this.j.adCpn===b){b&&this.va.xa("sdai",{dchtsc:b}); this.j=void 0;return}a={ue:a,isAd:!c,lq:!0,oh:this.va.getCurrentTime(),adCpn:b};gW(this,a,this.j)}this.j=void 0;this.D=!1}else this.j={ue:a,isAd:!c,lq:!0,oh:this.va.getCurrentTime(),adCpn:b}}; g.k.onCueRangeExit=function(a){if(this.Fb.has(a.B)){this.Fb.delete(a.B);this.Ma=this.Ma.filter(function(d){return d!==a}); this.fb&&(this.D=this.fb=!1,this.va.xa("sdai",{cref:1}));var b=a.getId(),c=""===b;if(this.j){if(this.j.lq){if(this.j.ue===a){this.va.xa("sdai",{same_cue_range_pair_exit:1,acpn:this.j.adCpn,transitionTime:this.j.oh,cpn:b,currentTime:this.va.getCurrentTime(),cueRangeStartTime:a.start,cueRangeEndTime:a.end});this.j=void 0;return}if(this.j.adCpn===b){b&&this.va.xa("sdai",{dchtsc:b});this.j=void 0;return}b={ue:a,isAd:!c,lq:!1,oh:this.va.getCurrentTime(),adCpn:b};gW(this,this.j,b)}else this.va.xa("sdai", {a_pair_of_same_transition_occurs_exit:1,pendingCpn:this.j.adCpn,transitionTime:this.j.oh,upcomingCpn:b,contentCpn:this.va.getVideoData().clientPlaybackNonce,currentTime:this.va.getCurrentTime()});this.j=void 0;this.D=!1}else this.j={ue:a,isAd:!c,lq:!1,oh:this.va.getCurrentTime(),adCpn:b}}else this.va.xa("sdai",{ignore_single_exit:1})}; g.k.seekTo=function(a,b,c){a=void 0===a?0:a;c=void 0===c?null:c;this.D=!0;if(void 0===b?0:b)uQa(this,a);else{b=this.api.Nc();var d=b===this.tb?this.pc:null;iW(this,!1);this.Ic=a;null!=c&&this.hc.start(c);b&&(this.pc=d||b.getPlayerState(),d_a(b),this.tb=b)}}; g.k.ra=function(){iW(this,!1);HQa(this);IQa(this);g.C.prototype.ra.call(this)}; g.k.JO=function(a){this.Xc=a;this.va.xa("sdai",{swebm:a})}; g.k.Ak=function(a,b,c){if(c&&b){var d=this.Za.get(a);if(d){d.locations||(d.locations=new Map);var e=Number(b.split(";")[0]);c=new g.QD(c);this.Ra&&this.va.xa("sdai",{hdlredir:1,itag:b,seg:a,hostport:SD(c)});d.locations.set(e,c)}}}; g.k.zs=function(a,b,c,d,e){var f=3===d;a=KQa(this,a,b,d,c);if(!a)return lW(this,b,f),null;f=a.tm;var h;b=(null==(h=kW(this,b-1,d,e))?void 0:h.Gu)||"";h=$H(a.ssdaiAdsConfig||"")||void 0;d=this.va.getVideoData();var l;e=(null==(l=d.u)?void 0:l.containerType)||0;l=d.yR[e];return{JH:{TJ:f?OQa(this,f):[],q1:h,Gu:b,D8:a.MD,t9:we(l.split(";")[0]),u9:l.split(";")[1]||""}}}; g.k.Dm=function(a,b,c,d,e){var f=Number(c.split(";")[0]),h=3===d;a=KQa(this,a,b,d,c);this.Ra&&this.va.xa("sdai",{gdu:1,seg:b,itag:f,pb:""+!!a});if(!a)return lW(this,b,h),null;a.locations||(a.locations=new Map);if(!a.locations.has(f)){var l,m,n=null==(l=a.videoData.getPlayerResponse())?void 0:null==(m=l.streamingData)?void 0:m.adaptiveFormats;if(!n)return this.va.xa("sdai",{gdu:"noadpfmts",seg:b,itag:f}),lW(this,b,h),null;l=n.find(function(z){return z.itag===f}); if(!l||!l.url){var p=a.videoData.videoId;a=[];d=g.t(n);for(var q=d.next();!q.done;q=d.next())a.push(q.value.itag);this.va.xa("sdai",{gdu:"nofmt",seg:b,vid:p,itag:f,fullitag:c,itags:a.join(",")});lW(this,b,h);return null}a.locations.set(f,new g.QD(l.url,!0))}n=a.locations.get(f);if(!n)return this.va.xa("sdai",{gdu:"nourl",seg:b,itag:f}),lW(this,b,h),null;n=new VE(n);this.Xc&&(n.get("dvc")?this.va.xa("sdai",{dvc:n.get("dvc")||""}):n.set("dvc","webm"));var r;(e=null==(r=kW(this,b-1,d,e))?void 0:r.Gu)&& n.set("daistate",e);a.MD&&b>=a.MD&&n.set("skipsq",""+a.MD);(e=this.va.getVideoData().clientPlaybackNonce)&&n.set("cpn",e);r=[];a.tm&&(r=OQa(this,a.tm),0d?(this.TH(a,c),this.va.seekTo(d),!0):!1}; g.k.TH=function(a,b){if(a=jW(this,a,b)){var c=a.tm;if(c){this.va.xa("sdai",{skipadonsq:b,abid:c,acpn:a.cpn,avid:a.videoData.videoId});c=this.Y.get(c);if(!c)return;c=g.t(c);for(var d=c.next();!d.done;d=c.next())d.value.MD=b}this.I=a.cpn;LQa(this)}}; g.k.rO=function(){for(var a=g.t(this.T),b=a.next();!b.done;b=a.next())b.value.MD=NaN;LQa(this);this.I=""}; g.k.WD=aa(38); g.k.DN=function(a,b,c,d,e,f,h,l,m){m&&(h?this.Ta.set(a,{Gu:m,LA:l}):this.ya.set(a,{Gu:m,LA:l}));if(h){if(d.length&&e.length)for(this.I&&this.I===d[0]&&this.va.xa("sdai",{skipfail:1,sq:a,acpn:this.I}),a=b+this.Zp(),h=0;h=b+a)b=h.end;else{if(l=!1,h?bthis.B;)(c=this.data.shift())&&uW(this,c,!0);sW(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&&(uW(this,c,b),g.rb(this.data,function(d){return d.key===a}),sW(this))}; g.k.Ff=function(){var a;if(a=void 0===a?!1:a)for(var b=g.t(this.data),c=b.next();!c.done;c=b.next())uW(this,c.value,a);this.data=[];sW(this)}; g.k.ra=function(){var a=this;g.C.prototype.ra.call(this);this.data.forEach(function(b){uW(a,b,!0)}); this.data=[]};g.vW.prototype.info=function(){}; var oRa=new Map;g.v(wW,g.C);wW.prototype.EF=function(a){if(a)return this.u.get(a)}; wW.prototype.ra=function(){this.j.Ff();this.u.Ff();g.C.prototype.ra.call(this)};g.v(xW,g.Uo);xW.prototype.ma=function(a){var b=g.ya.apply(1,arguments);if(this.D.has(a))return this.D.get(a).push(b),!0;var c=!1;try{for(b=[b],this.D.set(a,b);b.length;)c=g.Uo.prototype.ma.call.apply(g.Uo.prototype.ma,[this,a].concat(g.u(b.shift())))}finally{this.D.delete(a)}return c};g.v(qRa,g.C);qRa.prototype.ra=function(){g.C.prototype.ra.call(this);this.j=null;this.u&&this.u.disconnect()};g.$bb=Dd(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}});var M3;M3={};g.yW=(M3.STOP_EVENT_PROPAGATION="html5-stop-propagation",M3.IV_DRAWER_ENABLED="ytp-iv-drawer-enabled",M3.IV_DRAWER_OPEN="ytp-iv-drawer-open",M3.MAIN_VIDEO="html5-main-video",M3.VIDEO_CONTAINER="html5-video-container",M3.VIDEO_CONTAINER_TRANSITIONING="html5-video-container-transitioning",M3.HOUSE_BRAND="house-brand",M3);g.v(tRa,g.T);g.k=tRa.prototype;g.k.yr=function(){g.zo(this.element,g.ya.apply(0,arguments))}; g.k.qj=function(){this.lc&&(this.lc.removeEventListener("focus",this.jN),g.Xe(this.lc),this.lc=null)}; g.k.NK=function(){this.isDisposed();var a=this.app.V();a.mm||this.yr("tag-pool-enabled");a.T&&this.yr(g.yW.HOUSE_BRAND);"gvn"===a.playerStyle&&(this.yr("ytp-gvn"),this.element.style.backgroundColor="transparent");a.Qc&&(this.DK=g.tA("yt-dom-content-change",this.resize,this));this.S(window,"orientationchange",this.resize,this);this.S(window,"resize",this.resize,this)}; g.k.ED=function(a){g.tI(this.app.V());this.aG=!a;zW(this)}; g.k.resize=function(){if(this.lc){var a=this.Ij();if(!a.Cf()){var b=!g.pe(a,this.oz.getSize()),c=yRa(this);b&&(this.oz.width=a.width,this.oz.height=a.height);a=this.app.V();(c||b||a.Qc)&&this.app.Va.ma("resize",this.getPlayerSize())}}}; g.k.Cs=function(a,b){this.updateVideoData(b)}; g.k.updateVideoData=function(a){if(this.lc){var b=this.app.V();Ry&&(this.lc.setAttribute("x-webkit-airplay","allow"),a.title?this.lc.setAttribute("title",a.title):this.lc.removeAttribute("title"));PBa(a)?this.lc.setAttribute("disableremoteplayback",""):this.lc.removeAttribute("disableremoteplayback");this.lc.setAttribute("controlslist","nodownload");b.uq&&a.videoId&&(this.lc.poster=a.hg("default.jpg"))}b=g.LK(a,"yt:bgcolor");this.WA.style.backgroundColor=b?b:"";this.OM=Bx(g.LK(a,"yt:stretch"));this.PM= Bx(g.LK(a,"yt:crop"),!0);g.Co(this.element,"ytp-dni",a.D);this.resize()}; g.k.setGlobalCrop=function(a){this.HL=Bx(a,!0);this.resize()}; g.k.setCenterCrop=function(a){this.nS=a;this.resize()}; g.k.Vl=function(){}; g.k.getPlayerSize=function(){var a=this.app.V(),b=this.app.Va.isFullscreen();if(b&&ix())return new g.oe(window.outerWidth,window.outerHeight);if(b||a.Sn){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.xC&&this.xC.media===a||(this.xC=window.matchMedia(a));var c=this.xC&&this.xC.matches}if(c)return new g.oe(window.innerWidth,window.innerHeight)}else if(!isNaN(this.pB.width)&&!isNaN(this.pB.height))return this.pB.clone();return new g.oe(this.element.clientWidth, this.element.clientHeight)}; g.k.Ij=function(){var a=this.app.V().K("enable_desktop_player_underlay"),b=this.getPlayerSize(),c=g.rH(this.app.V().experiments,"player_underlay_min_player_width");return a&&this.VN&&b.width>c?new g.oe(b.width*g.rH(this.app.V().experiments,"player_underlay_video_width_fraction"),b.height):b}; g.k.getVideoAspectRatio=function(){return isNaN(this.OM)?vRa(this):this.OM}; g.k.getVideoContentRect=function(a){var b=this.Ij();a=wRa(this,b,this.getVideoAspectRatio(),a);return new g.Gl((b.width-a.width)/2,(b.height-a.height)/2,a.width,a.height)}; g.k.Hz=function(a){this.VN=a;this.resize()}; g.k.iG=function(){return this.iH}; g.k.onMutedAutoplayChange=function(){zW(this)}; g.k.setInternalSize=function(a){g.pe(this.pB,a)||(this.pB=a,this.resize())}; g.k.ra=function(){this.DK&&g.uA(this.DK);this.qj();g.T.prototype.ra.call(this)};g.k=zRa.prototype;g.k.click=function(a,b){this.elements.has(a);this.j.has(a);var c=g.TC();c&&a.visualElement&&g.hN(c,a.visualElement,b)}; g.k.sb=function(a,b,c,d){var e=this;d=void 0===d?!1:d;this.elements.has(a);this.elements.add(a);c=bta(c);a.visualElement=c;var f=g.TC(),h=g.SC();f&&h&&g.Bw(g.aN)(void 0,f,h,c);g.ab(b,function(){ARa(e,a)}); d&&this.u.add(a)}; g.k.Bg=function(a,b,c){var d=this;c=void 0===c?!1:c;this.elements.has(a);this.elements.add(a);g.ab(b,function(){ARa(d,a)}); c&&this.u.add(a)}; g.k.BS=function(a,b){this.clientPlaybackNonce!==b&&(this.clientPlaybackNonce=b,nN(mN(),a),BRa(this))}; g.k.Lg=function(a,b){this.elements.has(a);b&&(a.visualElement=g.PC(b))}; g.k.Dk=function(a){return this.elements.has(a)};CRa.prototype.setPlaybackRate=function(a){this.playbackRate=Math.max(1,a)}; CRa.prototype.getPlaybackRate=function(){return this.playbackRate};GRa.prototype.seek=function(a){a!==this.j&&(this.seekCount=0);this.j=a;var b=this.videoTrack.u,c=this.audioTrack.u,d=this.audioTrack.Vb,e=JRa(this.videoTrack,a,this.videoTrack.Vb);d=JRa(this.audioTrack,this.policy.df?a:e,d);a=Math.max(a,e,d);this.C=!0;this.Sa.isManifestless&&(HRa(this.videoTrack,b),HRa(this.audioTrack,c));return a}; GRa.prototype.ih=function(){return this.C}; var IRa=2/24;ORa.prototype.tick=function(a,b){this.ticks[a]=b?window.performance.timing.navigationStart+b:(0,g.M)()};g.v(QRa,g.rC);g.k=QRa.prototype; g.k.tN=function(a,b,c,d){if(this.C&&d){d=[];var e=[],f=[],h=void 0,l=0;b&&(d=b.j,e=b.u,f=b.C,h=b.B,l=b.LA);this.C.DN(a.Oa,a.startTime,this.u,d,e,f,c,l,h)}if(c){if(b&&!this.Aa.has(a.Oa)){c=a.startTime;d=[];for(e=0;ethis.policy.oa&&(null==(c=this.j)?0:fG(c.info))&&(null==(d=this.nextVideo)||!fG(d.info))&&(this.T=!0)}};gSa.prototype.Sq=function(a){this.timestampOffset=a};oSa.prototype.dispose=function(){this.oa=!0}; oSa.prototype.isDisposed=function(){return this.oa}; g.v($W,Error);DSa.prototype.skip=function(a){this.offset+=a}; DSa.prototype.Yp=function(){return this.offset};g.k=HSa.prototype;g.k.yT=function(){return this.u}; g.k.wk=function(){this.u=[];dX(this);GSa(this)}; g.k.Xv=function(a){this.Ra=this.u.shift().info;a.info.equals(this.Ra)}; g.k.Go=function(){return g.vh(this.u,function(a){return a.info})}; g.k.Ek=function(){return!!this.I.info.audio}; g.k.getDuration=function(){return this.I.index.ls()};var ZSa=0;g.k=gX.prototype;g.k.Wr=function(){this.oa||(this.oa=this.callbacks.Wr?this.callbacks.Wr():1);return this.oa}; g.k.kG=function(){return this.Hk?1!==this.Wr():!1}; g.k.Dv=function(){this.Ra=this.now();this.callbacks.Dv()}; g.k.gt=function(a,b){cTa(this,a,b);50>a-this.C&&jX(this)||dTa(this,a,b);this.callbacks.gt(a,b)}; g.k.Dq=function(){this.callbacks.Dq()}; g.k.Yu=function(){return this.u>this.XG&&fTa(this,this.u)}; g.k.now=function(){return(0,g.M)()};lX.prototype.feed=function(a){ZD(this.j,a);this.bf()}; lX.prototype.bf=function(){if(this.C){if(!this.j.totalLength)return;var a=this.j.split(this.B-this.u),b=a.YB;a=a.Vk;this.callbacks.yN(this.C,b,this.u,this.B);this.u+=b.totalLength;this.j=a;this.u===this.B&&(this.C=this.B=this.u=void 0)}for(;;){var c=0;a=g.t(nTa(this.j,c));b=a.next().value;c=a.next().value;c=g.t(nTa(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.callbacks.yN&&c+1<=this.j.totalLength))break;c=this.j.split(c).Vk;this.callbacks.yN(b, c,0,a)&&(this.C=b,this.u=c.totalLength,this.B=a,this.j=new YD([]));break}a=this.j.split(c).Vk.split(a);c=a.Vk;this.callbacks.iz(b,a.YB);this.j=c}}; lX.prototype.dispose=function(){this.j=new YD};g.k=mX.prototype;g.k.mL=function(){return 0}; g.k.FF=function(){return null}; g.k.nT=function(){return null}; g.k.Ls=function(){return 1<=this.state}; g.k.isComplete=function(){return 3<=this.state}; g.k.Vo=function(){return 5===this.state}; g.k.onStateChange=function(){}; g.k.vc=function(a){var b=this.state;this.state=a;this.onStateChange(b);this.callback&&this.callback(this,b)}; g.k.Zy=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.wB=function(){return+this.getResponseHeader("content-length")}; g.k.Gl=function(){return this.B}; g.k.mD=function(){return 200<=this.status&&300>this.status&&!!this.B}; g.k.jq=function(){return 0this.status&&!!this.u}; g.k.jq=function(){return!!this.j.totalLength}; g.k.Wv=function(){var a=this.j;this.j=new YD;return a}; g.k.cH=function(){return this.j}; g.k.isDisposed=function(){return this.I}; g.k.abort=function(){this.jp&&this.jp.cancel().catch(function(){}); this.B&&this.B.abort();this.I=!0}; g.k.ew=function(){return!0}; g.k.rH=function(){return this.J}; g.k.Bf=function(){return this.errorMessage};g.k=uTa.prototype;g.k.onDone=function(){if(!this.isDisposed){this.status=this.xhr.status;try{this.response=this.xhr.response,this.u=this.response.byteLength}catch(a){}this.j=!0;this.callbacks.Dq()}}; g.k.fz=function(){2===this.xhr.readyState&&this.callbacks.Dv()}; g.k.Je=function(a){this.isDisposed||(this.status=this.xhr.status,this.j||(this.u=a.loaded),this.callbacks.gt((0,g.M)(),a.loaded))}; g.k.Tu=function(){return 2<=this.xhr.readyState}; g.k.getResponseHeader=function(a){try{return this.xhr.getResponseHeader(a)}catch(b){return g.QB(Error("Could not read XHR header "+a)),""}}; g.k.wB=function(){return+this.getResponseHeader("content-length")}; g.k.Gl=function(){return this.u}; g.k.mD=function(){return 200<=this.status&&300>this.status&&this.j&&!!this.u}; g.k.jq=function(){return this.j&&!!this.response&&!!this.response.byteLength}; g.k.Wv=function(){var a=this.response;this.response=void 0;return new YD([new Uint8Array(a)])}; g.k.cH=function(){return new YD([new Uint8Array(this.response)])}; g.k.abort=function(){this.isDisposed=!0;this.xhr.abort()}; g.k.ew=function(){return!1}; g.k.rH=function(){return!1}; g.k.Bf=function(){return""};nX.prototype.Vj=function(){if(!this.me.length)return[];var a=this.me;this.me=[];this.B=g.fb(a).info;return a}; nX.prototype.Jv=function(){return this.me};g.v(pX,g.C);g.k=pX.prototype;g.k.g8=function(){if(!this.isDisposed()&&!this.D){var a=(0,g.M)(),b=!1;jX(this.timing)?(a=this.timing.Y,aTa(this.timing),this.timing.Y-a>=.8*this.policy.Hd?(this.u++,b=this.u>=this.policy.hm):this.u=0):(b=this.timing,b.Hk&&mTa(b,b.now()),a-=b.T,this.policy.dh&&01E3*b);0this.state)return!1;if(this.ke&&this.ke.me.length)return!0;var a;return(null==(a=this.xhr)?0:a.jq())?!0:!1}; g.k.Jv=function(){this.Mm(!1);return this.ke?this.ke.Jv():[]}; g.k.Mm=function(a){try{if(a||this.xhr.Tu()&&this.xhr.jq()&&!DTa(this)&&!this.lz){if(!this.ke){var b;this.xhr.ew()||this.uj?b=this.info.C:b=this.xhr.Gl();this.ke=new nX(this.policy,this.info.gb,b)}this.xhr.jq()&&(this.uj?this.uj.feed(this.xhr.Wv()):oX(this.ke,this.xhr.Wv(),a&&!this.xhr.jq()))}}catch(c){this.uj?CTa(this,c):g.QB(c)}}; g.k.iz=function(a,b){switch(a){case 21:a=b.split(1).Vk;oX(this.ke,a,!1);break;case 22:this.XX=!0;oX(this.ke,new YD([]),!0);break;case 43:if(a=wJ(new qJ(b),1))this.info.Ak(this.Me,a),this.YX=!0;break;case 45:if(this.policy.Qk){var c=new qJ(b);a=tJ(c,1);b=tJ(c,2);tJ(c,3);a&&b&&(this.mK=a/b)}}}; g.k.yN=function(a,b,c){if(21!==a)return!1;if(!c){if(1===b.totalLength)return!0;b=b.split(1).Vk}oX(this.ke,b,!1);return!0}; g.k.Gl=function(){return this.xhr.Gl()}; g.k.mL=function(){return this.Jx}; g.k.Wr=function(){return this.kG()?2:1}; g.k.kG=function(){if(!this.policy.C.ek||!isNaN(this.info.Pg)&&0this.info.gb[0].Oa?!1:!0}; g.k.CL=function(){return+this.xhr.getResponseHeader("X-Segment-Lmt")||0}; g.k.FF=function(){this.xhr&&(this.Qo=Number(this.xhr.getResponseHeader("X-Head-Seqnum")));return this.Qo}; g.k.nT=function(){this.xhr&&(this.hq=Number(this.xhr.getResponseHeader("X-Head-Time-Millis")));return this.hq}; g.k.Ve=function(){return this.Ad.Ve()};g.v(EW,mX);g.k=EW.prototype;g.k.onStateChange=function(){this.isDisposed()&&(LX(this.qg,this.formatId),this.j.dispose())}; g.k.Vp=function(){var a=XUa(this.qg,this.formatId),b;var c=(null==(b=this.qg.xd.get(this.formatId))?void 0:b.bytesReceived)||0;var d;b=(null==(d=this.qg.xd.get(this.formatId))?void 0:d.PE)||0;var e;d=(null==(e=this.qg.xd.get(this.formatId))?void 0:e.me.totalLength)||0;return{expected:a,received:c,bytesShifted:b,sliceLength:d,isEnded:this.qg.Th(this.formatId)}}; g.k.jT=function(){return 0}; g.k.Yu=function(){return!0}; g.k.Vj=function(){return this.qg.Vj(this.formatId)}; g.k.Jv=function(){return[]}; g.k.Mk=function(){return this.qg.Mk(this.formatId)}; g.k.Ve=function(){return this.lastError}; g.k.us=function(){return 0};g.k=HTa.prototype;g.k.Xv=function(a){this.C.Xv(a);var b;null!=(b=this.T)&&(b.j=iSa(b,b.Ue,b.kz,b.j,a));this.dc=Math.max(this.dc,a.info.j.info.dc||0)}; g.k.getDuration=function(){return this.j.index.ls()}; g.k.wk=function(){GW(this);this.C.wk()}; g.k.wL=function(){return this.C}; g.k.isRequestPending=function(a){return this.B.length?a===this.B[this.B.length-1].info.gb[0].Oa:!1}; g.k.Sq=function(a){var b;null==(b=this.T)||b.Sq(a)};g.v(DX,g.C); DX.prototype.Bs=function(a){var b=a.info.gb[0].j,c=a.Ve();if(TD(b.u.j)){var d=g.Gf(a.Bf(),3);this.Ga.xa("dldbrerr",{em:d||"none"})}d=a.info.gb[0].Oa;var e=SRa(this.j,a.info.gb[0].B,d);"net.badstatus"===c&&(this.I+=1);if(a.canRetry()){if(!(3<=a.info.j.u&&this.u&&a.info.Dm()&&"net.badstatus"===a.Ve()&&this.u.Bs(e,d))){d=(b.info.video&&1b.EG||0b.RM)){this.Ad.VD(!1);this.zU=!0;var c;null==(c=this.tD)||c.stop()}}}; g.k.RC=function(a){this.callbacks.RC(a)}; g.k.BN=function(a){this.ZW=!0;this.info.j.Ak(this.Me,a.redirectUrl)}; g.k.TC=function(a){this.callbacks.TC(a)}; g.k.kN=function(a){if(this.policy.Ja){var b=a.videoId,c=a.formatId,d=qUa({videoId:b,itag:c.itag,Xm:c.Xm,xtags:c.xtags}),e=a.mimeType||"",f,h,l=new eF((null==(f=a.lU)?void 0:f.first)||0,(null==(h=a.lU)?void 0:h.FU)||0),m,n;f=new eF((null==(m=a.indexRange)?void 0:m.first)||0,(null==(n=a.indexRange)?void 0:n.FU)||0);this.Sa.I.get(d)||(a=this.Sa,d=a.j[c.itag],c=UG({lmt:""+c.Xm,itag:""+c.itag,xtags:c.xtags,type:e},null),PG(a,new OF(d.T,c,l,f),b))}}; g.k.canRetry=function(){this.isDisposed();return this.Ad.canRetry(!1)}; g.k.dispose=function(){if(!this.isDisposed()){g.C.prototype.dispose.call(this);this.Ad.dispose();var a;null==(a=this.tD)||a.dispose();this.vc(-1)}}; g.k.vc=function(a){this.state=a;WX(this.callbacks,this)}; g.k.bv=function(){return this.info.bv()}; g.k.Bv=function(a,b,c,d){this.qg.Bv(a,b,c);d&&(this.clipId=d)}; g.k.Vj=function(a){return this.qg.Vj(a)}; g.k.Go=function(a){return this.qg.Go(a)}; g.k.Mk=function(a){return this.qg.Mk(a)}; g.k.Ur=function(){return this.qg.Ur()}; g.k.Wr=function(){return 1}; g.k.PF=function(){return this.Dh.requestNumber}; g.k.Fl=function(){return this.clipId}; g.k.rV=function(){this.JA()}; g.k.JA=function(){var a;null==(a=this.xhr)||a.abort();kX(this.Dh)}; g.k.isComplete=function(){return 3<=this.state}; g.k.yU=function(){return 3===this.state}; g.k.Vo=function(){return 5===this.state}; g.k.AU=function(){return 4===this.state}; g.k.Ls=function(){return 1<=this.state}; g.k.us=function(){return this.Ad.us()}; g.k.iT=function(){return this.info.data.QE}; g.k.PT=function(){}; g.k.Ve=function(){return this.Ad.Ve()}; g.k.Vp=function(){var a=zTa(this.Ad),b=Object,c=b.assign,d=this.info,e={};e.rtype=d.requestType;var f;if(null==(f=d.u)?0:f.xo)Object.assign(e,d.u.xo),d=g.GJ(d.u.xo,oS),e.cabr=g.Ff(d,4);c.call(b,a,e);a.req="sabr";a.rn=this.PF();var h;if(null==(h=this.xhr)?0:h.status){var l;a.rc=null==(l=this.xhr)?void 0:l.status}var m;(b=null==(m=this.xhr)?void 0:m.Bf())&&(a.msg=b);this.zU&&(m=cVa(this,(0,g.M)()-this.Dh.j),a.letm=m.S3,a.mrbps=m.EG,a.mram=m.RM);return a};MX.prototype.bv=function(){return 1===this.requestType}; MX.prototype.pL=function(){var a;return(null==(a=this.callbacks)?void 0:a.pL())||0};g.v(NX,g.C);NX.prototype.encrypt=function(a){(0,g.M)();if(this.u)var b=this.u;else this.B?(b=new ZH(this.B,this.j.j),g.D(this,b),this.u=b):this.u=new YH(this.j.j),b=this.u;return b.encrypt(a,this.iv)}; NX.prototype.decrypt=function(a,b){(0,g.M)();return(new YH(this.j.j)).decrypt(a,b)};pVa.prototype.decrypt=function(a){var b=this,c,d,e,f,h,l;return g.A(function(m){switch(m.j){case 1:if(b.j.length&&!b.j[0].isEncrypted)return m.return();b.u=!0;b.Ql.Wc("omd_s");c=new Uint8Array(16);MH()?d=new XH(a):e=new YH(a);case 2:if(!b.j.length||!b.j[0].isEncrypted){m.Ka(3);break}f=b.j.shift();if(!d){h=e.decrypt(cE(f.buffer),c);m.Ka(4);break}return g.y(m,d.decrypt(cE(f.buffer),c),5);case 5:h=m.u;case 4:l=h;for(var n=0;nb.B.targetVideoReadaheadMs;c=!(d>b.B.targetAudioReadaheadMs)|| !e}else c=!0;if(c){var f=NTa(b.audioTrack),h=NTa(b.videoTrack),l=[].concat(g.u(f.Ue),g.u(h.Ue));c=[];b.policy.wf&&(c=[].concat(g.u(f.Fq),g.u(h.Fq)));var m,n=null==(m=b.Ga)?void 0:m.jG(),p=b.policy.ZC&&n?7.205759403792794E13:b.va.getCurrentTime(),q={videoData:b.videoData,Sa:b.Sa,gH:b.va.getPlayerSize(),visibilityState:b.va.getVisibilityState(),Ue:l,Fq:c,currentTime:p,nextRequestPolicy:b.B};b.policy.vf?(q.AD=nUa(b.u.j),q.BD=nUa(b.u.videoInfos)):q.QE=UW(b.C);var r=new MX(0,q,b,b.Ga.Oi);b.j.push(QVa(b, r))}this.Xa&&gWa(this)}catch(w){g.QB(w),b=w,this.dB({reason:"exp",ename:b.name,emsg:b.message})}g.ro(this.Ma)}else if(!this.Sa.u||!WTa(this.videoTrack)&&!WTa(this.audioTrack)||(this.videoTrack.D||this.audioTrack.D)&&this.policy.pc?b=!1:(this.wk(),this.va.seekTo(Infinity,{Ke:"checkLoaderTracksSync",zr:!0}),b=!0),!b){jWa(this);if(!this.policy.useUmp)try{KTa(this.videoTrack);if(this.isDisposed())return;KTa(this.audioTrack);if(this.isDisposed())return}catch(w){kUa(this,w,{origin:"pollSlice"})}this.Sa.isManifestless&& (XTa(this.videoTrack),XTa(this.audioTrack),MRa(this.B),(b=JW(this.videoTrack))&&b.u&&(b=b.u.D&&!this.policy.Op,this.xa(b===this.policy.C.ek?"strm":"strmbug",{strm:b,sfmp4:this.policy.C.ek,dfs:this.policy.Op},!0)));this.Xa?gWa(this):this.policy.u&&((b=JW(this.videoTrack))&&this.videoTrack.Xv(b),(f=JW(this.audioTrack))&&this.audioTrack.Xv(f),wX(this.videoTrack)&&wX(this.audioTrack)||(b||f)&&dY(this));ZX(this);EX(this.j,this.videoTrack,this.videoTrack.j,!1);EX(this.j,this.audioTrack,this.audioTrack.j, !1);b=this.videoTrack;l=this.audioTrack;if((!this.Xa||HG(this.Xa)&&!this.policy.hc)&&!this.B.ih()&&(nS(this.policy)||CX(b)&&b.j.Eg()&&this.ze.T))a:{if(f=this.currentTime,h=this.T,l=FRa(h,b.j.info.dc,l.j.info.dc,0),h=dI(h.schedule)+l/fI(h.schedule),f+=Math.max(h,h+10-l/b.j.info.dc),b.B.length){if(b.B[0].info.gb[0].startTime<=f)break a;GW(b)}h=b.C;for(l=h.u.length-1;0<=l;l--)h.u[l].info.startTime>f&&h.u.pop();MTa(b);b.u&&ff||f!==h)&&b.xa("sbu_mismatch",{b:vG(e),c:b.currentTime,s:pF(d)})},0))}this.bf()}; g.k.X4=function(a){if(this.Xa){var b=uX(a===this.Xa.j?this.audioTrack:this.videoTrack);if(a=a.AL())for(var c=0;cf))){f=new ZV(b.Z,e, f,b.j,d);d=g.t(d);for(e=d.next();!e.done;e=d.next())e=e.value,(c=e.Fl())&&b.B.set(c,e);b.j.u.set(f.jc||0,f)}}}};g.k=g.eY.prototype;g.k.Dm=function(a,b,c,d,e){return this.Gd.Dm(a,b,c,d,e)}; g.k.zs=function(a,b,c,d,e){return this.Gd.zs(a,b,c,d,e)}; g.k.UF=function(a){this.Gd.UF(a)}; g.k.Bs=function(a,b){return this.Gd.Bs(a,b)}; g.k.Ru=function(){this.Gd.Ru()}; g.k.yD=function(a,b,c){return this.Gd.yD(a,b,c)}; g.k.TH=function(a,b){this.Gd.TH(a,b)}; g.k.rO=function(){this.Gd.rO()}; g.k.yB=aa(39);g.k.Ak=function(a,b,c){this.Gd.Ak(a,b,c)}; g.k.WD=aa(37);g.k.DN=function(a,b,c,d,e,f,h,l,m){this.Gd.DN(a,b,c,d,e,f,h,l,m)}; g.k.JO=function(a){this.Gd.JO(a)}; g.k.CN=function(a,b,c,d){this.Gd.CN(a,b,c,d)}; g.k.Xs=function(a){return this.Gd.Xs(a)};g.v(fY,g.rC);g.v(gY,fY);gY.prototype.I=function(a,b){if(a&&b){var c=1*Number(ti(a,"cpi"))+1;isNaN(c)||0>=c||cthis.B&&(this.B=c,g.Rc(this.j)||(this.j={},this.C.stop(),this.u.stop())),this.j[b]=a,g.ro(this.u))}}; gY.prototype.D=function(){for(var a=g.t(Object.keys(this.j)),b=a.next();!b.done;b=a.next()){var c=b.value;b=this.ma;for(var d=this.B,e=this.j[c].match(fi),f=[],h=g.t(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.re(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.ma("log_qoe",{wvagt:"delay."+c,cpi:a.cryptoPeriodIndex,reqlen:this.j.length}); 0>=c?xWa(this,a):(this.j.push({time:b+c,info:a}),g.ro(this.u,c))}}; hY.prototype.ra=function(){this.j=[];fY.prototype.ra.call(this)};var V3={},EWa=(V3.DRM_TRACK_TYPE_AUDIO="AUDIO",V3.DRM_TRACK_TYPE_SD="SD",V3.DRM_TRACK_TYPE_HD="HD",V3.DRM_TRACK_TYPE_UHD1="UHD1",V3);g.v(BWa,g.C);BWa.prototype.DD=function(a,b){this.onSuccess=a;this.onError=b};g.v(GWa,g.rC);g.k=GWa.prototype;g.k.gp=function(a){var b=this;this.isDisposed()||0>=a.size||(a.forEach(function(c,d){var e=lH(b.u)?d:c;d=new Uint8Array(lH(b.u)?c:d);lH(b.u)&&WWa(d);c=g.Ff(d,4);WWa(d);d=g.Ff(d,4);b.j[c]?b.j[c].status=e:b.j[d]?b.j[d].status=e:b.j[c]={type:"",status:e}}),RWa(this,","),iY(this,{onkeystatuschange:1}),this.status="kc",this.ma("keystatuseschange",this))}; g.k.error=function(a,b,c,d){this.isDisposed()||(this.ma("licenseerror",a,b,c,d),"drm.provision"===a&&(a=(Date.now()-this.I)/1E3,this.I=NaN,this.ma("ctmp","provf",{et:a.toFixed(3)})));ZI(b)&&this.dispose()}; g.k.shouldRetry=function(a,b){return this.Fa&&this.J?!1:!a&&this.requestNumber===b.requestNumber}; g.k.ra=function(){this.j={};g.rC.prototype.ra.call(this)}; g.k.qc=function(){var a={ctype:this.Y.contentType||"",length:this.Y.initData.length,requestedKeyIds:this.ya,cryptoPeriodIndex:this.cryptoPeriodIndex};this.B&&(a.keyStatuses=this.j);return a}; g.k.rh=function(){var a=this.C.join();if(jY(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.We=function(){return this.url};g.v(kY,g.C);g.k=kY.prototype;g.k.DD=function(a,b,c,d){this.D=a;this.B=b;this.I=c;this.J=d}; g.k.hZ=function(a){if(this.D){var b=a.messageType||"license-request";this.D(new Uint8Array(a.message),b)}}; g.k.gp=function(){this.J&&this.J(this.j.keyStatuses)}; g.k.UV=function(a){this.D&&this.D(a.message,"license-request")}; g.k.TV=function(a){if(this.B){if(this.u){var b=this.u.error.code;a=this.u.error.systemCode}else b=a.errorCode,a=a.systemCode;this.B("t.prefixedKeyError;c."+b+";sc."+a,b,a)}}; g.k.SV=function(){this.I&&this.I()}; g.k.update=function(a){var b=this;if(this.j)return this.j.update(a).then(null,hH(function(c){YWa(b,"t.update",c)})); this.u?this.u.update(a):this.element.addKey?this.element.addKey(this.T.keySystem,a,this.initData,this.sessionId):this.element.webkitAddKey&&this.element.webkitAddKey(this.T.keySystem,a,this.initData,this.sessionId);return bx()}; g.k.ra=function(){this.j&&this.j.close();this.element=null;g.C.prototype.ra.call(this)};g.v(lY,g.C);g.k=lY.prototype;g.k.attach=function(){var a=this;if(this.j.keySystemAccess)return this.j.keySystemAccess.createMediaKeys().then(function(b){a.isDisposed()||(a.u=b,a.element.setMediaKeys(b))}); kH(this.j)?this.B=new (jH())(this.j.keySystem):mH(this.j)?(this.B=new (jH())(this.j.keySystem),this.element.webkitSetMediaKeys(this.B)):(lB(this.D,this.element,["keymessage","webkitkeymessage"],this.kZ),lB(this.D,this.element,["keyerror","webkitkeyerror"],this.jZ),lB(this.D,this.element,["keyadded","webkitkeyadded"],this.iZ));return null}; g.k.setServerCertificate=function(){return this.u.setServerCertificate?"widevine"===this.j.flavor&&this.j.ol?this.u.setServerCertificate(this.j.ol):oH(this.j)&&this.j.Za?this.u.setServerCertificate(this.j.Za):null:null}; g.k.createSession=function(a,b){var c=a.initData;if(this.j.keySystemAccess){b&&b("createsession");var d=this.u.createSession();nH(this.j)?c=ZWa(c,this.j.Za):oH(this.j)&&(c=wWa(c)||new Uint8Array(0));b&&b("genreq");a=d.generateRequest(a.contentType,c);var e=new kY(null,null,null,d,null);a.then(function(){b&&b("genreqsuccess")},hH(function(f){YWa(e,"t.generateRequest",f)})); return e}if(kH(this.j))return aXa(this,c);if(mH(this.j))return $Wa(this,c);this.element.generateKeyRequest?this.element.generateKeyRequest(this.j.keySystem,c):this.element.webkitGenerateKeyRequest(this.j.keySystem,c);return this.C=new kY(this.element,this.j,c,null,null)}; g.k.kZ=function(a){var b=bXa(this,a);b&&b.UV(a)}; g.k.jZ=function(a){var b=bXa(this,a);b&&b.TV(a)}; g.k.iZ=function(a){var b=bXa(this,a);b&&b.SV(a)}; g.k.getMetrics=function(){if(this.u&&this.u.getMetrics)try{var a=this.u.getMetrics()}catch(b){}return a}; g.k.ra=function(){this.B=this.u=null;var a;null==(a=this.C)||a.dispose();a=g.t(Object.values(this.I));for(var b=a.next();!b.done;b=a.next())b.value.dispose();this.I={};g.C.prototype.ra.call(this);delete this.element};g.k=mY.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.Ff=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.lb(this.keys,function(b){return g.Eb(a,b)})};g.v(eXa,g.rC);g.k=eXa.prototype;g.k.A5=function(a){this.Ti({onecpt:1});a.initData&&hXa(this,new Uint8Array(a.initData),a.initDataType)}; g.k.X5=function(a){this.Ti({onndky:1});hXa(this,a.initData,a.contentType)}; g.k.ez=function(a){this.Ti({onneedkeyinfo:1});this.Z.K("html5_eme_loader_sync")&&(this.J.get(a.initData)||this.J.set(a.initData,a));gXa(this,a)}; g.k.TR=function(a){this.B.push(a);nY(this)}; g.k.createSession=function(a){var b=jXa(this)?BSa(a):g.Ff(a.initData);this.u.get(b);this.Aa=!0;a=new GWa(this.videoData,this.Z,a,this.drmSessionId);this.u.set(b,a);a.subscribe("ctmp",this.uV,this);a.subscribe("keystatuseschange",this.gp,this);a.subscribe("licenseerror",this.NG,this);a.subscribe("newlicense",this.OV,this);a.subscribe("newsession",this.PV,this);a.subscribe("sessionready",this.bW,this);a.subscribe("fairplay_next_need_key_info",this.GV,this);this.Z.K("html5_enable_vp9_fairplay")&&a.subscribe("qualitychange", this.BP,this);JWa(a,this.C)}; g.k.OV=function(a){this.isDisposed()||(this.Ti({onnelcswhb:1}),a&&!this.heartbeatParams&&(this.heartbeatParams=a,this.ma("heartbeatparams",a)))}; g.k.PV=function(){this.isDisposed()||(this.Ti({newlcssn:1}),this.B.shift(),this.Aa=!1,nY(this))}; g.k.bW=function(){if(kH(this.j)&&(this.Ti({onsnrdy:1}),this.Ja--,0===this.Ja)){var a=this.ea;a.element.msSetMediaKeys(a.B)}}; g.k.gp=function(a){if(!this.isDisposed()){!this.Fa&&this.videoData.K("html5_log_drm_metrics_on_key_statuses")&&(kXa(this),this.Fa=!0);this.Ti({onksch:1});var b=this.BP;if(!jY(a)&&g.Sy&&"com.microsoft.playready"===a.u.keySystem&&navigator.requestMediaKeySystemAccess)var c="large";else{c=[];var d=!0;if(jY(a))for(var e=g.t(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(!jY(a)||d)c=a.C;c=QWa(c)}b.call(this,c); this.ma("keystatuseschange",a)}}; g.k.uV=function(a,b){this.isDisposed()||this.ma("ctmp",a,b)}; g.k.GV=function(a,b){this.isDisposed()||this.ma("fairplay_next_need_key_info",a,b)}; g.k.NG=function(a,b,c,d){this.isDisposed()||(this.videoData.K("html5_log_drm_metrics_on_error")&&kXa(this),this.ma("licenseerror",a,b,c,d))}; g.k.Mu=function(){return this.T}; g.k.BP=function(a){var b=g.xD("auto",a,!1,"l");if(this.videoData.Xl){if(this.T.equals(b))return}else if(Gta(this.T,a))return;this.T=b;this.ma("qualitychange");this.Ti({updtlq:a})}; g.k.ra=function(){this.j.keySystemAccess&&this.element&&this.element.setMediaKeys(null);this.element=null;this.B=[];for(var a=g.t(this.u.values()),b=a.next();!b.done;b=a.next())b=b.value,b.unsubscribe("ctmp",this.uV,this),b.unsubscribe("keystatuseschange",this.gp,this),b.unsubscribe("licenseerror",this.NG,this),b.unsubscribe("newlicense",this.OV,this),b.unsubscribe("newsession",this.PV,this),b.unsubscribe("sessionready",this.bW,this),b.unsubscribe("fairplay_next_need_key_info",this.GV,this),this.Z.K("html5_enable_vp9_fairplay")&& b.unsubscribe("qualitychange",this.BP,this),b.dispose();this.u.clear();this.I.Ff();this.J.Ff();this.heartbeatParams=null;g.rC.prototype.ra.call(this)}; g.k.qc=function(){for(var a={systemInfo:this.j.qc(),sessions:[]},b=g.t(this.u.values()),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.qc());return a}; g.k.rh=function(){return 0>=this.u.size?"no session":""+this.u.values().next().value.rh()+(this.D?"/KR":"")}; g.k.Ti=function(a,b){b=void 0===b?!1:b;this.isDisposed()||(XI(a),(this.Z.Td()||b)&&this.ma("ctmp","drmlog",a))};g.v(pY,g.C);pY.prototype.mG=function(){return this.B}; pY.prototype.handleError=function(a){var b=this;pXa(this,a);if(("html5.invalidstate"!==a.errorCode&&"fmt.unplayable"!==a.errorCode&&"fmt.unparseable"!==a.errorCode||!oXa(this,a.errorCode,a.details))&&!tXa(this,a)){if(this.J&&"yt"!==this.j.Ja&&rXa(this,a)&&this.videoData.Xn&&(0,g.M)()/1E3>this.videoData.Xn&&"hm"===this.j.Ja){var c=Object.assign({e:a.errorCode},a.details);c.stalesigexp="1";c.expire=this.videoData.Xn;c.init=this.videoData.lV/1E3;c.now=(0,g.M)()/1E3;c.systelapsed=((0,g.M)()-this.videoData.lV)/ 1E3;a=new YI(a.errorCode,c,2);this.va.Kg(a.errorCode,2,"SIGNATURE_EXPIRED",XI(a.details))}if(ZI(a.severity)){var d;c=null==(d=this.va.Ga)?void 0:d.ze.B;if(this.j.K("html5_use_network_error_code_enums"))if(qXa(a)&&c&&c.isLocked())var e="FORMAT_UNAVAILABLE";else{if(!this.j.T&&"auth"===a.errorCode&&429===a.details.rc){e="TOO_MANY_REQUESTS";var f="6"}}else qXa(a)&&c&&c.isLocked()?e="FORMAT_UNAVAILABLE":this.j.T||"auth"!==a.errorCode||"429"!==a.details.rc||(e="TOO_MANY_REQUESTS",f="6");this.va.Kg(a.errorCode, a.severity,e,XI(a.details),f)}else this.va.ma("nonfatalerror",a),d=/^pp/.test(this.videoData.clientPlaybackNonce),this.Nd(a.errorCode,a.details),d&&"manifest.net.connect"===a.errorCode&&(a="https://web.archive.org/web/20230406005043/https://www.youtube.com/generate_204?cpn="+this.videoData.clientPlaybackNonce+"&t="+(0,g.M)(),HV(a,"manifest",function(h){b.I=!0;b.xa("pathprobe",h)},function(h){b.Nd(h.errorCode,h.details)}))}}; pY.prototype.xa=function(a,b){this.va.zc.xa(a,b)}; pY.prototype.Nd=function(a,b){b=XI(b);this.va.zc.Nd(a,b)};wXa.prototype.K=function(a){return this.Z.K(a)};g.v(rY,g.C);rY.prototype.ud=function(a){OXa(this);this.playerState=a.state;0<=this.u&&g.eM(a,16)&&this.seekCount++;a.state.isError()&&this.send()}; rY.prototype.onError=function(a){if("player.fatalexception"!==a||this.provider.K("html5_exception_to_health"))a.match(bcb)?this.networkErrorCount++:this.nonNetworkErrorCount++}; rY.prototype.send=function(){if(!(this.B||0>this.j)){OXa(this);var a=g.WV(this.provider)-this.j,b="PLAYER_PLAYBACK_STATE_UNKNOWN",c=this.playerState.getData();this.playerState.isError()?b=c&&"auth"===c.errorCode?"PLAYER_PLAYBACK_STATE_UNKNOWN":"PLAYER_PLAYBACK_STATE_ERROR":g.S(this.playerState,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.S(this.playerState,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.S(this.playerState,16)||g.S(this.playerState,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.S(this.playerState,1)&& g.S(this.playerState,4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.S(this.playerState,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING":g.S(this.playerState,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.S(this.playerState,8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");c=i_a[KK(this.provider.videoData)];a:switch(this.provider.Z.playerCanaryState){case "canary":var d="HTML5_PLAYER_CANARY_TYPE_EXPERIMENT";break a;case "holdback":d="HTML5_PLAYER_CANARY_TYPE_CONTROL";break a;default:d="HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"}var e= 0>this.u?a:this.u-this.j;a=this.provider.Z.If+36E5<(0,g.M)();b={started:0<=this.u,stateAtSend:b,joinLatencySecs:e,playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:d,isAd:this.provider.videoData.isAd(),liveMode:c,hasDrm:!!g.IK(this.provider.videoData),isGapless:this.provider.videoData.fb,isServerStitchedDai:this.provider.videoData.enableServerStitchedDai}; a||g.hy("html5PlayerHealthEvent",b);this.B=!0;this.dispose()}}; rY.prototype.ra=function(){this.B||this.send();g.C.prototype.ra.call(this)}; var bcb=/\bnet\b/;var RXa=window;var PXa=/[?&]cpn=/;g.v(g.tY,g.C);g.k=g.tY.prototype;g.k.h3=function(){var a=g.WV(this.provider);VXa(this,a)}; g.k.EB=function(){return this.ya}; g.k.reportStats=function(a){a=void 0===a?NaN:a;if(!this.isDisposed()&&(a=0<=a?a:g.WV(this.provider),-1<["PL","B","S"].indexOf(this.Re)&&(!g.Rc(this.j)||a>=this.C+30)&&(g.sY(this,a,"vps",[this.Re]),this.C=a),!g.Rc(this.j))){7E3===this.sequenceNumber&&g.QB(Error("Sent over 7000 pings"));if(!(7E3<=this.sequenceNumber)){YXa(this,a);var b=a,c=this.provider.va.RB(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.Tb,h=e&&!this.ac;d>c.totalVideoFrames||5E3=this.playTimeSecs&&(this.provider.va.MC(),this.j.qoealert=["1"],this.fb=!0)),"B"!==a||"PL"!==this.Re&&"PB"!==this.Re||(this.oa=!0),this.C=c),"PL"===this.Re&&("B"===a||"S"===a)||this.provider.Z.Td()?YXa(this,c):(this.jb||"PL"!==a||(this.jb= !0,XXa(this,c,this.provider.va.OB())),VXa(this,c)),"PL"===a&&g.ro(this.Ec),g.sY(this,c,"vps",[a]),this.Re=a,this.C=this.kb=c,this.D=!0);a=b.getData();g.S(b,128)&&a&&(a.pH=a.pH||"",bYa(this,c,a.errorCode,a.qF,a.pH));(g.S(b,2)||g.S(b,128))&&this.reportStats(c);b.fd()&&!this.I&&(0<=this.u&&(this.j.user_intent=[this.u.toString()]),this.I=!0);$Xa(this)}; g.k.UC=function(a){var b=g.WV(this.provider);g.sY(this,b,"vfs",[a.j.id,a.u,this.hc,a.reason]);this.hc=a.j.id;var c=this.provider.va.getPlayerSize();if(0b-this.Yo+2||kYa(this,a,b))){c=this.provider.va.getVolume();var d=c!==this.Y,e=this.provider.va.isMuted()?1:0;e!==this.T?(this.T=e,c=!0):(!d||0<=this.C||(this.Y=c,this.C=b),c=b-this.C,0<=this.C&&2=this.provider.videoData.Tb;a&&(this.u&&this.provider.videoData.Tb&&(a=AY(this,"delayplay"),a.df=!0,a.send(),this.oa=!0),tYa(this))}; g.k.ud=function(a){if(!this.isDisposed())if(g.S(a.state,2)||g.S(a.state,512))this.I="paused",(g.eM(a,2)||g.eM(a,512))&&this.u&&(DY(this),EY(this).send(),this.D=NaN);else if(g.S(a.state,8)){this.I="playing";var b=this.u&&isNaN(this.C)?BY(this):NaN;!isNaN(b)&&(0>dM(a,64)||0>dM(a,512))&&(a=yYa(this,!1),a.D=b,a.send())}else this.I="paused"}; g.k.ra=function(){g.C.prototype.ra.call(this);DY(this);iYa(this.j)}; g.k.qc=function(){return nYa(AY(this,"playback"))}; g.k.Wz=function(){this.provider.videoData.Y.eventLabel=XK(this.provider.videoData);this.provider.videoData.Y.playerStyle=this.provider.Z.playerStyle;this.provider.videoData.eh&&(this.provider.videoData.Y.feature="pyv");this.provider.videoData.Y.vid=this.provider.videoData.videoId;var a=this.provider.videoData.Y;var b=this.provider.videoData;b=b.isAd()||!!b.eh;a.isAd=b}; g.k.Gj=function(a){var b=AY(this,"engage");b.T=a;return oYa(b,DYa(this.provider))};BYa.prototype.Cf=function(){return this.endTime===this.startTime};CYa.prototype.K=function(a){return this.Z.K(a)}; var EYa={other:1,none:2,wifi:3,cellular:7};g.v(g.FY,g.C);g.k=g.FY.prototype;g.k.ud=function(a){if(g.eM(a,1024)||g.eM(a,512)||g.eM(a,4)){var b=this.B;0<=b.u||(b.j=-1,b.delay.stop());this.qoe&&(b=this.qoe,b.I||(b.u=-1))}if(this.provider.videoData.enableServerStitchedDai&&this.Fi){var c;null==(c=this.u.get(this.Fi))||c.ud(a)}else this.j&&this.j.ud(a);this.qoe&&this.qoe.ud(a);this.B.ud(a)}; g.k.Je=function(){if(this.provider.videoData.enableServerStitchedDai&&this.Fi){var a;null==(a=this.u.get(this.Fi))||a.Je()}else this.j&&this.j.Je()}; g.k.Nd=function(a,b){this.qoe&&cYa(this.qoe,a,b);this.B.onError(a)}; g.k.UC=function(a){this.qoe&&this.qoe.UC(a)}; g.k.JC=function(a){this.qoe&&this.qoe.JC(a)}; g.k.onPlaybackRateChange=function(a){if(this.qoe)this.qoe.onPlaybackRateChange(a)}; g.k.Ys=aa(42);g.k.xa=function(a,b,c){this.qoe&&this.qoe.xa(a,b,c)}; g.k.oD=function(a,b,c){this.qoe&&this.qoe.oD(a,b,c)}; g.k.nD=function(a){this.qoe&&this.qoe.nD(a)}; g.k.sz=function(a,b,c){this.qoe&&this.qoe.sz(a,b,c)}; g.k.hn=aa(15);g.k.EB=function(){if(this.qoe)return this.qoe.EB()}; g.k.qc=function(){if(this.provider.videoData.enableServerStitchedDai&&this.Fi){var a;null==(a=this.u.get(this.Fi))||a.qc()}else if(this.j)return this.j.qc();return{}}; g.k.Gj=function(a){return this.j?this.j.Gj(a):function(){}}; g.k.Wz=function(){this.j&&this.j.Wz()};g.v(GY,g.C);g.k=GY.prototype;g.k.Be=function(a,b){this.In();b&&2E3<=this.j.array.length&&this.mB("captions",1E4);b=this.j;if(1b.array.length)b.array=b.array.concat(a),b.array.sort(b.j);else{a=g.t(a);for(var c=a.next();!c.done;c=a.next())c=c.value,!b.array.length||0a&&this.C.start()))}; g.k.XK=function(a){var b=[];if(!a.length)return b;for(var c=0;ca&&(a=(a-this.u)/this.oa(),this.C.start(a)))}}; g.k.rU=function(){if(this.started&&!this.isDisposed()){this.C.stop();var a=this.D();g.S(a,32)&&this.ea.start();for(var b=g.S(this.D(),2)?0x8000000000000:1E3*this.T(),c=g.S(a,2),d=[],e=[],f=g.t(this.B),h=f.next();!h.done;h=f.next())h=h.value,h.active&&(c?0x8000000000000>h.end:!h.contains(b))&&e.push(h);d=d.concat(this.aL(e));f=e=null;c?(a=OYa(this.j,0x7ffffffffffff),e=a.filter(function(l){return 0x8000000000000>l.end}),f=PYa(this.j)):a=this.u<=b&&SM(a)?NYa(this.j,this.u,b):OYa(this.j,b); d=d.concat(this.XK(a));e&&(d=d.concat(this.aL(e)));f&&(d=d.concat(this.XK(f)));this.u=b;SYa(this,d)}}; g.k.ra=function(){this.B=[];this.j.array=[];g.C.prototype.ra.call(this)}; g.QV.Ay(GY,{Be:"crmacr",XK:"crmncr",aL:"crmxcr",rU:"crmis",Ch:"crmrcr"});g.v(JY,g.rC);JY.prototype.oq=function(){return this.J}; JY.prototype.Wp=function(){return Math.max(this.T()-ZYa(this,!0),this.videoData.Ld())};g.v(OY,g.C);OY.prototype.ud=function(){g.ro(this.B)}; OY.prototype.bf=function(){var a=this,b=this.va.ye(),c=this.va.getPlayerState();if(b&&!c.isError()){var d=b.getCurrentTime(),e=8===c.state&&d>this.j,f=g.S(c,8)&&g.S(c,16),h=this.va.As().isBackground()||c.isSuspended();PY(this,this.ya,f&&!h,e,"qoe.slowseek",function(){},"timeout"); var l=isFinite(this.j);l=f&&l&&zDa(b,this.j);var m=!d||10d+5,B=r&&n&&z;z=this.va.getVideoData();var E=.002>d&&.002>this.j;q=this.Z.K("html5_seek_elem_shorts_nnr_play_video")?q:m;PY(this,this.oa,E&&f&&g.YK(z)&&!h,e,"qoe.slowseek",q,"slow_seek_shorts");PY(this,this.I,B&&!h,r&&!n,"qoe.longrebuffer",p,"jiggle_cmt");PY(this,this.J,B&&!h,r&&!n,"qoe.longrebuffer",m,"new_elem_nnr");if(l){var G=l.getCurrentTime();f=b.Pu();f=yva(f,G);f=!l.ih()&&d=== f;PY(this,this.Ta,r&&n&&f&&!h,r&&!n&&!f,"qoe.longrebuffer",function(){b.seekTo(G)},"seek_to_loader")}f={}; p=wG(w,Math.max(d-3.5,0));q=0<=p&&d>w.end(p)-1.1;B=0<=p&&p+1B;f.close2edge=q;f.gapsize=B;f.buflen=w.length;PY(this,this.T,r&&n&&!h,r&&!n,"qoe.longrebuffer",function(){},"timeout",f); w=c.isSuspended();w=g.nb(this.va.pn,"ad")&&!w;PY(this,this.D,w,!w,"qoe.start15s",function(){a.va.cg("ad")},"ads_preroll_timeout"); w=.5>d-this.C;x=z.isAd()&&r&&!n&&w;r=function(){var F=a.va,L=F.Tf.Nc();(!L||!F.videoData.isAd()||L.getVideoData().Mc!==F.getVideoData().Mc)&&F.videoData.nf||F.Kg("ad.rebuftimeout",2,"RETRYABLE_ERROR","skipslad.vid."+F.videoData.videoId)}; PY(this,this.Ja,x,!x,"ad.rebuftimeout",r,"skip_slow_ad");n=z.isAd()&&n&&xG(b.Qh(),d+5)&&w;PY(this,this.Ma,n,!n,"ad.rebuftimeout",r,"skip_slow_ad_buf");PY(this,this.Ra,g.RM(c)&&g.S(c,64)&&!h,e,"qoe.start15s",function(){},"timeout"); PY(this,this.Y,!!l&&!l.Xa&&g.RM(c),e,"qoe.start15s",m,"newElemMse");this.C=d;this.B.start()}}; OY.prototype.Nd=function(a,b,c){b=this.qc(b);b.wn=c;b.wdup=this.u[a]?"1":"0";this.va.Nd(new YI(a,b));this.u[a]=!0}; OY.prototype.qc=function(a){a=Object.assign(this.va.qc(!0),a.qc());this.j&&(a.stt=this.j.toFixed(3));delete a.uga;delete a.euri;delete a.referrer;delete a.fexp;delete a.vm;return a}; MY.prototype.reset=function(){this.j=this.u=this.B=this.startTimestamp=0;this.C=!1}; MY.prototype.qc=function(){var a={},b=(0,g.M)();this.startTimestamp&&(a.wsd=(b-this.startTimestamp).toFixed());this.u&&(a.wtd=(b-this.u).toFixed());this.j&&(a.wssd=(b-this.j).toFixed());return a};g.v(fZa,g.C);g.k=fZa.prototype;g.k.setMediaElement=function(a){g.mB(this.Ra);(this.mediaElement=a)?(rZa(this),QY(this)):RY(this)}; g.k.ud=function(a){this.ea.ud(a);this.K("html5_exponential_memory_for_sticky")&&(a.state.fd()?g.ro(this.oa):this.oa.stop());if(this.mediaElement)if(8===a.yv.state&&SM(a.state)&&g.TM(a.state)){a=this.mediaElement.getCurrentTime();var b=this.mediaElement.Qh();var c=this.K("manifestless_post_live_ufph")||this.K("manifestless_post_live")?wG(b,Math.max(a-3.5,0)):wG(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.fb-c)||(this.va.xa("seekover",{b:vG(b, "_"),cmt:a}),this.fb=c,this.seekTo(c,{Uu:!0,Ke:"playbacktimeline_postLiveDisc"})))}else(null==(b=a.state)?0:8===b.state)&&this.Z.K("embeds_enable_muted_autoplay")&&!this.Za&&0=this.ge())||!g.OK(this.videoData))||this.va.xa("seeknotallowed",{st:r,mst:this.ge()});if(!l)return this.B&&(this.B=null,nZa(this)),rf(this.getCurrentTime());if(.005>Math.abs(a-this.u)&&this.T)return this.D;h&&(r=a,(this.Z.Td()||this.K("html5_log_seek_reasons"))&&this.va.xa("seekreason", {reason:h,tgt:r}));this.T&&RY(this);this.D||(this.D=new jI);a&&!isFinite(a)&&iZa(this,!1);if(h=!c)h=a,h=this.videoData.isLivePlayback&&this.videoData.C&&!this.videoData.C.j&&!(this.mediaElement&&0e.videoData.endSeconds&&isFinite(f)&&SZa(e);fb.start&&SZa(this.va);return this.D}; g.k.ge=function(a){if(!this.videoData.isLivePlayback)return this.videoData.ge();var b;if(hL(this.videoData)&&(null==(b=this.mediaElement)?0:b.Kp())&&this.videoData.j)return a=this.getCurrentTime(),kCa(1E3*this.Lf(a))+a;if(rK(this.videoData)&&this.videoData.wd&&this.videoData.j)return this.videoData.j.ge()+this.timestampOffset;if(this.videoData.C&&this.videoData.C.j){if(!a&&this.j)return this.j.Wp();a=this.videoData.ge();this.policy.j&&this.mediaElement&&(a=Math.max(a,BDa(this.mediaElement)));return a+ this.timestampOffset}return this.mediaElement?kx()?kCa(this.mediaElement.DE().getTime()):GM(this.mediaElement)+this.timestampOffset||this.timestampOffset:this.timestampOffset}; g.k.Ld=function(){var a=this.videoData?this.videoData.Ld()+this.timestampOffset:this.timestampOffset;if(hL(this.videoData)&&this.videoData.j){var b,c=Number(null==(b=this.videoData.progressBarStartPosition)?void 0:b.utcTimeMillis)/1E3;b=this.getCurrentTime();b=this.Lf(b)-b;if(!isNaN(c)&&!isNaN(b))return Math.max(a,c-b)}return a}; g.k.fL=function(){this.D||this.seekTo(this.C,{Ke:"playbacktimeline_forceResumeTime_singleMediaSourceTransition"})}; g.k.jG=function(){return this.T&&!isFinite(this.u)}; g.k.ra=function(){jZa(this,null);this.ea.dispose();g.C.prototype.ra.call(this)}; g.k.qc=function(){var a={};this.Ga&&Object.assign(a,this.Ga.qc());this.mediaElement&&Object.assign(a,this.mediaElement.qc());return a}; g.k.EN=function(a){this.timestampOffset=a}; g.k.getStreamTimeOffset=function(){return rK(this.videoData)?0:this.videoData.j?this.videoData.j.getStreamTimeOffset():0}; g.k.Md=function(){return this.timestampOffset}; g.k.Lf=function(a){return this.videoData.j.Lf(a-this.timestampOffset)}; g.k.Nu=function(){if(!this.mediaElement)return 0;if(PK(this.videoData)){var a=BDa(this.mediaElement)+this.timestampOffset-this.Ld(),b=this.ge()-this.Ld();return Math.max(0,Math.min(1,a/b))}return this.mediaElement.Nu()}; g.k.OC=function(a){this.I&&(this.I.j=a.audio.index)}; g.k.K=function(a){return this.Z&&this.Z.K(a)};SY.prototype.Ls=function(){return this.started}; SY.prototype.start=function(){this.started=!0}; SY.prototype.reset=function(){this.finished=this.started=!1};var xZa=!1;g.v(g.WY,g.rC);g.k=g.WY.prototype;g.k.ra=function(){this.PW();this.nH.stop();window.clearInterval(this.eH);qQa(this.Ig);this.visibility.unsubscribe("visibilitystatechange",this.Ig);GYa(this.zc);g.Ya(this.zc);aZ(this);g.mo.zm(this.Ov);this.qj();this.Ef=null;g.Ya(this.videoData);g.Ya(this.Dl);g.Za(this.C4);this.Rp=null;g.rC.prototype.ra.call(this)}; g.k.nD=function(a){this.zc.nD(a)}; g.k.sz=function(a,b,c,d){this.zc.sz(a,b,c);this.K("html5_log_media_perf_info")&&this.xa("adloudness",{ld:d.toFixed(3),cpn:a})}; g.k.nL=function(){var a;return null==(a=this.Ga)?void 0:a.nL()}; g.k.qL=function(){var a;return null==(a=this.Ga)?void 0:a.qL()}; g.k.rL=function(){var a;return null==(a=this.Ga)?void 0:a.rL()}; g.k.oL=function(){var a;return null==(a=this.Ga)?void 0:a.oL()}; g.k.Kl=function(){return this.videoData.Kl()}; g.k.getVideoData=function(){return this.videoData}; g.k.V=function(){return this.Z}; g.k.As=function(){return this.visibility}; g.k.ye=function(){return this.mediaElement}; g.k.wK=function(){if(this.videoData.isLoaded()){var a=this.Dl;0=a.start);return a}; g.k.oq=function(){return this.td.oq()}; g.k.fd=function(){return this.playerState.fd()}; g.k.nC=function(){return this.playerState.nC()&&this.videoData.Pn}; g.k.getPlayerState=function(){return this.playerState}; g.k.getPlayerType=function(){return this.playerType}; g.k.getPreferredQuality=function(){if(this.Ef){var a=this.Ef;a=a.videoData.Yn.compose(a.videoData.wR);a=AD(a)}else a="auto";return a}; g.k.HB=aa(10);g.k.isGapless=function(){return!!this.mediaElement&&this.mediaElement.isView()}; g.k.setMediaElement=function(a){if(this.mediaElement&&a.xb()===this.mediaElement.xb()&&(a.isView()||this.mediaElement.isView())){if(a.isView()||!this.mediaElement.isView())g.mB(this.aA),this.mediaElement=a,this.mediaElement.va=this,e_a(this),this.td.setMediaElement(this.mediaElement)}else{this.mediaElement&&this.qj();if(!this.playerState.isError()){var b=NM(this.playerState,512);g.S(b,8)&&!g.S(b,2)&&(b=MM(b,1));a.isView()&&(b=NM(b,64));this.uc(b)}this.mediaElement=a;this.mediaElement.va=this;SI(this.Z)&& this.mediaElement.setLoop(this.loop);this.mediaElement.setPlaybackRate(this.playbackRate);e_a(this);this.td.setMediaElement(this.mediaElement);this.K("html5_prewarm_media_source")&&!this.Dl.tC&&vDa(this.mediaElement)}}; g.k.qj=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;if(this.mediaElement){var c=this.getCurrentTime();0this.mediaElement.getCurrentTime()&&this.Ga)return;break;case "resize":r_a(this);this.videoData.u&&"auto"===this.videoData.u.video.quality&&this.ma("internalvideoformatchange",this.videoData,!1);break;case "pause":if(this.aS&&g.S(this.playerState,8)&&!g.S(this.playerState,1024)&&0===this.getCurrentTime()&&g.ry){bZ(this,"safari_autoplay_disabled");return}}if(this.mediaElement&&this.mediaElement.Mf()===b){this.ma("videoelementevent",a);b=this.playerState;c=this.videoData.clientPlaybackNonce; if(!g.S(b,128)){d=this.SA;var e=this.mediaElement,f=this.Z.experiments,h=b.state;e=e?e:a.target;var l=e.getCurrentTime();if(!g.S(b,64)||"ended"!==a.type&&"pause"!==a.type){var m=e.Th()||1Math.abs(l-e.getDuration()),n="pause"===a.type&&e.Th();l="ended"===a.type||"waiting"===a.type||"timeupdate"===a.type&&!g.S(b,4)&&!HY(d,l);if(n||m&&l)0a-this.oG||(this.oG=a,b!==this.wh()&&(a=this.visibility,a.j!==b&&(a.j=b,a.Ig()),this.xa("airplay",{rbld:b}),qY(this)),this.ma("airplayactivechange"))}; g.k.UB=function(a){if(this.Ga){var b=this.Ga,c=b.u,d=b.currentTime,e=Date.now()-c.Y;c.Y=NaN;c.xa("sdai",{adfetchdone:a,d:e});a&&!isNaN(c.D)&&3!==c.u&&fWa(c.Ga,d,c.D,c.B);c.J=NaN;LW(c,4,3===c.u?"adfps":"adf");dY(b)}}; g.k.yc=function(a){var b=this;a=void 0===a?!1:a;if(this.mediaElement&&this.videoData){kZa(this.td,this.fd());var c=this.getCurrentTime();this.Ga&&(g.S(this.playerState,4)&&g.OK(this.videoData)||sWa(this.Ga,c));5Math.abs(m-h)?(b.xa("setended",{ct:h,bh:l,dur:m,live:n}),b.mediaElement.hs()?b.seekTo(0,{Ke:"videoplayer_loop"}):XV(b)):(g.TM(b.playerState)||o_a(b,"progress_fix"),b.uc(MM(b.playerState,1)))):(m&&!n&&!p&&0n-1&&b.xa("misspg",{t:h.toFixed(2),d:n.toFixed(2), r:m.toFixed(2),bh:l.toFixed(2)})),g.QM(b.playerState)&&g.TM(b.playerState)&&5dM(b,8)||g.eM(b,1024))&&this.qv.stop();!g.eM(b,8)||this.videoData.kb||g.S(b.state,1024)||this.qv.start();g.S(b.state,8)&&0>dM(b,16)&&!g.S(b.state,32)&&!g.S(b.state,2)&&this.playVideo();g.S(b.state,2)&&PK(this.videoData)&&(this.Rk(this.getCurrentTime()),this.yc(!0));g.eM(b,2)&&this.yO(!0);g.eM(b,128)&&this.yn();this.videoData.j&&this.videoData.isLivePlayback&&!this.fY&&(0>dM(b,8)?(a=this.videoData.j,a.C&&a.C.stop()): g.eM(b,8)&&this.videoData.j.resume());this.td.ud(b);this.zc.ud(b);if(c&&!this.isDisposed())try{for(var e=g.t(this.hH),f=e.next();!f.done;f=e.next()){var h=f.value;this.Yi.ud(h);this.ma("statechange",h)}}finally{this.hH.length=0}}}; g.k.MC=function(){this.videoData.isLivePlayback||this.K("html5_disable_connection_issue_event")||this.ma("connectionissue")}; g.k.AN=function(){this.yb.tick("qoes")}; g.k.fL=function(){this.td.fL()}; g.k.NG=function(a,b,c,d){a:{var e=this.Dl;d=void 0===d?"LICENSE":d;c=c.substr(0,256);var f=ZI(b);"drm.keyerror"===a&&this.xe&&1e.D&&(a="drm.sessionlimitexhausted",f=!1);if(f)if(e.videoData.u&&e.videoData.u.video.isHdr())uXa(e,a);else{if(e.va.Kg(a,b,d,c),lXa(e,{detail:c}))break a}else e.Nd(a,{detail:c});"drm.sessionlimitexhausted"===a&&(e.xa("retrydrm",{sessionLimitExhausted:1}),e.D++,n_a(e.va))}}; g.k.J5=function(){var a=this,b=g.rH(this.Z.experiments,"html5_license_constraint_delay"),c=tx();b&&c?(b=new g.qo(function(){cZ(a);$Y(a)},b),g.D(this,b),b.start()):(cZ(this),$Y(this))}; g.k.NC=function(a){this.ma("heartbeatparams",a)}; g.k.gp=function(a){this.xa("keystatuses",SWa(a));var b="auto",c=!1;this.videoData.u&&(b=this.videoData.u.video.quality,c=this.videoData.u.video.isHdr());if(this.K("html5_drm_check_all_key_error_states")){var d=TWa(b,c);d=jY(a)?UWa(a,d):a.C.includes(d)}else{a:{b=TWa(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.K("html5_enable_vp9_fairplay")){if(c)if(a.T){var f;if(null==(f=this.xe)?0:oH(f.j))if(null==(c=this.xe))c= 0;else{b=f=void 0;e=g.t(c.u.values());for(var h=e.next();!h.done;h=e.next())h=h.value,f||(f=VWa(h,"SD")),b||(b=VWa(h,"AUDIO"));c.Ti({sd:f,audio:b});c="output-restricted"===f||"output-restricted"===b}else c=!d;if(c){this.xa("drm",{dshdr:1});uXa(this.Dl);return}}else{this.videoData.BI||(this.videoData.BI=!0,this.xa("drm",{dphdr:1}),oY(this,!0));return}var l;if(null==(l=this.xe)?0:oH(l.j))return}else if(l=a.T&&d,c&&!l){uXa(this.Dl);return}d||UWa(a,"AUDIO")&&UWa(a,"SD")||(a=SWa(a),this.sO?(this.ma("drmoutputrestricted"), this.K("html5_report_fatal_drm_restricted_error_killswitch")||this.Kg("drm.keyerror",2,void 0,"info."+a)):(this.sO=!0,this.Nd(new YI("qoe.restart",Object.assign({},{retrydrm:1},a))),UY(this),n_a(this)))}; g.k.L5=function(){if(!this.videoData.kb&&this.mediaElement&&!this.isBackground()){var a="0";0=b.u.size){var c="ns;";b.Y||(c+="nr;");b=c+="ql."+b.B.length}else b=SWa(b.u.values().next().value),b=XI(b);a.drmp=b}var d;Object.assign(a,(null==(d=this.Ga)?void 0:d.qc())||{});var e;Object.assign(a,(null==(e=this.mediaElement)?void 0:e.qc())||{});this.zc.Nd("qoe.start15s",XI(a));this.ma("loadsofttimeout")}}; g.k.Rk=function(a){this.videoData.lengthSeconds!==a&&(this.videoData.lengthSeconds=a,$Y(this))}; g.k.yO=function(a){var b=this;a=void 0===a?!1:a;if(!this.NE){nD("att_s","player_att")||sD("att_s",void 0,"player_att");var c=new g.hKa(this.videoData);if("c1a"in c.j&&!g.mQ.isInitialized()&&(sD("att_wb",void 0,"player_att"),2===this.fK&&.01>Math.random()&&g.QB(Error("Botguard not available after 2 attempts")),!a&&5>this.fK)){g.ro(this.gK);this.fK++;return}if("c1b"in c.j){var d=IYa(this.zc);d&&kKa(c).then(function(e){e&&!b.NE&&d?(sD("att_f",void 0,"player_att"),d(e),b.NE=!0):sD("att_e",void 0,"player_att")}, function(){sD("att_e",void 0,"player_att")})}else(a=g.iKa(c))?(sD("att_f",void 0,"player_att"),HYa(this.zc,a),this.NE=!0):sD("att_e",void 0,"player_att")}}; g.k.ge=function(a){return this.td.ge(void 0===a?!1:a)}; g.k.Ld=function(){return this.td.Ld()}; g.k.Md=function(){return this.td?this.td.Md():0}; g.k.getStreamTimeOffset=function(){return this.td?this.td.getStreamTimeOffset():0}; g.k.Zp=function(){var a=0;this.Z.K("web_player_ss_media_time_offset")&&(a=0===this.getStreamTimeOffset()?this.Md():this.getStreamTimeOffset());return a}; g.k.setPlaybackRate=function(a){var b;this.playbackRate!==a&&zXa(this.Mi,null==(b=this.videoData.C)?void 0:b.videoInfos)&&UY(this);this.playbackRate=a;this.mediaElement&&this.mediaElement.setPlaybackRate(a)}; g.k.getPlaybackRate=function(){return this.playbackRate}; g.k.getPlaybackQuality=function(){var a="unknown";if(this.videoData.u&&(a=this.videoData.u.video.quality,"auto"===a&&this.mediaElement)){var b=$L(this);b&&0=+c),b.dis=this.mediaElement.getStyle("display"));(a=a?(0,g.vY)():null)&&(b.gpu=a);b.debug_playbackQuality=this.Va.getPlaybackQuality(1);b.debug_date=(new Date).toString();delete b.uga;delete b.q;return JSON.stringify(b,null,2)}; g.k.getFeedbackProductData=function(){var a={player_debug_info:this.getDebugText(!0),player_experiment_ids:this.V().experiments.experimentIds.join(", ")},b=this.Gb().getData();b&&(a.player_error_code=b.errorCode,a.player_error_details=JSON.stringify(b.errorDetail));return a}; g.k.getPresentingPlayerType=function(a){if(1===this.appState)return 1;if(nZ(this))return 3;var b;return a&&(null==(b=this.Le)?0:DQa(b,this.getCurrentTime()))?2:g.VQ(this).getPlayerType()}; g.k.Gb=function(a){return 3===this.getPresentingPlayerType()?kR(this.Zc).Re:g.VQ(this,a).getPlayerState()}; g.k.getAppState=function(){return this.appState}; g.k.GN=function(a){switch(a.type){case "loadedmetadata":this.EH.start();a=g.t(this.zz);for(var b=a.next();!b.done;b=a.next())b=b.value,b0a(this,b.id,b.r9,b.q9,void 0,!1);this.zz=[];break;case "loadstart":this.yb.Gt("gv");break;case "progress":case "timeupdate":2<=zG(a.target.Qh())&&this.yb.Gt("l2s");break;case "playing":g.QI&&this.EH.start();if(g.CI(this.Z))a=!1;else{b=g.mR(this.wb());a="none"===this.mediaElement.getStyle("display")||0===qe(this.mediaElement.getSize());var c=AW(this.template),d=this.Kb.getVideoData(), e=g.wI(this.Z)||g.xI(this.Z);d=CK(d);b=!c||b||e||d||this.Z.Pd;a=a&&!b}a&&(this.Kb.xa("hidden",{},!0),this.getVideoData().Ec||(this.getVideoData().Ec=1,this.NV(null),this.Kb.playVideo()))}}; g.k.onLoadProgress=function(a,b){this.Va.Na("onLoadProgress",b)}; g.k.Z6=function(){this.Va.ma("playbackstalledatstart")}; g.k.onVideoProgress=function(a,b){a=mZ(this,a);b=wZ(this,a.getCurrentTime(),a);this.Va.Na("onVideoProgress",b)}; g.k.onAutoplayBlocked=function(){this.Va.Na("onAutoplayBlocked")}; g.k.r6=function(){this.Va.ma("progresssync")}; g.k.a5=function(a){if(1===this.getPresentingPlayerType()){g.eM(a,1)&&!g.S(a.state,64)&&this.Kd().isLivePlayback&&this.Ab.isAtLiveHead()&&1=1E3*(this.getDuration()-1)){R_a(this);return}I_a(this)}if(g.S(a.state,128)){var b=a.state;this.cancelPlayback(5);b=b.getData();JSON.stringify({errorData:b,debugInfo:this.getDebugText(!0)});this.Va.Na("onError",xKa(b.errorCode));this.Va.Na("onDetailedError",{errorCode:b.errorCode, errorDetail:b.errorDetail,message:b.errorMessage,messageKey:b.YK,cpn:b.cpn});6048E5<(0,g.M)()-this.Z.If&&this.Va.Na("onReloadRequired")}b={};if(a.state.fd()&&!g.TM(a.state)&&!nD("pbresume","ad_to_video")&&nD("_start","ad_to_video")){var c=this.getVideoData();b.clientPlaybackNonce=c.clientPlaybackNonce;c.videoId&&(b.videoId=c.videoId);oD(b,"ad_to_video");rD("pbresume",void 0,"ad_to_video");this.Zc.gF()}this.Va.ma("applicationplayerstatechange",a)}}; g.k.gW=function(a){3!==this.getPresentingPlayerType()&&this.Va.ma("presentingplayerstatechange",a)}; g.k.Ki=function(a){kZ(this,UM(a.state));g.S(a.state,1024)&&this.Va.isMutedByMutedAutoplay()&&($Q(this,{muted:!1,volume:this.xi.volume},!1),uZ(this,!1))}; g.k.W4=function(a,b,c){"newdata"===a&&B_a(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.JC=function(){this.Va.Na("onPlaybackAudioChange",this.Va.getAudioTrack().Oc.name)}; g.k.UC=function(a){var b=this.Kb.getVideoData();a===b&&this.Va.Na("onPlaybackQualityChange",a.u.video.quality)}; g.k.onVideoDataChange=function(a,b,c){b===this.Ab&&(this.Z.cj=c.oauthToken);if(b===this.Ab&&(this.getVideoData().enableServerStitchedDai&&!this.Le?this.Le=new g.bW(this.Va,this.Z,this.Ab):!this.getVideoData().enableServerStitchedDai&&this.Le&&(this.Le.dispose(),this.Le=null),this.K("html5_enable_ssap"))){this.Lv.Ff();var d=sQa(this.Lv,1,0,this.getDuration(1));var e=this.Lv;d.B===e&&(0===e.segments.length&&(e.j=d),e.segments.push(d));this.Oi=new mW(this.Va,this.Lv,this.Ab)}if("newdata"===a)xS(this.Zc, 2),this.Va.ma("videoplayerreset",b);else{if(!this.mediaElement)return;"dataloaded"===a&&(this.Kb===this.Ab?(AI(c.B,c.IW),this.Ab.getPlayerState().isError()||(d=nZ(this),this.Kd().isLoaded(),d&&this.qp(6),M_a(this),wS(this.Zc)||L_a(this))):M_a(this));if(1===b.getPlayerType()&&(this.Z.Za&&k0a(this),this.getVideoData().isLivePlayback&&!this.Z.Po&&this.xg("html5.unsupportedlive",2,"DEVICE_FALLBACK"),c.isLoaded())){if(YBa(c)||this.getVideoData().hA){d=this.zx;var f=this.getVideoData();e=this.Ab;OQ(d,"part2viewed", 1,0x8000000000000,e);OQ(d,"engagedview",Math.max(1,1E3*f.Tb),0x8000000000000,e);f.isLivePlayback||(f=1E3*f.lengthSeconds,OQ(d,"videoplaytime25",.25*f,f,e),OQ(d,"videoplaytime50",.5*f,f,e),OQ(d,"videoplaytime75",.75*f,f,e),OQ(d,"videoplaytime100",f,0x8000000000000,e),OQ(d,"conversionview",f,0x8000000000000,e),OQ(d,"videoplaybackstart",1,f,e),OQ(d,"videoplayback2s",2E3,f,e),OQ(d,"videoplayback10s",1E4,f,e))}if(c.hasProgressBarBoundaries()){var h;d=Number(null==(h=this.getVideoData().progressBarEndPosition)? void 0:h.utcTimeMillis)/1E3;!isNaN(d)&&(h=this.Lf())&&(h-=this.getCurrentTime(),h=1E3*(d-h),d=this.oH.progressEndBoundary,(null==d?void 0:d.start)!==h&&(d&&this.wH([d]),h=new g.kC(h,0x7ffffffffffff,{id:"progressEndBoundary",namespace:"appprogressboundary"}),this.Ab.addCueRange(h),this.oH.progressEndBoundary=h))}}this.Va.ma("videodatachange",a,c,b.getPlayerType())}this.Va.Na("onVideoDataChange",{type:a,playertype:b.getPlayerType()});this.HH();(a=c.wD)?this.Is.BS(a,c.clientPlaybackNonce):BRa(this.Is)}; g.k.YE=function(){pZ(this,null);this.Va.Na("onPlaylistUpdate")}; g.k.qV=function(a){var b=a.getId(),c=this.Kd(),d=!this.isInline();if(!c.inlineMetricEnabled&&!this.Z.experiments.qb("enable_player_logging_lr_home_infeed_ads")||d){if("part2viewed"===b){if(c.vY&&g.Jz(c.vY),c.hL&&CZ(this,c.hL),c.kx)for(var e={CPN:this.getVideoData().clientPlaybackNonce},f=g.t(c.kx),h=f.next();!h.done;h=f.next())CZ(this,g.jo(h.value,e))}else"conversionview"===b?this.Ab.Wz():"engagedview"===b&&c.eh&&(e={CPN:this.getVideoData().clientPlaybackNonce},g.Jz(g.jo(c.eh,e)));c.yY&&(e=a.getId(), e=Iw(c.yY,{label:e}),g.Jz(e));switch(b){case "videoplaytime25":c.EX&&CZ(this,c.EX);c.sM&&DZ(this,c.sM);c.AY&&g.Jz(c.AY);break;case "videoplaytime50":c.UX&&CZ(this,c.UX);c.BM&&DZ(this,c.BM);c.OP&&g.Jz(c.OP);break;case "videoplaytime75":c.qY&&CZ(this,c.qY);c.HM&&DZ(this,c.HM);c.PP&&g.Jz(c.PP);break;case "videoplaytime100":c.lX&&CZ(this,c.lX),c.rM&&DZ(this,c.rM),c.zY&&g.Jz(c.zY)}(e=this.getVideoData().hA)&&Y_a(this,e,a.getId())&&Y_a(this,e,a.getId()+"gaia")}if(c.inlineMetricEnabled&&!d)switch(b){case "videoplaybackstart":var l, m=null==(l=c.lx)?void 0:l.j;m&&CZ(this,m);break;case "videoplayback2s":(l=null==(m=c.lx)?void 0:m.B)&&CZ(this,l);break;case "videoplayback10s":var n;(l=null==(n=c.lx)?void 0:n.u)&&CZ(this,l)}this.Ab.removeCueRange(a)}; g.k.q6=function(a){delete this.oH[a.getId()];this.Ab.removeCueRange(a);a:{a=this.getVideoData();var b,c,d,e,f,h,l,m,n,p,q=(null==(b=a.jd)?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.jd)?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.t(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.K(c,g.wK),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.K(a,g.wK))&&this.Va.Na("onPlayVideo",{sessionData:{autonav:"1",itct:null==a?void 0:a.clickTrackingParams},videoId:b.videoId,watchEndpoint:b})}; g.k.qp=function(a){a!==this.appState&&(2===a&&1===this.getPresentingPlayerType()&&(kZ(this,-1),kZ(this,5)),this.appState=a,this.Va.ma("appstatechange",a))}; g.k.xg=function(a,b,c,d,e){this.Ab.Kg(a,b,c,d,e)}; g.k.Rq=function(a,b){this.Ab.handleError(new YI(a,b))}; g.k.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.VQ(this,a);if(!c)return!1;a=lZ(this,c);c=mZ(this,c);return a!==c?a.isAtLiveHead(wZ(this,c.getCurrentTime(),c),!0):a.isAtLiveHead(void 0,b)}; g.k.Zr=function(){var a=g.VQ(this);return a?lZ(this,a).Zr():0}; g.k.seekTo=function(a,b,c,d){b=!1!==b;if(d=g.VQ(this,d))2===this.appState&&sZ(this),this.nf(d)?vZ(this)?this.Le.seekTo(a,b,c):this.Gd.seekTo(a,b,c):d.seekTo(a,{VX:!b,WX:c,Ke:"application"})}; g.k.seekBy=function(a,b,c,d){this.seekTo(this.getCurrentTime()+a,b,c,d)}; g.k.gz=function(){this.Va.Na("SEEK_COMPLETE")}; g.k.O6=function(a,b){var c=a.getVideoData();if(1===this.appState||2===this.appState)c.startSeconds=b;2===this.appState?g.S(a.getPlayerState(),512)||sZ(this):this.Va.Na("SEEK_TO",b)}; g.k.onAirPlayActiveChange=function(){this.Va.ma("airplayactivechange");this.Z.K("html5_external_airplay_events")&&this.Va.Na("onAirPlayActiveChange",this.Va.wh())}; g.k.onAirPlayAvailabilityChange=function(){this.Va.ma("airplayavailabilitychange");this.Z.K("html5_external_airplay_events")&&this.Va.Na("onAirPlayAvailabilityChange",this.Va.gC())}; g.k.showAirplayPicker=function(){var a;null==(a=this.Kb)||a.xt()}; g.k.bN=function(){this.Va.ma("beginseeking")}; g.k.gN=function(){this.Va.ma("endseeking")}; g.k.getStoryboardFormat=function(a){return(a=g.VQ(this,a))?lZ(this,a).getVideoData().getStoryboardFormat():null}; g.k.Hj=function(a){return(a=g.VQ(this,a))?lZ(this,a).getVideoData().Hj():null}; g.k.nf=function(a){a=a||this.Kb;var b=!1;if(a){a=a.getVideoData();if(vZ(this))a=a===this.Le.va.getVideoData();else a:if(b=this.Gd,a===b.j.getVideoData()&&b.u.length)a=!0;else{b=g.t(b.u);for(var c=b.next();!c.done;c=b.next())if(a.Mc===c.value.Mc){a=!0;break a}a=!1}b=a}return b}; g.k.yx=function(a,b,c,d,e,f,h){var l=vZ(this),m;null==(m=g.VQ(this))||m.xa("appattl",{sstm:this.Le?1:0,ssenable:this.getVideoData().enableServerStitchedDai,susstm:l});return l?AQa(this.Le,a,b,c,d,e,f,h):ZQa(this.Gd,a,c,d,e,f)}; g.k.cC=function(a,b,c,d,e,f,h){vZ(this)&&AQa(this.Le,a,b,c,d,e,f,h);return""}; g.k.Zs=function(a){var b;null==(b=this.Le)||b.Zs(a)}; g.k.yu=function(a,b){a=void 0===a?-1:a;b=void 0===b?Infinity:b;vZ(this)||hRa(this.Gd,a,b)}; g.k.Vz=function(a,b,c){if(vZ(this)){var d=this.Le,e=d.Ec.get(a);e?(void 0===c&&(c=e.Ed),e.durationMs=b,e.Ed=c):d.wC("Invalid_timelinePlaybackId_"+a+"_specified")}else{d=this.Gd;e=null;for(var f=g.t(d.u),h=f.next();!h.done;h=f.next())if(h=h.value,h.Mc===a){e=h;break}e?(void 0===c&&(c=e.Ed),gRa(d,e,b,c)):nW(d,"InvalidTimelinePlaybackId timelinePlaybackId="+a)}}; g.k.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;d=void 0===d?"":d;this.nf();a=new g.hK(this.Z,a);d&&(a.Mc=d);c=void 0===c?Infinity:c;d=b||this.Kb.getPlayerType();(b=P_a(this,d,a,!0))||(b=K_a(this,d,a));2===d&&this.Ab&&(a=b.getVideoData(),this.Ab.sz(a.clientPlaybackNonce,a.uf||"",a.breakType||0,a.Oh));this.oF(b,c)}; g.k.oF=function(a,b,c){var d=this;c=void 0===c?0:c;var e=g.VQ(this);e&&(lZ(this,e).fY=!0);lQa(this.bA,a,b,c).then(function(){d.Va.Na("onQueuedVideoLoaded")},function(){})}; g.k.Gy=function(){return this.bA.Gy()}; g.k.clearQueue=function(){this.bA.clearQueue()}; g.k.loadVideoByPlayerVars=function(a,b,c,d,e){b=void 0===b?1:b;var f=!1;this.K("fetch_bid_for_dclk_status")&&g.Xx(g.Zx(),function(){TB("player")}); var h=new g.hK(this.Z,a);g.PI(this.Z)&&!h.qn&&$R(this.yb);var l;qLa(this.yb,null!=(l=h.Ra)?l:"");this.yb.ri("pl_i");this.K("web_player_early_cpn")&&h.clientPlaybackNonce&&this.yb.info("cpn",h.clientPlaybackNonce);if(e){for(;h.Nl.length&&h.Nl[0].isExpired();)h.Nl.shift();f=h.Nl.length-1;f=0Math.random()&&g.hy("autoplayTriggered",{intentional:this.qU});this.PU=!1;this.Zc.gF();this.K("web_player_defer_ad")&&L_a(this);this.Va.Na("onPlaybackStartExternal");(this.Z.K("mweb_client_log_screen_associated"),this.Z.K("kids_web_client_log_screen_associated")&&DI(this.Z))||a();var c={};this.getVideoData().T&& (c.cttAuthInfo={token:this.getVideoData().T,videoId:this.getVideoData().videoId});pD("player_att",c);if(this.getVideoData().botguardData||this.K("fetch_att_independently"))g.MI(this.Z)||"MWEB"===g.wH(this.Z)?g.Xx(g.Zx(),function(){tZ(b)}):tZ(this); this.HH()}; g.k.nN=function(){this.Va.ma("internalAbandon");xZ(this)}; g.k.BV=function(a){a=a.j;!isNaN(a)&&0window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.mediaElement.kB())}; g.k.K5=function(a){3!==this.getPresentingPlayerType()&&this.Va.ma("liveviewshift",a)}; g.k.playVideo=function(a){if(a=g.VQ(this,a))2===this.appState?(g.PI(this.Z)&&$R(this.yb),sZ(this)):g.S(a.getPlayerState(),2)?this.seekTo(0):a.playVideo()}; g.k.pauseVideo=function(a){(a=g.VQ(this,a))&&a.pauseVideo()}; g.k.stopVideo=function(){var a=this.Ab.getVideoData(),b=new g.hK(this.Z,{video_id:a.HI||a.videoId,oauth_token:a.oauthToken});b.ea=g.Xc(a.ea);this.cancelPlayback(6);AZ(this,b,1)}; g.k.cancelPlayback=function(a,b){zz(this.Ht);this.Ht=0;var c=g.VQ(this,b);c&&(2===b&&1===c.getPlayerType()&&lCa(this.Kd())?c.xa("canclpb",{r:"no_adpb_ssdai"}):(this.Z.Td()&&c.xa("canclpb",{r:a}),1!==this.appState&&2!==this.appState&&(c===this.Kb&&xS(this.Zc,a),1===b&&(c.stopVideo(),xZ(this)),c.yn(void 0,!0),jZ(this,"cuerangesremoved",c.Cm()),c.Yi.reset(),this.bA&&c.isGapless()&&(c.qj(!0),c.setMediaElement(this.mediaElement)))))}; g.k.sendVideoStatsEngageEvent=function(a,b,c){(b=g.VQ(this,b))&&this.Z.enabledEngageTypes.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()}; g.k.Gj=function(a){var b=g.VQ(this);return b&&this.Z.enabledEngageTypes.has(a.toString())?b.Gj(a):null}; g.k.updatePlaylist=function(){KI(this.Z)?qZ(this):g.oI(this.Z)&&N_a(this);this.Va.Na("onPlaylistUpdate")}; g.k.setSizeStyle=function(a,b){this.qX=a;this.qM=b;this.Va.ma("sizestylechange",a,b);this.template.resize()}; g.k.gj=function(){return this.qM}; g.k.pg=function(){return this.visibility.pg()}; g.k.isInline=function(){return this.visibility.isInline()}; g.k.Fy=function(){return this.visibility.Fy()}; g.k.Cy=function(){return this.visibility.Cy()}; g.k.oC=function(){return this.qX}; g.k.getAdState=function(){if(3===this.getPresentingPlayerType())return kR(this.Zc).getAdState();if(!this.nf()){var a=yS(this.wb());if(a)return a.getAdState()}return-1}; g.k.C6=function(a){var b=this.template.getVideoContentRect();Hl(this.JU,b)||(this.JU=b,this.Kb&&cZ(this.Kb),this.Ab&&this.Ab!==this.Kb&&cZ(this.Ab),1===this.gy()&&this.WC&&h0a(this,!0));this.xM&&g.pe(this.xM,a)||(this.Va.ma("appresize",a),this.xM=a)}; g.k.yh=function(){return this.Va.yh()}; g.k.U6=function(){2===this.getPresentingPlayerType()&&this.Gd.isManifestless()?fRa(this.Gd):(this.Le&&(HQa(this.Le),xZ(this)),H_a(this,"signature"))}; g.k.NV=function(){this.qj();iZ(this)}; g.k.Y5=function(a){"manifest.net.badstatus"===a.errorCode&&a.details.rc===(this.Z.experiments.qb("html5_use_network_error_code_enums")?401:"401")&&this.Va.Na("onPlayerRequestAuthFailed")}; g.k.MC=function(){this.Va.Na("CONNECTION_ISSUE")}; g.k.NC=function(a){this.Va.ma("heartbeatparams",a)}; g.k.BH=function(a){this.Va.Na("onAutonavChangeRequest",1!==a)}; g.k.ye=function(){return this.mediaElement}; g.k.setBlackout=function(a){this.Z.Pd=a;this.Kb&&(this.Kb.Yq(),this.Z.Za&&k0a(this))}; g.k.a6=function(){var a=g.VQ(this);if(a){var b=!this.Va.mC();(a.ST=b)||a.qv.stop();if(a.videoData.j)if(b)a.videoData.j.resume();else{var c=a.videoData.j;c.C&&c.C.stop()}a.Ga&&(b?a.Ga.resume():fZ(a,!0));g.S(a.playerState,2)||b?g.S(a.playerState,512)&&b&&a.uc(NM(a.playerState,512)):a.uc(MM(a.playerState,512));a=a.zc;a.qoe&&(a=a.qoe,g.sY(a,g.WV(a.provider),"stream",[b?"A":"I"]))}}; g.k.onLoadedMetadata=function(){this.Va.Na("onLoadedMetadata")}; g.k.onDrmOutputRestricted=function(){this.Va.Na("onDrmOutputRestricted")}; g.k.eK=function(){Jbb=this.K("html5_use_async_stopVideo");Kbb=this.K("html5_pause_for_async_stopVideo");Ibb=this.K("html5_not_reset_media_source");ADa=this.K("html5_rebase_video_to_ad_timeline");IG=this.K("html5_not_reset_media_source");jbb=this.K("html5_not_reset_media_source");CG=this.K("html5_retain_source_buffer_appends_for_debugging");ibb=this.K("html5_mitigate_quota_exceeded_slice_splitting");this.K("html5_mediastream_applies_timestamp_offset")&&(eX=!0);var a=g.rH(this.Z.experiments,"html5_cobalt_override_quic"); a&&NV("QUIC",+(0a)){var e;if((c=null==(e=this.getVideoData())?void 0:e.Ok)&&athis.u.length)throw new N("Invalid sub layout rendering adapter length when scheduling composite layout.",{length:String(this.u.length)});var a=FZ(this.Ib().Ba,"metadata_type_ad_pod_skip_target_callback_ref");a&&(a.current=this);a=g.t(this.u);for(var b=a.next();!b.done;b=a.next())b=b.value,b.init(),Y0a(this.B,this.slot,b.Ib()),Z0a(this.B,this.slot,b.Ib())}; g.k.ot=function(){var a=FZ(this.Ib().Ba,"metadata_type_ad_pod_skip_target_callback_ref");a&&(a.current=null);a=g.t(this.u);for(var b=a.next();!b.done;b=a.next())b=b.value,wM(this.B,this.slot,b.Ib()),b.release()}; g.k.Hv=function(a,b){var c=this.u[this.j];b.layoutId!==B1(c,a,b)?UB("pauseLayout for a PlayerBytes layout that is not currently active",a,b):c.Hv()}; g.k.Tv=function(a,b){var c=this.u[this.j];b.layoutId!==B1(c,a,b)?UB("resumeLayout for a PlayerBytes layout that is not currently active",a,b):c.Tv()}; g.k.SC=function(a,b){var c=this.u[this.j];b.layoutId!==B1(c,a,b)?UB("onSkipRequested for a PlayerBytes layout that is not currently active",c.kd(),c.Ib(),{requestingSlot:a,requestingLayout:b}):Q4a(this,c.kd(),c.Ib(),"skipped")}; g.k.Bt=function(){-1===this.j&&P4a(this,this.j+1)}; g.k.b7=function(a,b){P_(this.B,a,b)}; g.k.Dt=function(a,b){var c=this;this.j!==this.u.length?(a=this.u[this.j],a.Mg(a.Ib(),b),this.D=function(){c.callback.rd(c.slot,c.layout,b)}):this.callback.rd(this.slot,this.layout,b)}; g.k.Uc=function(a,b){var c=this.u[this.j];c&&c.Uc(a,b)}; g.k.rd=function(a,b,c){A1.prototype.rd.call(this,a,b,c);var d=this.u[this.j];d&&d.rd(a,b,c)}; g.k.WU=function(){var a=this.u[this.j];a&&a.VF()}; g.k.Mj=function(a){var b=this.u[this.j];b&&b.Mj(a)}; g.k.VV=function(a){var b=this.u[this.j];b&&b.Jk(a)}; g.k.Yf=function(a,b,c){-1===this.j&&(this.callback.Uc(this.slot,this.layout),this.j++);var d=this.u[this.j];d?d.BC(a,b,c):UB("No active adapter found onLayoutError in PlayerBytesVodCompositeLayoutRenderingAdapter",void 0,void 0,{activeSubLayoutIndex:String(this.j),layoutId:this.Ib().layoutId})}; g.k.onFullscreenToggled=function(a){var b=this.u[this.j];if(b)b.onFullscreenToggled(a)}; g.k.Xh=function(a){var b=this.u[this.j];b&&b.Xh(a)}; g.k.Ik=function(a){var b=this.u[this.j];b&&b.Ik(a)}; g.k.onVolumeChange=function(){var a=this.u[this.j];if(a)a.onVolumeChange()}; g.k.d7=function(a,b,c){Q4a(this,a,b,c)}; g.k.c7=function(a,b){Q4a(this,a,b,"error")};g.v(F1,g.C);g.k=F1.prototype;g.k.kd=function(){return this.slot}; g.k.Ib=function(){return this.layout}; g.k.init=function(){var a=FZ(this.layout.Ba,"metadata_type_video_length_seconds"),b=FZ(this.layout.Ba,"metadata_type_active_view_traffic_type");tL(this.layout.Rb)&&V3a(this.Nb.get(),this.layout.layoutId,b,a,this);Z3a(this.Pa.get(),this);this.Hs()}; g.k.release=function(){tL(this.layout.Rb)&&W3a(this.Nb.get(),this.layout.layoutId);$3a(this.Pa.get(),this);this.ot()}; g.k.Hv=function(){}; g.k.Tv=function(){}; g.k.startRendering=function(a){a.layoutId!==this.layout.layoutId?this.callback.Yf(this.slot,a,new H_("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"):(this.Fc="rendering_start_requested",pCa(this.Sf.get(),1)?(this.iD(-1),this.Bt(a),this.Dx(!1)):this.BC("ui_unstable",new H_("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.Uc=function(a,b){if(b.layoutId===this.layout.layoutId){this.Fc="rendering";this.pC=this.Ha.get().isMuted()||0===this.Ha.get().getVolume();this.hd("impression");this.hd("start");if(this.Ha.get().isMuted()){this.lw("mute");var c;a=(null==(c=E1(this))?void 0:c.muteCommands)||[];this.Ob.get().Cg(a,this.layout.layoutId)}if(this.Ha.get().isFullscreen()){this.nh("fullscreen");var d;c=(null==(d=E1(this))?void 0:d.fullscreenCommands)||[];this.Ob.get().Cg(c,this.layout.layoutId)}this.Lc.get().zO();this.iD(1); this.JV();var e;d=(null==(e=E1(this))?void 0:e.impressionCommands)||[];this.Ob.get().Cg(d,this.layout.layoutId)}}; g.k.BC=function(a,b,c){this.Zt={nI:3,YD:"load_timeout"===a?402:400,errorMessage:b.message};this.hd("error");var d;a=(null==(d=E1(this))?void 0:d.errorCommands)||[];this.Ob.get().Cg(a,this.layout.layoutId);this.callback.Yf(this.slot,this.layout,b,c)}; g.k.VF=function(){this.CK()}; g.k.IT=function(){if("rendering"===this.Fc){this.lw("pause");var a,b=(null==(a=E1(this))?void 0:a.pauseCommands)||[];this.Ob.get().Cg(b,this.layout.layoutId);this.iD(2)}}; g.k.JT=function(){if("rendering"===this.Fc){this.lw("resume");var a,b=(null==(a=E1(this))?void 0:a.resumeCommands)||[];this.Ob.get().Cg(b,this.layout.layoutId)}}; g.k.Mg=function(a,b){if(a.layoutId!==this.layout.layoutId)this.callback.Yf(this.slot,a,new H_("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.Fc){this.Fc="rendering_stop_requested";this.layoutExitReason=b;switch(b){case "normal":this.hd("complete");break;case "skipped":this.hd("skip"); break;case "abandoned":r1(this.Ya,"impression")&&this.hd("abandon")}this.Dt(a,b)}}; g.k.rd=function(a,b,c){if(b.layoutId===this.layout.layoutId)switch(this.Fc="not_rendering",this.layoutExitReason=void 0,(a="normal"!==c||this.position+1===this.MX)&&this.Dx(a),this.KV(c),this.iD(0),c){case "abandoned":if(r1(this.Ya,"impression")){var d,e=(null==(d=E1(this))?void 0:d.abandonCommands)||[];this.Ob.get().Cg(e,this.layout.layoutId)}break;case "normal":d=(null==(e=E1(this))?void 0:e.completeCommands)||[];this.Ob.get().Cg(d,this.layout.layoutId);break;case "skipped":var f;d=(null==(f=E1(this))? void 0:f.skipCommands)||[];this.Ob.get().Cg(d,this.layout.layoutId)}}; g.k.jy=function(){return this.layout.layoutId}; g.k.jL=function(){return this.Zt}; g.k.Jk=function(a){if("not_rendering"!==this.Fc){this.aX||(a=new g.cM(a.state,new g.KM),this.aX=!0);var b=2===this.Ha.get().getPresentingPlayerType();"rendering_start_requested"===this.Fc?b&&R4a(a)&&this.vS():b?g.eM(a,2)?this.Hi():(R4a(a)?this.iD(1):g.eM(a,4)&&!g.eM(a,2)&&this.IT(),0>dM(a,4)&&!(0>dM(a,2))&&this.JT()):this.VF()}}; g.k.HC=function(){if("rendering"===this.Fc){this.Ya.hd("active_view_measurable");var a,b=(null==(a=E1(this))?void 0:a.activeViewMeasurableCommands)||[];this.Ob.get().Cg(b,this.layout.layoutId)}}; g.k.GC=function(){if("rendering"===this.Fc){this.Ya.hd("active_view_fully_viewable_audible_half_duration");var a,b=(null==(a=E1(this))?void 0:a.activeViewFullyViewableAudibleHalfDurationCommands)||[];this.Ob.get().Cg(b,this.layout.layoutId)}}; g.k.IC=function(){if("rendering"===this.Fc){this.Ya.hd("active_view_viewable");var a,b=(null==(a=E1(this))?void 0:a.activeViewViewableCommands)||[];this.Ob.get().Cg(b,this.layout.layoutId)}}; g.k.EC=function(){if("rendering"===this.Fc){this.Ya.hd("audio_audible");var a,b=(null==(a=E1(this))?void 0:a.activeViewAudioAudibleCommands)||[];this.Ob.get().Cg(b,this.layout.layoutId)}}; g.k.FC=function(){if("rendering"===this.Fc){this.Ya.hd("audio_measurable");var a,b=(null==(a=E1(this))?void 0:a.activeViewAudioMeasurableCommands)||[];this.Ob.get().Cg(b,this.layout.layoutId)}}; g.k.Dx=function(a){this.Lc.get().Dx(FZ(this.layout.Ba,"metadata_type_ad_placement_config").kind,a,this.position,this.MX,!1)}; g.k.onFullscreenToggled=function(a){if("rendering"===this.Fc)if(a){this.nh("fullscreen");var b,c=(null==(b=E1(this))?void 0:b.fullscreenCommands)||[];this.Ob.get().Cg(c,this.layout.layoutId)}else this.nh("end_fullscreen"),b=(null==(c=E1(this))?void 0:c.endFullscreenCommands)||[],this.Ob.get().Cg(b,this.layout.layoutId)}; g.k.onVolumeChange=function(){if("rendering"===this.Fc)if(this.Ha.get().isMuted()){this.lw("mute");var a,b=(null==(a=E1(this))?void 0:a.muteCommands)||[];this.Ob.get().Cg(b,this.layout.layoutId)}else this.lw("unmute"),a=(null==(b=E1(this))?void 0:b.unmuteCommands)||[],this.Ob.get().Cg(a,this.layout.layoutId)}; g.k.Xh=function(){}; g.k.Ik=function(){}; g.k.Pl=function(){}; g.k.nh=function(a){this.Ya.nh(a,!this.pC)}; g.k.hd=function(a){this.Ya.hd(a,!this.pC)}; g.k.lw=function(a){this.Ya.lw(a,!this.pC)};g.v(W4a,F1);g.k=W4a.prototype;g.k.Hs=function(){}; g.k.ot=function(){var a=this.Pa.get();a.XH===this&&(a.XH=null);this.timer.stop()}; g.k.Bt=function(){V4a(this);j4a(this.Ha.get());this.Pa.get().XH=this;nD("pbp")||nD("pbs")||sD("pbp");nD("pbp","watch")||nD("pbs","watch")||sD("pbp",void 0,"watch");this.vS()}; g.k.JV=function(){Z4a(this)}; g.k.Hi=function(){}; g.k.Hv=function(){this.timer.stop();F1.prototype.IT.call(this)}; g.k.Tv=function(){Z4a(this);F1.prototype.JT.call(this)}; g.k.iy=function(){return FZ(this.Ib().Ba,"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS")}; g.k.Dt=function(){this.timer.stop()}; g.k.yc=function(){var a=Date.now(),b=a-this.zM;this.zM=a;this.Pi+=b;this.Pi>=this.iy()?(this.Pi=this.iy(),G1(this,this.Pi/1E3,!0),Y4a(this,this.Pi),this.CK()):(G1(this,this.Pi/1E3),Y4a(this,this.Pi))}; g.k.KV=function(){}; g.k.Mj=function(){};g.v(H1,F1);g.k=H1.prototype;g.k.Hs=function(){FZ(this.Ib().Ba,"metadata_type_player_bytes_callback_ref").current=this;this.shrunkenPlayerBytesConfig=FZ(this.Ib().Ba,"metadata_type_shrunken_player_bytes_config")}; g.k.ot=function(){FZ(this.Ib().Ba,"metadata_type_player_bytes_callback_ref").current=null;this.Bu&&this.xc.get().removeCueRange(this.Bu);this.Bu=void 0;this.AG.dispose();this.Uy&&this.Uy.dispose()}; g.k.Bt=function(a){var b=s0(this.Ca.get()),c=t0(this.Ca.get());if(b&&c){c=FZ(a.Ba,"metadata_type_preload_player_vars");var d=g.rH(this.Ca.get().F.V().experiments,"html5_preload_wait_time_secs");c&&this.Uy&&this.Uy.start(1E3*d)}c=FZ(a.Ba,"metadata_type_ad_video_id");d=FZ(a.Ba,"metadata_type_legacy_info_card_vast_extension");c&&d&&this.Xf.get().F.V().ya.add(c,{VA:d});(c=FZ(a.Ba,"metadata_type_sodar_extension_data"))&&m4a(this.cf.get(),c);k4a(this.Ha.get(),!1);V4a(this);b?(c=this.Oe.get(),a=FZ(a.Ba, "metadata_type_player_vars"),c.F.loadVideoByPlayerVars(a,!1,2)):(c=this.Oe.get(),a=FZ(a.Ba,"metadata_type_player_vars"),c.F.cueVideoByPlayerVars(a,2));this.AG.start();b||this.Oe.get().F.playVideo(2)}; g.k.JV=function(){this.AG.stop();this.Bu="adcompletioncuerange:"+this.Ib().layoutId;this.xc.get().addCueRange(this.Bu,0x7ffffffffffff,0x8000000000000,!1,this,2,2);var a;(this.adCpn=(null==(a=this.Wa.get().gg(2))?void 0:a.clientPlaybackNonce)||"")||UB("Media layout confirmed started, but ad CPN not set.");this.yd.get().Na("onAdStart",this.adCpn)}; g.k.Hi=function(){this.CK()}; g.k.iy=function(){var a;return null==(a=this.Wa.get().gg(2))?void 0:a.H7}; g.k.yH=function(){this.Ya.nh("clickthrough")}; g.k.Dt=function(){this.AG.stop();this.Uy&&this.Uy.stop();k4a(this.Ha.get(),!0);var a;(null==(a=this.shrunkenPlayerBytesConfig)?0:a.shouldRequestShrunkenPlayerBytes)&&this.Ha.get().Hz(!1)}; g.k.onCueRangeEnter=function(a){a!==this.Bu?UB("Received CueRangeEnter signal for unknown layout.",this.kd(),this.Ib(),{cueRangeId:a}):(this.xc.get().removeCueRange(this.Bu),this.Bu=void 0,a=FZ(this.Ib().Ba,"metadata_type_video_length_seconds"),G1(this,a,!0),this.hd("complete"))}; g.k.KV=function(a){"abandoned"!==a&&this.yd.get().Na("onAdComplete");this.yd.get().Na("onAdEnd",this.adCpn)}; g.k.onCueRangeExit=function(){}; g.k.Mj=function(a){"rendering"===this.Fc&&(this.shrunkenPlayerBytesConfig&&this.shrunkenPlayerBytesConfig.shouldRequestShrunkenPlayerBytes&&a>=(this.shrunkenPlayerBytesConfig.playerProgressOffsetSeconds||0)&&this.Ha.get().Hz(!0),G1(this,a))};g.v(a5a,A1);g.k=a5a.prototype;g.k.kd=function(){return this.j.kd()}; g.k.Ib=function(){return this.j.Ib()}; g.k.Hs=function(){this.j.init()}; g.k.ot=function(){this.j.release()}; g.k.Hv=function(){this.j.Hv()}; g.k.Tv=function(){this.j.Tv()}; g.k.SC=function(a,b){UB("Unexpected onSkipRequested from PlayerBytesVodSingleLayoutRenderingAdapter. Skip should be handled by Triggers",this.kd(),this.Ib(),{requestingSlot:a,requestingLayout:b})}; g.k.Bt=function(a){this.j.startRendering(a)}; g.k.Dt=function(a,b){this.j.Mg(a,b)}; g.k.Uc=function(a,b){this.j.Uc(a,b)}; g.k.rd=function(a,b,c){A1.prototype.rd.call(this,a,b,c);this.j.rd(a,b,c);b.layoutId===this.Ib().layoutId&&this.Lc.get().Lz()}; g.k.WU=function(){this.j.VF()}; g.k.Mj=function(a){this.j.Mj(a)}; g.k.VV=function(a){this.j.Jk(a)}; g.k.Yf=function(a,b,c){this.j.BC(a,b,c)}; g.k.onFullscreenToggled=function(a){this.j.onFullscreenToggled(a)}; g.k.Xh=function(a){this.j.Xh(a)}; g.k.Ik=function(a){this.j.Ik(a)}; g.k.onVolumeChange=function(){this.j.onVolumeChange()};I1.prototype.yf=function(a,b,c,d){if(a=c5a(a,b,c,d,this.Se,this.j,this.Pa,this.Nb,this.cf,this.Oe,this.Wa,this.Ha,this.xc,this.Lc,this.yd,this.Sf,this.Ob,this.Xf,this.Ca))return a;throw new H_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+GZ(d.Ba)+" in PlayerBytesVodOnlyLayoutRenderingAdapterFactory.");};g.v(J1,g.C);g.k=J1.prototype;g.k.LV=function(a){if(!this.j){var b;null==(b=this.rf)||b.get().Zs(a.identifier);return!1}d5a(this,this.j,a);return!0}; g.k.CV=function(){}; g.k.Nj=function(a){this.j&&this.j.contentCpn!==a&&(UB("Fetch instructions carried over from previous content video",void 0,void 0,{contentCpn:a,fetchInstructionsCpn:this.j.contentCpn}),this.j=null)}; g.k.dn=function(a){this.j&&this.j.contentCpn!==a&&UB("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.ra=function(){g.C.prototype.ra.call(this);this.j=null};g.v(K1,g.C);g.k=K1.prototype;g.k.Uc=function(a,b){var c=this;if("LAYOUT_TYPE_MEDIA"===b.layoutType&&mM(b,this.B)){var d=this.Wa.get().gg(2),e=this.j(b,d||void 0,this.Ca.get().F.V().experiments.qb("enable_post_ad_perception_survey_in_tvhtml5"));e?BB(this.Zb.get(),"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",function(){var f=[U1a(c.Lb.get(),e.contentCpn,e.wp,function(h){return c.u(h.slotId,"core",e,JZ(c.Jb.get(),h))},e.inPlayerSlotId)]; e.instreamAdPlayerUnderlayRenderer&&V1a(c.Ca.get())&&f.push(e5a(c,e,e.instreamAdPlayerUnderlayRenderer));return f}):UB("Expected MediaLayout to carry valid opportunity on entered",a,b)}}; g.k.Li=function(){}; g.k.Rj=function(){}; g.k.Gg=function(){}; g.k.Qj=function(){}; g.k.Hg=function(){}; g.k.Kk=function(){}; g.k.Lk=function(){}; g.k.Oj=function(){}; g.k.Wh=function(){}; g.k.jj=function(){}; g.k.rd=function(){};var q2=["metadata_type_content_cpn","metadata_type_player_bytes_callback_ref","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config"];g.k=i5a.prototype;g.k.init=function(){}; g.k.kd=function(){return this.slot}; g.k.pF=function(){this.callback.Gg(this.slot)}; g.k.rF=function(){this.callback.Hg(this.slot)}; g.k.release=function(){};M1.prototype.yf=function(a,b){return new i5a(a,b)};g.k=j5a.prototype;g.k.init=function(){}; g.k.kd=function(){return this.slot}; g.k.pF=function(){f1(this.Ha.get(),"ad-showing");this.callback.Gg(this.slot)}; g.k.rF=function(){this.callback.Hg(this.slot);g1(this.Ha.get(),"ad-showing")}; g.k.release=function(){};g.k=k5a.prototype;g.k.init=function(){}; g.k.kd=function(){return this.slot}; g.k.pF=function(){f1(this.Ha.get(),"ad-showing");f1(this.Ha.get(),"ad-interrupting");this.u=this.Ha.get().isAtLiveHead();this.j=Math.ceil(Date.now()/1E3);this.callback.Gg(this.slot)}; g.k.rF=function(){g1(this.Ha.get(),"ad-showing");g1(this.Ha.get(),"ad-interrupting");var a=this.u?Infinity:this.Ha.get().getCurrentTimeSec(1,!0)+Math.floor(Date.now()/1E3)-this.j;this.Ha.get().F.seekTo(a,void 0,void 0,1);this.callback.Hg(this.slot)}; g.k.release=function(){};g.k=l5a.prototype;g.k.init=function(){}; g.k.kd=function(){return this.slot}; g.k.pF=function(){f1(this.Ha.get(),"ad-showing");f1(this.Ha.get(),"ad-interrupting");this.callback.Gg(this.slot)}; g.k.rF=function(){VN(this.Ha.get());g1(this.Ha.get(),"ad-showing");g1(this.Ha.get(),"ad-interrupting");this.callback.Hg(this.slot)}; g.k.release=function(){VN(this.Ha.get())};N1.prototype.yf=function(a,b){if(DB(b,["metadata_type_dai"],"SLOT_TYPE_PLAYER_BYTES"))return new j5a(a,b,this.Ha);if(b.slotEntryTrigger instanceof D0&&DB(b,["metadata_type_served_from_live_infra"],"SLOT_TYPE_PLAYER_BYTES"))return new k5a(a,b,this.Ha);if(DB(b,[],"SLOT_TYPE_PLAYER_BYTES"))return new l5a(a,b,this.Ha);throw new N("Unsupported slot with type "+b.slotType+" and client metadata: "+(GZ(b.Ba)+" in PlayerBytesSlotAdapterFactory."));};g.v(P1,g.C);P1.prototype.j=function(a){for(var b=[],c=g.t(this.Wb.values()),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.trigger;e instanceof k0&&"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED"===d.category&&e.triggeringLayoutId===a&&b.push(d)}b.length?Q_(this.NI(),b):UB("Mute requested but no registered triggers can be activated.")};g.v(Q1,P1);g.k=Q1.prototype;g.k.hh=function(a,b){if(b)if("skip-button"===a){a=[];for(var c=g.t(this.Wb.values()),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.trigger;e instanceof k0&&"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED"===d.category&&e.triggeringLayoutId===b&&a.push(d)}a.length&&Q_(this.NI(),a)}else z0(this.Ca.get(),"supports_multi_step_on_desktop")?"ad-action-submit-survey"===a&&m5a(this,b):"survey-submit"===a?m5a(this,b):"survey-single-select-answer-button"===a&&m5a(this,b)}; g.k.OL=function(a){P1.prototype.j.call(this,a)}; g.k.Ul=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new N("Tried to register duplicate trigger for slot.");if(!(b instanceof l0||b instanceof k0))throw new N("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdUxUpdateTriggerAdapter.");this.Wb.set(b.triggerId,new O1(a,b,c,d))}; g.k.Wl=function(a){this.Wb.delete(a.triggerId)}; g.k.LL=function(){}; g.k.KL=function(){}; g.k.WF=function(){};g.v(R1,g.C);g.k=R1.prototype; g.k.Ul=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new N("Tried to register duplicate trigger for slot.");if(!(b instanceof g0||b instanceof h0||b instanceof K0||b instanceof L0||b instanceof M0||b instanceof N0||b instanceof v3a||b instanceof d0||b instanceof e0||b instanceof i0||b instanceof u3a||b instanceof I0))throw new N("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdsControlFlowEventTriggerAdapter");a=new O1(a,b,c,d);this.Wb.set(b.triggerId,a);b instanceof M0&&this.D.has(b.triggeringSlotId)&&Q_(this.j(),[a]);b instanceof g0&&this.B.has(b.triggeringSlotId)&&Q_(this.j(),[a]);b instanceof d0&&this.u.has(b.triggeringLayoutId)&&Q_(this.j(),[a])}; g.k.Wl=function(a){this.Wb.delete(a.triggerId)}; g.k.Li=function(a){this.D.add(a.slotId);for(var b=[],c=g.t(this.Wb.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof M0&&a.slotId===d.trigger.triggeringSlotId&&b.push(d);0dM(a,16)){a=g.t(this.j);for(var b=a.next();!b.done;b=a.next())this.onCueRangeEnter(b.value,!0);this.j.clear()}}; g.k.Li=function(){}; g.k.Rj=function(){}; g.k.Qj=function(){}; g.k.Gg=function(){}; g.k.Hg=function(){}; g.k.Kk=function(){}; g.k.Lk=function(){}; g.k.Oj=function(){}; g.k.Wh=function(){}; g.k.Uc=function(a,b){a=g.t(this.Wb.values());for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.vu.trigger;c=c.Eu;if(o5a(d)&&d.layoutId===b.layoutId){var e=1E3*this.Ha.get().getCurrentTimeSec(1,!1);d instanceof G0?d=0:(d=e+d.offsetMs,e=0x7ffffffffffff);this.xc.get().addCueRange(c,d,e,!1,this)}}}; g.k.rd=function(a,b,c){var d=this;a={};for(var e=g.t(this.Wb.values()),f=e.next();!f.done;a={kA:a.kA,Cp:a.Cp},f=e.next())f=f.value,a.Cp=f.vu.trigger,a.kA=f.Eu,o5a(a.Cp)&&a.Cp.layoutId===b.layoutId?O3a(this.xc.get(),a.kA):a.Cp instanceof J0&&a.Cp.layoutId===b.layoutId&&"user_cancelled"===c&&(this.xc.get().removeCueRange(a.kA),g.Xx(g.Zx(),function(h){return function(){d.xc.get().addCueRange(h.kA,h.Cp.j.start,h.Cp.j.end,h.Cp.visible,d)}}(a)))}; g.k.jj=function(){}; g.k.Mj=function(){}; g.k.onFullscreenToggled=function(){}; g.k.Xh=function(){}; g.k.Ik=function(){}; g.k.onVolumeChange=function(){}; g.k.Pl=function(){};g.v(U1,g.C);g.k=U1.prototype;g.k.Ul=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new N("Tried to register duplicate trigger for slot.");if(!(b instanceof j0))throw new N("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OnLayoutSelfRequestedTriggerAdapter");this.Wb.set(b.triggerId,new O1(a,b,c,d))}; g.k.Wl=function(a){this.Wb.delete(a.triggerId)}; g.k.Wx=function(){}; g.k.Mr=function(){}; g.k.Uc=function(){}; g.k.rd=function(){}; g.k.Li=function(){}; g.k.Rj=function(){}; g.k.Qj=function(){}; g.k.Gg=function(){}; g.k.Hg=function(){}; g.k.Kk=function(){}; g.k.Lk=function(){}; g.k.Oj=function(){}; g.k.Wh=function(){}; g.k.jj=function(){};g.v(V1,g.C);g.k=V1.prototype;g.k.jj=function(a,b){for(var c=[],d=g.t(this.Wb.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&&Q_(this.j(),c)}; g.k.Ul=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new N("Tried to register duplicate trigger for slot.");if(!(b instanceof w3a))throw new N("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OpportunityEventTriggerAdapter");this.Wb.set(b.triggerId,new O1(a,b,c,d))}; g.k.Wl=function(a){this.Wb.delete(a.triggerId)}; g.k.Li=function(){}; g.k.Rj=function(){}; g.k.Qj=function(){}; g.k.Gg=function(){}; g.k.Hg=function(){}; g.k.Kk=function(){}; g.k.Lk=function(){}; g.k.Oj=function(){}; g.k.Wh=function(){}; g.k.Uc=function(){}; g.k.rd=function(){};g.v(W1,g.C);W1.prototype.ra=function(){this.Wm.isDisposed()||this.Wm.get().removeListener(this);g.C.prototype.ra.call(this)};g.v(X1,g.C);X1.prototype.ra=function(){this.Ye.isDisposed()||this.Ye.get().removeListener(this);g.C.prototype.ra.call(this)};Y1.prototype.fetch=function(a){var b=a.ES;return this.Wt.fetch(a.mY,{YA:void 0===a.YA?void 0:a.YA,ue:b}).then(function(c){return r5a(c,b)})};g.v(Z1,g.C);g.k=Z1.prototype;g.k.addListener=function(a){this.listeners.push(a)}; g.k.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})}; g.k.RH=function(a){s5a(this,a,1)}; g.k.onAdUxClicked=function(a,b){$1(this,function(c){c.hh(a,b)})}; g.k.ZM=function(a){$1(this,function(b){b.LL(a)})}; g.k.YM=function(a){$1(this,function(b){b.KL(a)})}; g.k.Q4=function(a){$1(this,function(b){b.WF(a)})};g.v(a2,g.C);g.k=a2.prototype; g.k.Nj=function(){this.D=new zM(this,S3a(this.Ca.get()));this.B=new AM;var a=this.F.getVideoData(1);if(!a.enableServerStitchedDai){var b=this.F.getVideoData(1),c;(null==(c=this.j)?void 0:c.clientPlaybackNonce)!==b.clientPlaybackNonce&&(null!=this.j&&this.j.unsubscribe("cuepointupdated",this.eN,this),b.subscribe("cuepointupdated",this.eN,this),this.j=b)}this.fI.length=0;var d;b=(null==(d=a.j)?void 0:Vva(d,0))||[];d=g.t(b);for(b=d.next();!b.done;b=d.next())b=b.value,this.Xs(b)&&UB("Unexpected a GetAdBreak to go out without player waiting", void 0,void 0,{cuePointId:b.identifier,cuePointEvent:b.event,contentCpn:a.clientPlaybackNonce})}; g.k.dn=function(){}; g.k.addListener=function(a){this.listeners.push(a)}; g.k.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})}; g.k.wN=function(a){this.fI.push(a);for(var b=!1,c=g.t(this.listeners),d=c.next();!d.done;d=c.next())b=d.value.LV(a)||b;this.C=b}; g.k.EV=function(a){g.Fb(this.B.j,1E3*a);for(var b=g.t(this.listeners),c=b.next();!c.done;c=b.next())c.value.CV(a)}; g.k.Xs=function(a){u5a(this,a);this.D.reduce(a);a=this.C;this.C=!1;return a}; g.k.eN=function(a){var b=this.F.getVideoData(1).isDaiEnabled();if(b||!g.OI(this.F.V())){a=g.t(a);for(var c=a.next();!c.done;c=a.next())c=c.value,u5a(this,c),b?this.D.reduce(c):0!==this.F.getCurrentTime(1)&&"start"===c.event&&(this.Ca.get().F.V().experiments.qb("ignore_overlapping_cue_points_on_endemic_live_html5")&&(null==this.u?0:c.startSecs+c.Og>=this.u.startSecs&&c.startSecs<=this.u.startSecs+this.u.Og)?UB("Latest Endemic Live Web cue point overlaps with previous cue point"):(this.u=c,this.wN(c)))}}; g.k.ra=function(){null!=this.j&&(this.j.unsubscribe("cuepointupdated",this.eN,this),this.j=null);this.listeners.length=0;this.fI.length=0;g.C.prototype.ra.call(this)};d2.prototype.addListener=function(a){this.listeners.push(a)}; d2.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})};g.k=w5a.prototype;g.k.kd=function(){return this.slot}; g.k.Ib=function(){return this.layout}; g.k.init=function(){this.Ha.get().addListener(this);this.Ha.get().eF.push(this)}; g.k.release=function(){this.Ha.get().removeListener(this);g4a(this.Ha.get(),this)}; g.k.startRendering=function(a){this.callback.Uc(this.slot,a)}; g.k.Mg=function(a,b){this.callback.rd(this.slot,a,b)}; g.k.Pl=function(a){switch(a.id){case "part2viewed":this.Ya.hd("start");break;case "videoplaytime25":this.Ya.hd("first_quartile");break;case "videoplaytime50":this.Ya.hd("midpoint");break;case "videoplaytime75":this.Ya.hd("third_quartile");break;case "videoplaytime100":this.Ya.hd("complete");break;case "engagedview":if(!T3a(this.Ca.get())){this.Ya.hd("progress");break}y4a(this.Ya)||this.Ya.hd("progress");break;case "conversionview":case "videoplaybackstart":case "videoplayback2s":case "videoplayback10s":break; default:UB("Cue Range ID unknown in DiscoveryLayoutRenderingAdapter",this.slot,this.layout)}}; g.k.onVolumeChange=function(){}; g.k.Ik=function(){}; g.k.Xh=function(){}; g.k.onFullscreenToggled=function(){}; g.k.Jk=function(){}; g.k.Mj=function(){}; g.k.yV=function(a){T3a(this.Ca.get())&&y4a(this.Ya)&&q1(this.Ya,1E3*a,!1)};x5a.prototype.yf=function(a,b,c,d){b=["metadata_type_ad_placement_config"];for(var e=g.t(o1()),f=e.next();!f.done;f=e.next())b.push(f.value);if(l1(d,{Ce:b,Of:["LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER"]}))return new w5a(a,c,d,this.Ha,this.Pa,this.Ca);throw new H_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+GZ(d.Ba)+" in PlaybackTrackingLayoutRenderingAdapterFactory.");};g.k=e2.prototype;g.k.kd=function(){return this.slot}; g.k.Ib=function(){return this.layout}; g.k.init=function(){this.zf.get().addListener(this);this.Ha.get().addListener(this);this.Hs();var a=FZ(this.layout.Ba,"metadata_type_layout_enter_ms"),b=FZ(this.layout.Ba,"metadata_type_layout_exit_ms"),c,d=null==(c=this.Wa.get().Fu)?void 0:c.clientPlaybackNonce;c=this.layout.Ac.adClientDataEntry;c1(this.Pa.get(),{daiStateTrigger:{filledAdsDurationMs:b-a,contentCpn:d,adClientData:c}});var e=this.zf.get();e=BM(e.B,a,b);null!==e&&(c1(this.Pa.get(),{daiStateTrigger:{filledAdsDurationMs:e-a,contentCpn:d, cueDurationChange:"DAI_CUE_DURATION_CHANGE_SHORTER",adClientData:c}}),this.rf.get().yu(e,b))}; g.k.release=function(){this.ot();this.zf.get().removeListener(this);this.Ha.get().removeListener(this)}; g.k.startRendering=function(){this.Bt();this.callback.Uc(this.slot,this.layout)}; g.k.Mg=function(a,b){this.Dt(b);null!==this.driftRecoveryMs&&(z5a(this,{driftRecoveryMs:this.driftRecoveryMs.toString(),breakDurationMs:Math.round(y5a(this)-FZ(this.layout.Ba,"metadata_type_layout_enter_ms")).toString(),driftFromHeadMs:Math.round(1E3*this.Ha.get().F.Zr()).toString()}),this.driftRecoveryMs=null);this.callback.rd(this.slot,this.layout,b)}; g.k.LV=function(){return!1}; g.k.CV=function(a){var b=FZ(this.layout.Ba,"metadata_type_layout_enter_ms"),c=FZ(this.layout.Ba,"metadata_type_layout_exit_ms");a*=1E3;if(b<=a&&aa.width&&g2(this.C,this.layout)}; g.k.onVolumeChange=function(){}; g.k.Mj=function(){}; g.k.onFullscreenToggled=function(){}; g.k.Xh=function(){}; g.k.Jk=function(){}; g.k.Pl=function(){}; g.k.ra=function(){t1.prototype.ra.call(this)}; g.k.release=function(){t1.prototype.release.call(this);this.Ha.get().removeListener(this)};w6a.prototype.yf=function(a,b,c,d){if(b=z1(a,c,d,this.wc,this.Ha,this.Pa,this.C,this.j,this.Ca))return b;if(l1(d,t6a()))return new n2(c,d,this.Pa,this.Nb,this.wc,a,this.u,this.B,this.Ha,this.Ob,this.Ca,this.j,new o2(this.Ha));if(l1(d,s6a()))return new m2(c,d,this.Pa,this.Nb,this.wc,a,this.u,this.Ha,this.Ob,this.Ca,this.j,new o2(this.Ha));if(l1(d,{Ce:["METADATA_TYPE_VALID_INSTREAM_SURVEY_AD_RENDERER_FOR_VOD"],Of:["LAYOUT_TYPE_SURVEY"]}))return new v6a(c,d,a,this.wc,this.u,this.Ha,this.Ca);if(l1(d, {Ce:["metadata_type_player_bytes_layout_controls_callback_ref","metadata_type_valid_survey_text_interstitial_renderer","metadata_type_ad_placement_config"],Of:["LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT"]}))return new j2(c,d,a,this.wc,this.Pa);if(l1(d,J4a()))return new y1(c,d,a,this.wc,this.Ha,this.Ca);throw new H_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+GZ(d.Ba)+" in WebDesktopMainInPlayerLayoutRenderingAdapterFactory.");};g.v(p2,g.C);g.k=p2.prototype;g.k.Ul=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new N("Tried to register duplicate trigger for slot.");if(!(b instanceof P2a))throw new N("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");this.Wb.set(b.triggerId,new O1(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.Wl=function(a){this.Wb.delete(a.triggerId);if(!(a instanceof P2a))throw new N("Incorrect TriggerType: Tried to unregister trigger of type "+a.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");var b=this.u.get(a.triggerId);b&&(b.dispose(),this.u.delete(a.triggerId));if(b=this.j.get(a.triggeringLayoutId))b.delete(a),0===b.size&&this.j.delete(a.triggeringLayoutId)}; g.k.Li=function(){}; g.k.Rj=function(){}; g.k.Qj=function(){}; g.k.Gg=function(){}; g.k.Hg=function(){}; g.k.Kk=function(){}; g.k.Lk=function(){}; g.k.Oj=function(){}; g.k.Wh=function(){}; g.k.jj=function(){}; g.k.Uc=function(a,b){var c=this;if(this.j.has(b.layoutId)){b=this.j.get(b.layoutId);a={};b=g.t(b);for(var d=b.next();!d.done;a={nA:a.nA},d=b.next())a.nA=d.value,d=new g.qo(function(e){return function(){var f=c.Wb.get(e.nA.triggerId);Q_(c.B(),[f])}}(a),a.nA.durationMs),d.start(),this.u.set(a.nA.triggerId,d)}}; g.k.rd=function(){};g.v(y6a,g.C);z6a.prototype.yf=function(a,b,c,d){if(b=z1(a,c,d,this.wc,this.Ha,this.Pa,this.C,this.j,this.Ca))return b;if(l1(d,t6a()))return new n2(c,d,this.Pa,this.Nb,this.wc,a,this.u,this.B,this.Ha,this.Ob,this.Ca,this.j,new o2(this.Ha));if(l1(d,s6a()))return new m2(c,d,this.Pa,this.Nb,this.wc,a,this.u,this.Ha,this.Ob,this.Ca,this.j,new o2(this.Ha));throw new H_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+GZ(d.Ba)+" in WebEmbeddedInPlayerLayoutRenderingAdapterFactory.");};g.v(A6a,g.C);g.v(B6a,g.C);g.v(C6a,g.C);g.v(r2,x1);r2.prototype.startRendering=function(a){x1.prototype.startRendering.call(this,a);FZ(this.layout.Ba,"metadata_ad_video_is_listed")&&(a=FZ(this.layout.Ba,"metadata_type_ad_info_ad_metadata"),this.wm.get().F.Na("onAdMetadataAvailable",a))};E6a.prototype.yf=function(a,b,c,d){if(l1(d,D6a()))return new r2(a,c,d,this.wc,this.Ha,this.Pa,this.u,this.wm,this.j);throw new H_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+GZ(d.Ba)+" in WebRemixInPlayerLayoutRenderingAdapterFactory.");};g.v(F6a,g.C);G6a.prototype.yf=function(a,b,c,d){if(l1(d,D6a()))return new r2(a,c,d,this.wc,this.Ha,this.Pa,this.u,this.wm,this.j);if(a=z1(a,c,d,this.wc,this.Ha,this.Pa,this.u,this.j,this.Ca))return a;throw new H_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+GZ(d.Ba)+" in WebUnpluggedInPlayerLayoutRenderingAdapterFactory.");};g.v(H6a,g.C);g.v(J6a,g.C);J6a.prototype.B=function(){return this.u};g.v(K6a,FO); K6a.prototype.C=function(a){var b=a.content;if("shopping-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1);this.j.Na("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.Na("updateKevlarOrC3Companion",{})}else if("action-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1); this.j.Na("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.Na("updateKevlarOrC3Companion",{contentVideoId:b&&b.videoId})),this.j.Na("updateKevlarOrC3Companion",{})}else if("image-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1);this.j.Na("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.Na("updateKevlarOrC3Companion",{contentVideoId:b&&b.videoId}),this.j.Na("updateKevlarOrC3Companion",{})}else if("ads-engagement-panel"===b.componentType)switch(b=b.renderer,a.actionType){case 1:case 2:this.j.Na("updateEngagementPanelAction",b.addAction);this.j.Na("changeEngagementPanelVisibility", b.expandAction);break;case 3:this.j.Na("changeEngagementPanelVisibility",b.hideAction),this.j.Na("updateEngagementPanelAction",b.removeAction)}};g.v(L6a,NO);g.k=L6a.prototype;g.k.init=function(a,b,c){NO.prototype.init.call(this,a,b,c);g.Jl(this.B,"stroke-dasharray","0 "+this.u);this.api.V().K("enable_dark_mode_style_endcap_timed_pie_countdown")&&(this.B.classList.add("ytp-ad-timed-pie-countdown-inner-light"),this.C.classList.add("ytp-ad-timed-pie-countdown-outer-light"));this.show()}; g.k.clear=function(){this.hide()}; g.k.hide=function(){PO(this);NO.prototype.hide.call(this)}; g.k.show=function(){OO(this);NO.prototype.show.call(this)}; g.k.Nv=function(){this.hide()}; g.k.kt=function(){if(this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&g.Jl(this.B,"stroke-dasharray",a.current/a.seekableEnd*this.u+" "+this.u)}};g.v(M6a,eO);g.k=M6a.prototype; g.k.init=function(a,b,c){eO.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.K(b.actionButton,g.uK))if(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a)g.PB(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.B?(this.C.hide(),this.J=!0):this.messageText&&this.messageText.isTemplated()&&(a=Math.max(0,Math.ceil((this.B-a)/1E3)),a!==this.Y&&(MO(this.messageText,{TIME_REMAINING:String(a)}),this.Y=a)))}};g.v(a7a,eO);g.k=a7a.prototype; g.k.init=function(a,b,c){eO.prototype.init.call(this,a,b,{});b.image&&b.image.thumbnail?b.headline?b.description?b.actionButton&&g.K(b.actionButton,g.uK)?(this.B.init(mL("ad-image"),b.image,c),this.u.init(mL("ad-text"),b.headline,c),this.C.init(mL("ad-text"),b.description,c),a=["ytp-ad-underlay-action-button"],this.api.V().K("use_blue_buttons_for_desktop_player_underlay")&&a.push("ytp-ad-underlay-action-button-blue"),this.actionButton=new vO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb, a),b.backgroundColor&&g.Jl(this.element,"background-color",g.pP(b.backgroundColor)),g.D(this,this.actionButton),this.actionButton.Ea(this.D),this.actionButton.init(mL("button"),g.K(b.actionButton,g.uK),c),b=g.rH(this.api.V().experiments,"player_underlay_video_width_fraction"),this.api.V().K("place_shrunken_video_on_left_of_player")?(c=this.j,g.Ao(c,"ytp-ad-underlay-left-container"),g.yo(c,"ytp-ad-underlay-right-container"),g.Jl(this.j,"margin-left",Math.round(100*(b+.02))+"%")):(c=this.j,g.Ao(c,"ytp-ad-underlay-right-container"), g.yo(c,"ytp-ad-underlay-left-container")),g.Jl(this.j,"width",Math.round(100*(1-b-.04))+"%"),this.api.iG()&&this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.fQ.bind(this)),this.api.addEventListener("resize",this.OT.bind(this))):g.PB(Error("InstreamAdPlayerUnderlayRenderer has no button.")):g.PB(Error("InstreamAdPlayerUnderlayRenderer has no description AdText.")):g.PB(Error("InstreamAdPlayerUnderlayRenderer has no headline AdText.")):g.PB(Error("InstreamAdPlayerUnderlayRenderer has no image."))}; g.k.show=function(){b7a(!0);this.actionButton&&this.actionButton.show();eO.prototype.show.call(this)}; g.k.hide=function(){b7a(!1);this.actionButton&&this.actionButton.hide();eO.prototype.hide.call(this)}; g.k.clear=function(){this.api.removeEventListener("playerUnderlayVisibilityChange",this.fQ.bind(this));this.api.removeEventListener("resize",this.OT.bind(this));this.hide()}; g.k.onClick=function(a){eO.prototype.onClick.call(this,a);this.actionButton&&g.Ze(this.actionButton.element,a.target)&&this.api.pauseVideo()}; g.k.fQ=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.OT=function(a){1200a)g.PB(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+a));else if(b.timeoutCommands)if(b.text)if(b.ctaButton&&g.K(b.ctaButton,g.uK))if(b.brandImage)if(b.backgroundImage&&g.K(b.backgroundImage,x0)&&g.K(b.backgroundImage,x0).landscape){this.layoutId||g.PB(Error("Missing layoutId for survey interstitial."));p7a(this.interstitial,g.K(b.backgroundImage, x0).landscape);p7a(this.logoImage,b.brandImage);g.$e(this.text,g.uC(b.text));var e=["ytp-ad-survey-interstitial-action-button"];this.api.V().K("web_modern_buttons_bl_survey")&&e.push("ytp-ad-survey-interstitial-action-button-rounded");this.actionButton=new vO(this.api,this.layoutId,this.interactionLoggingClientData,this.rb,e);g.D(this,this.actionButton);this.actionButton.Ea(this.u);this.actionButton.init(mL("button"),g.K(b.ctaButton,g.uK),c);this.actionButton.show();this.j=new cP(this.api,1E3*a); this.j.subscribe("g",function(){d.transition.hide()}); g.D(this,this.j);this.S(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.PB(Error("SurveyTextInterstitialRenderer has no landscape background image."));else g.PB(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.PB(Error("SurveyTextInterstitialRenderer has no button."));else g.PB(Error("SurveyTextInterstitialRenderer has no text."));else g.PB(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; B2.prototype.clear=function(){this.hide()}; B2.prototype.show=function(){q7a(!0);eO.prototype.show.call(this)}; B2.prototype.hide=function(){q7a(!1);eO.prototype.hide.call(this)};var fcb="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.v(C2,FO); C2.prototype.C=function(a){var b=a.id,c=a.content,d=c.componentType;if(!fcb.includes(d))switch(a.actionType){case 1:a=this.api;var e=this.rb,f=c.layoutId,h=c.interactionLoggingClientData,l=c instanceof hM?c.NO:!1,m=c instanceof hM||c instanceof bP?c.PH:!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 R6a(a,f,h,e);break;case "player-overlay":a=new nP(a,f,h,e,new $S(a),m);break;case "survey":a=new A2(a,f,h,e);break;case "ad-action-interstitial":a=new M6a(a, f,h,e,l,m);break;case "survey-interstitial":a=new B2(a,f,h,e);break;case "ad-message":a=new Z6a(a,f,h,e,new $S(a,1));break;case "player-underlay":a=new a7a(a,f,h,e);break;default:a=null}if(!a){g.QB(Error("No UI component returned from ComponentFactory for type: "+d));break}g.Oc(this.u,b)?g.QB(Error("Ad UI component already registered: "+b)):this.u[b]=a;a.bind(c);c instanceof l6a?this.B?this.B.append(a.tO):g.PB(Error("Underlay view was not created but UnderlayRenderer was created")):this.D.append(a.tO); break;case 2:b=r7a(this,a);if(null==b)break;b.bind(c);break;case 3:c=r7a(this,a),null!=c&&(g.Ya(c),g.Oc(this.u,b)?g.Sc(this.u,b):g.QB(Error("Ad UI component does not exist: "+b)))}}; C2.prototype.ra=function(){g.Za(Object.values(this.u));this.u={};FO.prototype.ra.call(this)};g.v(s7a,g.hS);g.k=s7a.prototype;g.k.create=function(){try{t7a(this),this.load(),this.created=!0,t7a(this)}catch(a){UB(a instanceof Error?a:String(a))}}; g.k.load=function(){try{w7a(this)}finally{Q3a(s2(this.j).Gi)&&this.player.cg("ad",1)}}; g.k.destroy=function(){var a=this.player.getVideoData(1);this.j.j.Ws.dn(a&&a.clientPlaybackNonce||"");this.unload();this.created=!1}; g.k.unload=function(){g.hS.prototype.unload.call(this);usa(!1);try{this.player.getRootNode().classList.remove("ad-created")}catch(b){UB(b instanceof Error?b:String(b))}if(null!==this.Ae){var a=this.Ae;this.Ae=null;a.dispose()}null!=this.u&&(a=this.u,this.u=null,a.dispose());this.Wt.reset()}; g.k.Sk=function(){return!1}; g.k.OO=function(){return null===this.Ae?!1:this.Ae.OO()}; g.k.fp=function(a){null!==this.Ae&&this.Ae.fp(a)}; g.k.getAdState=function(){return this.Ae?this.Ae.eG:-1}; g.k.getOptions=function(){return Object.values(ecb)}; g.k.qh=function(a,b){b=void 0===b?{}:b;switch(a){case "replaceUrlMacros":return a=b,a.url?(b=IL(this.player),Object.assign(b,a.r5a),this.Ae&&!b.AD_CPN&&(b.AD_CPN=this.Ae.qB()),a=g.jo(a.url,b)):a=null,a;case "onAboutThisAdPopupClosed":this.Vs(b);break;case "executeCommand":a=b;a.command&&a.layoutId&&this.executeCommand(a);break;default:return null}}; g.k.Xs=function(a){var b;return!(null==(b=this.j.j.zf)||!b.get().Xs(a))}; g.k.Vs=function(a){a.isMuted&&YEa(this.Ae,s2(this.j).Kj,s2(this.j).Ol,a.layoutId);this.vx&&this.vx.Vs()}; g.k.executeCommand=function(a){s2(this.j).rb.executeCommand(a.command,a.layoutId)};g.gS("ad",s7a);var C7a=g.Je&&B7a();g.v(g.D2,g.C);g.D2.prototype.start=function(a,b,c){this.config={from:a,to:b,duration:c,startTime:(0,g.M)()};this.next()}; g.D2.prototype.stop=function(){this.delay.stop();this.config=void 0}; g.D2.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.M)()-a;a=this.j;d=wla(a,e/d);if(0==d)a=a.J;else if(1==d)a=a.T;else{e=ke(a.J,a.D,d);var f=ke(a.D,a.I,d);a=ke(a.I,a.T,d);e=ke(e,f,d);f=ke(f,a,d);a=ke(e,f,d)}a=g.ie(a,0,1);this.callback(b+(c-b)*a);1>a&&this.delay.start()}};g.v(g.E2,g.T);g.k=g.E2.prototype;g.k.mZ=function(){this.u&&this.scrollTo(this.j-this.containerWidth)}; g.k.nZ=function(){this.u&&this.scrollTo(this.j+this.containerWidth)}; g.k.Cq=function(){this.Eb(this.api.ib().getPlayerSize())}; g.k.isShortsModeEnabled=function(){return this.api.V().K("shorts_mode_to_player_api")?this.api.Sb():this.D.Sb()}; g.k.Eb=function(a){var b=this.isShortsModeEnabled()?.5625:16/9,c=this.D.og();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=g.t(this.C),e=d.next();!e.done;e=d.next())e=e.value.Da("ytp-suggestion-image"),e.style.width=c+"px",e.style.height=b+"px";this.suggestions.element.style.height=b+"px";this.I=c;this.Y=b;this.containerWidth=a;this.j=0;this.suggestions.element.scrollLeft=-0;g.F2(this)}; g.k.onVideoDataChange=function(){var a=this.api.V(),b=this.api.getVideoData();this.J=b.D?!1:a.C;this.suggestionData=b.suggestions?g.Km(b.suggestions,function(c){return c&&!c.playlistId}):[]; H7a(this);b.D?this.title.update({title:g.sM("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:b.author})}):this.title.update({title:this.isShortsModeEnabled()?"More shorts":"More videos"})}; g.k.scrollTo=function(a){a=g.ie(a,this.containerWidth-this.suggestionData.length*(this.I+8),0);this.T.start(this.j,a,1E3);this.j=a;g.F2(this)};})(_yt_player); } /* FILE ARCHIVED ON 00:50:43 Apr 06, 2023 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 06:21:01 Jun 13, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.856 exclusion.robots: 0.149 exclusion.robots.policy: 0.136 esindex: 0.015 cdx.remote: 5.628 LoadShardBlock: 59.627 (3) PetaboxLoader3.datanode: 75.866 (5) load_resource: 141.604 (2) PetaboxLoader3.resolve: 73.137 (2) */