Created
June 25, 2018 16:43
-
-
Save py7hon/6fea807cb0af24f35a0f3e4fd5f261b7 to your computer and use it in GitHub Desktop.
Youtube Player
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _yt_player={};(function(g){var window=this;var ba,da,ka,ia,la,qa,ra,sa,xa,za,daa,eaa,Ia,faa,Na,Ra,gaa,Ya,ab,fb,bb,haa,db,iaa,jaa,nb,pb,sb,raa,saa,ub,vb,Ab,Db,Eb,Fb,vaa,Hb,Jb,Mb,Pb,Tb,Vb,Wb,Zb,$b,gc,ic,hc,kc,lc,mc,nc,xaa,oc,vc,wc,yc,Ac,Cc,Dc,Fc,Ec,Hc,Mc,Kc,Oc,Pc,Rc,Gaa,Wc,Haa,Vc,Yc,Zc,ed,hd,wd,Ad,Bd,Cd,Id,Md,Qd,Sd,Ud,Vd,Maa,kd,Qaa,je,ke,ie,ee,ne,pe,me,qe,re,se,te,ue,ve,we,xe,De,Ae,Be,Ee,Raa,Ce,Fe,Saa,Ge,Je,Ie,Ke,Le,Ne,Me,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,He,Xe,bf,df,ef,Yaa,hf,jf,kf,mf,qf,Zaa,nf,tf,Af,zf,aba,pf,Df,Ef,Ff,Gf,bba,If,Kf,cba,Lf,Mf,dba, | |
Rf,Tf,Vf,Yf,$f,ag,bg,dg,eg,fba,hg,kg,gg,ig,Wf,cg,hba,ng,lg,mg,pg,gba,og,eba,ug,vg,iba,jba,kba,lba,mba,xg,zg,Bg,Cg,Ig,Jg,Kg,Lg,Mg,Ng,Pg,Rg,Tg,Vg,qba,Wg,Xg,Zg,$g,rba,gh,hh,ih,jh,lh,mh,nh,rh,sh,wh,zh,Dh,uh,sba,Oh,Rh,Th,Uh,Vh,tba,uba,Wh,Xh,Yh,wba,xba,yba,$h,ai,bi,ci,di,fi,ji,li,mi,Bba,ni,oi,pi,qi,Cba,ri,si,ti,ui,Dba,Eba,Fba,vi,Ai,Bi,Ci,Fi,Di,Iba,Ei,Gi,Hi,Li,Ki,Mi,Jba,Ni,Oi,Pi,Qi,Si,Ui,Xi,$i,Zi,Yi,aj,Kba,cj,dj,ej,fj,hj,ij,jj,kj,lj,Mba,Nba,mj,nj,oj,pj,qj,gj,sj,uj,tj,vj,xj,yj,zj,bca,Bj,wj,Cj,Dj,Ej,Fj,cca, | |
Gj,Hj,dca,eca,fca,gca,Lj,Mj,Nj,Pj,Rj,Sj,Tj,Uj,Vj,Oj,Qj,ica,Wj,Xj,Yj,Zj,bk,ak,jca,kca,ek,nca,gk,hk,mca,oca,ik,pca,qca,fk,jk,rca,tca,uca,kk,lk,mk,ok,vca,qk,wca,rk,xca,sk,tk,uk,yca,vk,zca,wk,xk,yk,Aca,zk,Bk,Ck,Bca,Dk,Ek,Fk,Cca,Hk,Gk,Dca,Jk,Ik,Mk,Lk,Eca,Ica,Hca,Ok,Jca,Kca,Lca,Nca,Mca,Pk,Oca,Qk,Qca,Rk,Rca,Sk,Uk,Vk,Wk,Xk,Zk,Tca,al,Sca,bl,Vca,cl,dl,$k,Wca,Xca,Yca,Zca,Uca,$ca,el,ada,fl,hl,il,jl,gl,ml,nl,kl,ol,cda,dda,pl,ql,rl,eda,sl,tl,ul,vl,fda,wl,xl,hda,ida,El,Fl,Cl,Hl,Il,jda,gda,kda,mda,lda,nda,Ll,Jl, | |
oda,qda,rda,Nl,Ol,Pl,Rl,wda,sda,Vl,Wl,Xl,Yl,Zl,Ak,xda,$l,am,bm,yda,dm,em,fm,zda,Ada,Bda,Cda,Dda,gm,Gda,im,hm,jm,km,lm,Hda,Ida,mm,qm,rm,pm,sm,tm,Jda,zm,Am,Cm,Mda,Fm,Hm,Jm,Im,Kda,Mm,Lm,Pm,Om,Rm,Nda,Sm,Vm,Wm,Xm,Ym,Zm,Pda,Qda,an,Rda,bn,cn,$m,Sda,dn,en,fn,gn,hn,Tda,Vda,mn,nn,Wda,Xda,jn,Uda,kn,pn,qn,on,Zda,sn,rn,aea,un,tn,vn,wn,yn,zn,xn,Bn,dea,Cn,En,Fn,Gn,Hn,Dn,In,Jn,Kn,Mn,Pn,Qn,Tn,Wn,Rn,Yn,$n,ao,bo,co,eo,fo,go,ho,io,ko,mo,lo,no,oo,po,so,fea,ro,to,uo,vo,xo,yo,zo,Ao,gea,hea,Bo,Co,Fo,Io,Ho,mea,Ko,Eo,Lo,nea, | |
No,Mo,oea,Oo,Qo,pea,So,Ro,To,Uo,Vo,qea,Wo,Xo,Yo,Zo,$o,ap,dp,ep,fp,gp,hp,ip,Q,np,op,rea,R,sp,vea,up,Ap,Bp,Dp,rp,zp,xp,Bea,Cea,Dea,Eea,Ep,Fp,Gp,Hp,Jp,Kp,Ip,Fea,Np,Op,Pp,Qp,Gea,Rp,Sp,Tp,Up,Wp,Vp,Yp,Zp,Hea,Iea,$p,cq,aq,bq,dq,eq,Kea,Lea,fq,gq,Mea,hq,pq,Oea,rq,sq,tq,uq,Qea,vq,Cq,Dq,wq,Eq,Fq,Uea,xq,Tea,yq,zq,Aq,Bq,Sea,Mq,Nq,Oq,Sq,Xea,Yea,Tq,$ea,afa,Vq,dfa,Xq,Zea,Yq,Zq,$q,ar,efa,br,cr,dr,ffa,gr,hr,ir,jr,gfa,lr,kr,hfa,fr,mr,Go,nr,or,ifa,jfa,kfa,rr,vr,yr,zr,Mp,Lp,lfa,nfa,ofa,pfa,Br,qfa,Cr,rfa,sfa,tfa,ufa,vfa, | |
wfa,xfa,Dr,Hr,Fr,Ir,Er,Jr,yfa,zfa,Afa,Bfa,Kr,Dfa,Mr,Pr,Ffa,Sr,Ur,Rr,Vr,Wr,Xr,Yr,Zr,$r,as,bs,cs,ds,gs,Ifa,fs,es,hs,is,js,ks,ms,Jq,Jfa,vs,ws,xs,ys,ns,Ofa,zs,As,Bs,Cs,Lq,Fs,Hs,Gq,Is,Js,Ks,Iq,Hq,Gs,Ls,Ms,Ns,Os,Ps,Qs,Rs,Rfa,Sfa,Qfa,Tfa,Es,Ufa,Ys,Wfa,Zs,ls,$s,at,bt,Xfa,ct,Yfa,rs,Ds,Xs,dt,et,ft,Ws,Kq,qs,ht,us,it,jt,os,ts,Vs,Pfa,kt,lt,mt,$fa,nt,aga,ot,pt,qt,tt,ut,vt,ega,wt,xt,zt,At,Bt,Ct,Dt,Ft,Gt,Ht,Et,It,Jt,Kt,Lt,Mt,Nt,Pt,hga,jga,lga,Ot,mga,nga,oga,Rt,Qt,St,Ut,Vt,au,$t,bu,cu,pga,hu,iu,ku,ju,lu,mu,nu,ou, | |
pu,qga,qu,rga,ru,tu,uu,vu,xu,yu,sga,wu,zu,Au,tga,Bu,Cu,uga,Du,Eu,Fu,Gu,Hu,Iu,vga,Ku,Lu,wga,Nu,Ou,xga,Su,Tu,Uu,Vu,Wu,Xu,Yu,yga,Zu,$u,av,cv,bv,zga,dv,ev,fv,gv,Aga,hv,iv,Cga,Bga,jv,kv,lv,mv,nv,ov,pv,qv,rv,tv,uv,vv,wv,xv,yv,zv,Lr,Av,Dga,Dv,Ev,Fv,Gv,Hv,Bv,Iv,Jv,Kv,Ts,pr,xr,Ss,Us,Qv,Nr,wr,Pv,tr,qr,sr,ur,Sv,Or,Ov,Vv,Wv,Yv,Ega,Zv,$v,aw,bw,cw,dw,ew,fw,gw,hw,iw,jw,kw,lw,mw,Fga,nw,ow,pw,qw,rw,tw,Gga,uw,vw,ww,xw,yw,zw,Bw,Cw,Iga,Dw,Jga,Hga,Lga,Ew,Mga,Gw,Aw,Kga,Qga,Pga,Oga,Fw,Hw,Iw,Jw,Lw,Mw,Nw,Ow,Pw,Qw,Rw,Sw,Tw, | |
Uw,Ww,Yw,Zw,$w,Xw,bx,Rga,Sga,ex,cx,ix,dx,jx,hx,Uga,Vga,lx,mx,rx,Wga,nx,ox,qx,px,ux,vx,tx,wx,Zga,xx,yx,$ga,aha,zx,Ax,Cx,bha,Bx,Fx,Dx,cha,dha,eha,Gx,Hx,Ix,Jx,Kx,Lx,Mx,Nx,Ox,Px,Qx,Rx,Sx,Tx,Ux,iha,hha,Wx,Vx,jha,Zx,kha,$x,ay,lha,by,gha,cy,fy,nha,mha,gy,ey,jy,pha,ky,qha,ly,hy,my,ny,oy,sha,tha,py,qy,uha,ry,sy,ty,Yx,vha,uy,vy,Xx,wha,wy,yy,zy,Ay,xha,By,Cy,Dy,Fy,Gy,Ey,Bha,yha,zha,Iy,Ly,My,Ky,Jy,Hy,Ny,Py,Qy,Sy,Uy,Ry,Vy,Wy,Eha,Yy,Xy,Zy,Fha,Gha,$y,az,bz,cz,dz,ez,fz,gz,hz,Iha,iz,Kha,oz,jz,kz,lz,vz,pz,rz,qz,yz, | |
tz,sz,wz,uz,Mha,nz,mz,zz,Nha,Az,Jha,Bz,Cz,Dz,Pha,Ez,Hz,Iz,Kz,Jz,Lz,Mz,Nz,Rha,Qha,Sha,Pz,Tha,Uha,Qz,Rz,Oz,Vha,Sz,Tz,Wha,Uz,Xha,Yha,Zha,$ha,Vz,Wz,Xz,Zz,$z,aA,Yz,cA,aia,bia,bA,dA,eA,fA,gA,hA,cia,iA,lA,nA,mA,oA,pA,qA,rA,tA,sA,vA,uA,wA,fia,AA,BA,CA,DA,EA,FA,GA,HA,IA,JA,KA,MA,NA,LA,OA,PA,QA,gia,RA,hia,UA,VA,SA,TA,XA,aB,YA,ZA,WA,$A,iia,bB,cB,dB,eB,gB,fB,jia,iB,hB,lia,mia,kia,jB,nia,oia,pia,qia,kB,sia,tia,uia,Uq,via,wia,nB,yia,oB,pB,qB,rB,sB,tB,uB,vB,xB,yB,zB,FB,EB,JB,KB,CB,LB,MB,NB,OB,BB,DB,GB,QB,Fia,RB, | |
Gia,TB,UB,VB,WB,XB,YB,Hia,ZB,Iia,Jia,$B,Kia,Lia,aC,bC,Mia,Oia,Pia,cC,Qia,eC,gC,Uia,dC,Via,hC,xia,iC,Xia,Yia,jC,Zia,$ia,lC,oC,aja,qC,pC,rC,bja,Lha,sC,tC,wC,xC,yC,zC,AC,dja,BC,CC,DC,EC,uC,fja,gja,HC,hja,IC,JC,KC,GC,LC,FC,MC,ija,xz,kja,Ty,jja,NC,OC,PC,QC,RC,lja,SC,mja,WC,XC,YC,ZC,nja,bD,cD,dD,eD,gD,hD,iD,jD,kD,mD,nD,oD,pD,pja,qD,sja,uD,vD,tja,xD,yD,AD,CD,ED,DD,FD,zD,BD,ID,HD,JD,KD,vja,LD,wja,QD,RD,xja,YD,$D,bE,eE,fE,yja,hE,zja,iE,jE,Aja,nE,Bja,Cja,lE,sE,uE,vE,wE,xE,zE,AE,BE,rE,qE,DE,EE,Dja,HE,GE,JE, | |
KE,LE,NE,ME,Fja,QE,RE,TE,SE,UE,VE,Gja,WE,bF,cF,fF,gF,Hja,dF,hF,iF,jF,kF,Jja,Kja,rF,sF,tF,yF,BF,DF,IF,GF,KF,JF,MF,Nja,ZF,$F,XF,Rja,jG,hG,mG,pG,oG,nG,Sja,xG,zG,yG,Tja,FG,GG,Uja,SG,TG,UG,VG,XG,WG,YG,ZG,$G,aH,bH,cH,fH,gH,hH,iH,jH,mH,nH,wH,uH,xH,vH,yH,zH,BH,CH,DH,FH,JH,KH,dka,NH,OH,PH,LH,SH,RH,TH,UH,WH,XH,YH,$H,aI,bI,fka,cI,dI,eI,fI,gI,hI,iI,jI,kI,lI,mI,nI,oI,gka,pI,qI,rI,sI,hka,uI,tI,vI,wI,xI,yI,AI,ika,DI,mka,OI,EI,NI,QI,RI,SI,TI,UI,VI,XI,YI,ZI,$I,bJ,cJ,dJ,eJ,fJ,gJ,hJ,iJ,jJ,kJ,lJ,mJ,oJ,nJ,pJ,qJ,pka,sJ, | |
vJ,qka,rJ,zJ,AJ,xJ,uJ,BJ,CJ,wJ,yJ,DJ,EJ,oka,FJ,HJ,IJ,KJ,JJ,rka,LJ,MJ,NJ,ska,PJ,OJ,QJ,RJ,SJ,TJ,UJ,ZJ,aK,tka,WJ,bK,dK,cK,$J,gK,uka,hK,iK,VJ,XJ,YJ,fK,eK,jK,kK,lK,mK,nK,oK,pK,qK,vka,wka,sK,vK,wK,yK,uK,xka,zK,AK,BK,CK,yka,zka,DK,Aka,FK,EK,HK,JK,KK,LK,NK,Bka,OK,PK,QK,RK,TK,UK,SK,VK,WK,Cka,XK,YK,ZK,$K,aL,Dka,Eka,Ika,Jka,Fka,Gka,Hka,bL,cL,Kka,eL,gL,Lka,hL,kL,lL,mL,Mka,oL,pL,Qka,Pka,Oka,qL,Nka,Rka,rL,uL,Tka,Uka,vL,wL,Vka,xL,yL,Wka,zL,AL,Xka,Yka,BL,sL,Ska,Zka,EL,GL,HL,JL,KL,FL,ML,NL,OL,PL,$ka,UL,hla,TL,SL, | |
VL,ila,YL,kla,mla,lla,nla,ola,$L,bM,aM,cM,pla,eM,fM,gM,hM,jM,dM,kM,lM,mM,nM,oM,pM,qM,rM,tM,uM,vM,LM,MM,NM,OM,PM,vla,QM,SM,DM,JM,wla,CM,BM,xla,HM,ZM,yla,$M,zla,bN,aN,Ala,Bla,cN,Cla,dN,eN,fN,gN,Dla,hN,kN,mN,oN,nN,pN,lN,qN,rN,Fla,tN,Hla,uN,FN,xN,GN,Ila,HN,IN,LN,SN,ON,WN,XN,YN,NN,aO,RN,Ola,MN,QN,UN,VN,ZN,JN,bO,KN,Pla,PN,dO,eO,Rla,kO,lO,Yla,mO,nO,oO,pO,rO,tO,Zla,wO,yO,zO,CO,DO,vO,$la,Tla,Ula,Vla,Sla,GO,HO,sO,bma,JO,KO,LO,MO,NO,OO,jO,Wla,PO,QO,SO,UO,VO,WO,cma,XO,ZO,aP,RO,cP,dP,eP,fP,gP,hP,iP,jP,kP,ema, | |
lP,mP,oP,pP,qP,rP,wP,yP,AP,DP,CP,EP,FP,gma,GP,BP,HP,IP,hma,KP,JP,MP,NP,OP,PP,QP,TP,UP,SP,RP,VP,WP,XP,YP,aQ,cQ,kma,hQ,iQ,jQ,kQ,lma,mma,fQ,lQ,mQ,nQ,oQ,nma,pQ,qQ,sQ,uQ,vQ,rma,qma,pma,wQ,yQ,xQ,zQ,AQ,BQ,tQ,rQ,oma,DQ,EQ,FQ,GQ,HQ,IQ,JQ,KQ,LQ,CQ,sma,tma,uma,MQ,vma,wma,xma,yma,zma,NQ,OQ,SQ,RQ,UQ,PQ,VQ,WQ,XQ,QQ,YQ,TQ,ZQ,dR,bR,cR,eR,gR,$Q,fR,aR,hR,iR,Bma,jR,kR,lR,nR,oR,mR,qR,rR,pR,tR,Cma,sR,uR,vR,Dma,wR,Ema,Fma,xR,yR,zR,AR,Hma,Ima,BR,CR,DR,Gma,HR,ER,GR,FR,IR,JR,LR,KR,OR,PR,RR,SR,NR,TR,UR,MR,VR,WR,XR,YR,QR,ZR, | |
$R,aS,Kma,Lma,dS,cS,Mma,bS,eS,Nma,Oma,Pma,kS,lS,mS,jS,fS,Qma,gS,hS,Rma,iS,Sma,Tma,Uma,nS,oS,pS,Vma,qS,Wma,uS,rS,tS,sS,Xma,vS,Yma,wS,xS,yS,zS,AS,Zma,$ma,ana,BS,DS,ES,FS,IS,JS,LS,MS,PS,NS,QS,RS,dna,cna,ena,XS,WS,YS,TS,US,VS,ZS,KS,bna,$S,aT,CS,bT,SS,cT,HS,dT,fna,gna,hna,eT,ina,fT,gT,hT,iT,jT,jna,kna,kT,lT,nT,mT,mna,pT,qT,oT,rT,sT,nna,tT,uT,ona,pna,vT,wT,yT,zT,qna,sna,rna,BT,CT,AT,una,vna,tna,wna,zna,Ana,xna,Dna,FT,Ena,yna,Cna,Bna,DT,ET,HT,JT,Ina,LT,Hna,Jna,Kna,Lna,Mna,IT,KT,Nna,Gna,MT,Pna,Qna,Ona,NT, | |
OT,PT,QT,RT,ST,UT,VT,bU,Wna,XT,cU,eU,gU,hU,jU,iU,TT,Vna,pU,oU,Xna,Zna,kU,boa,aoa,tU,yU,coa,doa,rU,zU,eoa,Rna,ZT,uU,CU,koa,loa,joa,moa,noa,ooa,vU,poa,qoa,soa,roa,DU,nU,EU,lU,toa,foa,hoa,goa,ioa,GU,voa,HU,IU,$T,$na,woa,FU,aU,yoa,JU,xU,zoa,WT,uoa,AU,KU,wU,Boa,LU,Coa,xoa,mU,qU,MU,PU,WU,Eoa,fV,pV,Hoa,Ioa,wV,Koa,Joa,zV,yV,Loa,AV,Moa,BV,Noa,Ooa,Poa,Roa,Soa,Uoa,Voa,Woa,Xoa,Yoa,Zoa,apa,bpa,cpa,dpa,fpa,gpa,hpa,ipa,JV,NV,OV,PV,QV,RV,SV,jpa,UV,TV,VV,XV,YV,lpa,$V,mpa,aW,bW,npa,tpa,qpa,rpa,spa,opa,ppa,upa,vpa, | |
fW,gW,hW,wpa,xpa,ypa,Apa,zpa,mW,oW,Bpa,pW,Cpa,Gpa,Hpa,qW,rW,Ipa,Jpa,tW,Mpa,sW,uW,Lpa,vW,Kpa,Npa,Opa,wW,Ppa,xW,Qpa,zW,yW,AW,CW,EW,GW,HW,Rpa,Tpa,Upa,Vpa,IW,JW,KW,LW,MW,NW,OW,Wpa,Xpa,PW,QW,Ypa,RW,SW,TW,Zpa,$pa,dqa,bqa,aqa,VW,cqa,WW,fqa,eqa,XW,gqa,YW,ZW,hqa,iqa,jqa,cX,dX,eX,kqa,fX,hX,lqa,$W,gX,bX,aX,mX,nX,mqa,jX,nqa,lX,oqa,pqa,qqa,sqa,rqa,wqa,vqa,oX,xqa,qX,rX,sX,tX,uX,yqa,zqa,vX,wX,xX,Aqa,yX,AX,zX,BX,Cqa,Bqa,Dqa,Eqa,Fqa,Gqa,EX,FX,GX,Hqa,Iqa,HX,Kqa,IX,Jqa,JX,Lqa,KX,LX,Mqa,Nqa,Pqa,Oqa,Qqa,MX,NX,Rqa,Sqa, | |
Tqa,Vqa,PX,QX,RX,OX,Uqa,SX,CX,iX,Xqa,TX,UX,WX,Yqa,dW,cW,kX,YX,ZX,Zqa,$X,aY,ara,eW,bra,cY,DX,cra,fY,Spa,FW,gY,VX,lW,fra,era,hY,hra,ira,jY,kY,$U,jra,mY,kra,nY,pY,qY,lra,mra,rY,ora,sY,qra,pra,tY,rra,sra,uY,ura,vY,xY,wY,yY,vra,wra,AY,zY,BY,xra,CY,DY,zra,yra,EY,FY,GY,Ara,Bra,Cra,Dra,LY,MY,Era,KY,OY,NY,QY,Fra,RY,Gra,Jra,WY,VY,Kra,ZY,$Y,aZ,bZ,cZ,dZ,eZ,Mra,Lra,Nra,fZ,Ora,Pra,gZ,Rra,iZ,Qra,jZ,Sra,kZ,Ura,lZ,mZ,Vra,nZ,oZ,pZ,Wra,Xra,qZ,rZ,sZ,tZ,Yra,uZ,vZ,wZ,Zra,xZ,zZ,yZ,AZ,$ra,BZ,CZ,DZ,EZ,asa,dsa,FZ,bsa,csa, | |
GZ,fsa,gsa,hsa,IZ,lsa,ksa,msa,nsa,osa,KZ,psa,rsa,qsa,vsa,QZ,wsa,RZ,NZ,ysa,TZ,PZ,SZ,tsa,xsa,zsa,usa,UZ,XZ,YZ,ZZ,Asa,$Z,a_,b_,c_,Bsa,d_,Csa,e_,f_,g_,h_,i_,j_,k_,Dsa,l_,m_,n_,q_,p_,r_,s_,t_,Esa,Fsa,u_,Hsa,Isa,Gsa,v_,w_,x_,z_,A_,Ksa,Lsa,Msa,Nsa,B_,E_,PY,Psa,Osa,D_,Qsa,HZ,Rsa,Tsa,Usa,Ssa,G_,Vsa,F_,H_,I_,J_,O_,M_,P_,N_,Q_,Xsa,R_,S_,T_,Ysa,Zsa,$sa,ata,U_,Y_,DW,bta,Z_,$_,a0,b0,cta,c0,eta,dta,kta,h0,g0,i0,j0,d0,l0,lta,BW,m0,mta,n0,XX,nta,o0,hta,ita,qta,r0,e0,sta,v0,jta,w0,x0,vta,q0,p0,z0,xta,u0,eY,yta,B0, | |
rta,A0,D0,F0,E0,G0,J0,zta,y0,wta,Ata,gV,dra,AH,Bta,t0,Cta,M0,L0,iV,bY,dY,Dta,C0,Eta,N0,Fta,Gta,gta,uta,tta,aa,fa,ea,aaa,na,P0,fx,baa,wa,Ea,caa;ba=function(a){return function(){return aa[a].apply(this,arguments)}}; | |
g.ca=function(a,b){return aa[a]=b}; | |
da=function(){da=function(){}; | |
ea.Symbol||(ea.Symbol=aaa)}; | |
ka=function(){da();var a=ea.Symbol.iterator;a||(a=ea.Symbol.iterator=ea.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&fa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(this)}}); | |
ka=function(){}}; | |
ia=function(a){var b=0;return la(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}; | |
la=function(a){ka();a={next:a};a[ea.Symbol.iterator]=function(){return this}; | |
return a}; | |
g.ma=function(a){ka();var b=a[window.Symbol.iterator];return b?b.call(a):ia(a)}; | |
g.q=function(a,b){a.prototype=na(b.prototype);a.prototype.constructor=a;if(oa)oa(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.ba=b.prototype}; | |
g.pa=function(a){if(!(a instanceof Array)){a=g.ma(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}; | |
qa=function(a,b){if(b){for(var c=ea,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&fa(c,d,{configurable:!0,writable:!0,value:f})}}; | |
ra=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}; | |
sa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; | |
g.t=function(a){return void 0!==a}; | |
g.u=function(a){return"string"==typeof a}; | |
g.ta=function(a){return"boolean"==typeof a}; | |
g.ua=function(a){return"number"==typeof a}; | |
g.va=function(a,b,c){a=a.split(".");c=c||g.w;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&g.t(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}}; | |
xa=function(){if(null===wa){a:{var a=g.w.document;if((a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&baa.test(a))break a;a=null}wa=a||""}return wa}; | |
g.x=function(a,b){for(var c=a.split("."),d=b||g.w,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d}; | |
g.y=function(){}; | |
g.ya=function(a){a.fd=void 0;a.getInstance=function(){return a.fd?a.fd:a.fd=new a}}; | |
za=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.Aa=function(a){return"array"==za(a)}; | |
g.Ba=function(a){var b=za(a);return"array"==b||"object"==b&&"number"==typeof a.length}; | |
g.Ca=function(a){return"function"==za(a)}; | |
g.Da=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}; | |
g.Fa=function(a){return a[Ea]||(a[Ea]=++caa)}; | |
daa=function(a,b,c){return a.call.apply(a.bind,arguments)}; | |
eaa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}; | |
g.z=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.z=daa:g.z=eaa;return g.z.apply(null,arguments)}; | |
g.Ga=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}}; | |
g.Ha=function(a,b){for(var c in b)a[c]=b[c]}; | |
g.A=function(a,b){function c(){} | |
c.prototype=b.prototype;a.ba=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.U4=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}}; | |
Ia=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ia);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}; | |
g.Ja=function(a){return a[a.length-1]}; | |
faa=function(a,b){for(var c=g.u(a)?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)}; | |
g.La=function(a,b,c){b=g.Ka(a,b,c);return 0>b?null:g.u(a)?a.charAt(b):a[b]}; | |
g.Ka=function(a,b,c){for(var d=a.length,e=g.u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1}; | |
Na=function(a,b){var c=g.Ma(a,b,void 0);return 0>c?null:g.u(a)?a.charAt(c):a[c]}; | |
g.Ma=function(a,b,c){for(var d=g.u(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.Pa=function(a,b){return 0<=(0,g.Oa)(a,b)}; | |
g.Qa=function(a){return 0==a.length}; | |
Ra=function(a){if(!g.Aa(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}; | |
g.Sa=function(a,b){g.Pa(a,b)||a.push(b)}; | |
g.Ua=function(a,b){var c=(0,g.Oa)(a,b),d;(d=0<=c)&&g.Ta(a,c);return d}; | |
g.Ta=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length}; | |
g.Va=function(a,b){var c=g.Ka(a,b,void 0);0<=c&&g.Ta(a,c)}; | |
gaa=function(a,b){var c=0;faa(a,function(d,e){b.call(void 0,d,e,a)&&g.Ta(a,e)&&c++})}; | |
g.Wa=function(a){return Array.prototype.concat.apply([],arguments)}; | |
g.Xa=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[]}; | |
Ya=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.Ba(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.$a=function(a,b,c,d){Array.prototype.splice.apply(a,g.Za(arguments,1))}; | |
g.Za=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}; | |
ab=function(a,b,c){function d(a){return g.Da(a)?"o"+g.Fa(a):(typeof a).charAt(0)+a} | |
b=b||a;c=c||d;for(var e={},f=0,k=0;k<a.length;){var l=a[k++],m=c(l);Object.prototype.hasOwnProperty.call(e,m)||(e[m]=!0,b[f++]=l)}b.length=f}; | |
g.eb=function(a,b,c){return bb(a,c||db,!1,b)}; | |
fb=function(a,b){return bb(a,b,!0,void 0,void 0)}; | |
bb=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.gb=function(a,b){a.sort(b||db)}; | |
haa=function(a,b){var c=db;g.gb(a,function(a,e){return c(b(a),b(e))})}; | |
g.ib=function(a,b){if(!g.Ba(a)||!g.Ba(b)||a.length!=b.length)return!1;for(var c=a.length,d=iaa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0}; | |
db=function(a,b){return a>b?1:a<b?-1:0}; | |
iaa=function(a,b){return a===b}; | |
g.jb=function(a,b,c){c=g.eb(a,b,c);0>c&&g.$a(a,-(c+1),0,b)}; | |
g.kb=function(a,b,c){var d={};(0,g.B)(a,function(e,f){d[b.call(c,e,f,a)]=e}); | |
return d}; | |
jaa=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b}; | |
g.lb=function(a,b){return 0==a.lastIndexOf(b,0)}; | |
nb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}; | |
g.C=function(a){return/^[\s\xa0]*$/.test(a)}; | |
g.ob=function(a){return(0,window.encodeURIComponent)(String(a))}; | |
pb=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))}; | |
g.qb=function(a){if(!kaa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(laa,"&"));-1!=a.indexOf("<")&&(a=a.replace(maa,"<"));-1!=a.indexOf(">")&&(a=a.replace(naa,">"));-1!=a.indexOf('"')&&(a=a.replace(oaa,"""));-1!=a.indexOf("'")&&(a=a.replace(paa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(qaa,"�"));return a}; | |
sb=function(a){return-1!=a.indexOf("&")?"document"in g.w?raa(a):saa(a):a}; | |
raa=function(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=g.w.document.createElement("div");return a.replace(taa,function(a,e){var d=b[a];if(d)return d;if("#"==e.charAt(0)){var k=Number("0"+e.substr(1));(0,window.isNaN)(k)||(d=String.fromCharCode(k))}d||(c.innerHTML=a+" ",d=c.firstChild.nodeValue.slice(0,-1));return b[a]=d})}; | |
saa=function(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var b=Number("0"+c.substr(1));if(!(0,window.isNaN)(b))return String.fromCharCode(b)}return a}})}; | |
ub=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a}; | |
vb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())}; | |
g.xb=function(a,b,c){a=g.t(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return wb("0",Math.max(0,b-c))+a}; | |
g.E=function(a){return null==a?"":String(a)}; | |
g.yb=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.F)()).toString(36)}; | |
g.Bb=function(a,b){for(var c=0,d=zb(String(a)).split("."),e=zb(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=Ab(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||Ab(0==l[2].length,0==m[2].length)||Ab(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c}; | |
Ab=function(a,b){return a<b?-1:a>b?1:0}; | |
g.Cb=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b}; | |
Db=function(){return"goog_"+uaa++}; | |
Eb=function(a){var b=Number(a);return 0==b&&g.C(a)?window.NaN:b}; | |
Fb=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}; | |
g.Gb=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()}; | |
vaa=function(a){var b=g.u(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})}; | |
Hb=function(a){(0,window.isFinite)(a)&&(a=String(a));return g.u(a)?/^\s*-?0x/i.test(a)?(0,window.parseInt)(a,16):(0,window.parseInt)(a,10):window.NaN}; | |
Jb=function(a){return-1!=g.Ib.indexOf(a)}; | |
g.Kb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)}; | |
g.Lb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}; | |
Mb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}; | |
g.Nb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0}; | |
g.Ob=function(a){var b=0,c;for(c in a)b++;return b}; | |
Pb=function(a){for(var b in a)return a[b]}; | |
g.Qb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}; | |
g.Rb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}; | |
g.Sb=function(a,b){var c=g.Ba(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a}; | |
Tb=function(a,b){return null!==a&&b in a}; | |
g.Ub=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1}; | |
Vb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d}; | |
Wb=function(a,b){var c=Vb(a,b,void 0);return c&&a[c]}; | |
g.Xb=function(a){for(var b in a)return!1;return!0}; | |
g.Yb=function(a){for(var b in a)delete a[b]}; | |
Zb=function(a,b){b in a&&delete a[b]}; | |
$b=function(a,b,c){return null!==a&&b in a?a[b]:c}; | |
g.ac=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.bc=function(a){var b={},c;for(c in a)b[c]=a[c];return b}; | |
g.cc=function(a){var b=za(a);if("object"==b||"array"==b){if(g.Ca(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.cc(a[c]);return b}return a}; | |
g.ec=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<dc.length;f++)c=dc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}; | |
gc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b}; | |
ic=function(){return Jb("Safari")&&!(hc()||Jb("Coast")||Jb("Opera")||Jb("Edge")||Jb("Silk")||Jb("Android"))}; | |
hc=function(){return(Jb("Chrome")||Jb("CriOS"))&&!Jb("Edge")}; | |
g.jc=function(){return Jb("Android")&&!(hc()||Jb("Firefox")||Jb("Opera")||Jb("Silk"))}; | |
kc=function(){return Jb("iPhone")&&!Jb("iPod")&&!Jb("iPad")}; | |
lc=function(){return kc()||Jb("iPad")||Jb("iPod")}; | |
mc=function(a){mc[" "](a);return a}; | |
nc=function(a,b){try{return mc(a[b]),!0}catch(c){}return!1}; | |
xaa=function(a,b){var c=waa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}; | |
oc=function(){var a=g.w.document;return a?a.documentMode:void 0}; | |
g.qc=function(a){return xaa(a,function(){return 0<=g.Bb(pc,a)})}; | |
g.rc=function(a){return Number(yaa)>=a}; | |
vc=function(){this.g="";this.l=uc}; | |
wc=function(a){return a instanceof vc&&a.constructor===vc&&a.l===uc?a.g:"type_error:Const"}; | |
g.xc=function(a){var b=new vc;b.g=a;return b}; | |
yc=function(a,b){return b?a.replace(zaa,""):a}; | |
Ac=function(a,b){for(var c=0,d=0,e=!1,f=yc(a,b).split(Aaa),k=0;k<f.length;k++){var l=f[k];zc.test(yc(l,void 0))?(c++,d++):Baa.test(l)?e=!0:Caa.test(yc(l,void 0))?d++:Daa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1}; | |
Cc=function(){this.l="";this.o=Bc}; | |
Dc=function(a){if(a instanceof Cc&&a.constructor===Cc&&a.o===Bc)return a.l;za(a);return"type_error:TrustedResourceUrl"}; | |
Fc=function(a){return Ec(wc(a))}; | |
Ec=function(a){var b=new Cc;b.l=a;return b}; | |
Hc=function(){this.l="";this.o=Gc}; | |
g.Ic=function(a){if(a instanceof Hc&&a.constructor===Hc&&a.o===Gc)return a.l;za(a);return"type_error:SafeUrl"}; | |
g.Lc=function(a){if(a instanceof Hc)return a;a=a.Fg?a.Me():String(a);Jc.test(a)||(a="about:invalid#zClosurez");return Kc(a)}; | |
Mc=function(a){if(a instanceof Hc)return a;a=a.Fg?a.Me():String(a);Jc.test(a)||(a="about:invalid#zClosurez");return Kc(a)}; | |
Kc=function(a){var b=new Hc;b.l=a;return b}; | |
Oc=function(){this.g="";this.l=Nc}; | |
Pc=function(a){var b=new Oc;b.g=a;return b}; | |
Rc=function(a){if(a instanceof Hc)return'url("'+g.Ic(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof vc)a=wc(a);else{a=String(a);var b=a.replace(Eaa,"$1").replace(Qc,"url");if(Faa.test(b)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}a=b&&c?Gaa(a):"zClosurez"}else a="zClosurez"}return a}; | |
Gaa=function(a){return a.replace(Qc,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d}); | |
a=g.Lc(d).Me();return c+b+a+b+e})}; | |
g.Tc=function(){this.l="";this.A=Sc;this.o=null}; | |
g.Uc=function(a){if(a instanceof g.Tc&&a.constructor===g.Tc&&a.A===Sc)return a.l;za(a);return"type_error:SafeHtml"}; | |
Wc=function(a){if(a instanceof g.Tc)return a;var b=null;a.xt&&(b=a.g());a=g.qb(a.Fg?a.Me():String(a));return Vc(a,b)}; | |
Haa=function(a){function b(a){g.Aa(a)?(0,g.B)(a,b):(a=Wc(a),d+=g.Uc(a),a=a.g(),0==c?c=a:0!=a&&c!=a&&(c=null))} | |
var c=0,d="";(0,g.B)(arguments,b);return Vc(d,c)}; | |
Vc=function(a,b){var c=new g.Tc;c.l=a;c.o=b;return c}; | |
Yc=function(a,b,c){var d=null,e="";if(b)for(p in b){if(!Xc.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 vc)m=wc(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.Da(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Oc)){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.Aa(n)?(0,g.G)(n,Rc).join(" "):Rc(n),m+=f+":"+n+";")}k=m?Pc(m):Iaa}k instanceof Oc&&k.constructor===Oc&&k.l===Nc?f=k.g:(za(k),f="type_error:SafeStyle");m=f}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in Jaa)if(m instanceof Cc)m=Dc(m);else if(m instanceof Hc)m=g.Ic(m);else if(g.u(m))m=g.Lc(m).Me();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+ | |
m+'" given.');}m.Fg&&(m=m.Me());l=l+'="'+g.qb(String(m))+'"';e+=" "+l}}var p="<"+a+e;null!=c?g.Aa(c)||(c=[c]):c=[];!0===Kaa[a.toLowerCase()]?p+=">":(d=Haa(c),p+=">"+g.Uc(d)+"</"+a+">",d=d.g());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Vc(p,d)}; | |
Zc=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.$c=function(a,b){var c=b instanceof Hc?b:Mc(b);a.href=g.Ic(c)}; | |
g.ad=function(a,b){a.src=Dc(b);var c=xa();c&&a.setAttribute("nonce",c)}; | |
g.bd=function(a,b){wc(a);wc(a);return Vc(b,null)}; | |
g.cd=function(a,b,c){return Math.min(Math.max(a,b),c)}; | |
g.dd=function(a,b){var c=a%b;return 0>c*b?c+b:c}; | |
ed=function(a,b,c){return a+c*(b-a)}; | |
g.fd=function(a){return a*Math.PI/180}; | |
g.gd=function(a,b){this.x=g.t(a)?a:0;this.y=g.t(b)?b:0}; | |
hd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; | |
g.id=function(a,b){return new g.gd(a.x-b.x,a.y-b.y)}; | |
g.I=function(a,b){this.width=a;this.height=b}; | |
g.jd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; | |
g.nd=function(a){return a?new kd(g.ld(a)):md||(md=new kd)}; | |
g.od=function(a){return g.u(a)?window.document.getElementById(a):a}; | |
g.qd=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.pd(window.document,"*",a,b)}; | |
g.J=function(a,b){var c=b||window.document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=window.document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.pd(c,"*",a,b)[0]||null}return c||null}; | |
g.pd=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.Pa(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a}; | |
g.td=function(a,b){g.Kb(b,function(b,d){b&&b.Fg&&(b=b.Me());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:rd.hasOwnProperty(d)?a.setAttribute(rd[d],b):g.lb(d,"aria-")||g.lb(d,"data-")?a.setAttribute(d,b):a[d]=b})}; | |
g.vd=function(a){a=a.document;a=g.ud(a)?a.documentElement:a.body;return new g.I(a.clientWidth,a.clientHeight)}; | |
g.yd=function(a){var b=wd(a);a=a.parentWindow||a.defaultView;return g.xd&&g.qc("10")&&a.pageYOffset!=b.scrollTop?new g.gd(b.scrollLeft,b.scrollTop):new g.gd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}; | |
wd=function(a){return a.scrollingElement?a.scrollingElement:!g.zd&&g.ud(a)?a.documentElement:a.body||a.documentElement}; | |
Ad=function(a){return a?a.parentWindow||a.defaultView:window}; | |
g.K=function(a,b,c){return Bd(window.document,arguments)}; | |
Bd=function(a,b){var c=String(b[0]),d=b[1];if(!Laa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',g.qb(d.name),'"');if(d.type){c.push(' type="',g.qb(d.type),'"');var e={};g.ec(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.u(d)?c.className=d:g.Aa(d)?c.className=d.join(" "):g.td(c,d));2<b.length&&Cd(a,c,b,2);return c}; | |
Cd=function(a,b,c,d){function e(c){c&&b.appendChild(g.u(c)?a.createTextNode(c):c)} | |
for(;d<c.length;d++){var f=c[d];!g.Ba(f)||g.Da(f)&&0<f.nodeType?e(f):(0,g.B)(Maa(f)?g.Xa(f):f,e)}}; | |
g.Dd=function(a){return window.document.createElement(String(a))}; | |
g.Ed=function(a){return window.document.createTextNode(String(a))}; | |
g.ud=function(a){return"CSS1Compat"==a.compatMode}; | |
g.Fd=function(a,b){a.appendChild(b)}; | |
g.Gd=function(a,b){Cd(g.ld(a),a,arguments,1)}; | |
g.Hd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)}; | |
Id=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}; | |
g.Jd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}; | |
g.Ld=function(a){return Naa&&void 0!=a.children?a.children:(0,g.Kd)(a.childNodes,function(a){return 1==a.nodeType})}; | |
g.Nd=function(a){return g.t(a.firstElementChild)?a.firstElementChild:Md(a.firstChild)}; | |
Md=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a}; | |
g.Od=function(a){var b;if(Oaa&&!(g.xd&&g.qc("9")&&!g.qc("10")&&g.w.SVGElement&&a instanceof g.w.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Da(b)&&1==b.nodeType?b:null}; | |
g.Pd=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}; | |
g.ld=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document}; | |
Qd=function(a){try{return a.contentWindow||(a.contentDocument?Ad(a.contentDocument):null)}catch(b){}return null}; | |
g.Rd=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.Hd(a);var c=g.ld(a);a.appendChild(c.createTextNode(String(b)))}}; | |
Sd=function(a){if("outerHTML"in a)return a.outerHTML;var b=g.ld(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML}; | |
g.Wd=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Ud(a)||Vd(a)):Ud(a)&&Vd(a))&&g.xd){var c;!g.Ca(a.getBoundingClientRect)||g.xd&&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}; | |
Ud=function(a){return g.xd&&!g.qc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}; | |
Vd=function(a){a=a.tabIndex;return g.ua(a)&&0<=a&&32768>a}; | |
Maa=function(a){if(a&&"number"==typeof a.length){if(g.Da(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Ca(a))return"function"==typeof a.item}return!1}; | |
g.Yd=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.Xd(a,function(a){return(!e||a.nodeName==e)&&(!c||g.u(a.className)&&g.Pa(a.className.split(/\s+/),c))},!0,d)}; | |
g.Zd=function(a,b){return g.Yd(a,null,b,void 0)}; | |
g.Xd=function(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null}; | |
g.$d=function(){var a=window.document;try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}; | |
kd=function(a){this.g=a||g.w.document||window.document}; | |
g.ae=function(a){a=a.g;return a.parentWindow||a.defaultView}; | |
g.be=function(a){Paa();return Ec(a)}; | |
g.ce=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b}; | |
g.de=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192){var d=g.Za(a,c,c+8192);b+=String.fromCharCode.apply(null,d)}return b}; | |
Qaa=function(a){return(0,g.G)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")}; | |
g.he=function(a,b){g.Ba(a);ee();for(var c=b?fe:ge,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("")}; | |
je=function(a){var b=[];ie(a,function(a){b.push(a)}); | |
return b}; | |
ke=function(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var d=new window.Uint8Array(Math.ceil(3*b/4)-c),e=0;ie(a,function(a){d[e++]=a}); | |
return d.subarray(0,e)}; | |
ie=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=le[c];if(null!=e)return e;if(!g.C(c))throw Error("Unknown base64 encoding at char: "+c);}return b} | |
ee();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))}}; | |
ee=function(){if(!ge){ge={};le={};fe={};for(var a=0;65>a;a++)ge[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),le[ge[a]]=a,fe[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(le["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}}; | |
ne=function(a,b,c){this.l=null;this.C=this.D=this.g=this.o=this.A=0;this.B=!1;a&&me(this,a,b,c)}; | |
pe=function(a,b,c){if(oe.length){var d=oe.pop();a&&me(d,a,b,c);return d}return new ne(a,b,c)}; | |
me=function(a,b,c,d){b=b.constructor===window.Uint8Array?b:b.constructor===window.ArrayBuffer?new window.Uint8Array(b):b.constructor===Array?new window.Uint8Array(b):b.constructor===String?ke(b):new window.Uint8Array(0);a.l=b;a.A=g.t(c)?c:0;a.o=g.t(d)?a.A+d:a.l.length;a.g=a.A}; | |
qe=function(a){var b=a.l;var c=b[a.g+0];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128>c)return a.g+=5,d>>>0;a.g+=5;128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&a.g++;return d}; | |
re=function(a){this.g=pe(a,void 0,void 0);this.B=this.g.g;this.l=this.o=-1;this.A=!1}; | |
se=function(a){var b=a.g;if(b.g==b.o||a.getError())return!1;a.B=a.g.g;b=qe(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.A=!0,!1;a.o=b>>>3;a.l=c;return!0}; | |
te=function(a){switch(a.l){case 0:if(0!=a.l)te(a);else{for(a=a.g;a.l[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.l?te(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.l)te(a);else{var b=qe(a.g);a=a.g;a.g+=b}break;case 5:5!=a.l?te(a):(a=a.g,a.g+=4);break;case 3:b=[a.o];do{if(!se(a)){a.A=!0;break}if(3==a.l)b.push(a.o);else if(4==a.l&&a.o!=b.pop()){a.A=!0;break}}while(0<b.length)}}; | |
ue=function(a){a=a.g;a:{for(var b,c=0,d,e=0;4>e;e++)if(b=a.l[a.g++],c|=(b&127)<<7*e,128>b){a.D=c>>>0;a.C=0;break a}b=a.l[a.g++];c|=(b&127)<<28;d=0|(b&127)>>4;if(128>b)a.D=c>>>0,a.C=d>>>0;else{for(e=0;5>e;e++)if(b=a.l[a.g++],d|=(b&127)<<7*e+3,128>b){a.D=c>>>0;a.C=d>>>0;break a}a.B=!0}}b=a.D;c=a.C;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+b;return a?-b:b}; | |
ve=function(a){var b=qe(a.g);a=a.g;var c=a.l,d=a.g;b=d+b;for(var e=[],f="";d<b;){var k=c[d++];if(128>k)e.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];e.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];e.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;e.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=e.length&&(f+=String.fromCharCode.apply(null,e),e.length=0)}f+=g.de(e);a.g=d;return f}; | |
we=function(a){var b=qe(a.g);a=a.g;if(0>b||a.g+b>a.l.length)a.B=!0,b=new window.Uint8Array(0);else{var c=a.l.subarray(a.g,a.g+b);a.g+=b;b=c}return b}; | |
xe=function(){}; | |
De=function(a,b,c,d){a.g=null;b||(b=[]);a.D=void 0;a.A=-1;a.o=b;a:{if(b=a.o.length){--b;var e=a.o[b];if(e&&"object"==typeof e&&!g.Aa(e)&&!(ye&&e instanceof window.Uint8Array)){a.B=b-a.A;a.l=e;break a}}a.B=Number.MAX_VALUE}a.C={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.B?(e+=a.A,a.o[e]=a.o[e]||ze):(Ae(a),a.l[e]=a.l[e]||ze);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=Be(f,m);null!=n&&(e=m,c=n,Ce(f,m,void 0))}e&&Ce(f,e,c)}}; | |
Ae=function(a){var b=a.B+a.A;a.o[b]||(a.l=a.o[b]={})}; | |
Be=function(a,b){if(b<a.B){var c=b+a.A,d=a.o[c];return d===ze?a.o[c]=[]:d}if(a.l)return d=a.l[b],d===ze?a.l[b]=[]:d}; | |
Ee=function(a,b){if(b<a.B){var c=b+a.A,d=a.o[c];return d===ze?a.o[c]=[]:d}d=a.l[b];return d===ze?a.l[b]=[]:d}; | |
Raa=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.u(a))return ke(a);za(a);return null}; | |
Ce=function(a,b,c){b<a.B?a.o[b+a.A]=c:(Ae(a),a.l[b]=c)}; | |
Fe=function(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=Be(a,c);d&&(a.g[c]=new b(d))}return a.g[c]}; | |
Saa=function(a){Ge(a,He,1);var b=a.g[1];b==ze&&(b=a.g[1]=[]);return b}; | |
Ge=function(a,b,c){a.g||(a.g={});if(!a.g[c]){for(var d=Ee(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.g[c]=e}}; | |
Je=function(a){if(a.g)for(var b in a.g){var c=a.g[b];if(g.Aa(c))for(var d=0;d<c.length;d++)c[d]&&Ie(c[d]);else c&&Ie(c)}}; | |
Ie=function(a){Je(a);return a.o}; | |
Ke=function(a){if(g.Aa(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?Ke(d):d)}return b}if(ye&&a instanceof window.Uint8Array)return new window.Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?Ke(d):d);return b}; | |
Le=function(a){De(this,a,null,null)}; | |
Ne=function(a){return Fe(a,Me,1)}; | |
Me=function(a){De(this,a,null,null)}; | |
Oe=function(a){De(this,a,null,Taa)}; | |
Pe=function(a){De(this,a,null,Uaa)}; | |
Qe=function(a){De(this,a,null,Vaa)}; | |
Re=function(a){De(this,a,null,null)}; | |
Se=function(a){De(this,a,null,null)}; | |
Te=function(a){De(this,a,null,null)}; | |
Ue=function(a){De(this,a,null,null)}; | |
Ve=function(a){De(this,a,null,null)}; | |
We=function(a){De(this,a,Waa,null)}; | |
He=function(a){De(this,a,null,null)}; | |
Xe=function(a){for(var b=[],c=a=Ad(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b}; | |
g.M=function(){this.Hb=this.Hb;this.ab=this.ab}; | |
g.N=function(a,b){g.Ye(a,g.Ga(g.Ze,b))}; | |
g.Ye=function(a,b){a.Hb?g.t(void 0)?b.call(void 0):b():(a.ab||(a.ab=[]),a.ab.push(g.t(void 0)?(0,g.z)(b,void 0):b))}; | |
g.Ze=function(a){a&&"function"==typeof a.dispose&&a.dispose()}; | |
g.$e=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.Ba(d)?g.$e.apply(null,d):g.Ze(d)}}; | |
g.af=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Ui=!1;this.dE=!0}; | |
bf=function(a){a.stopPropagation()}; | |
df=function(a){return g.zd?"webkit"+a:g.cf?"o"+a.toLowerCase():a.toLowerCase()}; | |
ef=function(a,b){g.af.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.g=null;a&&this.init(a,b)}; | |
g.gf=function(a){return!(!a||!a[g.ff])}; | |
Yaa=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.Xf=e;this.key=++Xaa;this.Ak=this.Hn=!1}; | |
hf=function(a){a.Ak=!0;a.listener=null;a.g=null;a.src=null;a.Xf=null}; | |
jf=function(a){this.src=a;this.listeners={};this.g=0}; | |
kf=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.Ua(a.listeners[c],b);d&&(hf(b),0==a.listeners[c].length&&(delete a.listeners[c],a.g--));return d}; | |
g.lf=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,hf(d[e]);delete a.listeners[c];a.g--}}; | |
mf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Ak&&f.listener==b&&f.capture==!!c&&f.Xf==d)return e}return-1}; | |
g.of=function(a,b,c,d,e){if(d&&d.once)return nf(a,b,c,d,e);if(g.Aa(b)){for(var f=0;f<b.length;f++)g.of(a,b[f],c,d,e);return null}c=pf(c);return g.gf(a)?a.U(b,c,g.Da(d)?!!d.capture:!!d,e):qf(a,b,c,!1,d,e)}; | |
qf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Da(e)?!!e.capture:!!e,l=g.rf(a);l||(a[sf]=l=new jf(a));c=l.add(b,c,d,k,f);if(c.g)return c;d=Zaa();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)$aa||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(tf(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");uf++;return c}; | |
Zaa=function(){var a=aba,b=vf?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}; | |
nf=function(a,b,c,d,e){if(g.Aa(b)){for(var f=0;f<b.length;f++)nf(a,b[f],c,d,e);return null}c=pf(c);return g.gf(a)?a.xh(b,c,g.Da(d)?!!d.capture:!!d,e):qf(a,b,c,!0,d,e)}; | |
g.wf=function(a,b,c,d,e){if(g.Aa(b))for(var f=0;f<b.length;f++)g.wf(a,b[f],c,d,e);else d=g.Da(d)?!!d.capture:!!d,c=pf(c),g.gf(a)?a.Ea(b,c,d,e):a&&(a=g.rf(a))&&(b=a.zl(b,c,d,e))&&g.xf(b)}; | |
g.xf=function(a){if(g.ua(a)||!a||a.Ak)return!1;var b=a.src;if(g.gf(b))return kf(b.He,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(tf(c),d):b.addListener&&b.removeListener&&b.removeListener(d);uf--;(c=g.rf(b))?(kf(c,a),0==c.g&&(c.src=null,b[sf]=null)):hf(a);return!0}; | |
tf=function(a){return a in yf?yf[a]:yf[a]="on"+a}; | |
Af=function(a,b,c,d){var e=!0;if(a=g.rf(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.Ak&&(f=zf(f,d),e=e&&!1!==f)}return e}; | |
zf=function(a,b){var c=a.listener,d=a.Xf||a.src;a.Hn&&g.xf(a);return c.call(d,b)}; | |
aba=function(a,b){if(a.Ak)return!0;if(!vf){var c=b||g.x("window.event"),d=new ef(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.Ui&&0<=k;k--){d.currentTarget=c[k];var l=Af(c[k],f,!0,d);e=e&&l}for(k=0;!d.Ui&&k<c.length;k++)d.currentTarget=c[k],l=Af(c[k],f,!1,d),e=e&&l}return e}return zf(a,new ef(b, | |
this))}; | |
g.rf=function(a){a=a[sf];return a instanceof jf?a:null}; | |
pf=function(a){if(g.Ca(a))return a;a[Bf]||(a[Bf]=function(b){return a.handleEvent(b)}); | |
return a[Bf]}; | |
g.Cf=function(){g.M.call(this);this.He=new jf(this);this.vb=this;this.ra=null}; | |
Df=function(a,b,c,d){b=a.He.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.Ak&&k.capture==c){var l=k.listener,m=k.Xf||k.src;k.Hn&&kf(a.He,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.dE}; | |
Ef=function(a,b){this.o=a;this.A=b;this.l=0;this.g=null}; | |
Ff=function(a,b){a.A(b);100>a.l&&(a.l++,b.next=a.g,a.g=b)}; | |
Gf=function(a){return function(){return a}}; | |
bba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}}; | |
g.Hf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}; | |
If=function(a){g.w.setTimeout(function(){throw a;},0)}; | |
Kf=function(a,b){var c=a;b&&(c=(0,g.z)(a,b));!g.Ca(g.w.setImmediate)||g.w.Window&&g.w.Window.prototype&&!Jb("Edge")&&g.w.Window.prototype.setImmediate==g.w.setImmediate?(Jf||(Jf=cba()),Jf(c)):g.w.setImmediate(c)}; | |
cba=function(){var a=g.w.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Jb("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;a=(0,g.z)(function(a){if(("*"== | |
d||a.origin==d)&&a.data==c)this.port1.onmessage()},this); | |
b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}}); | |
if("undefined"!==typeof a&&!Jb("Trident")&&!Jb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.t(c.next)){c=c.next;var a=c.Wx;c.Wx=null;a()}}; | |
return function(a){d.next={Wx:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT"); | |
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null}; | |
window.document.documentElement.appendChild(b)}:function(a){g.w.setTimeout(a,0)}}; | |
Lf=function(){this.l=this.g=null}; | |
Mf=function(){this.next=this.scope=this.g=null}; | |
g.Qf=function(a,b){Nf||dba();Of||(Nf(),Of=!0);Pf.add(a,b)}; | |
dba=function(){if(g.w.Promise&&g.w.Promise.resolve){var a=g.w.Promise.resolve(void 0);Nf=function(){a.then(Rf)}}else Nf=function(){Kf(Rf)}}; | |
Rf=function(){for(var a;a=Pf.remove();){try{a.g.call(a.scope)}catch(b){If(b)}Ff(Sf,a)}Of=!1}; | |
Tf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}; | |
Vf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}}; | |
g.Xf=function(a,b){this.g=0;this.D=void 0;this.A=this.l=this.o=null;this.B=this.C=!1;if(a!=g.y)try{var c=this;a.call(b,function(a){Wf(c,2,a)},function(a){Wf(c,3,a)})}catch(d){Wf(this,3,d)}}; | |
Yf=function(){this.next=this.context=this.onRejected=this.o=this.g=null;this.l=!1}; | |
$f=function(a,b,c){var d=Zf.get();d.o=a;d.onRejected=b;d.context=c;return d}; | |
ag=function(a){if(a instanceof g.Xf)return a;var b=new g.Xf(g.y);Wf(b,2,a);return b}; | |
bg=function(a){return new g.Xf(function(b,c){c(a)})}; | |
dg=function(a,b,c){cg(a,b,c,null)||g.Qf(g.Ga(b,a))}; | |
eg=function(a){return new g.Xf(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],dg(e,b,c)})}; | |
g.fg=function(a){return new g.Xf(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},k=function(a){c(a)},l=0,m;l<a.length;l++)m=a[l],dg(m,g.Ga(f,l),k); | |
else b(e)})}; | |
fba=function(){var a,b,c=new g.Xf(function(c,e){a=c;b=e}); | |
return new eba(c,a,b)}; | |
hg=function(a,b){var c=$f(b,b,void 0);c.l=!0;gg(a,c);return a}; | |
g.jg=function(a,b){return ig(a,null,b,void 0)}; | |
kg=function(a,b){if(0==a.g)if(a.o){var c=a.o;if(c.l){for(var d=0,e=null,f=null,k=c.l;k&&(k.l||(d++,k.g==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.g&&1==d?kg(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):lg(c),mg(c,e,3,b)))}a.o=null}else Wf(a,3,b)}; | |
gg=function(a,b){a.l||2!=a.g&&3!=a.g||ng(a);a.A?a.A.next=b:a.l=b;a.A=b}; | |
ig=function(a,b,c,d){var e=$f(null,null,null);e.g=new g.Xf(function(a,k){e.o=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){k(n)}}:a; | |
e.onRejected=c?function(b){try{var e=c.call(d,b);!g.t(e)&&b instanceof og?k(b):a(e)}catch(n){k(n)}}:k}); | |
e.g.o=a;gg(a,e);return e.g}; | |
Wf=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,cg(c,a.H,a.I,a)||(a.D=c,a.g=b,a.o=null,ng(a),3!=b||c instanceof og||gba(a,c)))}; | |
cg=function(a,b,c,d){if(a instanceof g.Xf)return gg(a,$f(b||g.y,c||null,d)),!0;if(Vf(a))return a.then(b,c,d),!0;if(g.Da(a))try{var e=a.then;if(g.Ca(e))return hba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1}; | |
hba=function(a,b,c,d,e){function f(a){l||(l=!0,d.call(e,a))} | |
function k(a){l||(l=!0,c.call(e,a))} | |
var l=!1;try{b.call(a,k,f)}catch(m){f(m)}}; | |
ng=function(a){a.C||(a.C=!0,g.Qf(a.F,a))}; | |
lg=function(a){var b=null;a.l&&(b=a.l,a.l=b.next,b.next=null);a.l||(a.A=null);return b}; | |
mg=function(a,b,c,d){if(3==c&&b.onRejected&&!b.l)for(;a&&a.B;a=a.o)a.B=!1;if(b.g)b.g.o=null,pg(b,c,d);else try{b.l?b.o.call(b.context):pg(b,c,d)}catch(e){qg.call(null,e)}Ff(Zf,b)}; | |
pg=function(a,b,c){2==b?a.o.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)}; | |
gba=function(a,b){a.B=!0;g.Qf(function(){a.B&&qg.call(null,b)})}; | |
og=function(a){Ia.call(this,a)}; | |
eba=function(a,b,c){this.g=a;this.resolve=b;this.reject=c}; | |
g.rg=function(a,b){g.Cf.call(this);this.rd=a||1;this.Om=b||g.w;this.Sx=(0,g.z)(this.Zc,this);this.FA=(0,g.F)()}; | |
g.sg=function(a,b,c){if(g.Ca(a))c&&(a=(0,g.z)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.z)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.w.setTimeout(a,b||0)}; | |
g.tg=function(a){g.w.clearTimeout(a)}; | |
ug=function(a,b){var c=null;return g.jg(new g.Xf(function(d,e){c=g.sg(function(){d(b)},a); | |
-1==c&&e(Error("Failed to schedule timer."))}),function(a){g.tg(c); | |
throw a;})}; | |
vg=function(){return Math.round((0,g.F)()/1E3)}; | |
iba=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:vg()}; | |
jba=function(){this.l=-1}; | |
kba=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,""))}; | |
lba=function(a){try{return g.w.JSON.parse(a)}catch(d){var b=d}a=String(a);if(kba(a))try{var c=eval("("+a+")");b&&wg("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);}; | |
g.yg=function(a){var b=[];xg(new mba,a,b);return b.join("")}; | |
mba=function(){}; | |
xg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.Aa(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),xg(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),zg(d,c),c.push(":"),xg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":zg(b,c);break;case "number":c.push((0,window.isFinite)(b)&& | |
!(0,window.isNaN)(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}; | |
zg=function(a,b){b.push('"',a.replace(nba,function(a){var b=Ag[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Ag[a]=b);return b}),'"')}; | |
Bg=function(a){this.g=a||{cookie:""}}; | |
Cg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=zb(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.Dg=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.Eg=function(a){return a.match(oba)}; | |
g.Fg=function(a){return a?(0,window.decodeURI)(a):a}; | |
g.Gg=function(a){return g.Fg(g.Eg(a)[3]||null)}; | |
g.Hg=function(a){return Number(g.Eg(a)[4]||null)||null}; | |
Ig=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?pb(f):"")}}; | |
Jg=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)]}; | |
Kg=function(a,b){return b?a?a+"&"+b:b:a}; | |
Lg=function(a,b){if(!b)return a;var c=Jg(a);c[1]=Kg(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; | |
Mg=function(a,b,c){if(g.Aa(b))for(var d=0;d<b.length;d++)Mg(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.ob(b)))}; | |
Ng=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)Mg(a[d],a[d+1],c);return c.join("&")}; | |
g.Og=function(a){var b=[],c;for(c in a)Mg(c,a[c],b);return b.join("&")}; | |
Pg=function(a,b){var c=2==arguments.length?Ng(arguments[1],0):Ng(arguments,1);return Lg(a,c)}; | |
g.Qg=function(a,b){var c=g.Og(b);return Lg(a,c)}; | |
Rg=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}; | |
Tg=function(a,b){var c=a.search(Sg),d=Rg(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 pb(a.substr(d,e-d))}; | |
g.Ug=function(a,b){for(var c=a.search(Sg),d=0,e,f=[];0<=(e=Rg(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(pba,"$1")}; | |
Vg=function(a,b,c){a=g.Ug(a,b);c=null!=c?"="+g.ob(c):"";return Lg(a,b+c)}; | |
qba=function(a,b){var c=Jg(a),d=c[1],e=[];d&&(0,g.B)(d.split("&"),function(a){var c=a.indexOf("=");b.hasOwnProperty(0<=c?a.substr(0,c):a)||e.push(a)}); | |
c[1]=Kg(e.join("&"),g.Og(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; | |
Wg=function(){this.g={};return this}; | |
Xg=function(a,b){a.g.eb=$b(a.g,"eb",0)|b}; | |
g.Yg=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}; | |
Zg=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}; | |
$g=function(a,b,c){b instanceof g.gd?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.ua(c)&&(a.top+=c,a.bottom+=c));return a}; | |
g.ah=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}; | |
g.bh=function(a){return new g.Yg(a.top,a.left+a.width,a.top+a.height,a.left)}; | |
g.ch=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.dh=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return a.left=c,a.top=e,a.width=d-c,a.height=f-e,!0}return!1}; | |
g.eh=function(a){return new g.I(a.width,a.height)}; | |
g.fh=function(a){return new g.gd(a.left,a.top)}; | |
rba=function(){this.g={};this.l=0}; | |
gh=function(a,b){this.B=a;this.o=!0;this.g=b}; | |
hh=function(a,b){gh.call(this,String(a),b);this.A=a;this.g=!!b}; | |
ih=function(a,b){gh.call(this,a,b)}; | |
jh=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 ih("",new g.ah(c,b,Number(a[3])-c,Number(a[2])-b))}return new ih("",new g.ah(0,0,0,0))}; | |
lh=function(){kh||(kh=new rba);return kh}; | |
mh=function(a,b){a.g[b.B]=b}; | |
g.oh=function(a,b,c){if(g.u(b))(b=nh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=nh(c,d);f&&(c.style[f]=e)}}; | |
nh=function(a,b){var c=ph[b];if(!c){var d=Fb(b);c=d;void 0===a.style[d]&&(d=(g.zd?"Webkit":g.qh?"Moz":g.xd?"ms":g.cf?"O":null)+vaa(d),void 0!==a.style[d]&&(c=d));ph[b]=c}return c}; | |
rh=function(a,b){var c=a.style[Fb(b)];return"undefined"!==typeof c?c:a.style[nh(a,b)]||""}; | |
sh=function(a,b){var c=g.ld(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}; | |
g.th=function(a,b){return sh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}; | |
g.vh=function(a,b,c){if(b instanceof g.gd){var d=b.x;b=b.y}else d=b,b=c;a.style.left=uh(d,!1);a.style.top=uh(b,!1)}; | |
wh=function(a){return new g.gd(a.offsetLeft,a.offsetTop)}; | |
zh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.xd&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}; | |
g.Ah=function(a){if(g.xd&&!g.rc(8))return a.offsetParent;var b=g.ld(a),c=g.th(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.th(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}; | |
g.Ch=function(a){for(var b=new g.Yg(0,window.Infinity,window.Infinity,0),c=g.nd(a),d=c.g.body,e=c.g.documentElement,f=wd(c.g);a=g.Ah(a);)if(!(g.xd&&0==a.clientWidth||g.zd&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.th(a,"overflow")){var k=g.Bh(a),l=new g.gd(a.clientLeft,a.clientTop);k.x+=l.x;k.y+=l.y;b.top=Math.max(b.top,k.y);b.right=Math.min(b.right,k.x+a.clientWidth);b.bottom=Math.min(b.bottom,k.y+a.clientHeight);b.left=Math.max(b.left,k.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left, | |
d);b.top=Math.max(b.top,f);c=g.vd(g.ae(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.Bh=function(a){var b=g.ld(a),c=new g.gd(0,0);var d=b?g.ld(b):window.document;d=!g.xd||g.rc(9)||g.ud(g.nd(d).g)?d.documentElement:d.body;if(a==d)return c;a=zh(a);b=g.yd(g.nd(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}; | |
g.Eh=function(a,b){var c=new g.gd(0,0),d=Ad(g.ld(a));if(!nc(d,"parent"))return c;var e=a;do{var f=d==b?g.Bh(e):Dh(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.Gh=function(a,b){var c=g.Fh(a),d=g.Fh(b);return new g.gd(c.x-d.x,c.y-d.y)}; | |
Dh=function(a){a=zh(a);return new g.gd(a.left,a.top)}; | |
g.Fh=function(a){if(1==a.nodeType)return Dh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.gd(a.clientX,a.clientY)}; | |
g.Ih=function(a,b,c){if(b instanceof g.I)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Hh(a,b);a.style.height=uh(c,!0)}; | |
uh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; | |
g.Hh=function(a,b){a.style.width=uh(b,!0)}; | |
g.Jh=function(a){var b=sba;if("none"!=g.th(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}; | |
sba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.zd&&!b&&!c;return g.t(b)&&!d||!a.getBoundingClientRect?new g.I(b,c):(a=zh(a),new g.I(a.right-a.left,a.bottom-a.top))}; | |
g.Kh=function(a){var b=g.Bh(a);a=g.Jh(a);return new g.ah(b.x,b.y,a.width,a.height)}; | |
g.Lh=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.O=function(a,b){a.style.display=b?"":"none"}; | |
g.Mh=function(a){return"none"!=a.style.display}; | |
g.Nh=function(a,b,c,d){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b}; | |
Oh=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?g.Nh(a,c,"left","pixelLeft"):0}; | |
g.Ph=function(a){if(g.xd){var b=Oh(a,"paddingLeft"),c=Oh(a,"paddingRight"),d=Oh(a,"paddingTop");a=Oh(a,"paddingBottom");return new g.Yg(d,c,a,b)}b=sh(a,"paddingLeft");c=sh(a,"paddingRight");d=sh(a,"paddingTop");a=sh(a,"paddingBottom");return new g.Yg((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))}; | |
Rh=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 Qh?Qh[c]:g.Nh(a,c,"left","pixelLeft")}; | |
g.Sh=function(a){if(g.xd&&!g.rc(9)){var b=Rh(a,"borderLeft"),c=Rh(a,"borderRight"),d=Rh(a,"borderTop");a=Rh(a,"borderBottom");return new g.Yg(d,c,a,b)}b=sh(a,"borderLeftWidth");c=sh(a,"borderRightWidth");d=sh(a,"borderTopWidth");a=sh(a,"borderBottomWidth");return new g.Yg((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))}; | |
Th=function(a){var b=new g.ah(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.ah(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.dh(b,a[d]))return c;return b}; | |
Uh=function(a,b){var c=a.getBoundingClientRect(),d=g.Eh(a,b);return new g.ah(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))}; | |
Vh=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.ah(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;mh(a,new gh("vp",d));d&&0<d?(e=g.bh(b),f=g.bh(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;mh(a,new hh(512,e));d&&0<d?(e=g.bh(b),f=g.bh(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;mh(a,new hh(1024, | |
e));d&&0<d?(e=g.bh(b),f=g.bh(c),e=e.left>=f.left&&e.left<f.right):e=!1;mh(a,new hh(2048,e));d&&0<d?(b=g.bh(b),c=g.bh(c),c=b.right<=c.right&&b.right>c.left):c=!1;mh(a,new hh(4096,c))}}; | |
tba=function(a,b){var c=0;g.Sb(Ad(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=lh();d.g={};var f=new hh(32,!0);f.o=!1;mh(d,f);f=Ad().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";mh(d,new hh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=Ad().top;try{var l=!!k.location.href||""===k.location.href}catch(r){l=!1}if(l){var m=Xe(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(r){n="2"}mh(d, | |
new hh(256,"2"==n));mh(d,new hh(128,"1"==n));m=l=Ad().top;"2"==n&&(m=Ad());k=Uh(e,m);mh(d,new ih("er",k));try{var p=m.document&&!m.document.body?null:g.vd(m||window)}catch(r){p=null}p?(m=g.yd(g.nd(m.document).g),mh(d,new hh(16384,!!m)),p=m?new g.ah(m.x,m.y,p.width,p.height):null):p=null;mh(d,new ih("vi",p));if(p&&"1"==n){n=Xe(e);e=[];for(m=0;m<n.length;m++)(f=Uh(n[m],l))&&e.push(f);e.push(p);p=Th(e)}Vh(d,k,p);d.l&&(n=vg()-d.l,mh(d,new gh("ts",n)));d.l=vg()}else d=lh(),d.g={},d.l=vg(),mh(d,new hh(32, | |
!1));this.o=d;this.g=new Wg;this.g.set("ve",4);c&&Xg(this.g,1);g.Sb(Ad(),"ima","video","client","crossdomainTag")&&Xg(this.g,4);g.Sb(Ad(),"ima","video","client","sdkTag")&&Xg(this.g,8);g.Sb(Ad(),"ima","video","client","jsTag")&&Xg(this.g,2);b&&$b(b,"fullscreen",!1)&&Xg(this.g,16);this.l=d=null;if(c&&(c=g.Sb(Ad(),"ima","video","client"),c.getEData)){this.l=c.getEData();if(c=g.Sb(Ad(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.l.extendWithDataFromTopIframe(n.tagstamp,n.playstamp, | |
n.lactstamp),c=this.o,d=n.er,n=n.vi,d&&n&&(d=jh(d).getValue(),n=jh(n).getValue(),e=null,$b(c.g,"er",null)&&(e=$b(c.g,"er",null).getValue(),e.top+=d.top,e.left+=d.left,mh(c,new ih("er",e))),$b(c.g,"vi",null)&&(p=$b(c.g,"vi",null).getValue(),p.top+=d.top,p.left+=d.left,l=[],l.push(p),l.push(d),l.push(n),d=Th(l),Vh(c,e,d),mh(c,new ih("vi",n))));a:{if(this.l){if(this.l.getTagLoadTimestamp){d=this.l.getTagLoadTimestamp();break a}if(this.l.getTimeSinceTagLoadSeconds){d=this.l.getTimeSinceTagLoadSeconds(); | |
break a}}d=null}}this.g.set("td",vg()-iba(d))}; | |
uba=function(a,b){try{var c=new tba(a,b),d=[],e=Number(c.g.get("eb"));c.g.remove("eb");var f,k=c.g,l=[],m;for(m in k.g)l.push(m+k.g[m]);(f=l.join("_"))&&d.push(f);if(c.l){var n=c.l.serialize();n&&d.push(n)}var p,r=c.o;f=e;k=[];f||(f=0);for(var v in r.g){var D=r.g[v];if(D instanceof hh)D.getValue()&&(f|=D.A);else{var H,L=r.g[v];(H=L.o?L.l():"")&&k.push(v+H)}}k.push("eb"+String(f));(p=k.join("_"))&&d.push(p);c.g.set("eb",e);return d.join("_")}catch(T){return"tle;"+ub(T.name,12)+";"+ub(T.message,40)}}; | |
Wh=function(a,b,c,d){if(d)c=a+("&"+b+"="+c);else{var e="&"+b+"=",f=a.indexOf(e);0>f?c=a+e+c:(f+=e.length,e=a.indexOf("&",f),c=0<=e?a.substring(0,f)+c+a.substring(e):a.substring(0,f)+c)}return 2E3<c.length?g.t(void 0)?Wh(a,b,void 0,d):a:c}; | |
Xh=function(a){try{return!!a&&null!=a.location.href&&nc(a,"foo")}catch(b){return!1}}; | |
Yh=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)}; | |
wba=function(a){return(a=vba.exec(a))&&a[0]||""}; | |
xba=function(){var a=g.w;try{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "file:":return!1;case "http:":return!1}}catch(c){}return!0}; | |
yba=function(){var a=Zh;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec((0,window.decodeURIComponent)(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""}; | |
$h=function(a){return a?a.passive&&zba()?a:a.capture||!1:a}; | |
ai=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,$h(d)):a.attachEvent&&a.attachEvent("on"+b,c)}; | |
bi=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,$h(void 0)):a.detachEvent&&a.detachEvent("on"+b,c)}; | |
ci=function(a,b){var c=!1,d=!1;d=void 0===d?!1:d;c=void 0===c?!1:c;a.google_image_requests||(a.google_image_requests=[]);var e=a.document.createElement("img");if(c){var f=function(){c&&g.Ua(a.google_image_requests,e);bi(e,"load",f);bi(e,"error",f)}; | |
ai(e,"load",f);ai(e,"error",f)}d&&(e.referrerPolicy="no-referrer");e.src=b;a.google_image_requests.push(e)}; | |
di=function(a){a=void 0===a?g.w: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}; | |
fi=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?ei:b;try{var c=b.history.length}catch(d){c=0}a.u_his=c;if(c=!!ei.navigator)c="unknown"!==typeof ei.navigator.javaEnabled;a.u_java=c&&!!ei.navigator.javaEnabled&&ei.navigator.javaEnabled();ei.screen&&(a.u_h=ei.screen.height,a.u_w=ei.screen.width,a.u_ah=ei.screen.availHeight,a.u_aw=ei.screen.availWidth,a.u_cd=ei.screen.colorDepth);ei.navigator&&ei.navigator.plugins&&(a.u_nplug=ei.navigator.plugins.length);ei.navigator&&ei.navigator.mimeTypes&& | |
(a.u_nmime=ei.navigator.mimeTypes.length)}; | |
ji=function(){if(gi&&!Xh(hi)){var a="."+ii.domain;try{for(;2<a.split(".").length&&!Xh(hi);)ii.domain=a=a.substr(a.indexOf(".")+1),hi=window.parent}catch(b){}Xh(hi)||(hi=window)}return hi}; | |
li=function(){var a=window.event||ki;if(!a)return null;var b;(b=a.which?1<<Aba[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b}; | |
mi=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.I(b.innerWidth,b.innerHeight)).round():g.vd(b||window).round()}catch(d){return new g.I(-12245933,-12245933)}}; | |
Bba=function(a){var b={};(0,g.B)(a,function(a){var c=a.event,e=b[c];b.hasOwnProperty(c)?null===e||a.g(e)||(b[c]=null):b[c]=a}); | |
gaa(a,function(a){return null===b[a.event]})}; | |
ni=function(){this.g=0;this.o=!1;this.A=-1;this.zi=!1;this.l=0}; | |
oi=function(a){this.A=a;this.g=null;this.l=!1;this.o=null}; | |
pi=function(a){a.l=!0;return a}; | |
qi=function(a,b){a.o=void 0===b?null:b}; | |
Cba=function(a,b){a.o&&(0,g.B)(b,function(b){b=a.o[b];void 0!==b&&null===a.g&&g.Ub(a.A,b)&&(a.g=b)})}; | |
ri=function(){this.g={};this.o=!0;this.l={}}; | |
si=function(a,b,c){a.g[b]||(a.g[b]=new oi(c));return a.g[b]}; | |
ti=function(a,b,c){(a=a.g[b])&&null===a.g&&g.Ub(a.A,c)&&(a.g=c)}; | |
ui=function(a,b){if(Tb(a.l,b))return a.l[b];var c=a.g[b];if(c)return c.getValue()}; | |
Dba=function(a){var b={},c=g.Lb(a.g,function(a){return a.l}); | |
g.Kb(c,function(c,e){var d=void 0!==a.l[e]?String(a.l[e]):c.l&&null!==c.g?String(c.g):"";0<d.length&&(b[e]=d)},a); | |
return b}; | |
Eba=function(a){a=Dba(a);var b=[];g.Kb(a,function(a,d){d in Object.prototype||"undefined"!=typeof a&&b.push([d,":",a].join(""))}); | |
return b}; | |
Fba=function(a,b){a.o&&(0,g.B)(g.Qb(a.g),function(a){return Cba(a,b)})}; | |
vi=function(){return(0,g.F)()-Gba}; | |
Ai=function(a){var b=0<=wi?vi()-wi:-1,c=xi?vi()-yi:-1,d=0<=zi?vi()-zi:-1;if(79463068==a)return 500;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k}; | |
Bi=function(a,b){this.l=(void 0===a?0:a)||0;this.g=(void 0===b?"":b)||""}; | |
Ci=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.line=b.line||-1;this.msg=b.message||"";this.file=b.file||"";this.id=b.id||"jserror";this.meta=c}; | |
Fi=function(a){a=a||Di();for(var b=new Ei(g.w.location.href,g.w,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Hba.test(f.url)&&(c=f);if(f.url&&!f.Jt){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Iba(b,e,c)}; | |
Di=function(){var a=g.w,b=[],c=null;do{var d=a;if(Xh(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Ei(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=g.w;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.Jt=!0);return b}; | |
Iba=function(a,b,c){this.g=a;this.l=b;this.o=c}; | |
Ei=function(a,b,c){this.url=a;this.Qc=b;this.Jt=!!c;this.depth=g.ua(void 0)?void 0:null}; | |
Gi=function(){this.o="&";this.A=g.t(void 0)?void 0:"trn";this.B=!1;this.l={};this.C=0;this.g=[]}; | |
Hi=function(a,b){var c={};c[a]=b;return[c]}; | |
Li=function(a,b,c,d,e){var f=[];Yh(a,function(a,l){var k=Ki(a,b,c,d,e);k&&f.push(l+"="+k)}); | |
return f.join(b)}; | |
Ki=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(Ki(a[k],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?(0,window.encodeURIComponent)(Li(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))}; | |
Mi=function(a,b,c,d){a.g.push(b);a.l[b]=Hi(c,d)}; | |
Jba=function(a){if(!a.A)return 4E3;var b=1,c;for(c in a.l)b=c.length>b?c.length:b;return 4E3-a.A.length-b-a.o.length-1}; | |
Ni=function(a,b,c,d){if(Math.random()<(d||a.g))try{if(c instanceof Gi)var e=c;else e=new Gi,Yh(c,function(a,b){var c=e,d=c.C++,f=Hi(b,a);c.g.push(d);c.l[d]=f}); | |
var f=e.Ta(a.A,a.l,a.o+b+"&","");f&&ci(g.w,f)}catch(k){}}; | |
Oi=function(){var a=g.w.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.F)()}; | |
Pi=function(){var a=void 0===a?g.w:a;return(a=a.performance)&&a.now?a.now():null}; | |
Qi=function(a,b,c,d,e){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=this.label+"_"+this.type+"_"+Math.random();this.slotId=e}; | |
Si=function(a,b){this.events=[];this.g=b||g.w;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.l=Ri()||(null!=c?c:Math.random()<a)}; | |
Ui=function(a){a&&Ti&&Ri()&&(Ti.clearMarks("goog_"+a.uniqueId+"_start"),Ti.clearMarks("goog_"+a.uniqueId+"_end"))}; | |
Xi=function(){var a=Vi;this.o=Wi;this.l=!0;this.g=null;this.A=this.zh;this.Ca=void 0===a?null:a}; | |
$i=function(a){return new Yi(Zi(a),a.fileName,a.lineNumber)}; | |
Zi=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}; | |
Yi=function(a,b,c){Ci.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})}; | |
aj=function(){this.Ca=null;this.l=!1;this.g=null}; | |
Kba=function(a){bj.uE(function(b){(0,g.B)(a,function(a){a(b)})})}; | |
cj=function(a,b){return bj.Np(a,b,void 0,Lba)}; | |
dj=function(a,b,c,d){return bj.PD(a,b,c,d,void 0)}; | |
ej=function(a,b){bj.zh(a,b,void 0,void 0)}; | |
fj=function(a,b,c,d){var e=void 0===e?!1:e;c=dj(d,c);ai(a,b,c,{capture:e});return c}; | |
hj=function(a){var b=gj.getInstance().C;b&&(b.l&&(a[4]=b.l),b.g&&(a[12]=b.g))}; | |
ij=function(a){var b=[];g.Kb(a,function(a,d){var c=(0,window.encodeURIComponent)(d),f=a;g.u(f)&&(f=(0,window.encodeURIComponent)(f));b.push(c+"="+f)}); | |
b.push("24="+(0,g.F)());return b.join("\n")}; | |
jj=function(){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[ii.visibilityState||ii.webkitVisibilityState||ii.mozVisibilityState||""]||0}; | |
kj=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&nc(a,"parentElement")?kj(g.Od(a),b,c,d):{done:e,value:d}}; | |
lj=function(a,b,c,d){if(!a)return d;d=kj(a,b,c,d);if(!d.done)try{var e=g.ld(a),f=e&&Ad(e);return lj(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value}; | |
Mba=function(a){var b=!g.xd||g.qc(8);return lj(a,function(a,d){var c=nc(d,"style")&&d.style&&rh(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1, | |
visible:!1}).hidden}; | |
Nba=function(a){return lj(a,function(a,c){return!(!nc(c,"style")||!c.style||"none"!==rh(c,"display"))},function(a){return a},!1)?!0:Mba(a)}; | |
mj=function(a){return new g.Yg(a.top,a.right,a.bottom,a.left)}; | |
nj=function(a){return null!=a&&0<=a&&1>=a}; | |
oj=function(a,b){b=void 0===b?ei:b;null!==b&&b!=b.top&&(b=b.top);var c=0,d=0;try{var e=b.document,f=e.body,k=e.documentElement;if("CSS1Compat"==e.compatMode&&k.scrollHeight)c=k.scrollHeight!=a.height?k.scrollHeight:k.offsetHeight,d=k.scrollWidth!=a.width?k.scrollWidth:k.offsetWidth;else{var l=k.scrollHeight,m=k.scrollWidth,n=k.offsetHeight,p=k.offsetWidth;k.clientHeight!=n&&(l=f.scrollHeight,m=f.scrollWidth,n=f.offsetHeight,p=f.offsetWidth);l>a.height?l>n?(c=l,d=m):(c=n,d=p):l<n?(c=l,d=m):(c=n,d= | |
p)}return new g.I(d,c)}catch(r){return new g.I(-12245933,-12245933)}}; | |
pj=function(a,b,c,d,e){this.time=a;this.l=b;this.o=c;this.volume=null;this.A=d;this.g=null;this.B=e}; | |
qj=function(a,b,c,d,e,f,k,l,m){this.C=a;this.F=b;this.g=c;this.A=d;this.B=e;this.l=f;this.D=k;this.H=l;this.o=m}; | |
gj=function(){this.F=!1;this.H=void 0;this.g=!Xh(ei.top);var a=Di();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.Gg(a[a.length-1].url)||"":"";this.A=this.K=this.D=this.o=null;this.M=0;this.C=new Bi(0,"");this.l=!1;this.B=null;this.I=0;this.yb="geo";this.ib=new ri;qi(pi(si(this.ib,"nio_mode",Oba)),Pba);qi(pi(si(this.ib,"mv",Qba)),Rba);si(this.ib,"omid",rj);pi(si(this.ib,"fcs",rj));pi(si(this.ib,"osd",rj));pi(si(this.ib,"srmi",rj));pi(si(this.ib,"epoh",rj));qi(pi(si(this.ib, | |
"umt",rj)),Sba);qi(pi(si(this.ib,"gmpd",rj)),Tba);qi(pi(si(this.ib,"sel",rj)),Uba);qi(si(this.ib,"ujs",rj),Vba);this.ib.l.ujs=1;qi(pi(si(this.ib,"cll",Wba)),Xba);qi(pi(si(this.ib,"ioa",rj)),Yba);qi(pi(si(this.ib,"isu",rj)),Zba);qi(pi(si(this.ib,"ald",rj)),$ba);pi(si(this.ib,"inapp",aca));this.J=-1}; | |
sj=function(a){this.l=a;this.o=0;this.g=null}; | |
uj=function(){return!tj()&&(Jb("iPod")||Jb("iPhone")||Jb("Android")||Jb("IEMobile"))}; | |
tj=function(){return Jb("iPad")||Jb("Android")&&!Jb("Mobile")||Jb("Silk")}; | |
vj=function(a,b,c){this.Qc=a;this.Z=void 0===c?"na":c;this.o=[];this.F=!1;this.g=new pj(-1,new g.I(0,0),new g.I(0,0),!0,this);this.l=this;this.C=this.A=b;this.X=tj()||uj();this.B=!1;this.K=null;this.H=this.J=!1;this.M="uk";this.T=!1}; | |
xj=function(a,b){a.H||(a.H=!0,a.M=b,a.C=0,a.jq(),a.l==a&&(a.A=0,wj(a)))}; | |
yj=function(a,b){g.Pa(a.o,b)||(a.o.push(b),b.ri(a.l),b.ph(a.g),b.Og()&&(a.B=!0))}; | |
zj=function(a,b){g.Ua(a.o,b);a.B&&b.Og()&&bca(a)}; | |
bca=function(a){a.B=a.o.length?(0,g.Aj)(a.o,function(a){return a.Og()}):!1}; | |
Bj=function(a){var b=g.Xa(a.o);(0,g.B)(b,function(b){b.ph(a.g)})}; | |
wj=function(a){var b=g.Xa(a.o);(0,g.B)(b,function(b){b.ri(a.l)}); | |
a.l!=a||Bj(a)}; | |
Cj=function(a,b){var c;if(!(c=a.J)){c=a.g;var d=a.B;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.A==b.A&&Zg(c.g,b.g)&&g.jd(c.o,b.o)&&g.jd(c.l,b.l))}a.g=b;c&&Bj(a)}; | |
Dj=function(a,b,c,d){this.element=a;this.A=this.g=b;this.ib=c;this.F=d;this.D=!1;this.l=new qj(b.g,this.element,new g.Yg(0,0,0,0),null,this.yl(),0,0,vi(),0)}; | |
Ej=function(a){this.B=!1;this.g=a}; | |
Fj=function(a,b,c){this.l=void 0===c?0:c;this.xc=a;this.g=null==b?"":b}; | |
cca=function(a,b){return new Fj(a.xc,a.g,a.l+b)}; | |
Gj=function(a,b){return a.l<b.l?!0:a.l>b.l?!1:a.xc<b.xc?!0:a.xc>b.xc?!1:typeof a.g<typeof b.g?!0:typeof a.g>typeof b.g?!1:a.g<b.g}; | |
Hj=function(){this.o=0;this.g=[];this.l=!1}; | |
dca=function(a){var b=new Hj;var c=void 0===c?0:c;var d=void 0===d?!0:d;Yh(a,function(a,f){d&&void 0===a||b.add(f,a,c)}); | |
return b}; | |
eca=function(a){a.l&&(g.gb(a.g,function(a,c){return Gj(c,a)?1:Gj(a,c)?-1:0}),a.l=!1); | |
return Ij(a.g,function(a,c){var b="boolean"===typeof c.g;b=""+(b&&!c.g?"":c.xc)+(b||""===c.g?"":"="+c.g);return""+a+(""!=a&&""!=b?"&":"")+b},"")}; | |
fca=function(a){Yh(a,function(b,c){b instanceof Array&&(a[c]=b.join(","))}); | |
return a}; | |
gca=function(a){var b=[],c=[];g.Kb(a,function(a,e){if(!(e in Object.prototype)&&"undefined"!=typeof a){g.Aa(a)&&(a=a.join(","));var d=[e,"=",a].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "iem":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}}}); | |
return b.concat(c)}; | |
Lj=function(a){Jj.e=-1;Jj.i=6;Jj.n=7;Jj.t=8;if(!Kj){var b=[];Yh(Jj,function(a,c){b[a+1]=c}); | |
var c=b.join(""),d=a&&a[c];Kj=d&&function(b,c){return d.call(a,b,c)}}return Kj}; | |
Mj=function(){this.l=this.o=this.A=this.g=0}; | |
Nj=function(a){this.l=a=void 0===a?hca:a;this.g=(0,g.G)(this.l,function(){return new Mj})}; | |
Pj=function(a,b){return Oj(a,function(a){return a.g},void 0===b?!0:b)}; | |
Rj=function(a,b){return Qj(a,b,function(a){return a.g})}; | |
Sj=function(a){return Oj(a,function(a){return a.o},!0)}; | |
Tj=function(a,b){return Qj(a,b,function(a){return a.o})}; | |
Uj=function(a,b){return Qj(a,b,function(a){return a.l})}; | |
Vj=function(a){(0,g.B)(a.g,function(a){a.l=0})}; | |
Oj=function(a,b,c){a=(0,g.G)(a.g,function(a){return b(a)}); | |
return c?a:ica(a)}; | |
Qj=function(a,b,c){var d=g.Ma(a.l,function(a){return b<=a}); | |
return-1==d?0:c(a.g[d])}; | |
ica=function(a){return(0,g.G)(a,function(a,c,d){return 0<c?d[c]-d[c-1]:d[c]})}; | |
Wj=function(){this.g=new Nj;this.X=new Mj;this.K=this.D=-1;this.ca=1E3;this.ea=new Nj([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0])}; | |
Xj=function(a,b,c,d){Dj.call(this,a,b,c,d);this.o=new g.Yg(0,0,0,0)}; | |
Yj=function(a,b,c,d){return 0>=a.Cb()||0>=a.getHeight()?!0:c&&d?cj(208,function(){return jca(a,b,c)}):!1}; | |
Zj=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new g.Yg(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.Yg(0,0,0,0)}; | |
bk=function(a,b){var c=ak(a),d=ak(b);return 0===d?0:c/d}; | |
ak=function(a){return Math.max(a.getHeight()*a.Cb(),0)}; | |
jca=function(a,b,c){if(!a||!b)return!1;b=$g(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=ji();Xh(d.top)&&d.top&&d.top.document&&(d=d.top);d=Lj(d&&d.document);if(!d)return!1;a=d(a,b);if(!a)return!1;b=(b=(b=g.ld(c))&&b.defaultView&&b.defaultView.frameElement)&&kca(b,a);d=a===c;a=!d&&a&&g.Xd(a,function(a){return a===c}); | |
return!(b||d||a)}; | |
kca=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.Od(a)||a){var d=g.ld(a),e=d&&Ad(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1}; | |
ek=function(a,b,c){this.position=ck.clone();this.Pf=0;this.St=this.vo();this.Pt=-2;this.hW=(0,g.F)();this.ZE=-1;this.bk=b;this.xj=-1!=b;this.Rm=this.sC=null;this.opacity=-1;this.YD=c;this.jF=this.Tt=g.y;this.hi=this.element=a;this.qF=this.uh=!1;this.Xr=1;this.JE=!0;this.Gg=!1;gj.getInstance().M++;this.domain=null;this.DA=0;this.Fc=this.ts();this.XE=-1;this.Ss=0;this.Iq=new g.Yg(0,0,0,0);a=this.ib=new ri;si(a,"od",lca);pi(si(a,"opac",rj));si(a,"ud",rj);pi(si(a,"mkm",rj));pi(si(a,"xza",rj));pi(si(a, | |
"mza",rj));si(a,"lom",rj);pi(si(a,"sela",rj));pi(si(a,"ujs",rj));pi(si(a,"sbeos",rj));a=ji().mraid;if(b=this.element&&this.element.getAttribute)b=this.element,b=/-[a-z]/.test("googleAvInapp")?!1:g.dk&&b.dataset?"googleAvInapp"in b.dataset:b.hasAttribute?b.hasAttribute("data-"+g.Gb("googleAvInapp")):!!b.getAttribute("data-"+g.Gb("googleAvInapp"));(b||a)&&ti(gj.getInstance().ib,"inapp",1);1==this.YD?ti(this.ib,"od",1):ti(this.ib,"od",0)}; | |
nca=function(a,b,c){if(a.xj){var d=Lj(ei&&ei.document);d&&(c||fk(a,ei,!0),d=mca(a,d),a.ej(a.position,d,b,c,!0,!0))}}; | |
gk=function(a,b,c){a.Fc.g=g.cd(b,0,1);a.DA=a.Fc.g;a.Fc.l=g.cd(c,0,1)}; | |
hk=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}}; | |
mca=function(a,b){var c=g.yd(window.document),d=a.Xr,e=Math.floor(a.position.left-c.x)+1,f=Math.floor(a.position.top-c.y)+1,k=Math.floor(a.position.right-c.x)-d,l=Math.floor(a.position.bottom-c.y)-d;c=(l-f)*(k-e);if(f>l||e>k)return 0;d=!!b(e,f);var m=!!b(k,l);if(d&&m)return 1;var n=!!b(k,f),p=!!b(e,l);if(d)l=hk(f,l,function(a){return!!b(e,a)}),k=hk(e,k,function(a){return!!b(a,f)}); | |
else if(n)l=hk(f,l,function(a){return!!b(k,a)}),e=hk(k,e,function(a){return!!b(a,f)}); | |
else if(p)f=hk(l,f,function(a){return!!b(e,a)}),k=hk(e,k,function(a){return!!b(a,l)}); | |
else if(m)f=hk(l,f,function(a){return!!b(k,a)}),e=hk(k,e,function(a){return!!b(a,l)}); | |
else{var r=Math.floor((e+k)/2),v=Math.floor((f+l)/2);if(!b(r,v))return 0;f=hk(v,f,function(a){return!!b(r,a)}); | |
l=hk(v,l,function(a){return!!b(r,a)}); | |
e=hk(r,e,function(a){return!!b(a,v)}); | |
k=hk(r,k,function(a){return!!b(a,v)})}return(l-f)*(k-e)/c}; | |
oca=function(a,b,c,d,e){a.xj&&(d||fk(a,ei,e),a.ej(a.position,c,b,d,!1,!0))}; | |
ik=function(a,b,c){if(a.xj){var d=a.Fc.l,e=c?a.Fc.g:a.DA;a.Iq&&!Zg(a.Iq,new g.Yg(0,0,0,0))&&(e=$g(a.Iq.clone(),a.position.left,a.position.top));a.ej(a.position,e,b,c,!0,!0,{},void 0,d)}}; | |
pca=function(a,b){var c=b.create(a.hi,a.ib,a);null!=c&&c.XA();c&&(a.yb=c)}; | |
qca=function(a,b,c){if(a.xj&&a.yb){var d=ji(),e=gj.getInstance();fk(a,d,e.g);a.yb.fl();d=a.yb.l;e=d.C.g;var f=!(!d.B&&!e);if(null!=d.A&&e){var k=d.g;a.sC=new g.gd(k.left-e.left,k.top-e.top);a.Rm=new g.I(e.right-e.left,e.bottom-e.top)}a.ej(a.position,d.l,b,c,!0,f,void 0,void 0,d.o)}}; | |
fk=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=ck.clone(),f=new g.gd(0,0);if(a.hi){var k=1==a.YD;!c&&k&&Nba(a.hi)||(e=a.hi.getBoundingClientRect());f=g.Eh(a.hi,b)}c=f;var l=c.x,m=c.y;a.position=new g.Yg(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))}catch(n){a.position=ck.clone()}}a.Pf=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)}; | |
jk=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c}; | |
rca=function(a){a.yb&&a.yb.Yt()}; | |
tca=function(a,b){var c=!1,d=a.hi;if(null===d)return!1;cj(152,function(){var e=new b.IntersectionObserver(function(c){try{kk(b,c,a)}catch(k){try{e.unobserve(d),ej("osd_adblock::nioc",k)}catch(l){}}},sca); | |
e.observe(d);c=!0}); | |
return c}; | |
uca=function(a,b){var c=!1;cj(151,function(){var d=di(b).observeIntersection(function(c){try{kk(b,c,a)}catch(f){try{d(),ej("osd_adblock::aioc",f)}catch(k){}}}); | |
c=!0}); | |
return c}; | |
kk=function(a,b,c){if(!b||!b.length||0>=b.length)b=null;else{for(var d=b[0],e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e]);b=d}if(e=b){d=e.intersectionRect.width*e.intersectionRect.height/(e.boundingClientRect.width*e.boundingClientRect.height);b=mj(e.boundingClientRect);e=mj(e.intersectionRect);var f=d*ak(b)/(a.screen.height*a.screen.width);gk(c,d,f);fk(c,a,!0,b);a=Zj(b,e);c.Iq=0>=c.Pf||a.top>=a.bottom||a.left>=a.right?new g.Yg(0,0,0,0):$g(a,-b.left,-b.top)}}; | |
lk=function(a,b,c,d){if(d=void 0===d?g.y:d)a.jF=d;switch(c){case "nio":return tca(a,b);case "aio":return uca(a,b);case "geo":case "iem":return!0}return!1}; | |
mk=function(){}; | |
ok=function(a){if(a instanceof mk)return a;if("function"==typeof a.Vd)return a.Vd(!1);if(g.Ba(a)){var b=0,c=new mk;c.next=function(){for(;;){if(b>=a.length)throw nk;if(b in a)return a[b++];b++}}; | |
return c}throw Error("Not implemented");}; | |
g.pk=function(a,b,c){if(g.Ba(a))try{(0,g.B)(a,b,c)}catch(d){if(d!==nk)throw d;}else{a=ok(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==nk)throw d;}}}; | |
vca=function(a){if(g.Ba(a))return g.Xa(a);a=ok(a);var b=[];g.pk(a,function(a){b.push(a)}); | |
return b}; | |
qk=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Xh(a)&&(c=a,b=d);return{Qc:c,level:b}}; | |
wca=function(){this.S={}}; | |
rk=function(){this.A=this.g=this.o=this.l=this.B=0}; | |
xca=function(a){var b={};var c=(0,g.F)()-a.B;b=(b.ptlt=c,b);(c=a.l)&&(b.pnk=c);(c=a.o)&&(b.pnc=c);(c=a.A)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b}; | |
sk=function(){ni.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.B=-1}; | |
tk=function(a){return nj(a.volume)&&.1<=a.volume}; | |
uk=function(){var a={};this.l=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.cm=[128,128],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.g={};for(var b in this.l)0<this.l[b][1]&&(this.g[b]=0);this.o=0}; | |
yca=function(a){return vk(a,g.Rb(a.l))}; | |
vk=function(a,b){var c=0,d;for(d in a.g)g.Pa(b,d)&&1==a.g[d]&&(c+=a.l[d][1],a.g[d]=2);return c}; | |
zca=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.l[c][1]}return b}; | |
wk=function(){this.g=this.l=0}; | |
xk=function(){Wj.call(this);this.l=new Mj;this.T=this.H=this.J=0;this.F=-1;this.fa=new Mj;this.B=new Mj;this.o=new Nj;this.C=this.A=-1;this.I=new Mj;this.ca=2E3;this.M=new wk;this.Y=new wk;this.Z=new wk}; | |
yk=function(a,b,c){var d=a.T;xi||c||-1==a.F||(d+=b-a.F);return d}; | |
Aca=function(){this.g=!1}; | |
zk=function(a,b){this.g=!1;this.A=a;this.D=b;this.l=0}; | |
Bk=function(a,b){if(a.o(b)){var c=Ak(a.D,a.A,b);a.l|=c;return 0==c}return!1}; | |
Ck=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;ek.call(this,b,c,d);this.Y=0;this.A={};this.Jc=new uk;this.UA={};this.yd="";this.Jh=null;this.tb=!1;this.o=[];this.Vl=e;this.D=f;this.B=void 0;this.C=-1;this.ra=this.I=void 0;this.ca=!1;this.J=this.K=0;this.X=-1;this.ha=this.Hb=!1;this.Pk=this.sb=0;this.ab=!1;this.Na=this.Sa=-1;this.T=this.F=this.g=0;this.vb=this.fa=-1;this.Wa=0;this.La=new Nj;this.Z=this.sa=this.ea=0;this.Da=-1;this.ya=0;this.H=!1;this.ga=null;this.Gc=0;this.Ga=!1;this.na= | |
g.y;this.M=[this.vo()];this.qF=!0;this.Xr=2;b=gj.getInstance();fk(this,a,b.g);this.fj={};this.fj.pause="p";this.fj.resume="r";this.fj.skip="s";this.fj.mute="m";this.fj.unmute="um";this.fj.exitfullscreen="ef";this.l=null}; | |
Bca=function(a,b,c){a.Gc=1;a.A={};a.A.firstquartile=!1;a.A.midpoint=!1;a.A.thirdquartile=!1;a.A.complete=!1;a.A.pause=!1;a.A.skip=!1;a.A.viewable_impression=!1;a.Y=0;c||(a.Md().F=b)}; | |
Dk=function(a){return g.t(a)?Number(a)?jk(a,3):0:a}; | |
Ek=function(a,b){var c;null!=b&&b<a.M.length?c=b:c=a.M.length-1;return a.M[c]}; | |
Fk=function(a){var b=!!ui(gj.getInstance().ib,"umt");return a.I||!b&&!a.ra?0:1}; | |
Cca=function(a,b){(0,g.Aj)(a.D,function(a){return a.A==b.A})||a.D.push(b)}; | |
Hk=function(a,b,c){return 15E3<=b?!0:a.Hb?(void 0===c?0:c)?!0:Gk(a.C)?b>=a.C/2:Gk(a.X)?b>=a.X:!1:!1}; | |
Gk=function(a){return 1==ui(gj.getInstance().ib,"gmpd")?0<a:-1!=a}; | |
Dca=function(a){var b={},c=gj.getInstance();b.insideIframe=c.g;b.unmeasurable=a.uh;b.position=a.position;b.exposure=a.Fc.g;b.documentSize=c.A;b.viewportSize=c.o;null!=a.l&&(b.presenceData=a.l);b.screenShare=a.Fc.l;return b}; | |
Jk=function(a,b){Ik(a.o,b,function(){return{FW:0,No:void 0}}); | |
a.o[b]={viewableArea:jk(a.Fc.g,2),instantaneousState:a.Jc.o}}; | |
Ik=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++}; | |
Mk=function(a,b,c){var d=a.UA[b];if(null!=d)return d;d=Eca(a,b);var e=Vb(Kk,function(a){return a==b}); | |
c=Lk(a,d,d,c,Fca[Kk[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=vk(a.Jc,["gdr"]));return c}; | |
Lk=function(a,b,c,d,e){if(a.uh)return{"if":0};var f=a.position.clone();f.round();var k=(0,g.G)(a.o,function(a){return 100*a.FW|0}),l=gj.getInstance(),m=a.Md(),n={}; | |
n["if"]=l.g?1:void 0;n.sdk=a.B?a.B:void 0;n.t=a.hW;n.p=[f.top,f.left,f.bottom,f.right];n.tos=Pj(m.g,!1);n.mtos=Sj(m.g);n.mcvt=m.X.o;n.ps=void 0;n.pt=k;f=yk(m,vi(),2==a.Gc);n.vht=f;n.mut=m.fa.o;n.a=Dk(a.Fc.volume);n.mv=Dk(m.C);n.fs=a.Gg?1:0;n.ft=m.I.g;n.at=m.B.g;n.as=.1<=m.A?1:0;n.atos=Pj(m.o);n.ssb=Pj(m.ea,!1);n.amtos=Sj(m.o);n.uac=a.sb;n.vpt=m.l.g;"nio"==l.yb&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=Hk(a,m.l.g,!0)?1:0;a.qF&&(n.efpf=a.Xr);0<a.ya&&(n.nnut=a.ya);n.tcm=Fk(a);n.nmt=a.sa;n.bt=a.Z;n.pst= | |
a.Da;n.vpaid=a.I;n.dur=a.C;n.vmtime=a.K;n.is=a.Jc.o;1<=a.o.length&&(n.i0=a.o[0].No);2<=a.o.length&&(n.i1=a.o[1].No);3<=a.o.length&&(n.i2=a.o[2].No);4<=a.o.length&&(n.i3=a.o[3].No);n.cs=zca(a.Jc);b&&(n.ic=yca(a.Jc),n.dvpt=m.l.l,n.dvs=Uj(m.g,.5),n.dfvs=Uj(m.g,1),n.davs=Uj(m.o,.5),n.dafvs=Uj(m.o,1),c&&(m.l.l=0,Vj(m.g),Vj(m.o)),a.Bi()&&(n.dtos=m.J,n.dav=m.H,n.dtoss=a.Y+1,c&&(m.J=0,m.H=0,a.Y++)),n.dat=m.B.l,n.dft=m.I.l,c&&(m.B.l=0,m.I.l=0));l.A&&(n.ps=[l.A.width,l.A.height]);l.o&&(n.bs=[l.o.width,l.o.height]); | |
l.D&&(n.scs=[l.D.width,l.D.height]);n.dom=l.domain;a.Pk&&(n.vds=a.Pk);if(0<a.D.length||a.Vl)b=g.Xa(a.D),a.Vl&&b.push(a.Vl),n.pings=(0,g.G)(b,function(a){return a.toString()}); | |
b=(0,g.G)((0,g.Kd)(a.D,function(a){return a.B()}),function(a){return a.getId()}); | |
ab(b);n.ces=b;a.g&&(n.vmer=a.g);a.F&&(n.vmmk=a.F);a.T&&(n.vmiec=a.T);n.avms=a.yb?a.yb.Ah():gj.getInstance().yb;a.yb&&g.ec(n,a.yb.Ag());"exc"==l.yb&&(n.femt=a.fa,n.femvt=a.vb,n.emc=a.Wa,n.emb=Pj(a.La,!1),n.emuc=a.ea,n.avms="exc");d?(n.c=jk(a.Fc.g,2),n.ss=jk(a.Fc.l,2)):n.tth=vi()-Nk;n.mc=jk(m.K,2);n.nc=jk(m.D,2);n.mv=Dk(m.C);n.nv=Dk(m.A);n.lte=jk(a.Pt,2);d=Ek(a,e);Sj(m.g);n.qmtos=Sj(d.g);n.qnc=jk(d.D,2);n.qmv=Dk(d.C);n.qnv=Dk(d.A);n.qas=.1<=d.A?1:0;n.qi=a.yd;null!==a.ga&&(n.nvat=a.ga?1:0);n.avms||(n.avms= | |
"geo");n.psm=m.M.g;n.psv=m.M.getValue();n.psfv=m.Y.getValue();n.psa=m.Z.getValue();l=Eba(l.ib);l.length&&(n.veid=l);a.l&&g.ec(n,xca(a.l));return n}; | |
Eca=function(a,b){if(g.Pa(Gca,b))return!0;var c=a.A[b];return g.t(c)?(a.A[b]=!0,!c):!1}; | |
Ica=function(){this.g={};var a=Ad();Ok(this,a,window.document);var b=Hca();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)Ok(this,c,c.document);Ok(this,a.top,a.top.document)}}catch(d){}}; | |
Hca=function(){var a=window.document.documentElement;try{if(!Xh(Ad().top))return"2";var b=[],c=Ad(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"}}; | |
Ok=function(a,b,c){fj(c,"mousedown",function(){return Jca(a)},301); | |
fj(b,"scroll",function(){return Kca(a)},302); | |
fj(c,"touchmove",function(){return Lca(a)},303); | |
fj(c,"mousemove",function(){return Mca(a)},304); | |
fj(c,"keydown",function(){return Nca(a)},305)}; | |
Jca=function(a){g.Kb(a.g,function(a){1E5<a.o||++a.o})}; | |
Kca=function(a){g.Kb(a.g,function(a){1E5<a.g||++a.g})}; | |
Lca=function(a){g.Kb(a.g,function(a){1E5<a.g||++a.g})}; | |
Nca=function(a){g.Kb(a.g,function(a){1E5<a.l||++a.l})}; | |
Mca=function(a){g.Kb(a.g,function(a){1E5<a.A||++a.A})}; | |
Pk=function(){this.g=this.l=null}; | |
Oca=function(a,b){function c(c,e){a.g=null;b(c,e)} | |
if(null==a.l)return!1;a.g=g.La(a.l,function(a){return null!=a&&a.aj()&&a.init(c)}); | |
return null!=a.g}; | |
Qk=function(a,b,c,d){Dj.call(this,a,b,c,d);this.C=this.B=this.o=null}; | |
Qca=function(a){if(!a.element)return!1;var b=a.element;a.o=new a.g.Qc.IntersectionObserver(function(b){return Rk(a,b)},Pca); | |
a.o.observe(b);2===ui(gj.getInstance().ib,"nio_mode")&&Rk(a,a.o&&a.o.takeRecords?a.o.takeRecords():[]);return!0}; | |
Rk=function(a,b){try{if(b.length){a.B||(a.B=vi());var c=Rca(b),d=mj(c.boundingClientRect),e=$g(mj(c.intersectionRect),-d.left,-d.top),f=vi(),k=c.boundingClientRect.width*c.boundingClientRect.height,l=c.intersectionRect.width*c.intersectionRect.height;var m=k?l/k:0;k=0;var n=c.intersectionRect.width*c.intersectionRect.height,p=a.g.g.g;p&&(k=(p.bottom-p.top)*(p.right-p.left));var r=c.intersectionRect.width*c.intersectionRect.height,v=window.screen.height*window.screen.width;a.l=new qj(a.g.g,a.element, | |
d,e,a.yl(),m,k?n/k:0,f,r&&v?r/v:0)}}catch(D){a.Yt(),ej(299,D)}}; | |
Rca=function(a){return Ij(a,function(a,c){return a.time>c.time?a:c},a[0])}; | |
Sk=function(a){a=void 0===a?ei:a;Ej.call(this,new vj(a,2))}; | |
g.Tk=function(a,b,c){g.M.call(this);this.o=null!=c?(0,g.z)(a,c):a;this.rd=b;this.l=(0,g.z)(this.QJ,this);this.g=[]}; | |
Uk=function(a){a.Ca=g.sg(a.l,a.rd);a.o.apply(null,a.g)}; | |
Vk=function(){this.g=this.l=null}; | |
Wk=function(){this.g=[];this.l=[];this.done=!1;this.o={S4:0,II:0,gE:0,pJ:0,HL:-1};this.H=this.B=this.D=this.C=this.F=null;this.J=!1;this.K=null;this.I=tj()||uj();this.A=new sj(this)}; | |
Xk=function(){var a=gj.getInstance().yb;return"nio"==a||"aio"==a}; | |
Zk=function(){var a=Yk;if(!a.J){a.J=!0;if(!a.F&&!Xk()){var b=dj(137,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];return a.Iz.apply(a,g.pa(c))}); | |
a.C=new g.Tk(b,100);a.F=fj(ei,"scroll",function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];null!==a.C&&a.C.Kj.apply(a.C,g.pa(c))},138)}a.D||Xk()||(b=dj(140,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e]; | |
return a.hM.apply(a,g.pa(c))}),a.B=new g.Tk(b,100),a.D=fj(ei,"resize",function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e]; | |
null!==a.B&&a.B.Kj.apply(a.B,g.pa(c))},141)); | |
Sca(a,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];return a.Oz.apply(a,g.pa(c))}); | |
a.Oz()}}; | |
Tca=function(a){var b=gj.getInstance();b.l||"exc"==b.yb||$k(a,!0);var c=new Vk;switch(b.yb){case "geo":a:{b=b.o;c=new Vk;c.l=b;if(null!=b&&-12245933!=b.width&&-12245933!=b.height){var d=gj.getInstance();if(d.l)var e=d.B;else try{d=ei;var f=a.I;d=d.top;var k=b||mi(!0,d,void 0===f?!1:f),l=g.yd(g.nd(d.document).g);if(-12245933==k.width){var m=k.width;var n=new g.Yg(m,m,m,m)}else n=new g.Yg(l.y,l.x+k.width,l.y+k.height,l.x);e=n}catch(p){a=c;break a}c.g=e}a=c}return a;default:return c}}; | |
al=function(a,b,c,d){if(!a.done&&(a.A.cancel(),0!=b.length)){a.K=null;var e=Tca(a);try{var f=vi(),k=gj.getInstance();k.J=f;if(null!=Pk.getInstance().g)for(d=0;d<b.length;d++)qca(b[d],f,c);else switch(k.yb){case "exc":for(d=0;d<b.length;d++)ik(b[d],f,c);break;case "nis":for(e=0;e<b.length;e++)g.t(d)?b[e].Bq(d):b[e].NA(f);break;case "gsv":for(e=0;e<b.length;e++)g.t(d)?b[e].Hz(d):b[e].MA(f);break;case "aio":case "nio":for(d=0;d<b.length;d++)ik(b[d],f,c);break;case "iem":for(d=0;d<b.length;d++)nca(b[d], | |
f,c);break;case "geo":if(e.g)for(d=0;d<b.length;d++)oca(b[d],f,e.g,c,k.g)}for(d=0;d<b.length;d++);a.o.gE+=vi()-f;++a.o.pJ}finally{c?(0,g.B)(b,function(a){a.Fc.g=0}):a.A.schedule()}}}; | |
Sca=function(a,b){var c;ii.visibilityState?c="visibilitychange":ii.mozVisibilityState?c="mozvisibilitychange":ii.webkitVisibilityState&&(c="webkitvisibilitychange");c&&(a.H=a.H||fj(ii,c,b,142))}; | |
bl=function(a){if(Uca(a))return!0;var b=jj();a=1===b;b=0===b;return gj.getInstance(),a||b}; | |
Vca=function(a,b){return null!=b&&(0,g.Aj)(a.g,function(a){return a.element==b})}; | |
cl=function(a){return g.La(Yk.g,function(b){return b.yd==a})}; | |
dl=function(a){return 0==a.g.length?a.l:0==a.l.length?a.g:g.Wa(a.l,a.g)}; | |
$k=function(a,b){var c=a.I,d=gj.getInstance(),e,f=Pk.getInstance();null!=f.g&&(e=f.g.g);d.o=e?e.g.l:d.l?d.B?(new g.I(d.B.Cb(),d.B.getHeight())).round():new g.I(0,0):mi(!0,ei,c);b||(d.K=ei&&ei.outerWidth?new g.I(ei.outerWidth,ei.outerHeight):new g.I(-12245933,-12245933),d.A=oj(d.o))}; | |
Wca=function(){var a=gj.getInstance();ei.screen&&(a.D=new g.I(ei.screen.width,ei.screen.height))}; | |
Xca=function(a,b){var c=void 0===c?g.y:c;var d=!1;(0,g.B)(b,function(b){lk(b,a,"nio",c)&&(d=!0)}); | |
return d}; | |
Yca=function(a){var b=Yk,c=[];(0,g.B)(a,function(a){Vca(b,a.element)||(b.g.push(a),c.push(a))})}; | |
Zca=function(a){var b=Yk,c=[];(0,g.B)(a,function(a){null==g.La(b.g,function(b){return b.element==a.element&&!0})&&(b.g.push(a),c.push(a))})}; | |
Uca=function(a){return(0,g.Aj)(dl(a),function(a){return a.Gg})}; | |
$ca=function(){var a=g.Ib;return a?(0,g.Aj)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return vb(a,b)})?!0:vb(a,"Presto")&&vb(a,"Linux")&&!vb(a,"X11")&&!vb(a,"Android")&&!vb(a,"Mobi"):!1}; | |
el=function(){return vb(g.Ib,"CrKey")||vb(g.Ib,"PlayStation")||vb(g.Ib,"Roku")||$ca()||vb(g.Ib,"Xbox")}; | |
ada=function(a){if(!a)return"";var b=[];if(!a.location.href)return"";b.push("url="+(0,window.encodeURIComponent)(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+(0,window.encodeURIComponent)(a.document.referrer.substring(0,512)));return b.join("&")}; | |
fl=function(a){return function(b){return!g.t(b[a])&&g.t(0)?0:b[a]}}; | |
hl=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.Aa(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.t(a)?gl(c,a):c}}}; | |
il=function(a,b){return function(c){c=c[a];if(g.Aa(c))return gl(c,b)}}; | |
jl=function(a){var b=bda;return function(c){return b(c)?c[a]:void 0}}; | |
gl=function(a,b){return(0,g.Kd)(a,function(a,d){return g.Pa(b,d)})}; | |
ml=function(a,b){var c={sv:"654",cb:"j"};c.nas=Yk.g.length;c.msg=a;if(g.t(b)){var d=kl(b);d&&(c.e=ll[d])}return c}; | |
nl=function(a){return g.lb(a,"custom_metric_viewable")}; | |
kl=function(a){var b=nl(a)?"custom_metric_viewable":a.toLowerCase();return Vb(Kk,function(a){return a==b})}; | |
ol=function(a,b){zk.call(this,a,b)}; | |
cda=function(){this.l=this.A=this.C=this.B=this.o=this.g=""}; | |
dda=function(){}; | |
pl=function(a,b,c,d,e){var f={};if(g.t(a))if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.Ca(l)?f[k]=l(a):f[k]=a[l])}else g.ec(f,a);g.t(c)&&g.ec(f,c);a=eca(dca(fca(f)));0<a.length&&g.t(d)&&g.t(e)&&(e=e(a),a+="&"+d+"="+e);return a}; | |
ql=function(){}; | |
rl=function(a){a=eda(a);Ej.call(this,a.length?a[a.length-1]:new vj(window,0));this.o=a;this.A=g.y;this.l=null}; | |
eda=function(a){if(!a.length)return[];a=(0,g.Kd)(a,function(a){return null!=a&&a.aj()}); | |
for(var b=1;b<a.length;b++)yj(a[b-1],a[b]);return a}; | |
sl=function(){vj.call(this,ei,1,"osd");this.ca=[];this.Y=this.I=this.D=0;this.J=!0}; | |
tl=function(a){var b=0;a=a.Qc;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}; | |
ul=function(a){a.Qc.clearInterval(a.I);a.I=0}; | |
vl=function(a,b){var c=tl(a),d=!c;d&&(c=a.Qc.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.Qc.postMessage(b,"*")}catch(e){}}; | |
fda=function(a,b){(0,g.B)(a.ca,function(a){a(b)})}; | |
wl=function(){this.A=this.I=!1;this.l=null;this.o=new ql;this.g=null;var a={};this.H=(a.start=this.FK,a.firstquartile=this.AK,a.midpoint=this.CK,a.thirdquartile=this.GK,a.complete=this.yK,a.pause=this.jv,a.resume=this.cE,a.skip=this.EK,a.viewable_impression=this.mh,a.mute=this.Nk,a.unmute=this.Nk,a.fullscreen=this.BK,a.exitfullscreen=this.zK,a.fully_viewable_audible_half_duration_impression=this.mh,a.measurable_impression=this.mh,a.abandon=this.jv,a.engagedview=this.mh,a.impression=this.mh,a.creativeview= | |
this.mh,a.progress=this.Nk,a.custom_metric_viewable=this.mh,a.bufferstart=this.jv,a.bufferfinish=this.cE,a);a={};this.J=(a.overlay_resize=this.DK,a.abandon=this.Ns,a.close=this.Ns,a.collapse=this.Ns,a.overlay_unmeasurable_impression=function(a){return Mk(a,"overlay_unmeasurable_impression",bl(Yk))},a.overlay_viewable_immediate_impression=function(a){return Mk(a,"overlay_viewable_immediate_impression",bl(Yk))},a.overlay_unviewable_impression=function(a){return Mk(a,"overlay_unviewable_impression", | |
bl(Yk))},a.overlay_viewable_end_of_session_impression=function(a){return Mk(a,"overlay_viewable_end_of_session_impression",bl(Yk))},a); | |
gj.getInstance().I=3;gda(this)}; | |
xl=function(a,b,c,d){b=a.Tp(null,d,!0,b);b.B=c;b.Tt=function(b){a.Ls(b)}; | |
Yca([b]);return b}; | |
hda=function(){var a=[],b=gj.getInstance();ui(b.ib,"osd")&&b.g&&b.l&&"exc"!=b.yb&&(gj.getInstance().l=!1,a.push(sl.getInstance()));return[new Sk(ei),new rl(a)]}; | |
ida=function(a){if(!a.I){a.I=!0;try{var b=vi(),c=gj.getInstance();wi=b;yl=qk(ei).Qc;$k(Yk,!1);Wca();if("nis"!=c.yb&&"gsv"!=c.yb)if(ei.document.body&&ei.document.body.getBoundingClientRect){Yk.o.II=0;Yk.o.HL=vi()-b;var d=hda(),e=Pk.getInstance();e.l=d;if(Oca(e,function(){c.l=!1;Cl()}))Yk.done||(Zk(),yj(e.g.g,a)); | |
else if(c.g&&"exc"!=c.yb){var f=!!ui(c.ib,"osd");if(c.l&&!f){var k=sl.getInstance();k.initialize();yj(k,a)}else Cl()}else Zk()}else Dl=!0}catch(l){throw Yk.reset(),l;}}}; | |
El=function(a){var b=gj.getInstance();if(null==a.l)switch(b.yb){case "nis":a.l="n";break;case "gsv":a.l="m";break;default:a.l="h"}return a.l}; | |
Fl=function(a,b,c){if(null==a.g)return b.Pk|=4,!1;a=Ak(a.g,c,b);b.Pk|=a;return 0==a}; | |
Cl=function(){a:{var a=Yk;if(void 0===b){var b=gj.getInstance().ib;var c=[];0===(ui(b,"nio_mode")||0)&&c.push(a.kW);c.push(a.jW);b=c}b=g.ma(b);for(c=b.next();!c.done;c=b.next())if(c.value.call(a,ei)){a=!0;break a}a=!1}a?Zk():(Yk.A.cancel(),Gl="i",Yk.done=!0)}; | |
Hl=function(a,b,c){if(!b.tb){var d=Mk(b,"start",bl(Yk));a=a.o.g(d).g;d=yl||ei;var e=[];e.push("v=654v");e.push("r="+c);e.push(a);e.push(ada(d));c=("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&")).toString();c=c.substring(0,4E3);a=ji()||ei;ci(a,c);b.tb=!0}}; | |
Il=function(a,b,c,d){al(Yk,[a],!bl(Yk),d);Jk(a,c);4!=c&&Ik(a.M,c,a.vo);return Mk(a,b,bl(Yk))}; | |
jda=function(a,b,c){if(0==b.Gc){"i"!=Gl&&(Yk.done=!1);var d=Pk.getInstance();null!=d.g&&pca(b,d.g);lk(b,ei,gj.getInstance().yb,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.xK.apply(a,g.pa(c))}); | |
d=g.t(c)?c.opt_nativeTime:void 0;zi=d=g.ua(d)?d:vi();b.xj=!0;var e=bl(Yk);Bca(b,d,e);al(Yk,[b],!e,c)}}; | |
gda=function(a){Kba([function(b){var c=Jl();null!=a.l&&(c.sdk=a.l);c.avms=gj.getInstance().yb;g.ec(b,c)}])}; | |
kda=function(a,b){if(g.u(b)){if(1==a)var c=Yk.g;else if(2==a)c=Yk.l;else return;var d=g.Ka(c,function(c){return c.lf()!=a?!1:c.yd==b}); | |
0<=d&&(rca(c[d]),g.Ta(c,d))}}; | |
mda=function(a,b,c,d){var e=g.La(Yk.g,function(a){return a.element==c}); | |
null!==e&&e.yd!=b&&(a.Un(e),e=null);e||(e=lda(a,c,b),e.B=El(a),d&&(e.Jh=d));return e}; | |
lda=function(a,b,c){b=a.Tp(b,vi(),!1,c);b.Tt=(0,g.z)(a.Ls,a);0==Yk.l.length&&(gj.getInstance().H=79463069);Zca([b]);Zk();return b}; | |
nda=function(a,b){b.F=0;for(var c in Kl)null==a[c]&&(b.F|=Kl[c]);Ll(a,"currentTime");Ll(a,"duration")}; | |
Ll=function(a,b){var c=a[b];g.t(c)&&0<c&&(a[b]=Math.floor(1E3*c))}; | |
Jl=function(){var a=gj.getInstance(),b={};return b.sv="654",b["if"]=a.g?"1":"0",b.nas=String(Yk.g.length),b}; | |
oda=function(){this.g=void 0;this.l=!1;this.o=0;this.A=-1;this.B="tos"}; | |
qda=function(a){try{var b=a.split(",");return b.length>g.Rb(pda).length?null:Ij(b,function(a,b){var c=b.toLowerCase().split("=");if(2!=c.length||!g.t(Ml[c[0]])||!Ml[c[0]](c[1]))throw Error("Entry ("+c[0]+", "+c[1]+") is invalid.");a[c[0]]=c[1];return a},{})}catch(c){return null}}; | |
rda=function(a,b){if(void 0==a.g)return 0;switch(a.B){case "mtos":return a.l?Tj(b.o,a.g):Tj(b.g,a.g);case "tos":return a.l?Rj(b.o,a.g):Rj(b.g,a.g)}return 0}; | |
Nl=function(a,b,c,d){zk.call(this,b,d);this.Fa=a;this.C=c}; | |
Ol=function(a){zk.call(this,"fully_viewable_audible_half_duration_impression",a)}; | |
Pl=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1}; | |
Rl=function(a){return!!(1<<a&Ql)}; | |
wda=function(){try{sda()}catch(d){}var a="a=1&b="+Ql+"&",b=[],c=99;(0,g.B)(tda,function(a,c){var d=!1;try{d=a(ei)}catch(k){}b[c/32>>>0]|=d<<c%32}); | |
(0,g.B)(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"}); | |
c=105;(0,g.B)(uda,function(b){var d="false";try{d=b(ei)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"}); | |
(0,g.B)(vda,function(b){var d="";try{var f=b(ei);d=g.he(g.ce(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"}); | |
return a.slice(0,-1)}; | |
sda=function(){if(!Sl){var a=function(){Tl=!0;ei.document.removeEventListener("webdriver-evaluate",a,!0)}; | |
ei.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){Ul=!0;ei.document.removeEventListener("webdriver-evaluate-response",b,!0)}; | |
ei.document.addEventListener("webdriver-evaluate-response",b,!0);Sl=!0}}; | |
Vl=function(){this.l=64;this.g=Array(4);this.B=Array(this.l);this.A=this.o=0;this.reset()}; | |
Wl=function(a,b,c){c||(c=0);var d=Array(16);if(g.u(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^ | |
b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+ | |
(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<<5&4294967295| | |
k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(k<<20&4294967295| | |
k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(k<<14&4294967295| | |
k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^ | |
b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+3873151461&4294967295; | |
f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+ | |
(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649&4294967295; | |
c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295}; | |
Xl=function(){this.l=null}; | |
Yl=function(a){return function(b){var c=new Vl;c.update(b+a);return Qaa(c.digest()).slice(-8)}}; | |
Zl=function(a,b){this.l=a;this.o=b}; | |
Ak=function(a,b,c){var d=a.g(c);if(g.Ca(d)){var e={};e=(e.sv="654",e.cb="j",e.e=xda(b),e);var f=Mk(c,b,bl(Yk));g.ec(e,f);c.UA[b]=f;a=2==c.lf()?gca(e).join("&"):a.o.g(e).g;try{return d(c.yd,a,b),0}catch(k){return 2}}else return 1}; | |
xda=function(a){var b=nl(a)?"custom_metric_viewable":a;a=Vb(Kk,function(a){return a==b}); | |
return ll[a]}; | |
$l=function(a,b,c){Zl.call(this,a,b);this.A=c}; | |
am=function(a,b){this.g=a;this.depth=b}; | |
bm=function(a){function b(a,b){return null==a?b:a} | |
a=a||Di();var c=Math.max(a.length-1,0),d=Fi(a);a=d.g;var e=d.l,f=d.o,k=[];f&&k.push(new am([f.url,f.Jt?2:0],b(f.depth,1)));e&&e!=f&&k.push(new am([e.url,2],0));a.url&&a!=f&&k.push(new am([a.url,0],b(a.depth,c)));d=(0,g.G)(k,function(a,b){return k.slice(0,k.length-b)}); | |
!a.url||(f||e)&&a!=f||(e=wba(a.url))&&d.push([new am([e,1],b(a.depth,c))]);d.push([]);return(0,g.G)(d,function(a){return yda(c,a)})}; | |
yda=function(a,b){(0,g.cm)(b,function(a){return 0<=a.depth}); | |
var c=Ij(b,function(a,b){return Math.max(a,b.depth)},-1),d=jaa(c+2); | |
d[0]=a;(0,g.B)(b,function(a){return d[a.depth+1]=a.g}); | |
return d}; | |
dm=function(){var a=bm();return(0,g.G)(a,function(a){return Ki(a)})}; | |
em=function(){wl.call(this);this.B=void 0;this.F=null;this.C=!1;this.D={};this.o=new Xl}; | |
fm=function(){var a=em.getInstance(),b="h"==El(a)||"b"==El(a),c="exc"!=gj.getInstance().yb;b&&c&&(a.C=!0,a.F=new Ica)}; | |
zda=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.g&&g.Aa(c)){var d=a.g;Bba(c);(0,g.B)(c,function(a){var c=(0,g.G)(a.W4,function(a){var b=qda(a);if(null==b)a=null;else if(a=new oda,null!=b.visible&&(a.g=b.visible/100),null!=b.audible&&(a.l=1==b.audible),null!=b.time){var c="mtos"==b.timetype?"mtos":"tos",d=nb(b.time,"%")?"%":"ms";b=(0,window.parseInt)(b.time,10);"%"==d&&(b/=100);"ms"==d?(a.o=b,a.A=-1):(a.o=-1,a.A=b);a.B=void 0===c?"tos":c}return a}); | |
(0,g.Aj)(c,function(a){return null==a})||Cca(b,new Nl(a.id,a.event,c,d))})}}; | |
Ada=function(a,b,c){var d=cl(b);d||(d=c.opt_nativeTime||-1,d=xl(a,b,El(a),d),c.opt_osdId&&(d.Jh=c.opt_osdId));return d}; | |
Bda=function(a,b,c){var d=cl(b);d||(d=xl(a,b,"n",c.opt_nativeTime||-1),d.H=gj.getInstance().F);return d}; | |
Cda=function(a,b){var c=cl(b);c||(c=xl(a,b,"h",-1));return c}; | |
Dda=function(a){var b=gj.getInstance();switch(El(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.yb)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null}; | |
gm=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.ec(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.o.g(ml("ol",d));if(g.t(d))if(c=kl(d),g.t(c))if(Dl)b=ml("ue",d);else if(b=a.xo(b,e)){b:{ida(a);"i"==Gl&&(b.uh=!0,a.Dv(b));c=e.opt_fullscreen;g.t(c)&&(b.Gg=!!c);el()?c=!1:(c=gj.getInstance().yb,c=ei&&ei.dQ||"nis"===c||"gsv"===c?!1:0===jj());var f=c;if(f){switch(b.lf()){case 1:Hl(a,b,"pv");break;case 2:a.zv(b)}Yk.A.cancel();Gl="pv";Yk.done=!0}c=d.toLowerCase();!f&&g.Pa(Eda, | |
c)&&jda(a,b,e);0!=b.Gc&&g.Pa(Fda,c)&&!b.uh&&!a.A&&b.Vl&&(f=b.Vl,f.g||(f.g=Bk(f,b)));(f=b.fj[c])&&b.Jc.xa(f);switch(b.lf()){case 1:var k=nl(c)?a.H.custom_metric_viewable:a.H[c];break;case 2:k=a.J[c]}if(k&&(d=k.call(a,b,e,d),g.t(d))){e=ml(void 0,c);g.ec(e,d);d=e;break b}d=void 0}3==b.Gc&&a.Un(b);b=d}else b=ml("nf",d);else b=void 0;else Dl?b=ml("ue"):(b=a.xo(b,e))?(d=ml(),g.ec(d,Lk(b,!0,!1,!1)),b=d):b=ml("nf");return a.o.g(b)}; | |
Gda=function(a,b,c){a=gj.getInstance();if(a.F!=b){a.F=b;var d=(0,g.Aj)(Yk.g,function(a){return a.Ga}); | |
(0,g.B)(Yk.g,function(a){b||d||(a.bk=c);a.H=b;a.Ga=!1})}}; | |
im=function(a,b){var c;if(b.Jh&&hm(a)){var d=a.D[b.Jh];d?c=function(a,b){d.o(a,b)}:null!==d&&ej("lidar::missingPlayerCallback",Error())}else c=g.x("ima.common.triggerViewabilityMeasurementUpdate"); | |
if(g.Ca(c)){var e=Dca(b);e.nativeVolume=a.B;c(b.yd,e)}}; | |
hm=function(a){return"exc"==gj.getInstance().yb||"h"!=El(a)&&El(a),!1}; | |
jm=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.o,b.moatInit=a.B,b.moatViewability=a.C,b.integralAdsViewability=a.A,b.doubleVerifyViewability=a.l,b}; | |
km=function(a,b,c){c=void 0===c?{}:c;a=gm(em.getInstance(),b,c,a);return jm(a)}; | |
lm=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}; | |
Hda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0} | |
function b(a){for(var b=k,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],l=e[3],m=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=l^d&(f^l);var p=1518500249}else n=d^f^l,p=1859775393;else 60>c?(n=d&f|l&(d|f),p=2400959708):(n=d^f^l,p=3395469782);n=((a<<5|a>>>27)&4294967295)+n+m+p+b[c]&4294967295;m=l;l=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]= | |
e[2]+f&4294967295;e[3]=e[3]+l&4294967295;e[4]=e[4]+m&4294967295} | |
function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,k=a.length;e<k;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==n)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64;for(;d<c;)if(f[n++]=a[d++],p++,64==n)for(n=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64} | |
function d(){var a=[],d=8*p;56>n?c(l,56-n):c(l,64-(n-56));for(var k=63;56<=k;k--)f[k]=d&255,d>>>=8;b(f);for(k=d=0;5>k;k++)for(var m=24;0<=m;m-=8)a[d++]=e[k]>>m&255;return a} | |
for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,mJ:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}}; | |
Ida=function(a,b,c){var d=[],e=[];if(1==(g.Aa(c)?2:1))return e=[b,a],(0,g.B)(d,function(a){e.push(a)}),mm(e.join(" ")); | |
var f=[],k=[];(0,g.B)(c,function(a){k.push(a.key);f.push(a.value)}); | |
c=Math.floor((new Date).getTime()/1E3);e=g.Qa(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.B)(d,function(a){e.push(a)}); | |
a=mm(e.join(" "));a=[c,a];g.Qa(k)||a.push(k.join(""));return a.join("_")}; | |
mm=function(a){var b=Hda();b.update(a);return b.mJ().toLowerCase()}; | |
g.nm=function(){var a=[],b=lm(String(g.w.location.href)),c=g.w.__OVERRIDE_SID;null==c&&(c=(new Bg(window.document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.w.__SAPISID:g.w.__APISID,null==b&&(b=(new Bg(window.document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.w.location.href);return d&&b&&c?[c,Ida(lm(d),b,a||null)].join(" "):null}return null}; | |
g.om=function(a,b){this.l={};this.g=[];this.Qh=this.Ka=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.om)for(c=a.Bb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}; | |
qm=function(a,b){return pm(a.l,b)}; | |
rm=function(a){if(a.Ka!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];pm(a.l,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.Ka!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],pm(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}}; | |
pm=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; | |
sm=function(a){if(a.ub&&"function"==typeof a.ub)return a.ub();if(g.u(a))return a.split("");if(g.Ba(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Qb(a)}; | |
tm=function(a){if(a.Bb&&"function"==typeof a.Bb)return a.Bb();if(!a.ub||"function"!=typeof a.ub){if(g.Ba(a)||g.u(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Rb(a)}}; | |
Jda=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.Ba(a)||g.u(a))(0,g.B)(a,b,void 0);else for(var c=tm(a),d=sm(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)}; | |
g.um=function(a,b){this.l=this.F=this.A="";this.B=null;this.H=this.o="";this.C=!1;var c;a instanceof g.um?(this.C=g.t(b)?b:a.C,g.vm(this,a.A),this.F=a.F,g.wm(this,a.l),g.xm(this,a.B),g.ym(this,a.o),zm(this,a.g.clone()),this.H=a.mi()):a&&(c=g.Eg(String(a)))?(this.C=!!b,g.vm(this,c[1]||"",!0),this.F=Am(c[2]||""),g.wm(this,c[3]||"",!0),g.xm(this,c[4]),g.ym(this,c[5]||"",!0),zm(this,c[6]||"",!0),this.H=Am(c[7]||"")):(this.C=!!b,this.g=new g.Bm(null,this.C))}; | |
g.vm=function(a,b,c){a.A=c?Am(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))}; | |
g.wm=function(a,b,c){a.l=c?Am(b,!0):b;return a}; | |
g.xm=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.B=b}else a.B=null;return a}; | |
g.ym=function(a,b,c){a.o=c?Am(b,!0):b}; | |
zm=function(a,b,c){b instanceof g.Bm?(a.g=b,Kda(a.g,a.C)):(c||(b=Cm(b,Lda)),a.g=new g.Bm(b,a.C));return a}; | |
g.Dm=function(a,b,c){a.g.set(b,c);return a}; | |
g.Em=function(a){return a instanceof g.um?a.clone():new g.um(a,void 0)}; | |
Am=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""}; | |
Cm=function(a,b,c){return g.u(a)?(a=(0,window.encodeURI)(a).replace(b,Mda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; | |
Mda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; | |
g.Bm=function(a,b){this.Ka=this.g=null;this.l=a||null;this.o=!!b}; | |
Fm=function(a){a.g||(a.g=new g.om,a.Ka=0,a.l&&Ig(a.l,function(b,c){a.add(pb(b),c)}))}; | |
Hm=function(a){var b=tm(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.Bm(null,void 0);a=sm(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.Aa(f)?g.Gm(c,e,f):c.add(e,f)}return c}; | |
Jm=function(a,b){Fm(a);b=Im(a,b);return qm(a.g,b)}; | |
g.Gm=function(a,b,c){a.remove(b);0<c.length&&(a.l=null,a.g.set(Im(a,b),g.Xa(c)),a.Ka=a.Ka+c.length)}; | |
Im=function(a,b){var c=String(b);a.o&&(c=c.toLowerCase());return c}; | |
Kda=function(a,b){b&&!a.o&&(Fm(a),a.l=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),g.Gm(this,c,a))},a)); | |
a.o=b}; | |
g.Km=function(a){g.M.call(this);this.A=a;this.l={}}; | |
Mm=function(a,b,c,d,e){Lm(a,b,c,d,!1,e)}; | |
Lm=function(a,b,c,d,e,f){g.Aa(c)||(c&&(Nm[0]=c.toString()),c=Nm);for(var k=0;k<c.length;k++){var l=g.of(b,c[k],d||a.handleEvent,e||!1,f||a.A||a);if(!l)break;a.l[l.key]=l}return a}; | |
Pm=function(a,b,c,d,e){Om(a,b,c,d,!1,e)}; | |
Om=function(a,b,c,d,e,f){if(g.Aa(c))for(var k=0;k<c.length;k++)Om(a,b,c[k],d,e,f);else{b=nf(b,c,d||a.handleEvent,e,f||a.A||a);if(!b)return a;a.l[b.key]=b}return a}; | |
g.Qm=function(a){g.Kb(a.l,function(a,c){this.l.hasOwnProperty(c)&&g.xf(a)},a); | |
a.l={}}; | |
Rm=function(a,b,c){g.M.call(this);this.l=a;this.o=b;this.C=c;this.B=0;this.g=new g.Km(this);Nda(this)}; | |
Nda=function(a){a.C.forEach(function(a,c){this.g.U(c,"mousedown",this.D);this.g.U(c,"mouseup",this.H)},a); | |
a.g.U(a.o,"mouseover",a.F)}; | |
Sm=function(){}; | |
g.Tm=function(a,b){return a.replace(Oda,function(a,d){try{var c=$b(b,d);if(null==c)return a;c=c.toString();if(""==c||!g.C(g.E(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})}; | |
Vm=function(a,b){var c=[],d="",e="";if(null!=b){d=b;e=[];for(var f=0;d&&25>f;++f){a:{if(d&&d.nodeName&&d.parentElement){var k=d.nodeName.toString().toLowerCase();for(var l=d.parentElement.childNodes,m=0,n=0;n<l.length;++n){var p=l[n];if(p.nodeName&&p.nodeName.toString().toLowerCase()===k){if(d===p){k="."+m;break a}++m}}}k=""}e.push((d.nodeName&&d.nodeName.toString().toLowerCase())+""+k);d=d.parentElement}d=e.join();if(b){e=(e=b.ownerDocument)&&(e.defaultView||e.parentWindow)||null;f=[];if(e)try{var r= | |
e.parent;for(k=0;r&&r!==e&&25>k;++k){var v=r.frames;for(l=0;l<v.length;++l)if(e===v[l]){f.push(l);break}e=r;r=e.parent}}catch(D){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(r=0;r<Um.length-1;++r)c.push(Tg(a,Um[r])||"");r=Tg(a,"videoad_start_delay");v="";r&&(r=(0,window.parseInt)(r,10),v=0>r?"postroll":0==r?"preroll":"midroll");c.push(v)}else for(r=0;r<Um.length;++r)c.push("");c=c.join(":");r=c.length;if(0==r)c=0;else{v=305419896;for(d=0;d<r;d++)v^=(v<<5)+(v>>2)+c.charCodeAt(d)&4294967295;c= | |
0<v?v:4294967296+v}return c.toString()}; | |
Wm=function(a,b,c){this.g=a;this.l=b;this.o=c}; | |
Xm=function(a,b){this.g=a;this.kg=b}; | |
Ym=function(a,b){g.af.call(this,"adError");this.l=a;this.g=b?b:null}; | |
Zm=function(a,b,c){g.af.call(this,a);this.l=b;this.g=null!=c?c:null}; | |
Pda=function(a){this.g=a}; | |
Qda=function(){var a=$m();return an(a,"disableExperiments")}; | |
an=function(a,b){if(Tb(a.g,b)){var c=a.g[b];if(g.ta(c))return c}return!1}; | |
Rda=function(a){if(Tb(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.Aa(a)&&(0,g.B)(a,function(a){g.ua(a)&&(b[c++]=a)}); | |
return b}return null}; | |
bn=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""}; | |
cn=function(){this.A="always";this.K=4;this.D=1;this.l=this.J=this.B=!1;this.Y=this.I=!0;this.Z=this.o=this.X=!1;this.H=!0;this.M=null;this.La=this.C=this.T=!1;try{this.ca=bm(void 0)[0]}catch(a){}}; | |
$m=function(){var a=P;if(null==a.M){var b={},c=(new g.um(Ad().location.href)).g;if(Jm(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.M=new Pda(b)}return a.M}; | |
Sda=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}}; | |
dn=function(a){g.af.call(this,a);this.A=[];this.o={};this.g=null;this.l=!0}; | |
en=function(a,b,c){this.A=b;this.l=c;this.B=a;this.o=!0}; | |
fn=function(){}; | |
gn=function(a,b,c){this.Fa=a;this.g=g.cd(b||0,0,1);this.l=null!=c?c:!0}; | |
hn=function(a){this.Fa=a;this.l=new g.om;this.Ya=this.g=null}; | |
Tda=function(a){var b=Math.random(),c=0,d=a.l.ub();(0,g.B)(d,function(a){c+=a.g},a); | |
var e=1<c?c:1;a.g=null;for(var f=0,k=0;k<d.length;++k)if(f+=d[k].g,f/e>=b){a.g=d[k];break}}; | |
Vda=function(){this.l=null!=g.w.G_testRunner;this.o=new fn;this.g=new g.om;P.g()||(jn(this,"GvnExternalLayer",31061774,.01),jn(this,"GvnExternalLayer",31061775,.01),jn(this,"GvnExternalLayer",41351088,.01),jn(this,"GvnExternalLayer",41351089,.01),jn(this,"GvnExternalLayer",420706008,.05),jn(this,"GvnExternalLayer",420706009,.05),jn(this,"GvnExternalLayer",41351073,.01),jn(this,"GvnExternalLayer",41351074,.01),jn(this,"GvnExternalLayer",41351075,.01),jn(this,"GvnExternalLayer",634360101,0),jn(this, | |
"GvnExternalLayer",634360102,0),jn(this,"GvnExternalLayer",21592080,.1),jn(this,"GvnExternalLayer",21592081,.1),jn(this,"GvnExternalLayer",413051059,.05),jn(this,"GvnExternalLayer",413051060,.05),jn(this,"GvnExternalLayer",324123E3,.05),jn(this,"GvnExternalLayer",324123001,.05),jn(this,"GvnExternalLayer",420706068,.01),jn(this,"GvnExternalLayer",420706069,.01),jn(this,"GvnExternalLayer",324123020,.01),jn(this,"GvnExternalLayer",324123021,.01));jn(this,"ActiveViewExternalLayer",953563515,.01);jn(this, | |
"ActiveViewExternalLayer",953563516,.01);jn(this,"ActiveViewExternalLayer",953563517,.01);Uda(this);var a=$m();a=Rda(a);null!=a&&(this.l=!1,kn(this,a.map(String)))}; | |
mn=function(){ln||(ln=new Vda);return ln}; | |
nn=function(){return mn().o}; | |
Wda=function(a,b){a.o=b}; | |
Xda=function(){var a=mn();(0,g.B)(a.g.Bb(),function(a){g.lb(a,"FORCED_PUB_EXP_LAYER_")&&this.g.remove(a)},a)}; | |
jn=function(a,b,c,d){g.C(g.E(b))||(0,window.isNaN)(c)||0>=c||(c=new gn(c,d),on(a,b).l.set(c.getId(),c))}; | |
Uda=function(a){Qda()||(0,g.B)(a.g.ub(),function(a){Tda(a)},a)}; | |
kn=function(a,b){(0,g.B)(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||g.C(g.E(a))||(on(this,a).g=new gn(b,0,!0))},a)}; | |
pn=function(a,b){return a.l?!1:(0,g.Aj)(a.g.ub(),function(a){return!!a.g&&a.g.getId()==b})}; | |
qn=function(a){if(a.l)return"";var b=[];(0,g.B)(a.g.ub(),function(a){(a=a.g)&&a.l&&b.push(a.getId())}); | |
return b.sort().join(",")}; | |
on=function(a,b){var c=a.g.get(b);null==c&&(c=new hn(b),a.g.set(b,c));return c}; | |
Zda=function(a){var b=[];(0,g.B)(Yda,function(c){(c=(c=on(a,c))?c.g:null)&&b.push(c.getId())}); | |
return b}; | |
sn=function(a){return null!=a?rn($da,a):!1}; | |
rn=function(a,b){try{var c=(new g.um(b)).l;c=c.replace(/^www./i,"");return(0,g.Aj)(a,function(a){return aea(a,c)})}catch(d){return!1}}; | |
aea=function(a,b){if(g.C(g.E(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b}; | |
un=function(a){var b=!1;tn(a,bea)?b=!1:sn(a)?b=!0:"https:"==window.location.protocol&&(tn(a,cea)||P.g())&&(b=!0);if(b){b=new g.um(a);if("https"==b.A)return a;g.vm(b,"https");return b.toString()}return a}; | |
tn=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)}; | |
vn=function(a){if(g.C(g.E(a)))return!1;a=new g.um(a);if(!a.A||"http"!=a.A&&"https"!=a.A)return!1;a=a.l;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0}; | |
wn=function(a){g.C(g.E(a))||(a=g.Lc(a),a=g.Ic(a),window.open(a,"_blank"))}; | |
yn=function(a,b,c){null!=a?(g.Dm(a,"label",b),null!=c&&g.Dm(a,"value",c.join(";")),a=a.toString()):a="";xn(a)}; | |
zn=function(a,b,c,d){null!=a&&null!=b&&(a=g.Tm(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.C(g.E(e)))a=b;else{var f=new g.um(b);Jm(f.g,"label")?(g.Dm(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.Tm(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a}; | |
xn=function(a,b,c,d){a=zn(a,b,c,void 0);try{a=un(a);var e=mn(),f=!P.g()||pn(e,41351089);b=!1;P.g()||!pn(mn(),634360102)||(b=!0);null!=d&&d?An.sE(a,f):P.H?An.LV(a,f,b):An.oE(a,f,b)}catch(k){}}; | |
Bn=function(a,b){null!=a&&(0,g.B)(a,function(a){xn(a,b)})}; | |
dea=function(a,b){if(g.C(g.E(b)))return a;var c=new g.um(a),d=c.l;return null!=d&&nb(d,".g.doubleclick.net")?(g.Dm(c,"ged",b),c.toString()):a}; | |
Cn=function(a,b){this.message=a;this.errorCode=b}; | |
En=function(a,b,c){return Dn("adLoadError",a,b||null,g.Za(arguments,2))}; | |
Fn=function(a,b,c){return Dn("adPlayError",a,b||null,g.Za(arguments,2))}; | |
Gn=function(a,b,c,d,e){var f=a.apply(null,g.Wa([c,d],g.Za(arguments,3)));b.dispatchEvent(new Zm("log",null,f))}; | |
Hn=function(a,b,c){Gn(Fn,a,b,c,void 0)}; | |
Dn=function(a,b,c,d){if(c instanceof en)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 en(a,b,e);a.Ql=c;return a}; | |
In=function(a,b,c,d){var e=Fn.apply(null,g.Wa([b,c],g.Za(arguments,3)));a.dispatchEvent(new Ym(e))}; | |
Jn=function(a,b){g.af.call(this,"vpaidEventType");this.g=a;this.data=b}; | |
Kn=function(a){return(a=a.exec(g.Ib))?a[1]:""}; | |
g.Ln=function(a){return 0<=g.Bb(eea,a)}; | |
Mn=function(){return uj()||tj()}; | |
Pn=function(){return Nn&&!On||vb(g.Ib,"iPod")}; | |
Qn=function(){return Pn()||On}; | |
Tn=function(a){return Qn()&&Rn(Sn,a)}; | |
Wn=function(a){return g.Un&&Rn(Vn,a)}; | |
Rn=function(a,b){if(null==Xn[b]){var c=Yn(a);c?(c=c.replace(/_/g,"."),Xn[b]=0<=g.Bb(c,b)):Xn[b]=!1}return Xn[b]}; | |
Yn=function(a){g.C(Zn)&&(a=a.exec(g.Ib))&&(Zn=a[1]);return Zn}; | |
$n=function(){var a=g.Ib;return a?vb(a,"Nintendo WiiU"):!1}; | |
ao=function(){return Nn&&!On&&Tn(10)&&P.g()||!P.g()&&(Nn&&!On&&Tn(10),0)?!0:Pn()||g.Un&&!Wn(4)||!P.g()&&el()?!1:!0}; | |
bo=function(){var a;(a=P.l||!1)||(a=!1);return a||Qn()&&(Nn&&!On&&Tn(10),!0)||g.Un&&!Wn(4)||el()?!0:!1}; | |
co=function(a){return!(null===a||a.Pj()||P.g()||Pn()||el()||g.Un&&!Wn(4))}; | |
eo=function(){this.reset()}; | |
fo=function(a,b){null!=b&&a.l!=b?(a.g=1,a.l=b):a.g=null!=b?a.g+1:1;return a.g}; | |
go=function(a,b,c,d,e,f){g.u(a)?(this.g="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.g=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)}; | |
g.jo=function(a,b,c){g.ua(a)?(this.date=ho(a,b||0,c||1),io(this,c||1)):g.Da(a)?(this.date=ho(a.getFullYear(),a.getMonth(),a.getDate()),io(this,a.getDate())):(this.date=new Date((0,g.F)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),io(this,a))}; | |
ho=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}; | |
io=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))}; | |
ko=function(){this.l=this.g=null}; | |
mo=function(){this.g=lo();this.J=-1;this.K=this.M=this.B=this.I=this.l=null;this.A=lo();this.o=null;this.X=this.D=this.H="";this.F=this.T=this.Z=this.C=null;this.Y=0}; | |
lo=function(){return Math.floor(4503599627370496*Math.random())}; | |
no=function(a){null==a.B&&(a.B=new eo);return a.B}; | |
oo=function(a){if(P.l)return"h.3.0.0";var b="h."+a.X;null!=a.C&&(b+="/n."+a.C,null!=a.l&&(b+="/"+a.l));return b}; | |
po=function(){this.g=.01>Math.random();this.l=Math.floor(4503599627370496*Math.random())}; | |
so=function(a,b,c,d){if(a.g||d){c=c||{};c.lid=b;c.sdkv=oo(qo);b=qn(mn());g.C(g.E(b))||(c.e=b);c=fea(a,c);var e=new g.um("http://pagead2.googlesyndication.com/pagead/gen_204");g.Kb(c,function(a,b){g.Dm(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a); | |
a=ro();g.vm(e,a.A);xn(e.toString())}}; | |
fea=function(a,b){b.id="ima_html5";var c=ro();b.c=a.l;b.domain=c.l;return b}; | |
ro=function(){var a=Ad(),b=window.document;return new g.um(a.parent==a?a.location.href:b.referrer)}; | |
to=function(){this.uf=1E4}; | |
uo=function(){g.Cf.call(this)}; | |
vo=function(){g.Cf.call(this);this.g=new g.om;this.l=null;this.W=new g.Km(this);g.N(this,this.W);this.B="";this.A=this.H=this.D=this.o=null;this.F=-1}; | |
xo=function(){null!=wo||(wo=new vo);return wo}; | |
yo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;xo().dispatchEvent(new Zm("measurable_impression",null,c))}; | |
zo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;xo().dispatchEvent(new Zm("viewable_impression",null,c))}; | |
Ao=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;xo().dispatchEvent(new Zm("externalActivityEvent",null,d))}; | |
gea=function(a,b){if(a.l)if(a.A){var c=(0,g.F)()-a.F;b(a.A+"_ct"+c)}else{var d=a.g;c=window.setTimeout(function(){b("timeout");(0,g.B)(d.Bb(),function(a){d.get(a)===b&&d.remove(a)})},200); | |
a.g.set(c,b);var e={};e.osdId=a.B;e.eventId=c;po.getInstance().isLoggingEnabled()&&(a.C=(0,g.F)(),e.loggingId=Math.random(),so(po.getInstance(),43,{step:"sendingMessage",logid:e.loggingId,time:a.C}));a.l.send("activityMonitor","fetchAdTagUrl",e)}else b("")}; | |
hea=function(a,b,c,d){if(a.l){var e={};e.queryId=c;e.vastEvent=b;a.B&&(e.osdId=a.B);e.isOverlay=null!=a.o;a.o&&(e.overlayBounds=g.Kh(a.o));var f=a.g;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.B)(f.Bb(),function(a){f.get(a)===d&&f.remove(a)})},200); | |
a.g.set(b,d);e.eventId=b;a.l.send("activityMonitor","reportVastEvent",e)}else d({})}; | |
Bo=function(){}; | |
Co=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")}; | |
Fo=function(a,b){if(null==a||0>=a.width||0>=a.height)throw Fn(Do,null,"ad slot size",a.toString());this.l=a;this.g=null!=b?b:new Bo;this.B=Eo(iea,this.g.o)?this.g.o:"All";this.A=Eo(jea,this.g.creativeType)?this.g.creativeType:"All";this.D=Eo(kea,this.g.A)?this.g.A:"SelectExactMatch";this.F=Eo(lea,this.g.l)?this.g.l:"DisallowResize";this.o=null!=this.g.B?this.g.B:[];this.C=g.ua(this.g.g)&&0<this.g.g&&100>=this.g.g?this.g.g:90}; | |
Io=function(a,b){var c=[];(0,g.B)(b,function(a){!g.C(g.E(a.g.l))&&((0,window.isNaN)(a.g.g)||(0,window.isNaN)(Go(a))||Go(a)==a.g.g)&&Ho(this,a)?c.push(a):(a=mea(this,a),null!=a&&!g.C(g.E(a.g.l))&&c.push(a))},a); | |
return c}; | |
Ho=function(a,b){var c;if(c="Flash"!=b.nd()||Jo){if(c="All"==a.B||a.B==b.g.K)c=b.nd(),c=null!=c?"All"==a.A||a.A==c:!0;c&&(c=b.o,c=g.Qa(a.o)?!0:null!=c?0<=(0,g.Oa)(a.o,c):!1)}if(c){var d=b.g.de();if("IgnoreSize"==a.D||g.jd(a.l,d))c=!0;else if(c="SelectNearMatch"==a.D)"ResizeSmaller"==a.F?(d=d.width<=a.l.width&&d.height<=a.l.height?d:Ko(d,a.l),c=d.width,d=d.height):(c=d.width,d=d.height),c=c>a.l.width||d>a.l.height||c<a.C/100*a.l.width||d<a.C/100*a.l.height?!1:!0}else c=!1;return c}; | |
mea=function(a,b){var c=b.l;return null!=c?g.La(c,function(a){return Ho(this,a)},a):null}; | |
Ko=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.I(c*a.width,c*a.height)}; | |
Eo=function(a,b){return null!=b&&g.Ub(a,b)}; | |
Lo=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)}; | |
nea=function(a){var b={};(0,g.B)(a.split(","),function(a){var c=a.split("=");2==c.length&&(a=zb(c[0]),c=zb(c[1]),0<a.length&&(b[a]=c))}); | |
return b}; | |
No=function(a,b){if(a[b])return Mo(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return Mo(a[d]);return!1}; | |
Mo=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1}; | |
oea=function(){this.g=this.af=1;this.l=this.A=0;this.o=1}; | |
Oo=function(){g.Cf.call(this);this.g=null;this.W=new g.Km(this);g.N(this,this.W);this.l=new g.om;this.C=new g.om;this.A=null;this.o=!1;this.B=null}; | |
Qo=function(){null!=Po||(Po=new Oo);return Po}; | |
pea=function(){Qo();var a=mn(),b=gj.getInstance().ib;a=Zda(a);Fba(b,a)}; | |
So=function(a){if(null==a)return!1;if(Pn()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=Ro(a);return 0>=b-a.width&&42>=c-a.height}; | |
Ro=function(a){return g.Ca(a.getBoundingClientRect)&&g.Pd(g.ld(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}}; | |
To=function(a,b,c,d,e){if(a.o){if(a.B)return a.B(b,c,e);e=e||{};if(d=d?a.C.get(d):P.F)null!=e.opt_fullscreen||(e.opt_fullscreen=So(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.A&&(P.l&&(e.opt_overlayAdElement=a.A),null!=e.opt_bounds||(e.opt_bounds=Ro(a.A)));return cj("lidar::handlevast_html5",g.Ga(km,b,c,e))||{}}return{}}; | |
Uo=function(a,b){var c=[];a.l.forEach(g.Ga(function(a,b,c,k){c==b&&a.push(k)},c,b)); | |
(0,g.B)(c,a.l.remove,a.l)}; | |
Vo=function(a){if(g.Ca(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}}; | |
qea=function(a,b,c){if(!P.I)return"";var d=b?a.C.get(b):P.F;a={};null!=c&&(a.fullscreen=c);c="";try{c=uba(function(){return d},a)}catch(e){c="sdktle;"+ub(e.name,12)+";"+ub(e.message,40)}return c}; | |
Wo=function(a,b){g.af.call(this,a);this.g=b}; | |
Xo=function(a,b){this.H=a;this.F=(0,g.G)(b,function(a){return a.clone()}); | |
this.D="";this.A=null;this.g=this.o=0;this.l=!0;this.B=[];this.C=[]}; | |
Yo=function(a,b,c,d,e){a.D="<div></div>";a.A=b;a.o=c;a.g=d;a.l=!1;a.B=e||[];a.C=[]}; | |
Zo=function(a){a.D="";a.A=null;a.o=0;a.g=0;a.l=!0;a.B=[];a.C=[]}; | |
$o=function(a){g.af.call(this,a)}; | |
ap=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.Sb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.g=g.Sb(a,"image","bannerImageUrl")}}; | |
g.bp=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1}; | |
g.cp=function(a,b){var c=a.l(b,void 0);return-1==(0==c?a.g:c)?"rtl":"ltr"}; | |
dp=function(){throw Error("Do not instantiate directly");}; | |
ep=function(a,b){this.content=String(a);this.nl=null!=b?b:null}; | |
fp=function(){dp.call(this)}; | |
gp=function(){dp.call(this)}; | |
hp=function(a,b){return null!=a&&a.uj===b}; | |
ip=function(a){if(null!=a)switch(a.nl){case 1:return 1;case -1:return-1;case 0:return 0}return null}; | |
Q=function(a){return null!=a&&a.uj===jp?a:a instanceof g.Tc?kp(g.Uc(a),a.g()):kp(g.qb(String(String(a))),ip(a))}; | |
np=function(a,b,c){var d="key_"+a+":"+b,e=lp[d];if(void 0===e||0>e)lp[d]=0,mp[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');}; | |
op=function(a,b){var c=mp["key_"+a+":"+b];c||""==b||(c=mp["key_"+a+":"]);return c?c:rea;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');}; | |
rea=function(){return""}; | |
R=function(a){return hp(a,jp)?String(String(a.cd()).replace(pp,"").replace(qp,"<")).replace(sea,rp):g.qb(String(a))}; | |
sp=function(a){return hp(a,jp)?String(String(a.cd()).replace(pp,"").replace(qp,"<")).replace(tea,rp):String(a).replace(uea,rp)}; | |
vea=function(a){return"%"+a.charCodeAt(0).toString(16)}; | |
up=function(a){a=g.ob(String(a));tp.lastIndex=0;return tp.test(a)?a.replace(tp,vea):a}; | |
Ap=function(a){if(hp(a,vp)||hp(a,wp))return xp(a);a instanceof Hc?a=xp(g.Ic(a)):a instanceof Cc?a=xp(Dc(a)):(a=String(a),a=wea.test(a)?a.replace(yp,zp):"about:invalid#zSoyz");return a}; | |
Bp=function(a){if(hp(a,vp)||hp(a,wp))return xp(a);a instanceof Hc?a=xp(g.Ic(a)):a instanceof Cc?a=xp(Dc(a)):(a=String(a),a=xea.test(a)?a.replace(yp,zp):"about:invalid#zSoyz");return a}; | |
Dp=function(a){var b=Cp[1]||(Cp[1]=new g.bp(1)),c=ip(a);null==c&&(c=Ac(a+"",hp(a,jp)));return yea(c!=b.g?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")}; | |
rp=function(a){return zea[a]}; | |
zp=function(a){return Aea[a]}; | |
xp=function(a){return String(a).replace(yp,zp)}; | |
Bea=function(a){return'<div class="'+Q("text-container")+" "+(a.image?Q("pyv"):"")+'"><div class="'+Q("text-inner-container")+'">'+(a.image?(a.Kc?'<a class="'+Q("text-image-link")+'" target="_blank" href="'+Q(a.Kc)+'">':'<a class="'+Q("text-image-link")+'" target="_blank">')+'<img src="'+Q(a.image)+'" class="'+Q("text-image")+" "+(a.tF?Q("yt-video-image"):"")+'">'+(a.duration?'<div class="'+Q("text-image-duration")+'">'+Q(a.duration)+"</div>":"")+"</a>":"")+(a.Kc?'<a class="'+Q("text-title")+'" href="'+ | |
Q(a.Kc)+'" target="_blank" dir='+Q(a.dir)+">"+Q(a.title)+"</a>":"")+'<div class="'+Q("text-description")+'" dir='+Q(a.dir)+">"+Q(a.text)+"</div>"+(a.vF&&a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'" class="'+Q("text-ad-channel")+'">'+Q(a.vF)+"</a>":"")+"</div></div>"}; | |
Cea=function(a){return'<div class="'+Q("flash-container")+" "+(a.capture?Q("click-capture"):"")+'">'+(a.Kc?'<a class="click-layer" target="_blank" href="'+Q(a.Kc)+'"></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="'+Q(a.width)+'" height="'+Q(a.height)+'"><param name="movie" value="'+Q(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+ | |
up(a.Kc)+'"><embed width="'+Q(a.width)+'" height="'+Q(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+Q(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+up(a.Kc)+'"></object></div>'}; | |
Dea=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'" style="width:'+Q(a.width)+";height:"+Q(a.height)+';">'+(a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'">':'<a target="_blank">')+'<img src="'+Q(a.url)+'" border="0"></a></div>'}; | |
Eea=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'">'+(a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'">':'<a target="_blank">')+'<img src="'+Q(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'}; | |
Ep=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'" style="width:'+Q(a.width)+";height:"+Q(a.height)+';"></div>'}; | |
Fp=function(){this.g=new g.om}; | |
Gp=function(a,b){this.l=a;this.o=b}; | |
Hp=function(a,b){Gp.call(this,"progress",a);this.g=b}; | |
Jp=function(a,b){(0,g.B)(b,function(a){var b=a.Ub().toLowerCase(),c=Ip(this,b);c.push(a);this.g.set(b,c)},a)}; | |
Kp=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new Hp(c,d):new Gp(b,c);d=Ip(a,b);d.push(c);a.g.set(b,d)}; | |
Ip=function(a,b){return null!=b?a.g.get(b.toLowerCase(),[]):[]}; | |
Fea=function(a,b){var c=Ip(a,"progress");(0,g.B)(c,function(a){Lp(a.g,b)}); | |
g.gb(c,function(a,b){return Mp(a.g)-Mp(b.g)})}; | |
Np=function(a,b){return(0,g.G)(Ip(a,b),function(a){return a.Ta()})}; | |
Op=function(){this.ha=-1;this.F={};this.sa="";this.Sj=new Fp}; | |
Pp=function(a,b,c){a.sa=b;a.F=c}; | |
Qp=function(a,b){var c=[],d=a.ro();(0,g.B)(d,function(a){a=Ip(a.Sj,b)||[];c=g.Wa(a,c)},a); | |
return c}; | |
Gea=function(a){a=Qp(a,"feedbackShown");return(0,g.G)(a||[],function(a){return a.Ta()})}; | |
Rp=function(a,b,c){var d=c||!1;return g.La(b.D,function(a){var b=a.g==this.g;return a instanceof this.constructor&&(d||b)},a)}; | |
Sp=function(a,b,c,d,e,f,k,l,m){this.o=a;this.g=b;(0,window.isNaN)(c)&&(0,window.isNaN)(d)&&(0,window.isNaN)(e)?e=d=0:(0,window.isNaN)(d)&&!(0,window.isNaN)(e)?d=e:!(0,window.isNaN)(d)&&(0,window.isNaN)(e)?e=d:!(0,window.isNaN)(c)&&(0,window.isNaN)(d)&&(0,window.isNaN)(e)&&(d=e=c);this.Fi=d;this.dg=e;this.C=f;this.A=k;this.B=un(g.E(l));this.l=m}; | |
Tp=function(a,b,c,d,e,f){Op.call(this);this.ha=a;this.A=b;this.o=c;this.l=g.Xa(d);this.B=null;this.C=e;this.ab=g.Xa(f);ab(this.ab,null,function(a){return a.J})}; | |
Up=function(a){var b=new g.om,c=a.ro();(0,g.B)(c,function(a){if(a instanceof Tp){var c=a.o;(0,g.B)(c.Bb(),function(a){b.set(a,g.Wa(c.get(a),b.get(a)||[]))},this)}},a); | |
return b}; | |
Wp=function(a){return Vp(a,"x-shockwave-flash")}; | |
Vp=function(a,b){var c=g.La(a.l,function(a){return!g.C(g.E(a.g))&&-1!=a.g.indexOf(b)&&("VPAID"==a.l||"surveys"==a.l)}); | |
return null!=c?c:null}; | |
Yp=function(a,b,c,d,e){Op.call(this);g.C(g.E(a))&&(a=Db()+"_ima");this.Fa=g.E(a);this.Ga=b;this.K=c;this.ra=d;this.l=e;this.J=[];null!=this.ra?this.Y=Xp[this.ra]||"Other":this.Y=null}; | |
Zp=function(a,b,c){g.M.call(this);this.l=a;this.B=b;this.I=c;this.A=0;this.g={};this.o=new g.Km(this);g.N(this,this.o);Hea(this)}; | |
Hea=function(a){(0,g.B)(a.I,function(a){this.o.U(a.element,"mousedown",this.D,!0);this.o.U(a.element,"mouseup",g.Ga(this.H,a),!0)},a); | |
a.o.U(a.B,"mouseenter",a.F)}; | |
Iea=function(a,b){g.Kb(a.g,function(a,d){b=Vg(b,d,a)}); | |
return b}; | |
$p=function(a,b,c,d,e){Yp.call(this,a,b,c,d,e);this.fa=this.A=null;this.Da=-2;this.o=null;this.ea=this.X=g.y;this.Z=[];this.Na=[];this.C=!1;this.Ya=null}; | |
cq=function(a,b){a.o=b;null!=a.A&&null!=b&&(aq(a,a.X),bq(a,a.ea))}; | |
aq=function(a,b){null!=a.o&&null!=a.A&&(0,g.B)(a.Z,function(a){this.o.Ea(a,"click",this.X);!g.C(g.E(this.qf()))&&this.o.U(a,"click",b)},a); | |
a.X=b}; | |
bq=function(a,b){null!=a.o&&null!=a.A&&(a.o.Ea(a.A,"creativeview",a.ea),a.o.U(a.A,"creativeview",b));a.ea=b}; | |
dq=function(a,b){var c=a.Fa,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.nd()&&(d.style+="width:"+a.Cb()+"px");g.C(g.E(c))||(d.id=c);return g.K("DIV",d,b)}; | |
eq=function(a){if(!a.C)return null;var b=Qp(a,"start");Ya(b,Qp(a,"creativeview"));if(null!=b&&!g.Qa(b)){var c=[];(0,g.B)(b,function(a){if(!g.C(g.E(a))){var b=g.nd().RJ("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:Jea});g.oh(b,{display:"block",height:"0px",width:"0px"});var d="iframe"+Math.floor(1E9*Math.random());b.setAttribute("height",0);b.setAttribute("width",0);b.setAttribute("src",un(a.Ta()));b.setAttribute("id",d);this.Na.push(d);g.Sa(c,b)}},a); | |
return c}return null}; | |
Kea=function(a,b){if(null!=a.A)if(nn().g("cleanup_text_overlay_spam_signals")){var c=[];(0,g.B)(a.Z,function(a){c.push({element:a,fJ:this.ls(a)})},a); | |
new Zp(b,a.A,c)}else c=new g.om,(0,g.B)(a.Z,function(a){c.set(a,this.ls(a))},a),new Rm(b,a.A,c)}; | |
Lea=function(a){var b=[],c=a.ro();(0,g.B)(c,function(a){b=g.Wa(b,a.J)},a); | |
return b}; | |
fq=function(a,b,c){var d=c||!1;return g.La(b.D,function(a){var b=a.g==this.g;return this instanceof a.constructor&&(d||b)},a)}; | |
gq=function(a,b){this.g=null!=a?a:new Fp;this.H=null!=b?b:[]}; | |
Mea=function(a,b){var c=b.g;(0,g.B)(c.Bb(),function(a){Jp(this.g,c.get(a))},a)}; | |
hq=function(a,b){var c=Np(a.g,b);return null!=c?c:[]}; | |
g.iq=function(a){if(a.classList)return a.classList;a=a.className;return g.u(a)&&a.match(/\S+/g)||[]}; | |
g.jq=function(a,b){return a.classList?a.classList.contains(b):g.Pa(g.iq(a),b)}; | |
g.S=function(a,b){a.classList?a.classList.add(b):g.jq(a,b)||(a.className+=0<a.className.length?" "+b:b)}; | |
g.kq=function(a,b){if(a.classList)(0,g.B)(b,function(b){g.S(a,b)}); | |
else{var c={};(0,g.B)(g.iq(a),function(a){c[a]=!0}); | |
(0,g.B)(b,function(a){c[a]=!0}); | |
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}}; | |
g.lq=function(a,b){a.classList?a.classList.remove(b):g.jq(a,b)&&(a.className=(0,g.Kd)(g.iq(a),function(a){return a!=b}).join(" "))}; | |
g.mq=function(a,b){a.classList?(0,g.B)(b,function(b){g.lq(a,b)}):a.className=(0,g.Kd)(g.iq(a),function(a){return!g.Pa(b,a)}).join(" ")}; | |
g.U=function(a,b,c){c?g.S(a,b):g.lq(a,b)}; | |
g.nq=function(a,b,c){g.jq(a,b)&&(g.lq(a,b),g.S(a,c))}; | |
g.oq=function(a,b){var c=!g.jq(a,b);g.U(a,b,c);return c}; | |
pq=function(a,b){var c=a(b||Nea,void 0,void 0);var d=g.nd().createElement("DIV");c=Oea(c);d.innerHTML=c;1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d}; | |
Oea=function(a){if(!g.Da(a))return String(a);if(a instanceof dp){if(a.uj===jp)return a.cd();if(a.uj===qq)return g.qb(a.cd())}return"zSoyz"}; | |
rq=function(a,b){$p.call(this,a,b,"Static","text","")}; | |
sq=function(a){null!=a?rn(Pea,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=sn(a)?Qea(a):null:a=null;return a}; | |
tq=function(a,b,c){if(null==a)return null;c=new g.um((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");zm(c,d);return c.toString()}; | |
uq=function(a){return null===a?!1:"pharma"==(new g.um(a)).mi().toLowerCase()}; | |
Qea=function(a){if(g.C(g.E(a)))return null;var b=a.match(/^https?:\/\/[^\/]*youtu\.be\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/video\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/watch\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];a=(new g.um(a)).g;return Jm(a,"v")?a.get("v").toString():Jm(a,"video_id")?a.get("video_id").toString():null}; | |
vq=function(a){return g.C(g.E(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"}; | |
Cq=function(a,b,c){var d={};a=new wq(a,g.t(b)?b:null,g.t(c)?c:null);xq(d,a);b=a.error;d.ERRORCODE=1E3>b.l?b.l:900;yq(d);zq(d,a);Aq(d,a);b=a.error.Ib();d.ERROR_MSG=a.error.Nd();d.IMA_ERROR=b;d.INTERNAL_ID="0";b=-1!=(0,g.Oa)(Rea,b);d.BLOCKING_ERROR=b?"1":"0";d.YT_ERROR_CODE=3;Bq(d,a);return d}; | |
Dq=function(a,b){var c={},d=new wq(null,a,g.t(b)?b:null);xq(c,d);yq(c);zq(c,d);Aq(c,d);Bq(c,d);Sea(c,d);Tea(c,d);d=a.sb;for(var e=a;null!=e;)d=e.La+","+d,e=e.l;c.RWT=d;return c}; | |
wq=function(a,b,c){this.error=a;this.g=b;this.l=c}; | |
Eq=function(a,b){null!=b&&(a.VIEWABILITY=b)}; | |
Fq=function(a,b,c,d){Uea(c,b)?a[c]=d||"":a[c]=""}; | |
Uea=function(a,b){return(0,g.Aj)(Vea[a],function(a){return null!=b.match(a)})}; | |
xq=function(a,b){a.CACHEBUSTING={toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}}; | |
a.ASSETURI={toString:function(){return null!=b.l?b.l.getVideoUrl():""}}; | |
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}}; | |
Tea=function(a,b){a.AD_CPN={toString:function(){return b.l.Ie()}}; | |
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.l.getCurrentTime())).toString()}}; | |
a.MT={toString:function(){return b.l?Math.round(Math.max(0,1E3*b.l.getCurrentTime(1))).toString():"0"}}; | |
a.P_W={toString:function(){return null!=b.l&&null!=b.l.qh()?b.l.qh().width.toString():""}}; | |
a.P_H={toString:function(){return null!=b.l&&null!=b.l.qh()?b.l.qh().height.toString():""}}}; | |
yq=function(a){a.SDKV=oo(qo);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}}; | |
a.VED=""}; | |
zq=function(a,b){if(null!=b.g&&null!=b.g.o&&null!=b.g.o.jc&&P.g()){var c=b.g.o.jc;(0,g.B)(Wea,function(b){b in c&&(a[b]=c[b])})}}; | |
Aq=function(a,b){if(null!=b.g){a.AD_ID=Gq(b.g);a.AD_SYS=Hq(b.g);var c=Iq(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.l){var a=sq(b.l.getVideoUrl());if(null!=a)return a}return"0"}}; | |
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try{c=Jq(b.g).split("_")}catch(d){}1<=c.length&&(a.FORMAT_NAMESPACE=c[0]);2<=c.length&&(a.FORMAT_TYPE=c[1]);3<=c.length&&(a.FORMAT_SUBTYPE=c[2]);a.FINAL="1"}}; | |
Bq=function(a,b){a.BREAK_TYPE="0";a.SLOT_POS="0";a.MIDROLL_POS="0";if(null!=b.g){var c=b.g.o;if(null!=c&&null!=c.Wh&&null!=c.Wh.video_start_delay)c=c.Wh.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.g.A;a.BREAK_TYPE=0==c.A?"1":-1==c.A?"3":"2";var d=b.g.Ne();d&&(a.BREAK_TYPE=d);a.SLOT_POS=c.g-1;c=b.g.o;c=null!=c&&null!=c.jc&&null!=c.jc.GET_MIDROLL_POSITION_IN_SEC?c.jc.GET_MIDROLL_POSITION_IN_SEC:null;d=Math.round(b.g.A.l);c=0<d&&c?c(d):d; | |
0<c&&(a.MIDROLL_POS=c)}}}; | |
Sea=function(a,b){null!=b.g&&(a.AD_LEN={toString:function(){var a=b.g.getDuration();return 0>a?"-1":Math.round(1E3*a).toString()}},a.VOL={toString:function(){return null!=b.l?b.l.isMuted()?"0":Math.round(100*b.l.getVolume()).toString():""}})}; | |
Mq=function(a,b,c){var d=null,e=c+b;(0,g.B)(a.D,function(f){if(No(f.F,"rm")){var k=Dq(a);Kq(a)&&(k.FILLED_OPPORTUNITY=0);Bn(a.X,k);(k=a.o)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof $p)0==c&&0==b||f instanceof rq?k=!0:(k=f.de(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.de().height+b-f.de().width,"Flash"!=f.nd()||Jo)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.nd()&&"Javascript"==f.nd()?d=f:f.g<d.g&&(d=f)):(d=f,e=k))}}); | |
Lq(a,d)}; | |
Nq=function(a){var b=null;(0,g.B)(a.D,function(a){a instanceof Tp&&(null===b||a.g<b.g)&&(b=a)}); | |
Lq(a,b)}; | |
Oq=function(a,b,c,d){this.A=a;this.D=b;this.ads=0<this.A.length?this.A:this.D;this.C=c;this.B=this.F=!0;this.l=-1;this.g=null;this.I=this.o=0;this.J=d;this.logger=null}; | |
Sq=function(a,b,c){var d=[],e=(0,g.z)(function(a){this.Yf()?this.Ke(function(a){d.push(a);e(null)},function(a){301==a.Ib()?c(En(Pq)):e(a)}):0<d.length?b(d):(null==a&&(a=En(Qq)),1012==a.Ib()&&(a=En(Rq)),c(a))},a); | |
e(null)}; | |
Xea=function(a,b){a.B=b;a.ads=a.Zy(a.A,a.D);a.l=-1}; | |
Yea=function(a,b,c,d){var e=a.C.clone();e.l="";e.g=b.Xb;Tq(a,b,e,c,d)}; | |
Tq=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.o,null!=f&&(c.l=f));a.J.fetch(c,(0,g.z)(function(a){a instanceof Oq?(Zea(a,b,this.B&&b.tb,b.vb),d(a)):a instanceof Uq?e(new en("adLoadError","Ad source cannot contain playlist response.",2)):e(new en("adLoadError","Unknown ad source.",2))},a),e)}; | |
$ea=function(a){var b=0;for(a=a.l;null!=a;)a=a.l,b++;return b}; | |
afa=function(a,b,c){a.g.Yf()?a.g.Ke((0,g.z)(function(a){this.Kp(a,b,(0,g.z)(function(a){this.Yf()?this.Ke(b,c):c(a)},this))},a),(0,g.z)(function(a){Vq(this.ads[this.l],a); | |
this.g=null;P.g()||301!=a.Ib()?this.Yf()?this.Ke(b,c):c(a):c(a)},a)):(0==a.g.o&&Vq(a.ads[a.l],En(Wq)),a.g=null,a.Ke(b,c))}; | |
Vq=function(a,b){if(b.o){1012==b.Ib()&&(b=En(Rq));var c=Cq(b,a),d=a.ha;P.g()&&303==b.Ib()&&(d=(0,g.Kd)(d,function(a){return-1==a.indexOf(".youtube.com/api/stats/ads")})); | |
Bn(d,c)}}; | |
dfa=function(a,b,c){a.l++;var d=a.ads[a.l];d.ca||d.ra?d.ra?Yea(a,d,(0,g.z)(function(a){this.g=a;this.Ke(b,c)},a),(0,g.z)(function(a){a=Xq(a); | |
Vq(d,a);c(a)},a)):$ea(d)>=P.K?(a=En(bfa,null,String(P.K)),Vq(d,a),c(a)):a.F?a.rv(d,(0,g.z)(function(a){this.g=a; | |
this.Ke(b,c)},a),(0,g.z)(function(a){a=Xq(a); | |
Vq(d,a);c(a)},a)):c(En(cfa)):a.Kp(d,b,c)}; | |
Xq=function(a){switch(a.Ib()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=En(Wq)}return a}; | |
Zea=function(a,b,c,d){(0,g.B)(a.ads,function(a){a.l=b}); | |
Xea(a,c);a.F=d}; | |
Yq=function(a){gq.call(this);this.l=(0,window.isNaN)(a)?-1:a}; | |
Zq=function(a,b,c,d){Oq.call(this,[],a,b,c);this.H=d}; | |
$q=function(a){var b=a.ads.length-(0>a.l?1:a.l+1);return null!=a.g&&a.g instanceof Zq?b+$q(a.g):b}; | |
ar=function(a){g.um.call(this,a);this.D=new g.om;a=this.o;var b=a.indexOf(";"),c=null;0<=b?(g.ym(this,a.substring(0,b)),c=a.substring(b+1)):g.ym(this,a);efa(this,c)}; | |
efa=function(a,b){g.C(g.E(b))||(0,g.B)(b.split(";"),function(a){var b=a.indexOf("=");if(0<b){var c=pb(a.substring(0,b));a=pb(a.substring(b+1));b=this.D.get(c);null!=b?g.Pa(b,a)||b.push(a):b=[g.E(a)];this.D.set(c,b)}},a)}; | |
br=function(a,b){if(g.C(g.E(b)))return null;var c=a.D.get(b);return null!=c?c:null}; | |
cr=function(a,b,c){g.C(g.E(b))||(c=g.G(c,g.E),a.D.set(b,c))}; | |
dr=function(a,b){var c=[g.E(b)];Ya(c,ffa(a));return c.join(";")}; | |
ffa=function(a){var b=br(a,"ord");null!=b?g.C(g.E("ord"))||a.D.remove("ord"):b=[g.E((0,g.F)())];var c=[];(0,g.B)(a.D.Bb(),function(a){(0,g.B)(this.D.get(a),function(b){Ya(c,a+"="+b)})},a); | |
Ya(c,"ord="+b[0]);cr(a,"ord",b);return c}; | |
gr=function(a){if(null==a)return!1;a=new g.um(a);var b=a.o;return nb(a.l,"googleads.g.doubleclick.net")&&fr("/pagead/(live/)?ads",b)}; | |
hr=function(a){a=a.g;return null!=a?"bid.g.doubleclick.net"==(new g.um(a)).l:!1}; | |
ir=function(a){if(null==a)return!1;var b=new ar(a);a=b.l;b=dr(b,b.o);return!nb(a,".g.doubleclick.net")&&nb(a,"doubleclick.net")&&fr("/(ad|pfad)[x|i|j]?/",b)}; | |
jr=function(a){if(null==a)return!1;a=new g.um(a);var b=a.o;return nb(a.l,"doubleclick.net")&&fr("/gampad/(live/)?ads",b)}; | |
gfa=function(a){return gr(a.g)||ir(a.g)||jr(a.g)||hr(a)}; | |
lr=function(a){a=a.g;return null!=a?kr(a):!1}; | |
kr=function(a){a=new g.um(a);var b=a.o;return nb(a.l,"youtube.com")&&fr("/get_midroll_info",b)}; | |
hfa=function(a){a=a.g;if(null==a)return null;a=(new g.um(a)).g;return null!=a.get("ms")?g.E(a.get("ms")):null}; | |
fr=function(a,b){return g.C(g.E(b))?!1:(new RegExp(a)).test(b)}; | |
mr=function(a,b,c,d){this.g=a;this.l=b;this.o=c;this.A=null!=d?d:!1}; | |
Go=function(a){a=a.g.Pb().g;return null!=a?a.g:window.NaN}; | |
nr=function(a,b){a.g.H=b;(0,g.B)(a.l,function(a){nr(a,b)},a)}; | |
or=function(a){return kp('<div class="'+R("iv-endcap-background")+'">'+(a.WI?'<a class="'+R("iv-endcap-slot")+'" href="'+R(Ap(a.target))+'" target="_blank"><div class="'+R("iv-endcap-card")+'"><div class="'+R("iv-endcap-image")+'"><img src="'+R(Bp(a.image))+'"></div><div class="'+R("iv-endcap-text")+'" dir='+sp(a.dir)+'><div><div class="'+R("iv-endcap-headline")+'">'+Q(a.headline)+'</div><div class="'+R("iv-endcap-description")+'">'+Q(a.description)+'</div></div></div><div class="'+R("iv-endcap-action")+ | |
'">'+(a.action?Q(a.action):'<span class="'+R("iv-endcap-action-icon")+'"></span>')+"</div></div></a>":'<div class="'+R("iv-endcap-slot")+'"><div class="'+R("iv-endcap-card")+'"><a class="'+R("iv-endcap-image")+'" href="'+R(Ap(a.target))+'" target="_blank"><img src="'+R(Bp(a.image))+'"></a><div class="'+R("iv-endcap-text")+'" dir='+sp(a.dir)+'><a href="'+R(Ap(a.target))+'" target="_blank"><div class="'+R("iv-endcap-headline")+'">'+Q(a.headline)+'</div><div class="'+R("iv-endcap-description")+'">'+ | |
Q(a.description)+'</div></a></div><a class="'+R("iv-endcap-action")+'" href="'+R(Ap(a.target))+'" target="_blank" dir='+sp(a.dir)+">"+(a.action?Q(a.action):'<span class="'+R("iv-endcap-action-icon")+'"></span>')+"</a></div></div>")+'<div class="'+R("iv-endcap-bottom")+'"><svg class="'+R("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+R("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10"/><circle class="'+R("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10"/></svg></div></div>')}; | |
ifa=function(a){var b='<div class="'+R("iv-cards-companion")+'"><div class="'+R("iv-cards-attribution")+'"><span class="'+R("yt-badge")+" "+R("yt-badge-ad")+'">'+kp("Iklan")+"</span>";if(a.advertiserName&&a.Kc){b+='<a class="'+R("ad-companion-clickthrough")+'" href="'+R(Ap(a.Kc))+'" target="_blank">';var c="Beli produk dari "+Q(a.advertiserName);b=b+c+"</a>"}b+='<div class="'+R("yt-uix-hovercard")+" "+R("ad-info-container")+'"><span class="'+R("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+ | |
R("yt-uix-hovercard-content")+'"><p>'+Q(a.Wd)+'</p></div></div></div><div class="'+R("iv-cards-slider")+'"><div class="'+R("iv-cards-slider-body")+'"><ul class="'+R("iv-cards-slider-list")+'">';c=a.cards;for(var d=c.length,e=0;e<d;e++){var f=c[e],k='<li class="'+R("iv-cards-slider-item")+'">';f=kp('<div class="'+R("iv-cards-slider-unit")+'"><a href="'+R(Ap(f.target))+'" target="_blank"><div class="'+R("iv-cards-slider-image")+'"><span class="'+R("iv-cards-image-helper")+'"></span><img src="'+R(Bp(f.image))+ | |
'"></div><div class="'+R("yt-ui-ellipsis")+" "+R("yt-ui-ellipsis-4")+" "+R("iv-cards-slider-text")+'">'+Q(f.headline)+'</div><span class="'+R("iv-cards-slider-action")+'">'+Q(f.action)+"</span></a></div>");b+=k+f+"</li>"}b+="</ul></div>"+(a.EV?'<button class="'+R("iv-cards-slider-button")+" "+R("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+R("iv-cards-slider-prev-icon")+" "+R("yt-uix-tooltip")+" "+R("yt-sprite")+'" data-tooltip-text="'+R(a.HD)+'" title="'+R(a.HD)+ | |
'"></span></button><button class="'+R("iv-cards-slider-button")+" "+R("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+R("iv-cards-slider-next-icon")+" "+R("yt-uix-tooltip")+" "+R("yt-sprite")+'" data-tooltip-text="'+R(a.rC)+'" title="'+R(a.rC)+'"></span></button>':"")+"</div></div>";return kp(b)}; | |
jfa=function(a){return kp('<div class="'+R("iv-website-companion")+'"><div class="'+R("yt-uix-hovercard")+" "+R("ad-info-container")+" "+R("iv-website-companion-ad-info")+'"><span class="'+R("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+R("yt-uix-hovercard-content")+'"><p>'+Q(a.Wd)+'</p></div></div><a href="'+R(Ap(a.target))+'" target="_blank">'+(a.bannerImageUrl?'<img class="'+R("iv-website-companion-banner")+ | |
'" src="'+R(Bp(a.bannerImageUrl))+'">':"")+'<div class="'+R("iv-website-companion-block")+'"><div class="'+R("iv-website-companion-icon")+'"><img src="'+R(Bp(a.iconImageUrl))+'"></div><div class="'+R("iv-website-companion-text")+'"><div class="'+R("iv-website-companion-header")+'">'+Q(a.headline)+'</div><div class="'+R("iv-website-companion-desc")+'"><span class="'+R("yt-badge")+" "+R("yt-badge-ad")+'">'+kp("Iklan")+'</span><span class="'+R("iv-website-companion-domain")+'">'+Q(a.descriptionText)+ | |
'</span></div></div><div class="'+R("iv-website-companion-action")+" "+R("yt-uix-button-size-default")+" "+R("yt-uix-button-primary")+'">'+(a.actionTitle?Q(a.actionTitle):'<span class="'+R("iv-website-companion-action-icon")+'"></span>')+"</div></div></a></div>")}; | |
kfa=function(a){var b=pr(a);if(!b)return{};var c=qr(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:rr(b.od()),merchant:rr(sr(c)),image:{thumbnails:[{url:tr(b).getImageUrl()}]},priceText:rr(ur(c)),clickthroughEndpoint:vr(wr(xr(a)))}}:{}}; | |
rr=function(a){return{runs:[{text:a}]}}; | |
vr=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}}; | |
yr=function(a){return{baseUrl:a}}; | |
zr=function(a,b){this.g=a;this.l=b}; | |
Mp=function(a){return a.l?-1:a.g}; | |
Lp=function(a,b){a.l&&(a.l=!1,a.g=a.g*b/100)}; | |
lfa=function(a,b,c){b=c||b;a=a||{};return""+op("a",a.ao)(a,b)}; | |
nfa=function(a){a=a||{};var b=kp,c='<div class="'+R("videoAdUiAttributionIconContainer")+" "+R("standAloneAdInfoButton")+'"><div class="'+R("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+R("videoAdUiAdInfoPopup")+'"><div class="'+R("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+R("videoAdUiAdInfoPopupText")+'" ';var d=Dp(a.Wd);hp(d,Ar)?d=d.cd().replace(/([^"'\s])$/,"$1 "):(d=String(d),d=mfa.test(d)?d:"zSoyz");return b(c+d+">"+Q(a.Wd)+"</div></div></div>")}; | |
ofa=function(a){return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+'"><div class="'+Q("videoAdUiAttributionContainer")+" "+Q("videoAdUiAttributionContainer-gvn")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Dp(a.gf))+">"+Q(a.gf)+'</div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'}; | |
pfa=function(a){return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+'"><div class="'+Q("videoAdUiAttributionContainer")+" "+Q("videoAdUiAttributionContainer-gvn")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Dp(a.gf))+">"+Q(a.gf)+'</div></div><div class="'+Q("videoAdUiLearnMoreText")+" "+Q("videoAdUiLearnMoreText-gvn")+'">'+Q(a.vh)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiProgress")+ | |
'"></div></div></div>'}; | |
Br=function(){return kp('<div class="'+R("videoAdUiPreSkipContainer")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'"></div><div class="'+R("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')}; | |
qfa=function(a){a=a||{};return kp('<div class="'+R("videoAdUiPreSkipContainer")+" "+R("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'">You can skip to'+Q(a.zp)+'video in</div><div class="'+R("videoAdUiPreSkipThumbnail")+'"><div class="'+R("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+R("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')}; | |
Cr=function(a){a=a||{};return"Video Anda akan dimulai dalam "+Q(a.ie)}; | |
rfa=function(a){return kp('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandPrecapContent")+'"><div class="'+R("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+R("videoAdUiBrandPrecapBrandImage")+'" src="'+R(Bp(a.ZI))+'"></div><div class="'+R("videoAdUiBrandPrecapTextContainer")+'"><div class="'+R("videoAdUiBrandPrecapBrandName")+'">'+Q(a.brandName)+'</div><div class="'+R("videoAdUiBrandPrecapBrandMessage")+ | |
'">'+Q(a.aJ)+"</div></div></div></div>")}; | |
sfa=function(a){return kp('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><img class="'+R("videoAdUiBrandPrecapAutoGenImage")+'" src="'+R(Bp(a.XI))+'"></div>')}; | |
tfa=function(a){a=a||{};return kp('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("html5-stop-propagation")+'"><span class="'+R("videoAdUiBrandInteractionPreMessageText")+'">'+Q(a.preMessageText)+'</span><div class="'+R("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+R("videoAdUiBrandInteractionButton")+" "+R("videoAdUiBrandInteractionLikeButton")+'"><div class="'+R("videoAdUiBrandInteractionIcon")+" "+R("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+ | |
R("videoAdUiBrandInteractionMessageBox")+" "+R("videoAdUiLikeMsg")+'"></span></div><div class="'+R("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+R("videoAdUiBrandInteractionButton")+" "+R("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+R("videoAdUiBrandInteractionIcon")+" "+R("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+R("videoAdUiBrandInteractionMessageBox")+" "+R("videoAdUiDislikeMsg")+'"></span></div></div>')}; | |
ufa=function(a){return kp('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandInteractionPostMessageText")+'">'+Q(a.postMessageText)+"</div></div>")}; | |
vfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+'"><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+'">'+Q(a.Jv)+'<div class="'+Q("videoAdUiSkipIcon")+'"></div></button></div>'}; | |
wfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+'"><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+'"><div class="'+Q("videoAdUiSkipButtonExperimentalText")+'">'+Q(a.Jv)+'</div><div class="'+Q("videoAdUiSkipIcon")+'"></div></button></div>'}; | |
xfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+" "+Q("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+Q("videoAdUiSkipText")+'">'+Q(a.Jv)+'</div><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+" "+Q("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+Q("videoAdUiSkipIconContainer")+'"><div class="'+Q("videoAdUiSkipIcon")+'"></div></div></button></div>'}; | |
Dr=function(a){var b="";2<=a.qq&&1<=a.tn?(a="Iklan "+(Q(a.tn)+(" dari "+(Q(a.qq)+(" "+Q(a.oq))))),b+=a):(a="Iklan "+Q(a.oq),b+=a);return b}; | |
Hr=function(){var a=Er(),b=kp("</a>");return kp("<div class='"+R("videoAdUiAdSettingsLongTooltip")+"'>"+Fr({Qx:Gr(""+Q(a)),Py:Gr(""+Q(b))})+"</div>")}; | |
Fr=function(a){a="Kunjungi "+(Q(a.Qx)+("Setelan Iklan"+(Q(a.Py)+" Google untuk mempelajari lebih lanjut cara iklan ditargetkan atau memilih untuk tidak ikut serta dalam iklan hasil personalisasi.")));return kp(a)}; | |
Ir=function(){return kp("Video yang sedang Anda tonton.")}; | |
Er=function(){return kp('<a href="https://adssettings.google.com" target="_blank">')}; | |
Jr=function(a){return kp((a.bw?"<div class='"+R("videoAdUiPopupBackgroundMobile")+"'>":"<div class='"+R("videoAdUiPopupBackground")+"'>")+"<div class='"+R("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=\''+R("videoAdUiPopupPositioner")+"'><form class='"+R("videoAdUiPopupFrame")+"'><div class='"+R("videoAdUiPopupHeading")+ | |
" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.heading)+"</div><div class='"+R("videoAdUiPopupText")+"'>"+Q(a.message)+"</div><div class='"+R("videoAdUiPopupButtons")+"'>"+Q(a.buttons)+"</div></form></div></div>")}; | |
yfa=function(a){for(var b="<ul class='"+R("videoAdUiWhyThisAdReasons")+" "+R("videoAdUiHideIfEmpty")+"'>",c=a.targetingReasons,d=c.length,e=0;e<d;e++)b+="<li>"+Q(c[e])+"</li>";b+="</ul><div class='"+R("videoAdUiWhyThisAdGenericMessage")+"'>"+Q(a.es)+"</div><a class='"+R("videoAdUiWhyThisAdMute")+" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.mute)+"</a><a class='"+R("videoAdUiWhyThisAdControl")+" "+R("videoAdUiHideIfEmpty")+"' href='https://adssettings.google.com' target='_blank'>"+Q(a.control)+"</a>";a= | |
""+Jr({heading:Gr(""+Q(a.heading)),message:Gr(b),buttons:Gr("<button class='"+R("videoAdUiWhyThisAdCloseButton")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.close)+"</button>"),bw:a.bw});return kp(a)}; | |
zfa=function(a){for(var b=""+Q(a.question),c=a.options,d=c.length,e=0;e<d;e++){var f=c[e];b+="<label for='"+R("videoAdUiMuteOption")+R(e)+"'><input type='radio' id='"+R("videoAdUiMuteOption")+R(e)+"' name='"+R("videoAdUiMuteOption")+"' class='"+R("videoAdUiMuteOption")+R(e)+"'/>"+Q(f)+"</label>"}a=""+Jr({heading:Gr(Q(a.heading)+" <a class='"+R("videoAdUiMuteUndo")+"'>"+Q(a.undo)+"</a>"),message:Gr(b),buttons:Gr("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+ | |
"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")});return kp(a)}; | |
Afa=function(a){var b=String(""+a.heading);return kp(Jr({heading:b?new ep(b,void 0):"",message:Gr(""+Q(a.message)),buttons:Gr("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")}))}; | |
Bfa=function(){return kp("<div class='"+R("videoAdUiMuteToggleButton")+"'><div class='"+R("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=\''+ | |
R("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>')}; | |
Kr=function(a,b,c){$p.call(this,"1",Cfa,"Html",null,"dummy");this.D=0;this.ya=a.length;cq(this,new g.Km(this));this.M=Dfa(a,b);this.Sa=g.J("iv-cards-slider-list",this.M);if(this.T=g.J("iv-cards-slider-prev",this.M))this.o.U(this.T,"click",this.La),g.O(this.T,!1);(this.ca=g.J("iv-cards-slider-next",this.M))&&this.o.U(this.ca,"click",this.Hb);a=g.J("ad-companion-clickthrough",this.M);this.o.U(this.M,"click",g.Ga(function(a,b,c){c.target!=a&&Bn(b)},a,c))}; | |
Dfa=function(a,b){var c=(0,g.G)(a,function(a){var b=pr(a),c=qr(b);a=xr(a);return{headline:b.od(),description:Lr(b,"description"),image:tr(b).getImageUrl(),action:ur(c),target:wr(a),merchant:sr(c)}}),d=3<a.length; | |
return pq(ifa,{cards:c,advertiserName:c[0].merchant,rC:kp("Berikutnya"),HD:kp("Sebelumnya"),Wd:Hr(),Kc:b,EV:d})}; | |
Mr=function(a){a.Sa.style.left=125*-a.D+"px";a.T&&g.O(a.T,0<a.D);a.ca&&g.O(a.ca,a.D<a.ya-3)}; | |
Pr=function(a){$p.call(this,"1",Efa,"Html",null,"website_actions_companion");cq(this,new g.Km(this));var b=a.g(),c=b&&b.yg(),d=b&&b.po();a=xr(a);b={headline:b&&b.od()||"",iconImageUrl:c&&c.getImageUrl()||"",bannerImageUrl:d&&d.getImageUrl()||"",actionTitle:a&&Nr(a)||"",descriptionText:b&&Or(b)||"",target:a&&wr(a)||"",Wd:Hr()};this.D=pq(jfa,b)}; | |
Ffa=function(){if(!g.xd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}; | |
Sr=function(a,b){if(b&&!a)throw Error("Can't create document with namespace and no root tag");if(window.document.implementation&&window.document.implementation.createDocument)return window.document.implementation.createDocument(b||"",a||"",null);if(Qr){var c=Rr();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");}; | |
g.Tr=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(Qr){var b=Rr();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");}; | |
Ur=function(a){var b=a.xml;if(b)return b;if("undefined"!=typeof window.XMLSerializer)return(new window.XMLSerializer).serializeToString(a);throw Error("Your browser does not support serializing XML documents");}; | |
Rr=function(){var a=new window.ActiveXObject("MSXML2.DOMDocument");a.resolveExternals=!1;a.validateOnParse=!1;try{a.setProperty("ProhibitDTD",!0),a.setProperty("MaxXMLSize",2048),a.setProperty("MaxElementDepth",256)}catch(b){}return a}; | |
Vr=function(a){return En(Gfa,null,a.parentNode.nodeName,a.nodeName)}; | |
Wr=function(a){return En(Hfa,null,a.parentNode.nodeName,a.nodeName)}; | |
Xr=function(a){var b=Sr(a.tagName,a.namespaceURI),c=g.Nd(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}; | |
Yr=function(a,b){return null!=a?(0,g.Kd)(g.Ld(a),function(a){return a.nodeName==b}):[]}; | |
Zr=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null}; | |
$r=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=zb(c);return b?sb(c):c}; | |
as=function(a,b,c,d){if(null!=a){a=g.Ld(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw Vr(k);c.call(d,k)}}}; | |
bs=function(a){a=g.E(a);return g.C(a)?window.NaN:Eb(a)}; | |
cs=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new go(0,0,0,Eb(c[0]),Eb(c[1]),Eb(c[2])),60*(60*(24*c.days+c.hours)+c.minutes)+c.seconds}return null!=b?b:-1}; | |
ds=function(a,b){var c=g.E(a);if(!g.C(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1}; | |
gs=function(a,b,c){var d=new Fp;as(a,"Tracking",function(a){var b=Zr(a,"event"),e=$r(a);es(e)&&null!=b&&(null!=c&&(e=c(b,e)),"progress"==b?(a=Zr(a,"offset"),a=fs(a),null!=a&&Kp(d,b,e,a)):Kp(d,b,e))}); | |
return d}; | |
Ifa=function(a){if(g.C(g.E(a)))return null;a=new g.um(a);if("thismessage"!=a.A||"extensions"!=a.l)return null;a=a.o;if(!g.lb(a,"/"))return null;a=a.substr(1);return g.C(g.E(a))?null:a}; | |
fs=function(a){if(g.C(g.E(a)))return null;var b=a.indexOf("%");if(0<b){if(a=Number(a.substr(0,b)),!(0,window.isNaN)(a)&&0<=a)return new zr(a,!0)}else if(a=cs(a),0<=a)return new zr(a,!1);return null}; | |
es=function(a){if(g.C(g.E(a)))return!1;try{new g.um(a)}catch(b){return!1}return!0}; | |
hs=function(a,b){gq.call(this);this.l=a;this.o=b}; | |
is=function(){}; | |
js=function(a,b){gq.call(this,b);this.l=a}; | |
ks=function(a){gq.call(this);this.l=a}; | |
ms=function(a,b,c,d,e,f,k,l,m,n,p,r,v,D){this.ya=a;this.na=b;this.M=c;this.Nb=d;this.Na=(0,window.isNaN)(e)||""==e||0==e?-1:e;this.ha=f?g.Xa(f):[];this.X=k?g.Xa(k):[];this.D=l?g.Xa(l):[];this.ga=[];this.H=[];this.J=null;this.Z=[];this.Ga=!0;this.l=this.g=this.F=null;this.T=new g.om(n);this.ra=null!=D;this.tb=(this.ca=null!=p)?r||!1:!1;this.vb=this.OL?v||!1:!1;this.Wb=g.E(p);this.Xb=g.E(D);this.Hb=this.o=null;this.A=new oea;this.Y=new g.I(0,0);this.I=String(Math.floor(1E9*Math.random()));this.Wa=this.ea= | |
this.K=this.C=null;this.sb=(0,g.F)();this.Sa=this.La=0;this.sa=this.ab=!1;this.B=[];this.fa=null;this.Da=!1;(0,g.B)(this.D,function(a){a.H=this},this); | |
ls(this,m)}; | |
Jq=function(a){var b=a.getExtension("AdFormat",!0);if(null!=b&&nb(b.l+"_"+b.o+"_"+b.A,"2_4"))return b.l+"_"+b.o+"_"+b.A;b=ns(a);b=os(a,ps)?"14":No(b,"hideMaster")||No(b,"blockAllAds")?"3":a.Vb()?qs(a)?"2_3":a.isSkippable()?rs(a)?"2_1":"2_2":"2":"1";return Jfa(a)+"_"+b}; | |
Jfa=function(a){if(Kq(a))return 4;if(os(a,ps))return 14;if(ts(a,Kfa))return 17;if(ts(a,Lfa))return 15;if(ts(a,Mfa)||ts(a,Nfa))return 1;var b=nn();return b&&b.g("fix_petra_ad_format")&&(null!=a.o?(b=a.o.g,null!=b&&nb(b,"/PrefetchedAd")&&null!=a.l&&(b=a.l.T.get("LocalRedirect"),b=null!=b?b.gh():null)):b=null,null!=b&&(jr(b)||ir(b)))?1:us(a)?2:0}; | |
vs=function(a){return null!=a.na?a.na:""}; | |
ws=function(a){return null!=a.l?g.Wa(ws(a.l),a.ha):a.ha}; | |
xs=function(a){return null!=a.l?g.Wa(xs(a.l),a.X):a.X}; | |
ys=function(a){return null!=a.l?g.Wa(a.H,ys(a.l)):a.H}; | |
ns=function(a){return null!=a.g?a.g.F:{}}; | |
Ofa=function(a){var b={};(0,g.B)(a.D,function(a){a=a.F;for(var c in a)b[c]=a[c]}); | |
return b}; | |
zs=function(a){return null!=a.g?a.g.sa:""}; | |
As=function(a){return a.getExtension("why_this_ad",!0)}; | |
Bs=function(a){return a.getExtension("mute",!0)}; | |
Cs=function(a,b){var c=[];(0,g.B)(a.T.ub(),function(a){Ya(c,hq(a,b))}); | |
return c}; | |
Lq=function(a,b){a.g=b;a.Y=new g.I(0,0);if(null!=a.g){a.g instanceof $p&&(a.Y=a.g.de());var c=a.l;if(null!=c){var d=Rp(a.g,c)||Rp(a.g,c,!0);Lq(c,d)}}P.g()&&Pfa(a)&&g.Qa(ys(a))?P.g()&&P.o?(c=a.B,g.Qa(c)?c={}:(d=pr(c[0])&&qr(pr(c[0]))&&sr(qr(pr(c[0])))||"",d="Beli produk dari "+Q(d),d=kp(d),c={shoppingCompanionCarouselRenderer:{shopText:rr(sb(d.toString())),itemList:{horizontalListRenderer:{items:(0,g.G)(c,kfa),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:rr(kp("Iklan").toString()),clickToAdvSiteEndpoint:vr(Ds(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.G)(Cs(a,"companionClick"),yr)}],impressionEndpoints:[{loggingUrls:(0,g.G)(Cs(a,"companionImpression"),yr)}]}}),a.F=c):Qfa(a,a.B):P.g()&&g.Qa(ys(a))&&!nn().g("website_actions_holdback")&&Es(a,a.B)}; | |
Fs=function(a){return null!=a.ya?a.ya:""}; | |
Hs=function(a){var b=nn(),c=!1;b&&b.g("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.l||Gs(a.l.M)&&!c)return[];b=[Fs(a.l)];Ya(b,Hs(a.l));return b}; | |
Gq=function(a){var b=Hs(a).reverse();b.push(Fs(a));return b}; | |
Is=function(a){if(null==a.l||Gs(a.l.M))return[];var b=a.l.g;null!=b?(b=b.ga,b=null!=b?b:""):b="";b=[b];Ya(b,Is(a.l));return b}; | |
Js=function(a){var b=nn(),c=!1;b&&b.g("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.l||Gs(a.l.M)&&!c)return[];b=[vs(a.l)];Ya(b,Js(a.l));return b}; | |
Ks=function(a){if(a.l){var b=Ks(a.l);if(b)return b}return(a=a.getExtension("metrics"))?a.l:null}; | |
Iq=function(a){return(a=a.getExtension("viral",!0))?a.l:null}; | |
Hq=function(a){var b=Js(a).reverse();b.push(vs(a));return b}; | |
Gs=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a}; | |
Ls=function(a){if(null==a.l)return[a.M];var b=Ls(a.l);b.push(a.M);Gs(b[0])&&b.shift();return b}; | |
Ms=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.pe()?a.pe():-1}; | |
Ns=function(a){if(-1!=a.Na)return a.Na;a=a.getExtension("pod");return null!=a&&-1!=a.l?a.l:-1}; | |
Os=function(a){a.Da||(a.Da=!0,a.fa.I++,null!=a.l&&Os(a.l))}; | |
Ps=function(a){if(a.fa instanceof Zq){var b=a.fa;if(0<$q(b))return b}return null!=a.l?Ps(a.l):null}; | |
Qs=function(a,b,c,d){a=ys(a);return Io(new Fo(new g.I(b,c),d),a)}; | |
Rs=function(a){var b=a.o.Oj,c=a.o.Nj;if(!b||!c)if(a=a.o.g?Tg(a.o.g,"sz"):null)a=a.split("x"),2==a.length&&(b=(0,window.parseInt)(a[0],10)||0,c=(0,window.parseInt)(a[1],10)||0);return new g.I(b,c)}; | |
Rfa=function(a,b){var c=g.La(a.Z,function(a){return 4==a.Ub()&&Ss(a.Le())}); | |
if(c){var d=c.g();if(!d.yg().getImageUrl()){var e=new Ts;e.data.image_url=b.channelIconThumbnailUrl;d.yg=function(){return e}}d.od()||(d.od=function(){return b.authorName}); | |
c.g=function(){return d}}}; | |
Sfa=function(a){var b=(0,g.Kd)(a,function(a){return Ss(a.Le())}); | |
0==b.length&&0<a.length&&nn().g("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b}; | |
Qfa=function(a,b){var c=(0,g.Kd)(b,function(a){return Us(a.Le())}); | |
g.Qa(c)&&(c=b);c=new Kr(c,Ds(a),Cs(a,"companionClick"));c.H=a;c.C=!0;Vs(a,new mr(c,[],null,!0))}; | |
Tfa=function(a,b){var c=g.La(a.B,function(a){return 4==a.Ub()&&Us(a.Le())}); | |
if(!c)return null;var d=c.g();if(!d.yg().getImageUrl()){var e=new Ts;e.data.image_url=b.channelIconThumbnailUrl;d.yg=function(){return e}}if(!d.po().getImageUrl()){var f=new Ts,k=g.La(ys(a),function(a){return"Image"==a.nd()}); | |
f.data.image_url=k&&k.g.l||b.g;d.po=function(){return f}}d.od()||(d.od=function(){return b.authorName}); | |
c.g=function(){return d}; | |
return c}; | |
Es=function(a,b){var c=g.La(b,function(a){return 4==a.Ub()&&Us(a.Le())}); | |
if(c){var d=c.g(),e=d&&d.yg().getImageUrl(),f=d&&d.po().getImageUrl(),k=d&&d.od();e&&f&&k&&(P.o?(c=xr(c),a.F={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&Nr(c)||void 0,descriptionText:d&&Or(d)||void 0,target:c&&wr(c)||void 0,impressionEndpoints:[{loggingUrls:(0,g.G)(Cs(a,"companionImpression"),function(a){return{baseUrl:a}})}]}}):(d=new Pr(c),d.H=a,d.C=!0,Vs(a,new mr(d,[],null,!0))))}}; | |
Ufa=function(a){if(!a.o||Ws(a)&&!os(a,["ADSENSE/ADX"]))return[];var b=Rs(a);if(0>=b.width||0>=b.height)return[];var c=new Bo;c.creativeType="All";c.o="All";c.A="SelectNearMatch";c.g=40;var d=Qs(a,b.width,b.height,c);if(!g.Qa(d))return d;c.l="ResizeSmaller";d=(0,g.Kd)(ys(a),function(a){return a.g.Pl()},a); | |
return Io(new Fo(new g.I(b.width,b.height),c),d)}; | |
Ys=function(a){if(g.Qa(a.Z))return!1;var b=nn();if(15>Xs(a))return!1;var c=Vfa,d=a.Z[0].Ub();if(d==c.xx){var e=a.Z[0].g();a=e&&e.yg().getImageUrl();e=e&&e.od();if(!a||!e)return!1}return b.g("enable_ad_video_end_renderers")&&d==c.wI||!b.g("website_actions_holdback")&&d==c.xx}; | |
Wfa=function(a){var b=null,c=0;(0,g.B)(Ufa(a),function(a){var d=Rs(this);d=!a.g.Pl()||a.Cb()<=d.width&&a.getHeight()<=d.height?a.g.de():Ko(a.g.de(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a); | |
return b}; | |
Zs=function(a,b){return b||null==a.l?a.ga:g.Wa(a.ga,Zs(a.l))}; | |
ls=function(a,b){a.ga=b?g.Xa(b):[];(0,g.B)(a.ga,function(a){Ya(this.H,g.Xa(a.g))},a); | |
(0,g.B)(a.H,function(a){nr(a,this)},a); | |
if(P.g()&&(a.Vb()&&(a.H=(0,g.Kd)(a.H,function(a){return 60>=a.getHeight()})),P.o)){var c=a.H&&a.H[0]; | |
if(c&&"Static"===c.g.K){var d=c.g.qf(),e=c.g.J;Ya(e,Cs(a,"companionClick"));var f=Cs(a,"companionImpression"),k=c.Cb(),l=c.getHeight();a.F={imageCompanionAdRenderer:{impressionCommands:[{loggingUrls:(0,g.G)(f,function(a){return{baseUrl:a}}), | |
pingingEndpoint:{hack:!0}}],onClickCommands:[{loggingUrls:(0,g.G)(e,function(a){return{baseUrl:a}}), | |
pingingEndpoint:{hack:!0}}],image:{thumbnail:{thumbnails:[{url:c.g.l,width:k,height:l}]}},clickthroughEndpoint:{urlEndpoint:{url:d}}}}}}}; | |
$s=function(a,b){return(0,g.Aj)(a.D,function(a){return a instanceof Tp&&"linear"==b||a instanceof $p&&"nonlinear"==b?!0:!1})}; | |
at=function(a){var b=a.g;return Ws(a)&&null!=b&&b instanceof $p&&(90<a.Y.height||null!=a.o&&a.o.Aj)}; | |
bt=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:bt(a,b.l)}; | |
Xfa=function(a,b){var c=ct(a);if(!c)return null;Lp(c,b);return Mp(c)}; | |
ct=function(a){var b=a.l,c=bt(a,b);if(null!=c){if("skippable"==c.l)return c.o;if("nonskippable"==c.l)return null}c=null;var d=new zr(5,!1),e=Yfa(a);"implicit"==e&&(c=d);var f=a.g;null==c&&null!=f&&f instanceof Tp&&(c=f.C);null!=c||"explicit"!=e||(c=d);e=nn();return P.g()&&a.Vb()&&null!=c?e.g("enable_skip_button_offset_mutation")?c:d:null==c&&null!=b&&e.g("ima_check_wrapper_skippability")?ct(b):c}; | |
Yfa=function(a){if(null!=g.La(a.T.ub(),function(a){return!g.Qa(hq(a,"skip"))}))return"implicit"; | |
var b=a.T.get("DFP");if(b instanceof js)switch(b.l){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.g;return P.g()&&null!=a&&(a=a.Sj,null!=a&&!g.Qa(Ip(a,"skip")))?"explicit":"none"}; | |
rs=function(a){return null!=a.na&&null!=a.o?!0:!1}; | |
Ds=function(a){return null===a.g?null:a.g.qf()}; | |
Xs=function(a){return null!=a.g?a.g.getDuration():-1}; | |
dt=function(a){return null===a.J?Ys(a)?7:0:10}; | |
et=function(a){return null===a.g?null:a.g.tt()}; | |
ft=function(a){return null===a.g?null:a.g.qt()}; | |
Ws=function(a){return os(a,gt)||os(a,["ADSENSE-VIRAL"])}; | |
Kq=function(a){return null!=a.l&&Kq(a.l)||os(a,Zfa)}; | |
qs=function(a){var b=et(a);return os(a,["402"])||g.u(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")}; | |
ht=function(a){return Ws(a)&&rs(a)&&!a.isBumper()&&!g.C(g.E(a.C))&&null!==ct(a)&&0<Mp(ct(a))}; | |
us=function(a){return ts(a,gt)||ts(a,["402"])}; | |
it=function(a){a=a.getExtension("InfoCards");return null!=a?a.l:null}; | |
jt=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.l:null}; | |
os=function(a,b){return null!=a.na?g.Pa(b,a.M):!1}; | |
ts=function(a,b){for(var c=Ls(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.Pa(b,c[d]))return!0;break}return!1}; | |
Vs=function(a,b){a.H=[b]}; | |
Pfa=function(a){return a.Vb()&&0<a.B.length&&(0,g.cm)(a.B,function(a){return 1==a.Ub()})}; | |
kt=function(a){return 0<a.B.length&&(0,g.cm)(a.B,function(a){return 4==a.Ub()})}; | |
lt=function(a,b){g.Cf.call(this);this.g=a;this.Ee=new g.Km(this);g.N(this,this.Ee);this.Ee.U(b,["companion_impression","companion_click"],this.l)}; | |
mt=function(){g.Cf.call(this);this.C=this.H=this.J=this.D=!1;this.g=0;this.o=[];this.F=!1;this.M=this.K=window.Infinity;this.l=0;this.B=!1;this.A=new g.Km(this);this.I={}}; | |
$fa=function(a){nt(a);!(a.ii instanceof g.Cf)&&"ontouchstart"in window.document.documentElement&&Qn()?(a.I={touchstart:(0,g.z)(a.qU,a),touchmove:(0,g.z)(a.UK,a),touchend:(0,g.z)(a.pU,a)},g.Kb(a.I,function(a,c){this.ii.addEventListener(c,a,!1)},a)):a.A.U(a.ii,"click",a.bA)}; | |
nt=function(a){a.A.Ea(a.ii,"click",a.bA);g.Kb(a.I,function(a,c){this.ii.removeEventListener(c,a,!1)},a); | |
a.I={}}; | |
aga=function(a,b){a.o=[];(0,g.B)(b,function(a){g.Sa(this.o,a.identifier)},a)}; | |
ot=function(a,b){return(0,g.Aj)(b,function(a){return g.Pa(this.o,a.identifier)},a)}; | |
pt=function(a){if(!cga.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(dga,"#$1$1$2$2$3$3$4$4"));a=a.toLowerCase();return[(0,window.parseInt)(a.substr(1,2),16),(0,window.parseInt)(a.substr(3,2),16),(0,window.parseInt)(a.substr(5,2),16),(0,window.parseInt)(a.substr(7,2),16)/255]}; | |
qt=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"}; | |
g.rt=function(){g.Cf.call(this);this.g=0;this.endTime=this.startTime=null}; | |
tt=function(a,b){g.Aa(b)||(b=[b]);var c=(0,g.G)(b,function(a){return g.u(a)?a:a.property+" "+a.duration+"s "+a.timing+" "+a.delay+"s"}); | |
g.oh(a,"transition",c.join(","))}; | |
ut=function(a,b,c,d,e){g.rt.call(this);this.l=a;this.B=b;this.D=c;this.o=d;this.C=g.Aa(e)?e:[e]}; | |
vt=function(a,b){g.Cf.call(this);this.D=b;this.pa=a;this.Ri=null;this.W=new g.Km(this);g.N(this,this.W);this.l=new mt;g.N(this,this.l);var c=Fe(Ne(a.g),Te,6);this.A=(this.g=null!=Be(c,5)&&!!Be(c,5))||null==Be(c,7)?"#000000FF":Be(c,7);this.o=this.g||null==Be(c,8)?"#FFFFFFFF":Be(c,8);c=this.g?{XI:g.E(Be(c,6))}:{brandName:g.E(Be(c,1)),aJ:g.E(Be(c,3)),ZI:g.E(Be(c,2))};this.Qe=ega(this,c);null!=this.Qe&&g.O(this.Qe,!1);b.appendChild(this.Qe);this.W.U(this.l,"click",this.C);this.l.Fb(this.Qe)}; | |
ega=function(a,b){if(a.g){var c=pq(sfa,b);var d=g.J("videoAdUiBrandPrecapAutogenImage",c)}else{c=pq(rfa,b);d=g.J("videoAdUiBrandPrecapContent",c);null!=a.A&&(c.style.backgroundColor=qt(pt(a.A)));if(null!=a.o){var e=g.J("videoAdUiBrandPrecapBrandName",d),f=g.J("videoAdUiBrandPrecapBrandMessage",d);e.style.color=qt(pt(a.o));f.style.color=qt(pt(a.o))}d=g.J("videoAdUiBrandPrecapImageContainer",d);d=g.J("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.c5=function(){return!1}); | |
return c}; | |
wt=function(a,b){(new ut(a.Qe,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()}; | |
xt=function(a,b){var c=g.Zd(g.Od(a.D),"html5-video-player");null!=c&&g.U(c,"ytp-ad-display-override",b)}; | |
zt=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.um("//www.youtube.com/gen_204");g.vm(d,"https");c=Hm(c);zm(d,c);d=d.toString();d=g.Tm(d,a.pa.Hb);xn(d)}; | |
At=function(a,b,c,d,e,f){gq.call(this,f);this.o=a;this.B=b;this.C=c;this.A=d;this.l=e}; | |
Bt=function(a){return null!=a.l?a.l.length:0}; | |
Ct=function(a,b,c,d,e,f,k,l,m,n){gq.call(this,e);this.l=a;this.A=b;this.B=c||"";this.C=d||[];this.o=f||null;this.F=k||null;this.J=l||null;this.D=m||null;this.I=n||null}; | |
Dt=function(a,b){this.A=a;this.l=b;this.o=this.W=this.B=this.g=null;this.C=uj()}; | |
Ft=function(a,b,c){null!=b&&(a.W=new g.Km(a),a.o=new g.Cf,a.o.Lh(c),a.B=b,a.yD(),Et(a,"why_this_ad_url"))}; | |
Gt=function(a,b,c){b=g.J(b,a.g);null!=b&&a.W.U(b,"click",c)}; | |
Ht=function(a,b,c){null!=a.g&&a.g.parentElement.removeChild(a.g);a.g=pq(b,c);Gt(a,"videoAdUiPopupCloseIcon",a.tj);a.B.appendChild(a.g);b=g.J("videoAdUiPopupFrame",a.g);null!=b&&g.of(b,"submit",function(a){a.preventDefault()}); | |
a=g.J("videoAdUiPopupDefaultButton",a.g);null!=a&&a.focus()}; | |
Et=function(a,b){null!=a.o&&a.o.dispatchEvent(b)}; | |
It=function(){this.gf=Dr({oq:"",tn:0,qq:0});this.vh="Pelajari Lebih Lanjut "+Q({cW:""}.cW);this.visitAdvertiserText="Kunjungi Situs Pengiklan";this.Wd=Hr();this.skipOffset=null;this.F=this.Ga=this.M=this.T=!1;this.I=null;this.Z=6E3;this.o=!0;this.ca=!1;this.fa=this.A=this.ea=!0;this.B=!1;this.J=!P.C;this.na=this.ha=this.ga=!1;this.D=!0;this.K=this.ya=this.sa=this.ab=this.C=!1;this.Hb={};this.X=null;this.showContentThumbnail=!0;this.H=!1;this.g=null;this.ra=!1;this.Vi=-1;this.Da=!1;this.breakType= | |
0}; | |
Jt=function(a,b,c,d,e,f){var k=new It;k.C=a;k.La=b;k.skipOffset=c;k.Y=null!=e?e.contentId:null;k.ea=e.BW;k.X=lfa;k.Na=tq(b,null!=c,e.pj);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.g=e.Wz;k.ra=e.uJ;null!=f&&(k.Hb=f);null==c&&(a=nn(),d&&a.g("show_countdown_on_bumper")&&(k.M=!0,k.T=!0),a.g("show_thumbnail_on_standard")&&(k.T=!0),!d&&a.g("persist_text_on_preview_button")&&(k.Ga=!0));P.g()&&null!=k.g&&null!=Be(k.g,1)&&(d=Ne(k.g),null!=Be(d,6)&&(d=Fe(d,Te,6),null!=Be(d,5)&&(Be(d, | |
5)&&null!=Be(d,6)||null!=Be(d,1)&&null!=Be(d,2)&&null!=Be(d,3))&&(k.F=!0,null!=Be(d,4)&&(k.I=Be(d,4)))));return k}; | |
Kt=function(a,b,c){a.l=new Dt(b,c);b=null!=b?b.l:void 0;c="<span class='"+R("videoAdUiAdSettingsShortTooltip")+"'>";c=b?c+Q(b):c+"Click for Ad Settings";b=kp(c+"</span>");a.Wd=b}; | |
Lt=function(a,b,c,d,e){return new ut(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})}; | |
Mt=function(a,b){return Lt(a,b,"ease-out",0,1)}; | |
Nt=function(a){return Lt(a,.5,"ease-in",1,0)}; | |
Pt=function(a,b){g.Cf.call(this);this.W=new g.Km(this);g.N(this,this.W);this.pa=a;this.D=b;this.C=!1;this.B=this.o=this.A=null;var c=a.g;c=this.g=null!=c&&null!=Ne(c)?Fe(Ne(c),Qe,3):null;this.H=null!=c&&null!=Be(c,7)&&1==Be(c,7)?!0:!1;if(null==this.g||null==Be(this.g,7))c=null;else{c=Be(this.g,7);var d=Be(this.g,8);c=null!=d&&g.Pa(fga,c)?d:null}this.B=c;c=pq(tfa,{preMessageText:this.B||""});d=g.J("videoAdUiLikeMsg",c);g.Rd(d,"Saya suka ini");d=g.J("videoAdUiDislikeMsg",c);g.Rd(d,"Saya tidak suka ini"); | |
null!=this.g&&(d=Be(this.g,7),d=null!=d?gga[d]:null,null!=d&&g.S(c,d));hga(this,c);d=g.J("videoAdUiBrandInteractionLikeButton",c);null!=d&&Ot(this,d);d=g.J("videoAdUiBrandInteractionDislikeButton",c);null!=d&&Ot(this,d);g.O(c,!1);this.l=c;this.D.appendChild(this.l)}; | |
hga=function(a,b){if(null!=a.g){var c=a.g.Le();c=null!=c?iga[c]:null;null!=c&&(0,g.B)(c,function(a){g.S(b,a)})}}; | |
jga=function(a){return null!=a.g&&null!=Be(a.g,8)?Be(a.g,10):null}; | |
lga=function(a){if(null==a.g||null==Be(a.g,7))return null;var b=Be(a.g,7);a=Be(a.g,9);return null!=a&&g.Pa(kga,b)?a:null}; | |
Ot=function(a,b){var c=new mt;a.W.U(c,"click",a.F);c.Fb(b)}; | |
mga=function(a){if(null!=a.B){var b=jga(a);if(null!=b){var c=g.J("videoAdUiBrandInteractionPreMessageText",a.l);if(null!=c){var d=Nt(c);g.sg(function(){d.play();g.sg(function(){g.O(c,!1)},500,this)},1E3*b,a)}}}}; | |
nga=function(a){if(null!=a.g&&null!=Fe(a.g,Re,15)){var b=Fe(a.g,Re,15),c=Be(b,1),d=Be(b,2);b=Be(b,3);a.dispatchEvent(new Zm("yt-show-toast",null,{toastMessage:c,toastActionMessage:d,toastActionUrl:b}))}}; | |
oga=function(a){if(null!=a.g){var b=lga(a);if(null!=b){var c=pq(ufa,{postMessageText:b});a.D.appendChild(c);g.sg(function(){Mt(c,.5).play();var a=Nt(c);g.sg(function(){a.play()},3E3,this)},500,a)}}}; | |
Rt=function(){g.Cf.call(this);this.g=!1;this.o=this.A=this.l=null;this.W=new g.Km(this);this.l=pq(Bfa);this.A=g.J("videoAdUiUnmutedIcon",this.l);this.o=g.J("videoAdUiMutedIcon",this.l);Qt(this);this.W.U(this.l,"click",this.B)}; | |
Qt=function(a){a.A&&a.o&&(a.g?(g.oh(a.A,"display","none"),g.oh(a.o,"display","block")):(g.oh(a.A,"display","block"),g.oh(a.o,"display","none")))}; | |
St=function(a,b){g.Cf.call(this);this.pa=a;this.C=1;this.B=this.g=this.l=this.o=null;this.A=a.M;this.W=new g.Km(this);g.N(this,this.W);this.D=new mt;g.N(this,this.D);this.F=!a.Ga;this.o=pq(Br);this.l=g.J("videoAdUiPreSkipButton",this.o);this.g=g.J("videoAdUiPreSkipText",this.l);g.S(this.g,"videoAdUiPreviewText");this.B=g.J("videoAdUiPreSkipThumbnail",this.l);if(nn().g("enable_simple_skip_preview_for_postrolls")&&3==this.pa.breakType){if(this.pa.showContentThumbnail=!1,this.A){var c=this.g;var d=d= | |
{ie:""};d="Ad will end in "+Q(d.ie);g.Rd(c,d)}}else this.A?g.Rd(this.g,Cr({ie:""})):g.Rd(this.g,"Video akan diputar setelah iklan");c=vq(this.pa.Y)||"";this.pa.showContentThumbnail&&!g.C(g.E(c))?(d=g.Dd("img"),d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.B.appendChild(d)):this.A?(g.O(this.B,!1),g.S(this.l,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.g,"videoAdUiPreSkipTextOnlyCentered")):g.O(this.l,!1);g.O(this.o,!1);b.appendChild(this.o);this.W.U(this.D,"click",this.H);this.D.Fb(this.B)}; | |
g.Tt=function(a,b,c){g.M.call(this);this.Fa=null;this.o=!1;this.B=a;this.A=c;this.g=b||window;this.l=(0,g.z)(this.NJ,this)}; | |
Ut=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null}; | |
Vt=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null}; | |
g.Wt=function(a,b,c){g.M.call(this);this.g=a;this.rd=b||0;this.l=c;this.o=(0,g.z)(this.Cz,this)}; | |
g.Xt=function(a,b){a.isActive()||a.start(b)}; | |
g.Yt=function(a){a.stop();a.Cz()}; | |
g.Zt=function(a){a.isActive()&&g.Yt(a)}; | |
au=function(a,b){g.Cf.call(this);this.config=a;this.fa=0;this.Z=!1;this.state=0==Mp(this.config.skipOffset)?3:1;this.l=this.Y=this.skipButton=this.sa=this.ha=this.F=this.C=this.o=null;this.dc=new g.Km(this);this.H=this.A=null;this.M=new mt;this.na="";this.ea=!1;var c=a.g;c=this.g=null!=c&&null!=Ne(c)?Fe(Ne(c),Oe,1):null;this.ya=null!=c&&Be(c,19)?!0:!1;c=this.g;this.I=null!=c&&Be(c,24)?!0:!1;c=this.g;this.Da=null!=c&&Be(c,23)?!0:!1;c=this.g;this.Ga=null!=c&&Be(c,25)?!0:!1;var d=null;this.ya?(c=qfa, | |
d={zp:"\n"}):c=Br;this.o=pq(c,d);this.C=g.J("videoAdUiPreSkipButton",this.o);this.F=g.J("videoAdUiPreSkipText",this.C);this.ha=g.J("videoAdUiPreSkipTextTimeLeft",this.C);this.sa=g.J("videoAdUiPreSkipThumbnail",this.C);this.Da&&g.O(this.F,!1);nn().g("use_forced_linebreak_preskip_text")&&(this.ea=!0,g.S(this.F,"videoAdUiPreSkipTextForcedLineBreak"));$t(this,0);c=vq(this.config.Y)||"";nn().g("enable_simple_preview_for_postrolls_html5")&&3==this.config.breakType&&(this.config.showContentThumbnail=!1); | |
this.config.showContentThumbnail&&!g.C(g.E(c))?(d=g.Dd("img"),d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.sa.appendChild(d)):P.g()?(g.S(this.C,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.F,"videoAdUiPreSkipTextOnlyCentered"),nn().g("enable_static_font_size_on_text_only_preview")&&g.S(this.F,"videoAdUiPreSkipTextOnlyStaticFontSize")):g.S(this.F,"videoAdUiPreSkipTextOnly");d=!P.g()&&P.T;var e=null!=this.g&&null!=Fe(this.g,We,3)&&!this.I,f=P.g()&&nn().g("fixed_padding_skip_button")&& | |
!this.I;this.l=pq(this.I?xfa:d||e||f?wfa:vfa,{Jv:zb("Lewati Iklan "+Q({YV:""}.YV))});this.skipButton=g.J("videoAdUiSkipButton",this.l);e&&(this.Y=g.J("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||P.g()&&nn().g("use_new_skip_icon")){var k=g.J("videoAdUiSkipIcon",this.skipButton);null!=k&&g.nq(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.S(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.J("videoAdUiSkipButtonExperimentalText", | |
this.skipButton),null!=c&&g.S(c,"videoAdUiFixedPaddingSkipButtonText"),g.S(g.J(e?"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.I&&this.config.showContentThumbnail&&!g.C(g.E(c))&&(d=g.Dd("img"),d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Ga&&(c=g.J("videoAdUiSkipText",this.l),g.O(c,!1));pga(this);"4.4.4"===(g.Un?Yn(Vn):"")&&(this.C.style.backgroundColor="black",this.skipButton.style.backgroundColor= | |
"black");g.O(this.o,!1);b.appendChild(this.o);0==Mp(this.config.skipOffset)?this.dispatchEvent("skipshown"):(g.O(this.l,!1),g.Lh(this.l,0));b.appendChild(this.l);nn().g("move_skip_button_to_top")&&(g.S(this.o,"videoAdUiHighPreSkipContainer"),g.S(this.l,"videoAdUiHighSkipContainer"));this.dc.U(this.M,"click",this.XV);this.I?this.M.Fb(this.l):this.M.Fb(this.skipButton)}; | |
$t=function(a,b){var c=null!=a.config.skipOffset&&-1!=Mp(a.config.skipOffset)?Mp(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=Lo(d));d=nn().g("enable_simple_preview_for_postrolls_html5")&&3==a.config.breakType;var e=a.na;d?e=a.ea?"postrollforcedlinebreak":"postroll":a.ea&&(e="forcedlinebreak");d={ao:e,ie:c,zp:"\n"};a.ya&&null!=a.ha?g.Rd(a.ha,c):(c=a.F,d=d||{},d=""+op("b",d.ao)(d,void 0),g.Rd(c,d))}}; | |
bu=function(a){return new ut(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})}; | |
cu=function(a,b){null!=a.C&&g.O(a.C,b);null!=a.skipButton&&g.O(a.skipButton,b)}; | |
pga=function(a){if(null!=a.g){var b=null!=Fe(a.g,Ue,1)&&null!=Fe(Fe(a.g,Ue,1),Ve,1)?Be(Fe(Fe(a.g,Ue,1),Ve,1),1):null,c=null!=Fe(a.g,Ue,2)&&null!=Fe(Fe(a.g,Ue,2),Ve,1)?Be(Fe(Fe(a.g,Ue,2),Ve,1),1):null;b&&(a.skipButton.style.backgroundColor=qt(pt(b)),c&&(a.dc.U(g.Od(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=qt(pt(c))}),a.dc.U(g.Od(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=qt(pt(b))}))); | |
if(null!=Fe(a.g,We,3)&&null!=a.Y){var d=Saa(Fe(a.g,We,3));0<d.length&&Be(d[0],1)&&g.Rd(a.Y,Be(d[0],1))}}}; | |
hu=function(a,b){au.call(this,a,b);var c=this.g;this.X=null!=c&&Be(c,8)?!0:!1;this.ga=!1;this.B=this.K=null;c=this.g;var d=du;null!=c&&(null!=Be(c,10)&&Be(c,10)||null!=Be(c,9)&&!Be(c,9))&&(d=eu);this.J=d;c=this.g;d=fu;null!=c&&(null!=Be(c,12)&&Be(c,12)||null!=Be(c,11)&&!Be(c,11))&&(d=gu);this.T=d;c=this.g;d=.5;this.X||null==c||null==Be(c,26)||(c=Be(c,26),d=(null==c?c:+c)||0);this.ca=d;this.D=0}; | |
iu=function(a){null==a.B&&"4.4.4"!=(g.Un?Yn(Vn):"")&&1!=a.D&&(g.Ze(a.A),a.A=null,a.B=g.sg(function(){Lt(this.l,.5,"ease-in",1,this.ca).play();this.D=1;this.B=null},0,a))}; | |
ku=function(a,b){if(0!=a.D){if(b){if(null!=a.B||"4.4.4"==(g.Un?Yn(Vn):""))return;a.B=g.sg(function(){Lt(this.l,.5,"ease-in",this.ca,1).play();this.B=null},0,a)}else ju(a),g.Lh(a.l,1); | |
a.D=0}}; | |
ju=function(a){null!=a.B&&(g.tg(a.B),a.B=null)}; | |
lu=function(a){null!=a.K&&(g.tg(a.K),a.K=null)}; | |
mu=function(a,b,c){var d=null;switch(c){case fu:null!=b&&null!=b.skipOffset&&(d=1E3*(a-Mp(b.skipOffset)));break;case gu:a=g.x("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Hb(a):null}return d}; | |
nu=function(a,b){var c=1E3*a.Gy;null!=b&&null!=Be(b,13)&&(c=Be(b,13));return c}; | |
ou=function(a,b,c,d,e,f,k,l,m){this.o=a;this.J=b;this.B=c;this.C=d;this.l=e;this.D=f;this.F=k;this.H=l;this.I=m;this.g=this.o.vg()}; | |
pu=function(a){var b=a.g;var c=g.Jh(a.A);c="left"==a.B?"0px":"right"==a.B?c.width-a.o.de().width+"px":a.B+"px";var d=g.Jh(a.A);a="bottom"==a.C?"0px":"top"==a.C?d.height-a.o.de().height+"px":d.height-a.o.de().height-Hb(a.C)+"px";g.oh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})}; | |
qga=function(a){g.Mh(a.g)||(g.O(a.g,!0),(0,g.B)(a.I,function(a){xn(a)}))}; | |
qu=function(a,b,c,d){g.Cf.call(this);this.pa=a;this.tb=this.ca=!1;this.Y=c;this.sb=d;this.Wa=this.Da=this.Ga=this.I=this.M=this.D=this.K=this.ga=this.l=this.o=this.Na=this.fa=this.ea=this.C=this.ha=this.T=this.B=this.A=this.J=this.Z=this.F=this.Sa=this.ya=this.sa=this.H=this.g=null;this.W=new g.Km(this);this.na=[];a=this.pa;this.Nb=null!=a&&null!=a.g&&null!=Ne(a.g)?Fe(Ne(a.g),Pe,2):null;this.X=[];this.Bt(b)}; | |
rga=function(a){null!=a.o&&g.O(a.o,!1)}; | |
ru=function(a){a.l&&(a.l.dispose(),a.l=null)}; | |
tu=function(a,b){a.na=b;(0,g.B)(b,function(a){a.A=this.g;a.A.appendChild(a.g);pu(a);g.O(a.g,!1);var b=a.Cc();if(null!=b){var c=new mt;c.B=!0;this.X.push(c);this.W.U(c,"click",(0,g.z)(this.OK,this,a));c.Fb(b)}},a)}; | |
uu=function(a){null!=a.F&&(g.O(a.F,!0),g.Rd(a.F,a.pa.visitAdvertiserText));null!=a.Z&&g.O(a.Z,!0)}; | |
vu=function(a,b){if(null!=a.g){var c=g.Zd(g.Od(a.g),"html5-video-player");null!=c&&(g.U(c,"ytp-ad-end-cap",b),nn().g("desktop_trv_action_endcap_background_clickable")&&g.U(c,"ytp-endcap-background-clickable",b),g.U(c,"ytp-ad-display-override",b))}}; | |
xu=function(a){var b=a.pa.D&&(a.Y>a.pa.Z||0==a.Y),c=b&&a.pa.sa,d=b&&a.pa.ya,e=b&&a.pa.B,f=b&&a.pa.na;b=b&&a.pa.K;var k=a.pa.ha&&a.pa.A,l="0px";var m=a.Nb;m=P.g()&&null!=m&&Be(m,1)?!1:!0;null!=a.C&&(g.O(a.C,b),null!=a.J&&g.O(a.J,c),null!=a.A&&g.O(a.A,d),null!=a.I&&(g.O(a.I,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Da&&g.O(a.Da,!1),null!=a.Wa&&g.O(a.Wa,!1),null!=a.ea&&g.O(a.ea,b||c||d||e));null!=a.H&&g.O(a.H,a.pa.o);null!=a.fa&&(g.O(a.fa,k),k&&(l=sh(a.fa,"height")));null!=a.ha&&!P.g()&&g.oh(a.ha, | |
"bottom",l);wu(a);null!=a.sa&&g.O(a.sa,a.pa.ca);null!=a.Sa&&g.O(a.Sa,m);P.g()||!a.pa.J||P.C||(null!=a.B&&g.O(a.B,!1),null!=a.T&&g.O(a.T,!1))}; | |
yu=function(a,b,c,d,e){var f=Dr({oq:"",tn:0,qq:0});a.pa.A&&a.pa.fa&&(b=Lo(c-b),f=Dr({oq:a.pa.H?" \u2022 "+b:a.ca?" \u00b7 "+b:": ("+b+")",tn:d,qq:e}));g.Rd(a.ya,f);g.O(a.H,a.pa.o)}; | |
sga=function(a,b){null!=a.ga&&a.ga.show(b)}; | |
wu=function(a){var b=a.pa.D&&(a.Y>a.pa.Z||0==a.Y)&&a.pa.B?a.pa.J?!P.C||a.tb:!0:!1;null!=a.B&&g.O(a.B,b);null!=a.T&&g.O(a.T,P.g()&&a.pa.C&&!b)}; | |
zu=function(){g.M.call(this);this.A="";this.Ya=null;this.o=new Fp;this.l=new g.om;this.C=[];this.H=!1;this.g={};this.F={};this.B=-1;this.D=[]}; | |
Au=function(a,b,c){c=c||Np(a.o,b.type);if(P.l){var d=To(Qo(),b.type,a.A);a.I(b.type,c,d)}else hea(xo(),b.type,a.A,(0,g.z)(a.I,a,b.type,c))}; | |
tga=function(a,b){null!=b&&(0,g.B)(b,function(a){g.Pa(this.D,a)||this.D.push(a)},a)}; | |
Bu=function(a,b,c){null!=c.viewability&&Eq(a.g,c.viewability);var d;P.l||(d=xo().H||void 0);var e=[];(0,g.B)(b,function(a){var b=this.g;Fq(b,a,"MOAT_INIT",c.moatInit);Fq(b,a,"MOAT_VIEWABILITY",c.moatViewability);Fq(b,a,"IAS_VIEWABILITY",c.integralAdsViewability);Fq(b,a,"DV_VIEWABILITY",c.doubleVerifyViewability);Fq(b,a,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(zn(a,this.g,c,d))},a); | |
Eq(a.g,"na");return e}; | |
Cu=function(a,b,c){(0,g.B)(b,function(a){xn(a,void 0,void 0,c)},a)}; | |
uga=function(a,b){switch(b){case "abandon":return!qm(a.l,b)&&!qm(a.l,"skip")&&!qm(a.l,"instreamAdComplete")&&(qm(a.l,"impression")||a.H);case "instreamAdComplete":case "complete":return!qm(a.l,b)&&!qm(a.l,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!qm(a.l,b)}}; | |
Du=function(a){g.Cf.call(this);this.ads=a;this.sc=null;this.Ee=new g.Km(this);g.N(this,this.Ee);this.bd="normal";this.Ia=this.volume=null;this.Ra=new to;this.se=!1;this.content={};this.bc=new zu;this.Pa=null;this.Qn=!1;xo();this.Hq=(0,g.z)(this.MJ,this);var b=0;(0,g.B)(a,function(a){b+=a.getDuration()}); | |
(0,g.B)(a,function(b,d){var c=b.A;c.af=a.length;var f=d+1;c.g=f;c.o=f})}; | |
Eu=function(a,b){if(a.sc=b)a.bc.A=b.I;if(P.l){var c=Qo();Uo(c,a.Hq);b&&c.l.set(b.I,a.Hq)}}; | |
Fu=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:Fu(a,b.l)}; | |
Gu=function(a){return(0,g.Aj)(a.ads,function(a){return(0,g.Aj)(this.ih(a),function(a){a=a.Ta();return!g.C(g.E(sq(a)))})},a)}; | |
Hu=function(a){a=a.g;return null!=a&&a instanceof Tp}; | |
Iu=function(a,b){Au(a.bc,new g.af(b));a.ia(b)}; | |
vga=function(a,b){return(0,g.cm)(g.Rb(b),function(a){return Tb(this.Ra,a)},a)}; | |
Ku=function(a){if(!a.wc())throw Fn(Ju,null,"Ads manager is not correctly configured.");}; | |
Lu=function(a,b){for(var c=b;null!=c;)(0,g.B)(c.T.ub(),a.oV,a),c=c.l}; | |
wga=function(a){if(!g.Aa(a))throw Fn(Ju,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.Wa(g.Qb(Mu),g.Qb(Xp));(0,g.B)(a,function(a){if(!g.Pa(b,a))throw Fn(Ju,null,"Invalid or unsuppoted mime type "+a);})}; | |
Nu=function(a){var b=a.ma();if(null!=b){var c=b.g;if(c instanceof Tp&&(c=c.ab,null!=c&&!g.Qa(c))){var d=window.document.body,e=Dq(a.ma());e=Jt(!1,null,null,!1,a.Ra,e);e.D=!1;e.o=!1;e.A=!1;b=b.Ne();a.Pa=new qu(e,d,1E3*a.getDuration(),b);tu(a.Pa,c);a.Pa.show();a.Va().U(a.Pa,"videoIconClicked",a.UR)}}}; | |
Ou=function(a,b,c){null!=a.Pa&&0<=c&&0<=b&&a.Pa.update(b,0,c,0,0)}; | |
xga=function(a,b){function c(a,b,c){for(var d in b)for(var e=d.toLowerCase(),f=0;f<a.length;f++){var n=a[f];if(e==n)throw Error('Cannot override "'+n+'" '+c+', got "'+d+'" with value "'+b[d]+'"');}} | |
c(Pu,a,"attribute");c(Pu,b,"param")}; | |
g.Qu=function(){}; | |
g.Ru=function(a){g.Cf.call(this);this.H=a||g.nd();this.Fa=null;this.Re=!1;this.g=null;this.C=void 0;this.D=this.J=this.A=null}; | |
Su=function(a,b){if(a.Re)throw Error("Component already rendered");a.g||a.Ao();b?b.insertBefore(a.g,null):a.H.g.body.appendChild(a.g);a.A&&!a.A.Re||a.yj()}; | |
Tu=function(a,b){a.J&&(0,g.B)(a.J,b,void 0)}; | |
Uu=function(a,b){g.Ru.call(this,b);this.F=a;this.W=new g.Km(this);this.l=new g.om}; | |
Vu=function(a){return a.la()?a.la().firstChild:null}; | |
Wu=function(a){g.Cf.call(this);this.Ya=null;this.C=a;this.l=null;this.A=-1;this.B=!1;this.o=Db()}; | |
Xu=function(){}; | |
Yu=function(a,b,c){this.g=a;this.Mf=c;this.l=b}; | |
yga=function(a,b){this.g=a;this.l=b}; | |
Zu=function(a,b,c,d){$p.call(this,a,b,"Static",c,d);this.Vx=!1}; | |
$u=function(a,b,c,d){$p.call(this,a,b,"Html",c,d)}; | |
av=function(a,b,c,d){$p.call(this,a,b,"Static",c,d)}; | |
cv=function(a,b,c){if(g.Qa(c))return new $p(a,b,"",null,"");var d=bv(c);c=d.l;var e=d.g;d=d.o;switch(c){case "Html":return new $u(a,b,e,d);case "Static":switch(Xp[e]){case "Image":return new av(a,b,e,d);case "Flash":return new Zu(a,b,e,d);case "Text":return new rq(a,b)}}return new $p(a,b,c,e,d)}; | |
bv=function(a){var b=g.La(a,function(a){return"Static"==a.l&&"Flash"==Xp[a.g]}),c=g.La(a,function(a){return"IFrame"==a.l}),d=g.La(a,function(a){return"Html"==a.l}),e=g.La(a,function(a){return"Static"==a.l&&"Image"==Xp[a.g]}),f=g.La(a,function(a){return"Static"==a.l&&"Text"==Xp[a.g]}); | |
return Jo&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]}; | |
zga=function(a,b,c,d,e,f){var k=bv(f),l=cv(a.id,a.size,[k]);l.C=!0;l.I=a.apiFramework;l.na=b;l.J=c;l.g=d;e&&(l.Sj=e);g.Ua(f,k);var m=[];(0,g.B)(f,function(f){f=cv(a.id,a.size,[f]);f.C=!0;f.I=a.apiFramework;f.na=b;f.J=c;f.g=d;e&&(f.Sj=e);m.push(new mr(f,[],a.adSlotId))}); | |
return new mr(l,m,a.adSlotId)}; | |
dv=function(a,b,c){this.l=a;this.g=b;this.o=c}; | |
ev=function(a,b,c){gq.call(this);this.l=a;this.o=b;this.A=c}; | |
fv=function(){this.Ya=null}; | |
gv=function(){this.B=null;this.C="http://www.google.com/adsense/support";this.D=0;this.g=15;this.A=5;this.o=3;this.l=!1}; | |
Aga=function(a,b){a.g=b}; | |
hv=function(a,b,c,d,e,f,k,l,m,n,p){gq.call(this,n,p);this.B=a;this.C=b;this.A=c;this.D=m;this.F=k;this.l=f;this.o=e}; | |
iv=function(){}; | |
Cga=function(a,b){var c;(0,g.B)(g.Ld(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new gv:null;break;case "params":null!=c&&Bga(this,c,a)}},a); | |
return c}; | |
Bga=function(a,b,c){(0,g.B)(g.Ld(c),function(a){var c=a.attributes[0].value;switch(a.nodeName){case "attribution_url":b.C=c;break;case "attribution_text":b.B=c;break;case "signals":b.D=(0,window.parseInt)(c,10);break;case "audio_muted_on_start":b.l=ds(c,!1)}},a)}; | |
jv=function(){this.Ya=null}; | |
kv=function(){}; | |
lv=function(){}; | |
mv=function(){}; | |
nv=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]=nv(a[d]));else a instanceof Object&&(b={},ov(b,a));return b}; | |
ov=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=nv(b[c]))}; | |
pv=function(a){return{Xy:a}}; | |
qv=function(a,b,c){this.type=a;this.label=b;this.ne=c}; | |
rv=function(a,b){return new qv(a,1,b)}; | |
tv=function(a){new qv(a,2,void 0)}; | |
uv=function(a,b){return new qv(a,3,b)}; | |
vv=function(a){return rv("m",a)}; | |
wv=function(a){return uv("m",a)}; | |
xv=function(a){this.data=a||{}}; | |
yv=function(a,b,c){a=a.data[b];return null!=a?a:c}; | |
zv=function(a,b){return!!yv(a,b,void 0)}; | |
Lr=function(a,b){return yv(a,b,"")}; | |
Av=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]}; | |
Dga=function(a){for(var b=Bv,c=[],d=0;d<Dv(a,"event");d++)c.push(new b(Av(a,"event",d)));return c}; | |
Dv=function(a,b){return a.data[b]?a.data[b].length:0}; | |
Ev=function(a){this.data=a||{}}; | |
Fv=function(a){this.data=a||{}}; | |
Gv=function(a){this.data=a||{}}; | |
Hv=function(a){this.data=a||{}}; | |
Bv=function(a){this.data=a||{}}; | |
Iv=function(a){this.data=a||{}}; | |
Jv=function(a){this.data=a||{}}; | |
Kv=function(a){this.data=a||{}}; | |
Ts=function(a){this.data=a||{}}; | |
pr=function(a){return new Iv(a.data.product_card)}; | |
xr=function(a){return new Hv(Av(a,"action",0))}; | |
Ss=function(a){return zv(a,"show_in_endcap")}; | |
Us=function(a){return zv(a,"show_in_companion")}; | |
Qv=function(){if(!Lv){var a={};Lv=pv(a);a.type=Mv;a.id=Nv;a.link_url=Nv;a.title=Nv;a.image=vv(Ov());a.event=wv(Pv());a.target=Nv;a.priority=Nv}return Lv}; | |
Nr=function(a){return Lr(a,"title")}; | |
wr=function(a){return Lr(a,"target")}; | |
Pv=function(){if(!Rv){var a={};Rv=pv(a);a.type=Mv;a.base_url=Nv}return Rv}; | |
tr=function(a){return new Ts(a.data.image)}; | |
qr=function(a){return new Jv(Av(a,"offer",0))}; | |
sr=function(a){return Lr(a,"merchant")}; | |
ur=function(a){return Lr(a,"price")}; | |
Sv=function(a){return new Hv(Av(a,"action",0))}; | |
Or=function(a){return Lr(a,"description")}; | |
Ov=function(){if(!Tv){var a={};Tv=pv(a);a.image_url=Nv;a.thumbnail_url=Nv;a.image_height=Uv;a.image_width=Uv}return Tv}; | |
Vv=function(a,b,c){gq.call(this,c);this.l=a;this.o=b||null}; | |
Wv=function(a){this.g=a}; | |
Yv=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.Xy[f.nodeName];if(k)switch(k.type){case "b":d[f.nodeName]="false"!=f.nodeValue;break;case "d":case "f":d[f.nodeName]=(0,window.parseFloat)(f.nodeValue);break;case "e":d[f.nodeName]=Xv[b.nodeName][f.nodeName][f.nodeValue];break;case "i":d[f.nodeName]=(0,window.parseInt)(f.nodeValue,10);break;default:d[f.nodeName]=f.nodeValue}}for(e=0;e<b.childNodes.length;e++)if(f=b.childNodes[e],f.nodeType==window.Node.ELEMENT_NODE&& | |
(k=c.Xy[f.nodeName],null!=k)){var l=Yv(a,f,k.ne);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d}; | |
Ega=function(a,b){var c=new Fp;(0,g.B)(g.Ld(b),function(a){"CustomTracking"==a.nodeName&&null!=g.Ld(a)&&(c=gs(a,!1,(0,g.z)(function(a,b){return Zv(a,b)},this)))},a); | |
return c}; | |
Zv=function(a,b){return g.Tm(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})}; | |
$v=function(a,b){gq.call(this);this.o=a;this.l=g.E(b)}; | |
aw=function(a){gq.call(this);this.l=a}; | |
bw=function(){this.Ya=null}; | |
cw=function(a,b){this.logger=null;this.o=b;this.g={};this.l=[];this.g.CustomTracking=gs;this.g.UI=this.B}; | |
dw=function(a,b){if(null==b)return null;var c={};(0,g.B)(g.Ld(b),function(a){c[a.nodeName]=null!=this.g[a.nodeName]?this.g[a.nodeName].call(this,a):null},a); | |
return null==c.UI?null:c}; | |
ew=function(){cw.call(this,"MuteExtensionParser","mute_");this.g.SurveyOptions=this.A}; | |
fw=function(){gq.call(this);this.l=""}; | |
gw=function(){this.Ya=null}; | |
hw=function(a,b,c,d){gq.call(this);this.A=a;this.o=b;this.B=c;this.l=d}; | |
iw=function(){this.Ya=null}; | |
jw=function(a){gq.call(this,a)}; | |
kw=function(){}; | |
lw=function(){gq.call(this)}; | |
mw=function(){this.Ya=null}; | |
Fga=function(a,b){var c;(0,g.B)(g.Ld(b),function(a){a.nodeName==this.g.qI&&(c=$r(a))},a); | |
return c}; | |
nw=function(a,b,c,d,e,f){gq.call(this);this.B=a||"";this.C=b||"";this.D=c||"";this.A=d;this.l=e;this.o=f}; | |
ow=function(){this.Ya=null}; | |
pw=function(a){gq.call(this);this.l=a}; | |
qw=function(){this.Ya=null}; | |
rw=function(){cw.call(this,"WhyThisAdExtensionParser","why_this_ad_");this.l.push("targeting_reason")}; | |
tw=function(a,b){return null!=a?(0,g.cm)(b,function(b){return b in a}):!1}; | |
Gga=function(a,b){return null!=a?(0,g.Aj)(b,function(b){return b in a}):!1}; | |
uw=function(){}; | |
vw=function(){gq.call(this)}; | |
ww=function(){}; | |
xw=function(){}; | |
yw=function(a){this.A=a;this.logger=null}; | |
zw=function(a){if(null==a)return!1;a=g.Nd(a);return null!=a&&"VAST"==a.nodeName}; | |
Bw=function(a,b){var c=[],d=null;try{var e=g.Tr(a),f=g.Nd(e);null!=f&&"CompanionAds"==f.nodeName&&(d=Aw(yw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c}; | |
Cw=function(a){if(null==a)return 0;a=(0,window.parseInt)(a.getAttribute("version"),10);return g.ua(a)&&!(0,window.isNaN)(a)?a:0}; | |
Iga=function(a){var b=[],c=g.Nd(a.A),d=Cw(c);as(c,a.g.sG,function(a){var c=Dw(a);if(null==c)throw Vr(a);var e=a.getAttribute(this.l.bn);a=Number(a.getAttribute(this.l.ix));var l=e||null;e=a||0;var m=null,n=null;a=[];for(var p=[],r=[],v=[],D=new g.om,H,L=c.nodeName==this.g.CI,T=L,ha=L,cb=null,tb=g.Ld(c),Td=0,xh=tb.length;Td<xh;Td++){var rb=tb[Td];switch(rb.nodeName){case this.g.tG:$r(rb);case this.g.WH:break;case this.g.zI:if(L){if(null!=H)throw Wr(rb);H=$r(rb);cb=Ifa(H);T=ds(c.getAttribute(this.l.yG), | |
T);ha=ds(c.getAttribute(this.l.kH),ha)}else throw Vr(rb);break;case this.g.wG:m=$r(rb);break;case this.g.xG:n=$r(rb);break;case this.g.bH:$r(rb);break;case this.g.nI:$r(rb);break;case this.g.fn:rb=$r(rb);es(rb)&&a.push(rb);break;case this.g.ERROR:rb=$r(rb);p.push(rb);break;case this.g.VG:v=Hga(this,rb);r=v.creatives;v=v.hJ;break;case this.g.hH:var Uf=rb;D=cb;rb=new g.om;try{var yh=Yr(Uf,this.g.EXTENSION);Uf=0;for(var zl=yh.length;Uf<zl;Uf++){var sc=yh[Uf],fc=sc.getAttribute(this.l.wx);null!=fc?fc= | |
fc.toLowerCase():fc="generic";switch(fc){case "programmatic":var tc=(new gw).parse(sc);break;case "geo":tc=(new ww).parse(sc);break;case "pod":tc=(new uw).parse(sc);break;case "waterfall":tc=(new xw).parse(sc);break;case "dart":tc=(new kv).parse(sc);break;case "dfp":fc="DFP";tc=(new lv).parse(sc);break;case "adsense":fc="AdSense";tc=(new jv).parse(sc);break;case "textad":fc="TextAd";tc=(new ow).parse(sc);break;case "templatead":fc="TemplateAd";tc=(new mw).parse(sc);break;case "infocards":fc="InfoCards"; | |
var er=new Wv(!0);tc=er.parse(sc);break;case "infocardstracking":fc="InfoCardsTracking";er=new Wv(!1);tc=er.parse(sc);break;case D:case "prefetchedad":fc="LocalRedirect";var Ii=sc;if(null==Ii)tc=null;else{var Al=null,Cv=Yr(Ii,"AdXml");if(1==Cv.length){var sd=g.Nd(Cv[0]);if(null!=sd)try{Al=Xr(sd)}catch(SB){Al='<?xml version="1.0" encoding="UTF-8"?>'+Ur(sd)}else Al='<?xml version="1.0" encoding="UTF-8"?>'+Ur(sd)}var Bl=Yr(Ii,"VASTAdTagURI");Ii=null;1==Bl.length&&(Ii=Bl[0].textContent);tc=new $v(Al, | |
Ii)}break;case "viral":fc="viral";tc=(new qw).parse(sc);break;case "metrics":fc="metrics";tc=(new bw).parse(sc);break;case "adx":fc="adx";tc=(new is).parse(sc);break;case "why_this_ad":fc="why_this_ad";tc=(new rw).parse(sc);break;case "mute":fc="mute";tc=(new ew).parse(sc);break;case "sodar":tc=(new iw).parse(sc);break;case "survey":tc=(new kw).parse(sc);break;case "adformat":fc="AdFormat";tc=(new fv).parse(sc);break;default:var XL=new mv;fc="generic";tc=XL.parse(sc)}if(null!=tc){var Ji=rb.get(fc); | |
null!=Ji?"generic"==fc&&(Mea(Ji,tc.g),rb.set(fc,Ji)):rb.set(fc,tc)}}}catch(SB){if(!g.Ca(SB.Ib)||1105==SB.Ib())throw SB;}D=rb}}c=g.E(l);yh=m;a:if(g.C(g.E(m)))zl="UNKNOWN";else switch(zl=m.toUpperCase(),zl){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:zl="UNKNOWN"}D.get("programmatic"); | |
sc=D;fc=null;D=D.get("AdSense");null!=D&&(D=hq(D,"vast2tracking"),null!=D&&!g.Qa(D)&&(fc=D[0]));e=new ms(c,yh,zl,n,e,p,a,r,v,sc,H,T,ha,fc);null!=e&&(e.Sa=d,b.push(e))},a); | |
return b}; | |
Dw=function(a){var b=null;a=g.Ld(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw Vr(b);}return b}; | |
Jga=function(a){if(g.C(g.E(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}}; | |
Hga=function(a,b){var c=[],d=[];as(b,a.g.UG,function(a){var b=a.getAttribute(this.l.ix),e=window.NaN;g.C(g.E(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.l.uG);b=a.getAttribute(this.l.bn);var l=!1,m=[];a=g.Ld(a);for(var n=0,p=a.length;n<p;n++){var r=a[n];switch(r.nodeName){case this.g.xI:var v=r,D=$r(v);D=g.E(D);g.C(D)&&v.getAttribute(this.l.sH);r.getAttribute(this.l.rH);break;case this.g.LINEAR:if(l)throw Wr(r);l=Kga(this,r,(0,window.isNaN)(e)?0:e,b||null);Ya(c,l);Ya(m,l);l=!0;break;case this.g.JG:if(l)throw Wr(r); | |
l=Aw(this,r,(0,window.isNaN)(e)?0:e);Ya(d,l);l=!0;break;case this.g.NH:if(l)throw Wr(r);l=Lga(this,r,(0,window.isNaN)(e)?0:e,b||null);Ya(c,l);Ya(m,l);l=!0}}n=0;for(p=m.length;n<p;n++);},a); | |
return{creatives:c,hJ:d}}; | |
Lga=function(a,b,c,d){var e=[],f=new Fp;b=g.Ld(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.g.MH:m=Mga(a,m,c,d);null!=m&&e.push(m);break;case a.g.gr:f=gs(m);break;default:throw Vr(m);}}0!=e.length||f.isEmpty()||(a=new $p(null,new g.I(-1,-1),"",null,""),a.g=c,a.ga=d,e.push(a));(0,g.B)(e,function(a){f&&(a.Sj=f)}); | |
return e}; | |
Ew=function(a,b){var c={};c.id=b.getAttribute(a.l.bn);c.adSlotId=b.getAttribute(a.l.vG);c.apiFramework=b.getAttribute(a.l.Xm);var d=Eb(b.getAttribute(a.l.jn)),e=Eb(b.getAttribute(a.l.Zm));c.size=new g.I(d,e);d=b.getAttribute(a.l.gH);e=b.getAttribute(a.l.fH);g.C(g.E(d))||g.C(g.E(e))||(c.Y4=new g.I(Eb(d),Eb(e)));return c}; | |
Mga=function(a,b,c,d){var e=Ew(a,b);b.getAttribute(a.l.Xm);b.getAttribute(a.l.dI);b.getAttribute(a.l.AH);var f=b.getAttribute(a.l.IH);f=cs(f,-1);var k=[];new g.om;var l={},m="",n=null,p=[];b=g.Ld(b);for(var r=0,v=b.length;r<v;r++){var D=b[r];switch(D.nodeName){case a.g.PH:p.push($r(D));break;case a.g.OH:n=$r(D);break;case a.g.Pq:l=Fw(D);m=g.E($r(D));break;case a.g.cn:case a.g.gn:case a.g.an:D=Gw(a,D);null!=D&&k.push(D);break;default:throw Vr(D);}}a=cv(e.id,e.size,k);Pp(a,m,l);a.I=e.apiFramework;a.na= | |
n;a.J=p;a.Da=f;a.g=c;a.ga=d;return a}; | |
Gw=function(a,b){var c=Zr(b,a.l.WG);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.g.gn:d="Static";break a;case a.g.cn:d="IFrame";break a;case a.g.an:d="Html";break a;default:throw En(Nga,null,d);}}var e=$r(b);null!=e||(e="");return new dv(d,c,e)}; | |
Aw=function(a,b,c){var d=[],e=Jga(Zr(b,a.l.ZH));as(b,a.g.IG,function(a){var b=Ew(this,a);var e=[],f=new Fp,n=null,p=[];a=g.Ld(a);for(var r=0,v=a.length;r<v;r++){var D=a[r];switch(D.nodeName){case this.g.LG:p.push($r(D));break;case this.g.gr:f=gs(D,!0);break;case this.g.KG:n=$r(D);break;case this.g.zG:$r(D);break;case this.g.Pq:$r(D);break;case this.g.cn:case this.g.gn:case this.g.an:D=Gw(this,D);null!=D&&e.push(D);break;default:throw Vr(D);}}b=g.Qa(e)?null:zga(b,n,p,c,f,e);null!=b&&d.push(b)},a); | |
return new yga(d,e)}; | |
Kga=function(a,b,c,d){var e=new Fp,f={},k="",l=[],m=null,n=new g.om,p=[],r=[],v=0,D=fs(Zr(b,a.l.hI));b=g.Ld(b);for(var H=0,L=b.length;H<L;H++){var T=b[H];switch(T.nodeName){case a.g.mH:r=Oga(a,T);break;case a.g.Pq:f=Fw(T);k=g.E($r(T));break;case a.g.Sq:v=cs($r(T),0);break;case a.g.gr:e=gs(T);break;case a.g.EH:p=Pga(a,T);break;case a.g.AI:l=Qga(a,T);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw Vr(T);}}(0,g.B)(l,function(a){Kp(e,"click",a)}); | |
a=new Tp(v,m,n,p,D,r);Pp(a,k,f);a.g=c;a.ga=d;e&&(a.Sj=e);return a}; | |
Qga=function(a,b){for(var c=null,d=[],e=new g.om,f=g.Ld(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.g.GG:c=$r(m);break;case a.g.HG:m=$r(m);d.push(m);break;case a.g.YG:var n=Zr(m,a.l.bn);null!=n||(n="");var p=e.get(n,[]);p.push($r(m));e.set(n,p);break;default:throw Vr(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}}; | |
Pga=function(a,b){for(var c=[],d=Yr(b,a.g.DH),e=0,f=d.length;e<f;e++){var k=d[e],l=Zr(k,a.l.aH),m=Zr(k,a.l.wx);Zr(k,a.l.BI);var n=Eb(k.getAttribute(a.l.jn)),p=Eb(k.getAttribute(a.l.Zm)),r=k.getAttribute(a.l.Xm),v=$r(k),D=bs(k.getAttribute(a.l.zw)),H=bs(k.getAttribute(a.l.HH));k=bs(k.getAttribute(a.l.CH));l=new Sp(l,m,D,H,k,n,p,v,r);c.push(l)}return c}; | |
Oga=function(a,b){var c=[];as(b,a.g.lH,function(a){var b=a.getAttribute(this.l.XH);var d=Zr(a,this.l.DI),k=Zr(a,this.l.FI),l=Eb(a.getAttribute(this.l.jn)),m=Eb(a.getAttribute(this.l.Zm)),n=new g.I(l,m);l=a.getAttribute(this.l.Xm);m=fs(Zr(a,this.l.QH));var p=a.getAttribute(this.l.Sq);p=cs(p,-1);var r=[],v=[],D={};a=g.Ld(a);for(var H=0,L=a.length;H<L;H++){var T=a[H];switch(T.nodeName){case this.g.qH:v.push($r(T));break;case this.g.nH:D=[];var ha=null;T=g.Ld(T);for(var cb=0,tb=T.length;cb<tb;cb++){var Td= | |
T[cb];switch(Td.nodeName){case this.g.oH:ha=$r(Td);break;case this.g.pH:D.push($r(Td));break;default:throw Vr(Td);}}D={iconClickThrough:ha,PK:D};break;case this.g.cn:case this.g.gn:case this.g.an:ha=Gw(this,T);null!=ha&&r.push(ha);break;default:throw Vr(T);}}g.Qa(r)?b=null:(a=D,n=cv("icon"+b,n,r),n.I=l,b=new ou(n,b,d,k,p,m,a.iconClickThrough,a.PK,v));null!=b&&c.push(b)},a); | |
return c}; | |
Fw=function(a){a=$r(a);return null!=a?nea(a):{}}; | |
Hw=function(a){Du.call(this,a);this.g=this.Ya=null;this.K={};this.o=!0;this.I=this.H=this.D=!1;this.C=this.J=0;this.l=null;this.B=0;this.A=1;this.F=-1;this.T=!1;this.M=2==P.D}; | |
Iw=function(a){var b=a.ed("getAdLinear");return g.ta(b)?b:a.o}; | |
Jw=function(a){if(!a.o){var b=a.ed("getAdRemainingTime");b=g.ua(b)?b:-2;if(!g.ua(b)||0>b)b=30;g.tg(a.F);a.F=g.sg(a.stop,1E3*b,a)}}; | |
Lw=function(a,b){var c=Fn(Kw,b,void 0),d=Cq(c,a.ma()),e=ws(a.ma());Bn(e,d);Kw.message=c.Nd();In(a,Kw,b);a.stop()}; | |
Mw=function(a){a.T||(a.T=!0,Iu(a,"complete"))}; | |
Nw=function(a){Du.call(this,a);this.B=this.g=this.Ya=null;this.o=!0;this.X=this.J=this.D=!1;this.T=Db();this.H=this.K=0;this.F=-1;this.l=null;this.C=0;this.A=1;this.I=-1;this.M=!1}; | |
Ow=function(a){var b=a.md("getAdLinear");return g.ta(b)?b:a.o}; | |
Pw=function(a){if(!a.o){var b=a.md("getAdRemainingTime");b=g.ua(b)?b:-2;if(!g.ua(b)||0>b)b=30;g.tg(a.I);a.I=g.sg(a.stop,1E3*b,a)}}; | |
Qw=function(a,b,c,d){d=Fn(b,c,d);var e=Cq(d,a.ma()),f=ws(a.ma());Bn(f,e);b.message=d.Nd();In(a,b,c)}; | |
Rw=function(a){a.M||(a.M=!0,Iu(a,"complete"))}; | |
Sw=function(a){Zm.call(this,"adMetadata",a)}; | |
Tw=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}}; | |
Uw=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.Vw=function(a){if(g.w.JSON)try{return g.w.JSON.parse(a)}catch(b){}return lba(a)}; | |
Ww=function(){}; | |
Yw=function(a){var b;(b=a.g)||(b={},Xw(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b}; | |
Zw=function(){}; | |
$w=function(a){return(a=Xw(a))?new window.ActiveXObject(a):new window.XMLHttpRequest}; | |
Xw=function(a){if(!a.l&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new window.ActiveXObject(d),a.l=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.l}; | |
g.ax=function(a){g.Cf.call(this);this.headers=new g.om;this.M=a||null;this.o=!1;this.K=this.g=null;this.Z=this.I="";this.l=0;this.C="";this.A=this.X=this.H=this.T=!1;this.B=0;this.D=null;this.Y="";this.J=this.F=!1}; | |
bx=function(a,b){a.B=Math.max(0,b)}; | |
Rga=function(a){return g.xd&&g.qc(9)&&g.ua(a.timeout)&&g.t(a.ontimeout)}; | |
Sga=function(a){return"content-type"==a.toLowerCase()}; | |
ex=function(a,b){a.o=!1;a.g&&(a.A=!0,a.g.abort(),a.A=!1);a.C=b;a.l=5;cx(a);dx(a)}; | |
cx=function(a){a.T||(a.T=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}; | |
ix=function(a){if(a.o&&"undefined"!=typeof fx)if(a.K[1]&&4==g.gx(a)&&2==a.getStatus())hx(a,"Local request error detected and ignored");else if(a.H&&4==g.gx(a))g.sg(a.Fz,0,a);else if(a.dispatchEvent("readystatechange"),4==g.gx(a)){hx(a,"Request complete");a.o=!1;try{var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=g.Eg(String(a.I))[1]||null;if(!f&&g.w.self&&g.w.self.location){var k= | |
g.w.self.location.protocol;f=k.substr(0,k.length-1)}e=!Tga.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.l=6;try{var l=2<g.gx(a)?a.g.statusText:""}catch(m){l=""}a.C=l+" ["+a.getStatus()+"]";cx(a)}}finally{dx(a)}}}; | |
dx=function(a,b){if(a.g){jx(a);var c=a.g,d=a.K[0]?g.y:null;a.g=null;a.K=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}}; | |
jx=function(a){a.g&&a.J&&(a.g.ontimeout=null);a.D&&(g.tg(a.D),a.D=null)}; | |
g.gx=function(a){return a.g?a.g.readyState:0}; | |
g.kx=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}}; | |
hx=function(a,b){return b+" ["+a.Z+" "+a.I+" "+a.getStatus()+"]"}; | |
Uga=function(a,b,c,d){var e=new g.um("https://www.googleapis.com/youtube/v3/videos");g.Dm(e,"id",a);g.Dm(e,"part","snippet,status,statistics");g.Dm(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus,items/statistics/viewCount");null!=d&&(b=(0,g.z)(b,d),c=(0,g.z)(c,d));lx(new g.ax,e,b,c)}; | |
Vga=function(a,b,c,d){var e=new g.um("https://www.googleapis.com/youtube/v3/channels");g.Dm(e,"id",a);g.Dm(e,"part","snippet,statistics,brandingSettings");g.Dm(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=d&&(b=(0,g.z)(b,d),c=(0,g.z)(c,d));lx(new g.ax,e,b,c)}; | |
lx=function(a,b,c,d){g.Dm(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");bx(a,2E3);var e=new g.Km(a);e.xh(a,"success",function(a){a=a.target;var b=a.g?g.Vw(a.g.responseText):void 0;c(b||{});e.dispose();a.dispose()}); | |
e.xh(a,["error","timeout"],function(a){a=a.target;var b=null;0!=a.l&&(b=Error(Uw(a.l)));d(b);e.dispose();a.dispose()}); | |
a.send(b)}; | |
mx=function(a,b,c){Yh(b,function(b,e){!b&&0!==b||c[e]||(a+="&"+(0,window.encodeURIComponent)(e)+"="+(0,window.encodeURIComponent)(String(b)),c[e]=!0)}); | |
return a}; | |
rx=function(a,b,c,d,e,f,k,l){f=void 0===f?window.Infinity:f;k=void 0===k?!1:k;Si.call(this,a,l);var m=this;this.F=0;this.I=f;this.Z=b;this.J=c;this.X=d;this.Y=e;this.M=!("csi.gstatic.com"!==this.J||!this.g.navigator||!this.g.navigator.sendBeacon);this.C={};this.g.performance&&this.g.performance.now||nx(this,"dat",1);this.g.navigator&&this.g.navigator.deviceMemory&&nx(this,"dmc",this.g.navigator.deviceMemory);this.ca=!k;this.K=function(){m.g.setTimeout(function(){return ox(m)},1100)}; | |
this.ea=[];this.T=function(){(0,g.B)(m.ea,function(a){try{a()}catch(p){}}); | |
ox(m)}; | |
this.H=this.g.setTimeout(function(){return ox(m)},5E3); | |
this.o={};this.B=b.length+c.length+d.length+e.length+3;this.A=0;(0,g.B)(this.events,function(a){return px(m,a)}); | |
qx(this);Wga(this)}; | |
Wga=function(a){"complete"===a.g.document.readyState?a.g.setTimeout(function(){return ox(a)},0):ai(a.g,"load",a.K); | |
ai(a.g,"unload",a.T)}; | |
nx=function(a,b,c){c=String(c);a.B=null!=a.C[b]?a.B+(c.length-a.C[b].length):a.B+(b.length+c.length+2);a.C[b]=c}; | |
ox=function(a){if(a.l&&a.ca){try{if(a.A){var b=a.o;a.F++;var c=a.Z+"//"+a.J+a.X+a.Y,d={};c=mx(c,a.C,d);c=mx(c,b,d);a.g.google_timing_params&&(c=mx(c,a.g.google_timing_params,d),a.g.google_timing_params=void 0);var e=c;b=!1;try{b=a.M&&a.g.navigator&&a.g.navigator.sendBeacon(e,null)}catch(f){a.M=!1}b||ci(a.g,e);qx(a);a.F===a.I&&a.disable()}}catch(f){(new aj).zh(358,f)}a.o={};a.A=0;a.events.length=0;a.g.clearTimeout(a.H);a.H=0}}; | |
qx=function(a){nx(a,"puid",(a.F+1).toString(36)+"~"+(0,g.F)().toString(36))}; | |
px=function(a,b){var c="met."+b.type;var d=g.ua(b.value)?Math.round(b.value).toString(36):b.value;var e=Math.round(b.duration);d=""+b.label+(null!=b.slotId?"_"+b.slotId:"")+("."+d)+(0<e?"_"+e.toString(36):"");e="~";e=void 0===e?"":e;var f=null==a.o[c]?c.length+d.length+2:d.length+e.length;8E3<a.B+a.A+f&&(ox(a),f=c.length+d.length+2);a.o[c]=null!=a.o[c]?a.o[c]+(""+e+d):d;a.A+=f;6E3<=a.B+a.A&&ox(a)}; | |
ux=function(){this.Ca=null;if(pn(mn(),21592081)&&!P.g()){this.Ca=new rx(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(sx)var a=sx;else{a=((a=di())?Xh(a.master)?a.master:null:null)||ji();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?sx=b:a.google_persistent_state_async=sx=new wca}b=ji();var c=di(b);c?((c=c||di())?(b=c.pageViewId,c=c.clientId,g.u(c)&&(b+=c.replace(/\D/g,"").substr(0,6))):b=null,b=+b):(b=qk(b).Qc,(c=b.google_global_correlator)|| | |
(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=Xga[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;tx(this,"c",a);a=qn(mn());g.C(g.E(a))||tx(this,"e",a)}this.g="0"}; | |
vx=function(){var a=ux.getInstance();a.Ca&&(a.Ca.disable(),a.Ca=null)}; | |
tx=function(a,b,c){a.Ca&&c&&nx(a.Ca,b,c)}; | |
wx=function(a){var b=ux.getInstance();if(b.Ca&&Yga){var c=Pi();c&&(b=b.Ca,b.l&&b.D(new Qi(a,4,c,0,void 0)))}}; | |
Zga=function(a,b){if(b){var c=/iu=\/(\d+)\//.exec(pb(b)),d=g.E((new g.um(b)).g.get("client"));a.g=c&&2==c.length?c[1]:g.C(d)?"0":d}else a.g="0"}; | |
xx=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.videoId=a.id;var b=a.statistics;b&&null!=b.viewCount&&(b=Hb(b.viewCount),this.Vi=(0,window.isNaN)(b)?-1:b);if(b=a.snippet)this.channelId=b.channelId,this.title=b.title;if(a=a.status)this.isListed="unlisted"!=a.privacyStatus}}; | |
yx=function(a,b){g.Cf.call(this);this.pa=a;this.ff=null;this.W=new g.Km(this);this.Bt(b)}; | |
$ga=function(a){return'<a target="_blank" href="'+Q(a.url)+'" class="'+Q("fullslot-attribution-button")+'">'+Q(a.text)+"</a>"}; | |
aha=function(a){return'<div class="'+Q("fullslot-autoclose")+'">'+Q(a.VI)+"</div></div>"}; | |
zx=function(a){g.Cf.call(this);this.B=new g.rg(200);g.N(this,this.B);this.o=0;this.l=!1;this.J=a;this.H=new g.Km(this);this.H.U(this.B,"tick",this.iT)}; | |
Ax=function(a){a.B.stop();a.l=!1}; | |
Cx=function(a,b,c,d,e){zx.call(this,b.g);this.F=b;this.D=c;this.I=this.F.g;this.g=a;this.A=this.C=null;g.S(this.g,Tw(this.D));a=this.g;b=new It;b.skipOffset=new zr(this.F.A,!1);this.A=new au(b,a);d&&d.text&&(d=pq($ga,d),this.g.appendChild(d));e?(e=this.g,d="Iklan akan ditutup dalam "+Q({ie:Bx(this.I)}.ie),a=pq(aha,{VI:d}),g.Rd(a,d),e.appendChild(a),e=a):e=null;this.C=e}; | |
bha=function(a){var b=g.J("videoAdUiSkipButton",a.g);return b?g.Gh(b,a.g):new g.gd(0,0)}; | |
Bx=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)}; | |
Fx=function(a,b,c,d,e){zx.call(this,d);this.F=a;this.M=b;this.K=e;this.W=new g.Km(this);g.N(this,this.W);this.A=new mt;g.N(this,this.A);this.I=new mt;g.N(this,this.I);this.D=new mt;g.N(this,this.D);(a=Dx(c))?(c=a(c),b.appendChild(c),b=g.J("iv-endcap-action",c),this.W.U(this.A,"click",this.C),this.A.Fb(b),b=g.J("iv-endcap-text",c),this.W.U(this.I,"click",this.C),this.I.Fb(b),b=g.J("iv-endcap-image",c),this.W.U(this.D,"click",this.C),this.D.Fb(b),b=c):b=null;this.g=b?g.J("iv-endcap-countdown-inner", | |
b):null;null!=this.g&&g.oh(this.g,"stroke-dasharray","0 "+Ex)}; | |
Dx=function(a){switch(a.Ub()){case 1:return cha;case 4:return dha}return null}; | |
cha=function(a){var b=pr(a);a=0<Dv(a,"action")?xr(a):null;return pq(or,{headline:b.od(),description:Lr(b,"description"),image:tr(b).getImageUrl(),action:a?Nr(a):"",target:a?wr(a)||Lr(a,"link_url"):""})}; | |
dha=function(a){var b=a.g();a=0<Dv(a,"action")?xr(a):null;var c=!1;nn().g("desktop_trv_action_endcap_background_clickable")&&(c=!0);return pq(or,{headline:b.od(),description:Or(b),image:b.yg().getImageUrl(),action:a?Nr(a):"",target:a?wr(a)||Lr(a,"link_url"):"",WI:c})}; | |
eha=function(){var a='<div class="'+R("videoAdInterstitial")+'"><p>';return kp(a+"Video Anda akan diputar setelah iklan ini.</p></div>")}; | |
Gx=function(){g.M.call(this);this.l=pq(eha);this.Ca=0}; | |
Hx=function(a){a.Ca&&(g.tg(a.Ca),a.g(g.y))}; | |
Ix=function(){this.l=this.I=this.lj=this.g=this.adSystems=this.adIds=this.adFormat=null;this.D=this.isPharma=this.B=!1;this.slotPosition=-1;this.breakType=null;this.F=this.H=!1;this.timeout=-1;this.A=!1;this.o=this.C=null;this.Zj=this.cj=this.Rk=!1}; | |
Jx=function(a){g.af.call(this,a)}; | |
Kx=function(a){g.Cf.call(this);this.Ya=null;this.o=a;this.K=new g.om;this.I=-1;this.D=this.M=!1;this.C=""}; | |
Lx=function(a){this.paused=!1;this.mute=a.isMuted();this.volume=a.getVolume()}; | |
Mx=function(a,b,c,d){if(!c||null==a.K.get(b)){d&&!a.D&&(b="error");a.K.set(b,!0);a:{c=b;if(a.l&&a.l.pa.B){if("click"==c)break a;"videoLearnMoreClicked"==c&&Au(a.o,new g.af("click"))}d=fha[c]||null;null!=d&&null!=a.g&&a.g.Ev(d);Au(a.o,new g.af(c))}a.dispatchEvent(b)}}; | |
Nx=function(a){0>a.I||a.M||!a.g.ol(a.I)&&!a.g.rh()||!a.D||(a.M=!0,Mx(a,"engagedview",!0,!0),a.dispatchEvent(new Jx("viewCount",a.g)))}; | |
Ox=function(a){Nx(a);if(P.g()){var b=a.o;if(!(qm(b.l,"skip")||0>b.B)){for(var c=Ip(b.o,"progress"),d=[],e=b.B;e<c.length;e++){var f=c[e];b.B=e+1;d.push(f.Ta())}0<d.length&&Au(b,new g.af("progress"),d)}}Mx(a,"complete",!0,!0)}; | |
Px=function(a){this.g=new g.om;if(a){a=sm(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}}; | |
Qx=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Fa(a):b.substr(0,1)+a}; | |
Rx=function(a){Du.call(this,a);this.g=null;this.C=!1;this.o=new Kx(this.bc);this.Ya=null;this.X=this.ca=this.D=!1;this.Y=this.B=1;this.l=null;this.Z=new Gx;this.H=new Px;this.fa=!1;this.M=[];this.K=this.J=this.T=!1;this.A=null;this.ea=!Mn()&&P.g();this.I=!1;this.F=null;pn(mn(),324123001)&&(P.T=!0);pn(mn(),324123021)&&(P.T=!0);if(a=0<a.length?a[0]:null){var b=ux.getInstance();tx(b,"gqid",Ks(a));tx(b,"qqid",Iq(a))}gha(this)}; | |
Sx=function(a,b){var c=g.sg(function(){this.H.remove(c);b.call(this)},0,a); | |
a.H.add(c)}; | |
Tx=function(a){P.o&&a.ia("youtubeKevlarCompanionHide")}; | |
Ux=function(a){a.A&&(g.Ze(a.A),a.A=null);g.Ze(a.Pa);a.Pa=null;g.Ze(a.o);g.Ze(a.bc);a.X=!1}; | |
iha=function(a){if(!a.jb())return!1;var b=a.Ia.Vf();if(null==b)return!1;var c=a.ma(),d;if(d=c.J?c.J.g.Pl()?c.J.g.vt():c.J.cd():"")hha(a,b,d);else if(Ys(c)&&(d=c.Z,d=g.Qa(d)?null:d[0],null!=d&&g.Ca(Dx(d)))){var e=1==d.Ub();a.g=new Fx(a.Ha,b,d,dt(c),e);a.Va().U(a.g,"click",(0,g.z)(a.Qy,a,null));a.Pa&&vu(a.Pa,!0);a.Ia.zd()}null!=a.g&&(a.Va().U(a.g,"timeUpdate",a.xD),a.Va().U(a.g,"end",a.wJ),a.g.start(),Iu(a,"video_card_endcap_impression"));return null!=a.g}; | |
hha=function(a,b,c){so(po.getInstance(),34,{evt:"start"},!0);var d=g.K("DIV");g.S(d,"controls");var e=g.K("DIV");g.S(e,"adDisplay");g.S(e,"endslate");e.innerHTML=c;(c=g.Ld(e)[0])&&g.oh(c,{margin:"0 auto"});(0,g.B)(c.getElementsByTagName("a"),function(a){var b=a.getAttribute("href");b&&this.Va().U(a,"click",(0,g.z)(this.Qy,this,b))},a); | |
d.appendChild(e);e=new gv;Aga(e,dt(a.ma()));e.A=0;e.o=0;a.g=new Cx(d,e,1,{},!0);a.Va().U(a.g,"skip",a.Ry);b.appendChild(a.g.g);a.Ia.zd();a.Pa&&(rga(a.Pa),ru(a.Pa))}; | |
Wx=function(a,b){Vx(a);null!=a.Ha&&a.Ha.Zs();a.ia("complete");Iu(a,b);a.xa("instreamAdComplete");a.Si()}; | |
Vx=function(a){a.g&&(a.g.dispose(),a.g=null);a.Pa&&vu(a.Pa,!1);a.C=!1}; | |
jha=function(a){return(0,g.cm)(a.sc.B,function(a){return!zv(a.Le(),"hide_in_drawer")})}; | |
Zx=function(a,b,c){Xx(a)&&c?Yx(a,b).then(a.Fx,null,a):(a.Fx(),c&&Yx(a,b))}; | |
kha=function(a){null!=a.Ha&&a.Ha.Ys();var b=nn();b=b.g("use_forced_brand_precap_duration")?b.l("forced_brand_precap_duration_ms"):2E3;sga(a.Pa,b);var c=g.sg(function(){null!=this.Ha&&this.Ha.Zs();this.H.remove(c);this.Z.show(this.Ia.Cl(),this.Ra.Zv,(0,g.z)(this.Ha.play,this.Ha))},b,a); | |
a.H.add(c)}; | |
$x=function(a,b,c,d){b=Ip(b.g,c);g.Qa(b)||(a[d]=b[0].Ta())}; | |
ay=function(a,b,c){b=c.getExtension(b);null!=b&&($x(a,b,"annotation_click","cta_annotation_clicked"),$x(a,b,"annotation_close","cta_annotation_closed"),$x(a,b,"annotation_start","cta_annotation_shown"))}; | |
lha=function(a,b){var c=new Ix;c.adFormat=Jq(b);c.adIds=Gq(b).join(",");c.adSystems=Hq(b).join(",");1<b.A.af&&(c.slotPosition=b.A.g-1);c.breakType=b.Ne();Ws(b)&&!b.ca&&(c.lj=Fs(b));c.I=a.Ra.contentId;if(a.Pa){var d={};ay(d,"AdSense",b);ay(d,"dart",b);ay(d,"DFP",b);c.l=d;c.D=a.Pa.pa.C}b.isSkippable()&&!rs(b)&&(c.H=!0);d=nn();c.timeout=d.g("use_variable_load_timeout")?d.l("variable_load_timeout_ms"):a.Ra.uf;if(d=b.o)c.B=d.mq;c.A=a.Ra.Ll;c.g=Iq(b);c.C=a.Ra.ti;c.isPharma=by(a,b);c.F=!0;d=Cs(a.ma(),"endscreenClick"); | |
d=g.Qa(d)?null:g.yg({endscreenClick:d});c.o=d;c.Rk=Xx(a);c.cj=a.jb()&&kt(a.ma());c.Zj=a.jb()&&kt(a.ma());return c}; | |
by=function(a,b){var c=uq(a.Jj());if(!c){var d=b.getExtension("AdSense");null!=d&&(c=d.isPharma())}return c}; | |
gha=function(a){var b=0,c=0;(0,g.B)(a.ads,function(a){!Hu(a)||P.g()&&0!=c||(c++,b+=a.getDuration())},a); | |
var d=1;(0,g.B)(a.ads,function(a){var b=a.A;b.af=c;Hu(a)&&(b.g=d,b.o=d,d++)},a)}; | |
cy=function(a){var b=a.l;return b&&b.ra&&(b=b.D,!g.Qa(b)&&b[0]instanceof Tp)?b[0].qf():Ds(a)}; | |
fy=function(a,b){if(!Hu(b))throw Fn(dy);var c=b.g,d=c.B;if(null!=d)return d;var e=null!=b&&!ey(a)&&(P.g()||a.Ia.Io()||a.Ia.Ts()||Mn());d=a.ih(b);e=a.Ha.hE(d,a.Ra.bitrate,a.Ra.Ml||[],e);mha(d,a.Ra.bitrate,e,vs(b));if(null!=e)return c.B=e;try{nha(a,b)}catch(f){}throw Fn(oha);}; | |
nha=function(a,b){if(po.getInstance().isLoggingEnabled()){var c=new Px,d=!1;(0,g.B)(a.ih(b),function(a){c.add(a.g);"VPAID"==a.l&&(d=!0)},a); | |
var e=a.Ha.ws();e={aid:Fs(b),mt:c.ub().join(","),smt:e.join(","),hvp:d,st:Ls(b).join(",")};so(po.getInstance(),28,e)}}; | |
mha=function(a,b,c,d){if(!P.g())try{var e=(0,g.G)(a,function(a){return a.dg}),f=(0,g.G)(a,function(a){return a.g}); | |
a={};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.dg;a.selmt=null===c?"":c.g;a.ic=!1;a.nat=!1;a.iyh=sn(c.Ta())?"1":"0";a.as=d;so(po.getInstance(),22,a)}catch(k){}}; | |
gy=function(a){return a.K?!1:a.Ra.Ll&&(!a.Ia.Pj()||a.Ia.Pj()&&!1)}; | |
ey=function(a){return a.Ra.Ll&&co(a.Ia)&&!a.K&&!0}; | |
jy=function(a){try{var b=a.ma();a.l=fy(a,b);Sx(a,(0,g.z)(Rx.prototype.Ot,a,b,a.l.Ta(),a.l.g))}catch(c){(0,g.Oa)(a.ads,b)+1<a.ads.length&&(hy(a,c),a.Wi(),a.jb()?(Hn(a,iy,c),jy(a)):In(a,iy,c))}}; | |
pha=function(a){try{var b=a.Ke();null!==b&&(a.l=fy(a,b),Sx(a,(0,g.z)(Rx.prototype.Ot,a,b,a.l.Ta(),a.l.g,!0)))}catch(c){}}; | |
ky=function(a,b){b in a.M||(a.M.push(b),a.ia(b))}; | |
qha=function(a){var b=a.ma(),c={};c.pubbr=a.Ra.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.ih(b);var d=b.g;d=d?d.B:null;var e=(0,g.G)(a,function(a){return a.dg}); | |
a=(0,g.G)(a,function(a){return a.g}); | |
c.brs=e.join(",");c.mts=a.join(",");c.as=vs(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.dg,c.selmt=d.g,c.iyh=sn(d.Ta())?"1":"0",c.murl=d.Ta())}so(po.getInstance(),45,c)}; | |
ly=function(a,b,c){hy(a,c);a.Wi();a.jb()?(Hn(a,b,c),a.start()):(In(a,b,c),a.stop())}; | |
hy=function(a,b){var c=Fn(iy,b);c=Cq(c,a.ma(),a.Ha);var d=ws(a.ma());Bn(d,c)}; | |
my=function(a){if(P.l||P.g()){var b=cy(a.ma());null!=b&&wn(b);a.ia("click")}else a.I&&a.ia("click")}; | |
ny=function(a,b){g.Ub(rha,b)&&Mm(a.Va(),a.o,b,a.tD,a)}; | |
oy=function(a){if(!a.T){var b=a.ma(),c=b.C;if(ht(b)&&!P.g()&&!a.Ia.Io()&&c){b=a.Ha.getCurrentTime();var d=a.Ha.getDuration(),e=new g.um("//s.youtube.com/s");g.Dm(e,"ns","yt");g.Dm(e,"el","adunit");g.Dm(e,"docid",c);g.Dm(e,"eurl",window.document.URL);g.Dm(e,"len",d.toFixed(2));g.Dm(e,"tv","1");g.Dm(e,"ps","trueview-instream");g.Dm(e,"st",b.toFixed(2));g.Dm(e,"et",b.toFixed(2));g.Dm(e,"rt",b.toFixed(2));xn(e.toString());a.T=!0}}}; | |
sha=function(a){var b=a.ma().K;if(null!=b){b=b.videoId;var c=a.Ra.pj;if(g.C(g.E(b)))b=null;else{c=new g.um((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",b);zm(c,d);c.H="action=share";b=c.toString()}null!=b&&(wn(b),a.qE())}}; | |
tha=function(a){a=py(a)||qy(a);null!=a&&yn(a,"sharebuttondisplayed")}; | |
py=function(a){a=a.ma().getExtension("AdSense");return null!=a?new g.um(a.A):null}; | |
qy=function(a){if(a=a.ma().g)if(a=Qp(a,"start"),!g.Qa(a))return new g.um(a[0].Ta());return null}; | |
uha=function(a){var b=a.ma(),c=b.K;null!=c&&(b=tq(c.videoId,null!=ct(b),a.Ra.pj),null!==b&&(a.Ha.pause(),wn(b)))}; | |
ry=function(a){Sx(a,function(){this.ia("skip");nn().g("skip_ad_pod_to_end")?this.stop():this.Si()})}; | |
sy=function(a,b,c){var d=b.getExtension("AdSense"),e;(e=a.ea)||(e=null===c?!1:"modules"==(new g.um(c)).mi().toLowerCase()||uq(c));e=e||null!=d&&d.F;c=b.isBumper()?null:ct(b);if(P.g()||el())d=!1;else{if(d=Mn())d=!(a.Sl()&&null!=a.Ia&&a.Ia.Tr());d=d||ht(b)||a.Ra.ew?!0:!1}if(d||!P.g()&&e)a.Ra.aw=!0,a.Ra.ew=!0;d=Dq(b,a.Ha);if(P.g()||a.Ra.ew){var f=g.C(g.E(Ds(b)))?!1:a.Ra.aw,k=b.g,l=!1;!by(a,b)&&null!=k&&k instanceof Tp&&(l=0<Gea(k).length);var m=b.isBumper();k=a.Ra;var n=P.g()||!1,p=P.g();a.Wj(b);a=l; | |
b=Jt(e,b.C,c,m,k,d);b.B=f;b.ga=k.DW;b.ha=n;b.fa=!0;b.ca=p;b.H=k.Yv;b.na=k.dw;b.ab=k.EW;b.D=k.Xz;b.Z=0;k.Yv&&(b.vh="Kunjungi Pengiklan");b.Da=a;return b}us(b)?(f=b.C,b=b.isBumper(),!g.C(g.E(f))&&null!==c&&0<Mp(c)&&(e=!0),a=Jt(e,f,c,b,a.Ra,d),a.X=e?pfa:ofa):(f=b.isBumper(),a=Jt(e,b.C,c,f,a.Ra,d),a.D=!1,a.o=!1,a.A=!1);return a}; | |
ty=function(a){a=a.Ia.Cl();null===a?a=window.document.body:g.Hd(a);return a}; | |
Yx=function(a,b){return g.jg(vha(a,b).then(a.TV,null,a).then(a.xV,null,a).then(a.SV,null,a).then(a.jJ,null,a),g.y)}; | |
vha=function(a,b){return new g.Xf(function(a,d){Uga(b,function(b){b=new xx(b);this.jb()&&this.ma().C==b.videoId?a(b):d()},function(){d()},this)},a)}; | |
uy=function(a){return a.jb()&&null!=a.ma().K&&a.ma().K.isListed}; | |
vy=function(a){var b=a.ma().ea;if(uy(a)&&null!=b){var c=a.Ra.pj;b=g.E(b.channelId);c=g.C(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.lb(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Ha.pause(),wn(c))}}; | |
Xx=function(a){if(nn().g("website_actions_holdback"))return!1;a=a.ma();if(!a||!a.C)return!1;var b=g.La(a.B,function(a){return 4==a.Ub()&&zv(a.Le(),"show_in_cta")}); | |
return P.g()&&ht(a)&&null!=b}; | |
wha=function(a,b){var c=a.jb()?a.ma().C:null,d=a.ma();if(!d||!c)return"";d=g.La(d.B,function(a){return 4==a.Ub()&&zv(a.Le(),"show_in_cta")}); | |
if(!d)return"";c=d.g();var e=xr(d);d=g.qb(e&&wr(e)||"");e=g.qb(e&&Nr(e)||" ");var f=g.qb(c.od()||b.authorName);var k=g.qb(Or(c)||"");c=g.qb(c.yg().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>"}; | |
wy=function(a){g.Cf.call(this);this.sessionId=a||Db();this.l=[]}; | |
yy=function(a,b,c,d,e){g.af.call(this,a);this.ee=b;this.eg=c;this.Zz=d;this.l=e}; | |
zy=function(a,b){wy.call(this,b);this.o=a;this.Ff=null;this.W=new g.Km(this);this.logger=null;this.W.U(Ad(),"message",this.receive)}; | |
Ay=function(a){if(null==a||!g.u(a)||!g.lb(a,"ima://"))return null;a=a.substr(6);try{return JSON.parse(a)}catch(b){return null}}; | |
xha=function(a,b,c,d){var e={};e.name=b;e.type=c;null!=d&&(e.data=d);e.sid=a.sessionId;e.channel=a.o;return"ima://"+g.yg(e)}; | |
By=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.o)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0}; | |
Cy=function(a,b){g.af.call(this,"vpaidEvent");this.sessionId=b}; | |
Dy=function(a){Du.call(this,a);this.Y=this.K=this.Wc=!1;this.F=[];this.B=Db();this.Ya=this.g=null;this.l=!0;this.I=-1;this.H=new g.rg(500);this.T=this.D=-1;this.A=1;this.Z=this.X="";this.M=this.J=this.C=!1}; | |
Fy=function(a){var b=zs(a.ma());P.g()&&(b=yha(a,b),b=zha(a,b));var c=g.E(Ds(a.ma())),d=a.ma();if(Hu(d)){var e=d.g,f=Vp(e,"javascript");null!=f&&(e.B=f)}d=et(d);c={desiredBitrate:a.Ra.bitrate,creativeData:b,viewMode:a.bd,clickThroughUrl:c,adUrl:d,volume:a.A};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Ra.surveyCreativeData&&(c.creativeData=a.Ra.surveyCreativeData);Ey(a,"initAd",c);(0,g.B)(a.F,function(a){Ey(this,a.type,a.params)},a); | |
a.Wc=!0;a.F=[]}; | |
Gy=function(a,b,c){c=c||null;a.Wc?Ey(a,b,c):a.F.push({type:b,params:c})}; | |
Ey=function(a,b,c){c=c||{};c.session=a.B;c.type=b;Hy()?window.parent.postMessage(g.yg(c),"*"):null!=a.o.contentWindow&&a.o.contentWindow.postMessage(g.yg(c),"*")}; | |
Bha=function(a,b){var c={};b=zb(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.B)(d,function(a){c[a]=!0}); | |
g.Kb(Aha,function(a,b){nn().g(b)&&(c[a]=!0)},a); | |
return g.Rb(c).join(" ")}; | |
yha=function(a,b){var c=g.Tr(b),d=a.ma().getExtension("why_this_ad",!0);if(null!=d){var e=nn().g("enable_survey_ad_info_dialog"),f=d.o;(0,g.B)(c.firstChild.childNodes,function(a){if(e){a.setAttribute("use_ad_info_dialog",!0);a.setAttribute("ad_info_icon_hover_text",d.l);a.setAttribute("targeting_reasons_header",d.B);var b=g.Xa(d.C);0<b.length&&(a.setAttribute("dialog_title",d.l),a.setAttribute("targeting_reasons",JSON.stringify(b)));a.setAttribute("ad_settings_button_text",f[1]);a.setAttribute("confirm_button_text", | |
d.A);b=d.g;var c=Np(b,"why_this_ad_url");c&&a.setAttribute("wta_shown_tracking",c[0]);(c=Np(b,"why_this_ad_afim_survey"))&&a.setAttribute("wta_afim_survey",c[0]);(c=Np(b,"why_this_ad_got_it"))&&a.setAttribute("wta_closed_tracking",c[0]);(b=Np(b,"why_this_ad_settings_url"))&&a.setAttribute("wta_ad_settings_clicked_tracking",b[0]);f&&3==f.length&&a.setAttribute("generic_message",f[0]+f[1]+f[2])}else f&&3==f.length&&(a.setAttribute("ad_settings_text_prefix",f[0]),a.setAttribute("ad_settings_text_link", | |
f[1]),a.setAttribute("ad_settings_text_suffix",f[2]))},a)}return Ur(c)}; | |
zha=function(a,b){for(var c=g.Tr(b),d=a.ma(),e;null!=d;){e=d.getExtension("survey",!0);if(null!=e)break;d=d.l}if(null!=e){var f=c.firstChild.firstChild;d=hq(e,"interstitial_viewed");(0,g.B)(d,function(a){var b=g.K("interstitial_viewed");b.textContent=a;f.appendChild(b)},a); | |
d=hq(e,"interstitial_timed_out");(0,g.B)(d,function(a){var b=g.K("interstitial_timed_out");b.textContent=a;f.appendChild(b)},a); | |
d=hq(e,"interstitial_start_clicked");(0,g.B)(d,function(a){var b=g.K("interstitial_start_clicked");b.textContent=a;f.appendChild(b)},a); | |
d=hq(e,"interstitial_dismissed");(0,g.B)(d,function(a){var b=g.K("interstitial_dismissed");b.textContent=a;f.appendChild(b)},a); | |
e=hq(e,"survey_question_displayed");(0,g.B)(e,function(a){var b=g.K("survey_question_displayed");b.textContent=a;f.appendChild(b)},a)}return Ur(c)}; | |
Iy=function(a,b,c,d){d=Fn(b,c,d);var e=Cq(d,a.ma()),f=ws(a.ma());Bn(f,e);b.message=d.Nd();In(a,b,c)}; | |
Ly=function(a,b){if(g.u(b.type))switch(b.type){case "friendlyReady":Fy(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Ia.ag();a.Z!=b.src&&(a.Z=b.src,a.g.load(b.src,b.mimetype));a.g.play();break;case "pause":a.g.pause()}break;case "returnDuration":a.D=b.duration;break;case "returnRemainingTime":a.I=b.remainingTime;break;case "AdClickThru":a.xa("click");a.ia("click");break;case "AdDurationChange":a.D=b.duration;a.I=b.remainingTime;a.ma().g.ha=a.D;a.ia("durationChange");break;case "AdError":Iy(a, | |
Kw,Error(b.message));a.stop();break;case "AdExpandedChange":a.ia("expandedChanged");break;case "AdImpression":var c=a.ma();g.Qa(ys(c))||a.Id(c);Iu(a,"impression");a.J=!0;Jy(a,51);break;case "AdLinearChange":c=b.isLinear;!a.l&&c?(a.ia("contentPauseRequested"),Gy(a,"becameLinear")):!c&&a.l&&(a.ia("contentResumeRequested"),Gy(a,"becameNonlinear"),Gy(a,"getAdRemainingTime"),Gy(a,"getAdDuration"));a.l=c;var d=a.ma();d.ab=!0;d.sa=c;a.ia("linearChanged");break;case "AdLoaded":g.tg(a.T);a.K=!0;d=b.companions; | |
c=a.ma();g.Qa(ys(c))&&(d=Bw(d,c.g.g),g.Qa(d)||ls(c,d));Ky(a);Iu(a,"loaded");break;case "AdPaused":a.C=!0;Iu(a,"pause");break;case "AdPlaying":a.C=!1;Iu(a,"resume");break;case "AdRemainingTimeChange":a.I=b.remainingTime;c=a.ma().getDuration();d=c-a.Lc();Ou(a,d,c);break;case "AdSkipped":Iu(a,"skip");a.stop();break;case "AdSkippableStateChange":Iu(a,"skippableStateChanged");break;case "AdStarted":a.xa("creativeview");Jy(a,52);break;case "AdStopped":a.xa("stop");a.stop();break;case "AdUserAcceptInvitation":a.l? | |
a.xa("acceptinvitationlinear"):a.xa("acceptinvitation");break;case "AdUserMinimize":a.xa("collapse");break;case "AdUserClose":Iu(a,"userClose");break;case "AdVideoComplete":a.J&&a.M||(c={},c.aic=a.J,c.avc=a.M,Jy(a,56,c));Iu(a,"complete");break;case "AdVideoFirstQuartile":Iu(a,"firstquartile");break;case "AdVideoMidpoint":Iu(a,"midpoint");break;case "AdVideoStart":a.xa("start");a.ia("start");a.M=!0;break;case "AdVideoThirdQuartile":Iu(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.A&& | |
a.ia("volumeChange",{volume:c});0==c&&0!=a.A?(a.xa("mute"),a.ia("mute")):0==a.A&&0!=c&&a.xa("unmute");a.A=c;a.g.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.ia("interaction",c);break;case "Ping":xn(b.url)}}; | |
My=function(a,b){Hy()||Ey(a,"wrapperCall",{messageType:b})}; | |
Ky=function(a){a.K&&a.Y&&(Gy(a,"startAd"),a.H.start(),a.l||(Gy(a,"becameNonlinear"),Gy(a,"getAdRemainingTime")),Gy(a,"getAdDuration"))}; | |
Jy=function(a,b,c){try{c=c||{};c.dn=a.X;c["if"]=Hy();c.pid=ux.getInstance().g;var d=Is(a.ma()).join();c.xy=d;so(po.getInstance(),b,c,!0)}catch(e){}}; | |
Hy=function(){return 2==P.D}; | |
Ny=function(){Du.call(this,[]);this.Ya=null;this.je=this.ke=-1;this.D=!1}; | |
Py=function(a,b,c,d){if(a.g){var e=a.g;Mm(a.Va(),e,Oy,a.dispatchEvent,a);Mm(a.Va(),e,"companionBackfill",a.dispatchEvent,a);Mm(a.Va(),e,"adError",a.BC,a);Mm(a.Va(),e,"allAdsCompleted",g.y,a);Mm(a.Va(),e,"contentPauseRequested",a.LC,a);Mm(a.Va(),e,"contentResumeRequested",a.Xu,a);Mm(a.Va(),e,"userClose",a.Qi,a);Mm(a.Va(),e,"autoClose",a.Pi,a);a.g.Pg(a.Xd);a.g.Tc(b,c,d)}}; | |
Qy=function(a){a.g&&(a.g.destroy(),a.g=null);a.Ia&&a.Ia.hide();g.Ze(a.dc);a.dc=null}; | |
Sy=function(a,b,c){Ny.call(this);this.o=c;this.l=null;this.B=this.C=this.A=!1;this.g&&Qy(this);this.g=b;Ry(this,b)}; | |
Uy=function(a,b,c){var d=(0,g.z)(function(a){Hn(this,Cha,c);try{var b=Ty([a[0]]);if(b)var d=b;else throw Error("Ads manager creation failure, failed to determine ad type.");Ry(this,d);a=d;try{this.g&&Qy(this),this.g=a,Py(this,this.Ia,this.content,this.Ra),this.D&&this.g.Tj(),this.g.wb(this.ke,this.je,this.bd),this.g.init(this.bd),this.start()}catch(m){d=m;var e=a.xb();Os(e);Uy(this,Ps(e),Error(d.Nd()))}}catch(m){e=m,In(this,e.Nd(),e.Ql)}},a); | |
a=(0,g.z)(function(){this.ia("contentResumeRequested");In(this,Dha,c);this.destroy()},a); | |
null!=b?Sq(b,d,a):a(null)}; | |
Ry=function(a,b){a.l&&a.l.dispose();a.l=new g.Km(a);g.N(a,a.l);Mm(a.l,b,"start",a.qQ,a)}; | |
Vy=function(a){Du.call(this,[]);this.Ya=null;this.l=a;this.o=0;this.g=this.l[this.o];this.A=this.C=this.B=null;this.je=this.ke=-1;this.D=!1;Eha(this)}; | |
Wy=function(a,b,c,d){if(a.g){a.B=new g.Km(a);var e=a.g,f=a.B;Mm(f,e,Oy,a.dispatchEvent,a);Mm(f,e,"start",a.aL,a);Mm(f,e,"companionBackfill",a.dispatchEvent,a);Mm(f,e,"adError",a.pQ,a);Mm(f,e,"allAdsCompleted",g.y,a);Mm(f,e,"contentPauseRequested",a.Hh,a);Mm(f,e,"contentResumeRequested",a.hg,a);Mm(f,e,"userClose",a.Qi,a);Mm(f,e,"autoClose",a.Pi,a);a.g.Tc(b,c,d)}}; | |
Eha=function(a){var b=0,c=a.l.length;(0,g.B)(a.l,function(a){b+=a.jf().getDuration()},a); | |
var d=1;(0,g.B)(a.l,function(a){a=a.jf().A;a.af=c;a.g=d;a.o=d;d++},a)}; | |
Yy=function(a,b,c){a.o+1>=a.l.length?In(a,iy,c.Ql):(Hn(a,iy,c.Ql),Xy(a,b))}; | |
Xy=function(a,b){if(a.g===b)if(Zy(a),a.o++,a.o<a.l.length)try{a.g=a.l[a.o],a.g===a.A?(a.B=a.C,a.A=null,a.C=null,a.Ia.hide(),a.Ia.Ho()):(Wy(a,a.Ia,a.content,a.Ra),a.g.wb(a.ke,a.je,a.bd),a.g.init(a.bd)),a.start()}catch(c){Yy(a,a.g,c)}else a.ia("contentResumeRequested"),a.destroy()}; | |
Zy=function(a){a.B&&(a.B.dispose(),a.B=null);a.g&&(a.g.destroy(),a.g=null);a.Ia&&a.Ia.hide()}; | |
Fha=function(a){return'<div class="'+Q("overlays-action-tray")+'"><div class="'+Q("ad-info-padding")+'" title="'+Q(a.JI)+'" role="button" tabindex="1"><svg class="'+Q("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="'+ | |
Q("close-padding condensed contains-svg")+'" title="'+Q(a.close)+'" role="button" tabindex="0"><svg class="'+Q("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>'}; | |
Gha=function(a){return'<a target="_blank" href="'+Q(a.url)+'" class="'+Q("attribution-button")+'">'+Q(a.text)+"</a>"}; | |
$y=function(a,b){this.H=a;this.F=g.K("DIV",{"class":"controls"});this.g=g.K("DIV",{"class":"adDisplay"});this.T=b||g.y;this.Xf=new g.Km(this)}; | |
az=function(a){var b=g.K("DIV",{"class":"ima-container"});tt(b,"opacity 0.4s");a.Xf.U(b,"mouseover",a.MK);a.Xf.U(b,"mouseout",a.sW);b.appendChild(a.F);a.F.appendChild(a.g);return b}; | |
bz=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)}; | |
cz=function(a){Du.call(this,a);this.o=null;this.K=g.K("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.B=!1;this.F=[];this.D=null;this.J=new g.Cf}; | |
dz=function(a,b){var c=Lea(b);(0,g.B)(c,function(a){Kp(this.bc.o,"click",a)},a)}; | |
ez=function(a,b){var c=Dq(b,a.Ha);a.bc.g=c;b.g&&(a.Ng(b),c=b.g)&&(a.lg(c,Hha),Lu(a,b))}; | |
fz=function(a,b){var c=Cq(b,a.ma()),d=ws(a.ma());Bn(d,c)}; | |
gz=function(a,b,c,d,e,f,k){g.Cf.call(this);this.l=this.H=0;this.D=a;this.Bc=b;this.fa=c;this.C=null;this.bb=d;this.K=f;this.X=P.A;this.I=this.B=this.F=this.g=null;this.je=this.ke=-1;this.Y="normal";this.T=null;this.A=e;this.o=[];this.ca=this.J=this.ea=this.M=!1;this.Z=k;this.Ya=null;Iha(this)}; | |
hz=function(a,b,c,d){a.ke=b;a.je=c;null!=d&&(a.Y=d);null!=a.g&&a.g.wb(b,c,d)}; | |
Iha=function(a){(0,g.B)(a.D,function(a){Jha(a)})}; | |
iz=function(a){return a.H<a.D.length&&null!=a.D[a.H]}; | |
Kha=function(a,b){var c;if(c=P.g()&&!g.Qa(b)&&0==a.Bc)c=b[0],c=null!=c&&null==et(c)&&$s(c,"nonlinear");return c?(c=Js(b[0]),"ADSENSE"==(0<c.length?c.pop():vs(b[0])).toUpperCase()):!1}; | |
oz=function(a){!iz(a)||2<=a.o.length-a.l?a.ea||(kz(a),a.kg()&&lz(a,a.l)&&mz(a,a.l)&&nz(a,a.l),a.ea=!0,a.dispatchEvent("adBreakInitialized")):jz(a)}; | |
jz=function(a){var b=a.D[a.H];Mm(a.W,a.bb,"adsLoaderSdkAdLoaded",a.zC,a);P.A="on_master_ad";Lha(a.bb,b.l,b)}; | |
kz=function(a){null==a.Bc||(0,g.Aj)(a.o,function(a){return!a.isBumper()})||(a.o=(0,g.Kd)(a.o,function(a){return!(a.isBumper()&&!a.o)}))}; | |
lz=function(a,b){if(b<a.o.length){var c=a.o[b];g.Qa(c.g)?c=!1:(c=c.g[0],c=null!=c?!No(ns(c),"rm"):!1)}else c=!1;return c}; | |
vz=function(a){if(lz(a,a.l)){var b=a.o[a.l];try{a.J?pz(a,a.g):a.kg()&&mz(a,a.l)?(null===a.B&&nz(a,a.l),qz(a),a.g=a.B,a.F=a.I,a.B=null,a.I=null,a.A.Ho()):(qz(a),a.F=new g.Km(a),a.g=rz(a,b,a.F),pz(a,a.g));null!=a.C&&(a.C.dispose(),a.C=null);if(sz(a.g)){var c=a.xb();if(null==c||!at(c)){var d=a.g.ma().g;if(null!==d){var e=d.Da;0>=e&&!a.K.Nx||(0>=e&&(e=15),a.C=new g.rg(1E3*e),Pm(a.F,a.C,"tick",a.OS,a))}}}if(sz(a.g))a.dispatchEvent("contentResumeRequested"),a.A.zd(),a.g.start(),null!=a.C&&a.C.start();else{var f= | |
a.g;if(null!=f&&f instanceof Rx)a.A.ag(),a.g.start();else{var k=a.g;if(null!=k&&k instanceof Dy){var l=a.g;a.A.zd();l.Vb()?Hy()||a.A.ag():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var m=a.g;if(null!=m&&(m instanceof Nw||m instanceof Hw))a.A.zd(),a.g.Vb()||a.dispatchEvent("contentResumeRequested"),a.g.start();else{var n;if(!(n=tz(a.g))){var p=a.g;n=null!=p&&p instanceof Sy}if(n)a.g.start();else throw Error("Unknown ads manager type.");}}}}a.kg()&&lz(a,a.l+1)&&mz(a,a.l+1)&&1==uz(a)&& | |
nz(a,a.l+1)}catch(r){a.l++,vz(a)}iz(a)&&jz(a)}else a.dispatchEvent("contentResumeRequested"),wz(a)}; | |
pz=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.Y);null!=a.T&&b.setVolume(a.T)}; | |
rz=function(a,b,c){b=xz(a.bb.o,b.g);var d=new Xm(a.A,a.kg());b.Pg(a.Z);Mm(c,b,Oy,a.AC,a);Mm(c,b,"companionBackfill",a.AC,a);Mm(c,b,"adError",a.nQ,a);Mm(c,b,"allAdsCompleted",g.y,a);Mm(c,b,"contentPauseRequested",a.Hh,a);Mm(c,b,"contentResumeRequested",a.hg,a);Mm(c,b,"userClose",a.Qi,a);Mm(c,b,"autoClose",a.Pi,a);b.Tc(d,{currentTime:0},a.K);b.wb(a.ke,a.je,a.Y);return b}; | |
qz=function(a){a.A.hide();null!=a.C&&(a.C.dispose(),a.C=null);null!=a.F&&(a.F.dispose(),a.F=null);null!=a.g&&(a.g.destroy(),a.g=null)}; | |
yz=function(a){null!=a.I&&(a.I.dispose(),a.I=null);null!=a.B&&(a.B.destroy(),a.B=null)}; | |
tz=function(a){return null!=a&&a instanceof Vy}; | |
sz=function(a){return null!=a&&a instanceof cz}; | |
wz=function(a){a.M=!1;a.dispatchEvent("allAdsCompleted")}; | |
uz=function(a){return null===a.g||g.Qa(a.g.ads)?0:a.g.ads.length}; | |
Mha=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.B)(a.o,function(a,b){var f=a.g;-1!=(0,g.Oa)(f,c)&&a.isBumper();d+=f.length;b<this.l&&(e+=f.length)},a); | |
b=c.A;var f=e+b.o;b.af=d+(a.D.length-a.H);b.g=f;b.A=a.fa;b.l=a.Bc}}; | |
nz=function(a,b){var c=a.o[b];a.I=new g.Km(a);a.B=rz(a,c,a.I);pz(a,a.B)}; | |
mz=function(a,b){if(0<=b&&b<a.o.length){var c=a.o[b].g[0];return null!=et(c)||null!=ft(c)?!1:!0}return!1}; | |
zz=function(a){this.g=a}; | |
Nha=function(a){this.l=a}; | |
Az=function(a){this.l=a;this.g=this.isBumper=!1;this.o=null;this.Vn=!1}; | |
Jha=function(a){if(null!=a.l.g&&(a=g.Eg(a.l.g)[6]||null)){var b=null;Ig(a,function(a,d){if(null==b)switch(a){case "max_ad_duration":case "pmxd":b=d/1E3}})}}; | |
Bz=function(){this.g=new g.om}; | |
Cz=function(a,b,c){if((0,window.isNaN)(c)||!g.ua(c))throw Error("Incorrect time offset.");var d=[];qm(a.g,c)&&(d=a.g.get(c,[]));(0,g.B)(b,function(a){null!=a&&g.Sa(d,a)}); | |
a.g.set(c,d)}; | |
Dz=function(a,b){this.g=a;this.l=b}; | |
Pha=function(a){var b=new Bz;(0,g.B)(g.Ld(g.Nd(a.g)),function(a){switch(a.nodeName){case "Preroll":a=Ez(this,a);Cz(b,a,0);break;case "Midroll":var c=Zr(a,"timeOffset"),e=cs(c);if(-1==e)throw En(Fz,null,"timeOffset",g.E(c));a=Ez(this,a);Cz(b,a,e);break;case "Postroll":a=Ez(this,a);Cz(b,a,-1);break;default:throw En(Gz,null,a.parentNode.nodeName,a.nodeName);}},a); | |
if(0==b.g.Bb().length)throw En(Oha);return b}; | |
Ez=function(a,b){var c=[];(0,g.B)(g.Ld(b),function(a){switch(a.nodeName){case "Ad":var b=g.E($r(a));if(!g.C(b)){a=Zr(a,"bumper");var d=this.l.clone();d.g=b;b=new Az(d);b.isBumper=null!=a;b.g="always"==a;g.Sa(c,b)}break;default:throw En(Gz,null,a.parentNode.nodeName,a.nodeName);}},a); | |
return c}; | |
Hz=function(a){g.af.call(this,a);this.g=this.l=null}; | |
Iz=function(){g.Cf.call(this);this.currentTime=0}; | |
Kz=function(a,b,c){g.Cf.call(this);c=c||new Jz;this.l=a;this.B=c.D;this.F=c.C;this.J=c.B;this.H=c.g;this.I=c.o;this.C=c.l;this.D=c.A;this.A=!1;this.W=null;this.o=!1;this.g=Qha(b)}; | |
Jz=function(){this.C=0;this.o=this.g=this.D=this.B=!1;this.A=this.l=5}; | |
Lz=function(a){this.g=a.Bc;this.B=g.Fa(a);this.o=this.l=!1;this.DL=5==a.Ne();this.A=this.se=!1}; | |
Mz=function(a,b){return db(a.g,b.g)}; | |
Nz=function(a){a.l.start();a.o=!0}; | |
Rha=function(a){if(a.o){var b=g.La(a.g,function(a){return-1==a.g},a); | |
null!=b&&Oz(a,!0,b)}}; | |
Qha=function(a){var b=[];(0,g.B)(a,g.Ga(function(a,b){a(new Lz(b))},g.Ga(function(a,b){g.jb(a,b,Mz)},b))); | |
return b}; | |
Sha=function(a,b){for(var c=[],d=0;d<a.g.length;d++){var e=a.g[d];-1!=e.g&&e.g<=b&&g.Sa(c,e)}return c}; | |
Pz=function(a,b){return Na(a,g.Ga(function(a,b){return b.DL==a},b))}; | |
Tha=function(a){var b=[],c=Pz(a,!1);c&&b.push(c);(a=Pz(a,!0))&&g.jb(b,a,Mz);return b}; | |
Uha=function(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(Qz(a,d,a.F,b,!0,a.J)&&!a.g[c].l)return d}return null}; | |
Qz=function(a,b,c,d,e,f){return-1==b.g?f&&0<a.l.duration&&d>=a.l.duration-c:e&&d>=b.g-c&&d<b.g}; | |
Rz=function(a,b){var c=new Hz("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)}; | |
Oz=function(a,b,c){null!=c&&(c.l||(Sz(a,"requestAds",c),c.l=!0),b&&!c.o&&(Sz(a,"playAds",c),c.o=!0))}; | |
Vha=function(a,b){var c;a:{for(c=0;c<a.g.length;c++){var d=a.g[c];if(Qz(a,d,-1==d.g?a.D:a.C,b,a.H,a.I)&&d.se&&!d.A){c=d;break a}}c=null}null==c?a.A&&(a.dispatchEvent(new Hz("discardAdNotify")),a.A=!1):a.A||c.o||(Sz(a,"adNotify",c),a.A=!0)}; | |
Sz=function(a,b,c){b=new Hz(b);b.l=c.g;b.g=c.B;a.dispatchEvent(b)}; | |
Tz=function(a){Iz.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw Fn(Do,null,"content","currentTime");this.duration="duration"in a&&!(0,window.isNaN)(a.duration)?a.duration:-1;this.g=a;this.Ca=new g.rg(250);this.l=new g.Km(this);Mm(this.l,this.Ca,"tick",this.o,this)}; | |
Wha=function(){}; | |
Uz=function(a,b,c){if(g.Qa(a))return null;a=(0,g.Kd)(a,function(a){var b=a.o;return"application/x-mpegurl"==g.E(a.g).toLowerCase()||"application/dash+xml"==g.E(a.g).toLowerCase()||"progressive"==b}); | |
g.Qa(c)||(c=(0,g.G)(c,function(a){return a.toLowerCase()}),a=(0,g.Kd)(a,function(a){return g.Pa(c,g.E(a.g).toLowerCase())})); | |
if(!g.ua(b)||0>=b)b=uj()?500:1E3;return Xha(a,b)}; | |
Xha=function(a,b){return Yha(a,b)||Zha(a,b)||$ha(a,b)}; | |
Yha=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.Fi,f=a.dg;d>b||f<b||!(null==c||c.Fi>d)||(c=a)}); | |
return c}; | |
Zha=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.Fi,f=a.dg;f>b||(null==c||c.dg<f?c=a:null!=c&&c.dg==f&&c.Fi>d&&(c=a))}); | |
return c}; | |
$ha=function(a,b){var c=null;(0,g.B)(a,function(a){var d=a.Fi,f=a.dg;if(!(d<b))if(null!=c&&c.Fi==d&&c.dg<f)c=a;else if(null==c||c.Fi>d)c=a}); | |
return c}; | |
Vz=function(){this.l=0;this.g=[]}; | |
Wz=function(a,b){if(b>=a.g.length)throw Error("Out of bounds exception");return 4>a.g.length?b:(a.l+Number(b))%4}; | |
Xz=function(a){g.Cf.call(this);this.g=a;this.M=new Vz;this.l=0;this.K=this.o=this.Wc=this.C=!1;this.I=this.qh();this.H=this.Qj();this.T=1E4;this.J=!1}; | |
Zz=function(a){a.Wc=!1;a.o=!1;a.C=!1;a.l=0;a.K=!1;a.M.clear();Yz(a);g.Ze(a.A)}; | |
$z=function(a,b){a.o||(a.o=!0,Yz(a),a.dispatchEvent("start"),g.Ca(a.g.getAttribute)&&a.g.getAttribute("playsinline"),ao()||!g.Un||Wn(3)||Pn()&&!Tn(4)||a.gt(b))}; | |
aA=function(a){for(var b=a.g.buffered.length-1;0<=b;){if(a.g.buffered.start(b)<=a.g.currentTime)return a.g.buffered.end(b);b--}return 0}; | |
Yz=function(a){a.F&&(g.tg(a.F),a.F=null)}; | |
cA=function(){g.Cf.call(this);this.buffered=new bA;this.W=new g.Km(this);var a=$m();if(a){a:{if(Tb(a.g,"videoElementMockDuration")&&(a=a.g.videoElementMockDuration,g.ua(a)))break a;a=window.NaN}this.duration=a}}; | |
aia=function(){var a=["video/mp4"],b=["video/ogg"],c=new cA;c.canPlayType=function(c){return g.Pa(a,c)?"probably":g.Pa(b,c)?"maybe":""}; | |
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c}; | |
bia=function(a){this.startTime=0;this.endTime=a}; | |
bA=function(){this.length=0;this.g=[]}; | |
dA=function(a,b,c,d){if(null==a||!g.Pd(g.ld(a),a))throw Fn(Do,null,"containerElement","element");this.B=a;this.l=this.g=null;this.A=b;this.D=!d;this.C=c||!1;this.o=null;this.g=g.K("DIV",{style:"display:none;"});this.B.appendChild(this.g);this.D&&(a=$m(),an(a,"useVideoElementMock")?(a=aia(),b=g.K("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Ha(b,a),a.bl=g.K("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.Lo=g.K("P", | |
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.bl.appendChild(a.Lo),b.appendChild(a.bl),a.W.U(a,["loadeddata","playing","pause","ended"],a.FU),a=b):a=g.K("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:"Iklan"}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.l=a,this.g.appendChild(this.l));this.A&&(a="display:none;position:absolute;width:100%;height:100%;",P.B||(a+="background-color:#000;"),a= | |
g.K("DIV",{id:this.A,style:a}),this.g.appendChild(a));this.C&&(this.o=g.K("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.g.appendChild(this.o))}; | |
eA=function(a,b,c,d){g.M.call(this);this.A=b||null;this.D="*";this.l=c||null;this.sessionId=null;this.channel=d||null;this.I=!!a;this.B=(0,g.z)(this.F,this);window.addEventListener("message",this.B)}; | |
fA=function(a,b){"null"!=b.origin&&(a.l=a.D=b.origin);a.A=b.source}; | |
gA=function(a){eA.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.l="*";this.g={};this.o=[];this.C=!1}; | |
hA=function(a){a.C=!0;(0,g.B)(a.o,function(a){this.sendMessage(a)},a); | |
a.o.length=0}; | |
cia=function(){}; | |
iA=function(a,b){this.g=a;this.A=new Px;this.C=(0,g.z)(this.D,this);this.H=Math.floor(2147483646*Math.random())+1;this.l=b||new gA(this.H);g.N(this,this.l);this.W=new g.Km(this);g.N(this,this.W);var c=(0,g.z)(a.play,a);this.l.g.play=c;c=(0,g.z)(a.load,a);this.l.g.load=c;c=(0,g.z)(a.pause,a);this.l.g.pause=c;c=(0,g.z)(this.B,this);this.l.g.listen=c;c=(0,g.z)(this.F,this);this.l.g.unlisten=c;c=(0,g.z)(this.o,this,"src");this.l.g.setSource=c;c=(0,g.z)(this.o,this,"muted");this.l.g.setMuted=c;c=(0,g.z)(this.o, | |
this,"volume");this.l.g.setVolume=c}; | |
lA=function(a,b){g.Cf.call(this);this.M="ima-chromeless-video";var c=null;null!=a&&(g.u(a)?this.M=a:c=a);this.W=new g.Km(this);this.C=null;this.A=!1;this.ga=new g.I(0,0);this.fa=this.Qj();this.I=-1;this.Y=!1;this.D=-1;this.l=this.Z=this.J=null;this.X="";this.o=!1;this.ea=null!=c;this.ha=this.g=null;this.Da=b||null;this.Sa=nn().g("abort_ad_on_browser_autoplay_blocked");this.sa=this.K=this.ca=null;this.B=void 0;this.H=this.na=null;this.F=this.ya=0;this.Ga=null;if(this.ea)this.o=!0,this.g=c,this.B=2; | |
else if(c=(0,g.z)(this.kJ,this),jA)c();else{kA.push(c);c=g.Dd("SCRIPT");g.ad(c,dia);var d=window.document.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d)}}; | |
nA=function(a,b,c){null!==b&&(a.X=b,a.o?mA(a,b,c):(a.J=b,a.Z=c))}; | |
mA=function(a,b,c){var d={autoplay:"1"};P.B&&(d.dash=0);null!=a.l&&(null!=a.l.lj&&(d.agcid=a.l.lj),0<=a.l.slotPosition&&(d.slot_pos=a.l.slotPosition),null!=a.l.breakType&&(d.break_type=a.l.breakType),null!=a.l.adFormat&&(d.adformat=a.l.adFormat),null!=a.l.adIds&&(d.ad_id=a.l.adIds),null!=a.l.adSystems&&(d.ad_sys=a.l.adSystems),null!=a.l.g&&(d.ad_query_id=a.l.g),a.l.l&&(d.cta_conversion_urls=a.l.l),a.l.o&&(d.endscreen_ad_tracking_data=a.l.o),a.l.Rk&&(d.wait_for_vast_info_cards_xml=1),a.l.cj&&(d.suppress_creator_endscreen= | |
1),a.l.Zj&&(d.is_trueview_action=1),a.l.isPharma&&(d.is_pharma=1),d.iv_load_policy=a.l.D?1:3,a.l.B&&(d.noiba=1),a.l.H&&(d.utpsa=1),a.l.F&&(d.autoplay="1"),a.l.C&&g.ec(d,a.l.C));var e=sq(b);null===e?(c=null===c?"":c,b="url="+(0,window.encodeURIComponent)(b)+"&type="+(0,window.encodeURIComponent)(c),d.url_encoded_third_party_media=b):d.videoId=e;!P.g()&&(d.enabled_engage_types="3,4,5,6");a.A=!1;a.l&&a.l.A?(a.na=d,a.g.preloadVideoByPlayerVars(a.na)):a.g.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")}; | |
oA=function(a,b){var c=b;!c&&a.Da&&(c=a.Da());a.Ga=Fn(eia,null,c||"na");a.dispatchEvent("error")}; | |
pA=function(a){a.W.Ea(a.C,"tick",a.OC);null!=a.C&&(a.C.stop(),a.C=null)}; | |
qA=function(a){null!=a.La&&g.tg(a.La)}; | |
rA=function(a,b){g.Cf.call(this);this.o=a;this.l=b;this.g={};this.W=new g.Km(this);this.W.U(Ad(),"message",this.A);this.Ya=null}; | |
tA=function(a,b,c,d){a.g.hasOwnProperty(b)||(c=new zy(b,c),a.W.U(c,a.o,function(a){a=new sA(a.type,a.ee,a.eg,a.Zz,a.getOrigin(),b);this.dispatchEvent(a)}),c.Ff=d,c.connect(),a.g[b]=c)}; | |
sA=function(a,b,c,d,e,f){yy.call(this,a,b,c,d,e);this.g=f}; | |
vA=function(){var a=g.x("google.ima.gptProxyInstance",Ad());if(null!=a)return a;g.Km.call(this);this.o=new rA("gpt",!0);g.N(this,this.o);this.U(this.o,"gpt",this.C);this.Ya=this.g=null;uA()||Ad().top===Ad()||(this.g=new rA("gpt",!1),g.N(this,this.g),this.U(this.g,"gpt",this.B))}; | |
uA=function(){return!!g.x("googletag.cmd",Ad())}; | |
wA=function(){var a=g.x("googletag.console",Ad());return null!=a?a:null}; | |
fia=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,d,l,m,n,p,r){if("%"==n)return"%";var e=c.shift();if("undefined"==typeof e)throw Error("[goog.string.format] Not enough arguments");arguments[0]=e;return xA[n].apply(null,arguments)})}; | |
AA=function(a,b){g.Cf.call(this);this.W=new g.Km(this);this.F=!1;this.H=Db();this.D=new g.om;var c=this.H;var d=(xba()?"https:":"http:")+fia("//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.K("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"}); | |
this.W.xh(c,"load",this.FJ);a.appendChild(c);this.l=c;c=this.D.get("*");null==c&&(c=new zy(this.H,"*"),this.F&&(c.Ff=Qd(this.l),c.connect()),this.D.set("*",c));this.C=c;this.B=b;this.g=this.B.l;this.Ya=this.o=this.A=null;this.W.U(this.C,"mouse",this.eK);this.W.U(this.C,"touch",this.wK);null!=this.g&&(this.W.U(this.C,"displayContainer",this.ZJ),this.W.U(this.C,"videoDisplay",this.tK),this.W.U(this.C,"preloadVideoDisplay",this.lK),this.W.U(this.g,g.Qb(yA),this.jg),this.W.U(this.g,zA,this.jg));c=Ad(); | |
d=g.x("google.ima.gptProxyInstance",c);null==d&&(d=new vA,g.va("google.ima.gptProxyInstance",d,c))}; | |
BA=function(a,b){var c=g.Bh(a.l),d=!!("TouchEvent"in window&&0<window.TouchEvent.length),e=(0,g.G)(b,function(a){return d?new window.Touch({identifier:a.identifier,target:this.l,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,pageX:a.pageX+c.x,pageY:a.pageY+c.y}):window.document.createTouch(window,this.l,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)},a); | |
return window.document.createTouchList.apply(window.document,e)}; | |
CA=function(a){a=a.playbackOptions;var b=new Ix;b.adFormat=a.adFormat;b.lj=a.adSenseAgcid;b.I=a.contentVideoDocId;b.l=a.ctaAnnotationTrackingEvents;a.showAnnotations&&(b.D=!0);a.viewCountsDisabled&&(b.H=!0);b.timeout=a.loadVideoTimeout;a.ibaDisabled&&(b.B=!0);a.enablePreloading&&(b.A=!0);b.g=a.adQemId;a.isPharma&&(b.isPharma=!0);a.useAutoplayFlag&&(b.F=!0);b.o=a.endscreenAdTracking;a.waitForVastInfoCardsXml&&(b.Rk=!0);a.suppressCreatorEndscreen&&(b.cj=!0);a.isTrueViewAction&&(b.Zj=!0);return b}; | |
DA=function(a,b,c,d){this.F=a;var e=null!=c;pn(mn(),136961005)&&(P.J=!0);var f=e,k=!1;P.J?P.l||(bo()&&e||(f=!1),!f&&P.J&&!P.g()&&Mn()&&(P.B=!0),!P.B&&Mn()||el()||(k=!0)):P.l||bo()&&e||(!P.B&&Mn()||el()||(k=!0),f=!1);this.H=f;this.J=k||f&&null!=c;P.l?a=null:(e=g.K("DIV",{style:"position:absolute"}),a.insertBefore(e,a.firstChild),a=e);this.o=a;this.g=this.H||!this.o||P.l||!Mn()?null:new dA(this.o,null,!0);e=a=null;this.H?c&&(a=new lA(c,d)):this.g&&(a=new Xz(this.g.l),e=this.g.l);d=null;e&&P.B&&k&&(d= | |
new iA(e));this.I=d;this.l=a;this.B=this.A=null;k=g.Un&&!Wn(4);d=Pn()&&Mn();this.g&&this.l&&this.o&&!this.H&&!el()&&!k&&!d&&this.o&&(this.A=new dA(this.o,null,!0),this.B=new Xz(this.A.l));this.C=this.l?b||null:null;this.K=null!=this.C;so(po.getInstance(),8,{enabled:this.H,yt:null!=c,customClick:null!=this.C});null===this.o&&(b=this.F,P.F=b);this.D=null==this.o||P.l?null:new AA(this.o,this)}; | |
EA=function(a){return a.K&&a.C?a.C:null!=a.g?a.g.o:null}; | |
FA=function(a){this.g=a}; | |
GA=function(a,b){g.af.call(this,"adsManagerLoaded");this.g=a;this.l=b}; | |
HA=function(a,b,c,d){a.g.Tc(new FA(b),c,d);return a.g}; | |
IA=function(){}; | |
JA=function(){g.Cf.call(this);this.se=!1;this.impressionUrls=[]}; | |
KA=function(a,b,c){g.af.call(this,a);this.l=b||null;this.g=c||null}; | |
MA=function(a,b){g.Cf.call(this);this.g=a;this.C=!!b;this.A=LA(this);this.A||(this.l=g.of(this.g,g.xd&&!g.qc("7")?"readystatechange":"load",this.B,!1,this),this.o=window.setInterval((0,g.z)(this.B,this),100))}; | |
NA=function(a){a.o&&(window.clearInterval(a.o),a.o=null)}; | |
LA=function(a){var b=!1;try{if(a.C||!g.xd||g.qc("11")){var c=a.g,d=(c.contentDocument||c.contentWindow.document).body;b=a.C?!!d&&!!d.firstChild:!!d}else b="complete"==a.g.readyState}catch(e){}return b}; | |
OA=function(){JA.call(this);this.D=[];this.B=!1;this.o="not_loaded";this.l=null;this.A=0;this.g=this.Ya=null;this.F=new kd}; | |
PA=function(a){var b=["googletag","googletag.cmd"];return g.La(a,function(a){return(0,g.cm)(b,function(b){return null!==g.x(b,a)})})||null}; | |
QA=function(a){return a.se?(0,g.G)(a.D,function(a){return a.clone()}):[]}; | |
gia=function(a){a=QA(a);if(null!=a)return(0,g.G)(a,function(a){return a.F})}; | |
RA=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.um(b.g),d=Number(b.g.get("pod")||0),e=Number(b.g.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(qo.g,d,e,c)}catch(f){}}; | |
hia=function(a,b){var c=SA(a);if(null!==c){RA(c,b,!0);try{c.refreshAllSlots()}catch(d){}}}; | |
UA=function(a,b,c){a=TA(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}}; | |
VA=function(a,b){a.C=b;UA(a,"","");var c=SA(a);null===c||RA(c,null,!1)}; | |
SA=function(a){null==a.g&&WA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.companionAds?a.g.googletag.companionAds():null}; | |
TA=function(a){null==a.g&&WA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.pubads?a.g.googletag.pubads():null}; | |
XA=function(a){a.l&&(a.l.stop(),a.l.Ea("tick",a.cD,!1,a),a.l.dispose(),a.l=null)}; | |
aB=function(a){if("retrieved"!=a.o&&"not_available"!=a.o&&null!==SA(a)){var b=SA(a);if(null!==b&&g.Ca(b.getDisplayAdsCorrelator))try{var c=g.E(b.getDisplayAdsCorrelator())}catch(f){c=null}else c=null;switch(c){case "not_loaded":case "not_available":a.o=c;break;default:c=Number(c),(0,window.isNaN)(c)?a.o="not_available":(a.C=c,a.o="retrieved")}}(c=YA(a))||(c=ZA(a)&&"not_available"==a.o);if(c){if(!a.H&&ZA(a)){try{if(null==a.g)var d=[];else{var e=a.g.googleGetCompanionAdSlots();d=(0,g.G)(e,a.MV,a)}}catch(f){d= | |
[]}a.D=d;a.H=!0}a.se=!0;XA(a);YA(a)?a.dispatchEvent(new KA("companions_success")):$A(a)}else a.l||(a.A=(0,g.F)()+15E3,a.l=new g.rg(100),a.l.U("tick",a.cD,!1,a),a.l.start())}; | |
YA=function(a){return ZA(a)&&"retrieved"==a.o}; | |
ZA=function(a){a.B||(WA(a),a.B=null!=a.g&&null!=a.g.googleGetCompanionAdSlots);return a.B}; | |
WA=function(a){var b=g.ae(a.F);try{a.g=PA([b,b.top])}catch(c){a.g=null}}; | |
$A=function(a){a.dispatchEvent(new KA("companion_initialization_failed",Error("Partial or full service initialization failure.")))}; | |
iia=function(a,b,c){var d=new MA(b,!0);d.Kb()?bB(a,c,b):nf(d,"ifload",g.Ga(function(a){bB(this,c,a)},b),!1,a)}; | |
bB=function(a,b,c){a.dispatchEvent(new KA("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.of(d,"click",(0,g.z)(a.hR,a,b),!1,a)}; | |
cB=function(){g.Cf.call(this);this.o=[]}; | |
dB=function(){return new ms("empty-ad","GDFP","GDFP","",0,[],[],[],[],new g.om)}; | |
eB=function(a){cB.call(this);this.g=a;this.D=this.Ya=null;this.C=!1;this.A=null;this.W=new g.Km;Mm(this.W,this.g,["companions_success","companion_initialization_failed"],this.VT,this);Mm(this.W,this.g,"companion_display_error",this.jR,this);Mm(this.W,this.g,["companion_slot_init","companion_click"],this.fR,this);this.g.se?this.C=!0:this.g.initialize()}; | |
gB=function(a){var b=a.A;a.A=null;if(null!=a.g)if(g.Qa(a.o))fB(a,Error("Companion slots not available."));else if(null!=b){var c=jia(a,b);a.g.Id(a.o);if(0<c.length&&b.Ga){a=a.g;var d;if(d=0!=c.length)d=Ls(b),d="GDFP"==(Gs(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].H);b=b.o;c=SA(a);if(null!==c){RA(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else fB(a,Error("Invalid master ad."))}; | |
fB=function(a,b){a.dispatchEvent(new Wo("companion_display_error",b))}; | |
jia=function(a,b){var c=[],d=[];(0,g.B)(a.o,function(a){Zo(a);(0,g.Aj)(a.F,function(d){a:{d=Qs(b,d.width,d.height);if(!g.Qa(d)&&(d=kia(d,c),null!=d)){var e=d.o;if(null!=e&&0!=a.H.indexOf(e)){d=!1;break a}e=d.g.J;Ya(e,Cs(b,"companionClick"));var f=Cs(b,"companionImpression"),k=P.g()&&"Html"==d.g.K&&d.A;c.push(d);if(k)Yo(a,d.Cc(),d.Cb(),d.getHeight(),f);else{k=d.cd();var p=d.Cb(),r=d.getHeight();d="IFrame"!=d.g.K;a.D=k;a.A=null;a.o=p;a.g=r;a.l=d;a.B=f||[];a.C=e||[]}d=!0;break a}d=!1}return d},this)|| | |
d.push(a)},a); | |
var e=hB(b);a.B=iB(e,c);a.B||(0,g.B)(a.o,function(a){Zo(a)},a); | |
return d}; | |
iB=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.l?lia(c,b):"any"==a.l?mia(c,b):!0}; | |
hB=function(a){return null==a||null==a.g||(0,window.isNaN)(a.g.g)?null:g.La(Zs(a,!0),function(a){a=a.g;return g.Qa(a)?!1:(0,window.isNaN)(a[0].g.g)?!1:a[0].g.g==Go(a[0])})}; | |
lia=function(a,b){return(0,g.cm)(a,function(a){return g.Pa(b,a)})}; | |
mia=function(a,b){return(0,g.Aj)(a,function(a){return g.Pa(b,a)})}; | |
kia=function(a,b){return g.La(a,function(a){return!g.Pa(b,a)})}; | |
jB=function(a,b){this.A=a;this.l=b;this.g=this.Ya=null}; | |
nia=function(a){var b=[],c=Yr(a,"vmap:Extensions")[0];if(c){var d;as(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)}); | |
if(d&&(b=Yr(d,"yt:BreakTime"),!g.Qa(b)))return(0,g.G)(b,function(a){return Zr(a,"timeOffset")})}return[Zr(a,"timeOffset")]}; | |
oia=function(a,b){return(0,g.G)(b,function(a){var b=new Az(a.l.clone());b.isBumper=a.isBumper;b.g=a.g;return b},a)}; | |
pia=function(a){return(a=g.La(g.Ld(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.La(g.Ld(a),function(a){return"VAST"==a.nodeName}):null}; | |
qia=function(a){var b=null,c=!1;a=g.La(a,g.Ga(kB,"type","youtube"));null!=a&&(a=(0,g.Kd)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName}),g.Qa(a)||(a=a[0],a.hasAttribute("break_type")&&(b=Sda(a.getAttribute("break_type"))),nn().g("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=ds(c)))); | |
return{breakType:b,Vn:c}}; | |
kB=function(a,b,c){return Zr(c,a)==b}; | |
sia=function(a,b){if(null!=a){if(null!=a){var c=g.Nd(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return vx(),new Dz(a,b);null!=a?(c=g.Nd(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return vx(),new jB(a,b);if(zw(a)){if(!zw(a))throw En(Gz);c=g.Nd(a);var d=Cw(c);if(1>d||4<d)throw En(ria);c=Yr(c,"Ad");if(g.Qa(c))throw En(lB);c=Dw(c[0]);if(null==c)throw En(mB);if(1!=Yr(c,"AdSystem").length)throw En(mB);return new yw(a)}}return null}; | |
tia=function(a){a=(0,g.Kd)(a,function(a){return 0<Ns(a)}); | |
g.gb(a,function(a,c){return Ns(a)-Ns(c)}); | |
return a}; | |
uia=function(a){return(0,g.Kd)(a,function(a){return-1==Ns(a)})}; | |
Uq=function(a){this.Mf=a}; | |
via=function(){this.Ya=null;this.g=0}; | |
wia=function(a,b,c,d,e,f,k){var l=(0,g.z)(function(a){d(a,Error(Uw(a)))},a),m=(0,g.z)(function(a){6==a?nB(this,b,!1,c,l,e,f,k):l(a)},a); | |
nB(a,b,!0,c,m,e,f,k)}; | |
nB=function(a,b,c,d,e,f,k,l){var m=new g.ax;m.F=c;bx(m,xia(f));var n=new g.Km,p=(0,g.z)(function(){n.dispose();m.dispose()},a); | |
c=(0,g.z)(function(){e(m.l);p()},a); | |
Pm(n,m,"success",function(){try{var a=m.g?m.g.responseXML:null}catch(H){a=null}if(null==a){var b=g.kx(m);try{a=g.Tr(b)}catch(H){a=Sr("parsererror")}}d(a);p()},a); | |
Pm(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.um(b);var r=b.g.toString();zm(b,"");b=b.toString()}P.g()&&"POST"!=k&&(r=yia(b,k),b=r.url,k=r.JV,r=r.content);a.g=(0,g.F)();m.send(un(b),k,r,l)}; | |
yia=function(a,b){var c=new IA;c.g=a;if(lr(c)){c=new g.um(a);var d=c.g.get("post_data");if(g.t(d)){b="POST";c.g.remove("post_data");a=c.toString();var e=d}}return{url:a,JV:b,content:e}}; | |
oB=function(a,b){this.l=a;this.o=b}; | |
pB=function(a,b){"auto"!=a.l.gj&&"click"!=a.l.gj||b.set("vpa",a.l.gj)}; | |
qB=function(a){g.C(P.getPlayerType())||(a.set("mpt",P.getPlayerType()),g.C("")||a.set("mpv",""))}; | |
rB=function(a,b){var c=a.o.C,d=a.o.l;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.l.I;null!=c&&b.set("mv",c+"."+(a.l.H||""))}; | |
sB=function(a,b){var c=2,d=ei&&ei.dQ?!1:0===jj();!el()&&d&&(c|=2048);b.set("osd",c);-1!=a.o.J&&b.set("frm",a.o.J);c=a.o.Z;null!=c&&b.set("ms",c);b.set("sdr",1)}; | |
tB=function(a){return P.l?"h.3.0.0":null!=a.o?oo(a.o):null}; | |
uB=function(){this.g=["video"]}; | |
vB=function(a,b){a.set("sz",Math.max(null!=b.Oj?b.Oj:0,null!=b.pf?b.pf:0)+"x"+Math.max(null!=b.Nj?b.Nj:0,null!=b.nf?b.nf:0))}; | |
xB=function(a){var b={};fi(b);for(var c in b)a.set(c,b[c]);a.set("dt",wB)}; | |
yB=function(a){if(a.jc&&a.jc.LACT){var b=a.jc.LACT.toString();if(b)return Hb(b)}return a.C}; | |
zB=function(a){return P.g()&&a.jc&&a.jc.VIS?a.jc.VIS.toString():null}; | |
FB=function(a,b,c){var d=new g.om;d.set("ad_type",b.adType);Jo&&d.set("flash",AB);vB(d,a);BB(b)&&(d.set("ea","0"),null!=a.pf&&null!=a.nf&&d.set("image_size",CB(b,a.pf,a.nf,a.Aj)));DB(d,c);d.set("lact",yB(a));(b=zB(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.Oq);xB(d);EB(a,d,!0);return d}; | |
EB=function(a,b,c){g.C(g.E(a.referrer))||(a=a.referrer,c&&(a=g.ob(a)),GB("ref",a,b))}; | |
JB=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.B)(a,function(a){if(!g.Ub(zia,a))throw En(Do,null,"ad_type",String(b));}); | |
if(c){var d=[];(0,g.B)(a,function(a){g.Pa(HB,a)||d.push(a)}); | |
a=d}c=g.Pa(a,"video");var e=g.Pa(a,"skippablevideo");!Qn()||P.g()||so(po.getInstance(),53,{playsInline:!1,iOS_version:Qn()?Yn(Sn):"",wv:(Jb("iPad")||Jb("iPhone"))&&!ic()&&!hc()&&!Jb("Coast")&&Jb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=mn();if(!ao()){d=[];(0,g.B)(a,function(a){"video"==a?(d.push("standardvideo"),!P.g()&&pn(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)}); | |
if(0==d.length)throw En(IB,null,"skippablevideo");a=d}return a}; | |
KB=function(a,b){return null!=b?b.split(/[+, ]/):a}; | |
CB=function(a,b,c,d){a.l&&(c=Math.min(c,90));var e=0,f=0;a=!P.g();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.B)(Aia,function(a){var l=b-e>=a.width&&c-f>=a.height,n=!d&&!l&&90>=a.height&&b>=a.width&&c>=a.height;(l||n)&&k.push(a.width+"x"+a.height)}); | |
return k.join(",")}; | |
LB=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)}; | |
MB=function(a,b){return null!=b?String(b):null!=a?a:null}; | |
NB=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}; | |
OB=function(a,b,c){return null!=b&&g.Ub(c,b)?b:a}; | |
BB=function(a){return(0,g.Aj)(HB,function(b){return g.Pa(a.g,b)})}; | |
DB=function(a,b){Jo?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.o;null!=c&&0<c.length&&(c=c[0].F,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))}}; | |
GB=function(a,b,c){null!=b&&c.set(a,b)}; | |
QB=function(a,b,c){oB.call(this,a,b);var d=new uB,e=(new g.um(a.g)).g;d.jt=OB(d.jt,e.get("cust_age"),Bia);d.un=OB(d.un,e.get("adsafe"),PB);d.g=JB(d.g,e.get("ad_type"));d.adType=d.g.join("_");d.kr=LB(d.kr,e.get("videoad_start_delay"));d.lr=MB(d.lr,e.get("slotname"));d.it=NB(d.it,e.get("adtest"))||"on"==e.get("adtest");d.pr=NB(d.pr,e.get("scs"));d.qr=MB(d.qr,e.get("alternate_ad_url"));d.channels=KB(d.channels,e.get("channel"));d.Nr=LB(d.Nr,e.get("cpm"));d.pl=MB(d.pl,e.get("description_url"));d.experimentIds= | |
MB(d.experimentIds,e.get("eid"));d.gender=OB(d.gender,e.get("cust_gender"),Cia);d.l=NB(d.l,e.get("overlay"));d.host=MB(d.host,e.get("host"));d.o=KB(d.o,e.get("h_ch"));d.Rs=LB(d.Rs,e.get("ht_id"));d.isLiveStream=NB(d.isLiveStream,e.get("lsv"));if(null!=this.l.language)var f=this.l.language;else f=g.w.navigator||null,f=bn(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=MB(k,f);var l;null!=f&&!g.C(g.E(f))&&(l=bn(f));d.language=MB(d.language, | |
l);d.jA=LB(d.jA,e.get("linearAdSlotWidth"));d.iA=LB(d.iA,e.get("linearAdSlotHeight"));d.Xo=LB(d.Xo,e.get("max_ad_duration"));d.Vt=LB(d.Vt,e.get("min_ad_duration"));d.Yo=LB(d.Yo,e.get("sdmax"));d.lA=LB(d.lA,e.get("nonLinearAdSlotWidth"));d.kA=LB(d.kA,e.get("nonLinearAdSlotHeight"));d.yk=MB(d.yk,e.get("client"));d.Op=MB(d.Op,e.get("t_pyv"));l=e.get("sdki");d.Zp=LB(d.Zp,g.u(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=LB(d.tagForChildDirectedTreatment,e.get("tfcd"));d.Jp=MB(d.Jp,e.get("pucrd")); | |
d.targeting=OB(d.targeting,e.get("targeting"),Dia);d.Jo=LB(d.Jo,e.get("video_format"));d.iw=LB(d.iw,e.get("video_cpm"));d.kt=MB(d.kt,e.get("loeid"));d.qw=MB(d.qw,e.get("yt_pt"));d.mw=MB(d.mw,e.get("ytdevice"));d.ow=MB(d.ow,e.get("ytdevicever"));d.pw=MB(d.pw,e.get("dbp"));d.A=MB(d.A,e.get("ms"));d.adBlock=LB(d.adBlock,e.get("adBlock"));d.url=MB(d.url,e.get("url"));d.wr=MB(d.wr,e.get("avo"));d.hw=MB(d.hw,e.get("v_p"));d.rL=a.B;d.sL=a.A;d.contentTitle=a.contentTitle;d.Mq=LB(d.Mq,e.get("ad_block"));d.vn= | |
MB(d.vn,e.get("adsid"));this.g=d;this.F=b;this.I=c;g.C(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),kn(mn(),a))}; | |
Fia=function(a){return(0,g.Aj)(Eia,function(a){return g.Pa(this.g.g,a)},a)}; | |
RB=function(a){return P.g()?1:g.Pa(a.g.adType.split("_"),"text")?3:1}; | |
Gia=function(a){a=a.g.channels?a.g.channels:[];ab(a);return a.join("+")}; | |
TB=function(a,b){return Math.round(1.1*(a||0)+0*b)}; | |
UB=function(a,b){oB.call(this,a,b)}; | |
VB=function(a,b){oB.call(this,a,b)}; | |
WB=function(a){oB.call(this,a,null)}; | |
XB=function(a){oB.call(this,a,null)}; | |
YB=function(a,b){oB.call(this,a,b);P.g()&&(this.o.A=lo())}; | |
Hia=function(a){var b=[];(0,g.B)(a,function(a){0<a.length&&b.push((0,g.G)(a,function(a){return a.width+"x"+a.height}).join("|"))}); | |
return b.join(",")}; | |
ZB=function(a,b,c){YB.call(this,a,b);b=mn();this.H=g.C(g.E(a.o));a=new uB;a.g=JB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=MB(a.experimentIds,this.l.F);this.g=a;this.F=c;g.C(g.E(this.g.experimentIds))||kn(b,this.g.experimentIds.split(","))}; | |
Iia=function(a){var b=FB(a.l,a.g,a.F);b.set("sdkv",tB(a));b.set("sdki",a.C().toString(16));return b}; | |
Jia=function(a,b){var c=Iia(a),d=(0,g.G)(c.Bb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")}); | |
g.Dm(b,"afvparams",d.join("&"))}; | |
$B=function(a,b,c){oB.call(this,a,b);mn();this.H=g.C(g.E(a.o));a=new uB;a.g=JB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=MB(a.experimentIds,this.l.F);this.g=a;this.F=c;g.C(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),c=mn(),kn(c,a))}; | |
Kia=function(a){var b=FB(a.l,a.g,a.F);b.set("sdkv",tB(a));return b}; | |
Lia=function(a,b){var c=Kia(a),d=(0,g.G)(c.Bb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")}); | |
cr(b,"afvparams",[g.ob(d.join("&"))])}; | |
aC=function(a,b){oB.call(this,a,b)}; | |
bC=function(a,b,c){a=new g.um(g.Tm(a.l.g,Mia(a,b,c)));g.vm(a,"https");return a}; | |
Mia=function(a,b,c){if(null==a.l||null==a.l.jc)return{};var d={},e=a.l.jc;(0,g.B)(Nia,function(a){a in e&&(d[a]=e[a])}); | |
(a=Oia(a,e.DESCRIPTION_URL))&&(d.AD_BLOCK=a);b&&(d.BISCOTTI_ID=b);c&&(d.ANID=c);return d}; | |
Oia=function(a,b){return null!=b?fo(no(a.o),b):null}; | |
Pia=function(a,b){if(!ir(a.g)&&!jr(a.g)||g.C(g.E(a.o))||null==a.g||-1==a.g.search("afvbase="))if(ir(a.g))var c=new VB(a,qo);else gr(a.g)?c=new QB(a,qo,b):jr(a.g)?c=new YB(a,qo):hr(a)?c=new UB(a,qo):(c=a.g,null!=c?(c=(new g.um(c)).l,c=nb(c,".fwmrm.net")):c=!1,c=c?new WB(a):lr(a)?new aC(a,qo):new XB(a));else c=ir(a.g)?new $B(a,qo,b):new ZB(a,qo,b);return c}; | |
cC=function(a,b,c,d,e){this.B=a;this.o=b;this.A=c;this.g=d;this.C=e;this.Ya=null}; | |
Qia=function(a,b,c,d){if(b.l instanceof window.Document)var e=b.l;else try{e=g.Tr(b.l)}catch(f){d(En(Gz,f));return}null!=e?dC(a,e,b,c,d):d(En(Gz))}; | |
eC=function(a,b,c,d){var e;if(e=null!=b.g){a:{try{pb(b.g)}catch(f){e=!1;break a}e=!0}e=!e}e?d(En(Ria,null,b.g)):P.I?gea(xo(),(0,g.z)(a.l,a,b,c,d)):a.l(b,c,d)}; | |
gC=function(a,b,c,d,e,f){b=dea(b,f);f=c.cw&&rn(Sia,b)?"POST":"GET";var k=kr(b)?c.D:void 0;wia(a.o,b,(0,g.z)(function(a){dC(this,a,c,d,e)},a),(0,g.z)(function(a,b){var d=8==a?En(Pq):5==a||6==a?En(Tia):En(fC,b); | |
e(d);d="third_party";gr(c.g)?d="adsense":ir(c.g)?d="dart":jr(c.g)&&(d="xfp");d={rt:d,ec:a};so(po.getInstance(),18,d,!0)},a),a.C,f,k); | |
Uia(c)}; | |
Uia=function(a){var b="third_party";gr(a.g)?b="adsense":ir(a.g)?b="dart":jr(a.g)?b="xfp":hr(a)&&(b="dbm");a={rt:b};so(po.getInstance(),17,a,!0)}; | |
dC=function(a,b,c,d,e){try{var f=sia(b,c);if(!f)throw En(Gz);var k=f.o();Via(a,k,c,d)}catch(l){l instanceof en?e(l):e(En(Wia,l))}}; | |
Via=function(a,b,c,d){var e=b.Mf;if(null!=e)d(new Uq(e));else{e=b.l;if(null==e)throw En(lB);(0,g.B)(e,function(a){a.o=c;var d=$m();d&&an(d,"useCompanionsAsEndSlate")&&(a.J=Wfa(a));d=[];var e=a.getExtension("InfoCards");if(null!=e){e=e.o?e.o:new Ev;for(var f=0;f<Dv(e,"card");f++)d.push(new Fv(Av(e,"card",f)))}a.B=d;a.Z=Sfa(a.B);a.La=this.o.g;P.g()&&(a.Hb=b.g)},a); | |
var f=tia(e),k=uia(e),l;0<k.length&&0<=Ms(k[0])?l=new Zq(k,c,a,a.B):l=new Oq(f,k,c,a);(0,g.B)(e,function(a){a.fa=l}); | |
d(l)}}; | |
hC=function(a){this.g=a+(0,g.F)()}; | |
xia=function(a){var b=(0,g.F)();a=a.g-b;return 0<a?a:0}; | |
iC=function(a,b){this.B=a;this.o=b;this.A=null;this.W=new g.Km(this);this.l=this.g=null;this.D=!1;this.Ya=null}; | |
Xia=function(a){if(null===a.A)jC(a);else{var b=new g.um(a.A.g),c=g.E(b.g.get("vid"));b=g.E(b.g.get("cmsid"));var d=a.o.H,e=a.o.D;a.o.H=c;a.o.D=b;if(g.C(g.E(c))||g.C(g.E(b)))jC(a);else if(c==d&&b==e)jC(a);else{var f=a.B.li();UA(f,c,b);hia(f,a.A);a.l=new g.rg(100);Mm(a.W,a.l,"tick",function(){a:{var a=TA(f);if(null!=a)try{var b=!1!==a.isAdRequestFinished();break a}catch(m){b=!0;break a}b=!1}b&&jC(this)},a); | |
a.l.start()}}}; | |
Yia=function(a){a.g=new g.rg;Pm(a.W,a.g,"tick",function(){jC(this)},a); | |
a.g.setInterval(1E3);a.g.start()}; | |
jC=function(a){null!=a.W&&(a.W.dispose(),a.W=null);null!=a.g&&(a.g.stop(),a.g=null);null!=a.l&&(a.l.stop(),a.l=null);a.D=!0;null===a.C||a.C()}; | |
Zia=function(a,b){this.g=a;this.l=b;this.Ya=null;P.l&&Qo().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}qo.J=c}; | |
$ia=function(a,b,c,d){if(P.g()){var e=b.Nq;e&&Wda(mn(),e);Qo()&&pea()}e=null;null==a.g||P.g()||(e=new iC(a.g,a.l));var f=hfa(b);null!=f&&gfa(b)&&(a.l.Z=f);f=8E3;!P.g()&&pn(mn(),41351074)?f=5E3:!P.g()&&pn(mn(),41351075)&&(f=2E3);(new cC(a.l,new via,a.g,e,new hC(f))).fetch(b,(0,g.z)(function(a){a instanceof Uq?c(a):Sq(a,c,d)},a),d)}; | |
g.kC=function(){this.g=[];this.l=[]}; | |
lC=function(a){g.Qa(a.g)&&(a.g=a.l,a.g.reverse(),a.l=[])}; | |
g.mC=function(a,b){a.l.push(b)}; | |
g.nC=function(a){lC(a);return a.g.pop()}; | |
oC=function(a){lC(a);return g.Ja(a.g)}; | |
aja=function(a){this.bb=a;this.g=new g.kC;this.cg=!1;this.Ya=null}; | |
qC=function(a,b,c,d){var e=(0,g.z)(function(a){c(a);g.nC(this.g);this.cg=!1;pC(this)},a),f=(0,g.z)(function(a){d(a); | |
g.nC(this.g);this.cg=!1;pC(this)},a); | |
g.mC(a.g,(0,g.z)(function(){$ia(this.bb,b,e,f)},a)); | |
pC(a)}; | |
pC=function(a){if(!a.cg){var b=oC(a.g);null!=b&&(a.cg=!0,b())}}; | |
rC=function(a,b,c){g.Cf.call(this);this.bb=new aja(new Zia(b,c));this.o=a;this.l=b;this.g=!0;this.A=c;this.Ya=null}; | |
bja=function(a,b,c){if(a.g){var d=null!=c?c:{};Zga(ux.getInstance(),b.g);qC(a.bb,b,(0,g.z)(function(a){sC(this,a,d)},a),(0,g.z)(function(a){tC(this,a,d)},a))}}; | |
Lha=function(a,b,c){if(!a.g){var d=null!=c?c:{};qC(a.bb,b,(0,g.z)(function(a){sC(this,a,d)},a),(0,g.z)(function(a){tC(this,a,d)},a))}}; | |
sC=function(a,b,c){if(a.g)if(b instanceof Uq)b=new uC(b.Mf,a,a.o.oy),b.Pg(a.l),a.dispatchEvent(new GA(b,c));else try{var d=xz(a.o,b);d.Pg(a.l);a.dispatchEvent(new GA(d,c,0<b.length?b[0].Hb:null))}catch(e){tC(a,En(vC,null),c)}else b instanceof Uq?tC(a,En(cja,null,"Unsupported ad format."),c):(d=new dn("adsLoaderSdkAdLoaded"),d.A=b,d.o=c,a.dispatchEvent(d))}; | |
tC=function(a,b,c){a.g?("always"==P.A&&null!=a.l&&a.l.Id(dB()),a.dispatchEvent(new Ym(b,c))):(c=new dn("adsLoaderSdkAdError"),c.g=b,a.dispatchEvent(c))}; | |
wC=function(a,b){this.I=a;this.M=new g.om;this.K=15E3;this.C=g.K("SPAN");$y.call(this,a[0],b);this.g.appendChild(this.C)}; | |
xC=function(a,b){$y.call(this,a[0],b);this.A=a;g.S(this.g,"ima-container-stack")}; | |
yC=function(a){cz.call(this,a);this.C=!1;this.l=this.A=null;this.H=!1}; | |
zC=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.B;b=b.C;a={text:null!=c?c:a.I.B,url:null!=b?b:a.I.C};null==a.text&&(a.text=kp("Iklan oleh Google"));return a}; | |
AC=function(a){return a.jb()&&at(a.ma())}; | |
dja=function(a){var b=BC(a);b.rba=a.B;so(po.getInstance(),37,b)}; | |
BC=function(a){var b=[],c=[];(0,g.B)(a.A,function(a){b.push(a.Cb()+"x"+a.getHeight());c.push(a.nd())},a); | |
var d={};d.pid=ux.getInstance().g;d.fsmode=null!=a.l;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.bd;return d}; | |
CC=function(a,b){if(a.l){a.Bo(new g.af("close"));var c={};c.pid=ux.getInstance().g;c.evt=b;so(po.getInstance(),35,c)}}; | |
DC=function(a,b){g.M.call(this);this.A=a;this.g=-1;this.o=b}; | |
EC=function(a,b){DC.call(this,a,b)}; | |
uC=function(a,b,c){Du.call(this,[]);this.Mf=a;this.Ab=new g.om;this.Tb=this.fb=null;this.oy=c;this.rl=new g.kC;this.Yd=null;this.bb=b;this.mr=this.Rn=!1;this.Ei=null;this.af=0;this.je=this.ke=-1;this.ce=null;this.qv=0;this.Ya=null;this.ql=!1}; | |
fja=function(a,b){if(null!==a.Ia){var c=1;a.af=0;var d=new Px;(0,g.B)(b,function(a){if((0,window.isNaN)(a))throw En(Fz,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.Mf;if((0,window.isNaN)(a)||!g.ua(a))throw Error("Incorrect time offset.");qm(b.g,a)&&b.g.remove(a)}else if(b=g.ua(a)&&!(0,window.isNaN)(a)?this.Mf.g.get(a,[]):[],!g.Qa(b)){this.af+=b.length;var e=0==a||-1==a?a:c++;b=new gz(b,a,e,this.bb,this.Ia,this.Ra,this.Xd);if(d.contains(a))throw En(eja,null,"Multiple ad breaks cannot share same ad play time."); | |
this.Ab.set(g.Fa(b),b);d.add(a)}},a)}}; | |
gja=function(a,b){a.Ei=g.Ja(b);(0,g.Aj)(b,function(a){if(-1==a)return this.Ei=a,!0;this.Ei=this.Ei<a?a:this.Ei;return!1},a)}; | |
HC=function(a,b){a.ql=!1;a.wj(b);0==b.Bc?a.hg():(-1==b.Bc?(FC(a)||!P.g()&&a.Rn)&&GC(a):Nz(a.Tb),a.Yd=null)}; | |
hja=function(a){if(null!=a.Tb){IC(a);var b=a.Va();Mm(b,a.Tb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);Mm(b,a.Tb,"adBreakReady",a.jQ,a);Mm(b,a.Tb,"adNotify",a.wm,a);Mm(b,a.Tb,"discardAdNotify",a.ym,a);Mm(b,a.bb,"contentComplete",a.lR,a);a.bb.g=!1}}; | |
IC=function(a){null!=a.dc&&(a.dc.dispose(),a.dc=null);a.Rn=!1;null!=a.Tb&&a.Tb.Yc()}; | |
JC=function(a){if(null==a.Yd){var b=g.nC(a.rl);if(null!=b){a.Yd=b;var c=a.Ab.get(a.Yd.g);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.Yd=null,JC(a);else if(null!=a.ce&&a.ce.l(c))a.Yd=null,JC(a);else if("requestAds"==b)a.ql?(a.rl.isEmpty()||"playAds"!=oC(a.rl).type||g.nC(a.rl),HC(a,c)):0==c.Bc&&a.kg()||KC(a,c);else{if("playAds"==b)if(a.ql)HC(a,c);else if(null!=a.fb&&a.fb.kb()&&a.wj(a.fb),a.fb=c,a.fb.setVolume(a.volume),hz(a.fb,a.ke,a.je,a.bd),a.fb.J&&a.Yd.l<a.qv){c=a.fb;if(c.l<c.o.length){b= | |
c.o[c.l];qz(c);try{c.F=new g.Km(c),c.g=rz(c,b,c.F)}catch(e){c.l++,vz(c)}}c=a.Tb;b=a.qv;var d=new Lz(a.fb);d.g=b;d.l=!0;g.jb(c.g,d,Mz);a.ia("contentResumeRequested");a.Yd=null;JC(a)}else a.fb.start()}else a.Yd=null,JC(a)}}}; | |
KC=function(a,b){var c=a.Va();Mm(c,b,Oy,a.dispatchEvent,a);Mm(c,b,"adError",a.gz,a);Mm(c,b,"allAdsCompleted",a.uC,a);Mm(c,b,"contentPauseRequested",a.Hh,a);Mm(c,b,"contentResumeRequested",a.hg,a);Mm(c,b,"userClose",a.Qi,a);Mm(c,b,"why_this_ad_url",a.fv,a);Mm(c,b,"why_this_ad_got_it",a.ev,a);Mm(c,b,"autoClose",a.Pi,a);Mm(c,b,"adBreakInitialized",a.vC,a);b.init(a.ke,a.je,a.bd)}; | |
GC=function(a){if(!a.mr){a.mr=!0;a.bb.g=!0;try{so(po.getInstance(),44,{cmpl:!0})}catch(b){}a.ia("allAdsCompleted");-1==a.Ei&&LC(a)}}; | |
LC=function(a){pn(mn(),420706009)||qo.clear();null!=a.Xd&&(a=a.Xd.li(),null!=a&&VA(a,qo.g))}; | |
FC=function(a){return 0==a.Ab.ub().length}; | |
MC=function(a){return null!=a.fb?a.fb:null!=a.Yd?a.Ab.get(a.Yd.g):null}; | |
ija=function(){this.oy=new Wha;this.Ya=null}; | |
xz=function(a,b){if(g.Qa(b))throw Error("Ads manager creation failure, no ads.");if(jja(a,b)){var c=kja(a,b);if(!g.Qa(c))return new Vy(c)}c=Ty(b);P.g()||(c=c&&null!=Ps(b[0])?new Sy(a,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");}; | |
kja=function(a,b){var c=[];(0,g.B)(b,function(a){var b=Ty([a]);b&&a.Vb()&&g.Sa(c,b)},a); | |
return c}; | |
Ty=function(a){var b=a[0];switch(NC(b)){case "overlay":return Ws(b)?new yC(a):new cz(a);case "video":return new Rx(a);case "vpaid":return new Dy(a);case "flash_vpaid":return 2==P.D?new Hw(a):new Nw(a)}return null}; | |
jja=function(a,b){if(1==b.length)return!1;var c=NC(b[0]);return(0,g.Aj)(b,function(a){a=NC(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)}; | |
NC=function(a){var b=qs(a)&&P.g();b=0!=P.D||b;return null!=et(a)&&b?"vpaid":Jo&&null!=ft(a)&&0!=P.D?"flash_vpaid":Ws(a)&&null==et(a)&&$s(a,"nonlinear")?"overlay":$s(a,"linear")?"video":$s(a,"nonlinear")&&null==et(a)?"overlay":null}; | |
OC=function(a){g.Cf.call(this);this.l=a;a=new eB(new OA);this.g=new rC(new ija,a,qo);this.g.U("adsManagerLoaded",this.dispatchEvent,!1,this);this.g.U("adError",this.dispatchEvent,!1,this);this.g.U("adLoadError",this.dispatchEvent,!1,this)}; | |
PC=function(a,b,c){Xda();var d="",e=Fi(),f=e.l;e=e.g;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.cf=Vm(b.g,a.l.F);b.Lv=a.l.J;bja(a.g,b,c)}; | |
QC=function(a,b,c,d,e,f,k,l){this.g=a;this.D=b;this.o=c;this.B=d;this.A=e;this.C=f;this.l=k;this.F=l}; | |
RC=function(a,b){if(0==b)return a.g;if(1==b)return a.l;var c=ed(a.g,a.o,b),d=ed(a.o,a.A,b),e=ed(a.A,a.l,b);c=ed(c,d,b);d=ed(d,e,b);return ed(c,d,b)}; | |
lja=function(a,b){var c=(b-a.g)/(a.l-a.g);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=RC(a,c);var l=(RC(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=RC(a,c);return c}; | |
SC=function(){this.g=this.o=this.A=5E3}; | |
g.TC=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var k=0;if(d||0!=c)c&4?a.x-=b.width+(d?d.right:0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){k=a;c=b;d=0;65==(f&65)&&(k.x<e.left||k.x>=e.right)&&(f&=-2);132==(f&132)&&(k.y<e.top||k.y>=e.bottom)&&(f&=-5);k.x<e.left&&f&1&&(k.x=e.left,d|=1);if(f&16){var l=k.x;k.x<e.left&&(k.x=e.left,d|=4);k.x+c.width>e.right&&(c.width=Math.min(e.right-k.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}k.x+c.width> | |
e.right&&f&1&&(k.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(k.x<e.left?16:0)|(k.x+c.width>e.right?32:0));k.y<e.top&&f&4&&(k.y=e.top,d|=2);f&32&&(l=k.y,k.y<e.top&&(k.y=e.top,d|=8),k.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-k.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));k.y+c.height>e.bottom&&f&4&&(k.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(k.y<e.top?64:0)|(k.y+c.height>e.bottom?128:0));e=d}else e=256;k=e}e=new g.ah(0,0,0,0);e.left=a.x;e.top=a.y;e.width=b.width; | |
e.height=b.height;return{rect:e,status:k}}; | |
g.UC=function(a){g.M.call(this);this.xc=1;this.o=[];this.A=0;this.g=[];this.l={};this.B=!!a}; | |
mja=function(a,b,c){g.Qf(function(){a.apply(b,c)})}; | |
g.VC=function(a){this.g=a}; | |
WC=function(a){this.g=a}; | |
XC=function(a){this.data=a}; | |
YC=function(a){return!g.t(a)||a instanceof XC?a:new XC(a)}; | |
ZC=function(a){this.g=a}; | |
g.$C=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.F)()||!!b&&b>(0,g.F)()}; | |
g.aD=function(a){this.g=a}; | |
nja=function(){}; | |
bD=function(){}; | |
cD=function(a){this.g=a}; | |
dD=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a}; | |
eD=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a}; | |
gD=function(a,b){this.l=a;this.g=null;if(g.xd&&!g.rc(9)){fD||(fD=new g.om);this.g=fD.get(a);this.g||(b?this.g=window.document.getElementById(b):(this.g=window.document.createElement("userdata"),this.g.addBehavior("#default#userData"),window.document.body.appendChild(this.g)),fD.set(a,this.g));try{this.g.load(this.l)}catch(c){this.g=null}}}; | |
hD=function(a){return"_"+(0,window.encodeURIComponent)(a).replace(/[.!~*'()%]/g,function(a){return oja[a]})}; | |
iD=function(a){try{a.g.save(a.l)}catch(b){throw"Storage mechanism: Quota exceeded";}}; | |
jD=function(a){return a.g.XMLDocument.documentElement}; | |
kD=function(a,b){this.l=a;this.g=b+"::"}; | |
g.lD=function(a){var b=new dD;return b.isAvailable()?a?new kD(b,a):b:null}; | |
mD=function(a,b){this.xc=a;this.g=b}; | |
nD=function(a){this.g=[];if(a)a:{if(a instanceof nD){var b=a.Bb();a=a.ub();if(0>=this.Dc()){for(var c=this.g,d=0;d<b.length;d++)c.push(new mD(b[d],a[d]));break a}}else b=g.Rb(a),a=g.Qb(a);for(d=0;d<b.length;d++)oD(this,b[d],a[d])}}; | |
oD=function(a,b,c){var d=a.g;d.push(new mD(b,c));b=d.length-1;a=a.g;for(c=a[b];0<b;)if(d=b-1>>1,a[d].xc>c.xc)a[b]=a[d],b=d;else break;a[b]=c}; | |
pD=function(){nD.call(this)}; | |
pja=function(a,b,c){var d="script";d=void 0===d?"":d;var e=a.createElement("link");try{e.rel="preload",e.href=vb("preload","stylesheet")?Dc(b):b instanceof Cc?Dc(b):b instanceof Hc?g.Ic(b):Mc(b).Me()}catch(f){return}d&&(e.as=d);c&&(e.nonce=c);if(a=a.getElementsByTagName("head")[0])try{a.appendChild(e)}catch(f){}}; | |
qD=function(a){return qja.test(a)&&!rja.test(a)}; | |
sja=function(a){a="https://"+("adservice"+a+"/adsid/integrator.js");var b=["domain="+(0,window.encodeURIComponent)(g.w.location.hostname)];rD[3]>=(0,g.F)()&&b.push("adsid="+(0,window.encodeURIComponent)(rD[1]));return a+"?"+b.join("&")}; | |
uD=function(){sD=g.w;rD=sD.googleToken=sD.googleToken||{};var a=(0,g.F)();rD[1]&&rD[3]>a&&0<rD[2]||(rD[1]="",rD[2]=-1,rD[3]=-1,rD[4]="",rD[6]="");tD=sD.googleIMState=sD.googleIMState||{};qD(tD[1])||(tD[1]=".google.com");g.Aa(tD[5])||(tD[5]=[]);g.ta(tD[6])||(tD[6]=!1);g.Aa(tD[7])||(tD[7]=[]);g.ua(tD[8])||(tD[8]=0)}; | |
vD=function(){uD();return rD[1]}; | |
tja=function(a){uD();var b=sD.googleToken[5]||0;a&&(0!=b||rD[3]>=(0,g.F)()?wD.Ux(a):(wD.lz().push(a),wD.vv()));rD[3]>=(0,g.F)()&&rD[2]>=(0,g.F)()||wD.vv()}; | |
xD=function(a){g.w.processGoogleToken=g.w.processGoogleToken||function(a,c){var b=a,e=c;b=void 0===b?{}:b;e=void 0===e?0:e;var f=b.newToken||"",k="NT"==f,l=(0,window.parseInt)(b.freshLifetimeSecs||"",10),m=(0,window.parseInt)(b.validLifetimeSecs||"",10),n=b["1p_jar"]||"";b=b.pucrd||"";uD();1==e?wD.rV():wD.qV();if(!f&&wD.shouldRetry())qD(".google.com")&&(tD[1]=".google.com"),wD.vv();else{var p=sD.googleToken=sD.googleToken||{},r=0==e&&f&&g.u(f)&&!k&&g.ua(l)&&0<l&&g.ua(m)&&0<m&&g.u(n);k=k&&!wD.rs()&& | |
(!(rD[3]>=(0,g.F)())||"NT"==rD[1]);var v=!(rD[3]>=(0,g.F)())&&0!=e;if(r||k||v)k=(0,g.F)(),l=k+1E3*l,m=k+1E3*m,1E-5>Math.random()&&ci(g.w,"https://pagead2.googlesyndication.com/pagead/gen_204?id=imerr&err="+e),p[5]=e,p[1]=f,p[2]=l,p[3]=m,p[4]=n,p[6]=b,uD();if(r||!wD.rs()){e=wD.lz();for(f=0;f<e.length;f++)wD.Ux(e[f]);e.length=0}}}; | |
tja(a)}; | |
yD=function(a,b){this.B=[];this.K=a;this.J=b||null;this.A=this.g=!1;this.o=void 0;this.H=this.M=this.D=!1;this.C=0;this.l=null;this.F=0}; | |
AD=function(a,b,c){a.g=!0;a.o=c;a.A=!b;zD(a)}; | |
CD=function(a){if(a.g){if(!a.H)throw new BD(a);a.H=!1}}; | |
ED=function(a,b,c){DD(a,b,null,c)}; | |
DD=function(a,b,c,d){a.B.push([b,c,d]);a.g&&zD(a)}; | |
FD=function(a){return(0,g.Aj)(a.B,function(a){return g.Ca(a[1])})}; | |
zD=function(a){if(a.C&&a.g&&FD(a)){var b=a.C,c=GD[b];c&&(g.w.clearTimeout(c.Fa),delete GD[b]);a.C=0}a.l&&(a.l.F--,delete a.l);b=a.o;for(var d=c=!1;a.B.length&&!a.D;){var e=a.B.shift(),f=e[0],k=e[1];e=e[2];if(f=a.A?k:f)try{var l=f.call(e||a.J,b);g.t(l)&&(a.A=a.A&&(l==b||a.isError(l)),a.o=b=l);if(Vf(b)||"function"===typeof g.w.Promise&&b instanceof g.w.Promise)d=!0,a.D=!0}catch(m){b=m,a.A=!0,FD(a)||(c=!0)}}a.o=b;d&&(l=(0,g.z)(a.I,a,!0),d=(0,g.z)(a.I,a,!1),b instanceof yD?(DD(b,l,d),b.M=!0):b.then(l, | |
d));c&&(b=new HD(b),GD[b.Fa]=b,a.C=b.Fa)}; | |
BD=function(){Ia.call(this)}; | |
ID=function(){Ia.call(this)}; | |
HD=function(a){this.Fa=g.w.setTimeout((0,g.z)(this.l,this),0);this.g=a}; | |
JD=function(a){De(this,a,uja,null)}; | |
KD=function(a){De(this,a,null,null)}; | |
vja=function(a,b){for(;se(b)&&4!=b.l;)switch(b.o){case 1:var c=we(b);Ce(a,1,c);break;case 2:c=we(b);Ce(a,2,c);break;case 3:c=we(b);Ce(a,3,c);break;case 4:c=we(b);Ce(a,4,c);break;default:te(b)}return a}; | |
LD=function(a,b){if(1<b.length)a[b[0]]=b[1];else{var c=b[0],d;for(d in c)a[d]=c[d]}}; | |
g.ND=function(a){LD(g.MD,arguments)}; | |
g.OD=function(a,b){return a in g.MD?g.MD[a]:b}; | |
wja=function(){}; | |
QD=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.PD(b)}}:a}; | |
g.PD=function(a,b,c,d,e){var f=g.x("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.OD("ERRORS",[]),f.push([a,b,c,d,e]),g.ND("ERRORS",f))}; | |
RD=function(a){g.PD(a,"WARNING",void 0,void 0,void 0)}; | |
xja=function(){if(!SD)return null;var a=SD();return"open"in a?a:null}; | |
g.TD=function(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}}; | |
g.UD=function(a,b){g.Ca(a)&&(a=QD(a));return window.setTimeout(a,b)}; | |
g.VD=function(a,b){g.Ca(a)&&(a=QD(a));return window.setInterval(a,b)}; | |
g.WD=function(a){window.clearTimeout(a)}; | |
g.XD=function(a){a=a.split("&");for(var b={},c=0,d=a.length;c<d;c++){var e=a[c].split("=");if(1==e.length&&e[0]||2==e.length){var f=pb(e[0]||"");e=pb(e[1]||"");f in b?g.Aa(b[f])?Ya(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b}; | |
YD=function(a){var b=[];g.Kb(a,function(a,d){var c=g.ob(d),f;g.Aa(a)?f=a:f=[a];(0,g.B)(f,function(a){""==a?b.push(c):b.push(c+"="+g.ob(a))})}); | |
return b.join("&")}; | |
g.ZD=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.XD(a)}; | |
$D=function(a){a=a.split(",");return a=a.map(function(a){return g.ZD(a)})}; | |
g.aE=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.ZD(1<a.length?a[1]:a[0])):{}}; | |
g.cE=function(a,b){return bE(a,b||{},!0)}; | |
g.dE=function(a,b){return bE(a,b||{},!1)}; | |
bE=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.ZD(e[1]||"");for(var f in b)if(c||!Tb(e,f))e[f]=b[f];return g.Qg(a,e)+d}; | |
eE=function(a){if(!b)var b=window.location.href;var c=g.Eg(a)[1]||null,d=g.Gg(a);c&&d?(a=g.Eg(a),b=g.Eg(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.Gg(b)==d&&g.Hg(b)==g.Hg(a):!0;return a}; | |
fE=function(){if(!a)var a=window.document.location.href;a=g.Eg(a)[1]||null;return null!==a&&"https"==a}; | |
yja=function(a,b){b=void 0===b?{}:b;var c=eE(a),d;for(d in gE){var e=g.OD(gE[d]);e&&(c||hE(a,d))&&(b[d]=e)}if(c||hE(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=-(new Date).getTimezoneOffset();return b}; | |
hE=function(a,b){var c=g.OD("CORS_HEADER_WHITELIST")||{},d=g.Gg(a);return d?(c=c[d])?g.Pa(c,b):!1:!0}; | |
zja=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=iE(a,b);var d=jE(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;(0,window.fetch)(a,c).then(function(a){if(!e){e=!0;f&&g.WD(f);var c=a.ok,d=function(d){d=d||{};var e=b.context||g.w;c?b.onSuccess&&b.onSuccess.call(e,d,a):b.onError&&b.onError.call(e,d,a);b.wd&&b.wd.call(e,d,a)}; | |
"JSON"==(b.format||"JSON")&&(c||400<=a.status&&500>a.status)?a.json().then(d,function(){d(null)}):d(null)}}); | |
b.RC&&0<b.timeout&&(f=g.UD(function(){e||(e=!0,g.WD(f),b.RC.call(b.context||g.w))},b.timeout))}else g.kE(a,b)}; | |
g.kE=function(a,b){var c=b.format||"JSON";a=iE(a,b);var d=jE(a,b),e=!1,f,k=lE(a,function(a){if(!e){e=!0;f&&g.WD(f);var d=g.TD(a),k=null;if(d||400<=a.status&&500>a.status)k=Aja(c,a,b.V4);if(d)a:if(a&&204==a.status)d=!0;else{switch(c){case "XML":d=0==(0,window.parseInt)(k&&k.return_code,10);break a;case "RAW":d=!0;break a}d=!!k}k=k||{};var l=b.context||g.w;d?b.onSuccess&&b.onSuccess.call(l,a,k):b.onError&&b.onError.call(l,a,k);b.wd&&b.wd.call(l,a,k)}},b.method,d,b.headers,b.responseType,b.withCredentials); | |
b.xd&&0<b.timeout&&(f=g.UD(function(){e||(e=!0,k.abort(),g.WD(f),b.xd.call(b.context||g.w,k))},b.timeout)); | |
return k}; | |
iE=function(a,b){b.Z4&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var c=g.OD("XSRF_FIELD_NAME",void 0),d=b.ad;d&&(d[c]&&delete d[c],a=g.cE(a,d));return a}; | |
jE=function(a,b){var c=g.OD("XSRF_FIELD_NAME",void 0),d=g.OD("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.Ob,k=g.OD("XSRF_FIELD_NAME",void 0),l;b.headers&&(l=b.headers["Content-Type"]);b.X4||g.Gg(a)&&!b.withCredentials&&g.Gg(a)!=window.document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.Ob&&b.Ob[k]||(f||(f={}),f[c]=d);f&&g.u(e)&&(e=g.ZD(e),g.ec(e,f),e=b.ED&&"JSON"==b.ED?JSON.stringify(e):g.Og(e));f=e||f&&!g.Xb(f);!mE&&f&&"POST"!=b.method&&(mE=!0,g.PD(Error("AJAX request with postData should use POST"))); | |
return e}; | |
Aja=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)?Bja(b):null)d={},(0,g.B)(b.getElementsByTagName("*"),function(a){d[a.tagName]=Cja(a)})}c&&nE(d); | |
return d}; | |
nE=function(a){if(g.Da(a))for(var b in a)"html_content"==b||nb(b,"_html")?a[b]=g.bd(g.xc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):nE(a[b])}; | |
Bja=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null}; | |
Cja=function(a){var b="";(0,g.B)(a.childNodes,function(a){b+=a.nodeValue}); | |
return b}; | |
g.oE=function(a,b){b.method="POST";b.Ob||(b.Ob={});g.kE(a,b)}; | |
lE=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&QD(b)(m)} | |
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=xja();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof window.FormData));if(e=yja(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");m.send(d);return m}; | |
g.pE=function(){var a=/Chrome\/(\d+)/.exec(g.Ib);return a?(0,window.parseFloat)(a[1]):window.NaN}; | |
sE=function(){return qE("android")&&qE("chrome")&&!rE()}; | |
g.tE=function(){return qE("cobalt")}; | |
uE=function(){return qE("cobalt")&&qE("; youtubevr")}; | |
vE=function(){return qE("cobalt")&&qE("appletv")}; | |
wE=function(){return qE("(ps3; leanback shell)")||qE("ps3")&&g.tE()}; | |
xE=function(){return qE("(ps4; leanback shell)")||qE("ps4")&&g.tE()}; | |
g.yE=function(){return g.tE()&&(qE("ps4 vr")||qE("ps4 pro vr"))}; | |
zE=function(){var a=/WebKit\/([0-9]+)/.exec(g.Ib);return!!(a&&600<=(0,window.parseInt)(a[1],10))}; | |
AE=function(){return qE("nintendo wiiu")}; | |
BE=function(){return qE("iemobile")||qE("windows phone")&&qE("edge")}; | |
rE=function(){return qE("trident/")||qE("edge/")}; | |
qE=function(a){var b=g.Ib;return b?0<=b.toLowerCase().indexOf(a):!1}; | |
g.CE=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.tE()?a&&(a=g.Ic(g.Lc(a)),"about:invalid#zClosurez"===a?a="":(a=g.Uc(Wc(a)),a=g.ob(g.yg(a))),g.C(a)||(a=g.K("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),g.ld(a).body.appendChild(a))):e?lE(a,b,"POST",e,d):g.OD("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?lE(a,b,"GET","",d):Dja(a,b))}; | |
DE=function(a){if(a)for(var b=0;b<a.length;b++)g.CE(a[b],void 0,void 0)}; | |
EE=function(a,b,c){c=void 0===c?"":c;try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,c)?b&&b():g.CE(a,b,void 0,void 0,c)}catch(d){g.CE(a,b,void 0,void 0,c)}}; | |
Dja=function(a,b){var c=new window.Image,d=""+Eja++;FE[d]=c;c.onload=c.onerror=function(){b&&FE[d]&&b();delete FE[d]}; | |
c.src=a}; | |
HE=function(a,b){var c=g.bc(b),d;return g.jg(new g.Xf(function(b,f){c.onSuccess=function(a){g.TD(a)?b(a):f(new GE("Request failed, status="+a.status,"net.badstatus",a))}; | |
c.onError=function(a){f(new GE("Unknown request error","net.unknown",a))}; | |
c.xd=function(a){f(new GE("Request timed out","net.timeout",a))}; | |
d=g.kE(a,c)}),function(a){a instanceof og&&d.abort(); | |
return bg(a)})}; | |
g.IE=function(a,b,c,d){function e(d,l,m){return g.jg(d,function(d){return 0>=l||403===d.g.status?bg(new GE("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(HE(a,b),l-1,Math.pow(2,c-l+1)*m)})})} | |
function f(a){return new g.Xf(function(b){(0,window.setTimeout)(b,a)})} | |
return e(HE(a,b),c-1,d)}; | |
GE=function(a,b,c){Ia.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"}; | |
JE=function(a){this.o=void 0===a?null:a;this.l=0;this.g=null}; | |
KE=function(a){var b=new JE;a=void 0===a?null:a;b.l=2;b.g=void 0===a?null:a;return b}; | |
LE=function(a){var b=new JE;a=void 0===a?null:a;b.l=1;b.g=void 0===a?null:a;return b}; | |
NE=function(a){Ia.call(this,a.message||a.description||a.name);this.isMissing=a instanceof ME;this.isTimeout=a instanceof GE&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof og}; | |
ME=function(){Ia.call(this,"Biscotti ID is missing from server")}; | |
Fja=function(){if("1"===g.Sb(g.OD("PLAYER_CONFIG",{}),"args","privembed"))return bg(Error("Biscotti ID is not available in private embed mode"));OE||(OE=g.jg(HE("//googleads.g.doubleclick.net/pagead/id",PE).then(QE),function(a){return RE(2,a)})); | |
return OE}; | |
QE=function(a){a=a.responseText;if(!g.lb(a,")]}'"))throw new ME;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new ME;a=a.id;SE(a);OE=LE(a);TE(18E5,2);return a}; | |
RE=function(a,b){var c=new NE(b);SE("");OE=KE(c);0<a&&TE(12E4,a-1);throw c;}; | |
TE=function(a,b){g.UD(function(){g.jg(HE("//googleads.g.doubleclick.net/pagead/id",PE).then(QE,function(a){return RE(b,a)}),g.y)},a)}; | |
SE=function(a){g.va("yt.ads.biscotti.lastId_",a,void 0)}; | |
UE=function(){try{var a=g.x("yt.ads.biscotti.getId_");return a?a():Fja()}catch(b){return bg(b)}}; | |
VE=function(a){Ia.apply(this,arguments)}; | |
Gja=function(){var a=new VE("ID is missing"),b=new VE("Timeout"),c=null,d=!1;xD(function(){c=vD();d=!0}); | |
if(d)return c?LE(c):KE(a);var e=new g.Xf(function(b,c){xD(function(){var d=vD();d?b(d):c(a)})}),f=ug(5E3).then(function(){return bg(b)}); | |
return hg(eg([e,f]),function(){return f.cancel()})}; | |
WE=function(){g.x("yt.ads.yuzu.getId_")||g.va("yt.ads.yuzu.getId_",Gja,void 0);try{return g.x("yt.ads.yuzu.getId_")()}catch(a){return bg(a)}}; | |
g.YE=function(a,b,c){a&&(a.dataset?a.dataset[g.XE(b)]=String(c):a.setAttribute("data-"+b,c))}; | |
g.ZE=function(a,b){return a?a.dataset?a.dataset[g.XE(b)]:a.getAttribute("data-"+b):null}; | |
g.XE=function(a){return $E[a]||($E[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))}; | |
bF=function(a,b){if(a in b)return b[a];var c=aF+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]}; | |
cF=function(a,b){var c;(0,g.Aj)(a,function(a){c=b[a];return!!c}); | |
return c}; | |
fF=function(a){var b;dF()?g.eF()==a&&(b=window.document):b=a;b&&(a=cF(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)}; | |
gF=function(a){return g.La(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})}; | |
Hja=function(){var a=window.document;return g.La(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})}; | |
dF=function(){return!!cF(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)}; | |
g.eF=function(){var a=cF(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null}; | |
hF=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 Ija||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b= | |
b.nodeName?b:null}catch(c){b=null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.g=a.pageX;this.l=a.pageY}}; | |
iF=function(a){if(window.document.body&&window.document.documentElement){var b=window.document.body.scrollTop+window.document.documentElement.scrollTop;a.g=a.clientX+(window.document.body.scrollLeft+window.document.documentElement.scrollLeft);a.l=a.clientY+b}}; | |
jF=function(a){g.t(a.g)||iF(a);return a.g}; | |
kF=function(a){g.t(a.l)||iF(a);return a.l}; | |
Jja=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in window.document?"mouseleave"!=b||"onmouseenter"in window.document?"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Vb(lF,function(e){var f=g.ta(e[4])&&e[4]==!!d,k=g.Da(e[4])&&g.Da(d)&&g.ac(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})}; | |
g.oF=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Jja(a,b,c,d);if(e)return e;e=++mF.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new hF(d);if(!g.Xd(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new hF(b); | |
b.currentTarget=a;return c.call(a,b)}; | |
k=QD(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"),nF()||g.ta(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);lF[e]=[a,b,c,k,d];return e}; | |
Kja=function(a,b,c,d){var e=a||window.document;return g.oF(e,b,function(a){var b=g.Xd(a.target,function(a){return a===e||d(a)},!0); | |
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})}; | |
g.pF=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.B)(a,function(a){if(a in lF){var b=lF[a],d=b[0],e=b[1],f=b[3];b=b[4];d.removeEventListener?nF()||g.ta(b)?d.removeEventListener(e,f,b):d.removeEventListener(e,f,!!b.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete lF[a]}}))}; | |
g.qF=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}; | |
rF=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.qF(a)}; | |
sF=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}; | |
tF=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(g.ua(b)||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),g.ua(c)||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new g.gd(b,c)}; | |
g.uF=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()}; | |
g.vF=function(a){a=a||window.event;return!1===a.returnValue||a.tA&&a.tA()}; | |
g.wF=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which}; | |
g.xF=function(a,b,c,d){return Kja(a,b,c,function(a){return g.jq(a,d)})}; | |
yF=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.oF(a,b,function(){g.pF(e);c.apply(a,arguments)},d)}; | |
g.zF=function(a){g.M.call(this);this.l=a||window;this.g=[]}; | |
g.AF=function(a){g.pF(a.g);a.g.length=0}; | |
BF=function(a){this.F=a;this.g=null;this.A=0;this.B=null;this.o=0;this.l=[];for(a=0;4>a;a++)this.l.push(0);this.Db=0;this.D=g.oF(window,"mousemove",(0,g.z)(this.I,this));this.H=g.VD((0,g.z)(this.C,this),25)}; | |
g.CF=function(a){g.M.call(this);this.J=[];this.Xb=a||this}; | |
DF=function(a,b,c,d){for(var e=0;e<c.length;e++)a.O(b,c[e],d)}; | |
g.EF=function(a){for(;a.J.length;){var b=a.J.pop();b.target.removeEventListener(b.name,b.il)}}; | |
g.FF=function(){g.M.call(this);this.ea=new g.UC;g.N(this,this.ea)}; | |
g.HF=function(a,b,c,d){g.FF.call(this);this.o=!!b;this.C=a;this.H=c||a;this.F=!!d;this.g=new g.CF(this);g.N(this,this.g);this.B=this.D=null;this.A=this.l=!1;b&&(g.zd&&a.setAttribute("draggable","true"),a.style.touchAction="none");GF(this)}; | |
IF=function(a,b,c){a.g.O(a.H,b,c,void 0,!a.o)}; | |
GF=function(a){a.B=null;a.D=null;IF(a,JF("over"),a.aB);IF(a,"touchstart",a.au);a.o&&IF(a,JF("down"),a.YP)}; | |
KF=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.D)return d}return null}; | |
JF=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a}; | |
g.LF=function(a){return g.OD("EXPERIMENT_FLAGS",{})[a]}; | |
MF=function(a){a=a||{};this.url=a.url||"";this.args=a.args||g.bc(Lja);this.assets=a.assets||{};this.attrs=a.attrs||g.bc(Mja);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||{}}; | |
Nja=function(a){a instanceof MF||(a=new MF(a));return a}; | |
g.RF=function(a,b,c){var d=g.NF();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.OF[e]&&b.apply(c||window,d)}; | |
try{PF[a]?k():g.UD(k,0)}catch(l){g.PD(l)}},c); | |
g.OF[e]=!0;g.QF[a]||(g.QF[a]=[]);g.QF[a].push(e);return e}return 0}; | |
g.TF=function(a,b){var c=g.RF(a,function(a){b.apply(void 0,arguments);g.SF(c)},void 0)}; | |
g.SF=function(a){var b=g.NF();b&&(g.ua(a)?a=[a]:g.u(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.B)(a,function(a){b.unsubscribeByKey(a);delete g.OF[a]}))}; | |
g.UF=function(a,b){var c=g.NF();return c?c.publish.apply(c,arguments):!1}; | |
g.VF=function(a,b){PF[a]=!0;var c=g.NF();c&&c.publish.apply(c,arguments);PF[a]=!1}; | |
g.NF=function(){return g.x("ytPubsubPubsubInstance")}; | |
g.aG=function(a,b){if(a.Tn){var c=a.Tn;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);WF[a.Tn.token]=d;c=XF(a.endpoint,a.Tn.token)}else c=XF(a.endpoint);c.push(a.payload);YF[a.endpoint]=new b;c.length>=(Number(g.LF("web_logging_max_batch")||0)||20)?ZF():$F()}; | |
ZF=function(){g.WD(bG);if(!g.Xb(cG)){for(var a in cG){var b=YF[a];if(b){var c=void 0,d=a,e=b,f=Oja[d],k=dG[d]||{};dG[d]=k;b=Math.round(g.eG());for(c in cG[d]){var l={context:g.fG(e.pa)};l[f]=XF(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;var m=WF[c];if(m)a:{var n=l,p=c;if(m.videoId)var r="VIDEO";else if(m.playlistId)r="PLAYLIST";else break a;n.credentialTransferTokenTargetId=m;n.context=n.context||{};n.context.user=n.context.user||{};n.context.user.credentialTransferTokens= | |
[{token:p,scope:r}]}delete WF[c];m=l;m.requestTimeMs=b;(r=g.OD("EVENT_ID",void 0))&&g.LF("enable_gel_web_client_event_id")&&(n=(g.OD("BATCH_CLIENT_COUNTER",void 0)||0)+1,n>Pja&&(n=1),g.ND("BATCH_CLIENT_COUNTER",n),m.serializedClientEventId={serializedEventId:r,clientCounter:n});g.gG(e,d,l,{retry:Qja.has(d)})}c=k;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?(c.averageTimeBetweenDispatchesMs*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs= | |
d;delete cG[a]}}g.Xb(cG)||$F()}}; | |
$F=function(){g.WD(bG);bG=g.UD(ZF,g.OD("LOGGING_BATCH_TIMEOUT",1E4))}; | |
XF=function(a,b){b=void 0===b?"":b;cG[a]=cG[a]||{};cG[a][b]=cG[a][b]||[];return cG[a][b]}; | |
Rja=function(){}; | |
g.iG=function(a,b){return hG(a,1,b)}; | |
jG=function(){}; | |
g.kG=function(){return!!g.x("yt.scheduler.instance")}; | |
hG=function(a,b,c){(0,window.isNaN)(c)&&(c=void 0);var d=g.x("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),window.NaN):g.UD(a,c||0)}; | |
g.lG=function(a){if(!(0,window.isNaN)(a)){var b=g.x("yt.scheduler.instance.cancelJob");b?b(a):g.WD(a)}}; | |
mG=function(a){var b=g.x("yt.scheduler.instance.setPriorityThreshold");b&&b(a)}; | |
pG=function(){var a={},b=void 0===a.FL?!0:a.FL;a=void 0===a.kV?!1:a.kV;if(null==g.x("_lact",window)){var c=(0,window.parseInt)(g.OD("LACT"),10);c=(0,window.isFinite)(c)?(0,g.F)()-Math.max(c,0):-1;g.va("_lact",c,window);g.va("_fact",c,window);-1==c&&nG();g.oF(window.document,"keydown",nG);g.oF(window.document,"keyup",nG);g.oF(window.document,"mousedown",nG);g.oF(window.document,"mouseup",nG);b&&(a?g.oF(window,"touchmove",function(){oG("touchmove",200)},{passive:!0}):(g.oF(window,"resize",function(){oG("resize", | |
200)}),g.oF(window,"scroll",function(){oG("scroll",200)}))); | |
new BF(function(){oG("mouse",100)}); | |
g.oF(window.document,"touchstart",nG,{passive:!0});g.oF(window.document,"touchend",nG,{passive:!0})}}; | |
oG=function(a,b){qG[a]||(qG[a]=!0,g.iG(function(){nG();qG[a]=!1},b))}; | |
nG=function(){null==g.x("_lact",window)&&pG();var a=(0,g.F)();g.va("_lact",a,window);-1==g.x("_fact",window)&&g.va("_fact",a,window);(a=g.x("ytglobal.ytUtilActivityCallback_"))&&a()}; | |
g.rG=function(){var a=g.x("_lact",window),b;null==a?b=-1:b=Math.max((0,g.F)()-a,0);return b}; | |
g.tG=function(a,b,c,d){var e=g.sG,f={};f.eventTimeMs=Math.round(c||g.eG());f[a]=b;f.context={lastActivityMs:String(c?-1:g.rG())};g.aG({endpoint:"log_event",payload:f,Tn:d},e)}; | |
g.fG=function(a){a={client:{hl:a.Et,gl:a.Dt,clientName:a.Ct,clientVersion:a.innertubeContextClientVersion}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.OD("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.OD("DELEGATED_SESSION_ID")});return a}; | |
Sja=function(a,b){var c={"X-Goog-Visitor-Id":g.OD("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return c;var d;a?d="Bearer "+g.x("gapi.auth.getToken")().R4:d=g.nm();d&&(c.Authorization=d,c["X-Goog-AuthUser"]=g.OD("SESSION_INDEX",0));return c}; | |
g.vG=function(a,b,c,d){uG.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)}; | |
g.wG=function(a,b,c){uG.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)}; | |
xG=function(){var a;(a=g.lD("yt.innertube"))||(a=new gD("yt.innertube"),a=a.isAvailable()?a:null);this.g=a?new ZC(a):null;this.l=window.document.domain||window.location.hostname}; | |
g.sG=function(a){this.pa=a||{innertubeApiKey:g.OD("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.OD("INNERTUBE_API_VERSION",void 0),Ct:g.OD("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.OD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Et:g.OD("INNERTUBE_CONTEXT_HL",void 0),Dt:g.OD("INNERTUBE_CONTEXT_GL",void 0),Mo:g.OD("INNERTUBE_HOST_OVERRIDE",void 0)||"",IL:!!g.OD("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}}; | |
g.gG=function(a,b,c,d){!g.OD("VISITOR_DATA")&&.01>Math.random()&&g.PD(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",Ob:c,ED:"JSON",xd:function(){d.xd()}, | |
RC:d.xd,onSuccess:function(a,b){if(d.onSuccess)d.onSuccess(b)}, | |
b5:function(a){if(d.onSuccess)d.onSuccess(a)}, | |
onError:function(a,b){if(d.onError)d.onError(b)}, | |
a5:function(a){if(d.onError)d.onError(a)}, | |
timeout:d.timeout,withCredentials:!0};var e="",f=a.pa.Mo;f&&(e=f);f=Sja(a.pa.IL||!1,e);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=""+e+("/youtubei/"+a.pa.innertubeApiVersion+"/"+b)+"?alt=json&key="+a.pa.innertubeApiKey;try{g.LF("use_fetch_for_op_xhr")?zja(a,c):g.oE(a,c)}catch(k){if("InvalidAccessError"==k)g.PD(Error("An extension is blocking network request."),"WARNING");else throw k;}}; | |
zG=function(a,b){var c=Object.keys(a).join("");yG("info_"+c+"_"+b)||(a.clientActionNonce=b,g.tG("latencyActionInfo",a,void 0,void 0))}; | |
yG=function(a){AG[a]=AG[a]||{count:0};var b=AG[a];b.count++;b.time=g.eG();BG||(BG=hG(Tja,0,5E3));if(10<b.count){if(11==b.count){b=Error("CSI data exceeded logging limit with key: "+a);var c=0==a.indexOf("info")?"WARNING":"ERROR";var d=d||{};d.name=g.OD("INNERTUBE_CONTEXT_CLIENT_NAME",1);d.version=g.OD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);a=b;b=void 0===c?"ERROR":c;b=void 0===b?"ERROR":b;c=window&&window.yterr||!1;if(a&&c&&!(5<=CG)){c=a.stacktrace;var e=a.columnNumber;a.hasOwnProperty("params")&& | |
(d.params=JSON.stringify(a.params));var f=g.x("window.location.href");if(g.u(a))a={message:a,name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var k=!1;try{var l=a.lineNumber||a.line||"Not available"}catch(r){l="Not available",k=!0}try{var m=a.fileName||a.filename||a.sourceURL||g.w.$googDebugFname||f}catch(r){m="Not available",k=!0}a=!k&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||"Not available",name:a.name||"UnknownError",lineNumber:l, | |
fileName:m,stack:a.stack||"Not available"}}c=c||a.stack;l=a.lineNumber.toString();(0,window.isNaN)(l)||(0,window.isNaN)(e)||(l=l+":"+e);if(!(DG[a.message]||0<=c.indexOf("/YouTubeCenter.js")||0<=c.indexOf("/mytube.js"))){m=c;l={ad:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,1E3),line:l,level:b,"client.name":d.name},Ob:{url:g.OD("PAGE_NAME",window.location.href),file:a.fileName},method:"POST"};d.version&&(l["client.version"]=d.version);m&&(l.Ob.stack=m);for(var n in d)l.Ob["client."+ | |
n]=d[n];if(d=g.OD("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var p in d)l.Ob[p]=d[p];g.kE(g.OD("ECATCHER_REPORT_HOST","")+"/error_204",l);DG[a.message]=!0;CG++}}}return!0}return!1}; | |
Tja=function(){var a=g.eG(),b;for(b in AG)6E4<a-AG[b].time&&delete AG[b];BG=0}; | |
FG=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new window.Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];return a}catch(e){}a=Array(16);for(b=0;16>b;b++){c=(0,g.F)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(EG)for(b=1,c=0;c<EG.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^EG.charCodeAt(c),b++;return a}; | |
GG=function(){for(var a=FG(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")}; | |
g.HG=function(){return(0,g.G)(FG(),function(a){return(a&15).toString(16)}).join("")}; | |
g.IG=function(a){a=void 0===a?0:a;a=void 0===a?0:a;return g.OD(0==a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a,void 0)}; | |
g.JG=function(a){var b=a=void 0===a?0:a;b=void 0===b?0:b;(b=g.OD(0==b?"client-screen-nonce":"client-screen-nonce."+b))||0!=a||(b=g.OD("EVENT_ID"));return b?b:null}; | |
g.MG=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.F)()+1E3*d:0;if((d=d?(0,g.KG)():LG())&&window.JSON){g.u(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}}; | |
g.NG=function(a){var b=LG(),c=(0,g.KG)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if(!g.u(d))try{d=c.get(a)}catch(e){}if(!g.u(d))return null;try{d=JSON.parse(d,void 0)}catch(e){}return d}; | |
g.OG=function(a){try{var b=LG(),c=(0,g.KG)();b&&b.remove(a);c&&c.remove(a)}catch(d){}}; | |
g.PG=function(){return g.NG("yt-remote-session-screen-id")}; | |
g.RG=function(a){LD(QG,arguments)}; | |
g.V=function(a,b,c){b=void 0===b?{}:b;a=(a=a in QG?QG[a]:c)||"";c={};for(var d in b)c.Gp=d,a=a.replace(new RegExp("\\$"+c.Gp,"gi"),function(a){return function(){return b[a.Gp]}}(c)),c={Gp:c.Gp}; | |
return a}; | |
Uja=function(){var a=g.NG("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.cd(Math.floor(b),0,100),muted:!!a.muted}}; | |
SG=function(a){g.MG("yt-player-bandwidth",a,2592E3)}; | |
TG=function(){return g.NG("yt-player-quality")||"auto"}; | |
UG=function(a){g.MG("yt-player-watch-later-pending",a)}; | |
VG=function(){return g.NG("yt-player-headers-readable")||!1}; | |
XG=function(a,b,c){g.u(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return WG(a)}; | |
WG=function(a,b,c){if(g.Da(a)){b="endSeconds startSeconds mediaContentUrl suggestedQuality videoId two_stage_token".split(" ");c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}}; | |
YG=function(a,b,c,d){!a&&(void 0===c?0:c)&&RD(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a}; | |
ZG=function(a){return(a=Vja.exec(a))?a[0]:""}; | |
$G=function(a){var b=void 0===b?!1:b;return YG(Wja.test(a),a,b,"Nielsen OCR URL")}; | |
aH=function(a){var b=void 0===b?!1:b;return YG(Xja.test(a),a,b,"Active View 3rd Party Integration URL")}; | |
bH=function(a){var b=void 0===b?!1:b;return YG(Yja.test(a),a,b,"Google/YouTube Brand Lift URL")}; | |
cH=function(a){var b=void 0===b?!1:b;return YG(Zja.test(a),a,b,"Trusted Stream URL")}; | |
g.dH=function(a){var b=void 0===b?!1:b;return YG($ja.test(a),a,b,"Trusted Image URL")}; | |
g.eH=function(a){var b=void 0===b?!1:b;return YG(aka.test(a),a,b,"Trusted Promoted Video Domain URL")}; | |
fH=function(a,b){b=void 0===b?!1:b;return YG(bka.test(a),a,b,"Captions URL")}; | |
gH=function(a){a=new g.um(a);g.vm(a,window.document.location.protocol);g.wm(a,window.document.location.hostname);window.document.location.port&&g.xm(a,window.document.location.port);return a.toString()}; | |
hH=function(a){a=new g.um(a);g.vm(a,window.document.location.protocol);return a.toString()}; | |
iH=function(){return"ytp-id-"+cka++}; | |
g.kH=function(a){g.M.call(this);this.g={};this.Na={};this.element=jH(this,a)}; | |
jH=function(a,b,c){c=c||"svg"==b.G;if(c){var d=window.document.createElementNS("http://www.w3.org/2000/svg",b.G);g.lH&&(b.P||(b.P={}),b.P.focusable="false")}else d=g.Dd(b.G);var e;if(e=b.L){if(e=mH(a,d,"class",e))nH(a,d,"class",e),a.g[e]=d}else if(e=b.da){for(var f=0;f<e.length;f++)a.g[e[f]]=d;nH(a,d,"class",e.join(" "))}if(e=b.aa)c=mH(a,d,"child",e),null!=c&&d.appendChild(g.Ed(c));else if(e=b.N)for(var k=f=0;k<e.length;k++){var l=e[k];if(l)if(g.u(l))l=mH(a,d,"child",l),null!=l&&d.appendChild(g.Ed(l)); | |
else if(l.element)d.appendChild(l.element);else{var m=l;l=jH(a,m,c);d.appendChild(l);m.Ua&&(m=iH(),l.id=m,l=window.document.createElementNS("http://www.w3.org/2000/svg","use"),l.setAttribute("class","ytp-svg-shadow"),l.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),Id(d,l,f++))}}if(b=b.P){c=d;for(var n in b)e=b[n],null!=e&&nH(a,c,n,g.u(e)?mH(a,c,n,e):e)}return d}; | |
g.oH=function(a){g.Jd(a.element)}; | |
mH=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Na[d]=[b,c],null):d}; | |
nH=function(a,b,c,d){if("child"==c){g.Hd(b);if(!g.Aa(d)||g.Da(d)&&g.u(d.G))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){var k=f.nodeType;if(1==k||3==k)c.push(f);else if(g.Da(f)&&g.u(f.G))c.push(jH(a,f));else if(f.element)c.push(f.element);else if(g.u(f)&&-1!=f.indexOf("\n"))for(f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.Dd("BR")),c.push(g.Ed(f[k]));else c.push(g.Ed(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.kH.call(this,a);this.Dd="";this.o=!0;this.Z=[]}; | |
g.pH=function(a,b){b?a.show():a.hide()}; | |
g.qH=function(a){g.W.call(this,a);this.Y=new g.FF;g.N(this,this.Y)}; | |
g.sH=function(a,b,c,d){g.qH.call(this,a);this.priority=b;c&&g.rH(this,c);d&&this.Mb(d)}; | |
g.tH=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?[]:b;c=void 0===c?!1:c;b.push("ytp-menuitem");"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex="0");return{G:c?"a":"div",da:b,P:a,N:[{G:"div",L:"ytp-menuitem-label",aa:"{{label}}"},{G:"div",L:"ytp-menuitem-content",aa:"{{content}}"}]}}; | |
g.rH=function(a,b){a.updateValue("label",b)}; | |
wH=function(a,b){g.M.call(this);this.app=a;this.g=!0;this.o=null;this.H={};this.I={};this.A={};this.D=[];this.C={};this.B={};this.l=null;this.J=new window.Set;this.playerType=b;uH(this,"cueVideoById",this.oB);uH(this,"loadVideoById",this.xN);uH(this,"cueVideoByUrl",this.lN);uH(this,"loadVideoByUrl",this.yN);uH(this,"playVideo",this.Xc);uH(this,"pauseVideo",this.hd);uH(this,"stopVideo",this.te);uH(this,"clearVideo",this.jN);uH(this,"getVideoBytesLoaded",this.qN);uH(this,"getVideoBytesTotal",this.rN); | |
uH(this,"getVideoLoadedFraction",this.qu);uH(this,"getVideoStartBytes",this.sN);uH(this,"cuePlaylist",this.kN);uH(this,"loadPlaylist",this.wN);uH(this,"nextVideo",this.lk);uH(this,"previousVideo",this.hm);uH(this,"playVideoAt",this.sB);uH(this,"setShuffle",this.setShuffle);uH(this,"setLoop",this.AN);uH(this,"getPlaylist",this.fg);uH(this,"getPlaylistIndex",this.qB);uH(this,"getPlaylistId",this.getPlaylistId);uH(this,"loadModule",this.kk);uH(this,"unloadModule",this.im);uH(this,"setOption",this.Pd); | |
uH(this,"getOption",this.yc);uH(this,"getOptions",this.Ki);uH(this,"mute",this.mute);uH(this,"unMute",this.gg);uH(this,"isMuted",this.isMuted);uH(this,"setVolume",this.setVolume);uH(this,"getVolume",this.getVolume);uH(this,"seekTo",this.ac);uH(this,"getPlayerState",this.Bh);uH(this,"getPlaybackRate",this.Hc);uH(this,"setPlaybackRate",this.Te);uH(this,"getAvailablePlaybackRates",this.jk);uH(this,"getPlaybackQuality",this.gm);uH(this,"setPlaybackQuality",this.kp);uH(this,"getAvailableQualityLevels", | |
this.pu);uH(this,"getCurrentTime",this.getCurrentTime);uH(this,"getDuration",this.getDuration);uH(this,"addEventListener",this.addEventListener);uH(this,"removeEventListener",this.removeEventListener);uH(this,"getVideoUrl",this.getVideoUrl);uH(this,"getDebugText",this.fm);uH(this,"getVideoEmbedCode",this.rB);uH(this,"getVideoData",this.getVideoData);uH(this,"addCueRange",this.nB);uH(this,"removeCueRange",this.tB);uH(this,"setSize",this.setSize);uH(this,"getApiInterface",this.mN);uH(this,"destroy", | |
this.destroy);uH(this,"showVideoInfo",this.vB);uH(this,"hideVideoInfo",this.uN);uH(this,"getMediaReferenceTime",this.oN);uH(this,"getSphericalProperties",this.jp);uH(this,"setSphericalProperties",this.lp);vH(this,"getInternalApiInterface",this.nN);vH(this,"getAdState",this.pB);vH(this,"isNotServable",this.vN);vH(this,"getUpdatedConfigurationData",this.pN);vH(this,"sendAbandonmentPing",this.zN);vH(this,"setAutonav",this.uB);vH(this,"setAutonavState",this.ru);vH(this,"startInteractionLogging",this.BN); | |
vH(this,"channelSubscribed",this.hN);vH(this,"channelUnsubscribed",this.iN);vH(this,"handleExternalCall",this.tN)}; | |
uH=function(a,b,c){a.H[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)}; | |
vH(a,b,c);a.D.push(b)}; | |
xH=function(a,b,c){a.I[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)}; | |
vH(a,b,c);a.D.push(b)}; | |
vH=function(a,b,c){a.A[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)}}; | |
yH=function(a){a.l||(a.l={},g.Ha(a.l,a.H),g.Ha(a.l,a.I),a.l.addEventListener=(0,g.z)(a.yJ,a),a.l.removeEventListener=(0,g.z)(a.zJ,a));return a.l}; | |
zH=function(a,b,c){a.app.g.experiments.g("web_player_gel_logging_killswitch")||(a.app.g.experiments.g("web_player_gel_direct")?g.tG(b,c,void 0,void 0):a.va("onLogToGel",{payload_name:b,payload:c}))}; | |
BH=function(a,b,c){b=g.cd(Math.floor(b),0,100);(0,window.isFinite)(b)&&AH(a.app,{volume:b,muted:a.isMuted()},c)}; | |
CH=function(a,b){AH(a.app,{muted:!0,volume:a.getVolume()},b)}; | |
DH=function(a,b){AH(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)}; | |
g.EH=function(a){return(a=a.app.A.M)?a.l:null}; | |
FH=function(a,b,c){this.name=a;this.id=b;this.isDefault=c}; | |
g.GH=function(a){this.languageCode=a.languageCode;this.languageName=a.languageName||null;this.g=a.languageOriginal||null;this.id=a.id||null;this.isDefault=a.is_default||!1}; | |
g.HH=function(a){a=void 0===a?{}:a;this.J=a.formats||"";this.o=a.format||1;if(1==this.o)for(var b=this.J.split(","),c=0;c<b.length;c++){var d=(0,window.parseInt)(b[c],10);(0,window.isNaN)(d)||(this.o=Math.max(d,this.o))}this.l=a.languageCode||"";this.B=a.languageName;this.A=a.kind||"";this.C=a.name;this.Fa=a.id;this.K=a.is_servable;this.F=a.is_translateable;this.H=a.url||null;this.D=a.vss_id||"";this.isDefault=a.is_default;this.g=null;if(a=a.translationLanguage)this.g=new g.GH(a)}; | |
g.IH=function(a){var b=a.B||"",c=[b];"asr"==a.A&&-1==b.indexOf("(")&&c.push(" ("+g.V("YTP_ASR_SETTINGS_LABEL")+")");a.C&&c.push(" - "+a.C);a.g&&c.push(" >> "+a.g.languageName);return c.join("")}; | |
JH=function(a,b){this.id=a;this.Gb=b;this.captionTracks=[];this.lo=this.Ur=this.g=null;this.Cr="UNKNOWN"}; | |
KH=function(a,b,c){this.sampleRate=a||0;this.g=b||0;this.spatialAudioType=c||0}; | |
dka=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d}; | |
NH=function(a,b,c,d,e,f,k,l,m,n,p,r){this.width=a;this.height=b;this.quality=f||LH(a,b);this.g=g.MH[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=l)||(a=this.fps,b=this.projectionType,c=g.MH[this.quality],a=0==c?g.V("YTP_AUTO"):c+(2==b||3==b||4==b?"s":"p")+(55<a?"60":49<a?"50":39<a?"48":""));this.qualityLabel=a;this.l=m||"";this.primaries=n||"";this.o=!1!==p;this.A=r||0}; | |
OH=function(a){return 1280<=a.width||720<=a.height}; | |
PH=function(a){return"smpte2084"==a.l||"arib-std-b67"==a.l}; | |
LH=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=QH[0],f=0;f<QH.length;f++){var k=QH[f],l=g.MH[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"}; | |
SH=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=0<=b.indexOf("/mp4")?1:0<=b.indexOf("/webm")?2:0<=b.indexOf("/x-flv")?3:0<=b.indexOf("/vtt")?4:0;this.mimeType=b;this.g=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Gb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.Uc=void 0===f?null:f;this.l=eka[RH(this)]||"";this.o=null}; | |
RH=function(a){return a.id.split(";",1)[0]}; | |
TH=function(a){return"9"==a.l||"("==a.l||"9h"==a.l||"(h"==a.l}; | |
UH=function(a){return"9h"==a.l||"(h"==a.l}; | |
g.VH=function(a){return 1==a.containerType}; | |
WH=function(a){return"application/x-mpegURL"==a.mimeType}; | |
XH=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")}; | |
YH=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")||0<=a.indexOf("av1")}; | |
g.ZH=function(a){return a.includes("vtt")||a.includes("text/mp4")}; | |
$H=function(a,b,c,d,e,f,k){var l=new KH;b in g.MH||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.MH[b],d=Math.round(16*e/9));b=new NH(d,e,0,null,void 0,b,f,void 0,void 0,void 0,k);a=(0,window.unescape)(a.replace(/"/g,'"'));return new SH(c,a,l,b)}; | |
aI=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.XD(b||"");var c={};(0,g.B)(this.experimentIds,function(a){c[a]=!0}); | |
this.experiments=c;this.A=!!c["9414740"]}; | |
bI=function(a,b){this.g=a;this.l=b;this.o=0;Object.defineProperty(this,"timestampOffset",{get:this.JW,set:this.NW});Object.defineProperty(this,"buffered",{get:this.HW})}; | |
fka=function(){this.length=0}; | |
cI=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.l=window.NaN;this.o=0;Object.defineProperty(this,"duration",{get:this.IW,set:this.MW});Object.defineProperty(this,"readyState",{get:this.KW});this.g.addEventListener("webkitsourceclose",(0,g.z)(this.LW,this),!0)}; | |
dI=function(){this.length=1}; | |
eI=function(){this.buffered=new dI}; | |
fI=function(a,b){return{start:function(b){return a[b]}, | |
end:function(a){return b[a]}, | |
length:a.length}}; | |
gI=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}; | |
hI=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}; | |
iI=function(a,b){var c=hI(a,b);return 0<=c?a.end(c):window.NaN}; | |
jI=function(a){return a&&a.length?a.end(a.length-1):window.NaN}; | |
kI=function(a,b){var c=iI(a,b);return 0<=c?c-b:0}; | |
lI=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 fI(d,e)}; | |
mI=function(a){this.g=a;this.l=null}; | |
nI=function(a,b){this.g=a;this.l=b;this.o=0}; | |
oI=function(){var a=g.x("yt.player.utils.videoElement_");a||(a=g.Dd("VIDEO"),g.va("yt.player.utils.videoElement_",a,void 0));return a}; | |
gka=function(){var a=oI();return!!a.webkitSetPresentationMode&&g.Ca(a.webkitSupportsPresentationMode)&&!!a.webkitSupportsPresentationMode("picture-in-picture")}; | |
pI=function(){var a=oI();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1}; | |
qI=function(a){a=g.K("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==sh(a,"display");g.Jd(a);return b}; | |
rI=function(a,b){this.g=a;this.l=!!b;this.o=!1}; | |
sI=function(a){g.M.call(this);this.B=new g.CF(this);g.N(this,this.B);this.l=this.g=null;a=this.o=a;a=a.XO?a.g.webkitMediaSourceURL:window.URL.createObjectURL(a);this.Ut=new rI(a,!0);this.A=null;DF(this.B,this.o,["sourceopen","webkitsourceopen"],this.D);DF(this.B,this.o,["sourceclose","webkitsourceclose"],this.C)}; | |
hka=function(a,b){tI(a)?g.Qf(function(){return b(a)}):a.A=b}; | |
uI=function(a,b){return"fakesb"==b?new eI:a.o.addSourceBuffer(b)}; | |
tI=function(a){try{return"open"==a.o.readyState}catch(b){return!1}}; | |
vI=function(a){try{return"closed"==a.o.readyState}catch(b){return!0}}; | |
wI=function(a){return!!(a.g&&a.g.Fh()||a.l&&a.l.Fh())}; | |
xI=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)}; | |
yI=function(a){return a.g?!!a.g.supports(0):xI()}; | |
AI=function(a){if(/opus/.test(a)&&(g.zI&&!g.Ln("38")||g.zI&&qE("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!xE())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!oI().canPlayType(a)}; | |
ika=function(a,b,c){this.l=a;this.B=b;this.C=void 0===c?!1:c;this.A=!!g.x("cast.receiver.platform.canDisplayType");a=g.x("cast.receiver.platform.getValue");this.g=!this.A&&a&&a("max-video-resolution-vpx")||null;this.o={}}; | |
DI=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;BI?c=c||jka[b]:2.2==CI?c=c||kka[b]:sE()&&(c=c||lka[b]);return!!c}; | |
mka=function(a,b){if("0"==RH(b))return!0;var c=b.mimeType;if(b.video&&(PH(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||EI(a,FI))||!("338"!=RH(b)||g.zI&&g.Ln(53)))return!1;var d={};b.video&&(b.video.width&&(d[GI.name]=b.video.width),b.video.height&&(d[HI.name]=b.video.height),b.video.fps&&(d[II.name]=b.video.fps),b.video.l&&(d[FI.name]=b.video.l),b.g&&(d[JI.name]=8*b.g),"("==b.l&&(d[KI.name]="subsample"));b.audio&&b.audio.g&&(d[LI.name]=b.audio.g);for(var e in MI){var f=MI[e], | |
k;if(k=d[f.name])if(k=!(f==FI&&0<b.mimeType.indexOf("vp09.02")))k=b,k=!(a.l.g("html5_ignore_h264_framerate_cap")&&f==II&&("H"==k.l||"h"==k.l));if(k)if(EI(a,f))if(a.g){if(a.g[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(UH(b)&&f==FI)return!1}!a.l.g("disable_html5_cast_hdcp_filter2")&&a.A&&b.video&&1080<b.video.g&&b.Uc&&(c+="; hdcp=2.2");return NI(a,c)}; | |
OI=function(){var a=sE()&&!g.Ln(29),b=qE("google tv")&&qE("chrome")&&!g.Ln(30),c=vE();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)}; | |
g.PI=function(){return!(!DI(oI(),"application/x-mpegURL")&&!OI())}; | |
EI=function(a,b){if(!(b.name in a.o)){var c=a.o,d=b.name;if(a.g)var e=!!a.g[b.name];else b==JI&&a.l.g("html5_ignore_bad_bitrates")&&NI(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!NI(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',NI(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',NI(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=NI(a,e+"; "+b.name+"="+b.valid)&&!NI(a,e+"; "+ | |
b.name+"="+b.xi));c[d]=e}return a.o[b.name]}; | |
NI=function(a,b){return a.A?window.cast.receiver.platform.canDisplayType(b):AI(b)}; | |
QI=function(a){this.xg=a}; | |
RI=function(a,b){if(b)return KE();for(var c={},d=oI(),e=g.ma(a),f=e.next();!f.done;f=e.next())if(f=f.value,DI(d,f.Uf().mimeType)){var k=f.xg.video.quality;c[k]&&2!=c[k].Uf().containerType||(c[k]=f)}var l=[];c.auto&&l.push(c.auto);(0,g.B)(QH,function(a){(a=c[a])&&l.push(a)}); | |
return l.length?LE(l):KE()}; | |
SI=function(a,b,c,d){this.l=a||0;this.g=b||0;this.o=c;this.reason=d}; | |
TI=function(a,b){return a.l==b.l&&a.g==b.g&&a.o==b.o&&a.reason==b.reason}; | |
UI=function(a,b,c,d){return new SI(g.MH[a]||0,g.MH[b]||0,c,d)}; | |
VI=function(a){var b=g.MH.auto;return a.l==b&&a.g==b}; | |
XI=function(a,b){if(b.o&&VI(b))return WI;if(b.o||VI(a))return b;if(a.o||VI(b))return a;var c=a.l&&b.l?Math.max(a.l,b.l):a.l||b.l,d=a.g&&b.g?Math.min(a.g,b.g):a.g||b.g;c=Math.min(c,d);return c==a.l&&d==a.g?a:new SI(c,d,!1,d==a.g?a.reason:b.reason)}; | |
YI=function(a){var b=a.g||a.l;return Wb(nka,function(a){return g.MH[a]==b})||"auto"}; | |
ZI=function(a,b){var c=g.MH[b];return a.l<=c&&(!a.g||a.g>=c)}; | |
$I=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.wa=a;this.sourceURL=e;this.startTime=b;this.l=k||0;this.range=f||null;this.g=l||!1}; | |
g.aJ=function(){this.segments=[]}; | |
bJ=function(a,b){if(0!=b.length){var c=g.Xa(b);if(0==a.segments.length)a.segments=c;else{var d=a.segments.length?g.Ja(a.segments).endTime:0,e=c[0].wa-a.Qb();1<e&&Ra(a.segments);for(e=0<e?0:-e+1;e<c.length;e++){var f=c[e];f.startTime=d;f.endTime=f.startTime+f.duration;d+=c[e].duration;a.segments.push(c[e])}}}}; | |
cJ=function(a,b){if(b>a.Qb())a.segments=[];else{var c=g.Ka(a.segments,function(a){return a.wa>=b},a); | |
0<c&&a.segments.splice(0,c)}}; | |
dJ=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.g=e?0:8;this.dataOffset=this.offset+this.g;this.l=e}; | |
eJ=function(a){var b=a.data.getUint8(a.offset+a.g);a.g+=1;return b}; | |
fJ=function(a){var b=a.data.getInt32(a.offset+a.g);a.g+=4;return b}; | |
gJ=function(a){var b=a.data.getUint32(a.offset+a.g);a.g+=4;return b}; | |
hJ=function(a){var b=a.data;var c=a.offset+a.g;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.g+=8;return b}; | |
iJ=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.g);b.push(c);a.g++}while(0!=c);b.pop();return String.fromCharCode.apply(String,b)}; | |
jJ=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0}; | |
kJ=function(a,b){a.data.setInt32(a.g,b);a.g+=4}; | |
lJ=function(a,b){for(var c=0;c+4<=b.size;)kJ(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))}; | |
mJ=function(a,b,c,d,e){this.Ze=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e}; | |
oJ=function(a,b,c){this.g=a;this.uri=b||"http://youtube.com/streaming/metadata/segment/102015";this.A=void 0===c?null:c;this.l=nJ(this,"Sequence-Number");this.H=nJ(this,"Segment-Count");this.I=this.g["Segment-Durations-Ms"]||"";this.ingestionTime=nJ(this,"Ingestion-Walltime-Us")/1E6;this.o=(nJ(this,"First-Frame-Time-Us")+nJ(this,"First-Frame-Uncertainty-Us"))/1E6;this.F=nJ(this,"Target-Duration-Us")/1E6;this.D="T"==this.g["Overlayed-With-Slate"];this.C="T"==this.g["Stream-Finished"];this.B="T"==this.g.Streamable}; | |
nJ=function(a,b){return(0,window.parseInt)(a.g[b],10)||0}; | |
pJ=function(a,b,c,d,e){this.l=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.g=e;e.getUint32(4)}; | |
qJ=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}; | |
pka=function(a,b,c){var d=rJ(a,0,1836019558);if(!d)return null;var e=rJ(a,d.dataOffset,1835427940),f=rJ(a,d.dataOffset,1953653094),k=oka(a,d.dataOffset);if(!e||!f)return null;var l=rJ(a,f.dataOffset,1952868452),m=rJ(a,f.dataOffset,1953658222),n=rJ(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var p=rJ(a,f.dataOffset,1935763823),r=rJ(a,f.dataOffset,1935763834),v=0;if(p){v=fJ(p);var D=fJ(p);if(0!=v||1!=D)return null;v=fJ(p)}D=rJ(a,f.dataOffset,1935828848);f=rJ(a,f.dataOffset,1936158820);var H= | |
fJ(l),L=fJ(l),T=H&2,ha=H&1?hJ(l):0,cb=T?fJ(l):0,tb=H&8?fJ(l):0,Td=H&16?fJ(l):0,xh=H&32?fJ(l):0;H=fJ(m);var rb=H&1,Uf=H&4,yh=H&256;l=H&512;var zl=H&1024,sc=H&2048;H=fJ(m);var fc=rb?fJ(m):0,tc=Uf?fJ(m):0;rb=[];for(var er=[],Ii=[],Al=[],Cv=0,sd=0,Bl=0;Bl<H;Bl++){var XL=yh?fJ(m):tb;l&&rb.push(fJ(m));var Ji=xh;Uf&&0==Bl?Ji=tc:zl&&(Ji=fJ(m));er.push(Ji);Ji=sc?fJ(m):0;0==Bl&&(Cv=Ji);Ii.push(sd+Ji);Al.push(Bl);sd+=XL}1<=Math.abs(sd-b)&&c({flaw:"segDurMismatch",dts:sd.toFixed(),seg:b.toFixed()});g.gb(Al,function(a, | |
b){return Ii[a]-Ii[b]}); | |
c=[];for(sd=0;sd<H;sd++)c[Al[sd]]=sd;sd=T?4:0;xh=16*H;Uf=Ij(k,function(a,b){return a+b.size},0); | |
yh=68+sd+n.size+xh+(p?p.size:0)+(r?r.size:0)+(D?D.size:0)+(f?f.size:0)+Uf;tb=yh-d.size;m=new jJ(yh+d.offset);d.offset&&m.Sn(a,0,d.offset);kJ(m,yh);kJ(m,1836019558);lJ(m,e);kJ(m,yh-24-Uf);kJ(m,1953653094);kJ(m,16+sd);kJ(m,1952868452);kJ(m,131072|(T?2:0));kJ(m,L);T&&kJ(m,cb);lJ(m,n);kJ(m,20+xh);kJ(m,1953658222);kJ(m,16781057);kJ(m,H);kJ(m,ha+fc+tb);for(a=sd=0;a<H;a++)e=c[a],d=Math.round(b*e/H),e=Math.round(b*(e+1)/H)-d,d=d-sd+Cv,kJ(m,e),kJ(m,l?rb[a]:Td),kJ(m,er[a]),kJ(m,d),sd+=e;p&&(kJ(m,p.size),kJ(m, | |
1935763823),kJ(m,0),kJ(m,1),kJ(m,v+tb));r&&lJ(m,r);D&&lJ(m,D);f&&lJ(m,f);b=g.ma(k);for(k=b.next();!k.done;k=b.next())lJ(m,k.value);return m.data.buffer}; | |
sJ=function(a,b){var c=rJ(a.data,a.dataOffset,1952868452),d=rJ(a.data,a.dataOffset,1953658222),e=fJ(c);fJ(c);e&2&&fJ(c);c=e&8?fJ(c):0;var f=fJ(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var p=gJ(d);k&&fJ(d);e&&fJ(d);for(var r=k=0;r<p;r++){var v=l?fJ(d):c;m&&fJ(d);e&&0==r||!n||fJ(d);f&&fJ(d);k+=v}return k/b}; | |
vJ=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.tJ(a,1836476516))?uJ(a):window.NaN}; | |
qka=function(a){var b=g.tJ(a,1937011556);if(!b)return null;b=rJ(a,b.dataOffset+8,1635148593);if(!b)return null;var c=rJ(a,b.dataOffset+78,1936995172),d=rJ(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),eJ(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=rJ(a,d.dataOffset,1886547818)){var k=rJ(a,d.dataOffset,1886546020),l=rJ(a,d.dataOffset,2037673328);if(!l&&(l=rJ(a,d.dataOffset,1836279920),!l))return null;k&&(k.skip(4),c=fJ(k)/ | |
65536,f=fJ(k)/65536,e=fJ(k)/65536);a=new window.DataView(l.data.buffer,l.dataOffset,l.size-8);return new pJ(b,c,f,e,a)}return null}; | |
rJ=function(a,b,c){for(;wJ(a,b);){var d=xJ(a,b);if(d.type==c)return d;b+=d.size}return null}; | |
g.tJ=function(a,b){for(var c=0;wJ(a,c);){var d=xJ(a,c);if(d.type==b)return d;c=yJ(d.type)?c+8:c+d.size}return null}; | |
zJ=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)}; | |
AJ=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)}; | |
xJ=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new dJ(a,b,c,d)}; | |
uJ=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)}; | |
BJ=function(a){a=new dJ(a.data,a.offset,a.size,a.type,a.l);var b=eJ(a);a.skip(7);var c=gJ(a);if(0==b){b=gJ(a);var d=gJ(a)}else b=hJ(a),d=hJ(a);a.skip(2);var e=a.data.getUint16(a.offset+a.g);a.g+=2;for(var f=[],k=[],l=0;l<e;l++){var m=gJ(a);f.push(m);k.push(gJ(a));a.skip(4)}return{Pv:c,sJ:b,dz:d,tv:f,Mm:k}}; | |
CJ=function(a){return a.data.getUint32(a.dataOffset+8)}; | |
wJ=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}; | |
yJ=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a}; | |
DJ=function(a){return(a=rJ(a,0,1836019558))?a.offset+a.size:null}; | |
EJ=function(a,b){for(var c=rJ(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=rJ(a,c.offset+c.size,b)}}; | |
oka=function(a,b){for(var c=[];wJ(a,b);){var d=xJ(a,b);1886614376==d.type&&c.push(d);b+=d.size}return c}; | |
FJ=function(a,b){for(var c=0,d=[];wJ(a,c);){var e=xJ(a,c);e.type==b&&d.push(e);c=yJ(e.type)?c+8:c+e.size}return d}; | |
g.GJ=function(a,b){this.start=a;this.end=b;this.length=b-a+1}; | |
HJ=function(a){a=a.split("-");return 2==a.length&&(a=new g.GJ((0,window.parseInt)(a[0],10),(0,window.parseInt)(a[1],10)),!(0,window.isNaN)(a.start)&&!(0,window.isNaN)(a.end)&&!(0,window.isNaN)(a.length)&&0<a.length)?a:null}; | |
IJ=function(a,b){return new g.GJ(a,a+b-1)}; | |
KJ=function(a,b,c,d,e,f,k,l,m){this.g=b;this.range=c;this.type=a;this.wa=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.l=k||0;this.Xa=0<=l?l:this.range?this.range.length:window.NaN;this.C=!!m;this.range?(this.o=this.l+this.Xa==this.range.length,this.B=this.startTime+this.duration*this.l/this.range.length,this.D=this.duration*this.Xa/this.range.length,this.A=this.B+this.D):(this.o=0!=this.Xa,JJ(this));this.F=[]}; | |
JJ=function(a){a.B=a.startTime;a.D=a.duration;a.A=a.B+a.D}; | |
rka=function(a,b,c){var d=!(!b||b.g!=a.g||b.type!=a.type||b.wa!=a.wa);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.l+b.Xa==a.l+a.Xa:d}; | |
LJ=function(a){return 1==a.type||2==a.type}; | |
MJ=function(a,b,c){return c||a.g==b.g?a.range&&b.range?a.range.start+a.l+a.Xa==b.range.start+b.l:a.wa==b.wa?a.l+a.Xa==b.l:a.wa+1==b.wa&&0==b.l&&a.o:!1}; | |
NJ=function(a,b){return MJ(a,b)||1E-6>=Math.abs(a.A-b.B)||a.wa+1==b.wa&&0==b.l&&a.o?!0:!1}; | |
ska=function(a){1==a.length||(0,g.cm)(a,function(a){return!!a.range}); | |
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.GJ(a[0].range.start+a[0].l,b.range.start+b.l+b.Xa-1)}; | |
PJ=function(a){var b="";g.Kb(OJ(a),function(a,d){b+=d+"="+a+","}); | |
return b.slice(0,-1)}; | |
OJ=function(a){var b={};b.itag=RH(a.g.info);b.seg=String(a.wa);a.range&&(b.range=""+(a.range.start+a.l)+"-"+(a.range.start+a.l+a.Xa-1));b.time=""+a.B.toFixed(1)+"-"+(a.B+a.D).toFixed(1);b.off=String(a.l);b.len=String(a.Xa);a.o&&(b.end="1");a.C&&(b.eos="1");return b}; | |
QJ=function(a,b,c,d){a=new KJ(a.type,a.g,a.range,a.wa,a.startTime,a.duration,b,c,d&&a.C);a.o=d;return a}; | |
RJ=function(a,b){a.wa=b.l;b.C&&(a.C=b.C)}; | |
SJ=function(a,b){a.wa=b.wa;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,JJ(a)}; | |
TJ=function(a,b){this.l=a;this.g=0;this.o=b||0}; | |
UJ=function(a){return a.g>=a.l.byteLength}; | |
ZJ=function(a,b){var c=new TJ(b);if(!VJ(c,[408125543,374648427,174,224]))return!1;c=WJ(c);if(XJ(c,a)){for(var d=0;a;)a>>>=8,d++;var e=c.o+c.g-d;d=YJ(c,!0)+d-1;var f;f||(f=Math.ceil(Math.log(d+2)/Math.log(2)/7));var k=1<<8-f;for(c=[];c.length<f-1;)c.unshift(d%256),d=Math.floor(d/256);c.unshift(d|k);b.setUint8(e,236);for(f=0;f<c.length;f++)b.setUint8(e+1+f,c[f]);return!0}return!1}; | |
aK=function(a){$J(new TJ(a));ZJ(30320,a)&&ZJ(21432,a)}; | |
tka=function(a){var b=new TJ(a);$J(b);if(VJ(b,[408125543,374648427,174,224]))b=WJ(b);else return null;for(var c=a=null;!UJ(b);){var d=YJ(b,!1);if(21432==d)switch(bK(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=WJ(b):cK(b)}if(!c)return null;for(var e,f=d=b=null;!UJ(c);)switch(YJ(c,!1)){case 30321:if(3!=bK(c))return null;break;case 30324:b=dK(c);break;case 30323:f=dK(c);break;case 30325:d=dK(c);break;case 30322:e=YJ(c,!0);e=eK(c,e);e=new window.DataView(e.buffer, | |
e.byteOffset,e.byteLength);break;default:cK(c)}return e?new pJ(a,b,f,d,e):null}; | |
WJ=function(a){var b=YJ(a,!0),c=a.l.byteOffset+a.g;c=new window.DataView(a.l.buffer,c,Math.min(b,a.l.buffer.byteLength-c));c=new TJ(c,a.o+a.g);a.g+=b;return c}; | |
bK=function(a){for(var b=YJ(a,!0),c=fK(a),d=1;d<b;d++)c=256*c+fK(a);return c}; | |
dK=function(a){var b=YJ(a,!0),c=0;4==b?c=a.l.getFloat32(a.g):8==b&&(c=a.l.getFloat64(a.g));a.g+=b;return c}; | |
cK=function(a){var b=YJ(a,!0);a.g+=b}; | |
$J=function(a){var b=a.g;a.g=0;var c=!1;XJ(a,440786851)&&(a.g=0,XJ(a,408125543)&&(c=!0));a.g=b;return c}; | |
gK=function(a){var b=a.g;a.g=0;var c=1E6;VJ(a,[408125543,357149030,2807729])&&(c=bK(a));a.g=b;return c}; | |
uka=function(a,b){var c=a.g;a.g=0;if(!hK(a)||!XJ(a,160))return a.g=c,window.NaN;YJ(a,!0);var d=a.g;if(!XJ(a,161))return a.g=c,window.NaN;YJ(a,!0);fK(a);var e=fK(a)<<8|fK(a);a.g=d;if(!XJ(a,155))return a.g=c,window.NaN;d=bK(a);a.g=c;return(e+d)*b/1E9}; | |
hK=function(a){if(!iK(a)||!XJ(a,524531317))return!1;YJ(a,!0);return!0}; | |
iK=function(a){if($J(a)){if(!XJ(a,408125543))return!1;YJ(a,!0)}return!0}; | |
VJ=function(a,b){for(var c=0;c<b.length;c++){if(!XJ(a,b[c]))return!1;c!=b.length-1&&YJ(a,!0)}return!0}; | |
XJ=function(a,b,c){c=void 0===c?!1:c;if(UJ(a))return!1;for(var d=a.g;YJ(a,!1)!=b;)if(cK(a),d=a.g,UJ(a))return!1;c&&(a.g=d);return!0}; | |
YJ=function(a,b){var c=fK(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+fK(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+fK(a),d*=128;return b?c-d:c}; | |
fK=function(a){return a.l.getUint8(a.g++)}; | |
eK=function(a,b){var c=new window.Uint8Array(a.l.buffer,a.l.byteOffset+a.g,b);a.g+=b;return c}; | |
jK=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.o=null;this.A=d;this.l=e}; | |
kK=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)}; | |
lK=function(a){if(a.g.slice)return new window.Uint8Array(a.g.slice(a.range.start,a.range.end+1));a=new window.Uint8Array(a.g,a.range.start,a.range.end+1);return new window.Uint8Array(a)}; | |
mK=function(a,b){b=Math.min(b,a.info.Xa);var c=new KJ(a.info.type,a.info.g,a.info.range,a.info.wa,a.info.startTime,a.info.duration,a.info.l,b,!1);c.o=!1;var d=IJ(a.range.start,b);c=new jK(c,a.g,d,a.A,a.l);var e=new KJ(a.info.type,a.info.g,a.info.range,a.info.wa,a.info.startTime,a.info.duration,a.info.l+b,a.info.Xa-b,a.info.C);e.o=a.info.o;d=new g.GJ(d.end+1,a.range.end);d=new jK(e,a.g,d,a.A,!1);return[c,d]}; | |
nK=function(a){if(g.VH(a.info.g.info)){var b=a.info.g.g;for(var c=window.NaN,d=window.NaN,e=0,f=new window.DataView(a.g);wJ(f,e);){var k=xJ(f,e);1936286840==k.type?d=CJ(k):1836476516==k.type?d=uJ(k):1952867444==k.type&&(0,window.isNaN)(c)&&(c=AJ(k));e=yJ(k.type)?e+8:e+k.size}!d&&b&&(d=vJ(b));b=c/d}else b=new TJ(kK(a)),c=a.l?b:new TJ(new window.DataView(a.info.g.g.buffer)),d=gK(c),c=b.g,b.g=0,hK(b)?XJ(b,231)?(d=bK(b)*d/1E9,b.g=c,b=d):(b.g=c,b=window.NaN):(b.g=c,b=window.NaN);return b||a.info.B}; | |
oK=function(a,b){if(g.VH(a.info.g.info)){for(var c=a.info.g.g,d=new window.DataView(a.g),e=window.NaN,f=window.NaN,k=0;wJ(d,k);){var l=xJ(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=CJ(l):1836476516==l.type&&(e=uJ(l)));if(1952867444==l.type){!e&&c&&(e=vJ(c));var m=AJ(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);zJ(l,m+f)}k=yJ(l.type)?k+8:k+l.size}return!0}c=new TJ(new window.DataView(a.g));e=a.l?c:new TJ(new window.DataView(a.info.g.g.buffer));d=b;f=gK(e);e=c.g;c.g=0;if(hK(c)&&XJ(c,231))if(k= | |
YJ(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.l.setUint8(c.g+f,d&255),d>>>=8;c.g=e;c=!0}else c=!1;return c}; | |
pK=function(a){if(g.VH(a.info.g.info)){var b=0;var c=new window.DataView(a.g);c=FJ(c,1936286840);c=g.ma(c);for(var d=c.next();!d.done;d=c.next())d=BJ(d.value),b+=d.Mm[0]/d.Pv;b=b||window.NaN;if(!(0<=b))a:{b=a.info.g.g;c=0;d=new window.DataView(a.g);for(var e,f=0;wJ(d,c);){var k=xJ(d,c);if(1836476516==k.type)e=uJ(k);else if(1836019558==k.type){!e&&b&&(e=vJ(b));if(!e){b=window.NaN;break a}var l=rJ(k.data,k.dataOffset,1953653094);f+=sJ(l,e)}c=yJ(k.type)?c+8:c+k.size}b=f||window.NaN}}else e=new TJ(new window.DataView(a.g)), | |
b=a.l?e:new TJ(new window.DataView(a.info.g.g.buffer)),b=uka(e,gK(b));return b||a.info.D}; | |
qK=function(a){var b;if(g.VH(a.info.g.info)){var c=kK(a);if(b=rJ(c,0,1701671783)){b.skip(4);c=iJ(b);iJ(b);gJ(b);gJ(b);gJ(b);gJ(b);var d=new window.Uint8Array(new window.ArrayBuffer(b.size-b.g));var e=new window.Uint8Array(b.data.buffer,b.offset+b.g,b.size-b.g);d.set(e);b.g=b.size;d=d.buffer;b=b.offset;d=String.fromCharCode.apply(String,new window.Uint8Array(d));c=(d=qJ(d))?new oJ(d,c,b):null}else c=null}else c=new TJ(kK(a)),b=c.g,c.g=0,d=null,VJ(c,[408125543,307544935,29555,26568,17543])&&(d=YJ(c, | |
!0),d=String.fromCharCode.apply(String,eK(c,d)),d=(d=qJ(d))?new oJ(d,null):null),c.g=b,c=d;a.o=c}; | |
g.rK=function(){this.iF=this.VE=!1;this.pn=2;this.B=20971520;this.C=8388608;this.o=window.NaN;this.ga=3145728;this.K=62914560;this.ha=10485760;this.co=this.ra=0;this.H=window.NaN;this.Lf=0;this.rg=this.bx=2;this.Da=3;this.Tg=!1;this.Bw=2;this.ya=25;this.M=2097152;this.yw=1048576;this.Z=!1;this.I=1800;this.vb=5;this.Wb=10;this.Fd=15;this.Gd=1;this.l=1.15;this.A=1.05;this.no=8;this.QD=!0;var a;!(a=qE("xboxone"))&&(a=zE())&&(a=/WebKit\/([0-9]+)/.exec(g.Ib),a=!(a&&602<=(0,window.parseInt)(a[1],10))); | |
this.cI=a||sE();this.Cd=!1;this.Jw=!0;this.Vz=this.D=!1;this.Dw=.8;this.Bd=!1;this.AF=!0;this.X=this.Vh=!1;this.mn=25;this.oI=this.qG=!1;this.na=6;this.kj=this.ea=!1;this.Kf=.5;this.qg=this.Hb=!1;this.Nb=0;this.Vg=this.AA=!1;this.zc=0;this.hn=!1;this.Zw=2;this.J=this.Wa=this.Uh=!1;this.T=.5;this.Sa=2;this.Na=this.Sw=0;this.Tw=1.5;this.Xw=this.Ed=.5;this.La=this.ln=!1;this.sb=15;this.tb=1;this.Fw=this.RD=this.ab=this.Rh=!1;this.nn=0;this.F=this.Nw=this.Wg=this.yF=this.jj=this.Dd=this.Ow=this.xF=this.uF= | |
this.fE=!1;this.hj=1;this.ij=0;this.Th=this.Pw=this.Y=this.g=!1;this.Nc=0;this.ax=this.kn=this.pg=this.gx=this.fa=this.kd=this.Uw=this.sa=this.Rw=this.Xb=this.Ga=this.Oc=this.Ug=!1;this.En=0;this.Hd=this.Sh=this.zA=this.ca=!1}; | |
vka=function(a,b){1080<b.video.g&&!a.VE&&(a.B=36700160,a.C=5242880,a.ga=10485760,a.M=4194304,a.VE=!0);2160<b.video.g&&!a.iF&&(a.B=104857600,a.H=13107200,a.iF=!0);a.yw=Math.max(65536,Math.min(a.M,5*b.g))}; | |
wka=function(){this.A=this.g=this.l=this.o=this.B=0}; | |
sK=function(a,b){a[b]||(a[b]=new wka);return a[b]}; | |
g.tK=function(a){this.A=a;this.B=this.l=this.C="";this.g={};this.o=""}; | |
vK=function(a){uK(a);return a.B}; | |
wK=function(a){uK(a);return Mb(a.g,function(a){return null!==a})}; | |
yK=function(a){uK(a);if("/videoplayback"!=a.l){var b=a.clone();b.set("playerfallback","1");return b}var c=a.Ta();b=new g.um(c);if(xK){var d=a.get("fvip");a=(0,window.decodeURIComponent)(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.l.replace(/^[^.]*/,""),g.wm(b,"r"+d+"---"+a[1]+c),b=new g.tK(b.toString()),b.set("fallback_count","1"),b}d=b.l.match("\\.a1\\.googlevideo\\.com$");b.l.match("\\.googlevideo\\.com$")?(g.wm(b,"redirector.googlevideo.com"),c=b.toString()):b.l.match("r[1-9].*\\.c\\.youtube\\.com$")? | |
(g.wm(b,"www.youtube.com"),c=b.toString()):c=gH(c);b=new g.tK(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b}; | |
uK=function(a){if(a.A){if(!cH(a.A))throw Error("Untrusted URL: "+a.A);var b=g.Em(a.A);a.C=b.A;a.B=b.l+(null!=b.B?":"+b.B:"");var c=b.o;if(0==c.indexOf("/videoplayback"))a.l="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest")){var d=c.indexOf("/",12),e=c.indexOf("/",d+1);0<d&&0<e?(a.l=c.substr(0,e),c=c.substr(e+1)):(a.l=c,c="")}else a.l=c,c="";d=a.g;a.g=zK(c);g.Ha(a.g,AK(b.Bz()));g.Ha(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.l+="/file/index.m3u8");a.A="";a.o=""}}; | |
xka=function(a){uK(a);var b=a.C+(a.C?"://":"//")+a.B+a.l;if(wK(a)){var c=[];g.Kb(a.g,function(a,b){null!==a&&c.push(b+"="+a)}); | |
b+="?"+c.join("&")}return b}; | |
zK=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&BK(c,a[b],a[b+1]);return c}; | |
AK=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?BK(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b}; | |
BK=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}; | |
CK=function(a){this.g=a;this.l={};this.o=""}; | |
yka=function(a,b){var c=b.indexOf("?");if(0<c){var d=AK(b.substr(c+1));g.Kb(d,function(a,b){this.set(b,a)},a); | |
b=b.substr(0,c)}c=zK(b);g.Kb(c,function(a,b){this.set(b,a)},a)}; | |
zka=function(a){var b=a.g.Ta(),c=[];g.Kb(a.l,function(a,b){c.push(b+"="+a)}); | |
if(!c.length)return b;var d=c.join("&");a=wK(a.g)?"&":"?";return b+a+d}; | |
DK=function(a,b){var c=new g.tK(b),d=c.get("req_id");d&&a.set("req_id",d);g.Kb(a.l,function(a,b){c.set(b,null)}); | |
return c}; | |
Aka=function(a){this.B=a.clone();this.o=a;this.l=null;this.A=this.g=0}; | |
FK=function(a,b,c){var d=sK(c,vK(a.o));if(d.l>=b.Zw||1<=d.g)if(a=EK(a),c=sK(c,vK(a)),c.l+c.g<=d.l+d.g)return!0;return!1}; | |
g.GK=function(a,b){var c=b?EK(a):a.o;return new CK(c)}; | |
EK=function(a){a.l||(a.l=yK(a.B));return a.l}; | |
HK=function(a){return 1<a.g?a.A+1E3*Math.pow(1.6,a.g-1)<g.eG():!0}; | |
g.IK=function(a,b,c){b.g===a.o&&(a.o=DK(b,c));b.g===a.l&&(a.l=DK(b,c))}; | |
JK=function(a,b){this.l=a[0].g.A;this.A=b||"";this.g=a;this.range=this.g[0].range&&0<this.g[0].Xa?ska(this.g):null;this.B=this.o=window.NaN;this.C=this.requestId=null}; | |
KK=function(a){return LJ(a.g[0])}; | |
LK=function(a){return 4==a.g[a.g.length-1].type}; | |
g.MK=function(a,b,c,d){/http[s]?:\/\//.test(a.A)?b=new CK(new g.tK(a.A)):(b=null===a.C?FK(a.l,b,c):a.C,b=g.GK(a.l,b),a.A&&yka(b,a.A));(d=d||a.range)&&b.set("range",d.toString());a.requestId&&b.set("req_id",a.requestId);(0,window.isNaN)(a.o)||b.set("headm",a.o.toString());(0,window.isNaN)(a.B)||b.set("mffa",a.B+"ms");return b}; | |
NK=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.D*a.g.info.g)}; | |
Bka=function(a,b,c){return a.range?new g.GJ(a.range.start+b,a.range.end):IJ(b,c)}; | |
OK=function(a,b,c){this.index=null;this.info=b;this.initRange=c||null;this.g=null;this.C=!1;this.B=null;this.F=0;this.A=new Aka(a);this.o=null;this.H=window.NaN}; | |
PK=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.o&&(g.VH(a.info)?a.o=qka(b):2==a.info.containerType&&(a.o=tka(b)))}; | |
QK=function(a,b,c,d,e,f){f=void 0===f?0:f;OK.call(this,a,b,d);this.index=e||new g.aJ;this.D=f;this.J=c;this.I=!0;if(this.l=!c)this.C=!0}; | |
RK=function(a,b,c){this.segments=[];this.l=a;this.A=void 0===b?0:b;this.g=void 0===c?!1:c;this.o=-1}; | |
TK=function(a,b,c){b=SK(a,b);return 0<=b&&(c||!a.segments[b].g)}; | |
UK=function(a){return a.segments.length?a.segments[a.segments.length-1]:null}; | |
SK=function(a,b){return g.eb(a.segments,{wa:b},function(a,b){return a.wa-b.wa})}; | |
VK=function(a,b,c){return new $I(b,c.startTime-(c.wa-b)*a.l,a.l,0,"sq/"+b,void 0,void 0,!0)}; | |
WK=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?14400:e;QK.call(this,a,b,"",void 0,void 0,c);this.index=new RK(c||0,e,d)}; | |
Cka=function(a,b,c,d,e){this.wa=a;this.Ze=b;this.durationSecs=c;this.g=d||window.NaN;this.l=e||window.NaN}; | |
XK=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""}; | |
YK=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}; | |
ZK=function(a){if(!a)return 0;var b=a.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return b?3600*(0,window.parseFloat)(b[2]||0)+60*(0,window.parseFloat)(b[4]||0)+(0,window.parseFloat)(b[6]||0):(0,window.parseFloat)(a)}; | |
$K=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a}; | |
aL=function(){this.g=[];this.l=null;this.B=0;this.A=[];this.o=!1;this.C=""}; | |
Dka=function(a){var b=a.A;a.A=[];return b}; | |
Eka=function(){this.A=[];this.g=null;this.l={};this.o={}}; | |
Ika=function(a,b,c){var d=[];b=Array.from(b.getElementsByTagName("SegmentTimeline"));b=g.ma(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=Fka(a):"AdaptationSet"==f.nodeName?k=Gka(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Hka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);Ya(d,Dka(k))}haa(d,function(a){return a.Ze}); | |
Ya(a.A,d)}; | |
Jka=function(a){a.g&&(a.g.g=[]);g.Kb(a.l,function(a){a.g=[]}); | |
g.Kb(a.o,function(a){a.g=[]})}; | |
Fka=function(a){a.g||(a.g=new aL);return a.g}; | |
Gka=function(a,b){a.l[b]||(a.l[b]=new aL);return a.l[b]}; | |
Hka=function(a,b){a.o[b]||(a.o[b]=new aL);return a.o[b]}; | |
bL=function(a,b,c,d,e){OK.call(this,a,b,d||void 0);this.index=new g.aJ;this.indexRange=e;this.l=c}; | |
cL=function(a,b,c){var d=a.index.us(b),e=a.index.Qd(b),f=a.index.getDuration(b),k;c?f=k=0:0<a.info.g&&(k=a.info.g*f);a=new KJ(3,a,null,b,e,f,0,k,b==a.index.Qb()&&0<k);return new JK([a],d)}; | |
Kka=function(a,b){if(!a.index.Kb()){for(var c=[],d=b.H,e=b.I.split(",").filter(function(a){return 0<a.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 $I(p,f,k,window.NaN,"sq/"+(p+1)));f+=k;l--}bJ(a.index,c)}}; | |
g.dL=function(){this.Ka=0;this.g=new window.Float64Array(128);this.l=new window.Float64Array(128);this.A=1;this.o=!1}; | |
eL=function(a){if(a.g.length<a.Ka+1){var b=2*a.g.length;b+=2;var c=a.g;a.g=new window.Float64Array(b+1);var d=a.l;a.l=new window.Float64Array(b+1);for(b=0;b<a.Ka+1;b++)a.g[b]=c[b],a.l[b]=d[b]}}; | |
g.fL=function(a,b,c,d,e,f){OK.call(this,a,b,c||void 0);this.indexRange=d;this.D=null;this.index=new g.dL;this.l=e;this.lastModified=f}; | |
gL=function(a,b,c,d){for(var e=[];b<=a.index.Qb();b++){var f=a.index,k=b;f=IJ(f.pp(k),k+1<f.Ka||f.o?f.g[k+1]-f.g[k]:-1);k=a.index.Qd(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 KJ(3,a,f,b,k,l,m,n,b==a.index.Qb()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new JK(e)}; | |
Lka=function(a,b){return hL(function(a,b){return g.IE(a,b,4,1E3)},a,b)}; | |
g.iL=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=String.fromCharCode.apply(String,new window.Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""}; | |
hL=function(a,b,c){return a(b,c).then(function(b){var d=g.iL(b);return d?hL(a,d,c):b})}; | |
kL=function(a){a=a.split("");jL.SQ(a,74);jL.ob(a,4);jL.ob(a,19);jL.DZ(a,2);jL.SQ(a,80);jL.ob(a,65);jL.ob(a,1);jL.SQ(a,6);return a.join("")}; | |
lL=function(a,b){a=void 0===a?"":a;b=void 0===b?null:b;g.FF.call(this);this.Z=this.duration=0;this.J=this.D=this.o=!1;this.K=g.eG();this.F=window.Infinity;this.g={};this.Y=a||"";this.C=this.T=0;this.B=null;this.ha=!!b&&b.g("html5_live_nonzero_first_segment_start_time");this.l=!1;this.M=[];this.A=null;this.ga=!b||!b.g("html5_manifest_without_credentials");this.H=0;this.X=!!b&&b.g("disable_html5_manifest_namespace_redux");this.ca="";this.I=window.NaN;this.fa=b&&b.g("disable_html5_duration_caching")? | |
window.Infinity:10}; | |
mL=function(a){return Mb(a.g,function(a){return!!a.info.Uc})}; | |
g.nL=function(a){return Mb(a.g,function(a){return g.ZH(a.info.mimeType)})}; | |
Mka=function(a){return g.Nb(a.g,function(a){return a.info.video?a.Fp():!0})}; | |
oL=function(a,b){a.g[b.info.id]=b}; | |
pL=function(a,b,c,d,e){c=void 0===c?0:c;d=void 0===d?!1:d;var f=Nka(a),k=e&&e.g("html5_manifestless_otf");return d?Oka(a,b,e):3==f&&k?Pka(a,b,c,e):Qka(a,b,c,e)}; | |
Qka=function(a,b,c,d){c=void 0===c?0:c;var e=new lL("",d);e.duration=c||0;(0,g.B)(a,function(a){var c=qL(a,b,e.duration),d=HJ(a.init),f=HJ(a.index),n=(0,window.parseInt)(a.clen,10),p=rL(a.url,a.sp,a.s);a=(0,window.parseInt)(a.lmt,10);p&&oL(e,new g.fL(p,c,d,f,n,a))}); | |
return e}; | |
Pka=function(a,b,c,d){c=void 0===c?0:c;var e=new lL("",d);e.duration=c||0;(0,g.B)(a,function(a){var c=qL(a,b,e.duration),d=rL(a.url,a.sp,a.s);if(g.VH(c)&&d)if(c.video&&3==c.video.A)oL(e,new bL(d,c,"sq/0",null,null));else{var f=HJ(a.init);a=HJ(a.index);oL(e,new bL(d,c,"",f,a))}}); | |
return e}; | |
Oka=function(a,b,c){var d=new lL("",c);(0,g.B)(a,function(a){var e=qL(a,b),k=rL(a.url,a.sp,a.s),l=(0,window.parseInt)(a.target_duration_sec,10);a=(0,window.parseInt)(a.max_dvr_duration_sec,10)||14400;k&&oL(d,new WK(k,e,l,c&&c.g("html5_manifestless_interpolate"),a))}); | |
d.o=!0;d.D=!0;d.l=!0;d.J=!0;return d}; | |
qL=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=Rka(a),k=null,l=null;YH(d)&&(k=(a.size||"640x360").split("x"),k=new NH(+k[0],+k[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled,+a.stream_type),d=Ska(d,k));var m=null,n=null;if(XH(d)){m=0;if("258"==e||"261"==e)m=6;m=new KH(void 0,m,+a.spatial_audio_type);a.name&&(n=new FH(a.name,a.audio_track_id,"1"==a.isDefault))}a.caption_display_name&&a.caption_vss_id&& | |
a.caption_language_code&&(l=new dka(a.caption_display_name,a.caption_vss_id,a.caption_language_code,a.caption_kind));e=(0,window.parseInt)(a.bitrate,10)/8;var p=(0,window.parseInt)(a.clen,10);c=c&&p?p/c:0;var r=null;b&&a.drm_families&&(r={},(0,g.B)(a.drm_families.split(","),function(a){r[a]=b[a]})); | |
return new SH(f,d,m,k,n,r,e,c,l)}; | |
Nka=function(a){return(0,g.Aj)(a,function(a){return 3==+a.stream_type})?3:0}; | |
Rka=function(a){var b=a.itag,c=a.xtags;c&&(b=a.itag+";"+c);return b}; | |
rL=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=new g.tK(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");c&&(b||(b="signature"),d.set(b,kL(c)));return d}; | |
uL=function(a,b){var c=XK(b,"id");c=c.replace(":",";");"captions"==c&&(c=XK(b,"lang"));var d=XK(b,"mimeType"),e=XK(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=(0,window.parseInt)(XK(b,"bandwidth"),10)/8;var f=(0,window.parseInt)(YK(b,"BaseURL").getAttribute(sL(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(YH(d)){k=(0,window.parseInt)(XK(b,"width"),10);var l=(0,window.parseInt)(XK(b,"height"),10),m=(0,window.parseInt)(XK(b,"frameRate"),10),n=Tka(XK(b,sL(a,"projectionType")));a:switch(XK(b, | |
sL(a,"stereoLayout"))){case "layout_left_right":var p=1;break a;case "layout_top_bottom":p=2;break a;default:p=0}XK(b,"video_level");k=new NH(k,l,m,n,p,void 0,void 0,void 0,void 0,void 0,void 0)}m=l=null;if(XH(d))if(l=(0,window.parseInt)(XK(b,"audioSamplingRate"),10),m=(0,window.parseInt)(XK(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=Uka(XK(b,sL(a,"spatialAudioType"))),l=new KH(l,m,n),m=XK(b,"lang")||"und",n=YK(b,"Role")){var r=XK(n,"value")||"";Tb(tL,r)?(n=m+"."+tL[r], | |
p="main"==r,m=XK(b,sL(a,"langName"))||m+" - "+r,m=new FH(m,n,p)):m=null}else m=null;p=null;if(n=YK(b,"ContentProtection"))if(g.tE())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 SH(c,d,l,k,m,p,e,f)}; | |
Tka=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}}; | |
Uka=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}}; | |
vL=function(a,b){b=void 0===b?"":b;a.C=1;a.K=g.eG();return g.jg(Lka(b||a.Y,{format:"RAW",method:"GET",withCredentials:a.ga}).then((0,g.z)(a.XJ,a)),(0,g.z)(a.aK,a))}; | |
wL=function(a,b){var c=new lL,d;for(d in a)c[d]=g.cc(a[d]);var e={},f=!1;g.Kb(a.g,function(a,c){if(a){var d=b(a,c);d?(e[c]=d,f=!0):e[c]=a}}); | |
c.g=e;return f?c:null}; | |
Vka=function(a,b){var c=a.getAttribute("media"),d=null,e=a.getAttribute("mediaRange");null!=e&&(0<=(0,window.parseInt)(e.split("-")[1],10)?d=HJ(e):c=c+"?range="+e);return new $I(b.wa,b.Ze,b.durationSecs,b.g,c,d,b.l)}; | |
xL=function(a){return a.o&&g.eG()-a.K>=a.F}; | |
yL=function(a){var b=a.F;(0,window.isFinite)(b)&&(xL(a)?a.DB():(b=Math.max(0,a.K+b-g.eG()),a.A||(a.A=new g.Wt(a.DB,b,a),g.N(a,a.A)),a.A.start(b)))}; | |
Wka=function(a){a=a.g;for(var b in a){var c=a[b].index;if(c&&c.Kb())return c.Qb()+1}return 0}; | |
zL=function(a){if(!(0,window.isNaN)(a.I))return a.I;var b=a.g,c;for(c in b){var d=b[c].index;if(d&&d.Kb()){b=0;for(c=d.kf();c<=d.Qb();c++)b+=d.getDuration(c);b/=d.Gj();b=.5*Math.round(b/.5);d.Gj()>a.fa&&(a.I=b);return b}if(a.J&&(d=b[c],d.D))return d.D}return window.NaN}; | |
AL=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d&&d.Kb()){var e=d.Cg(b),f=d.xu(e);if(f)return f+b-d.Qd(e)}}return window.NaN}; | |
Xka=function(a,b){g.Kb(a.g,function(a){g.Kb(b,function(b,c){var d=a.A;d.o.set(c,b);d.B.set(c,b);d.l&&d.l.set(c,b)})})}; | |
Yka=function(a,b,c){var d=!1,e;for(e in a.g){var f=g.ZH(a.g[e].info.mimeType)||!!a.g[e].info.video;c==f&&(f=a.g[e].index,TK(f,b.wa)||(f.BB(b),d=!0))}return d}; | |
BL=function(a,b,c){for(var d in a.g){var e=g.ZH(a.g[d].info.mimeType)||!!a.g[d].info.video;if(c==e){e=a.g[d].index;var f=SK(e,b);0<=f&&e.segments.splice(f,1)}}}; | |
sL=function(a,b){return a.X?"yt:"+b:a.ca+":"+b}; | |
Ska=function(a,b){null===CL&&(CL=window.MediaSource&&window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16.09"')&&!window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99.99"'));if(!CL&&!DL||'video/webm; codecs="vp9"'!=a&&'video/webm; codecs="vp9.2"'!=a)return a;var c="00",d="08",e="01",f="01",k="01";'video/webm; codecs="vp9.2"'==a&&(c="02",d="10","bt2020"==b.primaries&&(k=e="09"),"smpte2084"==b.l&&(f="16"),"arib-std-b67"== | |
b.l&&(f="18"));return'video/webm; codecs="'+["vp09",c,"51",d,"01",e,f,k].join(".")+'"'}; | |
Zka=function(a){return g.La(Object.values(a.g),function(a){return a.info.Uc&&a.info.video?480<a.info.video.g&&"H"==a.info.l:!1})}; | |
EL=function(a,b,c,d){this.flavor=a;this.g=b;this.A=c;this.o={};this.l=null;this.fairPlayCert="";this.Tm=null;this.B=!!d&&d.g("edge_nonprefixed_eme")}; | |
GL=function(a){return a.B?!1:!a.l&&!!FL()&&"com.microsoft.playready"==a.g}; | |
HL=function(a){return"com.microsoft.playready"==a.g}; | |
JL=function(a){return IL&&"com.microsoft.playready"==a.g&&!!window.navigator.requestMediaKeySystemAccess}; | |
KL=function(a){return!a.l&&!!FL()&&"com.apple.fps.1_0"==a.g}; | |
FL=function(){var a=window.MSMediaKeys;zE()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null}; | |
ML=function(a){return window.navigator.requestMediaKeySystemAccess?g.zI?g.Ln("45"):IL||g.xd?a.g("edge_nonprefixed_eme"):g.LL?g.Ln("47"):!a.g("html5_disable_nonprefixed_eme_for_other"):!1}; | |
NL=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.l=c||null;if(this.g){var d={};(0,g.B)(this.g,(0,g.z)(function(a){if(a.Gb&&!d[a.id]){var b=new JH(a.id,a.Gb);d[a.id]=b;this.audioTracks.push(b)}},this))}}; | |
OL=function(a){if(!a.g)return!1;a=g.ma(a.videoInfos);for(var b=a.next();!b.done;b=a.next())if(32<b.value.video.fps)return!0;return!1}; | |
PL=function(a,b){var c={},d=b.Pe()||b.rf()||b.sf();uE();for(var e in b.g){var f=b.g[e],k=RH(f.info);("304"!=k&&"266"!=k||b.D||d)&&mka(a,f.info)&&(c[f.info.l]=c[f.info.l]||[],c[f.info.l].push(f.info))}return c}; | |
$ka=function(a,b,c){var d={},e;g.Kb(b,function(b,k){var f=b.filter(function(b){if(!b.Uc)return!0;if(!c||!b.Uc[c.flavor]||!c.o[b.mimeType])return!1;if("261"==RH(b)&&!EI(a,LI))return e||(e=oI()),!1;(b="("!=b.l&&"(h"!=b.l)||(b=EI(a,KI)||a.C);return b?!0:!1}); | |
f.length&&(d[k]=f)}); | |
return d}; | |
UL=function(a,b,c,d,e,f,k){function l(a){return!!m[a]} | |
var m=PL(a,b);mL(b)&&(m=$ka(a,m,c));var n=ala;f?n=bla:qE("windows nt 5.1")&&!g.LL?n=QL:(b.rf()||b.sf()||b.Pe())&&RL&&6>=CI&&(n=QL);c=dla;d&&(f||(n=QL),c=ela);if(wE()||xE()||EI(a,LI))c=fla;(b.rf()||b.sf()||b.Pe())&&e&&(c=gla.concat(c));k&&(c=g.Xa(c),c.unshift("ah"));d=g.La(n,l);e=g.La(c,l);if(!d||!e)return KE();"9"==d&&m.h&&(f=function(a,b){return Math.max(a,b.video.height)},k=Ij(m["9"],f,0),Ij(m.h,f,0)>1.5*k&&(d="h"),b.D&&a.l.g("html5_vp9_live_blacklist_edge")&&IL&&(d="h")); | |
b=m[d];f=m[e];b=SL(a,b);TL(b,f);return LE(new NL(b,f,hla(a,m,d,e)))}; | |
hla=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=SL(a,e),TL(e,f),new NL(e,f)):null}; | |
TL=function(a,b){g.gb(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.g-a.g}); | |
g.gb(b,function(a,b){return b.g-a.g})}; | |
SL=function(a,b){var c=(0,g.Aj)(b,function(a){return 32<a.video.fps}); | |
c&&(b=a.B||EI(a,II)?(0,g.Kd)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.Kd)(b,function(a){return!(32<a.video.fps)})); | |
c&&wE()&&(b=(0,g.Kd)(b,function(a){return"299"!=RH(a)})); | |
return b}; | |
VL=function(a,b,c){g.M.call(this);this.l=[];this.g={};this.A={};this.B=null;this.o=b;this.H=c;this.C=!1;ila(this,a)}; | |
ila=function(a,b){for(var c in b)for(var d=g.ma(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.Uc)return;for(var f in e.Uc){if(!WL[f])return;for(var k=g.ma(WL[f]),l=k.next();!l.done;l=k.next())l=l.value,a.g[l]=a.g[l]||new EL(f,l,e.Uc[f],a.o),a.A[f]=a.A[f]||{},a.A[f][e.mimeType]=!0}}vE()?(a.l=["com.youtube.fairplay"],a.g["com.youtube.fairplay"]=new EL("fairplay","com.youtube.fairplay","",a.o),a.A.fairplay={'audio/mp4; codecs="avc1.4d4015"':!0,'video/mp4; codecs="mp4a.40.2"':!0}):a.l=jla.filter(function(b){return a.g[b]? | |
!(a.H&&"widevine"==a.g[b].flavor):!1})}; | |
YL=function(a){if(!a.ka())if(0==a.l.length)a.B(null);else{var b=a.l[0],c=a.g[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};HL(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.A[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;a.o.g("html5_widevine_robustness_strings")&&"widevine"==c.flavor&&!a.C?f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(f=a.o.g("html5_widevine_hw_secure_all")?"HW_SECURE_ALL":"HW_DECODE_ALL",k.push({contentType:e, | |
robustness:f}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"})):k.push({contentType:e})}window.navigator.requestMediaKeySystemAccess(b,[d]).then(QD((0,g.z)(a.F,a,c)),QD((0,g.z)(a.D,a)))}}; | |
kla=function(a,b){function c(a){b.o[a.contentType]=!0} | |
if(HL(b)){var d=oI(),e;for(e in a.A[b.flavor])b.o[e]=!!d.canPlayType(e)}else d=b.l.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)}; | |
mla=function(a){if(FL()&&g.ZL)a.B(new EL("fairplay","com.apple.fps.1_0","",a.o));else{var b=lla(),c=g.La(a.l,function(c){var d=a.g[c],f=!1,k=!1,l;for(l in a.A[d.flavor])b(l,c)&&(d.o[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k}); | |
c=c?a.g[c]:null;a.l=[];a.B(c)}}; | |
lla=function(){var a=FL();if(a)return function(b,d){return a.isTypeSupported(d,b)}; | |
var b=oI();return b&&(b.addKey||b.webkitAddKey)?(0,g.z)(b.canPlayType,b):function(){return!1}}; | |
nla=function(){this.A=2048;this.g=17;this.o=13E4;this.D=.5;this.l=!1;this.B=0;this.C=!1}; | |
ola=function(){this.l=0;this.C=this.bandwidthEstimate=this.B=this.o=this.A=window.NaN;this.g=""}; | |
$L=function(a){this.B=Math.exp(Math.log(.5)/a);this.o=this.A=0}; | |
bM=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.J=b;this.o=Math.round(a*this.J);this.B=Array(this.o);for(a=0;a<this.o;a++)this.B[a]=window.Infinity;this.I=aM(this);this.A=0;this.C=!1;this.F=!0;this.D=c;this.H=d}; | |
aM=function(a){for(var b=Array(a.o),c=0;c<a.o;c++)b[c]=c;return b}; | |
cM=function(a,b){if(!a.C&&0==a.A)return 0;a.F&&(g.gb(a.I,function(b,d){return a.B[b]-a.B[d]}),a.F=!1); | |
return a.B[a.I[Math.round(b*((a.C?a.o:a.A)-1))]]||0}; | |
pla=function(a){this.policy=a;this.H=this.I=0;this.C=-1;this.B=this.o=g.eG();this.F=new bM(4,1,.6,.4);this.A=new bM(10,1,.5,.4);this.g=a.l?new $L(a.g):new bM(a.g,20,.5,.4);this.D=new bM(5,1,.25);this.l=new bM(30,1,.5);a=g.NG("yt-player-bandwidth")||{};this.g.g(this.policy.D,0<a.byterate?a.byterate:this.policy.o);0<a.delay&&this.F.g(1,Math.min(+a.delay,2));0<a.stall&&this.A.g(1,+a.stall);0<a.init&&(this.B=Math.min(a.init,this.B));this.C=g.eG()}; | |
eM=function(a,b,c){b=Math.max(b,a.policy.A);a.A.g(1,c/b);dM(a)}; | |
fM=function(a){a=a.F.l();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)}; | |
gM=function(a,b,c){(0,window.isNaN)(c)||(a.H+=c);(0,window.isNaN)(b)||(a.I+=b)}; | |
hM=function(a){a=a.g.l();return 0<a?a:1}; | |
g.iM=function(a){var b=hM(a);b=1/((a.A.l()||0)+1/b);a=a.D.l();return Math.max(b,0<a?a:1)}; | |
jM=function(a){var b={};b.delay=fM(a);b.stall=a.A.l()||0;b.byterate=hM(a);b.init=a.B;return b}; | |
dM=function(a){-1<a.C&&3E4<g.eG()-a.C&&(SG(jM(a)),a.C=g.eG())}; | |
kM=function(a){return 4E3<=g.eG()-a.o}; | |
lM=function(){g.FF.call(this);this.Ma={}}; | |
mM=function(a,b){return void 0==b?a:"1"==b?!0:!1}; | |
nM=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a}; | |
oM=function(a,b){return void 0==b?a:Number(b)}; | |
pM=function(a,b){return void 0==b?a:b.toString()}; | |
qM=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(qla);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN}; | |
rM=function(a){return a.docid||a.video_id||a.videoId||a.id}; | |
tM=function(){this.g=g.OD("ALT_PREF_COOKIE_NAME","PREF");var a=uG.get(""+this.g,void 0);if(a){a=(0,window.decodeURIComponent)(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(sM[d]=c.toString())}}}; | |
uM=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);}; | |
vM=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);}; | |
LM=function(a){g.M.call(this);a=g.bc(a);this.jj=!1;this.J=this.ga="";this.Xb={};this.Th=pM("",a.csp_nonce);this.experiments=new aI(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(e){b=""}this.Wa=b;this.qg=(b=window.location.ancestorOrigins)?Array.from(b):[];this.loaderUrl=(this.g=mM(!1,a.is_embed))?pM("",a.loaderUrl):this.Wa;this.zb=rla.test(this.loaderUrl);b=this.loaderUrl;var c=void 0===c?!1:c;this.kj=YG(sla.test(b),b,c,"Trusted Ad Domain URL"); | |
this.ra=mM(!1,a.privembed);this.H=(this.na=mM(!1,a.forcenewui))||this.experiments.g("embed_new_info_bar")&&this.g;this.protocol=0==this.Wa.indexOf("http:")?"http":"https";this.baseYtUrl=ZG(a.BASE_YT_URL||"")||ZG(this.Wa)||this.protocol+"://www.youtube.com/";c=a.el;b="detailpage";"adunit"==c?b=this.g?"embedded":"detailpage":"embedded"==c||this.zb?b=nM(b,c,tla):c&&(b="embedded");this.T=b;pG();c=null;b=a.ps;var d=g.Pa(wM,b);!b||d&&!this.zb||(c=b);this.playerStyle=c;this.D=(this.qc=g.Pa(wM,this.playerStyle))&& | |
"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.ij=!this.D;c={};this.o=(c.c=a.c||"web",c.cver=a.cver||"html5",c.cplayer="UNIPLAYER",c);this.F=mM(!1,a.disableplaybackui);this.ha=!this.F&&!(!oI().defaultPlaybackRate||g.cf&&!qE("chrome")||xM||yM||qE("android")||qE("silk"));this.l=mM("blazer"==this.playerStyle,a.is_html5_mobile_device);this.l?c=!0:(c=(0,window.parseInt)((0,g.F)()/1E3,10),b=tM.getInstance(),c=this.experiments.g("block_desktop_background_playback_with_mobile_cookie")&&b&&c> | |
(0,window.parseInt)(b.get("dhmu",c.toString()),10));this.hj=c;this.Z="3"==this.A||this.l||mM(!1,a.use_media_volume);this.I=pI();this.ln=zM;this.La=g.AM(this);this.Oc=this.na||!this.qc&&mM(!BM(this)&&!CM(this),a.showinfo);this.rg=mM(!1,a.playsinline);c=this.l&&RL&&2.3>=CI;b=this.l;b=DM(this)||!c&&mM(b,a.use_native_controls)?"3":"1";this.A="0"!=a.controls?b:"0";this.useTabletControls=this.l;this.color=nM("red",a.color,ula);this.hn="3"==this.A||mM(!1,a.modestbranding)&&"red"==this.color;this.ca=this.experiments.g("player_preview_el_killswitch")? | |
0==this.loaderUrl.indexOf(this.baseYtUrl):!this.g;this.Ug=(b=!this.ca&&!CM(this)&&!this.D&&!this.qc&&!BM(this))&&!this.hn&&"1"==this.A;this.Bd=g.EM(this)&&b&&!this.Oc&&!this.Ug;this.no=this.kn=c;this.Ed=!yM||g.qc(601)?!0:!1;this.Lf=this.g||!1;this.sa=CM(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=pM("",a.widget_referrer);this.sb=(!this.zb||mM(!0,a.enablecastapi))&&"1"==this.A&&!this.l&&(CM(this)||g.EM(this)||g.FM(this));this.Cd=!this.l&&!AE()&&!qE("nintendo 3ds")|| | |
mM(!1,a.autoplayoverride);this.Dd=mM(!1,a.mutedautoplay)&&!1;c=(CM(this)||BM(this))&&"blazer"==this.playerStyle;this.vb=!mM(!0,a.fs);this.fa=!this.vb&&(c||dF());this.Sh=this.experiments.g("uniplayer_block_pip")&&sE()&&g.Ln(58)&&!(g.Un&&qE("version/"));this.kd=this.na||!this.qc&&mM(!0,a.rel);this.nn=mM(!1,a.co_rel);this.Ga=g.FM(this);this.Nc="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":c="bl";break;case "gmail":c="gm";break;case "books":c="gb";break;case "docs":c="gd";break;case "google-live":c= | |
"gl";break;case "play":c="gp";break;case "chat":c="hc";break;case "picasaweb":c="pw";break;default:c="yt"}this.ea=c;this.Sc=pM("",a.authuser);this.pn=(this.g&&!this.ra||!!this.Sc)&&mM(!this.D,this.zb?a.showwatchlater:void 0);this.Gd=mM(!1,a.disablekb);this.Kf=pM("",a.ecver);this.loop=mM(!1,a.loop);this.pageId=pM("",a.pageid);this.mn=mM(!0,a.canplaylive);this.Uh=mM(this.qc,a.ss);(c=a.video_container_override)?(b=c.split("x"),2!=b.length?c=null:(c=(0,window.parseInt)(b[0],10),b=(0,window.parseInt)(b[1], | |
10),c=(0,window.isNaN)(c)||(0,window.isNaN)(b)||0>=c*b?null:new g.I(c,b))):c=null;this.Vg=c;this.mute=mM(!1,a.mute);this.useMiniplayerUi=mM(!1,a.use_miniplayer_ui);this.storeUserVolume=!this.mute&&mM("0"!=this.A,a.store_user_volume);this.Xg="3"==this.A?3:nM(void 0,a.iv_load_policy,GM);this.Zg=pM("",a.cc_lang_pref);c=nM(2,a.cc_load_policy,GM);"3"==this.A&&2==c&&(c=3);this.ah=c;this.ya=pM("en_US",a.hl);this.region=pM("US",a.cr);this.hostLanguage=pM("en",a.host_language);this.Rh=!this.ra&&Math.random()< | |
this.experiments.l("web_player_api_logging_fraction");this.X=!this.ra&&!this.experiments.g("web_player_interaction_logging_killswitch");this.tb=new window.Set;this.deviceHasDisplay=mM(!0,a.deviceHasDisplay);this.Hg=oM(this.Hg,a.ismb);c=a;this.experiments.o("html5_qoe_intercept")?c=this.experiments.o("html5_qoe_intercept"):this.ij?(c=c.vss_host||"s.youtube.com",this.experiments.g("www_for_videostats")&&"s.youtube.com"==c&&(c=HM(this.baseYtUrl)||"www.youtube.com")):c="video.google.com";this.Wg=c;this.Rg(a); | |
this.Xb=a;this.C=new lM;g.N(this,this.C);this.B=this.l&&!this.experiments.g("enable_svg_mode_on_embed_mobile");this.pg={innertubeApiKey:pM("",a.innertube_api_key),innertubeApiVersion:pM("",a.innertube_api_version),Ct:this.o.c,innertubeContextClientVersion:pM("",a.innertube_context_client_version),Et:this.hostLanguage,Dt:this.region,Mo:""};this.Tg=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.M=new ika(this.experiments,this.experiments.g("html5_force_hfr_support")?!0:g.IM(this)||wE()|| | |
xE()||JM(this),g.zI&&56<=g.pE()||JM(this));c=new nla;g.KM(this)&&(c.l=!0,c.D=.1);this.experiments.g("html5_ewma_bandwidth_estimator")&&(c.l=!0);this.Hg&&(c.o=this.Hg/8);c.g=this.experiments.l("html5_bandwidth_window_size")||c.g;c.C=this.experiments.g("html5_dont_predict_end_time_in_past");this.schedule=new pla(c);this.enableSafetyMode=mM(!1,a.enable_safety_mode);this.Fd=mM(this.F?!1:CM(this)&&"blazer"!=this.playerStyle,a.autonav);this.Da=mM(!1,a.send_visitor_id_header)||this.experiments.A;this.Yg= | |
!1;this.zc=WI;this.Wb=g.eG();this.Y=0;this.oe=!1;this.En=mM(!1,a.transparent_background);this.disableNativeContextMenu=mM(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.Vh=g.IM(this)&&this.experiments.g("enable_skip_intro_button");this.Hd=pM("",a.embed_config);this.co=mM(!0,a.use_fast_sizing_on_watch_default);this.Nb=!1}; | |
MM=function(a,b){return!a.qc&&sE()&&g.Ln(55)&&!b}; | |
NM=function(a){a=HM(a.baseYtUrl);return"www.youtube-nocookie.com"==a?"www.youtube.com":a}; | |
OM=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":NM(a)}; | |
PM=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")}; | |
vla=function(){return g.rG()}; | |
QM=function(){return!0}; | |
SM=function(a){return CM(a)&&"gaming"!=a.playerStyle&&!g.RM(a)}; | |
DM=function(a){return yM&&!a.rg||AE()||qE("nintendo 3ds")?!0:!1}; | |
g.KM=function(a){if(!a.experiments.g("html5_tv_interface_check_killswitch")&&/^TVHTML5/.test(a.o.c))return!0;var b=g.zI&&qE("crkey")&&a.experiments.g("html5_tv_chromecast_check_killswitch");a=a.o.cplatform;return b||"TV"==a}; | |
JM=function(a){return"CHROMECAST ULTRA/STEAK"==a.o.cmodel||"CHROMECAST/STEAK"==a.o.cmodel}; | |
g.TM=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1}; | |
g.IM=function(a){return"web"==a.o.c.toLowerCase().substr(0,3)}; | |
g.RM=function(a){return"WEB_UNPLUGGED"==a.o.c}; | |
g.AM=function(a){return g.RM(a)||"TV_UNPLUGGED_CAST"==a.o.c||"TVHTML5_UNPLUGGED"==a.o.c}; | |
g.UM=function(a){return a.deviceHasDisplay&&g.zI&&!BI&&"3"!==a.A?g.Un?a.g&&g.qc(51):!0:!1}; | |
g.VM=function(a){return a.deviceHasDisplay&&g.LL&&!BI&&"3"!==a.A?g.Un?a.g&&g.qc(48):g.qc(38):!1}; | |
g.WM=function(a){return g.UM(a)||g.VM(a)||(a.deviceHasDisplay&&g.cf&&!BI&&"3"!==a.A?g.Un?a.g&&g.qc(37):g.qc(27):!1)||a.deviceHasDisplay&&g.lH&&!BE()&&g.qc(11)||a.deviceHasDisplay&&g.ZL&&g.qc("604.4")&&a.experiments.g("safari_enable_spherical")}; | |
wla=function(a){return a.experiments.g("disable_html5_ambisonic_audio")||!(g.WM(a)||a.experiments.g("html5_enable_spherical")||a.experiments.g("html5_enable_spherical3d"))||g.EM(a)&&RL||g.LL&&(!g.qc(47)||!g.qc(52)&&g.qc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1}; | |
CM=function(a){return"detailpage"==a.T}; | |
g.EM=function(a){return"embedded"==a.T}; | |
g.XM=function(a){return"leanback"==a.T}; | |
BM=function(a){return"adunit"==a.T||"gvn"==a.playerStyle}; | |
g.FM=function(a){return"profilepage"==a.T}; | |
xla=function(a){if(!a.K)return"";if(a.experiments.g("web_player_fife_url_killswitch"))return a.K;var b=a.K.split("/");return 8==b.length?(b.splice(7,0,"s20-c"),b.join("/")):9==b.length?(b[7]+="-s20-c",b.join("/")):a.K}; | |
HM=function(a){var b=g.Gg(a);return(a=g.Hg(a))?b+":"+a:b}; | |
g.YM=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}}; | |
ZM=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""}; | |
yla=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.g=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.l=m||"";this.Gb=void 0===n?null:n}; | |
$M=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 FH(e.name,e.audio_track_id,!!e.is_default));e=new yla(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}; | |
zla=function(a,b,c,d){this.o=a;this.g=b;this.B=0;this.l="";this.A=c;this.C=d}; | |
bN=function(a,b,c,d){b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(c.bitrate+d.bitrate)+","+('CODECS="'+c.g+","+d.g+'",')+("RESOLUTION="+c.width+"x"+c.height+",")+('AUDIO="'+d.itag.toString()+'",')+"CLOSED-CAPTIONS=NONE");b.push(aN(a,c.url))}; | |
aN=function(a,b){return a.A?g.Qg(b,{cpn:a.A}):b}; | |
Ala=function(a,b){var c="#EXT-X-MEDIA:TYPE=AUDIO,",d="YES",e="audio";if(b.Gb){e=b.Gb;var f=e.getId().split(".")[0];f&&(c+='LANGUAGE="'+f+'",');a.l||e.isDefault||(d="NO");e=e.name}f=aN(a,b.url);return c=c+('NAME="'+e+'",'+("DEFAULT="+d+",AUTOSELECT=YES,"))+('GROUP-ID="'+b.itag.toString()+'",'+('URI="'+f+'"'))}; | |
Bla=function(a){for(var b=[],c=[],d=0,e=a.g.length;d<e;++d){var f=a.g[d];f.bitrate<=a.B?b.push(f):c.push(f)}b.sort(function(a,b){return b.bitrate-a.bitrate}); | |
c.sort(function(a,b){return a.bitrate-b.bitrate}); | |
a.g=b.concat(c)}; | |
cN=function(a,b){this.xg=a;this.o=b;this.l=null}; | |
Cla=function(a,b,c,d,e){if(!(BI||zE()||vE()))return KE();c=$M(c);if(!c)return KE();var f={},k=(f.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",f),l;f=[];var m=[],n=[],p=a.experiments.l("html5_hls_min_video_height"),r=a.experiments.g("html5_hls_pair_all_audio"),v;for(v in c)if(!a.experiments.g("html5_disable_drm_hfr_1080")||"383"!=v&&"373"!=v){var D=g.ma(c[v]);for(l=D.next();!l.done;l=D.next()){var H=l.value;if(H.width){if(!(H.height<p)){var L=c[H.audioItag];if(L&&(f.push(H),l="fairplay"== | |
H.l?k:null,n.push(dN(L,[H],e,H.itag,H.width,H.height,H.fps,r,void 0,void 0,l)),!T||H.width*H.height*H.fps>T.width*T.height*T.fps))var T=H}}else m.push(H)}}l=n.reduce(function(a,b){return!!b.xg.Uc&&a},!0)?k:null; | |
d=Math.max(d,a.experiments.l("html5_hls_initial_bitrate"));!a.experiments.g("html5_hls_optimal_resolution_killswitch")&&T?n.push(dN(m,f,e,"93",T.width,T.height,T.fps,r,"auto",d,l)):n.push(dN(m,f,e,"93",0,0,0,r,"auto",d,l));return RI(n,MM(a,b))}; | |
dN=function(a,b,c,d,e,f,k,l,m,n,p){var r=new KH;e=new NH(e,f,k,null,void 0,m);d=new SH(d,"application/x-mpegURL",r,e,void 0,p);a=new zla(a,b,c,l);a.B=n?n:1369843;return new cN(d,a)}; | |
eN=function(a,b){this.xg=a;this.l=b}; | |
fN=function(a,b,c,d){var e=[];c=g.ma(c);for(var f=c.next();!f.done;f=c.next()){var k=f.value;if(k.url){f=new g.tK(k.url);k.s&&f.set(k.sp||"signature",kL(k.s));for(var l in d)f.set(l,d[l]);k=$H(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new eN(k,f))}}return RI(e,MM(a,b))}; | |
gN=function(a,b){this.xg=a;this.l=b}; | |
Dla=function(a){var b=[];(0,g.B)(a,function(a){if(a.url){var c=$H(a.type,"medium","0");b.push(new gN(c,a.url))}}); | |
return b}; | |
hN=function(a){if(a){var b=[],c;for(c in a)Ela.has(c)||b.push(c);b.length&&(b.sort(),g.PD(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}}; | |
g.iN=function(a,b,c,d){this.Wc=new window.Set;this.H=a;this.I=b;a=c.split("#");this.C=(0,window.parseInt)(a[0],10);this.B=(0,window.parseInt)(a[1],10);this.o=(0,window.parseInt)(a[2],10);this.columns=(0,window.parseInt)(a[3],10);this.rows=(0,window.parseInt)(a[4],10);this.g=(0,window.parseInt)(a[5],10);this.A=a[6];this.D=a[7];this.J=d}; | |
g.jN=function(a,b){b>=a.up()&&a.qk();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.qk()+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.Ta(c),column:f,columns:l,row:e,rows:d,Ru:a.C*l,Qu:a.B*d}}; | |
kN=function(a){g.FF.call(this);this.A=new pD;this.l=null;this.F=new window.Set;this.D=a||""}; | |
mN=function(a,b,c){for(c=lN(a,c);0<=c;){var d=a.g[c];if(d.Kb(Math.floor(b/(d.columns*d.rows)))&&(d=g.jN(d,b)))return d;c--}return g.jN(a.g[0],b)}; | |
oN=function(a,b,c){c=lN(a,c);for(var d,e;0<=c;c--)if(d=a.g[c],e=Math.floor(b/(d.columns*d.rows)),!d.Kb(e)){d=a;var f=c,k=f+"-"+e;d.F.has(k)||(d.F.add(k),oD(d.A,f,{HA:f,kC:e}))}nN(a)}; | |
nN=function(a){if(!a.l&&!a.A.isEmpty()){var b=a.A.remove(),c=new window.Image;a.D&&(c.crossOrigin=a.D);c.src=a.g[b.HA].Ta(b.kC);c.onload=(0,g.z)(a.H,a,b.HA,b.kC);a.l=c}}; | |
pN=function(a,b,c,d){d=void 0===d?!1:d;kN.call(this,c);this.isLive=d;this.g=this.o(a,b);this.B=new window.Map;1<this.g.length&&this.g[0].isDefault()&&this.g.splice(0,1)}; | |
lN=function(a,b){var c=a.B.get(b);if(c)return c;c=a.g.length;for(var d=0;d<c;d++)if(a.g[d].Cb()>=b)return a.B.set(b,d),d;a.B.set(b,c-1);return c-1}; | |
qN=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.iN.call(this,a,b,c,0);this.l=null;this.F=d?3:0}; | |
rN=function(a,b,c){pN.call(this,a,0,void 0,b);for(a=0;a<this.g.length;a++)this.g[a].FE(c)}; | |
Fla=function(a){if(!window.navigator.mediaCapabilities)return LE(a);var b=(0,g.G)(a.videoInfos,function(a){return window.navigator.mediaCapabilities.decodingInfo({type:"media-source",video:a.video?{contentType:a.mimeType,width:a.video.width||640,height:a.video.height||360,bitrate:8*a.g||1E6,framerate:a.video.fps||30}:null})}); | |
return g.fg(b).then(function(b){for(var c=0;c<b.length;c++)a.videoInfos[c].o=b[c].smooth;return a},function(){return a})}; | |
tN=function(a,b){var c={},d;for(d in sN){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.dH(e)&&(c[sN[d]]=e)}return c}; | |
Hla=function(a){var b={};if(!a||!a.thumbnails)return b;var c=null;a=g.ma(a.thumbnails);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=uN(d);if(g.dH(e)){var f=Gla[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=uN(c));return b}; | |
uN=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a}; | |
g.vN=function(a,b){this.version=a;this.args=b}; | |
g.wN=function(a,b){this.topic=a;this.g=b}; | |
g.yN=function(a,b){var c=xN();c&&c.publish.call(c,a.toString(),a,b)}; | |
g.CN=function(a,b,c){var d=xN();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.x("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(zN[e])try{if(k&&a instanceof g.wN&&a!=d)try{var f=a.g,l=k;if(!l.args||!l.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!f.Qh){var p=new f;f.Qh=p.version}var r=f.Qh}catch(v){}if(!r||l.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f, | |
g.Xa(l.args))}catch(v){throw v.message="yt.pubsub2.Data.deserialize(): "+v.message,v;}}catch(v){throw v.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+v.message,v;}b.call(c||window,k)}catch(v){g.PD(v)}},AN[a.toString()]?g.kG()?g.iG(f):g.UD(f,0):f())}); | |
zN[e]=!0;BN[a.toString()]||(BN[a.toString()]=[]);BN[a.toString()].push(e);return e}; | |
FN=function(a,b){var c=g.CN(DN,function(d){a.apply(b,arguments);g.EN(c)},b); | |
return c}; | |
g.EN=function(a){var b=xN();b&&(g.ua(a)&&(a=[a]),(0,g.B)(a,function(a){b.unsubscribeByKey(a);delete zN[a]}))}; | |
xN=function(){return g.x("ytPubsub2Pubsub2Instance")}; | |
GN=function(){var a=g.OD("TIMING_TICK_EXPIRATION");a||(a={},g.ND("TIMING_TICK_EXPIRATION",a));return a}; | |
Ila=function(){var a=GN(),b;for(b in a)g.lG(a[b]);g.ND("TIMING_TICK_EXPIRATION",{})}; | |
HN=function(a,b){g.vN.call(this,1,arguments)}; | |
IN=function(a,b){g.vN.call(this,1,arguments);this.g=a}; | |
LN=function(a){JN(a);Jla();KN(!1,a);a||(g.OD("TIMING_ACTION")&&g.ND("PREVIOUS_ACTION",g.OD("TIMING_ACTION")),g.ND("TIMING_ACTION",""))}; | |
SN=function(a,b,c,d){d=d?d:a;MN("c",d);LN(d);g.ND(d+"TIMING_AFT_KEYS",b);g.ND(d+"TIMING_ACTION",a);NN("yt_sts","c",d);ON("_start",c,d);PN(d)&&(a={},a.actionType=Kla[g.OD((d||"")+"TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN",b=QN(d),zG(a,b));g.va("ytglobal.timing"+(d||"")+"ready_",!0,void 0);RN(d)}; | |
ON=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;TN.mark&&(g.lb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),TN.mark(d))}d=UN(c);var e=b||g.eG();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=GN();var f=e[a];f&&(g.lG(f),e[a]=0);VN(c)["tick_"+a]=b;c||b||g.eG();PN(c)?(e=QN(c),"_start"==a?yG("baseline_"+e)||g.tG("latencyActionBaselined",{clientActionNonce:e},b,void 0):yG("tick_"+a+"_"+e)||g.tG("latencyActionTicked",{tickName:a,clientActionNonce:e},b,void 0),b=!0):b=!1;b||RN(c);return d[a]}; | |
WN=function(a){var b="above_the_fold";TN&&TN.measure&&(g.lb(b,"measure_")||(b="measure_"+b),a?TN.measure(b,a):TN.measure(b))}; | |
XN=function(a,b){var c=UN(b);return a in c}; | |
YN=function(a){XN("_start","video_to_ad")&&ON(a,void 0,"video_to_ad")}; | |
NN=function(a,b,c){ZN(c).info[a]=b;VN(c)["info_"+a]=b;if(PN(c))if(a in $N){var d=$N[a];g.Pa(Lla,d)&&(b=!!b);if(PN(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=QN(c);zG(a,c)}}else g.Pa(Mla,a)||g.PD(Error("Unknown label "+a+" logged with GEL CSI."))}; | |
aO=function(a){var b=UN(a);if(b.aft)return b.aft;a=g.OD((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return window.NaN}; | |
RN=function(a){if(!bO(a)){var b=g.OD((a||"")+"TIMING_ACTION",void 0),c=UN(a);if(g.x("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=aO(a)))if(cO||(g.yN(Nla,new HN(Math.round(b-c._start),a)),cO=!0),a)dO(a);else{b=!0;var d=g.OD("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&dO(a)}}}; | |
Ola=function(){switch(bF("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1}; | |
MN=function(a,b){if(!bO(b)){var c=g.OD("CSI_SERVICE_NAME","youtube");g.OD((b||"")+"TIMING_ACTION",void 0)&&c&&(ON("aa",void 0,b),NN("ap",1,b),NN("yt_fss",a,b),dO(b))}}; | |
QN=function(a){var b=ZN(a).nonce;b||(b=GG(),ZN(a).nonce=b);return b}; | |
UN=function(a){return ZN(a).tick}; | |
VN=function(a){a=ZN(a);"gel"in a||(a.gel={});return a.gel}; | |
ZN=function(a){return g.x("ytcsi."+(a||"")+"data_")||JN(a)}; | |
JN=function(a){var b={tick:{},info:{}};g.va("ytcsi."+(a||"")+"data_",b,void 0);return b}; | |
bO=function(a){return!!g.x("yt.timing."+(a||"")+"pingSent_")}; | |
KN=function(a,b){g.va("yt.timing."+(b||"")+"pingSent_",a,void 0)}; | |
Pla=function(a){var b=UN(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==ZN(a).info.yt_pvis}; | |
PN=function(a){return!!g.LF("csi_on_gel")||!!ZN(a).useGel}; | |
dO=function(a){Ila();if(!PN(a)){var b=UN(a),c=ZN(a).info,d=b._start;for(k in b)if(g.lb(k,"_")&&g.Aa(b[k])){var e=k.slice(1);if(e in Qla){var f=(0,g.G)(b[k],function(a){return Math.round(a-d)}); | |
c["all_"+e]=f.join()}delete b[k]}var k=!!c.ap;if(e=g.x("ytglobal.timingReportbuilder_")){if(b=e(b,c,a))eO(b,k),LN(a)}else{var l=g.OD("CSI_SERVICE_NAME","youtube");e={v:2,s:l,action:g.OD((a||"")+"TIMING_ACTION",void 0)};f=NN.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var m=window.location.protocol+g.x("ytplayer.config.assets.js");(m=TN.getEntriesByName?TN.getEntriesByName(m)[0]:null)?c.h5jse=Math.round(c.h5jse-m.responseEnd):delete c.h5jse}b.aft=aO(a);Pla(a)&&"youtube"==l&&(NN("yt_lt","hot_bg",a), | |
l=b.vc,m=b.pbs,delete b.aft,c.aft=Math.round(m-l));for(var n in c)"_"!=n.charAt(0)&&(e[n]=c[n]);b.ps=g.eG();c={};n=[];for(var p in b)"_"!=p.charAt(0)&&(l=Math.round(b[p]-d),c[p]=l,n.push(p+"."+l));e.rt=n.join(",");(b=g.x("ytdebug.logTiming"))&&b(e,c);eO(e,k,a);g.yN(DN,new IN(c.aft+(f||0),a))}}}; | |
eO=function(a,b,c){if(g.LF("debug_csi_data")){var d=g.x("yt.timing.csiData");d||(d=[],g.va("yt.timing.csiData",d,void 0));d.push({page:window.location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?EE(a):g.CE(a);KN(!0,c)}; | |
g.gO=function(a){if(a.simpleText)return a.simpleText;a=g.fO(a);var b=g.Dd("div");b.appendChild(a);return b.textContent}; | |
g.fO=function(a){if(a.simpleText)return a=window.document.createTextNode(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(Rla(d))}return 1==b.length?b[0]:g.K("SPAN",null,b)}; | |
Rla=function(a){var b=null,c=a.text;a.bold&&(b=g.K("B",null,b||c));a.italics&&(b=g.K("I",null,b||c));a.strikethrough&&(b=g.K("STRIKE",null,b||c));a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint&&(a=a.navigationEndpoint.urlEndpoint,b=g.K("A",null,b||c),g.$c(b,a.url),"TARGET_NEW_WINDOW"==a.target&&(b.target="_blank"));return b||g.K("SPAN",null,c)}; | |
g.hO=function(a){g.FF.call(this);this.adModule=!1;this.Zk=this.adaptiveFormats="";this.Uc=null;this.allowEmbed=!0;this.sg=this.backgroundable=!1;this.Of="";this.Bn=this.zn=this.yn=!1;this.relativeLoudness=window.NaN;this.watchAjaxToken=this.Ph=null;this.author="";this.wg=0;this.Iy=this.Jn=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.channelBanner=this.channelPath=this.Kn="";this.contentCheckOk=!1;this.Sf=0;this.Ny=this.enableCardioBeforePlayback=this.enableCardio=!1;this.endSeconds=0;this.yh= | |
!1;this.Hg=this.Uj=0;this.Oo=!1;this.zD=0;this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.za=this.Tl=this.isListed=this.Ht=this.Cm=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=!1;this.mdxControlMode=null;this.isPharma=!1;this.mg=0;this.reloadReason="";this.Kt=this.yA=this.th=!1;this.Ro=0;this.Cq=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.Nt=null;this.Ul=this.lengthSeconds=0;this.playerParams=this.musicVideoType=null;this.paygated=!1; | |
this.jd=[];this.profilePicture=void 0;this.racyCheckOk=!1;this.rootVeType=0;this.Aa=null;this.autonavState=1;this.oe=!1;this.Vc=this.startSeconds=0;this.spacecastModule=!1;this.qn=null;this.Qm=this.zr=this.gw=WI;this.Kk=this.suggestions=null;this.hlsFormats=this.Ok=this.expandedSubtitle=this.expandedTitle=this.subtitle=this.title="";this.Lb=this.Cf=this.ye=this.Jm=this.Eo=null;this.Jq="vvt";this.ypcOfferButtonFormattedText=null;this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity; | |
this.xk=this.Di=this.vj=!1;this.Bs="";this.Xp=this.Bv=this.yz=0;this.uA=!1;this.Nh={};this.Os=!1;this.captionTracks=[];this.jl=[];this.Ar=0;this.captionTranslationLanguages=[];this.kl=!1;this.chapterMarkers=[];this.fi=new JH("und",new FH("Default","und",!0));this.Lt=0;this.vE=this.Fk=this.XD=!1;this.Ci=null;this.Xh=[];this.Qz=!1;this.bj={};this.slotPosition=-1;this.breakType=0;this.kE=new g.Wt(this.lE,5E3,this);g.N(this,this.kE);this.As=0;this.zz=!0;this.Ad=this.qb=null;this.Gt=this.KE=this.xA=this.sh= | |
!1;this.qA=this.rA=window.NaN;this.defraggedFromSubfragments=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=window.NaN;this.Kq=this.Sm=!1;this.Fm=[];this.Em=[];this.isDni=!1;this.Pp=this.dniColor="";this.isVisualizerEligible=!1;this.kc={};this.keywords={};this.Fe={};this.setData(a)}; | |
kO=function(a,b,c){b=b||{};var d={};if(c){var e;b.raw_player_response?e=b.raw_player_response:b.player_response&&(e=g.Vw(b.player_response));if(e)for(d=null!=e?e:{},a.qb||(a.qb={}),c=0;c<iO.length;c++)e=iO[c],e in d&&(a.qb[e]=d[e])}else d=a.qb||{};if(c=jO(d))a.Of=hH(c.invideoUrl),a.yn=!!c.adsOnly,a.zn=!!c.allowInPlaceSwitch;else{if(c=b.iv_invideo_url)a.Of=hH(c);a.yn=mM(a.yn,b.iv_ads_only);a.zn=mM(a.zn,b.iv_allow_in_place_switch)}if(c=b.cta_conversion_urls)a.Jx=c;a.isPharma=mM(a.isPharma,b.is_pharma); | |
a.author=pM(a.author,b.author);a.Jn=mM(a.Jn,b.cc_asr);if(c=b.ttsurl)fH(c)?a.Kn=c:(c=gH(c),fH(c,!0)&&(a.Kn=c));if(d.captions&&d.captions.playerCaptionsTracklistRenderer)Sla(a,d.captions.playerCaptionsTracklistRenderer);else{c=b.caption_tracks;e=b.caption_audio_tracks;a.Os=void 0!=c;if(c&&e){Tla(a,c);Ula(a,e);if(c=b.default_audio_track_index)a.Ar=(0,window.parseInt)(c,10)||0;(c=b.caption_translation_languages)&&Vla(a,c)}a.kl=mM(a.kl,b.cc_contribute)}a.channelPath=pM(a.channelPath,b.channel_path);a.channelBanner= | |
pM(a.channelBanner,b.channel_banner);d.chapterMarkers&&(a.chapterMarkers=d.chapterMarkers);a.clientPlaybackNonce=pM(a.clientPlaybackNonce,b.cpn);a.subscribed=mM(a.subscribed,b.subscribed);a.Vi=oM(a.Vi,b.view_count);a.shortViewCount=pM(a.shortViewCount,b.short_view_count_text);a.title=pM(a.title,b.title);a.subtitle=pM(a.subtitle,b.subtitle);a.expandedTitle=pM(a.expandedTitle,b.expanded_title);a.expandedSubtitle=pM(a.expandedSubtitle,b.expanded_subtitle);a.Zk=pM(a.Zk,b.aria_label);a.ypcPreview=pM(a.ypcPreview, | |
b.ypc_preview);a.ypcOrigin=pM(a.ypcOrigin,b.ypc_origin);a.paygated=mM(a.paygated,b.paygated);a.requiresPurchase=mM(a.requiresPurchase,b.requires_purchase);if(d=b.keywords)a.keywords=Wla(d);if(d=b.rvs)a.suggestions=$D(d);a.contentCheckOk=mM(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=mM(a.racyCheckOk,"1"==b.rco);a.oauthToken=pM(a.oauthToken,b.oauth_token);a.visitorData=pM(a.visitorData,b.visitor_data);if(d=b.session_data)a.Rd=g.XD(d);if(d=b.endscreen_autoplay_session_data)a.Ty=g.XD(d);a.Sy=pM(a.Sy, | |
b.endscreen_ad_tracking_data);a.Rk=mM(a.Rk,b.wait_for_vast_info_cards_xml);a.cj=mM(a.cj,b.suppress_creator_endscreen);a.Zj=mM(a.Zj,b.is_trueview_action);a.ki=pM(a.ki,b.wpid);a.eF=pM(a.eF,b.tracking_list||b.tv_list);b.skip_wv&&(a.KE=!0);b.intro_start_ms&&b.intro_end_ms&&(a.rA=(0,window.parseInt)(b.intro_start_ms,10),a.qA=(0,window.parseInt)(b.intro_end_ms,10));(0,g.B)(Xla,function(a){a in b&&(this.kc[a]=b[a])},a)}; | |
lO=function(a){return!(!a.Aa||!a.Aa.videoInfos.length)}; | |
Yla=function(a){return a.l&&AI('video/webm; codecs="vp9"')&&Mb(a.g,function(a){return TH(a.info)})}; | |
mO=function(a){return!(!a.oa||!a.oa.l)}; | |
nO=function(a,b){if(!(a.Aa&&a.Aa.videoInfos.length&&g.VH(a.Aa.videoInfos[0])&&mO(a))||g.tE()&&!b.g("html5_streaming_xhr_try_cobalt")||IL&&!b.g("html5_streaming_xhr_try_edge"))return!1;var c=b.g("html5_streaming_response_mediastream_rewrite_v2"),d=b.g("html5_ultra_low_latency_streaming_responses")&&"ULTRALOW"==a.latencyClass;return c||d}; | |
oO=function(a,b){return nO(a,b)&&(!b.g("html5_live_benchmark_incremental_parsing")||"ULTRALOW"==a.latencyClass)}; | |
pO=function(a){return!OI()||a.Iy?!0:!1}; | |
g.qO=function(a){if(!a.Ad)return null;var b=null!=a.Ad.latitudeE7&&null!=a.Ad.longitudeE7?a.Ad.latitudeE7+","+a.Ad.longitudeE7:",";return b+=","+(a.Ad.clientPermissionState||0)+","+(a.Ad.locationRadiusMeters||"")+","+(a.Ad.locationOverrideToken||"")}; | |
rO=function(a){a.ka()||(a.yh=!1,a.R("dataloaded",a.kc))}; | |
tO=function(a,b,c){c&&a.oa&&a.oa.dispose();a.oa=b;g.N(a,b);sO(a)&&a.jd.push("webgl")}; | |
g.uO=function(a,b,c){if(a.ka())return KE();a.Aa=null;a.ye=null;a.Cf=null;var d=b.o.c;b.experiments.g("disable_rqs")||(a.sh=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(d)||b.experiments.g("html5_high_res_logging"));return Zla(a,b,c).then(void 0,(0,g.z)(a.dM,a,b)).then(void 0,(0,g.z)(a.aM,a,b,c)).then(void 0,(0,g.z)(a.bM,a,b)).then(void 0,(0,g.z)(a.eM,a,b)).then(void 0,(0,g.z)(a.cM,a,b)).then(function(){if(b.experiments.g("html5_probe_media_capabilities")&& | |
a.Aa)return Fla(a.Aa).then(a.gq,void 0,a)})}; | |
Zla=function(a,b,c){if(!c&&!pO(a)){c=!1;if(a.spacecastAdaptiveFormats)tO(a,pL(vO(a,a.spacecastAdaptiveFormats),a.Uc,a.lengthSeconds,void 0),!0),c=!0;else if(a.oa&&a.kq){var d=wL(a.oa,a.kq);d&&(tO(a,d,!0),c=!0)}if(c)return UL(b.M,a.oa,a.Ci,!0,!1,!b.deviceHasDisplay||a.Sm&&b.zb,a.Kq&&b.zb).then(a.gq,void 0,a).then(a.az,void 0,a)}return KE()}; | |
wO=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.o.c,cver:b.o.cver};a.Bm&&(c.ptk=a.Bm,c.oid=a.BD,c.ptchn=a.AD,c.pltype=a.CD);return c}; | |
g.xO=function(a){return vE()&&a.fairPlayCert?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ja&&a.Ja.Uc||null}; | |
yO=function(a){var b=a.qb&&a.qb.paidContentOverlay&&a.qb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.gO(b.text):a.dV}; | |
zO=function(a){var b=a.qb&&a.qb.paidContentOverlay&&a.qb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Eb(b.durationMs):a.zD}; | |
g.AO=function(a,b){return g.u(a.keywords[b])?a.keywords[b]:null}; | |
g.BO=function(a){if(!a.Lb)if(a.qb&&a.qb.storyboards){var b=a.qb.storyboards;if(b.playerStoryboardSpecRenderer)a.Lb=new pN(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds);else if(b.playerLiveStoryboardSpecRenderer&&a.oa){var c=Pb(a.oa.g).index;c&&(a.Lb=new rN(b.playerLiveStoryboardSpecRenderer.spec,a.za,c))}}else(b=a.kc.storyboard_spec)?a.Lb=new pN(b,a.lengthSeconds):(b=a.kc.live_storyboard_spec)&&a.oa&&(c=Pb(a.oa.g).index)&&(a.Lb=new rN(b,a.za,c));return a.Lb}; | |
CO=function(a){return!!(a.ae||a.adaptiveFormats||a.Ok||a.Kk||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)}; | |
DO=function(a){var b=g.Pa(a.jd,"ypc");a.ypcPreview&&(b=!1);return a.Od()&&!a.yh&&(CO(a)||g.Pa(a.jd,"fresca")||g.Pa(a.jd,"heartbeat")||b)}; | |
vO=function(a,b,c){b=$D(b);var d={};c&&(0,g.B)(c.split(","),function(a){(a=a.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[a[1]]={width:a[2],height:a[3]})}); | |
(0,g.B)(b,function(a){var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)},a); | |
return b}; | |
$la=function(a){a=$D(a);var b={};(0,g.B)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)}); | |
return b}; | |
Tla=function(a,b){for(var c=$D(b),d=0;d<c.length;d++){var e=c[d],f=e.u;fH(f)&&a.captionTracks.push(new g.HH({is_translateable:mM(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}}; | |
Ula=function(a,b){var c=$D(b);a.jl=[];(0,g.B)(c,function(a){var b={};g.t(a.aid)&&(b.audioTrackId=a.aid);var c=a.i;c&&(b.captionTrackIndices=(0,g.G)(c.split(","),function(a){return(0,window.parseInt)(a,10)})); | |
b.hasDefaultTrack=g.t(a.d);b.hasDefaultTrack&&(b.defaultCaptionTrackIndex=(0,window.parseInt)(a.d,10)||void 0);b.hasForcedTrack=g.t(a.f);b.hasForcedTrack&&(b.forcedCaptionTrackIndex=(0,window.parseInt)(a.f,10));b.visibility=ama[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.jl.push(b)},a)}; | |
Vla=function(a,b){for(var c=$D(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.GH({languageCode:e.lc,languageName:e.n}))}}; | |
Sla=function(a,b){a.Os=!0;a.captionTracks=[];b.captionTracks&&(0,g.B)(b.captionTracks,function(a){var b=a.baseUrl;fH(b,!0)&&(a=new g.HH({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.gO(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a); | |
a.jl=b.audioTracks||[];a.Ar=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.G)(b.translationLanguages,function(a){return new g.GH({languageCode:a.languageCode,languageName:g.gO(a.languageName)})}):[]; | |
a.kl=!!b.contribute&&!!b.contribute.captionsMetadataRenderer}; | |
g.EO=function(a,b){return!!a.kc[b]}; | |
g.FO=function(a){return a.za&&!a.sg}; | |
GO=function(a){return a.za&&a.sg}; | |
HO=function(a){var b=g.bc(a.kc);!a.za&&0<a.startSeconds&&(b.start=a.startSeconds);return b}; | |
sO=function(a){return a.sf()||a.rf()||a.yi()||a.Pe()}; | |
bma=function(a){a.Aa=a.Aa.l}; | |
g.IO=function(a){if(a.cj)return null;var b=a.kc.iv_endscreen_url;b||(b=a.qb&&a.qb.endscreen&&a.qb.endscreen.endscreenUrlRenderer&&a.qb.endscreen.endscreenUrlRenderer.url);return b||null}; | |
JO=function(a,b){return a.adFormat&&"1_5"!=a.adFormat?"adunit":b.T}; | |
KO=function(a,b){if(a.isAd()&&a.videoId!=b.ga)return b.ga}; | |
LO=function(a,b){return a.Cm||"detailpage"==JO(a,b)}; | |
MO=function(a,b){return LO(a,b)?"detailpage"==JO(a,b)?a.Oo||0<a.mg:!0:!1}; | |
NO=function(a,b){var c=1,d=b.experiments.l("html5_default_ad_gain");d&&a.isAd()&&(c=d);return Math.min(1,Math.pow(10,-a.relativeLoudness/20))||c}; | |
OO=function(a){return(0,window.isNaN)(a)?0:Math.max(((0,g.F)()-a)/1E3-30,0)}; | |
jO=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null}; | |
Wla=function(a){var b={};(0,g.B)(a.split(","),function(a){var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0}); | |
return b}; | |
PO=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.l=d}; | |
QO=function(){this.endTime=this.startTime=-1;this.Br="-";this.playbackRate=1;this.visibilityState=0;this.vr="";this.volume=this.connectionType=this.Yg=0;this.muted=!1}; | |
SO=function(a){this.l=a;this.g=0;this.B=-1;this.I=this.l.Kd().volume;this.H=this.l.Kd().muted;this.C=window.NaN;this.o=0;this.rb=[];this.A=RO(this.l);this.D=this.F=0}; | |
g.TO=function(a){a.A.startTime=a.o;a.A.endTime=a.g;a.rb.length&&g.Ja(a.rb).isEmpty()?a.rb[a.rb.length-1]=a.A:a.rb.length&&a.A.isEmpty()||a.rb.push(a.A);a.F+=a.g-a.o;a.A=RO(a.l);a.o=a.g}; | |
UO=function(a){return a.F+a.l.l()-a.o}; | |
VO=function(a){a.rb.length&&a.g==a.o||g.TO(a);var b=a.rb;a.rb=[];return b}; | |
WO=function(a,b,c){c-=a.C;return b==a.g&&.5<c}; | |
cma=function(a,b,c,d,e,f,k,l,m,n,p,r,v){this.videoData=a;this.g=b;this.Kd=c;this.C=d;this.l=e;this.B=f;this.I=k;this.getAudioTrack=l;this.H=m;this.D=n;this.o=p;this.F=r||function(){}; | |
this.A=null;this.J=v||function(){}}; | |
g.YO=function(a){return XO(a)()}; | |
XO=function(a){if(!a.A){var b=g.Ga(function(a){var b=g.eG();a&&631152E6>=b&&(g.PD(Error("invalid yt.global.now value: "+b)),b=(new Date).getTime()+2);return b},a.g.experiments.g("html5_validate_yt_now")); | |
a.A=g.Ga(function(a){return Math.round(b()-a)/1E3},b()); | |
a.J()}return a.A}; | |
ZO=function(a){var b=a.Kd();g.Ha(b,a.videoData.Kd());return b}; | |
aP=function(){return window.navigator.connection&&window.navigator.connection.type?$O[window.navigator.connection.type]||$O.other:0}; | |
RO=function(a){var b=new QO;b.Br=a.Kd().cc||"-";b.playbackRate=a.H();var c=a.o();0!=c&&(b.visibilityState=c);a.g.Yg&&(b.Yg=1);c=a.getAudioTrack();c.Gb&&c.Gb.id&&"und"!=c.Gb.id&&(b.vr=c.Gb.id);b.connectionType=aP();b.volume=a.Kd().volume;b.muted=a.Kd().muted;return b}; | |
g.bP=function(a){return(a=dma[a.toString()])?a:"YTP_ERROR_LICENSE"}; | |
cP=function(){}; | |
dP=function(){g.M.call(this);this.A=this.o=null;this.F=this.D=!1;this.C=new g.Cf;g.N(this,this.C)}; | |
eP=function(a){a=a.Ij();return 1>a.length?window.NaN:a.end(a.length-1)}; | |
fP=function(a,b){a.o&&null!=b&&b.g==a.o.g||(a.o&&a.o.dispose(),a.o=b)}; | |
gP=function(a){return kI(a.Tf(),a.getCurrentTime())}; | |
hP=function(a){var b=a.Tf();return 0<jI(b)&&a.getDuration()?iI(b,a.getCurrentTime()):0}; | |
iP=function(a){var b=a.getDuration();return window.Infinity==b?1:b?hP(a)/b:0}; | |
jP=function(a){switch(a.Ib()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";default:return null}}; | |
kP=function(a,b,c){g.af.call(this,b,a);this.g=c||null}; | |
ema=function(){this.A=this.g=window.NaN;this.o=this.l=!1}; | |
lP=function(a,b){return b>a.g&&b<a.g+5}; | |
mP=function(a,b,c,d){if(d=1<d)a.o=!0;if(a.l)b!=a.g&&(a.l=!1);else if(0<b&&a.g==b)return c-a.A>(d||!a.o?1500:400);a.g=b;a.A=c;return!1}; | |
g.nP=function(a,b){this.l=a||64;this.g=void 0===b?null:b}; | |
oP=function(a,b,c){return b==a.l&&c==a.g||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.nP(b,c)}; | |
pP=function(a,b){return oP(a,a.l|b)}; | |
qP=function(a,b){return oP(a,a.l&~b)}; | |
rP=function(a,b,c){return oP(a,(a.l|b)&~c)}; | |
g.X=function(a,b){return!!(a.l&b)}; | |
g.sP=function(a,b){return b.l==a.l&&b.g==a.g}; | |
g.tP=function(a){return g.X(a,8)&&!g.X(a,2)&&!g.X(a,1024)}; | |
g.uP=function(a){return g.X(a,64)&&!g.X(a,8)&&!g.X(a,4)}; | |
g.vP=function(a){return g.X(a,1)&&!g.X(a,2)}; | |
wP=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.xP=function(a,b){this.state=a;this.g=b}; | |
yP=function(a,b){return g.X(a.state,b)&&!g.X(a.g,b)?1:!g.X(a.state,b)&&g.X(a.g,b)?-1:0}; | |
AP=function(a){g.M.call(this);var b=this;this.g=a;this.l={};this.I=1;this.Y=window.NaN;this.o="N";this.C=this.ea=this.Z=this.A=0;this.K=this.ga="";this.ca=0;this.ha=-1;this.J=this.M=0;this.X=this.H=!1;this.na=[];this.D=null;this.T=this.F=!1;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(function(a){b.D=a}); | |
g.zP(this,0,"vps",["N"])}; | |
g.zP=function(a,b,c,d){var e=a.l[c];e||(e=[],a.l[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))}; | |
DP=function(a,b){b=0<=b?b:g.YO(a.g);var c=a.g.B();if(!(0,window.isNaN)(a.fa)&&!(0,window.isNaN)(c.o)){var d=c.o-a.fa;0<d&&g.zP(a,b,"bwm",[d,(c.B-a.sa).toFixed(3)])}a.fa=c.o;a.sa=c.B;(0,window.isNaN)(c.bandwidthEstimate)||g.zP(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.g.videoData.sh&&c.g&&BP(a,"bwinfo",c.g);a.D&&g.zP(a,b,"bat",[a.D.level,a.D.charging?"1":"0"]);d=a.g.o();a.ha!=d&&(g.zP(a,b,"vis",[d]),a.ha=d);g.zP(a,b,"cmt",[a.g.l().toFixed(3)]);(d=aP())&&d!=a.ca&&(g.zP(a,b,"conn",[d]),a.ca=d);CP(a, | |
b,c);null!==a.g.videoData.qn&&(a.l.acc=[a.g.videoData.qn.join(":")])}; | |
CP=function(a,b,c){if(!(0,window.isNaN)(c.l)){var d=c.l;c.A<d&&(d=c.A);g.zP(a,b,"bh",[d.toFixed(3)])}}; | |
EP=function(a){var b=0,c;for(c in a.l)b+=c.length+Ij(a.l[c],function(a,b){return a+b.length},0); | |
1E3<b&&(new g.Wt(a.B,0,a)).start()}; | |
FP=function(a,b,c,d){var e=a.g.l();c=[c,e.toFixed(3)];d&&c.push(d);g.zP(a,b,"error",c)}; | |
gma=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=fma[wP(b)];g.KM(a.g.g)&&"B"==c&&3==a.g.o()&&(c="SU");"B"==c&&g.X(b,4)&&(c="PB");return c}; | |
GP=function(a,b){var c=a.l.cat||[];c.push(b);a.l.cat=c}; | |
BP=function(a,b,c,d){var e=a.l.ctmp||[],f=-1!=a.na.indexOf(b);f||a.na.push(b);d&&f||(d||(c="t."+(1E3*g.YO(a.g)).toFixed()+";"+c),e.push(b+":"+c),a.l.ctmp=e,EP(a))}; | |
HP=function(a,b,c,d){this.Y=b;this.segments=[];this.experimentIds=[];this.adQueryId=null;this.th=this.fa=this.ea=this.Ga=this.M=this.autoplay=this.autonav=!1;this.ha="yt";this.Ph=this.l=this.C=null;this.T=!1;this.B="watchtime"==c;this.A="playback"==c;this.F="delayplay"==c;this.D="atr"==c;this.Hb="engage"==c;this.Fk=!1;this.ab=this.D?"/api/stats/"+c:"//"+b.Wg+"/api/stats/"+c;d&&(this.fa=d.fs,d.rtn&&(this.l=d.rtn),this.B?(this.Wa=d.state,0<d.rti&&(this.C=d.rti)):(this.La=d.mos,this.sb=d.volume,d.at&& | |
(this.adType=d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.ra=d.inview),d.size&&(this.na=d.size));this.Sa=g.bc(b.o);this.ya=b.sa;this.experimentIds=b.experiments.experimentIds;this.ca=b.ya;this.ha=b.ea;this.region=b.region;this.userAge=b.userAge;this.userGender=b.userGender;this.vb=g.rG();this.Fk=b.Da;c=this.Y;this.H=a.oauthToken||c.J;this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=MO(a,c);this.autonav=a.Oo||this.autonav;this.contentVideoId=KO(a,c);this.Ph=a.Ph;this.clientPlaybackNonce= | |
a.clientPlaybackNonce;this.M=a.isDni;a.vssCredentialsToken&&(this.K=a.vssCredentialsToken,this.sa=a.Jq);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.wg=a.wg;this.Sf=a.Sf;a.Ja&&(this.ga=RH(a.Ja),a.tc&&RH(a.tc)!=this.ga&&(this.J=RH(a.tc)));this.th=a.th;this.Uj=a.Uj;a.za&&(this.Na=a.sg?"dvr":"live");this.Ul=a.Ul;this.Bf=a.Bf;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.eF||a.playlistId;this.Sp=a.Sp;this.Ye=a.Ye;this.Df=a.Df;this.iq=a.iq;this.subscribed=a.subscribed; | |
this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.hv=a.hv;this.referrer=a.referrer;this.Hm=a.uv||a.Hm;this.Mk=a.Mk;this.wq=a.wq;this.ki=a.ki;this.Da=JO(a,b)}; | |
IP=function(a,b){if(a.D)return null;var c=a.H&&fE(),d=a.Fk&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.H);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,wd:b}}; | |
hma=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.Qg(a,b);c?g.kE(a,c):g.CE(a)}; | |
KP=function(a){var b={ns:a.ha,el:a.Da,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.wg),plid:a.playbackId,ei:a.eventId,fmt:a.ga,fs:a.fa?"1":"0",rt:a.g(a.tb),of:a.hv,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.ya,lact:a.vb,live:a.Na,cl:"201537729",mos:a.La,osid:a.osid,state:a.Wa,vm:a.videoMetadata,volume:a.sb};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Ha(b,a.Sa);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.M&&(b.dni="1"); | |
a.ea&&(b["final"]="1");a.th&&(b.splay="1");a.Sf&&(b.delay=a.Sf);a.ca&&(b.hl=a.ca);a.region&&(b.cr=a.region);g.t(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.t(a.Z)&&(b.len=a.g(a.Z));!a.B&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.l&&(b.rtn=a.g(a.l));a.Hm&&(b.feature=a.Hm);a.playlistId&&(b.list=a.playlistId);a.Ye&&(b.ctrl=a.Ye);a.Df&&(b.ytr=a.Df);a.iq&&(b.ssrt="1");a.J&&(b.afmt=a.J);a.X&&(b.lio=a.g(a.X));a.B?(b.idpj=a.Uj,b.ldpj=a.Ul,null!=a.C&&(b.rti=a.g(a.C))): | |
g.t(a.adType)&&(b.at=a.adType);(a.A||a.F)&&a.Ph&&(b.tst=a.Ph);a.na&&(a.A||a.F)&&(b.size=a.na);null!=a.ra&&(a.A||a.F)&&(b.inview=a.g(a.ra));a.B&&(b.volume=JP(a,(0,g.G)(a.segments,function(a){return a.volume})),b.muted=JP(a,(0,g.G)(a.segments,function(a){return a.muted?1:0})),b.st=JP(a,(0,g.G)(a.segments,function(a){return a.startTime})),b.et=JP(a,(0,g.G)(a.segments,function(a){return a.endTime})),(0,g.Aj)(a.segments,function(a){return 1!=a.playbackRate})&&(b.rate=JP(a,(0,g.G)(a.segments,function(a){return a.playbackRate})))); | |
(0,g.Aj)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=JP(a,(0,g.G)(a.segments,function(a){return a.visibilityState}))); | |
(0,g.Aj)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=JP(a,(0,g.G)(a.segments,function(a){return a.connectionType}))); | |
(0,g.Aj)(a.segments,function(a){return 0!=a.Yg})&&(b.blo=JP(a,(0,g.G)(a.segments,function(a){return a.Yg}))); | |
(0,g.Aj)(a.segments,function(a){return"-"!=a.Br})&&(b.cc=(0,g.G)(a.segments,function(a){return a.Br}).join(",")); | |
if((0,g.Aj)(a.segments,function(a){return!!a.vr})){var c="au"; | |
a.A&&(c="au_d");b[c]=(0,g.G)(a.segments,function(a){return a.vr}).join(",")}fE()&&a.K&&(b.ctt=a.K,b.cttype=a.sa,b.mdx_environment=a.mdxEnvironment); | |
a.Hb&&(b.etype=g.t(a.o)?a.o:0);a.Mk&&(b.uoo=a.Mk);a.wq&&(b.upt=a.wq);a.ki&&(b.wpid=a.ki);a.Y.experiments.g("deprecate_vss_dallas_cache")&&(b.ddc="1");return b}; | |
JP=function(a,b){return(0,g.G)(b,a.g).join(",")}; | |
g.LP=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId}; | |
MP=function(a){g.M.call(this);this.g=a;this.l=new AP(a);g.N(this,this.l);this.o=new SO(a);this.C="paused";this.D=window.NaN;this.H=[10,10,10,40];this.I=this.F=0;this.T=this.M=this.Z=this.X=this.K=this.J=this.B=!1;this.A=window.NaN}; | |
NP=function(a,b,c){var d=g.YO(a.g);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.H[a.F];a.F+1<a.H.length&&a.F++;c+=e;d=1E3*(c-d);a.D=g.UD((0,g.z)(a.sR,a,c,b),d);return c}; | |
OP=function(a,b){var c=ZO(a.g);g.Ha(c,{state:a.C});c=new HP(a.g.videoData,a.g.g,b,c);c.wg=a.g.l();a.g.videoData.za||(c.Z=a.g.C());if(a.g.videoData.oa){var d=AL(a.g.videoData.oa,c.wg);d&&(c.X=d-c.wg)}c.tb=g.YO(a.g);c.segments=[RO(a.g)];return c}; | |
PP=function(a,b){var c=OP(a,"watchtime");c.segments=b;c.wg=a.o.g;return c}; | |
QP=function(a){a.o.update();return PP(a,VO(a.o))}; | |
TP=function(a){a.g.videoData.remarketingUrl&&!a.X&&(RP(a,a.g.videoData.remarketingUrl),a.X=!0);a.g.videoData.youtubeRemarketingUrl&&!a.Z&&(RP(a,a.g.videoData.youtubeRemarketingUrl),a.Z=!0);a.g.videoData.googleRemarketingUrl&&!a.M&&(RP(a,a.g.videoData.googleRemarketingUrl),a.M=!0);a.g.videoData.ppvRemarketingUrl&&!a.T&&(RP(a,a.g.videoData.ppvRemarketingUrl),a.T=!0);SP(a)}; | |
UP=function(a){a.A=g.VD((0,g.z)(a.bq,a,"heartbeat"),3E4)}; | |
SP=function(a){a.g.videoData.Fe.eventLabel=JO(a.g.videoData,a.g.g);a.g.videoData.Fe.playerStyle=a.g.g.playerStyle;a.g.videoData.Lp&&(a.g.videoData.Fe.feature="pyv");a.g.videoData.Fe.vid=a.g.videoData.videoId;var b=a.g.videoData.Fe;a=a.g.videoData;a=a.isAd()||!!a.Lp;b.isAd=a}; | |
RP=function(a,b,c){a.g.g.Da&&a.g.videoData.visitorData&&eE(b)?g.kE(b,{wd:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.CE(b,c)}; | |
VP=function(a,b){var c=a.l;g.zP(c,g.YO(c.g),"lra",[b]);BP(c,"live-readahead-seconds",b.toString())}; | |
WP=function(a,b){wH.call(this,a,b);this.g=!1;xH(this,"getPresentingPlayerType",this.Qa);xH(this,"addInfoCardXml",this.CN);xH(this,"cueVideoByPlayerVars",this.EN);xH(this,"loadVideoByPlayerVars",this.jm);xH(this,"preloadVideoByPlayerVars",this.mp);xH(this,"seekBy",this.ue);xH(this,"updatePlaylist",this.jO);xH(this,"updateLastActiveTime",this.iO);xH(this,"updateVideoData",this.kO);xH(this,"getPlayerResponse",this.getPlayerResponse);xH(this,"getStoryboardFormat",this.getStoryboardFormat);xH(this,"getStoryboardFrame", | |
this.MN);xH(this,"getStoryboardFrameIndex",this.NN);xH(this,"getStoryboardLevel",this.ON);xH(this,"getNumberOfStoryboardLevels",this.KN);xH(this,"getProgressState",this.Ch);xH(this,"getHousebrandProperties",this.IN);xH(this,"setPlaybackQualityRange",this.yB);xH(this,"getCurrentPlaylistSequence",this.HN);xH(this,"canPlayType",this.DN);xH(this,"sendVideoStatsEngageEvent",this.Ni);xH(this,"setCardsVisible",this.km);xH(this,"handleGlobalKeyDown",this.RN);xH(this,"getAudioTrack",this.getAudioTrack);xH(this, | |
"setAudioTrack",this.wu);xH(this,"getAvailableAudioTracks",this.getAvailableAudioTracks);xH(this,"getMaxPlaybackQuality",this.JN);xH(this,"getUserPlaybackQualityPreference",this.PN);xH(this,"setSizeStyle",this.dO);xH(this,"setUserEngagement",this.gO);xH(this,"forceFrescaUpdate",this.GN);xH(this,"setAutonav",this.uB);xH(this,"setAutonavState",this.ru);xH(this,"showControls",this.zB);xH(this,"hideControls",this.xB);xH(this,"getVisibilityState",this.Mi);xH(this,"shouldSendVisibilityState",this.hO);xH(this, | |
"getVideoContentRect",this.wB);xH(this,"setSafetyMode",this.cO);xH(this,"setFauxFullscreen",this.XN);xH(this,"cancelPlayback",this.tu);xH(this,"getVideoStats",this.Az);xH(this,"updateSubtitlesUserSettings",this.np);xH(this,"getSubtitlesUserSettings",this.Li);xH(this,"resetSubtitlesUserSettings",this.vu);xH(this,"isFastLoad",this.SN);xH(this,"isInline",this.TN);xH(this,"isPeggedToLive",this.isPeggedToLive);xH(this,"setMinimized",this.bO);xH(this,"setInline",this.ZN);xH(this,"getSphericalProperties", | |
this.jp);xH(this,"setSphericalProperties",this.lp);xH(this,"getSphericalConfig",this.LN);xH(this,"setSphericalConfig",this.eO);xH(this,"setBlackout",this.WN);xH(this,"onAdUxClicked",this.VN);xH(this,"getPlayerSize",this.uu);xH(this,"setGlobalCrop",this.YN);xH(this,"wakeUpControls",this.GW);xH(this,"isMutedByMutedAutoplay",this.LL);xH(this,"getVideoAspectRatio",this.QN);xH(this,"setUseFastSizingOnWatch",this.fO);xH(this,"setInternalSize",this.aO);xH(this,"enqueueVideoByPlayerVars",this.FN);xH(this, | |
"isQueueEmpty",this.UN)}; | |
XP=function(a,b){WP.call(this,a,b)}; | |
YP=function(a,b){this.o=a;this.l=b||null;this.A=!1}; | |
aQ=function(a,b,c){var d=a.o;b=g.EM(d)&&d.Cd&&LO(b,d);if(d.Nc&&(CM(d)||g.XM(d)||b)&&!a.A){a.A=!0;g.OD("TIMING_ACTION")||g.ND("TIMING_ACTION",a.o.csiPageType);a.o.Sa&&g.ND("CSI_SERVICE_NAME",a.o.Sa);if(a.l){d=a.l.fa;for(var e in d)(0,g.ZP)(e,d[e],"");e=a.l.ca;for(var f in e)(0,g.$P)(f,e[f],"");f=a.l;f.fa={};f.ca={}}(0,g.$P)("yt_pvis",Ola(),"");(0,g.$P)("yt_pt","html5","");c&&!XN("pbs","")&&a.g("pbs",c);a=a.o;g.XM(a)||CM(a)&&("blazer"!=a.playerStyle||a.experiments.g("use_full_timing_library"))||!XN("_start", | |
"")||dO("")}}; | |
g.bQ=function(a,b,c){g.M.call(this);this.start=a;this.end=b;this.o=jma++;a=c||{};this.Fa=a.id||"";this.A=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.g=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(a){return g.dH(a)}):null; | |
this.visible=this.visible;this.style=this.style;this.start=this.start}; | |
cQ=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()}; | |
kma=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.dQ=function(a,b){return a.start-b.start||a.A-b.A||a.o-b.o}; | |
g.eQ=function(a,b){this.type=a||"";this.id=b||""}; | |
g.gQ=function(a){g.FF.call(this);this.startSeconds=0;this.NE=!1;this.Db=0;this.title="";this.wh=0;this.Ma=[];this.cg=this.Wc=!1;this.Rd=this.Ty=this.Gm=null;this.views=0;this.MI=0!=a.fetch;this.he=[];this.Db=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.eQ="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.Nh={};a.video_id&&(this.Ma[this.Db]=a);var b=a.api;b&&("string"==typeof b&& | |
16==b.length?a.list="PL"+b:a.playlist=b);this.To=0;if(b=a.list)switch(a.listType){case "user_uploads":this.cg||(this.listId=new g.eQ("UU","PLAYER_"+b),fQ(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}));break;case "user_favorites":this.cg||(this.listId=new g.eQ("FL","PLAYER_"+b),fQ(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}));break;case "search":lma(this,b);break;default:var c=a.playlist_length;c&&(this.wh=c);this.listId=new g.eQ(b.substr(0, | |
2),b.substr(2));(b=a.video)?(this.Ma=b.slice(0),this.Wc=!0):mma(this)}else a.playlist&&(b=a.playlist.toString().split(","),0<this.Db&&(this.Ma=[]),(0,g.B)(b,function(a){a&&this.Ma.push({video_id:a})},this),this.wh=this.Ma.length,b=(0,g.G)(this.Ma,function(a){return a.video_id}),fQ(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:b.join(",")}),this.Wc=!0); | |
this.setShuffle(!!a.shuffle);if(b=a.suggestedQuality)this.quality=b;this.Nh=tN(a,"playlist_");this.WE=(a=a.thumbnail_ids)?a.split(","):[]}; | |
hQ=function(a){return!!(a.playlist||a.list||a.api)}; | |
iQ=function(a){var b=a.Db+1;return b>=a.wh?0:b}; | |
jQ=function(a){var b=a.Db-1;return 0>b?a.wh-1:b}; | |
kQ=function(a,b){a.Db=g.cd(b,0,a.wh-1);a.startSeconds=0}; | |
lma=function(a,b){if(!a.cg){a.listId=new g.eQ("SR",b);var c={search_query:b};a.eQ&&(c.mob="1");fQ(a,"/search_ajax?style=json&embeddable=1",c)}}; | |
mma=function(a){if(!a.cg){var b=b||a.listId;b={list:b};var c=a.Zb();c&&c.videoId&&(b.v=c.videoId);fQ(a,"/list_ajax?style=json&action_get_list=1",b)}}; | |
fQ=function(a,b,c){a.MI&&g.kE(g.Qg(b,c),{format:"JSON",onSuccess:(0,g.z)(function(a,b){lQ(this,b)},a), | |
onError:(0,g.z)(function(){this.R("error")},a)})}; | |
lQ=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.Zb();a.Ma=[];(0,g.B)(b.video,function(a){a&&(a.video_id=a.encrypted_id,this.Ma.push(a))},a); | |
a.wh=a.Ma.length;var d=b.index;d?a.Db=d:a.ul(c);a.setShuffle(!1);a.cg=!1;a.Wc=!0;a.To++;a.Gm&&a.Gm()}}; | |
mQ=function(a,b,c){this.audio=a;this.video=b;this.reason=c}; | |
nQ=function(a){this.l=window.Float32Array?new window.Float32Array(a):Array(a);this.o=this.g=a-1}; | |
oQ=function(a){return a.l[a.g]||0}; | |
nma=function(){this.B=new nQ(50);this.g=null;this.A=this.o=0;this.l=null}; | |
pQ=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)}; | |
qQ=function(a){if(a.qo())return!1;a=a.ge("content-type");return"audio/mp4"==a||"video/mp4"==a}; | |
sQ=function(a,b,c){g.FF.call(this);var d=new oma;"ULTRALOW"==a.latencyClass&&(d.A=!1);a.Tl?d.o=3:g.FO(a)&&(d.o=2);var e=21530001==a.liveExperimentalContentId,f=b.g("html5_live_no_streaming_impedance_mismatch")||"ULTRALOW"==a.latencyClass&&b.g("html5_ull_no_streaming_impedance_mismatch")||e;d.B=f&&mO(a)&&(a.hasSubfragmentedFmp4&&(!oO(a,b)||!pQ())||a.defraggedFromSubfragments);d.B&&(d.T++,e&&(d.C=b.l("html5_jumbo_ull_nonstreaming_mffa_ms")||window.NaN));"ULTRALOW"==a.latencyClass&&(d.X=2,d.D=0);rE()&& | |
(e=b.l("html5_platform_minimum_readahead_seconds")||3,d.l=Math.max(d.l,e));b.l("html5_minimum_readahead_seconds")&&(d.l=b.l("html5_minimum_readahead_seconds"));b.l("html5_maximum_readahead_seconds")&&(d.K=b.l("html5_maximum_readahead_seconds"));b.g("html5_force_adaptive_readahead")&&(d.A=!0);b.l("html5_allowable_liveness_drift_chunks")&&(d.g=b.l("html5_allowable_liveness_drift_chunks"));b.l("html5_readahead_ratelimit")&&(d.M=b.l("html5_readahead_ratelimit"));b.g("html5_adaptive_readahead_enable_new_method")&& | |
(d.Y=!0,b.l("html5_adaptive_readahead_loading_ratio_samples_minimum_amount")&&(d.J=b.l("html5_adaptive_readahead_loading_ratio_samples_minimum_amount")),b.l("html5_adaptive_readahead_loading_ratio_samples_average_amount")&&(d.I=b.l("html5_adaptive_readahead_loading_ratio_samples_average_amount")),b.l("html5_adaptive_readahead_loading_ratio_sample_timespan_duration")&&(d.H=b.l("html5_adaptive_readahead_loading_ratio_sample_timespan_duration")),b.l("html5_adaptive_readahead_loading_ratio_adjust_factor")&& | |
(d.F=b.l("html5_adaptive_readahead_loading_ratio_adjust_factor")),b.l("html5_adaptive_readahead_size_shorten_delta")&&(d.Z=b.l("html5_adaptive_readahead_size_shorten_delta")),b.l("html5_adaptive_readahead_size_extend_delta")&&(d.D=b.l("html5_adaptive_readahead_size_extend_delta")));switch(a.liveExperimentalContentId){case 21530001:d.g=(d.g+1)/5}this.g=d;this.A=a;this.H=c;this.o=[];this.B=0;this.C=1!=this.g.o;this.D=!1;this.F=0;b=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.Tl&& | |
b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(a.liveExperimentalContentId){case 21530001:b=1;break;case 2153E4:b=2}this.g.B&&b++;this.l=rQ(this,b)}; | |
uQ=function(a){return tQ(a)*a.l}; | |
vQ=function(a){if(a.o.length){if(1<Math.min.apply(null,a.o))return rQ(a,a.l-1);if(a.g.A)return rQ(a,a.l+1)}return a.l}; | |
rma=function(a){var b=(0,g.F)();wQ(a,b);if(a.o.length<a.g.J)return!1;b=pma(qma(a.g.I,a.o,function(a){return a[1]}),function(b){b*=a.g.F; | |
return 1<=b?1-b:1/b-1}); | |
b=rQ(a,a.g.X+(0<=b?Math.floor(b*a.g.D):Math.ceil(b*a.g.Z)));if(b==a.l)return!1;a.l=b;return!0}; | |
qma=function(a,b,c){var d=[];(0,g.B)(b,function(b){var e=c?c(b):b;d.length<a?d.push(e):(0,g.B)(d,function(a,b){a>e&&(d[b]=e,e=a)})}); | |
return d}; | |
pma=function(a,b){return Ij(a,function(a,d){return a+(b?b(d):d)},0)/a.length}; | |
wQ=function(a,b){var c=b-a.g.H,d=a.o,e=g.Ka(d,function(a){return a[0]>=c}); | |
0<=e?d.splice(0,e):d.length=0}; | |
yQ=function(a,b){var c=xQ(a);var d=a.g.g;a.D||(d=Math.max(d-1,0));d*=tQ(a);return b>=c-d}; | |
xQ=function(a){return Math.max(a.H()-uQ(a),a.A.Yb())}; | |
zQ=function(a){return(a.l-1+a.g.g)*tQ(a)}; | |
AQ=function(a,b,c){3==a.g.o&&((b=yQ(a,b),c||b)?b&&(a.C=!0):a.C=!1)}; | |
BQ=function(a,b){var c=yQ(a,b);a.D!=c&&a.R("livestatusshift",c);a.D=c}; | |
tQ=function(a){return a.A.oa?zL(a.A.oa)||5:5}; | |
rQ=function(a,b){b=Math.max(Math.max(a.g.T,Math.ceil(a.g.l/tQ(a))),b);return Math.min(Math.min(8,Math.floor(a.g.K/tQ(a))),b)}; | |
oma=function(){this.T=1;this.l=0;this.K=window.Infinity;this.M=0;this.A=!0;this.g=2;this.o=1;this.B=!1;this.C=window.NaN;this.Y=!1;this.J=50;this.I=10;this.H=3E4;this.F=.9;this.X=3;this.D=this.Z=2}; | |
DQ=function(a,b){this.F=a;this.Z=b;this.g=new CQ(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.H=window.NaN;this.T=this.l=this.I=0;this.D=window.NaN;this.X=0;this.M=!1;this.K=null;this.J=0}; | |
EQ=function(a){return{startTime:a.D/a.l,duration:a.T/a.l}}; | |
FQ=function(a){a.D=window.NaN;a.T=0;a.K=null;a.J=0}; | |
GQ=function(a){return!(0,window.isNaN)(a.C)&&a.l?a.C/a.l:a.X}; | |
HQ=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new CQ(b,d,a.g);return 8}; | |
IQ=function(a){a.l&&!(0,window.isNaN)(a.H)&&(a.C=Math.floor(a.H*a.l),a.H=window.NaN)}; | |
JQ=function(a){return 0==a.g.type||1836019574==a.g.type||1952867444==a.g.type||1936286840==a.g.type||1953653094==a.g.type||1836019558==a.g.type}; | |
KQ=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.A.push(b.getUint8(d));0<c&&a.o.push(new window.DataView(b.buffer,b.byteOffset,c))}; | |
LQ=function(a,b,c){return new dJ(b,c,a.g.size,a.g.type,!0)}; | |
CQ=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=this.version=0}; | |
sma=function(a,b){this.l=a;this.C=this.B=!1;this.length=b?b:0;this.o=0;this.g=[];this.A=null;this.length?1!=this.l.length||this.l[0].Xa||(this.l[0].Xa=this.length):1==this.l.length||(0,g.cm)(this.l,function(a){return!!a.range})}; | |
tma=function(a){var b=a.length-a.o;(0,g.B)(a.g,function(a){b+=a.range.length}); | |
return b}; | |
uma=function(a,b){this.l=a;this.g=b}; | |
MQ=function(a,b){if(0>b)return!0;var c=a.g.Qb();return b<c||b==c&&!a.l.Y||b==c&&(c=UK(a.g))&&b==c.wa?!0:!1}; | |
vma=function(a,b,c){if(!MQ(a,b))return 0;if(!a.l.g||!(0,window.isNaN)(c)&&0<c)return 2;if(0>b)return 1;c=a.g.Qb();return b<c||b==c&&(a=UK(a.g))&&b==a.wa&&!a.g?2:1}; | |
wma=function(a,b,c,d){if(MQ(a,b))return d;b=0;a.l.g&&(b=.2);return c+1E3*(a.g.l+b)}; | |
xma=function(a,b,c,d,e){b=vma(a,b,e);if(2==b)return d;d=b?0:1;a.l.g&&d++;return c+a.g.l*d*1E3}; | |
yma=function(a){this.C=a;this.A=window.NaN;this.B=[];this.o=this.g=this.l=0}; | |
zma=function(a,b,c,d,e){this.ab=null;this.l=a;this.sa=b;this.ya=c;this.X=d;this.D=e;this.ea=this.g=window.NaN;this.ra=0;this.T=this.fa=this.o=this.C=window.NaN;this.ha=this.ga=this.A=!1;this.B=0;this.ca=jM(this.l);this.Y=window.NaN;this.J=this.H=window.Infinity;this.K=window.NaN;this.na=!1;this.I=this.M=window.NaN;this.F=this.Z=null}; | |
NQ=function(a){return{rt:((0,g.F)()-a.g).toFixed(),lb:a.o.toFixed(),pt:(1E3*a.Y).toFixed(),pb:a.sa.toFixed(),stall:(1E3*a.B).toFixed(),elbowTime:(a.ea-a.g).toFixed(),elbowBytes:a.ra.toFixed()}}; | |
OQ=function(a){a.I||(a.I=a.ab(),3==a.I&&(a.Z=new yma(a.l)));return a.I}; | |
SQ=function(a,b,c,d){var e=(b-a.C)/1E3,f=c-a.o,k=OQ(a);if(3==k&&f){var l=a.Z;l.B.push({Wo:f,Mv:(0,window.isNaN)(l.A)?window.NaN:d-l.A,d5:d});l.A=d}a.A?1==k&&0<f&&(.2<e||1024>f?(a.B+=e,.2<e&&RQ(a,.05,f)):RQ(a,e,f),a.ha=!0):PQ(a,c)&&(1==k&&(d=(b-a.g)/1E3,QQ(a)||(k=a.l,k.F.g(1,d),dM(k))),a.ea=b,a.ra=c,a.A=!0);gM(a.l,e,f);a.C=b;a.o=c}; | |
RQ=function(a,b,c){b=Math.max(b,.05);a=a.l;var d=void 0;a.g.g(void 0===d?b:d,c/b);a.o=g.eG()}; | |
UQ=function(a,b,c){c=Math.round(c/1024);a.F&&a.F.push(TQ(b-a.fa,c-a.T));a.fa=b;a.T=c}; | |
PQ=function(a,b){return b?a.D&&1!=OQ(a)?!0:b>=a.l.policy.A:!1}; | |
VQ=function(a){return PQ(a,a.o)}; | |
WQ=function(a){a.K=a.g+1E3*a.ca.delay;a.na=!1}; | |
XQ=function(a,b){var c=a.X.g[0].wa;a.H=Math.min(a.H,wma(a.D,c,a.g,b));a.J=Math.min(a.J,xma(a.D,c,a.g,b,a.X.o));a.H<=a.g?WQ(a):(a.K=a.H,a.na=!0)}; | |
QQ=function(a){a.D&&XQ(a,(0,g.F)());return a.na}; | |
YQ=function(a,b){b=void 0===b?(0,g.F)():b;if(a.D){XQ(a,b);var c=a.I?a.D?1!=OQ(a):!1:a.H!=a.J;if(c){if(c=a.J,b<c){a.M=a.J;return}}else c=a.H;c=Math.max(c,a.K)}else c=a.K;var d=a.sa-a.o;0>d&&a.l.policy.C&&(d=0);d=1E3*(d*a.ca.stall+d/a.ca.byterate);d=VQ(a)?d+b:d+Math.max(b,c);a.M=d}; | |
TQ=function(a,b){for(var c="";4095<a;)c+=TQ(4095,0),a-=4095;for(;4095<b;)c+=TQ(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))}; | |
ZQ=function(a,b,c,d,e,f){this.status=0;this.I=this.response=null;this.M=d;this.B=c;this.T=e;this.D=f;this.A=[];this.o=null;this.l=this.g=0;this.Fa=Ama++;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(QD((0,g.z)(this.mV,this)),QD((0,g.z)(this.EB,this)));(0,g.F)();this.K=this.F=this.H=!1;this.J="";b()}; | |
dR=function(a,b){a.l+=b.length;var c=b.length;var d=$Q(a)?1:Math.max(aR(a)/2,16384);c=c>=d;d=b.length+a.g>aR(a);a.K?((c||d)&&0!==a.g&&bR(a),c?a.A.push(b):cR(a,b)):(cR(a,b),a.l>=($Q(a)?1:16384)&&bR(a))}; | |
bR=function(a){a.K=!0;a.A.push(a.o.subarray(0,a.g));a.g=0;a.o=a.H?null:new window.Uint8Array(aR(a))}; | |
cR=function(a,b){if(b.length+a.g>aR(a)){var c=new window.Uint8Array(a.g+b.length);c.set(a.o,0);a.o=c}a.o.set(b,a.g);a.g+=b.length}; | |
eR=function(a){a.C.read().then(QD((0,g.z)(a.WQ,a)),QD((0,g.z)(a.EB,a)));(0,g.F)()}; | |
gR=function(a){if(a.B){a.H=!0;if(fR(a)&&!a.A.length&&!a.g&&!a.F&&a.l){qQ(a);if(!a.o||8>a.o.length)a.o=new window.Uint8Array(8);var b=new window.DataView(a.o.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.g=8;a.l+=8}a.M()}}; | |
$Q=function(a){return a.D.La&&a.D.g&&qQ(a)}; | |
fR=function(a){return a.D.Dd&&a.D.g&&qQ(a)}; | |
aR=function(a){a=a.qo()||0;return Math.max(16384,.125*a)}; | |
hR=function(a,b,c,d,e){this.status=0;this.response=null;this.l=this.o=!1;this.g=new window.XMLHttpRequest;this.g.open("GET",a);this.g.responseType="arraybuffer";this.g.withCredentials=!0;this.g.onreadystatechange=(0,g.z)(this.oO,this);this.A=d;this.C=c;this.B=e;a=QD((0,g.z)(this.mO,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",QD((0,g.z)(this.nO,this)),!1)}; | |
iR=function(a,b,c,d){this.o=a;this.info=b;this.timing=c;this.X=d;this.state=1;this.g=this.Z=null;this.D=this.M=0;this.T=new g.Wt(this.wV,a.I,this);this.B=this.A=this.F=null;this.C=0;this.J=this.l=null;this.K=0;this.Y=this.I=!1;this.H=this.o.ab&&(LK(this.info)||KK(this.info))}; | |
Bma=function(a,b){a.F=b}; | |
jR=function(a){return a.A?vK(a.A.g):""}; | |
kR=function(a){var b=NQ(a.timing);b.shost=jR(a);b.rn=a.M.toString();a.C&&(b.rc=a.C.toString());b.itag=""+RH(a.info.g[0].g.info);b.ml=""+ +a.info.g[0].g.Mc();b.sq=""+a.info.g[0].wa;410!=a.C&&500!=a.C&&503!=a.C||(b.fmt_unav="true");a.g&&a.g.yu()&&(b.msg=a.g.yu());return b}; | |
lR=function(a){jR(a);return sK(a.X,jR(a))}; | |
nR=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.F)();c=c>b.g&&4E12>c?c:(0,g.F)();UQ(b,c,1024*b.T);var d=(c-b.g)/1E3;if(2!=OQ(b))if(VQ(b))b.B+=(c-b.C)/1E3,eM(b.l,b.o,b.B);else{if(!QQ(b)){var e=b.l;e.F.g(1,d);dM(e)}b.ea=c}e=b.l;var f=b.Y,k=KK(b.X);e.D.g(d,b.o/d);e.o=g.eG();k||e.l.g(1,d-f);gM(b.l,(c-b.C)/1E3,0)}else(0,g.F)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=lR(a),b.l+=1):(b=lR(a),b.g+=1),a.info.l.g++);mR(a,7)}; | |
oR=function(a){if(1==a.state)return!0;a=lR(a);return 100>a.l&&6>a.g}; | |
mR=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.A&&(c.A=!1)}a.F&&a.F(a)}; | |
qR=function(a,b){if(b){var c=lR(a);c.A+=1}pR(a);a.B="net.timeout";nR(a)}; | |
rR=function(a){return(0,g.cm)(a.info.g,function(a){return 3==a.type})}; | |
pR=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.A&&(a.A=!1)}; | |
tR=function(a){var b=a.g.ge("content-type"),c=a.g.qo();(b=(!sR(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&sR(a)&&$Q(a.g);return b}; | |
Cma=function(a,b){var c=(0,g.z)(a.UU,a),d=(0,g.z)(a.XU,a),e=(0,g.z)(a.WU,a),f=(0,g.z)(a.VU,a);return a.o.D&&(a.o.Fw&&!(0,window.isNaN)(a.info.o)&&a.info.o>a.o.nn?0:pQ()&&rR(a))?new ZQ(b,d,e,c,f,a.o):new hR(b,d,e,c,f)}; | |
sR=function(a){return a.g?a.g.SE():!1}; | |
uR=function(a){return 2<=a.state&&!!a.l&&!!a.l.g.length}; | |
vR=function(a,b){if(b||sR(a)&&!tR(a)){if(!a.l){var c;sR(a)||(c=a.g.gs());a.l=new sma(a.info.g,c)}for(;a.g.Ai();){c=a.l;for(var d=a.g.IE(),e=b&&!a.g.Ai(),f=0,k=0,l=g.ma(c.l),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Xa<=c.o)f+=m.Xa;else{var n=c,p=m;if(1==p.type){n.B=!0;var r=!1}else 3==p.type||4==p.type?(p=n.B&&!n.C,n.C=!0,r=p):r=!1;n=c;var v=c.o-f,D=k;p=d;r=r||m.g.dB();var H=p.length-D;m.range&&(H=Math.min(m.Xa-v,H));v=QJ(m,m.l+v,H,m.range?m.l+v+H==m.range.length:!!e);var L=IJ(p.byteOffset, | |
p.length);D=IJ(p.byteOffset+D,H);n.g.push(new jK(v,p.buffer,D,L,r));n=H;c.o+=n;k+=n;f+=m.Xa;if(k==d.length)break}}}}; | |
Dma=function(a){if(!a.o.g||!(0,window.isNaN)(a.info.o)&&0<a.info.o)return!1;if(!a.g||!a.g.Kl())return!0;if(!qQ(a.g))return!1;if((0,window.isNaN)(a.info.o)){var b=a.g.ge("x-head-seqnum");if(b&&(0,window.parseInt)(b,10)>a.info.g[0].wa)return!1}return!0}; | |
wR=function(a){for(var b=new window.Uint8Array(0),c=new window.DataView(a.buffer,a.byteOffset,a.length),d=0;d<a.length-8;){var e=c.getUint32(d);if(1>=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new window.Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b}; | |
Ema=function(a){a=FJ(a,1886614376);(0,g.B)(a,function(a){return!a.l}); | |
return(0,g.G)(a,function(a){return new window.Uint8Array(a.data.buffer,a.offset+a.data.byteOffset,a.size)})}; | |
Fma=function(a){var b=Ij(a,function(a,b){return a+b.length},0),c=new window.Uint8Array(b),d=0; | |
(0,g.B)(a,function(a){c.set(a,d);d+=a.length}); | |
return c}; | |
xR=function(a){return g.he(a,!0).replace(/[\.]{1,2}$/,"")}; | |
yR=function(a,b,c){g.FF.call(this);this.D=0;this.o=a;this.g=[];this.A=null;this.J=b;this.X=c;this.B=this.F=window.NaN;this.M=null;this.Z=(0,g.z)(function(a){this.o.AF&&(this.R("timestamprewrite",a),this.o.AF=!1)},this); | |
this.T=this.I=this.C=this.l=null;this.K=!1;this.H=null;this.o.X&&(this.l=new DQ(this.o,this.X))}; | |
zR=function(a){return a.g.length?a.g[0]:null}; | |
AR=function(a){return a.g.length?a.g[a.g.length-1]:null}; | |
Hma=function(a,b,c){b=Gma(a,b,c);(0,g.B)(b,function(b){a.g.push(b)})}; | |
Ima=function(a){if(!a.g.length)return 0;for(var b=a.g[0].A.length,c=1;c<a.g.length;c++)a.g[c].g!=a.g[c-1].g&&(b+=a.g[c].A.length);a.A&&(b+=a.A.A.length);return b}; | |
BR=function(a){return(0,g.G)(a.g,function(a){return a.info})}; | |
CR=function(a,b){a.K=!1;a.H&&!a.o.Xb&&a.R("placeholderrollback",a.H);a.H=null;if(a.l){var c=(0,window.isNaN)(a.B)?b.g[0].range?b.g[0].B:(0,window.isNaN)(a.l.D)?GQ(a.l):EQ(a.l).startTime:a.B;a.l.reset();a.I=a.T;a.B=c}a.C=null}; | |
DR=function(a){return a.l?GQ(a.l):a.F||0}; | |
Gma=function(a,b,c){if(!c.verify()||c.info.g.It()){var d=OJ(c.info);d.verification="1";a.R("error",d||{})}c.l&&c.info.g.info.video&&PK(c.info.g,kK(c));c.info.o&&(a.T=c.info);if(!a.J.Qf()){2==c.info.g.info.containerType&&(d=kK(c),c.l&&c.info.g.info.video&&aK(d));a.C&&RJ(c.info,a.C);!a.I||(a.o.Vg?MJ(a.I,c.info,!0):NJ(a.I,c.info))||(a.l&&a.l.reset(),a.F=window.NaN,a.D=0);a.I=c.info;if(a.l)b:{var e;(e=!(0,window.isNaN)(a.B))||(e=a.l,e=!(!(0,window.isNaN)(e.C)||!(0,window.isNaN)(e.H)));e&&(e=a.l,e.H=(0,window.isNaN)(a.B)? | |
(0,window.isNaN)(a.F)?c.info.startTime:a.F:a.B,IQ(e),a.B=window.NaN);e=kK(c);e=a.l.process(e);if(d=c.info.o)d=a.l,d=!(0==d.g.type&&!d.A.length);d&&!a.o.Wg&&(d=OJ(c.info),d.partialbox="1",a.R("error",d||{}));var f=b.timing;d=!!c.info.l&&1936286840!=e&&!(a.o.Dd&&1936419184==e);var k=c.info.o;if(3==OQ(f)&&(e=f.Z,e.B.length)){f=e.B.shift();var l=f.Mv;d||(f.Wo-=Math.min(f.Wo,1500),f.Mv=0);e.l+=f.Wo;e.g+=f.Mv;e.o+=(0,window.isNaN)(l)?0:l;k&&(0>=e.g||(d=e.C,k=e.g/1E3,f=e.o/1E3,d.g.g(void 0===f?k:f,e.l/k), | |
d.o=g.eG()),e.g=0,e.l=0,e.o=0)}if(a.o.Ow&&a.o.g){if(!a.l.M&&!c.info.o){c=null;break b}}else if((0,window.isNaN)(a.l.D)){c=null;break b}e=a.l;f=c.info.g.info;if(e.o.length)if(e.M=!1,e.F.F||1!=e.o.length){d=0;l=g.ma(e.o);for(k=l.next();!k.done;k=l.next())d+=k.value.byteLength;if(e.F.F){if(!e.K||e.K.length-e.J<d)e.K=new window.Uint8Array(Math.max(d,e.F.ij+Math.round(f.g*e.F.hj))),e.J=0;f=e.K;l=e.J}else f=new window.Uint8Array(d),l=0;var m=l,n=g.ma(e.o);for(k=n.next();!k.done;k=n.next())k=k.value,f.set(new window.Uint8Array(k.buffer, | |
k.byteOffset,k.byteLength),l),l+=k.byteLength;e.o.length=0;e.F.F&&(e.J=l);e=new window.DataView(f.buffer,m,d)}else d=e.o[0],e.o.length=0,e=d;else e=null;e?(d=IJ(e.byteOffset,e.byteLength),k=a.o.F?IJ(0,e.buffer.byteLength):d,f=c.info.l+c.info.Xa-a.l.A.length-e.byteLength,l=QJ(c.info,f,e.byteLength,c.info.o),c=new jK(l,e.buffer,d,k,c.l&&(!a.o.F||!f))):c=null}else a.o.Ga?e=a.X(nK(c),1):e=(0,window.isNaN)(a.B)?(0,window.isNaN)(a.F)?c.info.startTime:a.F:a.B,a.B=window.NaN,oK(c,e)?a.F=e+pK(c):(e=OJ(c.info), | |
e.smst="1",a.R("error",e||{}));if(!c)return[];ER(a,c)&&(qK(c),c.o&&(a.C=c.o,a.K=!!a.l,RJ(c.info,a.C),RJ(a.I,a.C)));ER(a,c)&&g.VH(c.info.g.info)&&EJ(kK(c),1701671783);k=c;if(a.C)if(k.info.o){a.K=!1;a.H=null;d=a.C;a.l?(k=EQ(a.l),FQ(a.l),e=k.startTime,k=k.duration):(e=nK(k),k=pK(k));k=new $I(d.l,e,k,d.ingestionTime,"sq/"+d.l,void 0,void 0,!1);a.R("segmentinfo",k);if(f=d.g["Cuepoint-Type"]?new mJ((0,window.parseFloat)(d.g["Cuepoint-Playhead-Time-Sec"])||0,(0,window.parseFloat)(d.g["Cuepoint-Total-Duration-Sec"])|| | |
0,d.g["Cuepoint-Context"],d.g["Cuepoint-Identifier"]||"",Jma[d.g["Cuepoint-Event"]||""]||"unknown"):null)f.Ze+=e,a.R("cuepoint",f,d.l);e=k}else a.K&&!(0,window.isNaN)(a.l.D)?(e=a.C,d=EQ(a.l).startTime,e=new $I(e.l,d,a.C.F,e.ingestionTime,"sq/"+e.l,void 0,void 0,!0),a.H=e,a.R("placeholderinfo",e),a.K=!1):e=null;else e=null;d=c;if(a.o.ln)if(e)for(SJ(d.info,e),b=g.ma(b.info.g),d=b.next();!d.done;d=b.next())SJ(d.value,e);else a.H&&SJ(d.info,a.H);c.info.o&&(a.C=null)}b=c;if(e=a.o.Jw&&!a.J.Qf()&&!(0!=b.info.l&& | |
!a.A)&&g.VH(b.info.g.info)&&3==b.info.type)e=!(g.VH(b.info.g.info)?b.o&&b.o.D&&rJ(new window.DataView(b.g),0,1718909296):$J(new TJ(new window.DataView(b.g))));if(e&&b.info.duration&&!a.o.X&&(b=c,a.D+=1E3*(pK(b)-b.info.duration),a.M&&Math.abs(a.D-a.M.D)>=a.o.mn))return b=c,c=(a.M.D-a.D)/1E3,e=pK(b)+c,d=new window.DataView(b.g),d=(d=g.tJ(d,1936286840))?CJ(d):window.NaN,(0,window.isNaN)(d)&&(d=b.info.g.g,k=new window.DataView(b.g),d=(k=g.tJ(k,1836476516))?uJ(k):d?vJ(d):window.NaN),(d=FR(a,b,e*d))&&d.length&& | |
(k=OJ(b.info),k.fds=e.toFixed(3),k.com=a.D.toFixed(3),a.R("timestamprewrite",k),a.F+=c,a.D+=1E3*c),d?d:GR(a,b);if(a.o.Cd&&a.J.Qf()&&(0==c.info.l||a.A)&&g.VH(c.info.g.info))return b=c,c=b.info.g.index.ms(b.info.wa),(c=FR(a,b,c))?c:GR(a,b);HR(a,c);return[c]}; | |
HR=function(a,b){if(a.J.info.Uc)if(2==b.info.g.info.containerType){var c=new TJ(kK(b));if(VJ(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=YJ(c,!0);c=16!=d?null:eK(c,d)}else c=null;c&&a.R("drmInfo","webm",c)}else b.info.F=Ema(kK(b)),c=Fma(b.info.F),0<c.length&&a.R("drmInfo","cenc",c)}; | |
ER=function(a,b){return!a.J.Qf()&&0==b.info.l&&(g.VH(b.info.g.info)||2==b.info.g.info.containerType)}; | |
GR=function(a,b){if(a.A&&a.A!=b){var c=[a.A,b];a.A=null;return c}return[]}; | |
FR=function(a,b,c){if(a.A){var d=a.A;var e=new window.Uint8Array(d.range.length+b.range.length);e.set(new window.Uint8Array(d.g,d.range.start,d.range.length));e.set(new window.Uint8Array(b.g,b.range.start,b.range.length),d.range.length);d=new window.DataView(e.buffer);DJ(d)}else d=kK(b),e=DJ(d),e&&e<d.byteLength||(a.A=b,d=null);if(!d)return null;c=pka(d,c,a.Z);if(!c)return null;d=DJ(d);a.A&&(d-=a.A.range.length,a.A=null);a=mK(b,d);a[0].g=c;a[0].range=IJ(0,c.byteLength);a[0].A=IJ(0,c.byteLength);b= | |
a[0];c=new window.DataView(c);c=!!rJ(c,0,1836019574);b.l=c;return a}; | |
IR=function(a,b,c){this.l=b;this.A=[];this.o=new yR(a,b,c);this.M=this.B=this.g=null;this.J=0;this.H=b.info.g;this.F=!1;this.I=0;this.D=b.Xj();this.C=-1;this.Ik=this.D?0:window.NaN}; | |
JR=function(a,b){a.A.push(b);a.g=g.Ja(b.info.g)}; | |
LR=function(a){for(;a.A.length&&6==a.A[0].state;){var b=a.A.shift();KR(a,b);b=b.timing;a.J=(b.C-b.g)/1E3}a.A.length&&uR(a.A[0])&&!KK(a.A[0].info)&&KR(a,a.A[0])}; | |
KR=function(a,b){if(uR(b)){b.I=!0;var c=b.l,d=c.g;c.g=[];c.A=g.Ja(d).info;(0,g.B)(d,(0,g.z)(a.T,a,b))}}; | |
OR=function(a,b){a.l.Mc();var c=MR(a,b);if(0<=c)return c;a.g=a.l.Bg(b).g[0];NR(a)&&(a.B=null);a.I=0;return a.g.startTime}; | |
PR=function(a){var b=0;(0,g.B)(a.A,function(a){var c=b;a=a.l&&a.l.length?tma(a.l):NK(a.info);b=c+a},a); | |
return b+=Ima(a.o)}; | |
RR=function(a){QR(a);a.o.g=[]}; | |
SR=function(a,b){var c;for(c=0;c<a.A.length&&b!==a.A[c];c++);if(c==a.A.length)b.I&&CR(a.o,b.info),b.dispose();else{for(;c<a.A.length;){var d=a.A.pop();d.I&&CR(a.o,d.info);d.dispose()}3==b.info.g[0].type?(b.l&&b.l.A?(c=b.l.A,c=new KJ(c.type,c.g,c.range,c.wa,c.startTime+c.duration,0,c.l+c.Xa,0,!1)):(c=b.info.g[0],c=new KJ(c.type,c.g,c.range,c.wa,c.startTime,0,c.l,0,!1)),a.g=c):a.g=null}}; | |
NR=function(a){return!!a.B&&a.B.C}; | |
TR=function(a){var b=[];a.B&&b.push(a.B);b=g.Wa(b,BR(a.o));(0,g.B)(a.A,function(a){(0,g.B)(a.info.g,function(c){a.I&&(b=(0,g.Kd)(b,function(a){return!(a.g!=c.g?0:a.range&&c.range?a.range.start+a.l>=c.range.start+c.l&&a.range.start+a.l+a.Xa<=c.range.start+c.l+c.Xa:a.wa==c.wa&&a.l>=c.l&&(a.l+a.Xa<=c.l+c.Xa||c.o))})); | |
3!=c.type&&4!=c.type||b.push(c)})}); | |
a.g&&!rka(a.g,g.Ja(b),a.g.g.Qf())&&b.push(a.g);return b}; | |
UR=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!NJ(a[c-1],a[c]))return!1;return!0}; | |
MR=function(a,b,c){c=void 0===c?!1:c;if(!a.g||!a.g.Xa)return window.NaN;a=TR(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var k=a[f];if(k.B<=b)if(d)e=f;else if(k.startTime+k.duration>=b){b=f;break a}}b=e}return 0>b||!UR(a,c?b:0)?window.NaN:a[b].startTime}; | |
VR=function(a){return(0,g.Aj)(a.A,function(a){return 4<=a.state})}; | |
WR=function(a){return!(!a.g||a.g.g==a.l)}; | |
XR=function(a){return WR(a)&&a.l.Mc()&&a.g.g.info.g<a.l.info.g}; | |
YR=function(a,b,c){return(a=AR(a.o)?AR(a.o).info:a.B)&&!a.C?a.A>b&&a.A<b+c:!1}; | |
QR=function(a){(0,g.B)(a.A,function(a){a.I&&CR(this.o,a.info);a.dispose()},a); | |
a.A=[];a.g=null}; | |
ZR=function(a){return!!a.g&&-1!=a.g.wa&&a.g.wa<a.l.index.kf()}; | |
$R=function(a){if(a.g){var b=AR(a.o);b&&3==b.info.type&&-1==a.g.wa&&(a.g.wa=b.info.wa)}}; | |
aS=function(a){return(0,g.Aj)(a.A,function(a){return a.H})}; | |
Kma=function(a,b){this.l=a;this.g=b;this.o=1}; | |
Lma=function(a,b){var c=Math.min(2.5,fM(a.l)),d=bS(a);return b-c*d}; | |
dS=function(a,b,c,d,e){e=void 0===e?!1:e;d/=a.o;var f=1/g.iM(a.l);var k=.9*(d-a.g.Da);k=Math.max(k,fM(a.l)+a.l.policy.A*f);c=k/f*a.g.Dw/(b+c);a.g.Tg&&(d-=a.g.Da);c=Math.min(c,d);a.g.sb&&e&&(c=Math.max(c,a.g.sb));return cS(a,c,b)}; | |
cS=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.g.Bw*c),Math.min(Math.min(a.g.M,a.g.ya*c),Math.ceil(b*c))))}; | |
Mma=function(a,b){var c=cS(a,b.video?a.g.bx:a.g.rg,b.g);return a.g.Lf&&b.video?Math.max(c,a.g.Lf):c}; | |
bS=function(a){var b=g.iM(a.l);if(a.g.Vh)return b;var c=a.g.yw,d=1E-9+fM(a.l);b*=Math.min(1,c/(b*d));a.g.Kf&&(c=((cM(a.l.l,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.g.Kf*c);return b}; | |
eS=function(a){return bS(a)/a.o}; | |
Nma=function(a,b,c,d){this.X=a;this.D=b;this.C=c;this.F=d;this.B=WI;this.o=this.J=null;this.H="i";this.M=-1;this.l=this.A=null;this.g=[];this.T={};this.I=0;this.K=this.Y=!1;this.Z=0}; | |
Oma=function(a,b,c){if(TI(a.B,b))return null;a.D.Oc&&(c=b.reason);"m"==b.reason&&a.B.isLocked()&&!b.isLocked()&&(c="a");if("m"==b.reason&&b.isLocked())return a.H=c,fS(a,b),a.I=a.g.length-1,gS(a),hS(a),a.K=a.K||a.o!=a.l,a.o=a.l,new mQ(a.A,a.o,c);"r"==b.reason&&(a.M=-1);fS(a,b);hS(a);if("r"==b.reason&&a.l==a.o)return new mQ(a.A,a.l,c);a.H=c;a.o&&a.l&&iS(a,a.o.info)<iS(a,a.l.info)&&(b=a.B.reason,a.Y=a.Y||"r"==b||"u"==b||"v"==b);return null}; | |
Pma=function(a,b){if(b.info.video){if(a.o!=b)return a.o=b,jS(a)}else a.J=b;return null}; | |
kS=function(a,b){b.H=g.eG();a.M=-1;fS(a,a.B)}; | |
lS=function(a){for(var b=g.eG()-6E4,c=g.ma(a.F.videoInfos),d=c.next();!d.done;d=c.next())if(a.C.g[d.value.id].H>b)return!0;return!1}; | |
mS=function(a){return a.B.isLocked()}; | |
jS=function(a){var b=a.H;a.H="a";a.M=g.eG();a.Y=!1;return new mQ(a.J,a.o,b)}; | |
fS=function(a,b){a.B=b;var c=a.F.videoInfos;if(!mS(a)){var d=g.eG()-6E4;c=(0,g.Kd)(c,function(a){if(a.g>this.D.H)return!1;a=this.C.g[a.id];return a.H>d?!1:4<a.A.g||4<a.F||a.B?!1:!0},a); | |
if(lS(a)){var e=(0,g.Kd)(c,function(a){a=RH(a);return"140"==a||"134"==a||"243"==a}); | |
e.length&&(c=e)}}c.length||(c=a.F.videoInfos);e=(0,g.Kd)(c,b.A,b);e.length||(e=[c[0]]);e.sort((0,g.z)(function(a,b){return iS(this,a)-iS(this,b)},a)); | |
for(c=1;c<e.length;c++){var f=e[c-1],k=e[c];f.video.width>k.video.width?(g.Ta(e,c),c--):iS(a,f)*a.D.l>iS(a,k)&&(g.Ta(e,c-1),c--)}c=e[e.length-1];a.g=e;vka(a.D,c)}; | |
Qma=function(a,b){if(b)a.A=a.C.g[b];else{var c=g.La(a.F.g,function(a){return!!a.Gb&&a.Gb.isDefault}); | |
c=c||a.F.g[0];a.A=a.C.g[c.id]}gS(a)}; | |
gS=function(a){if(!a.A.info.Gb&&(a.A=a.C.g[a.F.g[0].id],1<a.F.g.length)){if(a.B.isLocked())var b=240>a.B.g;else{for(b=0;b+1<a.g.length&&"tiny"==a.g[b].video.quality;)b++;var c=eS(a.X)/a.D.l;b=iS(a,a.A.info)+iS(a,a.g[b])>c}b&&(a.A=a.C.g[a.F.g[1].id])}}; | |
hS=function(a){if(mS(a))a.l=a.C.g[a.g[a.g.length-1].id];else{for(var b=Math.min(a.I,a.g.length-1),c=eS(a.X),d=iS(a,a.A.info),e=c/a.D.A-d;0<b&&!(iS(a,a.g[b])<=e);b--);for(c=c/a.D.l-d;b<a.g.length-1&&!(iS(a,a.g[b+1])>=c);b++);a.l=a.C.g[a.g[b].id];a.I=b}}; | |
Rma=function(a){var b=a.D.A,c=eS(a.X)/b-iS(a,a.A.info);b=g.Ma(a.g,function(a){return iS(this,a)<c},a); | |
0>b&&(b=0);a.I=b;a.l=a.C.g[a.g[b].id]}; | |
iS=function(a,b){if(!a.T[b.id]){var c=a.C.g[b.id].index.qz(a.Z,15);c=b.A&&a.o&&a.o.index.Kb()?c||b.A:c||b.g;a.T[b.id]=c}return a.T[b.id]}; | |
Sma=function(a,b){var c=Wb(a.C.g,function(a){return RH(a.info)==b}); | |
if(!c)throw Error("Itag "+b+" from server not known.");return c}; | |
Tma=function(a){var b=[];if("s"==a.B.reason||"m"==a.B.reason)return b;var c=!1;if(Mka(a.C)){for(var d=Math.max(0,a.I-2);d<a.I;d++){var e=RH(a.g[d]);OH(a.g[d].video)||(c=!0);b.push(e)}b.reverse();if(!c&&a.D.RD)for(d=Math.max(0,a.I-3);0<=d&&!c;d--)OH(a.g[d].video)||(c=!0,b.push(RH(a.g[d])))}return b}; | |
Uma=function(){this.g=this.l=0;this.o=[]}; | |
nS=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]}; | |
oS=function(a,b,c,d){this.l=a;this.C=b;this.B=d;this.A=c;this.g=0}; | |
pS=function(a,b,c,d){g.FF.call(this);this.g=a;this.T=b;this.M=c;this.J=d;this.K=window.NaN;this.o=this.H=this.B=null;this.l=this.D=this.F=this.C=window.NaN;this.A=!1;this.I=window.NaN}; | |
Vma=function(a,b,c,d){return a.J&&a.g&&a.D&&pQ()&&(!a.Uw||a.sa)?new pS(a,b,c,d):null}; | |
qS=function(a,b){if(a.g.Rw){var c=b.info.g;if(0>=c)a.I=window.NaN;else{var d=g.iM(a.T),e=b.index.l;c=Math.max(1,d/c);a.I=Math.round(1E3*Math.max(((c-1)*e+a.g.T)/c,e-a.g.Sa))}}}; | |
Wma=function(a,b){var c=(0,g.F)()/1E3,d=c-a.C,e=c-a.F,f=e>=a.g.Ed,k=!1;if(f){var l=0;!(0,window.isNaN)(b)&&b>a.D&&(l=b-a.D,a.D=b);l/e<a.g.Tw&&(k=!0);a.F=c}c=d>=a.g.Sa&&!a.A;if(!f&&!c&&rS(a,b))return window.NaN;c&&(a.A=!0);a:{d=k;c=(0,g.F)()/1E3-(a.M.l()||0)-a.H.o-a.g.T;f=a.o.startTime;c=f+c;if(d){if((0,window.isNaN)(b)){sS(a,window.NaN,"n",b);f=window.NaN;break a}d=b-a.g.Na;d<c&&(c=d)}else a.A&&(d=c+a.g.T-a.K+a.g.Xw,(0,window.isNaN)(b)||(d=Math.max(d,Math.min(c,b-a.g.Na))),c=d);f=c=Math.max(c,f)}a.l= | |
f;if((0,window.isNaN)(a.l))return tS(a),window.NaN;if(!k&&rS(a,b))return uS(a,b),window.NaN;if(a.l<=a.o.startTime)return sS(a,window.NaN,"y",b),tS(a),window.NaN;if(!a.J(a.l,!1))return!uS(a,b)&&k&&(sS(a,window.NaN,"t",b),tS(a)),window.NaN;k=a.l;sS(a,k,"s",b);tS(a);return k}; | |
uS=function(a,b){return a.J(a.l,!0)?!1:(sS(a,window.NaN,"ns",b),tS(a),!0)}; | |
rS=function(a,b){return(0,window.isNaN)(b)?!0:(0,window.isNaN)(a.l)?!1:b<a.l+(a.A?a.g.Na:a.g.Sw)}; | |
tS=function(a){a.B=null;a.H=null;a.o=null;a.C=window.NaN;a.F=window.NaN;a.D=window.NaN;a.l=window.NaN;a.A=!1}; | |
sS=function(a,b,c,d){var e=kR(a.B);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.l).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.C).toFixed(0);e.ssr_n=(0,g.F)().toFixed(0);e.ssr_f=(1E3*a.H.o).toFixed(0);e.ssr_fa=a.A?"1":"0";e.ssr_o=(1E3*a.M.l()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.o.g.index;TK(b,a.o.wa,!0)&&(e.ssr_ist=(1E3*b.Qd(a.o.wa)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.o.wa)).toFixed(0));e=ZM(e);a.R("ctmp","ssr",e,!1)}; | |
Xma=function(){this.g=[];this.l=g.dQ}; | |
vS=function(a,b){for(var c=[],d=g.ma(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c}; | |
Yma=function(a){return a.g.slice(wS(a,0x7ffffffffffff),a.g.length)}; | |
wS=function(a,b){var c=fb(a.g,function(a){return b-a.start||1}); | |
return 0>c?-(c+1):c}; | |
xS=function(a,b){for(var c=window.NaN,d=g.ma(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&((0,window.isNaN)(c)||e.end<c)&&(c=e.end),e.start>b&&((0,window.isNaN)(c)||e.start<c)){c=e.start;break}return c}; | |
yS=function(a,b,c,d){g.M.call(this);this.A=window.NaN;this.H=!1;this.F=null;this.I=this.J=this.C=!1;this.Z=a;this.X=b;this.K=c;this.M=d;this.T=new g.Wt(this.o,250,this);g.N(this,this.T);this.D=new g.Wt(this.o,0,this);g.N(this,this.D);this.l=[];this.g=new Xma}; | |
zS=function(a,b){a.o();var c=a.g;if(1<b.length&&b.length>c.g.length)c.g=c.g.concat(b),c.g.sort(c.l);else for(var d=g.ma(b),e=d.next();!e.done;e=d.next())e=e.value,!c.g.length||0<c.l(e,c.g[c.g.length-1])?c.g.push(e):g.jb(c.g,e,c.l);a.A=window.NaN;a.o()}; | |
AS=function(a){return a.ka()?[]:a.g.g}; | |
Zma=function(a,b){var c=(0,g.Kd)(AS(a),function(a){return a.namespace==b}); | |
a.B.apply(a,c);return c}; | |
$ma=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.l.indexOf(e)&&(a.l.push(e),c.push([1,e]))}return c}; | |
ana=function(a,b){var c=[];if(!b.length)return c;b.sort(g.dQ);for(var d=0;d<b.length;d++){var e=b[d];a.l.splice(a.l.indexOf(e),1);c.push([2,e])}return c}; | |
BS=function(){var a=this;this.l=this.g=null;this.o=new g.Xf(function(b,c){a.g=b;a.l=c})}; | |
DS=function(a,b,c,d,e){g.FF.call(this);var f=this;this.J=a;this.l=b;this.C=c;this.vb=e||null;this.g=this.o=null;this.H=new Kma(a,b);this.A=null;this.D=new Nma(this.H,b,this.C,d);this.X=new g.Wt(this.we,0,this);g.N(this,this.X);this.ha=new g.Wt(this.we,1E3,this);g.N(this,this.ha);this.Wb=new g.Wt(this.we,void 0,this);g.N(this,this.Wb);this.Sa=new g.Wt(this.we,1E4,this);g.N(this,this.Sa);this.B=window.NaN;this.K=!1;this.I=window.NaN;this.sb=0;this.M=this.ra=this.T=!1;this.Xb={};this.ga="";this.sa=this.ya= | |
0;this.Wa=b.Vz?new Uma:null;this.La=new $L(5);this.Z={};this.Ga="";this.Da=window.NaN;this.Y=!1;(this.F=Vma(this.l,this.J,this.La,function(a,b){if(f.g.l.Mc()&&f.o.l.Mc()&&f.A&&f.A.l&&f.A.g)if(b&&f.C.l&&(-1==f.g.C||-1==f.o.C))var c=!0;else c=CS(f.g,a,f.A.l,b),(0,window.isNaN)(c)?c=!1:(c=CS(f.o,f.l.sa?a:c,f.A.g,b),c=(0,window.isNaN)(c)?!1:!0);else c=!1;return c}))&&this.F.subscribe("ctmp",this.vf,this); | |
this.Nb=window.NaN;this.ca=this.tb=null;this.Na=window.NaN}; | |
ES=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.B;var c=a.g;var d=a.D;var e=d.l&&d.l.index.Cg(b)||0;d.Z!=e&&(d.T={},d.Z=e,fS(d,d.B));e=!mS(d)&&-1<d.M&&g.eG()-d.M<1E3*d.D.no;var f=3*iS(d,d.l.info)<eS(d.X);if(!e||f)gS(d),hS(d),d.K=d.K||d.l!=d.o;d.l.index.Kb()||(d.Z=-1);d=d.l;c.l!=d&&(c.l=d);c=a.o;d=a.D.A;c.l!=d&&(c.l=d)}; | |
FS=function(a,b){a.T=!0;a.ra=b}; | |
g.GS=function(a,b){if(a.l.ax){var c=a.g.l.info.mimeType,d=a.l.En;b.g=new nI(new mI(uI(b,a.o.l.info.mimeType)),d);b.l=new nI(new mI(uI(b,c)),d)}else c=a.g.l.info.mimeType,b.g=new mI(uI(b,a.o.l.info.mimeType)),b.l=new mI(uI(b,c));a.A=b;a.o.F=!1;a.g.F=!1;a.o.B=null;a.g.B=null;a.resume();yI(b)&&(b.g.addEventListener("updateend",(0,g.z)(a.we,a)),b.l.addEventListener("updateend",(0,g.z)(a.we,a)),b.g.addEventListener("error",(0,g.z)(a.Ap,a,!0)),b.l.addEventListener("error",(0,g.z)(a.Ap,a,!1)));a.Zc("msa"); | |
YN("msa");TN.measure&&TN.getEntriesByName("mark_vta").length&&TN.measure("measure_vta_to_msa","mark_vta");a.na&&a.fa&&(c=g.x("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.l.kn&&a.vf("toff",""+a.A.g.supports(1),!0);a.we()}; | |
IS=function(a){a.A&&a.A.g&&a.A.g.supports(3)&&(a.A.g.removeEventListener("updateend",(0,g.z)(a.we,a)),a.A.l.removeEventListener("updateend",(0,g.z)(a.we,a)),a.A.g.removeEventListener("error",(0,g.z)(a.Ap,a,!0)),a.A.l.removeEventListener("error",(0,g.z)(a.Ap,a,!1)));a.A=null;FS(a,!1);HS(a)}; | |
JS=function(a){a.A&&vI(a.A)&&IS(a)}; | |
LS=function(a,b,c){if(a.T&&(!kM(a.J)||a.ra))return!1;if(a.C.l){if(1<a.l.tb&&0<b.A.length&&b.g&&-1==b.g.wa||b.A.length>=a.l.tb&&!a.l.Hb||!a.l.fE&&0<b.A.length&&!a.l.g)return!1;if(b.D)return!(0,window.isNaN)(a.Da)}if(aS(b))return!1;if(!(b.g||a.C.l&&a.l.Hb&&b.D)){if(!b.l.Mc())return!1;OR(b,a.B)}var d=b.A.length+c.A.length;(VR(b)||VR(c)||a.l.Hd&&(!a.l.Hb||!b.A.length))&&--d;if(d+1>=a.l.pn)return!1;d=b.g;if(!d)return!0;if(!HK(d.g.A))return!1;4==d.type&&d.g.Mc()&&(b.g=g.Ja(d.g.Wp(d)),d=b.g);!d.C&&!d.g.Jg(d)|| | |
d.g.info.audio&&4==d.type?a=!1:XR(b)&&!a.l.Z?a=!0:(!(c=d.C||PR(b)&&PR(b)+PR(c)>a.l.ga||!!(c.g&&!c.g.C&&c.g.A<d.A)&&(!a.C.l||c.g.A&&d.A))&&(c=3==d.type)&&(d=d.A,b=KS(a,b,!0),!mS(a.D)&&0<a.l.Fd&&(c=(g.eG()-a.sb)/1E3,b=Math.min(b,a.l.Fd+a.l.Gd*c)),b=a.B+b,a.l.zc?(c=Math.min(b,bna(a)+a.l.zc),c!=b&&a.vf("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a}; | |
MS=function(a,b,c){if((!a.A||tI(a.A)||yI(a.A))&&!a.K&&a.D.Y){var d=a.B;a=a.H;c=dS(a,b.l.info.g,c.l.info.g,0);var e=fM(a.l)+c/g.iM(a.l);d+=Math.max(e,e+a.g.Wb-c/b.l.info.g);a:{if(b.A.length){if(b.A[0].info.g[0].startTime<=d)break a;QR(b)}a=b.o;for(c=a.g.length-1;0<=c;c--)a.g[c].info.startTime>d&&a.g.pop();b.A.length?b.g=g.Ja(g.Ja(b.A).info.g):b.o.g.length?b.g=AR(b.o).info:b.g=b.B;b.g&&d<b.g.startTime&&(b.I=0,b.g=b.l.Bg(d,!0).g[0])}}}; | |
PS=function(a,b,c){LS(a,b,c);var d=b.g;if(b.D)d=b.l.Bg(window.Infinity),d.o=a.Da,a.F?(c=a.F,0==d.o&&(d.B=c.I)):d.B=a.Nb,JR(b,NS(a,d));else if(b.g.g.Mc()){!XR(b)||a.l.Z||a.C.l||(MS(a,b,c),b.g||OR(b,a.B));d=b.g;var e=d.A-a.B,f=!d.range||0==d.Xa&&0==d.l?0:d.range.length-(d.l+d.Xa),k=d.g;if(WR(b)&&b.l.Mc()){var l=Math.min(15,.5*KS(a,b,!0));l=XR(b)||e<=l}else l=!1;l&&0==f&&(a.C.l?k=b.l:(k=d.startTime+OS,d.Xa&&(k+=d.duration),OR(b,k),d=b.g,k=d.g));k.Qf()?(f=a.D,e=dS(a.H,k.info.g,c.l.info.g,e,0<f.g.length&& | |
0==f.I&&a.M),c=a.l.pg?WR(b):WR(b)&&b.l.Mc(),e=d.g.Gi(d,e),e.range&&1<e.g.length&&(c||e.l.g?e=d.g.Gi(d,e.g[0].Xa):(c=e.g[e.g.length-1],k=c.Xa/e.range.length,!c.o&&.4>k&&(e=d.g.Gi(d,e.range.length-c.Xa)))),d=e):d=k.dk(d);JR(b,NS(a,d))}else d.g.Qf()?(c=dS(a.H,b.l.info.g,c.l.info.g,0),d=d.g.Gi(d,c)):d=d.g.dk(d),JR(b,NS(a,d))}; | |
NS=function(a,b){3==b.g[b.g.length-1].type&&QS(a,Pma(a.D,b.g[0].g));var c=NK(b);c=new zma(a.J,c,Lma(a.H,c),b,a.tb);a.l.kj&&(c.F=[]);var d=new iR(a.l,b,c,a.Z);c.ab=function(){return Dma(d)?d.o.Th&&window.performance&&window.performance.now&&d.g&&d.g.Kl()&&sR(d)&&$Q(d.g)?d.info.g[0].g.info.video?3:4:2:1}; | |
Bma(d,(0,g.z)(a.HT,a));3==b.g.length&&1==b.g[0].type&&2==b.g[1].type&&4==b.g[2].type&&b.g[0].g.info.video&&(d.Z=Tma(a.D));d.start(Math.max(0,b.g[0].B-a.B));b.g[0].g.info.video&&(c=jR(d))&&(a.Ga=c.substr(0,c.indexOf(".")));return d}; | |
QS=function(a,b){b&&a.R("videoformatchange",b)}; | |
RS=function(a,b,c){a:{b=b.info;var d=a.l.xF,e=null,f=b.g[0];if(b.range)e=IJ(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.A&&0<=b.A.indexOf("/range/")){c=null;break a}e=IJ(0,4096)}else if(f.g.info.video){c=null;break a}b=new KJ(5,f.g,e,f.wa);b=new JK([b]);b.C=c;c=b}c&&NS(a,c)}; | |
dna=function(a){var b=-1!=a.g.C,c=-1!=a.o.C;if(!b||!c)if(b=!b&&zR(a.g.o),c=!c&&zR(a.o.o),b||c){c=b?a.g:a.o;b=b?a.o:a.g;var d=zR(c.o).info.wa;if(-1!=b.C&&b.C!=d)BL(a.C,d,c==a.g),cna(c,b.C),SS(a,!1,"qoe.avsync",{start:"1",target:String(b.C),actual:String(d)});else{c.C=d;c.Ik=window.NaN;var e=Math.max(b.l.index.Qd(b.C),c.l.index.Qd(c.C));-1!=b.C&&(a.ca&&(a.ca.resolve(e+.1),a.ca=null),g.Qf(function(){return TS(a,e)}))}}}; | |
cna=function(a,b){RR(a);OR(a,window.Infinity);var c=a.Ik;a.o.B=c;a.Ik=c;a.g.wa=b-1}; | |
ena=function(a){if(a.l.zA)return!1;var b;if(!(b=aS(a.g))&&(b=a.K)){b=a.H;var c=a.g,d=a.o;if(0==c.A.length&&0==d.A.length)b=!0;else{var e=0,f=BR(c.o).concat(BR(d.o));f=g.ma(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.Xa;c=c.l.info.g+d.l.info.g;e/=c;b=10<e?!0:10>c*(10-e)/eS(b)}(b=!b)||(b=a.g,b=0<b.A.length&&1==b.o.g.length&&zR(b.o).info.D<b.J)}if(b)return!0;if(!a.M||!a.l.na||10>a.B||360<a.g.l.info.video.g)return!1;b=YR(a.g,a.B,a.l.na)||YR(a.o,a.B,a.l.na);return(0<a.g.A.length||0<a.o.A.length|| | |
LS(a,a.g,a.o)||LS(a,a.o,a.g))&&b}; | |
XS=function(a,b,c,d){if(c.Fh())return!0;var e=zR(b.o);if(!e)return!1;!b.B||b.B.o||MJ(b.B,e.info)||(b.B=null,tI(a.A)&&c.abort(),c.Xi(null));var f;if(f=a.l.Bd&&a.C.o&&0==e.info.l&&(g.VH(e.info.g.info)||a.l.gx)){if(null==c.zg()){if(!(f=null==b.B||b.B.g!=e.info.g)){a:{f=b.B.F;var k=e.info.F;if(f.length!=k.length)f=!1;else{for(var l=0;l<f.length;l++)if(!g.ib(f[l],k[l])){f=!1;break a}f=!0}}f=!f}}else f=c.zg()!=e.info.g.g;f=!f}f&&(g.VH(e.info.g.info)?(EJ(kK(e),1836019574),EJ(kK(e),1718909296)):(f=new TJ(kK(e)), | |
k=e.range,iK(f),XJ(f,524531317,!0),k.start=f.o+f.g),e.l=!1);if(!a.C.o||0==e.info.l)if(a.C.l||e.l)c.Xi(null);else if(US(a,c,e))return!0;f=KS(a,b,!1);f=a.B+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.F)a:if(a.F.B&&b.l.info.audio){if((f=zR(b.o))&&(f=f.o)&&null!=f.A){f=f.A-1;break a}f=-1}else f=window.Infinity;else f=window.Infinity;k=b.o;if(!k.g.length||k.g[0].info.B>=d)d=null;else if(l=k.g[0].l?0:k.g[0].range.start,l>f)d=null;else{var m;for(m=1;m<k.g.length;m++){var n=k.g[m].range.start>f,p=k.g[m].g!= | |
k.g[m-1].g;if(k.g[m].info.B>d||n||p||k.o.Cd)break}m--;d=new g.GJ(l,Math.min(k.g[m].range.end,f))}if(!d)return!1;f=new window.Uint8Array(e.g,d.start,d.length);if(a.Wa&&e.info.g.info.video&&g.VH(e.info.g.info)&&(k=a.Wa,0==e.info.l&&(k.l=0,k.g=0,k.o.length=0),!((0,window.isNaN)(k.l)||8>f.length))){l=new window.DataView(f.buffer,f.byteOffset);for(m=!1;!m;)if(k.l==k.g)a:if(m=k,n=f.length,m.l+7>=n){for(p=m.l;p<n;p++)m.o.push(l.getUint8(p));m=!0}else{if(0<m.o.length){for(p=0;8>m.o.length;p++)m.o.push(l.getUint8(p)); | |
var r=nS(m.o,0);p=nS(m.o,4);m.o.length=0}else r=l.getUint32(m.g),p=l.getUint32(m.g+4);if(1836019558==p||1836019574==p||1718909296==p||1936286840==p||1701671783==p||1937013104==p||1936419184==p)m.l+=r,m.g=m.l;else if(1835295092==p)m.l+=r,m.g+=8;else{m.l=window.NaN;m=!0;break a}m=m.g>=n}else a:if(m=k,n=f.length,m.g+5>=n){for(p=m.g;p<n;p++)m.o.push(l.getUint8(p));m=!0}else{if(0<m.o.length){for(p=0;6>m.o.length;p++)m.o.push(l.getUint8(p));p=nS(m.o,0);12==p&&6==m.o[4]&&45==m.o[5]&&l.setUint8(m.g+5,63); | |
m.g+=p+4;m.o.length=0}for(;m.g<m.l&&m.g+5<n;){p=l.getUint32(m.g);if(0>=p){m.l=window.NaN;m=!0;break a}12==p&&6==l.getUint8(m.g+4)&&45==l.getUint8(m.g+5)&&l.setUint8(m.g+5,63);m.g+=p+4}m=m.g>=n}(0,window.isNaN)(k.l)||(k.l-=f.length,k.g-=f.length)}k=!1;3!=e.info.type||!g.VH(e.info.g.info)&&2!=e.info.g.info.containerType||(k=g.VH(e.info.g.info)&&a.l.cI&&!b.F&&0==e.info.l&&0<e.info.startTime)&&oK(e,0);a:{l=g.ma(b.o.g);for(m=l.next();!m.done;m=l.next()){m=m.value;if(d.end==m.range.end){l=m.info.o;break a}if(d.end< | |
m.range.end)break}l=!1}a:if(f=VS(a,c,f,l),"s"==f)f=!0;else{if("i"==f||"x"==f)WS(a,"checked",f,e.info);else{if("q"==f&&(e.info.g.info.video?(f=a.l,f.B=Math.floor(.8*f.B),f.K=Math.floor(.8*f.K),f.o=Math.floor(.8*f.o)):(f=a.l,f.C=Math.floor(.8*f.C),f.ha=Math.floor(.8*f.ha),f.o=Math.floor(.8*f.o)),c.supports(2)&&!c.Fh())){f=!1;l=c.oc().length;for(m=0;!f&&m<l;m++)c.oc().start(m)>e.info.A&&(c.remove(c.oc().start(m),c.oc().end(l-1)),f=!0);l=Math.max(0,Math.min(a.B,e.info.startTime)-5);!f&&l&&c.remove(0, | |
l);f=!1;break a}a.R("reattachrequired")}f=!1}if(!f)return!1;b.F=!0;if(k)oK(e,e.info.startTime),c.abort(),c.Xi(null);else{f=b.o;for(k=[];f.g.length&&(f.g[0].range.end>d.end?(m=mK(f.g[0],d.end-f.g[0].range.start+1),l=m[0],f.g[0]=m[1]):l=f.g.shift(),k.push(l),l.range.end!=d.end););k.length&&(0,g.B)(k,b.X,b)}e.l&&e.info.g.g&&(c.Xi(e.info.g.g),a.l.ca||a.R("initsegment",c.zg()));return!0}; | |
WS=function(a,b,c,d){var e="fmt.unplayable";"i"==c&&(e="html5.invalidstate");if("x"==c||"m"==c)e="fmt.unparseable",d.g.B=e,d.g.info.video&&!lS(a.D)&&kS(a.D,d.g);d=OJ(d);d.mrs=a.A.o.readyState;d.origin=b;d.reason=c;SS(a,"i"!=c,e,d)}; | |
YS=function(a,b,c){Yka(a.C,b,c)&&c&&g.Qf(function(){return TS(a,b.startTime)})}; | |
TS=function(a,b){!a.ka()&&a.l.Wa&&a.Y&&-1!=a.g.C&&-1!=a.o.C&&(a.Y=!1,a.R("seekplayerrequired",b+.1,!0))}; | |
US=function(a,b,c){c.info.g.Mc();var d=c.info.g.g;if(null==d||b.zg()==d)return!1;var e=VS(a,b,d,!0);if("s"!=e)return WS(a,"sepInit",e,c.info),!0;b.Xi(d);a.l.ca||a.R("initsegment",b.zg());return b.Fh()}; | |
VS=function(a,b,c,d){try{b.Eu(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.PD(e),"u";a.l.hn&&a.vf("quex","br."+gI(b.oc()).replace(/,/g,"_"));return"q"}return vI(a.A)?"m":"s"}; | |
ZS=function(a,b){b.o.subscribe("error",a.tS,a);b.o.subscribe("timestamprewrite",a.xS,a);var c=(0,g.z)(a.uS,a,b);b.o.subscribe("placeholderinfo",c,void 0);c=(0,g.z)(a.vS,a,b);b.o.subscribe("placeholderrollback",c,void 0);c=(0,g.z)(a.wS,a,b);b.o.subscribe("segmentinfo",c,void 0);b==a.g&&b.o.subscribe("cuepoint",a.rS,a);b.o.subscribe("drmInfo",a.sS,a)}; | |
KS=function(a,b,c){if(a.T)return 1;var d=b.l.info.audio?a.l.C:a.l.B;!a.l.Z&&mS(a.D)&&(d=Math.max(d,b.l.info.audio?a.l.ha:a.l.K));c&&(d+=a.l.ga);var e=mS(a.D)?b.g?b.g.g.info.g:b.l.info.g:b.H;d/=e;0<a.l.ra&&a.A&&tI(a.A)&&(b=b.l.info.video?a.A.l:a.A.g)&&!b.Fh()&&(e=hI(b.oc(),a.B),0<=e&&(b=a.B-b.oc().start(e),d+=Math.max(0,Math.min(b-a.l.ra,a.l.co))));0<a.l.o&&(d=Math.min(d,a.l.o));a.l.Nb&&c&&!mS(a.D)&&(c=a.D,c=iS(c,g.Ja(c.g))+iS(c,c.F.g[0]),c=a.l.Nb*(c/bS(a.H)),c<d&&15>c&&a.vf("bwcapped","1",!0),c=Math.max(c, | |
15),d=Math.min(d,c));return d}; | |
bna=function(a){if(!a.vb)return window.Infinity;var b=(0,g.Kd)(AS(a.vb),function(a){return"ad"==a.namespace}); | |
b=g.ma(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.B)return c.start/1E3;return window.Infinity}; | |
$S=function(a){HS(a);a.F&&qS(a.F,a.g.l);var b=Math.max(DR(a.g.o),DR(a.o.o)),c=a.g;c.D=!0;c.C=-1;OR(c,window.Infinity);c.o.B=b;c.Ik=b;c=a.o;c.D=!0;c.C=-1;OR(c,window.Infinity);c.o.B=b;c.Ik=b;c=a.C;for(var d in c.g)cJ(c.g[d].index,window.Infinity);a.l.Wa&&(a.Y=!0);a.B=b;a.K=!0;g.Xt(a.X);return b+.1}; | |
aT=function(a,b,c){if(a.l.Mc())if(c){var d=CS(a,b,c);if(!(0,window.isNaN)(d))return d;RR(a);c=iI(c.oc(),b);if((0,window.isNaN)(c))return OR(a,b);OR(a,c+OS)}else{c=MR(a,b);if(0<=c)return c;RR(a);OR(a,b)}else 0!=b&&QR(a);return b}; | |
CS=function(a,b,c,d){d=void 0===d?!1:d;var e=iI(c.oc(),b),f=window.NaN,k=a.B;k&&(f=iI(c.oc(),k.g.index.Qd(k.wa)));if(e==f&&a.g&&a.g.Xa&&UR(TR(a),0))return b;a=MR(a,b,d);return 0<=a?a:window.NaN}; | |
bT=function(a,b,c,d){c.Mc()||c.C||!HK(c.A)||(d=c.Fj(d?Mma(a.H,c.info):0),(0,g.B)(d,function(a){if("f"!=a.g[0].g.info.l){var c=NS(this,a);!LJ(a.g[a.g.length-1])&&JR(b,c)}},a),c.C=!0)}; | |
SS=function(a,b,c,d){a.ka()||(c=new g.YM(c,b,d),ZM(c.details),a.R("error",c),b&&a.dispose())}; | |
cT=function(a){var b={lct:a.B.toFixed(3),lsk:a.K,lmf:mS(a.D),lbw:hM(a.J).toFixed(3),lhd:fM(a.J).toFixed(3),lst:(1E9*(a.J.A.l()||0)).toFixed(3),laa:a.o.B?PJ(a.o.B):"",lva:a.g.B?PJ(a.g.B):"",lar:a.o.g?PJ(a.o.g):"",lvr:a.g.g?PJ(a.g.g):"",lvh:a.Ga};a.A&&!vI(a.A)&&(b.lab=gI(a.A.g.oc()),b.lvb=gI(a.A.l.oc()));return b}; | |
HS=function(a){a.o&&a.g&&(RR(a.o),RR(a.g))}; | |
dT=function(a,b,c,d){a.Da=Math.max(b-1,0);a.F&&(a.F.K=c);a.Nb=d}; | |
fna=function(a,b){var c=b.info.video?a.g:a.o;null!=c&&bT(a,c,b,!1)}; | |
gna=function(a,b){var c=new g.rK;c.Gd=a.experiments.l("html5_throttle_rate")||c.Gd;a.experiments.g("html5_streaming_xhr")&&(c.D=!0);a.experiments.g("html5_streaming_debug")&&(c.D=!0,c.X=!0);a.experiments.l("html5_max_av_sync_drift")&&(c.mn=a.experiments.l("html5_max_av_sync_drift"));var d=a.schedule;d.g.l()==d.policy.o&&(c.Fd=10);a.experiments.l("html5_min_secs_between_format_selections")&&(c.no=a.experiments.l("html5_min_secs_between_format_selections"));c.Hb=a.experiments.g("html5_stop_overlapping_requests"); | |
c.ra=a.experiments.l("html5_min_readbehind_secs");c.co=a.experiments.l("html5_min_readbehind_cap_secs");g.KM(a)&&(c.ra=a.experiments.l("tvhtml5_min_readbehind_secs"));c.qg=a.experiments.g("html5_append_init_while_paused");c.Nb=a.experiments.l("html5_max_readahead_bandwidth_cap");c.AA=a.experiments.g("html5_disable_audio_append_cap");c.Vg=a.experiments.g("html5_disable_non_contiguous");c.zc=a.experiments.l("html5_post_interrupt_readahead");c.hn=a.experiments.g("html5_log_quota_exceeded");c.T=a.experiments.l("html5_subsegment_readahead_target_buffer_health_secs"); | |
c.Sa=a.experiments.l("html5_subsegment_readahead_timeout_secs");c.Sw=a.experiments.l("html5_subsegment_readahead_min_buffer_health_secs");c.Na=a.experiments.l("html5_subsegment_readahead_min_buffer_health_secs_on_timeout");c.Tw=a.experiments.l("html5_subsegment_readahead_min_load_speed");c.Ed=a.experiments.l("html5_subsegment_readahead_load_speed_check_interval");c.Xw=a.experiments.l("html5_subsegment_readahead_seek_latency_fudge");c.La=a.experiments.g("html5_streaming_xhr_optimize_lengthless_mp4"); | |
c.ab=a.experiments.g("html5_peak_shave");c.RD=a.experiments.g("html5_peak_shave_always_include_sd");c.Fw=a.experiments.g("html5_restrict_streaming_xhr_on_sqless_requests");c.nn=a.experiments.l("html5_max_headm_for_streaming_xhr");c.fE=a.experiments.g("html5_pipeline_manifestless_allow_nonstreaming");c.uF=a.experiments.g("html5_prefer_server_bwe3");c.Lf=1024*a.experiments.l("html5_video_tbd_min_kb");c.xF=a.experiments.g("html5_probe_live_using_range");c.Ow=a.experiments.g("html5_streaming_xhr_buffer_mdat"); | |
c.Dd=a.experiments.g("html5_streaming_xhr_no_mp4_holdback_chunk");c.jj=a.experiments.g("html5_last_slice_transition");c.Wg=a.experiments.g("html5_disable_incomplete_incremental_parse_error");c.Nw=a.experiments.g("html5_store_xhr_headers_readable");c.F=a.experiments.g("html5_incremental_parser_coalesce_slice_buffers");c.hj=a.experiments.l("html5_incremental_parser_buffer_duration_secs");c.ij=a.experiments.l("html5_incremental_parser_buffer_extra_bytes");c.Pw=a.experiments.g("html5_streaming_xhr_progress_includes_latest"); | |
c.Th=a.experiments.g("html5_enable_packet_train_response_rate");if(d=a.experiments.l("html5_probe_secondary_during_timeout_miss_count"))c.Nc=d,c.Zw=1;c.Uh=a.experiments.g("html5_fallbacks_delay_primary_probes");a.experiments.g("html5_drm_start_from_null_constraint")&&(c.Ug=!0);c.Oc=a.experiments.g("html5_reason_reporting_migration");c.Xb=a.experiments.g("html5_no_placeholder_rollbacks");c.Rw=a.experiments.g("html5_subsegment_readahead_enable_mffa");c.sa=a.experiments.g("html5_platform_whitelisted_for_frame_accurate_seeks"); | |
c.Uw=a.experiments.g("html5_subsegment_readahead_require_whitelist");c.kd=a.experiments.g("html5_reattach_on_stuck");c.fa=a.experiments.g("html5_manifestless_request_prediction");c.gx=a.experiments.g("html5_webm_init_skipping");c.pg=a.experiments.g("html5_adaptation_fix");c.Da=a.experiments.l("html5_request_size_padding_secs")||c.Da;c.Tg=a.experiments.g("html5_clamp_with_padding");c.kn=a.experiments.g("html5_log_timestamp_offset");c.ax=a.experiments.g("html5_use_media_source_view");c.En=a.experiments.l("html5_view_offset"); | |
c.ca=a.experiments.g("html5_playbackmanager_enable_notify_with_pssh_list");c.Sh=a.experiments.g("html5_disable_new_live_flags");zE()&&(c.Cd=!0);rE()&&(c.o=240);g.qh&&(c.K=41943040);c.Z=!xI();g.KM(a)||!xI()?(c.B=8388608,c.C=524288,c.rg=5,c.ga=2097152,c.M=1048576,c.Bw=1.5,c.ya=15,c.QD=!1,c.H=4587520,wE()&&(c.H=786432),c.l*=1.1,c.A*=1.1,c.Bd=!0,c.K=c.B,c.ha=c.C):a.l&&(c.l*=1.3,c.A*=1.3);g.zI&&qE("crkey")&&(d="CHROMECAST/ANCHOVY"==a.o.cmodel,c.B=20971520,c.C=1572864,d&&(c.H=812500,c.I=1E3,c.bx=5,c.M= | |
2097152));c.Vz=!a.experiments.g("disable_fpa_sei_removal")&&qE("windows nt")&&(b.yi()||b.Pe());if(mO(b)){c.Vh=!0;c.Jw=!1;c.Ga=a.experiments.g("html5_shrink_live_timestamps");c.Wa=c.Ga||a.experiments.g("html5_manifestless_synchronized");if("ULTRALOW"==b.latencyClass||"LOW"==b.latencyClass&&!a.experiments.g("html5_disable_low_pipeline"))c.tb=2,c.pn=4;c.g=b.hasSubfragmentedFmp4;c.Y=b.defraggedFromSubfragments}b.isAd()&&(c.na=0,c.sb=0);nO(b,a.experiments)&&(c.X=!0);oO(b,a.experiments)&&(c.X=!0,c.D=!0); | |
c.J=a.experiments.g("html5_enable_subsegment_readahead_v3")||a.experiments.g("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==b.latencyClass;c.ln=(a.experiments.g("html5_manifestless_accurate_sliceinfo")||c.J)&&mO(b);c.ea=b.sh;c.kj=c.ea&&(/^rq[a-f]/.test(b.clientPlaybackNonce)||a.experiments.g("html5_high_res_logging"));/^pp/.test(b.clientPlaybackNonce)&&(c.oI=!0,c.qG=!0);qE("smart-tv")&&qE("samsung")&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(a.o.cmodel)&&!a.experiments.g("html5_disable_move_pssh_to_moov")&& | |
b.oa&&mL(b.oa)&&(c.Bd=!1);mL(b.oa)&&(c.kd=!1);if(b.za){d=zL(b.oa);var e=a.experiments.l("html5_live_abr_head_miss_fraction"),f=a.experiments.l("html5_live_abr_repredict_fraction");e&&d&&(c.vb=Math.min(d*e,c.vb));f&&d&&(c.I=Math.min(1E3*d*f,c.I))}e=0;a.experiments.g("html5_live_use_alternate_bandwidth_window_sizes")&&(e=a.schedule.policy.g,b.za&&(e=a.experiments.l("ULTRALOW"==b.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":b.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window": | |
"html5_live_normal_latency_bandwidth_window")||e));d=a.schedule;d.policy.B=mO(b)?.5:0;if(!d.policy.l&&e&&(d=d.g,e=Math.round(e*d.J),e!=d.o)){f=Array(e);var k=Math.min(e,d.C?d.o:d.A),l=d.A-k;0>l&&(l+=d.o);for(var m=0;m<k;++m)f[m]=d.B[(l+m)%d.o];for(;m<e;++m)f[m]=window.Infinity;d.o=e;d.B=f;d.A=k%e;d.C=k==e;d.F=!0;d.I=aM(d)}c.zA=a.experiments.g("html5_disable_new_live_flags")?b.oa&&b.oa.o:b.za;c.Hd=b.za;switch(b.liveExperimentalContentId){case 21530001:c.La=!0;c.fa=!0;c.J=!0;c.T=a.experiments.l("html5_jumbo_ull_subsegment_readahead_target"); | |
c.Xb=!0;break;case 2153E4:c.La=!0,c.fa=!0,c.J=!1}d=a.experiments.l("html5_deadzone_multiplier")||1;(e=a.experiments.l("html5_sticky_reduces_discount_by"))&&"auto"!=TG()&&(d-=e);c.l*=d;c.A*=d;if(d=a.experiments.l("html5_request_sizing_multiplier"))c.Dw=d;c.o=a.experiments.l("html5_max_buffer_duration")||c.o;c.Wb=a.experiments.l("html5_min_upgrade_health")||c.Wb;EI(a.M,JI)&&(c.H=window.NaN);c.ya=a.experiments.l("html5_request_size_max_secs")||c.ya;c.Rh=a.experiments.g("killswitch_metadata_events"); | |
"auto"!=TG()&&(c.Kf=0);c.yF=a.experiments.g("html5_rec_2020_matrix_correction_killswitch");return c}; | |
hna=function(a,b,c){this.url=a;this.interval=b;this.g=c}; | |
eT=function(a,b){this.message=a;this.number=b;this.g=new SC}; | |
ina=function(a,b,c,d){this.statusCode=a;this.statusMessage=b;this.headers=c;this.message=d}; | |
fT=function(a){var b=String.fromCharCode.apply(String,a.subarray(0,16384)),c=b.indexOf("\r\n\r\n");if(-1==c)return null;var d=b.indexOf("\r\n"),e=b.slice(0,d).match(/^GLS\/1.\d ([0-9]{1,3}) (\w+)$/);if(null==e)return null;var f=Hb(e[1]);e=e[2];b=qJ(b.slice(d+2));return null==b?null:new ina(f,e,b,a.subarray(c+4))}; | |
gT=function(a,b,c,d,e){g.M.call(this);this.B=a;this.I=b;this.D=c;this.g=d;this.l=e;this.sessionId="";this.H=this.F=this.A=this.C=null;this.W=new g.CF(this);g.N(this,this.W);this.g?(this.W.O(this.g,"message",this.uO),this.W.O(this.g,"keystatuseschange",this.vO),this.g.closed&&this.g.closed.then(QD((0,g.z)(this.tO,this)),null)):this.l&&(DF(this.W,this.l,["mskeymessage","webkitkeymessage"],this.fD),DF(this.W,this.l,["mskeyerror","webkitkeyerror"],this.eD),DF(this.W,this.l,["mskeyadded","webkitkeyadded"], | |
this.dD))}; | |
hT=function(a,b){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.l=this.g=window.NaN;this.o=!1;this.A=[]}; | |
iT=function(a,b){g.M.call(this);this.l=a;this.g=b;this.C={};this.A=null;this.W=new g.CF(this);g.N(this,this.W);this.o=this.B=null}; | |
jT=function(a){if(a.g.l)return a.g.l.createMediaKeys().then(QD(function(b){a.ka()||(a.B=b,a.l.setMediaKeys(b))})); | |
GL(a.g)?a.o=new (FL())(a.g.g):KL(a.g)?(a.o=new (FL())(a.g.g),a.l.webkitSetMediaKeys(a.o)):jna(a);return null}; | |
jna=function(a){DF(a.W,a.l,["keymessage","webkitkeymessage"],a.yO);DF(a.W,a.l,["keyerror","webkitkeyerror"],a.xO);DF(a.W,a.l,["keyadded","webkitkeyadded"],a.wO)}; | |
kna=function(a){return"widevine"==a.g.flavor&&a.g.Tm&&a.B.setServerCertificate?a.B.setServerCertificate(a.g.Tm):null}; | |
kT=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new window.Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode((0,window.parseInt)(c.substr(e,2),16));e=a.g.fairPlayCert;c=new window.Uint8Array(new window.ArrayBuffer(e.length));for(var f=0;f<e.length;f++)c[f]=e.charCodeAt(f);e=new window.ArrayBuffer(2*d.length);f=new window.Uint16Array(e);for(var k=0;k<d.length;k++)f[k]=d.charCodeAt(k);d=new window.Uint8Array(e); | |
e=0;k=new window.ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new window.Uint8Array(k);k=new window.DataView(k);f.set(b);e+=b.byteLength;k.setUint32(e,d.length,!0);e+=4;f.set(d,e);e+=d.length;k.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f}; | |
lT=function(a,b){var c=a.C[b.sessionId];!c&&a.A&&(c=a.A,a.A=null,c.sessionId=b.sessionId,a.C[b.sessionId]=c);return c}; | |
nT=function(a,b,c,d,e,f){g.M.call(this);this.o=a;this.l=d;this.l.subscribe("oauthtoken",this.FB,this);this.D={session_id:e};this.H=!0;"playready"==a.flavor&&(a=(0,window.parseInt)(f.o("playready_first_play_expiration"),10),!(0,window.isNaN)(a)&&0<=a&&(this.D.mfpe=a),f.g("html5_playready_keystatuses_killswitch")||(this.H=!1));this.X=f.g("html5_use_drm_retry");this.M=0;f=this.o.A;"fairplay"==this.o.flavor&&(f=c.initData.subarray(4),f=String.fromCharCode.apply(null,new window.Uint16Array(f.buffer,f.byteOffset, | |
f.byteLength/2)).replace("skd://","https://"));mT(this,f);this.F=this.I=!1;(0,g.ZP)("drm_gk_s");try{var k=b.createSession(c)}catch(l){b="t.g",l instanceof window.DOMException&&(b+=";c."+l.code),this.l.R("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),k=null}if(this.A=k)b=this.A,k=this.qO,f=this.pO,a=this.sO,b.C=this.rO,b.A=k,b.F=f,b.H=a,b.o=this,g.N(this,this.A);this.Z=c.A;this.B=[];this.g={};this.J=window.NaN;this.C=c.g||window.NaN}; | |
mT=function(a,b){var c=b;var d=void 0===d?!1:d;if(YG(lna.test(c),c,d,"Drm Licensor URL")){for(var e in a.D)b=Vg(b,e,a.D[e]);a.T=b}else oT(a,"drm.net",!0,"t.x")}; | |
mna=function(a){var b={};g.ec(b,a.D);return b}; | |
pT=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new window.DOMParser).parseFromString(b,"text/xml").querySelector("Challenge");return new window.Uint8Array(je(a.childNodes[0].data))}; | |
qT=function(a){var b;if(b=a.H)a=a.A,b=!(!a.g||!a.g.keyStatuses);return b}; | |
oT=function(a,b,c,d,e){a.ka()||a.l.R("licenseerror",b,c,d,e);c&&a.dispose()}; | |
rT=function(a){return g.Pa(a,"UHD2")?"highres":g.Pa(a,"UHD1")?"hd2160":g.Pa(a,"HD")?"hd1080":g.Pa(a,"HD720")?"hd720":"large"}; | |
sT=function(a,b){if(!qT(a)&&JL(a.o)&&!b)return"large";var c=[],d=!0;if(qT(a))for(var e in a.g)"usable"==a.g[e].status&&c.push(a.g[e].type),"unknown"!=a.g[e].status&&(d=!1);if(!qT(a)||d)c=a.B;return rT(c)}; | |
nna=function(a){if(!a)return{};var b={};(0,g.B)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]={type:a[0],status:"unknown"})}); | |
return b}; | |
tT=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}; | |
uT=function(a,b){var c=[],d;for(d in a.g)c.push.apply(c,[d,a.g[d].type,a.g[d].status]);return c.join(b)}; | |
ona=function(a){return qT(a)?uT(a,";"):a.B.join(";")}; | |
pna=function(a,b,c,d){a=new window.Uint8Array(a);a=pT(a);a={format:"RAW",method:"POST",postBody:(new eT(a,1)).message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4};c=qba(c,d);g.IE(c,a,3,500).then(function(a){a=new window.Uint8Array(a.response);(a=fT(a))&&b.update(a.message)})}; | |
vT=function(a,b){for(var c in a.g)if("usable"==a.g[c].status&&a.g[c].type==b)return!0;return!1}; | |
wT=function(){this.keys=[];this.values=[]}; | |
yT=function(a,b,c,d,e){e=void 0===e?"":e;g.FF.call(this);a&&(a.addKey||a.webkitAddKey)||FL()||ML(c);this.B=c;this.J=a;this.g=b;this.subscribe("newlicense",this.MS,this);this.subscribe("newsession",this.NS,this);this.subscribe("sessionready",this.XT,this);this.subscribe("keystatuseschange",this.zO,this);this.subscribe("hdentitled",this.SR,this);this.ga=e||g.HG();this.Z=null;this.l=new wT;this.A=this.D=null;this.o=[];this.F="fairplay"==this.g.flavor?WI:c.g("html5_drm_start_from_null_constraint")?WI: | |
xT;this.H=new iT(a,b);g.N(this,this.H);this.C=null;GL(b)&&(this.C=new iT(a,b),g.N(this,this.C));this.Y=2;this.W=new g.CF(this);g.N(this,this.W);this.ca=this.T=!1;this.X=null;this.I=!1;a=this.J;this.g.l?this.W.O(a,"encrypted",this.DR):DF(this.W,a,GL(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.IS);(a=jT(this.H))?a.then(QD((0,g.z)(this.qS,this)),QD((0,g.z)(this.DQ,this))):this.I=!0;this.C&&jT(this.C);this.fa=d;this.M=this.K=!1;ML(c)}; | |
zT=function(a,b){a.Z=b;a.R("oauthtoken",b)}; | |
qna=function(a,b,c){a.ca=!0;a.B.g("html5_playbackmanager_enable_notify_with_pssh_list")?AT(a):GL(a.g)||BT(a,new hT(b,c))}; | |
sna=function(a,b){if(GL(a.g)&&!a.K){var c=wR(b);if(0!=c.length){var d=new hT(c);a.K=!0;window.navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(b){b.createMediaKeys().then(function(b){rna(a,b,d)})},null)}}}; | |
rna=function(a,b,c){var d=b.createSession(),e=a.l.values[0],f=mna(e);d.addEventListener("message",function(b){pna(b.message,d,a.g.A,f)}); | |
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(b,c){"usable"==c&&(a.M=!0,tna(a,sT(e,a.M)))})}); | |
d.generateRequest("cenc",c.initData)}; | |
BT=function(a,b){a.ka()||a.T&&a.fa||(a.T=!0,a.o.push(b),1<a.o.length||AT(a))}; | |
CT=function(a){a.ka()||(a.I=!0,AT(a))}; | |
AT=function(a){if((!a.B.g("html5_playbackmanager_enable_notify_with_pssh_list")||a.ca)&&a.I){for(;a.o.length;){var b=a.o[0];if(g.ib(a.D,b.initData))a.o.shift();else{if(a.l.get(b.initData))if("fairplay"==a.g.flavor)a.l.remove(b.initData);else{a.o.shift();continue}a:{var c=b.initData;try{for(var d=0,e=new window.DataView(c.buffer);d<e.byteLength-8;){var f=e.getUint32(d);if(1>=f)break;if(1886614376==e.getUint32(d+4)){var k=32;if(0<e.getUint8(d+8)){var l=e.getUint32(d+28);k+=16*l+4}var m=e.getUint32(d+ | |
k-4);try{var n=new re(c.subarray(d+k,d+k+m)),p=new JD;for(k=n;se(k)&&4!=k.l;)switch(k.o){case 2:var r=we(k),v=r;Ee(p,2).push(v);break;case 4:r=we(k);Ce(p,4,r);break;case 7:r=qe(k.g);Ce(p,7,r);break;case 9:r=qe(k.g);Ce(p,9,r);break;case 10:r=qe(k.g);Ce(p,10,r);break;case 11:r=ue(k);Ce(p,11,r);break;case 12:r=qe(k.g);Ce(p,12,r);break;case 13:v=r=we(k);Ee(p,13).push(v);break;case 14:r=new KD;v=k;var D=r,H=vja,L=v.g.o,T=qe(v.g),ha=v.g.g+T;v.g.o=ha;H(D,v);v.g.g=ha;v.g.o=L;v=p;D=r;H=KD;Ge(v,H,14);var cb= | |
v.g[14];cb||(cb=v.g[14]=[]);var tb=D?D:new H,Td=Ee(v,14);cb.push(tb);Td.push(Ie(tb));break;case 1:r=ue(k);Ce(p,1,r);break;case 3:r=ve(k);Ce(p,3,r);break;case 5:r=ve(k);Ce(p,5,r);break;case 6:r=ve(k);Ce(p,6,r);break;case 8:r=we(k);Ce(p,8,r);break;default:te(k)}var xh=p;if(null!=xh){var rb=xh;break a}}catch(Uf){}}d+=f}rb=null}catch(Uf){rb=null}}if(null!=rb)for(c=Be(rb,7),null!=c&&(b.g=c),c=Be(rb,10),null!=c&&0<c&&(b.l=c),c=Ee(rb,2),c=!c.length||c[0]instanceof window.Uint8Array?c:(0,g.G)(c,Raa),c=g.ma(c), | |
d=c.next();!d.done;d=c.next())b.A.push(xR(d.value));if("widevine"==a.g.flavor){a:if(c=a,(0,window.isNaN)(b.g)&&0<c.l.values.length)c=!0;else{c=g.ma(c.l.values);for(d=c.next();!d.done;d=c.next())if(d.value.C==b.g){c=!0;break a}c=!1}if(c&&!a.B.g("html5_dedup_by_cryptoperiod_killswitch")){a.o.shift();continue}else{a:{c=a;if(!(c.B.g("disable_license_delay")||"widevine"!=c.g.flavor||b.o||(0,window.isNaN)(b.g)))for(c=g.ma(c.l.values),d=c.next();!d.done;d=c.next())if(1>=Math.abs(d.value.C-b.g)){c=!0;break a}c= | |
!1}if(c){una(a,b);a.o.shift();continue}}}break}}a.o.length&&(b=a.o[0],a.l.get(b.initData),rb=new nT(a.g,a.H,b,a,a.ga,a.B),rb.FB(a.Z),a.l.set(b.initData,rb))}}; | |
una=function(a,b){a.A&&a.A.dispose();a.D=b.initData;a.A=new g.Wt(function(){a.D=null;a.A=null;b.o=!0;a.o.push(b);1<a.o.length||AT(a)},vna(b.l)); | |
a.A.start()}; | |
vna=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))}; | |
tna=function(a,b){var c=UI("auto",b,!1,"l");if(a.B.g("html5_drm_start_from_null_constraint")){if(TI(a.F,c))return}else if(ZI(a.F,b))return;a.F=c;a.R("qualitychange")}; | |
wna=function(a,b){this.g=a;this.o=b;this.A=this.l=0}; | |
zna=function(a,b,c,d){c=UI("auto",TG(),!1,"s");var e=a.g.experiments.g("html5_break_sticky")&&/^i/.test(b.clientPlaybackNonce);if(VI(c)||e){c=xna(a,b);(e=yna(b.Aa))||(qE("armv7")||qE("android"))&&!g.KM(a.g)&&TH(b.Aa.videoInfos[0])&&(e=g.MH.large);e=new SI(0,e,!1,"o");c=XI(c,e);e=0;!a.g.l||g.EM(a.g)||BE()||a.g.experiments.g("mweb_uniplayer_auto_quality")||a.g.experiments.g("hls_for_vod")||(e=g.MH.medium);var f=a.g.experiments.l("html5_default_quality_cap");if(f){var k=b.Aa&&!!b.Aa.g&&!b.Ye,l=a.g.experiments.l("html5_quality_cap_min_age_secs"); | |
k&&l&&(k=a.g.schedule.B,k=g.eG()-k>1E3*l);k&&(e=e?Math.min(e,f):f)}(f=a.g.experiments.l("html5_hfr_quality_cap"))&&b.Aa&&OL(b.Aa)&&(e=e?Math.min(e,f):f);e=new SI(0,e,!1,"d");c=XI(XI(XI(XI(XI(c,e),DT(a,d)),ET(a)),a.g.zc),b.gw)}return XI(XI(b.Qm,c),b.zr)}; | |
Ana=function(a,b,c){g.KM(a.g)&&(c=XI(c,xna(a,b)));return c}; | |
xna=function(a,b){if(b.Aa)if(g.KM(a.g)&&EI(a.g.M,HI))var c=b.Aa.videoInfos[0].video.g;else c=Bna(a,!!b.Aa.g),c=Cna(c,b.Aa.videoInfos).g;else c=0;c&&(c=Math.max(c,360));return new SI(0,c,!1,"r")}; | |
Dna=function(a,b){var c=XI(b.Qm,b.zr);"auto"!=TG()||(c=XI(c,a.g.zc));return c}; | |
FT=function(a,b){var c=TG(),d=a.g.experiments.g("html5_break_sticky")&&/^i/.test(b.clientPlaybackNonce);return"auto"==c||d?Ena(a,b):UI("auto",c,!1,"s")}; | |
Ena=function(a,b){if(g.KM(a.g)&&EI(a.g.M,HI))return WI;var c=Bna(a,!!b.Aa.g);c=Cna(c,b.Aa.videoInfos);var d=c.g;(qE("armv7")||qE("android"))&&!g.KM(a.g)&&TH(b.Aa.videoInfos[0])&&(d=Math.min(d,g.MH.large));!a.g.l||g.EM(a.g)||BE()||a.g.experiments.g("mweb_uniplayer_auto_quality")||a.g.experiments.g("hls_for_vod")||(d=Math.min(d,g.MH.medium));d=Math.max(d,g.MH.medium);if(a.g.experiments.l("html5_default_quality_cap")){var e=b.Aa&&!!b.Aa.g&&!b.Ye,f=a.g.experiments.l("html5_quality_cap_min_age_secs"); | |
e&&f&&(e=g.eG()-a.g.schedule.B>1E3*f);e&&(d=Math.min(d,a.g.experiments.l("html5_default_quality_cap")))}a.g.experiments.g("html5_use_media_capabilities")&&(d=Math.min(yna(b.Aa),d));a.g.experiments.l("html5_hfr_quality_cap")&&OL(b.Aa)&&(d=Math.min(d,a.g.experiments.l("html5_hfr_quality_cap")));c.g!=d&&(c=new SI(c.l,d,c.o,"r"));return c}; | |
yna=function(a){if(!a.videoInfos.length)return 0;if(null==a.videoInfos[0].o)return a.videoInfos[0].video.height;for(var b=g.ma(a.videoInfos),c=b.next();!c.done;c=b.next())if(c=c.value,c.o)return c.video.height;return a.videoInfos[0].video.height}; | |
Cna=function(a,b){if(!b.length)return WI;var c=.85;4!=b[0].video.projectionType&&2!=b[0].video.projectionType&&3!=b[0].video.projectionType||RL||(c=.45);for(var d,e,f=g.ma(b),k=f.next();!k.done&&!(d=e=k.value,e=e.video,null===a||e.width*c<a.width&&e.height*c<a.height);k=f.next());return UI("auto","93"==RH(d)?LH(e.width,e.height):e.quality,!1,"r")}; | |
Bna=function(a,b){var c;DM(a.g)&&(c=window.screen&&window.screen.width?new g.I(window.screen.width,window.screen.height):null);if(!c)if(a.g.Vg)c=a.g.Vg.clone();else if("desktop-polymer"==a.g.playerStyle&&a.g.experiments.g("force_snap_player_size_for_format_size")&&SM(a.g)&&!a.g.experiments.g("force_snap_player_size_for_format_size_killswitch"))if(c=a.o,c.app.g.Lf||c.app.H.isFullscreen()||c.app.isWidescreen())c=c.Oa();else a:{for(c=0;c<Fna.length;c++){var d=Fna[c];if(d.query.matches){c=new g.I(d.size.width, | |
d.size.height);break a}}c=void 0}else c=a.o.Oa();(yM||GT||b)&&c.scale(g.TM());return c}; | |
DT=function(a,b){var c=a.g.experiments.l("html5_background_quality_cap"),d=a.g.experiments.l("html5_background_cap_idle_secs");return!c||"auto"!=TG()||g.rG()/1E3<d?WI:b?new SI(0,c,!1,"v"):WI}; | |
ET=function(a){if(!a.g.Nb)return WI;a=a.g.experiments.l("low_engagement_player_quality_cap");return new SI(0,a,!1,"e")}; | |
HT=function(a,b){b=void 0===b?null:b;var c={};this.o=(c.c1a=(0,g.z)(this.C,this),c.c3a=(0,g.z)(this.D,this),c.c6a=(0,g.z)(this.B,this),c);this.g=a;this.A=b;this.g&&this.g.al?this.l=g.ZD(this.g.al):this.l=[]}; | |
JT=function(a,b){g.FF.call(this);var c=this;this.X=b;this.g=a;this.ca=new Gna(b);this.I=new g.CF;g.N(this,this.I);this.J=this.A=this.o=null;this.l=window.NaN;this.C=this.g.startSeconds||0;this.B=null;this.T=window.NaN;this.F=this.D=null;this.M=this.H=!1;this.Z=new g.Wt(function(){var a={Ik:c.l};c.A&&g.Ha(a,cT(c.A));c.o&&g.Ha(a,c.o.fk());c.ca.g&&(0,window.isFinite)(0<c.l)&&0<c.l&&IT(c)&&!c.o.getCurrentTime()&&(c.o.ac(c.l),a.elem="1");c.R("ctmp","seektimeout",ZM(a))},1E4); | |
g.N(this,this.Z);this.K=new g.Wt(function(){return Hna(c)}); | |
g.N(this,this.K)}; | |
Ina=function(a,b){a.A&&a.A.unsubscribe("seekelementrequired",a.Y,a);(a.A=b)?a.A&&a.A.subscribe("seekelementrequired",a.Y,a):KT(a)}; | |
LT=function(a,b,c,d,e){c=void 0===c?!0:c;d=void 0===d?!1:d;e=void 0===e?0:e;b==a.l&&a.H||(a.H&&KT(a),a.F||(a.F=new BS),((0,window.isFinite)(b)||(mO(a.g)?0:a.g.za&&a.g.Aa&&!a.g.Aa.g?a.o&&0<a.o.fe():1))&&(b=g.cd(b,a.Yb(),a.Ld(d))),a.l=b,a.R("seekto",b,c),c?Hna(a):e&&a.K.start(e))}; | |
Hna=function(a){a.H=!0;if(!a.g.za&&a.l>=a.Ld()-.1){var b=a.Ld();a.R("seekstart");a.F.resolve(b);a.R("seekend");KT(a);a.l=b;a.R("ended")}else Jna(a)}; | |
Jna=function(a){Kna(a).then(void 0,function(){KT(a)}); | |
Lna(a).then(function(b){a.F.resolve(b);a.R("seekend");KT(a)},function(){KT(a)}); | |
a.Z.start();a.R("seekstart")}; | |
Kna=function(a){if(!a.D)if(a.A)if((0,window.isFinite)(a.l))a.D=a.A.seek(a.l);else{var b=a.A;$S(b);b.ca=new BS;a.D=b.ca;a.l=a.A.getCurrentTime()}else a.D=ag(a.l);return a.D}; | |
Lna=function(a){a.B||(a.B=new BS,Mna(a));return a.B}; | |
Mna=function(a){if(a.B&&IT(a)&&!(0,window.isNaN)(a.l)&&(0,window.isFinite)(a.l)&&a.T!=a.l)try{a.o.ac(a.l),a.T=a.l,a.C=a.l}catch(b){}}; | |
IT=function(a){if(!a.o||0==a.o.fe())return!1;var b=0<a.o.getCurrentTime();if(0<=a.l){var c=a.o.Ij();if(c.length||!b)return 0<=hI(c,a.l)}return b}; | |
KT=function(a){a.l=window.NaN;a.T=window.NaN;a.B=null;a.D=null;a.F=null;a.H=!1;a.M=!1;a.Z.stop();a.K.stop()}; | |
Nna=function(a){if(a.o)for(var b=g.ma(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.I.O(a.o,c.value,function(b){switch(b.type){case "seeking":b=a.o.getCurrentTime();if(!a.B||a.M&&b!=a.l)a.B=new BS,LT(a,b,!0),a.M=!0;break;case "seeked":a.B&&a.B.resolve(a.o.getCurrentTime());break;case "loadedmetadata":a.X&&!a.X.experiments.g("html5_utc_start_seconds_killswitch")&&GO(a.g)&&a.g.Vc&&(0,window.isFinite)(a.g.Vc)&&1E9<a.g.Vc&&a.g.oa?(b=a.Ld()-AL(a.g.oa,a.Ld())+a.g.Vc, | |
LT(a,b)):!a.X.experiments.g("html5_utc_start_seconds_killswitch")&&a.g.oa&&a.g.oa.l&&a.g.Vc&&0!=a.g.Vc?LT(a,a.g.Vc):!(0,window.isFinite)(a.l)&&a.g.za&&a.g.Aa&&!a.g.Aa.g&&(a.l=a.Ld());case "progress":Mna(a)}})}; | |
Gna=function(a){this.g=!a.experiments.g("html5_reseek_element_killswitch")}; | |
MT=function(){var a=bF("visibilityState",window.document);return!(!a||"visible"==a)}; | |
Pna=function(a){var b=Ona();b&&window.document.addEventListener(b,a,!1)}; | |
Qna=function(a){var b=Ona();b&&window.document.removeEventListener(b,a,!1)}; | |
Ona=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[aF+"VisibilityState"])return"";a=aF+"visibilitychange"}return a}; | |
NT=function(){g.FF.call(this);this.B=0;this.o=this.g=this.l=!1;this.C=(0,g.z)(this.A,this);Pna(this.C);var a=this.isFullscreen();this.D=this.o?4:MT()?3:a?2:this.g?1:this.l?5:0}; | |
OT=function(){g.M.call(this);this.o={};this.g={};this.l=new g.Wt(this.BV,250,this);g.N(this,this.l)}; | |
PT=function(a,b){if(a.g[b]){var c=a.g[b].g;for(var d=[];c.o!=c.g;)c.o=(c.o+1)%c.l.length,d.push(c.l[c.o]);c=d}else c=[];return c}; | |
QT=function(a,b){return a.g[b]?oQ(a.g[b].g):0}; | |
RT=function(a){this.o=a;this.g=new nQ(100);this.l=window.NaN}; | |
ST=function(){this.g=this.l=!1}; | |
UT=function(a,b,c,d,e,f,k,l){g.FF.call(this);this.Sa=new ema;this.K=c;this.Wb=d;this.Vg=f;this.fa=l;this.hj=k;c=(0,g.z)(function(a,b){"crn_endcr"!=a||g.X(this.o,32)||TT(this);e(a,b)},this); | |
this.I=new yS((0,g.z)(this.getCurrentTime,this),(0,g.z)(this.cB,this),(0,g.z)(this.sM,this),c);g.N(this,this.I);this.Ga=window.NaN;this.H=null;this.Xb=[];this.Y=null;this.A=a;this.M=new wna(a,this.Wb);this.Dd=!0;this.J=this.B=null;this.ca=[];this.ra=new ST;this.Z=new ST;this.zc=null;this.kj=a.experiments.g("enable_uturn_error_screen")&&!a.experiments.g("publish_video_data_change_on_error_killswitch");this.rg=this.Lf=this.Wg=this.Wa=!1;this.Nc=window.NaN;this.o=new g.nP;this.Oc=[];this.Nb=b;this.ya= | |
null;this.T=window.NaN;this.Da=new g.CF;g.N(this,this.Da);this.g=new g.hO;this.l=null;this.na=new g.Wt((0,g.z)(this.gS,this),15E3);g.N(this,this.na);this.C=null;this.qg=this.sb=!1;this.Na=window.NaN;this.Rh=this.Ed=this.sa=this.tb=!1;this.Hd=window.NaN;this.ij=a.experiments.g("html5_force_play_on_suspend_event");this.jj=a.experiments.g("html5_force_play_on_suspend_event_limited");this.X=null;this.ha=new OT;g.N(this,this.ha);this.ha.Fb("bufferhealth",(0,g.z)(this.jz,this));this.ha.Fb("bandwidth",(0,g.z)(this.GJ, | |
this));this.ha.Fb("networkactivity",(0,g.z)(this.IJ,this),!0);this.ha.Fb("livelatency",(0,g.z)(this.pz,this));this.ha.start();this.kd=!1;this.Bd=!0;this.Gd=window.NaN;this.Kf=!1;this.La=1;this.F=null;this.vb=(0,g.z)(this.wM,this);Pna(this.vb);this.fa.subscribe("visibilitystatechange",this.vb);this.Uh=this.Ug=0;this.Vh=a.experiments.l("html5_reattach_resource_after_timeout_limit");this.Sh=0;this.D=null;this.A.experiments.g("html5_new_seeking")&&Rna(this);this.ga=null;this.Tg=!1;this.pg=[];this.Fd= | |
this.Th=0}; | |
VT=function(a){g.kG()?g.lG(a.Na):g.WD(a.Na)}; | |
bU=function(a,b,c,d){d=void 0===d?!0:d;a.ca.length=0;a.ra.reset();a.Z.reset();a.Ga=window.NaN;a.T=window.NaN;a.sb=!1;a.Gd=window.NaN;a.Dd=!0;a.l&&a.l.te();WT(a);XT(a);ZT(a);VT(a);a.ha.clear();a.X=null;a.F=null;g.Ze(a.g);if(2==a.Nb||a.A.kj)b.yA=!0;var e=b.kc;var f=a.A.g;var k=a.A.zb,l;(l=e.adformat)||(l=(e=e.attrib)&&Tb(Sna,e)&&Tb(Tna,e)?Tna[e]+"_"+Sna[e]:void 0);if(e=l)if((l=e.match(Una))&&5==l.length){l=e.match(Una);var m=(0,window.parseInt)(l[3],10),n=[7,8,10,5,6];l=!(1==(0,window.parseInt)(l[1], | |
10)&&8==m)&&0<=n.indexOf(m);f=f||k||l?e:null}else f=null;else f=null;f&&(b.adFormat=f);2==a.Nb&&(b.Cm=!0);if(a.fa.isFullscreen()||a.A.g)f=g.NG("yt-player-autonavstate"),b.autonavState=f||(a.A.g?2:a.g.autonavState);a.Bd=d;a.g=b;a.g.subscribe("dataupdated",a.EU,a);a.g.subscribe("dataloaded",a.hy,a);a.g.subscribe("dataloaderror",a.Wl,a);a.g.subscribe("onStatusFail",a.DU,a);b.endSeconds&&b.endSeconds>b.startSeconds&&Vna(a,b.endSeconds);Wna(a,c);a.tb=!1;$T(a,"newdata");aU(a,new g.nP);a.D&&(b=a.D,a=a.g, | |
KT(b),b.g=a,b.J=null,b.C=a.startSeconds||0)}; | |
Wna=function(a,b){XT(a);if(!a.g.Kk){var c=new cma(a.g,a.A,b,(0,g.z)(a.getDuration,a),(0,g.z)(a.getCurrentTime,a),(0,g.z)(a.JJ,a),(0,g.z)(a.Wb.Oa,a.Wb),(0,g.z)(a.getAudioTrack,a),(0,g.z)(a.cB,a),(0,g.z)(a.zs,a),a.Vg,(0,g.z)(a.YJ,a),function(){return a.K.g("qoes")}); | |
a.C=new MP(c)}}; | |
XT=function(a){if(a.C){var b=a.C;if(!b.ka()&&b.B){b.C="paused";var c=QP(b);c.ea=!0;c.send();c=b.l;"PL"==c.o&&(c.o="N");var d=g.YO(c.g);g.zP(c,d,"vps",[c.o]);c.B(d);g.WD(b.A);b.dispose()}g.Ze(a.C);a.C=null}}; | |
cU=function(a){return a.l&&a.l.Ig()?a.l.la():null}; | |
eU=function(a){if(a.g.Od())return!0;g.dU(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1}; | |
gU=function(a,b){a.Wa=void 0===b?!1:b;if(eU(a)&&!a.ra.l){a.ra.start();if(a.C){var c=a.C.l;g.YO(c.g);c.g.videoData.Pp&&GP(c,c.g.videoData.Pp);c.g.videoData.xk?GP(c,"prefetch"):(c.l.user_intent=["0"],c.F=!0);c.g.videoData.mg&&(BP(c,"reload",c.g.videoData.reloadReason),BP(c,"reloadcount",c.g.videoData.mg.toString()));c.g.videoData.Tl&&GP(c,"monitor");c.g.videoData.za&&GP(c,"live");c.g.videoData.Ye&&BP(c,"ctrl",c.g.videoData.Ye,!0);c.g.videoData.Df&&BP(c,"ytp",c.g.videoData.Df,!0);if(c.g.videoData.UD){var d= | |
c.g.videoData.UD.replace(/,/g,".");BP(c,"ytrexp",d,!0)}c.g.videoData.chapterMarkers.length&&GP(c,"chaptermarkers");if(!c.g.g.experiments.g("html5_disable_gpu_reporting")){var e=c.g.g.experiments;d=c.g.videoData;e=e.g("enable_white_noise")||e.g("enable_webgl_noop")||e.g("enable_gpu_logging");var f=d.yi()||d.rf()||d.sf()||d.Pe();d=0==d.clientPlaybackNonce.indexOf("gp");(e||f||d)&&(d=(0,g.fU)())&&(c.l.gpu=[d])}c.Y=g.VD((0,g.z)(c.B,c),1E4)}a.hy()}}; | |
hU=function(a){return a.fa.isBackground()}; | |
jU=function(a){a.l&&a.l.ek();gU(a);eU(a)&&!g.X(a.o,128)&&(a.Z.l||(a.Z.start(),aU(a,pP(pP(a.o,8),1))),iU(a))}; | |
iU=function(a){if(!a.Z.g&&a.ra.g&&!g.X(a.o,128)&&!a.ca.length){if(!a.I.C){var b=a.I;b.C=!0;b.o()}if(!kU(a)){a.B&&(b=a.B,a.Wg=!!b.fa&&!!b.na);a.Z.g||(a.Z.g=!0);!a.g.za||0<a.g.Vc&&!mO(a.g)||(lU(a,window.Infinity,!0),mU(a,"readying"),hU(a)&&(a.qg=!0));if(a.C&&(b=a.C,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.bq("connected"),UP(b)),b.g.videoData.za)){b=b.l;var c=b.g.videoData.oa;mO(b.g.videoData)&&GP(b,"manifestless");c&&zL(c)&&GP(b,"live-segment-"+zL(c).toFixed(1))}a.R("playbackready", | |
a);XN("pbr","")||(a.K.g("pbr"),YN("pbr"))}}}; | |
TT=function(a,b){b=void 0===b?!0:b;nU(a);var c=b?new g.nP(14):new g.nP;aU(a,c)}; | |
Vna=function(a,b){a.Y&&(a.I.B(a.Y),a.Y=null);a.Y=new g.bQ(1E3*b,0x7ffffffffffff);a.Y.namespace="endcr";zS(a.I,[a.Y])}; | |
pU=function(a,b,c,d){a.g.Ja=c;d&&Xna(a,b,d);if(a.C){var e=oU(a);d=a.C.l;e=new PO(a.g,c,b,e?RH(e):"");c=g.YO(d.g);g.zP(d,c,"vfs",[e.g.id,e.l,d.ga,e.reason]);d.ga=e.g.id;e=d.g.I();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=g.TM();1<f&&e.push(f);g.zP(d,c,"view",e)}!d.T&&d.g.videoData.sh&&GP(d,"rqs");d.T=!0;g.zP(d,c,"vps",[d.o]);d.B(c)}a.M.l=0;a.R("internalvideoformatchange",a.g,"m"==b)}; | |
oU=function(a){if(!a.g.Aa)return null;var b=qU(a,"html5_optimality_migration")?zna(a.M,a.g,rU(a),hU(a)):XI(XI(XI(FT(a.M,a.g),rU(a)),DT(a.M,hU(a))),ET(a.M));return g.La(a.g.Aa.videoInfos,(0,g.z)(b.A,b))}; | |
Xna=function(a,b,c){if(c!=a.g.tc){var d=!a.g.tc;a.g.tc=c;if(a.C){var e=a.C.l;c=new PO(a.g,c,b,"");var f=g.YO(e.g);c.g.id!=e.K&&(g.zP(e,f,"afs",[c.g.id,e.K,c.reason]),e.K=c.g.id)}d||a.R("internalaudioformatchange",a.g,"m"==b)}}; | |
g.dU=function(a,b,c,d,e){var f,k;g.Ub(Yna,c)?f=c:c?k=c:f="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:k||g.V(f),messageKey:f,subreason:e||""};a.kj&&$T(a,"dataloaderror");aU(a,oP(a.o,128,b));VT(a);ZT(a);g.sU(a)}; | |
Zna=function(a,b){a.ca=a.ca.filter(function(a){return b!=a}); | |
a.Z.l&&iU(a)}; | |
kU=function(a){var b;(b=!!a.ca.length)||(a=a.I.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b}; | |
boa=function(a,b){a.l&&tU(a);if(!a.o.isError()){var c=qP(a.o,512);!g.X(c,8)||!qU(a,"htlm5_ended_buffering_killswitch")&&g.X(c,2)||(c=pP(c,1));aU(a,c)}a.l=b;a.l.hp(a.Kf);a.l.Te(a.La);$na(a);aoa(a);if(a.D){c=a.D;var d=a.l;g.EF(c.I);(c.o=d)?Nna(c):KT(c)}}; | |
aoa=function(a){if(a.A.experiments.g("html5_prewarm_mse")&&OI()&&xI())try{a.l.Ip()}catch(b){}}; | |
tU=function(a){if(a.D){var b=a.getCurrentTime();0<b&&(a.D.C=b);b=a.D;g.EF(b.I);b.o=null;KT(b)}uU(a);a.B&&(g.Xt(a.B.X),FS(a.B,!1));a.na.stop();a.l&&(!a.Z.l||a.o.isError()||g.X(a.o,2)||aU(a,pP(a.o,512)),WT(a),g.EF(a.Da),a.l.te(),a.l=null)}; | |
yU=function(a){if(!g.X(a.o,128))if(a.kd)a.kd=!1,vU(a);else if(jU(a),g.X(a.o,64)&&aU(a,pP(a.o,8)),a.Z.g&&a.l)if(a.g.Aa){if(a.g.za){var b=a.getCurrentTime()<a.Yb()-15;var c=g.FO(a.g)&&g.X(a.o,4);if(b||c)c?(lU(a,window.Infinity,!0),mU(a,"unpauseLiveOnly")):(lU(a,a.Yb(),!0),mU(a,"outOfWindow"));!wU(a,void 0,!0)&&a.isPeggedToLive()&&(lU(a,window.Infinity,!0),mU(a,"peggedToLive"));if(b=a.A.experiments.g("html5_new_seeking")&&g.X(a.o,256)&&a.g.oe&&a.D)b=a.D,b=b.H&&!(0,window.isFinite)(b.l);if(b){aU(a,rP(a.o, | |
8,4));return}}xU(a)?a.A.ln?g.UD((0,g.z)(a.Dm,a),0):a.Dm():a.Dm()}else b=a.g.za&&!g.PI()?"html5.unsupportedlive":a.g.Uc?"fmt.unplayable":"fmt.noneavailable",g.dU(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")}; | |
coa=function(a){if(!a.g.Aa)return[];if(qU(a,"html5_optimality_migration"))var b=Ana(a.M,a.g,rU(a));else b=rU(a),g.KM(a.A)&&(b=XI(b,Ena(a.M,a.g)));b=b||WI;a=(0,g.Kd)(a.g.Aa.videoInfos,(0,g.z)(b.A,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].video;c[e.quality]||(b.push(e),c[e.quality]=!0)}return b}; | |
doa=function(a){return qU(a,"html5_optimality_migration")?zna(a.M,a.g,rU(a),hU(a)):XI(XI(XI(XI(XI(Dna(a.M,a.g),FT(a.M,a.g)),DT(a.M,hU(a))),a.g.gw),rU(a)),ET(a.M))}; | |
rU=function(a){return a.H?a.H.F:lO(a.g)&&a.g.Aa.g&&mL(a.g.oa)?a.A.experiments.g("html5_drm_start_from_null_constraint")?WI:xT:WI}; | |
zU=function(a,b){if(!a.ka()&&!g.X(a.o,128)&&lO(a.g)){"m"==b&&VI(a.g.Qm)&&(b="a");var c=doa(a);if(a.g.Aa.g){if(a.B){var d=a.B,e=b;if(!d.ka()&&!TI(d.D.B,c)&&d.g){QS(d,Oma(d.D,c,e));ES(d);e=mS(d.D)&&"m"==c.reason&&d.D.K;var f=d.l.Ug&&"l"==c.reason&&WR(d.g);c="b"==c.reason;e||f||c?d.R("reattachrequired"):(XR(d.g)&&MS(d,d.g,d.o),g.Xt(d.X))}}}else{qU(a,"html5_reason_reporting_migration")&&(b=c.reason);d=a.g;a:if(e=a.g.Cf,c.g){f=g.ma(e);for(var k=f.next();!k.done;k=f.next()){k=k.value;var l=k.Uf(),m=g.MH[l.video.quality]; | |
if((!c.o||"auto"!=l.video.quality)&&m<=c.g){c=k;break a}}c=e[e.length-1]}else c=e[0];d.ye=c;pU(a,b,a.g.ye.Uf())}a.o.kb()&&yU(a)}}; | |
eoa=function(a){a.F=new sQ(a.g,a.A.experiments,function(){return AU(a,!0)}); | |
a.D&&(a.D.J=a.F);a.C&&VP(a.C,uQ(a.F))}; | |
g.BU=function(a){Xka(a.g.oa,{cpn:a.g.clientPlaybackNonce,c:a.A.o.c,cver:a.A.o.cver});var b=gna(a.A,a.g);a.B=new DS(a.A.schedule,b,a.g.oa,a.g.Aa,a.I);a.B.subscribe("initsegment",a.WR,a);a.B.subscribe("newDrmInfo",a.JS,a);a.B.subscribe("videoformatchange",a.jS,a);a.B.subscribe("audioformatchange",a.iS,a);a.B.subscribe("error",a.Wl,a);a.B.subscribe("ctmp",a.Eb,a);a.B.subscribe("seekelementrequired",a.GV,a);a.B.subscribe("seekplayerrequired",(0,g.z)(function(a,b){lU(this,a,!0,void 0,b)},a)); | |
a.B.subscribe("reattachrequired",a.zV,a);a.B.subscribe("metadata",a.YC,a);a.B.subscribe("constraint",a.BU,a);b=g.Pa(a.ca,"spacecast")||a.Wa&&!a.A.experiments.g("html5_preload_media");var c=a.getAudioTrack();c=c.Gb.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,doa(a),b,c);a.g.probeUrl&&(a.B.ga=a.g.probeUrl);(a.ca.length||a.Wa)&&FS(a.B,!1);a.D&&Ina(a.D,a.B);a.F&&dT(a.B,a.F.l,zQ(a.F),a.F.g.C);a.Xb=[]}; | |
Rna=function(a){a.D=new JT(a.g,a.A);a.D.subscribe("seekto",function(b,c){foa(a,b);c||goa(a);hoa(a,b);a.R("seekto",a,b)}); | |
a.D.subscribe("seekstart",function(){return ioa(a)}); | |
a.D.subscribe("ended",function(){return TT(a)}); | |
a.D.subscribe("pausemediaelement",function(){return nU(a,!0)}); | |
a.D.subscribe("resumemediaelement",function(){g.X(a.o,8)&&a.Dm()}); | |
a.D.subscribe("ctmp",a.Eb,a)}; | |
ZT=function(a){a.B&&(a.B.dispose(),a.B=null,a.D&&Ina(a.D,null));uU(a)}; | |
uU=function(a){a.J&&(a.J.dispose(),a.J=null)}; | |
CU=function(a){if(a.J)return a.J.Ut;qU(a,"html5_disable_loader_reorder")&&joa(a);koa(a);return a.J?a.J.Ut:null}; | |
koa=function(a){if(qU(a,"html5_application_media_source"))a.R("requestmediasource",a);else{try{var b=a.l.so()}catch(c){g.PD(c,"WARNING"),c.message="window.URL object overwritten by external code",window.setTimeout(function(){throw c;},0),g.dU(a,a.g.Uc?"drm.unavailable":"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1")}loa(a,b)}}; | |
loa=function(a,b){qU(a,"html5_disable_loader_reorder")||joa(a);a.J=b;hka(a.J,function(b){try{if(a.A.experiments.g("html5_mse_fix_killswitch")||a.J&&(!b||a.J==b))if(a.rg)a.Lf=!0;else{var c=a.getDuration();!c&&mO(a.g)&&(c=3600);a.J.o.duration=c;g.GS(a.B,a.J)}}catch(e){g.PD(e,"WARNING"),a.Wl(new g.YM("fmt.unplayable",!0,{msi:"1",ename:e.name}))}})}; | |
joa=function(a){a.B?a.B.seek(a.getCurrentTime()):g.BU(a)}; | |
moa=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1}; | |
noa=function(a){if(!a.g.oe&&a.g.mg){if(6048E5<g.eG()-a.A.Wb){if(!qU(a,"html5_retire_by_reload_killswitch"))try{window.location.reload(!0);return}catch(b){}qU(a,"tvhtml5_retire_old_players")&&g.KM(a.A)&&DU(a)}}else a.sa||(a.sa=!0,a.R("signatureexpired"))}; | |
ooa=function(a){return a.sa?!1:a.g.oe?10>a.g.mg:!a.g.mg}; | |
vU=function(a){a.sa||(a.sa=!0,a.R("signatureexpired"))}; | |
poa=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav}; | |
qoa=function(a,b){if(a.l&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.l.Ib();b.details.merr=c?c.toString():"0";b.details.msg=a.l.gk()}}; | |
soa=function(a,b,c){if(a.Gd+3E4>(0,g.F)())return qU(a,"html5_exile_broken_instances")&&!a.g.oe&&(a.A.Y+=1,10<a.A.Y)?(c.exiled=""+a.A.Y,a.C.onError("qoe.start15s",ZM(c)),a.R("playbackstalledatstart"),!0):!1;a.Gd=(0,g.F)();var d=a.g;d=d.ye?+g.aE(d.ye.g().g).expire<Date.now()/1E3+1800:!1;a.C&&(c.e=b,a.J&&(c.msopened=""+ +!!a.J.g),d&&(c.staleprog="1"),a.C.onError("qoe.restart",ZM(c)));if(d){if(qU(a,"html5_sig_error_change_killswitch"))return noa(a),!0;if(ooa(a))return vU(a),!0}qE("philips")&&DU(a);a.B&& | |
(b=a.B,b.g&&(c=(c=b.g.B||b.g.g)?c.g:b.g.l,c.F+=1,kS(b.D,c)));roa(a);return!0}; | |
roa=function(a){ZT(a);a.R("newelementrequired");g.X(a.o,8)&&yU(a)}; | |
DU=function(a){if("GAME_CONSOLE"!=a.A.o.cplatform)try{window.close()}catch(b){}}; | |
nU=function(a,b){b=void 0===b?!1:b;var c=!a.A.experiments.g("web_player_ended_pause_killswitch")&&g.X(a.o,2);if((g.X(a.o,64)||c)&&!b)if(g.X(a.o,8))aU(a,rP(a.o,4,8));else return;if(a.l||a.A.experiments.g("html5_pause_video_fix"))g.X(a.o,128)||(b?aU(a,pP(a.o,256)):aU(a,rP(a.o,4,8))),a.l&&a.l.pause(),g.FO(a.g)&&a.B&&FS(a.B,!1)}; | |
EU=function(a){a.B&&(FS(a.B,!1),HS(a.B))}; | |
g.sU=function(a,b){b=void 0===b?!1:b;a.l&&(WT(a),ZT(a),a.D||(a.g.startSeconds=a.getCurrentTime()),a.T=window.NaN,a.l.te(),aoa(a),g.X(a.o,128)||(b?aU(a,rP(a.o,4,8)):aU(a,oP(a.o))),a.A.C.remove(a.g.videoId))}; | |
lU=function(a,b,c,d,e){b=void 0===b?0:b;c=void 0===c?!1:c;e=void 0===e?!1:e;!qU(a,"html5_update_on_seek_killswitch")&&g.X(a.o,2)&&xU(a);if(a.A.experiments.g("html5_new_seeking"))b&&!(0,window.isFinite)(b)&&toa(a),LT(a.D,b,c,e,d);else if(a.l&&a.Z.g){b&&!(0,window.isFinite)(b)&&toa(a);var f;if(b&&!(0,window.isFinite)(b)){var k;if(k=a.B&&mO(a.g))k=a.B,k=!(k.g.D||k.o.D)||a.g.oe&&!a.A.experiments.g("html5_manifestless_no_redundant_seek_to_head");k?f=$S(a.B):vE()&&(a.A.experiments.g("html5_appletv_clampaftermetadata_killswitch")|| | |
1>a.l.fe())&&(f=b)}f||(f=g.cd(b||0,a.Yb(),AU(a,e)));foa(a,f);c?a.Uy():goa(a,d);hoa(a,f);a.R("seekto",a,f)}else a.g.startSeconds=b}; | |
toa=function(a){if(a.F&&a.B){if(qU(a,"html5_adaptive_readahead_enable_new_method"))rma(a.F)&&a.C&&VP(a.C,uQ(a.F));else if(a.g.isLowLatencyLiveStream||"LOW"==a.g.latencyClass||"ULTRALOW"==a.g.latencyClass)if(a.A.experiments.g("html5_readahead_holdback")){var b=vQ(a.F);if(b!=a.F.l){var c=a.g.oa?zL(a.g.oa)||5:5;a.Eb("adaptiveReadaheadHoldback",""+b*c)}}else{b=a.F;if(b.o.length){c=b.l;b.l=vQ(b);if(c=c!=b.l)b.o=[],b.B=0;b=c}else b=!1;b&&a.C&&VP(a.C,uQ(a.F))}dT(a.B,a.F.l,zQ(a.F),a.F.g.C)}}; | |
foa=function(a,b){if(a.F){var c=a.F;AQ(c,b,!1);BQ(c,b)}a.g.startSeconds=b;a.T=b;c=a.Sa;c.g=b;c.l=!0}; | |
hoa=function(a,b){a.Y&&b>a.g.endSeconds&&(0,window.isFinite)(b)&&(a.I.B(a.Y),a.Y=null);b<AU(a)-.01&&aU(a,qP(a.o,2))}; | |
goa=function(a,b){g.X(a.o,32)||(aU(a,pP(a.o,32)),g.X(a.o,8)&&nU(a,!0),a.R("beginseeking",a));b&&(a.ya||(a.ya=new g.Wt(a.Uy,b,a)),a.ya.start());FU(a)}; | |
ioa=function(a){a.ya&&(a.ya.dispose(),a.ya=null);g.X(a.o,32)&&(aU(a,pP(qP(a.o,32),16)),a.R("endseeking",a))}; | |
GU=function(a){if(!a.g.oa){if(a.A.experiments.g("html5_start_date_from_element")&&vE()&&a.l){var b=a.l.Zl().getTime();if(!(0,window.isNaN)(b))return b/1E3+a.getCurrentTime()}return window.NaN}return AL(a.g.oa,a.getCurrentTime())}; | |
voa=function(a){if(!a.l)return 0;if(g.FO(a.g))return 1;if(GO(a.g)){if(wU(a)||a.isPeggedToLive())return 1;var b=a.l,c=b.Tf();b=(0<jI(c)&&b.getDuration()?c.end(c.length-1):0)-a.Yb();a=uoa(a)-a.Yb();return Math.max(0,Math.min(1,b/a))}return iP(a.l)}; | |
HU=function(a,b){var c={};if(void 0===b?0:b){a.C?g.Ha(c,KP(OP(a.C,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.l&&(g.Ha(c,a.l.fk()),g.Ha(c,a.zs()));a.B&&g.Ha(c,cT(a.B));if(a.H){var d=a.H,e=d.g;e={systemInfo:{flavor:e.flavor,keySystem:e.g},sessions:[]};d=g.ma(d.l.values);for(var f=d.next();!f.done;f=d.next()){f=f.value;var k={requestedKeyIds:f.Z,cryptoPeriodIndex:f.C};f.A&&(k.keyStatuses=f.g);e.sessions.push(k)}c.drm=e}c.state=a.o.l.toString(16);g.X(a.o,128)&&(c.debug_error=a.o.g);kU(a)&&(c.prerolls= | |
a.ca.join(","));a.g.Hg&&(c.ismb=a.g.Hg);"UNKNOWN"!=a.g.latencyClass&&(c.latency_class=a.g.latencyClass);a.g.isLowLatencyLiveStream&&(c.lowlatency="1");a.g.za&&(a.g.oa&&zL(a.g.oa)&&(c.segduration=zL(a.g.oa)),a.X&&(c.lat=oQ(a.X.B)));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=oU(a))c.optimal_format=e.video.qualityLabel;c.user_qual=TG()}c.debug_videoId=a.g.videoId;return c}; | |
IU=function(a){return qU(a,"html5_new_vis_fullscreen_and_airplay")?a.fa.o:a.Rh}; | |
$T=function(a,b){a.R("internalvideodatachange",void 0===b?"dataupdated":b,a,a.g)}; | |
$na=function(a){(0,g.B)("loadstart loadeddata loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" "),function(a){this.Da.O(this.l,a,this.vM,this)},a); | |
a.A.Tg&&a.l.Ig()&&(a.Da.O(a.l,"webkitplaybacktargetavailabilitychanged",a.tQ,a),a.Da.O(a.l,"webkitcurrentplaybacktargetiswirelesschanged",a.uQ,a))}; | |
woa=function(a){var b=a.getCurrentTime(),c=a.g;!XN("pbs","")&&TN.measure&&TN.getEntriesByName&&(TN.getEntriesByName("mark_nr")[0]?WN("mark_nr"):WN());c.videoId&&a.K.info("docid",c.videoId);c.eventId&&a.K.info("ei",c.eventId);c.clientPlaybackNonce&&a.K.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.K.info("start",c.startSeconds.toString());a.l&&a.l.Ji()&&a.K.info("paused",1);c.Ja?a.K.info("fmt",RH(c.Ja)):a.K.info("fmt","-1");c.xk&&a.K.info("yt_pre",a.Wg?"2":"1");a.fa.isFullscreen()&&a.K.info("yt_fs", | |
"1");a.K.info("cmt",b.toFixed(3));if(a.B){b=a.B;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.na),c.length&&(c=c[0],b.Zc("vri",c.fetchStart),b.Zc("vdns",c.domainLookupEnd),b.Zc("vreq",c.requestStart),b.Zc("fvb",c.responseStart),b.Zc("vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.fa),c.length&&(c=c[0],b.Zc("ari",c.fetchStart),b.Zc("adns",c.domainLookupEnd),b.Zc("areq",c.requestStart),b.Zc("avb",c.responseStart),b.Zc("arc",c.responseEnd))); | |
b=b.Xb;for(var d in b)a.K.g(d,b[d])}}; | |
FU=function(a,b){b=void 0===b?!1:b;if(a.l&&a.g){var c=a.getCurrentTime();if(a.F)if(qU(a,"html5_adaptive_readahead_enable_new_method")){var d=a.F,e=(0,g.F)(),f=a.B;var k=eS(f.H);f=f.D;f=iS(f,f.o.info)+iS(f,f.J.info);k/=f;wQ(d,e);d.o.push([e,k])}else wU(a)&&(d=a.F,e=a.jz(),d.B++,3>d.B||(0,g.F)()-d.F<d.g.M||(d.F=(0,g.F)(),d.o.push(e),50<d.o.length&&d.o.shift()));a.F&&(d=a.o.kb(),e=a.F,AQ(e,c,void 0===d?!0:d),BQ(e,c),d&&(d=a.F,d=!yQ(d,c)&&d.isPeggedToLive()?window.Infinity:c<d.A.Yb()?Math.min(d.A.Yb()+ | |
10,xQ(d)):window.NaN,(0,window.isNaN)(d)||(lU(a,d,!0),mU(a,"updateProgress"))));a.X&&wU(a)&&(d=a.X,!d.g||c>=d.o&&c<d.A||(e=d.g.Cg(c),-1!=e&&(d.o=d.g.Qd(e),d.A=d.o+d.g.getDuration(e),e=(0,g.F)()/1E3-d.g.xu(e),d.l&&(e-=d.l()),d.B.add(e))));!a.B||g.X(a.o,4)&&g.FO(a.g)||(d=a.B,d.A&&(d.B!=c&&d.resume(),d.K&&!vI(d.A)&&(e=d.B<=c&&c<d.B+10,k=0<=hI(d.A.l.oc(),d.B+OS),e&&k&&(d.K=!1)),d.K||(d.B=c),g.Xt(d.ha)));5<c&&(a.D?a.D.C=c:a.g.startSeconds=c);(d=g.kG())?g.lG(a.Na):g.WD(a.Na);!g.vP(a.o)&&a.l.Ji()||g.X(a.o, | |
128)||(e=(0,g.z)(a.nK,a),0==a.l.Al().length?a.Na=d?g.iG(e,100):g.UD(e,100):a.Na=d?g.iG(e,500):g.UD(e,500));a.g.wg=c;if(!b&&a.o.kb()&&(a.C&&(c=a.C,c.o.update(),c.g.videoData.Kb()&&c.g.videoData.Sf&&!c.K&&UO(c.o)>=c.g.videoData.Sf&&(c.B&&c.g.videoData.Sf&&(d=OP(c,"delayplay"),d.Ga=!0,d.send(),c.K=!0),TP(c)),wU(a)&&(!a.g.oa||!xL(a.g.oa))&&(0,g.F)()>a.Sh+6283&&(c=a.C.l,e=c.g.B(),d=g.YO(c.g),CP(c,d,e),e=e.C,(0,window.isNaN)(e)||g.zP(c,d,"e2el",[e.toFixed(3)]),a.Sh=(0,g.F)())),a.g.Ja&&WH(a.g.Ja)&&(c=cU(a))&& | |
c.videoHeight!=a.Fd&&(a.Fd=c.videoHeight,qU(a,"html5_log_hls_video_height_change_as_format_change")&&a.g.ye&&"auto"==a.g.ye.xg.video.quality&&a.g.Cf)))for(c=g.ma(a.g.Cf),d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()==a.Fd&&"auto"!=d.xg.video.quality){pU(a,"a",d.Uf());break}a.R("progresssync",a,b)}}; | |
aU=function(a,b){if(!g.sP(a.o,b)){var c=new g.xP(b,a.o);a.o=b;var d=!a.Oc.length;a.Oc.push(c);var e=a.l&&a.l.gp();if(0<yP(c,1)&&!g.X(c.g,16)&&!e&&g.X(a.o,8)&&!g.X(a.o,64)&&a.B&&(a.B.M=!0,xoa(a),a.l&&5<=gP(a.l))){e=a.M;var f=a.g;6E4<(0,g.F)()-e.A&&(e.l=0);e.l++;e.A=(0,g.F)();f=f.Ja.video.g;var k=e.g.l?240:360;4==e.l&&f>k?(e.g.zc=new SI(0,f-1,!1,"b"),e=!0):e=!1;e&&zU(a,"b")}(0>yP(c,8)||0<yP(c,1024))&&a.na.stop();!(0<yP(c,8))||a.g.oe||g.X(c.state,1024)||a.na.start();g.X(c.state,8)&&0>yP(c,16)&&!g.X(c.state, | |
32)&&!g.X(c.state,2)&&yU(a);g.X(c.state,2)&&GO(a.g)&&(e=a.getCurrentTime(),a.g.lengthSeconds!=e&&(a.g.lengthSeconds=e,$T(a)),FU(a,!0));0<yP(c,2)&&a.Cv();a.g.oa&&a.g.za&&(0>yP(c,8)?(e=a.g.oa,e.A&&e.A.stop()):0<yP(c,8)&&a.g.oa.resume());if(a.C&&(e=a.C,!e.ka())){g.X(c.state,2)?(e.C="paused",0<yP(c,2)&&e.B&&QP(e).send()):g.X(c.state,8)?(e.C="playing",e.B&&(0,window.isNaN)(e.D)&&NP(e,!1)):e.C="paused";f=e.l;k=c.state;var l=g.YO(f.g),m=gma(f,c.state);if(m!=f.o){if(!(l<f.A)){if("PL"==f.o)f.J+=l-f.A;else if("B"== | |
f.o&&f.H){f.H=!1;var n=f.g.g.experiments.l("html5_disable_last_state_change")?f.A:f.Z;f.M+=l-n;!f.X&&10<=f.M&&180>=f.J&&(f.g.F(),f.l.qoealert=["1"],f.X=!0)}"B"!=m||"PL"!=f.o&&"PB"!=f.o||(f.H=!0);f.A=l}"B"==m&&"PL"==f.o||f.g.videoData.sh?DP(f,l):g.zP(f,l,"cmt",[f.g.l().toFixed(3)]);g.zP(f,l,"vps",[m]);f.o=m;f.Z=l;f.A=l}g.X(k,128)&&FP(f,l,k.g.errorCode,k.g.errorDetail);(g.X(k,2)||g.X(k,128))&&f.B(l);g.X(k,8)&&f.g.videoData.xk&&!f.F&&(f.l.user_intent=[g.YO(f.g).toString()],f.F=!0);EP(f);e.A&&g.X(c.state, | |
128)&&(e.bq("error-100"),g.WD(e.A))}if(d&&!a.ka())try{for(var p=g.ma(a.Oc),r=p.next();!r.done;r=p.next()){var v=r.value,D=a.I;c=v;if(D.C&&!D.H&&(D.o(),g.X(c.g,16))){c=D;var H=xS(c.g,Math.max(c.A-2E3,0));!(0,window.isNaN)(H)&&0x7ffffffffffff>H&&c.D.start()}a.R("statechange",v)}}finally{a.Oc.length=0}}}; | |
yoa=function(a){g.X(a.o,2)||g.X(a.o,32)||(a.T=window.NaN)}; | |
JU=function(a,b){aU(a,rP(a.o,1028,9));a.Eb("dompaused",b);a.R("onDompaused")}; | |
xU=function(a){if(!a.l||!a.g.Aa)return!1;var b=null;a.g.Aa.g?(b=CU(a),a.B.resume()):(ZT(a),a.g.ye&&(b=a.g.ye.g()));var c=a.l.fp(),d=!1;c&&null!=b&&b.g==c.g||(a.K.g("vta"),YN("vta"),a.D&&0<a.getCurrentTime()&&(d=a.getCurrentTime(),a.D.C=d),a.l.ek(b),a.J&&mG(4),!a.g.oe&&g.tP(a.o)&&a.na.start(),d=!0);!a.D||!qU(a,"html5_resume_if_ended_killswitch")&&g.X(a.o,2)||(b=a.D,b.F||!(0<b.C)||b.o&&0<b.o.getCurrentTime()||LT(b,b.C));zoa(a);return d}; | |
zoa=function(a){if(g.xO(a.g)&&a.l){var b=a.g.Ci;if(b&&a.l.Ig()){if(a.H){if("fairplay"!=b.flavor||vE())return;WT(a)}var c=a.l.la();a.H=new yT(c,b,a.A.experiments,"widevine"==b.flavor&&!a.g.za&&!a.g.Ft,a.g.drmSessionId);a.H.subscribe("newsession",a.LS,a);a.H.subscribe("licenseerror",a.aS,a);a.H.subscribe("qualitychange",a.cS,a);a.H.subscribe("heartbeatparams",a.tM,a);a.H.subscribe("keystatuseschange",a.uM,a);a.H.subscribe("hdproberequired",a.bS,a);a.H.subscribe("ctmp",a.Eb,a);zT(a.H,a.g.oauthToken); | |
(0,g.B)(a.Xb,function(b){BT(a.H,new hT(b.info,b.type))}); | |
a.Xb=[]}else g.dU(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1")}}; | |
WT=function(a){a.H&&(a.H.dispose(),a.H=null)}; | |
uoa=function(a){return a.g.za&&(wU(a)||a.isPeggedToLive()||g.FO(a.g))?a.getCurrentTime():AU(a)}; | |
AU=function(a,b){b=void 0===b?!1:b;return a.A.experiments.g("html5_new_seeking")?a.D?a.D.Ld(b):0:a.l?a.g.za?vE()?OO(a.l.Zl().getTime()):a.g.Aa&&a.g.Aa.g&&a.F?b?a.g.Ld():xQ(a.F):eP(a.l)||0:a.g.Ld():0}; | |
KU=function(a,b){a.La=b;a.l&&a.l.Te(b)}; | |
wU=function(a,b,c){if(!a.g.za||!a.F||!(a.Dd||void 0!==c&&c))return!1;void 0==b&&(b=a.getCurrentTime());return yQ(a.F,b)}; | |
g.Aoa=function(a,b){(a.Dd=b)||a.na.stop();if(a.g.oa)if(b)a.g.oa.resume();else{var c=a.g.oa;c.A&&c.A.stop()}a.A.experiments.g("html5_suspend_loader")&&a.B&&(b?a.B.resume():FS(a.B,!0));a.A.experiments.g("html5_fludd_suspend")&&(g.X(a.o,2)||b?g.X(a.o,512)&&b&&aU(a,qP(a.o,512)):aU(a,pP(a.o,512)));a.C&&(c=a.C.l,g.zP(c,g.YO(c.g),"stream",[b?"A":"I"]))}; | |
Boa=function(a){a.l&&(a.J?(WT(a),ZT(a),CU(a)):(a.g.ye&&a.g.ye.A(),a.l.te()),yU(a))}; | |
LU=function(a,b){a.A.experiments.g("html5_log_rebuffer_reason")&&a.Eb("bufreason","r."+b+";lact."+g.rG())}; | |
Coa=function(a,b){if(a.g.sh){var c=a.A.experiments.l("html5_log_rebuffer_events");if(c&&a.C&&a.l){var d=a.l.fk();d.rt=g.YO(a.C.g).toFixed(3);d.e=b.substr(0,3);a.pg[a.Th++%c]=ZM(d)}}}; | |
xoa=function(a){if(a.g.sh){for(var b=g.ma(a.pg),c=b.next();!c.done;c=b.next())a.Eb("vpe",c.value);a.pg=[];a.Th=0}}; | |
mU=function(a,b){a.Eb("seekreason",b)}; | |
qU=function(a,b){return a.A.experiments.g(b)}; | |
MU=function(a,b){WP.call(this,a,b);this.F=null}; | |
g.NU=function(a){return a.app.A}; | |
g.OU=function(a){a=g.NU(a).I;return!!a&&a.hB()}; | |
PU=function(a){a=g.NU(a);var b=a.I;return b&&b.iB()?!0:g.EO(a.g.getVideoData(),"ypc_module")}; | |
g.QU=function(a,b){3==a.Qa()?a.R("mdxautoplaycancel"):a.R("autonavcancel",b)}; | |
g.Y=function(a){return a.app.g}; | |
g.UU=function(a){var b=a.app;a=a.playerType;return 3==g.RU(b)?g.SU(b.A).D:g.TU(b,a).o}; | |
g.VU=function(a){return a.app.F}; | |
WU=function(a){var b=g.SU(g.NU(a));return a.app.Z&&!a.isFullscreen()||3==a.Qa()&&b.hasNext()&&b.Zf()||!!a.fg()}; | |
g.XU=function(a,b){var c=a.playerType;(c=g.TU(a.app,void 0===c?1:c))&&TT(c,b)}; | |
g.YU=function(a){if(dF())if(a.isFullscreen())fF(a.getRootNode());else{a=a.getRootNode();var b=cF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.va("onFullscreenToggled",a.isFullscreen())}; | |
g.Doa=function(a){var b={};a=coa(g.TU(a.app));a=g.ma(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b}; | |
g.ZU=function(a){return(a=g.TU(a.app))?YI(Dna(a.M,a.g)):"unknown"}; | |
Eoa=function(a){return(a=$U(g.NU(a)))?a.xz():!1}; | |
g.aV=function(a){return(a=g.NU(a).o)?a.TM():{}}; | |
g.bV=function(a,b,c,d){var e=g.TU(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)}; | |
g.cV=function(a){a=g.NU(a).B;return!!a&&a.Xl()}; | |
g.dV=function(a){a=g.NU(a).B;return!!a&&a.fB()}; | |
g.eV=function(a,b){var c=g.EH(a);if(c)return c.gu(b);c=a.app.F.Oa();return new g.ah(0,0,c.width,c.height)}; | |
fV=function(a){a=g.NU(a).J;return!!a&&a.LM()}; | |
g.hV=function(a,b,c){gV(a.app,b,c||a.playerType)}; | |
g.jV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.TU(d,a))c.I.B.apply(c.I,b),a&&g.RU(d)!=a||iV(d,"cuerangesremoved",b)}; | |
g.kV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.TU(d,a))b=Zma(c.I,b),a&&g.RU(d)!=a||iV(d,"cuerangesremoved",b)}; | |
g.lV=function(a,b,c){c=void 0===c?a.playerType:c;(a=g.TU(a.app,c))&&Zna(a,b)}; | |
g.Foa=function(a){a=a.getVideoData().Ja;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType}; | |
g.Goa=function(a){a=a.getVideoData();return!!(a.adaptiveFormats||a.hlsFormats||a.ae)}; | |
g.mV=function(a,b,c){a=g.VU(a).element;var d=fb(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1}); | |
0>d&&(d=-(d+1));Id(a,b,d);b.setAttribute("data-layer",c)}; | |
g.nV=function(a){var b=g.Y(a);if(!b.Fd)return!1;var c=a.getVideoData();if(!c||3==a.Qa())return!1;var d=!c.isLiveDefaultBroadcast||b.experiments.g("allow_poltergust_autoplay");b=c.za&&(!b.experiments.g("allow_live_autoplay")||!d);return!c.ypcPreview&&!b&&!g.Pa(c.jd,"ypc")&&!a.fg()}; | |
pV=function(a,b,c,d){if(g.Y(a).X){a=a.app.ha;g.Pa(a.g,b);g.Sa(a.g,b);var e=String(a.F++);b.setAttribute("data-visual-id",e);g.oV(a,"onLogClientVeCreated",{id:e,ve_type:d});g.Ye(c,(0,g.z)(a.D,a,b))}}; | |
g.qV=function(a,b){g.Y(a).X&&a.app.ha.click(b)}; | |
g.rV=function(a,b,c){if(g.Y(a).X){a=a.app.ha;var d=b.getAttribute("data-visual-id");g.Pa(a.g,b);c?g.Sa(a.l,d):g.Ua(a.l,d);c&&!g.Pa(a.o,d)&&(g.oV(a,"onLogVesShown",{ids:[d]}),g.Sa(a.o,d))}}; | |
Hoa=function(){var a={};a.dt=wB;a.flash="0";a:{try{var b=window.top.location.href}catch(c){b=2;break a}b=null!=b?b==window.document.location.href?0:1:2}a=(a.frm=b,a);fi(a);return a}; | |
g.sV=function(a){g.FF.call(this);this.g=a;this.loaded=!1}; | |
Ioa=function(a,b){var c=g.OD("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.Gg(window.location.href);d&&c.push(d);d=g.Gg(a);if(g.Pa(c,d)||!d&&g.lb(a,"/"))if(g.LF("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.$c(c,a),a=c.href),a&&(c=g.Eg(a),c=g.Dg(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.JG();if(e){var e=(0,window.parseInt)(e,10);(0,window.isFinite)(e)&&0<e&&(c="ST-"+g.Cb(c).toString(36),d=b?g.Og(b):"",g.vG(c,d,e|| | |
5))}else e="ST-"+g.Cb(c).toString(36),c=b?g.Og(b):"",g.vG(e,c,5)}}; | |
g.tV=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.Qg(a,b)+c;a=a instanceof Hc?a:Mc(a);d.href=g.Ic(a)}; | |
g.uV=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.OD("EVENT_ID");d&&(b.ei||(b.ei=d));b&&Ioa(a,b);if(c)return!1;(window.ytspf||{}).enabled?window.spf.navigate(a):g.tV(a);return!0}; | |
g.vV=function(a,b,c){c&&Ioa(a,c);c=g.Lc(a);c=g.Ic(c);a!=c&&RD(Error("Unsafe window.open URL: "+a));a=c;window.open(a,b||g.Cb(a).toString(36))}; | |
wV=function(){g.M.call(this);var a=this;this.g=new window.Map;this.l=g.xF(window.document.body,"click",function(b){b.target&&(b=a.g.get(b.target))&&DE(b)},"ytp-ad-has-logging-urls")}; | |
Koa=function(a){if(a.simpleText)return a=g.Ed(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(Joa(d))}return 1==b.length?b[0]:g.K("SPAN",null,b)}; | |
Joa=function(a){var b=null,c=a.text;a.bold&&(b=g.K("B",null,b||c));a.italics&&(b=g.K("I",null,b||c));a.strikethrough&&(b=g.K("STRIKE",null,b||c));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var d=a.navigationEndpoint.urlEndpoint;b=g.K("A",null,b||c);g.$c(b,d.url);"TARGET_NEW_WINDOW"==d.target&&(b.target="_blank");if(a=a.navigationEndpoint.loggingUrls)a=a.map(function(a){return a.baseUrl}),null==xV&&(xV=new wV),xV.register(b,a),g.S(b,"ytp-ad-has-logging-urls")}return b||g.K("SPAN",null, | |
c)}; | |
zV=function(a){g.M.call(this);var b=this;this.g=new yV(a);g.N(this,this.g);this.o=[];this.l=[];this.g.subscribe("externalClick",function(){return b.hide()}); | |
this.g.subscribe("confirmClick",function(){return b.hide()})}; | |
yV=function(a){g.FF.call(this);this.A=a;this.l=new g.W({G:"div",L:"ytp-ad-info-dialog-confirm-container",N:[{G:"button",L:"ytp-ad-info-dialog-confirm-button",aa:"{{content}}"}]});g.N(this,this.l);this.l.hide();this.o=new g.W({G:"div",L:"ytp-ad-info-dialog-title",aa:"{{content}}"});g.N(this,this.o);this.o.hide();this.g=new g.W({G:"div",L:"ytp-ad-info-dialog-relative-container",N:[{G:"div",L:"ytp-ad-info-dialog-form",N:[this.o,{G:"ul",L:"ytp-ad-info-dialog-ad-reasons"},{G:"div",L:"ytp-ad-info-dialog-message", | |
aa:"{{content}}"},this.l]}]});g.N(this,this.g);this.g.hide();this.W=new g.CF(this);g.N(this,this.W)}; | |
Loa=function(a){return a.g.g["ytp-ad-info-dialog-ad-reasons"]}; | |
AV=function(a){return a?Koa(a):null}; | |
Moa=function(a){if(!a.loggingUrls)return[];var b=[];a=g.ma(a.loggingUrls);for(var c=a.next();!c.done;c=a.next())c=c.value,c.baseUrl&&b.push(c.baseUrl);return b}; | |
BV=function(){g.FF.call(this);this.g=new window.Map}; | |
Noa=function(){null==CV&&(CV=new BV,em.getInstance().l="b",fm());return CV}; | |
Ooa=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"g";case "measurable_impression":return"b";case "overlay_unmeasurable_impression":return"h";case "overlay_unviewable_impression":return"i";case "overlay_viewable_end_of_session_impression":return"j";case "overlay_viewable_immediate_impression":return"k";case "viewable_impression":return"o";default:return null}}; | |
Poa=function(a){DV=a&&a.data}; | |
Roa=function(a){Qoa=a&&a.data}; | |
Soa=function(){DV=null}; | |
g.Toa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-cast-desktop-on"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z", | |
fill:"#fff"}}]}}; | |
Uoa=function(){return{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",P:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}}; | |
g.FV=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-chevron-back"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},N:[{G:"path",P:{d:"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z",fill:"#fff"}}]}}; | |
g.GV=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-chevron-forward"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},N:[{G:"path",P:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}}; | |
Voa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-clip-clear"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},N:[{G:"path",P:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{G:"path",P:{d:"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z",fill:"#fff"}}]}}; | |
Woa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-clip-end"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}}; | |
Xoa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-clip-start"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}}; | |
g.HV=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-close"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 24 24",width:"100%"},N:[{G:"path",P:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}}; | |
Yoa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-link"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",P:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}}; | |
Zoa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-next"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}}; | |
g.$oa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-notifications-active"]}:{G:"svg",P:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},N:[{G:"path",P:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}}; | |
apa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-pause"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}}; | |
bpa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-pip"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",fill:"#fff"}}]}}; | |
cpa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-play"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}}]}}; | |
dpa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-prev"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}}; | |
g.IV=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-replay"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}}; | |
g.epa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-settings"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z", | |
fill:"#fff"}}]}}; | |
fpa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-stop"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}}; | |
gpa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-subtitles"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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"}}]}}; | |
hpa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-volume-high"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z",fill:"#fff"}}]}}; | |
ipa=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-volume-low"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}}; | |
JV=function(){return g.EV?{G:"div",da:["ytp-icon","ytp-icon-volume-muted"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}}; | |
g.KV=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.LV=function(a){return(!g.ua(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey}; | |
g.MV=function(a,b,c,d){g.M.call(this);this.l=a;c||a.hide();this.B=null==d?b:d;this.g=this.A=null;this.o=new g.Wt(this.zq,0,this);g.N(this,this.o)}; | |
NV=function(a,b){var c=a.l.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")}; | |
OV=function(a,b){this.l=a;this.g=b}; | |
PV=function(a,b){return a.l+b*a.getLength()}; | |
QV=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.l)/a.getLength();return g.cd(a,0,1)}; | |
RV=function(a,b){g.qH.call(this,{G:"div",L:"ytp-ad-persistent-progress-bar-container",N:[{G:"div",L:"ytp-ad-persistent-progress-bar"}]});this.B=a;this.A=b;g.N(this,this.A);this.F=this.g["ytp-ad-persistent-progress-bar"];this.l=-1;this.O(a,"presentingplayerstatechange",this.D);this.hide();this.D()}; | |
SV=function(){g.W.call(this,{G:"div",L:"ad-carousel",N:[{G:"div",L:"ad-carousel-clip",N:[{G:"ul",da:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.g["ad-carousel"];this.B=new g.W({G:"button",da:["ad-carousel-nav-button","ad-carousel-nav-prev"],P:{type:"button",onclick:"return false;"},N:[{G:"span",da:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],P:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.N(this,this.B);this.B.U("click",this.F,this);this.B.ua(a);this.A=new g.W({G:"button", | |
da:["ad-carousel-nav-button","ad-carousel-nav-next"],P:{type:"button",onclick:"return false;"},N:[{G:"span",da:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],P:{"data-tooltip-text":"Next",title:"Next"}}]});g.N(this,this.A);this.A.U("click",this.D,this);this.A.ua(a);this.C=this.g["ad-carousel-list"];this.l=0;this.Ma=[]}; | |
jpa=function(a,b){a.clear();for(var c=g.ma(b),d=c.next();!d.done;d=c.next()){var e=a;d=d.value.element;var f=new g.W({G:"li",L:"ad-carousel-listitem",N:[{G:"div",L:"ad-carousel-item"}]});f.g["ad-carousel-item"].appendChild(d);e.Ma.push(f);e.C.appendChild(f.element)}}; | |
UV=function(a){a.C&&g.oh(a.C,"left",(2>a.Ma.length?0:-a.l*a.Ma[1].element.clientWidth)+"px");g.pH(a.B,0<a.l);g.pH(a.A,a.l<a.Ma.length-TV(a))}; | |
TV=function(a){return 2>a.Ma.length?1:Math.round((a.element.clientWidth-a.Ma[0].element.clientWidth)/a.Ma[1].element.clientWidth)+1}; | |
VV=function(a){g.FF.call(this);this.l=a;this.g=new g.CF(this);g.N(this,this.g);this.A=kpa;this.o=null;this.g.O(this.l,"presentingplayerstatechange",this.B);this.o=this.g.O(this.l,"progresssync",this.C)}; | |
XV=function(a,b){this.g=a;this.l=g.ua(b)?b:null;if(g.Pa(WV,this.g)){if(!g.ua(this.l)||0>this.l)throw Error("Must have valid offset");}else if(null!==this.l)throw Error("Must not have offset");}; | |
YV=function(a){var b=a.l;if(null!==b)return b;switch(a.g){case 1:return 0;case 3:return-1;default:return-100}}; | |
lpa=function(a,b){var c=a.g,d=b.g;if(c!=d){if(1==c||3==d)return-1;if(1==d||3==c)return 1}var e=a.l,f=b.l;return e!=f?null===e?1:null===f?-1:e-f:c-d}; | |
g.ZV=function(){var a=g.OD("PLAYER_CONFIG");return a&&a.args&&void 0!==a.args.authuser?!0:!(!g.OD("SESSION_INDEX")&&!g.OD("LOGGED_IN"))}; | |
$V=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1}; | |
mpa=function(a,b){if(a){var c="getErrorCode"in a?a.Ib():null;c?b.error_code=c:(c="getMessage"in a&&g.Ca(a.getMessage)?a.Nd():a.message,c=ub(c||"",50),b.error_message=c)}}; | |
aW=function(a,b){if(a){var c=Hs(a).reverse();b.ad_id=g.Wa(c,Fs(a)).join(",");c=Js(a).reverse();b.ad_sys=g.Wa(c,vs(a)).join(",");c=Iq(a);null!=c&&(b.aqi=c)}}; | |
bW=function(a,b){if(a[b])return $V(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return $V(a[d]);return!1}; | |
npa=function(a,b,c){var d=new to;d.pj=b.baseYtUrl;d.contentId=c.videoId;d.Zv=!DM(b);d.dw=!0;d.rF=!0;d.sF=a.K;d.showContentThumbnail=a.showContentThumbnail;d.ti={};c.Ye&&(d.ti.ctrl=c.Ye);c.Df&&(d.ti.ytr=c.Df);c.Pn&&(d.ti.ytrcc=c.Pn);c.isMdxPlayback&&(d.ti.mdx="1");c.df&&(d.ti.vvt=c.df);a.l?(d.rr=!0,d.Hy=!0,d.showContentThumbnail=!1,d.Yv=!0,d.aw=!0,d.dw=!1):a.B&&(d.rr=!0);a.l&&xM&&(d.Xz=!1);d.Wz=a.I;return d}; | |
tpa=function(a){var b=new IA,c=a.app.F.Oa();b.Oj=c.width;b.Nj=c.height;b.pf=c.width;b.nf=100;b.My=QM(cW(a));c=new fn;c.g=(0,g.z)(cW(a).experiments.g,cW(a).experiments);c.l=(0,g.z)(cW(a).experiments.l,cW(a).experiments);c.o=(0,g.z)(cW(a).experiments.o,cW(a).experiments);b.Nq=c;if(c=b.My?vla(cW(a)):-1)b.C=c;a.l.tagForChildDirected&&(b.mq=!0);c=dW(a);b.jc={CA_TYPE:"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,EID:c.eventId,LACT:opa(a),VIS:ppa(a)};c.oauthToken&&fE()&&(b.D=gc({Authorization:"Bearer "+ | |
c.oauthToken}));c=eW(a);null!=c&&(b.jc.P_H=c.height,b.jc.P_W=c.width);g.Kb(Hoa(),function(a,c){b.jc[c.toUpperCase()]=a}); | |
QM(cW(a))||(b.jc.LACT="-1");b.language=cW(a).ya;var d=qpa(a,"a_bid_s","a_bid_f"),e=0;b.Fn=function(){var a=rpa();d(a);e++;return a}; | |
var f=qpa(a,"a_mid_s","a_mid_f");b.xn=function(){var a=spa();f(a);return a}; | |
return b}; | |
qpa=function(a,b,c){var d=!0;return function(e){if(d){a.Ae(b);if(Vf(e)){var f=(0,g.z)(a.Ae,a,c);e.then(f,f)}else a.Ae(c);d=!1}}}; | |
rpa=function(){var a=null;UE().then(function(b){a=b},function(b){a=b.isTimeout?"NO_BID":"ERR_BID"}); | |
if(null!=a)return a;var b=ug(1E3,"NO_BID"),c=g.jg(eg([UE(),b]),function(){return"ERR_BID"}); | |
hg(g.jg(c,g.y),function(){b.cancel()}); | |
return c}; | |
spa=function(){var a=null;WE().then(function(b){a=b},function(){a="NO_ADS_ID"}); | |
if(a)return a;var b=ug(1E3,"NO_ADS_ID"),c=g.jg(eg([WE(),b]),function(){return"NO_ADS_ID"}); | |
hg(g.jg(c,g.y),function(){b.cancel()}); | |
return c}; | |
opa=function(a){return{toString:function(){if(null==a||a.ka())return a=null;cW(a);return g.rG().toString()}}}; | |
ppa=function(a){return{toString:function(){return null==a||a.ka()?a=null:a.g.Mi().toString()}}}; | |
upa=function(a){return{toString:function(){if(null==a||a.ka())return a=null;var b=a.ce?a.ce.g:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.F)()-b).toString()}}}; | |
vpa=function(){var a=g.V("YTP_AD_SETTING_TEXT").split("$AD_SETTING_LINK_TEXT");a.splice(1,0,g.V("YTP_AD_SETTING_LINK_TEXT"));var b=g.ZV()?[g.V("YTP_WHY_THIS_AD_REASON_VIDEO_WATCHED"),g.V("YTP_WHY_THIS_AD_REASON_SIGNED_IN_ACTIVITY")]:[g.V("YTP_WHY_THIS_AD_REASON_VIDEO_WATCHED"),g.V("YTP_WHY_THIS_AD_REASON_DEVICE_ACTIVITY")];return new Ct(g.V("YTP_AD_SETTINGS_TOOLTIP"),g.V("YTP_CLOSE"),g.V("YTP_WHY_THIS_AD_REASON_HEADER"),b,void 0,a)}; | |
fW=function(a,b,c,d){this.l=this.A="";this.o=a;this.D=b;this.g=c;this.C=d}; | |
gW=function(a){var b={};b.l_ns=a.D;b.l_state=a.C;b.break_type=a.o.g;b.sst=YV(a.o);b.sidx=0;a.A&&(b.at=a.A);a.l&&(b.ad_id=a.l);return b}; | |
hW=function(){g.M.call(this);this.l=new g.Wt((0,g.z)(this.C,this),1E3);g.N(this,this.l);this.A=this.o=0;this.g=fba();this.B=!1}; | |
wpa=function(){var a=g.x("yt.www.watch.ads.loadAfc");g.Ca(a)?(a(),iW=!0):jW=!0}; | |
xpa=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"}; | |
ypa=function(){var a=g.x("window.google_show_companion_ad");var b=g.x("yt.www.watch.ads.getGlobals");g.Ca(a)&&g.Ca(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():kW=!0}; | |
Apa=function(a){if(P.o){if(!a)return bg();lW(a,{afvMpu:{}});return ag()}a=a&&cW(a).experiments;ypa();mW();return zpa(a)}; | |
zpa=function(a){nW||(nW=new hW(a));a=nW;a.B||(a.l.start(),a.B=!0);return a.g.g}; | |
mW=function(){nW&&(nW.dispose(),nW=null)}; | |
oW=function(){var a=g.x("yt.www.watch.ads.setCompanion");a&&a()}; | |
Bpa=function(a){var b=g.x("yt.www.watch.ads.showForcedMpu");b&&b(a)}; | |
pW=function(a,b,c,d){g.FF.call(this);this.g=a;this.l=d;this.videoData=null;this.adType=c;this.adSystem=b}; | |
Cpa=function(a,b,c){this.g=a;this.l=b;this.o=c||0}; | |
Gpa=function(a){var b=[];(0,g.B)(a.split("_"),function(a,b){this[b]=Eb(a)},b); | |
return new Cpa(g.Ub(Dpa,b[0])?b[0]:0,g.Ub(Epa,b[1])?b[1]:0,g.Ub(Fpa,b[2])?b[2]:0)}; | |
Hpa=function(){this.clickThroughUrl="";this.isSkippable=this.isBumper=!1;this.skipShown=this.skip=g.y;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.muteAdClicked=this.sendAdsPing=g.y}; | |
qW=function(a){g.M.call(this);var b=g.Dd("div");b.className="video-ad-label";b.textContent=g.V("YTP_ADVERTISEMENT");var c=g.Dd("div");c.className="video-ad-status-bar";c.appendChild(b);b=g.Dd("div");b.className="ad-container";var d=g.Dd("div");d.className="video-ads";d.appendChild(c);d.appendChild(b);this.element=d;this.o=a;this.l=this.g=null}; | |
rW=function(a){if(!a.g){var b=g.Y(a.o);a.g=g.J("ad-container",a.element);b.Ed&&(yM&&DM(b)||g.S(a.g,"ad-container-single-media-element-annotations"))}return a.g}; | |
Ipa=function(a){if(!a.l){var b=g.Dd("div");g.kq(b,["video-click-tracking","ad-video"]);rW(a).appendChild(b);a.l=b}return a.l}; | |
Jpa=function(a){a||(g.PD(Error("WhyThisAdExtension is absent"),"WARNING"),a=vpa());var b={button:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"INFO_OUTLINE"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},hoverText:sW(a.l)};tW(b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a);return b}; | |
tW=function(a,b){var c={title:sW(b.B),adReasons:b.C.map(function(a){return sW(a)})},d=b.o; | |
if(d&&3==d.length){var e=sW(d[0]);uW(e,d[1],"https://www.google.com/settings/ads");uW(e,d[2]);c.dialogMessage=e;d=hq(b,"why_this_ad_settings_url");d.length&&(e.runs[1].navigationEndpoint.loggingUrls=d.map(function(a){return{baseUrl:a}}))}if(e=b.A)c.confirmLabel=sW(e),e=hq(b,"why_this_ad_got_it"),e.length&&(c.confirmServiceEndpoint=vW(e)); | |
if(e=Kpa(b,"why_this_ad_url"))c.impressionEndpoints=[e];if(e=Kpa(b,"why_this_ad_got_it"))c.confirmServiceEndpoint=e;a.dialog={adInfoDialogRenderer:c}}; | |
Mpa=function(a){a=pr(a);var b=qr(a),c=[],d={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"};(0,g.B)(Dga(b),function(a){7==a.Ub()&&c.push(g.Tm(Lr(a,"base_url"),d))}); | |
return{plaShelfItemRenderer:{headline:sW(a.od()),merchant:sW(sr(b)),image:{thumbnails:[{url:tr(a).getImageUrl()}]},priceText:sW(ur(b)),reviewText:sW(Lr(b,"review_text")),rating:yv(b,"rating",0),clickthroughEndpoint:Lpa(wr(Sv(b))),impressionEndpoints:[vW(c)]}}}; | |
sW=function(a){var b={};uW(b,a,void 0);return b}; | |
uW=function(a,b,c){a.runs||(a.runs=[]);b={text:b};c&&(b.navigationEndpoint=Lpa(c));a.runs.push(b)}; | |
Lpa=function(a){return{urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}}; | |
vW=function(a){return{loggingUrls:a.map(function(a){return{baseUrl:a}}), | |
pingingEndpoint:{hack:!0}}}; | |
Kpa=function(a,b){var c=hq(a,b);return c.length?vW(c):null}; | |
Npa=function(a){this.g=a}; | |
Opa=function(a){switch((0,window.parseInt)(a.toString(),10)){case 12:return 2;case 13:case 53:return 3;case 14:return 4;case 15:return 5;case 22:case 52:case 61:return 7;case 30:return 8;case 32:case 33:return 9;case 51:case 55:case 60:case 90:return 10;case 54:return 1;case 56:return 11;case 57:return 12;case 58:return 13}return 0}; | |
wW=function(a){switch((0,window.parseInt)(a.toString(),10)){case 2:return 1;case 3:case 4:return 2;case 5:return 3;case 6:return 4;case 7:return 5;case 15:case 100:return 6;case 14:return 7;case 777:return 8;case 19:return 10;default:return 0}}; | |
Ppa=function(a,b){this.B=null;this.o=window.NaN;this.l=null;this.g=a;this.A=b}; | |
xW=function(a,b,c){a.g.R("AD_LOGGING_EVENT",b,c)}; | |
Qpa=function(a,b,c){yW(a);var d=zW(a);c&&g.Ha(d,c);d.ad_error=b;xW(a,7,d)}; | |
zW=function(a){var b={},c=a.g.videoData,d=a.g.oo(),e=a.g.Vm();aW(a.g.xb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.Gg(e),b.ad_dom=c,(c=a.A.l)&&c.B&&(b.ad_v_url=e.substr(0,512)));e=a.g;(e=e.l?e.l.Ie():null)&&(b.ad_cpn=e);b.format=a.g.Jf();b.at=a.g.ni();b.ad_mt=Math.round(1E3*Math.max(Rpa(a.g),0));return b}; | |
yW=function(a){a.B||(a.B="InstreamAdDisplay ("+a.g.Jf()+")")}; | |
AW=function(a,b){g.M.call(this);this.A=Math.max(0,a);this.o=this.l=0;this.B=b;this.g=window.NaN}; | |
CW=function(a,b,c,d,e,f,k,l){pW.call(this,b,a,2,c);this.I=!1;this.C=this.M=this.J=null;this.g.subscribe("control_toggle_play_pause",this.VF,this);this.g.subscribe("control_play",this.lv,this);this.g.subscribe("control_pause",this.kv,this);this.A=new Ppa(this,this.g);this.W=new g.zF(this);this.o=BW(b.g.app,2);this.o.subscribe("statechange",this.TF,this);this.o.subscribe("internalAbandon",this.tC,this);this.o.subscribe("internalvideodatachange",this.UF,this);this.B=this.D=!1;this.T=d;this.Y=e;this.K= | |
!!f;this.X=!!k;this.H=l;a=cW(this.g).experiments;this.F=new AW(a.g("use_variable_buffer_timeout")?a.l("variable_buffer_timeout_ms"):15E3,(0,g.z)(this.abort,this));this.Z=b.l.K&&"3"==cW(b).A}; | |
EW=function(a,b){if(!a.ka()&&a.Z){var c=a.g.app.F;DM(c.app.g);c.C=!b;DW(c)}}; | |
GW=function(a){SN("ad_to_video",["pbresume"]);a.H&&(0,g.$P)("yt_abt",a.H,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&(0,g.$P)("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&(0,g.$P)("ad_docid",a.videoData.videoId,"ad_to_video");(0,g.ZP)("adc",void 0,"ad_to_video");g.sU(BW(a.g.g.app,2));FW(a.g,0);Spa(a.g,0);a.R("adEnd",a);EW(a,!0)}; | |
HW=function(a,b){cW(a.g).experiments.g("html5_ad_error_releases")?g.sU(a.o):TT(a.o);FW(a.g,0);a.R("adError",b)}; | |
Rpa=function(a){return a.o?a.o.getCurrentTime():0}; | |
Tpa=function(a){a=a.xb();if(!a)return null;a=As(a);if(!a)if(nn().g("set_default_wta_if_missing_for_externs"))a=vpa();else return null;return{menuTitle:a.l,closeButton:a.A,targetingReasonHeader:a.B,targetingReasons:g.Xa(a.C),adSettingsLink:g.Xa(a.o),controlText:a.F,continueButton:a.D,cancelButton:a.I}}; | |
Upa=function(a){a=a.xb();if(!a)return null;a=Bs(a);if(!a)return null;for(var b=Bt(a),c=[],d=0;d<b;d++)c.push({label:a.l[d].label,url:a.l[d].url});return{goneText:a.o,questionText:a.B,undoText:a.C,hoverText:a.A,surveyOptions:c}}; | |
Vpa=function(a,b){this.g=a;this.B=b;this.g.Jf();this.l=this.A=0;this.o=null}; | |
IW=function(a,b,c){a.g.R("AD_LOGGING_EVENT",b,c)}; | |
JW=function(a){var b={};aW(a.g.xb(),b);a.A&&a.l&&(b.ot=a.l-a.A);var c=a.B.isFullscreen()?2:a.B.isWidescreen()?1:0;b.ad_ps=c;b.format=a.g.Jf();b.at=a.g.ni();return b}; | |
KW=function(a,b,c,d){pW.call(this,b,a,1,c);this.o=null;this.D=this.B=!1;this.H=null;this.A=new Vpa(this,b);this.W=new g.zF(this);this.F=!!d;this.C=!1}; | |
LW=function(a,b){var c=a.g.getRootNode();g.U(c,"ytp-ad-overlay-open",b);g.U(c,"ytp-ad-overlay-closed",!b)}; | |
MW=function(a,b,c,d){g.M.call(this);this.H=null;this.F=a;this.l=b.Sb;this.B=b;this.I=b.getId();this.g=c;this.C=d;this.o=new fW(this.l,this.F,c,d);this.bb=null;this.K=new g.Km(this);this.A=new g.Km(this);this.J=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/}; | |
NW=function(a,b){a.H=b;var c=b.Jf();a.o.A=c}; | |
OW=function(a,b){var c=g.x("yt.www.watch.ads.setAdId");c&&c(b);a.o.l=b}; | |
Wpa=function(a){Apa(a.g).then(function(){this.o.B()},g.y,a)}; | |
Xpa=function(a){this.g=a}; | |
PW=function(a){pW.call(this,a,2,3,null)}; | |
QW=function(a,b,c){MW.call(this,2,a,b,c);this.D=new Xpa(this.g.l);xpa()}; | |
Ypa=function(a,b){this.g=a?a:"";this.Db=b}; | |
RW=function(a,b,c,d){KW.call(this,1,a,b,d);this.I=c}; | |
SW=function(a,b,c){MW.call(this,1,a,b,c);this.D=new Ypa(this.g.l.adTag,this.I,cW(this.g).experiments)}; | |
TW=function(a,b){var c=b.l;this.D=c.forceAdUrl;var d=0;c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);MW.call(this,2,a,b,d)}; | |
Zpa=function(){UW||(UW=g.Ca(g.x("yt.www.watch.ads.promotionShelfShow"))?ag():new g.Xf(function(a){g.TF("watchAdsInit",a)})); | |
return UW}; | |
$pa=function(a){var b=g.x("yt.www.watch.ads.promotionShelfClear");b&&b();b=g.x("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)}; | |
dqa=function(a){var b=pr(a),c=qr(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");g.qH.call(this,{G:"div",L:"iv-btp-card",N:[{G:"a",L:"iv-btp-card-content",P:{href:wr(Sv(c)),target:"_blank"},N:[{G:"div",N:[{G:"div",da:d,P:{"data-position":"bottomright","data-orientation":"vertical"},N:[{G:"div",da:["iv-btp-card-image","yt-uix-hovercard-anchor"],N:[{G:"span"},{G:"div",L:"iv-btp-card-image-aligned",N:[{G:"img",P:{src:tr(b).getImageUrl()}}]}]},{G:"div",L:"iv-btp-card-info",N:[{G:"span",L:"iv-btp-card-action", | |
aa:ur(c)},VW(a)]},aqa(a)]},{G:"div",L:"iv-btp-large-card",N:[{G:"div",L:"iv-btp-card-image",N:[{G:"span"},{G:"div",L:"iv-btp-card-image-aligned",N:[{G:"img",P:{src:tr(b).getImageUrl()}}]}]},{G:"div",L:"iv-btp-card-info",N:[{G:"div",L:"iv-btp-card-text-box",N:[{G:"div",L:"iv-btp-card-text-valign",N:[{G:"div",da:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],aa:b.od()}]}]},{G:"span",L:"iv-btp-card-action",aa:ur(c)},VW(a),bqa(a)]}]},cqa(a)]}]}]})}; | |
bqa=function(a){a=qr(pr(a));return.01>yv(a,"rating",0)?{G:"div"}:{G:"div",L:"iv-btp-card-review",N:[{G:"div",L:"iv-btp-card-rating",N:[{G:"span",L:"iv-btp-card-rating-bg",N:[{G:"span",L:"iv-btp-card-rating-fg",P:{style:"width: "+Math.floor(100*yv(a,"rating",0)/5)+"%;"}}]}]},{G:"span",L:"iv-btp-card-reviews",aa:Lr(a,"review_text")}]}}; | |
aqa=function(a){var b=pr(a),c=qr(b);return{G:"div",da:["yt-uix-hovercard-content","iv-btp-hovercard"],N:[{G:"div",L:"iv-btp-hovercard-text-box",N:[{G:"a",P:{href:wr(Sv(c)),target:"_blank"},N:[{G:"div",da:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],aa:b.od()}]},{G:"div",L:"iv-btp-hovercard-info",N:[{G:"span",L:"iv-btp-hovercard-action",aa:ur(c)},VW(a)]},bqa(a)]}]}}; | |
VW=function(a){return{G:"div",L:"iv-btp-card-merchant",N:[{G:"span",L:"iv-btp-card-merchant-text",aa:sr(qr(pr(a)))}]}}; | |
cqa=function(a){var b=[];a=qr(pr(a));for(var c={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"},d=0;d<Dv(a,"event");d++){var e=new Bv(Av(a,"event",d));7==e.Ub()&&(e=g.Tm(Lr(e,"base_url"),c),b.push({G:"img",P:{src:e}}))}return{G:"div",L:"iv-btp-impressions",N:b}}; | |
WW=function(){g.qH.call(this,{G:"div",L:"iv-btp-companion",N:[{G:"div",L:"iv-btp-block-clicks"},{G:"div",L:"iv-btp-attribution",N:[{G:"span",L:"iv-btp-title",aa:"{{title}}"},{G:"div",L:"ad-info-container",N:[{G:"span",L:"iv-btp-sponsored",aa:g.V("YTP_SPONSORED")},{G:"button",L:"ad-info-icon"}]}]}]});var a=this.g["iv-btp-companion"];this.A=new SV;this.A.ua(a);this.C=new g.CF(this);g.N(this,this.C);this.H=new g.Wt(this.Tv,200,this);g.N(this,this.H);this.F=this.g["iv-btp-block-clicks"];this.B=new g.Wt(g.Ga(function(a){g.O(a, | |
!1)},this.F),1E3); | |
g.N(this,this.B);this.l=null;this.D=eqa();this.C.O(window,"resize",this.hK);this.C.O(this.g["ad-info-icon"],"click",this.lQ)}; | |
fqa=function(a,b){a.clear();g.O(a.F,!0);var c=(0,g.G)(b,g.Ga(function(a){return new dqa(a)})); | |
a.updateValue("title",0<b.length?Lr(b[0],"teaser_text"):"");jpa(a.A,c);a.Tv()}; | |
eqa=function(){return{dialogMessage:{runs:[{text:g.V("YTP_SPONSORED_PRODUCT_INFO")}]}}}; | |
XW=function(a,b){pW.call(this,a,14,14,b);this.o=new WW;g.N(this,this.o)}; | |
gqa=function(a){return(0,g.Kd)(a.l.xb().B,function(a){return zv(a.Le(),"show_in_promotion_shelf")})}; | |
YW=function(a,b,c){MW.call(this,14,a,b,c)}; | |
ZW=function(a,b,c){MW.call(this,14,a,b,c)}; | |
hqa=function(a,b,c,d,e){this.A=a;this.l=b;this.g=c;this.D=cW(this.A);this.B=d;this.C=dW(this.A).lengthSeconds;this.F=e;this.o="html5";g.EM(this.D)?this.o="html5_embed":yM||xM?this.o="html5_ios":qE("android")?this.o="html5_android":BE()?this.o="html5_wp":wE()?this.o="html5_ps3":g.XM(this.D)?(a=(g.Sb(window,"environment","brand")||"").toLowerCase(),b=(g.Sb(window,"environment","model")||"").toLowerCase(),this.o="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):AE()?this.o="html5_wii": | |
this.o="html5_desktop"}; | |
iqa=function(a){return $W(a.l)?"preroll":aX(a.l)?"postroll":"midroll"}; | |
jqa=function(a){return(a=a.A.o)?(0,g.Aj)(a.Ab,function(a){return bX(a)||aX(a)}):!1}; | |
cX=function(a,b){KW.call(this,4,a,b)}; | |
dX=function(a,b,c){MW.call(this,4,a,b,c);var d=this.g.l;this.D=g.E(d.Da);var e=dW(this.g)&&dW(this.g).spacecastModule;this.M=new hqa(b,a,d,c,!!e)}; | |
eX=function(a,b){this.l=a;this.g=b}; | |
kqa=function(a){return 0<(a.g&3)}; | |
fX=function(a,b,c,d,e){g.FF.call(this);this.D=!0;this.l=!1;this.isVisible=!0;this.A="unloaded";this.F=!1;this.Fa=b;this.o=a;this.Sb=c;this.C=d;this.B=this.g=null;this.H=!!e}; | |
hX=function(a){return $W(a)?a.Kb()&&gX(a)?-0x8000000000000:0:g.ua(a.Sb.l)?1E3*YV(a.Sb):0x8000000000000}; | |
lqa=function(a){var b=!cW(a.o).experiments.g("disable_fetching_previous_nonadjacent_midrolls");return $W(a)||b&&a.o.g&&1E3*a.o.g.getCurrentTime()>=hX(a)?!1:(0,g.cm)(a.C,function(a){switch(a.Ub()){case 1:case 2:case 5:return!0;default:return!1}})}; | |
$W=function(a){return 1==a.Sb.g}; | |
gX=function(a){if(!a.Kb())throw Error("Preroll status is undefined before ad load.");return $W(a)&&a.l}; | |
bX=function(a){return 2==a.Sb.g}; | |
aX=function(a){return 3==a.Sb.g}; | |
mX=function(a){a.A="loading";$W(a)&&!(0,g.Aj)(a.C,kqa)&&iX(a.o);if(a.H)a.A="loaded",a.l=!0,jX(a);else{var b=a.C.shift();b?($W(a)&&a.o.Ae("nl"),b=b.create(a,a.o),g.N(a,b),b.load()):a.o.l&&a.o.l.D&&5!=a.Sb.g?mqa(a,new PW(a.o),a.Sb):(kX(a.o,2,lX(a,{})),nqa(a,!1),a.A="error",jX(a))}}; | |
nX=function(a){a.g&&(a.g.unsubscribe("adEnd",a.xC,a),a.g.unsubscribe("adError",a.LF,a),a.g.unsubscribe("AD_LOGGING_EVENT",a.NF,a),a.g.unsubscribe("select",a.KF,a),a.g.unsubscribe("adCompanionInitialized",a.MF,a))}; | |
mqa=function(a,b,c){a.g=b;a.Sb=c;g.N(a,a.g);0==a.Fa&&(b=a.g.ni(),a.o.X.at=b);a.g instanceof CW?a.l=!0:a.g instanceof PW?a.isVisible=!1:a.g instanceof cX?a.isVisible=!1:a.g instanceof RW&&(a.isVisible=!1);a.A="loaded";jX(a)}; | |
jX=function(a){a.R("adBreakComplete",a)}; | |
nqa=function(a,b){a.B&&(a.B.Ek({FILLED_OPPORTUNITY:b?1:0}),a.B.dispose(),a.B=null)}; | |
lX=function(a,b){b.break_type=a.Sb.g;b.sst=YV(a.Sb);b.sidx=0;return b}; | |
oqa=function(a){var b=0;a.T&&(b|=1);a.M&&(b|=2);var c=0;a.H&&a.J&&(c=4);a=new g.om;a.set(3,b);a.set(4,c);return a}; | |
pqa=function(a,b){var c=[];if(a.Y)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new eX(8,16):new eX(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.fa&&c.push(new eX(7,16)),c;if(a.ca){var d=0;if(a.o||a.C)d|=1;a.ea&&(d|=4);a.D&&(d|=8);c.push(new eX(5,d))}a.Z&&(d=0,a.o&&(d|=1),a.C&&(d|=2),a.ea&&a.H&&(d|=4),a.D&&a.H&&(d|=8),d&&c.push(new eX(2,d)));d=oqa(a);var e=d.get(3);e&&c.push(new eX(1,e));!a.independentBreakOffsets&&a.fa&&c.push(new eX(7,16));(d=d.get(4))&&c.push(new eX(1,d));return c}; | |
qqa=function(a){this.g=a}; | |
sqa=function(a){var b=[];(0,g.B)(rqa(a),function(a,d){var c=this.g;var f=pqa(this.g.l,a.g);c=new fX(c,d,a,f);b.push(c)},a); | |
return b}; | |
rqa=function(a){var b=a.g.l;a=[];if(b.ha)for(var c=b.ha.split(","),d=0;d<c.length;d++){var e=Eb(c[d]);e=0>e?new XV(3):0<e?new XV(2,e):new XV(1);a.push(e)}else a=tqa;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new XV(5,Eb(b[d])));g.gb(a,lpa);return a}; | |
wqa=function(a,b){this.F=a;this.l=this.F.l;this.B=g.XM(this.F);this.A=this.l||this.B;this.K=!this.B&&(!DM(a)||this.F.experiments.g("mweb_enable_video_ad_ui_on_fullscreen_only_devices"));this.o=$V(b.instream);this.isLiveStream=1==b.livestream;this.C=$V(b.trueview);this.X=$V(b.aftv);this.ha=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.ya=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Sa=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.afvInvideoAdTag= | |
b.afv_invideo_ad_tag;this.sa=(0,window.parseInt)(b.ad_age,10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.o||this.C)&&!this.F.Z;this.contentOwnerId=b.cid;this.contentVideoId=rM(b);this.excludedAds=b.excluded_ads;this.fadeInDurationMilliseconds=(0,window.parseInt)(b.fade_in_duration_milliseconds,10)||0;this.fadeInStartMilliseconds=(0,window.parseInt)(b.fade_in_start_milliseconds,10)||0;this.fadeOutDurationMilliseconds=(0,window.parseInt)(b.fade_out_duration_milliseconds,10)||0;this.fadeOutStartMilliseconds= | |
(0,window.parseInt)(b.fade_out_start_milliseconds,10)||0;this.forceAdType=b.force_ad_type;this.forceAdUrl=b.force_ad_url;this.Da=b.freewheel_ad_tag;this.gender=Wb(uqa,function(a){return a==b.ad_gender}); | |
this.na=b.dbp;this.J=$V(b.afv)&&!this.A;this.M=this.X&&this.C;this.T=this.X&&this.o&&!$V(b.no_afv_instream);this.Z=$V(b.dclk);$V(b.gpt_migration);this.Y=$V(b.forced_ad);this.ca=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Wa=!!b.fqsf;this.ea=$V(b.invideo)&&!this.A;this.D=$V(b.mpu)&&!this.A;this.fa=!!b.pla;this.La=$V(b.shortform);this.H=$V(b.sffb);this.ra=b.ad_language_iso639_2;this.g=this.A||!this.F.experiments.g("disable_client_side_midroll_freq_capping")?(0,window.parseInt)(b.midroll_freqcap, | |
10):-1;(0,window.isNaN)(this.g)&&(this.g=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.tagForChildDirected=$V(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData;this.Hb=this.X&&this.H&&!this.J;this.Ga=this.J||this.Hb;this.Na=(0,window.parseInt)(b.ad_device,10);this.ab=b.tpas_video_id;this.ga=b.tpas_partner_id;this.vmap=b.vmap;this.qc=this.F.qc;this.showContentThumbnail=!0;g.ta(b.show_content_thumbnail)&& | |
(this.showContentThumbnail=b.show_content_thumbnail);this.I=vqa(b.serialized_ad_ux_config)}; | |
vqa=function(a){if(a)try{var b=JSON.parse(a);return new Le(b)}catch(c){}return null}; | |
oX=function(a,b){g.M.call(this);this.o=a;this.Ee=new g.Km(this);g.N(this,this.Ee);this.l=null;this.g=!1;this.Ee.U(b,"companionImpression",this.B);this.Ee.U(b,"companionClick",this.A)}; | |
xqa=function(a){var b=!g.Y(a).vb&&3!=a.Qa();return a.isFullscreen()||b}; | |
g.pX=function(a,b,c,d){if((void 0===c||!c)&&g.LV(a))return g.uF(a),!0;b.hd();a=a.currentTarget.getAttribute("href");g.uV(a,d,!0);return!1}; | |
qX=function(a,b,c){if(SM(g.Y(b))&&2!=b.Qa()){if(g.LV(c))return b.isFullscreen()&&g.YU(b),g.uF(c),!0}else{var d=g.LV(c);d&&b.hd();g.uV(a,void 0,!0);d&&(g.vV(a),g.uF(c))}return!1}; | |
rX=function(){return{G:"div",L:"ytp-spinner-container",N:[{G:"div",L:"ytp-spinner-rotator",N:[{G:"div",L:"ytp-spinner-left",N:[{G:"div",L:"ytp-spinner-circle"}]},{G:"div",L:"ytp-spinner-right",N:[{G:"div",L:"ytp-spinner-circle"}]}]}]}}; | |
sX=function(a,b){var c=bF("requestAnimationFrame",window);return g.UD(function(){c?c.call(window,a):a()},b||0)}; | |
tX=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}}; | |
uX=function(a){g.M.call(this);this.g=a;this.l=window.NaN;this.B={};a=a.l;this.C=a.fadeInDurationMilliseconds;this.D=a.fadeInStartMilliseconds;this.o=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.RE()}; | |
yqa=function(a,b){a.B[b]&&(g.jV(a.g.g,[a.B[b]],void 0),delete a.B[b])}; | |
zqa=function(a,b,c,d){0>=c||((0,window.isNaN)(a.l)||g.WD(a.l),c=(0,g.F)()+c,a.l=0==d?sX((0,g.z)(a.YF,a,b,c,100),0):sX((0,g.z)(a.XF,a,b,c,100),0))}; | |
vX=function(a,b,c){var d=dW(a.g);a=cW(a.g);d=NO(d,a);b.setVolume(c*d)}; | |
wX=function(a){uX.call(this,a)}; | |
xX=function(a,b,c){g.M.call(this);this.g=a;this.C=b;this.A=c;this.o=-1;this.B=window.NaN;this.A&&0<this.g.l.g&&this.g.subscribe("endseeking",this.l,this)}; | |
Aqa=function(a,b){yX(a);0<b&&(a.B=g.UD((0,g.z)(a.l,a),1E3*b))}; | |
yX=function(a){g.WD(a.B);a.B=window.NaN}; | |
AX=function(a,b){if(!a.A||!bX(b)&&!aX(b))return!1;var c=a.g.l.g;if(0>=c||0>=a.o)return!1;var d=(0,g.F)()/1E3,e=zX(a,b)-a.g.g.getCurrentTime();0<e&&(d+=e);return d-a.o<=c}; | |
zX=function(a,b){return aX(b)?a.g.g.getVideoData().lengthSeconds:YV(b.Sb)}; | |
BX=function(a,b){g.M.call(this);this.I=this.g=null;this.K=[];this.M=window.NaN;this.Ab=b;this.D=[];this.o={};this.B={};this.l=a;var c=a.l,d=!c.isLiveStream&&(0,g.Aj)(this.Ab,function(a){return bX(a)||aX(a)}); | |
this.H=new xX(this.l,this,d);this.A=c.applyFadeOnMidrolls?new uX(a):new wX(a);this.Y=(0,g.Aj)(this.Ab,function(a){return $W(a)})}; | |
Cqa=function(a){a.D.length||(a.D=(0,g.Kd)(a.Ab,function(a){return"unloaded"==a.A}),0==a.D.length?iX(a.l):(a.Y||iX(a.l),Bqa(a)))}; | |
Bqa=function(a){if(a.D.length){var b=a.D.shift();b.subscribe("adBreakComplete",a.tk,a);b.subscribe("adCompanionInitialized",a.Wu,a);mX(b)}}; | |
Dqa=function(a,b){function c(a){return a&&5!=a.Sb.g} | |
var d=(0,g.Oa)(a.Ab,b),e=g.Za(a.Ab,0,d);d=g.Za(a.Ab,d+1);return{previous:g.La(e,c),next:g.La(d,c)}}; | |
Eqa=function(a,b,c){var d=hX(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=YV(b.Sb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.A.HE(b,d);c=a.A.GE(b,c);c=new g.bQ(d,c,e);a.B[b.getId()]=c;CX(a.l,[c]);a.A.Dx(b)}}; | |
Fqa=function(a,b){var c=b.getId();a.B[c]&&(yqa(a.A,c),g.jV(a.l.g,[a.B[c]],void 0),delete a.B[c])}; | |
Gqa=function(a,b){if(g.t(b)){var c=a.Cj(b);if(c)if(a.g==c&&!c.l&&c.isVisible)c.show();else{if(a.g){if(5==c.Sb.g){a.g.l?a.K.push(b):c.show();return}a.gi(a.g)}if(AX(a.H,c))a.g=null,c=a.B[c.getId()],c.visible||(c.visible=!0,CX(a.l,[c],1));else{5!=c.Sb.g&&(a.g=c);c.subscribe("adBreakComplete",a.tm,a);c.subscribe("adCompanionInitialized",a.Wu,a);if(c.l){1!=c.Sb.g&&SN("video_to_ad",["apbs"]);var d=a.l;d.J=!0;d.A||DX(d)}a.A.ZF(c);c.show()}}}}; | |
EX=function(a,b,c){BX.call(this,a,b);this.F=[];this.J=[];this.C=[];this.Z=c;this.X=window.NaN;this.T=a.l.g;var d=!cW(a).experiments.g("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.g.getCurrentTime();d=d?null:Na(b,function(b){return a.g&&e>=hX(b)}); | |
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(lqa(f)&&f!=d){var k=new fX(f.o,f.Fa,f.Sb,f.C,!0);b[c]=k;this.F.push(f)}}this.Y||this.wk()}; | |
FX=function(a){g.WD(a.X);a.X=window.NaN}; | |
GX=function(a,b){BX.call(this,a,b);this.X=a;this.Z=!0;this.F=[];this.fa=1;this.J=0}; | |
Hqa=function(a){if(null==a.g&&0<a.F.length){var b=a.F[0];b.isVisible?(a.Z=a.C.isPeggedToLive(),a.ea=Math.ceil((0,g.F)()/1E3),b.subscribe("adBreakComplete",a.T,a),a.g=b,b.show()):a.T()}else null!=a.g&&a.J++}; | |
Iqa=function(a,b){this.H=a;this.C=b;this.F=(0,g.F)();this.B=0;this.g=a.l;this.A={};this.D=new Npa(a);var c=[];this.g.ca&&this.g.o&&c.push("4_2");this.g.Z&&(this.g.o&&c.push("1_2"),this.g.C&&c.push("1_2_1"),this.g.ea&&c.push("1_1"),this.g.D&&c.push("1_3"));this.g.M&&c.push("2_2_1");this.g.T&&c.push("2_2");this.g.J&&c.push("2_1");this.g.Ga&&c.push("2_3");this.g.fa&&c.push("14_14");this.l=c.join(",");this.o="";this.A.allowed=this.l;(c=this.g.excludedAds)&&(this.A.ex_ads=c)}; | |
HX=function(a,b,c){g.M.call(this);this.l=a;this.A=b;this.ce=c;this.B=this.C=-1;this.g=Jqa(this.A.Je());a=this.A.Je();a.length&&(a=a[a.length-1],-1==a&&CX(this.l,[this.g[a]]));0<this.l.l.g&&this.l.subscribe("endseeking",this.o,this)}; | |
Kqa=function(a,b){IX(a);0<b&&(a.B=g.UD((0,g.z)(a.o,a),1E3*b))}; | |
IX=function(a){-1!=a.B&&(g.WD(a.B),a.B=-1)}; | |
Jqa=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.bQ(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.bQ(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b}; | |
JX=function(){g.M.call(this)}; | |
Lqa=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.B)(a.split(":"),function(a){b=60*b+Math.abs((0,window.parseFloat)(a))}); | |
return 1E3*b}; | |
KX=function(a){g.M.call(this);this.g=a;this.l=null;this.o={};this.B={};a=a.l;this.C=a.fadeInDurationMilliseconds;this.H=a.fadeInStartMilliseconds;this.I=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.J=1E3*this.g.g.getVideoData().lengthSeconds;this.D=this.A+this.I;this.F=new g.CF(this);g.N(this,this.F);this.F.O(this.g.g,"applicationplayerstatechange",this.jG)}; | |
LX=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.J}; | |
Mqa=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Aj)(a.split(","),function(a){a=zb(a);return"linear"==a})}; | |
Nqa=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=(0,window.parseFloat)(g.xb(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.xb(d%60,2,b);c=b=e||c?e+":"+g.xb(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c}; | |
Pqa=function(a,b){var c=Math.max(Math.abs(a.A),Math.abs(a.D));(0,g.B)(b,(0,g.z)(function(a){var d=(0,g.Aj)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=Oqa(this,a); | |
!d&&f&&(this.o[f]=a)},a)); | |
return 0<g.Ob(a.o)}; | |
Oqa=function(a,b){var c=1E3*Math.round((b+a.D)/1E3),d=b+a.A,e=b+a.H;return LX(a,b)&&LX(a,c)&&LX(a,d)&&LX(a,e)?c:null}; | |
Qqa=function(a,b,c,d){0>=c||(d=0==d?a.iG:a.hG,c=(0,g.F)()+c,a.l=sX((0,g.z)(d,a,b,c,100),0))}; | |
MX=function(a,b,c){var d=dW(a.g);a=cW(a.g);d=NO(d,a);b.setVolume(c*d)}; | |
NX=function(a){g.M.call(this);this.ce=this.o=this.A=this.D=this.l=null;this.J=this.H=!1;this.g=a;this.F=this.bb=null;this.K={};this.M=new g.Km(this);this.B=new g.Km(this);this.I=new g.CF(this);g.N(this,this.I);this.C=null}; | |
Rqa=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.B)(a.getElementsByTagName("VASTAdTagURI"),function(a){if("end"==b){var d="post";var f=-1;var k="postroll"}else d="mid",f=Lqa(b).toString(),k="midroll";var l={"[INDEX]":c.toString(),"[POSITION]":d,"[START]":f,"[GPTPOS]":k};a.textContent=a.textContent.replace(/\[[A-Z_]+\]/g,function(a){return l[a]||a})}); | |
return a}; | |
Sqa=function(a,b){var c=g.Tr(b);if(!c)return null;var d=g.Nd(c);if(!d)return c;var e=g.La(g.Ld(d),function(a){return"#1"==a.getAttribute("timeOffset")}); | |
if(e){var f=g.La(g.Ld(e),function(a){return"vmap:Extensions"==a.tagName}),k=f?g.Ld(f):[]; | |
k=g.La(k,function(a){return"YTBreakTime"==a.getAttribute("type")}); | |
f=(f=f.removeChild(k))?g.Ld(f):[];var l=e,m=1;(0,g.B)(f,function(a){a=a.getAttribute("timeOffset");a=Rqa(e,a,m);m++;d.insertBefore(a,l.nextSibling);l=a}); | |
d.removeChild(e)}a.C.JD(d)||(g.Ze(a.C),a.C=new JX);return c}; | |
Tqa=function(a){var b=npa(a.g.l,cW(a.g),dW(a.g));b.nJ=!0;b.Nx=!1;b.FD=10;b.ov=a.C.rz();return b}; | |
Vqa=function(a,b){if(b){xpa();var c=Apa(a.g),d=MC(a.l);if(d){var e=d.Ne();d=g.Pa(WV,e)?new XV(e,d.Bc):new XV(e);e=Gpa(Jq(b));d=new fW(d,e.g,a.g,14==e.l?16:4);c.then(d.B,g.y,d)}}else a.g.l.D&&(a.A=new PW(a.g),Uqa(a,a.A),a.A.show())}; | |
PX=function(a,b){b&&"adLoadError"==b.Ub()&&(cW(a.g).experiments.g("enable_no_ads_ping_for_mpu_disable")&&!a.g.l.D&&a.gG(MC(a.l),0,2,{}),OX(a))}; | |
QX=function(a){a.A&&(a.A.dispose(),a.A=null)}; | |
RX=function(a){var b=Js(a);a=0<b.length?b.pop():vs(a);a=Wqa[a.toUpperCase()];return null!=a?a:0}; | |
OX=function(a){a.H||(iX(a.g),a.H=!0)}; | |
Uqa=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.z)(a.gG,a,MC(a.l),b.adType))}; | |
SX=function(a){g.sV.call(this,a);this.ne="";this.I=new g.CF(this);g.N(this,this.I);this.created=!1}; | |
CX=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.ne;g.hV(a.g,b,c)}; | |
iX=function(a){g.lV(a.g,a.ne)}; | |
Xqa=function(a,b,c){var d={},e;for(e in b)d[a.ne+"_"+e]=b[e];b={};for(var f in c)b[a.ne+"_"+f]=c[f];a=g.NU(a.g);g.Ha(a.fa,d||null);g.Ha(a.ca,b||null)}; | |
TX=function(){g.M.call(this);this.l=new g.W({G:"div",L:"ytp-out-of-player-ad-info",N:[{G:"div",L:"ytp-out-of-player-hover-container"},{G:"div",L:"ytp-out-of-player-ad-info-button-container",N:[{G:"button",da:["ytp-out-of-player-ad-info-button"],N:[{G:"span",L:"ad-info-icon"}]}]}]});g.N(this,this.l);this.g=this.l.g["ytp-out-of-player-hover-container"];this.ff=this.l.g["ytp-out-of-player-ad-info-button-container"];this.B=this.l.g["ytp-out-of-player-ad-info-button"];this.o=new zV(this.ff);g.N(this,this.o); | |
this.A=new g.CF(this);g.N(this,this.A);this.Qs();this.l.element.appendChild(this.o.g.la());this.A.O(this.B,"mouseenter",this.gN);this.A.O(this.B,"mouseleave",this.Qs);this.A.O(this.ff,"click",this.fN)}; | |
UX=function(a){g.W.call(this,{G:"div",L:"ytp-ad-notification-container",aa:"{{content}}"});this.l=a;this.A=null;this.C=-1;this.B=new g.MV(this,250,!1,150);g.N(this,this.B);this.O(this.l,"adnotify",this.wm);this.O(this.l,"discardadnotify",this.ym)}; | |
WX=function(a,b){SX.call(this,b);this.ne="ad";this.app=a;this.l=this.o=this.B=null;this.J=this.T=!1;this.A=this.bb=null;P.l=!0;P.I=!1;P.Y=!1;P.X=!0;P.Z=g.ZV();var c=P,d=!g.tE();c.H=d;P.D=0;c=a.g.experiments.l("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(P.K=c);VX(this)&&(P.o=!0);this.D=null;this.Y={};this.X={at:"0"};c=g.Y(this.g).experiments;if(c.g("enable_midroll_notify")||c.g("enable_postroll_notify"))c=new UX(this.g),g.N(this,c),g.mV(this.g,c.element,4);this.C=new qW(this.g);g.mV(this.g, | |
this.C.element,4);this.H=this.ca=null;this.K=-1;this.F=new g.CF(this);g.N(this,this.F);this.Z="";this.M=!1}; | |
Yqa=function(a){if(a.bb)a.bb.g.A.A=lo();else{var b=a.l.K?void 0:Ipa(a.C),c=new XP(a.app,2);a.D=new DA(rW(a.C),b,yH(c),function(){return a.Z}); | |
a.D.setSize(-1,-1);a.bb=new OC(a.D)}}; | |
dW=function(a){return XX(a.app)}; | |
cW=function(a){return a.app.g}; | |
kX=function(a,b,c){if(a.B){a=a.B;c=c||{};var d=((0,g.F)()-a.F)/1E3;c.art=d;cW(a.H);c.ad_flags=a.g.adFlags;(d=a.g.contentOwnerId)&&(c.cid=d);c.mt=a.C.getCurrentTime();(d=g.rG())&&(c.lact=d);(d=a.C.getDuration())&&(c.len=d);a.g.Wa&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.o=c.at;a:{b=a.D;b:{if(7==c.ad_event&&(a=c.ad_error,21==a||30==a||54==a||32==a&&(1009==c.error_code||!c.ad_id))){a=!1;break b}a=0!=(c&&c.ad_event?wW(c.ad_event):0)?!0:!1}if(a){var e;c.at&&(e=c.at);var f;c.sst&&(f=c.sst);"2_1"== | |
e&&10==f&&(c.break_type=1);cW(b.g).experiments.g("fix_api_stats_ads_companion_backfill_break_type")&&(a=$b(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.g.l.Na;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.Pa(WV,Eb(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= | |
Opa(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=wW(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=BW(b.g.g.app,2);k=dW(b.g);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;k.za&&(e.live="1");c.at&&c.at.match(/\d+_2.*/g)?(a=b.g.o,e.mt=null!=a&&null!=a.g?1E3*YV(a.g.Sb):0):e.mt=Math.round(1E3*f.getCurrentTime());cW(b.g);e.ei=k.eventId;e.lact=g.rG();e.vol=Math.round(b.g.app.H.getVolume());e.vis=b.g.g.Mi();a= | |
eW(b.g);e.p_w=a.width;e.p_h=a.height;e.rt=(0,g.F)();if(f=(f=cU(f))&&g.ld(f)===window.document?g.Ch(f):null)e.pv_h=f.getHeight(),e.pv_w=f.Cb();2==(c&&c.ad_event?wW(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);k=Hm(e);c=cW(b.g).baseYtUrl+"api/stats/ads";c=new g.um(c);zm(c,k);k=cW(b.g);if(b=b.g.getVideoData())if(b=b.oauthToken||k.J){g.kE(c.toString(),{headers:{Authorization:"Bearer "+b}});break a}g.CE(c.toString())}}}}; | |
YX=function(a,b,c){c=c||{};c.ad_error=b;kX(a,7,c)}; | |
ZX=function(a,b,c){a.app.H.va(b,c)}; | |
Zqa=function(a){if(!a.T||a.app.g.experiments.g("enable_html5_midroll_tsla_update")){var b=cW(a).baseYtUrl;g.CE(b+"mac_204?action_fcts=1");a.T=!a.app.g.experiments.g("enable_html5_midroll_tsla_update")}}; | |
$X=function(a){return a.o instanceof GX?a.o:null}; | |
aY=function(a){return g.TU(a.app).l}; | |
ara=function(a){var b=g.Pd(rW(a.C),g.$d()),c=a.g;2==g.RU(c.app)&&g.$qa(c.app,2);c=g.Y(a.g);"3"!=c.A||DM(c)||(c=g.VU(a.g),DM(c.app.g),c.C=!1,DW(c));b&&a.g.getRootNode().focus()}; | |
eW=function(a){return a.l.B?(a=a.app.F.Oa(),new g.ah(0,0,a.width,a.height)):g.Kh(a.getRootNode())}; | |
bra=function(a,b){a.Ae("bd");var c=a.l;var d=c.midrollPrefetchSize;c=c.isLiveStream?new GX(a,b):0<d?new EX(a,b,d):new BX(a,b);a.o=c;Cqa(a.o)}; | |
cY=function(a){var b=a.app;g.UD(function(){bY(b)},0)}; | |
DX=function(a){var b=a.app;g.UD(function(){dY(b)},0)}; | |
cra=function(a,b){var c=a.app;g.UD(function(){eY(c,b)},0)}; | |
fY=function(a){a.J=!1;var b=g.TU(a.app,2);b&&a.app.g.C.remove(b.getVideoData().videoId)}; | |
Spa=function(a,b){switch(b){case 1:a.K=1;ZX(a,"onAdStart");break;case 0:a.K=0,ZX(a,"onAdEnd")}}; | |
FW=function(a,b,c){c&&ZX(a,"onAdInfoChange",c);a=a.app;1==b&&(a.J.g("vr"),a.ra||(a.ra=FN(a.MC,a)),woa(a.D),aQ(a.J,a.D.getVideoData(),dra(a)));c=a.g;(g.XM(c)&&c.zb||g.RM(c))&&a.l.va("onAdStateChange",b)}; | |
gY=function(a){return!!(a.l.H&&a.o&&1<a.o.Ab.length)}; | |
VX=function(a){a=a.app.g;return g.IM(a)&&!g.RM(a)&&"desktop-polymer"==a.playerStyle}; | |
lW=function(a,b){b.contentVideoId||(b.contentVideoId=dW(a).videoId);ZX(a,"updatekevlarcompanion",b)}; | |
fra=function(a,b){a.app.g.experiments.g("desktop_companion_wta_support")&&(g.Ca(g.x("yt.www.watch.ads.addInstreamCompanionWtaUi"))?era(b):g.TF("watchAdsInit",function(){era(b)}))}; | |
era=function(a){var b=g.x("yt.www.watch.ads.addInstreamCompanionWtaUi");if(g.Ca(b)){var c=new TX;a=Jpa(As(a),Bs(a));c.bind(a);b(c.la().element)}else g.PD(Error("Watch page is not ready after WATCH_ADS_INIT event"))}; | |
hY=function(a,b,c){g.M.call(this);this.ra=b;this.na=c;this.T=this.M=this.F=this.J=this.D=this.B=this.X=this.Y=this.Z=this.o=this.I=this.l=null;this.ca={};this.fa={};this.ha=null;this.g=a;this.H=this.ea=this.C=this.K=this.A=null;this.ga=g.Y(a).experiments.g("web_player_defer_modules")}; | |
g.gra=function(a){var b=g.Y(a.g);if(g.XM(b)||b.qc||!b.kd&&!b.Ga)return!1;var c=a.g.Qa();if(2==c)return!1;if(3==c)return b.experiments.g("desktop_enable_autoplay");a=a.g.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||b.experiments.g("allow_poltergust_autoplay");return!(a.za&&(!b.experiments.g("allow_live_autoplay")||!c))}; | |
hra=function(a){a.ga&&(a.Qr(),a.Or(),a.Pr())}; | |
ira=function(a){var b=g.Y(a.g);return a.g.getVideoData().isVisualizerEligible&&b.experiments.g("web_player_music_visualizer")&&"desktop-polymer"==b.playerStyle&&g.WM(b)}; | |
jY=function(a,b,c,d){try{if(d){var e=g.iY[b];if(e)return new e(a.g);"creatorendscreen"==b?jra(a,"annotations_module",c):jra(a,b,c)}else g.lV(a.g,b)}catch(f){g.lV(a.g,b),g.PD(f)}return null}; | |
kY=function(a,b){a.l&&(b||a.l.Ic())&&(g.Ze(a.l),a.l=null);a.I&&(b||a.I.Ic())&&(g.Ze(a.I),a.I=null);a.o&&(b||a.o.Ic()?(g.Ze(a.o),a.o=null):a.o.loaded&&a.o.unload());a.Z&&(b||a.Z.Ic())&&(g.Ze(a.Z),a.Z=null);a.Y&&(b||a.Y.Ic())&&(g.Ze(a.Y),a.Y=null);a.X&&(b||a.X.Ic())&&(g.Ze(a.X),a.X=null);a.B&&(b||a.B.Ic())&&(g.Ze(a.B),a.B=null);a.D&&(b||a.D.Ic())&&(g.Ze(a.D),a.D=null);a.J&&(b||a.J.Ic())&&(g.Ze(a.J),a.J=null);a.F&&(b||a.F.Ic())&&(g.Ze(a.F),a.F=null);a.K&&(b||a.K.Ic())&&(g.Ze(a.K),a.K=null);a.H&&(b|| | |
a.H.Ic())&&(g.Ze(a.H),a.H=null);a.C&&(b||a.C.Ic())&&(g.Ze(a.C),a.C=null);a.A&&(b||a.A.Ic())&&(g.Ze(a.A),a.A=null);a.M&&(b||a.M.Ic())&&(g.Ze(a.M),a.M=null);a.T&&(b||a.T.Ic())&&(g.Ze(a.T),a.T=null)}; | |
g.SU=function(a){return g.Y(a.g).sb?a.K:null}; | |
$U=function(a){return ira(a)?a.H:null}; | |
jra=function(a,b,c){if(a.ra){for(var d=a.ra+b+".js",e=window.document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];m.src==d&&(k=m)}k||(k=g.Dd("SCRIPT"),f=!0);var n=function(){a.ka()||c.call(a)},p=function(){a.ka()||g.lV(a.g,b)}; | |
k.onload=g.Ga(function(a){Kf(n);a&&a()},k.onload); | |
k.onerror=g.Ga(function(a){g.PD(Error("Unable to load player module "+b+".js."));Kf(p);a&&a()},k.onerror); | |
k.onreadystatechange=g.Ga(function(a){switch(k.readyState){case "loaded":case "complete":Kf(n,this)}a&&a()},k.onreadystatechange); | |
f&&((e=g.Y(a.g).Th)&&k.setAttribute("nonce",e),g.ad(k,g.be(d)),d=window.document.getElementsByTagName("HEAD")[0]||window.document.body,d.insertBefore(k,d.firstChild),g.Ye(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.iY[b]=null;"annotations_module"==b&&(g.iY.creatorendscreen=null)}))}}; | |
g.lY=function(a){dP.call(this);this.g=a;this.l={}}; | |
mY=function(a,b,c,d){g.FF.call(this);this.l=a;this.K=(0,g.z)(b,null);this.g=0;this.C=!1;this.A=new g.gd(window.NaN,window.NaN);this.W=new g.CF(this);g.N(this,this.W);b=d?4E3:3E3;this.F=new g.Wt(g.Ga(this.fc,1,!1),b,this);g.N(this,this.F);this.H=new g.Wt(g.Ga(this.fc,2,!1),b,this);g.N(this,this.H);this.J=new g.Wt(g.Ga(this.fc,512,!1),0,this);g.N(this,this.J);this.T=c&&0<c.Xh.length?5E3:3E3;d||(this.o=this.W.O(a,"mouseover",this.Fu),this.W.O(a,"mousemove",this.YO),this.W.O(a,"mouseleave",this.ZP)); | |
g.qh?this.W.O(a,"keypress",this.QL):this.W.O(a,"focusin",this.AJ);this.B=this.W.O(a,"mousedown",this.QB);this.D=this.W.O(a,"touchstart",this.SB,void 0,!0);this.M=null;this.fc(640,!0)}; | |
kra=function(a){a.fc(4,!1);a.I&&(a.W.Ea(a.I),a.I=null,a.o=a.W.O(a.l,"mouseover",a.Fu));a.o&&(a.W.Ea(a.o),a.o=a.W.O(a.l,"mouseover",a.Fu))}; | |
nY=function(a){var b=g.Y(a),c=a.getVideoData(),d=["ytp-large-play-button","ytp-button"];if(c.isDni&&c.dniColor)var e=b.B?[{G:"div",L:"ytp-large-play-button-circle",P:{style:"background-color: "+c.dniColor}},g.EV?{G:"div",da:["ytp-icon","ytp-icon-dni-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},N:[{G:"path",P:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}: | |
{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},N:[{G:"path",L:"ytp-dni-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{G:"path",P:{d:"M 45,24 27,14 27,34", | |
fill:"#fff"}}]}];else b.B&&!b.qc?e=[g.EV?{G:"div",da:["ytp-icon","ytp-icon-large-play-button-hover"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},N:[{G:"path",L:"ytp-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z", | |
fill:"#f00"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.l&&d.push("ytp-touch-device"),e=[b.qc?g.EV?{G:"div",da:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},N:[{G:"path",L:"ytp-large-play-button-bg",P:{"clip-rule":"evenodd",d:"M59.6,1.35c0.26,.5,.4,1.13,.4,1.9v53.5c0,.76-0.13,1.4-0.4,1.9c-0.5,.9-1.45,1.35-2.85,1.35H3.25c-1.4,0-2.33-0.43-2.8-1.3C0.15,58.16,0,57.51,0,56.75V3.25c0-0.83,.16-1.5,.5-2C1,.41,1.91,0,3.25,0h53.5C58.15,0,59.1,.45,59.6,1.35z M21,41.65l22.7-11.8L21,18V41.65z", | |
fill:"#1f1f1f","fill-rule":"evenodd"}},{G:"path",P:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.EV?{G:"div",da:["ytp-icon","ytp-icon-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},N:[{G:"path",L:"ytp-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z", | |
fill:"#212121","fill-opacity":"0.8"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);g.W.call(this,{G:"div",L:"ytp-cued-thumbnail-overlay",N:[{G:"div",L:"ytp-cued-thumbnail-overlay-image"},{G:"button",da:d,P:{"aria-label":g.V("YTP_PLAY")},N:e},{G:"div",L:"ytp-cued-thumbnail-overlay-duration",aa:"{{duration}}"}]});c.isDni&&c.dniColor&&!b.B&&this.g["ytp-dni-large-play-button-bg"].setAttribute("fill",c.dniColor);this.C=new g.CF(this);g.N(this,this.C);this.l=a;this.F=this.g["ytp-cued-thumbnail-overlay-image"]; | |
this.D=this.g["ytp-large-play-button"];this.B=new g.MV(this,250);g.N(this,this.B);this.A=new g.Wt(this.WB,0,this);g.N(this,this.A);this.WB();this.O(a,"presentingplayerstatechange",this.kP);this.O(a,"ypcStateChanged",this.ZU);CM(g.Y(a))&&this.O(a,"videoplayerreset",this.jP)}; | |
g.oY=function(a){return hQ(a)?(a.fetch=0,new g.gQ(a)):new g.hO(a)}; | |
pY=function(a){g.M.call(this);this.B=a;this.A=new QC(0,0,.4,0,.2,1,1,1);this.l=new g.Tt(this.o,window,this);g.N(this,this.l)}; | |
qY=function(a){g.W.call(this,{G:"div",L:"ytp-related-on-error-overlay"});this.M=this.B=0;this.l=a;this.X=new g.CF(this);g.N(this,this.X);a=g.Y(a);this.D=[];this.A=[];this.F=0;this.ca=a.g;this.K=new g.W({G:"h2",L:"ytp-related-title",aa:"{{title}}"});g.N(this,this.K);this.K.ua(this.element);this.H=new g.W({G:"div",L:"ytp-suggestions"});g.N(this,this.H);this.H.ua(this.element);this.J=new g.W({G:"button",da:["ytp-button","ytp-previous"],P:{"aria-label":g.V("YTP_PREVIOUS")},N:[g.FV()]});g.N(this,this.J); | |
this.J.ua(this.element);this.J.U("click",this.EP,this);this.ea=new pY((0,g.z)(this.cC,this));g.N(this,this.ea);this.Y=this.C=0;this.T=!0;for(a=0;16>a;a++){var b=new g.W({G:"a",L:"ytp-suggestion-link",P:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},N:[{G:"div",L:"ytp-suggestion-image",N:[{G:"div",L:"ytp-suggestion-duration",aa:"{{duration}}"}]},{G:"div",L:"ytp-suggestion-title",P:{title:"{{hover_title}}"},aa:"{{title}}"},{G:"div",L:"ytp-suggestion-author",aa:"{{views_or_author}}"}]}); | |
g.N(this,b);b.ua(this.H.element);var c=b.g["ytp-suggestion-link"];g.oh(c,"transitionDelay",a/20+"s");this.X.O(c,"click",g.Ga(this.FP,a));this.D.push(b)}this.I=new g.W({G:"button",da:["ytp-button","ytp-next"],P:{"aria-label":g.V("YTP_NEXT")},N:[g.GV()]});g.N(this,this.I);this.I.ua(this.element);this.I.U("click",this.DP,this);this.X.O(this.l,"videodatachange",this.bC);lra(this,g.VU(this.l).Oa());this.bC();this.show()}; | |
lra=function(a,b,c){var d=16/9,e=650<=b.width,f=480>b.width||290>b.height,k=Math.min(a.A.length,a.D.length);if(150>=Math.min(b.width,b.height)||0==k)a.hide();else{var l;if(e){var m=l=28;a.B=16}else m=l=8,a.B=8;if(f){var n=4;e=16;var p=15;f=24}else n=8,e=18,p=16,f=36;b=b.width-(48+l+m);l=Math.ceil(b/150);l=Math.min(3,l);l=b/l-a.B;m=Math.floor(l/d);m+100>c&&50<l&&(m=Math.max(c,50/d),l=Math.ceil(b/(d*(m-100)+a.B)),l=b/l-a.B,m=Math.floor(l/d));50>l?a.hide():a.show();for(c=0;c<k;c++){d=a.D[c];var r=d.g["ytp-suggestion-image"]; | |
r.style.width=l+"px";r.style.height=m+"px";d.g["ytp-suggestion-title"].style.width=l+"px";d.g["ytp-suggestion-author"].style.width=l+"px";d=d.g["ytp-suggestion-duration"];d.style.display=d&&100>l?"none":""}k=e+n+p+4;a.M=k+16+(m-f)/2;a.H.element.style.height=m+k+"px";a.Y=l;a.F=b;a.C=0;a.cC(0);rY(a)}}; | |
mra=function(a,b){var c=g.cd(b,a.F-a.A.length*(a.Y+a.B),0);a.ea.start(a.C,c,1E3);a.C=c;rY(a)}; | |
rY=function(a){a.I.element.style.bottom=a.M+"px";a.J.element.style.bottom=a.M+"px";var b=a.C,c=a.F-a.A.length*(a.Y+a.B);g.U(a.element,"ytp-scroll-min",0<=b);g.U(a.element,"ytp-scroll-max",b<=c)}; | |
ora=function(a){for(var b=g.Y(a.l),c=0;c<a.A.length;c++){var d=c,e=a.A[c].Zb();d=a.D[d];var f=e.shortViewCount?e.shortViewCount:e.author,k=g.Qg(e.Dl(b),{feature:"player_embedded_uturn"});d.element.style.display="";var l=d.g["ytp-suggestion-title"];zc.test(yc(e.title,void 0))?l.dir="rtl":nra.test(yc(e.title,void 0))&&(l.dir="ltr");l=d.g["ytp-suggestion-author"];zc.test(yc(f,void 0))?l.dir="rtl":nra.test(yc(f,void 0))&&(l.dir="ltr");d.update({views_or_author:f,duration:e.lengthSeconds?g.KV(e.lengthSeconds): | |
"",link:k,hover_title:e.title,title:e.title,aria_label:e.Zk||null});d=d.g["ytp-suggestion-image"];e=e.dd(b);d.style.backgroundImage=e?"url("+e+")":""}for(;c<a.D.length;c++)a.D[c].element.style.display="none";rY(a)}; | |
sY=function(a,b){g.W.call(this,{G:"canvas",L:"ytp-tv-static"});this.A=this.element.getContext("2d");this.height=this.width=window.NaN;this.I=null;this.J=this.K=this.C=this.B=0;this.D=-75;this.l=new g.Tt(this.H,void 0,this);g.N(this,this.l);this.F=new g.Wt(this.l.El,75,this.l);g.N(this,this.F);pra(this,a,b)}; | |
qra=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}; | |
pra=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.Dd("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.I=d;a.K=qra(b);a.J=qra(c/10);a.A.scale(1.5,1.5);a.A.fillStyle="rgba(255, 255, 255, 0.02)"}}; | |
tY=function(a){var b=g.Y(a),c=b.experiments.g("enable_uturn_error_screen")&&b.g,d=b.protocol+"://"+OM(b);if(c){var e=new qY(a);b={G:"div",L:"ytp-error-content",N:[{G:"div",L:"ytp-error-icon-container",N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-error-exclamation"]}:{G:"svg",P:{fill:"#fff",height:"100%",viewBox:"0 0 48 48",width:"100%"},N:[{G:"path",P:{d:"M0 0h48v48H0V0z",fill:"none"}},{G:"path",P:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z", | |
"fill-opacity":"0.3"}}]}]},{G:"div",L:"ytp-error-content-wrap",N:[{G:"div",L:"ytp-error-content-wrap-reason",aa:"{{content}}"},{G:"div",L:"ytp-error-content-wrap-subreason",aa:"{{subreason}}"}]}]};d={href:d,target:"_blank","aria-label":g.V("YTP_VISIT_YOUTUBE")};b={G:"div",da:["ytp-error","ytp-related-on-error"],P:{role:"alert"},N:[b,{G:"div",L:"ytp-small-redirect",N:[{G:"a",L:"ytp-small-redirect-link",P:d,N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-youtube-small-logo"]}:{G:"svg",P:{fill:"#fff",height:"100%", | |
viewBox:"0 0 24 24",width:"100%"},N:[{G:"path",P:{d:"M0 0h24v24H0V0z",fill:"none"}},{G:"path",P:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}]}]},e]}}else b={G:"div",da:["ytp-error"],P:{role:"alert"},N:[{G:"div",L:"ytp-error-content",N:[{G:"div",L:"ytp-error-content-wrap", | |
aa:"{{content}}"}]}]};g.W.call(this,b);this.C=c;this.l=a;(this.B=e)&&g.N(this,this.B);this.D=[];if(!this.C)try{this.A=new sY(1,1),g.N(this,this.A),this.A.ua(this.element,0)}catch(f){}rra(this,g.VU(this.l).Oa())}; | |
rra=function(a,b){uY(a,function(a){pra(a,b.width,b.height)}); | |
a.C&&sra(a,b)}; | |
sra=function(a,b){a.g["ytp-error-content"].style.paddingTop="0px";var c=a.g["ytp-error-content"],d=c.clientHeight;lra(a.B,b,b.height-d);c.style.paddingTop=(b.height-a.B.element.clientHeight)/2-d/2+"px";c=a.g["ytp-small-redirect"];a.B.isHidden()?c.style.display="inline":c.style.display=""}; | |
uY=function(a,b){if(a.A)try{b.call(a,a.A)}catch(c){a.A.dispose(),a.A=null}}; | |
ura=function(a){a=a.split(tra);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({G:"br"}),b.push(d[e]);c<a.length&&b.push({G:"a",P:{href:a[c],target:a[c+1]},aa:a[c+2]})}return{G:"span",N:b}}; | |
vY=function(a,b,c,d,e,f){e||(e=g.Y(a.l).g);a=d?{CPN:a.l.getVideoData().clientPlaybackNonce}:null;b=g.V(b,a).split(/\$(BEGIN|END)_LINK/);a=[];f&&(f=g.V(f,null))&&a.push({G:"h2",aa:f});a.push(b[0]);a.push({G:"br"});a.push({G:"a",P:{href:c,target:e?"_blank":null},aa:b[2]});a.push(b[4]);return{G:"span",N:a}}; | |
xY=function(a){g.CF.call(this);this.g=a;this.o=new window.Set;this.l=window.navigator.mediaSession;wY(this,"play",function(){a.Xc()}); | |
wY(this,"pause",function(){a.hd()}); | |
wY(this,"seekbackward",function(){a.ue(-5*a.Hc())}); | |
wY(this,"seekforward",function(){a.ue(5*a.Hc())}); | |
this.O(a,"videodatachange",this.B);this.O(a,"presentingplayerstatechange",this.A);this.B()}; | |
wY=function(a,b,c){a.l.setActionHandler(b,c?(0,g.z)(c,a):null);a.o.add(b)}; | |
yY=function(a){g.W.call(this,{G:"div",L:"ytp-paid-content-overlay",P:{"aria-live":"assertive","aria-atomic":"true"}});this.F=new g.W({G:"div",da:["ytp-button","ytp-paid-content-overlay-text"]});g.N(this,this.F);this.F.ua(this.element);this.J=a;this.A=null;this.H=!1;this.C=new g.MV(this.F,250,!1,100);g.N(this,this.C);this.D=this.l=null;this.B={};this.I=0;this.O(a,"videodatachange",this.T);this.O(a,"presentingplayerstatechange",this.M)}; | |
vra=function(a,b){var c=yO(b),d=zO(b);a.l?b.videoId&&b.videoId!=a.A&&(g.Zt(a.l),a.A=b.videoId,c=a.B[b.videoId]||0,a.H=!!d&&3E3>c):c&&d&&(a.l=new g.Wt(a.K,d,a),g.N(a,a.l),g.Rd(g.J("ytp-paid-content-overlay-text",a.element),c))}; | |
wra=function(a,b){a.l&&g.X(b,8)&&a.H&&(a.H=!1,a.C.show(),a.I=(0,g.F)(),a.l.start())}; | |
AY=function(a){g.W.call(this,{G:"div",L:"ytp-spinner",N:[rX(),{G:"div",L:"ytp-spinner-message",aa:g.V("YTP_PLAYBACK_STALLED_AT_START")}]});this.B=this.g["ytp-spinner-message"];this.A=a;this.l=new g.Wt(this.show,500,this);g.N(this,this.l);this.O(a,"presentingplayerstatechange",this.C);this.O(a,"onFrescaStateChange",this.D);this.O(a,"playbackstalledatstart",this.F);zY(this,g.UU(a))}; | |
zY=function(a,b){if(g.X(b,128))var c=0;else!(c=g.X(b,16))&&(c=g.X(b,1))&&(c=g.NU(a.A).F,c=!(c&&c.loaded));c?a.l.start():a.hide()}; | |
BY=function(a,b,c,d){d=void 0===d?!1:d;g.qH.call(this,b);this.ca=a;this.ea=d;this.J=null;this.I=new g.CF(this);g.N(this,this.I);this.K=new g.MV(this,c,!0);g.N(this,this.K);this.C=null}; | |
xra=function(a){a.C&&(window.document.activeElement&&g.Pd(a.element,window.document.activeElement)&&(g.Wd(a.C),a.C.focus()),a.C.removeAttribute("aria-expanded"),a.C=null);g.EF(a.I);a.J=null}; | |
CY=function(a){return a.o&&3!=a.K.g}; | |
DY=function(a){var b=g.Y(a).experiments.o("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({G:"div",da:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));BY.call(this,a,{G:"button",da:["ytp-unmute","ytp-popup","ytp-button"].concat(c),N:[{G:"div",L:"ytp-unmute-inner",N:[{G:"div",da:["ytp-unmute-icon"],N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-volume-muted-dark"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36", | |
width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]}, | |
{G:"div",da:["ytp-unmute-text"],aa:g.V("YTP_TAP_TO_UNMUTE_SHORT")}].concat(d)}]},100);this.l=a;this.A=this.B=!1;g.Y(this.l).experiments.g("muted_autoplay_unmute_interaction_logging_killswitch")||pV(this.l,this.element,this,51663);this.O(a,"mutedautoplaychange",this.D,this);this.O(a,"presentingplayerstatechange",this.F);this.U("click",this.onClick,this);a=a.app.Y;g.pH(this,a);a&&yra(this)}; | |
zra=function(a){a.B||(a.B=!0,g.bV(a.l,"mutedAutoplayClick",{}),g.Y(a.l).experiments.g("muted_autoplay_unmute_interaction_logging_killswitch")||g.qV(a.l,a.element))}; | |
yra=function(a){a.A||(a.A=!0,g.bV(a.l,"mutedAutoplayImpression",{}),g.Y(a.l).experiments.g("muted_autoplay_unmute_interaction_logging_killswitch")||g.rV(a.l,a.element,!0))}; | |
EY=function(a){g.CF.call(this);var b=g.Y(a),c=g.VU(a);this.g=a;this.Wb=!1;this.I=null;this.tb=!1;this.sb=new g.Wt(this.IQ,0,this);g.N(this,this.sb);var d=new nY(a);g.N(this,d);g.mV(a,d.element,4);if(!qE("tizen")){var e=new AY(a);g.N(this,e);e=e.element;g.mV(a,e,4)}var f=a.getVideoData();this.o=new mY(c,(0,g.z)(this.bP,this),f,b.useTabletControls);g.N(this,this.o);this.o.subscribe("autohideupdate",this.Uu,this);var k=new yY(a);g.N(this,k);g.mV(a,k.element,4);this.ga=new DY(a);g.N(this,this.ga);g.mV(this.g, | |
this.ga.element,2);this.vb=this.g.app.Y;this.O(a,"mutedautoplaychange",this.cP);this.ea=new g.Wt(this.Gu,200,this);g.N(this,this.ea);this.Da=f.videoId;this.B=null;this.Sa=!1;this.Wa=null;this.na=[];f=a.getRootNode();f.setAttribute("aria-label","Pemutar Video YouTube");switch(b.color){case "white":g.S(f,"ytp-color-white")}!g.Y(a).experiments.g("disable_mediasession2")&&"mediaSession"in window.navigator&&!window.navigator.mediaSession.metadata&&window.navigator.mediaSession.setActionHandler&&(f=new xY(a), | |
g.N(this,f));this.O(a,"appresize",this.wb);this.O(a,"presentingplayerstatechange",this.jT);this.O(a,"videodatachange",this.TB);this.O(a,"videoplayerreset",this.fT);this.O(a,"autonavvisibility",this.dj,this);g.Y(a).experiments.g("player_minimized_controls_killswitch")&&this.O(a,"minimized",this.og,this);this.O(a,"onFrescaStateChange",this.og,this);this.O(c,"click",this.LT,this);this.O(c,"dblclick",this.NT,this);b.fa&&(this.O(c,"gesturechange",this.OT,this),this.O(c,"gestureend",this.PT,this));this.Y= | |
[c.F,d.element];e&&this.Y.push(e)}; | |
FY=function(a){return g.Y(a.g).experiments.g("player_minimized_controls_killswitch")?a.g.app.I.g:!1}; | |
GY=function(a,b){if(!b)return!1;var c=a.g.app.B;if(c.Ig()&&(c=c.la())&&g.Pd(c,b))return c.controls;for(c=0;c<a.Y.length;c++)if(g.Pd(a.Y[c],b))return!1;return g.jq(b,"ytp-player-content")||g.jq(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0}; | |
Ara=function(a){return g.Y(a.g).experiments.g("mweb_ios_handle_player_click_by_touch_event")&&2==a.g.Qa()&&g.VU(a.g).C&&g.Y(a.g).l&&HY&&11<=IY}; | |
Bra=function(a,b){if(!GY(a,rF(b))&&(a.o.fc(2,!0),g.LV(b)&&!g.Y(a.g).F))if(a.Zn())g.uF(b);else{var c=g.UU(a.g);g.X(c,2)&&PU(a.g)||a.UB(c);!g.Y(a.g).fa||g.uP(c)||g.X(c,1024)?a.Gu():a.ea.isActive()?(a.Uz(),a.ea.stop()):a.ea.start()}}; | |
Cra=function(a,b){if(g.LV(b)&&a.g.app.Y){a.g.gg();2==a.g.Qa()&&a.g.Xc();var c=g.UU(a.g);!g.X(c,4)||g.X(c,8)||g.X(c,2)||a.Gu();return!0}return!1}; | |
Dra=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.YU(a.g):c>1+b&&g.YU(a.g)}; | |
g.JY=function(a){g.W.call(this,{G:"div",L:"ytp-bezel",P:{role:"status","aria-label":"{{label}}"},N:[{G:"div",L:"ytp-bezel-icon",aa:"{{icon}}"}]});this.A=new g.Wt(this.show,10,this);g.N(this,this.A);this.l=new g.Wt(this.hide,500,this);g.N(this,this.l);this.B=a;this.hide()}; | |
LY=function(a,b){if(b)g.X(g.UU(a.B),64)||KY(a,cpa(),g.V("YTP_PLAY"));else{var c=a.B.getVideoData();c.za&&!c.sg?KY(a,fpa(),g.V("YTP_STOP")):KY(a,apa(),g.V("YTP_PAUSE"))}}; | |
MY=function(a,b,c){0>=b?(c=JV(),b=g.V("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?ipa():hpa(),b=Math.floor(b)+"% "+g.V("YTP_SCREENREADER_VOLUME_SETTING"));KY(a,c,b)}; | |
Era=function(a,b,c){c=c?g.EV?{G:"div",da:["ytp-icon","ytp-icon-fast-rewind"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.EV?{G:"div",da:["ytp-icon","ytp-icon-fast-forward"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]};b=g.V("YTP_PLAYBACK_SPEED_CHANGED", | |
{RATE:String(b)});KY(a,c,b)}; | |
KY=function(a,b,c){a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.Zt(a.l);a.A.start()}; | |
OY=function(a,b,c){var d={"aria-label":g.V("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.Y(a).H)},e={G:"span",L:"ytp-cards-button-icon-default",N:[{G:"div",L:"ytp-cards-button-icon",N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-info-card"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]}, | |
{G:"div",L:"ytp-cards-button-title",aa:g.V("YTP_CARDS_BUTTON_INFO")}]};d={G:"button",da:["ytp-button","ytp-cards-button"],P:d,N:[e,{G:"span",L:"ytp-cards-button-icon-shopping",N:[{G:"div",L:"ytp-cards-button-icon",N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-shopping-card"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",L:"ytp-svg-shadow",P:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{G:"path",L:"ytp-svg-fill",P:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z", | |
"fill-opacity":"1"}},{G:"path",L:"ytp-svg-shadow-fill",P:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{G:"div", | |
L:"ytp-cards-button-title",aa:g.V("YTP_CARDS_BUTTON_SHOPPING")}]}]};g.W.call(this,d);this.l=a;this.C=b;this.D=c;this.A=null;this.B=new g.MV(this,250,!0,100);g.N(this,this.B);a=g.Y(this.l);b=g.VU(this.l).Oa().width;b=a.g&&480<b;a.H&&a.experiments.g("embed_info_bar_show_actions_labels")&&g.U(this.D,"ytp-show-cards-title",b);this.hide();this.U("click",this.F);this.U("mouseover",this.H);NY(this,!0)}; | |
NY=function(a,b){b?a.A=PY(a.C.Jb(),a.element):(a.A(),a.A=null)}; | |
QY=function(a,b){g.W.call(this,{G:"div",L:"ytp-cards-teaser",N:[{G:"div",L:"ytp-cards-teaser-box"},{G:"div",L:"ytp-cards-teaser-text",N:[{G:"span",L:"ytp-cards-teaser-label",aa:"{{text}}"}]}]});this.A=a;this.D=new g.MV(this,250,!1,250);g.N(this,this.D);this.J=b;this.l=null;this.I=new g.Wt(this.HS,300,this);g.N(this,this.I);this.H=new g.Wt(this.FS,2E3,this);g.N(this,this.H);this.K=new g.bp(null);this.F=[];this.C=this.B=null;this.O(b.element,"mouseover",this.VB);this.O(b.element,"mouseout",this.Ih); | |
this.O(a,"cardsteasershow",this.mU);this.O(a,"cardsteaserhide",this.qm);this.O(a,"cardstatechange",this.mF);this.O(a,"presentingplayerstatechange",this.mF);this.U("click",this.dW);this.U("mouseenter",this.dP)}; | |
Fra=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.cp(a.K,b.teaserText));a.D.show();a.B=new g.Wt(function(){g.S(this.A.getRootNode(),"ytp-cards-teaser-shown")},0,a); | |
a.B.start();NY(a.J,!1);a.l=new g.Wt(a.qm,580+b.durationMs,a);a.l.start();a.F.push(a.U("mouseover",a.VB,a));a.F.push(a.U("mouseout",a.Ih,a))}; | |
RY=function(a,b,c,d,e){var f={G:"div",L:"ytp-panel"};if(c){var k="ytp-panel-title";var l={G:"div",L:"ytp-panel-header",N:[{G:"button",da:["ytp-button",k],N:[c]}]};if(e){var m="ytp-panel-options";l.N.push({G:"button",da:["ytp-button",m],N:[d]})}f.N=[l]}g.qH.call(this,f);this.X=b;b.ua(this.element);this.fa=!1;c&&(this.O(this.g[k],"click",this.ha),this.fa=!0,e&&this.O(this.g[m],"click",e));b.subscribe("size-change",this.ga,this);this.O(a,"fullscreentoggled",this.ga)}; | |
g.SY=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.qH({G:"div",L:"ytp-panel-menu",P:f});RY.call(this,a,b,c,d,e);this.F=b;g.N(this,this.F);this.Ma=[]}; | |
g.TY=function(a,b,c){if(void 0===c?0:c)a.Ma.push(b),a.F.element.appendChild(b.element);else{c=g.eb(a.Ma,b,Gra);if(0<=c)return;c=~c;g.$a(a.Ma,c,0,b);Id(a.F.element,b.element,c)}b.subscribe("size-change",a.ca,a);a.F.R("size-change")}; | |
g.Hra=function(a,b){b.unsubscribe("size-change",a.ca,a);a.ka()||(g.Ua(a.Ma,b),a.F.element.removeChild(b.element),a.F.R("size-change"))}; | |
g.Ira=function(a){for(var b=g.ma(a.Ma),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.ca,a);a.Ma=[];g.Hd(a.F.element);a.F.R("size-change")}; | |
Gra=function(a,b){return b.priority-a.priority}; | |
g.UY=function(a,b){BY.call(this,a,{G:"div",da:["ytp-popup",b||null]},100,!0);this.l=[];this.size=new g.I(0,0);this.D=this.F=null;this.M=this.T=0;this.U("keydown",this.sP)}; | |
Jra=function(a){g.Ih(a.element,a.T||"100%",a.M||"100%");var b=VY(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.X.element.style.height="";var c=g.Jh(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.fa&&(d=g.Jh(b.g["ytp-panel-header"]).height);b.X.element.style.height=c.height-d+"px";a.size=c}; | |
g.XY=function(a,b){var c=a.l[a.l.length-1];a.l.push(b);WY(a,c,b)}; | |
g.YY=function(a){var b=a.l.pop(),c=a.l[0];a.l=[c];WY(a,b,c,!0)}; | |
WY=function(a,b,c,d){Kra(a);VY(a);g.jq(c.element,"ytp-panel-animate-back")||g.jq(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Pm,a),b.unsubscribe("back",a.Xe,a));c.subscribe("size-change",a.Pm,a);c.subscribe("back",a.Xe,a);if(a.o){g.S(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.ua(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;Jra(a);g.Ih(a.element,e);a.F=new g.Wt(g.Ga(a.ZV,b,c,d),20,a);a.F.start()}else c.ua(a.element), | |
b&&g.oH(b)}; | |
VY=function(a){return a.l[a.l.length-1]}; | |
Kra=function(a){a.F&&g.Yt(a.F);a.D&&g.Yt(a.D)}; | |
ZY=function(a){var b=g.tH({"aria-haspopup":"true"});g.sH.call(this,b,a);this.U("keydown",this.l)}; | |
$Y=function(a,b){a.element.setAttribute("aria-haspopup",b)}; | |
aZ=function(a,b){var c=g.tH({role:"menuitemcheckbox","aria-checked":"false"});g.sH.call(this,c,b,a,{G:"div",L:"ytp-menuitem-toggle-checkbox"});this.A=!1;this.U("click",this.J)}; | |
bZ=function(a,b){a.A=b;a.element.setAttribute("aria-checked",a.A)}; | |
cZ=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.Qg("/sharing_services",a);g.CE(d)}; | |
dZ=function(a,b,c,d){g.SY.call(this,a);this.l=a;this.K=c;this.M=d;this.C=new ZY(8);g.N(this,this.C);g.TY(this,this.C,!0);this.C.U("click",this.RR,this);pV(a,this.C.element,this.C,28659);this.B=new ZY(7);g.N(this,this.B);g.TY(this,this.B,!0);this.B.U("click",this.QR,this);pV(a,this.B.element,this.B,28660);this.A=new ZY(6);g.N(this,this.A);g.TY(this,this.A,!0);this.A.U("click",this.OR,this);pV(a,this.A.element,this.A,28658);this.D=new aZ(g.V("YTP_LOOP"),5);g.N(this,this.D);g.TY(this,this.D,!0);this.D.U("click", | |
this.mS,this);pV(a,this.D.element,this.D,28661);this.T=new g.sH(g.tH({href:"{{href}}",target:"_blank"},void 0,!0),4,g.V("YTP_TROUBLESHOOT_ISSUE"));g.N(this,this.T);g.TY(this,this.T,!0);this.T.U("click",this.ET,this);this.J=new ZY(3);g.N(this,this.J);g.TY(this,this.J,!0);this.J.U("click",this.NR,this);b=new g.sH(g.tH(),2,g.V("YTP_SHOW_VIDEO_INFO"));g.N(this,b);g.TY(this,b,!0);b.U("click",this.dU,this);this.I=new g.qH({G:"div",da:["ytp-copytext","ytp-no-contextmenu"],P:{draggable:"false",tabindex:"1"}, | |
aa:"{{text}}"});g.N(this,this.I);this.I.U("click",this.oR,this);this.ea=new RY(a,this.I);g.N(this,this.ea);this.H=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.zI&&g.qc(43)&&(b=!0);g.LL&&!g.qc(41)&&(b=!1);b&&(this.H=new g.W({G:"textarea",L:"ytp-html5-clipboard"}),g.N(this,this.H),this.H.ua(this.element));this.O(a,"loopchange",this.lS);this.O(a,"videodatachange",this.hP);Lra(this);Mra(this,this.l.getVideoData())}; | |
eZ=function(a,b){if(a.H){var c=a.H.element;c.value=b;c.select();try{var d=window.document.execCommand("copy")}catch(e){}}d?a.K.Rb():(a.I.Mb(b,"text"),g.XY(a.K,a.ea),tX(a.I.element),a.H&&(a.H=null,Lra(a)));return d}; | |
Mra=function(a,b){var c=g.Y(a.l),d=2!=a.l.Qa()||b.isListed;d=!c.D&&!!b.videoId&&d;"play"!=c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,plid:b.playbackId,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.Ja&&(c.fmt=RH(b.Ja)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.Bf&&(c.partnerid=b.Bf),c=g.Qg("//support.google.com/googleplay/",c));g.pH(a.A,d&&b.allowEmbed);g.pH(a.C,d);g.pH(a.B,d&&!b.za);a.T.Mb(c,"href")}; | |
Lra=function(a){var b=!!a.H;g.rH(a.J,g.V(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));$Y(a.J,!b);g.rH(a.A,g.V(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));$Y(a.A,!b);g.rH(a.C,g.V(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));$Y(a.C,!b);g.rH(a.B,g.V(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));$Y(a.B,!b)}; | |
Nra=function(a,b){g.rV(a.l,a.A.element,b);g.rV(a.l,a.C.element,b);g.rV(a.l,a.B.element,b);g.rV(a.l,a.D.element,b)}; | |
fZ=function(a,b,c){g.UY.call(this,a);this.A=a;this.fa=b;this.X=c;this.B=new g.CF(this);g.N(this,this.B);this.H=null;pV(a,this.element,this,28656);g.S(this.element,"ytp-contextmenu");Ora(this);this.hide()}; | |
Ora=function(a){g.EF(a.B);"gvn"!=g.Y(a.A).playerStyle&&a.B.O(g.VU(a.A),"contextmenu",a.nR)}; | |
Pra=function(a){a.A.isFullscreen()?g.mV(a.A,a.element,9):a.ua(window.document.body)}; | |
gZ=function(a,b,c,d,e,f){g.CF.call(this);this.g=a;this.D=c;this.B=d;this.l=e;this.C=f;this.A=new g.Wt(g.Ga(this.YB,!1),1E3,this);g.N(this,this.A);this.o="";a=g.Ga(this.Hv,!1);this.O(b,"mousedown",a);this.O(c.element,"mousedown",a);this.O(b,"keydown",this.Mz);this.O(c.element,"keydown",this.Mz);this.O(b,"keyup",this.Nz);this.O(c.element,"keyup",this.Nz)}; | |
Rra=function(a,b,c){var d=!1,e=g.Y(a.g);if(!e.Gd){switch(b){case 80:c&&!e.F&&(KY(a.l,dpa(),g.V("YTP_PREVIOUS")),a.g.hm(),d=!0);break;case 78:c&&!e.F&&(KY(a.l,Zoa(),g.V("YTP_NEXT")),a.g.lk(),d=!0);break;case 74:a.g.gd()&&(KY(a.l,g.EV?{G:"div",da:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), | |
a.g.ue(-10*a.g.Hc()),d=!0);break;case 76:a.g.gd()&&(KY(a.l,g.EV?{G:"div",da:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), | |
a.g.ue(10*a.g.Hc()),d=!0);break;case 77:a.g.isMuted()?(a.g.gg(),MY(a.l,a.g.getVolume(),!1)):(a.g.mute(),MY(a.l,0,!0));d=!0;break;case 75:e.F||(d=!g.tP(g.UU(a.g)),LY(a.l,d),d?a.g.Xc():a.g.hd(),d=!0);break;case 190:if(c){if(e.ha)for(b=a.g.jk(),c=a.g.Hc(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.g.Te(d,!0),Era(a.l,d,!1),d=!0)}else a.g.gd()&&(Qra(a,1),d=!0);break;case 188:if(c){if(e.ha)for(b=a.g.jk(),c=a.g.Hc(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.g.Te(d,!0),Era(a.l,d,!0),d=!0)}else a.g.gd()&& | |
(Qra(a,-1),d=!0);break;case 70:xqa(a.g)&&(g.YU(a.g),d=!0)}d&&a.B.fc(2,!0)}return d}; | |
iZ=function(a,b,c,d){var e=g.NU(a.g).l;if(!e||!e.loaded)return!1;e=a.g.Li();for(var f,k=0;k<g.hZ.length;k++){var l=g.hZ[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return!1}else if(m==f.length-1)return!1;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.g.np(d);a.YB(!0);a.A.start();return!0}; | |
Qra=function(a,b){a.g.gd();if(g.X(g.UU(a.g),4)){var c=a.g.getVideoData().Ja;c&&(c=c.video)&&a.g.ue(b/(c.fps||30))}}; | |
jZ=function(a,b){g.W.call(this,{G:"div",L:"ytp-pause-overlay"});this.l=a;this.ca=b;this.B=new g.CF(this);g.N(this,this.B);this.T=new g.MV(this,1E3,!1,100);g.N(this,this.T);var c=g.Y(a);this.D=[];this.A=[];this.F=0;this.ea=c.g;this.Y=!1;this.ha=0;this.M=new g.W({G:"h2",L:"ytp-related-title",aa:"{{title}}"});g.N(this,this.M);this.M.ua(this.element);this.H=new g.W({G:"div",L:"ytp-suggestions"});g.N(this,this.H);this.H.ua(this.element);this.K=new g.W({G:"button",da:["ytp-button","ytp-previous"],P:{"aria-label":g.V("YTP_PREVIOUS")}, | |
N:[g.FV()]});g.N(this,this.K);this.K.ua(this.element);this.K.U("click",this.uP,this);c=g.zI||g.cf?{style:"will-change: opacity"}:null;this.fa=new pY((0,g.z)(this.ZB,this));g.N(this,this.fa);for(var d=this.ga=this.X=this.C=0;16>d;d++){var e=new g.W({G:"a",L:"ytp-suggestion-link",P:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},N:[{G:"div",L:"ytp-suggestion-image"},{G:"div",L:"ytp-suggestion-overlay",P:c,N:[{G:"div",L:"ytp-suggestion-title",aa:"{{title}}"},{G:"div",L:"ytp-suggestion-author", | |
aa:"{{author_and_views}}"},{G:"div",L:"ytp-suggestion-duration",aa:"{{duration}}"}]}]});g.N(this,e);e.ua(this.H.element);var f=e.g["ytp-suggestion-link"];g.oh(f,"transitionDelay",d/20+"s");this.B.O(f,"click",g.Ga(this.vP,d));this.D.push(e)}this.J=new g.W({G:"button",da:["ytp-button","ytp-next"],P:{"aria-label":g.V("YTP_NEXT")},N:[g.GV()]});g.N(this,this.J);this.J.ua(this.element);this.J.U("click",this.tP,this);c={"aria-label":g.V("YTP_CLOSE")};c=new g.W({G:"button",da:["ytp-button","ytp-collapse"], | |
P:c,N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-small-close"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 16 16",width:"100%"},N:[{G:"path",P:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.N(this,c);c.ua(this.element);c.U("click",this.YQ,this);this.I=new g.W({G:"button",da:["ytp-button","ytp-expand"],aa:g.V("YTP_MORE_VIDEOS")});g.N(this,this.I);this.I.ua(this.element);this.I.U("click",this.aR,this);this.B.O(this.l,"appresize",this.Iu);this.B.O(this.l,"fullscreentoggled", | |
this.wP);this.B.O(this.l,"presentingplayerstatechange",this.xP);this.B.O(this.l,"videodatachange",this.yP);this.Iu(g.VU(this.l).Oa())}; | |
Sra=function(a,b){var c=g.cd(b,a.F-a.A.length*(a.X+8),0);a.fa.start(a.C,c,1E3);a.C=c;kZ(a)}; | |
kZ=function(a){var b=a.ca.sd();b=a.ga/2+(b?32:16);a.J.element.style.bottom=b+"px";a.K.element.style.bottom=b+"px";b=a.C;var c=a.F-a.A.length*(a.X+8);g.U(a.element,"ytp-scroll-min",0<=b);g.U(a.element,"ytp-scroll-max",b<=c)}; | |
Ura=function(a){for(var b=g.Y(a.l),c=0;c<a.A.length;c++){var d=a.A[c].Zb(),e=a.D[c],f=d.shortViewCount?d.author+" \u2022 "+d.shortViewCount:d.author;e.element.style.display="";Tra.test(d.title)&&(e.g["ytp-suggestion-title"].dir="rtl");Tra.test(f)&&(e.g["ytp-suggestion-author"].dir="rtl");e.update({author_and_views:f,duration:d.lengthSeconds?g.KV(d.lengthSeconds):0,link:d.Dl(b),title:d.title,aria_label:d.Zk||null});e=e.g["ytp-suggestion-image"];d=d.dd(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c< | |
a.D.length;c++)a.D[c].element.style.display="none";kZ(a)}; | |
lZ=function(a,b,c){var d=b.Zb(c),e=g.Y(a),f=d.dd(e,"default.jpg");g.W.call(this,{G:"a",da:["ytp-video-menu-item","ytp-button"],P:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},N:[{G:"div",L:"ytp-video-menu-item-index",aa:String(c+1)},{G:"div",L:"ytp-video-menu-item-now-playing",aa:"\u25b6"},{G:"div",L:"ytp-video-menu-item-thumbnail",P:{style:f?"background-image: url("+f+");":null}},{G:"div",L:"ytp-video-menu-item-title",aa:d.title},{G:"div", | |
L:"ytp-video-menu-item-author",aa:d.author}]});this.l=a;this.Db=c;this.U("click",this.A)}; | |
mZ=function(a){BY.call(this,a,{G:"div",L:"ytp-playlist-menu",P:{role:"dialog",id:iH()},N:[{G:"div",L:"ytp-playlist-menu-header",N:[{G:"div",L:"ytp-playlist-menu-title",N:[{G:"a",L:"ytp-playlist-menu-title-name",P:{href:"{{playlisturl}}"},aa:"{{title}}"},{G:"button",da:["ytp-playlist-menu-close","ytp-button"],P:{"aria-label":g.V("YTP_CLOSE")},N:[g.HV()]}]},{G:"div",L:"ytp-playlist-menu-subtitle",aa:"{{subtitle}}"}]},{G:"div",L:"ytp-playlist-menu-items",P:{role:"menu"}}]},250);this.O(this.g["ytp-playlist-menu-close"], | |
"click",this.Rb);this.O(this.g["ytp-playlist-menu-title-name"],"click",this.oU);this.A=a;this.B=this.H=this.l=null;this.Ma=this.g["ytp-playlist-menu-items"];this.F=new g.CF(this);g.N(this,this.F);this.D=[];this.hide()}; | |
Vra=function(a,b){if(a.l!=b)if(a.l&&a.l.unsubscribe("shuffle",a.Vp,a),a.l=b,a.H=null,b){b.subscribe("shuffle",a.Vp,a);var c=b.author;a.update({title:b.title,subtitle:g.V(c?"YTP_PLAYLIST_AUTHOR_AND_POSITION":"YTP_PLAYLIST_POSITION",{AUTHOR:c,CURRENT_POSITION:String(b.pe()+1),PLAYLIST_LENGTH:String(b.getLength())}),playlisturl:a.A.getVideoUrl(!0)});a.Vp()}else a.o&&a.hide();else a.l&&a.Vp()}; | |
nZ=function(a,b,c){var d={title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":g.V("YTP_PLAYLIST")};g.W.call(this,{G:"button",da:["ytp-playlist-menu-button","ytp-button"],P:d,N:[{G:"div",L:"ytp-playlist-menu-button-icon",N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-playlist"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"m 22.53,21.42 0,6.85 5.66,-3.42 -5.66,-3.42 0,0 z m -11.33,0 9.06,0 0,2.28 -9.06,0 0,-2.28 0,0 z m 0,-9.14 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z m 0,4.57 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z", | |
fill:"#fff"}}]}]},{G:"div",L:"ytp-playlist-menu-button-text",aa:"{{text}}"}]});this.B=a;this.l=null;this.C=b.Jb();this.O(a,"videodatachange",this.D);this.O(a,"onPlaylistUpdate",this.D);this.O(a,"presentingplayerstatechange",this.A);this.O(a,"appresize",this.A);this.hide();this.D();g.Ye(this,PY(this.C,this.element));this.U("click",(0,g.z)(c.Oh,c,this.element,!1))}; | |
oZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-replay-button","ytp-button"],P:{title:g.V("YTP_REPLAY")},N:[g.IV()]});this.l=a;this.O(a,"presentingplayerstatechange",this.B);this.U("click",this.A,this);var c=g.UU(a);g.pH(this,g.X(c,2));PY(b.Jb(),this.element)}; | |
pZ=function(a,b){var c=iH();c={G:"div",L:"ytp-share-panel",P:{id:iH(),role:"dialog","aria-labelledby":c},N:[{G:"button",da:["ytp-share-panel-close","ytp-button"],P:{title:g.V("YTP_CLOSE")},N:[g.HV()]},{G:"div",L:"ytp-share-panel-inner-content",N:[{G:"div",L:"ytp-share-panel-title",P:{id:c},aa:g.V("YTP_SHARE")},{G:"a",da:["ytp-share-panel-link","ytp-no-contextmenu"],P:{href:"{{link}}",target:"_blank",title:g.V("YTP_SHARE_LINK"),"aria-label":g.V("YTP_SHARE_LINK")},aa:"{{linkText}}"},{G:"label",L:"ytp-share-panel-include-playlist", | |
N:[{G:"input",L:"ytp-share-panel-include-playlist-checkbox",P:{type:"checkbox",checked:!0}},g.V("YTP_SHARE_WITH_PLAYLIST_2")]},{G:"div",L:"ytp-share-panel-loading-spinner",N:[rX()]},{G:"div",L:"ytp-share-panel-service-buttons",aa:"{{buttons}}"},{G:"div",L:"ytp-share-panel-error",aa:g.V("YTP_SHARE_PANEL_ERROR")}]}]};BY.call(this,a,c,250);this.l=a;this.A=b.Jb();this.B=[];this.M=this.g["ytp-share-panel-inner-content"];this.F=this.g["ytp-share-panel-close"];this.O(this.F,"click",this.Rb);g.Ye(this,PY(this.A, | |
this.F));this.H=this.g["ytp-share-panel-include-playlist-checkbox"];this.O(this.H,"click",this.dC);this.D=this.g["ytp-share-panel-link"];g.Ye(this,PY(this.A,this.D));this.U("click",this.YS);this.O(a,"videoplayerreset",this.hide);this.O(a,"fullscreentoggled",this.IP);this.hide()}; | |
Wra=function(a){switch(a){case "facebook":return g.EV?{G:"div",da:["ytp-icon","ytp-icon-share-facebook"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},N:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z", | |
fill:"#39579b"}}]};case "googleplus":return g.EV?{G:"div",da:["ytp-icon","ytp-icon-share-googleplus"]}:{G:"svg",P:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},N:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M34.3,0H3.7C1.7,0,0,1.7,0,3.7v30.5c0,2,1.7,3.7,3.7,3.7h30.5c2,0,3.7-1.7,3.7-3.7V3.7C38,1.7,36.3,0,34.3,0z M13.3,28.5c-5.2,0-9.5-4.3-9.5-9.5c0-5.2,4.3-9.5,9.5-9.5c2.6,0,4.7,.9,6.4,2.5l-2.7,2.7c-1-0.9-2.2-1.4-3.6-1.4 c-3.1,0-5.6,2.6-5.6,5.7s2.5,5.7,5.6,5.7c2.8,0,4.7-1.6,5.1-3.8h-5.1v-3.6h8.9c0.1,.6,.2,1.3,.2,2C22.4,24.6,18.8,28.5,13.3,28.5 z M34.2,19.6H31v3.2h-2.2v-3.2h-3.2v-2.2h3.2v-3.2H31v3.2h3.2V19.6z", | |
fill:"#dc4537"}}]};case "twitter":return g.EV?{G:"div",da:["ytp-icon","ytp-icon-share-twitter"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},N:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z", | |
fill:"#01abf0"}}]};default:return null}}; | |
Xra=function(a){for(var b=g.ma(a.B),c=b.next();!c.done;c=b.next())c=c.value,g.oH(c),g.Ze(c);a.B=[]}; | |
qZ=function(a,b,c,d){g.W.call(this,{G:"button",da:["ytp-button","ytp-share-button"],P:{title:g.V("YTP_SHARE"),"aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.Y(a).H)},N:[{G:"div",L:"ytp-share-icon",N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-sharrow"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}]}, | |
{G:"div",L:"ytp-share-title",aa:"{{share}}"}]});this.l=a;this.B=d;this.H=c;this.D=this.A=!1;pV(a,this.element,this,28664);this.U("click",this.F);this.O(a,"videodatachange",this.C);this.O(a,"appresize",this.C);this.C();g.Ye(this,PY(b.Jb(),this.element))}; | |
rZ=function(a){BY.call(this,a,{G:"button",da:["ytp-skip-intro-button","ytp-popup","ytp-button"],N:[{G:"div",L:"ytp-skip-intro-button-text",aa:g.V("YTP_SKIP_INTRO")}]},100);var b=this;this.l=a;this.F=!1;this.D=new g.Wt(function(){return b.hide()},5E3); | |
g.N(this,this.D);this.A=this.B=window.NaN;this.T=function(){return b.show()}; | |
this.M=function(){return b.hide()}; | |
this.H=this.X.bind(this);this.O(this.l,"videodatachange",function(a,d){if("dataloaded"==a)if(b.B=d.rA,b.A=d.qA,(0,window.isNaN)(b.B)||(0,window.isNaN)(b.A))b.F&&(g.kV(b.l,"intro"),b.l.removeEventListener("crn_intro",b.T),b.l.removeEventListener("crx_intro",b.M),b.l.removeEventListener("onShowControls",b.H),b.hide(),b.F=!1);else{b.l.addEventListener("crn_intro",b.T);b.l.addEventListener("crx_intro",b.M);b.l.addEventListener("onShowControls",b.H);var c=new g.bQ(b.B,b.A,{priority:7,namespace:"intro"}); | |
g.hV(b.l,[c]);b.F=!0}}); | |
this.O(this.element,"click",function(){b.l.ac(b.A/1E3)}); | |
this.hide()}; | |
sZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-airplay-button","ytp-button"],P:{title:g.V("YTP_AIRPLAY")},aa:"{{icon}}"});this.l=a;this.U("click",this.B);this.O(a,"airplayactivechange",this.A);this.O(a,"airplayavailabilitychange",this.A);this.A();g.Ye(this,PY(b.Jb(),this.element))}; | |
tZ=function(a){g.qH.call(this,{G:"div",L:"ytp-gradient-bottom"});this.A=g.Dd("CANVAS");this.A.width=1;this.l=this.A.getContext("2d");this.B=window.NaN;Yra(this,g.VU(a).Oa().height)}; | |
Yra=function(a,b){if(a.l){var c=Math.floor(.4*b);c=Math.max(c,47);var d=c+2;if(a.B!=d){a.B=d;a.A.height=d;a.l.clearRect(0,0,1,d);var e=a.l.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.l.fillStyle=e;a.l.fillRect(0,2,1,c);a.element.style.height=d+"px";a.element.style.backgroundImage="url("+a.A.toDataURL()+")"}}}; | |
uZ=function(a,b,c,d,e){var f=b.Qu/b.rows,k=Math.min(c/(b.Ru/b.columns),d/f),l=b.Ru*k,m=b.Qu*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,r=-b.column*n,v=-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+") "+r+"px "+v+"px/"+l+"px "+m+"px";if(e)return new g.I(n, | |
p)}; | |
vZ=function(a,b){g.qH.call(this,{G:"div",L:"ytp-storyboard",N:[{G:"div",L:"ytp-storyboard-filmstrip",N:[{G:"div",L:"ytp-storyboard-thumbnail"}]},{G:"div",L:"ytp-storyboard-lens",N:[{G:"div",L:"ytp-storyboard-lens-thumbnail"},{G:"div",L:"ytp-storyboard-lens-timestamp-wrapper",N:[{G:"span",L:"ytp-storyboard-lens-timestamp"}]}]}]});this.A=a;this.X=b.Jb();this.M=new g.Tk(this.VL,250,this);g.N(this,this.M);this.I=g.VU(a).Oa().width;this.l=this.g["ytp-storyboard-filmstrip"];this.ea=this.g["ytp-storyboard-lens"]; | |
this.fa=this.g["ytp-storyboard-lens-thumbnail"];this.ga=this.g["ytp-storyboard-lens-timestamp"];this.ca=this.g["ytp-storyboard-thumbnail"];g.Jd(this.ca);this.J=0;this.T=!1;this.K=this.C=this.B=window.NaN;this.Lb=this.D=null;this.F=new g.CF(this);g.N(this,this.F);this.H=new g.MV(this,100);g.N(this,this.H);this.O(this.A,"appresize",this.pK);this.O(this.A,"presentingplayerstatechange",this.lP)}; | |
wZ=function(a,b){var c=!!a.Lb;c&&a.Lb.unsubscribe("l",a.Aq,a);a.Lb=b&&g.BO(b);a.T=!!b&&b.za;a.Lb?(c||(a.F.O(a.A,"videodatachange",a.mP),a.F.O(a.A,"progresssync",a.wp),a.F.O(a.A,"videoplayerreset",a.wp)),a.Lb.subscribe("l",a.Aq,a),a.K=window.NaN,a.B=window.NaN,a.C=window.NaN,a.wp(),a.H.show(200)):(c&&g.EF(a.F),a.M.stop(),g.lG(a.J),a.H.hide(),a.H.stop())}; | |
Zra=function(a,b,c,d){var e=a.ca.cloneNode(!1);a=mN(a.Lb,b,c);uZ(e,a,c,d);return e}; | |
xZ=function(a){g.W.call(this,{G:"div",L:"ytp-storyboard-framepreview",N:[{G:"div",L:"ytp-storyboard-framepreview-img"}]});this.D=this.g["ytp-storyboard-framepreview-img"];this.l=a;this.Lb=null;this.C=window.NaN;this.A=new g.CF(this);g.N(this,this.A);this.B=new g.MV(this,100);g.N(this,this.B);this.O(this.l,"presentingplayerstatechange",this.nP)}; | |
zZ=function(a,b){var c=!!a.Lb;a.Lb=b&&g.BO(b);a.Lb?(c||(a.A.O(a.l,"videodatachange",a.pP),a.A.O(a.l,"progresssync",a.oP),a.A.O(a.l,"appresize",a.qK)),a.C=window.NaN,yZ(a),a.B.show(200)):(c&&g.EF(a.A),a.B.hide(),a.B.stop())}; | |
yZ=function(a){var b=a.l.getCurrentTime(),c=g.VU(a.l).Oa(),d=lN(a.Lb,c.width);b=a.Lb.g[d].pk(b);b!=a.C&&(a.C=b,oN(a.Lb,b,c.width),b=mN(a.Lb,b,c.width),uZ(a.D,b,c.width,c.height))}; | |
AZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-fullscreen-button","ytp-button"],P:{title:"{{title}}"},aa:"{{icon}}"});this.A=a;this.D=b;this.l=null;this.B=PY(b.Jb(),this.element);this.C=new g.Wt(this.dJ,2E3,this);g.N(this,this.C);this.O(a,"fullscreentoggled",this.yE);this.O(a,"presentingplayerstatechange",this.XB);this.U("click",this.qP);if(dF()){var c=g.VU(this.A);this.O(c,Hja(),this.TC);this.O(c,gF(window.document),this.rP)}g.Y(a).fa||$ra(this);this.XB();this.yE(a.isFullscreen())}; | |
$ra=function(a){if(!a.l){var b=g.V(null!=cF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.l=new BY(a.A,{G:"div",da:["ytp-popup","ytp-generic-popup"],P:{role:"alert",tabindex:"0"},N:[b[0],{G:"a",P:{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"},aa:b[2]},b[4]]},100,!0);a.l.hide();g.N(a,a.l);a.l.subscribe("show", | |
(0,g.z)(a.D.Xn,a.D,a.l));g.mV(a.A,a.l.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.B();a.B=null}}; | |
BZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-miniplayer-button","ytp-button"],P:{title:g.V("YTP_MINIPLAYER_BUTTON")},N:[bpa()]});this.l=a;this.U("click",this.A);g.Ye(this,PY(b.Jb(),this.element))}; | |
CZ=function(a){var b={G:"div",L:"ytp-multicam-menu",P:{role:"dialog"},N:[{G:"div",L:"ytp-multicam-menu-header",N:[{G:"div",L:"ytp-multicam-menu-title",N:[g.V("YTP_SWITCH_CAMERA"),{G:"button",da:["ytp-multicam-menu-close","ytp-button"],P:{"aria-label":g.V("YTP_CLOSE")},N:[g.HV()]}]}]},{G:"div",L:"ytp-multicam-menu-items"}]};BY.call(this,a,b,250);this.B=new g.CF(this);g.N(this,this.B);this.O(this.g["ytp-multicam-menu-close"],"click",this.Rb);this.l=a;this.Ma=this.g["ytp-multicam-menu-items"];this.A= | |
[];this.hide()}; | |
DZ=function(a,b,c){g.W.call(this,{G:"button",da:["ytp-multicam-button","ytp-button"],P:{title:g.V("YTP_SWITCH_CAMERA"),"aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-switch-camera"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z", | |
fill:"#fff"}}]}]});this.l=a;this.C=!1;this.A=b.Jb();this.D=new g.Wt(this.H,400,this);g.N(this,this.D);this.U("click",(0,g.z)(c.Oh,c,this.element,!1));this.O(a,"presentingplayerstatechange",g.Ga(this.B,!1));this.O(a,"videodatachange",this.F);this.B(!0);g.Ye(this,PY(this.A,this.element))}; | |
EZ=function(){g.M.call(this);this.B=null;this.A=this.g=0;this.o=new g.Tt(this.l,null,this);g.N(this,this.o)}; | |
asa=function(a,b){if("path"==b.G)return b.P.d;if(b.N)for(var c=0;c<b.N.length;c++){var d=b.N[c];if(d&&!g.u(d)&&(d=asa(a,d)))return d}}; | |
dsa=function(a,b,c){c=asa(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=iH();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=bsa(e),m=bsa(c);FZ(a,function(a){d.setAttribute("d",csa(l,m,a))},200)}; | |
FZ=function(a,b,c){a.B=b;a.A=g.eG();a.g=c;a.l()}; | |
bsa=function(a){var b=[];a=a.match(esa);for(var c=0;c<a.length;c++){var d=(0,window.parseFloat)(a[c]);b.push((0,window.isNaN)(d)?a[c]:d)}return b}; | |
csa=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.ua(f)?d+(f+(b[e]-f)*c):d+f}return d}; | |
GZ=function(a,b){var c=g.Y(a);g.W.call(this,{G:"button",da:["ytp-mute-button","ytp-button"],P:c.I?{title:"{{title}}"}:{"aria-disabled":"true","aria-haspopup":"true"},aa:"{{icon}}"});this.updateValue("icon",JV());this.l=a;this.ea=b.Jb();this.I=this.K=this.J=this.T=window.NaN;this.F=[];this.D=[];this.H=this.B=!1;g.Y(this.l).B||(this.A=new g.kH({G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"defs",N:[{G:"clipPath",P:{id:"ytp-svg-volume-animation-mask"},N:[{G:"path",P:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}}, | |
{G:"path",P:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{G:"path",L:"ytp-svg-volume-animation-mover",P:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{G:"clipPath",P:{id:"ytp-svg-volume-animation-slash-mask"},N:[{G:"path",L:"ytp-svg-volume-animation-mover",P:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{G:"path",Ua:!0,da:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],P:{"clip-path":"url(#ytp-svg-volume-animation-mask)",d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z", | |
fill:"#fff"}},{G:"path",Ua:!0,da:["ytp-svg-fill","ytp-svg-volume-animation-hider"],P:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.N(this,this.A),this.X=this.A.g["ytp-svg-volume-animation-speaker"],this.ha=this.X.getAttribute("d"),this.F=g.qd("ytp-svg-volume-animation-mover",this.A.element),this.D=g.qd("ytp-svg-volume-animation-hider",this.A.element));this.C=null;this.Y=new EZ;g.N(this,this.Y);this.M=new EZ;g.N(this,this.M); | |
this.U("click",this.ga);this.O(a,"appresize",this.Pc);this.O(a,"onVolumeChange",this.fa);var d=null;c.I?g.Ye(this,PY(b.Jb(),this.element)):(c=g.V("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new BY(a,{G:"span",da:["ytp-popup","ytp-generic-popup"],P:{tabindex:"0"},N:[c[0],{G:"a",P:{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"},aa:c[2]},c[4]]},100,!0),g.N(this,d),d.hide(),d.subscribe("show",(0,g.z)(b.Xn,b,d)),g.mV(a,d.element,4));this.ca=d;pV(a,this.element, | |
this,28662);this.Pc(g.VU(a).Oa());fsa(this,a.getVolume(),a.isMuted())}; | |
fsa=function(a,b,c){var d=c?0:b/100,e=g.Y(a.l);if(e.B)d=0==d?JV():0<d&&.5>d?ipa():hpa(),d!=a.C&&(a.updateValue("icon",d),a.C=d);else{b=0==d?1:50<b?1:0;if(a.J!=b){var f=a.T;(0,window.isNaN)(f)?gsa(a,b):FZ(a.Y,(0,g.z)(function(a){gsa(this,f+(this.J-f)*a)},a),250); | |
a.J=b}d=0==d?1:0;if(a.I!=d){var k=a.K;(0,window.isNaN)(k)?hsa(a,d):FZ(a.M,(0,g.z)(function(a){hsa(this,k+(this.I-k)*a)},a),250); | |
a.I=d}}e.I&&(a.updateValue("title",c?g.V("YTP_UNMUTE"):g.V("YTP_MUTE")),HZ(a.ea))}; | |
gsa=function(a,b){a.T=b;var c=a.ha;b&&(c+=csa(isa,jsa,b));a.X.setAttribute("d",c)}; | |
hsa=function(a,b){a.K=b;for(var c=20*b,d=0;d<a.F.length;d++)a.F[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=JV():e=a.A;for(c=0;c<a.D.length;c++)a.D[c].style.display=0==b?"none":"";e!=a.C&&(a.updateValue("icon",e),a.C=e)}; | |
IZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-pip-button","ytp-button"],P:{title:g.V("YTP_PIP")},N:[bpa()]});this.l=a;this.U("click",this.A);g.Ye(this,PY(b.Jb(),this.element))}; | |
g.JZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-play-button","ytp-button"],P:{title:"{{title}}","aria-label":"{{label}}"},aa:"{{icon}}"});this.A=a;this.B=null;this.C=b.Jb();this.l=null;this.D=new EZ;g.N(this,this.D);this.O(a,"fullscreentoggled",this.F);this.O(a,"presentingplayerstatechange",this.H);this.O(a,"videodatachange",this.F);ksa(this,g.UU(a));this.U("click",this.I,this)}; | |
lsa=function(a){switch(a){case 1:return cpa();case 2:return apa();case 3:return g.IV();case 4:return fpa();default:return null}}; | |
ksa=function(a,b){var c=g.FO(a.A.getVideoData()),d=!1;if(g.tP(b))var e=c?4:2;else g.X(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.B!=e){switch(e){case 2:var f=g.V("YTP_PAUSE");break;case 3:f=g.V("YTP_REPLAY");break;case 1:f=g.V("YTP_PLAY");break;case 4:f=g.V("YTP_STOP")}3==e?(a.l||(a.l=PY(a.C,a.element)),a.update({title:f,label:null,icon:lsa(e)})):(a.l&&(a.l(),a.l=null),a.update({title:null,label:f}),(c=lsa(e))&&a.B&&3!=a.B&&!g.Y(a.A).B?dsa(a.D,a.element,c):a.updateValue("icon",c));HZ(a.C);a.B=e}}; | |
g.LZ=function(a,b,c){if(c){var d="ytp-next-button";var e=Zoa()}else d="ytp-prev-button",e=dpa();g.W.call(this,{G:"a",da:[d,"ytp-button"],P:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},N:[e]});this.l=a;this.K=b.Jb();this.A=c;this.B=this.F=null;this.J=!1;this.H=this.I=this.C=null;this.D=!1;this.O(a,"fullscreentoggled",this.rk);this.O(a,"videodatachange", | |
this.rk);this.O(a,"onPlaylistUpdate",this.rk);this.A||this.O(a,"appresize",this.Pc);this.O(a,"mdxpreviousnextchange",function(){KZ(this);this.Pc()}); | |
this.rk()}; | |
msa=function(a){a.B&&a.B.unsubscribe("shuffle",a.rk,a)}; | |
nsa=function(a){return!!a.B&&!a.A&&!!a.F&&!a.F.za&&3<=a.l.getCurrentTime()&&2!=a.l.Qa()}; | |
osa=function(a){var b=g.SU(g.NU(a.l));return b?a.A?b.hasNext():b.Zf():!1}; | |
KZ=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.Y(a.l),d=WU(a.l),e=a.A&&g.nV(a.l),f=osa(a),k=a.A&&5==a.l.Qa();if(k)b.title="Mulai video";else if(a.D)b.title=g.V("YTP_REPLAY");else if(d){var l=null;a.B&&(l=a.B.Zb(a.A?iQ(a.B):jQ(a.B)));if(l){if(l.videoId){var m=a.B.listId;b.url=c.getVideoUrl(l.videoId,m?m.toString():void 0)}b.text=l.title;b.duration=l.lengthSeconds?g.KV(l.lengthSeconds):null;b.preview=l.dd(c,"mqdefault.jpg")}b.title=g.V(a.A?"YTP_NEXT":"YTP_PREVIOUS")}else e&& | |
(a.F.suggestions&&a.F.suggestions.length&&(l=g.oY(a.F.suggestions[0]),b.url=l.Dl(c),b.text=l.title,b.duration=l instanceof g.hO?g.KV(l.lengthSeconds):null,b.preview=l.dd(c,"mqdefault.jpg")),b.title=g.V("YTP_NEXT"));b.disabled=!e&&!d&&!f&&!k;a.update(b);a.J=!!b.url;e||d||a.D||f||k?a.C||(a.C=PY(a.K,a.element),a.I=a.U("click",a.AP,a)):a.C&&(a.C(),a.C=null,a.Ea(a.I),a.I=null);HZ(a.K)}; | |
psa=function(){this.l=this.position=this.A=this.g=this.B=this.o=this.width=window.NaN}; | |
g.MZ=function(a,b){g.qH.call(this,{G:"div",L:"ytp-progress-bar-container",P:{"aria-disabled":"true"},N:[{G:"div",da:["ytp-progress-bar",g.Y(a).l?"ytp-mobile":""],P:{tabindex:"0",role:"slider","aria-label":g.V("YTP_SEEK_SLIDER"),"aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},N:[{G:"div",L:"ytp-progress-bar-padding"},{G:"div",L:"ytp-progress-list",N:[{G:"div",da:["ytp-play-progress","ytp-swatch-background-color"]},{G:"div", | |
L:"ytp-load-progress"},{G:"div",L:"ytp-hover-progress"},{G:"div",L:"ytp-clip-start-exclude"},{G:"div",L:"ytp-clip-end-exclude"},{G:"div",L:"ytp-ad-progress-list"},{G:"div",L:"ytp-marker-crenellation-list"},{G:"div",L:"ytp-marker-progress-list"}]},{G:"div",L:"ytp-marker-icons"},{G:"div",L:"ytp-scrubber-container",N:[{G:"div",da:["ytp-scrubber-button","ytp-swatch-background-color"],N:[{G:"div",L:"ytp-scrubber-pull-indicator"}]}]}]},{G:"div",L:"ytp-bound-time-left",aa:"{{boundTimeLeft}}"},{G:"div",L:"ytp-bound-time-right", | |
aa:"{{boundTimeRight}}"},{G:"div",L:"ytp-clip-start",P:{title:g.V("YTP_WATCH_ALL")},aa:"{{clipstarticon}}"},{G:"div",L:"ytp-clip-end",P:{title:g.V("YTP_WATCH_ALL")},aa:"{{clipendicon}}"}]});this.updateValue("clipstarticon",Xoa());this.updateValue("clipendicon",Woa());this.A=a;this.Ga=b.Jb();this.Wa=!1;this.C=this.La=0;this.ca=1;this.Oc=this.I=0;this.B=null;this.vb=!1;this.J=this.ra=0;this.kd=this.g["ytp-ad-progress-list"];this.Bd=this.g["ytp-marker-progress-list"];this.Ed=this.g["ytp-marker-icons"]; | |
this.tb=this.g["ytp-marker-crenellation-list"];this.X={};this.na={};this.T={};this.ea=[];this.K=window.Infinity;var c=b.Jb();this.fa=this.g["ytp-clip-end"];g.Ye(this,PY(c,this.fa));this.sa=new g.HF(this.fa,!0);g.N(this,this.sa);this.sa.subscribe("hoverstart",this.KC,this);this.sa.subscribe("hoverend",this.JC,this);this.O(this.fa,"click",this.Up);this.sb=this.g["ytp-clip-end-exclude"];this.Cd=this.g["ytp-clip-start-exclude"];this.M=0;this.ga=this.g["ytp-clip-start"];g.Ye(this,PY(c,this.ga));this.ya= | |
new g.HF(this.ga,!0);g.N(this,this.ya);this.ya.subscribe("hoverstart",this.KC,this);this.ya.subscribe("hoverend",this.JC,this);this.O(this.ga,"click",this.Up);this.zc=this.g["ytp-load-progress"];this.ha=0;this.Fd=this.g["ytp-play-progress"];this.Wb=this.g["ytp-hover-progress"];this.H=0;this.Nc=this.g["ytp-progress-bar"];this.D=null;this.Gd=this.g["ytp-scrubber-button"];this.Hd=this.g["ytp-scrubber-container"];this.Da=new g.gd;this.Nb=new psa;this.l=new OV(0,0);this.F=this.Sa=!1;this.Xb=null;this.O(a, | |
"presentingplayerstatechange",this.kK);this.O(a,"videodatachange",this.aC);this.O(a,"videoplayerreset",this.jK);this.O(a,"cuerangesadded",this.nF);this.O(a,"cuerangesremoved",this.uV);this.O(a,"cuerangemarkersupdated",this.nF);this.O(a,"onPlaybackQualityChange",this.oK);qsa(this,a.getVideoData(),!0)}; | |
g.ssa=function(a){rsa(a);var b=a.A.getCurrentTime();(b<a.M||b>a.K)&&a.Up()}; | |
rsa=function(a){if(a.C){var b=a.A.Ch(),c=new OV(b.seekableStart,b.seekableEnd),d=QV(c,b.loaded,0);b=QV(c,b.current,0);var e=a.l.l!=c.l||a.l.g!=c.g;a.l=c;NZ(a,b,d);e&&g.OZ(a);tsa(a)}}; | |
qsa=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Od();a.Sa=d&&b.sg;usa(a,a.A.gd());c&&(d?(c=b.clipEnd,a.M=b.clipStart,a.K=c,PZ(a),NZ(a,a.H,a.ha)):a.Up(),b=a.Ga,1==b.A&&b.mf());rsa(a)}; | |
vsa=function(a){return!!a&&a.Od()&&!!a.Ja&&a.Ja.video.isAccelerated&&a.Ja.video.o}; | |
QZ=function(a,b){a.vb=b;g.U(a.zc,"ytp-fast-load",b)}; | |
wsa=function(a,b,c,d){b=g.cd(b,0,a.F?60:40);a.I=b;var e=a.ca,f=Math.max(a.l.getLength()/a.C,1);a.ca=b/(a.F?60:40)*(f-1)+1;b=a.C*a.ca;a.J=g.cd(d*b-c,0,b-a.C);e!=a.ca&&g.OZ(a)}; | |
g.OZ=function(a){var b=RZ(a),c=-b.o/b.g,d=(-b.o+b.width)/b.g,e=g.Ld(a.tb),f=0;if(a.I>.2*(a.F?60:40)){var k=c*(a.l.getLength()/60),l=d*(a.l.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.Dd("DIV"),a.tb.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.l.getLength()-c)*b.g;m.style.left=n+"px"}}b=a.Sa?a.l.g:0;a.update({boundTimeLeft:g.KV(PV(a.l,c)-b),boundTimeRight:g.KV(PV(a.l,d)-b)});for(c= | |
e.length-1;c>=f;c--)g.Jd(e[c]);a.element.style.height=a.I+(a.F?8:5)+"px";a.R("height-change",a.I);a.Gd.style.height=a.I+(a.F?20:13)+"px";for(var p in a.X)xsa(a,p);SZ(a);PZ(a);NZ(a,a.H,a.ha)}; | |
RZ=function(a){var b=a.Da.x,c=a.C*a.ca;b=g.cd(b,0,a.C);a.Nb.update(b,a.C,-a.J,-(c-a.J-a.C));return a.Nb}; | |
NZ=function(a,b,c){a.H=b;a.ha=c;var d=RZ(a),e=a.l.g,f=PV(a.l,a.H);a.update({ariamin:Math.floor(a.l.l),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.V("YTP_PROGRESS_LABEL_2",{PLAY_PROGRESS:g.KV(f),DURATION:g.KV(e)})});e=QV(a.l,a.M,0);var k=QV(a.l,a.K,1);f=g.cd(b,e,k);c=a.vb?1:g.cd(c,e,k);g.oh(a.Hd,"transform","translateX("+(b*d.g+d.o)+"px)");TZ(a,a.Fd,d,e,f);TZ(a,a.zc,d,e,c)}; | |
ysa=function(a,b,c){b=Math.max(c*b.g+b.o,0);a.style.left=b+"px";return b}; | |
TZ=function(a,b,c,d,e,f){f=void 0===f?!1:f;ysa(b,c,d);d=g.cd((e-d)*c.g+c.o,0,c.width);f||g.Y(a.A).l?b.style.width=d+"px":g.oh(b,"transform","scalex("+(c.width?d/c.width:0)+")")}; | |
PZ=function(a){var b=a.M>a.l.l,c=0<a.l.g&&a.K<a.l.g;g.U(a.element,"ytp-clip-start-enabled",b);g.U(a.element,"ytp-clip-end-enabled",c);b=b?QV(a.l,a.M,0):0;c=c?QV(a.l,a.K,1):1;a.ga.style.left=Math.round(1E3*b)/10+"%";a.fa.style.left=Math.round(1E3*c)/10+"%";a.Cd.style.width=Math.round(1E3*b)/10+"%";a.sb.style.left=Math.round(1E3*c)/10+"%";a.sb.style.width=Math.round(1E3*(1-c))/10+"%"}; | |
SZ=function(a){for(var b=0;b<a.ea.length;b++){for(var c=a.T[a.ea[b].getId()],d=Number(c.getAttribute("data-left"))-24,e=!1,f=b-1;0<=f;f--){var k=a.T[a.ea[f].getId()];if("none"!=k.style.display){Number(k.getAttribute("data-left"))>d&&(e=!0);break}}c.style.display=e?"none":""}}; | |
tsa=function(a){var b=RZ(a);TZ(a,a.Wb,b,a.H,b.l);g.U(a.Wb,"ytp-hover-progress-light",b.l>a.H)}; | |
xsa=function(a,b){var c=a.X[b],d=a.na[b],e=RZ(a),f=QV(a.l,c.start/1E3,0),k=kma(c,a.F),l=k/e.width;switch(c.style){case "ytp-chapter-marker":var m=f+l/2;f-=l/2;d.style.borderRadius=k+"px";break;default:m=QV(a.l,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.cd(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);TZ(a,d,e,f,m,!0);(c=a.T[b])&&c.setAttribute("data-left",ysa(c,e,f))}; | |
zsa=function(a,b){var c=b.getId();if(a.X[c]==b){g.Jd(a.na[c]);delete a.X[c];delete a.na[c];var d=a.T[c];d&&(g.Jd(d),delete a.T[c],c=a.ea,d=g.eb(c,b,g.dQ),0<=d&&g.Ta(c,d))}}; | |
usa=function(a,b){b?a.D||(a.element.removeAttribute("aria-disabled"),a.D=new g.HF(a.Nc,!0),a.D.subscribe("hovermove",a.oT,a),a.D.subscribe("hoverend",a.nT,a),a.D.subscribe("dragstart",a.mT,a),a.D.subscribe("dragmove",a.qT,a),a.D.subscribe("dragend",a.pT,a),a.Xb=a.U("keydown",a.CP)):a.D&&(a.element.setAttribute("aria-disabled",!0),a.Ea(a.Xb),a.D.cancel(),a.D.dispose(),a.D=null)}; | |
UZ=function(a,b){aZ.call(this,g.V("YTP_ANNOTATIONS"),5);this.C=b;this.B=a;this.l=!1;this.O(a,"videodatachange",this.D);this.O(a,"onApiChange",this.D);this.subscribe("select",this.F,this);this.D()}; | |
g.VZ=function(a,b,c,d,e,f){var k=g.tH({"aria-haspopup":"true"});g.sH.call(this,k,b,a);this.B=d;this.I=!1;this.F=null;this.A={};this.D=new g.SY(c,void 0,a,e,f);g.N(this,this.D);this.U("keydown",this.GP);this.U("click",this.open)}; | |
g.WZ=function(a,b){g.Ira(a.D);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.A[f],l=f==a.F;l&&(d=!0);k&&k.priority==-e?(l=a,g.rH(l.A[f],l.yf(f,!0)),delete a.A[f]):(k=new g.sH({G:"div",da:["ytp-menuitem"],P:{tabindex:"0",role:"menuitemradio","aria-checked":l?"true":void 0},N:[{G:"div",da:["ytp-menuitem-label"],aa:"{{label}}"}]},-e,a.yf(f,!0)),k.U("click",(0,g.z)(a.HP,a,f)));c[f]=k;g.TY(a.D,k,!0)}d||(a.F=null);for(var m in a.A)a.A[m].dispose();a.A=c}; | |
XZ=function(a,b){g.VZ.call(this,g.V("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.l=a;this.J=new g.W({G:"div",N:[{G:"span",aa:g.V("YTP_AUDIO_TRACK_TITLE")},{G:"span",L:"ytp-menuitem-label-count",aa:"{{content}}"}]});g.rH(this,this.J);this.K={};this.O(a,"videodatachange",this.H);this.O(a,"onPlaybackAudioChange",this.H);this.H()}; | |
YZ=function(a,b){aZ.call(this,g.V("YTP_AUTOPLAY"),6);this.F=b;this.l=a;this.C=!1;this.B=[];this.O(a,"presentingplayerstatechange",this.D);this.subscribe("select",this.I,this);this.D()}; | |
ZZ=function(a,b){g.VZ.call(this,g.V("YTP_QUALITY_TITLE"),1,a,b);g.S(this.D.element,"ytp-quality-menu");this.l=a;this.J={};this.H="unknown";this.O(a,"videodatachange",this.C);this.O(a,"videoplayerreset",this.C);this.O(a,"onPlaybackQualityChange",this.K);this.C()}; | |
Asa=function(a,b,c){a=a.J[b];var d=g.MH[b];d=a?a.qualityLabel:d?d+"p":g.V("YTP_AUTO");c={G:"span",da:c,N:[]};a&&a.isAccelerated&&a.o&&c.N.push({G:"div",L:"ytp-menuitem-badge-container",N:[{G:"svg",P:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},N:[{G:"path",P:{d:"M0 0v48h48V0H0zm10.6 30.64L4 24.05l6.69-6.69 6.6 6.59-6.69 6.69zM24 44l-6.7-6.7 13.35-13.35-13.32-13.28L24 4l20 20-20 20z"}},{G:"path",P:{d:"M 24,44 44,24 24,4 17.33,10.67 30.65,23.95 17.3,37.3 z M 10.6,30.64 17.29,23.95 10.69,17.36 4,24.05 z", | |
fill:"#fff"}}]}]});c.N.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.N.push(" "),c.N.push({G:"sup",L:"ytp-swatch-color",aa:e}));return c}; | |
$Z=function(a,b,c){g.W.call(this,{G:"button",da:["ytp-button","ytp-settings-button"],P:{"aria-haspopup":"true","aria-owns":iH(),title:g.V("YTP_SETTINGS")},N:[g.epa()]});this.B=c;this.l=a;this.C=!0;this.U("click",this.D);this.O(a,"onPlaybackQualityChange",this.A);this.O(a,"videodatachange",this.A);this.O(a,"webglsettingschanged",this.A);this.O(a,"appresize",this.Pc);g.Ye(this,PY(b.Jb(),this.element));this.A();this.Pc(g.VU(a).Oa())}; | |
a_=function(a,b){a.C=!!b;a.Pc(g.VU(a.l).Oa())}; | |
b_=function(a,b){g.VZ.call(this,g.V("YTP_SPEED_TITLE"),4,a,b);this.l=a;this.C=null;this.O(a,"presentingplayerstatechange",this.eC);this.eC()}; | |
c_=function(a,b,c,d){var e=g.V("YTP_VIDEO_SUBTITLES_OVERRIDE"),f=new g.SY(b,void 0,e);g.VZ.call(this,Bsa(d),a,b,c,e,function(){return g.XY(c,f)}); | |
g.S(this.element,"ytp-subtitles-options-menu-item");this.J=d.option.toString();a=d.options;this.K=g.kb(a,this.hC,this);this.H=f;g.N(this,this.H);b=new g.sH({G:"div",L:"ytp-menuitemtitle",aa:g.V("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")},0);g.N(this,b);g.TY(this.H,b,!0);this.C=new g.sH({G:"div",L:"ytp-menuitem",P:{role:"menuitemradio",tabindex:"0"},N:[{G:"div",L:"ytp-menuitem-label",aa:g.V("YTP_ON")}]},-1);g.N(this,this.C);g.TY(this.H,this.C,!0);this.O(this.C.element,"click",g.Ga(this.iC,!0));this.l=new g.sH({G:"div", | |
L:"ytp-menuitem",P:{role:"menuitemradio",tabindex:"0"},N:[{G:"div",L:"ytp-menuitem-label",aa:g.V("YTP_OFF")}]},-2);g.N(this,this.l);g.TY(this.H,this.l,!0);this.O(this.l.element,"click",g.Ga(this.iC,!1));g.WZ(this,(0,g.G)(a,this.hC))}; | |
Bsa=function(a){return(a.message?g.V(a.message):a.text)||""}; | |
d_=function(a,b){g.SY.call(this,a,void 0,g.V("YTP_OPTIONS"));this.l={};for(var c=0;c<g.hZ.length;c++){var d=g.hZ[c],e=new c_(-c,a,b,d);g.N(this,e);e.subscribe("settingChange",this.A,this);this.l[d.option.toString()]=e;g.TY(this,e,!0)}c=new g.sH(g.tH(),-g.hZ.length,g.V("YTP_RESET"));g.N(this,c);c.U("click",(0,g.z)(this.A,this,"reset",!0));g.TY(this,c,!0)}; | |
Csa=function(a,b){for(var c in b){var d=a.l[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.A[e]&&(d.zf(e),d.C.element.setAttribute("aria-checked",!f),d.l.element.setAttribute("aria-checked",f))}}}; | |
e_=function(a,b){g.VZ.call(this,g.V("YTP_AUTO_TRANSLATE"),0,a,b);this.l={}}; | |
f_=function(a,b){var c=new d_(a,b);g.VZ.call(this,g.V("YTP_SUBTITLES"),3,a,b,g.V("YTP_OPTIONS"),function(){return g.XY(b,c)}); | |
this.l=a;this.C={};this.M=new g.Wt(g.Ga(this.gC,!1),3E3,this);g.N(this,this.M);this.J=new g.W({G:"div",N:[{G:"span",aa:g.V("YTP_SUBTITLES")},{G:"span",L:"ytp-menuitem-label-count",aa:"{{content}}"}]});g.N(this,this.J);g.rH(this,this.J);this.H=new e_(a,b);g.N(this,this.H);this.H.subscribe("select",this.RP,this);this.K=c;g.N(this,this.K);this.K.subscribe("settingChange",this.QP,this);b.subscribe("show",this.aU,this);this.O(a,"videodatachange",this.rm);this.O(a,"onApiChange",this.rm);this.O(a,"onCaptionsTrackListChanged", | |
this.rm);this.O(a,"captionschanged",this.rm);this.rm()}; | |
g_=function(a,b){aZ.call(this,g.V("YTP_VISUALIZER"),8);this.C=b;this.B=a;this.l=!1;this.O(a,"videodatachange",this.D);this.O(a,"onApiChange",this.D);this.subscribe("select",this.F,this);this.D()}; | |
h_=function(a){g.UY.call(this,a,"ytp-settings-menu");this.A=a;this.B=new g.SY(a);g.N(this,this.B);this.H=null;this.X=!1;this.hide();g.XY(this,this.B)}; | |
i_=function(a){if(!a.X){a.X=!0;var b=new ZZ(a.A,a);g.N(a,b);b=new f_(a.A,a);g.N(a,b);b=new UZ(a.A,a);g.N(a,b);g.Y(a.A).ha&&(b=new b_(a.A,a),g.N(a,b));g.Y(a.A).Fd&&(b=new YZ(a.A,a),g.N(a,b));b=new XZ(a.A,a);g.N(a,b);b=new g_(a.A,a);g.N(a,b);a_(a.H,a.B.Ma.length)}}; | |
j_=function(a,b){i_(a);g.TY(a.B,b);a_(a.H,a.B.Ma.length)}; | |
k_=function(a,b){a.o&&1>=a.B.Ma.length&&a.hide();g.Hra(a.B,b);a_(a.H,a.B.Ma.length)}; | |
Dsa=function(a,b){a.H=b;a.element.id=b.element.getAttribute("aria-owns")}; | |
l_=function(a,b,c){g.W.call(this,{G:"button",L:"ytp-button",P:{title:"Putar di TV","aria-haspopup":"true"},aa:"{{icon}}"});this.l=a;this.C=c;this.B=null;this.O(a,"onMdxReceiversChange",this.A);this.O(a,"presentingplayerstatechange",this.A);this.O(a,"appresize",this.A);this.A();this.U("click",this.D,this);g.Ye(this,PY(b.Jb(),this.element))}; | |
m_=function(a,b){g.W.call(this,{G:"button",da:["ytp-size-button","ytp-button"],P:{title:"{{title}}"},aa:"{{icon}}"});this.l=a;this.C=b.Jb();this.B=null;this.D=new EZ;g.N(this,this.D);this.O(a,"sizestylechange",this.A);this.O(a,"fullscreentoggled",this.A);this.O(a,"presentingplayerstatechange",this.A);this.A();this.U("click",this.F);g.Ye(this,PY(this.C,this.element))}; | |
n_=function(a,b){g.W.call(this,{G:"button",da:["ytp-subtitles-button","ytp-button"],P:{"aria-pressed":"{{pressed}}",title:g.V("YTP_SUBTITLES_TOOLTIP")},N:[gpa()]});this.A=a;this.O(a,"videodatachange",this.l);this.O(a,"appresize",this.l);this.O(a,"onApiChange",this.l);this.O(a,"onCaptionsTrackListChanged",this.l);this.O(a,"captionschanged",this.l);this.l();this.U("click",this.B);g.Ye(this,PY(b.Jb(),this.element))}; | |
g.o_=function(a,b){g.W.call(this,{G:"div",da:["ytp-time-display","notranslate"],N:[{G:"span",L:"ytp-time-current",aa:"{{currenttime}}"},{G:"span",L:"ytp-time-separator",aa:" / "},{G:"span",L:"ytp-time-duration",aa:"{{duration}}"}]});this.C=new g.W({G:"button",da:["ytp-live-badge","ytp-button"],P:{disabled:"true"},aa:g.V("YTP_LIVE")});g.N(this,this.C);this.C.ua(this.element);this.D=a;this.J=b.Jb();this.A=null;this.B=!1;this.H=this.F=this.I=null;this.U("click",this.K);this.O(a,"presentingplayerstatechange", | |
this.l);this.O(a,"appresize",this.l);this.O(a,"videodatachange",this.M);var c=a.getVideoData();c&&(this.B=c.za,g.U(this.element,"ytp-live",this.B));this.l()}; | |
q_=function(a,b,c){g.W.call(this,{G:"div",L:"ytp-volume-panel",P:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},N:[{G:"div",L:"ytp-volume-slider",N:[{G:"div",L:"ytp-volume-slider-handle"}]}]});this.l=a;this.F=b;this.M=c;this.J=!1;this.H=b.sd();this.X=this.C=0;this.T=this.g["ytp-volume-slider"];this.Y=this.g["ytp-volume-slider-handle"];this.I=new g.HF(this.T,!0);g.N(this,this.I);this.I.subscribe("dragstart",this.iU, | |
this);this.I.subscribe("dragmove",this.hU,this);this.I.subscribe("dragend",this.gU,this);this.K=null;this.A=this.B=this.D=!1;this.O(a,"onVolumeChange",this.UP);this.O(a,"appresize",this.Pc);this.O(a,"fullscreentoggled",this.SP);this.O(a,"onShowControls",this.gy);this.O(a,"onHideControls",this.gy);this.O(this.element,"keydown",this.jU);this.O(this.element,"focus",g.Ga(this.jC,!0));this.O(this.element,"blur",g.Ga(this.jC,!1));this.Pc(g.VU(a).Oa());p_(this,a.getVolume(),a.isMuted())}; | |
p_=function(a,b,c){var d=Math.floor(b),e=d+"% "+g.V("YTP_SCREENREADER_VOLUME_SETTING")+(c?" "+g.V("YTP_SCREENREADER_VOLUME_MUTED"):"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.Y.style.left=(a.H?60:40)*c+"px";a.C=b}; | |
r_=function(a,b,c,d,e){var f=a.B||a.D||a.A||a.J;a.B=b;a.D=c;a.A=d;a.J=e;b=a.B||a.D||a.A||a.J;f!=b&&(b?a.K=a.O(a.element,"wheel",a.TP):(a.Ea(a.K),a.K=null),g.U(a.M,"ytp-volume-slider-active",b))}; | |
s_=function(a,b){var c=g.Y(a),d=OM(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];(c="gaming"==c.playerStyle)&&e.push("ytp-youtube-gaming-button");g.W.call(this,{G:"a",da:e,P:{href:"{{url}}",target:"_blank",title:g.V("YTP_URL_NAVIGATE_TO",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},N:[c?g.EV?{G:"div",da:["ytp-icon","ytp-icon-logo-gaming"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 122 36",width:"100%"},N:[{G:"path", | |
Ua:!0,L:"ytp-svg-fill",P:{d:"M 45.32 10 L 45.32 25.81 L 47.39 25.81 L 47.64 24.75 L 47.68 24.75 C 47.87 25.13 48.17 25.43 48.56 25.65 C 48.95 25.87 49.37 25.98 49.84 25.98 C 50.69 25.98 51.32 25.59 51.72 24.81 C 52.12 24.03 52.32 22.81 52.32 21.15 L 52.32 19.39 C 52.34 18.13 52.26 17.15 52.11 16.44 C 51.96 15.74 51.72 15.23 51.38 14.91 C 51.04 14.60 50.57 14.44 49.98 14.44 C 49.52 14.44 49.08 14.57 48.68 14.83 C 48.48 14.96 48.31 15.11 48.15 15.29 C 48.00 15.46 47.86 15.65 47.75 15.86 L 47.74 15.86 L 47.74 10 L 45.32 10 z M 94.83 10.25 C 93.91 10.25 93.48 10.61 93.48 11.81 C 93.48 13.05 93.91 13.35 94.83 13.35 C 95.77 13.35 96.19 13.05 96.19 11.81 C 96.19 10.66 95.78 10.25 94.83 10.25 z M 67.44 10.31 C 64.14 10.31 63.40 12.21 63.40 16.34 L 63.40 20.15 C 63.40 24.06 64.21 26.00 66.56 26.00 C 68.00 26.00 68.86 25.31 69.19 23.91 L 69.55 25.81 L 71.03 25.81 L 71.03 18.25 L 71.03 18.24 L 67.41 18.24 L 67.41 20.19 L 68.82 20.19 L 68.82 21.47 C 68.82 23.38 68.38 24.10 67.34 24.10 C 66.32 24.10 66 23.12 66 20.52 L 66 16.22 C 66 13.11 66.37 12.19 67.35 12.19 C 68.01 12.19 68.40 12.58 68.53 14.02 C 68.57 14.50 68.59 15.10 68.58 15.83 L 70.83 15.68 C 71.14 12.21 70.35 10.31 67.44 10.31 z M 14.06 10.55 L 13.01 15.24 C 12.72 16.61 12.54 17.58 12.46 18.16 L 12.39 18.16 C 12.27 17.35 12.08 16.38 11.83 15.23 L 10.83 10.56 L 8.33 10.56 L 11.18 20.86 L 11.18 25.80 L 13.66 25.80 L 13.66 20.85 L 16.55 10.55 L 14.06 10.55 z M 30.33 10.56 L 30.33 12.58 L 32.83 12.58 L 32.83 25.81 L 35.27 25.81 L 35.27 12.58 L 37.76 12.58 L 37.76 10.56 L 30.33 10.56 z M 113.35 13.31 C 112.35 13.40 111.89 14.17 111.65 15.17 C 111.12 14.68 110.37 14.47 109.41 14.47 C 107.10 14.47 106.06 15.76 106.06 18.80 L 106.06 19.03 C 106.06 21.16 106.61 22.30 107.57 22.85 C 106.66 23.21 106.14 23.92 106.16 24.76 C 106.18 25.61 106.75 26.05 107.51 26.34 C 106.45 26.61 105.76 27.27 105.76 28.40 C 105.76 30.03 107.14 30.96 109.36 30.96 C 111.91 30.96 113.39 29.76 113.39 27.74 C 113.39 23.92 108.06 25.30 108.07 23.82 C 108.07 23.59 108.17 23.34 108.44 23.16 C 108.73 23.23 109.06 23.25 109.41 23.25 C 111.54 23.25 112.74 22.21 112.74 19.01 L 112.74 18.77 C 112.74 17.70 112.60 16.84 112.33 16.19 C 112.42 16.12 112.51 16.05 112.60 15.99 C 112.90 15.82 113.25 15.73 113.66 15.73 L 113.35 13.31 z M 85.40 14.43 C 84.45 14.43 83.64 14.88 83.07 15.71 C 82.99 15.82 82.91 15.95 82.84 16.08 L 82.81 16.08 L 82.58 14.66 L 80.60 14.66 L 80.60 25.81 L 83.11 25.81 L 83.11 16.91 C 83.38 16.45 83.77 16.21 84.21 16.21 C 84.75 16.21 84.99 16.66 84.99 17.57 L 84.99 25.81 L 87.5 25.81 L 87.5 17.39 C 87.5 17.23 87.50 17.08 87.48 16.93 C 87.75 16.45 88.14 16.21 88.58 16.21 C 89.12 16.21 89.36 16.66 89.36 17.57 L 89.36 25.81 L 91.88 25.81 L 91.88 17.39 C 91.88 15.52 91.29 14.42 89.77 14.43 C 88.77 14.43 87.91 14.95 87.33 15.91 C 87.05 14.97 86.45 14.43 85.40 14.43 z M 102.56 14.43 C 101.77 14.43 101.08 14.77 100.56 15.38 C 100.38 15.59 100.22 15.82 100.08 16.08 L 100.03 16.08 L 99.82 14.66 L 97.83 14.66 L 97.83 25.81 L 100.34 25.81 L 100.34 16.91 C 100.61 16.45 100.99 16.21 101.43 16.21 C 101.99 16.21 102.24 16.72 102.24 17.63 L 102.24 25.81 L 104.75 25.81 L 104.75 17.39 C 104.75 15.52 104.12 14.42 102.56 14.43 z M 19.43 14.46 C 18.59 14.46 17.92 14.63 17.41 14.96 C 16.89 15.29 16.50 15.82 16.26 16.55 C 16.02 17.28 15.91 18.23 15.91 19.43 L 15.91 21.06 C 15.91 22.24 16.02 23.20 16.23 23.91 C 16.44 24.62 16.80 25.15 17.30 25.49 C 17.80 25.83 18.49 26 19.39 26 C 20.25 26 20.92 25.83 21.42 25.5 C 21.92 25.17 22.29 24.63 22.51 23.91 C 22.74 23.19 22.85 22.25 22.85 21.06 L 22.85 19.43 C 22.85 18.23 22.73 17.28 22.50 16.56 C 22.27 15.84 21.91 15.31 21.41 14.97 C 20.91 14.63 20.25 14.46 19.43 14.46 z M 56.83 14.47 C 55.59 14.47 54.70 14.84 54.19 15.61 C 53.68 16.38 53.42 17.60 53.42 19.27 L 53.42 21.23 C 53.42 22.86 53.67 24.05 54.17 24.83 C 54.55 25.40 55.13 25.77 55.92 25.91 C 56.18 25.96 56.46 25.99 56.77 25.99 C 57.80 25.99 58.60 25.74 59.16 25.23 C 59.73 24.72 60.01 23.94 60.01 22.91 C 60.01 22.74 60.01 22.61 60 22.51 L 57.83 22.39 C 57.81 23.06 57.74 23.54 57.60 23.83 C 57.46 24.12 57.21 24.27 56.83 24.27 C 56.55 24.27 56.35 24.18 56.22 24.02 C 56.09 23.86 56.00 23.61 55.96 23.25 C 55.92 22.89 55.90 22.36 55.90 21.64 L 55.90 21.08 L 60.07 21.08 L 60.07 19.16 C 60.07 17.99 59.97 17.08 59.78 16.41 C 59.59 15.75 59.28 15.25 58.82 14.93 C 58.36 14.62 57.69 14.47 56.83 14.47 z M 75.83 14.47 C 73.32 14.47 72.24 15.61 72.46 18.32 L 74.66 18.5 C 74.68 16.77 74.93 16.18 75.73 16.18 C 76.44 16.18 76.59 16.72 76.59 18.27 L 76.59 19.08 C 73.41 19.93 72.22 21.31 72.22 23.33 C 72.22 25.15 73.30 26.06 74.68 26.06 C 75.79 26.06 76.46 25.44 76.82 24.46 L 76.85 24.46 L 77.10 25.82 L 79.01 25.82 L 79.01 18.38 C 79.01 15.78 78.18 14.45 75.83 14.47 z M 24.15 14.66 L 24.15 22.99 C 24.15 24.02 24.32 24.77 24.67 25.25 C 25.03 25.74 25.58 25.99 26.32 25.99 C 27.39 25.99 28.19 25.47 28.72 24.44 L 28.76 24.44 L 28.99 25.81 L 30.94 25.81 L 30.94 14.66 L 28.44 14.66 L 28.44 23.51 C 28.34 23.72 28.2 23.89 28 24.02 C 27.8 24.15 27.58 24.23 27.36 24.23 C 27.10 24.23 26.93 24.12 26.82 23.91 C 26.71 23.70 26.66 23.34 26.66 22.84 L 26.66 14.66 L 24.15 14.66 z M 37.01 14.66 L 37.01 22.99 C 37.01 24.02 37.20 24.77 37.55 25.25 C 37.82 25.62 38.19 25.85 38.67 25.94 C 38.83 25.97 39.00 25.99 39.18 25.99 C 40.25 25.99 41.05 25.47 41.58 24.44 L 41.64 24.44 L 41.85 25.81 L 43.82 25.81 L 43.82 14.66 L 41.32 14.66 L 41.32 23.51 C 41.22 23.72 41.06 23.89 40.86 24.02 C 40.66 24.15 40.46 24.23 40.24 24.23 C 39.98 24.23 39.79 24.12 39.68 23.91 C 39.57 23.70 39.52 23.34 39.52 22.84 L 39.52 14.66 L 37.01 14.66 z M 93.63 14.66 L 93.63 25.82 L 96.02 25.82 L 96.02 14.66 L 93.63 14.66 z M 56.83 16.15 C 57.10 16.15 57.28 16.23 57.41 16.38 C 57.53 16.53 57.62 16.79 57.67 17.16 C 57.72 17.53 57.75 18.07 57.75 18.78 L 57.75 19.58 L 55.91 19.58 L 55.91 18.78 C 55.91 18.05 55.93 17.52 55.97 17.16 C 56.01 16.81 56.09 16.55 56.22 16.39 C 56.35 16.23 56.55 16.15 56.83 16.15 z M 19.36 16.18 C 19.72 16.18 19.96 16.37 20.10 16.74 C 20.24 17.11 20.32 17.69 20.32 18.49 L 20.32 21.96 C 20.32 22.78 20.24 23.38 20.10 23.74 C 19.97 24.11 19.72 24.28 19.36 24.28 C 19.01 24.28 18.77 24.10 18.64 23.74 C 18.51 23.38 18.43 22.78 18.43 21.96 L 18.43 18.49 C 18.43 17.69 18.51 17.11 18.65 16.74 C 18.79 16.37 19.02 16.18 19.36 16.18 z M 109.41 16.19 C 110.12 16.19 110.33 16.73 110.33 18.75 L 110.33 19.14 C 110.33 21.14 110.09 21.63 109.41 21.63 C 108.73 21.63 108.46 21.14 108.46 19.14 L 108.46 18.75 C 108.46 16.74 108.70 16.19 109.41 16.19 z M 48.84 16.22 C 49.09 16.22 49.29 16.31 49.43 16.51 C 49.57 16.71 49.68 17.05 49.73 17.52 C 49.78 17.99 49.81 18.68 49.81 19.55 L 49.81 21 L 49.82 21 C 49.82 21.81 49.79 22.45 49.72 22.91 C 49.65 23.37 49.54 23.70 49.38 23.89 C 49.22 24.08 49.01 24.17 48.74 24.17 C 48.53 24.17 48.33 24.12 48.16 24.02 C 47.98 23.92 47.85 23.78 47.74 23.58 L 47.74 17.25 C 47.82 16.95 47.96 16.70 48.17 16.50 C 48.38 16.31 48.60 16.22 48.84 16.22 z M 76.60 20.36 L 76.60 23.60 C 76.36 23.99 75.98 24.30 75.58 24.30 C 74.98 24.30 74.74 23.81 74.74 22.88 C 74.74 21.66 75.29 20.78 76.60 20.36 z M 108.67 26.65 C 110.00 26.90 111.34 27.06 111.30 28.02 C 111.28 28.64 110.64 29.16 109.48 29.16 C 108.33 29.16 107.76 28.59 107.76 27.81 C 107.76 27.27 108.11 26.85 108.67 26.65 z"}}]}: | |
g.EV?{G:"div",da:["ytp-icon","ytp-icon-logo"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]}); | |
this.l=a;this.B=this.A=!1;pV(a,this.element,this,28666);this.U("click",this.D);this.O(a,"videodatachange",this.C);this.C();g.Ye(this,PY(b.Jb(),this.element))}; | |
t_=function(a,b,c){g.CF.call(this);var d=this,e=g.Y(a);this.o=a;this.A=b;this.ca=window.NaN;this.Y=null;this.T=c;this.T.subscribe("autohideupdate",this.FC,this);c=!g.uP(g.UU(a));var f;g.Y(a).experiments.g("html5_player_dynamic_bottom_gradient")?this.ea=f=new tZ(a):f=new g.W({G:"div",L:"ytp-gradient-bottom"});g.N(this,f);g.mV(a,f.element,8);this.K=new g.MV(f,250,c,100);g.N(this,this.K);this.l=new g.W({G:"div",L:"ytp-chrome-bottom",N:[{G:"div",L:"ytp-chrome-controls"}]});g.N(this,this.l);g.mV(a,this.l.element, | |
8);this.I=new g.MV(this.l,250,c,100);g.N(this,this.I);this.M=this.l.element.children[0];this.g=new h_(a);g.Ye(this.g,function(){a.F==d.g&&(a.F=null)}); | |
g.N(this,this.g);a.F=this.g;g.mV(a,this.g.element,6);this.g.subscribe("show",this.zW,this);this.g.subscribe("show",(0,g.z)(b.AE,b,this.g));this.B=new g.MZ(a,b);g.N(this,this.B);this.B.ua(this.l.element,0);c=new vZ(a,b);g.N(this,c);g.mV(a,c.element,4);this.B.subscribe("height-change",c.OV,c);c=new xZ(a);g.N(this,c);g.mV(a,c.element,4);c=new g.kH({G:"div",L:"ytp-left-controls"});g.N(this,c);c.ua(this.M);f=new g.LZ(a,b,!1);g.N(this,f);f.ua(c.element);e.F||(f=new g.JZ(a,b),g.N(this,f),f.ua(c.element)); | |
f=new g.LZ(a,b,!0);g.N(this,f);f.ua(c.element);var k=new g.W({G:"span"});g.N(this,k);k.ua(c.element);if(!e.Z&&(this.C=new GZ(a,b),g.N(this,this.C),this.C.ua(k.element),e.I)){f=new q_(a,b,this.l.element);g.N(this,f);f.ua(k.element);k=new g.HF(k.element);g.N(this,k);var l=(0,g.z)(f.zE,f,!0);k.subscribe("hoverstart",l);k=new g.HF(c.element);g.N(this,k);f=(0,g.z)(f.zE,f,!1);k.subscribe("hoverend",f)}this.X=new g.o_(a,b);g.N(this,this.X);this.X.ua(c.element);c=new g.kH({G:"div",L:"ytp-right-controls"}); | |
g.N(this,c);c.ua(this.M);f=new n_(a,b);g.N(this,f);f.ua(c.element);f=new $Z(a,b,this.g);g.N(this,f);Dsa(this.g,f);f.ua(c.element);f=new CZ(a);g.N(this,f);g.mV(a,f.element,5);f.subscribe("show",(0,g.z)(b.Wn,b,f));f=new DZ(a,b,f);g.N(this,f);f.ua(c.element);f=a.getVideoData();if(e.Ug||f.isDni&&"1"==e.A)this.D=new s_(a,b),g.N(this,this.D),this.D.ua(c.element);f=!1;e.experiments.g("kevlar_miniplayer_button")&&(f=new BZ(a,b),g.N(this,f),f.ua(c.element),f=!0);k=new m_(a,b);g.N(this,k);k.ua(c.element);e.sb&& | |
(k=new l_(a,b,this.g),g.N(this,k),k.ua(c.element));e.Tg&&(e=new sZ(a,b),g.N(this,e),e.ua(c.element));gka()&&!f&&(e=new IZ(a,b),g.N(this,e),e.ua(c.element));this.Z=new AZ(a,b);g.N(this,this.Z);this.Z.ua(c.element);this.F=new g.Tt(this.OP,null,this);g.N(this,this.F);this.H=null;this.O(a,"appresize",this.Nu);this.O(a,"fullscreentoggled",this.Nu);this.O(a,"presentingplayerstatechange",this.Wv);this.O(a,"videodatachange",this.PP);this.Nu()}; | |
Esa=function(a,b){if(g.uP(g.UU(a.o))||b){if(b){a.I.hide();a.K.hide();if(a.C){var c=a.C;c.H=!1;g.rV(c.l,c.element,c.B&&!1)}a.D&&(c=a.D,c.B=!1,g.rV(c.l,c.element,c.A&&!1));a.A.Jb().rj(a.la())}}else b||(a.I.show(),a.K.show(),a.C&&(c=a.C,c.H=!0,g.rV(c.l,c.element,c.B&&!0)),a.D&&(c=a.D,c.B=!0,g.rV(c.l,c.element,c.A&&!0)),a.FC())}; | |
Fsa=function(a){var b=g.VU(a.o).Oa().width;return Math.max(b-2*u_(a),100)}; | |
u_=function(a){var b=a.A.sd();return 12*(a.o.getVideoData().isDni?0:b?2:1)}; | |
Hsa=function(a,b,c,d,e){if(c||d)g.kE(Gsa(g.Y(a),!!c,!!d),c?{method:"POST",ad:{action_create_subscription_to_channel:1,c:b},Ob:{feature:c,silo_name:e},withCredentials:!0}:d?{method:"POST",ad:{action_subscribe:1},Ob:{channel_ids:b,itct:d}}:{}),a.va("SUBSCRIBE")}; | |
Isa=function(a,b,c,d,e){if(c||d)g.kE(Gsa(g.Y(a),!!c,!!d),c?{method:"POST",ad:{action_remove_subscriptions:1},Ob:{c:b,silo_name:e,feature:c},withCredentials:!0}:d?{method:"POST",ad:{action_unsubscribe:1},Ob:{channel_ids:b,itct:d}}:{}),a.va("UNSUBSCRIBE")}; | |
Gsa=function(a,b,c){return b?a.baseYtUrl+"subscription_ajax":c?"/subscription_service":""}; | |
v_=function(a,b,c,d){var e=g.Y(a),f={G:"div",L:"ytp-inline-subscribe-button-icon",N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-youtube-logo"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},N:[{G:"path",L:"ytp-youtube-logo-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z", | |
fill:"#f00"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]};g.W.call(this,{G:"button",da:["ytp-button","ytp-inline-subscribe-button"],P:{"aria-pressed":"{{pressed}}"},N:[{G:"div",L:"ytp-inline-subscribe-button-subscribe",P:{title:g.V("YTP_SUBSCRIBE"),"aria-label":g.V("YTP_SUBSCRIBE")},N:[e.B?null:f,{G:"div",L:"ytp-inline-subscribe-button-text",aa:g.V("YTP_SUBSCRIBE")}]},{G:"div",L:"ytp-inline-subscribe-button-unsubscribe",P:{title:g.V("YTP_SUBSCRIBED"),"aria-label":g.V("YTP_SUBSCRIBE")}, | |
N:[e.B?null:f,{G:"div",L:"ytp-inline-subscribe-button-text",aa:g.V("YTP_SUBSCRIBED")}]}]});this.D=a;this.B=b;this.C=c;this.l=this.g["ytp-inline-subscribe-button-subscribe"];this.A=this.g["ytp-inline-subscribe-button-unsubscribe"];this.O(this.l,"click",this.I);this.O(this.A,"click",this.J);this.O(a,"SUBSCRIBE",this.F);this.O(a,"UNSUBSCRIBE",this.H);d&&this.element.classList.add("ytp-inline-subscribe-button-subscribed")}; | |
w_=function(a,b){g.W.call(this,{G:"button",da:["ytp-button","ytp-title-notifications"],P:{"aria-pressed":"{{pressed}}"},N:[{G:"div",L:"ytp-title-notifications-on",P:{title:g.V("YTP_SUBSCRIBE_NOTIFY_ON"),"aria-label":g.V("YTP_SUBSCRIBE_NOTIFY")},N:[g.$oa()]},{G:"div",L:"ytp-title-notifications-off",P:{title:g.V("YTP_SUBSCRIBE_NOTIFY_OFF"),"aria-label":g.V("YTP_SUBSCRIBE_NOTIFY")},N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-notifications-inactive"]}:{G:"svg",P:{fill:"#fff",height:"24px",viewBox:"0 0 24 24", | |
width:"24px"},N:[{G:"path",P:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});this.A=a;pV(a,this.element,this,36927);this.B=b;this.l=!1;this.U("click",this.C,this);this.updateValue("pressed",!1)}; | |
x_=function(a,b){a.l=b;a.element.classList.toggle("ytp-notifications-enabled",a.l);g.kE("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Ob:{channel_id:a.B,receive_all_updates:!a.l}})}; | |
g.y_=function(a,b,c,d,e,f,k,l,m,n,p,r){f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;if(p){c=g.Y(r);p={href:p,"aria-label":a,tabindex:"-1"};if(g.EM(c)||g.FM(c))p.target="_blank";g.W.call(this,{G:"div",da:["ytp-button","ytp-sb"],N:[{G:"a",L:"ytp-sb-subscribe",P:p,N:[{G:"div",L:"ytp-sb-text",N:[{G:"div",L:"ytp-sb-icon"},a]},b?{G:"div",L:"ytp-sb-count",aa:b}:""]}]});f&&g.S(this.element,"ytp-sb-classic")}else{g.W.call(this, | |
{G:"div",da:["ytp-button","ytp-sb"],N:[{G:"div",L:"ytp-sb-subscribe",P:{tabindex:"-1","aria-label":a},N:[{G:"div",L:"ytp-sb-text",N:[{G:"div",L:"ytp-sb-icon"},a]},b?{G:"div",L:"ytp-sb-count",aa:b}:""]},{G:"div",L:"ytp-sb-unsubscribe",P:{tabindex:"-1","aria-label":c},N:[{G:"div",L:"ytp-sb-text",N:[{G:"div",L:"ytp-sb-icon"},c]},d?{G:"div",L:"ytp-sb-count",aa:d}:""]}]});var v=this;this.l=k;var D=this.g["ytp-sb-subscribe"],H=this.g["ytp-sb-unsubscribe"];f&&g.S(this.element,"ytp-sb-classic");if(e){l&& | |
g.S(this.element,"ytp-sb-subscribed");var L=null;"gaming"==g.Y(r).playerStyle&&(L="gaming_channels");var T=function(){Hsa(r,v.l,m,n,L);H.focus();H.removeAttribute("aria-hidden");D.setAttribute("aria-hidden",!0)},ha=function(){Isa(r,v.l,m,n,L); | |
D.focus();D.removeAttribute("aria-hidden");H.setAttribute("aria-hidden",!0)}; | |
this.O(D,"click",T);this.O(H,"click",ha);this.O(D,"keypress",function(a){13==a.keyCode&&T(a)}); | |
this.O(H,"keypress",function(a){13==a.keyCode&&ha(a)}); | |
this.O(r,"SUBSCRIBE",this.A);this.O(r,"UNSUBSCRIBE",this.B)}else g.S(D,"ytp-sb-disabled"),g.S(H,"ytp-sb-disabled")}}; | |
g.Jsa=function(a,b,c,d,e,f){b=z_(b,c,f);d=d||375;e=e||440;if(b=window.open(b,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes",!0))c=g.RF("LOGGED_IN",function(b){g.SF(g.OD("LOGGED_IN_PUBSUB_KEY",void 0));g.ND("LOGGED_IN",!0);a(b)}),g.ND("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)}; | |
z_=function(a,b,c){var d="/signin?context=popup";c&&(d=window.document.location.protocol+"//"+c+d);c=window.document.location.protocol+"//"+window.document.domain+"/post_login";a&&(c=Pg(c,"mode",a));a=Pg(d,"next",c);b&&(a=Pg(a,"feature",b));return a}; | |
A_=function(a){var b=new g.W({G:"a",L:"ytp-title-channel-logo",P:{href:"{{channelLink}}",target:"_blank"}});g.W.call(this,{G:"div",L:"ytp-title",N:[{G:"div",L:"ytp-title-channel",N:[b,{G:"div",L:"ytp-title-expanded",N:[{G:"div",L:"ytp-title-expanded-heading",N:[{G:"h2",L:"ytp-title-expanded-title",N:[{G:"a",aa:"{{expandedTitle}}"}]},{G:"h3",L:"ytp-title-expanded-subtitle",aa:"{{expandedSubtitle}}"}]}]}]},{G:"div",L:"ytp-title-text",N:[{G:"a",da:["ytp-title-link","yt-uix-sessionlink"],P:{target:"_blank", | |
href:"{{url}}","data-sessionlink":"feature=player-title"},aa:"{{title}}"},{G:"div",L:"ytp-title-subtext",N:[{G:"a",L:"ytp-title-channel-name",P:{href:"{{channelLink}}",target:"_blank"},aa:"{{channelName}}"},{G:"span",L:"ytp-title-inline-subscribe",aa:"{{inlineSubscribe}}"},{G:"span",L:"ytp-title-inline-notify",aa:"{{inlineNotify}}"},{G:"span",L:"ytp-title-subtitle",aa:"{{subtitle}}"}]}]},{G:"div",L:"ytp-title-top-right-subscribe",N:[{G:"span",aa:"{{topRightSubscribe}}"},{G:"span",aa:"{{topRightNotify}}"}]}]}); | |
g.N(this,b);this.l=a;this.D=null;this.X=this.g["ytp-title-link"];this.C=this.g["ytp-title-channel"];this.F=b;this.T=this.g["ytp-title-expanded"];this.H=this.M=this.I=this.B=this.A=this.J=null;pV(a,this.element,this,23851);pV(a,b.element,this,36925);this.O(a,"videodatachange",this.K);this.O(a,"videoplayerreset",this.K);a=g.Y(a);a.H&&(a.experiments.g("embed_info_bar_inline_subscribe")?Ksa(this):a.experiments.g("embed_info_bar_top_right_subscribe")?Lsa(this):Msa(this));this.K()}; | |
Ksa=function(a){var b=a.l.getVideoData(),c=g.Y(a.l),d=new v_(a.l,b.If,"embed_title",!!b.subscribed);a.A=d;g.N(a,d);pV(a.l,d.element,a,36926);a.O(d.element,"click",function(){g.qV(a.l,d.element)}); | |
if(!c.B){var e=new w_(a.l,b.If);g.N(a,e);a.B=e;a.O(a.l,"SUBSCRIBE",function(){e.show()}); | |
a.O(a.l,"UNSUBSCRIBE",function(){e.hide();x_(e,!1)})}}; | |
Lsa=function(a){var b=g.Y(a.l).Sc?null:z_(),c=a.l.getVideoData(),d=new g.y_(g.V("YTP_SUBSCRIBE"),null,g.V("YTP_SUBSCRIBED"),null,!0,!1,c.If,c.subscribed,"embed_title",null,b,a.l);a.I=d;g.N(a,d);pV(a.l,d.element,a,36926);var e=new w_(a.l,c.If);a.M=e;g.N(a,e);a.O(a.l,"SUBSCRIBE",function(){g.S(a.element,"ytp-subscribed");e.show()}); | |
a.O(a.l,"UNSUBSCRIBE",function(){g.lq(a.element,"ytp-subscribed");e.hide();x_(e,!1)}); | |
a.O(d.element,"click",function(){g.qV(a.l,d.element)})}; | |
Msa=function(a){var b=new g.W({G:"div",L:"ytp-title-beacon"});g.N(a,b);b.ua(a.C,0);b=g.Y(a.l).Sc?null:z_();var c=a.l.getVideoData(),d=new g.y_(g.V("YTP_SUBSCRIBE"),null,g.V("YTP_SUBSCRIBED"),null,!0,!1,c.If,c.subscribed,"embed_title",null,b,a.l);a.J=d;g.N(a,d);d.ua(a.T);pV(a.l,d.element,a,36926);var e=new w_(a.l,c.If);g.N(a,e);e.ua(a.T);c.subscribed||e.hide();a.O(a.l,"SUBSCRIBE",function(){g.S(a.element,"ytp-subscribed");e.show()}); | |
a.O(a.l,"UNSUBSCRIBE",function(){g.lq(a.element,"ytp-subscribed");e.hide();x_(e,!1)}); | |
a.O(a.C,"mouseenter",function(){if(524<=a.l.uu().width){a.H.stop();var b=a.l.getRootNode();g.S(b,"ytp-title-show-expanded");g.lq(b,"ytp-title-show-collapsed");g.rV(a.l,d.element,!0);g.rV(a.l,e.element,!0)}}); | |
a.O(a.C,"mouseleave",function(){a.H.start();g.rV(a.l,d.element,!1);g.rV(a.l,e.element,!1)}); | |
a.O(a.C,"click",function(){g.qV(a.l,a.C)}); | |
a.O(d.element,"click",function(){g.qV(a.l,d.element)}); | |
a.H=new g.Wt(function(){var b=a.l.getRootNode();g.jq(b,"ytp-title-show-expanded")&&(g.lq(b,"ytp-title-show-expanded"),g.S(b,"ytp-title-show-collapsed"))},500); | |
g.N(a,a.H)}; | |
Nsa=function(a){B_(a,!1);a.updateValue("channelLink","");a.updateValue("channelName","");a.updateValue("inlineSubscribe",null);a.A&&g.rV(a.l,a.A.element,!1);a.updateValue("inlineNotify",null);a.updateValue("topRightSubscribe",null);a.updateValue("topRightNotify",null);a.updateValue("subtitle","");a.updateValue("expandedTitle","");a.updateValue("expandedSubtitle","");a.l.getRootNode().classList.remove("ytp-title-show-subtitle");a.element.classList.remove("ytp-title-show-inline-subscribe")}; | |
B_=function(a,b,c,d){c=void 0===c?"":c;d=void 0===d?"":d;b?(b=g.Y(a.l).protocol+"://"+NM(g.Y(a.l))+c,a.F.element.style.backgroundImage="url("+d+")",a.F.updateValue("channelLink",b),g.S(a.l.getRootNode(),"ytp-title-enable-channel-logo"),g.rV(a.l,a.F.element,!0)):(g.lq(a.l.getRootNode(),"ytp-title-enable-channel-logo"),g.rV(a.l,a.F.element,!1))}; | |
g.C_=function(a,b){var c=g.VU(a).Oa();g.W.call(this,{G:"div",N:[{G:"div",L:"ytp-tooltip-bg",N:[{G:"div",L:"ytp-tooltip-duration",aa:"{{duration}}"}]},{G:"div",L:"ytp-tooltip-text-wrapper",N:[{G:"div",L:"ytp-tooltip-image"},{G:"div",L:"ytp-tooltip-title",aa:"{{title}}"},{G:"span",L:"ytp-tooltip-text",aa:"{{text}}"}]}]});this.X=a;this.na=b;this.K=g.Y(a);this.ga=this.K.l;this.I=this.g["ytp-tooltip-bg"];this.ra=this.g["ytp-tooltip-image"];this.Y=(0,g.z)(this.ES,this);this.F=(0,g.z)(this.GS,this);this.ca= | |
(0,g.z)(this.mf,this);this.l=null;this.J=new g.MV(this,100);g.N(this,this.J);this.A=null;this.T=!1;this.B=null;this.D=window.NaN;this.H="";this.ha=c.width;this.M=!0;this.C=1;this.ea=new g.Wt(this.WL,250,this);g.N(this,this.ea);this.fa=new g.Wt(this.mf,5E3,this);g.N(this,this.fa)}; | |
E_=function(a,b){if(null!=a.A)if(b)switch(a.A){case 3:case 2:D_(a);a.J.show();break;default:a.J.show()}else a.J.hide();a.M=b}; | |
PY=function(a,b){if(a.ga)return g.y;b.addEventListener("mouseover",a.F);a.K.experiments.g("show_tooltip_on_tab_killswitch")||b.addEventListener("focus",a.F);return(0,g.z)(function(){this.l==b&&this.mf();b.removeEventListener("mouseover",this.F);this.K.experiments.g("show_tooltip_on_tab_killswitch")||b.removeEventListener("focus",this.F)},a)}; | |
Psa=function(a,b,c){if(a.A)if(3==a.A)a.mf();else return;Osa(a,b,3,c)}; | |
Osa=function(a,b,c,d){(0,window.isNaN)(a.D)||(a.D=window.NaN,a.I.style.background="");a.l=b;a.T=!!d;d?a.H=d:(a.H=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(d=b.getAttribute("data-tooltip-image"))a.ra.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.A=c;a.X.addEventListener("appresize",a.ca);a.M&&(D_(a),a.J.show(0))}; | |
D_=function(a){var b=a.l.getAttribute("data-tooltip-text");if(b&&!a.T){a.updateValue("text",b);var c=a.l.getAttribute("data-duration");a.update({title:a.H,duration:c});var d=a.l.getAttribute("data-preview"),e=160*a.C,f=90*a.C,k=160*a.C,l=90*a.C;a.I.style.width=e+"px";a.I.style.height=f+"px";a.I.style.backgroundImage=d?"url("+d+")":"";a.I.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.I.style.backgroundSize=k+"px "+l+"px";g.kq(a.element,["ytp-text-detail","ytp-preview"]);g.U(a.element,"ytp-has-duration", | |
!!c)}else a.updateValue("text",a.H),g.mq(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.A?a.element.setAttribute("role","status"):a.element.removeAttribute("role");Qsa(a,!!b)}; | |
Qsa=function(a,b,c){a.element.style.maxWidth=b?"":Math.min(a.ha,300*a.C)+"px";a.na.Hp(a.element,a.l,c,1==a.A);a.element.style.top?g.S(a.element,"ytp-bottom"):a.element.style.bottom&&g.S(a.element,"ytp-top");3==a.A&&a.fa.start()}; | |
HZ=function(a){a.l&&!a.T&&a.l.hasAttribute("title")&&(a.H=a.l.getAttribute("title"),a.l.removeAttribute("title"),a.M&&D_(a))}; | |
Rsa=function(a,b){g.U(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.D)){a.D=b;var c=160*a.C,d=160*a.C,e=mN(a.B,a.D,c);uZ(a.I,e,c,d,!0);a.ea.start()}}; | |
Tsa=function(a,b,c){Ssa("add_to_watch_later_list",a,b,c)}; | |
Usa=function(a,b,c){Ssa("delete_from_watch_later_list",a,b,c)}; | |
Ssa=function(a,b,c,d){g.kE(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",ad:{feature:b.feature||null,authuser:b.Sc||null,pageid:b.pageId||null},Ob:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.e5||null,add_to_playlists:b.T4||null,plid:g.OD("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(a,c){b.onSuccess.call(this,a,c)}, | |
wd:b.wd,withCredentials:!!d})}; | |
G_=function(a,b,c){g.W.call(this,{G:"button",da:["ytp-watch-later-button","ytp-button"],P:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.Y(a).H)},N:[{G:"div",L:"ytp-watch-later-icon",aa:"{{icon}}"},{G:"div",L:"ytp-watch-later-title",aa:"{{watch_later}}"}]});this.l=a;this.D=b.Jb();this.D.element.setAttribute("aria-live","polite");this.I=c;this.F=null;this.H=this.C=this.B=this.A=!1;pV(a,this.element,this,28665);this.U("click",this.VP,this);this.O(a,"videoplayerreset", | |
this.WP);this.O(a,"appresize",this.Pc);this.Pc(g.VU(a).Oa());a=g.Y(this.l);c=g.NG("yt-player-watch-later-pending");a.g&&c?(UG(),Vsa(this,c.videoId)):F_(this,2);g.Ye(this,PY(b.Jb(),this.element))}; | |
Vsa=function(a,b){if(!a.B){a.B=!0;F_(a,3);var c=g.Y(a.l);(a.A?Usa:Tsa)({videoIds:b,Sc:c.Sc,pageId:c.pageId,onError:a.OU,onSuccess:a.A?a.PU:a.NU,context:a},c.baseYtUrl,!0)}}; | |
F_=function(a,b,c){if(b!=a.F){switch(b){case 3:var d=rX();break;case 1:d=Uoa();break;case 2:d=g.EV?{G:"div",da:["ytp-icon","ytp-icon-watch-later"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};break;case 4:d=g.EV?{G:"div",da:["ytp-icon","ytp-icon-alert"]}: | |
{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}}a.updateValue("icon",d);a.F=b}b=g.Y(a.l);c?a.update({title:c,image:null}):b.userDisplayName?(c={USER_NAME:b.userDisplayName},a.update({title:a.A?g.V("YTP_ADDED_TO_WATCH_LATER_AS", | |
c):g.V("YTP_WATCH_LATER_AS_2",c),image:xla(b)})):a.update({title:g.V("YTP_WATCH_LATER_2"),image:null});HZ(a.D)}; | |
H_=function(a){g.W.call(this,{G:"a",da:["ytp-watermark","yt-uix-sessionlink"],P:{target:"_blank",href:"{{url}}","aria-label":g.V("YTP_URL_NAVIGATE_TO",{WEBSITE:OM(g.Y(a))}),"data-sessionlink":"feature=player-watermark"},N:[g.EV?{G:"div",da:["ytp-icon","ytp-icon-watermark"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}]}); | |
this.A=a;this.l=null;this.O(a,"videodatachange",this.B);this.O(a,"presentingplayerstatechange",this.D);a=g.UU(a);g.pH(this,!g.X(a,2));this.B()}; | |
I_=function(a){EY.call(this,a);var b=g.Y(a),c=g.VU(a);this.ya=48;this.sa=69;b.H&&(this.ya=42,this.sa=63);var d=g.Y(this.g),e=d.B;if(qI("ytp-normal-css-loaded")){var f=qI("ytp-sprite-mode-css-loaded");e!=f&&g.PD(Error("Player sprite mode mismatch. playerInSpriteMode: "+e+", spriteModeCssServed: "+f+", isMobile: "+d.l),"WARNING")}this.K=null;this.D=[];this.F=new g.JY(a);g.N(this,this.F);g.mV(a,this.F.element,4);d=new g.W({G:"div",L:"ytp-gradient-top"});g.N(this,d);g.mV(a,d.element,1);this.Na=new g.MV(d, | |
250,!0,100);g.N(this,this.Na);this.A=new g.W({G:"div",L:"ytp-chrome-top"});g.N(this,this.A);g.mV(a,this.A.element,1);this.La=new g.MV(this.A,250,!0,100);g.N(this,this.La);this.fa=[];this.C=new g.C_(a,this);g.N(this,this.C);g.mV(a,this.C.element,4);b.g&&b.kd&&(this.Nb=new jZ(a,this),g.N(this,this.Nb),g.mV(a,this.Nb.element,4));d=new mZ(a);g.N(this,d);g.mV(a,d.element,5);d.subscribe("show",(0,g.z)(this.Wn,this,d));this.fa.push(d);d=new nZ(a,this,d);g.N(this,d);d.ua(this.A.element);this.Ga=new A_(a); | |
g.N(this,this.Ga);this.Ga.ua(this.A.element);d=new g.kH({G:"div",L:"ytp-chrome-top-buttons"});g.N(this,d);d.ua(this.A.element);e=b.experiments.g("embed_info_bar_top_right_subscribe")&&b.g;!e&&b.pn&&(this.ha=new G_(a,this,this.A.element),g.N(this,this.ha),this.ha.ua(d.element));e||(e=new pZ(a,this),g.N(this,e),g.mV(a,e.element,5),e.subscribe("show",(0,g.z)(this.Wn,this,e)),this.fa.push(e),this.ca=new qZ(a,this,e,this.A.element),g.N(this,this.ca),this.ca.ua(d.element));b.Vh&&(e=new rZ(a),g.N(this,e), | |
g.mV(a,e.element,4));this.M=new OY(a,this,this.A.element);g.N(this,this.M);this.M.ua(d.element);e=new QY(a,this.M);g.N(this,e);e.ua(d.element);(this.l="1"==b.A?new t_(a,this,this.o):null)&&g.N(this,this.l);"3"==b.A&&(d=new oZ(a,this),g.N(this,d),g.mV(a,d.element,8));this.H=new fZ(a,this,this.F);g.N(this,this.H);this.H.subscribe("show",this.kF,this);this.ra=!1;b.Bd&&(d=new H_(a),g.N(this,d),g.mV(a,d.element,7));d=new RV(a,new VV(a));g.N(this,d);g.mV(a,d.element,4);this.X=new g.W({G:"div",P:{tabindex:"0"}}); | |
this.X.U("focus",this.BJ,this);g.N(this,this.X);this.T=new g.W({G:"div",P:{tabindex:"0"}});this.T.U("focus",this.CJ,this);g.N(this,this.T);(this.Z=b.useTabletControls?null:new gZ(a,c,this.H,this.o,this.F,(0,g.z)(this.Zn,this)))&&g.N(this,this.Z);this.Y.push(this.F.element);this.O(a,"fullscreentoggled",this.eP);this.O(a,"offlineslatestatechange",this.RS,this);this.O(a,"cardstatechange",this.og,this)}; | |
J_=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=sh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=J_(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.K_=function(a){g.sV.call(this,a);this.load()}; | |
g.L_=function(a,b,c){dP.call(this);this.g=a;this.l=b;this.B=c}; | |
O_=function(a,b){g.M.call(this);var c=this;this.A=a||window.NaN;this.o=b||null;this.l=new g.Wt(function(){M_(c);N_(c)}); | |
g.N(this,this.l);this.g=[]}; | |
M_=function(a){var b=g.eG();a.g.forEach(function(c){c.expire<b&&P_(a,c,!0)}); | |
a.g=(0,g.Kd)(a.g,function(a){return!(a.expire<b)})}; | |
P_=function(a,b,c){c&&a.o&&a.o(b.value)}; | |
N_=function(a){a.l.stop();var b=window.Infinity;for(var c=g.ma(a.g),d=c.next();!d.done;d=c.next())d=d.value,d.expire<b&&(b=d.expire);b&&(0,window.isFinite)(b)&&(b=Math.max(b-(0,g.F)(),0),a.l.start(b))}; | |
Q_=function(){this.g=[];this.l=[];this.o=[]}; | |
Xsa=function(a,b,c){c=g.Dd(c?"AUDIO":"VIDEO");g.Ha(c,Wsa);g.oF(c,"loadeddata",(0,g.z)(c.l,c));yM&&6<=IY&&g.oF(c,"webkitbeginfullscreen",(0,g.z)(c.play,c));a.l.push(c);b?a.o.push(c):R_(a,c);return c}; | |
R_=function(a,b){g.Pa(a.l,b)&&!g.Pa(a.g,b)&&(b.src||b.load(),g.Ua(a.o,b)||a.g.push(b))}; | |
S_=function(a){g.M.call(this);this.l=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.g=window.IntersectionObserver?new window.IntersectionObserver((0,g.z)(this.o,this),b):null)&&this.g.observe(a)}; | |
T_=function(a){var b=a.g;g.W.call(this,{G:"div",da:["html5-video-player"],P:{tabindex:"-1",id:a.pa.attrs.id},N:[{G:"div",L:"html5-video-container",P:{"data-layer":"0"}},{G:"input",L:"ytp-attestation-challenge",P:{id:"atr_challenge",type:"hidden",value:"","data-layer":"0"}}]});b.En&&this.vp("ytp-transparent");g.YE(this.element,"version",a.pa.assets.js);this.app=a;this.F=this.g["html5-video-container"];this.ea=this.g["ytp-attestation-challenge"];this.A=new g.ah(0,0,0,0);this.l=null;this.H=new g.ah(0, | |
0,0,0);this.J=this.T=this.M=window.NaN;this.C=!1;this.I=window.NaN;this.K=!1;this.D=null;this.addEventListener=(0,g.z)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.z)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){}; | |
this.X=(0,g.z)(function(){this.element.focus()},this); | |
SM(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ca="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.I(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.I(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.I(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.I(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.I(854,480)},{query:window.matchMedia("(min-width: 1000px)"), | |
size:new g.I(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.I(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.I(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.I(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.I(640,360)}]);this.Y=b.co;this.B=new g.I(window.NaN,window.NaN);g.RG({YTP_ADVERTISEMENT:"Iklan",YTP_AD_BADGE:"Iklan",YTP_AD_NOTIFICATION:"Iklan dalam $X_SECONDSd", | |
YTP_AD_POD_POSITION:"$AD_INDEX dari $ADS_COUNT",YTP_AD_PREVIEW_NONSKIPPABLE:"Video akan diputar setelah iklan",YTP_AD_PREVIEW_NONSKIPPABLE_COUNTDOWN:"Video Anda akan dimulai dalam $TIME_REMAINING",YTP_AD_SETTING_TEXT:"Buka $AD_SETTING_LINK_TEXT Google untuk mempelajari lebih lanjut tentang cara penargetan iklan atau memilih untuk tidak menggunakan iklan yang dipersonalisasi.",YTP_AD_SETTING_LINK_TEXT:"Setelan Iklan",YTP_WHY_THIS_AD_TITLE:"Mengapa iklan ini?",YTP_AD_SETTINGS_TOOLTIP:"Klik untuk Setelan Iklan", | |
YTP_CLOSE_AD_INFO_DIALOG:"OK",YTP_AIRPLAY:"AirPlay",YTP_AUDIO_TRACK_TITLE:"Audio",YTP_AUTO:"Otomatis",YTP_CAN_SKIP_AD_SOON:"Anda dapat langsung ke video dalam $TIME_REMAINING",YTP_CARDS_BUTTON_ARIA_LABEL:"Tampilkan kartu",YTP_CARDS_BUTTON_INFO:"Info",YTP_CARDS_BUTTON_SHOPPING:"Shopping",YTP_COPY_DEBUG_INFO:"Salin info debug",YTP_COPY_VIDEO_URL:"Salin URL video",YTP_COPY_VIDEO_URL_AT_TIME:"Salin URL video pada waktu saat ini",YTP_GET_DEBUG_INFO:"Dapatkan informasi debug",YTP_GET_VIDEO_URL:"Dapatkan URL video", | |
YTP_GET_VIDEO_URL_AT_TIME:"Dapatkan URL video saat ini",YTP_GET_EMBED:"Dapatkan kode semat",YTP_PLAYBACK_SPEED_CHANGED:"Kecepatan $RATE",YTP_DEFAULT_VIEW:"Tampilan default",YTP_EMBED_COPY:"Salin kode semat",YTP_ERROR_GENERIC_WITHOUT_LINK:"Terjadi kesalahan. Coba lagi nanti.",YTP_ERROR_GENERIC_WITH_LINK_AND_CPN:"Terjadi kesalahan. Coba lagi nanti. (ID Pemutaran: $CPN) $BEGIN_LINKPelajari Lebih Lanjut$END_LINK",YTP_EXIT_FULLSCREEN:"Keluar dari tampilan layar penuh",YTP_FULLSCREEN_GENERIC_ERROR:"Layar penuh tidak tersedia. $BEGIN_LINKPelajari Lebih Lanjut$END_LINK", | |
YTP_FULLSCREEN_UNSUPPORTED_ERROR:"Browser Anda tidak mendukung layar penuh. $BEGIN_LINKPelajari Lebih Lanjut$END_LINK",YTP_VOLUME_UNSUPPORTED_ERROR:"Browser Anda tidak mendukung pengubahan volume. $BEGIN_LINKPelajari Lebih Lanjut$END_LINK",YTP_FULLSCREEN:"Layar penuh",YTP_GOTO_LIVE_TOOLTIP:"Langsung ke tayangan live.",YTP_LIVE:"Live",YTP_LIVE_NOW:"LIVE SEKARANG",YTP_LOOP:"Ulang",YTP_MORE:"lainnya",YTP_MORE_FROM_CHANNEL:"Video lainnya dari $DNI_RELATED_CHANNEL",YTP_MORE_VIDEOS:"Video lainnya",YTP_MUTE:"Bisukan", | |
YTP_NEXT:"Berikutnya",YTP_NORMAL_SPEED:"Normal",YTP_ON:"Aktif",YTP_OFF:"Nonaktif",YTP_OPTIONS:"Opsi",YTP_PREVIOUS:"Sebelumnya",YTP_PLAYBACK_STALLED_AT_START:"Jika pemutaran tidak segera dimulai, coba mulai ulang perangkat Anda.",YTP_MISSING_FORMATS:"Tidak ada opsi?",YTP_MORE_ON_YOUTUBE:"Video lainnya di YouTube",YTP_PLAYLIST:"Playlist",YTP_QUALITY_TITLE:"Kualitas",YTP_REPLAY:"Replay",YTP_TROUBLESHOOT_ISSUE:"Memecahkan masalah pemutaran",YTP_SETTINGS:"Setelan",YTP_SHARE:"Bagikan",YTP_SHARE_LINK:"Bagikan link", | |
YTP_SHARE_WITH_PLAYLIST_2:"Sertakan playlist",YTP_SHOW_VIDEO_INFO:"Informasi statistik",YTP_SIGN_IN:"Login",YTP_SKIP_AD:"Lewati Iklan",YTP_SKIP_INTRO:"Lewati intro",YTP_SPEED_TITLE:"Kecepatan",YTP_SUBSCRIBE:"Subscribe",YTP_SUBSCRIBED:"Disubscribe",YTP_SUBSCRIBE_NOTIFY:"Notifikasi terkait subscription",YTP_SUBSCRIBE_NOTIFY_OFF:"Dapatkan notifikasi jika ada video baru",YTP_SUBSCRIBE_NOTIFY_ON:"Berhenti mendapatkan notifikasi jika ada video baru",YTP_SUBTITLES:"Subtitel/CC",YTP_SUBTITLES_TOOLTIP:"Subtitel/CC", | |
YTP_SUBTITLES_OFF:"Subtitel/CC nonaktif",YTP_SUBTITLES_ON:"Subtitel/CC aktif",YTP_TAP_TO_UNMUTE_SHORT:"Aktifkan suara",YTP_THEATER_MODE:"Tampilan bioskop",YTP_UNMUTE:"Bunyikan",YTP_URL_NAVIGATE_TO:"Tonton di $WEBSITE",YTP_VISIT_YOUTUBE:"Kunjungi YouTube untuk menelusuri video lainnya",YTP_WATCH_ALL:"Tonton keseluruhan video",YTP_WATCH_LATER_2:"Tonton nanti",YTP_WATCH_LATER_AS_2:"Tonton nanti sebagai $USER_NAME",YTP_ADDED_TO_WATCH_LATER_AS:"Ditambahkan sebagai $USER_NAME",YTP_PLAY:"Putar",YTP_ERROR_LICENSE:"Maaf, terjadi kesalahan saat memberikan lisensi pada video ini.", | |
YTP_ERROR_VIDEO_NOT_FOUND:"Video ini tidak dapat ditemukan.",YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE:"Video ini telah didownload pada jumlah maksimum perangkat yang diperbolehkan oleh pemegang hak cipta. Sebelum dapat memutar video di sini, lepaskan pin video tersebut di perangkat lain.",YTP_ERROR_PURCHASE_NOT_FOUND:"Video ini perlu pembayaran.",YTP_ERROR_PURCHASE_REFUNDED:"Dana pembelian video ini telah dikembalikan.",YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK:"Akun Anda sedang memutar video ini di lokasi lain. Muat ulang halaman ini untuk terus menonton.", | |
YTP_ERROR_TOO_MANY_STREAMS_PER_USER:"Pemutaran dihentikan karena terlalu banyak video yang diputar dari akun yang sama.",YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT:"Pemutaran dihentikan karena video ini diputar di terlalu banyak perangkat.",YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED:"Terlalu banyak perangkat/alamat IP yang digunakan dalam 24 jam.",YTP_ERROR_STREAM_LICENSE_NOT_FOUND:"Pemutaran video mengalami gangguan. Coba lagi.",YTP_CLOSE:"Tutup",YTP_ANNOTATIONS:"Anotasi",YTP_SEEK_SLIDER:"Slider pencarian", | |
YTP_PAUSE:"Jeda",YTP_AUTOPLAY:"Autoplay",YTP_RESET:"Setel ulang",YTP_STOP:"Hentikan pemutaran langsung",YTP_SCREENREADER_VOLUME_SETTING:"volume",YTP_SCREENREADER_VOLUME_MUTED:"dibisukan",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK:"Format video ini tidak didukung.",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK:"Browser Anda saat ini tidak mengenali setiap format video yang tersedia. $BEGIN_LINKKlik di sini untuk mengunjungi pertanyaan umum tentang video HTML5.$END_LINK",YTP_HTML5_FLASH_DEPRECATED:"Video flash tidak lagi didukung. Untuk pengalaman terbaik, upgrade browser Anda ke versi terbaru. $BEGIN_LINKPELAJARI LEBIH LANJUT$END_LINK", | |
YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED:"Perangkat di sesi siaran tidak cocok dengan yang diminta.",YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED:"Video dalam sesi siaran tidak cocok dengan yang diminta.",YTP_ERROR_CAST_TOKEN_EXPIRED:"Sesi siaran telah berakhir. Segarkan.",YTP_ERROR_CAST_TOKEN_FAILED:"Sesi siaran tidak tersedia. Segarkan atau coba lagi nanti.",YTP_ERROR_CAST_TOKEN_MALFORMED:"Sesi siaran tidak valid. Segarkan atau coba lagi nanti.",YTP_ERROR_GEO_FAILURE:"Video ini tidak tersedia untuk negara Anda.", | |
YTP_ERROR_INVALID_DRM_MESSAGE:"Pesan yang berkenaan dengan sistem DRM tidak valid.",YTP_ERROR_RENTAL_EXPIRED:"Periode rental video ini telah kedaluwarsa.",YTP_ERROR_RETRYABLE_ERROR:"Terjadi kesalahan sementara pada server. Coba lagi nanti.",YTP_ERROR_SERVER_ERROR:"Terjadi kesalahan server internal. Coba lagi nanti.",YTP_ERROR_STREAMING_NOT_ALLOWED:"Pemutaran tidak diperbolehkan karena video ini dipasang di perangkat lain.",YTP_ERROR_UNSUPPORTED_DEVICE:"Pemutaran tidak didukung di perangkat ini.", | |
YTP_ERROR_VIDEO_FORBIDDEN:"Akes ke video ini dilarang.",YTP_ERROR_VIDEO_UNAVAILABLE:"Video tidak tersedia",YTP_ERROR_FORMAT_UNAVALIABLE:"Video ini tidak tersedia pada kualitas yang dipilih. Coba lagi nanti.",YTP_DEVICE_FALLBACK:"Maaf, video ini tidak tersedia pada perangkat ini.",YTP_VISIT_ADVERTISERS_SITE:"Kunjungi situs pengiklan",YTP_PROGRESS_LABEL_2:"$PLAY_PROGRESS dari $DURATION",YTP_PLAYLIST_NAME:"Playlist: $PLAYLIST_NAME",YTP_PLAYLIST_POSITION:"$CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SHARE_PANEL_ERROR:"Terjadi kesalahan saat mengambil informasi berbagi. Coba lagi nanti.", | |
YTP_PLAYLIST_AUTHOR_AND_POSITION:"oleh $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SPONSORED:"Bersponsor",YTP_SPONSORED_PRODUCT_INFO:"Anda melihat produk ini karena menurut kami relevan dengan video tersebut. Google dapat menerima kompensasi dari penjual.",YTP_PIP:"Gambar dalam Gambar",YTP_AUTO_TRANSLATE:"Terjemahkan otomatis",YTP_SWITCH_CAMERA:"Beralih kamera",YTP_MULTICAM_INDEX:"Melihat $CAMERA_INDEX dari $CAMERA_COUNT",YTP_MORE_CAMERAS_AVAILABLE:"Tersedia kamera lainnya",YTP_VIDEO_SUBTITLES_OVERRIDE:"Penggantian Opsi Video", | |
YTP_VIDEO_SUBTITLES_OVERRIDE_DESC:"Izinkan berbagai gaya teks jika ditentukan oleh video.",YTP_WATCH_VIDEO_OR_PLAYLIST:"Tonton $TITLE",YTP_FONT_FAMILY:"Jenis font",YTP_FONT_SIZE:"Ukuran font",YTP_FONT_COLOR:"Warna font",YTP_FONT_OPACITY:"Opasitas font",YTP_BACKGROUND_COLOR:"Warna latar belakang",YTP_BACKGROUND_OPACITY:"Opasitas latar belakang",YTP_WINDOW_COLOR:"Warna jendela",YTP_WINDOW_OPACITY:"Opasitas jendela",YTP_COLOR_WHITE:"Putih",YTP_COLOR_YELLOW:"Kuning",YTP_COLOR_GREEN:"Hijau",YTP_COLOR_CYAN:"Sian", | |
YTP_COLOR_BLUE:"Biru",YTP_COLOR_MAGENTA:"Magenta",YTP_COLOR_RED:"Merah",YTP_COLOR_BLACK:"Hitam",YTP_FONT_FAMILY_MONO_SERIF:"Serif Spasi Tunggal",YTP_FONT_FAMILY_PROP_SERIF:"Serif Proporsional",YTP_FONT_FAMILY_MONO_SANS:"Sans-Serif Spasi Tunggal",YTP_FONT_FAMILY_PROP_SANS:"Sans-Serif Proporsional",YTP_FONT_FAMILY_CASUAL:"Kasual",YTP_FONT_FAMILY_CURSIVE:"Kursif",YTP_FONT_FAMILY_SMALL_CAPS:"Kapital Kecil",YTP_CHAR_EDGE_STYLE:"Gaya tepi karakter",YTP_EDGE_STYLE_NONE:"Tidak ada",YTP_EDGE_STYLE_RAISED:"Dinaikkan", | |
YTP_EDGE_STYLE_DEPRESSED:"Diturunkan",YTP_EDGE_STYLE_OUTLINE:"Garis keliling",YTP_EDGE_STYLE_DROP_SHADOW:"Drop Shadow",YTP_CONTRIBUTE_MENU_ITEM:"Tambahkan subtitel/CC",YTP_ASR_SETTINGS_LABEL:"Subtitel Otomatis",YTP_LANGUAGE_OFF:"Nonaktif",YTP_MINIPLAYER_BUTTON:"Aktifkan miniplayer",YTP_WHY_THIS_AD_REASON_HEADER:"Iklan ini mungkin didasarkan pada:",YTP_WHY_THIS_AD_REASON_VIDEO_WATCHED:"Video yang sedang Anda tonton.",YTP_WHY_THIS_AD_REASON_SIGNED_IN_ACTIVITY:"Aktivitas Anda selama login ke Google.", | |
YTP_WHY_THIS_AD_REASON_DEVICE_ACTIVITY:"Aktivitas Anda di perangkat ini."});Ysa(this);this.O(a.l,"mutedautoplaychange",this.gP)}; | |
Ysa=function(a){var b=a.app.l,c=(0,g.z)(a.HK,a),d=(0,g.z)(a.IK,a),e=(0,g.z)(a.fP,a),f=(0,g.z)(a.mK,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Ye(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})}; | |
Zsa=function(a){a.l&&(a.l.removeEventListener("focus",a.X),g.Jd(a.l),a.l=null)}; | |
$sa=function(a,b){if(a.l){var c=a.app.g;BI&&(a.l.setAttribute("x-webkit-airplay","allow"),b.title?a.l.setAttribute("title",b.title):a.l.removeAttribute("title"));a.app.g.experiments.g("html5_no_360_remote_killswitch")||(sO(b)?a.l.setAttribute("disableremoteplayback",""):a.l.removeAttribute("disableremoteplayback"));a.l.setAttribute("controlslist","nodownload");c.no&&b.videoId&&(a.l.poster=b.dd(c,"default.jpg"))}c=g.AO(b,"yt:bgcolor");a.F.style.backgroundColor=c?c:"";a.M=qM(g.AO(b,"yt:stretch"));a.T= | |
qM(g.AO(b,"yt:crop"),!0);g.U(a.element,"ytp-dni",b.isDni);a.xf()}; | |
g.V_=function(a){var b=a.app.g.experiments.g("html5_aspect_from_adaptive_format"),c=g.TU(a.app);if(c=c?c.getVideoData():null){if(c.rf()||c.sf()||c.Pe())return 16/9;if(b&&lO(c)&&c.Aa.g)return b=c.Aa.videoInfos[0],U_(b.video.width,b.video.height)}return(a=a.l)?U_(a.videoWidth,a.videoHeight):b?16/9:window.NaN}; | |
g.W_=function(a,b){var c=a.Oa(),d=ata(a,c,g.V_(a),b);return new g.ah((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)}; | |
ata=function(a,b,c,d){(0,window.isNaN)(a.M)||(c=a.M);var e=c;(0,window.isNaN)(a.J)?(0,window.isNaN)(a.T)||(e=a.T):e=a.J;a=U_(b.width,b.height);(0,window.isFinite)(e)||(e=Math.max(c,a));var f;e>a?f={width:b.width,height:b.width/e,aspectRatio:e}:e<a?f={width:b.height*e,height:b.height,aspectRatio:e}:f={width:b.width,height:b.height,aspectRatio:a};d||(0,window.isNaN)(c)||(c>e?f.width=f.height*c:c<e&&(f.height=f.width/c),f.aspectRatio=c);return f}; | |
U_=function(a,b){return 1>Math.abs(X_*b-a)||1>Math.abs(X_/a-b)?X_:a/b}; | |
Y_=function(a){if(1==a.app.T)return!1;var b=g.UU(a.app.l);a=g.X(b,1024)&&!a.app.g.experiments.g("dompaused_video_visible_killswitch");return b&&!g.X(b,2)&&!a&&!g.uP(b)}; | |
DW=function(a){var b="3"==a.app.g.A&&!a.C&&Y_(a)&&!a.app.Y;a.l.controls=b;a.l.tabIndex=b?0:-1;b?a.l.removeEventListener("focus",a.X):a.app.g.experiments.g("disable_focus_redirect")||a.l.addEventListener("focus",a.X)}; | |
bta=function(a){var b=g.V_(a),c=a.Oa(),d=1,e=!1,f=ata(a,c,b),k=BE();if(Y_(a)){var l=(0,window.isNaN)(b)||IL||GT&&g.ZL;BI&&!g.qc(601)?b=f.aspectRatio:l=l||"3"==a.app.g.A;l?l=new g.ah(0,0,c.width,c.height):(d=f.aspectRatio/b,l=new g.ah((c.width-f.width/d)/2,(c.height-f.height)/2,f.width/d,f.height),1==d&&g.ZL&&(b=l.width-c.height*b,0<b&&(l.width+=b,l.height+=b)));k&&(a.l.style.display="");a.K=!0}else b=-c.height,BI?b*=window.devicePixelRatio:g.lH&&(b-=window.screen.height),l=new g.ah(0,b,c.width,c.height), | |
k&&(a.l.style.display="none"),a.K=!1;g.ch(a.H,l)||(a.H=l,g.RM(a.app.g)?(a.l.style.setProperty("width",l.width+"px","important"),a.l.style.setProperty("height",l.height+"px","important")):g.Ih(a.l,g.eh(l)),g.vh(a.l,g.fh(l)),e=!0);c=new g.ah((c.width-f.width)/2,(c.height-f.height)/2,f.width,f.height);g.ch(a.A,c)||(a.A=c,e=!0);g.oh(a.l,"transform",1==d?"":"scaleX("+d+")");return e}; | |
Z_=function(a){this.H=a;this.C=null;this.g=[];this.o=[];this.B=[];this.F=1;this.l=[];this.A=!1}; | |
g.oV=function(a,b,c){a.A?a.B.push({type:b,data:c}):a.H.R(b,c)}; | |
$_=function(a,b,c,d,e){g.W.call(this,{G:"div",L:"ytp-horizonchart"});this.A=Math.round(a/c);this.I=b;this.D=c;this.F=d;this.H=e;this.Db=0;this.element.style.width=this.A*this.D+"px";this.element.style.height=this.I+"em";this.l=-1;this.C=this.B=null}; | |
a0=function(a,b){if(-1==a.l){try{var c=g.Dd("CANVAS");a.B=c.getContext("2d")}catch(m){}if(a.B){var d=a.A*a.D;a.C=c;a.C.width=d;a.C.style.width=d+"px";a.element.appendChild(a.C)}else for(a.D=Math.floor(a.D/4),a.A*=4,c=0;c<a.D;c++)d=g.Dd("SPAN"),d.style.width=a.A+"px",d.style.left=a.A*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.l&&(a.l=c,a.B&&(c=1<(window.devicePixelRatio||1)?2:1,a.C.height=a.l*c,a.C.style.height=a.l+"px",a.B.scale(1,c)));c=g.ma(b);for(var e=c.next();!e.done;e= | |
c.next()){d=a;var f=a.Db,k=e.value;for(e=0;e+2<d.F.length&&d.F[e+1]<k;)e++;k=Math.min(1,(k-d.F[e])/(d.F[e+1]-d.F[e]));if(d.B)d.B.fillStyle=d.H[e],d.B.fillRect(f*d.A,0,d.A,d.l),d.B.fillStyle=d.H[e+1],d.B.fillRect(f*d.A,d.l*(1-k),d.A,d.l);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.l,Math.round(d.l*k*l)/l);f.style.height=k+"px";f.style.backgroundColor=d.H[e+1];f.style.borderTop="solid "+(d.l-k)+"px "+d.H[e]}a.Db=(a.Db+1)%a.D}c=a.Db;a.B?a.B.clearRect(c*a.A,0,a.A,a.l):(c= | |
a.element.children[c],c.style.height="0px",c.style.borderTop="")}; | |
b0=function(a){var b=null;b={G:"button",da:["html5-video-info-panel-close","ytp-button"],P:{title:"close"},aa:"[x]"};g.W.call(this,{G:"div",L:"html5-video-info-panel",N:[b,{G:"div",L:"html5-video-info-panel-content",N:[{G:"div",N:[{G:"div",aa:"Video ID / sCPN"},{G:"span",aa:"{{video_id_and_cpn}}"}]},{G:"div",N:[{G:"div",aa:"Viewport"},{G:"span",aa:"{{dimensions}}"}]},{G:"div",N:[{G:"div",aa:"Current / Optimal Res"},{G:"span",aa:"{{resolution}}"}]},{G:"div",N:[{G:"div",aa:"Volume / Normalized"},{G:"span", | |
aa:"{{volume}}"}]},{G:"div",N:[{G:"div",aa:"Codecs"},{G:"span",aa:"{{codecs}}"}]},{G:"div",P:{style:"{{shader_info_style}}"},N:[{G:"div",aa:"Shader Info"},{G:"span",aa:"{{shader_info}}"}]},{G:"div",P:{style:"{{color_style}}"},N:[{G:"div",aa:"Color"},{G:"span",aa:"{{color}}"}]},{G:"div",P:{style:"{{drm_style}}"},N:[{G:"div",aa:"Protected"},{G:"span",aa:"{{drm}}"}]},{G:"div",P:{style:"{{host_style}}"},N:[{G:"div",aa:"Host"},{G:"span",aa:"{{stream_host}}"}]},{G:"div",P:{style:"{{bandwidth_style}}"}, | |
N:[{G:"div",aa:"Connection Speed"},{G:"span",N:[{G:"span",aa:"{{bandwidth_chart}}"},{G:"span",aa:"{{bandwidth_kbps}}"}]}]},{G:"div",P:{style:"{{network_activity_style}}"},N:[{G:"div",aa:"Network Activity"},{G:"span",N:[{G:"span",aa:"{{network_activity_chart}}"},{G:"span",aa:"{{network_activity_bytes}}"}]}]},{G:"div",N:[{G:"div",aa:"Buffer Health"},{G:"span",N:[{G:"span",aa:"{{buffer_health_chart}}"},{G:"span",aa:"{{buffer_health_seconds}}"}]}]},{G:"div",P:{style:"{{live_latency_style}}"},N:[{G:"div", | |
aa:"Live Latency"},{G:"span",N:[{G:"span",aa:"{{live_latency_chart}}"},{G:"span",aa:"{{live_latency_secs}}"}]}]},{G:"div",P:{style:"{{live_mode_style}}"},N:[{G:"div",aa:"Live Mode"},{G:"span",aa:"{{live_mode}}"}]},{G:"div",N:[{G:"div",aa:"Dropped Frames"},{G:"span",aa:"{{dropped_frames}}"}]}]}]});b&&this.O(this.g["html5-video-info-panel-close"],"click",this.hide);b=[0,18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "), | |
d=b.map(function(a){return a/4}); | |
this.B=new $_(300,1,150,b,c);g.N(this,this.B);this.updateValue("bandwidth_chart",this.B);this.D=new $_(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.N(this,this.D);this.updateValue("live_latency_chart",this.D);this.C=new $_(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.N(this,this.C);this.updateValue("buffer_health_chart",this.C);this.F=new $_(300,1,150,d,c);g.N(this,this.F);this.updateValue("network_activity_chart", | |
this.F);this.A=new g.Wt(this.Pu,500,this);g.N(this,this.A);this.l=a}; | |
cta=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+RH(a)+")":RH(a))+(a.video&&a.video.isAccelerated?" [acc]":"")}; | |
c0=function(a,b){g.M.call(this);var c=this;this.pa=Nja(b);var d=this.pa.args||{};this.g=new LM(d);g.N(this,this.g);this.g.experiments.g("html5_parse_inline_fallback_host")&&(xK=!0);this.g.experiments.g("html5_vp9_new_mime")&&void 0!=window.navigator.mediaCapabilities&&(DL=!0);this.Hd=mM(CM(this.g)&&!0,d.enablesizebutton);this.Xb=mM(!1,d.player_wide);this.I=new NT;g.N(this,this.I);this.Z=mM(!1,d.external_list);this.ya=(this.kd=mM(!1,d.external_play_video))&&this.g.experiments.g("player_unified_fullscreen_transitions"); | |
this.K=new g.CF(this);g.N(this,this.K);wg=function(a,b){g.PD(b,"WARNING")}; | |
this.X=null;this.ca=new g.UC;g.N(this,this.ca);this.ga=new g.UC;g.N(this,this.ga);this.ha=new Z_(this.ga);this.ha.pause();this.l=new MU(this);g.N(this,this.l);this.H=new MU(this,1);g.N(this,this.H);this.F=new T_(this);g.N(this,this.F);this.T=1;this.sb={};this.M=this.g.storeUserVolume?Uja():{volume:100,muted:this.g.mute};this.Da=this.g.zb?new WP(this,1):new wH(this,1);g.N(this,this.Da);this.B=null;this.Nc={};d={};this.tb=(d.internalvideodatachange=this.zQ,d.playbackready=this.AQ,d.playbackstarted= | |
this.BQ,d.statechange=this.CQ,d.signatureexpired=this.eU,d);this.A=dta(this);this.zc=new g.CF(this);g.N(this,this.zc);this.J=new YP(this.g,this.A);this.o=eta(this);d={};this.Gd=(d.airplayactivechange=this.rQ,d.airplayavailabilitychange=this.sQ,d.beginseeking=this.LQ,d.endseeking=this.ER,d.internalAbandon=this.XR,d.internalaudioformatchange=this.EQ,d.internalvideodatachange=this.bu,d.internalvideoformatchange=this.GU,d.liveviewshift=this.eS,d.playbackstalledatstart=this.kU,d.progresssync=this.oM,d.seekto= | |
this.pM,d.onLoadProgress=this.fS,d.onVideoProgress=this.rM,d.onLoadedMetadata=this.hS,d.onDompaused=this.yR,d.playbackready=this.dT,d.statechange=this.wD,d.connectionissue=this.kR,d.newelementrequired=this.KS,d.heartbeatparams=this.mM,d.videoelementevent=this.qM,d.drmoutputrestricted=this.AR,d.requestmediasource=this.GT,d);this.D=null;this.La=new O_(10,function(a){a!=g.TU(c,a.getPlayerType())&&(fta("c","prefetch_"+a.getVideoData().videoId),a.dispose())}); | |
g.N(this,this.La);this.vb=this.Nb=-1;this.Sa=new g.Wt(this.F.xf,16,this.F);g.N(this,this.Sa);this.Wa=!1;this.na=!0;this.sa=this.Na=this.C=null;this.Cd=!1;this.Wb=this.Ed=null;this.Bd=this.ra=0;this.Y=this.Ga=!1;this.ea=this.fa=null;this.Dd=!1;this.Fd=!0;this.K.O(this.l,"crn_appapi",this.xQ);this.K.O(this.l,"crx_appapi",this.yQ);this.K.O(this.l,"crn_appad",this.CC);this.K.O(this.l,"crx_appad",this.CC);this.K.O(this.l,"crn_queued",this.uT);this.K.O(this.l,"presentingplayerstatechange",this.nM);this.K.O(this.l, | |
"resize",this.IT);this.F.ua(g.od(a));this.K.O(this.l,"offlineslatestatechange",this.QS);this.Oc=gta(this,this.F.element);g.N(this,this.Oc);g.EV=this.g.B;hta(this);this.J.g("fs");ita(this);g.RM(this.g)?g.lV(this.l,"ux"):(g.iY.ux=g.K_,this.A.yy())}; | |
eta=function(a){var b=new UT(a.g,1,a.J,a.F,(0,g.z)(a.ca.R,a.ca),(0,g.z)(a.l.Mi,a.l),a.F.ea,a.I);KU(b,a.g.g?1:jta(a,g.NG("yt-player-playback-rate")||1));d0(a,b,a.tb);return b}; | |
dta=function(a){var b="",c=a.pa.assets.js||"";0==c.indexOf("//")&&(c=a.g.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!a.g.experiments.g("web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.PD(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new hY(a.l,b,a);c={};a=(c.loaded=(0,g.z)(a.BS,a),c.unloaded=(0,g.z)(a.CS,a),c.destroyed=(0,g.z)(a.Tu,a),c);b.ha=a;return b}; | |
kta=function(a,b){var c=!(!a.X||!a.X.o);a.X||(a.X=new b0(a),g.N(a,a.X),g.mV(a.l,a.X.element,4));g.pH(a.X,b);e0(a)&&c!=b&&g.SU(a.A).EO();b&&a.D.Eb("sfn","1",!0)}; | |
h0=function(a){var b=f0.getTag(!0,!a.g.deviceHasDisplay);a.B=new g.lY(b);g.N(a,a.B);a.D&&g0(a,a.D);try{a.g.Z?(a.sa&&a.K.Ea(a.sa),a.sa=a.K.O(a.B,"volumechange",a.yS)):(a.B.setVolume(a.M.volume/100),a.B.ik(a.M.muted))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.dU(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",c);return}c=a.F;c.l=b;c.C=!1;c.l.parentNode||Id(c.F,c.l,0);c.H=new g.ah(0,0,0,0);bta(c);DW(c);g.S(c.l,"video-stream");g.S(c.l,"html5-main-video"); | |
b=c.app.g;b.vb&&c.l.setAttribute("data-no-fullscreen",!0);b.rg&&(c.l.setAttribute("webkit-playsinline",""),c.l.setAttribute("playsinline",""));b.kn&&c.l&&c.O(c.l,"click",c.l.play,c.l);try{a.B.ek()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.dU(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",c)}}; | |
g0=function(a,b){if(a.g.experiments.g("html5_use_media_element_view")){var c=window.MediaSource&&window.SourceBuffer&&window.SourceBuffer.prototype.hasOwnProperty("timestampOffset")?a.g.experiments.l("html5_view_offset"):0;boa(b,new g.L_(a.B,c,window.Infinity))}else boa(b,a.B)}; | |
i0=function(a){a.B&&(a.sa&&(a.K.Ea(a.sa),a.sa=null),a.D&&tU(a.D),Zsa(a.F),a.B.Ig()&&f0.releaseTag(a.B.la()),a.B=null)}; | |
g.k0=function(a,b){j0(a,BW(a,b))}; | |
j0=function(a,b){if(a.D!=b){var c=null;a.D&&(c=a.D.o,kY(a.A),iV(a,"cuerangesremoved",AS(a.D.I)||[]),lta(a));l0(a,b);a.D=b;a.B&&g0(a,b);d0(a,b,a.Gd);a.bu("newdata",b,b.getVideoData());c&&!g.sP(c,b.o)&&a.wD(new g.xP(b.o,c));b.ra.g&&a.bu("dataloaded",b,b.getVideoData());b.getVideoData().Ja&&a.l.va("onPlaybackQualityChange",b.getVideoData().Ja.video.quality);iV(a,"cuerangesadded",AS(a.D.I)||[]);g.tP(b.o)&&yU(b)}}; | |
d0=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)}; | |
l0=function(a,b){if(b!=a.o){var c=b.getPlayerType();a.Nc[c]=b}}; | |
g.$qa=function(a,b){var c=g.TU(a,b);c&&(c!=a.o?j0(a,a.o):lta(a))}; | |
lta=function(a){if(a.B){var b=a.A.o;b&&b.wA(a.B)&&(i0(a),h0(a))}tU(a.D);b=a.D;var c=a.Gd,d;for(d in c)b.unsubscribe(d,c[d],a);a.D=null}; | |
g.TU=function(a,b){return b?1==b?a.o:a.Nc[b]||null:a.D}; | |
BW=function(a,b){var c=g.TU(a,b);c||(c=m0(a,b),l0(a,c));return c}; | |
m0=function(a,b){var c=a.J;2==b&&(c=new YP(a.g));return new UT(a.g,b,c,a.F,(0,g.z)(a.ca.R,a.ca),(0,g.z)(a.l.Mi,a.l),a.F.ea,a.I)}; | |
mta=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.A;if(!d.A)try{d.g.getVideoData(1).adModule?(d.A=new WX(d.na,d.na.H),d.A&&d.A.create()):g.lV(d.g,"ad")}catch(e){g.lV(d.g,"ad"),g.PD(e)}d.vy();d.ga&&c?g.lV(d.g,"endscreen"):d.Qr();d.By();d.Dy();d.Cy();d.uy();d.ga&&c?(g.lV(d.g,"annotations_module"),g.lV(d.g,"creatorendscreen")):(d.Or(),d.Pr());d.ry();d.qy();d.Rr();d.wy();d.ty();d.Ey();d.Ay();c&&LO(b,a.g)?a.zc.O(a.l,"presentingplayerstatechange",a.kT):hra(a.A);a.l.R("videoready",b)}; | |
n0=function(a){var b=oI();return!!(b&&b.canPlayType&&b.canPlayType(a))}; | |
XX=function(a){return a.o.getVideoData()}; | |
nta=function(a,b){var c=g.TU(a,b);return(c=c?c.l:null)?iP(c):0}; | |
o0=function(a){var b=XX(a);return LO(b,a.g)}; | |
hta=function(a){var b=new g.hO(a.pa.args);g.PG()&&b.jd.push("remote");a.g.experiments.g("web_player_ux_module_wait")&&b.jd.push("ux");b.Od()&&(bU(a.o,b,(0,g.z)(a.Kd,a)),!a.g.experiments.g("html5_delay_initial_loading")&&o0(a)&&(a.g.Cd||a.g.Dd)&&gU(a.o))}; | |
ita=function(a){var b=a.F,c=b.app.g;c.Ed||b.vp("tag-pool-enabled");c.qc&&b.vp("house-brand");"gvn"==c.playerStyle&&(b.vp("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ca&&(b.I=g.RF("yt-dom-content-change",b.xf,b));b.O(window,"resize",b.xf,b);b=a.Da;b.o=a.F.element;for(var d in b.A)b.o[d]=b.A[d];(d=gF(a.F.element))&&a.K.O(a.F,d,a.MR);a.K.O(window,"resize",a.JT);b=a.pa.args;h0(a);d=XX(a);a.l.va("onVolumeChange",a.M);if(b&&hQ(b))if((c=SM(a.g))&&!a.Z&&(b.fetch=0),p0(a,b),c&&!a.Z)q0(a);else if(!d.Od())a.C.onReady((0,g.z)(a.cv, | |
a));j0(a,a.o);if(!g.X(a.o.o,128)){a:{b=a.g.deviceHasDisplay;try{var e=oI();if(e.canPlayType)for(b=b?ota:pta,c=0;c<b.length;c++)if(e.canPlayType(b[c])){var f=null;break a}f="fmt.noneavailable"}catch(k){f="html5.missingapi"}}"fmt.noneavailable"==f?g.dU(a.o,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==f?g.dU(a.o,f,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Od()&&o0(a)&&(a.g.Cd||a.g.Dd)?r0(a):g.XM(a.g)||qta(a)}}; | |
qta=function(a){a.l.R("initializingmode");g.s0(a,2);a.A.Rr()}; | |
r0=function(a){if(g.X(a.o.o,128))return!1;o0(a)&&a.g.Dd&&(f0.hasTags(void 0)&&a.Y?(AH(a,{muted:!1,volume:a.M.volume},!1),t0(a,!1)):f0.hasTags(void 0)||a.M.muted||(AH(a,{muted:!0,volume:a.M.volume},!1),t0(a,!0)));rta(a,1,a.o.getVideoData());a.l.R("initializingmode");j0(a,a.o);g.s0(a,3);var b=a.A.o;if(!a.g.Ed||b&&b.wA(a.B)&&a.Cd)i0(a),h0(a),g0(a,a.o);jU(a.o);if(g.X(a.o.o,128))return!1;u0(a,3);return a.Cd=!0}; | |
e0=function(a){a=g.SU(a.A);return!!a&&a.loaded}; | |
sta=function(a,b){if(a.D==a.o&&a.D.Kf!=b){var c=a.D;c.Kf=b;c.l&&c.l.hp(b);a.l.R("loopchange",b)}}; | |
v0=function(a,b,c){(0,window.isNaN)(b)||(b=jta(a,b),a.o.La!=b&&(KU(a.o,b),c&&!a.g.g&&g.MG("yt-player-playback-rate",b),a.l.va("onPlaybackRateChange",b)))}; | |
jta=function(a,b){var c=1;c=a.l.jk();return c=1>b?g.La(c,function(a){return a>=b}):Na(c,function(a){return a<=b})}; | |
w0=function(a,b){var c=HU(a.o,b);a.D&&a.D!=a.o&&(c=tta(c,HU(a.D,b),"ad_"));if(b&&a.B){c["0sz"]=0==a.B.Yl().Pf();c.op=a.B.dm("opacity");var d=a.B.lu().y+a.B.Yl().height;c.yof=0>=d;c.dis=a.B.dm("display")}(d=b?(0,g.fU)():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.H.gm();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.A.F)&&(c=tta(c,d.JF(),"fresca_"));return JSON.stringify(c,null,2)}; | |
g.RU=function(a){return 1==a.T?1:e0(a)?3:g.TU(a).getPlayerType()}; | |
x0=function(a,b){return 3==g.RU(a)?wP(g.SU(a.A).D):2==b?a.vb:a.Nb}; | |
vta=function(a){uta(a);sta(a,!1);a.sb={};a=a.J;var b=a.l;b.fa={};b.ca={};a.A=!1}; | |
q0=function(a){var b=wta();if(b)if(b.list){if(a.C&&a.C.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.l.isFullscreen()&&((c=c[a.C.pe()])&&c.encrypted_id!=a.C.Zb().videoId||(b.index=a.C.pe()));lQ(a.C,b);a.Na&&y0(a,a.Na)}else a.Na=null}else a.Nn()}; | |
p0=function(a,b){a.C&&(a.C.unsubscribe("error",a.Nn,a),g.Ze(a.C),a.C=null);b&&(a.Z&&(b.fetch=0),a.C=new g.gQ(b),a.C.subscribe("error",a.Nn,a))}; | |
z0=function(a,b,c,d){b in a.sb||(c=new g.bQ(c,d,{id:b,priority:1}),c.namespace="appad",zS(a.o.I,[c]),a.sb[b]=c)}; | |
xta=function(a){if(a.g.experiments.g("enable_player_chapter_markers")){for(var b=a.getVideoData(),c=[],d=0;d<b.chapterMarkers.length;d++){var e=b.chapterMarkers[d].playerChapterMarkerRenderer;if(e){var f={id:"__chapterMarker"+d+"__",style:"ytp-chapter-marker",visible:!0};e.color&&(f.color=e.color);e.tooltip&&(f.tooltip=e.tooltip);e.icons&&(f.icons=e.icons.map(function(a){return a.thumbnails[0].url})); | |
var k=e.startTimeMs;e=new g.bQ(k,e.endTimeMs||k,f);e.namespace="appchaptermarker";c.push(e)}}gV(a,c,1)}}; | |
g.s0=function(a,b){b!=a.T&&(2==b&&(u0(a,-1),u0(a,5)),a.T=b,a.l.R("appstatechange",b))}; | |
u0=function(a,b){a.D&&2==a.D.getPlayerType()?a.vb!=b&&(a.vb=b,a.l.va("onAdStateChange",b)):a.Nb!=b&&(a.Nb=b,a.l.va("onStateChange",b))}; | |
eY=function(a,b,c,d,e){c=0!=c;if(e=g.TU(a,e))2==a.T&&r0(a),lU(e,b,c,d)}; | |
yta=function(a){a.fa&&(a.D.I.B(a.fa.Fy),a.fa=null,a.ea&&(a.ea.dispose(),a.ea=null))}; | |
B0=function(a,b,c,d,e){a.g.qc&&hN(b);var f=new g.hO(b);d||(b&&hQ(b)?(SM(a.g)&&!a.Z&&(b.fetch=0),p0(a,b)):a.C&&p0(a,null),a.Z=mM(!1,b.external_list),SM(a.g)&&!a.Z&&q0(a));return A0(a,f,c,e)}; | |
rta=function(a,b,c){if(a.ea&&b==a.ea.getPlayerType()&&c.videoId==a.ea.getVideoData().videoId){var d=a.ea;a.ea=null}if(!d){var e=b+c.videoId;d=a.La.get(e);if(!d)return null;a.La.remove(e);if(d==g.TU(a,b))return d}if((d.getVideoData().oauthToken||c.oauthToken)&&d.getVideoData().oauthToken!=c.oauthToken)return null;if(1==d.getPlayerType()){d.getVideoData().autonavState=a.o.getVideoData().autonavState;b=d;c=a.o;e=a.tb;for(var f in e)c.unsubscribe(f,e[f],a);f=a.o.La;a.o.dispose();a.o=b;KU(a.o,f);d0(a, | |
b,a.tb);vta(a)}else(f=g.TU(a,b))&&f.dispose();a.D.getPlayerType()==d.getPlayerType()?j0(a,d):l0(a,d);return d}; | |
A0=function(a,b,c,d){XN("_start","")||(NN("yt_sts","p",""),ON("_start",void 0,""),a.J.info("srt",0));var e=rta(a,c||a.D.getPlayerType(),b);e&&(0,g.ZP)("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.TU(a,c);if(!e)return!1;a.Sa.stop();C0(a,c);bU(e,b,(0,g.z)(a.Kd,a),d)}e==a.o&&(a.g.J=b.oauthToken);if(!eU(e))return!1;a.Wa&&(e.sa=!1,a.Wa=!1);if(e==a.o)return g.s0(a,1),r0(a);jU(e);return!0}; | |
D0=function(a,b,c){c=g.TU(a,c);b&&c==a.o&&(c.getVideoData().th=!0)}; | |
F0=function(a,b,c){a.g.qc&&hN(b);if(b&&hQ(b))if(a.na=!0,p0(a,b),(b=a.C.Zb())&&b.Od())E0(a,b,c);else a.C.onReady((0,g.z)(a.cv,a));else c||(c=g.RU(a)),1==c&&a.Nn(),E0(a,new g.hO(b),c)}; | |
E0=function(a,b,c){var d=g.TU(a,c);d&&(C0(a,c),bU(d,b,(0,g.z)(a.Kd,a)),d==a.o&&(g.s0(a,1),qta(a)))}; | |
g.H0=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.l.isFullscreen()&&!a.ya||!CM(a.g)&&!g.AM(a.g)?(c=a.J,f=c.l,f.fa={},f.ca={},c.A=!1,a.J.reset(),b={video_id:b},e&&(b.autoplay="1"),a.g.experiments.g("html5_player_autonav_logging")&&e&&(b.autonav="1"),d?(b.list=d,a.na=!1,G0(a,b,void 0,void 0,void 0)):B0(a,b,1)):(c=c||{},c.lact=g.rG(),c.vis=a.l.Mi(),a.kd||"gaming"==a.g.playerStyle?a.l.va("onPlayVideo",{videoId:b,watchEndpoint:k,sessionData:c,listId:d}):(a=f&&a.getVideoData().isLiveDestination? | |
a.g.loaderUrl:a.g.getVideoUrl(b,d),g.x("yt.player.exports.navigate")(a,c)))}; | |
G0=function(a,b,c,d,e){if(g.Da(b)&&!g.Aa(b)){c="playlist list listType index startSeconds suggestedQuality".split(" ");d={};for(e=0;e<c.length;e++){var f=c[e];b[f]&&(d[f]=b[f])}b=d}else c={index:c,startSeconds:d,suggestedQuality:e},g.u(b)&&16==b.length?c.list="PL"+b:c.playlist=b,b=c;p0(a,b);a.C.onReady((0,g.z)(a.cv,a))}; | |
g.I0=function(a){if(a.l.app.Y)return!1;if(3==g.RU(a))return!0;SM(a.g)&&!a.Z&&q0(a);return!(!a.C||!a.C.hasNext())}; | |
J0=function(a,b,c){var d=g.TU(a,1).getVideoData().suggestions;g.nV(a.l)&&d?(d=g.G(d,g.oY),b=d[0],d=c?b.Ty:b.Rd,g.H0(a,b.Zb().videoId,d,b.getPlaylistId(),c)):!a.Z||a.l.isFullscreen()&&!a.ya?3==g.RU(a)?g.SU(a.A).CO():a.C&&(SM(a.g)&&!a.l.isFullscreen()?y0(a,"yt.www.watch.lists.next"):(a.C.hasNext(b)&&kQ(a.C,iQ(a.C)),a.C.Wc?(b=c&&a.g.experiments.g("html5_player_autonav_logging"),A0(a,a.C.Zb(void 0,c,b),1)):a.na=!1)):a.l.va("onPlaylistNext")}; | |
zta=function(a,b){!a.Z||a.l.isFullscreen()&&!a.ya?3==g.RU(a)?g.SU(a.A).DO():a.C&&(SM(a.g)&&!a.l.isFullscreen()?y0(a,"yt.www.watch.lists.prev"):(a.C.Zf(b)&&kQ(a.C,jQ(a.C)),a.C.Wc?A0(a,a.C.Zb(),1):a.na=!1)):a.l.va("onPlaylistPrevious")}; | |
y0=function(a,b){var c=g.x(b);if(c){var d=wta();d&&d.list&&c();a.Na=null}else a.Na=b}; | |
wta=function(){var a=g.x("yt.www.watch.lists.getState");return a?a():null}; | |
Ata=function(a,b,c,d,e,f){b={id:b};"chapter"==f?(b.style="ytp-chapter-marker",b.visible=!0):(0,window.isNaN)(e)||("ad"==f?b.style="ytp-ad-progress":(b.style="ytp-time-marker",b.color=e),b.visible=!0);c=new g.bQ(1E3*c,1E3*d,b);c.namespace="appapi";gV(a,[c],1);return!0}; | |
gV=function(a,b,c){var d=g.TU(a,c);d&&(zS(d.I,b),c&&g.RU(a)!=c||iV(a,"cuerangesadded",b))}; | |
dra=function(a){var b=g.eG(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)}; | |
AH=function(a,b,c){a.g.I&&(a.M=b,b.muted||t0(a,!1),c&&a.g.storeUserVolume&&!a.g.Z&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.MG("yt-player-volume",c),g.MG("yt-player-volume",c,2592E3))),Bta(a),c=g.zI&&!a.B.pd(),!a.g.Z||c)&&(b=g.bc(b),a.g.storeUserVolume||(b.unstorable=!0),a.l.va("onVolumeChange",b))}; | |
Bta=function(a){var b=a.getVideoData();b.Bn||(b=a.g.Z?1:NO(b,a.g),a.B.setVolume(a.M.volume*b/100),a.B.ik(a.M.muted))}; | |
t0=function(a,b){b!=a.Y&&(a.Y=b,a.l.R("mutedautoplaychange",b))}; | |
Cta=function(a,b){var c=window.screen&&window.screen.orientation;if(a.g.experiments.g("lock_fullscreen2")&&c&&c.lock&&(!g.zI||!g.K0))if(b){var d=0==c.type.indexOf("portrait"),e=g.V_(a.F),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Ga||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.y);a.Ga=!0}}else a.Ga&&(a.Ga=!1,c.unlock())}; | |
M0=function(a,b){var c=!!b,d=!!L0(a)!=c;a.g.experiments.g("html5_new_vis_fullscreen_and_airplay")||(a.Bd=b,a.g.jj=c);var e=a.I;e.B!=b&&(e.B=b,e.A());a.F.xf();d&&a.J.g("fsc");d&&(a.l.R("fullscreentoggled",c),d=XX(a),c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.H.getPlaylistId()&&(c.listId=a.H.getPlaylistId()),a.l.va("onFullscreenChange",c))}; | |
L0=function(a){return a.g.experiments.g("html5_new_vis_fullscreen_and_airplay")?a.I.B:a.Bd}; | |
iV=function(a,b,c){a.l.R(b,c);var d=g.KM(a.g)||g.RM(a.g)||"WEB_REMIX"==a.g.o.c;if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.l.va(e,c)}}; | |
bY=function(a,b){var c=g.TU(a,b);c&&(2==a.T?r0(a):a.g.experiments.g("html5_restore_userreload_killswitch")&&c.o.isError()?N0(a,"user"):(null!=a.X&&a.X.o&&a.X.start(),g.X(c.o,2)?eY(a,0):yU(c)))}; | |
dY=function(a,b){var c=g.TU(a,b);c&&nU(c)}; | |
Dta=function(a){var b=a.o.getVideoData(),c=new g.hO({video_id:b.videoId,oauth_token:b.oauthToken});a.g.experiments.g("html5_stopVideo_copy_thumbs_killswitch")||(c.Nh=g.bc(b.Nh));E0(a,c,1);null!=a.X&&a.X.stop()}; | |
C0=function(a,b){g.EN(a.ra);a.ra=0;var c=g.TU(a,b);c&&1!=a.T&&2!=a.T&&(c==a.D&&kY(a.A),1==b&&(a.g.experiments.g("html5_stop_video_in_cancel_playback")&&EU(c),uta(a)),g.sU(c),iV(a,"cuerangesremoved",AS(c.I)||[]),c.I.reset())}; | |
Eta=function(a,b,c,d,e){c=0!=c;var f=g.TU(a,e);if(!f||2!=f.getPlayerType()&&!g.FO(f.getVideoData()))3==g.RU(a)?g.SU(a.A).lm("control_seek",b,c):eY(a,b,c,d,e)}; | |
N0=function(a,b,c){if(!(a.Wa||a.g.experiments.g("html5_only_reload_for_yt_killswitch")&&"yt"!=a.g.ea)){c&&(i0(a),h0(a));a.Wa=!0;c=g.TU(a);c.sa=!0;c.Eb("reloading","reason."+b);c=a.getVideoData();var d={};d.video_id=c.videoId;d.adformat=c.adFormat;c.za||(d.start=g.TU(a).getCurrentTime(),d.resume="1");c.df&&(d.vvt=c.df);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.Jq);c.oauthToken&&(d.oauth_token=c.oauthToken);d.autoplay=1;d.reload_count=c.mg+ | |
1;d.reload_reason=b;c.Mk&&(d.unplugged_partner_opt_out=c.Mk);B0(a,d)}}; | |
Fta=function(a,b){XX(a).autonavState=b;g.MG("yt-player-autonavstate",b);a.l.R("autonavchange",b)}; | |
Gta=function(a){var b=a.getVideoData().Bn,c=a.g.Yg;b||c?a.B.Vr():(a.B.Yr(),AH(a,a.M))}; | |
gta=function(a,b){return a.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&a.g.g?new S_(b):null}; | |
uta=function(a){(a=a.A.A)&&a.created&&a.destroy()}; | |
tta=function(a,b,c){for(var d in b)a[c+d]=b[d];return a}; | |
g.O0=function(a,b){var c={},d;for(d in b)c.placeholder=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(a){return function(){return a.placeholder}}(c)),c={placeholder:c.placeholder}; | |
return a}; | |
aa=[];fa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)}; | |
ea="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;aaa=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(); | |
na="function"==typeof Object.create?Object.create:function(a){function b(){} | |
b.prototype=a;return new b}; | |
if("function"==typeof Object.setPrototypeOf)P0=Object.setPrototypeOf;else{var Q0;a:{var Hta={ld:!0},Ita={};try{Ita.__proto__=Hta;Q0=Ita.ld;break a}catch(a){}Q0=!1}P0=Q0?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var oa=P0; | |
qa("String.prototype.repeat",function(a){return a?a:function(a){var b=ra(this,null,"repeat");if(0>a||1342177279<a)throw new window.RangeError("Invalid count value");a|=0;for(var d="";a;)if(a&1&&(d+=b),a>>>=1)b+=b;return d}}); | |
qa("Array.prototype.find",function(a){return a?a:function(a,c){a:{var b=this;b instanceof String&&(b=String(b));for(var e=b.length,f=0;f<e;f++){var k=b[f];if(a.call(c,k,f,b)){b=k;break a}}b=void 0}return b}}); | |
qa("String.prototype.endsWith",function(a){return a?a:function(a,c){var b=ra(this,a,"endsWith");a+="";void 0===c&&(c=b.length);for(var e=Math.max(0,Math.min(c|0,b.length)),f=a.length;0<f&&0<e;)if(b[--e]!=a[--f])return!1;return 0>=f}}); | |
var Jta="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)sa(d,e)&&(a[e]=d[e])}return a}; | |
qa("Object.assign",function(a){return a||Jta}); | |
qa("Promise",function(a){function b(a){this.l=0;this.o=void 0;this.g=[];var b=this.A();try{a(b.resolve,b.reject)}catch(m){b.reject(m)}} | |
function c(){this.g=null} | |
function d(a){return a instanceof b?a:new b(function(b){b(a)})} | |
if(a)return a;c.prototype.l=function(a){null==this.g&&(this.g=[],this.A());this.g.push(a)}; | |
c.prototype.A=function(){var a=this;this.o(function(){a.C()})}; | |
var e=ea.setTimeout;c.prototype.o=function(a){e(a,0)}; | |
c.prototype.C=function(){for(;this.g&&this.g.length;){var a=this.g;this.g=[];for(var b=0;b<a.length;++b){var c=a[b];a[b]=null;try{c()}catch(n){this.B(n)}}}this.g=null}; | |
c.prototype.B=function(a){this.o(function(){throw a;})}; | |
b.prototype.A=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}} | |
var b=this,c=!1;return{resolve:a(this.I),reject:a(this.B)}}; | |
b.prototype.I=function(a){if(a===this)this.B(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.J(a);else{a:switch(typeof a){case "object":var c=null!=a;break a;case "function":c=!0;break a;default:c=!1}c?this.H(a):this.C(a)}}; | |
b.prototype.H=function(a){var b=void 0;try{b=a.then}catch(m){this.B(m);return}"function"==typeof b?this.K(b,a):this.C(a)}; | |
b.prototype.B=function(a){this.D(2,a)}; | |
b.prototype.C=function(a){this.D(1,a)}; | |
b.prototype.D=function(a,b){if(0!=this.l)throw Error("Cannot settle("+a+", "+b+"): Promise already settled in state"+this.l);this.l=a;this.o=b;this.F()}; | |
b.prototype.F=function(){if(null!=this.g){for(var a=0;a<this.g.length;++a)f.l(this.g[a]);this.g=null}}; | |
var f=new c;b.prototype.J=function(a){var b=this.A();a.In(b.resolve,b.reject)}; | |
b.prototype.K=function(a,b){var c=this.A();try{a.call(b,c.resolve,c.reject)}catch(n){c.reject(n)}}; | |
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(L){f(L)}}:b} | |
var e,f,k=new b(function(a,b){e=a;f=b}); | |
this.In(d(a,e),d(c,f));return k}; | |
b.prototype["catch"]=function(a){return this.then(void 0,a)}; | |
b.prototype.In=function(a,b){function c(){switch(d.l){case 1:a(d.o);break;case 2:b(d.o);break;default:throw Error("Unexpected state: "+d.l);}} | |
var d=this;null==this.g?f.l(c):this.g.push(c)}; | |
b.resolve=d;b.reject=function(a){return new b(function(b,c){c(a)})}; | |
b.race=function(a){return new b(function(b,c){for(var e=g.ma(a),f=e.next();!f.done;f=e.next())d(f.value).In(b,c)})}; | |
b.all=function(a){var c=g.ma(a),e=c.next();return e.done?d([]):new b(function(a,b){function f(b){return function(c){k[b]=c;l--;0==l&&a(k)}} | |
var k=[],l=0;do k.push(void 0),l++,d(e.value).In(f(k.length-1),b),e=c.next();while(!e.done)})}; | |
return b}); | |
qa("Math.trunc",function(a){return a?a:function(a){a=Number(a);if((0,window.isNaN)(a)||window.Infinity===a||-window.Infinity===a||0===a)return a;var b=Math.floor(Math.abs(a));return 0>a?-b:b}}); | |
qa("Array.prototype.fill",function(a){return a?a:function(a,c,d){var b=this.length||0;0>c&&(c=Math.max(0,b+c));if(null==d||d>b)d=b;d=Number(d);0>d&&(d=Math.max(0,b+d));for(c=Number(c||0);c<d;c++)this[c]=a;return this}}); | |
qa("WeakMap",function(a){function b(a){this.Fa=(f+=Math.random()+1).toString();if(a){da();ka();a=g.ma(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}} | |
function c(a){sa(a,e)||fa(a,e,{value:{}})} | |
function d(a){var b=Object[a];b&&(Object[a]=function(a){c(a);return b(a)})} | |
if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(n){return!1}}())return a; | |
var e="$jscomp_hidden_"+Math.random();d("freeze");d("preventExtensions");d("seal");var f=0;b.prototype.set=function(a,b){c(a);if(!sa(a,e))throw Error("WeakMap key fail: "+a);a[e][this.Fa]=b;return this}; | |
b.prototype.get=function(a){return sa(a,e)?a[e][this.Fa]:void 0}; | |
b.prototype.has=function(a){return sa(a,e)&&sa(a[e],this.Fa)}; | |
b.prototype["delete"]=function(a){return sa(a,e)&&sa(a[e],this.Fa)?delete a[e][this.Fa]:!1}; | |
return b}); | |
qa("Map",function(a){function b(){var a={};return a.previous=a.next=a.head=a} | |
function c(a,b){var c=a.g;return la(function(){if(c){for(;c.head!=a.g;)c=c.previous;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})} | |
function d(a,b){var c=b&&typeof b;"object"==c||"function"==c?f.has(b)?c=f.get(b):(c=""+ ++k,f.set(b,c)):c="p_"+b;var d=a.l[c];if(d&&sa(a.l,c))for(var e=0;e<d.length;e++){var l=d[e];if(b!==b&&l.key!==l.key||b===l.key)return{id:c,list:d,index:e,Jd:l}}return{id:c,list:d,index:-1,Jd:void 0}} | |
function e(a){this.l={};this.g=b();this.size=0;if(a){a=g.ma(a);for(var c;!(c=a.next()).done;)c=c.value,this.set(c[0],c[1])}} | |
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(g.ma([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch(r){return!1}}())return a; | |
da();ka();var f=new window.WeakMap;e.prototype.set=function(a,b){a=0===a?0:a;var c=d(this,a);c.list||(c.list=this.l[c.id]=[]);c.Jd?c.Jd.value=b:(c.Jd={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.Jd),this.g.previous.next=c.Jd,this.g.previous=c.Jd,this.size++);return this}; | |
e.prototype["delete"]=function(a){a=d(this,a);return a.Jd&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.l[a.id],a.Jd.previous.next=a.Jd.next,a.Jd.next.previous=a.Jd.previous,a.Jd.head=null,this.size--,!0):!1}; | |
e.prototype.clear=function(){this.l={};this.g=this.g.previous=b();this.size=0}; | |
e.prototype.has=function(a){return!!d(this,a).Jd}; | |
e.prototype.get=function(a){return(a=d(this,a).Jd)&&a.value}; | |
e.prototype.entries=function(){return c(this,function(a){return[a.key,a.value]})}; | |
e.prototype.keys=function(){return c(this,function(a){return a.key})}; | |
e.prototype.values=function(){return c(this,function(a){return a.value})}; | |
e.prototype.forEach=function(a,b){for(var c=this.entries(),d;!(d=c.next()).done;)d=d.value,a.call(b,d[1],d[0],this)}; | |
e.prototype[window.Symbol.iterator]=e.prototype.entries;var k=0;return e}); | |
qa("Set",function(a){function b(a){this.g=new window.Map;if(a){a=g.ma(a);for(var b;!(b=a.next()).done;)this.add(b.value)}this.size=this.g.size} | |
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),d=new a(g.ma([b]));if(!d.has(b)||1!=d.size||d.add(b)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=b||f.value[1]!=b)return!1;f=e.next();return f.done||f.value[0]==b||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(k){return!1}}())return a; | |
da();ka();b.prototype.add=function(a){a=0===a?0:a;this.g.set(a,a);this.size=this.g.size;return this}; | |
b.prototype["delete"]=function(a){a=this.g["delete"](a);this.size=this.g.size;return a}; | |
b.prototype.clear=function(){this.g.clear();this.size=0}; | |
b.prototype.has=function(a){return this.g.has(a)}; | |
b.prototype.entries=function(){return this.g.entries()}; | |
b.prototype.values=function(){return this.g.values()}; | |
b.prototype.keys=b.prototype.values;b.prototype[window.Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(a,b){var c=this;this.g.forEach(function(d){return a.call(b,d,d,c)})}; | |
return b}); | |
qa("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}}); | |
qa("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var e=b.length,f=c||0;for(0>f&&(f=Math.max(f+e,0));f<e;f++){var k=b[f];if(k===a||Object.is(k,a))return!0}return!1}}); | |
qa("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==ra(this,a,"includes").indexOf(a,c||0)}}); | |
qa("Array.from",function(a){return a?a:function(a,c,d){ka();c=null!=c?c:function(a){return a}; | |
var b=[],f=a[window.Symbol.iterator];if("function"==typeof f){a=f.call(a);for(var k=0;!(f=a.next()).done;)b.push(c.call(d,f.value,k++))}else for(f=a.length,k=0;k<f;k++)b.push(c.call(d,a[k],k));return b}}); | |
qa("Object.values",function(a){return a?a:function(a){var b=[],d;for(d in a)sa(a,d)&&b.push(a[d]);return b}}); | |
var Kta=function(){function a(){function a(){} | |
window.Reflect.construct(a,[],function(){}); | |
return new a instanceof a} | |
if("undefined"!=typeof window.Reflect&&window.Reflect.construct){if(a())return window.Reflect.construct;var b=window.Reflect.construct;return function(a,d,e){a=b(a,d);e&&window.Reflect.setPrototypeOf(a,e.prototype);return a}}return function(a,b,e){void 0===e&&(e=a); | |
e=na(e.prototype||Object.prototype);return Function.prototype.apply.call(a,e,b)||e}}(); | |
qa("Reflect.construct",function(){return Kta}); | |
qa("Number.isFinite",function(a){return a?a:function(a){return"number"!==typeof a?!1:!(0,window.isNaN)(a)&&window.Infinity!==a&&-window.Infinity!==a}}); | |
qa("Number.parseInt",function(a){return a||window.parseInt}); | |
qa("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991}); | |
qa("Math.log2",function(a){return a?a:function(a){return Math.log(a)/Math.LN2}}); | |
fx=fx||{};g.w=this;baa=/^[\w+/_-]+[=]{0,2}$/;wa=null;Ea="closure_uid_"+(1E9*Math.random()>>>0);caa=0;g.F=Date.now||function(){return+new Date};g.A(Ia,Error);Ia.prototype.name="CustomError";var md;var Lta,Ij;g.Oa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.u(a))return g.u(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}; | |
Lta=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.u(a))return g.u(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1}; | |
g.B=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.u(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)}; | |
g.Kd=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.u(a)?a.split(""):a,l=0;l<d;l++)if(l in k){var m=k[l]; | |
b.call(c,m,l,a)&&(e[f++]=m)}return e}; | |
g.G=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=g.u(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a)); | |
return e}; | |
Ij=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c; | |
(0,g.B)(a,function(c,f){d=b.call(void 0,d,c,f,a)}); | |
return d}; | |
g.Aj=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.u(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.cm=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.u(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 zb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},laa=/&/g,maa=/</g,naa=/>/g,oaa=/"/g,paa=/'/g,qaa=/\x00/g,kaa=/[\x00&<>"']/,taa=/&([^;\s<&]+);?/g,wb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},uaa=2147483648*Math.random()|0;a:{var Mta=g.w.navigator;if(Mta){var Nta=Mta.userAgent;if(Nta){g.Ib=Nta;break a}}g.Ib=""};var dc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");mc[" "]=g.y;var IL,GT,Nn,On,Ota,R0;g.cf=Jb("Opera");g.xd=Jb("Trident")||Jb("MSIE");IL=Jb("Edge");g.lH=IL||g.xd;g.qh=Jb("Gecko")&&!(vb(g.Ib,"WebKit")&&!Jb("Edge"))&&!(Jb("Trident")||Jb("MSIE"))&&!Jb("Edge");g.zd=vb(g.Ib,"WebKit")&&!Jb("Edge");GT=Jb("Macintosh");g.K0=Jb("Windows");g.Un=Jb("Android");Nn=kc();On=Jb("iPad");Ota=Jb("iPod");g.Pta=lc(); | |
a:{var S0="",T0=function(){var a=g.Ib;if(g.qh)return/rv:([^\);]+)(\)|;)/.exec(a);if(IL)return/Edge\/([\d\.]+)/.exec(a);if(g.xd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.zd)return/WebKit\/(\S+)/.exec(a);if(g.cf)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); | |
T0&&(S0=T0?T0[1]:"");if(g.xd){var U0=oc();if(null!=U0&&U0>(0,window.parseFloat)(S0)){R0=String(U0);break a}}R0=S0}var pc=R0,waa={},Qta;var Rta=g.w.document;Qta=Rta&&g.xd?oc()||("CSS1Compat"==Rta.compatMode?(0,window.parseInt)(pc,10):5):void 0;var yaa=Qta;var Laa,Naa,Oaa;Laa=!g.xd||g.rc(9);Naa=!g.qh&&!g.xd||g.xd&&g.rc(9)||g.qh&&g.qc("1.9.1");g.Sta=g.xd&&!g.qc("9");Oaa=g.xd||g.cf||g.zd;var Kaa={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};vc.prototype.Fg=!0;vc.prototype.Me=function(){return this.g}; | |
vc.prototype.toString=function(){return"Const{"+this.g+"}"}; | |
var uc={};g.xc("");var zaa=/<[^>]*>|&[^;]+;/g,Tta=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Caa=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Tra=RegExp("^[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),nra=RegExp("^[^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"), | |
zc=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Baa=/^http:\/\/.*/,Aaa=/\s+/,Daa=/[\d\u06f0-\u06f9]/;Cc.prototype.Fg=!0;Cc.prototype.Me=function(){return this.l}; | |
Cc.prototype.xt=!0;Cc.prototype.g=function(){return 1}; | |
var Bc={};Hc.prototype.Fg=!0;Hc.prototype.Me=function(){return this.l}; | |
Hc.prototype.xt=!0;Hc.prototype.g=function(){return 1}; | |
var Jc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Gc={};Kc("about:blank");Oc.prototype.Fg=!0;var Nc={};Oc.prototype.Me=function(){return this.g}; | |
var Iaa=Pc(""),Faa=/^[-,."'%_!# a-zA-Z0-9]+$/,Qc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Eaa=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-0-9a-z.%, ]+\\)","g");g.Tc.prototype.xt=!0;g.Tc.prototype.g=function(){return this.o}; | |
g.Tc.prototype.Fg=!0;g.Tc.prototype.Me=function(){return this.l}; | |
var Xc=/^[a-zA-Z0-9-]+$/,Jaa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Uta={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Sc={};Vc("<!DOCTYPE html>",0);Vc("",0);Vc("<br>",0);g.h=g.gd.prototype;g.h.clone=function(){return new g.gd(this.x,this.y)}; | |
g.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; | |
g.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; | |
g.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; | |
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.I.prototype;g.h.clone=function(){return new g.I(this.width,this.height)}; | |
g.h.Pf=function(){return this.width*this.height}; | |
g.h.aspectRatio=function(){return this.width/this.height}; | |
g.h.isEmpty=function(){return!this.Pf()}; | |
g.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; | |
g.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; | |
g.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; | |
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.width*=a;this.height*=c;return this};var rd={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=kd.prototype;g.h.la=function(){return g.u(void 0)?this.g.getElementById(void 0):void 0}; | |
g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))}; | |
g.h.RJ=function(a,b,c){return Bd(this.g,arguments)}; | |
g.h.createElement=function(a){return this.g.createElement(String(a))}; | |
g.h.appendChild=g.Fd;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.Jd;g.h.contains=g.Pd;var Paa=g.y;var yM,xM,zM;g.LL=Jb("Firefox");yM=kc()||Jb("iPod");xM=Jb("iPad");zM=g.jc();g.zI=hc();g.ZL=ic()&&!lc();var ge=null,le=null,fe=null;var oe=[];ne.prototype.clone=function(){return pe(this.l,this.A,this.o-this.A)}; | |
ne.prototype.clear=function(){this.l=null;this.g=this.o=this.A=0;this.B=!1}; | |
ne.prototype.reset=function(){this.g=this.A}; | |
ne.prototype.getError=function(){return this.B||0>this.g||this.g>this.o};re.prototype.getError=function(){return this.A||this.g.getError()}; | |
re.prototype.reset=function(){this.g.reset();this.l=this.o=-1};var ye="function"==typeof window.Uint8Array,ze=[];xe.prototype.toString=function(){Je(this);return this.o.toString()}; | |
xe.prototype.getExtension=function(a){if(this.l){this.g||(this.g={});var b=a.o;if(a.A){if(a.l())return this.g[b]||(this.g[b]=(0,g.G)(this.l[b]||[],function(b){return new a.g(b)})),this.g[b]}else if(a.l())return!this.g[b]&&this.l[b]&&(this.g[b]=new a.g(this.l[b])),this.g[b]; | |
return this.l[b]}}; | |
xe.prototype.clone=function(){return new this.constructor(Ke(Ie(this)))};g.A(Le,xe);g.A(Me,xe);g.A(Oe,xe);var Taa=[[9,10],[11,12],[18,19,20,21]];g.A(Pe,xe);var Uaa=[[2,3]];g.A(Qe,xe);var Vaa=[[9,15]];Qe.prototype.Le=function(){return Be(this,14)}; | |
g.A(Re,xe);g.A(Se,xe);g.A(Te,xe);g.A(Ue,xe);g.A(Ve,xe);g.A(We,xe);var Waa=[1];g.A(He,xe);g.w.console&&"function"===typeof g.w.console.log&&(0,g.z)(g.w.console.log,g.w.console);var vf=!g.xd||g.rc(9),Vta=g.xd&&!g.qc("9"),$aa=function(){if(!g.w.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}}); | |
g.w.addEventListener("test",g.y,b);g.w.removeEventListener("test",g.y,b);return a}();g.M.prototype.Hb=!1;g.M.prototype.ka=function(){return this.Hb}; | |
g.M.prototype.dispose=function(){this.Hb||(this.Hb=!0,this.V())}; | |
g.M.prototype.V=function(){if(this.ab)for(;this.ab.length;)this.ab.shift()()};g.af.prototype.stopPropagation=function(){this.Ui=!0}; | |
g.af.prototype.preventDefault=function(){this.defaultPrevented=!0;this.dE=!1};var Wta={Rq:"click",p2:"rightclick",oZ:"dblclick",I0:"mousedown",O0:"mouseup",N0:"mouseover",M0:"mouseout",L0:"mousemove",J0:"mouseenter",K0:"mouseleave",H0:"mousecancel",v2:"selectionchange",w2:"selectstart",C4:"wheel",c0:"keypress",b0:"keydown",d0:"keyup",wY:"blur",h_:"focus",pZ:"deactivate",i_:"focusin",j_:"focusout",PY:"change",f2:"reset",u2:"select",g3:"submit",M_:"input",W1:"propertychange",LZ:"dragstart",GZ:"drag",IZ:"dragenter",KZ:"dragover",JZ:"dragleave",NZ:"drop",HZ:"dragend",A3:"touchstart", | |
z3:"touchmove",y3:"touchend",x3:"touchcancel",tY:"beforeunload",bZ:"consolemessage",eZ:"contextmenu",rZ:"devicechange",sZ:"devicemotion",tZ:"deviceorientation",zZ:"DOMContentLoaded",ERROR:"error",y_:"help",LOAD:"load",y0:"losecapture",v1:"orientationchange",b2:"readystatechange",g2:"resize",r2:"scroll",X3:"unload",EY:"canplay",FY:"canplaythrough",OZ:"durationchange",TZ:"emptied",ENDED:"ended",o0:"loadeddata",p0:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",a2:"ratechange",s2:"seeked", | |
t2:"seeking",U2:"stalled",h3:"suspend",p3:"timeupdate",v4:"volumechange",z4:"waiting",S2:"sourceopen",R2:"sourceended",Q2:"sourceclosed",xX:"abort",UPDATE:"update",e4:"updatestart",b4:"updateend",r_:"hashchange",A1:"pagehide",B1:"pageshow",P1:"popstate",gZ:"copy",D1:"paste",lZ:"cut",nY:"beforecopy",oY:"beforecut",rY:"beforepaste",t1:"online",p1:"offline",MESSAGE:"message",aZ:"connect",O_:"install",yX:"activate",g_:"fetch",k_:"foreignfetch",F0:"messageerror",X2:"statechange",d4:"updatefound",fZ:"controllerchange", | |
dY:df("AnimationStart"),bY:df("AnimationEnd"),cY:df("AnimationIteration"),D3:df("TransitionEnd"),I1:"pointerdown",O1:"pointerup",H1:"pointercancel",L1:"pointermove",N1:"pointerover",M1:"pointerout",J1:"pointerenter",K1:"pointerleave",p_:"gotpointercapture",z0:"lostpointercapture",S0:"MSGestureChange",T0:"MSGestureEnd",U0:"MSGestureHold",V0:"MSGestureStart",W0:"MSGestureTap",X0:"MSGotPointerCapture",Y0:"MSInertiaStart",Z0:"MSLostPointerCapture",a1:"MSPointerCancel",b1:"MSPointerDown",c1:"MSPointerEnter", | |
d1:"MSPointerHover",e1:"MSPointerLeave",f1:"MSPointerMove",g1:"MSPointerOut",h1:"MSPointerOver",j1:"MSPointerUp",TEXT:"text",l3:g.xd?"textinput":"textInput",YY:"compositionstart",ZY:"compositionupdate",XY:"compositionend",pY:"beforeinput",b_:"exit",m0:"loadabort",n0:"loadcommit",q0:"loadredirect",r0:"loadstart",s0:"loadstop",m2:"responsive",K2:"sizechanged",Z3:"unresponsive",u4:"visibilitychange",c3:"storage",FZ:"DOMSubtreeModified",AZ:"DOMNodeInserted",CZ:"DOMNodeRemoved",EZ:"DOMNodeRemovedFromDocument", | |
BZ:"DOMNodeInsertedIntoDocument",xZ:"DOMAttrModified",yZ:"DOMCharacterDataModified",sY:"beforeprint",QX:"afterprint",qY:"beforeinstallprompt",eY:"appinstalled"};g.A(ef,g.af);var Xta={2:"touch",3:"pen",4:"mouse"}; | |
ef.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?g.qh&&(nc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=g.zd||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=g.zd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY? | |
a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=g.u(a.pointerType)? | |
a.pointerType:Xta[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()}; | |
ef.prototype.stopPropagation=function(){ef.ba.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0}; | |
ef.prototype.preventDefault=function(){ef.ba.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Vta)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Xaa;g.ff="closure_listenable_"+(1E6*Math.random()|0);Xaa=0;jf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.g++);var k=mf(a,b,d,e);-1<k?(b=a[k],c||(b.Hn=!1)):(b=new Yaa(b,this.src,f,!!d,e),b.Hn=c,a.push(b));return b}; | |
jf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=mf(e,b,c,d);return-1<b?(hf(e[b]),g.Ta(e,b),0==e.length&&(delete this.listeners[a],this.g--),!0):!1}; | |
jf.prototype.zl=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=mf(a,b,c,d));return-1<e?a[e]:null}; | |
jf.prototype.hasListener=function(a,b){var c=g.t(a),d=c?a.toString():"",e=g.t(b);return Mb(this.listeners,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};var sf="closure_lm_"+(1E6*Math.random()|0),yf={},uf=0,Bf="__closure_events_fn_"+(1E9*Math.random()>>>0);g.A(g.Cf,g.M);g.Cf.prototype[g.ff]=!0;g.h=g.Cf.prototype;g.h.Lh=function(a){this.ra=a}; | |
g.h.addEventListener=function(a,b,c,d){g.of(this,a,b,c,d)}; | |
g.h.removeEventListener=function(a,b,c,d){g.wf(this,a,b,c,d)}; | |
g.h.dispatchEvent=function(a){var b=this.ra;if(b){var c=[];for(var d=1;b;b=b.ra)c.push(b),++d}b=this.vb;d=a.type||a;if(g.u(a))a=new g.af(a,b);else if(a instanceof g.af)a.target=a.target||b;else{var e=a;a=new g.af(d,b);g.ec(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Ui&&0<=f;f--){var k=a.currentTarget=c[f];e=Df(k,d,!0,a)&&e}a.Ui||(k=a.currentTarget=b,e=Df(k,d,!0,a)&&e,a.Ui||(e=Df(k,d,!1,a)&&e));if(c)for(f=0;!a.Ui&&f<c.length;f++)k=a.currentTarget=c[f],e=Df(k,d,!1,a)&&e;return e}; | |
g.h.V=function(){g.Cf.ba.V.call(this);this.He&&g.lf(this.He);this.ra=null}; | |
g.h.U=function(a,b,c,d){return this.He.add(String(a),b,!1,c,d)}; | |
g.h.xh=function(a,b,c,d){return this.He.add(String(a),b,!0,c,d)}; | |
g.h.Ea=function(a,b,c,d){this.He.remove(String(a),b,c,d)}; | |
g.h.zl=function(a,b,c,d){return this.He.zl(String(a),b,c,d)}; | |
g.h.hasListener=function(a,b){return this.He.hasListener(g.t(a)?String(a):void 0,b)};Ef.prototype.get=function(){if(0<this.l){this.l--;var a=this.g;this.g=a.next;a.next=null}else a=this.o();return a};var Jf;var Sf=new Ef(function(){return new Mf},function(a){a.reset()}); | |
Lf.prototype.add=function(a,b){var c=Sf.get();c.set(a,b);this.l?this.l.next=c:this.g=c;this.l=c}; | |
Lf.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.l=null),a.next=null);return a}; | |
Mf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null}; | |
Mf.prototype.reset=function(){this.next=this.scope=this.g=null};var Nf,Of=!1,Pf=new Lf;Yf.prototype.reset=function(){this.context=this.onRejected=this.o=this.g=null;this.l=!1}; | |
var Zf=new Ef(function(){return new Yf},function(a){a.reset()}); | |
g.Xf.prototype.then=function(a,b,c){return ig(this,g.Ca(a)?a:null,g.Ca(b)?b:null,c)}; | |
Tf(g.Xf);g.Xf.prototype.cancel=function(a){0==this.g&&g.Qf(function(){var b=new og(a);kg(this,b)},this)}; | |
g.Xf.prototype.H=function(a){this.g=0;Wf(this,2,a)}; | |
g.Xf.prototype.I=function(a){this.g=0;Wf(this,3,a)}; | |
g.Xf.prototype.F=function(){for(var a;a=lg(this);)mg(this,a,this.g,this.D);this.C=!1}; | |
var qg=If;g.A(og,Ia);og.prototype.name="cancel";g.A(g.rg,g.Cf);g.h=g.rg.prototype;g.h.enabled=!1;g.h.Ca=null;g.h.setInterval=function(a){this.rd=a;this.Ca&&this.enabled?(this.stop(),this.start()):this.Ca&&this.stop()}; | |
g.h.Zc=function(){if(this.enabled){var a=(0,g.F)()-this.FA;0<a&&a<.8*this.rd?this.Ca=this.Om.setTimeout(this.Sx,this.rd-a):(this.Ca&&(this.Om.clearTimeout(this.Ca),this.Ca=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}}; | |
g.h.start=function(){this.enabled=!0;this.Ca||(this.Ca=this.Om.setTimeout(this.Sx,this.rd),this.FA=(0,g.F)())}; | |
g.h.stop=function(){this.enabled=!1;this.Ca&&(this.Om.clearTimeout(this.Ca),this.Ca=null)}; | |
g.h.V=function(){g.rg.ba.V.call(this);this.stop();delete this.Om};var wg=g.y,Ag={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},nba=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;g.h=Bg.prototype;g.h.isEnabled=function(){return window.navigator.cookieEnabled}; | |
g.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');g.t(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.F)()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f}; | |
g.h.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=zb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b}; | |
g.h.remove=function(a,b,c){var d=g.t(this.get(a));this.set(a,"",0,b,c);return d}; | |
g.h.Bb=function(){return Cg(this).keys}; | |
g.h.ub=function(){return Cg(this).values}; | |
g.h.isEmpty=function(){return!this.g.cookie}; | |
g.h.Dc=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0}; | |
g.h.clear=function(){for(var a=Cg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])}; | |
var uG=new Bg("undefined"==typeof window.document?null:window.document);uG.l=3950;var oba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Sg=/#|$/,pba=/[?&]($|#)/;Wg.prototype.remove=function(a){Zb(this.g,a)}; | |
Wg.prototype.set=function(a,b){this.g[a]=b}; | |
Wg.prototype.get=function(a){return $b(this.g,a,null)};g.h=g.Yg.prototype;g.h.Cb=function(){return this.right-this.left}; | |
g.h.getHeight=function(){return this.bottom-this.top}; | |
g.h.clone=function(){return new g.Yg(this.top,this.right,this.bottom,this.left)}; | |
g.h.contains=function(a){return this&&a?a instanceof g.Yg?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.Da(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this}; | |
g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; | |
g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; | |
g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; | |
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.ah.prototype;g.h.clone=function(){return new g.ah(this.left,this.top,this.width,this.height)}; | |
g.h.contains=function(a){return a instanceof g.gd?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; | |
g.h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; | |
g.h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; | |
g.h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; | |
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var kh=null;gh.prototype.getValue=function(){return this.g}; | |
gh.prototype.l=function(){return String(this.g)}; | |
g.A(hh,gh);hh.prototype.l=function(){return this.g?"1":"0"}; | |
g.A(ih,gh);ih.prototype.l=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};var ph={},Qh={thin:2,medium:4,thick:6};new g.rg(200);var ii=window.document,ei=window;var vba=/https?:\/\/[^\/]+/;var zba=g.Hf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}}); | |
g.w.addEventListener("test",null,b)}catch(c){}return a});var gi=!!window.google_async_iframe_id,hi=gi&&window.parent||window;var Aba=[0,2,1],ki=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){ki=a},!0); | |
window.mb=function(a){if(a){var b=li();b&&(window.css?window.css(a.id,"mb",b,void 0,void 0):a&&(a.href=Wh(a.href,"mb",b,void 0)))}};var lca={NONE:0,RZ:1},aca={E3:1};ni.prototype.isVisible=function(){return this.zi?.3<=this.g:.5<=this.g};var rj={PG:0,d_:1},Oba={r1:0,LH:1,o1:2},Zba={370204032:0,370204033:1},$ba={370204034:0,370204035:1,370204038:0,370204039:1},Yba={370204028:0,370204029:1,370204040:0,370204041:1},Pba={953563515:0,953563516:1,953563517:2},Uba={370204018:0,370204019:1,370204026:0,370204027:1},Vba={370204024:0,370204025:1},Sba={668123008:0,668123009:1},Tba={668123028:0,668123029:1},Qba={NONE:0,Z_:1},Rba={480596784:0,480596785:1},Wba={PG:0,h0:1,g0:2},Xba={21061799:0,21061800:1,21061801:2};oi.prototype.getValue=function(){return this.g};ri.prototype.disable=function(){this.o=!1}; | |
ri.prototype.enable=function(){this.o=!0}; | |
ri.prototype.isEnabled=function(){return this.o}; | |
ri.prototype.reset=function(){this.g={};this.o=!0;this.l={}};var Gba=(0,g.F)(),yi=-1,wi=-1,Nk,zi=-1,xi=!1;Bi.prototype.Od=function(){return!!this.l||!!this.g}; | |
Bi.prototype.toString=function(){return this.l+(this.g?"-":"")+this.g}; | |
Bi.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.l||a.l?this.l==a.l:!1};var Hba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;Gi.prototype.Ta=function(a,b,c,d){a=a+"//"+b+c;var e=Jba(this)-c.length-d.length;if(0>e)return"";this.g.sort(function(a,b){return a-b}); | |
c=null;b="";for(var f=0;f<this.g.length;f++)for(var k=this.g[f],l=this.l[k],m=0;m<l.length;m++){if(!e){c=null==c?k:c;break}var n=Li(l[m],this.o,",$");if(n){n=b+n;if(e>=n.length){e-=n.length;a+=n;b=this.o;break}else this.B&&(b=e,n[b-1]==this.o&&--b,a+=n.substr(0,b),b=this.o,e=0);c=null==c?k:c}}f="";this.A&&null!=c&&(f=b+this.A+"="+c);return a+f+d};var V0=null;var Yga={W3:0,m1:1,j2:2,a_:3,s3:4,n_:5,x0:6,l2:7,mY:8,q_:9,vY:10,B2:11};var Ti=g.w.performance,Yta=!!(Ti&&Ti.mark&&Ti.measure&&Ti.clearMarks),Ri=g.Hf(function(){var a;if(a=Yta){var b;if(null===V0){V0="";try{a="";try{a=g.w.top.location.hash}catch(c){a=g.w.location.hash}a&&(V0=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=V0;a=!!b.indexOf&&0<=b.indexOf("1337")}return a}); | |
Si.prototype.disable=function(){this.l=!1;this.events!=this.g.google_js_reporting_queue&&(Ri()&&(0,g.B)(this.events,Ui),this.events.length=0)}; | |
Si.prototype.D=function(a){this.l&&this.events.push(a)}; | |
Si.prototype.start=function(a,b){if(!this.l)return null;var c=Pi()||Oi();c=new Qi(a,b,c);var d="goog_"+c.uniqueId+"_start";Ti&&Ri()&&Ti.mark(d);return c}; | |
Si.prototype.end=function(a){if(this.l&&g.ua(a.value)){var b=Pi()||Oi();a.duration=b-a.value;b="goog_"+a.uniqueId+"_end";Ti&&Ri()&&Ti.mark(b);this.D(a)}};g.h=Xi.prototype;g.h.uE=function(a){this.g=a}; | |
g.h.BE=function(a){this.l=a}; | |
g.h.Np=function(a,b,c,d){try{if(this.Ca&&this.Ca.l){var e=this.Ca.start(a.toString(),3);var f=b();this.Ca.end(e)}else f=b()}catch(l){b=this.l;try{Ui(e);var k=$i(l);b=(d||this.A).call(this,a,k,void 0,c)}catch(m){this.zh(217,m)}if(!b)throw l;}return f}; | |
g.h.PD=function(a,b,c,d,e){var f=this;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.Np(a,function(){return b.apply(c,l)},d,e)}}; | |
g.h.zh=function(a,b,c,d,e){e=e||"jserror";try{var f=new Gi;f.B=!0;Mi(f,1,"context",a);b.error&&b.meta&&b.id||(b=$i(b));b.msg&&Mi(f,2,"msg",b.msg.substring(0,512));b.file&&Mi(f,3,"file",b.file);0<b.line&&Mi(f,4,"line",b.line);var k=b.meta||{};if(this.g)try{this.g(k)}catch(m){}if(d)try{d(k)}catch(m){}b=[k];f.g.push(5);f.l[5]=b;var l=Fi();l.l&&Mi(f,6,"top",l.l.url||"");Mi(f,7,"url",l.g.url||"");Ni(this.o,e,f,c)}catch(m){try{Ni(this.o,e,{context:"ecmserr",rctx:a,msg:Zi(m),url:l&&l.g.url},c)}catch(n){}}return this.l}; | |
g.q(Yi,Ci);g.h=aj.prototype;g.h.uE=function(a){this.g=a}; | |
g.h.BE=function(a){this.l=a}; | |
g.h.zh=function(a,b,c,d,e){if(Math.random()>(void 0===c?.01:c))return this.l;b.error&&b.meta&&b.id||(b=new Ci(b,{context:a,id:void 0===e?"jserror":e}));if(d||this.g)b.meta={},this.g&&this.g(b.meta),d&&d(b.meta);g.w.google_js_errors=g.w.google_js_errors||[];g.w.google_js_errors.push(b);g.w.error_rep_loaded||(b=g.w.document,c=g.w.location.protocol+"//pagead2.googlesyndication.com/pagead/js/err_rep.js",a=b.createElement("script"),g.ad(a,g.be(c)),(b=b.getElementsByTagName("script")[0])&&b.parentNode&& | |
b.parentNode.insertBefore(a,b),g.w.error_rep_loaded=!0);return this.l}; | |
g.h.Np=function(a,b,c,d){d=void 0===d?this.zh:d;try{var e=this.Ca&&this.Ca.start(String(a),3);var f=b();this.Ca&&e&&this.Ca.end(e)}catch(k){if(this.Ca&&e&&Ui(e),!d.call(this,a,k,.01,c,"jserror"))throw k;}return f}; | |
g.h.PD=function(a,b,c,d,e){var f=this;e=void 0===e?this.zh:e;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.Np(a,function(){return b.apply(c,l)},d,e)}};var Wi,bj,W0=ji(),Vi=new Si(1,W0);Wi=new function(){var a=void 0===a?ei:a;this.A="http:"===a.location.protocol?"http:":"https:";this.l="pagead2.googlesyndication.com";this.o="/pagead/gen_204?id=";this.g=.01}; | |
bj=new Xi;"complete"==W0.document.readyState?W0.google_measure_js_timing||Vi.disable():Vi.l&&ai(W0,"load",function(){W0.google_measure_js_timing||Vi.disable()}); | |
var Lba=bj.zh;if(ii&&ii.URL){var Zta,Zh=ii.URL;Zta=!!Zh&&0<yba().length;bj.BE(!Zta)};g.dk=!g.xd&&!ic();qj.prototype.la=function(){return this.F};g.ya(gj);sj.prototype.cancel=function(){ei.clearTimeout(this.g);this.g=null}; | |
sj.prototype.schedule=function(){var a=this;ei&&(this.g=ei.setTimeout(dj(143,function(){a.o++;a.l.eE()}),Ai(gj.getInstance().H)))};g.h=vj.prototype;g.h.aj=function(){return this.ug()}; | |
g.h.ug=function(){return!0}; | |
g.h.initialize=function(){this.F=!0}; | |
g.h.Dj=function(){return this.M}; | |
g.h.si=function(){return this.H}; | |
g.h.Ah=function(){return this.l==this?this.Z:this.l.Ah()}; | |
g.h.Ag=function(){return{}}; | |
g.h.Dg=function(){return this.A}; | |
g.h.eE=function(){}; | |
g.h.jq=function(){}; | |
g.h.ri=function(a){var b=this.A,c=a.Dg();this.l=c<this.C?this:a;this.A=this.l!=this?c:this.C;this.l==this||1==c&&0!=this.C||this.jq();this.A!=b&&wj(this)}; | |
g.h.ph=function(a){this.l!=this&&Cj(this,a)}; | |
g.h.Og=function(){return this.B}; | |
g.h.dispose=function(){this.T=!0}; | |
g.h.ka=function(){return this.T};g.h=Dj.prototype;g.h.XA=function(){}; | |
g.h.Yt=function(){}; | |
g.h.fl=function(){this.l=new qj(this.g.g,this.element,this.l.g,this.l.A,this.yl(),this.l.l,this.l.D,this.l.H,this.l.o)}; | |
g.h.dispose=function(){this.ka()||(zj(this.g,this),this.D=!0)}; | |
g.h.ka=function(){return this.D}; | |
g.h.Ag=function(){return this.A.Ag()}; | |
g.h.Dg=function(){return this.A.Dg()}; | |
g.h.Dj=function(){return this.A.Dj()}; | |
g.h.si=function(){return this.A.si()}; | |
g.h.ri=function(a){this.A=a;this.F.ri(this)}; | |
g.h.ph=function(){this.fl()}; | |
g.h.Og=function(){return this.F.Og()};g.h=Ej.prototype;g.h.Dg=function(){return this.g.Dg()}; | |
g.h.Dj=function(){return this.g.Dj()}; | |
g.h.si=function(){return this.g.si()}; | |
g.h.create=function(a,b,c){var d=null;this.g&&(d=this.WA(a,b,c),yj(this.g,d));return d}; | |
g.h.aj=function(){return this.ug()}; | |
g.h.ug=function(){return!1}; | |
g.h.init=function(){return!0}; | |
g.h.dispose=function(){this.B=!0}; | |
g.h.ka=function(){return this.B}; | |
g.h.Ag=function(){return{}};Hj.prototype.add=function(a,b,c){++this.o;var d=this.o/4096;this.g.push(cca(new Fj(a,b,c),d));this.l=!0;return this};var X0=new Date(0);g.xb(X0.getUTCFullYear(),4);g.xb(X0.getUTCMonth()+1,2);g.xb(X0.getUTCDate(),2);g.xb(X0.getUTCHours(),2);g.xb(X0.getUTCMinutes(),2);var Jj={},Kj=null;Jj.le=0;Jj.nt=2;Jj.Fr=3;Jj.Po=5;Jj.me=1;Jj.om=4;Mj.prototype.update=function(a,b,c){a&&(this.g+=b,this.l+=b,this.A+=b,this.o=Math.max(this.o,this.A));if(void 0===c?!a:c)this.A=0};var hca=[1,.75,.5,.3,0];Nj.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.l.length;e++){var k=this.l[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.g[e].update(f&&l,d,!f||k)}};Wj.prototype.update=function(a,b,c,d,e){this.D=-1!=this.D?Math.min(this.D,b.g):b.g;e&&(this.K=Math.max(this.K,b.g));this.ea.update(b.l,c.l,b.o,a,d);this.g.update(b.g,c.g,b.o,a,d);c=d||c.zi!=b.zi?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.o;this.X.update(c,a,b)}; | |
Wj.prototype.Bi=function(){return this.X.o>=this.ca};g.q(Xj,Dj);g.h=Xj.prototype;g.h.yl=function(){return!0}; | |
g.h.fl=function(){if(this.element){var a=this.element.getBoundingClientRect(),b=a.right-a.left;a=a.bottom-a.top;var c=g.Eh(this.element,this.g.Qc),d=c.x;c=c.y;this.o=new g.Yg(Math.round(c),Math.round(d+b),Math.round(c+a),Math.round(d))}(b=this.g.g.g)?(b=Zj(this.o,b),b=b.top>=b.bottom||b.left>=b.right?new g.Yg(0,0,0,0):$g(b,-this.o.left,-this.o.top)):b=new g.Yg(0,0,0,0);var e=this.g.g.g;c=d=a=0;var f=1==ui(this.ib,"od"),k=(this.o.bottom-this.o.top)*(this.o.right-this.o.left);e&&b&&0<k&&(Yj(b,e,this.element, | |
f)?b=new g.Yg(0,0,0,0):(c=new g.Yg(0,window.screen.height,window.screen.width,0),a=bk(b,this.o),d=bk(b,e),c=bk(b,c)));e=this.g.g;f=-1===e.time?vi():e.time;this.l=new qj(e,this.element,this.o,b,this.yl(),a,d,f,c)}; | |
g.h.si=function(){return this.A.si()}; | |
g.h.Ah=function(){return this.A.Ah()}; | |
g.h.ph=function(a){if(null==this.element)if(null!=a.o){var b=a.o;this.o=new g.Yg(0,b.width,b.height,0)}else this.o=new g.Yg(0,0,0,0);Dj.prototype.ph.call(this,a)};var ck=new g.Yg(0,0,0,0),sca={threshold:[0,.3,.5,.75,1]};g.h=ek.prototype;g.h.ph=function(){}; | |
g.h.ri=function(a){a.si()&&this.jF(this,a.Dj(),a)}; | |
g.h.Og=function(){return!1}; | |
g.h.vo=function(){return new Wj}; | |
g.h.Md=function(){return this.St}; | |
g.h.NA=function(){}; | |
g.h.MA=function(){}; | |
g.h.Hz=function(){}; | |
g.h.Bq=function(){}; | |
g.h.ej=function(a,b,c,d,e,f,k,l,m){k=void 0===k?{}:k;l=void 0===l?this.vz(c,k):l;k=this.yr(a,b,d,k,void 0===m?-1:m);g.ua(b)||(this.sC=new g.gd(a.left-b.left,a.top-b.top),this.Rm=new g.I(b.right-b.left,b.bottom-b.top));e=e&&this.Fc.g>=(this.zi()?.3:.5);this.Vv(l,k,e,f);this.bk=c;0<k.g&&-1===this.XE&&(this.XE=c);-1==this.ZE&&this.Bi()&&(this.ZE=c);if(-2==this.Pt)try{a:{var n=g.ua(b)?null:b;if(a&&a!=ck&&0!=this.Pf){if(!n){if(!this.Rm){var p=-1;break a}n=new g.Yg(0,this.Rm.width,this.Rm.height,0)}p=n.Cb&& | |
0<n.Cb()&&n.getHeight&&0<n.getHeight()?this.ll(a,n):-1}else p=-1}this.Pt=p}catch(r){ej(207,r)}this.Fc=k;d&&(this.Fc.g=0);this.Tt(this)}; | |
g.h.Vv=function(a,b,c,d){this.Md().update(a,b,this.Fc,c,d)}; | |
g.h.ts=function(){return new ni}; | |
g.h.yr=function(a,b,c,d,e){e=void 0===e?-1:e;d=this.ts();d.o=c;c=jj();d.A=0==c?-1:1==c?0:1;g.ua(b)?(d.g=this.ll(b),d.l=e):(d.g=this.ll(a,b),d.l=0<=e?e:d.g*ak(a)/(ei.screen.height*ei.screen.width));d.zi=this.zi();return d}; | |
g.h.vz=function(a){if(-1==this.bk)return 0;a=a-this.bk||1;return 1E4<a?1:a}; | |
g.h.ll=function(a,b){if(0===this.opacity&&1===ui(this.ib,"opac"))return 0;if(g.ua(a))return a;var c=Zj(a,b),d=1==ui(this.ib,"od");if(0>=this.Pf||Yj(c,b,this.hi,d))return 0;d=ak(c)/this.Pf;bk(c,b);return d}; | |
g.h.zi=function(){return!1}; | |
g.h.lf=function(){return 0}; | |
g.h.Bi=function(){return this.St.Bi()};var nk="StopIteration"in g.w?g.w.StopIteration:{message:"StopIteration",stack:""};mk.prototype.next=function(){throw nk;}; | |
mk.prototype.Vd=function(){return this};var sx=null,Y0={},Xga=(Y0[8]="google_prev_ad_formats_by_region",Y0[9]="google_prev_ad_slotnames_by_region",Y0);var Kl={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Kk={ox:"start",Kw:"firstquartile",Ww:"midpoint",vx:"thirdquartile",Cw:"complete",GH:"metric",PAUSE:"pause",aI:"resume",kx:"skip",yx:"viewable_impression",JH:"mute",yI:"unmute",Lw:"fullscreen",eH:"exitfullscreen",CY:"bufferstart",BY:"bufferfinish",Mw:"fully_viewable_audible_half_duration_impression",Vw:"measurable_impression",rG:"abandon",Gw:"engagedview",fn:"impression",XG:"creativeview",Uq:"loaded",U1:"progress",CLOSE:"close", | |
SY:"collapse",RH:"overlay_resize",SH:"overlay_unmeasurable_impression",TH:"overlay_unviewable_impression",VH:"overlay_viewable_immediate_impression",UH:"overlay_viewable_end_of_session_impression",ZG:"custom_metric_viewable"},Eda="start firstquartile midpoint thirdquartile resume loaded".split(" "),Fda=["start","firstquartile","midpoint","thirdquartile"],Gca=["abandon"],ll={UNKNOWN:-1,ox:0,Kw:1,Ww:2,vx:3,Cw:4,GH:5,PAUSE:6,aI:7,kx:8,yx:9,JH:10,yI:11,Lw:12,eH:13,Mw:14,Vw:15,rG:16,Gw:17,fn:18,XG:19, | |
Uq:20,ZG:21};g.q(sk,ni);uk.prototype.xa=function(a){var b=this.l[a],c=b[1];this.o+=b[0];0<c&&0==this.g[a]&&(this.g[a]=1)};wk.prototype.getValue=function(){return this.l}; | |
wk.prototype.update=function(a,b){32<=a||(this.g&1<<a&&!b?this.l&=~(1<<a):this.g&1<<a||!b||(this.l|=1<<a),this.g|=1<<a)};g.q(xk,Wj); | |
xk.prototype.update=function(a,b,c,d,e){if(!b.paused){Wj.prototype.update.call(this,a,b,c,d,e);e=tk(b)&&tk(c);var f=.5<=(d?Math.min(b.g,c.g):c.g);nj(b.volume)&&(this.A=-1!=this.A?Math.min(this.A,b.volume):b.volume,this.C=Math.max(this.C,b.volume));f&&(this.J+=a,this.H+=e?a:0);this.o.update(b.g,c.g,b.o,a,d,e);this.l.update(!0,a);this.B.update(e,a);this.I.update(c.fullscreen,a);this.fa.update(e&&!f,a);a=Math.floor(b.B/1E3);this.M.update(a,b.isVisible());this.Y.update(a,1<=b.g);this.Z.update(a,tk(b))}};g.q(zk,Aca);zk.prototype.o=function(){return!0}; | |
zk.prototype.B=function(){return!1}; | |
zk.prototype.getId=function(){var a=this,b=Vb(Kk,function(b){return b==a.A}); | |
return ll[b].toString()}; | |
zk.prototype.toString=function(){var a="";this.B()&&(a+="c");this.g&&(a+="s");0<this.l&&(a+=":"+this.l);return this.getId()+a};var $ta=new g.Yg(0,0,0,0),Z0={},Fca=(Z0.firstquartile=0,Z0.midpoint=1,Z0.thirdquartile=2,Z0.complete=3,Z0);g.q(Ck,ek);g.h=Ck.prototype;g.h.Og=function(){return!0}; | |
g.h.NA=function(a){var b=this,c=a-this.Sa;this.ab&&1E3>=c||(c=g.x("ima.bridge.getNativeViewability"),g.Ca(c)&&(c(this.yd,function(a){b.ab=!1;b.H&&(b.Ga=!0);g.Xb(a)&&b.ya++;b.Bq(a)}),this.ab=!0,this.Sa=a))}; | |
g.h.MA=function(a){var b=gj.getInstance();a-this.Na>Ai(b.H)&&(a=g.x("ima.admob.getViewability"),g.Ca(a)&&a(this.yd))}; | |
g.h.Hz=function(a){this.Na=vi();this.Bq(a)}; | |
g.h.Bq=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.ga=!!f);b=new g.Yg(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?$ta.clone():new g.Yg(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;if("n"==this.B||"ml"==this.B)f={volume:e};e=f;e=void 0===e?{}:e;this.Pf=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.ej(b,c, | |
d,!1,!0,!0,e)}; | |
g.h.ej=function(a,b,c,d,e,f,k,l,m){var n=this;k=void 0===k?{}:k;var p=this.na(this)||{};g.ec(p,k);this.C=p.duration||this.C;this.I=p.isVpaid||this.I;this.ra=p.isYouTube||this.ra;this.ca=f;ek.prototype.ej.call(this,a,b,c,d,e,f,p,l,m);(0,g.B)(this.D,function(a){a.g||(a.g=Bk(a,n))})}; | |
g.h.Vv=function(a,b,c,d){ek.prototype.Vv.call(this,a,b,c,d);Ek(this).update(a,b,this.Fc,c,d);this.ha=tk(this.Fc)&&tk(b);-1==this.X&&this.Hb&&(this.X=this.Md().l.g);this.Jc.o=0;a=this.Fc;b=this.Bi();.5<=a.g&&this.Jc.xa("vs");b&&this.Jc.xa("vw");nj(a.volume)&&this.Jc.xa("am");this.ha&&this.Jc.xa("a");this.Gg&&this.Jc.xa("f");-1!=a.A&&(this.Jc.xa("bm"),1==a.A&&this.Jc.xa("b"));this.ha&&b&&this.Jc.xa("avw");this.ca&&this.Jc.xa("cm");this.ca&&0<a.g&&this.Jc.xa("pv");Hk(this,this.Md().l.g,!0)&&this.Jc.xa("gdr"); | |
2E3<=Tj(this.Md().g,1)&&this.Jc.xa("pmx")}; | |
g.h.vo=function(){return new xk}; | |
g.h.Md=function(){return this.St}; | |
g.h.ts=function(){return new sk}; | |
g.h.yr=function(a,b,c,d,e){a=ek.prototype.yr.call(this,a,b,c,d,void 0===e?-1:e);a.fullscreen=this.Gg;a.paused=2==this.Gc;a.volume=d.volume;nj(a.volume)||(this.sb++,b=this.Fc,nj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.B=g.t(d)&&0<=d?d:-1;return a}; | |
g.h.vz=function(a,b){var c=g.t(b.currentTime)?b.currentTime:this.K;if(-1==this.bk||2==this.Gc)var d=0;else{d=a-this.bk||1;var e=1E4;g.t(this.C)&&-1!=this.C&&(e=Math.max(e,this.C/3));d=d>e?1:d}e=c-this.K;var f=0;0<=e?(this.J+=d,this.Z+=Math.max(d-e,0),f=Math.min(e,this.J)):this.sa+=Math.abs(e);0!=e&&(this.J=0);-1==this.Da&&0<e&&(this.Da=0<=zi?vi()-zi:-1);this.K=c;return 1==Fk(this)?f:d}; | |
g.h.ll=function(a,b){return this.H?0:this.Gg?1:ek.prototype.ll.call(this,a,b)}; | |
g.h.lf=function(){return 1}; | |
g.h.getDuration=function(){return this.C};var aua=(0,g.F)();g.ya(Pk);var Pca={threshold:[0,.25,.5,.75,1]};g.q(Qk,Dj);g.h=Qk.prototype;g.h.Ah=function(){return"nio"}; | |
g.h.yl=function(){return!0}; | |
g.h.XA=function(){var a=this;this.C||(this.C=vi());cj(298,function(){return Qca(a)})||xj(this.g,"msf")}; | |
g.h.Yt=function(){if(this.o&&this.element)try{this.o.unobserve(this.element)}catch(a){}}; | |
g.h.fl=function(){Dj.prototype.fl.call(this);if(2===ui(gj.getInstance().ib,"nio_mode")){var a=this.o&&this.o.takeRecords?this.o.takeRecords():[];0<a.length?Rk(this,a):this.l=new qj(this.l.C,this.l.la(),this.l.g,this.l.A,this.l.B,this.l.l,this.l.D,this.g.Qc.performance.now(),this.l.o)}}; | |
g.h.Ag=function(){var a={};return Object.assign(this.g.Ag(),(a.niot_obs=this.C,a.niot_cbk=this.B,a))};g.q(Sk,Ej);Sk.prototype.Ah=function(){return"nio"}; | |
Sk.prototype.aj=function(){var a=ui(gj.getInstance().ib,"nio_mode"),b=2===a;a=1===a;var c=gj.getInstance().g;return(b||a&&c)&&this.ug()}; | |
Sk.prototype.ug=function(){return"exc"!==gj.getInstance().yb&&1!=ui(gj.getInstance().ib,"inapp")&&null!=this.g.Qc.IntersectionObserver}; | |
Sk.prototype.WA=function(a,b,c){return new Qk(a,this.g,b,c)};g.A(g.Tk,g.M);g.h=g.Tk.prototype;g.h.Lj=!1;g.h.Fl=0;g.h.Ca=null;g.h.Kj=function(a){this.g=arguments;this.Ca||this.Fl?this.Lj=!0:Uk(this)}; | |
g.h.stop=function(){this.Ca&&(g.tg(this.Ca),this.Ca=null,this.Lj=!1,this.g=[])}; | |
g.h.pause=function(){this.Fl++}; | |
g.h.resume=function(){this.Fl--;this.Fl||!this.Lj||this.Ca||(this.Lj=!1,Uk(this))}; | |
g.h.V=function(){g.Tk.ba.V.call(this);this.stop()}; | |
g.h.QJ=function(){this.Ca=null;this.Lj&&!this.Fl&&(this.Lj=!1,Uk(this))};g.h=Wk.prototype;g.h.hM=function(){$k(this,!1);this.Iz()}; | |
g.h.Iz=function(){al(this,dl(this),!1)}; | |
g.h.eE=function(){al(this,dl(this),!1)}; | |
g.h.Oz=function(){var a=bl(this),b=vi();a?(xi||(yi=b,(0,g.B)(this.g,function(a){var c=a.Md();c.T=yk(c,b,1!=a.Gc)})),xi=!0,$k(this,!0)):(xi=!1,Nk=b,(0,g.B)(this.g,function(a){a.xj&&(a.Md().F=b)})); | |
al(this,dl(this),!a)}; | |
g.h.kW=function(a){var b;if(b=null!=a.IntersectionObserver){if(a=Xca(a,dl(this)))gj.getInstance().yb="nio";b=a}return b}; | |
g.h.jW=function(a){return g.xd&&g.qc(8)&&g.Ca(Lj(a&&a.document))?(gj.getInstance().yb="iem",!0):!1}; | |
g.h.reset=function(){this.g=[];this.l=[]}; | |
g.ya(Wk);var Yk=Wk.getInstance();var yl=null,Gl="",Dl=!1;var bda=function(a,b){return function(c){for(var d=0;d<b.length;d++)if(b[d]===c[a]||!g.t(b[d])&&!c.hasOwnProperty(a))return!0;return!1}}("e",[void 0, | |
1,2,3,4,8,16]),bua={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:jl("qmtos"),qnc:jl("qnc"),qmv:jl("qmv"),qnv:jl("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"},cua={c:fl("c"),at:"at",atos:il("atos",[0,2,4]),ta:function(a, | |
b){return function(c){if(!g.t(c[a]))return b}}("tth","1"), | |
a:"a",dur:"dur",p:"p",tos:hl(),j:"dom",mtos:il("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:fl("ss"),vsv:Gf("w2"),t:"t"},dua={atos:"atos",amtos:"amtos",avt:il("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:fl("ss"),t:"t"},eua={a:"a",tos:hl(),at:"at",c:fl("c"),mtos:il("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Gf("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},fua={tos:hl(),at:"at",c:fl("c"),mtos:il("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Gf("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv", | |
qmpt:il("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.ua(d))return(0,g.G)(b,function(a){return 0<d&&d>=a?1:0})}}("qnc",[1, | |
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.q(ol,zk);ol.prototype.o=function(a){return a.Md().Bi()};g.q(ql,dda);ql.prototype.g=function(a){var b=new cda;b.g=pl(a,bua);b.o=pl(a,dua);return b};g.q(rl,Ej);g.h=rl.prototype;g.h.Ah=function(){return(this.l?this.l:this.g).Ah()}; | |
g.h.Ag=function(){return(this.l?this.l:this.g).Ag()}; | |
g.h.Dg=function(){return(this.l?this.l:this.g).Dg()}; | |
g.h.init=function(a){this.A=a;(0,g.B)(this.o,function(a){return a.initialize()}); | |
yj(this.g,this);return!0}; | |
g.h.dispose=function(){(0,g.B)(this.o,function(a){a.jq();a.dispose()}); | |
Ej.prototype.dispose.call(this)}; | |
g.h.aj=function(){return(0,g.Aj)(this.o,function(a){return a.aj()})}; | |
g.h.ug=function(){return(0,g.Aj)(this.o,function(a){return a.ug()})}; | |
g.h.WA=function(a,b,c){return new Xj(a,this.g,b,c)}; | |
g.h.ri=function(a){0==a.Dg()&&this.A(a.Dj(),this)}; | |
g.h.ph=function(a){this.l=a.B}; | |
g.h.Og=function(){return!1};g.q(sl,vj);g.h=sl.prototype;g.h.Ag=function(){return{i4:1}}; | |
g.h.initialize=function(){var a=this;if(!this.F)if(this.F=!0,gj.getInstance().C.Od()){fj(g.w,"message",function(b){if(null!=b&&b.data&&g.u(b.data)){var c=b.data;if(g.u(c)){var e={};c=c.split("\n");for(var f=0;f!=c.length;++f){var k=c[f],l=k.indexOf("=");if(!(0>=l)){var m=Number(k.substr(0,l));k=k.substr(l+1);switch(m){case 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 23:case 22:case 7:case 21:case 20:k=Number(k); | |
break;case 19:case 3:if(g.Ca(window.decodeURIComponent))try{k=(0,window.decodeURIComponent)(k)}catch(p){throw Error("Error: URI malformed: "+k);}}e[m]=k}}e=e[0]?e:null}else e=null;if(e&&(c=new Bi(e[4],e[12]),gj.getInstance().C.matches(c)&&(c=e[29],f=e[0],g.Pa(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request"],f)))){fda(a,e);if("goog_get_mode"==f&&b.source){m={};hj(m);m[0]="goog_provide_mode";m[6]=4;m[27]=a.Qc.document.domain;m[16]=!1;try{var n=ij(m);b.source.postMessage(n, | |
b.origin);vl(a,n)}catch(p){ej(406,p)}}if("goog_get_mode"==f||"goog_acknowledge_monitoring"==f)a.D=2,ul(a);if(b=e[32])a.Z=b;a.o.length&&4!=c&&(c=!1,b=a.g.l,n=a.g.g,"goog_acknowledge_monitoring"==e[0]&&(a.A=(void 0!==e[36]?e[36]:!e[8])?2:0,wj(a)),(0,window.isNaN)(e[30])||(0,window.isNaN)(e[31])?(0,window.isNaN)(e[22])||(0,window.isNaN)(e[23])||(c=!0,b=new g.I(e[22],e[23])):(c=!0,b=new g.I(e[30],e[31])),e[9]&&(c=!0,e=e[9].split("-"),4==e.length&&(n=new g.Yg(Eb(e[0]),Eb(e[3]),Eb(e[2]),Eb(e[1])))),c&& | |
(e=vi(),c=mi(!0,a.Qc,a.X),f=mi(!1,a.Qc,a.X),a.K||(a.K=oj(c,a.Qc)),k=jj(),m=1===k,k=0===k,m=(gj.getInstance(),m||k),e=new pj(e,c,f,m,a),e.l=b,e.g=n,e.A=bl(Yk),Cj(a,e)))}}},118); | |
var b=dj(197,function(){++a.Y;if(2==a.D)ul(a);else if(10<a.Y)xj(a,"no");else if(a.Qc.postMessage)if(gj.getInstance().C.Od()){var b=tl(a);if(b){var d={};hj(d);d[0]="goog_request_monitoring";d[6]=4;d[27]=a.Qc.document.domain;d[16]=!1;try{var e=ij(d);b.postMessage(e,"*")}catch(f){}}}else xj(a,"ib");else xj(a,"c")}); | |
this.D=1;1==ui(gj.getInstance().ib,"srmi")&&b();this.I=this.Qc.setInterval(b,500)}else xj(this,"ib")}; | |
g.h.jq=function(){var a={};hj(a);a[0]="goog_stop_monitoring";vl(this,ij(a));ul(this)}; | |
g.h.aj=function(){var a=gj.getInstance();return ui(a.ib,"osd")&&this.ug()?4===a.I?!!ui(a.ib,"mkm"):!0:!1}; | |
g.h.ug=function(){return gj.getInstance().g}; | |
g.ya(sl);g.h=wl.prototype;g.h.Un=function(a){a.Gg=!1;kda(a.lf(),a.yd)}; | |
g.h.xo=function(){}; | |
g.h.Tp=function(a,b,c,d){this.g||(this.g=this.zy());b=c?b:-1;if(null==this.g||this.A)return a=new Ck(ei,a,b,7),a.yd=d,a;a=new Ck(ei,a,b,7,new zk("measurable_impression",this.g),this.Cs());a.yd=d;return a}; | |
g.h.Cs=function(){return[new ol("viewable_impression",this.g)]}; | |
g.h.ri=function(a){var b=gj.getInstance();switch(a.Dg()){case 0:b.l=!1;(a=Pk.getInstance().g)&&zj(a.g,this);(a=sl.getInstance())&&zj(a,this);Cl();break;case 2:b.l&&Zk()}}; | |
g.h.ph=function(a){var b=gj.getInstance();b.l&&(b.o=a.l,b.B=a.g)}; | |
g.h.Og=function(){return!1}; | |
g.h.xK=function(a,b){a.uh=!0;switch(a.lf()){case 1:Hl(this,a,b);break;case 2:this.zv(a)}this.Dv(a)}; | |
g.h.FK=function(a){Jk(a,0);return Mk(a,"start",bl(Yk))}; | |
g.h.Nk=function(a,b,c){al(Yk,[a],!bl(Yk),b);return this.mh(a,b,c)}; | |
g.h.mh=function(a,b,c){return Mk(a,c,bl(Yk))}; | |
g.h.AK=function(a,b){return Il(a,"firstquartile",1,b)}; | |
g.h.CK=function(a,b){a.Hb=!0;return Il(a,"midpoint",2,b)}; | |
g.h.GK=function(a,b){return Il(a,"thirdquartile",3,b)}; | |
g.h.yK=function(a,b){var c=Il(a,"complete",4,b);0!=a.Gc&&(a.Gc=3);return c}; | |
g.h.cE=function(a,b,c){var d=bl(Yk);if(2==a.Gc&&!d){var e=vi();a.Md().F=e}al(Yk,[a],!d,b);2==a.Gc&&(a.Gc=1);return Mk(a,c,d)}; | |
g.h.EK=function(a,b){var c=this.Nk(a,b||{},"skip");0!=a.Gc&&(a.Gc=3);return c}; | |
g.h.BK=function(a,b){a.Gg=!0;return this.Nk(a,b||{},"fullscreen")}; | |
g.h.zK=function(a,b){a.Gg=!1;return this.Nk(a,b||{},"exitfullscreen")}; | |
g.h.jv=function(a,b,c){var d=a.Md(),e=vi();d.T=yk(d,e,1!=a.Gc);al(Yk,[a],!bl(Yk),b);1==a.Gc&&(a.Gc=2);return Mk(a,c,bl(Yk))}; | |
g.h.DK=function(a,b){al(Yk,[a],!bl(Yk),b);return a.l()}; | |
g.h.Ns=function(a,b){al(Yk,[a],!bl(Yk),b);this.VD(a);0!=a.Gc&&(a.Gc=3);return a.l()}; | |
g.h.Ls=function(){}; | |
g.h.zv=function(){}; | |
g.h.VD=function(){}; | |
g.h.VA=function(){}; | |
g.h.Dv=function(){}; | |
g.h.zy=function(){};var pda={e_:"visible",fY:"audible",n3:"time",q3:"timetype"},Ml={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.q(Nl,zk);Nl.prototype.getId=function(){return this.Fa}; | |
Nl.prototype.B=function(){return!0}; | |
Nl.prototype.o=function(a){var b=a.Md(),c=a.getDuration();return(0,g.Aj)(this.C,function(a){if(void 0!=a.g)var d=rda(a,b);else b:{switch(a.B){case "mtos":d=a.l?b.B.o:b.l.g;break b;case "tos":d=a.l?b.B.g:b.l.g;break b}d=0}0==d?a=!1:(a=-1!=a.o?a.o:g.t(c)&&0<c?a.A*c:-1,a=-1!=a&&d>=a);return a})};g.q(Ol,zk);Ol.prototype.o=function(a){var b=Rj(a.Md().o,1);return Hk(a,b)};var Ql=(0,g.F)(),Sl=!1,Tl=!1,Ul=!1,tda=[function(a){return!(!a.chrome||!a.chrome.webstore)}, | |
function(a){return!!a.document.documentMode}, | |
function(a){return!!a.document.fonts.ready}, | |
function(){return Rl(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 Rl(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 Rl(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 Rl(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 Rl(4)}, | |
function(a){return"srcset"in a.document.createElement("img")}, | |
function(){return Tl}, | |
function(){return Ul}, | |
function(){return Rl(5)}, | |
function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width}, | |
function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width}, | |
function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{(0,window.DummyFunction1)()}catch(b){a=!0}return a}, | |
function(){var a=!1;try{(0,window.DummyFunction2)()}catch(b){a=!0}return a}, | |
function(){return!1}, | |
function(){return Rl(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]||Pl(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 Pl(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 Rl(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 Pl(a.CSS.supports)}, | |
function(){return Pl(window.Intl.Collator)}, | |
function(a){return Pl(a.document.createElement("dialog").show)}, | |
function(){return Rl(8)}, | |
function(a){return Pl(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 Pl(a.document.createElement("div").animate)}, | |
function(a){return Pl(a.document.documentElement.webkitRequestFullScreen)}, | |
function(a){return Pl(a.navigator.getBattery)}, | |
function(a){return Pl(a.navigator.permissions.query)}, | |
function(){return!1}, | |
function(){return Rl(9)}, | |
function(){return Pl(window.webkitRequestAnimationFrame)}, | |
function(a){return Pl(a.BroadcastChannel.call)}, | |
function(a){return Pl(a.FontFace)}, | |
function(a){return Pl(a.Gamepad)}, | |
function(){return Rl(10)}, | |
function(a){return Pl(a.MutationEvent)}, | |
function(a){return Pl(a.MutationObserver)}, | |
function(a){return Pl(a.crypto.getRandomValues)}, | |
function(a){return Pl(a.document.body.createShadowRoot)}, | |
function(a){return Pl(a.document.body.webkitCreateShadowRoot)}, | |
function(a){return Pl(a.fetch)}, | |
function(){return Rl(11)}, | |
function(a){return Pl(a.navigator.serviceWorker.register)}, | |
function(a){return Pl(a.navigator.webkitGetGamepads)}, | |
function(a){return Pl(a.speechSynthesis.speak)}, | |
function(a){return Pl(a.webkitRTCPeerConnection)}, | |
function(a){return a.CSS.supports("--fake-var","0")}, | |
function(){return Rl(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 Rl(13)}, | |
function(a){return a.CSS.supports("position","sticky")}, | |
function(a){return void 0===a.document.createElement("style").scoped}, | |
function(a){return a.performance.getEntriesByType("resource")instanceof Array}, | |
function(){return"undefined"==typeof window.InstallTrigger}, | |
function(){return"object"==typeof(new window.Intl.Collator).resolvedOptions()}, | |
function(a){return"boolean"==typeof a.navigator.onLine}, | |
function(){return Rl(14)}, | |
function(a){return"undefined"==typeof a.navigator.h5}, | |
function(a){return"number"==typeof a.performance.now()}, | |
function(){return 0==(new window.Uint16Array(1))[0]}, | |
function(a){return-1==a.ActiveXObject.toString().indexOf("native")}, | |
function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],uda=[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}],vda=[function(a){return a.navigator.userAgent}, | |
function(a){return a.navigator.platform}, | |
function(a){return a.navigator.vendor}];g.A(Vl,jba);Vl.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.A=this.o=0}; | |
Vl.prototype.update=function(a,b){g.t(b)||(b=a.length);for(var c=b-this.l,d=this.B,e=this.o,f=0;f<b;){if(0==e)for(;f<=c;)Wl(this,a,f),f+=this.l;if(g.u(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.l){Wl(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.l){Wl(this,d);e=0;break}}this.o=e;this.A+=b}; | |
Vl.prototype.digest=function(){var a=Array((56>this.o?this.l:2*this.l)-this.o);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.A;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};g.q(Xl,ql);Xl.prototype.g=function(a){var b=ql.prototype.g.call(this,a);var c=Ql=(0,g.F)();var d=Rl(5);c=(Tl?!d:d)?c|2:c&-3;d=Rl(2);c=(Ul?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.l||(this.l=wda());b.B=this.l;b.C=pl(a,cua,c,"h",Yl("kArwaWEsTs"));b.A=pl(a,eua,{},"h",Yl("b96YPMzfnx"));b.l=pl(a,fua,{},"h",Yl("yb8Wev6QDg"));return b};Zl.prototype.g=function(){return g.x(this.l)};g.q($l,Zl);$l.prototype.g=function(a){if(!a.Jh)return Zl.prototype.g.call(this,a);var b=this.A[a.Jh];if(b)return function(a,d,e){b.l(a,d,e)}; | |
ej(393,Error());return null};g.q(em,wl);g.h=em.prototype;g.h.xo=function(a,b){var c=this;switch(gj.getInstance().yb){case "nis":var d=Bda(this,a,b);break;case "gsv":d=Ada(this,a,b);break;case "exc":d=Cda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=mda(this,a,b.opt_adElement,b.opt_osdId):d=cl(a)||void 0}d&&1==d.lf()&&(d.na==g.y&&(d.na=function(a){return c.VA(a)}),zda(this,d,b)); | |
return d}; | |
g.h.VA=function(a){var b=gj.getInstance();a.g=0;a.T=0;if("h"==a.B||"n"==a.B){if("exc"==b.yb||"nis"==b.yb)var c=g.x("ima.bridge.getVideoMetadata");else if(a.Jh&&hm(this)){var d=this.D[a.Jh];d?c=function(a){d.g(a)}:null!==d&&ej("lidar::missingPlayerCallback",Error())}else c=g.x("ima.common.getVideoMetadata"); | |
if(g.Ca(c))try{var e=c(a.yd)}catch(f){a.g|=4}else a.g|=2}else if("b"==a.B)if(b=g.x("ytads.bulleit.getVideoMetadata"),g.Ca(b))try{e=b(a.yd)}catch(f){a.g|=4}else a.g|=2;else if("ml"==a.B)if(b=g.x("ima.common.getVideoMetadata"),g.Ca(b))try{e=b(a.yd)}catch(f){a.g|=4}else a.g|=2;else a.g|=1;a.g||(g.t(e)?null===e?a.g|=16:g.Xb(e)?a.g|=32:null!=e.errorCode&&(a.T=e.errorCode,a.g|=64):a.g|=8);null!=e||(e={});nda(e,a);nj(e.volume)&&nj(this.B)&&(e.volume*=this.B);return e}; | |
g.h.zy=function(){if(hm(this))return new $l("ima.common.triggerExternalActivityEvent",this.o,this.D);var a=Dda(this);return null!=a?new Zl(a,this.o):null}; | |
g.h.Cs=function(){var a=this.g,b=wl.prototype.Cs.call(this);b.push(new Ol(a));return b}; | |
g.h.zv=function(a){!a.g&&a.uh&&Fl(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; | |
g.h.VD=function(a){a.JE&&(a.Bi()?Fl(this,a,"overlay_viewable_end_of_session_impression"):Fl(this,a,"overlay_unviewable_impression"),a.JE=!1)}; | |
g.h.Ls=function(a){this.A&&1==a.lf()&&im(this,a)}; | |
g.h.Dv=function(a){this.A&&1==a.lf()&&im(this,a)}; | |
g.h.Tp=function(a,b,c,d){a=wl.prototype.Tp.call(this,a,b,c,d);this.C&&(b=this.F,null==a.l&&(a.l=new rk),b.g[a.yd]=a.l,a.l.B=aua);return a}; | |
g.h.Un=function(a){a&&1==a.lf()&&this.C&&delete this.F.g[a.yd];return wl.prototype.Un.call(this,a)}; | |
g.ya(em);var gua=dj(193,km,void 0,Jl);g.va("Goog_AdSense_Lidar_sendVastEvent",gua,void 0);var hua=dj(194,function(a,b){b=void 0===b?{}:b;var c=gm(em.getInstance(),a,b);return jm(c)}); | |
g.va("Goog_AdSense_Lidar_getViewability",hua,void 0);var iua=dj(195,function(){return dm()}); | |
g.va("Goog_AdSense_Lidar_getUrlSignalsArray",iua,void 0);var jua=dj(196,function(){return g.yg(dm())}); | |
g.va("Goog_AdSense_Lidar_getUrlSignalsList",jua,void 0);var wB=(new Date).getTime();g.h=g.om.prototype;g.h.Dc=function(){return this.Ka}; | |
g.h.ub=function(){rm(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.l[this.g[b]]);return a}; | |
g.h.Bb=function(){rm(this);return this.g.concat()}; | |
g.h.isEmpty=function(){return 0==this.Ka}; | |
g.h.clear=function(){this.l={};this.Qh=this.Ka=this.g.length=0}; | |
g.h.remove=function(a){return pm(this.l,a)?(delete this.l[a],this.Ka--,this.Qh++,this.g.length>2*this.Ka&&rm(this),!0):!1}; | |
g.h.get=function(a,b){return pm(this.l,a)?this.l[a]:b}; | |
g.h.set=function(a,b){pm(this.l,a)||(this.Ka++,this.g.push(a),this.Qh++);this.l[a]=b}; | |
g.h.forEach=function(a,b){for(var c=this.Bb(),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.om(this)}; | |
g.h.Vd=function(a){rm(this);var b=0,c=this.Qh,d=this,e=new mk;e.next=function(){if(c!=d.Qh)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw nk;var e=d.g[b++];return a?e:d.l[e]}; | |
return e};g.h=g.um.prototype;g.h.toString=function(){var a=[],b=this.A;b&&a.push(Cm(b,kua,!0),":");var c=this.l;if(c||"file"==b)a.push("//"),(b=this.F)&&a.push(Cm(b,kua,!0),"@"),a.push(g.ob(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.o)this.l&&"/"!=c.charAt(0)&&a.push("/"),a.push(Cm(c,"/"==c.charAt(0)?lua:mua,!0));(c=this.g.toString())&&a.push("?",c);(c=this.mi())&&a.push("#",Cm(c,nua));return a.join("")}; | |
g.h.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.vm(b,a.A):c=!!a.F;c?b.F=a.F:c=!!a.l;c?g.wm(b,a.l):c=null!=a.B;var d=a.o;if(c)g.xm(b,a.B);else if(c=!!a.o){if("/"!=d.charAt(0))if(this.l&&!this.o)d="/"+d;else{var e=b.o.lastIndexOf("/");-1!=e&&(d=b.o.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=g.lb(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.ym(b,d):c=""!==a.g.toString();c?zm(b,a.g.clone()):c=!!a.H;c&&(b.H=a.mi());return b}; | |
g.h.clone=function(){return new g.um(this)}; | |
g.h.Bz=function(){return this.g.toString()}; | |
g.h.mi=function(){return this.H}; | |
var kua=/[#\/\?@]/g,mua=/[#\?:]/g,lua=/[#\?]/g,Lda=/[#\?@]/g,nua=/#/g;g.h=g.Bm.prototype;g.h.Dc=function(){Fm(this);return this.Ka}; | |
g.h.add=function(a,b){Fm(this);this.l=null;a=Im(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.Ka=this.Ka+1;return this}; | |
g.h.remove=function(a){Fm(this);a=Im(this,a);return qm(this.g,a)?(this.l=null,this.Ka=this.Ka-this.g.get(a).length,this.g.remove(a)):!1}; | |
g.h.clear=function(){this.g=this.l=null;this.Ka=0}; | |
g.h.isEmpty=function(){Fm(this);return 0==this.Ka}; | |
g.h.forEach=function(a,b){Fm(this);this.g.forEach(function(c,d){(0,g.B)(c,function(c){a.call(b,c,d,this)},this)},this)}; | |
g.h.Bb=function(){Fm(this);for(var a=this.g.ub(),b=this.g.Bb(),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.ub=function(a){Fm(this);var b=[];if(g.u(a))Jm(this,a)&&(b=g.Wa(b,this.g.get(Im(this,a))));else{a=this.g.ub();for(var c=0;c<a.length;c++)b=g.Wa(b,a[c])}return b}; | |
g.h.set=function(a,b){Fm(this);this.l=null;a=Im(this,a);Jm(this,a)&&(this.Ka=this.Ka-this.g.get(a).length);this.g.set(a,[b]);this.Ka=this.Ka+1;return this}; | |
g.h.get=function(a,b){if(!a)return b;var c=this.ub(a);return 0<c.length?String(c[0]):b}; | |
g.h.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=this.g.Bb(),c=0;c<b.length;c++){var d=b[c],e=g.ob(d);d=this.ub(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.ob(d[f]));a.push(k)}}return this.l=a.join("&")}; | |
g.h.clone=function(){var a=new g.Bm;a.l=this.l;this.g&&(a.g=this.g.clone(),a.Ka=this.Ka);return a};var An={tH:5E3,uH:15E3,hx:"://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(" "),YH:/\bocr\b/,Mr:0,Mg:{},LV:function(a,b,c){a&&(An.ML(a)?An.sE(a,b):An.oE(a,b,c))}, | |
ML:function(a){if(g.C(g.E(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.um(a)}catch(c){return null!=g.La(An.hx,function(b){return 0<a.search(b)})}return b.mi().match(An.YH)?!0:null!=g.La(An.hx,function(b){return null!=a.match(b)})}, | |
sE:function(a,b){if(a&&(a=An.HJ(a),!g.C(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?An.vA(function(b){An.mE(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):An.mE(c)}}, | |
mE:function(a){var b=g.K("IFRAME",{src:a,style:"display:none"});a=g.ld(b).body;var c=g.sg(function(){g.xf(d);g.Jd(b)},An.uH); | |
var d=nf(b,["load","error"],function(){g.sg(function(){g.tg(c);g.Jd(b)},An.tH)}); | |
a.appendChild(b)}, | |
vA:function(a,b){var c=An.Mg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(b,c){delete An.Mg[c];d||(d=!0,null!=An.Mg.imageLoadingEnabled||(An.Mg.imageLoadingEnabled=b),a(b))}; | |
b?b(c):An.XL(c)}}, | |
XL:function(a){var b=new window.Image,c=""+An.Mr++;An.Mg[c]=b;b.onload=function(){(0,window.clearTimeout)(d);a(!0,c)}; | |
var d=(0,window.setTimeout)(function(){a(!1,c)},300); | |
b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="}, | |
KV:function(a){if(a){var b=g.Dd("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+An.Mr++;An.Mg[c]=b;b.onload=b.onerror=function(){delete An.Mg[c]}; | |
window.document.body.appendChild(b)}}, | |
nE:function(a){if(a){var b=new window.Image,c=""+An.Mr++;An.Mg[c]=b;b.onload=b.onerror=function(){delete An.Mg[c]}; | |
b.src=a}}, | |
oE:function(a,b,c){if(a){if(c)try{if(g.w.navigator&&g.w.navigator.sendBeacon&&g.w.navigator.sendBeacon(a,""))return}catch(d){}b?An.vA(function(b){b?An.nE(a):An.KV(a)}):An.nE(a)}}, | |
HJ:function(a){a=g.Ic(g.Lc(a));if("about:invalid#zClosurez"===a)return"";a=g.Uc(Wc(a));return g.ob(g.yg(a))}};g.A(g.Km,g.M);var Nm=[];g.h=g.Km.prototype;g.h.U=function(a,b,c,d){return Lm(this,a,b,c,d)}; | |
g.h.xh=function(a,b,c,d){return Om(this,a,b,c,d)}; | |
g.h.Ea=function(a,b,c,d,e){if(g.Aa(b))for(var f=0;f<b.length;f++)this.Ea(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Da(d)?!!d.capture:!!d,e=e||this.A||this,c=pf(c),d=!!d,b=g.gf(a)?a.zl(b,c,d,e):a?(a=g.rf(a))?a.zl(b,c,d,e):null:null,b&&(g.xf(b),delete this.l[b.key])}; | |
g.h.V=function(){g.Km.ba.V.call(this);g.Qm(this)}; | |
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.A(Rm,g.M);Rm.prototype.D=function(){this.A=(0,g.F)()}; | |
Rm.prototype.H=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.l&1&&c.push("nm="+this.B);this.l&2&&c.push("nb="+this.C.get(b));if(this.l&8){var d=g.Bh(this.o);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.l&16&&null!=this.A&&c.push("clkt="+((0,g.F)()-this.A));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))}; | |
Rm.prototype.F=function(){this.B++}; | |
Rm.prototype.V=function(){Rm.ba.V.call(this);this.g.dispose()};var Oda=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var Um="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");Wm.prototype.isBumper=function(){return this.l};g.h=Xm.prototype;g.h.ks=function(){return this.g.ks()}; | |
g.h.Cl=function(){return this.g.Cl()}; | |
g.h.Vf=function(){return this.g.Vf()}; | |
g.h.Nl=function(a){return this.kg?this.g.Go():this.g.Nl(a)}; | |
g.h.setSize=function(a,b){this.g.setSize(a,b)}; | |
g.h.Tr=function(){return this.g.Tr()}; | |
g.h.Pj=function(){return this.g.Pj()}; | |
g.h.Ts=function(){return this.g.Ts()}; | |
g.h.Io=function(){return this.g.Io()}; | |
g.h.hide=g.y;g.h.ag=g.y;g.h.zd=g.y;g.h.Go=function(){return this.g.Go()}; | |
g.h.Ho=g.y;g.A(Ym,g.af);Ym.prototype.getError=function(){return this.l};var Oy="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(" "), | |
$0="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(" "), | |
Hha="acceptinvitation click close collapse creativeview expand progress".split(" "),a1="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),b1={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression", | |
overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression"};g.A(Zm,g.af);Zm.prototype.Pb=function(){return this.l}; | |
var rha={AX:"adCanPlay",CX:"adNotify",cZ:"contentPauseRequested",dZ:"contentResumeRequested",Rq:"click",wZ:"discardAdNotify",p4:"videoClicked",r4:"videoIconClicked",Gw:"engagedview",c_:"expandedChanged",W2:"start",fn:"impression",Vw:"measurable_impression",yx:"viewable_impression",Mw:"fully_viewable_audible_half_duration_impression",RH:"overlay_resize",SH:"overlay_unmeasurable_impression",TH:"overlay_unviewable_impression",VH:"overlay_viewable_immediate_impression",UH:"overlay_viewable_end_of_session_impression", | |
f_:"externalActivityEvent",PAUSED:"pause",n2:"resume",Kw:"firstquartile",Ww:"midpoint",vx:"thirdquartile",Cw:"complete",PZ:"durationChange",kY:"autoClose",g4:"userClose",h4:"userRecall",R1:"prefetched",Uq:"loaded",ZX:"allAdsCompleted",kx:"skip",iI:"skipshown",l0:"linearChanged",N2:"skippableStateChanged",BX:"adMetadata",zX:"adBreakReady",w0:"log",VOLUME_CHANGED:"volumeChange",x4:"mute",U_:"interaction",TY:"companionBackfill",N4:"youTubeVideoMetadata",K4:"youTubeChannelMetadata",f4:"urlNavigationRequested", | |
C3:"trackingUrlPinged",l4:"video_card_endcap_action",m4:"video_card_endcap_collapse",n4:"video_card_endcap_dismiss",o4:"video_card_endcap_impression",H4:"why_this_ad_url",G4:"why_this_ad_got_it",l1:"MUTE_AD",WY:"companionInitialized",VY:"companionImpression",UY:"companionClick",E0:"mediaUrlPinged",M4:"youtubeKevlarCompanionShow",L4:"youtubeKevlarCompanionHide",O4:"yt-show-toast"};cn.prototype.g=function(){return this.X}; | |
cn.prototype.getPlayerType=function(){return""}; | |
var P=new cn;var oua={NORMAL:"normal",Lw:"fullscreen"};var gt=["ADSENSE","ADSENSE/ADX"],Mfa=["DART","DART_DFA","DART_DFP"],Zfa=["FREEWHEEL","YT:FREEWHEEL"],ps=["SHOPPING","YT:SHOPPING"],Nfa=["GDFP"],Lfa=["VIRAL","ADSENSE-VIRAL"],Kfa=["VIRAL-RESERVE"],Xp={"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"},Mu={nZ:"application/dash+xml",P0:"video/mp4", | |
R0:"video/mpeg",B0:"application/x-mpegURL",q1:"video/ogg",m3:"video/3gpp",A4:"video/webm",MP3:"audio/mpeg",Q0:"audio/mp4"};g.A(dn,g.af);g.A(en,Error);en.prototype.Nd=function(){return this.A}; | |
en.prototype.Ib=function(){return this.l}; | |
en.prototype.Ub=function(){return this.B}; | |
en.prototype.toString=function(){return"AdError "+this.Ib()+": "+this.Nd()+(null!=this.Ql?" Caused by: "+this.Ql:"")};fn.prototype.g=function(){return!1}; | |
fn.prototype.l=function(){return window.NaN}; | |
fn.prototype.o=function(){return""};gn.prototype.getId=function(){return this.Fa};hn.prototype.getId=function(){return this.Fa};var Yda=["ActiveViewExternalLayer"],ln=null;var Pea=["*.googlesyndication.com","gcdn.2mdn.net"],$da=["*.youtu.be","*.youtube.com"],cea="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(" "),bea=["c.googlesyndication.com"], | |
Sia=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];Cn.prototype.Ib=function(){return this.errorCode}; | |
Cn.prototype.Nd=function(){return this.message}; | |
var cja=new Cn("Unable to request ads from server. Cause: {0}.",1005),Tia=new Cn("Unable to request ads from server due to network error.",1012),Fz=new Cn("Cannot parse the {0} value for the adslist response: {1}.",900),Ju=new Cn("Invalid usage of the API. Cause: {0}",900),Cha=new Cn("Asset fallback ad replacement.",1021),Dha=new Cn("Asset fallback no ad replacement.",1021),c1=new Cn("Unable to display one or more required companions.",602),fC=new Cn("There was a problem requesting ads from the server.", | |
1005),d1=new Cn("There was a problem requesting the biscotti ID.",1005),Ria=new Cn("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),IB=new Cn("The provided ad type: {0} is not supported.",1005),Do=new Cn("The provided {0} information: {1} is invalid.",1101),pua=new Cn("The provided skip offset was invalid.",1105),qua=new Cn("The extension contained is neither skippable nor nonskippable.",1105),Qq=new Cn("The response does not contain any valid ads.",1009),rua=new Cn("The overlay ad content could not be displayed since creative dimensions do not align with display area.", | |
501),Oha=new Cn("The ad playlist response was malformed or empty.",1010),Gz=new Cn("The ad response was not understood and cannot be parsed.",1010),Wia=new Cn("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),eja=new Cn("The ad response contains unexpected element. Cause {0}.",1010),vC=new Cn("No assets were found in the VAST ad response.",200),Hfa=new Cn("Duplicate node in <{0}>: {1}",101),lB=new Cn("The VAST response document is empty.",1009), | |
oha=new Cn("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),Pq=new Cn("Ad request reached a timeout.",301),mB=new Cn("VAST response was malformed and could not be parsed.",100),e1=new Cn("VAST media file loading reached a timeout of {0} seconds.",402),Rq=new Cn("Ad request could not be completed due to a network error.",301),sua=new Cn("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.", | |
503),bfa=new Cn("The maximum number of VAST wrappers ({0}) has been reached.",302),tua=new Cn("VAST media file duration differs from the VAST response duration by {0} seconds.",202),dy=new Cn("Video player received an ad with unexpected or incompatible linearity",201),Gfa=new Cn("Unknown node in <{0}>: {1}",101),Nga=new Cn("Invalid VAST resource type: {0}",101),ria=new Cn("Invalid VAST version",102),cfa=new Cn("No additional VAST wrappers allowed.",300),Wq=new Cn("No Ads VAST response after one or more Wrappers", | |
303),iy=new Cn("There was an error playing the video ad.",400),uua=new Cn("VMAP unsupported node in <{0}>: {1}",1010),Kw=new Cn("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901),eia=new Cn("There was an error playing the video ad. {0}",400);g.A(Jn,g.af);var zA="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var eea=function(){if(g.LL)return Kn(/Firefox\/([0-9.]+)/);if(g.xd||IL||g.cf)return pc;if(g.zI)return lc()?Kn(/CriOS\/([0-9.]+)/):Kn(/Chrome\/([0-9.]+)/);if(g.ZL&&!lc())return Kn(/Version\/([0-9.]+)/);if(yM||xM){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Ib);if(a)return a[1]+"."+a[2]}else if(zM)return(a=Kn(/Android\s+([0-9.]+)/))?a:Kn(/Version\/([0-9.]+)/);return""}();var Xn={},Zn="",Sn=/OS (\S+) like/,vua=/OS X (\S+)\)/,Vn=/Android ([\d\.]+)/;eo.prototype.reset=function(){this.g=0;this.l=null};g.f1={Iw:["BC","AD"],Hw:["Before Christ","Anno Domini"],Yw:"JFMAMJJASOND".split(""),lx:"JFMAMJJASOND".split(""),Vq:"January February March April May June July August September October November December".split(" "),Yq:"January February March April May June July August September October November December".split(" "),Wq:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Zq:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),ir:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), | |
dr:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Xq:"Sun Mon Tue Wed Thu Fri Sat".split(" "),ar:"Sun Mon Tue Wed Thu Fri Sat".split(" "),KH:"SMTWTFS".split(""),mx:"SMTWTFS".split(""),jx:["Q1","Q2","Q3","Q4"],fx:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Qq:["AM","PM"],Ym:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],fr:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Ew:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Vk:6,zx:[5,6],Wk:5}; | |
g.f1={Iw:["SM","M"],Hw:["Sebelum Masehi","Masehi"],Yw:"JFMAMJJASOND".split(""),lx:"JFMAMJJASOND".split(""),Vq:"Januari Februari Maret April Mei Juni Juli Agustus September Oktober November Desember".split(" "),Yq:"Januari Februari Maret April Mei Juni Juli Agustus September Oktober November Desember".split(" "),Wq:"Jan Feb Mar Apr Mei Jun Jul Agt Sep Okt Nov Des".split(" "),Zq:"Jan Feb Mar Apr Mei Jun Jul Agt Sep Okt Nov Des".split(" "),ir:"Minggu Senin Selasa Rabu Kamis Jumat Sabtu".split(" "),dr:"Minggu Senin Selasa Rabu Kamis Jumat Sabtu".split(" "), | |
Xq:"Min Sen Sel Rab Kam Jum Sab".split(" "),ar:"Min Sen Sel Rab Kam Jum Sab".split(" "),KH:"MSSRKJS".split(""),mx:"MSSRKJS".split(""),jx:["K1","K2","K3","K4"],fx:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"],Qq:["AM","PM"],Ym:["EEEE, dd MMMM y","d MMMM y","d MMM y","dd/MM/yy"],fr:["HH.mm.ss zzzz","HH.mm.ss z","HH.mm.ss","HH.mm"],Ew:["{1} {0}","{1} {0}","{1} {0}","{1} {0}"],Vk:6,zx:[5,6],Wk:5};go.prototype.clone=function(){return new go(this.g,this.months,this.days,this.hours,this.minutes,this.seconds)}; | |
go.prototype.times=function(a){return new go(this.g*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)}; | |
go.prototype.add=function(a){this.g+=a.g;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds}; | |
g.h=g.jo.prototype;g.h.fo=g.f1.Vk;g.h.jo=g.f1.Wk;g.h.clone=function(){var a=new g.jo(this.date);a.fo=this.fo;a.jo=this.jo;return a}; | |
g.h.getFullYear=function(){return this.date.getFullYear()}; | |
g.h.getMonth=function(){return this.date.getMonth()}; | |
g.h.getDate=function(){return this.date.getDate()}; | |
g.h.getTime=function(){return this.date.getTime()}; | |
g.h.getDay=function(){return this.date.getDay()}; | |
g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()}; | |
g.h.getUTCMonth=function(){return this.date.getUTCMonth()}; | |
g.h.getUTCDate=function(){return this.date.getUTCDate()}; | |
g.h.getUTCHours=function(){return this.date.getUTCHours()}; | |
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()}; | |
g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()}; | |
g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())}; | |
g.h.add=function(a){if(a.g||a.months){var b=this.getMonth()+a.months+12*a.g,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()), | |
this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),io(this,a.getDate()))}; | |
g.h.yo=function(a){return[this.getFullYear(),g.xb(this.getMonth()+1,2),g.xb(this.getDate(),2)].join(a?"-":"")+""}; | |
g.h.toString=function(){return this.yo()}; | |
g.h.valueOf=function(){return this.date.valueOf()};ko.prototype.reset=function(){this.l=this.g=null};var qo=new mo;mo.prototype.clear=function(){this.g=lo();this.B=this.I=this.l=null;this.A=lo();this.o=null;this.X=this.D=this.H="";this.F=this.T=this.C=null};g.ya(po);po.prototype.isLoggingEnabled=function(){return this.g};g.h=to.prototype;g.h.NI=!1;g.h.Hx=!1;g.h.Mx=!0;g.h.pj=null;g.h.bitrate=-1;g.h.contentId=null;g.h.Hy=!1;g.h.Ll=!1;g.h.Ml=null;g.h.surveyCreativeData=null;g.h.BW=!0;g.h.aw=!1;g.h.DW=!1;g.h.dw=!1;g.h.ew=!1;g.h.rF=!1;g.h.sF=!0;g.h.uJ=!1;g.h.EW=!0;g.h.Xz=!0;g.h.rr=!1;g.h.nJ=!1;g.h.OW=0;g.h.showContentThumbnail=!0;g.h.Yv=!1;g.h.Zv=!1;g.h.ti=null;g.h.uf=1E4;g.h.Nx=!0;g.h.FD=0;g.h.ov=-1;g.h.Wz=null;g.h.Vi=-1;g.h.shortViewCount=null;g.A(uo,g.Cf);var yA={uY:"beginFullscreen",Rq:"click",UZ:"end",VZ:"endFullscreen",ERROR:"error",Uq:"loaded",D0:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",M2:"skip",iI:"skipShown",F2:"shareClicked",ox:"start",r3:"timeUpdate",HY:"cardsStateChange",o3:"timedMetadata",w4:"volumeChange"};g.h=uo.prototype;g.h.dA=function(){return!1}; | |
g.h.kb=function(){return!0}; | |
g.h.Ev=g.y;g.h.fA=g.y;g.h.Ws=g.y;g.h.Ie=function(){return null}; | |
g.h.Zs=g.y;g.h.Ys=g.y;g.A(vo,g.Cf);var wo=null;vo.prototype.Gk=function(a){this.o=a}; | |
vo.prototype.destroy=function(){this.W.Ea(this.l,"activityMonitor",this.I);this.l=null}; | |
vo.prototype.I=function(a){var b=a.eg;switch(a.ee){case "appStateChanged":Gda(em.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":Ao(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":yo(b.queryId,b.viewabilityString);break;case "pageSignals":this.H=b.pageSignals;break;case "viewableImpression":zo(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;xo().A=b;xo().F=(0,g.F)();break;case "viewability":a=b.eventId;window.clearTimeout(a); | |
var c=this.g.get(a);c&&(this.g.remove(a),c(b.viewabilityData));break;case "viewabilityMeasurement":var d=em.getInstance(),e=b.queryId;b=b.viewabilityData;a=gj.getInstance();if("exc"==a.yb){d.B=b.nativeVolume;c=b.exposure||0;var f=b.unmeasurable;d=d.xo(e,{});null!=b.presenceData&&(null===d.l&&(d.l=new rk),g.ec(d.l,b.presenceData));-1==d.fa&&(d.fa=vi(),d.vb=d.Md().l.g);d.ea+=f?1:0;d.Wa++;d.La.update(c,c,!1,1,!1);e=b.insideIframe;g.t(e)&&0==e&&(a.g=!1);d.uh=f||d.uh;b.position&&fk(d,ei,a.g,new g.Yg(b.position.top, | |
b.position.right,b.position.bottom,b.position.left));b.documentSize&&(a.A=new g.I(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.o=new g.I(b.viewportSize.width,b.viewportSize.height));gk(d,c,b.screenShare)}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.g.get(a),po.getInstance().isLoggingEnabled()&&(f=-1,this.C&&(f=(0,g.F)()-this.C),d=!1,c||(d=!0),Tb(b,"loggingId")&&so(po.getInstance(),43,{step:"receivedResponse",time:(0,g.F)(),timeout:d,logid:b.loggingId,timediff:f})), | |
c&&(this.g.remove(a),c(b.engagementString))}}; | |
g.va("ima.bridge.getNativeViewability",function(a,b){xo();b({})},void 0); | |
g.va("ima.bridge.getVideoMetadata",function(){var a=xo().D;return g.Ca(a)?a():{}},void 0); | |
g.va("ima.bridge.triggerViewEvent",zo,void 0);g.va("ima.bridge.triggerMeasurableEvent",yo,void 0);g.va("ima.bridge.triggerExternalActivityEvent",Ao,void 0);var jea={vH:"Image",jH:"Flash",ALL:"All"},iea={F_:"Html",J_:"IFrame",Y2:"Static",ALL:"All"},kea={K_:"IgnoreSize",z2:"SelectExactMatch",A2:"SelectNearMatch"},lea={vZ:"DisallowResize",h2:"ResizeSmaller"};var g1=!1,h1=""; | |
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(g1=!0,a.description)){h1=Co(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){g1=!0;h1="2.0.0.11";return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],g1=!(!a||!a.enabledPlugin))){h1=Co(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");g1= | |
!0;h1=Co(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");g1=!0;h1="6.0.21";return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),g1=!0,h1=Co(b.GetVariable("$version"))}catch(c){}})(); | |
var Jo=g1,AB=h1;g.A(Oo,g.Cf);var Po=null;g.h=Oo.prototype;g.h.destroy=function(){this.W.Ea(this.g,"activityMonitor",this.aA);this.o=!1;this.l.clear()}; | |
g.h.V=function(){this.destroy();Oo.ba.V.call(this)}; | |
g.h.init=function(a){if(!this.o){if(this.g=a||null)this.W.U(this.g,"activityMonitor",this.aA),Vo(this);if(P.I&&!(g.w.ima&&g.w.ima.video&&g.w.ima.video.client&&g.w.ima.video.client.tagged)){g.va("ima.video.client.sdkTag",!0,void 0);var b=g.w.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(a=P.l||P.g())|| | |
(a=!1);a||(em.getInstance().A=!0);this.B=(g.Ca(null),null);fm();this.o=!0}}; | |
g.h.Gk=function(a){this.A=a}; | |
g.h.aA=function(a){var b=a.eg,c=b.queryId,d={};d.eventId=b.eventId;switch(a.ee){case "getPageSignals":Vo(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=To(this,e,c,a,f);this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Tb(b,"isFullscreen")&&(c=b.isFullscreen),Tb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,so(po.getInstance(), | |
43,{step:"beforeLookup",logid:b,time:(0,g.F)()},!0)),d.engagementString=qea(this,a,c),this.g.send("activityMonitor","engagement",d)}}; | |
g.va("ima.common.getVideoMetadata",function(a){a=Qo().l.get(a);return g.Ca(a)?a():{}},void 0); | |
g.va("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Qo().g;d?d.send("activityMonitor","viewableImpression",c):Qo().dispatchEvent(new Zm("viewable_impression",null,c))},void 0); | |
g.va("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=Qo().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0); | |
g.va("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Qo().g;d?d.send("activityMonitor","measurableImpression",c):Qo().dispatchEvent(new Zm("measurable_impression",null,c))},void 0); | |
g.va("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=Qo().g)?a.send("activityMonitor","externalActivityEvent",d):Qo().dispatchEvent(new Zm("externalActivityEvent",null,d))},void 0); | |
Qo();g.A(Wo,g.af);Wo.prototype.getError=function(){return this.g};Xo.prototype.cd=function(){return this.D}; | |
Xo.prototype.Cc=function(){return this.A}; | |
Xo.prototype.clone=function(){var a=new Xo(this.H,this.F);if(null!=this.A)Yo(a,this.Cc(),this.o,this.g,this.B);else{var b=this.cd(),c=this.o,d=this.g,e=this.l,f=this.B,k=this.C;a.D=b;a.A=null;a.o=c;a.g=d;a.l=e;a.B=f||[];a.C=k||[]}return a};g.A($o,g.af);ap.prototype.videoCount=0;g.bp.prototype.l=Ac;var jp={},vp={},wp={},Ar={},qq={};dp.prototype.nl=null;dp.prototype.cd=function(){return this.content}; | |
dp.prototype.toString=function(){return this.content}; | |
g.A(ep,dp);ep.prototype.uj=qq;g.A(fp,dp);fp.prototype.uj=jp;g.A(gp,dp);gp.prototype.uj=Ar;gp.prototype.nl=1;var kp=function(a){function b(a){this.content=a} | |
b.prototype=a.prototype;return function(a,d){var c=new b(String(a));void 0!==d&&(c.nl=d);return c}}(fp),yea=function(a){function b(a){this.content=a} | |
b.prototype=a.prototype;return function(a){return new b(String(a))}}(gp),lp={},mp={},Gr=function(a){function b(a){this.content=a} | |
b.prototype=a.prototype;return function(a,d){var c=String(a);if(!c)return"";c=new b(c);void 0!==d&&(c.nl=d);return c}}(fp),tp=/['()]/g,Cp={},zea={"\x00":"�", | |
"\t":"	","\n":" ","\x0B":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},Aea={"\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"},sea=/[\x00\x22\x27\x3c\x3e]/g,uea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,tea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,yp=/[\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, | |
wea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,xea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,mfa=/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,pp=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,qp=/</g;Gp.prototype.Ta=function(){return this.o}; | |
Gp.prototype.Ub=function(){return this.l}; | |
g.A(Hp,Gp);Fp.prototype.isEmpty=function(){return this.g.isEmpty()};g.h=Op.prototype;g.h.getDuration=function(){return this.ha}; | |
g.h.tt=function(){return null}; | |
g.h.qt=function(){return null}; | |
g.h.lt=function(){return null}; | |
g.h.Pb=function(){return this.H}; | |
g.h.ro=function(){for(var a=[this],b=this.H.l;b;){var c=Rp(this,b)||Rp(this,b,!0);null!=c&&a.push(c);b=b.l}return a};Sp.prototype.Cb=function(){return this.C}; | |
Sp.prototype.getHeight=function(){return this.A}; | |
Sp.prototype.Ta=function(){return this.B};g.A(Tp,Op);g.h=Tp.prototype;g.h.qf=function(){return this.A}; | |
g.h.ih=function(){return this.l}; | |
g.h.jh=function(){return null!=this.B?this.B.Ta():null}; | |
g.h.tt=function(){var a=Vp(this,"javascript");return null!=a?a.Ta():null}; | |
g.h.qt=function(){var a=Wp(this);return null!=a?a.Ta():null}; | |
g.h.lt=function(){return null!=this.B?this.B.l:1==this.l.length?this.l[0].l:null};g.A(Yp,Op);g.h=Yp.prototype;g.h.cd=function(){return Sd(this.Cc())}; | |
g.h.Pl=function(){return!1}; | |
g.h.vt=function(){return this.Pl()?Sd(this.Cc(!0)):""}; | |
g.h.nd=function(){return this.Y}; | |
g.h.de=function(){return this.Ga}; | |
g.h.Cb=function(){return this.de().width}; | |
g.h.getHeight=function(){return this.de().height}; | |
g.h.jh=function(){return this.l}; | |
g.h.tt=function(){return"VPAID"==this.I&&"Javascript"==this.Y?this.l:null}; | |
g.h.qt=function(){return"VPAID"==this.I&&"Flash"==this.Y?this.l:null}; | |
g.h.lt=function(){return this.I}; | |
g.h.qf=function(){return this.na};g.A(Zp,g.M);Zp.prototype.D=function(){this.C=(0,g.F)()}; | |
Zp.prototype.H=function(a,b){var c=a.element;1==(this.l&1)&&(0==this.A&&this.A++,this.g.nm=this.A);2==(this.l&2)&&(this.g.nb=a.fJ);if(8==(this.l&8)){var d=g.Bh(this.B);this.g.nx=Math.round(b.clientX-d.x);this.g.ny=Math.round(b.clientY-d.y)}16==(this.l&16)&&null!=this.C&&(d=(0,g.F)()-this.C,this.g.clkt=d);512==(this.l&512)&&(d=li())&&(this.g.mb=d);"A"==c.tagName.toUpperCase()&&g.$c(c,Iea(this,c.href))}; | |
Zp.prototype.F=function(){this.A++};var wua=g.xd?Fc(g.xc('javascript:""')):Fc(g.xc("about:blank")),Jea=Dc(wua),xua=g.xd?Fc(g.xc('javascript:""')):Fc(g.xc("javascript:undefined"));Dc(xua);g.A($p,Yp);g.h=$p.prototype;g.h.mj=function(a){null==this.o||g.C(g.E(this.qf()))||(this.o.U(a,"click",this.X),this.Z.push(a))}; | |
g.h.Cc=function(a){a?(null==this.fa&&(this.fa=this.vg(a),g.Gd(this.fa,eq(this))),a=this.fa):(null==this.A&&(this.A=this.vg(),g.Gd(this.A,eq(this))),a=this.A);null!=this.o&&this.o.U(a,"creativeview",this.ea);return a}; | |
g.h.vg=function(){var a=g.E(this.l);g.C(g.E(this.qf()))||(a=new g.um(a),g.Dm(a,"clickTAG",g.ob(this.qf())),a=a.toString());var b=g.K("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.nd()&&(b.width=this.Cb());b.setAttribute("src",un(a));this.mj(b);return dq(this,b)}; | |
g.h.ls=function(){nn().g("cleanup_text_overlay_spam_signals");return 2}; | |
g.h.ro=function(){for(var a=[this],b=this.Pb().l;b;){var c=this.C?Rp(this,b)||Rp(this,b,!0):fq(this,b)||fq(this,b,!0);null!=c&&a.push(c);b=b.l}return a};var Nea={};g.A(rq,$p);g.h=rq.prototype;g.h.de=function(){return new g.I(this.Cb(),this.getHeight())}; | |
g.h.getHeight=function(){return 63}; | |
g.h.Cb=function(){return null!=this.D?g.Kh(this.D).width:0}; | |
g.h.ls=function(a){return nn().g("cleanup_text_overlay_spam_signals")?g.jq(a,"text-image-link")?9:g.jq(a,"text-ad-channel")?1:0:g.jq(a,"text-image")?9:g.jq(a,"text-ad-channel")?1:0}; | |
g.h.vg=function(){var a=this.Pb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.B,e="rtl";null!=d&&(e=Tta.test(yc(d,void 0))?"rtl":"ltr");d={title:d,text:c.C+" "+c.D,dir:e,Kc:this.qf()};if(e=c.getImageUrl())d.image=un(e),d.tF=!0,P.g()&&(d.tF=0==c.l||0==c.o),a=g.La(a.D,function(a){return a instanceof Tp}),null!=a&&(d.duration=Lo(a.getDuration())); | |
b.o&&(d.vF=b.o);this.D=pq(Bea,d);(0,g.B)(this.D.getElementsByTagName("a"),this.mj,this);this.D.id=this.Fa;this.D.style.height=this.getHeight()+"px";return this.D};var Rea=[202,1009],Wea="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),Vea={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=Oq.prototype;g.h.Yf=function(){return null!=this.g&&this.g.Yf()?!0:0<this.ads.length&&this.l<this.ads.length-1}; | |
g.h.Ke=function(a,b){null!=this.g?afa(this,a,b):this.Yf()?dfa(this,a,(0,g.z)(function(c){!this.Yf()||!P.g()&&301==c.Ib()?b(c):this.Ke(a,b)},this)):b(new en("adLoadError","The ad source contains no more ads.",1005))}; | |
g.h.Zy=function(a,b){return this.B?0<a.length?a:b:g.Za(b,0,1)}; | |
g.h.Kp=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.C;d=e.pf||0;e=e.nf||0;Ws(a)&&!a.ca?$s(a,"nonlinear")?Mq(a,d,e):Nq(a):$s(a,"linear")?Nq(a):$s(a,"nonlinear")&&Mq(a,d,e);d=null!=a.g}d?(this.o++,b(a)):(b=g.Qa(a.D)?En(mB):a.Vb()?En(vC):En(sua),d=Cq(b,a),No(Ofa(a),"rm")?b.o=!1:Bn(a.ha,d),c(b))}; | |
g.h.rv=function(a,b,c){var d=this.C.clone();d.l="";d.g=a.Wb;d.cf=Vm(d.g,d.Fo);Tq(this,a,d,b,c)};g.A(Yq,gq);Yq.prototype.pe=function(){return this.l};g.A(Zq,Oq);Zq.prototype.Yf=function(){if(null!=this.g&&this.g.Yf())return!0;var a=0==this.o||this.o==this.I;return 0<this.ads.length&&a&&this.l<this.ads.length-1}; | |
Zq.prototype.Zy=function(a,b){return b}; | |
Zq.prototype.Kp=function(a,b,c){var d=null==this.g?Ms(a):Ms(this.ads[this.l]);this.H.o=d;Zq.ba.Kp.call(this,a,b,c)}; | |
Zq.prototype.rv=function(a,b,c){this.H.o=-1;Zq.ba.rv.call(this,a,b,c)};g.A(ar,g.um);ar.prototype.toString=function(){return dr(this,ar.ba.toString.call(this))}; | |
ar.prototype.Bz=function(){return""}; | |
ar.prototype.mi=function(){return""}; | |
ar.prototype.clone=function(){return new ar(this.toString())};g.h=mr.prototype;g.h.cd=function(){return this.g.cd()}; | |
g.h.Cc=function(){return this.g.Cc()}; | |
g.h.nd=function(){return this.g.nd()}; | |
g.h.Cb=function(){return this.g.Cb()}; | |
g.h.getHeight=function(){return this.g.getHeight()}; | |
g.h.Pb=function(){return this.g.Pb()};np("a","",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiLearnMore")+'">'+Q(a.vh)+'</div><div class="'+Q("videoAdUiShare")+'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+Q("videoAdUiLearnMoreText")+ | |
'">'+Q(a.vh)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Dp(a.gf))+">"+Q(a.gf)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+'" '+Q(Dp(a.Wd))+">"+ | |
Q(a.Wd)+'</div></div></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'}); | |
np("a","fixedDirectionality",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiLearnMore")+'">'+Q(a.vh)+'</div><div class="'+Q("videoAdUiShare")+'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+ | |
Q("videoAdUiLearnMoreText")+'">'+Q(a.vh)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'">'+Q(a.gf)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+'">'+Q(a.Wd)+ | |
'</div></div></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'}); | |
np("a","redesign2014q4",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTopButtons")+'"><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonInfo")+'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+'">'+Q(a.infoText)+'</div></div></div><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonShare")+ | |
'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+" "+Q("videoAdUiTopButtonShareTooltip")+'">'+Q(a.f5)+'</div></div></div><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonWatchLater")+'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+'">'+Q(a.g5)+'</div></div></div></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+ | |
'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+Q("videoAdUiBottomBarText")+'"><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Dp(a.gf))+">"+Q(a.gf)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+ | |
'" '+Q(Dp(a.Wd))+">"+Q(a.Wd)+'</div></div></div></div><div class="'+Q("videoAdUiVisitAdvertiserLink")+'"><div class="'+Q("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+Q("videoAdUiVisitAdvertiserIcon")+'"></div></div></div><div class="'+Q("videoAdUiBottomBarMessage")+'"></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'}); | |
np("b","",function(a){a=a||{};return"Anda dapat mengabaikan iklan ini dalam "+Q(a.ie)}); | |
np("b","redesign2014q4",function(a){a=a||{};return"Anda dapat meloncat ke video dalam "+Q(a.ie)}); | |
np("b","forcedlinebreak",function(a){a=a||{};return"Anda dapat langsung ke"+(Q(a.zp)+("video dalam "+Q(a.ie)))}); | |
np("b","postroll",function(a){a=a||{};return"You can skip ad in "+Q(a.ie)}); | |
np("b","postrollforcedlinebreak",function(a){a=a||{};return"You can skip"+(Q(a.zp)+("ad in "+Q(a.ie)))});g.A(Kr,$p);var Cfa=new g.I(300,250);Kr.prototype.La=function(){this.D=Math.max(0,this.D-1);Mr(this)}; | |
Kr.prototype.Hb=function(){this.D=Math.min(this.ya-3,this.D+1);Mr(this)}; | |
Kr.prototype.vg=function(){return this.M};g.A(Pr,$p);var Efa=new g.I(300,250);Pr.prototype.vg=function(){return this.D};var Qr=g.xd&&Ffa();g.A(hs,gq);is.prototype.parse=function(a){a=g.Nd(a);var b=$r(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw En(qua);a=a.getAttribute("offset");a=fs(a);if("skippable"==c&&null==a)throw En(pua);return new hs(c,a)};g.A(js,gq);g.A(ks,gq);g.h=ms.prototype;g.h.nd=function(){if(null!=et(this))return"application/javascript";if(null!=ft(this))return"application/x-shockwave-flash";var a=this.g,b="";if(null===a)return b;if(a instanceof Tp)a=a.B,null===a||(b=g.E(a.g));else if(a instanceof $p)switch(a.K){case "IFrame":case "Html":case "Static":b=g.E(a.ra)}return b}; | |
g.h.getExtension=function(a,b){if(b&&this.l){var c=this.l.getExtension(a,!0);if(c)return c}return this.T.get(a)}; | |
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()}; | |
g.h.Vb=function(){return this.ab?this.sa:at(this)?!0:Ws(this)?"video"==this.Nb:$s(this,"linear")}; | |
g.h.isSkippable=function(){return null!=ct(this)}; | |
g.h.OL=function(){return this.ca}; | |
g.h.getDuration=function(){return Xs(this)}; | |
g.h.jh=function(){var a=null,b=this.g;null!=b&&(a=b.jh(),g.C(g.E(a))&&(a=null));return a}; | |
g.h.Cb=function(){return this.Vb()?0:this.Y.width}; | |
g.h.getHeight=function(){return this.Vb()?0:this.Y.height}; | |
g.h.Ne=function(){return this.Wa}; | |
g.h.toString=function(){return"Ad: "+this.ya};g.A(lt,g.Cf);lt.prototype.l=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new Zm("companionImpression",this.g));break;case "companion_click":this.dispatchEvent(new Zm("companionClick",this.g))}};g.A(mt,g.Cf);g.h=mt.prototype;g.h.Fb=function(a){null==a||this.D||(this.ii=a,$fa(this),this.D=!0)}; | |
g.h.Yc=function(){null!=this.ii&&this.D&&(nt(this),this.C=this.H=this.D=!1,this.g=0,this.o=[],this.F=!1)}; | |
g.h.qU=function(a){this.H=!0;this.g=a.touches.length;this.l&&(window.clearTimeout(this.l),this.l=0,this.J=!0);(this.F=ot(this,a.touches)||1!=a.touches.length)?this.M=this.K=window.Infinity:(this.K=a.touches[0].clientX,this.M=a.touches[0].clientY);aga(this,a.touches)}; | |
g.h.UK=function(a){this.g=a.touches.length;if(!Tn(8)||Math.pow(a.changedTouches[0].clientX-this.K,2)+Math.pow(a.changedTouches[0].clientY-this.M,2)>Math.pow(5,2))this.C=!0}; | |
g.h.pU=function(a){this.B?this.Wr():(!this.H||1!=this.g||this.C||this.J||this.F||!ot(this,a.changedTouches)||(this.l=window.setTimeout((0,g.z)(this.Wr,this),300)),this.g=a.touches.length,0==this.g&&(this.C=this.H=!1,this.o=[]),this.J=!1)}; | |
g.h.bA=function(){this.Wr()}; | |
g.h.Wr=function(){this.l=0;this.dispatchEvent(new g.af("click"))}; | |
g.h.V=function(){this.Yc();this.A.dispose();this.A=null;mt.ba.V.call(this)};var dga=/#(.)(.)(.)(.)/,cga=/^#(?:[0-9a-f]{4}){1,2}$/i;g.A(g.rt,g.Cf);g.h=g.rt.prototype;g.h.kb=function(){return 1==this.g}; | |
g.h.Bp=function(){this.Ge("begin")}; | |
g.h.zm=function(){this.Ge("end")}; | |
g.h.wd=function(){this.Ge("finish")}; | |
g.h.Ge=function(a){this.dispatchEvent(a)};var yua=g.Hf(function(){if(g.xd)return g.qc("10.0");var a=g.Dd("DIV"),b=g.zd?"-webkit":g.qh?"-moz":g.xd?"-ms":g.cf?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Xc.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in Uta)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Yc("div",b,void 0);a.innerHTML=g.Uc(b);return""!=rh(a.firstChild,"transition")});g.A(ut,g.rt);g.h=ut.prototype;g.h.play=function(){if(this.kb())return!1;this.Bp();this.Ge("play");this.startTime=(0,g.F)();this.g=1;if(yua())return g.oh(this.l,this.D),this.A=g.sg(this.gV,void 0,this),!0;this.Kv(!1);return!1}; | |
g.h.gV=function(){g.Jh(this.l);tt(this.l,this.C);g.oh(this.l,this.o);this.A=g.sg((0,g.z)(this.Kv,this,!1),1E3*this.B)}; | |
g.h.stop=function(){this.kb()&&this.Kv(!0)}; | |
g.h.Kv=function(a){g.oh(this.l,"transition","");g.tg(this.A);g.oh(this.l,this.o);this.endTime=(0,g.F)();this.g=0;a?this.Ge("stop"):this.wd();this.zm()}; | |
g.h.V=function(){this.stop();ut.ba.V.call(this)}; | |
g.h.pause=function(){};g.A(vt,g.Cf);vt.prototype.V=function(){null!=this.Ri&&(g.tg(this.Ri),this.Ri=null);null!=this.Qe&&(g.Jd(this.Qe),this.Qe=null);vt.ba.V.call(this)}; | |
vt.prototype.B=function(){this.Ri=null;wt(this,!1);this.Ri=g.sg((0,g.z)(function(){this.Ri=null;xt(this,!1);null!=this.Qe&&g.O(this.Qe,!1);zt(this,"complete")},this),200)}; | |
vt.prototype.show=function(a){zt(this,"impression");wt(this,!0);xt(this,!0);null!=this.Qe&&g.O(this.Qe,!0);this.Ri=g.sg(this.B,a,this)}; | |
vt.prototype.C=function(a){P.g()||a.stopPropagation()};g.A(At,gq);g.A(Ct,gq);g.h=Dt.prototype; | |
g.h.yD=function(){var a={heading:"",targetingReasons:[],learnMore:"",es:"",control:"",mute:"",bw:this.C};if(null!=this.A){a.heading=this.A.B;var b=this.A.o;if(b&&3==b.length){var c=b[1],d=b[2];b=kp(Q(b[0])+Er()+Q(c)+kp("</a>")+Q(d));a.es=b}b=g.Xa(this.A.C);a.targetingReasons=b;for(c=0;c<b.length;c++)if(d=b[c],"string"===typeof d&&-1<d.indexOf("|")){var e=this.A.J;d=kp(Q(d.substring(0,d.length-2))+" <a href='"+R(Ap("https://support.google.com/ads/answer/7029660#match"))+"' target='_blank'>"+Q(e)+"</a>"); | |
b[c]=d}a.close=this.A.A}else a.heading=kp("Iklan ini mungkin didasarkan pada:"),a.es=Fr({Qx:Er(),Py:kp("</a>")}),a.targetingReasons=P.Z?[Ir(),kp("Aktivitas Anda selama login ke Google.")]:[Ir(),kp("Aktivitas Anda pada perangkat ini.")],a.close="Tutup";null!=this.l&&(a.mute=this.l.A);Ht(this,yfa,a);Gt(this,"videoAdUiWhyThisAdCloseButton",this.tj);Gt(this,"videoAdUiWhyThisAdControl",this.Ly);Gt(this,"videoAdUiWhyThisAdMute",this.bV);a=this.Ly;b=g.J("videoAdUiWhyThisAdGenericMessage",this.g);null!=b&& | |
(b=b.getElementsByTagName("A")[0],null!=b&&this.W.U(b,"click",a))}; | |
g.h.tj=function(){null!=this.W&&(this.W.dispose(),this.W=null);null!=this.g&&(null!=this.o&&(Et(this,"why_this_ad_got_it"),this.o.dispose(),this.o=null),this.g.parentElement.removeChild(this.g),this.g=null)}; | |
g.h.Ly=function(){Et(this,"why_this_ad_settings_url")}; | |
g.h.bV=function(){if(null!=this.l){Et(this,"mute_interaction_url");var a=Bt(this.l);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};Ht(this,Afa,b);Gt(this,"videoAdUiMuteCancel",this.yD);Gt(this,"videoAdUiMuteConfirm",this.iJ)}else{Et(this,"mute_url");b={heading:this.l.o,undo:this.l.C,question:this.l.B,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.l?(c=Ip(this.l.g,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.l.l[c].label); | |
Ht(this,zfa,b);Gt(this,"videoAdUiMuteUndo",this.rW);Gt(this,"videoAdUiMuteConfirm",this.bW);Gt(this,"videoAdUiMuteCancel",this.Jr)}}}; | |
g.h.iJ=function(){Et(this,"mute_url");this.Jr()}; | |
g.h.rW=function(){Et(this,"mute_undo_url");this.tj()}; | |
g.h.bW=function(){if(null!=this.l){for(var a=Bt(this.l),b=!1,c=0;c<a;c++){var d=g.J("videoAdUiMuteOption"+c,this.g);if(null!=d&&d.checked){b=!0;xn(this.l.l[c].url);break}}if(!b)return}this.Jr()}; | |
g.h.Jr=function(){Et(this,"MUTE_AD");this.tj()};g.A(Pt,g.Cf);var gga={1:"videoAdUiBrandInteractionHorizontalRect"},fga=[1],kga=[1],iga={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};Pt.prototype.update=function(){this.C||(this.dispatchEvent("feedbackShown"),this.A=Mt(this.l,.5),g.N(this,this.A),this.A.play(),g.O(this.l,!0),this.C=!0,mga(this))}; | |
Pt.prototype.F=function(a){P.g()||a.stopPropagation();a=a.target.ii;null!=a&&(g.oq(a,"selected")?(g.S(this.l,"optionSelected"),null!=this.o&&g.lq(this.o,"selected"),this.o=a):(g.lq(this.l,"optionSelected"),this.o=null),a=null!=this.o?g.jq(this.o,"videoAdUiBrandInteractionLikeButton")?"l":g.jq(this.o,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n","l"==a?this.dispatchEvent("feedbackLike"):"d"==a&&this.dispatchEvent("feedbackDislike"),this.H&&(Nt(this.l).play(),g.sg(function(){g.O(this.l,!1)}, | |
500,this)),null!=this.g&&(null!=Fe(this.g,Re,15)?nga(this):oga(this)))}; | |
Pt.prototype.V=function(){null!=this.l&&(g.Jd(this.l),this.l=null);this.o=null;Pt.ba.V.call(this)};g.A(Rt,g.Cf);Rt.prototype.B=function(){this.g?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")}; | |
Rt.prototype.V=function(){this.W.dispose();this.W=null;Rt.ba.V.call(this)};g.A(St,g.Cf);St.prototype.V=function(){null!=this.o&&(g.Jd(this.o),this.o=null);St.ba.V.call(this)}; | |
St.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.C=1;else if(1==this.C)Mt(this.o,.5).play(),g.O(this.o,!0),this.C=2;else if(this.A){var c=Math.round(b-a);0>c||g.Rd(this.g,Cr({ie:c}))}else this.F&&5<a&&(this.F=!1,g.O(this.g,!1))}; | |
St.prototype.H=function(){g.Mh(this.g)||g.O(this.g,!0)};g.A(g.Tt,g.M);g.h=g.Tt.prototype;g.h.start=function(){this.stop();this.o=!1;var a=Ut(this),b=Vt(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.Fa=g.of(this.g,"MozBeforePaint",this.l),this.g.mozRequestAnimationFrame(null),this.o=!0):this.Fa=a&&b?a.call(this.g,this.l):this.g.setTimeout(bba(this.l),20)}; | |
g.h.El=function(){this.isActive()||this.start()}; | |
g.h.stop=function(){if(this.isActive()){var a=Ut(this),b=Vt(this);a&&!b&&this.g.mozRequestAnimationFrame?g.xf(this.Fa):a&&b?b.call(this.g,this.Fa):this.g.clearTimeout(this.Fa)}this.Fa=null}; | |
g.h.isActive=function(){return null!=this.Fa}; | |
g.h.NJ=function(){this.o&&this.Fa&&g.xf(this.Fa);this.Fa=null;this.B.call(this.A,(0,g.F)())}; | |
g.h.V=function(){this.stop();g.Tt.ba.V.call(this)};g.A(g.Wt,g.M);g.h=g.Wt.prototype;g.h.Fa=0;g.h.V=function(){g.Wt.ba.V.call(this);this.stop();delete this.g;delete this.l}; | |
g.h.start=function(a){this.stop();this.Fa=g.sg(this.o,g.t(a)?a:this.rd)}; | |
g.h.stop=function(){this.isActive()&&g.tg(this.Fa);this.Fa=0}; | |
g.h.isActive=function(){return 0!=this.Fa}; | |
g.h.Cz=function(){this.Fa=0;this.g&&this.g.call(this.l)};g.zua=function(){if(g.K0){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Ib))?a[1]:"0"}return GT?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Ib))?a[0].replace(/_/g,"."):"10"):g.Un?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Ib))?a[1]:""):Nn||On||Ota?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Ib))?a[1].replace(/_/g,"."):""):""}();g.A(au,g.Cf);g.h=au.prototype;g.h.V=function(){g.Ze(this.A);this.A=null;g.Ze(this.H);this.H=null;null!=this.o&&(g.Jd(this.o),this.o=null);null!=this.skipButton&&(this.skipButton=null);null!=this.l&&(g.Jd(this.l),this.l=null);this.M.dispose();this.M=null;this.dc.dispose();this.dc=null;au.ba.V.call(this)}; | |
g.h.update=function(a,b){this.fa=b;this.Ir(a);2==this.state&&$t(this,a)}; | |
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.Z?!1:(this.Z=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)}; | |
g.h.Ir=function(a){if(!(0>=this.fa||null==this.config.skipOffset||0>Mp(this.config.skipOffset))){var b=Mp(this.config.skipOffset);b>=this.fa||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&($t(this,0),Mt(this.o,.5).play(),g.O(this.o,!0)),this.state=2):(3!=this.state&&this.Ix(),this.state=3,this.dispatchEvent("skipshown")))}}; | |
g.h.Ix=function(){g.O(this.l,!0);this.H=bu(this.o);this.H.play();this.A=Mt(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus()}; | |
g.h.XV=function(a){P.g()||a.stopPropagation();3!=this.state||this.Z||(this.Z=!0,this.dispatchEvent("skip"))};g.A(hu,au);var du={Wy:0,Vy:1},eu={Wy:1,Vy:0},fu={Gy:15},gu={Gy:300};g.h=hu.prototype;g.h.V=function(){hu.ba.V.call(this);ju(this);lu(this)}; | |
g.h.Ir=function(a){hu.ba.Ir.call(this,a);if(3==this.state&&!this.X&&!this.ga){var b=nu(this.T,this.g);if(a=mu(a,this.config,this.T))if(this.D==this.J.Wy&&a>=b)switch(this.J){case du:iu(this);break;case eu:ku(this,!0)}else if(this.D==this.J.Vy&&a<b)switch(this.J){case eu:iu(this);break;case du:ku(this,!0)}}}; | |
g.h.Ix=function(){g.O(this.l,!0);this.H=bu(this.o);this.H.play();if(this.X)var a=!1;else{a=nu(this.T,this.g);var b=mu(Mp(this.config.skipOffset),this.config,this.T);if(null!=b){var c=!1;switch(this.J){case eu:c=b<a;break;case du:c=b>=a}a=c}else a=!1}a?(this.D=1,this.A=Lt(this.l,.5,"ease-in",0,this.ca)):this.A=Mt(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus();this.X||(this.dc.U(g.Od(this.l),"mouseover",this.bQ),this.dc.U(g.Od(this.l),"mouseout",this.aQ))}; | |
g.h.bQ=function(){lu(this);0!=this.D&&ku(this,!1);this.ga=!0}; | |
g.h.aQ=function(){lu(this);this.K=g.sg(function(){this.ga=!1;this.K=null},5E3,this)};ou.prototype.getDuration=function(){return this.l}; | |
ou.prototype.Cc=function(){return this.g}; | |
ou.prototype.update=function(a,b){var c=null!=this.D?Mp(this.D):0;this.l=0<=this.l?this.l:b;c<=a&&c+this.l>=a?qga(this):g.O(this.g,!1)};g.A(qu,g.Cf);g.h=qu.prototype;g.h.show=function(){null!=this.g&&g.O(this.g,!0)}; | |
g.h.skip=function(){var a;if(a=null!=this.l)a=this.l,a=null!=a.config.skipOffset&&3==a.state;return a?this.l.skip():!1}; | |
g.h.V=function(){null!=this.g&&(g.Jd(this.g),this.g=null);null!=this.pa.l&&this.pa.l.tj();ru(this);(0,g.B)(this.X,function(a){a.Yc()}); | |
this.X=[];this.o=null;this.W.dispose();this.W=null;qu.ba.V.call(this)}; | |
g.h.update=function(a,b,c,d,e){null!=this.g&&(null!=this.ya&&yu(this,a,c,d,e),null!=this.fa&&g.Hh(this.fa,a/c*100+"%"),null!=this.Na&&g.Hh(this.Na,b/c*100+"%"),0<c&&null!=this.pa.skipOffset&&null!=this.l&&(Lp(this.pa.skipOffset,c),this.l.update(a,c)),0<c&&null!=this.K&&this.K.update(a),0<c&&null!=this.D&&this.D.update(a,c),this.pa.K&&0<c&&5>c-a&&g.S(this.ea,"videoAdUiTopBarNoFade"),(0,g.B)(this.na,function(b){b.update(a,c)},this))}; | |
g.h.Bt=function(a){this.ca=!this.pa.H&&P.g();this.La=!P.g()&&P.La;var b="";this.ca?b="redesign2014q4":this.La&&(b="fixedDirectionality");b={gf:this.pa.gf,vh:this.pa.vh,Wd:this.pa.Wd,ao:b};this.g=pq(this.pa.X,b);this.pa.ra||this.W.U(this.g,"touchmove",this.hL);this.fa=g.J("videoAdUiProgress",this.g);this.Na=g.J("videoAdUiBuffer",this.g);this.H=g.J("videoAdUiAttributionContainer",this.g);this.sa=g.J("videoAdUiAttributionIconContainer",this.g);this.ya=g.J("videoAdUiAttribution",this.g);this.Sa=g.J("videoAdUiVisitAdvertiserLink", | |
this.g);this.F=g.J("videoAdUiVisitAdvertiserLinkText",this.g);this.Z=g.J("videoAdUiVisitAdvertiserIcon",this.g);g.J("videoAdUiBottomBarMessage",this.g);this.J=g.J("videoAdUiAuthorIcon",this.g);this.A=g.J("videoAdUiAuthorName",this.g);this.B=g.J("videoAdUiLearnMore",this.g);this.T=g.J("videoAdUiLearnMoreText",this.g);this.ca?(this.I=g.J("videoAdUiTopButtonShare",this.g),this.Ga=g.J("videoAdUiTopButtonShareTooltip",this.g),this.Da=g.J("videoAdUiTopButtonInfo",this.g),this.Wa=g.J("videoAdUiTopButtonWatchLater", | |
this.g)):this.I=g.J("videoAdUiShare",this.g);this.C=g.J("videoAdUiTitle",this.g);this.ea=g.J("videoAdUiTopBar",this.g);this.ha=g.J("videoAdUiBottomBar",this.g);null!=this.J&&this.W.U(this.J,"click",this.SI);if(null!=this.A){var c=new mt;this.X.push(c);this.W.U(c,"click",this.TI);c.Fb(this.A)}null!=this.B&&(c=new mt,nn().g("mweb_disable_click_on_all_touches_for_visit_advertiser")||(c.B=!0),this.X.push(c),this.W.U(c,"click",this.GA),c.Fb(this.B));null!=this.T&&(c=new mt,nn().g("mweb_disable_click_on_all_touches_for_visit_advertiser")|| | |
(c.B=!0),this.X.push(c),this.W.U(c,"click",this.GA),c.Fb(this.T));null!=this.I&&this.W.U(this.I,"click",this.UV);null!=this.C&&(c=new mt,this.X.push(c),this.W.U(c,"click",this.iW),c.Fb(this.C));null==this.ea||!P.g()&&Mn()||this.W.U(this.g,"mouseover",this.RV);null!=this.F&&this.W.U(this.F,"click",this.Gq);null!=this.Z&&this.W.U(this.Z,"click",this.Gq);null!=this.H&&null!=this.pa.l&&(g.S(this.H,"videoAdUiWtaClickable"),this.W.U(this.H,"click",this.gv),this.W.U(this,"why_this_ad_got_it",this.lw));this.pa.breakType= | |
this.sb;null!=this.pa.skipOffset?(this.l=P.g()?new hu(this.pa,this.g):new au(this.pa,this.g),this.l.Lh(this),this.l.na=b.ao):!this.pa.T||3==this.sb&&(3500>this.Y||nn().g("enable_simple_preview_for_postrolls_html5")&&!this.pa.M)||(this.D=new St(this.pa,this.g),g.N(this,this.D),this.D.Lh(this));this.pa.F&&(this.ga=new vt(this.pa,this.g),g.N(this,this.ga),this.ga.Lh(this));b=this.pa;b.Da?(b=b.g,b=P.g()&&null!=b&&null!=Be(b,1)&&null!=Be(Ne(b),3)&&Be(Fe(Ne(b),Qe,3),1)?!0:!1):b=!1;b&&(this.K=new Pt(this.pa, | |
this.g),this.W.U(this.K,"yt-show-toast",this.YI),this.W.U(this.K,"feedbackShown",this.xr),this.W.U(this.K,"feedbackLike",this.xr),this.W.U(this.K,"feedbackDislike",this.xr));this.pa.ga&&(this.M=new Rt,this.M.Lh(this),this.ha.insertBefore(this.M.l,this.H));400>=((0,window.parseInt)(sh(a,"width"),10)||a.width)&&g.S(this.g,"videoAdUi-mobile");this.pa.H&&(g.S(this.g,"blazer"),g.S(this.g,"blazer-ui-for-cougar"),window.settings&&window.settings.isTablet||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.IS_TABLET? | |
(g.S(this.g,"tablet"),(window.settings&&window.settings.customControls||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.USE_CUSTOM_CONTROLS)&&g.S(this.g,"customControls")):g.S(this.g,"phone"));b=g.Zd(a,"html5-video-player");null!=b&&(this.ca&&g.S(b,"videoAdUiRedesign"),g.U(b,"ytp-video-ad-learn-more-ui",this.pa.C));g.O(this.g,!1);a.appendChild(this.g);this.pa.C||this.ca||!this.pa.ea||(this.o=g.K("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.g.appendChild(this.o));yu(this, | |
0,this.Y/1E3,1,1);xu(this)}; | |
g.h.SI=function(){this.dispatchEvent("videoAuthorIconClicked")}; | |
g.h.TI=function(){this.dispatchEvent("videoAuthorClicked")}; | |
g.h.OK=function(a){var b=a.F;a=a.H;g.C(g.E(b))||this.dispatchEvent(new Zm("videoIconClicked",null,{clickThroughUrl:b}));(0,g.B)(a,function(a){xn(a)})}; | |
g.h.GA=function(){this.dispatchEvent("videoLearnMoreClicked")}; | |
g.h.UV=function(){this.dispatchEvent("videoShareClicked")}; | |
g.h.iW=function(){this.dispatchEvent("videoTitleClicked")}; | |
g.h.hL=function(a){a.preventDefault()}; | |
g.h.Gq=function(){this.dispatchEvent("click")}; | |
g.h.YI=function(a){this.dispatchEvent(a)}; | |
g.h.xr=function(a){this.dispatchEvent(a.type)}; | |
g.h.wb=function(){null!=this.na&&(0,g.B)(this.na,function(a){pu(a)},this)}; | |
g.h.RV=function(){g.S(this.ea,"videoAdUiTopBarTransitions")}; | |
g.h.gv=function(){var a=g.Zd(this.g,"html5-video-player");null!=a&&(Ft(this.pa.l,a,this),null!=this.l&&cu(this.l,!1),null!=this.D&&(a=this.D,null!=a.l&&g.O(a.l,!1)))}; | |
g.h.lw=function(){null!=this.l&&cu(this.l,!0);if(null!=this.D){var a=this.D;null!=a.l&&g.O(a.l,!0)}};g.A(zu,g.M);zu.prototype.I=function(a,b,c){c=g.bc(c||{});if("timeout"==(c.viewability||"")){var d=this.F[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.H&&null!=this.C&&0<this.C.length){d=P.H&&g.Pa(this.D,"impression");var e=Bu(this,this.C,c);Cu(this,e,d);this.H=!0}uga(this,a)&&0<b.length&&(d=P.H&&g.Pa(this.D,a),b=Bu(this,b,c),Cu(this,b,d),this.l.set(a,!0))};g.A(Du,g.Cf);g.h=Du.prototype;g.h.xl=function(){if(this.jb()){var a=it(this.sc);if(null!=a)return a}return""}; | |
g.h.wl=function(){if(this.jb()){var a=jt(this.sc);if(null!=a)return a}return""}; | |
g.h.jf=function(){return g.Qa(this.ads)?null:this.ads[0]}; | |
g.h.ma=function(){if(this.jb()){if(this.sc.isSkippable()&&!ao())throw Fn(IB,null,"skippablevideo");if(null!=et(this.sc)&&Fu(this,this.sc.l))throw Fn(IB,null,"vpaidWithSkippabilityOverride");return this.sc}throw Fn(Ju,null,"An ad has not been selected.\n"+Error().stack);}; | |
g.h.jb=function(){return null!==this.sc}; | |
g.h.Wi=function(){var a=(0,g.Oa)(this.ads,this.sc);-1!=a&&++a<this.ads.length?Eu(this,this.ads[a]):Eu(this,null)}; | |
g.h.Jl=function(){var a=(0,g.Oa)(this.ads,this.sc);return-1==a?!1:a+1<this.ads.length}; | |
g.h.Ke=function(){if(!this.Jl())return null;var a=(0,g.Oa)(this.ads,this.sc)+1;return this.ads[a]}; | |
g.h.ih=function(a){var b=a.l;if(b&&b.ra&&(b=b.D,!g.Qa(b)&&b[0]instanceof Tp))return b[0].ih();b=a.g;return Hu(a)?b.ih():[]}; | |
g.h.aq=function(){if(!this.jb()){if(g.Qa(this.ads))throw Fn(vC);Eu(this,this.ads[0]);if(null==this.sc.g)throw En(vC);}}; | |
g.h.ia=function(a,b){var c=this.jb()?this.ma():null;this.dispatchEvent(new Zm(a,c,b))}; | |
g.h.Pg=function(a){this.Xd=a}; | |
g.h.Va=function(){null==this.dc&&(this.dc=new g.Km(this));return this.dc}; | |
g.h.gR=function(){}; | |
g.h.Vu=function(){}; | |
g.h.Id=function(a){if(null!=this.Xd){g.Qm(this.Ee);this.Ee.xh(this.Xd,"companion_display_error",function(){}); | |
var b=this.Xd.Id(a);null!=b&&(this.Ee.U(b,"companion_impression",this.gR),this.Ee.U(b,"companion_click",this.Vu),P.g()&&(a=new lt(a,b),this.ia("companionInitialized",a)));if(!this.Xd.Lx())throw Fn(c1);}}; | |
g.h.destroy=function(){this.dispose()}; | |
g.h.V=function(){this.jb()&&(Lq(this.sc,null),this.sc=null);g.Ze(this.dc);this.Xd=this.dc=null;this.Qn=!1;P.l?Uo(Qo(),this.Hq):xo().D=null;this.Pa&&(g.Ze(this.Pa),this.Pa=null);Du.ba.V.call(this)}; | |
g.h.Je=function(){return[]}; | |
g.h.xb=function(){return this.ads[0]}; | |
g.h.Tj=function(){(0,g.B)(this.ads,function(a){var b;for(b=a.getExtension("sodar");!b&&(a=a.l);)b=a.getExtension("sodar");if(b){var c=b.A;a=b.o;var d=b.B,e=b.l;b="//tpc.googlesyndication.com/sodar/"+(0,window.encodeURIComponent)(c)+".js";var f="//pagead2.googlesyndication.com/bg/"+(0,window.encodeURIComponent)(d)+".js";if(c&&a&&d&&e){d=window;c=d.document;var k={};a&&(k._scs_=a);k._bgu_=f;k._bgp_=e;k._li_="v_h.0.0.0";(a=d.GoogleTyFxhY)&&"function"==typeof a.push||(a=d.GoogleTyFxhY=[]);a.push(k);a= | |
g.nd(c).createElement("SCRIPT");a.type="text/javascript";a.async=!0;g.ad(a,g.be(b));c.getElementsByTagName("head")[0].appendChild(a)}}})}; | |
g.h.init=function(a){Ku(this);this.Ac(a);this.se=!0;this.uk();P.l||(a=this.Hq,xo().D=a)}; | |
g.h.uk=function(){this.ia("loaded")}; | |
g.h.Ek=function(a){this.jb()&&P.g()&&Bn(xs(this.ma()),a)}; | |
g.h.rE=g.y;g.h.Tc=function(a,b,c){if(!this.Qn){if(null==a)throw Fn(Do,null,"displayContainer");null!=c&&this.bf(c);this.content=b;this.Ia=a;this.aq();this.Ha=this.Ia.Nl(Gu(this));this.Qn=!0}}; | |
g.h.Ng=function(a){a=No(ns(a),"rm")?a.X:xs(a);(0,g.B)(a,function(a){g.Sa(this.bc.C,a)},this)}; | |
g.h.lg=function(a,b){(0,g.B)(b,function(b){b=Qp(a,b);Jp(this.bc.o,b)},this)}; | |
g.h.zk=function(a){if(a instanceof Tp){var b=Up(a);(0,g.B)(b.Bb(),function(a){var c=b.get(a);(0,g.B)(c,function(b){Kp(this.bc.o,a,b)},this)},this)}}; | |
g.h.xa=function(a){Au(this.bc,new g.af(a))}; | |
g.h.getCurrentTime=function(){return-1}; | |
g.h.getDuration=function(){return-1}; | |
g.h.Lc=function(){return-1}; | |
g.h.kb=function(){return null!=this.Ha?this.Ha.kb():!1}; | |
g.h.wb=function(a,b,c){this.Ac(c)}; | |
g.h.pause=g.y;g.h.resume=g.y;g.h.skip=g.y;g.h.muteAdClicked=g.y;g.h.muteAd=g.y;g.h.whyThisAdClicked=g.y;g.h.whyThisAdClosed=g.y;g.h.bf=function(a){if(null==a||!vga(this,a))throw Fn(Do,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Ra;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.Ml&&(a.Ml=[]);wga(a.Ml);if(!g.ua(a.uf)||0>=a.uf)a.uf=1E4;g.ec(b,a)}; | |
g.h.start=function(){Ku(this);if(!this.se)throw En(Ju,null,"Must call init before start.");}; | |
g.h.stop=function(){this.destroy()}; | |
g.h.getVolume=function(){return null!=this.volume?this.volume:0}; | |
g.h.setVolume=function(a){((0,window.isNaN)(a)||0>a||1<a)&&In(this,Do,null,"volume",String(a));this.volume=a}; | |
g.h.expand=function(){Ku(this);this.Ac("fullscreen")}; | |
g.h.collapse=function(){Ku(this);this.Ac("normal")}; | |
g.h.Ac=function(a){if(!g.Ub(oua,a))throw Fn(Do,null,"view mode",a);this.bd=a}; | |
g.h.wc=function(){return this.Qn}; | |
g.h.hasListeners=function(a){return(0,g.cm)(a,function(a){if(g.gf(this))a=this.hasListener(a,void 0);else{var b=g.rf(this);a=!!b&&b.hasListener(a,void 0)}return a},this)}; | |
g.h.jh=function(){return null}; | |
g.h.Jj=function(){return null}; | |
g.h.xE=function(){return null}; | |
g.h.Ie=function(){return null}; | |
g.h.Ef=function(){this.xa("abandon")}; | |
g.h.MJ=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.kb(),isVpaid:this.jb()&&null!=et(this.ma()),isYouTube:P.g(),volume:this.getVolume()}}; | |
g.h.Wj=function(a){do if(Ws(a))return!1;while(a=a.l);return!0}; | |
g.h.Sl=function(){for(var a=0;a<this.ads.length;++a)if(!this.Wj(this.ads[a]))return!1;return Mn()}; | |
g.h.oV=function(a){var b=g.Wa($0,g.Qb(b1));ab(b);(0,g.B)(b,function(b){var c=Ip(a.g,b);g.Qa(c)||this.xv(b,c)},this); | |
tga(this.bc,a.H)}; | |
g.h.xv=function(a,b){(0,g.B)(b,function(a){var b=a.Ub();a=a.Ta();Kp(this.bc.o,b,a)},this)}; | |
g.h.UR=function(a){this.Ra.Hy||(a=a.g,null!=a&&(a=a.clickThroughUrl,null!=a&&(wn(a),this.pause())))}; | |
g.h.vk=function(a){var b=a.type;if(g.Pa(a1,b)){if("externalActivityEvent"==b&&(b=a.g.eventName,!b1[b]))return;Iu(this,b)}};var Pu=["classid","data","movie","type","typemustmatch"];g.ya(g.Qu);g.Qu.prototype.g=0;g.A(g.Ru,g.Cf);g.h=g.Ru.prototype;g.h.QK=g.Qu.getInstance();g.h.getId=function(){return this.Fa||(this.Fa=":"+(this.QK.g++).toString(36))}; | |
g.h.la=function(){return this.g}; | |
g.h.Lh=function(a){if(this.A&&this.A!=a)throw Error("Method not supported");g.Ru.ba.Lh.call(this,a)}; | |
g.h.Ao=function(){this.g=this.H.createElement("DIV")}; | |
g.h.yj=function(){this.Re=!0;Tu(this,function(a){!a.Re&&a.la()&&a.yj()})}; | |
g.h.sl=function(){Tu(this,function(a){a.Re&&a.sl()}); | |
this.C&&g.Qm(this.C);this.Re=!1}; | |
g.h.V=function(){this.Re&&this.sl();this.C&&(this.C.dispose(),delete this.C);Tu(this,function(a){a.dispose()}); | |
this.g&&g.Jd(this.g);this.A=this.g=this.D=this.J=null;g.Ru.ba.V.call(this)}; | |
g.h.Cc=function(){return this.g}; | |
g.h.removeChild=function(a,b){if(a){var c=g.u(a)?a:a.getId();a=this.D&&c?$b(this.D,c)||null:null;if(c&&a){Zb(this.D,c);g.Ua(this.J,a);b&&(a.sl(),a.g&&g.Jd(a.g));c=a;if(null==c)throw Error("Unable to set parent component");c.A=null;g.Ru.ba.Lh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.A(Uu,g.Ru);g.h=Uu.prototype;g.h.Ya=null;g.h.Lq="window";g.h.wn="sameDomain";g.h.setSize=function(a,b){this.B=g.u(a)?a:Math.round(a)+"px";this.o=g.u(b)?b:Math.round(b)+"px";this.la()&&g.Ih(Vu(this),this.B,this.o);return this}; | |
g.h.yj=function(){Uu.ba.yj.call(this);for(var a=this.la(),b=this.l.Bb(),c=this.l.ub(),d=[],e=0;e<b.length;e++){var f=g.ob(b[e]),k=g.ob(c[e]);d.push(f+"="+k)}b=d.join("&");if(g.xd&&!g.rc(11)){d=this.F;c={allowFullScreen:"true",AllowScriptAccess:this.wn,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.Lq};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};xga(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(Yc("param",{name:l,value:d[l]}));var l=Zc({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=Yc("object",l,c)}else l={AllowScriptAccess:this.wn,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.Lq},l=Zc({src:this.F,type:"application/x-shockwave-flash", | |
pluginspage:"https://www.macromedia.com/go/getflashplayer"},{allownetworking:"none",allowscriptaccess:"never"},l),l=Yc("embed",l);a.innerHTML=g.Uc(l);this.B&&this.o&&this.setSize(this.B,this.o);this.W.U(this.la(),g.Qb(Wta),bf)}; | |
g.h.Ao=function(){if(null!=this.I&&!(0<=g.Bb(AB,this.I)))throw Error("Method not supported");var a=this.H.createElement("DIV");a.className="goog-ui-media-flash";this.g=a}; | |
g.h.V=function(){Uu.ba.V.call(this);this.l=null;this.W.dispose();this.W=null}; | |
g.h.Kb=function(){return this.Re&&this.la()?g.lH&&Vu(this).readyState&&"complete"==Vu(this).readyState||Vu(this).readyState&&4==Vu(this).readyState||"PercentLoaded"in Vu(this)&&100==Vu(this).PercentLoaded()?!0:!1:!1};g.A(Wu,g.Cf);var Aua=Fc(g.xc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Fc(g.xc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));g.h=Wu.prototype;g.h.dispose=function(){this.g&&(this.g.dispose(),this.l=null);window[this.o]&&delete window[this.o];g.tg(this.A)}; | |
g.h.load=function(a,b,c,d){window[this.o]=(0,g.z)(this.SK,this);this.g=new Uu(Aua);this.g.setSize(b,c);this.g.wn="always";this.g.Lq="transparent";this.g.l.set("vpaid",a);this.g.l.set("vpaidEventHandler",this.o);Su(this.g,this.C);this.l=Vu(this.g);this.A=g.sg(this.TK,d,this)}; | |
g.h.RK=function(a){if(!this.l)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.B&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.l[c])return this.l[c].apply(this.l,b)}catch(d){}return null}; | |
g.h.SK=function(a,b){"AdLoaded"==a&&(g.tg(this.A),this.B=!0);this.dispatchEvent(new Jn(a,b||null))}; | |
g.h.TK=function(){this.dispatchEvent("loadError")};g.A(Zu,$p);Zu.prototype.vg=function(){var a=this.lt();a=null!=a&&"clicktag"==a.toLowerCase();a={url:un(g.E(this.l)),width:this.Cb(),height:this.getHeight(),Kc:this.qf(),capture:this.Vx||!a};var b=P.g()&&No(this.F,"hideMaster")?Ep:Cea;a=pq(b,a);a.style.width=this.Cb()+"px";a.style.height=this.getHeight()+"px";a.id=this.Fa;(0,g.B)(a.getElementsByTagName("object"),this.mj,this);(0,g.B)(a.getElementsByTagName("a"),this.mj,this);return a};g.A($u,$p);$u.prototype.vg=function(){var a=g.K("DIV");a.innerHTML=this.l;this.mj(a);return dq(this,a)};g.A(av,$p);av.prototype.cd=function(){var a=av.ba.cd.call(this);this.C&&(a=a.replace('src=""','src="'+un(g.E(this.l))+'"'));return a}; | |
av.prototype.vt=function(){var a=av.ba.vt.call(this);this.C&&(a=a.replace('src=""','src="'+un(g.E(this.l))+'"'));return a}; | |
av.prototype.vg=function(a){var b="";this.C||(b=un(g.E(this.l)));b={id:this.Fa,url:b,Kc:this.qf(),width:this.Cb()+"px",height:this.getHeight()+"px"};a=P.g()&&No(this.F,"hideMaster")?Ep:a?Eea:Dea;a=pq(a,b);(0,g.B)(a.getElementsByTagName("a"),this.mj,this);return a}; | |
av.prototype.Pl=function(){return!0};dv.prototype.nd=function(){return null!=this.g?Xp[this.g]||"Other":null};g.A(ev,gq);fv.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "AdFormat":b=a.getAttribute("ad_system"),c=a.getAttribute("ad_type"),d=a.getAttribute("instream_type")}},this); | |
return null!=b&&null!=c&&null!=d?new ev(b,c,d):null};g.A(hv,gq);hv.prototype.isPharma=function(){return this.D};iv.prototype.parse=function(a){var b;as(a,"config",function(a){null!=b||(b=Cga(this,a))},this); | |
return b};jv.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m,n=!1,p,r=!1;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "AttributionText":c=$r(a);break;case "AttributionUrl":d=$r(a);break;case "ConversionUrl":f=$r(a);break;case "CustomTracking":null!=g.Ld(a)&&(e=gs(a));break;case "is_pharma":a=Zr(a,"bool");r=ds(g.E(a));break;case "CheckedEvents":a=g.Ld(a);b=(0,g.G)(a,function(a){return Zr(a,"id")}); | |
null!=b||(b=[]);break;case "PreviousAdInformation":k=$r(a);break;case "VisibleUrl":l=$r(a);break;case "UI":m=(new iv).parse(a);break;case "ShowYouTubeAnnotations":var v=$r(a);n=ds(g.E(v),!1);case "QueryId":p=$r(a)}},this); | |
null!=m||(m=new gv);return new hv(c,d,f,k,l,m,n,p,r,e,b)};kv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Ld(a)&&(b=gs(a))}}); | |
a=null;null!=b&&0<Ip(b,"skip").length&&(a="Generic");return new js(a,b)};lv.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "SkippableAdType":b=$r(a);break;case "CustomTracking":null!=g.Ld(a)&&(c=gs(a))}}); | |
return new js(b,c)};mv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Ld(a)&&(b=gs(a))}},this); | |
return new gq(b)};rv("d");tv("d");uv("d");var i1=rv("f");tv("f");uv("f");var Uv=rv("i");tv("i");uv("i");rv("j");tv("j");uv("j",void 0);uv("j",void 0);rv("u");tv("u");uv("u");rv("v");tv("v");uv("v",void 0);uv("v",void 0);var j1=rv("b");tv("b");uv("b");var Mv=rv("e");tv("e");uv("e");var Nv=rv("s");tv("s");uv("s");rv("B");tv("B");uv("B");rv("x");tv("x");uv("x");rv("y");tv("y");uv("y",void 0);uv("y",void 0);rv("g");tv("g");uv("g");rv("h");tv("h");uv("h",void 0);uv("h",void 0);rv("n");tv("n");uv("n");rv("o");tv("o"); | |
uv("o",void 0);uv("o",void 0);xv.prototype.clone=function(){var a=this.constructor,b={},c=this.data;if(b!==c){for(var d in b)b.hasOwnProperty(d)&&delete b[d];ov(b,c)}return new a(b)};var k1;g.A(Ev,xv);var l1;g.A(Fv,xv);var m1,n1;g.A(Gv,xv);var Lv;g.A(Hv,xv);var Rv;g.A(Bv,xv);var o1;g.A(Iv,xv);var p1;g.A(Jv,xv);var q1,r1;g.A(Kv,xv);var s1,t1,u1,v1,w1,x1,Tv;g.A(Ts,xv);var y1,z1,A1,B1,Vfa={vI:0,wI:1,G3:2,T3:3,xx:4,Q3:5,R3:6,M3:7,H3:8},C1={vI:0,O3:1,L3:2,I3:3,J3:4,N3:5,F3:6,P3:7,uI:8,rI:9,sI:10,tI:11,S3:12,K3:13};Fv.prototype.Ub=function(){return yv(this,"type",0)}; | |
Fv.prototype.g=function(){return new Kv(this.data.website_card)}; | |
Fv.prototype.Le=function(){return new Gv(this.data.placement)}; | |
Hv.prototype.Ub=function(){return yv(this,"type",0)}; | |
Hv.prototype.getId=function(){return Lr(this,"id")}; | |
Hv.prototype.setTitle=function(a){this.data.title=a}; | |
Bv.prototype.Ub=function(){return yv(this,"type",0)}; | |
Iv.prototype.od=function(){return Lr(this,"headline")}; | |
Iv.prototype.setDescription=function(a){this.data.description=a}; | |
Jv.prototype.setDescription=function(a){this.data.description=a}; | |
Kv.prototype.od=function(){return Lr(this,"headline")}; | |
Kv.prototype.setDescription=function(a){this.data.description=a}; | |
Kv.prototype.yg=function(){return new Ts(this.data.icon)}; | |
Kv.prototype.po=function(){return new Ts(this.data.banner_image)}; | |
Ts.prototype.getImageUrl=function(){return Lr(this,"image_url")};var Xv; | |
Xv={action:{type:{TYPE_APPLICATION_ENGAGEMENT:26,TYPE_APPLICATION_STORE:4,TYPE_ATTRIBUTION:5,TYPE_CALL_PROMPT:22,TYPE_CHANNEL:2,TYPE_COLLAPSE:17,TYPE_ENGAGEMENT_PANEL:20,TYPE_EXTERNAL:16,TYPE_FUNDRAISING:10,TYPE_GOOGLE_MAP_DIRECTIONS:23,TYPE_GOOGLE_MAP_PLACES:24,TYPE_HEADLINE:1,TYPE_HELPOUTS:15,TYPE_INLINE_APPLICATION_STORE:19,TYPE_INTERNAL:13,TYPE_IRDB:8,TYPE_LETTERMAN:14,TYPE_MERCH:9,TYPE_NONE:0,TYPE_PLAYLIST:7,TYPE_RESPONSE:12,TYPE_RESULTS:11,TYPE_SLAP:21,TYPE_SUBMIT_USER_INFO:25,TYPE_SUBSCRIPTION:6,TYPE_VIDEO:3, | |
TYPE_VOTE:18}},ad_card:{attribution_position:{POSITION_BOTTOM_LEFT:0,POSITION_BOTTOM_RIGHT:3,POSITION_TOP_LEFT:1,POSITION_TOP_RIGHT:2}},card:{prominence:{PROMINENCE_FEATURE:2,PROMINENCE_HIGHLIGHT:1,PROMINENCE_NONE:0},type:{TYPE_APP:2,TYPE_CALL:8,TYPE_FORMFILL:7,TYPE_LOCATION:5,TYPE_NONE:0,TYPE_PRODUCT:1,TYPE_STORE_VISITS:6,TYPE_VOTE:3,TYPE_WEBSITE:4}},event:{type:{TYPE_ACTION:6,TYPE_ACTION_ENDCAP:9,TYPE_COLLAPSE:3,TYPE_COLLAPSE_ENDCAP:10,TYPE_DISMISS:4,TYPE_DISMISS_ENDCAP:11,TYPE_ERROR:13,TYPE_EXPAND:2, | |
TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,TYPE_NONE:0,TYPE_TERMINATING_ACTION:12}},formfill_field_infos:{formfill_field_type:{FORMFILL_FIELD_TYPE_UNKNOWN:0,FORMFILL_FIELD_TYPE_USER_EMAIL:1,FORMFILL_FIELD_TYPE_USER_NAME:2,FORMFILL_FIELD_TYPE_USER_PHONE_NUMBER:3}},open_hours:{day_of_week:{DAY_FRIDAY:6,DAY_MONDAY:2,DAY_SATURDAY:7,DAY_SUNDAY:1,DAY_THURSDAY:5,DAY_TUESDAY:3,DAY_UNKNOWN:0,DAY_WEDNESDAY:4}},product_card:{badge_icon_type:{BADGE_ICON_TYPE_FLIGHTS:3, | |
BADGE_ICON_TYPE_HOTELS:2,BADGE_ICON_TYPE_OTHER:4,BADGE_ICON_TYPE_RETAIL:1,BADGE_ICON_TYPE_UNKNOWN:0}}};g.A(Vv,gq);Wv.prototype.parse=function(a){var b=Ur(a);if(g.C(g.E(b)))return null;if(this.g){var c=Yv;if(!k1){var d={};k1=pv(d);if(!l1){var e={};l1=pv(e);e.type=Mv;if(!m1){var f={};m1=pv(f);f.major_version=Uv;f.minor_version=Uv}e.version=vv(m1);e.priority=Uv;e.start_time_ms=rv("j");e.end_time_ms=rv("j");e.action=wv(Qv());e.event=wv(Pv());v1||(f={},v1=pv(f),f.headline=Nv,f.description=Nv,f.attribution_icon_url=Nv,f.skippable_seconds=Uv,f.attribution_position=Mv);e.ad_card=vv(v1);if(!o1){f={};o1=pv(f);f.headline= | |
Nv;f.image=vv(Ov());f.description=Nv;f.rating=i1;f.review_text=Nv;if(!p1){var k={};p1=pv(k);k.merchant=Nv;k.price=Nv;k.shipping=Nv;k.shipping_tax=Nv;k.condition=Nv;k.unit_price=Nv;k.energy_label=Nv;k.description=Nv;k.rating=i1;k.review_text=Nv;k.action=wv(Qv());k.event=wv(Pv());k.doc_id=Nv;k.catalog_id=Nv}f.offer=wv(p1);f.badge_text=Nv;f.badge_icon_type=Mv}e.product_card=vv(o1);q1||(f={},q1=pv(f),f.app_id=Nv,f.app_name=Nv,f.icon=vv(Ov()),f.price=Nv,f.rating_image=Nv,f.review_count=Uv,f.app_store_logo= | |
vv(Ov()),f.button_text=Nv,f.screenshots=wv(Ov()),f.rating=i1,f.back_button_text=Nv,f.screenshots_text=Nv,f.cover_photo=vv(Ov()),f.description=Nv);e.app_card=vv(q1);r1||(f={},r1=pv(f),f.headline=Nv,f.description=Nv,f.icon=vv(Ov()),f.banner_image=vv(Ov()));e.website_card=vv(r1);t1||(f={},t1=pv(f),f.invitation_headline=Nv,f.invitation_description=Nv,f.icon=vv(Ov()),f.invitation_cta=Nv,f.form_headline=Nv,f.advertiser_name=Nv,f.email_key=Nv,s1||(k={},s1=pv(k),k.formfill_field_type=Mv,k.google_form_column_id= | |
Nv,k.is_field_optional=j1),f.formfill_field_infos=wv(s1));e.formfill_card=vv(t1);u1||(f={},u1=pv(f),f.formatted_phone_number=Nv,f.merchant_name=Nv,f.call_cta_text=Nv,f.headline=Nv,f.icon=vv(Ov()));e.call_card=vv(u1);e.prominence=Mv;w1||(f={},w1=pv(f),f.call_to_action_text=Nv);e.social_card=vv(w1);x1||(f={},x1=pv(f),f.vote_line_1=Nv,f.vote_line_2=Nv,f.confirm_line_1=Nv,f.confirm_line_2=Nv);e.vote_card=vv(x1);e.sponsored=j1;e.teaser_text=Nv;n1||(f={},n1=pv(f),f.hide_in_drawer=j1,f.show_in_endcap=j1, | |
f.show_in_companion=j1,f.show_in_cta=j1,f.override_clickthrough=j1,f.show_in_promotion_shelf=j1);e.placement=vv(n1);y1||(f={},y1=pv(f),f.latitude_e6=Uv,f.longitude_e6=Uv,f.address=Nv,f.image=vv(Ov()),f.headline=Nv);e.location_card=vv(y1);z1||(f={},z1=pv(f),f.icon=vv(Ov()),f.location_image=vv(Ov()),f.display_name=Nv,f.latitude_e7=Uv,f.longitude_e7=Uv,B1||(k={},B1=pv(k),k.display_address=Nv,k.city_province=Nv),f.address=vv(B1),f.display_phone_number=Nv,A1||(k={},A1=pv(k),k.day_of_week=Mv,k.display_day_of_week= | |
Nv,k.display_hours=Nv),f.open_hours=wv(A1),f.closing_time_today=Nv,f.images=wv(Ov()),f.distance_to_user_meters=Uv,f.average_rating=Uv,f.num_reviews=Uv,f.num_five_star_reviews=Uv,f.num_four_star_reviews=Uv,f.num_three_star_reviews=Uv,f.num_two_star_reviews=Uv,f.num_one_star_reviews=Uv);e.merchant_location=vv(z1)}d.card=wv(l1);d.event=wv(Pv())}a=c(this,a,k1);a=c=new Ev(a);d=new Fp;for(e=0;e<Dv(a,"card");e++)if(f=new Fv(Av(a,"card",e)),Ss(f.Le()))for(k=0;k<Dv(f,"event");k++){var l=new Bv(Av(f,"event", | |
k)),m=null;switch(l.Ub()){case C1.rI:m="video_card_endcap_action";break;case C1.sI:m="video_card_endcap_collapse";break;case C1.tI:m="video_card_endcap_dismiss";break;case C1.uI:m="video_card_endcap_impression"}m&&Kp(d,m,Zv(m,Lr(l,"base_url")))}a=d}else a=Ega(this,a);return new Vv(b,c,a)};g.A($v,gq);$v.prototype.gh=function(){return this.l};g.A(aw,gq);bw.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "FeEventId":b=$r(a);break;case "AdEventId":c=$r(a)}},this); | |
return new aw(b,c)};cw.prototype.B=function(a){var b={};(0,g.B)(this.l,function(a){b[a]=[]}); | |
var c=new RegExp("^"+this.o);(0,g.B)(g.Ld(a),function(a){"config"!=a.nodeName||(0,g.B)(g.Ld(a),function(a){"params"!=a.nodeName||(0,g.B)(g.Ld(a),function(a){var d=this.o?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=$r(a));null!=a.getAttribute("learn_more")&&(e+="|");g.Pa(this.l,d)?b[d].push(e):b[d]=e},this)},this)},this); | |
return b};g.A(ew,cw);ew.prototype.parse=function(a){if(null==a)return null;a=dw(this,a);var b=a.UI;return new At(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)}; | |
ew.prototype.A=function(a){var b=[],c=0;(0,g.B)(g.Ld(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "DisplayName":d=$r(a);break;case "URL":f=$r(a)}},this); | |
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this); | |
return b};g.A(fw,gq);gw.prototype.parse=function(a){if(null==a)return null;var b=new fw;(0,g.B)(g.Ld(a),function(a){if("DealId"!=a.nodeName)return null;a=$r(a);a=g.E(a);g.C(a)||(b.l=a)},this); | |
return b};g.A(hw,gq);iw.prototype.g={kI:"Siub",jI:"Scs",CG:"Bgub",BG:"Bgp"};iw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case this.g.kI:b=$r(a);break;case this.g.jI:c=$r(a);break;case this.g.CG:d=$r(a);break;case this.g.BG:e=$r(a)}},this); | |
return b&&c&&d&&e?new hw(b,c,d,e):null};g.A(jw,gq);kw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Ld(a)&&(b=gs(a))}},this); | |
return new jw(b)};g.A(lw,gq);mw.prototype.g={pI:"TEMPLATE_PARAMETERS",qI:"TEMPLATE_URL"};mw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case this.g.pI:b=Fga(this,a)}},this); | |
return new lw(b)};g.A(nw,gq);nw.prototype.getImageUrl=function(){return this.A};ow.prototype.g={xH:"Line1",yH:"Line2",zH:"Line3",wH:"ImageUrl"};ow.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case this.g.xH:b=$r(a,!0);break;case this.g.yH:c=$r(a,!0);break;case this.g.zH:d=$r(a,!0);break;case this.g.wH:e=$r(a);var l=Number(a.getAttribute("width"));f=(0,window.isNaN)(l)?0:l;a=Number(a.getAttribute("height"));k=(0,window.isNaN)(a)?0:a}},this); | |
return new nw(b,c,d,e,f,k)};g.A(pw,gq);qw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.B)(g.Ld(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),g.C(g.E(a))||(b=a)}},this); | |
return new pw(b)};g.A(rw,cw);var Bua=["menu","got_it"],Cua=[["generic_message_left","generic_message_hypertext","generic_message_right"]];rw.prototype.parse=function(a){if(null==a)return null;a=dw(this,a);var b=a.UI;if(!tw(b,Bua))return null;var c,d=!0,e=!1;(0,g.B)(Cua,function(a){Gga(b,a)&&(tw(b,a)?e=!0:d=!1)}); | |
if(!d||!e)return null;null!=b.generic_message_left&&(c=[b.generic_message_left,b.generic_message_hypertext,b.generic_message_right]);return new Ct(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};uw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?Eb(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new ks(a)};g.A(vw,gq);ww.prototype.parse=function(a){return null!=a?new vw:null};xw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?Eb(a):window.NaN;return new Yq(a)};g.A(yw,Xu); | |
yw.prototype.g={sG:"Ad",Pq:"AdParameters",wG:"AdSystem",xG:"AdTitle",tG:"Advertiser",zG:"AltText",GG:"ClickThrough",HG:"ClickTracking",IG:"Companion",JG:"CompanionAds",KG:"CompanionClickThrough",LG:"CompanionClickTracking",UG:"Creative",hZ:"CreativeExtensions",VG:"Creatives",YG:"CustomClick",bH:"Description",Sq:"Duration",ERROR:"Error",EXTENSION:"Extension",hH:"Extensions",an:"HTMLResource",lH:"Icon",mH:"Icons",nH:"IconClicks",oH:"IconClickThrough",pH:"IconClickTracking",qH:"IconViewTracking",cn:"IFrameResource", | |
fn:"Impression",L_:"InLine",LINEAR:"Linear",DH:"MediaFile",EH:"MediaFiles",MH:"NonLinear",NH:"NonLinearAds",OH:"NonLinearClickThrough",PH:"NonLinearClickTracking",WH:"Pricing",gn:"StaticResource",nI:"Survey",B3:"Tracking",gr:"TrackingEvents",xI:"UniversalAdId",j4:"VAST",zI:"VASTAdTagURI",AI:"VideoClicks",CI:"Wrapper"}; | |
yw.prototype.l={uG:"adId",vG:"adSlotID",yG:"allowMultipleAds",Xm:"apiFramework",zw:"bitrate",WG:"creativeType",aH:"delivery",Sq:"duration",ZZ:"event",kH:"followAdditionalWrappers",fH:"expandedHeight",gH:"expandedWidth",Zm:"height",bn:"id",rH:"idRegistry",sH:"idValue",AH:"maintainAspectRatio",CH:"maxBitrate",HH:"minBitrate",IH:"minSuggestedDuration",QH:"offset",XH:"program",ZH:"required",dI:"scalable",ix:"sequence",hI:"skipoffset",wx:"type",VERSION:"version",BI:"codec",jn:"width",DI:"xPosition",FI:"yPosition"}; | |
yw.prototype.o=function(){return new Yu(this.A,Iga(this),null)};g.A(Hw,Du);g.h=Hw.prototype;g.h.V=function(){this.D=!1;null===this.g?this.M&&this.dispatchEvent(new Zm("destroyInsecureFlashVpaid",this.ma())):this.g.dispose();this.o&&this.ia("contentResumeRequested");this.ia("allAdsCompleted");Hw.ba.V.call(this)}; | |
g.h.Lc=function(){var a=this.ed("getAdRemainingTime");return g.ua(a)?a:-1}; | |
g.h.getVolume=function(){var a=this.ed("getAdVolume");return g.ua(a)?a:-1}; | |
g.h.Tc=function(a,b,c){Hw.ba.Tc.call(this,a,b,c);this.o=this.ma().g instanceof Tp}; | |
g.h.init=function(a){Hw.ba.init.call(this,a);a=this.ma();var b=ft(a);b=g.E(b);if(g.C(b))Lw(this,Error("Flash VPAID ad url is empty."));else{if(Hu(a)){var c=a.g,d=Wp(c);null!=d&&(c.B=d)}this.Va().U(xo(),a1,this.vk);this.M?this.dispatchEvent(new Zm("initInsecureFlashVpaid",a,{url:g.E(b)})):null===this.Ia.Vf()?Lw(this,Error("Container must be provided for flash VPAID.")):(this.Ia.zd(),null===this.g&&(this.g=new Wu(this.Ia.Vf())),this.Va().U(this.g,"loadError",this.LR),this.Va().U(this.g,"vpaidEventType", | |
this.ig),this.g.load(b,this.J,this.C,this.Ra.uf))}}; | |
g.h.start=function(){if(this.D){Hw.ba.start.call(this);var a=this.ma();this.bc.A=a.I;var b=Dq(a);this.bc.g=b;if(b=a.g)this.Ng(a),this.lg(b,$0),this.zk(b),Lu(this,a);this.Ia.zd();Nu(this);this.xa("show_ad");this.setVolume(this.A);this.l=new g.rg(250);this.Va().U(this.l,"tick",this.WK);this.o?this.ia("contentPauseRequested"):(this.ia("contentResumeRequested"),Jw(this));this.l.start();this.ed("startAd")}else this.H=!0}; | |
g.h.stop=function(){this.I||(this.ed("stopAd"),this.Ia.hide(),null!=this.l&&(this.l.stop(),this.l=null),Hw.ba.stop.call(this),this.I=!0)}; | |
g.h.wb=function(a,b,c){Hw.ba.wb.call(this,a,b,c);if(null!==this.g){var d=this.g;d.g&&d.g.setSize(a,b)}this.J=a;this.C=b;this.ed("resizeAd",a,b,c)}; | |
g.h.pause=function(){null!=this.l&&this.l.stop();this.ed("pauseAd")}; | |
g.h.resume=function(){null!=this.l&&this.l.start();this.ed("resumeAd")}; | |
g.h.setVolume=function(a){this.A=a;this.K.getAdVolume=a;this.ed("setAdVolume",a)}; | |
g.h.expand=function(){this.ed("expandAd")}; | |
g.h.collapse=function(){this.ed("collapseAd")}; | |
g.h.uk=g.y;g.h.Vb=function(){return Iw(this)}; | |
g.h.skip=function(){this.ed("skipAd")}; | |
g.h.getDuration=function(){var a=this.ed("getAdDuration");if(g.ua(a))return a;a=this.Lc();return 0<=a?this.B/1E3+a:-2}; | |
g.h.WK=function(){this.B+=250;var a=this.getDuration(),b=a-this.Lc();Ou(this,b,a)}; | |
g.h.ed=function(a){if(this.I)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.M?(c=b.shift(),this.dispatchEvent(new Zm("callFlashVpaidMethod",this.jb()?this.ma():null,{methodName:c,args:b})),this.K[c]):null===this.g?null:this.g.RK.apply(this.g,b)}; | |
g.h.LR=function(){Lw(this,Error("Flash VPAID loader failed to load."))}; | |
g.h.getCurrentTime=function(){return this.B/1E3}; | |
g.h.ig=function(a){var b=a.data;switch(a.g){case "flashVpaidMethodResults":b&&(this.K[b.methodName]=b.result);break;case "flashReady":this.ed("handshakeVersion","2.0");b=zs(this.ma());this.ed("initAd",this.J,this.C,this.bd,this.Ra.bitrate,b);break;case "AdLoaded":this.D=!0;b=this.ed("getAdCompanions");a=g.u(b)?b:"";b=this.ma();g.Qa(ys(b))&&(a=Bw(a,b.g.g),g.Qa(a)||ls(b,a));Iu(this,"loaded");this.H&&(this.H=!1,this.start());break;case "AdStarted":this.xa("impression");this.xa("creativeview");this.ia("start"); | |
break;case "AdVideoStart":this.xa("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.E(Ds(this.ma()))),b&&wn(b));this.xa("click");this.ia("click");break;case "AdDurationChange":this.ia("durationChange");break;case "AdRemainingTimeChange":this.ia("durationChange");Jw(this);break;case "AdError":a="AdError";b&&(a=b.message);Lw(this,Error(a));break;case "AdExpandedChange":this.ia("expandedChanged");break;case "AdImpression":b=this.ma();g.Qa(ys(b))||this.Id(b);this.ia("impression"); | |
break;case "AdLinearChange":b=Iw(this);!this.o&&b?(this.ia("contentPauseRequested"),g.tg(this.F)):this.o&&!b&&(this.ia("contentResumeRequested"),Jw(this));this.o=b;a=this.sc;a.ab=!0;a.sa=b;this.ia("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.A&&(this.ia("volumeChange"),0==b&&0!=this.A?(this.xa("mute"),this.ia("mute")):0==this.A&&0!=b&&this.xa("unmute"),this.A=b);break;case "AdPaused":Iu(this,"pause");break;case "AdUserClose":Iu(this,"userClose");break;case "AdUserMinimize":this.xa("collapse"); | |
break;case "AdVideoFirstQuartile":Iu(this,"firstquartile");break;case "AdVideoMidpoint":Iu(this,"midpoint");break;case "AdVideoThirdQuartile":Iu(this,"thirdquartile");break;case "AdVideoComplete":Mw(this);break;case "AdUserAcceptInvitation":this.o?this.xa("acceptinvitationlinear"):this.xa("acceptinvitation");break;case "AdStopped":Mw(this);this.xa("stop");this.stop();break;case "AdSkipped":Iu(this,"skip");break;case "AdSkippableStateChange":Iu(this,"skippableStateChanged");break;case "AdPlaying":Iu(this, | |
"resume");break;case "AdLog":this.ia("log")}};g.A(Nw,Du);var Dua=Fc(g.xc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Fc(g.xc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));g.h=Nw.prototype;g.h.V=function(){this.D=!1;this.g&&(this.g.dispose(),this.B=null);g.tg(this.F);this.o&&this.ia("contentResumeRequested");this.ia("allAdsCompleted");Nw.ba.V.call(this)}; | |
g.h.Lc=function(){var a=this.md("getAdRemainingTime");return g.ua(a)?a:-1}; | |
g.h.getVolume=function(){var a=this.md("getAdVolume");return g.ua(a)?a:-1}; | |
g.h.Tc=function(a,b,c){Nw.ba.Tc.call(this,a,b,c);this.o=this.ma().g instanceof Tp}; | |
g.h.init=function(a){Nw.ba.init.call(this,a);window[this.T]=(0,g.z)(this.XK,this);this.Va().U(xo(),a1,this.vk);this.g=new Uu(Dua);this.g.setSize(this.K,this.H);this.g.wn="always";var b=this.ma();a=ft(b);a=g.E(a);if(g.C(a))Qw(this,Kw,Error("Flash VPAID ad url is empty.")),this.stop();else{if(Hu(b)){b=b.g;var c=Wp(b);null!=c&&(b.B=c)}this.g.l.set("vpaid",a);this.g.Lq="transparent";this.g.l.set("vpaidEventHandler",this.T);this.Ia.zd();Su(this.g,this.Ia.Vf());this.B=Vu(this.g);this.F=g.sg(this.ZK,this.Ra.uf, | |
this)}}; | |
g.h.start=function(){if(this.D){Nw.ba.start.call(this);var a=this.ma();this.bc.A=a.I;var b=Dq(a);this.bc.g=b;if(b=a.g)this.Ng(a),this.lg(b,$0),this.zk(b),Lu(this,a);this.Ia.zd();Nu(this);this.xa("show_ad");this.setVolume(this.A);this.l=new g.rg(250);this.Va().U(this.l,"tick",this.YK);this.o?this.ia("contentPauseRequested"):(this.ia("contentResumeRequested"),Pw(this));this.l.start();this.md("startAd")}else this.J=!0}; | |
g.h.stop=function(){this.X||(this.X=!0,this.md("stopAd"),this.Ia.hide(),null!=this.l&&(this.l.stop(),this.l=null),Nw.ba.stop.call(this))}; | |
g.h.wb=function(a,b,c){Nw.ba.wb.call(this,a,b,c);this.K=a;this.H=b;null!=this.g&&this.g.setSize(a,b);this.md("resizeAd",a,b,c)}; | |
g.h.pause=function(){null!=this.l&&this.l.stop();this.md("pauseAd")}; | |
g.h.resume=function(){null!=this.l&&this.l.start();this.md("resumeAd")}; | |
g.h.setVolume=function(a){this.A=a;this.md("setAdVolume",a)}; | |
g.h.expand=function(){this.md("expandAd")}; | |
g.h.collapse=function(){this.md("collapseAd")}; | |
g.h.uk=function(){}; | |
g.h.Vb=function(){return Ow(this)}; | |
g.h.skip=function(){this.md("skipAd")}; | |
g.h.getDuration=function(){var a=this.md("getAdDuration");if(g.ua(a))return a;a=this.Lc();return 0<=a?this.C/1E3+a:-2}; | |
g.h.YK=function(){this.C+=250;var a=this.getDuration(),b=a-this.Lc();Ou(this,b,a)}; | |
g.h.md=function(a){if(!this.g||!this.B)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);c=b.shift();var d=!1;this.D&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.B[c])return this.B[c].apply(this.B,b)}catch(e){}return null}; | |
g.h.ZK=function(){Qw(this,e1,null,(this.Ra.uf/1E3).toString());this.stop()}; | |
g.h.getCurrentTime=function(){return this.C/1E3}; | |
g.h.XK=function(a,b){switch(a){case "flashReady":this.md("handshakeVersion","2.0");var c=zs(this.ma());this.B.initAd(this.K,this.H,this.bd,this.Ra.bitrate,c);break;case "AdLoaded":g.tg(this.F);this.D=!0;c=this.md("getAdCompanions");var d=g.u(c)?c:"";c=this.ma();g.Qa(ys(c))&&(d=Bw(d,c.g.g),g.Qa(d)||ls(c,d));Iu(this,"loaded");this.J&&(this.J=!1,this.start());break;case "AdStarted":this.xa("impression");this.xa("creativeview");this.ia("start");break;case "AdVideoStart":this.xa("start");break;case "AdClickThru":b&& | |
b.playerHandles&&((c=b.url)||(c=g.E(Ds(this.ma()))),null!=c&&wn(c));this.xa("click");this.ia("click");break;case "AdDurationChange":this.ia("durationChange");break;case "AdRemainingTimeChange":this.ia("durationChange");Pw(this);break;case "AdError":c="AdError";b&&(c=b.message);Qw(this,Kw,Error(c));this.stop();break;case "AdExpandedChange":this.ia("expandedChanged");break;case "AdImpression":c=this.ma();g.Qa(ys(c))||this.Id(c);this.ia("impression");break;case "AdLinearChange":c=Ow(this);!this.o&&c? | |
(this.ia("contentPauseRequested"),g.tg(this.I)):this.o&&!c&&(this.ia("contentResumeRequested"),Pw(this));this.o=c;d=this.sc;d.ab=!0;d.sa=c;this.ia("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.A&&(c!=this.A&&this.ia("volumeChange"),0==c&&0!=this.A?(this.xa("mute"),this.ia("mute")):0==this.A&&0!=c&&this.xa("unmute"),this.A=c);break;case "AdPaused":Iu(this,"pause");break;case "AdUserClose":Iu(this,"userClose");break;case "AdUserMinimize":this.xa("collapse");break;case "AdVideoFirstQuartile":Iu(this, | |
"firstquartile");break;case "AdVideoMidpoint":Iu(this,"midpoint");break;case "AdVideoThirdQuartile":Iu(this,"thirdquartile");break;case "AdVideoComplete":Rw(this);break;case "AdUserAcceptInvitation":this.o?this.xa("acceptinvitationlinear"):this.xa("acceptinvitation");break;case "AdStopped":Rw(this);this.xa("stop");this.stop();break;case "AdSkipped":Iu(this,"skip");break;case "AdSkippableStateChange":Iu(this,"skippableStateChanged");break;case "AdPlaying":Iu(this,"resume");break;case "AdLog":this.ia("log")}};g.A(Sw,Zm);Ww.prototype.g=null;var D1;g.A(Zw,Ww);D1=new Zw;g.A(g.ax,g.Cf);g.ax.prototype.Ya=null;var Tga=/^https?$/i,Eua=["POST","PUT"];g.h=g.ax.prototype; | |
g.h.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.I+"; newUri="+a);b=b?b.toUpperCase():"GET";this.I=a;this.C="";this.l=0;this.Z=b;this.T=!1;this.o=!0;this.g=this.M?$w(this.M):$w(D1);this.K=this.M?Yw(this.M):Yw(D1);this.g.onreadystatechange=(0,g.z)(this.Fz,this);try{Sm(hx(this,"Opening Xhr")),this.X=!0,this.g.open(b,String(a),!0),this.X=!1}catch(f){Sm(hx(this,"Error opening Xhr: "+f.message));ex(this,f);return}a=c||"";var e=this.headers.clone(); | |
d&&Jda(d,function(a,b){e.set(b,a)}); | |
d=g.La(e.Bb(),Sga);c=g.w.FormData&&a instanceof g.w.FormData;!g.Pa(Eua,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.g.setRequestHeader(b,a)},this); | |
this.Y&&(this.g.responseType=this.Y);"withCredentials"in this.g&&this.g.withCredentials!==this.F&&(this.g.withCredentials=this.F);try{jx(this),0<this.B&&(this.J=Rga(this.g),Sm(hx(this,"Will abort after "+this.B+"ms if incomplete, xhr2 "+this.J)),this.J?(this.g.timeout=this.B,this.g.ontimeout=(0,g.z)(this.Gz,this)):this.D=g.sg(this.Gz,this.B,this)),Sm(hx(this,"Sending request")),this.H=!0,this.g.send(a),this.H=!1}catch(f){Sm(hx(this,"Send error: "+f.message)),ex(this,f)}}; | |
g.h.Gz=function(){"undefined"!=typeof fx&&this.g&&(this.C="Timed out after "+this.B+"ms, aborting",this.l=8,hx(this,this.C),this.dispatchEvent("timeout"),this.abort(8))}; | |
g.h.abort=function(a){this.g&&this.o&&(hx(this,"Aborting"),this.o=!1,this.A=!0,this.g.abort(),this.A=!1,this.l=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),dx(this))}; | |
g.h.V=function(){this.g&&(this.o&&(this.o=!1,this.A=!0,this.g.abort(),this.A=!1),dx(this,!0));g.ax.ba.V.call(this)}; | |
g.h.Fz=function(){this.ka()||(this.X||this.H||this.A?ix(this):this.vT())}; | |
g.h.vT=function(){ix(this)}; | |
g.h.isActive=function(){return!!this.g}; | |
g.h.getStatus=function(){try{return 2<g.gx(this)?this.g.status:-1}catch(a){return-1}};g.q(rx,Si);rx.prototype.D=function(a){this.l&&this.F<this.I&&(Si.prototype.D.call(this,a),px(this,a))}; | |
rx.prototype.disable=function(){Si.prototype.disable.call(this);this.g.clearTimeout(this.H);this.A=this.H=0;this.o={};bi(this.g,"load",this.K);bi(this.g,"unload",this.T)};ux.prototype.isLoggingEnabled=function(){return!!this.Ca}; | |
g.ya(ux);xx.prototype.isListed=!0;xx.prototype.Vi=-1;g.A(yx,g.Cf);yx.prototype.Bt=function(a){this.ff=pq(nfa);null!=this.pa.l&&(this.W.U(this.ff,"click",this.gv),this.W.U(this,"why_this_ad_got_it",this.lw));a.appendChild(this.ff);g.O(this.ff,!0)}; | |
yx.prototype.gv=function(){var a=g.Zd(this.ff,"html5-video-player");null!=a&&Ft(this.pa.l,a,this)}; | |
yx.prototype.lw=function(){}; | |
yx.prototype.V=function(){null!=this.ff&&(g.Jd(this.ff),this.ff=null);this.W.dispose();this.W=null;yx.ba.V.call(this)};g.A(zx,g.Cf);g.h=zx.prototype;g.h.start=function(){this.Vs();this.o=0;Ax(this);this.l=!0;this.B.start()}; | |
g.h.play=function(){this.l||(Ax(this),this.l=!0,this.B.start())}; | |
g.h.pause=function(){this.l&&Ax(this)}; | |
g.h.stop=function(){this.l&&Ax(this);this.dispatchEvent("end")}; | |
g.h.Vs=function(){}; | |
g.h.iT=function(){this.o+=.2;this.Us(this.o,this.J);this.dispatchEvent("timeUpdate");0>=this.J-this.o&&this.stop()}; | |
g.h.Us=g.y;g.h.V=function(){this.l=!1;this.H.dispose();zx.ba.V.call(this)};g.A(Cx,zx);g.h=Cx.prototype;g.h.start=function(){this.Vs();this.A.update(0,this.I);Mt(this.g,this.F.o).play();this.H.U(this.A,"skip",this.KI);Cx.ba.start.call(this)}; | |
g.h.Vs=function(){var a=g.Jh(this.g);if(1==this.D){var b=400>=(0,window.parseInt)(sh(this.g,"width"),10)||400>=a.width;g.U(this.g,"videoAdUi-mobile",b)}else if(2==this.D){var c=g.Nd(this.g),d=g.Jh(c),e=65>=(a.height-d.height)/2;g.U(this.g,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.U(this.g,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}}; | |
g.h.KI=function(){this.pause();this.dispatchEvent("skip")}; | |
g.h.Us=function(a,b){this.A.update(a,b);if(this.C){var c="Iklan akan ditutup dalam "+Q({ie:Bx(b-a)}.ie);g.Rd(this.C,c)}}; | |
g.h.V=function(){this.A&&this.A.dispose();g.Hd(this.g);Cx.ba.V.call(this)};g.A(Fx,zx);var Ex=Math.ceil(10*3.14);Fx.prototype.C=function(a){P.g()||a.stopPropagation();this.dispatchEvent("click")}; | |
Fx.prototype.start=function(){Fx.ba.start.call(this);null==this.g?this.stop():this.F&&(this.K&&780<=g.Jh(this.M).width&&this.F.fA(!0),this.F.Ys())}; | |
Fx.prototype.Us=function(a,b){var c=a/b*Ex+" "+Ex;null!=this.g&&g.oh(this.g,"stroke-dasharray",c)};g.A(Gx,g.M);Gx.prototype.show=function(a,b,c){Hx(this);!yM||!a||Tn(10)&&b?c():(a.appendChild(this.l),this.Ca=g.sg((0,g.z)(this.g,this,c),2E3))}; | |
Gx.prototype.g=function(a){this.Ca=0;g.Jd(this.l);a()}; | |
Gx.prototype.V=function(){Hx(this);Gx.ba.V.call(this)};g.A(Jx,g.af);g.A(Kx,g.Cf);Lx.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b}; | |
var fha={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=Kx.prototype;g.h.V=function(){this.Yc();Kx.ba.V.call(this)}; | |
g.h.Yc=function(){null!=this.W&&this.W.dispose();null!=this.g&&this.g.Yc();null!=this.B&&this.B.dispose();this.B=null;null!=this.H&&this.H.dispose();this.H=null;this.K.clear();this.I=-1;this.C="";this.D=this.M=!1}; | |
g.h.Fb=function(a,b,c,d,e){this.Yc();this.o.A=a.I;this.g=b;this.l=d||null;this.F=e;this.g.Fb();this.A=new Lx(this.g);this.J=c||null;this.W=new g.Km(this);this.C=a.I;a=P.l?Qo():xo();this.W.U(a,"externalActivityEvent",this.JR);this.W.U(a,"measurable_impression",this.pS);this.W.U(a,"viewable_impression",this.KU);this.W.U(this.g,"timeUpdate",this.AL);this.W.U(this.g,"volumeChange",this.BL);this.W.U(this.g,"pause",this.xL);this.W.U(this.g,"play",this.yL);this.W.U(this.g,"end",this.FR);this.W.U(this.g, | |
"beginFullscreen",this.vL);this.W.U(this.g,"endFullscreen",this.IR);this.W.U(this.g,"skip",this.nA);this.W.U(this.g,"skipShown",this.oD);this.W.U(this.g,"start",this.zL);this.W.U(this.g,"error",this.uL);this.W.U(this.g,"mediaLoadTimeout",this.wL);null!=this.l?(this.W.U(this.l,"videoIconClicked",(0,g.z)(function(a){this.dispatchEvent(a)},this)),this.W.U(this.l,"urlNavigationRequested",(0,g.z)(function(a){this.dispatchEvent(a)},this)),this.W.U(this.l,"yt-show-toast",(0,g.z)(function(a){this.dispatchEvent(a)}, | |
this)),this.W.U(this.l,"feedbackShown",(0,g.z)(function(){Mx(this,"feedbackShown",!0,!0)},this)),this.W.U(this.l,"feedbackLike",(0,g.z)(function(){Mx(this,"feedbackLike",!0,!0)},this)),this.W.U(this.l,"feedbackDislike",(0,g.z)(function(){Mx(this,"feedbackDislike",!0,!0)},this)),this.W.U(this.l,"videoShareShown",this.JU),this.W.U(this.l,"skipshown",this.oD),this.W.U(this.l,"skip",this.nA),this.W.U(this.l,"PUBLISHER_INVOKED_SKIP",this.sT),this.W.U(this.l,"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.hz)):this.F&&this.W.U(this.F,"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.hz)}; | |
g.h.pS=function(a){var b=a.g;this.o.F.measurable_impression=null!=b?b.viewabilityString:null;a.g.queryId==this.C&&Mx(this,"measurable_impression",!0,!1)}; | |
g.h.KU=function(a){a=a.g;a.queryId==this.C&&(this.o.F.viewable_impression=null!=a?a.viewabilityString:null,Mx(this,"viewable_impression",!0,!0))}; | |
g.h.JR=function(a){a=a.g;var b=b1[a.eventName];b&&a.queryId==this.C&&(this.o.F[b]=null!=a?a.viewabilityString:null,Mx(this,b,!0,!0))}; | |
g.h.AL=function(){if(this.D){var a=this.g.getDuration();if(-1!=a){this.g.ol(.25*a)&&Mx(this,"firstquartile",!0,!0);this.g.ol(.5*a)&&Mx(this,"midpoint",!0,!0);this.g.ol(.75*a)&&Mx(this,"thirdquartile",!0,!0);var b=this.o,c=this.g.getCurrentTime();if(!qm(b.l,"skip")){0>b.B&&(Fea(b.o,a),b.B=0);a=Ip(b.o,"progress");for(var d=[],e=b.B;e<a.length;e++){var f=a[e];if(Mp(f.g)>c)break;b.B=e+1;d.push(f.Ta())}0<d.length&&Au(b,new g.af("progress"),d)}}Nx(this)}}; | |
g.h.zL=function(){this.D=!0;Mx(this,"impression",!0,!0);Mx(this,"creativeview",!0,!0);null!=this.J||null!=this.l||this.W.U(this.g,"click",this.wt);null!=this.J&&(this.B=new mt,this.W.U(this.B,"click",this.wt,!1),this.B.Fb(this.J));null!=this.l&&(this.H=new mt,this.W.U(this.H,"click",this.wt,!1),this.H.Fb(this.l));Mx(this,"start",!0,!0);(this.g.isMuted()||0==this.g.getVolume())&&Mx(this,"mute",!1,!1)}; | |
g.h.BL=function(){var a=this.g.isMuted(),b=this.g.getVolume(),c=this.A;c.mute&&!a||!a&&0==c.volume&&0<b?Mx(this,"unmute",!1,!1):this.A.muted(a,b)&&Mx(this,"mute",!1,!1);this.A.mute=a;this.A.volume=b}; | |
g.h.xL=function(){this.g.rh()?Ox(this):this.g.wi()&&!this.g.eA()&&(this.A.paused=!0,Mx(this,"pause",!1,!1))}; | |
g.h.yL=function(){this.A.paused&&(this.A.paused=!1,Mx(this,"resume",!1,!1))}; | |
g.h.FR=function(){Ox(this)}; | |
g.h.wt=function(){Mx(this,"click",!1,!1)}; | |
g.h.uL=function(){Mx(this,"error",!1,!1)}; | |
g.h.wL=function(){Mx(this,"mediaLoadTimeout",!1,!1)}; | |
g.h.oD=function(){Mx(this,"skipshown",!0,!1)}; | |
g.h.hz=function(a){Mx(this,a.type,!1,!1)}; | |
g.h.JU=function(){Mx(this,"videoShareShown",!0,!1)}; | |
g.h.nA=function(){Mx(this,"skip",!0,!1)}; | |
g.h.sT=function(){Mx(this,"skip",!0,!1)}; | |
g.h.vL=function(){Mx(this,"fullscreen",!1,!1)}; | |
g.h.IR=function(){Mx(this,"exitfullscreen",!1,!1)};g.h=Px.prototype;g.h.Dc=function(){return this.g.Dc()}; | |
g.h.add=function(a){this.g.set(Qx(a),a)}; | |
g.h.remove=function(a){return this.g.remove(Qx(a))}; | |
g.h.clear=function(){this.g.clear()}; | |
g.h.isEmpty=function(){return this.g.isEmpty()}; | |
g.h.contains=function(a){return qm(this.g,Qx(a))}; | |
g.h.ub=function(){return this.g.ub()}; | |
g.h.clone=function(){return new Px(this)}; | |
g.h.Vd=function(){return this.g.Vd(!1)};g.A(Rx,Du);g.h=Rx.prototype;g.h.V=function(){Vx(this);this.Z.dispose();Ux(this);g.B(this.H.ub(),g.tg);var a=!1;null!=this.Ia&&(a=this.Ia.Pj(),this.Ia.hide(),this.Ia=null);this.D&&(this.D=!1,this.Ha.wi()||this.Ha.rh()||this.Ha.pause(),Qn()&&!a&&(this.Ha.Rj(.001),this.Ha.load("","")),Pn()&&this.Ha.Qj()&&!a&&this.Ha.Xs(),this.ia("contentResumeRequested"),this.ia("allAdsCompleted"));null!=this.Ha&&this.Ha.unload();Rx.ba.V.call(this)}; | |
g.h.Si=function(){var a=nn();a.g("disable_companion_persist")?Tx(this):a.g("ad_pod_disable_companion_persist")&&1<(this.jb()?this.ma():null).A.af&&Tx(this);this.Wi();this.jb()?this.start():this.stop()}; | |
g.h.muteAdClicked=function(){P.g()&&this.xa("mute_interaction_url")}; | |
g.h.muteAd=function(){P.g()&&(this.xa("mute_url"),this.ia("MUTE_AD"),Sx(this,function(){this.Si()}))}; | |
g.h.whyThisAdClicked=function(){P.g()&&this.xa("why_this_ad_url")}; | |
g.h.whyThisAdClosed=function(){P.g()&&this.xa("why_this_ad_got_it")}; | |
g.h.Wi=function(){Ux(this);Rx.ba.Wi.call(this);this.jb()&&(this.bc=new zu,this.o=new Kx(this.bc),this.T=!1,this.ia("loaded"))}; | |
g.h.Vu=function(a){Rx.ba.Vu.call(this,a);null!=this.Ha&&this.Ha.Ev(1)}; | |
g.h.Qy=function(a,b){b.preventDefault();this.C||(this.C=!0,Iu(this,"video_card_endcap_action"));a&&(this.g.pause(),wn(a))}; | |
g.h.Ry=function(){Sx(this,function(){Wx(this,"video_card_endcap_dismiss")})}; | |
g.h.wJ=function(){Wx(this,"video_card_endcap_collapse")}; | |
g.h.Ot=function(a,b,c,d){var e=sq(b);e&&(a.C=e);var f=a.getExtension("AdSense");null!=f&&null!=f.l&&f.l.l&&this.setVolume(0);if(this.Ra.sF){e=sy(this,a,b);pn(mn(),420706069)&&(P.C=!0);!P.g()&&P.C&&(e.J=!0);f=e;var k=ty(this),l=this.ma(),m=1E3*l.getDuration();Kt(f,As(l),Bs(l));this.Pa=new qu(f,k,m,l.Ne());k=l.C;null!=k&&Zx(this,k,f.ab);f=this.Pa;f.M&&(f=f.M,k=0==this.B,f.g!=k&&(f.g=k,Qt(f)));if(this.ea)if(k=a.getExtension("AdSense"),null!=k){f=this.Pa;k=g.E(k.o);if(null!=f.F){g.O(f.F,!0);try{var n= | |
new g.um(k);var p=ub((n.l+n.o).replace(/^www\./i,""),35);g.C(g.E(p))?uu(f):g.Rd(f.F,p)}catch(r){uu(f)}}null!=f.Z&&g.O(f.Z,!0)}else uu(this.Pa);p=e;n=[];p.o&&n.push("adAttribution");p.A&&n.push("countdown")}else e&&Zx(this,e,this.Ra.rr),!el()&&Pn()&&!Tn(10)&&nn().g("mweb_add_ad_info_button_on_fullscreen_only_devices")&&(p=e=sy(this,a,b),n=ty(this),e=this.ma(),Kt(p,e.getExtension("why_this_ad"),e.getExtension("mute")),this.F=new yx(p,n));if(d=d?this.Ia.Go():this.Ha)ey(this)?(d.Fb(),this.Va().U(d,"error", | |
this.gD),this.Va().U(d,"loaded",g.y)):this.lq(a),d.cq(lha(this,a)),d.load(b,c)}; | |
g.h.Fx=function(a){var b=this.jb()?this.ma().C:null;if(b){var c=this.xl();jha(this)&&(c="");Xx(this)&&a&&(c=wha(this,a));a=this.wl();c||a||!Xx(this)||(c=" ");(c||a)&&this.Ha.Ws(b,c||null,a||null)}}; | |
g.h.fV=function(a,b,c){null!==a.J&&so(po.getInstance(),34,{evt:"filled"},!0);this.ca||(this.ca=!0,this.ia("contentPauseRequested"));gy(this)&&!this.J||ey(this)||this.Ot(a,b,c);this.D=!0;this.setVolume(this.B);this.Pa&&(g.C(g.E(cy(a)))?(b=this.Pa,null!=b.o&&(b.W.Ea(b.o,"click",b.Gq),g.oh(b.o,"cursor","default"))):(b=this.Pa,null!=b.o&&(b.W.U(b.o,"click",b.Gq),null!=b.B&&!g.Mh(b.B)&&g.oh(b.o,"cursor","pointer"))),b=a.g.ab,g.Qa(b)||tu(this.Pa,b),this.Pa.show());ey(this)&&(b=this.Ia instanceof Xm?this.Ia.g: | |
this.Ia,this.J&&(b.hide(),b.Ho(),this.Ha=b.Nl(Gu(this))),this.lq(a),this.Ia instanceof Xm&&b.ag());this.K=!1;this.xa("show_ad");this.Ia.ag();if(!P.o)try{this.Id(a)}catch(d){ly(this,c1,d);return}wx("pi");if(b=null!=this.Pa)b=this.Pa,b=Mn()?!1:null!=b.pa.I?b.pa.F&&b.pa.I==Fs(a):b.pa.F;b?kha(this):this.Z.show(this.Ia.Cl(),this.Ra.Zv,(0,g.z)(this.Ha.play,this.Ha))}; | |
g.h.lq=function(a){this.o.Fb(a,this.Ha,this.Ia.ks(),this.Pa,this.F);this.Va().U(this.o,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start feedbackShown feedbackLike feedbackDislike yt-show-toast".split(" "),this.tD);this.Va().U(this.Ha,"loaded",this.HU);this.Va().U(this.Ha,"cardsStateChange",this.cL);this.Va().U(this.Ha,"timeUpdate", | |
this.xD);this.Va().U(this.Ha,"volumeChange",this.fL);this.Va().U(this.Ha,"shareClicked",this.qE);this.Ng(a);var b=Dq(a,this.Ha);this.bc.g=b;b=a.g;null!=b&&b instanceof Tp&&(this.lg(b,$0),this.zk(b),b=this.Va(),Mm(b,this.o,"error",this.dL,this),Mm(b,this.o,"mediaLoadTimeout",this.eL,this));Lu(this,a);a.isSkippable()&&(this.o.I=30)}; | |
g.h.uk=function(){gy(this)&&jy(this);this.ia("loaded");this.dispatchEvent(new Sw(this.ma()))}; | |
g.h.skip=function(){this.jb()&&this.ma().isSkippable()&&(null!=this.Pa?this.Pa.skip():(this.xa("skip"),ry(this)))}; | |
g.h.rE=function(){Iu(this,"skipshown")}; | |
g.h.start=function(){Rx.ba.start.call(this);this.M=[];try{var a=this.ma();this.l=fy(this,a);wx("am");Sx(this,(0,g.z)(Rx.prototype.fV,this,a,this.l.Ta(),this.l.g))}catch(b){hy(this,b),this.Wi(),this.jb()?(Hn(this,iy,b),this.start()):(this.D?Hn(this,iy,b):(null!=this.Xd&&this.Xd.Id(dB()),In(this,iy,b)),this.stop())}}; | |
g.h.getVolume=function(){Ku(this);return this.Ha.isMuted()?0:this.Ha.getVolume()}; | |
g.h.setVolume=function(a){Ku(this);this.D?this.Ha.setVolume(a):this.B=a}; | |
g.h.pause=function(){Ku(this);this.g?this.g.pause():this.Ha.pause()}; | |
g.h.resume=function(){Ku(this);this.g?this.g.play():this.Ha.play()}; | |
g.h.getCurrentTime=function(){Ku(this);var a=this.g?this.g.o:0;return this.Ha.getCurrentTime()+a}; | |
g.h.getDuration=function(){Ku(this);return this.Ha.getDuration()}; | |
g.h.Lc=function(){Ku(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1}; | |
g.h.Ie=function(){return this.Ha.Ie()}; | |
g.h.dL=function(){gy(this)&&!this.J&&this.gD();ly(this,iy,Fn(iy,this.Ha.getError()))}; | |
g.h.gD=function(){this.K=!0}; | |
g.h.eL=function(){qha(this);ly(this,e1,Fn(e1,null,(this.Ra.uf/1E3).toString()))}; | |
g.h.xv=function(a,b){Rx.ba.xv.call(this,a,b);ny(this,a)}; | |
g.h.tD=function(a){switch(a.type){case "start":wx("ff");this.ia("start");P.g()&&P.o&&this.ma()&&this.ma().F&&this.ia("youtubeKevlarCompanionShow");this.Tj();this.I=!0;this.Pa&&(P.C&&!P.g()&&(this.Pa.tb=!0),wu(this.Pa));break;case "impression":this.ia("impression");this.J=!0;ey(this)&&pha(this);break;case "viewable_impression":this.ia("viewable_impression");break;case "why_this_ad_url":this.fa=this.Ha.wi();ky(this,"why_this_ad_url");this.pause();break;case "pause":this.ia("pause");break;case "why_this_ad_got_it":ky(this, | |
"why_this_ad_got_it");this.fa||this.resume();break;case "resume":this.ia("resume");break;case "firstquartile":this.ia("firstquartile");break;case "midpoint":this.ia("midpoint");break;case "thirdquartile":this.ia("thirdquartile");break;case "complete":iha(this)||(this.ia("complete"),this.xa("instreamAdComplete"),this.Si());break;case "click":this.Pa&&this.Pa.pa.B?this.Ha.wi()?this.resume():this.pause():my(this);break;case "engagedview":oy(this);this.ia("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a); | |
break;case "yt-show-toast":this.dispatchEvent(a);break;case "videoAuthorIconClicked":vy(this);break;case "videoAuthorClicked":vy(this);break;case "videoClicked":this.ia("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.g&&!this.C&&(this.C=!0,Iu(this,"video_card_endcap_action"));!P.g()&&oy(this);my(this);this.Ha.pause();break;case "videoShareClicked":sha(this);break;case "videoShareShown":tha(this);break;case "videoTitleClicked":uha(this);break; | |
case "videoMuteClicked":this.Y=this.B;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.Y);break;case "skipshown":this.ia("skippableStateChanged");break;case "skip":this.g?this.Ry():ry(this);break;case "MUTE_AD":this.ia("MUTE_AD");Sx(this,function(){this.Si()}); | |
break;case "feedbackShown":this.xa("feedbackShown");break;case "feedbackLike":this.xa("feedbackLike");break;case "feedbackDislike":this.xa("feedbackDislike")}}; | |
g.h.Ef=function(){Rx.ba.Ef.call(this);this.A&&(g.Ze(this.A),this.A=null)}; | |
g.h.qE=function(){var a=py(this)||qy(this);null!=a&&yn(a,"sharebuttonclicked")}; | |
g.h.Ng=function(a){Rx.ba.Ng.call |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment