var _yt_player={};(function(g){var window=this;var ba,da,la,ma,oa,qa,pa,ra,sa,ta,ua,baa,caa,va,wa,daa,eaa,xa,ya,za,Fa,gaa,haa,Pa,Qa,iaa,jaa,Wa,ab,fb,jb,kb,nb,rb,ob,kaa,pb,laa,maa,xb,Eb,Fb,Hb,Lb,Qb,Tb,Xb,Zb,$b,ec,fc,lc,mc,oc,nc,rc,tc,oaa,paa,uc,zc,Ac,Cc,saa,Ec,Fc,Gc,Hc,Ic,uaa,Jc,Nc,waa,Pc,xaa,yaa,Sc,Tc,Vc,Xc,Zc,$c,Gaa,bd,ad,dd,ed,jd,hd,ld,md,nd,od,Haa,Kaa,Laa,sd,ud,xd,Maa,Naa,wd,Ad,Cd,Dd,Id,Md,Pd,Sd,Wd,Taa,be,ee,ce,ge,he,je,ae,ne,pe,se,ue,te,Ud,xe,ze,Ce,Ae,Be,Vaa,De,Td,Ge,Ie,Oe,Ne,Je,Se,Ue,Re,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,of,lf,mf,pf,
qf,Yaa,rf,nf,sf,tf,Zaa,uf,xf,wf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf,Hf,If,Jf,vf,Kf,Lf,dba,Rf,Tf,Uf,fba,Xf,Yf,Zf,ag,fg,gba,bg,ig,pg,og,iba,dg,sg,tg,ug,vg,xg,kba,yg,zg,lba,Eg,Gg,Hg,Kg,Mg,Ng,Og,Qg,mba,oba,pba,Vg,Sg,Tg,Ig,Pg,rba,Yg,Wg,Xg,$g,qba,Zg,nba,sba,eh,tba,uba,vba,wba,xba,gh,ih,kh,lh,rh,sh,th,uh,vh,wh,yh,Ah,Ch,Eh,Bba,Fh,Gh,Ih,Jh,Cba,Ph,Qh,Rh,Sh,Uh,Vh,Wh,$h,ai,ei,fi,gi,ii,ki,ji,li,ci,Dba,wi,ui,vi,yi,zi,Ai,Eba,Fba,Bi,Ci,Di,Fi,Ei,Gi,Hi,Iba,Kba,Lba,Mba,Oba,Ji,Ki,Li,Qba,Mi,Ni,Oi,Si,Ui,Vi,Wi,Sba,Xi,$i,aj,bj,cj,
Tba,dj,ej,fj,gj,Uba,Vba,hj,mj,nj,pj,oj,qj,rj,sj,tj,wj,uj,Yba,vj,xj,yj,Aj,zj,Bj,Cj,Zba,Dj,Ej,$ba,aca,Hj,bca,Jj,Kj,Ij,Lj,Mj,Nj,Oj,Pj,cca,Qj,dca,Sj,qca,Tj,Uj,Vj,Wj,Xj,Yj,ak,ck,fk,gk,hk,ik,lk,mk,nk,rca,pk,qk,rk,sk,tk,uk,vk,wk,sca,tca,xk,yk,zk,Ak,Bk,Ck,Ek,Dk,vca,wca,Fk,Gk,Hk,xca,Jk,Kk,Lk,Mk,Nk,Ok,Pk,Qk,Sk,Tk,Uk,Vk,yca,Wk,Rk,Xk,Yk,Zk,$k,zca,Aca,al,bl,Bca,cl,dl,Cca,fl,Dca,gl,hl,il,Eca,jl,kl,ml,ol,pl,ql,rl,sl,ll,nl,Gca,tl,wl,xl,Lca,zl,Kca,Mca,Al,Bl,Nca,Oca,yl,Cl,Pca,Dl,Fl,Qca,Jl,Rca,Kl,Ll,Ml,Sca,Nl,Tca,Ol,
Pl,Ql,Uca,Rl,Sl,Tl,Vca,Ul,Vl,Wl,Wca,Yl,Xl,Xca,$l,Zl,cm,bm,Yca,bda,ada,em,cda,dda,eda,gda,fda,fm,hda,hm,im,ida,jda,jm,km,lm,mm,kda,nm,om,lda,pm,nda,qm,rm,tm,um,vm,xm,pda,ym,oda,qda,zm,Am,rda,sda,Em,Gm,Hm,Im,Fm,Lm,Mm,Jm,Nm,Om,uda,Pm,Qm,Rm,Sm,vda,Um,Tm,Vm,wda,Wm,Xm,yda,zda,an,bn,cn,Ym,dn,en,Ada,xda,Bda,Dda,Cda,Eda,hn,fn,Fda,Hda,Ida,kn,ln,mn,on,Nda,Jda,sn,tn,un,vn,wn,Oda,xn,yn,zn,Pda,Qda,Rda,Sda,Tda,An,Wda,Cn,Bn,Dn,En,Fn,Xda,Gn,Yda,Zda,Hn,Ln,Mn,Kn,Nn,On,$da,Un,Vn,Xn,cea,$n,bo,eo,co,aea,ho,go,ko,jo,mo,
dea,po,qo,ro,so,to,fea,gea,vo,hea,wo,xo,R,uo,iea,yo,zo,Ao,Bo,Co,jea,lea,Go,Ho,mea,nea,Do,kea,Eo,Jo,Ko,Io,pea,Mo,Lo,rea,Oo,No,Po,Qo,So,To,Ro,Vo,uea,Wo,Yo,Zo,$o,ap,Xo,bp,cp,dp,ep,fp,ip,jp,mp,pp,kp,rp,tp,up,vp,wp,xp,yp,zp,Ap,Bp,Dp,Fp,Ep,Gp,Hp,Ip,wea,Jp,Kp,Lp,Mp,Op,Pp,Qp,Rp,xea,yea,Sp,Tp,Wp,Zp,Yp,Dea,aq,Vp,bq,Eea,dq,cq,Fea,eq,gq,Gea,iq,hq,kq,lq,mq,Hea,nq,oq,pq,qq,rq,sq,vq,wq,xq,yq,zq,Aq,Dq,Eq,Fq,Iq,Jq,Iea,Kq,S,Oq,Qq,Nea,Sq,Yq,Zq,$q,br,Nq,Xq,Vq,Vea,Wea,Xea,Yea,cr,dr,er,fr,hr,ir,gr,Zea,lr,mr,nr,or,$ea,
pr,qr,rr,sr,ur,tr,wr,xr,afa,bfa,yr,Br,zr,Ar,Cr,Er,cfa,dfa,Fr,Gr,efa,Hr,Ir,Nr,Or,gfa,Qr,Rr,Sr,Tr,ifa,Ur,Vr,bs,cs,Wr,ds,es,mfa,Xr,lfa,Yr,Zr,$r,as,kfa,ms,ns,os,ts,pfa,qfa,us,sfa,tfa,ws,wfa,ys,rfa,zs,As,Bs,Cs,xfa,Ds,Es,Fs,yfa,Hs,Is,Js,Ks,zfa,Ms,Ls,Afa,Gs,Ns,Xp,Os,Ps,Bfa,Cfa,Dfa,Ss,Ws,Zs,$s,kr,jr,Efa,Ffa,Gfa,Hfa,at,bt,ct,dt,Ifa,Jfa,Kfa,Lfa,Mfa,Nfa,Ofa,et,it,gt,jt,ft,kt,Pfa,Qfa,Rfa,Sfa,lt,Ufa,nt,qt,Wfa,ut,wt,tt,xt,zt,At,Bt,Ct,Dt,Et,Ft,Gt,Ht,Kt,Zfa,Jt,It,Lt,Mt,Nt,Ot,Qt,js,$fa,Yt,Zt,$t,au,Rt,fga,bu,cu,du,
eu,ls,hu,ju,gs,ku,lu,mu,is,hs,iu,nu,ou,pu,qu,ru,tu,uu,iga,jga,hga,kga,gu,lga,Bu,mga,Cu,Pt,Du,Eu,Fu,nga,Gu,oga,Vt,fu,Au,Hu,Iu,Ju,zu,ks,Ut,Lu,Xt,Mu,Nu,St,Wt,yu,gga,Ou,Pu,Qu,qga,Ru,rga,Su,Xu,Yu,Zu,wga,$u,av,bv,cv,dv,ev,fv,hv,iv,jv,gv,kv,lv,mv,nv,ov,pv,rv,zga,Bga,Dga,qv,Ega,Fga,Gga,uv,tv,vv,wv,yv,zv,Ev,Dv,Fv,Gv,Hga,Lv,Mv,Ov,Nv,Pv,Qv,Rv,Sv,Tv,Iga,Uv,Jga,Vv,Wv,Xv,Yv,$v,aw,Kga,Zv,bw,Lga,cw,ew,Mga,fw,gw,hw,iw,jw,kw,Nga,mw,nw,Oga,pw,qw,Pga,vw,ww,xw,yw,zw,Aw,Bw,Qga,Cw,Dw,Ew,Gw,Fw,Rga,Hw,Iw,Jw,Kw,Sga,Lw,Mw,
Uga,Tga,Nw,Ow,Pw,Qw,Rw,Sw,Tw,Uw,Vw,Ww,Xw,Yw,Zw,$w,ax,bx,mt,cx,Vga,ex,wu,ix,dx,lx,mx,ox,ot,Xs,px,Ts,Vs,qx,rx,Us,Rs,sx,pt,tx,vu,xu,ux,Qs,Ys,vx,wx,xx,zx,Wga,Ax,Bx,Cx,Dx,Ex,Fx,Gx,Hx,Ix,Jx,Kx,Lx,Mx,Nx,Ox,Xga,Px,Qx,Rx,Sx,Tx,Ux,Yga,Vx,Wx,Xx,Yx,Zx,$x,by,cy,$ga,dy,aha,Zga,cha,ey,dha,gy,ay,bha,hha,gha,fha,fy,hy,iy,jy,ly,my,ny,oy,py,qy,ry,sy,ty,uy,wy,yy,Ay,zy,Cy,iha,jha,Fy,Dy,Jy,Ey,Ky,Iy,lha,mha,My,nha,Ny,Ty,oha,Py,pha,Oy,qha,Sy,Ry,Qy,Wy,Xy,Vy,Yy,tha,Zy,$y,uha,vha,az,bz,cz,ez,wha,dz,hz,fz,xha,yha,zha,iz,jz,
kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,Dha,Cha,yz,xz,Eha,Bz,Fha,Cz,Dz,Gha,Ez,Bha,Fz,Iz,Iha,Hha,Jz,Hz,Mz,Kha,Nz,Lha,Oz,Kz,Pz,Qz,Rz,Nha,Oha,Sz,Tz,Pha,Uz,Vz,Wz,Az,Qha,Xz,Yz,zz,Rha,Zz,$z,aA,bA,Sha,cA,dA,eA,gA,hA,fA,Wha,Tha,Uha,jA,mA,nA,lA,kA,iA,oA,qA,rA,tA,vA,sA,wA,xA,Zha,zA,yA,AA,$ha,aia,BA,CA,DA,EA,FA,GA,HA,IA,cia,JA,eia,PA,KA,LA,MA,WA,QA,SA,RA,ZA,UA,TA,XA,VA,gia,OA,NA,$A,hia,aB,dia,bB,cB,dB,jia,eB,hB,iB,kB,jB,lB,mB,nB,lia,kia,mia,pB,nia,oia,qB,rB,oB,pia,sB,tB,qia,uB,ria,sia,tia,uia,vB,wB,xB,zB,AB,
BB,yB,DB,via,wia,CB,EB,FB,GB,HB,IB,xia,JB,MB,OB,NB,PB,QB,RB,SB,UB,TB,WB,VB,XB,Aia,aC,bC,cC,dC,eC,fC,gC,hC,iC,jC,kC,mC,nC,lC,oC,pC,qC,Bia,rC,Cia,uC,vC,sC,tC,xC,BC,yC,zC,wC,AC,Dia,CC,DC,EC,FC,HC,GC,Eia,JC,IC,Gia,Hia,Fia,KC,Iia,Jia,Kia,Lia,LC,Nia,Oia,Pia,vs,Qia,Ria,OC,Tia,PC,QC,RC,SC,TC,UC,VC,WC,YC,ZC,$C,fD,eD,jD,kD,cD,lD,mD,nD,oD,bD,dD,gD,qD,$ia,rD,aja,sD,tD,uD,vD,wD,xD,bja,yD,cja,dja,zD,eja,fja,AD,BD,gja,ija,jja,CD,kja,ED,GD,oja,DD,pja,HD,Sia,ID,rja,sja,JD,tja,uja,LD,OD,vja,QD,PD,RD,wja,fia,SD,TD,
WD,XD,YD,ZD,$D,yja,aE,bE,cE,dE,UD,Aja,Bja,gE,Cja,hE,iE,jE,fE,kE,eE,lE,Dja,YA,Fja,uA,Eja,mE,nE,oE,pE,qE,Gja,Hja,vE,wE,xE,yE,Ija,BE,CE,DE,EE,GE,HE,IE,JE,KE,ME,NE,QE,Kja,RE,TE,VE,XE,WE,YE,SE,UE,aF,$E,bF,cF,Mja,eF,gF,iF,mF,kF,AF,zF,Pja,Qja,CF,DF,EF,FF,GF,IF,KF,MF,PF,QF,TF,SF,Rja,VF,Sja,Tja,$F,ZF,Vja,aG,bG,Wja,fG,Xja,Yja,dG,hG,jG,lG,mG,nG,pG,qG,rG,sG,uG,vG,wG,iG,zG,AG,xG,Zja,DG,CG,FG,GG,HG,JG,IG,aka,MG,NG,OG,PG,RG,SG,TG,WG,XG,bka,UG,VG,YG,ZG,$G,aH,dka,eka,hH,iH,jH,oH,rH,tH,wH,xH,AH,yH,CH,BH,DH,fka,GH,
MH,LH,NH,gka,kka,lka,XH,VH,$H,cI,bI,aI,eI,mka,jI,lI,mI,oka,tI,sI,pka,xI,yI,AI,BI,CI,GI,qka,PI,QI,SI,TI,UI,VI,WI,XI,YI,ZI,$I,aJ,bJ,cJ,eJ,dJ,rka,fJ,gJ,hJ,tka,jJ,mJ,uka,iJ,qJ,rJ,oJ,lJ,sJ,tJ,nJ,pJ,uJ,vJ,ska,wJ,xJ,yJ,DJ,FJ,vka,AJ,GJ,IJ,LJ,HJ,EJ,MJ,NJ,OJ,wka,PJ,QJ,zJ,BJ,CJ,KJ,JJ,SJ,TJ,VJ,UJ,xka,WJ,XJ,YJ,yka,$J,ZJ,bK,cK,dK,eK,fK,gK,hK,jK,kK,lK,mK,nK,oK,pK,zka,Aka,rK,sK,tK,uK,vK,wK,xK,AK,BK,CK,EK,HK,IK,JK,KK,GK,Jka,LK,MK,NK,OK,Kka,Lka,PK,Mka,RK,QK,TK,VK,WK,XK,YK,$K,Nka,aL,Oka,bL,eL,fL,gL,cL,jL,aK,kL,lL,mL,
nL,oL,iL,pL,qL,rL,sL,tL,uL,vL,wL,yL,zL,xL,AL,BL,Qka,CL,DL,EL,FL,GL,Rka,Ska,Wka,Xka,Tka,Uka,Vka,HL,IL,Yka,KL,ML,NL,OL,Zka,PL,RL,SL,$ka,ala,TL,UL,WL,fla,ela,dla,XL,bla,YL,cM,hla,ila,dM,jla,eM,kla,fM,gM,lla,hM,iM,mla,nla,ola,jM,aM,pla,kM,lM,nM,oM,pM,qM,rM,qla,sM,tM,uM,vM,wM,xM,yM,zM,AM,BM,CM,DM,EM,FM,GM,rla,IM,HM,JM,KM,LM,MM,NM,sla,$M,OM,ZM,tla,cN,dN,fN,gN,hN,iN,kN,lN,mN,nN,vla,oN,pN,qN,sN,tN,rN,uN,vN,wN,xN,wla,xla,yN,AN,zN,BN,yla,DN,EN,FN,GN,HN,IN,CN,JN,KN,LN,MN,NN,ON,PN,RN,SN,TN,nO,oO,pO,qO,rO,Ela,
sO,tO,cO,jO,iO,mO,wO,AO,$N,ZN,YN,Fla,CO,hO,Hla,Ila,Jla,DO,FO,GO,HO,IO,EO,Kla,LO,MO,Lla,Mla,Qla,Pla,Ola,Nla,NO,OO,Rla,QO,Sla,Ula,Tla,Vla,Wla,Xla,$la,Zla,Yla,ama,bma,RO,ema,dma,cma,fma,hma,TO,jma,kma,lma,mma,nma,oma,gma,UO,pma,VO,qma,WO,ZO,sma,uma,tma,aP,vma,$O,bP,cP,xma,wma,zma,dP,eP,Ama,Dma,Ema,iP,fP,Fma,Gma,jP,kP,Kma,pP,sP,Qma,Mma,uP,vP,tP,Vma,Oma,Zma,Lma,nP,rP,Pma,lP,Hma,Wma,Jma,$ma,mP,wP,bna,hna,AP,EP,BP,ina,FP,jna,kna,lna,GP,HP,mna,IP,DP,pna,rna,sna,tna,MP,una,OP,CP,wna,xna,yna,zna,Ana,Bna,Cna,
Dna,Ena,Gna,Hna,Ina,Kna,Lna,UP,ona,Mna,VP,WP,XP,YP,ZP,$P,zP,KP,RP,PP,QP,ena,cna,aQ,Pna,Qna,bQ,Rna,cQ,dQ,fQ,gQ,pQ,nQ,qQ,oQ,rQ,sQ,Tna,Una,Vna,Xna,Yna,Zna,$na,aoa,boa,coa,doa,eoa,goa,vQ,joa,koa,zQ,loa,AQ,moa,noa,BQ,CQ,DQ,ooa,EQ,poa,GQ,HQ,IQ,JQ,KQ,MQ,OQ,QQ,SQ,UQ,qoa,VQ,roa,toa,WQ,TQ,XQ,YQ,uoa,$Q,ZQ,bR,cR,dR,voa,woa,yoa,zoa,xoa,eR,fR,Aoa,gR,hR,Boa,Doa,Eoa,pR,Hoa,Ioa,qR,Foa,Goa,nR,rR,tR,wR,Joa,Koa,xR,zR,AR,Loa,BR,CR,DR,Moa,Noa,ER,yR,Ooa,Roa,Poa,Qoa,Soa,Toa,Uoa,FR,Woa,Voa,Xoa,Yoa,Zoa,$oa,apa,bpa,cpa,dpa,
epa,fpa,GR,hpa,JR,LR,HR,MR,ipa,NR,gpa,jpa,IR,KR,lpa,npa,QR,mpa,opa,SR,OR,RR,PR,ppa,TR,qpa,UR,VR,WR,ZR,rpa,YR,spa,aS,$R,tpa,upa,bS,cS,vpa,wpa,xpa,ypa,dS,eS,Apa,Dpa,Epa,gS,Fpa,iS,hS,jS,Gpa,zpa,Cpa,fS,Bpa,lS,Ipa,Jpa,mS,Lpa,nS,Kpa,Mpa,oS,qS,rS,tS,Qpa,pS,Opa,Npa,Ppa,Rpa,uS,vS,Spa,sS,Tpa,Upa,Vpa,wS,Wpa,yS,Xpa,Ypa,xS,zS,AS,Zpa,$pa,bqa,FS,GS,HS,aqa,BS,cqa,CS,DS,dqa,ES,eqa,fqa,IS,gqa,hqa,iqa,lqa,kqa,jqa,KS,JS,mqa,oqa,pqa,qqa,nqa,rqa,sqa,LS,MS,tqa,uqa,vqa,yqa,xqa,wqa,NS,OS,PS,zqa,RS,SS,US,Cqa,Dqa,WS,Eqa,Gqa,
Fqa,Hqa,Kqa,Iqa,Lqa,Oqa,Nqa,Pqa,Jqa,YS,Mqa,Qqa,Rqa,TS,Bqa,Sqa,ZS,XS,QS,Tqa,Uqa,Vqa,$S,aT,Wqa,bT,Xqa,Yqa,$qa,Zqa,cT,dT,eT,bra,ara,cra,dra,fT,hT,era,gra,hra,ira,iT,kra,gT,lra,mra,nra,ora,pra,qra,sra,rra,jT,kT,lT,mT,ura,wra,vra,oT,pT,nT,xra,yra,zra,qT,Bra,Ara,Cra,Dra,Hra,Era,Fra,Ira,Jra,Gra,sT,Kra,Lra,Nra,Ora,wT,vT,Pra,Qra,uT,tT,Mra,yT,Tra,BT,DT,ET,CT,FT,Sra,Vra,Wra,Xra,AT,xT,zT,Ura,Yra,Rra,Zra,asa,bsa,$ra,GT,csa,HT,IT,JT,KT,LT,MT,OT,PT,WT,isa,RT,XT,ZT,bU,$T,jsa,cU,fU,eU,NT,hsa,jU,ksa,msa,gU,nU,pU,osa,
oU,psa,kU,sU,uU,tU,vU,dsa,ST,qU,yU,usa,AU,tsa,vsa,wsa,BU,xsa,ysa,zU,CU,zsa,rsa,ssa,EU,TT,nsa,Bsa,Asa,DU,UT,GU,dU,QT,HU,xU,Dsa,IU,Esa,FU,hU,Fsa,rU,qsa,LU,QU,eV,Msa,Nsa,lV,Osa,mV,nV,oV,pV,qV,Psa,Qsa,Rsa,Tsa,Usa,Vsa,Wsa,Xsa,Ysa,Zsa,$sa,vV,bta,ata,yV,xV,cta,zV,dta,eta,gta,hta,jta,kta,lta,mta,nta,ota,pta,qta,sta,tta,uta,vta,wta,yta,zta,Ata,Bta,GV,Cta,Dta,IV,LV,MV,NV,OV,PV,Eta,RV,QV,SV,TV,Gta,UV,WV,Hta,YV,ZV,$V,aW,bW,cW,Ita,Jta,dW,Lta,eW,Nta,Mta,fW,Ota,Pta,gW,Rta,hW,jW,iW,kW,Sta,Tta,mW,lW,oW,pW,Uta,Vta,
qW,rW,sW,tW,uW,Wta,vW,wW,Xta,xW,yW,zW,AW,Yta,aua,BW,Zta,$ta,CW,cua,dua,eua,EW,iua,hua,jua,kua,lua,GW,mua,pua,nua,rua,MW,sua,NW,JW,uua,PW,LW,OW,oua,tua,vua,qua,SW,TW,wua,$W,aX,xua,dX,cX,yua,gX,zua,hX,iX,jX,lX,kX,mX,nX,Aua,oX,Bua,Dua,Cua,pX,qX,rX,tX,Eua,uX,vX,wX,xX,Fua,AX,BX,CX,Gua,FX,EX,GX,HX,IX,Hua,Iua,JX,KX,Kua,Jua,LX,MX,NX,Lua,Nua,Mua,Oua,Pua,Rua,Qua,RX,SX,Tua,Uua,TX,Vua,UX,VX,Wua,fva,dva,eva,Zua,bva,cva,Yua,Xua,$ua,gva,hva,YX,ava,$X,aY,bY,iva,jva,kva,mva,lva,gY,iY,nva,jY,ova,sva,tva,kY,lY,uva,
vva,nY,yva,mY,oY,xva,pY,wva,zva,qY,Bva,Ava,Cva,rY,Dva,tY,sY,uY,wY,yY,AY,BY,Eva,Fva,Gva,Hva,CY,DY,EY,FY,GY,HY,IY,Iva,Jva,JY,KY,Kva,LY,MY,NY,Lva,Mva,Qva,Ova,Nva,PY,Pva,QY,Sva,Rva,RY,Tva,SY,TY,Uva,Vva,Wva,XY,YY,ZY,Xva,$Y,bZ,Yva,UY,aZ,WY,VY,gZ,hZ,Zva,dZ,$va,fZ,awa,bwa,cwa,ewa,dwa,iwa,hwa,iZ,jZ,jwa,kwa,kZ,lZ,mZ,lwa,nZ,pZ,oZ,qZ,nwa,mwa,owa,pwa,qwa,rwa,sZ,tZ,uZ,swa,twa,vZ,vwa,wZ,uwa,xZ,wwa,yZ,zZ,xwa,ywa,Awa,zwa,Bwa,AZ,BZ,Cwa,Dwa,Ewa,Gwa,DZ,EZ,FZ,CZ,Fwa,GZ,rZ,cZ,Iwa,HZ,IZ,KZ,XX,WX,eZ,MZ,NZ,Jwa,OZ,PZ,Kwa,
ZX,Lwa,RZ,QZ,zY,TZ,JZ,fY,Nwa,Pwa,Owa,UZ,Rwa,Swa,Twa,WZ,XZ,Wna,Vwa,Wwa,$Z,Xwa,ZZ,b_,a_,c_,Ywa,d_,e_,f_,g_,h_,$wa,Zwa,i_,axa,bxa,j_,k_,cxa,l_,dxa,exa,m_,n_,fxa,o_,hxa,p_,q_,ixa,r_,s_,t_,jxa,kxa,u_,v_,w_,lxa,mxa,oxa,nxa,y_,pxa,qxa,z_,A_,B_,nW,txa,sxa,D_,uxa,DW,vxa,xxa,yxa,wxa,F_,Axa,zxa,Bxa,E_,G_,Cxa,H_,I_,K_,Exa,L_,M_,Hxa,Ixa,N_,Jxa,Kxa,Fxa,S_,Lxa,P_,O_,Mxa,Nxa,Oxa,U_,Rxa,Uxa,Sxa,Qxa,V_,W_,Pxa,Txa,X_,Wxa,Vxa,Y_,a0,Z_,b0,$_,c0,Zxa,e0,$xa,aya,xY,bya,cya,g0,i0,f0,dya,eya,Ksa,gya,j0,k0,l0,hya,m0,jya,iya,
qya,p0,q0,iV,s0,rya,r0,Lsa,vY,v0,w0,x0,sya,LZ,y0,nya,oya,tya,B0,n0,uya,pya,vya,F0,Gsa,G0,xya,A0,z0,I0,u0,SZ,Gxa,E0,Xxa,R_,K0,L0,H0,yya,Aya,WU,Mwa,tQ,Bya,D0,N0,Dya,O0,YU,J0,P0,Q0,Eya,Fya,mya,wya,Gya,lya,Hya,R0,S0,aa,fa,T0,Gy,Saa,Hd,La,faa;ba=function(a){return function(){return aa[a].apply(this,arguments)}};
g.ca=function(a,b){return aa[a]=b};
da=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
g.r=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:da(a)}};
g.ea=function(a){if(!(a instanceof Array)){a=g.r(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
g.t=function(a,b){a.prototype=fa(b.prototype);a.prototype.constructor=a;if(ha)ha(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.fa=b.prototype};
la=function(a,b){if(b){for(var c=ia,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&ka(c,d,{configurable:!0,writable:!0,value:f})}};
ma=function(){ma=function(){};
ia.Symbol||(ia.Symbol=aaa)};
oa=function(a,b){this.o=a;ka(this,"description",{configurable:!0,writable:!0,value:b})};
qa=function(){ma();var a=ia.Symbol.iterator;a||(a=ia.Symbol.iterator=ia.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ka(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return pa(da(this))}});
qa=function(){}};
pa=function(a){qa();a={next:a};a[ia.Symbol.iterator]=function(){return this};
return a};
ra=function(){this.B=!1;this.A=null;this.D=void 0;this.o=1;this.H=this.F=0;this.C=null};
sa=function(a){if(a.B)throw new TypeError("Generator is already running");a.B=!0};
ta=function(a,b){a.C={wK:b,RM:!0};a.o=a.F||a.H};
ua=function(a,b,c){a.o=c;return{value:b}};
baa=function(a){this.o=new ra;this.A=a};
caa=function(a,b){sa(a.o);var c=a.o.A;if(c)return va(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.o["return"]);
a.o["return"](b);return wa(a)};
va=function(a,b,c,d){try{var e=b.call(a.o.A,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.o.B=!1,e;var f=e.value}catch(k){return a.o.A=null,ta(a.o,k),wa(a)}a.o.A=null;d.call(a.o,f);return wa(a)};
wa=function(a){for(;a.o.o;)try{var b=a.A(a.o);if(b)return a.o.B=!1,{value:b.value,done:!1}}catch(c){a.o.D=void 0,ta(a.o,c)}a.o.B=!1;if(a.o.C){b=a.o.C;a.o.C=null;if(b.RM)throw b.wK;return{value:b["return"],done:!0}}return{value:void 0,done:!0}};
daa=function(a){this.next=function(b){sa(a.o);a.o.A?b=va(a,a.o.A.next,b,a.o.G):(a.o.G(b),b=wa(a));return b};
this["throw"]=function(b){sa(a.o);a.o.A?b=va(a,a.o.A["throw"],b,a.o.G):(ta(a.o,b),b=wa(a));return b};
this["return"]=function(b){return caa(a,b)};
qa();this[Symbol.iterator]=function(){return this}};
eaa=function(a){function b(d){return a.next(d)}
function c(d){return a["throw"](d)}
return new Promise(function(d,e){function f(k){k.done?d(k.value):Promise.resolve(k.value).then(b,c).then(f,e)}
f(a.next())})};
xa=function(a){return eaa(new daa(new baa(a)))};
ya=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
za=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.v=function(a){return void 0!==a};
g.x=function(a){return"string"==typeof a};
g.Aa=function(a){return"boolean"==typeof a};
g.Ca=function(a){return"number"==typeof a};
g.Da=function(a,b,c){a=a.split(".");c=c||g.y;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&g.v(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}};
g.z=function(a,b){for(var c=a.split("."),d=b||g.y,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d};
g.A=function(){};
g.Ea=function(a){a.kd=void 0;a.getInstance=function(){return a.kd?a.kd:a.kd=new a}};
Fa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};
g.Ga=function(a){return"array"==Fa(a)};
g.Ha=function(a){var b=Fa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.Ja=function(a){return"function"==Fa(a)};
g.Ka=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Ma=function(a){return a[La]||(a[La]=++faa)};
gaa=function(a,b,c){return a.call.apply(a.bind,arguments)};
haa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};
g.B=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.B=gaa:g.B=haa;return g.B.apply(null,arguments)};
g.Na=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};
g.Oa=function(a,b){for(var c in b)a[c]=b[c]};
g.C=function(a,b){function c(){}
c.prototype=b.prototype;a.fa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.y4=function(d,e,f){for(var k=Array(arguments.length-2),l=2;l<arguments.length;l++)k[l-2]=arguments[l];return b.prototype[e].apply(d,k)}};
Pa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Pa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
Qa=function(a,b){for(var c=a.split("%s"),d="",e=c.length-1,f=0;f<e;f++)d+=c[f]+(f<b.length?b[f]:"%s");Pa.call(this,d+c[e])};
iaa=function(){};
g.Ra=function(a){return a[a.length-1]};
jaa=function(a,b){for(var c=g.x(a)?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)};
g.Ua=function(a,b,c){b=g.Sa(a,b,c);return 0>b?null:g.x(a)?a.charAt(b):a[b]};
g.Sa=function(a,b,c){for(var d=a.length,e=g.x(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
Wa=function(a,b){var c=g.Va(a,b,void 0);return 0>c?null:g.x(a)?a.charAt(c):a[c]};
g.Va=function(a,b,c){for(var d=g.x(a)?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a))return e;return-1};
g.Ya=function(a,b){return 0<=Xa(a,b)};
g.Za=function(a){return 0==a.length};
ab=function(a){if(!g.Ga(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.bb=function(a,b){g.Ya(a,b)||a.push(b)};
g.db=function(a,b){var c=Xa(a,b),d;(d=0<=c)&&g.cb(a,c);return d};
g.cb=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};
g.eb=function(a,b){var c=g.Sa(a,b,void 0);0<=c&&g.cb(a,c)};
fb=function(a,b){var c=0;jaa(a,function(d,e){b.call(void 0,d,e,a)&&g.cb(a,e)&&c++})};
g.gb=function(a){return Array.prototype.concat.apply([],arguments)};
g.ib=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};
jb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.Ha(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}};
g.lb=function(a,b,c,d){Array.prototype.splice.apply(a,kb(arguments,1))};
kb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
nb=function(a,b,c){function d(n){return g.Ka(n)?"o"+g.Ma(n):(typeof n).charAt(0)+n}
b=b||a;c=c||d;for(var e={},f=0,k=0;k<a.length;){var l=a[k++],m=c(l);Object.prototype.hasOwnProperty.call(e,m)||(e[m]=!0,b[f++]=l)}b.length=f};
g.qb=function(a,b,c){return ob(a,c||pb,!1,b)};
rb=function(a,b){return ob(a,b,!0,void 0,void 0)};
ob=function(a,b,c,d,e){for(var f=0,k=a.length,l;f<k;){var m=f+k>>1,n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0<n?f=m+1:(k=m,l=!n)}return l?f:~f};
g.sb=function(a,b){a.sort(b||pb)};
kaa=function(a,b){var c=pb;g.sb(a,function(d,e){return c(b(d),b(e))})};
g.tb=function(a,b){if(!g.Ha(a)||!g.Ha(b)||a.length!=b.length)return!1;for(var c=a.length,d=laa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
pb=function(a,b){return a>b?1:a<b?-1:0};
laa=function(a,b){return a===b};
g.ub=function(a,b,c){c=g.qb(a,b,c);0>c&&g.lb(a,-(c+1),0,b)};
g.vb=function(a,b,c){var d={};(0,g.E)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
maa=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
g.wb=function(a,b){return 0==a.lastIndexOf(b,0)};
xb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
g.G=function(a){return/^[\s\xa0]*$/.test(a)};
Eb=function(a,b){if(b)a=a.replace(yb,"&amp;").replace(zb,"&lt;").replace(Ab,"&gt;").replace(Bb,"&quot;").replace(Cb,"&#39;").replace(Db,"&#0;");else{if(!naa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(yb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(zb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ab,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Bb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Cb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Db,"&#0;"))}return a};
Fb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
g.Ib=function(a,b){for(var c=0,d=Gb(String(a)).split("."),e=Gb(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&k<f;k++){var l=d[k]||"",m=e[k]||"";do{l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];m=/(\d*)(\D*)(.*)/.exec(m)||["","","",""];if(0==l[0].length&&0==m[0].length)break;c=Hb(0==l[1].length?0:parseInt(l[1],10),0==m[1].length?0:parseInt(m[1],10))||Hb(0==l[2].length,0==m[2].length)||Hb(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
Hb=function(a,b){return a<b?-1:a>b?1:0};
Lb=function(a){return-1!=g.Jb.indexOf(a)};
g.Mb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Nb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
g.Pb=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c};
Qb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.Rb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
g.Sb=function(a){var b=0,c;for(c in a)b++;return b};
Tb=function(a){for(var b in a)return a[b]};
g.Ub=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Vb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Wb=function(a,b){var c=g.Ha(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
Xb=function(a,b){return null!==a&&b in a};
g.Yb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Zb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
$b=function(a,b){var c=Zb(a,b,void 0);return c&&a[c]};
g.cc=function(a){for(var b in a)return!1;return!0};
g.dc=function(a){for(var b in a)delete a[b]};
ec=function(a,b){b in a&&delete a[b]};
fc=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.gc=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0};
g.hc=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
g.ic=function(a){var b=Fa(a);if("object"==b||"array"==b){if(g.Ja(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.ic(a[c]);return b}return a};
g.kc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<jc.length;f++)c=jc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
lc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
mc=function(){return Lb("Firefox")||Lb("FxiOS")};
oc=function(){return Lb("Safari")&&!(nc()||Lb("Coast")||Lb("Opera")||Lb("Edge")||mc()||Lb("Silk")||Lb("Android"))};
nc=function(){return(Lb("Chrome")||Lb("CriOS"))&&!Lb("Edge")};
g.pc=function(){return Lb("Android")&&!(nc()||mc()||Lb("Opera")||Lb("Silk"))};
g.qc=function(a){return encodeURIComponent(String(a))};
rc=function(a){return decodeURIComponent(a.replace(/\+/g," "))};
g.sc=function(a){return a=Eb(a,void 0)};
tc=function(a){return-1!=a.indexOf("&")?"document"in g.y?oaa(a):paa(a):a};
oaa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=g.y.document.createElement("div");return a.replace(qaa,function(d,e){var f=b[d];if(f)return f;if("#"==e.charAt(0)){var k=Number("0"+e.substr(1));isNaN(k)||(f=String.fromCharCode(k))}f||(c.innerHTML=d+" ",f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})};
paa=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var d=Number("0"+c.substr(1));if(!isNaN(d))return String.fromCharCode(d)}return b}})};
uc=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
g.xc=function(a,b,c){a=g.v(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return wc("0",Math.max(0,b-c))+a};
g.H=function(a){return null==a?"":String(a)};
g.yc=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.J)()).toString(36)};
zc=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Ac=function(){return"goog_"+raa++};
g.Bc=function(a){var b=Number(a);return 0==b&&g.G(a)?NaN:b};
Cc=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
g.Dc=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
saa=function(a){var b=g.x(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(c,d,e){return d+e.toUpperCase()})};
Ec=function(a){isFinite(a)&&(a=String(a));return g.x(a)?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};
Fc=function(){return Lb("iPhone")&&!Lb("iPod")&&!Lb("iPad")};
Gc=function(){return Fc()||Lb("iPad")||Lb("iPod")};
Hc=function(a){Hc[" "](a);return a};
Ic=function(a,b){try{return Hc(a[b]),!0}catch(c){}return!1};
uaa=function(a,b){var c=taa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
Jc=function(){var a=g.y.document;return a?a.documentMode:void 0};
g.Lc=function(a){return uaa(a,function(){return 0<=g.Ib(Kc,a)})};
g.Mc=function(a){return Number(vaa)>=a};
Nc=function(a){return function(){return a}};
g.Oc=function(a){return a};
waa=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
Pc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
xaa=function(a,b){var c=0;return function(d){g.y.clearTimeout(c);var e=arguments;c=g.y.setTimeout(function(){a.apply(b,e)},50)}};
yaa=function(a){function b(){d=g.y.setTimeout(c,1E3);a.apply(void 0,f)}
function c(){d=0;e&&(e=!1,b())}
var d=0,e=!1,f=[];return function(k){f=arguments;d?e=!0:b()}};
Sc=function(a,b){this.o=a===Qc&&b||"";this.A=Rc};
Tc=function(a){return a instanceof Sc&&a.constructor===Sc&&a.A===Rc?a.o:"type_error:Const"};
g.Uc=function(a){return new Sc(Qc,a)};
Vc=function(a,b){return b?a.replace(zaa,""):a};
Xc=function(a,b){for(var c=0,d=0,e=!1,f=Vc(a,b).split(Aaa),k=0;k<f.length;k++){var l=f[k];Wc.test(Vc(l,void 0))?(c++,d++):Baa.test(l)?e=!0:Caa.test(Vc(l,void 0))?d++:Daa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
Zc=function(){this.A="";this.C=Yc};
$c=function(a){if(a instanceof Zc&&a.constructor===Zc&&a.C===Yc)return a.A;Fa(a);return"type_error:TrustedResourceUrl"};
Gaa=function(a,b){var c=Tc(a);if(!Eaa.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);var d=c.replace(Faa,function(e,f){if(!Object.prototype.hasOwnProperty.call(b,f))throw Error('Found marker, "'+f+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));var k=b[f];return k instanceof Sc?Tc(k):encodeURIComponent(String(k))});
return ad(d)};
bd=function(a){return ad(Tc(a))};
ad=function(a){var b=new Zc;b.A=a;return b};
dd=function(){this.A="";this.C=cd};
g.fd=function(a){return ed(a).toString()};
ed=function(a){if(a instanceof dd&&a.constructor===dd&&a.C===cd)return a.A;Fa(a);return"type_error:SafeUrl"};
g.id=function(a){if(a instanceof dd)return a;a="object"==typeof a&&a.Zf?a.Ue():String(a);gd.test(a)||(a="about:invalid#zClosurez");return hd(a)};
jd=function(a){if(a instanceof dd)return a;a="object"==typeof a&&a.Zf?a.Ue():String(a);gd.test(a)||(a="about:invalid#zClosurez");return hd(a)};
hd=function(a){var b=new dd;b.A=a;return b};
ld=function(){this.o="";this.A=kd};
md=function(a){if(a instanceof ld&&a.constructor===ld&&a.A===kd)return a.o;Fa(a);return"type_error:SafeStyle"};
nd=function(a){var b=new ld;b.o=a;return b};
od=function(a){if(a instanceof dd)return'url("'+g.fd(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof Sc?Tc(a):Haa(String(a));if(/[{;}]/.test(a))throw new Qa("Value does not allow [{;}], got: %s.",[a]);return a};
Haa=function(a){var b=a.replace(pd,"$1").replace(pd,"$1").replace(qd,"url");if(Iaa.test(b)){if(Jaa.test(a))return"zClosurez";for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}if(!b||!c||!Kaa(a))return"zClosurez"}else return"zClosurez";return Laa(a)};
Kaa=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b};
Laa=function(a){return a.replace(qd,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(k,l,m){f=l;return m});
b=g.id(d).Ue();return c+f+b+f+e})};
sd=function(){this.o="";this.A=rd};
ud=function(){this.A="";this.B=td;this.C=null};
g.vd=function(a){if(a instanceof ud&&a.constructor===ud&&a.B===td)return a.A;Fa(a);return"type_error:SafeHtml"};
xd=function(a){if(a instanceof ud)return a;var b="object"==typeof a,c=null;b&&a.ov&&(c=a.o());return wd(Eb(b&&a.Zf?a.Ue():String(a)),c)};
Maa=function(a){function b(f){g.Ga(f)?(0,g.E)(f,b):(f=xd(f),e.push(g.vd(f).toString()),f=f.o(),0==d?d=f:0!=f&&d!=f&&(d=null))}
var c=xd(yd),d=c.o(),e=[];(0,g.E)(a,b);return wd(e.join(g.vd(c).toString()),d)};
Naa=function(a){return Maa(Array.prototype.slice.call(arguments))};
wd=function(a,b){return Ad(a,b)};
Ad=function(a,b){var c=new ud;c.A=a;c.C=b;return c};
Cd=function(a,b,c){var d=null,e="";if(b)for(p in b){if(!Bd.test(p))throw Error('Invalid attribute name "'+p+'".');var f=b[p];if(null!=f){var k=a;var l=p;var m=f;if(m instanceof Sc)m=Tc(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.Ka(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof ld)){m="";for(f in k){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var n=k[f];
null!=n&&(n=g.Ga(n)?(0,g.K)(n,od).join(" "):od(n),m+=f+":"+n+";")}k=m?nd(m):Oaa}m=md(k)}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in Paa)if(m instanceof Zc)m=$c(m).toString();else if(m instanceof dd)m=g.fd(m);else if(g.x(m))m=g.id(m).Ue();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+m+'" given.');}m.Zf&&(m=m.Ue());l=l+'="'+Eb(String(m))+'"';e+=" "+
l}}var p="<"+a+e;null!=c?g.Ga(c)||(c=[c]):c=[];!0===Qaa[a.toLowerCase()]?p+=">":(d=Naa(c),p+=">"+g.vd(d).toString()+"</"+a+">",d=d.o());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Ad(p,d)};
Dd=function(a,b,c){var d={},e;for(e in a)d[e]=a[e];for(e in b)d[e]=b[e];for(e in c){var f=e.toLowerCase();if(f in a)throw Error('Cannot override "'+f+'" attribute, got "'+e+'" with value "'+c[e]+'"');f in b&&delete d[f];d[e]=c[e]}return d};
g.Ed=function(a,b){Tc(a);Tc(a);return Ad(b,null)};
g.Fd=function(a,b){if(Raa())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=g.vd(b)};
g.Gd=function(a,b){var c=b instanceof dd?b:jd(b);a.href=ed(c)};
Id=function(a,b){a.src=$c(b);if(null===Hd)b:{var c=g.y.document;if((c=c.querySelector&&c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Saa.test(c)){Hd=c;break b}Hd=""}c=Hd;c&&a.setAttribute("nonce",c)};
g.Jd=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.Ld=function(a,b){var c=a%b;return 0>c*b?c+b:c};
Md=function(a,b,c){return a+c*(b-a)};
g.Nd=function(a){return a*Math.PI/180};
g.Od=function(a,b){this.x=g.v(a)?a:0;this.y=g.v(b)?b:0};
Pd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.Qd=function(a,b){this.width=a;this.height=b};
g.Rd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
Sd=function(a){return a.width*a.height};
Wd=function(a){return a?new Td(Ud(a)):Vd||(Vd=new Td)};
g.Yd=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.Xd(document,"*",a,b)};
g.Zd=function(a,b){var c=b||document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.Xd(c,"*",a,b)[0]||null}return c||null};
g.Xd=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,k;k=a[f];f++)b==k.nodeName&&(d[e++]=k);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;k=a[f];f++)b=k.className,"function"==typeof b.split&&g.Ya(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a};
Taa=function(a,b){g.Mb(b,function(c,d){c&&"object"==typeof c&&c.Zf&&(c=c.Ue());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:$d.hasOwnProperty(d)?a.setAttribute($d[d],c):g.wb(d,"aria-")||g.wb(d,"data-")?a.setAttribute(d,c):a[d]=c})};
be=function(a){a=a.document;a=ae(a)?a.documentElement:a.body;return new g.Qd(a.clientWidth,a.clientHeight)};
ee=function(a){var b=ce(a);a=a.parentWindow||a.defaultView;return g.de&&g.Lc("10")&&a.pageYOffset!=b.scrollTop?new g.Od(b.scrollLeft,b.scrollTop):new g.Od(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
ce=function(a){return a.scrollingElement?a.scrollingElement:!g.fe&&ae(a)?a.documentElement:a.body||a.documentElement};
ge=function(a){return a?a.parentWindow||a.defaultView:window};
g.ie=function(a,b,c){return he(document,arguments)};
he=function(a,b){var c=String(b[0]),d=b[1];if(!Uaa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',g.sc(d.name),'"');if(d.type){c.push(' type="',g.sc(d.type),'"');var e={};g.kc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.x(d)?c.className=d:g.Ga(d)?c.className=d.join(" "):Taa(c,d));2<b.length&&je(a,c,b,2);return c};
je=function(a,b,c,d){function e(k){k&&b.appendChild(g.x(k)?a.createTextNode(k):k)}
for(;d<c.length;d++){var f=c[d];!g.Ha(f)||g.Ka(f)&&0<f.nodeType?e(f):(0,g.E)(Vaa(f)?g.ib(f):f,e)}};
g.ke=function(a){return document.createElement(String(a))};
g.le=function(a){return document.createTextNode(String(a))};
ae=function(a){return"CSS1Compat"==a.compatMode};
g.me=function(a,b){a.appendChild(b)};
ne=function(a,b){je(Ud(a),a,arguments,1)};
g.oe=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
pe=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.qe=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
se=function(a){return Waa&&void 0!=a.children?a.children:(0,g.re)(a.childNodes,function(b){return 1==b.nodeType})};
ue=function(a){return g.v(a.firstElementChild)?a.firstElementChild:te(a.firstChild)};
te=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.ve=function(a){var b;if(Xaa&&!(g.de&&g.Lc("9")&&!g.Lc("10")&&g.y.SVGElement&&a instanceof g.y.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Ka(b)&&1==b.nodeType?b:null};
g.we=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
Ud=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
xe=function(a){try{return a.contentWindow||(a.contentDocument?ge(a.contentDocument):null)}catch(b){}return null};
g.ye=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else{g.oe(a);var c=Ud(a);a.appendChild(c.createTextNode(String(b)))}};
ze=function(a){if("outerHTML"in a)return a.outerHTML;var b=Ud(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
Ce=function(a){var b;if((b="A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Ae(a)||Be(a)):Ae(a)&&Be(a))&&g.de){var c;!g.Ja(a.getBoundingClientRect)||g.de&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};
Ae=function(a){return g.de&&!g.Lc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Be=function(a){a=a.tabIndex;return g.Ca(a)&&0<=a&&32768>a};
Vaa=function(a){if(a&&"number"==typeof a.length){if(g.Ka(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Ja(a))return"function"==typeof a.item}return!1};
g.Ee=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return De(a,function(f){return(!e||f.nodeName==e)&&(!c||g.x(f.className)&&g.Ya(f.className.split(/\s+/),c))},!0,d)};
g.Fe=function(a,b){return g.Ee(a,null,b,void 0)};
De=function(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null};
Td=function(a){this.o=a||g.y.document||document};
Ge=function(a){a=a.o;return a.parentWindow||a.defaultView};
g.He=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
Ie=function(a){return(0,g.K)(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};
g.Me=function(a,b){g.Ha(a);Je();for(var c=b?Ke:Le,d=[],e=0;e<a.length;e+=3){var f=a[e],k=e+1<a.length,l=k?a[e+1]:0,m=e+2<a.length,n=m?a[e+2]:0,p=f>>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[p],c[f],c[l],c[n])}return d.join("")};
Oe=function(a){var b=[];Ne(a,function(c){b.push(c)});
return b};
g.Pe=function(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var d=new Uint8Array(Math.ceil(3*b/4)-c),e=0;Ne(a,function(f){d[e++]=f});
return d.subarray(0,e)};
Ne=function(a,b){function c(m){for(;d<a.length;){var n=a.charAt(d++),p=Qe[n];if(null!=p)return p;if(!g.G(n))throw Error("Unknown base64 encoding at char: "+n);}return m}
Je();for(var d=0;;){var e=c(-1),f=c(0),k=c(64),l=c(64);if(64===l&&-1===e)break;b(e<<2|f>>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}};
Je=function(){if(!Le){Le={};Qe={};Ke={};for(var a=0;65>a;a++)Le[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Qe[Le[a]]=a,Ke[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(Qe["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
Se=function(a,b,c){this.A=null;this.F=this.G=this.o=this.C=this.B=0;this.D=!1;a&&Re(this,a,b,c)};
Ue=function(a,b,c){if(Te.length){var d=Te.pop();a&&Re(d,a,b,c);return d}return new Se(a,b,c)};
Re=function(a,b,c,d){b=b.constructor===Uint8Array?b:b.constructor===ArrayBuffer?new Uint8Array(b):b.constructor===Array?new Uint8Array(b):b.constructor===String?g.Pe(b):new Uint8Array(0);a.A=b;a.B=g.v(c)?c:0;a.C=g.v(d)?a.B+d:a.A.length;a.o=a.B};
Ve=function(a){var b=a.A;var c=b[a.o+0];var d=c&127;if(128>c)return a.o+=1,d;c=b[a.o+1];d|=(c&127)<<7;if(128>c)return a.o+=2,d;c=b[a.o+2];d|=(c&127)<<14;if(128>c)return a.o+=3,d;c=b[a.o+3];d|=(c&127)<<21;if(128>c)return a.o+=4,d;c=b[a.o+4];d|=(c&15)<<28;if(128>c)return a.o+=5,d>>>0;a.o+=5;128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&a.o++;return d};
We=function(a){this.o=Ue(a,void 0,void 0);this.D=this.o.o;this.A=this.C=-1;this.B=!1};
Xe=function(a){var b=a.o;if(b.o==b.C||a.getError())return!1;a.D=a.o.o;b=Ve(a.o);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.B=!0,!1;a.C=b>>>3;a.A=c;return!0};
Ye=function(a){switch(a.A){case 0:if(0!=a.A)Ye(a);else{for(a=a.o;a.A[a.o]&128;)a.o++;a.o++}break;case 1:1!=a.A?Ye(a):(a=a.o,a.o+=8);break;case 2:if(2!=a.A)Ye(a);else{var b=Ve(a.o);a=a.o;a.o+=b}break;case 5:5!=a.A?Ye(a):(a=a.o,a.o+=4);break;case 3:b=a.C;do{if(!Xe(a)){a.B=!0;break}if(4==a.A){a.C!=b&&(a.B=!0);break}Ye(a)}while(1)}};
Ze=function(a){a=a.o;a:{for(var b,c=0,d,e=0;4>e;e++)if(b=a.A[a.o++],c|=(b&127)<<7*e,128>b){a.G=c>>>0;a.F=0;break a}b=a.A[a.o++];c|=(b&127)<<28;d=0|(b&127)>>4;if(128>b)a.G=c>>>0,a.F=d>>>0;else{for(e=0;5>e;e++)if(b=a.A[a.o++],d|=(b&127)<<7*e+3,128>b){a.G=c>>>0;a.F=d>>>0;break a}a.D=!0}}b=a.G;c=a.F;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+b;return a?-b:b};
$e=function(a){var b=Ve(a.o);a=a.o;var c=a.A,d=a.o,e=d+b;b=[];for(var f="";d<e;){var k=c[d++];if(128>k)b.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];b.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];b.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;b.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=b.length&&(f+=String.fromCharCode.apply(null,b),b.length=0)}c=f;if(8192>=b.length)b=String.fromCharCode.apply(null,
b);else{e="";for(f=0;f<b.length;f+=8192)k=kb(b,f,f+8192),e+=String.fromCharCode.apply(null,k);b=e}a.o=d;return c+b};
af=function(a){var b=Ve(a.o);a=a.o;if(0>b||a.o+b>a.A.length)a.D=!0,b=new Uint8Array(0);else{var c=a.A.subarray(a.o,a.o+b);a.o+=b;b=c}return b};
bf=function(){this.o=[]};
cf=function(a,b){for(;127<b;)a.o.push(b&127|128),b>>>=7;a.o.push(b)};
df=function(a,b){a.o.push(b>>>0&255);a.o.push(b>>>8&255);a.o.push(b>>>16&255);a.o.push(b>>>24&255)};
ef=function(){this.A=[];this.C=0;this.o=new bf};
ff=function(a,b,c){if(null!=c&&null!=c)if(cf(a.o,8*b),a=a.o,0<=c)cf(a,c);else{for(b=0;9>b;b++)a.o.push(c&127|128),c>>=7;a.o.push(1)}};
gf=function(){};
of=function(a,b,c,d){a.o=null;b||(b=[]);a.G=void 0;a.B=-1;a.A=b;a:{if(b=a.A.length){--b;var e=a.A[b];if(!(null===e||"object"!=typeof e||g.Ga(e)||hf&&e instanceof Uint8Array)){a.D=b-a.B;a.C=e;break a}}a.D=Number.MAX_VALUE}a.F={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.D?(e+=a.B,a.A[e]=a.A[e]||jf):(lf(a),a.C[e]=a.C[e]||jf);if(d&&d.length)for(b=0;b<d.length;b++){e=c=void 0;for(var f=a,k=d[b],l=0;l<k.length;l++){var m=k[l],n=mf(f,m);null!=n&&(e=m,c=n,nf(f,m,void 0))}e&&nf(f,e,c)}};
lf=function(a){var b=a.D+a.B;a.A[b]||(a.C=a.A[b]={})};
mf=function(a,b){if(b<a.D){var c=b+a.B,d=a.A[c];return d===jf?a.A[c]=[]:d}if(a.C)return d=a.C[b],d===jf?a.C[b]=[]:d};
pf=function(a,b){var c=mf(a,b);return null==c?c:+c};
qf=function(a,b){var c=mf(a,b);return null==c?c:!!c};
Yaa=function(a){if(null==a||a instanceof Uint8Array)return a;if(g.x(a))return g.Pe(a);Fa(a);return null};
rf=function(a,b){var c=mf(a,b);return null==c?0:c};
nf=function(a,b,c){b<a.D?a.A[b+a.B]=c:(lf(a),a.C[b]=c)};
sf=function(a,b,c){0!==c?nf(a,b,c):a.A[b+a.B]=null};
tf=function(a,b,c){a.o||(a.o={});if(!a.o[c]){var d=mf(a,c);d&&(a.o[c]=new b(d))}return a.o[c]};
Zaa=function(a){uf(a,vf,1);var b=a.o[1];b==jf&&(b=a.o[1]=[]);return b};
uf=function(a,b,c){a.o||(a.o={});if(!a.o[c]){for(var d=mf(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.o[c]=e}};
xf=function(a){if(a.o)for(var b in a.o){var c=a.o[b];if(g.Ga(c))for(var d=0;d<c.length;d++)c[d]&&wf(c[d]);else c&&wf(c)}};
wf=function(a){xf(a);return a.A};
yf=function(a){if(g.Ga(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?yf(d):d)}return b}if(hf&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?yf(d):d);return b};
zf=function(a){of(this,a,null,null)};
Af=function(a){of(this,a,null,null)};
Bf=function(a){of(this,a,null,$aa)};
Cf=function(a){of(this,a,null,aba)};
Df=function(a){of(this,a,null,bba)};
Ef=function(a){of(this,a,null,null)};
Ff=function(a){of(this,a,null,null)};
Gf=function(a){of(this,a,null,null)};
Hf=function(a){of(this,a,null,null)};
If=function(a){of(this,a,null,null)};
Jf=function(a){of(this,a,cba,null)};
vf=function(a){of(this,a,null,null)};
Kf=function(a){return tf(a,Af,1)};
Lf=function(a){for(var b=[],c=a=ge(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
dba=function(a){var b=g.z("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if(g.x(a))return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||g.y.$googDebugFname||b}catch(f){e="Not available",c=!0}return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:(b=a.message,null==b&&(a.constructor&&
a.constructor instanceof Function?(a.constructor.name?b=a.constructor.name:(b=a.constructor,Mf[b]?b=Mf[b]:(b=String(b),Mf[b]||(c=/function\s+([^\(]+)/m.exec(b),Mf[b]=c?c[1]:"[Anonymous]"),b=Mf[b])),b='Unknown Error of type "'+b+'"'):b="Unknown Error of unknown type"),{message:b,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:a.stack||"Not available"})};
g.L=function(){this.Bb=this.Bb;this.gj=this.gj};
g.M=function(a,b){g.Nf(a,g.Na(g.Of,b))};
g.Nf=function(a,b){a.Bb?g.v(void 0)?b.call(void 0):b():(a.gj||(a.gj=[]),a.gj.push(g.v(void 0)?(0,g.B)(b,void 0):b))};
g.Of=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.Pf=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.Ha(d)?g.Pf.apply(null,d):g.Of(d)}};
g.Qf=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.mj=!1;this.LF=!0};
Rf=function(a){a.stopPropagation()};
Tf=function(a){return g.fe?"webkit"+a:g.Sf?"o"+a.toLowerCase():a.toLowerCase()};
Uf=function(a,b){g.Qf.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.o=null;a&&this.init(a,b)};
g.Wf=function(a){return!(!a||!a[g.Vf])};
fba=function(a,b,c,d,e){this.listener=a;this.o=null;this.src=b;this.type=c;this.capture=!!d;this.Uf=e;this.key=++eba;this.Xk=this.Wo=!1};
Xf=function(a){a.Xk=!0;a.listener=null;a.o=null;a.src=null;a.Uf=null};
Yf=function(a){this.src=a;this.listeners={};this.o=0};
Zf=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.db(a.listeners[c],b);d&&(Xf(b),0==a.listeners[c].length&&(delete a.listeners[c],a.o--));return d};
g.$f=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,Xf(d[e]);delete a.listeners[c];a.o--}};
ag=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Xk&&f.listener==b&&f.capture==!!c&&f.Uf==d)return e}return-1};
g.cg=function(a,b,c,d,e){if(d&&d.once)return bg(a,b,c,d,e);if(g.Ga(b)){for(var f=0;f<b.length;f++)g.cg(a,b[f],c,d,e);return null}c=dg(c);return g.Wf(a)?a.X(b,c,g.Ka(d)?!!d.capture:!!d,e):fg(a,b,c,!1,d,e)};
fg=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Ka(e)?!!e.capture:!!e,l=g.gg(a);l||(a[hg]=l=new Yf(a));c=l.add(b,c,d,k,f);if(c.o)return c;d=gba();c.o=d;d.src=a;d.listener=c;if(a.addEventListener)hba||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(ig(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");jg++;return c};
gba=function(){var a=iba,b=kg?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
if(!c)return c};
return b};
bg=function(a,b,c,d,e){if(g.Ga(b)){for(var f=0;f<b.length;f++)bg(a,b[f],c,d,e);return null}c=dg(c);return g.Wf(a)?a.Nh(b,c,g.Ka(d)?!!d.capture:!!d,e):fg(a,b,c,!0,d,e)};
g.lg=function(a,b,c,d,e){if(g.Ga(b))for(var f=0;f<b.length;f++)g.lg(a,b[f],c,d,e);else d=g.Ka(d)?!!d.capture:!!d,c=dg(c),g.Wf(a)?a.Ka(b,c,d,e):a&&(a=g.gg(a))&&(b=a.Am(b,c,d,e))&&g.mg(b)};
g.mg=function(a){if(g.Ca(a)||!a||a.Xk)return!1;var b=a.src;if(g.Wf(b))return Zf(b.Ne,a);var c=a.type,d=a.o;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ig(c),d):b.addListener&&b.removeListener&&b.removeListener(d);jg--;(c=g.gg(b))?(Zf(c,a),0==c.o&&(c.src=null,b[hg]=null)):Xf(a);return!0};
ig=function(a){return a in ng?ng[a]:ng[a]="on"+a};
pg=function(a,b,c,d){var e=!0;if(a=g.gg(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Xk&&(f=og(f,d),e=e&&!1!==f)}return e};
og=function(a,b){var c=a.listener,d=a.Uf||a.src;a.Wo&&g.mg(a);return c.call(d,b)};
iba=function(a,b){if(a.Xk)return!0;if(!kg){var c=b||g.z("window.event"),d=new Uf(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var k=c.length-1;!d.mj&&0<=k;k--){d.currentTarget=c[k];var l=pg(c[k],f,!0,d);e=e&&l}for(k=0;!d.mj&&k<c.length;k++)d.currentTarget=c[k],l=pg(c[k],f,!1,d),e=e&&l}return e}return og(a,new Uf(b,
this))};
g.gg=function(a){a=a[hg];return a instanceof Yf?a:null};
dg=function(a){if(g.Ja(a))return a;a[qg]||(a[qg]=function(b){return a.handleEvent(b)});
return a[qg]};
g.rg=function(){g.L.call(this);this.Ne=new Yf(this);this.jb=this;this.ya=null};
sg=function(a,b,c,d){b=a.Ne.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var k=b[f];if(k&&!k.Xk&&k.capture==c){var l=k.listener,m=k.Uf||k.src;k.Wo&&Zf(a.Ne,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.LF};
tg=function(a,b){this.C=a;this.B=b;this.A=0;this.o=null};
ug=function(a,b){a.B(b);100>a.A&&(a.A++,b.next=a.o,a.o=b)};
vg=function(a){g.y.setTimeout(function(){throw a;},0)};
xg=function(a,b){var c=a;b&&(c=(0,g.B)(a,b));c=jba(c);!g.Ja(g.y.setImmediate)||g.y.Window&&g.y.Window.prototype&&!Lb("Edge")&&g.y.Window.prototype.setImmediate==g.y.setImmediate?(wg||(wg=kba()),wg(c)):g.y.setImmediate(c)};
kba=function(){var a=g.y.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Lb("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";e.src="";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write("");e.close();var k="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.B)(function(m){if(("*"==l||m.origin==l)&&
m.data==k)this.port1.onmessage()},this);
f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(k,l)}}});
if("undefined"!==typeof a&&!Lb("Trident")&&!Lb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.v(c.next)){c=c.next;var e=c.tA;c.tA=null;e()}};
return function(e){d.next={tA:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var f=document.createElement("SCRIPT");
f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null};
document.documentElement.appendChild(f)}:function(e){g.y.setTimeout(e,0)}};
yg=function(){this.A=this.o=null};
zg=function(){this.next=this.scope=this.o=null};
g.Dg=function(a,b){Ag||lba();Bg||(Ag(),Bg=!0);Cg.add(a,b)};
lba=function(){if(g.y.Promise&&g.y.Promise.resolve){var a=g.y.Promise.resolve(void 0);Ag=function(){a.then(Eg)}}else Ag=function(){xg(Eg)}};
Eg=function(){for(var a;a=Cg.remove();){try{a.o.call(a.scope)}catch(b){vg(b)}ug(Fg,a)}Bg=!1};
Gg=function(a){a.prototype.$goog_Thenable=!0};
Hg=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.Jg=function(a,b){this.o=0;this.G=void 0;this.B=this.A=this.C=null;this.D=this.F=!1;if(a!=g.A)try{var c=this;a.call(b,function(d){Ig(c,2,d)},function(d){Ig(c,3,d)})}catch(d){Ig(this,3,d)}};
Kg=function(){this.next=this.context=this.onRejected=this.C=this.o=null;this.A=!1};
Mg=function(a,b,c){var d=Lg.get();d.C=a;d.onRejected=b;d.context=c;return d};
Ng=function(a){if(a instanceof g.Jg)return a;var b=new g.Jg(g.A);Ig(b,2,a);return b};
Og=function(a){return new g.Jg(function(b,c){c(a)})};
Qg=function(a,b,c){Pg(a,b,c,null)||g.Dg(g.Na(b,a))};
mba=function(a){return new g.Jg(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],Qg(e,b,c)})};
g.Rg=function(a){return new g.Jg(function(b,c){var d=a.length,e=[];if(d)for(var f=function(n,p){d--;e[n]=p;0==d&&b(e)},k=function(n){c(n)},l=0,m;l<a.length;l++)m=a[l],Qg(m,g.Na(f,l),k);
else b(e)})};
oba=function(){var a,b,c=new g.Jg(function(d,e){a=d;b=e});
return new nba(c,a,b)};
pba=function(a,b){var c=Mg(b,b,void 0);c.A=!0;Sg(a,c)};
g.Ug=function(a,b){return Tg(a,null,b,void 0)};
Vg=function(a,b){if(0==a.o)if(a.C){var c=a.C;if(c.A){for(var d=0,e=null,f=null,k=c.A;k&&(k.A||(d++,k.o==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.o&&1==d?Vg(c,b):(f?(d=f,d.next==c.B&&(c.B=d),d.next=d.next.next):Wg(c),Xg(c,e,3,b)))}a.C=null}else Ig(a,3,b)};
Sg=function(a,b){a.A||2!=a.o&&3!=a.o||Yg(a);a.B?a.B.next=b:a.A=b;a.B=b};
Tg=function(a,b,c,d){var e=Mg(null,null,null);e.o=new g.Jg(function(f,k){e.C=b?function(l){try{var m=b.call(d,l);f(m)}catch(n){k(n)}}:f;
e.onRejected=c?function(l){try{var m=c.call(d,l);!g.v(m)&&l instanceof Zg?k(l):f(m)}catch(n){k(n)}}:k});
e.o.C=a;Sg(a,e);return e.o};
Ig=function(a,b,c){0==a.o&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.o=1,Pg(c,a.J,a.K,a)||(a.G=c,a.o=b,a.C=null,Yg(a),3!=b||c instanceof Zg||qba(a,c)))};
Pg=function(a,b,c,d){if(a instanceof g.Jg)return Sg(a,Mg(b||g.A,c||null,d)),!0;if(Hg(a))return a.then(b,c,d),!0;if(g.Ka(a))try{var e=a.then;if(g.Ja(e))return rba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
rba=function(a,b,c,d,e){function f(m){l||(l=!0,d.call(e,m))}
function k(m){l||(l=!0,c.call(e,m))}
var l=!1;try{b.call(a,k,f)}catch(m){f(m)}};
Yg=function(a){a.F||(a.F=!0,g.Dg(a.H,a))};
Wg=function(a){var b=null;a.A&&(b=a.A,a.A=b.next,b.next=null);a.A||(a.B=null);return b};
Xg=function(a,b,c,d){if(3==c&&b.onRejected&&!b.A)for(;a&&a.D;a=a.C)a.D=!1;if(b.o)b.o.C=null,$g(b,c,d);else try{b.A?b.C.call(b.context):$g(b,c,d)}catch(e){ah.call(null,e)}ug(Lg,b)};
$g=function(a,b,c){2==b?a.C.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
qba=function(a,b){a.D=!0;g.Dg(function(){a.D&&ah.call(null,b)})};
Zg=function(a){Pa.call(this,a)};
nba=function(a,b,c){this.o=a;this.resolve=b;this.reject=c};
g.bh=function(a,b){g.rg.call(this);this.Ed=a||1;this.eo=b||g.y;this.oA=(0,g.B)(this.pd,this);this.IC=(0,g.J)()};
g.ch=function(a,b,c){if(g.Ja(a))c&&(a=(0,g.B)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.B)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.y.setTimeout(a,b||0)};
g.dh=function(a){g.y.clearTimeout(a)};
sba=function(){var a=null;return g.Ug(new g.Jg(function(b,c){a=g.ch(function(){b("NO_BID")},1E3);
-1==a&&c(Error("Failed to schedule timer."))}),function(b){g.dh(a);
throw b;})};
eh=function(){return Math.round((0,g.J)()/1E3)};
tba=function(a){var b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:eh()};
uba=function(){this.A=-1};
vba=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))};
wba=function(a){try{return g.y.JSON.parse(a)}catch(d){var b=d}a=String(a);if(vba(a))try{var c=eval("("+a+")");b&&fh("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.hh=function(a){var b=[];gh(new xba,a,b);return b.join("")};
xba=function(){};
gh=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.Ga(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),gh(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),ih(d,c),c.push(":"),gh(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":ih(b,c);break;case "number":c.push(isFinite(b)&&
!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}};
ih=function(a,b){b.push('"',a.replace(yba,function(c){var d=jh[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),jh[c]=d);return d}),'"')};
kh=function(a){this.o=a||{cookie:""}};
lh=function(a){a=(a.o.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Gb(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
g.mh=function(a,b,c,d,e,f,k){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);k&&(l+="#"+k);return l};
g.nh=function(a){return a.match(zba)};
g.oh=function(a){return a?decodeURI(a):a};
g.ph=function(a){return g.oh(g.nh(a)[3]||null)};
g.qh=function(a){return Number(g.nh(a)[4]||null)||null};
rh=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var k=c[d].substring(0,e);f=c[d].substring(e+1)}else k=c[d];b(k,f?rc(f):"")}};
sh=function(a){var b=a.indexOf("#");0>b&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]};
th=function(a,b){return b?a?a+"&"+b:b:a};
uh=function(a,b){if(!b)return a;var c=sh(a);c[1]=th(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
vh=function(a,b,c){if(g.Ga(b))for(var d=0;d<b.length;d++)vh(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.qc(b)))};
wh=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)vh(a[d],a[d+1],c);return c.join("&")};
g.xh=function(a){var b=[],c;for(c in a)vh(c,a[c],b);return b.join("&")};
yh=function(a,b){var c=2==arguments.length?wh(arguments[1],0):wh(arguments,1);return uh(a,c)};
g.zh=function(a,b){var c=g.xh(b);return uh(a,c)};
Ah=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};
Ch=function(a,b){var c=a.search(Bh),d=Ah(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return rc(a.substr(d,e-d))};
g.Dh=function(a,b){for(var c=a.search(Bh),d=0,e,f=[];0<=(e=Ah(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.substr(d));return f.join("").replace(Aba,"$1")};
Eh=function(a,b,c){a=g.Dh(a,b);c=null!=c?"="+g.qc(c):"";return uh(a,b+c)};
Bba=function(a,b){var c=sh(a),d=c[1],e=[];d&&(0,g.E)(d.split("&"),function(f){var k=f.indexOf("=");b.hasOwnProperty(0<=k?f.substr(0,k):f)||e.push(f)});
c[1]=th(e.join("&"),g.xh(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
Fh=function(){this.o={};return this};
Gh=function(a,b){a.o.eb=fc(a.o,"eb",0)|b};
g.Hh=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
Ih=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};
Jh=function(a,b,c){b instanceof g.Od?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.Ca(c)&&(a.top+=c,a.bottom+=c));return a};
g.Kh=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.Lh=function(a){return new g.Hh(a.top,a.left+a.width,a.top+a.height,a.left)};
g.Nh=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.Oh=function(a){return new g.Od(a.left,a.top)};
Cba=function(){this.o={};this.A=0};
Ph=function(a,b){this.D=a;this.C=!0;this.o=b};
Qh=function(a,b){Ph.call(this,String(a),b);this.B=a;this.o=!!b};
Rh=function(a,b){Ph.call(this,a,b)};
Sh=function(a){if(a.match(/^-?[0-9]+\.-?[0-9]+\.-?[0-9]+\.-?[0-9]+$/)){a=a.split(".");var b=Number(a[0]),c=Number(a[1]);return new Rh("",new g.Kh(c,b,Number(a[3])-c,Number(a[2])-b))}return new Rh("",new g.Kh(0,0,0,0))};
Uh=function(){Th||(Th=new Cba);return Th};
Vh=function(a,b){a.o[b.getName()]=b};
g.Xh=function(a,b,c){if(g.x(b))(b=Wh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Wh(c,d);f&&(c.style[f]=e)}};
Wh=function(a,b){var c=Yh[b];if(!c){var d=Cc(b);c=d;void 0===a.style[d]&&(d=(g.fe?"Webkit":g.Zh?"Moz":g.de?"ms":g.Sf?"O":null)+saa(d),void 0!==a.style[d]&&(c=d));Yh[b]=c}return c};
$h=function(a,b){var c=a.style[Cc(b)];return"undefined"!==typeof c?c:a.style[Wh(a,b)]||""};
ai=function(a,b){var c=Ud(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.bi=function(a,b){return ai(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.di=function(a,b,c){if(b instanceof g.Od){var d=b.x;b=b.y}else d=b,b=c;a.style.left=ci(d,!1);a.style.top=ci(b,!1)};
ei=function(a){return new g.Od(a.offsetLeft,a.offsetTop)};
fi=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.de&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
gi=function(a){if(g.de&&!g.Mc(8))return a.offsetParent;var b=Ud(a),c=g.bi(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=g.bi(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};
ii=function(a){for(var b=new g.Hh(0,Infinity,Infinity,0),c=Wd(a),d=c.o.body,e=c.o.documentElement,f=ce(c.o);a=gi(a);)if(!(g.de&&0==a.clientWidth||g.fe&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.bi(a,"overflow")){var k=g.hi(a),l=new g.Od(a.clientLeft,a.clientTop);k.x+=l.x;k.y+=l.y;b.top=Math.max(b.top,k.y);b.right=Math.min(b.right,k.x+a.clientWidth);b.bottom=Math.min(b.bottom,k.y+a.clientHeight);b.left=Math.max(b.left,k.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,
f);c=be(Ge(c)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};
g.hi=function(a){var b=Ud(a),c=new g.Od(0,0);var d=b?Ud(b):document;d=!g.de||g.Mc(9)||ae(Wd(d).o)?d.documentElement:d.body;if(a==d)return c;a=fi(a);b=ee(Wd(b).o);c.x=a.left+b.x;c.y=a.top+b.y;return c};
ki=function(a,b){var c=new g.Od(0,0),d=ge(Ud(a));if(!Ic(d,"parent"))return c;var e=a;do{var f=d==b?g.hi(e):ji(e);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c};
g.mi=function(a,b){var c=li(a),d=li(b);return new g.Od(c.x-d.x,c.y-d.y)};
ji=function(a){a=fi(a);return new g.Od(a.left,a.top)};
li=function(a){if(1==a.nodeType)return ji(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.Od(a.clientX,a.clientY)};
g.oi=function(a,b,c){if(b instanceof g.Qd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.ni(a,b);a.style.height=ci(c,!0)};
ci=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.ni=function(a,b){a.style.width=ci(b,!0)};
g.pi=function(a){var b=Dba;if("none"!=g.bi(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};
Dba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.fe&&!b&&!c;return g.v(b)&&!d||!a.getBoundingClientRect?new g.Qd(b,c):(a=fi(a),new g.Qd(a.right-a.left,a.bottom-a.top))};
g.qi=function(a){var b=g.hi(a);a=g.pi(a);return new g.Kh(b.x,b.y,a.width,a.height)};
g.ri=function(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};
g.N=function(a,b){a.style.display=b?"":"none"};
g.si=function(a){return"none"!=a.style.display};
wi=function(a){var b=Ud(a),c=g.de&&a.currentStyle;if(c&&ae(Wd(b).o)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=g.ti(a,c.width,"width","pixelWidth"),a=g.ti(a,c.height,"height","pixelHeight"),new g.Qd(b,a);c=new g.Qd(a.offsetWidth,a.offsetHeight);if(g.de){b=ui(a,"paddingLeft");var d=ui(a,"paddingRight"),e=ui(a,"paddingTop"),f=ui(a,"paddingBottom");b=new g.Hh(e,d,f,b)}else b=ai(a,"paddingLeft"),d=ai(a,"paddingRight"),e=ai(a,"paddingTop"),f=ai(a,"paddingBottom"),b=new g.Hh(parseFloat(e),
parseFloat(d),parseFloat(f),parseFloat(b));g.de&&!g.Mc(9)?(d=vi(a,"borderLeft"),e=vi(a,"borderRight"),f=vi(a,"borderTop"),a=vi(a,"borderBottom"),a=new g.Hh(f,e,a,d)):(d=ai(a,"borderLeftWidth"),e=ai(a,"borderRightWidth"),f=ai(a,"borderTopWidth"),a=ai(a,"borderBottomWidth"),a=new g.Hh(parseFloat(f),parseFloat(e),parseFloat(a),parseFloat(d)));return new g.Qd(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)};
g.ti=function(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};
ui=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?g.ti(a,c,"left","pixelLeft"):0};
vi=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in xi?xi[c]:g.ti(a,c,"left","pixelLeft")};
yi=function(a){var b=new g.Kh(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.Kh(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++){a:{var e=b;var f=a[d],k=Math.max(e.left,f.left),l=Math.min(e.left+e.width,f.left+f.width);if(k<=l){var m=Math.max(e.top,f.top);f=Math.min(e.top+e.height,f.top+f.height);if(m<=f){e.left=k;e.top=m;e.width=l-k;e.height=f-m;e=!0;break a}}e=!1}if(!e)return c}return b};
zi=function(a,b){var c=a.getBoundingClientRect(),d=ki(a,b);return new g.Kh(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
Ai=function(a,b,c){if(b&&c){a:{var d=Math.max(b.left,c.left);var e=Math.min(b.left+b.width,c.left+c.width);if(d<=e){var f=Math.max(b.top,c.top),k=Math.min(b.top+b.height,c.top+c.height);if(f<=k){d=new g.Kh(d,f,e-d,k-f);break a}}d=null}e=d?d.height*d.width:0;f=d?b.height*b.width:0;d=d&&f?Math.round(e/f*100):0;Vh(a,new Ph("vp",d));d&&0<d?(e=g.Lh(b),f=g.Lh(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;Vh(a,new Qh(512,e));d&&0<d?(e=g.Lh(b),f=g.Lh(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;Vh(a,new Qh(1024,
e));d&&0<d?(e=g.Lh(b),f=g.Lh(c),e=e.left>=f.left&&e.left<f.right):e=!1;Vh(a,new Qh(2048,e));d&&0<d?(b=g.Lh(b),c=g.Lh(c),c=b.right<=c.right&&b.right>c.left):c=!1;Vh(a,new Qh(4096,c))}};
Eba=function(a,b){var c=0;g.Wb(ge(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=Uh();d.o={};var f=new Qh(32,!0);f.C=!1;Vh(d,f);f=ge().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";Vh(d,new Qh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=ge().top;try{var l=!!k.location.href||""===k.location.href}catch(q){l=!1}if(l){var m=Lf(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(q){n="2"}Vh(d,
new Qh(256,"2"==n));Vh(d,new Qh(128,"1"==n));m=l=ge().top;"2"==n&&(m=ge());k=zi(e,m);Vh(d,new Rh("er",k));try{var p=m.document&&!m.document.body?null:be(m||window)}catch(q){p=null}p?(m=ee(Wd(m.document).o),Vh(d,new Qh(16384,!!m)),p=m?new g.Kh(m.x,m.y,p.width,p.height):null):p=null;Vh(d,new Rh("vi",p));if(p&&"1"==n){n=Lf(e);e=[];for(m=0;m<n.length;m++)(f=zi(n[m],l))&&e.push(f);e.push(p);p=yi(e)}Ai(d,k,p);d.A&&(n=eh()-d.A,Vh(d,new Ph("ts",n)));d.A=eh()}else d=Uh(),d.o={},d.A=eh(),Vh(d,new Qh(32,!1));
this.C=d;this.o=new Fh;this.o.set("ve",4);c&&Gh(this.o,1);g.Wb(ge(),"ima","video","client","crossdomainTag")&&Gh(this.o,4);g.Wb(ge(),"ima","video","client","sdkTag")&&Gh(this.o,8);g.Wb(ge(),"ima","video","client","jsTag")&&Gh(this.o,2);b&&fc(b,"fullscreen",!1)&&Gh(this.o,16);this.A=d=null;if(c&&(c=g.Wb(ge(),"ima","video","client"),c.getEData)){this.A=c.getEData();if(c=g.Wb(ge(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.A.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,n.lactstamp),
c=this.C,d=n.er,n=n.vi,d&&n&&(d=Sh(d).getValue(),n=Sh(n).getValue(),e=null,fc(c.o,"er",null)&&(e=fc(c.o,"er",null).getValue(),e.top+=d.top,e.left+=d.left,Vh(c,new Rh("er",e))),fc(c.o,"vi",null)&&(p=fc(c.o,"vi",null).getValue(),p.top+=d.top,p.left+=d.left,l=[],l.push(p),l.push(d),l.push(n),d=yi(l),Ai(c,e,d),Vh(c,new Rh("vi",n))));a:{if(this.A){if(this.A.getTagLoadTimestamp){d=this.A.getTagLoadTimestamp();break a}if(this.A.getTimeSinceTagLoadSeconds){d=this.A.getTimeSinceTagLoadSeconds();break a}}d=
null}}this.o.set("td",eh()-tba(d))};
Fba=function(a,b){try{var c=new Eba(a,b),d=[],e=Number(c.o.get("eb"));c.o.remove("eb");var f,k=c.o,l=[],m;for(m in k.o)l.push(m+k.o[m]);(f=l.join("_"))&&d.push(f);if(c.A){var n=c.A.serialize();n&&d.push(n)}var p,q=c.C;f=e;k=[];f||(f=0);for(var u in q.o){var w=q.o[u];if(w instanceof Qh)w.getValue()&&(f|=w.B);else{var D,F=q.o[u];(D=F.C?F.A():"")&&k.push(u+D)}}k.push("eb"+String(f));(p=k.join("_"))&&d.push(p);c.o.set("eb",e);return d.join("_")}catch(I){return"tle;"+uc(I.name,12)+";"+uc(I.message,40)}};
Bi=function(a,b,c,d){if(d)c=a+("&"+b+"="+c);else{var e="&"+b+"=",f=a.indexOf(e);0>f?c=a+e+c:(f+=e.length,e=a.indexOf("&",f),c=0<=e?a.substring(0,f)+c+a.substring(e):a.substring(0,f)+c)}return 2E3<c.length?g.v(void 0)?Bi(a,b,void 0,d):a:c};
Ci=function(){};
Di=function(a){Gba();return ad(a)};
Fi=function(){return!Ei()&&(Lb("iPod")||Lb("iPhone")||Lb("Android")||Lb("IEMobile"))};
Ei=function(){return Lb("iPad")||Lb("Android")&&!Lb("Mobile")||Lb("Silk")};
Gi=function(a){try{return!!a&&null!=a.location.href&&Ic(a,"foo")}catch(b){return!1}};
Hi=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
Iba=function(){var a=[];Hi(Hba,function(b){a.push(b)});
return a};
Kba=function(a){return(a=Jba.exec(a))&&a[0]||""};
Lba=function(){var a=g.y;try{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "file:":return!1;case "http:":return!1}}catch(c){}return!0};
Mba=function(){var a=Ii;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};
Oba=function(){var a=g.ke("IFRAME").sandbox,b=a&&a.supports;if(!b)return{};var c={};(0,g.E)(Nba(),function(d){b.call(a,d)&&(c[d]=!0)});
return c};
Ji=function(a){return a?a.passive&&Pba()?a:a.capture||!1:!1};
Ki=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,Ji(d)),!0):!1};
Li=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,Ji(void 0))};
Qba=function(a){var b=void 0===b?{}:b;if(g.Ja(window.CustomEvent))var c=new CustomEvent("rum_blp",b);else c=document.createEvent("CustomEvent"),c.initCustomEvent("rum_blp",!!b.bubbles,!!b.cancelable,b.detail);a.dispatchEvent(c)};
Mi=function(a,b){a.google_image_requests||(a.google_image_requests=[]);var c=a.document.createElement("img");c.src=b;a.google_image_requests.push(c)};
Ni=function(a){a=void 0===a?g.y:a;var b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch(c){}try{if(b&&b.pageViewId&&b.canonicalUrl)return b}catch(c){}return null};
Oi=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?P:b;try{var c=b.history.length}catch(d){c=0}a.u_his=c;if(c=!!P.navigator)c="unknown"!==typeof P.navigator.javaEnabled;a.u_java=c&&!!P.navigator.javaEnabled&&P.navigator.javaEnabled();P.screen&&(a.u_h=P.screen.height,a.u_w=P.screen.width,a.u_ah=P.screen.availHeight,a.u_aw=P.screen.availWidth,a.u_cd=P.screen.colorDepth);P.navigator&&P.navigator.plugins&&(a.u_nplug=P.navigator.plugins.length);P.navigator&&P.navigator.mimeTypes&&(a.u_nmime=
P.navigator.mimeTypes.length)};
Si=function(){if(Pi&&!Gi(Qi)){var a="."+Ri.domain;try{for(;2<a.split(".").length&&!Gi(Qi);)Ri.domain=a=a.substr(a.indexOf(".")+1),Qi=window.parent}catch(b){}Gi(Qi)||(Qi=window)}return Qi};
Ui=function(){var a=window.event||Ti;if(!a)return null;var b;(b=a.which?1<<Rba[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b};
Vi=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.Qd(b.innerWidth,b.innerHeight)).round():be(b||window).round()}catch(d){return new g.Qd(-12245933,-12245933)}};
Wi=function(a,b,c){try{a&&(b=b.top);var d=Vi(a,b,void 0===c?!1:c),e=ee(Wd(b.document).o);if(-12245933==d.width){var f=d.width;var k=new g.Hh(f,f,f,f)}else k=new g.Hh(e.y,e.x+d.width,e.y+d.height,e.x);return k}catch(l){return new g.Hh(-12245933,-12245933,-12245933,-12245933)}};
Sba=function(a){var b={};(0,g.E)(a,function(c){var d=c.event,e=b[d];b.hasOwnProperty(d)?null===e||c.o(e)||(b[d]=null):b[d]=c});
fb(a,function(c){return null===b[c.event]})};
Xi=function(){this.Mb=0;this.A=!1;this.C=-1;this.Ri=!1;this.o=0};
$i=function(a){this.B=a;this.o=null;this.A=!1;this.C=null};
aj=function(a){a.A=!0;return a};
bj=function(a,b){a.C=void 0===b?null:b};
cj=function(a,b){null===a.o&&g.Yb(a.B,b)&&(a.o=b)};
Tba=function(a,b){a.C&&(0,g.E)(b,function(c){c=a.C[c];void 0!==c&&cj(a,c)})};
dj=function(){this.o={};this.A=!0;this.C={}};
ej=function(a,b,c){a.o[b]||(a.o[b]=new $i(c));return a.o[b]};
fj=function(a,b){if(Xb(a.C,b))return a.C[b];var c=a.o[b];if(c)return c.getValue()};
gj=function(a){var b={},c=g.Nb(a.o,function(d){return d.A});
g.Mb(c,function(d,e){var f=void 0!==a.C[e]?String(a.C[e]):d.A&&null!==d.o?String(d.o):"";0<f.length&&(b[e]=f)},a);
return b};
Uba=function(a){a=gj(a);var b=[];g.Mb(a,function(c,d){d in Object.prototype||"undefined"!=typeof c&&b.push([d,":",c].join(""))});
return b};
Vba=function(a,b){a.A&&(0,g.E)(g.Ub(a.o),function(c){return Tba(c,b)})};
hj=function(){return(0,g.J)()-Wba};
mj=function(a){var b=0<=ij?hj()-ij:-1,c=jj?hj()-kj:-1,d=0<=lj?hj()-lj:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
nj=function(){};
pj=function(){if(!oj())throw Error();};
oj=function(){return!(!P||!P.performance)};
qj=function(a){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0};
rj=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};
sj=function(){};
tj=function(){return 0===qj(Ri)};
wj=function(a){a=a||uj();for(var b=new vj(g.y.location.href,g.y,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Xba.test(f.url)&&(c=f);if(f.url&&!f.Lv){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Yba(b,e,c)};
uj=function(){var a=g.y,b=[],c=null;do{var d=a;if(Gi(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new vj(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=g.y;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.Lv=!0);return b};
Yba=function(a,b,c){this.o=a;this.A=b;this.C=c};
vj=function(a,b,c){this.url=a;this.Md=b;this.Lv=!!c;this.depth=g.Ca(void 0)?void 0:null};
xj=function(){this.A="&";this.B=g.v(void 0)?void 0:"trn";this.D=!1;this.C={};this.F=0;this.o=[]};
yj=function(a,b){var c={};c[a]=b;return[c]};
Aj=function(a,b,c,d,e){var f=[];Hi(a,function(k,l){var m=zj(k,b,c,d,e);m&&f.push(l+"="+m)});
return f.join(b)};
zj=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],k=0;k<a.length;k++)f.push(zj(a[k],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(Aj(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};
Bj=function(a,b,c){a.o.push(b);a.C[b]=c};
Cj=function(a,b,c,d){a.o.push(b);a.C[b]=yj(c,d)};
Zba=function(a){if(!a.B)return 4E3;var b=1,c;for(c in a.C)b=c.length>b?c.length:b;return 4E3-a.B.length-b-a.A.length-1};
Dj=function(a,b){this.o=a;this.depth=b};
Ej=function(a){function b(l,m){return null==l?m:l}
a=a||uj();var c=Math.max(a.length-1,0),d=wj(a);a=d.o;var e=d.A,f=d.C,k=[];f&&k.push(new Dj([f.url,f.Lv?2:0],b(f.depth,1)));e&&e!=f&&k.push(new Dj([e.url,2],0));a.url&&a!=f&&k.push(new Dj([a.url,0],b(a.depth,c)));d=(0,g.K)(k,function(l,m){return k.slice(0,k.length-m)});
!a.url||(f||e)&&a!=f||(e=Kba(a.url))&&d.push([new Dj([e,1],b(a.depth,c))]);d.push([]);return(0,g.K)(d,function(l){return $ba(c,l)})};
$ba=function(a,b){(0,g.Fj)(b,function(e){return 0<=e.depth});
var c=(0,g.Gj)(b,function(e,f){return Math.max(e,f.depth)},-1),d=maa(c+2);
d[0]=a;(0,g.E)(b,function(e){return d[e.depth+1]=e.o});
return d};
aca=function(){var a=Ej();return(0,g.K)(a,function(b){return zj(b)})};
Hj=function(){this.A=new sj;this.o=oj()?new pj:new nj};
bca=function(){Ij();var a=P.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&g.Ja(P.setInterval)&&g.Ja(P.clearInterval)&&g.Ja(P.setTimeout)&&g.Ja(P.clearTimeout))};
Jj=function(){Ij();return aca()};
Kj=function(){};
Ij=function(){return Kj.getInstance().getContext()};
Lj=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Gi(a)&&(c=a,b=d);return{Md:c,level:b}};
Mj=function(){var a=P!==P.top,b=P.top===Lj(P).Md;if(a&&b&&null!=P.top.mraid)return{Jw:P.top.mraid,Qx:3};var c=P.mraid;return null!=c?a?b?{Jw:c,Qx:2}:{Jw:c,Qx:1}:{Jw:c,Qx:0}:null};
Nj=function(a){return(a=a.document)&&g.Ja(a.elementFromPoint)};
Oj=function(a,b){this.A=(void 0===a?0:a)||0;this.o=(void 0===b?"":b)||""};
Pj=function(a){of(this,a,null,null)};
cca=function(a){this.C=a;this.o=-1;this.A=0};
Qj=function(a,b){return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];if(-1<a.o)return b.apply(null,g.ea(d));try{return a.o=a.C.o.now(),b.apply(null,g.ea(d))}finally{a.A+=a.C.o.now()-a.o,a.o=-1}}};
dca=function(a,b){this.A=a;this.C=b;this.o=new cca(a)};
Sj=function(){this.D=void 0;this.G=0;this.C=new Oj(0,"");this.A=0;this.gb="ns";this.F=-1;this.B="";this.Va=new dj;bj(aj(ej(this.Va,"nio_mode",Rj)),eca);bj(aj(ej(this.Va,"geo_mode",Rj)),fca);bj(aj(ej(this.Va,"mv",gca)),hca);ej(this.Va,"omid",Rj);aj(ej(this.Va,"osd",Rj));aj(ej(this.Va,"epoh",Rj));aj(ej(this.Va,"epph",Rj));bj(aj(ej(this.Va,"umt",Rj)),ica);bj(aj(ej(this.Va,"gmpd",Rj)),jca);bj(aj(ej(this.Va,"sel",Rj)),kca);bj(aj(ej(this.Va,"mce",Rj)),lca);bj(aj(ej(this.Va,"buvpe",Rj)),mca);aj(ej(this.Va,
"phel",Rj));aj(ej(this.Va,"phell",Rj));aj(ej(this.Va,"oseid",nca));bj(aj(ej(this.Va,"xefp",Rj)),oca);bj(aj(ej(this.Va,"efp_mode",Rj)),pca);aj(ej(this.Va,"xdi",Rj));aj(ej(this.Va,"amp",Rj));aj(ej(this.Va,"uup",Rj));this.o=new dca(Ij(),this.Va)};
qca=function(){var a="https:";P&&P.location&&"http:"===P.location.protocol&&(a="http:");this.A=a;this.o=.01};
Tj=function(a,b,c,d){if(Math.random()<(d||a.o))try{if(c instanceof xj)var e=c;else e=new xj,Hi(c,function(k,l){var m=e,n=m.F++;Bj(m,n,yj(l,k))});
var f=e.Wa(a.A,"pagead2.googlesyndication.com","/pagead/gen_204?id="+b+"&","");f&&Ij().Sn(f)}catch(k){}};
Uj=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta=c};
Vj=function(a){return!!(a.error&&a.meta&&a.id)};
Wj=function(){var a=g.y.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.J)()};
Xj=function(){var a=void 0===a?g.y:a;return(a=a.performance)&&a.now?a.now():null};
Yj=function(a,b,c,d,e){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=Math.random();this.slotId=e};
ak=function(a,b){this.events=[];this.o=b||g.y;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.A=Zj()||(null!=c?c:Math.random()<a)};
ck=function(a){a&&bk&&Zj()&&(bk.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),bk.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))};
fk=function(){var a=dk;this.B=ek;this.C="jserror";this.A=!0;this.o=null;this.D=this.Tg;this.Fa=void 0===a?null:a};
gk=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};
hk=function(a){Uj.call(this,Error(a),{message:a})};
ik=function(a,b,c,d){if(Math.random()<(d||.01))try{if(c instanceof xj)var e=c;else e=new xj,Hi(c,function(k,l){var m=e,n=m.F++;Bj(m,n,yj(l,k))});
var f=e.Wa(a.o,"pagead2.googlesyndication.com","/pagead/gen_204?id="+b+"&","");f&&Mi(g.y,f)}catch(k){}};
lk=function(){var a=jk;this.B=kk;this.C="jserror";this.A=!0;this.o=null;this.D=this.Tg;this.Fa=void 0===a?null:a};
mk=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};
nk=function(){var a=Si();a&&"undefined"!=typeof a.google_measure_js_timing&&(a.google_measure_js_timing||dk.disable())};
rca=function(a){ok.Gx(function(b){(0,g.E)(a,function(c){c(b)})})};
pk=function(a,b){return ok.nj(a,b,void 0)};
qk=function(a,b,c,d){return ok.lx(a,b,c,d)};
rk=function(a,b){ok.Tg(a,b,void 0,void 0)};
sk=function(a,b,c,d){var e=void 0===e?!1:e;c=qk(d,c);Ki(a,b,c,{capture:e});return c};
tk=function(a){var b=Sj.getInstance().C;b&&(b.A&&(a[4]=b.A),b.o&&(a[12]=b.o))};
uk=function(a){var b=[];g.Mb(a,function(c,d){var e=encodeURIComponent(d),f=c;g.x(f)&&(f=encodeURIComponent(f));b.push(e+"="+f)});
b.push("24="+(0,g.J)());return b.join("\n")};
vk=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&Ic(a,"parentElement")?vk(g.ve(a),b,c,d):{done:e,value:d}};
wk=function(a,b,c,d){if(!a)return d;d=vk(a,b,c,d);if(!d.done)try{var e=Ud(a),f=e&&ge(e);return wk(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
sca=function(a){var b=!g.de||g.Lc(8);return wk(a,function(c,d){var e=Ic(d,"style")&&d.style&&$h(d,"visibility");return{hidden:"hidden"===e,visible:b&&"visible"===e}},function(c){return c.hidden||c.visible},{hidden:!1,
visible:!1}).hidden};
tca=function(a){return wk(a,function(b,c){return!(!Ic(c,"style")||!c.style||"none"!==$h(c,"display"))},function(b){return b},!1)?!0:sca(a)};
xk=function(a){return new g.Hh(a.top,a.right,a.bottom,a.left)};
yk=function(a){return null!=a&&0<=a&&1>=a};
zk=function(a){if(!a)return null;a=a.split("-");return 4==a.length?new g.Hh(g.Bc(a[0]),g.Bc(a[3]),g.Bc(a[2]),g.Bc(a[1])):null};
Ak=function(a){var b={};if(void 0==a)return b;"?"===a.charAt(0)&&(a=a.substring(1));rh(a,function(c,d){return b[c]=d});
return b};
Bk=function(a,b){try{try{var c=xk(a.getBoundingClientRect())}catch(m){c=new g.Hh(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=ki(a,b),k=f.x,l=f.y;return new g.Hh(Math.round(l),Math.round(k+d),Math.round(l+e),Math.round(k))}catch(m){return uca.clone()}};
Ck=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new g.Hh(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left)):new g.Hh(0,0,0,0)};
Ek=function(a,b){var c=Dk(b);return 0===c?0:Dk(a)/c};
Dk=function(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)};
vca=function(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{if(a=g.ve(a)||a){var d=Ud(a),e=d&&ge(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
wca=function(a,b,c){if(!a||!b)return!1;b=Jh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Si();Gi(d.top)&&d.top&&d.top.document&&(d=d.top);if(!Nj(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Ud(c))&&b.defaultView&&b.defaultView.frameElement)&&vca(b,a);d=a===c;a=!d&&a&&De(a,function(e){return e===c});
return!(b||d||a)};
Fk=function(a,b,c,d){return 4==Sj.getInstance().A?!1:0>=a.ab()||0>=a.getHeight()?!0:c&&d?pk(208,function(){return wca(a,b,c)}):!1};
Gk=function(a,b,c){this.time=a;this.volume=null;this.A=b;this.o=null;this.C=c};
Hk=function(a,b,c,d,e,f,k,l){this.F=a;this.G=b;this.B=c;this.o=d;this.A=e;this.C=f;this.D=l};
xca=function(){var a=g.Jb;return a?(0,g.Ik)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return Fb(a,b)})?!0:Fb(a,"Presto")&&Fb(a,"Linux")&&!Fb(a,"X11")&&!Fb(a,"Android")&&!Fb(a,"Mobi"):!1};
Jk=function(){return Fb(g.Jb,"CrKey")||Fb(g.Jb,"PlayStation")||Fb(g.Jb,"Roku")||xca()||Fb(g.Jb,"Xbox")};
Kk=function(){this.L=!1;this.A=!Gi(P.top);this.M=Ei()||Fi();var a=uj();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.ph(a[a.length-1].url)||"":"";this.o=new g.Hh(0,0,0,0);this.K=new g.Qd(0,0);this.B=new g.Qd(0,0);this.D=new g.Hh(0,0,0,0);this.C=!1;this.F=this.G=null;this.H=0;this.J=!(!P||!Mj());this.update(P)};
Lk=function(a,b){b&&b.screen&&(a.K=new g.Qd(b.screen.width,b.screen.height))};
Mk=function(a,b){a.o=a.C&&a.A?a.G?a.G:new g.Hh(0,0,0,0):Wi(!0,b,a.M)};
Nk=function(a,b){var c=a.o?new g.Qd(a.o.ab(),a.o.getHeight()):new g.Qd(0,0);var d=b;d=void 0===d?P:d;null!==d&&d!=d.top&&(d=d.top);var e=0,f=0;try{var k=d.document,l=k.body,m=k.documentElement;if("CSS1Compat"==k.compatMode&&m.scrollHeight)e=m.scrollHeight!=c.height?m.scrollHeight:m.offsetHeight,f=m.scrollWidth!=c.width?m.scrollWidth:m.offsetWidth;else{var n=m.scrollHeight,p=m.scrollWidth,q=m.offsetHeight,u=m.offsetWidth;m.clientHeight!=q&&(n=l.scrollHeight,p=l.scrollWidth,q=l.offsetHeight,u=l.offsetWidth);
n>c.height?n>q?(e=n,f=p):(e=q,f=u):n<q?(e=n,f=p):(e=q,f=u)}var w=new g.Qd(f,e)}catch(D){w=new g.Qd(-12245933,-12245933)}a.B=w};
Ok=function(){if(0<Kk.getInstance().H)return!0;var a=Ij().A.isVisible(),b=tj();return a||b};
Pk=function(a){this.C=a;this.A=0;this.o=null};
Qk=function(a,b,c){this.Md=a;this.P=void 0===c?"na":c;this.C=[];this.K=!1;this.o=new Gk(-1,!0,this);this.A=this;this.G=this.B=b;this.L=this.M=this.F=!1;this.W="uk";this.Bb=!1};
Sk=function(a,b){a.L||(a.L=!0,a.W=b,a.G=0,a.Mr(),a.A==a&&(a.B=0,Rk(a)))};
Tk=function(a,b){g.Ya(a.C,b)||(a.C.push(b),b.Ni(a.A),b.Bh(a.o),b.bh()&&(a.F=!0))};
Uk=function(a,b){g.db(a.C,b);a.F&&b.bh()&&yca(a)};
Vk=function(a){a.mD();a.jD();a.lD();a.kD();a.o.o=a.o.o||new g.Hh(0,0,0,0)};
yca=function(a){a.F=a.C.length?(0,g.Ik)(a.C,function(b){return b.bh()}):!1};
Wk=function(a){var b=g.ib(a.C);(0,g.E)(b,function(c){c.Bh(a.o)})};
Rk=function(a){var b=g.ib(a.C);(0,g.E)(b,function(c){c.Ni(a.A)});
a.A!=a||Wk(a)};
Xk=function(a,b){var c;if(!(c=a.M)){c=a.o;var d=a.F;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.A==b.A&&Ih(c.o,b.o))}a.o=b;c&&Wk(a)};
Yk=function(a,b,c,d){this.element=a;this.A=new g.Hh(0,0,0,0);this.D=this.o=b;this.Va=c;this.H=d;this.Bb=!1;this.B=new Hk(b.o,this.element,this.A,new g.Hh(0,0,0,0),0,0,hj(),0)};
Zk=function(a){this.Bb=!1;this.o=a};
$k=function(a,b,c){this.A=void 0===c?0:c;this.yc=a;this.o=null==b?"":b};
zca=function(a){switch(Math.trunc(a.A)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}};
Aca=function(a,b){return new $k(a.yc,a.o,a.A+b)};
al=function(a,b){return a.A<b.A?!0:a.A>b.A?!1:a.yc<b.yc?!0:a.yc>b.yc?!1:typeof a.o<typeof b.o?!0:typeof a.o>typeof b.o?!1:a.o<b.o};
bl=function(){this.C=0;this.o=[];this.A=!1};
Bca=function(a,b){(0,g.E)(b.o,function(c){a.add(c.yc,c.o,zca(c))})};
cl=function(a,b){var c=void 0===c?0:c;var d=void 0===d?!0:d;Hi(b,function(e,f){d&&void 0===e||a.add(f,e,c)});
return a};
dl=function(a){var b=Cca;a.A&&(g.sb(a.o,function(c,d){return al(d,c)?1:al(c,d)?-1:0}),a.A=!1);
return(0,g.Gj)(a.o,function(c,d){var e=b(d);return""+c+(""!=c&&""!=e?"&":"")+e},"")};
Cca=function(a){var b=a.yc;a=a.o;return""===a?b:g.Aa(a)?a?b:"":g.Ga(a)?0===a.length?b:b+"="+a.join():b+"="+(g.Ya(["mtos","tos","p"],b)?a:encodeURIComponent(a))};
fl=function(a){var b=void 0===b?!0:b;this.o=new bl;void 0!==a&&Bca(this.o,a);b&&this.o.add("v",el,-16)};
Dca=function(a){var b=[],c=[];g.Mb(a,function(d,e){if(!(e in Object.prototype)&&"undefined"!=typeof d){g.Ga(d)&&(d=d.join(","));var f=[e,"=",d].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "iem":b.unshift(f);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(f);break;default:b.push(f)}}});
return b.concat(c)};
gl=function(){if(el&&"unreleased"!==el)return el};
hl=function(a){var b=void 0===b?4E3:b;a=a.toString();if(!/&v=[^&]+/.test(a)){var c=gl();a=c?a+"&v="+encodeURIComponent(c):a}a=a.substring(0,b);Ij().Sn(a)};
il=function(){this.o=0};
Eca=function(a,b,c){(0,g.E)(a.C,function(d){var e=a.o;if(!d.o&&(d.C(b,c),d.B())){d.o=!0;var f=d.A(),k=new bl;k.add("id","av-js");k.add("type","verif");k.add("vtype",d.D);d=il.getInstance();k.add("i",d.o++);k.add("adk",e);cl(k,f);e=new fl(k);hl(e)}})};
jl=function(){this.A=this.C=this.B=this.o=0};
kl=function(a){this.A=a=void 0===a?Fca:a;this.o=(0,g.K)(this.A,function(){return new jl})};
ml=function(a,b){return ll(a,function(c){return c.o},void 0===b?!0:b)};
ol=function(a,b){return nl(a,b,function(c){return c.o})};
pl=function(a){return ll(a,function(b){return b.C},!0)};
ql=function(a,b){return nl(a,b,function(c){return c.C})};
rl=function(a,b){return nl(a,b,function(c){return c.A})};
sl=function(a){(0,g.E)(a.o,function(b){b.A=0})};
ll=function(a,b,c){a=(0,g.K)(a.o,function(d){return b(d)});
return c?a:Gca(a)};
nl=function(a,b,c){var d=g.Va(a.A,function(e){return b<=e});
return-1==d?0:c(a.o[d])};
Gca=function(a){return(0,g.K)(a,function(b,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
tl=function(){this.o=new kl;this.Y=new jl;this.M=this.G=-1;this.ga=1E3;this.ea=new kl([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0])};
wl=function(a,b,c){g.L.call(this);this.position=ul.clone();this.uq=this.Hp();this.Uv=-2;this.UV=(0,g.J)();this.xG=-1;this.Ak=b;this.np=-1!=b;this.An=null;this.opacity=-1;this.GF=c;this.GG=this.wq=g.A;this.Sj=this.element=a;this.OG=this.Sg=!1;this.lu=1;this.xi={Iw:null,Hw:null};this.hG=!0;this.ao=null;this.nk=!1;Sj.getInstance().G++;this.GC=0;this.Dc=this.Au();this.vG=-1;this.Xu=0;this.gb=null;this.ws=new g.Hh(0,0,0,0);a=this.Va=new dj;ej(a,"od",Hca);aj(ej(a,"opac",Rj));ej(a,"ue",Rj);ej(a,"ud",Rj);
aj(ej(a,"mkm",Rj));aj(ej(a,"gcm",Rj));aj(ej(a,"cm",Rj));aj(ej(a,"sela",Rj));aj(aj(ej(a,"sbeos",Rj)));aj(ej(a,"hac",Ica));aj(ej(a,"rav",Jca));aj(ej(a,"mwt",Rj));if(a=this.element&&this.element.getAttribute)a=this.element,a=/-[a-z]/.test("googleAvInapp")?!1:g.vl&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+g.Dc("googleAvInapp")):!!a.getAttribute("data-"+g.Dc("googleAvInapp"));a&&(Kk.getInstance().J=!0);1==this.GF?(a=this.Va.o.od)&&cj(a,1):(a=this.Va.o.od)&&cj(a,0)};
xl=function(a,b){if(b!=a.nk){a.nk=b;var c=Kk.getInstance();b?c.H++:0<c.H&&c.H--}};
Lca=function(a,b,c){if(Nj(P)){c||yl(a,P,!0);var d=Kca(a,function(e,f){return P.document.elementFromPoint(e,f)});
a.zj(a.Wd(),d,b,c,!1)}};
zl=function(a,b,c){if(c(b))return b;for(;;){var d=Math.floor((a+b)/2);if(d==a||d==b)return a;c(d)?a=d:b=d}};
Kca=function(a,b){var c=ee(document),d=a.lu,e=a.Wd(),f=Math.floor(e.left-c.x)+1,k=Math.floor(e.top-c.y)+1,l=Math.floor(e.right-c.x)-d,m=Math.floor(e.bottom-c.y)-d;c=(m-k)*(l-f);if(k>m||f>l)return 0;d=!!b(f,k);e=!!b(l,m);if(d&&e)return 1;var n=!!b(l,k),p=!!b(f,m);if(d)m=zl(k,m,function(w){return!!b(f,w)}),l=zl(f,l,function(w){return!!b(w,k)});
else if(n)m=zl(k,m,function(w){return!!b(l,w)}),f=zl(l,f,function(w){return!!b(w,k)});
else if(p)k=zl(m,k,function(w){return!!b(f,w)}),l=zl(f,l,function(w){return!!b(w,m)});
else if(e)k=zl(m,k,function(w){return!!b(l,w)}),f=zl(l,f,function(w){return!!b(w,m)});
else{var q=Math.floor((f+l)/2),u=Math.floor((k+m)/2);if(!b(q,u))return 0;k=zl(u,k,function(w){return!!b(q,w)});
m=zl(u,m,function(w){return!!b(q,w)});
f=zl(q,f,function(w){return!!b(w,u)});
l=zl(q,l,function(w){return!!b(w,u)})}return(m-k)*(l-f)/c};
Mca=function(a,b,c,d,e){d||yl(a,P,e);a.zj(a.Wd(),c,b,d,!1)};
Al=function(a,b,c){var d=a.Dc.o,e=c?a.Dc.Mb:a.GC,f=a.Wd();a.ws&&!Ih(a.ws,new g.Hh(0,0,0,0))&&(e=Jh(a.ws.clone(),f.left,f.top));a.zj(f,e,b,c,!1,{},void 0,d)};
Bl=function(a,b){var c=b.create(a.Sj,a.Va,a);if(c=null!=c&&c.bD()?c:null)a.gb=c};
Nca=function(a,b,c){if(a.gb){a.gb.Oj();var d=a.gb.B,e=d.F.o;if(null!=d.o&&e){var f=d.B;a.An=new g.Od(f.left-e.left,f.top-e.top);a.ws=d.o}e=a.Yn()?d.C:d.A;a.zj(a.Wd(),e,b,c,!1,void 0,void 0,d.D)}};
Oca=function(a){if(a.np&&a.ao){var b=1==fj(a.Va,"od"),c=Kk.getInstance().D,d=a.ao,e=a.gb?a.gb.getName():Sj.getInstance().gb,f=new g.Qd(c.ab(),c.getHeight());c=a.Yn();a={PV:e,An:a.An,mW:f,Yn:c,Mb:a.Dc.Mb,lW:b};if(b=d.A){b.Oj();e=b.B;f=e.F.o;var k=null,l=null;null!=e.o&&f&&(k=e.B,k=new g.Od(k.left-f.left,k.top-f.top),l=new g.Qd(f.right-f.left,f.bottom-f.top));e=c?e.C:e.A;c={PV:b.getName(),An:k,mW:l,Yn:c,lW:!1,Mb:e}}else c=null;c&&Eca(d,a,c)}};
yl=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;a.position=ul.clone();try{if(a.Sj){var e=1==a.GF;switch(fj(a.Va,"hac")){case 1:var f=!1;break;case 2:f=!0;break;default:f=e}!c&&f&&tca(a.Sj)||(a.position=Bk(a.Sj,b))}}catch(k){}}};
Cl=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
Pca=function(a,b){Sj.getInstance();if(b=void 0===b?g.A:b)a.GG=b};
Dl=function(){};
Fl=function(a){if(a instanceof Dl)return a;if("function"==typeof a.de)return a.de(!1);if(g.Ha(a)){var b=0,c=new Dl;c.next=function(){for(;;){if(b>=a.length)throw El;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.Gl=function(a,b,c){if(g.Ha(a))try{(0,g.E)(a,b,c)}catch(d){if(d!==El)throw d;}else{a=Fl(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==El)throw d;}}};
Qca=function(a){if(g.Ha(a))return g.ib(a);a=Fl(a);var b=[];g.Gl(a,function(c){b.push(c)});
return b};
Jl=function(){this.B=this.o=this.C=this.A=this.D=0};
Rca=function(a){var b={};var c=(0,g.J)()-a.D;b=(b.ptlt=c,b);(c=a.A)&&(b.pnk=c);(c=a.C)&&(b.pnc=c);(c=a.B)&&(b.pnmm=c);(a=a.o)&&(b.pns=a);return b};
Kl=function(){Xi.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.B=-1};
Ll=function(a){return yk(a.volume)&&.1<=a.volume};
Ml=function(){var a={};this.A=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.o={};for(var b in this.A)0<this.A[b][1]&&(this.o[b]=0);this.C=0};
Sca=function(a){return Nl(a,g.Vb(a.A))};
Nl=function(a,b){var c=0,d;for(d in a.o)g.Ya(b,d)&&1==a.o[d]&&(c+=a.A[d][1],a.o[d]=2);return c};
Tca=function(a){var b=0,c;for(c in a.o){var d=a.o[c];if(1==d||2==d)b+=a.A[c][1]}return b};
Ol=function(){this.o=this.A=0};
Pl=function(){tl.call(this);this.A=new jl;this.P=this.J=this.L=0;this.H=-1;this.ha=new jl;this.D=new jl;this.C=new kl;this.F=this.B=-1;this.K=new jl;this.ga=2E3;this.W=new Ol;this.ba=new Ol;this.aa=new Ol};
Ql=function(a,b,c){var d=a.P;jj||c||-1==a.H||(d+=b-a.H);return d};
Uca=function(){this.o=!1};
Rl=function(a,b){this.o=!1;this.B=a;this.G=b;this.A=0};
Sl=function(a,b){if(a.C(b)){var c=a.G.report(a.B,b);a.A|=c;return 0==c}return!1};
Tl=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;wl.call(this,b,c,d);this.ba=0;this.B={};this.Yc=new Ml;this.YC={};this.cd="";this.Yh=null;this.jb=!1;this.C=[];this.Yi=e;this.G=f;this.D=void 0;this.F=-1;this.ma=this.K=void 0;this.L=this.M=0;this.Y=-1;this.ia=this.Ia=!1;this.xl=this.Xa=0;this.ua=!1;this.Oa=this.Ra=-1;this.P=this.H=this.o=0;this.yb=this.ea=-1;this.Sa=0;this.Ma=new kl;this.aa=this.ya=this.ga=0;this.za=-1;this.xa=0;this.J=!1;this.ha=null;this.Nc=0;this.Ga=!1;this.ka=g.A;
this.W=[this.Hp()];this.OG=!0;this.lu=2;b=Kk.getInstance();yl(this,a,b.A);this.Aj={};this.Aj.pause="p";this.Aj.resume="r";this.Aj.skip="s";this.Aj.mute="m";this.Aj.unmute="um";this.Aj.exitfullscreen="ef";this.A=null};
Vca=function(a,b,c){a.Nc=1;a.B={};a.B.firstquartile=!1;a.B.midpoint=!1;a.B.thirdquartile=!1;a.B.complete=!1;a.B.pause=!1;a.B.skip=!1;a.B.viewable_impression=!1;a.ba=0;c||(a.Ud().H=b)};
Ul=function(a){return g.v(a)?Number(a)?Cl(a,3):0:a};
Vl=function(a,b){var c;null!=b&&b<a.W.length?c=b:c=a.W.length-1;return a.W[c]};
Wl=function(a){var b=!!fj(Sj.getInstance().Va,"umt");return a.K||!b&&!a.ma?0:1};
Wca=function(a,b){(0,g.Ik)(a.G,function(c){return c.B==b.B})||a.G.push(b)};
Yl=function(a,b,c){return 15E3<=b?!0:a.Ia?(void 0===c?0:c)?!0:Xl(a.F)?b>=a.F/2:Xl(a.Y)?b>=a.Y:!1:!1};
Xl=function(a){return 1==fj(Sj.getInstance().Va,"gmpd")?0<a:-1!=a};
Xca=function(a){var b={},c=Kk.getInstance();b.insideIframe=c.A;b.unmeasurable=a.Sg;b.position=a.Wd();b.exposure=a.Dc.Mb;b.documentSize=c.B;b.viewportSize=new g.Qd(c.o.ab(),c.o.getHeight());null!=a.A&&(b.presenceData=a.A);b.screenShare=a.Dc.o;return b};
$l=function(a,b){Zl(a.C,b,function(){return{UG:0,Sm:void 0}});
a.C[b]={UG:Cl(a.Dc.Mb,2),Sm:a.Yc.C}};
Zl=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
cm=function(a,b,c){var d=a.YC[b];if(null!=d)return d;d=Yca(a,b);var e=Zb(am,function(f){return f==b});
c=bm(a,d,d,c,Zca[am[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Nl(a.Yc,["gdr"]));return c};
bm=function(a,b,c,d,e){if(a.Sg)return{"if":0};var f=a.Wd().clone();f.round();var k=(0,g.K)(a.C,function(q){return 100*q.UG|0}),l=Kk.getInstance(),m=Sj.getInstance(),n=a.Ud(),p={};
p["if"]=l.A?1:void 0;p.sdk=a.D?a.D:void 0;p.t=a.UV;p.p=[f.top,f.left,f.bottom,f.right];p.tos=ml(n.o,!1);p.mtos=pl(n.o);p.mcvt=n.Y.C;p.ps=void 0;p.pt=k;f=Ql(n,hj(),2==a.Nc);p.vht=f;p.mut=n.ha.C;p.a=Ul(a.Dc.volume);p.mv=Ul(n.F);p.fs=a.nk?1:0;p.ft=n.K.o;p.at=n.D.o;p.as=.1<=n.B?1:0;p.atos=ml(n.C);p.ssb=ml(n.ea,!1);p.amtos=pl(n.C);p.uac=a.Xa;p.vpt=n.A.o;"nio"==m.gb&&(p.nio=1,p.avms="nio");p.gmm="4";p.gdr=Yl(a,n.A.o,!0)?1:0;a.OG&&(p.efpf=a.lu);0<a.xa&&(p.nnut=a.xa);p.tcm=Wl(a);p.nmt=a.ya;p.bt=a.aa;p.pst=
a.za;p.vpaid=a.K;p.dur=a.F;p.vmtime=a.M;p.is=a.Yc.C;1<=a.C.length&&(p.i0=a.C[0].Sm);2<=a.C.length&&(p.i1=a.C[1].Sm);3<=a.C.length&&(p.i2=a.C[2].Sm);4<=a.C.length&&(p.i3=a.C[3].Sm);p.cs=Tca(a.Yc);b&&(p.ic=Sca(a.Yc),p.dvpt=n.A.A,p.dvs=rl(n.o,.5),p.dfvs=rl(n.o,1),p.davs=rl(n.C,.5),p.dafvs=rl(n.C,1),c&&(n.A.A=0,sl(n.o),sl(n.C)),a.Vi()&&(p.dtos=n.L,p.dav=n.J,p.dtoss=a.ba+1,c&&(n.L=0,n.J=0,a.ba++)),p.dat=n.D.A,p.dft=n.K.A,c&&(n.D.A=0,n.K.A=0));p.ps=[l.B.width,l.B.height];p.bs=[l.o.ab(),l.o.getHeight()];
p.scs=[l.K.width,l.K.height];p.dom=l.domain;a.xl&&(p.vds=a.xl);if(0<a.G.length||a.Yi)b=g.ib(a.G),a.Yi&&b.push(a.Yi),p.pings=(0,g.K)(b,function(q){return q.toString()});
b=(0,g.K)((0,g.re)(a.G,function(q){return q.D()}),function(q){return q.getId()});
nb(b);p.ces=b;a.o&&(p.vmer=a.o);a.H&&(p.vmmk=a.H);a.P&&(p.vmiec=a.P);p.avms=a.gb?a.gb.getName():Sj.getInstance().gb;a.gb&&g.kc(p,a.gb.Lg());"exc"==m.gb&&(p.femt=a.ea,p.femvt=a.yb,p.emc=a.Sa,p.emb=ml(a.Ma,!1),p.emuc=a.ga,p.avms="exc");d?(p.c=Cl(a.Dc.Mb,2),p.ss=Cl(a.Dc.o,2)):p.tth=hj()-dm;p.mc=Cl(n.M,2);p.nc=Cl(n.G,2);p.mv=Ul(n.F);p.nv=Ul(n.B);p.lte=Cl(a.Uv,2);d=Vl(a,e);pl(n.o);p.qmtos=pl(d.o);p.qnc=Cl(d.G,2);p.qmv=Ul(d.F);p.qnv=Ul(d.B);p.qas=.1<=d.B?1:0;p.qi=a.cd;null!==a.ha&&(p.nvat=a.ha?1:0);p.avms||
(p.avms="geo");p.psm=n.W.o;p.psv=n.W.getValue();p.psfv=n.ba.getValue();p.psa=n.aa.getValue();m=Uba(m.Va);m.length&&(p.veid=m);a.A&&g.kc(p,Rca(a.A));return p};
Yca=function(a,b){if(g.Ya($ca,b))return!0;var c=a.B[b];return g.v(c)?(a.B[b]=!0,!c):!1};
bda=function(){this.o={};var a=ge();em(this,a,document);var b=ada();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)em(this,c,c.document);em(this,a.top,a.top.document)}}catch(d){}};
ada=function(){var a=document.documentElement;try{if(!Gi(ge().top))return"2";var b=[],c=ge(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&0!=b.length?"1":"0"}catch(d){return"2"}};
em=function(a,b,c){sk(c,"mousedown",function(){return cda(a)},301);
sk(b,"scroll",function(){return dda(a)},302);
sk(c,"touchmove",function(){return eda(a)},303);
sk(c,"mousemove",function(){return fda(a)},304);
sk(c,"keydown",function(){return gda(a)},305)};
cda=function(a){g.Mb(a.o,function(b){1E5<b.C||++b.C})};
dda=function(a){g.Mb(a.o,function(b){1E5<b.o||++b.o})};
eda=function(a){g.Mb(a.o,function(b){1E5<b.o||++b.o})};
gda=function(a){g.Mb(a.o,function(b){1E5<b.A||++b.A})};
fda=function(a){g.Mb(a.o,function(b){1E5<b.B||++b.B})};
fm=function(){this.o=[];this.A=[]};
hda=function(a,b){return null!=b&&(0,g.Ik)(a.o,function(c){return c.element===b})};
hm=function(a){return g.Ua(gm.o,function(b){return b.cd==a})};
im=function(){var a=gm;return 0==a.o.length?a.A:0==a.A.length?a.o:g.gb(a.A,a.o)};
ida=function(a){var b=gm;a=(0,g.re)(a,function(c){return!hda(b,c.element)});
b.o.push.apply(b.o,g.ea(a))};
jda=function(a){var b=gm,c=[];(0,g.E)(a,function(d){(0,g.Ik)(b.o,function(e){return e.element===d.element&&e.cd===d.cd})||(b.o.push(d),c.push(d))})};
jm=function(){this.o=this.A=null};
km=function(a,b){function c(d,e){a.o=null;b(d,e)}
if(null==a.A)return!1;a.o=g.Ua(a.A,function(d){return null!=d&&d.tj()&&d.init(c)});
a.o&&Vk(a.o.o);return null!=a.o};
lm=function(a,b,c,d){Yk.call(this,a,b,c,d)};
mm=function(a){a=kda(a);Zk.call(this,a.length?a[a.length-1]:new Qk(P,0));this.C=a;this.B=g.A;this.A=null};
kda=function(a){if(!a.length)return[];a=(0,g.re)(a,function(c){return null!=c&&c.tj()});
for(var b=1;b<a.length;b++)Tk(a[b-1],a[b]);return a};
nm=function(a,b,c,d){Yk.call(this,a,b,c,d);this.G=this.F=null};
om=function(a,b){try{if(b.length){a.F||(a.F=hj());var c=lda(b);a.A=xk(c.boundingClientRect);var d=Jh(xk(c.intersectionRect),-a.A.left,-a.A.top);hj();var e=c.boundingClientRect.width*c.boundingClientRect.height,f=c.intersectionRect.width*c.intersectionRect.height;var k=e?f/e:0;e=0;var l=c.intersectionRect.width*c.intersectionRect.height,m=a.o.o.o;m&&(e=(m.bottom-m.top)*(m.right-m.left));var n=c.intersectionRect.width*c.intersectionRect.height,p=window.screen.height*window.screen.width;a.B=new Hk(a.o.o,
a.element,a.A,d,k,e?l/e:0,0,n&&p?n/p:0)}}catch(q){a.xq(),rk(299,q)}};
lda=function(a){return(0,g.Gj)(a,function(b,c){return b.time>c.time?b:c},a[0])};
pm=function(a,b,c,d){nm.call(this,a,b,c,d);this.C=null};
nda=function(a){if(!a.element)return!1;var b=a.element,c=a.o.Md,d=Sj.getInstance();a.C=new c.IntersectionObserver(Qj(d.o.o,function(e){return om(a,e)}),mda);
a.C.observe(b);1===fj(d.Va,"nio_mode")&&om(a,a.C&&a.C.takeRecords?a.C.takeRecords():[]);return!0};
qm=function(a){a=void 0===a?P:a;Zk.call(this,new Qk(a,2))};
rm=function(){};
g.sm=function(a,b,c){g.L.call(this);this.C=null!=c?(0,g.B)(a,c):a;this.Ed=b;this.A=(0,g.B)(this.aL,this);this.o=[]};
tm=function(a){a.Fa=g.ch(a.A,a.Ed);a.C.apply(null,a.o)};
um=function(){this.done=!1;this.o={GJ:0,Xz:0,Ax:0,ZA:0,vv:-1};this.K=this.B=this.G=this.D=this.H=null;this.L=!1;this.A=null;this.M=0;this.C=new Pk(this)};
vm=function(){var a=Sj.getInstance().gb;return"nio"===a||"aio"===a||"omid"===a};
xm=function(){var a=wm;if(!a.L){a.L=!0;if(!a.H&&!vm()){var b=qk(137,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];return a.F.apply(a,g.ea(d))});
a.D=new g.sm(b,100);a.H=sk(P,"scroll",function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];null!==a.D&&a.D.Fm.apply(a.D,g.ea(d))},138)}a.G||vm()||(b=qk(140,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];
return a.F.apply(a,g.ea(d))}),a.B=new g.sm(b,100),a.G=sk(P,"resize",function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];
null!==a.B&&a.B.Fm.apply(a.B,g.ea(d))},141));
oda(a,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];return a.J.apply(a,g.ea(d))});
a.J()}};
pda=function(){rm.getInstance();var a=jm.getInstance();null!=a.o&&a.o.o?Vk(a.o.o):Kk.getInstance().update(P)};
ym=function(a,b,c,d){if(!a.done&&(a.C.cancel(),0!=b.length)){a.A=null;var e=Kk.getInstance();try{pda();var f=hj(),k=Sj.getInstance();k.F=f;if(null!=jm.getInstance().o)for(d=0;d<b.length;d++)Nca(b[d],f,c);else switch(k.gb){case "exc":for(d=0;d<b.length;d++)Al(b[d],f,c);break;case "nis":for(e=0;e<b.length;e++)g.v(d)?b[e].gs(d):b[e].RC(f);break;case "gsv":for(e=0;e<b.length;e++)g.v(d)?b[e].VB(d):b[e].QC(f);break;case "aio":case "nio":for(d=0;d<b.length;d++)Al(b[d],f,c);break;case "iem":for(d=0;d<b.length;d++)Lca(b[d],
f,c);break;case "geo":if(e.F)for(d=0;d<b.length;d++)Mca(b[d],f,e.F,c,e.A)}for(d=0;d<b.length;d++)Oca(b[d]);a.o.Ax+=hj()-f;++a.o.ZA}finally{c?(0,g.E)(b,function(l){l.Dc.Mb=0}):a.C.schedule()}}};
oda=function(a,b){if(!a.K){var c=qk(142,b);Ij();var d=rj(Ri);d&&Ki(Ri,d,c,{capture:!1})&&(a.K=c)}};
qda=function(){var a=wm;if(void 0===b){Sj.getInstance();var b=[];b.push(a.W)}b=g.r(b);for(var c=b.next();!c.done;c=b.next())if(c.value.call(a,P))return!0;return!1};
zm=function(){var a=jm.getInstance();if(null!=a.o){var b=a.o;(0,g.E)(im(),function(c){return Bl(c,b)})}};
Am=function(a,b){var c=a.M;jj&&(c+=b-kj);return c};
rda=function(a){var b=wm;a=void 0===a?function(){return{}}:a;
ok.Kx("av-js");ek.o=.01;rca([function(c){var d=Sj.getInstance(),e={};e=(e.bin=d.A,e.type="error",e);d=gj(d.Va);if(!b.A){var f=P.document,k=0<=ij?hj()-ij:-1,l=hj();-1==b.o.vv&&(k=l);var m=Kk.getInstance(),n=gj(Sj.getInstance().Va),p=im();try{if(0<p.length){var q=m.o;q&&(n.bs=[q.ab(),q.getHeight()]);var u=m.B;u&&(n.ps=[u.width,u.height]);P.screen&&(n.ss=[P.screen.width,P.screen.height])}else n.url=encodeURIComponent(P.location.href.substring(0,512)),f.referrer&&(n.referrer=encodeURIComponent(f.referrer.substring(0,
512)));n.tt=k;n.pt=ij;switch(Sj.getInstance().gb){case "iem":n.iem=1;break;case "aio":n.aio=1;break;case "nio":n.nio=1}void 0!==P.google_osd_load_pub_page_exp&&(n.olpp=P.google_osd_load_pub_page_exp);n.deb=[1,b.o.GJ,b.o.Xz,b.o.Ax,b.o.ZA,b.o.vv,0,b.C.A].join("-");n.tvt=Am(b,l);m.J&&(n.inapp=1);if(null!==P&&P!=P.top){0<p.length&&(n.iframe_loc=encodeURIComponent(P.location.href.substring(0,512)));var w=m.D;n.is=[w.ab(),w.getHeight()]}}catch(D){n.error=1}b.A=n}q=g.hc(b.A);u=Sj.getInstance().o;if(0==fj(u.C,
"rav")){f=new Pj;w=u.o;k=0;-1<w.o&&(k=w.C.o.now()-k);sf(f,1,w.A+k);sf(f,2,u.A.o.C());sf(f,3,u.A.o.A());sf(f,4,u.A.o.o());u={};w=new ef;k=pf(f,1);k=null==k?0:k;0!==k&&(l=k,null!=l&&(cf(w.o,9),k=w.o,n=l,n=(l=0>n?1:0)?-n:n,0===n?(Bm=0<1/n?0:2147483648,Cm=0):isNaN(n)?(Bm=2147483647,Cm=4294967295):1.7976931348623157E308<n?(Bm=(l<<31|2146435072)>>>0,Cm=0):2.2250738585072014E-308>n?(n/=Math.pow(2,-1074),Bm=(l<<31|n/4294967296)>>>0,Cm=n>>>0):(m=Math.floor(Math.log(n)/Math.LN2),1024==m&&(m=1023),n*=Math.pow(2,
-m),Bm=(l<<31|m+1023<<20|1048576*n&1048575)>>>0,Cm=4503599627370496*n>>>0),df(k,Cm),df(k,Bm)));k=rf(f,2);0!==k&&ff(w,2,k);k=rf(f,3);0!==k&&ff(w,3,k);k=rf(f,4);0!==k&&ff(w,4,k);f=new Uint8Array(w.C+w.o.length());l=w.A;m=l.length;for(n=k=0;n<m;n++)p=l[n],f.set(p,k),k+=p.length;l=w.o.end();f.set(l,k);w.A=[f];u=(u.pf=g.Me(f),u)}else u={};g.kc(q,u);g.kc(c,e,d,q,a());if(e=gl())d={},g.kc(c,(d.v=encodeURIComponent(e),d))}])};
sda=function(){var a=Dm||P;if(!a)return"";var b=[];if(!a.location||!a.location.href)return"";b.push("url="+encodeURIComponent(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+encodeURIComponent(a.document.referrer.substring(0,512)));return b.join("&")};
Em=function(a){return function(b){return!g.v(b[a])&&g.v(0)?0:b[a]}};
Gm=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.Ga(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.v(a)?Fm(c,a):c}}};
Hm=function(a,b){return function(c){c=c[a];if(g.Ga(c))return Fm(c,b)}};
Im=function(a){var b=tda;return function(c){return b(c)?c[a]:void 0}};
Fm=function(a,b){return(0,g.re)(a,function(c,d){return g.Ya(b,d)})};
Lm=function(a,b){var c={sv:"718",cb:"j"};c.nas=gm.o.length;c.msg=a;if(g.v(b)){var d=Jm(b);d&&(c.e=Km[d])}return c};
Mm=function(a){return g.wb(a,"custom_metric_viewable")};
Jm=function(a){var b=Mm(a)?"custom_metric_viewable":a.toLowerCase();return Zb(am,function(c){return c==b})};
Nm=function(a,b){Rl.call(this,a,b)};
Om=function(){this.A=this.B=this.F=this.D=this.C=this.o=""};
uda=function(){};
Pm=function(a,b,c,d,e){var f={};if(g.v(a))if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.Ja(l)?f[k]=l(a):f[k]=a[l])}else g.kc(f,a);g.v(c)&&g.kc(f,c);a=dl(cl(new bl,f));0<a.length&&g.v(d)&&g.v(e)&&(e=e(a),a+="&"+d+"="+e);return a};
Qm=function(){};
Rm=function(){Qk.call(this,P,1,"osd");this.Y=[];this.H=this.D=this.J=0;this.M=!0};
Sm=function(a){var b=0;a=a.Md;try{if(a&&a.Goog_AdSense_getAdAdapterInstance)return a}catch(c){}for(;a&&5>b;){try{if(a.google_osd_static_frame)return a.google_osd_static_frame}catch(c){}try{if(a.aswift_0&&a.aswift_0.google_osd_static_frame)return a.aswift_0.google_osd_static_frame}catch(c){}b++;a=a!=a.parent?a.parent:null}return null};
vda=function(a){var b={};tk(b);b[0]="goog_request_monitoring";b[6]=4;b[16]=!1;b[19]=Sj.getInstance().B;try{var c=uk(b);a.postMessage(c,"*")}catch(d){}};
Um=function(a){++a.H;if(2==a.J)Tm(a);else{if(10<a.H){if(20<a.H){Sk(a,"no");return}11==a.H&&(Ij().clearInterval(a.D),a.D=Ij().setInterval(qk(197,function(){return Um(a)}),500))}if(a.Md.postMessage)if(Sj.getInstance().C.isValid()){var b=Sm(a);
b&&vda(b)}else Sk(a,"ib");else Sk(a,"c")}};
Tm=function(a){Ij().clearInterval(a.D);a.D=0};
Vm=function(a,b){var c=Sm(a),d=!c;d&&(c=a.Md.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.Md.postMessage(b,"*")}catch(e){}};
wda=function(a,b){(0,g.E)(a.Y,function(c){c(b)})};
Wm=function(){this.B=this.K=!1;this.A=null;this.C=new Qm;this.o=null;var a={};this.J=(a.start=this.OL,a.firstquartile=this.JL,a.midpoint=this.LL,a.thirdquartile=this.PL,a.complete=this.HL,a.pause=this.bx,a.resume=this.KF,a.skip=this.NL,a.viewable_impression=this.yh,a.mute=this.tl,a.unmute=this.tl,a.fullscreen=this.KL,a.exitfullscreen=this.IL,a.fully_viewable_audible_half_duration_impression=this.yh,a.measurable_impression=this.yh,a.abandon=this.bx,a.engagedview=this.yh,a.impression=this.yh,a.creativeview=
this.yh,a.progress=this.tl,a.custom_metric_viewable=this.yh,a.bufferstart=this.bx,a.bufferfinish=this.KF,a);a={};this.L=(a.overlay_resize=this.ML,a.abandon=this.Su,a.close=this.Su,a.collapse=this.Su,a.overlay_unmeasurable_impression=function(b){return cm(b,"overlay_unmeasurable_impression",Ok())},a.overlay_viewable_immediate_impression=function(b){return cm(b,"overlay_viewable_immediate_impression",Ok())},a.overlay_unviewable_impression=function(b){return cm(b,"overlay_unviewable_impression",Ok())},
a.overlay_viewable_end_of_session_impression=function(b){return cm(b,"overlay_viewable_end_of_session_impression",Ok())},a);
Sj.getInstance().A=3;xda(this)};
Xm=function(a,b,c,d){b=a.vr(null,d,!0,b);b.D=c;b.wq=function(e){a.Qu(e)};
ida([b]);return b};
yda=function(){var a=[],b=Kk.getInstance(),c=Sj.getInstance();fj(c.Va,"osd")&&b.C&&b.A&&"exc"!=c.gb&&(b.C=!1,a.push(Rm.getInstance()));return[new mm(a)]};
zda=function(a){if(!a.K){a.K=!0;try{var b=hj(),c=Sj.getInstance(),d=Kk.getInstance();ij=b;"o"!==a.A&&(Dm=Lj(P).Md);if("nis"!==c.gb&&"gsv"!==c.gb)if(bca()){wm.o.Xz=0;wm.o.vv=hj()-b;"ns"==c.gb&&(c.gb="geo");var e=yda(),f=jm.getInstance();f.A=e;if(km(f,function(){d.C=!1;Ym()}))wm.done||(zm(),Tk(f.o.o,a),xm());
else if(d.A&&"exc"!=c.gb){var k=!!fj(c.Va,"osd");if(d.C&&d.A&&!k){var l=Rm.getInstance();l.initialize();Tk(l,a)}else Ym()}else xm()}else Zm=!0}catch(m){throw gm.reset(),m;}}};
an=function(a){wm.C.cancel();$m=a;wm.done=!0};
bn=function(a){var b=Sj.getInstance();if(null==a.A)switch(b.gb){case "nis":a.A="n";break;case "gsv":a.A="m";break;default:a.A="h"}return a.A};
cn=function(a,b,c){if(null==a.o)return b.xl|=4,!1;a=a.o.report(c,b);b.xl|=a;return 0==a};
Ym=function(){var a=[new qm(P)],b=jm.getInstance();b.A=a;km(b,function(){an("i")})?wm.done||(zm(),xm()):qda()?xm():an("i")};
dn=function(a,b,c){if(!b.jb){var d=cm(b,"start",Ok());a=a.C.o(d).o;var e={};e.r=c;e.v="718v";rh(a,function(f,k){return e[f]="mtos"==f||"tos"==f?k:encodeURIComponent(k)});
c=sda();rh(c,function(f,k){return e[f]=encodeURIComponent(k)});
e.id="lidarvf";c="//pagead2.googlesyndication.com/pagead/gen_204?"+dl(cl(new bl,e));hl(c);b.jb=!0}};
en=function(a,b,c,d){ym(wm,[a],!Ok(),d);$l(a,c);4!=c&&Zl(a.W,c,a.Hp);return cm(a,b,Ok())};
Ada=function(a,b,c){if(0==b.Nc){"i"!=$m&&(wm.done=!1);var d=jm.getInstance();null!=d.o&&Bl(b,d.o);Pca(b,function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return a.GL.apply(a,g.ea(k))});
b.element&&rm.getInstance();d=g.v(c)?c.opt_nativeTime:void 0;lj=d=g.Ca(d)?d:hj();b.np=!0;var e=Ok();Vca(b,d,e);ym(wm,[b],!e,c)}};
xda=function(a){rda(function(){var b=fn();null!=a.A&&(b.sdk=a.A);b.avms=Sj.getInstance().gb;return b})};
Bda=function(a){a.gb&&a.gb.xq();var b=a.Ve();if(1==b)var c=gm.o;else if(2==b)c=gm.A;else return;fb(c,function(e){return e===a});
var d=a.cd;(0,g.E)(c,function(e){e.Ve()===b&&e.cd===d&&e.gb&&e.gb.xq()});
fb(c,function(e){return e.Ve()===b&&e.cd===d})};
Dda=function(a,b,c,d){var e=g.Ua(gm.o,function(f){return f.element===c});
null!==e&&e.cd!==b&&(a.lp(e),e=null);e||(e=Cda(a,c,b),e.D=bn(a),d&&(e.Yh=d));return e};
Cda=function(a,b,c){b=a.vr(b,hj(),!1,c);b.wq=(0,g.B)(a.Qu,a);0==gm.A.length&&(Sj.getInstance().D=79463069);jda([b]);xm();return b};
Eda=function(a,b){b.H=0;for(var c in gn)null==a[c]&&(b.H|=gn[c]);hn(a,"currentTime");hn(a,"duration")};
hn=function(a,b){var c=a[b];g.v(c)&&0<c&&(a[b]=Math.floor(1E3*c))};
fn=function(){var a=Kk.getInstance(),b={};return b.sv="718",b["if"]=a.A?"1":"0",b.nas=String(gm.o.length),b};
Fda=function(){this.o=void 0;this.A=!1;this.C=0;this.B=-1;this.D="tos"};
Hda=function(a){try{var b=a.split(",");return b.length>g.Vb(Gda).length?null:(0,g.Gj)(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||!g.v(jn[e[0]])||!jn[e[0]](e[1]))throw Error("Entry ("+e[0]+", "+e[1]+") is invalid.");c[e[0]]=e[1];return c},{})}catch(c){return null}};
Ida=function(a,b){if(void 0==a.o)return 0;switch(a.D){case "mtos":return a.A?ql(b.C,a.o):ql(b.o,a.o);case "tos":return a.A?ol(b.C,a.o):ol(b.o,a.o)}return 0};
kn=function(a,b,c,d){Rl.call(this,b,d);this.Ja=a;this.F=c};
ln=function(a){Rl.call(this,"fully_viewable_audible_half_duration_impression",a)};
mn=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
on=function(a){return!!(1<<a&nn)};
Nda=function(){try{Jda()}catch(d){}var a="a=1&b="+nn+"&",b=[],c=99;(0,g.E)(Kda,function(d,e){var f=!1;try{f=d(P)}catch(k){}b[e/32>>>0]|=f<<e%32});
(0,g.E)(b,function(d,e){a+=String.fromCharCode(c+e)+"="+(d>>>0).toString(16)+"&"});
c=105;(0,g.E)(Lda,function(d){var e="false";try{e=d(P)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"});
(0,g.E)(Mda,function(d){var e="";try{var f=d(P);e=g.Me(g.He(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+e+"&"});
return a.slice(0,-1)};
Jda=function(){if(!pn){var a=function(){qn=!0;P.document.removeEventListener("webdriver-evaluate",a,!0)};
P.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){rn=!0;P.document.removeEventListener("webdriver-evaluate-response",b,!0)};
P.document.addEventListener("webdriver-evaluate-response",b,!0);pn=!0}};
sn=function(){this.A=64;this.o=Array(4);this.D=Array(this.A);this.B=this.C=0;this.reset()};
tn=function(a,b,c){c||(c=0);var d=Array(16);if(g.x(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.o[0];c=a.o[1];e=a.o[2];var f=a.o[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^
b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+
(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<<5&4294967295|
k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(k<<20&4294967295|
k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(k<<14&4294967295|
k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^
b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+3873151461&4294967295;
f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649&4294967295;
c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.o[0]=a.o[0]+b&4294967295;a.o[1]=a.o[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.o[2]=a.o[2]+e&4294967295;a.o[3]=a.o[3]+f&4294967295};
un=function(){this.A=null};
vn=function(a){return function(b){var c=new sn;c.update(b+a);return Ie(c.digest()).slice(-8)}};
wn=function(a,b){this.A=a;this.C=b};
Oda=function(a){var b=Mm(a)?"custom_metric_viewable":a;a=Zb(am,function(c){return c==b});
return Km[a]};
xn=function(a,b,c){wn.call(this,a,b);this.B=c};
yn=function(){Wm.call(this);this.D=void 0;this.H=null;this.F=!1;this.G={};this.C=new un};
zn=function(){var a=yn.getInstance(),b="h"==bn(a)||"b"==bn(a),c="exc"!=Sj.getInstance().gb;b&&c&&(a.F=!0,a.H=new bda)};
Pda=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.o&&g.Ga(c)){var d=a.o;Sba(c);(0,g.E)(c,function(e){var f=(0,g.K)(e.A4,function(k){var l=Hda(k);if(null==l)k=null;else if(k=new Fda,null!=l.visible&&(k.o=l.visible/100),null!=l.audible&&(k.A=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=xb(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);"ms"==n?(k.C=l,k.B=-1):(k.C=-1,k.B=l);k.D=void 0===m?"tos":m}return k});
(0,g.Ik)(f,function(k){return null==k})||Wca(b,new kn(e.id,e.event,f,d))})}};
Qda=function(a,b,c){var d=hm(b);d||(d=c.opt_nativeTime||-1,d=Xm(a,b,bn(a),d),c.opt_osdId&&(d.Yh=c.opt_osdId));return d};
Rda=function(a,b,c){var d=hm(b);d||(d=Xm(a,b,"n",c.opt_nativeTime||-1),d.J=Kk.getInstance().L);return d};
Sda=function(a,b){var c=hm(b);c||(c=Xm(a,b,"h",-1));return c};
Tda=function(a){var b=Sj.getInstance();switch(bn(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.gb)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
An=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.kc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.C.o(Lm("ol",d));if(g.v(d))if(c=Jm(d),g.v(c))if(Zm)b=Lm("ue",d);else if(b=a.Lp(b,e)){b:{zda(a);"i"==$m&&(b.Sg=!0,a.Ex(b));c=e.opt_fullscreen;g.v(c)&&xl(b,!!c);var f;if(f=!Kk.getInstance().J&&!Jk()&&tj(Ij().A)){switch(b.Ve()){case 1:dn(a,b,"pv");break;case 2:a.wx(b)}an("pv")}c=d.toLowerCase();!f&&g.Ya(Uda,c)&&Ada(a,b,e);0!=b.Nc&&g.Ya(Vda,c)&&!b.Sg&&!a.B&&b.Yi&&(f=b.Yi,f.o||
(f.o=Sl(f,b)));(f=b.Aj[c])&&b.Yc.Ha(f);switch(b.Ve()){case 1:var k=Mm(c)?a.J.custom_metric_viewable:a.J[c];break;case 2:k=a.L[c]}if(k&&(d=k.call(a,b,e,d),g.v(d))){e=Lm(void 0,c);g.kc(e,d);d=e;break b}d=void 0}3==b.Nc&&a.lp(b);b=d}else b=Lm("nf",d);else b=void 0;else Zm?b=Lm("ue"):(b=a.Lp(b,e))?(d=Lm(),g.kc(d,bm(b,!0,!1,!1)),b=d):b=Lm("nf");return g.x(b)?a.C.o(void 0):a.C.o(b)};
Wda=function(a,b,c){a=Kk.getInstance();if(a.L!=b){a.L=b;var d=(0,g.Ik)(gm.o,function(e){return e.Ga});
(0,g.E)(gm.o,function(e){b||d||(e.Ak=c);e.J=b;e.Ga=!1})}};
Cn=function(a,b){var c;if(b.Yh&&Bn(a)){var d=a.G[b.Yh];d?c=function(f,k){d.C(f,k)}:null!==d&&rk(379,Error())}else c=g.z("ima.common.triggerViewabilityMeasurementUpdate");
if(g.Ja(c)){var e=Xca(b);e.nativeVolume=a.D;c(b.cd,e)}};
Bn=function(a){return"exc"==Sj.getInstance().gb||"h"!=bn(a)&&bn(a),!1};
Dn=function(a){var b={};return b.viewability=a.o,b.googleViewability=a.C,b.moatInit=a.D,b.moatViewability=a.F,b.integralAdsViewability=a.B,b.doubleVerifyViewability=a.A,b};
En=function(a,b,c){c=void 0===c?{}:c;a=An(yn.getInstance(),b,c,a);return Dn(a)};
Fn=function(){this.Fa=null;this.A="jserror";this.C=!1;this.o=null;this.B=this.Tg};
Xda=function(){this.S={}};
Gn=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c="";var d=b.indexOf(":");if(-1!=d){var e=
b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
Yda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}
function b(q){for(var u=k,w=0;64>w;w+=4)u[w/4]=q[w]<<24|q[w+1]<<16|q[w+2]<<8|q[w+3];for(w=16;80>w;w++)q=u[w-3]^u[w-8]^u[w-14]^u[w-16],u[w]=(q<<1|q>>>31)&4294967295;q=e[0];var D=e[1],F=e[2],I=e[3],O=e[4];for(w=0;80>w;w++){if(40>w)if(20>w){var na=I^D&(F^I);var Ia=1518500249}else na=D^F^I,Ia=1859775393;else 60>w?(na=D&F|I&(D|F),Ia=2400959708):(na=D^F^I,Ia=3395469782);na=((q<<5|q>>>27)&4294967295)+na+O+Ia+u[w]&4294967295;O=I;I=F;F=(D<<30|D>>>2)&4294967295;D=q;q=na}e[0]=e[0]+q&4294967295;e[1]=e[1]+D&4294967295;
e[2]=e[2]+F&4294967295;e[3]=e[3]+I&4294967295;e[4]=e[4]+O&4294967295}
function c(q,u){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var w=[],D=0,F=q.length;D<F;++D)w.push(q.charCodeAt(D));q=w}u||(u=q.length);w=0;if(0==n)for(;w+64<u;)b(q.slice(w,w+64)),w+=64,p+=64;for(;w<u;)if(f[n++]=q[w++],p++,64==n)for(n=0,b(f);w+64<u;)b(q.slice(w,w+64)),w+=64,p+=64}
function d(){var q=[],u=8*p;56>n?c(l,56-n):c(l,64-(n-56));for(var w=63;56<=w;w--)f[w]=u&255,u>>>=8;b(f);for(w=u=0;5>w;w++)for(var D=24;0<=D;D-=8)q[u++]=e[w]>>D&255;return q}
for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,nK:function(){for(var q=d(),u="",w=0;w<q.length;w++)u+="0123456789ABCDEF".charAt(Math.floor(q[w]/16))+"0123456789ABCDEF".charAt(q[w]%16);return u}}};
Zda=function(a,b,c){var d=[],e=[];if(1==(g.Ga(c)?2:1))return e=[b,a],(0,g.E)(d,function(l){e.push(l)}),Hn(e.join(" "));
var f=[],k=[];(0,g.E)(c,function(l){k.push(l.key);f.push(l.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.Za(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.E)(d,function(l){e.push(l)});
a=Hn(e.join(" "));a=[c,a];g.Za(k)||a.push(k.join(""));return a.join("_")};
Hn=function(a){var b=Yda();b.update(a);return b.nK().toLowerCase()};
g.In=function(){var a=[],b=Gn(String(g.y.location.href)),c=g.y.__OVERRIDE_SID;null==c&&(c=(new kh(document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.y.__SAPISID:g.y.__APISID,null==b&&(b=(new kh(document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.y.location.href);return d&&b&&c?[c,Zda(Gn(d),b,a||null)].join(" "):null}return null};
g.Jn=function(a,b){this.A={};this.o=[];this.hi=this.Pa=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof g.Jn)for(c=a.Gb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
Ln=function(a,b){return Kn(a.A,b)};
Mn=function(a){if(a.Pa!=a.o.length){for(var b=0,c=0;b<a.o.length;){var d=a.o[b];Kn(a.A,d)&&(a.o[c++]=d);b++}a.o.length=c}if(a.Pa!=a.o.length){var e={};for(c=b=0;b<a.o.length;)d=a.o[b],Kn(e,d)||(a.o[c++]=d,e[d]=1),b++;a.o.length=c}};
Kn=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Nn=function(a){if(a.wb&&"function"==typeof a.wb)return a.wb();if(g.x(a))return a.split("");if(g.Ha(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Ub(a)};
On=function(a){if(a.Gb&&"function"==typeof a.Gb)return a.Gb();if(!a.wb||"function"!=typeof a.wb){if(g.Ha(a)||g.x(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Vb(a)}};
$da=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.Ha(a)||g.x(a))(0,g.E)(a,b,void 0);else for(var c=On(a),d=Nn(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.Pn=function(a,b){this.A=this.H=this.B="";this.D=null;this.J=this.C="";this.F=!1;var c;a instanceof g.Pn?(this.F=g.v(b)?b:a.F,g.Qn(this,a.B),this.H=a.H,g.Rn(this,a.A),g.Sn(this,a.D),g.Tn(this,a.C),Un(this,a.o.clone()),this.J=a.Ei()):a&&(c=g.nh(String(a)))?(this.F=!!b,g.Qn(this,c[1]||"",!0),this.H=Vn(c[2]||""),g.Rn(this,c[3]||"",!0),g.Sn(this,c[4]),g.Tn(this,c[5]||"",!0),Un(this,c[6]||"",!0),this.J=Vn(c[7]||"")):(this.F=!!b,this.o=new g.Wn(null,this.F))};
g.Qn=function(a,b,c){a.B=c?Vn(b,!0):b;a.B&&(a.B=a.B.replace(/:$/,""))};
g.Rn=function(a,b,c){a.A=c?Vn(b,!0):b;return a};
g.Sn=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.D=b}else a.D=null;return a};
g.Tn=function(a,b,c){a.C=c?Vn(b,!0):b};
Un=function(a,b,c){b instanceof g.Wn?(a.o=b,aea(a.o,a.F)):(c||(b=Xn(b,bea)),a.o=new g.Wn(b,a.F));return a};
g.Yn=function(a,b,c){a.o.set(b,c);return a};
g.Zn=function(a){return a instanceof g.Pn?a.clone():new g.Pn(a,void 0)};
Vn=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
Xn=function(a,b,c){return g.x(a)?(a=encodeURI(a).replace(b,cea),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
cea=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.Wn=function(a,b){this.Pa=this.o=null;this.A=a||null;this.C=!!b};
$n=function(a){a.o||(a.o=new g.Jn,a.Pa=0,a.A&&rh(a.A,function(b,c){a.add(rc(b),c)}))};
bo=function(a){var b=On(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.Wn(null,void 0);a=Nn(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.Ga(f)?g.ao(c,e,f):c.add(e,f)}return c};
eo=function(a,b){$n(a);b=co(a,b);return Ln(a.o,b)};
g.ao=function(a,b,c){a.remove(b);0<c.length&&(a.A=null,a.o.set(co(a,b),g.ib(c)),a.Pa=a.Pa+c.length)};
co=function(a,b){var c=String(b);a.C&&(c=c.toLowerCase());return c};
aea=function(a,b){b&&!a.C&&($n(a),a.A=null,a.o.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),g.ao(this,e,c))},a));
a.C=b};
g.fo=function(a){g.L.call(this);this.B=a;this.A={}};
ho=function(a,b,c,d,e){go(a,b,c,d,!1,e)};
go=function(a,b,c,d,e,f){g.Ga(c)||(c&&(io[0]=c.toString()),c=io);for(var k=0;k<c.length;k++){var l=g.cg(b,c[k],d||a.handleEvent,e||!1,f||a.B||a);if(!l)break;a.A[l.key]=l}return a};
ko=function(a,b,c,d,e){jo(a,b,c,d,!1,e)};
jo=function(a,b,c,d,e,f){if(g.Ga(c))for(var k=0;k<c.length;k++)jo(a,b,c[k],d,e,f);else{b=bg(b,c,d||a.handleEvent,e,f||a.B||a);if(!b)return a;a.A[b.key]=b}return a};
g.lo=function(a){g.Mb(a.A,function(b,c){this.A.hasOwnProperty(c)&&g.mg(b)},a);
a.A={}};
mo=function(a,b,c){g.L.call(this);this.A=a;this.C=b;this.F=c;this.D=0;this.o=new g.fo(this);dea(this)};
dea=function(a){a.F.forEach(function(b,c){this.o.X(c,"mousedown",this.G);this.o.X(c,"mouseup",this.J)},a);
a.o.X(a.C,"mouseover",a.H)};
g.no=function(a,b){return a.replace(eea,function(c,d){try{var e=fc(b,d);if(null==e)return c;e=e.toString();if(""==e||!g.G(g.H(e)))return encodeURIComponent(e).replace(/%2C/g,",")}catch(f){}return c})};
po=function(a,b){var c=[],d="",e="";if(null!=b){d=b;e=!0;e=void 0===e?!1:e;for(var f=[],k=0;d&&25>k;++k){var l="";void 0!==e&&e||(l=(l=9!==d.nodeType&&d.id)?"/"+l:"");a:{if(d&&d.nodeName&&d.parentElement){var m=d.nodeName.toString().toLowerCase();for(var n=d.parentElement.childNodes,p=0,q=0;q<n.length;++q){var u=n[q];if(u.nodeName&&u.nodeName.toString().toLowerCase()===m){if(d===u){m="."+p;break a}++p}}}m=""}f.push((d.nodeName&&d.nodeName.toString().toLowerCase())+l+m);d=d.parentElement}d=f.join();
if(b){e=(e=b.ownerDocument)&&(e.defaultView||e.parentWindow)||null;f=[];if(e)try{var w=e.parent;for(k=0;w&&w!==e&&25>k;++k){var D=w.frames;for(l=0;l<D.length;++l)if(e===D[l]){f.push(l);break}e=w;w=e.parent}}catch(F){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(w=0;w<oo.length-1;++w)c.push(Ch(a,oo[w])||"");w=Ch(a,"videoad_start_delay");D="";w&&(w=parseInt(w,10),D=0>w?"postroll":0==w?"preroll":"midroll");c.push(D)}else for(w=0;w<oo.length;++w)c.push("");c=c.join(":");w=c.length;if(0==w)c=0;else{D=
305419896;for(d=0;d<w;d++)D^=(D<<5)+(D>>2)+c.charCodeAt(d)&4294967295;c=0<D?D:4294967296+D}return c.toString()};
qo=function(a,b,c){this.o=a;this.A=b;this.C=c};
ro=function(a,b){this.o=a;this.og=b};
so=function(a,b){g.Qf.call(this,"adError");this.A=a;this.o=b?b:null};
to=function(a,b,c){g.Qf.call(this,a);this.A=b;this.o=null!=c?c:null};
fea=function(a){this.o=a};
gea=function(){var a=uo();return vo(a,"disableExperiments")};
vo=function(a,b){if(Xb(a.o,b)){var c=a.o[b];if(g.Aa(c))return c}return!1};
hea=function(a){if(Xb(a.o,"forceExperimentIds")){a=a.o.forceExperimentIds;var b=[],c=0;g.Ga(a)&&(0,g.E)(a,function(d){g.Ca(d)&&(b[c++]=d)});
return b}return null};
wo=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
xo=function(){this.C="always";this.L=4;this.F=1;this.o=this.K=this.B=!1;this.aa=this.J=!0;this.Y=this.A=this.P=!1;this.H=!0;this.M=null;this.Oa=this.D=this.W=!1;try{this.ba=Ej(void 0)[0]}catch(a){}};
R=function(){return Q.P};
uo=function(){var a=Q;if(null==a.M){var b={},c=(new g.Pn(ge().location.href)).o;if(eo(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.M=new fea(b)}return a.M};
iea=function(a){switch(a){case "BREAK_TYPE_PRE_ROLL":return 1;case "BREAK_TYPE_MID_ROLL":return 2;case "BREAK_TYPE_POST_ROLL":return 3;case "BREAK_TYPE_INDEPENDENT":return 5;case "BREAK_TYPE_RELATED":return 6;default:return 0}};
yo=function(a){g.Qf.call(this,a);this.B=[];this.C={};this.o=null;this.A=!0};
zo=function(a,b,c){this.C=b;this.o=c;this.B=a;this.A=!0};
Ao=function(){};
Bo=function(a,b,c){this.Ja=a;this.o=g.Jd(b||0,0,1);this.A=null!=c?c:!0};
Co=function(a){this.Ja=a;this.A=new g.Jn;this.kb=this.o=null};
jea=function(a){var b=Math.random(),c=0,d=a.A.wb();(0,g.E)(d,function(l){c+=l.o},a);
var e=1<c?c:1;a.o=null;for(var f=0,k=0;k<d.length;++k)if(f+=d[k].o,f/e>=b){a.o=d[k];break}};
lea=function(){this.A=null!=g.y.G_testRunner;this.C=new Ao;this.o=new g.Jn;R()||(Do(this,"GvnExternalLayer",31061774,.01),Do(this,"GvnExternalLayer",31061775,.01),Do(this,"GvnExternalLayer",41351088,.01),Do(this,"GvnExternalLayer",41351089,.01),Do(this,"GvnExternalLayer",420706008,.05),Do(this,"GvnExternalLayer",420706009,.05),Do(this,"GvnExternalLayer",41351073,.01),Do(this,"GvnExternalLayer",41351074,.01),Do(this,"GvnExternalLayer",41351075,.01),Do(this,"GvnExternalLayer",634360101,0),Do(this,"GvnExternalLayer",
634360102,0),Do(this,"GvnExternalLayer",21592080,.1),Do(this,"GvnExternalLayer",21592081,.1),Do(this,"GvnExternalLayer",413051059,.05),Do(this,"GvnExternalLayer",413051060,.05),Do(this,"GvnExternalLayer",324123E3,.05),Do(this,"GvnExternalLayer",324123001,.05),Do(this,"GvnExternalLayer",420706068,.01),Do(this,"GvnExternalLayer",420706069,.01),Do(this,"GvnExternalLayer",324123020,.01),Do(this,"GvnExternalLayer",324123021,.01));Do(this,"ActiveViewExternalLayer",953563515,.01);Do(this,"ActiveViewExternalLayer",
953563516,.01);Do(this,"ActiveViewExternalLayer",953563517,.01);kea(this);var a=uo();a=hea(a);null!=a&&(this.A=!1,Eo(this,a.map(String)))};
Go=function(){Fo||(Fo=new lea);return Fo};
Ho=function(){return Go().C};
mea=function(a,b){a.C=b};
nea=function(){var a=Go();(0,g.E)(a.o.Gb(),function(b){g.wb(b,"FORCED_PUB_EXP_LAYER_")&&this.o.remove(b)},a)};
Do=function(a,b,c,d){g.G(g.H(b))||isNaN(c)||0>=c||(c=new Bo(c,d),Io(a,b).A.set(c.getId(),c))};
kea=function(a){gea()||(0,g.E)(a.o.wb(),function(b){jea(b)},a)};
Eo=function(a,b){(0,g.E)(b,function(c){var d=Number(c);c="FORCED_PUB_EXP_LAYER_"+c;isNaN(d)||0>=d||g.G(g.H(c))||(Io(this,c).o=new Bo(d,0,!0))},a)};
Jo=function(a,b){return a.A?!1:(0,g.Ik)(a.o.wb(),function(c){return!!c.o&&c.o.getId()==b})};
Ko=function(a){if(a.A)return"";var b=[];(0,g.E)(a.o.wb(),function(c){(c=c.o)&&c.A&&b.push(c.getId())});
return b.sort().join(",")};
Io=function(a,b){var c=a.o.get(b);null==c&&(c=new Co(b),a.o.set(b,c));return c};
pea=function(a){var b=[];(0,g.E)(oea,function(c){(c=(c=Io(a,c))?c.o:null)&&b.push(c.getId())});
return b};
Mo=function(a){return null!=a?Lo(qea,a):!1};
Lo=function(a,b){try{var c=(new g.Pn(b)).A;c=c.replace(/^www./i,"");return(0,g.Ik)(a,function(d){return rea(d,c)})}catch(d){return!1}};
rea=function(a,b){if(g.G(g.H(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b};
Oo=function(a){var b=!1;No(a,sea)?b=!1:Mo(a)?b=!0:"https:"==window.location.protocol&&(No(a,tea)||R())&&(b=!0);if(b){b=new g.Pn(a);if("https"==b.B)return a;g.Qn(b,"https");return b.toString()}return a};
No=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
Po=function(a){if(g.G(g.H(a)))return!1;a=new g.Pn(a);if(!a.B||"http"!=a.B&&"https"!=a.B)return!1;a=a.A;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0};
Qo=function(a){g.G(g.H(a))||(a=g.id(a),a=g.fd(a),window.open(a,"_blank"))};
So=function(a,b,c){null!=a?(g.Yn(a,"label",b),null!=c&&g.Yn(a,"value",c.join(";")),a=a.toString()):a="";Ro(a)};
To=function(a,b,c,d){null!=a&&null!=b&&(a=g.no(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.G(g.H(e)))a=b;else{var f=new g.Pn(b);eo(f.o,"label")?(g.Yn(f,"acvw",e),a=f.toString().replace(/%2C/g,",")):a=b}}a:{c=a;var k=c.length-11-2;if(!(-1==c.indexOf("URL_SIGNALS")||2048<=k||!d&&!window.Goog_AdSense_Lidar_getUrlSignalsArray))for(d=d||window.Goog_AdSense_Lidar_getUrlSignalsArray(),k={},e=0;e<d.length;++e){k.URL_SIGNALS=d[e];var l=g.no(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
Ro=function(a,b,c,d){a=To(a,b,c,void 0);try{a=Oo(a);var e=Go(),f=!R()||Jo(e,41351089);b=!1;R()||!Jo(Go(),634360102)||(b=!0);null!=d&&d?Uo.WF(a,f):Q.H?Uo.yV(a,f,b):Uo.Sn(a,f,b)}catch(k){}};
Vo=function(a,b){null!=a&&(0,g.E)(a,function(c){Ro(c,b)})};
uea=function(a,b){if(g.G(g.H(b)))return a;var c=new g.Pn(a),d=c.A;return null!=d&&xb(d,".g.doubleclick.net")?(g.Yn(c,"ged",b),c.toString()):a};
Wo=function(a,b){this.message=a;this.errorCode=b};
Yo=function(a,b,c){return Xo("adLoadError",a,b||null,kb(arguments,2))};
Zo=function(a,b,c){return Xo("adPlayError",a,b||null,kb(arguments,2))};
$o=function(a,b,c,d,e){var f=a.apply(null,g.gb([c,d],kb(arguments,3)));b.dispatchEvent(new to("log",null,f))};
ap=function(a,b,c){$o(Zo,a,b,c,void 0)};
Xo=function(a,b,c,d){if(c instanceof zo)return c;var e=b.errorCode;b=b.message;if(0<d.length)for(var f=0;f<d.length;f++)b=b.replace(new RegExp("\\{"+f+"\\}","ig"),d[f]);a=new zo(a,b,e);a.Rm=c;return a};
bp=function(a,b,c,d){var e=Zo.apply(null,g.gb([b,c],kb(arguments,3)));a.dispatchEvent(new so(e))};
cp=function(a,b){g.Qf.call(this,"vpaidEventType");this.o=a;this.data=b};
dp=function(a){return(a=a.exec(g.Jb))?a[1]:""};
ep=function(a){return 0<=g.Ib(vea,a)};
fp=function(){return Fi()||Ei()};
ip=function(){return gp&&!hp||Fb(g.Jb,"iPod")};
jp=function(){return ip()||hp};
mp=function(a){return jp()&&kp(lp,a)};
pp=function(a){return g.np&&kp(op,a)};
kp=function(a,b){if(null==qp[b]){var c=rp(a);c?(c=c.replace(/_/g,"."),qp[b]=0<=g.Ib(c,b)):qp[b]=!1}return qp[b]};
rp=function(a){g.G(sp)&&(a=a.exec(g.Jb))&&(sp=a[1]);return sp};
tp=function(){var a=g.Jb;return a?Fb(a,"Nintendo WiiU"):!1};
up=function(){return gp&&!hp&&mp(10)&&R()||!R()&&(gp&&!hp&&mp(10),0)?!0:ip()||g.np&&!pp(4)||!R()&&Jk()?!1:!0};
vp=function(){var a;(a=Q.o||!1)||(a=!1);return a||jp()&&(gp&&!hp&&mp(10),!0)||g.np&&!pp(4)||Jk()?!0:!1};
wp=function(a){return!(null===a||a.jk()||R()||ip()||Jk()||g.np&&!pp(4))};
xp=function(){this.reset()};
yp=function(a,b){null!=b&&a.A!=b?(a.o=1,a.A=b):a.o=null!=b?a.o+1:1;return a.o};
zp=function(a,b,c,d,e,f){g.x(a)?(this.o="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.o=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};
g.Cp=function(a){g.Ca(a)?(this.date=Ap(a,0,1),Bp(this,1)):g.Ka(a)?(this.date=Ap(a.getFullYear(),a.getMonth(),a.getDate()),Bp(this,a.getDate())):(this.date=new Date((0,g.J)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),Bp(this,a))};
Ap=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
Bp=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Dp=function(){this.A=this.o=null};
Fp=function(){this.o=Ep();this.L=-1;this.M=this.W=this.D=this.K=this.A=null;this.B=Ep();this.C=null;this.Y=this.G=this.J="";this.H=this.P=this.aa=this.F=null;this.ba=0};
Ep=function(){return Math.floor(4503599627370496*Math.random())};
Gp=function(a){null==a.D&&(a.D=new xp);return a.D};
Hp=function(a){if(Q.o)return"h.3.0.0";var b="h."+a.Y;null!=a.F&&(b+="/n."+a.F,null!=a.A&&(b+="/"+a.A));return b};
Ip=function(){this.o=.01>Math.random();this.A=Math.floor(4503599627370496*Math.random())};
wea=function(a,b){b.id="ima_html5";var c=Jp();b.c=a.A;b.domain=c.A;return b};
Jp=function(){var a=ge(),b=document;return new g.Pn(a.parent==a?a.location.href:b.referrer)};
Kp=function(){this.fg=1E4};
Lp=function(){g.rg.call(this)};
Mp=function(){g.rg.call(this);this.o=new g.Jn;this.A=null;this.Z=new g.fo(this);g.M(this,this.Z);this.D="";this.B=this.J=this.G=this.C=null;this.H=-1};
Op=function(){null!=Np||(Np=new Mp);return Np};
Pp=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Op().dispatchEvent(new to("measurable_impression",null,c))};
Qp=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Op().dispatchEvent(new to("viewable_impression",null,c))};
Rp=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;Op().dispatchEvent(new to("externalActivityEvent",null,d))};
xea=function(a,b){if(a.A)if(a.B){var c=(0,g.J)()-a.H;b(a.B+"_ct"+c)}else{var d=a.o;c=window.setTimeout(function(){b("timeout");(0,g.E)(d.Gb(),function(f){d.get(f)===b&&d.remove(f)})},200);
a.o.set(c,b);var e={};e.osdId=a.D;e.eventId=c;Ip.getInstance().isLoggingEnabled()&&(a.F=(0,g.J)(),e.loggingId=Math.random(),Ip.getInstance().report(43,{step:"sendingMessage",logid:e.loggingId,time:a.F}));a.A.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
yea=function(a,b,c,d){if(a.A){var e={};e.queryId=c;e.vastEvent=b;a.D&&(e.osdId=a.D);e.isOverlay=null!=a.C;a.C&&(e.overlayBounds=g.qi(a.C));var f=a.o;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.E)(f.Gb(),function(k){f.get(k)===d&&f.remove(k)})},200);
a.o.set(b,d);e.eventId=b;a.A.send("activityMonitor","reportVastEvent",e)}else d({})};
Sp=function(){};
Tp=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
Wp=function(a,b){if(null==a||0>=a.width||0>=a.height)throw Zo(Up,null,"ad slot size",a.toString());this.A=a;this.o=null!=b?b:new Sp;this.D=Vp(zea,this.o.C)?this.o.C:"All";this.B=Vp(Aea,this.o.creativeType)?this.o.creativeType:"All";this.G=Vp(Bea,this.o.B)?this.o.B:"SelectExactMatch";this.H=Vp(Cea,this.o.A)?this.o.A:"DisallowResize";this.C=null!=this.o.D?this.o.D:[];this.F=g.Ca(this.o.o)&&0<this.o.o&&100>=this.o.o?this.o.o:90};
Zp=function(a,b){var c=[];(0,g.E)(b,function(d){!g.G(g.H(d.o.A))&&(isNaN(d.o.o)||isNaN(Xp(d))||Xp(d)==d.o.o)&&Yp(this,d)?c.push(d):(d=Dea(this,d),null!=d&&!g.G(g.H(d.o.A))&&c.push(d))},a);
return c};
Yp=function(a,b){var c;if(c="Flash"!=b.Ad()||$p){if(c="All"==a.D||a.D==b.o.M)c=b.Ad(),c=null!=c?"All"==a.B||a.B==c:!0;c&&(c=b.C,c=g.Za(a.C)?!0:null!=c?0<=Xa(a.C,c):!1)}if(c){var d=b.o.ke();if("IgnoreSize"==a.G||g.Rd(a.A,d))c=!0;else if(c="SelectNearMatch"==a.G)"ResizeSmaller"==a.H?(d=d.width<=a.A.width&&d.height<=a.A.height?d:aq(d,a.A),c=d.width,d=d.height):(c=d.width,d=d.height),c=c>a.A.width||d>a.A.height||c<a.F/100*a.A.width||d<a.F/100*a.A.height?!1:!0}else c=!1;return c};
Dea=function(a,b){var c=b.A;return null!=c?g.Ua(c,function(d){return Yp(this,d)},a):null};
aq=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.Qd(c*a.width,c*a.height)};
Vp=function(a,b){return null!=b&&g.Yb(a,b)};
bq=function(a){a=0>a?0:Math.round(a);return 3600<=a?""+Math.floor(a/3600)+":"+("0"+Math.floor(a/60)%60).slice(-2)+":"+("0"+a%60).slice(-2):""+Math.floor(a/60)%60+":"+("0"+a%60).slice(-2)};
Eea=function(a){var b={};(0,g.E)(a.split(","),function(c){var d=c.split("=");2==d.length&&(c=Gb(d[0]),d=Gb(d[1]),0<c.length&&(b[c]=d))});
return b};
dq=function(a,b){if(a[b])return cq(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return cq(a[d]);return!1};
cq=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Fea=function(){this.o=this.Ge=1;this.A=this.B=0;this.C=1};
eq=function(){g.rg.call(this);this.o=null;this.Z=new g.fo(this);g.M(this,this.Z);this.A=new g.Jn;this.F=new g.Jn;this.B=null;this.C=!1;this.D=null};
gq=function(){null!=fq||(fq=new eq);return fq};
Gea=function(){gq();var a=Go(),b=Sj.getInstance().Va;a=pea(a);Vba(b,a)};
iq=function(a){if(null==a)return!1;if(ip()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=hq(a);return 0>=b-a.width&&42>=c-a.height};
hq=function(a){return g.Ja(a.getBoundingClientRect)&&g.we(Ud(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
kq=function(a,b,c,d,e){if(a.C){if(a.D)return a.D(b,c,e);e=e||{};if(d=d?a.F.get(d):Q.G)null!=e.opt_fullscreen||(e.opt_fullscreen=iq(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.B&&(Q.o&&(e.opt_overlayAdElement=a.B),null!=e.opt_bounds||(e.opt_bounds=hq(a.B)));return jq.nj(471,g.Na(En,b,c,e),void 0)||{}}return{}};
lq=function(a,b){var c=[];a.A.forEach(g.Na(function(d,e,f,k){f==e&&d.push(k)},c,b));
(0,g.E)(c,a.A.remove,a.A)};
mq=function(a){if(g.Ja(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.o.send("activityMonitor","pageSignals",b)}};
Hea=function(a,b,c){if(!Q.J)return"";var d=b?a.F.get(b):Q.G;a={};null!=c&&(a.fullscreen=c);c="";try{c=Fba(function(){return d},a)}catch(e){c="sdktle;"+uc(e.name,12)+";"+uc(e.message,40)}return c};
nq=function(a,b){g.Qf.call(this,a);this.o=b};
oq=function(a,b){this.J=a;this.H=(0,g.K)(b,function(c){return c.clone()});
this.G="";this.B=null;this.o=this.C=0;this.A=!0;this.D=[];this.F=[]};
pq=function(a,b,c,d,e){a.G="<div></div>";a.B=b;a.C=c;a.o=d;a.A=!1;a.D=e||[];a.F=[]};
qq=function(a){a.G="";a.B=null;a.C=0;a.o=0;a.A=!0;a.D=[];a.F=[]};
rq=function(a){g.Qf.call(this,a)};
sq=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.channelId=a.id;var b=a.snippet;b&&(this.authorName=b.title,this.channelIconThumbnailUrl=g.Wb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.o=g.Wb(a,"image","bannerImageUrl")}};
g.tq=function(a){this.o="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.uq=function(a,b){var c=a.A(b,void 0);return-1==(0==c?a.o:c)?"rtl":"ltr"};
vq=function(){throw Error("Do not instantiate directly");};
wq=function(a,b){this.content=String(a);this.Ul=null!=b?b:null};
xq=function(){vq.call(this)};
yq=function(){vq.call(this)};
zq=function(a,b){return null!=a&&a.Qj===b};
Aq=function(a){if(null!=a)switch(a.Ul){case 1:return 1;case -1:return-1;case 0:return 0}return null};
Dq=function(a){return zq(a,Bq)?a:a instanceof ud?Cq(g.vd(a).toString(),a.o()):Cq(g.sc(String(String(a))),Aq(a))};
Eq=function(a){return new wq(a,void 0)};
Fq=function(a){return a instanceof vq?!!a.vb():!!a};
Iq=function(a,b,c){var d="key_"+a+":"+b,e=Gq[d];if(void 0===e||0>e)Gq[d]=0,Hq[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
Jq=function(a,b){var c=Hq["key_"+a+":"+b];c||""==b||(c=Hq["key_"+a+":"]);return c?c:Iea;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');};
Iea=function(){return""};
Kq=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")};
S=function(a){return zq(a,Bq)?String(String(a.vb()).replace(Lq,"").replace(Mq,"&lt;")).replace(Jea,Nq):g.sc(String(a))};
Oq=function(a){return zq(a,Bq)?String(String(a.vb()).replace(Lq,"").replace(Mq,"&lt;")).replace(Kea,Nq):String(a).replace(Lea,Nq)};
Qq=function(a){zq(a,Pq)?a=a.vb().replace(/([^"'\s])$/,"$1 "):(a=String(a),a=Mea.test(a)?a:"zSoyz");return a};
Nea=function(a){return"%"+a.charCodeAt(0).toString(16)};
Sq=function(a){a=g.qc(String(a));Rq.lastIndex=0;return Rq.test(a)?a.replace(Rq,Nea):a};
Yq=function(a){zq(a,Tq)||zq(a,Uq)?a=Vq(a):a instanceof dd?a=Vq(g.fd(a)):a instanceof Zc?a=Vq($c(a).toString()):(a=String(a),a=Oea.test(a)?a.replace(Wq,Xq):"about:invalid#zSoyz");return a};
Zq=function(a){zq(a,Tq)||zq(a,Uq)?a=Vq(a):a instanceof dd?a=Vq(g.fd(a)):a instanceof Zc?a=Vq($c(a).toString()):(a=String(a),a=Pea.test(a)?a.replace(Wq,Xq):"about:invalid#zSoyz");return a};
$q=function(a){zq(a,Qea)?a=Kq(a.vb()):null==a?a="":a instanceof ld?a=Kq(md(a)):a instanceof sd?(a instanceof sd&&a.constructor===sd&&a.A===rd?a=a.o:(Fa(a),a="type_error:SafeStyleSheet"),a=Kq(a)):(a=String(a),a=Rea.test(a)?a:"zSoyz");return a};
br=function(a){var b=ar[1]||(ar[1]=new g.tq(1)),c=Aq(a);null==c&&(c=Xc(a+"",null!=a&&a.Qj===Bq));return Sea(c!=b.o?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
Nq=function(a){return Tea[a]};
Xq=function(a){return Uea[a]};
Vq=function(a){return String(a).replace(Wq,Xq)};
Vea=function(a){var b=a.title,c=a.text,d=a.oh,e=a.dir,f=a.image,k=a.duration,l=a.nW;a=a.SG;return Cq('<div class="'+S("text-container")+" "+(f?S("pyv"):"")+'"><div class="'+S("text-inner-container")+'">'+(f?(d?'<a class="'+S("text-image-link")+'" target="_blank" href="'+S(Yq(d))+'">':'<a class="'+S("text-image-link")+'" target="_blank">')+'<img src="'+S(Zq(f))+'" class="'+S("text-image")+" "+(a?S("yt-video-image"):"")+'">'+(k?'<div class="'+S("text-image-duration")+'">'+Dq(k)+"</div>":"")+"</a>":
"")+(d?'<a class="'+S("text-title")+'" href="'+S(Yq(d))+'" target="_blank" dir='+Oq(e)+">"+Dq(b)+"</a>":"")+'<div class="'+S("text-description")+'" dir='+Oq(e)+">"+Dq(c)+"</div>"+(Fq(l)&&Fq(d)?'<a target="_blank" href="'+S(Yq(d))+'" class="'+S("text-ad-channel")+'">'+Dq(l)+"</a>":"")+"</div></div>")};
Wea=function(a){var b=a.url,c=a.width,d=a.height,e=a.oh;a=a.capture;return Cq('<div class="'+S("flash-container")+" "+(a?S("click-capture"):"")+'">'+(e?'<a class="click-layer" target="_blank" href="'+S(Yq(e))+'"></a>':"")+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+S(c)+'" height="'+S(d)+'"><param name="movie" value="'+S(b)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
Sq(e)+'"><embed width="'+S(c)+'" height="'+S(d)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+S(Yq(b))+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+Sq(e)+'"></object></div>')};
Xea=function(a){var b=a.id,c=a.url,d=a.oh,e=a.width;a=a.height;return Cq('<div class="'+S("image-container")+'" id="'+S(b)+'" style="width:'+S($q(e))+";height:"+S($q(a))+';">'+(d?'<a target="_blank" href="'+S(Yq(d))+'">':'<a target="_blank">')+'<img src="'+S(Zq(c))+'" border="0"></a></div>')};
Yea=function(a){var b=a.id,c=a.url;a=a.oh;return Cq('<div class="'+S("image-container")+'" id="'+S(b)+'">'+(a?'<a target="_blank" href="'+S(Yq(a))+'">':'<a target="_blank">')+'<img src="'+S(Zq(c))+'" border="0" style="max-width:100%;max-height:100%;"></a></div>')};
cr=function(a){var b=a.id,c=a.width;a=a.height;return Cq('<div class="'+S("image-container")+'" id="'+S(b)+'" style="width:'+S($q(c))+";height:"+S($q(a))+';"></div>')};
dr=function(){this.o=new g.Jn};
er=function(a,b){this.A=a;this.C=b};
fr=function(a,b){er.call(this,"progress",a);this.o=b};
hr=function(a,b){(0,g.E)(b,function(c){var d=c.Zb().toLowerCase(),e=gr(this,d);e.push(c);this.o.set(d,e)},a)};
ir=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new fr(c,d):new er(b,c);d=gr(a,b);d.push(c);a.o.set(b,d)};
gr=function(a,b){return null!=b?a.o.get(b.toLowerCase(),[]):[]};
Zea=function(a,b){var c=gr(a,"progress");(0,g.E)(c,function(d){jr(d.o,b)});
g.sb(c,function(d,e){return kr(d.o)-kr(e.o)})};
lr=function(a,b){return(0,g.K)(gr(a,b),function(c){return c.Wa()})};
mr=function(){this.ka=-1;this.H={};this.xa="";this.mk=new dr};
nr=function(a,b,c){a.xa=b;a.H=c};
or=function(a,b){var c=[],d=a.Ep();(0,g.E)(d,function(e){e=gr(e.mk,b)||[];c=g.gb(e,c)},a);
return c};
$ea=function(a){a=or(a,"feedbackShown");return(0,g.K)(a||[],function(b){return b.Wa()})};
pr=function(a,b,c){var d=c||!1;return g.Ua(b.F,function(e){var f=e.o==this.o;return e instanceof this.constructor&&(d||f)},a)};
qr=function(a,b,c,d,e,f,k,l,m){this.C=a;this.o=b;isNaN(c)&&isNaN(d)&&isNaN(e)?e=d=0:isNaN(d)&&!isNaN(e)?d=e:!isNaN(d)&&isNaN(e)?e=d:!isNaN(c)&&isNaN(d)&&isNaN(e)&&(d=e=c);this.Zi=d;this.hg=e;this.F=f;this.B=k;this.D=Oo(g.H(l));this.A=m};
rr=function(a,b,c,d,e,f){mr.call(this);this.ka=a;this.B=b;this.C=c;this.A=g.ib(d);this.D=null;this.F=e;this.ya=g.ib(f);nb(this.ya,null,function(k){return k.L})};
sr=function(a){var b=new g.Jn,c=a.Ep();(0,g.E)(c,function(d){if(d instanceof rr){var e=d.C;(0,g.E)(e.Gb(),function(f){b.set(f,g.gb(e.get(f),b.get(f)||[]))},this)}},a);
return b};
ur=function(a){return tr(a,"x-shockwave-flash")};
tr=function(a,b){var c=g.Ua(a.A,function(d){return!g.G(g.H(d.o))&&-1!=d.o.indexOf(b)&&("VPAID"==d.A||"surveys"==d.A)});
return null!=c?c:null};
wr=function(a,b,c,d,e){mr.call(this);g.G(g.H(a))&&(a=Ac()+"_ima");this.Ja=g.H(a);this.Ia=b;this.M=c;this.ua=d;this.A=e;this.L=[];null!=this.ua?this.ba=vr[this.ua]||"Other":this.ba=null};
xr=function(a,b,c){g.L.call(this);this.A=a;this.D=b;this.K=c;this.B=0;this.o={};this.C=new g.fo(this);g.M(this,this.C);afa(this)};
afa=function(a){(0,g.E)(a.K,function(b){this.C.X(b.element,"mousedown",this.G,!0);this.C.X(b.element,"mouseup",g.Na(this.J,b),!0)},a);
a.C.X(a.D,"mouseenter",a.H)};
bfa=function(a,b){g.Mb(a.o,function(c,d){b=Eh(b,d,c)});
return b};
yr=function(a,b,c,d,e){wr.call(this,a,b,c,d,e);this.ha=this.B=null;this.Ga=-2;this.C=null;this.ea=this.Y=g.A;this.aa=[];this.Ra=[];this.F=!1;this.kb=null};
Br=function(a,b){a.C=b;null!=a.B&&null!=b&&(zr(a,a.Y),Ar(a,a.ea))};
zr=function(a,b){null!=a.C&&null!=a.B&&(0,g.E)(a.aa,function(c){this.C.Ka(c,"click",this.Y);!g.G(g.H(this.xf()))&&this.C.X(c,"click",b)},a);
a.Y=b};
Ar=function(a,b){null!=a.C&&null!=a.B&&(a.C.Ka(a.B,"creativeview",a.ea),a.C.X(a.B,"creativeview",b));a.ea=b};
Cr=function(a,b){var c=a.Ja,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.Ad()&&(d.style+="width:"+a.ab()+"px");g.G(g.H(c))||(d.id=c);return g.ie("DIV",d,b)};
Er=function(a){if(!a.F)return null;var b=or(a,"start");jb(b,or(a,"creativeview"));if(null!=b&&!g.Za(b)){var c=[];(0,g.E)(b,function(d){if(!g.G(g.H(d))){var e=Wd().bL("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});var f=$c(Dr).toString();e.src=f;g.Xh(e,{display:"block",height:"0px",width:"0px"});f="iframe"+Math.floor(1E9*Math.random());e.setAttribute("height",0);e.setAttribute("width",0);e.setAttribute("src",Oo(d.Wa()));e.setAttribute("id",f);this.Ra.push(f);g.bb(c,e)}},a);
return c}return null};
cfa=function(a,b){if(null!=a.B)if(Ho().o("cleanup_text_overlay_spam_signals")){var c=[];(0,g.E)(a.aa,function(d){c.push({element:d,eK:this.vu(d)})},a);
new xr(b,a.B,c)}else c=new g.Jn,(0,g.E)(a.aa,function(d){c.set(d,this.vu(d))},a),new mo(b,a.B,c)};
dfa=function(a){var b=[],c=a.Ep();(0,g.E)(c,function(d){b=g.gb(b,d.L)},a);
return b};
Fr=function(a,b,c){var d=c||!1;return g.Ua(b.F,function(e){var f=e.o==this.o;return this instanceof e.constructor&&(d||f)},a)};
Gr=function(a,b){this.o=null!=a?a:new dr;this.J=null!=b?b:[]};
efa=function(a,b){var c=b.o;(0,g.E)(c.Gb(),function(d){hr(this.o,c.get(d))},a)};
Hr=function(a,b){var c=lr(a.o,b);return null!=c?c:[]};
Ir=function(a){if(a.classList)return a.classList;a=a.className;return g.x(a)&&a.match(/\S+/g)||[]};
g.Jr=function(a,b){return a.classList?a.classList.contains(b):g.Ya(Ir(a),b)};
g.T=function(a,b){a.classList?a.classList.add(b):g.Jr(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.Kr=function(a,b){if(a.classList)(0,g.E)(b,function(e){g.T(a,e)});
else{var c={};(0,g.E)(Ir(a),function(e){c[e]=!0});
(0,g.E)(b,function(e){c[e]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.Lr=function(a,b){a.classList?a.classList.remove(b):g.Jr(a,b)&&(a.className=(0,g.re)(Ir(a),function(c){return c!=b}).join(" "))};
g.Mr=function(a,b){a.classList?(0,g.E)(b,function(c){g.Lr(a,c)}):a.className=(0,g.re)(Ir(a),function(c){return!g.Ya(b,c)}).join(" ")};
g.U=function(a,b,c){c?g.T(a,b):g.Lr(a,b)};
Nr=function(a,b){var c=!g.Jr(a,b);g.U(a,b,c);return c};
Or=function(a,b){var c=a(b||ffa,void 0,void 0);var d=Wd().createElement("DIV");c=gfa(c);g.Fd(d,g.Ed(g.Uc("Soy HTML template."),c));1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
gfa=function(a){if(!g.Ka(a))return String(a);if(a instanceof vq){if(a.Qj===Bq)return a.vb();if(a.Qj===Pr)return g.sc(a.vb())}return"zSoyz"};
Qr=function(a,b){yr.call(this,a,b,"Static","text","")};
Rr=function(a){null!=a?Lo(hfa,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=Mo(a)?ifa(a):null:a=null;return a};
Sr=function(a,b,c){if(null==a)return null;c=new g.Pn((null!=c?c:"//www.youtube.com/")+"watch");var d=c.o;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Un(c,d);return c.toString()};
Tr=function(a){return null===a?!1:"pharma"==(new g.Pn(a)).Ei().toLowerCase()};
ifa=function(a){if(g.G(g.H(a)))return null;var b=a.match(/^https?:\/\/[^\/]*youtu\.be\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/video\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/watch\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];a=(new g.Pn(a)).o;return eo(a,"v")?a.get("v").toString():eo(a,"video_id")?a.get("video_id").toString():null};
Ur=function(a){return g.G(g.H(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
Vr=function(a){return g.G(g.H(a))?!1:null!=a.match(/^https:\/\/[^\/]*youtube(?:kids)?.com\/api\/stats\/ads/)};
bs=function(a,b,c){var d={};a=new Wr(a,g.v(b)?b:null,g.v(c)?c:null);Xr(d,a);b=a.error;d.ERRORCODE=1E3>b.o?b.o:900;Yr(d);Zr(d,a);$r(d,a);b=a.error.Fb();d.ERROR_MSG=a.error.Vd();d.IMA_ERROR=b;d.INTERNAL_ID="0";b=-1!=Xa(jfa,b);d.BLOCKING_ERROR=b?"1":"0";d.YT_ERROR_CODE=3;as(d,a);return d};
cs=function(a,b){var c={},d=new Wr(null,a,g.v(b)?b:null);Xr(c,d);Yr(c);Zr(c,d);$r(c,d);as(c,d);kfa(c,d);lfa(c,d);d=a.jb;for(var e=a;null!=e;)d=e.Oa+","+d,e=e.A;c.RWT=d;return c};
Wr=function(a,b,c){this.error=a;this.o=b;this.display=c};
ds=function(a,b){null!=b&&(a.VIEWABILITY=b)};
es=function(a,b,c,d){mfa(c,b)?a[c]=d||"":a[c]=""};
mfa=function(a,b){return(0,g.Ik)(nfa[a],function(c){return null!=b.match(c)})};
Xr=function(a,b){a.CACHEBUSTING={toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}};
a.ASSETURI={toString:function(){return null!=b.display?b.display.getVideoUrl():""}};
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}};
lfa=function(a,b){a.AD_CPN={toString:function(){return b.display.Pe()}};
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.display.getCurrentTime())).toString()}};
a.MT={toString:function(){return b.display?Math.round(Math.max(0,1E3*b.display.getCurrentTime(1))).toString():"0"}};
a.P_W={toString:function(){return null!=b.display&&null!=b.display.Ch()?b.display.Ch().width.toString():""}};
a.P_H={toString:function(){return null!=b.display&&null!=b.display.Ch()?b.display.Ch().height.toString():""}}};
Yr=function(a){a.SDKV=Hp(fs);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
Zr=function(a,b){if(null!=b.o&&null!=b.o.C&&null!=b.o.C.fc&&R()){var c=b.o.C.fc;(0,g.E)(ofa,function(d){d in c&&(a[d]=c[d])})}};
$r=function(a,b){if(null!=b.o){a.AD_ID=gs(b.o);a.AD_SYS=hs(b.o);var c=is(b.o);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.display){var d=Rr(b.display.getVideoUrl());if(null!=d)return d}return"0"}};
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try{c=js(b.o).split("_")}catch(d){}1<=c.length&&(a.FORMAT_NAMESPACE=c[0]);2<=c.length&&(a.FORMAT_TYPE=c[1]);3<=c.length&&(a.FORMAT_SUBTYPE=c[2]);a.FINAL="1"}};
as=function(a,b){a.BREAK_TYPE="0";a.SLOT_POS="0";a.MIDROLL_POS="0";if(null!=b.o){var c=b.o.C;if(null!=c&&null!=c.ii&&null!=c.ii.video_start_delay)c=c.ii.video_start_delay,0==c?a.BREAK_TYPE="1":-1==c?a.BREAK_TYPE="3":(a.BREAK_TYPE="2",a.MIDROLL_POS=c);else{c=b.o.B;a.BREAK_TYPE=0==c.B?"1":-1==c.B?"3":"2";var d=b.o.We();d&&(a.BREAK_TYPE=d);a.SLOT_POS=c.o-1;c=b.o.C;c=null!=c&&null!=c.fc&&null!=c.fc.GET_MIDROLL_POSITION_IN_SEC?c.fc.GET_MIDROLL_POSITION_IN_SEC:null;d=Math.round(b.o.B.A);c=0<d&&c?c(d):d;
0<c&&(a.MIDROLL_POS=c)}}};
kfa=function(a,b){null!=b.o&&(a.AD_LEN={toString:function(){var c=b.o.getDuration();return 0>c?"-1":Math.round(1E3*c).toString()}},a.VOL={toString:function(){return null!=b.display?b.display.isMuted()?"0":Math.round(100*b.display.getVolume()).toString():""}})};
ms=function(a,b,c){var d=null,e=c+b;(0,g.E)(a.F,function(f){if(dq(f.H,"rm")){var k=cs(a);ks(a)&&(k.FILLED_OPPORTUNITY=0);Vo(a.K,k);(k=a.C)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof yr)0==c&&0==b||f instanceof Qr?k=!0:(k=f.ke(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.ke().height+b-f.ke().width,"Flash"!=f.Ad()||$p)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.Ad()&&"Javascript"==f.Ad()?d=f:f.o<d.o&&(d=f)):(d=f,e=k))}});
ls(a,d)};
ns=function(a){var b=null;(0,g.E)(a.F,function(c){c instanceof rr&&(null===b||c.o<b.o)&&(b=c)});
ls(a,b)};
os=function(a,b,c,d){this.B=a;this.G=b;this.ads=0<this.B.length?this.B:this.G;this.F=c;this.D=this.H=!0;this.A=-1;this.o=null;this.K=this.C=0;this.L=d;this.logger=null};
ts=function(a,b,c){var d=[],e=(0,g.B)(function(f){this.Wf()?this.Re(function(k){d.push(k);e(null)},function(k){301==k.Fb()?c(Yo(ps)):e(k)}):0<d.length?b(d):(null==f&&(f=Yo(qs)),1012==f.Fb()&&(f=Yo(rs)),c(f))},a);
e(null)};
pfa=function(a,b){a.D=b;a.ads=a.oB(a.B,a.G);a.A=-1};
qfa=function(a,b,c,d){var e=a.F.clone();e.A="";e.o=b.uc;us(a,b,e,c,d)};
us=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.C,null!=f&&(c.A=f));a.L.fetch(c,(0,g.B)(function(k){k instanceof os?(rfa(k,b,this.D&&b.yb,b.Pb),d(k)):k instanceof vs?e(new zo("adLoadError","Ad source cannot contain playlist response.",2)):e(new zo("adLoadError","Unknown ad source.",2))},a),e)};
sfa=function(a){var b=0;for(a=a.A;null!=a;)a=a.A,b++;return b};
tfa=function(a,b,c){a.o.Wf()?a.o.Re((0,g.B)(function(d){this.ir(d,b,(0,g.B)(function(e){this.Wf()?this.Re(b,c):c(e)},this))},a),(0,g.B)(function(d){ws(this.ads[this.A],d);
this.o=null;R()||301!=d.Fb()?this.Wf()?this.Re(b,c):c(d):c(d)},a)):(0==a.o.C&&ws(a.ads[a.A],Yo(xs)),a.o=null,a.Re(b,c))};
ws=function(a,b){if(b.A){1012==b.Fb()&&(b=Yo(rs));var c=bs(b,a),d=a.ka;R()&&303==b.Fb()&&(d=(0,g.re)(d,function(e){return-1==e.indexOf(".youtube.com/api/stats/ads")}));
Vo(d,c)}};
wfa=function(a,b,c){a.A++;var d=a.ads[a.A];d.ga||d.ua?d.ua?qfa(a,d,(0,g.B)(function(e){this.o=e;this.Re(b,c)},a),(0,g.B)(function(e){e=ys(e);
ws(d,e);c(e)},a)):sfa(d)>=Q.L?(a=Yo(ufa,null,String(Q.L)),ws(d,a),c(a)):a.H?a.kx(d,(0,g.B)(function(e){this.o=e;
this.Re(b,c)},a),(0,g.B)(function(e){e=ys(e);
ws(d,e);c(e)},a)):c(Yo(vfa)):a.ir(d,b,c)};
ys=function(a){switch(a.Fb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=Yo(xs)}return a};
rfa=function(a,b,c,d){(0,g.E)(a.ads,function(e){e.A=b});
pfa(a,c);a.H=d};
zs=function(a){Gr.call(this);this.A=isNaN(a)?-1:a};
As=function(a,b,c,d){os.call(this,[],a,b,c);this.J=d};
Bs=function(a){var b=a.ads.length-(0>a.A?1:a.A+1);return null!=a.o&&a.o instanceof As?b+Bs(a.o):b};
Cs=function(a){g.Pn.call(this,a);this.G=new g.Jn;a=this.C;var b=a.indexOf(";"),c=null;0<=b?(g.Tn(this,a.substring(0,b)),c=a.substring(b+1)):g.Tn(this,a);xfa(this,c)};
xfa=function(a,b){g.G(g.H(b))||(0,g.E)(b.split(";"),function(c){var d=c.indexOf("=");if(0<d){var e=rc(c.substring(0,d));c=rc(c.substring(d+1));d=this.G.get(e);null!=d?g.Ya(d,c)||d.push(c):d=[g.H(c)];this.G.set(e,d)}},a)};
Ds=function(a,b){if(g.G(g.H(b)))return null;var c=a.G.get(b);return null!=c?c:null};
Es=function(a,b,c){g.G(g.H(b))||(c=g.K(c,g.H),a.G.set(b,c))};
Fs=function(a,b){var c=[g.H(b)];jb(c,yfa(a));return c.join(";")};
yfa=function(a){var b=Ds(a,"ord");null!=b?g.G(g.H("ord"))||a.G.remove("ord"):b=[g.H((0,g.J)())];var c=[];(0,g.E)(a.G.Gb(),function(d){(0,g.E)(this.G.get(d),function(e){jb(c,d+"="+e)})},a);
jb(c,"ord="+b[0]);Es(a,"ord",b);return c};
Hs=function(a){if(null==a)return!1;a=new g.Pn(a);var b=a.C;return xb(a.A,"googleads.g.doubleclick.net")&&Gs("/pagead/(live/)?ads",b)};
Is=function(a){a=a.o;return null!=a?"bid.g.doubleclick.net"==(new g.Pn(a)).A:!1};
Js=function(a){if(null==a)return!1;var b=new Cs(a);a=b.A;b=Fs(b,b.C);return!xb(a,".g.doubleclick.net")&&xb(a,"doubleclick.net")&&Gs("/(ad|pfad)[x|i|j]?/",b)};
Ks=function(a){if(null==a)return!1;a=new g.Pn(a);var b=a.C;return xb(a.A,"doubleclick.net")&&Gs("/gampad/(live/)?ads",b)};
zfa=function(a){return Hs(a.o)||Js(a.o)||Ks(a.o)||Is(a)};
Ms=function(a){a=a.o;return null!=a?Ls(a):!1};
Ls=function(a){a=new g.Pn(a);var b=a.C;return xb(a.A,"youtube.com")&&Gs("/get_midroll_info",b)};
Afa=function(a){a=a.o;if(null==a)return null;a=(new g.Pn(a)).o;return null!=a.get("ms")?g.H(a.get("ms")):null};
Gs=function(a,b){return g.G(g.H(b))?!1:(new RegExp(a)).test(b)};
Ns=function(a,b,c,d){this.o=a;this.A=b;this.C=c;this.B=null!=d?d:!1};
Xp=function(a){a=a.o.Vb().o;return null!=a?a.o:NaN};
Os=function(a,b){a.o.J=b;(0,g.E)(a.A,function(c){Os(c,b)},a)};
Ps=function(a){var b=a.headline,c=a.description,d=a.image,e=a.action,f=a.target,k=a.dir;a=a.SJ;return Cq('<div class="'+S("iv-endcap-background")+'">'+(a?'<a class="'+S("iv-endcap-slot")+'" href="'+S(Yq(f))+'" target="_blank"><div class="'+S("iv-endcap-card")+'"><div class="'+S("iv-endcap-image")+'"><img src="'+S(Zq(d))+'"></div><div class="'+S("iv-endcap-text")+'" dir='+Oq(k)+'><div><div class="'+S("iv-endcap-headline")+'">'+Dq(b)+'</div><div class="'+S("iv-endcap-description")+'">'+Dq(c)+'</div></div></div><div class="'+
S("iv-endcap-action")+'">'+(e?Dq(e):'<span class="'+S("iv-endcap-action-icon")+'"></span>')+"</div></div></a>":'<div class="'+S("iv-endcap-slot")+'"><div class="'+S("iv-endcap-card")+'"><a class="'+S("iv-endcap-image")+'" href="'+S(Yq(f))+'" target="_blank"><img src="'+S(Zq(d))+'"></a><div class="'+S("iv-endcap-text")+'" dir='+Oq(k)+'><a href="'+S(Yq(f))+'" target="_blank"><div class="'+S("iv-endcap-headline")+'">'+Dq(b)+'</div><div class="'+S("iv-endcap-description")+'">'+Dq(c)+'</div></a></div><a class="'+
S("iv-endcap-action")+'" href="'+S(Yq(f))+'" target="_blank" dir='+Oq(k)+">"+(e?Dq(e):'<span class="'+S("iv-endcap-action-icon")+'"></span>')+"</a></div></div>")+'<div class="'+S("iv-endcap-bottom")+'"><svg class="'+S("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+S("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10"/><circle class="'+S("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10"/></svg></div></div>')};
Bfa=function(a){var b=a.cards,c=a.advertiserName,d=a.YP,e=a.aV,f=a.nf,k=a.oh;a=a.rV;var l='<div class="'+S("iv-cards-companion")+'"><div class="'+S("iv-cards-attribution")+'"><span class="'+S("yt-badge")+" "+S("yt-badge-ad")+'">'+Cq("Reklam")+"</span>";Fq(c)&&Fq(k)&&(l+='<a class="'+S("ad-companion-clickthrough")+'" href="'+S(Yq(k))+'" target="_blank">',c=Dq(c)+" adl\u0131 reklamverenden al\u0131\u015fveri\u015f yap\u0131n",l=l+c+"</a>");l+='<div class="'+S("yt-uix-hovercard")+" "+S("ad-info-container")+
'"><span class="'+S("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+S("yt-uix-hovercard-content")+'"><p>'+Dq(f)+'</p></div></div></div><div class="'+S("iv-cards-slider")+'"><div class="'+S("iv-cards-slider-body")+'"><ul class="'+S("iv-cards-slider-list")+'">';f=b.length;for(c=0;c<f;c++){var m=b[c];k='<li class="'+S("iv-cards-slider-item")+'">';var n=m.headline,p=m.image,q=m.action;m=m.target;m=Cq('<div class="'+
S("iv-cards-slider-unit")+'"><a href="'+S(Yq(m))+'" target="_blank"><div class="'+S("iv-cards-slider-image")+'"><span class="'+S("iv-cards-image-helper")+'"></span><img src="'+S(Zq(p))+'"></div><div class="'+S("yt-ui-ellipsis")+" "+S("yt-ui-ellipsis-4")+" "+S("iv-cards-slider-text")+'">'+Dq(n)+'</div><span class="'+S("iv-cards-slider-action")+'">'+Dq(q)+"</span></a></div>");l+=k+m+"</li>"}l+="</ul></div>"+(a?'<button class="'+S("iv-cards-slider-button")+" "+S("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+
S("iv-cards-slider-prev-icon")+" "+S("yt-uix-tooltip")+" "+S("yt-sprite")+'" data-tooltip-text="'+S(e)+'" title="'+S(e)+'"></span></button><button class="'+S("iv-cards-slider-button")+" "+S("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+S("iv-cards-slider-next-icon")+" "+S("yt-uix-tooltip")+" "+S("yt-sprite")+'" data-tooltip-text="'+S(d)+'" title="'+S(d)+'"></span></button>':"")+"</div></div>";return Cq(l)};
Cfa=function(a){var b=a.headline,c=a.iconImageUrl,d=a.TJ,e=a.actionTitle,f=a.descriptionText,k=a.target;a=a.nf;return Cq('<div class="'+S("iv-website-companion")+'"><div class="'+S("yt-uix-hovercard")+" "+S("ad-info-container")+" "+S("iv-website-companion-ad-info")+'"><span class="'+S("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+S("yt-uix-hovercard-content")+'"><p>'+Dq(a)+'</p></div></div><a href="'+S(Yq(k))+
'" target="_blank">'+(d?'<img class="'+S("iv-website-companion-banner")+'" src="'+S(Zq(d))+'">':"")+'<div class="'+S("iv-website-companion-block")+'"><div class="'+S("iv-website-companion-icon")+'"><img src="'+S(Zq(c))+'"></div><div class="'+S("iv-website-companion-text")+'"><div class="'+S("iv-website-companion-header")+'">'+Dq(b)+'</div><div class="'+S("iv-website-companion-desc")+'"><span class="'+S("yt-badge")+" "+S("yt-badge-ad")+'">'+Cq("Reklam")+'</span><span class="'+S("iv-website-companion-domain")+
'">'+Dq(f)+'</span></div></div><div class="'+S("iv-website-companion-action")+" "+S("yt-uix-button-size-default")+" "+S("yt-uix-button-primary")+'">'+(e?Dq(e):'<span class="'+S("iv-website-companion-action-icon")+'"></span>')+"</div></div></a></div>")};
Dfa=function(a){var b=Qs(a);if(!b)return{};var c=Rs(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:Ss(b.Bd()),merchant:Ss(Ts(c)),image:{thumbnails:[{url:Us(b).getImageUrl()}]},priceText:Ss(Vs(c)),clickthroughEndpoint:Ws(Xs(Ys(a)))}}:{}};
Ss=function(a){return{runs:[{text:a}]}};
Ws=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
Zs=function(a){return{baseUrl:a}};
$s=function(a,b){this.o=a;this.A=b};
kr=function(a){return a.A?-1:a.o};
jr=function(a,b){a.A&&(a.A=!1,a.o=a.o*b/100)};
Efa=function(a,b,c){b=c||b;a=a||{};return Cq(Jq("a",a.tp)(a,b))};
Ffa=function(a){a=a||{};a=a.nf;return Cq('<div class="'+S("videoAdUiAttributionIconContainer")+" "+S("standAloneAdInfoButton")+'"><div class="'+S("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+S("videoAdUiAdInfoPopup")+'"><div class="'+S("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+S("videoAdUiAdInfoPopupText")+'" '+Qq(br(a))+">"+Dq(a)+"</div></div></div>")};
Gfa=function(a){a=a.mi;return Cq('<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+'"><div class="'+S("videoAdUiAttributionContainer")+" "+S("videoAdUiAttributionContainer-gvn")+'"><div class="'+S("videoAdUiAttribution")+'" '+Qq(br(a))+">"+Dq(a)+'</div></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+S("videoAdUiProgress")+'"></div></div></div>')};
Hfa=function(a){var b=a.mi;a=a.learnMoreText;return Cq('<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+'"><div class="'+S("videoAdUiAttributionContainer")+" "+S("videoAdUiAttributionContainer-gvn")+'"><div class="'+S("videoAdUiAttribution")+'" '+Qq(br(b))+">"+Dq(b)+'</div></div><div class="'+S("videoAdUiLearnMoreText")+" "+S("videoAdUiLearnMoreText-gvn")+'">'+Dq(a)+'<div class="'+S("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+
S("videoAdUiProgress")+'"></div></div></div>')};
at=function(){return Cq('<div class="'+S("videoAdUiPreSkipContainer")+'"><div class="'+S("videoAdUiPreSkipButton")+'"><div class="'+S("videoAdUiPreSkipText")+'"></div><div class="'+S("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
bt=function(a){a=a||{};a=a.ej;return Cq('<div class="'+S("videoAdUiPreSkipContainer")+" "+S("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+S("videoAdUiPreSkipButton")+'"><div class="'+S("videoAdUiPreSkipText")+'">You can skip to'+Dq(a)+'video in</div><div class="'+S("videoAdUiPreSkipThumbnail")+'"><div class="'+S("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+S("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')};
ct=function(a){a=a||{};return Eq("Videonuz "+(""+a.qe+" saniye i\u00e7inde ba\u015flayacak"))};
dt=function(a){a=a||{};return Eq("Ad will end"+(""+a.ej+("in "+a.qe)))};
Ifa=function(a){var b=a.brandName,c=a.XJ;a=a.WJ;return Cq('<div class="'+S("videoAdUiBrandPrecapContainer")+" "+S("html5-stop-propagation")+'"><div class="'+S("videoAdUiBrandPrecapContent")+'"><div class="'+S("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+S("videoAdUiBrandPrecapBrandImage")+'" src="'+S(Zq(a))+'"></div><div class="'+S("videoAdUiBrandPrecapTextContainer")+'"><div class="'+S("videoAdUiBrandPrecapBrandName")+'">'+Dq(b)+'</div><div class="'+S("videoAdUiBrandPrecapBrandMessage")+
'">'+Dq(c)+"</div></div></div></div>")};
Jfa=function(a){a=a.UJ;return Cq('<div class="'+S("videoAdUiBrandPrecapContainer")+" "+S("html5-stop-propagation")+'"><img class="'+S("videoAdUiBrandPrecapAutoGenImage")+'" src="'+S(Zq(a))+'"></div>')};
Kfa=function(a){a=a||{};a=a.preMessageText;return Cq('<div class="'+S("videoAdUiBrandInteractionUnit")+" "+S("html5-stop-propagation")+'"><span class="'+S("videoAdUiBrandInteractionPreMessageText")+'">'+Dq(a)+'</span><div class="'+S("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+S("videoAdUiBrandInteractionButton")+" "+S("videoAdUiBrandInteractionLikeButton")+'"><div class="'+S("videoAdUiBrandInteractionIcon")+" "+S("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+
S("videoAdUiBrandInteractionMessageBox")+" "+S("videoAdUiLikeMsg")+'"></span></div><div class="'+S("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+S("videoAdUiBrandInteractionButton")+" "+S("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+S("videoAdUiBrandInteractionIcon")+" "+S("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+S("videoAdUiBrandInteractionMessageBox")+" "+S("videoAdUiDislikeMsg")+'"></span></div></div>')};
Lfa=function(a){a=a.postMessageText;return Cq('<div class="'+S("videoAdUiBrandInteractionUnit")+" "+S("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+S("html5-stop-propagation")+'"><div class="'+S("videoAdUiBrandInteractionPostMessageText")+'">'+Dq(a)+"</div></div>")};
Mfa=function(a){a=a.Rx;return Cq('<div class="'+S("videoAdUiSkipContainer")+" "+S("html5-stop-propagation")+'"><button class="'+S("videoAdUiSkipButton")+" "+S("videoAdUiAction")+'">'+Dq(a)+'<div class="'+S("videoAdUiSkipIcon")+'"></div></button></div>')};
Nfa=function(a){a=a.Rx;return Cq('<div class="'+S("videoAdUiSkipContainer")+" "+S("html5-stop-propagation")+'"><button class="'+S("videoAdUiSkipButton")+" "+S("videoAdUiAction")+'"><div class="'+S("videoAdUiSkipButtonExperimentalText")+'">'+Dq(a)+'</div><div class="'+S("videoAdUiSkipIcon")+'"></div></button></div>')};
Ofa=function(a){a=a.Rx;return Cq('<div class="'+S("videoAdUiSkipContainer")+" "+S("html5-stop-propagation")+" "+S("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+S("videoAdUiSkipText")+'">'+Dq(a)+'</div><button class="'+S("videoAdUiSkipButton")+" "+S("videoAdUiAction")+" "+S("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+S("videoAdUiSkipIconContainer")+'"><div class="'+S("videoAdUiSkipIcon")+'"></div></div></button></div>')};
et=function(a){var b=a.Yx,c=a.kt;a=a.fy;return Eq(2<=a&&1<=c?""+a+(" reklam aras\u0131ndaki "+(""+c+(". reklam "+b))):"Kalan reklam s\u00fcresi "+b)};
it=function(){var a=ft(),b=Cq("</a>");return Cq("<div class='"+S("videoAdUiAdSettingsLongTooltip")+"'>"+gt({nA:ht(""+Dq(a)),eB:ht(""+Dq(b))})+"</div>")};
gt=function(a){var b=a.eB;a="Reklamlar\u0131n nas\u0131l hedeflendi\u011fi hakk\u0131nda daha fazla bilgi edinmek veya ki\u015fiselle\u015ftirilmi\u015f reklamlar\u0131 devre d\u0131\u015f\u0131 b\u0131rakmak i\u00e7in Google'\u0131n "+(Dq(a.nA)+("Reklam Ayarlar\u0131"+(Dq(b)+"'n\u0131 ziyaret edin.")));return Cq(a)};
jt=function(){return Cq("\u0130zlemekte oldu\u011funuz video.")};
ft=function(){return Cq('<a href="https://adssettings.google.com" target="_blank">')};
kt=function(a){var b=a.heading,c=a.message,d=a.buttons;return Cq((a.vy?"<div class='"+S("videoAdUiPopupBackgroundMobile")+"'>":"<div class='"+S("videoAdUiPopupBackground")+"'>")+"<div class='"+S("videoAdUiPopupCloseIcon")+'\'><svg height="100%" viewBox="0 0 24 24" width="100%"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" fill="#fff"></path></svg></div><div class=\''+S("videoAdUiPopupPositioner")+"'><form class='"+S("videoAdUiPopupFrame")+
"'><div class='"+S("videoAdUiPopupHeading")+" "+S("videoAdUiHideIfEmpty")+"'>"+Dq(b)+"</div><div class='"+S("videoAdUiPopupText")+"'>"+Dq(c)+"</div><div class='"+S("videoAdUiPopupButtons")+"'>"+Dq(d)+"</div></form></div></div>")};
Pfa=function(a){var b=a.heading,c=a.targetingReasons,d=a.qu,e=a.control,f=a.mute,k=a.close;a=a.vy;for(var l="<ul class='"+S("videoAdUiWhyThisAdReasons")+" "+S("videoAdUiHideIfEmpty")+"'>",m=c.length,n=0;n<m;n++)l+="<li>"+Dq(c[n])+"</li>";l+="</ul><div class='"+S("videoAdUiWhyThisAdGenericMessage")+"'>"+Dq(d)+"</div><a class='"+S("videoAdUiWhyThisAdMute")+" "+S("videoAdUiHideIfEmpty")+"'>"+Dq(f)+"</a><a class='"+S("videoAdUiWhyThisAdControl")+" "+S("videoAdUiHideIfEmpty")+"' href='https://adssettings.google.com' target='_blank'>"+
Dq(e)+"</a>";b=""+kt({heading:ht(""+Dq(b)),message:ht(l),buttons:ht("<button class='"+S("videoAdUiWhyThisAdCloseButton")+" "+S("videoAdUiPopupDefaultButton")+"'>"+Dq(k)+"</button>"),vy:a});return Cq(b)};
Qfa=function(a){var b=a.heading,c=a.undo,d=a.options,e=a.confirm,f=a.cancel;a=""+Dq(a.question);for(var k=d.length,l=0;l<k;l++){var m=d[l];a+="<label for='"+S("videoAdUiMuteOption")+S(l)+"'><input type='radio' id='"+S("videoAdUiMuteOption")+S(l)+"' name='"+S("videoAdUiMuteOption")+"' class='"+S("videoAdUiMuteOption")+S(l)+"'/>"+Dq(m)+"</label>"}b=""+kt({heading:ht(Dq(b)+" <a class='"+S("videoAdUiMuteUndo")+"'>"+Dq(c)+"</a>"),message:ht(a),buttons:ht("<button class='"+S("videoAdUiMuteCancel")+" "+
S("videoAdUiPopupButton")+"'>"+Dq(f)+"</button><button class='"+S("videoAdUiMuteConfirm")+" "+S("videoAdUiPopupDefaultButton")+"'>"+Dq(e)+"</button>")});return Cq(b)};
Rfa=function(a){var b=a.confirm,c=a.cancel,d=String(""+a.heading);return Cq(kt({heading:d?new wq(d,void 0):"",message:ht(""+Dq(a.message)),buttons:ht("<button class='"+S("videoAdUiMuteCancel")+" "+S("videoAdUiPopupButton")+"'>"+Dq(c)+"</button><button class='"+S("videoAdUiMuteConfirm")+" "+S("videoAdUiPopupDefaultButton")+"'>"+Dq(b)+"</button>")}))};
Sfa=function(){return Cq("<div class='"+S("videoAdUiMuteToggleButton")+"'><div class='"+S("videoAdUiMutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9.6314915,5.9285684 L10.6837982,4.9386188 L12.8157457,6.9442323 L14.9476933,4.9386188 L16,5.9285684 L13.8680525,7.9341818 L16,9.9397952 L14.9476933,10.9297447 L12.8157457,8.9241313 L10.6837982,10.9297447 L9.6314915,9.9397952 L11.7634391,7.9341818 L9.6314915,5.9285684 Z" fill="#fff"></path></svg></div><div class=\''+
S("videoAdUiUnmutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9,11.4457379 C10.7427023,10.9390412 12,9.5931906 12,7.9969959 C12,6.4008011 10.7427023,5.0549506 9,4.5492552 L9,11.4457379 Z" fill="#fff"></path><path d="M14.2494529,8 C14.2494529,11.0361747 12.0131291,13.5866817 9,14.3156841 L9,16 C12.9934354,15.2419577 16,11.9484291 16,8 C16,4.0505695 12.9934354,0.7570409 9,0 L9,1.6833146 C12.0131291,2.4123169 14.2494529,4.9638253 14.2494529,8 L14.2494529,8 Z" fill="#fff"></path></svg></div></div>')};
lt=function(a,b,c){yr.call(this,"1",Tfa,"Html",null,"dummy");this.G=0;this.za=a.length;Br(this,new g.fo(this));this.W=Ufa(a,b);this.Sa=g.Zd("iv-cards-slider-list",this.W);if(this.P=g.Zd("iv-cards-slider-prev",this.W))this.C.X(this.P,"click",this.Oa),g.N(this.P,!1);(this.ga=g.Zd("iv-cards-slider-next",this.W))&&this.C.X(this.ga,"click",this.Ma);a=g.Zd("ad-companion-clickthrough",this.W);this.C.X(this.W,"click",g.Na(function(d,e,f){f.target!=d&&Vo(e)},a,c))};
Ufa=function(a,b){var c=(0,g.K)(a,function(e){var f=Qs(e),k=Rs(f);e=Ys(e);return{headline:f.Bd(),description:mt(f,"description"),image:Us(f).getImageUrl(),action:Vs(k),target:Xs(e),merchant:Ts(k)}}),d=3<a.length;
return Or(Bfa,{cards:c,advertiserName:c[0].merchant,YP:Cq("Sonraki"),aV:Cq("\u00d6nceki"),nf:it(),oh:b,rV:d})};
nt=function(a){a.Sa.style.left=125*-a.G+"px";a.P&&g.N(a.P,0<a.G);a.ga&&g.N(a.ga,a.G<a.za-3)};
qt=function(a){yr.call(this,"1",Vfa,"Html",null,"website_actions_companion");Br(this,new g.fo(this));var b=a.A(),c=b&&b.Kg(),d=b&&b.Dp();a=Ys(a);b={headline:b&&b.Bd()||"",iconImageUrl:c&&c.getImageUrl()||"",TJ:d&&d.getImageUrl()&&-1==d.getImageUrl().indexOf("/default_banner")&&d.getImageUrl()||"",actionTitle:a&&ot(a)||"",descriptionText:b&&pt(b)||"",target:a&&Xs(a)||"",nf:it()};this.G=Or(Cfa,b)};
Wfa=function(){if(!g.de)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
ut=function(a,b){if(b&&!a)throw Error("Can't create document with namespace and no root tag");if(document.implementation&&document.implementation.createDocument)return document.implementation.createDocument(b||"",a||"",null);if(rt){var c=tt();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.vt=function(a){if("undefined"!=typeof DOMParser)return(new DOMParser).parseFromString(a,"application/xml");if(rt){var b=tt();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
wt=function(a){var b=a.xml;if(b)return b;if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(a);throw Error("Your browser does not support serializing XML documents");};
tt=function(){var a=new ActiveXObject("MSXML2.DOMDocument");a.resolveExternals=!1;a.validateOnParse=!1;try{a.setProperty("ProhibitDTD",!0),a.setProperty("MaxXMLSize",2048),a.setProperty("MaxElementDepth",256)}catch(b){}return a};
xt=function(a){return Yo(Xfa,null,a.parentNode.nodeName,a.nodeName)};
zt=function(a){return Yo(Yfa,null,a.parentNode.nodeName,a.nodeName)};
At=function(a){var b=ut(a.tagName,a.namespaceURI),c=ue(b);c||(c=b.createElementNS(a.namespaceURI,a.tagName),b.appendChild(c));for(var d=0;d<a.attributes.length;d++){var e=a.attributes.item(d);c.setAttribute(e.name,e.value)}for(;d=a.firstChild;)c.appendChild(d);return b};
Bt=function(a,b){return null!=a?(0,g.re)(se(a),function(c){return c.nodeName==b}):[]};
Ct=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
Dt=function(a,b){if(null==a)return null;for(var c="",d=0,e=a.childNodes.length;d<e;d++){var f=a.childNodes[d];switch(f.nodeType){case 4:case 3:c+=f.nodeValue}}c=Gb(c);return b?tc(c):c};
Et=function(a,b,c,d){if(null!=a){a=se(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw xt(k);c.call(d,k)}}};
Ft=function(a){a=g.H(a);return g.G(a)?NaN:g.Bc(a)};
Gt=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new zp(0,0,0,g.Bc(c[0]),g.Bc(c[1]),g.Bc(c[2])),60*(60*(24*c.days+c.hours)+c.minutes)+c.seconds}return null!=b?b:-1};
Ht=function(a,b){var c=g.H(a);if(!g.G(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
Kt=function(a,b,c){var d=new dr;Et(a,"Tracking",function(e){var f=Ct(e,"event"),k=Dt(e);It(k)&&null!=f&&(null!=c&&(k=c(f,k)),"progress"==f?(e=Ct(e,"offset"),e=Jt(e),null!=e&&ir(d,f,k,e)):ir(d,f,k))});
return d};
Zfa=function(a){if(g.G(g.H(a)))return null;a=new g.Pn(a);if("thismessage"!=a.B||"extensions"!=a.A)return null;a=a.C;if(!g.wb(a,"/"))return null;a=a.substr(1);return g.G(g.H(a))?null:a};
Jt=function(a){if(g.G(g.H(a)))return null;var b=a.indexOf("%");if(0<b){if(a=Number(a.substr(0,b)),!isNaN(a)&&0<=a)return new $s(a,!0)}else if(a=Gt(a),0<=a)return new $s(a,!1);return null};
It=function(a){if(g.G(g.H(a)))return!1;try{new g.Pn(a)}catch(b){return!1}return!0};
Lt=function(a,b){Gr.call(this);this.A=a;this.C=b};
Mt=function(){};
Nt=function(a,b){Gr.call(this,b);this.A=a};
Ot=function(a){Gr.call(this);this.A=a};
Qt=function(a,b,c,d,e,f,k,l,m,n,p,q,u,w){this.za=a;this.ma=b;this.P=c;this.Qb=d;this.Ra=isNaN(e)||""==e||0==e?-1:e;this.ka=f?g.ib(f):[];this.K=k?g.ib(k):[];this.F=l?g.ib(l):[];this.ia=[];this.J=[];this.M=null;this.aa=[];this.Ia=!0;this.A=this.o=this.H=null;this.Y=new g.Jn(n);this.ua=null!=w;this.yb=(this.ga=null!=p)?q||!1:!1;this.Pb=this.VM?u||!1:!1;this.dc=g.H(p);this.uc=g.H(w);this.Ma=this.C=null;this.B=new Fea;this.ba=new g.Qd(0,0);this.L=String(Math.floor(1E9*Math.random()));this.Xa=this.ea=this.W=
this.G=null;this.jb=(0,g.J)();this.Sa=this.Oa=0;this.xa=this.ya=!1;this.D=[];this.ha=null;this.Ga=!1;this.xc=Ho().o("send_ad_id_on_non_yt_hosted_for_ima_living_room")&&k.some(function(D){return D.includes("ad_rmp=3")});
(0,g.E)(this.F,function(D){D.J=this},this);
Pt(this,m)};
js=function(a){var b=a.getExtension("AdFormat",!0);if(null!=b&&xb(b.A+"_"+b.C+"_"+b.B,"2_4"))return b.A+"_"+b.C+"_"+b.B;b=Rt(a);b=St(a,Tt)?"14":dq(b,"hideMaster")||dq(b,"blockAllAds")?"3":a.ac()?Ut(a)?"2_3":a.isSkippable()?Vt(a)?"2_1":"2_2":"2":"1";return $fa(a)+"_"+b};
$fa=function(a){if(ks(a))return 4;if(St(a,Tt))return 14;if(Wt(a,aga))return 17;if(Wt(a,cga))return 15;if(Wt(a,dga)||Wt(a,ega))return 1;var b=Ho();return b&&b.o("fix_petra_ad_format")&&(null!=a.C?(b=a.C.o,null!=b&&xb(b,"/PrefetchedAd")&&null!=a.A&&(b=a.A.Y.get("LocalRedirect"),b=null!=b?b.vh():null)):b=null,null!=b&&(Ks(b)||Js(b)))?1:Xt(a)?2:0};
Yt=function(a){return null!=a.ma?a.ma:""};
Zt=function(a){return null!=a.A?g.gb(Zt(a.A),a.ka):a.ka};
$t=function(a){return null!=a.A?g.gb($t(a.A),a.K):a.K};
au=function(a){return null!=a.A?g.gb(a.J,au(a.A)):a.J};
Rt=function(a){return null!=a.o?a.o.H:{}};
fga=function(a){var b={};(0,g.E)(a.F,function(c){c=c.H;for(var d in c)b[d]=c[d]});
return b};
bu=function(a){return null!=a.o?a.o.xa:""};
cu=function(a){return a.getExtension("why_this_ad",!0)};
du=function(a){return a.getExtension("mute",!0)};
eu=function(a,b){var c=[];(0,g.E)(a.Y.wb(),function(d){jb(c,Hr(d,b))});
return c};
ls=function(a,b){a.o=b;a.ba=new g.Qd(0,0);if(null!=a.o){a.o instanceof yr&&(a.ba=a.o.ke());var c=a.A;if(null!=c){var d=pr(a.o,c)||pr(a.o,c,!0);ls(c,d)}}R()&&gga(a)&&g.Za(au(a))?R()&&Q.A?(c=a.D,g.Za(c)?c={}:(d=Qs(c[0])&&Rs(Qs(c[0]))&&Ts(Rs(Qs(c[0])))||"",d=Dq(d)+" adl\u0131 reklamverenden al\u0131\u015fveri\u015f yap\u0131n",d=Cq(d),c={shoppingCompanionCarouselRenderer:{shopText:Ss(tc(d.toString())),itemList:{horizontalListRenderer:{items:(0,g.K)(c,Dfa),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",
size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}},adBadgeText:Ss(Cq("Reklam").toString()),clickToAdvSiteEndpoint:Ws(fu(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.K)(eu(a,"companionClick"),Zs)}],impressionEndpoints:[{loggingUrls:(0,g.K)(eu(a,"companionImpression"),Zs)}]}}),a.H=c):hga(a,a.D):R()&&g.Za(au(a))&&!Ho().o("website_actions_holdback")&&gu(a,a.D)};
hu=function(a){return null!=a.za?a.za:""};
ju=function(a){var b=Ho(),c=!1;b&&b.o("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.A||iu(a.A.P)&&!c)return[];b=[hu(a.A)];jb(b,ju(a.A));return b};
gs=function(a){var b=ju(a).reverse();b.push(hu(a));return b};
ku=function(a){if(null==a.A||iu(a.A.P))return[];var b=a.A.o;null!=b?(b=b.ia,b=null!=b?b:""):b="";b=[b];jb(b,ku(a.A));return b};
lu=function(a){var b=Ho(),c=!1;b&&b.o("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.A||iu(a.A.P)&&!c)return[];b=[Yt(a.A)];jb(b,lu(a.A));return b};
mu=function(a){if(a.A){var b=mu(a.A);if(b)return b}return(a=a.getExtension("metrics"))?a.A:null};
is=function(a){return(a=a.getExtension("viral",!0))?a.A:null};
hs=function(a){var b=lu(a).reverse();b.push(Yt(a));return b};
iu=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
nu=function(a){if(null==a.A)return[a.P];var b=nu(a.A);b.push(a.P);iu(b[0])&&b.shift();return b};
ou=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.ye()?a.ye():-1};
pu=function(a){if(-1!=a.Ra)return a.Ra;a=a.getExtension("pod");return null!=a&&-1!=a.A?a.A:-1};
qu=function(a){a.Ga||(a.Ga=!0,a.ha.K++,null!=a.A&&qu(a.A))};
ru=function(a){if(a.ha instanceof As){var b=a.ha;if(0<Bs(b))return b}return null!=a.A?ru(a.A):null};
tu=function(a,b,c,d){a=au(a);return Zp(new Wp(new g.Qd(b,c),d),a)};
uu=function(a){var b=a.C.ik,c=a.C.hk;if(!b||!c)if(a=a.C.o?Ch(a.C.o,"sz"):null)a=a.split("x"),2==a.length&&(b=parseInt(a[0],10)||0,c=parseInt(a[1],10)||0);return new g.Qd(b,c)};
iga=function(a,b){var c=g.Ua(a.aa,function(f){return 4==f.Zb()&&vu(f.Se())});
if(c){var d=c.A();if(!d.Kg().getImageUrl()){var e=new wu;e.o.image_url=b.channelIconThumbnailUrl;d.Kg=function(){return e}}d.Bd()||(d.Bd=function(){return b.authorName});
c.A=function(){return d}}};
jga=function(a){return(0,g.re)(a,function(b){return vu(b.Se())})};
hga=function(a,b){var c=(0,g.re)(b,function(d){return xu(d.Se())});
g.Za(c)&&(c=b);c=new lt(c,fu(a),eu(a,"companionClick"));c.J=a;c.F=!0;yu(a,new Ns(c,[],null,!0))};
kga=function(a,b){var c=g.Ua(a.D,function(l){return 4==l.Zb()&&xu(l.Se())});
if(!c)return null;var d=c.A();if(!d.Kg().getImageUrl()){var e=new wu;e.o.image_url=b.channelIconThumbnailUrl;d.Kg=function(){return e}}if(!d.Dp().getImageUrl()){var f=new wu,k=g.Ua(au(a),function(l){return"Image"==l.Ad()});
f.o.image_url=k&&k.o.A||b.o;d.Dp=function(){return f}}d.Bd()||(d.Bd=function(){return b.authorName});
c.A=function(){return d};
return c};
gu=function(a,b){var c=g.Ua(b,function(l){return 4==l.Zb()&&xu(l.Se())});
if(c){var d=c.A(),e=d&&d.Kg().getImageUrl(),f=d&&d.Dp().getImageUrl(),k=d&&d.Bd();e&&k&&(Q.A?(c=Ys(c),a.H={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&ot(c)||void 0,descriptionText:d&&pt(d)||void 0,target:c&&Xs(c)||void 0,impressionEndpoints:[{loggingUrls:(0,g.K)(eu(a,"companionImpression"),function(l){return{baseUrl:l}})}]}}):(d=new qt(c),d.J=a,d.F=!0,yu(a,new Ns(d,[],null,!0))))}};
lga=function(a){if(!a.C||zu(a)&&!St(a,["ADSENSE/ADX"]))return[];var b=uu(a);if(0>=b.width||0>=b.height)return[];var c=new Sp;c.creativeType="All";c.C="All";c.B="SelectNearMatch";c.o=40;var d=tu(a,b.width,b.height,c);if(!g.Za(d))return d;c.A="ResizeSmaller";d=(0,g.re)(au(a),function(e){return e.o.Pm()},a);
return Zp(new Wp(new g.Qd(b.width,b.height),c),d)};
Bu=function(a){if(g.Za(a.aa))return!1;var b=Ho();if(15>Au(a))return!1;var c=a.aa[0].Zb();if(4==c){var d=a.aa[0].A();a=d&&d.Kg().getImageUrl();d=d&&d.Bd();if(!a||!d)return!1}return!b.o("website_actions_holdback")&&4==c};
mga=function(a){var b=null,c=0;(0,g.E)(lga(a),function(d){var e=uu(this);e=!d.o.Pm()||d.ab()<=e.width&&d.getHeight()<=e.height?d.o.ke():aq(d.o.ke(),e);e=e.width*e.height;e>c&&(c=e,b=d)},a);
return b};
Cu=function(a,b){return b||null==a.A?a.ia:g.gb(a.ia,Cu(a.A))};
Pt=function(a,b){a.ia=b?g.ib(b):[];(0,g.E)(a.ia,function(m){jb(this.J,g.ib(m.o))},a);
(0,g.E)(a.J,function(m){Os(m,this)},a);
if(R()&&(a.ac()&&(a.J=(0,g.re)(a.J,function(m){return 60>=m.getHeight()})),Q.A)){var c=a.J&&a.J[0];
if(c&&"Static"===c.o.M){var d=c.o.xf(),e=c.o.L;jb(e,eu(a,"companionClick"));var f=eu(a,"companionImpression"),k=c.ab(),l=c.getHeight();a.H={imageCompanionAdRenderer:{impressionCommands:[{loggingUrls:(0,g.K)(f,function(m){return{baseUrl:m}}),
pingingEndpoint:{hack:!0}}],onClickCommands:[{loggingUrls:(0,g.K)(e,function(m){return{baseUrl:m}}),
pingingEndpoint:{hack:!0}}],image:{thumbnail:{thumbnails:[{url:c.o.A,width:k,height:l}]}},clickthroughEndpoint:{urlEndpoint:{url:d}}}}}}};
Du=function(a,b){return(0,g.Ik)(a.F,function(c){return c instanceof rr&&"linear"==b||c instanceof yr&&"nonlinear"==b?!0:!1})};
Eu=function(a){var b=a.o;return zu(a)&&null!=b&&b instanceof yr&&(90<a.ba.height||null!=a.C&&a.C.Vj)};
Fu=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:Fu(a,b.A)};
nga=function(a,b){var c=Gu(a);if(!c)return null;jr(c,b);return kr(c)};
Gu=function(a){var b=a.A,c=Fu(a,b);if(null!=c){if("skippable"==c.A)return c.C;if("nonskippable"==c.A)return null}c=null;var d=new $s(5,!1),e=oga(a);"implicit"==e&&(c=d);var f=a.o;null==c&&null!=f&&f instanceof rr&&(c=f.F);null!=c||"explicit"!=e||(c=d);e=Ho();return R()&&a.ac()&&null!=c?e.o("enable_skip_button_offset_mutation")?c:d:null==c&&null!=b&&e.o("ima_check_wrapper_skippability")?Gu(b):c};
oga=function(a){if(null!=g.Ua(a.Y.wb(),function(c){return!g.Za(Hr(c,"skip"))}))return"implicit";
var b=a.Y.get("DFP");if(b instanceof Nt)switch(b.A){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.o;return R()&&null!=a&&(a=a.mk,null!=a&&!g.Za(gr(a,"skip")))?"explicit":"none"};
Vt=function(a){return null!=a.ma&&null!=a.C?!0:!1};
fu=function(a){return null===a.o?null:a.o.xf()};
Au=function(a){return null!=a.o?a.o.getDuration():-1};
Hu=function(a){return null===a.M?Bu(a)?7:0:10};
Iu=function(a){return null===a.o?null:a.o.jv()};
Ju=function(a){return null===a.o?null:a.o.hv()};
zu=function(a){return St(a,Ku)||St(a,["ADSENSE-VIRAL"])};
ks=function(a){return null!=a.A&&ks(a.A)||St(a,pga)};
Ut=function(a){var b=Iu(a);return St(a,["402"])||g.x(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
Lu=function(a){return zu(a)&&Vt(a)&&!a.isBumper()&&!g.G(g.H(a.G))&&null!==Gu(a)&&0<kr(Gu(a))};
Xt=function(a){return Wt(a,Ku)||Wt(a,["402"])};
Mu=function(a){a=a.getExtension("InfoCards");return null!=a?a.A:null};
Nu=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.A:null};
St=function(a,b){return null!=a.ma?g.Ya(b,a.P):!1};
Wt=function(a,b){for(var c=nu(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.Ya(b,c[d]))return!0;break}return!1};
yu=function(a,b){a.J=[b]};
gga=function(a){return a.ac()&&0<a.D.length&&(0,g.Fj)(a.D,function(b){return 1==b.Zb()})};
Ou=function(a){return 0<a.D.length&&(0,g.Fj)(a.D,function(b){return 4==b.Zb()})};
Pu=function(a,b){g.rg.call(this);this.o=a;this.Le=new g.fo(this);g.M(this,this.Le);this.Le.X(b,["companion_impression","companion_click"],this.A)};
Qu=function(){g.rg.call(this);this.F=this.J=this.L=this.G=!1;this.o=0;this.C=[];this.H=!1;this.W=this.M=Infinity;this.A=0;this.D=!1;this.B=new g.fo(this);this.K={}};
qga=function(a){Ru(a);!(a.Bi instanceof g.rg)&&"ontouchstart"in document.documentElement&&jp()?(a.K={touchstart:(0,g.B)(a.eU,a),touchmove:(0,g.B)(a.dM,a),touchend:(0,g.B)(a.dU,a)},g.Mb(a.K,function(b,c){this.Bi.addEventListener(c,b,!1)},a)):a.B.X(a.Bi,"click",a.mC)};
Ru=function(a){a.B.Ka(a.Bi,"click",a.mC);g.Mb(a.K,function(b,c){this.Bi.removeEventListener(c,b,!1)},a);
a.K={}};
rga=function(a,b){a.C=[];(0,g.E)(b,function(c){g.bb(this.C,c.identifier)},a)};
Su=function(a,b){return(0,g.Ik)(b,function(c){return g.Ya(this.C,c.identifier)},a)};
g.Tu=function(a){if(!sga.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(tga,"#$1$1$2$2$3$3"));a=a.toLowerCase();a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]};
g.Uu=function(a){if(!uga.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(vga,"#$1$1$2$2$3$3$4$4"));a=a.toLowerCase();return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16),parseInt(a.substr(7,2),16)/255]};
g.Vu=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.Wu=function(){g.rg.call(this);this.o=0;this.endTime=this.startTime=null};
Xu=function(a,b){g.Ga(b)||(b=[b]);var c=(0,g.K)(b,function(d){return g.x(d)?d:d.property+" "+d.duration+"s "+d.timing+" "+d.delay+"s"});
g.Xh(a,"transition",c.join(","))};
Yu=function(a,b,c,d,e){g.Wu.call(this);this.A=a;this.D=b;this.G=c;this.C=d;this.F=g.Ga(e)?e:[e]};
Zu=function(a,b){g.rg.call(this);this.G=b;this.wa=a;this.jj=null;this.Z=new g.fo(this);g.M(this,this.Z);this.A=new Qu;g.M(this,this.A);var c=tf(Kf(a.o),Gf,6);this.B=(this.o=null!=mf(c,5)&&!!qf(c,5))||null==mf(c,7)?"#000000FF":mf(c,7);this.C=this.o||null==mf(c,8)?"#FFFFFFFF":mf(c,8);c=this.o?{UJ:g.H(mf(c,6))}:{brandName:g.H(mf(c,1)),XJ:g.H(mf(c,3)),WJ:g.H(mf(c,2))};this.Ze=wga(this,c);null!=this.Ze&&g.N(this.Ze,!1);b.appendChild(this.Ze);this.Z.X(this.A,"click",this.F);this.A.Cb(this.Ze)};
wga=function(a,b){if(a.o){var c=Or(Jfa,b);var d=g.Zd("videoAdUiBrandPrecapAutogenImage",c)}else{c=Or(Ifa,b);d=g.Zd("videoAdUiBrandPrecapContent",c);null!=a.B&&(c.style.backgroundColor=g.Vu(g.Uu(a.B)));if(null!=a.C){var e=g.Zd("videoAdUiBrandPrecapBrandName",d),f=g.Zd("videoAdUiBrandPrecapBrandMessage",d);e.style.color=g.Vu(g.Uu(a.C));f.style.color=g.Vu(g.Uu(a.C))}d=g.Zd("videoAdUiBrandPrecapImageContainer",d);d=g.Zd("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.L4=function(){return!1});
return c};
$u=function(a,b){(new Yu(a.Ze,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()};
av=function(a,b){var c=g.Fe(g.ve(a.G),"html5-video-player");null!=c&&g.U(c,"ytp-ad-display-override",b)};
bv=function(a,b){var c={action:"condor-brand-precap",event:b,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_cpn:"[AD_CPN]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]"};c=null!=c?c:{};var d=new g.Pn("//www.youtube.com/gen_204");g.Qn(d,"https");c=bo(c);Un(d,c);d=d.toString();d=g.no(d,a.wa.Oa);Ro(d)};
cv=function(a,b,c,d,e,f){Gr.call(this,f);this.C=a;this.D=b;this.F=c;this.B=d;this.A=e};
dv=function(a){return null!=a.A?a.A.length:0};
ev=function(a,b,c,d,e,f,k,l,m,n){Gr.call(this,e);this.A=a;this.B=b;this.D=c||"";this.F=d||[];this.C=f||null;this.H=k||null;this.L=l||null;this.G=m||null;this.K=n||null};
fv=function(a,b){this.B=a;this.A=b;this.C=this.Z=this.D=this.o=null;this.F=Fi()};
hv=function(a,b,c){null!=b&&(a.Z=new g.fo(a),a.C=new g.rg,a.C.bi(c),a.D=b,a.jF(),gv(a,"why_this_ad_url"))};
iv=function(a,b,c){b=g.Zd(b,a.o);null!=b&&a.Z.X(b,"click",c)};
jv=function(a,b,c){null!=a.o&&a.o.parentElement.removeChild(a.o);a.o=Or(b,c);iv(a,"videoAdUiPopupCloseIcon",a.Pj);a.D.appendChild(a.o);b=g.Zd("videoAdUiPopupFrame",a.o);null!=b&&g.cg(b,"submit",function(d){d.preventDefault()});
a=g.Zd("videoAdUiPopupDefaultButton",a.o);null!=a&&a.focus()};
gv=function(a,b){null!=a.C&&a.C.dispatchEvent(b)};
kv=function(){this.mi=et({Yx:"",kt:0,fy:0}).vb();this.learnMoreText=Eq("Daha Fazla Bilgi Edinin ").vb();this.visitAdvertiserText=Eq("Reklamverenin Sitesini Ziyaret Edin").vb();this.nf=it();this.skipOffset=null;this.J=this.Ma=this.Y=this.aa=!1;this.M=null;this.ba=6E3;this.B=!0;this.ea=!1;this.ia=this.D=this.ha=!0;this.F=!1;this.W=!Q.D;this.ua=this.ma=this.ka=!1;this.H=!0;this.P=this.Ga=this.za=this.xa=this.G=!1;this.Oa={};this.K=null;this.showContentThumbnail=!0;this.L=!1;this.o=null;this.ya=!1;this.Zh=
-1;this.isBumper=this.Ia=!1;this.breakType=0;this.A=!1};
lv=function(a,b,c,d,e,f){var k=new kv;k.G=a;k.Ra=b;k.skipOffset=c;k.isBumper=d;k.ga=null!=e?e.contentId:null;k.ha=e.iW;k.K=Efa;k.Sa=Sr(b,null!=c,e.Nj);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.o=e.hC;k.ya=e.tK;null!=f&&(k.Oa=f);null==c&&(a=Ho(),d&&a.o("show_countdown_on_bumper")&&(k.Y=!0,k.aa=!0),a.o("show_thumbnail_on_standard")&&(k.aa=!0),!d&&a.o("persist_text_on_preview_button")&&(k.Ma=!0));R()&&null!=k.o&&null!=mf(k.o,1)&&(d=Kf(k.o),null!=mf(d,6)&&(d=tf(d,Gf,6),null!=
mf(d,5)&&(qf(d,5)&&null!=mf(d,6)||null!=mf(d,1)&&null!=mf(d,2)&&null!=mf(d,3))&&(k.J=!0,null!=mf(d,4)&&(k.M=mf(d,4)))));return k};
mv=function(a,b,c){a.C=new fv(b,c);b=null!=b?b.A:void 0;c="<span class='"+S("videoAdUiAdSettingsShortTooltip")+"'>";c=b?c+Dq(b):c+"Click for Ad Settings";b=Cq(c+"</span>");a.nf=b};
nv=function(a,b,c,d,e){return new Yu(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
ov=function(a,b){return nv(a,b,"ease-out",0,1)};
pv=function(a){return nv(a,.5,"ease-in",1,0)};
rv=function(a,b){g.rg.call(this);this.Z=new g.fo(this);g.M(this,this.Z);this.wa=a;this.G=b;this.F=!1;this.D=this.C=this.B=null;var c=a.o;c=this.o=null!=c&&null!=Kf(c)?tf(Kf(c),Df,3):null;this.J=null!=c&&null!=mf(c,7)&&1==mf(c,7)?!0:!1;if(null==this.o||null==mf(this.o,7))c=null;else{c=mf(this.o,7);var d=mf(this.o,8);c=null!=d&&g.Ya(xga,c)?d:null}this.D=c;c=Or(Kfa,{preMessageText:this.D||""});d=g.Zd("videoAdUiLikeMsg",c);g.ye(d,Eq("Bunu be\u011fendim").vb());d=g.Zd("videoAdUiDislikeMsg",c);g.ye(d,Eq("Bunu be\u011fenmedim").vb());
null!=this.o&&(d=mf(this.o,7),d=null!=d?yga[d]:null,null!=d&&g.T(c,d));zga(this,c);d=g.Zd("videoAdUiBrandInteractionLikeButton",c);null!=d&&qv(this,d);d=g.Zd("videoAdUiBrandInteractionDislikeButton",c);null!=d&&qv(this,d);g.N(c,!1);this.A=c;this.G.appendChild(this.A)};
zga=function(a,b){if(null!=a.o){var c=a.o.Se();c=null!=c?Aga[c]:null;null!=c&&(0,g.E)(c,function(d){g.T(b,d)})}};
Bga=function(a){return null!=a.o&&null!=mf(a.o,8)?mf(a.o,10):null};
Dga=function(a){if(null==a.o||null==mf(a.o,7))return null;var b=mf(a.o,7);a=mf(a.o,9);return null!=a&&g.Ya(Cga,b)?a:null};
qv=function(a,b){var c=new Qu;a.Z.X(c,"click",a.H);c.Cb(b)};
Ega=function(a){if(null!=a.D){var b=Bga(a);if(null!=b){var c=g.Zd("videoAdUiBrandInteractionPreMessageText",a.A);if(null!=c){var d=pv(c);g.ch(function(){d.play();g.ch(function(){g.N(c,!1)},500,this)},1E3*b,a)}}}};
Fga=function(a){if(null!=a.o&&null!=tf(a.o,Ef,15)){var b=tf(a.o,Ef,15),c=mf(b,1),d=mf(b,2);b=mf(b,3);a.dispatchEvent(new to("yt-show-toast",null,{toastMessage:c,toastActionMessage:d,toastActionUrl:b}))}};
Gga=function(a){if(null!=a.o){var b=Dga(a);if(null!=b){var c=Or(Lfa,{postMessageText:b});a.G.appendChild(c);g.ch(function(){ov(c,.5).play();var d=pv(c);g.ch(function(){d.play()},3E3,this)},500,a)}}};
uv=function(){g.rg.call(this);this.o=!1;this.C=this.B=this.A=null;this.Z=new g.fo(this);this.A=Or(Sfa);this.B=g.Zd("videoAdUiUnmutedIcon",this.A);this.C=g.Zd("videoAdUiMutedIcon",this.A);tv(this);this.Z.X(this.A,"click",this.D)};
tv=function(a){a.B&&a.C&&(a.o?(g.Xh(a.B,"display","none"),g.Xh(a.C,"display","block")):(g.Xh(a.B,"display","block"),g.Xh(a.C,"display","none")))};
vv=function(a,b){g.rg.call(this);this.wa=a;this.H=null;a.o&&Kf(a.o)&&(this.H=tf(Kf(a.o),Bf,1));this.G=1;this.L=this.D=this.o=this.A=this.C=null;this.B=a.Y;this.Z=new g.fo(this);g.M(this,this.Z);this.J=new Qu;g.M(this,this.J);this.F=!a.isBumper&&this.H&&qf(this.H,27);this.K=!a.Ma;var c=at;this.F&&(c=bt);this.C=Or(c);this.A=g.Zd("videoAdUiPreSkipButton",this.C);this.o=g.Zd("videoAdUiPreSkipText",this.A);g.T(this.o,"videoAdUiPreviewText");this.D=g.Zd("videoAdUiPreSkipThumbnail",this.A);this.L=g.Zd("videoAdUiPreSkipTextTimeLeft",
this.A);this.F&&g.N(this.o,!1);3==this.wa.breakType||this.wa.A?this.B&&(g.ye(this.o,dt({qe:"",ej:"\n"}).vb()),g.T(this.o,"videoAdUiPreviewTextPostroll")):this.B?g.ye(this.o,ct({qe:""}).vb()):g.ye(this.o,Eq("Video reklamdan sonra oynat\u0131lacak").vb());c=Ur(this.wa.ga)||"";if(this.wa.showContentThumbnail&&!g.G(g.H(c))){var d=g.ke("img");d.setAttribute("src",c);g.T(d,"videoAdUiPreSkipThumbnailImage");this.D.appendChild(d)}else this.B?(g.N(this.D,!1),g.T(this.A,"videoAdUiPreSkipButtonNoThumbnail"),
g.T(this.o,"videoAdUiPreSkipTextOnlyCentered")):g.N(this.A,!1);g.N(this.C,!1);b.appendChild(this.C);this.Z.X(this.J,"click",this.M);this.J.Cb(this.D)};
wv=function(a,b,c){0>c||!b||(3==a.wa.breakType||a.wa.A?g.ye(b,dt({qe:c,ej:"\n"}).vb()):g.ye(b,a.F?c:ct({qe:c}).vb()))};
g.xv=function(a,b,c){g.L.call(this);this.Ja=null;this.C=!1;this.D=a;this.B=c;this.o=b||window;this.A=(0,g.B)(this.XK,this)};
yv=function(a){a=a.o;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
zv=function(a){a=a.o;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.V=function(a,b,c){g.L.call(this);this.o=a;this.Ed=b||0;this.A=c;this.C=(0,g.B)(this.QB,this)};
g.Av=function(a,b){a.isActive()||a.start(b)};
g.Bv=function(a){a.stop();a.QB()};
g.Cv=function(a){a.isActive()&&g.Bv(a)};
Ev=function(a,b){g.rg.call(this);this.config=a;this.ia=0;this.ga=!1;this.state=0==kr(this.config.skipOffset)?3:1;this.A=this.P=this.skipButton=this.xa=this.ma=this.G=this.F=this.C=null;this.lc=new g.fo(this);this.J=this.B=null;this.W=new Qu;this.ua="";this.ha=!1;var c=a.o;c=this.o=null!=c&&null!=Kf(c)?tf(Kf(c),Bf,1):null;this.za=null!=c&&qf(c,19)?!0:!1;this.ba=this.o&&qf(this.o,28);c=this.o;this.K=null!=c&&qf(c,24)?!0:!1;c=this.o;this.Ga=null!=c&&qf(c,23)?!0:!1;c=this.o;this.Ia=null!=c&&qf(c,25)?
!0:!1;var d=null;this.za?(c=bt,d={ej:"\n"}):c=at;this.C=Or(c,d);this.F=g.Zd("videoAdUiPreSkipButton",this.C);this.G=g.Zd("videoAdUiPreSkipText",this.F);this.ma=g.Zd("videoAdUiPreSkipTextTimeLeft",this.F);this.xa=g.Zd("videoAdUiPreSkipThumbnail",this.F);this.Ga&&g.N(this.G,!1);this.ba&&g.T(this.C,"countdownNextToThumbnail");Ho().o("use_forced_linebreak_preskip_text")&&!this.ba&&(this.ha=!0,g.T(this.G,"videoAdUiPreSkipTextForcedLineBreak"));Dv(this,0);c=Ur(this.config.ga)||"";this.config.showContentThumbnail&&
!g.G(g.H(c))?(d=g.ke("img"),d.setAttribute("src",c),g.T(d,"videoAdUiPreSkipThumbnailImage"),this.xa.appendChild(d)):R()?(g.T(this.F,"videoAdUiPreSkipButtonNoThumbnail"),g.T(this.G,"videoAdUiPreSkipTextOnlyCentered"),g.T(this.G,"videoAdUiPreSkipTextOnlyStaticFontSize")):g.T(this.G,"videoAdUiPreSkipTextOnly");d=!R()&&Q.W;var e=null!=(this.o&&null!=tf(this.o,Jf,3)&&!this.K)||this.config.A,f=R()&&Ho().o("fixed_padding_skip_button")&&!this.K;this.A=Or(this.K?Ofa:d||e||f?Nfa:Mfa,{Rx:Gb(Eq("Reklam\u0131 atla ").vb())});
this.ba&&g.T(this.A,"countdownNextToThumbnail");this.skipButton=g.Zd("videoAdUiSkipButton",this.A);e&&(this.P=g.Zd("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||R()&&Ho().o("use_new_skip_icon")){var k=g.Zd("videoAdUiSkipIcon",this.skipButton);null!=k&&g.Jr(k,"videoAdUiSkipIcon")&&(g.Lr(k,"videoAdUiSkipIcon"),g.T(k,"videoAdUiExperimentalSkipIcon"))}f||d?(g.T(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.Zd("videoAdUiSkipButtonExperimentalText",
this.skipButton),null!=c&&g.T(c,"videoAdUiFixedPaddingSkipButtonText"),g.T(g.Zd(e?"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.K&&this.config.showContentThumbnail&&!g.G(g.H(c))&&(d=g.ke("img"),d.setAttribute("src",c),g.T(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Ia&&(c=g.Zd("videoAdUiSkipText",this.A),g.N(c,!1));Hga(this);"4.4.4"===(g.np?rp(op):"")&&(this.F.style.backgroundColor="black",this.skipButton.style.backgroundColor=
"black");g.N(this.C,!1);b.appendChild(this.C);0==kr(this.config.skipOffset)?this.dispatchEvent("skipshown"):(g.N(this.A,!1),g.ri(this.A,0));b.appendChild(this.A);Ho().o("move_skip_button_to_top")&&(g.T(this.C,"videoAdUiHighPreSkipContainer"),g.T(this.A,"videoAdUiHighSkipContainer"));this.lc.X(this.W,"click",this.MV);this.K?this.W.Cb(this.A):this.W.Cb(this.skipButton)};
Dv=function(a,b){var c=null!=a.config.skipOffset&&-1!=kr(a.config.skipOffset)?kr(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=bq(d));d=a.ua;3==a.config.breakType?d=a.ha?"postrollforcedlinebreak":"postroll":a.ha&&(d="forcedlinebreak");d={tp:d,qe:c,ej:"\n"};a.za&&null!=a.ma?g.ye(a.ma,c):a.ba?g.ye(a.G,c):(c=a.G,d=d||{},d=Eq(Jq("b",d.tp)(d,void 0)),g.ye(c,d.toString()))}};
Fv=function(a){return new Yu(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
Gv=function(a,b){null!=a.F&&g.N(a.F,b);null!=a.skipButton&&g.N(a.skipButton,b)};
Hga=function(a){if(null!=a.o){var b=null!=tf(a.o,Hf,1)&&null!=tf(tf(a.o,Hf,1),If,1)?mf(tf(tf(a.o,Hf,1),If,1),1):null,c=null!=tf(a.o,Hf,2)&&null!=tf(tf(a.o,Hf,2),If,1)?mf(tf(tf(a.o,Hf,2),If,1),1):null;b&&(a.skipButton.style.backgroundColor=g.Vu(g.Uu(b)),c&&(a.lc.X(g.ve(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=g.Vu(g.Uu(c))}),a.lc.X(g.ve(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=g.Vu(g.Uu(b))})));
if(null!=a.P)if(a.config.A)g.ye(a.P,Eq("Skip Ads").vb());else if(null!=tf(a.o,Jf,3)){var d=Zaa(tf(a.o,Jf,3));0<d.length&&mf(d[0],1)&&g.ye(a.P,mf(d[0],1))}}};
Lv=function(a,b){Ev.call(this,a,b);var c=this.o;this.aa=null!=c&&qf(c,8)?!0:!1;this.ka=!1;this.D=this.M=null;c=this.o;var d=Hv;null!=c&&(null!=mf(c,10)&&qf(c,10)||null!=mf(c,9)&&!qf(c,9))&&(d=Iv);this.L=d;c=this.o;d=Jv;null!=c&&(null!=mf(c,12)&&qf(c,12)||null!=mf(c,11)&&!qf(c,11))&&(d=Kv);this.Y=d;c=this.o;d=.5;this.aa||null!=c&&null!=mf(c,26)&&(d=pf(c,26)||0);this.ea=d;this.H=0};
Mv=function(a){null==a.D&&"4.4.4"!=(g.np?rp(op):"")&&1!=a.H&&(g.Of(a.B),a.B=null,a.D=g.ch(function(){nv(this.A,.5,"ease-in",1,this.ea).play();this.H=1;this.D=null},0,a))};
Ov=function(a,b){if(0!=a.H){if(b){if(null!=a.D||"4.4.4"==(g.np?rp(op):""))return;a.D=g.ch(function(){nv(this.A,.5,"ease-in",this.ea,1).play();this.D=null},0,a)}else Nv(a),g.ri(a.A,1);
a.H=0}};
Nv=function(a){null!=a.D&&(g.dh(a.D),a.D=null)};
Pv=function(a){null!=a.M&&(g.dh(a.M),a.M=null)};
Qv=function(a,b,c){var d=null;switch(c){case Jv:null!=b&&null!=b.skipOffset&&(d=1E3*(a-kr(b.skipOffset)));break;case Kv:a=g.z("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Ec(a):null}return d};
Rv=function(a,b){var c=1E3*a.UA;null!=b&&null!=mf(b,13)&&(c=mf(b,13));return c};
Sv=function(a,b,c,d,e,f,k,l,m){this.C=a;this.L=b;this.D=c;this.F=d;this.A=e;this.G=f;this.H=k;this.J=l;this.K=m;this.o=this.C.Eg()};
Tv=function(a){var b=a.o;var c=g.pi(a.B);c="left"==a.D?"0px":"right"==a.D?c.width-a.C.ke().width+"px":a.D+"px";var d=g.pi(a.B);a="bottom"==a.F?"0px":"top"==a.F?d.height-a.C.ke().height+"px":d.height-a.C.ke().height-Ec(a.F)+"px";g.Xh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
Iga=function(a){g.si(a.o)||(g.N(a.o,!0),(0,g.E)(a.K,function(b){Ro(b)}))};
Uv=function(a,b,c,d){g.rg.call(this);this.wa=a;this.Xa=this.ga=!1;this.ba=c;this.Ga=d;this.Sa=this.Ia=this.Ma=this.K=this.W=this.H=this.M=this.ia=this.A=this.C=this.Ra=this.ha=this.ea=this.G=this.ma=this.P=this.F=this.D=this.L=this.aa=this.B=this.ka=this.za=this.xa=this.J=this.o=null;this.Z=new g.fo(this);this.ua=[];a=this.wa;this.yb=null!=a&&null!=a.o&&null!=Kf(a.o)?tf(Kf(a.o),Cf,2):null;this.Y=[];this.Qm(b)};
Jga=function(a){null!=a.C&&g.N(a.C,!1)};
Vv=function(a){a.A&&(a.A.dispose(),a.A=null)};
Wv=function(a,b){a.ua=b;(0,g.E)(b,function(c){c.display(this.o);var d=c.zd();if(null!=d){var e=new Qu;e.D=!0;this.Y.push(e);this.Z.X(e,"click",(0,g.B)(this.XL,this,c));e.Cb(d)}},a)};
Xv=function(a){null!=a.B&&(g.N(a.B,!0),g.ye(a.B,a.wa.visitAdvertiserText));null!=a.aa&&g.N(a.aa,!0)};
Yv=function(a,b){if(null!=a.o){var c=g.Fe(g.ve(a.o),"html5-video-player");null!=c&&(g.U(c,"ytp-ad-end-cap",b),Ho().o("desktop_trv_action_endcap_background_clickable")&&g.U(c,"ytp-endcap-background-clickable",b),g.U(c,"ytp-ad-display-override",b))}};
$v=function(a){var b=a.wa.H&&(a.ba>a.wa.ba||0==a.ba),c=b&&a.wa.za,d=b&&a.wa.Ga,e=b&&a.wa.F,f=b&&a.wa.ua;b=b&&a.wa.P;var k=a.wa.ma&&a.wa.D,l="0px";var m=a.yb;m=R()&&null!=m&&qf(m,1)?!1:!0;null!=a.G&&(g.N(a.G,b),null!=a.L&&g.N(a.L,c),null!=a.D&&g.N(a.D,d),null!=a.K&&(g.N(a.K,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Ia&&g.N(a.Ia,!1),null!=a.Sa&&g.N(a.Sa,!1),null!=a.ea&&g.N(a.ea,b||c||d||e));null!=a.J&&g.N(a.J,a.wa.B);null!=a.ha&&(g.N(a.ha,k),k&&(l=ai(a.ha,"height")));null!=a.ma&&!R()&&g.Xh(a.ma,
"bottom",l);Zv(a);null!=a.xa&&g.N(a.xa,a.wa.ea);null!=a.ka&&g.N(a.ka,m);R()||!a.wa.W||Q.D||(null!=a.F&&g.N(a.F,!1),null!=a.P&&g.N(a.P,!1))};
aw=function(a,b,c,d,e){var f=et({Yx:"",kt:0,fy:0});a.wa.D&&a.wa.ia&&(b=bq(c-b),f=et({Yx:a.wa.L?" \u2022 "+b:a.ga?" \u00b7 "+b:": ("+b+")",kt:d,fy:e}));g.ye(a.za,f.vb());g.N(a.J,a.wa.B)};
Kga=function(a,b){null!=a.ia&&a.ia.show(b)};
Zv=function(a){var b=a.wa.H&&(a.ba>a.wa.ba||0==a.ba)&&a.wa.F?a.wa.W?!Q.D||a.Xa:!0:!1;null!=a.F&&g.N(a.F,b);null!=a.P&&g.N(a.P,R()&&a.wa.G&&!b)};
bw=function(){g.L.call(this);this.B="";this.kb=null;this.C=new dr;this.A=new g.Jn;this.F=[];this.J=!1;this.o={};this.H={};this.D=-1;this.G=[]};
Lga=function(a,b){null!=b&&(0,g.E)(b,function(c){g.Ya(this.G,c)||this.G.push(c)},a)};
cw=function(a,b,c){null!=c.viewability&&ds(a.o,c.viewability);var d;Q.o||(d=Op().J||void 0);var e=[];(0,g.E)(b,function(f){var k=this.o;es(k,f,"MOAT_INIT",c.moatInit);es(k,f,"MOAT_VIEWABILITY",c.moatViewability);es(k,f,"IAS_VIEWABILITY",c.integralAdsViewability);es(k,f,"DV_VIEWABILITY",c.doubleVerifyViewability);es(k,f,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(To(f,this.o,c,d))},a);
ds(a.o,"na");return e};
ew=function(a,b,c){(0,g.E)(b,function(d){var e=Ho();e.o("use_yt_pinging_service_w_headers_for_ima_living_room")&&g.Ja(dw)?dw(d,c,!0):e.o("use_yt_pinging_service_for_ima_living_room")&&g.Ja(dw)?dw(d,c,Vr(d)):e.o("enable_oauth_headers_on_ad_tracking_pings_for_living_room")&&Vr(d)&&g.Ja(dw)?dw(d,c,!0):Ro(d,void 0,void 0,c)},a)};
Mga=function(a,b){switch(b){case "abandon":return!Ln(a.A,b)&&!Ln(a.A,"skip")&&!Ln(a.A,"instreamAdComplete")&&(Ln(a.A,"impression")||a.J);case "instreamAdComplete":case "complete":return!Ln(a.A,b)&&!Ln(a.A,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!Ln(a.A,b)}};
fw=function(a){g.rg.call(this);this.ads=a;this.Ac=null;this.Le=new g.fo(this);g.M(this,this.Le);this.fd="normal";this.Na=this.volume=null;this.Ua=new Kp;this.Ae=!1;this.content={};this.jc=new bw;this.Ta=null;this.hp=!1;Op();this.ts=(0,g.B)(this.WK,this);var b=0;(0,g.E)(a,function(c){b+=c.getDuration()});
(0,g.E)(a,function(c,d){var e=c.B;e.Ge=a.length;var f=d+1;e.o=f;e.C=f})};
gw=function(a,b){if(a.Ac=b)a.jc.B=b.L;if(Q.o){var c=gq();lq(c,a.ts);b&&c.A.set(b.L,a.ts)}};
hw=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:hw(a,b.A)};
iw=function(a){return(0,g.Ik)(a.ads,function(b){return(0,g.Ik)(this.wh(b),function(c){c=c.Wa();return!g.G(g.H(Rr(c)))})},a)};
jw=function(a){a=a.o;return null!=a&&a instanceof rr};
kw=function(a,b){a.jc.report(new g.Qf(b));a.ra(b)};
Nga=function(a,b){return(0,g.Fj)(g.Vb(b),function(c){return Xb(this.Ua,c)},a)};
mw=function(a){if(!a.Cc())throw Zo(lw,null,"Ads manager is not correctly configured.");};
nw=function(a,b){for(var c=b;null!=c;)(0,g.E)(c.Y.wb(),a.eV,a),c=c.A};
Oga=function(a){if(!g.Ga(a))throw Zo(lw,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.gb(g.Ub(ow),g.Ub(vr));(0,g.E)(a,function(c){if(!g.Ya(b,c))throw Zo(lw,null,"Invalid or unsuppoted mime type "+c);})};
pw=function(a){var b=a.va();if(null!=b){var c=b.o;if(c instanceof rr&&(c=c.ya,null!=c&&!g.Za(c))){var d=document.body,e=cs(a.va());e=lv(!1,null,null,!1,a.Ua,e);e.H=!1;e.B=!1;e.D=!1;b=b.We();a.Ta=new Uv(e,d,1E3*a.getDuration(),b);Wv(a.Ta,c);a.Ta.show();a.Za().X(a.Ta,"videoIconClicked",a.FR)}}};
qw=function(a,b,c){null!=a.Ta&&0<=c&&0<=b&&a.Ta.update(b,0,c,0,0)};
Pga=function(a,b){function c(d,e,f){for(var k in e)for(var l=k.toLowerCase(),m=0;m<d.length;m++){var n=d[m];if(l==n)throw Error('Cannot override "'+n+'" '+f+', got "'+k+'" with value "'+e[k]+'"');}}
c(rw,a,"attribute");c(rw,b,"param")};
g.tw=function(){};
g.uw=function(a){g.rg.call(this);this.J=a||Wd();this.Ja=null;this.af=!1;this.o=null;this.F=void 0;this.G=this.L=this.D=null};
vw=function(a,b){if(a.af)throw Error("Component already rendered");a.o||a.Np();b?b.insertBefore(a.o,null):a.J.o.body.appendChild(a.o);a.D&&!a.D.af||a.Tj()};
ww=function(a,b){a.L&&(0,g.E)(a.L,b,void 0)};
xw=function(a,b){g.uw.call(this,b);this.H=a;this.Z=new g.fo(this);this.A=new g.Jn};
yw=function(a){return a.sa()?a.sa().firstChild:null};
zw=function(a){g.rg.call(this);this.kb=null;this.F=a;this.A=null;this.B=-1;this.D=!1;this.C=Ac()};
Aw=function(){};
Bw=function(a,b,c){this.o=a;this.Mf=c;this.A=b};
Qga=function(a,b){this.o=a;this.A=b};
Cw=function(a,b,c,d){yr.call(this,a,b,"Static",c,d);this.sA=!1};
Dw=function(a,b,c,d){yr.call(this,a,b,"Html",c,d)};
Ew=function(a,b,c,d){yr.call(this,a,b,"Static",c,d)};
Gw=function(a,b,c){if(g.Za(c))return new yr(a,b,"",null,"");var d=Fw(c);c=d.A;var e=d.o;d=d.C;switch(c){case "Html":return new Dw(a,b,e,d);case "Static":switch(vr[e]){case "Image":return new Ew(a,b,e,d);case "Flash":return new Cw(a,b,e,d);case "Text":return new Qr(a,b)}}return new yr(a,b,c,e,d)};
Fw=function(a){var b=g.Ua(a,function(k){return"Static"==k.A&&"Flash"==vr[k.o]}),c=g.Ua(a,function(k){return"IFrame"==k.A}),d=g.Ua(a,function(k){return"Html"==k.A}),e=g.Ua(a,function(k){return"Static"==k.A&&"Image"==vr[k.o]}),f=g.Ua(a,function(k){return"Static"==k.A&&"Text"==vr[k.o]});
return $p&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Rga=function(a,b,c,d,e,f){var k=Fw(f),l=Gw(a.id,a.size,[k]);l.F=!0;l.K=a.apiFramework;l.ma=b;l.L=c;l.o=d;e&&(l.mk=e);g.db(f,k);var m=[];(0,g.E)(f,function(n){n=Gw(a.id,a.size,[n]);n.F=!0;n.K=a.apiFramework;n.ma=b;n.L=c;n.o=d;e&&(n.mk=e);m.push(new Ns(n,[],a.adSlotId))});
return new Ns(l,m,a.adSlotId)};
Hw=function(a,b,c){this.A=a;this.o=b;this.C=c};
Iw=function(a,b,c){Gr.call(this);this.A=a;this.C=b;this.B=c};
Jw=function(){this.kb=null};
Kw=function(){this.D=null;this.F="http://www.google.com/adsense/support";this.G=0;this.o=15;this.B=5;this.C=3;this.A=!1};
Sga=function(a,b){a.o=b};
Lw=function(a,b,c,d,e,f,k,l,m,n,p){Gr.call(this,n,p);this.D=a;this.F=b;this.B=c;this.G=m;this.H=k;this.A=f;this.C=e};
Mw=function(){};
Uga=function(a,b){var c;(0,g.E)(se(b),function(d){switch(d.nodeName){case "context":c="default"==d.getAttribute("data")?new Kw:null;break;case "params":null!=c&&Tga(this,c,d)}},a);
return c};
Tga=function(a,b,c){(0,g.E)(se(c),function(d){var e=d.attributes[0].value;switch(d.nodeName){case "attribution_url":b.F=e;break;case "attribution_text":b.D=e;break;case "signals":b.G=parseInt(e,10);break;case "audio_muted_on_start":b.A=Ht(e,!1)}},a)};
Nw=function(){this.kb=null};
Ow=function(){};
Pw=function(){};
Qw=function(){};
Rw=function(a){var b=a;if(a instanceof Array)for(var c=b=Array(a.length),d=0;d<a.length;++d)a.hasOwnProperty(d)&&(c[d]=Rw(a[d]));else a instanceof Object&&(b={},Sw(b,a));return b};
Sw=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=Rw(b[c]))};
Tw=function(a){return{mB:a}};
Uw=function(a,b,c){this.type=a;this.label=b;this.xe=c};
Vw=function(a,b){return new Uw(a,1,b)};
Ww=function(a){new Uw(a,2,void 0)};
Xw=function(a,b){return new Uw(a,3,b)};
Yw=function(a){return Vw("m",a)};
Zw=function(a){return Xw("m",a)};
$w=function(a){this.o=a||{}};
ax=function(a,b,c){a=a.o[b];return null!=a?a:c};
bx=function(a,b){return!!ax(a,b,void 0)};
mt=function(a,b){return ax(a,b,"")};
cx=function(a,b,c){a=a.o;a[b]||(a[b]=[]);return a[b][c]};
Vga=function(a){for(var b=dx,c=[],d=0;d<ex(a,"event");d++)c.push(new b(cx(a,"event",d)));return c};
ex=function(a,b){return a.o[b]?a.o[b].length:0};
wu=function(a){this.o=a||{}};
ix=function(){if(!fx){var a={};fx=Tw(a);a.image_url=gx;a.thumbnail_url=gx;a.image_height=hx;a.image_width=hx;a.label=gx}return fx};
dx=function(a){this.o=a||{}};
lx=function(){if(!jx){var a={};jx=Tw(a);a.type=kx;a.base_url=gx}return jx};
mx=function(a){this.o=a||{}};
ox=function(){if(!nx){var a={};nx=Tw(a);a.type=kx;a.id=gx;a.link_url=gx;a.title=gx;a.image=Yw(ix());a.event=Zw(lx());a.target=gx;a.priority=gx}return nx};
ot=function(a){return mt(a,"title")};
Xs=function(a){return mt(a,"target")};
px=function(a){this.o=a||{}};
Ts=function(a){return mt(a,"merchant")};
Vs=function(a){return mt(a,"price")};
qx=function(a){return new mx(cx(a,"action",0))};
rx=function(a){this.o=a||{}};
Us=function(a){return new wu(a.o.image)};
Rs=function(a){return new px(cx(a,"offer",0))};
sx=function(a){this.o=a||{}};
pt=function(a){return mt(a,"description")};
tx=function(a){this.o=a||{}};
vu=function(a){return bx(a,"show_in_endcap")};
xu=function(a){return bx(a,"show_in_companion")};
ux=function(a){this.o=a||{}};
Qs=function(a){return new rx(a.o.product_card)};
Ys=function(a){return new mx(cx(a,"action",0))};
vx=function(a){this.o=a||{}};
wx=function(a,b,c){Gr.call(this,c);this.A=a;this.C=b||null};
xx=function(a){this.o=a};
zx=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.mB[f.nodeName];if(k)switch(k.type){case "b":d[f.nodeName]="false"!=f.nodeValue;break;case "d":case "f":d[f.nodeName]=parseFloat(f.nodeValue);break;case "e":d[f.nodeName]=yx[b.nodeName][f.nodeName][f.nodeValue];break;case "i":d[f.nodeName]=parseInt(f.nodeValue,10);break;default:d[f.nodeName]=f.nodeValue}}for(e=0;e<b.childNodes.length;e++)if(f=b.childNodes[e],f.nodeType==Node.ELEMENT_NODE&&(k=c.mB[f.nodeName],null!=
k)){var l=zx(a,f,k.xe);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
Wga=function(a,b){var c=new dr;(0,g.E)(se(b),function(d){"CustomTracking"==d.nodeName&&null!=se(d)&&(c=Kt(d,!1,(0,g.B)(function(e,f){return Ax(e,f)},this)))},a);
return c};
Ax=function(a,b){return g.no(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
Bx=function(a,b){Gr.call(this);this.C=a;this.A=g.H(b)};
Cx=function(a){Gr.call(this);this.A=a};
Dx=function(){this.kb=null};
Ex=function(a,b){this.logger=null;this.C=b;this.o={};this.A=[];this.o.CustomTracking=Kt;this.o.UI=this.D};
Fx=function(a,b){if(null==b)return null;var c={};(0,g.E)(se(b),function(d){c[d.nodeName]=null!=this.o[d.nodeName]?this.o[d.nodeName].call(this,d):null},a);
return null==c.UI?null:c};
Gx=function(){Ex.call(this,"MuteExtensionParser","mute_");this.o.SurveyOptions=this.B};
Hx=function(){Gr.call(this);this.A=""};
Ix=function(){this.kb=null};
Jx=function(a,b,c,d){Gr.call(this);this.B=a;this.C=b;this.D=c;this.A=d};
Kx=function(){this.kb=null};
Lx=function(a){Gr.call(this,a)};
Mx=function(){};
Nx=function(){Gr.call(this)};
Ox=function(){this.kb=null};
Xga=function(a,b){var c;(0,g.E)(se(b),function(d){d.nodeName==this.o.tJ&&(c=Dt(d))},a);
return c};
Px=function(a,b,c,d,e,f){Gr.call(this);this.D=a||"";this.F=b||"";this.G=c||"";this.B=d;this.A=e;this.C=f};
Qx=function(){this.kb=null};
Rx=function(a){Gr.call(this);this.A=a};
Sx=function(){this.kb=null};
Tx=function(){Ex.call(this,"WhyThisAdExtensionParser","why_this_ad_");this.A.push("targeting_reason")};
Ux=function(a,b){return null!=a?(0,g.Fj)(b,function(c){return c in a}):!1};
Yga=function(a,b){return null!=a?(0,g.Ik)(b,function(c){return c in a}):!1};
Vx=function(){};
Wx=function(){Gr.call(this)};
Xx=function(){};
Yx=function(){};
Zx=function(a){this.B=a;this.logger=null};
$x=function(a){if(null==a)return!1;a=ue(a);return null!=a&&"VAST"==a.nodeName};
by=function(a,b){var c=[],d=null;try{var e=g.vt(a),f=ue(e);null!=f&&"CompanionAds"==f.nodeName&&(d=ay(Zx.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
cy=function(a){if(null==a)return 0;a=parseInt(a.getAttribute("version"),10);return g.Ca(a)&&!isNaN(a)?a:0};
$ga=function(a){var b=[],c=ue(a.B),d=cy(c);Et(c,a.o.JH,function(e){var f=dy(e);if(null==f)throw xt(e);var k=e.getAttribute(this.A.xo);e=Number(e.getAttribute(this.A.Bz));var l=k||null;k=e||0;var m=null,n=null;e=[];for(var p=[],q=[],u=[],w=new g.Jn,D,F=f.nodeName==this.o.zJ,I=F,O=F,na=null,Ia=se(f),Ba=0,Ta=Ia.length;Ba<Ta;Ba++){var $a=Ia[Ba];switch($a.nodeName){case this.o.KH:Dt($a);case this.o.eJ:break;case this.o.wJ:if(F){if(null!=D)throw zt($a);D=Dt($a);na=Zfa(D);I=Ht(f.getAttribute(this.A.PH),
I);O=Ht(f.getAttribute(this.A.sI),O)}else throw xt($a);break;case this.o.NH:m=Dt($a);break;case this.o.OH:n=Dt($a);break;case this.o.iI:Dt($a);break;case this.o.rJ:Dt($a);break;case this.o.zo:$a=Dt($a);It($a)&&e.push($a);break;case this.o.ERROR:$a=Dt($a);p.push($a);break;case this.o.cI:u=Zga(this,$a);q=u.creatives;u=u.gK;break;case this.o.pI:var vc=$a;w=na;$a=new g.Jn;try{var Kb=Bt(vc,this.o.EXTENSION);vc=0;for(var Kd=Kb.length;vc<Kd;vc++){var ac=Kb[vc],Ob=ac.getAttribute(this.A.Kz);null!=Ob?Ob=Ob.toLowerCase():
Ob="generic";switch(Ob){case "programmatic":var bc=(new Ix).parse(ac);break;case "geo":bc=(new Xx).parse(ac);break;case "pod":bc=(new Vx).parse(ac);break;case "waterfall":bc=(new Yx).parse(ac);break;case "dart":bc=(new Ow).parse(ac);break;case "dfp":Ob="DFP";bc=(new Pw).parse(ac);break;case "adsense":Ob="AdSense";bc=(new Nw).parse(ac);break;case "textad":Ob="TextAd";bc=(new Qx).parse(ac);break;case "templatead":Ob="TemplateAd";bc=(new Ox).parse(ac);break;case "infocards":Ob="InfoCards";var Mh=new xx(!0);
bc=Mh.parse(ac);break;case "infocardstracking":Ob="InfoCardsTracking";Mh=new xx(!1);bc=Mh.parse(ac);break;case w:case "prefetchedad":Ob="LocalRedirect";var kf=ac;if(null==kf)bc=null;else{var eg=null,Yi=Bt(kf,"AdXml");if(1==Yi.length){var zd=ue(Yi[0]);if(null!=zd)try{eg=At(zd)}catch(Hl){eg='<?xml version="1.0" encoding="UTF-8"?>'+wt(zd)}else eg='<?xml version="1.0" encoding="UTF-8"?>'+wt(zd)}var Il=Bt(kf,"VASTAdTagURI");kf=null;1==Il.length&&(kf=Il[0].textContent);bc=new Bx(eg,kf)}break;case "viral":Ob=
"viral";bc=(new Sx).parse(ac);break;case "metrics":Ob="metrics";bc=(new Dx).parse(ac);break;case "adx":Ob="adx";bc=(new Mt).parse(ac);break;case "why_this_ad":Ob="why_this_ad";bc=(new Tx).parse(ac);break;case "mute":Ob="mute";bc=(new Gx).parse(ac);break;case "sodar":bc=(new Kx).parse(ac);break;case "survey":bc=(new Mx).parse(ac);break;case "adformat":Ob="AdFormat";bc=(new Jw).parse(ac);break;default:var eN=new Qw;Ob="generic";bc=eN.parse(ac)}if(null!=bc){var Zi=$a.get(Ob);null!=Zi?"generic"==Ob&&
(efa(Zi,bc.o),$a.set(Ob,Zi)):$a.set(Ob,bc)}}}catch(Hl){if(!g.Ja(Hl.Fb)||1105==Hl.Fb())throw Hl;}w=$a}}f=g.H(l);Kb=m;a:if(g.G(g.H(m)))Kd="UNKNOWN";else switch(Kd=m.toUpperCase(),Kd){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "SHOPPING":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:SHOPPING":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a;default:Kd="UNKNOWN"}w.get("programmatic");ac=
w;Ob=null;w=w.get("AdSense");null!=w&&(w=Hr(w,"vast2tracking"),null!=w&&!g.Za(w)&&(Ob=w[0]));k=new Qt(f,Kb,Kd,n,k,p,e,q,u,ac,D,I,O,Ob);null!=k&&(k.Sa=d,b.push(k))},a);
return b};
dy=function(a){var b=null;a=se(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw xt(b);}return b};
aha=function(a){if(g.G(g.H(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
Zga=function(a,b){var c=[],d=[];Et(b,a.o.bI,function(e){var f=e.getAttribute(this.A.Bz),k=NaN;g.G(g.H(f))||(k=parseFloat(f));e.getAttribute(this.A.LH);f=e.getAttribute(this.A.xo);var l=!1,m=[];e=se(e);for(var n=0,p=e.length;n<p;n++){var q=e[n];switch(q.nodeName){case this.o.uJ:var u=q,w=Dt(u);w=g.H(w);g.G(w)&&u.getAttribute(this.A.AI);q.getAttribute(this.A.zI);break;case this.o.LINEAR:if(l)throw zt(q);l=bha(this,q,isNaN(k)?0:k,f||null);jb(c,l);jb(m,l);l=!0;break;case this.o.YH:if(l)throw zt(q);l=
ay(this,q,isNaN(k)?0:k);jb(d,l);l=!0;break;case this.o.VI:if(l)throw zt(q);l=cha(this,q,isNaN(k)?0:k,f||null);jb(c,l);jb(m,l);l=!0}}n=0;for(p=m.length;n<p;n++);},a);
return{creatives:c,gK:d}};
cha=function(a,b,c,d){var e=[],f=new dr;b=se(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.o.TI:m=dha(a,m,c,d);null!=m&&e.push(m);break;case a.o.gt:f=Kt(m);break;default:throw xt(m);}}0!=e.length||f.isEmpty()||(a=new yr(null,new g.Qd(-1,-1),"",null,""),a.o=c,a.ia=d,e.push(a));(0,g.E)(e,function(n){f&&(n.mk=f)});
return e};
ey=function(a,b){var c={};c.id=b.getAttribute(a.A.xo);c.adSlotId=b.getAttribute(a.A.MH);c.apiFramework=b.getAttribute(a.A.so);var d=g.Bc(b.getAttribute(a.A.Co)),e=g.Bc(b.getAttribute(a.A.vo));c.size=new g.Qd(d,e);d=b.getAttribute(a.A.oI);e=b.getAttribute(a.A.nI);g.G(g.H(d))||g.G(g.H(e))||(c.D4=new g.Qd(g.Bc(d),g.Bc(e)));return c};
dha=function(a,b,c,d){var e=ey(a,b);b.getAttribute(a.A.so);b.getAttribute(a.A.kJ);b.getAttribute(a.A.HI);var f=b.getAttribute(a.A.QI);f=Gt(f,-1);var k=[];new g.Jn;var l={},m="",n=null,p=[];b=se(b);for(var q=0,u=b.length;q<u;q++){var w=b[q];switch(w.nodeName){case a.o.XI:p.push(Dt(w));break;case a.o.WI:n=Dt(w);break;case a.o.Ms:l=fy(w);m=g.H(Dt(w));break;case a.o.yo:case a.o.Ao:case a.o.wo:w=gy(a,w);null!=w&&k.push(w);break;default:throw xt(w);}}a=Gw(e.id,e.size,k);nr(a,m,l);a.K=e.apiFramework;a.ma=
n;a.L=p;a.Ga=f;a.o=c;a.ia=d;return a};
gy=function(a,b){var c=Ct(b,a.A.dI);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.o.Ao:d="Static";break a;case a.o.yo:d="IFrame";break a;case a.o.wo:d="Html";break a;default:throw Yo(eha,null,d);}}var e=Dt(b);null!=e||(e="");return new Hw(d,c,e)};
ay=function(a,b,c){var d=[],e=aha(Ct(b,a.A.hJ));Et(b,a.o.XH,function(f){var k=ey(this,f);var l=[],m=new dr,n=null,p=[];f=se(f);for(var q=0,u=f.length;q<u;q++){var w=f[q];switch(w.nodeName){case this.o.aI:p.push(Dt(w));break;case this.o.gt:m=Kt(w,!0);break;case this.o.ZH:n=Dt(w);break;case this.o.QH:Dt(w);break;case this.o.Ms:Dt(w);break;case this.o.yo:case this.o.Ao:case this.o.wo:w=gy(this,w);null!=w&&l.push(w);break;default:throw xt(w);}}k=g.Za(l)?null:Rga(k,n,p,c,m,l);null!=k&&d.push(k)},a);
return new Qga(d,e)};
bha=function(a,b,c,d){var e=new dr,f={},k="",l=[],m=null,n=new g.Jn,p=[],q=[],u=0,w=Jt(Ct(b,a.A.mJ));b=se(b);for(var D=0,F=b.length;D<F;D++){var I=b[D];switch(I.nodeName){case a.o.uI:q=fha(a,I);break;case a.o.Ms:f=fy(I);k=g.H(Dt(I));break;case a.o.Ps:u=Gt(Dt(I),0);break;case a.o.gt:e=Kt(I);break;case a.o.LI:p=gha(a,I);break;case a.o.xJ:l=hha(a,I);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw xt(I);}}(0,g.E)(l,function(O){ir(e,"click",O)});
a=new rr(u,m,n,p,w,q);nr(a,k,f);a.o=c;a.ia=d;e&&(a.mk=e);return a};
hha=function(a,b){for(var c=null,d=[],e=new g.Jn,f=se(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.o.VH:c=Dt(m);break;case a.o.WH:m=Dt(m);d.push(m);break;case a.o.fI:var n=Ct(m,a.A.xo);null!=n||(n="");var p=e.get(n,[]);p.push(Dt(m));e.set(n,p);break;default:throw xt(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
gha=function(a,b){for(var c=[],d=Bt(b,a.o.KI),e=0,f=d.length;e<f;e++){var k=d[e],l=Ct(k,a.A.hI),m=Ct(k,a.A.Kz);Ct(k,a.A.yJ);var n=g.Bc(k.getAttribute(a.A.Co)),p=g.Bc(k.getAttribute(a.A.vo)),q=k.getAttribute(a.A.so),u=Dt(k),w=Ft(k.getAttribute(a.A.Sy)),D=Ft(k.getAttribute(a.A.OI));k=Ft(k.getAttribute(a.A.JI));l=new qr(l,m,w,D,k,n,p,u,q);c.push(l)}return c};
fha=function(a,b){var c=[];Et(b,a.o.tI,function(d){var e=d.getAttribute(this.A.fJ);var f=Ct(d,this.A.AJ),k=Ct(d,this.A.BJ),l=g.Bc(d.getAttribute(this.A.Co)),m=g.Bc(d.getAttribute(this.A.vo)),n=new g.Qd(l,m);l=d.getAttribute(this.A.so);m=Jt(Ct(d,this.A.YI));var p=d.getAttribute(this.A.Ps);p=Gt(p,-1);var q=[],u=[],w={};d=se(d);for(var D=0,F=d.length;D<F;D++){var I=d[D];switch(I.nodeName){case this.o.yI:u.push(Dt(I));break;case this.o.vI:w=[];var O=null;I=se(I);for(var na=0,Ia=I.length;na<Ia;na++){var Ba=
I[na];switch(Ba.nodeName){case this.o.wI:O=Dt(Ba);break;case this.o.xI:w.push(Dt(Ba));break;default:throw xt(Ba);}}w={iconClickThrough:O,YL:w};break;case this.o.yo:case this.o.Ao:case this.o.wo:O=gy(this,I);null!=O&&q.push(O);break;default:throw xt(I);}}g.Za(q)?e=null:(d=w,n=Gw("icon"+e,n,q),n.K=l,e=new Sv(n,e,f,k,p,m,d.iconClickThrough,d.YL,u));null!=e&&c.push(e)},a);
return c};
fy=function(a){a=Dt(a);return null!=a?Eea(a):{}};
hy=function(a){fw.call(this,a);this.o=this.kb=null;this.M={};this.C=!0;this.K=this.J=this.G=!1;this.F=this.L=0;this.A=null;this.D=0;this.B=1;this.H=-1;this.P=!1;this.W=2==Q.F};
iy=function(a){var b=a.jd("getAdLinear");return g.Aa(b)?b:a.C};
jy=function(a){if(!a.C){var b=a.jd("getAdRemainingTime");b=g.Ca(b)?b:-2;if(!g.Ca(b)||0>b)b=30;g.dh(a.H);a.H=g.ch(a.stop,1E3*b,a)}};
ly=function(a,b){var c=Zo(ky,b,void 0),d=bs(c,a.va()),e=Zt(a.va());Vo(e,d);ky.message=c.Vd();bp(a,ky,b);a.stop()};
my=function(a){a.P||(a.P=!0,kw(a,"complete"))};
ny=function(a){fw.call(this,a);this.D=this.o=this.kb=null;this.C=!0;this.Y=this.L=this.G=!1;this.P=Ac();this.J=this.M=0;this.H=-1;this.A=null;this.F=0;this.B=1;this.K=-1;this.W=!1};
oy=function(a){var b=a.wd("getAdLinear");return g.Aa(b)?b:a.C};
py=function(a){if(!a.C){var b=a.wd("getAdRemainingTime");b=g.Ca(b)?b:-2;if(!g.Ca(b)||0>b)b=30;g.dh(a.K);a.K=g.ch(a.stop,1E3*b,a)}};
qy=function(a,b,c,d){d=Zo(b,c,d);var e=bs(d,a.va()),f=Zt(a.va());Vo(f,e);b.message=d.Vd();bp(a,b,c)};
ry=function(a){a.W||(a.W=!0,kw(a,"complete"))};
sy=function(a){to.call(this,"adMetadata",a)};
ty=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
uy=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};
g.vy=function(a){if(g.y.JSON)try{return g.y.JSON.parse(a)}catch(b){}return wba(a)};
wy=function(){};
yy=function(){};
Ay=function(a){return(a=zy(a))?new ActiveXObject(a):new XMLHttpRequest};
zy=function(a){if(!a.A&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.A=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.A};
g.By=function(a){g.rg.call(this);this.headers=new g.Jn;this.W=a||null;this.C=!1;this.M=this.o=null;this.aa=this.K="";this.A=0;this.B="";this.D=this.Y=this.J=this.P=!1;this.F=0;this.G=null;this.ba="";this.L=this.H=!1};
Cy=function(a,b){a.F=Math.max(0,b)};
iha=function(a){return g.de&&g.Lc(9)&&g.Ca(a.timeout)&&g.v(a.ontimeout)};
jha=function(a){return"content-type"==a.toLowerCase()};
Fy=function(a,b){a.C=!1;a.o&&(a.D=!0,a.o.abort(),a.D=!1);a.B=b;a.A=5;Dy(a);Ey(a)};
Dy=function(a){a.P||(a.P=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Jy=function(a){if(a.C&&"undefined"!=typeof Gy)if(a.M[1]&&4==g.Hy(a)&&2==a.getStatus())Iy(a,"Local request error detected and ignored");else if(a.J&&4==g.Hy(a))g.ch(a.TB,0,a);else if(a.dispatchEvent("readystatechange"),4==g.Hy(a)){Iy(a,"Request complete");a.C=!1;try{var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=g.nh(String(a.K))[1]||null;if(!f&&g.y.self&&g.y.self.location){var k=
g.y.self.location.protocol;f=k.substr(0,k.length-1)}e=!kha.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.A=6;try{var l=2<g.Hy(a)?a.o.statusText:""}catch(m){l=""}a.B=l+" ["+a.getStatus()+"]";Dy(a)}}finally{Ey(a)}}};
Ey=function(a,b){if(a.o){Ky(a);var c=a.o,d=a.M[0]?g.A:null;a.o=null;a.M=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
Ky=function(a){a.o&&a.L&&(a.o.ontimeout=null);a.G&&(g.dh(a.G),a.G=null)};
g.Hy=function(a){return a.o?a.o.readyState:0};
g.Ly=function(a){try{return a.o?a.o.responseText:""}catch(b){return""}};
Iy=function(a,b){return b+" ["+a.aa+" "+a.K+" "+a.getStatus()+"]"};
lha=function(a,b,c,d){var e=new g.Pn("https://www.googleapis.com/youtube/v3/videos");g.Yn(e,"id",a);g.Yn(e,"part","snippet,status,statistics");g.Yn(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus,items/statistics/viewCount");null!=d&&(b=(0,g.B)(b,d),c=(0,g.B)(c,d));My(new g.By,e,b,c)};
mha=function(a,b,c,d){var e=new g.Pn("https://www.googleapis.com/youtube/v3/channels");g.Yn(e,"id",a);g.Yn(e,"part","snippet,statistics,brandingSettings");g.Yn(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=d&&(b=(0,g.B)(b,d),c=(0,g.B)(c,d));My(new g.By,e,b,c)};
My=function(a,b,c,d){g.Yn(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");Cy(a,2E3);var e=new g.fo(a);e.Nh(a,"success",function(f){f=f.target;var k=f.o?g.vy(f.o.responseText):void 0;c(k||{});e.dispose();f.dispose()});
e.Nh(a,["error","timeout"],function(f){f=f.target;var k=null;0!=f.A&&(k=Error(uy(f.A)));d(k);e.dispose();f.dispose()});
a.send(b)};
nha=function(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};
Ny=function(a,b,c){Hi(b,function(d,e){var f=c&&c[e];!d&&0!==d||f||(a+="&"+encodeURIComponent(e)+"="+encodeURIComponent(String(d)),c&&(c[e]=!0))});
return a};
Ty=function(a,b,c,d,e,f,k,l){function m(p){var q=p[0];p=p[1];var u=q.length+p.length+2;8E3<n.B+n.C+u&&Oy(n);n.K.push([q,p]);n.C+=u;6E3<=n.B+n.C&&Oy(n);return 0}
f=void 0===f?Infinity:f;k=void 0===k?!1:k;ak.call(this,a,l);var n=this;this.H=0;this.L=f;this.ga=b;this.M=c;this.ba=d;this.ha=e;this.Y=!("csi.gstatic.com"!==this.M||!this.o.navigator||!this.o.navigator.sendBeacon);this.D={};this.ea={};this.o.performance&&this.o.performance.now||Py(this,"dat",1);this.o.navigator&&this.o.navigator.deviceMemory&&Py(this,"dmc",this.o.navigator.deviceMemory);this.ia=!k;this.W=function(){n.o.setTimeout(function(){return Oy(n)},1100)};
this.ma=[];this.aa=function(){Qy(n,1)};
this.P=function(){Qy(n,2)};
this.ka=yaa(function(){Oy(n)});
this.ua=function(){var p=n.o.document;(null!=p.hidden?p.hidden:null!=p.mozHidden?p.mozHidden:null!=p.webkitHidden&&p.webkitHidden)&&n.ka()};
this.J=this.o.setTimeout(function(){return Oy(n)},5E3);
this.F={};this.B=b.length+c.length+d.length+e.length+3;this.C=0;(0,g.E)(this.events,function(p){return Ry(n,p)});
this.K=[];a=nha(this.o);(0,g.E)(a,function(p){return m(p)});
a.length=0;a.push=m;Sy(this);oha(this)};
oha=function(a){"complete"===a.o.document.readyState?a.o.setTimeout(function(){return Oy(a)},0):Ki(a.o,"load",a.W);
var b=rj(a.o.document);"undefined"!==typeof b&&Ki(a.o,b,a.ua);Ki(a.o,"unload",a.aa);Ki(a.o,"pagehide",a.P)};
Py=function(a,b,c){c=String(c);a.B=null!=a.D[b]?a.B+(c.length-a.D[b].length):a.B+(b.length+c.length+2);a.D[b]=c};
pha=function(a){null!=a.D.uet&&(a.B-=3+a.D.uet.length+2,delete a.D.uet)};
Oy=function(a){if(a.A&&a.ia){try{if(a.C){var b=a.F;a.H++;var c=qha(a,b);b=!1;try{b=a.Y&&a.o.navigator&&a.o.navigator.sendBeacon(c,null)}catch(d){a.Y=!1}b||Mi(a.o,c);Sy(a);a.H===a.L&&a.disable()}}catch(d){(new Fn).Tg(358,d)}a.F={};a.C=0;a.events.length=0;a.o.clearTimeout(a.J);a.J=0}};
qha=function(a,b){var c=a.ga+"//"+a.M+a.ba+a.ha,d={};c=Ny(c,a.D,d);c=Ny(c,b,d);a.o.google_timing_params&&(c=Ny(c,a.o.google_timing_params,d),a.o.google_timing_params=void 0);(0,g.E)(a.K,function(e){var f=g.r(e);e=f.next().value;f=f.next().value;var k={};c=Ny(c,(k[e]=f,k))});
a.K.length=0;return c};
Sy=function(a){Py(a,"puid",(a.H+1).toString(36)+"~"+(0,g.J)().toString(36))};
Ry=function(a,b){var c="met."+b.type;var d=g.Ca(b.value)?Math.round(b.value).toString(36):b.value;var e=Math.round(b.duration);d=""+b.label+(null!=b.slotId?"_"+b.slotId:"")+("."+d)+(0<e?"_"+e.toString(36):"");e="~";e=void 0===e?"":e;var f=null==a.F[c]?c.length+d.length+2:d.length+e.length;8E3<a.B+a.C+f&&(Oy(a),f=c.length+d.length+2);a.F[c]=null!=a.F[c]?a.F[c]+(""+e+d):d;a.C+=f;6E3<=a.B+a.C&&Oy(a)};
Qy=function(a,b){Py(a,"uet",b);(0,g.E)(a.ma,function(c){try{c()}catch(d){}});
Qba(a.o);Oy(a);pha(a)};
Wy=function(){this.Fa=null;if(Jo(Go(),21592081)&&!R()){this.Fa=new Ty(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(Uy)var a=Uy;else{a=((a=Ni())?Gi(a.master)?a.master:null:null)||Si();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?Uy=b:a.google_persistent_state_async=Uy=new Xda}b=Si();var c=Ni(b);c?((c=c||Ni())?(b=c.pageViewId,c=c.clientId,g.x(c)&&(b+=c.replace(/\D/g,"").substr(0,6))):b=null,b=+b):(b=Lj(b).Md,(c=b.google_global_correlator)||
(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=rha[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;Vy(this,"c",a);a=Ko(Go());g.G(g.H(a))||Vy(this,"e",a)}this.o="0"};
Xy=function(){var a=Wy.getInstance();a.Fa&&(a.Fa.disable(),a.Fa=null)};
Vy=function(a,b,c){a.Fa&&c&&Py(a.Fa,b,c)};
Yy=function(a){var b=Wy.getInstance();if(b.Fa&&sha){var c=Xj();c&&(b=b.Fa,b.A&&b.G(new Yj(a,4,c,0,void 0)))}};
tha=function(a,b){if(b){var c=/iu=\/(\d+)\//.exec(rc(b)),d=g.H((new g.Pn(b)).o.get("client"));a.o=c&&2==c.length?c[1]:g.G(d)?"0":d}else a.o="0"};
Zy=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.videoId=a.id;var b=a.statistics;b&&null!=b.viewCount&&(b=Ec(b.viewCount),this.Zh=isNaN(b)?-1:b);if(b=a.snippet)this.channelId=b.channelId,this.title=b.title;if(a=a.status)this.Be="unlisted"!=a.privacyStatus}};
$y=function(a,b){g.rg.call(this);this.wa=a;this.mf=null;this.Z=new g.fo(this);this.Qm(b)};
uha=function(a){var b=a.text;return Cq('<a target="_blank" href="'+S(Yq(a.url))+'" class="'+S("fullslot-attribution-button")+'">'+Dq(b)+"</a>")};
vha=function(a){a=a.RJ;return Cq('<div class="'+S("fullslot-autoclose")+'">'+Dq(a)+"</div>")};
az=function(a){return Eq("Reklam "+(""+a.qe+" saniye i\u00e7inde kapanacak"))};
bz=function(a){g.rg.call(this);this.D=new g.bh(200);g.M(this,this.D);this.C=0;this.A=!1;this.L=a;this.J=new g.fo(this);this.J.X(this.D,"tick",this.SS)};
cz=function(a){a.D.stop();a.A=!1};
ez=function(a,b,c,d,e){bz.call(this,b.o);this.H=b;this.G=c;this.K=this.H.o;this.o=a;this.B=this.F=null;g.T(this.o,ty(this.G));a=this.o;b=new kv;b.skipOffset=new $s(this.H.B,!1);this.B=new Ev(b,a);d&&d.text&&(d=Or(uha,d),this.o.appendChild(d));e?(e=this.o,d=az({qe:dz(this.K)}).vb(),a=Or(vha,{RJ:d}),g.ye(a,d),e.appendChild(a),e=a):e=null;this.F=e};
wha=function(a){var b=g.Zd("videoAdUiSkipButton",a.o);return b?g.mi(b,a.o):new g.Od(0,0)};
dz=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
hz=function(a,b,c,d,e){bz.call(this,d);this.H=a;this.W=b;this.M=e;this.Z=new g.fo(this);g.M(this,this.Z);this.B=new Qu;g.M(this,this.B);this.K=new Qu;g.M(this,this.K);this.G=new Qu;g.M(this,this.G);(a=fz(c))?(c=a(c),b.appendChild(c),b=g.Zd("iv-endcap-action",c),this.Z.X(this.B,"click",this.F),this.B.Cb(b),b=g.Zd("iv-endcap-text",c),this.Z.X(this.K,"click",this.F),this.K.Cb(b),b=g.Zd("iv-endcap-image",c),this.Z.X(this.G,"click",this.F),this.G.Cb(b),b=c):b=null;this.o=b?g.Zd("iv-endcap-countdown-inner",
b):null;null!=this.o&&g.Xh(this.o,"stroke-dasharray","0 "+gz)};
fz=function(a){switch(a.Zb()){case 1:return xha;case 4:return yha}return null};
xha=function(a){var b=Qs(a);a=0<ex(a,"action")?Ys(a):null;return Or(Ps,{headline:b.Bd(),description:mt(b,"description"),image:Us(b).getImageUrl(),action:a?ot(a):"",target:a?Xs(a)||mt(a,"link_url"):""})};
yha=function(a){var b=a.A();a=0<ex(a,"action")?Ys(a):null;var c=!1;Ho().o("desktop_trv_action_endcap_background_clickable")&&(c=!0);return Or(Ps,{headline:b.Bd(),description:pt(b),image:b.Kg().getImageUrl(),action:a?ot(a):"",target:a?Xs(a)||mt(a,"link_url"):"",SJ:c})};
zha=function(){var a='<div class="'+S("videoAdInterstitial")+'"><p>';return Cq(a+"Videonuz bu reklamdan sonra oynat\u0131lacak.</p></div>")};
iz=function(){g.L.call(this);this.A=Or(zha);this.Fa=0};
jz=function(a){a.Fa&&(g.dh(a.Fa),a.o(g.A))};
kz=function(){this.A=this.K=this.Ij=this.o=this.Jj=this.Hj=this.adFormat=null;this.G=this.isPharma=this.D=!1;this.slotPosition=-1;this.breakType=null;this.H=this.J=!1;this.timeout=-1;this.B=!1;this.C=this.F=null;this.ql=this.Ui=this.xj=this.zl=!1};
lz=function(a){g.Qf.call(this,a)};
mz=function(a){g.rg.call(this);this.kb=null;this.C=a;this.M=new g.Jn;this.K=-1;this.G=this.W=!1;this.F=""};
nz=function(a){this.paused=!1;this.mute=a.isMuted();this.volume=a.getVolume()};
oz=function(a,b,c,d){if(!c||null==a.M.get(b)){d&&!a.G&&(b="error");a.M.set(b,!0);a:{c=b;if(a.A&&a.A.wa.F){if("click"==c)break a;"videoLearnMoreClicked"==c&&a.C.report(new g.Qf("click"))}d=Aha[c]||null;null!=d&&null!=a.o&&a.o.Fx(d);a.C.report(new g.Qf(c))}a.dispatchEvent(b)}};
pz=function(a){0>a.K||a.W||!a.o.Vl(a.K)&&!a.o.Dh()||!a.G||(a.W=!0,oz(a,"engagedview",!0,!0),a.dispatchEvent(new lz("viewCount",a.o)))};
qz=function(a){pz(a);if(R()){var b=a.C;if(!(Ln(b.A,"skip")||0>b.D)){for(var c=gr(b.C,"progress"),d=[],e=b.D;e<c.length;e++){var f=c[e];b.D=e+1;d.push(f.Wa())}0<d.length&&b.report(new g.Qf("progress"),d)}}oz(a,"complete",!0,!0)};
rz=function(a){this.o=new g.Jn;if(a){a=Nn(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}};
sz=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Ma(a):b.substr(0,1)+a};
tz=function(a){fw.call(this,a);this.o=null;this.F=!1;this.C=new mz(this.jc);this.kb=null;this.Y=this.ga=this.G=!1;this.ba=this.D=1;this.A=null;this.aa=new iz;this.J=new rz;this.ha=!1;this.W=[];this.M=this.L=this.P=!1;this.B=null;this.ea=!fp()&&R();this.K=!1;this.H=null;Jo(Go(),324123001)&&(Q.W=!0);Jo(Go(),324123021)&&(Q.W=!0);if(a=0<a.length?a[0]:null){var b=Wy.getInstance();Vy(b,"gqid",mu(a));Vy(b,"qqid",is(a))}Bha(this)};
uz=function(a,b){if(Ho().o("use_async_run_for_execution_in_ima"))g.Dg(b,a);else{var c=g.ch(function(){this.J.remove(c);b.call(this)},0,a);
a.J.add(c)}};
vz=function(a){Q.A&&a.ra("youtubeKevlarCompanionHide")};
wz=function(a){a.B&&(g.Of(a.B),a.B=null);g.Of(a.Ta);a.Ta=null;g.Of(a.C);g.Of(a.jc);a.Y=!1};
Dha=function(a){if(!a.tb())return!1;var b=a.Na.Rf();if(null==b)return!1;var c=a.va(),d;if(d=c.M?c.M.o.Pm()?c.M.o.kv():c.M.vb():"")Cha(a,b,d);else if(Bu(c)&&(d=c.aa,d=g.Za(d)?null:d[0],null!=d&&g.Ja(fz(d)))){var e=1==d.Zb();a.o=new hz(a.La,b,d,Hu(c),e);a.Za().X(a.o,"click",(0,g.B)(a.fB,a,null));a.Ta&&Yv(a.Ta,!0);a.Na.Jd()}null!=a.o&&(a.Za().X(a.o,"timeUpdate",a.iF),a.Za().X(a.o,"end",a.uK),a.o.start(),kw(a,"video_card_endcap_impression"));return null!=a.o};
Cha=function(a,b,c){Ip.getInstance().report(34,{evt:"start"},!0);var d=g.ie("DIV");g.T(d,"controls");var e=g.ie("DIV");g.T(e,"adDisplay");g.T(e,"endslate");e.innerHTML=c;(c=se(e)[0])&&g.Xh(c,{margin:"0 auto"});(0,g.E)(c.getElementsByTagName("a"),function(f){var k=f.getAttribute("href");k&&this.Za().X(f,"click",(0,g.B)(this.fB,this,k))},a);
d.appendChild(e);e=new Kw;Sga(e,Hu(a.va()));e.B=0;e.C=0;a.o=new ez(d,e,1,{},!0);a.Za().X(a.o,"skip",a.gB);b.appendChild(a.o.o);a.Na.Jd();a.Ta&&(Jga(a.Ta),Vv(a.Ta))};
yz=function(a,b){xz(a);null!=a.La&&a.La.showControls();a.ra("complete");kw(a,b);a.Ha("instreamAdComplete");a.Xh()};
xz=function(a){a.o&&(a.o.dispose(),a.o=null);a.Ta&&Yv(a.Ta,!1);a.F=!1};
Eha=function(a){return(0,g.Fj)(a.Ac.D,function(b){return!bx(b.Se(),"hide_in_drawer")})};
Bz=function(a,b,c){zz(a)&&c?Az(a,b).then(a.bA,null,a):(a.bA(),c&&Az(a,b))};
Fha=function(a){null!=a.La&&a.La.hideControls();var b=Ho();b=b.o("use_forced_brand_precap_duration")?b.A("forced_brand_precap_duration_ms"):2E3;Kga(a.Ta,b);var c=g.ch(function(){null!=this.La&&this.La.showControls();this.J.remove(c);this.aa.show(this.Na.Dm(),this.Ua.ty,(0,g.B)(this.La.play,this.La))},b,a);
a.J.add(c)};
Cz=function(a,b,c,d){b=gr(b.o,c);g.Za(b)||(a[d]=b[0].Wa())};
Dz=function(a,b,c){b=c.getExtension(b);null!=b&&(Cz(a,b,"annotation_click","cta_annotation_clicked"),Cz(a,b,"annotation_close","cta_annotation_closed"),Cz(a,b,"annotation_start","cta_annotation_shown"))};
Gha=function(a,b){var c=new kz;c.adFormat=js(b);c.ql=b.xc;c.Hj=gs(b).join(",");c.Jj=hs(b).join(",");1<b.B.Ge&&(c.slotPosition=b.B.o-1);c.breakType=b.We();zu(b)&&!b.ga&&(c.Ij=hu(b));c.K=a.Ua.contentId;if(a.Ta){var d={};Dz(d,"AdSense",b);Dz(d,"dart",b);Dz(d,"DFP",b);c.A=d;c.G=a.Ta.wa.G}b.isSkippable()&&!Vt(b)&&(c.J=!0);d=Ho();c.timeout=d.o("use_variable_load_timeout")?d.A("variable_load_timeout_ms"):a.Ua.fg;if(d=b.C)c.D=d.Sr;c.B=a.Ua.Lm;c.o=is(b);c.F=a.Ua.Oi;c.isPharma=Ez(a,b);c.H=!0;d=eu(a.va(),"endscreenClick");
d=g.Za(d)?null:g.hh({endscreenClick:d});c.C=d;c.zl=zz(a);c.xj=a.tb()&&Ou(a.va());c.Ui=a.tb()&&Ou(a.va());return c};
Ez=function(a,b){var c=Tr(a.ck());if(!c){var d=b.getExtension("AdSense");null!=d&&(c=d.isPharma())}return c};
Bha=function(a){var b=0,c=0;(0,g.E)(a.ads,function(e){!jw(e)||R()&&0!=c||(c++,b+=e.getDuration())},a);
var d=1;(0,g.E)(a.ads,function(e){var f=e.B;f.Ge=c;jw(e)&&(f.o=d,f.C=d,d++)},a)};
Fz=function(a){var b=a.A;return b&&b.ua&&(b=b.F,!g.Za(b)&&b[0]instanceof rr)?b[0].xf():fu(a)};
Iz=function(a,b){if(!jw(b))throw Zo(Gz);var c=b.o,d=c.D;if(null!=d)return d;var e=null!=b&&!Hz(a)&&(R()||a.Na.Wp()||a.Na.Yu()||fp());d=a.wh(b);e=a.La.NF(d,a.Ua.bitrate,a.Ua.Mm||[],e);Hha(d,a.Ua.bitrate,e,Yt(b));if(null!=e)return c.D=e;try{Iha(a,b)}catch(f){}throw Zo(Jha);};
Iha=function(a,b){if(Ip.getInstance().isLoggingEnabled()){var c=new rz,d=!1;(0,g.E)(a.wh(b),function(f){c.add(f.o);"VPAID"==f.A&&(d=!0)},a);
var e=a.La.Cu();e={aid:hu(b),mt:c.wb().join(","),smt:e.join(","),hvp:d,st:nu(b).join(",")};Ip.getInstance().report(28,e)}};
Hha=function(a,b,c,d){if(!R())try{var e=(0,g.K)(a,function(k){return k.hg}),f=(0,g.K)(a,function(k){return k.o});
a={};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.hg;a.selmt=null===c?"":c.o;a.ic=!1;a.nat=!1;a.iyh=Mo(c.Wa())?"1":"0";a.as=d;Ip.getInstance().report(22,a)}catch(k){}};
Jz=function(a){return a.M?!1:a.Ua.Lm&&(!a.Na.jk()||a.Na.jk()&&!1)};
Hz=function(a){return a.Ua.Lm&&wp(a.Na)&&!a.M&&!0};
Mz=function(a){try{var b=a.va();a.A=Iz(a,b);uz(a,(0,g.B)(tz.prototype.Tv,a,b,a.A.Wa(),a.A.o))}catch(c){Xa(a.ads,b)+1<a.ads.length&&(Kz(a,c),a.pj(),a.tb()?(ap(a,Lz,c),Mz(a)):bp(a,Lz,c))}};
Kha=function(a){try{var b=a.Re();null!==b&&(a.A=Iz(a,b),uz(a,(0,g.B)(tz.prototype.Tv,a,b,a.A.Wa(),a.A.o,!0)))}catch(c){}};
Nz=function(a,b){b in a.W||(a.W.push(b),a.ra(b))};
Lha=function(a){var b=a.va(),c={};c.pubbr=a.Ua.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.wh(b);var d=b.o;d=d?d.D:null;var e=(0,g.K)(a,function(f){return f.hg});
a=(0,g.K)(a,function(f){return f.o});
c.brs=e.join(",");c.mts=a.join(",");c.as=Yt(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.hg,c.selmt=d.o,c.iyh=Mo(d.Wa())?"1":"0",c.murl=d.Wa())}Ip.getInstance().report(45,c)};
Oz=function(a,b,c){Kz(a,c);a.pj();a.tb()?(ap(a,b,c),a.start()):(bp(a,b,c),a.stop())};
Kz=function(a,b){var c=Zo(Lz,b);c=bs(c,a.va(),a.La);var d=Zt(a.va());Vo(d,c)};
Pz=function(a){if(Q.o||R()){var b=Fz(a.va());null!=b&&Qo(b);a.ra("click")}else a.K&&a.ra("click")};
Qz=function(a,b){g.Yb(Mha,b)&&ho(a.Za(),a.C,b,a.eF,a)};
Rz=function(a){if(!a.P){var b=a.va(),c=b.G;if(Lu(b)&&!R()&&!a.Na.Wp()&&c){b=a.La.getCurrentTime();var d=a.La.getDuration(),e=new g.Pn("//s.youtube.com/s");g.Yn(e,"ns","yt");g.Yn(e,"el","adunit");g.Yn(e,"docid",c);g.Yn(e,"eurl",document.URL);g.Yn(e,"len",d.toFixed(2));g.Yn(e,"tv","1");g.Yn(e,"ps","trueview-instream");g.Yn(e,"st",b.toFixed(2));g.Yn(e,"et",b.toFixed(2));g.Yn(e,"rt",b.toFixed(2));Ro(e.toString());a.P=!0}}};
Nha=function(a){var b=a.va().W;if(null!=b){b=b.videoId;var c=a.Ua.Nj;if(g.G(g.H(b)))b=null;else{c=new g.Pn((null!=c?c:"//www.youtube.com/")+"watch");var d=c.o;d.set("v",b);Un(c,d);c.J="action=share";b=c.toString()}null!=b&&(Qo(b),a.UF())}};
Oha=function(a){a=Sz(a)||Tz(a);null!=a&&So(a,"sharebuttondisplayed")};
Sz=function(a){a=a.va().getExtension("AdSense");return null!=a?new g.Pn(a.B):null};
Tz=function(a){if(a=a.va().o)if(a=or(a,"start"),!g.Za(a))return new g.Pn(a[0].Wa());return null};
Pha=function(a){var b=a.va(),c=b.W;null!=c&&(b=Sr(c.videoId,null!=Gu(b),a.Ua.Nj),null!==b&&(a.La.pause(),Qo(b)))};
Uz=function(a){uz(a,function(){this.ra("skip");var b=Ho();b.o("skip_ad_pod_to_end")||b.o("skip_ad_pod_to_end_ads_quality")?this.stop():this.Xh()})};
Vz=function(a,b,c){var d=b.getExtension("AdSense"),e;(e=a.ea)||(e=null===c?!1:"modules"==(new g.Pn(c)).Ei().toLowerCase()||Tr(c));e=e||null!=d&&d.H;c=b.isBumper()?null:Gu(b);if(R()||Jk())d=!1;else{if(d=fp())d=!(a.Um()&&null!=a.Na&&a.Na.gu());d=d||Lu(b)||a.Ua.zy?!0:!1}if(d||!R()&&e)a.Ua.uy=!0,a.Ua.zy=!0;d=cs(b,a.La);if(R()||a.Ua.zy){var f=g.G(g.H(fu(b)))?!1:a.Ua.uy,k=b.o,l=!1;!Ez(a,b)&&null!=k&&k instanceof rr&&(l=0<$ea(k).length);k=b.isBumper();var m=a.Ua,n=R()||!1,p=R();a.uk(b);a=l;b=lv(e,b.G,c,
k,m,d);b.F=f;b.ka=m.jW;b.ma=n;b.ia=!0;b.ea=p;b.L=m.ry;b.ua=m.yy;b.xa=m.kW;b.H=m.iC;b.ba=0;b.isBumper=k;m.ry&&(b.learnMoreText=Eq("Reklamvereni Ziyaret Et").vb());b.Ia=a;return b}Xt(b)?(f=b.G,b=b.isBumper(),!g.G(g.H(f))&&null!==c&&0<kr(c)&&(e=!0),a=lv(e,f,c,b,a.Ua,d),e?a.K=Hfa:a.K=Gfa):(f=b.isBumper(),a=lv(e,b.G,c,f,a.Ua,d),a.H=!1,a.B=!1,a.D=!1,a.isBumper=f);return a};
Wz=function(a){a=a.Na.Dm();null===a?a=document.body:g.oe(a);return a};
Az=function(a,b){return g.Ug(Qha(a,b).then(a.HV,null,a).then(a.kV,null,a).then(a.GV,null,a).then(a.iK,null,a),g.A)};
Qha=function(a,b){return new g.Jg(function(c,d){lha(b,function(e){e=new Zy(e);this.tb()&&this.va().G==e.videoId?c(e):d()},function(){d()},this)},a)};
Xz=function(a){return a.tb()&&null!=a.va().W&&a.va().W.Be};
Yz=function(a){var b=a.va().ea;if(Xz(a)&&null!=b){var c=a.Ua.Nj;b=g.H(b.channelId);c=g.G(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.wb(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.La.pause(),Qo(c))}};
zz=function(a){if(Ho().o("website_actions_holdback"))return!1;a=a.va();if(!a||!a.G)return!1;var b=g.Ua(a.D,function(c){return 4==c.Zb()&&bx(c.Se(),"show_in_cta")});
return R()&&Lu(a)&&null!=b};
Rha=function(a,b){var c=a.tb()?a.va().G:null,d=a.va();if(!d||!c)return"";d=g.Ua(d.D,function(l){return 4==l.Zb()&&bx(l.Se(),"show_in_cta")});
if(!d)return"";c=d.A();var e=Ys(d);d=g.sc(e&&Xs(e)||"");e=g.sc(e&&ot(e)||" ");var f=g.sc(c.Bd()||b.authorName);var k=g.sc(pt(c)||"");c=g.sc(c.Kg().getImageUrl()||b.channelIconThumbnailUrl);return'<Extension type="InfoCards">'+('<card type="TYPE_WEBSITE"><action target="'+d+'" title="'+e+'" type="TYPE_EXTERNAL"/><placement hide_in_drawer="true" show_in_cta="true"/><website_card headline="'+f+'" description="'+k+'"><icon image_url="'+c+'"/></website_card></card>')+"</Extension>"};
Zz=function(a){g.rg.call(this);this.sessionId=a||Ac();this.A=[]};
$z=function(a,b,c,d,e){g.Qf.call(this,a);this.le=b;this.ig=c;this.kC=d;this.A=e};
aA=function(a,b){Zz.call(this,b);this.C=a;this.Gf=null;this.Z=new g.fo(this);this.logger=null;this.Z.X(ge(),"message",this.receive)};
bA=function(a){if(null==a||!g.x(a)||!g.wb(a,"ima://"))return null;a=a.substr(6);try{return JSON.parse(a)}catch(b){return null}};
Sha=function(a,b,c,d){var e={};e.name=b;e.type=c;null!=d&&(e.data=d);e.sid=a.sessionId;e.channel=a.C;return"ima://"+g.hh(e)};
cA=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.C)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};
dA=function(a,b){g.Qf.call(this,"vpaidEvent");this.sessionId=b};
eA=function(a){fw.call(this,a);this.ba=this.M=this.oc=!1;this.H=[];this.D=Ac();this.kb=this.o=null;this.A=!0;this.K=-1;this.J=new g.bh(500);this.P=this.G=-1;this.B=1;this.aa=this.Y="";this.W=this.L=this.F=!1};
gA=function(a){var b=bu(a.va());R()&&(b=Tha(a,b),b=Uha(a,b));var c=g.H(fu(a.va())),d=a.va();if(jw(d)){var e=d.o,f=tr(e,"javascript");null!=f&&(e.D=f)}d=Iu(d);c={desiredBitrate:a.Ua.bitrate,creativeData:b,viewMode:a.fd,clickThroughUrl:c,adUrl:d,volume:a.B};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Ua.surveyCreativeData&&(c.creativeData=a.Ua.surveyCreativeData);fA(a,"initAd",c);(0,g.E)(a.H,function(k){fA(this,k.type,k.params)},a);
a.oc=!0;a.H=[]};
hA=function(a,b,c){c=c||null;a.oc?fA(a,b,c):a.H.push({type:b,params:c})};
fA=function(a,b,c){c=c||{};c.session=a.D;c.type=b;iA()?window.parent.postMessage(g.hh(c),"*"):null!=a.C.contentWindow&&a.C.contentWindow.postMessage(g.hh(c),"*")};
Wha=function(a,b){var c={};b=Gb(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.E)(d,function(e){c[e]=!0});
g.Mb(Vha,function(e,f){Ho().o(f)&&(c[e]=!0)},a);
return g.Vb(c).join(" ")};
Tha=function(a,b){var c=g.vt(b),d=a.va().getExtension("why_this_ad",!0);if(null!=d){var e=d.C;(0,g.E)(c.firstChild.childNodes,function(f){f.setAttribute("use_ad_info_dialog",!0);f.setAttribute("ad_info_icon_hover_text",d.A);f.setAttribute("targeting_reasons_header",d.D);var k=g.ib(d.F);0<k.length&&(f.setAttribute("dialog_title",d.A),f.setAttribute("targeting_reasons",JSON.stringify(k)));f.setAttribute("ad_settings_button_text",e[1]);f.setAttribute("confirm_button_text",d.B);k=d.o;var l=lr(k,"why_this_ad_url");
0<l.length&&f.setAttribute("wta_shown_tracking",l[0]);l=lr(k,"why_this_ad_afim_survey");0<l.length&&f.setAttribute("wta_afim_survey",l[0]);l=lr(k,"why_this_ad_got_it");0<l.length&&f.setAttribute("wta_closed_tracking",l[0]);k=lr(k,"why_this_ad_settings_url");0<k.length&&f.setAttribute("wta_ad_settings_clicked_tracking",k[0]);e&&3==e.length&&f.setAttribute("generic_message",e[0]+e[1]+e[2])},a)}return wt(c)};
Uha=function(a,b){for(var c=g.vt(b),d=a.va(),e;null!=d;){e=d.getExtension("survey",!0);if(null!=e)break;d=d.A}if(null!=e){var f=c.firstChild.firstChild;d=Hr(e,"interstitial_viewed");(0,g.E)(d,function(k){var l=g.ie("interstitial_viewed");l.textContent=k;f.appendChild(l)},a);
d=Hr(e,"interstitial_timed_out");(0,g.E)(d,function(k){var l=g.ie("interstitial_timed_out");l.textContent=k;f.appendChild(l)},a);
d=Hr(e,"interstitial_start_clicked");(0,g.E)(d,function(k){var l=g.ie("interstitial_start_clicked");l.textContent=k;f.appendChild(l)},a);
d=Hr(e,"interstitial_dismissed");(0,g.E)(d,function(k){var l=g.ie("interstitial_dismissed");l.textContent=k;f.appendChild(l)},a);
e=Hr(e,"survey_question_displayed");(0,g.E)(e,function(k){var l=g.ie("survey_question_displayed");l.textContent=k;f.appendChild(l)},a)}return wt(c)};
jA=function(a,b,c,d){d=Zo(b,c,d);var e=bs(d,a.va()),f=Zt(a.va());Vo(f,e);b.message=d.Vd();bp(a,b,c)};
mA=function(a,b){if(g.x(b.type))switch(b.type){case "friendlyReady":gA(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Na.Yf();a.aa!=b.src&&(a.aa=b.src,a.o.load(b.src,b.mimetype));a.o.play();break;case "pause":a.o.pause()}break;case "returnDuration":a.G=b.duration;break;case "returnRemainingTime":a.K=b.remainingTime;break;case "AdClickThru":a.Ha("click");a.ra("click");break;case "AdDurationChange":a.G=b.duration;a.K=b.remainingTime;a.va().o.ka=a.G;a.ra("durationChange");break;case "AdError":jA(a,
ky,Error(b.message));a.stop();break;case "AdExpandedChange":a.ra("expandedChanged");break;case "AdImpression":var c=a.va();g.Za(au(c))||a.Rd(c);kw(a,"impression");a.L=!0;kA(a,51);break;case "AdLinearChange":c=b.isLinear;!a.A&&c?(a.ra("contentPauseRequested"),hA(a,"becameLinear")):!c&&a.A&&(a.ra("contentResumeRequested"),hA(a,"becameNonlinear"),hA(a,"getAdRemainingTime"),hA(a,"getAdDuration"));a.A=c;var d=a.va();d.ya=!0;d.xa=c;a.ra("linearChanged");break;case "AdLoaded":g.dh(a.P);a.M=!0;d=b.companions;
c=a.va();g.Za(au(c))&&(d=by(d,c.o.o),g.Za(d)||Pt(c,d));lA(a);kw(a,"loaded");break;case "AdPaused":a.F=!0;kw(a,"pause");break;case "AdPlaying":a.F=!1;kw(a,"resume");break;case "AdRemainingTimeChange":a.K=b.remainingTime;c=a.va().getDuration();d=c-a.Uc();qw(a,d,c);break;case "AdSkipped":kw(a,"skip");a.stop();break;case "AdSkippableStateChange":kw(a,"skippableStateChanged");break;case "AdStarted":a.Ha("creativeview");kA(a,52);break;case "AdStopped":a.Ha("stop");a.stop();break;case "AdUserAcceptInvitation":a.A?
a.Ha("acceptinvitationlinear"):a.Ha("acceptinvitation");break;case "AdUserMinimize":a.Ha("collapse");break;case "AdUserClose":kw(a,"userClose");break;case "AdVideoComplete":a.L&&a.W||(c={},c.aic=a.L,c.avc=a.W,kA(a,56,c));kw(a,"complete");break;case "AdVideoFirstQuartile":kw(a,"firstquartile");break;case "AdVideoMidpoint":kw(a,"midpoint");break;case "AdVideoStart":a.Ha("start");a.ra("start");a.W=!0;break;case "AdVideoThirdQuartile":kw(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.B&&
a.ra("volumeChange",{volume:c});0==c&&0!=a.B?(a.Ha("mute"),a.ra("mute")):0==a.B&&0!=c&&a.Ha("unmute");a.B=c;a.o.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.ra("interaction",c);break;case "Ping":Ro(b.url)}};
nA=function(a,b){iA()||fA(a,"wrapperCall",{messageType:b})};
lA=function(a){a.M&&a.ba&&(hA(a,"startAd"),a.J.start(),a.A||(hA(a,"becameNonlinear"),hA(a,"getAdRemainingTime")),hA(a,"getAdDuration"))};
kA=function(a,b,c){try{c=c||{};c.dn=a.Y;c["if"]=iA();c.pid=Wy.getInstance().o;var d=ku(a.va()).join();c.xy=d;Ip.getInstance().report(b,c,!0)}catch(e){}};
iA=function(){return 2==Q.F};
oA=function(){fw.call(this,[]);this.kb=null;this.re=this.se=-1;this.G=!1};
qA=function(a,b,c,d){if(a.o){var e=a.o;ho(a.Za(),e,pA,a.dispatchEvent,a);ho(a.Za(),e,"companionBackfill",a.dispatchEvent,a);ho(a.Za(),e,"adError",a.lE,a);ho(a.Za(),e,"allAdsCompleted",g.A,a);ho(a.Za(),e,"contentPauseRequested",a.vE,a);ho(a.Za(),e,"contentResumeRequested",a.Qw,a);ho(a.Za(),e,"userClose",a.hj,a);ho(a.Za(),e,"autoClose",a.fj,a);a.o.eh(a.fe);a.o.Zc(b,c,d)}};
rA=function(a){a.o&&(a.o.destroy(),a.o=null);a.Na&&a.Na.hide();g.Of(a.lc);a.lc=null};
tA=function(a,b,c){oA.call(this);this.C=c;this.A=null;this.D=this.F=this.B=!1;this.o&&rA(this);this.o=b;sA(this,b)};
vA=function(a,b,c){var d=(0,g.B)(function(e){ap(this,Xha,c);try{var f=uA([e[0]]);if(f)var k=f;else throw Error("Ads manager creation failure, failed to determine ad type.");sA(this,k);e=k;try{this.o&&rA(this),this.o=e,qA(this,this.Na,this.content,this.Ua),this.G&&this.o.pk(),this.o.bb(this.se,this.re,this.fd),this.o.init(this.fd),this.start()}catch(m){k=m;var l=e.Ab();qu(l);vA(this,ru(l),Error(k.Vd()))}}catch(m){l=m,bp(this,l.Vd(),l.Rm)}},a);
a=(0,g.B)(function(){this.ra("contentResumeRequested");bp(this,Yha,c);this.destroy()},a);
null!=b?ts(b,d,a):a(null)};
sA=function(a,b){a.A&&a.A.dispose();a.A=new g.fo(a);g.M(a,a.A);ho(a.A,b,"start",a.hQ,a)};
wA=function(a){fw.call(this,[]);this.kb=null;this.A=a;this.C=0;this.o=this.A[this.C];this.B=this.F=this.D=null;this.re=this.se=-1;this.G=!1;Zha(this)};
xA=function(a,b,c,d){if(a.o){a.D=new g.fo(a);var e=a.o,f=a.D;ho(f,e,pA,a.dispatchEvent,a);ho(f,e,"start",a.jM,a);ho(f,e,"companionBackfill",a.dispatchEvent,a);ho(f,e,"adError",a.gQ,a);ho(f,e,"allAdsCompleted",g.A,a);ho(f,e,"contentPauseRequested",a.Uh,a);ho(f,e,"contentResumeRequested",a.lg,a);ho(f,e,"userClose",a.hj,a);ho(f,e,"autoClose",a.fj,a);a.o.Zc(b,c,d)}};
Zha=function(a){var b=0,c=a.A.length;(0,g.E)(a.A,function(e){b+=e.sf().getDuration()},a);
var d=1;(0,g.E)(a.A,function(e){e=e.sf().B;e.Ge=c;e.o=d;e.C=d;d++},a)};
zA=function(a,b,c){a.C+1>=a.A.length?bp(a,Lz,c.Rm):(ap(a,Lz,c.Rm),yA(a,b))};
yA=function(a,b){if(a.o===b)if(AA(a),a.C++,a.C<a.A.length)try{a.o=a.A[a.C],a.o===a.B?(a.D=a.F,a.B=null,a.F=null,a.Na.hide(),a.Na.Vp()):(xA(a,a.Na,a.content,a.Ua),a.o.bb(a.se,a.re,a.fd),a.o.init(a.fd)),a.start()}catch(c){zA(a,a.o,c)}else a.ra("contentResumeRequested"),a.destroy()};
AA=function(a){a.D&&(a.D.dispose(),a.D=null);a.o&&(a.o.destroy(),a.o=null);a.Na&&a.Na.hide()};
$ha=function(a){var b=a.HJ;a=a.close;return Cq('<div class="'+S("overlays-action-tray")+'"><div class="'+S("ad-info-padding")+'" title="'+S(b)+'" role="button" tabindex="1"><svg class="'+S("ad-info-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M22 34h4V22h-4v12zm2-30C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm-2-22h4v-4h-4v4z"/></svg></div><div class="'+
S("close-padding condensed contains-svg")+'" title="'+S(a)+'" role="button" tabindex="0"><svg class="'+S("svg-close-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M38 12.83L35.17 10 24 21.17 12.83 10 10 12.83 21.17 24 10 35.17 12.83 38 24 26.83 35.17 38 38 35.17 26.83 24z"/><path d="M0 0h48v48H0z" fill="none"/></svg></div></div>')};
aia=function(a){var b=a.text;return Cq('<a target="_blank" href="'+S(Yq(a.url))+'" class="'+S("attribution-button")+'">'+Dq(b)+"</a>")};
BA=function(a,b){this.J=a;this.H=g.ie("DIV",{"class":"controls"});this.o=g.ie("DIV",{"class":"adDisplay"});this.P=b||g.A;this.Uf=new g.fo(this)};
CA=function(a){var b=g.ie("DIV",{"class":"ima-container"});Xu(b,"opacity 0.4s");a.Uf.X(b,"mouseover",a.VL);a.Uf.X(b,"mouseout",a.bW);b.appendChild(a.H);a.H.appendChild(a.o);return b};
DA=function(a){fw.call(this,a);this.C=null;this.M=g.ie("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.D=!1;this.H=[];this.G=null;this.L=new g.rg};
EA=function(a,b){var c=dfa(b);(0,g.E)(c,function(d){ir(this.jc.C,"click",d)},a)};
FA=function(a,b){var c=cs(b,a.La);a.jc.o=c;b.o&&(a.ah(b),c=b.o)&&(a.pg(c,bia),nw(a,b))};
GA=function(a,b){var c=bs(b,a.va()),d=Zt(a.va());Vo(d,c)};
HA=function(a,b,c,d,e,f,k){g.rg.call(this);this.A=this.J=0;this.G=a;this.Gc=b;this.ha=c;this.F=null;this.qb=d;this.M=f;this.Y=Q.C;this.K=this.D=this.H=this.o=null;this.re=this.se=-1;this.ba="normal";this.P=null;this.B=e;this.C=[];this.ga=this.L=this.ea=this.W=!1;this.aa=k;this.kb=null;cia(this)};
IA=function(a,b,c,d){a.se=b;a.re=c;null!=d&&(a.ba=d);null!=a.o&&a.o.bb(b,c,d)};
cia=function(a){(0,g.E)(a.G,function(b){dia(b)})};
JA=function(a){return a.J<a.G.length&&null!=a.G[a.J]};
eia=function(a,b){var c;if(c=R()&&!g.Za(b)&&0==a.Gc)c=b[0],c=null!=c&&null==Iu(c)&&Du(c,"nonlinear");return c?(c=lu(b[0]),"ADSENSE"==(0<c.length?c.pop():Yt(b[0])).toUpperCase()):!1};
PA=function(a){!JA(a)||2<=a.C.length-a.A?a.ea||(LA(a),a.og()&&MA(a,a.A)&&NA(a,a.A)&&OA(a,a.A),a.ea=!0,a.dispatchEvent("adBreakInitialized")):KA(a)};
KA=function(a){var b=a.G[a.J];ho(a.Z,a.qb,"adsLoaderSdkAdLoaded",a.jE,a);Q.C="on_master_ad";fia(a.qb,b.A,b)};
LA=function(a){null==a.Gc||(0,g.Ik)(a.C,function(b){return!b.isBumper()})||(a.C=(0,g.re)(a.C,function(b){return!(b.isBumper()&&!b.C)}))};
MA=function(a,b){if(b<a.C.length){var c=a.C[b];g.Za(c.o)?c=!1:(c=c.o[0],c=null!=c?!dq(Rt(c),"rm"):!1)}else c=!1;return c};
WA=function(a){if(MA(a,a.A)){var b=a.C[a.A];try{a.L?QA(a,a.o):a.og()&&NA(a,a.A)?(null===a.D&&OA(a,a.A),RA(a),a.o=a.D,a.H=a.K,a.D=null,a.K=null,a.B.Vp()):(RA(a),a.H=new g.fo(a),a.o=SA(a,b,a.H),QA(a,a.o));null!=a.F&&(a.F.dispose(),a.F=null);if(TA(a.o)){var c=a.Ab();if(null==c||!Eu(c)){var d=a.o.va().o;if(null!==d){var e=d.Ga;0>=e&&!a.M.kA||(0>=e&&(e=15),a.F=new g.bh(1E3*e),ko(a.H,a.F,"tick",a.yS,a))}}}if(TA(a.o))a.dispatchEvent("contentResumeRequested"),a.B.Jd(),a.o.start(),null!=a.F&&a.F.start();else{var f=
a.o;if(null!=f&&f instanceof tz)a.B.Yf(),a.o.start();else{var k=a.o;if(null!=k&&k instanceof eA){var l=a.o;a.B.Jd();l.ac()?iA()||a.B.Yf():a.dispatchEvent("contentResumeRequested");a.o.start()}else{var m=a.o;if(null!=m&&(m instanceof ny||m instanceof hy))a.B.Jd(),a.o.ac()||a.dispatchEvent("contentResumeRequested"),a.o.start();else{var n;if(!(n=UA(a.o))){var p=a.o;n=null!=p&&p instanceof tA}if(n)a.o.start();else throw Error("Unknown ads manager type.");}}}}a.og()&&MA(a,a.A+1)&&NA(a,a.A+1)&&1==VA(a)&&
OA(a,a.A+1)}catch(q){a.A++,WA(a)}JA(a)&&KA(a)}else a.dispatchEvent("contentResumeRequested"),XA(a)};
QA=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.ba);null!=a.P&&b.setVolume(a.P)};
SA=function(a,b,c){b=YA(a.qb.C,b.o);var d=new ro(a.B,a.og());b.eh(a.aa);ho(c,b,pA,a.kE,a);ho(c,b,"companionBackfill",a.kE,a);ho(c,b,"adError",a.eQ,a);ho(c,b,"allAdsCompleted",g.A,a);ho(c,b,"contentPauseRequested",a.Uh,a);ho(c,b,"contentResumeRequested",a.lg,a);ho(c,b,"userClose",a.hj,a);ho(c,b,"autoClose",a.fj,a);b.Zc(d,{currentTime:0},a.M);b.bb(a.se,a.re,a.ba);return b};
RA=function(a){a.B.hide();null!=a.F&&(a.F.dispose(),a.F=null);null!=a.H&&(a.H.dispose(),a.H=null);null!=a.o&&(a.o.destroy(),a.o=null)};
ZA=function(a){null!=a.K&&(a.K.dispose(),a.K=null);null!=a.D&&(a.D.destroy(),a.D=null)};
UA=function(a){return null!=a&&a instanceof wA};
TA=function(a){return null!=a&&a instanceof DA};
XA=function(a){a.W=!1;a.dispatchEvent("allAdsCompleted")};
VA=function(a){return null===a.o||g.Za(a.o.ads)?0:a.o.ads.length};
gia=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.E)(a.C,function(k,l){var m=k.o;-1!=Xa(m,c)&&k.isBumper();d+=m.length;l<this.A&&(e+=m.length)},a);
b=c.B;var f=e+b.C;b.Ge=d+(a.G.length-a.J);b.o=f;b.B=a.ha;b.A=a.Gc}};
OA=function(a,b){var c=a.C[b];a.K=new g.fo(a);a.D=SA(a,c,a.K);QA(a,a.D)};
NA=function(a,b){if(0<=b&&b<a.C.length){var c=a.C[b].o[0];return null!=Iu(c)||null!=Ju(c)?!1:!0}return!1};
$A=function(a){this.o=a};
hia=function(a){this.A=a};
aB=function(a){this.A=a;this.o=this.isBumper=!1;this.C=null;this.mp=!1};
dia=function(a){if(null!=a.A.o&&(a=g.nh(a.A.o)[6]||null)){var b=null;rh(a,function(c,d){if(null==b)switch(c){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
bB=function(){this.o=new g.Jn};
cB=function(a,b,c){if(isNaN(c)||!g.Ca(c))throw Error("Incorrect time offset.");var d=[];Ln(a.o,c)&&(d=a.o.get(c,[]));(0,g.E)(b,function(e){null!=e&&g.bb(d,e)});
a.o.set(c,d)};
dB=function(a,b){this.o=a;this.A=b};
jia=function(a){var b=new bB;(0,g.E)(se(ue(a.o)),function(c){switch(c.nodeName){case "Preroll":c=eB(this,c);cB(b,c,0);break;case "Midroll":var d=Ct(c,"timeOffset"),e=Gt(d);if(-1==e)throw Yo(fB,null,"timeOffset",g.H(d));c=eB(this,c);cB(b,c,e);break;case "Postroll":c=eB(this,c);cB(b,c,-1);break;default:throw Yo(gB,null,c.parentNode.nodeName,c.nodeName);}},a);
if(0==b.o.Gb().length)throw Yo(iia);return b};
eB=function(a,b){var c=[];(0,g.E)(se(b),function(d){switch(d.nodeName){case "Ad":var e=g.H(Dt(d));if(!g.G(e)){d=Ct(d,"bumper");var f=this.A.clone();f.o=e;e=new aB(f);e.isBumper=null!=d;e.o="always"==d;g.bb(c,e)}break;default:throw Yo(gB,null,d.parentNode.nodeName,d.nodeName);}},a);
return c};
hB=function(a){g.Qf.call(this,a);this.o=this.A=null};
iB=function(){g.rg.call(this);this.currentTime=0};
kB=function(a,b,c){g.rg.call(this);c=c||new jB;this.A=a;this.D=c.G;this.H=c.F;this.L=c.D;this.J=c.o;this.K=c.C;this.F=c.A;this.G=c.B;this.B=!1;this.Z=null;this.C=!1;this.o=kia(b)};
jB=function(){this.F=0;this.C=this.o=this.G=this.D=!1;this.B=this.A=5};
lB=function(a){this.o=a.Gc;this.D=g.Ma(a);this.C=this.A=!1;this.LM=5==a.We();this.B=this.Ae=!1};
mB=function(a,b){return pb(a.o,b.o)};
nB=function(a){a.A.start();a.C=!0};
lia=function(a){if(a.C){var b=g.Ua(a.o,function(c){return-1==c.o},a);
null!=b&&oB(a,!0,b)}};
kia=function(a){var b=[];(0,g.E)(a,g.Na(function(c,d){c(new lB(d))},g.Na(function(c,d){g.ub(c,d,mB)},b)));
return b};
mia=function(a,b){for(var c=[],d=0;d<a.o.length;d++){var e=a.o[d];-1!=e.o&&e.o<=b&&g.bb(c,e)}return c};
pB=function(a,b){return Wa(a,g.Na(function(c,d){return d.LM==c},b))};
nia=function(a){var b=[],c=pB(a,!1);c&&b.push(c);(a=pB(a,!0))&&g.ub(b,a,mB);return b};
oia=function(a,b){for(var c=0;c<a.o.length;c++){var d=a.o[c];if(qB(a,d,a.H,b,!0,a.L)&&!a.o[c].A)return d}return null};
qB=function(a,b,c,d,e,f){return-1==b.o?f&&0<a.A.duration&&d>=a.A.duration-c:e&&d>=b.o-c&&d<b.o};
rB=function(a,b){var c=new hB("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
oB=function(a,b,c){null!=c&&(c.A||(sB(a,"requestAds",c),c.A=!0),b&&!c.C&&(sB(a,"playAds",c),c.C=!0))};
pia=function(a,b){var c;a:{for(c=0;c<a.o.length;c++){var d=a.o[c];if(qB(a,d,-1==d.o?a.G:a.F,b,a.J,a.K)&&d.Ae&&!d.B){c=d;break a}}c=null}null==c?a.B&&(a.dispatchEvent(new hB("discardAdNotify")),a.B=!1):a.B||c.C||(sB(a,"adNotify",c),a.B=!0)};
sB=function(a,b,c){b=new hB(b);b.A=c.o;b.o=c.D;a.dispatchEvent(b)};
tB=function(a){iB.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||isNaN(a.currentTime))throw Zo(Up,null,"content","currentTime");this.duration="duration"in a&&!isNaN(a.duration)?a.duration:-1;this.o=a;this.Fa=new g.bh(250);this.A=new g.fo(this);ho(this.A,this.Fa,"tick",this.C,this)};
qia=function(){};
uB=function(a,b,c){if(g.Za(a))return null;a=(0,g.re)(a,function(d){var e=d.C;return"application/x-mpegurl"==g.H(d.o).toLowerCase()||"application/dash+xml"==g.H(d.o).toLowerCase()||"progressive"==e});
g.Za(c)||(c=(0,g.K)(c,function(d){return d.toLowerCase()}),a=(0,g.re)(a,function(d){return g.Ya(c,g.H(d.o).toLowerCase())}));
if(!g.Ca(b)||0>=b)b=Fi()?500:1E3;return ria(a,b)};
ria=function(a,b){return sia(a,b)||tia(a,b)||uia(a,b)};
sia=function(a,b){var c=null;(0,g.E)(a,function(d){var e=d.Zi,f=d.hg;e>b||f<b||!(null==c||c.Zi>e)||(c=d)});
return c};
tia=function(a,b){var c=null;(0,g.E)(a,function(d){var e=d.Zi,f=d.hg;f>b||(null==c||c.hg<f?c=d:null!=c&&c.hg==f&&c.Zi>e&&(c=d))});
return c};
uia=function(a,b){var c=null;(0,g.E)(a,function(d){var e=d.Zi,f=d.hg;if(!(e<b))if(null!=c&&c.Zi==e&&c.hg<f)c=d;else if(null==c||c.Zi>e)c=d});
return c};
vB=function(){this.A=0;this.o=[]};
wB=function(a,b){if(b>=a.o.length)throw Error("Out of bounds exception");return 4>a.o.length?b:(a.A+Number(b))%4};
xB=function(a){g.rg.call(this);this.o=a;this.W=new vB;this.A=0;this.M=this.C=this.oc=this.F=!1;this.K=this.Ch();this.J=this.kk();this.P=1E4;this.L=!1};
zB=function(a){a.oc=!1;a.C=!1;a.F=!1;a.A=0;a.M=!1;a.W.clear();yB(a);g.Of(a.B)};
AB=function(a,b){a.C||(a.C=!0,yB(a),a.dispatchEvent("start"),g.Ja(a.o.getAttribute)&&a.o.getAttribute("playsinline"),up()||!g.np||pp(3)||ip()&&!mp(4)||a.cv(b))};
BB=function(a){for(var b=a.o.buffered.length-1;0<=b;){if(a.o.buffered.start(b)<=a.o.currentTime)return a.o.buffered.end(b);b--}return 0};
yB=function(a){a.H&&(g.dh(a.H),a.H=null)};
DB=function(){g.rg.call(this);this.buffered=new CB;this.Z=new g.fo(this);var a=uo();if(a){a:{if(Xb(a.o,"videoElementMockDuration")&&(a=a.o.videoElementMockDuration,g.Ca(a)))break a;a=NaN}this.duration=a}};
via=function(){var a=["video/mp4"],b=["video/ogg"],c=new DB;c.canPlayType=function(d){return g.Ya(a,d)?"probably":g.Ya(b,d)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
wia=function(a){this.startTime=0;this.endTime=a};
CB=function(){this.length=0;this.o=[]};
EB=function(a,b,c,d){if(null==a||!g.we(Ud(a),a))throw Zo(Up,null,"containerElement","element");this.D=a;this.A=this.o=null;this.B=b;this.G=!d;this.F=c||!1;this.C=null;this.o=g.ie("DIV",{style:"display:none;"});this.D.appendChild(this.o);this.G&&(a=uo(),vo(a,"useVideoElementMock")?(a=via(),b=g.ie("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Oa(b,a),a.Ol=g.ie("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.Zp=g.ie("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.Ol.appendChild(a.Zp),b.appendChild(a.Ol),a.Z.X(a,["loadeddata","playing","pause","ended"],a.tU),a=b):a=g.ie("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:Eq("Reklam").vb()}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.A=a,this.o.appendChild(this.A));this.B&&(a="display:none;position:absolute;width:100%;height:100%;",Q.B||(a+="background-color:#000;"),
a=g.ie("DIV",{id:this.B,style:a}),this.o.appendChild(a));this.F&&(this.C=g.ie("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.o.appendChild(this.C))};
FB=function(a,b,c,d){g.L.call(this);this.B=b||null;this.G="*";this.A=c||null;this.sessionId=null;this.channel=d||null;this.K=!!a;this.D=(0,g.B)(this.H,this);window.addEventListener("message",this.D)};
GB=function(a,b){"null"!=b.origin&&(a.A=a.G=b.origin);a.B=b.source};
HB=function(a){FB.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.A="*";this.o={};this.C=[];this.F=!1};
IB=function(a){a.F=!0;(0,g.E)(a.C,function(b){this.sendMessage(b)},a);
a.C.length=0};
xia=function(){};
JB=function(a,b){this.o=a;this.B=new rz;this.F=(0,g.B)(this.G,this);this.J=Math.floor(2147483646*Math.random())+1;this.A=b||new HB(this.J);g.M(this,this.A);this.Z=new g.fo(this);g.M(this,this.Z);var c=(0,g.B)(a.play,a);this.A.o.play=c;c=(0,g.B)(a.load,a);this.A.o.load=c;c=(0,g.B)(a.pause,a);this.A.o.pause=c;c=(0,g.B)(this.D,this);this.A.o.listen=c;c=(0,g.B)(this.H,this);this.A.o.unlisten=c;c=(0,g.B)(this.C,this,"src");this.A.o.setSource=c;c=(0,g.B)(this.C,this,"muted");this.A.o.setMuted=c;c=(0,g.B)(this.C,
this,"volume");this.A.o.setVolume=c};
MB=function(a,b){g.rg.call(this);this.Y="ima-chromeless-video";var c=null;null!=a&&(g.x(a)?this.Y=a:c=a);this.Z=new g.fo(this);this.F=null;this.P=this.B=!1;this.xa=new g.Qd(0,0);this.ka=this.kk();this.K=-1;this.ea=!1;this.G=-1;this.A=this.ga=this.L=null;this.ba="";this.C=!1;this.ia=null!=c;this.za=this.o=null;this.W=b||null;this.Ra=Ho().o("abort_ad_on_browser_autoplay_blocked");this.Ga=this.M=this.ha=null;this.D=void 0;this.J=this.ua=null;this.H=this.Ia=0;this.ma=null;if(this.ia)this.C=!0,this.o=
c,this.D=2;else if(c=(0,g.B)(this.jK,this),KB)c();else{LB.push(c);c=g.ke("SCRIPT");Id(c,yia);var d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d)}};
OB=function(a,b,c){null!==b&&(a.ba=b,a.C?NB(a,b,c):(a.L=b,a.ga=c))};
NB=function(a,b,c){var d={autoplay:"1"};Q.B&&(d.dash=0);null!=a.A&&(null!=a.A.Ij&&(d.agcid=a.A.Ij),0<=a.A.slotPosition&&(d.slot_pos=a.A.slotPosition),null!=a.A.breakType&&(d.break_type=a.A.breakType),null!=a.A.adFormat&&(d.adformat=a.A.adFormat),null!=a.A.Hj&&(d.ad_id=a.A.Hj),null!=a.A.Jj&&(d.ad_sys=a.A.Jj),null!=a.A.o&&(d.ad_query_id=a.A.o),a.A.A&&(d.cta_conversion_urls=a.A.A),a.A.C&&(d.endscreen_ad_tracking_data=a.A.C),a.A.zl&&(d.wait_for_vast_info_cards_xml=1),a.A.xj&&(d.suppress_creator_endscreen=
1),a.A.Ui&&(d.is_trueview_action=1),a.A.isPharma&&(d.is_pharma=1),d.iv_load_policy=a.A.G?1:3,a.A.D&&(d.noiba=1),a.A.J&&(d.utpsa=1),a.A.H&&(d.autoplay="1"),a.A.ql&&(d.third_party_remapped_ad="1"),a.A.F&&g.kc(d,a.A.F));var e=Rr(b);null===e?(c=null===c?"":c,b="url="+encodeURIComponent(b)+"&type="+encodeURIComponent(c),d.url_encoded_third_party_media=b):d.videoId=e;!R()&&(d.enabled_engage_types="3,4,5,6");a.B=!1;a.P=!1;a.A&&a.A.B?(a.ua=d,a.o.preloadVideoByPlayerVars(a.ua)):a.o.cueVideoByPlayerVars(d);
a.dispatchEvent("loaded")};
PB=function(a,b){var c=b;!c&&a.W&&(c=a.W());a.ma=Zo(zia,null,c||"na");a.dispatchEvent("error")};
QB=function(a){a.Z.Ka(a.F,"tick",a.zE);null!=a.F&&(a.F.stop(),a.F=null)};
RB=function(a){null!=a.Ma&&g.dh(a.Ma)};
SB=function(a,b){g.rg.call(this);this.C=a;this.A=b;this.o={};this.Z=new g.fo(this);this.Z.X(ge(),"message",this.B);this.kb=null};
UB=function(a,b,c,d){a.o.hasOwnProperty(b)||(c=new aA(b,c),a.Z.X(c,a.C,function(e){e=new TB(e.type,e.le,e.ig,e.kC,e.getOrigin(),b);this.dispatchEvent(e)}),c.Gf=d,c.connect(),a.o[b]=c)};
TB=function(a,b,c,d,e,f){$z.call(this,a,b,c,d,e);this.o=f};
WB=function(){var a=g.z("google.ima.gptProxyInstance",ge());if(null!=a)return a;g.fo.call(this);this.C=new SB("gpt",!0);g.M(this,this.C);this.X(this.C,"gpt",this.F);this.kb=this.o=null;VB()||ge().top===ge()||(this.o=new SB("gpt",!1),g.M(this,this.o),this.X(this.o,"gpt",this.D))};
VB=function(){return!!g.z("googletag.cmd",ge())};
XB=function(){var a=g.z("googletag.console",ge());return null!=a?a:null};
Aia=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(e,f,k,l,m,n,p,q){if("%"==n)return"%";var u=c.shift();if("undefined"==typeof u)throw Error("[goog.string.format] Not enough arguments");arguments[0]=u;return YB[n].apply(null,arguments)})};
aC=function(a,b){g.rg.call(this);this.Z=new g.fo(this);this.H=!1;this.J=Ac();this.G=new g.Jn;var c=this.J;var d=(Lba()?"https:":"http:")+Aia("//imasdk.googleapis.com/js/core/bridge0.0.0_%s.html","en");a:{var e=window;try{do{try{if(0==e.location.href.indexOf(d)||0==e.document.referrer.indexOf(d)){var f=!0;break a}}catch(k){}e=e.parent}while(e!=e.top)}catch(k){}f=!1}f&&(d+="?f="+c);c=g.ie("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});
this.Z.Nh(c,"load",this.HK);a.appendChild(c);this.A=c;c=this.G.get("*");null==c&&(c=new aA(this.J,"*"),this.H&&(c.Gf=xe(this.A),c.connect()),this.G.set("*",c));this.F=c;this.D=b;this.o=this.D.A;this.kb=this.C=this.B=null;this.Z.X(this.F,"mouse",this.oL);this.Z.X(this.F,"touch",this.FL);null!=this.o&&(this.Z.X(this.F,"displayContainer",this.kL),this.Z.X(this.F,"videoDisplay",this.BL),this.Z.X(this.F,"preloadVideoDisplay",this.vL),this.Z.X(this.o,g.Ub(ZB),this.ng),this.Z.X(this.o,$B,this.ng));c=ge();
d=g.z("google.ima.gptProxyInstance",c);null==d&&(d=new WB,g.Da("google.ima.gptProxyInstance",d,c))};
bC=function(a,b){var c=g.hi(a.A),d=!!("TouchEvent"in window&&0<TouchEvent.length),e=(0,g.K)(b,function(f){return d?new Touch({identifier:f.identifier,target:this.A,clientX:f.clientX,clientY:f.clientY,screenX:f.screenX,screenY:f.screenY,pageX:f.pageX+c.x,pageY:f.pageY+c.y}):document.createTouch(window,this.A,f.identifier,f.pageX+c.x,f.pageY+c.y,f.screenX,f.screenY)},a);
return document.createTouchList.apply(document,e)};
cC=function(a){a=a.playbackOptions;var b=new kz;b.adFormat=a.adFormat;b.Ij=a.adSenseAgcid;b.K=a.contentVideoDocId;b.A=a.ctaAnnotationTrackingEvents;a.showAnnotations&&(b.G=!0);a.viewCountsDisabled&&(b.J=!0);b.timeout=a.loadVideoTimeout;a.ibaDisabled&&(b.D=!0);a.enablePreloading&&(b.B=!0);b.o=a.adQemId;a.isPharma&&(b.isPharma=!0);a.useAutoplayFlag&&(b.H=!0);b.C=a.endscreenAdTracking;a.waitForVastInfoCardsXml&&(b.zl=!0);a.suppressCreatorEndscreen&&(b.xj=!0);a.isTrueViewAction&&(b.Ui=!0);return b};
dC=function(a,b,c,d){this.H=a;var e=null!=c;Jo(Go(),136961005)&&(Q.K=!0);var f=e,k=!1;Q.K?Q.o||(vp()&&e||(f=!1),!f&&Q.K&&!R()&&fp()&&(Q.B=!0),!Q.B&&fp()||Jk()||(k=!0)):Q.o||vp()&&e||(!Q.B&&fp()||Jk()||(k=!0),f=!1);this.J=f;this.L=k||f&&null!=c;Q.o?a=null:(e=g.ie("DIV",{style:"position:absolute"}),a.insertBefore(e,a.firstChild),a=e);this.C=a;this.o=this.J||!this.C||Q.o||!fp()?null:new EB(this.C,null,!0);e=a=null;this.J?c&&(a=new MB(c,d)):this.o&&(a=new xB(this.o.A),e=this.o.A);d=null;e&&Q.B&&k&&(d=
new JB(e));this.K=d;this.A=a;this.D=this.B=null;k=g.np&&!pp(4);d=ip()&&fp();this.o&&this.A&&this.C&&!this.J&&!Jk()&&!k&&!d&&this.C&&(this.B=new EB(this.C,null,!0),this.D=new xB(this.B.A));this.F=this.A?b||null:null;this.M=null!=this.F;Ip.getInstance().report(8,{enabled:this.J,yt:null!=c,customClick:null!=this.F});null===this.C&&(b=this.H,Q.G=b);this.G=null==this.C||Q.o?null:new aC(this.C,this)};
eC=function(a){return a.M&&a.F?a.F:null!=a.o?a.o.C:null};
fC=function(a){this.o=a};
gC=function(a,b){g.Qf.call(this,"adsManagerLoaded");this.o=a;this.A=b};
hC=function(a,b,c,d){a.o.Zc(new fC(b),c,d);return a.o};
iC=function(){};
jC=function(){g.rg.call(this);this.Ae=!1;this.impressionUrls=[]};
kC=function(a,b,c){g.Qf.call(this,a);this.A=b||null;this.o=c||null};
mC=function(a,b){g.rg.call(this);this.o=a;this.F=!!b;this.B=lC(this);this.B||(this.A=g.cg(this.o,g.de&&!g.Lc("7")?"readystatechange":"load",this.D,!1,this),this.C=window.setInterval((0,g.B)(this.D,this),100))};
nC=function(a){a.C&&(window.clearInterval(a.C),a.C=null)};
lC=function(a){var b=!1;try{if(a.F||!g.de||g.Lc("11")){var c=a.o,d=(c.contentDocument||c.contentWindow.document).body;b=a.F?!!d&&!!d.firstChild:!!d}else b="complete"==a.o.readyState}catch(e){}return b};
oC=function(){jC.call(this);this.G=[];this.D=!1;this.C="not_loaded";this.A=null;this.B=0;this.o=this.kb=null;this.H=new Td};
pC=function(a){var b=["googletag","googletag.cmd"];return g.Ua(a,function(c){return(0,g.Fj)(b,function(d){return null!==g.z(d,c)})})||null};
qC=function(a){return a.Ae?(0,g.K)(a.G,function(b){return b.clone()}):[]};
Bia=function(a){a=qC(a);if(null!=a)return(0,g.K)(a,function(b){return b.H})};
rC=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.Pn(b.o),d=Number(b.o.get("pod")||0),e=Number(b.o.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(fs.o,d,e,c)}catch(f){}};
Cia=function(a,b){var c=sC(a);if(null!==c){rC(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
uC=function(a,b,c){a=tC(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
vC=function(a,b){a.F=b;uC(a,"","");var c=sC(a);null===c||rC(c,null,!1)};
sC=function(a){null==a.o&&wC(a);return null!=a.o&&null!=a.o.googletag&&null!=a.o.googletag.companionAds?a.o.googletag.companionAds():null};
tC=function(a){null==a.o&&wC(a);return null!=a.o&&null!=a.o.googletag&&null!=a.o.googletag.pubads?a.o.googletag.pubads():null};
xC=function(a){a.A&&(a.A.stop(),a.A.Ka("tick",a.NE,!1,a),a.A.dispose(),a.A=null)};
BC=function(a){if("retrieved"!=a.C&&"not_available"!=a.C&&null!==sC(a)){var b=sC(a);if(null!==b&&g.Ja(b.getDisplayAdsCorrelator))try{var c=g.H(b.getDisplayAdsCorrelator())}catch(f){c=null}else c=null;switch(c){case "not_loaded":case "not_available":a.C=c;break;default:c=Number(c),isNaN(c)?a.C="not_available":(a.F=c,a.C="retrieved")}}(c=yC(a))||(c=zC(a)&&"not_available"==a.C);if(c){if(!a.J&&zC(a)){try{if(null==a.o)var d=[];else{var e=a.o.googleGetCompanionAdSlots();d=(0,g.K)(e,a.zV,a)}}catch(f){d=
[]}a.G=d;a.J=!0}a.Ae=!0;xC(a);yC(a)?a.dispatchEvent(new kC("companions_success")):AC(a)}else a.A||(a.B=(0,g.J)()+15E3,a.A=new g.bh(100),a.A.X("tick",a.NE,!1,a),a.A.start())};
yC=function(a){return zC(a)&&"retrieved"==a.C};
zC=function(a){a.D||(wC(a),a.D=null!=a.o&&null!=a.o.googleGetCompanionAdSlots);return a.D};
wC=function(a){var b=Ge(a.H);try{a.o=pC([b,b.top])}catch(c){a.o=null}};
AC=function(a){a.dispatchEvent(new kC("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
Dia=function(a,b,c){var d=new mC(b,!0);d.Jb()?CC(a,c,b):bg(d,"ifload",g.Na(function(e){CC(this,c,e)},b),!1,a)};
CC=function(a,b,c){a.dispatchEvent(new kC("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.cg(d,"click",(0,g.B)(a.YQ,a,b),!1,a)};
DC=function(){g.rg.call(this);this.C=[]};
EC=function(){return new Qt("empty-ad","GDFP","GDFP","",0,[],[],[],[],new g.Jn)};
FC=function(a){DC.call(this);this.o=a;this.G=this.kb=null;this.F=!1;this.B=null;this.Z=new g.fo;ho(this.Z,this.o,["companions_success","companion_initialization_failed"],this.FT,this);ho(this.Z,this.o,"companion_display_error",this.aR,this);ho(this.Z,this.o,["companion_slot_init","companion_click"],this.WQ,this);this.o.Ae?this.F=!0:this.o.initialize()};
HC=function(a){var b=a.B;a.B=null;if(null!=a.o)if(g.Za(a.C))GC(a,Error("Companion slots not available."));else if(null!=b){var c=Eia(a,b);a.o.Rd(a.C);if(0<c.length&&b.Ia){a=a.o;var d;if(d=0!=c.length)d=nu(b),d="GDFP"==(iu(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].J);b=b.C;c=sC(a);if(null!==c){rC(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else GC(a,Error("Invalid master ad."))};
GC=function(a,b){a.dispatchEvent(new nq("companion_display_error",b))};
Eia=function(a,b){var c=[],d=[];(0,g.E)(a.C,function(f){qq(f);(0,g.Ik)(f.H,function(k){a:{k=tu(b,k.width,k.height);if(!g.Za(k)&&(k=Fia(k,c),null!=k)){var l=k.C;if(null!=l&&0!=f.J.indexOf(l)){k=!1;break a}l=k.o.L;jb(l,eu(b,"companionClick"));var m=eu(b,"companionImpression"),n=R()&&"Html"==k.o.M&&k.B;c.push(k);if(n)pq(f,k.zd(),k.ab(),k.getHeight(),m);else{n=k.vb();var p=k.ab(),q=k.getHeight();k="IFrame"!=k.o.M;f.G=n;f.B=null;f.C=p;f.o=q;f.A=k;f.D=m||[];f.F=l||[]}k=!0;break a}k=!1}return k},this)||
d.push(f)},a);
var e=IC(b);a.D=JC(e,c);a.D||(0,g.E)(a.C,function(f){qq(f)},a);
return d};
JC=function(a,b){if(null==a)return!0;var c=a.o;return"all"==a.A?Gia(c,b):"any"==a.A?Hia(c,b):!0};
IC=function(a){return null==a||null==a.o||isNaN(a.o.o)?null:g.Ua(Cu(a,!0),function(b){b=b.o;return g.Za(b)?!1:isNaN(b[0].o.o)?!1:b[0].o.o==Xp(b[0])})};
Gia=function(a,b){return(0,g.Fj)(a,function(c){return g.Ya(b,c)})};
Hia=function(a,b){return(0,g.Ik)(a,function(c){return g.Ya(b,c)})};
Fia=function(a,b){return g.Ua(a,function(c){return!g.Ya(b,c)})};
KC=function(a,b){this.B=a;this.A=b;this.o=this.kb=null};
Iia=function(a){var b=[],c=Bt(a,"vmap:Extensions")[0];if(c){var d;Et(c,"vmap:Extension",function(e){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=e)});
if(d&&(b=Bt(d,"yt:BreakTime"),!g.Za(b)))return(0,g.K)(b,function(e){return Ct(e,"timeOffset")})}return[Ct(a,"timeOffset")]};
Jia=function(a,b){return(0,g.K)(b,function(c){var d=new aB(c.A.clone());d.isBumper=c.isBumper;d.o=c.o;return d},a)};
Kia=function(a){return(a=g.Ua(se(a),function(b){return"vmap:VASTData"==b.nodeName||"vmap:VASTAdData"==b.nodeName}))?g.Ua(se(a),function(b){return"VAST"==b.nodeName}):null};
Lia=function(a){var b=null,c=!1;a=g.Ua(a,g.Na(LC,"type","youtube"));null!=a&&(a=(0,g.re)(a.getElementsByTagName("*"),function(d){return"yt:BreakProperty"==d.tagName}),g.Za(a)||(a=a[0],a.hasAttribute("break_type")&&(b=iea(a.getAttribute("break_type"))),Ho().o("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=Ht(c))));
return{breakType:b,mp:c}};
LC=function(a,b,c){return Ct(c,a)==b};
Nia=function(a,b){if(null!=a){if(null!=a){var c=ue(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return Xy(),new dB(a,b);null!=a?(c=ue(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return Xy(),new KC(a,b);if($x(a)){if(!$x(a))throw Yo(gB);c=ue(a);var d=cy(c);if(1>d||4<d)throw Yo(Mia);c=Bt(c,"Ad");if(g.Za(c))throw Yo(MC);c=dy(c[0]);if(null==c)throw Yo(NC);if(1!=Bt(c,"AdSystem").length)throw Yo(NC);return new Zx(a)}}return null};
Oia=function(a){a=(0,g.re)(a,function(b){return 0<pu(b)});
g.sb(a,function(b,c){return pu(b)-pu(c)});
return a};
Pia=function(a){return(0,g.re)(a,function(b){return-1==pu(b)})};
vs=function(a){this.Mf=a};
Qia=function(){this.kb=null;this.o=0};
Ria=function(a,b,c,d,e,f,k){var l=(0,g.B)(function(n){d(n,Error(uy(n)))},a),m=(0,g.B)(function(n){6==n?OC(this,b,!1,c,l,e,f,k):l(n)},a);
OC(a,b,!0,c,m,e,f,k)};
OC=function(a,b,c,d,e,f,k,l){var m=new g.By;m.H=c;Cy(m,Sia(f));var n=new g.fo,p=(0,g.B)(function(){n.dispose();m.dispose()},a);
c=(0,g.B)(function(){e(m.A);p()},a);
ko(n,m,"success",function(){try{var u=m.o?m.o.responseXML:null}catch(D){u=null}if(null==u){var w=g.Ly(m);try{u=g.vt(w)}catch(D){u=ut("parsererror")}}d(u);p()},a);
ko(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.Pn(b);var q=b.o.toString();Un(b,"");b=b.toString()}R()&&"POST"!=k&&(q=Tia(b,k),b=q.url,k=q.wV,q=q.content);a.o=(0,g.J)();m.send(Oo(b),k,q,l)};
Tia=function(a,b){var c=new iC;c.o=a;if(Ms(c)){c=new g.Pn(a);var d=c.o.get("post_data");if(g.v(d)){b="POST";c.o.remove("post_data");a=c.toString();var e=d}}return{url:a,wV:b,content:e}};
PC=function(a,b){this.A=a;this.C=b};
QC=function(a,b){"auto"!=a.A.Bj&&"click"!=a.A.Bj||b.set("vpa",a.A.Bj)};
RC=function(a){g.G(Q.getPlayerType())||(a.set("mpt",Q.getPlayerType()),g.G("")||a.set("mpv",""))};
SC=function(a,b){var c=a.C.F,d=a.C.A;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.A.L;null!=c&&b.set("mv",c+"."+(a.A.K||""))};
TC=function(a,b){var c=2;var d=P&&Mj()?!1:tj(Ij().A);!Jk()&&d&&(c|=2048);b.set("osd",c);-1!=a.C.L&&b.set("frm",a.C.L);c=a.C.aa;null!=c&&b.set("ms",c);b.set("sdr",1)};
UC=function(a){return Q.o?"h.3.0.0":null!=a.C?Hp(a.C):null};
VC=function(){this.o=["video"]};
WC=function(a,b){a.set("sz",Math.max(null!=b.ik?b.ik:0,null!=b.wf?b.wf:0)+"x"+Math.max(null!=b.hk?b.hk:0,null!=b.vf?b.vf:0))};
YC=function(a){var b={};Oi(b);for(var c in b)a.set(c,b[c]);a.set("dt",XC)};
ZC=function(a){if(a.fc&&a.fc.LACT){var b=a.fc.LACT.toString();if(b)return Ec(b)}return a.G};
$C=function(a){return R()&&a.fc&&a.fc.VIS?a.fc.VIS.toString():null};
fD=function(a,b,c){var d=new g.Jn;d.set("ad_type",b.adType);$p&&d.set("flash",aD);WC(d,a);bD(b)&&(d.set("ea","0"),null!=a.wf&&null!=a.vf&&d.set("image_size",cD(b,a.wf,a.vf,a.Vj)));dD(d,c);d.set("lact",ZC(a));(b=$C(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.Bs);YC(d);eD(a,d,!0);return d};
eD=function(a,b,c){g.G(g.H(a.referrer))||(a=a.referrer,c&&(a=g.qc(a)),gD("ref",a,b))};
jD=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.E)(a,function(k){if(!g.Yb(Uia,k))throw Yo(Up,null,"ad_type",String(b));});
if(c){var d=[];(0,g.E)(a,function(k){g.Ya(hD,k)||d.push(k)});
a=d}c=g.Ya(a,"video");var e=g.Ya(a,"skippablevideo");!jp()||R()||Ip.getInstance().report(53,{playsInline:!1,iOS_version:jp()?rp(lp):"",wv:(Lb("iPad")||Lb("iPhone"))&&!oc()&&!nc()&&!Lb("Coast")&&!mc()&&Lb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=Go();if(!up()){d=[];(0,g.E)(a,function(k){"video"==k?(d.push("standardvideo"),!R()&&Jo(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=k&&d.push(k)});
if(0==d.length)throw Yo(iD,null,"skippablevideo");a=d}return a};
kD=function(a,b){return null!=b?b.split(/[+, ]/):a};
cD=function(a,b,c,d){a.A&&(c=Math.min(c,90));var e=0,f=0;a=!R();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.E)(Via,function(l){var m=b-e>=l.width&&c-f>=l.height,n=!d&&!m&&90>=l.height&&b>=l.width&&c>=l.height;(m||n)&&k.push(l.width+"x"+l.height)});
return k.join(",")};
lD=function(a,b){return null==b||isNaN(b)?a:Number(b)};
mD=function(a,b){return null!=b?String(b):null!=a?a:null};
nD=function(a,b){if(null==b)return a;switch(b.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return a};
oD=function(a,b,c){return null!=b&&g.Yb(c,b)?b:a};
bD=function(a){return(0,g.Ik)(hD,function(b){return g.Ya(a.o,b)})};
dD=function(a,b){$p?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.C;null!=c&&0<c.length&&(c=c[0].H,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))}};
gD=function(a,b,c){null!=b&&c.set(a,b)};
qD=function(a,b,c){PC.call(this,a,b);var d=new VC,e=(new g.Pn(a.o)).o;d.age=oD(d.age,e.get("cust_age"),Wia);d.Ko=oD(d.Ko,e.get("adsafe"),pD);d.o=jD(d.o,e.get("ad_type"));d.adType=d.o.join("_");d.lt=lD(d.lt,e.get("videoad_start_delay"));d.nt=mD(d.nt,e.get("slotname"));d.ev=nD(d.ev,e.get("adtest"))||"on"==e.get("adtest");d.vt=nD(d.vt,e.get("scs"));d.wt=mD(d.wt,e.get("alternate_ad_url"));d.channels=kD(d.channels,e.get("channel"));d.Zt=lD(d.Zt,e.get("cpm"));d.Yl=mD(d.Yl,e.get("description_url"));d.experimentIds=
mD(d.experimentIds,e.get("eid"));d.gender=oD(d.gender,e.get("cust_gender"),Xia);d.A=nD(d.A,e.get("overlay"));d.host=mD(d.host,e.get("host"));d.C=kD(d.C,e.get("h_ch"));d.Wu=lD(d.Wu,e.get("ht_id"));d.isLiveStream=nD(d.isLiveStream,e.get("lsv"));if(null!=this.A.language)var f=this.A.language;else f=g.y.navigator||null,f=wo(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=mD(k,f);var l;null!=f&&!g.G(g.H(f))&&(l=wo(f));d.language=mD(d.language,
l);d.sC=lD(d.sC,e.get("linearAdSlotWidth"));d.rC=lD(d.rC,e.get("linearAdSlotHeight"));d.rq=lD(d.rq,e.get("max_ad_duration"));d.Yv=lD(d.Yv,e.get("min_ad_duration"));d.tq=lD(d.tq,e.get("sdmax"));d.uC=lD(d.uC,e.get("nonLinearAdSlotWidth"));d.tC=lD(d.tC,e.get("nonLinearAdSlotHeight"));d.Uk=mD(d.Uk,e.get("client"));d.mr=mD(d.mr,e.get("t_pyv"));l=e.get("sdki");d.Cr=lD(d.Cr,g.x(l)?parseInt(l,16):l);d.tagForChildDirectedTreatment=lD(d.tagForChildDirectedTreatment,e.get("tfcd"));d.gr=mD(d.gr,e.get("pucrd"));
d.targeting=oD(d.targeting,e.get("targeting"),Yia);d.Xp=lD(d.Xp,e.get("video_format"));d.By=lD(d.By,e.get("video_cpm"));d.fv=mD(d.fv,e.get("loeid"));d.Ly=mD(d.Ly,e.get("yt_pt"));d.Iy=mD(d.Iy,e.get("ytdevice"));d.Jy=mD(d.Jy,e.get("ytdevicever"));d.Ky=mD(d.Ky,e.get("dbp"));d.B=mD(d.B,e.get("ms"));d.adBlock=lD(d.adBlock,e.get("adBlock"));d.url=mD(d.url,e.get("url"));d.Et=mD(d.Et,e.get("avo"));d.Ay=mD(d.Ay,e.get("v_p"));d.zM=a.F;d.AM=a.B;d.contentTitle=a.contentTitle;d.zs=lD(d.zs,e.get("ad_block"));d.Lo=
mD(d.Lo,e.get("adsid"));this.o=d;this.H=b;this.K=c;g.G(g.H(this.o.experimentIds))||(a=this.o.experimentIds.split(","),Eo(Go(),a))};
$ia=function(a){return(0,g.Ik)(Zia,function(b){return g.Ya(this.o.o,b)},a)};
rD=function(a){return R()?1:g.Ya(a.o.adType.split("_"),"text")?3:1};
aja=function(a){a=a.o.channels?a.o.channels:[];nb(a);return a.join("+")};
sD=function(a,b){return Math.round(1.1*(a||0)+0*b)};
tD=function(a,b){PC.call(this,a,b)};
uD=function(a,b){PC.call(this,a,b)};
vD=function(a){PC.call(this,a,null)};
wD=function(a){PC.call(this,a,null)};
xD=function(a,b){PC.call(this,a,b);R()&&(this.C.B=Ep())};
bja=function(a){var b=[];(0,g.E)(a,function(c){0<c.length&&b.push((0,g.K)(c,function(d){return d.width+"x"+d.height}).join("|"))});
return b.join(",")};
yD=function(a,b,c){xD.call(this,a,b);b=Go();this.J=g.G(g.H(a.C));a=new VC;a.o=jD(a.o,this.A.C);a.adType=a.o.join("_");a.experimentIds=mD(a.experimentIds,this.A.J);this.o=a;this.H=c;g.G(g.H(this.o.experimentIds))||Eo(b,this.o.experimentIds.split(","))};
cja=function(a){var b=fD(a.A,a.o,a.H);b.set("sdkv",UC(a));b.set("sdki",a.F().toString(16));return b};
dja=function(a,b){var c=cja(a),d=(0,g.K)(c.Gb(),function(e){var f=c.get(e);return e+"="+(null!=f?f:"")});
g.Yn(b,"afvparams",d.join("&"))};
zD=function(a,b,c){PC.call(this,a,b);Go();this.J=g.G(g.H(a.C));a=new VC;a.o=jD(a.o,this.A.C);a.adType=a.o.join("_");a.experimentIds=mD(a.experimentIds,this.A.J);this.o=a;this.H=c;g.G(g.H(this.o.experimentIds))||(a=this.o.experimentIds.split(","),c=Go(),Eo(c,a))};
eja=function(a){var b=fD(a.A,a.o,a.H);b.set("sdkv",UC(a));return b};
fja=function(a,b){var c=eja(a),d=(0,g.K)(c.Gb(),function(e){var f=c.get(e);return e+"="+(null!=f?f:"")});
Es(b,"afvparams",[g.qc(d.join("&"))])};
AD=function(a,b){PC.call(this,a,b)};
BD=function(a,b,c){a=new g.Pn(g.no(a.A.o,gja(a,b,c)));g.Qn(a,"https");return a};
gja=function(a,b,c){if(null==a.A||null==a.A.fc)return{};var d={},e=a.A.fc;(0,g.E)(hja,function(f){f in e&&(d[f]=e[f])});
(a=ija(a,e.DESCRIPTION_URL))&&(d.AD_BLOCK=a);b&&(d.BISCOTTI_ID=b);c&&(d.ANID=c);return d};
ija=function(a,b){return null!=b?yp(Gp(a.C),b):null};
jja=function(a,b){if(!Js(a.o)&&!Ks(a.o)||g.G(g.H(a.C))||null==a.o||-1==a.o.search("afvbase="))if(Js(a.o))var c=new uD(a,fs);else Hs(a.o)?c=new qD(a,fs,b):Ks(a.o)?c=new xD(a,fs):Is(a)?c=new tD(a,fs):(c=a.o,null!=c?(c=(new g.Pn(c)).A,c=xb(c,".fwmrm.net")):c=!1,c=c?new vD(a):Ms(a)?new AD(a,fs):new wD(a));else c=Js(a.o)?new zD(a,fs,b):new yD(a,fs,b);return c};
CD=function(a,b,c,d,e){this.D=a;this.C=b;this.B=c;this.o=d;this.F=e;this.kb=null};
kja=function(a,b,c,d){if(b.A instanceof Document)var e=b.A;else try{e=g.vt(b.A)}catch(f){d(Yo(gB,f));return}null!=e?DD(a,e,b,c,d):d(Yo(gB))};
ED=function(a,b,c,d){var e;if(e=null!=b.o){a:{try{rc(b.o)}catch(f){e=!1;break a}e=!0}e=!e}e?d(Yo(lja,null,b.o)):Q.J?xea(Op(),(0,g.B)(a.A,a,b,c,d)):a.A(b,c,d)};
GD=function(a,b,c,d,e,f){b=uea(b,f);f=c.wy&&Lo(mja,b)?"POST":"GET";var k=void 0;Ls(b)&&(g.Ja(c.D)&&(k=c.D()),k=k||c.H);Ria(a.C,b,(0,g.B)(function(l){DD(this,l,c,d,e)},a),(0,g.B)(function(l,m){var n=8==l?Yo(ps):5==l||6==l?Yo(nja):Yo(FD,m);
e(n);n="third_party";Hs(c.o)?n="adsense":Js(c.o)?n="dart":Ks(c.o)&&(n="xfp");n={rt:n,ec:l};Ip.getInstance().report(18,n,!0)},a),a.F,f,k);
oja(c)};
oja=function(a){var b="third_party";Hs(a.o)?b="adsense":Js(a.o)?b="dart":Ks(a.o)?b="xfp":Is(a)&&(b="dbm");a={rt:b};Ip.getInstance().report(17,a,!0)};
DD=function(a,b,c,d,e){try{var f=Nia(b,c);if(!f)throw Yo(gB);var k=f.C();pja(a,k,c,d)}catch(l){l instanceof zo?e(l):e(Yo(qja,l))}};
pja=function(a,b,c,d){var e=b.Mf;if(null!=e)d(new vs(e));else{e=b.A;if(null==e)throw Yo(MC);(0,g.E)(e,function(m){m.C=c;var n=uo();n&&vo(n,"useCompanionsAsEndSlate")&&(m.M=mga(m));n=[];var p=m.getExtension("InfoCards");if(null!=p){p=p.C?p.C:new vx;for(var q=0;q<ex(p,"card");q++)n.push(new ux(cx(p,"card",q)))}m.D=n;m.aa=jga(m.D);m.Oa=this.C.o;R()&&(m.Ma=b.o)},a);
var f=Oia(e),k=Pia(e),l;0<k.length&&0<=ou(k[0])?l=new As(k,c,a,a.D):l=new os(f,k,c,a);(0,g.E)(e,function(m){m.ha=l});
d(l)}};
HD=function(a){this.o=a+(0,g.J)()};
Sia=function(a){var b=(0,g.J)();a=a.o-b;return 0<a?a:0};
ID=function(a,b){this.D=a;this.C=b;this.B=null;this.Z=new g.fo(this);this.A=this.o=null;this.G=!1;this.kb=null};
rja=function(a){if(null===a.B)JD(a);else{var b=new g.Pn(a.B.o),c=g.H(b.o.get("vid"));b=g.H(b.o.get("cmsid"));var d=a.C.J,e=a.C.G;a.C.J=c;a.C.G=b;if(g.G(g.H(c))||g.G(g.H(b)))JD(a);else if(c==d&&b==e)JD(a);else{var f=a.D.Di();uC(f,c,b);Cia(f,a.B);a.A=new g.bh(100);ho(a.Z,a.A,"tick",function(){a:{var k=tC(f);if(null!=k)try{var l=!1!==k.isAdRequestFinished();break a}catch(m){l=!0;break a}l=!1}l&&JD(this)},a);
a.A.start()}}};
sja=function(a){a.o=new g.bh;ko(a.Z,a.o,"tick",function(){JD(this)},a);
a.o.setInterval(1E3);a.o.start()};
JD=function(a){null!=a.Z&&(a.Z.dispose(),a.Z=null);null!=a.o&&(a.o.stop(),a.o=null);null!=a.A&&(a.A.stop(),a.A=null);a.G=!0;null===a.F||a.F()};
tja=function(a,b){this.o=a;this.A=b;this.kb=null;Q.o&&gq().init();a:{try{var c=window.top.location.href}catch(d){c=2;break a}c=null!=c?c==window.document.location.href?0:1:2}fs.L=c};
uja=function(a,b,c,d){if(R()){var e=b.As;e&&mea(Go(),e);gq()&&Gea()}e=null;null==a.o||R()||(e=new ID(a.o,a.A));var f=Afa(b);null!=f&&zfa(b)&&(a.A.aa=f);f=8E3;!R()&&Jo(Go(),41351074)?f=5E3:!R()&&Jo(Go(),41351075)&&(f=2E3);(new CD(a.A,new Qia,a.o,e,new HD(f))).fetch(b,(0,g.B)(function(k){k instanceof vs?c(k):ts(k,c,d)},a),d)};
g.KD=function(){this.o=[];this.A=[]};
LD=function(a){g.Za(a.o)&&(a.o=a.A,a.o.reverse(),a.A=[])};
g.MD=function(a,b){a.A.push(b)};
g.ND=function(a){LD(a);return a.o.pop()};
OD=function(a){LD(a);return g.Ra(a.o)};
vja=function(a){this.qb=a;this.o=new g.KD;this.gg=!1;this.kb=null};
QD=function(a,b,c,d){var e=(0,g.B)(function(k){c(k);g.ND(this.o);this.gg=!1;PD(this)},a),f=(0,g.B)(function(k){d(k);
g.ND(this.o);this.gg=!1;PD(this)},a);
g.MD(a.o,(0,g.B)(function(){uja(this.qb,b,e,f)},a));
PD(a)};
PD=function(a){if(!a.gg){var b=OD(a.o);null!=b&&(a.gg=!0,b())}};
RD=function(a,b,c){g.rg.call(this);this.qb=new vja(new tja(b,c));this.C=a;this.A=b;this.o=!0;this.B=c;this.kb=null};
wja=function(a,b,c){if(a.o){var d=null!=c?c:{};tha(Wy.getInstance(),b.o);QD(a.qb,b,(0,g.B)(function(e){SD(this,e,d)},a),(0,g.B)(function(e){TD(this,e,d)},a))}};
fia=function(a,b,c){if(!a.o){var d=null!=c?c:{};QD(a.qb,b,(0,g.B)(function(e){SD(this,e,d)},a),(0,g.B)(function(e){TD(this,e,d)},a))}};
SD=function(a,b,c){if(a.o)if(b instanceof vs)b=new UD(b.Mf,a,a.C.EA),b.eh(a.A),a.dispatchEvent(new gC(b,c));else try{var d=YA(a.C,b);d.eh(a.A);a.dispatchEvent(new gC(d,c,0<b.length?b[0].Ma:null))}catch(e){TD(a,Yo(VD,null),c)}else b instanceof vs?TD(a,Yo(xja,null,"Unsupported ad format."),c):(d=new yo("adsLoaderSdkAdLoaded"),d.B=b,d.C=c,a.dispatchEvent(d))};
TD=function(a,b,c){a.o?("always"==Q.C&&null!=a.A&&a.A.Rd(EC()),a.dispatchEvent(new so(b,c))):(c=new yo("adsLoaderSdkAdError"),c.o=b,a.dispatchEvent(c))};
WD=function(a,b){this.K=a;this.W=new g.Jn;this.M=15E3;this.F=g.ie("SPAN");BA.call(this,a[0],b);this.o.appendChild(this.F)};
XD=function(a,b){BA.call(this,a[0],b);this.B=a;g.T(this.o,"ima-container-stack")};
YD=function(a){DA.call(this,a);this.F=!1;this.A=this.B=null;this.J=!1};
ZD=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.D;b=b.F;a={text:null!=c?c:a.K.D,url:null!=b?b:a.K.F};null==a.text&&(a.text=Cq("Google Reklamlar\u0131"));return a};
$D=function(a){return a.tb()&&Eu(a.va())};
yja=function(a){var b=aE(a);b.rba=a.D;Ip.getInstance().report(37,b)};
aE=function(a){var b=[],c=[];(0,g.E)(a.B,function(e){b.push(e.ab()+"x"+e.getHeight());c.push(e.Ad())},a);
var d={};d.pid=Wy.getInstance().o;d.fsmode=null!=a.A;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.fd;return d};
bE=function(a,b){if(a.A){a.Op(new g.Qf("close"));var c={};c.pid=Wy.getInstance().o;c.evt=b;Ip.getInstance().report(35,c)}};
cE=function(a,b){g.L.call(this);this.B=a;this.o=-1;this.C=b};
dE=function(a,b){cE.call(this,a,b)};
UD=function(a,b,c){fw.call(this,[]);this.Mf=a;this.Db=new g.Jn;this.Yb=this.rb=null;this.EA=c;this.hm=new g.KD;this.ge=null;this.qb=b;this.qt=this.jp=!1;this.Wi=null;this.Ge=0;this.re=this.se=-1;this.je=null;this.ix=0;this.kb=null;this.Zl=!1};
Aja=function(a,b){if(null!==a.Na){var c=1;a.Ge=0;var d=new rz;(0,g.E)(b,function(e){if(isNaN(e))throw Yo(fB,null,"timeOffset",String(e));if(-1!=e&&-1>=e){var f=this.Mf;if(isNaN(e)||!g.Ca(e))throw Error("Incorrect time offset.");Ln(f.o,e)&&f.o.remove(e)}else if(f=g.Ca(e)&&!isNaN(e)?this.Mf.o.get(e,[]):[],!g.Za(f)){this.Ge+=f.length;var k=0==e||-1==e?e:c++;f=new HA(f,e,k,this.qb,this.Na,this.Ua,this.fe);if(d.contains(e))throw Yo(zja,null,"Multiple ad breaks cannot share same ad play time.");this.Db.set(g.Ma(f),
f);d.add(e)}},a)}};
Bja=function(a,b){a.Wi=g.Ra(b);(0,g.Ik)(b,function(c){if(-1==c)return this.Wi=c,!0;this.Wi=this.Wi<c?c:this.Wi;return!1},a)};
gE=function(a,b){a.Zl=!1;a.Rj(b);0==b.Gc?a.lg():(-1==b.Gc?(eE(a)||!R()&&a.jp)&&fE(a):nB(a.Yb),a.ge=null)};
Cja=function(a){if(null!=a.Yb){hE(a);var b=a.Za();ho(b,a.Yb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);ho(b,a.Yb,"adBreakReady",a.aQ,a);ho(b,a.Yb,"adNotify",a.Cn,a);ho(b,a.Yb,"discardAdNotify",a.Nk,a);ho(b,a.qb,"contentComplete",a.cR,a);a.qb.o=!1}};
hE=function(a){null!=a.lc&&(a.lc.dispose(),a.lc=null);a.jp=!1;null!=a.Yb&&a.Yb.dd()};
iE=function(a){if(null==a.ge){var b=g.ND(a.hm);if(null!=b){a.ge=b;var c=a.Db.get(a.ge.o);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.ge=null,iE(a);else if(null!=a.je&&a.je.A(c))a.ge=null,iE(a);else if("requestAds"==b)a.Zl?(a.hm.isEmpty()||"playAds"!=OD(a.hm).type||g.ND(a.hm),gE(a,c)):0==c.Gc&&a.og()||jE(a,c);else{if("playAds"==b)if(a.Zl)gE(a,c);else if(null!=a.rb&&a.rb.sb()&&a.Rj(a.rb),a.rb=c,a.rb.setVolume(a.volume),IA(a.rb,a.se,a.re,a.fd),a.rb.L&&a.ge.A<a.ix){c=a.rb;if(c.A<c.C.length){b=
c.C[c.A];RA(c);try{c.H=new g.fo(c),c.o=SA(c,b,c.H)}catch(e){c.A++,WA(c)}}c=a.Yb;b=a.ix;var d=new lB(a.rb);d.o=b;d.A=!0;g.ub(c.o,d,mB);a.ra("contentResumeRequested");a.ge=null;iE(a)}else a.rb.start()}else a.ge=null,iE(a)}}};
jE=function(a,b){var c=a.Za();ho(c,b,pA,a.dispatchEvent,a);ho(c,b,"adError",a.uB,a);ho(c,b,"allAdsCompleted",a.dE,a);ho(c,b,"contentPauseRequested",a.Uh,a);ho(c,b,"contentResumeRequested",a.lg,a);ho(c,b,"userClose",a.hj,a);ho(c,b,"why_this_ad_url",a.Ww,a);ho(c,b,"why_this_ad_got_it",a.Vw,a);ho(c,b,"autoClose",a.fj,a);ho(c,b,"adBreakInitialized",a.eE,a);b.init(a.se,a.re,a.fd)};
fE=function(a){if(!a.qt){a.qt=!0;a.qb.o=!0;try{Ip.getInstance().report(44,{cmpl:!0})}catch(b){}a.ra("allAdsCompleted");-1==a.Wi&&kE(a)}};
kE=function(a){Jo(Go(),420706009)||fs.clear();null!=a.fe&&(a=a.fe.Di(),null!=a&&vC(a,fs.o))};
eE=function(a){return 0==a.Db.wb().length};
lE=function(a){return null!=a.rb?a.rb:null!=a.ge?a.Db.get(a.ge.o):null};
Dja=function(){this.EA=new qia;this.kb=null};
YA=function(a,b){if(g.Za(b))throw Error("Ads manager creation failure, no ads.");if(Eja(a,b)){var c=Fja(a,b);if(!g.Za(c))return new wA(c)}c=uA(b);R()||(c=c&&null!=ru(b[0])?new tA(a,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
Fja=function(a,b){var c=[];(0,g.E)(b,function(d){var e=uA([d]);e&&d.ac()&&g.bb(c,e)},a);
return c};
uA=function(a){var b=a[0];switch(mE(b)){case "overlay":return zu(b)?new YD(a):new DA(a);case "video":return new tz(a);case "vpaid":return new eA(a);case "flash_vpaid":return 2==Q.F?new hy(a):new ny(a)}return null};
Eja=function(a,b){if(1==b.length)return!1;var c=mE(b[0]);return(0,g.Ik)(b,function(d){d=mE(d);return c!=d||"vpaid"==d||"flash_vpaid"==d?!0:!1},a)};
mE=function(a){var b=Ut(a)&&R();b=0!=Q.F||b;return null!=Iu(a)&&b?"vpaid":$p&&null!=Ju(a)&&0!=Q.F?"flash_vpaid":zu(a)&&null==Iu(a)&&Du(a,"nonlinear")?"overlay":Du(a,"linear")?"video":Du(a,"nonlinear")&&null==Iu(a)?"overlay":null};
nE=function(a){g.rg.call(this);this.A=a;a=new FC(new oC);this.o=new RD(new Dja,a,fs);this.o.X("adsManagerLoaded",this.dispatchEvent,!1,this);this.o.X("adError",this.dispatchEvent,!1,this);this.o.X("adLoadError",this.dispatchEvent,!1,this)};
oE=function(a,b,c){nea();var d="",e=wj(),f=e.A;e=e.o;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.jf=po(b.o,a.A.H);b.Ux=a.A.L;wja(a.o,b,c)};
pE=function(a,b,c,d,e,f,k,l){this.o=a;this.G=b;this.C=c;this.D=d;this.B=e;this.F=f;this.A=k;this.H=l};
qE=function(a,b){if(0==b)return a.o;if(1==b)return a.A;var c=Md(a.o,a.C,b),d=Md(a.C,a.B,b),e=Md(a.B,a.A,b);c=Md(c,d,b);d=Md(d,e,b);return Md(c,d,b)};
Gja=function(a,b){var c=(b-a.o)/(a.A-a.o);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=qE(a,c);var l=(qE(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else f<b?d=c:e=c,c-=(f-b)/l}for(k=0;1E-6<Math.abs(f-b)&&8>k;k++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=qE(a,c);return c};
g.rE=function(a,b,c){this.B=a;this.D=b;this.o=this.C=a;this.F=c||0};
g.sE=function(a){a.o=Math.min(a.D,2*a.o);a.C=Math.min(a.D,a.o+(a.F?Math.round(a.F*(Math.random()-.5)*2*a.o):0));a.A++};
g.tE=function(a){g.L.call(this);this.yc=1;this.C=[];this.B=0;this.o=[];this.A={};this.D=!!a};
Hja=function(a,b,c){g.Dg(function(){a.apply(b,c)})};
g.uE=function(a){this.o=a};
vE=function(a){this.o=a};
wE=function(a){this.data=a};
xE=function(a){return!g.v(a)||a instanceof wE?a:new wE(a)};
yE=function(a){this.o=a};
g.zE=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.J)()||!!b&&b>(0,g.J)()};
g.AE=function(a){this.o=a};
Ija=function(){};
BE=function(){};
CE=function(a){this.o=a};
DE=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.o=a};
EE=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.o=a};
GE=function(a,b){this.A=a;this.o=null;if(g.de&&!g.Mc(9)){FE||(FE=new g.Jn);this.o=FE.get(a);this.o||(b?this.o=document.getElementById(b):(this.o=document.createElement("userdata"),this.o.addBehavior("#default#userData"),document.body.appendChild(this.o)),FE.set(a,this.o));try{this.o.load(this.A)}catch(c){this.o=null}}};
HE=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Jja[b]})};
IE=function(a){try{a.o.save(a.A)}catch(b){throw"Storage mechanism: Quota exceeded";}};
JE=function(a){return a.o.XMLDocument.documentElement};
KE=function(a,b){this.A=a;this.o=b+"::"};
g.LE=function(a){var b=new DE;return b.isAvailable()?a?new KE(b,a):b:null};
ME=function(a,b){this.yc=a;this.o=b};
NE=function(a){this.o=[];if(a)a:{if(a instanceof NE){var b=a.Gb();a=a.wb();if(0>=this.Jc()){for(var c=this.o,d=0;d<b.length;d++)c.push(new ME(b[d],a[d]));break a}}else b=g.Vb(a),a=g.Ub(a);for(d=0;d<b.length;d++)g.OE(this,b[d],a[d])}};
g.OE=function(a,b,c){var d=a.o;d.push(new ME(b,c));b=d.length-1;a=a.o;for(c=a[b];0<b;)if(d=b-1>>1,a[d].yc>c.yc)a[b]=a[d],b=d;else break;a[b]=c};
g.PE=function(){NE.call(this)};
QE=function(){this.A=[];this.o=-1};
Kja=function(a){-1==a.o&&(a.o=(0,g.Gj)(a.A,function(b,c,d){return c?b+Math.pow(2,d):b},0));
return a.o};
RE=function(a,b){this.D=[];this.M=a;this.L=b||null;this.B=this.o=!1;this.C=void 0;this.J=this.W=this.G=!1;this.F=0;this.A=null;this.H=0};
TE=function(a,b,c){a.o=!0;a.C=c;a.B=!b;SE(a)};
VE=function(a){if(a.o){if(!a.J)throw new UE(a);a.J=!1}};
XE=function(a,b,c){WE(a,b,null,c)};
WE=function(a,b,c,d){a.D.push([b,c,d]);a.o&&SE(a)};
YE=function(a){return(0,g.Ik)(a.D,function(b){return g.Ja(b[1])})};
SE=function(a){if(a.F&&a.o&&YE(a)){var b=a.F,c=ZE[b];c&&(g.y.clearTimeout(c.Ja),delete ZE[b]);a.F=0}a.A&&(a.A.H--,delete a.A);b=a.C;for(var d=c=!1;a.D.length&&!a.G;){var e=a.D.shift(),f=e[0],k=e[1];e=e[2];if(f=a.B?k:f)try{var l=f.call(e||a.L,b);g.v(l)&&(a.B=a.B&&(l==b||a.isError(l)),a.C=b=l);if(Hg(b)||"function"===typeof g.y.Promise&&b instanceof g.y.Promise)d=!0,a.G=!0}catch(m){b=m,a.B=!0,YE(a)||(c=!0)}}a.C=b;d&&(l=(0,g.B)(a.K,a,!0),d=(0,g.B)(a.K,a,!1),b instanceof RE?(WE(b,l,d),b.W=!0):b.then(l,
d));c&&(b=new $E(b),ZE[b.Ja]=b,a.F=b.Ja)};
UE=function(){Pa.call(this)};
aF=function(){Pa.call(this)};
$E=function(a){this.Ja=g.y.setTimeout((0,g.B)(this.A,this),0);this.o=a};
bF=function(a){of(this,a,Lja,null)};
cF=function(a){of(this,a,null,null)};
Mja=function(a,b){for(;Xe(b)&&4!=b.A;)switch(b.C){case 1:var c=af(b);nf(a,1,c);break;case 2:c=af(b);nf(a,2,c);break;case 3:c=af(b);nf(a,3,c);break;case 4:c=af(b);nf(a,4,c);break;case 5:c=Ve(b.o);nf(a,5,c);break;default:Ye(b)}return a};
eF=function(a){var b=arguments;if(1<b.length)g.dF[b[0]]=b[1];else{b=b[0];for(var c in b)g.dF[c]=b[c]}};
g.fF=function(a,b){return a in g.dF?g.dF[a]:b};
gF=function(a){return g.fF(a,void 0)};
iF=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.hF(b)}}:a};
g.hF=function(a,b,c,d,e){var f=g.z("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.fF("ERRORS",[]),f.push([a,b,c,d,e]),eF("ERRORS",f))};
g.jF=function(a){g.hF(a,"WARNING",void 0,void 0,void 0)};
g.lF=function(a,b,c){a&&(a.dataset?a.dataset[kF(b)]=String(c):a.setAttribute("data-"+b,c))};
mF=function(a){return a?a.dataset?a.dataset[kF("loaded")]:a.getAttribute("data-loaded"):null};
kF=function(a){return nF[a]||(nF[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))};
g.oF=function(a,b){g.Ja(a)&&(a=iF(a));return window.setTimeout(a,b)};
g.pF=function(a,b){g.Ja(a)&&(a=iF(a));return window.setInterval(a,b)};
g.qF=function(a){window.clearTimeout(a)};
g.vF=function(a,b,c){var d=g.rF();if(d){var e=d.subscribe(a,function(){var f=arguments;var k=function(){sF[e]&&b.apply(c||window,f)};
try{g.tF[a]?k():g.oF(k,0)}catch(l){g.hF(l)}},c);
sF[e]=!0;uF[a]||(uF[a]=[]);uF[a].push(e);return e}return 0};
g.xF=function(a,b){var c=g.vF(a,function(d){b.apply(void 0,arguments);g.wF(c)},void 0)};
g.wF=function(a){var b=g.rF();b&&(g.Ca(a)?a=[a]:g.x(a)&&(a=[parseInt(a,10)]),(0,g.E)(a,function(c){b.unsubscribeByKey(c);delete sF[c]}))};
g.yF=function(a,b){var c=g.rF();return c?c.publish.apply(c,arguments):!1};
AF=function(a){var b=g.rF();if(b)if(b.clear(a),a)zF(a);else for(var c in uF)zF(c)};
g.rF=function(){return g.z("ytPubsubPubsubInstance")};
zF=function(a){uF[a]&&(a=uF[a],(0,g.E)(a,function(b){sF[b]&&delete sF[b]}),a.length=0)};
g.BF=function(a,b,c){c=void 0===c?null:c;if(window.spf){c="";if(a){var d=a.indexOf("jsbin/"),e=a.lastIndexOf(".js"),f=d+6;-1<d&&-1<e&&e>f&&(c=a.substring(f,e),c=c.replace(Nja,""),c=c.replace(Oja,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Pja(a,b,c)};
Pja=function(a,b,c){c=void 0===c?null:c;var d=CF(a),e=document.getElementById(d),f=e&&mF(e),k=e&&!f;f?b&&b():(b&&(g.vF(d,b),g.Ma(b)),k||(e=Qja(a,d,function(){mF(e)||(g.lF(e,"loaded","true"),g.yF(d),g.oF(g.Na(AF,d),0))},c)))};
Qja=function(a,b,c,d){d=void 0===d?null:d;var e=g.ke("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);Id(e,Di(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e};
CF=function(a){var b=document.createElement("a");g.Gd(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+zc(a)};
DF=function(){this.cf=!1;this.o=null};
EF=function(a,b,c){try{a.o=new botguard.bg(b)}catch(d){g.jF(d)}c&&c(b)};
FF=function(){return g.z("yt.ads.biscotti.lastId_")||""};
GF=function(a){g.Da("yt.ads.biscotti.lastId_",a,void 0)};
g.HF=function(a){a=a.split("&");for(var b={},c=0,d=a.length;c<d;c++){var e=a[c].split("=");if(1==e.length&&e[0]||2==e.length)try{var f=rc(e[0]||""),k=rc(e[1]||"");f in b?g.Ga(b[f])?jb(b[f],k):b[f]=[b[f],k]:b[f]=k}catch(m){var l=Error("Error decoding URL component");l.params="key: "+e[0]+", value: "+e[1];"q"==e[0]?g.jF(l):g.hF(l)}}return b};
IF=function(a){var b=[];g.Mb(a,function(c,d){var e=g.qc(d),f;g.Ga(c)?f=c:f=[c];(0,g.E)(f,function(k){""==k?b.push(e):b.push(e+"="+g.qc(k))})});
return b.join("&")};
g.JF=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.HF(a)};
KF=function(a){a=a.split(",");return a=a.map(function(b){return g.JF(b)})};
g.LF=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.JF(1<a.length?a[1]:a[0])):{}};
g.NF=function(a,b){return MF(a,b||{},!0)};
g.OF=function(a,b){return MF(a,b||{},!1)};
MF=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=g.JF(e[1]||"");for(var f in b)if(c||!Xb(e,f))e[f]=b[f];return g.zh(a,e)+d};
PF=function(a){if(!b)var b=window.location.href;var c=g.nh(a)[1]||null,d=g.ph(a);c&&d?(a=g.nh(a),b=g.nh(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.ph(b)==d&&g.qh(b)==g.qh(a):!0;return a};
QF=function(){if(!a)var a=document.location.href;a=g.nh(a)[1]||null;return null!==a&&"https"==a};
TF=function(){var a=RF;var b=void 0===b?FF():b;a=Object.assign(SF(a),Rja(a));a.ca_type="image";b&&(a.bid=b);return a};
SF=function(a){var b={};b.dt=XC;b.flash="0";a:{try{var c=a.o.top.location.href}catch(d){a=2;break a}a=c?c===a.A.location.href?0:1:2}b=(b.frm=a,b);Oi(b);return b};
Rja=function(a){var b=a.o;try{var c=b.screenX;var d=b.screenY}catch(m){}try{var e=b.outerWidth;var f=b.outerHeight}catch(m){}try{var k=b.innerWidth;var l=b.innerHeight}catch(m){}b=[b.screenLeft,b.screenTop,c,d,b.screen?b.screen.availWidth:void 0,b.screen?b.screen.availTop:void 0,e,f,k,l];c=Vi(!1,a.o.top);d={};e=new QE;g.y.SVGElement&&g.y.document.createElementNS&&e.set(0);f=Oba();f["allow-top-navigation-by-user-activation"]&&e.set(1);f["allow-popups-to-escape-sandbox"]&&e.set(2);g.y.crypto&&g.y.crypto.subtle&&
e.set(3);e=Kja(e);return d.bc=e,d.bih=c.height,d.biw=c.width,d.brdim=b.join(),d.vis=qj(a.A),d.wgl=!!P.WebGLRenderingContext,d};
VF=function(a,b){var c=g.UF(a);return void 0===c&&void 0!==b?b:Number(c||0)};
g.UF=function(a){return g.fF("EXPERIMENT_FLAGS",{})[a]};
Sja=function(){if(!WF)return null;var a=WF();return"open"in a?a:null};
g.XF=function(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};
Tja=function(a,b){b=void 0===b?{}:b;var c=PF(a),d=!!g.UF("web_ajax_ignore_global_headers_if_set"),e;for(e in YF){var f=g.fF(YF[e]);!f||!c&&!ZF(a,e)||d&&void 0!==b[e]||(b[e]=f)}if(c||ZF(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=-(new Date).getTimezoneOffset();(g.UF("pass_biscotti_id_in_header_ajax")||g.UF("pass_biscotti_id_in_header_ajax_tv"))&&(c||ZF(a,"X-YouTube-Ad-Signals"))&&(b["X-YouTube-Ad-Signals"]=IF(TF()));return b};
$F=function(a,b){var c=g.ph(a),d=g.oh(g.nh(a)[5]||null);d=(c=c&&c.endsWith("youtube.com"))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=g.JF(b),f={};(0,g.E)(Uja,function(k){e[k]&&(f[k]=e[k])});
return g.OF(a,f)};
ZF=function(a,b){var c=g.fF("CORS_HEADER_WHITELIST")||{},d=g.ph(a);return d?(c=c[d])?g.Ya(c,b):!1:!0};
Vja=function(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=aG(a,b);var d=bG(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;fetch(a,c).then(function(k){if(!e){e=!0;f&&g.qF(f);var l=k.ok,m=function(n){n=n||{};var p=b.context||g.y;l?b.onSuccess&&b.onSuccess.call(p,n,k):b.onError&&b.onError.call(p,n,k);b.Gd&&b.Gd.call(p,n,k)};
"JSON"==(b.format||"JSON")&&(l||400<=k.status&&500>k.status)?k.json().then(m,function(){m(null)}):m(null)}});
b.CE&&0<b.timeout&&(f=g.oF(function(){e||(e=!0,g.qF(f),b.CE.call(b.context||g.y))},b.timeout))}else g.cG(a,b)};
g.cG=function(a,b){var c=b.format||"JSON";a=aG(a,b);var d=bG(a,b),e=!1,f,k=dG(a,function(l){if(!e){e=!0;f&&g.qF(f);var m=g.XF(l),n=null,p=400<=l.status&&500>l.status,q=500<=l.status&&600>l.status;if(m||p||q)n=Wja(c,l,b.z4);if(m)a:if(l&&204==l.status)m=!0;else{switch(c){case "XML":m=0==parseInt(n&&n.return_code,10);break a;case "RAW":m=!0;break a}m=!!n}n=n||{};p=b.context||g.y;m?b.onSuccess&&b.onSuccess.call(p,l,n):b.onError&&b.onError.call(p,l,n);b.Gd&&b.Gd.call(p,l,n)}},b.method,d,b.headers,b.responseType,
b.withCredentials);
b.Hd&&0<b.timeout&&(f=g.oF(function(){e||(e=!0,k.abort(),g.qF(f),b.Hd.call(b.context||g.y,k))},b.timeout));
return k};
aG=function(a,b){b.G4&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=g.fF("XSRF_FIELD_NAME",void 0),d=b.ed;d&&(d[c]&&delete d[c],a=g.NF(a,d));return a};
bG=function(a,b){var c=g.fF("XSRF_FIELD_NAME",void 0),d=g.fF("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.Sb,k=gF("XSRF_FIELD_NAME"),l;b.headers&&(l=b.headers["Content-Type"]);b.C4||g.ph(a)&&!b.withCredentials&&g.ph(a)!=document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.Sb&&b.Sb[k]||(f||(f={}),f[c]=d);f&&g.x(e)&&(e=g.JF(e),g.kc(e,f),e=b.rF&&"JSON"==b.rF?JSON.stringify(e):g.xh(e));f=e||f&&!g.cc(f);!eG&&f&&"POST"!=b.method&&(eG=!0,g.hF(Error("AJAX request with postData should use POST")));
return e};
Wja=function(a,b,c){var d=null;switch(a){case "JSON":a=b.responseText;b=b.getResponseHeader("Content-Type")||"";a&&0<=b.indexOf("json")&&(d=JSON.parse(a));break;case "XML":if(b=(b=b.responseXML)?Xja(b):null)d={},(0,g.E)(b.getElementsByTagName("*"),function(e){d[e.tagName]=Yja(e)})}c&&fG(d);
return d};
fG=function(a){if(g.Ka(a))for(var b in a)"html_content"==b||xb(b,"_html")?a[b]=g.Ed(g.Uc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):fG(a[b])};
Xja=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Yja=function(a){var b="";(0,g.E)(a.childNodes,function(c){b+=c.nodeValue});
return b};
g.gG=function(a,b){b.method="POST";b.Sb||(b.Sb={});g.cG(a,b)};
dG=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&iF(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Sja();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;g.UF("debug_forward_web_query_parameters")&&(a=$F(a,window.location.search));m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof FormData));if(e=Tja(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
m.send(d);return m};
hG=function(){var a=/Chrome\/(\d+)/.exec(g.Jb);return a?parseFloat(a[1]):NaN};
jG=function(){return iG("android")&&iG("chrome")&&!(iG("trident/")||iG("edge/"))};
g.kG=function(){return iG("cobalt")};
lG=function(){return iG("cobalt")&&iG("appletv")};
mG=function(){return iG("(ps3; leanback shell)")||iG("ps3")&&g.kG()};
nG=function(){return iG("(ps4; leanback shell)")||iG("ps4")&&g.kG()};
g.oG=function(){return g.kG()&&(iG("ps4 vr")||iG("ps4 pro vr"))};
pG=function(){var a=/WebKit\/([0-9]+)/.exec(g.Jb);return!!(a&&600<=parseInt(a[1],10))};
qG=function(){var a=/WebKit\/([0-9]+)/.exec(g.Jb);return!!(a&&602<=parseInt(a[1],10))};
rG=function(){return iG("nintendo wiiu")};
sG=function(){return iG("iemobile")||iG("windows phone")&&iG("edge")};
uG=function(){return tG&&iG("applewebkit")&&!iG("version")&&(!iG("safari")||iG("gsa/"))};
vG=function(){return g.np&&iG("version/")};
wG=function(){return iG("smart-tv")&&iG("samsung")};
iG=function(a){var b=g.Jb;return b?0<=b.toLowerCase().indexOf(a):!1};
g.yG=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.kG()?a&&(a=g.fd(g.id(a)),"about:invalid#zClosurez"===a?a="":(a=g.vd(xd(a)).toString(),a=g.qc(g.hh(a))),g.G(a)||(a=g.ie("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),Ud(a).body.appendChild(a))):e?dG(a,b,"POST",e,d):g.fF("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?dG(a,b,"GET","",d):((c=g.dF.EXPERIMENT_FLAGS)&&c.web_use_beacon_api_for_ad_click_server_pings&&-1!=g.oh(g.nh(a)[5]||null).indexOf("/aclk")&&"1"===
Ch(a,"ae")&&"1"===Ch(a,"act")?xG(a)?(b&&b(),c=!0):c=!1:c=!1,c||Zja(a,b)))};
zG=function(a){if(a)for(var b=0;b<a.length;b++)g.yG(a[b],void 0,void 0)};
AG=function(a,b,c){c=void 0===c?"":c;xG(a,c)?b&&b():g.yG(a,b,void 0,void 0,c)};
xG=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1};
Zja=function(a,b){var c=new Image,d=""+$ja++;BG[d]=c;c.onload=c.onerror=function(){b&&BG[d]&&b();delete BG[d]};
c.src=a};
DG=function(a,b){var c=g.hc(b),d;return g.Ug(new g.Jg(function(e,f){c.onSuccess=function(k){g.XF(k)?e(k):f(new CG("Request failed, status="+k.status,"net.badstatus",k))};
c.onError=function(k){f(new CG("Unknown request error","net.unknown",k))};
c.Hd=function(k){f(new CG("Request timed out","net.timeout",k))};
d=g.cG(a,c)}),function(e){e instanceof Zg&&d.abort();
return Og(e)})};
g.EG=function(a,b,c,d){function e(k,l,m){return g.Ug(k,function(n){return 0>=l||403===n.aj.status?Og(new CG("Request retried too many times","net.retryexhausted",n.aj)):f(m).then(function(){return e(DG(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(k){return new g.Jg(function(l){setTimeout(l,k)})}
return e(DG(a,b),c-1,d)};
CG=function(a,b,c){Pa.call(this,a+", errorCode="+b);this.errorCode=b;this.aj=c;this.name="PromiseAjaxError"};
FG=function(a){this.C=void 0===a?null:a;this.A=0;this.o=null};
GG=function(a){var b=new FG;a=void 0===a?null:a;b.A=2;b.o=void 0===a?null:a;return b};
HG=function(a){var b=new FG;a=void 0===a?null:a;b.A=1;b.o=void 0===a?null:a;return b};
JG=function(a){Pa.call(this,a.message||a.description||a.name);this.isMissing=a instanceof IG;this.isTimeout=a instanceof CG&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof Zg};
IG=function(){Pa.call(this,"Biscotti ID is missing from server")};
aka=function(){if("1"===g.Wb(g.fF("PLAYER_CONFIG",{}),"args","privembed"))return Og(Error("Biscotti ID is not available in private embed mode"));KG||(KG=g.Ug(DG("//googleads.g.doubleclick.net/pagead/id",LG).then(MG),function(a){return NG(2,a)}));
return KG};
MG=function(a){a=a.responseText;if(!g.wb(a,")]}'"))throw new IG;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new IG;a=a.id;GF(a);KG=HG(a);OG(18E5,2);return a};
NG=function(a,b){var c=new JG(b);GF("");KG=GG(c);0<a&&OG(12E4,a-1);throw c;};
OG=function(a,b){g.oF(function(){g.Ug(DG("//googleads.g.doubleclick.net/pagead/id",LG).then(MG,function(c){return NG(b,c)}),g.A)},a)};
PG=function(){try{var a=g.z("yt.ads.biscotti.getId_");return a?a():aka()}catch(b){return Og(b)}};
RG=function(a,b){if(a in b)return b[a];var c=QG+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
SG=function(a,b){var c;(0,g.Ik)(a,function(d){c=b[d];return!!c});
return c};
TG=function(a){var b=SG(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)};
WG=function(a){var b;UG()?VG()==a&&(b=document):b=a;b&&(a=SG(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
XG=function(a){return g.Ua(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
bka=function(){var a=document;return g.Ua(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
UG=function(){return!!SG(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)};
VG=function(){var a=SG(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);return a?a:null};
YG=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in cka||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b=
b.nodeName?b:null}catch(c){b=null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.o=a.pageX;this.A=a.pageY}};
ZG=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.o=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.A=a.clientY+b}};
$G=function(a){g.v(a.o)||ZG(a);return a.o};
aH=function(a){g.v(a.A)||ZG(a);return a.A};
dka=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 Zb(bH,function(e){var f=g.Aa(e[4])&&e[4]==!!d,k=g.Ka(e[4])&&g.Ka(d)&&g.gc(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})};
g.eH=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=dka(a,b,c,d);if(e)return e;e=++cH.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var k=f?function(l){l=new YG(l);if(!De(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new YG(l);
l.currentTarget=a;return c.call(a,l)};
k=iF(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),dH()||g.Aa(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);bH[e]=[a,b,c,k,d];return e};
eka=function(a,b,c,d){var e=a||document;return g.eH(e,b,function(f){var k=De(f.target,function(l){return l===e||d(l)},!0);
k&&k!==e&&!k.disabled&&(f.currentTarget=k,c.call(k,f))})};
g.fH=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.E)(a,function(b){if(b in bH){var c=bH[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?dH()||g.Aa(c)?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete bH[b]}}))};
g.gH=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
hH=function(a){a=a||window.event;if(a.composedPath&&g.Ja(a.composedPath))var b=a.composedPath();else a.path&&(b=a.path);return b&&b.length?b[0]:g.gH(a)};
iH=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};
jH=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&(g.Ca(b)||(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),g.Ca(c)||(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.Od(b,c)};
g.kH=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.lH=function(a){a=a||window.event;return!1===a.returnValue||a.zC&&a.zC()};
g.mH=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
g.nH=function(a,b,c,d){return eka(a,b,c,function(e){return g.Jr(e,d)})};
oH=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.eH(a,b,function(){g.fH(e);c.apply(a,arguments)},d)};
g.pH=function(a){g.L.call(this);this.A=a||window;this.o=[]};
g.qH=function(a){g.fH(a.o);a.o.length=0};
rH=function(a){this.H=a;this.o=null;this.B=0;this.D=null;this.C=0;this.A=[];for(a=0;4>a;a++)this.A.push(0);this.Ib=0;this.G=g.eH(window,"mousemove",(0,g.B)(this.K,this));this.J=g.pF((0,g.B)(this.F,this),25)};
g.sH=function(a){g.L.call(this);this.P=[];this.Rc=a||this};
tH=function(a,b,c,d){for(var e=0;e<c.length;e++)a.R(b,c[e],d)};
g.uH=function(a){for(;a.P.length;){var b=a.P.pop();b.target.removeEventListener(b.name,b.Ql)}};
g.vH=function(a){a=void 0===a?!1:a;g.L.call(this);this.ha=new g.tE(a);g.M(this,this.ha)};
wH=function(a,b,c){for(var d in b)a.subscribe(d,b[d],c)};
xH=function(a,b,c){for(var d in b)a.unsubscribe(d,b[d],c)};
g.zH=function(a,b,c,d){g.vH.call(this);this.C=!!b;this.F=a;this.J=c||a;this.H=!!d;this.o=new g.sH(this);g.M(this,this.o);this.D=this.G=null;this.B=this.A=!1;b&&(g.fe&&a.setAttribute("draggable","true"),a.style.touchAction="none");yH(this)};
AH=function(a,b,c){a.o.R(a.J,b,c,void 0,!a.C)};
yH=function(a){a.D=null;a.G=null;AH(a,BH("over"),a.eD);AH(a,"touchstart",a.dw);a.C&&AH(a,BH("down"),a.RP)};
CH=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.G)return d}return null};
BH=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
DH=function(a){a=a||{};var b={enablejsapi:1},c={};this.url=a.url||"";this.args=a.args||g.hc(b);this.assets=a.assets||{};this.attrs=a.attrs||g.hc(c);this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}};
fka=function(a){a instanceof DH||(a=new DH(a));return a};
GH=function(a,b){var c=c||{};c.name=g.fF("INNERTUBE_CONTEXT_CLIENT_NAME",1);c.version=g.fF("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);var d=a,e=void 0===b?"ERROR":b;e=void 0===e?"ERROR":e;var f=window&&window.yterr||!1;if(d&&f&&!(5<=EH)){f=d.stacktrace;var k=d.columnNumber;if(d.hasOwnProperty("params")){var l=String(JSON.stringify(d.params));c.params=l.substr(0,500)}d=dba(d);f=f||d.stack;l=d.lineNumber.toString();isNaN(l)||isNaN(k)||(l=l+":"+k);g.UF("console_log_js_exceptions")&&(k=[],k.push("Name: "+
d.name),k.push("Message: "+d.message),d.hasOwnProperty("params")&&k.push("Params: "+JSON.stringify(d.params)),k.push("File name: "+d.fileName),k.push("Line number: "+l),k.push("Level: "+e),"params"in c&&k.push("Error Params: "+c.params),k.push("Stacktrace: "+f));window.yterr&&g.Ja(window.yterr)&&window.yterr(d);if(!(FH[d.message]||0<=f.indexOf("/YouTubeCenter.js")||0<=f.indexOf("/mytube.js"))){e={ed:{a:"logerror",t:"jserror",type:d.name,msg:d.message.substr(0,250),line:l,level:e,"client.name":c.name},
Sb:{url:g.fF("PAGE_NAME",window.location.href),file:d.fileName},method:"POST"};c.version&&(e["client.version"]=c.version);f&&(e.Sb.stack=f);for(var m in c)e.Sb["client."+m]=c[m];if(c=g.fF("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var n in c)e.Sb[n]=c[n];g.cG(g.fF("ECATCHER_REPORT_HOST","")+"/error_204",e);FH[d.message]=!0;EH++}}};
MH=function(){g.qF(HH);g.qF(IH);IH=0;if(!g.cc(JH)){for(var a in JH){var b=KH[a];b&&(gka(a,b),delete JH[a])}g.cc(JH)||LH()}};
LH=function(){g.UF("web_gel_timeout_cap")&&!IH&&(IH=g.oF(MH,3E4));g.qF(HH);HH=g.oF(MH,g.fF("LOGGING_BATCH_TIMEOUT",VF("web_gel_debounce_ms",1E4)))};
NH=function(a,b){b=void 0===b?"":b;JH[a]=JH[a]||{};JH[a][b]=JH[a][b]||[];return JH[a][b]};
gka=function(a,b){var c=hka[a],d=OH[a]||{};OH[a]=d;var e=Math.round(g.PH());for(n in JH[a]){var f=g.ic({context:g.QH(b.wa)});f[c]=NH(a,n);d.dispatchedEventCount=d.dispatchedEventCount||0;d.dispatchedEventCount+=f[c].length;var k=RH[n];if(k)a:{var l=n;if(k.videoId)var m="VIDEO";else if(k.playlistId)m="PLAYLIST";else break a;f.credentialTransferTokenTargetId=k;f.context=f.context||{};f.context.user=f.context.user||{};f.context.user.credentialTransferTokens=[{token:l,scope:m}]}delete RH[n];f.requestTimeMs=
e;if(k=gF("EVENT_ID"))m=(g.fF("BATCH_CLIENT_COUNTER",void 0)||0)+1,m>ika&&(m=1),eF("BATCH_CLIENT_COUNTER",m),k={serializedEventId:k,clientCounter:m},f.serializedClientEventId=k,SH&&TH&&g.UF("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:SH,roundtripMs:TH}),SH=k,TH=0;g.UH(b,a,f,{retry:jka.has(a),onSuccess:(0,g.B)(kka,this,g.PH())})}if(d.previousDispatchMs){c=e-d.previousDispatchMs;var n=d.diffCount||0;d.averageTimeBetweenDispatchesMs=n?(d.averageTimeBetweenDispatchesMs*n+c)/(n+1):
c;d.diffCount=n+1}d.previousDispatchMs=e};
kka=function(a){TH=Math.round(g.PH()-a)};
lka=function(){};
g.WH=function(a,b){return VH(a,1,b)};
XH=function(){};
g.YH=function(){return!!g.z("yt.scheduler.instance")};
VH=function(a,b,c){isNaN(c)&&(c=void 0);var d=g.z("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):g.oF(a,c||0)};
g.ZH=function(a){if(!isNaN(a)){var b=g.z("yt.scheduler.instance.cancelJob");b?b(a):g.qF(a)}};
$H=function(a){var b=g.z("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
cI=function(){var a={},b=void 0===a.MM?!0:a.MM;a=void 0===a.ZU?!1:a.ZU;if(null==g.z("_lact",window)){var c=parseInt(g.fF("LACT"),10);c=isFinite(c)?(0,g.J)()-Math.max(c,0):-1;g.Da("_lact",c,window);g.Da("_fact",c,window);-1==c&&aI();g.eH(document,"keydown",aI);g.eH(document,"keyup",aI);g.eH(document,"mousedown",aI);g.eH(document,"mouseup",aI);b&&(a?g.eH(window,"touchmove",function(){bI("touchmove",200)},{passive:!0}):(g.eH(window,"resize",function(){bI("resize",200)}),g.eH(window,"scroll",function(){bI("scroll",
200)})));
new rH(function(){bI("mouse",100)});
g.eH(document,"touchstart",aI,{passive:!0});g.eH(document,"touchend",aI,{passive:!0})}};
bI=function(a,b){dI[a]||(dI[a]=!0,g.WH(function(){aI();dI[a]=!1},b))};
aI=function(){null==g.z("_lact",window)&&cI();var a=(0,g.J)();g.Da("_lact",a,window);-1==g.z("_fact",window)&&g.Da("_fact",a,window);(a=g.z("ytglobal.ytUtilActivityCallback_"))&&a()};
eI=function(){var a=g.z("_lact",window),b;null==a?b=-1:b=Math.max((0,g.J)()-a,0);return b};
g.fI=function(a,b,c,d,e){var f={};f.eventTimeMs=Math.round(d||g.PH());f[a]=b;f.context={lastActivityMs:String(d?-1:eI())};e?(a={},e.videoId?a.videoId=e.videoId:e.playlistId&&(a.playlistId=e.playlistId),RH[e.token]=a,e=NH("log_event",e.token)):e=NH("log_event");e.push(f);c&&(KH.log_event=new c);e.length>=(VF("web_logging_max_batch")||20)?MH():LH()};
g.QH=function(a){a={client:{hl:a.Cv,gl:a.Bv,clientName:a.zv,clientVersion:a.Av}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.fF("DELEGATED_SESSION_ID")&&!g.UF("pageid_as_header_web")&&(a.user={onBehalfOfUser:g.fF("DELEGATED_SESSION_ID")});return a};
mka=function(a,b,c){c=void 0===c?{}:c;var d={"X-Goog-Visitor-Id":c.visitorData||g.fF("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.x4||g.fF("AUTHORIZATION"))||(a?b="Bearer "+g.z("gapi.auth.getToken")().v4:b=g.In());b&&(d.Authorization=b,d["X-Goog-AuthUser"]=g.fF("SESSION_INDEX",0),g.UF("pageid_as_header_web")&&(d["X-Goog-PageId"]=g.fF("DELEGATED_SESSION_ID")));return d};
g.hI=function(a,b,c,d){gI.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)};
g.iI=function(a,b,c){gI.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
jI=function(){var a;(a=g.LE("yt.innertube"))||(a=new GE("yt.innertube"),a=a.isAvailable()?a:null);this.o=a?new yE(a):null;this.A=document.domain||window.location.hostname};
g.kI=function(a){this.wa=a||{xv:gF("INNERTUBE_API_KEY"),yv:gF("INNERTUBE_API_VERSION"),zv:g.fF("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),Av:gF("INNERTUBE_CONTEXT_CLIENT_VERSION"),Cv:gF("INNERTUBE_CONTEXT_HL"),Bv:gF("INNERTUBE_CONTEXT_GL"),bq:gF("INNERTUBE_HOST_OVERRIDE")||"",PM:!!g.fF("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
g.UH=function(a,b,c,d){!g.fF("VISITOR_DATA")&&.01>Math.random()&&g.hF(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",Sb:c,rF:"JSON",Hd:function(){d.Hd()},
CE:d.Hd,onSuccess:function(k,l){if(d.onSuccess)d.onSuccess(l)},
K4:function(k){if(d.onSuccess)d.onSuccess(k)},
onError:function(k,l){if(d.onError)d.onError(l)},
J4:function(k){if(d.onError)d.onError(k)},
timeout:d.timeout,withCredentials:!0};var e="",f=a.wa.bq;f&&(e=f);f=mka(a.wa.PM||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=""+e+("/youtubei/"+a.wa.yv+"/"+b)+"?alt=json&key="+a.wa.xv;try{g.UF("use_fetch_for_op_xhr")?Vja(a,c):g.gG(a,c)}catch(k){if("InvalidAccessError"==k)g.hF(Error("An extension is blocking network request."),"WARNING");else throw k;}};
lI=function(a,b,c){var d=g.kI;g.fF("ytLoggingEventsDefaultDisabled",!1)&&g.kI==g.kI&&(d=null);g.fI(a,b,d,c,void 0)};
mI=function(a){this.ae=a};
g.nI=function(a){return new mI({trackingParams:a})};
oka=function(a){var b=nka++;return new mI({veType:a,veCounter:b,elementIndex:void 0,dataElement:void 0,youtubeData:void 0})};
g.oI=function(a){var b={};void 0!==a.ae.trackingParams?b.trackingParams=a.ae.trackingParams:(b.veType=a.ae.veType,null!=a.ae.veCounter&&(b.veCounter=a.ae.veCounter),null!=a.ae.elementIndex&&(b.elementIndex=a.ae.elementIndex));void 0!==a.ae.dataElement&&(b.dataElement=g.oI(a.ae.dataElement));void 0!==a.ae.youtubeData&&(b.youtubeData=a.ae.youtubeData);return b};
g.pI=function(a,b,c,d){a={csn:a,parentVe:g.oI(b),childVes:(0,g.K)(c,function(e){return g.oI(e)})};
c=g.r(c);for(b=c.next();!b.done;b=c.next())b=g.oI(b.value),(g.cc(b)||!b.trackingParams&&!b.veType)&&GH(Error("Child VE logged with no data"),"WARNING");g.fI("visualElementAttached",a,g.kI,void 0,d)};
g.qI=function(a,b){g.fI("visualElementShown",{csn:a,ve:g.oI(b),eventType:1},g.kI,void 0,void 0)};
g.rI=function(a,b){g.fI("visualElementGestured",{csn:a,ve:g.oI(b),gestureType:"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK"},g.kI,void 0,void 0)};
tI=function(a,b){var c=Object.keys(a).join("");sI("info_"+c+"_"+b)||(a.clientActionNonce=b,lI("latencyActionInfo",a))};
sI=function(a){uI[a]=uI[a]||{count:0};var b=uI[a];b.count++;b.time=g.PH();vI||(vI=VH(pka,0,5E3));if(5<b.count){if(6==b.count&&1>1E5*Math.random()){b=0==a.indexOf("info")?"WARNING":"ERROR";var c=Error("CSI data exceeded logging limit with key");c.params=a;GH(c,b)}return!0}return!1};
pka=function(){var a=g.PH(),b;for(b in uI)6E4<a-uI[b].time&&delete uI[b];vI=0};
xI=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];return a}catch(e){}a=Array(16);for(b=0;16>b;b++){c=(0,g.J)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(wI)for(b=1,c=0;c<wI.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^wI.charCodeAt(c),b++;return a};
yI=function(){for(var a=xI(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
g.zI=function(){return(0,g.K)(xI(),function(a){return(a&15).toString(16)}).join("")};
AI=function(a){a=void 0===a?0:a;return 0==a?"client-screen-nonce":"client-screen-nonce."+a};
BI=function(a){a=void 0===a?0:a;return 0==a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a};
CI=function(a){return g.fF(BI(void 0===a?0:a),void 0)};
g.DI=function(){var a=CI(0),b;a?b=new mI({veType:a,youtubeData:void 0}):b=null;return b};
g.EI=function(a){a=void 0===a?0:a;var b=g.fF(AI(a));b||0!=a||(b=g.fF("EVENT_ID"));return b?b:null};
GI=function(a,b,c){c=void 0===c?0:c;if(a!==g.fF(AI(c))||b!==g.fF(BI(c)))eF(AI(c),a),eF(BI(c),b),0==c&&(b=function(){setTimeout(function(){a&&g.fI("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:FI,clientScreenNonce:a},g.kI)},0)},"requestAnimationFrame"in window?window.requestAnimationFrame(b):b())};
g.JI=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.J)()+1E3*d:0;if((d=d?(0,g.HI)():II())&&window.JSON){g.x(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.KI=function(a){var b=II(),c=(0,g.HI)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if(!g.x(d))try{d=c.get(a)}catch(e){}if(!g.x(d))return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
g.LI=function(a){try{var b=II(),c=(0,g.HI)();b&&b.remove(a);c&&c.remove(a)}catch(d){}};
g.MI=function(){return g.KI("yt-remote-session-screen-id")};
qka=function(){NI=g.PH()};
PI=function(a){a=void 0===a?{}:a;a=void 0===a?{}:a;return OI.o?OI.o.invoke(void 0,void 0,a):null};
QI=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.Wb=a;this.sourceURL=e;this.startTime=b;this.A=k||0;this.range=f||null;this.o=l||!1};
g.RI=function(){this.segments=[]};
SI=function(a,b){if(b>a.Nb())a.segments=[];else{var c=g.Sa(a.segments,function(d){return d.Wb>=b},a);
0<c&&a.segments.splice(0,c)}};
TI=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.o=e?0:8;this.dataOffset=this.offset+this.o;this.A=e};
UI=function(a){var b=a.data.getUint8(a.offset+a.o);a.o+=1;return b};
VI=function(a){var b=a.data.getUint16(a.offset+a.o);a.o+=2;return b};
WI=function(a){var b=a.data.getInt32(a.offset+a.o);a.o+=4;return b};
XI=function(a){var b=a.data.getUint32(a.offset+a.o);a.o+=4;return b};
YI=function(a){var b=a.data;var c=a.offset+a.o;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.o+=8;return b};
ZI=function(a,b){b=void 0===b?NaN:b;if(isNaN(b))var c=a.size;else for(c=a.o;c<a.size&&a.data.getUint8(a.offset+c)!=b;)++c;var d=new Uint8Array(a.data.buffer,a.offset+a.o,c-a.o);a.o=Math.min(c+1,a.size);return String.fromCharCode.apply(String,d)};
$I=function(a){this.data=new DataView(new ArrayBuffer(a));this.o=0};
aJ=function(a,b){a.data.setInt32(a.o,b);a.o+=4};
bJ=function(a,b){for(var c=0;c+4<=b.size;)aJ(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.o++,b.data.getUint8(b.offset+c++))};
cJ=function(a,b,c,d,e,f){this.o=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e;this.A=f};
eJ=function(a,b,c){this.o=a;this.uri=b||"http://youtube.com/streaming/metadata/segment/102015";this.B=void 0===c?null:c;this.A=dJ(this,"Sequence-Number");this.J=dJ(this,"Segment-Count");this.K=this.o["Segment-Durations-Ms"]||"";this.ingestionTime=dJ(this,"Ingestion-Walltime-Us")/1E6;this.C=(dJ(this,"First-Frame-Time-Us")+dJ(this,"First-Frame-Uncertainty-Us"))/1E6;this.H=dJ(this,"Target-Duration-Us")/1E6;this.G="T"==this.o["Overlayed-With-Slate"];this.F="T"==this.o["Stream-Finished"];this.D="T"==this.o.Streamable};
dJ=function(a,b){return parseInt(a.o[b],10)||0};
rka=function(a,b){this.o=a;this.duration=b};
fJ=function(a,b,c,d,e){this.A=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.o=e;e.getUint32(4)};
gJ=function(a){return String.fromCharCode.apply(null,a)};
hJ=function(a){var b={};a=a.split("\r\n");for(var c=0;c<a.length;c++){if(0==a[c].length)return b;var d=a[c].match(/([^:]+):\s+([\S\s]+)/);null!=d&&(b[d[1]]=d[2])}return null};
tka=function(a,b,c){var d=iJ(a,0,1836019558);if(!d)return null;var e=iJ(a,d.dataOffset,1835427940),f=iJ(a,d.dataOffset,1953653094),k=ska(a,d.dataOffset);if(!e||!f)return null;var l=iJ(a,f.dataOffset,1952868452),m=iJ(a,f.dataOffset,1953658222),n=iJ(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var p=iJ(a,f.dataOffset,1935763823),q=iJ(a,f.dataOffset,1935763834),u=0;if(p){u=WI(p);var w=WI(p);if(0!=u||1!=w)return null;u=WI(p)}w=iJ(a,f.dataOffset,1935828848);f=iJ(a,f.dataOffset,1936158820);var D=
WI(l),F=WI(l),I=D&2,O=D&1?YI(l):0,na=I?WI(l):0,Ia=D&8?WI(l):0,Ba=D&16?WI(l):0,Ta=D&32?WI(l):0;D=WI(m);var $a=D&1,vc=D&4,Kb=D&256;l=D&512;var Kd=D&1024,ac=D&2048;D=WI(m);var Ob=$a?WI(m):0,bc=vc?WI(m):0;$a=[];for(var Mh=[],kf=[],eg=[],Yi=0,zd=0,Il=0;Il<D;Il++){var eN=Kb?WI(m):Ia;l&&$a.push(WI(m));var Zi=Ta;vc&&0==Il?Zi=bc:Kd&&(Zi=WI(m));Mh.push(Zi);Zi=ac?WI(m):0;0==Il&&(Yi=Zi);kf.push(zd+Zi);eg.push(Il);zd+=eN}1<=Math.abs(zd-b)&&c({flaw:"segDurMismatch",dts:zd.toFixed(),seg:b.toFixed()});g.sb(eg,function(Hl,
oP){return kf[Hl]-kf[oP]});
c=[];for(zd=0;zd<D;zd++)c[eg[zd]]=zd;zd=I?4:0;Ta=16*D;vc=(0,g.Gj)(k,function(Hl,oP){return Hl+oP.size},0);
Kb=68+zd+n.size+Ta+(p?p.size:0)+(q?q.size:0)+(w?w.size:0)+(f?f.size:0)+vc;Ia=Kb-d.size;m=new $I(Kb+d.offset);d.offset&&m.qh(a,0,d.offset);aJ(m,Kb);aJ(m,1836019558);bJ(m,e);aJ(m,Kb-24-vc);aJ(m,1953653094);aJ(m,16+zd);aJ(m,1952868452);aJ(m,131072|(I?2:0));aJ(m,F);I&&aJ(m,na);bJ(m,n);aJ(m,20+Ta);aJ(m,1953658222);aJ(m,16781057);aJ(m,D);aJ(m,O+Ob+Ia);for(a=zd=0;a<D;a++)e=c[a],d=Math.round(b*e/D),e=Math.round(b*(e+1)/D)-d,d=d-zd+Yi,aJ(m,e),aJ(m,l?$a[a]:Ba),aJ(m,Mh[a]),aJ(m,d),zd+=e;p&&(aJ(m,p.size),aJ(m,
1935763823),aJ(m,0),aJ(m,1),aJ(m,u+Ia));q&&bJ(m,q);w&&bJ(m,w);f&&bJ(m,f);b=g.r(k);for(k=b.next();!k.done;k=b.next())bJ(m,k.value);return m.data.buffer};
jJ=function(a,b){var c=iJ(a.data,a.dataOffset,1952868452),d=iJ(a.data,a.dataOffset,1953658222),e=WI(c);WI(c);e&2&&WI(c);c=e&8?WI(c):0;var f=WI(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var p=XI(d);k&&WI(d);e&&WI(d);for(var q=k=0;q<p;q++){var u=l?WI(d):c;m&&WI(d);e&&0==q||!n||WI(d);f&&WI(d);k+=u}return k/b};
mJ=function(a){a=new DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.kJ(a,0,1836476516))?lJ(a):NaN};
uka=function(a){var b=g.kJ(a,0,1937011556);if(!b)return null;b=iJ(a,b.dataOffset+8,1635148593);if(!b)return null;var c=iJ(a,b.dataOffset+78,1936995172),d=iJ(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),UI(c)){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}var e=c=null,f=null;if(d=iJ(a,d.dataOffset,1886547818)){var k=iJ(a,d.dataOffset,1886546020),l=iJ(a,d.dataOffset,2037673328);if(!l&&(l=iJ(a,d.dataOffset,1836279920),!l))return null;k&&(k.skip(4),c=
WI(k)/65536,f=WI(k)/65536,e=WI(k)/65536);a=new DataView(l.data.buffer,l.dataOffset,l.size-8);return new fJ(b,c,f,e,a)}return null};
iJ=function(a,b,c){for(;nJ(a,b);){var d=oJ(a,b);if(d.type==c)return d;b+=d.size}return null};
g.kJ=function(a,b,c){for(;nJ(a,b);){var d=oJ(a,b);if(d.type==c)return d;b=pJ(d.type)?b+8:b+d.size}return null};
qJ=function(a,b){if(a.data.getUint8(a.dataOffset)){var c=a.data,d=a.dataOffset+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.dataOffset+4,b)};
rJ=function(a){if(a.data.getUint8(a.dataOffset)){var b=a.data;a=a.dataOffset+4;return 4294967296*b.getUint32(a)+b.getUint32(a+4)}return a.data.getUint32(a.dataOffset+4)};
oJ=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new TI(a,b,c,d)};
lJ=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
sJ=function(a){a=new TI(a.data,a.offset,a.size,a.type,a.A);var b=UI(a);a.skip(7);var c=XI(a);if(0==b){b=XI(a);var d=XI(a)}else b=YI(a),d=YI(a);a.skip(2);for(var e=VI(a),f=[],k=[],l=0;l<e;l++){var m=XI(a);f.push(m);k.push(XI(a));a.skip(4)}return{by:c,rK:b,rB:d,qx:f,bo:k}};
tJ=function(a){return a.data.getUint32(a.dataOffset+8)};
nJ=function(a,b){if(8>a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-b<c)return!1;c=a.getUint32(b+4);if(1635148593==c||1635148611==c||1937126244==c||1936995172==c)return!0;for(c=4;8>c;c++){var d=a.getInt8(b+c);if(97>d||122<d)return!1}return!0};
pJ=function(a){return 1701082227==a||1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a||1836475768==a};
uJ=function(a){return(a=iJ(a,0,1836019558))?a.offset+a.size:null};
vJ=function(a,b){for(var c=iJ(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=iJ(a,c.offset+c.size,b)}};
ska=function(a,b){for(var c=[];nJ(a,b);){var d=oJ(a,b);1886614376==d.type&&c.push(d);b+=d.size}return c};
wJ=function(a,b){for(var c=0,d=[];nJ(a,c);){var e=oJ(a,c);e.type==b&&d.push(e);c=pJ(e.type)?c+8:c+e.size}return d};
xJ=function(a,b){this.A=a;this.o=0;this.C=b||0};
yJ=function(a){return a.o>=a.A.byteLength};
DJ=function(a,b,c){var d=new xJ(c);if(!zJ(d,a))return!1;d=AJ(d);if(BJ(d,b)){for(a=0;b;)b>>>=8,a++;b=d.C+d.o-a;a=CJ(d,!0)+a-1;var e;e||(e=Math.ceil(Math.log(a+2)/Math.log(2)/7));var f=1<<8-e;for(d=[];d.length<e-1;)d.unshift(a%256),a=Math.floor(a/256);d.unshift(a|f);c.setUint8(b,236);for(e=0;e<d.length;e++)c.setUint8(b+1+e,d[e]);return!0}return!1};
FJ=function(a){EJ(new xJ(a));DJ([408125543,374648427,174,224],30320,a)&&DJ([408125543,374648427,174,224],21432,a)};
vka=function(a){var b=new xJ(a);EJ(b);if(zJ(b,[408125543,374648427,174,224]))b=AJ(b);else return null;for(var c=a=null;!yJ(b);){var d=CJ(b,!1);if(21432==d)switch(GJ(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=AJ(b):HJ(b)}if(!c)return null;for(var e,f=d=b=null;!yJ(c);)switch(CJ(c,!1)){case 30321:if(3!=GJ(c))return null;break;case 30324:b=IJ(c);break;case 30323:f=IJ(c);break;case 30325:d=IJ(c);break;case 30322:e=CJ(c,!0);e=JJ(c,e);e=new DataView(e.buffer,e.byteOffset,
e.byteLength);break;default:HJ(c)}return e?new fJ(a,b,f,d,e):null};
AJ=function(a){var b=CJ(a,!0),c=a.A.byteOffset+a.o;c=new DataView(a.A.buffer,c,Math.min(b,a.A.buffer.byteLength-c));c=new xJ(c,a.C+a.o);a.o+=b;return c};
GJ=function(a){for(var b=CJ(a,!0),c=KJ(a),d=1;d<b;d++)c=256*c+KJ(a);return c};
IJ=function(a){var b=CJ(a,!0),c=0;4==b?c=a.A.getFloat32(a.o):8==b&&(c=a.A.getFloat64(a.o));a.o+=b;return c};
LJ=function(a){var b=CJ(a,!0);return gJ(JJ(a,b))};
HJ=function(a){var b=CJ(a,!0);a.o+=b};
EJ=function(a){var b=a.o;a.o=0;var c=!1;try{BJ(a,440786851)&&(a.o=0,BJ(a,408125543)&&(c=!0))}catch(d){if(d instanceof RangeError)a.o=0,c=!1,g.jF(d);else throw d;}a.o=b;return c};
MJ=function(a){var b=a.o,c={Zx:1E6,ay:1E9,duration:0,Bx:0,Qn:0};if(!BJ(a,408125543))return a.o=b,null;c.Bx=CJ(a,!0);c.Qn=a.C+a.o;if(BJ(a,357149030))for(var d=AJ(a);!yJ(d);){var e=CJ(d,!1);2807729==e?c.Zx=GJ(d):2807730==e?c.ay=GJ(d):17545==e?c.duration=IJ(d):HJ(d)}else return a.o=b,null;a.o=b;return c};
NJ=function(a,b,c){var d=a.o,e=[];if(!BJ(a,475249515))return a.o=d,null;for(var f=AJ(a);BJ(f,187);){var k=AJ(f);if(BJ(k,179)){var l=GJ(k);if(BJ(k,183)){k=AJ(k);for(var m=b;BJ(k,241);)m=GJ(k)+b;e.push({wi:m,kp:l})}}}if(0<e.length&&c==e[0].wi)for(b=0;b<e.length;b++)e[b].wi+=1;a.o=d;return e};
OJ=function(a){var b=a.o;a.o=0;var c=1E6;zJ(a,[408125543,357149030,2807729])&&(c=GJ(a));a.o=b;return c};
wka=function(a,b){var c=a.o;a.o=0;if(!PJ(a)||!BJ(a,160))return a.o=c,NaN;CJ(a,!0);var d=a.o;if(!BJ(a,161))return a.o=c,NaN;CJ(a,!0);KJ(a);var e=KJ(a)<<8|KJ(a);a.o=d;if(!BJ(a,155))return a.o=c,NaN;d=GJ(a);a.o=c;return(e+d)*b/1E9};
PJ=function(a){if(!QJ(a)||!BJ(a,524531317))return!1;CJ(a,!0);return!0};
QJ=function(a){if(EJ(a)){if(!BJ(a,408125543))return!1;CJ(a,!0)}return!0};
zJ=function(a,b){for(var c=0;c<b.length;c++){if(!BJ(a,b[c]))return!1;c!=b.length-1&&CJ(a,!0)}return!0};
BJ=function(a,b,c){c=void 0===c?!1:c;if(yJ(a))return!1;for(var d=a.o;CJ(a,!1)!=b;)if(HJ(a),d=a.o,yJ(a))return!1;c&&(a.o=d);return!0};
CJ=function(a,b){var c=KJ(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+KJ(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+KJ(a),d*=128;return b?c-d:c};
KJ=function(a){return a.A.getUint8(a.o++)};
JJ=function(a,b){var c=new Uint8Array(a.A.buffer,a.A.byteOffset+a.o,b);a.o+=b;return c};
g.RJ=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
SJ=function(a){a=a.split("-");return 2==a.length&&(a=new g.RJ(parseInt(a[0],10),parseInt(a[1],10)),!isNaN(a.start)&&!isNaN(a.end)&&!isNaN(a.length)&&0<a.length)?a:null};
TJ=function(a,b){return new g.RJ(a,a+b-1)};
VJ=function(a,b,c,d,e,f,k,l,m,n){this.o=b;this.range=c;this.type=a;this.D="";this.A=-1;this.D=d;this.A=0<=e?e:-1;this.startTime=f||0;this.duration=k||0;this.C=l||0;this.fb=0<=m?m:this.range?this.range.length:NaN;this.H=!!n;this.range?(this.B=this.C+this.fb==this.range.length,this.G=this.startTime+this.duration*this.C/this.range.length,this.J=this.duration*this.fb/this.range.length,this.F=this.G+this.J):(this.B=0!=this.fb,UJ(this));this.K=[]};
UJ=function(a){a.G=a.startTime;a.J=a.duration;a.F=a.G+a.J};
xka=function(a,b,c){var d=!(!b||b.o!=a.o||b.type!=a.type||b.A!=a.A);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.C+b.fb==a.C+a.fb:d};
WJ=function(a){return 1==a.type||2==a.type};
XJ=function(a,b,c){return c||a.o==b.o?a.range&&b.range?a.range.start+a.C+a.fb==b.range.start+b.C:a.A==b.A?a.C+a.fb==b.C:a.A+1==b.A&&0==b.C&&a.B:!1};
YJ=function(a,b){return XJ(a,b)||1E-6>=Math.abs(a.F-b.G)||a.A+1==b.A&&0==b.C&&a.B?!0:!1};
yka=function(a){1==a.length||(0,g.Fj)(a,function(c){return!!c.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.RJ(a[0].range.start+a[0].C,b.range.start+b.C+b.fb-1)};
$J=function(a){var b="";g.Mb(ZJ(a),function(c,d){b+=d+"="+c+","});
return b.slice(0,-1)};
ZJ=function(a){var b={};b.itag=aK(a.o.info);b.type=a.type;b.seg=String(a.A);a.range&&(b.range=""+(a.range.start+a.C)+"-"+(a.range.start+a.C+a.fb-1));b.time=""+a.G.toFixed(1)+"-"+(a.G+a.J).toFixed(1);b.off=String(a.C);b.len=String(a.fb);a.B&&(b.end="1");a.H&&(b.eos="1");return b};
bK=function(a,b,c,d){a=new VJ(a.type,a.o,a.range,"reslice_"+a.D,a.A,a.startTime,a.duration,b,c,d&&a.H);a.B=d;return a};
cK=function(a,b){var c=b.A;a.D="updateWithEmsg";a.A=c;b.F&&(a.H=b.F)};
dK=function(a,b){var c=b.Wb;a.D="updateWithSegmentInfo";a.A=c;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,UJ(a)};
eK=function(a,b,c,d,e){this.info=a;this.buffer=b;this.range=c;this.o=null;this.C=d;this.A=e};
fK=function(a){return a.range?new DataView(a.buffer,a.range.start,a.range.length):new DataView(a.buffer)};
gK=function(a){if(a.buffer.slice)return new Uint8Array(a.buffer.slice(a.range.start,a.range.end+1));a=new Uint8Array(a.buffer,a.range.start,a.range.end+1);return new Uint8Array(a)};
hK=function(a,b){b=Math.min(b,a.info.fb);var c=new VJ(a.info.type,a.info.o,a.info.range,"splitSlice1_"+a.info.D,a.info.A,a.info.startTime,a.info.duration,a.info.C,b,!1);c.B=!1;var d=TJ(a.range.start,b);c=new eK(c,a.buffer,d,a.C,a.A);var e=new VJ(a.info.type,a.info.o,a.info.range,"splitSlice2_"+a.info.D,a.info.A,a.info.startTime,a.info.duration,a.info.C+b,a.info.fb-b,a.info.H);e.B=a.info.B;d=new g.RJ(d.end+1,a.range.end);d=new eK(e,a.buffer,d,a.C,!1);return[c,d]};
jK=function(a){if(g.iK(a.info.o.info)){var b=a.info.o.o;for(var c=NaN,d=NaN,e=0,f=new DataView(a.buffer);nJ(f,e);){var k=oJ(f,e);1936286840==k.type?d=tJ(k):1836476516==k.type?d=lJ(k):1952867444==k.type&&isNaN(c)&&(c=rJ(k));e=pJ(k.type)?e+8:e+k.size}!d&&b&&(d=mJ(b));b=c/d}else b=new xJ(fK(a)),c=a.A?b:new xJ(new DataView(a.info.o.o.buffer)),d=OJ(c),c=b.o,b.o=0,PJ(b)?BJ(b,231)?(d=GJ(b)*d/1E9,b.o=c,b=d):(b.o=c,b=NaN):(b.o=c,b=NaN);return b||a.info.G};
kK=function(a,b){if(g.iK(a.info.o.info)){for(var c=a.info.o.o,d=new DataView(a.buffer),e=NaN,f=NaN,k=0;nJ(d,k);){var l=oJ(d,k);isNaN(e)&&(1936286840==l.type?e=tJ(l):1836476516==l.type&&(e=lJ(l)));if(1952867444==l.type){!e&&c&&(e=mJ(c));var m=rJ(l);isNaN(f)&&(f=Math.round(b*e)-m);qJ(l,m+f)}k=pJ(l.type)?k+8:k+l.size}return!0}c=new xJ(new DataView(a.buffer));e=a.A?c:new xJ(new DataView(a.info.o.o.buffer));d=b;f=OJ(e);e=c.o;c.o=0;if(PJ(c)&&BJ(c,231))if(k=CJ(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/
Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.A.setUint8(c.o+f,d&255),d>>>=8;c.o=e;c=!0}else c=!1;return c};
lK=function(a){if(g.iK(a.info.o.info)){var b=0;var c=new DataView(a.buffer);c=wJ(c,1936286840);c=g.r(c);for(var d=c.next();!d.done;d=c.next())d=sJ(d.value),b+=d.bo[0]/d.by;b=b||NaN;if(!(0<=b))a:{b=a.info.o.o;c=0;d=new DataView(a.buffer);for(var e,f=0;nJ(d,c);){var k=oJ(d,c);if(1836476516==k.type)e=lJ(k);else if(1836019558==k.type){!e&&b&&(e=mJ(b));if(!e){b=NaN;break a}var l=iJ(k.data,k.dataOffset,1953653094);f+=jJ(l,e)}c=pJ(k.type)?c+8:c+k.size}b=f||NaN}}else e=new xJ(new DataView(a.buffer)),b=a.A?
e:new xJ(new DataView(a.info.o.o.buffer)),b=wka(e,OJ(b));return b||a.info.J};
mK=function(a){return g.iK(a.info.o.info)?a.o?a.o.G&&!!iJ(new DataView(a.buffer),0,1718909296):!1:EJ(new xJ(new DataView(a.buffer)))};
nK=function(a){var b;if(g.iK(a.info.o.info)){var c=fK(a);if(b=iJ(c,0,1701671783)){b.skip(4);c=ZI(b,0);ZI(b,0);XI(b);XI(b);XI(b);XI(b);var d=ZI(b);b=b.offset;c=(d=hJ(d))?new eJ(d,c,b):null}else c=null}else{c=new xJ(fK(a));b=c.o;c.o=0;var e=d=null;if(zJ(c,[408125543,307544935,29555,26568]))for(var f=AJ(c);!yJ(f);){var k=CJ(f,!1);17543==k?e=hJ(LJ(f)):17827==k?d=LJ(f):HJ(f)}c.o=b;c=e?new eJ(e,d):null}a.o=c};
oK=function(a){var b=a.info.o.info;a=fK(a);g.iK(b)?vJ(a,1701671783):2==b.containerType&&DJ([408125543],307544935,a)};
pK=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.HF(b||"");var c={};(0,g.E)(this.experimentIds,function(d){c[d]=!0});
this.experiments=c;this.B=!!c["9414740"]};
g.qK=function(){this.kz=this.jz=!1;this.HH=2;this.F=20971520;this.H=8388608;this.A=NaN;this.ua=3145728;this.aa=62914560;this.ya=10485760;this.Ty=this.za=0;this.K=NaN;this.Gj=0;this.Jl=this.wB=2;this.Xa=3;this.Kl=!1;this.wz=2;this.Sa=25;this.ga=2097152;this.vz=1048576;this.ha=!1;this.L=1800;this.gd=5;this.rd=10;this.Y=15;this.P=1;this.C=1.15;this.D=1.05;this.Wy=8;this.dz=!0;this.To=iG("xboxone")||pG()&&!qG()||jG();this.yg=!1;this.Iz=!0;this.wg=this.sd=this.B=!1;this.yz=.8;this.Ra=!1;this.qz=!0;this.J=
this.gq=!1;this.XG=25;this.XM=this.uz=!1;this.xa=6;this.Ur=this.ka=!1;this.Fj=.5;this.Il=this.yb=!1;this.Od=0;this.Bo=this.ba=!1;this.ce=0;this.Rc=!1;this.TA=2;this.Oa=5E3;this.ia=this.ea=!1;this.M=.5;this.dc=2;this.Qb=this.Sz=0;this.Tz=1.5;this.Wz=this.Dj=.5;this.Pb=this.ms=!1;this.Fc=15;this.WG=1;this.Az=this.hz=this.Ia=this.Go=!1;this.ZG=0;this.Mz=this.Do=this.nz=this.rr=this.Ag=this.Oz=this.mz=this.lz=this.iz=!1;this.hq=1;this.Qq=0;this.Sp=this.Qz=this.W=this.o=!1;this.lf=0;this.xg=this.wp=this.Pd=
this.Fo=this.Ry=this.Ap=this.Lz=this.zg=this.Qk=this.Eo=this.lB=this.Ho=this.Ga=this.Xr=this.Hl=this.aC=this.vg=this.Ma=this.Rz=this.td=this.jb=this.Ll=!1;this.G="";this.WM=1048576;this.qr=this.Yy=this.uc=!1;this.Nd=46800;this.xc=this.Br=this.ma=this.Ej=!1};
zka=function(a,b){1080<b.Aa().zc&&!a.jz&&(a.F=36700160,a.H=5242880,a.ua=10485760,a.ga=4194304,a.jz=!0);2160<b.Aa().zc&&!a.kz&&(a.F=104857600,a.K=13107200,a.kz=!0);a.vz=Math.max(65536,Math.min(a.ga,5*b.o))};
Aka=function(){this.B=this.o=this.A=this.C=this.D=0};
rK=function(a,b){a[b]||(a[b]=new Aka);return a[b]};
sK=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.jF(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
tK=function(a){return(a=Bka.exec(a))?a[0]:""};
uK=function(a){var b=void 0===b?!1:b;return sK(Cka.test(a),a,b,"Nielsen OCR URL")};
vK=function(a){var b=void 0===b?!1:b;return sK(Dka.test(a),a,b,"Active View 3rd Party Integration URL")};
wK=function(a){var b=void 0===b?!1:b;return sK(Eka.test(a),a,b,"Google/YouTube Brand Lift URL")};
xK=function(a){var b=void 0===b?!1:b;return sK(Fka.test(a),a,b,"Trusted Stream URL")};
g.yK=function(a){var b=void 0===b?!1:b;return sK(Gka.test(a),a,b,"Trusted Image URL")};
g.zK=function(a){var b=void 0===b?!1:b;return sK(Hka.test(a),a,b,"Trusted Promoted Video Domain URL")};
AK=function(a,b){b=void 0===b?!1:b;return sK(Ika.test(a),a,b,"Captions URL")};
BK=function(a){a=new g.Pn(a);g.Qn(a,document.location.protocol);g.Rn(a,document.location.hostname);document.location.port&&g.Sn(a,document.location.port);return a.toString()};
CK=function(a){a=new g.Pn(a);g.Qn(a,document.location.protocol);return a.toString()};
EK=function(a){a=a.split("");DK.pM(a,1);DK.kI(a,44);DK.kI(a,68);DK.wj(a,14);DK.kI(a,59);DK.kI(a,35);DK.pM(a,3);DK.kI(a,7);return a.join("")};
g.FK=function(a){this.B=a;this.F=this.A=this.D="";this.o={};this.C=""};
HK=function(a){GK(a);return a.F};
IK=function(a){GK(a);return"local"==a.D};
JK=function(a){GK(a);return Qb(a.o,function(b){return null!==b})};
KK=function(a){GK(a);if("/videoplayback"!=a.A){var b=a.clone();b.set("playerfallback","1");return b}var c=a.Wa();b=new g.Pn(c);var d=a.get("fvip");a=decodeURIComponent(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.A.replace(/^[^.]*/,""),g.Rn(b,"r"+d+"---"+a[1]+c),b=new g.FK(b.toString()),b.set("fallback_count","1"),b;d=b.A.match("\\.a1\\.googlevideo\\.com$");b.A.match("\\.googlevideo\\.com$")?(g.Rn(b,"redirector.googlevideo.com"),c=b.toString()):b.A.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.Rn(b,"www.youtube.com"),c=b.toString()):c=BK(c);b=new g.FK(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
GK=function(a){if(a.B){if(!xK(a.B)&&!a.B.startsWith("local"))throw Error("Untrusted URL: "+a.B);var b=g.Zn(a.B);a.D=b.B;a.F=b.A+(null!=b.D?":"+b.D:"");var c=b.C;if(0==c.indexOf("/videoplayback"))a.A="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest")){var d=c.indexOf("/",12),e=c.indexOf("/",d+1);0<d&&0<e?(a.A=c.substr(0,e),c=c.substr(e+1)):(a.A=c,c="")}else a.A=c,c="";d=a.o;a.o=LK(c);g.Oa(a.o,MK(b.PB()));g.Oa(a.o,d);"index.m3u8"==a.o.file&&(delete a.o.file,a.A+="/file/index.m3u8");
a.B="";a.C=""}};
Jka=function(a){GK(a);var b=a.D+(a.D?"://":"//")+a.F+a.A;if(JK(a)){var c=[];g.Mb(a.o,function(d,e){null!==d&&c.push(e+"="+d)});
b+="?"+c.join("&")}return b};
LK=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&NK(c,a[b],a[b+1]);return c};
MK=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?NK(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
NK=function(a,b,c){if("cmo"==b){var d;0<=(d=c.indexOf("="))?(b="cmo="+c.substr(0,d),c=c.substr(d+1)):0<=(d=c.indexOf("%3D"))&&(b="cmo="+c.substr(0,d),c=c.substr(d+3))}a[b]=c};
OK=function(a){this.o=a;this.A={};this.C=""};
Kka=function(a,b){var c=b.indexOf("?");if(0<c){var d=MK(b.substr(c+1));g.Mb(d,function(e,f){this.set(f,e)},a);
b=b.substr(0,c)}c=LK(b);g.Mb(c,function(e,f){this.set(f,e)},a)};
Lka=function(a){var b=a.o.Wa(),c=[];g.Mb(a.A,function(e,f){c.push(f+"="+e)});
if(!c.length)return b;var d=c.join("&");a=JK(a.o)?"&":"?";return b+a+d};
PK=function(a,b){var c=new g.FK(b),d=c.get("req_id");d&&a.set("req_id",d);g.Mb(a.A,function(e,f){c.set(f,null)});
return c};
Mka=function(a){this.B=a.clone();this.A=a;this.C=null;this.D=this.o=0};
RK=function(a,b,c){var d=rK(c,HK(a.A));if(d.A>=b.TA||1<=d.o)if(a=QK(a),c=rK(c,HK(a)),c.A+c.o<=d.A+d.o)return!0;return!1};
g.SK=function(a,b){var c=b?QK(a):a.A;return new OK(c)};
QK=function(a){a.C||(a.C=KK(a.B));return a.C};
TK=function(a){return 1<a.o?a.D+1E3*Math.pow(1.6,a.o-1)<g.PH():!0};
g.UK=function(a,b,c){b.o===a.A&&(a.A=PK(b,c));b.o===a.C&&(a.C=PK(b,c))};
VK=function(a,b){this.A=a[0].o.C;this.B=b||"";this.o=a;this.range=this.o[0].range&&0<this.o[0].fb?yka(this.o):null;this.D=this.C=NaN;this.F=this.requestId=null};
WK=function(a){return!WJ(a.o[a.o.length-1])};
XK=function(a){return WJ(a.o[0])};
YK=function(a){return 4==a.o[a.o.length-1].type};
g.ZK=function(a,b,c,d){/http[s]?:\/\//.test(a.B)?b=new OK(new g.FK(a.B)):(b=null===a.F?RK(a.A,b,c):a.F,b=g.SK(a.A,b),a.B&&Kka(b,a.B));(d=d||a.range)&&b.set("range",d.toString());a.requestId&&b.set("req_id",a.requestId);isNaN(a.C)||b.set("headm",a.C.toString());isNaN(a.D)||b.set("mffa",a.D+"ms");return b};
$K=function(a){if(a.range)return a.range.length;a=a.o[0];return Math.round(a.J*a.o.info.o)};
Nka=function(a,b,c){return a.range?new g.RJ(a.range.start+b,a.range.end):TJ(b,c)};
aL=function(a,b,c){this.sampleRate=a||0;this.o=b||0;this.spatialAudioType=c||0};
Oka=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
bL=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
eL=function(a,b,c,d,e,f,k,l,m,n,p,q){this.width=a;this.height=b;this.quality=f||cL(a,b);this.zc=g.dL[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=l)||(a=g.dL[this.quality],0==a?a="Otomatik":(b=this.fps,c=this.projectionType,a=a+(2==c||3==c||4==c?"s":"p")+(55<b?"60":49<b?"50":39<b?"48":"")));this.qualityLabel=a;this.o=m||"";this.primaries=n||"";this.A=!1!==p;this.streamType=q||0};
fL=function(a){return 1280<=a.width||720<=a.height};
gL=function(a){return"smpte2084"==a.o||"arib-std-b67"==a.o};
cL=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=hL[0],f=0;f<hL.length;f++){var k=hL[f],l=g.dL[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
jL=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=iL(b);this.mimeType=b;this.o=k||0;this.B=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Rb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.ad=void 0===f?null:f;this.A=Pka[aK(this)]||"";this.C=null};
aK=function(a){return a.id.split(";",1)[0]};
kL=function(a){return"9"==a.A||"("==a.A||"9h"==a.A||"(h"==a.A};
lL=function(a){return"9h"==a.A||"(h"==a.A};
g.iK=function(a){return 1==a.containerType};
mL=function(a){return"application/x-mpegURL"==a.mimeType};
nL=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)};
oL=function(a){return a.includes("vtt")||a.includes("text/mp4")};
iL=function(a){return 0<=a.indexOf("/mp4")?1:0<=a.indexOf("/webm")?2:0<=a.indexOf("/x-flv")?3:0<=a.indexOf("/vtt")?4:0};
pL=function(a,b,c,d,e,f,k){var l=new aL;b in g.dL||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=g.dL[b],d=Math.round(16*e/9));b=new eL(d,e,0,null,void 0,b,f,void 0,void 0,void 0,k);a=unescape(a.replace(/&quot;/g,'"'));return new jL(c,a,l,b)};
qL=function(a,b,c){this.info=b;this.initRange=c||null;this.H=this.o=null;this.F=!1;this.D=null;this.L=0;this.C=new Mka(a);this.B=null;this.M=NaN;this.J=null};
rL=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.B&&(g.iK(a.info)?a.B=uka(b):2==a.info.containerType&&(a.B=vka(b)))};
sL=function(a,b,c,d,e,f){f=void 0===f?0:f;qL.call(this,a,b,d);this.index=e||new g.RI;this.G=f;this.W=c;this.K=!0;if(this.A=!c)this.F=!0};
tL=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
uL=function(a){if(a.wm())return!1;a=a.Xd("content-type");return"audio/mp4"==a||"video/mp4"==a};
vL=function(a){return a.o?a.J&&a.B&&tL()?3:2:a.W?-1:1};
wL=function(a,b,c,d,e){e=void 0===e?Infinity:e;this.segments=[];this.o=a;this.F=void 0===b?0:b;this.A=void 0===c?!1:c;this.C=-1;this.D=void 0===d?0:d;this.G=e;this.B=null};
yL=function(a,b,c){b=xL(a,b);return 0<=b&&(c||!a.segments[b].o)};
zL=function(a){return a.segments.length?a.segments[a.segments.length-1]:null};
xL=function(a,b){return g.qb(a.segments,{Wb:b},function(c,d){return c.Wb-d.Wb})};
AL=function(a,b,c){return new QI(b,Math.max(0,c.startTime-(c.Wb-b)*a.o),a.o,0,"sq/"+b,void 0,void 0,!0)};
BL=function(a,b,c,d,e,f,k){d=void 0===d?!1:d;e=void 0===e?14400:e;f=void 0===f?0:f;k=void 0===k?Infinity:k;sL.call(this,a,b,"",void 0,void 0,c);this.index=new wL(c||0,e,d,f,k)};
Qka=function(a,b,c,d,e){this.Wb=a;this.o=b;this.durationSecs=c;this.A=d||NaN;this.C=e||NaN};
CL=function(a,b,c){for(;a;a=a.parentNode)if(a.attributes&&(!c||a.nodeName==c)){var d=a.getAttribute(b);if(d)return d}return""};
DL=function(a,b){for(var c=a;c;c=c.parentNode){var d=c.getElementsByTagName(b);if(0<d.length)return d[0]}return null};
EL=function(a){if(!a)return 0;var b=a.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return b?3600*parseFloat(b[2]||0)+60*parseFloat(b[4]||0)+parseFloat(b[6]||0):parseFloat(a)};
FL=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
GL=function(){this.o=[];this.A=null;this.D=0;this.B=[];this.C=!1;this.F=""};
Rka=function(a){var b=a.B;a.B=[];return b};
Ska=function(){this.B=[];this.o=null;this.A={};this.C={}};
Wka=function(a,b,c){var d=[];b=Array.from(b.getElementsByTagName("SegmentTimeline"));b=g.r(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=Tka(a):"AdaptationSet"==f.nodeName?k=Uka(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Vka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);jb(d,Rka(k))}jb(a.B,d);kaa(a.B,function(l){return 1E3*l.o+l.A})};
Xka=function(a){a.o&&(a.o.o=[]);g.Mb(a.A,function(b){b.o=[]});
g.Mb(a.C,function(b){b.o=[]})};
Tka=function(a){a.o||(a.o=new GL);return a.o};
Uka=function(a,b){a.A[b]||(a.A[b]=new GL);return a.A[b]};
Vka=function(a,b){a.C[b]||(a.C[b]=new GL);return a.C[b]};
HL=function(a,b,c,d,e){qL.call(this,a,b,d||void 0);this.index=new g.RI;this.indexRange=e;this.A=c};
IL=function(a,b,c){var d=a.index.Bu(b),e=a.index.ld(b),f=a.index.getDuration(b),k;c?f=k=0:0<a.info.o&&(k=a.info.o*f);a=new VJ(3,a,null,"otfCreateRequestInfoForSegment",b,e,f,0,k,b==a.index.Nb()&&0<k);return new VK([a],d)};
Yka=function(a,b){if(!a.index.Jb()){for(var c=[],d=b.J,e=b.K.split(",").filter(function(q){return 0<q.length}),f=0,k=0,l=0,m=/^(\d+)/,n=/r=(\d+)/,p=0;p<d;p++){if(0>=l)if(l=e.shift(),k=(k=m.exec(l))?+k[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1;
else return;c.push(new QI(p,f,k,NaN,"sq/"+(p+1)));f+=k;l--}a.index.append(c)}};
g.JL=function(){this.Pa=0;this.o=new Float64Array(128);this.A=new Float64Array(128);this.B=1;this.C=!1};
KL=function(a){if(a.o.length<a.Pa+1){var b=2*a.o.length;b+=2;var c=a.o;a.o=new Float64Array(b+1);var d=a.A;a.A=new Float64Array(b+1);for(b=0;b<a.Pa+1;b++)a.o[b]=c[b],a.A[b]=d[b]}};
g.LL=function(a,b,c,d,e,f,k){k=void 0===k?{}:k;qL.call(this,a,b,c||void 0);this.indexRange=d;this.G=null;this.index=new g.JL;this.A=e;this.lastModified=f;this.K=k};
ML=function(a,b,c,d){for(var e=[];b<=a.index.Nb();b++){var f=a.index,k=b;f=TJ(f.Gq(k),k+1<f.Pa||f.C?f.o[k+1]-f.o[k]:-1);k=a.index.ld(b);var l=a.index.getDuration(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new VJ(3,a,f,"getRequestInfoForRange_",b,k,l,m,n,b==a.index.Nb()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new VK(e)};
NL=function(){this.length=1};
OL=function(){this.buffered=new NL};
Zka=function(a,b){return PL(function(c,d){return g.EG(c,d,4,1E3)},a,b)};
g.QL=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=gJ(new Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""};
PL=function(a,b,c){return a(b,c).then(function(d){var e=g.QL(d);return e?PL(a,e,c):d})};
RL=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.vH.call(this);this.P=this.duration=0;this.Y=this.wk=this.isLive=this.C=!1;this.K=g.PH();this.G=Infinity;this.o={};this.sourceUrl=a||"";this.F=this.M=0;this.D=null;this.ea=!!b&&b.o("html5_live_nonzero_first_segment_start_time");this.A=!1;this.L=[];this.ia=!!b&&b.o("html5_live_self_init_segments");this.B=null;this.ka=c;this.ga=!b||!b.o("html5_manifest_without_credentials");this.H=0;this.W=!!b&&b.o("disable_html5_manifest_namespace_redux");
this.aa="";this.J=NaN;this.ba=b&&b.o("disable_html5_duration_caching")?Infinity:10};
SL=function(a){return Qb(a.o,function(b){return!!b.info.ad})};
$ka=function(a){return Qb(a.o,function(b){return oL(b.info.mimeType)})};
ala=function(a){return g.Rb(a.o,function(b){return b.info.video?b.Yq():!0})};
TL=function(a){return Qb(a.o,function(b){return IK(b.C.A)})};
UL=function(a,b){a.o[b.info.id]=b};
WL=function(a,b,c,d,e,f){var k=bla(a);return d||e?dla(a,e,b,f):3==k&&VL?ela(a,b,c,f):fla(a,b,c,f)};
fla=function(a,b,c,d){c=void 0===c?0:c;var e=new RL("",d,!1);e.duration=c||0;(0,g.E)(a,function(f){var k=XL(f,b,e.duration),l=SJ(f.init),m=SJ(f.index),n=parseInt(f.clen,10),p=YL(f.url,f.sp,f.s),q=parseInt(f.lmt,10);p&&UL(e,new g.LL(p,k,l,m,n,q,f))});
return e};
ela=function(a,b,c,d){c=void 0===c?0:c;var e=new RL("",d,!1);e.duration=c||0;(0,g.E)(a,function(f){var k=XL(f,b,e.duration),l=YL(f.url,f.sp,f.s);if((g.iK(k)||d&&d.o("html5_manifestless_vp9_otf")&&k.video)&&l)if(k.video&&3==k.video.streamType)UL(e,new HL(l,k,"sq/0",null,null));else{var m=SJ(f.init);f=SJ(f.index);UL(e,new HL(l,k,"",m,f))}});
e.Y=!0;return e};
dla=function(a,b,c,d){var e=new RL("",d,!0);(0,g.E)(a,function(f){var k=XL(f,c),l=YL(f.url,f.sp,f.s),m=parseInt(f.target_duration_sec,10);f=parseInt(f.max_dvr_duration_sec,10)||14400;var n=parseInt(l.get("min_sq"),10)||0,p=parseInt(l.get("max_sq"),10)||Infinity,q=!oL(k.mimeType);l&&UL(e,new BL(l,k,m,d&&d.o("html5_manifestless_interpolate")&&q,f,n,p))});
e.C=!b;e.wk=!0;e.A=!0;e.isLive=!b;return e};
XL=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag;var f=a.itag;var k=a.xtags;k&&(f=a.itag+";"+k);var l=null;k=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){l=(a.size||"640x360").split("x");l=new eL(+l[0],+l[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled,+a.stream_type);var m=l;null===ZL&&(ZL=window.MediaSource&&MediaSource.isTypeSupported&&MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16.09"')&&
!MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99.99"'));if((ZL||$L)&&('video/webm; codecs="vp9"'==d||'video/webm; codecs="vp9.2"'==d)){var n="00",p="08",q="01",u="01",w="01";'video/webm; codecs="vp9.2"'==d&&(n="02",p="10","bt2020"==m.primaries&&(w=q="09"),"smpte2084"==m.o&&(u="16"),"arib-std-b67"==m.o&&(u="18"));d='video/webm; codecs="'+["vp09",n,"51",p,"01",q,u,w].join(".")+'"'}}n=m=null;nL(d)&&(m=new aL(+a.audio_sample_rate||void 0,a.audio_channels||gla[e]||0,+a.spatial_audio_type),
a.name&&(n=new bL(a.name,a.audio_track_id,"1"==a.isDefault)));a.caption_display_name&&a.caption_vss_id&&a.caption_language_code&&(k=new Oka(a.caption_display_name,a.caption_vss_id,a.caption_language_code,a.caption_kind));e=parseInt(a.bitrate,10)/8;p=parseInt(a.clen,10);c=c&&p?p/c:0;p=null;if(b&&a.drm_families)for(p={},a=g.r(a.drm_families.split(",")),q=a.next();!q.done;q=a.next())q=q.value,p[q]=b[q];return new jL(f,d,m,l,n,p,e,c,k)};
bla=function(a){return(0,g.Ik)(a,function(b){return 3==+b.stream_type})?3:0};
YL=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=new g.FK(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");c&&d.set(b,encodeURIComponent(EK(decodeURIComponent(c))));return d};
cM=function(a,b){var c=CL(b,"id");c=c.replace(":",";");var d=CL(b,"mimeType"),e=CL(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=parseInt(CL(b,"bandwidth"),10)/8;var f=parseInt(DL(b,"BaseURL").getAttribute(aM(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){k=parseInt(CL(b,"width"),10);var l=parseInt(CL(b,"height"),10),m=parseInt(CL(b,"frameRate"),10),n=hla(CL(b,aM(a,"projectionType")));a:switch(CL(b,aM(a,"stereoLayout"))){case "layout_left_right":var p=
1;break a;case "layout_top_bottom":p=2;break a;default:p=0}CL(b,"video_level");k=new eL(k,l,m,n,p,void 0,void 0,void 0,void 0,void 0,void 0)}m=l=null;if(nL(d))if(l=parseInt(CL(b,"audioSamplingRate"),10),m=parseInt(CL(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=ila(CL(b,aM(a,"spatialAudioType"))),l=new aL(l,m,n),m=CL(b,"lang")||"und",n=DL(b,"Role")){var q=CL(n,"value")||"";Xb(bM,q)?(n=m+"."+bM[q],p="main"==q,m=CL(b,aM(a,"langName"))||m+" - "+q,m=new bL(m,n,p)):m=null}else m=
null;p=null;if(n=DL(b,"ContentProtection"))if(g.kG())if((p=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==p.value)for(p={},n=n.firstChild;null!=n;n=n.nextSibling)"yt:SystemURL"==n.nodeName&&(p[n.attributes.type.value]=n.textContent.trim());else p=null;else if((p=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==p.textContent)for(p={},n=n.firstChild;null!=n;n=n.nextSibling)"SystemURL"==n.localName&&"http://youtube.com/yt/2012/10/10"==n.namespaceURI&&(p[n.attributes.type.textContent]=
n.textContent.trim());else p=null;return new jL(c,d,l,k,m,p,e,f)};
hla=function(a){switch(a){case "equirectangular":return 2;case "equirectangular_threed_top_bottom":return 3;case "mesh":return 4;case "rectangular":return 1;default:return 0}};
ila=function(a){switch(a){case "spatial_audio_type_ambisonics_5_1":return 1;case "spatial_audio_type_ambisonics_quad":return 2;case "spatial_audio_type_foa_with_non_diegetic":return 3;default:return 0}};
dM=function(a,b){b=void 0===b?"":b;a.F=1;a.K=g.PH();return g.Ug(Zka(b||a.sourceUrl,{format:"RAW",method:"GET",withCredentials:a.ga}).then((0,g.B)(a.iL,a)),(0,g.B)(a.lL,a))};
jla=function(a,b,c){return dM(new RL(a,b,c),a)};
eM=function(a,b){var c=new RL,d;for(d in a)c[d]=g.ic(a[d]);var e={},f=!1;g.Mb(a.o,function(k,l){if(k){var m=b(k,l);m?(e[l]=m,f=!0):e[l]=k}});
c.o=e;return f?c:null};
kla=function(a,b,c){var d=a.getAttribute("media"),e=null;c||(a=a.getAttribute("mediaRange"),null!=a&&(0<=parseInt(a.split("-")[1],10)?e=SJ(a):d=d+"?range="+a));return new QI(b.Wb,b.o,b.durationSecs,b.A,d,e,b.C)};
fM=function(a){return a.isLive&&g.PH()-a.K>=a.G};
gM=function(a){var b=a.G;isFinite(b)&&(fM(a)?a.oD():(b=Math.max(0,a.K+b-g.PH()),a.B||(a.B=new g.V(a.oD,b,a),g.M(a,a.B)),a.B.start(b)))};
lla=function(a){a=a.o;for(var b in a){var c=a[b].index;if(c.Jb())return c.Nb()+1}return 0};
hM=function(a){if(!isNaN(a.J))return a.J;var b=a.o,c;for(c in b){var d=b[c].index;if(d.Jb()){b=0;for(c=d.tf();c<=d.Nb();c++)b+=d.getDuration(c);b/=d.ak();b=.5*Math.round(b/.5);d.ak()>a.ba&&(a.J=b);return b}if(a.isLive&&(d=b[c],d.G))return d.G}return NaN};
iM=function(a,b){for(var c in a.o){var d=a.o[c].index;if(d.Jb()){var e=d.Sf(b),f=d.jw(e);if(f)return f+b-d.ld(e)}}return NaN};
mla=function(a,b){var c=$b(a.o,function(e){return e.index.Jb()});
if(!c)return NaN;c=c.index;var d=c.Sf(b);return c.ld(d)==b?b:d<c.Nb()?c.ld(d+1):NaN};
nla=function(a,b){g.Mb(a.o,function(c){g.Mb(b,function(d,e){var f=c.C;f.A.set(e,d);f.B.set(e,d);f.C&&f.C.set(e,d)})})};
ola=function(a,b,c){var d=!1,e;for(e in a.o){var f=oL(a.o[e].info.mimeType)||!!a.o[e].info.video;c==f&&(f=a.o[e].index,yL(f,b.Wb)||(f.nD(b),d=!0))}return d};
jM=function(a,b,c){for(var d in a.o){var e=oL(a.o[d].info.mimeType)||!!a.o[d].info.video;if(c==e){e=a.o[d].index;var f=xL(e,b);0<=f&&e.segments.splice(f,1)}}};
aM=function(a,b){return a.W?"yt:"+b:a.aa+":"+b};
pla=function(a){return g.Ua(Object.values(a.o),function(b){return b.info.ad&&b.info.video?480<b.info.video.zc&&"H"==b.info.A:!1})};
kM=function(){var a=g.z("yt.player.utils.videoElement_");a||(a=g.ke("VIDEO"),g.Da("yt.player.utils.videoElement_",a,void 0));return a};
lM=function(a){var b=kM();return!!(b&&b.canPlayType&&b.canPlayType(a))};
nM=function(a){if(/opus/.test(a)&&(g.mM&&!ep("38")||g.mM&&iG("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!nG())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!lM(a)};
oM=function(){var a=kM();return!!a.webkitSupportsPresentationMode&&g.Ja(a.webkitSetPresentationMode)};
pM=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled};
qM=function(){var a=kM();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
rM=function(a,b){this.o=a;this.A=b;this.C=0;Object.defineProperty(this,"timestampOffset",{get:this.rW,set:this.vW});Object.defineProperty(this,"buffered",{get:this.pW})};
qla=function(){this.length=0};
sM=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.o=a;this.A=NaN;this.C=0;Object.defineProperty(this,"duration",{get:this.qW,set:this.uW});Object.defineProperty(this,"readyState",{get:this.sW});this.o.addEventListener("webkitsourceclose",(0,g.B)(this.tW,this),!0)};
tM=function(a,b,c){this.errorCode=a;this.o=b;this.details=c||{}};
uM=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,=]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
vM=function(a,b){return{start:function(c){return a[c]},
end:function(c){return b[c]},
length:a.length}};
wM=function(a,b){b=void 0===b?",":b;var c="";if(a)for(var d=0;d<a.length;d++)c+=a.start(d).toFixed(3)+"-"+a.end(d).toFixed(3)+b;return c};
xM=function(a,b){if(!a)return-1;try{for(var c=0;c<a.length;c++)if(a.start(c)<=b&&a.end(c)>=b)return c}catch(d){}return-1};
yM=function(a,b){if(!a)return NaN;var c=xM(a,b);return 0<=c?a.end(c):NaN};
zM=function(a){return a&&a.length?a.end(a.length-1):NaN};
AM=function(a,b){var c=yM(a,b);return 0<=c?c-b:0};
BM=function(a,b,c){for(var d=[],e=[],f=0;f<a.length;f++)a.end(f)<b||a.start(f)>c||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return vM(d,e)};
CM=function(a,b){g.vH.call(this);var c=this;this.o=a;this.D=b;this.F=null;this.B=this.C=!1;this.A=function(d){return c.U(d.type,c)};
this.supports(3)&&(this.o.addEventListener("updateend",this.A),this.o.addEventListener("error",this.A))};
DM=function(a,b,c,d){g.vH.call(this);var e=this;this.o=a;this.J={error:function(){!e.la()&&e.isActive()&&e.U("error",e)},
updateend:function(){!e.la()&&e.isActive()&&e.U("updateend",e)}};
wH(this.o,this.J);this.A=b;this.H=c;this.D=0;this.B=Infinity;this.F=0;this.G=this.C=d};
EM=function(a){return a.o.Cp()!=a.D+a.A||a.o.tu()!=a.B+a.A||a.o.Vc()!=a.F+a.A};
FM=function(a,b){this.o=a;this.A=!!b;this.C=!1};
GM=function(a,b){b=void 0===b?!1:b;g.L.call(this);this.D=new g.sH(this);g.M(this,this.D);this.A=this.o=null;this.C=a;var c=this.C;c=c.PO?c.o.webkitMediaSourceURL:window.URL.createObjectURL(c);this.bn=new FM(c,!0);this.F=b;this.B=null;tH(this.D,this.C,["sourceopen","webkitsourceopen"],this.XT);tH(this.D,this.C,["sourceclose","webkitsourceclose"],this.VT)};
rla=function(a,b){HM(a)?g.Dg(function(){return b(a)}):a.B=b};
IM=function(a,b){try{a.C.duration=b}catch(c){}};
HM=function(a){try{return"open"==a.C.readyState}catch(b){return!1}};
JM=function(a){try{return"closed"==a.C.readyState}catch(b){return!0}};
KM=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
LM=function(a){return a.o?!!a.o.supports(0):KM()};
MM=function(a,b,c,d){if(!a.o||!a.A)return null;var e=a.o.isView()?a.o.o:a.o,f=a.A.isView()?a.A.o:a.A,k=new GM(a.C,!0);k.bn=a.bn;e=new DM(e,b,c,d);b=new DM(f,b,c,d);k.o=e;k.A=b;g.M(k,e);g.M(k,b);HM(a)||a.o.Kr(a.o.Vc());return k};
NM=function(a,b,c){this.o=a;this.D=b;this.F=void 0===c?!1:c;this.B=!!g.z("cast.receiver.platform.canDisplayType");a=g.z("cast.receiver.platform.getValue");this.A=!this.B&&a&&a("max-video-resolution-vpx")||null;this.C={}};
sla=function(a,b){if("0"==aK(b))return!0;var c=b.mimeType;if(b.video&&(gL(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||OM(a,PM))||"338"==aK(b)&&!(g.mM?ep(53):g.QM&&ep(64)&&a.o.o("html5_firefox_ambisonic_opus")))return!1;var d={};b.video&&(b.video.width&&(d[RM.name]=b.video.width),b.video.height&&(d[SM.name]=b.video.height),b.video.fps&&(d[TM.name]=b.video.fps),b.video.o&&(d[PM.name]=b.video.o),b.o&&(d[UM.name]=8*b.o),"("==b.A&&(d[VM.name]="subsample"),2==b.video.projectionType||
3==b.video.projectionType||4==b.video.projectionType)&&(d[WM.name]="true");b.audio&&b.audio.o&&(d[XM.name]=b.audio.o);for(var e in YM){var f=YM[e],k;if(k=d[f.name])(k=f==PM&&0<b.mimeType.indexOf("vp09.02"))||(k=b,k=a.o.o("html5_ignore_h264_framerate_cap")&&f==TM&&("H"==k.A||"h"==k.A)),k=!(k||f==WM&&!a.o.o("html5_decode_to_texture_cap"));if(k)if(OM(a,f))if(a.A){if(a.A[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(lL(b)&&f==PM)return!1}!a.o.o("disable_html5_cast_hdcp_filter2")&&
a.B&&b.video&&1080<b.video.zc&&b.ad&&(c+="; hdcp=2.2");return"227"!=aK(b)||a.o.o("html5_enable_1080p_hq_cenc")?ZM(a,c):!1};
$M=function(){var a=jG()&&!ep(29),b=iG("google tv")&&iG("chrome")&&!ep(30),c=lG();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)};
g.aN=function(a){return!(!a.canPlayType(kM(),"application/x-mpegURL")&&!$M())};
OM=function(a,b){if(!(b.name in a.C)){var c=a.C,d=b.name;if(a.A)var e=!!a.A[b.name];else b==UM&&a.o.o("html5_ignore_bad_bitrates")&&ZM(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!ZM(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',ZM(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',ZM(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=ZM(a,e+"; "+b.name+"="+b.valid)&&!ZM(a,e+"; "+
b.name+"="+b.Fh));c[d]=e}return a.C[b.name]};
ZM=function(a,b){return a.B?window.cast.receiver.platform.canDisplayType(b):nM(b)};
tla=function(a){return g.bN||wG()&&!a.o.o("html5_samsung_vp9_live")?!1:!0};
cN=function(a){this.Jg=a};
dN=function(a,b,c){if(c)return GG();var d={};c=kM();b=g.r(b);for(var e=b.next();!e.done;e=b.next())if(e=e.value,a.canPlayType(c,e.Qf().mimeType)){var f=e.Jg.Aa().quality;d[f]&&2!=d[f].Qf().containerType||(d[f]=e)}var k=[];d.auto&&k.push(d.auto);(0,g.E)(hL,function(l){(l=d[l])&&k.push(l)});
return k.length?HG(k):GG()};
fN=function(a,b,c,d){this.A=a||0;this.o=b||0;this.C=c;this.reason=d};
gN=function(a,b){return a.A==b.A&&a.o==b.o&&a.C==b.C&&a.reason==b.reason};
hN=function(a,b,c,d){return new fN(g.dL[a]||0,g.dL[b]||0,c,d)};
iN=function(a){var b=g.dL.auto;return a.A==b&&a.o==b};
kN=function(a,b){if(b.C&&iN(b))return jN;if(b.C||iN(a))return b;if(a.C||iN(b))return a;var c=a.A&&b.A?Math.max(a.A,b.A):a.A||b.A,d=a.o&&b.o?Math.min(a.o,b.o):a.o||b.o;c=Math.min(c,d);return c==a.A&&d==a.o?a:new fN(c,d,!1,d==a.o?a.reason:b.reason)};
lN=function(a){var b=a.o||a.A;return $b(ula,function(c){return g.dL[c]==b})||"auto"};
mN=function(a,b){var c=g.dL[b];return a.A<=c&&(!a.o||a.o>=c)};
nN=function(){g.vH.call(this);this.Qa={}};
vla=function(){var a=g.KI("yt-player-volume")||{},b=a.volume;return{volume:isNaN(b)?100:g.Jd(Math.floor(b),0,100),muted:!!a.muted}};
oN=function(a){g.JI("yt-player-bandwidth",a,2592E3)};
pN=function(){return g.KI("yt-player-quality")||"auto"};
qN=function(a,b){var c="";49<b?c="p60":32<b&&(c="p48");return a+c};
sN=function(a,b,c){var d=rN();a=qN(a,b);0<+d[a]&&(c=Math.min(+d[a],c));d[a]!=c&&(d[a]=c,g.JI("yt-player-performance-cap",d,604800))};
tN=function(a,b){return+rN()[qN(a,b)]||0};
rN=function(){return g.KI("yt-player-performance-cap")||{}};
uN=function(a){g.JI("yt-player-watch-later-pending",a)};
vN=function(){return g.KI("yt-player-headers-readable")||!1};
wN=function(a){g.JI("yt-player-playback-on-reload",a)};
xN=function(){return+(window.localStorage&&window.localStorage["yt-player-av1-pref"])||0};
wla=function(){this.A=0;this.F=this.bandwidthEstimate=this.D=this.C=this.B=NaN;this.o=""};
xla=function(){this.B=2048;this.o=17;this.C=13E4;this.G=.5;this.A=!1;this.D=0;this.F=!1};
yN=function(a){this.D=Math.exp(Math.log(.5)/a);this.C=this.B=0};
AN=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.L=b;this.C=Math.round(a*this.L);this.D=Array(this.C);for(a=0;a<this.C;a++)this.D[a]=Infinity;this.K=zN(this);this.B=0;this.F=!1;this.H=!0;this.G=c;this.J=d};
zN=function(a){for(var b=Array(a.C),c=0;c<a.C;c++)b[c]=c;return b};
BN=function(a,b){if(!a.F&&0==a.B)return 0;a.H&&(g.sb(a.K,function(c,d){return a.D[c]-a.D[d]}),a.H=!1);
return a.D[a.K[Math.round(b*((a.F?a.C:a.B)-1))]]||0};
yla=function(a){this.policy=a;this.J=this.K=0;this.D=-1;this.H=this.C=g.PH();this.G=new AN(4,1,.6,.4);this.B=new AN(10,1,.5,.4);this.o=a.A?new yN(a.o):new AN(a.o,20,.5,.4);this.F=new AN(5,1,.25);this.A=new AN(30,1,.5);a=g.KI("yt-player-bandwidth")||{};this.o.A(this.policy.G,0<a.byterate?a.byterate:this.policy.C);0<a.delay&&this.G.A(1,Math.min(+a.delay,2));0<a.stall&&this.B.A(1,+a.stall);0<a.init&&(this.H=Math.min(a.init,this.H));this.D=g.PH()};
DN=function(a,b,c){b=Math.max(b,a.policy.B);a.B.A(1,c/b);CN(a)};
EN=function(a){a=a.G.o();a=isNaN(a)?.5:a;return a=Math.min(a,5)};
FN=function(a,b,c){isNaN(c)||(a.J+=c);isNaN(b)||(a.K+=b)};
GN=function(a){a=a.o.o();return 0<a?a:1};
HN=function(a){var b=GN(a);b=1/((a.B.o()||0)+1/b);a=a.F.o();return Math.max(b,0<a?a:1)};
IN=function(a){var b={};b.delay=EN(a);b.stall=a.B.o()||0;b.byterate=GN(a);b.init=a.H;return b};
CN=function(a){-1<a.D&&3E4<g.PH()-a.D&&(oN(IN(a)),a.D=g.PH())};
JN=function(a){return 4E3<=g.PH()-a.C};
KN=function(a,b){return void 0==b?a:"1"==b||"True"==b?!0:!1};
LN=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
MN=function(a,b){return void 0==b?a:Number(b)};
NN=function(a,b){return void 0==b?a:b.toString()};
ON=function(a,b){if(b){if("fullwidth"==a)return Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(zla);if(c){var d=parseFloat(c[2]);if(0<d)return parseFloat(c[1])/d}}return NaN};
PN=function(a){return a.docid||a.video_id||a.videoId||a.id||null};
RN=function(){this.o=g.fF("ALT_PREF_COOKIE_NAME","PREF");var a=gI.get(""+this.o,void 0);if(a){a=decodeURIComponent(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(QN[d]=c.toString())}}};
SN=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
TN=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
nO=function(a){g.L.call(this);a=g.hc(a);this.Oa=this.ma="";this.lf=NN("",a.csp_nonce);this.experiments=new pK(a.fexp,a.fflags);this.yb=a.forced_experiments||null;try{var b=document.location.toString()}catch(e){b=""}this.Xa=b;this.uc=(b=window.location.ancestorOrigins)?Array.from(b):[];this.o=KN(!1,a.is_embed);this.wp=KN(!1,a.hide_thumbnail);this.loaderUrl=this.o?NN("",a.loaderUrl):this.Xa;this.Ob=Ala.test(this.loaderUrl);b=this.loaderUrl;var c=void 0===c?!1:c;this.gq=sK(Bla.test(b),b,c,"Trusted Ad Domain URL");
this.ia=KN(!1,a.privembed);this.protocol=0==this.Xa.indexOf("http:")?"http":"https";this.D=tK(a.BASE_YT_URL||"")||tK(this.Xa)||this.protocol+"://www.youtube.com/";c=a.el;b="detailpage";"adunit"==c?b=this.o?"embedded":"detailpage":"embedded"==c||this.Ob?b=LN(b,c,Cla):c&&(b="embedded");this.P=b;cI();c=null;b=a.ps;var d=g.Ya(UN,b);!b||d&&!this.Ob||(c=b);this.playerStyle=c;this.K=(this.hc=g.Ya(UN,this.playerStyle))&&"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.Sp=!this.K;c={};this.deviceParams=
(c.c=a.c||"web",c.cver=a.cver||"html5",c.cplayer="UNIPLAYER",c);this.L=KN(!1,a.disableplaybackui);c=!this.na("no_effort_to_detect_playback_rate_killswitch");if(b=!this.L)c=void 0===c?!0:c,b=kM().defaultPlaybackRate?c&&(VN||WN||g.XN)?g.QM&&ep("20")||g.mM&&ep("4")||g.Sf&&ep("11")||qG():!(g.Sf&&!iG("chrome")||VN||WN||iG("android")||iG("silk")):!1;this.ua=b;this.A=KN("blazer"==this.playerStyle,a.is_html5_mobile_device);this.A?c=!0:(c=parseInt((0,g.J)()/1E3,10),b=RN.getInstance(),c=this.na("block_desktop_background_playback_with_mobile_cookie")&&
b&&c>parseInt(b.get("dhmu",c.toString()),10));this.Ap=c;this.Y="3"==this.C||this.A||KN(!1,a.use_media_volume);this.M=qM();this.qr=g.XN;c=KN(!1,a.is_dni);this.xc=KN(!1,a.opt_out_deprecation);this.B=this.na("embed_new_info_bar")&&YN(this)&&!this.xc;this.Hl=this.na("embed_api_deprecation")&&YN(this)&&!c&&!this.xc||KN(!ZN(this)&&!$N(this)&&!this.hc,a.showinfo);this.Ej=KN(!1,a.playsinline);b=this.A&&aO&&0<bO&&2.3>=bO;d=this.A;d=cO(this)||!b&&KN(d,a.use_native_controls)?"3":"1";this.C="0"!=a.controls?d:
"0";this.sd=this.A;this.color=LN("red",a.color,Dla);this.hq="3"==this.C||KN(!1,a.modestbranding)&&"red"==this.color;this.ha=!this.o;this.Il=(d=!this.ha&&!$N(this)&&!this.K&&!this.hc&&!ZN(this))&&!this.hq&&"1"==this.C;this.Rc=g.dO(this)&&d&&"0"==this.C&&!this.Il;this.ms=this.Qq=b;this.rd=WN&&!g.Lc(601)?!1:!0;this.To=this.o||!1;this.ya=$N(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=NN("",a.widget_referrer);this.jb=(!this.Ob||KN(!0,a.enablecastapi))&&"1"==
this.C&&!this.A&&($N(this)||g.dO(this)||g.eO(this));this.Xr=pM()||oM();this.Nd=!this.A&&!rG()&&!iG("nintendo 3ds")||fO||KN(!1,a.autoplayoverride);this.Od=KN(!1,a.mutedautoplay)&&!1;b=($N(this)||ZN(this))&&"blazer"==this.playerStyle;this.Pb=!KN(!0,a.fs);this.ba=!this.Pb&&(b||UG());this.Do=this.na("uniplayer_block_pip")&&jG()&&ep(58)&&!vG();this.Ga=this.na("embed_api_deprecation")&&YN(this)&&!c&&!this.xc||KN(!this.hc,a.rel);this.Br=KN(!1,a.co_rel);this.F=this.experiments.o("embeds_use_parent_target_for_anchor_tags")&&
vG&&0<bO&&4.4>=bO?"_top":"_blank";this.Ia=g.eO(this);this.Fc="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":c="bl";break;case "gmail":c="gm";break;case "books":c="gb";break;case "docs":c="gd";break;case "google-live":c="gl";break;case "play":c="gp";break;case "chat":c="hc";break;case "hangouts-meet":c="hm";break;case "photos-edu":case "picasaweb":c="pw";break;default:c="yt"}this.aa=c;this.Sc=NN("",a.authuser);this.Ur=(this.o&&!this.ia||!!this.Sc)&&KN(!this.K,this.Ob?a.showwatchlater:
void 0);this.Sa=KN(!1,a.disablekb);this.vg=NN("",a.ecver);this.loop=KN(!1,a.loop);this.pageId=NN("",a.pageid);this.rr=KN(!0,a.canplaylive);this.Fo=KN(this.hc,a.ss);(c=a.video_container_override)?(b=c.split("x"),2!=b.length?c=null:(c=parseInt(b[0],10),b=parseInt(b[1],10),c=isNaN(c)||isNaN(b)||0>=c*b?null:new g.Qd(c,b))):c=null;this.Kl=c;this.mute=KN(!1,a.mute);this.Jl=KN(!1,a.use_miniplayer_ui);this.gd=!this.mute&&KN("0"!=this.C,a.store_user_volume);this.kh="3"==this.C?3:LN(void 0,a.iv_load_policy,
gO);this.mh=NN("",a.cc_lang_pref);c=LN(2,a.cc_load_policy,gO);"3"==this.C&&2==c&&(c=3);this.nh=c;this.xa=NN("en_US",a.hl);this.region=NN("US",a.cr);this.xg=NN("en",a.host_language);this.Bo=!this.ia&&Math.random()<this.experiments.A("web_player_api_logging_fraction");this.ea=!this.ia;this.wg=new Set;this.deviceHasDisplay=KN(!0,a.deviceHasDisplay);this.ag=MN(this.ag,a.ismb);c=a;this.experiments.C("html5_qoe_intercept")?c=this.experiments.C("html5_qoe_intercept"):this.Sp?(c=c.vss_host||"s.youtube.com",
this.na("www_for_videostats")&&"s.youtube.com"==c&&(c=hO(this.D)||"www.youtube.com")):c="video.google.com";this.Ll=c;this.gh(a);this.J=new nN;g.M(this,this.J);this.H=this.A&&!this.na("enable_svg_mode_on_embed_mobile");this.dc={xv:NN("",a.innertube_api_key),yv:NN("",a.innertube_api_version),zv:this.deviceParams.c,Av:NN("",a.innertube_context_client_version),Cv:this.xg,Bv:this.region,bq:""};this.Gj=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.G=new NM(this.experiments,this.na("html5_force_hfr_support")?
!0:iO(this)||mG()||nG()||jO(this),g.mM&&56<=hG()||jO(this));c=new xla;g.kO(this)&&(c.A=!0,c.G=.1);this.experiments.o("html5_ewma_bandwidth_estimator")&&(c.A=!0);this.experiments.o("html5_pctile_bandwidth_estimator")&&(c.A=!1);this.ag&&(c.C=this.ag/8);c.o=this.experiments.A("html5_bandwidth_window_size")||c.o;c.F=this.experiments.o("html5_dont_predict_end_time_in_past");this.schedule=new yla(c);this.enableSafetyMode=KN(!1,a.enable_safety_mode);this.Pd=KN(this.L?!1:$N(this)&&"blazer"!=this.playerStyle,
a.allow_autonav);this.za=KN(!1,a.send_visitor_id_header)||this.experiments.B;this.lh=!1;this.Fj=jN;this.Dj=g.PH();this.ga=0;this.Oe=!1;this.Eo=KN(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.Ho=iO(this)&&this.na("enable_skip_intro_button");this.zg=NN("",a.embed_config);this.useFastSizingOnWatchDefault=KN(!0,a.use_fast_sizing_on_watch_default);this.yg=!1;this.externalFullscreen=KN(!1,a.external_fullscreen);this.Qb=KN(!1,a.full_window);this.showMiniplayerButton=KN(!1,a.show_miniplayer_button);
this.Go=KN(!1,a.embedding_app);this.ka=!g.lO(this)&&!mO(this);this.livingRoomAppMode=a.living_room_app_mode;this.transparentBackground=!1;this.na("fill_web_player_context_config")?a.player_response&&(a=JSON.parse(a.player_response).playerConfig)&&(a=a.webPlayerContextConfig)&&(this.transparentBackground=!!a.transparentBackground):this.transparentBackground=KN(!1,a.transparent_background)};
oO=function(a,b){return!a.hc&&jG()&&ep(55)&&!a.na("html5_progressive_native_killswitch")&&"3"==a.C&&!b};
pO=function(a){a=hO(a.D);return"www.youtube-nocookie.com"==a?"www.youtube.com":a};
qO=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":pO(a)};
rO=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
Ela=function(){return eI()};
sO=function(){return!0};
tO=function(a){return $N(a)&&"gaming"!=a.playerStyle&&!g.lO(a)};
cO=function(a){return WN&&!a.Ej||rG()||iG("nintendo 3ds")?!0:!1};
g.kO=function(a){if(!a.na("html5_tv_interface_check_killswitch")&&/^TVHTML5/.test(a.deviceParams.c))return!0;var b=g.mM&&iG("crkey")&&a.na("html5_tv_chromecast_check_killswitch");a=a.deviceParams.cplatform;return b||"TV"==a};
jO=function(a){return"CHROMECAST ULTRA/STEAK"==a.deviceParams.cmodel||"CHROMECAST/STEAK"==a.deviceParams.cmodel};
g.uO=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
iO=function(a){return"web"==a.deviceParams.c.toLowerCase().substr(0,3)};
mO=function(a){return"WEB_KIDS"==a.deviceParams.c};
g.lO=function(a){return"WEB_UNPLUGGED"==a.deviceParams.c};
g.vO=function(a){return g.lO(a)||"TV_UNPLUGGED_CAST"==a.deviceParams.c||"TVHTML5_UNPLUGGED"==a.deviceParams.c};
wO=function(a){return"WEB_REMIX"==a.deviceParams.c};
g.zO=function(a){return(a.deviceHasDisplay&&g.mM&&!tG&&"3"!==a.C?g.np?a.o&&g.Lc(51):!0:!1)||(a.deviceHasDisplay&&g.QM&&!tG&&"3"!==a.C?g.np?a.o&&g.Lc(48):g.Lc(38):!1)||(a.deviceHasDisplay&&g.Sf&&!tG&&"3"!==a.C?g.np?a.o&&g.Lc(37):g.Lc(27):!1)||a.deviceHasDisplay&&g.xO&&!sG()&&g.Lc(11)||a.deviceHasDisplay&&yO&&g.Lc("604.4")};
AO=function(a){if(g.dO(a)&&aO)return!1;if(g.QM){if(!g.Lc(47)||!g.Lc(52)&&g.Lc(51))return!1}else if(yO)return!1;return window.AudioContext||window.webkitAudioContext?!0:!1};
$N=function(a){return"detailpage"==a.P};
g.dO=function(a){return"embedded"==a.P};
g.BO=function(a){return"leanback"==a.P};
ZN=function(a){return"adunit"==a.P||"gvn"==a.playerStyle};
g.eO=function(a){return"profilepage"==a.P};
YN=function(a){return a.o&&g.dO(a)&&!ZN(a)&&!a.hc};
Fla=function(a){if(!a.W)return"";if(a.na("web_player_fife_url_killswitch"))return a.W;var b=a.W.split("/");return 8==b.length?(b.splice(7,0,"s20-c"),b.join("/")):9==b.length?(b[7]+="-s20-c",b.join("/")):a.W};
CO=function(a){var b=qO(a);!a.na("yt_embeds_disable_new_error_lozenge_url")&&Gla.includes(b)&&(b="www.youtube.com");return a.protocol+"://"+b};
hO=function(a){var b=g.ph(a);return(a=g.qh(a))?b+":"+a:b};
Hla=function(){this.J=this.L=this.o=this.D=this.C=this.B=this.G=this.F=!1;this.H=!0;this.A=0;this.K=!1};
Ila=function(a){if(a.G)return["f"];var b="19 9h 9 h 8 (h ( H *".split(" ");a.K&&b.unshift("1");a.o&&b.unshift("h");return b};
Jla=function(a){var b=["o","a","v","A","V"];a.C&&(b=["m","M"].concat(b));a.D&&(b=["meac3","MEAC3","mac3","MAC3"].concat(b));a.F&&(b=["so","sa"].concat(b));a.L&&b.unshift("a");a.B&&b.unshift("ah");return b};
DO=function(a,b,c,d){this.flavor=a;this.o=b;this.B=c;this.C={};this.Ig=this.A=null;this.km=this.lm=-1;this.ho=null;this.D=!!d&&d.o("edge_nonprefixed_eme")};
FO=function(a){return a.D?!1:!a.A&&!!EO()&&"com.microsoft.playready"==a.o};
GO=function(a){return"com.microsoft.playready"==a.o};
HO=function(a){return g.bN&&"com.microsoft.playready"==a.o&&!!navigator.requestMediaKeySystemAccess};
IO=function(a){return!a.A&&!!EO()&&"com.apple.fps.1_0"==a.o};
EO=function(){var a=window.MSMediaKeys;pG()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
Kla=function(a){return navigator.requestMediaKeySystemAccess?g.mM?ep("45"):g.bN||g.de?a.o("edge_nonprefixed_eme"):g.QM?ep("47"):!a.o("html5_disable_nonprefixed_eme_for_other"):!1};
g.JO=function(a){a=void 0===a?{}:a;this.A=a.languageCode||"";this.B=a.languageName||null;this.C=a.kind||"";this.D=a.name||null;this.Ja=a.id||null;this.G=a.is_servable||!1;this.H=a.is_translateable||!1;this.J=a.url||null;this.F=a.vss_id||"";this.isDefault=a.is_default||!1;this.o=a.translationLanguage||null};
g.KO=function(a){var b=a.B||"",c=[b];"asr"==a.C&&-1==b.indexOf("(")&&c.push(" (Otomatik Altyaz\u0131lar)");a.D&&c.push(" - "+a.D);a.o&&c.push(" >> "+a.o.languageName);return c.join("")};
LO=function(a,b){this.id=a;this.Rb=b;this.captionTracks=[];this.yp=this.hu=this.o=null;this.Ot="UNKNOWN"};
MO=function(a,b,c){this.videoInfos=a;this.o=b||null;this.audioTracks=[];this.A=c||null;if(this.o){var d={};(0,g.E)(this.o,(0,g.B)(function(e){if(e.Rb&&!d[e.id]){var f=new LO(e.id,e.Rb);d[e.id]=f;this.audioTracks.push(f)}},this))}};
Lla=function(a,b,c){var d={},e;for(e in c.o){var f=c.o[e],k=aK(f.info);("304"==k||"266"==k)&&a.H||a.J&&"h"==f.info.A&&f.info.video&&1080<f.info.video.zc||!sla(b,f.info)||(d[f.info.A]=d[f.info.A]||[],d[f.info.A].push(f.info))}return d};
Mla=function(a,b,c){var d={};g.Mb(b,function(e,f){var k=e.filter(function(l){if(l.ad){var m;if(m=c&&l.ad[c.flavor]&&c.C[l.mimeType])(l="("!=l.A&&"(h"!=l.A)||(l=OM(a,VM)||a.F),m=l;l=m?!0:!1}else l=!0;return l});
k.length&&(d[f]=k)});
return d};
Qla=function(a,b,c,d){function e(m){return!!f[m]}
var f=Lla(a,b,c);if(0<a.A&&f["9"]&&f["1"]){var k=Math.min(a.A,NO(f["1"])),l=f["1"].filter(function(m){return m.Aa().zc<=k});
l=f["9"].filter(function(m){return m.Aa().zc>k}).concat(l);
l.length&&(f["19"]=l)}SL(c)&&(f=Mla(b,f,d));d=Ila(a);l=Jla(a);a=g.Ua(d,e);d=g.Ua(l,e);if(!a||!d)return GG();"9"==a&&f.h&&(l=NO(f["9"]),NO(f.h)>1.5*l&&(a="h"),c.wk&&!tla(b)&&(a="h"));c=f[a];l=f[d];c=Nla(b,c);if(!c.length)return GG();Ola(c,l);return HG(new MO(c,l,Pla(b,f,a,d)))};
Pla=function(a,b,c,d){var e=b.h;"f"==c&&(e=b[c]);var f=b.a;c=b[c]!=e;b=b[d]!=f;return e&&f&&(c||b)?(e=Nla(a,e),Ola(e,f),new MO(e,f)):null};
Ola=function(a,b){g.sb(a,function(c,d){return d.Aa().height*d.Aa().width-c.Aa().height*c.Aa().width||d.o-c.o});
g.sb(b,function(c,d){return d.o-c.o})};
Nla=function(a,b){var c=(0,g.Gj)(b,function(d,e){return 32<e.Aa().fps?Math.min(d,e.Aa().width):d},Infinity);
Infinity>c&&(b=a.D||OM(a,TM)?(0,g.re)(b,function(d){return 32<d.Aa().fps||d.Aa().width<c}):(0,g.re)(b,function(d){return!(32<d.Aa().fps)}));
mG()&&(b=(0,g.re)(b,function(d){return"299"!=aK(d)}));
return b};
NO=function(a){return(0,g.Gj)(a,function(b,c){return Math.max(b,c.Aa().zc)},0)};
OO=function(a,b,c){g.L.call(this);this.o=[];this.A={};this.D={};this.F=null;this.C=b;this.G=!1;this.B=[];Rla(this,a,!c)};
Rla=function(a,b,c){for(var d in b)for(var e=g.r(b[d]),f=e.next();!f.done;f=e.next()){f=f.value;if(!f.ad)return;for(var k in f.ad){if(!PO[k])return;for(var l=g.r(PO[k]),m=l.next();!m.done;m=l.next())m=m.value,a.A[m]=a.A[m]||new DO(k,m,f.ad[k],a.C),a.D[k]=a.D[k]||{},a.D[k][f.mimeType]=!0}}lG()?(a.o=[],a.C.o("html5_enable_tvos_dash")&&a.C.o("html5_enable_tvos_widevine")&&a.o.push("com.widevine.alpha"),a.o.push("com.youtube.fairplay"),a.A["com.youtube.fairplay"]=new DO("fairplay","com.youtube.fairplay",
"",a.C),a.D.fairplay={"audio/mp4":!0,"video/mp4":!0}):a.o=(c?g.gb(PO.widevine,PO.playready):g.gb(PO.playready,PO.widevine)).filter(function(n){return!!a.A[n]})};
QO=function(a){if(!a.la())if(0==a.o.length)a.F(a.B);else{var b=a.o[0],c=a.A[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};GO(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.D[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;"widevine"!=c.flavor||a.G?k.push({contentType:e}):f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(k.push({contentType:e,robustness:"HW_SECURE_ALL"}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"}))}navigator.requestMediaKeySystemAccess(b,
[d]).then(iF((0,g.B)(a.J,a,c)),iF((0,g.B)(a.H,a)))}};
Sla=function(a,b){function c(f){b.C[f.contentType]=!0}
if(GO(b)){var d=kM(),e;for(e in a.D[b.flavor])b.C[e]=!!d.canPlayType(e)}else d=b.A.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
Ula=function(a){if(EO()&&yO)a.B.push(new DO("fairplay","com.apple.fps.1_0","",a.C));else{var b=Tla(),c=g.Ua(a.o,function(d){var e=a.A[d],f=!1,k=!1,l;for(l in a.D[e.flavor])b(l,d)&&(e.C[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k});
c&&a.B.push(a.A[c]);a.o=[]}a.F(a.B)};
Tla=function(){var a=EO();if(a){var b=a.isTypeSupported;return function(c,d){return b(d,c)}}return(a=kM())&&(a.addKey||a.webkitAddKey)?(0,g.B)(a.canPlayType,a):function(){return!1}};
Vla=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.o=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.A=m||"";this.Rb=void 0===n?null:n};
Wla=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c],f=e.type.match(/codecs="([^"]*)"/);f=f?f[1]:"";var k=null;e.audio_track_id&&(k=new bL(e.name,e.audio_track_id,!!e.is_default));e=new Vla(e.itag,e.url,f,+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families,k);b[e.itag]=b[e.itag]||[];b[e.itag].push(e)}return b};
Xla=function(a,b,c,d){this.B=a;this.o=b;this.F=0;this.C="";this.D=c;this.A=d};
$la=function(a,b,c,d){b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(c.bitrate+d.bitrate)+","+('CODECS="'+c.o+","+d.o+'",')+("RESOLUTION="+c.width+"x"+c.height+",")+('AUDIO="'+Yla(a,d,c)+'",')+"CLOSED-CAPTIONS=NONE");b.push(Zla(a,c.url,""))};
Zla=function(a,b,c){a.D&&(b=g.zh(b,{cpn:a.D}));c&&(b=g.zh(b,{paired:c}));return b};
Yla=function(a,b,c){b=b.itag.toString();2==a.A&&c&&(b+=c.itag.toString());return b};
ama=function(a,b,c){var d="#EXT-X-MEDIA:TYPE=AUDIO,",e="YES",f="audio";if(b.Rb){f=b.Rb;var k=f.getId().split(".")[0];k&&(d+='LANGUAGE="'+k+'",');a.C||f.getIsDefault()||(e="NO");f=f.getName()}k="";2==a.A&&c&&(k=c.itag.toString());k=Zla(a,b.url,k);return d=d+('NAME="'+f+'",'+("DEFAULT="+e+",AUTOSELECT=YES,"))+('GROUP-ID="'+Yla(a,b,c)+'",'+('URI="'+k+'"'))};
bma=function(a){for(var b=[],c=[],d=0,e=a.o.length;d<e;++d){var f=a.o[d];f.bitrate<=a.F?b.push(f):c.push(f)}b.sort(function(k,l){return l.bitrate-k.bitrate});
c.sort(function(k,l){return k.bitrate-l.bitrate});
a.o=b.concat(c)};
RO=function(a,b,c){this.Jg=a;this.A=b;this.o=null;this.C=c};
ema=function(a,b,c,d,e){if(!(tG||pG()||lG()))return GG();var f=cma(c),k=Wla(c);if(!k)return GG();c={};var l=(c.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",c),m;c=[];var n=[],p=[],q=a.experiments.A("html5_hls_min_video_height"),u=0;a.experiments.o("html5_hls_pair_all_audio")?u=1:a.experiments.o("html5_hls_pair_distinct_audio")&&(u=2);var w;for(w in k)if(!a.experiments.o("html5_disable_drm_hfr_1080")||"383"!=w&&"373"!=w){var D=g.r(k[w]);for(m=D.next();!m.done;m=D.next()){var F=m.value;
if(F.width){if(!(F.height<q)){var I=k[F.audioItag];if(I&&(c.push(F),m="fairplay"==F.A?l:null,p.push(dma(I,[F],e,F.itag,F.width,F.height,F.fps,f,u,void 0,void 0,m)),!O||F.width*F.height*F.fps>O.width*O.height*O.fps))var O=F}}else n.push(F)}}m=p.reduce(function(na,Ia){return!!Ia.Jg.ad&&na},!0)?l:null;
d=Math.max(d,a.experiments.A("html5_hls_initial_bitrate"));O=O||{};p.push(dma(n,c,e,"93",void 0===O.width?0:O.width,void 0===O.height?0:O.height,void 0===O.fps?0:O.fps,f,u,"auto",d,m));return dN(a.G,p,oO(a,b))};
dma=function(a,b,c,d,e,f,k,l,m,n,p,q){d=new jL(d,"application/x-mpegURL",new aL,new eL(e,f,k,null,void 0,n),void 0,q);a=new Xla(a,b,c,m);a.F=p?p:1369843;return new RO(d,a,l)};
cma=function(a){a=g.r(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.url&&(b=b.url.split("expire/"),!(1>=b.length)))return+b[1].split("/")[0];return NaN};
fma=function(){return xa(function(a){SO||(SO=new Promise(function(b,c){var d=indexedDB.open("yt-player-local-media",2);d.onerror=c;d.onsuccess=function(e){return b(e.target.result)};
d.onupgradeneeded=function(e){e=e.target.result;e.createObjectStore("index");e.createObjectStore("media")}}));
return a["return"](SO)})};
hma=function(a,b,c){var d;return xa(function(e){if(1==e.o)return ua(e,fma(),2);d=e.D;return e["return"](gma(d.transaction(a,"readwrite").objectStore(a).put(c,b)))})};
TO=function(a,b){var c;return xa(function(d){if(1==d.o)return ua(d,fma(),2);c=d.D;return d["return"](gma(c.transaction(a).objectStore(a).get(b)))})};
jma=function(){var a=window.localStorage&&window.localStorage["yt-player-lv"];return a?a.split(","):[]};
kma=function(a,b,c,d){var e;xa(function(f){e=a+"-"+b.id+"-"+c;return f["return"](hma("media",e,d))})};
lma=function(a,b,c){var d,e;xa(function(f){d=a+(b?":v":":a");e=hma("index",d,c);b&&(e=e.then(function(){var k=jma();k.includes(a)||(k.push(a),window.localStorage["yt-player-lv"]=k.join(","))}));
return f["return"](e)})};
mma=function(a){return!!a&&jma().includes(a)};
nma=function(a){return xa(function(b){return b["return"](Promise.all([TO("index",a+":a"),TO("index",a+":v")]).then(function(c){return c.join(",")}))})};
oma=function(a,b,c){return xa(function(d){return d["return"](TO("media",a+"-"+b+"-"+c))})};
gma=function(a){return new Promise(function(b,c){a.onsuccess=function(){return b(a.result)};
a.onerror=function(){return c()}})};
UO=function(a,b){this.Jg=a;this.o=b};
pma=function(a,b,c,d){var e=[];c=g.r(c);for(var f=c.next();!f.done;f=c.next()){var k=f.value;if(k.url){f=new g.FK(k.url);k.s&&f.set(k.sp,encodeURIComponent(EK(decodeURIComponent(k.s))));for(var l in d)f.set(l,d[l]);k=pL(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new UO(k,f))}}return dN(a.G,e,oO(a,b))};
VO=function(a,b){this.Jg=a;this.o=b};
qma=function(a){var b=[];(0,g.E)(a,function(c){if(c.url){var d=pL(c.type,"medium","0");b.push(new VO(d,c.url))}});
return b};
WO=function(a){if(a){var b=[],c;for(c in a)rma.has(c)||b.push(c);b.length&&(b.sort(),g.hF(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}};
g.XO=function(a,b,c,d){this.oc=new Set;this.J=a;this.K=b;a=c.split("#");this.F=parseInt(a[0],10);this.D=parseInt(a[1],10);this.C=parseInt(a[2],10);this.columns=parseInt(a[3],10);this.rows=parseInt(a[4],10);this.o=parseInt(a[5],10);this.B=a[6];this.G=a[7];this.L=d};
g.YO=function(a,b){b>=a.tw()&&a.vn();var c=Math.floor(b/(a.columns*a.rows)),d=a.columns*a.rows,e=b%d,f=e%a.columns;e=Math.floor(e/a.columns);var k=a.vn()+1-d*c;if(k<a.columns){var l=k;d=1}else l=a.columns,d=k<d?Math.ceil(k/a.columns):a.rows;return{url:a.Wa(c),column:f,columns:l,row:e,rows:d,Gw:a.F*l,Fw:a.D*d}};
ZO=function(a){g.vH.call(this);this.B=new g.PE;this.A=null;this.H=new Set;this.G=a||""};
sma=function(a,b,c){for(c=$O(a,c);0<=c;){var d=a.o[c];if(d.Jb(Math.floor(b/(d.columns*d.rows)))&&(d=g.YO(d,b)))return d;c--}return g.YO(a.o[0],b)};
uma=function(a,b,c){c=$O(a,c);for(var d,e;0<=c;c--)if(d=a.o[c],e=Math.floor(b/(d.columns*d.rows)),!d.Jb(e)){d=a;var f=c,k=f+"-"+e;d.H.has(k)||(d.H.add(k),g.OE(d.B,f,{KC:f,XD:e}))}tma(a)};
tma=function(a){if(!a.A&&!a.B.isEmpty()){var b=a.B.remove(),c=new Image;a.G&&(c.crossOrigin=a.G);c.src=a.o[b.KC].Wa(b.XD);c.onload=(0,g.B)(a.J,a,b.KC,b.XD);a.A=c}};
aP=function(a,b,c,d){d=void 0===d?!1:d;ZO.call(this,c);this.isLive=d;this.o=this.C(a,b);this.D=new Map;1<this.o.length&&this.o[0].isDefault()&&this.o.splice(0,1)};
vma=function(a,b,c){return(a=a.o[b])?a.Mq(c):-1};
$O=function(a,b){var c=a.D.get(b);if(c)return c;c=a.o.length;for(var d=0;d<c;d++)if(a.o[d].ab()>=b)return a.D.set(b,d),d;a.D.set(b,c-1);return c-1};
bP=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.XO.call(this,a,b,c,0);this.A=null;this.H=d?3:0};
cP=function(a,b,c){aP.call(this,a,0,void 0,b);for(a=0;a<this.o.length;a++)this.o[a].dG(c)};
xma=function(a){return navigator.mediaCapabilities?wma(a.videoInfos).then(function(){return a},function(){return a}):HG(a)};
wma=function(a){var b=navigator.mediaCapabilities;if(!b||null!=a[0].C)return HG(a);var c=(0,g.K)(a,function(d){return b&&b.decodingInfo({type:"media-source",video:d.video?{contentType:d.mimeType,width:d.video.width||640,height:d.video.height||360,bitrate:8*d.o||1E6,framerate:d.video.fps||30}:null})});
return g.Rg(c).then(function(d){for(var e=0;e<d.length;e++)a[e].C=d[e].smooth;return a},function(){return a})};
zma=function(a,b){var c={},d;for(d in yma){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.yK(e)&&(c[yma[d]]=e)}return c};
dP=function(a,b){this.version=a;this.args=b};
eP=function(a,b){this.topic=a;this.o=b};
Ama=function(a,b){var c=fP();c&&c.publish.call(c,a.toString(),a,b)};
Dma=function(a,b){var c=Bma,d=fP();if(!d)return 0;var e=d.subscribe(c.toString(),function(f,k){var l=g.z("ytPubsub2Pubsub2SkipSubKey");l&&l==e||(l=function(){if(gP[e])try{if(k&&c instanceof eP&&c!=f)try{var m=c.o,n=k;if(!n.args||!n.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!m.hi){var p=new m;m.hi=p.version}var q=m.hi}catch(u){}if(!q||n.version!=q)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=Reflect.construct(m,
g.ib(n.args))}catch(u){throw u.message="yt.pubsub2.Data.deserialize(): "+u.message,u;}}catch(u){throw u.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+c.toString()+": "+u.message,u;}a.call(b||window,k)}catch(u){g.hF(u)}},Cma[c.toString()]?g.YH()?g.WH(l):g.oF(l,0):l())});
gP[e]=!0;hP[c.toString()]||(hP[c.toString()]=[]);hP[c.toString()].push(e);return e};
Ema=function(a,b){var c=Dma(function(d){a.apply(b,arguments);iP(c)},b);
return c};
iP=function(a){var b=fP();b&&(g.Ca(a)&&(a=[a]),(0,g.E)(a,function(c){b.unsubscribeByKey(c);delete gP[c]}))};
fP=function(){return g.z("ytPubsub2Pubsub2Instance")};
Fma=function(){var a=g.fF("TIMING_TICK_EXPIRATION");a||(a={},eF("TIMING_TICK_EXPIRATION",a));return a};
Gma=function(){var a=Fma(),b;for(b in a)g.ZH(a[b]);eF("TIMING_TICK_EXPIRATION",{})};
jP=function(a,b){dP.call(this,1,arguments)};
kP=function(a,b){dP.call(this,1,arguments);this.o=a};
Kma=function(a){Hma(a);Ima();Jma(!1,a);a||(g.fF("TIMING_ACTION")&&eF("PREVIOUS_ACTION",g.fF("TIMING_ACTION")),eF("TIMING_ACTION",""))};
pP=function(a,b,c,d){c=c?c:a;Lma("c",c);Kma(c);d&&(lP(c).useGel=d);eF(c+"TIMING_AFT_KEYS",b);eF(c+"TIMING_ACTION",a);Mma("c",c);mP(c)&&(a={},a.actionType=Nma[gF((c||"")+"TIMING_ACTION")]||"LATENCY_ACTION_UNKNOWN",b=nP(c),tI(a,b));g.Da("ytglobal.timing"+(c||"")+"ready_",!0,void 0);Oma(c)};
sP=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;qP.mark&&(g.wb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),qP.mark(d))}d=rP(c);var e=b||g.PH();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=Fma();var f=e[a];f&&(g.ZH(f),e[a]=0);Pma(c)["tick_"+a]=b;c||b||g.PH();mP(c)?(e=nP(c),"_start"==a?sI("baseline_"+e)||lI("latencyActionBaselined",{clientActionNonce:e},b):sI("tick_"+a+"_"+e)||lI("latencyActionTicked",{tickName:a,clientActionNonce:e},b),b=!0):b=!1;b||Oma(c);return d[a]};
Qma=function(a){var b="above_the_fold";qP&&qP.measure&&(g.wb(b,"measure_")||(b="measure_"+b),a?qP.measure(b,a):qP.measure(b))};
Mma=function(a,b){tP("yt_sts",a,b);sP("_start",void 0,b)};
uP=function(a,b){var c=rP(b);return a in c};
vP=function(a){uP("_start","video_to_ad")&&!uP(a,"video_to_ad")&&sP(a,void 0,"video_to_ad")};
tP=function(a,b,c){lP(c).info[a]=b;Pma(c)["info_"+a]=b;if(mP(c))if(a in Rma){var d=Rma[a];g.Ya(Sma,d)&&(b=!!b);a in Tma&&(b=Tma[a]+b.toUpperCase());if(mP(c)){a={};d=d.split(".");for(var e=a,f=0;f<d.length-1;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];e[d[d.length-1]]=b;c=nP(c);tI(a,c)}}else g.Ya(Uma,a)||g.hF(Error("Unknown label "+a+" logged with GEL CSI."))};
Vma=function(a){var b=rP(a);if(b.aft)return b.aft;a=g.fF((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return NaN};
Oma=function(a){if(!Wma(a)){var b=g.fF((a||"")+"TIMING_ACTION",void 0),c=rP(a);if(g.z("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=Vma(a)))if(Xma||(Ama(Yma,new jP(Math.round(b-c._start),a)),Xma=!0),a)wP(a);else{b=!0;var d=g.fF("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&wP(a)}}};
Zma=function(){switch(RG("visibilityState",document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
Lma=function(a,b){if(!Wma(b)){var c=g.fF("CSI_SERVICE_NAME","youtube");g.fF((b||"")+"TIMING_ACTION",void 0)&&c&&(sP("aa",void 0,b),tP("ap",1,b),tP("yt_fss",a,b),wP(b))}};
nP=function(a){var b=lP(a).nonce;b||(b=yI(),lP(a).nonce=b);return b};
rP=function(a){return lP(a).tick};
Pma=function(a){a=lP(a);"gel"in a||(a.gel={});return a.gel};
lP=function(a){return g.z("ytcsi."+(a||"")+"data_")||Hma(a)};
Hma=function(a){var b={tick:{},info:{}};g.Da("ytcsi."+(a||"")+"data_",b,void 0);return b};
Wma=function(a){return!!g.z("yt.timing."+(a||"")+"pingSent_")};
Jma=function(a,b){g.Da("yt.timing."+(b||"")+"pingSent_",a,void 0)};
$ma=function(a){var b=rP(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==lP(a).info.yt_pvis};
mP=function(a){return!!g.UF("csi_on_gel")||!!lP(a).useGel};
wP=function(a){Gma();if(!mP(a)){var b=rP(a),c=lP(a).info,d=b._start;for(k in b)if(g.wb(k,"_")&&g.Ga(b[k])){var e=k.slice(1);if(e in ana){var f=(0,g.K)(b[k],function(p){return Math.round(p-d)});
c["all_"+e]=f.join()}delete b[k]}f=g.fF("CSI_SERVICE_NAME","youtube");var k={v:2,s:f,action:g.fF((a||"")+"TIMING_ACTION",void 0)};e=tP.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var l=window.location.protocol+g.z("ytplayer.config.assets.js");(l=qP.getEntriesByName?qP.getEntriesByName(l)[0]:null)?c.h5jse=Math.round(c.h5jse-l.responseEnd):delete c.h5jse}b.aft=Vma(a);$ma(a)&&"youtube"==f&&(tP("yt_lt","hot_bg",a),f=b.vc,l=b.pbs,delete b.aft,c.aft=Math.round(l-f));for(var m in c)"_"!=m.charAt(0)&&(k[m]=
c[m]);b.ps=g.PH();m={};f=[];for(var n in b)"_"!=n.charAt(0)&&(l=Math.round(b[n]-d),m[n]=l,f.push(n+"."+l));k.rt=f.join(",");(b=g.z("ytdebug.logTiming"))&&b(k,m);bna(k,!!c.ap,a);Ama(Bma,new kP(m.aft+(e||0),a))}};
bna=function(a,b,c){if(g.UF("debug_csi_data")){var d=g.z("yt.timing.csiData");d||(d=[],g.Da("yt.timing.csiData",d,void 0));d.push({page:location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?AG(a):g.yG(a);Jma(!0,c)};
g.xP=function(a){if(a.simpleText)return a.simpleText;if(a.runs){var b=[];a=g.r(a.runs);for(var c=a.next();!c.done;c=a.next())c=c.value,c.text&&b.push(c.text);return b.join("")}return""};
g.yP=function(a,b){g.vH.call(this);this.ib=a;this.adModule=!1;this.Nl=this.adaptiveFormats="";this.ad=null;this.drmParams="";this.allowEmbed=!0;this.allowLiveDvr=this.backgroundable=!1;this.te="";this.Po=this.Oo=!1;this.FC=null;this.ni=this.Cl=this.qd=this.mo=this.yd=this.fq=!1;this.oj=NaN;this.author="";this.rh=0;this.WA=this.Mt=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.videoCountText=this.channelBanner=this.si=this.Rl="";this.contentCheckOk=!1;this.qf=0;this.pp=this.fm=!1;this.endSeconds=
0;this.Ig=null;this.cf=!1;this.ag=this.qk=0;this.Mo=this.pipable=this.tk=!1;this.kF=0;this.Da=this.Wm=this.Be=this.Iv=this.kj=!1;this.Rv="";this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.Vm=this.DC=this.vk=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=this.isPremiere=!1;this.mdxControlMode=null;this.isPharma=!1;this.qg=0;this.reloadReason="";this.Ov=this.EC=this.Ih=!1;this.keywords={};this.iq="";this.jq=0;this.hs=!1;this.liveChunkReadahead=NaN;this.Sv=0;this.Zm=null;this.an=this.lengthSeconds=
0;this.playerParams=this.musicVideoType=null;this.paygated=!1;this.Pc=[];this.Tk=void 0;this.racyCheckOk=!1;this.Ar=0;this.Ea=null;this.autonavState=1;this.Oe=this.Px=this.Ox=!1;this.Rr=this.Eh=this.startSeconds=0;this.ol=!1;this.Io=null;this.ls=this.It=this.TG=jN;this.pl=this.suggestions=null;this.ql=!1;this.hlsFormats=this.wl=this.expandedSubtitle=this.ou=this.subtitle=this.title="";this.nq=this.Qr=this.be=this.Cf=this.Zd=this.Rn=this.Rp=null;this.xs="vvt";this.My=null;this.aH="";this.no=NaN;this.Ks=
this.Fs=this.Es=this.Ds=this.Cs=this.Js=this.lo=this.Is=this.Hs=this.Gs="";this.oo=null;this.HF=!1;this.xd={};this.clipStart=0;this.clipEnd=Infinity;this.heartbeatToken="";this.cC=this.bC=NaN;this.Sk=this.yk=this.li=this.Dv=this.dC=!1;this.NB="";this.zr=this.yx=this.MB=0;this.BC=!1;this.ci={};this.captionTracks=[];this.Lt=[];this.qA=0;this.rA=[];this.Yo=!1;this.chapterMarkers=[];this.Xl=new LO("und",new bL("Default","und",!0));this.Pv=0;this.dl=this.FF=!1;this.bf=null;this.Jn=[];this.ji=[];this.uj=
{};this.Cy=this.mx="";this.slotPosition=-1;this.breakType=0;this.QF=new g.V(this.RF,5E3,this);g.M(this,this.QF);this.Fu=0;this.OB=!0;this.Ld=this.zb=this.dm=null;this.Hv=this.iG=this.Gh=this.Hh=!1;this.Ev=this.Gv=NaN;this.defraggedFromSubfragments=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=NaN;this.Qk=this.Dy=this.Ey=!1;this.interstitials=[];this.Lc=this.Jv=!1;this.Hg="#cc181e";this.Kn="";this.isVisualizerEligible=!1;this.Kd="";this.Ti=this.xC=!1;this.YD=this.ko="";this.qF=this.Yw=
this.Fv=this.readAheadGrowthRateMs=this.minReadAheadMediaTimeMs=this.maxReadAheadMediaTimeMs=NaN;var c=this.na("web_player_response_player_config_parsing");this.lF=c&&!this.na("web_player_response_audio_config_killswitch");this.mF=c&&!this.na("web_player_response_fairplay_config_killswitch");this.SU=c&&!this.na("web_player_response_start_config_killswitch");this.Hn=c&&!this.na("web_player_response_misc_player_config_killswitch");this.ax=this.na("web_player_response_overlay_parsing");this.Xq=this.na("web_player_response_live_playback_parsing");
this.TU=this.na("web_player_response_ypc_parsing");this.na("web_player_ux_module_wait")&&this.ib.ka&&this.Pc.push("ux");this.ku=!1;this.Ln={};this.jl(b)};
hna=function(a,b){b=b||{};var c=b.iv_invideo_url;c&&(a.te=CK(c));a.Oo=KN(a.Oo,b.iv_ads_only);a.Po=KN(a.Po,b.iv_allow_in_place_switch);if(c=b.cta_conversion_urls)a.gA=c;a.isPharma=KN(a.isPharma,b.is_pharma);a.author=NN(a.author,b.author);a.Rl=cna(b.ttsurl)||a.Rl;a.Mt=KN(a.Mt,b.cc_asr);a.si=NN(a.si,b.channel_path);a.channelBanner=NN(a.channelBanner,b.channel_banner);a.videoCountText=NN(a.videoCountText,b.video_count_text);a.autonavState=LN(a.autonavState,b.autonav_state,dna);a.clientPlaybackNonce=NN(a.clientPlaybackNonce,
b.cpn);a.subscribed=KN(a.subscribed,b.subscribed);a.Zh=MN(a.Zh,b.view_count);a.shortViewCount=NN(a.shortViewCount,b.short_view_count_text);a.title=NN(a.title,b.title);a.subtitle=NN(a.subtitle,b.subtitle);a.ou=NN(a.ou,b.expanded_title);a.expandedSubtitle=NN(a.expandedSubtitle,b.expanded_subtitle);a.Nl=NN(a.Nl,b.aria_label);a.Dl=NN(a.Dl,b.ypc_preview);a.Ny=NN(a.Ny,b.ypc_origin);a.ko=NN(a.ko,b.ypc_clickwrap_message);a.paygated=KN(a.paygated,b.paygated);a.HF=KN(a.HF,b.requires_purchase);if(c=b.keywords)a.keywords=
ena(c.split(","));if(c=b.rvs)a.suggestions=KF(c);a.contentCheckOk=KN(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=KN(a.racyCheckOk,"1"==b.rco);a.oauthToken=NN(a.oauthToken,b.oauth_token);a.iq=NN(a.iq,b.kpt);a.visitorData=NN(a.visitorData,b.visitor_data);if(c=b.session_data)a.Id=g.HF(c);if(c=b.endscreen_autoplay_session_data)a.iB=g.HF(c);a.hB=NN(a.hB,b.endscreen_ad_tracking_data);a.zl=KN(a.zl,b.wait_for_vast_info_cards_xml);a.xj=KN(a.xj,b.suppress_creator_endscreen);a.Ui=KN(a.Ui,b.is_trueview_action);
a.uh=NN(a.uh,b.wpid);a.BG=NN(a.BG,b.tracking_list);!a.Hn&&b.intro_start_ms&&b.intro_end_ms&&(a.Gv=parseInt(b.intro_start_ms,10),a.Ev=parseInt(b.intro_end_ms,10));var d=[];a.na("web_player_updatable_keys_killswitch")&&(d=d.concat(fna));a.na("web_player_updatable_ypc_keys_killswitch")&&(d=d.concat(gna));c=b;d=g.r(d);for(var e=d.next();!e.done;e=d.next())e=e.value,e in c&&(a.Ln[e]=c[e])};
AP=function(a,b){b=void 0===b?!1:b;var c=a.Ti,d=!!a.oa&&(a.oa.Qg()||a.oa.Rg()||a.oa.Vf()),e=!!a.oa&&(a.oa.Y||!a.vk&&!a.Da&&a.oa.C),f=a.ib,k=!!a.oa&&a.oa.wk,l=b,m=a.Dy,n=a.isAd(),p=new Hla;p.G=zP(a);p.B=m&&f.Ob;iG("windows nt 5.1")&&!g.QM&&(p.o=!0);d&&aO&&6>=bO&&(p.o=!0);if(m=d)m=f.na("disable_html5_ambisonic_audio")||!(g.zO(f)||f.na("html5_enable_spherical")||f.na("html5_enable_spherical3d"))?!1:AO(f);m&&(p.F=!0);if(l||c)p.o=!0,p.L=!0;e&&!f.experiments.o("html5_otf_prefer_vp9")&&(p.o=!0);!f.experiments.o("html5_disable_aac_ac3")&&
OM(f.G,XM)&&(p.C=!0,f.experiments.o("html5_ac3_killswitch")||(p.D=!0));if(k||d)p.H=!1;p.J=!1;c=f.experiments.A("html5_av1_thresh");(d=f.experiments.A("html5_av1_thresh_lcc"))&&2>=navigator.hardwareConcurrency&&(c=d);(d=f.experiments.A("html5_av1_thresh_hcc"))&&4<navigator.hardwareConcurrency&&(c=d);(d=tN("1",30))&&(c=Math.min(c,d));n&&!f.experiments.o("html5_av1_ads")&&(c=0);try{c=xN()||c}catch(q){}0<c&&2160>c&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(p.A=c);2160<=c&&(p.K=!0);return p};
EP=function(a,b){var c;(c=!b)||(c=!(!BP(a)&&a.adaptiveFormats));if(c)return!1;c=WL(CP(a,b),a.ad,a.lengthSeconds,a.Da,a.vk,a.ib.experiments);if(0<CP(a,b).length){var d=CP(a,b)[0];d.url&&d.sp&&d.s&&(d=YL(d.url,d.sp,d.s),d=parseInt(d.get("max_sq"),10)||Infinity,isFinite(d)&&(a.DC=!0))}if(d=c.A)d=!(a.na("html5_manifestless_vp9")||!ina(c));if(d)return c.dispose(),!1;DP(a,c);c.C&&c.subscribe("cuepointsadded",a.AA,a);SL(c)&&(a.yk=!0);return!0};
BP=function(a){return!a.na("html5_enable_tvos_dash")&&lG()};
ina=function(a){return a.A&&nM('video/webm; codecs="vp9"')&&Qb(a.o,function(b){return kL(b.info)})};
FP=function(a){return!(!a.oa||!a.oa.A)};
jna=function(a){if(!(a.Ea&&a.Ea.videoInfos.length&&g.iK(a.Ea.videoInfos[0])&&FP(a))||g.kG()&&!a.na("html5_streaming_xhr_try_cobalt")||g.bN&&!a.na("html5_streaming_xhr_try_edge"))return!1;var b=a.na("html5_streaming_response_mediastream_rewrite_v2"),c="ULTRALOW"==a.latencyClass;a=21530001==GP(a);return b||c||a};
kna=function(a){if(!jna(a))return!1;var b="ULTRALOW"==a.latencyClass||21530001==GP(a);return a.na("html5_live_benchmark_incremental_parsing")&&!b||!tL()||!window.AbortController&&!b?!1:!0};
lna=function(a){var b=FP(a),c=kna(a);return a.hasSubfragmentedFmp4&&b?c&&tL()?3:2:a.defraggedFromSubfragments&&b?-1:1};
GP=function(a){return a.isLowLatencyLiveStream&&void 0!=a.oa&&5<=hM(a.oa)?21530001:a.liveExperimentalContentId};
HP=function(a){return a.na("html5_enable_tvos_dash")&&lG()?!1:!$M()||a.WA?!0:!1};
mna=function(a){a.cf=!0;a.li=!1;if(a.na("mweb_hoffline")&&a.adaptiveFormats&&!a.we&&mma(a.videoId))nma(a.videoId).then(function(d){return EP(a,d)},function(){return EP(a,a.adaptiveFormats)}).then(function(){return IP(a)});
else{xK(a.we)||g.hF(Error("DASH MPD Origin invalid: "+a.we),"WARNING");var b=a.we,c=a.ib.experiments.A("dash_manifest_version")||4;b=g.zh(b,{mpd_version:c});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(b=g.zh(b,{pacing:0}));jla(b,a.ib.experiments,a.Da).then(a.gR,a.fR,a);(0,g.JP)("mrs")}};
g.nna=function(a){if(!a.Ld)return null;var b=null!=a.Ld.latitudeE7&&null!=a.Ld.longitudeE7?a.Ld.latitudeE7+","+a.Ld.longitudeE7:",";return b+=","+(a.Ld.clientPermissionState||0)+","+(a.Ld.locationRadiusMeters||"")+","+(a.Ld.locationOverrideToken||"")};
IP=function(a){a.la()||(a.cf=!1,a.U("dataloaded"))};
DP=function(a,b,c){c&&a.oa&&a.oa.dispose();a.oa=b;g.M(a,b);ona(a)&&a.Pc.push("webgl");a.oa.isLive||(a.Da=!1);b=b.sourceUrl.split("/");-1!=b.indexOf("manifest_duration")&&(a.Zm=parseInt(b[b.indexOf("manifest_duration")+1],10))};
g.qna=function(a,b){if(a.la())return GG();a.Ea=null;a.Zd=null;a.Cf=null;var c=a.ib.deviceParams.c;a.na("disable_rqs")||(a.Hh=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(c)||KP(a));return pna(a,b).then(void 0,(0,g.B)(a.oN,a)).then(void 0,(0,g.B)(a.lN,a,b)).then(void 0,(0,g.B)(a.mN,a,b)).then(void 0,(0,g.B)(a.pN,a)).then(void 0,(0,g.B)(a.nN,a)).then(function(){if(a.na("html5_probe_media_capabilities")&&a.Ea)return xma(a.Ea).then(a.Ir,void 0,a)})};
pna=function(a,b){if(!b&&!HP(a)){var c=!1;if(a.mG)DP(a,WL(CP(a,a.mG),a.ad,a.lengthSeconds,!1,!1),!0),c=!0;else if(a.oa&&a.Nr){var d=eM(a.oa,a.Nr);d&&(DP(a,d,!0),c=!0)}if(c)return Qla(AP(a,!0),a.ib.G,a.oa,a.bf).then(a.Ir,void 0,a).then(a.pB,void 0,a)}return GG()};
rna=function(a){var b={cpn:a.clientPlaybackNonce,c:a.ib.deviceParams.c,cver:a.ib.deviceParams.cver};a.In&&(b.ptk=a.In,b.oid=a.oF,b.ptchn=a.nF,b.pltype=a.pF);return b};
g.LP=function(a){return BP(a)&&a.Ig?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ca&&a.Ca.ad||null};
sna=function(a){var b=a.zb&&a.zb.paidContentOverlay&&a.zb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.xP(b.text):a.QU};
tna=function(a){var b=a.zb&&a.zb.paidContentOverlay&&a.zb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?g.Bc(b.durationMs):a.kF};
MP=function(a){var b="";if(a.Rv)return a.Rv;a.Da&&(b=a.allowLiveDvr?"dvr":"live");return b};
g.NP=function(a,b){return g.x(a.keywords[b])?a.keywords[b]:null};
una=function(a){return!!(a.we||a.adaptiveFormats||a.wl||a.pl||a.Sx||a.mG||a.hlsvp)};
OP=function(a){var b=g.Ya(a.Pc,"ypc");a.Dl&&(b=!1);return a.isValid()&&!a.cf&&(una(a)||g.Ya(a.Pc,"fresca")||g.Ya(a.Pc,"heartbeat")||b)};
CP=function(a,b,c){b=KF(b);var d={};c&&(0,g.E)(c.split(","),function(e){(e=e.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[e[1]]={width:e[2],height:e[3]})});
(0,g.E)(b,function(e){var f=d[e.itag];f&&(e.width=f.width,e.height=f.height)},a);
return b};
wna=function(a,b){var c=b[0];if(c&&(c=c.playerAnnotationsUrlsRenderer)){c.adsOnly&&(a.Oo=!0);c.allowInPlaceSwitch&&(a.Po=!0);var d=c.loadPolicy;d&&(a.kh=vna[d]);if(c=c.invideoUrl)a.te=CK(c);a.fq=!0}};
xna=function(a,b){a.botguardData=b.playerAttestationRenderer.botguardData;var c=b.playerAttestationRenderer.challenge;null!=c&&(a.Lj=c)};
yna=function(a,b){a.captionTracks=[];b.captionTracks&&(0,g.E)(b.captionTracks,function(c){var d=cna(c.baseUrl);d&&(c=new g.JO({is_translateable:!!c.isTranslatable,languageCode:c.languageCode,languageName:c.name&&g.xP(c.name),url:d,vss_id:c.vssId,kind:c.kind}),this.captionTracks.push(c))},a);
a.Lt=b.audioTracks||[];a.qA=b.defaultAudioTrackIndex||0;a.rA=b.translationLanguages?(0,g.K)(b.translationLanguages,function(c){return{languageCode:c.languageCode,languageName:g.xP(c.languageName)}}):[];
a.Yo=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
zna=function(a,b){var c=b.heartbeatToken;c&&(a.drmSessionId=b.drmSessionId||"",a.heartbeatToken=c,a.bC=parseInt(b.intervalMilliseconds,10),a.cC=parseInt(b.maxRetries,10),a.dC=!!b.softFailOnError,a.Dv=!!b.useInnertubeHeartbeatsForDrm,a.mo=!0)};
Ana=function(a,b){var c=b.playerLegacyMulticameraRenderer;c&&(c=c.metadataList)&&(a.YD=c,a.ji=KF(c))};
Bna=function(a,b){if(a.ax){var c=b.playerControlsOverlayRenderer;c&&(c=c.controlBgHtml,null!=c&&(a.Hg=c,a.Lc=!0))}};
Cna=function(a,b){var c=b.backgroundability;c&&c.backgroundabilityRenderer.backgroundable&&(a.backgroundable=!0);(c=b.pictureInPicture)&&c.pictureInPictureRenderer.playableInPip&&(a.pipable=!0);b.playableInEmbed&&(a.allowEmbed=!0);var d=b.ypcClickwrap;d&&(c=d.playerLegacyDesktopYpcClickwrapRenderer,d=d.ypcRentalActivationRenderer,c?(a.ko=c.durationMessage||"",a.Cl=!0):d&&(c=d.durationMessage,a.ko=c?g.xP(c):"",a.Cl=!0))};
Dna=function(a,b,c){var d=PP(b.googleRemarketingUrl);d&&(a.googleRemarketingUrl=d);if(d=PP(b.youtubeRemarketingUrl))a.youtubeRemarketingUrl=d;if(d=PP(b.ptrackingUrl)){d=QP(d);var e=d.oid;e&&(a.oF=e);if(e=d.pltype)a.pF=e;if(e=d.ptchn)a.nF=e;if(d=d.ptk)a.In=encodeURIComponent(d)}if(d=PP(b.ppvRemarketingUrl))a.ppvRemarketingUrl=d;if(d=PP(b.qoeUrl)){d=g.LF(d);for(var f in d)e=d[f],d[f]=g.Ga(e)?e.join(","):e;if(f=d.cat)a.Kn=f;if(f=d.live)a.Rv=f}if(f=PP(b.remarketingUrl))if(a.remarketingUrl=f,f=QP(f),f.foc_id&&
(a.xd.focEnabled=!0),f=f.data)a.xd.rmktEnabled=!0,f.engaged&&(a.xd.engaged="1");if(b=PP(b.videostatsPlaybackUrl)){b=QP(b);if(f=b.adformat)c.adformat=f;if(c=b.autoplay)a.kj="1"==c;if(c=b.autonav)a.tk="1"==c;if(c=b.delay)a.qf=g.Bc(c);if(c=b.ei)a.eventId=c;a.na("web_player_el_adunit_autoplay_killswitch")||"adunit"!=b.el||(a.kj=!0);if(c=b.feature)a.Vk=c;if(c=b.list)a.playlistId=c;if(c=b.of)a.Zw=c;if(c=b.osid)a.osid=c;if(c=b.referrer)a.referrer=c;if(c=b.sdetail)a.ur=c;if(c=b.ssrt)a.Wn="1"==c;if(c=b.subscribed)a.subscribed=
"1"==c,a.xd.subscribed=c;if(c=b.upt)a.Yr=c;if(c=b.vm)a.videoMetadata=c;if(c=b.wpid)a.uh=c}};
Ena=function(a,b){if(a.lF){var c=b.audioConfig;if(c){var d=c.loudnessDb;null!=d&&(a.oj=d);c.audioMuted&&(a.ni=!0);c.muteOnStart&&(a.ni=!0)}}if(a.mF&&(c=b.fairPlayConfig)){if(d=c.certificate)a.Ig=RP(d);d=parseInt(c.keyRotationPeriodMs,10);0<d&&(a.lm=d);c=parseInt(c.keyPrefetchMarginMs,10);0<c&&(a.km=c)}if(a.SU){if(c=b.playbackStartConfig){a.qF=parseInt(c.startSeconds,10);if(d=c.liveUtcStartSeconds)a.liveUtcStartSeconds=parseInt(d,10);if(c=c.startPosition){if(d=c.utcTimeMillis)a.liveUtcStartSeconds=
.001*parseInt(d,10);if(c=c.streamTimeMillis)a.Rr=.001*parseInt(c,10)}}else if(c=b.skippableSegmentsConfig){if(d=c.introSkipDurationMs)a.Fv=parseInt(d,10)/1E3;if(c=c.outroSkipDurationMs)a.Yw=parseInt(c,10)/1E3}if(d=b.skippableIntroConfig)c=parseInt(d.startMs,10),d=parseInt(d.endMs,10),isNaN(c)||isNaN(d)||(a.Gv=c,a.Ev=d)}if(a.Hn){if(c=b.streamSelectionConfig)a.ag=parseInt(c.maxBitrate,10);(c=b.visualizerConfig)&&c.isVisualizerEligible&&(a.isVisualizerEligible=!0);if(c=b.vrConfig)a.Gh="1"==c.partialSpherical}if(c=
b.webDrmConfig)if(c.skipWidevine&&(a.iG=!0),c=c.widevineServiceCert)a.ho=RP(c);if(c=b.mediaCommonConfig)if(c=c.dynamicReadaheadConfig)a.maxReadAheadMediaTimeMs=c.maxReadAheadMediaTimeMs||NaN,a.minReadAheadMediaTimeMs=c.minReadAheadMediaTimeMs||NaN,a.readAheadGrowthRateMs=c.readAheadGrowthRateMs||NaN};
Gna=function(a,b,c){var d=b.hlsFormats;if(d){var e={};if(c&&(c=c.audioPairingConfig)&&c.pairs){c=g.r(c.pairs);for(var f=c.next();!f.done;f=c.next())f=f.value,e[f.videoItag]=f.audioItag}c={};f=g.r(d);for(var k=f.next();!k.done;k=f.next())k=k.value,c[k.itag]=k.bitrate;f=[];d=g.r(d);for(k=d.next();!k.done;k=d.next()){var l=k.value;k={itag:l.itag,type:l.mimeType,url:l.url,bitrate:l.bitrate,width:l.width,height:l.height,fps:l.fps};var m=l.audioTrack;if(m){var n=m.displayName;n&&(k.name=n,k.audio_track_id=
m.id,m.audioIsDefault&&(k.is_default="1"))}if(l.drmFamilies){m=[];n=g.r(l.drmFamilies);for(var p=n.next();!p.done;p=n.next())m.push(Fna[p.value]);k.drm_families=m.join(",")}l=e[l.itag];m=c[l];l&&m&&(k.audio_itag=l,k.bitrate+=m);f.push(g.xh(k))}a.hlsFormats=f.join(",")}if((e=b.licenseInfos)&&0<e.length){c={};f=g.r(e);for(d=f.next();!d.done;d=f.next())k=d.value,d=k.drmFamily,k=k.url,d&&k&&(c[Fna[d]]=k);a.ad=c;if(e=e[0].drmParams)a.drmParams=e}if(e=b.dashManifestUrl)a.we=g.zh(e,{cpn:a.clientPlaybackNonce});
if(e=b.hlsManifestUrl)a.hlsvp=e;if(b=b.probeUrl)a.probeUrl=CK(g.zh(b,{cpn:a.clientPlaybackNonce}))};
Hna=function(a,b){var c=b.videoId;c&&(a.videoId=c);if(c=b.title)a.title=c;if(c=b.lengthSeconds)a.lengthSeconds=parseInt(c,10);if(c=b.keywords)a.keywords=ena(c);if(c=b.channelId)a.gi=c;if(c=b.viewCount)a.Zh=parseInt(c,10);if(c=b.author)a.author=c;if(c=b.isCrawlable)a.Be=c;if(c=b.musicVideoType)a.musicVideoType=c;c=b.isLive;null!=c&&(a.Da=c,a.isPremiere=!!c&&!b.isLiveContent)};
Ina=function(a,b){if(a.TU){if(b.playerLegacyDesktopYpcTrailerRenderer){var c=b.playerLegacyDesktopYpcTrailerRenderer;a.Ks=c.trailerVideoId||"";var d=(d=b.playerLegacyDesktopYpcTrailerRenderer.ypcTrailer)&&d.ypcTrailerRenderer}else if(b.playerLegacyDesktopYpcOfferRenderer)c=b.playerLegacyDesktopYpcOfferRenderer;else if(b.ypcTrailerRenderer){d=b.ypcTrailerRenderer;var e=d.fullVideoMessage;a.lo=e?g.xP(e):""}c&&(a.Es=c.itemTitle||"",c.itemUrl&&(a.Fs=c.itemUrl),c.itemBuyUrl&&(a.Cs=c.itemBuyUrl),a.Ds=c.itemThumbnail||
"",a.Is=c.offerHeadline||"",a.Hs=c.offerDescription||"",a.Js=c.offerId||"",a.Gs=c.offerButtonText||"",a.My=c.offerButtonFormattedText||null,a.no=c.overlayDurationMsec||NaN,a.lo=c.fullVideoMessage||"",a.qd=!0);d&&(c=d.playerVars,a.oo=c?g.JF(c):null,a.qd=!0)}};
Kna=function(a,b,c,d){if(a.Xq)if(b.isLiveDefaultBroadcast&&(a.isLiveDefaultBroadcast=!0),b.isPostLiveDvr)a.vk=!0;else{var e=!1;if(b.isLive){d.livestream="1";a.allowLiveDvr="1"!=b.isLiveDvrEnabled?!1:$M()?!0:VN&&5>SP?!1:!0;a.ff=27;b.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);if(e=b.latencyClass)a.latencyClass=Jna[e]||"UNKNOWN";a.fm=!0;if(b=b.liveChunkReadahead)a.liveChunkReadahead=b;if(c=c&&c.livePlayerConfig)if(c.hasSubfragmentedFmp4&&(a.hasSubfragmentedFmp4=!0),c.defraggedFromSubfragments&&
(a.defraggedFromSubfragments=!0),c=c.liveExperimentalContentId)a.liveExperimentalContentId=parseInt(c,10);e=!0}else b.isUpcoming&&(e=!0);e&&(a.Da=!0,d.adformat&&"8"!=d.adformat.split("_")[1]||(a.na("live_fresca_v2")?a.Pc.push("heartbeat"):(a.yd=!0,a.Pc.push("fresca"))),a.mo=!0,a.pp=!0)}};
Lna=function(a,b){if(a.ax){var c=b.thumbnailPreviewRenderer.controlBgHtml;null!=c&&(a.Hg=c,a.Lc=!0)}};
g.TP=function(a){return a.Da&&!a.allowLiveDvr};
UP=function(a){return a.Da&&a.allowLiveDvr};
ona=function(a){return a.Rg()||a.Qg()||a.Qi()||a.Vf()};
Mna=function(a){a.Ea=a.Ea.A};
g.Nna=function(a){if(a.xj)return null;var b=a.FC;b||(b=a.zb&&a.zb.endscreen&&a.zb.endscreen.endscreenUrlRenderer&&a.zb.endscreen.endscreenUrlRenderer.url);return b||null};
g.Ona=function(a){return a.xj?null:a.zb&&a.zb.endscreen&&a.zb.endscreen.endscreenRenderer||null};
VP=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.ib.P};
WP=function(a){if(a.isAd()&&a.videoId!=a.ib.ma)return a.ib.ma};
XP=function(a){return a.kj||"detailpage"==VP(a)};
YP=function(a){return XP(a)?"detailpage"==VP(a)?a.tk||0<a.qg:!0:!1};
ZP=function(a){return a.oauthToken||a.ib.Oa};
$P=function(a){var b=1,c=a.ib.experiments.A("html5_default_ad_gain");c&&a.isAd()&&(b=c);return Math.min(1,Math.pow(10,-a.oj/20))||b};
zP=function(a){return!a.ib.deviceHasDisplay||a.Ey&&a.ib.Ob};
KP=function(a){return a.na("disable_rqs")?!1:a.na("html5_high_res_logging")?!0:(a.Ln.fflags||"").includes("html5_high_res_logging=true")};
RP=function(a){try{return g.Pe(a)}catch(b){return null}};
PP=function(a){return a&&a.baseUrl||""};
QP=function(a){a=g.LF(a);for(var b in a){var c=a[b];a[b]=g.Ga(c)?c[0]:c}return a};
ena=function(a){var b={};(0,g.E)(a,function(c){var d=c.split("=");2==d.length?b[d[0]]=d[1]:b[c]=!0});
return b};
cna=function(a){if(a){if(AK(a))return a;a=BK(a);if(AK(a,!0))return a}return""};
aQ=function(a,b){var c={};this.C=(c.c1a=(0,g.B)(this.F,this),c.c3a=(0,g.B)(this.G,this),c.c6a=(0,g.B)(this.D,this),c);this.o=a;this.B=!!b;this.o&&this.o.Lj?this.A=g.JF(this.o.Lj):this.A=[]};
Pna=function(a){return a.B?!!OI.o:(a=g.z("yt.abuse.player.botguardInitialized"))&&a()};
Qna=function(a,b,c){g.x(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return bQ(a)};
bQ=function(a,b,c){if(g.Ka(a)){b=["endSeconds","startSeconds","mediaContentUrl","suggestedQuality","videoId"];c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}};
Rna=function(a,b,c,d){if(g.Ka(a)&&!g.Ga(a)){b="playlist list listType index startSeconds suggestedQuality".split(" ");c={};for(d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}b={index:b,startSeconds:c,suggestedQuality:d};g.x(a)&&16==a.length?b.list="PL"+a:b.playlist=a;return b};
cQ=function(){return"ytp-id-"+Sna++};
g.eQ=function(a){g.L.call(this);this.o={};this.Ra={};this.element=dQ(this,a)};
dQ=function(a,b,c){c=c||"svg"==b.I;if(c){var d=document.createElementNS("http://www.w3.org/2000/svg",b.I);g.xO&&(b.T||(b.T={}),b.T.focusable="false")}else d=g.ke(b.I);var e;if(e=b.N){if(e=fQ(a,d,"class",e))gQ(a,d,"class",e),a.o[e]=d}else if(e=b.da){for(var f=0;f<e.length;f++)a.o[e[f]]=d;gQ(a,d,"class",e.join(" "))}if(e=b.ca)c=fQ(a,d,"child",e),null!=c&&d.appendChild(g.le(c));else if(e=b.O)for(var k=f=0;k<e.length;k++){var l=e[k];if(l)if(g.x(l))l=fQ(a,d,"child",l),null!=l&&d.appendChild(g.le(l));else if(l.element)d.appendChild(l.element);
else{var m=l;l=dQ(a,m,c);d.appendChild(l);m.Ya&&(m=cQ(),l.id=m,l=document.createElementNS("http://www.w3.org/2000/svg","use"),l.setAttribute("class","ytp-svg-shadow"),l.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),pe(d,l,f++))}}if(b=b.T){c=d;for(var n in b)e=b[n],null!=e&&gQ(a,c,n,g.x(e)?fQ(a,c,n,e):e)}return d};
g.hQ=function(a){g.qe(a.element)};
fQ=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Ra[d]=[b,c],null):d};
gQ=function(a,b,c,d){if("child"==c){g.oe(b);if(!g.Ga(d)||g.Ka(d)&&g.x(d.I))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){var k=f.nodeType;if(1==k||3==k)c.push(f);else if(g.Ka(f)&&g.x(f.I))c.push(dQ(a,f));else if(f.element)c.push(f.element);else if(g.x(f)&&-1!=f.indexOf("\n"))for(f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.ke("BR")),c.push(g.le(f[k]));else c.push(g.le(f))}}for(a=0;a<c.length;a++)b.appendChild(c[a])}else"style"==c?b.style.cssText=d?d:"":null===d?b.removeAttribute(c):
b.setAttribute(c,d.toString())};
g.W=function(a){g.eQ.call(this,a);this.sd="";this.C=!0;this.W=!1;this.ga=[]};
g.iQ=function(a,b){b?a.show():a.hide()};
g.jQ=function(a){g.W.call(this,a);this.ea=new g.vH;g.M(this,this.ea)};
g.lQ=function(a,b,c,d){g.jQ.call(this,a);this.priority=b;c&&g.kQ(this,c);d&&this.Lb(d)};
g.mQ=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?[]:b;c=void 0===c?!1:c;b.push("ytp-menuitem");"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex="0");return{I:c?"a":"div",da:b,T:a,O:[{I:"div",N:"ytp-menuitem-label",ca:"{{label}}"},{I:"div",N:"ytp-menuitem-content",ca:"{{content}}"}]}};
g.kQ=function(a,b){a.updateValue("label",b)};
pQ=function(a,b){g.L.call(this);var c=this;this.app=a;this.o=!0;this.B=null;this.F={};this.H={};this.C={};this.J=[];this.G={};this.D={};this.A=null;this.L=new Set;this.playerType=b;nQ(this,"cueVideoById",this.cueVideoById);nQ(this,"loadVideoById",this.loadVideoById);nQ(this,"cueVideoByUrl",this.cueVideoByUrl);nQ(this,"loadVideoByUrl",this.loadVideoByUrl);nQ(this,"playVideo",this.playVideo);nQ(this,"pauseVideo",this.pauseVideo);nQ(this,"stopVideo",this.stopVideo);nQ(this,"clearVideo",this.clearVideo);
nQ(this,"getVideoBytesLoaded",this.getVideoBytesLoaded);nQ(this,"getVideoBytesTotal",this.getVideoBytesTotal);nQ(this,"getVideoLoadedFraction",this.getVideoLoadedFraction);nQ(this,"getVideoStartBytes",this.getVideoStartBytes);nQ(this,"cuePlaylist",this.cuePlaylist);nQ(this,"loadPlaylist",this.loadPlaylist);nQ(this,"nextVideo",this.nextVideo);nQ(this,"previousVideo",this.previousVideo);nQ(this,"playVideoAt",this.playVideoAt);nQ(this,"setShuffle",this.setShuffle);nQ(this,"setLoop",this.setLoop);nQ(this,
"getPlaylist",this.getPlaylist);nQ(this,"getPlaylistIndex",this.getPlaylistIndex);nQ(this,"getPlaylistId",this.getPlaylistId);nQ(this,"loadModule",this.loadModule);nQ(this,"unloadModule",this.unloadModule);nQ(this,"setOption",this.setOption);nQ(this,"getOption",this.getOption);nQ(this,"getOptions",this.getOptions);nQ(this,"mute",this.mute);nQ(this,"unMute",this.unMute);nQ(this,"isMuted",this.isMuted);nQ(this,"setVolume",this.setVolume);nQ(this,"getVolume",this.getVolume);nQ(this,"seekTo",this.seekTo);
nQ(this,"getPlayerState",this.getPlayerState);nQ(this,"getPlaybackRate",this.getPlaybackRate);nQ(this,"setPlaybackRate",this.setPlaybackRate);nQ(this,"getAvailablePlaybackRates",this.getAvailablePlaybackRates);nQ(this,"getPlaybackQuality",this.getPlaybackQuality);nQ(this,"setPlaybackQuality",this.setPlaybackQuality);nQ(this,"getAvailableQualityLevels",this.getAvailableQualityLevels);nQ(this,"getCurrentTime",this.getCurrentTime);nQ(this,"getDuration",this.getDuration);nQ(this,"addEventListener",this.addEventListener);
nQ(this,"removeEventListener",this.removeEventListener);nQ(this,"getDebugText",this.getDebugText);nQ(this,"getVideoData",this.getVideoData);nQ(this,"addCueRange",this.addCueRange);nQ(this,"removeCueRange",this.removeCueRange);nQ(this,"setSize",this.setSize);nQ(this,"getApiInterface",this.getApiInterface);nQ(this,"destroy",this.destroy);nQ(this,"showVideoInfo",this.showVideoInfo);nQ(this,"hideVideoInfo",this.hideVideoInfo);nQ(this,"isVideoInfoVisible",this.isVideoInfoVisible);nQ(this,"getSphericalProperties",
this.getSphericalProperties);nQ(this,"setSphericalProperties",this.setSphericalProperties);this.app.o.hc||(nQ(this,"getVideoEmbedCode",this.getVideoEmbedCode),nQ(this,"getVideoUrl",this.getVideoUrl));nQ(this,"getMediaReferenceTime",this.getMediaReferenceTime);oQ(this,"getInternalApiInterface",this.getInternalApiInterface);oQ(this,"getAdState",this.getAdState);oQ(this,"sendAbandonmentPing",this.sendAbandonmentPing);oQ(this,"isNotServable",this.isNotServable);oQ(this,"channelSubscribed",this.channelSubscribed);
oQ(this,"channelUnsubscribed",this.channelUnsubscribed);oQ(this,"isPictureInPictureAllowed",this.isPictureInPictureAllowed);oQ(this,"togglePictureInPicture",this.togglePictureInPicture);oQ(this,"enqueueVideoByPlayerVars",function(d){return c.enqueueVideoByPlayerVars(d)});
oQ(this,"clearQueue",this.clearQueue);oQ(this,"handleExternalCall",this.handleExternalCall);oQ(this,"isExternalMethodAvailable",this.isExternalMethodAvailable)};
nQ=function(a,b,c){a.F[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)};
oQ(a,b,c);a.J.push(b)};
qQ=function(a,b,c){a.H[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)};
oQ(a,b,c);a.J.push(b)};
oQ=function(a,b,c){a.C[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)}};
rQ=function(a){a.A||(a.A={},g.Oa(a.A,a.F),g.Oa(a.A,a.H),a.A.addEventListener=(0,g.B)(a.zK,a),a.A.removeEventListener=(0,g.B)(a.AK,a));return a.A};
sQ=function(a,b,c){a.app.o.experiments.o("web_player_gel_logging_killswitch")||lI(b,c)};
Tna=function(a,b,c){b=g.Jd(Math.floor(b),0,100);isFinite(b)&&tQ(a.app,{volume:b,muted:a.isMuted()},c)};
Una=function(a,b){tQ(a.app,{muted:!0,volume:a.getVolume()},b)};
Vna=function(a,b){tQ(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
g.uQ=function(a){return(a=Wna(a.app.B))?a.en:null};
Xna=function(a,b,c,d){this.videoData=a;this.o=b;this.reason=c;this.A=d};
Yna=function(){this.endTime=this.startTime=-1;this.Nt="-";this.playbackRate=1;this.visibilityState=0;this.Dt="";this.volume=this.connectionType=this.lh=0;this.muted=!1};
Zna=function(a){this.A=a;this.J=!1;this.o=0;this.D=-1;this.L=this.A.Td().volume;this.K=this.A.Td().muted;this.F=NaN;this.C=0;this.ub=[];this.B=vQ(this.A);this.G=this.H=0};
g.wQ=function(a){a.B.startTime=a.C;a.B.endTime=a.o;a.ub.length&&g.Ra(a.ub).isEmpty()?a.ub[a.ub.length-1]=a.B:a.ub.length&&a.B.isEmpty()||a.ub.push(a.B);a.H+=a.o-a.C;a.B=vQ(a.A);a.C=a.o};
$na=function(a){return a.H+a.A.A()-a.C};
aoa=function(a){a.ub.length&&a.o==a.C||g.wQ(a);var b=a.ub;a.ub=[];return b};
boa=function(a,b,c){c-=a.F;return b==a.o&&.5<c};
coa=function(a,b,c,d,e,f,k,l,m,n,p,q,u){this.videoData=a;this.o=b;this.Td=c;this.D=d;this.A=e;this.B=f;this.H=k;this.getAudioTrack=l;this.getPlaybackRate=m;this.F=n;this.getVisibilityState=p;this.G=q||function(){};
this.C=null;this.J=u||function(){}};
g.xQ=function(a){return doa(a)()};
doa=function(a){if(!a.C){var b=g.Na(function(c){var d=g.PH();c&&631152E6>=d&&(g.hF(Error("invalid yt.global.now value: "+d)),d=(new Date).getTime()+2);return d},a.o.experiments.o("html5_validate_yt_now"));
a.C=g.Na(function(c){return Math.round(b()-c)/1E3},b());
a.J()}return a.C};
eoa=function(a){var b=a.Td();g.Oa(b,a.videoData.Td());return b};
goa=function(a){if(navigator.connection&&navigator.connection.type)return foa[navigator.connection.type]||foa.other;if(a.o.experiments.o("html5_tv_bearer")&&g.kO(a.o)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0};
vQ=function(a){var b=new Yna;b.Nt=a.Td().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a.o.lh&&(b.lh=1);c=a.getAudioTrack();c.Rb&&c.Rb.id&&"und"!=c.Rb.id&&(b.Dt=c.Rb.id);b.connectionType=goa(a);b.volume=a.Td().volume;b.muted=a.Td().muted;return b};
g.ioa=function(a){return(a=hoa[a.toString()])?a:"LICENSE"};
joa=function(){};
koa=function(a,b){a.Cj&&null!=b&&b.o==a.Cj.o||(a.Cj&&a.Cj.dispose(),a.Cj=b)};
g.yQ=function(a){a=void 0===a?!1:a;g.L.call(this);this.D=this.C=this.B=null;this.L=a;this.J=this.H=!1;this.G=new g.rg;g.M(this,this.G)};
zQ=function(a){a=a.Ip();return 1>a.length?NaN:a.end(a.length-1)};
loa=function(a,b){a.B&&null!=b&&b.o==a.B.o||(a.B&&a.B.dispose(),a.B=b)};
AQ=function(a){return AM(a.rf(),a.getCurrentTime())};
moa=function(a){var b=a.rf();return 0<zM(b)&&a.getDuration()?yM(b,a.getCurrentTime()):0};
noa=function(a){var b=a.rf();return 0<zM(b)&&a.getDuration()?b.end(b.length-1):0};
BQ=function(a){var b=a.getDuration();return Infinity==b?1:b?moa(a)/b:0};
CQ=function(a){switch(a.Fb()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}};
DQ=function(a,b,c){g.Qf.call(this,b,a);this.o=c||null};
ooa=function(a){this.B=this.o=NaN;this.C=this.A=!1;this.D=void 0===a?!1:a};
EQ=function(a,b){return b>a.o+(a.D?.001:0)&&b<a.o+5};
poa=function(a,b,c,d){if(d=1<d)a.C=!0;if(a.A)b!=a.o&&(a.A=!1);else if(0<b&&a.o==b)return c-a.B>(d||!a.C?1500:400);a.o=b;a.B=c;return!1};
g.FQ=function(a,b){this.o=a||64;this.A=void 0===b?null:b};
GQ=function(a,b){return poa(a,b.getCurrentTime(),g.PH(),AQ(b))};
HQ=function(a,b,c){return b==a.o&&c==a.A||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.FQ(b,c)};
IQ=function(a,b){return HQ(a,a.o|b)};
JQ=function(a,b){return HQ(a,a.o&~b)};
KQ=function(a,b,c){return HQ(a,(a.o|b)&~c)};
g.X=function(a,b){return!!(a.o&b)};
g.LQ=function(a,b){return b.o==a.o&&b.A==a.A};
MQ=function(a){return g.X(a,8)&&!g.X(a,2)&&!g.X(a,1024)};
g.NQ=function(a){return g.X(a,1)&&!g.X(a,2)};
OQ=function(a){return g.X(a,128)?-1:g.X(a,2)?0:g.X(a,64)?-1:g.X(a,1)&&!g.X(a,32)?3:g.X(a,8)?1:g.X(a,4)?2:-1};
g.PQ=function(a,b){this.state=a;this.o=b};
QQ=function(a,b){return g.X(a.state,b)&&!g.X(a.o,b)?1:!g.X(a.state,b)&&g.X(a.o,b)?-1:0};
SQ=function(a){g.L.call(this);var b=this;this.o=a;this.A={};this.K=1;this.ba=NaN;this.C="N";this.F=this.ka=this.ea=this.aa=this.B=0;this.M=this.ma="";this.ga=0;this.ua=-1;this.ia=1;this.L=this.W=0;this.Y=this.J=!1;this.ya=[];this.G=null;this.P=this.H=!1;(a=navigator.getBattery?navigator.getBattery():null)&&a.then&&a.then(function(c){b.G=c});
g.RQ(this,0,"vps",["N"])};
g.RQ=function(a,b,c,d){var e=a.A[c];e||(e=[],a.A[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
UQ=function(a,b){b=0<=b?b:g.xQ(a.o);var c=a.o.B();if(!isNaN(a.ha)&&!isNaN(c.C)){var d=c.C-a.ha;0<d&&g.RQ(a,b,"bwm",[d,(c.D-a.za).toFixed(3)])}a.ha=c.C;a.za=c.D;isNaN(c.bandwidthEstimate)||g.RQ(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.o.videoData.Hh&&c.o&&TQ(a,"bwinfo",c.o);a.G&&g.RQ(a,b,"bat",[a.G.level,a.G.charging?"1":"0"]);d=a.o.getVisibilityState();a.ua!=d&&(g.RQ(a,b,"vis",[d]),a.ua=d);g.RQ(a,b,"cmt",[a.o.A().toFixed(3)]);(d=goa(a.o))&&d!=a.ga&&(g.RQ(a,b,"conn",[d]),a.ga=d);qoa(a,b,c);null!==
a.o.videoData.Io&&(a.A.acc=[a.o.videoData.Io.join(":")])};
qoa=function(a,b,c){if(!isNaN(c.A)){var d=c.A;c.B<d&&(d=c.B);g.RQ(a,b,"bh",[d.toFixed(3)])}};
VQ=function(a){var b=0,c;for(c in a.A)b+=c.length+(0,g.Gj)(a.A[c],function(d,e){return d+e.length},0);
1E3<b&&(new g.V(a.D,0,a)).start()};
roa=function(a,b,c,d){var e=a.o.A();c=[c,e.toFixed(3)];d&&c.push(d);g.RQ(a,b,"error",c)};
toa=function(a,b){if(g.X(b,128))return"ER";if(g.X(b,512))return"SU";if(g.X(b,16)||g.X(b,32))return"S";var c=soa[OQ(b)];g.kO(a.o.o)&&"B"==c&&3==a.o.getVisibilityState()&&(c="SU");"B"==c&&g.X(b,4)&&(c="PB");return c};
WQ=function(a,b){var c=a.A.cat||[];c.push(b);a.A.cat=c};
TQ=function(a,b,c,d){var e=a.A.ctmp||[],f=-1!=a.ya.indexOf(b);f||a.ya.push(b);d&&f||(d||(c="t."+(1E3*g.xQ(a.o)).toFixed()+";"+c),e.push(b+":"+c),a.A.ctmp=e,VQ(a))};
XQ=function(a,b,c,d){this.segments=[];this.experimentIds=[];this.adQueryId=null;this.Ih=this.ga=this.isFinal=this.Ga=this.L=this.autoplay=this.autonav=!1;this.ia="yt";this.A=this.B=null;this.P=!1;this.C="watchtime"==c;this.F="playback"==c;this.W="delayplay"==c;this.M="atr"==c;this.Ia="engage"==c;this.dl=!1;this.ua=this.M?"/api/stats/"+c:"//"+b.Ll+"/api/stats/"+c;d&&(this.ga=d.fs,d.rtn&&(this.A=d.rtn),this.C?(this.playerState=d.state,0<d.rti&&(this.B=d.rti)):(this.Ma=d.mos,this.Ra=d.volume,d.at&&(this.adType=
d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.ma=d.inview),d.size&&(this.ka=d.size));this.deviceParams=g.hc(b.deviceParams);this.xa=b.ya;this.experimentIds=b.experiments.experimentIds;this.ba=b.xa;this.ia=b.aa;this.region=b.region;this.userAge=b.userAge;this.ea=b.Ag;this.Xa=eI();this.dl=b.za;this.G=ZP(a);this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=YP(a);this.autonav=a.tk||this.autonav;this.contentVideoId=WP(a);this.clientPlaybackNonce=a.clientPlaybackNonce;this.L=
a.Lc;a.fo&&(this.K=a.fo,this.ya=a.xs);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.rh=a.rh;this.qf=a.qf;a.Ca&&(this.ha=aK(a.Ca),a.Hc&&aK(a.Hc)!=this.ha&&(this.J=aK(a.Hc)));a.oa&&TL(a.oa)&&(this.offlineDownloadUserChoice="1");this.za=VP(a);this.Ih=a.Ih;this.qk=a.qk;if(b=MP(a))this.Oa=b;this.an=a.an;this.ff=a.ff;this.eventId=a.eventId;this.playlistId=a.BG||a.playlistId;this.ur=a.ur;this.Df=a.Df;this.Ef=a.Ef;this.Wn=a.Wn;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=
a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Zw=a.Zw;this.referrer=a.referrer;this.Vk=a.rx||a.Vk;this.sl=a.sl;this.Yr=a.Yr;this.uh=a.uh};
YQ=function(a,b){var c=a.G&&QF(),d=a.dl&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.G);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,Gd:b}};
uoa=function(a,b,c,d){b.cmt=b.len;b.lact="0";d=d();d=d.toFixed(3);b.rt=(1*d).toString();a=g.zh(a,b);c?g.cG(a,c):g.yG(a)};
$Q=function(a){var b={ns:a.ia,el:a.za,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.o(a.rh),ei:a.eventId,fmt:a.ha,fs:a.ga?"1":"0",rt:a.o(a.Sa),of:a.Zw,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.xa,lact:a.Xa,live:a.Oa,cl:"241685072",mos:a.Ma,osid:a.osid,state:a.playerState,vm:a.videoMetadata,volume:a.Ra};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Oa(b,a.deviceParams);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.L&&(b.dni=
"1");a.isFinal&&(b["final"]="1");a.Ih&&(b.splay="1");a.qf&&(b.delay=a.qf);a.ba&&(b.hl=a.ba);a.region&&(b.cr=a.region);g.v(a.userAge)&&a.ea&&(b.uga=a.ea+a.userAge);g.v(a.aa)&&(b.len=a.o(a.aa));!a.C&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.A&&(b.rtn=a.o(a.A));a.Vk&&(b.feature=a.Vk);a.playlistId&&(b.list=a.playlistId);a.Df&&(b.ctrl=a.Df);a.Ef&&(b.ytr=a.Ef);a.Wn&&(b.ssrt="1");a.J&&(b.afmt=a.J);a.offlineDownloadUserChoice&&(b.ODUC=a.offlineDownloadUserChoice);a.Y&&(b.lio=
a.o(a.Y));a.C?(b.idpj=a.qk,b.ldpj=a.an,null!=a.B&&(b.rti=a.o(a.B))):g.v(a.adType)&&(b.at=a.adType);a.ka&&(a.F||a.W)&&(b.size=a.ka);null!=a.ma&&(a.F||a.W)&&(b.inview=a.o(a.ma));a.C&&(b.volume=ZQ(a,(0,g.K)(a.segments,function(d){return d.volume})),b.muted=ZQ(a,(0,g.K)(a.segments,function(d){return d.muted?1:0})),b.st=ZQ(a,(0,g.K)(a.segments,function(d){return d.startTime})),b.et=ZQ(a,(0,g.K)(a.segments,function(d){return d.endTime})),(0,g.Ik)(a.segments,function(d){return 1!=d.playbackRate})&&(b.rate=
ZQ(a,(0,g.K)(a.segments,function(d){return d.playbackRate}))));
(0,g.Ik)(a.segments,function(d){return 0!=d.visibilityState})&&(b.vis=ZQ(a,(0,g.K)(a.segments,function(d){return d.visibilityState})));
(0,g.Ik)(a.segments,function(d){return 0!=d.connectionType})&&(b.conn=ZQ(a,(0,g.K)(a.segments,function(d){return d.connectionType})));
(0,g.Ik)(a.segments,function(d){return 0!=d.lh})&&(b.blo=ZQ(a,(0,g.K)(a.segments,function(d){return d.lh})));
(0,g.Ik)(a.segments,function(d){return"-"!=d.Nt})&&(b.cc=(0,g.K)(a.segments,function(d){return d.Nt}).join(","));
if((0,g.Ik)(a.segments,function(d){return!!d.Dt})){var c="au";
a.F&&(c="au_d");b[c]=(0,g.K)(a.segments,function(d){return d.Dt}).join(",")}QF()&&a.K&&(b.ctt=a.K,b.cttype=a.ya,b.mdx_environment=a.mdxEnvironment);
a.Ia&&(b.etype=g.v(a.D)?a.D:0);a.sl&&(b.uoo=a.sl);a.Yr&&(b.upt=a.Yr);a.uh&&(b.wpid=a.uh);return b};
ZQ=function(a,b){return(0,g.K)(b,a.o).join(",")};
g.aR=function(a,b){return a.D+"timedtext_video?ref=player&v="+b.videoId};
bR=function(a){g.L.call(this);this.o=a;this.A=new SQ(a);g.M(this,this.A);this.C=new Zna(a);this.F="paused";this.G=NaN;this.J=[10,10,10,40];this.K=this.H=0;this.P=this.W=this.aa=this.Y=this.M=this.L=this.B=!1;this.D=NaN};
cR=function(a,b,c){var d=g.xQ(a.o);c=isNaN(c)?d:c;c=Math.ceil(c);var e=a.J[a.H];a.H+1<a.J.length&&a.H++;c+=e;d=1E3*(c-d);a.G=g.oF((0,g.B)(a.hR,a,c,b),d);return c};
dR=function(a,b){var c=eoa(a.o);g.Oa(c,{state:a.F});c=new XQ(a.o.videoData,a.o.o,b,c);c.rh=a.o.A();a.o.videoData.Da||(c.aa=a.o.D());if(a.o.videoData.oa){var d=iM(a.o.videoData.oa,c.rh);d&&(c.Y=d-c.rh)}c.Sa=g.xQ(a.o);c.segments=[vQ(a.o)];return c};
voa=function(a,b){var c=dR(a,"watchtime");c.segments=b;c.rh=a.C.o;return c};
woa=function(a){a.C.update();return voa(a,aoa(a.C))};
yoa=function(a){a.o.videoData.remarketingUrl&&!a.Y&&(eR(a,a.o.videoData.remarketingUrl),a.Y=!0);a.o.videoData.youtubeRemarketingUrl&&!a.aa&&(eR(a,a.o.videoData.youtubeRemarketingUrl),a.aa=!0);a.o.videoData.googleRemarketingUrl&&!a.W&&(eR(a,a.o.videoData.googleRemarketingUrl),a.W=!0);a.o.videoData.ppvRemarketingUrl&&!a.P&&(eR(a,a.o.videoData.ppvRemarketingUrl),a.P=!0);xoa(a)};
zoa=function(a){a.D=g.pF((0,g.B)(a.Er,a,"heartbeat"),3E4)};
xoa=function(a){a.o.videoData.xd.eventLabel=VP(a.o.videoData);a.o.videoData.xd.playerStyle=a.o.o.playerStyle;a.o.videoData.jr&&(a.o.videoData.xd.feature="pyv");a.o.videoData.xd.vid=a.o.videoData.videoId;var b=a.o.videoData.xd;a=a.o.videoData;a=a.isAd()||!!a.jr;b.isAd=a};
eR=function(a,b,c){a.o.o.za&&a.o.videoData.visitorData&&PF(b)?g.cG(b,{Gd:c,headers:{"X-Goog-Visitor-Id":a.o.videoData.visitorData}}):g.yG(b,c)};
fR=function(a,b){pQ.call(this,a,b);this.o=!1;qQ(this,"getPresentingPlayerType",this.getPresentingPlayerType);qQ(this,"addInfoCardXml",this.addInfoCardXml);qQ(this,"cueVideoByPlayerVars",this.cueVideoByPlayerVars);qQ(this,"loadVideoByPlayerVars",this.loadVideoByPlayerVars);qQ(this,"preloadVideoByPlayerVars",this.preloadVideoByPlayerVars);qQ(this,"seekBy",this.seekBy);qQ(this,"updatePlaylist",this.updatePlaylist);qQ(this,"updateLastActiveTime",this.updateLastActiveTime);qQ(this,"updateVideoData",this.updateVideoData);
qQ(this,"canPlayType",this.canPlayType);qQ(this,"sendVideoStatsEngageEvent",this.sendVideoStatsEngageEvent);qQ(this,"setCardsVisible",this.setCardsVisible);qQ(this,"setAutonav",this.setAutonav);qQ(this,"setAutonavState",this.setAutonavState);qQ(this,"showControls",this.showControls);qQ(this,"hideControls",this.hideControls);qQ(this,"setSafetyMode",this.setSafetyMode);qQ(this,"cancelPlayback",this.cancelPlayback);qQ(this,"isFastLoad",this.isFastLoad);qQ(this,"isInline",this.isInline);qQ(this,"isAtLiveHead",
this.isAtLiveHead);qQ(this,"setInline",this.setInline);qQ(this,"getVideoAspectRatio",this.getVideoAspectRatio);qQ(this,"getPreferredQuality",this.getPreferredQuality);qQ(this,"setPlaybackQualityRange",this.setPlaybackQualityRange);qQ(this,"onAdUxClicked",this.onAdUxClicked);qQ(this,"getPlayerResponse",this.getPlayerResponse);qQ(this,"getStoryboardFormat",this.getStoryboardFormat);qQ(this,"getStoryboardFrame",this.getStoryboardFrame);qQ(this,"getStoryboardFrameIndex",this.getStoryboardFrameIndex);
qQ(this,"getStoryboardLevel",this.getStoryboardLevel);qQ(this,"getNumberOfStoryboardLevels",this.getNumberOfStoryboardLevels);qQ(this,"getProgressState",this.getProgressState);qQ(this,"getAudioTrack",this.xK);qQ(this,"setAudioTrack",this.setAudioTrack);qQ(this,"getAvailableAudioTracks",this.yK);qQ(this,"getMaxPlaybackQuality",this.getMaxPlaybackQuality);qQ(this,"getUserPlaybackQualityPreference",this.getUserPlaybackQualityPreference);qQ(this,"setUserEngagement",this.setUserEngagement);qQ(this,"getVideoContentRect",
this.getVideoContentRect);qQ(this,"updateSubtitlesUserSettings",this.updateSubtitlesUserSettings);qQ(this,"getSubtitlesUserSettings",this.getSubtitlesUserSettings);qQ(this,"resetSubtitlesUserSettings",this.resetSubtitlesUserSettings);qQ(this,"setMinimized",this.setMinimized);qQ(this,"setBlackout",this.setBlackout);qQ(this,"getVisibilityState",this.getVisibilityState);qQ(this,"setFauxFullscreen",this.setFauxFullscreen);qQ(this,"toggleFullscreen",this.toggleFullscreen);qQ(this,"getVideoStats",this.getVideoStats);
qQ(this,"getPlayerSize",this.getPlayerSize);qQ(this,"isMutedByMutedAutoplay",this.isMutedByMutedAutoplay);qQ(this,"setUseFastSizingOnWatch",this.setUseFastSizingOnWatch);qQ(this,"setInternalSize",this.setInternalSize);qQ(this,"getHousebrandProperties",this.getHousebrandProperties);qQ(this,"getCurrentPlaylistSequence",this.getCurrentPlaylistSequence);qQ(this,"getPlaylistSequenceForTime",this.getPlaylistSequenceForTime);qQ(this,"getCurrentBroadcastId",this.getCurrentBroadcastId);qQ(this,"handleGlobalKeyDown",
this.handleGlobalKeyDown);qQ(this,"handleGlobalKeyUp",this.handleGlobalKeyUp);qQ(this,"setSizeStyle",this.setSizeStyle);qQ(this,"forceFrescaUpdate",this.forceFrescaUpdate);qQ(this,"shouldSendVisibilityState",this.shouldSendVisibilityState);qQ(this,"setGlobalCrop",this.setGlobalCrop);qQ(this,"wakeUpControls",this.wakeUpControls);qQ(this,"updateFullerscreenEduButtonVisibility",this.updateFullerscreenEduButtonVisibility);qQ(this,"updateFullerscreenEduButtonSubtleModeState",this.updateFullerscreenEduButtonSubtleModeState)};
Aoa=function(a){a=(a=Wna(a.app.B))?a.en:null;return a?(a=a.JB())?a.L:null:null};
gR=function(a,b){fR.call(this,a,b)};
hR=function(a,b){this.C=a;this.o=b||null;this.A=!1};
Boa=function(a,b,c){var d=g.dO(b.ib)&&b.ib.Nd&&XP(b);if(b.ib.Fc&&($N(b.ib)||g.BO(b.ib)||d)&&!a.A){a.A=!0;g.fF("TIMING_ACTION")||eF("TIMING_ACTION",a.C.ce);a.C.Ra&&eF("CSI_SERVICE_NAME",a.C.Ra);if(a.o){b=a.o.ea;for(var e in b)(0,g.JP)(e,b[e],"");e=a.o.ba;for(var f in e)(0,g.iR)(f,e[f],"");f=a.o;f.ea={};f.ba={}}(0,g.iR)("yt_pvis",Zma(),"");(0,g.iR)("yt_pt","html5","");c&&!uP("pbs","")&&(0,g.JP)("pbs",c,"");a=a.C;!g.BO(a)&&!$N(a)&&uP("_start","")&&wP("")}};
g.jR=function(a,b,c){g.L.call(this);this.start=a;this.end=b;this.C=Coa++;a=c||{};this.Ja=a.id||"";this.B=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.o=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(d){return(0,g.Fj)(d.thumbnails,function(e){return g.yK(e.url)})}):null;
this.visible=this.visible;this.style=this.style;this.start=this.start};
Doa=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
Eoa=function(a,b){switch(a.style){case "ytp-chapter-marker":return b?8:5;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.kR=function(a,b){return a.start-b.start||a.B-b.B||a.C-b.C};
g.lR=function(a){return"crn_"+a};
g.mR=function(a,b){this.type=a||"";this.id=b||""};
g.oR=function(a,b){g.vH.call(this);this.ib=a;this.startSeconds=0;this.lG=!1;this.Ib=0;this.title="";this.Mh=0;this.Qa=[];this.gg=this.oc=!1;this.Id=this.iB=this.Mn=null;var c=b.session_data;c&&(this.Id=g.HF(c));this.views=0;this.LJ=0!=b.fetch;this.me=[];this.Ib=Math.max(0,b.index||0);this.loop=!!b.loop;this.startSeconds=parseInt(b.startSeconds,10)||0;this.VP="1"==b.mob;this.title=b.playlist_title||"";this.description=b.playlist_description||"";this.author=b.author||b.playlist_author||"";this.ci={};
b.video_id&&(this.Qa[this.Ib]=b);if(c=b.api)"string"==typeof c&&16==c.length?b.list="PL"+c:b.playlist=c;this.kq=0;if(c=b.list)switch(b.listType){case "user_uploads":this.gg||(this.listId=new g.mR("UU","PLAYER_"+c),nR(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:c}));break;case "user_favorites":this.gg||(this.listId=new g.mR("FL","PLAYER_"+c),nR(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:c}));break;case "search":Foa(this,c);break;default:var d=
b.playlist_length;d&&(this.Mh=parseInt(d,0));this.listId=new g.mR(c.substr(0,2),c.substr(2));(c=b.video)?(this.Qa=c.slice(0),this.oc=!0):Goa(this)}else b.playlist&&(c=b.playlist.toString().split(","),0<this.Ib&&(this.Qa=[]),c.forEach(function(e){e&&this.Qa.push({video_id:e})},this),this.Mh=this.Qa.length,c=this.Qa.map(function(e){return e.video_id}),nR(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:c.join(",")}),this.oc=!0);
this.setShuffle(!!b.shuffle);if(c=b.suggestedQuality)this.quality=c;this.ci=zma(b,"playlist_");this.uG=(c=b.thumbnail_ids)?c.split(","):[]};
pR=function(a){return!!(a.playlist||a.list||a.api)};
Hoa=function(a){var b=a.Ib+1;return b>=a.Mh?0:b};
Ioa=function(a){var b=a.Ib-1;return 0>b?a.Mh-1:b};
qR=function(a,b){a.Ib=g.Jd(b,0,a.Mh-1);a.startSeconds=0};
Foa=function(a,b){if(!a.gg){a.listId=new g.mR("SR",b);var c={search_query:b};a.VP&&(c.mob="1");nR(a,"/search_ajax?style=json&embeddable=1",c)}};
Goa=function(a){if(!a.gg){var b=b||a.listId;b={list:b};var c=a.Aa();c&&c.videoId&&(b.v=c.videoId);nR(a,"/list_ajax?style=json&action_get_list=1",b)}};
nR=function(a,b,c){a.LJ&&g.cG(g.zh(b,c),{format:"JSON",onSuccess:(0,g.B)(function(d,e){rR(this,e)},a),
onError:(0,g.B)(function(){this.U("error")},a)})};
rR=function(a,b){if(b.video&&b.video.length){a.title=b.title;a.description=b.description;a.views=b.views;a.author=b.author;var c=b.loop;c&&(a.loop=c);c=a.Aa();a.Qa=[];b.video.forEach(function(e){e&&(e.video_id=e.encrypted_id,this.Qa.push(e))},a);
a.Mh=a.Qa.length;var d=b.index;d?a.Ib=d:a.qm(c);a.setShuffle(!1);a.gg=!1;a.oc=!0;a.kq++;a.Mn&&a.Mn()}};
g.sR=function(a){g.yQ.call(this);this.o=a;this.A={}};
tR=function(a,b){this.o=a;this.A=null;this.B=[];this.Bb=!1;this.C=b};
g.uR=function(a){if(!a.A){var b=a.C.sa();a.A=a.o.createMediaElementSource(b)}return a.A};
g.vR=function(a){for(var b;0<a.B.length;)b=a.B.pop(),b.disconnect();a.A&&a.A.disconnect()};
wR=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
Joa=function(){this.o=this.A=0;this.C=[]};
Koa=function(a,b,c){0==c&&(a.A=0,a.o=0,a.C.length=0);if(!(isNaN(a.A)||8>b.length)){c=new DataView(b.buffer,b.byteOffset);for(var d=!1;!d;)if(a.A==a.o)a:{var e;d=a;var f=b.length;if(d.A+7>=f){for(e=d.A;e<f;e++)d.C.push(c.getUint8(e));d=!0}else{if(0<d.C.length){for(e=0;8>d.C.length;e++)d.C.push(c.getUint8(e));var k=xR(d.C,0);e=xR(d.C,4);d.C.length=0}else k=c.getUint32(d.o),e=c.getUint32(d.o+4);if(1836019558==e||1836019574==e||1718909296==e||1936286840==e||1701671783==e||1937013104==e||1936419184==e)d.A+=
k,d.o=d.A;else if(1835295092==e)d.A+=k,d.o+=8;else{d.A=NaN;d=!0;break a}d=d.o>=f}}else a:if(d=a,f=b.length,d.o+5>=f){for(e=d.o;e<f;e++)d.C.push(c.getUint8(e));d=!0}else{if(0<d.C.length){for(e=0;6>d.C.length;e++)d.C.push(c.getUint8(e));e=xR(d.C,0);12==e&&6==d.C[4]&&45==d.C[5]&&c.setUint8(d.o+5,63);d.o+=e+4;d.C.length=0}for(;d.o<d.A&&d.o+5<f;){e=c.getUint32(d.o);if(0>=e){d.A=NaN;d=!0;break a}12==e&&6==c.getUint8(d.o+4)&&45==c.getUint8(d.o+5)&&c.setUint8(d.o+5,63);d.o+=e+4}d=d.o>=f}isNaN(a.A)||(a.A-=
b.length,a.o-=b.length)}};
xR=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
zR=function(a,b){this.P=a;this.aa=b;this.o=new yR(0,0,null);this.B=8;this.C=[];this.G=[];this.D=this.J=NaN;this.W=this.A=this.K=0;this.F=NaN;this.Y=0;this.M=!1;this.H=null;this.L=0};
AR=function(a){return{startTime:a.F/a.A,duration:a.W/a.A}};
Loa=function(a){a.F=NaN;a.W=0;a.H=null;a.L=0};
BR=function(a){return!isNaN(a.D)&&a.A?a.D/a.A:a.Y};
CR=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.o=new yR(b,d,a.o);return 8};
DR=function(a){a.A&&!isNaN(a.J)&&(a.D=Math.floor(a.J*a.A),a.J=NaN)};
Moa=function(a){return 0==a.o.type||1836019574==a.o.type||1952867444==a.o.type||1936286840==a.o.type||1953653094==a.o.type||1836019558==a.o.type||1836476516==a.o.type};
Noa=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.C.push(b.getUint8(d));0<c&&a.G.push(new DataView(b.buffer,b.byteOffset,c))};
ER=function(a,b,c){return new TI(b,c,a.o.size,a.o.type,!0)};
yR=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=this.version=0};
Ooa=function(a,b){this.G=a;this.D=b;this.F=a.WM;this.B=new Uint8Array(this.F);this.C=this.A=0;this.o=null;this.H=[];this.J=this.K=null};
Roa=function(a,b){if(1==b.info.type)a.K=TJ(0,b.range.length);else if(2==b.info.type){if(!a.o||1!=a.o.type)return;a.J=TJ(a.C*a.F+a.A,b.range.length)}else if(3==b.info.type){if(3==a.o.type&&!XJ(a.o,b.info)&&(a.H=[],b.info.A!=a.o.A+(a.o.B?1:0)||0!=b.info.C))return;if(b.info.B)a.H.map(function(c){return Poa(a,c)}),a.H=[];
else{a.H.push(b);a.o=b.info;return}}Poa(a,b);a.o=b.info;Qoa(a)};
Poa=function(a,b){for(var c=0;c<b.range.length;){var d=Math.min(b.range.length-c,a.B.byteLength-a.A),e=new Uint8Array(b.buffer,b.range.start+c,d);a.B.set(e,a.A);a.A+=d;c+=d;a.A==a.B.length&&(kma(a.G.G,a.D.info,a.C,a.B),a.B=new Uint8Array(a.F),a.A=0,a.C+=1)}};
Qoa=function(a){if(a.o&&a.o.H){if(a.A){var b=new Uint8Array(a.B.buffer,0,a.A);kma(a.G.G,a.o.o.info,a.C,b)}b=g.hc(a.D.K);b.url="local://localhost/videoplayback?"+IF({lmt:a.D.lastModified,docid:a.G.G,fmtid:a.D.info.id,csz:a.F,clen:a.C*a.F+a.A});b.lmt=""+a.D.lastModified;b.init=a.K.toString();b.index=a.J.toString();b=IF(b);lma(a.G.G,!!a.D.info.video,b)}};
Soa=function(a){for(var b=new Uint8Array(0),c=new DataView(a.buffer,a.byteOffset,a.length),d=0;d<a.length-8;){var e=c.getUint32(d);if(1>=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b};
Toa=function(a){a=wJ(a,1886614376);(0,g.E)(a,function(b){return!b.A});
return(0,g.K)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})};
Uoa=function(a){var b=(0,g.Gj)(a,function(e,f){return e+f.length},0),c=new Uint8Array(b),d=0;
(0,g.E)(a,function(e){c.set(e,d);d+=e.length});
return c};
FR=function(a){return g.Me(a,!0).replace(/[\.]{1,2}$/,"")};
Woa=function(a,b,c,d){var e=this;this.A=a;a=SJ(this.A.get("range")||"");if(!a)throw Error("bad range");this.B=a;this.D=c;this.status=0;this.response=null;this.o=[];this.oc=0;this.C="";Voa(this).then(d,function(f){e.C=""+f||"unknown_err";d()});
b()};
Voa=function(a){var b,c,d,e,f,k,l,m,n,p,q,u,w;return xa(function(D){if(1==D.o){a.status=200;b=a.A.get("docid");c=a.A.get("fmtid");d=+a.A.get("csz");if(!b||!c||!d)throw Error("Invalid local URL");e=a.B;f=Math.floor(e.start/d);k=Math.floor(e.end/d);l=f}if(5!=D.o)return l<=k?D=ua(D,oma(b,c,l),5):(D.o=0,D=void 0),D;m=D.D;n=l*d;p=(l+1)*d;q=Math.max(0,e.start-n);u=Math.min(e.end+1,p)-(q+n);w=new Uint8Array(m.buffer,q,u);a.o.push(w);a.oc+=u;a.oc<e.length&&a.D((0,g.J)(),a.oc);l++;D.o=2})};
Xoa=function(a,b){this.A=a;this.F=this.D=!1;this.length=b?b:0;this.C=0;this.o=[];this.B=null;this.length?1!=this.A.length||this.A[0].fb||(this.A[0].fb=this.length):1==this.A.length||(0,g.Fj)(this.A,function(c){return!!c.range})};
Yoa=function(a){var b=a.length-a.C;(0,g.E)(a.o,function(c){b+=c.range.length});
return b};
Zoa=function(a,b){this.A=a;this.o=b};
$oa=function(a,b){if(0>b)return!0;var c=a.o.Nb();return b<c||b==c&&!a.A.W||b==c&&(c=zL(a.o))&&b==c.Wb?!0:!1};
apa=function(a,b,c){if(!$oa(a,b))return 0;if(!a.A.o||!isNaN(c)&&0<c)return 2;if(0>b)return 1;c=a.o.Nb();return b<c||b==c&&(a=zL(a.o))&&b==a.Wb&&!a.o?2:1};
bpa=function(a,b,c,d){if($oa(a,b))return d;b=0;a.A.o&&(b=.2);return c+1E3*(a.o.o+b)};
cpa=function(a,b,c,d,e){b=apa(a,b,e);if(2==b)return d;c=b?d:c+1E3*a.o.o;a.A.o&&(c+=1E3*a.o.o);return c};
dpa=function(a){this.F=a;this.B=NaN;this.D=[];this.C=this.o=this.A=0};
epa=function(a,b,c,d,e){this.ya=null;this.A=a;this.xa=b;this.za=c;this.M=d;this.G=e;this.ea=this.o=NaN;this.ua=0;this.Y=this.ha=this.C=this.F=NaN;this.ka=this.ia=this.B=!1;this.D=0;this.ga=IN(this.A);this.ba=NaN;this.L=this.J=Infinity;this.W=NaN;this.ma=!1;this.K=this.P=NaN;this.H=this.aa=null};
fpa=function(a){return{rt:((0,g.J)()-a.o).toFixed(),lb:a.C.toFixed(),pt:(1E3*a.ba).toFixed(),pb:a.xa.toFixed(),stall:(1E3*a.D).toFixed(),elbowTime:(a.ea-a.o).toFixed(),elbowBytes:a.ua.toFixed()}};
GR=function(a){a.K||(a.K=a.ya(),3==a.K&&(a.aa=new dpa(a.A)));return a.K};
hpa=function(a,b,c,d){var e=(b-a.F)/1E3,f=c-a.C,k=GR(a);if(3==k&&f){var l=a.aa;l.D.push({oq:f,Vx:isNaN(l.B)?NaN:d-l.B,M4:d});l.B=d}a.B?1==k&&0<f&&(.2<e||1024>f?(a.D+=e,.2<e&&JR(a,.05,f)):JR(a,e,f),a.ka=!0):HR(a,c)&&(1==k&&(d=(b-a.o)/1E3,gpa(a)||IR(a)||(k=a.A,k.G.A(1,d),CN(k))),a.ea=b,a.ua=c,a.B=!0);IR(a)||FN(a.A,e,f);a.F=b;a.C=c};
JR=function(a,b,c){if(!IR(a)){b=Math.max(b,.05);a=a.A;var d=void 0;a.o.A(void 0===d?b:d,c/b);a.C=g.PH()}};
LR=function(a,b,c){c=Math.round(c/1024);a.H&&a.H.push(KR(b-a.ha,c-a.Y));a.ha=b;a.Y=c};
HR=function(a,b){return b?a.G&&1!=GR(a)?!0:b>=a.A.policy.B:!1};
MR=function(a){return HR(a,a.C)};
ipa=function(a){a.W=a.o+1E3*a.ga.delay;a.ma=!1};
NR=function(a,b){var c=a.M.o[0].A;a.J=Math.min(a.J,bpa(a.G,c,a.o,b));a.L=Math.min(a.L,cpa(a.G,c,a.o,b,a.M.C));a.J<=a.o?ipa(a):(a.W=a.J,a.ma=!0)};
gpa=function(a){a.G&&NR(a,(0,g.J)());return a.ma};
jpa=function(a,b){b=void 0===b?(0,g.J)():b;if(a.G){NR(a,b);var c=a.K?a.G?1!=GR(a):!1:a.J!=a.L;if(c){if(c=a.L,b<c){a.P=a.L;return}}else c=a.J;c=Math.max(c,a.W)}else c=a.W;var d=a.xa-a.C;0>d&&a.A.policy.F&&(d=0);d=1E3*(d*a.ga.stall+d/a.ga.byterate);d=MR(a)?d+b:d+Math.max(b,c);a.P=d};
IR=function(a){return IK(a.M.A.A)};
KR=function(a,b){for(var c="";4095<a;)c+=KR(4095,0),a-=4095;for(;4095<b;)c+=KR(a,4095),b-=4095,a=0;return c+("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))};
lpa=function(a,b,c,d,e,f){this.status=0;this.L=this.response=null;this.Y=d;this.P=c;this.aa=e;this.D=f;this.B=[];this.C=null;this.A=this.o=0;this.Ja=kpa++;this.F=null;this.G=this.D.Ej&&window.AbortController?new AbortController:null;c={method:"GET",credentials:"include"};this.G&&(c.signal=this.G.signal);a=new Request(a,c);fetch(a).then(iF((0,g.B)(this.cV,this)),iF((0,g.B)(this.pD,this)));(0,g.J)();this.W=this.H=this.J=this.K=!1;this.M="";b()};
npa=function(a,b){a.A+=b.length;var c=b.length;var d=OR(a)?1:Math.max(PR(a)/2,16384);c=c>=d;d=b.length+a.o>PR(a);a.W?((c||d)&&0!==a.o&&QR(a),c?a.B.push(b):mpa(a,b)):(mpa(a,b),a.A>=(OR(a)?1:16384)&&QR(a))};
QR=function(a){a.W=!0;a.B.push(a.C.subarray(0,a.o));a.o=0;a.C=a.K?null:new Uint8Array(PR(a))};
mpa=function(a,b){if(b.length+a.o>PR(a)){var c=new Uint8Array(a.o+b.length);c.set(a.C,0);a.C=c}a.C.set(b,a.o);a.o+=b.length};
opa=function(a){a.F.read().then(iF((0,g.B)(a.OQ,a)),iF((0,g.B)(a.pD,a)));(0,g.J)()};
SR=function(a){if(!a.H){a.K=!0;if(RR(a)&&!a.B.length&&!a.o&&!a.J&&a.A){uL(a);if(!a.C||8>a.C.length)a.C=new Uint8Array(8);var b=new DataView(a.C.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.o=8;a.A+=8}a.Y()}};
OR=function(a){return a.D.Pb&&a.D.o&&uL(a)};
RR=function(a){return a.D.Ag&&a.D.o&&uL(a)};
PR=function(a){a=a.wm()||0;return Math.max(16384,.125*a)};
ppa=function(a,b,c,d,e){this.status=0;this.response=null;this.A=this.B=!1;this.C=NaN;this.o=new XMLHttpRequest;this.o.open("GET",a);this.o.responseType="arraybuffer";this.o.withCredentials=!0;this.o.onreadystatechange=(0,g.B)(this.hO,this);this.D=d;this.G=c;this.F=e;a=iF((0,g.B)(this.fO,this));this.o.addEventListener("load",a,!1);this.o.addEventListener("error",a,!1);this.o.send();b();this.o.addEventListener("progress",iF((0,g.B)(this.gO,this)),!1)};
TR=function(a,b,c,d){this.C=a;this.info=b;this.timing=c;this.Y=d;this.state=1;this.o=this.aa=null;this.H=this.G=0;this.P=new g.V(this.jV,a.L,this);this.D=this.B=this.J=null;this.F=0;this.M=this.A=null;this.W=0;this.ba=this.L=!1;this.K=this.C.Ia&&(YK(this.info)||XK(this.info))};
qpa=function(a,b){a.J=b};
UR=function(a){return a.B?HK(a.B.o):""};
VR=function(a){var b=fpa(a.timing);b.shost=UR(a);b.rn=a.G.toString();a.F&&(b.rc=a.F.toString());b.itag=""+aK(a.info.o[0].o.info);b.ml=""+ +a.info.o[0].o.Wc();b.sq=""+a.info.o[0].A;410!=a.F&&500!=a.F&&503!=a.F||(b.fmt_unav="true");a.o&&a.o.Hq()&&(b.msg=a.o.Hq());return b};
WR=function(a){UR(a);return rK(a.Y,UR(a))};
ZR=function(a){if("net.timeout"==a.D){var b=a.timing,c=(0,g.J)();if(!IR(b)){c=c>b.o&&4E12>c?c:(0,g.J)();LR(b,c,1024*b.Y);var d=(c-b.o)/1E3;if(2!=GR(b))if(MR(b))b.D+=(c-b.F)/1E3,DN(b.A,b.C,b.D);else{if(!gpa(b)&&!IR(b)){var e=b.A;e.G.A(1,d);CN(e)}b.ea=c}e=b.A;var f=b.ba,k=XK(b.M);e.F.A(d,b.C/d);e.C=g.PH();k||e.A.A(1,d-f);FN(b.A,(c-b.F)/1E3,0)}}else(0,g.J)();"net.nocontent"!=a.D&&("net.timeout"==a.D||"net.connect"==a.D?(b=WR(a),b.A+=1):(b=WR(a),b.o+=1),a.info.A.o++);YR(a,7)};
rpa=function(a){if(1==a.state)return!0;a=WR(a);return 100>a.A&&6>a.o};
YR=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.B&&(c.B=!1)}a.J&&a.J(a)};
spa=function(a,b){if(b){var c=WR(a);c.B+=1}$R(a);a.D="net.timeout";ZR(a)};
aS=function(a){return(0,g.Fj)(a.info.o,function(b){return 3==b.type})};
$R=function(a){if(a.o){var b=a.o;a.o=null;b.abort()}a=a.timing;a.B&&(a.B=!1)};
tpa=function(a){var b=a.o.Xd("content-type"),c=a.o.wm();(b=(!bS(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&bS(a)&&OR(a.o);return b};
upa=function(a,b){var c=(0,g.B)(a.IU,a),d=(0,g.B)(a.LU,a),e=(0,g.B)(a.KU,a),f=(0,g.B)(a.JU,a);return IK(a.B.o)?new Woa(a.B,d,e,c):a.C.B&&(a.C.Az&&!isNaN(a.info.C)&&a.info.C>a.C.ZG?0:tL()&&aS(a))?new lpa(b,d,e,c,f,a.C):new ppa(b,d,e,c,f)};
bS=function(a){return a.o?a.o.Tx():!1};
cS=function(a){return 2<=a.state&&!!a.A&&!!a.A.o.length};
vpa=function(a,b){if(b||bS(a)&&!tpa(a)){if(!a.A){if(bS(a))a.info.range&&(c=a.info.range.length);else var c=a.o.ln();a.A=new Xoa(a.info.o,c)}for(;a.o.Jh();){c=a.A;for(var d=a.o.Nx(),e=b&&!a.o.Jh(),f=0,k=0,l=g.r(c.A),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.fb<=c.C)f+=m.fb;else{var n=c,p=m;if(1==p.type){n.D=!0;var q=!1}else 3==p.type||4==p.type?(p=n.D&&!n.F,n.F=!0,q=p):q=!1;n=c;var u=c.C-f,w=k;p=d;q=q||m.o.gD();var D=p.length-w;m.range&&(D=Math.min(m.fb-u,D));u=bK(m,m.C+u,D,m.range?m.C+
u+D==m.range.length:!!e);var F=TJ(p.byteOffset,p.length);w=TJ(p.byteOffset+w,D);n.o.push(new eK(u,p.buffer,w,F,q));n=D;c.C+=n;k+=n;f+=m.fb;if(k==d.length)break}}}};
wpa=function(a){return a.A&&a.A.length?Yoa(a.A):$K(a.info)};
xpa=function(a){if(!a.C.o||!isNaN(a.info.C)&&0<a.info.C)return!1;if(!a.o||!a.o.gk())return!0;if(!uL(a.o))return!1;if(isNaN(a.info.C)){var b=a.o.Xd("x-head-seqnum");if(b&&parseInt(b,10)>a.info.o[0].A)return!1}return!0};
ypa=function(a,b,c){g.vH.call(this);this.F=0;this.C=a;this.o=[];this.B=null;this.K=b;this.ka=c;this.D=this.G=NaN;this.Y=null;this.ma=(0,g.B)(function(d){this.C.qz&&(this.U("timestamprewrite",d),this.C.qz=!1)},this);
this.W=this.A=null;this.ea="constructor";this.L=NaN;this.ia=this.M=this.aa=null;this.P=!1;this.J=this.H=null;this.C.G&&(this.J=new Ooa(this.C,this.K));this.ba=null;this.C.J&&(this.A=new zR(this.C,this.ka));this.C.sd&&this.C.wg&&(this.ba=new Joa);this.ga=!1};
dS=function(a){return a.o.length?a.o[0]:null};
eS=function(a){return a.o.length?a.o[a.o.length-1]:null};
Apa=function(a,b,c){b=zpa(a,b,c);(0,g.E)(b,function(d){a.o.push(d);a.J&&Roa(a.J,d)});
return b.length};
Dpa=function(a,b){try{if(1==b.info.type){var c=fK(b);kL(b.info.o.info)&&!lL(b.info.o.info)&&(EJ(new xJ(c)),DJ([408125543,374648427,174,224],21936,c));if(!a.C.nz&&lL(b.info.o.info)&&"bt2020"==b.info.o.info.Aa().primaries){var d=new xJ(c);if(zJ(d,[408125543,374648427,174,224,21936,21937])){var e=d.C+d.o;129==c.getUint8(e)&&1==c.getUint8(e+1)&&c.setUint8(e+1,9)}}b.info.o.info.video&&rL(b.info.o,c);2==b.info.o.info.containerType&&b.info.o.info.video&&FJ(c);Bpa(a,b)&&(nK(b),oK(b));if(a.C.wp&&a.K.info.audio&&
g.iK(b.info.o.info)){var f=fK(b),k=g.kJ(f,0,1701606260),l=g.kJ(f,0,1836476516);if(k&&l){k.skip(2);var m=VI(k),n=XI(k);c=[];d=[];e=[];f=[];if(m)for(m=0;m<n;++m)c.push(YI(k)),d.push(YI(k)),e.push(VI(k)),f.push(VI(k));else for(m=0;m<n;++m)c.push(WI(k)),d.push(WI(k)),e.push(VI(k)),f.push(VI(k));var p=c;var q=d;var u=lJ(l);var w=new rka(q[0]/u,p[0]/u)}else w=null;if(p=w){a.ga=!0;if(g.iK(b.info.o.info))for(var D=fK(b),F=g.kJ(D,0,1701082227);F;)q=F,q.type=1936419184,q.data.setUint32(q.offset+4,1936419184),
F=g.kJ(D,F.offset+F.size,1701082227);a.U("gaplessinfo",p)}}}b.info.o.Qp(b);Cpa(a,b)}catch(I){g.hF(I),D=ZJ(b.info),D.hms="1",fS(a,D)}a.J&&Roa(a.J,b)};
Epa=function(a){if(!a.o.length)return 0;for(var b=a.o[0].C.length,c=1;c<a.o.length;c++)a.o[c].buffer!=a.o[c-1].buffer&&(b+=a.o[c].C.length);a.B&&(b+=a.B.C.length);return b};
gS=function(a){return(0,g.K)(a.o,function(b){return b.info})};
Fpa=function(a,b,c){isNaN(a.L)||a.L==b.G||hS(a,b,null,"Mismatch get",c);return a.W};
iS=function(a,b,c,d){isNaN(a.L)||a.L==b.G||hS(a,b,c,"Mismatch set",d);var e=c?c.o:null;e&&a.W&&hS(a,b,c,"Duplicated set",d);a.W=e;a.ea=d;a.L=e?b.G:NaN;a.aa=c&&c.info.range?c.info.range:null};
hS=function(a,b,c,d,e){if(a.C.Ap){var f=a.W?a.W.A:NaN,k=a.aa?a.aa.toString():"null";e=d+" current emsg by "+e+"/"+(c?c.o?c.o.A:-999:NaN)+"/"+(c&&c.range?c.range.toString():"null")+"/"+wpa(b)+"/"+(b.o?b.o.ln():NaN)+"; previously "+a.ea+"/"+f+"/"+a.L+"/"+k;a.U("warning",b,c?c.info:null,e);"noemsg"===d&&c&&(e=fK(c),d=e.byteLength,e=64>d?Ie(new Uint8Array(e.buffer,e.byteOffset)):Ie(new Uint8Array(e.buffer,e.byteOffset,32))+"..."+Ie(new Uint8Array(e.buffer,e.byteOffset+d-32)),a.U("warning",b,null,"slicedata "+
c.info.o.info.containerType+" "+d+" "+e))}};
jS=function(a,b){a.P=!1;a.H&&!a.C.td&&a.U("placeholderrollback",a.H);a.H=null;if(a.A){var c=isNaN(a.D)?b.info.o[0].range?b.info.o[0].G:isNaN(a.A.F)?BR(a.A):AR(a.A).startTime:a.D;a.A.reset();a.M=a.ia;a.D=c}iS(a,b,null,"rollbackRequest")};
Gpa=function(a){return a.A?BR(a.A):a.G||0};
zpa=function(a,b,c){var d={};if(!c.verify(d)||c.info.o.Kv())d=Object.assign(d,ZJ(c.info)),d.verification="1",fS(a,d);c.A&&c.info.o.info.video&&rL(c.info.o,fK(c));c.info.B&&(a.ia=c.info);a.ba&&c.info.o.info.video&&g.iK(c.info.o.info)&&(d=fK(c),Koa(a.ba,new Uint8Array(d.buffer,d.byteOffset,d.byteLength),c.info.C));if(!a.K.Nf()){(d=Fpa(a,b,"get"))&&cK(c.info,d);!a.M||(a.C.Bo?XJ(a.M,c.info,!0):YJ(a.M,c.info))||(a.A&&a.A.reset(),a.G=NaN,a.F=0);a.M=c.info;if(a.A)b:{var e;(e=!isNaN(a.D))||(e=a.A,e=!(!isNaN(e.D)||
!isNaN(e.J)));e&&(e=a.A,e.J=isNaN(a.D)?isNaN(a.G)?c.info.startTime:a.G:a.D,DR(e),a.D=NaN);e=fK(c);e=a.A.process(e);if(d=c.info.B)d=a.A,d=!(0==d.o.type&&!d.C.length);d&&!a.C.Do&&(d=ZJ(c.info),d.partialbox="1",fS(a,d));var f=b.timing;d=!!c.info.C&&1936286840!=e&&!(a.C.Ag&&1936419184==e);var k=c.info.B;if(3==GR(f)&&(e=f.aa,e.D.length)){f=e.D.shift();var l=f.Vx;d||(f.oq-=Math.min(f.oq,1500),f.Vx=0);e.A+=f.oq;e.o+=f.Vx;e.C+=isNaN(l)?0:l;k&&(0>=e.o||(d=e.F,k=e.o/1E3,f=e.C/1E3,d.o.A(void 0===f?k:f,e.A/k),
d.C=g.PH()),e.o=0,e.A=0,e.C=0)}if(a.C.Oz&&a.C.o){if(!a.A.M&&!c.info.B){c=null;break b}}else if(isNaN(a.A.F)){c=null;break b}e=a.A;f=c.info.o.info;if(e.G.length){e.M=!1;d=0;l=g.r(e.G);for(k=l.next();!k.done;k=l.next())d+=k.value.byteLength;if(!e.H||e.H.length-e.L<d)e.H=new Uint8Array(Math.max(d,e.P.Qq+Math.round(f.o*e.P.hq))),e.L=0;l=f=e.L;var m=g.r(e.G);for(k=m.next();!k.done;k=m.next())k=k.value,e.H.set(new Uint8Array(k.buffer,k.byteOffset,k.byteLength),f),f+=k.byteLength;e.G.length=0;e.L=f;e=new DataView(e.H.buffer,
l,d)}else e=null;e?(d=TJ(e.byteOffset,e.byteLength),k=TJ(0,e.buffer.byteLength),f=c.info.C+c.info.fb-a.A.C.length-e.byteLength,l=bK(c.info,f,e.byteLength,c.info.B),c=new eK(l,e.buffer,d,k,c.A&&!f)):c=null}else a.C.jb?e=a.ka(jK(c),1):e=isNaN(a.D)?isNaN(a.G)?c.info.startTime:a.G:a.D,a.D=NaN,kK(c,e)?a.G=e+lK(c):(e=ZJ(c.info),e.smst="1",fS(a,e));if(!c)return[];Bpa(a,c)&&(nK(c),oK(c),c.o&&(iS(a,b,c,"processSlice"),a.P=!!a.A,cK(c.info,c.o),cK(a.M,c.o)));-1==c.info.A&&hS(a,b,c,"ct "+c.info.o.info.containerType+
"; st "+c.info.type,"noemsg");2==c.info.o.info.containerType&&(e=fK(c),c.A&&c.info.o.info.video&&FJ(e));k=c;if(e=Fpa(a,b,"publishMediaInfo"))if(k.info.B){a.P=!1;a.H=null;a.A?(k=AR(a.A),Loa(a.A),d=k.startTime,k=k.duration):(d=jK(k),k=lK(k));k=new QI(e.A,d,k,e.ingestionTime,"sq/"+e.A,void 0,void 0,!1);a.U("segmentinfo",k);if(f=e.o["Cuepoint-Type"]?new cJ(kS?parseFloat(e.o["Cuepoint-Playhead-Time-Sec"])||0:-(parseFloat(e.o["Cuepoint-Playhead-Time-Sec"])||0),parseFloat(e.o["Cuepoint-Total-Duration-Sec"])||
0,e.o["Cuepoint-Context"],e.o["Cuepoint-Identifier"]||"",Hpa[e.o["Cuepoint-Event"]||""]||"unknown",parseFloat(e.o["Cuepoint-Playhead-Time-Sec"])||0):null)f.o+=d,a.U("cuepoint",f,e.A);e=k}else a.P&&a.A&&!isNaN(a.A.F)?(d=AR(a.A).startTime,e=new QI(e.A,d,e.H,e.ingestionTime,"sq/"+e.A,void 0,void 0,!0),a.H=e,a.U("placeholderinfo",e),a.P=!1):e=null;else e=null;d=c;if(a.C.ms)if(e)for(dK(d.info,e),d=g.r(b.info.o),k=d.next();!k.done;k=d.next())dK(k.value,e);else a.H&&dK(d.info,a.H);c.info.B&&iS(a,b,null,
"isEndOfSegment");Cpa(a,c)}b=c;if(a.C.Iz&&!a.K.Nf()&&(0==b.info.C||a.B)&&g.iK(b.info.o.info)&&3==b.info.type&&!mK(b)&&b.info.duration&&!a.C.J&&(b=c,a.F+=1E3*(lK(b)-b.info.duration),a.Y&&Math.abs(a.F-a.Y.F)>=a.C.XG))return b=c,c=(a.Y.F-a.F)/1E3,e=lK(b)+c,d=new DataView(b.buffer),d=(d=g.kJ(d,0,1936286840))?tJ(d):NaN,isNaN(d)&&(d=b.info.o.o,k=new DataView(b.buffer),d=(k=g.kJ(k,0,1836476516))?lJ(k):d?mJ(d):NaN),(d=Ipa(a,b,e*d))&&d.length&&(k=ZJ(b.info),k.fds=e.toFixed(3),k.com=a.F.toFixed(3),a.U("timestamprewrite",
k),a.G+=c,a.F+=1E3*c),d?d:lS(a,b);if(a.C.yg&&a.K.Nf()&&(0==c.info.C||a.B)&&g.iK(c.info.o.info))b=c,c=b.info.o.index.wu(b.info.A),a=(c=Ipa(a,b,c))?c:lS(a,b);else if(a.ga&&c.info.A==c.info.o.index.Nb()){b=c;if(c=Jpa(a,b)){b:if(c=g.kJ(c,0,1953658222)){e=c.A?0:8;l=WI(c);e+=4;var n=l&1;d=l&4;if(l&256){k=l&512;f=l&1024;l&=2048;m=XI(c);e+=4;n&&(WI(c),e+=4);d&&(WI(c),e+=4);for(var p=n=0;p<m-1;p++){if(0==p&&(n=WI(c),!n))break b;e+=4;k&&(e+=4);d&&0==p||!f||(e+=4);l&&(e+=4)}c.data.setUint32(c.offset+e,n)}}a.ga=
!1;c=[];a.B&&a.B!=b&&(c.push(a.B),a.B=null);c.push(b)}else c=null;a=c?c:lS(a,b)}else a=[c];return a};
Cpa=function(a,b){if(a.K.info.ad)if(2==b.info.o.info.containerType){var c=new xJ(fK(b));if(zJ(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=CJ(c,!0);c=16!=d?null:JJ(c,d)}else c=null;c&&(b.info.o.H={type:"webm",key:c})}else b.info.K=Toa(fK(b)),c=Uoa(b.info.K),0<c.length&&(b.info.o.H={type:"cenc",key:c})};
fS=function(a,b){a.U("error",b||{})};
Bpa=function(a,b){return!a.K.Nf()&&0==b.info.C&&(g.iK(b.info.o.info)||2==b.info.o.info.containerType)};
lS=function(a,b){if(a.B&&a.B!=b){var c=[a.B,b];a.B=null;return c}return[]};
Ipa=function(a,b,c){var d=Jpa(a,b);if(!d)return null;c=tka(d,c,a.ma);if(!c)return null;d=uJ(d);a.B&&(d-=a.B.range.length,a.B=null);a=hK(b,d);a[0].buffer=c;a[0].range=TJ(0,c.byteLength);a[0].C=TJ(0,c.byteLength);b=a[0];c=new DataView(c);c=!!iJ(c,0,1836019574);b.A=c;return a};
Jpa=function(a,b){if(a.B){var c=a.B,d=new Uint8Array(c.range.length+b.range.length);d.set(new Uint8Array(c.buffer,c.range.start,c.range.length));d.set(new Uint8Array(b.buffer,b.range.start,b.range.length),c.range.length);c=new DataView(d.buffer);uJ(c);return c}c=fK(b);if((d=uJ(c))&&d<c.byteLength)return c;a.B=b;return null};
mS=function(a,b,c){this.L=a;this.A=b;this.B=[];this.C=new ypa(a,b,c);this.P=this.D=this.o=null;this.W=0;this.K=b.info.o;this.J=!1;this.M=0;this.G=b.Si();this.F=-1;this.H=this.G?0:NaN;this.Y=b.Si()};
Lpa=function(a){for(var b={s:"spr",pr:a.B.length};a.B.length&&6==a.B[0].state;){var c=a.B.shift();b["r"+c.G]=Kpa(a,c);var d=c.timing;a.W=(d.F-d.o)/1E3;a.L.xc&&c.dispose()}a.B.length&&cS(a.B[0])&&!XK(a.B[0].info)&&(b["r"+a.B[0].G]=Kpa(a,a.B[0]));nS(a,b)};
nS=function(a,b){if(!a.L.B&&a.Y&&!a.G&&a.o&&-1==a.o.A){b.t=a.A.info.mimeType;var c=eS(a.C);a.C.U("warning",null,c?c.info:null,"ddtk "+uM(b))}};
Kpa=function(a,b){if(cS(b)){b.L=!0;var c=b.A,d=c.o;c.o=[];c.B=g.Ra(d).info;c=0;for(var e=g.r(d),f=e.next();!f.done;f=e.next())c+=Mpa(a,b,f.value);return d.length+"/"+c}return"NaN"};
Mpa=function(a,b,c){var d=0;switch(c.info.type){case 1:case 2:Dpa(a.C,c);break;case 4:var e=c.info.o.hD(c);c=c.info;var f=a.o;f&&f.o==c.o&&f.type==c.type&&(c.range&&f.range?f.range.start==c.range.start&&f.range.end==c.range.end:f.range==c.range)&&f.A==c.A&&f.C==c.C&&f.fb==c.fb&&(a.o=g.Ra(e).info);e=g.r(e);for(c=e.next();!c.done;c=e.next())d+=Mpa(a,b,c.value);break;case 3:d=Apa(a.C,b,c)}return d};
oS=function(a,b,c,d){d=void 0===d?!1:d;if(c){var e=yM(c.tc(),b),f=NaN,k=a.D;k&&(f=yM(c.tc(),k.o.index.ld(k.A)));if(e==f&&a.o&&a.o.fb&&Npa(Opa(a),0))return b}a=Ppa(a,b,d);return 0<=a?a:NaN};
qS=function(a,b){a.A.Wc();var c=Ppa(a,b);if(0<=c)return c;c=a.C;c.J?(c=c.J,c=c.o&&3==c.o.type?c.o.startTime:0):c=Infinity;b=Math.min(b,c);a.o=a.A.Mg(b).o[0];pS(a)&&(a.D=null);a.M=0;return a.o.startTime};
rS=function(a){var b=0;(0,g.E)(a.B,function(c){b+=wpa(c)},a);
return b+=Epa(a.C)};
tS=function(a){sS(a);a.C.o=[]};
Qpa=function(a,b){var c;for(c=0;c<a.B.length&&b!==a.B[c];c++);if(c==a.B.length)b.L&&jS(a.C,b),b.dispose();else{for(;c<a.B.length;){var d=a.B.pop();d.L&&jS(a.C,d);d.dispose()}3==b.info.o[0].type?(b.A&&b.A.B?(c=b.A.B,c=new VJ(c.type,c.o,c.range,"getEmptyStubAfter_"+c.D,c.A,c.startTime+c.duration,0,c.C+c.fb,0,!1)):(c=b.info.o[0],c=new VJ(c.type,c.o,c.range,"getEmptyStubBefore_"+c.D,c.A,c.startTime,0,c.C,0,!1)),a.o=c):a.o=null}};
pS=function(a){return!!a.D&&a.D.H};
Opa=function(a){var b=[];a.D&&b.push(a.D);b=g.gb(b,gS(a.C));(0,g.E)(a.B,function(c){(0,g.E)(c.info.o,function(d){c.L&&(b=(0,g.re)(b,function(e){return!(e.o!=d.o?0:e.range&&d.range?e.range.start+e.C>=d.range.start+d.C&&e.range.start+e.C+e.fb<=d.range.start+d.C+d.fb:e.A==d.A&&e.C>=d.C&&(e.C+e.fb<=d.C+d.fb||d.B))}));
3!=d.type&&4!=d.type||b.push(d)})});
a.o&&!xka(a.o,g.Ra(b),a.o.o.Nf())&&b.push(a.o);return b};
Npa=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!YJ(a[c-1],a[c]))return!1;return!0};
Ppa=function(a,b,c){c=void 0===c?!1:c;if(!a.o||!a.o.fb)return NaN;a=Opa(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var k=a[f];if(k.G<=b)if(d)e=f;else if(k.startTime+k.duration>=b){b=f;break a}}b=e}return 0>b?NaN:Npa(a,c?b:0)?a[b].startTime:NaN};
Rpa=function(a){return(0,g.Ik)(a.B,function(b){return 4<=b.state})};
uS=function(a){return!(!a.o||a.o.o==a.A)};
vS=function(a){return uS(a)&&a.A.Wc()&&a.o.o.info.o<a.A.info.o};
Spa=function(a,b,c){var d=eS(a.C);return(a=d?d.info:a.D)&&!a.H?a.F>b&&a.F<b+c:!1};
sS=function(a){(0,g.E)(a.B,function(b){b.L&&jS(this.C,b);b.dispose()},a);
a.B=[];a.o=null};
Tpa=function(a){return!!a.o&&-1!=a.o.A&&a.o.A<a.A.index.tf()};
Upa=function(a){var b=a.o;if(b&&-1==b.A){var c=eS(a.C);c&&3==c.info.type?(a=c.info.A,b.D="updateLastSliceRequested",b.A=a):a.L.B||a.G||a.C.U("warning",null,c?c.info:null,"noupdtsgnm")}};
Vpa=function(a){return(0,g.Ik)(a.B,function(b){return b.K})};
wS=function(a,b){this.A=a;this.o=b;this.C=1};
Wpa=function(a,b){var c=Math.min(2.5,EN(a.A)),d=xS(a);return b-c*d};
yS=function(a,b,c,d,e){e=void 0===e?!1:e;a.o.uc&&(d=Math.abs(d));d/=a.C;var f=1/HN(a.A);var k=.9*(d-a.o.Xa);k=Math.max(k,EN(a.A)+a.A.policy.B*f);c=k/f*a.o.yz/(b+c);a.o.Kl&&(d-=a.o.Xa);c=Math.min(c,d);a.o.Fc&&e&&(c=Math.max(c,a.o.Fc));return Xpa(a,c,b)};
Xpa=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.o.wz*c),Math.min(Math.min(a.o.ga,a.o.Sa*c),Math.ceil(b*c))))};
Ypa=function(a,b){var c=Xpa(a,b.video?a.o.wB:a.o.Jl,b.o);return a.o.Gj&&b.video?Math.max(c,a.o.Gj):c};
xS=function(a){var b=HN(a.A);if(a.o.gq)return b;var c=a.o.vz,d=1E-9+EN(a.A);b*=Math.min(1,c/(b*d));a.o.Fj&&(c=((BN(a.A.A,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.o.Fj*c);return b};
zS=function(a){return xS(a)/a.C};
AS=function(){this.A=this.C=0;this.D={}};
Zpa=function(a,b,c,d){this.P=a;this.G=b;this.F=c;this.H=d;this.B=jN;this.D=this.L=null;this.M=-1;this.A=this.C=null;this.o=[];this.W={};this.J=0;this.K=this.aa=!1;this.Y=0};
$pa=function(a,b){if(gN(a.B,b))return null;if("m"==b.reason&&b.isLocked())return BS(a,b),a.J=a.o.length-1,CS(a),DS(a),a.K=a.K||a.D!=a.A,a.D=a.A,new wR(a.C,a.D,b.reason);"r"==b.reason&&(a.M=-1);BS(a,b);DS(a);if("r"==b.reason&&a.A==a.D)return new wR(a.C,a.A,b.reason);if(a.D&&a.A&&ES(a,a.D.info)<ES(a,a.A.info)){var c=a.B.reason;a.aa=a.aa||"r"==c||"u"==c||"v"==c}return null};
bqa=function(a,b){if(b.info.video){if(a.D!=b)return a.D=b,aqa(a)}else a.L=b;return null};
FS=function(a,b){b.M=g.PH();a.M=-1;BS(a,a.B)};
GS=function(a){for(var b=g.PH()-6E4,c=g.r(a.H.videoInfos),d=c.next();!d.done;d=c.next())if(a.F.o[d.value.id].M>b)return!0;return!1};
HS=function(a){return a.B.isLocked()};
aqa=function(a){a.M=g.PH();a.aa=!1;return new wR(a.L,a.D,a.B.reason)};
BS=function(a,b){a.B=b;var c=a.H.videoInfos;if(!HS(a)){var d=g.PH()-6E4;c=(0,g.re)(c,function(l){if(l.o>this.G.K)return!1;l=this.F.o[l.id];return l.M>d?!1:4<l.C.o||4<l.L||l.D?!1:!0},a);
if(GS(a)){var e=(0,g.re)(c,function(l){l=aK(l);return"140"==l||"134"==l||"243"==l});
e.length&&(c=e)}}c.length||(c=a.H.videoInfos);e=(0,g.re)(c,b.B,b);e.length||(e=[c[0]]);e.sort((0,g.B)(function(l,m){return ES(this,l)-ES(this,m)},a));
for(c=1;c<e.length;c++){var f=e[c-1],k=e[c];f.video.width>k.video.width?(g.cb(e,c),c--):ES(a,f)*a.G.C>ES(a,k)&&(g.cb(e,c-1),c--)}c=e[e.length-1];a.o=e;zka(a.G,c)};
cqa=function(a,b){if(b)a.C=a.F.o[b];else{var c=g.Ua(a.H.o,function(d){return!!d.Rb&&d.Rb.isDefault});
c=c||a.H.o[0];a.C=a.F.o[c.id]}CS(a)};
CS=function(a){if(!a.C||!a.G.G)if(!a.C||!a.C.info.Rb)if(a.C=a.F.o[a.H.o[0].id],1<a.H.o.length){if(a.G.Qk)var b=!0;else if(a.B.isLocked())b=240>a.B.o;else{for(b=0;b+1<a.o.length&&"tiny"==a.o[b].Aa().quality;)b++;var c=zS(a.P)/a.G.C;b=ES(a,a.C.info)+ES(a,a.o[b])>c}b&&(a.C=a.F.o[a.H.o[1].id])}};
DS=function(a){if(!a.A||!a.G.G)if(HS(a))a.A=a.F.o[a.o[a.o.length-1].id];else{for(var b=Math.min(a.J,a.o.length-1),c=zS(a.P),d=ES(a,a.C.info),e=c/a.G.D-d;0<b&&!(ES(a,a.o[b])<=e);b--);for(c=c/a.G.C-d;b<a.o.length-1&&!(ES(a,a.o[b+1])>=c);b++);a.A=a.F.o[a.o[b].id];a.J=b}};
dqa=function(a){var b=a.G.D,c=zS(a.P)/b-ES(a,a.C.info);b=g.Va(a.o,function(d){return ES(this,d)<c},a);
0>b&&(b=0);a.J=b;a.A=a.F.o[a.o[b].id]};
ES=function(a,b){if(!a.W[b.id]){var c=a.F.o[b.id].index.FB(a.Y,15);c=b.B&&a.D&&a.D.index.Jb()?c||b.B:c||b.o;a.W[b.id]=c}return a.W[b.id]};
eqa=function(a,b){var c=$b(a.F.o,function(d){return aK(d.info)==b});
if(!c)throw Error("Itag "+b+" from server not known.");return c};
fqa=function(a){var b=[];if("s"==a.B.reason||"m"==a.B.reason)return b;var c=!1;if(ala(a.F)){for(var d=Math.max(0,a.J-2);d<a.J;d++){var e=aK(a.o[d]);fL(a.o[d].Aa())||(c=!0);b.push(e)}b.reverse();if(!c&&a.G.hz)for(d=Math.max(0,a.J-3);0<=d&&!c;d--)fL(a.o[d].Aa())||(c=!0,b.push(aK(a.o[d])))}return b};
IS=function(a,b,c,d){this.A=a;this.F=b;this.D=d;this.B=c;this.o=0};
gqa=function(a,b,c,d){g.vH.call(this);this.o=a;this.P=b;this.W=c;this.L=d;this.M=NaN;this.C=this.J=this.D=null;this.A=this.G=this.H=this.F=NaN;this.B=!1;this.K=NaN};
hqa=function(a,b,c,d){return a.ia&&a.Ma&&3==vL(a)?new gqa(a,b,c,d):null};
iqa=function(a,b){if(a.o.Rz){var c=b.info.o;if(0>=c)a.K=NaN;else{var d=HN(a.P),e=b.index.o;c=Math.max(1,d/c);a.K=Math.round(1E3*Math.max(((c-1)*e+a.o.M)/c,e-a.o.dc))}}};
lqa=function(a,b){var c=(0,g.J)()/1E3,d=c-a.F,e=c-a.H,f=e>=a.o.Dj,k=!1;if(f){var l=0;!isNaN(b)&&b>a.G&&(l=b-a.G,a.G=b);l/e<a.o.Tz&&(k=!0);a.H=c}c=d>=a.o.dc&&!a.B;if(!f&&!c&&jqa(a,b))return NaN;c&&(a.B=!0);a:{d=k;c=(0,g.J)()/1E3-(a.W.o()||0)-a.J.C-a.o.M;f=a.C.startTime;c=f+c;if(d){if(isNaN(b)){JS(a,NaN,"n",b);f=NaN;break a}d=b-a.o.Qb;d<c&&(c=d)}else a.B&&(d=c+a.o.M-a.M+a.o.Wz,isNaN(b)||(d=Math.max(d,Math.min(c,b-a.o.Qb))),c=d);f=c=Math.max(c,f)}a.A=f;if(isNaN(a.A))return KS(a),NaN;if(!k&&jqa(a,b))return kqa(a,
b),NaN;if(a.A<=a.C.startTime)return JS(a,NaN,"y",b),KS(a),NaN;if(!a.L(a.A,!1))return!kqa(a,b)&&k&&(JS(a,NaN,"t",b),KS(a)),NaN;k=a.A;JS(a,k,"s",b);KS(a);return k};
kqa=function(a,b){return a.L(a.A,!0)?!1:(JS(a,NaN,"ns",b),KS(a),!0)};
jqa=function(a,b){return isNaN(b)?!0:isNaN(a.A)?!1:b<a.A+(a.B?a.o.Qb:a.o.Sz)};
KS=function(a){a.D=null;a.J=null;a.C=null;a.F=NaN;a.H=NaN;a.G=NaN;a.A=NaN;a.B=!1};
JS=function(a,b,c,d){var e=VR(a.D);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.A).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.F).toFixed(0);e.ssr_n=(0,g.J)().toFixed(0);e.ssr_f=(1E3*a.J.C).toFixed(0);e.ssr_fa=a.B?"1":"0";e.ssr_o=(1E3*a.W.o()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.C.o.index;yL(b,a.C.A,!0)&&(e.ssr_ist=(1E3*b.ld(a.C.A)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.C.A)).toFixed(0));e=uM(e);a.U("ctmp","ssr",e,!1)};
mqa=function(){this.o=[];this.A=g.kR};
oqa=function(a,b,c){var d=[];for(b=nqa(a,b);b<a.o.length;++b){var e=a.o[b];(e.end<=c||e.contains(c))&&d.push(e);if(e.start>c)break}return d};
pqa=function(a,b){for(var c=[],d=g.r(a.o),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
qqa=function(a){return a.o.slice(nqa(a,0x7ffffffffffff),a.o.length)};
nqa=function(a,b){var c=rb(a.o,function(d){return b-d.start||1});
return 0>c?-(c+1):c};
rqa=function(a,b){for(var c=NaN,d=g.r(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&(isNaN(c)||e.end<c)&&(c=e.end),e.start>b&&(isNaN(c)||e.start<c)){c=e.start;break}return c};
sqa=function(a,b){if(1<b.length&&b.length>a.o.length)a.o=a.o.concat(b),a.o.sort(a.A);else for(var c=g.r(b),d=c.next();!d.done;d=c.next())d=d.value,!a.o.length||0<a.A(d,a.o[a.o.length-1])?a.o.push(d):g.ub(a.o,d,a.A)};
LS=function(a,b,c,d){g.L.call(this);this.B=NaN;this.G=this.H=this.D=!1;this.W=a;this.M=b;this.J=c;this.K=d;this.L=new g.V(this.A,250,this);g.M(this,this.L);this.F=new g.V(this.A,0,this);g.M(this,this.F);this.C=[];this.o=new mqa};
MS=function(a){return a.la()?[]:a.o.o};
tqa=function(a,b){var c=(0,g.re)(MS(a),function(d){return d.namespace==b});
a.removeCueRange.apply(a,c);return c};
uqa=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.C.indexOf(e)&&(a.C.push(e),c.push([1,e]))}return c};
vqa=function(a,b){var c=[];if(!b.length)return c;b.sort(g.kR);for(var d=0;d<b.length;d++){var e=b[d];a.C.splice(a.C.indexOf(e),1);c.push([2,e])}return c};
yqa=function(a){if(a.D&&!a.la()){a.F.stop();var b=a.J();g.X(b,32)&&a.L.start();for(var c=wqa(a),d=g.X(b,2),e=[],f=[],k=0;k<a.C.length;k++){var l=a.C[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(vqa(a,f));if(d){b=pqa(a.o,0x7ffffffffffff);var m=b.filter(function(p){return 0x8000000000000>p.end});
var n=qqa(a.o)}else b=a.B<=c&&b.sb()&&!g.X(b,16)&&!g.X(b,32)?oqa(a.o,a.B,c):pqa(a.o,c);e=e.concat(uqa(a,b));m&&(e=e.concat(vqa(a,m)));n&&(e=e.concat(uqa(a,n)));a.B=c;xqa(a,e)}};
xqa=function(a,b){for(var c=g.r(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d[1];1==d[0]?(e.o&&e.o.U("onEnter",e),a.K(g.lR(e.namespace),e)):(e.o&&e.o.U("onExit",e),a.K("crx_"+e.namespace,e))}};
wqa=function(a){return g.X(a.J(),2)?0x8000000000000:1E3*a.W()};
NS=function(){var a=this;this.A=this.o=iaa;this.C=new g.Jg(function(b,c){a.o=b;a.A=c})};
OS=function(a,b,c,d,e){g.vH.call(this);var f=this;this.P=a;this.A=b;this.F=c;this.ia=new AS;this.Xa=e||null;this.o=this.B=null;this.J=new wS(a,b);this.C=null;this.za={updateend:this.eO,error:this.rQ};this.G=new Zpa(this.J,b,this.F,d);this.ea=new g.V(this.jg,0,this);g.M(this,this.ea);this.ya=new g.V(this.jg,1E3,this);g.M(this,this.ya);this.Qb=new g.V(this.jg,void 0,this);g.M(this,this.Qb);this.Ra=new g.V(this.jg,1E4,this);g.M(this,this.Ra);this.D=NaN;this.M=!1;this.L=NaN;this.Ma=0;this.ba=this.aa=
this.K=!1;this.ua="";this.jb=b.sd&&!b.wg?new Joa:null;this.xa=new yN(5);this.ka={};this.Oa="";this.Ia=NaN;this.Ga=this.W=!1;(this.H=hqa(this.A,this.P,this.xa,function(k,l){if(f.o&&f.B&&f.o.A.Wc()&&f.B.A.Wc()&&f.C&&f.C.A&&f.C.o)if(l&&f.F.A&&(-1==f.o.F||-1==f.B.F))var m=!0;else m=oS(f.o,k,f.C.A,l),isNaN(m)?m=!1:(m=oS(f.B,f.A.Ma?k:m,f.C.o,l),m=isNaN(m)?!1:!0);else m=!1;return m}))&&this.H.subscribe("ctmp",this.Oc,this);
this.yb=NaN;this.ma=this.Sa=null;this.Y=NaN;this.ga=0;this.dc=this.Pb=!1};
PS=function(a,b){b=b||a.o&&a.o.o&&a.o.o.startTime||a.D;var c=a.o;var d=a.G;var e=d.A&&d.A.index.Sf(b)||0;d.Y!=e&&(d.W={},d.Y=e,BS(d,d.B));e=!HS(d)&&-1<d.M&&g.PH()-d.M<1E3*d.G.Wy;var f=d.A&&3*ES(d,d.A.info)<zS(d.P);if(!e||f)CS(d),DS(d),d.K=d.K||d.A!=d.D;d.A&&!d.A.index.Jb()&&(d.Y=-1);d=d.A;c.A!=d&&(c.A=d);c=a.B;d=a.G.C;c.A!=d&&(c.A=d)};
g.Aqa=function(a,b){zqa(a);if(!b.o&&!b.A){var c=a.o.A.info.mimeType,d=a.B.A.info.mimeType;d=new CM("fakesb"==d?new OL:b.C.addSourceBuffer(d),iL(d));c=new CM("fakesb"==c?new OL:b.C.addSourceBuffer(c),iL(c));b.o=d;b.A=c;g.M(b,d);g.M(b,c)}a.C=b;a.B.J=!1;a.o.J=!1;a.B.D=null;a.o.D=null;a.resume();wH(b.o,a.za,a);wH(b.A,a.za,a);a.A.Xr&&a.Oc("toff",""+b.o.supports(1),!0);a.jg()};
zqa=function(a){a.C&&a.C.o&&a.C.A&&(xH(a.C.o,a.za,a),xH(a.C.A,a.za,a));a.C=null};
RS=function(a){zqa(a);if(a.A.Pd){var b=a.Pb;a.K=!0;a.aa=b}else a.K=!0,a.aa=!1;QS(a)};
SS=function(a){a.C&&JM(a.C)&&RS(a)};
US=function(a,b,c){if(a.K&&(!JN(a.P)||a.aa))return!1;if(a.F.A){if(0<b.B.length&&b.o&&-1==b.o.A||b.B.length>=a.A.WG&&!a.A.yb||!a.A.iz&&0<b.B.length&&!a.A.o)return!1;if(b.G)return!a.F.isLive||!isNaN(a.Ia);b.o&&-1==b.o.A&&a.Oc("ddtk",uM({ip:a.A.J,sk:a.M,lr:b.o?b.o.D:"nul",pr:b.B.length}))}if(Vpa(b))return!1;if(!(b.o||a.F.A&&a.A.yb&&b.G)){if(!b.A.Wc())return!1;qS(b,a.D)}var d=b.B.length+c.B.length;(Rpa(b)||Rpa(c)||a.F.isLive&&(!a.A.yb||!b.B.length))&&--d;if(d+1>=a.A.HH)return!1;d=b.o;if(!d)return!0;if(!TK(d.o.C))return!1;
4==d.type&&d.o.Wc()&&(b.o=g.Ra(d.o.yr(d)),d=b.o);if(!d.H&&!d.o.Ug(d)||d.o.info.audio&&4==d.type)a=!1;else if(vS(b)&&!a.A.ha)a=!0;else{if(!(c=d.H||rS(b)&&rS(b)+rS(c)>a.A.ua||!!(c.o&&!c.o.H&&c.o.F<d.F)&&(!a.F.A||c.o&&c.o.F&&d.F)&&!a.W)&&(c=3==d.type)){d=d.F;a:{b=TS(a,b,!0);!HS(a.G)&&0<a.A.Y&&(c=(g.PH()-a.Ma)/1E3,b=Math.min(b,a.A.Y+a.A.P*c));b=a.D+b;if(a.A.ce&&(c=Bqa(a)+a.A.ce,c<b)){a.Oc("mrl","ori."+b+";mod."+c,!0);a.A.qr&&(a.Ma=g.PH());a=c;break a}a=b}c=d>a}a=c?!1:!0}return a};
Cqa=function(a,b,c){if((!a.C||HM(a.C)||LM(a.C))&&!a.M&&a.G.aa){var d=a.D;a=a.J;c=yS(a,b.A.info.o,c.A.info.o,0);var e=EN(a.A)+c/HN(a.A);d+=Math.max(e,e+a.o.rd-c/b.A.info.o);a:{if(b.B.length){if(b.B[0].info.o[0].startTime<=d)break a;sS(b)}a=b.C;for(c=a.o.length-1;0<=c;c--)a.o[c].info.startTime>d&&a.o.pop();b.B.length?b.o=g.Ra(g.Ra(b.B).info.o):b.C.o.length?b.o=eS(b.C).info:b.o=b.D;nS(b,{s:"cbt",tm:d});b.o&&d<b.o.startTime&&(b.M=0,b.o=b.A.Mg(d,!0).o[0])}}};
Dqa=function(a,b,c){if(US(a,b,c)){if(b.G){if(a.F.isLive){var d=b.A.Mg(Infinity);d.C=a.Ia}else d=b.A.mn(0,!0);a.H?0==d.C&&(d.D=a.H.K):d.D=a.yb}else if(d=b.o,d.o.Wc()){!vS(b)||a.A.ha||a.F.A||(Cqa(a,b,c),b.o||qS(b,a.D));d=b.o;var e=d.F-a.D,f=!d.range||0==d.fb&&0==d.C?0:d.range.length-(d.C+d.fb),k=d.o;if(uS(b)&&b.A.Wc()){var l=Math.min(15,.5*TS(a,b,!0));l=vS(b)||e<=l}else l=!1;l&&0==f&&(a.F.A?k=b.A:(k=d.startTime+VS,d.fb&&(k+=d.duration),qS(b,k),d=b.o,k=d.o));k.Nf()?(f=a.G,e=yS(a.J,k.info.o,c.A.info.o,
e,0<f.o.length&&0==f.J&&a.ba),c=a.A.Hl?uS(b):uS(b)&&b.A.Wc(),e=d.o.bj(d,e),e.range&&1<e.o.length&&(c||e.A.o||a.A.Br&&e.o[0].o!=d.o?e=d.o.bj(d,e.o[0].fb):(c=e.o[e.o.length-1],k=c.fb/e.range.length,!c.B&&.4>k&&(e=d.o.bj(d,e.range.length-c.fb)))),d=e):(0>d.A&&(c=ZJ(d),c.pr=""+b.B.length,a.M&&(c.sk="1"),a.Oc("nosq",d.D+";"+uM(c))),d=k.Ck(d))}else d.o.Nf()?(c=yS(a.J,b.A.info.o,c.A.info.o,0),d=d.o.bj(d,c)):d=d.o.Ck(d);a=WS(a,d);b.B.push(a);b.o=g.Ra(a.info.o)}};
WS=function(a,b){3==b.o[b.o.length-1].type&&Eqa(a,bqa(a.G,b.o[0].o));var c=$K(b);c=new epa(a.P,c,Wpa(a.J,c),b,a.Sa);a.A.Ur&&(c.H=[]);var d=new TR(a.A,b,c,a.ka);c.ya=function(){return xpa(d)?d.C.Sp&&window.performance&&window.performance.now&&d.o&&d.o.gk()&&bS(d)&&OR(d.o)?d.info.o[0].o.info.video?3:4:2:1};
qpa(d,(0,g.B)(a.sT,a));3==b.o.length&&1==b.o[0].type&&2==b.o[1].type&&4==b.o[2].type&&b.o[0].o.info.video&&(d.aa=fqa(a.G));d.start(Math.max(0,b.o[0].G-a.D));b.o[0].o.info.video&&(c=UR(d))&&(a.Oa=c.substr(0,c.indexOf("."))||c);return d};
Eqa=function(a,b){b&&a.U("videoformatchange",b)};
Gqa=function(a,b){var c=b.info.o[0].o,d=c.info.video?a.o:a.B;Fqa(a,d,b);XK(b.info)&&!WK(b.info)&&((0,g.E)(b.A.o,function(e){Dpa(d.C,e)}),a.A.Go||a.U("metadata",c))};
Fqa=function(a,b,c){if(a.F.A&&b&&(b.G&&(bS(c),b.G=!1),c.W&&a.xa.A(1,c.W),b=c.o?parseInt(c.o.Xd("X-Head-Seqnum"),10):null)){a=a.F;for(var d in a.o)c=a.o[d].index,c.A&&(c.C=Math.max(c.C,b))}};
Hqa=function(a,b,c){a:{b=b.info;var d=a.A.mz,e=null,f=b.o[0];if(b.range)e=TJ(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.B&&0<=b.B.indexOf("/range/")||"1"==b.A.B.get("defrag")){c=null;break a}e=TJ(0,4096)}else if(f.o.info.video){c=null;break a}b=new VJ(5,f.o,e,"createProbeRequestInfo_"+f.D,f.A);b=new VK([b]);b.F=c;c=b}c&&WS(a,c)};
Kqa=function(a){var b=-1!=a.o.F,c=-1!=a.B.F;if(!b||!c)if(b=!b&&dS(a.o.C),c=!c&&dS(a.B.C),b||c){c=b?a.o:a.B;b=b?a.B:a.o;var d=dS(c.C).info.A;if(-1!=b.F&&b.F!=d&&(XS(a,!1,"qoe.avsync",{start:"1",target:String(b.F),actual:String(d)}),!a.A.Fo)){jM(a.F,d,c==a.o);Iqa(c,b.F);return}c.F=d;c.H=NaN;if(-1!=b.F){var e=Math.max(b.A.index.ld(b.F),c.A.index.ld(c.F));a.ma&&(a.ma.resolve(e+.1),a.ma=null);g.Dg(function(){return Jqa(a,e)})}}};
Iqa=function(a,b){tS(a);qS(a,Infinity);var c=a.H;a.C.D=c;a.H=c;c=a.o;c.D="correctTrack_";c.A=b-1};
Lqa=function(a){if(a.A.Ga)return!1;var b;if(!(b=Vpa(a.o))&&(b=a.M)){b=a.J;var c=a.o,d=a.B;if(0==c.B.length&&0==d.B.length)b=!0;else{var e=0,f=gS(c.C).concat(gS(d.C));f=g.r(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.fb;c=c.A.info.o+d.A.info.o;e/=c;b=10<e?!0:10>c*(10-e)/zS(b)}(b=!b)||(b=a.o,b=0<b.B.length&&1==b.C.o.length&&dS(b.C).info.J<b.W)}if(b)return!0;if(!a.ba||!a.A.xa||10>a.D||360<a.o.A.info.Aa().zc)return!1;b=Spa(a.o,a.D,a.A.xa)||Spa(a.B,a.D,a.A.xa);return(0<a.o.B.length||0<a.B.B.length||
US(a,a.o,a.B)||US(a,a.B,a.o))&&b};
Oqa=function(a,b,c,d){if(c.Ce())return!0;var e=dS(b.C);if(!e||!c.Kt())return!1;var f=e.info;!b.D||b.D.B||XJ(b.D,f)||(b.D=null,HM(a.C)&&c.abort(),c.qj(null));c.ly(f.o.info.containerType,f.o.info.mimeType);f=a.F.isLive&&mK(e);var k;if(k=a.A.Ra&&a.F.C&&0==e.info.C&&(g.iK(e.info.o.info)||a.A.aC)){if(null==c.Gi()){if(!(k=null==b.D||b.D.o!=e.info.o)){a:{k=b.D.K;var l=e.info.K;if(k.length!=l.length)k=!1;else{for(var m=0;m<k.length;m++)if(!g.tb(k[m],l[m])){k=!1;break a}k=!0}}k=!k}}else k=c.Gi()!=e.info.o.o;
k=!k}k&&(g.iK(e.info.o.info)?(vJ(fK(e),1836019574),vJ(fK(e),1718909296)):(k=new xJ(fK(e)),QJ(k),BJ(k,524531317,!0),e.range=new g.RJ(k.C+k.o,e.range.end)),e.A=!1);a.A.xg&&e.A&&(e.A=!1);if(!a.F.C||0==e.info.C)if(f||a.F.A||e.A)c.qj(null);else if(YS(a,c,e))return!0;f=TS(a,b,!1);f=a.D+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.H)a:if(a.H.D&&b.A.info.audio){if((f=dS(b.C))&&(f=f.o)&&null!=f.B){f=f.B-1;break a}f=-1}else f=Infinity;else f=Infinity;k=b.C;if(!k.o.length||k.o[0].info.G>=d)d=null;else if(l=
k.o[0].A?0:k.o[0].range.start,l>f)d=null;else{for(m=1;m<k.o.length;m++){var n=k.o[m].range.start>f,p=k.o[m].buffer!=k.o[m-1].buffer;if(k.o[m].info.G>d||n||p||k.C.yg)break}m--;d=new g.RJ(l,Math.min(k.o[m].range.end,f))}if(!d)return!1;k=new Uint8Array(e.buffer,d.start,d.length);a.jb&&e.info.o.info.video&&g.iK(e.info.o.info)&&Koa(a.jb,k,e.info.C);f=!1;3!=e.info.type||!g.iK(e.info.o.info)&&2!=e.info.o.info.containerType||(f=g.iK(e.info.o.info)&&a.A.To&&!b.J&&0==e.info.C&&0<e.info.startTime)&&kK(e,0);
a:{l=g.r(b.C.o);for(m=l.next();!m.done;m=l.next()){m=m.value;if(d.end==m.range.end){l=m.info.B;break a}if(d.end<m.range.end)break}l=!1}a:if(a.A.ma&&a.Oc("sba",c.Eb({as:$J(e.info)})),k=Mqa(a,c,k,l),"s"==k)k=!0;else{if("i"==k||"x"==k)Nqa(a,"checked",k,e.info);else{if("q"==k&&(e.info.o.info.video?(k=a.A,k.F=Math.floor(.8*k.F),k.aa=Math.floor(.8*k.aa),k.A=Math.floor(.8*k.A)):(k=a.A,k.H=Math.floor(.8*k.H),k.ya=Math.floor(.8*k.ya),k.A=Math.floor(.8*k.A)),c.supports(2)&&!c.Ce())){k=!1;l=c.tc().length;for(m=
0;!k&&m<l;m++)c.tc().start(m)>e.info.F&&(c.remove(c.tc().start(m),c.tc().end(l-1)),k=!0);l=Math.max(0,Math.min(a.D,e.info.startTime)-5);!k&&l&&c.remove(0,l);k=!1;break a}a.U("reattachrequired")}k=!1}if(!k)return!1;b.J=!0;if(f)kK(e,e.info.startTime),c.abort(),c.qj(null);else{f=b.C;for(k=[];f.o.length&&(f.o[0].range.end>d.end?(m=hK(f.o[0],d.end-f.o[0].range.start+1),l=m[0],f.o[0]=m[1]):l=f.o.shift(),k.push(l),l.range.end!=d.end););k.length&&(0,g.E)(k,b.aa,b)}e.A&&(e.info.o.o&&c.qj(e.info.o.o),(b=e.info.o.H)&&
a.U("newDrmInfo",b.type,b.key));e.info.o.info.ad&&c.Xv();return!0};
Nqa=function(a,b,c,d){var e="fmt.unplayable";"i"==c&&(e="html5.invalidstate");if("x"==c||"m"==c)e="fmt.unparseable",d.o.D=e,d.o.info.video&&!GS(a.G)&&FS(a.G,d.o);d=ZJ(d);d.mrs=a.C.C.readyState;d.origin=b;d.reason=c;XS(a,"i"!=c,e,d)};
Pqa=function(a,b,c){ola(a.F,b,c)&&c&&g.Dg(function(){if(a.Ga)a.Ga=!1,Jqa(a,b.startTime);else{var d=b.startTime,e=b.duration;if(!a.la()&&a.A.ea&&a.W&&-1!=a.o.F&&-1!=a.B.F){var f=a.A.Lz?0:.1;a.D<d||a.D>d+e+f?3>a.ga?(a.ga++,a.seek(a.D)):(a.Oc("iterativeSeeking","incomplete;count="+a.ga,!1),a.ga=0,a.W=!1,a.U("seekplayerrequired",d+.1,!0)):(a.Oc("iterativeSeeking","done;count="+a.ga,!1),a.ga=0,a.W=!1)}}})};
Jqa=function(a,b){!a.la()&&a.A.ea&&a.W&&-1!=a.o.F&&-1!=a.B.F&&(a.W=!1,a.U("seekplayerrequired",b+.1,!0))};
YS=function(a,b,c){c.info.o.Wc();var d=c.info.o.o;if(null==d||b.Gi()==d)return!1;var e=d;if(a.A.xg&&b.isView()&&g.iK(c.info.o.info)&&b.Uu()){var f=new DataView(d.buffer,d.byteOffset,d.byteLength);var k=!c.info.o.info.video,l=g.kJ(f,0,1937011556),m=g.kJ(f,0,1953654136);if(!l||!m||2<=f.getUint32(l.offset+12))f=null;else{k=Oe(k?"AAAAm2VuY2EAAAAAAAAAAQAAAAAAAAAAAAIAEAAAAACsRAAAAAAAJ2VzZHMAAAAAAxkAAQAEEUAVAAAAAAAAAAAAAAAFAhIQBgECAAAAUHNpbmYAAAAMZnJtYW1wNGEAAAAUc2NobQAAAABjZW5jAAEAAAAAAChzY2hpAAAAIHRlbmMAAAAAAAABCA2mfwjLxVzCnFMS3s7KPQk=":
"AAAA12VuY3YAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAFAALQAEgAAABIAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY//8AAAAxYXZjQwFNQCD/4QAaZ01AINoBQBbsBagICAoAAAfSAAOpgB4wZUABAARo7zyAAAAAUHNpbmYAAAAMZnJtYWF2YzEAAAAUc2NobQAAAABjZW5jAAEAAAAAAChzY2hpAAAAIHRlbmMAAAAAAAABCNqu5zriy1rOhQT9Yx3PkSk=");m=DataView;for(var n=new Uint8Array(k.length),p=0;p<k.length;p++)n[p]=k[p];n=new m(n.buffer);m=n.byteLength;k=new $I(f.byteLength+m);k.qh(f,0,l.offset+12);aJ(k,2);k.qh(f,l.offset+16,l.size-16);k.qh(n,0,m);k.qh(f,
l.offset+l.size,f.byteLength-(l.offset+l.size));l=g.r([1836019574,1953653099,1835297121,1835626086,1937007212,1937011556]);for(n=l.next();!n.done;n=l.next())n=g.kJ(f,0,n.value),k.data.setUint32(n.offset,n.size+m);f=g.kJ(k.data,0,1953654136);k.data.setUint32(f.offset+16,2);f=k.data}f?e=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):a.Oc("fenc","1")}e=Mqa(a,b,e,!0);if("s"!=e)return Nqa(a,"sepInit",e,c.info),!0;b.qj(d);(c=c.info.o.H)&&a.U("newDrmInfo",c.type,c.key);return b.Ce()};
Mqa=function(a,b,c,d){try{b.appendBuffer(c,d)}catch(e){if(11==e.code)return"i";if(12==e.code)return"x";if(22!=e.code&&0!=e.message.indexOf("Not enough storage"))return g.hF(e),"u";a.A.Rc&&a.Oc("quex","br."+wM(b.tc()).replace(/,/g,"_"));return"q"}return JM(a.C)?"m":"s"};
Qqa=function(a,b){b.C.subscribe("warning",a.iS,a);b.C.subscribe("error",a.cS,a);b.C.subscribe("timestamprewrite",a.hS,a);var c=(0,g.B)(a.eS,a,b);b.C.subscribe("placeholderinfo",c,void 0);c=(0,g.B)(a.fS,a,b);b.C.subscribe("placeholderrollback",c,void 0);c=(0,g.B)(a.gS,a,b);b.C.subscribe("segmentinfo",c,void 0);c=a.dS.bind(a);b.C.subscribe("gaplessinfo",c,void 0);b==a.o&&b.C.subscribe("cuepoint",a.bS,a)};
Rqa=function(a,b){var c=0+b.duration,d=-b.o;0==a.Cp()&&c==a.tu()||a.Hx(0,c);d!=a.Vc()&&a.Kr(d)};
TS=function(a,b,c){if(a.K)return 1;var d=b.A.info.audio?a.A.H:a.A.F;!a.A.ha&&HS(a.G)&&(d=Math.max(d,b.A.info.audio?a.A.ya:a.A.aa));c&&(d+=a.A.ua);var e=HS(a.G)?b.o?b.o.o.info.o:b.A.info.o:b.K;d/=e;0<a.A.za&&a.C&&HM(a.C)&&(b=b.A.info.video?a.C.A:a.C.o)&&!b.Ce()&&(e=xM(b.tc(),a.D),0<=e&&(b=a.D-b.tc().start(e),d+=Math.max(0,Math.min(b-a.A.za,a.A.Ty))));0<a.A.A&&(d=Math.min(d,a.A.A));a.A.Od&&c&&!HS(a.G)&&(c=a.G,c=ES(c,g.Ra(c.o))+ES(c,c.H.o[0]),c=a.A.Od*(c/xS(a.J)),c<d&&15>c&&a.Oc("bwcapped","1",!0),c=
Math.max(c,15),d=Math.min(d,c));return d};
Bqa=function(a){if(!a.Xa)return Infinity;var b=(0,g.re)(MS(a.Xa),function(d){return"ad"==d.namespace});
b=g.r(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.D)return c.start/1E3;return Infinity};
Sqa=function(a,b,c){if(!a.A.Wc())return 0!=b&&sS(a),b;var d=oS(a,b,c);if(!isNaN(d))return d;tS(a);return c&&(c=yM(c.tc(),b),!isNaN(c))?(qS(a,c+VS),b):qS(a,b)};
ZS=function(a,b,c,d){c.Wc()||c.F||!TK(c.C)||(d=c.Zj(d?Ypa(a.J,c.info):0),(0,g.E)(d,function(e){if("f"!=e.o[0].o.info.A){var f=WS(this,e);WK(e)&&(b.B.push(f),b.o=g.Ra(f.info.o))}},a),c.F=!0)};
XS=function(a,b,c,d){a.la()||(d=new tM(c,b,d),g.Ma(a),uM(d.details),a.U("error",d),"html5.invalidstate"!=c&&"fmt.unplayable"!=d.errorCode&&"fmt.unparseable"!=c&&b&&a.dispose())};
QS=function(a){a.B&&a.o&&(tS(a.B),tS(a.o))};
Tqa=function(a,b){var c=b.info.video?a.o:a.B;null!=c&&ZS(a,c,b,!1)};
Uqa=function(a){a=a?a.B.length?a.B[0]:null:null;return!!a&&2<=a.state&&!(5<=a.state)};
Vqa=function(a,b,c){this.url=a;this.interval=b;this.o=c};
$S=function(a){g.vH.apply(this,arguments)};
aT=function(a,b,c){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.isPrefetch=void 0===c?!1:c;this.o=this.cryptoPeriodIndex=NaN;this.A=[]};
Wqa=function(a){a:{var b=a.initData;try{for(var c=0,d=new DataView(b.buffer);c<d.byteLength-8;){var e=d.getUint32(c);if(1>=e)break;if(1886614376==d.getUint32(c+4)){var f=32;if(0<d.getUint8(c+8)){var k=d.getUint32(c+28);f+=16*k+4}var l=d.getUint32(c+f-4);try{var m=new We(b.subarray(c+f,c+f+l)),n=new bF;for(f=m;Xe(f)&&4!=f.A;)switch(f.C){case 2:var p=af(f),q=p;mf(n,2).push(q);break;case 4:p=af(f);nf(n,4,p);break;case 7:p=Ve(f.o);nf(n,7,p);break;case 9:p=Ve(f.o);nf(n,9,p);break;case 10:p=Ve(f.o);nf(n,
10,p);break;case 11:p=Ze(f);nf(n,11,p);break;case 12:p=Ve(f.o);nf(n,12,p);break;case 13:q=p=af(f);mf(n,13).push(q);break;case 14:p=new cF;q=f;var u=p,w=Mja,D=q.o.C,F=Ve(q.o),I=q.o.o+F;q.o.C=I;w(u,q);q.o.o=I;q.o.C=D;q=n;u=p;w=cF;uf(q,w,14);var O=q.o[14];O||(O=q.o[14]=[]);var na=u?u:new w,Ia=mf(q,14);O.push(na);Ia.push(wf(na));break;case 15:p=$e(f);nf(n,15,p);break;case 1:p=Ze(f);nf(n,1,p);break;case 3:p=$e(f);nf(n,3,p);break;case 5:p=$e(f);nf(n,5,p);break;case 6:p=$e(f);nf(n,6,p);break;case 8:p=af(f);
nf(n,8,p);break;default:Ye(f)}f=n;if(null!=f){var Ba=f;break a}}catch(Ta){}}c+=e}Ba=null}catch(Ta){Ba=null}}if(null!=Ba)for(b=mf(Ba,7),null!=b&&(a.cryptoPeriodIndex=b),b=mf(Ba,10),null!=b&&0<b&&(a.o=b),Ba=mf(Ba,2),Ba=!Ba.length||Ba[0]instanceof Uint8Array?Ba:(0,g.K)(Ba,Yaa),Ba=g.r(Ba),b=Ba.next();!b.done;b=Ba.next())a.A.push(FR(b.value))};
bT=function(a,b,c,d){$S.call(this);var e=this;this.C=-1;this.o={};this.B=new g.V(this.D,0,this);g.M(this,this.B);this.A=new g.V(function(){e.la()||(e.B.start(Math.random()*c),e.A.start(b))},a,this);
g.M(this,this.A);d.subscribe("fairplay_next_need_key_info",this.F,this)};
Xqa=function(a,b,c){a=g.nh(a);for(var d=[],e=g.r(a[6].split("&")),f=e.next();!f.done;f=e.next())f=f.value,0==f.indexOf("cpi=")?d.push("cpi="+b):0==f.indexOf("ek=")?d.push("ek="+g.qc(c)):d.push(f);a[6]="?"+d.join("&");b="skd://"+a.slice(2).join("");a=2*b.length;c=new Uint8Array(a+4);c[0]=a%256;c[1]=(a-c[0])/256;for(a=0;a<b.length;++a)c[2*a+4]=b.charCodeAt(a);return c};
Yqa=function(a,b){this.statusCode=a;this.errorMessage=null;this.message=b;this.C=this.A=this.o=this.heartbeatParams=null};
$qa=function(a){var b=gJ(a.subarray(0,16384)),c=b.indexOf("\r\n\r\n");if(-1==c)return null;var d=b.indexOf("\r\n"),e=b.slice(0,d).match(/^GLS\/1.\d ([0-9]{1,3}) (\w+)$/);if(null==e)return null;e=Ec(e[1]);b=hJ(b.slice(d+2));if(null==b)return null;a=new Yqa(e,a.subarray(c+4));0!=a.statusCode&&(a.errorMessage=g.ioa(a.statusCode));if(c=b["Heartbeat-Url"])a.heartbeatParams=new Vqa(c,parseInt(b["Heartbeat-Interval-Secs"],10)||60,parseInt(b["Heartbeat-Num-Retries"],10)||4);if(c=b["Authorized-Format-Types"])a.o=
c.split(",");if(c=b["Key-Ids"])a.A=Zqa(c);a.C=b["Next-Key-Id"];return a};
Zqa=function(a){if(!a)return{};var b={};(0,g.E)(a.split(";"),function(c){c=c.split(",");2==c.length&&(b[c[1]]=c[0])});
return b};
cT=function(a,b,c,d){g.L.call(this);this.message=a;this.number=b;this.C=c;this.o=d;this.A=new g.rE(5E3,2E4,.2)};
dT=function(a,b,c,d,e){g.L.call(this);this.F=a;this.K=b;this.J=c;this.o=d;this.A=e;this.sessionId="";this.H=this.G=this.B=this.D=null;this.Z=new g.sH(this);g.M(this,this.Z);this.o?(this.Z.R(this.o,"message",this.nO),this.Z.R(this.o,"keystatuseschange",this.oO),this.o.closed&&this.o.closed.then(iF((0,g.B)(this.mO,this)),null)):this.A&&(tH(this.Z,this.A,["mskeymessage","webkitkeymessage"],this.QE),tH(this.Z,this.A,["mskeyerror","webkitkeyerror"],this.PE),tH(this.Z,this.A,["mskeyadded","webkitkeyadded"],
this.OE))};
eT=function(a,b){g.L.call(this);this.A=a;this.o=b;this.F={};this.B=null;this.Z=new g.sH(this);g.M(this,this.Z);this.C=this.D=null};
bra=function(a){if(a.o.A)return a.o.A.createMediaKeys().then(iF(function(b){a.la()||(a.D=b,a.A.setMediaKeys(b))}));
FO(a.o)?a.C=new (EO())(a.o.o):IO(a.o)?(a.C=new (EO())(a.o.o),a.A.webkitSetMediaKeys(a.C)):ara(a);return null};
ara=function(a){tH(a.Z,a.A,["keymessage","webkitkeymessage"],a.rO);tH(a.Z,a.A,["keyerror","webkitkeyerror"],a.qO);tH(a.Z,a.A,["keyadded","webkitkeyadded"],a.pO)};
cra=function(a){return"widevine"==a.o.flavor&&a.o.ho&&a.D.setServerCertificate?a.D.setServerCertificate(a.o.ho):null};
dra=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode(parseInt(c.substr(e,2),16));c=a.o.Ig;e=new ArrayBuffer(2*d.length);for(var f=new Uint16Array(e),k=0;k<d.length;k++)f[k]=d.charCodeAt(k);d=new Uint8Array(e);e=0;k=new ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new Uint8Array(k);k=new DataView(k);f.set(b);e+=b.byteLength;k.setUint32(e,
d.length,!0);e+=4;f.set(d,e);e+=d.length;k.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f};
fT=function(a,b){var c=a.F[b.sessionId];!c&&a.B&&(c=a.B,a.B=null,c.sessionId=b.sessionId,a.F[b.sessionId]=c);return c};
hT=function(a,b,c,d,e,f){g.L.call(this);this.F=a;this.A=a.bf;this.B=e;this.C=b;this.cryptoPeriodIndex=d.cryptoPeriodIndex||NaN;this.aa=f;this.H=era(this);this.H.session_id=f;this.K=!0;"playready"==this.A.flavor&&(a=parseInt(b.experiments.C("playready_first_play_expiration"),10),!isNaN(a)&&0<=a&&(this.H.mfpe=""+a),b.experiments.o("html5_playready_keystatuses_killswitch")||(this.K=!1));"fairplay"==this.A.flavor?(a=d.initData.subarray(4),a=String.fromCharCode.apply(null,new Uint16Array(a.buffer,a.byteOffset,
a.byteLength/2)).replace("skd://","https://")):a=this.A.B;this.C.experiments.o("enable_shadow_yttv_channels")&&(a=new g.Pn(a),document.location.origin&&document.location.origin.includes("green")?g.Rn(a,"web-green-qa.youtube.com"):g.Rn(a,"www.youtube.com"),a=a.toString());e=a=this.L=a;var k=void 0===k?!1:k;sK(fra.test(e),e,k,"Drm Licensor URL")||gT(this,"drm.net",!0,"t.x");for(var l in this.H)a=Eh(a,l,this.H[l]);this.ba=a;this.Y=b.experiments.o("html5_use_drm_retry");this.P=0;this.J=this.M=!1;(0,g.JP)("drm_gk_s");
try{var m=c.createSession(d)}catch(n){b="t.g",n instanceof DOMException&&(b+=";c."+n.code),this.B.U("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),m=null}if(this.D=m)b=this.D,c=this.jO,k=this.iO,l=this.lO,b.D=this.kO,b.B=c,b.G=k,b.H=l,b.C=this,g.M(this,this.D);this.ga=d.A;this.G=[];this.o={};this.W=NaN};
era=function(a){var b={};g.kc(b,a.C.deviceParams);b.cpn=a.F.clientPlaybackNonce;var c=["23763106","23775802"].filter(function(d){return a.C.experiments.experiments[d]});
0<c.length&&(b.fexp=c.join());a.F.kf&&(b.vvt=a.F.kf,a.F.mdxEnvironment&&(b.mdx_environment=a.F.mdxEnvironment));a.C.Sc&&(b.authuser=a.C.Sc);a.C.pageId&&(b.pageid=a.C.pageId);isNaN(a.cryptoPeriodIndex)||(b.cpi=a.cryptoPeriodIndex);return b};
gra=function(a){var b={};g.kc(b,a.H);return b};
hra=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new DOMParser).parseFromString(b,"text/xml");return a?(a=a.querySelector("Challenge"))&&a.childNodes&&0!==a.childNodes.length?new Uint8Array(Oe(a.childNodes[0].data)):null:null};
ira=function(a,b){if("widevine"!=a.A.flavor)gT(a,"drm.provision",!0,"e.flavor;f."+a.A.flavor+";l."+b.byteLength);else{var c={cpn:a.F.clientPlaybackNonce};g.kc(c,a.C.deviceParams);c=g.zh("https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE",c);var d={format:"RAW",headers:{"content-type":"application/json"},method:"POST",postBody:JSON.stringify({signedRequest:gJ(b)}),responseType:"arraybuffer"};g.EG(c,d,3,500).then(iF(function(e){if(!a.la()){e=
new Uint8Array(e.response);var f=gJ(e);try{var k=JSON.parse(f)}catch(l){}k&&k.signedResponse?(a.B.U("ctmp","provisioning",""),a.D&&a.D.update(e)):(k=k&&k.error&&k.error.message,e="e.parse",k&&(e+=";m."+k),gT(a,"drm.provision",!0,e))}}),iF(function(e){a.la()||gT(a,"drm.provision",!0,"e."+e.errorCode+";c."+(e.aj&&e.aj.status))}))}};
iT=function(a){var b;if(b=a.K&&null!=a.D)a=a.D,b=!(!a.o||!a.o.keyStatuses);return b};
kra=function(a,b){(0,g.JP)("drm_net_s");if(a.C.experiments.o("use_innertube_drm_service_optin")){var c=new g.kI(a.C.dc),d={context:g.QH(c.wa)};d.drmSystem=jra[a.A.flavor];d.videoId=a.F.videoId;d.cpn=a.F.clientPlaybackNonce;d.sessionId=a.aa;d.licenseRequest=g.Me(b.message);d.drmParams=a.F.drmParams;isNaN(a.cryptoPeriodIndex)||(d.isKeyRotated=!0,d.cryptoPeriodIndex=a.cryptoPeriodIndex);var e={onSuccess:(0,g.B)(b.G,b),onError:(0,g.B)(b.F,b)};g.UH(c,"player/get_drm_license",d,e)}else c=a.ba,d=a.F.oauthToken,
e={format:"RAW",method:"POST",postBody:b.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.B)(b.D,b),onError:(0,g.B)(b.B,b)},d&&(c=Eh(c,"access_token",d)),g.cG(c,e)};
gT=function(a,b,c,d,e){a.la()||a.B.U("licenseerror",b,c,d,e);c&&a.dispose()};
lra=function(a,b){var c=b.A.getValue();c=new g.V(function(){return kra(a,b)},c);
g.M(a,c);c.start();g.sE(b.A)};
mra=function(a){return g.Ya(a,"UHD2")?"highres":g.Ya(a,"UHD1")?"hd2160":g.Ya(a,"HD")?"hd1080":g.Ya(a,"HD720")?"hd720":"large"};
nra=function(a,b){if(!iT(a)&&HO(a.A)&&!b)return"large";var c=[],d=!0;if(iT(a))for(var e in a.o)"usable"==a.o[e].status&&c.push(a.o[e].type),"unknown"!=a.o[e].status&&(d=!1);if(!iT(a)||d)c=a.G;return mra(c)};
ora=function(a){var b=a[0];a[0]=a[3];a[3]=b;b=a[1];a[1]=a[2];a[2]=b;b=a[4];a[4]=a[5];a[5]=b;b=a[6];a[6]=a[7];a[7]=b};
pra=function(a){if(iT(a)){var b=[],c;for(c in a.o)b.push.apply(b,[c,a.o[c].type,a.o[c].status]);a=b.join(";")}else a=a.G.join(";");return a};
qra=function(a,b,c,d){a=new Uint8Array(a);if(a=hra(a))a={format:"RAW",method:"POST",postBody:a,responseType:"arraybuffer",withCredentials:!0,timeout:3E4},c=Bba(c,d),g.EG(c,a,3,500).then(function(e){e=new Uint8Array(e.response);(e=$qa(e))&&e.message&&b.update(e.message)})};
sra=function(a,b){var c=rra(void 0===b?"auto":b),d;for(d in a.o)if("output-restricted"==a.o[d].status){var e=a.o[d].type;if(""==c||"AUDIO"==e||c==e)return!0}return!1};
rra=function(a){switch(a){case "highres":case "hd2880":return"UHD2";case "hd2160":case "hd1440":return"UHD1";case "hd1080":case "hd720":return"HD";case "large":case "medium":case "small":case "light":case "tiny":return"SD";default:return""}};
jT=function(a,b){for(var c in a.o)if("usable"==a.o[c].status&&a.o[c].type==b)return!0;return!1};
kT=function(){this.keys=[];this.values=[]};
lT=function(a,b,c){$S.call(this);var d=this;this.B=a;this.C=b;this.o=[];this.A=new g.V(function(){var e=d.o.shift().info;a:{var f=e.cryptoPeriodIndex;if(isNaN(f)&&0<d.C.values.length)f=!0;else{for(var k=g.r(d.C.values),l=k.next();!l.done;l=k.next())if(l.value.cryptoPeriodIndex==f){f=!0;break a}f=!1}}f||d.U("rotated_need_key_info_ready",e);0<d.o.length&&(e=d.o[0].time-(0,g.J)(),d.A.start(Math.max(0,e)))},0);
g.M(this,this.A);c.subscribe("widevine_set_need_key_info",this.D,this)};
mT=function(a,b,c){g.vH.call(this);a&&(a.addKey||a.webkitAddKey)||EO()||Kla(c.experiments);this.J=a;this.D=b;this.o=b.bf;this.B=c;this.subscribe("newlicense",this.wS,this);this.subscribe("newsession",this.xS,this);this.subscribe("sessionready",this.GT,this);this.subscribe("keystatuseschange",this.sO,this);this.subscribe("hdentitled",this.DR,this);this.ka=b.drmSessionId||g.zI();this.A=new kT;this.aa=null;this.C=[];this.H="fairplay"==this.o.flavor?jN:this.B.experiments.o("html5_drm_start_from_null_constraint")?
jN:tra;this.M=null;this.K=new eT(a,this.o);g.M(this,this.K);this.F=null;FO(this.o)&&(this.F=new eT(a,this.o),g.M(this,this.F));this.ea=2;this.Z=new g.sH(this);g.M(this,this.Z);this.ia=this.ba=!1;this.ga=null;this.W=!1;a=this.J;this.o.A?this.Z.R(a,"encrypted",this.oR):tH(this.Z,a,FO(this.o)?["msneedkey"]:["needkey","webkitneedkey"],this.uS);(a=bra(this.K))?a.then(iF((0,g.B)(this.aS,this)),iF((0,g.B)(this.vQ,this))):this.W=!0;this.F&&bra(this.F);this.ma=!!this.D.bf&&"widevine"==this.D.bf.flavor&&!this.D.Da&&
(this.B.experiments.o("html5_skip_widevine_innertube_drm_heartbeats")||!this.D.Dv);this.L=this.Y=this.P=!1;a:{a=this.o;b=this.B.experiments;c=this.A;switch(a.flavor){case "fairplay":if(b=b.o("html5_enable_fairplay_key_rotation")){if(c=/\sCobalt\/(\S+)\s/.exec(g.Jb)){b=[];c=g.r(c[1].split("."));for(var d=c.next();!d.done;d=c.next())d=parseInt(d.value,10),0<=d&&b.push(d);b=parseFloat(b.join("."))}else b=NaN;b=19.2999<b}b?(b=a.lm,a=a.km,a>=b&&(a=.75*b),c=.5*(b-a),a=new bT(c,b,b-c-a,this)):a=null;break a;
case "widevine":a=new lT(b.o("disable_license_delay"),c,this);break a}a=null}if(this.G=a)g.M(this,this.G),this.G.subscribe("rotated_need_key_info_ready",this.cA,this)};
ura=function(a,b,c){a.ia=!0;0!=a.C.length&&a.D.Ea&&a.D.Ea.o?nT(a):oT(a,new aT(b,c))};
wra=function(a,b){if(FO(a.o)&&!a.P){var c=Soa(b);if(0!=c.length){var d=new aT(c);a.P=!0;navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(e){e.createMediaKeys().then(function(f){vra(a,f,d)})},null)}}};
vra=function(a,b,c){var d=b.createSession(),e=a.A.values[0],f=gra(e);d.addEventListener("message",function(k){qra(k.message,d,a.o.B,f)});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(k,l){"usable"==l&&(a.Y=!0,xra(a,nra(e,a.Y)))})});
d.generateRequest("cenc",c.initData)};
oT=function(a,b){a.la()||a.ba&&a.ma||(a.ba=!0,"widevine"==a.o.flavor?(Wqa(b),a.U("widevine_set_need_key_info",b)):a.cA(b))};
pT=function(a){a.la()||(a.W=!0,nT(a))};
nT=function(a){if(a.ia&&a.W&&!a.L){for(;a.C.length;){var b=a.C[0];if(a.A.get(b.initData))if("fairplay"==a.o.flavor)a.A.remove(b.initData);else{a.C.shift();continue}Wqa(b);break}if(a.C.length){b=a.C[0];a.A.get(b.initData);a.L=!0;var c=new hT(a.D,a.B,a.K,b,a,a.ka);a.A.set(b.initData,c)}}};
xra=function(a,b){var c=hN("auto",b,!1,"l");if(a.B.experiments.o("html5_drm_start_from_null_constraint")){if(gN(a.H,c))return}else if(mN(a.H,b))return;a.H=c;a.U("qualitychange")};
yra=function(a,b){this.videoData=a;this.Ea=b};
zra=function(a,b,c){return g.qna(b,c).then(function(){return new yra(b,b.Ea)},function(d){d instanceof Error&&g.jF(d);
d=b.Da&&!g.aN(a.G)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.we,f18:""+ +(0<=b.wl.indexOf("itag=18")),c18:""+ +lM('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=b.wl.indexOf("itag=43")),c43:""+ +lM('video/webm; codecs="vp8.0, vorbis"')};b.oa&&(e.f133=""+ +!!b.oa.o["133"],e.f140=""+ +!!b.oa.o["140"]);return new tM(d,!0,e)})};
qT=function(a,b){g.vH.call(this);this.o=a;this.J=b;this.H=this.D=this.A=this.B=this.G=this.C=0;this.F=1};
Bra=function(a,b,c){g.kO(a.o)&&(c=kN(c,Ara(a,b)));return c};
Ara=function(a,b){if(g.kO(a.o)&&OM(a.o.G,SM))var c=b.Ea.videoInfos[0].Aa().zc;else{c=!!b.Ea.o;var d;cO(a.o)&&(d=window.screen&&window.screen.width?new g.Qd(window.screen.width,window.screen.height):null);d||(d=a.o.Kl?a.o.Kl.clone():a.J.getPlayerSize());(WN||rT||c)&&d.scale(g.uO());c=d;var e=b.Ea.videoInfos;if(e.length){d=.85;var f=e[0].Aa();4!=f.projectionType&&2!=f.projectionType&&3!=f.projectionType||aO||(d=.45);f=e[0];var k=f.Aa();e=g.r(e);for(var l=e.next();!l.done&&!(f=k=l.value,k=k.Aa(),null===
c||k.width*d<c.width&&k.height*d<c.height);l=e.next());c=hN("auto","93"==aK(f)?cL(k.width,k.height):k.quality,!1,"r")}else c=jN;c=c.o}c&&(c=Math.max(c,360));return new fN(0,c,!1,"r")};
Cra=function(a,b){var c;a:if((c=b.Ea)&&c.videoInfos.length&&null!=c.videoInfos[0].C){for(var d=g.r(c.videoInfos),e=d.next();!e.done;e=d.next())if(e=e.value,e.C){c=e.Aa().zc;break a}c=c.videoInfos[0].Aa().zc}else c=0;(iG("armv7")||iG("android"))&&!g.kO(a.o)&&kL(b.Ea.videoInfos[0])&&(c=Math.min(c,g.dL.large));return new fN(0,c,!1,"o")};
Dra=function(a){var b,c,d,e;return xa(function(f){if(1==f.o)return b=a.Ea.videoInfos,ua(f,wma(b),2);c=g.r(b);for(d=c.next();!d.done;d=c.next())e=d.value,e.C||sN(e.A,e.Aa().fps,e.Aa().zc-1);f.o=0})};
Hra=function(a,b,c){var d=a.o.experiments.A("html5_df_downgrade_thresh"),e=a.na("html5_log_media_perf_info");if(!d&&!e||!c||!b||!b.videoData.Ca)return!1;var f=g.PH();if(5E3>f-a.B)return!1;a.B=f;c=c.Dq();if(!c)return!1;f=c.droppedVideoFrames-a.D;var k=c.totalVideoFrames-a.H;a.D=c.droppedVideoFrames;a.H=c.totalVideoFrames;e&&a.U("ctmp","ddf","dr."+c.droppedVideoFrames+";de."+c.totalVideoFrames);if(!d||g.kO(a.o)||!Era(a,b))return!1;a.A=60<k&&f/k>d?a.A+1:0;if(3!=a.A)return!1;Fra(a,b.videoData.Ca);a.U("ctmp",
"dfd",Gra());return!0};
Era=function(a,b){if(a.na("html5_restore_perf_cap"))return!0;if(!b.videoData.Ca)return!1;if("1"==b.videoData.Ca.A)return!0;var c=a.o.A?240:360;return b.videoData.Ca.Aa().zc>c};
Fra=function(a,b){var c=b.Aa().zc-1;sN(b.A,b.Aa().fps,c);a.o.Fj=new fN(0,c,!1,"b")};
Ira=function(a,b){if(a.na("html5_restore_perf_cap")){for(var c=0,d=a.o.A?240:360,e=g.r(b.Ea.videoInfos),f=e.next();!f.done;f=e.next()){var k=f.value;f=tN(k.A,k.Aa().fps);k=k.Aa().zc;if(!f||Math.max(f,d)>=k){c=k;break}}return new fN(0,c,!1,"b")}return a.o.Fj};
Jra=function(a,b){a.na("html5_log_media_perf_info")&&(a.U("ctmp","perfdb",Gra()),a.U("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.U("ctmp","mcdb",b.Ea.videoInfos.filter(function(c){return!1===c.C}).map(function(c){return aK(c)}).join("-")))};
Gra=function(){var a=g.Pb(rN(),function(b){return""+b});
return uM(a)};
sT=function(a){this.A=window.Float32Array?new Float32Array(a):Array(a);this.C=this.o=a-1};
Kra=function(a){return a.A[a.o]||0};
Lra=function(a){this.B=new sT(50);this.o=null;this.C=this.A=0;this.D=a};
Nra=function(a,b,c){g.vH.call(this);var d=new Mra;"ULTRALOW"==a.latencyClass&&(d.B=!1);a.Wm?d.A=3:g.TP(a)&&(d.A=2);b.o("html5_adaptive_seek_to_head_killswitch")||"NORMAL"!=a.latencyClass||(d.F=!0);var e=lna(a);d.D=2==e||-1==e;d.D&&(d.K++,21530001==GP(a)&&(d.G=b.A("html5_jumbo_ull_nonstreaming_mffa_ms")||NaN));if(iG("trident/")||iG("edge/"))e=b.A("html5_platform_minimum_readahead_seconds")||3,d.C=Math.max(d.C,e);b.A("html5_minimum_readahead_seconds")&&(d.C=b.A("html5_minimum_readahead_seconds"));b.A("html5_maximum_readahead_seconds")&&
(d.H=b.A("html5_maximum_readahead_seconds"));b.o("html5_force_adaptive_readahead")&&(d.B=!0);b.A("html5_allowable_liveness_drift_chunks")&&(d.o=b.A("html5_allowable_liveness_drift_chunks"));b.A("html5_readahead_ratelimit")&&(d.J=b.A("html5_readahead_ratelimit"));switch(GP(a)){case 21530001:d.o=(d.o+1)/5,"LOW"==a.latencyClass&&(d.o*=2),d.L=b.o("html5_live_smoothly_extend_max_seekable_time")}this.o=d;this.B=a;this.K=c;this.C=[];this.D=0;this.F=!0;this.G=1!=this.o.A;this.H=!1;this.J=0;b=isNaN(a.liveChunkReadahead)?
3:a.liveChunkReadahead;a.Wm&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(GP(a)){case 21530001:b=1;break;case 2153E4:b=2}this.o.D&&b++;this.A=tT(this,b)};
Ora=function(a,b){var c=a.A;(void 0===b?0:b)&&a.o.L&&3==lna(a.B)&&--c;return uT(a)*c};
wT=function(a,b){var c=vT(a);var d=a.o.o;a.H||(d=Math.max(d-1,0));d*=uT(a);return b>=c-d};
vT=function(a){return Math.max(a.K()-Ora(a,!0),a.B.gc())};
Pra=function(a,b,c){b=wT(a,b);c||b?b&&(a.F=!0):a.F=!1;a.G=2==a.o.A||3==a.o.A&&a.F};
Qra=function(a,b){var c=wT(a,b);a.H!=c&&a.U("livestatusshift",c);a.H=c};
uT=function(a){return a.B.oa?hM(a.B.oa)||5:5};
tT=function(a,b){b=Math.max(Math.max(a.o.K,Math.ceil(a.o.C/uT(a))),b);return Math.min(Math.min(8,Math.floor(a.o.H/uT(a))),b)};
Mra=function(){this.K=1;this.C=0;this.H=Infinity;this.J=0;this.B=!0;this.o=2;this.A=1;this.D=!1;this.G=NaN;this.L=this.F=!1};
yT=function(a,b){g.vH.call(this);var c=this;this.ia=b;var d={};this.ga=(d.seekelementrequired=this.tV,d.seekplayerrequired=this.sV,d.videoformatchange=this.QO,d);this.na("html5_unrewrite_timestamps")&&(this.ga.timestamp=this.EV);this.o=a;this.ma=null;this.ka=new Rra(b);this.ea=new g.sH;g.M(this,this.ea);this.K=this.B=this.F=this.A=null;this.C=NaN;this.H=0;this.G=null;this.W=NaN;this.J=this.L=null;this.ba=this.M=!1;this.ua=new g.V(function(){var e={tgt:c.C};c.F&&g.Oa(e,c.F.Eb());c.A&&g.Oa(e,c.A.Eb());
isFinite(c.C)&&0<c.C&&c.A&&xT(c)&&!c.A.getCurrentTime()&&(c.A.seekTo(c.C-c.D),e.elem="1");var f;if(f=c.F)f=c.F,f=Uqa(f.o)||Uqa(f.B);f||c.U("ctmp","seektimeout",uM(e))},1E4);
g.M(this,this.ua);this.Y=new g.V(function(){c.M=!0;Sra(c)});
g.M(this,this.Y);this.D=0;this.P=!0;this.aa=!1};
Tra=function(a,b){a.ma=b;a.o.Da&&(a.K=new Lra(function(){a:{if(a.ma&&a.ma.Ea.o){if(FP(a.o)&&a.F){var c=a.F.xa.o()||0;break a}if(a.o.oa){c=a.o.oa.H;break a}}c=0}return c}),a.B=new Nra(a.o,a.ia.experiments,function(){return a.Tc(!0)}));
a.o.startSeconds&&isFinite(a.o.startSeconds)&&1E9<a.o.startSeconds||(a.H=a.H||a.o.startSeconds||0)};
BT=function(a,b){g.uH(a.ea);(a.A=b)?Ura(a):zT(a);a.ka.o&&a.A&&AT(a)};
DT=function(a,b){a.F&&xH(a.F,a.ga,a);(a.F=b)?(wH(b,a.ga,a),CT(a,!0)):zT(a)};
ET=function(a){return!!a.B&&a.B.G};
CT=function(a,b){if(a.B&&a.F){var c=!1;if(b)c=!0;else if(a.o.isLowLatencyLiveStream||"LOW"==a.o.latencyClass||"ULTRALOW"==a.o.latencyClass)if(c=a.B,c.C.length){var d=c.A;b:{if(c.C.length){if(1<Math.min.apply(null,c.C)){var e=tT(c,c.A-1);break b}if(c.o.B){e=tT(c,c.A+1);break b}}e=c.A}c.A=e;if(d=d!=c.A)c.C=[],c.D=0;c=d}else c=!1;c&&a.U("livereadaheadchanged",Ora(a.B));c=a.F;d=a.B.A;e=a.B;e=(e.A-1+e.o.o)*uT(e);var f=a.B.o.G;c.Ia=Math.max(d-1,0);c.H&&(c.H.M=e);c.yb=f}};
FT=function(a){return a.o.Da&&!!a.o.Ea&&!a.o.Ea.o};
Sra=function(a){Vra(a).then(void 0,function(){zT(a)});
Wra(a).then(function(b){a.J&&(a.J.resolve(b),a.U("seekend"));zT(a)},function(){zT(a)});
a.ua.start();a.U("seekstart")};
Vra=function(a){if(!a.L)if(a.F)if(isFinite(a.C))a.L=a.F.seek(a.C-a.D);else{var b=a.F;QS(b);b.H&&iqa(b.H,b.o.A);var c=Math.max(Gpa(b.o.C),Gpa(b.B.C)),d=b.o;d.G=!0;d.F=-1;qS(d,Infinity);d.C.D=c;d.H=c;d=b.B;d.G=!0;d.F=-1;qS(d,Infinity);d.C.D=c;d.H=c;d=b.F;for(var e in d.o)SI(d.o[e].index,Infinity);b.A.ea&&(b.W=!0,b.Ga=!0);b.D=c;b.M=!0;g.Av(b.ea);b.ma=new NS;a.L=b.ma;a.C=a.F.getCurrentTime()+a.D}else a.L=Ng(a.C-a.D);return a.L};
Wra=function(a){a.G||(a.G=new NS,AT(a));return a.G};
Xra=function(a,b,c){return isNaN(b)?NaN:g.Jd(b,a.gc(),a.Tc(c))};
AT=function(a){if(a.G&&(!a.na("html5_nondash_live_seek_killswitch")&&FT(a)&&a.A&&0<a.A.De()&&0<zQ(a.A)&&(a.C=Xra(a,a.C,!1)),a.A&&xT(a)&&!isNaN(a.C)&&isFinite(a.C)&&a.W!=a.C-a.D))if(a.aa&&a.A.getCurrentTime()>=a.C)a.G&&a.G.resolve(a.A.getCurrentTime());else if(!a.o.Da&&a.C>=a.Tc()-.1)a.C=a.Tc(),a.G.resolve(a.Tc()),a.U("ended");else try{a.A.seekTo(a.C-a.D),a.W=a.C-a.D,a.H=a.C}catch(b){}};
xT=function(a){if(!a.A||0==a.A.De()||a.ka.A&&0<a.A.Fb())return!1;var b=0<a.A.getCurrentTime();if(0<=a.C){var c=a.A.Ip();if(c.length||!b)return 0<=xM(c,a.C-a.D)}return b};
zT=function(a){a.C=NaN;a.W=NaN;a.G=null;a.L=null;a.J=null;a.M=!1;a.ba=!1;a.aa=!1;a.ua.stop();a.Y.stop()};
Ura=function(a){if(a.A)for(var b=g.r(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.ea.R(a.A,c.value,function(d){switch(d.type){case "seeking":d=a.A.getCurrentTime()+a.D;if(!a.G||a.ba&&d!=a.C)a.G=new NS,a.W=d,a.seekTo(d,!0),a.ba=!0;break;case "seeked":a.G&&a.G.resolve(a.A.getCurrentTime());break;case "loadedmetadata":if(a.P){d=!1;if((UP(a.o)||a.o.liveUtcStartSeconds)&&(a.o.liveUtcStartSeconds||a.o.startSeconds&&isFinite(a.o.startSeconds)&&1E9<a.o.startSeconds)&&
a.o.oa){d=a.o.liveUtcStartSeconds||a.o.Eh;var e=a.Tc();var f=a.Tc();f=iM(a.o.oa,f-a.D);a.seekTo(e-f+d);d=!0}else a.o.oa&&a.o.oa.A&&a.o.Eh?(a.seekTo(a.o.Eh+a.Vc()),d=!0):a.na("html5_unrewrite_timestamps")&&a.o.Rr&&(a.seekTo(a.o.Rr),d=!0);d&&(a.P=!1)}else d=!1;a.na("html5_nondash_live_seek_killswitch")&&!d&&FT(a)&&(a.C=isFinite(a.C)?g.Jd(a.C,a.gc(),a.Tc()):a.Tc());case "progress":AT(a)}})};
Yra=function(a){if(!a.A)return 0;if(UP(a.o)){var b=noa(a.A)+a.D-a.gc();a=a.Tc()-a.gc();return Math.max(0,Math.min(1,b/a))}return BQ(a.A)};
Rra=function(a){this.A=!a.experiments.o("html5_element_ready_error_check_killswitch");this.C=a.experiments.o("html5_live_smoothly_extend_max_seekable_time");this.o=!a.experiments.o("html5_check_media_element_on_set_killswitch")};
Zra=function(){var a=RG("visibilityState",document);return!(!a||"visible"==a)};
asa=function(a){var b=$ra();b&&document.addEventListener(b,a,!1)};
bsa=function(a){var b=$ra();b&&document.removeEventListener(b,a,!1)};
$ra=function(){if(document.visibilityState)var a="visibilitychange";else{if(!document[QG+"VisibilityState"])return"";a=QG+"visibilitychange"}return a};
GT=function(){g.vH.call(this);this.C=0;this.B=this.A=this.o=this.D=!1;this.F=(0,g.B)(this.Jk,this);asa(this.F);this.G=this.getVisibilityState(this.A,this.isFullscreen(),this.o,this.isInline(),this.B)};
csa=function(a,b){a.A!=b&&(a.A=b,a.Jk())};
HT=function(a,b){a.B!=b&&(a.B=b,a.Jk())};
IT=function(){g.L.call(this);this.C={};this.o={};this.A=new g.V(this.pV,250,this);g.M(this,this.A)};
JT=function(a,b){if(a.o[b]){var c=a.o[b].buffer;for(var d=[];c.C!=c.o;)c.C=(c.C+1)%c.A.length,d.push(c.A[c.C]);c=d}else c=[];return c};
KT=function(a,b){return a.o[b]?Kra(a.o[b].buffer):0};
LT=function(a){this.A=a;this.buffer=new sT(100);this.o=NaN};
MT=function(){this.A=this.o=!1};
OT=function(a,b,c,d,e,f,k){g.vH.call(this);var l=this;this.F=a;this.za=new ooa(this.na("html5_min_has_advanced"));this.aa=c;this.jb=d;this.wg=f;this.M=k;c=(0,g.B)(function(m,n){m!=g.lR("endcr")||g.X(this.C,32)||NT(this);e(m,n)},this);
this.L=new LS((0,g.B)(this.getCurrentTime,this),(0,g.B)(this.getPlaybackRate,this),(0,g.B)(this.getPlayerState,this),c,a);g.M(this,this.L);this.H=null;this.yb=[];this.Y=null;this.W=new qT(a,this.jb);g.M(this,this.W);this.W.subscribe("ctmp",this.xb,this);this.uc=!0;this.J=this.D=null;this.P=[];this.ba=new MT;this.K=this.ua=null;this.ga=new MT;this.Ia=null;this.Pd=this.Od=this.xg=this.ia=!1;this.Pb=NaN;this.C=new g.FQ;this.Qb=[];this.Xa=b;this.xa=new g.sH;g.M(this,this.xa);this.o=new g.yP(a);this.A=
null;this.ma=new g.V((0,g.B)(this.RR,this),15E3);g.M(this,this.ma);this.B=null;this.sd=this.Ga=!1;this.ya=NaN;this.xc=this.Ma=this.Oa=!1;this.Fc=NaN;this.ea=new IT;g.M(this,this.ea);this.ea.Cb("bufferhealth",function(){var m=l.G;return m.A?AQ(m.A):0});
this.ea.Cb("bandwidth",(0,g.B)(this.IK,this));this.ea.Cb("networkactivity",(0,g.B)(this.PK,this),!0);this.ea.Cb("livelatency",(0,g.B)(this.EB,this));this.ea.Cb("rawlivelatency",(0,g.B)(this.HB,this));this.ea.start();this.td=!1;this.dc=!0;this.gd=NaN;this.Nd=!1;this.Sa=1;this.Ra=(0,g.B)(this.CN,this);asa(this.Ra);this.M.subscribe("visibilitystatechange",this.Ra);this.yg=this.vg=this.lf=0;dsa(this);this.ka=null;this.ce=!1;this.rd=[];this.Rc=this.zg=0;this.Ag=!1};
PT=function(a){g.YH()?g.ZH(a.ya):g.qF(a.ya)};
WT=function(a,b,c,d){d=void 0===d?!0:d;a.P.length=0;a.ua=null;a.ba.reset();a.ga.reset();a.Ga=!1;a.gd=NaN;a.uc=!0;a.na("html5_clear_play_promise_killswitch")||(a.Ia=null);a.A&&a.A.stopVideo();QT(a);RT(a);ST(a);PT(a);a.ea.clear();g.Of(a.o);if(2==a.Xa||a.F.gq)b.EC=!0;var e=a.F.o;var f=a.F.Ob,k;(k=b.mx)||(k=(k=b.Cy)&&Xb(esa,k)&&Xb(fsa,k)?fsa[k]+"_"+esa[k]:void 0);if(k){var l=k.match(gsa);if(l&&5==l.length){if(l=k.match(gsa)){var m=parseInt(l[3],10),n=[7,8,10,5,6];l=!(1==parseInt(l[1],10)&&8==m)&&0<=n.indexOf(m)}else l=
!1;e=e||f||l?k:null}else e=null}else e=null;e&&(b.adFormat=e);2==a.Xa&&(b.kj=!0);if(a.M.isFullscreen()||a.F.o)e=g.KI("yt-player-autonavstate"),b.autonavState=e||(a.F.o?2:a.o.autonavState);a.dc=d;a.o=b;a.o.subscribe("dataupdated",a.sU,a);a.o.subscribe("dataloaded",a.Tt,a);a.o.subscribe("dataloaderror",a.cn,a);a.o.subscribe("onStatusFail",a.rU,a);hsa(a,b);isa(a,c);a.Oa=!1;TT(a,"newdata");UT(a,new g.FQ);b=a.G;c=a.o;zT(b);b.o=c;b.B=null;b.K=null;b.D=0;b.H=0;b.P=!0;b=a.o.adaptiveFormats;c=/&index=0-0&/;
a.na("html5_index_range_auth")&&c.test(b)&&g.VT(a,"auth",void 0,"index")};
isa=function(a,b){RT(a);if(!a.o.pl){var c=new coa(a.o,a.F,b,(0,g.B)(a.getDuration,a),(0,g.B)(a.getCurrentTime,a),(0,g.B)(a.RK,a),(0,g.B)(a.jb.getPlayerSize,a.jb),(0,g.B)(a.getAudioTrack,a),(0,g.B)(a.getPlaybackRate,a),(0,g.B)(a.Eu,a),a.wg,(0,g.B)(a.jL,a),function(){(0,g.JP)("qoes",void 0,"")});
a.B=new bR(c)}};
RT=function(a){if(a.B){var b=a.B;if(!b.la()&&b.B){b.F="paused";var c=woa(b);c.isFinal=!0;c.send();c=b.A;"PL"==c.C&&(c.C="N");var d=g.xQ(c.o);g.RQ(c,d,"vps",[c.C]);c.D(d);g.qF(b.D);b.dispose()}g.Of(a.B);a.B=null}};
XT=function(a){return a.A&&a.A.Ph()?a.A.sa():null};
ZT=function(a){if(a.o.isValid())return!0;g.VT(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
bU=function(a,b){a.ia=void 0===b?!1:b;if(!ZT(a)||a.ba.o)$T(a)&&a.ba.o&&!a.ba.isFinished()&&!a.ia&&a.Tt();else{a.ba.start();if(a.B){var c=a.B.A;g.xQ(c.o);c.o.videoData.Kn&&WQ(c,c.o.videoData.Kn);c.o.videoData.Sk?WQ(c,"prefetch"):(c.A.user_intent=["0"],c.H=!0);c.o.videoData.qg&&(TQ(c,"reload",c.o.videoData.reloadReason),TQ(c,"reloadcount",c.o.videoData.qg.toString()));c.o.videoData.Wm&&WQ(c,"monitor");c.o.videoData.Da&&WQ(c,"live");c.o.videoData.Df&&TQ(c,"ctrl",c.o.videoData.Df,!0);c.o.videoData.Ef&&
TQ(c,"ytp",c.o.videoData.Ef,!0);if(c.o.videoData.CF){var d=c.o.videoData.CF.replace(/,/g,".");TQ(c,"ytrexp",d,!0)}c.o.videoData.chapterMarkers.length&&WQ(c,"chaptermarkers");if(!c.o.o.experiments.o("html5_disable_gpu_reporting")){var e=c.o.o.experiments;d=c.o.videoData;e=e.o("enable_white_noise")||e.o("enable_webgl_noop")||e.o("enable_gpu_logging");var f=d.Qi()||d.Qg()||d.Rg()||d.Vf(),k=d.Ea&&"1"==g.Ra(d.Ea.videoInfos).A&&/^g/.test(d.clientPlaybackNonce);d=/^gp/.test(d.clientPlaybackNonce);(e||f||
d||k)&&(d=(0,g.aU)())&&(c.A.gpu=[d])}c.ba=g.pF((0,g.B)(c.D,c),1E4)}a.Tt()}};
$T=function(a){return a.F.experiments.o("tvhtml5_disable_live_prefetch")&&g.kO(a.F)&&a.o.Da};
jsa=function(a){g.X(a.C,128)||(a.o.Jb(),a.dc=!0,4!=a.Xa&&(a.P=g.ib(a.o.Pc)),una(a.o)?(cU(a).then(function(){a.la()||(a.ia&&dU(a),hsa(a,a.o),a.ba.A=!0,TT(a,"dataloaded"),a.ga.o?eU(a):a.ia&&UT(a,IQ(IQ(a.C,512),1)),Jra(a.W,a.K))}),a.xb("loudness",""+a.o.oj.toFixed(3),!0),a.o.Eh&&a.xb("startSeconds",""+a.o.Eh)):TT(a,"dataloaded"))};
cU=function(a){ST(a);a.na("html5_playVideo_async_killswitch")||(a.K=null);var b=zra(a.F,a.o,a.M.A);a.ua=b;a.ua.then((0,g.B)(a.LS,a),(0,g.B)(a.MS,a));return b};
fU=function(a){a.A&&a.A.Lf();bU(a);ZT(a)&&!g.X(a.C,128)&&(a.ga.o||(a.ga.start(),UT(a,IQ(IQ(a.C,8),1))),eU(a))};
eU=function(a){if(!a.ga.isFinished()&&a.ba.isFinished()&&!g.X(a.C,128)&&!a.P.length){if(!a.L.D){var b=a.L;b.D=!0;b.A()}if(!gU(a)){a.D&&(b=a.D.ia,a.xg=!!b.o&&!!b.B);a.ga.isFinished()||(a.ga.A=!0);!a.o.Da||0<a.o.Eh&&!FP(a.o)||(a.seekTo(Infinity,!0),hU(a,"readying"),a.M.isBackground()&&(a.sd=!0));if(a.B&&(b=a.B,b.o.videoData.fm&&b.o.videoData.pp&&(b.Er("connected"),zoa(b)),b.o.videoData.Da)){b=b.A;var c=b.o.videoData.oa;FP(b.o.videoData)&&WQ(b,"manifestless");c&&hM(c)&&WQ(b,"live-segment-"+hM(c).toFixed(1))}a.U("playbackready",
a);uP("pbr","")||((0,g.JP)("pbr",void 0,""),vP("pbr"))}}};
NT=function(a,b,c){b=void 0===b?!0:b;(void 0===c||c)&&a.A&&a.A.pause();b=b?new g.FQ(14):new g.FQ;UT(a,b)};
hsa=function(a,b){if(b.endSeconds&&b.endSeconds>b.startSeconds){var c=b.endSeconds;a.Y&&(a.removeCueRange(a.Y),a.Y=null);a.Y=new g.jR(1E3*c,0x7ffffffffffff);a.Y.namespace="endcr";a.addCueRange(a.Y)}};
jU=function(a,b,c,d){a.o.Ca=c;d&&ksa(a,b,d);if(a.B){var e=g.iU(a);d=a.B.A;e=new Xna(a.o,c,b,e?aK(e):"");c=g.xQ(d.o);g.RQ(d,c,"vfs",[e.o.id,e.A,d.ma,e.reason]);d.ma=e.o.id;e=d.o.H();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=g.uO();1<f&&e.push(f);g.RQ(d,c,"view",e)}d.P||(d.o.videoData.Hh&&WQ(d,"rqs"),d.o.videoData.oa&&TL(d.o.videoData.oa)&&(d.A.preload=["1"]));d.P=!0;g.RQ(d,c,"vps",[d.C]);d.D(c)}d=a.W;d.C=0;d.A=0;a.U("internalvideoformatchange",a.o,"m"==b)};
g.iU=function(a){var b=kU(a);return iN(b)||!a.K?null:g.Ua(a.K.Ea.videoInfos,(0,g.B)(b.B,b))};
ksa=function(a,b,c){if(c!=a.o.Hc){var d=!a.o.Hc;a.o.Hc=c;"m"!=b&&(b=d?"i":"a");if(a.B){var e=a.B.A;c=new Xna(a.o,c,b,"");var f=g.xQ(e.o);c.o.id!=e.M&&(g.RQ(e,f,"afs",[c.o.id,e.M,c.reason]),e.M=c.o.id)}d||a.U("internalaudioformatchange",a.o,"m"==b)}};
g.VT=function(a,b,c,d,e){var f,k;g.Yb(lsa,c)?f=c:c?k=c:f="GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:k||g.lU[f]||"",messageKey:f,subreason:e||""};TT(a,"dataloaderror");UT(a,HQ(a.C,128,b));PT(a);ST(a);g.mU(a)};
msa=function(a,b){a.P=a.P.filter(function(c){return b!=c});
a.ga.o&&eU(a)};
gU=function(a){var b;(b=!!a.P.length)||(a=a.L.o.o[0],b=!!a&&-0x8000000000000>=a.start);return b};
nU=function(a){return!!a.A&&a.A.isView()};
pU=function(a,b){if(a.A&&b.sa()==a.A.sa()&&(b.isView()||a.A.isView())){if(b.isView()||!a.A.isView())g.uH(a.xa),a.A=b,nsa(a),BT(a.G,a.A)}else{a.A&&oU(a);if(!a.C.isError()){var c=JQ(a.C,512);g.X(c,8)&&!g.X(c,2)&&(c=IQ(c,1));UT(a,c)}a.A=b;a.A.setLoop(a.Nd);a.A.setPlaybackRate(a.Sa);nsa(a);osa(a);BT(a.G,a.A)}};
osa=function(a){if(a.F.experiments.o("html5_prewarm_mse")&&$M()&&KM()&&a.A)try{a.A.fr()}catch(b){}};
oU=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;if(a.A){var d=a.getCurrentTime();0<d&&(a.G.H=d);BT(a.G,null);qU(a);a.D&&(g.Av(a.D.ea),rU(a,c));a.ma.stop();if(a.A){!a.ga.o||a.C.isError()||g.X(a.C,2)||UT(a,IQ(a.C,512));g.uH(a.xa);if(b||!a.A.isView())a.A.stopVideo(),QT(a);a.A=null}}};
psa=function(a){if(!a.K)return[];var b=Bra(a.W,a.K,sU(a,!0));b=b||jN;a=(0,g.re)(a.K.Ea.videoInfos,(0,g.B)(b.B,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].Aa();c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
kU=function(a){if(a.K){var b=a.W;var c=a.K,d=sU(a);a=a.M.isBackground();var e=hN("auto",pN(),!1,"s"),f=b.o.experiments.o("html5_break_sticky")&&/^i/.test(c.videoData.clientPlaybackNonce);if(iN(e)||f){e=kN(Ara(b,c),Cra(b,c));f=0;!b.o.A||g.dO(b.o)||sG()||b.o.experiments.o("mweb_uniplayer_auto_quality")||b.o.experiments.o("hls_for_vod")||(f=g.dL.medium);var k=b.o.experiments.A("html5_default_quality_cap");if(k){var l=!!c.Ea.o&&!c.videoData.Df,m=b.o.experiments.A("html5_quality_cap_min_age_secs");l&&
m&&(l=b.o.schedule.H,l=g.PH()-l>1E3*m);l&&(f=f?Math.min(f,k):k)}if(m=k=b.o.experiments.A("html5_hfr_quality_cap"))a:{m=c.Ea;if(m.o)for(m=g.r(m.videoInfos),l=m.next();!l.done;l=m.next())if(32<l.value.Aa().fps){m=!0;break a}m=!1}m&&(f=f?Math.min(f,k):k);f=new fN(0,f,!1,"d");e=kN(e,f);f=b.o.experiments.A("html5_background_quality_cap");k=b.o.experiments.A("html5_background_cap_idle_secs");a=!f||"auto"!=pN()||eI()/1E3<k?jN:a?new fN(0,f,!1,"v"):jN;a=kN(e,a);e=(e=b.o.experiments.A("html5_autonav_quality_cap"))&&
c.videoData.tk?new fN(0,e,!1,"e"):jN;a=kN(kN(kN(a,e),Ira(b,c)),c.videoData.TG);e=new fN(0,0,!1,"o");1<b.F&&(e=new fN(0,480,!0,"o"));e=kN(a,e)}b.o.experiments.o("html5_ignore_sticky_for_medcap")&&(e=kN(e,Cra(b,c)));b=kN(kN(kN(c.videoData.ls,e),c.videoData.It),d)}else b=jN;return b};
sU=function(a,b){if(a.H){var c=a.H;var d=void 0===b?!1:b;d=void 0===d?!1:d;c=!c.B.experiments.o("html5_drm_entitled_qualitycap_on_edge_killswitch")&&d&&c.M?c.M:c.H}else c=a.o,c=c.Ea&&c.Ea.videoInfos.length&&a.o.oa&&SL(a.o.oa)?a.F.experiments.o("html5_drm_start_from_null_constraint")?jN:tra:jN;return c};
uU=function(a){if(!a.la()&&!g.X(a.C,128)&&a.o.Ea){if(a.o.Ea.o)tU(a);else{var b=kU(a),c=a.o;a:{var d=a.o.Cf;if(b.o){for(var e=g.r(d),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.Qf(),l=g.dL[k.Aa().quality];if((!b.C||"auto"!=k.Aa().quality)&&l<=b.o){d=f;break a}}d=d[d.length-1]}else d=d[0]}c.Zd=d;jU(a,b.reason,a.o.Zd.Qf())}a.C.sb()&&(a.G.P=!1,a.playVideo())}};
tU=function(a){if(a.o.Ea&&a.o.Ea.o){var b=kU(a),c=a.o.Ca;if(c&&"1"==c.A&&!xN()){var d=tN(c.A,c.Aa().fps);if(d&&d<c.Aa().zc){cU(a);return}}if(a.D&&(a=a.D,!a.la()&&!gN(a.G.B,b)&&a.o)){var e=a.G.B;Eqa(a,$pa(a.G,b));PS(a);c=HS(a.G)&&"m"==b.reason&&a.G.K;d=a.A.Ll&&"l"==b.reason&&uS(a.o);e="b"==b.reason&&e.o>b.o;b="o"==b.reason;c||d||e||b?a.U("reattachrequired"):(vS(a.o)&&Cqa(a,a.o,a.B),g.Av(a.ea))}}};
vU=function(a){a.na("html5_nonblocking_media_capabilities")?tU(a):uU(a)};
g.wU=function(a){nla(a.o.oa,{cpn:a.o.clientPlaybackNonce,c:a.F.deviceParams.c,cver:a.F.deviceParams.cver});var b=a.F,c=a.o,d=new g.qK;d.Lz=b.experiments.o("html5_seek_accuracy_allowance_killswitch");d.lB=b.experiments.o("html5_unrewrite_timestamps");b.experiments.o("html5_streaming_xhr")&&(d.B=!0);b.experiments.o("html5_streaming_debug")&&(d.B=!0,d.J=!0);b.experiments.A("html5_max_av_sync_drift")&&(d.XG=b.experiments.A("html5_max_av_sync_drift"));var e=b.schedule;e.o.o()==e.policy.C&&(d.Y=10);b.experiments.A("html5_min_secs_between_format_selections")&&
(d.Wy=b.experiments.A("html5_min_secs_between_format_selections"));d.yb=b.experiments.o("html5_stop_overlapping_requests");d.za=b.experiments.A("html5_min_readbehind_secs");d.Ty=b.experiments.A("html5_min_readbehind_cap_secs");g.kO(b)&&(d.za=b.experiments.A("tvhtml5_min_readbehind_secs"));d.Il=b.experiments.o("html5_append_init_while_paused");d.Od=b.experiments.A("html5_max_readahead_bandwidth_cap");d.ba=b.experiments.o("html5_disable_audio_append_cap");d.Bo=b.experiments.o("html5_disable_non_contiguous");
d.ce=b.experiments.A("html5_post_interrupt_readahead");d.Rc=b.experiments.o("html5_log_quota_exceeded");d.M=b.experiments.A("html5_subsegment_readahead_target_buffer_health_secs");d.dc=b.experiments.A("html5_subsegment_readahead_timeout_secs");d.Sz=b.experiments.A("html5_subsegment_readahead_min_buffer_health_secs");d.Qb=b.experiments.A("html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Tz=b.experiments.A("html5_subsegment_readahead_min_load_speed");d.Dj=b.experiments.A("html5_subsegment_readahead_load_speed_check_interval");
d.Wz=b.experiments.A("html5_subsegment_readahead_seek_latency_fudge");d.Pb=b.experiments.o("html5_streaming_xhr_optimize_lengthless_mp4");d.Ia=b.experiments.o("html5_peak_shave");d.hz=b.experiments.o("html5_peak_shave_always_include_sd");d.Az=b.experiments.o("html5_restrict_streaming_xhr_on_sqless_requests");d.ZG=b.experiments.A("html5_max_headm_for_streaming_xhr");d.iz=b.experiments.o("html5_pipeline_manifestless_allow_nonstreaming");d.lz=b.experiments.o("html5_prefer_server_bwe3");d.Gj=1024*b.experiments.A("html5_video_tbd_min_kb");
d.mz=b.experiments.o("html5_probe_live_using_range");d.Oz=b.experiments.o("html5_streaming_xhr_buffer_mdat");d.Ag=b.experiments.o("html5_streaming_xhr_no_mp4_holdback_chunk");d.rr=b.experiments.o("html5_last_slice_transition");d.Do=b.experiments.o("html5_disable_incomplete_incremental_parse_error");d.Mz=b.experiments.o("html5_store_xhr_headers_readable");d.hq=b.experiments.A("html5_incremental_parser_buffer_duration_secs");d.Qq=b.experiments.A("html5_incremental_parser_buffer_extra_bytes");d.Qz=b.experiments.o("html5_streaming_xhr_progress_includes_latest");
d.Sp=b.experiments.o("html5_enable_packet_train_response_rate");if(e=b.experiments.A("html5_probe_secondary_during_timeout_miss_count"))d.lf=e,d.TA=1;d.Oa=b.experiments.A("html5_probe_primary_delay_base_ms")||d.Oa;b.experiments.o("html5_drm_start_from_null_constraint")&&(d.Ll=!0);d.td=b.experiments.o("html5_no_placeholder_rollbacks");d.Rz=b.experiments.o("html5_subsegment_readahead_enable_mffa");d.Ma=b.experiments.o("html5_platform_whitelisted_for_frame_accurate_seeks");d.vg=b.experiments.o("html5_reattach_on_stuck");
d.aC=b.experiments.o("html5_webm_init_skipping");d.Hl=b.experiments.o("html5_adaptation_fix");d.Xa=b.experiments.A("html5_request_size_padding_secs")||d.Xa;d.Kl=b.experiments.o("html5_clamp_with_padding");d.Xr=b.experiments.o("html5_log_timestamp_offset");d.Ho=b.experiments.o("html5_disable_new_live_flags");d.P=b.experiments.A("html5_dynamic_readahead_growth_rate")||d.P;d.Eo=b.experiments.o("html5_disable_incremental_traf_timescale");d.Ap=!b.experiments.o("html5_loader_logging_wrongful_set_current_emsg_killswitch");
d.Ry=b.experiments.o("html5_loader_logging_mediastream_warning_killswitch");d.wg=b.experiments.o("html5_remove_fpa_sei_mediastream");d.Fo=b.experiments.o("html5_disable_manifestless_sqless_sync");d.wp=b.experiments.o("html5_gapless_audio");d.ba=b.experiments.o("html5_no_audio_append_cap");d.uc=b.experiments.o("html5_abs_buffer_health");d.qr=b.experiments.o("html5_interruption_resets_seeked_time");d.Nd=b.experiments.A("html5_max_live_dvr_window_plus_margin_secs")||d.Nd;d.Ej=b.experiments.o("html5_use_streaming_xhr_abort_support");
d.Br=b.experiments.o("html5_limit_adaptation_requests");d.xc=b.experiments.o("html5_explicitly_dispose_xhr");pG()&&(d.yg=!0);g.Zh&&(d.aa=41943040);d.ha=!KM();g.kO(b)||!KM()?(e=b.experiments,d.F=8388608,d.H=524288,d.Jl=5,d.ua=2097152,d.ga=1048576,d.wz=1.5,d.Sa=15,d.dz=!1,d.K=4587520,mG()&&(d.K=786432),d.C*=1.1,d.D*=1.1,d.Ra=!0,d.aa=d.F,d.ya=d.H,d.Pd=e.o("persist_disable_player_preload_on_tv")||e.o("persist_disable_player_preload_on_tv_for_living_room")||!1):b.A&&(d.C*=1.3,d.D*=1.3);g.mM&&iG("crkey")&&
(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.F=20971520,d.H=1572864,e&&(d.K=812500,d.L=1E3,d.wB=5,d.ga=2097152));!b.experiments.o("html5_disable_firefox_init_skipping")&&g.QM&&(d.Ra=!0);d.sd=!b.experiments.o("disable_fpa_sei_removal")&&iG("windows nt")&&(c.Qi()||c.Vf());if(FP(c)){d.gq=!0;d.Iz=!1;d.jb=b.experiments.o("html5_shrink_live_timestamps");d.ea=d.jb||b.experiments.o("html5_manifestless_synchronized");if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&!b.experiments.o("html5_disable_low_pipeline"))d.WG=
2,d.HH=4;d.o=c.hasSubfragmentedFmp4;d.W=c.defraggedFromSubfragments}c.isAd()&&(d.xa=0,d.Fc=0);jna(c)&&(d.J=!0);kna(c)&&(d.J=!0,d.B=!0);d.ia=b.experiments.o("html5_enable_subsegment_readahead_v3")||b.experiments.o("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.ms=FP(c);d.ka=c.Hh;d.Ur=d.ka&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||KP(c));/^pp/.test(c.clientPlaybackNonce)&&(d.XM=!0,d.uz=!0);wG()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&&!b.experiments.o("html5_disable_move_pssh_to_moov")&&
SL(c.oa)&&(d.Ra=!1);SL(c.oa)&&(d.vg=!1);if(c.Da){e=hM(c.oa);var f=b.experiments.A("html5_live_abr_head_miss_fraction"),k=b.experiments.A("html5_live_abr_repredict_fraction");f&&e&&(d.gd=Math.min(e*f,d.gd));k&&e&&(d.L=Math.min(1E3*e*k,d.L))}f=0;b.experiments.o("html5_live_use_alternate_bandwidth_window_sizes")&&(f=b.schedule.policy.o,c.Da&&(f=b.experiments.A("ULTRALOW"==c.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":c.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":
"html5_live_normal_latency_bandwidth_window")||f));e=b.schedule;e.policy.D=FP(c)?.5:0;if(!e.policy.A&&f&&(e=e.o,f=Math.round(f*e.L),f!=e.C)){k=Array(f);var l=Math.min(f,e.F?e.C:e.B),m=e.B-l;0>m&&(m+=e.C);for(var n=0;n<l;++n)k[n]=e.D[(m+n)%e.C];for(;n<f;++n)k[n]=Infinity;e.C=f;e.D=k;e.B=l%f;e.F=l==f;e.H=!0;e.K=zN(e)}d.Ga=b.experiments.o("html5_disable_new_live_flags")?c.oa.C:c.Da;switch(GP(c)){case 21530001:d.Yy=b.experiments.o("html5_live_smoothly_extend_max_seekable_time");d.Pb=!0;d.ia=!0;"LOW"==
c.latencyClass?d.M=b.experiments.A("html5_jumbo_mobile_subsegment_readahead_target"):"ULTRALOW"==c.latencyClass&&(d.M=b.experiments.A("html5_jumbo_ull_subsegment_readahead_target"));d.td=!0;break;case 2153E4:d.Pb=!0,d.ia=!1}d.Qk=c.Qk;d.zg=c.Ti;KP(c)&&(d.ma=!0,d.Rc=!0);c.Ti&&!SL(c.oa)&&g.kG()&&b.experiments.o("html5_hack_gapless_init")&&(d.xg=!0);c.na("mweb_hoffline")&&c.adaptiveFormats&&c.ku&&c.ib.Ob&&(d.G=c.videoId,d.ba=!0,d.uc=!0);e=b.experiments.A("html5_deadzone_multiplier")||1;(f=b.experiments.A("html5_sticky_reduces_discount_by"))&&
"auto"!=pN()&&(e-=f);d.C*=e;d.D*=e;if(e=b.experiments.A("html5_request_sizing_multiplier"))d.yz=e;d.A=b.experiments.A("html5_max_buffer_duration")||d.A;d.rd=b.experiments.A("html5_min_upgrade_health")||d.rd;OM(b.G,UM)&&(d.K=NaN);d.Sa=b.experiments.A("html5_request_size_max_secs")||d.Sa;d.Go=b.experiments.o("killswitch_metadata_events");"auto"!=pN()&&(d.Fj=0);d.nz=b.experiments.o("html5_rec_2020_matrix_correction_killswitch");e=d.Ga&&!b.experiments.o("html5_pause_appends_killswitch");d.Ga=e||b.experiments.o("html5_never_pause_appends");
b.experiments.o("html5_disable_double_appends")&&(d.To=!1);d.A=c.maxReadAheadMediaTimeMs/1E3||d.A;d.Y=c.minReadAheadMediaTimeMs/1E3||d.Y;d.P=c.readAheadGrowthRateMs/1E3||d.P;a.D=new OS(a.F.schedule,d,a.o.oa,a.o.Ea,a.L);a.D.subscribe("newDrmInfo",a.vS,a);a.D.subscribe("videoformatchange",a.AN,a);a.D.subscribe("audioformatchange",a.UR,a);a.D.subscribe("error",a.cn,a);a.D.subscribe("ctmp",a.xb,a);a.D.subscribe("reattachrequired",a.mV,a);a.D.subscribe("metadata",a.IE,a);a.D.subscribe("constraint",a.pU,
a);a.D.subscribe("timestamp",a.kN,a);b=qsa(a)?!0:g.Ya(a.P,"spacecast")||a.ia&&!a.F.experiments.o("html5_preload_media")||a.ia&&$T(a);c=a.getAudioTrack();c=c.Rb.isDefault?void 0:c;d=a.na("html5_stop_start_seconds")?a.getCurrentTime():a.o.startSeconds;a.D.initialize(d,kU(a),b,c);a.o.probeUrl&&(a.D.ua=a.o.probeUrl);(a.P.length||a.ia)&&rU(a,!1);DT(a.G,a.D);a.yb=[]};
dsa=function(a){a.G=new yT(a.o,a.F);a.G.subscribe("seekto",function(b,c){a.na("html5_stop_start_seconds")?a.G.H=b:a.o.startSeconds=b;var d=a.za;d.o=b;d.A=!0;c||rsa(a);a.Y&&b>a.o.endSeconds&&isFinite(b)&&(a.removeCueRange(a.Y),a.Y=null);b<xU(a)-.01&&(d=JQ(a.C,2),!a.na("html5_ended_seek_fix_killswitch")&&g.X(d,8)&&(d=JQ(d,4)),UT(a,d));a.U("seekto",a,b)});
a.G.subscribe("seekstart",function(){return ssa(a)});
a.G.subscribe("seekend",function(){return a.U("seekcomplete")});
a.G.subscribe("ended",function(){return NT(a)});
a.G.subscribe("pausemediaelement",function(){return a.pauseVideo(!0)});
a.G.subscribe("resumemediaelement",function(){g.X(a.C,8)&&a.Zq()});
a.G.subscribe("ctmp",a.xb,a);a.G.subscribe("livereadaheadchanged",function(b){var c;if(c=a.B)c=a.B.A,g.RQ(c,g.xQ(c.o),"lra",[b]),TQ(c,"live-readahead-seconds",b.toString()),c=void 0;return c})};
ST=function(a){a.D&&(a.D.dispose(),a.D=null,DT(a.G,null));qU(a)};
qU=function(a){a.J&&(a.na("html5_release_mse_from_loader_killswitch")||a.D&&RS(a.D),a.J.dispose(),a.J=null)};
yU=function(a){if(a.J)return a.J.bn;a.na("html5_disable_loader_reorder")&&tsa(a);usa(a);return a.J?a.J.bn:null};
usa=function(a){if(a.na("html5_application_media_source"))a.U("requestmediasource",a);else{try{var b=a.A.zq()}catch(c){if(zU(a,"html5.missingapi",{updateMs:"1"}))return;g.hF(c,"WARNING");c.message="window.URL object overwritten by external code";window.setTimeout(function(){throw c;},0);
g.VT(a,"html5.missingapi","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1")}AU(a,b)}};
AU=function(a,b){a.na("html5_disable_loader_reorder")||tsa(a);a.J=b;rla(a.J,function(c){try{if(a.J&&(!c||a.J==c))if(a.Pd)a.Od=!0;else{var d=a.getDuration();!d&&FP(a.o)&&(d=3600);a.J.isView()?a.na("html5_gapless_set_mse_duration_killswitch")||(c=d,c>a.J.getDuration()&&IM(a.J,c)):IM(a.J,d);g.Aqa(a.D,a.J);a.U("mediasourceattached")}}catch(e){g.hF(e,"WARNING"),a.cn(new tM("fmt.unplayable",!0,{msi:"1",ename:e.name}))}})};
tsa=function(a){a.D?a.D.seek(a.getCurrentTime()):g.wU(a)};
vsa=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
wsa=function(a){return a.Ma||"yt"!=a.F.aa?!1:a.o.Oe?10>a.o.qg:!a.o.qg};
BU=function(a){a.Ma||(a.Ma=!0,a.U("signatureexpired"))};
xsa=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
ysa=function(a,b){if(a.A&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.A.Fb();b.details.merr=c?c.toString():"0";b.details.msg=a.A.gn()}};
zU=function(a,b,c){if(a.gd+3E4>(0,g.J)()){if(a.na("html5_exile_broken_instances")&&!a.o.Oe&&(a.F.ga+=1,10<a.F.ga)){c.exiled=""+a.F.ga;if(a.B)a.B.onError("qoe.start15s",uM(c));a.U("playbackstalledatstart");return!0}return!1}a.gd=(0,g.J)();var d=a.o;d=d.Zd?d.Zd.AB()<Date.now()/1E3+1800:!1;a.B&&(c.e=b,a.J&&(c.msopened=""+ +!!a.J.o),d&&(c.staleprog="1"),a.B.onError("qoe.restart",uM(c)));if(d&&wsa(a))return BU(a),!0;iG("philips")&&zsa(a);b=!1;(c=a.o.Ca)&&"1"==c.A?(sN(c.A,c.Aa().fps,1),b=!0):a.D?(c=a.D,
c.o&&(d=(d=c.o.D||c.o.o)?d.o:c.o.A,d.L+=1,FS(c.G,d))):a.na("html5_progressive_fallback")&&a.o.Zd&&a.o.Zd.Cx();CU(a,b);return!0};
CU=function(a,b){b=void 0===b?!1:b;xa(function(c){if(1==c.o)return(!a.na("html5_reuse_loader")||a.D&&a.D.la())&&ST(a),a.U("newelementrequired"),b?c=ua(c,cU(a),2):(c.o=2,c=void 0),c;g.X(a.C,8)&&a.playVideo();c.o=0})};
zsa=function(a){if("GAME_CONSOLE"!=a.F.deviceParams.cplatform)try{window.close()}catch(b){}};
g.mU=function(a,b){b=void 0===b?!1:b;a.A&&(a.A.stopVideo(),QT(a),ST(a),osa(a),g.X(a.C,128)||(b?UT(a,KQ(a.C,4,8)):UT(a,HQ(a.C))),a.F.J.remove(a.o.videoId))};
rsa=function(a){g.X(a.C,32)||(UT(a,IQ(a.C,32)),g.X(a.C,8)&&a.pauseVideo(!0),a.U("beginseeking",a));DU(a)};
ssa=function(a){g.X(a.C,32)?(UT(a,KQ(a.C,16,32)),a.U("endseeking",a)):a.na("html5_sync_seeking_state")&&!g.X(a.C,2)&&UT(a,IQ(a.C,16))};
EU=function(a){if(a.o.oa)return iM(a.o.oa,a.getCurrentTime()-a.Vc());if((!a.na("html5_disable_limit_ingestion_tvos")||lG())&&a.A){var b=a.A.Cq();if(b&&(b=b.getTime(),!isNaN(b)))return b/1E3+a.getCurrentTime()}return NaN};
TT=function(a,b){a.U("internalvideodatachange",void 0===b?"dataupdated":b,a,a.o)};
nsa=function(a){(0,g.E)("loadstart loadeddata loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" "),function(b){this.xa.R(this.A,b,this.BN,this)},a);
a.F.Gj&&a.A.Ph()&&(a.xa.R(a.A,"webkitplaybacktargetavailabilitychanged",a.kQ,a),a.xa.R(a.A,"webkitcurrentplaybacktargetiswirelesschanged",a.lQ,a))};
Bsa=function(a){window.clearInterval(a.Pb);a.ma.stop();a.o.Oe=!0;a.F.Oe=!0;a.F.ga=0;Asa(a);g.X(a.C,8)&&UT(a,JQ(a.C,65));if(a.B){var b=a.B;if(!b.B){b.o.o.experiments.o("disable_embedpage_playback_logging")||16623!=b.o.videoData.Ar||g.jF(Error("Playback for EmbedPage"));var c=dR(b,"playback");b.J=[10+b.o.videoData.qk,10,10,40+b.o.videoData.an-b.o.videoData.qk,40];var d=b.C;window.clearInterval(d.G);d.G=NaN;d.G=g.pF((0,g.B)(d.update,d),100);d.F=g.xQ(d.A);d.B=vQ(d.A);c.A=cR(b,!0);c.send();b.o.videoData.In&&
(c=b.o.o,d=b.o.videoData,d={html5:"1",video_id:d.videoId,cpn:d.clientPlaybackNonce,ei:d.eventId,ptk:d.In,oid:d.oF,ptchn:d.nF,pltype:d.pF,content_v:WP(d)},c=g.zh(c.D+"ptracking",d),eR(b,c));b.o.videoData.fm&&(b.Er("playback"),b.D||zoa(b));b.o.videoData.qf||yoa(b);b.B=!0;b=b.C;b.o=b.A.A();b.F=g.xQ(b.A);!(0==b.C&&5>b.o)&&2<b.o-b.C&&(b.C=b.o);b.J=!0}g.oF((0,g.B)(a.Dx,a),4500)}a.U("playbackstarted");g.YH()&&((a=g.z("yt.scheduler.instance.clearPriorityThreshold"))?a():$H(0))};
Asa=function(a){var b=a.getCurrentTime(),c=a.o;!uP("pbs","")&&qP.measure&&qP.getEntriesByName&&(qP.getEntriesByName("mark_nr")[0]?Qma("mark_nr"):Qma());c.videoId&&a.aa.info("docid",c.videoId);c.eventId&&a.aa.info("ei",c.eventId);c.clientPlaybackNonce&&a.aa.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.aa.info("start",c.startSeconds.toString());a.A&&a.A.Qh()&&a.aa.info("paused",1);c.Ca?a.aa.info("fmt",aK(c.Ca)):a.aa.info("fmt","-1");c.Sk&&a.aa.info("yt_pre",a.xg?"2":"1");a.M.isFullscreen()&&
a.aa.info("yt_fs","1");a.aa.info("cmt",b.toFixed(3));if(a.D){a=a.D.ia;window&&window.performance&&window.performance.getEntriesByName&&(b=window.performance.getEntriesByName(a.B),b.length&&(b=b[0],a.pd("vri",b.fetchStart),a.pd("vdns",b.domainLookupEnd),a.pd("vreq",b.requestStart),a.pd("fvb",b.responseStart),a.pd("vrc",b.responseEnd)),b=window.performance.getEntriesByName(a.o),b.length&&(b=b[0],a.pd("ari",b.fetchStart),a.pd("adns",b.domainLookupEnd),a.pd("areq",b.requestStart),a.pd("avb",b.responseStart),
a.pd("arc",b.responseEnd)));a=a.D;for(var d in a)(0,g.JP)(d,a[d],"")}};
DU=function(a,b){b=void 0===b?!1:b;if(a.A&&a.o){var c=a.G,d=a.C.sb(),e=c.getCurrentTime(),f=c.isAtLiveHead(e);if(c.K&&f){var k=c.K;if(k.o&&!(e>=k.A&&e<k.C)){var l=k.o.Sf(e);-1!=l&&(k.A=k.o.ld(l),k.C=k.A+k.o.getDuration(l),l=(0,g.J)()/1E3-k.o.jw(l),l-=k.D(),k.B.add(l))}}c.B&&(f&&(f=c.B,k=c.A?AQ(c.A):0,f.D++,3>f.D||(0,g.J)()-f.J<f.o.J||(f.J=(0,g.J)(),f.C.push(k),50<f.C.length&&f.C.shift())),f=c.B,Pra(f,e,void 0===d?!0:d),Qra(f,e),d&&(d=c.B,!wT(d,e)&&d.G?(d.o.F&&(d.o.o=Math.max(d.o.o+1,10)),e=Infinity):
e=e<d.B.gc()?Math.min(d.B.gc()+10,vT(d)):NaN,isNaN(e)||c.seekTo(e,!0)));c=a.getCurrentTime();!a.D||g.X(a.C,4)&&g.TP(a.o)||(e=a.D,d=c,e.C&&e.C.A&&(d-=!isNaN(e.Y)&&e.A.lB?e.Y:0,e.D!=d&&e.resume(),e.M&&!JM(e.C)&&(f=e.D<=d&&d<e.D+10,k=e.C.A.tc(),k=0<=xM(k,e.D+VS),f&&k&&(e.M=!1)),e.M||(e.D=d),g.Av(e.ya)));5<c&&(a.G.H=c);(e=g.YH())?g.ZH(a.ya):g.qF(a.ya);!g.NQ(a.C)&&a.A.Qh()||g.X(a.C,128)||(d=(0,g.B)(a.yL,a),0==a.A.Bm().length?a.ya=e?g.WH(d,100):g.oF(d,100):a.ya=e?g.WH(d,500):g.oF(d,500));a.o.rh=c;if(!b&&
a.C.sb()&&(a.B&&(c=a.B,c.C.update(),c.o.videoData.Jb()&&c.o.videoData.qf&&c.B&&!c.M&&$na(c.C)>=c.o.videoData.qf&&(c.B&&c.o.videoData.qf&&(e=dR(c,"delayplay"),e.Ga=!0,e.send(),c.M=!0),yoa(c)),a.o.Da&&(0,g.J)()>a.yg+6283&&(!a.isAtLiveHead()||a.o.oa&&fM(a.o.oa)||(c=a.B.A,d=c.o.B(),e=g.xQ(c.o),qoa(c,e,d),d=d.F,isNaN(d)||g.RQ(c,e,"e2el",[d.toFixed(3)])),!a.na("html5_report_raw_latency_killswitch")&&g.vO(a.F)&&a.xb("rawlat","l."+KT(a.ea,"rawlivelatency").toFixed(3)),a.yg=(0,g.J)())),a.o.Ca&&mL(a.o.Ca)&&
(c=XT(a))&&c.videoHeight!=a.Rc&&(a.Rc=c.videoHeight,a.na("html5_log_hls_video_height_change_as_format_change")&&a.o.Zd&&"auto"==a.o.Zd.Jg.Aa().quality&&a.o.Cf)))for(c=g.r(a.o.Cf),e=c.next();!e.done;e=c.next())if(e=e.value,e.getHeight()==a.Rc&&"auto"!=e.Jg.Aa().quality){jU(a,"a",e.Qf());break}Hra(a.W,a.K,a.A)&&vU(a);a.U("progresssync",a,b)}};
UT=function(a,b){if(!g.LQ(a.C,b)){var c=new g.PQ(b,a.C);a.C=b;var d=!a.Qb.length;a.Qb.push(c);var e=a.A&&a.A.kn();if(0<QQ(c,1)&&!g.X(c.o,16)&&!e&&g.X(a.C,8)&&!g.X(a.C,64)&&a.D&&(a.D.ba=!0,FU(a),a.A&&5<=AQ(a.A))){e=a.W;var f=a.K;Era(e,f)&&f.videoData.Ca?(6E4<(0,g.J)()-e.G&&(e.C=0),e.C++,e.G=(0,g.J)(),4!=e.C?e=!1:(Fra(e,f.videoData.Ca),e=!0)):e=!1;e&&vU(a)}(0>QQ(c,8)||0<QQ(c,1024))&&a.ma.stop();!(0<QQ(c,8))||a.o.Oe||g.X(c.state,1024)||a.ma.start();g.X(c.state,8)&&0>QQ(c,16)&&!g.X(c.state,32)&&!g.X(c.state,
2)&&a.playVideo();g.X(c.state,2)&&UP(a.o)&&(e=a.getCurrentTime(),a.o.lengthSeconds!=e&&(a.o.lengthSeconds=e,TT(a)),DU(a,!0));0<QQ(c,2)&&(a.Dx(),FU(a));a.o.oa&&a.o.Da&&!a.Ag&&(0>QQ(c,8)?(e=a.o.oa,e.B&&e.B.stop()):0<QQ(c,8)&&a.o.oa.resume());if(a.B&&(e=a.B,!e.la())){g.X(c.state,2)?(e.F="paused",0<QQ(c,2)&&e.B&&woa(e).send()):g.X(c.state,8)?(e.F="playing",e.B&&isNaN(e.G)&&cR(e,!1)):e.F="paused";f=e.A;var k=c.state,l=g.xQ(f.o),m=toa(f,c.state);if(m!=f.C){if(!(l<f.B)){if("PL"==f.C)f.L+=l-f.B;else if("B"==
f.C&&f.J){f.J=!1;var n=f.o.o.experiments.A("html5_disable_last_state_change")?f.B:f.aa;f.W+=l-n;!f.Y&&10<=f.W&&180>=f.L&&(f.o.G(),f.A.qoealert=["1"],f.Y=!0)}"B"!=m||"PL"!=f.C&&"PB"!=f.C||(f.J=!0);f.B=l}"B"==m&&"PL"==f.C||f.o.videoData.Hh?UQ(f,l):g.RQ(f,l,"cmt",[f.o.A().toFixed(3)]);g.RQ(f,l,"vps",[m]);f.C=m;f.aa=l;f.B=l}m=k.A;g.X(k,128)&&m&&roa(f,l,m.errorCode,m.errorDetail);(g.X(k,2)||g.X(k,128))&&f.D(l);g.X(k,8)&&f.o.videoData.Sk&&!f.H&&(f.A.user_intent=[g.xQ(f.o).toString()],f.H=!0);VQ(f);e.D&&
g.X(c.state,128)&&(e.Er("error-100"),g.qF(e.D))}if(d&&!a.la())try{for(var p=g.r(a.Qb),q=p.next();!q.done;q=p.next()){var u=q.value,w=a.L;c=u;if(w.D&&(w.A(),g.X(c.o,16))){c=w;var D=rqa(c.o,Math.max(c.B-2E3,0));!isNaN(D)&&0x7ffffffffffff>D&&c.F.start()}a.U("statechange",u)}}finally{a.Qb.length=0}}};
GU=function(a,b){g.X(a.C,128)||(UT(a,KQ(a.C,1028,9)),a.xb("dompaused",b),a.U("onDompaused"))};
dU=function(a){if(!a.A||!a.o.Ea)return!1;var b=null;a.o.Ea.o?(b=yU(a),a.D.resume()):(ST(a),a.o.Zd&&(b=a.o.Zd.Fk()));var c=b;var d=a.A.Bq();b=!1;d&&null!=c&&c.o==d.o||((0,g.JP)("vta",void 0,""),vP("vta"),0<a.getCurrentTime()&&(b=a.getCurrentTime(),a.G.H=b),a.A.Lf(c),a.J&&$H(4),!a.o.Oe&&MQ(a.C)&&a.ma.start(),b=!0);g.X(a.C,2)||(c=a.G,c.J||!(0<c.H)||c.A&&0<c.A.getCurrentTime()||c.seekTo(c.H));a:if(c=b,g.LP(a.o)&&a.A)if((d=a.o.bf)&&a.A.Ph()){var e=a.A.sa();if(a.H){if(a.na("html5_drm_check_element_killswitch")||
e==a.H.sa())if(!a.na("html5_keep_safari_drm_killswitch")&&!c||"fairplay"!=d.flavor||lG())break a;QT(a)}a.H=new mT(e,a.o,a.F);a.H.subscribe("licenseerror",a.KR,a);a.H.subscribe("qualitychange",a.MR,a);a.H.subscribe("heartbeatparams",a.yN,a);a.H.subscribe("keystatuseschange",a.zN,a);a.H.subscribe("hdproberequired",a.LR,a);a.H.subscribe("ctmp",a.xb,a);c=g.r(a.yb);for(d=c.next();!d.done;d=c.next())d=d.value,oT(a.H,new aT(d.info,d.type));a.yb=[]}else g.VT(a,"fmt.unplayable","HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
"drm.1");return b};
QT=function(a){a.H&&(a.H.dispose(),a.H=null)};
HU=function(a,b){b=void 0===b?!1:b;return a.o.Da&&(a.isAtLiveHead()&&(a.na("html5_videoplayer_getmaxseekabletimeforux_check_pause_killswitch")||!g.X(a.C,4))||ET(a.G)||g.TP(a.o))?a.getCurrentTime():xU(a,b)};
xU=function(a,b){return a.G.Tc(void 0===b?!1:b)};
g.Csa=function(a,b){(a.uc=b)||a.ma.stop();if(a.o.oa)if(b)a.o.oa.resume();else{var c=a.o.oa;c.B&&c.B.stop()}a.F.experiments.o("html5_suspend_loader")&&a.D&&(b?a.D.resume():rU(a,!0));a.F.experiments.o("html5_fludd_suspend")&&(g.X(a.C,2)||b?g.X(a.C,512)&&b&&UT(a,JQ(a.C,512)):UT(a,IQ(a.C,512)));a.B&&(c=a.B.A,g.RQ(c,g.xQ(c.o),"stream",[b?"A":"I"]))};
Dsa=function(a){return a.A?a.A.yq():a.Nd};
IU=function(a,b){a.F.experiments.o("html5_log_rebuffer_reason")&&a.xb("bufreason","r."+b+";lact."+eI())};
Esa=function(a,b){if(a.o.Hh){var c=a.F.experiments.A("html5_log_rebuffer_events");if(c&&a.B&&a.A){var d=a.A.Eb();d.rt=g.xQ(a.B.o).toFixed(3);d.e=b.substr(0,3);a.rd[a.zg++%c]=uM(d)}}};
FU=function(a){if(a.o.Hh){for(var b=g.r(a.rd),c=b.next();!c.done;c=b.next())a.xb("vpe",c.value);a.rd=[];a.zg=0}};
hU=function(a,b){a.xb("seekreason",b)};
Fsa=function(a){if(iG("cobalt")&&iG("nintendo switch")){var b=!window.matchMedia("screen and (max-height: 720px) and (min-resolution: 200dpi)").matches;a.xb("nxdock",""+ +b)}};
rU=function(a,b){var c=a.D,d=b||qsa(a);c.K=!0;c.aa=d};
qsa=function(a){return a.na("disable_prefetch_when_ad_pending_for_living_room")&&g.kO(a.F)&&g.Ya(a.P,"ad")};
g.JU=function(a,b){fR.call(this,a,b);this.K=null};
g.KU=function(a){return a.app.B};
LU=function(a){a=g.KU(a);var b=a.K;return b&&b.Vn()?!0:a.Un()};
g.MU=function(a,b){3==a.getPresentingPlayerType()?a.U("mdxautoplaycancel"):a.U("autonavcancel",b)};
g.Y=function(a){return a.app.o};
g.NU=function(a,b){return Gsa(a.app,b||a.playerType)};
g.OU=function(a){return a.app.H};
QU=function(a){var b=g.PU(g.KU(a));return a.app.Y&&!a.isFullscreen()||3==a.getPresentingPlayerType()&&b&&b.hasNext()&&b.Xf()||!!a.getPlaylist()};
g.RU=function(a,b){var c=a.playerType;(c=g.Z(a.app,void 0===c?1:c))&&NT(c,b)};
g.SU=function(a,b,c){a.app.C.cn(new tM(b,!1,c))};
g.Hsa=function(a){var b={};a=psa(g.Z(a.app));a=g.r(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.TU=function(a){return(a=g.KU(a).D)?a.Jp():{}};
g.UU=function(a,b,c,d){var e=g.Z(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.VU=function(a,b){var c=g.uQ(a);if(c)return c.ow(b);c=a.app.H.getPlayerSize();return new g.Kh(0,0,c.width,c.height)};
g.XU=function(a,b,c){WU(a.app,b,c||a.playerType)};
g.ZU=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.Z(d,a))c.L.removeCueRange.apply(c.L,b),a&&d.getPresentingPlayerType()!=a||YU(d,"cuerangesremoved",b)};
g.$U=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.Z(d,a))b=tqa(c.L,b),a&&d.getPresentingPlayerType()!=a||YU(d,"cuerangesremoved",b)};
g.aV=function(a,b,c){c=void 0===c?a.playerType:c;(a=g.Z(a.app,c))&&msa(a,b)};
g.Isa=function(a){a=(a=a.getVideoData())&&a.Ca;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.Jsa=function(a){a=a.getVideoData();return!!a&&!!(a.adaptiveFormats||a.hlsFormats||a.we)};
g.bV=function(a,b,c){a=g.OU(a).element;var d=rb(a.children,function(e){e=parseInt(e.getAttribute("data-layer"),10);return c-e||1});
0>d&&(d=-(d+1));pe(a,b,d);b.setAttribute("data-layer",c)};
g.cV=function(a){return a.app.F};
g.dV=function(a){var b=g.Y(a);if(!b.Pd)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||b.experiments.o("allow_poltergust_autoplay");b=c.Da&&(!b.experiments.o("allow_live_autoplay")||!d);return!c.Dl&&!b&&!g.Ya(c.Pc,"ypc")&&!a.getPlaylist()};
eV=function(a,b,c,d){g.Y(a).ea&&Ksa(a.app.ka,b,c,d)};
g.fV=function(a,b){g.Y(a).ea&&a.app.ka.click(b)};
g.gV=function(a,b,c){if(g.Y(a).ea&&(a=a.app.ka,a.o.has(b),c?a.A.add(b):a.A["delete"](b),c&&!a.C.has(b))){c=g.EI();var d=b.visualElement;c&&d&&g.qI(c,d);a.C.add(b)}};
g.hV=function(a){return g.Z(a.app)};
g.jV=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.Z(c,b);d&&(d!=c.C?iV(c,c.C):Lsa(c))}};
Msa=function(a){if(!a.na("html5_inline_video_quality_survey"))return!1;var b=g.Z(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.Ca||!c.Ca.video||1080>c.Ca.video.zc||c.xC)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.Ca.id.indexOf(";")&&(d=/^[a-p]/.test(c.clientPlaybackNonce),e="x");a.na("html5_inline_video_quality_survey_always")&&(d=!0,e="a");return d?(b.xb("iqss",e,!0),!0):!1};
Nsa=function(a,b){document.requestStorageAccess().then(a,b)};
g.kV=function(a){g.vH.call(this);this.player=a;this.loaded=!1};
lV=function(a){this.o=a};
Osa=function(a){this.adBreakLengthSeconds=a.reduce(function(d,e){return d+e},0);
for(var b=0,c=1;c<a.length;c++)b+=a[c];this.adBreakRemainingLengthSeconds=b};
mV=function(a,b){this.o=a;new Osa([]);this.G=b;this.D=[];this.A={};this.F=null;this.C=0;this.B=null;var c=this.o.skipOffsetMilliseconds||0;0<c&&(this.F=c);this.A=g.JF(this.o.playerVars||"");if(c=this.o.external){if(this.D=c.mediaFiles||[],c=c.durationMilliseconds,g.Ca(c)&&(this.C=c/1E3,this.A.length_seconds=this.C.toString()),c=this.G.o(this.D))this.B=c.uri,c=c.mimeType,this.A.url_encoded_third_party_media="url="+encodeURIComponent(this.B)+"&type="+encodeURIComponent(c)}else if(this.C=MN(this.C,this.A.length_seconds),
this.A.cta_conversion_urls)try{this.A.cta_conversion_urls=JSON.parse(this.A.cta_conversion_urls)}catch(d){g.hF(d)}new Osa([this.C])};
nV=function(a){if(!a)return[];var b=[];a=g.r(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=g.r(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())b.push({baseUrl:d.value.baseUrl})}return b};
oV=function(a){if(!a)return[];var b=[];a.forEach(function(c){c.command.loggingUrls.forEach(function(d){b.push({baseUrl:d.baseUrl,offsetMilliseconds:c.adVideoOffset.milliseconds})})});
return b};
pV=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0};
qV=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind};
Psa=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=nV(a.impressionCommands)||[];b.error=nV(a.errorCommands)||[];b.mute=nV(a.muteCommands)||[];b.unmute=nV(a.unmuteCommands)||[];b.pause=nV(a.pauseCommands)||[];b.rewind=nV(a.rewindCommands)||[];b.resume=nV(a.resumeCommands)||[];b.skip=nV(a.skipCommands)||[];b.close=nV(a.closeCommands)||[];b.clickthrough=nV(a.clickthroughCommands)||[];b.fullscreen=nV(a.fullscreenCommands)||[];b.active_view_viewable=nV(a.activeViewViewableCommands)||
[];b.active_view_measurable=nV(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=nV(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=nV(a.endFullscreenCommands)||[];b.channel_clickthrough=nV(a.channelClickthroughCommands)||[];b.abandon=nV(a.abandonCommands)||[];b.progress=oV(a.progressCommands.filter(function(c){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==c.adVideoOffset.kind}));
b.start=oV(a.progressCommands.filter(function(c){return qV(c)&&1E-6>=Math.abs(pV(c)-0)}));
b.first_quartile=oV(a.progressCommands.filter(function(c){return qV(c)&&1E-6>=Math.abs(pV(c)-.25)}));
b.midpoint=oV(a.progressCommands.filter(function(c){return qV(c)&&1E-6>=Math.abs(pV(c)-.5)}));
b.third_quartile=oV(a.progressCommands.filter(function(c){return qV(c)&&1E-6>=Math.abs(pV(c)-.75)}));
b.complete=oV(a.progressCommands.filter(function(c){return qV(c)&&1E-6>=Math.abs(pV(c)-1)}));
return b};
Qsa=function(a){lV.call(this,a,Psa(a));a.questions&&a.questions.reduce(function(b,c){var d=c.instreamSurveyAdSingleSelectQuestionRenderer||c.instreamSurveyAdMultiSelectQuestionRenderer;return d?b+(d.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:b},0)};
Rsa=function(a,b){var c=g.fF("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.ph(window.location.href);d&&c.push(d);d=g.ph(a);if(g.Ya(c,d)||!d&&g.wb(a,"/"))if(g.UF("autoescape_tempdata_url")&&(c=document.createElement("a"),g.Gd(c,a),a=c.href),a&&(c=g.nh(a),c=g.mh(null,null,null,null,c[5],c[6],c[7]),d=c.indexOf("#"),c=0>d?c:c.substr(0,d))){if(b.itct||b.ved)b.csn=b.csn||g.EI();if(e){var e=parseInt(e,10);isFinite(e)&&0<e&&(c="ST-"+zc(c).toString(36),d=b?g.xh(b):"",g.hI(c,d,e||5))}else e="ST-"+zc(c).toString(36),
c=b?g.xh(b):"",g.hI(e,c,5)}};
g.Ssa=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;d=d.location;a=g.zh(a,b)+c;a=a instanceof dd?a:jd(a);d.href=ed(a)};
g.rV=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.fF("EVENT_ID");d&&(b.ei||(b.ei=d));b&&Rsa(a,b);c||((window.ytspf||{}).enabled?spf.navigate(a):g.Ssa(a))};
g.sV=function(a,b,c){c&&Rsa(a,c);c=g.id(a);c=g.fd(c);a!=c&&g.jF(Error("Unsafe window.open URL: "+a));a=c;window.open(a,b||zc(a).toString(36))};
Tsa=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"h";case "measurable_impression":return"c";case "overlay_unmeasurable_impression":return"i";case "overlay_unviewable_impression":return"j";case "overlay_viewable_end_of_session_impression":return"k";case "overlay_viewable_immediate_impression":return"l";case "viewable_impression":return"q";default:return null}};
Usa=function(){g.vH.call(this);var a=this;this.o={};g.Nf(this,function(){return Object.keys(a.o).forEach(function(b){return delete a.o[b]})})};
Vsa=function(){null===tV&&(tV=new Usa,yn.getInstance().A="b",zn());return tV};
Wsa=function(a){({}).abandon=a.abandonCommands&&nV(a.abandonCommands.commands)||[];this.o=a};
Xsa=function(a){lV.apply(this,arguments)};
Ysa=function(a){this.o=a;g.JF(this.o.playerVars||"")};
Zsa=function(a){lV.apply(this,arguments)};
$sa=function(a){lV.apply(this,arguments)};
g.uV=function(a,b){var c={},d;for(d in b)c.Ls=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(e){return function(){return e.Ls}}(c)),c={Ls:c.Ls};
return a};
vV=function(){g.L.call(this);var a=this;this.o=new Map;this.A=g.nH(document.body,"click",function(b){b.target&&(b=a.o.get(b.target))&&zG(b)},"ytp-ad-has-logging-urls")};
bta=function(a){if(a.simpleText)return a=g.le(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(ata(d))}return 1==b.length?b[0]:g.ie("SPAN",null,b)};
ata=function(a){var b=null,c=a.text;a.bold&&(b=g.ie("B",null,b||c));a.italics&&(b=g.ie("I",null,b||c));a.strikethrough&&(b=g.ie("STRIKE",null,b||c));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var d=a.navigationEndpoint.urlEndpoint;b=g.ie("A",null,b||c);g.Gd(b,d.url);"TARGET_NEW_WINDOW"==d.target&&(b.target="_blank");if(a=a.navigationEndpoint.loggingUrls)a=a.map(function(e){return e.baseUrl}),null==wV&&(wV=new vV),wV.register(b,a),g.T(b,"ytp-ad-has-logging-urls")}return b||g.ie("SPAN",
null,c)};
yV=function(a){g.L.call(this);var b=this;this.o=new xV(a);g.M(this,this.o);this.C=[];this.A=[];this.o.subscribe("externalClick",function(){return b.hide()});
this.o.subscribe("confirmClick",function(){return b.hide()})};
xV=function(a){g.vH.call(this);this.B=a;this.A=new g.W({I:"div",N:"ytp-ad-info-dialog-confirm-container",O:[{I:"button",N:"ytp-ad-info-dialog-confirm-button",ca:"{{content}}"}]});g.M(this,this.A);this.A.hide();this.C=new g.W({I:"div",N:"ytp-ad-info-dialog-title",ca:"{{content}}"});g.M(this,this.C);this.C.hide();this.o=new g.W({I:"div",N:"ytp-ad-info-dialog-relative-container",O:[{I:"div",N:"ytp-ad-info-dialog-form",O:[this.C,{I:"ul",N:"ytp-ad-info-dialog-ad-reasons"},{I:"div",N:"ytp-ad-info-dialog-message",
ca:"{{content}}"},this.A]}]});g.M(this,this.o);this.o.hide();this.Z=new g.sH(this);g.M(this,this.Z)};
cta=function(a){return a.o.o["ytp-ad-info-dialog-ad-reasons"]};
zV=function(a){return a?bta(a):null};
dta=function(a){if(!a.loggingUrls)return[];var b=[];a=g.r(a.loggingUrls);for(var c=a.next();!c.done;c=a.next())c=c.value,c.baseUrl&&b.push(c.baseUrl);return b};
eta=function(a){AV=a&&a.data};
gta=function(a){fta=a&&a.data};
hta=function(){AV=null};
g.ita=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-cast-desktop-on"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",
fill:"#fff"}}]}};
jta=function(){return{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",T:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}};
g.CV=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-chevron-back"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},O:[{I:"path",T:{d:"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z",fill:"#fff"}}]}};
g.DV=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-chevron-forward"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},O:[{I:"path",T:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}};
kta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-clip-clear"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},O:[{I:"path",T:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{I:"path",T:{d:"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z",fill:"#fff"}}]}};
lta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-clip-end"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
mta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-clip-start"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.EV=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-close"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},O:[{I:"path",T:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}};
nta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-error-exclamation"]}:{I:"svg",T:{fill:"#fff",viewBox:"0 0 48 48"},O:[{I:"path",T:{d:"M0 0h48v48H0V0z",fill:"none"}},{I:"path",T:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z","fill-opacity":"0.3"}}]}};
ota=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-forward-five-seconds"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}};
pta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-link"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",T:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}};
qta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-next"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
g.rta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-notifications-active"]}:{I:"svg",T:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},O:[{I:"path",T:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}};
sta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-pause"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
tta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-pip"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",fill:"#fff"}}]}};
uta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-play"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}}]}};
vta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-prev"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
g.FV=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-replay"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}};
wta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}};
g.xta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-settings"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z",
fill:"#fff"}}]}};
yta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-stop"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
zta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-subtitles"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M11,11 C9.9,11 9,11.9 9,13 L9,23 C9,24.1 9.9,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M11,17 L14,17 L14,19 L11,19 L11,17 L11,17 Z M20,23 L11,23 L11,21 L20,21 L20,23 L20,23 Z M25,23 L22,23 L22,21 L25,21 L25,23 L25,23 Z M25,19 L16,19 L16,17 L25,17 L25,19 L25,19 Z",fill:"#fff"}}]}};
Ata=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-volume-high"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z",fill:"#fff"}}]}};
Bta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-volume-low"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}};
GV=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-volume-muted"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}};
Cta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-watermark"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}};
Dta=function(){return g.BV?{I:"div",da:["ytp-icon","ytp-icon-youtube-logo-redirect"]}:{I:"svg",T:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},O:[{I:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"path",T:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}};
g.HV=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?null:f;g.L.call(this);this.C=a;c||a.hide();this.F=b;this.G=null==d?b:d;this.B=f;this.D=e;this.o=null;this.A=new g.V(this.es,0,this);g.M(this,this.A)};
IV=function(a,b){var c=a.C.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
g.JV=function(a){var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";0<c&&(f+=c+":",10>d&&(f+="0"));if(0<c||0<d)f+=d+":",10>e&&(f+="0");f+=e+":";10>b&&(f+="0");f+=b;return 0<=a?f:"-"+f};
g.KV=function(a){return(!g.Ca(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
LV=function(a,b){this.A=a;this.o=b};
MV=function(a,b){return a.A+b*a.getLength()};
NV=function(a,b,c){if(!a.getLength())return null!=c?c:Infinity;a=(b-a.A)/a.getLength();return g.Jd(a,0,1)};
OV=function(a,b){g.jQ.call(this,{I:"div",N:"ytp-ad-persistent-progress-bar-container",O:[{I:"div",N:"ytp-ad-persistent-progress-bar"}]});this.F=a;this.D=b;g.M(this,this.D);this.J=this.o["ytp-ad-persistent-progress-bar"];this.B=-1;this.R(a,"presentingplayerstatechange",this.H);this.hide();this.H()};
PV=function(){g.W.call(this,{I:"div",N:"ad-carousel",O:[{I:"div",N:"ad-carousel-clip",O:[{I:"ul",da:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.o["ad-carousel"];this.F=new g.W({I:"button",da:["ad-carousel-nav-button","ad-carousel-nav-prev"],T:{type:"button",onclick:"return false;"},O:[{I:"span",da:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.M(this,this.F);this.F.X("click",this.J,this);this.F.A(a);this.D=new g.W({I:"button",
da:["ad-carousel-nav-button","ad-carousel-nav-next"],T:{type:"button",onclick:"return false;"},O:[{I:"span",da:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Next",title:"Next"}}]});g.M(this,this.D);this.D.X("click",this.H,this);this.D.A(a);this.G=this.o["ad-carousel-list"];this.B=0;this.Qa=[]};
Eta=function(a,b){a.clear();for(var c=g.r(b),d=c.next();!d.done;d=c.next()){var e=a;d=d.value.element;var f=new g.W({I:"li",N:"ad-carousel-listitem",O:[{I:"div",N:"ad-carousel-item"}]});f.o["ad-carousel-item"].appendChild(d);e.Qa.push(f);e.G.appendChild(f.element)}};
RV=function(a){a.G&&g.Xh(a.G,"left",(2>a.Qa.length?0:-a.B*a.Qa[1].element.clientWidth)+"px");g.iQ(a.F,0<a.B);g.iQ(a.D,a.B<a.Qa.length-QV(a))};
QV=function(a){return 2>a.Qa.length?1:Math.round((a.element.clientWidth-a.Qa[0].element.clientWidth)/a.Qa[1].element.clientWidth)+1};
SV=function(a,b){b=void 0===b?2:b;g.vH.call(this);this.A=a;this.o=new g.sH(this);g.M(this,this.o);this.B=Fta;this.C=null;this.o.R(this.A,"presentingplayerstatechange",this.G);this.C=this.o.R(this.A,"progresssync",this.D);this.F=b;1===this.F&&this.D()};
TV=function(a,b,c,d){g.vH.call(this);this.A=a;this.M=(0,g.B)(b,null);this.o=0;this.F=!1;this.B=new g.Od(NaN,NaN);this.Z=new g.sH(this);g.M(this,this.Z);b=d?4E3:3E3;this.H=new g.V(g.Na(this.qc,1,!1),b,this);g.M(this,this.H);this.J=new g.V(g.Na(this.qc,2,!1),b,this);g.M(this,this.J);this.L=new g.V(g.Na(this.qc,512,!1),0,this);g.M(this,this.L);this.P=c&&0<c.ji.length?5E3:3E3;d||(this.C=this.Z.R(a,"mouseover",this.uw),this.Z.R(a,"mousemove",this.TO),this.Z.R(a,"mouseleave",this.SP));g.Zh?this.Z.R(a,"keypress",
this.YM):this.Z.R(a,"focusin",this.CK);this.D=this.Z.R(a,"mousedown",this.CD);this.G=this.Z.R(a,"touchstart",this.ED,void 0,!0);this.W=null;this.qc(640,!0)};
Gta=function(a){a.qc(4,!1);a.K&&(a.Z.Ka(a.K),a.K=null,a.C=a.Z.R(a.A,"mouseover",a.uw));a.C&&(a.Z.Ka(a.C),a.C=a.Z.R(a.A,"mouseover",a.uw))};
UV=function(a){var b=g.Y(a),c=a.getVideoData(),d=["ytp-large-play-button","ytp-button"];if(c.Lc&&c.Hg)var e=b.H?[{I:"div",N:"ytp-large-play-button-circle",T:{style:"background-color: "+c.Hg}},g.BV?{I:"div",da:["ytp-icon","ytp-icon-dni-large-play-button"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},O:[{I:"path",T:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}:{I:"svg",
T:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},O:[{I:"path",N:"ytp-dni-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{I:"path",T:{d:"M 45,24 27,14 27,34",
fill:"#fff"}}]}];else b.H&&!b.hc?e=[g.BV?{I:"div",da:["ytp-icon","ytp-icon-large-play-button-hover"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},O:[{I:"path",N:"ytp-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#f00"}},{I:"path",T:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.A&&d.push("ytp-touch-device"),e=[b.hc?g.BV?{I:"div",da:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},O:[{I:"path",N:"ytp-large-play-button-bg",T:{d:"M30,0A30,30,0,1,0,60,30,30,30,0,0,0,30,0Z",fill:"#1f1f1f"}},{I:"path",T:{d:"M21,41.65V18L43.7,29.85Z",fill:"#fff"}}]}:g.BV?{I:"div",da:["ytp-icon","ytp-icon-large-play-button"]}:{I:"svg",T:{height:"100%",
version:"1.1",viewBox:"0 0 68 48",width:"100%"},O:[{I:"path",N:"ytp-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{I:"path",T:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);var f=
["ytp-cued-thumbnail-overlay"];(b.experiments.o("web_player_contain_thumbnail")||b.hc&&!b.experiments.o("web_player_housebrand_contain_killswitch"))&&f.push("ytp-exp-contain-thumbnail");g.W.call(this,{I:"div",da:f,O:[{I:"div",N:"ytp-cued-thumbnail-overlay-image"},{I:"button",da:d,T:{"aria-label":"Oynat"},O:e},{I:"div",N:"ytp-cued-thumbnail-overlay-duration",ca:"{{duration}}"}]});c.Lc&&c.Hg&&!b.H&&this.o["ytp-dni-large-play-button-bg"].setAttribute("fill",c.Hg);this.G=new g.sH(this);g.M(this,this.G);
this.B=a;this.J=this.o["ytp-cued-thumbnail-overlay-image"];this.H=this.o["ytp-large-play-button"];this.F=new g.HV(this,250);g.M(this,this.F);this.D=new g.V(this.ID,0,this);g.M(this,this.D);this.ID();this.R(a,"presentingplayerstatechange",this.fP);this.R(a,"ypcStateChanged",this.NU);$N(g.Y(a))&&this.R(a,"videoplayerreset",this.eP)};
g.VV=function(a,b){return pR(b)?(b.fetch=0,new g.oR(a,b)):new g.yP(a,b)};
WV=function(a){g.L.call(this);this.D=a;this.B=new pE(0,0,.4,0,.2,1,1,1);this.A=new g.xv(this.C,window,this);g.M(this,this.A)};
Hta=function(a){var b=!g.Y(a).Pb&&3!=a.getPresentingPlayerType();return a.isFullscreen()||b};
g.XV=function(a,b,c,d){if((void 0===c||!c)&&g.KV(a))return g.kH(a),!0;b.pauseVideo();a=a.currentTarget.getAttribute("href");g.rV(a,d,!0);return!1};
YV=function(a,b,c){if(tO(g.Y(b))&&2!=b.getPresentingPlayerType()){if(g.KV(c))return b.isFullscreen()&&!g.Y(b).externalFullscreen&&b.toggleFullscreen(),g.kH(c),!0}else{var d=g.KV(c);d&&b.pauseVideo();g.rV(a,void 0,!0);d&&(g.sV(a),g.kH(c))}return!1};
ZV=function(){return{I:"div",N:"ytp-spinner-container",O:[{I:"div",N:"ytp-spinner-rotator",O:[{I:"div",N:"ytp-spinner-left",O:[{I:"div",N:"ytp-spinner-circle"}]},{I:"div",N:"ytp-spinner-right",O:[{I:"div",N:"ytp-spinner-circle"}]}]}]}};
$V=function(a,b){var c=RG("requestAnimationFrame",window);return g.oF(function(){c?c.call(window,a):a()},b||0)};
aW=function(a){if(document.createRange){var b=document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
bW=function(a,b,c){a=g.Y(a);return a.experiments.o("desktop_player_button_tooltip_with_shortcut")&&!a.Sa?g.uV("$DESCRIPTION ($SHORTCUT)",{DESCRIPTION:b,SHORTCUT:c}):b};
cW=function(a){g.W.call(this,{I:"div",N:"ytp-related-on-error-overlay"});this.Y=this.F=0;this.D=a;this.ba=new g.sH(this);g.M(this,this.ba);a=g.Y(a);this.H=[];this.B=[];this.J=0;this.ha=a.o;this.P=new g.W({I:"h2",N:"ytp-related-title",ca:"{{title}}"});g.M(this,this.P);this.P.A(this.element);this.K=new g.W({I:"div",N:"ytp-suggestions"});g.M(this,this.K);this.K.A(this.element);this.M=new g.W({I:"button",da:["ytp-button","ytp-previous"],T:{"aria-label":"\u00d6nceki \u00f6nerilen videolar\u0131 g\u00f6ster"},
O:[g.CV()]});g.M(this,this.M);this.M.A(this.element);this.M.X("click",this.wP,this);this.ia=new WV((0,g.B)(this.PD,this));g.M(this,this.ia);this.ea=this.G=0;this.aa=!0;for(var b=0;16>b;b++){var c=new g.W({I:"a",N:"ytp-suggestion-link",T:{href:"{{link}}",target:a.F,"aria-label":"{{aria_label}}"},O:[{I:"div",N:"ytp-suggestion-image",O:[{I:"div",T:{"data-is-live":"{{is_live}}"},N:"ytp-suggestion-duration",ca:"{{duration}}"}]},{I:"div",N:"ytp-suggestion-title",T:{title:"{{hover_title}}"},ca:"{{title}}"},
{I:"div",N:"ytp-suggestion-author",ca:"{{views_or_author}}"}]});g.M(this,c);c.A(this.K.element);var d=c.o["ytp-suggestion-link"];g.Xh(d,"transitionDelay",b/20+"s");this.ba.R(d,"click",g.Na(this.xP,b));this.H.push(c)}this.L=new g.W({I:"button",da:["ytp-button","ytp-next"],T:{"aria-label":"Daha fazla \u00f6nerilen video g\u00f6ster"},O:[g.DV()]});g.M(this,this.L);this.L.A(this.element);this.L.X("click",this.vP,this);this.ba.R(this.D,"videodatachange",this.OD);Ita(this,g.OU(this.D).getPlayerSize());
this.OD();this.show()};
Ita=function(a,b,c){var d=g.Y(a.D),e=16/9,f=650<=b.width,k=480>b.width||290>b.height,l=Math.min(a.B.length,a.H.length);if(150>=Math.min(b.width,b.height)||0==l||!d.Ga)a.hide();else{var m;if(f){var n=m=28;a.F=16}else n=m=8,a.F=8;if(k){var p=6;f=14;var q=12;k=24;d=12}else p=8,f=18,q=16,k=36,d=16;b=b.width-(48+m+n);m=Math.ceil(b/150);m=Math.min(3,m);m=b/m-a.F;n=Math.floor(m/e);n+100>c&&50<m&&(n=Math.max(c,50/e),m=Math.ceil(b/(e*(n-100)+a.F)),m=b/m-a.F,n=Math.floor(m/e));50>m?a.hide():a.show();for(c=
0;c<l;c++){e=a.H[c];var u=e.o["ytp-suggestion-image"];u.style.width=m+"px";u.style.height=n+"px";e.o["ytp-suggestion-title"].style.width=m+"px";e.o["ytp-suggestion-author"].style.width=m+"px";e=e.o["ytp-suggestion-duration"];e.style.display=e&&100>m?"none":""}l=f+p+q+4;a.Y=l+d+(n-k)/2;a.K.element.style.height=n+l+"px";a.ea=m;a.J=b;a.G=0;a.PD(0);dW(a)}};
Jta=function(a,b){var c=g.Jd(b,a.J-a.B.length*(a.ea+a.F),0);a.ia.start(a.G,c,1E3);a.G=c;dW(a)};
dW=function(a){a.L.element.style.bottom=a.Y+"px";a.M.element.style.bottom=a.Y+"px";var b=a.G,c=a.J-a.B.length*(a.ea+a.F);g.U(a.element,"ytp-scroll-min",0<=b);g.U(a.element,"ytp-scroll-max",b<=c)};
Lta=function(a){for(var b=0;b<a.B.length;b++){var c=b,d=a.B[b].Aa();c=a.H[c];var e=d.shortViewCount?d.shortViewCount:d.author,f=g.zh(d.Em(),{feature:"player_embedded_uturn"});c.element.style.display="";var k=c.o["ytp-suggestion-title"];Wc.test(Vc(d.title,void 0))?k.dir="rtl":Kta.test(Vc(d.title,void 0))&&(k.dir="ltr");k=c.o["ytp-suggestion-author"];Wc.test(Vc(e,void 0))?k.dir="rtl":Kta.test(Vc(e,void 0))&&(k.dir="ltr");k=void 0;d.Da?k="Canl\u0131":k=d.lengthSeconds?g.JV(d.lengthSeconds):"";c.update({views_or_author:e,
duration:k,link:f,hover_title:d.title,title:d.title,aria_label:d.Nl||null,is_live:d.Da});c=c.o["ytp-suggestion-image"];d=d.hd();c.style.backgroundImage=d?"url("+d+")":""}for(;b<a.H.length;b++)a.H[b].element.style.display="none";dW(a)};
eW=function(a,b){g.W.call(this,{I:"canvas",N:"ytp-tv-static"});this.D=this.element.getContext("2d");this.height=this.width=NaN;this.L=null;this.M=this.P=this.G=this.F=0;this.H=-75;this.B=new g.xv(this.K,void 0,this);g.M(this,this.B);this.J=new g.V(this.B.dk,75,this.B);g.M(this,this.J);Mta(this,a,b)};
Nta=function(a){for(var b=Math.floor(.6*a),c=b;c<a;++c){for(var d=!1,e=2;e<Math.sqrt(c);e++){if(!(c%e)){d=!1;break}d=!0}if(d)return c}return b};
Mta=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.ke("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.L=d;a.P=Nta(b);a.M=Nta(c/10);a.D.scale(1.5,1.5);a.D.fillStyle="rgba(255, 255, 255, 0.02)"}};
fW=function(a){var b=g.Y(a),c=b.o;if(c){var d=new cW(a);b={I:"div",da:["ytp-error","ytp-related-on-error"],T:{role:"alert"},O:[{I:"div",N:"ytp-error-content",O:[{I:"div",N:"ytp-error-icon-container",O:[nta()]},{I:"div",N:"ytp-error-content-wrap",O:[{I:"div",N:"ytp-error-content-wrap-reason",ca:"{{content}}"},{I:"div",N:"ytp-error-content-wrap-subreason",ca:"{{subreason}}"}]}]},{I:"div",N:"ytp-small-redirect",O:[{I:"a",N:"ytp-small-redirect-link",T:{href:CO(b),target:b.F,"aria-label":"Daha fazla videoya ula\u015fmak i\u00e7in YouTube'u ziyaret edin"},
O:[Dta()]}]},d]}}else b={I:"div",da:["ytp-error"],T:{role:"alert"},O:[{I:"div",N:"ytp-error-content",O:[{I:"div",N:"ytp-error-content-wrap",ca:"{{content}}"}]}]};g.W.call(this,b);this.G=c;this.B=a;(this.F=d)&&g.M(this,this.F);this.H=[];if(!this.G)try{this.D=new eW(1,1),g.M(this,this.D),this.D.A(this.element,0)}catch(e){}g.U(this.element,"ytp-controls-on-error",QU(this.B));this.J=1;Ota(this,g.OU(this.B).getPlayerSize())};
Ota=function(a,b){gW(a,function(c){Mta(c,b.width,b.height)});
a.G&&(Pta(a,b),g.U(a.element,"related-on-error-overlay-visible",!a.F.isHidden()))};
Pta=function(a,b){a.o["ytp-error-content"].style.paddingTop="0px";var c=a.o["ytp-error-content"],d=c.clientHeight;Ita(a.F,b,b.height-d);if(g.Y(a.B).H){var e=nta(),f=g.BV?{I:"div",da:["ytp-icon","ytp-icon-youtube-logo-redirect-large"]}:{I:"svg",T:{fill:"#fff",viewBox:"0 0 24 24"},O:[{I:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"path",T:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]},
k=1;480>b.width||290>b.height?(e={I:"div",da:["ytp-icon","ytp-icon-error-exclamation-small"]},f=Dta(),k=0):650<=b.width&&(e={I:"div",da:["ytp-icon","ytp-icon-error-exclamation-large"]},f=g.BV?{I:"div",da:["ytp-icon","ytp-icon-youtube-logo-redirect-extra-large"]}:{I:"svg",T:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},O:[{I:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"path",T:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]},
k=2);if(k!==a.J){e={"ytp-error-icon-container":e,"ytp-small-redirect":f};f=g.r(Object.keys(e));for(var l=f.next();!l.done;l=f.next()){l=l.value;var m=a.o[l];g.oe(m);(new g.W(e[l])).A(m)}a.J=k}}c.style.paddingTop=(b.height-a.F.element.clientHeight)/2-d/2+"px"};
gW=function(a,b){if(a.D)try{b.call(a,a.D)}catch(c){a.D.dispose(),a.D=null}};
Rta=function(a){a=a.split(Qta);for(var b=[],c=0;c<a.length;c+=3){var d=a[c++].split("\n");b.push(d[0]);for(var e=1;e<d.length;e++)b.push({I:"br"}),b.push(d[e]);c<a.length&&b.push({I:"a",T:{href:a[c],target:a[c+1]},ca:a[c+2]})}return{I:"span",O:b}};
hW=function(a,b,c,d,e,f){e||(e=g.Y(a.B).o);a=a.B.getVideoData();b=g.uV(g.lU[b]||"",d?{CPN:a.clientPlaybackNonce}:{}).split(/\$(BEGIN|END)_LINK/);d=[];f&&d.push({I:"h2",ca:f});d.push(b[0]);d.push({I:"br"});d.push({I:"a",T:{href:c,target:e?"_blank":null},ca:b[2]});d.push(b[4]);return{I:"span",O:d}};
jW=function(a){g.sH.call(this);this.o=a;this.C=new Set;this.A=navigator.mediaSession;iW(this,"play",function(){a.playVideo()});
iW(this,"pause",function(){a.pauseVideo()});
iW(this,"seekbackward",function(){a.seekBy(-5*a.getPlaybackRate())});
iW(this,"seekforward",function(){a.seekBy(5*a.getPlaybackRate())});
this.R(a,"videodatachange",this.D);this.R(a,"presentingplayerstatechange",this.B);this.D()};
iW=function(a,b,c){a.A.setActionHandler(b,c?(0,g.B)(c,a):null);a.C.add(b)};
kW=function(a){g.W.call(this,{I:"div",N:"ytp-paid-content-overlay",T:{"aria-live":"assertive","aria-atomic":"true"}});this.J=new g.W({I:"div",da:["ytp-button","ytp-paid-content-overlay-text"]});g.M(this,this.J);this.J.A(this.element);this.M=a;this.D=null;this.K=!1;this.G=new g.HV(this.J,250,!1,100);g.M(this,this.G);this.H=this.B=null;this.F={};this.L=0;this.R(a,"videodatachange",this.aa);this.R(a,"presentingplayerstatechange",this.Y)};
Sta=function(a,b){var c=sna(b),d=tna(b);a.B?b.videoId&&b.videoId!=a.D&&(g.Cv(a.B),a.D=b.videoId,c=a.F[b.videoId]||0,a.K=!!d&&3E3>c):c&&d&&(a.B=new g.V(a.P,d,a),g.M(a,a.B),g.ye(g.Zd("ytp-paid-content-overlay-text",a.element),c))};
Tta=function(a,b){a.B&&g.X(b,8)&&a.K&&(a.K=!1,a.G.show(),a.L=(0,g.J)(),a.B.start())};
mW=function(a){g.W.call(this,{I:"div",N:"ytp-spinner",O:[ZV(),{I:"div",N:"ytp-spinner-message",ca:"Oynatma k\u0131sa bir s\u00fcre i\u00e7inde ba\u015flamazsa cihaz\u0131n\u0131z\u0131 yeniden ba\u015flatmay\u0131 deneyin."}]});this.F=this.o["ytp-spinner-message"];this.D=a;this.B=new g.V(this.show,500,this);g.M(this,this.B);this.R(a,"presentingplayerstatechange",this.G);this.R(a,"onFrescaStateChange",this.H);this.R(a,"playbackstalledatstart",this.J);lW(this,g.NU(a))};
lW=function(a,b){if(g.X(b,128))var c=0;else!(c=g.X(b,16))&&(c=g.X(b,1))&&(c=g.KU(a.D).yd,c=!(c&&c.loaded));c?a.B.start():a.hide()};
oW=function(a,b){g.W.call(this,{I:"button",da:["ytp-airplay-button","ytp-button"],T:{title:"AirPlay"},ca:"{{icon}}"});this.B=a;this.X("click",this.F);this.R(a,"airplayactivechange",this.D);this.R(a,"airplayavailabilitychange",this.D);this.D();g.Nf(this,nW(b.Hb(),this.element))};
pW=function(a){g.jQ.call(this,{I:"div",N:"ytp-gradient-bottom"});this.D=g.ke("CANVAS");this.D.width=1;this.B=this.D.getContext("2d");this.F=NaN;Uta(this,g.OU(a).getPlayerSize().height)};
Uta=function(a,b){if(a.B){var c=Math.floor(.4*b);c=Math.max(c,47);var d=c+2;if(a.F!=d){a.F=d;a.D.height=d;a.B.clearRect(0,0,1,d);var e=a.B.createLinearGradient(0,2,0,2+c),f=c-42;e.addColorStop(0,"rgba(0, 0, 0, 0)");e.addColorStop(f/c,"rgba(0, 0, 0, 0.3)");e.addColorStop(1,"rgba(0, 0, 0, 0.68)");a.B.fillStyle=e;a.B.fillRect(0,2,1,c);a.element.style.height=d+"px";a.element.style.backgroundImage="url("+a.D.toDataURL()+")"}}};
Vta=function(a,b,c,d,e){var f=b.Fw/b.rows,k=Math.min(c/(b.Gw/b.columns),d/f),l=b.Gw*k,m=b.Fw*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,p=m/b.rows,q=-b.column*n,u=-b.row*p;e&&45>=f&&(p-=1/k);n-=2/k;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 "+u+"px/"+l+"px "+m+"px"};
qW=function(a){g.W.call(this,{I:"div",N:"ytp-storyboard-framepreview",O:[{I:"div",N:"ytp-storyboard-framepreview-img"}]});this.J=this.o["ytp-storyboard-framepreview-img"];this.B=a;this.be=null;this.G=NaN;this.D=new g.sH(this);g.M(this,this.D);this.F=new g.HV(this,100);g.M(this,this.F);this.R(this.B,"presentingplayerstatechange",this.K)};
rW=function(a,b){var c=!!a.be;a.be=b;a.be?(c||(a.D.R(a.B,"videodatachange",function(){rW(a,a.B.Te())}),a.D.R(a.B,"progresssync",a.L),a.D.R(a.B,"appresize",a.H)),a.G=NaN,sW(a),a.F.show(200)):(c&&g.uH(a.D),a.F.hide(),a.F.stop())};
sW=function(a){var b=a.B.getCurrentTime(),c=g.OU(a.B).getPlayerSize(),d=$O(a.be,c.width);b=vma(a.be,d,b);b!=a.G&&(a.G=b,uma(a.be,b,c.width),b=sma(a.be,b,c.width),Vta(a.J,b,c.width,c.height))};
tW=function(a,b){g.W.call(this,{I:"button",da:["ytp-fullerscreen-edu-button","ytp-button"],O:[{I:"div",da:["ytp-fullerscreen-edu-text"],ca:"Ayr\u0131nt\u0131lar i\u00e7in kayd\u0131r\u0131n"},{I:"div",da:["ytp-fullerscreen-edu-chevron"],O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-chevron-down"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},O:[{I:"path",T:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});eV(a,this.element,this,61214);this.B=a;this.J=b;
this.G=new g.HV(this,250,void 0,100);g.M(this,this.G);this.H=this.F=!1;this.R(a,"fullscreentoggled",this.D);this.R(a,"presentingplayerstatechange",this.D);this.X("click",this.K);this.D()};
uW=function(a,b,c,d){d=void 0===d?!1:d;g.jQ.call(this,b);this.ba=a;this.ia=d;this.M=null;this.L=new g.sH(this);g.M(this,this.L);this.aa=new g.HV(this,c,!0,void 0,null,(0,g.B)(this.FK,this));g.M(this,this.aa);this.B=null};
Wta=function(a){a.B&&(document.activeElement&&g.we(a.element,document.activeElement)&&(Ce(a.B),a.B.focus()),a.B.removeAttribute("aria-expanded"),a.B=null);g.uH(a.L);a.M=null};
vW=function(a){return a.C&&4!=a.aa.o};
wW=function(a,b){g.W.call(this,{I:"button",da:["ytp-fullscreen-button","ytp-button"],T:{title:"{{title}}"},ca:"{{icon}}"});this.D=a;this.H=b;this.B=null;this.F=nW(b.Hb(),this.element);this.G=new g.V(this.bK,2E3,this);g.M(this,this.G);this.R(a,"fullscreentoggled",this.ZF);this.R(a,"presentingplayerstatechange",this.JD);this.X("click",this.gP);if(UG()){var c=g.OU(this.D);this.R(c,bka(),this.EE);this.R(c,XG(document),this.hP)}g.Y(a).ba||Xta(this);this.JD();this.ZF(a.isFullscreen())};
Xta=function(a){if(!a.B){var b=(null!=SG(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"Tam ekran kullan\u0131lam\u0131yor. $BEGIN_LINKDaha Fazla Bilgi Edinin$END_LINK":"Taray\u0131c\u0131n\u0131z tam ekran\u0131 desteklemiyor. $BEGIN_LINKDaha Fazla Bilgi Edinin$END_LINK").split(/\$(BEGIN|END)_LINK/);a.B=new uW(a.D,{I:"div",da:["ytp-popup","ytp-generic-popup"],T:{role:"alert",tabindex:"0"},O:[b[0],{I:"a",T:{href:"https://support.google.com/youtube/answer/6276924",
target:g.Y(a.D).F},ca:b[2]},b[4]]},100,!0);a.B.hide();g.M(a,a.B);a.B.subscribe("show",(0,g.B)(a.H.qp,a.H,a.B));g.bV(a.D,a.B.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);(0,a.F)();a.F=null}};
xW=function(a,b){g.W.call(this,{I:"button",da:["ytp-miniplayer-button","ytp-button"],T:{title:"{{title}}"},O:[tta()]});this.B=a;this.D=!1;this.X("click",this.G);this.R(a,"fullscreentoggled",this.F);this.updateValue("title",bW(a,"Mini oynat\u0131c\u0131","i"));g.Nf(this,nW(b.Hb(),this.element));eV(a,this.element,this,62946);this.F()};
yW=function(a){var b={I:"div",N:"ytp-multicam-menu",T:{role:"dialog"},O:[{I:"div",N:"ytp-multicam-menu-header",O:[{I:"div",N:"ytp-multicam-menu-title",O:["Kameray\u0131 de\u011fi\u015ftir",{I:"button",da:["ytp-multicam-menu-close","ytp-button"],T:{"aria-label":"Kapat"},O:[g.EV()]}]}]},{I:"div",N:"ytp-multicam-menu-items"}]};uW.call(this,a,b,250);this.G=new g.sH(this);g.M(this,this.G);this.R(this.o["ytp-multicam-menu-close"],"click",this.Kb);this.D=a;this.Qa=this.o["ytp-multicam-menu-items"];this.F=
[];this.hide()};
zW=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-multicam-button","ytp-button"],T:{title:"Kameray\u0131 de\u011fi\u015ftir","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-switch-camera"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z",
fill:"#fff"}}]}]});this.H=a;this.F=!1;this.B=b.Hb();this.G=new g.V(this.K,400,this);g.M(this,this.G);this.X("click",(0,g.B)(c.If,c,this.element,!1));this.R(a,"presentingplayerstatechange",g.Na(this.D,!1));this.R(a,"videodatachange",this.J);this.D(!0);g.Nf(this,nW(this.B,this.element))};
AW=function(){g.L.call(this);this.D=null;this.B=this.o=0;this.C=new g.xv(this.A,null,this);g.M(this,this.C)};
Yta=function(a,b){if("path"==b.I)return b.T.d;if(b.O)for(var c=0;c<b.O.length;c++){var d=b.O[c];if(d&&!g.x(d)&&(d=Yta(a,d)))return d}};
aua=function(a,b,c){c=Yta(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=cQ();b=b.getElementsByTagName("use");for(var k=0;k<b.length;k++)b[k].setAttributeNS("http://www.w3.org/1999/xlink","href","#"+f);d.setAttribute("id",f)}var l=Zta(e),m=Zta(c);BW(a,function(n){d.setAttribute("d",$ta(l,m,n))},200)};
BW=function(a,b,c){a.D=b;a.B=g.PH();a.o=c;a.A()};
Zta=function(a){var b=[];a=a.match(bua);for(var c=0;c<a.length;c++){var d=parseFloat(a[c]);b.push(isNaN(d)?a[c]:d)}return b};
$ta=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.Ca(f)?d+(f+(b[e]-f)*c):d+f}return d};
CW=function(a,b){var c=g.Y(a);g.W.call(this,{I:"button",da:["ytp-mute-button","ytp-button"],T:c.M?{title:"{{title}}"}:{"aria-disabled":"true","aria-haspopup":"true"},ca:"{{icon}}"});this.updateValue("icon",GV());this.B=a;this.ha=b.Hb();this.K=this.M=this.L=this.Y=NaN;this.J=[];this.H=[];this.G=!1;g.Y(this.B).H||(this.D=new g.eQ({I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"defs",O:[{I:"clipPath",T:{id:"ytp-svg-volume-animation-mask"},O:[{I:"path",T:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{I:"path",T:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{I:"path",N:"ytp-svg-volume-animation-mover",T:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{I:"clipPath",T:{id:"ytp-svg-volume-animation-slash-mask"},O:[{I:"path",N:"ytp-svg-volume-animation-mover",T:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{I:"path",Ya:!0,da:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],T:{"clip-path":"url(#ytp-svg-volume-animation-mask)",d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",
fill:"#fff"}},{I:"path",Ya:!0,da:["ytp-svg-fill","ytp-svg-volume-animation-hider"],T:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.M(this,this.D),this.aa=this.D.o["ytp-svg-volume-animation-speaker"],this.ma=this.aa.getAttribute("d"),this.J=g.Yd("ytp-svg-volume-animation-mover",this.D.element),this.H=g.Yd("ytp-svg-volume-animation-hider",this.D.element));this.F=null;this.ba=new AW;g.M(this,this.ba);this.P=new AW;g.M(this,
this.P);this.X("click",this.ka);this.R(a,"appresize",this.Qc);this.R(a,"onVolumeChange",this.ia);var d=null;c.M?g.Nf(this,nW(b.Hb(),this.element)):(d="Taray\u0131c\u0131n\u0131z ses d\u00fczeyi de\u011fi\u015ftirme i\u015flevini desteklemiyor. $BEGIN_LINKDaha Fazla Bilgi Edinin$END_LINK".split(/\$(BEGIN|END)_LINK/),d=new uW(a,{I:"span",da:["ytp-popup","ytp-generic-popup"],T:{tabindex:"0"},O:[d[0],{I:"a",T:{href:"https://support.google.com/youtube/?p=noaudio",target:c.F},ca:d[2]},d[4]]},100,!0),g.M(this,
d),d.hide(),d.subscribe("show",(0,g.B)(b.qp,b,d)),g.bV(a,d.element,4));this.ea=d;eV(a,this.element,this,28662);this.Qc(g.OU(a).getPlayerSize());cua(this,a.getVolume(),a.isMuted())};
cua=function(a,b,c){var d=c?0:b/100,e=g.Y(a.B);if(e.H)d=0==d?GV():0<d&&.5>d?Bta():Ata(),d!=a.F&&(a.updateValue("icon",d),a.F=d);else{b=0==d?1:50<b?1:0;if(a.L!=b){var f=a.Y;isNaN(f)?dua(a,b):BW(a.ba,(0,g.B)(function(l){dua(this,f+(this.L-f)*l)},a),250);
a.L=b}d=0==d?1:0;if(a.K!=d){var k=a.M;isNaN(k)?eua(a,d):BW(a.P,(0,g.B)(function(l){eua(this,k+(this.K-k)*l)},a),250);
a.K=d}}e.M&&(e=bW(a.B,"Sessiz","m"),d=bW(a.B,"Sesi a\u00e7","m"),a.updateValue("title",c?d:e),DW(a.ha))};
dua=function(a,b){a.Y=b;var c=a.ma;b&&(c+=$ta(fua,gua,b));a.aa.setAttribute("d",c)};
eua=function(a,b){a.M=b;for(var c=20*b,d=0;d<a.J.length;d++)a.J[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=GV():e=a.D;for(c=0;c<a.H.length;c++)a.H[c].style.display=0==b?"none":"";e!=a.F&&(a.updateValue("icon",e),a.F=e)};
EW=function(a,b){g.W.call(this,{I:"button",da:["ytp-pip-button","ytp-button"],T:{title:"{{title}}"},O:[tta()]});this.B=a;this.updateValue("title","Resim \u0130\u00e7inde Resim");this.X("click",this.D);g.Nf(this,nW(b.Hb(),this.element))};
g.FW=function(a,b){g.W.call(this,{I:"button",da:["ytp-play-button","ytp-button"],T:{title:"{{title}}","aria-label":"{{label}}"},ca:"{{icon}}"});this.B=a;this.D=null;this.H=b.Hb();this.F=new AW;g.M(this,this.F);this.R(a,"fullscreentoggled",this.G);this.R(a,"presentingplayerstatechange",this.J);this.R(a,"videodatachange",this.G);hua(this,g.NU(a));this.X("click",this.K,this);g.Nf(this,nW(b.Hb(),this.element))};
iua=function(a){switch(a){case 1:return uta();case 2:return sta();case 3:return g.FV();case 4:return yta();default:return null}};
hua=function(a,b){var c=g.TP(a.B.getVideoData()),d=!1;if(MQ(b))var e=c?4:2;else g.X(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.D!=e){c=null;switch(e){case 2:c=bW(a.B,"Duraklat","k");break;case 3:c="Tekrar Oynat";break;case 1:c=bW(a.B,"Oynat","k");break;case 4:c="Canl\u0131 oynatmay\u0131 durdur"}3==e?a.update({title:c,label:null,icon:iua(e)}):(a.update({title:c,label:c}),(c=iua(e))&&a.D&&3!=a.D&&!g.Y(a.B).H?aua(a.F,a.element,c):a.updateValue("icon",c));DW(a.H);a.D=e}};
g.HW=function(a,b,c){if(c){var d="ytp-next-button";var e=qta()}else d="ytp-prev-button",e=vta();g.W.call(this,{I:"a",da:[d,"ytp-button"],T:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},O:[e]});this.B=a;this.P=b.Hb();this.D=c;this.F=this.J=null;this.M=!1;this.K=this.L=this.G=null;this.H=!1;this.R(a,"fullscreentoggled",this.Kk);this.R(a,"videodatachange",
this.Kk);this.R(a,"onPlaylistUpdate",this.Kk);this.D||this.R(a,"appresize",this.Qc);this.R(a,"mdxpreviousnextchange",function(){GW(this);this.Qc()});
this.Kk()};
jua=function(a){a.F&&a.F.unsubscribe("shuffle",a.Kk,a)};
kua=function(a){return!!a.F&&!a.D&&!!a.J&&!a.J.Da&&3<=a.B.getCurrentTime()&&2!=a.B.getPresentingPlayerType()};
lua=function(a){var b=g.PU(g.KU(a.B));return b?a.D?b.hasNext():b.Xf():!1};
GW=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.Y(a.B),d=QU(a.B),e=a.D&&g.dV(a.B),f=lua(a),k=a.D&&5==a.B.getPresentingPlayerType(),l=bW(a.B,"Sonraki","SHIFT+n"),m=bW(a.B,"\u00d6nceki","SHIFT+p");if(k)b.title="Videoyu ba\u015flat";else if(a.H)b.title="Tekrar Oynat";else if(d){var n=null;a.F&&(n=a.F.Aa(a.D?Hoa(a.F):Ioa(a.F)));if(n){if(n.videoId){var p=a.F.listId;b.url=c.getVideoUrl(n.videoId,p?p.toString():void 0)}b.text=n.title;b.duration=n.lengthSeconds?g.JV(n.lengthSeconds):
null;b.preview=n.hd("mqdefault.jpg")}b.title=a.D?l:m}else e&&(a.J.suggestions&&a.J.suggestions.length&&(c=g.VV(c,a.J.suggestions[0]),b.url=c.Em(),b.text=c.title,b.duration=c instanceof g.yP?g.JV(c.lengthSeconds):null,b.preview=c.hd("mqdefault.jpg")),b.title=l);b.disabled=!e&&!d&&!f&&!k;a.update(b);a.M=!!b.url;e||d||a.H||f||k?a.G||(a.G=nW(a.P,a.element),a.L=a.X("click",a.sP,a)):a.G&&(a.G(),a.G=null,a.Ka(a.L),a.L=null);DW(a.P)};
mua=function(){this.A=this.position=this.B=this.o=this.D=this.C=this.width=NaN};
g.IW=function(a,b){g.jQ.call(this,{I:"div",N:"ytp-progress-bar-container",T:{"aria-disabled":"true"},O:[{I:"div",da:["ytp-progress-bar",g.Y(a).A?"ytp-mobile":""],T:{tabindex:"0",role:"slider","aria-label":"Arama kayd\u0131rma \u00e7ubu\u011fu","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},O:[{I:"div",N:"ytp-progress-bar-padding"},{I:"div",N:"ytp-progress-list",O:[{I:"div",da:["ytp-play-progress","ytp-swatch-background-color"]},
{I:"div",N:"ytp-load-progress"},{I:"div",N:"ytp-hover-progress"},{I:"div",N:"ytp-clip-start-exclude"},{I:"div",N:"ytp-clip-end-exclude"},{I:"div",N:"ytp-ad-progress-list"},{I:"div",N:"ytp-marker-crenellation-list"},{I:"div",N:"ytp-marker-progress-list"}]},{I:"div",N:"ytp-marker-icons"},{I:"div",N:"ytp-scrubber-container",O:[{I:"div",da:["ytp-scrubber-button","ytp-swatch-background-color"],O:[{I:"div",N:"ytp-scrubber-pull-indicator"}]}]}]},{I:"div",N:"ytp-bound-time-left",ca:"{{boundTimeLeft}}"},{I:"div",
N:"ytp-bound-time-right",ca:"{{boundTimeRight}}"},{I:"div",N:"ytp-clip-start",T:{title:"Videonun tamam\u0131n\u0131 izleyin"},ca:"{{clipstarticon}}"},{I:"div",N:"ytp-clip-end",T:{title:"Videonun tamam\u0131n\u0131 izleyin"},ca:"{{clipendicon}}"}]});this.updateValue("clipstarticon",mta());this.updateValue("clipendicon",lta());this.B=a;this.xa=b.Hb();this.Xa=!1;this.G=this.Oa=0;this.ha=1;this.gd=this.L=0;this.F=null;this.Qb=!1;this.M=this.za=0;this.Nd=this.o["ytp-ad-progress-list"];this.Od=this.o["ytp-marker-progress-list"];
this.td=this.o["ytp-marker-icons"];this.Pb=this.o["ytp-marker-crenellation-list"];this.ba={};this.ya={};this.aa={};this.ia=[];this.P=Infinity;var c=b.Hb();this.ka=this.o["ytp-clip-end"];g.Nf(this,nW(c,this.ka));this.Ga=new g.zH(this.ka,!0);g.M(this,this.Ga);this.Ga.subscribe("hoverstart",this.uE,this);this.Ga.subscribe("hoverend",this.tE,this);this.R(this.ka,"click",this.wr);this.yb=this.o["ytp-clip-end-exclude"];this.rd=this.o["ytp-clip-start-exclude"];this.Y=0;this.ma=this.o["ytp-clip-start"];g.Nf(this,
nW(c,this.ma));this.Ia=new g.zH(this.ma,!0);g.M(this,this.Ia);this.Ia.subscribe("hoverstart",this.uE,this);this.Ia.subscribe("hoverend",this.tE,this);this.R(this.ma,"click",this.wr);this.Fc=this.o["ytp-load-progress"];this.ua=0;this.Pd=this.o["ytp-play-progress"];this.uc=this.o["ytp-hover-progress"];this.K=0;this.Rc=this.o["ytp-progress-bar"];this.H=null;this.ce=this.o["ytp-scrubber-button"];this.lf=this.o["ytp-scrubber-container"];this.Ma=new g.Od;this.dc=new mua;this.D=new LV(0,0);this.J=this.Sa=
!1;this.xc=null;this.jb=new g.sH(this);g.M(this,this.jb);this.R(a,"presentingplayerstatechange",this.uL);this.R(a,"videodatachange",this.MD);this.R(a,"videoplayerreset",this.tL);this.R(a,"cuerangesadded",this.KG);this.R(a,"cuerangesremoved",this.hV);this.R(a,"cuerangemarkersupdated",this.KG);this.R(a,"onPlaybackQualityChange",this.zL);nua(this,a.getVideoData(),!0)};
pua=function(a){if(a.G){var b=a.B.getProgressState(),c=new LV(b.seekableStart,b.seekableEnd),d=NV(c,b.loaded,0);b=NV(c,b.current,0);var e=a.D.A!=c.A||a.D.o!=c.o;a.D=c;JW(a,b,d);e&&g.KW(a);oua(a)}};
nua=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.isValid();a.Sa=d&&b.allowLiveDvr;qua(a,a.B.Mc());c&&(d?(c=b.clipEnd,a.Y=b.clipStart,a.P=c,LW(a),JW(a,a.K,a.ua)):a.wr(),b=a.xa,1==b.D&&b.Ye());pua(a)};
rua=function(a){return!!a&&a.isValid()&&!!a.Ca&&a.Ca.video.isAccelerated&&a.Ca.video.A};
MW=function(a,b){a.Qb=b;g.U(a.Fc,"ytp-fast-load",b)};
sua=function(a,b,c,d){b=g.Jd(b,0,a.J?60:40);a.L=b;var e=a.ha,f=Math.max(a.D.getLength()/a.G,1);a.ha=b/(a.J?60:40)*(f-1)+1;b=a.G*a.ha;a.M=g.Jd(d*b-c,0,b-a.G);e!=a.ha&&g.KW(a)};
g.KW=function(a){var b=NW(a),c=-b.C/b.o,d=(-b.C+b.width)/b.o,e=se(a.Pb),f=0;if(a.L>.2*(a.J?60:40)){var k=c*(a.D.getLength()/60),l=d*(a.D.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.ke("DIV"),a.Pb.appendChild(m));f++;m.className=0==k%60?"ytp-60m-progress":0==k%30?"ytp-30m-progress":0==k%15?"ytp-15m-progress":"ytp-1m-progress";var n=(60*k/a.D.getLength()-c)*b.o;m.style.left=n+"px"}}b=a.Sa?a.D.o:0;a.update({boundTimeLeft:g.JV(MV(a.D,c)-b),boundTimeRight:g.JV(MV(a.D,d)-b)});for(c=e.length-
1;c>=f;c--)g.qe(e[c]);a.element.style.height=a.L+(a.J?8:5)+"px";a.U("height-change",a.L);a.ce.style.height=a.L+(a.J?20:13)+"px";for(var p in a.ba)tua(a,p);OW(a);LW(a);JW(a,a.K,a.ua)};
NW=function(a){var b=a.Ma.x,c=a.G*a.ha;b=g.Jd(b,0,a.G);a.dc.update(b,a.G,-a.M,-(c-a.M-a.G));return a.dc};
JW=function(a,b,c){a.K=b;a.ua=c;var d=NW(a),e=a.D.o,f=MV(a.D,a.K);a.update({ariamin:Math.floor(a.D.A),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.uV("$PLAY_PROGRESS / $DURATION",{PLAY_PROGRESS:g.JV(f),DURATION:g.JV(e)})});e=NV(a.D,a.Y,0);var k=NV(a.D,a.P,1);f=g.Jd(b,e,k);c=a.Qb?1:g.Jd(c,e,k);g.Xh(a.lf,"transform","translateX("+(b*d.o+d.C)+"px)");PW(a,a.Pd,d,e,f);PW(a,a.Fc,d,e,c)};
uua=function(a,b,c){b=Math.max(c*b.o+b.C,0);a.style.left=b+"px";return b};
PW=function(a,b,c,d,e,f){f=void 0===f?!1:f;uua(b,c,d);d=g.Jd((e-d)*c.o+c.C,0,c.width);f||g.Y(a.B).A?b.style.width=d+"px":g.Xh(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
LW=function(a){var b=a.Y>a.D.A,c=0<a.D.o&&a.P<a.D.o;g.U(a.element,"ytp-clip-start-enabled",b);g.U(a.element,"ytp-clip-end-enabled",c);b=b?NV(a.D,a.Y,0):0;c=c?NV(a.D,a.P,1):1;a.ma.style.left=Math.round(1E3*b)/10+"%";a.ka.style.left=Math.round(1E3*c)/10+"%";a.rd.style.width=Math.round(1E3*b)/10+"%";a.yb.style.left=Math.round(1E3*c)/10+"%";a.yb.style.width=Math.round(1E3*(1-c))/10+"%"};
OW=function(a){for(var b=0;b<a.ia.length;b++){for(var c=a.aa[a.ia[b].getId()],d=Number(c.getAttribute("data-left"))-24,e=!1,f=b-1;0<=f;f--){var k=a.aa[a.ia[f].getId()];if("none"!=k.style.display){Number(k.getAttribute("data-left"))>d&&(e=!0);break}}c.style.display=e?"none":""}};
oua=function(a){var b=NW(a);PW(a,a.uc,b,a.K,b.A);g.U(a.uc,"ytp-hover-progress-light",b.A>a.K)};
tua=function(a,b){var c=a.ba[b],d=a.ya[b],e=NW(a),f=NV(a.D,c.start/1E3,0),k=Eoa(c,a.J),l=k/e.width;switch(c.style){case "ytp-chapter-marker":var m=f+l/2;f-=l/2;d.style.borderRadius=k+"px";break;default:m=NV(a.D,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.Jd(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);PW(a,d,e,f,m,!0);(c=a.aa[b])&&c.setAttribute("data-left",uua(c,e,f))};
vua=function(a,b){var c=b.getId();if(a.ba[c]==b){g.qe(a.ya[c]);delete a.ba[c];delete a.ya[c];var d=a.aa[c];d&&(g.qe(d),delete a.aa[c],c=a.ia,d=g.qb(c,b,g.kR),0<=d&&g.cb(c,d))}};
qua=function(a,b){b?a.H||(a.element.removeAttribute("aria-disabled"),a.H=new g.zH(a.Rc,!0),a.H.subscribe("hovermove",a.ZS,a),a.H.subscribe("hoverend",a.YS,a),a.H.subscribe("dragstart",a.XS,a),a.H.subscribe("dragmove",a.bT,a),a.H.subscribe("dragend",a.aT,a),a.xc=a.X("keydown",a.uP)):a.H&&(a.element.setAttribute("aria-disabled",!0),a.Ka(a.xc),a.H.cancel(),a.H.dispose(),a.H=null)};
g.QW=function(a,b){var c=g.mQ({role:"menuitemcheckbox","aria-checked":"false"});g.lQ.call(this,c,b,a,{I:"div",N:"ytp-menuitem-toggle-checkbox"});this.D=!1;this.X("click",this.M)};
g.RW=function(a,b){a.D=b;a.element.setAttribute("aria-checked",a.D)};
SW=function(a,b){g.QW.call(this,"Ek A\u00e7\u0131klamalar",5);this.G=b;this.F=a;this.B=!1;this.R(a,"videodatachange",this.H);this.R(a,"onApiChange",this.H);this.subscribe("select",this.J,this);this.H()};
TW=function(a,b,c,d,e){var f={I:"div",N:"ytp-panel"};if(c){var k="ytp-panel-title";var l={I:"div",N:"ytp-panel-header",O:[{I:"button",da:["ytp-button",k],O:[c]}]};if(e){var m="ytp-panel-options";l.O.push({I:"button",da:["ytp-button",m],O:[d]})}f.O=[l]}g.jQ.call(this,f);this.ha=b;b.A(this.element);this.ma=!1;c&&(this.R(this.o[k],"click",this.ya),this.ma=!0,e&&this.R(this.o[m],"click",e));b.subscribe("size-change",this.ua,this);this.R(a,"fullscreentoggled",this.ua)};
g.UW=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.jQ({I:"div",N:"ytp-panel-menu",T:f});TW.call(this,a,b,c,d,e);this.J=b;g.M(this,this.J);this.Qa=[]};
g.VW=function(a,b,c){if(void 0===c?0:c)a.Qa.push(b),a.J.element.appendChild(b.element);else{c=g.qb(a.Qa,b,wua);if(0<=c)return;c=~c;g.lb(a.Qa,c,0,b);pe(a.J.element,b.element,c)}b.subscribe("size-change",a.ia,a);a.J.U("size-change")};
g.WW=function(a,b){b.unsubscribe("size-change",a.ia,a);a.la()||(g.db(a.Qa,b),a.J.element.removeChild(b.element),a.J.U("size-change"))};
g.XW=function(a){for(var b=g.r(a.Qa),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.ia,a);a.Qa=[];g.oe(a.J.element);a.J.U("size-change")};
wua=function(a,b){return b.priority-a.priority};
g.YW=function(a,b,c,d,e,f){var k=g.mQ({"aria-haspopup":"true"});g.lQ.call(this,k,b,a);this.D=d;this.L=!1;this.H=null;this.F={};this.J=new g.UW(c,void 0,a,e,f);g.M(this,this.J);this.X("keydown",this.yP);this.X("click",this.open)};
g.ZW=function(a,b){g.XW(a.J);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.F[f],l=f==a.H;l&&(d=!0);k&&k.priority==-e?(l=a,g.kQ(l.F[f],l.zf(f,!0)),delete a.F[f]):k=a.Ht(f,-e,l);c[f]=k;g.VW(a.J,k,!0)}d||(a.H=null);for(var m in a.F)a.F[m].dispose();a.F=c};
$W=function(a,b){g.YW.call(this,"Ses par\u00e7as\u0131",2,a,b);this.B=a;this.M=new g.W({I:"div",O:[{I:"span",ca:"Ses par\u00e7as\u0131"},{I:"span",N:"ytp-menuitem-label-count",ca:"{{content}}"}]});g.kQ(this,this.M);this.P={};this.R(a,"videodatachange",this.K);this.R(a,"onPlaybackAudioChange",this.K);this.K()};
aX=function(a,b){g.QW.call(this,"Otomatik oynat",6);this.J=b;this.B=a;this.G=!1;this.F=[];this.R(a,"presentingplayerstatechange",this.H);this.subscribe("select",this.L,this);this.H()};
g.bX=function(a,b){uW.call(this,a,{I:"div",da:["ytp-popup",b||null]},100,!0);this.F=[];this.size=new g.Qd(0,0);this.H=this.J=null;this.P=this.Y=0;this.X("keydown",this.kP)};
xua=function(a){g.oi(a.element,a.Y||"100%",a.P||"100%");var b=cX(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.ha.element.style.height="";var c=g.pi(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.ma&&(d=g.pi(b.o["ytp-panel-header"]).height);b.ha.element.style.height=c.height-d+"px";d=b.element;var e=
d.scrollWidth-d.clientWidth;0<d.offsetWidth-d.clientWidth&&0<e&&(c.width+=e,b.element.style.width=c.width+"px");a.size=c};
g.eX=function(a,b){var c=a.F[a.F.length-1];a.F.push(b);dX(a,c,b)};
g.fX=function(a){var b=a.F.pop(),c=a.F[0];a.F=[c];dX(a,b,c,!0)};
dX=function(a,b,c,d){yua(a);cX(a);g.Jr(c.element,"ytp-panel-animate-back")||g.Jr(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.ul,a),b.unsubscribe("back",a.ne,a));c.subscribe("size-change",a.ul,a);c.subscribe("back",a.ne,a);if(a.C){g.T(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.A(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;xua(a);g.oi(a.element,e);a.J=new g.V(g.Na(a.NV,b,c,d),20,a);a.J.start()}else c.A(a.element),
b&&g.hQ(b)};
cX=function(a){return a.F[a.F.length-1]};
yua=function(a){a.J&&g.Bv(a.J);a.H&&g.Bv(a.H)};
gX=function(a,b){g.YW.call(this,"Kalite",1,a,b);g.T(this.J.element,"ytp-quality-menu");this.B=a;this.K={};this.G="unknown";this.R(a,"videodatachange",this.xn);this.R(a,"videoplayerreset",this.xn);this.R(a,"onPlaybackQualityChange",this.ND);this.xn()};
zua=function(a,b,c){a=a.K[b];var d=g.dL[b];d=a?a.qualityLabel:d?d+"p":"Otomatik";c={I:"span",da:c,O:[]};a&&a.isAccelerated&&a.A&&c.O.push({I:"div",N:"ytp-menuitem-badge-container",O:[{I:"svg",T:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},O:[{I:"path",T:{d:"M0 0v48h48V0H0zm10.6 30.64L4 24.05l6.69-6.69 6.6 6.59-6.69 6.69zM24 44l-6.7-6.7 13.35-13.35-13.32-13.28L24 4l20 20-20 20z"}},{I:"path",T:{d:"M 24,44 44,24 24,4 17.33,10.67 30.65,23.95 17.3,37.3 z M 10.6,30.64 17.29,23.95 10.69,17.36 4,24.05 z",
fill:"#fff"}}]}]});c.O.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.O.push(" "),c.O.push({I:"sup",N:"ytp-swatch-color",ca:e}));return c};
hX=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-button","ytp-settings-button"],T:{"aria-haspopup":"true","aria-owns":cQ(),title:"Ayarlar"},O:[g.xta()]});this.F=c;this.B=a;this.G=!0;this.X("click",this.H);this.R(a,"onPlaybackQualityChange",this.D);this.R(a,"videodatachange",this.D);this.R(a,"webglsettingschanged",this.D);this.R(a,"appresize",this.Qc);g.Nf(this,nW(b.Hb(),this.element));this.D();this.Qc(g.OU(a).getPlayerSize())};
iX=function(a,b){a.G=!!b;a.Qc(g.OU(a.B).getPlayerSize())};
jX=function(a,b,c,d,e,f,k){g.W.call(this,{I:"div",N:"ytp-slider-section",O:[{I:"div",N:"ytp-slider",O:[{I:"div",N:"ytp-slider-handle",T:{role:"slider","aria-valuemin":"{{minvalue}}","aria-valuemax":"{{maxvalue}}","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"}}]}]});this.minimumValue=c;this.maximumValue=d;this.H=this.maximumValue-this.minimumValue;this.P=e;this.Y=f;this.D=this.o["ytp-slider"];this.J=this.o["ytp-slider-handle"];this.M=a;this.K=b;this.B=k?k:c;this.L=new g.zH(this.D,
!0);g.M(this,this.L);this.L.subscribe("dragmove",this.QT,this);this.R(this.element,"keydown",this.TT);this.R(this.element,"wheel",this.tS);this.Qm()};
lX=function(a){var b=a.getAvailablePlaybackRates(),c=a.getPlaybackRate();jX.call(this,.05,.05,b[0],b[b.length-1],150,20,c);g.T(this.D,"ytp-speedslider");this.G=a;this.F=g.ke("P");g.T(this.F,"ytp-speedslider-text");a=this.F;b=this.D;b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.aa=xaa(this.ba,this);kX(this);this.R(this.G,"onPlaybackRateChange",this.ea)};
kX=function(a){a.F.innerText=mX(a,a.B)+"x"};
mX=function(a,b){var c=parseFloat(g.Jd(b,a.minimumValue,a.maximumValue).toFixed(2)),d=Math.floor(100*(c+.001)%5+2E-15),e=c;0!=d&&(e=c-.01*d);return parseFloat(e.toFixed(2))};
nX=function(a){g.jQ.call(this,{I:"div",N:"ytp-speedslider-component"});this.B=new lX(a);this.element.appendChild(this.B.element)};
Aua=function(a){TW.call(this,a,new nX(a),"\u00d6zel")};
oX=function(a,b){g.Y(a).experiments.o("web_player_finer_playback_speeds")?g.YW.call(this,"H\u0131z",4,a,b,"\u00d6zel",function(){return g.eX(b,new Aua(a))}):g.YW.call(this,"H\u0131z",4,a,b);
this.B=a;this.P=null;this.M=this.B.getAvailablePlaybackRates();this.K=this.G=null;this.R(a,"presentingplayerstatechange",this.RD);this.RD()};
Bua=function(a,b){var c=pX(b);a.F[c]?a.Af(c):b==a.K&&a.G&&(a.Af(a.G),a.Lb(b.toString()))};
Dua=function(a){g.ZW(a,a.M.map(pX));a.G=null;a.K=null;var b=a.B.getPlaybackRate();a.M.includes(b)||(Cua(a,b),g.YW.prototype.md.call(a,a.G))};
Cua=function(a,b){a.K=b;a.G=g.uV("\u00d6zel ($CURRENT_CUSTOM_SPEED)",{CURRENT_CUSTOM_SPEED:b.toString()});var c=a.M.map(pX);c.unshift(a.G);g.ZW(a,c)};
pX=function(a){return a.toString()};
qX=function(a){var b=null;try{b=a.toLocaleString("tr",{style:"percent"})}catch(c){b=a.toLocaleString(void 0,{style:"percent"})}return b};
rX=function(a,b,c,d){var e=new g.UW(b,void 0,"Video Ge\u00e7ersiz K\u0131lma");g.YW.call(this,d.text||"",a,b,c,"Video Ge\u00e7ersiz K\u0131lma",function(){return g.eX(c,e)});
g.T(this.element,"ytp-subtitles-options-menu-item");this.M=d.option.toString();a=d.options;this.P=g.vb(a,this.UD,this);this.K=e;g.M(this,this.K);b=new g.lQ({I:"div",N:"ytp-menuitemtitle",ca:"Videoda belirtilenden farkl\u0131 bir stile izin verin."},0);g.M(this,b);g.VW(this.K,b,!0);this.G=new g.lQ({I:"div",N:"ytp-menuitem",T:{role:"menuitemradio",tabindex:"0"},O:[{I:"div",N:"ytp-menuitem-label",ca:"A\u00e7\u0131k"}]},-1);g.M(this,this.G);g.VW(this.K,this.G,!0);this.R(this.G.element,"click",g.Na(this.VD,
!0));this.B=new g.lQ({I:"div",N:"ytp-menuitem",T:{role:"menuitemradio",tabindex:"0"},O:[{I:"div",N:"ytp-menuitem-label",ca:"Kapal\u0131"}]},-2);g.M(this,this.B);g.VW(this.K,this.B,!0);this.R(this.B.element,"click",g.Na(this.VD,!1));g.ZW(this,(0,g.K)(a,this.UD))};
tX=function(a,b){g.UW.call(this,a,void 0,"Se\u00e7enekler");this.B={};for(var c=0;c<g.sX.length;c++){var d=g.sX[c],e=new rX(-c,a,b,d);g.M(this,e);e.subscribe("settingChange",this.D,this);this.B[d.option.toString()]=e;g.VW(this,e,!0)}c=new g.lQ(g.mQ(),-g.sX.length,"S\u0131f\u0131rla");g.M(this,c);c.X("click",(0,g.B)(this.D,this,"reset",!0));g.VW(this,c,!0)};
Eua=function(a,b){for(var c in b){var d=a.B[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.F[e]&&(d.Af(e),d.G.element.setAttribute("aria-checked",!f),d.B.element.setAttribute("aria-checked",f))}}};
uX=function(a,b){g.YW.call(this,"Otomatik \u00e7evir",0,a,b);this.B={}};
vX=function(a,b){var c=new tX(a,b);g.YW.call(this,"Altyaz\u0131lar",3,a,b,"Se\u00e7enekler",function(){return g.eX(b,c)});
this.B=a;this.G={};this.P=new g.V(g.Na(this.TD,!1),3E3,this);g.M(this,this.P);this.Y=new g.W({I:"div",O:[{I:"span",ca:"Altyaz\u0131lar"},{I:"span",N:"ytp-menuitem-label-count",ca:"{{content}}"}]});g.M(this,this.Y);g.kQ(this,this.Y);this.K=new uX(a,b);g.M(this,this.K);this.K.subscribe("select",this.KP,this);this.M=c;g.M(this,this.M);this.M.subscribe("settingChange",this.JP,this);b.subscribe("show",this.IT,this);this.R(a,"videodatachange",this.yn);this.R(a,"onApiChange",this.yn);this.R(a,"onCaptionsTrackListChanged",
this.yn);this.R(a,"captionschanged",this.yn);this.yn()};
wX=function(a){g.bX.call(this,a,"ytp-settings-menu");this.D=a;this.G=new g.UW(a);g.M(this,this.G);this.K=null;this.ha=!1;this.hide();g.eX(this,this.G)};
xX=function(a){if(!a.ha){a.ha=!0;var b=new gX(a.D,a);g.M(a,b);b=new vX(a.D,a);g.M(a,b);b=new SW(a.D,a);g.M(a,b);g.Y(a.D).ua&&(b=new oX(a.D,a),g.M(a,b));g.Y(a.D).Pd&&(b=new aX(a.D,a),g.M(a,b));b=new $W(a.D,a);g.M(a,b);iX(a.K,a.G.Qa.length)}};
g.yX=function(a,b){xX(a);g.VW(a.G,b);iX(a.K,a.G.Qa.length)};
g.zX=function(a,b){a.C&&1>=a.G.Qa.length&&a.hide();g.WW(a.G,b);iX(a.K,a.G.Qa.length)};
Fua=function(a,b){a.K=b;a.element.id=b.element.getAttribute("aria-owns")};
AX=function(a,b,c){g.W.call(this,{I:"button",N:"ytp-button",T:{title:"TV'de oynat","aria-haspopup":"true"},ca:"{{icon}}"});this.B=a;this.G=c;this.F=null;this.R(a,"onMdxReceiversChange",this.D);this.R(a,"presentingplayerstatechange",this.D);this.R(a,"appresize",this.D);this.D();this.X("click",this.H,this);g.Nf(this,nW(b.Hb(),this.element))};
BX=function(a,b){g.W.call(this,{I:"button",da:["ytp-size-button","ytp-button"],T:{title:"{{title}}"},ca:"{{icon}}"});this.B=a;this.G=b.Hb();this.F=null;this.H=new AW;g.M(this,this.H);this.R(a,"sizestylechange",this.D);this.R(a,"fullscreentoggled",this.D);this.R(a,"presentingplayerstatechange",this.D);this.D();this.X("click",this.J);g.Nf(this,nW(this.G,this.element))};
CX=function(a,b){g.W.call(this,{I:"button",da:["ytp-subtitles-button","ytp-button"],T:{"aria-pressed":"{{pressed}}",title:bW(a,"Altyaz\u0131lar","c")},O:[zta()]});this.D=a;this.R(a,"videodatachange",this.B);this.R(a,"appresize",this.B);this.R(a,"onApiChange",this.B);this.R(a,"onCaptionsTrackListChanged",this.B);this.R(a,"captionschanged",this.B);this.B();this.X("click",this.F);g.Nf(this,nW(b.Hb(),this.element))};
g.DX=function(a,b){g.W.call(this,{I:"div",da:["ytp-time-display","notranslate"],O:[{I:"span",N:"ytp-time-current",ca:"{{currenttime}}"},{I:"span",N:"ytp-time-separator",ca:" / "},{I:"span",N:"ytp-time-duration",ca:"{{duration}}"}]});this.B=new g.W({I:"button",da:["ytp-live-badge","ytp-button"],T:{disabled:"true"},ca:"{{content}}"});this.B.Lb("Canl\u0131");g.M(this,this.B);this.B.A(this.element);this.F=a;this.M=b.Hb();this.D=null;this.G=!1;this.K=null;this.L=!1;this.J=this.H=null;this.X("click",this.P);
this.R(a,"presentingplayerstatechange",this.Ie);this.R(a,"appresize",this.Ie);this.R(a,"videodatachange",this.Y);var c=a.getVideoData();c&&Gua(this,c);this.Ie()};
Gua=function(a,b){a.G=b.Da;a.L=b.isPremiere;g.U(a.element,"ytp-live",a.G)};
FX=function(a,b,c){g.W.call(this,{I:"div",N:"ytp-volume-panel",T:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},O:[{I:"div",N:"ytp-volume-slider",O:[{I:"div",N:"ytp-volume-slider-handle"}]}]});this.B=a;this.J=b;this.Y=c;this.M=!1;this.K=b.bd();this.ba=this.G=0;this.aa=this.o["ytp-volume-slider"];this.ea=this.o["ytp-volume-slider-handle"];this.L=new g.zH(this.aa,!0);g.M(this,this.L);this.L.subscribe("dragstart",
this.ST,this);this.L.subscribe("dragmove",this.RT,this);this.L.subscribe("dragend",this.PT,this);this.P=null;this.D=this.F=this.H=!1;this.R(a,"onVolumeChange",this.NP);this.R(a,"appresize",this.Qc);this.R(a,"fullscreentoggled",this.LP);this.R(a,"onShowControls",this.BA);this.R(a,"onHideControls",this.BA);this.R(this.element,"keydown",this.UT);this.R(this.element,"focus",g.Na(this.WD,!0));this.R(this.element,"blur",g.Na(this.WD,!1));this.Qc(g.OU(a).getPlayerSize());EX(this,a.getVolume(),a.isMuted())};
EX=function(a,b,c){var d=Math.floor(b),e=d+"% ses d\u00fczeyi"+(c?" sessiz":"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.ea.style.left=(a.K?60:40)*c+"px";a.G=b};
GX=function(a,b,c,d,e){var f=a.F||a.H||a.D||a.M;a.F=b;a.H=c;a.D=d;a.M=e;b=a.F||a.H||a.D||a.M;f!=b&&(b?a.P=a.R(a.element,"wheel",a.MP):(a.Ka(a.P),a.P=null),g.U(a.Y,"ytp-volume-slider-active",b))};
HX=function(a,b){var c=g.Y(a),d=qO(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"],f="gaming"==c.playerStyle;f&&e.push("ytp-youtube-gaming-button");g.W.call(this,{I:"a",da:e,T:{href:"{{url}}",target:c.F,title:g.uV("$WEBSITE sitesinde izle",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},O:[f?g.BV?{I:"div",da:["ytp-icon","ytp-icon-logo-gaming"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 122 36",width:"100%"},O:[{I:"path",
Ya:!0,N:"ytp-svg-fill",T:{d:"M 45.32 10 L 45.32 25.81 L 47.39 25.81 L 47.64 24.75 L 47.68 24.75 C 47.87 25.13 48.17 25.43 48.56 25.65 C 48.95 25.87 49.37 25.98 49.84 25.98 C 50.69 25.98 51.32 25.59 51.72 24.81 C 52.12 24.03 52.32 22.81 52.32 21.15 L 52.32 19.39 C 52.34 18.13 52.26 17.15 52.11 16.44 C 51.96 15.74 51.72 15.23 51.38 14.91 C 51.04 14.60 50.57 14.44 49.98 14.44 C 49.52 14.44 49.08 14.57 48.68 14.83 C 48.48 14.96 48.31 15.11 48.15 15.29 C 48.00 15.46 47.86 15.65 47.75 15.86 L 47.74 15.86 L 47.74 10 L 45.32 10 z M 94.83 10.25 C 93.91 10.25 93.48 10.61 93.48 11.81 C 93.48 13.05 93.91 13.35 94.83 13.35 C 95.77 13.35 96.19 13.05 96.19 11.81 C 96.19 10.66 95.78 10.25 94.83 10.25 z M 67.44 10.31 C 64.14 10.31 63.40 12.21 63.40 16.34 L 63.40 20.15 C 63.40 24.06 64.21 26.00 66.56 26.00 C 68.00 26.00 68.86 25.31 69.19 23.91 L 69.55 25.81 L 71.03 25.81 L 71.03 18.25 L 71.03 18.24 L 67.41 18.24 L 67.41 20.19 L 68.82 20.19 L 68.82 21.47 C 68.82 23.38 68.38 24.10 67.34 24.10 C 66.32 24.10 66 23.12 66 20.52 L 66 16.22 C 66 13.11 66.37 12.19 67.35 12.19 C 68.01 12.19 68.40 12.58 68.53 14.02 C 68.57 14.50 68.59 15.10 68.58 15.83 L 70.83 15.68 C 71.14 12.21 70.35 10.31 67.44 10.31 z M 14.06 10.55 L 13.01 15.24 C 12.72 16.61 12.54 17.58 12.46 18.16 L 12.39 18.16 C 12.27 17.35 12.08 16.38 11.83 15.23 L 10.83 10.56 L 8.33 10.56 L 11.18 20.86 L 11.18 25.80 L 13.66 25.80 L 13.66 20.85 L 16.55 10.55 L 14.06 10.55 z M 30.33 10.56 L 30.33 12.58 L 32.83 12.58 L 32.83 25.81 L 35.27 25.81 L 35.27 12.58 L 37.76 12.58 L 37.76 10.56 L 30.33 10.56 z M 113.35 13.31 C 112.35 13.40 111.89 14.17 111.65 15.17 C 111.12 14.68 110.37 14.47 109.41 14.47 C 107.10 14.47 106.06 15.76 106.06 18.80 L 106.06 19.03 C 106.06 21.16 106.61 22.30 107.57 22.85 C 106.66 23.21 106.14 23.92 106.16 24.76 C 106.18 25.61 106.75 26.05 107.51 26.34 C 106.45 26.61 105.76 27.27 105.76 28.40 C 105.76 30.03 107.14 30.96 109.36 30.96 C 111.91 30.96 113.39 29.76 113.39 27.74 C 113.39 23.92 108.06 25.30 108.07 23.82 C 108.07 23.59 108.17 23.34 108.44 23.16 C 108.73 23.23 109.06 23.25 109.41 23.25 C 111.54 23.25 112.74 22.21 112.74 19.01 L 112.74 18.77 C 112.74 17.70 112.60 16.84 112.33 16.19 C 112.42 16.12 112.51 16.05 112.60 15.99 C 112.90 15.82 113.25 15.73 113.66 15.73 L 113.35 13.31 z M 85.40 14.43 C 84.45 14.43 83.64 14.88 83.07 15.71 C 82.99 15.82 82.91 15.95 82.84 16.08 L 82.81 16.08 L 82.58 14.66 L 80.60 14.66 L 80.60 25.81 L 83.11 25.81 L 83.11 16.91 C 83.38 16.45 83.77 16.21 84.21 16.21 C 84.75 16.21 84.99 16.66 84.99 17.57 L 84.99 25.81 L 87.5 25.81 L 87.5 17.39 C 87.5 17.23 87.50 17.08 87.48 16.93 C 87.75 16.45 88.14 16.21 88.58 16.21 C 89.12 16.21 89.36 16.66 89.36 17.57 L 89.36 25.81 L 91.88 25.81 L 91.88 17.39 C 91.88 15.52 91.29 14.42 89.77 14.43 C 88.77 14.43 87.91 14.95 87.33 15.91 C 87.05 14.97 86.45 14.43 85.40 14.43 z M 102.56 14.43 C 101.77 14.43 101.08 14.77 100.56 15.38 C 100.38 15.59 100.22 15.82 100.08 16.08 L 100.03 16.08 L 99.82 14.66 L 97.83 14.66 L 97.83 25.81 L 100.34 25.81 L 100.34 16.91 C 100.61 16.45 100.99 16.21 101.43 16.21 C 101.99 16.21 102.24 16.72 102.24 17.63 L 102.24 25.81 L 104.75 25.81 L 104.75 17.39 C 104.75 15.52 104.12 14.42 102.56 14.43 z M 19.43 14.46 C 18.59 14.46 17.92 14.63 17.41 14.96 C 16.89 15.29 16.50 15.82 16.26 16.55 C 16.02 17.28 15.91 18.23 15.91 19.43 L 15.91 21.06 C 15.91 22.24 16.02 23.20 16.23 23.91 C 16.44 24.62 16.80 25.15 17.30 25.49 C 17.80 25.83 18.49 26 19.39 26 C 20.25 26 20.92 25.83 21.42 25.5 C 21.92 25.17 22.29 24.63 22.51 23.91 C 22.74 23.19 22.85 22.25 22.85 21.06 L 22.85 19.43 C 22.85 18.23 22.73 17.28 22.50 16.56 C 22.27 15.84 21.91 15.31 21.41 14.97 C 20.91 14.63 20.25 14.46 19.43 14.46 z M 56.83 14.47 C 55.59 14.47 54.70 14.84 54.19 15.61 C 53.68 16.38 53.42 17.60 53.42 19.27 L 53.42 21.23 C 53.42 22.86 53.67 24.05 54.17 24.83 C 54.55 25.40 55.13 25.77 55.92 25.91 C 56.18 25.96 56.46 25.99 56.77 25.99 C 57.80 25.99 58.60 25.74 59.16 25.23 C 59.73 24.72 60.01 23.94 60.01 22.91 C 60.01 22.74 60.01 22.61 60 22.51 L 57.83 22.39 C 57.81 23.06 57.74 23.54 57.60 23.83 C 57.46 24.12 57.21 24.27 56.83 24.27 C 56.55 24.27 56.35 24.18 56.22 24.02 C 56.09 23.86 56.00 23.61 55.96 23.25 C 55.92 22.89 55.90 22.36 55.90 21.64 L 55.90 21.08 L 60.07 21.08 L 60.07 19.16 C 60.07 17.99 59.97 17.08 59.78 16.41 C 59.59 15.75 59.28 15.25 58.82 14.93 C 58.36 14.62 57.69 14.47 56.83 14.47 z M 75.83 14.47 C 73.32 14.47 72.24 15.61 72.46 18.32 L 74.66 18.5 C 74.68 16.77 74.93 16.18 75.73 16.18 C 76.44 16.18 76.59 16.72 76.59 18.27 L 76.59 19.08 C 73.41 19.93 72.22 21.31 72.22 23.33 C 72.22 25.15 73.30 26.06 74.68 26.06 C 75.79 26.06 76.46 25.44 76.82 24.46 L 76.85 24.46 L 77.10 25.82 L 79.01 25.82 L 79.01 18.38 C 79.01 15.78 78.18 14.45 75.83 14.47 z M 24.15 14.66 L 24.15 22.99 C 24.15 24.02 24.32 24.77 24.67 25.25 C 25.03 25.74 25.58 25.99 26.32 25.99 C 27.39 25.99 28.19 25.47 28.72 24.44 L 28.76 24.44 L 28.99 25.81 L 30.94 25.81 L 30.94 14.66 L 28.44 14.66 L 28.44 23.51 C 28.34 23.72 28.2 23.89 28 24.02 C 27.8 24.15 27.58 24.23 27.36 24.23 C 27.10 24.23 26.93 24.12 26.82 23.91 C 26.71 23.70 26.66 23.34 26.66 22.84 L 26.66 14.66 L 24.15 14.66 z M 37.01 14.66 L 37.01 22.99 C 37.01 24.02 37.20 24.77 37.55 25.25 C 37.82 25.62 38.19 25.85 38.67 25.94 C 38.83 25.97 39.00 25.99 39.18 25.99 C 40.25 25.99 41.05 25.47 41.58 24.44 L 41.64 24.44 L 41.85 25.81 L 43.82 25.81 L 43.82 14.66 L 41.32 14.66 L 41.32 23.51 C 41.22 23.72 41.06 23.89 40.86 24.02 C 40.66 24.15 40.46 24.23 40.24 24.23 C 39.98 24.23 39.79 24.12 39.68 23.91 C 39.57 23.70 39.52 23.34 39.52 22.84 L 39.52 14.66 L 37.01 14.66 z M 93.63 14.66 L 93.63 25.82 L 96.02 25.82 L 96.02 14.66 L 93.63 14.66 z M 56.83 16.15 C 57.10 16.15 57.28 16.23 57.41 16.38 C 57.53 16.53 57.62 16.79 57.67 17.16 C 57.72 17.53 57.75 18.07 57.75 18.78 L 57.75 19.58 L 55.91 19.58 L 55.91 18.78 C 55.91 18.05 55.93 17.52 55.97 17.16 C 56.01 16.81 56.09 16.55 56.22 16.39 C 56.35 16.23 56.55 16.15 56.83 16.15 z M 19.36 16.18 C 19.72 16.18 19.96 16.37 20.10 16.74 C 20.24 17.11 20.32 17.69 20.32 18.49 L 20.32 21.96 C 20.32 22.78 20.24 23.38 20.10 23.74 C 19.97 24.11 19.72 24.28 19.36 24.28 C 19.01 24.28 18.77 24.10 18.64 23.74 C 18.51 23.38 18.43 22.78 18.43 21.96 L 18.43 18.49 C 18.43 17.69 18.51 17.11 18.65 16.74 C 18.79 16.37 19.02 16.18 19.36 16.18 z M 109.41 16.19 C 110.12 16.19 110.33 16.73 110.33 18.75 L 110.33 19.14 C 110.33 21.14 110.09 21.63 109.41 21.63 C 108.73 21.63 108.46 21.14 108.46 19.14 L 108.46 18.75 C 108.46 16.74 108.70 16.19 109.41 16.19 z M 48.84 16.22 C 49.09 16.22 49.29 16.31 49.43 16.51 C 49.57 16.71 49.68 17.05 49.73 17.52 C 49.78 17.99 49.81 18.68 49.81 19.55 L 49.81 21 L 49.82 21 C 49.82 21.81 49.79 22.45 49.72 22.91 C 49.65 23.37 49.54 23.70 49.38 23.89 C 49.22 24.08 49.01 24.17 48.74 24.17 C 48.53 24.17 48.33 24.12 48.16 24.02 C 47.98 23.92 47.85 23.78 47.74 23.58 L 47.74 17.25 C 47.82 16.95 47.96 16.70 48.17 16.50 C 48.38 16.31 48.60 16.22 48.84 16.22 z M 76.60 20.36 L 76.60 23.60 C 76.36 23.99 75.98 24.30 75.58 24.30 C 74.98 24.30 74.74 23.81 74.74 22.88 C 74.74 21.66 75.29 20.78 76.60 20.36 z M 108.67 26.65 C 110.00 26.90 111.34 27.06 111.30 28.02 C 111.28 28.64 110.64 29.16 109.48 29.16 C 108.33 29.16 107.76 28.59 107.76 27.81 C 107.76 27.27 108.11 26.85 108.67 26.65 z"}}]}:
g.BV?{I:"div",da:["ytp-icon","ytp-icon-logo"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]});
this.B=a;this.D=!1;eV(a,this.element,this,28666);this.X("click",this.G);this.R(a,"videodatachange",this.F);this.F();g.Nf(this,nW(b.Hb(),this.element))};
IX=function(a,b,c){g.sH.call(this);var d=this,e=g.Y(a);this.C=a;this.B=b;this.ia=NaN;this.ha=null;this.ba=c;this.ba.subscribe("autohideupdate",this.pE,this);c=!g.NU(a).isCued();var f;g.Y(a).experiments.o("html5_player_dynamic_bottom_gradient")?this.ka=f=new pW(a):f=new g.W({I:"div",N:"ytp-gradient-bottom"});g.M(this,f);g.bV(a,f.element,8);this.Y=new g.HV(f,250,c,100);g.M(this,this.Y);this.A=new g.W({I:"div",N:"ytp-chrome-bottom",O:[{I:"div",N:"ytp-chrome-controls"}]});g.M(this,this.A);g.bV(a,this.A.element,
8);this.W=new g.HV(this.A,250,c,100);g.M(this,this.W);this.aa=this.A.element.children[0];this.o=new wX(a);g.Nf(this.o,function(){a.K==d.o&&(a.K=null)});
g.M(this,this.o);a.K=this.o;g.bV(a,this.o.element,6);this.o.subscribe("show",this.gW,this);this.o.subscribe("show",(0,g.B)(b.bG,b,this.o));this.F=new g.IW(a,b);g.M(this,this.F);this.F.A(this.A.element,0);c=new qW(a);g.M(this,c);g.bV(a,c.element,4);c=new g.eQ({I:"div",N:"ytp-left-controls"});g.M(this,c);c.A(this.aa);f=new g.HW(a,b,!1);g.M(this,f);f.A(c.element);e.L||(f=new g.FW(a,b),g.M(this,f),f.A(c.element));f=new g.HW(a,b,!0);g.M(this,f);f.A(c.element);var k=new g.W({I:"span"});g.M(this,k);k.A(c.element);
if(!e.Y&&(this.G=new CW(a,b),g.M(this,this.G),this.G.A(k.element),e.M)){f=new FX(a,b,this.A.element);g.M(this,f);f.A(k.element);k=new g.zH(k.element);g.M(this,k);var l=(0,g.B)(f.aG,f,!0);k.subscribe("hoverstart",l);k=new g.zH(c.element);g.M(this,k);f=(0,g.B)(f.aG,f,!1);k.subscribe("hoverend",f)}this.ga=new g.DX(a,b);g.M(this,this.ga);this.ga.A(c.element);c=new g.eQ({I:"div",N:"ytp-right-controls"});g.M(this,c);c.A(this.aa);this.L=null;e.experiments.o("external_fullscreen_with_edu")&&e.externalFullscreen&&
tO(e)&&(this.L=new tW(a,b),g.M(this,this.L),this.L.A(c.element));f=new CX(a,b);g.M(this,f);f.A(c.element);f=new hX(a,b,this.o);g.M(this,f);Fua(this.o,f);f.A(c.element);f=new yW(a);g.M(this,f);g.bV(a,f.element,5);f.subscribe("show",(0,g.B)(b.gm,b,f));f=new zW(a,b,f);g.M(this,f);f.A(c.element);f=a.getVideoData();if(e.Il||f.Lc&&"1"==e.C)this.H=new HX(a,b),g.M(this,this.H),this.H.A(c.element);e.showMiniplayerButton&&(this.D=new xW(a,b),g.M(this,this.D),this.D.A(c.element));this.M=new EW(a,b);g.M(this,
this.M);this.M.A(c.element);f.Px||this.M.hide();e.Qb||(f=new BX(a,b),g.M(this,f),f.A(c.element));e.jb&&(f=new AX(a,b,this.o),g.M(this,f),f.A(c.element));e.Gj&&(e=new oW(a,b),g.M(this,e),e.A(c.element));this.ea=new wW(a,b);g.M(this,this.ea);this.ea.A(c.element);this.J=new g.xv(this.HP,null,this);g.M(this,this.J);this.K=null;this.R(a,"appresize",this.Cw);this.R(a,"fullscreentoggled",this.Cw);this.R(a,"presentingplayerstatechange",this.qy);this.R(a,"videodatachange",this.IP);this.Cw()};
Hua=function(a,b){g.NU(a.C).isCued()||b?b&&(a.W.hide(),a.Y.hide(),a.G&&a.G.Tb(!1),a.H&&a.H.Tb(!1),a.D&&a.D.Tb(!1),a.B.Hb().oi(a.sa())):b||(a.W.show(),a.Y.show(),a.G&&a.G.Tb(!0),a.H&&a.H.Tb(!0),a.D&&a.D.Tb(!0),a.pE())};
Iua=function(a){var b=g.OU(a.C).getPlayerSize().width;return Math.max(b-2*JX(a),100)};
JX=function(a){var b=a.B.bd();return 12*(a.C.getVideoData().Lc?0:b?2:1)};
KX=function(a){var b=g.Y(a).experiments.C("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({I:"div",da:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));uW.call(this,a,{I:"button",da:["ytp-unmute","ytp-popup","ytp-button"].concat(c),O:[{I:"div",N:"ytp-unmute-inner",O:[{I:"div",da:["ytp-unmute-icon"],O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-volume-muted-dark"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]},
{I:"div",da:["ytp-unmute-text"],ca:"Sesi a\u00e7"}].concat(d)}]},100);this.D=a;this.F=this.G=!1;g.Y(this.D).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||eV(this.D,this.element,this,51663);this.R(a,"mutedautoplaychange",this.H,this);this.R(a,"presentingplayerstatechange",this.J);this.X("click",this.onClick,this);a=a.isMutedByMutedAutoplay();g.iQ(this,a);a&&Jua(this)};
Kua=function(a){a.G||(a.G=!0,g.UU(a.D,"mutedAutoplayClick",{}),g.Y(a.D).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||g.fV(a.D,a.element))};
Jua=function(a){a.F||(a.F=!0,g.UU(a.D,"mutedAutoplayImpression",{}),g.Y(a.D).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||g.gV(a.D,a.element,!0))};
LX=function(a){g.sH.call(this);var b=g.Y(a),c=g.OU(a);this.api=a;this.Fc=!1;this.H=null;this.dc=!1;this.Qb=new g.V(this.AQ,0,this);g.M(this,this.Qb);this.ea=new UV(a);g.M(this,this.ea);g.bV(a,this.ea.element,4);var d=jG()&&67<=hG();if(!iG("tizen")&&!fO&&!d){var e=new mW(a);g.M(this,e);e=e.element;g.bV(a,e,4)}d=a.getVideoData();this.A=new TV(c,(0,g.B)(this.WO,this),d,b.sd);g.M(this,this.A);this.A.subscribe("autohideupdate",this.Nw,this);var f=new kW(a);g.M(this,f);g.bV(a,f.element,4);this.za=new KX(a);
g.M(this,this.za);g.bV(this.api,this.za.element,2);this.uc=this.api.isMutedByMutedAutoplay();this.R(a,"mutedautoplaychange",this.XO);this.ya=new g.V(this.Nq,200,this);g.M(this,this.ya);this.Ra=d.videoId;this.B=null;this.yb=!1;this.Pb=null;this.Ga=[];d=a.getRootNode();d.setAttribute("aria-label","YouTube Video Oynat\u0131c\u0131s\u0131");switch(b.color){case "white":g.T(d,"ytp-color-white")}!g.Y(a).experiments.o("disable_mediasession2")&&navigator.mediaSession&&!navigator.mediaSession.metadata&&navigator.mediaSession.setActionHandler&&
(d=new jW(a),g.M(this,d));this.R(a,"appresize",this.bb);this.R(a,"presentingplayerstatechange",this.US);this.R(a,"videodatachange",this.FD);this.R(a,"videoplayerreset",this.PS);this.R(a,"autonavvisibility",this.hh,this);this.R(a,"sizestylechange",this.hh,this);g.Y(a).experiments.o("player_minimized_controls_killswitch")&&this.R(a,"minimized",this.ug,this);this.R(a,"onFrescaStateChange",this.ug,this);this.R(c,"click",this.wT,this);this.R(c,"dblclick",this.xT,this);b.ba&&(this.R(c,"gesturechange",this.yT,
this),this.R(c,"gestureend",this.zT,this));this.ma=[c.H,this.ea.element];e&&this.ma.push(e)};
MX=function(a){return g.Y(a.api).experiments.o("player_minimized_controls_killswitch")?a.api.app.J.o:!1};
NX=function(a,b){if(!b)return!1;var c=g.cV(a.api);if(c.Ph()&&(c=c.sa())&&g.we(c,b))return c.controls;for(c=0;c<a.ma.length;c++)if(g.we(a.ma[c],b))return!1;return g.Jr(b,"ytp-player-content")||g.Jr(b,"html5-endscreen")||b==a.api.getRootNode()?!1:!0};
Lua=function(a){return 2==a.api.getPresentingPlayerType()&&g.OU(a.api).J&&g.Y(a.api).A&&OX&&11<=SP};
Nua=function(a,b){if(!NX(a,hH(b))&&(a.A.qc(2,!0),g.KV(b)&&!g.Y(a.api).L))if(a.Uj())g.kH(b);else{var c=g.NU(a.api);g.X(c,2)&&LU(a.api)||a.GD(c);if(!g.Y(a.api).ba||c.isCued()||g.X(c,1024)){var d=a.api.app.ya;sQ(a.api,"embedsShouldRequestStorageAccessResult",{result:!!d,returnsUndefined:void 0===d});var e=g.X(c,2048);d&&(c.isCued()||e)?(sQ(a.api,"embedsRequestStorageAccessState",{isCued:c.isCued(),isAutoplayBlocked:e}),Mua(a)):(!d||c.isCued()&&e||sQ(a.api,"embedsRequestStorageAccessFailedState",{state:c.o}),
a.Nq())}else a.ya.isActive()?(a.gC(),a.ya.stop()):a.ya.start()}};
Mua=function(a){Nsa(function(){sQ(a.api,"embedsRequestStorageAccessResult",{resolved:!0});wN(!0);MH();window.location.reload()},function(){sQ(a.api,"embedsRequestStorageAccessResult",{resolved:!1});
a.Nq()})};
Oua=function(a,b){if(g.KV(b)&&a.api.isMutedByMutedAutoplay()){a.api.unMute();2==a.api.getPresentingPlayerType()&&a.api.playVideo();var c=g.NU(a.api);!g.X(c,4)||g.X(c,8)||g.X(c,2)||a.Nq();return!0}return!1};
Pua=function(a,b,c){a.api.isFullscreen()?c<1-b&&a.api.toggleFullscreen():c>1+b&&a.api.toggleFullscreen()};
Rua=function(a){if(Qua(a))return!1;var b=!!a.Ra&&!a.api.cg();if(2==a.api.getPresentingPlayerType()){a=g.KU(a.api).C;if(b){b=g.Y(a.player).experiments;var c=a.app.getVideoData();if(b.o("desktop_trv_action_hide_info_bar")&&c.Ui)b=!1;else if(b=c.Be)b=a.o,b=null!=b.J&&null!=mf(b.J,1)&&null!=mf(Kf(b.J),4)&&qf(tf(Kf(b.J),Ff,4),1)?!1:!0}return b}c=g.Y(a.api);var d=a.api.getVideoData();if(YN(c)&&!c.experiments.o("embed_hide_info_bar_killswitch")){var e;d.dm?(e=d.dm.embedPreview)?(e=e.thumbnailPreviewRenderer,
e=e.videoDetails&&e.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer||null):e=null:e=null;if(!e||!e.collapsedRenderer||!e.expandedRenderer)return!1}return c.experiments.o("embed_api_deprecation")&&d.Lc&&5==a.api.app.M?b:b&&(c.Hl||a.api.isFullscreen()||c.Qb)};
Qua=function(a){var b=g.Y(a.api),c=g.X(g.NU(a.api),128);return b.o&&c&&!a.api.isFullscreen()&&!QU(a.api)};
g.PX=function(a,b){return oL(a.info.mimeType)?b?aK(a.info)==b:!0:!1};
g.Sua=function(a,b){if(null!=a.oa&&g.vO(g.Y(b))&&!a.oa.A&&null!=a.oa.o.rawcc)return!0;if(!a.wk())return!1;var c=!!a.oa&&a.oa.A&&Object.values(a.oa.o).some(function(e){return g.PX(e,"386")}),d=!!a.oa&&!a.oa.A&&$ka(a.oa);
return c||d};
RX=function(a,b){this.o=a;this.A=g.Ca(b)?b:null;if(g.Ya(QX,this.o)){if(!g.Ca(this.A)||0>this.A)throw Error("Must have valid offset");}else if(null!==this.A)throw Error("Must not have offset");};
SX=function(a){var b=a.A;if(null!==b)return b;switch(a.o){case 1:return 0;case 3:return-1;default:return-100}};
Tua=function(a,b){var c=a.o,d=b.o;if(c!=d){if(1==c||3==d)return-1;if(1==d||3==c)return 1}var e=a.A,f=b.A;return e!=f?null===e?1:null===f?-1:e-f:c-d};
Uua=function(){var a=g.fF("PLAYER_CONFIG");return a&&a.args&&void 0!==a.args.authuser?!0:!(!g.fF("SESSION_INDEX")&&!g.fF("LOGGED_IN"))};
TX=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Vua=function(a,b){if(a){var c="getErrorCode"in a?a.Fb():null;c?b.error_code=c:(c="getMessage"in a&&g.Ja(a.getMessage)?a.Vd():a.message,c=uc(c||"",50),b.error_message=c)}};
UX=function(a,b){if(a){var c=ju(a).reverse();b.ad_id=g.gb(c,hu(a)).join(",");c=lu(a).reverse();b.ad_sys=g.gb(c,Yt(a)).join(",");c=is(a);null!=c&&(b.aqi=c)}};
VX=function(a,b){if(a[b])return TX(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return TX(a[d]);return!1};
Wua=function(a,b,c){var d=new Kp;d.Nj=b.D;d.contentId=c.videoId;d.ty=!cO(b);d.yy=!0;d.PG=!0;d.QG=a.M;d.showContentThumbnail=a.showContentThumbnail;d.Oi={};c.Df&&(d.Oi.ctrl=c.Df);c.Ef&&(d.Oi.ytr=c.Ef);c.gp&&(d.Oi.ytrcc=c.gp);c.isMdxPlayback&&(d.Oi.mdx="1");c.kf&&(d.Oi.vvt=c.kf);a.A?(d.xt=!0,d.VA=!0,d.showContentThumbnail=!1,d.ry=!0,d.uy=!0,d.yy=!1):a.B&&(d.xt=!0);a.A&&VN&&(d.iC=!1);d.hC=a.J;return d};
fva=function(a){var b=new iC,c=a.app.H.getPlayerSize();b.ik=c.width;b.hk=c.height;b.wf=c.width;WX(a).experiments.o("ima_use_dynamic_player_size_macros")&&(b.om=Xua(a),b.pm=Yua(a));b.vf=100;b.bB=sO(WX(a));c=new Ao;c.o=(0,g.B)(WX(a).experiments.o,WX(a).experiments);c.A=(0,g.B)(WX(a).experiments.A,WX(a).experiments);c.C=(0,g.B)(WX(a).experiments.C,WX(a).experiments);b.As=c;if(c=b.bB?Ela(WX(a)):-1)b.G=c;a.o.tagForChildDirected&&(b.Sr=!0);c=XX(a);b.fc={CA_TYPE:"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,
EID:c.eventId,LACT:Zua(a),VIS:$ua(a)};c.oauthToken&&QF()&&(WX(a).experiments.o("use_latest_oauth_on_midroll_ad_requests_for_living_room")&&(b.D=function(){return YX(a)}),b.H=YX(a),ava(a)&&(dw=function(f,k,l){l&&(l=g.ph(f),l=null===l?null:l.split(".").reverse(),l=null===l?!1:"com"==l[0]&&l[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1);
l=l?YX(a):void 0;g.yG(f,void 0,k,l)}));
WX(a).experiments.o("ima_use_dynamic_player_size_macros")?(b.fc.P_H=bva(a),b.fc.P_W=cva(a)):(c=ZX(a),null!=c&&(b.fc.P_H=c.height,b.fc.P_W=c.width));g.Mb(SF(RF),function(f,k){b.fc[k.toUpperCase()]=f});
sO(WX(a))||(b.fc.LACT="-1");b.language=WX(a).xa;var d=dva(a),e=0;b.Uo=function(){var f=eva();d(f);e++;return f};
return b};
dva=function(a){var b=!0;return function(c){if(b){a.Fe("a_bid_s");if(Hg(c)){var d=(0,g.B)(a.Fe,a,"a_bid_f");c.then(d,d)}else a.Fe("a_bid_f");b=!1}}};
eva=function(){var a=null;PG().then(function(d){a=d},function(d){a=d.isTimeout?"NO_BID":"ERR_BID"});
if(null!=a)return a;var b=sba(),c=g.Ug(mba([PG(),b]),function(){return"ERR_BID"});
pba(g.Ug(c,g.A),function(){b.cancel()});
return c};
Zua=function(a){return{toString:function(){if(null==a||a.la())return a=null;WX(a);return eI().toString()}}};
bva=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=ZX(a);return null!=b?b.height.toString():null}}};
cva=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=ZX(a);return null!=b?b.width.toString():null}}};
Yua=function(a){return function(){if(null==a||a.la())return a=null;var b=ZX(a);return null!=b?b.width:null}};
Xua=function(a){return function(){if(null==a||a.la())return a=null;var b=ZX(a);return null!=b?b.height:null}};
$ua=function(a){return{toString:function(){return null==a||a.la()?a=null:a.getVisibilityState().toString()}}};
gva=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=a.je?a.je.o:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.J)()-b).toString()}}};
hva=function(){var a=["Reklamlar\u0131n nas\u0131l hedeflendi\u011fi hakk\u0131nda daha fazla bilgi edinmek veya ki\u015fiye \u00f6zel reklamlar\u0131 devre d\u0131\u015f\u0131 b\u0131rakmak i\u00e7in Google'\u0131n "," sayfas\u0131n\u0131 ziyaret edin."];a.splice(1,0,"Reklam Ayarlar\u0131");return new ev("Reklam Ayarlar\u0131 i\u00e7in t\u0131klay\u0131n","Kapat","Bu reklam \u015funa g\u00f6re se\u00e7ilmi\u015f olabilir:",Uua()?["\u0130zlemekte oldu\u011funuz video.","Google oturumunuz a\u00e7\u0131kken ger\u00e7ekle\u015ftirdi\u011finiz i\u015flemler."]:
["\u0130zlemekte oldu\u011funuz video.","Bu cihazda ger\u00e7ekle\u015ftirdi\u011finiz i\u015flemler."],void 0,a)};
YX=function(a){if(!a.la()&&(a=ZP(XX(a))))return lc({Authorization:"Bearer "+a})};
ava=function(a){return WX(a).experiments.o("enable_oauth_headers_on_ad_tracking_pings_for_living_room")||WX(a).experiments.o("use_yt_pinging_service_for_ima_living_room")||WX(a).experiments.o("use_yt_pinging_service_w_headers_for_ima_living_room")};
$X=function(a,b,c,d){this.A=this.B="";this.C=a;this.G=b;this.o=c;this.F=d};
aY=function(a){var b={};b.l_ns=a.G;b.l_state=a.F;b.break_type=a.C.o;b.sst=SX(a.C);b.sidx=0;a.B&&(b.at=a.B);a.A&&(b.ad_id=a.A);return b};
bY=function(){g.L.call(this);this.A=new g.V((0,g.B)(this.F,this),1E3);g.M(this,this.A);this.B=this.C=0;this.o=oba();this.D=!1};
iva=function(){var a=g.z("yt.www.watch.ads.loadAfc");g.Ja(a)?(a(),cY=!0):dY=!0};
jva=function(){window.google_ad_output="html";window.google_ad_height="250";window.google_ad_format="300x250_as";window.google_container_id="google_companion_ad_div"};
kva=function(){var a=g.z("window.google_show_companion_ad");var b=g.z("yt.www.watch.ads.getGlobals");g.Ja(a)&&g.Ja(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():eY=!0};
mva=function(a){if(Q.A){if(!a)return Og();fY(a,{afvMpu:{}});return Ng()}a=a&&WX(a).experiments;kva();gY();return lva(a)};
lva=function(a){hY||(hY=new bY(a));a=hY;a.D||(a.A.start(),a.D=!0);return a.o.o};
gY=function(){hY&&(hY.dispose(),hY=null)};
iY=function(){var a=g.z("yt.www.watch.ads.setCompanion");a&&a()};
nva=function(a){var b=g.z("yt.www.watch.ads.showForcedMpu");b&&b(a)};
jY=function(a,b,c,d){g.vH.call(this);this.o=a;this.A=d;this.videoData=null;this.adType=c;this.adSystem=b};
ova=function(a,b,c){this.o=a;this.A=b;this.C=c||0};
sva=function(a){var b=[];(0,g.E)(a.split("_"),function(c,d){this[d]=g.Bc(c)},b);
return new ova(g.Yb(pva,b[0])?b[0]:0,g.Yb(qva,b[1])?b[1]:0,g.Yb(rva,b[2])?b[2]:0)};
tva=function(){this.clickThroughUrl="";this.isSkippable=this.isBumper=!1;this.skipShown=this.skip=g.A;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.attributionInfo=this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.muteAdClicked=this.sendAdsPing=g.A};
kY=function(a){g.L.call(this);var b=g.ke("div");b.className="video-ad-label";b.textContent="Reklam";var c=g.ke("div");c.className="video-ad-status-bar";c.appendChild(b);b=g.ke("div");b.className="ad-container";var d=g.ke("div");d.className="video-ads";d.appendChild(c);d.appendChild(b);this.element=d;this.C=a;this.A=this.o=null};
lY=function(a){if(!a.o){var b=g.Y(a.C);a.o=g.Zd("ad-container",a.element);!b.rd||WN&&cO(b)||(b.experiments.o("ima_enable_ad_ui_shifted_workaround")?g.T(a.o,"ad-container-single-media-element-annotations-workaround"):g.T(a.o,"ad-container-single-media-element-annotations"),b.experiments.o("enable_ima_ad_container_position_fix")&&g.T(a.o,"ad-container-single-media-element-annotations-fix"))}return a.o};
uva=function(a){if(!a.A){var b=g.ke("div");g.Kr(b,["video-click-tracking","ad-video"]);lY(a).appendChild(b);a.A=b}return a.A};
vva=function(a){a||(g.hF(Error("WhyThisAdExtension is absent"),"WARNING"),a=hva());var b={button:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"INFO_OUTLINE"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},hoverText:mY(a.A)};nY(b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a);return b};
nY=function(a,b){var c={title:mY(b.D),adReasons:b.F.map(function(f){return mY(f)})},d=b.C;
if(d&&3==d.length){var e=mY(d[0]);oY(e,d[1],"https://www.google.com/settings/ads");oY(e,d[2]);c.dialogMessage=e;d=Hr(b,"why_this_ad_settings_url");d.length&&(e.runs[1].navigationEndpoint.loggingUrls=d.map(function(f){return{baseUrl:f}}))}if(e=b.B)c.confirmLabel=mY(e),e=Hr(b,"why_this_ad_got_it"),e.length&&(c.confirmServiceEndpoint=pY(e));
if(e=wva(b,"why_this_ad_url"))c.impressionEndpoints=[e];if(e=wva(b,"why_this_ad_got_it"))c.confirmServiceEndpoint=e;a.dialog={adInfoDialogRenderer:c}};
yva=function(a){a=Qs(a);var b=Rs(a),c=[],d={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"};(0,g.E)(Vga(b),function(e){7==e.Zb()&&c.push(g.no(mt(e,"base_url"),d))});
return{plaShelfItemRenderer:{headline:mY(a.Bd()),merchant:mY(Ts(b)),image:{thumbnails:[{url:Us(a).getImageUrl()}]},priceText:mY(Vs(b)),reviewText:mY(mt(b,"review_text")),rating:ax(b,"rating",0),clickthroughEndpoint:xva(Xs(qx(b))),impressionEndpoints:[pY(c)]}}};
mY=function(a){var b={};oY(b,a,void 0);return b};
oY=function(a,b,c){a.runs||(a.runs=[]);b={text:b};c&&(b.navigationEndpoint=xva(c));a.runs.push(b)};
xva=function(a){return{urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
pY=function(a){return{loggingUrls:a.map(function(b){return{baseUrl:b}}),
pingingEndpoint:{hack:!0}}};
wva=function(a,b){var c=Hr(a,b);return c.length?pY(c):null};
zva=function(a){this.o=a};
qY=function(a){return a&&a.ad_event?Ava(a.ad_event):0};
Bva=function(a){switch(parseInt(a.toString(),10)){case 12:return 2;case 13:case 53:return 3;case 14:return 4;case 15:return 5;case 22:case 52:case 61:return 7;case 30:return 8;case 32:case 33:return 9;case 51:case 55:case 60:case 90:return 10;case 54:return 1;case 56:return 11;case 57:return 12;case 58:return 13}return 0};
Ava=function(a){switch(parseInt(a.toString(),10)){case 2:return 1;case 3:case 4:return 2;case 5:return 3;case 6:return 4;case 7:return 5;case 15:case 100:return 6;case 14:return 7;case 777:return 8;case 19:return 10;default:return 0}};
Cva=function(a,b){this.D=null;this.C=NaN;this.A=null;this.o=a;this.B=b};
rY=function(a,b,c){a.o.U("AD_LOGGING_EVENT",b,c)};
Dva=function(a,b,c){sY(a);var d=tY(a);c&&g.Oa(d,c);d.ad_error=b;rY(a,7,d)};
tY=function(a){var b={},c=a.o.videoData,d=a.o.Bp(),e=a.o.po();UX(a.o.Ab(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.ph(e),b.ad_dom=c,(c=a.B.o)&&c.B&&(b.ad_v_url=e.substr(0,512)));e=a.o;(e=e.A?e.A.Pe():null)&&(b.ad_cpn=e);b.format=a.o.uf();b.at=a.o.Ii();b.ad_mt=Math.round(1E3*Math.max(Eva(a.o),0));return b};
sY=function(a){a.D||(a.D="InstreamAdDisplay ("+a.o.uf()+")")};
uY=function(a,b){g.L.call(this);this.B=Math.max(0,a);this.C=this.A=0;this.D=b;this.o=NaN};
wY=function(a,b,c,d,e,f,k,l){jY.call(this,b,a,2,c);this.K=!1;this.D=this.W=this.L=null;this.o.subscribe("control_toggle_play_pause",this.rH,this);this.o.subscribe("control_play",this.gx,this);this.o.subscribe("control_pause",this.fx,this);this.B=new Cva(this,this.o);this.Z=new g.pH(this);this.C=vY(b.player.app,2);this.C.subscribe("statechange",this.pH,this);this.C.subscribe("internalAbandon",this.cE,this);this.C.subscribe("internalvideodatachange",this.qH,this);this.F=this.G=!1;this.P=d;this.ba=e;
this.M=!!f;this.Y=!!k;this.J=l;c=WX(this.o).experiments;d=WX(this.o);a=g.kO(d)&&c.o("use_variable_buffer_timeout_living_room")||c.o("use_variable_buffer_timeout");c=g.kO(d)&&c.A("variable_buffer_timeout_living_room_ms")||c.A("variable_buffer_timeout_ms");this.H=new uY(a?c:15E3,(0,g.B)(this.abort,this));this.aa=b.o.M&&"3"==WX(b).C};
yY=function(a,b){a.la()||a.aa&&xY(a.o.app.H,b)};
AY=function(a){var b=WX(a.o).experiments.o("ad_to_video_use_gel");pP("ad_to_video",["pbresume"],void 0,b);a.J&&(0,g.iR)("yt_abt",a.J,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&(0,g.iR)("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&(0,g.iR)("ad_docid",a.videoData.videoId,"ad_to_video");(0,g.JP)("adc",void 0,"ad_to_video");g.mU(vY(a.o.player.app,2));zY(a.o,0);a.o.fl(0);a.U("adEnd",a);yY(a,!0)};
BY=function(a,b){WX(a.o).experiments.o("html5_ad_error_releases")?g.mU(a.C):NT(a.C);zY(a.o,0);a.U("adError",b)};
Eva=function(a){return a.C?a.C.getCurrentTime():0};
Fva=function(a){a=a.Ab();if(!a)return null;a=cu(a);if(!a)if(Ho().o("set_default_wta_if_missing_for_externs"))a=hva();else return null;return{menuTitle:a.A,closeButton:a.B,targetingReasonHeader:a.D,targetingReasons:g.ib(a.F),adSettingsLink:g.ib(a.C),controlText:a.H,continueButton:a.G,cancelButton:a.K}};
Gva=function(a){a=a.Ab();if(!a)return null;a=du(a);if(!a)return null;for(var b=dv(a),c=[],d=0;d<b;d++)c.push({label:a.A[d].label,url:a.A[d].url});return{goneText:a.C,questionText:a.D,undoText:a.F,hoverText:a.B,surveyOptions:c}};
Hva=function(a,b){this.o=a;this.D=b;this.o.uf();this.A=this.B=0;this.C=null};
CY=function(a,b,c){a.o.U("AD_LOGGING_EVENT",b,c)};
DY=function(a){var b={};UX(a.o.Ab(),b);a.B&&a.A&&(b.ot=a.A-a.B);var c=a.D.isFullscreen()?2:a.D.isWidescreen()?1:0;b.ad_ps=c;b.format=a.o.uf();b.at=a.o.Ii();return b};
EY=function(a,b,c,d){jY.call(this,b,a,1,c);this.C=null;this.G=this.D=!1;this.J=null;this.B=new Hva(this,b);this.Z=new g.pH(this);this.H=!!d;this.F=!1};
FY=function(a,b){var c=a.o.getRootNode();g.U(c,"ytp-ad-overlay-open",b);g.U(c,"ytp-ad-overlay-closed",!b)};
GY=function(a,b,c,d){g.L.call(this);this.J=null;this.H=a;this.A=b.Xb;this.D=b;this.slotId=b.getId();this.o=c;this.F=d;this.C=new $X(this.A,this.H,c,d);this.qb=null;this.L=new g.fo(this);this.B=new g.fo(this);this.K=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
HY=function(a,b){a.J=b;var c=b.uf();a.C.B=c};
IY=function(a,b){var c=g.z("yt.www.watch.ads.setAdId");c&&c(b);a.C.A=b};
Iva=function(a){mva(a.o).then(function(){this.C.D()},g.A,a)};
Jva=function(a){this.o=a};
JY=function(a){jY.call(this,a,2,3,null)};
KY=function(a,b,c){GY.call(this,2,a,b,c);this.G=new Jva(this.o.o);jva()};
Kva=function(a,b){this.o=a?a:"";this.Ib=b};
LY=function(a,b,c,d){EY.call(this,1,a,b,d);this.K=c};
MY=function(a,b,c){GY.call(this,1,a,b,c);this.G=new Kva(this.o.o.adTag,this.slotId,WX(this.o).experiments)};
NY=function(a,b){var c=b.o;this.G=c.ya;var d=0;c=c.W.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);GY.call(this,2,a,b,d)};
Lva=function(){OY||(OY=g.Ja(g.z("yt.www.watch.ads.promotionShelfShow"))?Ng():new g.Jg(function(a){g.xF("watchAdsInit",a)}));
return OY};
Mva=function(a){var b=g.z("yt.www.watch.ads.promotionShelfClear");b&&b();b=g.z("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)};
Qva=function(a){var b=Qs(a),c=Rs(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");g.jQ.call(this,{I:"div",N:"iv-btp-card",O:[{I:"a",N:"iv-btp-card-content",T:{href:Xs(qx(c)),target:"_blank"},O:[{I:"div",O:[{I:"div",da:d,T:{"data-position":"bottomright","data-orientation":"vertical"},O:[{I:"div",da:["iv-btp-card-image","yt-uix-hovercard-anchor"],O:[{I:"span"},{I:"div",N:"iv-btp-card-image-aligned",O:[{I:"img",T:{src:Us(b).getImageUrl()}}]}]},{I:"div",N:"iv-btp-card-info",O:[{I:"span",N:"iv-btp-card-action",
ca:Vs(c)},PY(a)]},Nva(a)]},{I:"div",N:"iv-btp-large-card",O:[{I:"div",N:"iv-btp-card-image",O:[{I:"span"},{I:"div",N:"iv-btp-card-image-aligned",O:[{I:"img",T:{src:Us(b).getImageUrl()}}]}]},{I:"div",N:"iv-btp-card-info",O:[{I:"div",N:"iv-btp-card-text-box",O:[{I:"div",N:"iv-btp-card-text-valign",O:[{I:"div",da:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],ca:b.Bd()}]}]},{I:"span",N:"iv-btp-card-action",ca:Vs(c)},PY(a),Ova(a)]}]},Pva(a)]}]}]})};
Ova=function(a){a=Rs(Qs(a));return.01>ax(a,"rating",0)?{I:"div"}:{I:"div",N:"iv-btp-card-review",O:[{I:"div",N:"iv-btp-card-rating",O:[{I:"span",N:"iv-btp-card-rating-bg",O:[{I:"span",N:"iv-btp-card-rating-fg",T:{style:"width: "+Math.floor(100*ax(a,"rating",0)/5)+"%;"}}]}]},{I:"span",N:"iv-btp-card-reviews",ca:mt(a,"review_text")}]}};
Nva=function(a){var b=Qs(a),c=Rs(b);return{I:"div",da:["yt-uix-hovercard-content","iv-btp-hovercard"],O:[{I:"div",N:"iv-btp-hovercard-text-box",O:[{I:"a",T:{href:Xs(qx(c)),target:"_blank"},O:[{I:"div",da:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],ca:b.Bd()}]},{I:"div",N:"iv-btp-hovercard-info",O:[{I:"span",N:"iv-btp-hovercard-action",ca:Vs(c)},PY(a)]},Ova(a)]}]}};
PY=function(a){return{I:"div",N:"iv-btp-card-merchant",O:[{I:"span",N:"iv-btp-card-merchant-text",ca:Ts(Rs(Qs(a)))}]}};
Pva=function(a){var b=[];a=Rs(Qs(a));for(var c={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"},d=0;d<ex(a,"event");d++){var e=new dx(cx(a,"event",d));7==e.Zb()&&(e=g.no(mt(e,"base_url"),c),b.push({I:"img",T:{src:e}}))}return{I:"div",N:"iv-btp-impressions",O:b}};
QY=function(){g.jQ.call(this,{I:"div",N:"iv-btp-companion",O:[{I:"div",N:"iv-btp-block-clicks"},{I:"div",N:"iv-btp-attribution",O:[{I:"span",N:"iv-btp-title",ca:"{{title}}"},{I:"div",N:"ad-info-container",O:[{I:"span",N:"iv-btp-sponsored",ca:"Sponsorlu"},{I:"button",N:"ad-info-icon"}]}]}]});var a=this.o["iv-btp-companion"];this.D=new PV;this.D.A(a);this.G=new g.sH(this);g.M(this,this.G);this.K=new g.V(this.ky,200,this);g.M(this,this.K);this.J=this.o["iv-btp-block-clicks"];this.F=new g.V(g.Na(function(b){g.N(b,
!1)},this.J),1E3);
g.M(this,this.F);this.B=null;this.H=Rva();this.G.R(window,"resize",this.sL);this.G.R(this.o["ad-info-icon"],"click",this.cQ)};
Sva=function(a,b){a.clear();g.N(a.J,!0);var c=(0,g.K)(b,g.Na(function(d){return new Qva(d)}));
a.updateValue("title",0<b.length?mt(b[0],"teaser_text"):"");Eta(a.D,c);a.ky()};
Rva=function(){return{dialogMessage:{runs:[{text:"Videoyla ilgili oldu\u011funu d\u00fc\u015f\u00fcnd\u00fc\u011f\u00fcm\u00fcz i\u00e7in bu \u00fcr\u00fcn\u00fc g\u00f6r\u00fcyorsunuz. Google, sat\u0131c\u0131 taraf\u0131ndan tazmin edilebilir."}]}}};
RY=function(a,b){jY.call(this,a,14,14,b);this.C=new QY;g.M(this,this.C)};
Tva=function(a){return(0,g.re)(a.A.Ab().D,function(b){return bx(b.Se(),"show_in_promotion_shelf")})};
SY=function(a,b,c){GY.call(this,14,a,b,c)};
TY=function(a,b,c){GY.call(this,14,a,b,c)};
Uva=function(a,b,c,d,e){this.B=a;this.A=b;this.o=c;this.G=WX(this.B);this.D=d;this.F=XX(this.B).lengthSeconds;this.H=e;this.C="html5";g.dO(this.G)?this.C="html5_embed":WN||VN?this.C="html5_ios":iG("android")?this.C="html5_android":sG()?this.C="html5_wp":mG()?this.C="html5_ps3":g.BO(this.G)?(a=(g.Wb(window,"environment","brand")||"").toLowerCase(),b=(g.Wb(window,"environment","model")||"").toLowerCase(),this.C="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):rG()?this.C="html5_wii":
this.C="html5_desktop"};
Vva=function(a){return UY(a.A)?"preroll":VY(a.A)?"postroll":"midroll"};
Wva=function(a){return(a=a.B.A)?(0,g.Ik)(a.Db,function(b){return WY(b)||VY(b)}):!1};
XY=function(a,b){EY.call(this,4,a,b)};
YY=function(a,b,c){GY.call(this,4,a,b,c);var d=this.o.o;this.G=g.H(d.Ia);var e=XX(this.o)&&XX(this.o).ol;this.M=new Uva(b,a,d,c,!!e)};
ZY=function(a,b){this.A=a;this.o=b};
Xva=function(a){return 0<(a.o&3)};
$Y=function(a,b,c,d,e){g.vH.call(this);this.G=!0;this.A=!1;this.isVisible=!0;this.B="unloaded";this.H=!1;this.Ja=b;this.C=a;this.Xb=c;this.F=d;this.D=this.o=null;this.J=!!e};
bZ=function(a){return UY(a)?a.Jb()&&aZ(a)?-0x8000000000000:0:g.Ca(a.Xb.A)?1E3*SX(a.Xb):0x8000000000000};
Yva=function(a){var b=!WX(a.C).experiments.o("disable_fetching_previous_nonadjacent_midrolls");return UY(a)||b&&a.C.player&&1E3*a.C.player.getCurrentTime()>=bZ(a)?!1:(0,g.Fj)(a.F,function(c){switch(c.Zb()){case 1:case 2:case 5:return!0;default:return!1}})};
UY=function(a){return 1==a.Xb.o};
aZ=function(a){if(!a.Jb())throw Error("Preroll status is undefined before ad load.");return UY(a)&&a.A};
WY=function(a){return 2==a.Xb.o};
VY=function(a){return 3==a.Xb.o};
gZ=function(a){a.B="loading";UY(a)&&!(0,g.Ik)(a.F,Xva)&&cZ(a.C);if(a.J)a.B="loaded",a.A=!0,dZ(a);else{var b=a.F.shift();b?(UY(a)&&a.C.Fe("nl"),b=b.create(a,a.C),g.M(a,b),b.load()):a.C.o&&a.C.o.G&&5!=a.Xb.o?Zva(a,new JY(a.C),a.Xb):(eZ(a.C,2,fZ(a,{})),$va(a,!1),a.B="error",dZ(a))}};
hZ=function(a){a.o&&(a.o.unsubscribe("adEnd",a.hE,a),a.o.unsubscribe("adError",a.hH,a),a.o.unsubscribe("AD_LOGGING_EVENT",a.jH,a),a.o.unsubscribe("select",a.gH,a),a.o.unsubscribe("adCompanionInitialized",a.iH,a))};
Zva=function(a,b,c){a.o=b;a.Xb=c;g.M(a,a.o);0==a.Ja&&(b=a.o.Ii(),a.C.P.at=b);a.o instanceof wY?a.A=!0:a.o instanceof JY?a.isVisible=!1:a.o instanceof XY?a.isVisible=!1:a.o instanceof LY&&(a.isVisible=!1);a.B="loaded";dZ(a)};
dZ=function(a){a.U("adBreakComplete",a)};
$va=function(a,b){a.D&&(a.D.bl({FILLED_OPPORTUNITY:b?1:0}),a.D.dispose(),a.D=null)};
fZ=function(a,b){b.break_type=a.Xb.o;b.sst=SX(a.Xb);b.sidx=0;return b};
awa=function(a){var b=0;a.Y&&(b|=1);a.P&&(b|=2);var c=0;a.H&&a.L&&(c=4);a=new g.Jn;a.set(3,b);a.set(4,c);return a};
bwa=function(a,b){var c=[];if(a.ga)return c.push("pla"==(a.W||"").toLowerCase()?new ZY(8,16):new ZY(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.ia&&c.push(new ZY(7,16)),c;if(a.ea){var d=0;if(a.C||a.F)d|=1;a.ha&&(d|=4);a.G&&(d|=8);c.push(new ZY(5,d))}a.ba&&(d=0,a.C&&(d|=1),a.F&&(d|=2),a.ha&&a.H&&(d|=4),a.G&&a.H&&(d|=8),d&&c.push(new ZY(2,d)));d=awa(a);var e=d.get(3);e&&c.push(new ZY(1,e));!a.independentBreakOffsets&&a.ia&&c.push(new ZY(7,16));(d=d.get(4))&&c.push(new ZY(1,d));return c};
cwa=function(a){this.o=a};
ewa=function(a){var b=[];(0,g.E)(dwa(a),function(c,d){var e=this.o;var f=bwa(this.o.o,c.o);e=new $Y(e,d,c,f);b.push(e)},a);
return b};
dwa=function(a){var b=a.o.o;a=[];if(b.ma)for(var c=b.ma.split(","),d=0;d<c.length;d++){var e=g.Bc(c[d]);e=0>e?new RX(3):0<e?new RX(2,e):new RX(1);a.push(e)}else a=fwa;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new RX(5,g.Bc(b[d])));g.sb(a,Tua);return a};
iwa=function(a,b){this.K=a;this.A=this.K.A;this.B=g.BO(this.K);this.D=this.A||this.B;this.M=!this.B&&!cO(a);this.C=TX(b.instream);this.isLiveStream=1==b.livestream;this.F=TX(b.trueview);this.aa=TX(b.aftv);this.ma=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets||null;this.adFlags=b.ad_flags||0;this.Ga=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Xa=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.age=parseInt(b.ad_age,10);this.applyFadeOnMidrolls=
!!b.apply_fade_on_midrolls&&(this.C||this.F)&&!this.K.Y;this.contentOwnerId=b.cid;this.contentVideoId=PN(b);this.excludedAds=b.excluded_ads;this.fadeInDurationMilliseconds=parseInt(b.fade_in_duration_milliseconds,10)||0;this.fadeInStartMilliseconds=parseInt(b.fade_in_start_milliseconds,10)||0;this.fadeOutDurationMilliseconds=parseInt(b.fade_out_duration_milliseconds,10)||0;this.fadeOutStartMilliseconds=parseInt(b.fade_out_start_milliseconds,10)||0;this.W=b.force_ad_type;this.ya=b.force_ad_url;this.Ia=
b.freewheel_ad_tag;this.gender=$b(gwa,function(c){return c==b.ad_gender});
this.ua=b.dbp;this.L=TX(b.afv)&&!this.D;this.P=this.aa&&this.F;this.Y=this.aa&&this.C&&!TX(b.no_afv_instream);this.ba=TX(b.dclk);TX(b.gpt_migration);this.ga=TX(b.forced_ad);this.ea=1==parseInt(b.tpas_ad_type_id,10);this.jb=!!b.fqsf;this.ha=TX(b.invideo)&&!this.D;this.G=TX(b.mpu)&&!this.D;this.ia=!!b.pla;this.Ra=TX(b.shortform);this.H=TX(b.sffb);this.xa=b.ad_language_iso639_2;this.o=this.D&&!this.K.experiments.o("disable_client_side_midroll_freq_capping_nonpc")?parseInt(b.midroll_freqcap,10):-1;isNaN(this.o)&&
(this.o=-1);this.midrollPrefetchSize=parseInt(b.midroll_prefetch_size,10)||0;this.tagForChildDirected=TX(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData||null;this.Oa=this.aa&&this.H&&!this.L;this.Ma=this.L||this.Oa;this.Sa=parseInt(b.ad_device,10);this.za=b.tpas_video_id;this.ka=b.tpas_partner_id;this.vmap=b.vmap;this.hc=this.K.hc;this.showContentThumbnail=!0;g.Aa(b.show_content_thumbnail)&&(this.showContentThumbnail=b.show_content_thumbnail);
this.J=hwa(b.serialized_ad_ux_config)};
hwa=function(a){if(a)try{var b=JSON.parse(a);return new zf(b)}catch(c){}return null};
iZ=function(a,b){g.L.call(this);this.C=a;this.Le=new g.fo(this);g.M(this,this.Le);this.A=null;this.o=!1;this.Le.X(b,"companionImpression",this.D);this.Le.X(b,"companionClick",this.B)};
jZ=function(a){g.L.call(this);this.o=a;this.A=NaN;this.D={};a=a.o;this.F=a.fadeInDurationMilliseconds;this.G=a.fadeInStartMilliseconds;this.C=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.qG()};
jwa=function(a,b){a.D[b]&&(g.ZU(a.o.player,[a.D[b]],void 0),delete a.D[b])};
kwa=function(a,b,c,d){0>=c||(isNaN(a.A)||g.qF(a.A),c=(0,g.J)()+c,a.A=0==d?$V((0,g.B)(a.vH,a,b,c,100),0):$V((0,g.B)(a.tH,a,b,c,100),0))};
kZ=function(a,b,c){a=$P(XX(a.o));b.setVolume(c*a)};
lZ=function(a){jZ.call(this,a)};
mZ=function(a,b,c){g.L.call(this);this.o=a;this.F=b;this.B=c;this.C=-1;this.D=NaN;this.B&&0<this.o.o.o&&this.o.subscribe("endseeking",this.A,this)};
lwa=function(a,b){nZ(a);0<b&&(a.D=g.oF((0,g.B)(a.A,a),1E3*b))};
nZ=function(a){g.qF(a.D);a.D=NaN};
pZ=function(a,b){if(!a.B||!WY(b)&&!VY(b))return!1;var c=a.o.o.o;if(0>=c||0>=a.C)return!1;var d=(0,g.J)()/1E3,e=oZ(a,b)-a.o.player.getCurrentTime();0<e&&(d+=e);return d-a.C<=c};
oZ=function(a,b){return VY(b)?a.o.player.getVideoData().lengthSeconds:SX(b.Xb)};
qZ=function(a,b){g.L.call(this);this.K=this.o=null;this.M=[];this.W=NaN;this.Db=b;this.G=[];this.C={};this.D={};this.A=a;var c=a.o,d=!c.isLiveStream&&(0,g.Ik)(this.Db,function(e){return WY(e)||VY(e)});
this.J=new mZ(this.A,this,d);this.B=c.applyFadeOnMidrolls?new jZ(a):new lZ(a);this.ba=(0,g.Ik)(this.Db,function(e){return UY(e)})};
nwa=function(a){a.G.length||(a.G=(0,g.re)(a.Db,function(b){return"unloaded"==b.B}),0==a.G.length?cZ(a.A):(a.ba||cZ(a.A),mwa(a)))};
mwa=function(a){if(a.G.length){var b=a.G.shift();b.subscribe("adBreakComplete",a.Mk,a);b.subscribe("adCompanionInitialized",a.Pw,a);gZ(b)}};
owa=function(a,b){function c(f){return f&&5!=f.Xb.o}
var d=Xa(a.Db,b),e=kb(a.Db,0,d);d=kb(a.Db,d+1);return{previous:g.Ua(e,c),next:g.Ua(d,c)}};
pwa=function(a,b,c){var d=bZ(b);if(!isNaN(d)){var e={};e.priority=-2!=SX(b.Xb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.B.gG(b,d);c=a.B.fG(b,c);c=new g.jR(d,c,e);a.D[b.getId()]=c;rZ(a.A,[c]);a.B.Zz(b)}};
qwa=function(a,b){var c=b.getId();a.D[c]&&(jwa(a.B,c),g.ZU(a.A.player,[a.D[c]],void 0),delete a.D[c])};
rwa=function(a,b){if(g.v(b)){var c=a.Xj(b);if(c)if(a.o==c&&!c.A&&c.isVisible)c.show();else{if(a.o){if(5==c.Xb.o){a.o.A?a.M.push(b):c.show();return}a.zi(a.o)}if(pZ(a.J,c))a.o=null,c=a.D[c.getId()],c.visible||(c.visible=!0,rZ(a.A,[c],1));else{5!=c.Xb.o&&(a.o=c);c.subscribe("adBreakComplete",a.Bn,a);c.subscribe("adCompanionInitialized",a.Pw,a);if(c.A){if(1!=c.Xb.o){var d=WX(a.A).experiments.o("video_to_ad_use_gel");pP("video_to_ad",["apbs"],void 0,d)}d=a.A;d.K=!0;d.C||d.pauseVideo()}a.B.wH(c);c.show()}}}};
sZ=function(a,b,c){qZ.call(this,a,b);this.H=[];this.L=[];this.F=[];this.aa=c;this.Y=NaN;this.P=a.o.o;var d=!WX(a).experiments.o("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.player.getCurrentTime();d=d?null:Wa(b,function(l){return a.player&&e>=bZ(l)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(Yva(f)&&f!=d){var k=new $Y(f.C,f.Ja,f.Xb,f.F,!0);b[c]=k;this.H.push(f)}}this.ba||this.Rk()};
tZ=function(a){g.qF(a.Y);a.Y=NaN};
uZ=function(a,b){qZ.call(this,a,b);this.Y=a;this.aa=!0;this.H=[];this.ha=1;this.L=0};
swa=function(a){if(null==a.o&&0<a.H.length){var b=a.H[0];b.isVisible?(a.aa=a.F.isAtLiveHead(),a.ea=Math.ceil((0,g.J)()/1E3),b.subscribe("adBreakComplete",a.P,a),a.o=b,b.show()):a.P()}else null!=a.o&&a.L++};
twa=function(a,b){this.J=a;this.F=b;this.H=(0,g.J)();this.D=0;this.o=a.o;this.B={};this.G=new zva(a);var c=[];this.o.ea&&this.o.C&&c.push("4_2");this.o.ba&&(this.o.C&&c.push("1_2"),this.o.F&&c.push("1_2_1"),this.o.ha&&c.push("1_1"),this.o.G&&c.push("1_3"));this.o.P&&c.push("2_2_1");this.o.Y&&c.push("2_2");this.o.L&&c.push("2_1");this.o.Ma&&c.push("2_3");this.o.ia&&c.push("14_14");this.A=c.join(",");this.C="";this.B.allowed=this.A;(c=this.o.excludedAds)&&(this.B.ex_ads=c)};
vZ=function(a,b,c){g.L.call(this);this.A=a;this.B=b;this.je=c;this.D=this.F=-1;this.o=uwa(this.B.Qe());a=this.B.Qe();a.length&&(a=a[a.length-1],-1==a&&rZ(this.A,[this.o[a]]));0<this.A.o.o&&this.A.subscribe("endseeking",this.C,this)};
vwa=function(a,b){wZ(a);0<b&&(a.D=g.oF((0,g.B)(a.C,a),1E3*b))};
wZ=function(a){-1!=a.D&&(g.qF(a.D),a.D=-1)};
uwa=function(a){if(!a.length)return{};for(var b={},c=0;c<a.length-1;c++){var d=a[c];var e=a[c+1];e=-1==e?0x8000000000000:1E3*e;b[d]=new g.jR(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.jR(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
xZ=function(){g.L.call(this)};
wwa=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.E)(a.split(":"),function(c){b=60*b+Math.abs(parseFloat(c))});
return 1E3*b};
yZ=function(a){g.L.call(this);this.o=a;this.A=null;this.C={};this.D={};a=a.o;this.F=a.fadeInDurationMilliseconds;this.J=a.fadeInStartMilliseconds;this.K=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.L=1E3*this.o.player.getVideoData().lengthSeconds;this.G=this.B+this.K;this.H=new g.sH(this);g.M(this,this.H);this.H.R(this.o.player,"applicationplayerstatechange",this.GH)};
zZ=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.L};
xwa=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Ik)(a.split(","),function(b){b=Gb(b);return"linear"==b})};
ywa=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=parseFloat(g.xc(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.xc(d%60,2,b);c=b=e||c?e+":"+g.xc(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c};
Awa=function(a,b){var c=Math.max(Math.abs(a.B),Math.abs(a.G));(0,g.E)(b,(0,g.B)(function(d){var e=(0,g.Ik)(b,function(k){return d!=k&&k>=d-c&&k<=d+c}),f=zwa(this,d);
!e&&f&&(this.C[f]=d)},a));
return 0<g.Sb(a.C)};
zwa=function(a,b){var c=1E3*Math.round((b+a.G)/1E3),d=b+a.B,e=b+a.J;return zZ(a,b)&&zZ(a,c)&&zZ(a,d)&&zZ(a,e)?c:null};
Bwa=function(a,b,c,d){0>=c||(d=0==d?a.FH:a.EH,c=(0,g.J)()+c,a.A=$V((0,g.B)(d,a,b,c,100),0))};
AZ=function(a,b,c){a=$P(XX(a.o));b.setVolume(c*a)};
BZ=function(a){g.L.call(this);this.je=this.C=this.B=this.G=this.A=null;this.L=this.J=!1;this.o=a;this.H=this.qb=null;this.M={};this.W=new g.fo(this);this.D=new g.fo(this);this.K=new g.sH(this);g.M(this,this.K);this.F=null};
Cwa=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.E)(a.getElementsByTagName("VASTAdTagURI"),function(d){if("end"==b){var e="post";var f=-1;var k="postroll"}else e="mid",f=wwa(b).toString(),k="midroll";var l={"[INDEX]":c.toString(),"[POSITION]":e,"[START]":f,"[GPTPOS]":k};d.textContent=d.textContent.replace(/\[[A-Z_]+\]/g,function(m){return l[m]||m})});
return a};
Dwa=function(a,b){var c=g.vt(b);if(!c)return null;var d=ue(c);if(!d)return c;var e=g.Ua(se(d),function(n){return"#1"==n.getAttribute("timeOffset")});
if(e){var f=g.Ua(se(e),function(n){return"vmap:Extensions"==n.tagName}),k=f?se(f):[];
k=g.Ua(k,function(n){return"YTBreakTime"==n.getAttribute("type")});
f=(f=f.removeChild(k))?se(f):[];var l=e,m=1;(0,g.E)(f,function(n){n=n.getAttribute("timeOffset");n=Cwa(e,n,m);m++;d.insertBefore(n,l.nextSibling);l=n});
d.removeChild(e)}a.F.vF(d)||(g.Of(a.F),a.F=new xZ);return c};
Ewa=function(a){var b=Wua(a.o.o,WX(a.o),XX(a.o));b.oK=!0;b.kA=!1;b.sF=10;b.hx=a.F.GB();return b};
Gwa=function(a,b){if(b){jva();var c=mva(a.o),d=lE(a.A);if(d){var e=d.We();d=g.Ya(QX,e)?new RX(e,d.Gc):new RX(e);e=sva(js(b));d=new $X(d,e.o,a.o,14==e.A?16:4);c.then(d.D,g.A,d)}}else a.o.o.G&&(a.B=new JY(a.o),Fwa(a,a.B),a.B.show())};
DZ=function(a,b){b&&"adLoadError"==b.Zb()&&(WX(a.o).experiments.o("enable_no_ads_ping_for_mpu_disable")&&!a.o.o.G&&a.DH(lE(a.A),0,2,{}),CZ(a))};
EZ=function(a){a.B&&(a.B.dispose(),a.B=null)};
FZ=function(a){var b=lu(a);a=0<b.length?b.pop():Yt(a);a=Hwa[a.toUpperCase()];return null!=a?a:0};
CZ=function(a){a.J||(cZ(a.o),a.J=!0)};
Fwa=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.B)(a.DH,a,lE(a.A),b.adType))};
GZ=function(a){g.kV.call(this,a);this.xe="";this.J=new g.sH(this);g.M(this,this.J);this.created=!1};
rZ=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.xe;g.XU(a.player,b,c)};
cZ=function(a){g.aV(a.player,a.xe)};
Iwa=function(a,b,c){var d={},e;for(e in b)d[a.xe+"_"+e]=b[e];b={};for(var f in c)b[a.xe+"_"+f]=c[f];a=g.KU(a.player);g.Oa(a.ea,d||null);g.Oa(a.ba,b||null)};
HZ=function(){g.L.call(this);this.A=new g.W({I:"div",N:"ytp-out-of-player-ad-info",O:[{I:"div",N:"ytp-out-of-player-hover-container"},{I:"div",N:"ytp-out-of-player-ad-info-button-container",O:[{I:"button",da:["ytp-out-of-player-ad-info-button"],O:[{I:"span",N:"ad-info-icon"}]}]}]});g.M(this,this.A);this.o=this.A.o["ytp-out-of-player-hover-container"];this.mf=this.A.o["ytp-out-of-player-ad-info-button-container"];this.D=this.A.o["ytp-out-of-player-ad-info-button"];this.C=new yV(this.mf);g.M(this,this.C);
this.B=new g.sH(this);g.M(this,this.B);this.Vu();this.A.element.appendChild(this.C.o.sa());this.B.R(this.D,"mouseenter",this.dO);this.B.R(this.D,"mouseleave",this.Vu);this.B.R(this.mf,"click",this.cO)};
IZ=function(a){g.W.call(this,{I:"div",N:"ytp-ad-notification-container",ca:"{{content}}"});this.B=a;this.D=null;this.G=-1;this.F=new g.HV(this,250,!1,150);g.M(this,this.F);this.R(this.B,"adnotify",this.Cn);this.R(this.B,"discardadnotify",this.Nk);this.R(this.B,"videodatachange",this.Nk)};
KZ=function(a,b){GZ.call(this,b);this.xe="ad";this.app=a;this.o=this.A=this.B=null;this.K=this.W=!1;this.C=this.qb=null;Q.o=!0;Q.J=!1;Q.aa=!1;Q.P=!0;Q.Y=Uua();var c=Q,d=!g.kG();c.H=d;Q.F=0;c=a.o.experiments.A("sdk_wrapper_levels_allowed");!isNaN(c)&&0<c&&(Q.L=c);JZ(this)&&(Q.A=!0);this.F=null;this.aa={};this.P={at:"0"};c=g.Y(this.player).experiments;if(c.o("enable_midroll_notify")||c.o("enable_postroll_notify"))c=new IZ(this.player),g.M(this,c),g.bV(this.player,c.element,4);this.D=new kY(this.player);
g.bV(this.player,this.D.element,4);this.H=this.ba=null;this.L=-1;this.G=new g.sH(this);g.M(this,this.G);this.Y="";this.M=!1};
XX=function(a){return LZ(a.app)};
WX=function(a){return a.app.o};
eZ=function(a,b,c){if(a.B){a=a.B;c=c||{};var d=((0,g.J)()-a.H)/1E3;c.art=d;WX(a.J);c.ad_flags=a.o.adFlags;(d=a.o.contentOwnerId)&&(c.cid=d);c.mt=a.F.getCurrentTime();(d=eI())&&(c.lact=d);(d=a.F.getDuration())&&(c.len=d);a.o.jb&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.C=c.at;a:{b=a.G;b:{if(7==c.ad_event&&(a=c.ad_error,21==a||30==a||54==a||32==a&&(1009==c.error_code||!c.ad_id))){a=!1;break b}a=0!=qY(c)?!0:!1}if(a){var e;c.at&&(e=c.at);var f;c.sst&&(f=c.sst);"2_1"==e&&10==f&&(c.break_type=
1);WX(b.o).experiments.o("fix_api_stats_ads_companion_backfill_break_type")&&(a=fc(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.o.o.Sa;e.ns=1;e.sdkv="h.3.0";e.ver="2.0";for(var k in c){f=e;a=k;d=c[k];var l=c;switch(a){case "trsp":f.slot_pos=d;break;case "break_type":g.Ya(QX,g.Bc(d))&&(f.m_pos=l.sst);case "format":case "ad_id":case "ad_v":case "ad_cpn":case "ad_mt":case "aqi":case "ad_sys":f[a]=d;break;case "ad_len":f[a]=Math.round(1E3*d);break;case "ad_error":f.error_code=
Bva(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=Ava(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}a=vY(b.o.player.app,2);k=XX(b.o);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;k.Da&&(e.live="1");c.at&&c.at.match(/\d+_2.*/g)?(f=b.o.A,e.mt=null!=f&&null!=f.o?1E3*SX(f.o.Xb):0):e.mt=Math.round(1E3*a.getCurrentTime());f=WX(b.o);e.ei=k.eventId;e.lact=eI();e.vol=Math.round(b.o.app.K.getVolume());e.vis=b.o.getVisibilityState();
d=ZX(b.o);e.p_w=d.width;e.p_h=d.height;e.rt=(0,g.J)();if(a=(a=XT(a))&&Ud(a)===document?ii(a):null)e.pv_h=a.getHeight(),e.pv_w=a.ab();2==qY(c)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);WX(b.o).experiments.o("enable_extra_params_on_ima_abandon_pings_killswitch")||10!=qY(c)||(e.devicever=f.deviceParams.cver);k=bo(e);c=WX(b.o).D+"api/stats/ads";c=new g.Pn(c);Un(c,k);if(b=b.o.getVideoData())if(b=ZP(b)){g.cG(c.toString(),{headers:{Authorization:"Bearer "+b}});break a}g.yG(c.toString())}}}};
MZ=function(a,b,c){c=c||{};c.ad_error=b;eZ(a,7,c)};
NZ=function(a,b,c){a.app.K.Ba(b,c)};
Jwa=function(a){var b;(b=!a.W)||(b=a.app.o.experiments.o("enable_html5_midroll_tsla_update")||a.app.o.experiments.o("enable_html5_midroll_tsla_update_for_living_room"));b&&(b=WX(a).D,g.yG(b+"mac_204?action_fcts=1"),a.W=!0)};
OZ=function(a){return a.A instanceof uZ?a.A:null};
PZ=function(a){return g.Z(a.app).A};
Kwa=function(a){var b=lY(a.D);var c=document;try{var d=c&&c.activeElement;var e=d&&d.nodeName?d:null}catch(f){e=null}b=g.we(b,e);g.jV(a.player,2);e=g.Y(a.player);"3"!=e.C||cO(e)||xY(g.OU(a.player),!0);b&&a.player.getRootNode().focus()};
ZX=function(a){return a.o.B?(a=a.app.H.getPlayerSize(),new g.Kh(0,0,a.width,a.height)):g.qi(a.getRootNode())};
Lwa=function(a,b){a.Fe("bd");var c=a.o;var d=c.midrollPrefetchSize;c=c.isLiveStream?new uZ(a,b):0<d?new sZ(a,b,d):new qZ(a,b);a.A=c;nwa(a.A)};
RZ=function(a){QZ(a);a.playVideo()};
QZ=function(a){a.K=!1;var b=g.Z(a.app,2);b&&a.app.o.J.remove(b.getVideoData().videoId)};
zY=function(a,b,c){c&&NZ(a,"onAdInfoChange",c);a=a.app;1==b&&((0,g.JP)("vr",void 0,""),a.ia||(a.ia=Ema(a.xE,a)),Asa(a.D),Boa(a.ha,a.D.getVideoData(),Mwa(a)));c=a.o;(g.BO(c)&&c.Ob||g.lO(c))&&(SZ(a)||a.A.Ba("onAdStateChange",b))};
TZ=function(a){return!!(a.o.H&&a.A&&1<a.A.Db.length)};
JZ=function(a){a=a.app.o;return iO(a)&&!g.lO(a)&&"desktop-polymer"==a.playerStyle};
fY=function(a,b){b.contentVideoId||(b.contentVideoId=XX(a).videoId);NZ(a,"updateKevlarOrC3Companion",b)};
Nwa=function(a,b,c){b=new g.jR(1E3*Math.floor(c+Math.random()*Math.max(b.o-10-c,0)),1E3*b.o,{id:"livead",priority:2});rZ(a,[b],1)};
Pwa=function(a,b){a.app.o.experiments.o("desktop_companion_wta_support")&&(g.Ja(g.z("yt.www.watch.ads.addInstreamCompanionWtaUi"))?Owa(b):g.xF("watchAdsInit",function(){Owa(b)}))};
Owa=function(a){var b=g.z("yt.www.watch.ads.addInstreamCompanionWtaUi");if(g.Ja(b)){var c=new HZ;a=vva(cu(a),du(a));c.bind(a);b(c.sa().element)}else g.hF(Error("Watch page is not ready after WATCH_ADS_INIT event"))};
UZ=function(a,b,c){g.L.call(this);this.ma=b;this.ka=c;this.P=this.J=this.yd=this.L=this.H=this.B=this.Y=this.aa=this.qd=this.D=this.K=this.A=null;this.ba={};this.ea={};this.ia=null;this.o=a;this.W=this.ga=this.G=this.M=this.F=this.C=null;this.ha=g.Y(a).experiments.o("web_player_defer_modules")};
g.Qwa=function(a){var b=g.Y(a.o);if(g.BO(b)||b.hc||!b.Ga&&!b.Ia)return!1;var c=a.o.getPresentingPlayerType();if(2==c)return!1;if(3==c)return b.experiments.o("desktop_enable_autoplay");a=a.o.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||b.experiments.o("allow_poltergust_autoplay");return!(a.Da&&(!b.experiments.o("allow_live_autoplay")||!c))};
Rwa=function(a){a.ha&&(a.du(),a.au(),a.cu())};
Swa=function(a){var b=a.o.getVideoData(),c=g.Y(a.o).experiments,d=g.oG(),e=c.o("enable_spherical_kabuki");a=g.zO(g.Y(a.o));if(b.Vf())return d||e||a||c.o("html5_enable_spherical");if(b.Qg())return a||d||e||c.o("html5_enable_spherical");if(b.Rg())return a||d||c.o("html5_enable_spherical3d");if(b.Qi())return a||c.o("html5_enable_anaglyph3d")||!1;d=b.Ca&&b.Ca.video&&gL(b.Ca.video);return a&&!g.LP(b)&&!b.isVisualizerEligible&&!d&&(c.o("enable_webgl_noop")||c.o("html5_enable_bicubicsharp")||c.o("html5_enable_smartsharp"))};
Twa=function(a){g.Y(a.o).experiments.o("web_player_ux_module_wait")&&a.J&&g.aV(a.o,"ux")};
g.Uwa=function(a){var b=g.Y(a.o);return a.o.getVideoData().isVisualizerEligible&&AO(b)&&b.experiments.o("web_player_music_visualizer")&&"desktop-polymer"==b.playerStyle&&g.zO(b)&&!(g.bN&&!g.Lc(42))};
WZ=function(a,b,c,d){try{if(d){var e=g.VZ[b];if(e)return new e(a.o);"creatorendscreen"==b?Vwa(a,"annotations_module",c):Vwa(a,b,c)}else g.aV(a.o,b)}catch(f){g.aV(a.o,b),g.hF(f)}return null};
XZ=function(a,b,c){a.A&&(c||a.A.wc(b))&&(g.Of(a.A),a.A=null);a.K&&(c||a.K.wc(b))&&(g.Of(a.K),a.K=null);a.D&&(c||a.D.wc(b))&&(g.Of(a.D),a.D=null);a.qd&&(c||a.qd.wc(b))&&(g.Of(a.qd),a.qd=null);a.aa&&(c||a.aa.wc(b))&&(g.Of(a.aa),a.aa=null);a.Y&&(c||a.Y.wc(b))&&(g.Of(a.Y),a.Y=null);a.B&&(c||a.B.wc(b))&&(g.Of(a.B),a.B=null);a.H&&(c||a.H.wc(b))&&(g.Of(a.H),a.H=null);a.L&&(c||a.L.wc(b))&&(g.Of(a.L),a.L=null);a.yd&&(c||a.yd.wc(b))&&(g.Of(a.yd),a.yd=null);a.F&&(c||a.F.wc(b))&&(g.Of(a.F),a.F=null);a.M&&(c||
a.M.wc(b))&&(g.Of(a.M),a.M=null);a.W&&(c||a.W.wc(b))&&(g.Of(a.W),a.W=null);a.G&&(c||a.G.wc(b))&&(g.Of(a.G),a.G=null);a.C&&(c||a.C.wc(b))&&(g.Of(a.C),a.C=null);a.J&&(c||a.J.wc(b))&&(g.Of(a.J),a.J=null);a.P&&(c||a.P.wc(b))&&(g.Of(a.P),a.P=null)};
g.PU=function(a){return g.Y(a.o).jb?a.M:null};
Wna=function(a){return g.Y(a.o).ka?a.J:null};
Vwa=function(a,b,c){if(a.ma){for(var d=a.ma+b+".js",e=document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];m.src==d&&(k=m)}k||(k=g.ke("SCRIPT"),f=!0);var n=function(){a.la()||c.call(a)},p=function(){a.la()||g.aV(a.o,b)};
k.onload=g.Na(function(q){xg(n);q&&q()},k.onload);
k.onerror=g.Na(function(q){if(.01>Math.random()){var u=Error("Unable to load player module");u.params=b+".js from "+d+" on "+(document.location&&document.location.origin)+".";g.hF(u)}xg(p);q&&q()},k.onerror);
k.onreadystatechange=g.Na(function(q){switch(k.readyState){case "loaded":case "complete":xg(n,this)}q&&q()},k.onreadystatechange);
f&&((e=g.Y(a.o).lf)&&k.setAttribute("nonce",e),Id(k,Di(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(k,e.firstChild),g.Nf(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.VZ[b]=null;"annotations_module"==b&&(g.VZ.creatorendscreen=null)}))}};
g.YZ=function(a){g.W.call(this,{I:"div",O:[{I:"div",N:"ytp-bezel-text-wrapper",O:[{I:"div",N:"ytp-bezel-text",ca:"{{title}}"}]},{I:"div",N:"ytp-bezel",T:{role:"status","aria-label":"{{label}}"},O:[{I:"div",N:"ytp-bezel-icon",ca:"{{icon}}"}]}]});this.F=new g.V(this.show,10,this);g.M(this,this.F);this.B=new g.V(this.hide,500,this);g.M(this,this.B);this.D=a;this.hide()};
Wwa=function(a,b){if(b)g.X(g.NU(a.D),64)||ZZ(a,uta(),"Oynat");else{var c=a.D.getVideoData();c.Da&&!c.allowLiveDvr?ZZ(a,yta(),"Canl\u0131 oynatmay\u0131 durdur"):ZZ(a,sta(),"Duraklat")}};
$Z=function(a,b,c){0>=b?(c=GV(),b="sessiz"):(c=c?Bta():Ata(),b=Math.floor(b)+"% ses d\u00fczeyi");ZZ(a,c,b)};
Xwa=function(a,b){var c=b?g.BV?{I:"div",da:["ytp-icon","ytp-icon-fast-rewind"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.BV?{I:"div",da:["ytp-icon","ytp-icon-fast-forward"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]},d=a.D.getPlaybackRate(),
e=g.uV("H\u0131z: $RATE",{RATE:String(d)});ZZ(a,c,e,d+"x")};
ZZ=function(a,b,c,d){d=void 0===d?"":d;a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.Cv(a.B);a.F.start();a.updateValue("title",d);g.U(a.element,"ytp-bezel-text-hide",!d)};
b_=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-button","ytp-cards-button"],T:{"aria-label":"Kartlar\u0131 g\u00f6ster","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.Y(a).B)},O:[{I:"span",N:"ytp-cards-button-icon-default",O:[{I:"div",N:"ytp-cards-button-icon",O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-info-card"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]},
{I:"div",N:"ytp-cards-button-title",ca:"Bilgi"}]},{I:"span",N:"ytp-cards-button-icon-shopping",O:[{I:"div",N:"ytp-cards-button-icon",O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-shopping-card"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",N:"ytp-svg-shadow",T:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{I:"path",N:"ytp-svg-fill",T:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z",
"fill-opacity":"1"}},{I:"path",N:"ytp-svg-shadow-fill",T:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{I:"div",
N:"ytp-cards-button-title",ca:"Al\u0131\u015fveri\u015f"}]}]});this.D=a;this.G=b;this.B=null;this.F=new g.HV(this,250,!0,100);g.M(this,this.F);g.U(c,"ytp-show-cards-title",g.Y(a).B);this.hide();this.X("click",this.H);this.X("mouseover",this.J);a_(this,!0)};
a_=function(a,b){b?a.B=nW(a.G.Hb(),a.element):(a.B(),a.B=null)};
c_=function(a,b,c){g.W.call(this,{I:"div",N:"ytp-cards-teaser",O:[{I:"div",N:"ytp-cards-teaser-box"},{I:"div",N:"ytp-cards-teaser-text",O:[{I:"span",N:"ytp-cards-teaser-label",ca:"{{text}}"}]}]});var d=this;this.D=a;this.aa=b;this.J=new g.HV(this,250,!1,250);g.M(this,this.J);this.H=c;this.B=null;this.M=new g.V(this.sS,300,this);g.M(this,this.M);this.L=new g.V(this.qS,2E3,this);g.M(this,this.L);this.Y=new g.tq(null);this.K=[];this.F=null;this.P=new g.V(function(){d.element.style.margin=0},250);
g.M(this,this.P);this.G=null;this.R(c.element,"mouseover",this.HD);this.R(c.element,"mouseout",this.Wh);this.R(a,"cardsteasershow",this.aU);this.R(a,"cardsteaserhide",this.wn);this.R(a,"cardstatechange",this.JG);this.R(a,"presentingplayerstatechange",this.JG);this.R(a,"appresize",this.ww);this.R(a,"onShowControls",this.ww);this.R(a,"onHideControls",this.dK);this.X("click",this.RV);this.X("mouseenter",this.YO)};
Ywa=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.uq(a.Y,b.teaserText));a.J.show();a.F=new g.V(function(){g.T(this.D.getRootNode(),"ytp-cards-teaser-shown");this.ww()},0,a);
a.F.start();a_(a.H,!1);a.B=new g.V(a.wn,580+b.durationMs,a);a.B.start();a.K.push(a.X("mouseover",a.HD,a));a.K.push(a.X("mouseout",a.Wh,a))};
d_=function(a){var b=g.mQ({"aria-haspopup":"true"});g.lQ.call(this,b,a);this.X("keydown",this.B)};
e_=function(a,b){a.element.setAttribute("aria-haspopup",b)};
f_=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.zh("/sharing_services",a);g.yG(d)};
g_=function(a,b,c,d){g.UW.call(this,a);this.B=a;this.Y=c;this.aa=d;this.M=new g.lQ(g.mQ(),9,"Pencere oynat\u0131c\u0131");g.M(this,this.M);g.VW(this,this.M,!0);this.M.X("click",a.togglePictureInPicture,a);eV(a,this.M.element,this.M,59706);this.G=new d_(8);g.M(this,this.G);g.VW(this,this.G,!0);this.G.X("click",this.CR,this);eV(a,this.G.element,this.G,28659);this.F=new d_(7);g.M(this,this.F);g.VW(this,this.F,!0);this.F.X("click",this.BR,this);eV(a,this.F.element,this.F,28660);this.D=new d_(6);g.M(this,
this.D);g.VW(this,this.D,!0);this.D.X("click",this.zR,this);eV(a,this.D.element,this.D,28658);this.H=new g.QW("D\u00f6ng\u00fc",5);g.M(this,this.H);g.VW(this,this.H,!0);this.H.X("click",this.WR,this);eV(a,this.H.element,this.H,28661);this.ba=new g.lQ(g.mQ({href:"{{href}}",target:g.Y(a).F},void 0,!0),4,"Oynatma sorununu gider");g.M(this,this.ba);g.VW(this,this.ba,!0);this.ba.X("click",this.pT,this);this.P=new d_(3);g.M(this,this.P);g.VW(this,this.P,!0);this.P.X("click",this.yR,this);b=new g.lQ(g.mQ(),
2,"Merakl\u0131s\u0131 i\u00e7in istatistikler");g.M(this,b);g.VW(this,b,!0);b.X("click",this.LT,this);this.L=new g.jQ({I:"div",da:["ytp-copytext","ytp-no-contextmenu"],T:{draggable:"false",tabindex:"1"},ca:"{{text}}"});g.M(this,this.L);this.L.X("click",this.eR,this);this.ka=new TW(a,this.L);g.M(this,this.ka);this.K=null;b=document.queryCommandSupported&&document.queryCommandSupported("copy");g.mM&&g.Lc(43)&&(b=!0);g.QM&&!g.Lc(41)&&(b=!1);b&&(this.K=new g.W({I:"textarea",N:"ytp-html5-clipboard",T:{readonly:""}}),
g.M(this,this.K),this.K.A(this.element));this.R(a,"loopchange",this.HE);this.R(a,"videodatachange",this.cP);Zwa(this);$wa(this,this.B.getVideoData())};
h_=function(a,b){if(a.K){var c=a.K.element;c.value=b;c.select();try{var d=document.execCommand("copy")}catch(e){}}d?a.Y.Kb():(a.L.Lb(b,"text"),g.eX(a.Y,a.ka),aW(a.L.element),a.K&&(a.K=null,Zwa(a)));return d};
$wa=function(a,b){var c=g.Y(a.B),d=2==a.B.getPresentingPlayerType(),e=!d||b.Be;e=!c.K&&!!b.videoId&&e;"play"!=c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.Ca&&(c.fmt=aK(b.Ca)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.ff&&(c.partnerid=b.ff),c=g.zh("//support.google.com/googleplay/",c));g.iQ(a.D,e&&b.allowEmbed);g.iQ(a.G,e);g.iQ(a.F,e&&!b.Da);a.ba.Lb(c,"href");g.iQ(a.H,!b.Da&&
!d);g.iQ(a.M,b.Ox)};
Zwa=function(a){var b=!!a.K;g.kQ(a.P,b?"Hata ay\u0131klama bilgilerini kopyala":"Hata ay\u0131klama bilgilerini al");e_(a.P,!b);g.kQ(a.D,b?"Yerle\u015ftirme kodunu kopyala":"Yerle\u015ftirme kodunu al");e_(a.D,!b);g.kQ(a.G,b?"Video URL'sini kopyala":"Video URL'sini al");e_(a.G,!b);g.kQ(a.F,b?"Ge\u00e7erli zamana ait video URL'sini kopyala":"Ge\u00e7erli zamandaki video URL'sini al");e_(a.F,!b)};
i_=function(a,b,c){g.bX.call(this,a);this.D=a;this.ka=b;this.ha=c;this.K=new g.sH(this);g.M(this,this.K);this.G=null;eV(a,this.element,this,28656);g.T(this.element,"ytp-contextmenu");axa(this);this.hide()};
axa=function(a){g.uH(a.K);"gvn"!=g.Y(a.D).playerStyle&&a.K.R(g.OU(a.D),"contextmenu",a.dR)};
bxa=function(a){a.D.isFullscreen()?g.bV(a.D,a.element,9):a.A(document.body)};
j_=function(a,b,c,d,e,f){g.sH.call(this);this.o=a;this.H=c;this.F=d;this.A=e;this.G=f;this.D=new g.V(g.Na(this.KD,!1),1E3,this);g.M(this,this.D);this.C="";this.B=g.Y(this.o).experiments.o("migrate_player_shortcuts_to_global_killswitch");a=g.Na(this.Lx,!1);this.R(b,"mousedown",a);this.R(c.element,"mousedown",a);this.R(b,"keydown",this.YB);this.R(c.element,"keydown",this.YB);this.R(b,"keyup",this.ZB);this.R(c.element,"keyup",this.ZB)};
k_=function(a,b,c,d){var e=g.KU(a.o).A;if(e&&e.loaded){e=a.o.getSubtitlesUserSettings();for(var f,k=0;k<g.sX.length;k++){var l=g.sX[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return}else if(m==f.length-1)return;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.o.updateSubtitlesUserSettings(d);a.KD(!0);a.D.start()}};
cxa=function(a,b){a.o.Mc();if(g.X(g.NU(a.o),4)){var c=a.o.getVideoData().Ca;c&&(c=c.video)&&a.o.seekBy(b/(c.fps||30))}};
l_=function(a,b){var c={I:"div",N:"ytp-overflow-panel",T:{id:cQ(),role:"dialog"},O:[{I:"div",N:"ytp-overflow-panel-content",O:[{I:"div",N:"ytp-overflow-panel-control-buttons",ca:"{{buttons}}"}]},{I:"button",da:["ytp-overflow-panel-close","ytp-button"],T:{title:"Kapat"},O:[g.EV()]}]};uW.call(this,a,c,250);this.H=a;this.G=b.Hb();this.D=[];this.J=this.o["ytp-overflow-panel-content"];this.F=this.o["ytp-overflow-panel-close"];this.R(this.F,"click",this.Kb);g.Nf(this,nW(this.G,this.F));this.X("click",this.jP);
this.R(a,"videoplayerreset",this.hide);this.R(a,"fullscreentoggled",this.iP);this.hide()};
dxa=function(a,b){a.D.includes(b)||(a.D.push(b),a.updateValue("buttons",a.D))};
exa=function(a,b){for(var c=g.r(a.D),d=c.next();!d.done;d=c.next())d.value.Tb(b)};
m_=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-button","ytp-overflow-button"],T:{title:"Daha fazla","aria-haspopup":"true","aria-owns":c.element.id},O:[{I:"div",N:"ytp-overflow-icon",O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-more-vert"]}:{I:"svg",T:{height:"100%",viewBox:"-5 -5 36 36",width:"100%"},O:[{I:"path",T:{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"#fff"}}]}]}]});var d=this;
this.F=a;this.H=b;this.B=!1;this.G=b.Hb();eV(a,this.element,this,16499);this.R(a,"appresize",this.D);this.R(a,"fullscreentoggled",this.D);this.D();g.Nf(this,nW(this.G,this.element));this.X("click",function(){g.fV(a,d.element);c.If(d.element,!1)})};
n_=function(a,b){g.W.call(this,{I:"div",N:"ytp-pause-overlay"});this.B=a;this.ha=b;this.F=new g.sH(this);g.M(this,this.F);this.aa=new g.HV(this,1E3,!1,100);g.M(this,this.aa);var c=g.Y(a);"0"==c.C&&g.T(a.getRootNode(),"ytp-pause-overlay-controls-hidden");this.H=[];this.D=[];this.J=0;this.ia=c.o;this.ea=!1;this.ua=0;this.Y=new g.W({I:"h2",N:"ytp-related-title",ca:"{{title}}"});g.M(this,this.Y);this.Y.A(this.element);this.K=new g.W({I:"div",N:"ytp-suggestions"});g.M(this,this.K);this.K.A(this.element);
this.P=new g.W({I:"button",da:["ytp-button","ytp-previous"],T:{"aria-label":"\u00d6nceki \u00f6nerilen videolar\u0131 g\u00f6ster"},O:[g.CV()]});g.M(this,this.P);this.P.A(this.element);this.P.X("click",this.mP,this);var d=g.mM||g.Sf?{style:"will-change: opacity"}:null;this.ka=new WV((0,g.B)(this.LD,this));g.M(this,this.ka);for(var e=this.ma=this.ba=this.G=0;16>e;e++){var f=new g.W({I:"a",N:"ytp-suggestion-link",T:{href:"{{link}}",target:c.F,"aria-label":"{{aria_label}}"},O:[{I:"div",N:"ytp-suggestion-image"},
{I:"div",N:"ytp-suggestion-overlay",T:d,O:[{I:"div",N:"ytp-suggestion-title",ca:"{{title}}"},{I:"div",N:"ytp-suggestion-author",ca:"{{author_and_views}}"},{I:"div",T:{"data-is-live":"{{is_live}}"},N:"ytp-suggestion-duration",ca:"{{duration}}"}]}]});g.M(this,f);f.A(this.K.element);var k=f.o["ytp-suggestion-link"];g.Xh(k,"transitionDelay",e/20+"s");this.F.R(k,"click",g.Na(this.nP,e));this.H.push(f)}this.M=new g.W({I:"button",da:["ytp-button","ytp-next"],T:{"aria-label":"Daha fazla \u00f6nerilen video g\u00f6ster"},
O:[g.DV()]});g.M(this,this.M);this.M.A(this.element);this.M.X("click",this.lP,this);c=new g.W({I:"button",da:["ytp-button","ytp-collapse"],T:{"aria-label":"Kapat"},O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-small-close"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 16 16",width:"100%"},O:[{I:"path",T:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.M(this,c);c.A(this.element);c.X("click",this.QQ,this);this.L=new g.W({I:"button",da:["ytp-button","ytp-expand"],ca:"Daha fazla video"});
g.M(this,this.L);this.L.A(this.element);this.L.X("click",this.RQ,this);this.F.R(this.B,"appresize",this.yw);this.F.R(this.B,"fullscreentoggled",this.oP);this.F.R(this.B,"presentingplayerstatechange",this.pP);this.F.R(this.B,"videodatachange",this.qP);this.yw(g.OU(this.B).getPlayerSize())};
fxa=function(a,b){var c=g.Jd(b,a.J-a.D.length*(a.ba+8),0);a.ka.start(a.G,c,1E3);a.G=c;o_(a)};
o_=function(a){var b=a.ha.bd();b=a.ma/2+(b?32:16);a.M.element.style.bottom=b+"px";a.P.element.style.bottom=b+"px";b=a.G;var c=a.J-a.D.length*(a.ba+8);g.U(a.element,"ytp-scroll-min",0<=b);g.U(a.element,"ytp-scroll-max",b<=c)};
hxa=function(a){for(var b=0;b<a.D.length;b++){var c=a.D[b].Aa(),d=a.H[b],e=c.shortViewCount?c.author+" \u2022 "+c.shortViewCount:c.author;d.element.style.display="";gxa.test(c.title)&&(d.o["ytp-suggestion-title"].dir="rtl");gxa.test(e)&&(d.o["ytp-suggestion-author"].dir="rtl");var f=void 0;c.Da?f="Canl\u0131":f=c.lengthSeconds?g.JV(c.lengthSeconds):"";d.update({author_and_views:e,duration:f,link:c.Em(),title:c.title,aria_label:c.Nl||null,is_live:c.Da});d=d.o["ytp-suggestion-image"];c=c.hd();d.style.backgroundImage=
c?"url("+c+")":""}for(;b<a.H.length;b++)a.H[b].element.style.display="none";o_(a)};
p_=function(a,b,c){var d=b.Aa(c),e=g.Y(a),f=d.hd("default.jpg");g.W.call(this,{I:"a",da:["ytp-video-menu-item","ytp-button"],T:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},O:[{I:"div",N:"ytp-video-menu-item-index",ca:String(c+1)},{I:"div",N:"ytp-video-menu-item-now-playing",ca:"\u25b6"},{I:"div",N:"ytp-video-menu-item-thumbnail",T:{style:f?"background-image: url("+f+");":null}},{I:"div",N:"ytp-video-menu-item-title",ca:d.title},{I:"div",
N:"ytp-video-menu-item-author",ca:d.author}]});this.B=a;this.Ib=c;this.X("click",this.D)};
q_=function(a){uW.call(this,a,{I:"div",N:"ytp-playlist-menu",T:{role:"dialog",id:cQ()},O:[{I:"div",N:"ytp-playlist-menu-header",O:[{I:"div",N:"ytp-playlist-menu-title",O:[{I:"a",N:"ytp-playlist-menu-title-name",T:{href:"{{playlisturl}}"},ca:"{{title}}"},{I:"button",da:["ytp-playlist-menu-close","ytp-button"],T:{"aria-label":"Kapat"},O:[g.EV()]}]},{I:"div",N:"ytp-playlist-menu-subtitle",ca:"{{subtitle}}"}]},{I:"div",N:"ytp-playlist-menu-items",T:{role:"menu"}}]},250);this.R(this.o["ytp-playlist-menu-close"],
"click",this.Kb);this.R(this.o["ytp-playlist-menu-title-name"],"click",this.cU);this.F=a;this.G=this.K=this.D=null;this.Qa=this.o["ytp-playlist-menu-items"];this.J=new g.sH(this);g.M(this,this.J);this.H=[];this.hide()};
ixa=function(a,b){if(a.D!=b)if(a.D&&a.D.unsubscribe("shuffle",a.xr,a),a.D=b,a.K=null,b){b.subscribe("shuffle",a.xr,a);var c=b.author,d=c?"haz\u0131rlayan: $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH":"$CURRENT_POSITION/$PLAYLIST_LENGTH",e={CURRENT_POSITION:String(b.ye()+1),PLAYLIST_LENGTH:String(b.getLength())};c&&(e.AUTHOR=c);a.update({title:b.title,subtitle:g.uV(d,e),playlisturl:a.F.getVideoUrl(!0)});a.xr()}else a.C&&a.hide();else a.D&&a.xr()};
r_=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-playlist-menu-button","ytp-button"],T:{title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":"Oynatma Listesi"},O:[{I:"div",N:"ytp-playlist-menu-button-icon",O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-playlist"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"m 22.53,21.42 0,6.85 5.66,-3.42 -5.66,-3.42 0,0 z m -11.33,0 9.06,0 0,2.28 -9.06,0 0,-2.28 0,0 z m 0,-9.14 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z m 0,4.57 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z",
fill:"#fff"}}]}]},{I:"div",N:"ytp-playlist-menu-button-text",ca:"{{text}}"}]});var d=this;this.D=a;this.B=null;this.G=b.Hb();this.J=!1;eV(a,this.element,this,70344);this.R(a,"videodatachange",this.H);this.R(a,"onPlaylistUpdate",this.H);this.R(a,"presentingplayerstatechange",this.F);this.R(a,"appresize",this.F);this.hide();this.H();g.Nf(this,nW(this.G,this.element));this.X("click",function(){g.fV(a,d.element);c.If(d.element,!1)})};
s_=function(a,b){g.W.call(this,{I:"button",da:["ytp-replay-button","ytp-button"],T:{title:"Tekrar Oynat"},O:[g.FV()]});this.B=a;this.R(a,"presentingplayerstatechange",this.F);this.X("click",this.D,this);var c=g.NU(a);g.iQ(this,g.X(c,2));nW(b.Hb(),this.element)};
t_=function(a,b){var c=cQ(),d=g.Y(a);c={I:"div",N:"ytp-share-panel",T:{id:cQ(),role:"dialog","aria-labelledby":c},O:[{I:"div",N:"ytp-share-panel-inner-content",O:[{I:"div",N:"ytp-share-panel-title",T:{id:c},ca:"Payla\u015f"},{I:"a",da:["ytp-share-panel-link","ytp-no-contextmenu"],T:{href:"{{link}}",target:d.F,title:"Ba\u011flant\u0131y\u0131 payla\u015f","aria-label":"{{shareLinkWithUrl}}"},ca:"{{linkText}}"},{I:"label",N:"ytp-share-panel-include-playlist",O:[{I:"input",N:"ytp-share-panel-include-playlist-checkbox",
T:{type:"checkbox",checked:!0}},"Oynatma listesini dahil et"]},{I:"div",N:"ytp-share-panel-loading-spinner",O:[ZV()]},{I:"div",N:"ytp-share-panel-service-buttons",ca:"{{buttons}}"},{I:"div",N:"ytp-share-panel-error",ca:"Payla\u015f\u0131m bilgileri al\u0131n\u0131rken bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin."}]},{I:"button",da:["ytp-share-panel-close","ytp-button"],T:{title:"Kapat"},O:[g.EV()]}]};uW.call(this,a,c,250);this.D=a;this.F=b.Hb();this.G=[];this.P=this.o["ytp-share-panel-inner-content"];
this.J=this.o["ytp-share-panel-close"];this.R(this.J,"click",this.Kb);g.Nf(this,nW(this.F,this.J));this.K=this.o["ytp-share-panel-include-playlist-checkbox"];this.R(this.K,"click",this.QD);this.H=this.o["ytp-share-panel-link"];g.Nf(this,nW(this.F,this.H));this.X("click",this.BP);this.R(a,"videoplayerreset",this.hide);this.R(a,"fullscreentoggled",this.AP);this.hide()};
jxa=function(a){switch(a){case "facebook":return g.BV?{I:"div",da:["ytp-icon","ytp-icon-share-facebook"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},O:[{I:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",T:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z",
fill:"#39579b"}}]};case "googleplus":return g.BV?{I:"div",da:["ytp-icon","ytp-icon-share-googleplus"]}:{I:"svg",T:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},O:[{I:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",T:{d:"M34.3,0H3.7C1.7,0,0,1.7,0,3.7v30.5c0,2,1.7,3.7,3.7,3.7h30.5c2,0,3.7-1.7,3.7-3.7V3.7C38,1.7,36.3,0,34.3,0z M13.3,28.5c-5.2,0-9.5-4.3-9.5-9.5c0-5.2,4.3-9.5,9.5-9.5c2.6,0,4.7,.9,6.4,2.5l-2.7,2.7c-1-0.9-2.2-1.4-3.6-1.4 c-3.1,0-5.6,2.6-5.6,5.7s2.5,5.7,5.6,5.7c2.8,0,4.7-1.6,5.1-3.8h-5.1v-3.6h8.9c0.1,.6,.2,1.3,.2,2C22.4,24.6,18.8,28.5,13.3,28.5 z M34.2,19.6H31v3.2h-2.2v-3.2h-3.2v-2.2h3.2v-3.2H31v3.2h3.2V19.6z",
fill:"#dc4537"}}]};case "twitter":return g.BV?{I:"div",da:["ytp-icon","ytp-icon-share-twitter"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},O:[{I:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",T:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z",
fill:"#01abf0"}}]};default:return null}};
kxa=function(a){for(var b=g.r(a.G),c=b.next();!c.done;c=b.next())c=c.value,g.hQ(c),g.Of(c);a.G=[]};
u_=function(a,b,c,d){g.W.call(this,{I:"button",da:["ytp-button","ytp-share-button"],T:{title:"Payla\u015f","aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.Y(a).B)},O:[{I:"div",N:"ytp-share-icon",O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-sharrow"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}]},
{I:"div",N:"ytp-share-title",ca:"Payla\u015f"}]});this.B=a;this.G=b;this.H=d;this.K=c;this.D=!1;eV(a,this.element,this,28664);this.X("click",this.J);this.R(a,"videodatachange",this.F);this.R(a,"appresize",this.F);this.F();g.U(d,"ytp-show-share-title",g.Y(a).B);g.Nf(this,nW(b.Hb(),this.element))};
v_=function(a){uW.call(this,a,{I:"button",da:["ytp-skip-intro-button","ytp-popup","ytp-button"],O:[{I:"div",N:"ytp-skip-intro-button-text",ca:"Tan\u0131t\u0131m\u0131 Atla"}]},100);var b=this;this.D=a;this.J=!1;this.H=new g.V(function(){return b.hide()},5E3);
g.M(this,this.H);this.F=this.G=NaN;this.Y=function(){return b.show()};
this.P=function(){return b.hide()};
this.K=this.ha.bind(this);this.R(this.D,"videodatachange",function(c,d){if("dataloaded"==c)if(b.G=d.Gv,b.F=d.Ev,isNaN(b.G)||isNaN(b.F))b.J&&(g.$U(b.D,"intro"),b.D.removeEventListener(g.lR("intro"),b.Y),b.D.removeEventListener("crx_intro",b.P),b.D.removeEventListener("onShowControls",b.K),b.hide(),b.J=!1);else{b.D.addEventListener(g.lR("intro"),b.Y);b.D.addEventListener("crx_intro",b.P);b.D.addEventListener("onShowControls",b.K);var e=new g.jR(b.G,b.F,{priority:7,namespace:"intro"});g.XU(b.D,[e]);
b.J=!0}});
this.R(this.element,"click",function(){b.D.seekTo(b.F/1E3)});
this.hide()};
w_=function(a,b){g.W.call(this,{I:"button",da:["ytp-button","ytp-title-notifications"],T:{"aria-pressed":"{{pressed}}"},O:[{I:"div",N:"ytp-title-notifications-on",T:{title:"Her yeni videoyla ilgili bildirim almay\u0131 durdurun","aria-label":"Abone oldu\u011funuz kanaldan bildirim al\u0131n"},O:[g.rta()]},{I:"div",N:"ytp-title-notifications-off",T:{title:"Her yeni videoyla ilgili bildirim al\u0131n","aria-label":"Abone oldu\u011funuz kanaldan bildirim al\u0131n"},O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-notifications-inactive"]}:
{I:"svg",T:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},O:[{I:"path",T:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});this.D=a;eV(a,this.element,this,36927);this.F=b;this.B=!1;this.X("click",this.G,this);this.updateValue("pressed",!1)};
lxa=function(a,b){a.B=b;a.element.classList.toggle("ytp-notifications-enabled",a.B);g.cG("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Sb:{channel_id:a.F,receive_all_updates:!a.B}})};
mxa=function(a,b,c){return b?a.D+"subscription_ajax":c?"/subscription_service":""};
g.x_=function(a,b,c,d,e,f,k,l,m,n,p,q){f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;if(p){c=g.Y(q);p={href:p,"aria-label":"Kanala abone ol"};if(g.dO(c)||g.eO(c))p.target=c.F;g.W.call(this,{I:"div",da:["ytp-button","ytp-sb"],O:[{I:"a",N:"ytp-sb-subscribe",T:p,O:[{I:"div",N:"ytp-sb-text",O:[{I:"div",N:"ytp-sb-icon"},a]},b?{I:"div",N:"ytp-sb-count",ca:b}:""]}]});f&&g.T(this.element,"ytp-sb-classic")}else{g.W.call(this,
{I:"div",da:["ytp-button","ytp-sb"],O:[{I:"div",N:"ytp-sb-subscribe",T:{"aria-label":"Kanala abone ol"},O:[{I:"div",N:"ytp-sb-text",O:[{I:"div",N:"ytp-sb-icon"},a]},b?{I:"div",N:"ytp-sb-count",ca:b}:""]},{I:"div",N:"ytp-sb-unsubscribe",T:{"aria-label":"Kanal aboneli\u011finden \u00e7\u0131k"},O:[{I:"div",N:"ytp-sb-text",O:[{I:"div",N:"ytp-sb-icon"},c]},d?{I:"div",N:"ytp-sb-count",ca:d}:""]}]});var u=this;this.B=k;var w=this.o["ytp-sb-subscribe"],D=this.o["ytp-sb-unsubscribe"];f&&g.T(this.element,
"ytp-sb-classic");if(e){l&&g.T(this.element,"ytp-sb-subscribed");var F=null;"gaming"==g.Y(q).playerStyle&&(F="gaming_channels");var I=function(){var na=u.B,Ia=F;if(m||n){var Ba=g.Y(q);var Ta="c="+na+"&u="+Ba.Sc;if(Ba.experiments.o("embeds_botguard_with_subscribe_killswitch"))Ta="";else{var $a="",vc=null;if(Ba.experiments.o("web_player_inline_botguard"))OI.o&&(vc=PI);else{var Kb=g.z("yt.abuse.player.botguardInitialized");Kb&&Kb()&&(vc=g.z("yt.abuse.player.invokeBotguard"))}vc&&($a=vc(Ta));Ta=$a}g.cG(mxa(Ba,
!!m,!!n),m?{method:"POST",ed:{action_create_subscription_to_channel:1,c:na},Sb:{feature:m,silo_name:Ia,r2b:Ta},withCredentials:!0}:n?{method:"POST",ed:{action_subscribe:1},Sb:{channel_ids:na,itct:n}}:{});q.Ba("SUBSCRIBE",na)}D.focus();D.removeAttribute("aria-hidden");w.setAttribute("aria-hidden",!0)},O=function(){var na=u.B;
if(m||n)g.cG(mxa(g.Y(q),!!m,!!n),m?{method:"POST",ed:{action_remove_subscriptions:1},Sb:{c:na,silo_name:F,feature:m},withCredentials:!0}:n?{method:"POST",ed:{action_unsubscribe:1},Sb:{channel_ids:na,itct:n}}:{}),q.Ba("UNSUBSCRIBE",na);w.focus();w.removeAttribute("aria-hidden");D.setAttribute("aria-hidden",!0)};
this.R(w,"click",I);this.R(D,"click",O);this.R(w,"keypress",function(na){13==na.keyCode&&I(na)});
this.R(D,"keypress",function(na){13==na.keyCode&&O(na)});
this.R(q,"SUBSCRIBE",this.D);this.R(q,"UNSUBSCRIBE",this.F)}else g.T(w,"ytp-sb-disabled"),g.T(D,"ytp-sb-disabled")}};
oxa=function(a,b){var c=nxa(null,"wl_button",b);if(c=window.open(c,"loginPopup","width=800,height=600,resizable=yes,scrollbars=yes",!0)){var d=g.vF("LOGGED_IN",function(e){g.wF(g.fF("LOGGED_IN_PUBSUB_KEY",void 0));eF("LOGGED_IN",!0);a(e)});
eF("LOGGED_IN_PUBSUB_KEY",d);c.moveTo((screen.width-800)/2,(screen.height-600)/2)}};
nxa=function(a,b,c){var d="/signin?context=popup";c&&(d=document.location.protocol+"//"+c+d);c=document.location.protocol+"//"+document.domain+"/post_login";a&&(c=yh(c,"mode",a));a=yh(d,"next",c);b&&(a=yh(a,"feature",b));return a};
y_=function(a,b){b=void 0===b?!1:b;var c=g.Y(a);g.W.call(this,{I:"div",N:"ytp-title-channel",O:[{I:"div",N:"ytp-title-beacon"},{I:"a",N:"ytp-title-channel-logo",T:{href:"{{channelLink}}",target:c.F,"aria-label":"{{channelLogoLabel}}"}},{I:"div",N:"ytp-title-expanded-overlay",O:[{I:"div",N:"ytp-title-expanded-heading",O:[{I:"h2",N:"ytp-title-expanded-title",O:[{I:"a",ca:"{{expandedTitle}}",T:{href:"{{channelTitleLink}}",target:c.F}}]},{I:"h3",N:"ytp-title-expanded-subtitle",ca:"{{expandedSubtitle}}"}]}]}]});
this.B=a;this.D=this.o["ytp-title-channel"];this.F=this.o["ytp-title-channel-logo"];this.L=this.o["ytp-title-expanded-overlay"];this.H=this.J=this.G=null;this.P=b;eV(a,this.F,this,36925);this.P&&pxa(this)};
pxa=function(a){var b=g.Y(a.B).Sc?null:nxa(),c=a.B.getVideoData(),d=new g.x_("Abone Ol",null,"Abone olundu",null,!0,!1,c.gi,c.subscribed,"channel_avatar",null,b,a.B);a.G=d;g.M(a,d);d.A(a.L);eV(a.B,d.element,a,36926);d.hide();var e=new w_(a.B,c.gi);a.J=e;g.M(a,e);e.A(a.L);e.hide();a.R(a.B,"SUBSCRIBE",function(){e.show()});
a.R(a.B,"UNSUBSCRIBE",function(){e.hide();lxa(e,!1)});
g.Y(a.B).A?a.R(a.F,"click",function(f){qxa(a)&&(f.preventDefault(),a.D.classList.contains("ytp-title-expanded")?a.M():a.Y());g.fV(a.B,a.F)}):(a.R(a.D,"mouseenter",a.Y),a.R(a.D,"mouseleave",a.M),a.R(a.F,"click",function(){g.fV(a.B,a.F)}));
a.R(d.element,"click",function(){g.fV(a.B,d.element)});
a.H=new g.V(function(){a.D.classList.contains("ytp-title-expanded")&&(d.hide(),g.gV(a.B,d.element,!1),e.hide(),g.gV(a.B,e.element,!1),a.D.classList.remove("ytp-title-expanded"),a.D.classList.add("ytp-title-show-collapsed"))},500);
g.M(a,a.H);a.R(a.D,rxa,function(){a.D.classList.remove("ytp-title-show-collapsed");a.D.classList.remove("ytp-title-show-expanded")});
a.R(a.B,"onHideControls",a.K);a.R(a.B,"appresize",a.K);a.R(a.B,"fullscreentoggled",a.K)};
qxa=function(a){var b=a.B.getPlayerSize();return a.P&&524<=b.width};
z_=function(a,b){var c=a.B.getVideoData(),d=g.zh(CO(g.Y(a.B))+c.si,{feature:"embeds_subscribe_title"}),e=c.si,f=c.Tk,k=c.author;e=void 0===e?"":e;f=void 0===f?"":f;k=void 0===k?"":k;b?(e=CO(g.Y(a.B))+e,a.F.style.backgroundImage="url("+f+")",a.updateValue("channelLink",e),a.updateValue("channelLogoLabel",g.uV("$CHANNEL_NAME foto\u011fraf\u0131",{CHANNEL_NAME:k})),g.T(a.B.getRootNode(),"ytp-title-enable-channel-logo"),g.gV(a.B,a.F,!0)):(g.Lr(a.B.getRootNode(),"ytp-title-enable-channel-logo"),g.gV(a.B,
a.F,!1));a.G&&(a.G.B=c.gi);a.updateValue("expandedTitle",c.ou);a.updateValue("channelTitleLink",d);a.updateValue("expandedSubtitle",c.expandedSubtitle)};
A_=function(a){g.W.call(this,{I:"div",N:"ytp-title",O:[{I:"div",N:"ytp-title-text",O:[{I:"a",da:["ytp-title-link","yt-uix-sessionlink"],T:{target:g.Y(a).F,href:"{{url}}","data-sessionlink":"feature=player-title"},ca:"{{title}}"},{I:"div",N:"ytp-title-subtext",O:[{I:"a",N:"ytp-title-channel-name",T:{href:"{{channelLink}}",target:"_blank"},ca:"{{channelName}}"}]}]}]});this.B=a;this.F=null;this.H=this.o["ytp-title-link"];this.D=new y_(a,g.Y(a).B);this.D.A(this.element,0);g.M(this,this.D);eV(a,this.element,
this,23851);this.R(a,"videodatachange",this.G);this.R(a,"videoplayerreset",this.G);this.G()};
B_=function(a){z_(a.D,!1);a.updateValue("channelLink","");a.updateValue("channelName","")};
g.C_=function(a,b){var c=g.OU(a).getPlayerSize();g.W.call(this,{I:"div",O:[{I:"div",N:"ytp-tooltip-bg",O:[{I:"div",N:"ytp-tooltip-duration",ca:"{{duration}}"}]},{I:"div",N:"ytp-tooltip-text-wrapper",O:[{I:"div",N:"ytp-tooltip-image"},{I:"div",N:"ytp-tooltip-title",ca:"{{title}}"},{I:"span",N:"ytp-tooltip-text",ca:"{{text}}"}]}]});this.ba=a;this.ya=b;this.P=g.Y(a);this.ma=this.P.A;this.L=this.o["ytp-tooltip-bg"];this.xa=this.o["ytp-tooltip-image"];this.ea=(0,g.B)(this.pS,this);this.J=(0,g.B)(this.rS,
this);this.ha=(0,g.B)(this.Ye,this);this.B=null;this.M=new g.HV(this,100);g.M(this,this.M);this.D=null;this.aa=!1;this.F=null;this.H=NaN;this.K="";this.ua=c.width;this.Y=!0;this.G=1;this.ia=new g.V(this.dN,250,this);g.M(this,this.ia);this.ka=new g.V(this.Ye,5E3,this);g.M(this,this.ka)};
nW=function(a,b){if(a.ma)return g.A;b.addEventListener("mouseover",a.J);a.P.experiments.o("show_tooltip_on_tab_killswitch")||b.addEventListener("focus",a.J);var c=b.getAttribute("title");c&&!b.hasAttribute("aria-label")&&b.setAttribute("aria-label",c);return(0,g.B)(function(){this.B==b&&this.Ye();b.removeEventListener("mouseover",this.J);this.P.experiments.o("show_tooltip_on_tab_killswitch")||b.removeEventListener("focus",this.J)},a)};
txa=function(a,b,c){if(a.D)if(3==a.D)a.Ye();else return;sxa(a,b,3,c)};
sxa=function(a,b,c,d){if(b&&!b.hasAttribute)a=Error("showElementTooltip_ called with non-element."),a.params=b.toString(),g.hF(a);else{isNaN(a.H)||(a.H=NaN,a.L.style.background="");a.B=b;a.aa=!!d;d?a.K=d:(a.K=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(d=b.getAttribute("data-tooltip-image"))a.xa.style.backgroundImage="url("+d+")";g.U(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.U(a.element,"ytp-tooltip-opaque",!!b);
a.D=c;a.ba.addEventListener("appresize",a.ha);a.Y&&(D_(a),a.M.show(0))}};
D_=function(a){var b;a.B&&(b=a.B.getAttribute("data-tooltip-text"));if(b&&!a.aa){a.updateValue("text",b);var c=a.B.getAttribute("data-duration");a.update({title:a.K,duration:c});var d=a.B.getAttribute("data-preview"),e=160*a.G,f=90*a.G,k=160*a.G,l=90*a.G;a.L.style.width=e+"px";a.L.style.height=f+"px";a.L.style.backgroundImage=d?"url("+d+")":"";a.L.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.L.style.backgroundSize=k+"px "+l+"px";g.Kr(a.element,["ytp-text-detail","ytp-preview"]);g.U(a.element,
"ytp-has-duration",!!c)}else a.updateValue("text",a.K),g.Mr(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.D?a.element.setAttribute("role","status"):a.element.removeAttribute("role");uxa(a,!!b)};
uxa=function(a,b,c,d){a.element.style.maxWidth=b?"":Math.min(a.ua,300*a.G)+"px";a.ya.ar(a.element,a.B,c,1==a.D,d);a.element.style.top?g.T(a.element,"ytp-bottom"):a.element.style.bottom&&g.T(a.element,"ytp-top");3==a.D&&a.ka.start()};
DW=function(a){a.B&&!a.aa&&a.B.hasAttribute("title")&&(a.K=a.B.getAttribute("title"),a.B.removeAttribute("title"),a.Y&&D_(a))};
vxa=function(a,b){g.U(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.H)){a.H=b;var c=160*a.G,d=160*a.G,e=sma(a.F,a.H,c);Vta(a.L,e,c,d,!0);a.ia.start()}};
xxa=function(a,b,c){wxa("add_to_watch_later_list",a,b,c)};
yxa=function(a,b,c){wxa("delete_from_watch_later_list",a,b,c)};
wxa=function(a,b,c,d){g.cG(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",ed:{feature:b.feature||null,authuser:b.Sc||null,pageid:b.pageId||null},Sb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.N4||null,add_to_playlists:b.w4||null,plid:g.fF("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(e,f){b.onSuccess.call(this,e,f)},
Gd:b.Gd,withCredentials:!!d})};
F_=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-watch-later-button","ytp-button"],T:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.Y(a).B)},O:[{I:"div",N:"ytp-watch-later-icon",ca:"{{icon}}"},{I:"div",N:"ytp-watch-later-title",ca:"Daha sonra izle"}]});this.B=a;this.K=b;this.H=b.Hb();this.H.element.setAttribute("aria-live","polite");this.J=null;this.G=this.F=this.D=!1;eV(a,this.element,this,28665);this.X("click",this.OP,this);this.R(a,"videoplayerreset",this.PP);
this.R(a,"appresize",this.Qc);this.R(a,"videodatachange",this.Qc);this.Qc();a=g.Y(this.B);var d=g.KI("yt-player-watch-later-pending");a.o&&d?(uN(),zxa(this,d.videoId)):E_(this,2);g.U(c,"ytp-show-watch-later-title",a.B);g.Nf(this,nW(b.Hb(),this.element))};
Axa=function(a,b){oxa(function(){uN({videoId:b});window.location.reload()},pO(g.Y(a.B)))};
zxa=function(a,b){if(!a.F){a.F=!0;E_(a,3);var c=g.Y(a.B);(a.D?yxa:xxa)({videoIds:b,Sc:c.Sc,pageId:c.pageId,onError:a.CU,onSuccess:a.D?a.DU:a.BU,context:a},c.D,!0)}};
Bxa=function(a,b){E_(a,4,b);g.Y(a.B).Ob&&a.B.Ba("WATCH_LATER_ERROR",b)};
E_=function(a,b,c){var d=g.Y(a.B),e=a.K.Kh()&&d.experiments.o("embeds_enable_new_smallmode")&&d.B;if(b!=a.J){switch(b){case 3:var f=ZV();break;case 1:f=jta();break;case 2:f=d.H&&e?{I:"div",da:["ytp-icon","ytp-icon-watch-later-large"]}:g.BV?{I:"div",da:["ytp-icon","ytp-icon-watch-later"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};
break;case 4:f=g.BV?{I:"div",da:["ytp-icon","ytp-icon-alert"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}}a.updateValue("icon",f);a.J=b}c?a.update({title:c,image:null}):d.td?(b={USER_NAME:d.td},a.update({title:a.D?g.uV("$USER_NAME olarak eklendi",
b):g.uV("Daha sonra $USER_NAME olarak izleyin",b),image:Fla(d)})):a.update({title:"Daha sonra izle",image:null});DW(a.H)};
G_=function(a){var b=g.Y(a);g.W.call(this,{I:"a",da:["ytp-watermark","yt-uix-sessionlink"],T:{target:b.F,href:"{{url}}","aria-label":g.uV("$WEBSITE sitesinde izle",{WEBSITE:qO(b)}),"data-sessionlink":"feature=player-watermark"},O:[Cta()]});this.B=a;this.D=null;this.F=!1;this.R(a,"videodatachange",this.H);this.R(a,"presentingplayerstatechange",this.K);this.R(a,"appresize",this.G);b=g.NU(a);g.iQ(this,!g.X(b,2));this.H();this.G(g.OU(a).getPlayerSize())};
Cxa=function(a,b){return!!(b.experiments.o("embeds_enable_smaller_watermark_on_mobile")&&480>a.width)};
H_=function(a){LX.call(this,a);var b=this,c=g.OU(a),d=g.Y(a),e=d.experiments.o("embed_enable_playlist_ui")&&d.B;this.ka=d.experiments.o("embeds_enable_new_smallmode")&&d.B;this.Oa=48;this.Ma=69;d.o&&d.B&&(g.T(a.getRootNode(),"ytp-embed"),this.Oa=60,this.Ma=89);e&&g.T(a.getRootNode(),"ytp-embed-playlist");this.ka&&g.T(a.getRootNode(),"ytp-embeds-smallmode");this.Y=null;this.K=[];this.L=new g.YZ(a);g.M(this,this.L);g.bV(a,this.L.element,4);var f=new g.W({I:"div",N:"ytp-gradient-top"});g.M(this,f);g.bV(a,
f.element,1);this.jb=new g.HV(f,250,!0,100);g.M(this,this.jb);this.C=new g.W({I:"div",N:"ytp-chrome-top"});g.M(this,this.C);g.bV(a,this.C.element,1);this.Xa=new g.HV(this.C,250,!0,100);g.M(this,this.Xa);this.ga=[];this.J=new g.C_(a,this);g.M(this,this.J);g.bV(a,this.J.element,4);d.o&&d.Ga&&(this.xc=new n_(a,this),g.M(this,this.xc),g.bV(a,this.xc.element,4));f=new q_(a);g.M(this,f);g.bV(a,f.element,5);f.subscribe("show",(0,g.B)(this.gm,this,f));this.ga.push(f);this.ba=new r_(a,this,f);g.M(this,this.ba);
e||this.ba.A(this.C.element);this.Sa=new A_(a);g.M(this,this.Sa);this.Sa.A(this.C.element);f=new g.eQ({I:"div",N:"ytp-chrome-top-buttons"});g.M(this,f);f.A(this.C.element);this.xa=f;var k=d.experiments.o("embed_info_bar_top_right_subscribe")&&d.o;!k&&d.Ur&&(this.G=new F_(a,this,this.C.element),g.M(this,this.G),this.G.A(f.element));k||(k=new t_(a,this),g.M(this,k),g.bV(a,k.element,5),k.subscribe("show",(0,g.B)(this.gm,this,k)),this.ga.push(k),this.F=new u_(a,this,k,this.C.element),g.M(this,this.F),
this.F.A(f.element));d.Ho&&(k=new v_(a),g.M(this,k),g.bV(a,k.element,4));e&&this.ba.A(f.element);this.aa=new b_(a,this,this.C.element);g.M(this,this.aa);this.aa.A(f.element);e=new c_(a,this,this.aa);g.M(this,e);e.A(f.element);this.ka&&(this.D=new l_(a,this),g.M(this,this.D),g.bV(a,this.D.element,5),this.D.subscribe("show",function(){b.gm(b.D,vW(b.D))}),this.ga.push(this.D),this.ua=new m_(a,this,this.D),g.M(this,this.ua),this.ua.A(f.element));
(this.o="1"==d.C?new IX(a,this,this.A):null)&&g.M(this,this.o);"3"==d.C&&(e=new s_(a,this),g.M(this,e),g.bV(a,e.element,8));this.M=new i_(a,this,this.L);g.M(this,this.M);this.M.subscribe("show",this.HG,this);this.Ia=!1;d.Rc&&(e=new G_(a),g.M(this,e),g.bV(a,e.element,7));e=new OV(a,new SV(a));g.M(this,e);g.bV(a,e.element,4);this.ia=new g.W({I:"div",T:{tabindex:"0"}});this.ia.X("focus",this.DK,this);g.M(this,this.ia);this.ha=new g.W({I:"div",T:{tabindex:"0"}});this.ha.X("focus",this.EK,this);g.M(this,
this.ha);(this.W=d.sd?null:new j_(a,c,this.M,this.A,this.L,(0,g.B)(this.Uj,this)))&&g.M(this,this.W);this.ma.push(this.L.element);this.R(a,"fullscreentoggled",this.ZO);this.R(a,"offlineslatestatechange",this.BS,this);this.R(a,"cardstatechange",this.ug,this)};
I_=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=ai(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=I_(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndex<d.tabIndex&&(d=e):d=e)}b=c?b.previousElementSibling:b.nextElementSibling}return d};
g.J_=function(a){g.kV.call(this,a);this.load()};
K_=function(){this.o=[];this.A=[];this.C=[]};
Exa=function(a,b,c){c=g.ke(c?"AUDIO":"VIDEO");g.Oa(c,Dxa);g.eH(c,"loadeddata",(0,g.B)(c.aK,c));WN&&6<=SP&&g.eH(c,"webkitbeginfullscreen",(0,g.B)(c.play,c));a.A.push(c);b?a.C.push(c):L_(a,c);return c};
L_=function(a,b){g.Ya(a.A,b)&&!g.Ya(a.o,b)&&(b.Lf(),g.db(a.C,b)||a.o.push(b))};
M_=function(a,b,c){g.L.call(this);var d=this;this.o=a;this.M=b;c.getPlayerType();this.C=c;this.K=new Map;this.A=[];this.B=this.H=null;this.L=NaN;this.G=this.D=null;this.J=new g.V(function(){Fxa(d,d.L)});
g.M(this,this.J);this.F=new g.sH(this);g.M(this,this.F);this.F.R(this.o,g.lR("childplayback"),this.RO);this.F.R(this.o,"onQueuedVideoLoaded",this.fT);this.F.R(this.o,"presentingplayerstatechange",this.SO)};
Hxa=function(a,b,c,d){a.B=d;Gxa(a.o.app,a.C,c,void 0===b?0:b)};
Ixa=function(a,b,c,d){a.B=d;d=b.Kd;var e=b.playerVars,f=b.playerType;a.H=b;a.o.enqueueVideoByPlayerVars(e,f,c,d)};
N_=function(a){a.H=null;a.B=null;!a.o.app.xa.o||a.o.clearQueue()};
Jxa=function(a,b){O_(a,b);return b.ij==b.Ai+b.durationMs?b.Ai+1E3*g.hV(a.o).getCurrentTime():b.ij};
Kxa=function(a,b){for(var c=0,d=g.r(a.A),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Ai/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{Ut:e,Kw:b-f};c=k-e.ij/1E3}return{Ut:null,Kw:b-c}};
Fxa=function(a,b){var c=a.G||g.hV(a.o).getPlayerState();P_(a,!0);var d=Kxa(a,b),e=d.Ut;d=d.Kw;var f=e&&!O_(a,e)||!e&&a.C!=g.hV(a.o),k=1E3*d;k=a.B&&a.B.start<=k&&k<=a.B.end;!f&&k||N_(a);e?(f=O_(a,e),f||(g.Q_(a.o.app,e.playerType),k=new g.yP(a.M,e.playerVars),k.Kd=e.Kd,k.Ti=!0,R_(a.o.app,k,e.playerType,void 0)),k=g.hV(a.o),f||k.addCueRange(e.Ci.Fg),k.seekTo(d,!0),Lxa(a,c)):S_(a,d,c)};
S_=function(a,b,c){var d=a.C;if(d!=g.hV(a.o)){var e=d.getPlayerType();g.Q_(a.o.app,e)}d.seekTo(b,!0);Lxa(a,c)};
Lxa=function(a,b){var c=g.hV(a.o),d=c.getPlayerState();MQ(b)&&!MQ(d)?c.playVideo():g.X(b,4)&&!g.X(d,4)&&c.pauseVideo()};
P_=function(a,b){a.L=NaN;a.J.stop();a.D&&b&&ssa(a.D);a.G=null;a.D=null};
O_=function(a,b){var c=g.hV(a.o);return!!c&&c.getVideoData().Kd==b.Kd};
Mxa=function(a){var b=void 0===b?-1:b;for(var c=g.r(a.K),d=c.next();!d.done;d=c.next()){var e=g.r(d.value);d=e.next().value;e=e.next().value;e.gy>b&&(a.C.removeCueRange(d),e.Fg.dispose(),a.K["delete"](d))}c=[];d=g.r(a.A);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Ai>b){var f=a;f.H==e&&N_(f);O_(f,e)&&g.jV(f.o,e.playerType);e.Ci.Fg.dispose()}else c.push(e);a.A=c;c=Kxa(a,b/1E3);b=c.Ut;c=c.Kw;b&&(c*=1E3,d=b.ij==b.Ai+b.durationMs?b.Ai+c:b.ij,b.durationMs=c,b.ij=d,e={Fg:new g.jR(Math.max(0,c-5E3),
0x8000000000000,{namespace:"childplayback",priority:7}),gy:c,target:null},d=b.Ci,b.Ci=e,O_(a,b)&&(e=g.hV(a.o),d.Fg==a.B&&N_(a),e.removeCueRange(d.Fg),e.addCueRange(b.Ci.Fg)),d.Fg.dispose(),O_(a,b)&&1E3*g.hV(a.o).getCurrentTime()>c&&(b=Jxa(a,b)/1E3,c=g.hV(a.o).getPlayerState(),S_(a,b,c)))};
Nxa=function(){this.o=this.F=this.D=this.C=this.A=!1;this.B=0};
Oxa=function(a){var b=new Nxa;b.A=a.experiments.o("html5_pseudo_gapless");b.C=a.experiments.o("html5_gapless_disable_preload_at_finish");b.D=a.experiments.o("html5_gaplesstransition_error_new_elem");b.F=a.experiments.o("html5_gapless_skip_remove");b.o=a.experiments.o("html5_gapless_allow_late_transitions");b.B=a.experiments.A("html5_gapless_ended_transition_buffer_ms");return b};
g.T_=function(a,b,c,d){d=void 0===d?!1:d;g.yQ.call(this);this.o=a;this.A=b;this.F=c;this.K=d};
U_=function(a,b,c,d){g.L.call(this);this.D=a;this.o=b;this.A=c;this.F=this.C=null;this.L=d;this.K=this.J=-1;this.G=new NS;this.G.then(void 0,function(){});
this.H=this.D.A&&!(!c.getCurrentTime()&&!isFinite(d));this.B={status:0,error:null}};
Rxa=function(a){var b,c,d,e,f,k;return xa(function(l){if(1==l.o)return a.D.o?l=ua(l,a.G,2):4!=a.B.status?l=l["return"](Promise.resolve("nonsense")):(l.o=2,l=void 0),l;b=a.o.A;c=Pxa(a);d=c.bE;e=c.aE;oU(a.o,!1,a.D.C);f=Qxa(b,d,e,a.A.getVideoData().Da);pU(a.A,f);a.H&&(a.A.seekTo(a.A.getCurrentTime()+.001,!0),f.play());k=b.Eb();k.cpn=a.o.getVideoData().clientPlaybackNonce;k.st=""+d;k.et=""+e;a.A.xb("gapless",uM(k));a.o.xb("gaplessTo",a.A.getVideoData().clientPlaybackNonce);g.Dg(function(){!a.A.getVideoData().Oe&&
MQ(a.A.getPlayerState())&&Bsa(a.A)});
V_(a,5);a.dispose();return l["return"](Promise.resolve())})};
Uxa=function(a){if(a.A.getVideoData().Ea){AU(a.A,a.F);V_(a,3);Sxa(a);var b=Txa(a),c=b.eG;b=b.JV;c.subscribe("updateend",a.Ik,a);b.subscribe("updateend",a.Ik,a);a.Ik(c);a.Ik(b)}};
Sxa=function(a){a.o.unsubscribe("internalvideodatachange",a.ki,a);a.A.unsubscribe("internalvideodatachange",a.ki,a);a.o.unsubscribe("mediasourceattached",a.ki,a)};
Qxa=function(a,b,c,d){return new g.T_(a.isView()?a.o:a,b,c,d)};
V_=function(a,b){b<=a.B.status||(a.B={status:b,error:null},4==b&&a.G.resolve(void 0))};
W_=function(a,b){a.B={status:Infinity,error:b};if(a.o&&a.A){var c=a.A.getVideoData().clientPlaybackNonce;a.o.xb("gaplessError","cpn."+c+";msg."+b);a.D.D&&(c=a.o,c.o.Ti=!1,CU(c),c.D&&(c.D.A.zg=!1))}a.G.reject(void 0);a.dispose()};
Pxa=function(a){var b=a.o.A;b=b.isView()?b.A:0;var c=a.o.getVideoData().Da?Infinity:HU(a.o,!0);c=Math.min(a.L/1E3,c)+b;var d=a.H?100:0;a=c-a.A.getCurrentTime()+d;return{mK:b,bE:a,lK:c,aE:Infinity}};
Txa=function(a){return{eG:a.C.o.o,JV:a.C.A.o}};
X_=function(a){g.L.call(this);var b=this;this.A=a;this.F=this.B=this.o=null;this.J=!1;this.D=null;this.H=Oxa(g.Y(this.A));this.C=null;this.G=function(){return g.Dg(function(){return Vxa(b)})}};
Wxa=function(a,b,c,d){d=void 0===d?0:d;a.D=new NS;a.o=b;var e=c,f=g.hV(a.A),k=f.getVideoData().Da?Infinity:1E3*HU(f,!0);e>k&&(e=k-a.H.B,a.J=!0);f.getCurrentTime()>=e/1E3?a.G():(a.B=f,a.A.addEventListener(g.lR("vqueued"),a.G),e=isFinite(e)||e/1E3>a.B.getDuration()?e:0x8000000000000,a.F=new g.jR(e,0x8000000000000,{namespace:"vqueued"}),a.B.addCueRange(a.F));d/=1E3;0==d?b=0:(b=(b=b.getVideoData().oa)?mla(b,d):NaN,isNaN(b)||d==b||a.o.xb("qvaln","st."+d+";at."+b));b=isNaN(b)?d:b;a.o.getVideoData().Sk=
!0;a.o.getVideoData().Ti=!0;bU(a.o,!0);a.o.xb("queued","1");0!=b&&a.o.seekTo(b,!0,void 0,!1,!g.Y(a.A).experiments.o("html5_disable_gapless_seek_back"));a.C=new U_(a.H,g.hV(a.A),a.o,c);c=a.C;Infinity!=c.B.status&&(V_(c,1),c.o.subscribe("internalvideodatachange",c.ki,c),c.A.subscribe("internalvideodatachange",c.ki,c),c.o.subscribe("mediasourceattached",c.ki,c),c.ki());return a.D};
Vxa=function(a){var b,c;return xa(function(d){switch(d.o){case 1:if(a.la())return d["return"]();a.J&&NT(g.hV(a.A),!0,!1);if(!a.C){d.o=2;break}b=Rxa(a.C);if(!a.H.o){d.o=2;break}d.F=4;return ua(d,b,6);case 6:d.o=2;d.F=0;break;case 4:d.F=0,d.C=null;case 2:Xxa(a.A.app,a.o);var e=a.o.getPlayerType();g.Q_(a.A.app,e);a.A.playVideo();c=a.D;Y_(a);return d["return"](c.resolve(void 0))}})};
Y_=function(a){a.B&&(a.A.removeEventListener(g.lR("vqueued"),a.G),a.B.removeCueRange(a.F),a.F.dispose(),a.B=null,a.F=null);if(a.C){if(!a.C.isFinished()){var b=a.C;Infinity!=b.B.status&&W_(b,"Canceled")}a.C=null}a.D=null;a.o=null;a.J=!1};
a0=function(a,b){g.L.call(this);var c=this;this.B=a||NaN;this.C=b||null;this.A=new g.V(function(){Z_(c);$_(c)});
g.M(this,this.A);this.o=[]};
Z_=function(a){var b=g.PH();a.o.forEach(function(c){c.expire<b&&b0(a,c,!0)});
a.o=(0,g.re)(a.o,function(c){return!(c.expire<b)})};
b0=function(a,b,c){c&&a.C&&a.C(b.value)};
$_=function(a){a.A.stop();var b=Infinity;for(var c=g.r(a.o),d=c.next();!d.done;d=c.next())d=d.value,d.expire<b&&(b=d.expire);b&&isFinite(b)&&(b=Math.max(b-(0,g.J)(),0),a.A.start(b))};
c0=function(a){g.L.call(this);this.A=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.o=window.IntersectionObserver?new IntersectionObserver((0,g.B)(this.C,this),b):null)&&this.o.observe(a)};
Zxa=function(a,b){if(g.kG())return null;var c=Yxa();if(!c)return g.SU(a,"html5.webaudio",{name:"null context"}),null;if(g.x(c))return g.SU(a,"html5.webaudio",{name:c}),null;if(!c.createMediaElementSource)return g.SU(a,"html5.webaudio",{name:"missing createMediaElementSource"}),null;if("suspended"==c.state){var d=function(e){"suspended"==c.state&&MQ(e.state)&&c.resume().then(function(){a.removeEventListener("presentingplayerstatechange",d);d0=!1},null)};
d0||(a.addEventListener("presentingplayerstatechange",d),d0=!0)}return new tR(c,b)};
e0=function(a){var b=a.o;g.W.call(this,{I:"div",da:["html5-video-player"],T:{tabindex:"-1",id:a.wa.attrs.id},O:[{I:"div",N:"html5-video-container",T:{"data-layer":"0"}}]});b.transparentBackground&&this.Oq("ytp-transparent");g.lF(this.element,"version",a.wa.assets.js);this.app=a;this.H=this.o["html5-video-container"];this.D=new g.Kh(0,0,0,0);this.B=null;this.K=new g.Kh(0,0,0,0);this.M=this.aa=this.Y=NaN;this.J=!1;this.L=NaN;this.P=!1;this.G=null;this.addEventListener=(0,g.B)(this.element.addEventListener,
this.element);this.removeEventListener=(0,g.B)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
this.ba=(0,g.B)(function(){this.element.focus()},this);
tO(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ha="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.Qd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.Qd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Qd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.Qd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.Qd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Qd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.Qd(640,360)}]);this.ea=b.useFastSizingOnWatchDefault;this.F=new g.Qd(NaN,NaN);$xa(this);this.R(a.A,"mutedautoplaychange",this.bP)};
$xa=function(a){var b=a.app.A,c=(0,g.B)(a.QL,a),d=(0,g.B)(a.RL,a),e=(0,g.B)(a.aP,a),f=(0,g.B)(a.xL,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Nf(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
aya=function(a){a.B&&(a.B.removeEventListener("focus",a.ba),g.qe(a.B),a.B=null)};
xY=function(a,b){cO(a.app.o);a.J=!b;f0(a)};
bya=function(a){var b=a.app.o.experiments.o("html5_aspect_from_adaptive_format"),c=g.Z(a.app);if(c=c?c.getVideoData():null){if(c.Qg()||c.Rg()||c.Vf())return 16/9;if(b&&c.Ea&&c.Ea.videoInfos.length&&c.Ea.o)return b=c.Ea.videoInfos[0].video,g0(b.width,b.height)}return(a=a.B)?g0(a.videoWidth,a.videoHeight):b?16/9:NaN};
cya=function(a,b,c,d){var e=c;isNaN(a.M)?isNaN(a.aa)||(e=a.aa):e=a.M;a=g0(b.width,b.height);isFinite(e)||(e=Math.max(c,a));var f;e>a?f={width:b.width,height:b.width/e,aspectRatio:e}:e<a?f={width:b.height*e,height:b.height,aspectRatio:e}:f={width:b.width,height:b.height,aspectRatio:a};d||isNaN(c)||(c>e?f.width=f.height*c:c<e&&(f.height=f.width/c),f.aspectRatio=c);return f};
g0=function(a,b){return 1>Math.abs(h0*b-a)||1>Math.abs(h0/a-b)?h0:a/b};
i0=function(a){if(1==a.app.M)return!1;if(6==a.app.M)return!0;var b=g.Z(a.app);if(!b||gU(b))return!1;var c=g.NU(a.app.A);a=!g.X(c,2)||!a.app.o.experiments.o("html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().Ti;b=g.X(c,1024);return c&&a&&!b&&!c.isCued()};
f0=function(a){var b="3"==a.app.o.C&&!a.J&&i0(a)&&!a.app.Ia;a.B.controls=b;a.B.tabIndex=b?0:-1;b?a.B.removeEventListener("focus",a.ba):a.app.o.experiments.o("disable_focus_redirect")||a.B.addEventListener("focus",a.ba)};
dya=function(a){var b=a.getPlayerSize(),c=1,d=!1,e=cya(a,b,a.getVideoAspectRatio()),f=sG();if(i0(a)){var k=bya(a);var l=isNaN(k)||g.bN||rT&&yO;tG&&!g.Lc(601)?k=e.aspectRatio:l=l||"3"==a.app.o.C;l?l=new g.Kh(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.Kh((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&yO&&(k=l.width-b.height*k,0<k&&(l.width+=k,l.height+=k)));f&&(a.B.style.display="");a.P=!0}else l=-b.height,tG?l*=window.devicePixelRatio:g.xO&&(l-=window.screen.height),l=
new g.Kh(0,l,b.width,b.height),f&&(a.B.style.display="none"),a.P=!1;g.Nh(a.K,l)||(a.K=l,g.lO(a.app.o)?(a.B.style.setProperty("width",l.width+"px","important"),a.B.style.setProperty("height",l.height+"px","important")):g.oi(a.B,new g.Qd(l.width,l.height)),g.di(a.B,g.Oh(l)),d=!0);b=new g.Kh((b.width-e.width)/2,(b.height-e.height)/2,e.width,e.height);g.Nh(a.D,b)||(a.D=b,d=!0);g.Xh(a.B,"transform",1==c?"":"scaleX("+c+")");return d};
eya=function(){this.B=g.EI();this.o=new Set;this.C=new Set;this.A=new Set};
Ksa=function(a,b,c,d){a.o.has(b);a.o.add(b);d=oka(d);b.visualElement=d;var e=g.EI(),f=g.DI();e&&f&&g.pI(e,f,[d],void 0);g.Nf(c,function(){g.fya(a,b)})};
g.fya=function(a,b){a.o.has(b);a.o["delete"](b);a.C["delete"](b);a.A["delete"](b)};
gya=function(a){if(a.B!=g.EI()){var b=g.EI(),c=g.DI();if(b&&c){a.B=b;for(var d=g.r(a.o),e=d.next();!e.done;e=d.next())(e=e.value.visualElement)&&!e.ae.trackingParams&&e.ae.veType&&g.pI(b,c,[e],void 0)}if(b)for(a=g.r(a.A),e=a.next();!e.done;e=a.next())(c=e.value.visualElement)&&!c.ae.trackingParams&&c.ae.veType&&g.qI(b,c)}};
j0=function(a,b,c,d,e){g.W.call(this,{I:"div",N:"ytp-horizonchart"});this.D=Math.round(a/c);this.L=b;this.H=c;this.J=d;this.K=e;this.Ib=0;this.element.style.width=this.D*this.H+"px";this.element.style.height=this.L+"em";this.B=-1;this.G=this.F=null};
k0=function(a,b){if(-1==a.B){try{var c=g.ke("CANVAS");a.F=c.getContext("2d")}catch(m){}if(a.F){var d=a.D*a.H;a.G=c;a.G.width=d;a.G.style.width=d+"px";a.element.appendChild(a.G)}else for(a.H=Math.floor(a.H/4),a.D*=4,c=0;c<a.H;c++)d=g.ke("SPAN"),d.style.width=a.D+"px",d.style.left=a.D*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.B&&(a.B=c,a.F&&(c=1<(window.devicePixelRatio||1)?2:1,a.G.height=a.B*c,a.G.style.height=a.B+"px",a.F.scale(1,c)));c=g.r(b);for(var e=c.next();!e.done;e=
c.next()){d=a;var f=a.Ib,k=e.value;for(e=0;e+2<d.J.length&&d.J[e+1]<k;)e++;k=Math.min(1,(k-d.J[e])/(d.J[e+1]-d.J[e]));if(d.F)d.F.fillStyle=d.K[e],d.F.fillRect(f*d.D,0,d.D,d.B),d.F.fillStyle=d.K[e+1],d.F.fillRect(f*d.D,d.B*(1-k),d.D,d.B);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.B,Math.round(d.B*k*l)/l)||0;f.style.height=k+"px";f.style.backgroundColor=d.K[e+1];f.style.borderTop="solid "+(d.B-k)+"px "+d.K[e]}a.Ib=(a.Ib+1)%a.H}c=a.Ib;a.F?a.F.clearRect(c*a.D,0,a.D,a.B):
(c=a.element.children[c],c.style.height="0px",c.style.borderTop="")};
l0=function(a){var b=null;b={I:"button",da:["html5-video-info-panel-close","ytp-button"],T:{title:"close"},ca:"[x]"};g.W.call(this,{I:"div",N:"html5-video-info-panel",O:[b,{I:"div",N:"html5-video-info-panel-content",O:[{I:"div",O:[{I:"div",ca:"Video ID / sCPN"},{I:"span",ca:"{{video_id_and_cpn}}"}]},{I:"div",O:[{I:"div",ca:"Viewport"},{I:"span",ca:"{{dimensions}}"}]},{I:"div",O:[{I:"div",ca:"Current / Optimal Res"},{I:"span",ca:"{{resolution}}"}]},{I:"div",O:[{I:"div",ca:"Volume / Normalized"},{I:"span",
ca:"{{volume}}"}]},{I:"div",O:[{I:"div",ca:"Codecs"},{I:"span",ca:"{{codecs}}"}]},{I:"div",T:{style:"{{shader_info_style}}"},O:[{I:"div",ca:"Shader Info"},{I:"span",ca:"{{shader_info}}"}]},{I:"div",T:{style:"{{color_style}}"},O:[{I:"div",ca:"Color"},{I:"span",ca:"{{color}}"}]},{I:"div",T:{style:"{{drm_style}}"},O:[{I:"div",ca:"Protected"},{I:"span",ca:"{{drm}}"}]},{I:"div",T:{style:"{{host_style}}"},O:[{I:"div",ca:"Host"},{I:"span",ca:"{{stream_host}}"}]},{I:"div",T:{style:"{{bandwidth_style}}"},
O:[{I:"div",ca:"Connection Speed"},{I:"span",O:[{I:"span",ca:"{{bandwidth_chart}}"},{I:"span",ca:"{{bandwidth_kbps}}"}]}]},{I:"div",T:{style:"{{network_activity_style}}"},O:[{I:"div",ca:"Network Activity"},{I:"span",O:[{I:"span",ca:"{{network_activity_chart}}"},{I:"span",ca:"{{network_activity_bytes}}"}]}]},{I:"div",O:[{I:"div",ca:"Buffer Health"},{I:"span",O:[{I:"span",ca:"{{buffer_health_chart}}"},{I:"span",ca:"{{buffer_health_seconds}}"}]}]},{I:"div",T:{style:"{{live_latency_style}}"},O:[{I:"div",
ca:"Live Latency"},{I:"span",O:[{I:"span",ca:"{{live_latency_chart}}"},{I:"span",ca:"{{live_latency_secs}}"}]}]},{I:"div",T:{style:"{{live_mode_style}}"},O:[{I:"div",ca:"Live Mode"},{I:"span",ca:"{{live_mode}}"}]},{I:"div",O:[{I:"div",ca:"Dropped Frames"},{I:"span",ca:"{{dropped_frames}}"}]},{I:"div",T:{style:"{{playback_categories_style}}"},O:[{I:"div",ca:"Playback Categories"},{I:"span",ca:"{{playback_categories}}"}]},{I:"div",T:{style:"{{debug_info_style}}"},O:[{I:"div",ca:"DebugInfo"},{I:"span",
ca:"{{debug_info}}"}]}]}]});b&&this.R(this.o["html5-video-info-panel-close"],"click",this.hide);b=[0,18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "),d=b.map(function(e){return e/4});
this.F=new j0(300,1,150,b,c);g.M(this,this.F);this.updateValue("bandwidth_chart",this.F);this.H=new j0(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.M(this,this.H);this.updateValue("live_latency_chart",this.H);this.G=new j0(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.M(this,this.G);this.updateValue("buffer_health_chart",this.G);this.J=new j0(300,1,150,d,c);g.M(this,this.J);this.updateValue("network_activity_chart",
this.J);this.B=new g.V(this.Ew,500,this);g.M(this,this.B);this.D=a};
hya=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+aK(a)+")":aK(a))+(a.video&&a.video.isAccelerated?" [acc]":"")};
m0=function(a,b){g.L.call(this);var c=this;this.wa=fka(b);var d=this.wa.args||{};this.o=new nO(d);g.M(this,this.o);this.o.experiments.o("html5_vp9_new_mime")&&void 0!=navigator.mediaCapabilities&&($L=!0);this.o.experiments.o("html5_manifestless_otf_killswitch")&&(VL=!1);this.o.experiments.o("html5_disable_subtract_cuepoint_offset")&&(kS=!0);this.ce=KN($N(this.o)&&!0,d.enablesizebutton);this.xc=KN(!1,d.player_wide);this.J=new GT;g.M(this,this.J);this.Y=KN(!1,d.external_list);this.Ga=(this.Nd=KN(!1,
d.external_play_video))&&this.o.experiments.o("player_unified_fullscreen_transitions");this.W=new g.sH(this);g.M(this,this.W);fh=function(e,f){g.hF(f,"WARNING")};
this.P=null;this.aa=new g.tE;g.M(this,this.aa);this.ea=new g.tE;g.M(this,this.ea);this.ka=new eya;this.A=new g.JU(this);g.M(this,this.A);this.K=new g.JU(this,1);g.M(this,this.K);this.H=new e0(this);g.M(this,this.H);this.M=1;this.yb={};this.L=this.o.gd?vla():{volume:100,muted:this.o.mute};this.ba=this.o.Ob?new fR(this,1):new pQ(this,1);g.M(this,this.ba);this.F=null;this.Rc={};d={};this.Pb=(d.internalvideodatachange=this.qQ,d.playbackready=this.sQ,d.playbackstarted=this.tQ,d.statechange=this.uQ,d.signatureexpired=
this.NT,d);this.B=iya(this);this.Fc=new g.sH(this);g.M(this,this.Fc);this.ha=new hR(this.o,this.B);this.C=jya(this);d={};this.Pd=(d.airplayactivechange=this.iQ,d.airplayavailabilitychange=this.jQ,d.beginseeking=this.DQ,d.endseeking=this.pR,d.internalAbandon=this.HR,d.internalaudioformatchange=this.wQ,d.internalvideodatachange=this.ew,d.internalvideoformatchange=this.uU,d.liveviewshift=this.PR,d.playbackstalledatstart=this.ZT,d.progresssync=this.cT,d.seekcomplete=this.uN,d.seekto=this.vN,d.onLoadProgress=
this.QR,d.onVideoProgress=this.xN,d.onLoadedMetadata=this.SR,d.onDompaused=this.mR,d.playbackready=this.NS,d.statechange=this.hF,d.connectionissue=this.bR,d.newelementrequired=this.JE,d.heartbeatparams=this.sN,d.videoelementevent=this.wN,d.drmoutputrestricted=this.nR,d.requestmediasource=this.rT,d);this.ua=new g.sH(this);g.M(this,this.ua);this.D=null;d=g.kO(this.o)?3:10;this.Oa=new a0(d,function(e){e!=g.Z(c,e.getPlayerType())&&(kya("c","prefetch_"+e.getVideoData().videoId),e.dispose())});
g.M(this,this.Oa);this.Qb=this.dc=-1;this.Xa=new g.V(this.H.yf,16,this.H);g.M(this,this.Xa);this.jb=!1;this.ma=!0;this.za=this.Ra=this.G=null;this.Od=!1;this.uc=this.sd=null;this.ia=0;this.Ia=this.Ma=!1;this.ga=null;this.rd=!1;this.td=!0;this.ya=void 0;lya(this);this.Sa=new M_(this.A,this.o,this.C);this.xa=new X_(this.A);g.M(this,this.xa);this.W.R(this.A,g.lR("appapi"),this.oQ);this.W.R(this.A,"crx_appapi",this.pQ);this.W.R(this.A,g.lR("appad"),this.mE);this.W.R(this.A,"crx_appad",this.mE);this.W.R(this.A,
"presentingplayerstatechange",this.tN);this.W.R(this.A,"resize",this.tT);this.H.A(g.x(a)?document.getElementById(a):a);this.W.R(this.A,"offlineslatestatechange",this.AS);this.gd=mya(this,this.H.element);g.M(this,this.gd);g.BV=this.o.H;this.o.ka&&(g.VZ.ux=g.J_);nya(this);(0,g.JP)("fs",void 0,"");oya(this);this.o.ka&&this.B.MA();.001>Math.random()&&(this.na("web_player_sentinel_is_uniplayer")||g.jF(Error("Player flag missing: web_player_sentinel_is_uniplayer")))};
jya=function(a){var b=new OT(a.o,1,a.ha,a.H,(0,g.B)(a.aa.U,a.aa),(0,g.B)(a.A.getVisibilityState,a.A),a.J);b.setPlaybackRate(a.o.o?1:pya(a,g.KI("yt-player-playback-rate")||1));wH(b,a.Pb,a);return b};
iya=function(a){var b="",c=a.wa.assets;c=c?c.js||"":"";0==c.indexOf("//")&&(c=a.o.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!a.o.experiments.o("web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.hF(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new UZ(a.A,b,a);c={};a=(c.loaded=(0,g.B)(a.mS,a),c.unloaded=(0,g.B)(a.nS,a),c.destroyed=(0,g.B)(a.Mw,a),c);b.ia=a;
return b};
qya=function(a,b){var c=a.isVideoInfoVisible();a.P||(a.P=new l0(a),g.M(a,a.P),g.bV(a.A,a.P.element,4));g.iQ(a.P,b);n0(a)&&c!=b&&g.PU(a.B).ey();c=a.D;b&&c&&c.xb("sfn","1",!0)};
p0=function(a){var b=o0.getTag(!0,!a.o.deviceHasDisplay);a.F=new g.sR(b);g.M(a,a.F);a.D&&pU(a.D,a.F);try{a.o.Y?(a.za&&a.W.Ka(a.za),a.za=a.W.R(a.F,"volumechange",a.jS)):(a.F.setVolume(a.L.volume/100),a.F.Dk(a.L.muted))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.VT(a.C,"html5.missingapi","UNSUPPORTED_DEVICE",c);return}g.uH(a.ua);rya(a);c=a.H;c.B=b;c.J=!1;c.B.parentNode||pe(c.H,c.B,0);c.K=new g.Kh(0,0,0,0);dya(c);f0(c);g.T(c.B,"video-stream");g.T(c.B,"html5-main-video");
b=c.app.o;b.Pb&&c.B.setAttribute("data-no-fullscreen",!0);b.Ej&&(c.B.setAttribute("webkit-playsinline",""),c.B.setAttribute("playsinline",""));b.Qq&&c.B&&c.R(c.B,"click",c.B.play,c.B);try{a.F.Lf()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.VT(a.C,"html5.missingapi","UNSUPPORTED_DEVICE",c)}};
q0=function(a){a.F&&(a.za&&(a.W.Ka(a.za),a.za=null),g.uH(a.ua),a.D&&oU(a.D,!0),aya(a.H),a.F.Ph()&&o0.releaseTag(a.F.sa()),a.F=null)};
g.Q_=function(a,b){var c=vY(a,b);iV(a,c)};
iV=function(a,b){if(a.D!=b){var c=null;a.D&&(c=a.D.getPlayerState(),XZ(a.B,3),YU(a,"cuerangesremoved",MS(a.D.L)||[]),a.xa&&!nU(b)&&nU(a.D)&&a.F&&a.F.stopVideo(),Lsa(a));r0(a,b);a.D=b;a.F&&pU(b,a.F);wH(b,a.Pd,a);a.ew("newdata",b,b.getVideoData());c&&!g.LQ(c,b.getPlayerState())&&a.hF(new g.PQ(b.getPlayerState(),c));b.ba.isFinished()&&a.ew("dataloaded",b,b.getVideoData());(c=(c=b.getVideoData().Ca)&&c.video)&&a.A.Ba("onPlaybackQualityChange",c.quality);YU(a,"cuerangesadded",MS(a.D.L)||[]);a.na("web_player_play_dompaused_presenting_killswitch")?
MQ(b.getPlayerState())?b.playVideo():g.X(b.getPlayerState(),2)&&s0(a):(c=b.getPlayerState(),g.X(c,2)?s0(a):g.X(c,8)&&b.playVideo())}};
s0=function(a){if(a.G&&(g.dO(a.o)||a.A.isFullscreen()&&!a.Ga)&&g.t0(a)){var b=a.o.experiments.o("html5_player_autonav_logging");a.nextVideo(!1,b);b=!0}else b=!1;b||((b=a.C.A)&&b.fn(),a.o.experiments.o("web_player_state_on_player_change_killswitch")||u0(a,OQ(Gsa(a))))};
rya=function(a){var b=a.F;oM()?a.ua.R(b,"webkitpresentationmodechanged",a.BT):pM()&&(a.ua.R(b,"enterpictureinpicture",function(){HT(a.J,!0)}),a.ua.R(b,"leavepictureinpicture",function(){HT(a.J,!1)}))};
r0=function(a,b){if(b!=a.C){var c=b.getPlayerType();a.Rc[c]=b}};
Lsa=function(a){var b;if(b=a.ga)b=a.F,b=!!b&&b==a.ga.C;b&&(q0(a),p0(a));a.D&&(oU(a.D),xH(a.D,a.Pd,a));a.D=null};
g.Z=function(a,b){return b?1==b?a.C:a.Rc[b]||null:a.D};
vY=function(a,b){var c=g.Z(a,b);c||(c=v0(a,b),r0(a,c));return c};
v0=function(a,b){var c=a.ha;2==b&&(c=new hR(a.o));return new OT(a.o,b,c,a.H,(0,g.B)(a.aa.U,a.aa),(0,g.B)(a.A.getVisibilityState,a.A),a.J)};
w0=function(a,b){return SZ(a,b)?a.C:b};
x0=function(a,b){var c=a.D;return c&&b==a.C&&SZ(a,b)&&SZ(a,c)?c:b};
sya=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.B;if(!d.C)try{d.o.getVideoData(1).adModule?(d.C=new KZ(d.ka,d.ka.K),d.C&&d.C.create()):g.aV(d.o,"ad")}catch(e){g.aV(d.o,"ad"),g.hF(e)}d.KA();d.ha&&c?g.aV(d.o,"endscreen"):d.du();d.PA();d.RA();d.QA();d.JA();d.ha&&c?(g.aV(d.o,"annotations_module"),g.aV(d.o,"creatorendscreen")):(d.au(),d.cu());d.GA();d.FA();d.HA();d.eu();d.LA();d.IA();d.SA();d.OA();Twa(d);c&&XP(b)?a.Fc.R(a.A,"presentingplayerstatechange",a.VS):Rwa(a.B);a.A.U("videoready",
b)};
LZ=function(a){return a.C.getVideoData()};
y0=function(a){a=LZ(a);a.isValid();return XP(a)};
nya=function(a){var b=new g.yP(a.o,a.wa.args);g.MI()&&b.Pc.push("remote");b.isValid()&&(WT(a.C,b,(0,g.B)(a.Td,a)),!a.o.experiments.o("html5_delay_initial_loading")&&y0(a)&&(a.o.Nd||a.o.Od)&&bU(a.C))};
oya=function(a){var b=a.H,c=b.app.o;c.rd||b.Oq("tag-pool-enabled");c.hc&&b.Oq("house-brand");"gvn"==c.playerStyle&&(b.Oq("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ha&&(b.L=g.vF("yt-dom-content-change",b.yf,b));b.R(window,"resize",b.yf,b);b=a.ba;b.B=a.H.element;for(var d in b.C)b.B[d]=b.C[d];(d=XG(a.H.element))&&a.W.R(a.H,d,a.xR);a.W.R(window,"resize",a.uT);b=a.wa.args;p0(a);d=LZ(a);a.A.Ba("onVolumeChange",a.L);if(b&&pR(b))if((c=tO(a.o))&&!a.Y&&(b.fetch=0),z0(a,b),c&&!a.Y)A0(a);else if(!d.isValid())a.G.onReady((0,g.B)(a.Sq,
a));iV(a,a.C);if(!g.X(a.C.getPlayerState(),128)){b=a.o.deviceHasDisplay;try{var e=nM('video/mp4; codecs="avc1.42001E"')||nM('video/webm; codecs="vp9"');var f=(nM('audio/mp4; codecs="mp4a.40.2"')||nM('audio/webm; codecs="opus"'))&&(e||!b)||lM('video/mp4; codecs="avc1.42001E, mp4a.40.2"')?null:"fmt.noneavailable"}catch(k){f="html5.missingapi"}"fmt.noneavailable"==f?g.VT(a.C,"html5.missingapi","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==f?g.VT(a.C,f,"UNSUPPORTED_DEVICE","nocanplaymedia.1"):
d&&d.isValid()&&y0(a)&&(a.o.Nd||a.o.Od)?B0(a):g.KI("yt-player-playback-on-reload")?(sQ(a.ba,"embedsItpPlayedOnReload",{playedOnReload:!0,isLoggedIn:!!a.o.Sc}),wN(!1),B0(a)):g.BO(a.o)||tya(a)}};
tya=function(a){a.A.U("initializingmode");g.C0(a,2);a.B.eu()};
B0=function(a){if(g.X(a.C.getPlayerState(),128))return!1;y0(a)&&a.o.Od&&(o0.hasTags(void 0)&&a.Ia?(tQ(a,{muted:!1,volume:a.L.volume},!1),D0(a,!1)):o0.hasTags(void 0)||a.L.muted||(tQ(a,{muted:!0,volume:a.L.volume},!1),D0(a,!0)));E0(a,1,a.C.getVideoData());a.A.U("initializingmode");iV(a,a.C);g.C0(a,3);var b;if(!(b=!a.o.rd)){if(b=a.ga)b=a.F,b=!!b&&b==a.ga.C;b=b&&a.Od}b&&(q0(a),p0(a),pU(a.C,a.F));fU(a.C);if(g.X(a.C.getPlayerState(),128))return!1;u0(a,3);return a.Od=!0};
n0=function(a){a=g.PU(a.B);return!!a&&a.loaded};
uya=function(a,b){a.D==a.C&&Dsa(a.D)!=b&&(a.D.setLoop(b),a.A.U("loopchange",b))};
pya=function(a,b){var c=1,d=a.A.getAvailablePlaybackRates();b=parseFloat(b.toFixed(2));a.o.experiments.o("web_player_finer_playback_speeds")?(c=d[0],d=d[d.length-1],b<=c||(b>=d?c=d:(c=Math.floor(100*b+.001)%5,c=0==c?b:Math.floor(100*(b-.01*c)+.001)/100))):c=1>b?g.Ua(d,function(e){return e>=b}):Wa(d,function(e){return e<=b});
return c};
vya=function(a,b){var c=g.Z(a,b);return c?SZ(a,c)?(c=w0(a,c),EU(c)-c.getCurrentTime()+a.getCurrentTime(b)):EU(c):0};
F0=function(a,b,c){if(SZ(a,c)){c=c.getVideoData();a=a.Sa;for(var d=g.r(a.A),e=d.next();!e.done;e=d.next())if(e=e.value,c.Kd==e.Kd){b+=e.Ai/1E3;break}d=b;a=g.r(a.A);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Kd==e.Kd)break;var f=e.Ai/1E3;if(f<b)d+=e.durationMs/1E3+f-e.ij/1E3;else break}return d}return b};
Gsa=function(a,b){return 3==a.getPresentingPlayerType()?g.PU(a.B).nn:g.Z(a,b).getPlayerState()};
G0=function(a,b){return 3==a.getPresentingPlayerType()?OQ(g.PU(a.B).nn):2!=b||SZ(a)?a.dc:a.Qb};
xya=function(a){wya(a);uya(a,!1);a.yb={};var b=a.ha;if(b.o){var c=b.o;c.ea={};c.ba={}}b.A=!1;b=a.Sa;a=a.C;a.getPlayerType();P_(b,!1);Mxa(b);b.C=a};
A0=function(a){var b=yya();if(b)if(b.list){if(a.G&&a.G.getPlaylistId()==b.list)if(0<=b.index){var c=b.video;a.A.isFullscreen()&&((c=c[a.G.ye()])&&c.encrypted_id!=a.G.Aa().videoId||(b.index=a.G.ye()));rR(a.G,b);a.Ra&&H0(a,a.Ra)}else a.Ra=null}else a.cp()};
z0=function(a,b){a.G&&(a.G.unsubscribe("error",a.cp,a),g.Of(a.G),a.G=null);b&&(a.Y&&(b.fetch=0),a.G=new g.oR(a.o,b),a.G.subscribe("error",a.cp,a))};
I0=function(a,b,c,d){b in a.yb||(c=new g.jR(c,d,{id:b,priority:1}),c.namespace="appad",a.C.addCueRange(c),a.yb[b]=c)};
g.C0=function(a,b){b!=a.M&&(2!=b||1!=a.getPresentingPlayerType()&&!a.o.experiments.o("web_player_app_state_fix_killswitch")||(u0(a,-1),u0(a,5)),a.M=b,a.A.U("appstatechange",b))};
u0=function(a,b){if(a.D){var c=a.D.getPlayerType();if(2==c&&!SZ(a)){a.Qb!=b&&(a.Qb=b,a.A.Ba("onAdStateChange",b));return}if(2==c&&SZ(a)||5==c||6==c||7==c)if(-1==b||0==b||5==b)return}a.dc!=b&&(a.dc=b,a.A.Ba("onStateChange",b))};
SZ=function(a,b){var c=b||a.D,d;if(d=!a.o.experiments.o("web_player_continuous_timeline_killswitch")&&c)a:if(d=a.Sa,c=c.getVideoData(),c==d.C.getVideoData()&&d.A.length)d=!0;else{d=g.r(d.A);for(var e=d.next();!e.done;e=d.next())if(c.Kd==e.value.Kd){d=!0;break a}d=!1}return d?!0:!1};
Gxa=function(a,b,c,d){d=void 0===d?0:d;if(!a.na("html5_continuous_liveness_killswitch")){var e=g.Z(a);e&&(w0(a,e).Ag=!0)}Wxa(a.xa,b,c,d).then(function(){a.A.Ba("onQueuedVideoLoaded")},function(){})};
E0=function(a,b,c){if(!e){var d=b+"_"+c.videoId+"_"+c.Kd;var e=a.Oa.get(d);if(!e)return null;a.Oa.remove(d);if(g.X(e.getPlayerState(),128))return e.dispose(),null}if(e==g.Z(a,b))return e;if((e.getVideoData().oauthToken||c.oauthToken)&&e.getVideoData().oauthToken!=c.oauthToken)return null;Xxa(a,e);return e};
Xxa=function(a,b){var c=b.getPlayerType();b!=g.Z(a,c)&&(1==b.getPlayerType()?(b.getVideoData().autonavState=a.C.getVideoData().autonavState,xH(a.C,a.Pb,a),c=a.C.getPlaybackRate(),a.C.dispose(),a.C=b,a.C.setPlaybackRate(c),wH(b,a.Pb,a),xya(a)):(c=g.Z(a,c))&&c.dispose(),a.D.getPlayerType()==b.getPlayerType()?iV(a,b):r0(a,b))};
R_=function(a,b,c,d){uP("_start","")||(Mma("p",""),a.ha.info("srt",0));var e=E0(a,c||a.D.getPlayerType(),b);e&&(0,g.JP)("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.Z(a,c);if(!e)return!1;a.Xa.stop();J0(a,4,c);WT(e,b,(0,g.B)(a.Td,a),d)}e==a.C&&(a.o.Oa=b.oauthToken);if(!ZT(e))return!1;a.jb&&(e.Ma=!1,a.jb=!1);if(e==a.C)return g.C0(a,1),B0(a);fU(e);return!0};
K0=function(a,b,c){c=g.Z(a,c);b&&c==a.C&&(c.getVideoData().Ih=!0)};
L0=function(a,b,c){var d=g.Z(a,c);d&&(J0(a,4,c),WT(d,b,(0,g.B)(a.Td,a)),d==a.C&&(g.C0(a,1),tya(a)))};
g.M0=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.A.isFullscreen()&&!a.Ga||!$N(a.o)&&!g.vO(a.o)?(c=a.ha,c.o&&(f=c.o,f.ea={},f.ba={}),c.A=!1,a.ha.reset(),b={video_id:b},e&&(b.autoplay="1"),e&&(b.autonav="1"),d?(b.list=d,a.loadPlaylist(b)):a.loadVideoByPlayerVars(b,1)):(c=c||{},c.lact=eI(),c.vis=a.A.getVisibilityState(),a.Nd||"gaming"==a.o.playerStyle?a.A.Ba("onPlayVideo",{videoId:b,watchEndpoint:k,sessionData:c,listId:d}):(a=f&&a.getVideoData().Vm?a.o.loaderUrl:a.o.getVideoUrl(b,
d),g.z("yt.player.exports.navigate")(a,c)))};
g.t0=function(a){if(a.A.isMutedByMutedAutoplay())return!1;if(3==a.getPresentingPlayerType())return!0;tO(a.o)&&!a.Y&&A0(a);return!(!a.G||!a.G.hasNext())};
H0=function(a,b){var c=g.z(b);if(c){var d=yya();d&&d.list&&c();a.Ra=null}else a.Ra=b};
yya=function(){var a=g.z("yt.www.watch.lists.getState");return a?a():null};
g.zya=function(a){if(!a.F||!a.F.Ph())return null;var b=a.F;if(a.ga){var c=a.ga;c.C?c.C!=b&&(g.vR(c),c.C=b,c.A=null):c.C=b}else a.ga=Zxa(a.A,b),a.ga&&g.M(a,a.ga);return a.ga};
Aya=function(a,b,c,d,e,f){b={id:b};"chapter"==f?(b.style="ytp-chapter-marker",b.visible=!0):isNaN(e)||("ad"==f?b.style="ytp-ad-progress":(b.style="ytp-time-marker",b.color=e),b.visible=!0);c=new g.jR(1E3*c,1E3*d,b);c.namespace="appapi";WU(a,[c],1);return!0};
WU=function(a,b,c){var d=g.Z(a,c);d&&(d=d.L,d.A(),sqa(d.o,b),d.B=NaN,d.A(),c&&a.getPresentingPlayerType()!=c||YU(a,"cuerangesadded",b))};
Mwa=function(a){var b=g.PH(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
tQ=function(a,b,c){a.o.M&&(a.L=b,b.muted||D0(a,!1),c&&a.o.gd&&!a.o.Y&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.JI("yt-player-volume",c),g.JI("yt-player-volume",c,2592E3))),Bya(a),c=g.mM&&a.F&&!a.F.Cd(),!a.o.Y||c)&&(b=g.hc(b),a.o.gd||(b.unstorable=!0),a.A.Ba("onVolumeChange",b))};
Bya=function(a){var b=a.getVideoData();if(!b.ni){b=a.o.Y?1:$P(b);var c=a.F;c.setVolume(a.L.volume*b/100);c.Dk(a.L.muted)}};
D0=function(a,b){b!=a.Ia&&(a.Ia=b,a.A.U("mutedautoplaychange",b))};
N0=function(a){var b=VG();return b&&(b==a.H.element||a.F&&b==a.F.sa())?b:null};
Dya=function(a,b){var c=window.screen&&window.screen.orientation;if(a.o.experiments.o("lock_fullscreen2")&&c&&c.lock&&(!g.mM||!Cya))if(b){var d=0==c.type.indexOf("portrait"),e=a.H.getVideoAspectRatio(),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Ma||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.A);a.Ma=!0}}else a.Ma&&(a.Ma=!1,c.unlock())};
O0=function(a,b){var c=!!b,d=!!a.J.C!=c,e=a.J;e.C!=b&&(e.C=b,e.Jk());a.na("html5_media_fullscreen")&&!c&&a.F&&VG()==a.F.sa()&&a.F.fn();a.H.yf();d&&(0,g.JP)("fsc",void 0,"");d&&(a.A.U("fullscreentoggled",c),d=LZ(a),c={fullscreen:c,videoId:d.Ny||d.videoId,time:a.getCurrentTime()},a.K.getPlaylistId()&&(c.listId=a.K.getPlaylistId()),a.A.Ba("onFullscreenChange",c))};
YU=function(a,b,c){a.A.U(b,c);var d=g.kO(a.o)||g.lO(a.o)||wO(a.o);if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.A.Ba(e,c)}};
J0=function(a,b,c){iP(a.ia);a.ia=0;var d=g.Z(a,c);d&&1!=a.M&&2!=a.M&&(d==a.D&&XZ(a.B,b),1==c&&(a.o.experiments.o("html5_stop_video_in_cancel_playback")&&d.stopVideo(),wya(a)),g.mU(d),YU(a,"cuerangesremoved",MS(d.L)||[]),d.L.reset(),a.xa&&nU(d)&&(oU(d,!0),pU(d,a.F)))};
P0=function(a,b,c,d,e){c=void 0===c?!0:c;var f=g.Z(a,e);f&&(2==f.getPlayerType()&&!SZ(a,f)||g.TP(f.getVideoData()))||(3==a.getPresentingPlayerType()?g.PU(a.B).Vh("control_seek",b,c):a.seekTo(b,c,d,e))};
Q0=function(a,b,c,d){if(!(a.jb||a.na("html5_only_reload_for_yt_killswitch")&&"yt"!=a.o.aa)){c&&(q0(a),p0(a));a.jb=!0;c=g.Z(a);c.Ma=!0;c.xb("reloading","reason."+b);var e=a.getVideoData(),f={};f.video_id=e.videoId;f.adformat=e.adFormat;e.Da||(f.start=c.getCurrentTime(),f.resume="1");e.kf&&(f.vvt=e.kf);e.fo&&(f.vss_credentials_token=e.fo,f.vss_credentials_token_type=e.xs);e.oauthToken&&(f.oauth_token=e.oauthToken);f.autoplay=1;f.reload_count=e.qg+1;f.reload_reason=b;e.sl&&(f.unplugged_partner_opt_out=
e.sl);a.loadVideoByPlayerVars(f,void 0,d)}};
Eya=function(a,b){LZ(a).autonavState=b;g.JI("yt-player-autonavstate",b);a.A.U("autonavchange",b)};
Fya=function(a){var b=a.getVideoData().ni,c=a.o.lh,d=a.F;b||c?d.iu():(d.mu(),tQ(a,a.L))};
mya=function(a,b){return a.o.experiments.o("html5_enable_embedded_player_visibility_signals")&&a.o.o?new c0(b):null};
wya=function(a){(a=a.B.C)&&a.created&&a.destroy()};
Gya=function(a,b){b.bounds=a.getBoundingClientRect();for(var c=g.r(["display","opacity","visibility","zIndex"]),d=c.next();!d.done;d=c.next())d=d.value,b[d]=ai(a,d);b.hidden=!!a.hidden};
lya=function(a){var b=a.o,c=document.requestStorageAccess&&document.hasStorageAccess;b.experiments.o("embeds_enable_request_storage_access_safari_itp")&&c&&b.o?uG()||b.ia?(sQ(a.ba,"embedsStorageAccessNotChecked",{isIosWebview:uG(),isPemPlayer:b.ia}),a.ya=!1):document.hasStorageAccess().then(function(d){sQ(a.ba,"embedsHasStorageAccessResult",{hasCookieAccess:d,resultedInError:!1});a.ya=!d},function(d){sQ(a.ba,"embedsHasStorageAccessResult",{hasCookieAccess:!1,
resultedInError:!0});g.jF(Error("Embeds ITP Error: "+d));a.ya=!1}):a.ya=!1};
Hya=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
R0=function(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0};
S0=function(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0};
aa=[];fa="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
if("function"==typeof Object.setPrototypeOf)T0=Object.setPrototypeOf;else{var U0;a:{var Iya={ud:!0},Jya={};try{Jya.__proto__=Iya;U0=Jya.ud;break a}catch(a){}U0=!1}T0=U0?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var ha=T0,ia="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ka="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
la("Promise",function(a){function b(k){this.A=0;this.C=void 0;this.o=[];var l=this.B();try{k(l.resolve,l.reject)}catch(m){l.reject(m)}}
function c(){this.o=null}
function d(k){return k instanceof b?k:new b(function(l){l(k)})}
if(a)return a;c.prototype.A=function(k){if(null==this.o){this.o=[];var l=this;this.C(function(){l.D()})}this.o.push(k)};
var e=ia.setTimeout;c.prototype.C=function(k){e(k,0)};
c.prototype.D=function(){for(;this.o&&this.o.length;){var k=this.o;this.o=[];for(var l=0;l<k.length;++l){var m=k[l];k[l]=null;try{m()}catch(n){this.B(n)}}}this.o=null};
c.prototype.B=function(k){this.C(function(){throw k;})};
b.prototype.B=function(){function k(n){return function(p){m||(m=!0,n.call(l,p))}}
var l=this,m=!1;return{resolve:k(this.K),reject:k(this.D)}};
b.prototype.K=function(k){if(k===this)this.D(new TypeError("A Promise cannot resolve to itself"));else if(k instanceof b)this.L(k);else{a:switch(typeof k){case "object":var l=null!=k;break a;case "function":l=!0;break a;default:l=!1}l?this.J(k):this.F(k)}};
b.prototype.J=function(k){var l=void 0;try{l=k.then}catch(m){this.D(m);return}"function"==typeof l?this.M(l,k):this.F(k)};
b.prototype.D=function(k){this.G(2,k)};
b.prototype.F=function(k){this.G(1,k)};
b.prototype.G=function(k,l){if(0!=this.A)throw Error("Cannot settle("+k+", "+l+"): Promise already settled in state"+this.A);this.A=k;this.C=l;this.H()};
b.prototype.H=function(){if(null!=this.o){for(var k=0;k<this.o.length;++k)f.A(this.o[k]);this.o=null}};
var f=new c;b.prototype.L=function(k){var l=this.B();k.Xo(l.resolve,l.reject)};
b.prototype.M=function(k,l){var m=this.B();try{k.call(l,m.resolve,m.reject)}catch(n){m.reject(n)}};
b.prototype.then=function(k,l){function m(u,w){return"function"==typeof u?function(D){try{n(u(D))}catch(F){p(F)}}:w}
var n,p,q=new b(function(u,w){n=u;p=w});
this.Xo(m(k,n),m(l,p));return q};
b.prototype["catch"]=function(k){return this.then(void 0,k)};
b.prototype.Xo=function(k,l){function m(){switch(n.A){case 1:k(n.C);break;case 2:l(n.C);break;default:throw Error("Unexpected state: "+n.A);}}
var n=this;null==this.o?f.A(m):this.o.push(m)};
b.resolve=d;b.reject=function(k){return new b(function(l,m){m(k)})};
b.race=function(k){return new b(function(l,m){for(var n=g.r(k),p=n.next();!p.done;p=n.next())d(p.value).Xo(l,m)})};
b.all=function(k){var l=g.r(k),m=l.next();return m.done?d([]):new b(function(n,p){function q(D){return function(F){u[D]=F;w--;0==w&&n(u)}}
var u=[],w=0;do u.push(void 0),w++,d(m.value).Xo(q(u.length-1),p),m=l.next();while(!m.done)})};
return b});
oa.prototype.toString=function(){return this.o};
var aaa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new oa("jscomp_symbol_"+(c||"")+"_"+b++,c)}
var b=0;return a}();
ra.prototype.G=function(a){this.D=a};
ra.prototype["return"]=function(a){this.C={"return":a};this.o=this.H};
la("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var k=d[f];if(b.call(c,k,f,d)){d=k;break a}}d=void 0}return d}});
la("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ya(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,k=Math.max(0,Math.min(c|0,d.length)),l=0;l<f&&k<e;)if(d[k++]!=b[l++])return!1;return l>=f}});
la("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ya(this,b,"endsWith");b+="";void 0===c&&(c=d.length);for(var e=Math.max(0,Math.min(c|0,d.length)),f=b.length;0<f&&0<e;)if(d[--e]!=b[--f])return!1;return 0>=f}});
la("String.prototype.repeat",function(a){return a?a:function(b){var c=ya(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
var Kya="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)za(d,e)&&(a[e]=d[e])}return a};
la("Object.assign",function(a){return a||Kya});
la("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}});
la("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});
la("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
la("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length,f=c||0;for(0>f&&(f=Math.max(f+e,0));f<e;f++){var k=d[f];if(k===b||Object.is(k,b))return!0}return!1}});
la("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ya(this,b,"includes").indexOf(b,c||0)}});
la("Math.log10",function(a){return a?a:function(b){return Math.log(b)/Math.LN10}});
la("WeakMap",function(a){function b(l){this.Ja=(k+=Math.random()+1).toString();if(l){l=g.r(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}
function c(){}
function d(l){za(l,f)||ka(l,f,{value:new c})}
function e(l){var m=Object[l];m&&(Object[l]=function(n){if(n instanceof c)return n;d(n);return m(n)})}
if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),n=new a([[l,2],[m,3]]);if(2!=n.get(l)||3!=n.get(m))return!1;n["delete"](l);n.set(m,4);return!n.has(l)&&4==n.get(m)}catch(p){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var k=0;b.prototype.set=function(l,m){d(l);if(!za(l,f))throw Error("WeakMap key fail: "+l);l[f][this.Ja]=m;return this};
b.prototype.get=function(l){return za(l,f)?l[f][this.Ja]:void 0};
b.prototype.has=function(l){return za(l,f)&&za(l[f],this.Ja)};
b.prototype["delete"]=function(l){return za(l,f)&&za(l[f],this.Ja)?delete l[f][this.Ja]:!1};
return b});
la("Map",function(a){function b(){var l={};return l.previous=l.next=l.head=l}
function c(l,m){var n=l.o;return pa(function(){if(n){for(;n.head!=l.o;)n=n.previous;for(;n.next!=n.head;)return n=n.next,{done:!1,value:m(n)};n=null}return{done:!0,value:void 0}})}
function d(l,m){var n=m&&typeof m;"object"==n||"function"==n?f.has(m)?n=f.get(m):(n=""+ ++k,f.set(m,n)):n="p_"+m;var p=l.A[n];if(p&&za(l.A,n))for(var q=0;q<p.length;q++){var u=p[q];if(m!==m&&u.key!==u.key||m===u.key)return{id:n,list:p,index:q,Sd:u}}return{id:n,list:p,index:-1,Sd:void 0}}
function e(l){this.A={};this.o=b();this.size=0;if(l){l=g.r(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),m=new a(g.r([[l,"s"]]));if("s"!=m.get(l)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var n=m.entries(),p=n.next();if(p.done||p.value[0]!=l||"s"!=p.value[1])return!1;p=n.next();return p.done||4!=p.value[0].x||"t"!=p.value[1]||!n.next().done?!1:!0}catch(q){return!1}}())return a;
qa();var f=new WeakMap;e.prototype.set=function(l,m){l=0===l?0:l;var n=d(this,l);n.list||(n.list=this.A[n.id]=[]);n.Sd?n.Sd.value=m:(n.Sd={next:this.o,previous:this.o.previous,head:this.o,key:l,value:m},n.list.push(n.Sd),this.o.previous.next=n.Sd,this.o.previous=n.Sd,this.size++);return this};
e.prototype["delete"]=function(l){l=d(this,l);return l.Sd&&l.list?(l.list.splice(l.index,1),l.list.length||delete this.A[l.id],l.Sd.previous.next=l.Sd.next,l.Sd.next.previous=l.Sd.previous,l.Sd.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.A={};this.o=this.o.previous=b();this.size=0};
e.prototype.has=function(l){return!!d(this,l).Sd};
e.prototype.get=function(l){return(l=d(this,l).Sd)&&l.value};
e.prototype.entries=function(){return c(this,function(l){return[l.key,l.value]})};
e.prototype.keys=function(){return c(this,function(l){return l.key})};
e.prototype.values=function(){return c(this,function(l){return l.value})};
e.prototype.forEach=function(l,m){for(var n=this.entries(),p;!(p=n.next()).done;)p=p.value,l.call(m,p[1],p[0],this)};
e.prototype[Symbol.iterator]=e.prototype.entries;var k=0;return e});
la("Set",function(a){function b(c){this.o=new Map;if(c){c=g.r(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.o.size}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(g.r([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(k){return!1}}())return a;
qa();b.prototype.add=function(c){c=0===c?0:c;this.o.set(c,c);this.size=this.o.size;return this};
b.prototype["delete"]=function(c){c=this.o["delete"](c);this.size=this.o.size;return c};
b.prototype.clear=function(){this.o.clear();this.size=0};
b.prototype.has=function(c){return this.o.has(c)};
b.prototype.entries=function(){return this.o.entries()};
b.prototype.values=function(){return this.o.values()};
b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.o.forEach(function(f){return c.call(d,f,f,e)})};
return b});
la("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 k=0;!(f=b.next()).done;)e.push(c.call(d,f.value,k++))}else for(f=b.length,k=0;k<f;k++)e.push(c.call(d,b[k],k));return e}});
la("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)za(b,d)&&c.push(b[d]);return c}});
var Lya=function(){function a(){function c(){}
Reflect.construct(c,[],function(){});
return new c instanceof c}
if("undefined"!=typeof Reflect&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){void 0===e&&(e=c);
e=fa(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}();
la("Reflect.construct",function(){return Lya});
la("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});
la("WeakSet",function(a){function b(c){this.o=new WeakMap;if(c){c=g.r(c);for(var d;!(d=c.next()).done;)this.add(d.value)}}
if(function(){if(!a||!Object.seal)return!1;try{var c=Object.seal({}),d=Object.seal({}),e=new a([c]);if(!e.has(c)||e.has(d))return!1;e["delete"](c);e.add(d);return!e.has(c)&&e.has(d)}catch(f){return!1}}())return a;
b.prototype.add=function(c){this.o.set(c,!0);return this};
b.prototype.has=function(c){return this.o.has(c)};
b.prototype["delete"]=function(c){return this.o["delete"](c)};
return b});
la("Number.parseInt",function(a){return a||parseInt});
la("Math.log2",function(a){return a?a:function(b){return Math.log(b)/Math.LN2}});
Gy=Gy||{};g.y=this;Saa=/^[\w+/_-]+[=]{0,2}$/;Hd=null;La="closure_uid_"+(1E9*Math.random()>>>0);faa=0;g.J=Date.now||function(){return+new Date};g.C(Pa,Error);Pa.prototype.name="CustomError";var Vd;g.C(Qa,Pa);Qa.prototype.name="AssertionError";var Xa,Mya;Xa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.x(a))return g.x(b)&&1==b.length?a.indexOf(b,0):-1;
for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
Mya=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;
0>c&&(c=Math.max(0,a.length+c));if(g.x(a))return g.x(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};
g.E=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.x(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.re=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,k=g.x(a)?a.split(""):a,l=0;l<d;l++)if(l in k){var m=k[l];
b.call(c,m,l,a)&&(e[f++]=m)}return e};
g.K=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=g.x(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
g.Gj=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
(0,g.E)(a,function(e,f){d=b.call(void 0,d,e,f,a)});
return d};
g.Ik=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.x(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;
return!1};
g.Fj=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.x(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
return!0};var Gb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},yb=/&/g,zb=/</g,Ab=/>/g,Bb=/"/g,Cb=/'/g,Db=/\x00/g,naa=/[\x00&<>"']/;a:{var Nya=g.y.navigator;if(Nya){var Oya=Nya.userAgent;if(Oya){g.Jb=Oya;break a}}g.Jb=""};var jc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var qaa=/&([^;\s<&]+);?/g,wc=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},raa=2147483648*Math.random()|0;Hc[" "]=g.A;var rT,Cya,gp,hp,Pya,Qya,fO,V0;g.Sf=Lb("Opera");g.de=Lb("Trident")||Lb("MSIE");g.bN=Lb("Edge");g.xO=g.bN||g.de;g.Zh=Lb("Gecko")&&!(Fb(g.Jb,"WebKit")&&!Lb("Edge"))&&!(Lb("Trident")||Lb("MSIE"))&&!Lb("Edge");g.fe=Fb(g.Jb,"WebKit")&&!Lb("Edge");rT=Lb("Macintosh");Cya=Lb("Windows");g.np=Lb("Android");gp=Fc();hp=Lb("iPad");Pya=Lb("iPod");Qya=Gc();fO=Fb(g.Jb,"KaiOS");
a:{var W0="",X0=function(){var a=g.Jb;if(g.Zh)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.bN)return/Edge\/([\d\.]+)/.exec(a);if(g.de)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.fe)return/WebKit\/(\S+)/.exec(a);if(g.Sf)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
X0&&(W0=X0?X0[1]:"");if(g.de){var Y0=Jc();if(null!=Y0&&Y0>parseFloat(W0)){V0=String(Y0);break a}}V0=W0}var Kc=V0,taa={},Rya;var Sya=g.y.document;Rya=Sya&&g.de?Jc()||("CSS1Compat"==Sya.compatMode?parseInt(Kc,10):5):void 0;var vaa=Rya;var Uaa=!g.de||g.Mc(9),Waa=!g.Zh&&!g.de||g.de&&g.Mc(9)||g.Zh&&g.Lc("1.9.1"),Xaa=g.de||g.Sf||g.fe;var Qaa={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};Sc.prototype.Zf=!0;Sc.prototype.Ue=function(){return this.o};
Sc.prototype.toString=function(){return"Const{"+this.o+"}"};
var Rc={},Qc={};var zaa=/<[^>]*>|&[^;]+;/g,Tya=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Caa=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]"),gxa=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Kta=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]"),
Wc=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]"),Baa=/^http:\/\/.*/,Aaa=/\s+/,Daa=/[\d\u06f0-\u06f9]/;Zc.prototype.Zf=!0;Zc.prototype.Ue=function(){return this.A.toString()};
Zc.prototype.ov=!0;Zc.prototype.o=function(){return 1};
var Faa=/%{(\w+)}/g,Eaa=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Yc={};dd.prototype.Zf=!0;dd.prototype.Ue=function(){return this.A.toString()};
dd.prototype.ov=!0;dd.prototype.o=function(){return 1};
var gd=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,cd={};hd("about:blank");ld.prototype.Zf=!0;var kd={};ld.prototype.Ue=function(){return this.o};
var Oaa=nd(""),Iaa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,qd=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),pd=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Jaa=/\/\*/;sd.prototype.Zf=!0;var rd={};sd.prototype.Ue=function(){return this.o};ud.prototype.ov=!0;ud.prototype.o=function(){return this.C};
ud.prototype.Zf=!0;ud.prototype.Ue=function(){return this.A.toString()};
var Bd=/^[a-zA-Z0-9-]+$/,Paa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Uya={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},td={};Ad("<!DOCTYPE html>",0);var yd=Ad("",0);Ad("<br>",0);var Raa=Pc(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=g.vd(yd);return!b.parentElement});g.h=g.Od.prototype;g.h.clone=function(){return new g.Od(this.x,this.y)};
g.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.h.scale=function(a,b){var c=g.Ca(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.Qd.prototype;g.h.clone=function(){return new g.Qd(this.width,this.height)};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!Sd(this)};
g.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.h.scale=function(a,b){var c=g.Ca(b)?b:a;this.width*=a;this.height*=c;return this};var $d={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};g.h=Td.prototype;g.h.sa=function(){return g.x(void 0)?this.o.getElementById(void 0):void 0};
g.h.getElementsByTagName=function(a,b){return(b||this.o).getElementsByTagName(String(a))};
g.h.bL=function(a,b,c){return he(this.o,arguments)};
g.h.createElement=function(a){return this.o.createElement(String(a))};
g.h.appendChild=g.me;g.h.append=ne;g.h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
g.h.removeNode=g.qe;g.h.contains=g.we;var WN,VN,yO;g.QM=mc();WN=Fc()||Lb("iPod");VN=Lb("iPad");g.XN=g.pc();g.mM=nc();yO=oc()&&!Gc();var Le=null,Qe=null,Ke=null;var Cm=0,Bm=0;var Te=[];Se.prototype.clone=function(){return Ue(this.A,this.B,this.C-this.B)};
Se.prototype.clear=function(){this.A=null;this.o=this.C=this.B=0;this.D=!1};
Se.prototype.reset=function(){this.o=this.B};
Se.prototype.getError=function(){return this.D||0>this.o||this.o>this.C};We.prototype.getError=function(){return this.B||this.o.getError()};
We.prototype.reset=function(){this.o.reset();this.A=this.C=-1};bf.prototype.length=function(){return this.o.length};
bf.prototype.end=function(){var a=this.o;this.o=[];return a};ef.prototype.reset=function(){this.A=[];this.o.end();this.C=0};var hf="function"==typeof Uint8Array,jf=[];gf.prototype.toString=function(){xf(this);return this.A.toString()};
gf.prototype.getExtension=function(a){if(this.C){this.o||(this.o={});var b=a.C;if(a.B){if(a.A())return this.o[b]||(this.o[b]=(0,g.K)(this.C[b]||[],function(c){return new a.o(c)})),this.o[b]}else if(a.A())return!this.o[b]&&this.C[b]&&(this.o[b]=new a.o(this.C[b])),this.o[b];
return this.C[b]}};
gf.prototype.clone=function(){return new this.constructor(yf(wf(this)))};g.C(zf,gf);g.C(Af,gf);g.C(Bf,gf);g.C(Cf,gf);g.C(Df,gf);g.C(Ef,gf);g.C(Ff,gf);g.C(Gf,gf);g.C(Hf,gf);g.C(If,gf);g.C(Jf,gf);g.C(vf,gf);var $aa=[[9,10],[11,12],[18,19,20,21,28],[27,29]],aba=[[2,3]],bba=[[9,15]];Df.prototype.Se=function(){return mf(this,14)};
var cba=[1];g.y.console&&"function"===typeof g.y.console.log&&(0,g.B)(g.y.console.log,g.y.console);var Mf={};var kg=!g.de||g.Mc(9),Vya=g.de&&!g.Lc("9"),hba=function(){if(!g.y.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
try{g.y.addEventListener("test",g.A,b),g.y.removeEventListener("test",g.A,b)}catch(c){}return a}();g.L.prototype.Bb=!1;g.L.prototype.la=function(){return this.Bb};
g.L.prototype.dispose=function(){this.Bb||(this.Bb=!0,this.V())};
g.L.prototype.V=function(){if(this.gj)for(;this.gj.length;)this.gj.shift()()};g.Qf.prototype.stopPropagation=function(){this.mj=!0};
g.Qf.prototype.preventDefault=function(){this.defaultPrevented=!0;this.LF=!1};var rxa=Tf("AnimationEnd"),Wya={Os:"click",m2:"rightclick",fZ:"dblclick",cY:"auxclick",D0:"mousedown",J0:"mouseup",I0:"mouseover",H0:"mouseout",G0:"mousemove",E0:"mouseenter",F0:"mouseleave",C0:"mousecancel",u2:"selectionchange",v2:"selectstart",g4:"wheel",Y_:"keypress",X_:"keydown",Z_:"keyup",oY:"blur",c_:"focus",gZ:"deactivate",d_:"focusin",e_:"focusout",GY:"change",c2:"reset",t2:"select",d3:"submit",J_:"input",S1:"propertychange",DZ:"dragstart",yZ:"drag",AZ:"dragenter",CZ:"dragover",BZ:"dragleave",
FZ:"drop",zZ:"dragend",w3:"touchstart",v3:"touchmove",u3:"touchend",t3:"touchcancel",lY:"beforeunload",RY:"consolemessage",VY:"contextmenu",jZ:"devicechange",kZ:"devicemotion",lZ:"deviceorientation",sZ:"DOMContentLoaded",ERROR:"error",u_:"help",LOAD:"load",s0:"losecapture",p1:"orientationchange",Y1:"readystatechange",d2:"resize",p2:"scroll",D3:"unload",vY:"canplay",wY:"canplaythrough",GZ:"durationchange",LZ:"emptied",ENDED:"ended",h0:"loadeddata",j0:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",
W1:"ratechange",r2:"seeked",s2:"seeking",R2:"stalled",e3:"suspend",l3:"timeupdate",Z3:"volumechange",d4:"waiting",P2:"sourceopen",O2:"sourceended",N2:"sourceclosed",dX:"abort",UPDATE:"update",J3:"updatestart",H3:"updateend",n_:"hashchange",t1:"pagehide",u1:"pageshow",K1:"popstate",XY:"copy",v1:"paste",cZ:"cut",fY:"beforecopy",gY:"beforecut",jY:"beforepaste",n1:"online",l1:"offline",MESSAGE:"message",QY:"connect",K_:"install",eX:"activate",b_:"fetch",f_:"foreignfetch",z0:"messageerror",U2:"statechange",
I3:"updatefound",WY:"controllerchange",UX:Tf("AnimationStart"),SX:rxa,TX:Tf("AnimationIteration"),z3:Tf("TransitionEnd"),D1:"pointerdown",J1:"pointerup",C1:"pointercancel",G1:"pointermove",I1:"pointerover",H1:"pointerout",E1:"pointerenter",F1:"pointerleave",l_:"gotpointercapture",t0:"lostpointercapture",N0:"MSGestureChange",O0:"MSGestureEnd",P0:"MSGestureHold",Q0:"MSGestureStart",R0:"MSGestureTap",S0:"MSGotPointerCapture",T0:"MSInertiaStart",U0:"MSLostPointerCapture",V0:"MSPointerCancel",W0:"MSPointerDown",
X0:"MSPointerEnter",Y0:"MSPointerHover",Z0:"MSPointerLeave",a1:"MSPointerMove",b1:"MSPointerOut",c1:"MSPointerOver",d1:"MSPointerUp",TEXT:"text",f3:g.de?"textinput":"textInput",OY:"compositionstart",PY:"compositionupdate",NY:"compositionend",hY:"beforeinput",WZ:"exit",f0:"loadabort",g0:"loadcommit",k0:"loadredirect",l0:"loadstart",m0:"loadstop",h2:"responsive",H2:"sizechanged",F3:"unresponsive",Y3:"visibilitychange",Z2:"storage",xZ:"DOMSubtreeModified",tZ:"DOMNodeInserted",vZ:"DOMNodeRemoved",wZ:"DOMNodeRemovedFromDocument",
uZ:"DOMNodeInsertedIntoDocument",qZ:"DOMAttrModified",rZ:"DOMCharacterDataModified",kY:"beforeprint",wX:"afterprint",iY:"beforeinstallprompt",VX:"appinstalled"};g.C(Uf,g.Qf);var Xya={2:"touch",3:"pen",4:"mouse"};
Uf.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;var e=a.relatedTarget;e?g.Zh&&(Ic(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=g.fe||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=g.fe||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=g.x(a.pointerType)?
a.pointerType:Xya[a.pointerType]||"";this.state=a.state;this.o=a;a.defaultPrevented&&this.preventDefault()};
Uf.prototype.stopPropagation=function(){Uf.fa.stopPropagation.call(this);this.o.stopPropagation?this.o.stopPropagation():this.o.cancelBubble=!0};
Uf.prototype.preventDefault=function(){Uf.fa.preventDefault.call(this);var a=this.o;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Vya)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var eba;g.Vf="closure_listenable_"+(1E6*Math.random()|0);eba=0;Yf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.o++);var k=ag(a,b,d,e);-1<k?(b=a[k],c||(b.Wo=!1)):(b=new fba(b,this.src,f,!!d,e),b.Wo=c,a.push(b));return b};
Yf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=ag(e,b,c,d);return-1<b?(Xf(e[b]),g.cb(e,b),0==e.length&&(delete this.listeners[a],this.o--),!0):!1};
Yf.prototype.Am=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=ag(a,b,c,d));return-1<e?a[e]:null};
Yf.prototype.hasListener=function(a,b){var c=g.v(a),d=c?a.toString():"",e=g.v(b);return Qb(this.listeners,function(f){for(var k=0;k<f.length;++k)if(!(c&&f[k].type!=d||e&&f[k].capture!=b))return!0;return!1})};var hg="closure_lm_"+(1E6*Math.random()|0),ng={},jg=0,qg="__closure_events_fn_"+(1E9*Math.random()>>>0);g.C(g.rg,g.L);g.rg.prototype[g.Vf]=!0;g.h=g.rg.prototype;g.h.bi=function(a){this.ya=a};
g.h.addEventListener=function(a,b,c,d){g.cg(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.lg(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.ya;if(b){var c=[];for(var d=1;b;b=b.ya)c.push(b),++d}b=this.jb;d=a.type||a;if(g.x(a))a=new g.Qf(a,b);else if(a instanceof g.Qf)a.target=a.target||b;else{var e=a;a=new g.Qf(d,b);g.kc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.mj&&0<=f;f--){var k=a.currentTarget=c[f];e=sg(k,d,!0,a)&&e}a.mj||(k=a.currentTarget=b,e=sg(k,d,!0,a)&&e,a.mj||(e=sg(k,d,!1,a)&&e));if(c)for(f=0;!a.mj&&f<c.length;f++)k=a.currentTarget=c[f],e=sg(k,d,!1,a)&&e;return e};
g.h.V=function(){g.rg.fa.V.call(this);this.Ne&&g.$f(this.Ne);this.ya=null};
g.h.X=function(a,b,c,d){return this.Ne.add(String(a),b,!1,c,d)};
g.h.Nh=function(a,b,c,d){return this.Ne.add(String(a),b,!0,c,d)};
g.h.Ka=function(a,b,c,d){this.Ne.remove(String(a),b,c,d)};
g.h.Am=function(a,b,c,d){return this.Ne.Am(String(a),b,c,d)};
g.h.hasListener=function(a,b){return this.Ne.hasListener(g.v(a)?String(a):void 0,b)};tg.prototype.get=function(){if(0<this.A){this.A--;var a=this.o;this.o=a.next;a.next=null}else a=this.C();return a};var wg,jba=g.Oc;var Fg=new tg(function(){return new zg},function(a){a.reset()});
yg.prototype.add=function(a,b){var c=Fg.get();c.set(a,b);this.A?this.A.next=c:this.o=c;this.A=c};
yg.prototype.remove=function(){var a=null;this.o&&(a=this.o,this.o=this.o.next,this.o||(this.A=null),a.next=null);return a};
zg.prototype.set=function(a,b){this.o=a;this.scope=b;this.next=null};
zg.prototype.reset=function(){this.next=this.scope=this.o=null};var Ag,Bg=!1,Cg=new yg;Kg.prototype.reset=function(){this.context=this.onRejected=this.C=this.o=null;this.A=!1};
var Lg=new tg(function(){return new Kg},function(a){a.reset()});
g.Jg.prototype.then=function(a,b,c){return Tg(this,g.Ja(a)?a:null,g.Ja(b)?b:null,c)};
Gg(g.Jg);g.Jg.prototype.cancel=function(a){0==this.o&&g.Dg(function(){var b=new Zg(a);Vg(this,b)},this)};
g.Jg.prototype.J=function(a){this.o=0;Ig(this,2,a)};
g.Jg.prototype.K=function(a){this.o=0;Ig(this,3,a)};
g.Jg.prototype.H=function(){for(var a;a=Wg(this);)Xg(this,a,this.o,this.G);this.F=!1};
var ah=vg;g.C(Zg,Pa);Zg.prototype.name="cancel";g.C(g.bh,g.rg);g.h=g.bh.prototype;g.h.enabled=!1;g.h.Fa=null;g.h.setInterval=function(a){this.Ed=a;this.Fa&&this.enabled?(this.stop(),this.start()):this.Fa&&this.stop()};
g.h.pd=function(){if(this.enabled){var a=(0,g.J)()-this.IC;0<a&&a<.8*this.Ed?this.Fa=this.eo.setTimeout(this.oA,this.Ed-a):(this.Fa&&(this.eo.clearTimeout(this.Fa),this.Fa=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
g.h.start=function(){this.enabled=!0;this.Fa||(this.Fa=this.eo.setTimeout(this.oA,this.Ed),this.IC=(0,g.J)())};
g.h.stop=function(){this.enabled=!1;this.Fa&&(this.eo.clearTimeout(this.Fa),this.Fa=null)};
g.h.V=function(){g.bh.fa.V.call(this);this.stop();delete this.eo};var fh=g.A,jh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},yba=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;g.h=kh.prototype;g.h.isEnabled=function(){return navigator.cookieEnabled};
g.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');g.v(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.J)()+1E3*c)).toUTCString();this.o.cookie=a+"="+b+e+d+c+f};
g.h.get=function(a,b){for(var c=a+"=",d=(this.o.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Gb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
g.h.remove=function(a,b,c){var d=g.v(this.get(a));this.set(a,"",0,b,c);return d};
g.h.Gb=function(){return lh(this).keys};
g.h.wb=function(){return lh(this).values};
g.h.isEmpty=function(){return!this.o.cookie};
g.h.Jc=function(){return this.o.cookie?(this.o.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=lh(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var gI=new kh("undefined"==typeof document?null:document);var zba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Bh=/#|$/,Aba=/[?&]($|#)/;Fh.prototype.remove=function(a){ec(this.o,a)};
Fh.prototype.set=function(a,b){this.o[a]=b};
Fh.prototype.get=function(a){return fc(this.o,a,null)};g.h=g.Hh.prototype;g.h.ab=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.Hh(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.Hh?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.h.expand=function(a,b,c,d){g.Ka(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.h.scale=function(a,b){var c=g.Ca(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.Kh.prototype;g.h.clone=function(){return new g.Kh(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.Od?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
g.h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.h.scale=function(a,b){var c=g.Ca(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var Th=null;Ph.prototype.getName=function(){return this.D};
Ph.prototype.getValue=function(){return this.o};
Ph.prototype.A=function(){return String(this.o)};
g.C(Qh,Ph);Qh.prototype.A=function(){return this.o?"1":"0"};
g.C(Rh,Ph);Rh.prototype.A=function(){return this.o?Math.round(this.o.top)+"."+Math.round(this.o.left)+"."+(Math.round(this.o.top)+Math.round(this.o.height))+"."+(Math.round(this.o.left)+Math.round(this.o.width)):""};var Yh={},xi={thin:2,medium:4,thick:6};new g.bh(200);var Ri=document,P=window;var Gba=g.A;var Jba=/https?:\/\/[^\/]+/,Hba={FX:"allow-forms",GX:"allow-modals",HX:"allow-orientation-lock",IX:"allow-pointer-lock",JX:"allow-popups",KX:"allow-popups-to-escape-sandbox",LX:"allow-presentation",MX:"allow-same-origin",NX:"allow-scripts",OX:"allow-top-navigation",PX:"allow-top-navigation-by-user-activation"},Nba=Pc(function(){return Iba()});var Pba=Pc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.y.addEventListener("test",null,b)}catch(c){}return a});var nca={M1:1,X3:2,B0:3};var Pi=!!window.google_async_iframe_id,Qi=Pi&&window.parent||window;var Rba=[0,2,1],Ti=null;document.addEventListener&&document.addEventListener("mousedown",function(a){Ti=a},!0);
window.mb=function(a){if(a){var b=Ui();b&&(window.css?window.css(a.id,"mb",b,void 0,void 0):a&&(a.href=Bi(a.href,"mb",b,void 0)))}};var Hca={NONE:0,JZ:1};Xi.prototype.isVisible=function(){return this.Ri?.3<=this.Mb:.5<=this.Mb};var Rj={Vy:0,YZ:1},Jca={Vy:0,X1:1,k1:2},Ica={Vy:0,NEVER:1,ALWAYS:2},eca={953563515:0,953563517:1,21062754:0,21062755:1},fca={370204058:0,370204059:1,370204060:0,370204061:1},kca={370204018:0,370204019:1,370204052:2,370204026:0,370204027:1,370204053:2},ica={668123008:0,668123009:1},jca={668123028:0,668123029:1},gca={NONE:0,V_:1,j_:2},hca={480596784:0,480596785:1,21063355:2},lca={53887176:0,53887177:1},mca={319331040:0,319331041:1},oca={21063103:0,21063104:1},pca={20197871:0,20197872:1};$i.prototype.getValue=function(){return this.o};dj.prototype.disable=function(){this.A=!1};
dj.prototype.enable=function(){this.A=!0};
dj.prototype.isEnabled=function(){return this.A};
dj.prototype.reset=function(){this.o={};this.A=!0;this.C={}};var Wba=(0,g.J)(),kj=-1,ij=-1,dm,lj=-1,jj=!1;nj.prototype.now=function(){return 0};
nj.prototype.A=function(){return 0};
nj.prototype.C=function(){return 0};
nj.prototype.o=function(){return 0};g.t(pj,nj);pj.prototype.now=function(){return oj()&&P.performance.now?P.performance.now():nj.prototype.now.call(this)};
pj.prototype.A=function(){return oj()&&P.performance.memory?P.performance.memory.totalJSHeapSize||0:nj.prototype.A.call(this)};
pj.prototype.C=function(){return oj()&&P.performance.memory?P.performance.memory.usedJSHeapSize||0:nj.prototype.C.call(this)};
pj.prototype.o=function(){return oj()&&P.performance.memory?P.performance.memory.jsHeapSizeLimit||0:nj.prototype.o.call(this)};sj.prototype.isVisible=function(){return 1===qj(Ri)};var Xba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;xj.prototype.Wa=function(a,b,c,d){a=a+"//"+b+c;var e=Zba(this)-c.length-d.length;if(0>e)return"";this.o.sort(function(p,q){return p-q});
c=null;b="";for(var f=0;f<this.o.length;f++)for(var k=this.o[f],l=this.C[k],m=0;m<l.length;m++){if(!e){c=null==c?k:c;break}var n=Aj(l[m],this.A,",$");if(n){n=b+n;if(e>=n.length){e-=n.length;a+=n;b=this.A;break}else this.D&&(b=e,n[b-1]==this.A&&--b,a+=n.substr(0,b),b=this.A,e=0);c=null==c?k:c}}f="";this.B&&null!=c&&(f=b+this.B+"="+c);return a+f+d};g.h=Hj.prototype;g.h.setInterval=function(a,b){return P.setInterval(a,b)};
g.h.clearInterval=function(a){P.clearInterval(a)};
g.h.setTimeout=function(a,b){return P.setTimeout(a,b)};
g.h.clearTimeout=function(a){P.clearTimeout(a)};
g.h.Sn=function(a){var b=Si()||P;Mi(b,a)};
g.Ea(Hj);Kj.prototype.getContext=function(){if(!this.o){if(!P)throw Error("Context has not been set and window is undefined.");this.o=Hj.getInstance()}return this.o};
g.Ea(Kj);Oj.prototype.isValid=function(){return!!this.A||!!this.o};
Oj.prototype.toString=function(){return this.A+(this.o?"-":"")+this.o};
Oj.prototype.matches=function(a){return this.o||a.o?this.o==a.o:this.A||a.A?this.A==a.A:!1};g.C(Pj,gf);Sj.prototype.jx=function(a){if(g.x(a)&&0!=a.length){var b=this.Va;if(b.A){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=1<d.length?parseInt(d[1],10):1;(d=b.o[d[0]])&&cj(d,e)}b=a.join("&")}else b=a;this.B=b}};
g.Ea(Sj);var Z0=null;var sha={C3:0,g1:1,f2:2,UZ:3,VZ:13,o3:4,i_:5,r0:6,g2:7,eY:8,m_:9,nY:10,A2:11,q2:12};var bk=g.y.performance,Yya=!!(bk&&bk.mark&&bk.measure&&bk.clearMarks),Zj=Pc(function(){var a;if(a=Yya){var b;if(null===Z0){Z0="";try{a="";try{a=g.y.top.location.hash}catch(c){a=g.y.location.hash}a&&(Z0=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=Z0;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
ak.prototype.disable=function(){this.A=!1;this.events!=this.o.google_js_reporting_queue&&(Zj()&&(0,g.E)(this.events,ck),this.events.length=0)};
ak.prototype.G=function(a){!this.A||2048<this.events.length||this.events.push(a)};
ak.prototype.start=function(a,b){if(!this.A)return null;var c=Xj()||Wj();c=new Yj(a,b,c);var d="goog_"+c.label+"_"+c.uniqueId+"_start";bk&&Zj()&&bk.mark(d);return c};
ak.prototype.end=function(a){if(this.A&&g.Ca(a.value)){var b=Xj()||Wj();a.duration=b-a.value;b="goog_"+a.label+"_"+a.uniqueId+"_end";bk&&Zj()&&bk.mark(b);this.G(a)}};g.h=fk.prototype;g.h.Gx=function(a){this.o=a};
g.h.Kx=function(a){this.C=a};
g.h.Mx=function(a){this.A=a};
g.h.nj=function(a,b,c){var d=this;return Qj(Sj.getInstance().o.o,function(){try{if(d.Fa&&d.Fa.A){var e=d.Fa.start(a.toString(),3);var f=b();d.Fa.end(e)}else f=b()}catch(m){var k=d.A;try{ck(e);var l=new hk(gk(m));k=d.D(a,l,void 0,c)}catch(n){d.Tg(217,n)}if(!k)throw m;}return f})()};
g.h.lx=function(a,b,c,d){var e=this;return Qj(Sj.getInstance().o.o,function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return e.nj(a,function(){return b.apply(c,k)},d)})};
g.h.Tg=function(a,b,c,d,e){e=e||this.C;try{var f=new xj;f.D=!0;Cj(f,1,"context",a);Vj(b)||(b=new hk(gk(b)));b.msg&&Cj(f,2,"msg",b.msg.substring(0,512));var k=b.meta||{};if(this.o)try{this.o(k)}catch(m){}if(d)try{d(k)}catch(m){}Bj(f,3,[k]);var l=wj();l.A&&Cj(f,4,"top",l.A.url||"");Cj(f,5,"url",l.o.url||"");Tj(this.B,e,f,c)}catch(m){try{Tj(this.B,e,{context:"ecmserr",rctx:a,msg:gk(m),url:l&&l.o.url},c)}catch(n){}}return this.A};
g.t(hk,Uj);g.h=lk.prototype;g.h.Gx=function(a){this.o=a};
g.h.Kx=function(a){this.C=a};
g.h.Mx=function(a){this.A=a};
g.h.nj=function(a,b,c){try{if(this.Fa&&this.Fa.A){var d=this.Fa.start(a.toString(),3);var e=b();this.Fa.end(d)}else e=b()}catch(k){b=this.A;try{ck(d);var f=new Uj(k,{message:mk(k)});b=this.D(a,f,void 0,c)}catch(l){this.Tg(217,l)}if(!b)throw k;}return e};
g.h.lx=function(a,b,c,d){var e=this;return function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return e.nj(a,function(){return b.apply(c,k)},d)}};
g.h.Tg=function(a,b,c,d,e){e=e||this.C;try{var f=new xj;f.D=!0;Cj(f,1,"context",a);Vj(b)||(b=new Uj(b,{message:mk(b)}));b.msg&&Cj(f,2,"msg",b.msg.substring(0,512));var k=b.meta||{};if(this.o)try{this.o(k)}catch(m){}if(d)try{d(k)}catch(m){}Bj(f,3,[k]);var l=wj();l.A&&Cj(f,4,"top",l.A.url||"");Cj(f,5,"url",l.o.url||"");ik(this.B,e,f,c)}catch(m){try{ik(this.B,e,{context:"ecmserr",rctx:a,msg:mk(m),url:l&&l.o.url},c)}catch(n){}}return this.A};var ek,ok,dk=new ak(1,Si());(function(){ek=new qca;ok=new fk;var a=Si();a&&a.document&&("complete"==a.document.readyState?nk():dk.A&&Ki(a,"load",function(){nk()}))})();if(Ri&&Ri.URL){var Zya,Ii=Ri.URL;Zya=!!Ii&&0<Mba().length;ok.Mx(!Zya)};var gn={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},am={Gz:"start",ez:"firstquartile",pz:"midpoint",Jz:"thirdquartile",Uy:"complete",NI:"metric",PAUSE:"pause",iJ:"resume",Dz:"skip",Nz:"viewable_impression",RI:"mute",vJ:"unmute",fz:"fullscreen",mI:"exitfullscreen",tY:"bufferstart",sY:"bufferfinish",gz:"fully_viewable_audible_half_duration_impression",oz:"measurable_impression",IH:"abandon",Zy:"engagedview",zo:"impression",eI:"creativeview",Rs:"loaded",Q1:"progress",CLOSE:"close",
IY:"collapse",ZI:"overlay_resize",aJ:"overlay_unmeasurable_impression",bJ:"overlay_unviewable_impression",dJ:"overlay_viewable_immediate_impression",cJ:"overlay_viewable_end_of_session_impression",gI:"custom_metric_viewable"},Uda="start firstquartile midpoint thirdquartile resume loaded".split(" "),Vda=["start","firstquartile","midpoint","thirdquartile"],$ca=["abandon"],Km={UNKNOWN:-1,Gz:0,ez:1,pz:2,Jz:3,Uy:4,NI:5,PAUSE:6,iJ:7,Dz:8,Nz:9,RI:10,vJ:11,fz:12,mI:13,gz:14,oz:15,IH:16,Zy:17,zo:18,eI:19,
Rs:20,gI:21};g.vl=!g.de&&!oc();var uca=new g.Hh(0,0,0,0);Hk.prototype.sa=function(){return this.G};Kk.prototype.update=function(a){a&&a.document&&(this.D=Wi(!1,a,this.M),Mk(this,a),this.C&&this.A?this.F=this.G:this.F=this.o,Nk(this,a),Lk(this,a))};
g.Ea(Kk);Pk.prototype.cancel=function(){Ij().clearTimeout(this.o);this.o=null};
Pk.prototype.schedule=function(){var a=this,b=Ij(),c=Sj.getInstance().o.o;this.o=b.setTimeout(Qj(c,qk(143,function(){a.A++;a.C.MF()})),mj(Sj.getInstance().D))};g.h=Qk.prototype;g.h.tj=function(){return this.Cg()};
g.h.Cg=function(){return!1};
g.h.initialize=function(){this.K=!0};
g.h.xm=function(){return this.W};
g.h.getName=function(){return this.A==this?this.P:this.A.getName()};
g.h.Lg=function(){return{}};
g.h.Og=function(){return this.B};
g.h.jD=function(){Mk(Kk.getInstance(),this.Md)};
g.h.mD=function(){Lk(Kk.getInstance(),this.Md)};
g.h.kD=function(){Nk(Kk.getInstance(),this.Md)};
g.h.lD=function(){var a=Kk.getInstance();a.D=Wi(!1,this.Md,a.M)};
g.h.MF=function(){};
g.h.Mr=function(){};
g.h.Ni=function(a){var b=this.B,c=a.Og();this.A=c<this.G?this:a;this.B=this.A!=this?c:this.G;this.A==this||1==c&&0!=this.G||this.Mr();this.B!=b&&Rk(this)};
g.h.Bh=function(a){this.A!=this&&Xk(this,a)};
g.h.bh=function(){return this.F};
g.h.dispose=function(){this.Bb=!0};
g.h.la=function(){return this.Bb};g.h=Yk.prototype;g.h.bD=function(){return!0};
g.h.xq=function(){};
g.h.Jt=function(){this.element&&(this.A=Bk(this.element,this.o.Md))};
g.h.Oj=function(){this.Jt();this.B=new Hk(this.o.o,this.element,this.A,this.B.o,this.B.A,this.B.C,hj(),this.B.D)};
g.h.dispose=function(){this.la()||(Uk(this.o,this),this.Bb=!0)};
g.h.la=function(){return this.Bb};
g.h.Lg=function(){return this.D.Lg()};
g.h.Og=function(){return this.D.Og()};
g.h.xm=function(){return this.D.xm()};
g.h.Ni=function(a){this.D=a;this.H.Ni(this)};
g.h.Bh=function(){this.Oj()};
g.h.bh=function(){return this.H.bh()};g.h=Zk.prototype;g.h.Og=function(){return this.o.Og()};
g.h.xm=function(){return this.o.xm()};
g.h.create=function(a,b,c){var d=null;this.o&&(d=this.aD(a,b,c),Tk(this.o,d));return d};
g.h.tj=function(){return this.Cg()};
g.h.Cg=function(){return!1};
g.h.init=function(){return!0};
g.h.dispose=function(){this.Bb=!0};
g.h.la=function(){return this.Bb};
g.h.Lg=function(){return{}};bl.prototype.add=function(a,b,c){++this.C;var d=this.C/4096;this.o.push(Aca(new $k(a,b,c),d));this.A=!0;return this};var el;el=["av.key","js","unreleased"].slice(-1)[0];fl.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=dl(this.o);0<b.length&&(a+="?"+b);return a};g.Ea(il);jl.prototype.update=function(a,b,c){a&&(this.o+=b,this.A+=b,this.B+=b,this.C=Math.max(this.C,this.B));if(void 0===c?!a:c)this.B=0};var Fca=[1,.75,.5,.3,0];kl.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.A.length;e++){var k=this.A[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.o[e].update(f&&l,d,!f||k)}};tl.prototype.update=function(a,b,c,d){this.G=-1!=this.G?Math.min(this.G,b.Mb):b.Mb;this.M=Math.max(this.M,b.Mb);this.ea.update(b.o,c.o,b.A,a,d);this.o.update(b.Mb,c.Mb,b.A,a,d);c=d||c.Ri!=b.Ri?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.A;this.Y.update(c,a,b)};
tl.prototype.Vi=function(){return this.Y.C>=this.ga};var ul=new g.Hh(0,0,0,0);g.t(wl,g.L);g.h=wl.prototype;g.h.V=function(){this.element&&(this.xi.Iw&&(Li(this.element,"mouseover",this.xi.Iw),this.xi.Iw=null),this.xi.Hw&&(Li(this.element,"mouseout",this.xi.Hw),this.xi.Hw=null));this.ao&&this.ao.dispose();this.gb&&this.gb.dispose();delete this.uq;delete this.wq;delete this.GG;delete this.element;delete this.Sj;delete this.xi;delete this.ao;delete this.gb;delete this.Va;g.L.prototype.V.call(this)};
g.h.Wd=function(){return this.gb?this.gb.A:this.position};
g.h.jx=function(a){Sj.getInstance().jx(a)};
g.h.Bh=function(){};
g.h.Ni=function(){};
g.h.bh=function(){return!1};
g.h.Hp=function(){return new tl};
g.h.Ud=function(){return this.uq};
g.h.RC=function(){};
g.h.QC=function(){};
g.h.VB=function(){};
g.h.gs=function(){};
g.h.zj=function(a,b,c,d,e,f,k,l){f=void 0===f?{}:f;k=void 0===k?this.KB(c,f):k;l=void 0===l?-1:l;if(!this.Sg){g.Ca(b)||(this.An=new g.Od(a.left-b.left,a.top-b.top));if(this.np){f=this.Gt(a,b,d,f,l);e=e&&this.Dc.Mb>=(this.Ri()?.3:.5);this.oy(k,f,e);this.Ak=c;0<f.Mb&&-1===this.vG&&(this.vG=c);-1==this.xG&&this.Vi()&&(this.xG=c);if(-2==this.Uv)try{a:{var m=g.Ca(b)?null:b;if(a&&a!=ul&&0!=Dk(this.Wd())){var n=Kk.getInstance();if(!m){if(!n.o){var p=-1;break a}m=new g.Hh(0,n.o.ab(),n.o.getHeight(),0)}p=
m.ab&&0<m.ab()&&m.getHeight&&0<m.getHeight()?this.Tl(a,m):-1}else p=-1}this.Uv=p}catch(q){rk(207,q)}this.Dc=f;d&&(this.Dc.Mb=0)}this.wq(this)}};
g.h.oy=function(a,b,c){this.Ud().update(a,b,this.Dc,c)};
g.h.Au=function(){return new Xi};
g.h.Gt=function(a,b,c,d,e){e=void 0===e?-1:e;d=this.Au();d.A=c;c=Ij().A;c=tj()?-1:c.isVisible()?0:1;d.C=c;if(g.Ca(b))d.Mb=this.Tl(b),d.o=e;else{d.Mb=this.Tl(a,b);var f;0<=e?f=e:f=d.Mb*Dk(a)/(P.screen.height*P.screen.width);d.o=f}d.Ri=this.Ri();return d};
g.h.KB=function(a){if(-1==this.Ak)return 0;a=a-this.Ak||1;return 1E4<a?1:a};
g.h.Tl=function(a,b){if(0===this.opacity&&1===fj(this.Va,"opac"))return 0;if(g.Ca(a))return a;var c=Ck(a,b),d=1==fj(this.Va,"od");if(0>=Dk(this.Wd())||Fk(c,b,this.Sj,d))return 0;d=Dk(c)/Dk(this.Wd());c=Ek(c,b);return this.Yn()?Math.max(d,c):d};
g.h.Ri=function(){return!1};
g.h.Yn=function(){return!1};
g.h.Ve=function(){return 0};
g.h.Vi=function(){return this.uq.Vi()};var El="StopIteration"in g.y?g.y.StopIteration:{message:"StopIteration",stack:""};Dl.prototype.next=function(){throw El;};
Dl.prototype.de=function(){return this};g.t(Kl,Xi);Ml.prototype.Ha=function(a){var b=this.A[a],c=b[1];this.C+=b[0];0<c&&0==this.o[a]&&(this.o[a]=1)};Ol.prototype.getValue=function(){return this.A};
Ol.prototype.update=function(a,b){32<=a||(this.o&1<<a&&!b?this.A&=~(1<<a):this.o&1<<a||!b||(this.A|=1<<a),this.o|=1<<a)};g.t(Pl,tl);
Pl.prototype.update=function(a,b,c,d){if(!b.paused){tl.prototype.update.call(this,a,b,c,d);var e=Ll(b)&&Ll(c),f=.5<=(d?Math.min(b.Mb,c.Mb):c.Mb);yk(b.volume)&&(this.B=-1!=this.B?Math.min(this.B,b.volume):b.volume,this.F=Math.max(this.F,b.volume));f&&(this.L+=a,this.J+=e?a:0);this.C.update(b.Mb,c.Mb,b.A,a,d,e);this.A.update(!0,a);this.D.update(e,a);this.K.update(c.fullscreen,a);this.ha.update(e&&!f,a);a=Math.floor(b.B/1E3);this.W.update(a,b.isVisible());this.ba.update(a,1<=b.Mb);this.aa.update(a,Ll(b))}};g.t(Rl,Uca);Rl.prototype.C=function(){return!0};
Rl.prototype.D=function(){return!1};
Rl.prototype.getId=function(){var a=this,b=Zb(am,function(c){return c==a.B});
return Km[b].toString()};
Rl.prototype.toString=function(){var a="";this.D()&&(a+="c");this.o&&(a+="s");0<this.A&&(a+=":"+this.A);return this.getId()+a};var $ya=new g.Hh(0,0,0,0),$0={},Zca=($0.firstquartile=0,$0.midpoint=1,$0.thirdquartile=2,$0.complete=3,$0);g.t(Tl,wl);g.h=Tl.prototype;g.h.bh=function(){return!0};
g.h.RC=function(a){var b=this,c=a-this.Ra;this.ua&&1E3>=c||(c=g.z("ima.bridge.getNativeViewability"),g.Ja(c)&&(c(this.cd,function(d){b.ua=!1;b.J&&(b.Ga=!0);g.cc(d)&&b.xa++;b.gs(d)}),this.ua=!0,this.Ra=a))};
g.h.QC=function(a){var b=Sj.getInstance();a-this.Oa>mj(b.D)&&(a=g.z("ima.admob.getViewability"),g.Ja(a)&&a(this.cd))};
g.h.VB=function(a){this.Oa=hj();this.gs(a)};
g.h.gs=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume,f=a.opt_nativeViewAttached;a=a.opt_nativeViewHidden;void 0!==f&&(this.ha=!!f);b=new g.Hh(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?$ya.clone():new g.Hh(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;if("n"==this.D||"ml"==this.D)f={volume:e};e=f;e=void 0===e?{}:e;this.position=b;this.zj(b,c,d,!1,!0,e)};
g.h.zj=function(a,b,c,d,e,f,k,l){var m=this;f=void 0===f?{}:f;var n=this.ka(this)||{};g.kc(n,f);this.F=n.duration||this.F;this.K=n.isVpaid||this.K;this.ma=n.isYouTube||this.ma;wl.prototype.zj.call(this,a,b,c,d,e,n,k,l);(1!=fj(Sj.getInstance().Va,"buvpe")||this.Yi&&this.Yi.o)&&(0,g.E)(this.G,function(p){p.o||(p.o=Sl(p,m))})};
g.h.oy=function(a,b,c){wl.prototype.oy.call(this,a,b,c);Vl(this).update(a,b,this.Dc,c);this.ia=Ll(this.Dc)&&Ll(b);-1==this.Y&&this.Ia&&(this.Y=this.Ud().A.o);this.Yc.C=0;a=this.Dc;b=this.Vi();.5<=a.Mb&&this.Yc.Ha("vs");b&&this.Yc.Ha("vw");yk(a.volume)&&this.Yc.Ha("am");this.ia&&this.Yc.Ha("a");this.nk&&this.Yc.Ha("f");-1!=a.C&&(this.Yc.Ha("bm"),1==a.C&&this.Yc.Ha("b"));this.ia&&b&&this.Yc.Ha("avw");0<a.Mb&&this.Yc.Ha("pv");Yl(this,this.Ud().A.o,!0)&&this.Yc.Ha("gdr");2E3<=ql(this.Ud().o,1)&&this.Yc.Ha("pmx")};
g.h.Hp=function(){return new Pl};
g.h.Ud=function(){return this.uq};
g.h.Au=function(){return new Kl};
g.h.Gt=function(a,b,c,d,e){a=wl.prototype.Gt.call(this,a,b,c,d,void 0===e?-1:e);a.fullscreen=this.nk;a.paused=2==this.Nc;a.volume=d.volume;yk(a.volume)||(this.Xa++,b=this.Dc,yk(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.B=g.v(d)&&0<=d?d:-1;return a};
g.h.KB=function(a,b){var c=g.v(b.currentTime)?b.currentTime:this.M;if(-1==this.Ak||2==this.Nc)var d=0;else{d=a-this.Ak||1;var e=1E4;g.v(this.F)&&-1!=this.F&&(e=Math.max(e,this.F/3));d=d>e?1:d}e=c-this.M;var f=0;0<=e?(this.L+=d,this.aa+=Math.max(d-e,0),f=Math.min(e,this.L)):this.ya+=Math.abs(e);0!=e&&(this.L=0);-1==this.za&&0<e&&(this.za=0<=lj?hj()-lj:-1);this.M=c;return 1==Wl(this)?f:d};
g.h.Tl=function(a,b){return this.J?0:this.nk?1:wl.prototype.Tl.call(this,a,b)};
g.h.Ve=function(){return 1};
g.h.getDuration=function(){return this.F};var aza=(0,g.J)();fm.prototype.reset=function(){this.o=[];this.A=[]};
g.Ea(fm);var gm=fm.getInstance();g.Ea(jm);g.t(lm,Yk);
lm.prototype.Oj=function(){this.Jt();var a;(a=this.o.o.o)?(a=Ck(this.A,a),a=a.top>=a.bottom||a.left>=a.right?new g.Hh(0,0,0,0):a):a=new g.Hh(0,0,0,0);var b=this.o.o.o,c=0,d=0,e=0,f=1==fj(this.Va,"od"),k=(this.A.bottom-this.A.top)*(this.A.right-this.A.left);b&&a&&0<k&&(Fk(a,b,this.element,f)?a=new g.Hh(0,0,0,0):(c=Kk.getInstance().K,e=new g.Hh(0,c.height,c.width,0),c=Ek(a,this.A),d=Ek(a,b),e=Ek(a,e)));b=this.o.o;-1===b.time&&hj();a=a.top>=a.bottom||a.left>=a.right?new g.Hh(0,0,0,0):Jh(a,-this.A.left,
-this.A.top);this.B=new Hk(b,this.element,this.A,a,c,d,0,e)};
lm.prototype.getName=function(){return this.D.getName()};
lm.prototype.Bh=function(a){if(!this.element){var b=Kk.getInstance().D;this.A=b?b:new g.Hh(0,0,0,0)}Yk.prototype.Bh.call(this,a)};g.t(mm,Zk);g.h=mm.prototype;g.h.getName=function(){return(this.A?this.A:this.o).getName()};
g.h.Lg=function(){return(this.A?this.A:this.o).Lg()};
g.h.Og=function(){return(this.A?this.A:this.o).Og()};
g.h.init=function(a){this.B=a;(0,g.E)(this.C,function(b){return b.initialize()});
Tk(this.o,this);return!0};
g.h.dispose=function(){(0,g.E)(this.C,function(a){a.Mr();a.dispose()});
Zk.prototype.dispose.call(this)};
g.h.tj=function(){return(0,g.Ik)(this.C,function(a){return a.tj()})};
g.h.Cg=function(){return(0,g.Ik)(this.C,function(a){return a.Cg()})};
g.h.aD=function(a,b,c){return new lm(a,this.o,b,c)};
g.h.Ni=function(a){0==a.Og()&&this.B(a.xm(),this)};
g.h.Bh=function(a){this.A=a.C};
g.h.bh=function(){return!1};g.t(nm,Yk);nm.prototype.bD=function(){var a=this;this.G||(this.G=hj());if(pk(298,function(){return nda(a)}))return!0;
Sk(this.o,"msf");return!1};
nm.prototype.Jt=function(){};
nm.prototype.Lg=function(){var a={};return Object.assign(this.o.Lg(),(a.niot_obs=this.G,a.niot_cbk=this.F,a))};var mda={threshold:[0,.01,.02,.03,.04,.05,.06,.07,.08,.09,.1,.11,.12,.13,.14,.15,.16,.17,.18,.19,.2,.21,.22,.23,.24,.25,.26,.27,.28,.29,.3,.31,.32,.33,.34,.35,.36,.37,.38,.39,.4,.41,.42,.43,.44,.45,.46,.47,.48,.49,.5,.51,.52,.53,.54,.55,.56,.57,.58,.59,.6,.61,.62,.63,.64,.65,.66,.67,.68,.69,.7,.71,.72,.73,.74,.75,.76,.77,.78,.79,.8,.81,.82,.83,.84,.85,.86,.87,.88,.89,.9,.91,.92,.93,.94,.95,.96,.97,.98,.99,1]};g.t(pm,nm);pm.prototype.getName=function(){return"nio"};
pm.prototype.xq=function(){if(this.C&&this.element)try{this.C.unobserve(this.element)}catch(a){}};
pm.prototype.Oj=function(){if(1===fj(Sj.getInstance().Va,"nio_mode")){var a=this.C&&this.C.takeRecords?this.C.takeRecords():[];if(0<a.length){om(this,a);return}}nm.prototype.Oj.call(this)};g.t(qm,Zk);qm.prototype.getName=function(){return"nio"};
qm.prototype.tj=function(){var a=1===fj(Sj.getInstance().Va,"nio_mode"),b=Kk.getInstance().A;return(a||b)&&this.Cg()};
qm.prototype.Cg=function(){return"exc"!==Sj.getInstance().gb&&!Kk.getInstance().J&&null!=this.o.Md.IntersectionObserver};
qm.prototype.aD=function(a,b,c){return new pm(a,this.o,b,c)};g.Ea(rm);g.C(g.sm,g.L);g.h=g.sm.prototype;g.h.ek=!1;g.h.Gm=0;g.h.Fa=null;g.h.Fm=function(a){this.o=arguments;this.Fa||this.Gm?this.ek=!0:tm(this)};
g.h.stop=function(){this.Fa&&(g.dh(this.Fa),this.Fa=null,this.ek=!1,this.o=[])};
g.h.pause=function(){this.Gm++};
g.h.resume=function(){this.Gm--;this.Gm||!this.ek||this.Fa||(this.ek=!1,tm(this))};
g.h.V=function(){g.sm.fa.V.call(this);this.stop()};
g.h.aL=function(){this.Fa=null;this.ek&&!this.Gm&&(this.ek=!1,tm(this))};um.prototype.F=function(){ym(this,im(),!1)};
um.prototype.MF=function(){ym(this,im(),!1)};
um.prototype.J=function(){var a=Ok(),b=hj();a?(jj||(kj=b,(0,g.E)(gm.o,function(c){var d=c.Ud();d.P=Ql(d,b,1!=c.Nc)})),jj=!0):(this.M=Am(this,b),jj=!1,dm=b,(0,g.E)(gm.o,function(c){c.np&&(c.Ud().H=b)}));
ym(this,im(),!a)};
um.prototype.W=function(a){return 1==fj(Sj.getInstance().Va,"xefp")?!1:g.de&&g.Lc(8)&&Nj(a)?(Sj.getInstance().gb="iem",!0):!1};
g.Ea(um);var wm=um.getInstance();var Dm=null,$m="",Zm=!1;var tda=function(a,b){return function(c){for(var d=0;d<b.length;d++)if(b[d]===c[a]||!g.v(b[d])&&!c.hasOwnProperty(a))return!0;return!1}}("e",[void 0,
1,2,3,4,8,16]),bza={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",pt:"pt",vht:"vht",mut:"mut",a:"a",ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",
is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Im("qmtos"),qnc:Im("qnc"),qmv:Im("qmv"),qnv:Im("qnv"),raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",dc_rfl:"urlsigs",pngs:"pings",obd:"obd",veid:"veid",ssb:"ssb"},cza={c:Em("c"),at:"at",atos:Hm("atos",[0,2,4]),ta:function(a,
b){return function(c){if(!g.v(c[a]))return b}}("tth","1"),
a:"a",dur:"dur",p:"p",tos:Gm(),j:"dom",mtos:Hm("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Em("ss"),vsv:Nc("w2"),t:"t"},dza={atos:"atos",amtos:"amtos",avt:Hm("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Em("ss"),t:"t"},eza={a:"a",tos:Gm(),at:"at",c:Em("c"),mtos:Hm("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Nc("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},fza={tos:Gm(),at:"at",c:Em("c"),mtos:Hm("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Nc("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:Hm("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.Ca(d))return(0,g.K)(b,function(e){return 0<d&&d>=e?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.t(Nm,Rl);Nm.prototype.C=function(a){return a.Ud().Vi()};g.t(Qm,uda);Qm.prototype.o=function(a){var b=new Om;b.o=Pm(a,bza);b.C=Pm(a,dza);return b};g.t(Rm,Qk);g.h=Rm.prototype;g.h.Lg=function(){var a={};return a.exg=1,a};
g.h.initialize=function(){var a=this;if(!this.K)if(this.K=!0,Sj.getInstance().C.isValid()){sk(g.y,"message",function(c){if(null!=c&&c.data&&g.x(c.data)){var d=c.data;if(g.x(d)){var e={};d=d.split("\n");for(var f=0;f!=d.length;++f){var k=d[f],l=k.indexOf("=");if(!(0>=l)){var m=Number(k.substr(0,l));k=k.substr(l+1);switch(m){case 36:case 26:case 15:case 8:case 11:case 16:case 5:case 18:k="true"==k;break;case 4:case 33:case 6:case 25:case 28:case 29:case 24:case 31:case 30:case 23:case 22:case 7:case 21:case 20:k=
Number(k);break;case 19:case 3:if(g.Ja(decodeURIComponent))try{k=decodeURIComponent(k)}catch(p){throw Error("Error: URI malformed: "+k);}}e[m]=k}}e=e[0]?e:null}else e=null;if(e&&(f=new Oj(e[4],e[12]),d=Sj.getInstance(),d.C.matches(f)&&(f=e[29],m=e[0],g.Ya(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request"],m)))){wda(a,e);if("goog_get_mode"==m&&c.source){k={};tk(k);k[0]="goog_provide_mode";k[6]=4;k[16]=!1;k[19]=Sj.getInstance().B;try{var n=uk(k);c.source.postMessage(n,
c.origin);Vm(a,n)}catch(p){rk(406,p)}}if("goog_get_mode"==m||"goog_acknowledge_monitoring"==m)a.J=2,Tm(a);if(c=e[32])a.P=c;if(a.C.length){if(4!=f){m=e[0];n=!1;f=Kk.getInstance();c=a.o.o;"goog_acknowledge_monitoring"==m&&(a.B=(void 0!==e[36]?e[36]:!e[8])?2:0,Rk(a));e[37]&&(m=zk(e[37]))&&(n=!0,f.D=m);if(e[38]){if(m=zk(e[38]))n=!0,f.o=m}else isNaN(e[30])||isNaN(e[31])||(f.o||(f.o=new g.Hh(0,0,0,0)),n=!0,f.o.right=f.o.left+e[30],f.o.bottom=f.o.top+e[31]);e[9]&&(n=!0,m=zk(e[9]))&&(c=m,f.F=m);e[39]&&((m=
e[39])?(m=m.split("-"),m=2==m.length?new g.Qd(g.Bc(m[0]),g.Bc(m[1])):null):m=null,m&&(f.B=m));n&&(n=hj(),f=Ok(),n=new Gk(n,f,a),n.o=c,Xk(a,n))}Ak(e[3]);fj(d.Va,"cm");e[11]&&(e=Ak(e[3]).r||"msf",Sk(a,e))}}}},118);
var b=qk(197,function(){Um(a)});
this.J=1;b();this.D=Ij().setInterval(b,100)}else Sk(this,"ib")};
g.h.Mr=function(){var a={};tk(a);a[0]="goog_stop_monitoring";Vm(this,uk(a));Tm(this)};
g.h.tj=function(){var a=Sj.getInstance();return 4===a.A?!!fj(a.Va,"cm"):fj(a.Va,"osd")&&this.Cg()?!0:!1};
g.h.jD=function(){};
g.h.mD=function(){};
g.h.kD=function(){};
g.h.lD=function(){};
g.h.Cg=function(){return Kk.getInstance().A&&!this.L};
g.Ea(Rm);g.h=Wm.prototype;g.h.lp=function(a){xl(a,!1);Bda(a);a.dispose()};
g.h.Lp=function(){};
g.h.vr=function(a,b,c,d){this.o||(this.o=this.NA());b=c?b:-1;a=null==this.o||this.B?new Tl(P,a,b,7):new Tl(P,a,b,7,new Rl("measurable_impression",this.o),this.Gu());a.cd=d;a.jx("");return a};
g.h.Gu=function(){return[new Nm("viewable_impression",this.o)]};
g.h.Ni=function(a){var b=Kk.getInstance();switch(a.Og()){case 0:b.C=!1;(a=jm.getInstance().o)&&Uk(a.o,this);(a=Rm.getInstance())&&Uk(a,this);Ym();break;case 2:b.C&&b.A&&xm()}};
g.h.Bh=function(a){var b=Kk.getInstance();b.C&&b.A&&(b.G=a.o)};
g.h.bh=function(){return!1};
g.h.GL=function(a,b){a.Sg=!0;switch(a.Ve()){case 1:dn(this,a,b);break;case 2:this.wx(a)}this.Ex(a)};
g.h.OL=function(a){$l(a,0);return cm(a,"start",Ok())};
g.h.tl=function(a,b,c){ym(wm,[a],!Ok(),b);return this.yh(a,b,c)};
g.h.yh=function(a,b,c){return cm(a,c,Ok())};
g.h.JL=function(a,b){return en(a,"firstquartile",1,b)};
g.h.LL=function(a,b){a.Ia=!0;return en(a,"midpoint",2,b)};
g.h.PL=function(a,b){return en(a,"thirdquartile",3,b)};
g.h.HL=function(a,b){var c=en(a,"complete",4,b);0!=a.Nc&&(a.Nc=3);return c};
g.h.KF=function(a,b,c){var d=Ok();if(2==a.Nc&&!d){var e=hj();a.Ud().H=e}ym(wm,[a],!d,b);2==a.Nc&&(a.Nc=1);return cm(a,c,d)};
g.h.NL=function(a,b){var c=this.tl(a,b||{},"skip");0!=a.Nc&&(a.Nc=3);return c};
g.h.KL=function(a,b){xl(a,!0);return this.tl(a,b||{},"fullscreen")};
g.h.IL=function(a,b){xl(a,!1);return this.tl(a,b||{},"exitfullscreen")};
g.h.bx=function(a,b,c){var d=a.Ud(),e=hj();d.P=Ql(d,e,1!=a.Nc);ym(wm,[a],!Ok(),b);1==a.Nc&&(a.Nc=2);return cm(a,c,Ok())};
g.h.ML=function(a,b){ym(wm,[a],!Ok(),b);return a.A()};
g.h.Su=function(a,b){ym(wm,[a],!Ok(),b);this.DF(a);0!=a.Nc&&(a.Nc=3);return a.A()};
g.h.Qu=function(){};
g.h.wx=function(){};
g.h.DF=function(){};
g.h.ZC=function(){};
g.h.Ex=function(){};
g.h.NA=function(){};var Gda={ZZ:"visible",WX:"audible",h3:"time",m3:"timetype"},jn={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},
audible:function(a){return"0"==a||"1"==a},
timetype:function(a){return"mtos"==a||"tos"==a},
time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}};g.t(kn,Rl);kn.prototype.getId=function(){return this.Ja};
kn.prototype.D=function(){return!0};
kn.prototype.C=function(a){var b=a.Ud(),c=a.getDuration();return(0,g.Ik)(this.F,function(d){if(void 0!=d.o)var e=Ida(d,b);else b:{switch(d.D){case "mtos":e=d.A?b.D.C:b.A.o;break b;case "tos":e=d.A?b.D.o:b.A.o;break b}e=0}0==e?d=!1:(d=-1!=d.C?d.C:g.v(c)&&0<c?d.B*c:-1,d=-1!=d&&e>=d);return d})};g.t(ln,Rl);ln.prototype.C=function(a){var b=ol(a.Ud().C,1);return Yl(a,b)};var nn=(0,g.J)(),pn=!1,qn=!1,rn=!1,Kda=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return on(0)},
function(a){return!!a.ActiveXObject},
function(a){return!!a.chrome},
function(a){return!!a.navigator.serviceWorker},
function(a){return!!a.opera},
function(a){return!!a.sidebar},
function(){return!+"\v1"},
function(){return on(1)},
function(a){return!a.ActiveXObject},
function(a){return"-ms-ime-align"in a.document.documentElement.style},
function(a){return"-ms-scroll-limit"in a.document.documentElement.style},
function(a){return"-webkit-font-feature-settings"in a.document.body.style},
function(){return on(2)},
function(a){return"ActiveXObject"in a},
function(a){return"MozAppearance"in a.document.documentElement.style},
function(a){return"_phantom"in a},
function(a){return"callPhantom"in a},
function(a){return"content"in a.document.createElement("template")},
function(a){return"getEntriesByType"in a.performance},
function(){return on(3)},
function(a){return"image-rendering"in a.document.body.style},
function(a){return"object-fit"in a.document.body.style},
function(a){return"open"in a.document.createElement("details")},
function(a){return"orientation"in a.screen},
function(a){return"performance"in a},
function(a){return"shape-image-threshold"in a.document.body.style},
function(){return on(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return qn},
function(){return rn},
function(){return on(5)},
function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width},
function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width},
function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{DummyFunction1()}catch(b){a=!0}return a},
function(){var a=!1;try{DummyFunction2()}catch(b){a=!0}return a},
function(){return!1},
function(){return on(6)},
function(a){var b=a.document.createElement("canvas");b.width=b.height=1;b=b.getContext("2d");b.globalCompositeOperation="multiply";b.fillStyle="rgb(0,255,255)";b.fillRect(0,0,1,1);b.fill();b.fillStyle="rgb(255,255,0)";b.fillRect(0,0,1,1);b.fill();b=b.getImageData(0,0,1,1).data;return b[0]==b[2]&&b[1]==b[3]||mn(a.navigator.vibrate)},
function(a){a=a.document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d");a.globalCompositeOperation="multiply";a.fillStyle="rgb(0,255,255)";a.fillRect(0,0,1,1);a.fill();a.fillStyle="rgb(255,255,0)";a.fillRect(0,0,1,1);a.fill();a=a.getImageData(0,0,1,1).data;return a[0]==a[2]&&a[1]==a[3]},
function(a){a=a.document.createElement("div");return mn(a.matches)},
function(a){a=a.document.createElement("input");a.setAttribute("type","range");return"text"!==a.type},
function(a){return a.CSS.supports("image-rendering","pixelated")},
function(a){return a.CSS.supports("object-fit","contain")},
function(){return on(7)},
function(a){return a.CSS.supports("object-fit","inherit")},
function(a){return a.CSS.supports("shape-image-threshold","0.9")},
function(a){return a.CSS.supports("word-break","keep-all")},
function(){return eval("1 == [for (item of [1,2,3]) item][0]")},
function(a){return mn(a.CSS.supports)},
function(){return mn(Intl.Collator)},
function(a){return mn(a.document.createElement("dialog").show)},
function(){return on(8)},
function(a){return mn(a.document.createElement("div").animate([{transform:"scale(1)",easing:"ease-in"},{transform:"scale(1.3)",easing:"ease-in"}],{duration:1300,iterations:1}).reverse)},
function(a){return mn(a.document.createElement("div").animate)},
function(a){return mn(a.document.documentElement.webkitRequestFullScreen)},
function(a){return mn(a.navigator.getBattery)},
function(a){return mn(a.navigator.permissions.query)},
function(){return!1},
function(){return on(9)},
function(){return mn(webkitRequestAnimationFrame)},
function(a){return mn(a.BroadcastChannel.call)},
function(a){return mn(a.FontFace)},
function(a){return mn(a.Gamepad)},
function(){return on(10)},
function(a){return mn(a.MutationEvent)},
function(a){return mn(a.MutationObserver)},
function(a){return mn(a.crypto.getRandomValues)},
function(a){return mn(a.document.body.createShadowRoot)},
function(a){return mn(a.document.body.webkitCreateShadowRoot)},
function(a){return mn(a.fetch)},
function(){return on(11)},
function(a){return mn(a.navigator.serviceWorker.register)},
function(a){return mn(a.navigator.webkitGetGamepads)},
function(a){return mn(a.speechSynthesis.speak)},
function(a){return mn(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return on(12)},
function(a){return a.CSS.supports("cursor","grab")},
function(a){return a.CSS.supports("cursor","zoom-in")},
function(a){return a.CSS.supports("image-orientation","270deg")},
function(){return on(13)},
function(a){return a.CSS.supports("position","sticky")},
function(a){return void 0===a.document.createElement("style").scoped},
function(a){return a.performance.getEntriesByType("resource")instanceof Array},
function(){return"undefined"==typeof InstallTrigger},
function(){return"object"==typeof(new Intl.Collator).resolvedOptions()},
function(a){return"boolean"==typeof a.navigator.onLine},
function(){return on(14)},
function(a){return"undefined"==typeof a.navigator.Q4},
function(a){return"number"==typeof a.performance.now()},
function(){return 0==(new Uint16Array(1))[0]},
function(a){return-1==a.ActiveXObject.toString().indexOf("native")},
function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],Lda=[function(a){a=a.document.createElement("div");
var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;d<c.length;d++){try{b=a.getComponentVersion(c[d],"componentid").replace(/,/g,".")}catch(e){}if(b)return b.split(".")[0]}return!1},
function(){return(new Date).getTimezoneOffset()},
function(a){return(a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth)/(a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)},
function(a){return(a.outerWidth||a.document&&a.document.body&&a.document.body.offsetWidth)/(a.outerHeight||a.document&&a.document.body&&a.document.body.offsetHeight)},
function(a){return a.screen.availWidth/a.screen.availHeight},
function(a){return a.screen.width/a.screen.height}],Mda=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.C(sn,uba);sn.prototype.reset=function(){this.o[0]=1732584193;this.o[1]=4023233417;this.o[2]=2562383102;this.o[3]=271733878;this.B=this.C=0};
sn.prototype.update=function(a,b){g.v(b)||(b=a.length);for(var c=b-this.A,d=this.D,e=this.C,f=0;f<b;){if(0==e)for(;f<=c;)tn(this,a,f),f+=this.A;if(g.x(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.A){tn(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.A){tn(this,d);e=0;break}}this.C=e;this.B+=b};
sn.prototype.digest=function(){var a=Array((56>this.C?this.A:2*this.A)-this.C);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.B;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.o[b]>>>d&255;return a};g.t(un,Qm);un.prototype.o=function(a){var b=Qm.prototype.o.call(this,a);var c=nn=(0,g.J)();var d=on(5);c=(qn?!d:d)?c|2:c&-3;d=on(2);c=(rn?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.A||(this.A=Nda());b.D=this.A;b.F=Pm(a,cza,c,"h",vn("kArwaWEsTs"));b.B=Pm(a,eza,{},"h",vn("b96YPMzfnx"));b.A=Pm(a,fza,{},"h",vn("yb8Wev6QDg"));return b};wn.prototype.report=function(a,b){var c=this.o(b);if(g.Ja(c)){var d={};d=(d.sv="718",d.cb="j",d.e=Oda(a),d);var e=cm(b,a,Ok());g.kc(d,e);b.YC[a]=e;d=2==b.Ve()?Dca(d).join("&"):this.C.o(d).o;try{return c(b.cd,d,a),0}catch(f){return 2}}else return 1};
wn.prototype.o=function(){return g.z(this.A)};g.t(xn,wn);xn.prototype.o=function(a){if(!a.Yh)return wn.prototype.o.call(this,a);var b=this.B[a.Yh];if(b)return function(c,d,e){b.A(c,d,e)};
rk(393,Error());return null};g.t(yn,Wm);g.h=yn.prototype;g.h.Lp=function(a,b){var c=this;switch(Sj.getInstance().gb){case "nis":var d=Rda(this,a,b);break;case "gsv":d=Qda(this,a,b);break;case "exc":d=Sda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=Dda(this,a,b.opt_adElement,b.opt_osdId):d=hm(a)||void 0}d&&1==d.Ve()&&(d.ka==g.A&&(d.ka=function(e){return c.ZC(e)}),Pda(this,d,b));
return d};
g.h.ZC=function(a){var b=Sj.getInstance();a.o=0;a.P=0;if("h"==a.D||"n"==a.D){if("exc"==b.gb||"nis"==b.gb)var c=g.z("ima.bridge.getVideoMetadata");else if(a.Yh&&Bn(this)){var d=this.G[a.Yh];d?c=function(f){return d.o(f)}:null!==d&&rk(379,Error())}else c=g.z("ima.common.getVideoMetadata");
if(g.Ja(c))try{var e=c(a.cd)}catch(f){a.o|=4}else a.o|=2}else if("b"==a.D)if(b=g.z("ytads.bulleit.getVideoMetadata"),g.Ja(b))try{e=b(a.cd)}catch(f){a.o|=4}else a.o|=2;else if("ml"==a.D)if(b=g.z("ima.common.getVideoMetadata"),g.Ja(b))try{e=b(a.cd)}catch(f){a.o|=4}else a.o|=2;else a.o|=1;a.o||(g.v(e)?null===e?a.o|=16:g.cc(e)?a.o|=32:null!=e.errorCode&&(a.P=e.errorCode,a.o|=64):a.o|=8);null!=e||(e={});Eda(e,a);yk(e.volume)&&yk(this.D)&&(e.volume*=this.D);return e};
g.h.NA=function(){if(Bn(this))return new xn("ima.common.triggerExternalActivityEvent",this.C,this.G);var a=Tda(this);return null!=a?new wn(a,this.C):null};
g.h.Gu=function(){var a=this.o,b=Wm.prototype.Gu.call(this);b.push(new ln(a));return b};
g.h.wx=function(a){!a.o&&a.Sg&&cn(this,a,"overlay_unmeasurable_impression")&&(a.o=!0)};
g.h.DF=function(a){a.hG&&(a.Vi()?cn(this,a,"overlay_viewable_end_of_session_impression"):cn(this,a,"overlay_unviewable_impression"),a.hG=!1)};
g.h.Qu=function(a){this.B&&1==a.Ve()&&Cn(this,a)};
g.h.Ex=function(a){this.B&&1==a.Ve()&&Cn(this,a)};
g.h.vr=function(a,b,c,d){a=Wm.prototype.vr.call(this,a,b,c,d);this.F&&(b=this.H,null==a.A&&(a.A=new Jl),b.o[a.cd]=a.A,a.A.D=aza);return a};
g.h.lp=function(a){a&&1==a.Ve()&&this.F&&delete this.H.o[a.cd];return Wm.prototype.lp.call(this,a)};
g.Ea(yn);var a1=new Om;a1.D="stopped";a1.o="stopped";a1.C="stopped";a1.F="stopped";a1.B="stopped";a1.A="stopped";Object.freeze(a1);var gza=qk(193,En,void 0,fn);g.Da("Goog_AdSense_Lidar_sendVastEvent",gza,void 0);var hza=qk(194,function(a,b){b=void 0===b?{}:b;var c=An(yn.getInstance(),a,b);return Dn(c)});
g.Da("Goog_AdSense_Lidar_getViewability",hza,void 0);var iza=qk(195,function(){return Jj()});
g.Da("Goog_AdSense_Lidar_getUrlSignalsArray",iza,void 0);var jza=qk(196,function(){return g.hh(Jj())});
g.Da("Goog_AdSense_Lidar_getUrlSignalsList",jza,void 0);g.h=Fn.prototype;g.h.Kx=function(a){this.A=a};
g.h.Gx=function(a){this.o=a};
g.h.Mx=function(a){this.C=a};
g.h.Tg=function(a,b,c,d,e){e=void 0===e?this.A:e;if(Math.random()>(void 0===c?.01:c))return this.C;Vj(b)||(b=new Uj(b,{context:a,id:e}));if(d||this.o)b.meta={},this.o&&this.o(b.meta),d&&d(b.meta);g.y.google_js_errors=g.y.google_js_errors||[];g.y.google_js_errors.push(b);g.y.error_rep_loaded||(b=g.y.document,c=g.y.location.protocol+"//pagead2.googlesyndication.com/pagead/js/err_rep.js",a=b.createElement("script"),Id(a,Di(c)),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,
b),g.y.error_rep_loaded=!0);return this.C};
g.h.nj=function(a,b,c){try{var d=this.Fa&&this.Fa.start(String(a),3);var e=b();this.Fa&&d&&this.Fa.end(d)}catch(f){if(this.Fa&&d&&ck(d),!this.B(a,f,.01,c,this.A))throw f;}return e};
g.h.lx=function(a,b,c,d){var e=this;return function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return e.nj(a,function(){return b.apply(c,k)},d)}};var kk,jq,b1=Si(),jk=new ak(1,b1);kk=new function(){var a=void 0===a?P:a;this.o="http:"===a.location.protocol?"http:":"https:"};
jq=new lk;"complete"==b1.document.readyState?b1.google_measure_js_timing||jk.disable():jk.A&&Ki(b1,"load",function(){b1.google_measure_js_timing||jk.disable()});var XC=(new Date).getTime();var Uy=null,c1={},rha=(c1[8]="google_prev_ad_formats_by_region",c1[9]="google_prev_ad_slotnames_by_region",c1);g.h=g.Jn.prototype;g.h.Jc=function(){return this.Pa};
g.h.wb=function(){Mn(this);for(var a=[],b=0;b<this.o.length;b++)a.push(this.A[this.o[b]]);return a};
g.h.Gb=function(){Mn(this);return this.o.concat()};
g.h.isEmpty=function(){return 0==this.Pa};
g.h.clear=function(){this.A={};this.hi=this.Pa=this.o.length=0};
g.h.remove=function(a){return Kn(this.A,a)?(delete this.A[a],this.Pa--,this.hi++,this.o.length>2*this.Pa&&Mn(this),!0):!1};
g.h.get=function(a,b){return Kn(this.A,a)?this.A[a]:b};
g.h.set=function(a,b){Kn(this.A,a)||(this.Pa++,this.o.push(a),this.hi++);this.A[a]=b};
g.h.forEach=function(a,b){for(var c=this.Gb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
g.h.clone=function(){return new g.Jn(this)};
g.h.de=function(a){Mn(this);var b=0,c=this.hi,d=this,e=new Dl;e.next=function(){if(c!=d.hi)throw Error("The map has changed since the iterator was created");if(b>=d.o.length)throw El;var f=d.o[b++];return a?f:d.A[f]};
return e};g.h=g.Pn.prototype;g.h.toString=function(){var a=[],b=this.B;b&&a.push(Xn(b,kza,!0),":");var c=this.A;if(c||"file"==b)a.push("//"),(b=this.H)&&a.push(Xn(b,kza,!0),"@"),a.push(g.qc(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.D,null!=c&&a.push(":",String(c));if(c=this.C)this.A&&"/"!=c.charAt(0)&&a.push("/"),a.push(Xn(c,"/"==c.charAt(0)?lza:mza,!0));(c=this.o.toString())&&a.push("?",c);(c=this.Ei())&&a.push("#",Xn(c,nza));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.B;c?g.Qn(b,a.B):c=!!a.H;c?b.H=a.H:c=!!a.A;c?g.Rn(b,a.A):c=null!=a.D;var d=a.C;if(c)g.Sn(b,a.D);else if(c=!!a.C){if("/"!=d.charAt(0))if(this.A&&!this.C)d="/"+d;else{var e=b.C.lastIndexOf("/");-1!=e&&(d=b.C.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=g.wb(e,"/");e=e.split("/");for(var f=[],k=0;k<e.length;){var l=e[k++];"."==l?d&&k==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&
f.pop(),d&&k==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?g.Tn(b,d):c=""!==a.o.toString();c?Un(b,a.o.clone()):c=!!a.J;c&&(b.J=a.Ei());return b};
g.h.clone=function(){return new g.Pn(this)};
g.h.PB=function(){return this.o.toString()};
g.h.Ei=function(){return this.J};
var kza=/[#\/\?@]/g,mza=/[#\?:]/g,lza=/[#\?]/g,bea=/[#\?@]/g,nza=/#/g;g.h=g.Wn.prototype;g.h.Jc=function(){$n(this);return this.Pa};
g.h.add=function(a,b){$n(this);this.A=null;a=co(this,a);var c=this.o.get(a);c||this.o.set(a,c=[]);c.push(b);this.Pa=this.Pa+1;return this};
g.h.remove=function(a){$n(this);a=co(this,a);return Ln(this.o,a)?(this.A=null,this.Pa=this.Pa-this.o.get(a).length,this.o.remove(a)):!1};
g.h.clear=function(){this.o=this.A=null;this.Pa=0};
g.h.isEmpty=function(){$n(this);return 0==this.Pa};
g.h.forEach=function(a,b){$n(this);this.o.forEach(function(c,d){(0,g.E)(c,function(e){a.call(b,e,d,this)},this)},this)};
g.h.Gb=function(){$n(this);for(var a=this.o.wb(),b=this.o.Gb(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.h.wb=function(a){$n(this);var b=[];if(g.x(a))eo(this,a)&&(b=g.gb(b,this.o.get(co(this,a))));else{a=this.o.wb();for(var c=0;c<a.length;c++)b=g.gb(b,a[c])}return b};
g.h.set=function(a,b){$n(this);this.A=null;a=co(this,a);eo(this,a)&&(this.Pa=this.Pa-this.o.get(a).length);this.o.set(a,[b]);this.Pa=this.Pa+1;return this};
g.h.get=function(a,b){if(!a)return b;var c=this.wb(a);return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.A)return this.A;if(!this.o)return"";for(var a=[],b=this.o.Gb(),c=0;c<b.length;c++){var d=b[c],e=g.qc(d);d=this.wb(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.qc(d[f]));a.push(k)}}return this.A=a.join("&")};
g.h.clone=function(){var a=new g.Wn;a.A=this.A;this.o&&(a.o=this.o.clone(),a.Pa=this.Pa);return a};var Uo={BI:5E3,CI:15E3,zz:"://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/sul www.google.com/pagead/xsul www.youtube.com/pagead/sul www.youtube.com/pagead/psul www.youtube.com/pagead/slav".split(" "),gJ:/\bocr\b/,Yt:0,Zg:{},yV:function(a,b,c){a&&(Uo.TM(a)?Uo.WF(a,b):Uo.Sn(a,b,c))},
TM:function(a){if(g.G(g.H(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.Pn(a)}catch(c){return null!=g.Ua(Uo.zz,function(d){return 0<a.search(d)})}return b.Ei().match(Uo.gJ)?!0:null!=g.Ua(Uo.zz,function(c){return null!=a.match(c)})},
WF:function(a,b){if(a&&(a=Uo.LK(a),!g.G(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?Uo.CC(function(d){Uo.SF(d?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):Uo.SF(c)}},
SF:function(a){var b=g.ie("IFRAME",{src:a,style:"display:none"});a=Ud(b).body;var c=g.ch(function(){g.mg(d);g.qe(b)},Uo.CI);
var d=bg(b,["load","error"],function(){g.ch(function(){g.dh(c);g.qe(b)},Uo.BI)});
a.appendChild(b)},
CC:function(a,b){var c=Uo.Zg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(e,f){delete Uo.Zg[f];d||(d=!0,null!=Uo.Zg.imageLoadingEnabled||(Uo.Zg.imageLoadingEnabled=e),a(e))};
b?b(c):Uo.eN(c)}},
eN:function(a){var b=new Image,c=""+Uo.Yt++;Uo.Zg[c]=b;b.onload=function(){clearTimeout(d);a(!0,c)};
var d=setTimeout(function(){a(!1,c)},300);
b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},
xV:function(a){if(a){var b=g.ke("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+Uo.Yt++;Uo.Zg[c]=b;b.onload=b.onerror=function(){delete Uo.Zg[c]};
document.body.appendChild(b)}},
TF:function(a){if(a){var b=new Image,c=""+Uo.Yt++;Uo.Zg[c]=b;b.onload=b.onerror=function(){delete Uo.Zg[c]};
b.src=a}},
Sn:function(a,b,c){if(a){if(c)try{if(g.y.navigator&&g.y.navigator.sendBeacon&&g.y.navigator.sendBeacon(a,""))return}catch(d){}b?Uo.CC(function(d){d?Uo.TF(a):Uo.xV(a)}):Uo.TF(a)}},
LK:function(a){a=g.fd(g.id(a));if("about:invalid#zClosurez"===a)return"";a=g.vd(xd(a)).toString();return g.qc(g.hh(a))}};g.C(g.fo,g.L);var io=[];g.h=g.fo.prototype;g.h.X=function(a,b,c,d){return go(this,a,b,c,d)};
g.h.Nh=function(a,b,c,d){return jo(this,a,b,c,d)};
g.h.Ka=function(a,b,c,d,e){if(g.Ga(b))for(var f=0;f<b.length;f++)this.Ka(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Ka(d)?!!d.capture:!!d,e=e||this.B||this,c=dg(c),d=!!d,b=g.Wf(a)?a.Am(b,c,d,e):a?(a=g.gg(a))?a.Am(b,c,d,e):null:null,b&&(g.mg(b),delete this.A[b.key])};
g.h.V=function(){g.fo.fa.V.call(this);g.lo(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.C(mo,g.L);mo.prototype.G=function(){this.B=(0,g.J)()};
mo.prototype.J=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.A&1&&c.push("nm="+this.D);this.A&2&&c.push("nb="+this.F.get(b));if(this.A&8){var d=g.hi(this.C);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.A&16&&null!=this.B&&c.push("clkt="+((0,g.J)()-this.B));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))};
mo.prototype.H=function(){this.D++};
mo.prototype.V=function(){mo.fa.V.call(this);this.o.dispose()};var eea=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var oo="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");qo.prototype.isBumper=function(){return this.A};g.h=ro.prototype;g.h.uu=function(){return this.o.uu()};
g.h.Dm=function(){return this.o.Dm()};
g.h.Rf=function(){return this.o.Rf()};
g.h.Nm=function(a){return this.og?this.o.Up():this.o.Nm(a)};
g.h.setSize=function(a,b){this.o.setSize(a,b)};
g.h.gu=function(){return this.o.gu()};
g.h.jk=function(){return this.o.jk()};
g.h.Yu=function(){return this.o.Yu()};
g.h.Wp=function(){return this.o.Wp()};
g.h.hide=g.A;g.h.Yf=g.A;g.h.Jd=g.A;g.h.Up=function(){return this.o.Up()};
g.h.Vp=g.A;g.C(so,g.Qf);so.prototype.getError=function(){return this.A};var pA="adMetadata callFlashVpaidMethod adCanPlay click companionBackfill companionInitialized complete destroyInsecureFlashVpaid durationChange firstquartile impression interaction initInsecureFlashVpaid youtubeKevlarCompanionShow youtubeKevlarCompanionHide loaded log mediaUrlPinged midpoint mute pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged videoClicked volumeChange vpaidEvent why_this_ad_got_it why_this_ad_url youTubeChannelMetadata yt-show-toast".split(" "),
d1="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent feedbackDislike feedbackLike feedbackShown firstquartile fullscreen instreamAdComplete interstitial_dismissed interstitial_start_clicked interstitial_timed_out interstitial_viewed measurable_impression midpoint mute MUTE_AD pause progress replay resume rewind show_ad skipshown skip start stop survey_question_displayed thirdquartile unmute userClose video_card_endcap_action video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression videoShareClicked videoShareShown viewable_impression why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
bia="acceptinvitation click close collapse creativeview expand progress".split(" "),e1="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),f1={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression",
overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression"};g.C(to,g.Qf);to.prototype.Vb=function(){return this.A};
var Mha={gX:"adCanPlay",iX:"adNotify",TY:"contentPauseRequested",UY:"contentResumeRequested",Os:"click",pZ:"discardAdNotify",S3:"videoClicked",U3:"videoIconClicked",Zy:"engagedview",XZ:"expandedChanged",T2:"start",zo:"impression",oz:"measurable_impression",Nz:"viewable_impression",gz:"fully_viewable_audible_half_duration_impression",ZI:"overlay_resize",aJ:"overlay_unmeasurable_impression",bJ:"overlay_unviewable_impression",dJ:"overlay_viewable_immediate_impression",cJ:"overlay_viewable_end_of_session_impression",
a_:"externalActivityEvent",PAUSED:"pause",j2:"resume",ez:"firstquartile",pz:"midpoint",Jz:"thirdquartile",Uy:"complete",HZ:"durationChange",bY:"autoClose",L3:"userClose",M3:"userRecall",N1:"prefetched",Rs:"loaded",QX:"allAdsCompleted",Dz:"skip",nJ:"skipshown",e0:"linearChanged",K2:"skippableStateChanged",hX:"adMetadata",fX:"adBreakReady",q0:"log",VOLUME_CHANGED:"volumeChange",b4:"mute",Q_:"interaction",JY:"companionBackfill",r4:"youTubeVideoMetadata",o4:"youTubeChannelMetadata",K3:"urlNavigationRequested",
y3:"trackingUrlPinged",O3:"video_card_endcap_action",P3:"video_card_endcap_collapse",Q3:"video_card_endcap_dismiss",R3:"video_card_endcap_impression",l4:"why_this_ad_url",j4:"why_this_ad_got_it",f1:"MUTE_AD",MY:"companionInitialized",LY:"companionImpression",KY:"companionClick",y0:"mediaUrlPinged",q4:"youtubeKevlarCompanionShow",p4:"youtubeKevlarCompanionHide",s4:"yt-show-toast"};xo.prototype.getPlayerType=function(){return""};
var Q=new xo;var oza={NORMAL:"normal",fz:"fullscreen"};var Ku=["ADSENSE","ADSENSE/ADX"],dga=["DART","DART_DFA","DART_DFP"],pga=["FREEWHEEL","YT:FREEWHEEL"],Tt=["SHOPPING","YT:SHOPPING"],ega=["GDFP"],cga=["VIRAL","ADSENSE-VIRAL"],aga=["VIRAL-RESERVE"],vr={"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","application/javascript":"Javascript","text/javascript":"Javascript","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"},ow={eZ:"application/dash+xml",K0:"video/mp4",
M0:"video/mpeg",v0:"application/x-mpegURL",m1:"video/ogg",g3:"video/3gpp",e4:"video/webm",MP3:"audio/mpeg",L0:"audio/mp4"};g.C(yo,g.Qf);g.C(zo,Error);zo.prototype.Vd=function(){return this.C};
zo.prototype.Fb=function(){return this.o};
zo.prototype.Zb=function(){return this.B};
zo.prototype.toString=function(){return"AdError "+this.Fb()+": "+this.Vd()+(null!=this.Rm?" Caused by: "+this.Rm:"")};Ao.prototype.o=function(){return!1};
Ao.prototype.A=function(){return NaN};
Ao.prototype.C=function(){return""};Bo.prototype.getId=function(){return this.Ja};Co.prototype.getId=function(){return this.Ja};var oea=["ActiveViewExternalLayer"],Fo=null;var hfa=["*.googlesyndication.com","gcdn.2mdn.net"],qea=["*.youtu.be","*.youtube.com"],tea="ad.doubleclick.net bid.g.doubleclick.net corp.google.com ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),sea=["c.googlesyndication.com"],
mja=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];var dw;Wo.prototype.Fb=function(){return this.errorCode};
Wo.prototype.Vd=function(){return this.message};
var xja=new Wo("Unable to request ads from server. Cause: {0}.",1005),nja=new Wo("Unable to request ads from server due to network error.",1012),fB=new Wo("Cannot parse the {0} value for the adslist response: {1}.",900),lw=new Wo("Invalid usage of the API. Cause: {0}",900),Xha=new Wo("Asset fallback ad replacement.",1021),Yha=new Wo("Asset fallback no ad replacement.",1021),g1=new Wo("Unable to display one or more required companions.",602),FD=new Wo("There was a problem requesting ads from the server.",
1005),h1=new Wo("There was a problem requesting the biscotti ID.",1005),lja=new Wo("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),iD=new Wo("The provided ad type: {0} is not supported.",1005),Up=new Wo("The provided {0} information: {1} is invalid.",1101),pza=new Wo("The provided skip offset was invalid.",1105),qza=new Wo("The extension contained is neither skippable nor nonskippable.",1105),qs=new Wo("The response does not contain any valid ads.",1009),rza=new Wo("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),iia=new Wo("The ad playlist response was malformed or empty.",1010),gB=new Wo("The ad response was not understood and cannot be parsed.",1010),qja=new Wo("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),zja=new Wo("The ad response contains unexpected element. Cause {0}.",1010),VD=new Wo("No assets were found in the VAST ad response.",200),Yfa=new Wo("Duplicate node in <{0}>: {1}",101),MC=new Wo("The VAST response document is empty.",1009),
Jha=new Wo("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),ps=new Wo("Ad request reached a timeout.",301),NC=new Wo("VAST response was malformed and could not be parsed.",100),i1=new Wo("VAST media file loading reached a timeout of {0} seconds.",402),rs=new Wo("Ad request could not be completed due to a network error.",301),sza=new Wo("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),ufa=new Wo("The maximum number of VAST wrappers ({0}) has been reached.",302),tza=new Wo("VAST media file duration differs from the VAST response duration by {0} seconds.",202),Gz=new Wo("Video player received an ad with unexpected or incompatible linearity",201),Xfa=new Wo("Unknown node in <{0}>: {1}",101),eha=new Wo("Invalid VAST resource type: {0}",101),Mia=new Wo("Invalid VAST version",102),vfa=new Wo("No additional VAST wrappers allowed.",300),xs=new Wo("No Ads VAST response after one or more Wrappers",
303),Lz=new Wo("There was an error playing the video ad.",400),uza=new Wo("VMAP unsupported node in <{0}>: {1}",1010),ky=new Wo("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901),zia=new Wo("There was an error playing the video ad. {0}",400),vza=new Wo("There was an error playing the video ad. {0}",402);g.C(cp,g.Qf);var $B="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var vea=function(){if(g.QM)return dp(/Firefox\/([0-9.]+)/);if(g.de||g.bN||g.Sf)return Kc;if(g.mM)return Gc()?dp(/CriOS\/([0-9.]+)/):dp(/Chrome\/([0-9.]+)/);if(yO&&!Gc())return dp(/Version\/([0-9.]+)/);if(WN||VN){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Jb);if(a)return a[1]+"."+a[2]}else if(g.XN)return(a=dp(/Android\s+([0-9.]+)/))?a:dp(/Version\/([0-9.]+)/);return""}();var qp={},sp="",lp=/OS (\S+) like/,op=/Android ([\d\.]+)/;xp.prototype.reset=function(){this.o=0;this.A=null};g.j1={bz:["BC","AD"],az:["Before Christ","Anno Domini"],rz:"JFMAMJJASOND".split(""),Ez:"JFMAMJJASOND".split(""),Ss:"January February March April May June July August September October November December".split(" "),Vs:"January February March April May June July August September October November December".split(" "),Ts:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Ws:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),ht:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Ys:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Us:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Xs:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SI:"SMTWTFS".split(""),Fz:"SMTWTFS".split(""),Cz:["Q1","Q2","Q3","Q4"],xz:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Ns:["AM","PM"],uo:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Zs:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Xy:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Fl:6,Pz:[5,6],Gl:5};
g.j1={bz:["M\u00d6","MS"],az:["Milattan \u00d6nce","Milattan Sonra"],rz:"O\u015eMNMHTAEEKA".split(""),Ez:"O\u015eMNMHTAEEKA".split(""),Ss:"Ocak \u015eubat Mart Nisan May\u0131s Haziran Temmuz A\u011fustos Eyl\u00fcl Ekim Kas\u0131m Aral\u0131k".split(" "),Vs:"Ocak \u015eubat Mart Nisan May\u0131s Haziran Temmuz A\u011fustos Eyl\u00fcl Ekim Kas\u0131m Aral\u0131k".split(" "),Ts:"Oca \u015eub Mar Nis May Haz Tem A\u011fu Eyl Eki Kas Ara".split(" "),Ws:"Oca \u015eub Mar Nis May Haz Tem A\u011fu Eyl Eki Kas Ara".split(" "),
ht:"Pazar Pazartesi Sal\u0131 \u00c7ar\u015famba Per\u015fembe Cuma Cumartesi".split(" "),Ys:"Pazar Pazartesi Sal\u0131 \u00c7ar\u015famba Per\u015fembe Cuma Cumartesi".split(" "),Us:"Paz Pzt Sal \u00c7ar Per Cum Cmt".split(" "),Xs:"Paz Pzt Sal \u00c7ar Per Cum Cmt".split(" "),SI:"PPS\u00c7PCC".split(""),Fz:"PPS\u00c7PCC".split(""),Cz:["\u00c71","\u00c72","\u00c73","\u00c74"],xz:["1. \u00e7eyrek","2. \u00e7eyrek","3. \u00e7eyrek","4. \u00e7eyrek"],Ns:["\u00d6\u00d6","\u00d6S"],uo:["d MMMM y EEEE",
"d MMMM y","d MMM y","d.MM.y"],Zs:["HH:mm:ss zzzz","HH:mm:ss z","HH:mm:ss","HH:mm"],Xy:["{1} {0}","{1} {0}","{1} {0}","{1} {0}"],Fl:0,Pz:[5,6],Gl:6};zp.prototype.clone=function(){return new zp(this.o,this.months,this.days,this.hours,this.minutes,this.seconds)};
zp.prototype.times=function(a){return new zp(this.o*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};
zp.prototype.add=function(a){this.o+=a.o;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
g.h=g.Cp.prototype;g.h.qB=g.j1.Fl;g.h.sB=g.j1.Gl;g.h.clone=function(){var a=new g.Cp(this.date);a.qB=this.qB;a.sB=this.sB;return a};
g.h.getFullYear=function(){return this.date.getFullYear()};
g.h.getMonth=function(){return this.date.getMonth()};
g.h.getDate=function(){return this.date.getDate()};
g.h.getTime=function(){return this.date.getTime()};
g.h.getDay=function(){return this.date.getDay()};
g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()};
g.h.getUTCMonth=function(){return this.date.getUTCMonth()};
g.h.getUTCDate=function(){return this.date.getUTCDate()};
g.h.getUTCHours=function(){return this.date.getUTCHours()};
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()};
g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.h.add=function(a){if(a.o||a.months){var b=this.getMonth()+a.months+12*a.o,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()),
this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),Bp(this,a.getDate()))};
g.h.toString=function(){return[this.getFullYear(),g.xc(this.getMonth()+1,2),g.xc(this.getDate(),2)].join("")+""};
g.h.valueOf=function(){return this.date.valueOf()};Dp.prototype.reset=function(){this.A=this.o=null};var fs=new Fp;Fp.prototype.clear=function(){this.o=Ep();this.D=this.K=this.A=null;this.B=Ep();this.C=null;this.Y=this.G=this.J="";this.H=this.P=this.F=null};g.Ea(Ip);Ip.prototype.report=function(a,b,c){if(this.o||c){b=b||{};b.lid=a;b.sdkv=Hp(fs);a=Ko(Go());g.G(g.H(a))||(b.e=a);b=wea(this,b);var d=new g.Pn("http://pagead2.googlesyndication.com/pagead/gen_204");g.Mb(b,function(e,f){g.Yn(d,f,null!=e?"boolean"==typeof e?e?"t":"f":""+e:"")},this);
a=Jp();g.Qn(d,a.B);Ro(d.toString())}};
Ip.prototype.isLoggingEnabled=function(){return this.o};g.h=Kp.prototype;g.h.MJ=!1;g.h.eA=!1;g.h.jA=!0;g.h.Nj=null;g.h.bitrate=-1;g.h.contentId=null;g.h.VA=!1;g.h.Lm=!1;g.h.Mm=null;g.h.surveyCreativeData=null;g.h.iW=!0;g.h.uy=!1;g.h.jW=!1;g.h.yy=!1;g.h.zy=!1;g.h.PG=!1;g.h.QG=!0;g.h.tK=!1;g.h.kW=!0;g.h.iC=!0;g.h.xt=!1;g.h.oK=!1;g.h.wW=0;g.h.showContentThumbnail=!0;g.h.ry=!1;g.h.ty=!1;g.h.Oi=null;g.h.fg=1E4;g.h.kA=!0;g.h.sF=0;g.h.hx=-1;g.h.hC=null;g.h.Zh=-1;g.h.shortViewCount=null;g.C(Lp,g.rg);var ZB={mY:"beginFullscreen",Os:"click",NZ:"end",OZ:"endFullscreen",ERROR:"error",Rs:"loaded",x0:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",J2:"skip",nJ:"skipShown",D2:"shareClicked",Gz:"start",n3:"timeUpdate",yY:"cardsStateChange",j3:"timedMetadata",a4:"volumeChange"};g.h=Lp.prototype;g.h.ue=function(){return!1};
g.h.sb=function(){return!0};
g.h.Fx=g.A;g.h.setCardsVisible=g.A;g.h.addInfoCardXml=g.A;g.h.Pe=function(){return null};
g.h.showControls=g.A;g.h.hideControls=g.A;g.C(Mp,g.rg);var Np=null;Mp.prototype.kl=function(a){this.C=a};
Mp.prototype.destroy=function(){this.Z.Ka(this.A,"activityMonitor",this.K);this.A=null};
Mp.prototype.K=function(a){var b=a.ig;switch(a.le){case "appStateChanged":Wda(yn.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":Rp(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":Pp(b.queryId,b.viewabilityString);break;case "pageSignals":this.J=b.pageSignals;break;case "viewableImpression":Qp(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;Op().B=b;Op().H=(0,g.J)();break;case "viewability":a=b.eventId;window.clearTimeout(a);
var c=this.o.get(a);c&&(this.o.remove(a),c(b.viewabilityData));break;case "viewabilityMeasurement":var d=yn.getInstance(),e=b.queryId;b=b.viewabilityData;c=Sj.getInstance();a=Kk.getInstance();if("exc"==c.gb){d.D=b.nativeVolume;c=b.exposure||0;var f=b.unmeasurable;d=d.Lp(e,{});null!=b.presenceData&&(null===d.A&&(d.A=new Jl),g.kc(d.A,b.presenceData));-1==d.ea&&(d.ea=hj(),d.yb=d.Ud().A.o);d.ga+=f?1:0;d.Sa++;d.Ma.update(c,c,!1,1,!1);e=b.insideIframe;g.v(e)&&0==e&&(a.A=!1);d.Sg=f||d.Sg;b.position&&yl(d,
P,a.A,new g.Hh(b.position.top,b.position.right,b.position.bottom,b.position.left));b.documentSize&&(a.B=new g.Qd(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.o=new g.Hh(0,b.viewportSize.width,b.viewportSize.height,0));b=b.screenShare;d.Dc.Mb=g.Jd(c,0,1);d.GC=d.Dc.Mb;d.Dc.o=g.Jd(b,0,1)}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.o.get(a),Ip.getInstance().isLoggingEnabled()&&(d=-1,this.F&&(d=(0,g.J)()-this.F),e=!1,c||(e=!0),Xb(b,"loggingId")&&Ip.getInstance().report(43,
{step:"receivedResponse",time:(0,g.J)(),timeout:e,logid:b.loggingId,timediff:d})),c&&(this.o.remove(a),c(b.engagementString))}};
g.Da("ima.bridge.getNativeViewability",function(a,b){Op();b({})},void 0);
g.Da("ima.bridge.getVideoMetadata",function(){var a=Op().G;return g.Ja(a)?a():{}},void 0);
g.Da("ima.bridge.triggerViewEvent",Qp,void 0);g.Da("ima.bridge.triggerMeasurableEvent",Pp,void 0);g.Da("ima.bridge.triggerExternalActivityEvent",Rp,void 0);var Aea={IMAGE:"Image",rI:"Flash",ALL:"All"},zea={A_:"Html",G_:"IFrame",V2:"Static",ALL:"All"},Bea={H_:"IgnoreSize",w2:"SelectExactMatch",z2:"SelectNearMatch"},Cea={oZ:"DisallowResize",e2:"ResizeSmaller"};var k1=!1,l1="";
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(k1=!0,a.description)){l1=Tp(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){k1=!0;l1="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],k1=!(!a||!a.enabledPlugin))){l1=Tp(a.enabledPlugin.description);return}if("undefined"!=typeof ActiveXObject){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");k1=
!0;l1=Tp(b.GetVariable("$version"));return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");k1=!0;l1="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),k1=!0,l1=Tp(b.GetVariable("$version"))}catch(c){}}})();
var $p=k1,aD=l1;g.C(eq,g.rg);var fq=null;g.h=eq.prototype;g.h.destroy=function(){this.Z.Ka(this.o,"activityMonitor",this.lC);this.C=!1;this.A.clear()};
g.h.V=function(){this.destroy();eq.fa.V.call(this)};
g.h.init=function(a){if(!this.C){if(this.o=a||null)this.Z.X(this.o,"activityMonitor",this.lC),mq(this);if(Q.J&&!(g.y.ima&&g.y.ima.video&&g.y.ima.video.client&&g.y.ima.video.client.tagged)){g.Da("ima.video.client.sdkTag",!0,void 0);var b=g.y.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(a=Q.o||R())||
(a=!1);a||(yn.getInstance().B=!0);this.D=(g.Ja(null),null);zn();this.C=!0}};
g.h.kl=function(a){this.B=a};
g.h.lC=function(a){var b=a.ig,c=b.queryId,d={};d.eventId=b.eventId;switch(a.le){case "getPageSignals":mq(this);break;case "reportVastEvent":var e=b.vastEvent;a=b.osdId;var f={};f.opt_fullscreen=b.isFullscreen;b.isOverlay&&(f.opt_bounds=b.overlayBounds);d.viewabilityData=kq(this,e,c,a,f);this.o.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Xb(b,"isFullscreen")&&(c=b.isFullscreen),Xb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,Ip.getInstance().report(43,
{step:"beforeLookup",logid:b,time:(0,g.J)()},!0)),d.engagementString=Hea(this,a,c),this.o.send("activityMonitor","engagement",d)}};
g.Da("ima.common.getVideoMetadata",function(a){a=gq().A.get(a);return g.Ja(a)?a():{}},void 0);
g.Da("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=gq().o;d?d.send("activityMonitor","viewableImpression",c):gq().dispatchEvent(new to("viewable_impression",null,c))},void 0);
g.Da("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=gq().o,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.Da("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=gq().o;d?d.send("activityMonitor","measurableImpression",c):gq().dispatchEvent(new to("measurable_impression",null,c))},void 0);
g.Da("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=gq().o)?a.send("activityMonitor","externalActivityEvent",d):gq().dispatchEvent(new to("externalActivityEvent",null,d))},void 0);
gq();g.C(nq,g.Qf);nq.prototype.getError=function(){return this.o};oq.prototype.vb=function(){return this.G};
oq.prototype.zd=function(){return this.B};
oq.prototype.clone=function(){var a=new oq(this.J,this.H);if(null!=this.B)pq(a,this.zd(),this.C,this.o,this.D);else{var b=this.vb(),c=this.C,d=this.o,e=this.A,f=this.D,k=this.F;a.G=b;a.B=null;a.C=c;a.o=d;a.A=e;a.D=f||[];a.F=k||[]}return a};g.C(rq,g.Qf);sq.prototype.videoCount=0;g.tq.prototype.A=Xc;g.tq.prototype.mark=function(){switch(this.o){case 1:return"\u200e";case -1:return"\u200f";default:return""}};var Bq={},Tq={},Uq={},Pq={},Qea={},Pr={};vq.prototype.Ul=null;vq.prototype.vb=function(){return this.content};
vq.prototype.toString=function(){return this.content};
g.C(wq,vq);wq.prototype.Qj=Pr;g.C(xq,vq);xq.prototype.Qj=Bq;g.C(yq,vq);yq.prototype.Qj=Pq;yq.prototype.Ul=1;var Cq=function(a){function b(c){this.content=c}
b.prototype=a.prototype;return function(c,d){var e=new b(String(c));void 0!==d&&(e.Ul=d);return e}}(xq),Sea=function(a){function b(c){this.content=c}
b.prototype=a.prototype;return function(c){return new b(String(c))}}(yq),Gq={},Hq={},ht=function(a){function b(c){this.content=c}
b.prototype=a.prototype;return function(c,d){var e=String(c);if(!e)return"";e=new b(e);void 0!==d&&(e.Ul=d);return e}}(xq),Rq=/['()]/g,ar={},Tea={"\x00":"&#0;",
"\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},Uea={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11",
"\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87",
"\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Jea=/[\x00\x22\x27\x3c\x3e]/g,Lea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Kea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Wq=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,
Rea=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,4}|%)?|!important)(?:\s+|$))*$/i,Oea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Pea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Mea=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,
Lq=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Mq=/</g;er.prototype.Wa=function(){return this.C};
er.prototype.Zb=function(){return this.A};
g.C(fr,er);dr.prototype.isEmpty=function(){return this.o.isEmpty()};g.h=mr.prototype;g.h.getDuration=function(){return this.ka};
g.h.jv=function(){return null};
g.h.hv=function(){return null};
g.h.gv=function(){return null};
g.h.Vb=function(){return this.J};
g.h.Ep=function(){for(var a=[this],b=this.J.A;b;){var c=pr(this,b)||pr(this,b,!0);null!=c&&a.push(c);b=b.A}return a};qr.prototype.ab=function(){return this.F};
qr.prototype.getHeight=function(){return this.B};
qr.prototype.Wa=function(){return this.D};g.C(rr,mr);g.h=rr.prototype;g.h.xf=function(){return this.B};
g.h.wh=function(){return this.A};
g.h.xh=function(){return null!=this.D?this.D.Wa():null};
g.h.jv=function(){var a=tr(this,"javascript");return null!=a?a.Wa():null};
g.h.hv=function(){var a=ur(this);return null!=a?a.Wa():null};
g.h.gv=function(){return null!=this.D?this.D.A:1==this.A.length?this.A[0].A:null};g.C(wr,mr);g.h=wr.prototype;g.h.vb=function(){return ze(this.zd())};
g.h.Pm=function(){return!1};
g.h.kv=function(){return this.Pm()?ze(this.zd(!0)):""};
g.h.Ad=function(){return this.ba};
g.h.ke=function(){return this.Ia};
g.h.ab=function(){return this.ke().width};
g.h.getHeight=function(){return this.ke().height};
g.h.xh=function(){return this.A};
g.h.jv=function(){return"VPAID"==this.K&&"Javascript"==this.ba?this.A:null};
g.h.hv=function(){return"VPAID"==this.K&&"Flash"==this.ba?this.A:null};
g.h.gv=function(){return this.K};
g.h.xf=function(){return this.ma};g.C(xr,g.L);xr.prototype.G=function(){this.F=(0,g.J)()};
xr.prototype.J=function(a,b){var c=a.element;1==(this.A&1)&&(0==this.B&&this.B++,this.o.nm=this.B);2==(this.A&2)&&(this.o.nb=a.eK);if(8==(this.A&8)){var d=g.hi(this.D);this.o.nx=Math.round(b.clientX-d.x);this.o.ny=Math.round(b.clientY-d.y)}16==(this.A&16)&&null!=this.F&&(d=(0,g.J)()-this.F,this.o.clkt=d);512==(this.A&512)&&(d=Ui())&&(this.o.mb=d);"A"==c.tagName.toUpperCase()&&g.Gd(c,bfa(this,c.href))};
xr.prototype.H=function(){this.B++};var Dr=g.de?bd(g.Uc('javascript:""')):bd(g.Uc("about:blank"));$c(Dr);var wza=g.de?bd(g.Uc('javascript:""')):bd(g.Uc("javascript:undefined"));$c(wza);g.C(yr,wr);g.h=yr.prototype;g.h.Kj=function(a){null==this.C||g.G(g.H(this.xf()))||(this.C.X(a,"click",this.Y),this.aa.push(a))};
g.h.zd=function(a){a?(null==this.ha&&(this.ha=this.Eg(a),ne(this.ha,Er(this))),a=this.ha):(null==this.B&&(this.B=this.Eg(),ne(this.B,Er(this))),a=this.B);null!=this.C&&this.C.X(a,"creativeview",this.ea);return a};
g.h.Eg=function(){var a=g.H(this.A);g.G(g.H(this.xf()))||(a=new g.Pn(a),g.Yn(a,"clickTAG",g.qc(this.xf())),a=a.toString());var b=g.ie("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.Ad()&&(b.width=this.ab());b.setAttribute("src",Oo(a));this.Kj(b);return Cr(this,b)};
g.h.vu=function(){Ho().o("cleanup_text_overlay_spam_signals");return 2};
g.h.Ep=function(){for(var a=[this],b=this.Vb().A;b;){var c=this.F?pr(this,b)||pr(this,b,!0):Fr(this,b)||Fr(this,b,!0);null!=c&&a.push(c);b=b.A}return a};var ffa={};g.C(Qr,yr);g.h=Qr.prototype;g.h.ke=function(){return new g.Qd(this.ab(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.ab=function(){return null!=this.G?g.qi(this.G).width:0};
g.h.vu=function(a){return Ho().o("cleanup_text_overlay_spam_signals")?g.Jr(a,"text-image-link")?9:g.Jr(a,"text-ad-channel")?1:0:g.Jr(a,"text-image")?9:g.Jr(a,"text-ad-channel")?1:0};
g.h.Eg=function(){var a=this.Vb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.D,e="rtl";null!=d&&(e=Tya.test(Vc(d,void 0))?"rtl":"ltr");d={title:d,text:c.F+" "+c.G,dir:e,oh:this.xf()};if(e=c.getImageUrl())d.image=Oo(e),d.SG=!0,R()&&(d.SG=0==c.A||0==c.C),a=g.Ua(a.F,function(f){return f instanceof rr}),null!=a&&(d.duration=bq(a.getDuration()));
b.C&&(d.nW=b.C);this.G=Or(Vea,d);(0,g.E)(this.G.getElementsByTagName("a"),this.Kj,this);this.G.id=this.Ja;this.G.style.height=this.getHeight()+"px";return this.G};var jfa=[202,1009],ofa="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),nfa={MOAT_INIT:["://yts\\.moatads\\.com","://yts-testing\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat-secure"],MOAT_VIEWABILITY:["://[^.]*\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat"],IAS_VIEWABILITY:["://[^.]*\\.adsafeprotected\\.com",
"://[^.]*\\.test-adsafeprotected\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/ias"],DV_VIEWABILITY:["://[^.]*\\.yt\\.srs\\.doubleverify\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/doubleverify"],GOOGLE_VIEWABILITY:"://pubads\\.g\\.doubleclick\\.net ://googleads\\.g\\.doubleclick\\.net ://ad[\\.-]([a-z0-9]+\\.){0,1}doubleclick\\.net ://ade\\.googlesyndication\\.com ://pagead2\\.googlesyndication\\.com ://([a-z0-9]+[.])*youtube\\.com".split(" ")};g.h=os.prototype;g.h.Wf=function(){return null!=this.o&&this.o.Wf()?!0:0<this.ads.length&&this.A<this.ads.length-1};
g.h.Re=function(a,b){null!=this.o?tfa(this,a,b):this.Wf()?wfa(this,a,(0,g.B)(function(c){!this.Wf()||!R()&&301==c.Fb()?b(c):this.Re(a,b)},this)):b(new zo("adLoadError","The ad source contains no more ads.",1005))};
g.h.oB=function(a,b){return this.D?0<a.length?a:b:kb(b,0,1)};
g.h.ir=function(a,b,c){var d;if(!(d=null!=a.o)){var e=this.F;d=g.Ja(e.pm)&&e.pm()||e.wf||0;e=g.Ja(e.om)&&e.om()||e.vf||0;0===a.F.length&&0<a.K.length?(d=cs(a),Vo(a.K,d),d=!1):(zu(a)&&!a.ga?Du(a,"nonlinear")?ms(a,d,e):ns(a):Du(a,"linear")?ns(a):Du(a,"nonlinear")&&ms(a,d,e),d=null!=a.o)}d?(this.C++,b(a)):(b=g.Za(a.F)?Yo(NC):a.ac()?Yo(VD):Yo(sza),d=bs(b,a),dq(fga(a),"rm")?b.A=!1:Vo(a.ka,d),c(b))};
g.h.kx=function(a,b,c){var d=this.F.clone();d.A="";d.o=a.dc;d.jf=po(d.o,d.Tp);us(this,a,d,b,c)};g.C(zs,Gr);zs.prototype.ye=function(){return this.A};g.C(As,os);As.prototype.Wf=function(){if(null!=this.o&&this.o.Wf())return!0;var a=0==this.C||this.C==this.K;return 0<this.ads.length&&a&&this.A<this.ads.length-1};
As.prototype.oB=function(a,b){return b};
As.prototype.ir=function(a,b,c){var d=null==this.o?ou(a):ou(this.ads[this.A]);this.J.C=d;As.fa.ir.call(this,a,b,c)};
As.prototype.kx=function(a,b,c){this.J.C=-1;As.fa.kx.call(this,a,b,c)};g.C(Cs,g.Pn);Cs.prototype.toString=function(){return Fs(this,Cs.fa.toString.call(this))};
Cs.prototype.PB=function(){return""};
Cs.prototype.Ei=function(){return""};
Cs.prototype.clone=function(){return new Cs(this.toString())};g.h=Ns.prototype;g.h.vb=function(){return this.o.vb()};
g.h.zd=function(){return this.o.zd()};
g.h.Ad=function(){return this.o.Ad()};
g.h.ab=function(){return this.o.ab()};
g.h.getHeight=function(){return this.o.getHeight()};
g.h.Vb=function(){return this.o.Vb()};Iq("a","",function(a){a=a||{};var b=a.mi,c=a.nf;a=a.learnMoreText;return Cq('<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+" "+S("videoAdUiTopBarWithGradients")+'"><div class="'+S("videoAdUiAuthorIcon")+'"></div><div class="'+S("videoAdUiTitle")+" "+S("ellipsisText")+'"></div><div class="'+S("videoAdUiAuthorName")+" "+S("ellipsisText")+'"></div><div class="'+S("videoAdUiLearnMore")+'">'+Dq(a)+'</div><div class="'+S("videoAdUiShare")+'"></div></div><div class="'+S("videoAdUiBottomBar")+
'"><div class="'+S("videoAdUiLearnMoreText")+'">'+Dq(a)+'<div class="'+S("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+S("videoAdUiAttributionContainer")+'"><div class="'+S("videoAdUiAttribution")+'" '+Qq(br(b))+">"+Dq(b)+'</div><div class="'+S("videoAdUiAttributionIconContainer")+'"><div class="'+S("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+S("videoAdUiAdInfoPopup")+'"><div class="'+S("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+S("videoAdUiAdInfoPopupText")+
'" '+Qq(br(c))+">"+Dq(c)+'</div></div></div></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+S("videoAdUiBuffer")+'"></div><div class="'+S("videoAdUiProgress")+'"></div></div></div>')});
Iq("a","fixedDirectionality",function(a){a=a||{};var b=a.mi,c=a.nf;a=a.learnMoreText;return Cq('<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+" "+S("videoAdUiTopBarWithGradients")+'"><div class="'+S("videoAdUiAuthorIcon")+'"></div><div class="'+S("videoAdUiTitle")+" "+S("ellipsisText")+'"></div><div class="'+S("videoAdUiAuthorName")+" "+S("ellipsisText")+'"></div><div class="'+S("videoAdUiLearnMore")+'">'+Dq(a)+'</div><div class="'+S("videoAdUiShare")+'"></div></div><div class="'+
S("videoAdUiBottomBar")+'"><div class="'+S("videoAdUiLearnMoreText")+'">'+Dq(a)+'<div class="'+S("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+S("videoAdUiAttributionContainer")+'"><div class="'+S("videoAdUiAttribution")+'">'+Dq(b)+'</div><div class="'+S("videoAdUiAttributionIconContainer")+'"><div class="'+S("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+S("videoAdUiAdInfoPopup")+'"><div class="'+S("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+S("videoAdUiAdInfoPopupText")+
'">'+Dq(c)+'</div></div></div></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+S("videoAdUiBuffer")+'"></div><div class="'+S("videoAdUiProgress")+'"></div></div></div>')});
Iq("a","redesign2014q4",function(a){a=a||{};var b=a.nf,c=a.mi,d=a.infoText,e=a.O4;a=a.P4;return Cq('<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+" "+S("videoAdUiTopBarWithGradients")+'"><div class="'+S("videoAdUiAuthorIcon")+'"></div><div class="'+S("videoAdUiTopButtons")+'"><div class="'+S("videoAdUiTopButton")+" "+S("videoAdUiTopButtonInfo")+'"><div class="'+S("videoAdUiTopButtonCallout")+'"><div class="'+S("videoAdUiTopButtonTooltip")+'">'+Dq(d)+'</div></div></div><div class="'+
S("videoAdUiTopButton")+" "+S("videoAdUiTopButtonShare")+'"><div class="'+S("videoAdUiTopButtonCallout")+'"><div class="'+S("videoAdUiTopButtonTooltip")+" "+S("videoAdUiTopButtonShareTooltip")+'">'+Dq(e)+'</div></div></div><div class="'+S("videoAdUiTopButton")+" "+S("videoAdUiTopButtonWatchLater")+'"><div class="'+S("videoAdUiTopButtonCallout")+'"><div class="'+S("videoAdUiTopButtonTooltip")+'">'+Dq(a)+'</div></div></div></div><div class="'+S("videoAdUiTitle")+" "+S("ellipsisText")+'"></div><div class="'+
S("videoAdUiAuthorName")+" "+S("ellipsisText")+'"></div></div><div class="'+S("videoAdUiBottomBar")+'"><div class="'+S("videoAdUiBottomBarText")+'"><div class="'+S("videoAdUiAttributionContainer")+'"><div class="'+S("videoAdUiAttribution")+'" '+Qq(br(c))+">"+Dq(c)+'</div><div class="'+S("videoAdUiAttributionIconContainer")+'"><div class="'+S("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+S("videoAdUiAdInfoPopup")+'"><div class="'+S("videoAdUiAdInfoPopupCallout")+
'"></div><div class="'+S("videoAdUiAdInfoPopupText")+'" '+Qq(br(b))+">"+Dq(b)+'</div></div></div></div><div class="'+S("videoAdUiVisitAdvertiserLink")+'"><div class="'+S("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+S("videoAdUiVisitAdvertiserIcon")+'"></div></div></div><div class="'+S("videoAdUiBottomBarMessage")+'"></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+S("videoAdUiBuffer")+'"></div><div class="'+S("videoAdUiProgress")+'"></div></div></div>')});
Iq("b","",function(a){a=a||{};return Eq("Bu reklam\u0131 "+(""+a.qe+" saniye i\u00e7inde atlayabilirsiniz"))});
Iq("b","redesign2014q4",function(a){a=a||{};return Eq(""+a.qe+" saniye i\u00e7inde videoya ge\u00e7ebilirsiniz")});
Iq("b","forcedlinebreak",function(a){a=a||{};return Eq(""+a.qe+(" saniye i\u00e7inde"+(""+a.ej+"videoya ge\u00e7ebilirsiniz")))});
Iq("b","postroll",function(a){a=a||{};return Eq("You can skip ad in "+a.qe)});
Iq("b","postrollforcedlinebreak",function(a){a=a||{};return Eq("You can skip"+(""+a.ej+("ad in "+a.qe)))});g.C(lt,yr);var Tfa=new g.Qd(300,250);lt.prototype.Oa=function(){this.G=Math.max(0,this.G-1);nt(this)};
lt.prototype.Ma=function(){this.G=Math.min(this.za-3,this.G+1);nt(this)};
lt.prototype.Eg=function(){return this.W};g.C(qt,yr);var Vfa=new g.Qd(300,250);qt.prototype.Eg=function(){return this.G};var rt=g.de&&Wfa();g.C(Lt,Gr);Mt.prototype.parse=function(a){a=ue(a);var b=Dt(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw Yo(qza);a=a.getAttribute("offset");a=Jt(a);if("skippable"==c&&null==a)throw Yo(pza);return new Lt(c,a)};g.C(Nt,Gr);g.C(Ot,Gr);g.h=Qt.prototype;g.h.Ad=function(){if(null!=Iu(this))return"application/javascript";if(null!=Ju(this))return"application/x-shockwave-flash";var a=this.o,b="";if(null===a)return b;if(a instanceof rr)a=a.D,null===a||(b=g.H(a.o));else if(a instanceof yr)switch(a.M){case "IFrame":case "Html":case "Static":b=g.H(a.ua)}return b};
g.h.getExtension=function(a,b){if(b&&this.A){var c=this.A.getExtension(a,!0);if(c)return c}return this.Y.get(a)};
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()};
g.h.ac=function(){return this.ya?this.xa:Eu(this)?!0:zu(this)?"video"==this.Qb:Du(this,"linear")};
g.h.isSkippable=function(){return null!=Gu(this)};
g.h.VM=function(){return this.ga};
g.h.getDuration=function(){return Au(this)};
g.h.xh=function(){var a=null,b=this.o;null!=b&&(a=b.xh(),g.G(g.H(a))&&(a=null));return a};
g.h.ab=function(){return this.ac()?0:this.ba.width};
g.h.getHeight=function(){return this.ac()?0:this.ba.height};
g.h.We=function(){return this.Xa};
g.h.toString=function(){return"Ad: "+this.za};g.C(Pu,g.rg);Pu.prototype.A=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new to("companionImpression",this.o));break;case "companion_click":this.dispatchEvent(new to("companionClick",this.o))}};g.C(Qu,g.rg);g.h=Qu.prototype;g.h.Cb=function(a){null==a||this.G||(this.Bi=a,qga(this),this.G=!0)};
g.h.dd=function(){null!=this.Bi&&this.G&&(Ru(this),this.F=this.J=this.G=!1,this.o=0,this.C=[],this.H=!1)};
g.h.eU=function(a){this.J=!0;this.o=a.touches.length;this.A&&(window.clearTimeout(this.A),this.A=0,this.L=!0);(this.H=Su(this,a.touches)||1!=a.touches.length)?this.W=this.M=Infinity:(this.M=a.touches[0].clientX,this.W=a.touches[0].clientY);rga(this,a.touches)};
g.h.dM=function(a){this.o=a.touches.length;if(!mp(8)||Math.pow(a.changedTouches[0].clientX-this.M,2)+Math.pow(a.changedTouches[0].clientY-this.W,2)>Math.pow(5,2))this.F=!0};
g.h.dU=function(a){this.D?this.ju():(!this.J||1!=this.o||this.F||this.L||this.H||!Su(this,a.changedTouches)||(this.A=window.setTimeout((0,g.B)(this.ju,this),300)),this.o=a.touches.length,0==this.o&&(this.F=this.J=!1,this.C=[]),this.L=!1)};
g.h.mC=function(){this.ju()};
g.h.ju=function(){this.A=0;this.dispatchEvent(new g.Qf("click"))};
g.h.V=function(){this.dd();this.B.dispose();this.B=null;Qu.fa.V.call(this)};var tga=/#(.)(.)(.)/,sga=/^#(?:[0-9a-f]{3}){1,2}$/i;var vga=/#(.)(.)(.)(.)/,uga=/^#(?:[0-9a-f]{4}){1,2}$/i;g.C(g.Wu,g.rg);g.h=g.Wu.prototype;g.h.sb=function(){return 1==this.o};
g.h.Rq=function(){this.Me("begin")};
g.h.En=function(){this.Me("end")};
g.h.Gd=function(){this.Me("finish")};
g.h.Me=function(a){this.dispatchEvent(a)};var xza=Pc(function(){if(g.de)return g.Lc("10.0");var a=g.ke("DIV"),b=g.fe?"-webkit":g.Zh?"-moz":g.de?"-ms":g.Sf?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Bd.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in Uya)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Cd("div",b,void 0);g.Fd(a,b);return""!=$h(a.firstChild,"transition")});g.C(Yu,g.Wu);g.h=Yu.prototype;g.h.play=function(){if(this.sb())return!1;this.Rq();this.Me("play");this.startTime=(0,g.J)();this.o=1;if(xza())return g.Xh(this.A,this.G),this.B=g.ch(this.VU,void 0,this),!0;this.Hu(!1);return!1};
g.h.VU=function(){g.pi(this.A);Xu(this.A,this.F);g.Xh(this.A,this.C);this.B=g.ch((0,g.B)(this.Hu,this,!1),1E3*this.D)};
g.h.stop=function(){this.sb()&&this.Hu(!0)};
g.h.Hu=function(a){g.Xh(this.A,"transition","");g.dh(this.B);g.Xh(this.A,this.C);this.endTime=(0,g.J)();this.o=0;a?this.Me("stop"):this.Gd();this.En()};
g.h.V=function(){this.stop();Yu.fa.V.call(this)};
g.h.pause=function(){};g.C(Zu,g.rg);Zu.prototype.V=function(){null!=this.jj&&(g.dh(this.jj),this.jj=null);null!=this.Ze&&(g.qe(this.Ze),this.Ze=null);Zu.fa.V.call(this)};
Zu.prototype.D=function(){this.jj=null;$u(this,!1);this.jj=g.ch((0,g.B)(function(){this.jj=null;av(this,!1);null!=this.Ze&&g.N(this.Ze,!1);bv(this,"complete")},this),200)};
Zu.prototype.show=function(a){bv(this,"impression");$u(this,!0);av(this,!0);null!=this.Ze&&g.N(this.Ze,!0);this.jj=g.ch(this.D,a,this)};
Zu.prototype.F=function(a){R()||a.stopPropagation()};g.C(cv,Gr);g.C(ev,Gr);g.h=fv.prototype;
g.h.jF=function(){var a={heading:"",targetingReasons:[],learnMore:"",qu:"",control:"",mute:"",vy:this.F};if(null!=this.B){a.heading=this.B.D;var b=this.B.C;if(b&&3==b.length){var c=b[1],d=b[2];b=Cq(Dq(b[0])+ft()+Dq(c)+Cq("</a>")+Dq(d));a.qu=b}b=g.ib(this.B.F);a.targetingReasons=b;for(c=0;c<b.length;c++)if(d=b[c],"string"===typeof d&&-1<d.indexOf("|")){var e=this.B.L;d=Cq(Dq(d.substring(0,d.length-2))+" <a href='"+S(Yq("https://support.google.com/ads/answer/7029660#match"))+"' target='_blank'>"+Dq(e)+
"</a>");b[c]=d}a.close=this.B.B}else a.heading=Cq("Bu reklam \u015funa g\u00f6re se\u00e7ilmi\u015f olabilir:"),a.qu=gt({nA:ft(),eB:Cq("</a>")}),a.targetingReasons=Q.Y?[jt(),Cq("Google oturumunuz a\u00e7\u0131kken ger\u00e7ekle\u015ftirdi\u011finiz i\u015flemler.")]:[jt(),Cq("Bu cihazda ger\u00e7ekle\u015ftirdi\u011finiz i\u015flem.")],b=Cq("Kapat"),a.close=b;null!=this.A&&(a.mute=this.A.B);jv(this,Pfa,a);iv(this,"videoAdUiWhyThisAdCloseButton",this.Pj);iv(this,"videoAdUiWhyThisAdControl",this.aB);
iv(this,"videoAdUiWhyThisAdMute",this.PU);a=this.aB;b=g.Zd("videoAdUiWhyThisAdGenericMessage",this.o);null!=b&&(b=b.getElementsByTagName("A")[0],null!=b&&this.Z.X(b,"click",a))};
g.h.Pj=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);null!=this.o&&(null!=this.C&&(gv(this,"why_this_ad_got_it"),this.C.dispose(),this.C=null),this.o.parentElement.removeChild(this.o),this.o=null)};
g.h.aB=function(){gv(this,"why_this_ad_settings_url")};
g.h.PU=function(){if(null!=this.A){gv(this,"mute_interaction_url");var a=dv(this.A);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};jv(this,Rfa,b);iv(this,"videoAdUiMuteCancel",this.jF);iv(this,"videoAdUiMuteConfirm",this.hK)}else{gv(this,"mute_url");b={heading:this.A.C,undo:this.A.F,question:this.A.D,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.A?(c=gr(this.A.o,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.A.A[c].label);
jv(this,Qfa,b);iv(this,"videoAdUiMuteUndo",this.aW);iv(this,"videoAdUiMuteConfirm",this.QV);iv(this,"videoAdUiMuteCancel",this.Wt)}}};
g.h.hK=function(){gv(this,"mute_url");this.Wt()};
g.h.aW=function(){gv(this,"mute_undo_url");this.Pj()};
g.h.QV=function(){if(null!=this.A){for(var a=dv(this.A),b=!1,c=0;c<a;c++){var d=g.Zd("videoAdUiMuteOption"+c,this.o);if(null!=d&&d.checked){b=!0;Ro(this.A.A[c].url);break}}if(!b)return}this.Wt()};
g.h.Wt=function(){gv(this,"MUTE_AD");this.Pj()};g.C(rv,g.rg);var yga={1:"videoAdUiBrandInteractionHorizontalRect"},xga=[1],Cga=[1],Aga={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};rv.prototype.update=function(){this.F||(this.dispatchEvent("feedbackShown"),this.B=ov(this.A,.5),g.M(this,this.B),this.B.play(),g.N(this.A,!0),this.F=!0,Ega(this))};
rv.prototype.H=function(a){R()||a.stopPropagation();a=a.target.Bi;null!=a&&(Nr(a,"selected")?(g.T(this.A,"optionSelected"),null!=this.C&&g.Lr(this.C,"selected"),this.C=a):(g.Lr(this.A,"optionSelected"),this.C=null),a=null!=this.C?g.Jr(this.C,"videoAdUiBrandInteractionLikeButton")?"l":g.Jr(this.C,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n","l"==a?this.dispatchEvent("feedbackLike"):"d"==a&&this.dispatchEvent("feedbackDislike"),this.J&&(pv(this.A).play(),g.ch(function(){g.N(this.A,!1)},500,
this)),null!=this.o&&(null!=tf(this.o,Ef,15)?Fga(this):Gga(this)))};
rv.prototype.V=function(){null!=this.A&&(g.qe(this.A),this.A=null);this.C=null;rv.fa.V.call(this)};g.C(uv,g.rg);uv.prototype.D=function(){this.o?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
uv.prototype.V=function(){this.Z.dispose();this.Z=null;uv.fa.V.call(this)};g.C(vv,g.rg);vv.prototype.V=function(){null!=this.C&&(g.qe(this.C),this.C=null);vv.fa.V.call(this)};
vv.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.G=1;else if(1==this.G)ov(this.C,.5).play(),g.N(this.C,!0),this.G=2;else{var c=Math.round(b-a);this.F?wv(this,this.L,c):this.B?wv(this,this.o,c):this.K&&5<a&&(this.K=!1,g.N(this.o,!1))}};
vv.prototype.M=function(){g.si(this.o)||g.N(this.o,!0)};g.C(g.xv,g.L);g.h=g.xv.prototype;g.h.start=function(){this.stop();this.C=!1;var a=yv(this),b=zv(this);a&&!b&&this.o.mozRequestAnimationFrame?(this.Ja=g.cg(this.o,"MozBeforePaint",this.A),this.o.mozRequestAnimationFrame(null),this.C=!0):this.Ja=a&&b?a.call(this.o,this.A):this.o.setTimeout(waa(this.A),20)};
g.h.dk=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=yv(this),b=zv(this);a&&!b&&this.o.mozRequestAnimationFrame?g.mg(this.Ja):a&&b?b.call(this.o,this.Ja):this.o.clearTimeout(this.Ja)}this.Ja=null};
g.h.isActive=function(){return null!=this.Ja};
g.h.XK=function(){this.C&&this.Ja&&g.mg(this.Ja);this.Ja=null;this.D.call(this.B,(0,g.J)())};
g.h.V=function(){this.stop();g.xv.fa.V.call(this)};g.C(g.V,g.L);g.h=g.V.prototype;g.h.Ja=0;g.h.V=function(){g.V.fa.V.call(this);this.stop();delete this.o;delete this.A};
g.h.start=function(a){this.stop();this.Ja=g.ch(this.C,g.v(a)?a:this.Ed)};
g.h.stop=function(){this.isActive()&&g.dh(this.Ja);this.Ja=0};
g.h.isActive=function(){return 0!=this.Ja};
g.h.QB=function(){this.Ja=0;this.o&&this.o.call(this.A)};(function(){if(Cya){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Jb))?a[1]:"0"}return rT?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Jb))?a[0].replace(/_/g,"."):"10"):g.np?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Jb))?a[1]:""):gp||hp||Pya?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Jb))?a[1].replace(/_/g,"."):""):""})();g.C(Ev,g.rg);g.h=Ev.prototype;g.h.V=function(){g.Of(this.B);this.B=null;g.Of(this.J);this.J=null;null!=this.C&&(g.qe(this.C),this.C=null);null!=this.skipButton&&(this.skipButton=null);null!=this.A&&(g.qe(this.A),this.A=null);this.W.dispose();this.W=null;this.lc.dispose();this.lc=null;Ev.fa.V.call(this)};
g.h.update=function(a,b){this.ia=b;this.Vt(a);2==this.state&&Dv(this,a)};
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.ga?!1:(this.ga=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};
g.h.Vt=function(a){if(!(0>=this.ia||null==this.config.skipOffset||0>kr(this.config.skipOffset))){var b=kr(this.config.skipOffset);b>=this.ia||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(Dv(this,0),ov(this.C,.5).play(),g.N(this.C,!0)),this.state=2):(3!=this.state&&this.fA(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.fA=function(){g.N(this.A,!0);this.J=Fv(this.C);this.J.play();this.B=ov(this.A,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.MV=function(a){R()||a.stopPropagation();3!=this.state||this.ga||(this.ga=!0,this.dispatchEvent("skip"))};g.C(Lv,Ev);var Hv={kB:0,jB:1},Iv={kB:1,jB:0},Jv={UA:15},Kv={UA:300};g.h=Lv.prototype;g.h.V=function(){Lv.fa.V.call(this);Nv(this);Pv(this)};
g.h.Vt=function(a){Lv.fa.Vt.call(this,a);if(3==this.state&&!this.aa&&!this.ka){var b=Rv(this.Y,this.o);if(a=Qv(a,this.config,this.Y))if(this.H==this.L.kB&&a>=b)switch(this.L){case Hv:Mv(this);break;case Iv:Ov(this,!0)}else if(this.H==this.L.jB&&a<b)switch(this.L){case Iv:Mv(this);break;case Hv:Ov(this,!0)}}};
g.h.fA=function(){g.N(this.A,!0);this.J=Fv(this.C);this.J.play();if(this.aa)var a=!1;else{a=Rv(this.Y,this.o);var b=Qv(kr(this.config.skipOffset),this.config,this.Y);if(null!=b){var c=!1;switch(this.L){case Iv:c=b<a;break;case Hv:c=b>=a}a=c}else a=!1}a?(this.H=1,this.B=nv(this.A,.5,"ease-in",0,this.ea)):this.B=ov(this.A,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus();this.aa||(this.lc.X(g.ve(this.A),"mouseover",this.UP),this.lc.X(g.ve(this.A),"mouseout",this.TP))};
g.h.UP=function(){Pv(this);0!=this.H&&Ov(this,!1);this.ka=!0};
g.h.TP=function(){Pv(this);this.M=g.ch(function(){this.ka=!1;this.M=null},5E3,this)};Sv.prototype.getDuration=function(){return this.A};
Sv.prototype.zd=function(){return this.o};
Sv.prototype.display=function(a){this.B=a;this.B.appendChild(this.o);Tv(this);g.N(this.o,!1)};
Sv.prototype.update=function(a,b){var c=null!=this.G?kr(this.G):0;this.A=0<=this.A?this.A:b;c<=a&&c+this.A>=a?Iga(this):g.N(this.o,!1)};g.C(Uv,g.rg);g.h=Uv.prototype;g.h.show=function(){null!=this.o&&g.N(this.o,!0)};
g.h.skip=function(){var a;if(a=null!=this.A)a=this.A,a=null!=a.config.skipOffset&&3==a.state;return a?this.A.skip():!1};
g.h.V=function(){null!=this.o&&(g.qe(this.o),this.o=null);null!=this.wa.C&&this.wa.C.Pj();Vv(this);(0,g.E)(this.Y,function(a){a.dd()});
this.Y=[];this.C=null;this.Z.dispose();this.Z=null;Uv.fa.V.call(this)};
g.h.update=function(a,b,c,d,e){null!=this.o&&(null!=this.za&&aw(this,a,c,d,e),null!=this.ha&&g.ni(this.ha,a/c*100+"%"),null!=this.Ra&&g.ni(this.Ra,b/c*100+"%"),0<c&&null!=this.wa.skipOffset&&null!=this.A&&(jr(this.wa.skipOffset,c),this.A.update(a,c)),0<c&&null!=this.M&&this.M.update(a),0<c&&null!=this.H&&this.H.update(a,c),this.wa.P&&0<c&&5>c-a&&g.T(this.ea,"videoAdUiTopBarNoFade"),(0,g.E)(this.ua,function(f){f.update(a,c)},this))};
g.h.Qm=function(a){this.ga=!this.wa.L&&R();this.Oa=!R()&&Q.Oa;var b="";this.ga?b="redesign2014q4":this.Oa&&(b="fixedDirectionality");b={mi:this.wa.mi,learnMoreText:this.wa.learnMoreText,nf:this.wa.nf,tp:b};this.o=Or(this.wa.K,b);this.wa.ya||this.Z.X(this.o,"touchmove",this.qM);this.ha=g.Zd("videoAdUiProgress",this.o);this.Ra=g.Zd("videoAdUiBuffer",this.o);this.J=g.Zd("videoAdUiAttributionContainer",this.o);this.xa=g.Zd("videoAdUiAttributionIconContainer",this.o);this.za=g.Zd("videoAdUiAttribution",
this.o);this.ka=g.Zd("videoAdUiVisitAdvertiserLink",this.o);this.B=g.Zd("videoAdUiVisitAdvertiserLinkText",this.o);Ho().o("ads_backend_enable_proper_visit_advertiser_click_area_on_ima_desktop")&&(this.ka&&g.T(this.ka,"matchBulleitClickArea"),this.B&&g.T(this.B,"matchBulleitClickArea"));this.aa=g.Zd("videoAdUiVisitAdvertiserIcon",this.o);g.Zd("videoAdUiBottomBarMessage",this.o);this.L=g.Zd("videoAdUiAuthorIcon",this.o);this.D=g.Zd("videoAdUiAuthorName",this.o);this.F=g.Zd("videoAdUiLearnMore",this.o);
this.P=g.Zd("videoAdUiLearnMoreText",this.o);this.ga?(this.K=g.Zd("videoAdUiTopButtonShare",this.o),this.Ma=g.Zd("videoAdUiTopButtonShareTooltip",this.o),this.Ia=g.Zd("videoAdUiTopButtonInfo",this.o),this.Sa=g.Zd("videoAdUiTopButtonWatchLater",this.o)):this.K=g.Zd("videoAdUiShare",this.o);this.G=g.Zd("videoAdUiTitle",this.o);this.ea=g.Zd("videoAdUiTopBar",this.o);this.ma=g.Zd("videoAdUiBottomBar",this.o);null!=this.L&&this.Z.X(this.L,"click",this.PJ);if(null!=this.D){var c=new Qu;this.Y.push(c);this.Z.X(c,
"click",this.QJ);c.Cb(this.D)}null!=this.F&&(c=new Qu,c.D=!0,this.Y.push(c),this.Z.X(c,"click",this.JC),c.Cb(this.F));null!=this.P&&(c=new Qu,c.D=!0,this.Y.push(c),this.Z.X(c,"click",this.JC),c.Cb(this.P));null!=this.K&&this.Z.X(this.K,"click",this.IV);null!=this.G&&(c=new Qu,this.Y.push(c),this.Z.X(c,"click",this.VV),c.Cb(this.G));null==this.ea||!R()&&fp()||this.Z.X(this.o,"mouseover",this.FV);null!=this.B&&this.Z.X(this.B,"click",this.rs);null!=this.aa&&this.Z.X(this.aa,"click",this.rs);null!=this.J&&
null!=this.wa.C&&(g.T(this.J,"videoAdUiWtaClickable"),this.Z.X(this.J,"click",this.Xw),this.Z.X(this,"why_this_ad_got_it",this.Hy));this.wa.breakType=this.Ga;if(null!=this.wa.skipOffset)this.A=R()?new Lv(this.wa,this.o):new Ev(this.wa,this.o),this.A.bi(this),this.A.ua=b.tp;else if(this.wa.aa&&!(3==this.Ga&&3500>this.ba)){if(3==this.Ga||this.wa.A)this.wa.Y=!0;this.H=new vv(this.wa,this.o);g.M(this,this.H);this.H.bi(this)}this.wa.J&&(this.ia=new Zu(this.wa,this.o),g.M(this,this.ia),this.ia.bi(this));
b=this.wa;b.Ia?(b=b.o,b=R()&&null!=b&&null!=mf(b,1)&&null!=mf(Kf(b),3)&&qf(tf(Kf(b),Df,3),1)?!0:!1):b=!1;b&&(this.M=new rv(this.wa,this.o),this.Z.X(this.M,"yt-show-toast",this.VJ),this.Z.X(this.M,"feedbackShown",this.Ft),this.Z.X(this.M,"feedbackLike",this.Ft),this.Z.X(this.M,"feedbackDislike",this.Ft));this.wa.ka&&(this.W=new uv,this.W.bi(this),this.ma.insertBefore(this.W.A,this.J));400>=(parseInt(ai(a,"width"),10)||a.width)&&g.T(this.o,"videoAdUi-mobile");this.wa.L&&(g.T(this.o,"blazer"),g.T(this.o,
"blazer-ui-for-cougar"),window.settings&&window.settings.isTablet||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.IS_TABLET?(g.T(this.o,"tablet"),(window.settings&&window.settings.customControls||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.USE_CUSTOM_CONTROLS)&&g.T(this.o,"customControls")):g.T(this.o,"phone"));b=g.Fe(a,"html5-video-player");null!=b&&(this.ga&&g.T(b,"videoAdUiRedesign"),g.U(b,"ytp-video-ad-learn-more-ui",this.wa.G));g.N(this.o,!1);a.appendChild(this.o);this.wa.G||this.ga||
!this.wa.ha||(this.C=g.ie("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.o.appendChild(this.C));aw(this,0,this.ba/1E3,1,1);$v(this)};
g.h.PJ=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.QJ=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.XL=function(a){var b=a.H;a=a.J;g.G(g.H(b))||this.dispatchEvent(new to("videoIconClicked",null,{clickThroughUrl:b}));(0,g.E)(a,function(c){Ro(c)})};
g.h.JC=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.IV=function(){this.dispatchEvent("videoShareClicked")};
g.h.VV=function(){this.dispatchEvent("videoTitleClicked")};
g.h.qM=function(a){a.preventDefault()};
g.h.rs=function(){this.dispatchEvent("click")};
g.h.VJ=function(a){this.dispatchEvent(a)};
g.h.Ft=function(a){this.dispatchEvent(a.type)};
g.h.bb=function(){null!=this.ua&&(0,g.E)(this.ua,function(a){Tv(a)},this)};
g.h.FV=function(){g.T(this.ea,"videoAdUiTopBarTransitions")};
g.h.Xw=function(){var a=g.Fe(this.o,"html5-video-player");null!=a&&(hv(this.wa.C,a,this),null!=this.A&&Gv(this.A,!1),null!=this.H&&(a=this.H,null!=a.A&&g.N(a.A,!1)))};
g.h.Hy=function(){null!=this.A&&Gv(this.A,!0);if(null!=this.H){var a=this.H;null!=a.A&&g.N(a.A,!0)}};g.C(bw,g.L);bw.prototype.report=function(a,b){var c=b||lr(this.C,a.type);if(Q.o){var d=kq(gq(),a.type,this.B);this.K(a.type,c,d)}else yea(Op(),a.type,this.B,(0,g.B)(this.K,this,a.type,c))};
bw.prototype.K=function(a,b,c){c=g.hc(c||{});if("timeout"==(c.viewability||"")){var d=this.H[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.J&&null!=this.F&&0<this.F.length){d=Q.H&&g.Ya(this.G,"impression");var e=cw(this,this.F,c);ew(this,e,d);this.J=!0}Mga(this,a)&&0<b.length&&(d=Q.H&&g.Ya(this.G,a),b=cw(this,b,c),ew(this,b,d),this.A.set(a,!0))};g.C(fw,g.rg);g.h=fw.prototype;g.h.zm=function(){if(this.tb()){var a=Mu(this.Ac);if(null!=a)return a}return""};
g.h.ym=function(){if(this.tb()){var a=Nu(this.Ac);if(null!=a)return a}return""};
g.h.sf=function(){return g.Za(this.ads)?null:this.ads[0]};
g.h.va=function(){if(this.tb()){if(this.Ac.isSkippable()&&!up())throw Zo(iD,null,"skippablevideo");if(null!=Iu(this.Ac)&&hw(this,this.Ac.A))throw Zo(iD,null,"vpaidWithSkippabilityOverride");return this.Ac}throw Zo(lw,null,"An ad has not been selected.\n"+Error().stack);};
g.h.tb=function(){return null!==this.Ac};
g.h.pj=function(){var a=Xa(this.ads,this.Ac);-1!=a&&++a<this.ads.length?gw(this,this.ads[a]):gw(this,null)};
g.h.Km=function(){var a=Xa(this.ads,this.Ac);return-1==a?!1:a+1<this.ads.length};
g.h.Re=function(){if(!this.Km())return null;var a=Xa(this.ads,this.Ac)+1;return this.ads[a]};
g.h.wh=function(a){var b=a.A;if(b&&b.ua&&(b=b.F,!g.Za(b)&&b[0]instanceof rr))return b[0].wh();b=a.o;return jw(a)?b.wh():[]};
g.h.Dr=function(){if(!this.tb()){if(g.Za(this.ads))throw Zo(VD);gw(this,this.ads[0]);if(null==this.Ac.o)throw Yo(VD);}};
g.h.ra=function(a,b){var c=this.tb()?this.va():null;this.dispatchEvent(new to(a,c,b))};
g.h.eh=function(a){this.fe=a};
g.h.Za=function(){null==this.lc&&(this.lc=new g.fo(this));return this.lc};
g.h.XQ=function(){};
g.h.Ow=function(){};
g.h.Rd=function(a){if(null!=this.fe){g.lo(this.Le);this.Le.Nh(this.fe,"companion_display_error",function(){});
var b=this.fe.Rd(a);null!=b&&(this.Le.X(b,"companion_impression",this.XQ),this.Le.X(b,"companion_click",this.Ow),R()&&(a=new Pu(a,b),this.ra("companionInitialized",a)));if(!this.fe.iA())throw Zo(g1);}};
g.h.destroy=function(){this.dispose()};
g.h.V=function(){this.tb()&&(ls(this.Ac,null),this.Ac=null);g.Of(this.lc);this.fe=this.lc=null;this.hp=!1;Q.o?lq(gq(),this.ts):Op().G=null;this.Ta&&(g.Of(this.Ta),this.Ta=null);fw.fa.V.call(this)};
g.h.Qe=function(){return[]};
g.h.Ab=function(){return this.ads[0]};
g.h.pk=function(){(0,g.E)(this.ads,function(a){for(var b,c=a.getExtension("sodar");!c&&(a=a.A);)c=a.getExtension("sodar");if(b=c){c=b.B;var d=b.C;a=b.D;var e=b.A;if(c&&d&&a&&e){b=window;var f="//pagead2.googlesyndication.com/bg/"+g.sc(a)+".js";a=b.document;var k={};d&&(k._scs_=d);k._bgu_=f;k._bgp_=e;k._li_="v_h.0.0.0";(d=b.GoogleTyFxhY)&&"function"==typeof d.push||(d=b.GoogleTyFxhY=[]);d.push(k);d=Wd(a).createElement("SCRIPT");d.type="text/javascript";d.async=!0;c=Gaa(g.Uc("//tpc.googlesyndication.com/sodar/%{path}"),
{path:g.sc(c)+".js"});Id(d,c);a.getElementsByTagName("head")[0].appendChild(d)}}})};
g.h.init=function(a){mw(this);this.Ec(a);this.Ae=!0;this.Ok();Q.o||(a=this.ts,Op().G=a)};
g.h.Ok=function(){this.ra("loaded")};
g.h.bl=function(a){this.tb()&&R()&&Vo($t(this.va()),a)};
g.h.VF=g.A;g.h.Zc=function(a,b,c){if(!this.hp){if(null==a)throw Zo(Up,null,"displayContainer");null!=c&&this.hf(c);this.content=b;this.Na=a;this.Dr();this.La=this.Na.Nm(iw(this));this.hp=!0}};
g.h.ah=function(a){a=dq(Rt(a),"rm")?a.K:$t(a);(0,g.E)(a,function(b){g.bb(this.jc.F,b)},this)};
g.h.pg=function(a,b){(0,g.E)(b,function(c){c=or(a,c);hr(this.jc.C,c)},this)};
g.h.Wk=function(a){if(a instanceof rr){var b=sr(a);(0,g.E)(b.Gb(),function(c){var d=b.get(c);(0,g.E)(d,function(e){ir(this.jc.C,c,e)},this)},this)}};
g.h.Ha=function(a){this.jc.report(new g.Qf(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Uc=function(){return-1};
g.h.sb=function(){return null!=this.La?this.La.sb():!1};
g.h.bb=function(a,b,c){this.Ec(c)};
g.h.pause=g.A;g.h.resume=g.A;g.h.skip=g.A;g.h.muteAdClicked=g.A;g.h.muteAd=g.A;g.h.whyThisAdClicked=g.A;g.h.whyThisAdClosed=g.A;g.h.hf=function(a){if(null==a||!Nga(this,a))throw Zo(Up,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Ua;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.Mm&&(a.Mm=[]);Oga(a.Mm);if(!g.Ca(a.fg)||0>=a.fg)a.fg=1E4;g.kc(b,a)};
g.h.start=function(){mw(this);if(!this.Ae)throw Yo(lw,null,"Must call init before start.");};
g.h.stop=function(){this.destroy()};
g.h.getVolume=function(){return null!=this.volume?this.volume:0};
g.h.setVolume=function(a){(isNaN(a)||0>a||1<a)&&bp(this,Up,null,"volume",String(a));this.volume=a};
g.h.expand=function(){mw(this);this.Ec("fullscreen")};
g.h.collapse=function(){mw(this);this.Ec("normal")};
g.h.Ec=function(a){if(!g.Yb(oza,a))throw Zo(Up,null,"view mode",a);this.fd=a};
g.h.Cc=function(){return this.hp};
g.h.hasListeners=function(a){return(0,g.Fj)(a,function(b){if(g.Wf(this))b=this.hasListener(b,void 0);else{var c=g.gg(this);b=!!c&&c.hasListener(b,void 0)}return b},this)};
g.h.xh=function(){return null};
g.h.ck=function(){return null};
g.h.YF=function(){return null};
g.h.Pe=function(){return null};
g.h.Ff=function(){this.Ha("abandon")};
g.h.WK=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.sb(),isVpaid:this.tb()&&null!=Iu(this.va()),isYouTube:R(),volume:this.getVolume()}};
g.h.uk=function(a){do if(zu(a))return!1;while(a=a.A);return!0};
g.h.Um=function(){for(var a=0;a<this.ads.length;++a)if(!this.uk(this.ads[a]))return!1;return fp()};
g.h.eV=function(a){var b=g.gb(d1,g.Ub(f1));nb(b);(0,g.E)(b,function(c){var d=gr(a.o,c);g.Za(d)||this.tx(c,d)},this);
Lga(this.jc,a.J)};
g.h.tx=function(a,b){(0,g.E)(b,function(c){var d=c.Zb();c=c.Wa();ir(this.jc.C,d,c)},this)};
g.h.FR=function(a){this.Ua.VA||(a=a.o,null!=a&&(a=a.clickThroughUrl,null!=a&&(Qo(a),this.pause())))};
g.h.Pk=function(a){var b=a.type;if(g.Ya(e1,b)){if("externalActivityEvent"==b&&(b=a.o.eventName,!f1[b]))return;kw(this,b)}};var rw=["classid","data","movie","type","typemustmatch"];g.Ea(g.tw);g.tw.prototype.o=0;g.C(g.uw,g.rg);g.h=g.uw.prototype;g.h.ZL=g.tw.getInstance();g.h.getId=function(){return this.Ja||(this.Ja=":"+(this.ZL.o++).toString(36))};
g.h.sa=function(){return this.o};
g.h.bi=function(a){if(this.D&&this.D!=a)throw Error("Method not supported");g.uw.fa.bi.call(this,a)};
g.h.Np=function(){this.o=this.J.createElement("DIV")};
g.h.Tj=function(){this.af=!0;ww(this,function(a){!a.af&&a.sa()&&a.Tj()})};
g.h.im=function(){ww(this,function(a){a.af&&a.im()});
this.F&&g.lo(this.F);this.af=!1};
g.h.V=function(){this.af&&this.im();this.F&&(this.F.dispose(),delete this.F);ww(this,function(a){a.dispose()});
this.o&&g.qe(this.o);this.D=this.o=this.G=this.L=null;g.uw.fa.V.call(this)};
g.h.zd=function(){return this.o};
g.h.removeChild=function(a,b){if(a){var c=g.x(a)?a:a.getId();a=this.G&&c?fc(this.G,c)||null:null;if(c&&a){ec(this.G,c);g.db(this.L,a);b&&(a.im(),a.o&&g.qe(a.o));c=a;if(null==c)throw Error("Unable to set parent component");c.D=null;g.uw.fa.bi.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.C(xw,g.uw);g.h=xw.prototype;g.h.kb=null;g.h.ys="window";g.h.No="sameDomain";g.h.setSize=function(a,b){this.B=g.x(a)?a:Math.round(a)+"px";this.C=g.x(b)?b:Math.round(b)+"px";this.sa()&&g.oi(yw(this),this.B,this.C);return this};
g.h.Tj=function(){xw.fa.Tj.call(this);for(var a=this.sa(),b=this.A.Gb(),c=this.A.wb(),d=[],e=0;e<b.length;e++){var f=g.qc(b[e]),k=g.qc(c[e]);d.push(f+"="+k)}b=d.join("&");if(g.de&&!g.Mc(11)){d=this.H;c={allowFullScreen:"true",AllowScriptAccess:this.No,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.ys};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};Pga(b,c);e={allownetworking:"none",allowscriptaccess:"never",movie:d};
d={};for(l in e)d[l]=e[l];for(l in c)f=l.toLowerCase(),f in e&&delete d[f],d[l]=c[l];c=[];for(l in d)c.push(Cd("param",{name:l,value:d[l]}));var l=Dd({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=Cd("object",l,c)}else l={AllowScriptAccess:this.No,allowFullScreen:"true",allowNetworking:"all",bgcolor:"#000000","class":"goog-ui-media-flash-object",FlashVars:b,id:this.getId(),name:this.getId(),quality:"high",SeamlessTabbing:"false",wmode:this.ys},l=Dd({src:this.H,type:"application/x-shockwave-flash",
pluginspage:"https://www.macromedia.com/go/getflashplayer"},{allownetworking:"none",allowscriptaccess:"never"},l),l=Cd("embed",l);g.Fd(a,l);this.B&&this.C&&this.setSize(this.B,this.C);this.Z.X(this.sa(),g.Ub(Wya),Rf)};
g.h.Np=function(){if(null!=this.K&&!(0<=g.Ib(aD,this.K)))throw Error("Method not supported");var a=this.J.createElement("DIV");a.className="goog-ui-media-flash";this.o=a};
g.h.V=function(){xw.fa.V.call(this);this.A=null;this.Z.dispose();this.Z=null};
g.h.Jb=function(){return this.af&&this.sa()?g.xO&&yw(this).readyState&&"complete"==yw(this).readyState||yw(this).readyState&&4==yw(this).readyState||"PercentLoaded"in yw(this)&&100==yw(this).PercentLoaded()?!0:!1:!1};g.C(zw,g.rg);var yza=bd(g.Uc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));bd(g.Uc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));g.h=zw.prototype;g.h.dispose=function(){this.o&&(this.o.dispose(),this.A=null);window[this.C]&&delete window[this.C];g.dh(this.B)};
g.h.load=function(a,b,c,d){window[this.C]=(0,g.B)(this.bM,this);this.o=new xw(yza);this.o.setSize(b,c);this.o.No="always";this.o.ys="transparent";this.o.A.set("vpaid",a);this.o.A.set("vpaidEventHandler",this.C);vw(this.o,this.F);this.A=yw(this.o);this.B=g.ch(this.cM,d,this)};
g.h.aM=function(a){if(!this.A)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.D&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.A[c])return this.A[c].apply(this.A,b)}catch(d){}return null};
g.h.bM=function(a,b){"AdLoaded"==a&&(g.dh(this.B),this.D=!0);this.dispatchEvent(new cp(a,b||null))};
g.h.cM=function(){this.dispatchEvent("loadError")};g.C(Cw,yr);Cw.prototype.Eg=function(){var a=this.gv();a=null!=a&&"clicktag"==a.toLowerCase();a={url:Oo(g.H(this.A)),width:this.ab(),height:this.getHeight(),oh:this.xf(),capture:this.sA||!a};var b=R()&&dq(this.H,"hideMaster")?cr:Wea;a=Or(b,a);a.style.width=this.ab()+"px";a.style.height=this.getHeight()+"px";a.id=this.Ja;(0,g.E)(a.getElementsByTagName("object"),this.Kj,this);(0,g.E)(a.getElementsByTagName("a"),this.Kj,this);return a};g.C(Dw,yr);Dw.prototype.Eg=function(){var a=g.ie("DIV");a.innerHTML=this.A;this.Kj(a);return Cr(this,a)};g.C(Ew,yr);Ew.prototype.vb=function(){var a=Ew.fa.vb.call(this);this.F&&(a=a.replace('src=""','src="'+Oo(g.H(this.A))+'"'));return a};
Ew.prototype.kv=function(){var a=Ew.fa.kv.call(this);this.F&&(a=a.replace('src=""','src="'+Oo(g.H(this.A))+'"'));return a};
Ew.prototype.Eg=function(a){var b="";this.F||(b=Oo(g.H(this.A)));b={id:this.Ja,url:b,oh:this.xf(),width:this.ab()+"px",height:this.getHeight()+"px"};a=R()&&dq(this.H,"hideMaster")?cr:a?Yea:Xea;a=Or(a,b);(0,g.E)(a.getElementsByTagName("a"),this.Kj,this);return a};
Ew.prototype.Pm=function(){return!0};Hw.prototype.Ad=function(){return null!=this.o?vr[this.o]||"Other":null};g.C(Iw,Gr);Jw.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.E)(se(a),function(e){switch(e.nodeName){case "AdFormat":b=e.getAttribute("ad_system"),c=e.getAttribute("ad_type"),d=e.getAttribute("instream_type")}},this);
return null!=b&&null!=c&&null!=d?new Iw(b,c,d):null};g.C(Lw,Gr);Lw.prototype.isPharma=function(){return this.G};Mw.prototype.parse=function(a){var b;Et(a,"config",function(c){null!=b||(b=Uga(this,c))},this);
return b};Nw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m,n=!1,p,q=!1;(0,g.E)(se(a),function(u){switch(u.nodeName){case "AttributionText":c=Dt(u);break;case "AttributionUrl":d=Dt(u);break;case "ConversionUrl":f=Dt(u);break;case "CustomTracking":null!=se(u)&&(e=Kt(u));break;case "is_pharma":u=Ct(u,"bool");q=Ht(g.H(u));break;case "CheckedEvents":u=se(u);b=(0,g.K)(u,function(D){return Ct(D,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":k=Dt(u);break;case "VisibleUrl":l=Dt(u);break;case "UI":m=(new Mw).parse(u);break;case "ShowYouTubeAnnotations":var w=Dt(u);n=Ht(g.H(w),!1);case "QueryId":p=Dt(u)}},this);
null!=m||(m=new Kw);return new Lw(c,d,f,k,l,m,n,p,q,e,b)};Ow.prototype.parse=function(a){if(null==a)return null;var b;(0,g.E)(se(a),function(c){switch(c.nodeName){case "CustomTracking":null!=se(c)&&(b=Kt(c))}});
a=null;null!=b&&0<gr(b,"skip").length&&(a="Generic");return new Nt(a,b)};Pw.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.E)(se(a),function(d){switch(d.nodeName){case "SkippableAdType":b=Dt(d);break;case "CustomTracking":null!=se(d)&&(c=Kt(d))}});
return new Nt(b,c)};Qw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.E)(se(a),function(c){switch(c.nodeName){case "CustomTracking":null!=se(c)&&(b=Kt(c))}},this);
return new Gr(b)};Vw("d");Ww("d");Xw("d");var m1=Vw("f");Ww("f");Xw("f");var hx=Vw("i");Ww("i");Xw("i");Vw("j");Ww("j");Xw("j",void 0);Xw("j",void 0);Vw("u");Ww("u");Xw("u");Vw("v");Ww("v");Xw("v",void 0);Xw("v",void 0);var n1=Vw("b");Ww("b");Xw("b");var kx=Vw("e");Ww("e");Xw("e");var gx=Vw("s");Ww("s");var zza=Xw("s");Vw("B");Ww("B");Xw("B");Vw("x");Ww("x");Xw("x");Vw("y");Ww("y");Xw("y",void 0);Xw("y",void 0);Vw("g");Ww("g");Xw("g");Vw("h");Ww("h");Xw("h",void 0);Xw("h",void 0);Vw("n");Ww("n");Xw("n");Vw("o");Ww("o");
Xw("o",void 0);Xw("o",void 0);$w.prototype.clone=function(){var a=this.constructor,b={},c=this.o;if(b!==c){for(var d in b)b.hasOwnProperty(d)&&delete b[d];Sw(b,c)}return new a(b)};var fx;g.C(wu,$w);wu.prototype.getImageUrl=function(){return mt(this,"image_url")};var jx;g.C(dx,$w);dx.prototype.Zb=function(){return ax(this,"type",0)};var nx;g.C(mx,$w);mx.prototype.Zb=function(){return ax(this,"type",0)};
mx.prototype.getId=function(){return mt(this,"id")};
mx.prototype.setTitle=function(a){this.o.title=a};var o1;var p1;var q1;var r1;var s1;var t1;var u1;var v1;var w1;var x1;var y1;var z1;var A1;g.C(px,$w);px.prototype.setDescription=function(a){this.o.description=a};var B1;g.C(rx,$w);rx.prototype.Bd=function(){return mt(this,"headline")};
rx.prototype.setDescription=function(a){this.o.description=a};var C1;var D1;var E1;var F1;var G1;var H1;var I1;g.C(sx,$w);sx.prototype.Bd=function(){return mt(this,"headline")};
sx.prototype.setDescription=function(a){this.o.description=a};
sx.prototype.Kg=function(){return new wu(this.o.icon)};
sx.prototype.Dp=function(){return new wu(this.o.banner_image)};var J1;g.C(tx,$w);var K1;var L1;g.C(ux,$w);ux.prototype.Zb=function(){return ax(this,"type",0)};
ux.prototype.A=function(){return new sx(this.o.website_card)};
ux.prototype.Se=function(){return new tx(this.o.placement)};var yx,Aza={TYPE_APPLICATION_ENGAGEMENT:26,TYPE_APPLICATION_STORE:4,TYPE_ATTRIBUTION:5,TYPE_CALL_PROMPT:22,TYPE_CHANNEL:2,TYPE_COLLAPSE:17,TYPE_ENGAGEMENT_PANEL:20,TYPE_EXTERNAL:16,TYPE_FUNDRAISING:10,TYPE_GOOGLE_MAP_DIRECTIONS:23,TYPE_GOOGLE_MAP_PLACES:24,TYPE_HEADLINE:1,TYPE_HELPOUTS:15,TYPE_INLINE_APPLICATION_STORE:19,TYPE_INTERNAL:13,TYPE_IRDB:8,TYPE_LETTERMAN:14,TYPE_MERCH:9,TYPE_NONE:0,TYPE_PLAYLIST:7,TYPE_RESPONSE:12,TYPE_RESULTS:11,TYPE_SLAP:21,TYPE_SUBMIT_USER_INFO:25,TYPE_SUBSCRIPTION:6,
TYPE_VIDEO:3,TYPE_VOTE:18},M1={TYPE_ACTION:6,TYPE_ACTION_ENDCAP:9,TYPE_ACTION_INITIATED:14,TYPE_COLLAPSE:3,TYPE_COLLAPSE_ENDCAP:10,TYPE_DISMISS:4,TYPE_DISMISS_ENDCAP:11,TYPE_ERROR:13,TYPE_EXPAND:2,TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,TYPE_NONE:0,TYPE_TERMINATING_ACTION:12};
yx={action:{type:Aza},ad_card:{attribution_position:{POSITION_BOTTOM_LEFT:0,POSITION_BOTTOM_RIGHT:3,POSITION_TOP_LEFT:1,POSITION_TOP_RIGHT:2}},app_events:{type:{APP_TRACKING_EVENT_TYPE_APP_IS_INSTALLED:1,APP_TRACKING_EVENT_TYPE_APP_IS_NOT_INSTALLED:2,APP_TRACKING_EVENT_TYPE_UNKNOWN:0}},card:{prominence:{PROMINENCE_FEATURE:2,PROMINENCE_HIGHLIGHT:1,PROMINENCE_NONE:0},type:{TYPE_APP:2,TYPE_CALL:8,TYPE_FORMFILL:7,TYPE_LOCATION:5,TYPE_NONE:0,TYPE_PRODUCT:1,TYPE_STORE_VISITS:6,TYPE_VOTE:3,TYPE_WEBSITE:4}},
event:{type:M1},form_ad_format_config:{form_ad_format_type:{FORM_AD_FORMAT_TYPE_IMMERSIVE_INVITATION:3,FORM_AD_FORMAT_TYPE_IMMERSIVE_ONE_CLICK:1,FORM_AD_FORMAT_TYPE_TWO_CLICK:2,FORM_AD_FORMAT_TYPE_UNKNOWN:0}},formfill_card:{formfill_post_backend:{FORMFILL_POST_BACKEND_ADS_CLICK_SERVER:2,FORMFILL_POST_BACKEND_GOOGLE_SHEETS:1,FORMFILL_POST_BACKEND_UNKNOWN:0}},formfill_field_infos:{formfill_field_type:{FORMFILL_FIELD_TYPE_UNKNOWN:0,FORMFILL_FIELD_TYPE_USER_EMAIL:1,FORMFILL_FIELD_TYPE_USER_NAME:2,FORMFILL_FIELD_TYPE_USER_PHONE_NUMBER:3,
FORMFILL_FIELD_TYPE_USER_POSTAL_CODE:4}},invalid_input_tracking_events:{type:M1},link_action:{type:Aza},open_hours:{day_of_week:{DAY_FRIDAY:6,DAY_MONDAY:2,DAY_SATURDAY:7,DAY_SUNDAY:1,DAY_THURSDAY:5,DAY_TUESDAY:3,DAY_UNKNOWN:0,DAY_WEDNESDAY:4}},open_hours_today:{open_status:{OPEN_STATUS_IS_CLOSED:2,OPEN_STATUS_IS_OPEN:1,OPEN_STATUS_UNKNOWN:0}},product_card:{badge_icon_type:{BADGE_ICON_TYPE_FLIGHTS:3,BADGE_ICON_TYPE_HOTELS:2,BADGE_ICON_TYPE_OTHER:4,BADGE_ICON_TYPE_RETAIL:1,BADGE_ICON_TYPE_UNKNOWN:0}},
submit_with_edit_tracking_events:{type:M1}};var N1;g.C(vx,$w);g.C(wx,Gr);xx.prototype.parse=function(a){var b=wt(a);if(g.G(g.H(b)))return null;if(this.o){var c=zx;if(!N1){var d={};N1=Tw(d);if(!L1){var e={};L1=Tw(e);e.type=kx;if(!K1){var f={};K1=Tw(f);f.major_version=hx;f.minor_version=hx}e.version=Yw(K1);e.priority=hx;e.start_time_ms=Vw("j");e.end_time_ms=Vw("j");e.action=Zw(ox());e.event=Zw(lx());o1||(f={},o1=Tw(f),f.headline=gx,f.description=gx,f.attribution_icon_url=gx,f.skippable_seconds=hx,f.attribution_position=kx);e.ad_card=Yw(o1);if(!B1){f={};B1=Tw(f);f.headline=
gx;f.image=Yw(ix());f.description=gx;f.rating=m1;f.review_text=gx;if(!A1){var k={};A1=Tw(k);k.merchant=gx;k.price=gx;k.shipping=gx;k.shipping_tax=gx;k.condition=gx;k.unit_price=gx;k.energy_label=gx;k.description=gx;k.rating=m1;k.review_text=gx;k.action=Zw(ox());k.event=Zw(lx());k.doc_id=gx;k.catalog_id=gx}f.offer=Zw(A1);f.badge_text=gx;f.badge_icon_type=kx}e.product_card=Yw(B1);q1||(f={},q1=Tw(f),f.app_id=gx,f.app_name=gx,f.icon=Yw(ix()),f.price=gx,f.rating_image=gx,f.review_count=hx,f.app_store_logo=
Yw(ix()),f.button_text=gx,f.screenshots=Zw(ix()),f.rating=m1,f.back_button_text=gx,f.screenshots_text=gx,f.cover_photo=Yw(ix()),f.description=gx,f.app_developer=gx,f.review_text=gx,f.downloads_count=gx,f.downloads_text=gx,f.content_rating_images=Zw(ix()),f.content_rating_text=gx,f.app_description=gx,f.promo_image=Yw(ix()),p1||(k={},p1=Tw(k),k.type=kx,k.base_url=gx),f.app_events=Zw(p1));e.app_card=Yw(q1);if(!I1){f={};I1=Tw(f);f.headline=gx;f.description=gx;f.icon=Yw(ix());f.banner_image=Yw(ix());E1||
(k={},E1=Tw(k),k.advertiser_display_name=gx,k.advertiser_logo=Yw(ix()));f.advertiser_data=Yw(E1);if(!H1){k={};H1=Tw(k);if(!F1){var l={};F1=Tw(l);l.link_action=Yw(ox());l.description_line_1=gx;l.description_line_2=gx}k.sitelink_extensions=Zw(F1);k.callout_extensions=zza;G1||(l={},G1=Tw(l),l.header=gx,l.value=zza);k.structured_snippet_extensions=Zw(G1)}f.extension_data=Yw(H1)}e.website_card=Yw(I1);u1||(f={},u1=Tw(f),f.invitation_headline=gx,f.invitation_description=gx,f.icon=Yw(ix()),f.invitation_cta=
gx,f.form_headline=gx,f.form_description=gx,f.confirmation_headline=gx,f.confirmation_description=gx,f.advertiser_name=gx,f.email_key=gx,t1||(k={},t1=Tw(k),k.field_identifier=gx,k.formfill_field_type=kx,k.google_form_column_id=gx,k.is_field_optional=n1,k.submit_with_edit_tracking_events=Zw(lx()),k.invalid_input_tracking_events=Zw(lx()),k.field_value_string=gx),f.formfill_field_infos=Zw(t1),f.formfill_post_backend=kx,f.lead_metadata=gx,f.privacy_policy_url=gx,s1||(k={},s1=Tw(k),k.form_ad_format_type=
Vw("e"),k.enable_disclaimer_checkbox=n1,k.enable_close_button=n1,k.close_button_text=gx,k.submit_button_text=gx),f.form_ad_format_config=Yw(s1));e.formfill_card=Yw(u1);r1||(f={},r1=Tw(f),f.formatted_phone_number=gx,f.merchant_name=gx,f.call_cta_text=gx,f.headline=gx,f.icon=Yw(ix()));e.call_card=Yw(r1);e.prominence=kx;C1||(f={},C1=Tw(f),f.call_to_action_text=gx);e.social_card=Yw(C1);D1||(f={},D1=Tw(f),f.vote_line_1=gx,f.vote_line_2=gx,f.confirm_line_1=gx,f.confirm_line_2=gx);e.vote_card=Yw(D1);e.sponsored=
n1;e.teaser_text=gx;J1||(f={},J1=Tw(f),f.hide_in_drawer=n1,f.show_in_endcap=n1,f.show_in_companion=n1,f.show_in_cta=n1,f.override_clickthrough=n1,f.show_in_promotion_shelf=n1,f.show_in_immersive_panel=n1);e.placement=Yw(J1);v1||(f={},v1=Tw(f),f.latitude_e6=hx,f.longitude_e6=hx,f.address=gx,f.image=Yw(ix()),f.headline=gx);e.location_card=Yw(v1);z1||(f={},z1=Tw(f),f.icon=Yw(ix()),f.location_image=Yw(ix()),f.display_name=gx,f.latitude_e7=hx,f.longitude_e7=hx,w1||(k={},w1=Tw(k),k.display_address=gx,k.city_province=
gx),f.address=Yw(w1),f.display_phone_number=gx,y1||(k={},y1=Tw(k),k.open_status=kx,k.display_hours=gx),f.open_hours_today=Yw(y1),x1||(k={},x1=Tw(k),k.day_of_week=kx,k.display_day_of_week=gx,k.display_hours=gx),f.open_hours=Zw(x1),f.closing_time_today=gx,f.images=Zw(ix()),f.distance_to_user_meters=hx,f.average_rating=hx,f.num_reviews=hx,f.num_five_star_reviews=hx,f.num_four_star_reviews=hx,f.num_three_star_reviews=hx,f.num_two_star_reviews=hx,f.num_one_star_reviews=hx,f.store_url=gx,f.display_store_url=
gx);e.merchant_location=Yw(z1)}d.card=Zw(L1);d.event=Zw(lx())}a=c(this,a,N1);a=c=new vx(a);d=new dr;for(e=0;e<ex(a,"card");e++)if(f=new ux(cx(a,"card",e)),vu(f.Se()))for(k=0;k<ex(f,"event");k++){l=new dx(cx(f,"event",k));var m=null;switch(l.Zb()){case 9:m="video_card_endcap_action";break;case 10:m="video_card_endcap_collapse";break;case 11:m="video_card_endcap_dismiss";break;case 8:m="video_card_endcap_impression"}m&&ir(d,m,Ax(m,mt(l,"base_url")))}a=d}else a=Wga(this,a);return new wx(b,c,a)};g.C(Bx,Gr);Bx.prototype.vh=function(){return this.A};g.C(Cx,Gr);Dx.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.E)(se(a),function(d){switch(d.nodeName){case "FeEventId":b=Dt(d);break;case "AdEventId":c=Dt(d)}},this);
return new Cx(b,c)};Ex.prototype.D=function(a){var b={};(0,g.E)(this.A,function(d){b[d]=[]});
var c=new RegExp("^"+this.C);(0,g.E)(se(a),function(d){"config"!=d.nodeName||(0,g.E)(se(d),function(e){"params"!=e.nodeName||(0,g.E)(se(e),function(f){var k=this.C?f.nodeName.replace(c,""):f.nodeName,l=f.getAttribute("data");null!=l||(l=Dt(f));null!=f.getAttribute("learn_more")&&(l+="|");g.Ya(this.A,k)?b[k].push(l||void 0):b[k]=l},this)},this)},this);
return b};g.C(Gx,Ex);Gx.prototype.parse=function(a){if(null==a)return null;a=Fx(this,a);var b=a.UI;return new cv(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
Gx.prototype.B=function(a){var b=[],c=0;(0,g.E)(se(a),function(d){if("SurveyOption"==d.nodeName){var e,f;(0,g.E)(se(d),function(k){switch(k.nodeName){case "DisplayName":e=Dt(k);break;case "URL":f=Dt(k)}},this);
null!=e&&null!=f&&(b.push({label:e,url:f}),c++)}},this);
return b};g.C(Hx,Gr);Ix.prototype.parse=function(a){if(null==a)return null;var b=new Hx;(0,g.E)(se(a),function(c){if("DealId"!=c.nodeName)return null;c=Dt(c);c=g.H(c);g.G(c)||(b.A=c)},this);
return b};g.C(Jx,Gr);Kx.prototype.o={pJ:"Siub",oJ:"Scs",TH:"Bgub",SH:"Bgp"};Kx.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.E)(se(a),function(f){switch(f.nodeName){case this.o.pJ:b=Dt(f);break;case this.o.oJ:c=Dt(f);break;case this.o.TH:d=Dt(f);break;case this.o.SH:e=Dt(f)}},this);
return b&&c&&d&&e?new Jx(b,c,d,e):null};g.C(Lx,Gr);Mx.prototype.parse=function(a){if(null==a)return null;var b;(0,g.E)(se(a),function(c){switch(c.nodeName){case "CustomTracking":null!=se(c)&&(b=Kt(c))}},this);
return new Lx(b)};g.C(Nx,Gr);Ox.prototype.o={sJ:"TEMPLATE_PARAMETERS",tJ:"TEMPLATE_URL"};Ox.prototype.parse=function(a){if(null==a)return null;var b;(0,g.E)(se(a),function(c){switch(c.nodeName){case this.o.sJ:b=Xga(this,c)}},this);
return new Nx(b)};g.C(Px,Gr);Px.prototype.getImageUrl=function(){return this.B};Qx.prototype.o={EI:"Line1",FI:"Line2",GI:"Line3",DI:"ImageUrl"};Qx.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.E)(se(a),function(l){switch(l.nodeName){case this.o.EI:b=Dt(l,!0);break;case this.o.FI:c=Dt(l,!0);break;case this.o.GI:d=Dt(l,!0);break;case this.o.DI:e=Dt(l);var m=Number(l.getAttribute("width"));f=isNaN(m)?0:m;l=Number(l.getAttribute("height"));k=isNaN(l)?0:l}},this);
return new Px(b,c,d,e,f,k)};g.C(Rx,Gr);Sx.prototype.parse=function(a){if(null==a)return null;var b;(0,g.E)(se(a),function(c){switch(c.nodeName){case "ViralExtensionData":c=c.getAttribute("query_id"),g.G(g.H(c))||(b=c)}},this);
return new Rx(b)};g.C(Tx,Ex);var Bza=["menu","got_it"],Cza=[["generic_message_left","generic_message_hypertext","generic_message_right"]];Tx.prototype.parse=function(a){if(null==a)return null;a=Fx(this,a);var b=a.UI;if(!Ux(b,Bza))return null;var c,d=!0,e=!1;(0,g.E)(Cza,function(f){Yga(b,f)&&(Ux(b,f)?e=!0:d=!1)});
if(!d||!e)return null;null!=b.generic_message_left&&(c=[b.generic_message_left,b.generic_message_hypertext,b.generic_message_right]);return new ev(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};Vx.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?g.Bc(a):NaN;a=isNaN(a)?-1:a;return new Ot(a)};g.C(Wx,Gr);Xx.prototype.parse=function(a){return null!=a?new Wx:null};Yx.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?g.Bc(a):NaN;return new zs(a)};g.C(Zx,Aw);
Zx.prototype.o={JH:"Ad",Ms:"AdParameters",NH:"AdSystem",OH:"AdTitle",KH:"Advertiser",QH:"AltText",VH:"ClickThrough",WH:"ClickTracking",XH:"Companion",YH:"CompanionAds",ZH:"CompanionClickThrough",aI:"CompanionClickTracking",bI:"Creative",YY:"CreativeExtensions",cI:"Creatives",fI:"CustomClick",iI:"Description",Ps:"Duration",ERROR:"Error",EXTENSION:"Extension",pI:"Extensions",wo:"HTMLResource",tI:"Icon",uI:"Icons",vI:"IconClicks",wI:"IconClickThrough",xI:"IconClickTracking",yI:"IconViewTracking",yo:"IFrameResource",
zo:"Impression",I_:"InLine",LINEAR:"Linear",KI:"MediaFile",LI:"MediaFiles",TI:"NonLinear",VI:"NonLinearAds",WI:"NonLinearClickThrough",XI:"NonLinearClickTracking",eJ:"Pricing",Ao:"StaticResource",rJ:"Survey",x3:"Tracking",gt:"TrackingEvents",uJ:"UniversalAdId",N3:"VAST",wJ:"VASTAdTagURI",xJ:"VideoClicks",zJ:"Wrapper"};
Zx.prototype.A={LH:"adId",MH:"adSlotID",PH:"allowMultipleAds",so:"apiFramework",Sy:"bitrate",dI:"creativeType",hI:"delivery",Ps:"duration",TZ:"event",sI:"followAdditionalWrappers",nI:"expandedHeight",oI:"expandedWidth",vo:"height",xo:"id",zI:"idRegistry",AI:"idValue",HI:"maintainAspectRatio",JI:"maxBitrate",OI:"minBitrate",QI:"minSuggestedDuration",YI:"offset",fJ:"program",hJ:"required",kJ:"scalable",Bz:"sequence",mJ:"skipoffset",Kz:"type",VERSION:"version",yJ:"codec",Co:"width",AJ:"xPosition",BJ:"yPosition"};
Zx.prototype.C=function(){return new Bw(this.B,$ga(this),null)};g.C(hy,fw);g.h=hy.prototype;g.h.V=function(){this.G=!1;null===this.o?this.W&&this.dispatchEvent(new to("destroyInsecureFlashVpaid",this.va())):this.o.dispose();this.C&&this.ra("contentResumeRequested");this.ra("allAdsCompleted");hy.fa.V.call(this)};
g.h.Uc=function(){var a=this.jd("getAdRemainingTime");return g.Ca(a)?a:-1};
g.h.getVolume=function(){var a=this.jd("getAdVolume");return g.Ca(a)?a:-1};
g.h.Zc=function(a,b,c){hy.fa.Zc.call(this,a,b,c);this.C=this.va().o instanceof rr};
g.h.init=function(a){hy.fa.init.call(this,a);a=this.va();var b=Ju(a);b=g.H(b);if(g.G(b))ly(this,Error("Flash VPAID ad url is empty."));else{if(jw(a)){var c=a.o,d=ur(c);null!=d&&(c.D=d)}this.Za().X(Op(),e1,this.Pk);this.W?this.dispatchEvent(new to("initInsecureFlashVpaid",a,{url:g.H(b)})):null===this.Na.Rf()?ly(this,Error("Container must be provided for flash VPAID.")):(this.Na.Jd(),null===this.o&&(this.o=new zw(this.Na.Rf())),this.Za().X(this.o,"loadError",this.wR),this.Za().X(this.o,"vpaidEventType",
this.mg),this.o.load(b,this.L,this.F,this.Ua.fg))}};
g.h.start=function(){if(this.G){hy.fa.start.call(this);var a=this.va();this.jc.B=a.L;var b=cs(a);this.jc.o=b;if(b=a.o)this.ah(a),this.pg(b,d1),this.Wk(b),nw(this,a);this.Na.Jd();pw(this);this.Ha("show_ad");this.setVolume(this.B);this.A=new g.bh(250);this.Za().X(this.A,"tick",this.fM);this.C?this.ra("contentPauseRequested"):(this.ra("contentResumeRequested"),jy(this));this.A.start();this.jd("startAd")}else this.J=!0};
g.h.stop=function(){this.K||(this.jd("stopAd"),this.Na.hide(),null!=this.A&&(this.A.stop(),this.A=null),hy.fa.stop.call(this),this.K=!0)};
g.h.bb=function(a,b,c){hy.fa.bb.call(this,a,b,c);if(null!==this.o){var d=this.o;d.o&&d.o.setSize(a,b)}this.L=a;this.F=b;this.jd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.A&&this.A.stop();this.jd("pauseAd")};
g.h.resume=function(){null!=this.A&&this.A.start();this.jd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.M.getAdVolume=a;this.jd("setAdVolume",a)};
g.h.expand=function(){this.jd("expandAd")};
g.h.collapse=function(){this.jd("collapseAd")};
g.h.Ok=g.A;g.h.ac=function(){return iy(this)};
g.h.skip=function(){this.jd("skipAd")};
g.h.getDuration=function(){var a=this.jd("getAdDuration");if(g.Ca(a))return a;a=this.Uc();return 0<=a?this.D/1E3+a:-2};
g.h.fM=function(){this.D+=250;var a=this.getDuration(),b=a-this.Uc();qw(this,b,a)};
g.h.jd=function(a){if(this.K)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.W?(c=b.shift(),this.dispatchEvent(new to("callFlashVpaidMethod",this.tb()?this.va():null,{methodName:c,args:b})),this.M[c]):null===this.o?null:this.o.aM.apply(this.o,b)};
g.h.wR=function(){ly(this,Error("Flash VPAID loader failed to load."))};
g.h.getCurrentTime=function(){return this.D/1E3};
g.h.mg=function(a){var b=a.data;switch(a.o){case "flashVpaidMethodResults":b&&(this.M[b.methodName]=b.result);break;case "flashReady":this.jd("handshakeVersion","2.0");b=bu(this.va());this.jd("initAd",this.L,this.F,this.fd,this.Ua.bitrate,b);break;case "AdLoaded":this.G=!0;b=this.jd("getAdCompanions");a=g.x(b)?b:"";b=this.va();g.Za(au(b))&&(a=by(a,b.o.o),g.Za(a)||Pt(b,a));kw(this,"loaded");this.J&&(this.J=!1,this.start());break;case "AdStarted":this.Ha("impression");this.Ha("creativeview");this.ra("start");
break;case "AdVideoStart":this.Ha("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.H(fu(this.va()))),b&&Qo(b));this.Ha("click");this.ra("click");break;case "AdDurationChange":this.ra("durationChange");break;case "AdRemainingTimeChange":this.ra("durationChange");jy(this);break;case "AdError":a="AdError";b&&(a=b.message);ly(this,Error(a));break;case "AdExpandedChange":this.ra("expandedChanged");break;case "AdImpression":b=this.va();g.Za(au(b))||this.Rd(b);this.ra("impression");
break;case "AdLinearChange":b=iy(this);!this.C&&b?(this.ra("contentPauseRequested"),g.dh(this.H)):this.C&&!b&&(this.ra("contentResumeRequested"),jy(this));this.C=b;a=this.Ac;a.ya=!0;a.xa=b;this.ra("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.B&&(this.ra("volumeChange"),0==b&&0!=this.B?(this.Ha("mute"),this.ra("mute")):0==this.B&&0!=b&&this.Ha("unmute"),this.B=b);break;case "AdPaused":kw(this,"pause");break;case "AdUserClose":kw(this,"userClose");break;case "AdUserMinimize":this.Ha("collapse");
break;case "AdVideoFirstQuartile":kw(this,"firstquartile");break;case "AdVideoMidpoint":kw(this,"midpoint");break;case "AdVideoThirdQuartile":kw(this,"thirdquartile");break;case "AdVideoComplete":my(this);break;case "AdUserAcceptInvitation":this.C?this.Ha("acceptinvitationlinear"):this.Ha("acceptinvitation");break;case "AdStopped":my(this);this.Ha("stop");this.stop();break;case "AdSkipped":kw(this,"skip");break;case "AdSkippableStateChange":kw(this,"skippableStateChanged");break;case "AdPlaying":kw(this,
"resume");break;case "AdLog":this.ra("log")}};g.C(ny,fw);var Dza=bd(g.Uc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));bd(g.Uc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));g.h=ny.prototype;g.h.V=function(){this.G=!1;this.o&&(this.o.dispose(),this.D=null);g.dh(this.H);this.C&&this.ra("contentResumeRequested");this.ra("allAdsCompleted");ny.fa.V.call(this)};
g.h.Uc=function(){var a=this.wd("getAdRemainingTime");return g.Ca(a)?a:-1};
g.h.getVolume=function(){var a=this.wd("getAdVolume");return g.Ca(a)?a:-1};
g.h.Zc=function(a,b,c){ny.fa.Zc.call(this,a,b,c);this.C=this.va().o instanceof rr};
g.h.init=function(a){ny.fa.init.call(this,a);window[this.P]=(0,g.B)(this.gM,this);this.Za().X(Op(),e1,this.Pk);this.o=new xw(Dza);this.o.setSize(this.M,this.J);this.o.No="always";var b=this.va();a=Ju(b);a=g.H(a);if(g.G(a))qy(this,ky,Error("Flash VPAID ad url is empty.")),this.stop();else{if(jw(b)){b=b.o;var c=ur(b);null!=c&&(b.D=c)}this.o.A.set("vpaid",a);this.o.ys="transparent";this.o.A.set("vpaidEventHandler",this.P);this.Na.Jd();vw(this.o,this.Na.Rf());this.D=yw(this.o);this.H=g.ch(this.iM,this.Ua.fg,
this)}};
g.h.start=function(){if(this.G){ny.fa.start.call(this);var a=this.va();this.jc.B=a.L;var b=cs(a);this.jc.o=b;if(b=a.o)this.ah(a),this.pg(b,d1),this.Wk(b),nw(this,a);this.Na.Jd();pw(this);this.Ha("show_ad");this.setVolume(this.B);this.A=new g.bh(250);this.Za().X(this.A,"tick",this.hM);this.C?this.ra("contentPauseRequested"):(this.ra("contentResumeRequested"),py(this));this.A.start();this.wd("startAd")}else this.L=!0};
g.h.stop=function(){this.Y||(this.Y=!0,this.wd("stopAd"),this.Na.hide(),null!=this.A&&(this.A.stop(),this.A=null),ny.fa.stop.call(this))};
g.h.bb=function(a,b,c){ny.fa.bb.call(this,a,b,c);this.M=a;this.J=b;null!=this.o&&this.o.setSize(a,b);this.wd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.A&&this.A.stop();this.wd("pauseAd")};
g.h.resume=function(){null!=this.A&&this.A.start();this.wd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.wd("setAdVolume",a)};
g.h.expand=function(){this.wd("expandAd")};
g.h.collapse=function(){this.wd("collapseAd")};
g.h.Ok=function(){};
g.h.ac=function(){return oy(this)};
g.h.skip=function(){this.wd("skipAd")};
g.h.getDuration=function(){var a=this.wd("getAdDuration");if(g.Ca(a))return a;a=this.Uc();return 0<=a?this.F/1E3+a:-2};
g.h.hM=function(){this.F+=250;var a=this.getDuration(),b=a-this.Uc();qw(this,b,a)};
g.h.wd=function(a){if(!this.o||!this.D)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);c=b.shift();var d=!1;this.G&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.D[c])return this.D[c].apply(this.D,b)}catch(e){}return null};
g.h.iM=function(){qy(this,i1,null,(this.Ua.fg/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.F/1E3};
g.h.gM=function(a,b){switch(a){case "flashReady":this.wd("handshakeVersion","2.0");var c=bu(this.va());this.D.initAd(this.M,this.J,this.fd,this.Ua.bitrate,c);break;case "AdLoaded":g.dh(this.H);this.G=!0;c=this.wd("getAdCompanions");var d=g.x(c)?c:"";c=this.va();g.Za(au(c))&&(d=by(d,c.o.o),g.Za(d)||Pt(c,d));kw(this,"loaded");this.L&&(this.L=!1,this.start());break;case "AdStarted":this.Ha("impression");this.Ha("creativeview");this.ra("start");break;case "AdVideoStart":this.Ha("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.H(fu(this.va()))),null!=c&&Qo(c));this.Ha("click");this.ra("click");break;case "AdDurationChange":this.ra("durationChange");break;case "AdRemainingTimeChange":this.ra("durationChange");py(this);break;case "AdError":c="AdError";b&&(c=b.message);qy(this,ky,Error(c));this.stop();break;case "AdExpandedChange":this.ra("expandedChanged");break;case "AdImpression":c=this.va();g.Za(au(c))||this.Rd(c);this.ra("impression");break;case "AdLinearChange":c=oy(this);!this.C&&c?
(this.ra("contentPauseRequested"),g.dh(this.K)):this.C&&!c&&(this.ra("contentResumeRequested"),py(this));this.C=c;d=this.Ac;d.ya=!0;d.xa=c;this.ra("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.B&&(c!=this.B&&this.ra("volumeChange"),0==c&&0!=this.B?(this.Ha("mute"),this.ra("mute")):0==this.B&&0!=c&&this.Ha("unmute"),this.B=c);break;case "AdPaused":kw(this,"pause");break;case "AdUserClose":kw(this,"userClose");break;case "AdUserMinimize":this.Ha("collapse");break;case "AdVideoFirstQuartile":kw(this,
"firstquartile");break;case "AdVideoMidpoint":kw(this,"midpoint");break;case "AdVideoThirdQuartile":kw(this,"thirdquartile");break;case "AdVideoComplete":ry(this);break;case "AdUserAcceptInvitation":this.C?this.Ha("acceptinvitationlinear"):this.Ha("acceptinvitation");break;case "AdStopped":ry(this);this.Ha("stop");this.stop();break;case "AdSkipped":kw(this,"skip");break;case "AdSkippableStateChange":kw(this,"skippableStateChanged");break;case "AdPlaying":kw(this,"resume");break;case "AdLog":this.ra("log")}};g.C(sy,to);wy.prototype.o=null;wy.prototype.getOptions=function(){var a;(a=this.o)||(a={},zy(this)&&(a[0]=!0,a[1]=!0),a=this.o=a);return a};var O1;g.C(yy,wy);O1=new yy;g.C(g.By,g.rg);g.By.prototype.kb=null;var kha=/^https?$/i,Eza=["POST","PUT"];g.h=g.By.prototype;
g.h.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.K+"; newUri="+a);b=b?b.toUpperCase():"GET";this.K=a;this.B="";this.A=0;this.aa=b;this.P=!1;this.C=!0;this.o=this.W?Ay(this.W):Ay(O1);this.M=this.W?this.W.getOptions():O1.getOptions();this.o.onreadystatechange=(0,g.B)(this.TB,this);try{Ci(Iy(this,"Opening Xhr")),this.Y=!0,this.o.open(b,String(a),!0),this.Y=!1}catch(f){Ci(Iy(this,"Error opening Xhr: "+f.message));Fy(this,f);return}a=c||"";
var e=this.headers.clone();d&&$da(d,function(f,k){e.set(k,f)});
d=g.Ua(e.Gb(),jha);c=g.y.FormData&&a instanceof g.y.FormData;!g.Ya(Eza,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,k){this.o.setRequestHeader(k,f)},this);
this.ba&&(this.o.responseType=this.ba);"withCredentials"in this.o&&this.o.withCredentials!==this.H&&(this.o.withCredentials=this.H);try{Ky(this),0<this.F&&(this.L=iha(this.o),Ci(Iy(this,"Will abort after "+this.F+"ms if incomplete, xhr2 "+this.L)),this.L?(this.o.timeout=this.F,this.o.ontimeout=(0,g.B)(this.UB,this)):this.G=g.ch(this.UB,this.F,this)),Ci(Iy(this,"Sending request")),this.J=!0,this.o.send(a),this.J=!1}catch(f){Ci(Iy(this,"Send error: "+f.message)),Fy(this,f)}};
g.h.UB=function(){"undefined"!=typeof Gy&&this.o&&(this.B="Timed out after "+this.F+"ms, aborting",this.A=8,Iy(this,this.B),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.o&&this.C&&(Iy(this,"Aborting"),this.C=!1,this.D=!0,this.o.abort(),this.D=!1,this.A=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ey(this))};
g.h.V=function(){this.o&&(this.C&&(this.C=!1,this.D=!0,this.o.abort(),this.D=!1),Ey(this,!0));g.By.fa.V.call(this)};
g.h.TB=function(){this.la()||(this.Y||this.J||this.D?Jy(this):this.gT())};
g.h.gT=function(){Jy(this)};
g.h.isActive=function(){return!!this.o};
g.h.getStatus=function(){try{return 2<g.Hy(this)?this.o.status:-1}catch(a){return-1}};
g.h.getLastError=function(){return g.x(this.B)?this.B:String(this.B)};g.t(Ty,ak);Ty.prototype.G=function(a){this.A&&this.H<this.L&&(ak.prototype.G.call(this,a),Ry(this,a))};
Ty.prototype.disable=function(){ak.prototype.disable.call(this);this.o.clearTimeout(this.J);this.C=this.J=0;this.F={};g.dc(this.ea);g.dc(this.D);Li(this.o,"load",this.W);Li(this.o,"unload",this.aa);Li(this.o,"pagehide",this.P)};Wy.prototype.isLoggingEnabled=function(){return!!this.Fa};
g.Ea(Wy);Zy.prototype.Be=!0;Zy.prototype.Zh=-1;g.C($y,g.rg);$y.prototype.Qm=function(a){this.mf=Or(Ffa);null!=this.wa.C&&(this.Z.X(this.mf,"click",this.Xw),this.Z.X(this,"why_this_ad_got_it",this.Hy));a.appendChild(this.mf);g.N(this.mf,!0)};
$y.prototype.Xw=function(){var a=g.Fe(this.mf,"html5-video-player");null!=a&&hv(this.wa.C,a,this)};
$y.prototype.Hy=function(){};
$y.prototype.V=function(){null!=this.mf&&(g.qe(this.mf),this.mf=null);this.Z.dispose();this.Z=null;$y.fa.V.call(this)};g.C(bz,g.rg);g.h=bz.prototype;g.h.start=function(){this.av();this.C=0;cz(this);this.A=!0;this.D.start()};
g.h.play=function(){this.A||(cz(this),this.A=!0,this.D.start())};
g.h.pause=function(){this.A&&cz(this)};
g.h.stop=function(){this.A&&cz(this);this.dispatchEvent("end")};
g.h.av=function(){};
g.h.SS=function(){this.C+=.2;this.Zu(this.C,this.L);this.dispatchEvent("timeUpdate");0>=this.L-this.C&&this.stop()};
g.h.Zu=g.A;g.h.V=function(){this.A=!1;this.J.dispose();bz.fa.V.call(this)};g.C(ez,bz);g.h=ez.prototype;g.h.start=function(){this.av();this.B.update(0,this.K);ov(this.o,this.H.C).play();this.J.X(this.B,"skip",this.IJ);ez.fa.start.call(this)};
g.h.av=function(){var a=g.pi(this.o);if(1==this.G){var b=400>=parseInt(ai(this.o,"width"),10)||400>=a.width;g.U(this.o,"videoAdUi-mobile",b)}else if(2==this.G){var c=ue(this.o),d=g.pi(c),e=65>=(a.height-d.height)/2;g.U(this.o,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.U(this.o,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.IJ=function(){this.pause();this.dispatchEvent("skip")};
g.h.Zu=function(a,b){this.B.update(a,b);if(this.F){var c=az({qe:dz(b-a)}).vb();g.ye(this.F,c)}};
g.h.V=function(){this.B&&this.B.dispose();g.oe(this.o);ez.fa.V.call(this)};g.C(hz,bz);var gz=Math.ceil(10*3.14);hz.prototype.F=function(a){R()||a.stopPropagation();this.dispatchEvent("click")};
hz.prototype.start=function(){hz.fa.start.call(this);null==this.o?this.stop():this.H&&(this.M&&780<=g.pi(this.W).width&&this.H.setCardsVisible(!0),this.H.hideControls())};
hz.prototype.Zu=function(a,b){var c=a/b*gz+" "+gz;null!=this.o&&g.Xh(this.o,"stroke-dasharray",c)};g.C(iz,g.L);iz.prototype.show=function(a,b,c){jz(this);!WN||!a||mp(10)&&b?c():(a.appendChild(this.A),this.Fa=g.ch((0,g.B)(this.o,this,c),2E3))};
iz.prototype.o=function(a){this.Fa=0;g.qe(this.A);a()};
iz.prototype.V=function(){jz(this);iz.fa.V.call(this)};g.C(lz,g.Qf);g.C(mz,g.rg);nz.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var Aha={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=mz.prototype;g.h.V=function(){this.dd();mz.fa.V.call(this)};
g.h.dd=function(){null!=this.Z&&this.Z.dispose();null!=this.o&&this.o.dd();null!=this.D&&this.D.dispose();this.D=null;null!=this.J&&this.J.dispose();this.J=null;this.M.clear();this.K=-1;this.F="";this.G=this.W=!1};
g.h.Cb=function(a,b,c,d,e){this.dd();this.C.B=a.L;this.o=b;this.A=d||null;this.H=e;this.o.Cb();this.B=new nz(this.o);this.L=c||null;this.Z=new g.fo(this);this.F=a.L;a=Q.o?gq():Op();this.Z.X(a,"externalActivityEvent",this.uR);this.Z.X(a,"measurable_impression",this.ZR);this.Z.X(a,"viewable_impression",this.yU);this.Z.X(this.o,"timeUpdate",this.IM);this.Z.X(this.o,"volumeChange",this.JM);this.Z.X(this.o,"pause",this.FM);this.Z.X(this.o,"play",this.GM);this.Z.X(this.o,"end",this.qR);this.Z.X(this.o,
"beginFullscreen",this.DM);this.Z.X(this.o,"endFullscreen",this.tR);this.Z.X(this.o,"skip",this.wC);this.Z.X(this.o,"skipShown",this.aF);this.Z.X(this.o,"start",this.HM);this.Z.X(this.o,"error",this.CM);this.Z.X(this.o,"mediaLoadTimeout",this.EM);null!=this.A?(this.Z.X(this.A,"videoIconClicked",(0,g.B)(function(f){this.dispatchEvent(f)},this)),this.Z.X(this.A,"urlNavigationRequested",(0,g.B)(function(f){this.dispatchEvent(f)},this)),this.Z.X(this.A,"yt-show-toast",(0,g.B)(function(f){this.dispatchEvent(f)},
this)),this.Z.X(this.A,"feedbackShown",(0,g.B)(function(){oz(this,"feedbackShown",!0,!0)},this)),this.Z.X(this.A,"feedbackLike",(0,g.B)(function(){oz(this,"feedbackLike",!0,!0)},this)),this.Z.X(this.A,"feedbackDislike",(0,g.B)(function(){oz(this,"feedbackDislike",!0,!0)},this)),this.Z.X(this.A,"videoShareShown",this.xU),this.Z.X(this.A,"skipshown",this.aF),this.Z.X(this.A,"skip",this.wC),this.Z.X(this.A,"PUBLISHER_INVOKED_SKIP",this.eT),this.Z.X(this.A,"MUTE_AD videoAuthorIconClicked videoAuthorClicked videoClicked videoLearnMoreClicked videoMuteClicked videoTitleClicked videoShareClicked videoUnmuteClicked why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
this.vB)):this.H&&this.Z.X(this.H,"why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),this.vB)};
g.h.ZR=function(a){var b=a.o;this.C.H.measurable_impression=null!=b?b.viewabilityString:null;a.o.queryId==this.F&&oz(this,"measurable_impression",!0,!1)};
g.h.yU=function(a){a=a.o;a.queryId==this.F&&(this.C.H.viewable_impression=null!=a?a.viewabilityString:null,oz(this,"viewable_impression",!0,!0))};
g.h.uR=function(a){a=a.o;var b=f1[a.eventName];b&&a.queryId==this.F&&(this.C.H[b]=null!=a?a.viewabilityString:null,oz(this,b,!0,!0))};
g.h.IM=function(){if(this.G){var a=this.o.getDuration();if(-1!=a){this.o.Vl(.25*a)&&oz(this,"firstquartile",!0,!0);this.o.Vl(.5*a)&&oz(this,"midpoint",!0,!0);this.o.Vl(.75*a)&&oz(this,"thirdquartile",!0,!0);var b=this.C,c=this.o.getCurrentTime();if(!Ln(b.A,"skip")){0>b.D&&(Zea(b.C,a),b.D=0);a=gr(b.C,"progress");for(var d=[],e=b.D;e<a.length;e++){var f=a[e];if(kr(f.o)>c)break;b.D=e+1;d.push(f.Wa())}0<d.length&&b.report(new g.Qf("progress"),d)}}pz(this)}};
g.h.HM=function(){this.G=!0;oz(this,"impression",!0,!0);oz(this,"creativeview",!0,!0);null!=this.L||null!=this.A||this.Z.X(this.o,"click",this.lv);null!=this.L&&(this.D=new Qu,this.Z.X(this.D,"click",this.lv,!1),this.D.Cb(this.L));null!=this.A&&(this.J=new Qu,this.Z.X(this.J,"click",this.lv,!1),this.J.Cb(this.A));oz(this,"start",!0,!0);(this.o.isMuted()||0==this.o.getVolume())&&oz(this,"mute",!1,!1)};
g.h.JM=function(){var a=this.o.isMuted(),b=this.o.getVolume(),c=this.B;c.mute&&!a||!a&&0==c.volume&&0<b?oz(this,"unmute",!1,!1):this.B.muted(a,b)&&oz(this,"mute",!1,!1);this.B.mute=a;this.B.volume=b};
g.h.FM=function(){this.o.Dh()?qz(this):this.o.Pi()&&!this.o.oC()&&(this.B.paused=!0,oz(this,"pause",!1,!1))};
g.h.GM=function(){this.B.paused&&(this.B.paused=!1,oz(this,"resume",!1,!1))};
g.h.qR=function(){qz(this)};
g.h.lv=function(){oz(this,"click",!1,!1)};
g.h.CM=function(){oz(this,"error",!1,!1)};
g.h.EM=function(){oz(this,"mediaLoadTimeout",!1,!1)};
g.h.aF=function(){oz(this,"skipshown",!0,!1)};
g.h.vB=function(a){oz(this,a.type,!1,!1)};
g.h.xU=function(){oz(this,"videoShareShown",!0,!1)};
g.h.wC=function(){oz(this,"skip",!0,!1)};
g.h.eT=function(){oz(this,"skip",!0,!1)};
g.h.DM=function(){oz(this,"fullscreen",!1,!1)};
g.h.tR=function(){oz(this,"exitfullscreen",!1,!1)};g.h=rz.prototype;g.h.Jc=function(){return this.o.Jc()};
g.h.add=function(a){this.o.set(sz(a),a)};
g.h.remove=function(a){return this.o.remove(sz(a))};
g.h.clear=function(){this.o.clear()};
g.h.isEmpty=function(){return this.o.isEmpty()};
g.h.contains=function(a){return Ln(this.o,sz(a))};
g.h.wb=function(){return this.o.wb()};
g.h.clone=function(){return new rz(this)};
g.h.de=function(){return this.o.de(!1)};g.C(tz,fw);g.h=tz.prototype;g.h.V=function(){xz(this);this.aa.dispose();wz(this);g.E(this.J.wb(),g.dh);var a=!1;null!=this.Na&&(a=this.Na.jk(),this.Na.hide(),this.Na=null);this.G&&(this.G=!1,this.La.Pi()||this.La.Dh()||this.La.pause(),jp()&&!a&&(this.La.lk(.001),this.La.load("","")),ip()&&this.La.kk()&&!a&&this.La.bv(),this.ra("contentResumeRequested"),this.ra("allAdsCompleted"));null!=this.La&&this.La.unload();tz.fa.V.call(this)};
g.h.Xh=function(){var a=Ho();a.o("disable_companion_persist")?vz(this):(a.o("ad_pod_disable_companion_persist")||a.o("ad_pod_disable_companion_persist_ads_quality"))&&1<(this.tb()?this.va():null).B.Ge&&vz(this);this.pj();this.tb()?this.start():this.stop()};
g.h.muteAdClicked=function(){R()&&this.Ha("mute_interaction_url")};
g.h.muteAd=function(){R()&&(this.Ha("mute_url"),this.ra("MUTE_AD"),uz(this,function(){this.Xh()}))};
g.h.whyThisAdClicked=function(){R()&&this.Ha("why_this_ad_url")};
g.h.whyThisAdClosed=function(){R()&&this.Ha("why_this_ad_got_it")};
g.h.pj=function(){wz(this);tz.fa.pj.call(this);this.tb()&&(this.jc=new bw,this.C=new mz(this.jc),this.P=!1,this.ra("loaded"))};
g.h.Ow=function(a){tz.fa.Ow.call(this,a);null!=this.La&&this.La.Fx(1)};
g.h.fB=function(a,b){b.preventDefault();this.F||(this.F=!0,kw(this,"video_card_endcap_action"));a&&(this.o.pause(),Qo(a))};
g.h.gB=function(){uz(this,function(){yz(this,"video_card_endcap_dismiss")})};
g.h.uK=function(){yz(this,"video_card_endcap_collapse")};
g.h.Tv=function(a,b,c,d){var e=Rr(b);e&&(a.G=e);var f=a.getExtension("AdSense");null!=f&&null!=f.A&&f.A.A&&this.setVolume(0);if(this.Ua.QG){e=Vz(this,a,b);Jo(Go(),420706069)&&(Q.D=!0);Ho().o("enable_ad_pod_specific_ui")&&a.B.o<a.B.Ge&&(e.A=!0);!R()&&Q.D&&(e.W=!0);f=e;var k=Wz(this),l=this.va(),m=1E3*l.getDuration();mv(f,cu(l),du(l));this.Ta=new Uv(f,k,m,l.We());k=l.G;null!=k&&Bz(this,k,f.xa);f=this.Ta;f.W&&(f=f.W,k=0==this.D,f.o!=k&&(f.o=k,tv(f)));if(this.ea)if(k=a.getExtension("AdSense"),null!=k){f=
this.Ta;k=g.H(k.C);if(null!=f.B){g.N(f.B,!0);try{var n=new g.Pn(k);var p=uc((n.A+n.C).replace(/^www\./i,""),35);g.G(g.H(p))?Xv(f):g.ye(f.B,p)}catch(q){Xv(f)}}null!=f.aa&&g.N(f.aa,!0)}else Xv(this.Ta);p=e;n=[];p.B&&n.push("adAttribution");p.D&&n.push("countdown")}else e&&Bz(this,e,this.Ua.xt),Jk()||!ip()||mp(10)||(p=e=Vz(this,a,b),n=Wz(this),e=this.va(),mv(p,e.getExtension("why_this_ad"),e.getExtension("mute")),this.H=new $y(p,n));if(d=d?this.Na.Up():this.La)Hz(this)?(d.Cb(),this.Za().X(d,"error",
this.RE),this.Za().X(d,"loaded",g.A)):this.Or(a),d.Fr(Gha(this,a)),d.load(b,c)};
g.h.bA=function(a){var b=this.tb()?this.va().G:null;if(b){var c=this.zm();Eha(this)&&(c="");zz(this)&&a&&(c=Rha(this,a));a=this.ym();c||a||!zz(this)||(c=" ");(c||a)&&this.La.addInfoCardXml(b,c||null,a||null)}};
g.h.UU=function(a,b,c){null!==a.M&&Ip.getInstance().report(34,{evt:"filled"},!0);this.ga||(this.ga=!0,this.ra("contentPauseRequested"));Jz(this)&&!this.L||Hz(this)||this.Tv(a,b,c);this.G=!0;this.setVolume(this.D);this.Ta&&(g.G(g.H(Fz(a)))?(b=this.Ta,null!=b.C&&(b.Z.Ka(b.C,"click",b.rs),g.Xh(b.C,"cursor","default"))):(b=this.Ta,null!=b.C&&(b.Z.X(b.C,"click",b.rs),null!=b.F&&!g.si(b.F)&&g.Xh(b.C,"cursor","pointer"))),b=a.o.ya,g.Za(b)||Wv(this.Ta,b),this.Ta.show());Hz(this)&&(b=this.Na instanceof ro?
this.Na.o:this.Na,this.L&&(b.hide(),b.Vp(),this.La=b.Nm(iw(this))),this.Or(a),this.Na instanceof ro&&b.Yf());this.M=!1;this.Ha("show_ad");this.Na.Yf();if(!Q.A)try{this.Rd(a)}catch(d){Oz(this,g1,d);return}Yy("pi");if(b=null!=this.Ta)b=this.Ta,b=fp()?!1:null!=b.wa.M?b.wa.J&&b.wa.M==hu(a):b.wa.J;b?Fha(this):this.aa.show(this.Na.Dm(),this.Ua.ty,(0,g.B)(this.La.play,this.La))};
g.h.Or=function(a){this.C.Cb(a,this.La,this.Na.uu(),this.Ta,this.H);this.Za().X(this.C,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start feedbackShown feedbackLike feedbackDislike yt-show-toast".split(" "),this.eF);this.Za().X(this.La,"loaded",this.vU);this.Za().X(this.La,"cardsStateChange",this.kM);this.Za().X(this.La,"timeUpdate",
this.iF);this.Za().X(this.La,"volumeChange",this.nM);this.Za().X(this.La,"shareClicked",this.UF);this.ah(a);var b=cs(a,this.La);this.jc.o=b;b=a.o;null!=b&&b instanceof rr&&(this.pg(b,d1),this.Wk(b),b=this.Za(),ho(b,this.C,"error",this.lM,this),ho(b,this.C,"mediaLoadTimeout",this.mM,this));nw(this,a);a.isSkippable()&&(this.C.K=30)};
g.h.Ok=function(){Jz(this)&&Mz(this);this.ra("loaded");this.dispatchEvent(new sy(this.va()))};
g.h.skip=function(){this.tb()&&this.va().isSkippable()&&(null!=this.Ta?this.Ta.skip():(this.Ha("skip"),Uz(this)))};
g.h.VF=function(){kw(this,"skipshown")};
g.h.start=function(){tz.fa.start.call(this);this.W=[];try{var a=this.va();this.A=Iz(this,a);Yy("am");uz(this,(0,g.B)(tz.prototype.UU,this,a,this.A.Wa(),this.A.o))}catch(b){Kz(this,b),this.pj(),this.tb()?(ap(this,Lz,b),this.start()):(this.G?ap(this,Lz,b):(null!=this.fe&&this.fe.Rd(EC()),bp(this,Lz,b)),this.stop())}};
g.h.getVolume=function(){mw(this);return this.La.isMuted()?0:this.La.getVolume()};
g.h.setVolume=function(a){mw(this);this.G?this.La.setVolume(a):this.D=a};
g.h.pause=function(){mw(this);this.o?this.o.pause():this.La.pause()};
g.h.resume=function(){mw(this);this.o?this.o.play():this.La.play()};
g.h.getCurrentTime=function(){mw(this);var a=this.o?this.o.C:0;return this.La.getCurrentTime()+a};
g.h.getDuration=function(){mw(this);return this.La.getDuration()};
g.h.Uc=function(){mw(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.Pe=function(){return this.La.Pe()};
g.h.lM=function(){Jz(this)&&!this.L&&this.RE();Oz(this,Lz,Zo(Lz,this.La.getError()))};
g.h.RE=function(){this.M=!0};
g.h.mM=function(){Lha(this);Oz(this,i1,Zo(i1,this.La.getError()))};
g.h.tx=function(a,b){tz.fa.tx.call(this,a,b);Qz(this,a)};
g.h.eF=function(a){switch(a.type){case "start":Yy("ff");this.ra("start");R()&&Q.A&&this.va()&&this.va().H&&this.ra("youtubeKevlarCompanionShow");this.pk();this.K=!0;this.Ta&&(Q.D&&!R()&&(this.Ta.Xa=!0),Zv(this.Ta));break;case "impression":this.ra("impression");this.L=!0;Hz(this)&&Kha(this);break;case "viewable_impression":this.ra("viewable_impression");break;case "why_this_ad_url":this.ha=this.La.Pi();Nz(this,"why_this_ad_url");this.pause();break;case "pause":this.ra("pause");break;case "why_this_ad_got_it":Nz(this,
"why_this_ad_got_it");this.ha||this.resume();break;case "resume":this.ra("resume");break;case "firstquartile":this.ra("firstquartile");break;case "midpoint":this.ra("midpoint");break;case "thirdquartile":this.ra("thirdquartile");break;case "complete":Dha(this)||(this.ra("complete"),this.Ha("instreamAdComplete"),this.Xh());break;case "click":this.Ta&&this.Ta.wa.F?this.La.Pi()?this.resume():this.pause():Pz(this);break;case "engagedview":Rz(this);this.ra("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);
break;case "yt-show-toast":this.dispatchEvent(a);break;case "videoAuthorIconClicked":Yz(this);break;case "videoAuthorClicked":Yz(this);break;case "videoClicked":this.ra("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.o&&!this.F&&(this.F=!0,kw(this,"video_card_endcap_action"));!R()&&Rz(this);Pz(this);this.La.pause();break;case "videoShareClicked":Nha(this);break;case "videoShareShown":Oha(this);break;case "videoTitleClicked":Pha(this);break;
case "videoMuteClicked":this.ba=this.D;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.ba);break;case "skipshown":this.ra("skippableStateChanged");break;case "skip":this.o?this.gB():Uz(this);break;case "MUTE_AD":this.ra("MUTE_AD");uz(this,function(){this.Xh()});
break;case "feedbackShown":this.Ha("feedbackShown");break;case "feedbackLike":this.Ha("feedbackLike");break;case "feedbackDislike":this.Ha("feedbackDislike")}};
g.h.Ff=function(){tz.fa.Ff.call(this);this.B&&(g.Of(this.B),this.B=null)};
g.h.UF=function(){var a=Sz(this)||Tz(this);null!=a&&So(a,"sharebuttonclicked")};
g.h.ah=function(a){tz.fa.ah.call(this,a);Qz(this,"impression")};
g.h.pg=function(a,b){tz.fa.pg.call(this,a,b);(0,g.E)(b,function(c){Qz(this,c)},this)};
g.h.Wk=function(a){tz.fa.Wk.call(this,a);a instanceof rr&&(a=sr(a),(0,g.E)(a.Gb(),function(b){Qz(this,b)},this))};
g.h.ck=function(){if(!this.tb())return null;try{var a=this.va();if(null==a)return null;var b=Iz(this,a);return null!=b?b.Wa():null}catch(c){return null}};
g.h.xh=function(){if(!this.tb())return null;var a=this.va();if(!jw(a))throw Zo(Gz);a=a.o.wh();return g.Za(a)?null:a[0].Wa()};
g.h.vU=function(){this.ra("adCanPlay")};
g.h.kM=function(){var a=this.Ta,b=this.La.ue();null!=a.o&&g.U(a.o,"ytp-iv-drawer-open",b)};
g.h.iF=function(){var a=this.getDuration();mw(this);var b=this.o?this.getDuration():this.La.zB();var c=this.getCurrentTime(),d=0,e=0;this.tb()&&(e=this.va(),d=e.B.o,e=e.B.Ge);if(null!=this.Ta&&0<=a&&0<=c){if(!this.Y&&3==this.va().Sa){var f=this.La.getDuration(),k=Au(this.va());f=Math.abs(f-k);2<f&&(f=Zo(tza,null,Number(f).toFixed(2)),f=bs(f,this.va(),this.La),k=Zt(this.va()),Vo(k,f));this.Y=!0}this.Ta.update(c,b,a,d,e)}};
g.h.nM=function(){var a=this.La.getVolume();if(a!=this.D&&(this.D=a,this.ra("volumeChange",{volume:a}),0==a&&this.ra("mute"),this.Ta)){var b=this.Ta;b.W&&(b=b.W,a=0==a,b.o!=a&&(b.o=a,tv(b)))}};
g.h.kV=function(a){var b=this.tb()&&Ou(this.va());return!a||g.G(g.H(a.channelId))||!a.Be&&!b?Og():new g.Jg(function(c,d){mha(a.channelId,function(e){e=new sq(e);c(e)},function(){d()},this)},this)};
g.h.iK=function(a){var b=Ho(),c=this.va();if((g.Za(au(c))||!au(c)[0].B)&&!b.o("website_actions_holdback")&&R()&&Lu(c)){var d=kga(c,a);if(d)if(gu(c,[d]),Q.A)this.K&&c.H&&this.ra("youtubeKevlarCompanionShow");else try{this.Rd(c)}catch(n){Oz(this,g1,n)}}if(d=this.Ta){d=this.va();var e=d.W;d=R()&&g.Za(au(d))&&null!=d.ea&&null!=e&&e.Be}Q.A&&(d=d&&!c.H);if(d){this.Za().X(window,"message",this.hL);d=this.va();e=d.ea.channelId;var f=js(d),k=this.Ua.contentId,l=this.Ua.Nj;l=new g.Pn((null!=l?l:"//www.youtube.com/")+
"ad_companion");var m=l.o;m.set("adformat",f);m.set("p",e);m.set("render","video_wall_companion");k&&m.set("content",k);e=new yr("1",new g.Qd(300,250),"IFrame",null,l.toString());e.J=d;e.F=!0;d=new Ns(e,[],null,!0);Q.A?(R()&&Q.A&&"IFrame"===d.o.M&&(e=d.o.ke(),Ho().o("ima_remove_videowall_companion_blank_area")&&(e.width=300,e.height=210),c.H={iframeCompanionRenderer:{clickTrackingUrls:eu(c,"companionClick"),height:e.height,impressionTrackingUrls:eu(c,"companionImpression"),url:d.o.A,width:e.width}}),
this.K&&c.H&&this.ra("youtubeKevlarCompanionShow")):(yu(c,d),this.Rd(c))}Bu(c)||b.o("website_actions_holdback")||!Lu(c)||iga(c,a);return a};
g.h.hL=function(a){var b=a.o;if("companion-setup-complete"==b.data){a=this.va();var c=encodeURIComponent(g.H(fu(a)))+","+encodeURIComponent((Sz(this)||Tz(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";Ho().o("ima_remove_videowall_companion_blank_area")?(b.width=300,b.height=210):(b.width=370,b.height=null!=fu(a)?210:185)}else"pause-video"==b.data&&this.pause()};
g.h.HV=function(a){if(null!=this.Ta&&a.Be){var b=this.Ta,c=a.title;b.wa.P=!g.G(g.H(c));b.wa.title=c;null!=b.G&&g.ye(b.G,b.wa.title);$v(b);b=this.Ta;null!=b.Ma?g.ye(b.Ma,Eq("Payla\u015f\u0131n").vb()):null!=b.K&&g.ye(b.K,Eq("Payla\u015f\u0131n").vb());b=this.Ta;c=a.Zh;null!=c&&(b.wa.Zh=c);$v(b)}this.tb()&&(this.va().W=a,this.ra("youTubeVideoMetadata"));return a};
g.h.GV=function(a){if(null!=this.Ta&&Xz(this)){var b=this.Ta,c=a.authorName;b.wa.Ga=!g.G(g.H(c));b.wa.authorName=c;null!=b.D&&g.ye(b.D,Eq("Y\u00fckleyen: "+b.wa.authorName).vb());$v(b);b=this.Ta;c=a.channelIconThumbnailUrl;b.wa.za=!g.G(g.H(c));if(null!=b.L){var d=g.ke("img");d.setAttribute("src",c);g.T(d,"videoAdUiAuthorIconImage");b.L.appendChild(d);null!=b.G&&g.T(b.G,"videoAdUiTitleWithAuthorIcon");null!=b.D&&g.T(b.D,"videoAdUiAuthorNameWithAuthorIcon")}$v(b)}this.tb()&&(this.va().ea=a,this.ra("youTubeChannelMetadata"));
return a};
g.h.bb=function(a,b,c){tz.fa.bb.call(this,a,b,c);null!=this.Ta&&this.Ta.bb()};g.C(Zz,g.rg);Zz.prototype.o=!1;Zz.prototype.connect=function(){for(this.o=!0;!g.Za(this.A);){var a=this.A.shift();this.sendMessage(a.name,a.type,a.data)}};
Zz.prototype.isConnected=function(){return this.o};
Zz.prototype.send=function(a,b,c){this.o?this.sendMessage(a,b,c):this.A.push({name:a,type:b,data:c})};
g.C($z,g.Qf);$z.prototype.getOrigin=function(){return this.A};
$z.prototype.toString=function(){return""};g.C(aA,Zz);aA.prototype.sendMessage=function(a,b,c){null!=this.Gf&&null!=this.Gf.postMessage&&this.Gf.postMessage(Sha(this,a,b,c),"*");null!=this.Gf&&null==this.Gf.postMessage&&Ip.getInstance().report(11)};
aA.prototype.V=function(){this.Z.dispose();aA.fa.V.call(this)};
aA.prototype.receive=function(a){a=a.o;var b=bA(a.data);if(cA(this,b)){if(null==this.Gf)this.Gf=a.source,this.isConnected()||this.connect();else if(this.Gf!=a.source)return;cA(this,b)&&this.dispatchEvent(new $z(b.name,b.type,b.data||{},b.sid,a.origin))}};g.C(dA,g.Qf);g.C(eA,fw);g.h=eA.prototype;
g.h.init=function(a){eA.fa.init.call(this,a);this.P=g.ch(this.oM,this.Ua.fg,this);this.Za().X(window,"message",this.zU);this.Za().X(this.J,"tick",this.XU);a=Q.o?gq():Op();this.Za().X(a,e1,this.Pk);if(iA())this.dispatchEvent(new dA("createFriendlyIframe",this.D));else{a=Iu(this.va());if(/\.html(\?.*)?$/.test(a)){if(a.match("//s0.2mdn.net/instream/html5/survey/survey.html")){var b="tr".replace("-","_");a=a.replace(".html","_"+b+".html");null!=this.Ua.contentId&&(a=Eh(a,"v",this.Ua.contentId));R()&&
(b=Ch(a,"st"),b=Wha(this,b?b+" yt":"yt"),a=Eh(a,"st",b))}a=g.H(a)}else{b=new g.Pn(a);var c=new g.Pn("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.B&&g.Qn(c,"https");this.Y=b.A;a=Un(c,a||"",void 0).toString()}this.C=g.ie("IFRAME",{src:Oo(a),allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;"});this.Za().X(this.C,"load",this.kK);this.Na.Rf().appendChild(this.C)}};
g.h.Zc=function(a,b,c){eA.fa.Zc.call(this,a,b,c);this.A=this.va().o instanceof rr;this.o=a.Nm(!1);iA()||(this.Za().X(this.o,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.nT),this.Za().X(this.o,$B,this.VQ))};
g.h.stop=function(){this.J.stop();this.Na.hide();eA.fa.stop.call(this)};
g.h.ac=function(){return 1==this.A};
g.h.start=function(){eA.fa.start.call(this);if(!R()){var a={};a.pid=Wy.getInstance().o;a.dn=this.Y;a["if"]=iA();Ip.getInstance().report(29,a,!0)}a=this.va();this.jc.B=a.L;var b=cs(a,this.o);this.jc.o=b;if(b=a.o)this.ah(a),this.pg(b,d1),this.Wk(b),nw(this,a);this.o.Cb();this.Ha("show_ad");this.Na.Jd();pw(this);null!=this.C&&(this.C.style.display="block");this.o.setVolume(this.B);this.ba=!0;this.A&&this.ra("contentPauseRequested");lA(this)};
g.h.bb=function(a,b,c){eA.fa.bb.call(this,a,b,c);hA(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.F||hA(this,"pauseAd")};
g.h.resume=function(){this.F&&(hA(this,"resumeAd"),nA(this,"play"))};
g.h.setVolume=function(a){this.B=a;eA.fa.setVolume.call(this,a);hA(this,"setAdVolume",{value:a})};
g.h.V=function(){iA()&&this.dispatchEvent(new dA("destroyFriendlyIframe",this.D));g.qe(this.C);this.A&&(!this.M||this.o.Pi()||this.o.Dh()||this.o.pause(),this.ra("contentResumeRequested"));this.ra("allAdsCompleted");this.oc=!1;this.H=[];g.dh(this.P);this.J.dispose();eA.fa.V.call(this)};
g.h.Ok=function(){};
g.h.kK=function(){if(!iA()){var a=this.o.Cu();g.Za(a)&&(a=this.Ua.Mm);hA(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}gA(this)};
var Vha={use_fast_fade_in_0s:"ffi-0",use_fast_fade_in_1s:"ffi-1",use_new_style:"new",hide_preskip:"nps",use_sound:"snd",hide_progress_bar:"npb",use_survey_skip_in_2s:"skip-2",use_survey_skip_in_3s:"skip-3",use_survey_skip_in_10s:"skip-10",use_survey_skip_in_15s:"skip-15",use_survey_skip_in_20s:"skip-20",use_survey_length_15s:"time-15",use_survey_length_45s:"time-45",use_survey_skip_in_0s:"sec-0",use_survey_length_unlimited:"time-ul",hide_advertisement_text:"nat",use_skip_survey_text:"skip_survey",
show_interstitial_white:"intr-white",show_interstitial_blue:"intr-blue",show_interstitial_for_3s:"intr-time-3",show_interstitial_for_5s:"intr-time-5",show_interstitial_close_icon:"intr-close-icon",set_interstitial_survey_text:"intr-txt-survey",set_interstitial_question_text:"intr-txt-question",set_interstitial_start_button:"intr-start-button",set_interstitial_advertisers_question_text:"intr-txt-advertisers-question",set_interstitial_ads_question_text:"intr-txt-ads-question"};g.h=eA.prototype;
g.h.zU=function(a){a=a.o;if(iA()){if(a=bA(a.data),null!=a){try{var b=JSON.parse(a.data)}catch(c){return}null!=b&&b.session==this.D&&mA(this,b)}}else if(a.source==this.C.contentWindow){try{b=JSON.parse(a.data)}catch(c){return}b.session==this.D&&mA(this,b)}};
g.h.oM=function(){jA(this,i1,null,(this.Ua.fg/1E3).toString());this.stop()};
g.h.nT=function(a){switch(a.type){case "timeUpdate":a=this.o.getDuration();var b=this.o.getCurrentTime();fA(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":nA(this,"ended");break;case "loaded":nA(this,"loadstart");break;case "mediaLoadTimeout":nA(this,"stalled");break;case "play":nA(this,"playing");break;default:nA(this,a.type)}};
g.h.VQ=function(a){a=a.type;"loadedmetadata"==a?(a=this.o.getDuration(),fA(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):nA(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Uc()?-1:this.getDuration()-this.Uc()};
g.h.getDuration=function(){return this.G};
g.h.Uc=function(){return this.K};
g.h.sb=function(){return!this.F};
g.h.XU=function(){hA(this,"getAdRemainingTime")};g.C(oA,fw);g.h=oA.prototype;g.h.zm=function(){return this.Cc()?this.o.zm():""};
g.h.ym=function(){return this.Cc()?this.o.ym():""};
g.h.sf=function(){return this.Cc()?this.o.sf():null};
g.h.va=function(){if(this.o)return this.o.sf();throw Zo(lw,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.tb=function(){return null!=this.o&&null!=this.o.sf()};
g.h.Km=function(){return!1};
g.h.Re=function(){return null};
g.h.Dr=function(){this.tb()&&(this.ads=[this.va()],this.Ac=this.va())};
g.h.destroy=function(){this.o&&(this.o.destroy(),this.o=null);oA.fa.destroy.call(this)};
g.h.Ab=function(){return this.o?this.o.Ab():null};
g.h.pk=function(){this.G=!0;this.o&&this.o.pk()};
g.h.init=function(a){this.Ec(a);this.Cc()&&this.o.init(a)};
g.h.Zc=function(a,b,c){a&&a instanceof ro&&(a=a.o);oA.fa.Zc.call(this,a,b,c);qA(this,a,b,c)};
g.h.V=function(){this.ra("allAdsCompleted");rA(this);oA.fa.V.call(this)};
g.h.getCurrentTime=function(){return this.Cc()?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return this.Cc()?this.o.getDuration():-1};
g.h.Uc=function(){return this.Cc()?this.o.Uc():-1};
g.h.bb=function(a,b,c){this.se=a;this.re=b;this.Ec(c);this.Cc()&&this.o.bb(a,b,c)};
g.h.pause=function(){this.Cc()&&this.o.pause()};
g.h.resume=function(){this.Cc()&&this.o.resume()};
g.h.skip=function(){this.Cc()&&this.o.skip()};
g.h.muteAdClicked=function(){this.Cc()&&this.o.muteAdClicked()};
g.h.muteAd=function(){this.Cc()&&this.o.muteAd()};
g.h.whyThisAdClicked=function(){this.Cc()&&this.o.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Cc()&&this.o.whyThisAdClosed()};
g.h.start=function(){if(this.Cc()){var a=this.o,b=this.Na;a&&b&&(null!=a&&a instanceof tz?b.Yf():null!=a&&a instanceof eA?(b.Jd(),b.Yf()):null!=a&&(a instanceof ny||a instanceof hy)&&b.Jd());null!=this.volume&&!isNaN(this.volume)&&this.o.setVolume(this.volume);this.o.start()}};
g.h.stop=function(){this.Ab()&&this.Ab().ac()&&this.ra("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Cc()?this.o.getVolume():0};
g.h.setVolume=function(a){a=isNaN(a)||0>a?0:a;oA.fa.setVolume.call(this,a);this.Cc()&&this.o.setVolume(a)};
g.h.Ec=function(a){oA.fa.Ec.call(this,a);this.o&&this.o.Ec(a)};
g.h.Pe=function(){return this.o?this.o.Pe():null};
g.h.Ff=function(){this.o&&this.o.Ff()};
g.h.uk=function(a){return this.o?this.o.uk(a):!1};
g.h.Um=function(){return this.o?this.o.Um():!1};
g.h.ck=function(){return this.o?this.o.ck():null};
g.h.lE=function(a){this.dispatchEvent(a)};
g.h.vE=function(a){this.dispatchEvent(a)};
g.h.Qw=function(a){this.dispatchEvent(a)};
g.h.eh=function(a){oA.fa.eh.call(this,a);this.o&&this.o.eh(a)};
g.h.hj=function(){this.ra("userClose")};
g.h.fj=function(){this.ra("autoClose")};
g.h.mg=function(a){this.o&&this.o instanceof hy&&this.o.mg(a)};
g.h.Cc=function(){return null!=this.o&&this.o.Cc()};g.C(tA,oA);g.h=tA.prototype;g.h.Ab=function(){return this.C};
g.h.dispatchEvent=function(a){if(a instanceof to){if("loaded"==a.type&&this.D)return a.stopPropagation(),!1;"loaded"==a.type&&(this.D=!0)}return tA.fa.dispatchEvent.call(this,a)};
g.h.Km=function(){return null!=ru(this.C)&&ru(this.C).Wf()};
g.h.lE=function(a){if(this.B)this.dispatchEvent(a);else{var b=a.getError()||Zo(Lz);a=a.target.Ab();qu(a);vA(this,ru(a),Error(b.Vd()))}};
g.h.Qw=function(a){this.B&&(tA.fa.Qw.call(this,a),this.destroy())};
g.h.vE=function(a){this.F||(this.F=!0,this.dispatchEvent(a))};
g.h.hQ=function(){this.A&&this.A.dispose();this.B=!0};g.C(wA,fw);g.h=wA.prototype;g.h.zm=function(){return this.o?this.o.zm():""};
g.h.ym=function(){return this.o?this.o.ym():""};
g.h.sf=function(){return this.o?this.o.sf():null};
g.h.va=function(){if(this.o)return this.o.sf();throw Zo(lw,null,"Current ads manager not available.\n"+Error().stack);};
g.h.tb=function(){return null!=this.o&&null!=this.o.sf()};
g.h.Km=function(){return this.C+1<this.A.length};
g.h.Re=function(){return this.Km()?this.A[this.C+1].sf():null};
g.h.Dr=function(){this.tb()&&(this.ads=[this.va()],this.Ac=this.va())};
g.h.Za=function(){};
g.h.destroy=function(){this.o&&this.o.destroy();wA.fa.destroy.call(this)};
g.h.Ab=function(){return this.o?this.o.Ab():null};
g.h.pk=function(){this.o&&this.o.pk()};
g.h.init=function(a){this.Ec(a);this.o&&this.o.init(a)};
g.h.Zc=function(a,b,c){a&&a instanceof ro&&(a=a.o);wA.fa.Zc.call(this,a,b,c);xA(this,a,b,c)};
g.h.V=function(){(0,g.E)(this.A,function(a){a!==this.o&&a.destroy()},this);
AA(this);this.F&&(this.F.dispose(),this.F=null);this.B&&(this.B.destroy(),this.B=null);this.ra("allAdsCompleted");wA.fa.V.call(this)};
g.h.getCurrentTime=function(){return this.o?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return this.o?this.o.getDuration():-1};
g.h.Uc=function(){return this.o?this.o.Uc():-1};
g.h.bb=function(a,b,c){this.se=a;this.re=b;this.Ec(c);this.o&&this.o.bb(a,b,c)};
g.h.pause=function(){this.o&&this.o.pause()};
g.h.resume=function(){this.o&&this.o.resume()};
g.h.skip=function(){this.o&&this.o.skip()};
g.h.muteAdClicked=function(){this.o&&this.o.muteAdClicked()};
g.h.muteAd=function(){this.o&&this.o.muteAd()};
g.h.whyThisAdClicked=function(){this.o&&this.o.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.o&&this.o.whyThisAdClosed()};
g.h.start=function(){if(this.o){var a=this.o,b=this.Na;a&&b&&(null!=a&&a instanceof tz?b.Yf():null!=a&&a instanceof eA?(b.Jd(),b.Yf()):null!=a&&(a instanceof ny||a instanceof hy)&&b.Jd());null!=this.volume&&!isNaN(this.volume)&&this.o.setVolume(this.volume);this.o.start()}};
g.h.hf=function(a){wA.fa.hf.call(this,a);null!=this.o&&this.o.hf(a);null!=this.B&&this.B.hf(a);(0,g.E)(this.A,function(b){b.hf(a)})};
g.h.stop=function(){this.destroy();this.ra("contentResumeRequested")};
g.h.getVolume=function(){return this.o?this.o.getVolume():0};
g.h.setVolume=function(a){a=isNaN(a)||0>a?0:a;wA.fa.setVolume.call(this,a);this.o&&this.o.setVolume(a)};
g.h.Ec=function(a){wA.fa.Ec.call(this,a);this.o&&this.o.Ec(a)};
g.h.Pe=function(){return this.o?this.o.Pe():null};
g.h.Ff=function(){this.o&&this.o.Ff()};
g.h.uk=function(a){return this.o?this.o.uk(a):!1};
g.h.Um=function(){return this.o?this.o.Um():!1};
g.h.ck=function(){return this.o?this.o.ck():null};
g.h.gQ=function(a){var b=a.getError()||Zo(Lz);zA(this,a.target,b)};
g.h.Uh=function(){this.G||(this.ra("contentPauseRequested"),this.G=!0)};
g.h.lg=function(a){yA(this,a.target)};
g.h.jM=function(){};
g.h.eh=function(a){(0,g.E)(this.A,function(b){b.eh(a)},this)};
g.h.hj=function(){this.ra("userClose")};
g.h.fj=function(){this.ra("autoClose")};
g.h.mg=function(a){this.o&&this.o instanceof hy&&this.o.mg(a)};g.C(BA,g.L);g.h=BA.prototype;g.h.Om=!1;g.h.Xu=1E3;g.h.SC=30;g.h.TC=45E3;g.h.BF=15E3;g.h.VG=!1;g.h.Xt=function(){var a=CA(this);this.o.appendChild(this.J);this.display(this.J);this.play();return a};
g.h.sa=function(){null==this.L&&(this.L=this.Xt());return this.L};
g.h.play=function(){null==this.A&&(this.A=g.ch(function(){this.Om||(this.hide(),this.VG=!0);this.A=null},this.VG?this.BF:this.TC,this))};
g.h.stop=function(){null!=this.A&&(g.dh(this.A),this.A=null)};
g.h.display=function(a){var b=document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
g.h.show=function(){g.ri(this.sa(),1);null!=this.C&&(g.dh(this.C),this.C=null)};
g.h.hide=function(){g.ri(this.sa(),this.SC/100);null==this.C&&(this.C=g.ch(function(){this.P();this.C=null},400,this))};
g.h.VL=function(){this.show();this.Om=!0;this.D=g.ch(function(){this.Om&&this.stop();this.D=null},this.Xu,this)};
g.h.bW=function(){null!=this.D&&(g.dh(this.D),this.D=null);this.Om&&this.play();this.Om=!1};
g.h.V=function(){BA.fa.V.call(this);this.stop();g.Of(this.Uf)};g.C(DA,fw);g.h=DA.prototype;g.h.start=function(){DA.fa.start.call(this);this.Na.Jd();this.C=this.Na.Rf();if(null!=this.C){this.Ha("show_ad");g.oe(this.C);var a=this.pA(),b=this.tb()?this.va().o.zd():a,c;Q.o?c=gq():c=Op();c.kl(b);this.C.appendChild(a);this.Zo();(0,g.E)(this.H,function(d){d()});
ab(this.H);this.D=!0}};
g.h.init=function(a){DA.fa.init.call(this,a);var b;Q.o?b=gq():b=Op();this.Za().X(b,e1,this.Pk)};
g.h.expand=function(){null!=this.o&&this.o.show();this.Ha("expand")};
g.h.collapse=function(){null!=this.o&&this.o.hide();this.Ha("collapse")};
g.h.bb=function(a,b,c){DA.fa.bb.call(this,a,b,c);this.Zo();this.D&&this.Ha("overlay_resize")};
g.h.V=function(){g.Of(this.o);this.Na=this.o=null;this.D=!1;null!=this.G&&this.G.Pj();Q.o?gq().kl(null):Op().kl(null);null!=this.C&&(g.oe(this.C),this.C=null);DA.fa.V.call(this)};
g.h.pA=function(){var a=this.va().o;if(null==a)throw a=Zo(VD),GA(this,a),a;var b=this.va();Br(a,this.Za());zr(a,this.eL);a.F||Ar(a,g.Na(this.Pu,b,a));if(Q.A&&b.H)this.ra("youtubeKevlarCompanionShow");else try{this.Rd(b)}catch(c){throw GA(this,c),c;}this.ah(b);FA(this,b);this.pg(a,["start"]);EA(this,a);return this.Qo([a.zd()])};
g.h.nC=function(a,b){return new BA(a[0],b)};
g.h.Qo=function(a){null!=this.o&&this.o.stop();this.o=this.nC(a,(0,g.B)(this.vp,this));a=this.o.sa();g.U(a,"autoalign",this.Ua.jA);R()&&g.U(a,"viewmode-fullscreen","fullscreen"==this.fd);a.appendChild(this.M);this.Za().X(a,"click",Rf);(this.tb()&&zu(this.va())||this.Ua.PG)&&this.Bt(this.o.o);return a};
g.h.Bt=function(a){var b=Or($ha,{HJ:Cq("Ad info"),close:Cq("Kapat")}),c=g.Zd("ad-info-padding",b),d=this.Za();c&&this.tb()&&(this.G=new fv(cu(this.Ac),du(this.Ac)),d.X(c,"click",this.cL),d.X(this.L,["why_this_ad_url","why_this_ad_got_it","why_this_ad_settings_url"],this.HU));c=g.Jr(b,"close-padding")?b:g.Zd("close-padding",b);d.X(c,"click",this.Op);this.tb()&&728<=this.Ac.ab()&&g.T(a,"wide-overlay-ad");a.appendChild(b)};
g.h.Zo=function(a,b){if(null!=this.o){var c=a?a:0,d=b?b:0,e=g.pi(this.Na.Rf());var f=R()?g.pi(ue(this.o.o)):g.pi(this.o.o);if(f.width+c>e.width||f.height+d>e.height)throw c=Zo(rza,null),GA(this,c),d={},this.ads[0].C&&(d.pid=Wy.getInstance().o),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.va().o.Ad(),d.vm=this.fd,Ip.getInstance().report(38,d,!0),this.stop(),c;}};
g.h.eL=function(a){kw(this,"click");Rf(a)};
g.h.Op=function(){this.Ha("close");this.vp(!0)};
g.h.cL=function(){var a=g.Zd("html5-video-player");a&&this.G&&hv(this.G,a,this.L)};
g.h.Pu=function(a,b){Ar(b,g.A);this.D?this.Nn(a,b):this.H.push((0,g.B)(this.Nn,this,a,b))};
g.h.Nn=function(a){a=cs(a,this.La);this.jc.o=a;kw(this,"impression");this.Ha("creativeview");kw(this,"start")};
g.h.vp=function(a){null!=this.o&&(this.o.stop(),a?this.ra("userClose"):this.ra("autoClose"))};
g.h.Pk=function(a){this.tb()&&this.va().L==a.o.queryId&&DA.fa.Pk.call(this,a)};
g.h.HU=function(a){switch(a.type){case "why_this_ad_url":this.ra("why_this_ad_url");this.Ha("why_this_ad_url");break;case "why_this_ad_got_it":this.ra("why_this_ad_got_it");this.Ha("why_this_ad_got_it");break;case "why_this_ad_settings_url":this.Ha("why_this_ad_settings_url")}};g.C(HA,g.rg);g.h=HA.prototype;g.h.init=function(a,b,c){IA(this,a,b,c);null==this.Z&&(this.Z=new g.fo(this),ho(this.Z,this.qb,"adsLoaderSdkAdError",this.dQ,this));PA(this)};
g.h.start=function(){this.W=!0;LA(this);0<this.C.length?WA(this):("always"==Q.C&&(null!=this.aa&&this.aa.Rd(EC()),R()&&5!=this.We()&&this.dispatchEvent(new to("companionBackfill",null))),$o(Yo,this,qs,void 0,void 0),0==this.Gc&&this.dispatchEvent("contentResumeRequested"),XA(this))};
g.h.destroy=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);RA(this);ZA(this);Q.C=this.Y;this.W=!1};
g.h.Ab=function(){return this.A<this.C.length?this.C[this.A].o[0]:null};
g.h.sb=function(){return this.W};
g.h.pause=function(){null!=this.o&&this.o.pause()};
g.h.resume=function(){null!=this.o&&this.o.resume()};
g.h.skip=function(){null!=this.o&&this.o.skip()};
g.h.Ff=function(){null!=this.o&&this.o.Ff()};
g.h.getCurrentTime=function(){return null!=this.o?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.o?this.o.getDuration():-1};
g.h.Uc=function(){return null!=this.o?this.o.Uc():-1};
g.h.setVolume=function(a){null!=a&&(this.P=a,null!=this.o&&this.o.setVolume(this.P))};
g.h.hf=function(a){this.M=a;null!=this.o&&this.o.hf(a);null!=this.D&&this.D.hf(a)};
g.h.jE=function(a){Q.C=this.Y;var b=a.B;g.Za(b)?this.J++:(a=a.C,(0,g.E)(b,g.Na(function(c,d){null!=c.C&&(d.Xa=c.C);c.isBumper&&(d.Ia=!1)},a)),this.L=eia(this,b),g.bb(this.C,new qo(b,a.isBumper,a.o)),this.J++,this.Z.Ka(this.qb,"adsLoaderSdkAdLoaded",this.jE,!1,this));
PA(this)};
g.h.dQ=function(a){a=a.o;Q.C=this.Y;a.Vd();$o(Yo,this,qs,void 0,void 0);this.J++;if(!JA(this)||2<=this.C.length-this.A)a=Yo(qs),this.dispatchEvent(new so(a));PA(this)};
g.h.yS=function(){RA(this);ZA(this);XA(this)};
g.h.eQ=function(a){a=a.getError().Fb();try{var b={};b.ec=a;Ip.getInstance().report(44,b)}catch(c){}this.A++;WA(this)};
g.h.hj=function(){this.dispatchEvent("userClose")};
g.h.fj=function(){this.dispatchEvent("autoClose")};
g.h.lg=function(){this.A++;WA(this)};
g.h.Uh=function(){this.ga||(this.dispatchEvent("contentPauseRequested"),this.ga=!0)};
g.h.We=function(){return g.Za(this.G)?null:this.G[0].C};
g.h.mg=function(a){this.o instanceof hy?this.o.mg(a):UA(this.o)&&this.o.mg(a)};
g.h.kE=function(a){switch(a.type){case "impression":try{Ip.getInstance().report(44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.og()&&MA(this,this.A+1)&&1<VA(this))b=a.Vb(),b=null===b||null===this.o||g.Za(this.o.ads)?!1:this.o.ads[this.o.ads.length-1]===b;b&&OA(this,this.A+1)}"vpaidEvent"!=a.type&&gia(this,a.type,a.Vb());this.dispatchEvent(a)};
g.h.og=function(){return null===this.B?!1:wp(this.B)&&this.M.Lm};$A.prototype.Qe=function(){return this.o};g.C(aB,hia);g.C(dB,Aw);dB.prototype.C=function(){return new Bw(this.o,null,jia(this))};g.C(hB,g.Qf);hB.prototype.setDescription=function(){};g.C(iB,g.rg);g.C(kB,g.rg);g.h=kB.prototype;g.h.Cb=function(){this.C||(null==this.Z&&(this.Z=new g.fo(this)),this.Z.X(this.A,"currentTimeUpdate",this.jC,!1),this.Z.X(this.A,"contentWrapperError",this.JS,!1));this.A.start();this.C=!0};
g.h.getCurrentTime=function(){return this.A.currentTime};
g.h.dd=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);this.A.stop();this.C=!1};
g.h.jC=function(){if(this.C){var a=this.A.currentTime;if(isNaN(a)||0>a)rB(this,"The currentTime is not a valid time value:"+a);else{var b=mia(this,a);this.D?(0,g.E)(b,function(c){oB(this,!0,c)},this):(0,g.E)(nia(b),function(c){oB(this,!0,c)},this);
oB(this,!1,oia(this,a));pia(this,a)}}};
g.h.JS=function(){rB(this,"There was an error while tracking the content:The content current time is invalid.")};g.C(tB,iB);tB.prototype.start=function(){this.Fa.start()};
tB.prototype.stop=function(){this.Fa.stop()};
tB.prototype.V=function(){tB.fa.V.call(this);this.A.dispose();this.Fa.dispose()};
tB.prototype.C=function(){if("currentTime"in this.o&&!isNaN(this.o.currentTime)){var a=this.currentTime;this.currentTime=this.o.currentTime;a!=this.currentTime&&this.dispatchEvent(new g.Qf("currentTimeUpdate"))}else this.dispatchEvent(new g.Qf("contentWrapperError")),this.stop()};g.h=vB.prototype;g.h.add=function(a){var b=this.o[this.A];this.o[this.A]=a;this.A=(this.A+1)%4;return b};
g.h.get=function(a){a=wB(this,a);return this.o[a]};
g.h.set=function(a,b){a=wB(this,a);this.o[a]=b};
g.h.Jc=function(){return this.o.length};
g.h.isEmpty=function(){return 0==this.o.length};
g.h.clear=function(){this.A=this.o.length=0};
g.h.wb=function(){var a=this.Jc(),b=this.Jc(),c=[];for(a=this.Jc()-a;a<b;a++)c.push(this.get(a));return c};
g.h.Gb=function(){for(var a=[],b=this.Jc(),c=0;c<b;c++)a[c]=c;return a};g.C(xB,Lp);g.h=xB.prototype;g.h.NF=function(a,b,c,d){if(d&&(d=g.Ua(a,function(e){return null!==Rr(e.Wa())}),null!==d))return d;
a=(0,g.re)(a,function(e){var f=e.o,k=e.Wa();g.G(g.H(k))||"progressive"!=e.C&&"application/x-mpegurl"!=g.H(f).toLowerCase()?e=!1:(f=g.H(f).toLowerCase(),e=g.G(f)||pp(2.3)&&-1!=f.indexOf("application/ogg")?!1:g.np&&(-1!=f.indexOf("video/mp4")||-1!=f.indexOf("video/3gpp"))||jp()&&(-1!=f.indexOf("application/x-mpegurl")||-1!=f.indexOf("application/vnd.apple.mpegurl"))?!0:!g.G(this.o.canPlayType(f)));return e},this);
return uB(a,b,c)};
g.h.Cu=function(){return(0,g.re)(g.Ub(ow),function(a){return!g.G(this.o.canPlayType(a))},this)};
g.h.Fr=function(a){this.P=0<a.timeout?a.timeout:1E4};
g.h.load=function(a){zB(this);a&&(this.o.src=a);this.o.load()};
g.h.unload=function(){zB(this);this.o.src="";this.o.load()};
g.h.getVideoUrl=function(){return this.o.src};
g.h.setVolume=function(a){this.o.volume=a;this.o.muted=0==a?!0:!1};
g.h.getVolume=function(){return this.o.volume};
g.h.play=function(){this.L=!1;this.o.play();this.H||(this.H=g.ch(this.cK,this.P,this))};
g.h.pause=function(){this.L=!0;this.o.pause();yB(this)};
g.h.Pi=function(){return this.o.paused?jp()||g.mM?this.o.currentTime<this.o.duration:!0:!1};
g.h.isMuted=function(){return this.o.muted};
g.h.bv=function(){ip()&&this.o.webkitDisplayingFullscreen&&this.o.webkitExitFullscreen()};
g.h.kk=function(){return iq(this.o)};
g.h.Vl=function(a){var b;a:{for(b=this.W.wb();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.lk=function(a){this.o.currentTime=a};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.zB=function(){return BB(this)};
g.h.getDuration=function(){return isNaN(this.o.duration)?-1:this.o.duration};
g.h.Dh=function(){return this.o.ended};
g.h.Ch=function(){return new g.Qd(this.o.offsetWidth,this.o.offsetHeight)};
g.h.oC=function(){return this.o.seeking};
g.h.V=function(){this.dd();xB.fa.V.call(this)};
g.h.getError=function(){return null};
g.h.Cb=function(){this.dd();this.Z=new g.fo(this);this.Z.X(this.o,$B,this.HS);this.Z.X(this.o,"canplay",this.EQ);this.Z.X(this.o,"ended",this.sM);this.Z.X(this.o,"webkitbeginfullscreen",this.cv);this.Z.X(this.o,"webkitendfullscreen",this.qC);this.Z.X(this.o,"pause",this.uM);this.Z.X(this.o,"playing",this.RS);this.Z.X(this.o,"timeupdate",this.vM);this.Z.X(this.o,"volumechange",this.wM);this.Z.X(this.o,"error",this.pC);this.Z.X(this.o,g.XN||jp()&&!mp(8)?"loadeddata":"canplay",this.TR);this.D=new Qu;
this.Z.X(this.D,"click",this.rM);this.D.Cb(this.o);this.G=new g.bh(1E3);this.Z.X(this.G,"tick",this.tM);this.G.start()};
g.h.dd=function(){null!=this.D&&(this.D.dd(),this.D=null);null!=this.G&&this.G.dispose();null!=this.Z&&(this.Z.dispose(),this.Z=null);zB(this)};
g.h.HS=function(a){this.dispatchEvent(a.type)};
g.h.EQ=function(){var a;if(a=yO)a=g.Jb,a=!(a&&(Fb(a,"SMART-TV")||Fb(a,"SmartTV")));a&&!this.M&&(this.lk(.001),this.M=!0)};
g.h.TR=function(){this.oc||(this.oc=!0,this.dispatchEvent("loaded"))};
g.h.RS=function(a){this.dispatchEvent("play");jp()||g.XN||AB(this,a)};
g.h.vM=function(a){if(!this.C&&(jp()||g.XN)){if(0>=this.getCurrentTime())return;if(g.XN&&this.Dh()&&1==this.getDuration()){this.pC(a);return}AB(this,a)}if(jp()||tp()){if(1.5<this.getCurrentTime()-this.A){this.F=!0;this.lk(this.A);return}this.F=!1;this.getCurrentTime()>this.A&&(this.A=this.getCurrentTime())}this.W.add(this.o.currentTime);this.dispatchEvent("timeUpdate")};
g.h.wM=function(){this.dispatchEvent("volumeChange")};
g.h.uM=function(){if(this.C&&jp()&&!this.L&&(2>BB(this)-this.o.currentTime||this.F)){this.B=new g.bh(250);this.Z.X(this.B,"tick",this.zQ);this.B.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.sM=function(){var a=!0;if(jp()||tp())a=this.A>=this.o.duration-1.5;!this.F&&a&&this.dispatchEvent("end")};
g.h.cv=function(){this.dispatchEvent("beginFullscreen")};
g.h.qC=function(){this.dispatchEvent("endFullscreen")};
g.h.pC=function(){yB(this);this.dispatchEvent("error")};
g.h.rM=function(){this.dispatchEvent("click")};
g.h.tM=function(){var a=this.Ch(),b=this.kk();if(a.width!=this.K.width||a.height!=this.K.height)!this.J&&b?this.cv():this.J&&!b&&this.qC(),this.K=a,this.J=b};
g.h.cK=function(){if(!this.C){try{Ip.getInstance().report(16)}catch(a){}zB(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.zQ=function(){if(this.Dh()||!this.Pi())g.Of(this.B);else{var a=this.o.duration-this.o.currentTime,b=BB(this)-this.o.currentTime;0<b&&(2<=b||2>a)&&(g.Of(this.B),this.play())}};g.C(DB,g.rg);var Fza=new g.Jn;CB.prototype.start=function(a){return this.o[a].startTime};
CB.prototype.end=function(a){return this.o[a].endTime};
g.h=DB.prototype;g.h.Yp=0;g.h.currentTime=0;g.h.duration=NaN;g.h.paused=!0;g.h.vC=!1;g.h.autoplay=!1;g.h.loop=!1;g.h.controls=!1;g.h.volume=1;g.h.muted=!1;g.h.src="";g.h.BM=1;g.h.playbackRate=0;g.h.fh=null;g.h.lq=0;g.h.WU=4;g.h.Ol=null;g.h.Zp=null;
g.h.play=function(){this.vC&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.Yp=this.WU,2>=this.Yp?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.fh||this.fh.la())this.fh=new g.bh(10),this.fh.X("tick",(0,g.B)(this.wG,this));this.lq=(0,g.J)();this.fh.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.fh.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.Yp=0;this.paused=!0;this.dispatchEvent("loadstart");this.setProperty("duration",isNaN(this.duration)?10+20*Math.random():this.duration);var a=this.buffered;a.o.push(new wia(this.duration));a.length=a.o.length;this.dispatchEvent("loadedmetadata");0<this.currentTime&&this.dispatchEvent("timeupdate");this.dispatchEvent("loadeddata");this.dispatchEvent("canplay");this.dispatchEvent("canplaythrough");this.dispatchEvent("progress");this.playbackRate=this.BM};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.wG();break;case "duration":this.duration=Number(b);this.dispatchEvent("durationchange");break;case "volume":this.volume=Number(b),this.dispatchEvent("volumechange")}};
g.h.setAttribute=function(a,b){null!=a&&Fza.set(a,b)};
g.h.getAttribute=function(a){return Fza.get(a)};
g.h.wG=function(){var a=(0,g.J)()-this.lq,b=this.currentTime+a/1E3;this.lq+=a;2<this.Yp&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.vC=this.paused=!0,this.fh.stop(),this.dispatchEvent("ended"))};
g.h.V=function(){this.fh&&this.fh.dispose();this.Z.dispose()};
g.h.tU=function(a){var b=null,c=null;switch(a.type){case "loadeddata":b="Loaded";break;case "playing":b="Playing";c="#00f";break;case "pause":b="Paused";break;case "ended":b="Ended",c="#000"}b&&this.Zp&&(this.Zp.innerText=b);c&&this.Ol&&(this.Ol.style.backgroundColor=c)};g.C(EB,g.L);EB.prototype.initialize=function(){this.A&&fp()&&this.A.load()};
EB.prototype.V=function(){g.qe(this.o);EB.fa.V.call(this)};
EB.prototype.show=function(){var a=this.o;null!=a&&(a.style.display="block")};
EB.prototype.hide=function(){var a=this.o;null!=a&&(a.style.display="none")};g.C(FB,g.L);FB.prototype.H=function(a){if(!("*"!=this.A&&a.origin!=this.A||this.B&&a.source!=this.B)&&g.x(a.data)){try{var b=JSON.parse(a.data)}catch(c){return}if(!(null==b||this.K&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "syn":GB(this,a);IB(this);this.sendMessage({event:"ack"});break;case "ack":GB(this,a);IB(this);break;case "command":a=b.func,a in this.o&&this.o[a].apply(null,b.args)}}};
FB.prototype.sendMessage=function(a,b){var c=b||this.B;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=g.hh(a);c.postMessage(d,this.G)}catch(e){}}};
FB.prototype.V=function(){window.removeEventListener("message",this.D);FB.fa.V.call(this)};g.C(HB,FB);HB.prototype.J=function(a,b){var c={event:"command",func:a},d=Array.prototype.slice.call(arguments,1);0<d.length&&(c.args=d);this.F?this.sendMessage(c):100>this.C.length&&this.C.push(c)};g.C(JB,g.L);JB.prototype.G=function(a){a=a.type;var b=new xia;b.duration=this.o.duration;b.currentTime=this.o.currentTime;b.A=this.o.readyState;this.o.error&&(b.errorCode=this.o.error.code);b.muted=this.o.muted;b.paused=this.o.paused;b.o=this.o.ended;b.volume=this.o.volume;this.A.J("notify",a,b)};
JB.prototype.D=function(a){this.B.add(a);this.Z.X(this.o,a,this.F)};
JB.prototype.H=function(a){this.B.remove(a);this.Z.Ka(this.o,a)};
JB.prototype.C=function(a,b){this.o[a]=b};g.C(MB,Lp);var yia=bd(g.Uc("https://www.youtube.com/iframe_api")),Gza=["video/mp4","video/webm"],Hza={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},LB=[],KB=!1;g.h=MB.prototype;g.h.NF=function(a,b,c){var d=g.Ua(a,function(e){return null!==Rr(e.Wa())});
if(null!==d)return d;a=(0,g.re)(a,function(e){e=g.H(e.o);return this.C?this.o.canPlayType(e):g.Ya(Gza,e)},this);
g.Za(c)||(d=uB(a,b,c));return null!=d?d:uB(a,b,[])};
g.h.Fr=function(a){this.A=a};
g.h.load=function(a,b){OB(this,a,b)};
g.h.unload=function(){OB(this,"","")};
g.h.getVideoUrl=function(){return this.ba};
g.h.setVolume=function(a){this.ia?this.dispatchEvent("volumeChange"):this.C?(a=g.Jd(100*a,0,100),this.o.setVolume(a),this.G=-1,this.dispatchEvent("volumeChange")):this.G=a};
g.h.getVolume=function(){return this.C?this.o.getVolume()/100:this.G};
g.h.play=function(){if(!g.G(g.H(this.ba))){if(!this.B&&!this.P){RB(this);var a=1E4;null!=this.A&&0<this.A.timeout&&(a=this.A.timeout);this.Ma=g.ch(this.KS,a,this)}this.C?(this.ea=!1,!this.B&&this.A&&this.A.B?this.o.loadVideoByPlayerVars(this.ua):this.o.playVideo(),this.P=!0):this.ea=!0}};
g.h.pause=function(){this.C&&this.B&&this.o.pauseVideo()};
g.h.Pi=function(){return this.C?2==this.o.getPlayerState(this.D):!1};
g.h.isMuted=function(){return this.C?this.o.isMuted():0==this.getVolume()};
g.h.bv=function(){};
g.h.kk=function(){var a=Q.o?Q.G:document.getElementById(this.Y);return a?iq(a):!1};
g.h.Vl=function(a){return this.C?this.o.getCurrentTime(this.D)>=a:!1};
g.h.lk=function(a){this.C?this.o.seekTo(a,!1):this.K=a};
g.h.getCurrentTime=function(a){return this.C?this.o.getCurrentTime(a||this.D):-1};
g.h.zB=function(){return this.C&&this.B?this.o.getVideoLoadedFraction(this.D)*this.o.getDuration(this.D):0};
g.h.getDuration=function(){return this.C&&this.B?this.o.getDuration(this.D):-1};
g.h.getError=function(){return this.ma};
g.h.Cu=function(){return g.Ub(ow)};
g.h.Dh=function(){return this.C?0==this.o.getPlayerState(this.D):!1};
g.h.Ch=function(){var a=Q.o?Q.G:document.getElementById(this.Y);return a?new g.Qd(a.offsetWidth,a.offsetHeight):new g.Qd(0,0)};
g.h.oC=function(){return!1};
g.h.ue=function(){return 1==this.Ia};
g.h.sb=function(){return this.C?1==this.o.getPlayerState(this.D):!1};
g.h.yM=function(){var a=this.Ch(),b=this.kk();if(a.width!=this.xa.width||a.height!=this.xa.height)!this.ka&&b?this.dispatchEvent("beginFullscreen"):this.ka&&!b&&this.dispatchEvent("endFullscreen"),this.xa=a,this.ka=b};
g.h.Cb=function(){this.ha=(0,g.B)(this.LE,this);this.M=(0,g.B)(this.dv,this);this.Ga=(0,g.B)(this.ME,this);this.Oa=(0,g.B)(this.JT,this);this.za=(0,g.B)(this.lR,this);this.ia&&(this.o.addEventListener("onAdStateChange",this.M),this.o.addEventListener("onReady",this.ha),this.o.addEventListener("onStateChange",this.M),this.o.addEventListener("onVolumeChange",this.Ga),this.o.addEventListener("onSharePanelOpened",this.Oa),this.o.addEventListener("onDompaused",this.za));this.aa=new g.bh(1E3);this.Z.X(this.aa,
"tick",this.yM);this.aa.start()};
g.h.dd=function(){this.ia&&(this.o.removeEventListener("onAdStateChange",this.M),this.o.removeEventListener("onReady",this.ha),this.o.removeEventListener("onStateChange",this.M),this.o.removeEventListener("onVolumeChange",this.Ga),this.o.removeEventListener("onSharePanelOpened",this.Oa),this.o.removeEventListener("onDompaused",this.za));null!=this.aa&&this.aa.dispose()};
g.h.jK=function(){var a=g.hc(Hza);Q.B&&(a.ps="gvn",a.remoteve=fs.ba,a.remotevewin="discover");a={playerVars:a,events:{cardstatechange:(0,g.B)(this.xM,this),onError:(0,g.B)(this.OS,this),onReady:(0,g.B)(this.LE,this),onAdStateChange:(0,g.B)(this.dv,this),onStateChange:(0,g.B)(this.dv,this),onVolumeChange:(0,g.B)(this.ME,this)}};var b=g.z("YT");this.o=null!=b&&null!=b.Player?new b.Player(this.Y,a):null};
g.h.OS=function(){PB(this,"unexpected.player.error")};
g.h.LE=function(){this.C=!0;this.J&&this.addInfoCardXml(this.J.videoId,this.J.ri,this.J.rl);-1!=this.G&&(this.setVolume(this.G),this.G=-1);null!=this.L&&(NB(this,this.L,this.ga),this.ga=this.L=null);-1!=this.K&&(this.lk(this.K),this.K=-1);this.ea&&this.play()};
g.h.xM=function(a){this.Ia=a.data;this.dispatchEvent("cardsStateChange")};
g.h.dv=function(a){switch(a.data){case 0:this.B?this.dispatchEvent("end"):PB(this);break;case 1:this.B||(RB(this),this.B=!0,this.H=0,this.dispatchEvent("start"));this.dispatchEvent("play");QB(this);this.F=new g.bh(100);this.Z.X(this.F,"tick",this.zE);this.F.start();break;case 2:this.dispatchEvent("pause"),QB(this)}};
g.h.lR=function(){this.Ra&&PB(this,"dom.paused")};
g.h.ME=function(){this.dispatchEvent("volumeChange")};
g.h.JT=function(){this.dispatchEvent("shareClicked")};
g.h.zE=function(){if(WN||tp()){if(1.5<this.getCurrentTime()-this.H){this.C&&this.o.seekTo(this.H,!0);return}this.getCurrentTime()>this.H&&(this.H=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.KS=function(){var a="Error code: load_timeout; ";if(this.W){var b=this.W(!0);b&&(a+=b)}this.ma=Zo(vza,null,a);this.dispatchEvent("mediaLoadTimeout")};
g.h.addInfoCardXml=function(a,b,c){if(b||c)this.C?this.o.addInfoCardXml(a,b,c):this.J={videoId:a,ri:b,rl:c}};
g.h.Pe=function(){if(!this.C)return null;var a=this.o.getVideoData();return a&&a.cpn?a.cpn:null};
g.h.Fx=function(a){this.C&&Rr(this.getVideoUrl())&&this.o.sendVideoStatsEngageEvent(a)};
g.h.setCardsVisible=function(a){this.C&&this.o.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.showControls=function(){this.C&&this.o.showControls()};
g.h.hideControls=function(){this.C&&this.o.hideControls()};
g.h.V=function(){QB(this);RB(this);this.dd();this.C=!1;this.Z.dispose();this.K=-1;this.ga=null;this.ea=!1;this.L=null;this.G=-1;this.ha=this.o=this.A=null;this.P=this.B=!1;this.ba="";MB.fa.V.call(this)};
g.Da("onYouTubeIframeAPIReady",function(){KB=!0;(0,g.E)(LB,function(a){a()});
ab(LB)},window);g.C(SB,g.rg);SB.prototype.send=function(a){var b=a.o;this.o.hasOwnProperty(b)&&this.o[b].send(a.type,a.le,a.ig)};
SB.prototype.V=function(){this.Z.dispose();for(var a in this.o)g.Of(this.o[a]);SB.fa.V.call(this)};
SB.prototype.B=function(a){a=a.o;var b=bA(a.data);if(null!=b){var c=b.channel;if(this.A&&!this.o.hasOwnProperty(c)){var d=b.sid;UB(this,c,d,a.source);this.dispatchEvent(new TB(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.C(TB,$z);g.C(WB,g.fo);
WB.prototype.F=function(a){var b=a.getOrigin(),c=g.nh("//imasdk.googleapis.com");b=g.nh(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.o)UB(this.o,a.o,a.kC,ge().parent),null!=this.o&&this.o.send(a);else if(c=a.ig,null!=c&&g.v(c.scope)){b=c.scope;c=c.args;var d;if("proxy"==b)c=a.le,"isGptPresent"==c?d=VB():"isConsolePresent"==c&&(d=null!=XB());else if(VB())if("pubads"==b||"companionAds"==b){d=a.le;var e=ge().googletag;if(null!=e&&null!=e[b]&&(e=e[b](),null!=e&&(d=e[d],null!=d)))try{var f=d.apply(e,c)}catch(k){}d=
f}else if("console"==b){if(f=XB(),null!=f&&(e=f[a.le],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){d=a.le;f=ge();if(g.Ya(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],d)&&(d=f[d],null!=d))try{e=d.apply(f,c)}catch(k){}d=e}g.v(d)&&(a.ig.returnValue=d,this.C.send(a))}};
WB.prototype.D=function(a){this.C.send(a)};var YB={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+wc(" ",Number(c)-a.length):wc(" ",Number(c)-a.length)+a},
f:function(a,b,c,d,e){d=a.toString();isNaN(e)||""==e||(d=parseFloat(a).toFixed(e));var f=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+wc(" ",a):f+wc(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return YB.f(parseInt(a,10),b,c,d,0,f,k,l)}};
YB.i=YB.d;YB.u=YB.d;g.C(aC,g.rg);g.h=aC.prototype;g.h.V=function(){this.Z.dispose();null!==this.C&&(this.C.dispose(),this.C=null);g.Gl(this.G.de(!1),function(a){a.dispose()});
this.G.clear();g.qe(this.A);aC.fa.V.call(this)};
g.h.oL=function(a){var b=a.ig,c=g.hi(this.A),d=document.createEvent("MouseEvent");d.initMouseEvent(a.le,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,null);if(!yO||jp()||0==document.webkitIsFullScreen)this.A.blur(),window.focus();this.A.dispatchEvent(d)};
g.h.FL=function(a){var b=a.ig,c=g.hi(this.A);if("TouchEvent"in window&&0<TouchEvent.length){b={bubbles:!0,cancelable:!0,view:window,detail:b.detail,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,metaKey:b.metaKey,touches:bC(this,b.touches),targetTouches:bC(this,b.targetTouches),changedTouches:bC(this,b.changedTouches)};var d=new TouchEvent(a.le,b);this.A.dispatchEvent(d)}else d=document.createEvent("TouchEvent"),d.initTouchEvent(a.le,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,
b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,bC(this,b.touches),bC(this,b.targetTouches),bC(this,b.changedTouches),b.scale,b.rotation),this.A.dispatchEvent(d)};
g.h.BL=function(a){if(null!=this.o){var b=a.ig;switch(a.le){case "startTracking":this.o.Cb();break;case "stopTracking":this.o.dd();break;case "exitFullscreen":this.o.bv();break;case "play":this.o.play();break;case "pause":this.o.pause();break;case "load":this.o.load(b.videoUrl,b.mimeType);break;case "setCurrentTime":this.o.lk(b.currentTime);break;case "setPlaybackOptions":this.o.Fr(cC(b));break;case "setVolume":this.o.setVolume(b.volume)}}};
g.h.vL=function(a){if(null!=this.B){var b=a.ig;switch(a.le){case "startTracking":this.B.Cb();break;case "stopTracking":this.B.dd();break;case "setPlaybackOptions":this.B.Fr(cC(b));break;case "load":this.B.load(b.videoUrl,b.mimeType)}}};
g.h.ng=function(a){var b={};switch(a.type){case "beginFullscreen":a="fullscreen";break;case "endFullscreen":a="exitFullscreen";break;case "click":a="click";break;case "end":a="end";break;case "error":a="error";break;case "loaded":a="loaded";break;case "mediaLoadTimeout":a="mediaLoadTimeout";break;case "pause":a="pause";b.ended=this.o.Dh();break;case "play":a="play";break;case "skip":a="skip";break;case "start":a="start";break;case "timeUpdate":a="timeupdate";b.currentTime=this.o.getCurrentTime();
b.duration=this.o.getDuration();break;case "volumeChange":a="volumeChange";b.volume=this.o.getVolume();break;case "loadedmetadata":a=a.type;b.duration=this.o.getDuration();break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":a=a.type;break;default:return}this.F.send("videoDisplay",a,b)};
g.h.kL=function(a){switch(a.le){case "showVideo":null!=this.C?this.C.dd():(this.C=new Qu,this.Z.X(this.C,"click",this.qU));this.C.Cb(eC(this.D));a=this.D;null!=a.o&&a.o.show();break;case "hide":null!==this.C&&(this.C.dispose(),this.C=null);this.D.hide();break;case "getPreloadDisplay":null!=this.o&&null==this.B&&(this.B=this.D.D);break;case "swapVideoDisplays":if(null!=this.o&&null!=this.B){this.Z.Ka(this.o,g.Ub(ZB),this.ng);this.Z.Ka(this.o,$B,this.ng);a=this.D;if(a.o&&a.A&&a.B&&a.D){var b=a.A;a.A=
a.D;a.D=b;b=a.o;a.o=a.B;a.B=b;if(a.K&&a.A instanceof xB){b=a.K;var c=a.A.o;g.lo(b.Z);b.o=c;(0,g.E)(b.B.wb(),b.D,b)}null!=a.G&&(b=a.G,a=a.A,null!=b.o&&(b.Z.Ka(b.o,g.Ub(ZB),b.ng),b.Z.Ka(b.o,$B,b.ng)),b.o=a,b.Z.X(b.o,g.Ub(ZB),b.ng),b.Z.X(b.o,$B,b.ng))}this.o=this.D.A;this.B=this.D.D;this.Z.X(this.o,g.Ub(ZB),this.ng);this.Z.X(this.o,$B,this.ng)}}};
g.h.qU=function(){this.F.send("displayContainer","videoClick")};
g.h.HK=function(){g.Gl(this.G.de(!1),function(a){a.Gf=xe(this.A);a.connect()},this);
this.H=!0};dC.prototype.initialize=function(){null!=this.o&&this.o.initialize();null!=this.B&&this.B.initialize()};
dC.prototype.destroy=function(){g.Of(this.o);g.Of(this.B);g.Of(this.G);g.Of(this.A);g.Of(this.D);g.Of(this.K);g.qe(this.C)};
dC.prototype.hide=function(){null!=this.o&&this.o.hide()};
dC.prototype.setSize=function(a,b){var c=this.C;null!=c&&(-1==a?(c.style.right="0",c.style.left="0"):c.style.width=a+"px",-1==b?(c.style.bottom="0",c.style.top="0"):c.style.height=b+"px");null!=this.G&&(c=this.G,c.A.width=-1==a?"100%":a,c.A.height=-1==b?"100%":b)};g.h=fC.prototype;g.h.uu=function(){return eC(this.o)};
g.h.Dm=function(){return this.o.H};
g.h.Rf=function(){return this.o.H};
g.h.Nm=function(){var a=this.o.A;return null!=a?a:new MB};
g.h.Yf=function(){var a=this.o;null!=a.o&&a.o.show()};
g.h.Jd=function(){};
g.h.gu=function(){return null!=this.o.F};
g.h.jk=function(){return this.o.J};
g.h.Yu=function(){return!1};
g.h.Wp=function(){return this.o.L};
g.h.setSize=function(a,b){this.o.setSize(a,b)};
g.h.hide=function(){};
g.h.Up=function(){return null};
g.h.Vp=function(){};g.C(gC,g.Qf);g.h=iC.prototype;
g.h.clone=function(){var a=new iC;"auto"==this.Bj?a.Bj="auto":"click"==this.Bj&&(a.Bj="click");a.o=this.o;a.ii=g.hc(this.ii);a.A=this.A;a.Uo=this.Uo;a.F=this.F;a.B=this.B?g.ib(this.B):null;a.contentTitle=this.contentTitle;a.fc=g.hc(this.fc);a.location=this.location;a.referrer=this.referrer;a.G=this.G;a.language=this.language;a.ik=this.ik;a.hk=this.hk;a.zt=this.zt;a.wf=this.wf;a.vf=this.vf;a.om=this.om;a.pm=this.pm;a.jf=this.jf;a.Sr=this.Sr;a.wy=this.wy;a.Ux=this.Ux;a.H=this.H;a.D=this.D;a.C=this.C;
a.Bs=this.Bs;a.Tp=this.Tp;a.afcRmFallback=this.afcRmFallback;a.L=this.L;a.K=this.K;a.Vj=this.Vj;a.As=this.As;a.LC=this.LC;a.yC=this.yC;a.jt=this.jt?this.jt.clone():null;return a};
g.h.ii=null;g.h.Uo=null;g.h.zt=null;g.h.fc=null;g.h.Bj="unknown";g.h.LC=0;g.h.ik=0;g.h.hk=0;g.h.wf=0;g.h.vf=0;g.h.om=function(){return null};
g.h.pm=function(){return null};
g.h.Vj=!1;g.h.jf=null;g.h.Sr=!1;g.h.wy=!1;g.h.Ux=!0;g.h.As=new Ao;g.h.Bs=0;g.h.bB=!0;g.h.Tp=null;g.h.afcRmFallback=!1;g.h.yC=!0;g.h.jt=null;g.C(jC,g.rg);g.C(kC,g.Qf);kC.prototype.getError=function(){return this.A};g.C(mC,g.rg);mC.prototype.A=null;mC.prototype.Jb=function(){return this.B};
mC.prototype.V=function(){delete this.o;nC(this);g.mg(this.A);mC.fa.V.call(this)};
mC.prototype.D=function(){lC(this)&&(nC(this),g.mg(this.A),this.A=null,this.B=!0,this.dispatchEvent("ifload"))};g.C(oC,jC);g.Ea(oC);g.h=oC.prototype;g.h.V=function(){this.A&&this.A.dispose();oC.fa.V.call(this)};
g.h.initialize=function(){if(!this.Ae){var a=Ge(new Td);try{pC([a,a.top]);var b=!0}catch(c){b=!1}b?BC(this):(this.Ae=!0,this.C="not_available")}};
g.h.Rd=function(a){try{this.o.googleSetCompanionAdContents((0,g.K)(a,this.JJ,this)),this.bl()}catch(b){this.dispatchEvent(new kC("companion_display_error",b))}};
g.h.NE=function(){0<this.B&&(0,g.J)()>=this.B?(this.Ae=!0,xC(this),AC(this)):BC(this)};
g.h.zV=function(a){var b=(0,g.K)(a.adSizes,function(c){return new g.Qd(c.adWidth,c.adHeight)});
return new oq(a.slotId,b)};
g.h.JJ=function(a){var b={};b.slotId=a.J;b.adContent=a.vb();b.adWidth=a.C;b.adHeight=a.o;b.friendlyIframeRendering=a.A;b.onAdContentSet=(0,g.B)(this.ZQ,this,a);return b};
g.h.ZQ=function(a,b){if(null!=a.B){var c=ue(b);c||(c=g.ke("div"),b.appendChild(c));var d=a.zd();c.appendChild(d);CC(this,a,c)}else c=a.A?b.querySelector("iframe"):(c=ue(b))?ue(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&Dia(this,c,a)};
g.h.YQ=function(a){this.dispatchEvent(new kC("companion_click",null,a))};
g.h.bl=function(a){Vo(this.impressionUrls,a)};g.C(DC,g.rg);DC.prototype.iA=function(){return!0};
DC.prototype.Di=function(){return null};g.C(FC,DC);g.h=FC.prototype;g.h.V=function(){this.destroy();FC.fa.V.call(this)};
g.h.destroy=function(){null!=this.Z&&this.Z.dispose();this.B=null;(0,g.E)(this.C,function(a){qq(a)},this);
this.A=null};
g.h.Rd=function(a){g.Of(this.A);this.A=new g.rg;this.B=a;this.D=!0;this.F?HC(this):(this.D=JC(IC(a),[]),this.D||(this.A=this.B=null));return this.A};
g.h.iA=function(){return this.D};
g.h.FT=function(){null!=this.G&&(this.G.stop(),this.G.dispose(),this.G=null);if(null!=this.o){var a=qC(this.o);null!=a&&(this.C=a)}this.F=!0;null!=this.B&&HC(this);this.dispatchEvent(new g.Qf("initialized"))};
g.h.aR=function(a){GC(this,a.getError())};
g.h.WQ=function(a){if(null!=a.o){var b=a.o;"companion_slot_init"==a.type?(Vo(b.D),xg(function(){null!=this.A&&this.A.dispatchEvent(new rq("companion_impression",b))},this)):"companion_click"==a.type&&(Vo(b.F),null!=this.A&&this.A.dispatchEvent(new rq("companion_click",b)))}};
g.h.Di=function(){return this.o};g.C(KC,Aw);
KC.prototype.C=function(){if(null===this.o){for(var a=this.B,b=new bB,c=se(ue(this.B)),d=0,e=c.length;d<e;d++){var f=c[d];if("vmap:AdBreak"==f.nodeName){var k=f;var l=[];for(var m="",n=null,p=!1,q=!1,u=null,w=!1,D=se(k),F=0,I=D.length;F<I;F++){var O=D[F];switch(O.nodeName){case "vmap:AdSource":if(!n&&(n=Kia(O),!n)){m=Bt(O,"vmap:AdTagURI");var na="";m.length&&(na=g.H(Dt(m[0])));if(g.G(na))throw Yo(uza,null,O.parentNode.nodeName,O.nodeName);m=na}break;case "vmap:Extensions":u=Bt(O,"vmap:Extension"),w=
g.Ua(u,g.Na(LC,"type","bumper")),null!=w&&(p=!0,q=Ct(w,"suppress_bumper"),q=null!=q?"true"==q:!0),w=Lia(u),u=w.breakType,w=w.mp}}D=null;if(n){D=n;n=null;try{n=At(D)}catch(Ia){n=wt(D)}D=this.A.clone();D.A=n;D.o=""}else g.G(m)||(n=m,D=this.A.clone(),D.A="",D.o=n);D&&(R()&&(n=D,k=Ct(k,"timeOffset"),F=Gt(k),k="start"==k||0==F?0:"end"==k||-1==F?-1:1E3*F,n.Bs=k),k=new aB(D),k.isBumper=p,k.o=p&&!q,k.C=u,k.mp=w,g.bb(l,k));f=Iia(f);p=0;for(q=f.length;p<q;p++)if(u=f[p],k=Gt(u),0<p&&(l=Jia(this,l)),"start"==
u||0==k)cB(b,l,0);else if("end"==u)cB(b,l,-1);else{if(-1==k)throw Yo(fB,null,"timeOffset",g.H(u));cB(b,l,k)}}}if(0==b.o.Gb().length)throw Yo(qs);this.o=new Bw(a,null,b)}return this.o};PC.prototype.G=function(){var a=this.B(this.D());return Hg(a)?a.then(function(b){return b.toString()}):a instanceof Error?a:a.toString()};
PC.prototype.F=function(){var a=1;up()&&(a+=4);if(!R()){var b=15360;Q.aa&&(b+=8);a+=b}return a};var pD={A3:"ultrahigh",w_:"high",MI:"medium"},Wia={xX:1E3,yX:1001,zX:1002,AX:1003,BX:1004,CX:1005,DX:1006},Xia={II:1,qI:2},Yia={SY:"content",F2:"site",G2:"site_content"};g.h=VC.prototype;g.h.Ko="high";g.h.ev=!1;g.h.lt=1;g.h.nt=null;g.h.adType="video";g.h.adBlock=1;g.h.Lo=null;g.h.age=null;g.h.vt=!0;g.h.wt=null;g.h.Zt=null;g.h.Yl=null;g.h.experimentIds=null;g.h.gender=null;g.h.host=null;g.h.Wu=null;g.h.isLiveStream=!1;g.h.language=null;g.h.sC=null;g.h.rC=null;g.h.rq=1E5;g.h.tq=null;g.h.uC=null;
g.h.tC=null;g.h.Yv=0;g.h.Uk=null;g.h.mr=null;g.h.Cr=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.gr=null;g.h.url=null;g.h.Xp=null;g.h.By=null;g.h.fv=null;g.h.Ly=null;g.h.Iy=null;g.h.Jy=null;g.h.Ky=null;g.h.Et=null;g.h.Ay=null;g.h.zs=null;g.h.zM=null;g.h.AM=null;g.h.contentTitle=null;var Uia={uY:"bumpervideo",rI:"flash",IMAGE:"image",L2:"skippablevideo",S2:"standardvideo",W2:"staticimage",TEXT:"text",VIDEO:"video"},hD=["flash","image","staticimage"],Via=[new g.Qd(200,200),new g.Qd(250,250),new g.Qd(300,250),new g.Qd(336,280),new g.Qd(450,50),new g.Qd(468,60),new g.Qd(480,70),new g.Qd(728,90)];g.C(qD,PC);var Zia=["bumpervideo","skippablevideo","standardvideo","video"];qD.prototype.J={EX:"allow",lI:"exclude",b2:"require"};qD.prototype.F=function(){var a=qD.fa.F.call(this);R()&&this.o.Cr&&(a|=this.o.Cr);return a};
qD.prototype.B=function(a){var b=new g.Pn(this.A.o),c=new g.Pn("//"+b.A+b.C);b=a.Gb();(0,g.E)(b,function(d){g.Yn(c,d,a.get(d))});
g.Qn(c,"https");return c};
qD.prototype.D=function(){var a=new g.Jn;a.set("sdkv",UC(this));a.set("sdki",this.F().toString(16));a.set("video_product_type",null!=this.o.Uk?R()?5:g.wb(this.o.Uk,"ca-games-")?4:g.wb(this.o.Uk,"ca-video-")?0:-1:-1);a.set("correlator",this.H.o);a.set("client",this.o.Uk);R()&&!g.G(g.H(this.o.url))?a.set("url",this.o.url):a.set("url",this.A.location?this.A.location:this.A.referrer);null!=this.A.jf&&a.set("adk",this.A.jf);a.set("num_ads",rD(this));a.set("channel",aja(this));a.set("output","xml_vast3");
this.o.ev&&a.set("adtest","on");this.o.Lo&&a.set("adsid",this.o.Lo);$p&&a.set("flash",aD);gD("alternate_ad_url",this.o.wt,a);gD("cpm",this.o.Zt,a);WC(a,this.A);R()||g.Yb(pD,this.o.Ko)&&a.set("adsafe",this.o.Ko);this.o.host&&(a.set("host",this.o.host),gD("ht_id",this.o.Wu,a),null!=this.o.C&&gD("h_ch",this.o.C.join("+"),a));gD("hl",this.o.language,a);gD("cust_age",this.o.age,a);gD("cust_gender",this.o.gender,a);-1!=this.o.tagForChildDirectedTreatment&&gD("tfcd",this.o.tagForChildDirectedTreatment,a);
null!=this.o.gr&&gD("pucrd",this.o.gr,a);gD("slotname",this.o.nt,a);if(bD(this.o)&&(a.set("ea","0"),null!=this.A.wf&&null!=this.A.vf)){var b=cD(this.o,this.A.wf,this.A.vf,this.A.Vj);a.set("image_size",b);g.G(b)&&(this.o.o=jD(this.o.o,this.o.adType,!0),this.o.adType=this.o.o.join("_"))}a.set("ad_type",this.o.adType);b=Ko(Go());g.G(g.H(b))||a.set("eid",b);YC(a);b=this.H;var c=this.o,d=this.o.Yl;if(null!=d){var e=Gp(b);c=null!=c.zs?c.zs:yp(e,d);1!=c&&a.set("ad_block",c);null==b.M&&(b.M=new Dp);c=b.M;
var f=d!=b.W;(e=0==e.o%100||f)||(e=36E5<(null===c.o?0:(new g.Cp).getTime()-c.o));e&&c.reset();b.W=d;b=c.A;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.o.lt;a.set("videoad_start_delay",null!=b?b:1);SC(this,a);TC(this,a);QC(this,a);$ia(this)&&a.set("video_format",null!=this.o.Xp&&R()?this.o.Xp:g.mM&&ep(6)||g.QM&&ep(4)||pp(2.3)?43:18);a.set("t_pyv",null!=this.o.mr?this.o.mr:this.J.lI);gD("min_ad_duration",this.o.Yv,a);0<this.o.rq&&a.set("max_ad_duration",sD(this.o.rq,rD(this)));
0<this.o.tq&&a.set("sdmax",sD(this.o.tq,rD(this)));dD(a,this.K);R()&&(b=Rr(this.o.Yl),null!=b&&a.set("video_doc_id","yt_"+b));gD("description_url",this.o.Yl,a);R()&&(gD("lact",ZC(this.A),a),gD("loeid",this.o.fv,a),gD("lsv",this.o.isLiveStream,a),this.o.vt||gD("scs","false",a),gD("targeting",this.o.targeting,a),gD("video_cpm",this.o.By,a),gD("yt_pt",this.o.Ly,a),gD("ytdevice",this.o.Iy,a),gD("ytdevicever",this.o.Jy,a),gD("yt_vis",$C(this.A),a),gD("dbp",this.o.Ky,a),gD("avo",this.o.Et,a),gD("v_p",this.o.Ay,
a));null!=a.get("ms")||gD("ms",this.o.B,a);gD("vid_kw",this.A.B?this.A.B.join(","):null,a);gD("vid_d",this.A.F,a);gD("vid_t",this.A.contentTitle,a);RC(a);eD(this.A,a,!1);null!=this.A.ii&&gD("loc",this.A.ii.page_location,a);return a};g.C(tD,PC);tD.prototype.B=function(a){var b=new g.Pn(this.A.o);(0,g.E)(a.Gb(),function(c){g.G(a.get(c))?b.o.remove(c):g.Yn(b,c,a.get(c))});
g.Qn(b,"https");return b};
tD.prototype.D=function(){var a=new g.Jn;a.set("sdkv",UC(this));TC(this,a);QC(this,a);RC(a);null!=this.A.jf&&a.set("adk",this.A.jf);return a};g.C(uD,PC);uD.prototype.D=function(){return new g.Jn};
uD.prototype.B=function(){var a=new Cs(this.A.o),b=UC(this);b&&Es(a,"dc_sdkv",[b]);(b=this.F().toString(16))&&Es(a,"dc_sdki",[b]);(b=this.C.K)&&Es(a,"dc_submodel",[b]);null!=this.A.jf&&Es(a,"dc_adk",[this.A.jf]);b=Ko(Go());g.G(g.H(b))||Es(a,"dc_eid",[b]);b=Q.ba;null!=b&&Es(a,"dc_rfl",[zj(b)]);b=new g.Jn;SC(this,b);TC(this,b);QC(this,b);RC(b);Ln(b,"js")&&Es(a,"dc_js",[b.get("js")]);Ln(b,"msid")&&Es(a,"dc_msid",[b.get("msid")]);Ln(b,"frm")&&Es(a,"dc_frm",[b.get("frm")]);Ln(b,"osd")&&Es(a,"dc_osd",[b.get("osd")]);
Ln(b,"sdr")&&Es(a,"dc_sdr",[b.get("sdr")]);Es(a,"dcmt",["text/xml"]);Ln(b,"vpa")&&Es(a,"vpa",[b.get("vpa")]);Ln(b,"mpt")&&Es(a,"mpt",[b.get("mpt")]);Ln(b,"mpv")&&Es(a,"mpv",[b.get("mpv")]);b=Ds(a,"dc_output");null!=b&&(g.Ya(b,"vast")||g.Ya(b,"xml_vast2"))&&Es(a,"dc_output",["xml_vast3"]);g.Qn(a,"https");return a};g.C(vD,PC);vD.prototype.B=function(a){a=new g.Pn(a.get("adTagUrl"));g.Qn(a,"https");return a};
vD.prototype.G=function(){var a=g.H(this.D().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
vD.prototype.D=function(){var a=new g.Jn;a.set("adTagUrl",this.A.o);a.set("adsResponse",this.A.A);return a};g.C(wD,PC);wD.prototype.B=function(a){return new g.Pn(a.get("adTagUrl"))};
wD.prototype.D=function(){var a=new g.Jn;a.set("adTagUrl",this.A.o);a.set("adsResponse",this.A.A);return a};g.C(xD,PC);xD.prototype.B=function(a){var b=new g.Pn(this.A.o);(0,g.E)(a.Gb(),function(c){g.G(a.get(c))?b.o.remove(c):g.Yn(b,c,a.get(c))});
g.Qn(b,"https");return b};
xD.prototype.D=function(){var a=new g.Jn,b=Ko(Go());g.G(g.H(b))||a.set("eid",b);a.set("sdkv",UC(this));a.set("sdki",this.F().toString(16));a.set("correlator",this.C.B);a.set("scor",this.C.o);null!=this.A.jf&&a.set("adk",this.A.jf);SC(this,a);TC(this,a);QC(this,a);RC(a);b=(new g.Pn(this.A.o)).o;var c=new VC;c.A=nD(c.A,b.get("overlay"));a.set("afvsz",cD(c,this.A.wf,this.A.vf,this.A.Vj));b=this.C.C;null!=b&&(this.C.C=null,a.set("fbidx",b));b=this.C.P;null!=b&&a.set("ppid",b);b="null";c=this.C.A;null!=
c?b=c:Po(this.A.location)?b=this.A.location:Po(this.A.referrer)&&(b=this.A.referrer);a.set("url",b);b=this.C.K;null!=b&&a.set("submodel",b);b=this.C.H;null==b||R()||(b=bja(b),a.set("ciu_szs",b));b=(new g.Pn(this.A.o)).o.get("output");null==b||"vast"!=b&&"xml_vast2"!=b||a.set("output","xml_vast3");a.set("impl","");a.set("unviewed_position_start","1");return a};g.C(yD,xD);yD.prototype.B=function(a){a=yD.fa.B.call(this,a);this.J||dja(this,a);return a};g.C(zD,uD);zD.prototype.B=function(a){a=zD.fa.B.call(this,a);this.J||fja(this,a);return a};g.C(AD,PC);var hja="CA_TYPE CPN DT FLASH FRM LACT MT P_H P_W TSLA U_AH U_AW U_CD U_H U_HIS U_JAVA U_NMIME U_NPLUG U_TZ U_W VIS".split(" ");
AD.prototype.B=function(){var a=this.A.o.match(/\[(?:BISCOTTI_|AN)ID\]/g);if(!a)return BD(this);var b=g.Ya(a,"[BISCOTTI_ID]");a=g.Ya(a,"[ANID]");b=b?this.A.Uo():"";a=a?this.A.zt():"";return b instanceof Error?Yo(h1,b):a instanceof Error?Yo(h1,a):Hg(b)||Hg(a)?(b=Hg(b)?b:Ng(b),a=Hg(a)?a:Ng(a),g.Rg([b,a]).then(function(c){return BD(this,c[0],c[1])},function(c){throw Yo(h1,c);
},this)):BD(this,b,a)};
AD.prototype.D=function(){return new g.Jn};CD.prototype.fetch=function(a,b,c){null!=a.A&&(g.x(a.A)&&!g.G(a.A)||a.A instanceof Document)?kja(this,a,b,c):Ks(a.o)&&null!=this.o&&!this.o.G?this.o.start(a,(0,g.B)(function(){ED(this,a,b,c)},this)):ED(this,a,b,c)};
CD.prototype.A=function(a,b,c,d){var e=jja(a,this.B).G();Hg(e)?e.then(function(f){GD(this,f,a,b,c,d)},function(f){f instanceof zo?c(f):c(Yo(FD,f))},this):e instanceof zo?c(e):e instanceof Error?c(Yo(FD,e)):GD(this,e,a,b,c,d)};HD.prototype.reset=function(a){this.o=a+(0,g.J)()};ID.prototype.start=function(a,b){this.B=a;this.F=b;sja(this);this.D.F?this.H():ko(this.Z,this.D,"initialized",this.H,this)};
ID.prototype.H=function(){var a=this.D.Di();var b=a.Ae&&"retrieved"==a.C?a.F:void 0;a=Bia(a);null!=b&&(this.C.B=b);null!=a&&(this.C.H=a);rja(this)};g.h=g.KD.prototype;g.h.Jc=function(){return this.o.length+this.A.length};
g.h.isEmpty=function(){return g.Za(this.o)&&g.Za(this.A)};
g.h.clear=function(){this.o=[];this.A=[]};
g.h.contains=function(a){return g.Ya(this.o,a)||g.Ya(this.A,a)};
g.h.remove=function(a){var b=this.o;var c=Mya(b,a);0<=c?(g.cb(b,c),b=!0):b=!1;return b||g.db(this.A,a)};
g.h.wb=function(){for(var a=[],b=this.o.length-1;0<=b;--b)a.push(this.o[b]);var c=this.A.length;for(b=0;b<c;++b)a.push(this.A[b]);return a};g.C(RD,g.rg);g.C(WD,BA);g.h=WD.prototype;g.h.Xt=function(){var a=CA(this);g.T(a,"ima-container-rotator");this.G=g.ie("DIV");this.o.appendChild(this.G);(0,g.E)(this.K,function(b,c){g.T(b,"ima-container-highlight");var d=63/this.K.length*(c+.5)-5,e=g.ie("DIV",{id:Ac(),"class":"ima-container-selector"});e.style.top=d+"px";this.Uf.X(e,"click",function(f){this.al(f.target)});
this.W.set(e.id,b);this.F.appendChild(e)},this);
this.al(ue(this.F));this.play();return a};
g.h.play=function(){null==this.Fa&&(this.Fa=new g.bh(this.M),this.Uf.X(this.Fa,"tick",this.oV));WD.fa.play.call(this);this.Fa.start()};
g.h.stop=function(){null!=this.Fa&&this.Fa.stop();WD.fa.stop.call(this)};
g.h.oV=function(){var a=this.B;this.al((g.v(a.nextElementSibling)?a.nextElementSibling:te(a.nextSibling))||ue(this.B.parentNode))};
g.h.al=function(a){this.B&&g.Lr(this.B,"ima-container-active");g.T(a,"ima-container-active");var b=this.W.get(a.id),c=this.G,d=c.parentNode;d&&d.replaceChild(b,c);this.B=a;this.G=b;this.display(b)};g.C(XD,BA);XD.prototype.hide=g.A;XD.prototype.Xt=function(){var a=CA(this);(0,g.E)(this.B,function(b){g.T(b,"ima-container-highlight");this.o.appendChild(b);this.display(b)},this);
this.play();return a};g.C(YD,DA);g.h=YD.prototype;g.h.nC=function(a,b){if(this.F||null==b)b=g.A;if(R()&&this.F)var c=new BA(a[0],b);else 1<a.length?$D(this)||"fullscreen"==this.fd&&R()?c=new XD(a):(c=new WD(a),c.M=15E3):c=new BA(a[0],b);c.Xu=100;this.F&&(c.SC=30);c.TC=45E3;c.BF=6E3;g.U(c.o,"scalable",this.F);g.U(c.sa(),"yt-text-overlay",R()&&this.F);return c};
g.h.uV=function(a){var b=a.o;null!=b?(null==this.K&&(this.K=a.getExtension("AdSense").A),Ar(b,g.Na(this.Pu,a,b)),zr(b,g.Na(this.fL,a,b)),"Text"==b.Ad()&&(this.F=!0),this.B.push(b)):(b=Yo(VD),b=bs(b,a),Vo(Zt(a),b))};
g.h.Zc=function(a,b,c){YD.fa.Zc.call(this,a,b,c);this.Ua.jA=!0;a=this.va();g.Za(au(a))?R()&&this.ra("companionBackfill"):this.Rd(a)};
g.h.pA=function(){null==this.B&&(this.B=[],(0,g.E)(this.ads,this.uV,this));if(0==this.B.length)throw Zo(VD);var a=[];(0,g.E)(this.B,function(b){Br(b,this.Za());"Flash"!=b.Ad()||b.Vb().getExtension("TemplateAd")||(b.sA=!0);a.push(b.zd());cfa(b,this.K.G)},this);
if(0==a.length)throw Zo(VD);yja(this);FA(this,this.va());return this.Qo(a)};
g.h.start=function(){YD.fa.start.call(this);!this.J&&$D(this)&&(this.J=!0,this.ra("contentPauseRequested"));null!=this.A&&this.A.start();if(this.D){var a=aE(this);Ip.getInstance().report(33,a)}};
g.h.Op=function(a){YD.fa.Op.call(this,a);(0,g.E)(this.B,function(b){var c=cs(b.Vb(),this.La);this.jc.o=c;this.pg(b,["close"]);this.Ha("close")},this)};
g.h.vp=function(a){YD.fa.vp.call(this,a);$D(this)&&(null!=this.C&&g.oe(this.C),Q.o?gq().kl(null):Op().kl(null),this.J&&(this.J=!1,this.ra("contentResumeRequested")))};
g.h.Qo=function(a){a=YD.fa.Qo.call(this,a);if($D(this)){var b=ty(2);g.T(this.o.o,b);g.T(a,b)}return a};
g.h.Bt=function(a){if($D(this)){var b=g.ve(a);b&&((a=se(a)[0])&&g.Xh(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").A||new Kw,this.A=new ez(b,a,2,ZD(this),!0),this.Za().X(this.A,"skip",this.CL),this.Za().X(this.A,"end",this.eM))}else YD.fa.Bt.call(this,a),Ho().o("enable_overlays_wta")||(b=Or(aia,ZD(this)),a.appendChild(b))};
g.h.Pu=function(a,b){this.D?this.Nn(a,b):this.H.push((0,g.B)(this.Nn,this,a,b));Ar(b,g.A);this.ra("impression")};
g.h.Nn=function(a,b){var c=cs(a,this.La);this.jc.o=c;this.ah(a);this.pg(b,["creativeview"]);this.Ha("impression");this.Ha("creativeview");kw(this,"start")};
g.h.fL=function(a,b,c){a=a.getExtension("AdSense");a=new g.Pn(a.B);var d=b.ab();isNaN(d)&&(d=g.pi(b.zd()).width);var e=b.getHeight();isNaN(e)&&(e=g.pi(b.zd()).height);var f=li(c),k=c instanceof Uf;b=k&&g.v(c.offsetX)?c.offsetX:f.x;c=k&&g.v(c.offsetY)?c.offsetY:f.y;f=Go();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.fd,"sdkv=h.0.0.0","eids="+Ko(f)];R()||(d=g.pi(this.Na.Rf()),e=this.A?wha(this.A):new g.Od(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,"sy="+e.y]));So(a,"elementclick",
c);(0,g.E)(this.B,function(l){var m=cs(l.Vb(),this.La);this.jc.o=m;EA(this,l);this.Ha("click")},this);
this.ra("click")};
g.h.Ec=function(a){this.fd!=a&&(YD.fa.Ec.call(this,a),this.ra("expandedChanged"))};
g.h.Zo=function(){YD.fa.Zo.call(this,this.A?15:0,this.A?65:0)};
g.h.CL=function(){bE(this,"skip")};
g.h.eM=function(){bE(this,"close")};g.C(cE,g.L);cE.prototype.A=function(a){if(0==a.Gc||Ho().o("disable_freqcap_for_hummingbird")&&(g.Za(a.G)?0:a.G[0].mp)||0>=this.C||0>=this.o)return!1;var b=(0,g.J)()/1E3;a=a.Gc-this.B.currentTime;0<a&&(b+=a);return b-this.o<=this.C};g.C(dE,cE);dE.prototype.A=function(a){return 5==a.We()?!1:dE.fa.A.call(this,a)};g.C(UD,fw);g.h=UD.prototype;
g.h.Zc=function(a,b,c){null!=this.Yb&&(this.Yb.dd(),this.Yb.dispose(),this.Yb=null);UD.fa.Zc.call(this,a,b,c);a=this.Mf.o.Gb();b=new tB(b);var d=4;c&&0<=c.hx&&(d=c.hx);var e=new jB,f=Ho(),k=f.A("sdk_ad_prefetch_time_seconds");0<=k&&(d=k);e.F=d;e.D=f.o("enable_prefetch_for_postrolls");e.o=f.o("enable_midroll_notify");e.C=f.o("enable_postroll_notify");e.A=f.A("midroll_notify_time_seconds");e.B=f.A("postroll_notify_time_seconds");this.ix=null!=c?c.sF:0;Aja(this,a);this.Yb=new kB(b,this.Db.wb(),e);a=
this.Mf.o.Gb();Bja(this,a);Cja(this);c=g.Ua(this.Db.wb(),function(l){return 0==l.Gc});
null!=c&&this.og()&&jE(this,c);try{c={cfg:!0},c.ads=this.Ge,Ip.getInstance().report(44,c)}catch(l){}};
g.h.init=function(a){UD.fa.init.call(this,a);this.Or()};
g.h.Ok=function(){var a=new $A(this.Qe());this.dispatchEvent(new sy(null,a))};
g.h.destroy=function(){this.dispose()};
g.h.V=function(){this.qb.o=!0;if(0<this.Db.Jc()){var a=this.Db.wb();(0,g.E)(a,this.Rj,this);this.Db.clear()}hE(this);kE(this);null!=this.Na&&(this.Na.hide(),this.Na=null);UD.fa.V.call(this)};
g.h.start=function(){UD.fa.start.call(this)};
g.h.stop=function(){null!=this.rb&&(this.Rj(this.rb),this.lg())};
g.h.bb=function(a,b,c){UD.fa.bb.call(this,a,b,c);this.se=a;this.re=b;this.fd=c;null!=this.rb&&IA(this.rb,this.se,this.re,this.fd)};
g.h.pause=function(){null!=this.rb&&this.rb.pause()};
g.h.resume=function(){null!=this.rb&&this.rb.resume()};
g.h.skip=function(){null!=this.rb&&this.rb.skip()};
g.h.Ff=function(){null!=this.rb&&this.rb.Ff()};
g.h.muteAdClicked=function(){null!=this.rb&&this.Ha("mute_interaction_url")};
g.h.muteAd=function(){var a=this;if(null!=this.rb)if(this.Ha("mute_url"),this.ra("MUTE_AD"),Ho().o("use_async_run_for_execution_in_ima"))g.Dg(this.Xh,this);else{var b=g.ch(function(){a.Xh()},0);
g.Nf(this,function(){return g.dh(b)})}};
g.h.Xh=function(){this.pj();this.tb()?this.start():this.stop()};
g.h.whyThisAdClicked=function(){null!=this.rb&&this.Ha("why_this_ad_url")};
g.h.whyThisAdClosed=function(){null!=this.rb&&this.Ha("why_this_ad_got_it")};
g.h.setVolume=function(a){UD.fa.setVolume.call(this,a);null!=this.rb&&this.rb.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.rb?this.rb.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.rb?this.rb.getDuration():-1};
g.h.Uc=function(){return null!=this.rb?this.rb.Uc():-1};
g.h.Qe=function(){var a=g.ib(this.Mf.o.Gb());(0,g.E)(this.Db.wb(),g.Na(function(b,c){5==c.We()&&g.db(b,c.Gc)},a));
return a};
g.h.Ab=function(){return null!=this.rb?this.rb.Ab():null};
g.h.Dr=function(){};
g.h.hf=function(a){UD.fa.hf.call(this,a);null!=this.Db&&(0,g.E)(this.Db.wb(),function(b){b.hf(a)})};
g.h.Or=function(){this.Yb.Cb();this.Yb.jC(null);var a=g.Ca(0)&&!isNaN(0)?this.Mf.o.get(0,[]):[];g.Za(a)&&this.ra("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":gE(this,this.Db.get(a.o));break;default:g.MD(this.hm,a),iE(this)}};
g.h.hj=function(){this.ra("userClose")};
g.h.Ww=function(){this.ra("why_this_ad_url")};
g.h.Vw=function(){this.ra("why_this_ad_got_it")};
g.h.fj=function(){this.ra("autoClose")};
g.h.Rj=function(a){a.destroy();this.Db.remove(g.Ma(a));this.rb=null;null!=this.lc&&(this.lc.Ka(a,pA,this.dispatchEvent,!1,this),this.lc.Ka(a,"adError",this.uB,!1,this),this.lc.Ka(a,"allAdsCompleted",this.dE,!1,this),this.lc.Ka(a,"contentPauseRequested",this.Uh,!1,this),this.lc.Ka(a,"contentResumeRequested",this.lg,!1,this),this.lc.Ka(a,"adBreakInitialized",this.eE,!1,this))};
g.h.cR=function(a){this.jp=!0;-1==this.Wi?a.A=!1:R()&&!eE(this)||fE(this);lia(this.Yb)};
g.h.Cn=function(a){if(null!=a.A&&this.Db.get(a.o).Ab().ac()){var b={};b.adBreakTime=a.A;this.dispatchEvent(new to("adNotify",null,b))}};
g.h.Nk=function(){this.dispatchEvent(new to("discardAdNotify",null))};
g.h.aQ=function(a){var b=a.A,c=0==b,d=-1==b;this.Zl?(c?this.ra("contentResumeRequested"):!d||R()&&!eE(this)||fE(this),this.Zl=!1):(d?g.ch(function(){var e=this.Db.get(a.o);e&&this.Rj(e);R()&&!eE(this)||fE(this)},500,this):c&&g.ch(function(){this.ra("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new to("adBreakReady",null,c)))};
g.h.uB=function(a){var b=a.getError(),c=b.Fb();try{var d={};d.ec=c;Ip.getInstance().report(44,d)}catch(e){}if(R()&&b&&"adLoadError"==b.Zb()&&(this.dispatchEvent(a),null!=this.Yb))for(b=this.Yb,a=a.target.Gc,c=0;c<b.o.length;c++)b.o[c].o==a&&(b.o[c].B=!0)};
g.h.dE=function(a){this.Rj(a.target);(eE(this)||!R()&&this.jp)&&fE(this);this.ge=null;iE(this)};
g.h.Uh=function(){var a=this.Yb;a.A.stop();a.C=!1;this.ra("contentPauseRequested")};
g.h.lg=function(){this.ra("contentResumeRequested");this.qt||nB(this.Yb);this.ge=null};
g.h.eE=function(a){this.ge=null;var b=a.target;a={};a.adBreakTime=b.Gc;this.dispatchEvent(new to("prefetched",b.Ab(),a));if(null!=this.Yb){a=this.Yb;b=b.Gc;for(var c=0;c<a.o.length;c++)a.o[c].o==b&&(a.o[c].Ae=!0)}iE(this)};
g.h.ra=function(a){var b=null;null!=this.rb&&(b=this.rb.Ab());this.dispatchEvent(new to(a,b))};
g.h.Xj=function(a){return g.Ua(this.Db.wb(),g.Na(function(b,c){return c.Gc==b},a))};
g.h.YF=function(a,b){R()?this.je=new dE(a,b):this.je=new cE(a,b);return this.je};
g.h.Pe=function(){return R()&&null!=lE(this)&&null!=lE(this).o?lE(this).o.Pe():null};
g.h.mg=function(a){null!=lE(this)&&lE(this).mg(a)};
g.h.og=function(){return null===this.Na?!1:this.Ua.Lm&&wp(this.Na)};g.C(nE,g.rg);nE.prototype.V=function(){null!=this.o&&(this.o.Ka("adsManagerLoaded",this.dispatchEvent),this.o.Ka("adError",this.dispatchEvent),this.o.Ka("adLoadError",this.dispatchEvent),this.o=null);nE.fa.V.call(this)};(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!g.y.requestAnimationFrame;++b)g.y.requestAnimationFrame=g.y[c+"RequestAnimationFrame"],g.y.cancelAnimationFrame=g.y[c+"CancelAnimationFrame"]||g.y[c+"CancelRequestAnimationFrame"];if(!g.y.requestAnimationFrame){var d=0;g.y.requestAnimationFrame=function(e){var f=(new Date).getTime(),k=Math.max(0,16-(f-d));d=f+k;return g.y.setTimeout(function(){e(f+k)},k)};
g.y.cancelAnimationFrame||(g.y.cancelAnimationFrame=function(e){clearTimeout(e)})}})();pE.prototype.clone=function(){return new pE(this.o,this.G,this.C,this.D,this.B,this.F,this.A,this.H)};g.rE.prototype.A=0;g.rE.prototype.reset=function(){this.o=this.C=this.B;this.A=0};
g.rE.prototype.getValue=function(){return this.C};g.C(g.tE,g.L);g.h=g.tE.prototype;g.h.subscribe=function(a,b,c){var d=this.A[a];d||(d=this.A[a]=[]);var e=this.yc;this.o[e]=a;this.o[e+1]=b;this.o[e+2]=c;this.yc=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.A[a]){var d=this.o;if(a=g.Ua(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Li(a)}return!1};
g.h.Li=function(a){var b=this.o[a];if(b){var c=this.A[b];0!=this.B?(this.C.push(a),this.o[a+1]=g.A):(c&&g.db(c,a),delete this.o[a],delete this.o[a+1],delete this.o[a+2])}return!!b};
g.h.U=function(a,b){var c=this.A[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.D)for(e=0;e<c.length;e++){var k=c[e];Hja(this.o[k+1],this.o[k+2],d)}else{this.B++;try{for(e=0,f=c.length;e<f;e++)k=c[e],this.o[k+1].apply(this.o[k+2],d)}finally{if(this.B--,0<this.C.length&&0==this.B)for(;c=this.C.pop();)this.Li(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.A[a];b&&((0,g.E)(b,this.Li,this),delete this.A[a])}else this.o.length=0,this.A={}};
g.h.Jc=function(a){if(a){var b=this.A[a];return b?b.length:0}a=0;for(b in this.A)a+=this.Jc(b);return a};
g.h.V=function(){g.tE.fa.V.call(this);this.clear();this.C.length=0};g.uE.prototype.set=function(a,b){g.v(b)?this.o.set(a,g.hh(b)):this.o.remove(a)};
g.uE.prototype.get=function(a){try{var b=this.o.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.uE.prototype.remove=function(a){this.o.remove(a)};g.C(vE,g.uE);vE.prototype.set=function(a,b){vE.fa.set.call(this,a,xE(b))};
vE.prototype.A=function(a){a=vE.fa.get.call(this,a);if(!g.v(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
vE.prototype.get=function(a){if(a=this.A(a)){if(a=a.data,!g.v(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.C(yE,vE);yE.prototype.set=function(a,b,c){if(b=xE(b)){if(c){if(c<(0,g.J)()){yE.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.J)()}yE.fa.set.call(this,a,b)};
yE.prototype.A=function(a,b){var c=yE.fa.A.call(this,a);if(c)if(!b&&g.zE(c))yE.prototype.remove.call(this,a);else return c};g.C(g.AE,yE);g.C(BE,Ija);BE.prototype.Jc=function(){var a=0;g.Gl(this.de(!0),function(){a++});
return a};
BE.prototype.clear=function(){var a=Qca(this.de(!0)),b=this;(0,g.E)(a,function(c){b.remove(c)})};g.C(CE,BE);g.h=CE.prototype;g.h.isAvailable=function(){if(!this.o)return!1;try{return this.o.setItem("__sak","1"),this.o.removeItem("__sak"),!0}catch(a){return!1}};
g.h.set=function(a,b){try{this.o.setItem(a,b)}catch(c){if(0==this.o.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
g.h.get=function(a){a=this.o.getItem(a);if(!g.x(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.o.removeItem(a)};
g.h.Jc=function(){return this.o.length};
g.h.de=function(a){var b=0,c=this.o,d=new Dl;d.next=function(){if(b>=c.length)throw El;var e=c.key(b++);if(a)return e;e=c.getItem(e);if(!g.x(e))throw"Storage mechanism: Invalid value was encountered";return e};
return d};
g.h.clear=function(){this.o.clear()};
g.h.key=function(a){return this.o.key(a)};g.C(DE,CE);g.C(EE,CE);g.C(GE,BE);var Jja={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},FE=null;g.h=GE.prototype;g.h.isAvailable=function(){return!!this.o};
g.h.set=function(a,b){this.o.setAttribute(HE(a),b);IE(this)};
g.h.get=function(a){a=this.o.getAttribute(HE(a));if(!g.x(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.o.removeAttribute(HE(a));IE(this)};
g.h.Jc=function(){return JE(this).attributes.length};
g.h.de=function(a){var b=0,c=JE(this).attributes,d=new Dl;d.next=function(){if(b>=c.length)throw El;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if(!g.x(e))throw"Storage mechanism: Invalid value was encountered";return e};
return d};
g.h.clear=function(){for(var a=JE(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);IE(this)};g.C(KE,BE);KE.prototype.set=function(a,b){this.A.set(this.o+a,b)};
KE.prototype.get=function(a){return this.A.get(this.o+a)};
KE.prototype.remove=function(a){this.A.remove(this.o+a)};
KE.prototype.de=function(a){var b=this.A.de(!0),c=this,d=new Dl;d.next=function(){for(var e=b.next();e.substr(0,c.o.length)!=c.o;)e=b.next();return a?e.substr(c.o.length):c.A.get(e)};
return d};ME.prototype.getValue=function(){return this.o};
ME.prototype.clone=function(){return new ME(this.yc,this.o)};g.h=NE.prototype;g.h.remove=function(){var a=this.o,b=a.length,c=a[0];if(!(0>=b)){if(1==b)ab(a);else{a[0]=a.pop();a=0;b=this.o;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2;f=k<d&&b[k].yc<b[f].yc?k:f;if(b[f].yc>e.yc)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.wb=function(){for(var a=this.o,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.Gb=function(){for(var a=this.o,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].yc);return b};
g.h.clone=function(){return new NE(this)};
g.h.Jc=function(){return this.o.length};
g.h.isEmpty=function(){return g.Za(this.o)};
g.h.clear=function(){ab(this.o)};g.C(g.PE,NE);QE.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&0===a%1&&this.A[a]!=b&&(this.A[a]=b,this.o=-1)};
QE.prototype.get=function(a){return!!this.A[a]};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
RE.prototype.cancel=function(a){if(this.o)this.C instanceof RE&&this.C.cancel();else{if(this.A){var b=this.A;delete this.A;a?b.cancel(a):(b.H--,0>=b.H&&b.cancel())}this.M?this.M.call(this.L,this):this.J=!0;this.o||(a=new aF(this),VE(this),TE(this,!1,a))}};
RE.prototype.K=function(a,b){this.G=!1;TE(this,a,b)};
RE.prototype.Ql=function(a){VE(this);TE(this,!0,a)};
RE.prototype.then=function(a,b,c){var d,e,f=new g.Jg(function(k,l){d=k;e=l});
WE(this,d,function(k){k instanceof aF?f.cancel():e(k)});
return f.then(a,b,c)};
Gg(RE);RE.prototype.isError=function(a){return a instanceof Error};
g.C(UE,Pa);UE.prototype.message="Deferred has already fired";UE.prototype.name="AlreadyCalledError";g.C(aF,Pa);aF.prototype.message="Deferred was canceled";aF.prototype.name="CanceledError";$E.prototype.A=function(){delete ZE[this.Ja];throw this.o;};
var ZE={};g.C(bF,gf);g.C(cF,gf);var Lja=[2,13,14];bF.prototype.Zb=function(){return rf(this,11)};var pva={nX:0,lX:1,jX:2,mX:4,oX:14,kX:15,pX:17},qva={tX:0,rX:1,qX:2,sX:3,uX:14},rva={M_:0,N_:1,P_:2,O_:3,L_:4};g.PH=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.dF=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.Da("yt.config_",g.dF,void 0);var nF={};var Iza=g.z("ytPubsubPubsubInstance")||new g.tE;g.tE.prototype.subscribe=g.tE.prototype.subscribe;g.tE.prototype.unsubscribeByKey=g.tE.prototype.Li;g.tE.prototype.publish=g.tE.prototype.U;g.tE.prototype.clear=g.tE.prototype.clear;g.Da("ytPubsubPubsubInstance",Iza,void 0);var sF=g.z("ytPubsubPubsubSubscribedKeys")||{};g.Da("ytPubsubPubsubSubscribedKeys",sF,void 0);var uF=g.z("ytPubsubPubsubTopicToKeys")||{};g.Da("ytPubsubPubsubTopicToKeys",uF,void 0);g.tF=g.z("ytPubsubPubsubIsSynchronous")||{};
g.Da("ytPubsubPubsubIsSynchronous",g.tF,void 0);var Nja=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,Oja=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/;DF.prototype.initialize=function(a,b,c,d,e){var f=this;b?(this.cf=!0,g.BF(b,function(){f.cf=!1;if(window.botguard)EF(f,c,d);else{var k=CF(b),l=document.getElementById(k);l&&(AF(k),l.parentNode.removeChild(l));k=Error("Unable to load Botguard");k.params="from "+b;g.jF(k)}},e)):a&&(eval(a),window.botguard?EF(this,c,d):g.jF(Error("Unable to load Botguard from JS")))};
DF.prototype.dispose=function(){this.o=null};var RF=new function(){var a=window.document;this.o=window;this.A=a};
g.Da("yt.ads_.signals_.getAdSignalsString",function(){return IF(TF())},void 0);(0,g.J)();var WF=g.v(XMLHttpRequest)?function(){return new XMLHttpRequest}:g.v(ActiveXObject)?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var YF={Authorization:"AUTHORIZATION","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL","X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"},Uja="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "),
eG=!1;var tG=WN||VN;var BG={},$ja=0;g.t(CG,Pa);FG.prototype.then=function(a,b,c){return this.C?this.C.then(a,b,c):1===this.A&&a?(a=a.call(c,this.o),Hg(a)?a:HG(a)):2===this.A&&b?(a=b.call(c,this.o),Hg(a)?a:GG(a)):this};
FG.prototype.getValue=function(){return this.o};
Gg(FG);g.t(JG,Pa);JG.prototype.name="BiscottiError";g.t(IG,Pa);IG.prototype.name="BiscottiMissingError";var LG={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},KG=null;var Jza=0,QG=g.fe?"webkit":g.Zh?"moz":g.de?"ms":g.Sf?"o":"";g.Da("ytDomDomGetNextId",g.z("ytDomDomGetNextId")||function(){return++Jza},void 0);var cka={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};YG.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
YG.prototype.zC=function(){return this.event?!1===this.event.returnValue:!1};
YG.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
YG.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var bH=g.z("ytEventsEventsListeners")||{};g.Da("ytEventsEventsListeners",bH,void 0);var cH=g.z("ytEventsEventsCounter")||{count:0};g.Da("ytEventsEventsCounter",cH,void 0);var Kza=Pc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a}),dH=Pc(function(){var a=!1;
try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.t(g.pH,g.L);g.pH.prototype.X=function(a,b,c,d){c=(0,g.B)(c,d||this.A);a=g.eH(a,b,c);this.o.push(a);return a};
g.pH.prototype.Nh=function(a,b,c,d){c=(0,g.B)(c,d||this.A);a=oH(a,b,c);this.o.push(a);return a};
g.pH.prototype.Ka=function(a){g.fH(a);g.db(this.o,a)};
g.pH.prototype.V=function(){g.qH(this);g.L.prototype.V.call(this)};g.C(rH,g.L);rH.prototype.K=function(a){this.o=new g.Od($G(a),aH(a))};
rH.prototype.Wd=function(){return this.o||new g.Od};
rH.prototype.F=function(){if(this.o){var a=g.PH();if(0!=this.B){var b=this.D,c=this.o,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.B);this.A[this.Ib]=.5<Math.abs((d-this.C)/this.C)?1:0;for(c=b=0;4>c;c++)b+=this.A[c]||0;3<=b&&this.H();this.C=d}this.B=a;this.D=this.o;this.Ib=(this.Ib+1)%4}};
rH.prototype.V=function(){window.clearInterval(this.J);g.fH(this.G)};g.t(g.sH,g.L);g.sH.prototype.R=function(a,b,c,d,e){c=iF((0,g.B)(c,d||this.Rc));c={target:a,name:b,Ql:c};var f;e&&Kza()&&(f={passive:!0});a.addEventListener(b,c.Ql,f);this.P.push(c);return c};
g.sH.prototype.Ka=function(a){for(var b=0;b<this.P.length;b++)if(this.P[b]==a){this.P.splice(b,1);a.target.removeEventListener(a.name,a.Ql);break}};
g.sH.prototype.V=function(){g.uH(this);g.L.prototype.V.call(this)};g.C(g.vH,g.L);g.vH.prototype.subscribe=function(a,b,c){return this.la()?0:this.ha.subscribe(a,b,c)};
g.vH.prototype.unsubscribe=function(a,b,c){return this.la()?!1:this.ha.unsubscribe(a,b,c)};
g.vH.prototype.Ek=function(a){return this.la()?!1:this.ha.Li(a)};
g.vH.prototype.U=function(a,b){return this.la()?!1:this.ha.U.apply(this.ha,arguments)};g.t(g.zH,g.vH);g.h=g.zH.prototype;g.h.cancel=function(){this.B&&(this.B=!1,this.U("dragend",0,0,null));this.A&&(this.A=!1,this.U("hoverend",0,0,null),g.uH(this.o),yH(this))};
g.h.eD=function(a){g.uH(this.o);AH(this,BH("move"),this.cD);AH(this,BH("out"),this.dD);AH(this,"touchstart",this.dw);this.C&&AH(this,BH("down"),this.cw);var b=g.gH(a);a=jH(a);this.A=!0;this.U("hoverstart",a.x,a.y,b);this.U("hovermove",a.x,a.y,b)};
g.h.cD=function(a){var b=g.gH(a);a=jH(a);if(this.D){var c=this.D;this.D=null;if(iH(c)==b&&Pd(jH(c),a))return}this.U("hovermove",a.x,a.y,b)};
g.h.dD=function(a){var b=jH(a),c=iH(a);c&&g.we(this.F,c)?(this.D=a,this.U("hovermove",b.x,b.y,c)):(g.uH(this.o),yH(this),this.A=!1,this.U("hoverend",b.x,b.y,c))};
g.h.RP=function(a){this.eD(a);this.cw(a)};
g.h.cw=function(a){if(!g.Ca(a.button)||0==a.button){g.uH(this.o);this.o.R(document,BH("move"),this.QP);this.o.R(document,BH("up"),this.qN);var b=g.gH(a);if(g.fe)AH(this,"dragstart",this.pK);else if(g.kH(a),(g.xO||g.Zh)&&b)a:{for(var c=b;c;){if(Ce(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}document.activeElement.blur()}this.B=!0;a=jH(a);this.U("dragstart",a.x,a.y,b);this.U("dragmove",a.x,a.y,b)}};
g.h.pK=function(a){g.kH(a)};
g.h.QP=function(a){var b=g.gH(a);b==document&&(b=null);a=jH(a);this.U("hovermove",a.x,a.y,b);this.U("dragmove",a.x,a.y,b)};
g.h.qN=function(a){g.uH(this.o);this.B=!1;var b=hH(a),c=g.gH(a);a=jH(a);b&&g.we(this.F,b)?(AH(this,BH("move"),this.cD),AH(this,BH("out"),this.dD),AH(this,BH("down"),this.cw),AH(this,"touchstart",this.dw),this.U("dragend",a.x,a.y,c)):(yH(this),this.A=!1,this.U("dragend",a.x,a.y,c),this.U("hoverend",a.x,a.y,c))};
g.h.dw=function(a){var b=a.changedTouches[0];b&&(g.uH(this.o),AH(this,"touchmove",this.rN),AH(this,"touchend",this.fD),AH(this,"touchcancel",this.fD),this.G=b.identifier,a=g.gH(a),this.A||(this.A=!0,this.U("hoverstart",b.pageX,b.pageY,a)),this.U("hovermove",b.pageX,b.pageY,a),this.C&&(this.B=!0,this.U("dragstart",b.pageX,b.pageY,a),this.U("dragmove",b.pageX,b.pageY,a)))};
g.h.rN=function(a){var b=CH(this,a);b&&(this.C&&g.kH(a),a=g.gH(a),this.U("hovermove",b.pageX,b.pageY,a),this.C&&this.U("dragmove",b.pageX,b.pageY,a))};
g.h.fD=function(a){var b=CH(this,a);if(b){g.uH(this.o);yH(this);this.A=!1;var c=g.gH(a);this.C&&(this.H||g.kH(a),this.B=!1,this.U("dragend",b.pageX,b.pageY,c));this.U("hoverend",b.pageX,b.pageY,c)}};
g.h.V=function(){this.C&&(g.fe&&this.F.removeAttribute("draggable"),this.F.style.touchAction="");g.uH(this.o);g.vH.prototype.V.call(this)};DH.prototype.clone=function(){var a=new DH,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==Fa(c)?a[b]=g.hc(c):a[b]=c}return a};var FH={},EH=0;var ika=Math.pow(2,16)-1,SH=null,TH=0,hka={log_event:"events",log_interaction:"interactions"},Lza=Object.create(null);Lza.log_event="GENERIC_EVENT_LOGGING";Lza.log_interaction="INTERACTION_LOGGING";var jka=new Set(["log_event"]),KH={},HH=0,IH=0,JH=g.z("ytLoggingTransportLogPayloadsQueue_")||{};g.Da("ytLoggingTransportLogPayloadsQueue_",JH,void 0);var RH=g.z("ytLoggingTransportTokensToCttTargetIds_")||{};g.Da("ytLoggingTransportTokensToCttTargetIds_",RH,void 0);
var OH=g.z("ytLoggingTransportDispatchedStats_")||{};g.Da("ytLoggingTransportDispatchedStats_",OH,void 0);g.Da("ytytLoggingTransportCapturedTime_",g.z("ytLoggingTransportCapturedTime_")||{},void 0);g.t(XH,lka);XH.prototype.start=function(){var a=g.z("yt.scheduler.instance.start");a&&a()};
XH.prototype.pause=function(){var a=g.z("yt.scheduler.instance.pause");a&&a()};
g.Ea(XH);XH.getInstance();var dI={};jI.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.o)try{this.o.set(a,b,(0,g.J)()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(g.hh(b))}catch(f){return}else e=escape(b);g.hI(a,e,c,this.A)};
jI.prototype.get=function(a,b){var c=void 0,d=!this.o;if(!d)try{c=this.o.get(a)}catch(e){d=!0}if(d&&(c=gI.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
jI.prototype.remove=function(a){this.o&&this.o.remove(a);g.iI(a,"/",this.A)};new jI;mI.prototype.toString=function(){return JSON.stringify(g.oI(this))};
var nka=1;var uI=g.z("ytLoggingLatencyUsageStats_")||{};g.Da("ytLoggingLatencyUsageStats_",uI,void 0);var vI=0;var wI=(0,g.J)().toString();var FI=g.z("ytLoggingTimeDocumentNonce_")||yI();g.Da("ytLoggingTimeDocumentNonce_",FI,void 0);g.Da("yt_logging_screen.getRootVeType",CI,void 0);g.Da("yt_logging_screen.getCurrentCsn",g.EI,void 0);g.Da("yt_logging_screen.setCurrentScreen",GI,void 0);var II;g.HI=Pc(function(){var a=new DE;return a.isAvailable()?new g.AE(a):null});
II=Pc(function(){var a=new EE;return a.isAvailable()?new g.AE(a):null});var OI=new DF,NI=0;var dna={nZ:1,MZ:2,PAUSED:3};g.h=g.RI.prototype;g.h.nD=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.sh(a))?a.duration:0};
g.h.wu=function(a){return this.getDuration(a)};
g.h.tf=function(){return this.segments.length?this.segments[0].Wb:-1};
g.h.jw=function(a){return(a=this.sh(a))?a.ingestionTime:NaN};
g.h.Nb=function(){return this.segments.length?this.segments[this.segments.length-1].Wb:-1};
g.h.Yj=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:NaN};
g.h.gc=function(){return this.segments[0].startTime};
g.h.ak=function(){return this.segments.length};
g.h.Gq=function(){return 0};
g.h.Sf=function(a){return(a=this.rm(a))?a.Wb:-1};
g.h.Bu=function(a){return(a=this.sh(a))?a.sourceURL:""};
g.h.ld=function(a){return(a=this.sh(a))?a.startTime:0};
g.h.Kp=ba(1);g.h.Jb=function(){return 0<this.segments.length};
g.h.sh=function(a){a=g.qb(this.segments,new QI(a,0,0,0,""),function(b,c){return b.Wb-c.Wb});
return 0<=a?this.segments[a]:null};
g.h.rm=function(a){a=g.qb(this.segments,{startTime:a},function(b,c){return b.startTime-c.startTime});
return 0<=a?this.segments[a]:this.segments[Math.max(0,-a-2)]};
g.h.append=function(a){if(0!=a.length)if(a=g.ib(a),0==this.segments.length)this.segments=a;else{var b=this.segments.length?g.Ra(this.segments).endTime:0,c=a[0].Wb-this.Nb();1<c&&ab(this.segments);for(c=0<c?0:-c+1;c<a.length;c++){var d=a[c];d.startTime=b;d.endTime=d.startTime+d.duration;b+=a[c].duration;this.segments.push(a[c])}}};
g.h.FB=function(){return 0};TI.prototype.skip=function(a){this.o+=a};$I.prototype.qh=function(a,b,c){(new Uint8Array(this.data.buffer,this.o,c)).set(new Uint8Array(a.buffer,b+a.byteOffset,c));this.o+=c};var P1={},Mza=(P1.predictStart="predictStart",P1.start="start",P1["continue"]="continue",P1.stop="stop",P1),Hpa={EVENT_PREDICT_START:"predictStart",EVENT_START:"start",EVENT_CONTINUE:"continue",EVENT_STOP:"stop"};var kS=!1;g.RJ.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};eK.prototype.verify=function(a){if(this.info.fb!=this.range.length)return a.slength=this.info.fb.toString(),a.range=this.range.length.toString(),!1;if(1==this.info.o.info.containerType){if(8>this.info.fb||4==this.info.type)return!0;var b=fK(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.fb&&1936286840==b;if(3==this.info.type&&0==this.info.C)return 1836019558==b||1936286840==
b||1937013104==b||1718909296==b||1701671783==b||1936419184==b}else if(2==this.info.o.info.containerType){if(4>this.info.fb||4==this.info.type)return!0;c=fK(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.C)return 524531317==c||440786851==c}return!0};pK.prototype.o=function(a){return"true"==this.flags[a]};
pK.prototype.A=function(a){return parseFloat(this.flags[a])||0};
pK.prototype.C=function(a){return(a=this.flags[a])?a.toString():""};var Dka=/^https?:\/\/([^.]*\.moatads\.com\/|e[0-9]+\.yt\.srs\.doubleverify\.com|pagead2\.googlesyndication\.com\/pagead\/gen_204\?id=yt3p&sr=1&|pm\.adsafeprotected\.com\/youtube|pm\.test-adsafeprotected\.com\/youtube|youtube[0-9]+\.moatpixel\.com\/)/,Bka=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(-nocookie|kids)?\.com\/|([A-Za-z0-9-]{1,63}\.)*(youtube\.googleapis\.com)(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.com(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.c\.googlers\.com(:[0-9]+)?\/|(docs|drive)\.google\.com\/(a\/[^/\\%]+\/|)|[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/,
Eka=/^https?:\/\/(www\.google\.com\/pagead\/sul|www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/psul|www\.youtube\.com\/pagead\/slav|www\.youtube\.com\/pagead\/sul)/,Ika=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,fra=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
Gka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/,
Cka=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,Hka=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion))|www\.youtube\.com\/pagead\/conversion)/,Fka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|lh3\.photos\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|xfx7\.com|yt\.akamaized\.net|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|([A-Za-z0-9-]{1,63}\.)*c\.lh3(-d[a-gz])?\.(googleusercontent|photos\.google)\.com\/.*$)/,
Bla=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|ytimg\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/,
Ala=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|get\.google\.com|class\.photos\.google\.com|plus\.google\.com|books\.googleusercontent\.com|blogger\.com|mail\.google\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|talkgadget\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|vevo\.com|jamboard\.google\.com|chat\.google\.com|meet\.google\.com|crowdsource\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/,
Nza=/^(https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/class\.photos\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com|https\:\/\/crowdsource\.google\.com)$|^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^http:\/\/[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?$|^https:\/\/((staging|stream|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/(books|play-books-internal-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|(www\.)?daily\.alpha|(www\.)?weekly\.alpha|(www\.)?dev\.sandbox|(www\.)?autopush\.sandbox|(www\.)?restore\.sandbox)\.blogger\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|docs\.google\.com$|imasdk\.googleapis\.com$|lightbox-(demos|builder)\.appspot\.com$|s[01](qa)?\.2mdn\.net$|survey\.g\.doubleclick\.net$|www\.gstatic\.com$)/;var DK={kI:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c},
pM:function(a,b){a.splice(0,b)},
wj:function(a){a.reverse()}};g.FK.prototype.set=function(a,b){this.o[a]!==b&&(this.o[a]=b,this.C="")};
g.FK.prototype.get=function(a){GK(this);return this.o[a]||null};
g.FK.prototype.Wa=function(){this.C||(this.C=Jka(this));return this.C};
g.FK.prototype.clone=function(){var a=new g.FK(this.B);a.D=this.D;a.A=this.A;a.F=this.F;a.o=g.hc(this.o);a.C=this.C;return a};OK.prototype.set=function(a,b){this.o.get(a);this.A[a]=b;this.C=""};
OK.prototype.get=function(a){return this.A[a]||this.o.get(a)};
OK.prototype.Wa=function(){this.C||(this.C=Lka(this));return this.C};var RM={name:"width",video:!0,valid:640,Fh:99999},SM={name:"height",video:!0,valid:360,Fh:99999},TM={name:"framerate",video:!0,valid:30,Fh:9999},UM={name:"bitrate",video:!0,valid:3E5,Fh:2E9},PM={name:"eotf",video:!0,valid:"bt709",Fh:"catavision"},XM={name:"channels",video:!1,valid:2,Fh:99},VM={name:"cryptoblockformat",video:!0,valid:"subsample",Fh:"invalidformat"},WM={name:"decode-to-texture",video:!0,valid:"false",Fh:"nope"},YM={Co:RM,vo:SM,h_:TM,Sy:UM,PZ:PM,HY:XM,ZY:VM,hZ:WM};var Pka={0:"f",160:"h",133:"h",134:"h",135:"h",136:"h",137:"h",264:"h",266:"h",138:"h",298:"h",299:"h",304:"h",305:"h",140:"a",141:"ah",327:"sa",258:"m",380:"mac3",328:"meac3",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",227:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",381:"MAC3",329:"MEAC3",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",271:"9",313:"9",272:"9",302:"9",303:"9",308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h",
336:"9h",337:"9h",171:"v",338:"so",250:"o",251:"o",194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",314:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};bL.prototype.getName=function(){return this.name};
bL.prototype.getId=function(){return this.id};
bL.prototype.getIsDefault=function(){return this.isDefault};
bL.prototype.toString=function(){return this.name};
bL.prototype.getName=bL.prototype.getName;bL.prototype.getId=bL.prototype.getId;bL.prototype.getIsDefault=bL.prototype.getIsDefault;var ula={ZX:"auto",p3:"tiny",d0:"light",M2:"small",MI:"medium",b0:"large",t_:"hd720",p_:"hd1080",q_:"hd1440",r_:"hd2160",s_:"hd2880",z_:"highres",UNKNOWN:"unknown"};var Q1;Q1={};g.dL=(Q1.auto=0,Q1.tiny=144,Q1.light=144,Q1.small=240,Q1.medium=360,Q1.large=480,Q1.hd720=720,Q1.hd1080=1080,Q1.hd1440=1440,Q1.hd2160=2160,Q1.hd2880=2880,Q1.highres=4320,Q1);var hL="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");jL.prototype.Aa=function(){return this.video};g.h=qL.prototype;g.h.Nf=function(){};
g.h.Si=function(){};
g.h.Kv=function(){return!1};
g.h.Wc=function(){return!!this.o&&this.index.Jb()};
g.h.Ug=function(){};
g.h.gD=function(){return!1};
g.h.Zj=function(){};
g.h.bj=function(){};
g.h.Ck=function(){};
g.h.Mg=function(){};
g.h.Qp=function(){};
g.h.hD=function(a){return[a]};
g.h.yr=function(a){return[a]};
g.h.Yq=function(){};
g.h.Fp=function(){};g.t(sL,qL);g.h=sL.prototype;g.h.Nf=function(){return!1};
g.h.Si=function(){return!1};
g.h.gD=function(){return this.A};
g.h.Zj=function(){if(this.A)return[];var a=new VJ(1,this,this.initRange,"getMetadataRequestInfos");return[new VK([a],this.W)]};
g.h.bj=function(){return null};
g.h.Ck=function(a){this.Ug(a);return this.mn(a.B?a.A+1:a.A,!1)};
g.h.Mg=function(a,b){b=void 0===b?!1:b;var c=this.index.Sf(a);b&&(c=Math.min(this.index.Nb(),c+1));return this.mn(c,!0)};
g.h.Qp=function(a){this.o=new Uint8Array(fK(a).buffer)};
g.h.Kv=function(){return!1};
g.h.Ug=function(a){return 0==a.fb?!0:this.index.Nb()>a.A&&this.index.tf()<=a.A+1};
g.h.update=function(a,b,c){this.index.append(a);SI(this.index,c);this.K=b};
g.h.Wc=function(){return this.A?!0:qL.prototype.Wc.call(this)};
g.h.mn=function(a,b){var c=this.index.Bu(a),d=this.index.ld(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.o?this.info.o*e:1E3;d=new VJ(3,this,null,"liveCreateRequestInfoForSegment",a,d,e,0,f,a==this.index.Nb()&&!this.K&&0<f);return new VK([d],c)};
g.h.Fp=function(){return this.A?0:this.initRange.length};
g.h.Yq=function(){return!1};g.t(wL,g.RI);g.h=wL.prototype;g.h.tf=function(){return this.A?this.segments.length?this.rm(this.gc()).Wb:-1:g.RI.prototype.tf.call(this)};
g.h.gc=function(){if(!this.A)return g.RI.prototype.gc.call(this);if(!this.segments.length)return 0;var a=Math.max(g.Ra(this.segments).endTime-this.F,0);return 0<this.D&&this.rm(a).Wb<this.D?this.sh(this.D).startTime:a};
g.h.Yj=function(){if(!this.segments.length)return g.RI.prototype.Yj.call(this);var a=this.Nb();a=!this.A||a<=this.segments[this.segments.length-1].Wb?this.segments[this.segments.length-1]:AL(this,a,this.segments[this.segments.length-1]);return null!=this.B&&a.o&&3==this.B?a.startTime:a.endTime};
g.h.ak=function(){return this.A?this.segments.length?this.Nb()-this.tf()+1:0:g.RI.prototype.ak.call(this)};
g.h.Nb=function(){return Math.min(this.G,Math.max(g.RI.prototype.Nb.call(this),this.C))};
g.h.nD=function(a){var b=xL(this,a.Wb);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.rm=function(a){if(!this.A)return g.RI.prototype.rm.call(this,a);if(!this.segments.length)return null;var b=g.qb(this.segments,{startTime:a},function(d,e){return d.startTime-e.startTime}),c=this.segments[0<=b?b:Math.max(-(b+2),0)];
return c.startTime+c.duration>a&&c.startTime<=a?c:-1==b?AL(this,Math.max(c.Wb-Math.ceil((c.startTime-a)/this.o),0),c):AL(this,c.Wb+Math.ceil((a-c.endTime)/this.o),c)};
g.h.sh=function(a){if(!this.A)return g.RI.prototype.sh.call(this,a);if(!this.segments.length)return null;var b=xL(this,a);return 0<=b?this.segments[b]:AL(this,a,this.segments[Math.max(-(b+2),0)])};g.t(BL,sL);g.h=BL.prototype;g.h.Si=function(){return!0};
g.h.Wc=function(){return!0};
g.h.Ug=function(){return!0};
g.h.Zj=function(){return[]};
g.h.Mg=function(a,b){if(g.Ca(a)&&!isFinite(a)){var c=new VJ(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.G,void 0,this.G*this.info.o);return new VK([c],"")}return sL.prototype.Mg.call(this,a,b)};
g.h.mn=function(a,b){if(yL(this.index,a))return sL.prototype.mn.call(this,a,b);var c=this.index.ld(a),d=b?0:this.G*this.info.o;c=new VJ(3,this,null,"mlLiveCreateReqInfoForSeg",a,c,void 0,void 0,d,a==this.index.Nb()&&!this.K&&0<d);return new VK([c],0<=a?"sq/"+a:"")};GL.prototype.update=function(a,b){var c=void 0;this.A&&(c=this.A);var d=new GL,e=Array.from(a.getElementsByTagName("S"));if(e.length){var f=+CL(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+CL(a,"startNumber")||0;var m=k;var n=+CL(a,"presentationTimeOffset")||0;m=c?c.o+c.durationSecs:b?m-n/f:0;n=Date.parse(FL(CL(a,"yt:segmentIngestTime")))/1E3;d.C="SegmentTemplate"==a.parentNode.tagName;d.C&&(d.F=CL(a,"media"));var p=c?l-c.Wb:1;d.D=0<p?0:-p+1;e=g.r(e);for(p=e.next();!p.done;p=e.next()){p=
p.value;for(var q=+p.getAttribute("d")/f,u=(+p.getAttribute("yt:sid")||0)/f,w=+p.getAttribute("r")||0,D=0;D<=w;D++)if(c&&l<=c.Wb)l++;else{var F=new Qka(l,m,q,n+u,k);d.o.push(F);var I=F.o;F=p.getAttribute("yt:cuepointTimeOffset");var O=p.getAttribute("yt:cuepointDuration");if(F&&O){F=parseFloat(F);I=(kS?+F/f:-F/f)+I;O=parseFloat(O)/f;var na=p.getAttribute("yt:cuepointContext")||null,Ia=p.getAttribute("yt:cuepointIdentifier");var Ba=p.getAttribute("yt:cuepointEvent");Ba=Mza[Ba]||"unknown";F=new cJ(I,
O,na,Ia,Ba,F)}else F=null;F&&d.B.push(F);l++;m+=q;k+=q;n+=q+u}}d.o.length&&(d.A=g.Ra(d.o))}this.D=d.D;this.A=d.A||this.A;jb(this.o,d.o);jb(this.B,d.B);this.C=d.C;this.F=d.F};
GL.prototype.xh=function(a,b,c,d){for(var e=this.F.split("$$"),f=0;f<e.length;f++)e[f]=e[f].replace("$RepresentationID$",a),e[f]=e[f].replace("$Number$",c.toString()),e[f]=e[f].replace("$Bandwidth$",b.toString()),e[f]=e[f].replace("$Time$",d.toString());return e.join("$")};g.t(HL,qL);g.h=HL.prototype;g.h.Nf=function(){return!1};
g.h.Si=function(){return!1};
g.h.Zj=function(){if(this.A){var a=new VJ(1,this,null,"otfInit");return[new VK([a],this.A)]}a=new VJ(1,this,this.initRange,"otfInitInfo");var b=new VJ(2,this,this.indexRange,"otfIndexInfo");return[new VK([a,b])]};
g.h.bj=function(){return null};
g.h.Ck=function(a){this.Ug(a);return IL(this,a.B?a.A+1:a.A,!1)};
g.h.Mg=function(a,b){b=void 0===b?!1:b;var c=this.index.Sf(a);b&&(c=Math.min(this.index.Nb(),c+1));return IL(this,c,!0)};
g.h.Qp=function(a){if(1==a.info.type)this.o||(a.o&&"http://youtube.com/streaming/otf/durations/112015"==a.o.uri&&Yka(this,a.o),this.o=gK(a));else if(2==a.info.type)if(g.iK(this.info)){if(!this.index.Jb()&&(a=g.kJ(fK(a),0,1936286840))){var b=[],c=sJ(a);a=c.qx.length;var d=c.by,e=c.qx,f=c.bo;c=this.indexRange.end+c.rB+1;for(var k=0,l=0;l<a;l++){var m=f[l]/d,n=e[l];b.push(new QI(l,k,m,NaN,"range/"+c+"-"+(c+n-1)));k+=m;c+=n}this.index.append(b)}}else if(2==this.info.containerType&&this.o&&(d=new xJ(new DataView(this.o.buffer)),
b=MJ(d))&&(d=new xJ(fK(a)),a=NJ(d,b.Qn,this.indexRange.end))){d=[];e=b.Zx/b.ay;f=a.length-1;for(c=0;c<f;c++)k=a[c],l=a[c+1],m=k.kp*e,d.push(new QI(c,m,l.kp*e-m,NaN,"range/"+k.wi+"-"+(l.wi-1)));c=a[f].kp*e;d.push(new QI(f,c,b.duration*e-c,NaN,"range/"+a[f].wi+"-"+(b.Bx+b.Qn)));this.index.append(d)}};
g.h.Ug=function(a){return 0==a.fb?!0:this.index.Nb()>a.A&&this.index.tf()<=a.A+1};
g.h.Fp=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0};
g.h.Yq=function(){return!1};g.h=g.JL.prototype;g.h.Gq=function(a){return this.o[a]};
g.h.ld=function(a){return this.A[a]/this.B};
g.h.Kp=ba(0);g.h.jw=function(){return NaN};
g.h.getDuration=function(a){a=this.wu(a);return 0<=a?a/this.B:-1};
g.h.wu=function(a){return a+1<this.Pa||this.C?this.A[a+1]-this.A[a]:-1};
g.h.tf=function(){return 0};
g.h.Nb=function(){return this.Pa-1};
g.h.Yj=function(){return this.C?this.A[this.Pa]/this.B:NaN};
g.h.gc=function(){return 0};
g.h.ak=function(){return this.Pa};
g.h.Bu=function(){return""};
g.h.Sf=function(a){a=g.qb(this.A.subarray(0,this.Pa),a*this.B);return 0<=a?a:Math.max(0,-a-2)};
g.h.Jb=function(){return 0<=this.Nb()};
g.h.FB=function(a,b){if(a>=this.Nb())return 0;for(var c=0,d=this.ld(a)+b,e=a;e<this.Nb()&&d>this.ld(e);e++)c=Math.max(c,(e+1<this.Pa||this.C?this.o[e+1]-this.o[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){KL(this);this.C=!0;this.A[this.Pa]=b;this.o[this.Pa]=a};g.t(g.LL,qL);g.h=g.LL.prototype;g.h.Zj=function(a){var b=new VJ(1,this,this.initRange,"initInfo"),c=new VJ(2,this,this.indexRange,"indexInfo"),d=[],e=[b];XJ(b,c)?e.push(c):(d.push(new VK([c])),a=0);isNaN(this.A)&&(a=0);b=e[e.length-1];a=Math.min(a,this.A-(b.range.end-e[0].range.start+1));0<a&&(a=TJ(b.range.end+1,a),e.push(new VJ(4,this,a,"tbdRange")));d.push(new VK(e));return d};
g.h.Qp=function(a){if(1==a.info.type){if(this.o)return;this.o=gK(a)}else if(2==a.info.type){if(this.G||0<=this.index.Nb())return;if(g.iK(this.info)){var b=this.index,c=fK(a);a=a.info.range.start;var d=g.kJ(c,0,1936286840);c=sJ(d);b.B=c.by;var e=c.rK;b.o[0]=c.rB+a+d.size;b.A[0]=e;b.C=!0;a=c.bo.length;for(d=0;d<a;d++){e=b;var f=c.qx[d],k=c.bo[d];e.Pa++;KL(e);e.o[e.Pa]=e.o[e.Pa-1]+f;e.A[e.Pa]=e.A[e.Pa-1]+k}}else this.G=fK(a)}if(2==this.info.containerType&&this.o&&this.G){c=new DataView(this.o.buffer);
b=this.index;a=this.G;d=this.indexRange.end;e=new xJ(c);c=MJ(e);if(null!=c&&(b.B=c.ay/c.Zx,e=new xJ(a),a=NJ(e,c.Qn,d),null!=a)){a=g.r(a);for(d=a.next();!d.done;d=a.next())f=d.value,d=b,e=f.wi,f=f.kp,KL(d),d.o[d.Pa]=e,d.A[d.Pa]=f,d.Pa++;b.cap(c.Bx+c.Qn,c.duration)}this.G=null}};
g.h.hD=function(a){for(var b=this.yr(a.info),c=[],d=a.A,e=0;e<b.length;e++){var f=TJ(b[e].range.start+b[e].C-a.info.range.start+a.range.start,b[e].fb);c.push(new eK(b[e],a.buffer,f,a.C,d));d=!1}return c};
g.h.yr=function(a){for(var b=0;b<this.index.Nb()&&a.range.start>=this.index.Gq(b+1);)b++;return ML(this,b,a.range.start,a.range.length).o};
g.h.Ug=function(a){return this.Wc()?!0:isNaN(this.A)?!1:a.range.end+1<this.A};
g.h.bj=function(a,b){this.Ug(a);if(!this.Wc()){var c=TJ(a.range.end+1,b);c.end+1>this.A&&(c=new g.RJ(c.start,this.A-1));c=[new VJ(4,a.o,c,"getNextRequestInfoByLength")];return new VK(c)}4==a.type&&(c=this.yr(a),a=c[c.length-1]);c=0;var d=a.range.start+a.C+a.fb;3==a.type&&(c=a.A,d==a.range.end+1&&(c+=1));return ML(this,c,d,b)};
g.h.Ck=function(){return null};
g.h.Mg=function(a,b){var c=this.index.Sf(a);b&&(c=Math.min(this.index.Nb(),c+1));return ML(this,c,this.index.Gq(c),0)};
g.h.Kv=function(){var a;if(a=this.Wc()&&!isNaN(this.A))a=this.index,a=(a.C?a.o[a.Pa]:-1)!=this.A;return a};
g.h.Nf=function(){return!0};
g.h.Si=function(){return!1};
g.h.Fp=function(){return this.indexRange.length+this.initRange.length};
g.h.Yq=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};NL.prototype.start=function(){return 0};
NL.prototype.end=function(){return Infinity};g.h=OL.prototype;g.h.addEventListener=function(){};
g.h.removeEventListener=function(){};
g.h.dispatchEvent=function(){return!1};
g.h.abort=function(){};
g.h.remove=function(){};
g.h.appendBuffer=function(){};var R1={},gla=(R1["258"]=6,R1["380"]=6,R1["328"]=6,R1["261"]=6,R1["381"]=6,R1["329"]=6,R1);g.t(RL,g.vH);g.h=RL.prototype;g.h.Qg=function(){return Qb(this.o,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.Rg=function(){return Qb(this.o,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.Vf=function(){return Qb(this.o,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.Qi=function(){return Qb(this.o,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.RU=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.wk=this.C=!0;this.D||(this.D=new Ska);Wka(this.D,a,this.ea);this.U("refresh");for(a=0;a<b.length;a++){var c=cM(this,b[a]),d=this.isLive&&g.iK(c)&&this.ia;if(!this.o[c.id]){var e=YL(DL(b[a],"BaseURL").textContent),f=DL(b[a],"Initialization"),k=CL(f,"sourceURL");f=SJ(CL(f,"range"));d&&(k="",f=void 0);this.o[c.id]=new sL(e,c,k,null===
f?void 0:f)}c=this.o[c.id];e=CL(b[a],"id","AdaptationSet");e=""!=e?e:CL(b[a],"mimetype","AdaptationSet");k=this.D;e=k.C[c.info.id]||k.A[e]||k.o||null;k=e.o;if(e.C)for(d=[],k=g.r(k),f=k.next();!f.done;f=k.next()){f=f.value;var l=e.xh(c.info.id,8*c.info.o,f.Wb,f.o);d.push(new QI(f.Wb,f.o,f.durationSecs,f.A,l,null,f.C))}else{e=kb(DL(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.D);f=[];for(l=0;l<e.length;l++)f.push(kla(e[l],k[l],d));d=f}c.update(d,this.isLive,this.P)}Xka(this.D);return!0}this.duration=
EL(CL(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=cM(this,k);e=DL(k,"BaseURL");d=YL(e.textContent);f=DL(k,"SegmentBase");k=SJ(f.attributes.indexRange.value);f=SJ(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=parseInt(e.getAttribute(aM(this,"contentLength")),10);c=new g.LL(d,c,f,k,e,NaN);if(!c){b=!1;break a}UL(this,c)}b=!0}return b};
g.h.Qe=function(a){return this.D?kb(this.D.B,a):this.L.length?kb(this.L,a):[]};
g.h.iL=function(a){if(this.la())return this;this.M=a.status;a=a.responseText;a=(new DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.G=1E3*EL(CL(a,"minimumUpdatePeriod"))||Infinity;if(!this.W){var b;a:{if(a.attributes)for(b=0;b<a.attributes.length;b++)if("http://youtube.com/yt/2012/10/10"==a.attributes[b].value){b=a.attributes[b].name.split(":")[1];break a}b=""}this.aa=b}this.isLive=Infinity>this.G&&this.ka;this.P=parseInt(CL(a,aM(this,"earliestMediaSequence")),10)||0;
if(b=Date.parse(FL(CL(a,aM(this,"mpdResponseTime")))))this.H=((0,g.J)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.Fj)(a.getElementsByTagName("Period"),this.RU,this);this.F=2;this.U("loaded");gM(this);return this};
g.h.lL=function(a){this.M=a.aj.status;this.F=3;this.U("loaderror");return Og(a.aj)};
g.h.oD=function(){if(1!=this.F&&!this.la()){var a=g.zh(this.sourceUrl,{start_seq:lla(this).toString()});g.Ug(dM(this,a),function(){})}};
g.h.resume=function(){gM(this)};
g.h.Tc=function(){var a=this.o,b=NaN,c;for(c in a)if(!oL(a[c].info.mimeType)){var d=a[c].index;d.Jb()&&(isNaN(b)||d.Yj()<b)&&(b=d.Yj())}return b};
g.h.gc=function(){var a=this.o,b;for(b in a){var c=a[b].index;if(c.Jb())return c.gc()}return 0};
var ZL=null,$L=!1,VL=!0,bM={commentary:1,alternate:2,dub:3,main:4};var Dla={RED:"red",h4:"white"};var Cla={vX:"adunit",iZ:"detailpage",IZ:"editpage",KZ:"embedded",c0:"leanback",O1:"previewpage",P1:"profilepage",E3:"unplugged",B1:"playlistoverview"};g.h=rM.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.A,a)};
g.h.abort=function(){this.o.webkitSourceAbort(this.A)};
g.h.pW=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new qla:this.o.webkitSourceBuffered(this.A)};
g.h.rW=function(){return this.C};
g.h.vW=function(a){this.C=a;this.o.webkitSourceTimestampOffset(this.A,a)};g.h=sM.prototype;g.h.addEventListener=function(a,b,c){this.o.addEventListener(a,b,c)};
g.h.removeEventListener=function(a,b,c){this.o.removeEventListener(a,b,c)};
g.h.PO=function(){return this.o.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.C++).toString();this.o.webkitSourceAddId(b,a);a=new rM(this.o,b);this.sourceBuffers.push(a);return a};
g.h.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.o.webkitSourceRemoveId(a.A);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.sW=function(){switch(this.o.webkitSourceState){case this.o.SOURCE_CLOSED:return"closed";case this.o.SOURCE_OPEN:return"open";case this.o.SOURCE_ENDED:return"ended"}return""};
g.h.endOfStream=function(){this.o.webkitSourceEndOfStream(this.o.EOS_NO_ERROR)};
g.h.tW=function(){ab(this.sourceBuffers)};
g.h.qW=function(){return this.A};
g.h.uW=function(a){this.A=a;this.o.webkitSourceSetDuration&&this.o.webkitSourceSetDuration(a)};g.t(CM,g.vH);g.h=CM.prototype;g.h.appendBuffer=function(a,b){this.C=!b;this.supports(0)?this.o.appendBuffer(a):this.o.append(a)};
g.h.abort=function(){this.C=!1;this.o.abort()};
g.h.remove=function(a,b){this.o.remove(a,b)};
g.h.Cp=function(){return this.o.appendWindowStart};
g.h.tu=function(){return this.o.appendWindowEnd};
g.h.Hx=function(a,b){a>this.Cp()?(this.o.appendWindowEnd=b,this.o.appendWindowStart=a):(this.o.appendWindowStart=a,this.o.appendWindowEnd=b)};
g.h.Kr=function(a){this.supports(1)&&(this.o.timestampOffset=a)};
g.h.Vc=function(){return this.supports(1)?this.o.timestampOffset:0};
g.h.tc=function(){try{return this.o.buffered}catch(a){return vM([],[])}};
g.h.Ce=function(){return this.o.updating};
g.h.qj=function(a){this.F=a};
g.h.Gi=function(){return this.F};
g.h.ly=function(a,b){this.D!=a&&(this.supports(4),this.o.changeType(b));this.D=a};
g.h.Mv=function(){return this.C};
g.h.isView=function(){return!1};
g.h.supports=function(a){switch(a){case 1:return void 0!=this.o.timestampOffset;case 0:return!!this.o.appendBuffer;case 2:return!!this.o.remove;case 3:return!!this.o.removeEventListener;case 4:return!!this.o.changeType;default:return!1}};
g.h.Kt=function(){return!this.Ce()};
g.h.isLocked=function(){return!1};
g.h.Uu=function(){return this.B};
g.h.Xv=function(){this.B=!0};
g.h.Eb=function(a){a.to=""+this.o.timestampOffset;a.up=""+ +this.Ce();a.aw=(this.o.appendWindowStart||0).toFixed(3)+"-"+(this.o.appendWindowEnd||Infinity).toFixed(3);try{a.bu=wM(this.o.buffered)}catch(b){}return uM(a)};
g.h.V=function(){this.supports(3)&&(this.o.removeEventListener("updateend",this.A),this.o.removeEventListener("error",this.A));g.vH.prototype.V.call(this)};g.t(DM,g.vH);g.h=DM.prototype;g.h.appendBuffer=function(a,b){EM(this)&&(this.o.supports(1),this.o.Hx(this.D+this.A,this.B+this.A),this.o.Kr(this.F+this.A));this.o.appendBuffer(a,b)};
g.h.abort=function(){this.o.abort()};
g.h.remove=function(a,b){this.o.remove(a+this.A,b+this.A)};
g.h.Hx=function(a,b){this.D=a;this.B=b};
g.h.Cp=function(){return this.D};
g.h.tu=function(){return this.B};
g.h.Kr=function(a){this.F=a};
g.h.Vc=function(){return this.F};
g.h.tc=function(){return BM(this.o.tc(),this.A,this.H)};
g.h.Ce=function(){return this.o.Ce()};
g.h.qj=function(a){this.o.qj(a)};
g.h.Gi=function(){return this.o.Gi()};
g.h.ly=function(a,b){return this.o.ly(a,b)};
g.h.supports=function(a){return this.o.supports(a)};
g.h.Mv=function(){return this.o.Mv()};
g.h.isView=function(){return!0};
g.h.Kt=function(){return this.o.Kt()&&this.C?!(EM(this)&&this.Mv()):!1};
g.h.isLocked=function(){return this.G&&!this.C};
g.h.Uu=function(){return this.o.Uu()};
g.h.Xv=function(){this.o.Xv()};
g.h.Eb=function(a){return this.o.Eb(a)+(";vw."+this.A+"-"+this.H)};
g.h.V=function(){xH(this.o,this.J);g.vH.prototype.V.call(this)};
g.h.isActive=function(){return this.C};
g.h.setActive=function(a){this.C=a;this.G=this.G||this.C};FM.prototype.dispose=function(){if(!this.C){if(this.A)try{URL.revokeObjectURL(this.o)}catch(a){}this.C=!0}};
FM.prototype.la=function(){return this.C};g.t(GM,g.L);g.h=GM.prototype;g.h.getDuration=function(){return this.C.duration};
g.h.isView=function(){return this.F};
g.h.Ce=function(){return!!(this.o&&this.o.Ce()||this.A&&this.A.Ce())};
g.h.XT=function(){!this.la()&&HM(this)&&this.B&&(this.B(this),this.B=null)};
g.h.VT=function(){this.dispose()};var Oza={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},S1;a:{var T1=g.Jb;T1=T1.toLowerCase();if(-1!=T1.indexOf("android")){var Pza=T1.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(Pza){var Qza=parseFloat(Pza[1]);if(100>Qza){S1=Qza;break a}}var Rza=T1.match("("+g.Vb(Oza).join("|")+")");S1=Rza?Oza[Rza[0]]:0}else S1=void 0}var bO=S1,aO=0<=bO;NM.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;tG?c=c||Sza[b]:2.2==bO?c=c||Tza[b]:jG()&&(c=c||Uza[b]);return!!c};
var Tza={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Uza={"application/x-mpegURL":"maybe"},Sza={"application/x-mpegURL":"maybe"};g.h=cN.prototype;g.h.Qf=function(){return this.Jg};
g.h.Fk=function(){return null};
g.h.AB=function(){var a=this.Fk();return a?+g.LF(a.o).expire:NaN};
g.h.Cx=function(){};
g.h.getHeight=function(){return this.Jg.Aa().height};fN.prototype.isLocked=function(){return this.C&&!!this.A&&this.A==this.o};
fN.prototype.B=function(a){return a.video?mN(this,a.video.quality):!1};
var Vza=hN("auto","hd1080",!1,"l"),tra=hN("auto","large",!1,"l"),jN=hN("auto","auto",!1,"p");hN("small","auto",!1,"p");var gO={n0:1,o0:2,p0:3};g.t(nN,g.vH);nN.prototype.add=function(a,b){!this.Qa[a]&&(b.Pt||b.ri||b.rl)&&(this.Qa[a]=lc(b),this.U("vast_info_card_add",a))};
nN.prototype.remove=function(a){var b=this.get(a);delete this.Qa[a];return b};
nN.prototype.get=function(a){return this.Qa[a]||null};
nN.prototype.isEmpty=function(){return g.cc(this.Qa)};yN.prototype.A=function(a,b){var c=Math.pow(this.D,a);this.C=b*(1-c)+c*this.C;this.B+=a};
yN.prototype.o=function(){return this.C/(1-Math.pow(this.D,this.B))};AN.prototype.A=function(a,b){var c=Math.min(this.C,Math.max(1,Math.round(a*this.L)));c+this.B>=this.C&&(this.F=!0);for(;c--;)this.D[this.B]=b,this.B=(this.B+1)%this.C;this.H=!0};
AN.prototype.o=function(){return this.J?(BN(this,this.G-this.J)+BN(this,this.G)+BN(this,this.G+this.J))/3:BN(this,this.G)};var zla=/^([0-9\.]+):([0-9\.]+)$/;var QN=g.z("ytglobal.prefsUserPrefsPrefs_")||{};g.Da("ytglobal.prefsUserPrefsPrefs_",QN,void 0);g.h=RN.prototype;g.h.get=function(a,b){TN(a);SN(a);var c=void 0!==QN[a]?QN[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){TN(a);SN(a);if(null==b)throw Error("ExpectedNotNull");QN[a]=b.toString()};
g.h.remove=function(a){TN(a);SN(a);delete QN[a]};
g.h.save=function(){g.hI(this.o,this.dump(),63072E3)};
g.h.clear=function(){g.dc(QN)};
g.h.dump=function(){var a=[],b;for(b in QN)a.push(b+"="+encodeURIComponent(String(QN[b])));return a.join("&")};
g.Ea(RN);var UN="blogger books docs google-live play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.t(nO,g.L);nO.prototype.na=function(a){return this.experiments.o(a)};
nO.prototype.gh=function(a){this.ma=NN(this.ma,a.video_id);this.Ma=NN(this.Ma,a.eventid);for(var b in Wza){var c=Wza[b],d=a[c];void 0!=d&&(this.deviceParams[c]=d)}this.userAge=MN(this.userAge,a.user_age);this.W=NN(this.W,a.user_display_image);g.yK(this.W)||(this.W="");this.td=NN(this.td,a.user_display_name);this.Ag=NN(this.Ag,a.user_gender);this.ce=NN(this.ce,a.csi_page_type);this.Ra=NN(this.Ra,a.csi_service_name);this.Fc=KN(this.Fc,a.enablecsi);if(a=a.enabled_engage_types)this.wg=new Set(a.split(","))};
nO.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=qO(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.lO(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,tG&&(a=FF())&&(b.ebc=a));return g.zh(d,b)};
nO.prototype.getVideoEmbedCode=function(a,b,c){var d="https://"+qO(this)+"/embed/"+a;c&&(d=g.zh(d,{list:c}));a=!this.na("enable_responsive_embed_snippet");this.na("embed_snippet_includes_version")&&(d=g.zh(d,{ecver:a?"1":"2"}));c=b.width;b=b.height;a?(a=g.sc(d),b='<iframe width="'+c+'" height="'+b+'" src="'+a+'" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'):(a=Math.round(360*c/b),b='<div style="position:relative;height:0;padding-bottom:'+
Math.round(1E4*b/c)/100+'%"><iframe src="'+g.sc(d)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+a+'" height="360" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>');return b};
var Wza={pY:"cbrand",qY:"cbr",rY:"cbrver",R_:"c",U_:"cver",T_:"ctheme",S_:"cplayer",A0:"cmodel",h1:"cnetwork",q1:"cos",r1:"cosver",w1:"cplatform"},Gla=["www.youtube-nocookie.com","youtube.googleapis.com"];DO.prototype.Eb=function(){return{flavor:this.flavor,keySystem:this.o}};
var U1={},PO=(U1.playready=["com.youtube.playready","com.microsoft.playready"],U1.widevine=["com.widevine.alpha"],U1);g.h=g.JO.prototype;g.h.getId=function(){return this.Ja};
g.h.getName=function(){return this.D};
g.h.Wa=function(){return this.J};
g.h.toString=function(){return this.A+": "+g.KO(this)+" - "+this.F};
g.h.hw=ba(2);g.h.isValid=function(){return!(!this.A||this.o&&!this.o.languageCode)};LO.prototype.getLanguageInfo=function(){return this.Rb};
LO.prototype.toString=function(){return this.Rb.name};
LO.prototype.getLanguageInfo=LO.prototype.getLanguageInfo;MO.prototype.getAvailableAudioTracks=function(){return this.audioTracks};g.t(OO,g.L);OO.prototype.H=function(){(this.G=!this.G&&"widevine"==this.A[this.o[0]].flavor)||this.o.shift();QO(this)};
OO.prototype.J=function(a,b){this.la()||(a.A=b,Sla(this,a),this.B.push(a),this.C.o("html5_drm_fallback_to_playready_on_retry")?(this.o.shift(),QO(this)):this.F(this.B))};g.t(RO,cN);RO.prototype.AB=function(){return this.C};
RO.prototype.Fk=function(){if(!this.o||this.o.la()){var a=this.A;bma(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.C)var d=a.C;else{d=g.r(a.B);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.Rb&&e.Rb.getIsDefault()){d=e.Rb.getId();break a}d=""}e=0;for(var f=a.B.length;e<f;++e){var k=a.B[e];k.Rb&&k.Rb.getId()!=d||(c[k.itag]=k,2!=a.A&&b.push(ama(a,k,null)))}if(2==a.A)for(d=0,e=a.o.length;d<e;++d)f=a.o[d],b.push(ama(a,c[f.audioItag],f));d=0;for(e=a.o.length;d<e;++d)if(f=a.o[d],
1==a.A)for(var l in c)$la(a,b,f,c[l]);else $la(a,b,f,c[f.audioItag]);a="data:application/x-mpegurl;charset=utf-8,"+encodeURIComponent(b.join("\n"));this.o=new FM(a)}return this.o};var SO=null;g.t(UO,cN);UO.prototype.Fk=function(){return new FM(this.o.Wa())};
UO.prototype.Cx=function(){this.o=KK(this.o)};g.t(VO,cN);VO.prototype.Fk=function(){return new FM(this.o)};var rma=new Set("BASE_URL BASE_YT_URL abd adformat allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd disable_native_context_menu docid el enable_cardio enablecastapi enablepostapi end errorcode fmt_list fmt_stream_map forcenewui hl hlsdvr hlsrange hlsvp html5 invite iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid pipable playsinline plid postid ps public reason rel reload_count reload_reason reportabuseurl resume start status streaminglib_load_policy streaminglib_preroll t timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoid videoId wmode".split(" "));var Xza={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",u0:"LOW",B3:"ULTRALOW"};g.h=g.XO.prototype;g.h.ab=function(){return this.F};
g.h.getHeight=function(){return this.D};
g.h.DB=ba(3);g.h.yu=function(){return this.C};
g.h.isDefault=function(){return-1!=this.B.indexOf("default")};
g.h.Jb=function(a){return this.oc.has(a)};
g.h.Wa=function(a){var b=this.K;b=b.replace("$N",this.B);b=b.replace("$L",this.J.toString());b=b.replace("$M",a.toString());this.G&&(b=g.zh(b,{sigh:this.G}));return CK(b)};
g.h.Mq=function(a){var b=this.yu()-1;return g.Jd(0==this.o?Math.round(a*this.C/this.L):Math.round(1E3*a/this.o),0,b)};
g.h.vn=function(){return this.C-1};
g.h.tw=function(){return this.C?0:-1};
g.h.dG=function(){};g.t(ZO,g.vH);ZO.prototype.J=function(a,b){this.A=this.A.onload=null;var c=this.o[a];c.oc.add(b);tma(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.yu()-1);e=[e,c];this.U("l",e[0],e[1])};
ZO.prototype.V=function(){this.A&&(this.A=this.A.onload=null);g.vH.prototype.V.call(this)};g.t(aP,ZO);aP.prototype.C=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.F(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
aP.prototype.F=function(a,b,c,d){return new g.XO(a,b,c,d)};g.t(bP,g.XO);g.h=bP.prototype;g.h.yu=function(){return this.A.ak()};
g.h.Mq=function(a){var b=this.rows*this.columns*this.H,c=this.A,d=c.Nb();a=c.Sf(a);return a>d-b?-1:a};
g.h.vn=function(){return this.A.Nb()};
g.h.tw=function(){return this.A.tf()};
g.h.dG=function(a){this.A=a};g.t(cP,aP);cP.prototype.C=function(a,b){return aP.prototype.C.call(this,"$N|"+a,b)};
cP.prototype.F=function(a,b,c){return new bP(a,b,c,this.isLive)};var yma={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"};eP.prototype.toString=function(){return this.topic};var Yza=g.z("ytPubsub2Pubsub2Instance")||new g.tE;g.tE.prototype.subscribe=g.tE.prototype.subscribe;g.tE.prototype.unsubscribeByKey=g.tE.prototype.Li;g.tE.prototype.publish=g.tE.prototype.U;g.tE.prototype.clear=g.tE.prototype.clear;g.Da("ytPubsub2Pubsub2Instance",Yza,void 0);var gP=g.z("ytPubsub2Pubsub2SubscribedKeys")||{};g.Da("ytPubsub2Pubsub2SubscribedKeys",gP,void 0);var hP=g.z("ytPubsub2Pubsub2TopicToKeys")||{};g.Da("ytPubsub2Pubsub2TopicToKeys",hP,void 0);
var Cma=g.z("ytPubsub2Pubsub2IsAsync")||{};g.Da("ytPubsub2Pubsub2IsAsync",Cma,void 0);g.Da("ytPubsub2Pubsub2SkipSubKey",null,void 0);var qP=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.t(jP,dP);g.t(kP,dP);var Yma=new eP("aft-recorded",jP),Bma=new eP("timing-sent",kP);var ana,V1,Rma,Uma,Nma,Sma,W1,Tma,Xma,Ima,kya;ana={vc:!0};V1={};
Rma=(V1.ad_allowed="adTypesAllowed",V1.yt_abt="adBreakType",V1.ad_cpn="adClientPlaybackNonce",V1.ad_docid="adVideoId",V1.yt_ad_an="adNetworks",V1.ad_at="adType",V1.browse_id="browseId",V1.p="httpProtocol",V1.t="transportProtocol",V1.cpn="clientPlaybackNonce",V1.csn="clientScreenNonce",V1.docid="videoId",V1.is_continuation="isContinuation",V1.is_nav="isNavigation",V1.b_p="kabukiInfo.browseParams",V1.is_prefetch="kabukiInfo.isPrefetch",V1.is_secondary_nav="kabukiInfo.isSecondaryNav",V1.prev_browse_id=
"kabukiInfo.prevBrowseId",V1.query_source="kabukiInfo.querySource",V1.voz_type="kabukiInfo.vozType",V1.yt_lt="loadType",V1.yt_ad="isMonetized",V1.nr="webInfo.navigationReason",V1.ncnp="webInfo.nonPreloadedNodeCount",V1.paused="playerInfo.isPausedOnLoad",V1.yt_pt="playerType",V1.fmt="playerInfo.itag",V1.yt_pl="watchInfo.isPlaylist",V1.yt_pre="playerInfo.preloadType",V1.yt_ad_pr="prerollAllowed",V1.pa="previousAction",V1.yt_red="isRedSubscriber",V1.st="serverTimeMs",V1.aq="tvInfo.appQuality",V1.br_trs=
"tvInfo.bedrockTriggerState",V1.label="tvInfo.label",V1.is_mdx="tvInfo.isMdx",V1.preloaded="tvInfo.isPreloaded",V1.query="unpluggedInfo.query",V1.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",V1.yt_vst="videoStreamType",V1.vph="viewportHeight",V1.vpw="viewportWidth",V1.yt_vis="isVisible",V1);Uma="ap c cver cbrand cmodel ei srt yt_fss yt_li plid vpil vpni vpst yt_eil vpni2 vpil2 icrc icrt pa GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" ");
Nma={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",app_startup:"LATENCY_ACTION_APP_STARTUP",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS",channel:"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","channel.comments":"LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS","channel.copyright":"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT","channel.monetization":"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION","channel.translations":"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",
"channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",chips:"LATENCY_ACTION_CHIPS",embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",prebuffer:"LATENCY_ACTION_PREBUFFER",prefetch:"LATENCY_ACTION_PREFETCH",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",search_ui:"LATENCY_ACTION_SEARCH_UI",search_zero_state:"LATENCY_ACTION_SEARCH_ZERO_STATE",tenx:"LATENCY_ACTION_TENX",video_to_ad:"LATENCY_ACTION_VIDEO_TO_AD",watch:"LATENCY_ACTION_WATCH",
"watch,watch7":"LATENCY_ACTION_WATCH","watch,watch7_html5":"LATENCY_ACTION_WATCH","watch,watch7ad":"LATENCY_ACTION_WATCH","watch,watch7ad_html5":"LATENCY_ACTION_WATCH",wn_comments:"LATENCY_ACTION_LOAD_COMMENTS","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS","video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS","video.edit":"LATENCY_ACTION_CREATOR_VIDEO_EDIT","video.translations":"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS","video.video_editor":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",
"video.video_editor_async":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC"};Sma="isContinuation isNavigation kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist".split(" ");W1={};Tma=(W1.pa="LATENCY_ACTION_",W1.yt_pt="LATENCY_PLAYER_",W1.yt_vst="VIDEO_STREAM_TYPE_",W1);Xma=!1;
Ima=(0,g.B)(qP.clearResourceTimings||qP.webkitClearResourceTimings||qP.mozClearResourceTimings||qP.msClearResourceTimings||qP.oClearResourceTimings||g.A,qP);g.iR=tP;kya=Lma;g.JP=sP;var X1;var Zza=g.Jb,$za=Zza.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!$za||2>$za.length)X1=void 0;else{var Y1=Zza.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);X1=Y1&&6==Y1.length?Number(Y1[5].replace("_",".")):0}var SP=X1,OX=0<=SP;OX&&0<=g.Jb.search("Safari")&&g.Jb.search("Version");var Z1={},vna=(Z1.ALWAYS=1,Z1.BY_REQUEST=3,Z1);g.t(g.yP,g.vH);g.h=g.yP.prototype;g.h.gh=function(a,b){b?(this.jl(a),OP(this)&&IP(this)):(hna(this,a),this.U("dataupdated"))};
g.h.jl=function(a){a=a||{};this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||yI());var b=a.raw_embedded_player_response;if(!b){var c=a.embedded_player_response;c&&(b=JSON.parse(c))}b&&(this.dm=b);this.dm&&(b=this.dm.embedPreview)&&Lna(this,b);b=a.raw_player_response;b||(c=a.player_response)&&(b=JSON.parse(c));b&&(this.zb=b);if(this.zb){(b=this.zb.annotations)&&wna(this,b);(b=this.zb.attestation)&&xna(this,b);(b=this.zb.heartbeatParams)&&zna(this,b);(b=this.zb.multicamera)&&Ana(this,b);(b=
this.zb.overlay)&&Bna(this,b);if(b=this.zb.playabilityStatus)Cna(this,b),(b=b.errorScreen)&&Ina(this,b);(b=this.zb.playbackTracking)&&Dna(this,b,a);(b=this.zb.playerConfig)&&Ena(this,b);(c=this.zb.streamingData)&&Gna(this,c,b||null);if(c=this.zb.videoDetails)Hna(this,c),Kna(this,c,b||null,a);if(b=this.zb.interstitialPods)for(b=g.r(b),c=b.next();!c.done;c=b.next()){var d=c.value;c=d.interstitials.map(function(e){return(e=e.playerVars)&&Object.assign({is_yto_interstitial:!0},g.JF(e))})[0];
switch(d.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":this.interstitials=this.interstitials.concat({time:0,playerVars:c,us:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":this.interstitials=this.interstitials.concat({time:0x7ffffffffffff,playerVars:c,us:6});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME":d=parseInt(d.podConfig.timeToInsertAtMillis,10),this.interstitials=this.interstitials.concat({time:d,playerVars:c,us:0==d?5:7})}}this.te&&this.eventId&&
(this.te=g.OF(this.te,{ei:this.eventId}));(b=this.zb.captions)&&b.playerCaptionsTracklistRenderer&&yna(this,b.playerCaptionsTracklistRenderer);this.zb.chapterMarkers&&(this.chapterMarkers=this.zb.chapterMarkers)}this.allowLiveDvr="1"!=a.hlsdvr?!1:$M()?!0:VN&&5>SP?!1:!0;this.adQueryId=a.ad_query_id||null;this.adSafetyReason=a.encoded_ad_safety_reason||null;this.Ij=a.agcid||null;this.Hj=a.ad_id||null;this.Jj=a.ad_sys||null;this.dB=a.encoded_ad_playback_context||null;this.ni=KN(this.ni,a.infringe||a.muted);
this.authKey=a.authkey;this.Sc=a.authuser;this.fm=KN(this.fm,a.enable_cardio);this.pp=KN(this.pp,a.enable_cardio_before_playback);this.endSeconds=MN(this.endSeconds,this.Yw||a.end||a.endSeconds);this.rk=NN(this.rk,a.itct);this.Iv=KN(this.Iv,a.noiba);this.Wm="1"==a.livemonitor;this.Vm=KN(this.Vm,a.is_live_destination);this.Da=KN(this.Da,a.live_playback);!this.Xq&&(this.vk="1"==a.post_live_playback,this.isLiveDefaultBroadcast="1"==a.live_default_broadcast,this.isLowLatencyLiveStream="1"==a.is_low_latency_live_stream,
b=a.latency_class)&&(this.latencyClass=LN("UNKNOWN",b,Xza));this.Hn||(this.isVisualizerEligible="1"==a.is_visualizer_eligible)&&this.Pc.push("visualizer");this.isMdxPlayback=KN(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=g.Ca(b)?b:g.Bc(b);this.Hv=KN(this.Hv,a.is_inline_playback_no_ad);this.qg=MN(this.qg,a.reload_count);this.reloadReason=NN(this.reloadReason,a.reload_reason);this.Ov=KN(this.Ov,a.utpsa);this.ql=KN(this.ql,a.third_party_remapped_ad);this.cycToken=a.cyc||null;
this.yG=a.tkn||null;this.ci=zma(a);this.kf=NN(this.kf,a.vvt);this.zx=a.revocable_unlisted_token;this.mdxEnvironment=NN(this.mdxEnvironment,a.mdx_environment);this.ZP=a.osig;this.eventId||(this.eventId=a.eventid);this.osid||(this.osid=a.osid);this.playlistId=NN(this.playlistId,a.list);this.wF=a.pyv_view_beacon_url;this.yF=a.pyv_quartile25_beacon_url;this.zF=a.pyv_quartile50_beacon_url;this.AF=a.pyv_quartile75_beacon_url;this.xF=a.pyv_quartile100_beacon_url;if(b=a.remarketing_url)this.remarketingUrl=
b;if(b=a.ppv_remarketing_url)this.ppvRemarketingUrl=b;b=a.session_data;!this.rx&&b&&(this.rx=g.HF(b).feature);this.AC=1==MN(this.AC?1:0,a.is_fling);this.vnd=MN(this.vnd,a.vnd);this.pu=NN(this.pu,a.force_ads_url);this.Df=NN(this.Df,a.ctrl);this.Ef=NN(this.Ef,a.ytr);this.gp=a.ytrcc;this.CF=a.ytrexp;this.mx=NN(this.mx,a.adformat);this.Cy=NN(this.Cy,a.attrib);this.slotPosition=MN(this.slotPosition,a.slot_pos);this.breakType=a.break_type;this.Wn=KN(this.Wn,a.ssrt);this.videoId=PN(a)||this.videoId;this.fo=
NN(this.fo,a.vss_credentials_token);this.xs=NN(this.xs,a.vss_credentials_token_type);this.lF||(this.oj=MN(this.oj,a.relative_loudness));this.Ey=KN(this.Ey,a.audio_only);this.Dy=KN(this.Dy,a.aac_high);this.Qk=KN(this.Qk,a.prefer_low_quality_audio);this.ax||(this.Lc=KN(!1,a.is_dni),this.Hg=NN(this.Hg,a.dni_color));this.Kn=NN(this.Kn,a.qoe_cat);this.ku=KN(this.ku,a.download_media);if(a.ad3_module||a.ad_module)this.adModule=!0,"1"==a.ad_preroll&&this.Pc.push("ad");if(b=a.adaptive_fmts)this.adaptiveFormats=
b;if(b=a.allow_embed)this.allowEmbed="1"==b;if(b=a.backgroundable)this.backgroundable="1"==b;if(b=a.autonav)this.tk="1"==b;if(b=a.autoplay)this.kj="1"==b;if(b=a.iv_load_policy)this.kh=LN(this.kh,b,gO);if(b=a.cc_lang_pref)this.mh=NN(b,this.mh);if(b=a.cc_load_policy)this.nh=LN(this.nh,b,gO);"0"==a.dash&&(this.WA=!0);if(b=a.dashmpd)this.we=g.zh(b,{cpn:this.clientPlaybackNonce});if(b=a.delay)this.qf=g.Bc(b);b=this.Yw||a.end;void 0!=b&&(this.clipEnd=MN(this.clipEnd,b));this.mF||(a.fair_play_cert&&(this.Ig=
RP(a.fair_play_cert)),a.fair_play_key_rotation_period&&(this.lm=g.Bc(a.fair_play_key_rotation_period)),a.fair_play_key_prefetch_margin&&(this.km=g.Bc(a.fair_play_key_prefetch_margin)));if(b=a.fmt_list)this.BK=b;a.fresca_preroll&&this.Pc.push("fresca");a.heartbeat_preroll&&this.Pc.push("heartbeat");if(b=a.idpj)this.qk=g.Bc(b);!this.Hn&&(b=a.ismb)&&(this.ag=g.Bc(b));if(b=a.is_listed)this.Be=KN(this.Be,b);if(b=a.pipable)this.pipable=KN(this.pipable,b);this.Mo=this.pipable&&this.ib.Xr;this.Ox=this.na("web_player_pip")&&
this.Mo;this.Px=!this.Ox&&this.Mo&&!this.ib.showMiniplayerButton;if(b=a.paid_content_overlay_duration_ms)this.kF=g.Bc(b);if(b=a.paid_content_overlay_text)this.QU=b;if(b=a.url_encoded_fmt_stream_map)this.wl=b;if(b=a.hls_formats)this.hlsFormats=b;if(b=a.hlsvp)this.hlsvp=b;if(b=a.length_seconds)this.lengthSeconds=g.x(b)?g.Bc(b):b;!this.Xq&&(b=a.live_chunk_readahead)&&(this.liveChunkReadahead=MN(this.liveChunkReadahead,b));if(b=a.live_start_walltime)this.Sv=g.Ca(b)?b:g.Bc(b);if(b=a.live_manifest_duration)this.Zm=
g.Ca(b)?b:g.Bc(b);if(b=a.ldpj)this.an=g.Bc(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.ff=MN(this.ff,b);if(b=a.probe_url)this.probeUrl=CK(g.zh(b,{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.Tk=NN(b,this.Tk);(b=a.pyv_billable_url)&&g.zK(b)&&(this.jr=b);(b=a.pyv_conv_url)&&g.zK(b)&&(this.kr=b);if(b=a.video_masthead_ad_quartile_urls)this.Zv=b.quartile_0_url,this.VC=b.quartile_25_url,this.WC=b.quartile_50_url,this.XC=b.quartile_75_url,this.UC=b.quartile_100_url;"1"==
a.spacecast_playback&&(this.Pc.push("spacecast"),this.ol=!0,this.uj.playback=!0);if(c=a.spacecast_addrs)this.ol=!0,b={},b.addresses=c.split(","),b.probe=!0,(c=a.spacecast_query_params)&&(b.applianceQueryParams=c),this.uj.init=b;0<this.startSeconds||(this.Eh=this.startSeconds=MN(this.startSeconds,this.qF||this.Fv||a.start||a.startSeconds));b=a.live_utc_start;null!=b&&(this.liveUtcStartSeconds=parseInt(b,10));if(b=a.utc_start_millis)this.liveUtcStartSeconds=.001*parseInt(b,10);if(b=a.stream_time_start_millis)this.Rr=
.001*parseInt(b,10);b=this.Fv||a.start;void 0==b||"1"==a.resume||this.Da||(this.clipStart=MN(this.clipStart,b));if(b=a.url_encoded_third_party_media)this.pl=KF(b);if(b=a.ypc_offer_button_formatted_text)c=JSON.parse(b),this.My=null!=c?c:null,this.aH=b;if(b=a.ypc_offer_button_text)this.Gs=b;if(b=a.ypc_offer_description)this.Hs=b;if(b=a.ypc_offer_headline)this.Is=b;if(b=a.ypc_full_video_message)this.lo=b;if(b=a.ypc_offer_id)this.Js=b;if(b=a.ypc_buy_url)this.Cs=b;if(b=a.ypc_item_thumbnail)this.Ds=b;if(b=
a.ypc_item_title)this.Es=b;if(b=a.ypc_item_url)this.Fs=b;if(b=a.ypc_vid)this.Ks=b;a.ypc_overlay_timeout&&(this.no=parseInt(a.ypc_overlay_timeout,10));if(b=a.ypc_trailer_player_vars)this.oo=g.JF(b);this.gi=NN(this.gi,a.ucid);(0,g.E)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(e){a[e]&&(this.xd[e]=a[e])},this);
this.xd.focEnabled=KN(this.xd.focEnabled,a.focEnabled);this.xd.rmktEnabled=KN(this.xd.rmktEnabled,a.rmktEnabled);this.Qr=a.storyboard_spec||null;this.nq=a.live_storyboard_spec||null;this.FC=a.iv_endscreen_url||null;this.fq=KN(this.fq,a.iv3_module);this.yd=KN(this.yd,a.fresca_module);this.mo=KN(this.mo,a.ypc_license_checker_module);this.qd=KN(this.qd,a.ypc_module);this.Cl=KN(this.Cl,a.ypc_clickwrap_module);this.qd&&this.Pc.push("ypc");this.Cl&&this.Pc.push("ypc_clickwrap");this.Ln=a;hna(this,a);HP(this)?
BP(this)&&(this.Da&&this.we?this.li=!0:this.Ig&&(this.yk=!0)):this.na("mweb_hoffline")&&this.adaptiveFormats&&mma(this.videoId)?this.li=!0:!EP(this,this.adaptiveFormats)&&this.we&&(this.li=!0);if(b=a.adpings)this.Yz=b?g.JF(b):null;if(b=a.feature)this.Vk=b;if(b=a.referrer)this.referrer=b;this.clientScreenNonce=NN(this.clientScreenNonce,a.csn);this.Ar=MN(this.Ar,a.root_ve_type);this.jq=MN(this.jq,a.kids_age_up_mode);this.hs=KN(this.hs,a.upg_content_filter_mode);if(b=a.unplugged_location_info)this.Ld=
b;if(b=a.unplugged_partner_opt_out)this.sl=NN("",b);!this.Hn&&(b=a.partial_spherical)&&(this.Gh="1"==b);void 0!=a.home_group_info&&(this.homeGroupInfo=a.home_group_info);this.Tm=NN(this.Tm,a.internal_ip_override);this.Xq||(this.hasSubfragmentedFmp4=KN(this.hasSubfragmentedFmp4,a.sfmp4),this.defraggedFromSubfragments=KN(this.defraggedFromSubfragments,a.dfs),this.liveExperimentalContentId=MN(this.liveExperimentalContentId,a.live_experimental_content_id));this.Jv=!!a.is_yto_interstitial;(this.interstitials.length||
this.Jv)&&this.Pc.push("yto")};
g.h.na=function(a){return this.ib.experiments.o(a)};
g.h.Mc=function(){return!this.Da||this.allowLiveDvr};
g.h.ZM=function(a){for(var b=g.r(a),c=b.next();!c.done;c=b.next())switch(c=c.value,c.flavor){case "fairplay":c.Ig=this.Ig;c.lm=this.lm;c.km=this.km;break;case "widevine":c.ho=this.ho}this.Jn=a;0<this.Jn.length&&(this.bf=this.Jn[0]);IP(this)};
g.h.gR=function(a){if(!this.la()){if(this.Nr){var b=eM(a,this.Nr);b&&(a=b)}DP(this,a);a.C&&a.subscribe("refresh",this.AE,this);(0,g.JP)("mrc");SL(a)&&(this.yk=!0);IP(this)}};
g.h.fR=function(a){this.la()||(this.cf=!1,this.U("dataloaderror",new tM("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.AE=function(){this.la()||(this.oa.C||this.oa.unsubscribe("refresh",this.AE,this),this.AA())};
g.h.AA=function(){var a=this.oa.Qe(this.Pv);0<a.length&&(this.U("cuepointupdated",a),this.Pv+=a.length)};
g.h.oN=function(){if(this.Sx){var a=CP(this,this.Sx);return pma(this.ib,this.isAd(),a,rna(this)).then(this.Hr,void 0,this).then(this.pB,void 0,this)}return GG()};
g.h.lN=function(a){a=a||HP(this);if(this.oa&&!a){if(zP(this)&&(a=this.oa,!a.o["0"])){var b=new jL("0","fakesb",void 0,new eL(0,0,0,void 0,void 0,"auto"),null,null,1);a.o["0"]=this.Da?new sL(new g.FK("http://www.youtube.com/videoplayback"),b,"fake"):new g.LL(new g.FK("http://www.youtube.com/videoplayback"),b,new g.RJ(0,0),new g.RJ(0,0),0,NaN)}return Qla(AP(this),this.ib.G,this.oa,this.bf).then(this.Ir,void 0,this)}return GG()};
g.h.mN=function(a){if(!this.na("html5_hlsvp_airplay_killswitch")&&a&&this.hlsvp)return GG();if(this.hlsFormats){a=CP(this,this.hlsFormats);if(tG||pG()||lG()){var b=Wla(a);if(b){var c=[],d={};for(l in b)for(var e=g.r(b[l]),f=e.next();!f.done;f=e.next()){var k=f.value;k.Rb&&(f=k.Rb.getId(),d[f]||(k=new LO(f,k.Rb),d[f]=k,c.push(k)))}var l=0<c.length?c:null}else l=null}else l=null;this.Rp=l;l=this.na("html5_hls_cpn_killswitch")?"":this.clientPlaybackNonce;return ema(this.ib,this.isAd(),a,this.ag,l).then(this.Hr,
void 0,this)}return GG()};
g.h.pN=function(){if(this.pl&&this.EC){var a=this.ib;var b=this.isAd(),c=qma(this.pl);a=dN(a.G,c,oO(a,b)).then(this.Hr,void 0,this)}else a=GG();return a};
g.h.nN=function(){var a=CP(this,this.wl,this.BK);if(this.hlsvp){var b=this.hlsvp;var c=this.ag,d={cpn:this.clientPlaybackNonce};-1==b.indexOf("/ibw/")&&(d.ibw=c?String(c):"1369843");b={url:g.zh(b,d),type:"application/x-mpegURL",quality:"auto",itag:"93"};a.push(b)}return pma(this.ib,this.isAd(),a,rna(this)).then(this.Hr,void 0,this)};
g.h.Ir=function(a){this.Ea=a;a=this.getAvailableAudioTracks();a=a.concat(this.Xl);for(var b=0;b<this.Lt.length;b++)for(var c=this.Lt[b],d=0;d<a.length;d++){var e=a[d],f=e.Rb.id==c.audioTrackId;if(e.Rb.isDefault&&b==this.qA||f){if(c.captionTrackIndices)for(f=0;f<c.captionTrackIndices.length;f++)e.captionTracks[f]=this.captionTracks[c.captionTrackIndices[f]];g.v(c.defaultCaptionTrackIndex)&&(e.hu=this.captionTracks[c.defaultCaptionTrackIndex]);g.v(c.forcedCaptionTrackIndex)&&(e.yp=this.captionTracks[c.forcedCaptionTrackIndex]);
e.Ot=c.visibility||"UNKNOWN"}}};
g.h.Hr=function(a){this.Cf=a;this.Ir(new MO((0,g.K)(this.Cf,function(b){return b.Qf()})))};
g.h.pB=function(){var a=(0,g.Gj)(this.Ea.videoInfos,function(b,c){return c.Aa().isAccelerated&&(!b||b.height<c.Aa().height)?c.video:b},null);
a&&(this.It=hN(a.quality,a.quality,!0,"c"))};
g.h.Td=function(){var a={};this.Ca&&(a.fmt=aK(this.Ca),this.Hc&&aK(this.Hc)!=aK(this.Ca)&&(a.afmt=aK(this.Hc)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.ni&&(a.infringe=1);this.Ih&&(a.splay=1);var b=MP(this);b&&(a.live=b);this.kj&&(a.autoplay=1);this.ur&&(a.sdetail=this.ur);this.ff&&(a.partnerid=this.ff);this.osid&&(a.osid=this.osid);return a};
g.h.Te=function(){if(!this.be)if(this.zb&&this.zb.storyboards){var a=this.zb.storyboards,b=a.playerStoryboardSpecRenderer;b&&b.spec?this.be=new aP(b.spec,this.lengthSeconds):(a=a.playerLiveStoryboardSpecRenderer)&&a.spec&&this.oa&&(b=Tb(this.oa.o).index)&&(this.be=new cP(a.spec,this.oa.isLive,b))}else this.Qr?this.be=new aP(this.Qr,this.lengthSeconds):this.nq&&this.oa&&(a=Tb(this.oa.o).index)&&(this.be=new cP(this.nq,this.oa.isLive,a));return this.be};
g.h.getStoryboardFormat=function(){if(this.zb&&this.zb.storyboards){var a=this.zb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.Qr||this.nq};
g.h.Tc=function(){return this.oa&&!isNaN(this.oa.Tc())?this.oa.Tc():FP(this)?0:this.lengthSeconds};
g.h.gc=function(){return this.oa&&!isNaN(this.oa.gc())?this.oa.gc():0};
g.h.getPlaylistSequenceForTime=function(a){if(this.oa&&this.Ca){var b=this.oa.o[this.Ca.id];if(!b)return null;var c=b.index.Sf(a);b=b.index.ld(c);return{sequence:c,B4:Math.floor(1E3*(a-b))}}return null};
g.h.isValid=function(){return!this.la()&&!(!this.videoId&&!this.pl)};
g.h.Jb=function(){return OP(this)&&!this.li&&!this.yk};
g.h.RF=function(){var a={format:"RAW",method:"GET",withCredentials:this.FF},b={};this.dl&&this.visitorData&&(b["X-Goog-Visitor-Id"]=this.visitorData);var c=this.ib.experiments.C("debug_dapper_trace_id");c&&(b["X-Google-DapperTraceInfo"]=c);0<Object.keys(b).length&&(a.headers=b);0<this.Fu&&(a.timeout=this.Fu);b=this.NB;0<this.zr&&(b=g.OF(b,{playerretry:this.zr}));this.Sk&&(b=g.OF(b,{preload:1}));this.OB?PL(DG,b,a).then(iF(this.FE),iF(this.AR),this):(a.context=this,a.onSuccess=this.FE,a.onError=this.Ou,
g.cG(b,a));(0,g.JP)("vir");vP("vir");this.MB=g.PH()};
g.h.hd=function(a){if(30==this.ff)return(a=this.ci["default.jpg"])?a:this.videoId?g.zh("//docs.google.com/vt",{id:this.videoId,authuser:this.Sc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.ci[a];return b||this.ib.K||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:rO(this.ib,this.videoId,a)};
g.h.FE=function(a){if(!this.la()){var b=a.responseText;b?(this.cf=!1,a=g.JF(b),this.BC&&WO(a),"fail"==a.status?(this.jl(a),this.U("onStatusFail",a)):((0,g.JP)("virc"),vP("virc"),this.jl(a),OP(this)?IP(this):this.U("dataloaderror",new tM("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))):this.Ou(a)}};
g.h.AR=function(a){this.Ou(a.aj)};
g.h.Ou=function(a){if(!this.la()){var b=a?a.status:-1;a=this.zr>=this.yx||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=((g.PH()-this.MB)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.yx?c="manifest.net.retryexhausted":a||(this.zr++,this.QF.start());this.U("dataloaderror",new tM(c,a,b))}};
g.h.wk=function(){return this.Da||this.vk||this.DC||!(!this.liveUtcStartSeconds||!this.Zm)};
g.h.getAvailableAudioTracks=function(){return this.Ea?0<this.Ea.getAvailableAudioTracks().length?this.Ea.getAvailableAudioTracks():this.Rp||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.Hc&&!mL(this.Hc))return g.Ua(this.getAvailableAudioTracks(),function(d){return d.id==a.Hc.id})||this.Xl;
if(this.Rp){if(!this.Rn)for(var b=g.r(this.Rp),c=b.next();!c.done;c=b.next())if(c=c.value,c.Rb.getIsDefault()){this.Rn=c;break}return this.Rn||this.Xl}return this.Xl};
g.h.getPlayerResponse=function(){return this.zb};
g.h.getPlaylistId=function(){return null};
g.h.Aa=function(){return this};
g.h.Em=function(){return this.ib.getVideoUrl(this.videoId)};
g.h.Qg=function(){return!!this.oa&&this.oa.Qg()};
g.h.Rg=function(){return!!this.oa&&this.oa.Rg()};
g.h.Vf=function(){return!!this.oa&&this.oa.Vf()};
g.h.Qi=function(){return!!this.oa&&this.oa.Qi()};
g.h.isAd=function(){return!!this.adFormat};
g.h.Un=function(){return this.qd};
var $1={},Fna=($1.FAIRPLAY="fairplay",$1.PLAYREADY="playready",$1.WIDEVINE="widevine",$1),a2={},Jna=(a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN="UNKNOWN",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL="NORMAL",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",a2),fna="author cc_asr cc_load_policy iv_load_policy iv_new_window keywords oauth_token requires_purchase rvs subscribed title ttsurl".split(" "),gna="ypc_buy_url ypc_full_video_length ypc_item_thumbnail ypc_item_title ypc_item_url ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_preview ypc_price_string ypc_video_rental_bar_text".split(" ");aQ.prototype.F=function(){if(!Pna(this))return null;var a="";this.o&&this.o.Lj&&(a=this.o.Lj+("&r1b="+this.o.clientPlaybackNonce));var b={};a=(b.atr_challenge=a,b);return(a=this.B?PI(a):g.z("yt.abuse.player.invokeBotguard")(a))?"r1a="+a:null};
aQ.prototype.G=function(a){return"r3a="+Math.floor(this.o.lengthSeconds%g.Bc(a.c3a))};
aQ.prototype.D=function(a){a=g.Bc(a.c);var b=(b=g.z("yt.abuse.dclkstatus.checkDclkStatus"))?b():NaN;return"r6a="+(a^b)};var h0=16/9,aAa=[.25,.5,.75,1,1.25,1.5,1.75,2],bAa=aAa.concat([3,4,5,6,7,8,9,10,15]);var b2={},cAa=(b2["api.invalidparam"]=2,b2.auth=150,b2["drm.auth"]=150,b2["heartbeat.net"]=150,b2["heartbeat.servererror"]=150,b2["heartbeat.stop"]=150,b2["html5.unsupportedads"]=5,b2["fmt.noneavailable"]=5,b2["fmt.decode"]=5,b2["fmt.unplayable"]=5,b2["html5.missingapi"]=5,b2["html5.unsupportedlive"]=5,b2["drm.unavailable"]=5,b2);var Sna=1;g.t(g.eQ,g.L);g.eQ.prototype.A=function(a,b){g.Ca(b)?pe(a,this.element,b):a.appendChild(this.element)};
g.eQ.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
g.eQ.prototype.updateValue=function(a,b){var c=this.Ra["{{"+a+"}}"];c&&gQ(this,c[0],c[1],b)};
g.eQ.prototype.V=function(){this.o={};this.Ra={};g.hQ(this);g.L.prototype.V.call(this)};g.t(g.W,g.eQ);g.h=g.W.prototype;g.h.Lb=function(a,b){this.updateValue(b||"content",a)};
g.h.show=function(){this.C||(this.element.style.display=this.sd,this.C=!0)};
g.h.hide=function(){this.C&&(this.element.style.display="none",this.C=!1)};
g.h.Tb=function(a){this.W=a};
g.h.X=function(a,b,c){return this.R(this.element,a,b,c)};
g.h.R=function(a,b,c,d){c=(0,g.B)(c,d||this);d={target:a,type:b,listener:c};this.ga.push(d);a.addEventListener(b,c);return d};
g.h.Ka=function(a){for(var b=0;b<this.ga.length;b++)if(this.ga[b]==a){a=this.ga.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){Ce(this.element);this.element.focus()};
g.h.V=function(){for(;this.ga.length;){var a=this.ga.pop();a.target.removeEventListener(a.type,a.listener)}g.eQ.prototype.V.call(this)};g.t(g.jQ,g.W);g.jQ.prototype.subscribe=function(a,b,c){return this.ea.subscribe(a,b,c)};
g.jQ.prototype.unsubscribe=function(a,b,c){return this.ea.unsubscribe(a,b,c)};
g.jQ.prototype.Ek=function(a){return this.ea.Ek(a)};
g.jQ.prototype.U=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.ea.U.apply(this.ea,[a].concat(g.ea(c)))};g.t(g.lQ,g.jQ);g.lQ.prototype.updateValue=function(a,b){g.jQ.prototype.updateValue.call(this,a,b);this.U("size-change")};g.t(pQ,g.L);g.h=pQ.prototype;
g.h.handleExternalCall=function(a,b,c){var d=this.F[a];if(!(d||!(d=this.H[a])||c&&Nza.test(c)))throw Error('API call from an untrusted origin: "'+c+'"');var e=this.app.o;e.Bo&&!this.L.has(a)&&(this.L.add(a),sQ(this,"webPlayerApiCalled",{callerUrl:e.loaderUrl,methodName:a,origin:c||void 0,playerStyle:e.playerStyle||void 0}));if(d){if(!this.app.o.experiments.o("player_injection_reporting_killswitch")){c=!1;e=g.r(b);for(var f=e.next();!f.done;f=e.next())if(String(f.value).includes("javascript:")){c=!0;
break}c&&g.jF(Error('Dangerous call to "'+a+'" with ['+b+"]."))}return d.apply(this,b)}throw Error('Unknown API method: "'+a+'".');};
g.h.isExternalMethodAvailable=function(a,b){return this.F[a]?!0:!!(this.H[a]&&b&&Nza.test(b))};
g.h.getBandwidthEstimate=function(){return HN(this.app.o.schedule)};
g.h.getApiInterface=function(){return this.J.slice()};
g.h.getInternalApiInterface=function(){return g.Vb(this.C)};
g.h.addEventListener=function(a,b){if(g.x(b)){var c=function(){g.z(b).apply(window,arguments)};
this.G[b]=c}else c=b;this.app.ea.subscribe(a,c)};
g.h.zK=function(a,b){var c=this,d=g.x(b)?a+b:a+g.Ma(b);if(!this.D[d]){var e;g.x(b)?e=function(){g.z(b).apply(window,arguments)}:e=b;
var f=function(k){e({target:c.A,data:k})};
this.D[d]=f;this.app.ea.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.x(b)){var c=this.G[b];ec(this.G,b);b=c}this.app.ea.unsubscribe(a,b)};
g.h.AK=function(a,b){var c=g.x(b)?a+b:a+g.Ma(b),d=this.D[c];d&&(this.app.ea.unsubscribe(a,d),ec(this.D,c))};
g.h.getPlayerState=function(){return G0(this.app)};
g.h.seekTo=function(a,b,c){this.o&&K0(this.app,!0,this.playerType);P0(this.app,a,b,c,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.getMediaReferenceTime=function(){var a=vya(this.app,this.playerType);return isNaN(a)?this.getCurrentTime():a};
g.h.getDuration=function(){return this.app.getDuration(this.playerType)};
g.h.getVolume=function(){return this.app.L.volume};
g.h.setVolume=function(a){Tna(this,a)};
g.h.isMuted=function(){return this.app.L.muted};
g.h.mute=function(){Una(this)};
g.h.unMute=function(){Vna(this)};
g.h.playVideo=function(){this.o&&K0(this.app,!0,this.playerType);var a=this.app.getPresentingPlayerType();2!=a||SZ(this.app)?3==a?g.PU(this.app.B).Vh("control_play"):this.app.playVideo(a):(a=this.app.B.C)&&a.Vh("control_play")};
g.h.pauseVideo=function(){var a=this.app.getPresentingPlayerType();2!=a||SZ(this.app)?3==a?g.PU(this.app.B).Vh("control_pause"):this.app.pauseVideo(a):(a=this.app.B.C)&&a.Vh("control_pause")};
g.h.stopVideo=function(){var a=this.app;a.o.ha&&a.A.U("pageTransition");a.stopVideo()};
g.h.clearVideo=function(){};
g.h.getPlaybackRate=function(){return g.Z(this.app,1).getPlaybackRate()};
g.h.setPlaybackRate=function(a){this.app.setPlaybackRate(a)};
g.h.getAvailablePlaybackRates=function(){var a=this.app.o;a.ua?(a=a.uc[0],a="https://admin.youtube.com"==a||"https://viacon.corp.google.com"==a?bAa:aAa):a=[1];return a};
g.h.getPlaybackQuality=function(){var a=g.Z(this.app,this.playerType);return a?a.getPlaybackQuality():"unknown"};
g.h.setPlaybackQuality=function(){};
g.h.getAvailableQualityLevels=function(){var a=g.Z(this.app,this.playerType);return a?(a=(0,g.K)(psa(a),function(b){return b.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.getVideoBytesLoaded=function(){return this.getVideoLoadedFraction()};
g.h.getVideoBytesTotal=function(){return 1};
g.h.getVideoLoadedFraction=function(){return this.app.getVideoLoadedFraction()};
g.h.getVideoStartBytes=function(){return 0};
g.h.setSize=function(){this.app.H.yf()};
g.h.channelSubscribed=function(){this.Ba("SUBSCRIBE",LZ(this.app).gi)};
g.h.channelUnsubscribed=function(){this.Ba("UNSUBSCRIBE",LZ(this.app).gi)};
g.h.confirmYpcRental=function(){var a=g.Z(this.app,this.playerType);a&&msa(a,"ypc_clickwrap")};
g.h.setHomeGroupInfo=function(a){this.app.o.homeGroupInfo=a};
g.h.setLivingRoomAppMode=function(a){this.app.o.livingRoomAppMode=a};
g.h.setEnablePrivacyFilter=function(a){this.app.o.enablePrivacyFilter=a};
g.h.isPictureInPictureAllowed=function(){return LZ(this.app).Mo};
g.h.togglePictureInPicture=function(){this.app.togglePictureInPicture()};
g.h.loadModule=function(a){"captions"==a&&(a=this.app.B.A)&&!a.loaded&&a.load()};
g.h.unloadModule=function(a){"captions"==a&&(a=this.app.B.A)&&a.loaded&&a.cW()};
g.h.loadVideoById=function(a,b,c){a&&(a=this.app.loadVideoByPlayerVars(bQ(a,b,c),this.playerType),this.o&&K0(this.app,a,this.playerType))};
g.h.cueVideoById=function(a,b,c){this.app.cueVideoByPlayerVars(bQ(a,b,c),this.playerType)};
g.h.loadVideoByUrl=function(a,b,c){a=Qna(a,b,c);a=this.app.loadVideoByPlayerVars(a,this.playerType);this.o&&K0(this.app,a,this.playerType)};
g.h.cueVideoByUrl=function(a,b,c){a=Qna(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.o;if(a.K)return"";var b=LZ(this.app),c=void 0;b.Da||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.getDebugText=function(){return this.app.getDebugText()};
g.h.getVideoEmbedCode=function(){var a=this.app.o;return a.K?"":a.getVideoEmbedCode(LZ(this.app).videoId,this.app.H.getPlayerSize(),this.getPlaylistId()||void 0)};
g.h.addCueRange=function(a,b,c){return Aya(this.app,a,b,c)};
g.h.removeCueRange=function(a){a:{for(var b=this.app,c=MS(b.C.L)||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.C.removeCueRange(e);YU(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.loadPlaylist=function(a,b,c,d){this.app.loadPlaylist(a,b,c,d);this.o&&K0(this.app,!0,this.playerType)};
g.h.cuePlaylist=function(a,b,c,d){this.app.cuePlaylist(a,b,c,d)};
g.h.nextVideo=function(){this.app.nextVideo();this.o&&K0(this.app,!0,this.playerType)};
g.h.previousVideo=function(){this.app.previousVideo();this.o&&K0(this.app,!0,this.playerType)};
g.h.playVideoAt=function(a){this.app.playVideoAt(a);this.o&&K0(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.getPlaylist();b&&b.setShuffle(a)};
g.h.setLoop=function(a){var b=this.app.getPlaylist();b&&(b.loop=a)};
g.h.getPlaylist=function(){var a=this.app.getPlaylist();if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.Aa(c);d&&b.push(d.videoId)}return b};
g.h.getPlaylistIndex=function(){var a=this.app.getPlaylist();return a?a.ye():-1};
g.h.getPlaylistId=function(){var a=this.app.getPlaylist();return a&&a.listId?a.listId.toString():null};
g.h.setOption=function(a,b,c){if(!b)return null;var d=this.app.B;return"captions"==a?(a=d.A)&&a.Ic(b,c):null};
g.h.getOption=function(a,b,c){return this.setOption(a,b,c)};
g.h.getOptions=function(a){var b=this.app.B;return"captions"==a?(b=b.A)&&b.getOptions():a?null:(a=[],b.A&&a.push("captions"),a)};
g.h.getVideoData=function(){var a={},b=g.Z(this.app,this.playerType);if(b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Ca&&b.Ca.video)){a.video_quality=b.Ca.video.quality;b=b.Ca.video;var c=[];32<b.fps&&c.push("hfr");gL(b)&&c.push("hdr");"bt2020"==b.primaries&&c.push("wcg");a.video_quality_features=c}if(b=this.getPlaylistId())a.list=b;return a};
g.h.showVideoInfo=function(){qya(this.app,!0)};
g.h.hideVideoInfo=function(){qya(this.app,!1)};
g.h.isVideoInfoVisible=function(){return this.app.isVideoInfoVisible()};
g.h.getAdState=function(){return this.app.getAdState()};
g.h.isNotServable=function(a){if(a!=this.app.wa.args.video_id)return!1;var b=(a=(a=g.Z(this.app,1))?a.getPlayerState():null)?a.A:null;return!!(a&&b&&g.X(a,128)&&5==cAa[b.errorCode])};
g.h.getSphericalProperties=function(){var a=this.app.B.D;return a?2==this.playerType?{}:a.getSphericalProperties():{}};
g.h.setSphericalProperties=function(a){if(a&&2!=this.playerType){var b=this.app.B.D;b&&b.setSphericalProperties(a,!0)}};
g.h.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;this.app.enqueueVideoByPlayerVars(a,b,c,void 0===d?"":d)};
g.h.clearQueue=function(){this.app.clearQueue()};
g.h.destroy=function(){this.app.dispose()};
g.h.sendAbandonmentPing=function(){var a=g.Z(this.app);a&&a.sendAbandonmentPing()};
g.h.U=function(a,b){for(var c=1;c<arguments.length;++c);this.app.o.Ob&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.ea.U.apply(this.app.ea,arguments);this.app.aa.U.apply(this.app.aa,arguments)};
g.h.Ba=function(a,b){this.app.ea.U.apply(this.app.ea,arguments);this.app.aa.U.apply(this.app.aa,arguments)};
g.h.V=function(){if(this.B){for(var a in this.C)this.B[a]=null;this.B=null}this.D={};this.G={};g.L.prototype.V.call(this)};Yna.prototype.isEmpty=function(){return this.endTime==this.startTime};Zna.prototype.update=function(){if(!this.A.o.experiments.o("html5_ignore_updates_before_initial_ping")||this.J){var a=this.A.A()||0,b=g.xQ(this.A);if(a!=this.o||boa(this,a,b)){var c;if(!(c=a<this.o||a-this.o>b-this.F+2||boa(this,a,b))){var d=this.A.Td();c=d.volume;var e=c!=this.L;d=d.muted;d!=this.K?(this.K=d,c=!0):(!e||0<=this.D||(this.L=c,this.D=b),c=b-this.D,0<=this.D&&2<c?(this.D=-1,c=!0):c=!1)}c&&(g.wQ(this),this.C=a);this.F=b;this.o=a}}};var foa={other:1,none:2,wifi:3,cellular:7};g.aU=Pc(function(){var a="";try{var b=g.ke("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});var lsa,c2,hoa;
lsa={RX:"ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"AUTHENTICATION_EXPIRED",XX:"AUTHENTICATION_MALFORMED",YX:"AUTHENTICATION_MISSING",dY:"BAD_REQUEST",zY:"CAST_SESSION_DEVICE_MISMATCHED",AY:"CAST_SESSION_VIDEO_MISMATCHED",BY:"CAST_TOKEN_EXPIRED",CY:"CAST_TOKEN_FAILED",DY:"CAST_TOKEN_MALFORMED",EY:"CGI_PARAMS_MALFORMED",FY:"CGI_PARAMS_MISSING",mZ:"DEVICE_FALLBACK",QZ:"GENERIC_WITH_LINK_AND_CPN",RZ:"LICENSE",SZ:"VIDEO_UNAVAILABLE",g_:"FORMAT_UNAVALIABLE",k_:"GEO_FAILURE",B_:"HTML5_AUDIO_RENDERER_ERROR",C_:"GENERIC_WITHOUT_LINK",
D_:"HTML5_FLASH_DEPRECATED",E_:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",F_:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",W_:"INVALID_DRM_MESSAGE",T1:"PURCHASE_NOT_FOUND",U1:"PURCHASE_REFUNDED",a2:"RENTAL_EXPIRED",l2:"RETRYABLE_ERROR",B2:"SERVER_ERROR",Y2:"STOPPED_BY_ANOTHER_PLAYBACK",a3:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",b3:"STREAMING_NOT_ALLOWED",c3:"STREAM_LICENSE_NOT_FOUND",r3:"TOO_MANY_STREAMS_PER_ENTITLEMENT",s3:"TOO_MANY_STREAMS_PER_USER",G3:"UNSUPPORTED_DEVICE",T3:"VIDEO_FORBIDDEN",
V3:"VIDEO_NOT_FOUND"};c2={};
g.lU=(c2.ALREADY_PINNED_ON_A_DEVICE="Bu video telif hakk\u0131 sahibinin izin verdi\u011fi maksimum say\u0131da cihaza zaten indirildi. Videonun burada oynat\u0131labilmesi i\u00e7in ba\u015fka bir cihazdan sabitlemesinin kald\u0131r\u0131lmas\u0131 gerekir.",c2.DEVICE_FALLBACK="Maalesef, bu video bu cihazda kullan\u0131lam\u0131yor.",c2.GENERIC_WITH_LINK_AND_CPN="Bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin. (Oynatma kimli\u011fi: $CPN) $BEGIN_LINKDaha fazla bilgi edinin$END_LINK",c2.LICENSE=
"Maalesef bu videonun lisanslanmas\u0131nda bir hata olu\u015ftu.",c2.VIDEO_UNAVAILABLE="Video kullan\u0131lam\u0131yor",c2.FORMAT_UNAVALIABLE="Bu video se\u00e7ilen kalitede mevcut de\u011fil. L\u00fctfen daha sonra tekrar deneyin.",c2.GEO_FAILURE="Bu video \u00fclkenizde kullan\u0131lam\u0131yor.",c2.HTML5_AUDIO_RENDERER_ERROR="Ses olu\u015fturucu hatas\u0131. L\u00fctfen bilgisayar\u0131n\u0131z\u0131 yeniden ba\u015flat\u0131n.",c2.GENERIC_WITHOUT_LINK="Bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.",
c2.HTML5_FLASH_DEPRECATED="Flash videolar art\u0131k desteklenmiyor. Bu deneyimden en iyi \u015fekilde yararlanmak i\u00e7in l\u00fctfen taray\u0131c\u0131n\u0131z\u0131 en yeni s\u00fcr\u00fcme g\u00fcncelleyin. $BEGIN_LINKDAHA FAZLA B\u0130LG\u0130$END_LINK",c2.HTML5_NO_AVAILABLE_FORMATS_FALLBACK="Bu video bi\u00e7imi desteklenmiyor.",c2.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK="Taray\u0131c\u0131n\u0131z \u015fu anda mevcut video bi\u00e7imlerinin hi\u00e7birini tan\u0131m\u0131yor. $BEGIN_LINKHTML5 videosu hakk\u0131ndaki s\u0131k sorulan sorular\u0131 ziyaret etmek i\u00e7in buray\u0131 t\u0131klay\u0131n.$END_LINK",
c2.INVALID_DRM_MESSAGE="DRM sistemine \u00f6zel mesaj ge\u00e7ersiz.",c2.PURCHASE_NOT_FOUND="Bu video \u00f6deme gerektiriyor.",c2.PURCHASE_REFUNDED="Bu videonun sat\u0131n alma i\u015fleminin \u00fccreti iade edildi.",c2.RENTAL_EXPIRED="Bu videonun kiralanma s\u00fcresi sona erdi.",c2.CAST_SESSION_DEVICE_MISMATCHED="Yay\u0131n oturumundaki cihaz, istenen cihazla e\u015fle\u015fmiyor.",c2.CAST_SESSION_VIDEO_MISMATCHED="Yay\u0131n oturumundaki video, istenen videoyla e\u015fle\u015fmiyor.",c2.CAST_TOKEN_FAILED=
"Yay\u0131n oturumu yok. L\u00fctfen yenileyin veya daha sonra tekrar deneyin.",c2.CAST_TOKEN_EXPIRED="Yay\u0131n oturumunun s\u00fcresi doldu. L\u00fctfen yenileyin.",c2.CAST_TOKEN_MALFORMED="Ge\u00e7ersiz yay\u0131n oturumu. L\u00fctfen yenileyin veya daha sonra tekrar deneyin.",c2.SERVER_ERROR="Dahili bir sunucu hatas\u0131 olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.",c2.STOPPED_BY_ANOTHER_PLAYBACK="Hesab\u0131n\u0131z bu videoyu ba\u015fka bir konumda oynat\u0131yor. \u0130zlemeye devam etmek i\u00e7in l\u00fctfen bu sayfay\u0131 yeniden y\u00fckleyin.",
c2.STREAM_LICENSE_NOT_FOUND="Video oynat\u0131m\u0131 kesildi. L\u00fctfen tekrar deneyin.",c2.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED="24 saatlik s\u00fcre i\u00e7inde \u00e7ok fazla cihaz/IP adresi kullan\u0131ld\u0131.",c2.STREAMING_NOT_ALLOWED="Bu video ba\u015fka bir cihazda sabitlendi\u011fi i\u00e7in oynatmaya izin verilmiyor.",c2.RETRYABLE_ERROR="Ge\u00e7ici bir sunucu hatas\u0131 olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.",c2.TOO_MANY_STREAMS_PER_USER="Ayn\u0131 hesaba ait \u00e7ok fazla video oynat\u0131ld\u0131\u011f\u0131 i\u00e7in oynatma durduruldu.",
c2.TOO_MANY_STREAMS_PER_ENTITLEMENT="Bu video \u00e7ok fazla cihazda oynat\u0131ld\u0131\u011f\u0131 i\u00e7in oynatma durduruldu.",c2.UNSUPPORTED_DEVICE="Oynatma bu cihazda desteklenmiyor.",c2.VIDEO_FORBIDDEN="Bu videoya eri\u015fim yasakland\u0131.",c2.VIDEO_NOT_FOUND="Bu video bulunam\u0131yor.",c2);
hoa={300:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"ALREADY_PINNED_ON_A_DEVICE",303:"STOPPED_BY_ANOTHER_PLAYBACK",304:"TOO_MANY_STREAMS_PER_USER",305:"TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"VIDEO_NOT_FOUND",401:"GEO_FAILURE",402:"STREAMING_NOT_ALLOWED",403:"UNSUPPORTED_DEVICE",405:"VIDEO_FORBIDDEN",500:"PURCHASE_NOT_FOUND",501:"RENTAL_EXPIRED",502:"PURCHASE_REFUNDED",5E3:"BAD_REQUEST",5001:"CGI_PARAMS_MISSING",5002:"CGI_PARAMS_MALFORMED",5100:"AUTHENTICATION_MISSING",5101:"AUTHENTICATION_MALFORMED",
5102:"AUTHENTICATION_EXPIRED",5200:"CAST_TOKEN_MALFORMED",5201:"CAST_TOKEN_EXPIRED",5202:"CAST_TOKEN_FAILED",5203:"CAST_SESSION_VIDEO_MISMATCHED",5204:"CAST_SESSION_DEVICE_MISMATCHED",6E3:"INVALID_DRM_MESSAGE",7E3:"SERVER_ERROR",8E3:"RETRYABLE_ERROR"};var dAa=OX&&4>SP?.1:0,Dxa=new joa;g.h=joa.prototype;g.h.Cj=null;g.h.Lf=function(a){var b="";a&&(koa(this,a),b=a.o);this.src&&""==b||(b&&this.src!=b&&(this.src=b),a&&a.A||this.load())};
g.h.getDuration=function(){return this.duration||0};
g.h.getCurrentTime=function(){return this.currentTime||0};
g.h.aK=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.t(g.yQ,g.L);g.h=g.yQ.prototype;g.h.vj=ba(6);g.h.Bq=function(){return this.B};
g.h.Lf=function(a){var b="";a&&(loa(this,a),b=a.o);this.Cd()&&""==b||(b&&this.Cd()!=b&&(this.Fq(b),this.C&&(this.C.dispose(),this.C=null)),a&&a.A||this.load(),this.J||(this.addEventListener("volumechange",this.CA),this.J=!0))};
g.h.fr=function(){if(!this.C||this.C.la()){var a=this.sa();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new sM(a);a=new GM(a);this.Lf(a.bn);this.C=a}};
g.h.zq=function(){this.L||(this.D=null);if(this.D)return this.D;this.fr();var a=this.C;this.C=null;return this.D=a};
g.h.playVideo=function(){this.Vg()&&this.seekTo(0);!this.Cd()&&this.B&&(g.hF(Error("playVideo without src")),this.Fq(this.B.o),this.B.A||this.load());var a=this.play();!a&&OX&&7<=SP&&oH(this,"playing",(0,g.B)(function(){g.oF((0,g.B)(this.tB,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.tB=function(a,b){this.Qh()||this.getCurrentTime()>a||10<b||(this.play(),g.oF((0,g.B)(this.tB,this,this.getCurrentTime(),b+1),500))};
g.h.seekTo=function(a){0<this.De()&&(OX&&4>SP&&(a=Math.max(.1,a)),this.Eq(a))};
g.h.stopVideo=function(){!this.C&&this.Cd()&&(tG&&0<this.getCurrentTime()&&this.seekTo(0),this.vx(),this.load(),loa(this,null))};
g.h.Eb=function(){try{return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:wM(this.Bm()),vbu:wM(this.rf()),vpa:""+ +this.Qh(),vsk:""+ +this.kn(),ven:""+ +this.Vg(),vpr:""+this.getPlaybackRate(),vrs:""+this.De(),vns:""+this.Gp(),vec:""+this.Fb(),vvol:""+this.getVolume()}}catch(a){return{}}};
g.h.addEventListener=function(a,b){this.G.X(a,b,!1,this);this.nu(a)};
g.h.removeEventListener=function(a,b){this.G.Ka(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.G.dispatchEvent(a)};
g.h.mu=function(){this.H=!1};
g.h.iu=function(){this.H=!0;this.Dk(!0)};
g.h.CA=function(){this.H&&!this.Aq()&&this.Dk(!0)};
g.h.V=function(){this.J&&this.removeEventListener("volumechange",this.CA);this.D&&this.D.dispose();this.C&&this.C.dispose();g.L.prototype.V.call(this)};g.t(DQ,g.Qf);DQ.prototype.preventDefault=function(){g.Qf.prototype.preventDefault.call(this);this.o&&this.o.preventDefault()};
DQ.prototype.stopPropagation=function(){g.Qf.prototype.stopPropagation.call(this);this.o&&this.o.stopPropagation()};g.FQ.prototype.sb=function(){return g.X(this,8)&&!g.X(this,512)&&!g.X(this,64)&&!g.X(this,2)};
g.FQ.prototype.isCued=function(){return g.X(this,64)&&!g.X(this,8)&&!g.X(this,4)};
g.FQ.prototype.isError=function(){return g.X(this,128)};g.t(SQ,g.L);
SQ.prototype.D=function(a){if(!this.la()&&(a=0<=a?a:g.xQ(this.o),-1<["PL","B","S"].indexOf(this.C)&&(!g.cc(this.A)||a>=this.B+30)&&(g.RQ(this,a,"vps",[this.C]),this.B=a),!g.cc(this.A))){UQ(this,a);var b=a,c=this.o.F(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.ea,k=e&&!this.ka;if(d>c.totalVideoFrames||5E3<f)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else(0<f||k)&&g.RQ(this,b,"df",[f]);this.ea=d;this.ka=e;!this.o.o.experiments.o("disable_webgl_reporting")&&0<
this.F&&(g.RQ(this,a,"glf",[this.F]),this.F=0);a={event:"streamingstats"};this.o.videoData.Ca&&(a.fmt=aK(this.o.videoData.Ca),(b=this.o.videoData.Hc)&&aK(b)!=a.fmt&&(a.afmt=aK(b)));a.cpn=this.o.videoData.clientPlaybackNonce;a.ei=this.o.videoData.eventId;a.el=VP(this.o.videoData);a.docid=this.o.videoData.videoId;a.ns=this.o.o.aa;a.fexp=this.o.o.experiments.experimentIds.toString();a.cl="241685072";this.o.videoData.adFormat&&(a.adformat=this.o.videoData.adFormat);(b=MP(this.o.videoData))&&(a.live=b);
this.o.videoData.ad&&(a.drm=1);a.seq=this.K++;if(!this.o.o.experiments.o("html5_prevent_qoe_spam_killswitch")&&(7E3==this.K&&g.hF(Error("Sent over 7000 pings"),"WARNING"),7E3<=this.K))return;g.kc(a,this.o.o.deviceParams);b=g.zh("//"+this.o.o.Ll+"/api/stats/qoe",a);a=c="";for(var l in this.A)null==this.A[l]?g.hF(Error("Stats report key has invalid value: "+l),"WARNING"):(d="&"+l+"="+this.A[l].join(","),100<d.length?a+=d:c+=d);l=b+c;a=a.replace(/ /g,"%20");b=ZP(this.o.videoData);c=this.o.videoData.visitorData;
d=b&&QF();e=c&&this.o.o.za;d||e?(f={},d&&(f.Authorization="Bearer "+b),e&&(f["X-Goog-Visitor-Id"]=c),g.cG(l,{headers:f,withCredentials:!0,method:"POST",postBody:a})):AG(l,void 0,a);this.A={}}};
SQ.prototype.xa=function(){if(this.o.videoData.bf){var a=this.o.videoData.bf;WQ(this,"drm-"+a.flavor);WQ(this,"eme-"+(a.A?"final":FO(a)?"ms":"com.youtube.fairplay"==a.o?"ytfp":IO(a)?"safarifp":"nonfinal"))}};
SQ.prototype.onError=function(a,b){var c=g.xQ(this.o);roa(this,c,a,b);UQ(this,c);VQ(this)};
SQ.prototype.V=function(){g.L.prototype.V.call(this);window.clearInterval(this.ba)};
var d2={},soa=(d2[5]="N",d2[-1]="N",d2[3]="B",d2[0]="EN",d2[2]="PA",d2[1]="PL",d2);XQ.prototype.send=function(a){if(!this.P){var b=$Q(this);b=g.zh(this.ua,b);if(this.M)this.H&&(a=YQ(this)||{},a.method="POST",a.Sb={atr:this.H},this.dl&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.cG(b,a));else{var c=YQ(this,a);c?g.cG(b,c):g.yG(b,a)}this.P=!0}};
XQ.prototype.o=function(a){void 0==a&&(a=NaN);return(1*a.toFixed(3)).toString()};g.t(bR,g.L);g.h=bR.prototype;g.h.hR=function(a,b){if(!this.la()){this.G=NaN;this.C.update();var c=aoa(this.C),d=voa(this,c);b&&(d.B=a);var e=400<this.K;!(1<c.length)&&c[0].isEmpty()||e||(d.A=cR(this,!0,a));d.send();this.K++}};
g.h.onError=function(a,b){if(!this.la())this.A.onError(a,b)};
g.h.Er=function(a){var b=this.o.o,c=this.o.videoData,d={ns:b.aa,el:VP(c),eurl:b.ya,fmt:c.Ca?aK(c.Ca):0,html5:1,list:c.playlistId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.o.A(),video_id:c.videoId,metric:a};YP(c)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=$na(this.C));g.Oa(d,b.deviceParams);eR(this,g.zh(b.experiments.o("cardio_base_url_killswitch")?(b.A?b.protocol+"://www.youtube.com/":b.D)+"live_204":b.D+"live_204",d))};
g.h.kb=function(){};
g.h.V=function(){g.L.prototype.V.call(this);g.qF(this.G);this.G=NaN;var a=this.C;window.clearInterval(a.G);a.G=NaN;g.qF(this.D)};
g.h.Eb=function(){return $Q(dR(this,"playback"))};var eAa={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(eAa).reduce(function(a,b){a[eAa[b]]=b;return a},{});
var fAa={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(fAa).reduce(function(a,b){a[fAa[b]]=b;return a},{});
var gAa={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(gAa).reduce(function(a,b){a[gAa[b]]=b;return a},{});g.t(fR,pQ);g.h=fR.prototype;g.h.getPresentingPlayerType=function(){var a=this.app.getPresentingPlayerType();2==a&&SZ(this.app)&&(a=1);return a};
g.h.addCueRange=function(a,b,c,d,e){return Aya(this.app,a,b,c,d,e)};
g.h.addInfoCardXml=function(a,b,c){this.app.o.J.add(a,{ri:b,rl:c})};
g.h.cueVideoByPlayerVars=function(a,b){this.app.cueVideoByPlayerVars(a,b||this.playerType)};
g.h.getPlayerState=function(a){return G0(this.app,a)};
g.h.loadVideoByPlayerVars=function(a,b,c,d){this.app.loadVideoByPlayerVars(a,c||this.playerType,b,d)};
g.h.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.h.nextVideo=function(a,b){this.app.nextVideo(a,b)};
g.h.previousVideo=function(a){this.app.previousVideo(a)};
g.h.seekBy=function(a,b,c){P0(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.seekTo=function(a,b,c,d){P0(this.app,a,b,c,d||this.playerType)};
g.h.updatePlaylist=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.getPlaylist())?this.isFullscreen()&&((c=c[b.ye()])&&c.encrypted_id!=b.Aa().videoId||(a.index=b.ye())):z0(this.app,{list:a.list,index:a.index,playlist_length:c.length});rR(this.app.getPlaylist(),a);this.Ba("onPlaylistUpdate")}}else this.app.updatePlaylist()};
g.h.updateLastActiveTime=function(){aI()};
g.h.updateVideoData=function(a,b){var c=g.Z(this.app,this.playerType||1);c&&c.getVideoData().gh(a,b)};
g.h.getPlayerResponse=function(){var a=g.Z(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return this.app.getStoryboardFormat()};
g.h.getStoryboardFrame=function(a,b){var c=this.app.Te();if(!c)return null;c=c.o[b];return c?(c=g.YO(c,a))?{column:c.column,columns:c.columns,height:c.height,row:c.row,rows:c.rows,url:c.url,width:c.width}:null:null};
g.h.getStoryboardFrameIndex=function(a,b){var c=this.app.Te();if(!c)return-1;c=c.o[b];if(!c)return-1;this.app.o.experiments.o("web_player_api_storyboard_timestamp_killswitch")||(a-=this.Vc());return c.Mq(a)};
g.h.getStoryboardLevel=function(a){var b=this.app.Te();return b?(b=b.o[a])?{index:a,intervalMs:b.o,maxFrameIndex:b.vn(),minFrameIndex:b.tw()}:null:null};
g.h.getNumberOfStoryboardLevels=function(){var a=this.app.Te();return a?a.o.length:0};
g.h.Vc=function(){var a=g.Z(this.app,void 0);return a?a.Vc():0};
g.h.getHousebrandProperties=function(){var a=this.app.o;return{hc:a.hc,Ob:a.Ob}};
g.h.getVideoData=function(){var a=pQ.prototype.getVideoData.call(this)||{},b=g.Z(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.isLive=b.Da,a.allowLiveDvr=b.allowLiveDvr,a.itct=b.rk,a.paidContentOverlayText=sna(b),a.paidContentOverlayDurationMs=tna(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds),b.oa&&TL(b.oa)&&(a.usingLocalMedia="true"));return a};
g.h.getCurrentTime=function(a,b){return a?this.app.getCurrentTime(a,b):pQ.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a,b){return a?this.app.getDuration(a,b):pQ.prototype.getDuration.call(this)};
g.h.getProgressState=function(a){if(3==this.getPresentingPlayerType())return g.PU(this.app.B).getProgressState();var b=this.app.getVideoData(),c=(g.Z(this.app,a)||g.Z(this.app)).getPlayerType(),d=this.getCurrentTime(a);a=this.getDuration(a);var e=vya(this.app,c),f=this.app.isAtLiveHead(c);var k=this.app;var l=g.Z(k,void 0);if(l){l=x0(k,l);var m=NaN;l.A&&(m=moa(l.A));m=0<=m?m:l.getCurrentTime();k=F0(k,m,l)}else k=0;l=this.app.gc(c);m=this.app;(c=g.Z(m,c))?(c=w0(m,c),c=F0(m,HU(c),c)):c=0;return{allowSeeking:this.app.Mc(),
clipEnd:b.clipEnd,clipStart:b.clipStart,current:d,displayedStart:-1,duration:a,ingestionTime:e,isAtLiveHead:f,loaded:k,seekableStart:l,seekableEnd:c}};
g.h.getVideoLoadedFraction=function(a){return this.app.getVideoLoadedFraction(a)};
g.h.canPlayType=function(a){return this.app.canPlayType(a)};
g.h.getPreferredQuality=function(){var a=g.Z(this.app);return a?a.getPreferredQuality():"unknown"};
g.h.setPlaybackQualityRange=function(a,b){var c=g.Z(this.app,this.playerType);if(c){var d=hN(a,b||a,!0,"m");c.o.ls=d;if(c.K){var e=c.K;if(e.Ea.o){var f=g.dL[pN()];e=e.Ea.videoInfos[0].Aa().zc;f>e&&0!=e&&d.o==e||g.JI("yt-player-quality",lN(d),2592E3)}}uU(c)}};
g.h.getCurrentPlaylistSequence=function(){return g.Z(this.app).getPlaylistSequenceForTime(this.app.getCurrentTime())};
g.h.getPlaylistSequenceForTime=function(a){return g.Z(this.app).getPlaylistSequenceForTime(a)};
g.h.getCurrentBroadcastId=function(){var a=this.app.B.yd;return a?a.yB():null};
g.h.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)};
g.h.setCardsVisible=function(a,b,c){var d=this.app.B.B;d&&d.ee()&&d.setCardsVisible(a,b,c)};
g.h.setAutonav=function(a){this.setAutonavState(a?2:1)};
g.h.setAutonavState=function(a){Eya(this.app,a)};
g.h.handleGlobalKeyDown=function(a,b,c,d,e){var f=g.uQ(this);f&&f.handleGlobalKeyDown(a,void 0===b?!1:b,void 0===c?!1:c,void 0===d?!1:d,void 0===e?!1:e)};
g.h.handleGlobalKeyUp=function(a,b,c,d,e){var f=g.uQ(this);f&&f.handleGlobalKeyUp(a,void 0===b?!1:b,void 0===c?!1:c,void 0===d?!1:d,void 0===e?!1:e)};
g.h.xK=function(){return this.getAudioTrack()};
g.h.getAudioTrack=function(){var a=g.Z(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().Xl};
g.h.setAudioTrack=function(a){3==this.getPresentingPlayerType()&&g.PU(this.app.B).Vh("control_set_audio_track",a);var b=g.Z(this.app,this.playerType);if(b&&!b.la()&&!g.X(b.C,128))if(b.o.Ea.o)b.D.setAudioTrack(a);else{a:{var c=b.o;if(c.Hc&&!mL(c.Hc)||a==c.Rn||!c.Cf||0>=c.Cf.length)c=!1;else{for(var d=g.r(c.Cf),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof RO)){c=!1;break a}var f=a.Rb.getId();e.A&&(e.A.C=f,e.o=null)}c.Rn=a;c=!0}}c&&(b.U("internalaudioformatchange",b.o,!0),dU(b)&&b.xb("hlsaudio",
a.id))}};
g.h.yK=function(){return this.getAvailableAudioTracks()};
g.h.getAvailableAudioTracks=function(){return g.Z(this.app,this.playerType).getAvailableAudioTracks()};
g.h.getMaxPlaybackQuality=function(){var a=g.Z(this.app,this.playerType);return a&&a.getVideoData().Ca?lN(a.K?Bra(a.W,a.K,sU(a)):jN):"unknown"};
g.h.getUserPlaybackQualityPreference=function(){var a=g.Z(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"};
g.h.setSizeStyle=function(a,b){this.app.setSizeStyle(a,b)};
g.h.forceFrescaUpdate=function(){var a=this.app.B.yd;a&&a.GK()};
g.h.showControls=function(){var a=g.uQ(this);a&&a.showControls(!0)};
g.h.hideControls=function(){var a=g.uQ(this);a&&a.showControls(!1)};
g.h.getVisibilityState=function(){var a=this.app.o;a=this.app.J.o&&!a.experiments.o("kevlar_miniplayer_disable_vis");return this.app.getVisibilityState(this.cj(),this.isFullscreen()||cO(this.app.o),a,this.isInline(),this.app.J.B)};
g.h.isFullscreen=function(){return this.app.isFullscreen()};
g.h.isInline=function(){return this.app.isInline()};
g.h.cj=function(){var a=g.Z(this.app,this.playerType);return!!a&&a.M.A};
g.h.shouldSendVisibilityState=function(){return!0};
g.h.getVideoContentRect=function(a){a=this.app.H.getVideoContentRect(a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.setSafetyMode=function(a){this.app.o.enableSafetyMode=a};
g.h.setUserEngagement=function(a){this.app.o.yg!=a&&(this.app.o.yg=a,(a=g.Z(this.app,this.playerType))&&uU(a))};
g.h.setFauxFullscreen=function(a){UG();O0(this.app,a?2:0)};
g.h.toggleFullscreen=function(){this.app.o.externalFullscreen?this.isFullscreen()?WG(window.document.documentElement):TG(window.document.documentElement):UG()?this.isFullscreen()?WG(N0(this.app)):TG(this.app.H.element):this.Ba("onFullscreenToggled",this.isFullscreen())};
g.h.cancelPlayback=function(){var a=this.app.B.C;a&&a.created&&a.destroy();(a=g.Z(this.app))&&a.stopVideo();(a=this.app.B.K)&&a.QM()&&g.MU(this.app.K,!0)};
g.h.stopVideo=function(){var a=this.app.o;!a.experiments.o("disable_new_pause_state3")&&tO(a)&&"blazer"!=a.playerStyle?this.cancelPlayback():pQ.prototype.stopVideo.call(this)};
g.h.getVideoStats=function(){return g.Z(this.app,this.playerType).Eb(!0)};
g.h.updateSubtitlesUserSettings=function(a){this.app.B.A.MG(a,!0)};
g.h.getSubtitlesUserSettings=function(){var a=this.app.B.A;return a?a.UK():null};
g.h.resetSubtitlesUserSettings=function(){this.app.B.A.nV()};
g.h.isFastLoad=function(){var a=g.Z(this.app,this.playerType);if(!a)return!1;a=a.getVideoData();return!!a&&a.isValid()&&!!a.Ca&&!!a.Ca.video&&a.Ca.video.isAccelerated&&a.Ca.video.A};
g.h.isAtLiveHead=function(a){return this.app.isAtLiveHead(void 0,void 0===a?!0:a)};
g.h.setMinimized=function(a){this.app.setMinimized(a)};
g.h.setInline=function(a){this.app.setInline(a)};
g.h.getDebugText=function(a){return this.app.getDebugText(a)};
g.h.setSphericalProperties=function(a){if(a){var b=this.app.B.D;b&&b.setSphericalProperties(a,!0)}};
g.h.getSphericalProperties=function(){var a=this.app.B.D;return a?a.getSphericalProperties():{}};
g.h.setBlackout=function(a){this.app.setBlackout(a)};
g.h.onAdUxClicked=function(){};
g.h.setVolume=function(a,b){Tna(this,a,b)};
g.h.mute=function(a){Una(this,a)};
g.h.unMute=function(a){Vna(this,a)};
g.h.isMutedByMutedAutoplay=function(){return this.app.Ia};
g.h.loadModule=function(a){if("annotations_module"==a){var b=this.app.B.B;b&&!b.loaded&&b.load()}pQ.prototype.loadModule.call(this,a)};
g.h.unloadModule=function(a){if("annotations_module"==a){var b=this.app.B.B;b&&b.loaded&&b.unload()}pQ.prototype.unloadModule.call(this,a)};
g.h.setOption=function(a,b,c){if(!b)return null;var d=this.app.B;switch(a){case "ad":return(a=d.C)&&a.Ic&&a.Ic(b,c);case "kids":return(a=mO(g.Y(d.o))?d.F:null)&&a.Ic(b,c);case "remote":return(a=g.PU(d))&&a.Ic(b,c);case "unplugged":return(a=g.lO(g.Y(d.o))?d.G:null)&&a.Ic(b,c);case "spacecast":return(a=d.Y)&&a.Ic(b,c);case "annotations_module":return(a=d.B)&&a.Ic(b,c);case "creatorendscreen":return(a=d.H)&&a.Ic(b,c)}return pQ.prototype.setOption.call(this,a,b,c)};
g.h.getOptions=function(a){var b=this.app.B;switch(a){case "ad":return(b=b.C)&&b.getOptions&&b.getOptions();case "remote":return(b=g.PU(b))&&b.getOptions();case "annotations_module":return(b=b.B)&&b.getOptions();case "creatorendscreen":return(b=b.H)&&b.getOptions();case "unplugged":return(b=g.lO(g.Y(b.o))?b.G:null)&&b.getOptions();case "kids":return(b=mO(g.Y(b.o))?b.F:null)&&b.getOptions()}if(!a){a=pQ.prototype.getOptions.call(this);if(!a)return a;b.C&&a.push("ad");g.PU(b)&&a.push("remote");b.B&&
a.push("annotations_module");b.H&&a.push("creatorendscreen");g.lO(g.Y(b.o))&&b.G&&a.push("unplugged");mO(g.Y(b.o))&&b.F&&a.push("kids");return a}return pQ.prototype.getOptions.call(this,a)};
g.h.getPlayerSize=function(){var a=this.app.H.getPlayerSize();return{width:a.width,height:a.height}};
g.h.setGlobalCrop=function(a){this.app.H.setGlobalCrop(a)};
g.h.wakeUpControls=function(){var a=g.uQ(this);a&&a.qw()};
g.h.getVideoAspectRatio=function(){return this.app.H.getVideoAspectRatio()};
g.h.setUseFastSizingOnWatch=function(a){this.app.H.setUseFastSizingOnWatch(a)};
g.h.setInternalSize=function(a,b){this.app.H.setInternalSize(new g.Qd(a,b))};
g.h.updateFullerscreenEduButtonVisibility=function(a){var b=Aoa(this);b&&(b.F=a,b.D())};
g.h.updateFullerscreenEduButtonSubtleModeState=function(a){var b=Aoa(this);b&&(g.U(b.element,"ytp-fullerscreen-edu-button-subtle",a),a&&!b.H&&(b.element.setAttribute("title","Ayr\u0131nt\u0131lar i\u00e7in kayd\u0131r\u0131n"),g.Nf(b,nW(b.J.Hb(),b.element)),b.H=!0))};g.t(gR,fR);g.h=gR.prototype;g.h.playVideo=function(){K0(this.app,!0,this.playerType);this.app.playVideo(this.playerType)};
g.h.pauseVideo=function(){this.app.pauseVideo(this.playerType)};
g.h.seekBy=function(a,b,c){K0(this.app,!0,this.playerType);this.app.seekBy(a,b,c,this.playerType)};
g.h.seekTo=function(a,b){K0(this.app,!0,this.playerType);this.app.seekTo(a,b,void 0,this.playerType)};
g.h.stopVideo=function(){this.app.stopVideo()};hR.prototype.reset=function(){Kma("")};
hR.prototype.info=function(a,b){(0,g.iR)(a,b,"")};g.t(g.jR,g.L);g.jR.prototype.getId=function(){return this.Ja};
g.jR.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.Ja+"}["+Doa(this.start)+", "+Doa(this.end)+"]"};
g.jR.prototype.contains=function(a,b){return a>=this.start&&(a<this.end||a==this.end&&this.start==this.end)&&(null==b||a<b&&b<=this.end)};
var Coa=1;g.jR.prototype.getId=g.jR.prototype.getId;g.mR.prototype.toString=function(){return this.type+this.id};g.t(g.oR,g.vH);g.h=g.oR.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.Ib+1<this.Mh};
g.h.Xf=function(a){return this.loop||!!a||0<=this.Ib-1};
g.h.Aa=function(a,b,c){a=void 0!=a?a:this.Ib;a=this.Qa&&a in this.Qa?this.Qa[this.me[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.yP(this.ib,a),g.M(this,d),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.lG=a;a=this.me&&null!=this.me[this.Ib]?this.me[this.Ib]:this.Ib;this.me=[];for(var b=0;b<this.Qa.length;b++)this.me.push(b);this.Ib=a;this.kq++;if(this.lG){a=this.me[this.Ib];for(b=1;b<this.me.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.me[b];this.me[b]=this.me[c];this.me[c]=d}for(b=0;b<this.me.length;b++)this.me[b]==a&&(this.Ib=b);this.kq++}this.U("shuffle")};
g.h.hd=function(a){a=a||"hqdefault.jpg";var b=this.ci[a];if(b||this.ib.K||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a)return b;if(this.uG.length)return rO(this.ib,this.uG[0],a)};
g.h.ye=function(){return this.Ib};
g.h.getLength=function(){return this.Mh};
g.h.qm=function(a){if(a&&(a=a.videoId,!this.Qa[this.Ib]||this.Qa[this.Ib].video_id!=a))for(var b=0;b<this.Qa.length;b++)if(this.Qa[b].video_id==a){this.Ib=b;break}};
g.h.onReady=function(a){this.Mn=a;this.oc&&g.oF(this.Mn,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Em=function(){return this.ib.getVideoUrl(this.Aa().videoId,this.getPlaylistId())};
g.h.V=function(){this.Mn=null;g.Pf(this.Qa);g.vH.prototype.V.call(this)};g.t(g.sR,g.yQ);g.h=g.sR.prototype;g.h.Ph=function(){return!0};
g.h.isView=function(){return!1};
g.h.sa=function(){return this.o};
g.h.Cd=function(){return this.o.src};
g.h.Fq=function(a){var b=this.getPlaybackRate();this.o.src=a;this.setPlaybackRate(b)};
g.h.vx=function(){this.o.removeAttribute("src")};
g.h.getPlaybackRate=function(){try{return 0<=this.o.playbackRate?this.o.playbackRate:1}catch(a){return 1}};
g.h.setPlaybackRate=function(a){this.getPlaybackRate()!=a&&(this.o.playbackRate=a);return a};
g.h.yq=function(){return this.o.loop};
g.h.setLoop=function(a){this.o.loop=a};
g.h.canPlayType=function(a,b){return this.o.canPlayType(a,b)};
g.h.Qh=function(){return this.o.paused};
g.h.kn=function(){return this.o.seeking};
g.h.Vg=function(){return this.o.ended};
g.h.Aq=function(){return this.o.muted};
g.h.Dk=function(a){qM();this.o.muted=a};
g.h.Bm=function(){return this.o.played||vM([],[])};
g.h.rf=function(){try{var a=this.o.buffered}catch(b){}return a||vM([],[])};
g.h.Ip=function(){return this.o.seekable||vM([],[])};
g.h.Cq=function(){return this.o.getStartDate?this.o.getStartDate():null};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.Eq=function(a){this.o.currentTime=a};
g.h.getDuration=function(){return this.o.duration};
g.h.load=function(){var a=this.o.playbackRate;this.o.load&&this.o.load();this.o.playbackRate=a};
g.h.pause=function(){this.o.pause()};
g.h.play=function(){var a=this.o.play();return a&&a.then?a:null};
g.h.De=function(){return this.o.readyState};
g.h.Gp=function(){return this.o.networkState};
g.h.Fb=function(){return this.o.error?this.o.error.code:null};
g.h.gn=function(){return this.o.error?this.o.error.message:""};
g.h.Dq=function(){var a={};if(this.o){if(this.o.getVideoPlaybackQuality)return this.o.getVideoPlaybackQuality();this.o.webkitDecodedFrameCount&&(a.totalVideoFrames=this.o.webkitDecodedFrameCount,a.droppedVideoFrames=this.o.webkitDroppedFrameCount)}return a};
g.h.cj=function(){return!!this.o.webkitCurrentPlaybackTargetIsWireless};
g.h.iw=function(){return!!this.o.webkitShowPlaybackTargetPicker()};
g.h.togglePictureInPicture=function(){pM()?this.o!=window.document.pictureInPictureElement?this.o.requestPictureInPicture():window.document.exitPictureInPicture():oM()&&this.o.webkitSetPresentationMode("picture-in-picture"==this.o.webkitPresentationMode?"inline":"picture-in-picture")};
g.h.Wd=function(){return ei(this.o)};
g.h.hn=function(){return g.pi(this.o)};
g.h.setSize=function(a){return g.oi(this.o,a)};
g.h.getVolume=function(){return this.o.volume};
g.h.setVolume=function(a){qM();this.o.volume=a};
g.h.nu=function(a){if(!this.A[a]){var b=(0,g.B)(this.aO,this);this.o.addEventListener(a,b);this.A[a]=b}};
g.h.aO=function(a){this.dispatchEvent(new DQ(this,a.type,a))};
g.h.setAttribute=function(a,b){this.o.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.o.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.o.hasAttribute(a)};
g.h.Ml=ba(8);g.h.co=ba(10);g.h.vj=ba(5);g.h.Sl=ba(12);g.h.fn=function(){WG(this.o)};
g.h.Fd=function(a,b){g.Xh(this.o,a,b)};
g.h.jn=function(a){return $h(this.o,a)};
g.h.V=function(){for(var a in this.A)this.o.removeEventListener(a,this.A[a]);g.yQ.prototype.V.call(this)};tR.prototype.la=function(){return this.Bb};
tR.prototype.dispose=function(){this.Bb=!0;g.vR(this);this.A=null};zR.prototype.reset=function(){this.Y=BR(this);Loa(this);this.o=new yR(0,0,null);this.B=8;this.C=[];this.G=[];this.D=this.J=NaN;this.A=this.K=0;this.M=!1};
zR.prototype.process=function(a){var b=!1;if(this.C.length){if(Moa(this)&&this.C.length+a.byteLength<this.B)return Noa(this,a,0),0;b=this.C.length;var c=new Uint8Array(b+a.byteLength);c.set(this.C,0);c.set(new Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.C=[];a=new DataView(c.buffer);b=!0}for(var d=c=0;c<a.byteLength;){var e=a.byteLength-c,f=NaN;if(Moa(this)){if(e<this.B)return Noa(this,a,c),0;switch(this.o.type){case 0:f=CR(this,a,c);b||0!=c||(d=this.o.type);break;case 1836019574:case 1836019558:f=
CR(this,a,c);break;case 1953653094:e=a;f=c;if(!this.K){var k=this.P.Eo?this.A:1;this.K=jJ(ER(this,e,f),k)}f=CR(this,e,f);break;case 1836476516:this.A=lJ(ER(this,a,c));DR(this);f=this.o.size-8;break;case 1952867444:e=void 0;isNaN(this.D)||(f=ER(this,a,c),this.P.jb?e=this.aa(rJ(f),this.A):e=this.D,qJ(f,e),isNaN(this.F)&&(this.F=e),this.D+=this.K,this.W+=this.K);f=this.o.size-8;break;case 1936286840:e=ER(this,a,c),f=sJ(e).bo[0],this.A=tJ(e),DR(this),this.K=f,f=this.o.size-8}}else f=Math.min(this.B,e);
this.o.offset+=f;this.B-=f;c+=f;if(0==this.B){for(;0!=this.o.type&&this.o.offset==this.o.size&&this.o.parent;)1835295092==this.o.type&&(this.M=!0),this.o.parent.offset+=this.o.size,this.o=this.o.parent;switch(this.o.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.B=8;break;default:this.B=this.o.size-8}}}0<a.byteLength&&this.G.push(a);return d};g.h=Woa.prototype;g.h.Xd=function(){return""};
g.h.abort=function(){};
g.h.gk=function(){return!0};
g.h.wm=function(){return this.B.length};
g.h.ln=function(){return this.oc};
g.h.Tu=function(){return!!this.o.length};
g.h.Jh=function(){return!!this.o.length};
g.h.Nx=function(){return this.o.shift()};
g.h.kw=function(){return this.o[0]};
g.h.Tx=function(){return!0};
g.h.ox=function(){return!!this.C};
g.h.Hq=function(){return this.C};var kpa=0;g.h=lpa.prototype;g.h.cV=function(a){this.status=a.status;a.ok?(this.F=a.body.getReader(),this.H?this.F.cancel("Cancelling"):(this.L=a.headers,this.aa(),this.C=new Uint8Array(PR(this)),opa(this))):SR(this)};
g.h.OQ=function(a){if(!this.H){var b;window.performance&&window.performance.now&&(b=window.performance.now());var c=(0,g.J)(),d=a.value?a.value:null;(0,g.J)();a.done?(this.F=null,SR(this)):(RR(this)?(npa(this,d),this.P(c,this.A,b)):(a=this.A,this.D.Qz&&(a+=d.length),this.P(c,a,b),npa(this,d)),opa(this))}};
g.h.pD=function(a){this.M=""+a;this.J=!0;SR(this)};
g.h.Xd=function(a){return this.L.get(a)};
g.h.gk=function(){return!!this.L};
g.h.ln=function(){return this.A};
g.h.wm=function(){return+this.Xd("content-length")};
g.h.Tu=function(){return 200<=this.status&&300>this.status&&!!this.A};
g.h.Jh=function(){return!!this.B.length||(this.K||RR(this))&&0<this.o};
g.h.Nx=function(){this.Jh();this.B.length||QR(this);return this.B.shift()};
g.h.kw=function(){this.Jh();this.B.length||QR(this);return this.B[0]};
g.h.abort=function(){this.F&&this.F.cancel("Cancelling");this.G&&this.G.abort();this.H=!0};
g.h.Tx=function(){return!0};
g.h.ox=function(){return this.J};
g.h.Hq=function(){return this.M};g.h=ppa.prototype;g.h.fO=function(){if(!this.A){this.status=this.o.status;try{this.response=this.o.response,this.C=this.response.byteLength}catch(a){}this.B=!0;this.D()}};
g.h.hO=function(){2==this.o.readyState&&this.F()};
g.h.gO=function(a){this.A||(this.status=this.o.status,this.G(a.timeStamp,a.loaded))};
g.h.gk=function(){return 2<=this.o.readyState};
g.h.Xd=function(a){try{return this.o.getResponseHeader(a)}catch(b){return g.hF(b),""}};
g.h.wm=function(){return+this.Xd("content-length")};
g.h.ln=function(){return this.C};
g.h.Tu=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.Jh=function(){return this.B&&!!this.response&&!!this.response.byteLength};
g.h.Nx=function(){this.Jh();var a=this.response;this.response=null;return new Uint8Array(a)};
g.h.kw=function(){this.Jh();return new Uint8Array(this.response)};
g.h.abort=function(){this.A=!0;this.o.abort()};
g.h.Tx=function(){return!1};
g.h.ox=function(){return!1};
g.h.Hq=function(){return""};g.h=TR.prototype;g.h.Wa=function(){return this.B?this.B.Wa():""};
g.h.Fb=function(){return this.D};
g.h.start=function(a){YR(this,2);this.G=TR.o();this.A?(this.M=Nka(this.info,this.A.C,this.A.length),this.B=g.ZK(this.info,this.C,this.Y,this.M)):(this.M=this.info.range,this.B=g.ZK(this.info,this.C,this.Y));var b=!1;if(this.C.Ia&&2>this.info.A.o&&this.K){var c=this.B.get("aitags");if(c&&(YK(this.info)||XK(this.info))&&this.aa&&"auto"==pN()&&vN()){var d=rc(c).split(","),e=[];(0,g.E)(this.aa,function(f){g.Ya(d,f)&&e.push(f)});
0<e.length&&(this.B.set("altitags",g.qc(e.join(","))),b=!0)}}b||(this.K=!1);this.B.set("rn",this.G.toString());0<=a&&this.B.set("rbuf",(1E3*a).toFixed().toString());a=this.B.Wa();try{this.C.xc&&$R(this),this.o=upa(this,a)}catch(f){this.D="net.ssl";ZR(this);return}0<this.C.L&&this.P.start()};
g.h.LU=function(){this.H=0;this.info.A.D=g.PH();var a=WR(this);a.D=g.PH();a.C+=1;a=this.timing;a.o=(0,g.J)();a.F=a.o;a.C=0;a.ha=a.o;a.Y=0;a.H&&(a.H=[]);a.ia=!1;a.ka=!1;a.D=0;a.ga=IN(a.A);a.J=Infinity;a.L=Infinity;ipa(a);jpa(a,a.o);a.ba=(a.P-a.o)/1E3;a.K=NaN;a.aa=null};
g.h.KU=function(a,b,c){if(!this.la()&&this.o){this.F=this.o.status;vpa(this,!1);var d=this.timing;a=a>d.o&&4E12>a?a:(0,g.J)();LR(d,a,b);50>a-d.F&&MR(d)&&3!=GR(d)||hpa(d,a,b,c);b=this.timing;b.C>b.za&&HR(b,b.C)&&4>this.state?YR(this,4):bS(this)&&cS(this)&&YR(this,Math.max(3,this.state))}};
g.h.JU=function(){if(!this.la()&&this.o){if(!this.W&&this.o.gk()&&this.o.Xd("X-Walltime-Ms")){var a=parseInt(this.o.Xd("X-Walltime-Ms"),10);this.W=((0,g.J)()-a)/1E3}this.o.gk()&&this.o.Xd("X-Restrict-Formats-Hint")&&this.C.Mz&&!vN()&&g.JI("yt-player-headers-readable",!0,2592E3)}};
g.h.IU=function(){var a=this.o;if(!this.la()&&a){this.P.stop();this.F=a.status;var b=!1;if(400<=a.status)b=!0,this.D="net.badstatus";else if(a.Tu()){var c="";tpa(this)&&(c=a.kw(),2048<c.length?c="":(c=gJ(c),c=xK(c)?c:""));if(c){a=WR(this);g.PH();a.C=0;a.A=0;a.o=0;a=this.info;var d=this.B;g.UK(a.A,d,c);a.requestId=d.get("req_id");YR(this,5)}else if(c=a.ln(),(d=!!this.M&&this.M.length)&&d!=c||a.ox())b=!0,this.D="net.closed";else{vpa(this,!0);var e=aS(this)?a.Xd("X-Bandwidth-Est"):0;if(a=aS(this)?a.Xd("X-Bandwidth-Est3"):
0)this.ba=!0,this.C.lz&&(e=a);a=this.timing;d=(0,g.J)();e=e?parseInt(e,10):0;if(!a.ia){a.ia=!0;if(!IR(a)){d=d>a.o&&4E12>d?d:(0,g.J)();LR(a,d,c);hpa(a,d,c);var f=GR(a);if(2==f&&e)JR(a,a.C/e,a.C);else if(2==f||1==f)e=(d-a.o)/1E3,(e<=a.A.policy.D||!a.A.policy.D)&&!a.ka&&MR(a)&&JR(a,e,c),MR(a)&&DN(a.A,c,a.D);c=a.A;d=(d-a.o)/1E3;e=a.ba;f=XK(a.M);c.F.A(d,a.C/d);c.C=g.PH();f||c.A.A(1,d-e)}a.B&&(a.B=!1)}a=WR(this);g.PH();a.C=0;a.A=0;a.o=0;this.info.A.o=0;YR(this,6)}}else b=!0,this.D=204==a.status?"net.nocontent":
"net.connect";b&&ZR(this)}};
g.h.jV=function(){if(!this.la()){var a=(0,g.J)(),b=!1;MR(this.timing)?(a=this.timing.P,jpa(this.timing),this.timing.P-a>=.8*this.C.L?(this.H++,b=5<=this.H):this.H=0):(b=this.timing,b.G&&NR(b,(0,g.J)()),a-=b.W,this.C.lf&&0<a&&(this.H+=1),b=a>1E3*this.C.gd);this.H&&this.J&&this.J(this);b?spa(this,!1):this.P.start()}};
g.h.la=function(){return-1==this.state};
g.h.dispose=function(){XK(this.info)&&6!=this.state&&(this.info.o[0].o.F=!1);YR(this,-1);this.J=null;this.P.dispose();$R(this)};
TR.o=function(){return++TR.A};
TR.DEBUG=!1;TR.A=0;g.t(ypa,g.vH);mS.prototype.aa=function(a){a=a.info;this.D&&(this.P=this.D);this.D=a;a.o.info.o>=this.K&&(this.K=a.o.info.o)};
mS.prototype.getDuration=function(){return this.A.index.Yj()};wS.prototype.setPlaybackRate=function(a){this.C=Math.max(1,a)};
wS.prototype.getPlaybackRate=function(){return this.C};AS.prototype.Aa=function(){this.pd("gv")};
AS.prototype.pd=function(a,b){this.D[a]=b?window.performance.timing.navigationStart+b:g.PH()};IS.prototype.send=function(){g.cG(this.A,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Gd:this.C,Hd:this.C,context:this});this.o=g.PH()};
IS.prototype.C=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.PH()-this.o)/1E3).toFixed(3),shost:g.ph(this.A),trigger:this.F};204==a.status||a.response?this.B&&this.B(uM(b)):this.D(new tM("pathprobe.net",!1,b))};g.t(gqa,g.vH);g.t(LS,g.L);LS.prototype.removeCueRange=function(a){if(!this.la()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.db(this.C,c);var d=this.o,e=d.o;c=g.qb(e,c,d.A);0<=c&&g.cb(e,c)}}this.A()}};
LS.prototype.reset=function(){this.D=!1;this.F.stop();this.o.o=[];this.C=[];this.A()};
LS.prototype.A=function(){this.G=!0;if(!this.H){for(var a=3;this.G&&a;)this.G=!1,this.H=!0,yqa(this),this.H=!1,a--;this.J().sb()&&(a=rqa(this.o,this.B),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.B)/this.M(),this.F.start(a)))}};
LS.prototype.V=function(){this.C=[];this.o.o=[];g.L.prototype.V.call(this)};NS.prototype.then=function(a,b){return this.C.then(a,b)};
NS.prototype.resolve=function(a){this.o(a)};
NS.prototype.reject=function(a){this.A(a)};g.t(OS,g.vH);g.h=OS.prototype;
g.h.initialize=function(a,b,c,d){a=a||0;var e=this.G;d=d&&d.id;BS(e,b);cqa(e,d);e.L=e.C;dqa(e);e.D=e.A;b=aqa(e);this.B=new mS(this.A,b.audio,(0,g.B)(this.hA,this));this.o=new mS(this.A,b.video,(0,g.B)(this.hA,this));if(this.F.A){if(this.A.Yy){e=vL(this.A);for(var f in this.F.o)this.F.o[f].index.B=e}this.Sa=new Zoa(this.A,this.o.A.index)}Qqa(this,this.B);Qqa(this,this.o);this.o.C.Y=this.B.C;this.U("videoformatchange",b);this.W=this.o.G;this.H&&iqa(this.H,this.o.A);this.A.B&&tL()&&this.Oc("streaming",
"ac."+(this.A.Ej&&!!window.AbortController),!0);this.D=this.F.A?0:a;c?(this.A.Pd?(this.Pb=c,this.K=!0,this.aa=c):(this.K=!0,this.aa=!1),g.Av(this.ya)):(a=0==this.D,ZS(this,this.o,this.o.A,a),ZS(this,this.B,this.B.A,a),this.seek(this.D),this.ia.Aa())};
g.h.resume=function(){if(this.K||this.ba)this.aa=this.ba=this.K=!1,this.jg()};
g.h.setAudioTrack=function(a){if(!this.la()){var b=this.G;b.C=b.F.o[a.id];b.L=b.C;this.U("audioformatchange",new wR(b.L,b.D,"m"));this.U("reattachrequired")}};
g.h.setPlaybackRate=function(a){a!=this.J.getPlaybackRate()&&this.J.setPlaybackRate(a)};
g.h.sT=function(a){var b=this.A.lf;if(!(!(b&&2<=a.state)||5<=a.state||a.H<b||RK(a.info.A,this.A,this.ka))){b=this.ka;var c=HK(QK(a.info.A));b=rK(b,c);b.o||b.A||b.C||Hqa(this,a,!0)}if(!this.la()&&3<=a.state){b=this.ia;var d=a.info.o[0].o;c=!b.B&&d.info.video;d=!b.o&&d.info.audio;5==a.state?c?b.pd("vrr"):d&&b.pd("arr"):6==a.state?c?(b.B=a.Wa(),$H(4)):d&&(b.o=a.Wa()):4==a.state&&c&&$H(4);5<=a.state&&(this.A.ka&&(b=fpa(a.timing),c=a.timing,b={rn:a.G.toString(),rt:b.rt,pt:b.pt,stall:b.stall,elt:b.elbowTime,
elb:b.elbowBytes,rqd:c.H?c.H.join(""):""},c=b.rqd,delete b.rqd,c&&this.Oc("rqd",uM({rn:b.rn,d:c})),this.Oc("rqs",uM(b))),a.ba&&this.Oc("sbwe3","1",!0));if(5==a.state)a.start(Math.max(0,a.info.o[0].G-this.D));else if(5<=a.state&&5==a.info.o[0].type)6==a.state&&(b=(a.info.o[0].o.info.video?this.o:this.B).B[0]||null)&&b.H&&spa(b,!0),a.dispose();else{if(this.A.Ia&&a.K&&4<=a.state&&5!=a.state)if(b=a.o?a.o.Xd("X-Response-Itag"):null){b=eqa(this.G,b);c=a.info.range.length-b.Fp();b.F=!0;a.info.o[0].o.F=!1;
d=b.Zj(c)[0];a.info=d;if(a.A){c=a.A;d=d.o;c.A=d;for(var e=0;e<c.o.length;e++)c.o[e].info=d[e],c.o[e].range=d[e].range}a.K=!1;c=this.o;c.A!=b&&(c.A=b);c=this.o;c.o&&(c.o.o=b);this.U("constraint",b.info.Aa().quality);(c=a.o?a.o.Xd("X-Segment-Lmt"):null)&&b instanceof g.LL&&(isNaN(b.lastModified)||b.lastModified==c||Qpa(this.o,a))}else a.K=!1;6==a.state||this.A.B&&3<=a.state&&!(5<=a.state)?Gqa(this,a):7==a.state&&(b=a.info.o[0].o,rpa(a)?(c=(b.info.video&&1<b.C.o||410==a.F||500==a.F||503==a.F)&&!GS(this.G),
d=VR(a),e=b.info.video?this.o:this.B,c&&(d.stun="1"),XS(this,!1,a.Fb(),d),this.la()||(c&&FS(this.G,b),this.A.vg&&1==a.info.o.length&&0<a.info.o[0].C&&b!=e.A&&this.ba?this.U("reattachrequired"):(Qpa(e,a),this.jg()))):(XS(this,!1,a.Fb(),VR(a)),XK(a.info)?(b.D=a.Fb(),this.jg()):XS(this,!0,"net.retryexhausted",{})));this.jg();this.A.Oa&&5<=a.state&&rpa(a)&&RK(a.info.A,this.A,this.ka)&&(b=this.ka,c=HK(a.info.A.A),b=rK(b,c),c=b.C+=b.B,c=this.A.Oa*Math.pow(1.6,c),b.o||b.D+c>g.PH()||Hqa(this,a,!1))}}};
g.h.jg=function(){SS(this);if(this.C&&HM(this.C)&&!this.C.Ce()){var a=this.A.rr&&this.o.D&&this.o.D.H;this.F.isLive&&!a?isNaN(this.L)?(this.L=this.D+3600,IM(this.C,this.L)):this.L<=this.D+1800&&(this.L=Math.max(this.L+1800,this.D+3600),IM(this.C,this.L)):this.C.isView()||(a=Math.max(this.B.getDuration(),this.o.getDuration()),(!isFinite(this.L)||this.L!=a)&&0<a&&(IM(this.C,a),this.L=a))}if(!this.la())if(fM(this.F)&&3==this.F.F)XS(this,!0,"manifest.net.retryexhausted",{rc:this.F.M.toString()});else if(this.F.C&&
(Tpa(this.o)||Tpa(this.B)))QS(this),this.U("seekplayerrequired",Infinity),nS(this.o,{s:"oos"}),nS(this.B,{s:"oos"});else if(SS(this),Lpa(this.o),!this.la()&&(Lpa(this.B),!this.la())){this.F.A&&(Upa(this.o),Upa(this.B),Kqa(this),nS(this.o,{s:"sqless"}),nS(this.B,{s:"sqless"}),(a=dS(this.o.C))&&a.o&&(a=a.o.D&&!this.A.W,this.Oc(a==this.A.o?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.A.o?"1":"0")+";dfs."+(this.A.W?"1":"0"),!0)));if(this.C){a=this.C.o;var b=this.C.A;this.B.A.J&&Rqa(a,this.B.A.J);
if(Lqa(this)){if(this.A.Il){if(!a.Gi()){var c=dS(this.B.C);c&&YS(this,a,c)}b.Gi()||(a=dS(this.o.C))&&YS(this,b,a)}}else{if(this.H){c=this.H;var d=this.B,e=zM(this.C.A.tc());if(c.D)c=lqa(c,e);else{if(e=dS(d.C)){var f=e.o;f&&f.D&&f.C&&(d=d.B.length?d.B[0]:null)&&3<=d.state&&7!=d.state&&0==d.info.C&&bS(d)&&(c.D=d,c.J=f,c.C=e.info,c.F=(0,g.J)()/1E3,c.H=c.F,c.G=c.C.startTime)}c=NaN}c&&this.U("seekplayerrequired",c,!0)}if(c=Oqa(this,this.o,b,null))d=this.ia,d.C||(d.C=(0,g.J)(),d.pd("vda"),vP("vda"),d.A&&
$H(4));d=dS(this.o.C);this.A.ma&&!c&&d&&(this.dc||this.Oc("sbp",this.C.A.Eb({ns:$J(d.info)})),this.dc=!0);if(!JM(this.C)){b=yM(b.tc(),this.D+VS);if(!isNaN(b)||pS(this.o)||!a.tc().length||this.A.ba){if(pS(this.o)||this.A.ba)b=NaN;if(a=Oqa(this,this.B,a,b))b=this.ia,b.A||(b.A=(0,g.J)(),b.pd("ada"),vP("ada"),b.C&&$H(4));c=c||a}this.la()||(!this.A.zg&&!this.C.isView()&&pS(this.o)&&pS(this.B)&&HM(this.C)&&!this.C.Ce()&&(a=this.C,HM(a)&&a.C.endOfStream(),a=this.P,oN(IN(a)),a.D=g.PH()),c&&!LM(this.C)&&g.Av(this.ea))}}}PS(this);
ZS(this,this.o,this.o.A,!1);ZS(this,this.B,this.B.A,!1);a=this.B.A.D;b=this.o.A.D;if(a||b){c="net.retryexhausted";if("fmt.unparseable"==a||"fmt.unparseable"==b)c="fmt.unparseable";XS(this,!0,c,{metadata:"1",video:this.o.A.D||"",audio:this.B.A.D||""})}else Dqa(this,this.o,this.B),Dqa(this,this.B,this.o),this.A.dz&&this.ua&&!this.K&&JN(this.P)&&(a=this.ua,b=(0,g.B)(this.U,this,"error"),c=this.A.uz?(0,g.B)(this.Oc,this,"pathprobe"):null,(new IS(a,"cms",c,b)).send(),this.ua=""),this.A.Ho&&this.F.C&&g.Av(this.ya),
this.H&&(a=this.H,a.D?(b=a.H+a.o.Dj,a.B||(b=Math.min(b,a.F+a.o.dc)),a=Math.max(0,1E3*b-(0,g.J)())):a=NaN,isNaN(a)||g.Av(this.Qb,a)),g.Av(this.Ra)}};
g.h.eO=function(a){this.A.ma&&this.C&&this.Oc("sbu",a.Eb({a:""+ +(a==this.C.o)}));this.jg()};
g.h.rQ=function(a){if(this.C){var b=a==this.C.o?this.B:this.o;a=b&&b.D;var c=b&&b.P;b=void 0;a&&(b=ZJ(a));if(c){b=b||{};a=ZJ(c);for(var d in a)b["prev_"+d]=a[d]}XS(this,!0,"fmt.unplayable",b)}};
g.h.cS=function(a){XS(this,!0,"fmt.unparseable",a)};
g.h.iS=function(a,b,c){this.A.Ry||(!b&&a&&(b=a.info.o[a.info.o.length-1]),b=b?ZJ(b):{},b.rn=""+(a?a.G:NaN),b.warning=c,this.Oc("msw",uM(b)))};
g.h.dS=function(a){this.B.A.J=a;this.C&&Rqa(this.C.o,a)};
g.h.hS=function(a){XS(this,!1,"qoe.avsync",a)};
g.h.eS=function(a,b){this.F.A&&Pqa(this,b,a==this.o)};
g.h.fS=function(a,b){this.F.A&&jM(this.F,b.Wb,a==this.o)};
g.h.gS=function(a,b){this.F.A&&Pqa(this,b,a==this.o)};
g.h.bS=function(a,b){if(this.o&&this.o.A.index.Nb()<=b){a.o+=isNaN(this.Y)?0:this.Y;var c=this.F;c.L.push(a);c.U("cuepointsadded")}};
g.h.seek=function(a){if(this.la())return Og();if(this.o.G||this.B.G)return Ng();SS(this);this.Ma=g.PH();PS(this,a);var b=this.o.o,c=Sqa(this.o,a,this.C&&this.C.A),d=Sqa(this.B,this.A.Ma?a:c,this.C&&this.C.o);this.D=Math.max(a,c,d);this.M=!0;this.F.A&&this.A.ea&&(c=this.o.o.A,yL(this.o.A.index,c)||b&&b.A==c||(this.W=!0));this.C&&this.C.o&&this.C.A&&(this.C.o.isLocked()||this.C.A.isLocked())&&this.U("reattachrequired");g.Av(this.ea);return Ng(a)};
g.h.getCurrentTime=function(){return this.D};
g.h.V=function(){RS(this);this.B&&sS(this.B);this.o&&sS(this.o);g.vH.prototype.V.call(this)};
g.h.Eb=function(){var a={lct:this.D.toFixed(3),lsk:this.M,lmf:HS(this.G),lbw:GN(this.P).toFixed(3),lhd:EN(this.P).toFixed(3),lst:(1E9*(this.P.B.o()||0)).toFixed(3),laa:this.B&&this.B.D?$J(this.B.D):"",lva:this.o&&this.o.D?$J(this.o.D):"",lar:this.B&&this.B.o?$J(this.B.o):"",lvr:this.o&&this.o.o?$J(this.o.o):"",lvh:this.Oa};this.C&&!JM(this.C)&&this.C.o&&this.C.A&&(a.lab=wM(this.C.o.tc()),a.lvb=wM(this.C.A.tc()));return a};
g.h.Oc=function(a,b,c){this.U("ctmp",a,b,void 0===c?!1:c)};
g.h.hA=function(a,b){var c=a/b;isNaN(this.Y)&&(this.Y=c-Math.min(c,this.A.Nd),this.U("timestamp",this.Y));return(c-this.Y)*b};
var VS=2/24;g.t($S,g.vH);g.t(bT,$S);bT.prototype.F=function(a,b){if(a&&b){var c=1*Ch(a,"cpi")+1;isNaN(c)||0>=c||c<this.C?(this.B.stop(),this.A.stop(),this.C=-1,this.o={}):(c>this.C&&(this.C=c,g.cc(this.o)||(this.o={},this.B.stop(),this.A.stop())),this.o[b]=a,g.Av(this.A))}};
bT.prototype.D=function(){for(var a in this.o)this.U("rotated_need_key_info_ready",new aT(Xqa(this.o[a],this.C,a),"fairplay",!0));this.o={}};var e2={},hAa=(e2.DRM_TRACK_TYPE_AUDIO="AUDIO",e2.DRM_TRACK_TYPE_SD="SD",e2.DRM_TRACK_TYPE_HD="HD",e2.DRM_TRACK_TYPE_UHD1="UHD1",e2);g.t(cT,g.L);cT.prototype.D=function(a){this.la()||(0!=a.status&&a.response?((0,g.JP)("drm_net_r"),a=new Uint8Array(a.response),(a=$qa(a))?this.C(a):this.o(this,"drm.net","t.p")):this.B(a))};
cT.prototype.B=function(a){this.la()||this.o(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)};
cT.prototype.G=function(a){if(!this.la()){(0,g.JP)("drm_net_r");var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;try{c=g.Pe(a.license)}catch(m){}if(0!=b||c){c=new Yqa(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.r(a.authorizedFormats),k=f.next();!k.done;k=f.next()){k=k.value;var l=hAa[k.trackType];l&&("HD"==l&&a.isHd720&&(l="HD720"),b[l]||(d.push(l),b[l]=!0),e[k.keyId]=l)}c.o=d;c.A=e}a=c}else a=null;a?this.C(a):this.o(this,"drm.net","t.p;p.i")}};
cT.prototype.F=function(a){this.la()||(a=a.error,this.o(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.t(dT,g.L);g.h=dT.prototype;g.h.nO=function(a){if(this.D){var b=a.messageType||"license-request";this.D.call(this.C,new Uint8Array(a.message),b)}};
g.h.oO=function(){this.H&&this.H.call(this.C,this.o.keyStatuses)};
g.h.oE=function(a,b){g.hF(b);if(this.B){var c=a;b instanceof DOMException&&(c+=";n."+b.name+";m."+b.message);this.B.call(this.C,c)}};
g.h.mO=function(){this.la()||iG("xboxone")&&this.B&&this.B.call(this.C,"closed")};
g.h.QE=function(a){this.D&&this.D.call(this.C,a.message,"license-request")};
g.h.PE=function(a){if(this.B){if(this.A){var b=this.A.error.code;a=this.A.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.B.call(this.C,"t.prefixedKeyError;c."+b+";sc."+a)}};
g.h.OE=function(){this.G&&this.G.call(this.C)};
g.h.update=function(a){if(this.o)return this.o.update(a).then(null,iF((0,g.B)(this.oE,this,"t.update")));this.A?this.A.update(a):this.F.addKey?this.F.addKey(this.K.o,a,this.J,this.sessionId):this.F.webkitAddKey(this.K.o,a,this.J,this.sessionId);return HG()};
g.h.V=function(){this.o&&this.o.close();this.F=null;g.L.prototype.V.call(this)};g.t(eT,g.L);g.h=eT.prototype;
g.h.createSession=function(a){var b=a.initData;if(this.o.A){var c=this.D.createSession();"com.youtube.fairplay"==this.o.o&&(b=dra(this,b));b=c.generateRequest(a.contentType,b);c=new dT(null,null,null,c,null);b.then(null,iF((0,g.B)(c.oE,c,"t.generateRequest")));return c}if(FO(this.o)){c=new Uint8Array(270);for(a=0;135>a;a++)c[2*a]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(a);b=this.C.createSession("video/mp4",
b,c);return new dT(null,null,null,null,b)}if(IO(this.o))return b=dra(this,b),b=this.C.createSession("video/mp4",b),new dT(null,null,null,null,b);this.A.generateKeyRequest?this.A.generateKeyRequest(this.o.o,b):this.A.webkitGenerateKeyRequest(this.o.o,b);return this.B=new dT(this.A,this.o,b,null,null)};
g.h.rO=function(a){var b=fT(this,a);b&&b.QE(a)};
g.h.qO=function(a){var b=fT(this,a);b&&b.PE(a)};
g.h.pO=function(a){var b=fT(this,a);b&&b.OE(a)};
g.h.V=function(){g.L.prototype.V.call(this);delete this.A};var f2={},jra=(f2.widevine="DRM_SYSTEM_WIDEVINE",f2.fairplay="DRM_SYSTEM_FAIRPLAY",f2.playready="DRM_SYSTEM_PLAYREADY",f2);g.t(hT,g.L);g.h=hT.prototype;
g.h.kO=function(a,b){if(!this.la()){if(!this.C.experiments.o("html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":ira(this,a);return;default:this.B.U("ctmp","message_type","t."+b+";l."+a.byteLength)}this.M||((0,g.JP)("drm_gk_f"),this.M=!0,this.B.U("newsession",this));if(GO(this.A)){var c=hra(a);if(!c)return;a=c}if("fairplay"==this.A.flavor){c=g.Me(a);for(var d=new Uint8Array(c.length),e=0;e<c.length;e++)d[e]=
c.charCodeAt(e);a=d}c=new cT(a,++this.P,(0,g.B)(this.OR,this),(0,g.B)(this.NR,this));g.M(this,c);kra(this,c)}};
g.h.iO=function(){this.la()||this.J||(this.B.U("sessionready"),this.J=!0)};
g.h.lO=function(a){var b=this;this.la()||(a.forEach(function(c,d){var e=GO(b.A)?d:c,f=new Uint8Array(GO(b.A)?c:d);GO(b.A)&&ora(f);var k=FR(f);ora(f);f=FR(f);b.o[k]?b.o[k].status=e:b.o[f]?b.o[f].status=e:b.o[k]={type:"",status:e}}),this.B.U("keystatuseschange",this))};
g.h.jO=function(a){this.la()||gT(this,"drm.keyerror",!0,a)};
g.h.OR=function(a){if(!this.la())if(0!=a.statusCode)gT(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0);else{(0,g.JP)("drm_kr_s");a.heartbeatParams&&this.B.U("newlicense",a.heartbeatParams);if(a.o&&(this.G=a.o,!iT(this)))if(HO(this.A)){var b=mra(this.G);480<g.dL[b]&&this.B.U("hdentitled",this)}else this.B.U("keystatuseschange",this);a.A&&(this.o=g.Pb(a.A,function(c){return{type:c,status:"unknown"}}));
IO(this.A)&&(a.message=g.Pe(gJ(a.message)));this.D&&this.D.update(a.message).then(function(){(0,g.JP)("drm_kr_f")});
this.J&&(this.W=g.PH());"fairplay"==this.A.flavor&&this.B.U("fairplay_next_need_key_info",this.L,a.C)}};
g.h.NR=function(a,b,c){if(!this.la()){var d=!1;if(3<=a.A.A||this.Y&&36E4<g.PH()-this.W)d=!0,b="drm.net.retryexhausted";gT(this,b,d,c);(this.Y&&this.J?0:!d&&this.P==a.number)&&lra(this,a)}};
g.h.V=function(){g.L.prototype.V.call(this)};
g.h.Eb=function(){var a={requestedKeyIds:this.ga,cryptoPeriodIndex:this.cryptoPeriodIndex};this.D&&(a.keyStatuses=this.o);return a};
g.h.Qf=function(){var a=this.G.join();if(iT(this)){var b=[],c;for(c in this.o)"usable"!=this.o[c].status&&b.push(this.o[c].type);a+="/UKS:"+b}return a+="/"+this.cryptoPeriodIndex};kT.prototype.get=function(a){a=this.qm(a);return-1!=a?this.values[a]:null};
kT.prototype.remove=function(a){a=this.qm(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
kT.prototype.set=function(a,b){var c=this.qm(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
kT.prototype.qm=function(a){return g.Va(this.keys,function(b){return g.tb(a,b)})};g.t(lT,$S);lT.prototype.D=function(a){var b=(0,g.J)(),c;if(!(c=this.B)){a:{c=a.cryptoPeriodIndex;if(!isNaN(c))for(var d=g.r(this.C.values),e=d.next();!e.done;e=d.next())if(1>=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}c=!1}c=!c}c?c=0:(c=a.o,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.o.push({time:b+c,info:a});g.Av(this.A,c)};g.t(mT,g.vH);g.h=mT.prototype;g.h.sa=function(){return this.J};
g.h.oR=function(a){ura(this,new Uint8Array(a.initData),a.initDataType)};
g.h.uS=function(a){ura(this,a.initData,a.contentType)};
g.h.aS=function(){var a=this;if(!this.la())if(this.B.experiments.o("html5_drm_set_server_cert")){var b=cra(this.K);b?b.then(iF(function(c){a.U("ctmp","setServerCertificate",c)}),iF(function(c){a.U("ctmp","setServerCertificateError","n."+c.name+";m."+c.message)})).then(iF(function(){return pT(a)})):pT(this)}else pT(this)};
g.h.vQ=function(a){if(!this.la()){g.hF(a);var b="t.a";a instanceof DOMException&&(b+=";n."+a.name+";m."+a.message);this.U("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.cA=function(a){this.C.push(a);nT(this)};
g.h.wS=function(a){this.la()||!a||this.ga||(this.ga=a,this.U("heartbeatparams",a))};
g.h.xS=function(){this.la()||(this.C.shift(),this.L=!1,nT(this))};
g.h.GT=function(){if(FO(this.o)&&(this.ea--,0==this.ea)){var a=this.F;a.A.msSetMediaKeys(a.C)}};
g.h.sO=function(a){this.la()||xra(this,nra(a,this.Y))};
g.h.DR=function(){this.la()||this.P||!HO(this.o)||(this.M=Vza,this.U("hdproberequired"),this.U("qualitychange"))};
g.h.V=function(){this.o.A&&this.J.setMediaKeys(null);this.J=null;this.C=[];for(var a=g.r(this.A.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.A;a.keys=[];a.values=[];this.aa&&(this.aa.dispose(),this.aa=null);g.vH.prototype.V.call(this)};
g.h.Eb=function(){for(var a={systemInfo:this.o.Eb(),sessions:[]},b=g.r(this.A.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.Eb());return a};
g.h.Qf=function(){return 0>=this.A.values.length?"no session":this.A.values[0].Qf()+(this.G?"/KR":"")};g.t(qT,g.vH);qT.prototype.setPlaybackRate=function(a){this.F=a};
qT.prototype.na=function(a){return this.o.experiments.o(a)};sT.prototype.add=function(a){this.o=(this.o+1)%this.A.length;this.A[this.o]=a};
sT.prototype.clear=function(){for(var a=this.A.length,b=0;b<a;b++)this.A[b]=0;this.C=this.o=this.A.length-1};g.t(Nra,g.vH);g.t(yT,g.vH);g.h=yT.prototype;g.h.getCurrentTime=function(){return!isNaN(this.C)&&isFinite(this.C)?this.C:this.A&&xT(this)?this.A.getCurrentTime()+this.D:this.H||0};
g.h.isAtLiveHead=function(a){if(!this.B)return!1;void 0==a&&(a=this.getCurrentTime());return wT(this.B,a)};
g.h.seekTo=function(a,b,c,d,e){b=void 0===b?!0:b;c=void 0===c?!1:c;d=void 0===d?0:d;e=void 0===e?!1:e;var f=a,k=!isFinite(f)||f>=this.Tc();this.B&&(k=wT(this.B,f));(k=!(this.na("html5_disable_liveonly_seeks")&&!k&&g.TP(this.o)))||this.U("ctmp","seeknotallowed",f+";"+this.Tc());if(!k)return this.G&&(this.G=null,Wra(this)),Ng(this.getCurrentTime());if(a==this.C&&this.M)return this.J;this.M&&zT(this);this.J||(this.J=new NS);a&&!isFinite(a)&&CT(this,!1);f=a;FT(this)&&!(this.A&&0<this.A.De()&&0<zQ(this.A))||
!isFinite(f)&&FP(this.o)||(a=Xra(this,a,c));a&&!isFinite(a)&&CT(this,!1);this.na("html5_seek_resumetime_killswitch")||(this.H=a);this.aa=e;this.C=a;this.B&&(c=this.B,e=a,Pra(c,e,!1),Qra(c,e));this.U("seekto",a,b);if(this.J||this.na("html5_seek_removed_el_killswitch"))b?(this.M=!0,Sra(this)):d&&this.Y.start(d);return this.J};
g.h.Tc=function(a){if(!this.o.Da)return this.o.Tc();if(this.o&&this.o.Ea&&this.o.Ea.o){if(!a&&this.B)return vT(this.B);a=this.o.Tc();this.ka.C&&this.A&&(a=Math.max(a,noa(this.A)));return a+this.D}this.A?lG()?(a=this.A.Cq().getTime(),a=isNaN(a)?0:Math.max(((0,g.J)()-a)/1E3-30,0)):a=zQ(this.A)+this.D||this.D:a=this.D;return a};
g.h.gc=function(){return this.o?this.o.gc()+this.D:this.D};
g.h.V=function(){DT(this,null);g.vH.prototype.V.call(this)};
g.h.tV=function(){var a=this.getCurrentTime()+.1;this.L=Ng(a-this.D);this.seekTo(a,!0)};
g.h.sV=function(a,b){b=void 0===b?!1:b;this.seekTo(a+this.Vc(),!0,b)};
g.h.EV=function(a){this.D=a};
g.h.Vc=function(){return this.D};
g.h.QO=function(a){this.K&&(this.K.o=a.audio.index)};
g.h.na=function(a){return this.ia&&this.ia.experiments.o(a)};g.t(GT,g.vH);g.h=GT.prototype;g.h.getVisibilityState=function(a,b,c,d,e){return a?4:Zra()?3:b?2:c?1:d?5:e?7:0};
g.h.setMinimized=function(a){this.o!=a&&(this.o=a,this.Jk())};
g.h.setInline=function(a){this.D!=a&&(this.D=a,this.Jk())};
g.h.isFullscreen=function(){return 0!=this.C};
g.h.isInline=function(){return this.D};
g.h.isBackground=function(){return Zra()};
g.h.Jk=function(){this.U("visibilitychange");var a=this.getVisibilityState(this.A,this.isFullscreen(),this.o,this.isInline(),this.B);a!=this.G&&this.U("visibilitystatechange");this.G=a};
g.h.V=function(){bsa(this.F);g.vH.prototype.V.call(this)};g.t(IT,g.L);g.h=IT.prototype;g.h.start=function(){this.A.start()};
g.h.stop=function(){this.A.stop()};
g.h.Cb=function(a,b,c){this.C[a]=b;this.o[a]=new LT(!!c)};
g.h.clear=function(){for(var a in this.o)this.o[a].clear()};
g.h.pV=function(){for(var a in this.C)this.o[a].update(this.C[a]());this.A.start()};
LT.prototype.update=function(a){this.A?(this.buffer.add(a-this.o||0),this.o=a):this.buffer.add(a)};
LT.prototype.clear=function(){this.buffer.clear();this.o=0};var esa={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},fsa={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},gsa=/^(\d*)_((\d*)_?(\d*))$/;MT.prototype.isFinished=function(){return this.A};
MT.prototype.start=function(){this.o=!0};
MT.prototype.reset=function(){this.A=this.o=!1};g.t(OT,g.vH);g.h=OT.prototype;g.h.V=function(){window.clearInterval(this.Pb);bsa(this.Ra);this.M.unsubscribe("visibilitystatechange",this.Ra);RT(this);ST(this);PT(this);oU(this);this.G&&(this.G.dispose(),delete this.G);delete this.K;g.Of(this.o);this.Y=null;this.Oa=!1;g.vH.prototype.V.call(this)};
g.h.getVideoData=function(){return this.o};
g.h.Tt=function(){if(this.o.Jb())jsa(this);else if(this.o.li||this.o.yk){if(!this.ia||!$T(this))if(this.o.li)mna(this.o);else{if(this.B){var a=this.B.A;WQ(a,"protected");a.o.videoData.bf?a.xa():a.o.videoData.subscribe("dataloaded",a.xa,a)}a=this.o;a.Ig||a.oa&&SL(a.oa);var b={};a.oa&&(b=Lla(AP(a),a.ib.G,a.oa));b=new OO(b,a.ib.experiments,a.iG);g.M(a,b);a.yk=!1;a.cf=!0;a=(0,g.B)(a.ZM,a);b.F=a;b.B=[];Kla(b.C)?QO(b):Ula(b)}}else if(!this.o.cf&&this.dc){a=this.F;b=this.o;var c=this.jb.getPlayerSize(),
d=this.wg();this.M.isFullscreen();var e=window.location.search;if(38==b.ff&&"books"==a.playerStyle)a=b.videoId.indexOf(":"),a=g.zh("//play.google.com/books/volumes/"+b.videoId.slice(0,a)+"/content/media",{aid:b.videoId.slice(a+1),sig:b.ZP});else if(30==b.ff&&"docs"==a.playerStyle)a=g.zh("https://docs.google.com/get_video_info",{docid:b.videoId,authuser:b.Sc,authkey:b.authKey,eurl:a.ya});else if(33==b.ff&&"google-live"==a.playerStyle)a=g.zh("//google-liveplayer.appspot.com/get_video_info",{key:b.videoId});
else{var f={html5:"1",video_id:b.videoId,cpn:b.clientPlaybackNonce,eurl:a.ya,ps:a.playerStyle,el:VP(b),hl:a.xa,list:b.playlistId,agcid:b.Ij,aqi:b.adQueryId,sts:17989,lact:eI()};g.Oa(f,a.deviceParams);a.vg&&(f.ecver=a.vg);a.yb&&(f.forced_experiments=a.yb);b.kf?(f.vvt=b.kf,b.mdxEnvironment&&(f.mdx_environment=b.mdxEnvironment)):ZP(b)&&(f.access_token=ZP(b));b.zx&&(f.ut=b.zx);b.adFormat&&(f.adformat=b.adFormat);0<=b.slotPosition&&(f.slot_pos=b.slotPosition);b.breakType&&(f.break_type=b.breakType);null!=
b.Hj&&(f.ad_id=b.Hj);null!=b.Jj&&(f.ad_sys=b.Jj);null!=b.dB&&(f.encoded_ad_playback_context=b.dB);b.ql&&(f.tpra="1");a.mh&&(f.cc_lang_pref=a.mh);a.nh&&2!=a.nh&&(f.cc_load_policy=a.nh);a.mute&&(f.mute=a.mute);b.kh&&2!=a.kh&&(f.iv_load_policy=b.kh);b.rk&&(f.itct=b.rk);YP(b)&&(f.autoplay="1");b.tk&&(f.autonav="1");b.Iv&&(f.noiba="1");b.isMdxPlayback&&(f.mdx="1",f.ytr=b.Ef);b.mdxControlMode&&(f.mdx_control_mode=b.mdxControlMode);b.gp&&(f.ytrcc=b.gp);b.Ov&&(f.utpsa="1");b.AC&&(f.is_fling="1");b.Hv&&(f.mute=
"1");b.vnd&&(f.vnd=b.vnd);b.pu&&(f.force_ad_param_ad_type="video_ad",f.force_ad_param_url=b.pu,f.force_ad_param_break_type="1",f.force_ad_param_offset_value=0);c.width&&(f.width=c.width);c.height&&(f.height=c.height);b.Ih&&(f.splay="1");b.Dl&&(f.ypc_preview="1");WP(b)&&(f.content_v=WP(b));b.Wm&&(f.livemonitor=1);a.Sc&&(f.authuser=a.Sc);a.pageId&&(f.pageid=a.pageId);a.Ma&&(f.ei=a.Ma);a.o&&(f.iframe="1");b.contentCheckOk&&(f.cco="1");b.racyCheckOk&&(f.rco="1");a.Ob&&b.Sv&&(f.live_start_walltime=b.Sv);
a.Ob&&b.Zm&&(f.live_manifest_duration=b.Zm);a.Ob&&b.playerParams&&(f.player_params=b.playerParams);a.Ob&&b.cycToken&&(f.cyc=b.cycToken);a.Ob&&b.yG&&(f.tkn=b.yG);0!=d&&(f.vis=d);a.enableSafetyMode&&(f.enable_safety_mode="1");b.iq&&(f.kpt=b.iq);b.jq&&(f.kids_age_up_mode=b.jq);b.hs&&(f.upg_content_filter_mode="1");a.widgetReferrer&&(f.widget_referrer=a.widgetReferrer.substring(0,128));(c=a.Go)&&(f.embedding_app=c);(c=g.nna(b))&&(f.uloc=c);b.Tm&&(f.internalipoverride=b.Tm);a.Ob&&b.uh&&(f.wpid=b.uh);a.zg&&
(f.embed_config=a.zg);a.Br&&(f.co_rel="1");0<a.uc.length&&(f.ancestor_origins=Array.from(a.uc).join(","));void 0!=a.homeGroupInfo?f.home_group_info=a.homeGroupInfo:void 0!=b.homeGroupInfo&&(f.home_group_info=b.homeGroupInfo);void 0!=a.livingRoomAppMode&&(f.living_room_app_mode=a.livingRoomAppMode);a.enablePrivacyFilter&&(f.enable_privacy_filter="1");for(var k in f)"home_group_info"!==k&&f[k]&&512<f[k].length&&(g.hF(Error("GVI param too long: "+k)),f[k]="");b=g.zh(a.D+"get_video_info",f);!a.experiments.o("web_player_gvi_sticky_params_killswitch")&&
e&&(b=$F(b,e));a=b}b=2;this.o.isAd()&&(b=0);e=this.o;f=this.F.za;k=this.F.hc;e.la()||(e.NB=a,e.yx=b,e.dl=f,e.BC=k,e.FF=!e.na("disable_gvi_cors"),e.Fu=e.ib.experiments.A("html5_get_video_info_timeout_ms")||0,e.OB=e.na("html5_get_video_info_promiseajax"),e.cf=!0,e.RF())}};
g.h.LS=function(a){var b=this;this.la()||a.videoData.la()||(this.K=a,Tra(this.G,this.K),!this.o.Da||0<this.o.Eh&&!FP(this.o)||(this.seekTo(xU(this),!0),hU(this,"playbackData")),this.o.Ea.o&&(this.D?g.jF(Error("Duplicated Loader")):g.wU(this)),uU(this),this.na("html5_nonblocking_media_capabilities")&&Dra(a).then(function(){vU(b);Jra(b.W,b.K)}))};
g.h.MS=function(a){this.la()||(a instanceof tM?this.M.isBackground()?(GU(this,"vp_none_avail"),this.ua=null,this.ba.reset()):(this.ba.A=!0,g.VT(this,a.errorCode,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",uM(a.details))):g.hF(a))};
g.h.sendAbandonmentPing=function(){g.X(this.getPlayerState(),128)||(this.U("internalAbandon"),RT(this),PT(this))};
g.h.logEvent=function(a,b){if(this.B){var c=this.B,d={};d.rt=g.xQ(c.o).toFixed(3);g.Oa(d,eoa(c.o));var e=c.o.o,f=c.o.videoData;e={ns:e.aa,html5:"1",el:VP(f),ps:e.playerStyle,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.rx||f.Vk||void 0,ctrl:f.Df||void 0,ytr:f.Ef||void 0,list:f.playlistId};YP(f)&&(e.autoplay="1");f.subscribed&&(e.subscribed=f.subscribed);g.Oa(d,e);delete d.fexp;g.Oa(d,a);d=g.NF(c.o.o.D+"player_204",d);eR(c,d,b)}};
g.h.getPlayerState=function(){return this.C};
g.h.getPlayerType=function(){return this.Xa};
g.h.getPreferredQuality=function(){if(this.K){var a=this.W;var b=this.K,c=kN(b.videoData.ls,b.videoData.It);"auto"!=pN()||(c=kN(c,Ira(a,b)));a=lN(c)}else a="auto";return a};
g.h.playVideo=function(){var a=this,b,c,d;return xa(function(e){if(1==e.o){if(g.X(a.C,128))return e["return"]();if(a.td)return a.td=!1,BU(a),e["return"]();fU(a);g.X(a.C,64)&&UT(a,IQ(a.C,8));a.ga.isFinished()&&a.A?a.na("html5_playVideo_async_killswitch")||a.K||!a.ua?(e.o=2,e=void 0):e=ua(e,a.ua,2):e=e["return"]();return e}if(!a.o.Ea)return b=a.o.Da&&!g.aN(a.F.G)?"html5.unsupportedlive":a.o.ad?"fmt.unplayable":"fmt.noneavailable",g.jF(Error("selectableFormats")),g.VT(a,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
"selectableFormats.1"),e["return"]();if(a.M.A&&a.o.Ea.o)return cU(a),e["return"]();if(a.o.Da){c=a.getCurrentTime()<a.gc()-15;d=g.TP(a.o)&&g.X(a.C,4);if(c||d)d?(a.seekTo(Infinity,!0),hU(a,"unpauseLiveOnly")):(a.seekTo(a.gc(),!0),hU(a,"outOfWindow"));!a.isAtLiveHead(void 0,!0)&&ET(a.G)&&(a.seekTo(Infinity,!0),hU(a,"peggedToLive"));var f;if(f=g.X(a.C,256)&&a.o.Oe)f=a.G,f=f.M&&!isFinite(f.C);if(f)return UT(a,KQ(a.C,8,4)),e["return"]()}if(dU(a))return a.F.qr?g.oF((0,g.B)(a.Zq,a),0):a.Zq(),e["return"]();
a.Zq();e.o=0})};
g.h.mV=function(){this.o.oa&&SL(this.o.oa)?CU(this):(qU(this),UT(this,IQ(this.C,16)),dU(this),MQ(this.C)&&this.playVideo())};
g.h.getUserPlaybackQualityPreference=function(){return this.o.Ea&&!this.o.Ea.o?lN(this.o.ls):pN()};
g.h.getAvailableAudioTracks=function(){return this.o.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){return this.o.getAudioTrack()};
g.h.CN=function(){this.F.experiments.A("html5_background_quality_cap")&&this.D&&vU(this);this.F.experiments.o("html5_cut_vss_on_visibility")&&this.B&&g.wQ(this.B.C);this.F.Ap&&!this.o.backgroundable&&this.A&&!this.M.A&&(this.M.isBackground()&&this.A.Bq()?(this.xb("bgmobile","suspend"),g.mU(this,!0)):this.M.isBackground()||dU(this)&&this.xb("bgmobile","resume"))};
g.h.vS=function(a,b){this.H?oT(this.H,new aT(b,a)):this.yb.push({type:a,info:b})};
g.h.IE=function(){g.bN&&this.ka&&this.ka.o&&this.H&&(wra(this.H,this.ka.o),this.ka=null)};
g.h.pU=function(a){this.o.TG=hN("auto",a,!1,"u");vU(this)};
g.h.AN=function(a){jU(this,a.reason,a.video.info,a.audio.info)};
g.h.UR=function(a){ksa(this,a.reason,a.audio.info)};
g.h.cn=function(a){ysa(this,a);if("html5.invalidstate"!=a.errorCode&&"fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!zU(this,a.errorCode,a.details)){var b=/^pp/.test(this.o.clientPlaybackNonce);if(vsa(a)){a.details.sts="17989";if(wsa(this)){g.X(this.C,4)||g.X(this.C,512)?(this.td=!0,ST(this)):(this.B&&(a.o&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.o=!1),this.B.onError(a.errorCode,uM(a.details))),BU(this));return}a:if(!(6048E5>g.PH()-this.F.Dj)){try{window.location.reload(!0);
break a}catch(c){}this.na("tvhtml5_retire_old_players")&&g.kO(this.F)&&zsa(this)}}if(xsa(a)&&this.o.Ea&&this.o.Ea.A){if(this.B)this.B.onError(a.errorCode,uM(a.details));this.xb("highrepfallback","1",!0);!this.na("html5_hr_logging")&&/^hr/.test(this.o.clientPlaybackNonce)&&btoa&&this.xb("afmts",btoa(this.o.adaptiveFormats));Mna(this.o);QT(this);ST(this);yU(this);this.playVideo()}else a.o?(b=this.D?this.D.G.B:null,b=xsa(a)&&b&&b.isLocked()?"FORMAT_UNAVALIABLE":void 0,g.VT(this,a.errorCode,b,uM(a.details))):
this.B&&(this.B.onError(a.errorCode,uM(a.details)),b&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.o.clientPlaybackNonce+"&t="+g.PH(),(new IS(a,"manifest",(0,g.B)(function(c){this.xb("pathprobe",c)},this),(0,g.B)(function(c){this.onError(c.errorCode,uM(c.details))},this.B))).send()))}};
g.h.pauseVideo=function(a){a=void 0===a?!1:a;if((g.X(this.C,64)||g.X(this.C,2))&&!a)if(g.X(this.C,8))UT(this,KQ(this.C,4,8));else return;if(this.A||this.F.experiments.o("html5_pause_video_fix"))g.X(this.C,128)||(a?UT(this,IQ(this.C,256)):UT(this,KQ(this.C,4,8))),this.A&&this.A.pause(),g.TP(this.o)&&this.D&&rU(this,!1)};
g.h.stopVideo=function(){this.pauseVideo();this.D&&(rU(this,!1),QS(this.D))};
g.h.seekTo=function(a,b,c,d,e){a=void 0===a?0:a;b=void 0===b?!1:b;d=void 0===d?!1:d;e=void 0===e?!1:e;g.X(this.C,2)&&dU(this);this.G.seekTo(a,b,d,c,e)};
g.h.getCurrentTime=function(){return this.G.getCurrentTime()};
g.h.getPlaylistSequenceForTime=function(a){return this.o.getPlaylistSequenceForTime(a-this.Vc())};
g.h.getDuration=function(){return this.o.lengthSeconds?this.o.lengthSeconds+this.Vc():xU(this)?xU(this):0};
g.h.RK=function(){var a=new wla;if(this.D){var b=this.F.schedule;a.C=b.J;a.D=b.K;a.bandwidthEstimate=HN(b);a.o="d."+EN(b).toFixed(2)+";st."+(1E9*(b.B.o()||0)).toFixed(2)+";bw."+b.o.o().toFixed(0)+";abw."+b.F.o().toFixed(0)+";v50."+BN(b.A,.5).toFixed(2)+";v92."+BN(b.A,.92).toFixed(2)+";v96."+BN(b.A,.96).toFixed(2)+";v98."+BN(b.A,.98).toFixed(2);b=this.D;if(b.C&&!JM(b.C)&&(a.A=pS(b.o)?b.o.D.F:AM(b.C.A.tc(),b.D),a.B=pS(b.B)?b.B.D.F:AM(b.C.o.tc(),b.D),b.A.ka)){var c=rS(b.o),d=rS(b.B),e=wM(b.C.A.tc(),
"_"),f=wM(b.C.o.tc(),"_");a.o=(a.o||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=xS(b.J)}else this.A&&(a.A=AQ(this.A));a.F=this.EB();return a};
g.h.Eb=function(a){var b={};if(void 0===a?0:a){this.B?g.Oa(b,this.B.Eb()):this.o&&(b.cpn=this.o.clientPlaybackNonce);this.A&&(g.Oa(b,this.A.Eb()),g.Oa(b,this.Eu()));this.D&&g.Oa(b,this.D.Eb());this.H&&(b.drm=this.H.Eb());b.state=this.C.o.toString(16);g.X(this.C,128)&&(b.debug_error=this.C.A);gU(this)&&(b.prerolls=this.P.join(","));this.o.ag&&(b.ismb=this.o.ag);"UNKNOWN"!=this.o.latencyClass&&(b.latency_class=this.o.latencyClass);this.o.isLowLatencyLiveStream&&(b.lowlatency="1");this.o.Da&&(this.o.oa&&
hM(this.o.oa)&&(b.segduration=hM(this.o.oa)),a=this.G,b.lat=a.K?Kra(a.K.B):0);b.relative_loudness=this.o.oj.toFixed(3);if(a=g.iU(this))b.optimal_format=a.Aa().qualityLabel;b.user_qual=pN()}b.debug_videoId=this.o.videoId;return b};
g.h.addCueRange=function(a){var b=this.L;a=[a];b.A();sqa(b.o,a);b.B=NaN;b.A()};
g.h.removeCueRange=function(a){this.L.removeCueRange(a)};
g.h.sU=function(){TT(this)};
g.h.rU=function(a){g.VT(this,"auth",unescape(a.reason),a.errordetail||"sec."+a.errorcode,a.subreason)};
g.h.togglePictureInPicture=function(){this.A&&this.A.togglePictureInPicture()};
g.h.BN=function(a){var b=a.target.Cd();if(this.A&&this.A.Cd()&&this.A.Cd()==b){Esa(this,a.type);switch(a.type){case "error":var c=CQ(this.A)||"";if("capability.changed"==c){cU(this);return}if(0<this.A.Fb()&&zU(this,c,{msg:this.A.gn()}))return;if(this.M.isBackground()&&4==this.A.Fb()){g.mU(this);GU(this,"unplayable");return}break;case "durationchange":c=this.A.getDuration();(!this.J||isFinite(c)&&0<c)&&1!=c&&this.o.lengthSeconds!=c&&(this.o.lengthSeconds=c,TT(this));break;case "ratechange":this.D&&
this.D.setPlaybackRate(this.A.getPlaybackRate());c=this.L;c.D=!0;c.A();if(this.B){c=this.getPlaybackRate();var d=this.B.A,e=g.xQ(d.o);c&&c!=d.ia&&(g.RQ(d,e,"rate",[c]),d.ia=c);d.D(e)}break;case "loadedmetadata":Fsa(this),this.U("onLoadedMetadata");case "loadstart":window.clearInterval(this.Pb);this.St()||(this.Pb=g.pF((0,g.B)(this.St,this),100));break;case "progress":case "suspend":DU(this);this.U("onLoadProgress",this,this.A?g.TP(this.o)?1:UP(this.o)?this.isAtLiveHead()||ET(this.G)?1:Yra(this.G):
BQ(this.A):0);break;case "playing":(0,g.JP)("plev",void 0,"");vP("plev");this.sd&&(this.sd=!1,this.isAtLiveHead()||(this.seekTo(Infinity,!0),hU(this,"onPlaying")));break;case "timeupdate":c=this.A&&!this.A.getCurrentTime();d=this.A&&0==this.A.De();if(c&&(!this.Ga||d))return;this.Ga=this.Ga||!!this.A.getCurrentTime();this.St();DU(this);if(!this.A||this.A.Cd()!=b)return;this.U("onVideoProgress",this,this.getCurrentTime());break;case "waiting":if(0<this.A.Bm().length&&0==this.A.rf().length&&0<this.A.getCurrentTime()&&
5>this.A.getCurrentTime()&&this.D)return;break;case "resize":Fsa(this);this.o.Ca&&"auto"==this.o.Ca.Aa().quality&&this.U("internalvideoformatchange",this.o,!1);break;case "pause":if(this.ce&&g.X(this.C,8)&&!g.X(this.C,1024)&&0==this.getCurrentTime()&&yO){GU(this,"safari_autoplay_disabled");return}}if(this.A&&this.A.Cd()==b){this.U("videoelementevent",a);b=this.C;if(!g.X(b,128)){c=this.za;var f=this.A;d=this.F.experiments;e=b.o;f=f?f:a.target;var k=f.getCurrentTime();if(!g.X(b,64)||"ended"!=a.type&&
"pause"!=a.type){var l=f.Vg()||1<k&&1.1>Math.abs(k-f.getDuration()),m="pause"==a.type&&f.Vg(),n="ended"==a.type;d&&d.o("html5_waiting_before_ended")&&(n=n||"waiting"==a.type||"timeupdate"==a.type&&!g.X(b,4)&&!EQ(c,k));if(m||l&&n)0<f.Gp()&&f.Cd()&&(e=14);else switch(a.type){case "error":CQ(f)&&(e|=128);break;case "pause":g.X(b,256)?(e^=256)||(e=64):g.X(b,32)||g.X(b,2)||g.X(b,4)||(e=4,g.X(b,1)&&g.X(b,8)&&(e|=1));break;case "playing":e=(e|8)&-3077;d&&d.o("html5_playing_clears_unstarted_killswitch")||
(e&=-65);EQ(c,f.getCurrentTime())&&(e&=-2);g.X(b,1)&&GQ(c,f)&&(e|=1);break;case "seeking":e|=16;d&&d.o("html5_seeking_buffering_only_playing")&&!g.X(b,8)||(e|=1);e&=-3;break;case "seeked":e&=-17;break;case "waiting":g.X(b,2)||(e|=1);GQ(c,f);break;case "timeupdate":k=g.X(b,8),l=g.X(b,16),m=g.X(b,4),(d&&d.o("html5_paused_timeupdate_killswitch2")?k&&!m||l:(k||l)&&!m)&&EQ(c,f.getCurrentTime())&&(e=8),GQ(c,f)&&(e|=1)}}c=e;d=null;if(c&128)if(k=a.target,d=CQ(k)){e="GENERIC_WITHOUT_LINK";f="mediaElem.1";
if(k=k.gn())f+=";msg."+k,/AUDIO_RENDERER/.test(k)&&(e="HTML5_AUDIO_RENDERER_ERROR");.001>Math.random()&&(f+=";gpu."+(0,g.aU)());d={errorCode:d,errorDetail:f,message:g.lU[e]||"",messageKey:e}}else d=null;b=HQ(b,c,d)}!g.X(this.C,1)&&g.X(b,1)&&IU(this,"evt_"+a.type);UT(this,b)}}};
g.h.kQ=function(a){a="available"==a.o.availability;a!=this.xc&&(this.xc=a,this.U("airplayavailabilitychange"))};
g.h.lQ=function(){var a=this,b=g.PH();if(this.na("html5_hlsvp_airplay_killswitch")||isNaN(this.Fc)||!(2E3>b-this.Fc)){var c=this.A.cj();this.Fc=b;c!=this.M.A&&(csa(this.M,c),this.na("html5_hlsvp_airplay_killswitch")&&!c||cU(this).then(function(){a.na("html5_airplay_update_resource_killswitch")||dU(a)}));
this.U("airplayactivechange")}};
g.h.St=function(){var a=this.A;a&&this.Ga&&!this.o.Oe&&!uP("vfp","")&&2<=a.De()&&!a.Vg()&&0<zM(a.rf())&&(0,g.JP)("vfp",void 0,"");return(a=this.A)&&!this.o.Oe&&0<a.getDuration()&&(!uP("pbp","")&&a.Qh()&&2<=a.De()&&0<zM(a.rf())&&(0,g.JP)("pbp",void 0,""),a=a.getCurrentTime(),EQ(this.za,a))?(Bsa(this),!0):!1};
g.h.yL=function(){if(this.A&&!g.X(this.C,128)){this.o.Hh&&this.F.experiments.A("html5_log_rebuffer_events")&&Esa(this,"pfx");var a=this.getCurrentTime();if(g.X(this.C,8)&&EQ(this.za,a))UT(this,JQ(this.C,1));else if(g.X(this.C,8)&&poa(this.za,a,g.PH(),AQ(this.A))){var b=this.getDuration();!this.o.Da&&b&&1.1>Math.abs(b-a)?this.A.yq()?this.seekTo(0,!0):NT(this):(g.NQ(this.C)||IU(this,"progress_fix"),UT(this,IQ(this.C,1)))}else g.X(this.C,4)&&g.NQ(this.C)&&5<AQ(this.A)&&UT(this,JQ(this.C,1));DU(this)}};
g.h.IK=function(){return this.D?xS(this.D.J):HN(this.F.schedule)};
g.h.PK=function(){return this.F.schedule.J};
g.h.EB=function(){return this.isAtLiveHead()&&this.C.sb()?this.HB():NaN};
g.h.HB=function(){if(!this.o.Da||!this.o.oa||!this.D)return NaN;var a=FP(this.o)?this.D.xa.o()||0:this.o.oa.H;return(0,g.J)()/1E3-EU(this)-a};
g.h.jL=function(){this.o.Da||this.U("connectionissue")};
g.h.Zq=function(){var a=this;if(this.Ia=this.A.playVideo()){var b=this.Ia;b.then(void 0,function(c){if(!(g.X(a.C,4)||g.X(a.C,256)||a.Ia!=b||!a.na("html5_ignore_mediaelement_playerror_killswitch")&&c&&"AbortError"==c.name&&c.message&&c.message.includes("load"))){var d="promise";!a.na("html5_log_dompause_err_killswitch")&&c&&c.name&&(d+=";m."+c.name);UT(a,IQ(a.C,2048));GU(a,d);a.ce=!0}})}};
g.h.KR=function(a,b,c,d){d=void 0===d?"LICENSE":d;c=c.substr(0,256);if("drm.keyerror"==a&&this.H&&1<this.H.A.keys.length&&96>this.lf)a="drm.sessionlimitexhausted",b=!1;else if(this.na("html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.vg&&(this.vg++,QT(this),1<this.o.Jn.length&&(this.o.bf=this.o.Jn[1]),zU(this,a,{detail:c})))return;if(b)g.VT(this,a,d,c);else if(this.B)this.B.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.lf++,this.A&&(this.J?(this.na("html5_reuse_loader_two")?
(QT(this),qU(this)):(QT(this),ST(this)),yU(this)):(this.o.Zd&&this.o.Zd.Cx(),this.A.stopVideo()),this.playVideo()))};
g.h.MR=function(){var a=this,b=this.F.experiments.A("html5_license_constraint_delay"),c=wG();b&&c?(b=new g.V(function(){uU(a);TT(a)},b),g.M(this,b),b.start()):(uU(this),TT(this))};
g.h.LR=function(){var a=this;g.bN&&(this.ka=pla(this.o.oa))&&(this.ka.o?g.Dg(function(){a.IE()}):Tqa(this.D,this.ka))};
g.h.yN=function(a){this.U("heartbeatparams",a)};
g.h.zN=function(a){this.xb("keystatuses",pra(a));if(this.na("html5_drm_output_restricted_killswitch")){var b=0;this.o.Ca&&(b=this.o.Ca.Aa().zc);var c=this.na("html5_drm_start_from_null_constraint"),d=c&&!(jT(a,"AUDIO")&&jT(a,"SD"));sra(a)&&(!c&&480<b||d)&&this.U("drmoutputrestricted")}else b="auto",this.o.Ca&&(b=this.o.Ca.Aa().quality),!sra(a,b)||this.na("html5_drm_start_from_null_constraint")&&jT(a,"AUDIO")&&jT(a,"SD")||this.U("drmoutputrestricted")};
g.h.RR=function(){if(!this.o.Oe&&this.A&&!this.M.isBackground()){var a="0";0<this.A.De()&&5<=AQ(this.A)&&this.o.Ea&&this.o.Ea.o&&(UT(this,IQ(this.C,1)),IU(this,"load_soft_timeout"),this.U("playbackstalledatstart"),a="1");this.B&&(FU(this),a={restartmsg:a},gU(this)&&(a.prerolls=this.P.join(",")),this.D&&g.Oa(a,this.D.Eb()),this.A&&g.Oa(a,this.A.Eb()),this.B.onError("qoe.start15s",uM(a)));this.U("loadsofttimeout")}};
g.h.Dx=function(){if(!this.Oa){var a=new aQ(this.o,this.na("web_player_inline_botguard"));if("c1a"in a.A&&!Pna(a))g.oF((0,g.B)(this.Dx,this),4500);else{if(a.o&&a.o.Lj){var b=[a.o.Lj];for(d in a.C)if(a.A[d]&&a.C[d]){var c=a.C[d](a.A);c&&b.push(c)}a=b.join("&")}else a=null;if(a&&this.B){b=this.B;if(!b.L){var d=dR(b,"atr");d.H=a;d.send();b.L=!0}this.Oa=!0}}}};
g.h.gc=function(){return this.G.gc()};
g.h.Vc=function(){return this.G?this.G.Vc():0};
g.h.setPlaybackRate=function(a){var b=this.o.Ea&&this.o.Ea.videoInfos&&32<this.o.Ea.videoInfos[0].Aa().fps&&g.kO(this.F);this.Sa!=a&&b&&(this.W.setPlaybackRate(a),tU(this));this.Sa=a;this.A&&this.A.setPlaybackRate(a)};
g.h.getPlaybackRate=function(){return this.Sa};
g.h.getPlaybackQuality=function(){var a="unknown";if(this.o.Ca&&(a=this.o.Ca.Aa().quality,"auto"==a&&this.A)){var b=XT(this);b&&0<b.videoHeight&&(a=cL(b.videoWidth,b.videoHeight))}return a};
g.h.sendVideoStatsEngageEvent=function(a,b){if(this.B){var c=dR(this.B,"engage");c.D=a;c.send(b)}else b&&b()};
g.h.isAtLiveHead=function(a,b){return this.o.Da&&(this.uc||(void 0===b?0:b))?this.G.isAtLiveHead(a):!1};
g.h.Eu=function(){return this.A?this.A.Dq():{}};
g.h.setLoop=function(a){this.Nd=a;this.A&&this.A.setLoop(a)};
g.h.kN=function(a){this.na("html5_unrewrite_timestamps")&&this.xb("timestamp",a.toString())};
g.h.xb=function(a,b,c){if(this.B){var d=this.B;d.la()||TQ(d.A,a,b,void 0===c?!1:c)}};
g.h.na=function(a){return this.F.experiments.o(a)};g.t(g.JU,fR);g.h=g.JU.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.cg=function(){var a=g.KU(this).K;return!!a&&a.cg()};
g.h.getRootNode=function(){return g.OU(this).element};
g.h.getPlaylist=function(){return this.app.getPlaylist()};
g.h.getVideoData=function(a){return(a=g.Z(this.app,a||this.playerType))&&a.getVideoData()};
g.h.Te=function(a){return this.app.Te(a||this.playerType)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.playVideo=function(a){3==this.getPresentingPlayerType()?g.PU(this.app.B).Vh("control_play"):this.app.playVideo(a)};
g.h.stopVideo=function(a){g.Z(this.app,a).stopVideo()};
g.h.addEventListener=function(a,b){this.app.aa.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.aa.unsubscribe(a,b)};
g.h.setPlaybackQuality=function(a){this.setPlaybackQualityRange(a,a)};
g.h.getDebugText=function(a){return this.app.getDebugText(a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.getPresentingPlayerType(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.getVideoData(e);if(!d)return"";var k;a||d.Da||(k=Math.floor(this.getCurrentTime(e)));return this.app.o.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.ee=function(){var a=g.KU(this).B;return!!a&&a.ee()};
g.h.ue=function(){var a=g.KU(this).B;return!!a&&a.ue()};
g.h.setCardsVisible=function(a,b,c){var d=g.KU(this).B;d&&d.setCardsVisible(a,b,c)};
g.h.il=ba(13);g.h.Xm=function(){var a=g.KU(this).L;return!!a&&a.Xm()};
g.h.Mc=function(){if(g.Y(this).L)return!1;var a=g.Z(this.app,1);if(!a)return!1;var b=a.getVideoData();return!b.isValid()||g.TP(b)||2==this.getPresentingPlayerType()&&!SZ(this.app)||gU(a)&&3!=this.getPresentingPlayerType()?!1:!0};
g.h.sendVideoStatsEngageEvent=function(a,b,c){this.app.sendVideoStatsEngageEvent(a,c||this.playerType,b)};
g.h.setPlaybackRate=function(a,b){this.app.setPlaybackRate(a,b)};
g.h.setVolume=function(a){a=g.Jd(a,0,100);tQ(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){tQ(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.unMute=function(){tQ(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};
g.h.getBandwidthEstimate=function(){return HN(g.Y(this).schedule)};
g.h.getPresentingPlayerType=function(){return this.app.getPresentingPlayerType()};
g.h.clearQueue=function(){this.app.clearQueue()};
g.h.na=function(a){return g.Y(this).experiments.o(a)};g.C(g.kV,g.vH);g.h=g.kV.prototype;g.h.init=function(){};
g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Ic=function(){};
g.h.wc=function(){return!0};
g.h.V=function(){this.loaded&&this.unload();g.kV.fa.V.call(this)};
g.h.Eb=function(){return{}};
g.h.getOptions=function(){return[]};g.t(mV,lV);mV.prototype.isSkippable=function(){return null!=this.F};
mV.prototype.getVideoUrl=function(){return this.B};g.t(Qsa,lV);var tV=null;g.t(Usa,g.vH);g.Da("ytads.bulleit.getVideoMetadata",function(a){var b=Vsa();return b.o.hasOwnProperty(a)?b.o[a].o():{}},void 0);
g.Da("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=Vsa();c=Tsa(c);null!==c&&d.U(c,{queryId:a,viewabilityString:b})},void 0);g.t(Wsa,lV);g.t(Xsa,lV);g.t(Ysa,lV);g.t(Zsa,lV);g.t($sa,lV);g.t(vV,g.L);vV.prototype.V=function(){this.A&&g.fH(this.A);this.o.clear();wV=null;g.L.prototype.V.call(this)};
vV.prototype.register=function(a,b){b&&this.o.set(a,b)};
var wV=null;g.t(yV,g.L);yV.prototype.show=function(){this.o.o.C||(this.o.show(),zG(this.C),this.C=[])};
yV.prototype.hide=function(){this.o.o.C&&(this.o.hide(),zG(this.A),this.A=[])};
yV.prototype.bind=function(a){var b=this.o,c=a.confirmLabel||null;c?b.A.show():b.A.hide();b.A.Lb(zV(c));this.o.setTitle(a.title||null);this.o.o.Lb(zV(a.dialogMessage||null));g.oe(cta(this.o));b=g.r(a.adReasons||[]);for(c=b.next();!c.done;c=b.next())c=c.value,cta(this.o).appendChild(g.ie("li",null,zV(c)));this.C=a.impressionEndpoints&&0<a.impressionEndpoints.length?dta(a.impressionEndpoints[0]):[];this.A=a.confirmServiceEndpoint?dta(a.confirmServiceEndpoint):[]};
g.t(xV,g.vH);g.h=xV.prototype;g.h.sa=function(){return this.o.element};
g.h.show=function(){if(!this.o.C){this.Z.R(document,"click",this.bO);this.o.show();var a=this.sa(),b=g.pi(gi(this.B)).width,c=g.pi(this.B),d=ei(this.B);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}};
g.h.hide=function(){this.o.C&&(this.o.hide(),g.uH(this.Z))};
g.h.setTitle=function(a){a?this.C.show():this.C.hide();this.C.Lb(zV(a))};
g.h.bO=function(a){this.o.C&&(a=a.target,g.we(this.B,a)||(g.we(this.A.o["ytp-ad-info-dialog-confirm-button"],a)?this.U("confirmClick"):g.we(this.o.element,a)||this.U("externalClick")))};Object.freeze([Wsa,Xsa,Ysa,Qsa,Zsa,$sa,mV]);var AV=null,fta=null;g.Da("yt.www.ads.eventcache.getLastCompanionData",function(){return AV},void 0);
g.Da("yt.www.ads.eventcache.getLastPlaShelfData",function(){return fta},void 0);var Fta={seekableStart:0,seekableEnd:1,current:0};g.t(g.HV,g.L);g.h=g.HV.prototype;g.h.show=function(a){1!=this.o&&2!=this.o&&(4==this.o&&this.es(),5==this.o?(this.C.show(),this.o=null,this.A.stop(),this.B&&this.B()):this.C.C||(IV(this,!0),this.o=1,a?this.A.start(a):this.es()))};
g.h.hide=function(){4!=this.o&&(1==this.o||2==this.o?(this.C.hide(),this.o=null,this.A.stop()):this.C.C&&(IV(this,!0),this.o=4,this.A.start(this.G)))};
g.h.es=function(){switch(this.o){case 1:this.C.show();this.o=2;this.A.start(10);break;case 2:IV(this,!1);this.o=3;this.A.start(this.F);break;case 3:this.o=null;this.B&&this.B();break;case 4:this.C.hide();IV(this,!1);this.o=5;this.A.start(0);break;case 5:this.o=null,this.D&&this.D()}};
g.h.stop=function(){for(;null!=this.o&&5!=this.o;)this.A.stop(),this.es()};
g.h.V=function(){this.C.la()||this.C.element.removeAttribute("aria-hidden");g.L.prototype.V.call(this)};LV.prototype.getLength=function(){return this.o-this.A};g.t(OV,g.jQ);OV.prototype.G=function(){var a=this.D.getProgressState();a=NV(new LV(a.seekableStart,a.seekableEnd),a.current,0);this.J.style.width=100*a+"%"};
OV.prototype.H=function(){g.lO(g.Y(this.F))||(2==this.F.getPresentingPlayerType()?-1===this.B&&(this.show(),this.B=this.D.subscribe("s",this.G,this),this.G()):-1!==this.B&&(this.hide(),this.D.Ek(this.B),this.B=-1))};g.t(PV,g.W);PV.prototype.clear=function(){for(var a=g.r(this.Qa),b=a.next();!b.done;b=a.next())g.Of(b.value);this.Qa=[]};
PV.prototype.J=function(a){g.kH(a);this.B=Math.max(0,this.B-QV(this));RV(this)};
PV.prototype.H=function(a){g.kH(a);this.B=Math.min(this.Qa.length-1,this.B+QV(this));RV(this)};
PV.prototype.V=function(){this.clear();g.W.prototype.V.call(this)};g.t(SV,g.vH);SV.prototype.stop=function(){this.C&&this.o.Ka(this.C)};
SV.prototype.D=function(){var a=this.A.getProgressState(this.F);this.B={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.U("s")};
SV.prototype.getProgressState=function(){return this.B};
SV.prototype.G=function(a){0<QQ(a,2)&&this.U("r")};g.t(TV,g.vH);g.h=TV.prototype;g.h.TO=function(a){a=jH(a);if(!Pd(a,this.B)){var b=2;this.F&&(b|=8);this.B=a;this.qc(b,!0)}};
g.h.SP=function(){this.F&&this.qc(8,!0);this.qc(2,!1)};
g.h.uw=function(a){var b=jH(a);Pd(b,this.B)||(this.B=b,(a=g.gH(a))&&this.M(a)&&(this.qc(4,!0),this.Z.Ka(this.C),this.C=this.Z.R(this.A,"mouseover",this.DD),this.K=this.Z.R(this.A,"mouseout",this.DD)))};
g.h.DD=function(a){a=iH(a);a&&this.M(a)||(this.B=new g.Od(NaN,NaN),Gta(this))};
g.h.YM=function(){this.qc(1,!0)};
g.h.CK=function(a){a=g.gH(a);a instanceof Element&&!(0<a.tabIndex)||this.qc(1,!0)};
g.h.CD=function(){this.F=!0;this.Z.Ka(this.D);this.D=this.Z.R(document,"mouseup",this.UO)};
g.h.UO=function(){this.F=!1;this.qc(8,!1);this.Z.Ka(this.D);this.D=this.Z.R(this.A,"mousedown",this.CD)};
g.h.ED=function(a){if(a=(a=a.changedTouches)&&a[0])this.W=a.identifier,this.Z.Ka(this.G),this.G=this.Z.R(this.A,"touchend",this.VO,void 0,!0),this.qc(1024,!0)};
g.h.VO=function(a){if(a=a.changedTouches)for(var b=0;b<a.length;b++){var c=a[b];if(c.identifier==this.W){var d=c;break}}d&&(this.Z.Ka(this.G),this.G=this.Z.R(this.A,"touchstart",this.ED,void 0,!0),this.qc(1024,!1))};
g.h.qc=function(a,b){var c=!this.o;b?(this.o|=a,a&1&&this.H.start(),a&2&&this.J.start()):(this.o&=~a,a&1&&this.H.stop(),a&2&&this.J.stop(),a&512&&this.L.stop());this.o&512&&!(this.o&128)&&g.Av(this.L,this.P);var d=!this.o;c!=d&&this.U("autohideupdate",d)};
g.h.toString=function(){return g.vH.prototype.toString.call(this)};g.t(UV,g.W);g.h=UV.prototype;g.h.show=function(){var a=this;this.C||(this.G.R(this.B,"videodatachange",function(){return g.Av(a.D)}),this.G.R(this.B,"videoplayerreset",function(){return g.Av(a.D)}));
g.W.prototype.show.call(this)};
g.h.hide=function(){this.G&&g.uH(this.G);g.W.prototype.hide.call(this)};
g.h.fP=function(a){var b=g.Y(this.B);b.experiments.o("disable_new_pause_state3")&&tO(b)&&(a=a.state.isCued()&&!a.o.isCued()||QU(this.B)&&g.X(a.state,2),g.Xh(this.element,"transition-delay",a?"2s":""));g.Av(this.D)};
g.h.NU=function(){g.Av(this.D)};
g.h.eP=function(){this.F.stop();this.hide();g.Av(this.D)};
g.h.ID=function(){var a=g.NU(this.B),b=!1;if(3==this.B.getPresentingPlayerType()&&(a.sb()||g.X(a,4)))var c=!0;else(c=g.KU(this.B).qd)&&c.Wq?c=!0:(c=g.Y(this.B),c=g.X(a,2)&&LU(this.B)&&c.Ia?!0:!1);c?(c=!0,this.H.style.display="none"):(this.H.style.display="",a.isCued()&&2!=this.B.getPresentingPlayerType()?c=!0:(b=!g.Y(this.B).experiments.o("disable_new_pause_state3"),c=!(!g.X(a,2)||LU(this.B)||b&&g.t0(this.B.app))||g.X(a,1024)?!0:!1),b=g.Y(this.B),b=b.experiments.o("web_player_embed_duration")&&b.o&&
!b.Rc);c?(this.F.show(),a=this.B.getVideoData(),this.fW(this.B.getPlaylist(),a),g.U(this.element,"ytp-cued-thumbnail-overlay-show-duration",b&&0<a.lengthSeconds),a=g.JV(a.lengthSeconds),this.updateValue("duration",a)):(this.F.hide(),g.X(a,1)||this.F.stop())};
g.h.fW=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];if(!g.Y(this.B).wp){b=g.r(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,!(!c||c instanceof g.yP&&!c.videoId)){var d=g.OU(this.B).getPlayerSize();var e=g.uO(),f=d.width*e;e*=d.height;if(1280<f||720<e)if(d=c.hd("maxresdefault.jpg"))break;if(640<f||480<e)if(d=c.hd("maxresdefault.jpg"))break;if(320<f||180<e)if(d=c.hd("sddefault.jpg")||c.hd("hqdefault.jpg")||c.hd("mqdefault.jpg"))break;if(d=c.hd("default.jpg"))break}this.J.style.backgroundImage=
d?"url("+d+")":""}};g.t(WV,g.L);WV.prototype.start=function(a,b,c){this.o=a;this.H=b;this.F=c;this.G=g.PH();this.C()};
WV.prototype.C=function(){var a=g.PH()-this.G;var b=this.B;a=Gja(b,a/this.F);if(0==a)b=b.G;else if(1==a)b=b.H;else{var c=Md(b.G,b.D,a),d=Md(b.D,b.F,a);b=Md(b.F,b.H,a);c=Md(c,d,a);d=Md(d,b,a);b=Md(c,d,a)}b=g.Jd(b,0,1);this.D((this.H-this.o)*b+this.o);1>b&&this.A.start()};g.t(cW,g.W);g.h=cW.prototype;g.h.hide=function(){this.aa=!0;g.W.prototype.hide.call(this)};
g.h.show=function(){this.aa=!1;g.W.prototype.show.call(this)};
g.h.isHidden=function(){return this.aa};
g.h.vP=function(){Jta(this,this.G-this.J)};
g.h.wP=function(){Jta(this,this.G+this.J)};
g.h.xP=function(a,b){var c=this.B[a],d=c.Id;if(g.XV(b,this.D,this.ha,d||void 0)){var e=c.Aa().videoId;c=c.getPlaylistId();g.M0(this.D.app,e,d,c,void 0,void 0,void 0)}};
g.h.OD=function(){var a=this,b=this.D.getVideoData(),c=g.Y(this.D);this.ha=b.Lc?!1:c.o;if(b.suggestions){var d=(0,g.re)(b.suggestions,function(e){return e&&!e.list});
this.B=(0,g.K)(d,function(e){e=g.VV(c,e);g.M(a,e);return e})}else this.B.length=0;
Lta(this);b.Lc?this.P.update({title:g.uV("$DNI_RELATED_CHANNEL adl\u0131 kanal\u0131n di\u011fer videolar\u0131",{DNI_RELATED_CHANNEL:b.author})}):this.P.update({title:"YouTube'daki di\u011fer videolar"})};
g.h.PD=function(a){this.K.element.scrollLeft=-a};g.t(eW,g.W);eW.prototype.show=function(){g.W.prototype.show.call(this);this.K()};
eW.prototype.K=function(){var a=1-1/1.5;this.F=(this.F+this.P)%(this.width*a);this.G=(this.G+this.M)%(this.height*a);this.D.drawImage(this.L,-1*this.F,-1*this.G);this.D.fillRect(0,this.H,this.width,75);this.H=(this.H+75+7)%this.height-75;this.B.isActive()||g.Av(this.J)};
eW.prototype.hide=function(){this.B.stop();this.J.stop();g.W.prototype.hide.call(this)};g.t(fW,g.W);fW.prototype.show=function(){g.W.prototype.show.call(this);gW(this,function(a){a.show()});
this.G&&Pta(this,g.OU(this.B).getPlayerSize())};
fW.prototype.hide=function(){g.W.prototype.hide.call(this);gW(this,function(a){a.hide()})};
fW.prototype.K=function(a){if(g.XV(a,this.B,!tO(g.Y(this.B)))){a={as3:!1,html5:!0,player:!0,cpn:this.B.getVideoData().clientPlaybackNonce};var b=this.B;b.Ba("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&b.toggleFullscreen()}};
var Qta=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.t(jW,g.sH);jW.prototype.D=function(){this.B();var a=this.o.getVideoData();if(a.isValid()){var b=[];g.Y(this.o).K||b.push({src:a.hd("mqdefault.jpg"),sizes:"320x180"});this.A.metadata=new MediaMetadata({title:a.title,artist:a.author,artwork:b});a=QU(this.o);if(this.C.has("nexttrack")!=a){var c=b=null;a&&(b=(0,g.B)(function(){this.o.nextVideo()},this),c=(0,g.B)(function(){this.o.previousVideo()},this));
iW(this,"nexttrack",b);iW(this,"previoustrack",c)}}};
jW.prototype.B=function(){var a=g.NU(this.o);a=a.isError()?"none":MQ(a)?"playing":"paused";this.A.playbackState=a};
jW.prototype.V=function(){this.A.playbackState="none";this.A.metadata=null;for(var a=g.r(this.C),b=a.next();!b.done;b=a.next())iW(this,b.value,null);g.sH.prototype.V.call(this)};g.t(kW,g.W);kW.prototype.aa=function(a,b){Sta(this,b);this.H&&Tta(this,this.H)};
kW.prototype.Y=function(a){var b=this.M.getVideoData();this.D!=b.videoId&&Sta(this,b);this.B&&Tta(this,a.state);this.H=a.state};
kW.prototype.P=function(){this.G.hide();this.D&&(this.F[this.D]=(this.F[this.D]||0)+((0,g.J)()-this.L));this.L=0};g.t(mW,g.W);mW.prototype.hide=function(){this.B.stop();this.F.style.display="none";g.W.prototype.hide.call(this)};
mW.prototype.G=function(a){lW(this,a.state)};
mW.prototype.H=function(){lW(this,g.NU(this.D))};
mW.prototype.J=function(){this.F.style.display="block"};g.t(oW,g.W);oW.prototype.F=function(){var a=g.Z(this.B.app);a&&a.A&&a.A.iw()};
oW.prototype.D=function(){var a=g.Z(this.B.app);g.iQ(this,!!a&&a.xc);this.updateValue("icon",this.B.cj()?g.BV?{I:"div",da:["ytp-icon","ytp-icon-airplay-on"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]}:
g.BV?{I:"div",da:["ytp-icon","ytp-icon-airplay-off"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.t(pW,g.jQ);pW.prototype.V=function(){this.B=null;g.jQ.prototype.V.call(this)};g.t(qW,g.W);qW.prototype.K=function(a){g.X(a.state,32)?rW(this,this.B.Te()):this.C&&(g.X(a.state,16)||g.X(a.state,1))||this.F.hide()};
qW.prototype.L=function(){var a=g.NU(this.B);(g.X(a,32)||g.X(a,16))&&sW(this)};
qW.prototype.H=function(){this.G=NaN;sW(this)};
qW.prototype.hide=function(){this.be&&rW(this,null);g.W.prototype.hide.call(this)};g.t(tW,g.W);tW.prototype.K=function(){g.fV(this.B,this.element);this.B.Ba("onFullerscreenEduClicked")};
tW.prototype.D=function(){this.B.isFullscreen()?this.F?this.G.hide():this.G.show():this.hide();g.gV(this.B,this.element,this.B.isFullscreen()&&!this.F)};g.t(uW,g.jQ);g.h=uW.prototype;g.h.show=function(){var a=vW(this);g.jQ.prototype.show.call(this);this.ia&&(this.L.R(window,"blur",this.Kb),this.L.R(document,"click",this.tP));a||this.U("show",!0)};
g.h.hide=function(){var a=vW(this);g.jQ.prototype.hide.call(this);Wta(this);a&&this.U("show",!1)};
g.h.Yd=function(a,b){this.B=a;this.aa.show();b?(this.M||(this.M=this.L.R(this.ba,"appresize",this.dA)),this.dA()):this.M&&(this.L.Ka(this.M),this.M=null)};
g.h.FK=function(){this.B&&(this.B.getAttribute("aria-haspopup"),this.B.setAttribute("aria-expanded",!0),g.Y(this.ba).experiments.o("embeds_enable_new_playlist_killswitch")?document.activeElement&&g.we(this.B,document.activeElement)&&this.focus():this.focus())};
g.h.dA=function(){g.uQ(this.ba).ar(this.element,this.B)};
g.h.Kb=function(){var a=vW(this);Wta(this);this.aa.hide();a&&this.U("show",!1)};
g.h.If=function(a,b){vW(this)?this.Kb():this.Yd(a,b)};
g.h.tP=function(a){var b=hH(a);b&&(g.we(this.element,b)||this.B&&g.we(this.B,b)||!g.KV(a))||this.Kb()};g.t(wW,g.W);g.h=wW.prototype;g.h.gP=function(){g.Y(this.D).ba?this.D.toggleFullscreen():this.B.If(this.element,!0)};
g.h.EE=function(){Xta(this);this.B.Yd(this.element,!0)};
g.h.hP=function(){VG()==this.D.getRootNode()?this.G.start():(this.G.stop(),this.B&&this.B.hide())};
g.h.bK=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var a=.9*window.screen.width,b=.9*window.screen.height,c=Math.max(window.outerWidth,window.innerWidth),d=Math.max(window.outerHeight,window.innerHeight);if(c>d!=a>b){var e=c;c=d;d=e}a>c&&b>d&&this.EE()}};
g.h.JD=function(){g.iQ(this,Hta(this.D))};
g.h.ZF=function(a){if(a){var b=g.BV?{I:"div",da:["ytp-icon","ytp-icon-full-screen-close"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"g",N:"ytp-fullscreen-button-corner-2",O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-3",O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-0",O:[{I:"path",Ya:!0,N:"ytp-svg-fill",
T:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-1",O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=bW(this.D,"Tam ekrandan \u00e7\u0131k","f");document.activeElement==this.element&&this.D.getRootNode().focus()}else b=g.BV?{I:"div",da:["ytp-icon","ytp-icon-full-screen"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"g",N:"ytp-fullscreen-button-corner-0",O:[{I:"path",Ya:!0,N:"ytp-svg-fill",
T:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-1",O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-2",O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-3",O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=bW(this.D,"Tam ekran","f");this.updateValue("icon",
b);this.updateValue("title",this.B?null:a);DW(this.H.Hb())};
g.h.V=function(){this.B||(this.F(),this.F=null);g.W.prototype.V.call(this)};g.t(xW,g.W);xW.prototype.G=function(){this.B.Ba("onCollapseMiniplayer");g.fV(this.B,this.element)};
xW.prototype.F=function(){this.D=!this.B.isFullscreen();g.iQ(this,this.D);g.gV(this.B,this.element,this.D&&this.W)};
xW.prototype.Tb=function(a){g.W.prototype.Tb.call(this,a);g.gV(this.B,this.element,this.D&&a)};g.t(yW,uW);g.h=yW.prototype;g.h.show=function(){var a=this.C;uW.prototype.show.call(this);a||(this.G.R(this.D,"presentingplayerstatechange",this.xw),this.G.R(this.D,"videodatachange",this.xw),this.xw())};
g.h.hide=function(){this.G&&(g.uH(this.G),uW.prototype.hide.call(this))};
g.h.xw=function(){var a=this.D.getVideoData(),b=a.ji,c;for(c=0;c<b.length;c++){var d=this.F[c];d||(d=new g.W({I:"button",da:["ytp-multicam-menu-item","ytp-button"],T:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},O:[{I:"div",N:"ytp-multicam-menu-item-title",ca:"{{cameraName}}"}]}),d.X("click",g.Na(this.SQ,c),this),d.A(this.Qa),this.F[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=rO(g.Y(this.D),f,"default.jpg"));d.element.style.backgroundImage=
k?"url("+k+")":""}d.update({cameraName:e.title,videoId:f,selected:f==a.videoId?!0:null})}for(;c<this.F.length;)this.F.pop().dispose();c=g.NU(this.D);a=b.length||!a.Jb();MQ(c)||g.X(c,4)||a||!vW(this)||this.If()};
g.h.SQ=function(a){this.D.getVideoData();var b=this.D;a=this.D.getVideoData().ji[a];var c=g.Z(b.app,1).getVideoData(),d=b.getCurrentTime();a.id==c.videoId?g.Z(b.app)!=g.Z(b.app,1)&&(g.Q_(b.app,1),c.Da||b.seekTo(d)):(g.Q_(b.app,4),b.app.loadVideoByPlayerVars({videoId:a.id,title:c.title,start:c.Da?null:d,raw_player_response:{multicamera:{playerLegacyMulticameraRenderer:{metadataList:c.YD}}}},4))};
g.h.focus=function(){for(var a=this.D.getVideoData(),b=a.ji,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.F[c].focus();break}};
g.h.V=function(){g.Pf(this.F);uW.prototype.V.call(this)};g.t(zW,g.W);zW.prototype.J=function(a){this.D("newdata"==a)};
zW.prototype.D=function(a){var b=this.H.getVideoData(),c=b.ji,d=g.NU(this.H);d=(MQ(d)||g.X(d,4))&&0<c.length;g.iQ(this,d);a&&(this.F=!0);if(d){this.F&&g.Av(this.G);a=null;d="";for(var e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.uV("$CAMERA_INDEX/$CAMERA_COUNT g\u00f6r\u00fcnt\u00fcleniyor",{CAMERA_INDEX:String(e+1),CAMERA_COUNT:String(c.length)})+"\n";break}this.update({text:d+a,preview:b.hd("default.jpg")});DW(this.B)}else this.G.stop()};
zW.prototype.K=function(){txa(this.B,this.element,"Daha fazla kamera kullan\u0131labilir");this.F=!1};g.t(AW,g.L);AW.prototype.A=function(){var a=g.PH()-this.B;a=a<this.o?a/this.o:1;this.D(qE(iAa,a));1>a&&this.C.start()};
var iAa=new pE(0,0,.4,0,.2,1,1,1),bua=/[0-9.-]+|[^0-9.-]+/g;g.t(CW,g.W);CW.prototype.Qc=function(a){this.G=300<=a.width;g.iQ(this,this.G);g.gV(this.B,this.element,this.G&&this.W)};
CW.prototype.ka=function(){g.Y(this.B).M?this.B.isMuted()?this.B.unMute():this.B.mute():this.ea.If(this.element,!0);g.fV(this.B,this.element)};
CW.prototype.ia=function(a){cua(this,a.volume,a.muted)};
CW.prototype.Tb=function(a){g.W.prototype.Tb.call(this,a);g.gV(this.B,this.element,this.G&&a)};
var fua=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",24.77," C",21.89,",",23.85," ",24,",",21.17," ",24,",",18," C",24,",",14.83," ",21.89,",",12.15," ",19,",",11.29," L",19,",",11.29," Z"],gua=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",26.77," C",23.01,",",25.86," ",26,",",22.28," ",26,",",18," C",26,",",13.72," ",
23.01,",",10.14," ",19,",",9.23," L",19,",",11.29," Z"];g.t(EW,g.W);EW.prototype.D=function(){this.B.togglePictureInPicture()};g.t(g.FW,g.W);g.FW.prototype.J=function(a){hua(this,a.state)};
g.FW.prototype.G=function(){g.U(this.element,"ytp-play-button-playlist",QU(this.B))};
g.FW.prototype.K=function(){MQ(g.NU(this.B))?this.B.pauseVideo():this.B.playVideo()};g.t(g.HW,g.W);g.h=g.HW.prototype;g.h.Kk=function(){jua(this);this.K&&(this.Ka(this.K),this.K=null);this.J=this.B.getVideoData(1);if(this.F=this.B.getPlaylist())this.F.subscribe("shuffle",this.Kk,this),this.K=this.R(this.B,"progresssync",this.rP);this.H=kua(this);GW(this);this.Qc(g.OU(this.B).getPlayerSize())};
g.h.Qc=function(a){a=void 0===a?g.OU(this.B).getPlayerSize():a;var b=QU(this.B)||this.D&&g.dV(this.B)||lua(this);g.iQ(this,b&&(this.D||400<=a.width))};
g.h.sP=function(a){var b=!0;this.M?b=g.XV(a,this.B):g.kH(a);b&&(this.D&&5==this.B.getPresentingPlayerType()?this.B.U("ytoprerollinternstitialnext"):this.D?this.B.nextVideo(!0):this.H?this.B.seekTo(0):this.B.previousVideo(!0))};
g.h.rP=function(){var a=kua(this);a!=this.H&&(this.H=a,GW(this))};
g.h.V=function(){this.G&&(this.G(),this.G=null);jua(this);g.W.prototype.V.call(this)};mua.prototype.update=function(a,b,c,d){this.width=b;this.C=c;this.D=d;this.o=b-c-d;this.position=g.Jd(a,c,c+this.o);this.B=this.position-c;this.A=this.B/this.o};g.t(g.IW,g.jQ);g.h=g.IW.prototype;g.h.Ie=function(){pua(this);var a=this.B.getCurrentTime();(a<this.Y||a>this.P)&&this.wr()};
g.h.uP=function(a){if(!g.lH(a)){var b=!1;switch(g.mH(a)){case 36:this.B.seekTo(0);b=!0;break;case 35:this.B.seekTo(Infinity);b=!0;break;case 34:this.B.seekBy(-60);b=!0;break;case 33:this.B.seekBy(60);b=!0;break;case 38:this.B.seekBy(5);b=!0;break;case 40:this.B.seekBy(-5),b=!0}b&&g.kH(a)}};
g.h.NQ=function(a){switch(g.mH(a)){case 13:this.B.seekTo(Number(a.currentTarget.getAttribute("data-position")))}};
g.h.MD=function(a,b){nua(this,b,"newdata"==a)};
g.h.tL=function(){this.MD("newdata",this.B.getVideoData())};
g.h.zL=function(){rua(this.B.getVideoData())?g.NU(this.B).sb()&&MW(this,!0):MW(this,!1)};
g.h.uL=function(a){0<QQ(a,64)||!rua(this.B.getVideoData())?MW(this,!1):MQ(a.state)&&0>QQ(a,64)&&MW(this,!0);this.H&&!g.X(a.state,32)&&3!=this.B.getPresentingPlayerType()&&this.H.cancel()};
g.h.ZS=function(a,b,c){var d=g.hi(this.element),e=NW(this).o,f=c?c.getAttribute("data-tooltip"):void 0,k=c?c.getAttribute("data-position"):void 0,l=c?c.getAttribute("data-offset-y"):void 0;k&&(a=NV(this.D,Number(c.getAttribute("data-position")),0)*e+g.hi(this.Rc).x);this.Ma.x=a-d.x;this.Ma.y=b-d.y;a=NW(this);c=MV(this.D,a.A);b=f||g.JV(this.Sa?c-this.D.o:c);a=a.position+this.Oa;c=g.Y(this.B).experiments.o("web_player_storyboard_timestamp_killswitch")?c:c-this.B.Vc();d=this.xa;f=!!f;l=l?parseInt(l,
10):0;d.ma||(3==d.D&&d.Ye(),1!=d.D&&(d.element.className="ytp-tooltip ytp-bottom",d.D=1,d.Y&&d.M.show(),d.F=d.ba.Te(),d.F&&d.F.subscribe("l",d.DE,d)),d.update({text:b,title:""}),g.U(d.element,"ytp-text-detail",!!f),b=-1,d.F&&(b=$O(d.F,160*d.G),b=vma(d.F,b,c)),vxa(d,b),uxa(d,!!f,a,l));g.U(this.B.getRootNode(),"ytp-progress-bar-hover",!g.X(g.NU(this.B),64));oua(this)};
g.h.YS=function(){var a=this.xa;1==a.D&&a.Ye();g.Lr(this.B.getRootNode(),"ytp-progress-bar-hover")};
g.h.XS=function(a,b){this.F&&(this.F.dispose(),this.F=null);this.gd=b;this.B.seekTo(MV(this.D,NW(this).A),!1);g.T(this.element,"ytp-drag");(this.Xa=MQ(g.NU(this.B)))&&this.B.pauseVideo()};
g.h.aT=function(){this.za=0;g.Lr(this.element,"ytp-pull-ui");g.Lr(this.element,"ytp-pulling");this.F&&(this.F.dispose(),this.F=null);0<this.L&&(this.F=new g.xv((0,g.B)(this.NJ,this,g.PH(),this.L,NW(this).position)),this.F.start());if(g.X(g.NU(this.B),32)||3==this.B.getPresentingPlayerType())this.B.seekTo(MV(this.D,NW(this).A)),g.Lr(this.element,"ytp-drag"),this.Xa&&!g.X(g.NU(this.B),2)&&this.B.playVideo()};
g.h.NJ=function(a,b,c){a=1-Math.pow(1-(g.PH()-a)/200,3);c+=a*(this.K*this.G-c);if(0>a||1<a)a=1;sua(this,(1-a)*b,c,this.K);1>a&&this.F.start()};
g.h.bT=function(a,b){var c=!1,d=!1,e=NW(this);3600<=this.D.getLength()&&(sua(this,this.gd-b-10,e.position,e.A),d=!0,c=this.L>.1*(this.J?60:40),e=NW(this));g.U(this.element,"ytp-pull-ui",d);c&&g.T(this.element,"ytp-pulling");c=0;e.C&&0>=e.position?c=-1:e.D&&e.position>=e.width&&(c=1);this.za!=c&&(this.za=c,this.F&&(this.F.dispose(),this.F=null),c&&(this.F=new g.xv((0,g.B)(this.qV,this,g.PH(),this.M)),this.F.start()));this.B.seekTo(MV(this.D,e.A),!1)};
g.h.qV=function(a,b){var c=this.G*(this.ha-1);this.M=g.Jd(b+this.za*(g.PH()-a)*.3,0,c);g.KW(this);this.B.seekTo(MV(this.D,NW(this).A),!1);0<this.M&&this.M<c&&this.F.start()};
g.h.uE=function(){this.updateValue("clipstarticon",kta());this.updateValue("clipendicon",kta());g.T(this.element,"ytp-clip-hover")};
g.h.tE=function(){this.updateValue("clipstarticon",mta());this.updateValue("clipendicon",lta());g.Lr(this.element,"ytp-clip-hover")};
g.h.wr=function(){this.Y=0;this.P=Infinity;LW(this);JW(this,this.K,this.ua)};
g.h.KG=function(a){a=g.r(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.ba[c]){var d=g.ke("DIV");("ytp-chapter-marker"==b.style||b.tooltip)&&d.setAttribute("data-position",b.start/1E3);b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);b.icons&&d.setAttribute("data-offset-y",-12-24*b.icons.length);this.ba[c]=b;this.ya[c]=d;if(b.icons&&b.icons.length){for(var e=g.ke("DIV"),f=g.r(b.icons),k=f.next();!k.done;k=f.next()){k=k.value;var l=g.ke("IMG");l.src=k.thumbnails[0].url;
l.setAttribute("data-position",b.start/1E3);b.tooltip&&l.setAttribute("data-tooltip",b.tooltip);l.setAttribute("data-offset-y",-12-24*b.icons.length);l.setAttribute("tabindex",0);k.accessibility&&k.accessibility.accessibilityData&&k.accessibility.accessibilityData.label&&(l.alt=k.accessibility.accessibilityData.label);this.jb.R(l,"keydown",this.NQ,void 0,!0);e.appendChild(l)}e.className="ytp-marker-icon";g.ub(this.ia,b,g.kR);this.aa[c]=e;this.td.appendChild(e)}d.className=b.style;tua(this,c);"ytp-chapter-marker"==
b.style?this.Od.appendChild(d):g.Y(this.B).experiments.o("disable_ad_markers_on_content_progress_bar")||this.Nd.appendChild(d)}}else vua(this,b);OW(this)};
g.h.hV=function(a){a=g.r(a);for(var b=a.next();!b.done;b=a.next())vua(this,b.value);OW(this)};
g.h.V=function(){qua(this,!1);g.jQ.prototype.V.call(this)};g.t(g.QW,g.lQ);g.QW.prototype.M=function(){g.RW(this,!this.D);this.U("select",this.D)};
g.QW.prototype.getValue=function(){return this.D};g.t(SW,g.QW);SW.prototype.H=function(){g.KU(this.F).B&&3!=this.F.getPresentingPlayerType()?this.B||(g.yX(this.G,this),this.B=!0):this.B&&(g.zX(this.G,this),this.B=!1);var a=g.KU(this.F).B;g.RW(this,!!a&&a.loaded)};
SW.prototype.J=function(a){a?this.F.loadModule("annotations_module"):this.F.unloadModule("annotations_module")};
SW.prototype.V=function(){this.B&&g.zX(this.G,this);g.QW.prototype.V.call(this)};g.t(TW,g.jQ);TW.prototype.ua=function(){this.U("size-change")};
TW.prototype.focus=function(){this.ha.focus()};
TW.prototype.ya=function(){this.U("back")};g.t(g.UW,TW);g.UW.prototype.ia=function(){this.J.U("size-change")};
g.UW.prototype.focus=function(){for(var a=0,b=0;b<this.Qa.length;b++)if("true"==this.Qa[b].element.getAttribute("aria-checked")){a=b;break}this.Qa[a].focus()};g.t(g.YW,g.lQ);g.h=g.YW.prototype;g.h.open=function(){g.eX(this.D,this.J)};
g.h.Af=function(a){if(this.H){var b=this.F[this.H];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked");this.H=null}this.F[a].element.setAttribute("aria-checked",!0);this.Lb(this.zf(a));this.H=a};
g.h.Ht=function(a,b,c){b=new g.lQ({I:"div",da:["ytp-menuitem"],T:{tabindex:"0",role:"menuitemradio","aria-checked":c?"true":void 0},O:[{I:"div",da:["ytp-menuitem-label"],ca:"{{label}}"}]},b,this.zf(a,!0));b.X("click",(0,g.B)(this.zP,this,a));return b};
g.h.enable=function(a){this.L?a||(this.L=!1,this.Lk(!1)):a&&(this.L=!0,this.Lk(!0))};
g.h.Lk=function(a){a?g.yX(this.D,this):g.zX(this.D,this)};
g.h.md=function(a){this.U("select",a)};
g.h.zP=function(a){this.md(a)};
g.h.zf=function(a){return a.toString()};
g.h.yP=function(a){g.lH(a)||39!=g.mH(a)||(this.open(),g.kH(a))};
g.h.V=function(){this.L&&g.zX(this.D,this);g.lQ.prototype.V.call(this);for(var a in this.F)this.F[a].dispose()};g.t($W,g.YW);$W.prototype.K=function(){var a=this.B.getAvailableAudioTracks();1<a.length?(g.ZW(this,(0,g.K)(a,this.G)),this.P=g.vb(a,this.G,this),this.M.Lb(a.length?" ("+a.length+")":""),this.U("size-change"),this.Af(this.G(this.B.getAudioTrack())),this.enable(!0)):this.enable(!1)};
$W.prototype.md=function(a){g.YW.prototype.md.call(this,a);this.B.setAudioTrack(this.P[a]);this.D.ne()};
$W.prototype.G=function(a){return a.toString()};g.t(aX,g.QW);aX.prototype.H=function(){var a=this.B.getPresentingPlayerType();if(2!=a&&3!=a&&g.dV(this.B))this.G||(g.yX(this.J,this),this.G=!0,this.F.push(this.R(this.B,"videodatachange",this.H)),this.F.push(this.R(this.B,"videoplayerreset",this.H)),this.F.push(this.R(this.B,"onPlaylistUpdate",this.H)),this.F.push(this.R(this.B,"autonavchange",this.K)),a=this.B.getVideoData(),this.K(a.autonavState));else if(this.G){g.zX(this.J,this);this.G=!1;a=g.r(this.F);for(var b=a.next();!b.done;b=a.next())this.Ka(b.value)}};
aX.prototype.K=function(a){g.RW(this,1!=a)};
aX.prototype.L=function(a){var b=this.B;a=a?2:1;b.app.A.Ba("onAutonavChangeRequest",1!=a);a&&Eya(b.app,a)};
aX.prototype.V=function(){this.G&&g.zX(this.J,this);g.QW.prototype.V.call(this)};g.t(g.bX,uW);g.h=g.bX.prototype;g.h.show=function(){uW.prototype.show.call(this);this.ul()};
g.h.hide=function(){uW.prototype.hide.call(this);1<this.F.length&&g.fX(this)};
g.h.ul=function(){yua(this);this.C&&(xua(this),g.oi(this.element,this.size))};
g.h.ne=function(){var a=this.F.pop(),b=cX(this);dX(this,a,b,!0)};
g.h.NV=function(a,b,c){this.J.dispose();this.J=null;g.T(this.element,"ytp-popup-animating");c?(g.T(a.element,"ytp-panel-animate-forward"),g.Lr(b.element,"ytp-panel-animate-back")):(g.T(a.element,"ytp-panel-animate-back"),g.Lr(b.element,"ytp-panel-animate-forward"));g.oi(this.element,this.size);this.H=new g.V(g.Na(this.mQ,a,b),250,this);this.H.start()};
g.h.mQ=function(a){g.Lr(this.element,"ytp-popup-animating");g.hQ(a);g.Mr(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.H.dispose();this.H=null};
g.h.kP=function(a){if(!g.lH(a))switch(g.mH(a)){case 27:this.Kb();g.kH(a);break;case 37:1<this.F.length&&this.ne();g.kH(a);break;case 39:g.kH(a)}};
g.h.focus=function(){cX(this).focus()};
g.h.V=function(){uW.prototype.V.call(this);this.J&&this.J.dispose();this.H&&this.H.dispose()};g.t(gX,g.YW);g.h=gX.prototype;g.h.xn=function(){var a=this.B.getPresentingPlayerType();if(2!=a&&3!=a&&(this.K=g.Hsa(this.B),a=this.B.getAvailableQualityLevels(),g.Isa(this.B)&&g.Jsa(this.B)&&a.unshift("missing-qualities"),Msa(this.B)&&a.unshift("inline-survey"),g.ZW(this,a),a.length)){this.ND();this.enable(!0);return}this.enable(!1)};
g.h.ND=function(){var a=this.B.getPreferredQuality();this.F[a]&&(this.G=this.B.getPlaybackQuality(),this.Af(a),"auto"==a&&this.Lb(this.zf(a)))};
g.h.md=function(a){"missing-qualities"!=a&&(g.YW.prototype.md.call(this,a),this.B.setPlaybackQuality(a),this.D.Kb(),this.xn())};
g.h.Ht=function(a,b,c){var d=this;if("inline-survey"!=a)return g.YW.prototype.Ht.call(this,a,b,c);a=[{I:"span",ca:"\u0130yi g\u00f6r\u00fcn\u00fcyor mu?"}];c={};for(var e=g.r([!0,!1]),f=e.next();!f.done;c={ro:c.ro},f=e.next())c.ro=f.value,f=new g.W({I:"span",N:"ytp-menuitem-inline-survey-response",O:[c.ro?g.BV?{I:"div",da:["ytp-icon","ytp-icon-like"]}:{I:"svg",T:{viewBox:"0 0 24 24"},O:[{I:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{I:"path",T:{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z",
fill:"#fff"}}]}:g.BV?{I:"div",da:["ytp-icon","ytp-icon-dislike"]}:{I:"svg",T:{viewBox:"0 0 24 24"},O:[{I:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{I:"path",T:{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z",fill:"#fff"}}]}],T:{tabindex:"0",role:"button"}}),f.X("click",function(k){return function(){var l=g.Z(d.B.app);l&&(l.xb("iqsr",
""+ +k.ro),l.getVideoData().xC=!0);d.D.Kb();d.xn()}}(c)),a.push(f);
return new g.lQ({I:"div",N:"ytp-menuitem",T:{"aria-disabled":!0},O:[{I:"div",da:["ytp-menuitem-label"],O:a}]},b)};
g.h.zf=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{I:"a",T:{href:"https://support.google.com/youtube/?p=missing_quality",target:g.Y(this.B).F},ca:"Se\u00e7enekler eksik mi?"};if("inline-survey"==a)return"";var c=[zua(this,a)],d=this.B.getPreferredQuality();b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(zua(this,this.G,["ytp-menu-label-secondary"])));return{I:"div",O:c}};g.t(hX,g.W);hX.prototype.Qc=function(a){g.iQ(this,this.G&&400<=a.width)};
hX.prototype.H=function(){if(this.F.C)this.F.Kb();else{var a=g.KU(this.B).A;a&&!a.loaded&&(a.Ic("tracklist",{includeAsr:!0}).length||a.load());this.F.Yd(this.element)}};
hX.prototype.D=function(){var a=this.B.getPresentingPlayerType(),b=2!=a&&3!=a,c=g.TU(this.B),d=b&&!!g.KU(this.B).D;a=d&&1==c.displayMode;c=d&&2==c.displayMode;b=(d=a||c)||!b?null:this.B.getPlaybackQuality();g.U(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.U(this.element,"ytp-4k-quality-badge","hd2160"==b);g.U(this.element,"ytp-5k-quality-badge","hd2880"==b);g.U(this.element,"ytp-8k-quality-badge","highres"==b);g.U(this.element,"ytp-3d-badge-grey",d&&a);g.U(this.element,
"ytp-3d-badge",d&&c)};g.t(jX,g.W);g.h=jX.prototype;g.h.Qm=function(){this.rj(this.B);this.updateValue("minvalue",this.minimumValue);this.updateValue("maxvalue",this.maximumValue)};
g.h.TT=function(a){if(!g.lH(a)){switch(g.mH(a)){case 37:case 40:var b=-this.M;break;case 39:case 38:b=this.M;break;default:return}this.rj(this.B+b);g.kH(a)}};
g.h.tS=function(a){var b=this.B;b+=0>(a.deltaX||-a.deltaY)?-this.K:this.K;this.rj(b);g.kH(a)};
g.h.QT=function(a){a=(a-g.hi(this.D).x)/this.P*this.H+this.minimumValue;this.rj(a)};
g.h.rj=function(a,b){b=void 0===b?"":b;var c=g.Jd(a,this.minimumValue,this.maximumValue);""==b&&(b=c.toString());this.updateValue("valuenow",c);this.updateValue("valuetext",b);this.J.style.left=(c-this.minimumValue)/this.H*(this.P-this.Y)+"px";this.B=c};
g.h.focus=function(){this.J.focus()};g.t(lX,jX);lX.prototype.ba=function(){this.G.setPlaybackRate(this.B,!0)};
lX.prototype.rj=function(a){jX.prototype.rj.call(this,a,mX(this,a).toString());this.F&&(kX(this),this.aa())};
lX.prototype.ea=function(){var a=this.G.getPlaybackRate();mX(this,this.B)!=a&&(this.rj(a),kX(this))};g.t(nX,g.jQ);nX.prototype.focus=function(){this.B.focus()};g.t(Aua,TW);g.t(oX,g.YW);g.h=oX.prototype;g.h.zf=function(a){return"1"==a?"Normal":a.toLocaleString()};
g.h.RD=function(){var a=this.B.getPresentingPlayerType();this.enable(2!=a&&3!=a);Dua(this)};
g.h.Lk=function(a){g.YW.prototype.Lk.call(this,a);a?(this.P=this.R(this.B,"onPlaybackRateChange",this.CP),Dua(this),Bua(this,this.B.getPlaybackRate())):(this.Ka(this.P),this.P=null)};
g.h.CP=function(a){var b=this.B.getPlaybackRate();this.M.includes(b)||Cua(this,b);Bua(this,a)};
g.h.md=function(a){g.YW.prototype.md.call(this,a);a==this.G?this.B.setPlaybackRate(this.K,!0):this.B.setPlaybackRate(parseFloat(a),!0);this.D.ne()};var g2,jAa;g2=[{option:"#fff",text:"Beyaz"},{option:"#ff0",text:"Sar\u0131"},{option:"#0f0",text:"Ye\u015fil"},{option:"#0ff",text:"Camg\u00f6be\u011fi"},{option:"#00f",text:"Mavi"},{option:"#f0f",text:"Macenta"},{option:"#f00",text:"K\u0131rm\u0131z\u0131"},{option:"#080808",text:"Siyah"}];jAa=[{option:0,text:qX(0)},{option:.25,text:qX(.25)},{option:.5,text:qX(.5)},{option:.75,text:qX(.75)},{option:1,text:qX(1)}];
g.sX=[{option:"fontFamily",text:"Yaz\u0131 tipi ailesi",options:[{option:1,text:"Tek Aral\u0131kl\u0131 Serif"},{option:2,text:"Orant\u0131l\u0131 Serif"},{option:3,text:"Tek Aral\u0131kl\u0131 Sans-Serif"},{option:4,text:"Orant\u0131l\u0131 Sans-Serif"},{option:5,text:"Klasik"},{option:6,text:"El Yaz\u0131s\u0131"},{option:7,text:"K\u00fc\u00e7\u00fck Boyutlu B\u00fcy\u00fck Harfler"}]},{option:"color",text:"Yaz\u0131 tipi rengi",options:g2},{option:"fontSizeIncrement",text:"Yaz\u0131 tipi boyutu",
options:[{option:-2,text:qX(.5)},{option:-1,text:qX(.75)},{option:0,text:qX(1)},{option:1,text:qX(1.5)},{option:2,text:qX(2)},{option:3,text:qX(3)},{option:4,text:qX(4)}]},{option:"background",text:"Arka plan rengi",options:g2},{option:"backgroundOpacity",text:"Arka plan opakl\u0131\u011f\u0131",options:jAa},{option:"windowColor",text:"Pencere rengi",options:g2},{option:"windowOpacity",text:"Pencere opakl\u0131\u011f\u0131",options:jAa},{option:"charEdgeStyle",text:"Karakter kenar stili",options:[{option:0,
text:"Hi\u00e7biri"},{option:4,text:"G\u00f6lge"},{option:1,text:"Y\u00fckseltilmi\u015f"},{option:2,text:"Bast\u0131r\u0131lm\u0131\u015f"},{option:3,text:"\u00c7er\u00e7eve"}]},{option:"textOpacity",text:"Yaz\u0131 tipi opakl\u0131\u011f\u0131",options:[{option:.25,text:qX(.25)},{option:.5,text:qX(.5)},{option:.75,text:qX(.75)},{option:1,text:qX(1)}]}];g.t(rX,g.YW);g.h=rX.prototype;g.h.Af=function(a){g.YW.prototype.Af.call(this,a)};
g.h.UD=function(a){return a.option.toString()};
g.h.getOption=function(a){return this.P[a]};
g.h.zf=function(a){return this.getOption(a).text||""};
g.h.md=function(a){g.YW.prototype.md.call(this,a);this.U("settingChange",this.M,this.P[a].option)};
g.h.VD=function(a){this.U("settingChange",this.M+"Override",!a);this.D.ne()};g.t(tX,g.UW);tX.prototype.D=function(a,b){this.U("settingChange",a,b)};g.t(uX,g.YW);uX.prototype.G=function(a){return a.languageCode};
uX.prototype.zf=function(a){return this.B[a].languageName||""};
uX.prototype.md=function(a){this.U("select",a);g.fX(this.D)};g.t(vX,g.YW);g.h=vX.prototype;g.h.Dw=function(a){return g.cc(a)?"__off__":a.displayName};
g.h.zf=function(a){return"__off__"==a?"Kapal\u0131":"__translate__"==a?"Otomatik \u00e7evir":"__contribute__"==a?"Altyaz\u0131 ekle":("__off__"==a?{}:this.G[a]).displayName};
g.h.md=function(a){"__translate__"==a?this.K.open():"__contribute__"==a?(this.B.pauseVideo(),this.B.isFullscreen()&&this.B.toggleFullscreen(),a=g.aR(g.Y(this.B),this.B.getVideoData()),g.sV(a)):(this.B.setOption("captions","track","__off__"==a?{}:this.G[a]),g.YW.prototype.md.call(this,a),this.D.ne())};
g.h.yn=function(){var a=this.B.getOptions();a=a&&-1!=a.indexOf("captions");var b=this.B.getVideoData();b=b&&b.Yo;if(a||b){if(a){var c=this.B.getOption("captions","track");var d=this.B.getOption("captions","tracklist",{includeAsr:!0});var e=this.B.getOption("captions","translationLanguages");this.G=g.vb(d,this.Dw,this);var f=(0,g.K)(d,this.Dw);if(e.length&&!g.cc(c)){var k=this.K;k.B=g.vb(e,k.G,k);g.ZW(k,(0,g.K)(e,k.G));f.push("__translate__")}e=this.Dw(c)}else this.G={},f=[],e="__off__";f.unshift("__off__");
this.G.__off__={};b&&f.unshift("__contribute__");this.G[e]||(this.G[e]=c,f.push(e));g.ZW(this,f);this.Af(e);a&&Eua(this.M,this.B.getSubtitlesUserSettings());this.Y.Lb(d&&d.length?" ("+d.length+")":"");this.U("size-change");this.enable(!0)}else this.enable(!1)};
g.h.TD=function(a){this.B.setOption("captions","sampleSubtitles",a)};
g.h.KP=function(a){var b=this.B.getOption("captions","track");b=g.hc(b);b.translationLanguage=this.K.B[a];this.B.setOption("captions","track",b)};
g.h.JP=function(a,b){if("reset"==a)this.B.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.B.updateSubtitlesUserSettings(c)}this.TD(!0);this.P.start();Eua(this.M,this.B.getSubtitlesUserSettings())};
g.h.IT=function(a){a||g.Cv(this.P)};
g.h.V=function(){g.Cv(this.P);g.YW.prototype.V.call(this)};g.t(wX,g.bX);wX.prototype.Yd=function(a){xX(this);0<this.G.Qa.length&&g.bX.prototype.Yd.call(this,a)};
wX.prototype.show=function(){g.bX.prototype.show.call(this);g.T(this.D.getRootNode(),"ytp-settings-shown")};
wX.prototype.hide=function(){g.bX.prototype.hide.call(this);g.Lr(this.D.getRootNode(),"ytp-settings-shown")};g.t(AX,g.W);
AX.prototype.D=function(){var a=!1;-1!=this.B.getOptions().indexOf("remote")&&(a=1<this.B.getOption("remote","receivers").length);g.iQ(this,a&&400<=g.OU(this.B).getPlayerSize().width);var b=1;a&&this.B.getOption("remote","casting")&&(b=2);if(this.F!=b){this.F=b;switch(b){case 1:this.updateValue("icon",g.BV?{I:"div",da:["ytp-icon","ytp-icon-cast-desktop-off"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});
break;case 2:this.updateValue("icon",g.ita())}g.U(this.element,"ytp-remote-button-active",!!this.B.getOption("remote","casting"))}};
AX.prototype.H=function(){if(this.B.getOption("remote","quickCast"))this.B.setOption("remote","quickCast",!0);else{var a=this.G,b=this.element;if(vW(a))a.Kb();else{xX(a);a:{var c=g.r(a.G.Qa);for(var d=c.next();!d.done;d=c.next())if(d=d.value,0==d.priority){c=d;break a}c=null}c&&(c.open(),a.Yd(b));a.Yd(b)}}};g.t(BX,g.W);BX.prototype.J=function(){var a=this.B.app;a.A.Ba("SIZE_CLICKED",!a.xc)};
BX.prototype.D=function(){g.iQ(this,this.B.app.ce&&!this.B.isFullscreen()&&3!=this.B.getPresentingPlayerType());if(this.C){var a=this.B.isWidescreen();if(this.F!=a){var b=a?g.BV?{I:"div",da:["ytp-icon","ytp-icon-default-view"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:g.BV?{I:"div",da:["ytp-icon","ytp-icon-theater-mode"]}:{I:"svg",T:{height:"100%",
version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,T:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};g.Y(this.B).H||null==this.F?this.updateValue("icon",b):aua(this.H,this.element,b);this.F=a;b=bW(this.B,"Varsay\u0131lan g\u00f6r\u00fcn\u00fcm","t");var c=bW(this.B,"Sinema modu","t");this.updateValue("title",a?b:c);DW(this.G)}}};g.t(CX,g.W);CX.prototype.F=function(){var a=g.KU(this.D).A;a&&a.zG()};
CX.prototype.B=function(){var a=!!g.KU(this.D).A;g.iQ(this,a&&300<=g.OU(this.D).getPlayerSize().width);a&&this.updateValue("pressed",!!this.D.getOption("captions","track").displayName)};g.t(g.DX,g.W);
g.DX.prototype.Ie=function(){var a=g.OU(this.F).getPlayerSize().width,b=350<=a&&(!this.G||!g.X(g.NU(this.F),64));g.iQ(this,b);g.U(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.F.getProgressState();b&&(b=g.JV(a.current),this.H!=b&&(this.updateValue("currenttime",b),this.H=b),b=g.JV(a.duration),this.J!=b&&(this.updateValue("duration",b),this.J=b));this.G&&(a=a.isAtLiveHead,this.K!=a&&(this.K=a,this.Ie(),b=this.B.element,b.disabled=a,g.Y(this.F).experiments.o("enable_live_premiere_web_player_indicator")&&this.B.Lb(this.L?
"\u0130lk g\u00f6sterim":"Canl\u0131"),a?this.D&&(this.D(),this.D=null,b.removeAttribute("title")):(b.title="Canl\u0131 yay\u0131na atla.",this.D=nW(this.M,this.B.element))))};
g.DX.prototype.Y=function(a,b){Gua(this,b);this.Ie()};
g.DX.prototype.P=function(a){a.target==this.B.element&&(this.F.seekTo(Infinity),this.F.playVideo())};
g.DX.prototype.V=function(){this.D&&this.D();g.W.prototype.V.call(this)};g.t(FX,g.W);g.h=FX.prototype;g.h.LP=function(){var a=this.J.bd();this.K!=a&&(this.K=a,EX(this,this.B.getVolume(),this.B.isMuted()))};
g.h.Qc=function(a){g.iQ(this,350<=a.width)};
g.h.UT=function(a){if(!g.lH(a)){var b=g.mH(a),c=null;37==b?c=this.G-5:39==b?c=this.G+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.Jd(c,0,100),0==c?this.B.mute():(this.B.isMuted()&&this.B.unMute(),this.B.setVolume(c)),g.kH(a))}};
g.h.MP=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.B.setVolume(this.G+(0>b?-10:10)):this.B.setVolume(this.G+g.Jd(b/10,-10,10));g.kH(a)};
g.h.ST=function(){GX(this,this.F,!0,this.D,this.J.xk());this.ba=this.G;this.B.isMuted()&&this.B.unMute()};
g.h.RT=function(a){a-=g.hi(this.aa).x;this.B.setVolume(100*g.Jd(a/(this.K?78:52),0,1))};
g.h.PT=function(){GX(this,this.F,!1,this.D,this.J.xk());0==this.G&&(this.B.mute(),this.B.setVolume(this.ba))};
g.h.NP=function(a){EX(this,a.volume,a.muted)};
g.h.BA=function(){GX(this,this.F,this.H,this.D,this.J.xk())};
g.h.WD=function(a){GX(this,this.F,this.H,a,this.J.xk())};
g.h.aG=function(a){g.U(this.element,"ytp-volume-control-hover",a);GX(this,a,this.H,this.D,this.J.xk())};
g.h.V=function(){g.W.prototype.V.call(this);g.Lr(this.Y,"ytp-volume-slider-active")};g.t(HX,g.W);HX.prototype.F=function(){this.D=!!this.B.getVideoData().videoId;g.iQ(this,this.D);g.gV(this.B,this.element,this.D&&this.W);if(this.D){var a=this.B.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}};
HX.prototype.G=function(a){var b=this.B.getVideoUrl(!g.KV(a),!1,!0,!0);YV(b,this.B,a);g.fV(this.B,this.element)};
HX.prototype.Tb=function(a){g.W.prototype.Tb.call(this,a);g.gV(this.B,this.element,this.D&&a)};g.t(IX,g.sH);g.h=IX.prototype;g.h.Bw=function(){this.F.Ie();this.ga.Ie()};
g.h.pE=function(){this.qy();if(this.ba.o)this.Bw();else{var a=this.F.xa;1==a.D&&a.Ye()}};
g.h.HP=function(){this.Bw();this.J.start()};
g.h.qy=function(){var a;if(a=!g.Y(this.C).A){a=this.F;var b=2*a.G*g.uO();a=300>1E3*a.D.getLength()/a.B.getPlaybackRate()/b}a=a&&g.NU(this.C).sb()&&!!window.requestAnimationFrame;b=!a;this.ba.o||(a=b=!1);b?this.K||(this.K=this.R(this.C,"progresssync",this.Bw)):this.K&&(this.Ka(this.K),this.K=null);a?this.J.isActive()||this.J.start():this.J.stop()};
g.h.gW=function(a){var b=this.B.Hb();a=!a;if(null!=b.D)if(a)switch(b.D){case 3:case 2:D_(b);b.M.show();break;default:b.M.show()}else b.M.hide();b.Y=a};
g.h.Cw=function(){var a=this.B.bd(),b=g.OU(this.C).getPlayerSize(),c=JX(this),d=Math.max(b.width-2*c,100);if(this.ia!=b.width||this.ha!=a){this.ia=b.width;this.ha=a;var e=Iua(this);this.A.element.style.width=e+"px";this.A.element.style.left=c+"px";var f=this.F;f.Oa=c;f.G=e;f.J=a;g.KW(f);this.B.Hb().ua=e}c=this.o;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.B.bd()?72:50))));c.Y=Math.min(570*(a?1.5:1),d);c.P=e;c.ul();this.qy();g.Y(this.C).experiments.o("html5_player_dynamic_bottom_gradient")&&
Uta(this.ka,b.height)};
g.h.IP=function(){var a=this.C.getVideoData();this.aa.style.background=a.Lc?a.Hg:"";g.iQ(this.M,a.Px)};
g.h.sa=function(){return this.A.element};g.t(KX,uW);KX.prototype.H=function(a){a?(Jua(this),this.Yd()):(this.F&&Kua(this),this.Kb())};
KX.prototype.J=function(a){this.D.isMutedByMutedAutoplay()&&0<QQ(a,2)&&this.Kb()};
KX.prototype.onClick=function(){this.D.unMute();Kua(this)};g.t(LX,g.sH);g.h=LX.prototype;g.h.init=function(){var a=g.NU(this.api);this.Gr(a);this.hh();this.bb()};
g.h.FD=function(a,b){if(this.Ra!=b.videoId){this.Ra=b.videoId;var c=this.A;c.P=b&&0<b.ji.length?5E3:3E3;c.qc(512,!0);this.hh()}};
g.h.PS=function(){this.FD("newdata",this.api.getVideoData())};
g.h.nl=function(){var a=this.api.ee()&&this.api.ue();MX(this);(a=Qua(this)||this.dc||a)||(a=g.KU(this.api).yd,a=!!a&&a.Nv());return a||this.uc||MX(this)};
g.h.ug=function(){var a=!this.nl();g.U(this.api.getRootNode(),"ytp-menu-shown",!a)};
g.h.WO=function(a){if(!g.we(this.api.getRootNode(),a))return!1;for(;a&&!Ce(a);)a=a==this.api.getRootNode()?null:g.ve(a);return!!a};
g.h.Nw=function(a){var b=this.api.getRootNode();g.U(b,"ytp-autohide",a);g.U(b,"ytp-autohide-active",!0);this.Qb.start(a?250:100);a&&(this.yb=!1,g.Lr(b,"ytp-touch-mode"));b=this.api;a=!a;b.Ba("onVideoAreaChange");b.Ba(a?"onShowControls":"onHideControls")};
g.h.AQ=function(){var a=this.api.getRootNode();g.U(a,"ytp-autohide-active",!1)};
g.h.AT=function(a){Lua(this)&&Nua(this,a);var b=vW(this.za);Qya&&Oua(this,a)?b&&g.kH(a):(this.A.o||NX(this,hH(a))||vW(this.za)||(g.NU(this.api).isCued(),g.kH(a)),this.yb=!0,g.T(this.api.getRootNode(),"ytp-touch-mode"),this.A.qc(2,!0))};
g.h.wT=function(a){Oua(this,a)||Lua(this)||Nua(this,a)};
g.h.gC=function(){};
g.h.GD=function(){};
g.h.Nq=function(){var a=g.NU(this.api);g.X(a,2)&&LU(this.api)||(MQ(a)?this.api.pauseVideo():(this.api.app.rd=!0,this.api.playVideo(),document.activeElement==this.ea.H&&this.api.getRootNode().focus()))};
g.h.xT=function(a){NX(this,hH(a))||(a=g.Y(this.api),(a.ba||a.experiments.o("player_fullscreen_disabled_killswitch"))&&3!=this.api.getPresentingPlayerType()&&this.api.toggleFullscreen())};
g.h.yT=function(a){Pua(this,.3,a.scale);g.kH(a)};
g.h.zT=function(a){Pua(this,.1,a.scale)};
g.h.bb=function(){var a=g.OU(this.api).getPlayerSize(),b=this.api.getRootNode(),c=650<=a.width;g.mM&&Gta(this.A);g.U(b,"ytp-fullscreen",this.api.isFullscreen());g.U(b,"ytp-large-width-mode",c);g.U(b,"ytp-small-mode",this.Kh());g.U(b,"ytp-big-mode",this.bd());this.B&&Ota(this.B,a)};
g.h.US=function(a){this.Gr(a.state);this.hh()};
g.h.hh=function(){var a=Rua(this);this.H!=a&&(this.H=a,g.U(this.api.getRootNode(),"ytp-hide-info-bar",!a))};
g.h.Gr=function(a){var b;if(!(b=a.isCued())){if(b=!g.Y(this.api).experiments.o("web_player_preroll_hide_controls_killswitch")){b=this.api;var c=void 0===c?b.playerType:c;b=(c=g.Z(b.app,c))?gU(c):!0}b=b&&3!=this.api.getPresentingPlayerType()}c=b;c!=this.isCued&&(this.isCued=c,this.Pb&&this.Ka(this.Pb),this.Pb=this.R(g.OU(this.api),"touchstart",this.AT,void 0,c));b=a.sb()&&!g.X(a,32)||this.api.Xm();this.A.qc(128,!b);b=3==this.api.getPresentingPlayerType();this.A.qc(256,b);b=this.api.getRootNode();if(g.X(a,
2))var d=["ended-mode"];else d=[],g.X(a,8)?d.push("playing-mode"):g.X(a,4)&&d.push("paused-mode"),g.X(a,1)&&!g.X(a,32)&&d.push("buffering-mode"),g.X(a,32)&&d.push("seeking-mode"),g.X(a,64)&&d.push("unstarted-mode");g.tb(this.Ga,d)||(g.Mr(b,this.Ga),this.Ga=d,g.Kr(b,d));d=g.Y(this.api);var e=g.X(a,2);g.U(b,"ytp-hide-controls",("3"==d.C?!e:"1"!=d.C)||c);g.U(b,"ytp-native-controls","3"==d.C&&!c&&!e);if(g.X(a,128)){this.B||(this.B=new fW(this.api),g.M(this,this.B),g.bV(this.api,this.B.element,4));c=this.B;
b=a.A;for(a=0;a<c.H.length;a++)c.Ka(c.H[a]);c.H=[];d=b.messageKey;a=g.Y(c.B);"play"!=a.playerStyle||"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d&&"UNSUPPORTED_DEVICE"!=d||(d="HTML5_FLASH_DEPRECATED");if("GENERIC_WITHOUT_LINK"!=d||a.hc)"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d||a.hc?"HTML5_FLASH_DEPRECATED"==d?c.Lb(hW(c,"HTML5_FLASH_DEPRECATED","//support.google.com/googleplay/answer/2844198#movies",!1,!0,"Video kullan\u0131lam\u0131yor")):(c.Lb(Rta(b.message)),c.G&&b.subreason&&c.Lb(Rta(b.subreason),"subreason")):
c.Lb(hW(c,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/html5"));else if(b=g.Y(c.B).xg,d="//support.google.com/youtube/?p=player_error1",b&&(d=g.zh(d,{hl:b})),c.Lb(hW(c,"GENERIC_WITH_LINK_AND_CPN",d,!0)),a.ha&&!a.o)for(a=(0,g.B)(c.K,c),b=c.element.getElementsByTagName("a"),d=0;d<b.length;d++)e=c.R(b[d],"click",a),c.H.push(e);this.B.show()}else this.B&&(this.B.dispose(),this.B=null)};
g.h.Uj=function(){return this.api.ee()&&this.api.ue()?(this.api.setCardsVisible(!1,!1),!0):this.api.cg()?(g.MU(this.api,!0),!0):!1};
g.h.XO=function(a){this.uc=a;this.ug()};
g.h.bd=function(){return!1};
g.h.Kh=function(){return!this.bd()&&(480>this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)};
g.h.xk=function(){return this.yb};
g.h.qn=function(){return null};
g.h.ow=function(){var a=g.OU(this.api).getPlayerSize();return new g.Kh(0,0,a.width,a.height)};
g.h.handleGlobalKeyDown=function(){return!1};
g.h.handleGlobalKeyUp=function(){return!1};
g.h.ar=function(){};
g.h.showControls=function(a){void 0!=a&&xY(g.OU(this.api),a)};
g.h.qw=function(){};
g.h.JB=function(){return null};g.kAa=.0035*.006;g.VZ={};var QX=[2,5];$X.prototype.D=function(){var a=aY(this);a.format="2_3";a.at="2_3";a.ad_sys="AdSense";a.trsp="1";eZ(this.o,3,a)};g.C(bY,g.L);bY.prototype.V=function(){this.o.reject();bY.fa.V.call(this)};
bY.prototype.F=function(){this.C++;var a=g.z("yt.www.watch.ads.isAfcAdVisible");a&&g.Ja(a)&&a()&&this.B++;4<=this.B?this.o.resolve():5<=this.C?this.o.reject("Timed out waiting for MPU to become visible"):this.A.start()};var hY,dY=!1,eY=!1,cY=!1;g.vF("showCompanionAdLoaded",function(){eY&&(kva(),eY=!1)});
g.vF("watchAdsInit",function(){dY&&(dY=!1,iva())});g.C(jY,g.vH);jY.prototype.uf=function(){return this.adSystem+"_"+this.adType};
jY.prototype.Ii=function(){return this.uf()};
jY.prototype.Ab=function(){return this.A?this.A.Ab():null};
jY.prototype.abort=g.A;g.C(kY,g.L);kY.prototype.V=function(){kY.fa.V.call(this);g.oe(lY(this));g.oe(uva(this));this.A=this.o=null;delete this.C};g.t(uY,g.L);uY.prototype.start=function(){!this.la()&&isNaN(this.o)&&(this.C=(0,g.J)(),this.o=g.ch(this.D,Math.max(0,this.B-this.A),this))};
uY.prototype.stop=function(){isNaN(this.o)||(this.C=this.A=0,g.dh(this.o),this.o=NaN)};
uY.prototype.pause=function(){isNaN(this.o)||(this.A+=(0,g.J)()-this.C,g.dh(this.o),this.o=NaN)};
uY.prototype.V=function(){isNaN(this.o)||g.dh(this.o);g.L.prototype.V.call(this)};g.C(wY,jY);wY.A=15E3;wY.o=1E3;g.h=wY.prototype;g.h.abort=function(){Dva(this.B,13);this.M||this.A.destroy();this.F=this.G=!1;AY(this)};
g.h.uf=function(){var a=this.Ab();var b=js(a);if(4==sva(b).C)return b;if(Ut(a))a=3;else if(a.isSkippable())a=Vt(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.Ii=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){this.D=this.o.getRootNode();Math.random()<WX(this.o).experiments.A("ima_video_ad_with_overlay_class_logging_percentage")&&(g.Jr(this.D,"ytp-ad-overlay-open")&&g.hF(Error("class ytp-ad-overlay-open is present during video ad is playing")),g.Jr(this.D,"ytp-ad-overlay-closed")&&g.hF(Error("class ytp-ad-overlay-closed is present during video ad is playing")));WX(this.o).experiments.o("ima_clear_overlay_class_during_video_ad")&&(g.Mr(this.D,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]),
g.Mr(lY(this.o.D),["ad-overlay"]));iY();JZ(this.o)&&fY(this.o,{});g.Q_(this.o.player.app,2);this.B.C=g.PH();this.C.subscribe("progresssync",this.iE,this);this.o.o.M&&g.qe(g.Zd("video-ad-status-bar",this.D));g.Kr(this.D,["ad-showing","ad-interrupting"]);this.o.subscribe("resize",this.Py,this);try{this.Z.X(this.A,"adError",this.MW),this.Z.X(this.A,"click",this.LW),this.Z.X(this.A,"complete",this.OW),this.Z.X(this.A,"engagedview",this.sR),this.Z.X(this.A,"pause",this.nH),this.Z.X(this.A,"start",this.oH),
this.Z.X(this.A,"skip",this.RW),this.Z.X(this.A,"MUTE_AD",this.abort),this.Z.X(this.A,"skippableStateChanged",this.OT),this.Z.X(this.A,"youTubeChannelMetadata",this.kS),this.Z.X(this.A,"yt-show-toast",this.OU),this.Z.X(this.A,"companionInitialized",this.NW),JZ(this.o)&&(this.Z.X(this.A,"youtubeKevlarCompanionShow",this.PW),this.Z.X(this.A,"youtubeKevlarCompanionHide",this.IR)),this.Z.X(lY(this.o.D),"mouseup",this.QW),this.Py(),this.M||this.A.start()}catch(a){BY(this,a)}this.o.o.A&&WX(this.o).experiments.o("ad_info_icon_in_card")&&
NZ(this.o,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.qH=function(a,b,c){var d=this;if("newdata"==a&&this.videoData!=c){a=new tva;a.isSkippable=this.P;a.isBumper=this.ba;a.skip=(0,g.B)(this.A.skip,this.A);var e=!1;a.muteAdClicked=function(){e=!0;d.A.muteAdClicked()};
a.muteAd=function(){e||d.A.muteAdClicked();e=!1;d.A.muteAd()};
a.whyThisAdClicked=(0,g.B)(this.A.whyThisAdClicked,this.A);a.whyThisAdClosed=(0,g.B)(this.A.whyThisAdClosed,this.A);a.sendAdsPing=g.yG;a.skipShown=(0,g.B)(this.A.VF,this.A);if(b=this.Ab()){a.clickThroughUrl=fu(b)||"";a.skipTime=nga(b,c.lengthSeconds)||0;a.adSystem=this.adSystem;if(b=Fva(this))a.whyThisAdInfo=b;var f=Gva(this);f&&(a.muteAdInfo=f);var k=WX(this.o);this.o.o.A&&k.experiments.o("ad_info_icon_in_card")&&(k={showAdInfoIcon:!0},k.whyThisAdInfo=b,k.muteAdInfo=f,NZ(this.o,"onAdMetadataAvailable",
k))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.po()||"");c.ol=this.Y;zY(this.o,-1,a)}this.videoData=c};
g.h.pH=function(a){a=a.state;g.X(a,1)||this.H.pause();g.X(a,128)?BY(this,Error(a.A.message||"Video player error.")):g.X(a,1)&&this.H.start()};
g.h.oH=function(){this.K=!0;this.F=!1;if(!this.G){this.G=!0;var a=this.B;sY(a);var b=tY(a);if(isNaN(a.C))sY(a);else{var c=g.PH()-a.C;b.ad_stl=c}rY(a,4,b);this.o.fl(1);yY(this,!1);uP("_start","video_to_ad")&&(this.J&&1!=this.J&&(0,g.iR)("yt_abt",this.J,"video_to_ad"),this.videoData&&this.videoData.clientPlaybackNonce&&(0,g.iR)("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad"),this.videoData&&this.videoData.videoId&&(0,g.iR)("ad_docid",this.videoData.videoId,"video_to_ad"),(0,g.iR)("cpn",XX(this.o).clientPlaybackNonce,
"video_to_ad"),(0,g.JP)("apbs",void 0,"video_to_ad"));NZ(this.o,"onAdAnnounce","Bir video reklam\u0131 oynat\u0131l\u0131yor.")}zY(this.o,1);this.U("adPlay",this)};
g.h.nH=function(){this.K&&(this.K=!1,zY(this.o,2))};
g.h.OW=function(){if(!this.F){var a=this.B;sY(a);var b=tY(a),c=a.o.sm();c?b.ad_fmt=c:sY(a);rY(a,5,b);WX(this.o).Ob&&NZ(this.o,"onAdComplete");AY(this);this.F=this.G=!1}};
g.h.sR=function(){var a=this.B;a.o.U("AD_LOGGING_EVENT",777,tY(a))};
g.h.RW=function(){this.F=!0;var a=this.B,b=tY(a),c=a.o.sm();c?b.ad_fmt=c:sY(a);rY(a,14,b);WX(this.o).Ob&&NZ(this.o,"onAdSkip");AY(this)};
g.h.OT=function(){WX(this.o).experiments.o("html5_ad_no_buffer_abort_after_skippable")&&this.H.dispose();NZ(this.o,"onAdAnnounce","Video reklam\u0131 atlanabilir.")};
g.h.kS=function(){if(!this.la()){var a=this.o.o;if(a){var b=this.Ab();if(b){var c=b.W;b=b.ea;var d=WX(this.o),e=Fva(this),f=Gva(this);b&&c&&c.Be?(a={},a.videoTitle=c.title,a.channelId=b.channelId,a.channelThumbnailUrl=b.channelIconThumbnailUrl,a.channelTitle=b.authorName,a.channelVideoCount=b.videoCount,a.showAdInfoIcon=this.o.o.A&&d.experiments.o("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,NZ(this.o,"onAdMetadataAvailable",a)):a.A&&d.experiments.o("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},
a.whyThisAdInfo=e,a.muteAdInfo=f,NZ(this.o,"onAdMetadataAvailable",a))}}}};
g.h.OU=function(a){NZ(this.o,"onYtShowToast",a.event.o)};
g.h.NW=function(a){a=a.event;var b=a.o;b&&b instanceof g.rg&&this.U("adCompanionInitialized",a.Vb(),b)};
g.h.PW=function(a){if(JZ(this.o)){var b=a.event.Vb();if(a=b&&b.H){b={adHoverTextButtonRenderer:vva(cu(b),du(b))};var c=WX(this.o);a.iframeCompanionRenderer?c.experiments.o("desktop_videowall_companion_wta_support")&&(a.iframeCompanionRenderer.adInfoRenderer=b):a.imageCompanionAdRenderer?c.experiments.o("desktop_image_companion_wta_support")&&(a.imageCompanionAdRenderer.adInfoRenderer=b):a.actionCompanionRenderer?c.experiments.o("desktop_action_companion_wta_support")&&(a.actionCompanionRenderer.adInfoRenderer=
b):a.shoppingCompanionCarouselRenderer&&c.experiments.o("desktop_shopping_companion_wta_support")&&(a.shoppingCompanionCarouselRenderer.adInfoRenderer=b);fY(this.o,a)}}};
g.h.IR=function(){JZ(this.o)&&fY(this.o,{})};
g.h.MW=function(a){var b={};try{b.error_code=a.event.getError().Fb()}catch(c){b.error_code=900,b.error_message=c.toString()}Dva(this.B,32,b);BY(this,a.event.getError())};
g.h.LW=function(){var a=this.B;sY(a);var b=tY(a);if(a.A){var c=ZX(a.B);b.ck_xy=Math.round(a.A.x-c.left)+"x"+Math.round(a.A.y-c.top);b.ck_wh=c.width+"x"+c.height}rY(a,15,b);this.A.pause();this.U("select")};
g.h.iE=function(){};
g.h.cE=function(){this.A.Ff();if(this.G&&!this.F){var a=this.B;a.o.U("AD_LOGGING_EVENT",19,tY(a))}yY(this,!0)};
g.h.V=function(){this.o.unsubscribe("control_toggle_play_pause",this.rH,this);this.o.unsubscribe("control_play",this.gx,this);this.o.unsubscribe("control_pause",this.fx,this);this.o.unsubscribe("resize",this.Py,this);g.qH(this.Z);this.C.unsubscribe("statechange",this.pH,this);this.C.unsubscribe("internalAbandon",this.cE,this);this.C.unsubscribe("internalvideodatachange",this.qH,this);this.C.unsubscribe("progresssync",this.iE,this);this.M||this.A.destroy();this.L&&(g.oe(this.L),this.L=null);this.W&&
(g.qe(this.W),this.W=null);this.D&&(g.Mr(this.D,["ad-showing","ad-interrupting"]),this.D=null);this.F=!1;Kwa(this.o);this.H.dispose();this.H=null;wY.fa.V.call(this)};
g.h.Bp=function(){return this.C.getDuration()};
g.h.sm=function(){return this.videoData&&this.videoData.Ca?this.videoData.Ca.mimeType:null};
g.h.po=function(){return this.videoData&&this.videoData.Zd?this.videoData.Zd.Fk().o:null};
g.h.rH=function(){this.K?this.fx():this.gx()};
g.h.gx=function(){this.A.resume();this.oH()};
g.h.fx=function(){this.A.pause();this.nH()};
g.h.Py=function(){g.oi(lY(this.o.D),this.o.app.H.getPlayerSize())};
g.h.QW=function(a){a=new g.Od($G(a),aH(a));this.B.A=a};g.C(EY,jY);g.h=EY.prototype;g.h.Bp=function(){};
g.h.sm=function(){};
g.h.po=function(){};
g.h.show=function(){if(!this.D||!TZ(this.o)){var a=this.o.getRootNode();g.T(a,"ad-showing");this.C=lY(this.o.D);a=this.A.Ab().getHeight();this.C.style.height=ci(a,!0);g.T(this.C,"ad-overlay");this.Z.X(this.C,"mouseup",this.VW);try{this.Z.X(this.A,"autoClose",this.yQ),this.Z.X(this.A,"userClose",this.oU),this.Z.X(this.A,"click",this.TW),this.Z.X(this.A,"impression",this.GR),this.Z.X(this.A,"why_this_ad_url",this.Ww),this.Z.X(this.A,"why_this_ad_got_it",this.Vw),this.Z.X(this.A,"adError",this.SW),JZ(this.o)&&
this.Z.X(this.A,"youtubeKevlarCompanionShow",this.UW),this.Ec("normal"),this.El(),this.H||this.A.start(),this.Qy(),this.G=!0,this.o.subscribe("resize",this.El,this),this.o.subscribe("presentingplayerstatechange",this.sH,this),this.U("adEnd",this)}catch(b){this.U("adError",b)}}};
g.h.Ww=function(){(this.F=2==G0(this.o.app))||this.o.pauseVideo()};
g.h.Vw=function(){this.F||this.o.playVideo()};
g.h.UW=function(a){JZ(this.o)&&(a=(a=a.event.Vb())&&a.H)&&fY(this.o,a)};
g.h.V=function(){var a=this.o.getRootNode();g.Mr(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.qH(this.Z);this.o.unsubscribe("resize",this.El,this);this.o.unsubscribe("presentingplayerstatechange",this.sH,this);g.Lr(a,"ad-showing");this.A&&(this.H||this.A.destroy(),this.A=null);this.C&&g.Lr(this.C,"ad-overlay");this.C=null;this.D=!1;EY.fa.V.call(this)};
g.h.oU=function(){this.C&&this.A&&this.A.Ab()&&(this.C.style.height=ci(0,!0));this.D=!0;var a=this.B;a.A=(0,g.J)();var b=DY(a);CY(a,6,b);FY(this,!1)};
g.h.yQ=function(){FY(this,!1)};
g.h.TW=function(){this.o.pauseVideo();var a=this.B;a.A=(0,g.J)();var b=DY(a);if(a.C){var c=ZX(a.D);b.ck_xy=Math.round(a.C.x-c.left)+"x"+Math.round(a.C.y-c.top);b.ck_wh=c.width+"x"+c.height}CY(a,100,b)};
g.h.GR=function(){NZ(this.o,"onAdAnnounce","Reklam g\u00f6r\u00fcnt\u00fclendi.");FY(this,!0)};
g.h.VW=function(a){this.B.C=a.target==a.currentTarget?null:new g.Od(a.pageX,a.pageY)};
g.h.SW=function(a){this.U("adError",a.event.getError())};
g.h.sH=function(a){g.X(a.state,16)&&this.Ec("normal")};
g.h.Ec=function(a){this.J!=a&&(this.J=a,this.G&&this.El())};
g.h.El=function(){var a=wi(this.C);if(this.A.Ab()){var b=this.A.Ab().ab(),c=this.A.Ab().getHeight();(b>a.width||c>a.height)&&FY(this,!1)}};
g.h.Qy=function(){var a=this.B;a.B=(0,g.J)();var b=DY(a);CY(a,3,b)};g.C(GY,g.L);GY.A="rm";GY.o=10;GY.D=200;GY.C=200;GY.B=190;g.h=GY.prototype;
g.h.load=function(){var a=this.o.getPlayerSize();if(this.o.o.D)var b=!1;else b=0<(this.F&3)?190:200,b=200>a.width||a.height<b;if(b){b=this.C;var c=aY(b);c.ck_wh=a.width+"x"+a.height;MZ(b.o,14,c);iY();gZ(this.D)}else if(this.qb=this.o.qb)a=this.C,eZ(a.o,9,aY(a)),a=fva(this.o),(b=this.o.o.serverPrefetchedVast)&&0<(this.F&3)?(a.A=b,this.o.o.serverPrefetchedVast=void 0):a.o=this.vh(),this.qb.X("adsManagerLoaded",this.lH,!1,this),this.qb.X("adError",this.kH,!1,this),this.EF(this.qb,a)};
g.h.ru=function(){var a=Wua(this.o.o,WX(this.o),XX(this.o));a.surveyCreativeData=this.o.o.surveyCreativeData;a.wW=this.H;return a};
g.h.lH=function(a){if(a.A===this){(0,g.JP)("aml");vP("aml");try{var b=this.ru(),c=a.o}catch(d){this.Th(d);return}this.B.X(c,"companionBackfill",(0,g.B)(this.KW,this,c));this.B.X(c,"loaded",(0,g.B)(this.JW,this,c));this.B.X(c,"adError",(0,g.B)(this.IW,this,c));this.B.X(c,"allAdsCompleted",g.A);this.B.X(c,"contentPauseRequested",g.A);this.B.X(c,"contentResumeRequested",g.A);c=hC(a,this.o.F,{},b);try{c.init("normal")}catch(d){c.destroy(),this.Th(d)}}};
g.h.JW=function(a,b){g.lo(this.B);var c=b.Vb(),d=c.ac(),e=this.C,f=aY(e);f.ad_man=d?"instream":"overlay";eZ(e.o,12,f);e=a.xh();switch(d?this.Pp(a,c,e):this.Mi(a,c)){case 0:Zva(this.D,this.J,this.A);break;case 1:a.destroy();gZ(this.D);break;case 2:c=this.C;MZ(c.o,21,aY(c));a.destroy();gZ(this.D);break;case 3:gZ(this.D);break;default:a.destroy()}};
g.h.IW=function(a,b){g.lo(this.B);a.destroy();this.Th(b.getError())};
g.h.kH=function(a){var b=a.getError();"adLoadError"==b.Zb()&&a.o===this&&this.Th(b)};
g.h.KW=function(){Iva(this)};
g.h.Pp=function(a,b,c){var d=XX(this.o)&&XX(this.o).ol;if(d&&c&&!this.K.test(c))return 3;IY(this,hu(b));HY(this,new wY(this.H,this.o,a,b.isSkippable(),b.isBumper(),void 0,d,this.A.o));return 0};
g.h.Mi=function(a,b){IY(this,hu(b));HY(this,new EY(this.H,this.o,a));return 0};
g.h.Th=function(a){if(a){var b=this.C,c=aY(b);a&&Vua(a,c);MZ(b.o,32,c);gZ(this.D)}};
g.h.V=function(){this.qb&&(this.qb.Ka("adsManagerLoaded",this.lH,!1,this),this.qb.Ka("adError",this.kH,!1,this));g.lo(this.L);g.lo(this.B);GY.fa.V.call(this)};
g.h.EF=function(a,b){try{oE(a,b,this),(0,g.JP)("ar"),vP("ar")}catch(c){this.Th(c)}};g.C(JY,jY);g.h=JY.prototype;g.h.Bp=function(){};
g.h.sm=function(){};
g.h.po=function(){};
g.h.show=function(){if(JZ(this.o))fY(this.o,{afcMpu:{logImpression:this.mH.bind(this),logNoAd:this.Ru.bind(this)}});else if(cY)this.Ru();else{var a=WX(this.o).experiments;iva();gY();lva(a).then((0,g.B)(this.mH,this),(0,g.B)(this.Ru,this))}};
g.h.mH=function(){var a={ad_sys:"AdSense"};a.at=this.Ii();a.format=this.uf();this.U("AD_LOGGING_EVENT",3,a);this.U("adEnd",this)};
g.h.Ru=function(){var a={};a.at=this.Ii();this.U("AD_LOGGING_EVENT",2,a);this.U("adEnd",this)};g.C(KY,GY);KY.prototype.ru=function(){var a=KY.fa.ru.call(this);a.eA=0==this.slotId;a.MJ=TZ(this.o)?a.eA:!0;return a};
KY.prototype.vh=function(){var a=SX(this.A);var b=this.G;(b=4==this.F&&b.o.afvInvideoAdTag?b.o.afvInvideoAdTag:b.o.afvAdTag)?(g.wb(b,"http:")&&(b=b.substr(5)),a=g.NF(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
KY.prototype.Mi=function(a,b){if(this.o.o.D)return 1;if(1==this.A.o){var c=new RX(2,10);this.A=c;this.C.C=c;eZ(this.o,1)}return KY.fa.Mi.call(this,a,b)};g.C(LY,EY);LY.prototype.El=function(){};
LY.prototype.uf=function(){return"1_3"};
LY.prototype.Qy=function(){1==this.K?this.U("AD_LOGGING_EVENT",2,{}):LY.fa.Qy.call(this)};g.C(MY,GY);MY.prototype.vh=function(){var a=this.G,b=SX(this.A);if(0<(this.F&3)){var c="mid,"+a.Ib;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");a=new g.Pn(a.o);b=a.o;var e=b.get("scp","");e=(e?e+"&":"").replace(RegExp("&?pos=[^&]*","g"),"");b.set("scp",e+("pos="+c));b.set("vpos",d);c=a.toString()}else c=a.o;return c};
MY.prototype.Mi=function(a,b){IY(this,hu(b));var c=Rt(b);if(VX(c,"rm"))return 1==this.F||TZ(this.o)||iY(),a.bl(),2;if(VX(c,"blockAllAds"))return a.bl(),HY(this,new LY(this.o,a,1)),0;if(VX(c,"hideMaster"))return HY(this,new LY(this.o,a,0)),0;if(this.o.o.D)return 1;HY(this,new EY(this.H,this.o,a));return 0};g.C(NY,GY);NY.A="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";NY.C="43";NY.o=function(a){var b=new RE;g.cG(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,Hd:function(){var c=Error(a+" timed out");VE(b);TE(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);VE(b);TE(b,!1,c)},
onSuccess:function(c){b.Ql(c)}});
return b};
NY.prototype.vh=function(){return""};
NY.prototype.EF=function(a,b){var c=this.F;c&1||c&4||c&8?this.G?c&8?nva(this.G):("goo.gl"==g.ph(this.G)?(c=NY.o("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.G),XE(c,function(d){d=JSON.parse(d.responseText);if(!d)throw Error("Invalid expanded forced ad URL.");if(!d.longUrl)throw Error("Missing forced ad URL information.");d=new g.Pn(d.longUrl);g.Yn(d,"video_format","43");return NY.o(d.toString())},this)):c=NY.o(this.G),XE(c,function(d){b.A=
d.responseText;
oE(a,b,this)},this),WE(c,null,this.Th,this)):this.Th(Error("Invalid empty URL")):this.Th(Error("Invalid request type: "+c))};var OY=null;g.t(Qva,g.jQ);g.t(QY,g.jQ);g.h=QY.prototype;g.h.V=function(){g.jQ.prototype.V.call(this);this.clear()};
g.h.bind=function(a,b){Sva(this,a);this.H=b||Rva()};
g.h.clear=function(){this.D.clear();this.F.stop()};
g.h.start=function(){this.F.start();this.ky()};
g.h.cQ=function(a){this.B||(this.B=new yV(a.target),g.M(this,this.B),this.element.appendChild(this.B.o.sa()));this.B.bind(this.H);this.B.show()};
g.h.ky=function(){RV(this.D)};
g.h.sL=function(){this.K.start()};g.C(RY,jY);RY.prototype.Bp=function(){};
RY.prototype.sm=function(){};
RY.prototype.po=function(){};
RY.prototype.show=function(){var a=XX(this.o).videoId;if(a){var b=this.A.Ab();WX(this.o).J.add(a,{ri:Mu(b)||null,rl:Nu(b)||null});if(JZ(this.o)){var c=Tva(this);g.Za(c)||(a=cu(this.A.Ab())||void 0,c={shopText:mY(mt(c[0],"teaser_text")),sponsoredText:mY("Sponsorlu"),itemList:{horizontalListRenderer:{items:(0,g.K)(c,yva),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",
size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}}},a?(c.adInfoButton={buttonRenderer:{style:"STYLE_OPACITY",size:"SIZE_DEFAULT",icon:{iconType:"INFO"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},nY(c.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a)):c.adInfoText=mY("Videoyla ilgili oldu\u011funu d\u00fc\u015f\u00fcnd\u00fc\u011f\u00fcm\u00fcz i\u00e7in bu \u00fcr\u00fcn\u00fc g\u00f6r\u00fcyorsunuz. Google, sat\u0131c\u0131 taraf\u0131ndan tazmin edilebilir."),NZ(this.o,
"onPlaShelfInfoCardsReady",{renderer:c}))}else if(a=Tva(this),!g.Za(a)){c=cu(this.A.Ab());if(c){var d={};nY(d,c);d=d.dialog.adInfoDialogRenderer}this.C.bind(a,d);a=this.C.element;Lva().then(g.Na(Mva,a)).then(this.C.start,null,this.C)}a={};a.format=this.uf();a.at=this.Ii();UX(b,a);this.U("AD_LOGGING_EVENT",3,a)}};g.C(SY,GY);SY.prototype.vh=function(){return""};
SY.prototype.Mi=function(a,b){IY(this,hu(b));HY(this,new RY(this.o,a));5!=this.A.o&&Iva(this);return 0};
SY.prototype.Pp=function(){return 1};g.C(TY,SY);TY.prototype.vh=function(){return this.o.o.ya||""};g.C(XY,EY);XY.prototype.El=function(){};
XY.prototype.uf=function(){return"4_3"};g.C(YY,GY);
YY.prototype.vh=function(){if(g.G(this.G)||0!=SX(this.A)){var a=this.M;if(a.o.ka&&a.o.za){var b={};var c="youtube_watch_"+a.C;b.nw="10613";b.asnw=a.o.ka;b.ssnw=a.o.ka;b.caid=a.o.za;b.vdur=a.F;b.csid=c;b.resp="vast2";b.metr="121";c={};isNaN(a.o.age)||(c._fw_d_001=a.o.age);a.o.gender&&(c._fw_d_002=a.o.gender);a.o.xa&&(c["_fwu:10613:lang"]=a.o.xa);a.o.ua&&(c._fw_dbp=a.o.ua);a.o.contentVideoId&&(c._fw_distributorvideoassetid=a.o.contentVideoId);c._fw_yt_type=Wva(a)?"long":"short";b.prof=Wva(a)?"10613:youtube_html5_w_midroll":
"10613:10613_youtube_html5_2014";b.crtp="youtube";b.flag=UY(a.A)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.D&1&&!a.H){var e={};d=Vva(a);if(WY(a.A)){if(WY(a.A)){var f=0;var k=a.B.A;if(k){k=k.Db;for(var l=0;l<k.length&&(WY(k[l])&&f++,k[l].getId()!=a.A.getId());l++);}}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";a.o.F&&!a.o.C?d=";linear-skippable":!a.o.F&&a.o.C&&(d=";video");e.slau=Vva(a)+d;e.tpos=VY(a.A)?a.F.toString():SX(a.A.Xb).toString();d=IF(e)+";";e={slid:"page_display1",w:"300",
h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};d+=IF(e)+";"}a.D&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=UY(a.A)?"10":VY(a.A)?a.F.toString():SX(a.A.Xb).toString(),d+=IF(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=IF(e)+";");a.D&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=IF(e)+";");a=d.substr(0,d.length-1);b="//2975c.v.fwmrm.net/ad/g/1?"+IF(b)+";"+IF(c)+";"+a}else b=""}else b=this.G;return b};
YY.prototype.Pp=function(a,b){return YY.fa.Pp.call(this,a,b,null)};
YY.prototype.Mi=function(a,b){var c=Rt(b);if(VX(c,"rm"))return this.D.D=g.hc(a),2;if(this.o.o.D)return 1;if(VX(c,"hideMaster")){if(a.fe&&a.fe.Di()){c=a.fe.Di();var d=a.Ab();if(R()){var e=d.K;d.K=[];d=e}else d=[];c.impressionUrls=d}HY(this,new XY(this.o,a));return 0}return YY.fa.Mi.call(this,a,b)};ZY.prototype.Zb=function(){return this.A};
ZY.prototype.create=function(a,b){switch(this.A){case 1:return new KY(a,b,this.o);case 2:return new MY(a,b,this.o);case 5:return new YY(a,b,this.o);case 4:return new NY(a,b);case 7:return new SY(a,b,this.o);case 8:return new TY(a,b,this.o);default:return null}};g.C($Y,g.vH);g.h=$Y.prototype;g.h.Jb=function(){return"loaded"==this.B||"error"==this.B};
g.h.getId=function(){return this.Ja};
g.h.show=function(){this.H?this.o instanceof EY&&this.o.Ec("normal"):(this.H=!0,this.o instanceof wY&&this.C.Fe("bs"),this.o.subscribe("adEnd",this.hE,this),this.o.subscribe("adError",this.hH,this),this.o.subscribe("AD_LOGGING_EVENT",this.jH,this),this.o.subscribe("select",this.gH,this),this.o.subscribe("adCompanionInitialized",this.iH,this),this.o.show(),$va(this,!0))};
g.h.hE=function(){this.A&&(hZ(this),Jwa(this.C));dZ(this)};
g.h.hH=function(a){if(a){var b={};Vua(a,b);fZ(this,b);MZ(this.C,32,b)}hZ(this);dZ(this)};
g.h.jH=function(a,b){fZ(this,b);eZ(this.C,a,b)};
g.h.gH=function(){this.G=!1};
g.h.iH=function(a,b){this.U("adCompanionInitialized",a,b)};
g.h.V=function(){hZ(this);this.o=null;null!=this.D&&(this.D.dispose(),this.D=null);$Y.fa.V.call(this)};var fwa=[new RX(1)];var gwa={II:"m",qI:"f"};g.C(iZ,g.L);iZ.prototype.D=function(a){if(a=a.Vb()){var b=a.G;if(null!=b){var c=vY(this.C.player.app,2);c&&c.getVideoData().videoId==b?c.B?(c=c.B,b=dR(c,"engage"),b.D=1,c=doa(c.o),b=g.Na(uoa,b.ua,$Q(b),YQ(b),c)):b=null:b=null;this.A=b}Pwa(this.C,a)}else g.hF(Error("Ad object is missing in AdEvent"))};
iZ.prototype.B=function(){this.o&&this.A&&this.A()};g.C(jZ,g.L);g.h=jZ.prototype;g.h.qG=function(){this.o.subscribe("beginseeking",this.bp,this)};
g.h.gG=function(a,b){return a.A&&WY(a)?b+this.B+this.C:b};
g.h.fG=function(a,b){return!a.A||VY(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.B+this.C};
g.h.Zz=function(a){if(a.A&&WY(a)&&!(0>=this.C)){var b={priority:2,id:String(a.getId()),style:"ytp-ad-fadeout"},c=bZ(a)+this.B;b=new g.jR(c,c+this.C-1,b);this.D[a.getId()]=b;rZ(this.o,[b])}};
g.h.wH=function(a){a.A&&WY(a)&&(jwa(this,a.getId()),this.bp())};
g.h.bp=function(){isNaN(this.A)||(g.qF(this.A),this.A=NaN);var a=PZ(this.o);kZ(this,a,this.o.app.K.getVolume()/100);a.Fd("transition","");a.Fd("opacity","1")};
g.h.xH=function(a){var b=bZ(a)+this.B+this.C;b=50>=1E3*this.o.getCurrentTime(1)-b;a.A&&WY(a)&&b&&(a=.001*(bZ(a)+this.G),this.o.seekTo(a),0>=this.F||(a=PZ(this.o),a.Fd("opacity","0"),kZ(this,a,0),WX(this.o).experiments.o("use_async_run_for_execution_in_ima")?g.Dg(this.uH,this):g.oF((0,g.B)(this.uH,this),0)))};
g.h.uH=function(){var a=PZ(this.o);a.Fd("transition","opacity "+String(this.F)+"ms linear");a.Fd("opacity","1");kwa(this,a,this.F,1)};
g.h.vH=function(a,b,c){if(!isNaN(this.A)){var d=Math.max(1,b-(0,g.J)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);kZ(this,a,d);this.A=0<d?$V((0,g.B)(this.vH,this,a,b,c),c):NaN}};
g.h.tH=function(a,b,c){if(!isNaN(this.A)){var d=Math.max(1,b-(0,g.J)()),e=this.o.app.K.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);kZ(this,a,d);this.A=d<e?$V((0,g.B)(this.tH,this,a,b,c),c):NaN}};
g.h.V=function(){this.bp();this.o.unsubscribe("beginseeking",this.bp,this);jZ.fa.V.call(this)};g.C(lZ,jZ);g.h=lZ.prototype;g.h.qG=g.A;g.h.gG=function(a,b){return b};
g.h.fG=function(a,b){return b};
g.h.Zz=g.A;g.h.wH=g.A;g.h.xH=g.A;g.h.V=g.A;g.C(mZ,g.L);mZ.prototype.A=function(){if(this.B){var a=this.o.o;if(null!=a&&(a=a.o,!(0>=a))){var b=this.o.player.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Mb(this.F.C,function(k){k.Jb();if(k.isVisible&&!(0>=oZ(this,k))){var l=k.getId();l=this.F.D[l];if(oZ(this,k)>b){var m=!pZ(this,k);m!=l.visible&&(l.visible=m,c.push(l));m||(l=oZ(this,k)-b,l<e&&(e=l,d=k))}else l.visible||(l.visible=!0,c.push(l))}},this);
0<c.length&&rZ(this.o,c,1);if(d){var f=0;0<this.C&&(f=(0,g.J)()/1E3-this.C);lwa(this,a-f-e+2)}else nZ(this)}}};
mZ.prototype.V=function(){nZ(this);this.o.unsubscribe("endseeking",this.A,this);mZ.fa.V.call(this)};g.C(qZ,g.L);g.h=qZ.prototype;g.h.Mk=function(a){a.unsubscribe("adBreakComplete",this.Mk,this);a.unsubscribe("adCompanionInitialized",this.Pw,this);WX(this.A).experiments.o("use_async_run_for_execution_in_ima")?g.Dg((0,g.B)(this.fE,this,a)):this.W=g.oF((0,g.B)(this.fE,this,a),0)};
g.h.Pw=function(a,b){g.Of(this.K);this.K=new iZ(this.A,b)};
g.h.fE=function(a){var b=owa(this,a),c=b.previous;b=b.next;this.W=NaN;var d=!1;switch(a.Xb.o){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.Ca(b.Xb.A)?bZ(b)-1:0x7ffffffffffff}0==a.Ja&&(this.A.Fe("bl"),aZ(a)||this.A.Fe("fb"));"loaded"!=a.B||0==a.Ja&&aZ(a)&&b&&1E3*this.A.player.getCurrentTime()>=bZ(b)?(c&&c.Jb()&&!d&&(b=e,e=bZ(c),e>b&&(b=e),qwa(this,c),pwa(this,c,b)),this.zi(a)):(this.C[a.getId()]=a,pwa(this,a,e),cZ(this.A));g.Sb(this.C)==this.Db.length&&this.J.A();
mwa(this)};
g.h.zi=function(a){a.unsubscribe("adBreakComplete",this.Mk,this);a.unsubscribe("adBreakComplete",this.Bn,this);this.o&&a==this.o&&(this.o=null,null!=this.K&&a.A&&(this.K.o=!0));qwa(this,a);g.db(this.Db,a);delete this.C[a.getId()];g.Of(a)};
g.h.Xj=function(a){return this.C[a]};
g.h.Bn=function(a){a.unsubscribe("adBreakComplete",this.Bn,this);if(a.A){!VY(a)&&a.G?(RZ(this.A),this.B.xH(a)):aZ(a)&&!a.G?RZ(this.A):QZ(this.A);this.zi(a);a=this.J;if(a.B){var b=a.o.o;b&&0<b.o&&(a.C=(0,g.J)()/1E3,a.A())}for(;!g.Za(this.M);)rwa(this,this.M.shift())}else a.isVisible||this.zi(a)};
g.h.V=function(){g.qF(this.W);g.Of(this.B);g.Of(this.J);(0,g.E)(this.Db,this.zi,this);g.Of(this.K);qZ.fa.V.call(this)};g.C(sZ,qZ);g.h=sZ.prototype;g.h.Xj=function(a){a=sZ.fa.Xj.call(this,a);if(!a)return null;if(!a.J)return a;var b=null;if(this.F.length){var c=b=this.F.shift();c.Xb=a.Xb;c.Ja=a.getId()}b&&"loaded"==b.B?(a.unsubscribe("adBreakComplete",this.Mk,this),this.C[a.getId()]=b,this.Db[this.Db.indexOf(a)]=b,g.Of(a)):(this.Rk(),b&&(g.Of(b),b=null,this.zi(a)));b&&!b.A&&this.Rk();return b};
g.h.Mk=function(a){!UY(a)&&(2!=a.Xb.o||10!=SX(a.Xb))||"loaded"==a.B&&a.A||this.Rk();sZ.fa.Mk.call(this,a)};
g.h.Bn=function(a){a.A&&10<this.P?(tZ(this),this.Y=g.oF((0,g.B)(this.Rk,this),1E3*(this.P-10))):this.Rk();sZ.fa.Bn.call(this,a)};
g.h.Rk=function(){if(!this.la())for(tZ(this);this.H.length&&this.L.length+this.F.length<this.aa;){var a=this.H.shift();a.subscribe("adBreakComplete",this.gE,this);this.L.push(a);gZ(a)}};
g.h.gE=function(a){a.unsubscribe("adBreakComplete",this.gE,this);g.db(this.L,a);this.F.push(a)};
g.h.V=function(){tZ(this);g.E(this.L,g.Of);g.E(this.F,g.Of);g.E(this.H,g.Of);sZ.fa.V.call(this)};g.C(uZ,qZ);uZ.prototype.getVideoData=function(){return null};
uZ.prototype.ga=function(a){"loaded"==a.B&&this.H.push(a);a.unsubscribe("adBreakComplete",this.ga,this)};
uZ.prototype.P=function(){if(null!=this.o&&0<this.H.length){var a=this.H.shift();delete this.C[SX(a.Xb)];var b=Math.floor((0,g.J)()/1E3)-this.ea;this.ea=null;a.unsubscribe("adBreakComplete",this.P,this);this.zi(a);this.o=null}0<this.L?(this.L--,swa(this)):(RZ(this.Y),isFinite(b)&&(this.aa?this.F.seekTo(Infinity,!0):this.F.seekTo(this.F.getCurrentTime()+b,!0)))};twa.prototype.Ng=function(){var a={allowed:this.A};this.o.excludedAds&&(a.ex_ad=this.o.excludedAds);this.C&&(a.at=this.C);return a};g.C(vZ,g.L);vZ.prototype.G=function(){this.o||(this.o=uwa(this.B.Qe()));rZ(this.A,g.Ub(this.o),1)};
vZ.prototype.C=function(){if(this.o){var a=this.A.player.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.E)(this.B.Qe(),function(k){var l=this.o[k];if(l){var m=this.B.Xj(k);m&&m.Gc>a?(k=!this.je.A(m),k!=l.visible&&(l.visible=k,b.push(l)),k||(l=m.Gc-a,l<d&&(d=l,c=m))):!m||m.sb()?(g.ZU(this.A.player,[l],void 0),delete this.o[k]):!l.visible&&m&&(l.visible=!0,b.push(l))}},this);
0<b.length&&rZ(this.A,b,1);var e=this.A.o;if(null!=e&&(e=e.o,0>=e))if(c){var f=0;0<this.F&&(f=(0,g.J)()/1E3-this.F);vwa(this,e-f-d+2)}else wZ(this)}};
vZ.prototype.V=function(){this.A.unsubscribe("endseeking",this.C,this);wZ(this);vZ.fa.V.call(this)};g.C(xZ,g.L);g.h=xZ.prototype;g.h.GB=function(){return 4};
g.h.Vr=function(a){return a};
g.h.vF=function(){return!1};
g.h.aA=g.A;g.h.qo=g.A;g.h.yH=g.A;g.h.zH=g.A;g.h.AH=g.A;g.C(yZ,g.L);g.h=yZ.prototype;g.h.GB=function(){return 4-this.B/1E3};
g.h.Vr=function(a){return Xb(this.C,1E3*a)?this.C[1E3*a]/1E3:a};
g.h.vF=function(a){var b=!1,c={};(0,g.E)(se(a),(0,g.B)(function(d){var e;if(e=(e=d.getAttribute("timeOffset"))?wwa(e):null)b=b||xwa(d),c[e]=d},this));
if(!b||0==g.Sb(c))return!1;a=(0,g.K)(g.Vb(c),function(d){return parseInt(d,10)});
if(!Awa(this,a))return!1;g.Mb(c,(0,g.B)(function(d,e){var f=parseInt(Zb(this.C,function(k){return k==e}),10);
f&&d.setAttribute("timeOffset",ywa(f))},this));
return!0};
g.h.aA=function(a){if(!(0>=this.K)){var b=[];(0,g.E)(a,(0,g.B)(function(c){if(Xb(this.C,1E3*c)){var d=new g.jR(1E3*this.Vr(c)+this.B,1E3*c+500,{priority:2,id:String(c),style:"ytp-ad-fadeout"});this.D[c]=d;b.push(d)}},this));
rZ(this.o,b)}};
g.h.yH=function(a){if(Xb(this.C,1E3*a)){var b=PZ(this.o);null!==b&&(a=Math.max(0,1E3*a-1E3*this.o.getCurrentTime(1)),b.Fd("transition","opacity "+String(a)+"ms linear"),b.Fd("opacity","0"),Bwa(this,b,a,0))}};
g.h.zH=function(a){zZ(this,1E3*a)&&(this.D[a]&&(g.ZU(this.o.player,[this.D[a]],void 0),delete this.D[a]),this.qo())};
g.h.GH=function(){g.X(g.NU(this.o.player),4)&&this.qo()};
g.h.qo=function(){var a=PZ(this.o);null!==a&&(null!=this.A&&(g.qF(this.A),this.A=null),AZ(this,a,this.o.app.K.getVolume()/100),a.Fd("transition",""),a.Fd("opacity","1"))};
g.h.AH=function(a){if(Xb(this.C,1E3*a)){var b=1E3*a;200>=1E3*this.o.getCurrentTime(1)-b&&(this.o.seekTo(this.Vr(a)+this.J/1E3),0>=this.F||(a=PZ(this.o),null!==a&&(a.Fd("opacity","0"),AZ(this,a,0),null!=this.A&&g.qF(this.A),this.A=$V((0,g.B)(this.cX,this),0))))}};
g.h.cX=function(){var a=PZ(this.o);null!==a&&(a.Fd("transition","opacity "+String(this.F)+"ms linear"),a.Fd("opacity","1"),Bwa(this,a,this.F,1))};
g.h.FH=function(a,b,c){if(null!==this.A){var d=Math.max(1,b-(0,g.J)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);AZ(this,a,d);0<d?this.A=$V((0,g.B)(this.FH,this,a,b,c),c):this.A=null}};
g.h.EH=function(a,b,c){if(null!==this.A){var d=Math.max(1,b-(0,g.J)()),e=this.o.app.K.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);AZ(this,a,d);d<e?this.A=$V((0,g.B)(this.EH,this,a,b,c),c):this.A=null}};
g.h.V=function(){this.qo();this.o.unsubscribe("applicationplayerstatechange",this.GH,this);yZ.fa.V.call(this)};g.C(BZ,g.L);var Hwa={ADSENSE:2,"ADSENSE/ADX":2,"YT:ADSENSE":2,DART:1,DART_DFA:1,DART_DFP:1,GDFP:1,"YT:DOUBLECLICK":1,FREEWHEEL:4,"YT:SHOPPING":14,SHOPPING:14,"ADSENSE-VIRAL":15,"YT:ADSENSE-VIRAL":15,"VIRAL-RESERVE":17,"YT:VIRAL-RESERVE":17};g.h=BZ.prototype;
g.h.load=function(a){if(this.qb=this.o.qb){var b=this.o.o;this.F=b.applyFadeOnMidrolls?new yZ(this.o):new xZ;var c=fva(this.o);c.A=Dwa(this,a);if(c.A){c.Tp=this.o.F.H;c.fc.TSLA=gva(this);c.fc.GET_MIDROLL_POSITION_IN_SEC=(0,g.B)(this.F.Vr,this.F);c.fc.DESCRIPTION_URL="http://www.youtube.com/video/"+XX(this.o).videoId;if(a=awa(b).get(3)){var d="";a&2&&a&1?d="video":a&2?d="skippablevideo":a&1&&(d="standardvideo");a&4&&(d&&(d+="_"),d+="text_image_flash");c.C=d;if(b=b.Ga)c.J=b}this.qb.X("adsManagerLoaded",
this.CH,!1,this);this.qb.X("adError",this.BH,!1,this);oE(this.qb,c,this);this.o.Fe("bd")}}};
g.h.CH=function(a){if(a.A===this){var b={};Object.defineProperty(b,"currentTime",{get:(0,g.B)(function(){return this.o.getCurrentTime(1)},this),
enumerable:!0});Object.defineProperty(b,"duration",{get:(0,g.B)(function(){return this.o.player.getVideoData().lengthSeconds},this),
enumerable:!0});try{var c=Ewa(this);this.A=hC(a,this.o.F,b,c)}catch(d){DZ(this,d);return}if(this.je=this.A.YF(b,this.o.o.o)){this.F.aA(this.A.Qe());this.G=new vZ(this.o,this.A,this.je);g.M(this,this.G);WX(this.o).experiments.o("use_async_run_for_execution_in_ima")?g.Dg(this.G.G,this.G):g.oF((0,g.B)(this.G.G,this.G),0);g.Ya(this.A.Qe(),0)||CZ(this);this.D.X(this.A,"companionBackfill",(0,g.B)(this.ZW,this));this.D.X(this.A,"prefetched",(0,g.B)(this.fQ,this));this.D.X(this.A,"loaded",(0,g.B)(this.XW,
this));this.D.X(this.A,"adError",(0,g.B)(this.WW,this),!1);this.D.X(this.A,"start",(0,g.B)(this.YW,this));this.D.X(this.A,"complete",(0,g.B)(this.bQ,this));this.D.X(this.A,"adNotify",(0,g.B)(this.Cn,this));this.D.X(this.A,"discardAdNotify",(0,g.B)(this.Nk,this));this.D.X(this.A,"companionInitialized",(0,g.B)(this.aX,this));this.D.X(this.A,"contentPauseRequested",(0,g.B)(this.Uh,this));this.D.X(this.A,"contentResumeRequested",(0,g.B)(this.lg,this));this.D.X(this.A,"allAdsCompleted",g.A);this.K.R(this.o.player,
"applicationplayerstatechange",this.bX);try{this.A.init("normal"),this.A.start()}catch(d){this.A.destroy(),this.A=null,DZ(this,d)}}}};
g.h.bX=function(){if(g.X(g.NU(this.o.player),16)||g.X(g.NU(this.o.player),32)){var a=this.A;null!=a.Yb&&(a=a.Yb,a.A.stop(),a.C=!1)}else a=this.A,null!=a.Yb&&nB(a.Yb)};
g.h.aX=function(a){if(a=a.o)g.Of(this.H),this.H=new iZ(this.o,a)};
g.h.Uh=function(a){EZ(this);if((this.C=a.Vb())&&this.C.ac()){a=FZ(this.C);var b=this.C.B.A;b=0==b?1:0<b?2:-1==b?3:0;this.B=new wY(a,this.o,this.A,this.C.isSkippable(),this.C.isBumper(),!0,void 0,b);Fwa(this,this.B);1!=b&&(a=WX(this.o).experiments.o("video_to_ad_use_gel"),pP("video_to_ad",["apbs"],void 0,a));a=this.o;a.K=!0;a.C||a.pauseVideo();this.F.zH(this.C.B.A);this.B.show()}};
g.h.lg=function(a){CZ(this);this.o.getCurrentTime(1)<this.o.player.getVideoData().lengthSeconds&&(RZ(this.o),this.C&&this.C.ac()&&(this.F.AH(this.C.B.A),null!=this.H&&(this.H.o=!0)));a=a.Vb();var b=lE(this.A);b&&b.L&&b.sb()?this.C=null:!a&&this.B instanceof JY||EZ(this);var c=!0;if(a&&a!==this.C&&!a.ac()){if(b&&b.L&&!b.sb()){b=this.G;null!=b.o[0]&&(c=b.o[0],delete b.o[0],b.o[0]=new g.jR(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,rZ(b.A,[c,b.o[0]],1),rZ(b.A,[b.o[0]]));this.C=a;return}c=Rt(a);b=FZ(a);
VX(c,"blockAllAds")?(this.A.bl(),this.B=new LY(this.o,this.A,1,!0),c=!1):VX(c,"hideMaster")&&14!=b?(this.B=new LY(this.o,this.A,0,!0),c=!1):(c=this.A,14==b?(this.B=new RY(this.o,c),5!=lE(this.A).We()&&Gwa(this,a)):this.B=new EY(b,this.o,c,!0),this.B.show(),c=!0)}this.C&&this.C.ac()&&Jwa(this.o);if(this.C&&this.C.ac()){b=this.je;if(0<b.C||Ho().o("enable_tsla_without_freq_cap_for_living_room")||Ho().o("enable_html5_midroll_tsla_update"))b.o=(0,g.J)()/1E3;b=this.G;b.F=(0,g.J)()/1E3;b.C()}else a&&a!==
this.C&&!a.ac()&&c&&(b=this.G,b.F=(0,g.J)()/1E3,b.C());this.G.G();this.C=a};
g.h.YW=function(a){(a=a.Vb())&&this.B&&(a=FZ(a),this.B.adSystem=a)};
g.h.bQ=function(a){a.Vb().ac()||this.C!==a.Vb()||(EZ(this),this.C=null)};
g.h.Cn=function(a){null!=a.o&&void 0!=a.o&&(a=a.o.adBreakTime,null!=a&&void 0!=a&&this.o.player.U("adnotify",a))};
g.h.Nk=function(){this.o.player.U("discardadnotify")};
g.h.fQ=function(a){var b=a.Vb();if(null!=b){var c=a.o.adBreakTime;this.M[c]=b;this.L||(this.o.Fe("bl"),0==c&&a.Vb().ac()||this.o.Fe("fb"),this.L=!0)}};
g.h.XW=function(a){null!=a.Vb()&&(a.Vb().ac()&&this.o.Fe("bs"),a.Vb().B.B||a.Vb().ac()||CZ(this))};
g.h.WW=function(a){DZ(this,a.getError())};
g.h.BH=function(a){var b=a.getError();"adLoadError"==b.Zb()&&a.o===this&&DZ(this,b)};
g.h.ZW=function(a){Gwa(this,a&&a.Vb())};
g.h.V=function(){EZ(this);this.qb&&(this.qb.Ka("adsManagerLoaded",this.CH,!1,this),this.qb.Ka("adError",this.BH,!1,this));g.lo(this.W);g.lo(this.D);g.uH(this.K);this.J=!1;this.A&&(this.A.destroy(),this.A=null);g.Of(this.F);g.Of(this.H);BZ.fa.V.call(this)};
g.h.DH=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.We(),d.sst=a.Gc,d.sidx=0),eZ(this.o,c,d)};g.C(GZ,g.kV);g.h=GZ.prototype;g.h.getAdState=function(){return-1};
g.h.create=function(){this.created||(g.T(this.player.getRootNode(),this.xe+"-created"),this.J.R(this.player,g.lR(this.xe),this.Rw),this.J.R(this.player,"crx_"+this.xe,this.Sw),this.created=!0)};
g.h.destroy=function(){g.Lr(this.player.getRootNode(),this.xe+"-created");g.uH(this.J);this.created=!1;this.U("destroyed",this.xe)};
g.h.Rw=function(){};
g.h.Sw=function(){};
g.h.Ng=function(){return null};
g.h.V=function(){this.created&&this.destroy();GZ.fa.V.call(this)};g.t(HZ,g.L);g.h=HZ.prototype;g.h.bind=function(a){var b=a.button&&a.button.buttonRenderer&&a.button.buttonRenderer.navigationEndpoint&&a.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint;(b=b&&b.dialog&&b.dialog.adInfoDialogRenderer)?(a.hoverText?(a=bta(a.hoverText),pe(this.o,a,0)):this.o=null,this.C.bind(b)):g.hF(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
g.h.sa=function(){return this.A};
g.h.Vu=function(){this.o&&g.N(this.o,!1)};
g.h.dO=function(){this.C.o.o.C||this.o&&g.N(this.o,!0)};
g.h.cO=function(){this.C.show();this.Vu()};g.t(IZ,g.W);IZ.prototype.Cn=function(a){this.G=-1==a?this.B.getDuration():a;this.D||(this.D=this.R(this.B,"progresssync",this.H));a=(a=this.B.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.EI();b&&(a={clientScreenNonce:b,adMediaTimeSec:this.G,timeToAdBreakSec:Math.ceil(this.G-this.B.getCurrentTime()),clientPlaybackNonce:a},lI("adNotify",a));this.H();this.F.show()};
IZ.prototype.Nk=function(){this.D&&(this.Ka(this.D),this.D=null);this.F.hide()};
IZ.prototype.H=function(){var a=this.B.getCurrentTime();a=Math.ceil(this.G-a);0<a?this.Lb(g.uV("$X_SECONDS sn sonra reklam",{X_SECONDS:String(a)})):this.F.hide()};g.C(KZ,GZ);KZ.C=10;KZ.A=1E3;KZ.B="yt.www.watch.ads.addInstreamCompanionWtaUi";KZ.o="livead";g.h=KZ.prototype;
g.h.create=function(){KZ.fa.create.call(this);this.M=!1;this.G.R(this.player,"beginseeking",(0,g.B)(this.U,this,"beginseeking"));this.G.R(this.player,"endseeking",(0,g.B)(this.U,this,"endseeking"));this.G.R(this.player,"resize",(0,g.B)(this.U,this,"resize"));this.G.R(this.player,"presentingplayerstatechange",(0,g.B)(this.U,this,"presentingplayerstatechange"));this.G.R(this.player,"webglsettingschanged",(0,g.B)(this.U,this,"webglsettingschanged"));this.subscribe("presentingplayerstatechange",this.eW,
this);if(JZ(this)){var a=rQ(this.app.ba);a.addEventListener("updateKevlarOrC3Companion",eta);a.addEventListener("onPlaShelfInfoCardsReady",gta);window.addEventListener("yt-navigate-start",hta)}this.Fe("i");a=this.player.getVideoData().Ln||{};this.o=new iwa(WX(this),a);this.B=new twa(this,this.player);this.W=!1;if(this.qb)this.qb.o.B.B=Ep();else{a=this.o.M?void 0:uva(this.D);var b=new gR(this.app,2);this.F=new dC(lY(this.D),a,rQ(b),(0,g.B)(this.QK,this));this.F.setSize(-1,-1);this.qb=new nE(this.F)}if(this.o.vmap&&
!this.o.ga){this.C=new BZ(this);try{this.C.load(this.o.vmap)}catch(c){g.hF(c),this.C.dispose(),this.C=null,Lwa(this,ewa(new cwa(this)))}}else Lwa(this,ewa(new cwa(this)));this.B&&(this.H=LZ(this.app),this.H.subscribe("cuepointupdated",this.yE,this),a=OZ(this),null!=a&&(a.F=g.Z(this.app)),a={},a.allowed=this.B.A,Iwa(this,{},a),this.M=!0)};
g.h.destroy=function(){this.K&&QZ(this);this.app.o.experiments.o("disable_new_pause_state3")||g.$U(this.player,this.xe,void 0);Kwa(this);g.Pf(this.A,this.ba,this.C);this.ba=this.A=null;this.H.unsubscribe("cuepointupdated",this.yE,this);this.B=this.o=this.C=this.H=null;eY=dY=cY=!1;gY();this.app.o.experiments.o("ima_kevlar_clear_companion_on_dispose")&&JZ(this)&&NZ(this,"updateKevlarOrC3Companion",{});this.created&&KZ.fa.destroy.call(this);if(JZ(this)){var a=rQ(this.app.ba);a.removeEventListener("updateKevlarOrC3Companion",
eta);a.removeEventListener("onPlaShelfInfoCardsReady",gta);window.removeEventListener("yt-navigate-start",hta);AV=null}};
g.h.getPresentingPlayerType=function(){return this.app.getPresentingPlayerType()};
g.h.isFullscreen=function(){return this.player.isFullscreen()||this.o.B};
g.h.getVisibilityState=function(){return this.player.getVisibilityState()};
g.h.Ng=function(){return this.B?this.B.Ng():KZ.fa.Ng.call(this)};
g.h.getRootNode=function(){return this.player.getRootNode()};
g.h.getVideoData=function(){return this.H};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.getPlayerSize=function(a){return this.o.B?this.app.H.getPlayerSize():a?wi(this.getRootNode()):this.app.H.getPlayerSize()};
g.h.playVideo=function(){var a=this.app;a.o.experiments.o("use_async_run_for_execution_in_ima")?g.Dg(function(){a.playVideo()}):g.oF(function(){a.playVideo()},0)};
g.h.pauseVideo=function(){var a=this.app;a.o.experiments.o("use_async_run_for_execution_in_ima")?g.Dg(function(){a.pauseVideo()}):g.oF(function(){a.pauseVideo()},0)};
g.h.seekTo=function(a){var b=this.app;b.o.experiments.o("use_async_run_for_execution_in_ima")?g.Dg(function(){b.seekTo(a)}):g.oF(function(){b.seekTo(a)},0)};
g.h.getAdState=function(){return this.L};
g.h.fl=function(a){switch(a){case 1:this.L=1;NZ(this,"onAdStart");break;case 0:this.L=0,NZ(this,"onAdEnd")}};
g.h.Rw=function(a){KZ.fa.Rw.call(this,a);var b=parseInt(a.getId(),10);if(this.A&&!isNaN(b))if("ytp-ad-fadeout"==a.style){var c=this.A,d=c.Xj(b);if(d&&!pZ(c.J,d)&&(c=c.B,d.A)){var e=PZ(c.o);d=Math.max(0,bZ(d)+c.B+c.C-1E3*c.o.getCurrentTime(1));e.Fd("transition","opacity "+String(d)+"ms linear");e.Fd("opacity","0");kwa(c,e,d,0)}}else rwa(this.A,b);this.C&&!isNaN(b)&&("ytp-ad-fadeout"==a.style?(d=this.C,(c=d.M[b])&&c.ac()&&d.F.yH(b)):0>b&&(b=this.qb.o,d=new yo("contentComplete"),b.dispatchEvent(d),d.A&&
(Jo(Go(),420706009)||b.B.clear(),null!=b.A&&(d=b.A.Di(),null!=d&&vC(d,b.B.o)))));if("livead"===a.getId()&&null!=OZ(this)){b=OZ(this);for(a=Math.floor(a.start/1E3);g.v(b.C[a]);)a++;d=b.ha++;c=0==a?new RX(1):new RX(2,a);e=b.Y;var f=bwa(b.Y.o,c.o);d=new $Y(e,d,c,f,!1);b.C[a]=d;d.subscribe("adBreakComplete",b.ga,b);gZ(d)}};
g.h.Sw=function(a){KZ.fa.Sw.call(this,a);var b=parseInt(a.getId(),10),c=1E3*this.getCurrentTime(1);this.A&&!isNaN(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.A,(b=c.C[b])&&c.o==b&&!b.A&&b.isVisible&&b.H&&b.o instanceof EY&&b.o.Ec("fullscreen"));this.C&&"ytp-ad-fadeout"==a.style&&this.C.F.qo();"livead"===a.getId()&&null!=OZ(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.ZU(this.player,[a],1),swa(OZ(this)))};
g.h.Fe=function(a){var b=a;"nl"==a&&(a=this.B,a.D++,b=a.D.toString());this.aa[b]=(0,g.J)();"bs"!=b&&"fb"!=b||Iwa(this,this.aa,this.P)};
g.h.Vh=function(a){this.U(a)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.yE=function(a){var b=OZ(this);if(null!=b&&null!=b.F){var c=OZ(this).F.getCurrentTime();(0,g.E)(a,function(d){this.app.o.experiments.o("check_for_cuepoint_start_on_ima_livestreams")||this.app.o.experiments.o("check_for_cuepoint_start_on_ima_livestreams_living_room")?0!=c&&d&&"start"==d.event&&Nwa(this,d,c):0!=c&&d.o>c&&Nwa(this,d,c)},this)}};
g.h.Ic=function(a,b){switch(a){case "addata":if(!this.create||!this.M)return{};var c=this.o;return{adTag:c.adTag,adTest:c.Xa,forceAdType:c.W,isAfvSkippableInstreamEnabled:c.P,isAfvStandardInstreamEnabled:c.Y,isBlazer:c.A,isDoubleClickEnabled:c.ba,isForcedAd:c.ga,isFreeWheelEnabled:c.ea,isHouseBrandPlayer:c.hc,isLeanback:c.B,isShortform:c.Ra,tagForChildDirected:c.tagForChildDirected};case "adstate":return this.getAdState();case "midrollfreqcap":if(this.C)return c=this.o.o,null!=c?c:0;c=this.A instanceof
sZ?this.A:null;return null!=c?c.P:0;case "breakscount":return this.C?(c=this.C,c=null!=c.A?c.A.Qe().length:0):c=this.A?this.A.Db.length:0,c;case "displaystate":return c=null,this.A&&this.A.o&&(c=this.A.o.o),{adFormat:c instanceof jY?c.adType:!1,adSkipped:c instanceof wY?c.F:!1,hasVideoStarted:c instanceof wY?c.G:!1,skippable:c instanceof wY?c.P:!1};case "getContentVideoData":return c=XX(this),{adModule:c.adModule,partnerTrackingToken:c.In,title:c.title,videoId:c.videoId};case "loadedadbreaks":if(this.A){c=
this.A.C;var d=[];for(e in c)c.hasOwnProperty(e)&&d.push({isInterruptive:c[Number(e)].A});return d}return 0;case "isExternalShelfAllowedFor":if("object"!=typeof b)return!1;c=b.playerResponse;if(!c)return!1;c=c.playerAds||[];for(d=0;d<c.length;d++){var e=c[d];if(e.playerLegacyDesktopWatchAdsRenderer&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams.pla)return!1}return!0}};
g.h.getOptions=function(){return"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ")};
g.h.wc=function(){return!1};
g.h.eW=function(a){if(g.X(a.state,128)){var b=this.player;if(null!=g.hV(b)&&2==b.getPresentingPlayerType()){var c=a.state,d=a="",e="";c.A&&c.A.errorCode&&(a=c.A.errorCode);c=c.o;g.cV(b)&&(d=g.cV(b).De(),null!=g.cV(b).Fb()&&(e=g.cV(b).Fb()));this.Y="Error code: "+a+"; s:"+c+"; "+("rs:"+d+"; ec:"+e)}}};
g.h.QK=function(a){if(this.la())return"";if(!a)return this.Y;a=this.player;if(null==g.hV(a)||2!=a.getPresentingPlayerType())return"";var b=g.NU(a,2).o,c="",d="";g.cV(a)&&(c=g.cV(a).De(),null!=g.cV(a).Fb()&&(d=g.cV(a).Fb()));return"s:"+b+"; rs:"+c+"; ec:"+d};g.t(UZ,g.L);g.h=UZ.prototype;g.h.KA=function(){if(!this.A){var a=this.KA;if("lb3"==g.Y(this.o).playerStyle)var b=!1;else b=this.o.getVideoData(),b=!!b.Rl||!!b.captionTracks.length||g.Sua(b,this.o);(a=WZ(this,"captions",a,b))&&!this.A&&(this.A=a,a.Vn()&&a.load(),this.o.Ba("onApiChange"))}};
g.h.du=function(){this.K=this.K||WZ(this,"endscreen",this.du,g.Qwa(this))};
g.h.PA=function(){this.D=WZ(this,"webgl",this.PA,Swa(this))};
g.h.Un=function(){return this.o.getVideoData().Un()};
g.h.RA=function(){(this.qd=this.qd||WZ(this,"ypc",this.RA,this.Un()))&&this.qd.load()};
g.h.QA=function(){var a;if(!(a=this.aa)){a=this.QA;var b=this.o.getVideoData();a=WZ(this,"ypc_clickwrap",a,b.Cl&&!b.Jv)}this.aa=a};
g.h.JA=function(){this.Y=this.Y||WZ(this,"spacecast",this.JA,this.o.getVideoData().ol)};
g.h.GA=function(){var a=!this.L;this.L=this.L||WZ(this,"heartbeat",this.GA,this.o.getVideoData().mo);a&&this.L&&this.o.U("offlineslatestatechange")};
g.h.au=function(){if(!this.B){var a=this.au;var b=g.Y(this.o);var c=this.o.getVideoData();b=c.Ui||"3"==b.C?!1:b.J.isEmpty()&&"annotation-editor"!=b.playerStyle&&"live-dashboard"!=b.playerStyle?b.experiments.o("disable_new_iv_module_create_logic")?c.fq:!!c.te:!0;if(this.B=WZ(this,"annotations_module",a,b)){a=this.B;for(var d in this.ia)b=d,a.subscribe(b,this.ia[b]);this.o.Ba("onApiChange")}}};
g.h.FA=function(){this.yd=this.yd||WZ(this,"fresca",this.FA,this.o.getVideoData().yd)};
g.h.eu=function(){this.M||(this.M=WZ(this,"remote",this.eu,g.Y(this.o).jb))&&this.M.create()};
g.h.LA=function(){this.G||(this.G=WZ(this,"unplugged",this.LA,g.lO(g.Y(this.o))))&&this.G.init()};
g.h.HA=function(){this.F||(this.F=WZ(this,"kids",this.HA,mO(g.Y(this.o))))&&this.F.init()};
g.h.MA=function(){Twa(this);!this.J&&(this.J=WZ(this,"ux",this.MA,g.Y(this.o).ka))&&(this.J.init(),this.o.Ba("onApiChange"))};
g.h.IA=function(){this.ga||(this.ga=WZ(this,"miniplayer",this.IA,g.Y(this.o).Jl))&&this.ga.init()};
g.h.cu=function(){if(!this.H){var a=this.cu;var b=g.Y(this.o);"3"==b.C?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.o.getVideoData(),b=!!b&&(!!g.Nna(b)||!!g.Ona(b)));(this.H=WZ(this,"creatorendscreen",a,b))&&this.o.Ba("onApiChange")}};
g.h.SA=function(){(this.P=this.P||WZ(this,"yto",this.SA,!!this.o.getVideoData().Pc.includes("yto")))&&this.P.init()};
g.h.OA=function(){(this.W=WZ(this,"visualizer",this.OA,g.Uwa(this)))&&this.W.Lf()};
g.h.Ng=function(){var a={};this.A&&g.Oa(a,this.A.Ng());return a};
g.h.V=function(){g.L.prototype.V.call(this);XZ(this,1,!0)};g.t(g.YZ,g.W);g.YZ.prototype.show=function(){g.W.prototype.show.call(this);g.Av(this.B)};
g.YZ.prototype.hide=function(){this.F.stop();g.W.prototype.hide.call(this)};g.t(b_,g.W);b_.prototype.V=function(){this.B&&this.B();g.W.prototype.V.call(this)};
b_.prototype.J=function(){g.yF("iv-button-mouseover")};
b_.prototype.H=function(a){this.D.ee();var b=g.Jr(this.D.getRootNode(),"ytp-cards-teaser-shown");g.yF("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.D.setCardsVisible(!this.D.ue(),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.t(c_,g.W);g.h=c_.prototype;g.h.JG=function(){this.D.ee()&&this.D.ue()&&this.C&&4!=this.J.o&&this.wn()};
g.h.RV=function(){this.wn();g.yF("iv-teaser-clicked",!!this.B);this.D.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.YO=function(){g.yF("iv-teaser-mouseover");this.B&&this.B.stop()};
g.h.aU=function(a){this.B||!a||this.D.ue()||this.F&&this.F.isActive()||(Ywa(this,a),g.yF("iv-teaser-shown"))};
g.h.ww=function(){if(g.Y(this.D).B&&this.C){var a=this.H.element.offsetLeft,b=g.Zd("ytp-cards-button-icon"),c=this.D.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.H.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}};
g.h.dK=function(){g.Y(this.D).B&&this.aa.Kh()&&this.C&&this.P.start()};
g.h.HD=function(){this.L.stop();this.B&&this.B.isActive()&&this.M.start()};
g.h.Wh=function(){this.M.stop();this.B&&!this.B.isActive()&&this.L.start()};
g.h.sS=function(){this.B&&this.B.stop()};
g.h.qS=function(){this.wn()};
g.h.wn=function(){!this.B||this.G&&this.G.isActive()||(g.yF("iv-teaser-hidden"),this.J.hide(),g.Lr(this.D.getRootNode(),"ytp-cards-teaser-shown"),this.G=new g.V(function(){for(var a=g.r(this.K),b=a.next();!b.done;b=a.next())this.Ka(b.value);this.K=[];this.B&&(this.B.dispose(),this.B=null);a_(this.H,!0)},330,this),this.G.start())};
g.h.V=function(){var a=this.D.getRootNode();a&&g.Lr(a,"ytp-cards-teaser-shown");g.Pf(this.F,this.G,this.B);g.W.prototype.V.call(this)};g.t(d_,g.lQ);d_.prototype.B=function(a){g.lH(a)||39!=g.mH(a)||(this.element.click(),g.kH(a))};g.t(g_,g.UW);g.h=g_.prototype;g.h.eR=function(){aW(this.L.element)};
g.h.yR=function(){h_(this,this.B.getDebugText(!0))&&ZZ(this.aa,jta())};
g.h.zR=function(){h_(this,this.B.getVideoEmbedCode())&&ZZ(this.aa,g.BV?{I:"div",da:["ytp-icon","ytp-icon-code"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",T:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]});g.fV(this.B,this.D.element);f_("EMBED",this.B.getVideoData().videoId,this.B.getPlaylistId()||void 0)};
g.h.CR=function(){h_(this,this.B.getVideoUrl(!0,!0))&&ZZ(this.aa,pta());g.fV(this.B,this.G.element);f_("COPY_PASTE",this.B.getVideoData().videoId,this.B.getPlaylistId()||void 0)};
g.h.BR=function(){h_(this,this.B.getVideoUrl(!1,!0))&&ZZ(this.aa,pta());g.fV(this.B,this.F.element);f_("COPY_PASTE",this.B.getVideoData().videoId,this.B.getPlaylistId()||void 0)};
g.h.HE=function(a){g.RW(this.H,a)};
g.h.WR=function(){var a=this.H.getValue();uya(this.B.app,a);this.Y.Kb();g.fV(this.B,this.H.element)};
g.h.pT=function(a){var b=g.Z(this.B.app);b&&b.cn(new tM("feedback",!1,{gpu:(0,g.aU)()}));if(g.XV(a,this.B,!tO(g.Y(this.B)))){a=this.B;b=b={as3:!1,html5:!0,player:!0};var c=a.getVideoStats().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.getDebugText(!0);a.Ba("onFeedbackStartRequest",b);a.isFullscreen()&&a.toggleFullscreen()}this.Y.Kb()};
g.h.LT=function(){this.B.showVideoInfo();this.Y.Kb()};
g.h.cP=function(a,b){$wa(this,b)};
g.h.Tb=function(a){g.UW.prototype.Tb.call(this,a);g.gV(this.B,this.D.element,a);g.gV(this.B,this.G.element,a);g.gV(this.B,this.F.element,a);g.gV(this.B,this.H.element,a)};g.t(i_,g.bX);g.h=i_.prototype;g.h.show=function(){this.G||(this.G=new g_(this.D,this.ka,this,this.ha),g.M(this,this.G),g.eX(this,this.G));this.G.HE(Dsa(this.D.app.D));g.bX.prototype.show.call(this);g.gV(this.D,this.element,!0);this.G.Tb(!0)};
g.h.hide=function(){axa(this);g.bX.prototype.hide.call(this);g.gV(this.D,this.element,!1);this.G&&this.G.Tb(!1)};
g.h.dR=function(a){var b=hH(a);if(!(this.C||b&&(g.Ee(b,"a")||g.Fe(b,"ytp-no-contextmenu")))){g.kH(a);bxa(this);b=this.D.getVideoData();g.U(this.element,"ytp-dni",b.Lc);this.element.style.left="";this.element.style.top="";var c=jH(a);c.x++;c.y++;this.Yd();b=ii(document.body);a=this.size;c=c.clone();a=a.clone();if(b){var d=c,e=a,f=5;65==(f&65)&&(d.x<b.left||d.x>=b.right)&&(f&=-2);132==(f&132)&&(d.y<b.top||d.y>=b.bottom)&&(f&=-5);d.x<b.left&&f&1&&(d.x=b.left);if(f&16){var k=d.x;d.x<b.left&&(d.x=b.left);
d.x+e.width>b.right&&(e.width=Math.min(b.right-d.x,k+e.width-b.left),e.width=Math.max(e.width,0))}d.x+e.width>b.right&&f&1&&(d.x=Math.max(b.right-e.width,b.left));d.y<b.top&&f&4&&(d.y=b.top);f&32&&(k=d.y,d.y<b.top&&(d.y=b.top),d.y+e.height>b.bottom&&(e.height=Math.min(b.bottom-d.y,k+e.height-b.top),e.height=Math.max(e.height,0)));d.y+e.height>b.bottom&&f&4&&(d.y=Math.max(b.bottom-e.height,b.top))}b=new g.Kh(0,0,0,0);b.left=c.x;b.top=c.y;b.width=a.width;b.height=a.height;g.di(this.element,g.Oh(b));
g.uH(this.K);this.K.R(document,"contextmenu",this.kR);this.K.R(this.D,"fullscreentoggled",this.dP);this.K.R(this.D,"pageTransition",this.ES)}};
g.h.kR=function(a){if(!g.lH(a)){var b=hH(a);g.we(this.element,b)||this.Kb();g.Y(this.D).Eo&&g.kH(a)}};
g.h.dP=function(){this.Kb();bxa(this)};
g.h.ES=function(){this.Kb()};g.t(j_,g.sH);g.h=j_.prototype;
g.h.YB=function(a){var b=!1,c=g.mH(a),d=hH(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.Y(this.o);g.lH(a)?(e=!1,k=!0):l.Sa&&(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 37:this.o.Mc()&&this.B&&(ZZ(this.A,wta()),this.o.seekBy(-5*this.o.getPlaybackRate()),k=f=!0);break;case 39:this.o.Mc()&&this.B&&(ZZ(this.A,ota()),this.o.seekBy(5*this.o.getPlaybackRate()),k=f=!0);break;case 38:f=Math.min(this.o.getVolume()+
5,100);$Z(this.A,f,!1);this.o.setVolume(f);k=f=!0;break;case 40:f=Math.max(this.o.getVolume()-5,0);$Z(this.A,f,!0);this.o.setVolume(f);k=f=!0;break;case 36:this.o.Mc()&&(this.o.seekTo(0),k=f=!0);break;case 35:this.o.Mc()&&(this.o.seekTo(Infinity),k=f=!0)}}b&&this.Lx(!0);(b||k)&&this.F.qc(2,!0);(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey))&&g.kH(a);l.Ob&&(a={keyCode:g.mH(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.lH(a),fullscreen:this.o.isFullscreen()},
this.o.Ba("onKeyPress",a))};
g.h.ZB=function(a){this.handleGlobalKeyUp(g.mH(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)};
g.h.handleGlobalKeyUp=function(a){var b=!1,c=g.KU(this.o).D;c&&c.gf&&c.gf.C&&(c.gf.XB(a),b=!0);9==a&&(this.Lx(!0),b=!0);return b};
g.h.handleGlobalKeyDown=function(a,b){var c=!1,d=g.Y(this.o);if(d.Sa)return c;var e=g.KU(this.o).D;if(e&&e.gf&&e.gf.C)switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:c=e.gf.WB(a)}d.hc||c||(c=String.fromCharCode(a).toLowerCase(),this.C+=c,0=="awesome".indexOf(this.C)?(c=!0,7==this.C.length&&Nr(this.o.getRootNode(),"ytp-color-party")):(this.C=c,c=0=="awesome".indexOf(this.C)));if(!c){switch(a){case 80:b&&!d.L&&(ZZ(this.A,vta(),"\u00d6nceki"),this.o.previousVideo(),c=!0);
break;case 78:b&&!d.L&&(ZZ(this.A,qta(),"Sonraki"),this.o.nextVideo(),c=!0);break;case 74:this.o.Mc()&&(ZZ(this.A,g.BV?{I:"div",da:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
this.o.seekBy(-10*this.o.getPlaybackRate()),c=!0);break;case 76:this.o.Mc()&&(ZZ(this.A,g.BV?{I:"div",da:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
this.o.seekBy(10*this.o.getPlaybackRate()),c=!0);break;case 37:this.o.Mc()&&!this.B&&(ZZ(this.A,wta()),this.o.seekBy(-5*this.o.getPlaybackRate()),c=!0);break;case 39:this.o.Mc()&&!this.B&&(ZZ(this.A,ota()),this.o.seekBy(5*this.o.getPlaybackRate()),c=!0);break;case 77:this.o.isMuted()?(this.o.unMute(),$Z(this.A,this.o.getVolume(),!1)):(this.o.mute(),$Z(this.A,0,!0));c=!0;break;case 32:case 75:d.L||(c=!MQ(g.NU(this.o)),Wwa(this.A,c),c?this.o.playVideo():this.o.pauseVideo(),c=!0);break;case 190:b?d.ua&&
(c=this.o.getPlaybackRate(),this.o.setPlaybackRate(c+.25,!0),Xwa(this.A,!1),c=!0):this.o.Mc()&&(cxa(this,1),c=!0);break;case 188:b?d.ua&&(c=this.o.getPlaybackRate(),this.o.setPlaybackRate(c-.25,!0),Xwa(this.A,!0),c=!0):this.o.Mc()&&(cxa(this,-1),c=!0);break;case 70:Hta(this.o)&&(this.o.toggleFullscreen(),c=!0);break;case 27:this.G()&&(c=!0)}if("3"!=d.C)switch(a){case 67:g.KU(this.o).A&&(d=this.o.getOption("captions","track"),(c=g.KU(this.o).A)&&c.zG(),d=!d||d&&!d.displayName?"Altyaz\u0131lar a\u00e7\u0131k":
"Altyaz\u0131lar kapal\u0131",ZZ(this.A,zta(),d),c=!0);break;case 79:k_(this,"textOpacity");break;case 87:k_(this,"windowOpacity");break;case 187:case 61:k_(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:k_(this,"fontSizeIncrement",!0,!0)}var f;48<=a&&57>=a?f=a-48:96<=a&&105>=a&&(f=a-96);null!=f&&this.o.Mc()&&(d=this.o.getProgressState(),this.o.seekTo(f/10*(d.seekableEnd-d.seekableStart)+d.seekableStart),c=!0);c&&this.F.qc(2,!0)}return c};
g.h.Lx=function(a){g.U(this.o.getRootNode(),"ytp-probably-keyboard-focus",a);g.U(this.H.element,"ytp-probably-keyboard-focus",a)};
g.h.KD=function(a){g.KU(this.o).A&&this.o.setOption("captions","sampleSubtitles",a)};
g.h.V=function(){g.Cv(this.D);g.sH.prototype.V.call(this)};g.t(l_,uW);g.h=l_.prototype;g.h.jP=function(a){a=hH(a);g.we(this.element,a)&&(g.we(this.J,a)||g.we(this.F,a)||this.If())};
g.h.Kb=function(){uW.prototype.Kb.call(this);this.G.oi(this.element)};
g.h.show=function(){this.C&&this.H.U("OVERFLOW_PANEL_OPENED");uW.prototype.show.call(this);exa(this,!0)};
g.h.hide=function(){uW.prototype.hide.call(this);exa(this,!1)};
g.h.iP=function(a){!a&&vW(this)&&this.If()};
g.h.focus=function(){0<this.D.length&&this.D[0]&&this.D[0].focus()};g.t(m_,g.W);m_.prototype.D=function(){this.B=this.H.Kh();g.U(this.element,"ytp-overflow-button-visible",this.B);this.B&&DW(this.G);g.gV(this.F,this.element,this.B&&this.W)};
m_.prototype.Tb=function(a){g.W.prototype.Tb.call(this,a);g.gV(this.F,this.element,this.B&&a)};
m_.prototype.V=function(){g.W.prototype.V.call(this);g.Lr(this.element,"ytp-overflow-button-visible")};g.t(n_,g.W);g.h=n_.prototype;g.h.hide=function(){g.Lr(this.B.getRootNode(),"ytp-expand-pause-overlay");g.W.prototype.hide.call(this)};
g.h.QQ=function(){this.ea=!0;g.Lr(this.B.getRootNode(),"ytp-expand-pause-overlay");this.L.focus()};
g.h.RQ=function(){this.ea=!1;g.T(this.B.getRootNode(),"ytp-expand-pause-overlay")};
g.h.lP=function(){fxa(this,this.G-this.J)};
g.h.mP=function(){fxa(this,this.G+this.J)};
g.h.nP=function(a,b){if(1E3>g.PH()-this.ua)g.kH(b),document.activeElement.blur();else{var c=this.D[a],d=c.Id;if(g.XV(b,this.B,this.ia,d||void 0)){var e=c.Aa().videoId;c=c.getPlaylistId();g.M0(this.B.app,e,d,c,void 0,void 0,void 0)}}};
g.h.oP=function(){this.yw(g.OU(this.B).getPlayerSize())};
g.h.pP=function(a){if(!(g.X(a.state,1)||g.X(a.state,16)||g.X(a.state,32))){var b=!g.Y(this.B).experiments.o("embeds_disable_pauseoverlay_on_autoplay_blocked_killswitch")&&g.X(a.state,2048);!g.X(a.state,4)||g.X(a.state,2)||b?this.aa.hide():this.D.length&&(this.ea||(g.T(this.B.getRootNode(),"ytp-expand-pause-overlay"),o_(this)),this.aa.show(),this.ua=g.PH())}};
g.h.yw=function(a){var b=16/9,c=this.ha.bd();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.H.length;d++){var e=this.H[d].o["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.K.element.style.height=b+"px";this.ba=c;this.ma=b;this.J=a;this.G=0;this.LD(0);o_(this)};
g.h.qP=function(){var a=this,b=g.Y(this.B),c=this.B.getVideoData();this.ia=c.Lc?!1:b.o;if(c.suggestions){var d=(0,g.re)(c.suggestions,function(e){return e&&!e.list});
this.D=(0,g.K)(d,function(e){e=g.VV(b,e);g.M(a,e);return e})}else this.D.length=0;
hxa(this);c.Lc?this.Y.update({title:g.uV("$DNI_RELATED_CHANNEL adl\u0131 kanal\u0131n di\u011fer videolar\u0131",{DNI_RELATED_CHANNEL:c.author})}):this.Y.update({title:"Daha fazla video"})};
g.h.LD=function(a){this.K.element.scrollLeft=-a};g.t(p_,g.W);p_.prototype.D=function(a){g.XV(a,this.B)&&this.B.playVideoAt(this.Ib)};g.t(q_,uW);g.h=q_.prototype;g.h.show=function(){uW.prototype.show.call(this);this.J.R(this.F,"videodatachange",this.zw);this.J.R(this.F,"onPlaylistUpdate",this.zw);this.zw()};
g.h.hide=function(){uW.prototype.hide.call(this);g.uH(this.J);ixa(this,null)};
g.h.zw=function(){ixa(this,this.F.getPlaylist())};
g.h.xr=function(){var a=this.D.kq;if(a==this.K)this.G.element.setAttribute("aria-checked",!1),this.G=this.H[this.D.ye()];else{for(var b=g.r(this.H),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.D.getLength();this.H=[];for(c=0;c<b;c++){var d=new p_(this.F,this.D,c);this.H.push(d);d.A(this.Qa)}this.G=this.H[this.D.ye()];this.K=a}this.G&&this.G.element.setAttribute("aria-checked",!0)};
g.h.cU=function(a){var b=this.F.getVideoUrl(!0);YV(b,this.F,a)};
g.h.focus=function(){this.G.focus()};
g.h.V=function(){this.hide();uW.prototype.V.call(this)};g.t(r_,g.W);
r_.prototype.F=function(){var a=g.Y(this.D);a=a.experiments.o("embed_enable_playlist_ui")&&a.B;g.U(this.element,"ytp-playlist-menu-button-smallmode",a);g.U(this.element,"ytp-playlist-menu-button-tiny",400>g.OU(this.D).getPlayerSize().width);this.B&&2!=this.D.getPresentingPlayerType()?(this.update({text:g.uV("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.B.ye()+1),PLAYLIST_LENGTH:String(this.B.getLength())}),title:g.uV("Oynatma listesi: $PLAYLIST_NAME",{PLAYLIST_NAME:this.B.title})}),this.C||
(this.show(),DW(this.G)),this.J=!0):this.C&&(this.hide(),DW(this.G))};
r_.prototype.Tb=function(a){g.W.prototype.Tb.call(this,a);g.gV(this.D,this.element,this.J&&a)};
r_.prototype.H=function(){this.B&&this.B.unsubscribe("shuffle",this.F,this);(this.B=this.D.getPlaylist())&&this.B.subscribe("shuffle",this.F,this);this.F()};g.t(s_,g.W);s_.prototype.F=function(a){g.iQ(this,g.X(a.state,2))};
s_.prototype.D=function(){g.NU(this.B);this.B.playVideo()};g.t(t_,uW);g.h=t_.prototype;g.h.BP=function(a){a=hH(a);g.we(this.P,a)||g.we(this.J,a)||this.If()};
g.h.Kb=function(){uW.prototype.Kb.call(this);this.F.oi(this.element)};
g.h.show=function(){var a=this.C;uW.prototype.show.call(this);this.QD();a||this.D.Ba("onSharePanelOpened")};
g.h.QD=function(){g.T(this.element,"ytp-share-panel-loading");g.Lr(this.element,"ytp-share-panel-fail");var a=this.D.getVideoData(),b=this.D.getPlaylistId(),c=b&&this.K.checked;g.U(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.Y(this.D);e.Sc&&(d.authuser=e.Sc);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.cG(g.Y(this.D).D+"share_ajax",{method:"GET",onError:(0,g.B)(this.kG,this),onSuccess:(0,g.B)(function(f,k){if(k){if(!this.la()){g.Lr(this.element,
"ytp-share-panel-loading");kxa(this);var l=k.links,m=0,n=3;g.Y(this.D).experiments.o("share_panel_button_cutoff_change_killswitch")||(n=2);for(var p=0;p<l.length&&m<n;p++){var q=l[p],u=jxa(q.img);u&&(u=new g.W({I:"a",da:["ytp-share-panel-service-button","ytp-button"],T:{href:q.url,target:"_blank",title:q.sname},O:[u]}),u.X("click",g.Na(this.ET,q.url)),g.Nf(u,nW(this.F,u.element)),this.G.push(u),m++)}l=new g.W({I:"a",da:["ytp-share-panel-service-button","ytp-button"],O:[{I:"span",N:"ytp-share-panel-service-button-more",
O:[g.BV?{I:"div",da:["ytp-icon","ytp-icon-share-more"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},O:[{I:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",T:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z",
fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],T:{href:k.more,target:"_blank",title:"Daha fazla"}});l.X("click",(0,g.B)(this.oS,this,k.more));g.Nf(l,nW(this.F,l.element));this.G.push(l);this.updateValue("buttons",this.G)}}else this.kG(null,null)},this),
ed:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.updateValue("link",a);this.updateValue("linkText",a);this.updateValue("shareLinkWithUrl",g.uV("$URL ba\u011flant\u0131s\u0131n\u0131 payla\u015f",{URL:a}));aW(this.H)};
g.h.kG=function(){g.Lr(this.element,"ytp-share-panel-loading");g.T(this.element,"ytp-share-panel-fail")};
g.h.ET=function(a,b){if(g.KV(b)){var c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";c||(c={});var d=window;var e=a instanceof dd?a:g.id("undefined"!=typeof a.href?a.href:String(a));var f=c.target||a.target,k=[];for(l in c)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+c[l]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(l+"="+(c[l]?1:0))}var l=k.join(",");Gc()&&d.navigator&&d.navigator.standalone&&
f&&"_self"!=f?(l=d.document.createElement("A"),g.Gd(l,e),l.setAttribute("target",f),c.noreferrer&&l.setAttribute("rel","noreferrer"),c=document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,d,1),l.dispatchEvent(c),d={}):c.noreferrer?(d=d.open("",f,l),c=g.fd(e),d&&(g.xO&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.Ed(g.Uc("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+g.sc(c)+
'">'),d.document.write(g.vd(c)),d.document.close())):(d=d.open(g.fd(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.kH(b)}};
g.h.oS=function(a,b){YV(a,this.D,b)&&this.D.Ba("SHARE_CLICKED")};
g.h.AP=function(a){!a&&vW(this)&&this.If()};
g.h.focus=function(){this.H.focus()};
g.h.V=function(){uW.prototype.V.call(this);kxa(this)};g.t(u_,g.W);u_.prototype.J=function(){var a=g.Y(this.B);if(navigator.share){var b=this.B.getVideoData(),c=this.B.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);navigator.share({title:b.title,url:a})}else this.G.Uj(),this.K.If(this.element,!1);g.fV(this.B,this.element)};
u_.prototype.F=function(){var a=g.Y(this.B),b=this.G.Kh()&&a.experiments.o("embeds_enable_new_smallmode")&&a.B,c=a.Fo&&2!=this.B.getPresentingPlayerType(),d=g.OU(this.B).getPlayerSize().width;this.D=!!this.B.getVideoData().videoId&&300<=d&&!c;g.U(this.H,"ytp-share-button-visible",this.D);b&&a.H&&(a=this.o["ytp-share-icon"],b=new g.W({I:"div",da:["ytp-icon","ytp-icon-sharrow-large"]}),g.oe(a),b.A(a));g.gV(this.B,this.element,this.D&&this.W)};
u_.prototype.Tb=function(a){g.W.prototype.Tb.call(this,a);g.gV(this.B,this.element,this.D&&a)};
u_.prototype.V=function(){g.W.prototype.V.call(this);g.Lr(this.H,"ytp-share-button-visible")};g.t(v_,uW);v_.prototype.show=function(){uW.prototype.show.call(this);this.H.start()};
v_.prototype.hide=function(){uW.prototype.hide.call(this);this.H.stop()};
v_.prototype.ha=function(){var a=this.D.getCurrentTime();a>this.G/1E3&&a<this.F/1E3&&this.show()};g.t(w_,g.W);w_.prototype.G=function(){g.fV(this.D,this.element);lxa(this,!this.B)};g.t(g.x_,g.W);g.x_.prototype.D=function(){g.T(this.element,"ytp-sb-subscribed")};
g.x_.prototype.F=function(){g.Lr(this.element,"ytp-sb-subscribed")};g.Da("yt.pubsub.publish",g.yF,void 0);g.t(y_,g.W);y_.prototype.K=function(){this.D.classList.remove("ytp-title-show-collapsed");this.D.classList.remove("ytp-title-show-expanded");this.D.classList.remove("ytp-title-expanded")};
y_.prototype.Y=function(){if(qxa(this)){this.H&&this.H.stop();this.G&&(this.G.show(),g.gV(this.B,this.G.element,!0));var a=this.B.getVideoData();this.J&&a.subscribed&&(this.J.show(),g.gV(this.B,this.J.element,!0));this.D.classList.add("ytp-title-expanded");this.D.classList.add("ytp-title-show-expanded")}};
y_.prototype.M=function(){this.H&&this.H.start()};g.t(A_,g.W);A_.prototype.J=function(a){g.fV(this.B,this.element);var b=this.B.getVideoUrl(!g.KV(a),!1,!0);YV(b,this.B,a)};
A_.prototype.G=function(){var a=this.B.getVideoData(),b=g.Y(this.B);this.updateValue("title",a.title);B_(this);if(2==this.B.getPresentingPlayerType()){var c=this.B.getVideoData(),d=!!c.videoId&&!!c.Be&&!!c.author&&!!c.si&&!!c.Tk;d?(z_(this.D,d),this.updateValue("channelLink",c.si),this.updateValue("channelName",c.author)):B_(this)}else b.B&&(c=this.B.getVideoData(),(c=!!c.videoId&&!!c.si&&!!c.Tk)?z_(this.D,c):B_(this));c=b.externalFullscreen||!this.B.isFullscreen()&&b.Qb;g.U(this.H,"ytp-title-fullerscreen-link",
c);b.K||!a.videoId||c?this.F&&(this.updateValue("url",null),this.Ka(this.F),this.F=null):(this.updateValue("url",this.B.getVideoUrl(!0)),this.F||(this.F=this.R(this.H,"click",this.J)))};g.t(g.C_,g.W);g.h=g.C_.prototype;g.h.rS=function(a){3==this.D&&this.Ye();(a=a.currentTarget)&&1==a.nodeType&&!this.D&&(a.removeEventListener("mouseover",this.J),a.addEventListener("mouseout",this.ea),this.P.experiments.o("show_tooltip_on_tab_killswitch")||(a.removeEventListener("focus",this.J),a.addEventListener("blur",this.ea)),sxa(this,a,2))};
g.h.pS=function(a){(a=iH(a))&&g.we(this.B,a)||this.Ye()};
g.h.DE=function(a,b){if(a<=this.H&&this.H<=b){var c=this.H;this.H=NaN;vxa(this,c)}};
g.h.dN=function(){uma(this.F,this.H,160*this.G)};
g.h.Ye=function(){switch(this.D){case 2:this.B.removeEventListener("mouseout",this.ea),this.B.addEventListener("mouseover",this.J),this.P.experiments.o("show_tooltip_on_tab_killswitch")||(this.B.removeEventListener("blur",this.ea),this.B.addEventListener("focus",this.J));case 3:3==this.D&&this.ka.stop();this.ba.removeEventListener("appresize",this.ha);this.aa||this.B.setAttribute("title",this.K);this.K="";this.B=null;break;case 1:this.F&&(this.F.unsubscribe("l",this.DE,this),this.F=null),this.ba.removeEventListener("videoready",
this.ha),this.ia.stop()}this.D=null;this.Y&&this.M.hide()};
g.h.oi=function(a){if(this.B)for(var b=0;b<arguments.length;b++)g.we(arguments[b],this.B)&&this.Ye()};
g.h.V=function(){null!=this.D&&this.Ye();g.W.prototype.V.call(this)};g.t(F_,g.W);g.h=F_.prototype;g.h.Qc=function(){var a=this.B.getPlayerSize(),b=this.B.getVideoData();this.G=300<=a.width&&!b.isAd();g.iQ(this,this.G);g.gV(this.B,this.element,this.G&&this.W)};
g.h.BU=function(){this.D=!0;this.F=!1;E_(this,1);g.Y(this.B).A&&txa(this.H,this.element);g.Y(this.B).Ob&&this.B.Ba("WATCH_LATER_VIDEO_ADDED")};
g.h.OP=function(){var a=this;g.fV(this.B,this.element);var b=g.Y(this.B),c=this.B.getVideoData().videoId;b.Sc?zxa(this,c):this.B.app.ya?Nsa(function(){sQ(a.B,"embedsItpWatchLaterResult",{accepted:!0});MH();Axa(a,c)},function(){sQ(a.B,"embedsItpWatchLaterResult",{accepted:!1});
Bxa(a,"\u00c7erezleriniz taray\u0131c\u0131 taraf\u0131ndan engellendi\u011finden, kaydetme i\u015flemi maalesef ba\u015far\u0131s\u0131z oldu.")}):Axa(this,c)};
g.h.CU=function(a,b){this.F=!1;var c="Bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.";b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);Bxa(this,c)};
g.h.DU=function(){this.F=this.D=!1;E_(this,2);g.Y(this.B).Ob&&this.B.Ba("WATCH_LATER_VIDEO_REMOVED")};
g.h.PP=function(){this.F=this.D=!1;E_(this,2)};
g.h.Tb=function(a){g.W.prototype.Tb.call(this,a);g.gV(this.B,this.element,this.G&&a)};g.t(G_,g.W);G_.prototype.K=function(a){g.iQ(this,!g.X(a.state,2))};
G_.prototype.H=function(){if(this.B.getVideoData().videoId){var a=this.B.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a);this.D||(this.D=this.X("click",this.J))}else this.D&&(this.updateValue("url",null),this.Ka(this.D),this.D=null)};
G_.prototype.J=function(a){var b=this.B.getVideoUrl(!g.KV(a),!1,!0,!0);YV(b,this.B,a)};
G_.prototype.G=function(a){var b=g.Y(this.B),c=Cxa(a,b);if(c&&!this.F||!c&&this.F)a=Cxa(a,b)&&b.H?{I:"div",da:["ytp-icon","ytp-icon-watermark-small"]}:Cta(),a=new g.W(a),b=this.o["ytp-watermark"],g.U(b,"ytp-watermark-small",c),g.oe(b),a.A(b),this.F=c};g.t(H_,LX);g.h=H_.prototype;g.h.Hb=function(){return this.J};
g.h.JB=function(){return this.o};
g.h.gm=function(a,b){b?this.Y=a:this.Y=null;this.ug()};
g.h.qp=function(a,b){if(b)this.K.push(a);else for(var c=this.K.length;0<=c;c--)if(this.K[c]==a){this.K.splice(c,1);break}this.A.qc(64,0<this.K.length)};
g.h.nl=function(){this.api.ee()&&this.api.ue();MX(this);return!!this.Y||LX.prototype.nl.call(this)};
g.h.ug=function(){var a=!this.nl(),b=a&&this.api.ee()&&!g.X(g.NU(this.api),2);a?(this.Xa.show(),this.jb.show()):(this.Xa.hide(),this.jb.hide(),this.J.oi(this.C.element));b?(this.aa.F.show(),g.yF("iv-button-shown")):(b=this.aa,g.yF("iv-button-hidden"),b.F.hide());this.o&&Hua(this.o,!a);LX.prototype.ug.call(this)};
g.h.ar=function(a,b,c,d,e){a.style.left="";a.style.top="";a.style.bottom="";var f=g.pi(a);d=d||this.o&&g.we(this.o.sa(),b);if(null==c||!d){var k=g.pi(b);var l=g.mi(b,this.api.getRootNode());null==c&&(c=l.x+k.width/2)}c-=f.width/2;d?(k=JX(this.o),l=Iua(this.o),b=g.OU(this.api).getPlayerSize().height,c=g.Jd(c,k,k+l-f.width),f=b-(this.o.B.bd()?72:50)-f.height):g.we(this.C.element,b)?(k=g.OU(this.api).getPlayerSize().width,c=g.Jd(c,12,k-f.width-12),f=this.bd()?this.Ma:this.Oa,"gvn"==g.Y(this.api).playerStyle&&
(f+=20),g.Y(this.api).B&&(f-=this.bd()?26:18)):(b=g.OU(this.api).getPlayerSize(),c=g.Jd(c,12,b.width-f.width-12),f=l.y>(b.height-k.height)/2?l.y-f.height-12:l.y+k.height+12);a.style.top=f+(e||0)+"px";a.style.left=c+"px"};
g.h.Nw=function(a){a&&(this.J.oi(this.C.element),this.o&&this.J.oi(this.o.sa()));LX.prototype.Nw.call(this,a)};
g.h.ow=function(a){var b=g.OU(this.api).getPlayerSize();b=new g.Kh(0,0,b.width,b.height);if(a||this.A.o&&!this.nl())g.Y(this.api).Hl&&(a=this.bd()?this.Ma:this.Oa,b.top+=a,b.height-=a),this.o&&(b.height-=this.o.B.bd()?72:50);return b};
g.h.ZO=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","Tam Ekranda YouTube Video Oynat\u0131c\u0131s\u0131"),g.Y(this.api).externalFullscreen||(b.parentElement.insertBefore(this.ia.element,b),b.parentElement.insertBefore(this.ha.element,b.nextSibling))):g.hF(Error("Player not in DOM.")):(b.setAttribute("aria-label","YouTube Video Oynat\u0131c\u0131s\u0131"),g.hQ(this.ia),g.hQ(this.ha));this.bb();this.hh()};
g.h.bd=function(){return this.api.isFullscreen()||!1};
g.h.showControls=function(a){this.dc=!a;this.ug()};
g.h.bb=function(){var a=this.bd();this.J.G=a?1.5:1;g.U(this.M.element,"ytp-big-mode",a);this.ug();if(this.ka)if(this.Kh())this.G&&dxa(this.D,this.G),this.F&&dxa(this.D,this.F);else{this.G&&!g.we(this.G.element,this.xa.element)&&this.G.A(this.xa.element,0);this.F&&!g.we(this.F.element,this.xa.element)&&this.F.A(this.xa.element,1);a=this.D;for(var b=g.r(a.D),c=b.next();!c.done;c=b.next())g.hQ(c.value);a.D=[]}this.hh();LX.prototype.bb.call(this)};
g.h.hh=function(){LX.prototype.hh.call(this);var a=this.ka&&this.Kh();g.gV(this.api,this.Sa.element,!!this.H);this.ba&&this.ba.Tb(!!this.H);a?this.ua&&this.ua.Tb(!!this.H):(this.F&&this.F.Tb(!!this.H),this.G&&this.G.Tb(!!this.H));if(!this.H)for(this.J.oi(this.C.element),a=0;a<this.ga.length;a++){var b=this.ga[a];vW(b)&&b.Kb()}};
g.h.Gr=function(a){this.o&&Hua(this.o,this.nl());this.ug();LX.prototype.Gr.call(this,a)};
g.h.BS=function(){this.api.Xm()&&this.A.qc(128,!1)};
g.h.handleGlobalKeyDown=function(a,b,c,d,e){return this.W?this.W.handleGlobalKeyDown(a,b,c,d,e):!1};
g.h.handleGlobalKeyUp=function(a,b,c,d,e){return this.W?this.W.handleGlobalKeyUp(a,b,c,d,e):!1};
g.h.Uj=function(){return this.M.C?(this.M.Kb(),!0):this.K.length?(this.K[this.K.length-1].Kb(),!0):this.Y?(this.Y.Kb(),!0):LX.prototype.Uj.call(this)};
g.h.bG=function(a,b){this.Fc=b;this.qp(a,b);this.HG()};
g.h.HG=function(){var a=this.Fc||vW(this.M);this.Ia!=a&&(this.Ia=a,this.api.Ba("onAutonavPauseRequest",this.Ia))};
g.h.DK=function(){I_(this,this.api.getRootNode(),!0).focus()};
g.h.EK=function(){I_(this,this.api.getRootNode(),!1).focus()};
g.h.qn=function(){return this.o&&this.o.o};
g.h.qw=function(){this.A.qc(2,!0)};
g.h.gC=function(){this.L.hide()};
g.h.GD=function(a){Wwa(this.L,!MQ(a))};g.t(g.J_,g.kV);g.J_.prototype.wc=function(){return!1};
g.J_.prototype.init=function(){var a=g.Y(this.player),b="gaming"==a.playerStyle&&a.A;a=wO(a)&&a.A&&a.experiments.o("enable_bulleit_mweb_remix_ui");b||a?this.en=new LX(this.player):this.en=new H_(this.player);g.M(this,this.en);this.en.init();g.aV(this.player,"ux")};g.Ea(K_);var o0=g.z("ytPlayerUtilsVideoTagPoolInstance")||K_.getInstance();g.Da("ytPlayerUtilsVideoTagPoolInstance",o0,void 0);g.h=K_.prototype;g.h.nB=function(a){if(!(this.o.length>=a)){a-=this.o.length;for(var b=0;b<a;b++)Exa(this)}};
g.h.TK=function(a,b){if(this.o.length)return this.o.pop();var c=Exa(this,a,b);a||g.db(this.o,c);return c};
g.h.fV=function(a){if(a&&g.Ya(this.A,a)){a.src&&(tG&&0<a.readyState&&(a.currentTime=Math.max(dAa,0)),a.removeAttribute("src"),a.load(),a.Cj&&a.Cj.A&&koa(a,null));for(var b in bH)bH[b][0]==a&&g.fH(b);g.db(this.A,a);g.db(this.C,a)}};
g.h.SL=function(a){return this.o.length>=(a||1)};
g.h.FJ=function(){for(var a=this.C.length-1;0<=a;a--)L_(this,this.C[a]);this.o.length==this.A.length&&4<=this.o.length||(4>this.A.length?this.nB(4):(this.o=[],(0,g.E)(this.A,function(b){L_(this,b)},this)))};
K_.prototype.fillPool=K_.prototype.nB;K_.prototype.getTag=K_.prototype.TK;K_.prototype.releaseTag=K_.prototype.fV;K_.prototype.hasTags=K_.prototype.SL;K_.prototype.activateTags=K_.prototype.FJ;g.t(M_,g.L);g.h=M_.prototype;g.h.RO=function(a){if(this.C==g.hV(this.o)){var b=this.K.get(a);Ixa(this,b.target,b.gy,a)}else{b=this.A.find(function(e){return e.Ci.Fg==a});
var c=b.Ci,d=c.target;c=c.gy;d?Ixa(this,d,c,a):Hxa(this,b.ij,c,a)}};
g.h.fT=function(){var a=this.H;N_(this);a&&(O_(this,a),g.hV(this.o).addCueRange(a.Ci.Fg))};
g.h.seekTo=function(a,b,c){a=void 0===a?0:a;c=void 0===c?null:c;if(void 0===b?0:b)Fxa(this,a);else{b=g.hV(this.o);var d=b==this.D?this.G:null;P_(this,!1);this.L=a;null!=c&&this.J.start(c);b&&(this.G=d||b.getPlayerState(),rsa(b),this.D=b)}};
g.h.SO=function(a){var b=this;if(0<QQ(a,128)){var c=this.A.find(function(d){return O_(b,d)});
c&&(a=new g.FQ(8),c=Jxa(this,c)/1E3,S_(this,c,a))}};
g.h.V=function(){P_(this,!1);Mxa(this);g.L.prototype.V.call(this)};g.t(g.T_,g.yQ);g.h=g.T_.prototype;g.h.isView=function(){return!0};
g.h.Bm=function(){return BM(this.o.Bm(),this.A,this.F)};
g.h.rf=function(){return BM(this.o.rf(),this.A,this.F)};
g.h.Ip=function(){return BM(this.o.Ip(),this.A,this.F)};
g.h.getCurrentTime=function(){return this.o.getCurrentTime()-this.A};
g.h.Eq=function(a){this.o.Eq(a+this.A)};
g.h.getDuration=function(){return isFinite(this.F)&&!this.K?this.F-this.A:this.o.getDuration()-this.A};
g.h.play=function(){this.o.getCurrentTime()<this.A&&this.o.Eq(this.A);return this.o.play()};
g.h.Eb=function(){var a=g.yQ.prototype.Eb.call(this);a.view=this.A+"-"+this.F;return a};
g.h.addEventListener=function(a,b){this.o.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.o.removeEventListener(a,b)};
g.h.Bq=function(){return this.o.Bq()};
g.h.Lf=function(a){this.o.Lf(a)};
g.h.fr=function(){this.o.fr()};
g.h.zq=function(){return this.o.zq()};
g.h.playVideo=function(){return this.o.playVideo()};
g.h.mu=function(){this.o.mu()};
g.h.iu=function(){this.o.iu()};
g.h.Ph=function(){return this.o.Ph()};
g.h.sa=function(){return this.o.sa()};
g.h.Cd=function(){return this.o.Cd()};
g.h.Fq=function(a){this.o.Fq(a)};
g.h.vx=function(){this.o.vx()};
g.h.getPlaybackRate=function(){return this.o.getPlaybackRate()};
g.h.setPlaybackRate=function(a){return this.o.setPlaybackRate(a)};
g.h.yq=function(){return this.o.yq()};
g.h.setLoop=function(a){this.o.setLoop(a)};
g.h.canPlayType=function(a,b){return this.o.canPlayType(a,b)};
g.h.Qh=function(){return this.o.Qh()};
g.h.kn=function(){return this.o.kn()};
g.h.Vg=function(){return this.o.Vg()};
g.h.Aq=function(){return this.o.Aq()};
g.h.Dk=function(a){this.o.Dk(a)};
g.h.Cq=function(){return this.o.Cq()};
g.h.load=function(){this.o.load()};
g.h.pause=function(){this.o.pause()};
g.h.De=function(){return this.o.De()};
g.h.Gp=function(){return this.o.Gp()};
g.h.Fb=function(){return this.o.Fb()};
g.h.gn=function(){return this.o.gn()};
g.h.Dq=function(){return this.o.Dq()};
g.h.cj=function(){return this.o.cj()};
g.h.iw=function(){return this.o.iw()};
g.h.togglePictureInPicture=function(){this.o.togglePictureInPicture()};
g.h.Wd=function(){return this.o.Wd()};
g.h.hn=function(){return this.o.hn()};
g.h.setSize=function(a){return this.o.setSize(a)};
g.h.getVolume=function(){return this.o.getVolume()};
g.h.setVolume=function(a){this.o.setVolume(a)};
g.h.setAttribute=function(a,b){this.o.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.o.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.o.hasAttribute(a)};
g.h.Ml=ba(7);g.h.co=ba(9);g.h.vj=ba(4);g.h.Sl=ba(11);g.h.fn=function(){this.o.fn()};
g.h.Fd=function(a,b){this.o.Fd(a,b)};
g.h.jn=function(a){return this.o.jn(a)};
g.h.stopVideo=function(){this.o.stopVideo()};
g.h.nu=function(a){this.o.nu(a)};g.t(U_,g.L);g.h=U_.prototype;g.h.isFinished=function(){return 5==this.B.status};
g.h.getStatus=function(){return this.B};
g.h.ki=function(){var a=this.o.getVideoData(),b=this.A.getVideoData();if((b=a.Ea&&(b.Ea||this.D.o))&&!(b=!this.D.o)&&(b=a.oa)){a=a.oa;for(var c=b=!1,d=g.r(Object.values(a.o)),e=d.next();!e.done;e=d.next())e=e.value,e.info.audio&&e.index.Jb()&&(b=!0),e.info.video&&e.index.Jb()&&(c=!0);a.o["0"]&&(c=!0);b=b&&c}if(b)if(a=this.D,b=this.o,c=this.L,d=this.A.getVideoData(),e=b.getVideoData(),a=!a.o&&b.getCurrentTime()>(c-3E3)/1E3?"too-close":e.Da&&!isFinite(c)?"live-infinite":a.o&&!d.Ea?null:d.Ea.o&&e.Ea.o?
d.Ea.videoInfos[0].containerType!=e.Ea.videoInfos[0].containerType?"container":g.LP(e)&&g.LP(d)?"content-protection":e.Ea.o[0].audio.sampleRate==d.Ea.o[0].audio.sampleRate||g.mM?null:"sample-rate":"non-dash")W_(this,"Can not apply gapless "+a);else if(2==this.B.status)Uxa(this);else if((a=this.o.J)&&(a.o||a.A))if(!HM(a)&&g.kG())W_(this,"MediaSource is closed");else if(b=this.o.A,b.Vg())W_(this,"MediaElement is ended");else{var f=Pxa(this);c=f.mK;d=f.bE;e=f.lK;f=f.aE;0>d?W_(this,"Next player is too far in the future"):
(this.J=e,this.K=this.H?d+this.A.getCurrentTime():e,this.C=MM(a,c,e,!0),this.F=MM(a,d,f,!1),AU(this.o,this.C),pU(this.o,Qxa(b,c,e,this.o.getVideoData().Da)),V_(this,2),Uxa(this))}};
g.h.Ik=function(a){var b=Txa(this),c=(b=a==b.eG)?this.C.o:this.C.A,d=b?this.F.o:this.F.A;if(c.isActive()&&!d.isActive()){var e=this.J,f=a.tc();0<=xM(f,e-.01)&&(c.setActive(!1),this.A.xb("sbr",d.Eb({tt:e,a:""+ +b})),a.abort(),this.D.F||a.remove(this.K,Infinity),d.setActive(!0));a=this.F.A;this.F.o.isActive()&&a.isActive()&&V_(this,4)}};
g.h.V=function(){Sxa(this);if(this.C){var a=this.C.A;this.C.o.o.unsubscribe("updateend",this.Ik,this);a.o.unsubscribe("updateend",this.Ik,this)}g.L.prototype.V.call(this)};g.t(X_,g.L);X_.prototype.clearQueue=function(){this.D&&this.D.reject("Queue cleared");Y_(this)};
X_.prototype.V=function(){Y_(this);g.L.prototype.V.call(this)};g.t(a0,g.L);a0.prototype.get=function(a){Z_(this);var b=this.o.find(function(c){return c.key==a});
return b?b.value:null};
a0.prototype.set=function(a,b,c){this.remove(a,!0);Z_(this);a={key:a,value:b,expire:Infinity};c&&isFinite(c)&&(c*=1E3,a.expire=g.PH()+c);for(this.o.push(a);this.o.length>this.B;)c=this.o.shift(),b0(this,c,!0);$_(this)};
a0.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.o.find(function(d){return d.key==a});
c&&(b0(this,c,b),g.eb(this.o,function(d){return d.key==a}),$_(this))};
a0.prototype.V=function(){var a=this;g.L.prototype.V.call(this);this.o.forEach(function(b){b0(a,b,!0)});
this.o=[]};g.t(c0,g.L);c0.prototype.C=function(a){this.A=a[a.length-1].intersectionRatio};
c0.prototype.V=function(){g.L.prototype.V.call(this);this.A=null;this.o&&this.o.disconnect()};var Yxa=Pc(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}}),d0=!1;g.t(e0,g.W);g.h=e0.prototype;g.h.QL=function(){this.K=new g.Kh(0,0,0,0);this.D=new g.Kh(0,0,0,0)};
g.h.Oq=function(a){g.Kr(this.element,arguments)};
g.h.yf=function(){if(this.B){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.D;b=!g.Rd(a,new g.Qd(b.width,b.height));var c=dya(this);b&&(this.D.width=a.width,this.D.height=a.height);a=this.app.o;(c||b||a.ha)&&this.app.A.U("resize",this.getPlayerSize())}}};
g.h.aP=function(a,b){this.updateVideoData(b)};
g.h.RL=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())};
g.h.updateVideoData=function(a){if(this.B){var b=this.app.o;tG&&(this.B.setAttribute("x-webkit-airplay","allow"),a.title?this.B.setAttribute("title",a.title):this.B.removeAttribute("title"));ona(a)?this.B.setAttribute("disableremoteplayback",""):this.B.removeAttribute("disableremoteplayback");this.B.setAttribute("controlslist","nodownload");b.ms&&a.videoId&&(this.B.poster=a.hd("default.jpg"))}b=g.NP(a,"yt:bgcolor");this.H.style.backgroundColor=b?b:"";this.Y=ON(g.NP(a,"yt:stretch"));this.aa=ON(g.NP(a,
"yt:crop"),!0);g.U(this.element,"ytp-dni",a.Lc);this.yf()};
g.h.setGlobalCrop=function(a){this.M=ON(a,!0);this.yf()};
g.h.getPlayerSize=function(){var a=this.app.o,b=this.app.K.isFullscreen();if(b&&jG())return new g.Qd(window.outerWidth,window.outerHeight);if(b||a.To){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.G&&this.G.media==a||(this.G=window.matchMedia(a));var c=this.G&&this.G.matches}if(c)return new g.Qd(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.F.width)&&!isNaN(this.F.height))return this.F.clone();if(this.ha&&this.ea&&!this.app.isWidescreen())for(a=
0;a<this.ha.length;a++)if(b=this.ha[a],b.query.matches)return new g.Qd(b.size.width,b.size.height)}return new g.Qd(this.element.clientWidth,this.element.clientHeight)};
g.h.getVideoAspectRatio=function(){return isNaN(this.Y)?bya(this):this.Y};
g.h.getVideoContentRect=function(a){var b=this.getPlayerSize();a=cya(this,b,this.getVideoAspectRatio(),a);return new g.Kh((b.width-a.width)/2,(b.height-a.height)/2,a.width,a.height)};
g.h.xL=function(){this.B&&f0(this);i0(this)!=this.P&&this.yf()};
g.h.bP=function(){f0(this)};
g.h.setUseFastSizingOnWatch=function(a){this.ea!=a&&(this.ea=a,this.yf())};
g.h.setInternalSize=function(a){g.Rd(this.F,a)||(this.F=a,this.yf())};
g.h.V=function(){this.L&&g.wF(this.L);aya(this);g.W.prototype.V.call(this)};eya.prototype.click=function(a){this.o.has(a);this.A.has(a);var b=g.EI();b&&a.visualElement&&g.rI(b,a.visualElement)};g.t(j0,g.W);g.t(l0,g.W);g.h=l0.prototype;g.h.show=function(){g.W.prototype.show.call(this);this.Ew()};
g.h.hide=function(){g.W.prototype.hide.call(this);this.B.stop()};
g.h.stop=function(){this.B.stop()};
g.h.start=function(){this.B.isActive()||this.Ew()};
g.h.Ew=function(){var a=g.PH(),b=g.Z(this.D),c=this.D.getVideoData(),d=this.D.A,e=g.cV(d).sa(),f=b.Eu(),k=b.ea,l=8*KT(k,"bandwidth")/1024,m=KT(k,"networkactivity")/1024,n=KT(k,"bufferhealth");if(b.H){var p=b.H.o.o+"/"+lN(sU(b));p=p+"/"+b.H.Qf()}else p="";var q="";if(b.na("html5_show_stats_nerds_debug_info")){var u=b.C.o.toString(16);q+="s:"+u;if(b.A){u=b.getCurrentTime().toFixed(2);q+=" t:"+u;if((u=b.A.rf())&&0<u.length){q+=" b:";for(var w=0;w<u.length;++w){var D=u.start(w).toFixed(2),F=u.end(w).toFixed(2);
q+=D+","+F+","}}b.A.kn()&&(q+="S");b.A.Qh()&&(q+="P");b.A.Vg()&&(q+="E")}}u=g.uO();d=g.TU(d).NM;w=c.Ea&&!c.Ea.o?"display:none":"";if((D=c.clientPlaybackNonce)&&16==D.length){F=0;for(var I="",O=0;10>O;O++)if(F=(F<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(D.charAt(O)),4==O%5){for(var na="",Ia=0;6>Ia;Ia++)na="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(F&31)+na,F>>=5;I+=na}D=I.substr(0,4)+" "+I.substr(4,4)+" "+(""+I.substr(8,4))}else D="";f={video_id_and_cpn:c.videoId+
" / "+D,codecs:"",dropped_frames:f.totalVideoFrames?""+(f.droppedVideoFrames||0)+"/"+f.totalVideoFrames:"-",stream_host:b.D?b.D.Oa:"",dimensions:e.clientWidth+"x"+e.clientHeight+(1<u?"*"+u:""),bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:n.toFixed(2)+" s",drm_style:p?"":"display:none",drm:p,debug_info_style:q?"":"display:none",debug_info:q,host_style:w,bandwidth_style:w,network_activity_style:w,network_activity_bytes:m.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none",
playback_categories:""};l=this.D.K.getVolume();m=$P(c);l=Math.round(l)+"% / "+Math.round(l*m)+"%";m=c.oj.toFixed(1);isFinite(m)&&(l+=" (content loudness "+m+"dB)");f.volume=l;f.resolution=e.videoWidth+"x"+e.videoHeight;if(c.Ca){e=c.Ca.video.fps;1<e&&(f.resolution+="@"+e);(e=g.iU(b))&&e.video&&(f.resolution+=" / "+e.video.width+"x"+e.video.height,1<e.video.fps&&(f.resolution+="@"+e.video.fps));f.codecs=hya(c.Ca);if(e=c.Hc)e=c.Ca,e=!(e.audio&&e.video);e&&(f.codecs+=" / "+hya(c.Hc));c.Ca.video.o||c.Ca.video.primaries?
(e=c.Ca.video.o||"unknown","smpte2084"==e?e+=" (PQ)":"arib-std-b67"==e&&(e+=" (HLG)"),f.color=e+" / "+(c.Ca.video.primaries||"unknown"),f.color_style=""):f.color_style="display:none"}if(c.vk)f.live_mode="Post-Live"+(FP(c)?" Manifestless":"");else if(e=c.Da,f.live_latency_style=e?"":"display:none",f.live_mode_style=e?"":"display:none",e){l=KT(k,"livelatency");f.live_latency_secs=l.toFixed(2)+"s";e=FP(c)?"Manifestless, ":"";m="Uncertain";if(0<=l&&120>l)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":m=
"Optimized for Normal Latency";break;case "LOW":m="Optimized for Low Latency";break;case "ULTRALOW":m="Optimized for Ultra Low Latency";break;default:m="Unknown Latency Setting"}else m=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";e+=m;(c=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(e+=", seq "+c.sequence);f.live_mode=e}nU(b)&&(f.playback_categories+="Gapless ");f.playback_categories_style=f.playback_categories?"":"display:none";k0(this.F,JT(k,"bandwidth"));
k0(this.J,JT(k,"networkactivity"));k0(this.H,JT(k,"livelatency"));k0(this.G,JT(k,"bufferhealth"));this.update(f);a=25<g.PH()-a?5E3:500;this.B.start(a)};g.t(m0,g.L);g.h=m0.prototype;g.h.getVisibilityState=function(a,b,c,d,e){return this.J.getVisibilityState(a,b,c,d,e)};
g.h.isVideoInfoVisible=function(){return!(!this.P||!this.P.C)};
g.h.sQ=function(){if(!n0(this)){if(this.na("web_player_inline_botguard")){var a=this.getVideoData().botguardData;if(a){var b=a.interpreterScript||null,c=a.interpreterUrl||null;a=a.program;var d=this.o.lf;a&&(OI.cf?0:72E5<g.PH()-NI)&&(b||c)&&OI.initialize(b,c,a,qka,d)}}g.C0(this,5)}};
g.h.NS=function(a){n0(this)||(Bya(this),MQ(a.getPlayerState())&&this.playVideo())};
g.h.canPlayType=function(a){return lM(a)};
g.h.getVideoData=function(){return this.D.getVideoData()};
g.h.getVideoLoadedFraction=function(a){return(a=(a=g.Z(this,a))?a.A:null)?BQ(a):0};
g.h.Td=function(){var a=this.B.Ng(),b=this.B.C;b&&g.Oa(a,b.Ng());a.fs=this.A.isFullscreen();a.volume=Math.round(this.K.getVolume());a.mos=this.K.isMuted()?1:0;if(this.o.experiments.o("html5_enable_embedded_player_visibility_signals")&&this.o.o&&(this.gd&&(b=this.gd,b=null==b.A?null:Math.round(100*b.A)/100,null!=b&&(a.inview=b)),b=this.H.getPlayerSize(),0<b.height&&0<b.width)){b=[Math.round(b.height),Math.round(b.width)];var c=g.uO();1<c&&b.push(c);a.size=b.join(":")}return a};
g.h.setPlaybackRate=function(a,b){if(!isNaN(a)){var c=pya(this,a);this.C.getPlaybackRate()!=c&&(this.C.setPlaybackRate(c),b&&!this.o.o&&g.JI("yt-player-playback-rate",c),this.A.Ba("onPlaybackRateChange",c))}};
g.h.getCurrentTime=function(a,b){b=void 0===b?!0:b;if(3==this.getPresentingPlayerType())return g.PU(this.B).getCurrentTime();var c=g.Z(this,a);return c?b?(c=x0(this,c),F0(this,c.getCurrentTime(),c)):c.getCurrentTime():0};
g.h.getDuration=function(a,b){var c=g.Z(this,a);return c?void 0===b||b?(c=w0(this,c),F0(this,c.getDuration(),c)):c.getDuration():0};
g.h.gc=function(a){a=g.Z(this,a);if(!a)return 0;a=w0(this,a);return F0(this,a.gc(),a)};
g.h.getDebugText=function(a){var b=this.C.Eb(a);if(this.D&&this.D!=this.C&&(b=Hya(b,this.D.Eb(a),"ad_"),a)){var c=b;var d={};var e;if(e=g.x("movie_player")?document.getElementById("movie_player"):"movie_player")d.bounds=e.getBoundingClientRect(),d["class"]=e.className;e={};var f=g.Zd("video-ads");f?(Gya(f,e),e.html=f.outerHTML):e.missing=1;f={};var k=g.Zd("videoAdUiSkipContainer"),l=g.Zd("ytp-ad-skip-button-container"),m=k||l;m?(Gya(m,f),f.ima=k?1:0,f.bulleit=l?1:0):f.missing=1;k={};k.player=d;k.videoAds=
e;k.skipButton=f;d=JSON.stringify(k);c.ad_skipBtnDbgInfo=d}a&&this.F&&(b["0sz"]=0==Sd(this.F.hn()),b.op=this.F.jn("opacity"),c=this.F.Wd().y+this.F.hn().height,b.yof=0>=c,b.dis=this.F.jn("display"));(a=a?(0,g.aU)():null)&&(b.gpu=a);b.cgr=!0;b.debug_playbackQuality=this.K.getPlaybackQuality();b.debug_date=(new Date).toString();delete b.uga;delete b.q;(a=this.B.yd)&&(b=Hya(b,a.Eb(),"fresca_"));return JSON.stringify(b,null,2)};
g.h.getPresentingPlayerType=function(){return 1==this.M?1:n0(this)?3:g.Z(this).getPlayerType()};
g.h.wN=function(a){switch(a.type){case "loadedmetadata":uP("fvb","")||(0,g.JP)("fvb",void 0,"");vP("fvb");this.Xa.start();break;case "loadstart":uP("gv","")||(0,g.JP)("gv",void 0,"");vP("gv");break;case "progress":case "timeupdate":!uP("l2s","")&&2<=zM(a.target.rf())&&(0,g.JP)("l2s",void 0,"");break;case "playing":g.xO&&this.Xa.start();if(g.kO(this.o))a=!1;else{var b=this.B.D;a="none"==this.F.jn("display")||0==Sd(this.F.hn());var c=i0(this.H),d=this.D.getVideoData(),e=!this.na("web_player_music_reload_hidden_killswitch")&&
wO(this.o);d=zP(d);b=!c||b||e||d||this.o.lh;a=a&&!b}a&&(this.D.xb("hidden","1",!0),this.getVideoData().qg||(this.na("html5_new_elem_on_hidden")?(this.getVideoData().qg=1,this.JE(null),this.D.playVideo()):Q0(this,"hidden",!0)))}};
g.h.QR=function(a,b){this.A.Ba("onLoadProgress",b)};
g.h.ZT=function(){this.A.U("playbackstalledatstart")};
g.h.xN=function(a,b){if(!this.na("web_player_continuous_video_progress_killswitch")){var c=x0(this,a);b=F0(this,c.getCurrentTime(),c)}this.A.Ba("onVideoProgress",b)};
g.h.mR=function(){this.A.Ba("onDompaused")};
g.h.cT=function(){this.K.U("progresssync")};
g.h.uQ=function(a){if(1==this.getPresentingPlayerType()){0<QQ(a,1)&&!g.X(a.state,64)&&LZ(this).Da&&this.C.isAtLiveHead()&&1<this.A.getPlaybackRate()&&this.setPlaybackRate(1,!0);0<QQ(a,2)&&s0(this);if(g.X(a.state,128)){var b=a.state;J0(this,5);b=b.A;this.A.Ba("onError",cAa[b.errorCode]||5);this.A.Ba("onDetailedError",b);6048E5<g.PH()-this.o.Dj&&this.A.Ba("onReloadRequired")}a.state.sb()&&!g.NQ(a.state)&&!uP("pbresume","ad_to_video")&&uP("_start","ad_to_video")&&(b=this.getVideoData(),(0,g.iR)("cpn",
b.clientPlaybackNonce,"ad_to_video"),b.videoId&&(0,g.iR)("docid",b.videoId,"ad_to_video"),(0,g.JP)("pbresume",void 0,"ad_to_video"));this.A.U("applicationplayerstatechange",a)}};
g.h.hF=function(a){3!=this.getPresentingPlayerType()&&this.A.U("presentingplayerstatechange",a)};
g.h.tN=function(a){u0(this,OQ(a.state));g.X(a.state,1024)&&this.A.isMutedByMutedAutoplay()&&(tQ(this,{muted:!1,volume:this.L.volume},!1),D0(this,!1))};
g.h.VS=function(a){a.state.sb()&&!g.NQ(a.state)&&(Rwa(this.B),g.uH(this.Fc))};
g.h.qQ=function(a){"newdata"==a&&xya(this)};
g.h.wQ=function(){this.A.Ba("onPlaybackAudioChange",this.A.getAudioTrack().Rb.name)};
g.h.uU=function(a){var b=this.D.getVideoData();a==b&&this.A.Ba("onPlaybackQualityChange",a.Ca.Aa().quality)};
g.h.ew=function(a,b,c){this.na("html5_app_oauth_update_killswitch")||b!=this.C||(this.o.Oa=c.oauthToken);if("newdata"==a)XZ(this.B,2),this.A.U("videoplayerreset",b);else{if(!this.F)return;if("dataloaded"==a)if(this.D==this.C){if(c.ib.gh(c.Ln),!this.C.getPlayerState().isError()){var d=n0(this);LZ(this).Jb();d&&g.C0(this,6);sya(this);d||(d=this.B.C)&&!d.created&&this.B.o.getVideoData(1).adModule&&d.create()}}else sya(this);if(1==b.getPlayerType()&&(this.o.M&&Fya(this),this.getVideoData().Da&&!this.o.rr&&
g.VT(this.C,"html5.unsupportedlive","DEVICE_FALLBACK",void 0),c.Jb())){if(c.jr||c.Zv||c.xd.focEnabled||c.xd.rmktEnabled||this.getVideoData().Yz)d=this.getVideoData(),I0(this,"part2viewed",1,0x8000000000000),I0(this,"engagedview",Math.max(1,1E3*d.qf),0x8000000000000),d.Da||(d=1E3*d.lengthSeconds,I0(this,"videoplaytime25",.25*d,d),I0(this,"videoplaytime50",.5*d,d),I0(this,"videoplaytime75",.75*d,d),I0(this,"videoplaytime100",d,0x8000000000000),I0(this,"conversionview",d,0x8000000000000));if(c.chapterMarkers.length&&
this.o.experiments.o("enable_player_chapter_markers")){d=this.getVideoData();for(var e=[],f=0;f<d.chapterMarkers.length;f++){var k=d.chapterMarkers[f].playerChapterMarkerRenderer;if(k){var l={id:"__chapterMarker"+f+"__",style:"ytp-chapter-marker",visible:!0};k.color&&(l.color=k.color);k.tooltip&&(l.tooltip=k.tooltip);k.icons&&(l.icons=k.icons);var m=k.startTimeMs;k=new g.jR(m,k.endTimeMs||m,l);k.namespace="appchaptermarker";e.push(k)}}WU(this,e,1)}}this.A.U("videodatachange",a,c,b.getPlayerType())}this.o.Ob&&
this.A.Ba("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.Ar;a&&c?(b=this.ka,a!=g.EI()&&(GI(a,c),gya(b))):gya(this.ka)};
g.h.cp=function(){z0(this,null);this.A.Ba("onPlaylistUpdate")};
g.h.mE=function(a){var b=a.getId(),c=LZ(this);if("part2viewed"==b)c.wF&&g.yG(c.wF),c.Zv&&g.yG(c.Zv);else if("conversionview"==b){var d=this.C;d.B&&xoa(d.B)}else"engagedview"==b&&g.yG(c.jr);if(c.kr){d=c.kr;var e={label:a.getId()};if(this.o.experiments.o("send_pyv_ad_mt_and_abandon_pings")){var f=1E3*this.getCurrentTime();e.ad_mt=Math.round(Math.max(0,f)).toString()}d=g.NF(d,e);g.yG(d)}switch(b){case "videoplaytime25":c.VC&&g.yG(c.VC);c.yF&&g.yG(c.yF);break;case "videoplaytime50":c.WC&&g.yG(c.WC);c.zF&&
g.yG(c.zF);break;case "videoplaytime75":c.XC&&g.yG(c.XC);c.AF&&g.yG(c.AF);break;case "videoplaytime100":c.UC&&g.yG(c.UC),c.xF&&g.yG(c.xF)}(b=this.getVideoData().Yz)&&b[a.getId()]&&(c=b[a.getId()],g.yG(c,void 0,vK(c)||wK(c)||uK(c)),b=b[a.getId()+"gaia"],g.yG(b,void 0,vK(b)||wK(b)||uK(b)));this.C.removeCueRange(a)};
g.h.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.Z(this,a);if(!c)return!1;var d=w0(this,c);c=x0(this,c);return d==c||this.na("html5_continuous_liveness_killswitch")?d.isAtLiveHead(void 0,b):d.isAtLiveHead(F0(this,c.getCurrentTime(),c),!0)};
g.h.seekTo=function(a,b,c,d){b=0!=b;if(d=g.Z(this,d))2==this.M&&B0(this),SZ(this,d)?this.Sa.seekTo(a,b,c):d.seekTo(a,b,c)};
g.h.seekBy=function(a,b,c,d){this.seekTo(this.getCurrentTime()+a,b,c,d)};
g.h.uN=function(){this.A.U("seekcomplete")};
g.h.vN=function(a,b){var c=a.getVideoData();if(1==this.M||2==this.M)c.startSeconds=b;2==this.M?B0(this):this.A.U("seekto",b)};
g.h.iQ=function(){this.A.U("airplayactivechange")};
g.h.jQ=function(){this.A.U("airplayavailabilitychange")};
g.h.DQ=function(){this.A.U("beginseeking")};
g.h.pR=function(){this.A.U("endseeking")};
g.h.getStoryboardFormat=function(a){return(a=g.Z(this,a))?w0(this,a).getVideoData().getStoryboardFormat():null};
g.h.Te=function(a){return(a=g.Z(this,a))?w0(this,a).getVideoData().Te():null};
g.h.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;d=void 0===d?"":d;SZ(this);a=new g.yP(this.o,a);d&&(a.Kd=d);c=void 0===c?Infinity:c;b=b||this.D.getPlayerType();var e;this.o.experiments.o("html5_gapless_preloading")&&(e=E0(this,b,a));e||(e=v0(this,b),WT(e,a,(0,g.B)(this.Td,this)));Gxa(this,e,c)};
g.h.clearQueue=function(){this.xa.clearQueue()};
g.h.loadVideoByPlayerVars=function(a,b,c,d){this.o.hc&&WO(a);var e=new g.yP(this.o,a);c||(a&&pR(a)?(tO(this.o)&&!this.Y&&(a.fetch=0),z0(this,a)):this.G&&z0(this,null),a&&(this.Y=KN(!1,a.external_list)),tO(this.o)&&!this.Y&&A0(this));return R_(this,e,b,d)};
g.h.preloadVideoByPlayerVars=function(a,b,c,d,e){b=void 0===b?1:b;c=void 0===c?NaN:c;d=void 0===d?"":d;e=void 0===e?"":e;var f=b+"_"+PN(a)+"_"+e,k;if(!(k=this.Oa.get(f))&&(k=this.D)){k=this.D.getPlayerType();var l=this.D.getVideoData().videoId,m=this.D.getVideoData().Kd;k=f==k+"_"+l+"_"+m}k||(this.o.hc&&WO(a),a=new g.yP(this.o,a),e&&(a.Kd=e),e=b+"_"+a.videoId+"_"+a.Kd,a.Sk=!0,f=v0(this,b),WT(f,a,(0,g.B)(this.Td,this)),!this.o.experiments.o("unplugged_tvhtml5_video_preload_no_dryrun")&&1==b&&"TVHTML5_UNPLUGGED"==
this.o.deviceParams.c||bU(f,!0),this.o.experiments.o("html5_expire_preloaded_players")&&!c&&(c=3600),this.Oa.set(e,f,c),c="prefetch_"+a.videoId,pP("prefetch",["pfp"],c),(0,g.iR)("docid",a.videoId,c),(0,g.iR)("plt",b,c),(0,g.iR)("c",this.o.deviceParams.c,c),(0,g.iR)("cver",this.o.deviceParams.cver,c),d&&(0,g.iR)("pftr",d,c))};
g.h.setMinimized=function(a){this.J.setMinimized(a);a=this.B;(a=g.Y(a.o).Jl?a.ga:null)&&(this.J.o?a.load():a.unload());this.A.U("minimized")};
g.h.setInline=function(a){this.J.setInline(a)};
g.h.BT=function(){"picture-in-picture"==this.F.sa().webkitPresentationMode?HT(this.J,!0):HT(this.J,!1)};
g.h.togglePictureInPicture=function(){var a=g.Z(this);a&&a.togglePictureInPicture()};
g.h.cueVideoByPlayerVars=function(a,b){this.o.hc&&WO(a);if(a&&pR(a)){this.ma=!0;z0(this,a);var c=this.G.Aa();if(c&&c.isValid())L0(this,c,b);else this.G.onReady((0,g.B)(this.Sq,this))}else b||(b=this.getPresentingPlayerType()),1==b&&this.cp(),L0(this,new g.yP(this.o,a),b)};
g.h.cuePlaylist=function(a,b,c,d){this.ma=!0;a=Rna(a,b,c,d);z0(this,a);this.G.onReady((0,g.B)(this.Sq,this))};
g.h.loadPlaylist=function(a,b,c,d){this.ma=!1;a=Rna(a,b,c,d);z0(this,a);this.G.onReady((0,g.B)(this.Sq,this))};
g.h.Sq=function(){var a=this.G.Aa();if(a){var b=this.getVideoData();b.kj||!this.ma?(b=b.Ih,a=R_(this,a),b&&K0(this,a)):L0(this,a)}this.A.Ba("onPlaylistUpdate")};
g.h.nextVideo=function(a,b){var c=this,d=this.C.getVideoData().suggestions;if(g.dV(this.A)&&d){d=(0,g.K)(d,function(f){return g.VV(c.o,f)});
d=d[0];var e=b?d.iB:d.Id;g.M0(this,d.Aa().videoId,e,d.getPlaylistId(),b)}else!this.Y||this.A.isFullscreen()&&!this.Ga?3==this.getPresentingPlayerType()?g.PU(this.B).nextVideo():this.G&&(tO(this.o)&&!this.A.isFullscreen()?H0(this,"yt.www.watch.lists.next"):(this.G.hasNext(a)&&qR(this.G,Hoa(this.G)),this.G.oc?(d=b&&this.o.experiments.o("html5_player_autonav_logging"),R_(this,this.G.Aa(void 0,b,d),1)):this.ma=!1)):this.A.Ba("onPlaylistNext")};
g.h.previousVideo=function(a){!this.Y||this.A.isFullscreen()&&!this.Ga?3==this.getPresentingPlayerType()?g.PU(this.B).dr():this.G&&(tO(this.o)&&!this.A.isFullscreen()?H0(this,"yt.www.watch.lists.prev"):(this.G.Xf(a)&&qR(this.G,Ioa(this.G)),this.G.oc?R_(this,this.G.Aa(),1):this.ma=!1)):this.A.Ba("onPlaylistPrevious")};
g.h.playVideoAt=function(a){!this.Y||this.A.isFullscreen()&&!this.Ga?this.G&&(this.G.oc?R_(this,this.G.Aa(a),1):this.ma=!1,qR(this.G,a)):this.A.Ba("onPlaylistIndex",a)};
g.h.getPlaylist=function(){return this.G};
g.h.oQ=function(a){this.A.Ba("onCueRangeEnter",a.getId())};
g.h.pQ=function(a){this.A.Ba("onCueRangeExit",a.getId())};
g.h.tQ=function(){this.getPresentingPlayerType();this.ia||(this.ia=Ema(this.xE,this));Boa(this.ha,this.D.getVideoData(),Mwa(this));y0(this)&&this.o.o&&"embedded"==VP(LZ(this))&&this.td&&.01>Math.random()&&sQ(this.ba,"autoplayTriggered",{intentional:this.rd});this.td=!1;var a=g.EI(this.J.o?3:0);a&&sQ(this.ba,"playbackAssociated",{cpn:this.getVideoData().clientPlaybackNonce,csn:a})};
g.h.HR=function(){this.K.U("internalAbandon")};
g.h.xE=function(a){a=a.o;if(!isNaN(a)&&0<a&&this.C){var b=this.C;b.B&&0<a&&(b.B.A.A.aft=[a])}};
g.h.mS=function(){this.Mw()};
g.h.nS=function(){this.Mw()};
g.h.Mw=function(){this.o.Ob&&this.D?this.A.Ba("onApiChange",this.D.getPlayerType()):this.A.Ba("onApiChange")};
g.h.jS=function(){var a=this.F;a={volume:g.Jd(Math.floor(100*a.getVolume()),0,100),muted:a.Aq()};a.muted||D0(this,!1);this.L=g.hc(a);this.A.Ba("onVolumeChange",a)};
g.h.xR=function(){O0(this,N0(this)?1:0);var a=VG();Dya(this,!!a&&g.we(this.H.element,a))};
g.h.isFullscreen=function(){return this.J.isFullscreen()};
g.h.uT=function(){2!=this.J.C&&O0(this,N0(this)?1:0);this.o.Do&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.F&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.F.fn()};
g.h.PR=function(a){3!=this.getPresentingPlayerType()&&this.A.U("liveviewshift",a)};
g.h.playVideo=function(a){if(a=g.Z(this,a))2==this.M?B0(this):this.o.experiments.o("html5_restore_userreload_killswitch")&&a.getPlayerState().isError()?Q0(this,"user"):(null!=this.P&&this.P.C&&this.P.start(),g.X(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())};
g.h.pauseVideo=function(a){(a=g.Z(this,a))&&a.pauseVideo()};
g.h.stopVideo=function(){var a=this.C.getVideoData(),b=new g.yP(this.o,{video_id:a.Ny||a.videoId,oauth_token:a.oauthToken});this.o.experiments.o("html5_stopVideo_copy_thumbs_killswitch")||(b.ci=g.hc(a.ci));this.na("web_player_stop_video_cancel_presenting_killswitch")||J0(this,6);L0(this,b,1);null!=this.P&&this.P.stop()};
g.h.sendVideoStatsEngageEvent=function(a,b,c){(b=g.Z(this,b))&&this.o.wg.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()};
g.h.updatePlaylist=function(){A0(this);this.A.Ba("onPlaylistUpdate")};
g.h.setSizeStyle=function(a,b){this.ce=a;this.xc=b;this.A.U("sizestylechange",a,b);this.H.yf()};
g.h.isWidescreen=function(){return this.xc};
g.h.isInline=function(){return this.J.isInline()};
g.h.getAdState=function(){if(!this.na("web_player_mdx_ad_killswitch")&&3==this.getPresentingPlayerType())return g.PU(this.B).getAdState();if(!SZ(this)){var a=this.B.C;if(a)return a.getAdState()}return-1};
g.h.tT=function(a){var b=this.H.getVideoContentRect();g.Nh(this.sd,b)||(this.sd=b,this.D&&uU(this.D),this.C&&this.C!=this.D&&uU(this.C),1==this.J.C&&this.Ma&&Dya(this,!0));this.uc&&g.Rd(this.uc,a)||(this.A.U("appresize",a),this.uc=a)};
g.h.Mc=function(){return this.K.Mc()};
g.h.NT=function(){this.getPresentingPlayerType();Q0(this,"signature",void 0,!0)};
g.h.JE=function(){q0(this);p0(this)};
g.h.rT=function(a){AU(a,this.F.zq())};
g.h.bR=function(){this.A.Ba("CONNECTION_ISSUE")};
g.h.sN=function(a){this.A.U("heartbeatparams",a)};
g.h.setBlackout=function(a){this.o.lh=a;this.D&&(a=this.D,a.B&&g.wQ(a.B.C),this.o.M&&Fya(this))};
g.h.AS=function(){var a=g.Z(this);a&&g.Csa(a,!this.A.Xm())};
g.h.SR=function(){this.A.Ba("onLoadedMetadata")};
g.h.nR=function(){this.A.Ba("onDrmOutputRestricted")};
g.h.V=function(){this.B.dispose();this.Sa.dispose();this.C.dispose();q0(this);g.Pf(g.Ub(this.Rc),this.G);iP(this.ia);this.ia=0;g.L.prototype.V.call(this)};
g.h.na=function(a){return this.o.experiments.o(a)};
var h2={};g.Da("yt.player.Application.create",function(a,b){try{var c=g.x(a)?a:"player"+g.Ma(a),d=h2[c];if(d){try{d.dispose()}catch(f){g.hF(f)}h2[c]=null}var e=new m0(a,b);g.Nf(e,function(){h2[c]=null});
return h2[c]=e}catch(f){throw g.hF(f),f.stack;}},void 0);
var lAa=g.z("ytcsi.tick");lAa&&lAa("pe");R0.prototype.o=4;R0.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};
R0.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(R0.BYTES_PER_ELEMENT=4,R0.prototype.BYTES_PER_ELEMENT=R0.prototype.o,R0.prototype.set=R0.prototype.set,R0.prototype.toString=R0.prototype.toString,g.Da("Float32Array",R0,void 0));S0.prototype.o=8;S0.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};
S0.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{S0.BYTES_PER_ELEMENT=8}catch(a){}S0.prototype.BYTES_PER_ELEMENT=S0.prototype.o;S0.prototype.set=S0.prototype.set;S0.prototype.toString=S0.prototype.toString;g.Da("Float64Array",S0,void 0)};})(_yt_player);
